DEFINE OBJECTS 391
DEFINE OBJECT SANNY BUILDER 4.0.0     
DEFINE OBJECT INFO                     // Object number -1
DEFINE OBJECT KEYCARD                  // Object number -2
DEFINE OBJECT AD_FLATDOOR              // Object number -3
DEFINE OBJECT KB_BANDIT_U              // Object number -4
DEFINE OBJECT ROULETTE_TBL             // Object number -5
DEFINE OBJECT OTB_MACHINE              // Object number -6
DEFINE OBJECT CJ_COIN_OP_3             // Object number -7
DEFINE OBJECT CJ_COIN_OP_2             // Object number -8
DEFINE OBJECT CJ_COIN_OP_1             // Object number -9
DEFINE OBJECT CJ_COIN_OP               // Object number -10
DEFINE OBJECT SWANK_CONSOLE            // Object number -11
DEFINE OBJECT SNESISH                  // Object number -12
DEFINE OBJECT LOW_CONSOLE              // Object number -13
DEFINE OBJECT VENDMACHFD               // Object number -14
DEFINE OBJECT VENDMACH                 // Object number -15
DEFINE OBJECT VENDIN3                  // Object number -16
DEFINE OBJECT CJ_SPRUNK1               // Object number -17
DEFINE OBJECT CJ_CANDYVENDOR           // Object number -18
DEFINE OBJECT CJ_EXT_CANDY             // Object number -19
DEFINE OBJECT CJ_EXT_SPRUNK            // Object number -20
DEFINE OBJECT ICESCART_PROP            // Object number -21
DEFINE OBJECT CHILLIDOGCART            // Object number -22
DEFINE OBJECT NOODLECART_PROP          // Object number -23
DEFINE OBJECT GATE_AUTOL               // Object number -24
DEFINE OBJECT GATE_AUTOR               // Object number -25
DEFINE OBJECT GYM_BIKE                 // Object number -26
DEFINE OBJECT GYM_BENCH1               // Object number -27
DEFINE OBJECT GYM_TREADMILL            // Object number -28
DEFINE OBJECT GYM_MAT1                 // Object number -29
DEFINE OBJECT BSKBALL_LAX              // Object number -30
DEFINE OBJECT BSKBALLHUB_LAX01         // Object number -31
DEFINE OBJECT VGSXREFBBALLNET          // Object number -32
DEFINE OBJECT VGSXREFBBALLNET2         // Object number -33
DEFINE OBJECT K_POOLTABLESM            // Object number -34
DEFINE OBJECT NEIL_SLOT                // Object number -35
DEFINE OBJECT CJ_SLOT_BANK             // Object number -36
DEFINE OBJECT BLCK_JACK                // Object number -37
DEFINE OBJECT WHEEL_O_FORTUNE          // Object number -38
DEFINE OBJECT CRACKFACT_SFS            // Object number -39
DEFINE OBJECT CF_EXT_DEM_SFS           // Object number -40
DEFINE OBJECT LODCRACKFACT_SFS         // Object number -41
DEFINE OBJECT LODEXT_DEM_SFS           // Object number -42
DEFINE OBJECT KILLFRENZY2PLYR          // Object number -43
DEFINE OBJECT TWOPLAYER                // Object number -44
DEFINE OBJECT PICKUPSAVE               // Object number -45
DEFINE OBJECT WOODENBOX                // Object number -46
DEFINE OBJECT NF_BLACKBOARD            // Object number -47
DEFINE OBJECT NF_LIST_1                // Object number -48
DEFINE OBJECT NF_LIST_2                // Object number -49
DEFINE OBJECT NF_LIST_3                // Object number -50
DEFINE OBJECT WANTED_CROSS_OFF         // Object number -51
DEFINE OBJECT WS_APGATE                // Object number -52
DEFINE OBJECT GEN_DOOREXT03            // Object number -53
DEFINE OBJECT GEN_DOOREXT07            // Object number -54
DEFINE OBJECT GEN_DOORSHOP02           // Object number -55
DEFINE OBJECT GEN_DOOREXT04            // Object number -56
DEFINE OBJECT GEN_DOORSHOP3            // Object number -57
DEFINE OBJECT CUNTGIRLDOOR             // Object number -58
DEFINE OBJECT PIZZAHIGH                // Object number -59
DEFINE OBJECT CJ_PIZZA_1               // Object number -60
DEFINE OBJECT CJ_PIZZA_2               // Object number -61
DEFINE OBJECT BURGERHIGH               // Object number -62
DEFINE OBJECT CJ_BURG_1                // Object number -63
DEFINE OBJECT CJ_BURG_2                // Object number -64
DEFINE OBJECT CIGAR                    // Object number -65
DEFINE OBJECT TRDCSGRGDOOR_LVS         // Object number -66
DEFINE OBJECT MD_POSTER                // Object number -67
DEFINE OBJECT CR_DOOR_01               // Object number -68
DEFINE OBJECT CR_DOOR_03               // Object number -69
DEFINE OBJECT SHUTTER_VEGAS            // Object number -70
DEFINE OBJECT CR1_DOOR                 // Object number -71
DEFINE OBJECT CT_GATEXR                // Object number -72
DEFINE OBJECT A51_BLASTDOORR           // Object number -73
DEFINE OBJECT A51_BLASTDOORL           // Object number -74
DEFINE OBJECT A51_LABDOOR              // Object number -75
DEFINE OBJECT A51_JETDOOR              // Object number -76
DEFINE OBJECT PORTAKABIN               // Object number -77
DEFINE OBJECT FREIGHT_SFW_DOOR         // Object number -78
DEFINE OBJECT AB_CASDORLOK             // Object number -79
DEFINE OBJECT IMY_SHASH_WALL           // Object number -80
DEFINE OBJECT TWRCRANE_M_04            // Object number -81
DEFINE OBJECT TWRCRANE_M_01            // Object number -82
DEFINE OBJECT TWRCRANE_M_02            // Object number -83
DEFINE OBJECT LODCRANE_M_04            // Object number -84
DEFINE OBJECT LODCRANE_M_01            // Object number -85
DEFINE OBJECT MAGNOCRANE_01            // Object number -86
DEFINE OBJECT MAGNOCRANE_02            // Object number -87
DEFINE OBJECT MAGNOCRANE_03            // Object number -88
DEFINE OBJECT LODNOCRANE_01            // Object number -89
DEFINE OBJECT LODNOCRANE_02            // Object number -90
DEFINE OBJECT LODNOCRANE_03            // Object number -91
DEFINE OBJECT QUARRY_CRANEBASE         // Object number -92
DEFINE OBJECT QUARRY_CRANE             // Object number -93
DEFINE OBJECT QUARRY_CRANEARM          // Object number -94
DEFINE OBJECT BODYARMOUR               // Object number -95
DEFINE OBJECT BRIBE                    // Object number -96
DEFINE OBJECT A51_VENTCOVERB           // Object number -97
DEFINE OBJECT CARRIER_DOOR_SFSE        // Object number -98
DEFINE OBJECT CARRIER_LIFT2_SFSE       // Object number -99
DEFINE OBJECT CARRIER_LIFT1_SFSE       // Object number -100
DEFINE OBJECT GWFORUM1_LAE             // Object number -101
DEFINE OBJECT GANGSHOPS4_LAE2          // Object number -102
DEFINE OBJECT CE_HILLSEAST06           // Object number -103
DEFINE OBJECT CUNTEGROUND23            // Object number -104
DEFINE OBJECT HILLSEAST05_LAE          // Object number -105
DEFINE OBJECT K_POOLQ                  // Object number -106
DEFINE OBJECT K_POOLBALLCUE            // Object number -107
DEFINE OBJECT K_POOLBALLSPT01          // Object number -108
DEFINE OBJECT K_POOLBALLSPT02          // Object number -109
DEFINE OBJECT K_POOLBALLSPT03          // Object number -110
DEFINE OBJECT K_POOLBALLSPT04          // Object number -111
DEFINE OBJECT K_POOLBALLSPT05          // Object number -112
DEFINE OBJECT K_POOLBALLSPT06          // Object number -113
DEFINE OBJECT K_POOLBALLSPT07          // Object number -114
DEFINE OBJECT K_POOLBALL8              // Object number -115
DEFINE OBJECT K_POOLBALLSTP01          // Object number -116
DEFINE OBJECT K_POOLBALLSTP02          // Object number -117
DEFINE OBJECT K_POOLBALLSTP03          // Object number -118
DEFINE OBJECT K_POOLBALLSTP04          // Object number -119
DEFINE OBJECT K_POOLBALLSTP05          // Object number -120
DEFINE OBJECT K_POOLBALLSTP06          // Object number -121
DEFINE OBJECT K_POOLBALLSTP07          // Object number -122
DEFINE OBJECT K_POOLQ2                 // Object number -123
DEFINE OBJECT CIGAR_GLOW               // Object number -124
DEFINE OBJECT DYN_WINE_BIG             // Object number -125
DEFINE OBJECT KB_BEER                  // Object number -126
DEFINE OBJECT LAEROAD30                // Object number -127
DEFINE OBJECT CASKET_LAW               // Object number -128
DEFINE OBJECT LAEJEFFERSALPHA          // Object number -129
DEFINE OBJECT LAELODPARK02             // Object number -130
DEFINE OBJECT LAEMACPARK02             // Object number -131
DEFINE OBJECT BD_WINDOW                // Object number -132
DEFINE OBJECT BREAK_WALL_1B            // Object number -133
DEFINE OBJECT BREAK_WALL_2B            // Object number -134
DEFINE OBJECT BREAK_WALL_3B            // Object number -135
DEFINE OBJECT BD_FIRE1_O               // Object number -136
DEFINE OBJECT CR_AMMOBOX               // Object number -137
DEFINE OBJECT BREAK_WALL_1A            // Object number -138
DEFINE OBJECT BREAK_WALL_2A            // Object number -139
DEFINE OBJECT BREAK_WALL_3A            // Object number -140
DEFINE OBJECT BD_WINDOW_SHATTER        // Object number -141
DEFINE OBJECT SEC_KEYPAD               // Object number -142
DEFINE OBJECT KMB_RAMP                 // Object number -143
DEFINE OBJECT IMCMPTRKDRL_LAS          // Object number -144
DEFINE OBJECT IMCMPTRKDRR_LAS          // Object number -145
DEFINE OBJECT IMCOMPMOVEDR1_LAS        // Object number -146
DEFINE OBJECT BARREL4                  // Object number -147
DEFINE OBJECT HEALTH                   // Object number -148
DEFINE OBJECT IMY_BBOX                 // Object number -149
DEFINE OBJECT IMY_LA_DOOR              // Object number -150
DEFINE OBJECT DB_AMMO                  // Object number -151
DEFINE OBJECT MED_BED_8                // Object number -152
DEFINE OBJECT CR_GUNCRATE              // Object number -153
DEFINE OBJECT GUNBOX                   // Object number -154
DEFINE OBJECT TMP_BIN                  // Object number -155
DEFINE OBJECT AMMOTRN_OBJ              // Object number -156
DEFINE OBJECT KMB_FRONTGATE            // Object number -157
DEFINE OBJECT WAREHOUSE_DOOR2B         // Object number -158
DEFINE OBJECT WAREHOUSE_DOOR1          // Object number -159
DEFINE OBJECT CJ_CARDBRD_PICKUP        // Object number -160
DEFINE OBJECT NF_PED_COLL              // Object number -161
DEFINE OBJECT CM_BOX                   // Object number -162
DEFINE OBJECT FAKE_MULE_COL            // Object number -163
DEFINE OBJECT CARDBOARDBOX2            // Object number -164
DEFINE OBJECT LAE_SMOKECUTSCENE        // Object number -165
DEFINE OBJECT IMMMCRAN                 // Object number -166
DEFINE OBJECT TRNTRK8_LAS              // Object number -167
DEFINE OBJECT IMY_TRACK_BARRIER        // Object number -168
DEFINE OBJECT KMB_SKIP                 // Object number -169
DEFINE OBJECT STORM_DRAIN_COVER        // Object number -170
DEFINE OBJECT WHEEL_OR1                // Object number -171
DEFINE OBJECT DYN_WOODPILE2            // Object number -172
DEFINE OBJECT KMB_RHYMESBOOK           // Object number -173
DEFINE OBJECT CJ_JUICE_CAN             // Object number -174
DEFINE OBJECT DYN_ROADBARRIER_2        // Object number -175
DEFINE OBJECT KMB_GOFLAG               // Object number -176
DEFINE OBJECT IMY_SKYLIGHT             // Object number -177
DEFINE OBJECT KMB_TROLLEY              // Object number -178
DEFINE OBJECT LXR_MOTEL_DOORSIM        // Object number -179
DEFINE OBJECT LXR_MOTELVENT            // Object number -180
DEFINE OBJECT DYN_SCAFFOLD_4B          // Object number -181
DEFINE OBJECT MUNCH_DONUT              // Object number -182
DEFINE OBJECT CHOPCOP_ARMR             // Object number -183
DEFINE OBJECT CHOPCOP_LEGR             // Object number -184
DEFINE OBJECT CHOPCOP_HEAD             // Object number -185
DEFINE OBJECT CHOPCOP_TORSO            // Object number -186
DEFINE OBJECT WD_FENCE_ANIM            // Object number -187
DEFINE OBJECT CHOPCOP_ARML             // Object number -188
DEFINE OBJECT CHOPCOP_LEGL             // Object number -189
DEFINE OBJECT DYN_SCAFFOLD_3B          // Object number -190
DEFINE OBJECT ROADWORKBARRIER1         // Object number -191
DEFINE OBJECT BRIEFCASE                // Object number -192
DEFINE OBJECT KMB_ATM1                 // Object number -193
DEFINE OBJECT KMB_ATM2                 // Object number -194
DEFINE OBJECT KMB_ATM3                 // Object number -195
DEFINE OBJECT MTSAFE                   // Object number -196
DEFINE OBJECT CAT2_SAFE_COL            // Object number -197
DEFINE OBJECT MAN_SAFENEW              // Object number -198
DEFINE OBJECT KEV_SAFE                 // Object number -199
DEFINE OBJECT RIDER1_DOOR              // Object number -200
DEFINE OBJECT KMB_MARIJUANA            // Object number -201
DEFINE OBJECT SW_HAYBREAK02            // Object number -202
DEFINE OBJECT GRASSPLANT               // Object number -203
DEFINE OBJECT PARKBENCH1               // Object number -204
DEFINE OBJECT PORTALOO                 // Object number -205
DEFINE OBJECT HUBHOLE1_SFSE            // Object number -206
DEFINE OBJECT HUBHOLE2_SFSE            // Object number -207
DEFINE OBJECT HUBHOLE3_SFSE            // Object number -208
DEFINE OBJECT HUBHOLE4_SFSE            // Object number -209
DEFINE OBJECT CLOTHESP                 // Object number -210
DEFINE OBJECT LAMPPOST3                // Object number -211
DEFINE OBJECT CT_STALL1                // Object number -212
DEFINE OBJECT CT_TABLE                 // Object number -213
DEFINE OBJECT CHINATGARAGEDOOR         // Object number -214
DEFINE OBJECT CHINA_TOWN_GATEB         // Object number -215
DEFINE OBJECT A51_SPOTBASE             // Object number -216
DEFINE OBJECT A51_SPOTHOUSING          // Object number -217
DEFINE OBJECT A51_SPOTBULB             // Object number -218
DEFINE OBJECT KMB_CONTAINER_RED        // Object number -219
DEFINE OBJECT CJ_CHRIS_CRATE           // Object number -220
DEFINE OBJECT CJ_CHRIS_CRATE_LD        // Object number -221
DEFINE OBJECT CJ_CHRIS_CRATE_RD        // Object number -222
DEFINE OBJECT CJ_PADLOCK               // Object number -223
DEFINE OBJECT KATANA_ANIM              // Object number -224
DEFINE OBJECT KATANA_LHAND             // Object number -225
DEFINE OBJECT MOBILE1993B              // Object number -226
DEFINE OBJECT WONGS_GATE               // Object number -227
DEFINE OBJECT DYN_RAMP                 // Object number -228
DEFINE OBJECT SNIPER_ANIM              // Object number -229
DEFINE OBJECT KMB_PACKET               // Object number -230
DEFINE OBJECT NTO_B_S                  // Object number -231
DEFINE OBJECT CARDBOARDBOX             // Object number -232
DEFINE OBJECT DYN_ROADBARRIER_3        // Object number -233
DEFINE OBJECT DYN_ROADBARRIER_4        // Object number -234
DEFINE OBJECT DYN_DUMPSTER             // Object number -235
DEFINE OBJECT KMB_CONTAINER_BLUE       // Object number -236
DEFINE OBJECT KMB_CONTAINER_YEL        // Object number -237
DEFINE OBJECT KMB_CONTAINER_OPEN       // Object number -238
DEFINE OBJECT TEMP_STINGER2            // Object number -239
DEFINE OBJECT TRAFFICCONE              // Object number -240
DEFINE OBJECT AD_JUMP                  // Object number -241
DEFINE OBJECT GARYS_LUV_RAMP           // Object number -242
DEFINE OBJECT AD_ROADMARK1             // Object number -243
DEFINE OBJECT AD_ROADMARK2             // Object number -244
DEFINE OBJECT AD_FINISH                // Object number -245
DEFINE OBJECT MINIGUN_BASE             // Object number -246
DEFINE OBJECT WONGS_ERECTION           // Object number -247
DEFINE OBJECT WONGS_ERECTION2          // Object number -248
DEFINE OBJECT RCBOMB                   // Object number -249
DEFINE OBJECT BARREL2                  // Object number -250
DEFINE OBJECT MINI_MAGNET              // Object number -251
DEFINE OBJECT KMB_PLANK                // Object number -252
DEFINE OBJECT KMB_HOLDALL              // Object number -253
DEFINE OBJECT KMB_PARACHUTE            // Object number -254
DEFINE OBJECT AMMO_CAPSULE             // Object number -255
DEFINE OBJECT BARREL1                  // Object number -256
DEFINE OBJECT KB_BARREL                // Object number -257
DEFINE OBJECT CR_CRATESTACK            // Object number -258
DEFINE OBJECT D9_RUNWAY                // Object number -259
DEFINE OBJECT CARGO_TEST               // Object number -260
DEFINE OBJECT CARGO_STUFF              // Object number -261
DEFINE OBJECT CARGO_STORE              // Object number -262
DEFINE OBJECT KMILITARY_CRATE          // Object number -263
DEFINE OBJECT KMILITARY_BASE           // Object number -264
DEFINE OBJECT BLOCKPALLET              // Object number -265
DEFINE OBJECT TEMP_CRATE1              // Object number -266
DEFINE OBJECT K_SMASHBOXES             // Object number -267
DEFINE OBJECT K_CARGO1                 // Object number -268
DEFINE OBJECT K_CARGO4                 // Object number -269
DEFINE OBJECT GREEN_GLOOP              // Object number -270
DEFINE OBJECT BASEJUMP_TARGET          // Object number -271
DEFINE OBJECT DES_QUARRYGATE2          // Object number -272
DEFINE OBJECT DES_QUARRYGATE           // Object number -273
DEFINE OBJECT CJ_DYN_PLUNGE_1          // Object number -274
DEFINE OBJECT DYNAMITE                 // Object number -275
DEFINE OBJECT DYNO_BOX_A               // Object number -276
DEFINE OBJECT DYNO_BOX_B               // Object number -277
DEFINE OBJECT PRIVATESIGN3             // Object number -278
DEFINE OBJECT PRIVATESIGN1             // Object number -279
DEFINE OBJECT BARRIER_4ANDY            // Object number -280
DEFINE OBJECT CJ_CHIP_MAKER_BITS       // Object number -281
DEFINE OBJECT CJ_CHIP_MAKER            // Object number -282
DEFINE OBJECT CJ_WHEELCHAIR1           // Object number -283
DEFINE OBJECT AB_CARCASS               // Object number -284
DEFINE OBJECT AB_HOOK                  // Object number -285
DEFINE OBJECT FREEZER_DOOR             // Object number -286
DEFINE OBJECT CJ_MEAT_BAG_1            // Object number -287
DEFINE OBJECT CJ_MEAT_1                // Object number -288
DEFINE OBJECT CJ_MEAT_2                // Object number -289
DEFINE OBJECT JET_BAGGAGE_DOOR         // Object number -290
DEFINE OBJECT JET_INTERIOR             // Object number -291
DEFINE OBJECT SMLPLANE_DOOR            // Object number -292
DEFINE OBJECT JET_DOOR                 // Object number -293
DEFINE OBJECT SMASH_BOX_STAY           // Object number -294
DEFINE OBJECT SMASH_BOX_BRK            // Object number -295
DEFINE OBJECT SMASHBOXPILE             // Object number -296
DEFINE OBJECT ST_ARCH_PLAN             // Object number -297
DEFINE OBJECT GEN_DOORINT01            // Object number -298
DEFINE OBJECT KMB_LOCKEDDOOR           // Object number -299
DEFINE OBJECT DYN_AIRCON               // Object number -300
DEFINE OBJECT SW_BIT_09                // Object number -301
DEFINE OBJECT GENERATOR_BIG            // Object number -302
DEFINE OBJECT AB_VAULTDOOR             // Object number -303
DEFINE OBJECT GENERATOR_BIG_D          // Object number -304
DEFINE OBJECT CJ_MONEY_BAG             // Object number -305
DEFINE OBJECT PARA_PACK                // Object number -306
DEFINE OBJECT CARGO_REAR               // Object number -307
DEFINE OBJECT D9_RAMP                  // Object number -308
DEFINE OBJECT PARACHUTE                // Object number -309
DEFINE OBJECT OPMANS01_CUNTE           // Object number -310
DEFINE OBJECT CEHOLLYHIL06             // Object number -311
DEFINE OBJECT SUNSET22_LAWN            // Object number -312
DEFINE OBJECT DRG_NU_EXT               // Object number -313
DEFINE OBJECT MISSILE_07_SFXR          // Object number -314
DEFINE OBJECT KMB_KEYPAD               // Object number -315
DEFINE OBJECT WATERJUMPX2              // Object number -316
DEFINE OBJECT BBALL_INGAME             // Object number -317
DEFINE OBJECT CJ_WIN_POP2              // Object number -318
DEFINE OBJECT LA_FUCKCAR1              // Object number -319
DEFINE OBJECT LA_FUCKCAR2              // Object number -320
DEFINE OBJECT TARGET_FRAME             // Object number -321
DEFINE OBJECT TARGET_LLEG              // Object number -322
DEFINE OBJECT TARGET_RLEG              // Object number -323
DEFINE OBJECT TARGET_LTORSO            // Object number -324
DEFINE OBJECT TARGET_RTORSO            // Object number -325
DEFINE OBJECT TARGET_LARM              // Object number -326
DEFINE OBJECT TARGET_RARM              // Object number -327
DEFINE OBJECT TARGET_HEAD              // Object number -328
DEFINE OBJECT DEAD_TIED_COP            // Object number -329
DEFINE OBJECT DYN_QUARRYROCK03         // Object number -330
DEFINE OBJECT BLACKBAG2                // Object number -331
DEFINE OBJECT DYN_WOODPILE             // Object number -332
DEFINE OBJECT DYN_QUARRYROCK02         // Object number -333
DEFINE OBJECT BOUY                     // Object number -334
DEFINE OBJECT WATERJUMP1               // Object number -335
DEFINE OBJECT LANDJUMP2                // Object number -336
DEFINE OBJECT BB_PICKUP                // Object number -337
DEFINE OBJECT PARA_COLLISION           // Object number -338
DEFINE OBJECT CJ_WHEEL_1               // Object number -339
DEFINE OBJECT CJ_WHEEL_02              // Object number -340
DEFINE OBJECT CJ_WHEEL_03              // Object number -341
DEFINE OBJECT CHIP_STACK07             // Object number -342
DEFINE OBJECT CHIP_STACK08             // Object number -343
DEFINE OBJECT CHIP_STACK12             // Object number -344
DEFINE OBJECT CHIP_STACK09             // Object number -345
DEFINE OBJECT CHIP_STACK11             // Object number -346
DEFINE OBJECT WHEEL_WEE                // Object number -347
DEFINE OBJECT ROULETTE_MARKER          // Object number -348
DEFINE OBJECT PEDALS                   // Object number -349
DEFINE OBJECT BEACHTOWEL01             // Object number -350
DEFINE OBJECT KMB_BPRESS               // Object number -351
DEFINE OBJECT BEACHTOWEL03             // Object number -352
DEFINE OBJECT BEACHTOWEL04             // Object number -353
DEFINE OBJECT KMB_DUMBBELL_R           // Object number -354
DEFINE OBJECT KMB_DUMBBELL_L           // Object number -355
DEFINE OBJECT BBALL_COL                // Object number -356
DEFINE OBJECT KMB_ROCK                 // Object number -357
DEFINE OBJECT CHIP_STACK10             // Object number -358
DEFINE OBJECT CHIP_STACK13             // Object number -359
DEFINE OBJECT CHIP_STACK14             // Object number -360
DEFINE OBJECT WHEEL_SUPPORT            // Object number -361
DEFINE OBJECT WHEEL_TABLE              // Object number -362
DEFINE OBJECT CLICKER                  // Object number -363
DEFINE OBJECT MONEY                    // Object number -364
DEFINE OBJECT CJ_FF_TILL_QUE           // Object number -365
DEFINE OBJECT CJ_BURG_CHAIR            // Object number -366
DEFINE OBJECT CJ_PIZZA_CHAIR           // Object number -367
DEFINE OBJECT CJ_PIZZA_CHAIR2          // Object number -368
DEFINE OBJECT CJ_PIZZA_CHAIR3          // Object number -369
DEFINE OBJECT TATTOO_KIT               // Object number -370
DEFINE OBJECT CJ_BARSTOOL              // Object number -371
DEFINE OBJECT CJ_BINCO_DOOR            // Object number -372
DEFINE OBJECT CJ_SUBURB_DOOR_2         // Object number -373
DEFINE OBJECT CJ_PRO_DOOR_01           // Object number -374
DEFINE OBJECT CJ_GAP_DOOR_             // Object number -375
DEFINE OBJECT CJ_VICTIM_DOOR           // Object number -376
DEFINE OBJECT CJ_DS_DOOR               // Object number -377
DEFINE OBJECT PIZZALOW                 // Object number -378
DEFINE OBJECT PIZZAMED                 // Object number -379
DEFINE OBJECT PIZZA_HEALTHY            // Object number -380
DEFINE OBJECT CLUCKLOW                 // Object number -381
DEFINE OBJECT CLUCKMED                 // Object number -382
DEFINE OBJECT CLUCKHIGH                // Object number -383
DEFINE OBJECT CLUCK_HEALTHY            // Object number -384
DEFINE OBJECT BURGERLOW                // Object number -385
DEFINE OBJECT BURGERMED                // Object number -386
DEFINE OBJECT BURGER_HEALTHY           // Object number -387
DEFINE OBJECT POLICE_BARRIER           // Object number -388
DEFINE OBJECT KMB_SHUTTER              // Object number -389
DEFINE OBJECT SFCOPDR                  // Object number -390

DEFINE MISSIONS 151
DEFINE MISSION 0 AT @INITIAL           // Initial 1
DEFINE MISSION 1 AT @INITIL2           // Initial 2
DEFINE MISSION 2 AT @INTRO             // Intro
DEFINE MISSION 3 AT @NONE              // Video Game: They Crawled From Uranus
DEFINE MISSION 4 AT @DUAL              // Video Game: Duality
DEFINE MISSION 5 AT @SHTR              // Video Game: Go Go Space Monkey
DEFINE MISSION 6 AT @GRAV              // Video Game: Let's Get Ready To Bumble
DEFINE MISSION 7 AT @OTB               // Video Game: Inside Track Betting
DEFINE MISSION 8 AT @POOL2             // Pool
DEFINE MISSION 9 AT @LOWR              // Lowrider (Bet And Dance)
DEFINE MISSION 10 AT @ZERO5            // Beefy Baron
DEFINE MISSION 11 AT @INTRO1           // Big Smoke
DEFINE MISSION 12 AT @INTRO2           // Ryder
DEFINE MISSION 13 AT @SWEET1           // Tagging Up Turf
DEFINE MISSION 14 AT @SWEET1B          // Cleaning The Hood
DEFINE MISSION 15 AT @SWEET3           // Drive-Thru
DEFINE MISSION 16 AT @SWEET2           // Nines And AK's
DEFINE MISSION 17 AT @SWEET4           // Drive-By
DEFINE MISSION 18 AT @HOODS5           // Sweet's Girl
DEFINE MISSION 19 AT @SWEET6           // Cesar Vialpando
DEFINE MISSION 20 AT @SWEET7           // Los Sepulcros
DEFINE MISSION 21 AT @CRASH4           // Doberman
DEFINE MISSION 22 AT @CRASH1           // Burning Desire
DEFINE MISSION 23 AT @DRUGS3           // Gray Imports
DEFINE MISSION 24 AT @GUNS1            // Home Invasion
DEFINE MISSION 25 AT @RYDER3           // Catalyst
DEFINE MISSION 26 AT @RYDER2           // Robbing Uncle Sam
DEFINE MISSION 27 AT @TWAR7            // OG Loc
DEFINE MISSION 28 AT @SMOKE2           // Running Dog
DEFINE MISSION 29 AT @SMOKE3           // Wrong Side of the Tracks
DEFINE MISSION 30 AT @DRUGS1           // Just Business
DEFINE MISSION 31 AT @MUSIC1           // Life's a Beach
DEFINE MISSION 32 AT @MUSIC2           // Madd Dogg's Rhymes
DEFINE MISSION 33 AT @MUSIC3           // Management Issues
DEFINE MISSION 34 AT @MUSIC5           // House Party
DEFINE MISSION 35 AT @CPRACE           // Race Tournament / 8-track / Dirt Track
DEFINE MISSION 36 AT @CESAR1           // Lowrider (High Stakes)
DEFINE MISSION 37 AT @DRUGS4           // Reuniting The Families
DEFINE MISSION 38 AT @LA1FIN2          // The Green Sabre
DEFINE MISSION 39 AT @BCRASH1          // Badlands
DEFINE MISSION 40 AT @CATALIN          // First Date
DEFINE MISSION 41 AT @CAT1             // Local Liquor Store
DEFINE MISSION 42 AT @CAT2             // Small Town Bank
DEFINE MISSION 43 AT @CAT3             // Tanker Commander
DEFINE MISSION 44 AT @CAT4             // Against All Odds
DEFINE MISSION 45 AT @CATCUT           // King in Exile
DEFINE MISSION 46 AT @TRUTH1           // Body Harvest
DEFINE MISSION 47 AT @TRUTH2           // Are you going to San Fierro?
DEFINE MISSION 48 AT @BCESAR4          // Wu Zi Mu / Farewell, My Love...
DEFINE MISSION 49 AT @GARAG1           // Wear Flowers In Your Hair
DEFINE MISSION 50 AT @DECON            // Deconstruction
DEFINE MISSION 51 AT @SCRASH3          // 555 WE TIP
DEFINE MISSION 52 AT @SCRASH2          // Snail Trail
DEFINE MISSION 53 AT @WUZI1            // Mountain Cloud Boys
DEFINE MISSION 54 AT @FARLIE4          // Ran Fa Li
DEFINE MISSION 55 AT @DRIV6            // Lure
DEFINE MISSION 56 AT @WUZI2            // Amphibious Assault
DEFINE MISSION 57 AT @WUZI5            // The Da Nang Thang
DEFINE MISSION 58 AT @SYN1             // Photo Opportunity
DEFINE MISSION 59 AT @SYN2             // Jizzy
DEFINE MISSION 60 AT @SYN3             // Outrider
DEFINE MISSION 61 AT @SYND4            // Ice Cold Killa
DEFINE MISSION 62 AT @SYN6             // Toreno's Last Flight
DEFINE MISSION 63 AT @SYN7             // Yay Ka-Boom-Boom
DEFINE MISSION 64 AT @SYN5             // Pier 69
DEFINE MISSION 65 AT @DRIV2            // T-Bone Mendez
DEFINE MISSION 66 AT @DRIV3            // Mike Toreno
DEFINE MISSION 67 AT @STEAL1           // Zeroing In
DEFINE MISSION 68 AT @STEAL2           // Test Drive
DEFINE MISSION 69 AT @STEAL4           // Customs Fast Track
DEFINE MISSION 70 AT @STEAL5           // Puncture Wounds
DEFINE MISSION 71 AT @DSKOOL           // Back to School
DEFINE MISSION 72 AT @ZERO1            // Air Raid
DEFINE MISSION 73 AT @ZERO2            // Supply Lines...
DEFINE MISSION 74 AT @ZERO4            // New Model Army
DEFINE MISSION 75 AT @TORENO1          // Monster
DEFINE MISSION 76 AT @TORENO2          // Highjack
DEFINE MISSION 77 AT @DES3             // Interdiction
DEFINE MISSION 78 AT @DESERT4          // Verdant Meadows
DEFINE MISSION 79 AT @DESERT6          // N.O.E.
DEFINE MISSION 80 AT @DESERT9          // Stowaway
DEFINE MISSION 81 AT @MAF4             // Black Project
DEFINE MISSION 82 AT @DES10            // Green Goo
DEFINE MISSION 83 AT @DESERT5          // Learning to Fly
DEFINE MISSION 84 AT @CASINO1          // Fender Ketchup
DEFINE MISSION 85 AT @CASINO2          // Explosive Situation
DEFINE MISSION 86 AT @CASINO3          // You've Had Your Chips
DEFINE MISSION 87 AT @CASINO7          // Fish in a Barrel
DEFINE MISSION 88 AT @CASINO4          // Don Peyote
DEFINE MISSION 89 AT @CASINO5          // Intensive Care
DEFINE MISSION 90 AT @CASINO6          // The Meat Business
DEFINE MISSION 91 AT @CASINO9          // Freefall
DEFINE MISSION 92 AT @CASIN10          // Saint Mark's Bistro
DEFINE MISSION 93 AT @VCRASH1          // Misappropriation
DEFINE MISSION 94 AT @VCR2             // High Noon
DEFINE MISSION 95 AT @DOC2             // Madd Dogg
DEFINE MISSION 96 AT @HEIST1           // Architectural Espionage
DEFINE MISSION 97 AT @HEIST3           // Key To Her Heart
DEFINE MISSION 98 AT @HEIST2           // Dam And Blast
DEFINE MISSION 99 AT @HEIST4           // Cop Wheels
DEFINE MISSION 100 AT @HEIST5          // Up, Up and Away!
DEFINE MISSION 101 AT @HEIST9          // Breaking the Bank at Caligula's
DEFINE MISSION 102 AT @MANSIO1         // A Home In The Hills
DEFINE MISSION 103 AT @MANSIO2         // Vertical Bird
DEFINE MISSION 104 AT @MANSIO3         // Home Coming
DEFINE MISSION 105 AT @MANSON5         // Cut Throat Business
DEFINE MISSION 106 AT @GROVE1          // Beat Down on B Dup
DEFINE MISSION 107 AT @GROVE2          // Grove 4 Life
DEFINE MISSION 108 AT @RIOT1           // Riot
DEFINE MISSION 109 AT @RIOT2           // Los Desperados
DEFINE MISSION 110 AT @FINALEA         // End Of The Line (1)
DEFINE MISSION 111 AT @FINALEB         // End Of The Line (2)
DEFINE MISSION 112 AT @FINALEC         // End Of The Line (3)
DEFINE MISSION 113 AT @SHRANGE         // Shooting range
DEFINE MISSION 114 AT @GYMLS           // Los Santos Gym Fight School
DEFINE MISSION 115 AT @GYMSF           // San Fierro Gym Fight School
DEFINE MISSION 116 AT @GYMLV           // Las Venturas Gym Fight School
DEFINE MISSION 117 AT @TRUCK           // Trucking
DEFINE MISSION 118 AT @QUARRY          // Quarry
DEFINE MISSION 119 AT @BOAT            // Boat School
DEFINE MISSION 120 AT @BSKOOL          // Bike School
DEFINE MISSION 121 AT @TAXIODD         // Taxi-Driver Sub-Mission
DEFINE MISSION 122 AT @AMBULAN         // Paramedic Sub-Mission
DEFINE MISSION 123 AT @FIRETRU         // Firefighter Sub-Mission
DEFINE MISSION 124 AT @COPCAR          // Vigilante Sub-Mission
DEFINE MISSION 125 AT @BURGJB          // Burglary Sub-Mission
DEFINE MISSION 126 AT @FREIGHT         // Freight Train Sub-Mission
DEFINE MISSION 127 AT @PIMP            // Pimping Sub-Mission
DEFINE MISSION 128 AT @BLOOD           // Arena Mission: Blood Ring
DEFINE MISSION 129 AT @KICKSTA         // Arena Mission: Kickstart
DEFINE MISSION 130 AT @TRIA            // Beat the Cock!
DEFINE MISSION 131 AT @BCOUR           // Courier
DEFINE MISSION 132 AT @MTBIKER         // The Chiliad Challenge
DEFINE MISSION 133 AT @STUNT           // BMX / NRG-500 STUNT Mission
DEFINE MISSION 134 AT @BUYPRO1         // Buy Properties Mission
DEFINE MISSION 135 AT @RAM_2P          // 2player Ram
DEFINE MISSION 136 AT @BIKE_2P         // 2player bike
DEFINE MISSION 137 AT @CARS_2P         // 2player cars
DEFINE MISSION 138 AT @HELI_2P         // 2player heli
DEFINE MISSION 139 AT @PEDS_2P         // 2player peds
DEFINE MISSION 140 AT @RUN_LS          // Run-around LS
DEFINE MISSION 141 AT @RUN_LV          // Run-around LV
DEFINE MISSION 142 AT @RUN_SF          // Run-around SF
DEFINE MISSION 143 AT @RUN_DE          // Run-around DE
DEFINE MISSION 144 AT @RUN_CO          // Run-around CO
DEFINE MISSION 145 AT @R_MILY          // Run-around (2player)
DEFINE MISSION 146 AT @R_SUZI          // Run-around (2player)
DEFINE MISSION 147 AT @R_BARB          // Run-around (2player)
DEFINE MISSION 148 AT @R_KYLIE         // Run-around (2player)
DEFINE MISSION 149 AT @R_COCH          // Run-around (2player)
DEFINE MISSION 150 AT @R_MICH          // Run-around (2player)

DEFINE EXTERNAL_SCRIPTS 78 // Use -1 in order not to compile AAA script
DEFINE SCRIPT PLAYER_PARACHUTE AT @PLCHUTE // 0
DEFINE SCRIPT PARACHUTE AT @PARACH     // 1
DEFINE SCRIPT BCESAR2 AT @BCESAR2      // 2
DEFINE SCRIPT BCESAR3 AT @COKEC        // 3
DEFINE SCRIPT SLOT_MACHINE AT @BANDIT  // 4
DEFINE SCRIPT ROULETTE AT @ROULETE     // 5
DEFINE SCRIPT OTB_SCRIPT AT @OTB_MSC   // 6
DEFINE SCRIPT ARCADE AT @ARCADE        // 7
DEFINE SCRIPT VENDING_MACHINE AT @VENDING // 8
DEFINE SCRIPT FOOD_VENDOR AT @FODVEND  // 9
DEFINE SCRIPT GATES_SCRIPT AT @GATEOS  // 10
DEFINE SCRIPT GYMBIKE AT @GYMBIKE      // 11
DEFINE SCRIPT GYMBENCH AT @GYMBENC     // 12
DEFINE SCRIPT GYMTREAD AT @GYMTREA     // 13
DEFINE SCRIPT GYMDUMB AT @GYMDUMB      // 14
DEFINE SCRIPT BASKETB AT @BBALL        // 15
DEFINE SCRIPT VIDPOK AT @VIDPOK        // 16
DEFINE SCRIPT BLACKJ AT @BLACKJ        // 17
DEFINE SCRIPT WHEELO AT @WOF           // 18
DEFINE SCRIPT DEALER AT @DEALER        // 19
DEFINE SCRIPT HOME_BRAINS AT @HMLES    // 20
DEFINE SCRIPT POOL_SCRIPT AT @POOL     // 21
DEFINE SCRIPT LOWR_CONT AT @LOWRCON    // 22
DEFINE SCRIPT BURG_BRAINS AT @BURGLAR  // 23
DEFINE SCRIPT GF_MEETING AT @GFMEET    // 24
DEFINE SCRIPT GF_DATE AT @GFDATE       // 25
DEFINE SCRIPT GF_SEX AT @GFSEX         // 26
DEFINE SCRIPT CASINO_AMBIENCE AT @CASAMB // 27
DEFINE SCRIPT BAR_AMBIENCE AT @BAR     // 28
DEFINE SCRIPT FOODBRAINS AT @PSHOP     // 29
DEFINE SCRIPT OTB_AMBIENCE AT @OTBSHP  // 30
DEFINE SCRIPT STRIP_AMBIENCE AT @STRIP // 31
DEFINE SCRIPT PLANES AT @PLANES        // 32
DEFINE SCRIPT TRAINS AT @TRAINS        // 33
DEFINE SCRIPT ZERO_AMBIENCE AT @RCSHOP // 34
DEFINE SCRIPT DANCE AT @DANCE          // 35
DEFINE SCRIPT SHOPKEEPER AT @SKBRAIN   // 36
DEFINE SCRIPT CUSTOMER_PANIC AT @FFPNC // 37
DEFINE SCRIPT BAR_STAFF AT @BARSTAF    // 38
DEFINE SCRIPT BOUNCER AT @BOUNCER      // 39
DEFINE SCRIPT OTB_STAFF AT @OTBSTAF    // 40
DEFINE SCRIPT PCHAIR AT @PCHAIR        // 41
DEFINE SCRIPT PCUSTOM AT @PCUSTOM      // 42
DEFINE SCRIPT OTBWTCH AT @OTBWTCH      // 43
DEFINE SCRIPT OTBSLP AT @OTBSLP        // 44
DEFINE SCRIPT OTBTILL AT @OTBTILL      // 45
DEFINE SCRIPT FBOOTHR AT @FBOOTHR      // 46
DEFINE SCRIPT FBOOTHL AT @FBOOTHL      // 47
DEFINE SCRIPT BARGUY AT @BARGUY        // 48
DEFINE SCRIPT PEDROUL AT @PEDROUL      // 49
DEFINE SCRIPT PEDCARD AT @PEDCARD      // 50
DEFINE SCRIPT PEDSLOT AT @PEDSLOT      // 51
DEFINE SCRIPT DANCER AT @DANCER        // 52
DEFINE SCRIPT STRIPW AT @STRIPW        // 53
DEFINE SCRIPT STRIPM AT @STRIPM        // 54
DEFINE SCRIPT BROWSE AT @BROWSE        // 55
DEFINE SCRIPT COPSIT AT @COPSIT        // 56
DEFINE SCRIPT COPLOOK AT @COPLOOK      // 57
DEFINE SCRIPT TICKET AT @TICKET        // 58
DEFINE SCRIPT SHOPPER AT @SHOPPER      // 59
DEFINE SCRIPT AMMU AT @AMUNAT          // 60
DEFINE SCRIPT TATTOO AT @TATTO         // 61
DEFINE SCRIPT BARBER AT @BARB          // 62
DEFINE SCRIPT WARDROBE AT @WARROBE     // 63
DEFINE SCRIPT CLOTHES AT @CLOTH        // 64
DEFINE SCRIPT JUNKFUD AT @JFUD         // 65
DEFINE SCRIPT CARMOD1 AT @CARMOD       // 66
DEFINE SCRIPT CRANE1 AT @CRANE1        // 67
DEFINE SCRIPT CRANE2 AT @CRANE2        // 68
DEFINE SCRIPT CRANE3 AT @CRANE3        // 69
DEFINE SCRIPT CARPARK1 AT @CARPRK1     // 70
DEFINE SCRIPT IMPOUND AT @IMPND        // 71
DEFINE SCRIPT VALET AT @VALET          // 72
DEFINE SCRIPT PHOTO AT @PHOTO          // 73
DEFINE SCRIPT PRISONR AT @PRISONR      // 74
DEFINE SCRIPT CAMERA AT @CAMERA        // 75
DEFINE SCRIPT DEBT AT @DEBT            // 76
DEFINE SCRIPT HOTDOG AT @HOTDOGV       // 77

DEFINE UNKNOWN_EMPTY_SEGMENT 0

DEFINE UNKNOWN_THREADS_MEMORY 62

{$USE debug}

//-------------MAIN---------------
script_name 'MAIN'
Camera.DoFade(0, Fade.Out)
Stat.SetTotalNumberOfMissions(147)
Stat.SetProgressTotal(187)
Stat.SetMissionRespectTotal(1339)
Game.SetMaxWantedLevel(6)
set_deatharrest_state 0
Clock.SetTimeOfDay(8, 0)
if 
is_japanese_version 
goto_if_false @MAIN_94
set_var_int_to_constant $player1 = 17
set_var_int_to_constant $scplayer = 16
set_var_int_to_constant $statbikestamina_ctr = 15
set_var_int_to_constant $statbikelowmuscle_ctr = 14
goto @MAIN_122

:MAIN_94
set_var_int_to_constant $player1 = 16
set_var_int_to_constant $scplayer = 15
set_var_int_to_constant $statbikestamina_ctr = 14
set_var_int_to_constant $statbikelowmuscle_ctr = 17

:MAIN_122
Streaming.RequestCollision(2488.562, -1666.865)
Streaming.LoadScene(2488.562, -1666.865, 13.3757)
Stat.SetFloat(StatId.Energy, 800.0)
Stat.SetFloat(StatId.BodyMuscle, 50.0)
Stat.SetFloat(StatId.Fat, 200.0)
Stat.SetFloat(StatId.DrivingSkill, 0.0)
Stat.SetInt(StatId.CitiesPassed, 0)
Stat.SetInt(StatId.Respect, 0)
$statbike_temp = Player.Create(0, 2488.562, -1666.865, 12.8757)
goto @MAIN_253
$flag_pimping_trigger = Player.Create(1, 2488.562, -1666.865, 12.8757)

:MAIN_253
display_timer_bars 0
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang2, PedType.Gang1)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang2, PedType.Gang3)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang2, PedType.Gang8)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang1, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Gang2)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang1, PedType.Gang3)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang1, PedType.Gang8)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang3, PedType.Player1)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang3, PedType.Gang2)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang3, PedType.Gang1)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang3, PedType.Gang8)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang8, PedType.Player1)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang8, PedType.Gang2)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang8, PedType.Gang1)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang8, PedType.Gang3)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang4, PedType.Gang5)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang4, PedType.Gang7)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang5, PedType.Gang4)
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang7, PedType.Gang4)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang7, PedType.Gang5)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang5, PedType.Gang7)
$flag_cell_nation = Player.GetGroup($statbike_temp)
$stattreadstamina_ctr = Player.GetChar($statbike_temp)
Camera.SetBehindPlayer
Char.SetHeading($stattreadstamina_ctr, 262.0)
Mission.LoadAndLaunchInternal(0) // Initial 1
wait 0
Mission.LoadAndLaunchInternal(1) // Initial 2
$chat_help1_flag = 0
$hyfra_gen1 = Pickup.Create(#INFO, PickupType.Once, 2027.77, -1420.52, 16.49)
$total_food_bought_per_day_shops = Pickup.Create(#INFO, PickupType.Once, 1180.85, -1325.57, 13.08)
$skip_shopping_wait = Pickup.Create(#INFO, PickupType.Once, 1550.68, -1675.49, 15.01)
$blob_flag_shop = Pickup.Create(#INFO, PickupType.Once, 2431.17, -1668.75, 13.04)
$opened_badlands_up = 292.33
$opened_sanfran_up = -35.39
$opened_vegas_up = 1000.5
$LA_ShootZ = 0
$dummy_car2 = 1
$dummy_car2 = 2
$instructor_car = 0
$croupier_help = 0
$356 = 0
declare_mission_flag $weapon_shop1_blip
set_var_int_to_constant $smoke_blip_icon = 15
set_var_int_to_constant $strap_blip_icon = 38
set_var_int_to_constant $cesar_blip_icon = 34
set_var_int_to_constant $spray_shop1 = 8
set_var_int_to_constant $spray_shop2 = 28
set_var_int_to_constant $flag_intro_mission_counter = 16
set_var_int_to_constant $spray_shop4 = 13
set_var_int_to_constant $flag_truth_mission_counter = 12
set_var_int_to_constant $flag_bcesar_mission_counter = 40
set_var_int_to_constant $trace_blip_icon = 46
set_var_int_to_constant $zero_blip_icon = 23
set_var_int_to_constant $flag_garage_mission_counter = 43
set_var_int_to_constant $trace_contact_blip2 = 13
set_var_int_to_constant $flag_zero_mission_counter = 33
set_var_int_to_constant $flag_wuzi_mission_counter = 47
set_var_int_to_constant $pilot_contact_blip = 44
set_var_int_to_constant $Theheist_blip_icon = 25
set_var_int_to_constant $flag_vcrash_mission_counter = 52
set_var_int_to_constant $flag_desert_mission_counter = 24
set_var_int_to_constant $heist_blip_icon = 42
set_var_int_to_constant $pilot_blip_icon = 5
set_var_int_to_constant $quarry_contact_blip = 15
set_var_int_to_constant $Theheist_contact_blip = 36
set_var_int_to_constant $flag_riot_mission_counter = 38
goto @MAIN_2045
$minutes = Blip.AddShortRangeSpriteForCoord(2447.364, -1974.496, 12.5469, RadarSprite.EmmetGun)
$stadium_blip2 = Blip.AddShortRangeSpriteForCoord(2070.27, -1791.092, 17.1484, RadarSprite.Barbers)
$stadium_blip3 = Blip.AddShortRangeSpriteForCoord(2107.624, -1807.516, 21.2114, RadarSprite.Pizza)
$kickX = Blip.AddShortRangeSpriteForCoord(2243.807, -1668.567, 20.0313, RadarSprite.Tshirt)
$ryder_blip_icon = Blip.AddSpriteForContactPoint($sweetY, $sweetZ, $ryderX, $smoke_blip_icon)
$intro_contact_blip = Blip.AddSpriteForContactPoint($ryderY, $ryderZ, $smokeX, $strap_blip_icon)
$cesar_contact_blip = Blip.AddSpriteForContactPoint($smokeY, $smokeZ, $strapX, $cesar_blip_icon)
$crash_contact_blip = Blip.AddSpriteForContactPoint($strapY, $strapZ, $strap2X, $spray_shop1)
$intro_blip_icon = Blip.AddSpriteForContactPoint($strap2Y, $strap2Z, $crashX, $spray_shop2)
$sweet_blip_icon = Blip.AddSpriteForContactPoint($cesarY, $cesarZ, $cat_contact_blip, $flag_intro_mission_counter)
$crash_blip_icon = Blip.AddSpriteForContactPoint($bcrash_contact_blip, $bcesar_contact_blip, $truth_contact_blip, $spray_shop4)
$truth_blip_icon = Blip.AddSpriteForContactPoint($truthY, $truthZ, $truth2X, $flag_intro_mission_counter)
$cat_blip_icon = Blip.AddSpriteForContactPoint($510, $516, $522, $flag_truth_mission_counter)
$flag_catcutscene_counter = Blip.AddSpriteForContactPoint($truth2Y, $truth2Z, $bcesarX, $flag_bcesar_mission_counter)
$flag_cat_mission_counter = Blip.AddSpriteForContactPoint($507, $508, $509, $spray_shop4)
$steal_blip_icon = Blip.AddSpriteForContactPoint($zeroY, $zeroZ, $wuziX, $flag_intro_mission_counter)
$trace_contact_blip = Blip.AddSpriteForContactPoint($stealY, $stealZ, $syndX, $trace_blip_icon)
$531 = Blip.AddSpriteForContactPoint($wuziY, $wuziZ, $stealX, $flag_wuzi_mission_counter)
$529 = Blip.AddSpriteForContactPoint($syndY, $syndZ, $traceX, $trace_contact_blip2)
$garage_blip_icon = Blip.AddSpriteForContactPoint($zeroY, $zeroZ, $wuziX, $flag_garage_mission_counter)
$530 = Blip.AddSpriteForContactPoint($563, $564, $565, $flag_intro_mission_counter)
$scrash_contact_blip = Blip.AddSpriteForContactPoint($desert2_contact_blip, $casino_contact_blip, $vcrash_contact_blip, $flag_zero_mission_counter)
$flag_steal_mission_counter = Blip.AddSpriteForContactPoint($desert2_contact_blip, $casino_contact_blip, $vcrash_contact_blip, $flag_zero_mission_counter)
$doc_contact_blip = Blip.AddSpriteForContactPoint($desert2Y, $desert2Z, $casinoX, $heist_blip_icon)
$heist_contact_blip = Blip.AddSpriteForContactPoint($casinoY, $casinoZ, $TheheistX, $pilot_blip_icon)
$desert_blip_icon = Blip.AddSpriteForContactPoint($TheheistY, $TheheistZ, $vcrashX, $pilot_contact_blip)
$flag_doc_mission_counter = Blip.AddSpriteForContactPoint($vcrashY, $vcrashZ, $docX, $flag_vcrash_mission_counter)
$casino_blip_icon = Blip.AddSpriteForContactPoint($heistY, $heistZ, $mansion_contact_blip, $flag_desert_mission_counter)
$desert2_blip_icon = Blip.AddSpriteForContactPoint($docY, $docZ, $heistX, $flag_intro_mission_counter)
$doc_blip_icon = Blip.AddSpriteForContactPoint($grove_contact_blip, $mansion_blip_icon, $grove_blip_icon, $Theheist_blip_icon)
$flag_mansion_mission_counter = Blip.AddSpriteForContactPoint($groveY, $groveZ, $RouletteX, $quarry_contact_blip)
$flag_grove_mission_counter = Blip.AddSpriteForContactPoint($groveY, $groveZ, $RouletteX, $quarry_contact_blip)
$dschool_contact_blip = Blip.AddSpriteForContactPoint($wasted_help2, $busted_help1, $flag_store_day_food, $Theheist_contact_blip)
$flag_heist_mission_counter = Blip.AddSpriteForContactPoint(-2031.2, -118.0, 34.3, RadarSprite.School)
$mansionY = Blip.AddShortRangeSpriteForContactPoint($bikesY, $bikesZ, $truckX, RadarSprite.School)
$groveX = Blip.AddShortRangeSpriteForContactPoint($bikesY, $bikesZ, $truckX, RadarSprite.School)
$busted_help = Blip.AddSpriteForContactPoint(2228.0, -1722.811, 12.5543, $strap_blip_icon)
$1726 = Blip.AddShortRangeSpriteForContactPoint($890[5], $908[5], $926[5], RadarSprite.SaveGame)
$bike_school_blip = Blip.AddShortRangeSpriteForContactPoint($mountbY, $mountbZ, $carcraneX, RadarSprite.Bulldozer)
$2592 = Blip.AddShortRangeSpriteForCoord(-2728.5, 212.2, 3.4, RadarSprite.ModGarage)
$2593 = Blip.AddShortRangeSpriteForCoord(-2728.5, 212.2, 3.4, RadarSprite.ModGarage)
$player_y = Blip.AddSpriteForContactPoint($1528[0], $1560[0], $1592[0], RadarSprite.PropertyG)
$531 = Blip.AddSpriteForContactPoint($1528[1], $1560[1], $1592[1], RadarSprite.PropertyG)
$trigger_ice_cold_mission = Blip.AddSpriteForContactPoint($1528[2], $1560[2], $1592[2], RadarSprite.PropertyG)
$flag_dont_start_shooting_range = Blip.AddShortRangeSpriteForCoord($danceY, $danceZ, $kill2pX, RadarSprite.Truck)
$flag_cat_mission1_passed = Pickup.CreateProtection(2508.359, -1676.538, 12.579, 10000, $flag_cat_mission3_passed)
$millie_marker = Pickup.Create(#KEYCARD, PickupType.Once, 0.0, 0.0, 0.0)
$millies_like_stat = Blip.AddSpriteForContactPoint(2035.724, 2727.96, 9.8281, $flag_vcrash_mission_counter)
$1689[0] = Pickup.CreateLockedProperty($1528[0], $1560[0], $1592[0], 'PROP_4')
$1689[1] = Pickup.CreateLockedProperty($1528[1], $1560[1], $1592[1], 'PROP_4')
$1689[2] = Pickup.CreateLockedProperty($1528[2], $1560[2], $1592[2], 'PROP_4')
$2710 = Object.Create(#AD_FLATDOOR, 1833.36, -1995.45, 12.5)
$2711 = Object.Create(#AD_FLATDOOR, 1819.81, -1994.66, 12.5)
$2712 = Object.Create(#AD_FLATDOOR, 1827.68, -1980.0, 12.5)
$2713 = Object.Create(#AD_FLATDOOR, 1851.84, -1990.67, 12.5)
$2714 = Object.Create(#AD_FLATDOOR, 1867.29, -1984.96, 12.5)
$2715 = Object.Create(#AD_FLATDOOR, 1866.52, -1998.53, 12.5)
$2716 = Object.Create(#AD_FLATDOOR, 1899.75, -1984.95, 12.5)
$2717 = Object.Create(#AD_FLATDOOR, 1914.39, -1992.82, 12.5)
$2718 = Object.Create(#AD_FLATDOOR, 1899.01, -1998.5, 12.5)
$2719 = Object.Create(#AD_FLATDOOR, 1900.89, -2020.11, 12.5)
$2720 = Object.Create(#AD_FLATDOOR, 1914.4, -2020.91, 12.5)
$carterwall = Object.Create(#AD_FLATDOOR, 1906.54, -2035.52, 12.5)
write_debug "AAAAAAAAA"

:MAIN_2045
Path.SwitchRoadsOff(2500.0, -1677.0, 20.0, 2430.0, -1653.0, 0.0)
$flag_changed_hair_intro2 = 0
$keep_offX = 0
$tray_offX = 0
$TEXT_COL_SELECT_B = 1.0
$TEXT_COL_SELECT_A = 1.6
$TEXT_COL_DULL_R = 200
$TEXT_COL_DULL_G = 200
$TEXT_COL_DULL_B = 200
$TEXT_COL_DULL_A = 255
$TEXT_COL_NA_R = 100
$TEXT_COL_NA_G = 100
$TEXT_COL_NA_B = 100
$TEXT_COL_NA_A = 255
$shop_name = 20
$707 = 20
$load_and_launch_mission_if_poss = 20
$open_gate_now_flag = 255
$badlands_car_gen = CarGenerator.Create(2435.302, -1671.848, 12.8007, 90.0, 432, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($badlands_car_gen, 0)
$iSetPizzaPanic = CarGenerator.Create(2527.2, -1677.1, 19.2, 90.0, 520, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($iSetPizzaPanic, 0)
$territory_cash = -1
register_streamed_script_internal 0
register_streamed_script_internal 1
register_streamed_script_internal 2
register_streamed_script_internal 3
register_streamed_script_internal 4
register_streamed_script_internal 5
register_streamed_script_internal 6
register_streamed_script_internal 7
register_streamed_script_internal 8
register_streamed_script_internal 9
register_streamed_script_internal 10
register_streamed_script_internal 11
register_streamed_script_internal 12
register_streamed_script_internal 13
register_streamed_script_internal 14
register_streamed_script_internal 15
register_streamed_script_internal 16
register_streamed_script_internal 17
register_streamed_script_internal 18
register_streamed_script_internal 19
register_streamed_script_internal 20
register_streamed_script_internal 21
register_streamed_script_internal 22
register_streamed_script_internal 23
register_streamed_script_internal 24
register_streamed_script_internal 25
register_streamed_script_internal 26
register_streamed_script_internal 27
register_streamed_script_internal 28
register_streamed_script_internal 29
register_streamed_script_internal 30
register_streamed_script_internal 31
register_streamed_script_internal 32
register_streamed_script_internal 33
register_streamed_script_internal 34
register_streamed_script_internal 35
register_streamed_script_internal 36
register_streamed_script_internal 37
register_streamed_script_internal 38
register_streamed_script_internal 39
register_streamed_script_internal 40
register_streamed_script_internal 41
register_streamed_script_internal 42
register_streamed_script_internal 43
register_streamed_script_internal 44
register_streamed_script_internal 45
register_streamed_script_internal 46
register_streamed_script_internal 47
register_streamed_script_internal 48
register_streamed_script_internal 49
register_streamed_script_internal 50
register_streamed_script_internal 51
register_streamed_script_internal 52
register_streamed_script_internal 53
register_streamed_script_internal 54
register_streamed_script_internal 55
register_streamed_script_internal 56
register_streamed_script_internal 57
register_streamed_script_internal 58
register_streamed_script_internal 59
register_streamed_script_internal 60
register_streamed_script_internal 61
register_streamed_script_internal 62
register_streamed_script_internal 63
register_streamed_script_internal 64
register_streamed_script_internal 65
register_streamed_script_internal 66
register_streamed_script_internal 67
register_streamed_script_internal 68
register_streamed_script_internal 69
register_streamed_script_internal 70
register_streamed_script_internal 71
register_streamed_script_internal 72
register_streamed_script_internal 73
register_streamed_script_internal 74
register_streamed_script_internal 75
register_streamed_script_internal 76
register_streamed_script_internal 77
StreamedScript.AllocateToObject(4, #KB_BANDIT_U, 100, 6.0, 1)
StreamedScript.AllocateToObject(5, #ROULETTE_TBL, 60, 50.0, 1)
StreamedScript.AllocateToObject(6, #OTB_MACHINE, 100, 4.0, -1)
StreamedScript.AllocateToObject(7, #CJ_COIN_OP_3, 100, 4.0, -1)
StreamedScript.AllocateToObject(7, #CJ_COIN_OP_2, 100, 4.0, -1)
StreamedScript.AllocateToObject(7, #CJ_COIN_OP_1, 100, 4.0, -1)
StreamedScript.AllocateToObject(7, #CJ_COIN_OP, 100, 4.0, -1)
StreamedScript.AllocateToObject(7, #SWANK_CONSOLE, 100, 4.0, -1)
StreamedScript.AllocateToObject(7, #SNESISH, 100, 4.0, -1)
StreamedScript.AllocateToObject(7, #LOW_CONSOLE, 100, 4.0, -1)
StreamedScript.AllocateToObject(8, #VENDMACHFD, 100, 6.0, -1)
StreamedScript.AllocateToObject(8, #VENDMACH, 100, 6.0, -1)
StreamedScript.AllocateToObject(8, #VENDIN3, 100, 6.0, -1)
StreamedScript.AllocateToObject(8, #CJ_SPRUNK1, 100, 6.0, -1)
StreamedScript.AllocateToObject(8, #CJ_CANDYVENDOR, 100, 6.0, -1)
StreamedScript.AllocateToObject(8, #CJ_EXT_CANDY, 100, 6.0, -1)
StreamedScript.AllocateToObject(8, #CJ_EXT_SPRUNK, 100, 6.0, -1)
StreamedScript.AllocateToObject(9, #ICESCART_PROP, 100, 70.0, -1)
StreamedScript.AllocateToObject(9, #CHILLIDOGCART, 100, 70.0, -1)
StreamedScript.AllocateToObject(9, #NOODLECART_PROP, 100, 70.0, -1)
$number_of_instances_of_streamed_script = 0
StreamedScript.AllocateToObject(10, #GATE_AUTOL, 100, 80.0, -1)
StreamedScript.AllocateToObject(10, #GATE_AUTOR, 100, 80.0, -1)
StreamedScript.AllocateToObject(11, #GYM_BIKE, 100, 20.0, -1)
StreamedScript.AllocateToObject(12, #GYM_BENCH1, 100, 20.0, -1)
StreamedScript.AllocateToObject(13, #GYM_TREADMILL, 100, 20.0, -1)
StreamedScript.AllocateToObject(14, #GYM_MAT1, 100, 20.0, -1)
StreamedScript.AllocateToObject(15, #BSKBALL_LAX, 100, 70.0, -1)
StreamedScript.AllocateToObject(15, #BSKBALLHUB_LAX01, 100, 70.0, -1)
StreamedScript.AllocateToObject(15, #VGSXREFBBALLNET, 100, 70.0, -1)
StreamedScript.AllocateToObject(15, #VGSXREFBBALLNET2, 100, 70.0, -1)
StreamedScript.AllocateToObject(21, #K_POOLTABLESM, 100, 70.0, -1)
StreamedScript.AllocateToObject(16, #NEIL_SLOT, 100, 4.0, 1)
StreamedScript.AllocateToObject(16, #CJ_SLOT_BANK, 100, 4.0, 1)
StreamedScript.AllocateToObject(17, #BLCK_JACK, 50, 70.0, 1)
StreamedScript.AllocateToObject(18, #WHEEL_O_FORTUNE, 50, 70.0, 1)
$flag_cat_mission3_passed = 1
StreamedScript.RegisterScriptBrainForCodeUse(23, 'HOUSE')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(52, 'DANCER')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(41, 'PCHAIR')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(42, 'PCUSTOM')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(43, 'OTBWTCH')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(44, 'OTBSLP')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(45, 'OTBTILL')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(46, 'FBOOTHR')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(47, 'FBOOTHL')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(48, 'BARGUY')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(49, 'PEDROUL')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(50, 'PEDCARD')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(51, 'PEDSLOT')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(53, 'STRIPW')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(54, 'STRIPM')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(55, 'BROWSE')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(56, 'COPSIT')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(57, 'COPLOOK')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(58, 'TICKET')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(59, 'SHOPPER')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(73, 'PHOTO')
StreamedScript.RegisterAttractorScriptBrainForCodeUse(74, 'PRISONR')
StreamedScript.AllocateToRandomPed(19, 28, 100)
StreamedScript.AllocateToRandomPed(19, 29, 100)
StreamedScript.AllocateToRandomPed(19, 30, 100)
StreamedScript.AllocateToRandomPed(19, 254, 100)
StreamedScript.AllocateToRandomPed(77, 168, 100)
Streaming.AttachAnimsToModel(28, 'DEALER')
Streaming.AttachAnimsToModel(29, 'DEALER')
Streaming.AttachAnimsToModel(30, 'DEALER')
Streaming.AttachAnimsToModel(254, 'DEALER')
Streaming.RequestIpl("CRACK")
World.SetVisibilityOfClosestObjectOfType(-2166.86, -236.5, 40.86, 40.0, #CRACKFACT_SFS, True)
World.SetVisibilityOfClosestObjectOfType(-2185.49, -215.55, 34.31, 40.0, #CF_EXT_DEM_SFS, False)
World.SetVisibilityOfClosestObjectOfType(-2166.86, -236.5, 40.86, 40.0, #LODCRACKFACT_SFS, True)
World.SetVisibilityOfClosestObjectOfType(-2185.49, -215.55, 34.31, 40.0, #LODEXT_DEM_SFS, False)
start_new_script @TPLAYER 
start_new_script @ODDVEH 
start_new_script @R3 
start_new_script @GYM 
start_new_script @SHOOT 
start_new_script @BLOODR 
start_new_script @HOTR 
start_new_script @KICKS 
start_new_script @PSAVE1 
start_new_script @FLOW 
start_new_script @HELP 
start_new_script @COLLS 
start_new_script @CRANES 
start_new_script @BUY_PRO 
start_new_script @VALET_L 
start_new_script @ADPLANE 
start_new_script @TRAINSL 
start_new_script @IMPND_L 
start_new_script @OPENUP 
start_new_script @TRI 
launch_mission @Noname_1
launch_mission @Noname_2
launch_mission @Noname_3
launch_mission @Noname_4
launch_mission @Noname_5
launch_mission @Noname_6
launch_mission @APCHECK
launch_mission @GFINIT
launch_mission @Noname_7
launch_mission @Noname_8
launch_mission @HJ
launch_mission @CELLFON
Camera.DoFade(0, Fade.Out)
Hud.DisplayZoneNames(False)
wait 0
wait 0
World.SwitchProcessing(False)
Camera.SetFadingColor(0, 0, 0)
wait 2000
World.SwitchProcessing(True)
Game.SetMaxWantedLevel(4)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MAIN_4152
Weather.ForceNow(WeatherType.SunnyLa)
Player.GiveClothesOutsideShop($statbike_temp, "VEST", "VEST", BodyPart.Torso)
Player.GiveClothesOutsideShop($statbike_temp, "JEANSDENIM", "JEANS", BodyPart.Legs)
Player.GiveClothesOutsideShop($statbike_temp, "SNEAKERBINCBLK", "SNEAKER", BodyPart.Shoes)
Player.GiveClothesOutsideShop($statbike_temp, "PLAYER_FACE", "HEAD", BodyPart.Head)
$flag_bought_from_victim = 1
Player.BuildModel($statbike_temp)
Player.StoreClothesState
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)
$cj_vomits_for_menace = 0
Mission.LoadAndLaunchInternal(2) // Intro
$model_index = 1
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MAIN_4143
Streaming.SetAreaVisible(0)
Player.SetControl($statbike_temp, True)

:MAIN_4143
Weather.Release
goto @MAIN_4159

:MAIN_4152
$flag_cat_mission4_passed = 0

:MAIN_4159
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MAIN_5892
$returned_respect = Streaming.GetAreaVisible()
$trigger_phonecall_failed = Stat.GetInt(StatId.CitiesPassed)
$trigger_final_synd_mission = Clock.GetCurrentDayOfWeek()
$flag_hhiker_trigger = Game.GetCurrentLanguage()
$player_on_valet_mission = Player.GetCityIsIn($statbike_temp)
$lf2_skip_allowed = Clock.GetGameTimer()
if 
  $flag_changed_hair_intro2 == 1
goto_if_false @MAIN_4298
set_var_int_to_var_int $range_cuts_watched = $lf2_skip_allowed
sub_int_var_from_int_var $range_cuts_watched -= $displayed_sniper_help_text
if 
  $range_cuts_watched >= 180000
goto_if_false @MAIN_4298
$flag_changed_hair_intro2 = 0
$keep_offX = 0
$range_cuts_watched = 0
$pish_flag = 0

:MAIN_4298
if or
  Garage.IsOpen('BODLAWN')
  Garage.IsOpen('MODLAST')
  Garage.IsOpen('MDSSFSE')
  Garage.IsOpen('MDS1SFS')
  Garage.IsOpen('VECMOD')
goto_if_false @MAIN_4420
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(66)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @MAIN_4413
StreamedScript.Stream(66)
if 
  StreamedScript.HasLoaded(66)
goto_if_false @MAIN_4413
StreamedScript.StartNew(66)

:MAIN_4413
goto @MAIN_4424

:MAIN_4420
StreamedScript.MarkAsNoLongerNeeded(66)

:MAIN_4424
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Parachute)
goto_if_false @MAIN_4498
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(0)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @MAIN_4491
StreamedScript.Stream(0)
if 
  StreamedScript.HasLoaded(0)
goto_if_false @MAIN_4491
StreamedScript.StartNew(0)

:MAIN_4491
goto @MAIN_4502

:MAIN_4498
StreamedScript.MarkAsNoLongerNeeded(0)

:MAIN_4502
if and
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
  $weapon_shop1_blip == 0
goto_if_false @MAIN_4583
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(75)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @MAIN_4576
StreamedScript.Stream(75)
if 
  StreamedScript.HasLoaded(75)
goto_if_false @MAIN_4576
StreamedScript.StartNew(75)

:MAIN_4576
goto @MAIN_4587

:MAIN_4583
StreamedScript.MarkAsNoLongerNeeded(75)

:MAIN_4587
if 
  $weapon_shop1_blip == 0
goto_if_false @MAIN_5579
if 
  10 > $garageZ
goto_if_false @MAIN_5056
if 
  $distance > 2
goto_if_false @MAIN_5056
if 
  $f1_spinleftgo_best_score > 400
goto_if_false @MAIN_4984
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(2)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @MAIN_4822
if 
  $shooter1X == 0
goto_if_false @MAIN_4822
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(3)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @MAIN_4822
$trigger_final_synd_mission = Clock.GetCurrentDayOfWeek()
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $trigger_final_synd_mission == 4
  $trigger_final_synd_mission == 7
goto_if_false @MAIN_4822
if or
  $player_is_completely_safe >= 19
  7 > $player_is_completely_safe
goto_if_false @MAIN_4822
StreamedScript.Stream(3)
if 
  StreamedScript.HasLoaded(3)
goto_if_false @MAIN_4822
StreamedScript.StartNew(3)
$shooter1X = 1

:MAIN_4822
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(3)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @MAIN_4984
if 
  $chickZ == 0
goto_if_false @MAIN_4984
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(2)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @MAIN_4984
$trigger_final_synd_mission = Clock.GetCurrentDayOfWeek()
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $trigger_final_synd_mission == 2
  $trigger_final_synd_mission == 6
goto_if_false @MAIN_4984
if and
  $player_is_completely_safe >= 5
  17 > $player_is_completely_safe
goto_if_false @MAIN_4984
StreamedScript.Stream(2)
if 
  StreamedScript.HasLoaded(2)
goto_if_false @MAIN_4984
StreamedScript.StartNew(2)
$chickZ = 1

:MAIN_4984
$trigger_final_synd_mission = Clock.GetCurrentDayOfWeek()
if or
  $trigger_final_synd_mission == 1
  $trigger_final_synd_mission == 3
  $trigger_final_synd_mission == 5
goto_if_false @MAIN_5049
$chickZ = 0
$shooter1X = 0
$f1_spinleftgo_best_score = 0
goto @MAIN_5056

:MAIN_5049
$f1_spinleftgo_best_score += 1

:MAIN_5056
if and
  $croupier_help == 1
  $weapon_shop1_blip == 0
goto_if_false @MAIN_5277
if 
  $instructor_car == 0
goto_if_false @MAIN_5216
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(22)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @MAIN_5209
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MAIN_5209
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1812.369, -1929.922, 80.0, 80.0, False)
goto_if_false @MAIN_5209
StreamedScript.Stream(22)
if 
  StreamedScript.HasLoaded(22)
goto_if_false @MAIN_5209
StreamedScript.StartNew(22)
$instructor_car = 1

:MAIN_5209
goto @MAIN_5277

:MAIN_5216
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MAIN_5277
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 1812.369, -1929.922, 500.0, 500.0, False)
goto_if_false @MAIN_5277
$instructor_car = 0

:MAIN_5277
switch_start $territory_cash {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @MAIN_5572 {caseNum1} 0 {caseLabel1} @MAIN_5405 {caseNum2} 1 {caseLabel2} @MAIN_5423 {caseNum3} 2 {caseLabel3} @MAIN_5441 {caseNum4} 3 {caseLabel4} @MAIN_5459 {caseNum5} 4 {caseLabel5} @MAIN_5477 {caseNum6} 5 {caseLabel6} @MAIN_5495 {caseNum7} 6 {caseLabel7} @MAIN_5513
switch_continued 7 {caseLabel1} @MAIN_5531 {caseNum2} -1 {caseLabel2} @MAIN_5572 {caseNum3} -1 {caseLabel3} @MAIN_5572 {caseNum4} -1 {caseLabel4} @MAIN_5572 {caseNum5} -1 {caseLabel5} @MAIN_5572 {caseNum6} -1 {caseLabel6} @MAIN_5572 {caseNum7} -1 {caseLabel7} @MAIN_5572 {caseNum8} -1 {caseLabel8} @MAIN_5572 {caseNum9} -1 {caseLabel9} @MAIN_5572

:MAIN_5405
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(3) // Video Game: They Crawled From Uranus
goto @MAIN_5572

:MAIN_5423
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(4) // Video Game: Duality
goto @MAIN_5572

:MAIN_5441
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(5) // Video Game: Go Go Space Monkey
goto @MAIN_5572

:MAIN_5459
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(6) // Video Game: Let's Get Ready To Bumble
goto @MAIN_5572

:MAIN_5477
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(7) // Video Game: Inside Track Betting
goto @MAIN_5572

:MAIN_5495
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(8) // Pool
goto @MAIN_5572

:MAIN_5513
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(9) // Lowrider (Bet And Dance)
goto @MAIN_5572

:MAIN_5531
$weapon_shop1_blip = 1
Text.PrintBig('BEEFY', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(10) // Beefy Baron
goto @MAIN_5572

:MAIN_5572
goto @MAIN_5618

:MAIN_5579
if or
  $chickZ == 1
  $shooter1X == 1
goto_if_false @MAIN_5611
$f1_spinleftgo_best_score = 0

:MAIN_5611
$territory_cash = -1

:MAIN_5618
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MAIN_5892
if 
  Char.IsInArea2D($stattreadstamina_ctr, 2037.536, 2365.373, 2117.177, 2483.922, False)
goto_if_false @MAIN_5728
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(70)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @MAIN_5721
StreamedScript.Stream(70)
if 
  StreamedScript.HasLoaded(70)
goto_if_false @MAIN_5721
StreamedScript.StartNew(70)

:MAIN_5721
goto @MAIN_5732

:MAIN_5728
StreamedScript.MarkAsNoLongerNeeded(70)

:MAIN_5732
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 1
goto_if_false @MAIN_5892
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 658.0068, -1866.313, 4.4537, 15.0, 15.0, 15.0, False)
goto_if_false @MAIN_5867
if 
  $flag_player_on_freight_mission == 0
goto_if_false @MAIN_5860
if or
  is_int_var_greater_than_int_var $gym_day_fitness > $burglary_female_decision
  is_int_var_greater_than_int_var $burglary_male_decision > $burglary_gang_decision
goto_if_false @MAIN_5853
$cutscene_skip_CUT = 0.0

:MAIN_5853
$flag_player_on_freight_mission = 1

:MAIN_5860
goto @MAIN_5892

:MAIN_5867
if 
  $flag_player_on_freight_mission == 1
goto_if_false @MAIN_5892
$flag_player_on_freight_mission = 0

:MAIN_5892
goto @MAIN_4159

:INT
script_name 'INT'

:INT_11
wait $LStickY
if 
  $flag_sweet_mission_counter == 2
goto_if_false @INT_36
terminate_this_script 

:INT_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @INT_292
if 
  $weapon_shop1_blip == 0
goto_if_false @INT_292
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $sweetY, $sweetZ, $ryderX, 1.0, 1.0, 2.0, False)
goto_if_false @INT_182
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @INT_182
if 
  $flag_sweet_mission_counter == 0
goto_if_false @INT_182
$weapon_shop1_blip = 1
Text.PrintBig('INTRO_1', 1000, TextStyle.BottomRight)
PSAVE1_1140()
Text.ClearHelp
Mission.LoadAndLaunchInternal(11) // Big Smoke

:INT_182
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $smokeY, $smokeZ, $strapX, 1.2, 1.2, 2.0, False)
goto_if_false @INT_292
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @INT_292
if 
  $flag_sweet_mission_counter == 1
goto_if_false @INT_292
$weapon_shop1_blip = 1
Text.PrintBig('INTRO_2', 1000, TextStyle.BottomRight)
PSAVE1_1498()
Mission.LoadAndLaunchInternal(12) // Ryder

:INT_292
goto @INT_11

:SWEET
script_name 'SWEET'

:SWEET_11
wait $LStickY
if 
  $flag_crash_mission_counter == 9
goto_if_false @SWEET_36
terminate_this_script 

:SWEET_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SWEET_807
if 
  $weapon_shop1_blip == 0
goto_if_false @SWEET_807
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $ryderY, $ryderZ, $smokeX, 1.2, 1.2, 2.0, False)
goto_if_false @SWEET_684
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @SWEET_684
if 
  $flag_crash_mission_counter == 0
goto_if_false @SWEET_180
$weapon_shop1_blip = 1
Text.PrintBig('SWEET_1', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(13) // Tagging Up Turf

:SWEET_180
if 
  $flag_crash_mission_counter == 1
goto_if_false @SWEET_232
$weapon_shop1_blip = 1
Text.PrintBig('SWEET1B', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(14) // Cleaning The Hood

:SWEET_232
if 
  $flag_crash_mission_counter == 2
goto_if_false @SWEET_284
$weapon_shop1_blip = 1
Text.PrintBig('SWEET_3', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(15) // Drive-Thru

:SWEET_284
if 
  $flag_crash_mission_counter == 3
goto_if_false @SWEET_336
$weapon_shop1_blip = 1
Text.PrintBig('SWEET_2', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(16) // Nines And AK's

:SWEET_336
if 
  $flag_crash_mission_counter == 4
goto_if_false @SWEET_388
$weapon_shop1_blip = 1
Text.PrintBig('SWEET_4', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(17) // Drive-By

:SWEET_388
if 
  $flag_crash_mission_counter == 5
goto_if_false @SWEET_440
$weapon_shop1_blip = 1
Text.PrintBig('SWEET_5', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(18) // Sweet's Girl

:SWEET_440
if 
  $flag_crash_mission_counter == 6
goto_if_false @SWEET_492
$weapon_shop1_blip = 1
Text.PrintBig('SWEET_6', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(19) // Cesar Vialpando

:SWEET_492
if 
  $flag_crash_mission_counter == 8
goto_if_false @SWEET_684
$girlfried_help_flag = Game.FindMaxNumberOfGroupMembers()
if 
  $girlfried_help_flag > 1
goto_if_false @SWEET_632
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if and
  $player_is_completely_safe >= 9
  17 > $player_is_completely_safe
goto_if_false @SWEET_609
Text.ClearPrints
$weapon_shop1_blip = 1
Text.PrintBig('SWEET_7', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(20) // Los Sepulcros
goto @SWEET_625

:SWEET_609
Text.PrintNow('MTIME3', 1000, 1)

:SWEET_625
goto @SWEET_684

:SWEET_632
Text.PrintNow('MOREREP', 1000, 1)
if 
  $menu_mode == 0
goto_if_false @SWEET_684
Text.PrintHelp('HELP101')
$menu_mode = 1

:SWEET_684
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 1365.251, -1280.12, 12.5469, 1.2, 1.2, 2.0, False)
goto_if_false @SWEET_807
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @SWEET_807
if and
  $flag_crash_mission_counter == 7
  $1350 == 1
goto_if_false @SWEET_807
$weapon_shop1_blip = 1
Text.PrintBig('CRASH_2', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(21) // Doberman

:SWEET_807
goto @SWEET_11

:CRASH
script_name 'CRASH'

:CRASH_11
wait $LStickY
if 
  $introY == 2
goto_if_false @CRASH_36
terminate_this_script 

:CRASH_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRASH_232
if 
  $weapon_shop1_blip == 0
goto_if_false @CRASH_232
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $cesarY, $cesarZ, $cat_contact_blip, 1.2, 1.2, 2.0, False)
goto_if_false @CRASH_232
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @CRASH_232
if 
  $introY == 0
goto_if_false @CRASH_180
$weapon_shop1_blip = 1
Text.PrintBig('CRASH_1', 1000, TextStyle.BottomRight)
PSAVE1_1836()
Mission.LoadAndLaunchInternal(22) // Burning Desire

:CRASH_180
if 
  $introY == 1
goto_if_false @CRASH_232
$weapon_shop1_blip = 1
Text.PrintBig('CRASH_3', 1000, TextStyle.BottomRight)
PSAVE1_1836()
Mission.LoadAndLaunchInternal(23) // Gray Imports

:CRASH_232
goto @CRASH_11

:RYDER
script_name 'RYDER'

:RYDER_11
wait $LStickY
if 
  $flag_cesar_mission_counter == 3
goto_if_false @RYDER_36
terminate_this_script 

:RYDER_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @RYDER_342
if 
  $weapon_shop1_blip == 0
goto_if_false @RYDER_342
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $smokeY, $smokeZ, $strapX, 1.6, 1.2, 2.0, False)
goto_if_false @RYDER_342
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @RYDER_342
if 
  $flag_cesar_mission_counter == 0
goto_if_false @RYDER_238
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if and
  $player_is_completely_safe >= 12
  20 > $player_is_completely_safe
goto_if_false @RYDER_222
Text.ClearPrints
$weapon_shop1_blip = 1
Text.PrintBig('RYDER_1', 1000, TextStyle.BottomRight)
PSAVE1_1498()
Mission.LoadAndLaunchInternal(24) // Home Invasion
goto @RYDER_238

:RYDER_222
Text.PrintNow('MTIME6', 1000, 1)

:RYDER_238
if 
  $flag_cesar_mission_counter == 1
goto_if_false @RYDER_290
$weapon_shop1_blip = 1
Text.PrintBig('RYDER_3', 1000, TextStyle.BottomRight)
PSAVE1_1498()
Mission.LoadAndLaunchInternal(25) // Catalyst

:RYDER_290
if 
  $flag_cesar_mission_counter == 2
goto_if_false @RYDER_342
$weapon_shop1_blip = 1
Text.PrintBig('RYDER_2', 1000, TextStyle.BottomRight)
PSAVE1_1498()
Mission.LoadAndLaunchInternal(26) // Robbing Uncle Sam

:RYDER_342
goto @RYDER_11

:SMOKE
script_name 'SMOKE'

:SMOKE_11
wait $LStickY
if 
  $flag_la1fin1_mission_counter == 4
goto_if_false @SMOKE_36
terminate_this_script 

:SMOKE_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SMOKE_336
if 
  $weapon_shop1_blip == 0
goto_if_false @SMOKE_336
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $strapY, $strapZ, $strap2X, 1.2, 1.2, 2.0, False)
goto_if_false @SMOKE_336
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @SMOKE_336
if 
  $flag_la1fin1_mission_counter == 0
goto_if_false @SMOKE_180
$weapon_shop1_blip = 1
Text.PrintBig('SMOKE_1', 1000, TextStyle.BottomRight)
PSAVE1_1676()
Mission.LoadAndLaunchInternal(27) // OG Loc

:SMOKE_180
if 
  $flag_la1fin1_mission_counter == 1
goto_if_false @SMOKE_232
$weapon_shop1_blip = 1
Text.PrintBig('SMOKE_2', 1000, TextStyle.BottomRight)
PSAVE1_1676()
Mission.LoadAndLaunchInternal(28) // Running Dog

:SMOKE_232
if 
  $flag_la1fin1_mission_counter == 2
goto_if_false @SMOKE_284
$weapon_shop1_blip = 1
Text.PrintBig('SMOKE_3', 1000, TextStyle.BottomRight)
PSAVE1_1676()
Mission.LoadAndLaunchInternal(29) // Wrong Side of the Tracks

:SMOKE_284
if 
  $flag_la1fin1_mission_counter == 3
goto_if_false @SMOKE_336
$weapon_shop1_blip = 1
Text.PrintBig('SMOKE_4', 1000, TextStyle.BottomRight)
PSAVE1_1676()
Mission.LoadAndLaunchInternal(30) // Just Business

:SMOKE_336
goto @SMOKE_11

:STRAP
script_name 'STRAP'

:STRAP_11
wait $LStickY
if 
  $introX == 5
goto_if_false @STRAP_36
terminate_this_script 

:STRAP_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @STRAP_620
if 
  $weapon_shop1_blip == 0
goto_if_false @STRAP_620
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $strap2Y, $strap2Z, $crashX, 1.2, 1.2, 2.0, False)
goto_if_false @STRAP_452
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @STRAP_452
if 
  $introX == 0
goto_if_false @STRAP_238
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $player_is_completely_safe >= 22
  6 > $player_is_completely_safe
goto_if_false @STRAP_222
Text.ClearPrints
$weapon_shop1_blip = 1
Text.PrintBig('STRAP_1', 1000, TextStyle.BottomRight)
PSAVE1_2014()
Mission.LoadAndLaunchInternal(31) // Life's a Beach
goto @STRAP_238

:STRAP_222
Text.PrintNow('MTIME5', 1000, 1)

:STRAP_238
if 
  $introX == 1
goto_if_false @STRAP_290
$weapon_shop1_blip = 1
Text.PrintBig('STRAP_2', 1000, TextStyle.BottomRight)
PSAVE1_2014()
Mission.LoadAndLaunchInternal(32) // Madd Dogg's Rhymes

:STRAP_290
if 
  $introX == 2
goto_if_false @STRAP_400
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $player_is_completely_safe >= 12
  5 > $player_is_completely_safe
goto_if_false @STRAP_384
Text.ClearPrints
$weapon_shop1_blip = 1
Text.PrintBig('STRAP_3', 1000, TextStyle.BottomRight)
PSAVE1_2014()
Mission.LoadAndLaunchInternal(33) // Management Issues
goto @STRAP_400

:STRAP_384
Text.PrintNow('MTIME2', 1000, 1)

:STRAP_400
if 
  $introX == 3
goto_if_false @STRAP_452
$weapon_shop1_blip = 1
PSAVE1_2014()
Text.PrintBig('STRAP_4', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(34) // House Party

:STRAP_452
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $crashY, $crashZ, $cesarX, 1.2, 1.2, 2.0, False)
goto_if_false @STRAP_620
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @STRAP_620
if 
  $introX == 4
goto_if_false @STRAP_620
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $player_is_completely_safe >= 20
  6 > $player_is_completely_safe
goto_if_false @STRAP_604
Text.ClearPrints
$weapon_shop1_blip = 1
Text.PrintBig('STRAP_4', 1000, TextStyle.BottomRight)
PSAVE1_2174()
Mission.LoadAndLaunchInternal(34) // House Party
goto @STRAP_620

:STRAP_604
Text.PrintNow('MTIME1', 1000, 1)

:STRAP_620
goto @STRAP_11

:CESAR
script_name 'CESAR'

:CESAR_11
wait 0
if 
  $introZ == 1
goto_if_false @CESAR_35
terminate_this_script 

:CESAR_35
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CESAR_344
if 
  $weapon_shop1_blip == 0
goto_if_false @CESAR_130
if 
  $introZ == 0
goto_if_false @CESAR_130
if 
  $hitchX == 1
goto_if_false @CESAR_130
set_var_int_to_constant $356 = 0
$chat_help1_flag = 0
Mission.LoadAndLaunchInternal(35) // Race Tournament / 8-track / Dirt Track
$hitchX = 2

:CESAR_130
if 
  $weapon_shop1_blip == 0
goto_if_false @CESAR_344
if 
  $introZ == 0
goto_if_false @CESAR_344
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $bcrash_contact_blip, $bcesar_contact_blip, $truth_contact_blip, 4.0, 4.0, 3.0, True)
goto_if_false @CESAR_344
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CESAR_328
$flag_bikeschool_passed_1stime = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsLowRider($flag_bikeschool_passed_1stime)
goto_if_false @CESAR_305
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @CESAR_298
$weapon_shop1_blip = 1
Text.PrintBig('CESAR_1', 1000, TextStyle.BottomRight)
PSAVE1_2334()
Mission.LoadAndLaunchInternal(36) // Lowrider (High Stakes)

:CESAR_298
goto @CESAR_321

:CESAR_305
Text.PrintNow('CES_CK1', 1000, 1)

:CESAR_321
goto @CESAR_344

:CESAR_328
Text.PrintNow('CES_CK1', 1000, 1)

:CESAR_344
goto @CESAR_11

:LA1FIN
script_name 'LA1FIN'

:LA1FIN_11
wait $LStickY
if 
  $sweetX == 2
goto_if_false @LA1FIN_36
terminate_this_script 

:LA1FIN_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LA1FIN_340
if 
  $weapon_shop1_blip == 0
goto_if_false @LA1FIN_340
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $ryderY, $ryderZ, $smokeX, 1.0, 1.0, 2.0, False)
goto_if_false @LA1FIN_340
if 
  $flag_crash_mission_counter == 9
goto_if_false @LA1FIN_340
if 
  $flag_la1fin1_mission_counter == 4
goto_if_false @LA1FIN_340
if 
  $introX == 5
goto_if_false @LA1FIN_340
if 
  $flag_cesar_mission_counter == 3
goto_if_false @LA1FIN_340
if 
  $introY == 2
goto_if_false @LA1FIN_340
if 
  $introZ == 1
goto_if_false @LA1FIN_340
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @LA1FIN_340
if 
  $sweetX == 0
goto_if_false @LA1FIN_288
$weapon_shop1_blip = 1
Text.PrintBig('LA1FIN1', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(37) // Reuniting The Families

:LA1FIN_288
if 
  $sweetX == 1
goto_if_false @LA1FIN_340
$weapon_shop1_blip = 1
Text.PrintBig('LA1FIN2', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(38) // The Green Sabre

:LA1FIN_340
goto @LA1FIN_11

:BCRASH
script_name 'BCRASH'

:BCRASH_11
wait $LStickY
if 
  $truthX == 1
goto_if_false @BCRASH_36
terminate_this_script 

:BCRASH_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BCRASH_180
if 
  $weapon_shop1_blip == 0
goto_if_false @BCRASH_180
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $truthY, $truthZ, $truth2X, 1.2, 1.2, 2.0, False)
goto_if_false @BCRASH_180
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @BCRASH_180
if 
  $truthX == 0
goto_if_false @BCRASH_180
$weapon_shop1_blip = 1
Text.PrintBig('BCRASH1', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(39) // Badlands

:BCRASH_180
goto @BCRASH_11

:CAT
$flag_cycling_skill_help_tri = -1
script_name 'CAT'

:CAT_18
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CAT_634
if 
  $weapon_shop1_blip == 0
goto_if_false @CAT_419
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @CAT_412
if 
  $distance == 0
goto_if_false @CAT_164
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $515, $521, $zero_contact_blip, 1.2, 1.2, 2.0, False)
goto_if_false @CAT_157
$weapon_shop1_blip = 1
CAT_641()
CAT_779()
Mission.LoadAndLaunchInternal(40) // First Date

:CAT_157
goto @CAT_249

:CAT_164
if 
  $bs_the180_best_score == 1
goto_if_false @CAT_249
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $510, $516, $522, 1.2, 1.2, 2.0, False)
goto_if_false @CAT_249
$weapon_shop1_blip = 1
CAT_641()
CAT_922()
Mission.LoadAndLaunchInternal(40) // First Date

:CAT_249
switch_start $flag_cycling_skill_help_tri {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @CAT_412 {caseNum1} 0 {caseLabel1} @CAT_312 {caseNum2} 1 {caseLabel2} @CAT_337 {caseNum3} 2 {caseLabel3} @CAT_362 {caseNum4} 3 {caseLabel4} @CAT_387 {caseNum5} -1 {caseLabel5} @CAT_412 {caseNum6} -1 {caseLabel6} @CAT_412 {caseNum7} -1 {caseLabel7} @CAT_412

:CAT_312
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(41) // Local Liquor Store
goto @CAT_18
goto @CAT_412

:CAT_337
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(42) // Small Town Bank
goto @CAT_18
goto @CAT_412

:CAT_362
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(43) // Tanker Commander
goto @CAT_18
goto @CAT_412

:CAT_387
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(44) // Against All Odds
goto @CAT_18
goto @CAT_412

:CAT_412
goto @CAT_426

:CAT_419
$flag_cycling_skill_help_tri = -1

:CAT_426
if 
  $flag_stamina_skill_help_tri == 0
goto_if_false @CAT_474
if 
  $distance == 1
goto_if_false @CAT_474
Blip.Remove($cat_blip_icon)
$flag_stamina_skill_help_tri = 1

:CAT_474
if 
  $flag_stamina_skill_help_tri == 1
goto_if_false @CAT_609
if 
  $bcrashY == 1
goto_if_false @CAT_609
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $truthY, $truthZ, $truth2X, 1.2, 1.2, 2.0, False)
goto_if_false @CAT_609
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @CAT_609
$weapon_shop1_blip = 1
Text.PrintBig('TRAILER', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(45) // King in Exile
$flag_stamina_skill_help_tri = 2

:CAT_609
if 
  $distance > 3
goto_if_false @CAT_634
Blip.Remove($cat_blip_icon)
terminate_this_script 

:CAT_634
goto @CAT_18

:CAT_641
if 
  $distance == 0
goto_if_false @CAT_675
Text.PrintBig('CATCUT1', 1000, TextStyle.BottomRight)

:CAT_675
if 
  $distance == 1
goto_if_false @CAT_709
Text.PrintBig('CATCUT2', 1000, TextStyle.BottomRight)

:CAT_709
if 
  $distance == 2
goto_if_false @CAT_743
Text.PrintBig('CATCUT3', 1000, TextStyle.BottomRight)

:CAT_743
if 
  $distance == 3
goto_if_false @CAT_777
Text.PrintBig('CATCUT4', 1000, TextStyle.BottomRight)

:CAT_777
return 

:CAT_779
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CAT_920
$weapon_shop1_blip = 1
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(664.9277, -479.6112, 16.1668, 0.0, 0.0, 0.0)
Camera.PointAtPoint(665.8948, -479.5685, 16.4175, SwitchType.JumpCut)
World.ClearArea(681.8004, -474.1063, 15.5363, 3.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 681.8004, -474.1063, 15.5363, MoveState.Walk, 3000)
PSAVE1_1060()

:CAT_920
return 

:CAT_922
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CAT_1063
$weapon_shop1_blip = 1
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(856.9968, -27.9584, 63.7393, 0.0, 0.0, 0.0)
Camera.PointAtPoint(857.9943, -28.0286, 63.7295, SwitchType.JumpCut)
World.ClearArea(870.1503, -25.3395, 62.9589, 3.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 870.1503, -25.3395, 62.9589, MoveState.Walk, 3000)
PSAVE1_1060()

:CAT_1063
return 

:TRU
script_name 'TRU'

:TRU_11
wait $LStickY
if 
  $bcrashY == 2
goto_if_false @TRU_36
terminate_this_script 

:TRU_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRU_281
if 
  $weapon_shop1_blip == 0
goto_if_false @TRU_281
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @TRU_281
if 
  $bcrashY == 0
goto_if_false @TRU_180
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $bcesarY, $bcesarZ, $catX, 1.2, 1.2, 2.0, False)
goto_if_false @TRU_180
$weapon_shop1_blip = 1
Text.PrintBig('TRUTH_1', 1000, TextStyle.BottomRight)
PSAVE1_2445()
Mission.LoadAndLaunchInternal(46) // Body Harvest

:TRU_180
if and
  $bcrashY == 1
  $bcrashZ > 9
goto_if_false @TRU_281
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $truth2Y, $truth2Z, $bcesarX, 1.2, 1.2, 2.0, False)
goto_if_false @TRU_281
$weapon_shop1_blip = 1
Text.PrintBig('TRUTH_2', 1000, TextStyle.BottomRight)
PSAVE1_2605()
Mission.LoadAndLaunchInternal(47) // Are you going to San Fierro?

:TRU_281
goto @TRU_11

:BCESAR
script_name 'BCESAR'

:BCESAR_11
wait 0
if 
  $bcrashZ == 10
goto_if_false @BCESAR_42
Stat.SetInt(StatId.PassedBcesar4, 1)
terminate_this_script 

:BCESAR_42
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BCESAR_880
if 
  $weapon_shop1_blip == 0
goto_if_false @BCESAR_880
if 
  $bcrashZ == 2
goto_if_false @BCESAR_116
if 
  $flag_cas1_passed_1stime == 0
goto_if_false @BCESAR_116
Mission.LoadAndLaunchInternal(48) // Wu Zi Mu / Farewell, My Love...

:BCESAR_116
if 
  $bcrashZ == 0
goto_if_false @BCESAR_382
if 
  $flag_cas1_passed_1stime == 0
goto_if_false @BCESAR_382
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $507, $508, $509, 4.0, 4.0, 4.0, True)
goto_if_false @BCESAR_382
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCESAR_366
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @BCESAR_359
$stealth_help_flag = Char.GetCarIsUsing($stattreadstamina_ctr)
$f1_which_missions_are_open_flag = Car.GetClass($stealth_help_flag)
if or
  is_int_var_equal_to_constant $f1_which_missions_are_open_flag == 0
  is_int_var_equal_to_constant $f1_which_missions_are_open_flag == 1
  is_int_var_equal_to_constant $f1_which_missions_are_open_flag == 2
  is_int_var_equal_to_constant $f1_which_missions_are_open_flag == 3
  is_int_var_equal_to_constant $f1_which_missions_are_open_flag == 4
  is_int_var_equal_to_constant $f1_which_missions_are_open_flag == 6
goto_if_false @BCESAR_343
$bcrashZ = 0
$weapon_shop1_blip = 1
Text.PrintBig('BCESAR4', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(48) // Wu Zi Mu / Farewell, My Love...
goto @BCESAR_359

:BCESAR_343
Text.PrintNow('BC4_7', 1000, 1)

:BCESAR_359
goto @BCESAR_382

:BCESAR_366
Text.PrintNow('BC4_2', 1000, 1)

:BCESAR_382
if 
  $bcrashZ == 3
goto_if_false @BCESAR_425
$bcrashZ = 4
$weapon_shop1_blip = 1
LITCAS_267()
Mission.LoadAndLaunchInternal(48) // Wu Zi Mu / Farewell, My Love...

:BCESAR_425
if and
  $1851 == 1
  4 > $distance
goto_if_false @BCESAR_479
Blip.Remove($cat_blip_icon)
$cat_blip_icon = Blip.AddSpriteForContactPoint($510, $516, $522, $flag_truth_mission_counter)
$1851 = 0

:BCESAR_479
if 
  $distance > 3
goto_if_false @BCESAR_695
if 
  $flag_cas1_passed_1stime == 0
goto_if_false @BCESAR_652
if or
  $bcrashZ == 5
  $bcrashZ == 6
  $bcrashZ == 7
goto_if_false @BCESAR_652
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -513.9356, -188.314, 77.4599, 1.2, 1.2, 2.0, False)
goto_if_false @BCESAR_652
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @BCESAR_652
$bcrashZ = 5
$weapon_shop1_blip = 1
Text.PrintBig('BCES4_2', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(48) // Wu Zi Mu / Farewell, My Love...

:BCESAR_652
if 
  $bcrashZ == 8
goto_if_false @BCESAR_695
$bcrashZ = 9
$weapon_shop1_blip = 1
LITCAS_267()
Mission.LoadAndLaunchInternal(48) // Wu Zi Mu / Farewell, My Love...

:BCESAR_695
if and
  $distance == 4
  $bcrashZ > 4
goto_if_false @BCESAR_755
Blip.Remove($flag_cat_mission_counter)
$flag_cat_mission_counter = Blip.AddSpriteForContactPoint(-513.9356, -188.314, 77.4599, $spray_shop4)
$distance = 5

:BCESAR_755
if 
  $flag_cas1_passed_1stime == 1
goto_if_false @BCESAR_880
if 
  $bcrashZ == 1
goto_if_false @BCESAR_823
$bcrashZ = 2
set_var_int_to_constant $356 = 7
$chat_help1_flag = 0
Mission.LoadAndLaunchInternal(35) // Race Tournament / 8-track / Dirt Track
$flag_cas1_passed_1stime = 0

:BCESAR_823
if 
  $bcrashZ == 6
goto_if_false @BCESAR_880
$bcrashZ = 7
set_var_int_to_constant $356 = 8
$chat_help1_flag = 0
Stat.SetInt(StatId.StartedCrash1, 1)
Mission.LoadAndLaunchInternal(35) // Race Tournament / 8-track / Dirt Track
$flag_cas1_passed_1stime = 0

:BCESAR_880
goto @BCESAR_11

:GARAGE
script_name 'GARAGE'

:GARAGE_11
wait $LStickY
if 
  $flag_synd_mission_counter == 2
goto_if_false @GARAGE_36
terminate_this_script 

:GARAGE_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GARAGE_250
if 
  $weapon_shop1_blip == 0
goto_if_false @GARAGE_250
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $zeroY, $zeroZ, $wuziX, 1.2, 1.2, 2.0, False)
goto_if_false @GARAGE_250
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @GARAGE_250
if 
  $flag_synd_mission_counter == 0
goto_if_false @GARAGE_180
$weapon_shop1_blip = 1
Text.PrintBig('GAR_1', 1000, TextStyle.BottomRight)
PSAVE1_2765()
Mission.LoadAndLaunchInternal(49) // Wear Flowers In Your Hair

:GARAGE_180
if 
  $zeroX == 1
goto_if_false @GARAGE_250
if 
  $flag_synd_mission_counter == 1
goto_if_false @GARAGE_250
$weapon_shop1_blip = 1
Text.PrintBig('GAR_2', 1000, TextStyle.BottomRight)
PSAVE1_2765()
Mission.LoadAndLaunchInternal(50) // Deconstruction

:GARAGE_250
goto @GARAGE_11

:SCRASH
script_name 'SCRASH'

:SCRASH_11
wait $LStickY
if 
  $zeroX == 2
goto_if_false @SCRASH_36
terminate_this_script 

:SCRASH_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SCRASH_239
if 
  $weapon_shop1_blip == 0
goto_if_false @SCRASH_239
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $testsY, $testsZ, $desert_contact_blip, 1.2, 1.2, 2.0, False)
goto_if_false @SCRASH_239
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @SCRASH_239
if 
  $zeroX == 0
goto_if_false @SCRASH_180
$weapon_shop1_blip = 1
Text.PrintBig('SCRA_1', 1000, TextStyle.BottomRight)
PSAVE1_2765()
Mission.LoadAndLaunchInternal(51) // 555 WE TIP

:SCRASH_180
if and
  $zeroX == 1
  $garageZ == 6
goto_if_false @SCRASH_239
$weapon_shop1_blip = 1
Text.PrintBig('SCRA_2', 1000, TextStyle.BottomRight)
PSAVE1_2765()
Mission.LoadAndLaunchInternal(52) // Snail Trail

:SCRASH_239
goto @SCRASH_11

:WUZI
script_name 'WUZI'

:WUZI_11
wait $LStickY
if 
  $garageX == 5
goto_if_false @WUZI_36
terminate_this_script 

:WUZI_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WUZI_515
if 
  $weapon_shop1_blip == 0
goto_if_false @WUZI_515
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $stealY, $stealZ, $syndX, 1.2, 1.2, 2.0, False)
goto_if_false @WUZI_515
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @WUZI_515
if 
  $garageX == 0
goto_if_false @WUZI_180
$weapon_shop1_blip = 1
Text.PrintBig('WUZI_1', 1000, TextStyle.BottomRight)
PSAVE1_3085()
Mission.LoadAndLaunchInternal(53) // Mountain Cloud Boys

:WUZI_180
if 
  $garageX == 1
goto_if_false @WUZI_232
$weapon_shop1_blip = 1
Text.PrintBig('FAR_4', 1000, TextStyle.BottomRight)
PSAVE1_3085()
Mission.LoadAndLaunchInternal(54) // Ran Fa Li

:WUZI_232
if 
  $garageX == 2
goto_if_false @WUZI_284
$weapon_shop1_blip = 1
Text.PrintBig('FAR_5', 1000, TextStyle.BottomRight)
PSAVE1_3085()
Mission.LoadAndLaunchInternal(55) // Lure

:WUZI_284
if 
  $garageX == 3
goto_if_false @WUZI_463
$keycard_aquired_from_millie = Stat.GetInt(StatId.UnderwaterBreathStamina)
if 
  $keycard_aquired_from_millie > 50
goto_if_false @WUZI_427
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $player_is_completely_safe >= 20
  6 > $player_is_completely_safe
goto_if_false @WUZI_404
Text.ClearPrints
$weapon_shop1_blip = 1
Text.PrintBig('WUZI_2', 1000, TextStyle.BottomRight)
PSAVE1_3085()
Mission.LoadAndLaunchInternal(56) // Amphibious Assault
goto @WUZI_420

:WUZI_404
Text.PrintNow('MTIME1', 1000, 1)

:WUZI_420
goto @WUZI_463

:WUZI_427
Text.ClearPrints
$weapon_shop1_blip = 1
Text.PrintBig('WUZI_2', 1000, TextStyle.BottomRight)
PSAVE1_3085()
Mission.LoadAndLaunchInternal(56) // Amphibious Assault

:WUZI_463
if 
  $garageX == 4
goto_if_false @WUZI_515
$weapon_shop1_blip = 1
Text.PrintBig('WUZI_4', 1000, TextStyle.BottomRight)
PSAVE1_3085()
Mission.LoadAndLaunchInternal(57) // The Da Nang Thang

:WUZI_515
goto @WUZI_11

:SYND
script_name 'SYND'

:SYND_11
wait $LStickY
if 
  $garageZ == 10
goto_if_false @SYND_36
terminate_this_script 

:SYND_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SYND_874
if 
  $weapon_shop1_blip == 0
goto_if_false @SYND_874
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $zeroY, $zeroZ, $wuziX, 1.2, 1.2, 2.0, False)
goto_if_false @SYND_512
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @SYND_512
if 
  $garageZ == 0
goto_if_false @SYND_180
$weapon_shop1_blip = 1
Text.PrintBig('SYND_1', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(58) // Photo Opportunity

:SYND_180
if 
  $garageZ == 1
goto_if_false @SYND_232
$weapon_shop1_blip = 1
Text.PrintBig('SYND_2', 1000, TextStyle.BottomRight)
PSAVE1_2765()
Mission.LoadAndLaunchInternal(59) // Jizzy

:SYND_232
if 
  $garageZ == 5
goto_if_false @SYND_284
$weapon_shop1_blip = 1
Text.PrintBig('SYND_3', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(60) // Outrider

:SYND_284
if and
  $garageZ == 6
  $zeroX == 2
goto_if_false @SYND_401
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $player_is_completely_safe >= 20
  6 > $player_is_completely_safe
goto_if_false @SYND_385
$weapon_shop1_blip = 1
Text.ClearPrints
Text.PrintBig('SYND_4', 1000, TextStyle.BottomRight)
PSAVE1_2765()
Mission.LoadAndLaunchInternal(61) // Ice Cold Killa
goto @SYND_401

:SYND_385
Text.PrintNow('MTIME1', 1000, 1)

:SYND_401
if 
  $garageZ == 8
goto_if_false @SYND_453
$weapon_shop1_blip = 1
Text.PrintBig('SYND_6', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(62) // Toreno's Last Flight

:SYND_453
if and
  $garageZ == 9
  $garageX == 5
goto_if_false @SYND_512
$weapon_shop1_blip = 1
Text.PrintBig('SYND_7', 1000, TextStyle.BottomRight)
PSAVE1_2765()
Mission.LoadAndLaunchInternal(63) // Yay Ka-Boom-Boom

:SYND_512
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SYND_644
if 
  $garageZ == 7
goto_if_false @SYND_644
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1717.05, 1280.91, 6.23, 1.2, 1.2, 2.5, False)
goto_if_false @SYND_644
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @SYND_644
$weapon_shop1_blip = 1
Text.PrintBig('SYND_5', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(64) // Pier 69

:SYND_644
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SYND_874
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $563, $564, $565, 1.2, 1.2, 2.5, False)
goto_if_false @SYND_874
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @SYND_874
if 
  $garageZ == 2
goto_if_false @SYND_770
$weapon_shop1_blip = 1
Text.PrintBig('SYND_2', 1000, TextStyle.BottomRight)
PSAVE1_3725()
Mission.LoadAndLaunchInternal(59) // Jizzy

:SYND_770
if 
  $garageZ == 3
goto_if_false @SYND_822
$weapon_shop1_blip = 1
Text.PrintBig('FAR_2', 1000, TextStyle.BottomRight)
PSAVE1_3725()
Mission.LoadAndLaunchInternal(65) // T-Bone Mendez

:SYND_822
if 
  $garageZ == 4
goto_if_false @SYND_874
$weapon_shop1_blip = 1
Text.PrintBig('FAR_3', 1000, TextStyle.BottomRight)
PSAVE1_3725()
Mission.LoadAndLaunchInternal(66) // Mike Toreno

:SYND_874
goto @SYND_11

:STEAL
script_name 'STEAL'

:STEAL_11
wait $LStickY
if 
  $garageY == 4
goto_if_false @STEAL_36
terminate_this_script 

:STEAL_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @STEAL_336
if 
  $weapon_shop1_blip == 0
goto_if_false @STEAL_336
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $syndY, $syndZ, $traceX, 1.2, 1.2, 2.0, False)
goto_if_false @STEAL_336
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @STEAL_336
if 
  $garageY == 0
goto_if_false @STEAL_180
$weapon_shop1_blip = 1
Text.PrintBig('STEAL_1', 1000, TextStyle.BottomRight)
PSAVE1_2925()
Mission.LoadAndLaunchInternal(67) // Zeroing In

:STEAL_180
if 
  $garageY == 1
goto_if_false @STEAL_232
$weapon_shop1_blip = 1
Text.PrintBig('STEAL_2', 1000, TextStyle.BottomRight)
PSAVE1_2925()
Mission.LoadAndLaunchInternal(68) // Test Drive

:STEAL_232
if 
  $garageY == 2
goto_if_false @STEAL_284
$weapon_shop1_blip = 1
Text.PrintBig('STEAL_4', 1000, TextStyle.BottomRight)
PSAVE1_2925()
Mission.LoadAndLaunchInternal(69) // Customs Fast Track

:STEAL_284
if 
  $garageY == 3
goto_if_false @STEAL_336
$weapon_shop1_blip = 1
Text.PrintBig('STEAL_5', 1000, TextStyle.BottomRight)
PSAVE1_2925()
Mission.LoadAndLaunchInternal(70) // Puncture Wounds

:STEAL_336
goto @STEAL_11

:TRACE
script_name 'TRACE'

:TRACE_11
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRACE_805
if 
  $weapon_shop1_blip == 0
goto_if_false @TRACE_805
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $desert2_contact_blip, $casino_contact_blip, $vcrash_contact_blip, 20.0, 20.0, 10.0, False)
goto_if_false @TRACE_395
$returned_respect = Streaming.GetAreaVisible()
if 
  $returned_respect <> 0
goto_if_false @TRACE_395
if 
  $5191 == 0
goto_if_false @TRACE_270
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -2031.4, -116.5, 1034.1, 1.0, 1.0, 1.5, True)
goto_if_false @TRACE_263
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @TRACE_263
if 
  $flag_synd_mission_counter > 0
goto_if_false @TRACE_263
$weapon_shop1_blip = 1
Camera.SetFadingColor(0, 0, 0)
Text.PrintBig('FAR_1', 1000, TextStyle.BottomRight)
Player.SetControl($statbike_temp, False)
LITCAS_267()
Mission.LoadAndLaunchInternal(71) // Back to School

:TRACE_263
goto @TRACE_395

:TRACE_270
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $desert2_contact_blip, $casino_contact_blip, $vcrash_contact_blip, 1.0, 1.0, 1.5, True)
goto_if_false @TRACE_395
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @TRACE_395
if 
  $flag_synd_mission_counter > 0
goto_if_false @TRACE_395
$weapon_shop1_blip = 1
Camera.SetFadingColor(0, 0, 0)
Text.PrintBig('FAR_1', 1000, TextStyle.BottomRight)
Player.SetControl($statbike_temp, False)
LITCAS_267()
Mission.LoadAndLaunchInternal(71) // Back to School

:TRACE_395
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRACE_805
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @TRACE_805
if 
  $1402 == 1
goto_if_false @TRACE_805
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $traceY[0], $traceZ[0], $scrashX[0], 1.2, 1.2, 2.0, False)
goto_if_false @TRACE_535
$weapon_shop1_blip = 1
Player.SetControl($statbike_temp, False)
Text.PrintBig('TRACE_1', 1000, TextStyle.BottomRight)
$chat_help1_flag = 1
set_var_int_to_constant $2213 = 0
Mission.LoadAndLaunchInternal(35) // Race Tournament / 8-track / Dirt Track

:TRACE_535
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $traceY[1], $traceZ[1], $scrashX[1], 1.2, 1.2, 2.0, False)
goto_if_false @TRACE_625
$weapon_shop1_blip = 1
Player.SetControl($statbike_temp, False)
Text.PrintBig('TRACE_1', 1000, TextStyle.BottomRight)
$chat_help1_flag = 1
set_var_int_to_constant $2213 = 1
Mission.LoadAndLaunchInternal(35) // Race Tournament / 8-track / Dirt Track

:TRACE_625
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $traceY[2], $traceZ[2], $scrashX[2], 1.2, 1.2, 2.0, False)
goto_if_false @TRACE_715
$weapon_shop1_blip = 1
Player.SetControl($statbike_temp, False)
Text.PrintBig('TRACE_1', 1000, TextStyle.BottomRight)
$chat_help1_flag = 1
set_var_int_to_constant $2213 = 2
Mission.LoadAndLaunchInternal(35) // Race Tournament / 8-track / Dirt Track

:TRACE_715
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $traceY[3], $traceZ[3], $scrashX[3], 1.2, 1.2, 2.0, False)
goto_if_false @TRACE_805
$weapon_shop1_blip = 1
Player.SetControl($statbike_temp, False)
Text.PrintBig('TRACE_1', 1000, TextStyle.BottomRight)
$chat_help1_flag = 1
set_var_int_to_constant $2213 = 3
Mission.LoadAndLaunchInternal(35) // Race Tournament / 8-track / Dirt Track

:TRACE_805
goto @TRACE_11

:ZERO
script_name 'ZERO'

:ZERO_11
wait $LStickY
if 
  $flag_scrash_mission_counter == 3
goto_if_false @ZERO_36
terminate_this_script 

:ZERO_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @ZERO_284
if 
  $weapon_shop1_blip == 0
goto_if_false @ZERO_284
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $wuziY, $wuziZ, $stealX, 1.2, 1.2, 2.0, False)
goto_if_false @ZERO_284
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @ZERO_284
if 
  $flag_scrash_mission_counter == 0
goto_if_false @ZERO_180
$weapon_shop1_blip = 1
Text.PrintBig('ZERO_1', 1000, TextStyle.BottomRight)
PSAVE1_4587()
Mission.LoadAndLaunchInternal(72) // Air Raid

:ZERO_180
if 
  $flag_scrash_mission_counter == 1
goto_if_false @ZERO_232
$weapon_shop1_blip = 1
Text.PrintBig('ZERO_2', 1000, TextStyle.BottomRight)
PSAVE1_4587()
Mission.LoadAndLaunchInternal(73) // Supply Lines...

:ZERO_232
if 
  $flag_scrash_mission_counter == 2
goto_if_false @ZERO_284
$weapon_shop1_blip = 1
Text.PrintBig('ZERO_4', 1000, TextStyle.BottomRight)
PSAVE1_4587()
Mission.LoadAndLaunchInternal(74) // New Model Army

:ZERO_284
goto @ZERO_11

:DESERT
script_name 'DESERT'

:DESERT_11
wait $LStickY
if 
  $flag_casino_mission_counter == 9
goto_if_false @DESERT_36
terminate_this_script 

:DESERT_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DESERT_721
if 
  $weapon_shop1_blip == 0
goto_if_false @DESERT_721
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $desert2Y, $desert2Z, $casinoX, 1.2, 1.2, 2.0, False)
goto_if_false @DESERT_372
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @DESERT_372
if 
  $flag_casino_mission_counter == 0
goto_if_false @DESERT_180
$weapon_shop1_blip = 1
Text.PrintBig('DESERT1', 1000, TextStyle.BottomRight)
PSAVE1_3885()
Mission.LoadAndLaunchInternal(75) // Monster

:DESERT_180
if 
  $1404 == 1
goto_if_false @DESERT_250
if 
  $flag_casino_mission_counter == 1
goto_if_false @DESERT_250
$weapon_shop1_blip = 1
Text.PrintBig('DESERT2', 1000, TextStyle.BottomRight)
PSAVE1_3885()
Mission.LoadAndLaunchInternal(76) // Highjack

:DESERT_250
if 
  $1406 == 1
goto_if_false @DESERT_320
if 
  $flag_casino_mission_counter == 2
goto_if_false @DESERT_320
$weapon_shop1_blip = 1
Text.PrintBig('DESERT3', 1000, TextStyle.BottomRight)
PSAVE1_3885()
Mission.LoadAndLaunchInternal(77) // Interdiction

:DESERT_320
if 
  $flag_casino_mission_counter == 3
goto_if_false @DESERT_372
$weapon_shop1_blip = 1
Text.PrintBig('DESERT4', 1000, TextStyle.BottomRight)
PSAVE1_3885()
Mission.LoadAndLaunchInternal(78) // Verdant Meadows

:DESERT_372
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $casinoY, $casinoZ, $TheheistX, 1.2, 1.2, 2.0, False)
goto_if_false @DESERT_721
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @DESERT_721
if 
  $f1_the90_best_score == 1
goto_if_false @DESERT_500
if 
  $flag_casino_mission_counter == 5
goto_if_false @DESERT_500
$weapon_shop1_blip = 1
Text.PrintBig('DESERT6', 1000, TextStyle.BottomRight)
PSAVE1_4156()
Mission.LoadAndLaunchInternal(79) // N.O.E.

:DESERT_500
if 
  $flag_casino_mission_counter == 6
goto_if_false @DESERT_552
$weapon_shop1_blip = 1
Text.PrintBig('DESERT9', 1000, TextStyle.BottomRight)
PSAVE1_4156()
Mission.LoadAndLaunchInternal(80) // Stowaway

:DESERT_552
if 
  $flag_casino_mission_counter == 7
goto_if_false @DESERT_662
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $player_is_completely_safe >= 20
  6 > $player_is_completely_safe
goto_if_false @DESERT_646
Text.ClearPrints
$weapon_shop1_blip = 1
Text.PrintBig('DESERT8', 1000, TextStyle.BottomRight)
PSAVE1_4156()
Mission.LoadAndLaunchInternal(81) // Black Project
goto @DESERT_662

:DESERT_646
Text.PrintNow('MTIME1', 1000, 1)

:DESERT_662
if and
  $flag_casino_mission_counter == 8
  $1393 == 1
goto_if_false @DESERT_721
$weapon_shop1_blip = 1
Text.PrintBig('DESER10', 1000, TextStyle.BottomRight)
PSAVE1_4156()
Mission.LoadAndLaunchInternal(82) // Green Goo

:DESERT_721
goto @DESERT_11

:PSCH
script_name 'PSCH'

:PSCH_11
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSCH_239
if 
  $weapon_shop1_blip == 0
goto_if_false @PSCH_239
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $wasted_help2, $busted_help1, $flag_store_day_food, 1.0, 1.0, 1.0, True)
goto_if_false @PSCH_239
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @PSCH_239
if 
  $flag_casino_mission_counter > 3
goto_if_false @PSCH_239
Camera.SetFadingColor(0, 0, 0)
$weapon_shop1_blip = 1
if 
  $trigger_scrash2_mission == 0
goto_if_false @PSCH_179
PSAVE1_4045()
$trigger_scrash2_mission = 1
goto @PSCH_235

:PSCH_179
Camera.SetFadingColor(0, 0, 0)
if 
  $f1_the90_best_score == 0
goto_if_false @PSCH_221
Text.PrintBig('DESERT5', 1000, TextStyle.BottomRight)

:PSCH_221
Player.SetControl($statbike_temp, False)
LITCAS_267()

:PSCH_235
Mission.LoadAndLaunchInternal(83) // Learning to Fly

:PSCH_239
goto @PSCH_11

:CASINO
script_name 'CASINO'

:CASINO_11
wait $LStickY
if 
  $desertX == 9
goto_if_false @CASINO_36
terminate_this_script 

:CASINO_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CASINO_707
if 
  $weapon_shop1_blip == 0
goto_if_false @CASINO_707
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @CASINO_707
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $TheheistY, $TheheistZ, $vcrashX, 1.2, 1.2, 2.0, False)
goto_if_false @CASINO_336
if 
  $desertX == 0
goto_if_false @CASINO_180
$weapon_shop1_blip = 1
Text.PrintBig('CASINO1', 1000, TextStyle.BottomRight)
PSAVE1_3245()
Mission.LoadAndLaunchInternal(84) // Fender Ketchup

:CASINO_180
if 
  $desertX == 1
goto_if_false @CASINO_232
$weapon_shop1_blip = 1
Text.PrintBig('CASEEN2', 1000, TextStyle.BottomRight)
PSAVE1_3245()
Mission.LoadAndLaunchInternal(85) // Explosive Situation

:CASINO_232
if 
  $desertX == 2
goto_if_false @CASINO_284
$weapon_shop1_blip = 1
Text.PrintBig('CASINO3', 1000, TextStyle.BottomRight)
PSAVE1_3245()
Mission.LoadAndLaunchInternal(86) // You've Had Your Chips

:CASINO_284
if 
  $desertX == 6
goto_if_false @CASINO_336
$weapon_shop1_blip = 1
Text.PrintBig('CASINO7', 1000, TextStyle.BottomRight)
PSAVE1_3245()
Mission.LoadAndLaunchInternal(87) // Fish in a Barrel

:CASINO_336
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2026.603, 1007.735, 9.8127, 1.2, 1.2, 2.0, False)
goto_if_false @CASINO_436
if 
  $desertX == 3
goto_if_false @CASINO_436
$weapon_shop1_blip = 1
Text.PrintBig('CASINO4', 1000, TextStyle.BottomRight)
PSAVE1_3565()
Mission.LoadAndLaunchInternal(88) // Don Peyote

:CASINO_436
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $grove_contact_blip, $mansion_blip_icon, $grove_blip_icon, 1.2, 1.2, 2.0, False)
goto_if_false @CASINO_707
if and
  $desertX == 4
  $1384 == 1
goto_if_false @CASINO_537
$weapon_shop1_blip = 1
Text.PrintBig('CASINO5', 1000, TextStyle.BottomRight)
PSAVE1_4267()
Mission.LoadAndLaunchInternal(89) // Intensive Care

:CASINO_537
if 
  $desertX == 5
goto_if_false @CASINO_589
$weapon_shop1_blip = 1
Text.PrintBig('CASINO6', 1000, TextStyle.BottomRight)
PSAVE1_4267()
Mission.LoadAndLaunchInternal(90) // The Meat Business

:CASINO_589
if and
  $desertX == 7
  $1385 == 1
goto_if_false @CASINO_648
$weapon_shop1_blip = 1
Text.PrintBig('CASINO9', 1000, TextStyle.BottomRight)
PSAVE1_4267()
Mission.LoadAndLaunchInternal(91) // Freefall

:CASINO_648
if and
  $desertX == 8
  $1386 == 1
goto_if_false @CASINO_707
$weapon_shop1_blip = 1
Text.PrintBig('CASIN10', 1000, TextStyle.BottomRight)
PSAVE1_4267()
Mission.LoadAndLaunchInternal(92) // Saint Mark's Bistro

:CASINO_707
goto @CASINO_11

:VCRASH
script_name 'VCRASH'

:VCRASH_11
wait $LStickY
if 
  $desertY == 2
goto_if_false @VCRASH_36
terminate_this_script 

:VCRASH_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VCRASH_287
if 
  $weapon_shop1_blip == 0
goto_if_false @VCRASH_287
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @VCRASH_287
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $docY, $docZ, $heistX, 1.2, 1.2, 2.0, False)
goto_if_false @VCRASH_180
if 
  $desertY == 0
goto_if_false @VCRASH_180
$weapon_shop1_blip = 1
Text.PrintBig('VCRASH1', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(93) // Misappropriation

:VCRASH_180
if and
  $desertY == 1
  $1382 == 1
goto_if_false @VCRASH_287
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -378.75, 2235.85, 41.42, 1.2, 1.2, 2.0, False)
goto_if_false @VCRASH_287
$weapon_shop1_blip = 1
Text.PrintBig('VCRASH2', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(94) // High Noon

:VCRASH_287
goto @VCRASH_11

:DOC
script_name 'DOC'

:DOC_11
wait $LStickY
if 
  $desertZ == 1
goto_if_false @DOC_36
terminate_this_script 

:DOC_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOC_180
if 
  $weapon_shop1_blip == 0
goto_if_false @DOC_180
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $heistY, $heistZ, $mansion_contact_blip, 1.2, 1.2, 2.0, False)
goto_if_false @DOC_180
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @DOC_180
if 
  $desertZ == 0
goto_if_false @DOC_180
$weapon_shop1_blip = 1
Text.PrintBig('DOC_2', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(95) // Madd Dogg

:DOC_180
goto @DOC_11

:HEIST
script_name 'HEIST'

:HEIST_11
wait $LStickY
if 
  $desert2X == 6
goto_if_false @HEIST_36
terminate_this_script 

:HEIST_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HEIST_546
if 
  $weapon_shop1_blip == 0
goto_if_false @HEIST_546
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $vcrashY, $vcrashZ, $docX, 1.2, 1.2, 2.0, False)
goto_if_false @HEIST_546
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @HEIST_546
if 
  $desert2X == 0
goto_if_false @HEIST_180
$weapon_shop1_blip = 1
Text.PrintBig('HEIST_1', 1000, TextStyle.BottomRight)
PSAVE1_3405()
Mission.LoadAndLaunchInternal(96) // Architectural Espionage

:HEIST_180
if 
  $desert2X == 1
goto_if_false @HEIST_232
$weapon_shop1_blip = 1
Text.PrintBig('HEIST_3', 1000, TextStyle.BottomRight)
PSAVE1_3405()
Mission.LoadAndLaunchInternal(97) // Key To Her Heart

:HEIST_232
if 
  $desert2X == 2
goto_if_false @HEIST_284
$weapon_shop1_blip = 1
Text.PrintBig('HEIST_2', 1000, TextStyle.BottomRight)
PSAVE1_3405()
Mission.LoadAndLaunchInternal(98) // Dam And Blast

:HEIST_284
if 
  $desert2X == 3
goto_if_false @HEIST_336
$weapon_shop1_blip = 1
Text.PrintBig('HEIST_4', 1000, TextStyle.BottomRight)
PSAVE1_3405()
Mission.LoadAndLaunchInternal(99) // Cop Wheels

:HEIST_336
if 
  $desert2X == 4
goto_if_false @HEIST_446
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $player_is_completely_safe >= 20
  6 > $player_is_completely_safe
goto_if_false @HEIST_430
$weapon_shop1_blip = 1
Text.ClearPrints
Text.PrintBig('HEIST_5', 1000, TextStyle.BottomRight)
PSAVE1_3405()
Mission.LoadAndLaunchInternal(100) // Up, Up and Away!
goto @HEIST_446

:HEIST_430
Text.PrintNow('MTIME1', 1000, 1)

:HEIST_446
if and
  $desert2X == 5
  $1388 == 1
goto_if_false @HEIST_546
if 
  $activate_mobile_phone == 1
goto_if_false @HEIST_530
$weapon_shop1_blip = 1
Text.PrintBig('HEIST_9', 1000, TextStyle.BottomRight)
PSAVE1_3405()
Mission.LoadAndLaunchInternal(101) // Breaking the Bank at Caligula's
goto @HEIST_546

:HEIST_530
Text.PrintNow('NEEDKEY', 1000, 1)

:HEIST_546
goto @HEIST_11

:MANSION
script_name 'MANSION'

:MANSION_11
wait $LStickY
if 
  $boat_school_blip == 4
goto_if_false @MANSION_36
terminate_this_script 

:MANSION_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MANSION_378
if 
  $weapon_shop1_blip == 0
goto_if_false @MANSION_378
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @MANSION_378
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $TheheistY, $TheheistZ, $vcrashX, 1.2, 1.2, 2.0, False)
goto_if_false @MANSION_180
if 
  $boat_school_blip == 0
goto_if_false @MANSION_180
$weapon_shop1_blip = 1
Text.PrintBig('MAN_1', 1000, TextStyle.BottomRight)
PSAVE1_3245()
Mission.LoadAndLaunchInternal(102) // A Home In The Hills

:MANSION_180
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $groveY, $groveZ, $RouletteX, 1.2, 1.2, 2.0, False)
goto_if_false @MANSION_378
if 
  $boat_school_blip == 1
goto_if_false @MANSION_274
$weapon_shop1_blip = 1
Text.PrintBig('MAN_2', 1000, TextStyle.BottomRight)
PSAVE1_4427()
Mission.LoadAndLaunchInternal(103) // Vertical Bird

:MANSION_274
if 
  $boat_school_blip == 2
goto_if_false @MANSION_326
$weapon_shop1_blip = 1
Text.PrintBig('MAN_3', 1000, TextStyle.BottomRight)
PSAVE1_4427()
Mission.LoadAndLaunchInternal(104) // Home Coming

:MANSION_326
if 
  $boat_school_blip == 3
goto_if_false @MANSION_378
$weapon_shop1_blip = 1
Text.PrintBig('MAN_5', 1000, TextStyle.BottomRight)
PSAVE1_4427()
Mission.LoadAndLaunchInternal(105) // Cut Throat Business

:MANSION_378
goto @MANSION_11

:GROVE
script_name 'GROVE'

:GROVE_11
wait $LStickY
if 
  $got_gimp_suit == 2
goto_if_false @GROVE_36
terminate_this_script 

:GROVE_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GROVE_274
if 
  $weapon_shop1_blip == 0
goto_if_false @GROVE_274
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @GROVE_274
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $sweetY, $sweetZ, $ryderX, 1.2, 1.2, 2.0, False)
goto_if_false @GROVE_180
if 
  $got_gimp_suit == 0
goto_if_false @GROVE_180
$weapon_shop1_blip = 1
Text.PrintBig('GROVE_1', 1000, TextStyle.BottomRight)
PSAVE1_1140()
Mission.LoadAndLaunchInternal(106) // Beat Down on B Dup

:GROVE_180
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $ryderY, $ryderZ, $smokeX, 1.2, 1.2, 2.0, False)
goto_if_false @GROVE_274
if 
  $got_gimp_suit == 1
goto_if_false @GROVE_274
$weapon_shop1_blip = 1
Text.PrintBig('GROVE_2', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(107) // Grove 4 Life

:GROVE_274
goto @GROVE_11

:RIOT
script_name 'RIOT'

:RIOT_11
wait $LStickY
if 
  $mansionX == 5
goto_if_false @RIOT_36
terminate_this_script 

:RIOT_36
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @RIOT_673
if 
  $weapon_shop1_blip == 0
goto_if_false @RIOT_673
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $groveY, $groveZ, $RouletteX, 1.2, 1.2, 2.0, False)
goto_if_false @RIOT_180
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @RIOT_180
if 
  $mansionX == 0
goto_if_false @RIOT_180
$weapon_shop1_blip = 1
Text.PrintBig('RIOT_1', 1000, TextStyle.BottomRight)
PSAVE1_4427()
Mission.LoadAndLaunchInternal(108) // Riot

:RIOT_180
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $ryderY, $ryderZ, $smokeX, 1.2, 1.2, 2.0, False)
goto_if_false @RIOT_587
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @RIOT_587
if 
  $mansionX == 1
goto_if_false @RIOT_372
$girlfried_help_flag = Game.FindMaxNumberOfGroupMembers()
if 
  $girlfried_help_flag > 1
goto_if_false @RIOT_320
$weapon_shop1_blip = 1
Text.PrintBig('RIOT_2', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(109) // Los Desperados
goto @RIOT_372

:RIOT_320
Text.PrintNow('MOREREP', 1000, 1)
if 
  $menu_mode == 0
goto_if_false @RIOT_372
Text.PrintHelp('HELP101')
$menu_mode = 1

:RIOT_372
if 
  $1359 == 1
goto_if_false @RIOT_483
if 
  $1358 == 1
goto_if_false @RIOT_467
if 
  $mansionX == 2
goto_if_false @RIOT_460
$weapon_shop1_blip = 1
Text.PrintBig('RIOT_4', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(110) // End Of The Line (1)

:RIOT_460
goto @RIOT_483

:RIOT_467
Text.PrintNow('MORTURF', 2000, 1)

:RIOT_483
if 
  $mansionX == 3
goto_if_false @RIOT_535
$weapon_shop1_blip = 1
Text.PrintBig('RIOT_4', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(111) // End Of The Line (2)

:RIOT_535
if 
  $mansionX == 4
goto_if_false @RIOT_587
$weapon_shop1_blip = 1
Text.PrintBig('RIOT_4', 1000, TextStyle.BottomRight)
PSAVE1_1320()
Mission.LoadAndLaunchInternal(112) // End Of The Line (3)

:RIOT_587
if and
  $mansionX == 3
  $player2 == 0
goto_if_false @RIOT_630
$player2 = 1
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(111) // End Of The Line (2)

:RIOT_630
if and
  $mansionX == 4
  $player2 == 1
goto_if_false @RIOT_673
$player2 = 2
$weapon_shop1_blip = 1
Mission.LoadAndLaunchInternal(112) // End Of The Line (3)

:RIOT_673
goto @RIOT_11

:SHOOT
script_name 'SHOOT'

:SHOOT_11
wait 125
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SHOOT_324
if 
  $weapon_shop1_blip == 0
goto_if_false @SHOOT_238
if 
  $returned_respect <> 0
goto_if_false @SHOOT_231
if 
  $sc3_missioncar == 0
goto_if_false @SHOOT_231
if 
  $recording == 0
goto_if_false @SHOOT_231
$im_players_city = 0

:SHOOT_110
if 
  4 > $im_players_city
goto_if_false @SHOOT_231
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $Srange_Y($im_players_city,4f), $Srange_Z($im_players_city,4f), $SR_skill_award_given($im_players_city,4f), 20.0, 20.0, 10.0, False)
goto_if_false @SHOOT_217
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @SHOOT_217
$weapon_shop1_blip = 1
set_var_int_to_var_int $valet_mission_terminate = $im_players_city
Mission.LoadAndLaunchInternal(113) // Shooting range

:SHOOT_217
$im_players_city += 1
goto @SHOOT_110

:SHOOT_231
goto @SHOOT_281

:SHOOT_238
if 
  $returned_respect <> 0
goto_if_false @SHOOT_281
if 
  $recording == 0
goto_if_false @SHOOT_281
$recording = 1

:SHOOT_281
if 
  $recording == 1
goto_if_false @SHOOT_324
if 
  $returned_respect == 0
goto_if_false @SHOOT_324
$recording = 0

:SHOOT_324
goto @SHOOT_11

:GYM
script_name 'GYM'

:GYM_11
wait 70
if 
  $weapon_shop1_blip == 0
goto_if_false @GYM_388
if 
  $flag_mob_LA2 == 1
goto_if_false @GYM_115
if 
  $main_menu_drawn_shops == 0
goto_if_false @GYM_115
World.SwitchEntryExit('GYM1', True)
World.SwitchEntryExit('GYM2', True)
World.SwitchEntryExit('GYM3', True)
$main_menu_drawn_shops = 1

:GYM_115
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GYM_381
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @GYM_381
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 767.1537, 4.8323, 999.7185, 50.0, 50.0, 10.0, False)
goto_if_false @GYM_225
$flag_cycling_skill_help2 = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  $flag_cycling_skill_help2 == 5
goto_if_false @GYM_225
Mission.LoadAndLaunchInternal(114) // Los Santos Gym Fight School

:GYM_225
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 768.4777, -37.1737, 999.6865, 50.0, 50.0, 10.0, False)
goto_if_false @GYM_303
$flag_cycling_skill_help2 = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  $flag_cycling_skill_help2 == 6
goto_if_false @GYM_303
Mission.LoadAndLaunchInternal(115) // San Fierro Gym Fight School

:GYM_303
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 766.5975, -65.293, 999.6562, 50.0, 50.0, 10.0, False)
goto_if_false @GYM_381
$flag_cycling_skill_help2 = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  $flag_cycling_skill_help2 == 7
goto_if_false @GYM_381
Mission.LoadAndLaunchInternal(116) // Las Venturas Gym Fight School

:GYM_381
goto @GYM_488

:GYM_388
if 
  $flag_mob_LA2 == 1
goto_if_false @GYM_488
if 
  $returned_respect == 0
goto_if_false @GYM_488
if 
  $main_menu_drawn_shops == 1
goto_if_false @GYM_488
World.SwitchEntryExit('GYM1', False)
World.SwitchEntryExit('GYM2', False)
World.SwitchEntryExit('GYM3', False)
$main_menu_drawn_shops = 0

:GYM_488
goto @GYM_11

:TRUCKS
script_name 'TRUCKS'

:TRUCKS_11
wait $LStickY
if 
  $weapon_shop1_blip == 0
goto_if_false @TRUCKS_146
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRUCKS_146
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $danceY, $danceZ, $kill2pX, 1.2, 1.2, 1.5, False)
goto_if_false @TRUCKS_146
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @TRUCKS_146
Player.SetControl($statbike_temp, False)
Text.DrawOddjobTitleBeforeFade(False)
Text.PrintBig('TRUCK', 3000, TextStyle.MiddleSmallerHigher)
LITCAS_267()
Mission.LoadAndLaunchInternal(117) // Trucking

:TRUCKS_146
goto @TRUCKS_11

:QUARRYS
script_name 'QUARRYS'

:QUARRYS_11
wait 0
if 
  $weapon_shop1_blip == 0
goto_if_false @QUARRYS_145
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @QUARRYS_145
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $mountbY, $mountbZ, $carcraneX, 1.5, 1.8, 1.5, False)
goto_if_false @QUARRYS_145
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @QUARRYS_145
Player.SetControl($statbike_temp, False)
Text.DrawOddjobTitleBeforeFade(False)
Text.PrintBig('QUARRY', 3000, TextStyle.MiddleSmallerHigher)
LITCAS_267()
Mission.LoadAndLaunchInternal(118) // Quarry

:QUARRYS_145
goto @QUARRYS_11

:BSCHOO
script_name 'BSCHOO'

:BSCHOO_11
wait 0
if 
  $weapon_shop1_blip == 0
goto_if_false @BSCHOO_125
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BSCHOO_125
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $bikesY, $bikesZ, $truckX, 1.0, 1.0, 1.5, True)
goto_if_false @BSCHOO_125
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @BSCHOO_125
Player.SetControl($statbike_temp, False)
LITCAS_267()
Mission.LoadAndLaunchInternal(119) // Boat School

:BSCHOO_125
goto @BSCHOO_11

:BIKES
script_name 'BIKES'

:BIKES_11
wait 0
if 
  $weapon_shop1_blip == 0
goto_if_false @BIKES_125
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BIKES_125
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $truckY, $truckZ, $danceX, 1.0, 1.0, 1.5, True)
goto_if_false @BIKES_125
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @BIKES_125
Player.SetControl($statbike_temp, False)
LITCAS_267()
Mission.LoadAndLaunchInternal(120) // Bike School

:BIKES_125
goto @BIKES_11

:R3
script_name 'R3'

:R3_11
wait 70
if 
  $weapon_shop1_blip == 0
goto_if_false @R3_4103
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @R3_4103
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @R3_4001
if 
  not Game.IsMinigameInProgress
goto_if_false @R3_3994
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_110
goto @R3_4110
goto @R3_3994

:R3_110
if or
  Char.IsInTaxi($stattreadstamina_ctr)
  Char.IsInModel($stattreadstamina_ctr, 416)
  Char.IsInModel($stattreadstamina_ctr, 407)
  Char.IsInModel($stattreadstamina_ctr, 425)
  Char.IsInModel($stattreadstamina_ctr, 609)
  Char.IsInAnyPoliceVehicle($stattreadstamina_ctr)
goto_if_false @R3_2901
$add_all_ammu_blips = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not Car.IsInWater($add_all_ammu_blips)
goto_if_false @R3_2901
if 
  Char.IsInTaxi($stattreadstamina_ctr)
goto_if_false @R3_673
if 
  not is_player_in_shortcut_taxi $statbike_temp
goto_if_false @R3_673
if 
  $timer_mobile_diff == 0
goto_if_false @R3_673
if 
  $timer_mobile_now == 0
goto_if_false @R3_286
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @R3_286
Text.PrintHelp('TTUTOR')
$timer_mobile_now = 1

:R3_286
if 
  $LStickX <> 3
goto_if_false @R3_492
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_485

:R3_321
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_447
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_367
goto @R3_11

:R3_367
if or
  not Player.IsPlaying($statbike_temp)
  not Char.IsInTaxi($stattreadstamina_ctr)
goto_if_false @R3_395
goto @R3_11

:R3_395
if 
  Game.IsMinigameInProgress
goto_if_false @R3_415
goto @R3_11

:R3_415
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_440
goto @R3_11

:R3_440
goto @R3_321

:R3_447
Text.PrintBig('TAXI_M', 6000, TextStyle.MiddleSmallerHigher)
wait 0
Mission.LoadAndLaunchInternal(121) // Taxi-Driver Sub-Mission
$timer_mobile_diff = 1
goto @R3_11

:R3_485
goto @R3_673

:R3_492
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_673

:R3_509
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_635
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_555
goto @R3_11

:R3_555
if or
  not Player.IsPlaying($statbike_temp)
  not Char.IsInTaxi($stattreadstamina_ctr)
goto_if_false @R3_583
goto @R3_11

:R3_583
if 
  Game.IsMinigameInProgress
goto_if_false @R3_603
goto @R3_11

:R3_603
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_628
goto @R3_11

:R3_628
goto @R3_509

:R3_635
Text.PrintBig('TAXI_M', 6000, TextStyle.MiddleSmallerHigher)
wait 0
Mission.LoadAndLaunchInternal(121) // Taxi-Driver Sub-Mission
$timer_mobile_diff = 1
goto @R3_11

:R3_673
if 
  Char.IsInModel($stattreadstamina_ctr, 416)
goto_if_false @R3_1138
if 
  $flag_bmx_trigger == 0
goto_if_false @R3_1138
if 
  $timer_mobile_now == 0
goto_if_false @R3_759
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @R3_759
Text.PrintHelp('ATUTOR')
$timer_mobile_now = 1

:R3_759
if 
  $LStickX <> 3
goto_if_false @R3_961
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_954

:R3_794
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_923
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_840
goto @R3_11

:R3_840
if or
  not Player.IsPlaying($statbike_temp)
  not Char.IsInModel($stattreadstamina_ctr, 416)
goto_if_false @R3_871
goto @R3_11

:R3_871
if 
  Game.IsMinigameInProgress
goto_if_false @R3_891
goto @R3_11

:R3_891
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_916
goto @R3_11

:R3_916
goto @R3_794

:R3_923
Text.PrintBig('AMBUL_M', 6000, TextStyle.MiddleSmallerHigher)
wait 0
Mission.LoadAndLaunchInternal(122) // Paramedic Sub-Mission
goto @R3_11

:R3_954
goto @R3_1138

:R3_961
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_1138

:R3_978
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_1107
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_1024
goto @R3_11

:R3_1024
if or
  not Player.IsPlaying($statbike_temp)
  not Char.IsInModel($stattreadstamina_ctr, 416)
goto_if_false @R3_1055
goto @R3_11

:R3_1055
if 
  Game.IsMinigameInProgress
goto_if_false @R3_1075
goto @R3_11

:R3_1075
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_1100
goto @R3_11

:R3_1100
goto @R3_978

:R3_1107
Text.PrintBig('AMBUL_M', 6000, TextStyle.MiddleSmallerHigher)
wait 0
Mission.LoadAndLaunchInternal(122) // Paramedic Sub-Mission
goto @R3_11

:R3_1138
if 
  Char.IsInModel($stattreadstamina_ctr, 407)
goto_if_false @R3_1603
if 
  $flag_nrg500_trigger == 0
goto_if_false @R3_1603
if 
  $timer_mobile_now == 0
goto_if_false @R3_1224
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @R3_1224
Text.PrintHelp('FTUTOR')
$timer_mobile_now = 1

:R3_1224
if 
  $LStickX <> 3
goto_if_false @R3_1426
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_1419

:R3_1259
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_1388
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_1305
goto @R3_11

:R3_1305
if or
  not Player.IsPlaying($statbike_temp)
  not Char.IsInModel($stattreadstamina_ctr, 407)
goto_if_false @R3_1336
goto @R3_11

:R3_1336
if 
  Game.IsMinigameInProgress
goto_if_false @R3_1356
goto @R3_11

:R3_1356
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_1381
goto @R3_11

:R3_1381
goto @R3_1259

:R3_1388
Text.PrintBig('FIRE_M', 6000, TextStyle.MiddleSmallerHigher)
wait 0
Mission.LoadAndLaunchInternal(123) // Firefighter Sub-Mission
goto @R3_11

:R3_1419
goto @R3_1603

:R3_1426
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_1603

:R3_1443
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_1572
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_1489
goto @R3_11

:R3_1489
if or
  not Player.IsPlaying($statbike_temp)
  not Char.IsInModel($stattreadstamina_ctr, 407)
goto_if_false @R3_1520
goto @R3_11

:R3_1520
if 
  Game.IsMinigameInProgress
goto_if_false @R3_1540
goto @R3_11

:R3_1540
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_1565
goto @R3_11

:R3_1565
goto @R3_1443

:R3_1572
Text.PrintBig('FIRE_M', 6000, TextStyle.MiddleSmallerHigher)
wait 0
Mission.LoadAndLaunchInternal(123) // Firefighter Sub-Mission
goto @R3_11

:R3_1603
if or
  Char.IsInAnyPoliceVehicle($stattreadstamina_ctr)
  Char.IsInModel($stattreadstamina_ctr, 425)
goto_if_false @R3_2269
if 
  $timer_mobile_now == 0
goto_if_false @R3_1676
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @R3_1676
Text.PrintHelp('CTUTOR')
$timer_mobile_now = 1

:R3_1676
if 
  $LStickX <> 3
goto_if_false @R3_1985
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_1978

:R3_1711
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_1863
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_1757
goto @R3_11

:R3_1757
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @R3_1780
goto @R3_11

:R3_1780
if and
  not Char.IsInAnyPoliceVehicle($stattreadstamina_ctr)
  not Char.IsInModel($stattreadstamina_ctr, 425)
goto_if_false @R3_1811
goto @R3_11

:R3_1811
if 
  Game.IsMinigameInProgress
goto_if_false @R3_1831
goto @R3_11

:R3_1831
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_1856
goto @R3_11

:R3_1856
goto @R3_1711

:R3_1863
if 
  Char.IsInModel($stattreadstamina_ctr, 425)
goto_if_false @R3_1905
Text.PrintBig('COP_M3', 6000, TextStyle.MiddleSmallerHigher)
goto @R3_1963

:R3_1905
if 
  Char.IsInModel($stattreadstamina_ctr, 415)
goto_if_false @R3_1947
Text.PrintBig('COP_M2', 6000, TextStyle.MiddleSmallerHigher)
goto @R3_1963

:R3_1947
Text.PrintBig('COP_M', 6000, TextStyle.MiddleSmallerHigher)

:R3_1963
wait 0
Mission.LoadAndLaunchInternal(124) // Vigilante Sub-Mission
goto @R3_11

:R3_1978
goto @R3_2269

:R3_1985
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_2269

:R3_2002
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_2154
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_2048
goto @R3_11

:R3_2048
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @R3_2071
goto @R3_11

:R3_2071
if and
  not Char.IsInAnyPoliceVehicle($stattreadstamina_ctr)
  not Char.IsInModel($stattreadstamina_ctr, 425)
goto_if_false @R3_2102
goto @R3_11

:R3_2102
if 
  Game.IsMinigameInProgress
goto_if_false @R3_2122
goto @R3_11

:R3_2122
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_2147
goto @R3_11

:R3_2147
goto @R3_2002

:R3_2154
if 
  Char.IsInModel($stattreadstamina_ctr, 425)
goto_if_false @R3_2196
Text.PrintBig('COP_M3', 6000, TextStyle.MiddleSmallerHigher)
goto @R3_2254

:R3_2196
if 
  Char.IsInModel($stattreadstamina_ctr, 415)
goto_if_false @R3_2238
Text.PrintBig('COP_M2', 6000, TextStyle.MiddleSmallerHigher)
goto @R3_2254

:R3_2238
Text.PrintBig('COP_M', 6000, TextStyle.MiddleSmallerHigher)

:R3_2254
wait 0
Mission.LoadAndLaunchInternal(124) // Vigilante Sub-Mission
goto @R3_11

:R3_2269
if 
  Char.IsInModel($stattreadstamina_ctr, 609)
goto_if_false @R3_2901
if 
  $flag_player_on_menace_mission == 0
goto_if_false @R3_2901
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $player_is_completely_safe >= 20
  6 > $player_is_completely_safe
goto_if_false @R3_2388
if 
  $timer_mobile_now == 0
goto_if_false @R3_2388
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @R3_2388
Text.PrintHelp('BTUTOR2')
$timer_mobile_now = 1

:R3_2388
if 
  $LStickX <> 3
goto_if_false @R3_2657
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_2650
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $player_is_completely_safe >= 20
  6 > $player_is_completely_safe
goto_if_false @R3_2634

:R3_2456
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_2585
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_2502
goto @R3_11

:R3_2502
if or
  not Player.IsPlaying($statbike_temp)
  not Char.IsInModel($stattreadstamina_ctr, 609)
goto_if_false @R3_2533
goto @R3_11

:R3_2533
if 
  Game.IsMinigameInProgress
goto_if_false @R3_2553
goto @R3_11

:R3_2553
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_2578
goto @R3_11

:R3_2578
goto @R3_2456

:R3_2585
Text.DrawOddjobTitleBeforeFade(False)
Text.PrintBig('BURGLAR', 6000, TextStyle.MiddleSmallerHigher)
wait 0
Mission.LoadAndLaunchInternal(125) // Burglary Sub-Mission
$flag_player_on_menace_mission = 1
goto @R3_11
goto @R3_2650

:R3_2634
Text.PrintNow('BURGHEL', 1000, 1)

:R3_2650
goto @R3_2901

:R3_2657
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_2901
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $player_is_completely_safe >= 20
  6 > $player_is_completely_safe
goto_if_false @R3_2885

:R3_2707
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_2836
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_2753
goto @R3_11

:R3_2753
if or
  not Player.IsPlaying($statbike_temp)
  not Char.IsInModel($stattreadstamina_ctr, 609)
goto_if_false @R3_2784
goto @R3_11

:R3_2784
if 
  Game.IsMinigameInProgress
goto_if_false @R3_2804
goto @R3_11

:R3_2804
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_2829
goto @R3_11

:R3_2829
goto @R3_2707

:R3_2836
Text.DrawOddjobTitleBeforeFade(False)
Text.PrintBig('BURGLAR', 6000, TextStyle.MiddleSmallerHigher)
wait 0
Mission.LoadAndLaunchInternal(125) // Burglary Sub-Mission
$flag_player_on_menace_mission = 1
goto @R3_11
goto @R3_2901

:R3_2885
Text.PrintNow('BURGHEL', 1000, 1)

:R3_2901
if 
  $trigger_phonecall_failed > 1
goto_if_false @R3_3455
if or
  Char.IsInModel($stattreadstamina_ctr, 537)
  Char.IsInModel($stattreadstamina_ctr, 538)
goto_if_false @R3_3455
$add_all_ammu_blips = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if and
  not Car.IsInWater($add_all_ammu_blips)
  not Train.HasDerailed($add_all_ammu_blips)
goto_if_false @R3_3455
if 
  $flag_player_on_burglary_mission == 0
goto_if_false @R3_3455
if 
  $timer_mobile_now == 0
goto_if_false @R3_3042
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @R3_3042
Text.PrintHelp('FTUTORA')
$timer_mobile_now = 1

:R3_3042
if 
  $LStickX <> 3
goto_if_false @R3_3261
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_3254

:R3_3077
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_3232
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_3123
goto @R3_11

:R3_3123
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @R3_3146
goto @R3_11

:R3_3146
if and
  not Char.IsInModel($stattreadstamina_ctr, 537)
  not Char.IsInModel($stattreadstamina_ctr, 538)
goto_if_false @R3_3180
goto @R3_11

:R3_3180
if 
  Game.IsMinigameInProgress
goto_if_false @R3_3200
goto @R3_11

:R3_3200
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_3225
goto @R3_11

:R3_3225
goto @R3_3077

:R3_3232
wait 0
Mission.LoadAndLaunchInternal(126) // Freight Train Sub-Mission
$race_debug = 1
goto @R3_11

:R3_3254
goto @R3_3455

:R3_3261
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_3455

:R3_3278
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_3433
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_3324
goto @R3_11

:R3_3324
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @R3_3347
goto @R3_11

:R3_3347
if and
  not Char.IsInModel($stattreadstamina_ctr, 537)
  not Char.IsInModel($stattreadstamina_ctr, 538)
goto_if_false @R3_3381
goto @R3_11

:R3_3381
if 
  Game.IsMinigameInProgress
goto_if_false @R3_3401
goto @R3_11

:R3_3401
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_3426
goto @R3_11

:R3_3426
goto @R3_3278

:R3_3433
wait 0
Mission.LoadAndLaunchInternal(126) // Freight Train Sub-Mission
$race_debug = 1
goto @R3_11

:R3_3455
if 
  Char.IsInModel($stattreadstamina_ctr, 575)
goto_if_false @R3_3994
$add_all_ammu_blips = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not Car.IsInWater($add_all_ammu_blips)
goto_if_false @R3_3994
if 
  $LA_ShootX == 0
goto_if_false @R3_3994
if 
  $timer_mobile_now == 0
goto_if_false @R3_3565
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @R3_3565
Text.PrintHelp('PTUTORA')
$timer_mobile_now = 1

:R3_3565
if 
  $LStickX <> 3
goto_if_false @R3_3792
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_3785

:R3_3600
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @R3_3747
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_3646
goto @R3_11

:R3_3646
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @R3_3669
goto @R3_11

:R3_3669
if 
  not Char.IsInModel($stattreadstamina_ctr, 575)
goto_if_false @R3_3695
goto @R3_11

:R3_3695
if 
  Game.IsMinigameInProgress
goto_if_false @R3_3715
goto @R3_11

:R3_3715
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_3740
goto @R3_11

:R3_3740
goto @R3_3600

:R3_3747
Text.PrintBig('PIMP', 6000, TextStyle.MiddleSmallerHigher)
wait 0
Mission.LoadAndLaunchInternal(127) // Pimping Sub-Mission
$ft_train_level = 1
goto @R3_11

:R3_3785
goto @R3_3994

:R3_3792
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_3994

:R3_3809
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @R3_3956
wait 0
if 
  $weapon_shop1_blip == 1
goto_if_false @R3_3855
goto @R3_11

:R3_3855
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @R3_3878
goto @R3_11

:R3_3878
if 
  not Char.IsInModel($stattreadstamina_ctr, 575)
goto_if_false @R3_3904
goto @R3_11

:R3_3904
if 
  Game.IsMinigameInProgress
goto_if_false @R3_3924
goto @R3_11

:R3_3924
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_3949
goto @R3_11

:R3_3949
goto @R3_3809

:R3_3956
Text.PrintBig('PIMP', 6000, TextStyle.MiddleSmallerHigher)
wait 0
Mission.LoadAndLaunchInternal(127) // Pimping Sub-Mission
$ft_train_level = 1
goto @R3_11

:R3_3994
goto @R3_4103

:R3_4001
if 
  $timer_mobile_now == 1
goto_if_false @R3_4103
Text.ClearThisPrint('TTUTOR')
Text.ClearThisPrint('ATUTOR')
Text.ClearThisPrint('FTUTOR')
Text.ClearThisPrint('CTUTOR')
Text.ClearThisPrint('BTUTOR2')
Text.ClearThisPrint('FTUTORA')
Text.ClearThisPrint('PTUTORA')
$timer_mobile_now = 0

:R3_4103
goto @R3_11

:R3_4110
wait 70
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @R3_4144
wait 5000
goto @R3_11

:R3_4144
goto @R3_4110

:FRTEXT
script_name 'FRTEXT'
wait 5000
Text.ClearHelp
Text.PrintHelp('FREI_16')
terminate_this_script 

:BLOODR
script_name 'BLOODR'

:BLOODR_11
wait $LStickY
if 
  $weapon_shop1_blip == 0
goto_if_false @BLOODR_136
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BLOODR_136
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $hotringY, $hotringZ, $lowrideX, 1.4, 1.8, 1.5, False)
goto_if_false @BLOODR_136
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @BLOODR_136
LITCAS_267()
Text.PrintBig('STAD_04', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(128) // Arena Mission: Blood Ring

:BLOODR_136
goto @BLOODR_11

:HOTR
script_name 'HOTR'

:HOTR_11
wait $LStickY
if 
  $weapon_shop1_blip == 0
goto_if_false @HOTR_199
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HOTR_199
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $lowrideY, $lowrideZ, $tag_target, 1.4, 1.8, 1.5, False)
goto_if_false @HOTR_199
$map_opened_tri = Stat.GetInt(StatId.DrivingSkill)
if 
  $map_opened_tri > 199
goto_if_false @HOTR_183
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @HOTR_176
Text.PrintBig('STAD_03', 1000, TextStyle.BottomRight)
LITCAS_267()
set_var_int_to_constant $356 = 25
$chat_help1_flag = 0
Mission.LoadAndLaunchInternal(35) // Race Tournament / 8-track / Dirt Track

:HOTR_176
goto @HOTR_199

:HOTR_183
Text.PrintNow('STATCAR', 500, 1)

:HOTR_199
goto @HOTR_11

:KICKS
script_name 'KICKS'

:KICKS_11
wait $LStickY
if 
  $weapon_shop1_blip == 0
goto_if_false @KICKS_271
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKS_271
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $bloodY, $bloodZ, $hotringX, 1.4, 1.8, 1.5, False)
goto_if_false @KICKS_271
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @KICKS_271
$trigger_final_synd_mission = Clock.GetCurrentDayOfWeek()
if or
  $trigger_final_synd_mission == 0
  $trigger_final_synd_mission == 2
  $trigger_final_synd_mission == 4
goto_if_false @KICKS_243
$map_opened_tri = Stat.GetInt(StatId.BikeSkill)
if 
  $map_opened_tri > 199
goto_if_false @KICKS_220
Text.PrintBig('STAD_01', 1000, TextStyle.BottomRight)
LITCAS_267()
set_var_int_to_constant $356 = 26
$chat_help1_flag = 0
Mission.LoadAndLaunchInternal(35) // Race Tournament / 8-track / Dirt Track
goto @KICKS_236

:KICKS_220
Text.PrintNow('STATBIK', 500, 1)

:KICKS_236
goto @KICKS_271

:KICKS_243
Text.PrintBig('STAD_02', 1000, TextStyle.BottomRight)
LITCAS_267()
Mission.LoadAndLaunchInternal(129) // Arena Mission: Kickstart

:KICKS_271
goto @KICKS_11

:TRI
script_name 'TRI'

:TRI_11
wait 0
if 
  $weapon_shop1_blip == 0
goto_if_false @TRI_619
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRI_619
if or
  $trigger_final_synd_mission == 1
  $trigger_final_synd_mission == 7
goto_if_false @TRI_619
if or
  Char.LocateOnFoot3D($stattreadstamina_ctr, 181.0, -1878.0, 2.0, 1.4, 1.8, 1.5, True)
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2135.432, -67.9555, 1.8, 1.4, 1.8, 1.5, True)
goto_if_false @TRI_544
$trigger_phonecall_failed = Stat.GetInt(StatId.CitiesPassed)
if 
  $trigger_phonecall_failed > 1
goto_if_false @TRI_501
$blob_flag = Stat.GetInt(StatId.CycleSkill)
if 
  $blob_flag >= 500
goto_if_false @TRI_458
$been_in_a_coastguard_before = Stat.GetInt(StatId.Stamina)
if 
  $been_in_a_coastguard_before >= 500
goto_if_false @TRI_415
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @TRI_408
Text.PrintBig('BOTTY', 1000, TextStyle.BottomRight)
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRI_403
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 181.0, -1878.0, 2.0, 20.4, 20.8, 20.5, False)
goto_if_false @TRI_348
$animframe = 1

:TRI_348
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2135.432, -67.9555, 20.8, 20.4, 20.8, 20.5, False)
goto_if_false @TRI_403
$animframe = 2

:TRI_403
Mission.LoadAndLaunchInternal(130) // Beat the Cock!

:TRI_408
goto @TRI_451

:TRI_415
if 
  $save_house_index == 0
goto_if_false @TRI_451
Text.PrintHelp('STASKIL')
$save_house_index = 1

:TRI_451
goto @TRI_494

:TRI_458
if 
  $stunt_course == 0
goto_if_false @TRI_494
Text.PrintHelp('MTBSKIL')
$stunt_course = 1

:TRI_494
goto @TRI_537

:TRI_501
if 
  $729 == 0
goto_if_false @TRI_537
Text.PrintHelp('NOCOCK')
$729 = 1

:TRI_537
goto @TRI_619

:TRI_544
if 
  $stunt_course == 1
goto_if_false @TRI_569
$stunt_course = 0

:TRI_569
if 
  $save_house_index == 1
goto_if_false @TRI_594
$save_house_index = 0

:TRI_594
if 
  $729 == 1
goto_if_false @TRI_619
$729 = 0

:TRI_619
goto @TRI_11

:ODDVEH
script_name 'ODDVEH'

:ODDVEH_11
wait $LStickY
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @ODDVEH_1149
if 
  $weapon_shop1_blip == 0
goto_if_false @ODDVEH_1149
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ODDVEH_1114
if 
  Char.IsInModel($stattreadstamina_ctr, 481)
goto_if_false @ODDVEH_134
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, $cour2Y, $cour2Z, $cour3X, 3.0, 3.0, 3.0, False)
goto_if_false @ODDVEH_134
$courier_type = 1

:ODDVEH_134
if 
  Char.IsInModel($stattreadstamina_ctr, 463)
goto_if_false @ODDVEH_202
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, $cour3Y, $cour3Z, $quarryX, 3.0, 3.0, 3.0, False)
goto_if_false @ODDVEH_202
$courier_type = 1

:ODDVEH_202
if 
  Char.IsInModel($stattreadstamina_ctr, 462)
goto_if_false @ODDVEH_270
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, $quarryY, $quarryZ, $mountbX, 3.0, 3.0, 3.0, False)
goto_if_false @ODDVEH_270
$courier_type = 1

:ODDVEH_270
if 
  Char.IsInModel($stattreadstamina_ctr, 481)
goto_if_false @ODDVEH_335
if 
  $courier_type == 0
goto_if_false @ODDVEH_335
Text.PrintBig('COUR1', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(131) // Courier
$courier_type = 1

:ODDVEH_335
if 
  Char.IsInModel($stattreadstamina_ctr, 463)
goto_if_false @ODDVEH_400
if 
  $courier_type == 0
goto_if_false @ODDVEH_400
Text.PrintBig('COUR1', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(131) // Courier
$courier_type = 1

:ODDVEH_400
if 
  Char.IsInModel($stattreadstamina_ctr, 462)
goto_if_false @ODDVEH_465
if 
  $courier_type == 0
goto_if_false @ODDVEH_465
Text.PrintBig('COUR1', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(131) // Courier
$courier_type = 1

:ODDVEH_465
if 
  Char.IsInModel($stattreadstamina_ctr, 510)
goto_if_false @ODDVEH_533
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, $carcraneY, $carcraneZ, $demoX, 10.5, 10.5, 10.5, False)
goto_if_false @ODDVEH_533
$bmx_1_z = 1

:ODDVEH_533
if and
  Char.IsInModel($stattreadstamina_ctr, 510)
  $bmx_1_z == 0
goto_if_false @ODDVEH_722
Text.ClearPrints
$blob_flag = Stat.GetInt(StatId.CycleSkill)
if 
  $blob_flag >= 400
goto_if_false @ODDVEH_679
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if and
  $player_is_completely_safe >= 7
  18 > $player_is_completely_safe
goto_if_false @ODDVEH_656
Text.PrintBig('MOUNTN', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(132) // The Chiliad Challenge
$bmx_1_z = 1
goto @ODDVEH_672

:ODDVEH_656
Text.PrintNow('MTIME4', 1000, 1)

:ODDVEH_672
goto @ODDVEH_715

:ODDVEH_679
if 
  $1809 == 0
goto_if_false @ODDVEH_715
Text.PrintHelp('MTBSKIL')
$1809 = 1

:ODDVEH_715
goto @ODDVEH_747

:ODDVEH_722
if 
  $1809 == 1
goto_if_false @ODDVEH_747
$1809 = 0

:ODDVEH_747
if 
  Char.IsInModel($stattreadstamina_ctr, 481)
goto_if_false @ODDVEH_815
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, $stunt_nrg500_x, $stunt_nrg500_y, $stunt_nrg500_z, 4.0, 4.0, 3.0, False)
goto_if_false @ODDVEH_815
$p2 = 1

:ODDVEH_815
if and
  Char.IsInModel($stattreadstamina_ctr, 481)
  $p2 == 0
goto_if_false @ODDVEH_953
$blob_flag = Stat.GetInt(StatId.CycleSkill)
if 
  $blob_flag >= 200
goto_if_false @ODDVEH_910
Text.PrintBig('BMX', 1000, TextStyle.BottomRight)
$730 = 0
Mission.LoadAndLaunchInternal(133) // BMX / NRG-500 STUNT Mission
$p2 = 1
goto @ODDVEH_946

:ODDVEH_910
if 
  $already_bought_house == 0
goto_if_false @ODDVEH_946
Text.PrintHelp('MTBSKI2')
$already_bought_house = 1

:ODDVEH_946
goto @ODDVEH_978

:ODDVEH_953
if 
  $already_bought_house == 1
goto_if_false @ODDVEH_978
$already_bought_house = 0

:ODDVEH_978
if 
  Char.IsInModel($stattreadstamina_ctr, 522)
goto_if_false @ODDVEH_1046
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, $fire_truck1b, $fire_truck2, $fire_truck3, 4.0, 4.0, 3.0, False)
goto_if_false @ODDVEH_1046
$gym_at_beach = 1

:ODDVEH_1046
if and
  Char.IsInModel($stattreadstamina_ctr, 522)
  $gym_at_beach == 0
goto_if_false @ODDVEH_1107
Text.PrintBig('NRG500', 1000, TextStyle.BottomRight)
$730 = 1
Mission.LoadAndLaunchInternal(133) // BMX / NRG-500 STUNT Mission
$gym_at_beach = 1

:ODDVEH_1107
goto @ODDVEH_1149

:ODDVEH_1114
$flag_player_on_pimp_mission = 0
$courier_type = 0
$bmx_1_z = 0
$p2 = 0
$gym_at_beach = 0

:ODDVEH_1149
goto @ODDVEH_11

:BUY1
script_name 'BUY1'
$1657 = 50000
Pickup.Remove($1689[0])
$1689[0] = Pickup.CreateForSaleProperty($1528[0], $1560[0], $1592[0], $1657, 'PROP_3')

:BUY1_52
wait $LStickY
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BUY1_135
if 
  $weapon_shop1_blip == 0
goto_if_false @BUY1_135
if 
  Pickup.HasBeenCollected($1689[0])
goto_if_false @BUY1_135
set_var_int_to_constant $stadium_blip1 = 0
Audio.ReportMissionAudioEventAtPosition($1528[0], $1560[0], $1592[0], 1149)
Mission.LoadAndLaunchInternal(134) // Buy Properties Mission
terminate_this_script 

:BUY1_135
goto @BUY1_52

:BUY2
script_name 'BUY2'
$1658 = 30000
Pickup.Remove($1689[1])
$1689[1] = Pickup.CreateForSaleProperty($1528[1], $1560[1], $1592[1], $1658, 'PROP_3')

:BUY2_50
wait $LStickY
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BUY2_133
if 
  $weapon_shop1_blip == 0
goto_if_false @BUY2_133
if 
  Pickup.HasBeenCollected($1689[1])
goto_if_false @BUY2_133
set_var_int_to_constant $stadium_blip1 = 1
Audio.ReportMissionAudioEventAtPosition($1528[1], $1560[1], $1592[1], 1149)
Mission.LoadAndLaunchInternal(134) // Buy Properties Mission
terminate_this_script 

:BUY2_133
goto @BUY2_50

:BUY3
script_name 'BUY3'
$1659 = 80000
Pickup.Remove($1689[2])
$1689[2] = Pickup.CreateForSaleProperty($1528[2], $1560[2], $1592[2], $1659, 'PROP_3')

:BUY3_52
wait $LStickY
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BUY3_135
if 
  $weapon_shop1_blip == 0
goto_if_false @BUY3_135
if 
  Pickup.HasBeenCollected($1689[2])
goto_if_false @BUY3_135
set_var_int_to_constant $stadium_blip1 = 2
Audio.ReportMissionAudioEventAtPosition($1528[2], $1560[2], $1592[2], 1149)
Mission.LoadAndLaunchInternal(134) // Buy Properties Mission
terminate_this_script 

:BUY3_135
goto @BUY3_52

:BUY_PRO
script_name 'BUY_PRO'

:BUY_PRO_11
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BUY_PRO_145
if 
  $weapon_shop1_blip == 0
goto_if_false @BUY_PRO_145
if 
  $732($731,32i) == 0
goto_if_false @BUY_PRO_145
if 
  Pickup.HasBeenCollected($1689($731,32i))
goto_if_false @BUY_PRO_145
set_var_int_to_var_int $stadium_blip1 = $764($731,32i)
Audio.ReportMissionAudioEventAtPosition($1528($731,32f), $1560($731,32f), $1592($731,32f), 1149)
Mission.LoadAndLaunchInternal(134) // Buy Properties Mission
$732($731,32i) = 1

:BUY_PRO_145
$731 += 1
if 
  $731 >= 32
goto_if_false @BUY_PRO_177
$731 = 3

:BUY_PRO_177
goto @BUY_PRO_11

:IMPND_L
script_name 'IMPND_L'

:IMPND_L_11
wait 100
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPND_L_706
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 1
goto_if_false @IMPND_L_189
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(71)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @IMPND_L_189
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1579.425, -1636.463, 14.5812, 120.0, 120.0, 80.0, False)
goto_if_false @IMPND_L_160
$valet_oddjob_opened = 1
StreamedScript.Stream(71)
if 
  StreamedScript.HasLoaded(71)
goto_if_false @IMPND_L_153
StreamedScript.StartNew(71)

:IMPND_L_153
goto @IMPND_L_189

:IMPND_L_160
if 
  $valet_oddjob_opened == 1
goto_if_false @IMPND_L_189
StreamedScript.MarkAsNoLongerNeeded(71)
$valet_oddjob_opened = 0

:IMPND_L_189
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 2
goto_if_false @IMPND_L_390
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(71)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @IMPND_L_390
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1624.771, 679.6637, 8.569, 120.0, 120.0, 80.0, False)
goto_if_false @IMPND_L_336
if 
  $1526 == 0
goto_if_false @IMPND_L_329
$valet_oddjob_opened = 2
StreamedScript.Stream(71)
if 
  StreamedScript.HasLoaded(71)
goto_if_false @IMPND_L_329
StreamedScript.StartNew(71)

:IMPND_L_329
goto @IMPND_L_390

:IMPND_L_336
if 
  $1526 == 2
goto_if_false @IMPND_L_361
$1526 = 0

:IMPND_L_361
if 
  $valet_oddjob_opened == 2
goto_if_false @IMPND_L_390
StreamedScript.MarkAsNoLongerNeeded(71)
$valet_oddjob_opened = 0

:IMPND_L_390
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 2
goto_if_false @IMPND_L_548
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(71)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @IMPND_L_548
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1624.771, 679.6637, 8.569, 120.0, 120.0, 80.0, False)
goto_if_false @IMPND_L_519
$valet_oddjob_opened = 2
StreamedScript.Stream(71)
if 
  StreamedScript.HasLoaded(71)
goto_if_false @IMPND_L_512
StreamedScript.StartNew(71)

:IMPND_L_512
goto @IMPND_L_548

:IMPND_L_519
if 
  $valet_oddjob_opened == 2
goto_if_false @IMPND_L_548
StreamedScript.MarkAsNoLongerNeeded(71)
$valet_oddjob_opened = 0

:IMPND_L_548
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 3
goto_if_false @IMPND_L_706
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(71)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @IMPND_L_706
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2284.592, 2466.838, 12.2306, 120.0, 120.0, 80.0, False)
goto_if_false @IMPND_L_677
$valet_oddjob_opened = 3
StreamedScript.Stream(71)
if 
  StreamedScript.HasLoaded(71)
goto_if_false @IMPND_L_670
StreamedScript.StartNew(71)

:IMPND_L_670
goto @IMPND_L_706

:IMPND_L_677
if 
  $valet_oddjob_opened == 3
goto_if_false @IMPND_L_706
StreamedScript.MarkAsNoLongerNeeded(71)
$valet_oddjob_opened = 0

:IMPND_L_706
goto @IMPND_L_11

:VALET_L
script_name 'VALET_L'

:VALET_L_11
wait 0
if 
  $1876 == 1
goto_if_false @VALET_L_197
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 2
goto_if_false @VALET_L_197
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(72)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @VALET_L_197
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VALET_L_197
if 
  Char.IsInArea2D($stattreadstamina_ctr, -1893.419, 1119.227, -1617.915, 828.85, False)
goto_if_false @VALET_L_168
$1888 = 2
StreamedScript.Stream(72)
if 
  StreamedScript.HasLoaded(72)
goto_if_false @VALET_L_161
StreamedScript.StartNew(72)

:VALET_L_161
goto @VALET_L_197

:VALET_L_168
if 
  $1888 == 2
goto_if_false @VALET_L_197
StreamedScript.MarkAsNoLongerNeeded(72)
$1888 = 0

:VALET_L_197
goto @VALET_L_11

:TRAINSL
script_name 'TRAINSL'

:TRAINSL_11
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRAINSL_115
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TRAINSL_115
if 
  Char.IsInModel($stattreadstamina_ctr, 570)
goto_if_false @TRAINSL_115
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(33)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @TRAINSL_115
StreamedScript.Stream(33)
if 
  StreamedScript.HasLoaded(33)
goto_if_false @TRAINSL_115
StreamedScript.StartNew(33)

:TRAINSL_115
goto @TRAINSL_11

:ADPLANE
script_name 'ADPLANE'

:ADPLANE_11
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @ADPLANE_964
if 
  $weapon_shop1_blip == 0
goto_if_false @ADPLANE_964
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 1
goto_if_false @ADPLANE_324
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @ADPLANE_287
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(32)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @ADPLANE_280
if 
  $796 == 0
goto_if_false @ADPLANE_157
$Returned_shoehorses = User3DMarker.Create(1685.7, -2238.9, 14.0, 14)
$796 = 1

:ADPLANE_157
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @ADPLANE_280
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 1685.7, -2238.9, 12.5, 1.2, 1.2, 1.2, False)
goto_if_false @ADPLANE_246
Player.SetControl($statbike_temp, False)
LITCAS_267()
StreamedScript.Stream(32)
$flag_triathalon_passed_1stime = 1

:ADPLANE_246
if and
  StreamedScript.HasLoaded(32)
  $flag_triathalon_passed_1stime == 1
goto_if_false @ADPLANE_280
StreamedScript.StartNew(32)
$flag_triathalon_passed_1stime = 0

:ADPLANE_280
goto @ADPLANE_317

:ADPLANE_287
if 
  $796 == 1
goto_if_false @ADPLANE_317
User3DMarker.Remove($Returned_shoehorses)
$796 = 0

:ADPLANE_317
goto @ADPLANE_354

:ADPLANE_324
if 
  $796 == 1
goto_if_false @ADPLANE_354
User3DMarker.Remove($Returned_shoehorses)
$796 = 0

:ADPLANE_354
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 2
goto_if_false @ADPLANE_629
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @ADPLANE_592
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(32)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @ADPLANE_585
if 
  $797 == 0
goto_if_false @ADPLANE_462
$Returned_snapshots = User3DMarker.Create(-1421.5, -287.2, 14.6, 14)
$797 = 1

:ADPLANE_462
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @ADPLANE_585
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1421.5, -287.2, 14.6, 1.2, 1.2, 1.2, False)
goto_if_false @ADPLANE_551
Player.SetControl($statbike_temp, False)
LITCAS_267()
StreamedScript.Stream(32)
$flag_triathalon_passed_1stime = 1

:ADPLANE_551
if and
  StreamedScript.HasLoaded(32)
  $flag_triathalon_passed_1stime == 1
goto_if_false @ADPLANE_585
StreamedScript.StartNew(32)
$flag_triathalon_passed_1stime = 0

:ADPLANE_585
goto @ADPLANE_622

:ADPLANE_592
if 
  $797 == 1
goto_if_false @ADPLANE_622
User3DMarker.Remove($Returned_snapshots)
$797 = 0

:ADPLANE_622
goto @ADPLANE_659

:ADPLANE_629
if 
  $797 == 1
goto_if_false @ADPLANE_659
User3DMarker.Remove($Returned_snapshots)
$797 = 0

:ADPLANE_659
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 3
goto_if_false @ADPLANE_934
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @ADPLANE_897
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(32)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @ADPLANE_890
if 
  $Returned_oysters == 0
goto_if_false @ADPLANE_767
$Returned_tags = User3DMarker.Create(1663.0, 1423.6, 11.2, 14)
$Returned_oysters = 1

:ADPLANE_767
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @ADPLANE_890
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 1663.0, 1423.6, 11.2, 1.2, 1.2, 1.2, False)
goto_if_false @ADPLANE_856
Player.SetControl($statbike_temp, False)
LITCAS_267()
StreamedScript.Stream(32)
$flag_triathalon_passed_1stime = 1

:ADPLANE_856
if and
  StreamedScript.HasLoaded(32)
  $flag_triathalon_passed_1stime == 1
goto_if_false @ADPLANE_890
StreamedScript.StartNew(32)
$flag_triathalon_passed_1stime = 0

:ADPLANE_890
goto @ADPLANE_927

:ADPLANE_897
if 
  $Returned_oysters == 1
goto_if_false @ADPLANE_927
User3DMarker.Remove($Returned_tags)
$Returned_oysters = 0

:ADPLANE_927
goto @ADPLANE_964

:ADPLANE_934
if 
  $Returned_oysters == 1
goto_if_false @ADPLANE_964
User3DMarker.Remove($Returned_tags)
$Returned_oysters = 0

:ADPLANE_964
goto @ADPLANE_11

:COLLS
script_name 'COLLS'

:COLLS_11
wait 3000
$not_entered_millies_house = Stat.GetProgressPercentage()
if 
  $cat_getaway_dialogue == 0
goto_if_false @COLLS_285
$game_complete = Stat.GetInt(StatId.OystersCollected)
if 
  $game_complete == 50
goto_if_false @COLLS_285
Audio.PlayMissionPassedTune(2)
Stat.PlayerMadeProgress(1)
Stat.SetInt(StatId.UnderwaterBreathStamina, 1000)
if 
  0 >= $363[4]
goto_if_false @COLLS_106
$363[4] = 45

:COLLS_106
if 
  0 >= $363[1]
goto_if_false @COLLS_131
$363[1] = 45

:COLLS_131
if 
  0 >= $363[3]
goto_if_false @COLLS_156
$363[3] = 45

:COLLS_156
if 
  0 >= $363[2]
goto_if_false @COLLS_181
$363[2] = 45

:COLLS_181
$369[0] = -100
$369[1] = -100
$369[3] = -100
$369[2] = -100
$369[4] = -100
$369[5] = -100
$357[0] = 1
$357[1] = 1
$357[3] = 1
$357[2] = 1
$357[4] = 1
$357[5] = 1
Text.ClearHelp
Text.PrintHelp('OYST100')
$cat_getaway_dialogue = 1

:COLLS_285
if 
  $gate_stay_open == 0
goto_if_false @COLLS_465
$all_tags_pickup1 = Stat.GetInt(StatId.HorseshoesCollected)
if 
  $all_tags_pickup1 == 50
goto_if_false @COLLS_465
Audio.PlayMissionPassedTune(2)
Stat.PlayerMadeProgress(1)
$Return_progress_Percentage = Pickup.CreateWithAmmo(356, PickupType.OnStreetSlow, 60, 2021.879, 1001.467, 10.3203)
$terminted_territory_pickup = Pickup.CreateWithAmmo(353, PickupType.OnStreetSlow, 120, 2025.286, 1001.496, 10.3203)
$millies_keycard_pickup = Pickup.CreateWithAmmo(351, PickupType.OnStreetSlow, 120, 2021.327, 1013.349, 10.3203)
$millies_keycard_pickup_flag = Pickup.CreateWithAmmo(363, PickupType.OnStreetSlow, 20, 2023.775, 1013.527, 10.5203)
Text.ClearHelp
Text.PrintHelp('LUCK100')
$gate_stay_open = 1

:COLLS_465
if 
  $tlf_underway == 0
goto_if_false @COLLS_645
$all_tags_pickup2 = Stat.GetInt(StatId.SnapshotsTaken)
if 
  $all_tags_pickup2 == 50
goto_if_false @COLLS_645
Audio.PlayMissionPassedTune(2)
Stat.PlayerMadeProgress(1)
$all_horse_pickup1 = Pickup.CreateWithAmmo(358, PickupType.OnStreetSlow, 60, -2035.773, 139.4337, 28.3359)
$all_horse_pickup2 = Pickup.CreateWithAmmo(352, PickupType.OnStreetSlow, 120, -2038.43, 139.6281, 28.3359)
$all_horse_pickup3 = Pickup.CreateWithAmmo(349, PickupType.OnStreetSlow, 120, -2038.664, 137.4694, 28.3359)
$all_horse_pickup4 = Pickup.CreateWithAmmo(342, PickupType.OnStreetSlow, 20, -2035.474, 137.2511, 28.3359)
Text.ClearHelp
Text.PrintHelp('FOTO100')
$tlf_underway = 1

:COLLS_645
if 
  $total_roulette_tables == 0
goto_if_false @COLLS_832
$all_tags_pickup3 = Stat.FindNumberTagsTagged()
if 
  $all_tags_pickup3 == 100
goto_if_false @COLLS_832
Audio.PlayMissionPassedTune(2)
Stat.PlayerMadeProgress(1)
Gang.SetWeapons(GangType.Grove, WeaponType.DesertEagle, WeaponType.Mp5, WeaponType.Knife)
$all_photos_pickup1 = Pickup.CreateWithAmmo(355, PickupType.OnStreetSlow, 120, 2499.39, -1707.463, 1014.25)
$all_photos_pickup2 = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 120, 2499.514, -1709.64, 1014.25)
$all_photos_pickup3 = Pickup.CreateWithAmmo(350, PickupType.OnStreetSlow, 60, 2493.491, -1708.237, 1014.932)
$all_photos_pickup4 = Pickup.CreateWithAmmo(344, PickupType.OnStreetSlow, 20, 2493.553, -1706.863, 1015.132)
Text.ClearHelp
Text.PrintHelp('TAG_100')
$total_roulette_tables = 1

:COLLS_832
if 
  $all_tags_pickup4 == 0
goto_if_false @COLLS_994
if 
  $not_entered_millies_house >= 100.0
goto_if_false @COLLS_994
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COLLS_994
CarGenerator.Switch($badlands_car_gen, 101)
CarGenerator.Switch($iSetPizzaPanic, 101)
Player.AddScore($statbike_temp, 1000000)
Stat.SetInt(StatId.UnderwaterBreathStamina, 1000)
Stat.SetInt(StatId.Stamina, 1000)
Stat.SetInt(StatId.SexAppeal, 1000)
Stat.SetInt(StatId.SexAppealClothes, 1000)
Stat.SetInt(StatId.Respect, 1000)
Stat.SetInt(StatId.RespectGirlfriend, 1000)
Stat.SetInt(StatId.RespectClothes, 1000)
Stat.SetInt(StatId.CycleSkill, 1000)
wait 2000
Text.ClearHelp
Text.PrintHelp('GAME100')
$all_tags_pickup4 = 1

:COLLS_994
goto @COLLS_11

:TCASH
script_name 'TCASH'

:TCASH_11
wait 20000
if 
  $millies_double_ender == 1
goto_if_false @TCASH_48
Pickup.Remove($flag_cat_mission1_passed)
$millies_double_ender = 0
terminate_this_script 

:TCASH_48
$flag_cat_mission2_passed = Stat.GetTerritoryUnderControlPercentage()
if 
  $trigger_phonecall_failed > 1
goto_if_false @TCASH_93
set_var_int_to_var_int $flag_cat_mission3_passed = $flag_cat_mission2_passed
$flag_cat_mission3_passed *= 100
goto @TCASH_108

:TCASH_93
set_var_int_to_var_int $flag_cat_mission3_passed = $flag_cat_mission2_passed
$flag_cat_mission3_passed *= 50

:TCASH_108
Pickup.UpdateMoneyPerDay($flag_cat_mission1_passed, $flag_cat_mission3_passed)
goto @TCASH_11

:KEYCARD
$audio_slot_mobile = Stat.GetInt(StatId.GirlfriendMillie)
if 
  $audio_slot_mobile >= 35
goto_if_false @KEYCARD_51
$Tplayer_pickup = Pickup.Create(321, PickupType.Once, 345.2063, 308.9788, 998.6484)

:KEYCARD_51
World.SetClosestEntryExitFlag(345.5621, 306.2212, 10.0, EntryexitsFlag.Enabled, False)
$825 = User3DMarker.Create(2037.349, 2722.071, 12.0281, 14)
$826 = User3DMarker.Create(343.9969, 305.104, 999.6557, 14)
script_name 'KEYCARD'

:KEYCARD_128
wait 0
$returned_respect = Streaming.GetAreaVisible()
if 
  $returned_respect == 0
goto_if_false @KEYCARD_169
$created_millie_marker = 0
goto @KEYCARD_176

:KEYCARD_169
$created_millie_marker = 1

:KEYCARD_176
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KEYCARD_630
if 
  $created_millie_marker == 0
goto_if_false @KEYCARD_421
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2037.349, 2722.071, 9.8281, 1.2, 1.2, 2.0, False)
goto_if_false @KEYCARD_414
Player.SetControl($statbike_temp, False)
LITCAS_267()
Streaming.SetAreaVisible(6)
Streaming.RequestCollision(345.5621, 306.2212)
Streaming.LoadScene(345.5621, 306.2212, 998.1484)
World.SetExtraColors(1, False)
Game.SetIsInStadium(True)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KEYCARD_372
Char.SetAreaVisible($stattreadstamina_ctr, 6)
Char.SetCoordinates($stattreadstamina_ctr, 345.5621, 306.2212, 998.4484)
Char.SetHeading($stattreadstamina_ctr, 260.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:KEYCARD_372
wait 1000
Camera.DoFade(500, Fade.In)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KEYCARD_407
Player.SetControl($statbike_temp, True)

:KEYCARD_407
$created_millie_marker = 1

:KEYCARD_414
goto @KEYCARD_623

:KEYCARD_421
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 343.9969, 305.104, 998.1557, 1.2, 1.2, 2.0, False)
goto_if_false @KEYCARD_623
Player.SetControl($statbike_temp, False)
LITCAS_267()
Streaming.SetAreaVisible(0)
Streaming.RequestCollision(2037.541, 2727.687)
Streaming.LoadScene(2037.541, 2727.687, 9.8281)
World.ClearExtraColors(False)
Game.SetIsInStadium(False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KEYCARD_581
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Char.SetCoordinates($stattreadstamina_ctr, 2037.541, 2727.687, 9.8281)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:KEYCARD_581
wait 1000
Camera.DoFade(500, Fade.In)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KEYCARD_616
Player.SetControl($statbike_temp, True)

:KEYCARD_616
$created_millie_marker = 0

:KEYCARD_623
goto @KEYCARD_634

:KEYCARD_630
Game.SetIsInStadium(False)

:KEYCARD_634
if 
  Pickup.HasBeenCollected($millie_marker)
goto_if_false @KEYCARD_703
if 
  $822 == 0
goto_if_false @KEYCARD_703
Text.PrintNow('GOTKEY', 6000, 1)
Blip.Remove($millies_like_stat)
$activate_mobile_phone = 1
$822 = 1

:KEYCARD_703
$returned_respect = Streaming.GetAreaVisible()
if and
  $822 == 1
  $returned_respect == 0
goto_if_false @KEYCARD_745
User3DMarker.Remove($825)
User3DMarker.Remove($826)
terminate_this_script 

:KEYCARD_745
goto @KEYCARD_128

:TPLAYER
script_name 'TPLAYER'

:TPLAYER_11
wait 75
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TPLAYER_1823
if 
  $weapon_shop1_blip == 0
goto_if_false @TPLAYER_1784
if 
  $844 == 0
goto_if_false @TPLAYER_321
TPLAYER_1862()
$828 = Pickup.Create(#KILLFRENZY2PLYR, PickupType.SecondPlayer, 1481.955, -1656.146, 13.5469)
$829 = Pickup.Create(#KILLFRENZY2PLYR, PickupType.SecondPlayer, 1196.491, 249.321, 19.0618)
$830 = Pickup.Create(#KILLFRENZY2PLYR, PickupType.SecondPlayer, -2102.848, 653.8868, 51.8671)
$831 = Pickup.Create(#KILLFRENZY2PLYR, PickupType.SecondPlayer, -252.9156, 2583.779, 63.0703)
$832 = Pickup.Create(#KILLFRENZY2PLYR, PickupType.SecondPlayer, 2510.633, 1207.917, 10.3281)
$833 = Pickup.Create(#TWOPLAYER, PickupType.SecondPlayer, 2069.338, -1556.93, 12.9243)
$834 = Pickup.Create(#TWOPLAYER, PickupType.SecondPlayer, 2138.169, 1483.595, 10.3203)
$835 = Pickup.Create(#TWOPLAYER, PickupType.SecondPlayer, -2197.667, 292.0621, 34.623)
$836 = Pickup.Create(#TWOPLAYER, PickupType.SecondPlayer, -1520.864, 2608.207, 55.3437)
$837 = Pickup.Create(#TWOPLAYER, PickupType.SecondPlayer, 711.0688, -569.3774, 15.8359)
$844 = 1

:TPLAYER_321
if 
  Pickup.HasBeenCollected($828)
goto_if_false @TPLAYER_379
$weapon_shop1_blip = 1
LITCAS_267()
Text.PrintBig('TPLAY1', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(135) // 2player Ram
$844 = 0

:TPLAYER_379
if 
  Pickup.HasBeenCollected($829)
goto_if_false @TPLAYER_437
$weapon_shop1_blip = 1
LITCAS_267()
Text.PrintBig('TPLAY2', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(136) // 2player bike
$844 = 0

:TPLAYER_437
if 
  Pickup.HasBeenCollected($830)
goto_if_false @TPLAYER_495
$weapon_shop1_blip = 1
LITCAS_267()
Text.PrintBig('TPLAY3', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(137) // 2player cars
$844 = 0

:TPLAYER_495
if 
  Pickup.HasBeenCollected($831)
goto_if_false @TPLAYER_553
$weapon_shop1_blip = 1
LITCAS_267()
Text.PrintBig('TPLAY4', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(138) // 2player heli
$844 = 0

:TPLAYER_553
if 
  Pickup.HasBeenCollected($832)
goto_if_false @TPLAYER_611
$weapon_shop1_blip = 1
LITCAS_267()
Text.PrintBig('TPLAY5', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(139) // 2player peds
$844 = 0

:TPLAYER_611
if 
  Pickup.HasBeenCollected($833)
goto_if_false @TPLAYER_669
$weapon_shop1_blip = 1
LITCAS_267()
Text.PrintBig('TPLAY6', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(140) // Run-around LS
$844 = 0

:TPLAYER_669
if 
  Pickup.HasBeenCollected($834)
goto_if_false @TPLAYER_727
$weapon_shop1_blip = 1
LITCAS_267()
Text.PrintBig('TPLAY7', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(141) // Run-around LV
$844 = 0

:TPLAYER_727
if 
  Pickup.HasBeenCollected($835)
goto_if_false @TPLAYER_785
$weapon_shop1_blip = 1
LITCAS_267()
Text.PrintBig('TPLAY8', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(142) // Run-around SF
$844 = 0

:TPLAYER_785
if 
  Pickup.HasBeenCollected($836)
goto_if_false @TPLAYER_843
$weapon_shop1_blip = 1
LITCAS_267()
Text.PrintBig('TPLAY9', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(143) // Run-around DE
$844 = 0

:TPLAYER_843
if 
  Pickup.HasBeenCollected($837)
goto_if_false @TPLAYER_901
$weapon_shop1_blip = 1
LITCAS_267()
Text.PrintBig('TPLAY10', 1000, TextStyle.BottomRight)
Mission.LoadAndLaunchInternal(144) // Run-around CO
$844 = 0

:TPLAYER_901
if 
  is_global_var_bit_set_const $GF_left_stick_y {n} 5
goto_if_false @TPLAYER_1017
if 
  $845 == 0
goto_if_false @TPLAYER_968
$838 = Pickup.Create(#TWOPLAYER, PickupType.SecondPlayer, 2024.522, 2731.196, 10.3281)
$845 = 1

:TPLAYER_968
if 
  Pickup.HasBeenCollected($838)
goto_if_false @TPLAYER_1010
$weapon_shop1_blip = 1
LITCAS_267()
Mission.LoadAndLaunchInternal(145) // Run-around (2player)
$844 = 0

:TPLAYER_1010
goto @TPLAYER_1047

:TPLAYER_1017
if 
  $845 == 1
goto_if_false @TPLAYER_1047
Pickup.Remove($838)
$845 = 0

:TPLAYER_1047
if 
  is_global_var_bit_set_const $GF_left_stick_y {n} 4
goto_if_false @TPLAYER_1163
if 
  $846 == 0
goto_if_false @TPLAYER_1114
$839 = Pickup.Create(#TWOPLAYER, PickupType.SecondPlayer, -2576.783, 1151.908, 55.2333)
$846 = 1

:TPLAYER_1114
if 
  Pickup.HasBeenCollected($839)
goto_if_false @TPLAYER_1156
$weapon_shop1_blip = 1
LITCAS_267()
Mission.LoadAndLaunchInternal(146) // Run-around (2player)
$844 = 0

:TPLAYER_1156
goto @TPLAYER_1193

:TPLAYER_1163
if 
  $846 == 1
goto_if_false @TPLAYER_1193
Pickup.Remove($839)
$846 = 0

:TPLAYER_1193
if 
  is_global_var_bit_set_const $GF_left_stick_y {n} 3
goto_if_false @TPLAYER_1309
if 
  $remove_grove_pickup == 0
goto_if_false @TPLAYER_1260
$recreate_tplay_pickup = Pickup.Create(#TWOPLAYER, PickupType.SecondPlayer, -1390.171, 2637.515, 55.5)
$remove_grove_pickup = 1

:TPLAYER_1260
if 
  Pickup.HasBeenCollected($recreate_tplay_pickup)
goto_if_false @TPLAYER_1302
$weapon_shop1_blip = 1
LITCAS_267()
Mission.LoadAndLaunchInternal(147) // Run-around (2player)
$844 = 0

:TPLAYER_1302
goto @TPLAYER_1339

:TPLAYER_1309
if 
  $remove_grove_pickup == 1
goto_if_false @TPLAYER_1339
Pickup.Remove($recreate_tplay_pickup)
$remove_grove_pickup = 0

:TPLAYER_1339
if 
  is_global_var_bit_set_const $GF_left_stick_y {n} 2
goto_if_false @TPLAYER_1455
if 
  $848 == 0
goto_if_false @TPLAYER_1406
$recreate_gfriend_pickup = Pickup.Create(#TWOPLAYER, PickupType.SecondPlayer, -381.8657, -1426.27, 25.5)
$848 = 1

:TPLAYER_1406
if 
  Pickup.HasBeenCollected($recreate_gfriend_pickup)
goto_if_false @TPLAYER_1448
$weapon_shop1_blip = 1
LITCAS_267()
Mission.LoadAndLaunchInternal(148) // Run-around (2player)
$844 = 0

:TPLAYER_1448
goto @TPLAYER_1485

:TPLAYER_1455
if 
  $848 == 1
goto_if_false @TPLAYER_1485
Pickup.Remove($recreate_gfriend_pickup)
$848 = 0

:TPLAYER_1485
if 
  is_global_var_bit_set_const $GF_left_stick_y {n} 0
goto_if_false @TPLAYER_1601
if 
  $849 == 0
goto_if_false @TPLAYER_1552
$842 = Pickup.Create(#TWOPLAYER, PickupType.SecondPlayer, 2402.436, -1715.494, 14.0)
$849 = 1

:TPLAYER_1552
if 
  Pickup.HasBeenCollected($842)
goto_if_false @TPLAYER_1594
$weapon_shop1_blip = 1
LITCAS_267()
Mission.LoadAndLaunchInternal(149) // Run-around (2player)
$844 = 0

:TPLAYER_1594
goto @TPLAYER_1631

:TPLAYER_1601
if 
  $849 == 1
goto_if_false @TPLAYER_1631
Pickup.Remove($842)
$849 = 0

:TPLAYER_1631
if 
  is_global_var_bit_set_const $GF_left_stick_y {n} 1
goto_if_false @TPLAYER_1747
if 
  $850 == 0
goto_if_false @TPLAYER_1698
$843 = Pickup.Create(#TWOPLAYER, PickupType.SecondPlayer, -1803.614, 1199.332, 25.0)
$850 = 1

:TPLAYER_1698
if 
  Pickup.HasBeenCollected($843)
goto_if_false @TPLAYER_1740
$weapon_shop1_blip = 1
LITCAS_267()
Mission.LoadAndLaunchInternal(150) // Run-around (2player)
$844 = 0

:TPLAYER_1740
goto @TPLAYER_1777

:TPLAYER_1747
if 
  $850 == 1
goto_if_false @TPLAYER_1777
Pickup.Remove($843)
$850 = 0

:TPLAYER_1777
goto @TPLAYER_1816

:TPLAYER_1784
if 
  $844 == 1
goto_if_false @TPLAYER_1816
TPLAYER_1862()
$844 = 0

:TPLAYER_1816
goto @TPLAYER_1855

:TPLAYER_1823
if 
  $844 == 1
goto_if_false @TPLAYER_1855
TPLAYER_1862()
$844 = 0

:TPLAYER_1855
goto @TPLAYER_11

:TPLAYER_1862
Pickup.Remove($828)
Pickup.Remove($829)
Pickup.Remove($830)
Pickup.Remove($831)
Pickup.Remove($832)
Pickup.Remove($833)
Pickup.Remove($834)
Pickup.Remove($835)
Pickup.Remove($836)
Pickup.Remove($837)
Pickup.Remove($838)
Pickup.Remove($839)
Pickup.Remove($recreate_tplay_pickup)
Pickup.Remove($recreate_gfriend_pickup)
Pickup.Remove($842)
Pickup.Remove($843)
return 

:PSAVE1
script_name 'PSAVE1'
$889 = 13

:PSAVE1_18
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_824
if 
  $weapon_shop1_blip == 0
goto_if_false @PSAVE1_759
if and
  $flag_bcr1_skip == 0
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 20
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @PSAVE1_720
if 
  $888 == 0
goto_if_false @PSAVE1_534
PSAVE1_831()
$869[0] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[0], $908[0], $926[0])
$869[1] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[1], $908[1], $926[1])
$869[2] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[2], $908[2], $926[2])
$869[3] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[3], $908[3], $926[3])
$869[4] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[4], $908[4], $926[4])
$869[5] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[5], $908[5], $926[5])
$869[6] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[6], $908[6], $926[6])
$869[7] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[7], $908[7], $926[7])
$869[8] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[8], $908[8], $926[8])
$869[9] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[9], $908[9], $926[9])
$869[10] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[10], $908[10], $926[10])
$869[11] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[11], $908[11], $926[11])
$869[12] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[12], $908[12], $926[12])
if 
  $889 >= 14
goto_if_false @PSAVE1_383
$869[13] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[13], $908[13], $926[13])

:PSAVE1_383
if 
  $889 >= 15
goto_if_false @PSAVE1_419
$869[14] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[14], $908[14], $926[14])

:PSAVE1_419
if 
  $889 >= 16
goto_if_false @PSAVE1_455
$869[15] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[15], $908[15], $926[15])

:PSAVE1_455
if 
  $889 >= 17
goto_if_false @PSAVE1_491
$869[16] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[16], $908[16], $926[16])

:PSAVE1_491
if 
  $889 >= 18
goto_if_false @PSAVE1_527
$869[17] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[17], $908[17], $926[17])

:PSAVE1_527
$888 = 1

:PSAVE1_534
if 
  Pickup.HasBeenCollected($869($887,18i))
goto_if_false @PSAVE1_713
PSAVE1_923()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_699
Pickup.Remove($869($887,18i))
$869($887,18i) = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890($887,18f), $908($887,18f), $926($887,18f))
World.ClearArea($944($887,18f), $962($887,18f), $980($887,18f), 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, $944($887,18f), $962($887,18f), $980($887,18f))
Char.SetHeading($stattreadstamina_ctr, $998($887,18f))
wait 0
Camera.DoFade(1000, Fade.In)

:PSAVE1_699
PSAVE1_1003()
$888 = 0

:PSAVE1_713
goto @PSAVE1_752

:PSAVE1_720
if 
  $888 == 1
goto_if_false @PSAVE1_752
PSAVE1_831()
$888 = 0

:PSAVE1_752
goto @PSAVE1_791

:PSAVE1_759
if 
  $888 == 1
goto_if_false @PSAVE1_791
PSAVE1_831()
$888 = 0

:PSAVE1_791
$887 += 1
if 
  is_int_var_greater_or_equal_to_int_var $887 >= $889
goto_if_false @PSAVE1_824
$887 = 0

:PSAVE1_824
goto @PSAVE1_18

:PSAVE1_831
Pickup.Remove($869[0])
Pickup.Remove($869[1])
Pickup.Remove($869[2])
Pickup.Remove($869[3])
Pickup.Remove($869[4])
Pickup.Remove($869[5])
Pickup.Remove($869[6])
Pickup.Remove($869[7])
Pickup.Remove($869[8])
Pickup.Remove($869[9])
Pickup.Remove($869[10])
Pickup.Remove($869[11])
Pickup.Remove($869[12])
Pickup.Remove($869[13])
Pickup.Remove($869[14])
Pickup.Remove($869[15])
Pickup.Remove($869[16])
Pickup.Remove($869[17])
return 

:PSAVE1_923
$weapon_shop1_blip = 1
Player.SetControl($statbike_temp, False)
Game.ActivateSaveMenu

:PSAVE1_939
if 
  not Game.HasSaveGameFinished
goto_if_false @PSAVE1_963
wait 0
goto @PSAVE1_939

:PSAVE1_963
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_1001
Player.SetControl($statbike_temp, False)

:PSAVE1_1001
return 

:PSAVE1_1003
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_1023
Camera.RestoreJumpcut
Camera.SetBehindPlayer

:PSAVE1_1023
wait 500
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_1058
Player.SetControl($statbike_temp, True)
$weapon_shop1_blip = 0

:PSAVE1_1058
return 

:PSAVE1_1060
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.Out)

:PSAVE1_1075
if 
  Camera.GetFadingStatus
goto_if_false @PSAVE1_1103
wait 0
Text.ClearPrints
Text.ClearHelp
goto @PSAVE1_1075

:PSAVE1_1103
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_1138
Camera.DoFade(0, Fade.Out)
Camera.RestoreJumpcut
Char.ClearTasks($stattreadstamina_ctr)
Camera.DoFade(0, Fade.Out)

:PSAVE1_1138
return 

:PSAVE1_1140
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_1318
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2503.601, -1676.787, 13.9236, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2503.26, -1677.718, 14.0548, SwitchType.JumpCut)
World.ClearArea(2495.365, -1690.766, 13.7734, 1.0, True)
World.ClearArea(2503.26, -1677.718, 14.0548, 2.0, True)
World.ClearArea($sweetY, $sweetZ, $ryderX, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 2495.365, -1690.766, 13.7734, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_1318
return 

:PSAVE1_1320
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_1496
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2512.233, -1673.532, 12.6635, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2513.139, -1673.825, 12.9696, SwitchType.JumpCut)
World.ClearArea(2513.139, -1673.825, 12.9696, 2.0, True)
World.ClearArea(2521.35, -1678.83, 14.32, 1.0, True)
World.ClearArea($ryderY, $ryderZ, $smokeX, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 2521.35, -1678.83, 14.32, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_1496
return 

:PSAVE1_1498
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_1674
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2451.148, -1677.786, 16.3581, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2451.564, -1678.677, 16.1721, SwitchType.JumpCut)
World.ClearArea(2451.564, -1678.677, 16.1721, 2.0, True)
World.ClearArea(2459.44, -1691.58, 12.58, 1.0, True)
World.ClearArea($smokeY, $smokeZ, $strapX, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 2459.44, -1691.58, 12.58, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_1674
return 

:PSAVE1_1676
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_1834
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2075.7, -1687.878, 16.0883, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2074.984, -1688.556, 15.9215, SwitchType.JumpCut)
World.ClearArea(2065.4, -1703.4, 13.1, 1.0, True)
World.ClearArea(2074.984, -1688.556, 15.9215, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 2065.4, -1703.4, 13.1, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_1834
return 

:PSAVE1_1836
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_2012
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1054.645, -1312.281, 14.9353, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1054.271, -1313.2, 15.0617, SwitchType.JumpCut)
World.ClearArea(1038.04, -1339.23, 12.55, 1.0, True)
World.ClearArea(1054.271, -1313.2, 15.0617, 2.0, True)
World.ClearArea($cesarY, $cesarZ, $cat_contact_blip, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 1038.04, -1339.23, 12.55, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_2012
return 

:PSAVE1_2014
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_2172
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(825.1696, -1636.572, 23.1761, 0.0, 0.0, 0.0)
Camera.PointAtPoint(824.351, -1636.051, 22.9332, SwitchType.JumpCut)
World.ClearArea(793.59, -1625.07, 12.38, 1.0, True)
World.ClearArea(824.351, -1636.051, 22.9332, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 793.59, -1625.07, 12.38, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_2172
return 

:PSAVE1_2174
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_2332
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2486.848, -1660.327, 12.5441, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2486.846, -1659.363, 12.8073, SwitchType.JumpCut)
World.ClearArea(2486.94, -1646.76, 13.07, 1.0, True)
World.ClearArea(2486.846, -1659.363, 12.8073, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 2486.94, -1646.76, 13.07, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_2332
return 

:PSAVE1_2334
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_2443
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1792.877, -2105.368, 17.6519, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1793.152, -2106.301, 17.4194, SwitchType.JumpCut)
World.ClearArea(1793.152, -2106.301, 17.4194, 2.0, True)
PSAVE1_1060()

:PSAVE1_2443
return 

:PSAVE1_2445
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_2603
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2187.87, -2269.808, 29.4158, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2188.376, -2269.021, 29.7703, SwitchType.JumpCut)
World.ClearArea(-2194.371, -2256.498, 29.6841, 1.0, True)
World.ClearArea(-2188.376, -2269.021, 29.7703, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, -2194.371, -2256.498, 29.6841, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_2603
return 

:PSAVE1_2605
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_2763
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-919.0773, -1715.624, 78.4517, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-920.0563, -1715.824, 78.4112, SwitchType.JumpCut)
World.ClearArea(-932.2975, -1718.891, 76.5703, 1.0, True)
World.ClearArea(-920.0563, -1715.824, 78.4112, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, -932.2975, -1718.891, 76.5703, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_2763
return 

:PSAVE1_2765
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_2923
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2010.974, 154.9329, 33.4883, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2011.966, 154.9767, 33.3685, SwitchType.JumpCut)
World.ClearArea(-2034.559, 148.8178, 27.8359, 1.0, True)
World.ClearArea(-2011.966, 154.9767, 33.3685, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, -2034.559, 148.8178, 27.8359, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_2923
return 

:PSAVE1_2925
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_3083
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2031.359, 196.2776, 34.812, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2031.639, 195.3477, 34.5735, SwitchType.JumpCut)
World.ClearArea(-2038.51, 178.4871, 27.8359, 1.0, True)
World.ClearArea(-2031.639, 195.3477, 34.5735, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, -2038.51, 178.4871, 27.8359, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_3083
return 

:PSAVE1_3085
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_3243
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2129.186, 640.2543, 72.0002, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2130.102, 640.2417, 71.6005, SwitchType.JumpCut)
World.ClearArea(-2156.56, 645.08, 51.35, 1.0, True)
World.ClearArea(-2130.102, 640.2417, 71.6005, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, -2156.56, 645.08, 51.35, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_3243
return 

:PSAVE1_3245
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_3403
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1979.02, 1004.792, 995.4213, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1978.566, 1003.92, 995.238, SwitchType.JumpCut)
World.ClearArea(1963.4, 972.2, 993.4, 1.0, True)
World.ClearArea(1979.02, 1004.792, 995.4213, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 1963.4, 972.2, 993.4, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_3403
return 

:PSAVE1_3405
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_3563
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1954.571, 1041.494, 993.1794, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1954.962, 1042.414, 993.1676, SwitchType.JumpCut)
World.ClearArea(1963.5, 1063.3, 993.4, 1.0, True)
World.ClearArea(1954.962, 1042.414, 993.1676, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 1963.5, 1063.3, 993.4, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_3563
return 

:PSAVE1_3565
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_3723
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2073.947, 991.3126, 17.4461, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2072.953, 991.4046, 17.5078, SwitchType.JumpCut)
World.ClearArea(2020.0, 1008.83, 9.82, 1.0, True)
World.ClearArea(2072.953, 991.4046, 17.5078, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 2020.0, 1008.83, 9.82, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_3723
return 

:PSAVE1_3725
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_3883
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2601.677, 1386.132, 6.8077, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2602.328, 1386.855, 7.0409, SwitchType.JumpCut)
World.ClearArea(-2624.195, 1410.764, 6.1015, 1.0, True)
World.ClearArea(-2602.328, 1386.855, 7.0409, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, -2624.195, 1410.764, 6.1015, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_3883
return 

:PSAVE1_3885
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_4043
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-690.618, 906.0824, 13.0468, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-690.5204, 907.0766, 13.0919, SwitchType.JumpCut)
World.ClearArea(-684.982, 927.3704, 12.6293, 1.0, True)
World.ClearArea(-690.5204, 907.0766, 13.0919, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, -684.982, 927.3704, 12.6293, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_4043
return 

:PSAVE1_4045
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_4154
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(427.1954, 2527.643, 19.4052, 0.0, 0.0, 0.0)
Camera.PointAtPoint(426.2472, 2527.956, 19.4635, SwitchType.JumpCut)
World.ClearArea(426.2472, 2527.956, 19.4635, 2.0, True)
PSAVE1_1060()

:PSAVE1_4154
return 

:PSAVE1_4156
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_4265
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(330.1037, 2587.75, 18.3215, 0.0, 0.0, 0.0)
Camera.PointAtPoint(330.0515, 2586.753, 18.362, SwitchType.JumpCut)
World.ClearArea(330.0515, 2586.753, 18.362, 2.0, True)
PSAVE1_1060()

:PSAVE1_4265
return 

:PSAVE1_4267
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_4425
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2257.135, 1587.133, 1010.035, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2257.267, 1588.119, 1009.939, SwitchType.JumpCut)
World.ClearArea(2270.6, 1637.9, 1007.3, 1.0, True)
World.ClearArea(2257.267, 1588.119, 1009.939, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 2270.6, 1637.9, 1007.3, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_4425
return 

:PSAVE1_4427
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_4585
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1278.091, -849.6337, 90.7593, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1278.038, -848.6531, 90.5709, SwitchType.JumpCut)
World.ClearArea(1258.158, -785.2752, 91.0302, 1.0, True)
World.ClearArea(1278.038, -848.6531, 90.5709, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 1258.158, -785.2752, 91.0302, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_4585
return 

:PSAVE1_4587
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSAVE1_4745
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2278.004, 134.334, 39.606, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2277.008, 134.356, 39.6897, SwitchType.JumpCut)
World.ClearArea(-2242.812, 128.7572, 34.3203, 1.0, True)
World.ClearArea(-2277.008, 134.356, 39.6897, 2.0, True)
Task.GoStraightToCoord($stattreadstamina_ctr, -2242.812, 128.7572, 34.3203, MoveState.Walk, 3000)
PSAVE1_1060()

:PSAVE1_4745
return 

:HELP
script_name 'HELP'

:HELP_11
wait 70
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_2194
if 
  $cj_vomits_for_menace == 1
goto_if_false @HELP_2194
if 
  $stat_read_skill_temp == 0
goto_if_false @HELP_451
if 
  Pickup.HasBeenCollected($hyfra_gen1)
goto_if_false @HELP_259
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_110
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)

:HELP_110
Camera.SetFixedPosition(2022.613, -1432.05, 17.6541, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2022.989, -1431.124, 17.6552, SwitchType.JumpCut)
Pickup.Remove($hyfra_gen1)
Pickup.Remove($total_food_bought_per_day_shops)
Text.ClearHelp
Text.PrintHelpForever('HOSP_1')
wait 8000
Text.PrintHelpForever('HOSP_2')
wait 8000
Text.PrintHelpForever('HOSP_3')
wait 8000
Text.ClearHelp
$stat_read_skill_temp = 1
Camera.RestoreJumpcut
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_259
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)

:HELP_259
if 
  Pickup.HasBeenCollected($total_food_bought_per_day_shops)
goto_if_false @HELP_451
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_302
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)

:HELP_302
Camera.SetFixedPosition(1184.347, -1313.489, 19.7079, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1183.645, -1314.089, 19.3248, SwitchType.JumpCut)
Pickup.Remove($hyfra_gen1)
Pickup.Remove($total_food_bought_per_day_shops)
Text.ClearHelp
Text.PrintHelpForever('HOSP_1')
wait 8000
Text.PrintHelpForever('HOSP_2')
wait 8000
Text.PrintHelpForever('HOSP_3')
wait 8000
Text.ClearHelp
Camera.RestoreJumpcut
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_444
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)

:HELP_444
$stat_read_skill_temp = 1

:HELP_451
if 
  $big_smoke == 0
goto_if_false @HELP_672
if 
  Pickup.HasBeenCollected($skip_shopping_wait)
goto_if_false @HELP_672
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_512
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)

:HELP_512
Camera.SetFixedPosition(1536.577, -1687.134, 26.7069, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1537.295, -1686.564, 26.3081, SwitchType.JumpCut)
Pickup.Remove($skip_shopping_wait)
Text.ClearHelp
Text.PrintHelpForever('BUST_1')
wait 8000
Text.PrintHelpForever('BUST_2')
wait 8000
Text.PrintHelpForever('BUST_3')
wait 8000
Text.PrintHelpForever('BUST_4')
wait 8000
Text.ClearHelp
Camera.RestoreJumpcut
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_665
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)

:HELP_665
$big_smoke = 1

:HELP_672
if 
  $cs_time == 0
goto_if_false @HELP_724
if 
  Pickup.HasBeenCollected($blob_flag_shop)
goto_if_false @HELP_724
Text.PrintHelp('CHATBAK')
$cs_time = 1

:HELP_724
if 
  7 > $instructor_car_heading_int
goto_if_false @HELP_1256
if 
  $instructor_car_heading_int == 0
goto_if_false @HELP_815
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_815
if 
  Char.IsSwimming($stattreadstamina_ctr)
goto_if_false @HELP_815
Text.PrintHelp('WZI2_A0')
$instructor_car_heading_int = 1
wait 5000

:HELP_815
if 
  $instructor_car_heading_int == 1
goto_if_false @HELP_888
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_888
if 
  Char.IsSwimming($stattreadstamina_ctr)
goto_if_false @HELP_888
Text.PrintHelp('WZI2_A5')
$instructor_car_heading_int = 2
wait 5000

:HELP_888
if 
  $instructor_car_heading_int == 2
goto_if_false @HELP_961
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_961
if 
  Char.IsSwimming($stattreadstamina_ctr)
goto_if_false @HELP_961
Text.PrintHelp('WZI2_A6')
$instructor_car_heading_int = 3
wait 5000

:HELP_961
if 
  $instructor_car_heading_int == 3
goto_if_false @HELP_1034
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_1034
if 
  Char.IsSwimming($stattreadstamina_ctr)
goto_if_false @HELP_1034
Text.PrintHelp('WZI2_A1')
$instructor_car_heading_int = 4
wait 5000

:HELP_1034
if 
  $instructor_car_heading_int == 4
goto_if_false @HELP_1115
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_1115
if 
  Char.IsSwimming($stattreadstamina_ctr)
goto_if_false @HELP_1115
Text.PrintHelp('WZI2_A2')
Hud.FlashObject(HudObject.Breathbar)
wait 5000
$instructor_car_heading_int = 5
Hud.FlashObject(-1)

:HELP_1115
if 
  $instructor_car_heading_int == 5
goto_if_false @HELP_1188
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_1188
if 
  Char.IsSwimming($stattreadstamina_ctr)
goto_if_false @HELP_1188
Text.PrintHelp('WZI2_A3')
$instructor_car_heading_int = 6
wait 5000

:HELP_1188
if 
  $instructor_car_heading_int == 6
goto_if_false @HELP_1256
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_1256
if 
  Char.IsSwimming($stattreadstamina_ctr)
goto_if_false @HELP_1256
Text.PrintHelp('WZI2_A7')
$instructor_car_heading_int = 7

:HELP_1256
if 
  $flag_menace_buyfood == 0
goto_if_false @HELP_1393
wait 2000
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_1350
if 
  $Return_cities_passed == 0
goto_if_false @HELP_1350
if 
  Char.IsInModel($stattreadstamina_ctr, 481)
goto_if_false @HELP_1350
Text.PrintHelp('INTRO2F')
$Return_cities_passed = 1

:HELP_1350
wait 5000
Text.PrintHelp('HELP42')
Hud.FlashObject(HudObject.Radar)
wait 7000
Hud.FlashObject(-1)
$flag_menace_buyfood = 1
goto @HELP_2120

:HELP_1393
if 
  $mod_garage_blip == 0
goto_if_false @HELP_1452
if 
  $flag_crash_mission_counter == 1
goto_if_false @HELP_1452
wait 4000
Text.PrintHelp('SPRAY_C')
$mod_garage_blip = 1

:HELP_1452
if 
  $trigger_final_LA2_missions == 1
goto_if_false @HELP_1578
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_1578
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $sweetY, $sweetZ, $ryderX, 25.0, 25.0, 5.0, False)
goto_if_false @HELP_1578
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HELP_1555
Text.PrintHelp('HELP21B')

:HELP_1555
wait 5000
Text.PrintHelp('HELP44')
$trigger_final_LA2_missions = 2

:HELP_1578
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_1670
if 
  $Return_cities_passed == 0
goto_if_false @HELP_1670
if or
  Char.IsInModel($stattreadstamina_ctr, 481)
  Char.IsInModel($stattreadstamina_ctr, 509)
  Char.IsInModel($stattreadstamina_ctr, 510)
goto_if_false @HELP_1670
wait 2000
Text.PrintHelp('INTRO2F')
$Return_cities_passed = 1

:HELP_1670
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_2120
if 
  $driving_test_passed == 0
goto_if_false @HELP_1808
if or
  Char.IsInModel($stattreadstamina_ctr, 481)
  Char.IsInModel($stattreadstamina_ctr, 509)
  Char.IsInModel($stattreadstamina_ctr, 510)
goto_if_false @HELP_1808
if and
  $driving_test_passed == 0
  $Return_cities_passed == 1
goto_if_false @HELP_1808
wait 6000
Text.PrintHelp('HELP5_A')
wait 8000
Text.PrintHelp('HELP27')
wait 2000
$driving_test_passed = 1

:HELP_1808
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_2120
if 
  $flag_sweet_mission_counter > 0
goto_if_false @HELP_2120
if 
  $courier_timer == 0
goto_if_false @HELP_1949
if 
  $returned_respect == 0
goto_if_false @HELP_1949
if 
  not Char.IsOnAnyBike($stattreadstamina_ctr)
goto_if_false @HELP_1949
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HELP_1949
wait 2000
Text.PrintHelp('GF_RAD')
wait 5000
Text.PrintHelp('HELP56')
$courier_timer = 1

:HELP_1949
if 
  $pilot_test_passed == 0
goto_if_false @HELP_2120
if 
  $courier_timer == 1
goto_if_false @HELP_2120
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HELP_2120
$returned_respect = Streaming.GetAreaVisible()
if 
  $returned_respect == 0
goto_if_false @HELP_2120
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsOnAnyBike($stattreadstamina_ctr)
goto_if_false @HELP_2120
if or
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.MicroUzi)
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Mp5)
goto_if_false @HELP_2120
Text.PrintHelp('HELP31')
wait 6000
Text.PrintHelp('HELP32')
wait 6000
Text.PrintHelp('HELP34')
$pilot_test_passed = 1

:HELP_2120
if 
  $pilot_test_passed == 1
goto_if_false @HELP_2194
if 
  $courier_timer == 1
goto_if_false @HELP_2194
if 
  $trigger_final_LA2_missions == 1
goto_if_false @HELP_2194
if 
  $cs_time == 1
goto_if_false @HELP_2194
terminate_this_script 

:HELP_2194
goto @HELP_11

:INTROST
script_name 'INTROST'

:INTROST_11
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @INTROST_848
if 
  $weapon_shop1_blip == 0
goto_if_false @INTROST_848
if 
  $trigger_final_LA2_missions == 0
goto_if_false @INTROST_343
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @INTROST_343
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2471.7, -1668.0, 12.3, 90.0, 40.0, 4.0, False)
goto_if_false @INTROST_343
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 43205)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 43206)

:INTROST_149
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @INTROST_198
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @INTROST_191
goto @INTROST_336

:INTROST_191
goto @INTROST_149

:INTROST_198
Text.PrintNow('VO_AF', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:INTROST_218
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @INTROST_267
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @INTROST_260
goto @INTROST_336

:INTROST_260
goto @INTROST_218

:INTROST_267
Text.PrintNow('VO_AG', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)

:INTROST_287
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @INTROST_336
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @INTROST_329
goto @INTROST_336

:INTROST_329
goto @INTROST_287

:INTROST_336
$trigger_final_LA2_missions = 1

:INTROST_343
if 
  $player_x == 0
goto_if_false @INTROST_407
if 
  $flag_sweet_mission_counter == 1
goto_if_false @INTROST_407
wait 5000
Text.PrintNow('INT_CJ1', 8000, 1)
$player_x = 1

:INTROST_407
if 
  $player_x == 1
goto_if_false @INTROST_638
if 
  $flag_sweet_mission_counter == 1
goto_if_false @INTROST_638
$returned_respect = Streaming.GetAreaVisible()
if 
  $returned_respect == 3
goto_if_false @INTROST_638
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @INTROST_638
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2496.051, -1698.013, 1013.75, 10.0, 10.0, 5.0, False)
goto_if_false @INTROST_638
Player.SetControl($statbike_temp, False)
Text.ClearPrints
Camera.SetFixedPosition(2496.38, -1694.334, 1015.431, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2496.368, -1695.325, 1015.299, SwitchType.JumpCut)
Text.PrintHelp('SAVE')
wait 5000
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @INTROST_638
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
$player_x = 2

:INTROST_638
if 
  $player_x == 2
goto_if_false @INTROST_848
if 
  $flag_sweet_mission_counter == 1
goto_if_false @INTROST_848
$returned_respect = Streaming.GetAreaVisible()
if 
  $returned_respect == 0
goto_if_false @INTROST_848
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @INTROST_848
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2495.33, -1689.183, 13.2716, 20.0, 20.0, 6.0, False)
goto_if_false @INTROST_848
terminate_all_scripts_with_this_name 'INT'
start_new_script @INT 
Blip.Remove($ryder_blip_icon)
$ryder_blip_icon = Blip.AddSpriteForContactPoint($smokeY, $smokeZ, $strapX, $cesar_blip_icon)
Text.PrintNow('INT2_1', 8000, 1)
wait 2000
Text.PrintHelp('RYBLIP')
wait 4000
$player_x = 3
terminate_this_script 

:INTROST_848
goto @INTROST_11

:FLOW
script_name 'FLOW'

:FLOW_11
wait 1000
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @FLOW_959
if 
  $weapon_shop1_blip == 0
goto_if_false @FLOW_959
if 
  $airstrip_contact_blip == 0
goto_if_false @FLOW_111
if 
  $introY == 1
goto_if_false @FLOW_111
wait 5500
Text.ClearHelp
Text.PrintHelp('GF_H000')
$airstrip_contact_blip = 1

:FLOW_111
if 
  $voice_over_at_hub == 0
goto_if_false @FLOW_190
if 
  $zeroX == 1
goto_if_false @FLOW_190
wait 6000
Text.ClearHelp
Text.PrintHelp('VAL_HLP')
wait 5000
Text.ClearHelp
Text.PrintHelp('VAL_GOT')
$voice_over_at_hub = 1

:FLOW_190
if 
  $showroom_contact_blip == 0
goto_if_false @FLOW_251
if 
  $main_visible_area_char == 1
goto_if_false @FLOW_251
wait 6000
Text.ClearHelp
Text.PrintHelp('TRUCK_H')
$showroom_contact_blip = 1

:FLOW_251
if 
  $stop_gargae_for_neil == 0
goto_if_false @FLOW_312
if 
  $introX > 1
goto_if_false @FLOW_312
wait 6000
Text.ClearHelp
Text.PrintHelp('STELF')
$stop_gargae_for_neil = 1

:FLOW_312
if 
  $mansionZ == 0
goto_if_false @FLOW_373
if 
  $desert2X == 2
goto_if_false @FLOW_373
wait 6000
Text.ClearHelp
Text.PrintHelp('GIMPGOT')
$mansionZ = 1

:FLOW_373
if 
  $one_sixtyfourth == 0
goto_if_false @FLOW_434
if 
  $garageZ == 1
goto_if_false @FLOW_434
wait 6000
Text.ClearHelp
Text.PrintHelp('SECRET')
$one_sixtyfourth = 1

:FLOW_434
if 
  $203 == 0
goto_if_false @FLOW_495
if 
  $desert2X == 6
goto_if_false @FLOW_495
wait 6000
Text.ClearHelp
Text.PrintHelp('CRO_GOT')
$203 = 1

:FLOW_495
if 
  $intro_bmx_blip == 0
goto_if_false @FLOW_658
if 
  $flag_crash_mission_counter == 9
goto_if_false @FLOW_658
if 
  $flag_la1fin1_mission_counter == 4
goto_if_false @FLOW_658
if 
  $introX == 5
goto_if_false @FLOW_658
if 
  $flag_cesar_mission_counter == 3
goto_if_false @FLOW_658
if 
  $introY == 2
goto_if_false @FLOW_658
if 
  $introZ == 1
goto_if_false @FLOW_658
start_new_script @LA1FIN 
Blip.Remove($intro_contact_blip)
$intro_contact_blip = Blip.AddSpriteForContactPoint($ryderY, $ryderZ, $smokeX, $strap_blip_icon)
$intro_bmx_blip = 1

:FLOW_658
if 
  $oddjob_help_flag == 0
goto_if_false @FLOW_730
if and
  $zeroX == 1
  $garageZ == 6
goto_if_false @FLOW_730
Blip.Remove($garage_blip_icon)
$garage_blip_icon = Blip.AddSpriteForContactPoint($zeroY, $zeroZ, $wuziX, $flag_intro_mission_counter)
$oddjob_help_flag = 1

:FLOW_730
if 
  $R3_player_car == 0
goto_if_false @FLOW_800
if 
  $garageZ == 5
goto_if_false @FLOW_800
Blip.Remove($530)
Blip.Remove($garage_blip_icon)
$garage_blip_icon = Blip.AddSpriteForContactPoint($zeroY, $zeroZ, $wuziX, $flag_garage_mission_counter)
$R3_player_car = 1

:FLOW_800
if 
  $car == 0
goto_if_false @FLOW_872
if and
  $garageZ == 9
  $garageX == 5
goto_if_false @FLOW_872
Blip.Remove($garage_blip_icon)
$garage_blip_icon = Blip.AddSpriteForContactPoint($zeroY, $zeroZ, $wuziX, $flag_garage_mission_counter)
$car = 1

:FLOW_872
if 
  $trucking_help_flag == 0
goto_if_false @FLOW_959
if and
  $got_gimp_suit == 2
  $boat_school_blip == 4
goto_if_false @FLOW_959
start_new_script @RIOT 
Blip.Remove($flag_grove_mission_counter)
Blip.Remove($flag_mansion_mission_counter)
$flag_mansion_mission_counter = Blip.AddSpriteForContactPoint($groveY, $groveZ, $RouletteX, $quarry_contact_blip)
$trucking_help_flag = 1
terminate_this_script 

:FLOW_959
goto @FLOW_11

:DOORS
script_name 'DOORS'
wait 0
  Object.Rotate($2713, 0.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_165
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1852.0, -1990.7, 1849.8, -1989.6, False)
goto_if_false @DOORS_165
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_134
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1854.0, -1990.0, 12.5)

:DOORS_134
Camera.DoFade(500, Fade.In)

:DOORS_141
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_165
wait 0
goto @DOORS_141

:DOORS_165
  Object.Rotate($2714, 270.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_315
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1867.3, -1985.2, 1868.2, -1982.7, False)
goto_if_false @DOORS_315
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_284
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1867.4, -1987.1, 12.5)

:DOORS_284
Camera.DoFade(500, Fade.In)

:DOORS_291
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_315
wait 0
goto @DOORS_291

:DOORS_315
  Object.Rotate($2715, 90.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_465
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1866.5, -1998.3, 1865.4, -2000.4, False)
goto_if_false @DOORS_465
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_434
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1866.0, -1996.7, 12.5)

:DOORS_434
Camera.DoFade(500, Fade.In)

:DOORS_441
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_465
wait 0
goto @DOORS_441

:DOORS_465
  Object.Rotate($2716, 270.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_615
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1899.6, -1985.2, 1900.9, -1982.7, False)
goto_if_false @DOORS_615
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_584
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1899.8, -1986.7, 12.5)

:DOORS_584
Camera.DoFade(500, Fade.In)

:DOORS_591
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_615
wait 0
goto @DOORS_591

:DOORS_615
  Object.Rotate($2717, 180.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_765
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1914.1, -1992.7, 1916.8, -1994.2, False)
goto_if_false @DOORS_765
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_734
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1912.3, -1993.2, 12.5)

:DOORS_734
Camera.DoFade(500, Fade.In)

:DOORS_741
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_765
wait 0
goto @DOORS_741

:DOORS_765
  Object.Rotate($2718, 90.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_915
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1899.0, -1998.1, 1897.9, -2000.4, False)
goto_if_false @DOORS_915
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_884
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1898.7, -1996.1, 12.5)

:DOORS_884
Camera.DoFade(500, Fade.In)

:DOORS_891
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_915
wait 0
goto @DOORS_891

:DOORS_915
  Object.Rotate($2719, 0.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1065
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1901.0, -2020.1, 1899.1, -2019.1, False)
goto_if_false @DOORS_1065
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1034
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1902.7, -2019.6, 12.5)

:DOORS_1034
Camera.DoFade(500, Fade.In)

:DOORS_1041
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_1065
wait 0
goto @DOORS_1041

:DOORS_1065
  Object.Rotate($2720, 180.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1215
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1914.1, -2020.8, 1916.2, -2021.8, False)
goto_if_false @DOORS_1215
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1184
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1912.4, -2021.3, 12.5)

:DOORS_1184
Camera.DoFade(500, Fade.In)

:DOORS_1191
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_1215
wait 0
goto @DOORS_1191

:DOORS_1215
  Object.Rotate($carterwall, 90.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1365
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1906.5, -2035.3, 1905.5, -2037.2, False)
goto_if_false @DOORS_1365
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1334
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1905.8, -2033.4, 12.5)

:DOORS_1334
Camera.DoFade(500, Fade.In)

:DOORS_1341
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_1365
wait 0
goto @DOORS_1341

:DOORS_1365
  Object.Rotate($sf_crane1_base, 0.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1515
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1852.0, -2020.1, 1850.1, -2019.2, False)
goto_if_false @DOORS_1515
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1484
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1853.7, -2019.4, 12.5)

:DOORS_1484
Camera.DoFade(500, Fade.In)

:DOORS_1491
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_1515
wait 0
goto @DOORS_1491

:DOORS_1515
  Object.Rotate($sf_crane1_arm, 180.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1665
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1865.0, -2020.7, 1867.1, -2021.8, False)
goto_if_false @DOORS_1665
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1634
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1863.0, -2021.3, 12.5)

:DOORS_1634
Camera.DoFade(500, Fade.In)

:DOORS_1641
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_1665
wait 0
goto @DOORS_1641

:DOORS_1665
  Object.Rotate($sf_crane1_trolley, 90.0, 360.0, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1815
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1857.6, -2035.2, 1856.5, -2037.2, False)
goto_if_false @DOORS_1815
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DOORS_1784
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1857.1, -2033.3, 12.5)

:DOORS_1784
Camera.DoFade(500, Fade.In)

:DOORS_1791
if 
  Camera.GetFadingStatus
goto_if_false @DOORS_1815
wait 0
goto @DOORS_1791

:DOORS_1815
terminate_this_script 

:BACKON
script_name 'BACKON'
wait 5000
Stat.ShowUpdateStats(True)
terminate_this_script 

:CASHWIN
script_name 'CASHWIN'
$RStickY = Clock.GetGameTimer()
if 
  1@ == 0
goto_if_false @CASHWIN_57
set_lvar_int_to_var_int 3@ = $RStickY
3@ += 3000
goto @CASHWIN_73

:CASHWIN_57
set_lvar_int_to_var_int 3@ = $RStickY
add_int_lvar_to_int_lvar 3@ += 1@

:CASHWIN_73
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @CASHWIN_95
terminate_this_script 

:CASHWIN_95
$RStickY = Clock.GetGameTimer()
if 
  is_int_var_greater_than_int_lvar $RStickY > 3@
goto_if_false @CASHWIN_121
terminate_this_script 

:CASHWIN_121
if 
  0@ == 0
goto_if_false @CASHWIN_234
CASHWIN_576()
Text.SetColor(180, 180, 180, 255)
if 
  2@ == 69
goto_if_false @CASHWIN_206
Text.Display(320.0, 180.333, 'BJ_PUSH')
goto @CASHWIN_227

:CASHWIN_206
Text.Display(320.0, 180.333, 'NOWIN')

:CASHWIN_227
goto @CASHWIN_569

:CASHWIN_234
if 
  0@ > 0
goto_if_false @CASHWIN_422
CASHWIN_576()
switch_start 2@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @CASHWIN_384 {caseNum1} 45 {caseLabel1} @CASHWIN_322 {caseNum2} 80 {caseLabel2} @CASHWIN_353 {caseNum3} -1 {caseLabel3} @CASHWIN_415 {caseNum4} -1 {caseLabel4} @CASHWIN_415 {caseNum5} -1 {caseLabel5} @CASHWIN_415 {caseNum6} -1 {caseLabel6} @CASHWIN_415 {caseNum7} -1 {caseLabel7} @CASHWIN_415

:CASHWIN_322
Text.DisplayWithNumber(320.0, 155.333, 'ALLRACE', 0@)
goto @CASHWIN_415

:CASHWIN_353
Text.DisplayWithNumber(320.0, 155.333, 'PL_07', 0@)
goto @CASHWIN_415

:CASHWIN_384
Text.DisplayWithNumber(320.0, 155.333, 'WINNER', 0@)
goto @CASHWIN_415

:CASHWIN_415
goto @CASHWIN_569

:CASHWIN_422
set_var_int_to_lvar_int $an = 0@
$an *= -1
CASHWIN_576()
switch_start 2@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @CASHWIN_538 {caseNum1} 80 {caseLabel1} @CASHWIN_507 {caseNum2} -1 {caseLabel2} @CASHWIN_569 {caseNum3} -1 {caseLabel3} @CASHWIN_569 {caseNum4} -1 {caseLabel4} @CASHWIN_569 {caseNum5} -1 {caseLabel5} @CASHWIN_569 {caseNum6} -1 {caseLabel6} @CASHWIN_569 {caseNum7} -1 {caseLabel7} @CASHWIN_569

:CASHWIN_507
Text.DisplayWithNumber(320.0, 155.333, 'PL_10', $an)
goto @CASHWIN_569

:CASHWIN_538
Text.DisplayWithNumber(320.0, 155.333, 'LOSER', $an)
goto @CASHWIN_569

:CASHWIN_569
goto @CASHWIN_73

:CASHWIN_576
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
Text.SetScale(1.3, 3.36)
Text.SetCenter(True)
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetFont(Font.Pricedown)
$temp_float_1, $temp_float_2, $temp_float_3, $x_temp = Hud.GetColor(6)
Text.SetColor($temp_float_1, $temp_float_2, $temp_float_3, 255)
return 

:CRANES
script_name 'CRANES'
goto @CRANES_40
$magno_cabin_LOD = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)

:CRANES_40
wait 100
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANES_507
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2080.441, 256.015, 10.0, 10.0, False)
goto_if_false @CRANES_168
0@ = StreamedScript.GetNumberOfInstances(67)
if 
  0@ == 0
goto_if_false @CRANES_164
StreamedScript.Stream(67)
if 
  StreamedScript.HasLoaded(67)
goto_if_false @CRANES_157
StreamedScript.StartNew(67, $sf_crane1_arm_LOD)
0@ += 1

:CRANES_157
goto @CRANES_168

:CRANES_164
StreamedScript.MarkAsNoLongerNeeded(67)

:CRANES_168
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2399.202, 1879.139, 10.0, 10.0, False)
goto_if_false @CRANES_276
0@ = StreamedScript.GetNumberOfInstances(67)
if 
  0@ == 0
goto_if_false @CRANES_272
StreamedScript.Stream(67)
if 
  StreamedScript.HasLoaded(67)
goto_if_false @CRANES_265
StreamedScript.StartNew(67, $lv_arm_LOD)
0@ += 1

:CRANES_265
goto @CRANES_276

:CRANES_272
StreamedScript.MarkAsNoLongerNeeded(67)

:CRANES_276
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @CRANES_393
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, $magno_cabin_LOD, 50.0, 50.0, False)
goto_if_false @CRANES_393
0@ = StreamedScript.GetNumberOfInstances(68)
if 
  0@ == 0
goto_if_false @CRANES_389
StreamedScript.Stream(68)
if 
  StreamedScript.HasLoaded(68)
goto_if_false @CRANES_382
StreamedScript.StartNew(68, $magno_cabin_LOD)
0@ += 1

:CRANES_382
goto @CRANES_393

:CRANES_389
StreamedScript.MarkAsNoLongerNeeded(68)

:CRANES_393
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 709.45, 915.93, 10.0, 10.0, False)
goto_if_false @CRANES_507
0@ = StreamedScript.GetNumberOfInstances(69)
if 
  0@ == 0
goto_if_false @CRANES_503
StreamedScript.Stream(69)
if 
  StreamedScript.HasLoaded(69)
goto_if_false @CRANES_496
StreamedScript.StartNew(69, $lv_arm, $lv_trolley, $lv_base_LOD)
0@ += 1

:CRANES_496
goto @CRANES_507

:CRANES_503
StreamedScript.MarkAsNoLongerNeeded(69)

:CRANES_507
goto @CRANES_40

:ENTEXT
script_name 'ENTEXT'
0@ = -1

:ENTEXT_18
if 
  not is_int_lvar_equal_to_int_var 0@ == $bball_r3_is_pressed
goto_if_false @ENTEXT_53
wait 0
0@ = Streaming.GetAreaVisible()
goto @ENTEXT_18

:ENTEXT_53
World.SwitchEntryExit(s$lowrider_pscore, $lowrider_game_is_active)
terminate_this_script 

:ENTEXT_63
$played_scipted_airscript_cut = 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @ENTEXT_212
if 
  $returned_respect == 0
goto_if_false @ENTEXT_212
if 
  $RStickX == 0
goto_if_false @ENTEXT_212
if 
  $flag_returned_shoehorses == 0
goto_if_false @ENTEXT_212
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @ENTEXT_212
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 20
goto_if_false @ENTEXT_212
if 
  not Game.IsMinigameInProgress
goto_if_false @ENTEXT_212
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @ENTEXT_212
$played_scipted_airscript_cut = 1

:ENTEXT_212
return 

:ENTEXT_214
$main_visible_area = 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @ENTEXT_449
if 
  $weapon_shop1_blip == 0
goto_if_false @ENTEXT_449
if 
  $returned_respect == 0
goto_if_false @ENTEXT_449
if 
  $RStickX == 0
goto_if_false @ENTEXT_449
if 
  $flag_returned_shoehorses == 0
goto_if_false @ENTEXT_449
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @ENTEXT_449
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 20
goto_if_false @ENTEXT_449
if 
  not Game.IsMinigameInProgress
goto_if_false @ENTEXT_449
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @ENTEXT_449
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @ENTEXT_449
if 
  not Game.IsGangWarFightingGoingOn
goto_if_false @ENTEXT_449
if 
  not Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @ENTEXT_449
$flag_courier_trigger = Clock.GetGameTimer()
set_var_int_to_var_int $flag_airrace_mission_passed = $flag_courier_trigger
sub_int_var_from_int_var $flag_airrace_mission_passed -= $flag_courier_mission_passed
$main_visible_area = 1

:ENTEXT_449
return 

:OPENUP
script_name 'OPENUP'

:OPENUP_11
wait 2000
if 
  $trigger_phonecall_failed > 0
goto_if_false @OPENUP_311
if 
  $opened_la2_up == 0
goto_if_false @OPENUP_311
OPENUP_1660()
$1689[8] = Pickup.CreateForSaleProperty($1528[8], $1560[8], $1592[8], $1665, 'PROP_3')
$1633 = Blip.AddShortRangeSpriteForContactPoint($1528[8], $1560[8], $1592[8], RadarSprite.PropertyG)
Blip.ChangeDisplay($1633, BlipDisplay.BlipOnly)
$1689[19] = Pickup.CreateForSaleProperty($1528[19], $1560[19], $1592[19], $1676, 'PROP_3')
$1644 = Blip.AddShortRangeSpriteForContactPoint($1528[19], $1560[19], $1592[19], RadarSprite.PropertyG)
Blip.ChangeDisplay($1644, BlipDisplay.BlipOnly)
$1689[22] = Pickup.CreateForSaleProperty($1528[22], $1560[22], $1592[22], $1679, 'PROP_3')
$1647 = Blip.AddShortRangeSpriteForContactPoint($1528[22], $1560[22], $1592[22], RadarSprite.PropertyG)
Blip.ChangeDisplay($1647, BlipDisplay.BlipOnly)
$1689[25] = Pickup.CreateForSaleProperty($1528[25], $1560[25], $1592[25], $1682, 'PROP_3')
$1650 = Blip.AddShortRangeSpriteForContactPoint($1528[25], $1560[25], $1592[25], RadarSprite.PropertyG)
Blip.ChangeDisplay($1650, BlipDisplay.BlipOnly)
$1689[31] = Pickup.CreateForSaleProperty($1528[31], $1560[31], $1592[31], $1688, 'PROP_3')
$1656 = Blip.AddShortRangeSpriteForContactPoint($1528[31], $1560[31], $1592[31], RadarSprite.PropertyG)
Blip.ChangeDisplay($1656, BlipDisplay.BlipOnly)
$opened_la2_up = 1

:OPENUP_311
if 
  $trigger_phonecall_failed > 0
goto_if_false @OPENUP_781
if or
  $bcrashY > 1
  $tag_percentage == 1
goto_if_false @OPENUP_781
if 
  $flag_mtbike_trigger == 0
goto_if_false @OPENUP_781
OPENUP_1712()
$1689[11] = Pickup.CreateForSaleProperty($1528[11], $1560[11], $1592[11], $1668, 'PROP_3')
$1636 = Blip.AddShortRangeSpriteForContactPoint($1528[11], $1560[11], $1592[11], RadarSprite.PropertyG)
Blip.ChangeDisplay($1636, BlipDisplay.BlipOnly)
$1689[13] = Pickup.CreateForSaleProperty($1528[13], $1560[13], $1592[13], $1670, 'PROP_3')
$1638 = Blip.AddShortRangeSpriteForContactPoint($1528[13], $1560[13], $1592[13], RadarSprite.PropertyG)
Blip.ChangeDisplay($1638, BlipDisplay.BlipOnly)
$1689[14] = Pickup.CreateForSaleProperty($1528[14], $1560[14], $1592[14], $1671, 'PROP_3')
$1639 = Blip.AddShortRangeSpriteForContactPoint($1528[14], $1560[14], $1592[14], RadarSprite.PropertyG)
Blip.ChangeDisplay($1639, BlipDisplay.BlipOnly)
$1689[18] = Pickup.CreateForSaleProperty($1528[18], $1560[18], $1592[18], $1675, 'PROP_3')
$1643 = Blip.AddShortRangeSpriteForContactPoint($1528[18], $1560[18], $1592[18], RadarSprite.PropertyG)
Blip.ChangeDisplay($1643, BlipDisplay.BlipOnly)
$1689[20] = Pickup.CreateForSaleProperty($1528[20], $1560[20], $1592[20], $1677, 'PROP_3')
$1645 = Blip.AddShortRangeSpriteForContactPoint($1528[20], $1560[20], $1592[20], RadarSprite.PropertyG)
Blip.ChangeDisplay($1645, BlipDisplay.BlipOnly)
$1689[21] = Pickup.CreateForSaleProperty($1528[21], $1560[21], $1592[21], $1678, 'PROP_3')
$1646 = Blip.AddShortRangeSpriteForContactPoint($1528[21], $1560[21], $1592[21], RadarSprite.PropertyG)
Blip.ChangeDisplay($1646, BlipDisplay.BlipOnly)
$2636 = Blip.AddShortRangeSpriteForCoord(1458.7, -1140.0, 24.2, RadarSprite.Tshirt)
$2637 = Blip.AddShortRangeSpriteForCoord(-1886.1, 862.4, 35.2, RadarSprite.Tshirt)
$2638 = Blip.AddShortRangeSpriteForCoord(2574.3, 1901.7, 11.0, RadarSprite.Tshirt)
$2639 = Blip.AddShortRangeSpriteForCoord(2090.5, 2221.0, 11.0, RadarSprite.Tshirt)
World.SwitchEntryExit('CLOTHGP', True)
$flag_mtbike_trigger = 1

:OPENUP_781
if 
  $trigger_phonecall_failed > 1
goto_if_false @OPENUP_978
if 
  $bmx_1_x == 0
goto_if_false @OPENUP_978
OPENUP_1774()
$1689[5] = Pickup.CreateForSaleProperty($1528[5], $1560[5], $1592[5], $1662, 'PROP_3')
$1630 = Blip.AddShortRangeSpriteForContactPoint($1528[5], $1560[5], $1592[5], RadarSprite.PropertyG)
Blip.ChangeDisplay($1630, BlipDisplay.BlipOnly)
$1689[23] = Pickup.CreateForSaleProperty($1528[23], $1560[23], $1592[23], $1680, 'PROP_3')
$1648 = Blip.AddShortRangeSpriteForContactPoint($1528[23], $1560[23], $1592[23], RadarSprite.PropertyG)
Blip.ChangeDisplay($1648, BlipDisplay.BlipOnly)
$1689[24] = Pickup.CreateForSaleProperty($1528[24], $1560[24], $1592[24], $1681, 'PROP_3')
$1649 = Blip.AddShortRangeSpriteForContactPoint($1528[24], $1560[24], $1592[24], RadarSprite.PropertyG)
Blip.ChangeDisplay($1649, BlipDisplay.BlipOnly)
$bmx_1_x = 1

:OPENUP_978
if 
  $trigger_phonecall_failed > 1
goto_if_false @OPENUP_1573
if or
  $loan_shark_reminder == 1
  $tag_percentage == 1
goto_if_false @OPENUP_1573
if 
  $flag_kickstart_mission1_passed == 0
goto_if_false @OPENUP_1573
OPENUP_1806()
$1689[4] = Pickup.CreateForSaleProperty($1528[4], $1560[4], $1592[4], $1661, 'PROP_3')
$1629 = Blip.AddShortRangeSpriteForContactPoint($1528[4], $1560[4], $1592[4], RadarSprite.PropertyG)
Blip.ChangeDisplay($1629, BlipDisplay.BlipOnly)
$1689[6] = Pickup.CreateForSaleProperty($1528[6], $1560[6], $1592[6], $1663, 'PROP_3')
$1631 = Blip.AddShortRangeSpriteForContactPoint($1528[6], $1560[6], $1592[6], RadarSprite.PropertyG)
Blip.ChangeDisplay($1631, BlipDisplay.BlipOnly)
$1689[7] = Pickup.CreateForSaleProperty($1528[7], $1560[7], $1592[7], $1664, 'PROP_3')
$1632 = Blip.AddShortRangeSpriteForContactPoint($1528[7], $1560[7], $1592[7], RadarSprite.PropertyG)
Blip.ChangeDisplay($1632, BlipDisplay.BlipOnly)
$1689[9] = Pickup.CreateForSaleProperty($1528[9], $1560[9], $1592[9], $1666, 'PROP_3')
$1634 = Blip.AddShortRangeSpriteForContactPoint($1528[9], $1560[9], $1592[9], RadarSprite.PropertyG)
Blip.ChangeDisplay($1634, BlipDisplay.BlipOnly)
$1689[16] = Pickup.CreateForSaleProperty($1528[16], $1560[16], $1592[16], $1673, 'PROP_3')
$1641 = Blip.AddShortRangeSpriteForContactPoint($1528[16], $1560[16], $1592[16], RadarSprite.PropertyG)
Blip.ChangeDisplay($1641, BlipDisplay.BlipOnly)
$1689[17] = Pickup.CreateForSaleProperty($1528[17], $1560[17], $1592[17], $1674, 'PROP_3')
$1642 = Blip.AddShortRangeSpriteForContactPoint($1528[17], $1560[17], $1592[17], RadarSprite.PropertyG)
Blip.ChangeDisplay($1642, BlipDisplay.BlipOnly)
$1689[27] = Pickup.CreateForSaleProperty($1528[27], $1560[27], $1592[27], $1684, 'PROP_3')
$1652 = Blip.AddShortRangeSpriteForContactPoint($1528[27], $1560[27], $1592[27], RadarSprite.PropertyG)
Blip.ChangeDisplay($1652, BlipDisplay.BlipOnly)
$1689[28] = Pickup.CreateForSaleProperty($1528[28], $1560[28], $1592[28], $save_housepickup, 'PROP_3')
$save_houseprice = Blip.AddShortRangeSpriteForContactPoint($1528[28], $1560[28], $1592[28], RadarSprite.PropertyG)
Blip.ChangeDisplay($save_houseprice, BlipDisplay.BlipOnly)
$1689[29] = Pickup.CreateForSaleProperty($1528[29], $1560[29], $1592[29], $1686, 'PROP_3')
$1654 = Blip.AddShortRangeSpriteForContactPoint($1528[29], $1560[29], $1592[29], RadarSprite.PropertyG)
Blip.ChangeDisplay($1654, BlipDisplay.BlipOnly)
$2647 = Blip.AddShortRangeSpriteForCoord(457.2, -1500.7, 31.3, RadarSprite.Tshirt)
$2648 = Blip.AddShortRangeSpriteForCoord(2795.2, 2424.6, 11.0, RadarSprite.Tshirt)
$2651 = Blip.AddShortRangeSpriteForCoord(-1692.9, 952.8, 26.3, RadarSprite.Tshirt)
World.SwitchEntryExit('CSDESGN', True)
$flag_kickstart_mission1_passed = 1

:OPENUP_1573
if 
  $trigger_phonecall_failed > 2
goto_if_false @OPENUP_1653
if 
  $bmx_1_y == 0
goto_if_false @OPENUP_1653
$spray_shop = Blip.AddShortRangeSpriteForCoord(451.9, -1480.0, 30.9, RadarSprite.Tshirt)
World.SwitchEntryExit('CSEXL', True)
terminate_this_script 
$bmx_1_y = 1

:OPENUP_1653
goto @OPENUP_11

:OPENUP_1660
Blip.Remove($1633)
Blip.Remove($1644)
Blip.Remove($1647)
Blip.Remove($1650)
Blip.Remove($1656)
Pickup.Remove($1689[8])
Pickup.Remove($1689[19])
Pickup.Remove($1689[22])
Pickup.Remove($1689[25])
Pickup.Remove($1689[31])
return 

:OPENUP_1712
Blip.Remove($1636)
Blip.Remove($1638)
Blip.Remove($1639)
Blip.Remove($1643)
Blip.Remove($1645)
Blip.Remove($1646)
Pickup.Remove($1689[11])
Pickup.Remove($1689[13])
Pickup.Remove($1689[14])
Pickup.Remove($1689[18])
Pickup.Remove($1689[20])
Pickup.Remove($1689[21])
return 

:OPENUP_1774
Blip.Remove($1630)
Blip.Remove($1648)
Blip.Remove($1649)
Pickup.Remove($1689[5])
Pickup.Remove($1689[23])
Pickup.Remove($1689[24])
return 

:OPENUP_1806
Blip.Remove($1629)
Blip.Remove($1631)
Blip.Remove($1632)
Blip.Remove($1634)
Blip.Remove($1641)
Blip.Remove($1642)
Blip.Remove($1652)
Blip.Remove($save_houseprice)
Blip.Remove($1654)
Pickup.Remove($1689[4])
Pickup.Remove($1689[6])
Pickup.Remove($1689[7])
Pickup.Remove($1689[9])
Pickup.Remove($1689[16])
Pickup.Remove($1689[17])
Pickup.Remove($1689[27])
Pickup.Remove($1689[28])
Pickup.Remove($1689[29])
return 

:LITCAS
script_name 'LITCAS'

:LITCAS_11
wait 100
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LITCAS_260
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1941.146, 997.5668, 20.0, 100.0, 100.0, 20.0, False)
goto_if_false @LITCAS_260
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LITCAS_113
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)

:LITCAS_113
Streaming.LoadScene(2039.732, 1006.771, 14.7353)
Camera.SetFixedPosition(2040.725, 1006.748, 14.8482, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2039.732, 1006.771, 14.7353, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)
Text.ClearPrints
Text.PrintNow('WUZ_HLP', 5000, 1)
wait 5000
LITCAS_267()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LITCAS_251
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Text.ClearPrints

:LITCAS_251
Camera.DoFade(500, Fade.In)
terminate_this_script 

:LITCAS_260
goto @LITCAS_11

:LITCAS_267
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.Out)

:LITCAS_282
if 
  Camera.GetFadingStatus
goto_if_false @LITCAS_306
wait 0
goto @LITCAS_282

:LITCAS_306
return 

:Noname_1
terminate_this_script 

:PROJECT
script_name 'PROJECT'
10@ = 0
$g_Truck_CashPickupKM = 0
$g_Truck_CashPickupValueKM = 1
if 
  10@ == -1
goto_if_false @PROJECT_94
0@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
9@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)

:PROJECT_94
wait 0
if 
  10@ == 0
goto_if_false @PROJECT_637
if 
  8@ == 1
goto_if_false @PROJECT_180
17@ = Math.RandomFloatInRange(-0.2, 0.2)
add_float_lvar_to_float_lvar 4@ += 17@
17@ = Math.RandomFloatInRange(-0.2, 0.2)
add_float_lvar_to_float_lvar 5@ += 17@

:PROJECT_180
6@ += 0.1
if 
  is_float_lvar_greater_than_float_lvar 3@ > 6@
goto_if_false @PROJECT_247
if 
  0.0 > 7@
goto_if_false @PROJECT_240
7@ = 0.0

:PROJECT_240
goto @PROJECT_334

:PROJECT_247
set_lvar_float_to_lvar_float 17@ = 3@
add_float_lvar_to_float_lvar 17@ += 7@
set_lvar_float_to_lvar_float 18@ = 17@
sub_float_lvar_from_float_lvar 18@ -= 6@
if 
  0.5 > 18@
goto_if_false @PROJECT_334
set_lvar_float_to_lvar_float 17@ = 6@
17@ += 0.5
set_lvar_float_to_lvar_float 7@ = 17@
sub_float_lvar_from_float_lvar 7@ -= 3@

:PROJECT_334
17@ = 0.5
17@ *= 9.8
set_lvar_float_to_lvar_float 18@ = 7@
div_float_lvar_by_float_lvar 18@ /= 17@
28@ = Math.Sqrt(18@)
set_lvar_float_to_lvar_float 17@ = 3@
add_float_lvar_to_float_lvar 17@ += 7@
sub_float_lvar_from_float_lvar 17@ -= 6@
18@ = 0.5
18@ *= 9.8
set_lvar_float_to_lvar_float 19@ = 17@
div_float_lvar_by_float_lvar 19@ /= 18@
17@ = Math.Sqrt(19@)
set_lvar_float_to_lvar_float 16@ = 28@
add_float_lvar_to_float_lvar 16@ += 17@
17@ = 0.0
sub_float_lvar_from_float_lvar 17@ -= 7@
set_lvar_float_to_lvar_float 18@ = 28@
mult_float_lvar_by_float_lvar 18@ *= 28@
set_lvar_float_to_lvar_float 29@ = 17@
div_float_lvar_by_float_lvar 29@ /= 18@
set_lvar_float_to_lvar_float 17@ = 28@
mult_float_lvar_by_float_lvar 17@ *= 29@
set_lvar_float_to_lvar_float 30@ = 17@
30@ *= -2.0
31@ = 0.0
set_lvar_float_to_lvar_float 26@ = 4@
sub_float_lvar_from_float_lvar 26@ -= 1@
set_lvar_float_to_lvar_float 27@ = 5@
sub_float_lvar_from_float_lvar 27@ -= 2@
11@ = Clock.GetGameTimer()
if 
  Object.DoesExist(0@)
goto_if_false @PROJECT_630
Object.SetRecordsCollisions(0@, True)
Object.SetCollision(0@, True)
Object.FreezePosition(0@, True)

:PROJECT_630
10@ += 1

:PROJECT_637
if 
  10@ == 1
goto_if_false @PROJECT_1032
if 
  Object.DoesExist(0@)
goto_if_false @PROJECT_1032
if 
  not Object.HasCollidedWithAnything(0@)
goto_if_false @PROJECT_954
12@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 13@ = 12@
sub_int_lvar_from_int_lvar 13@ -= 11@
cset_lvar_float_to_lvar_int 14@ =# 13@
14@ /= 1000.0
if 
  is_float_lvar_greater_than_float_lvar 16@ > 14@
goto_if_false @PROJECT_926
set_lvar_float_to_lvar_float 17@ = 14@
mult_float_lvar_by_float_lvar 17@ *= 14@
mult_float_lvar_by_float_lvar 17@ *= 29@
set_lvar_float_to_lvar_float 18@ = 30@
mult_float_lvar_by_float_lvar 18@ *= 14@
set_var_float_to_lvar_float $in_carX = 17@
add_float_lvar_to_float_var $in_carX += 18@
add_float_lvar_to_float_var $in_carX += 31@
set_lvar_float_to_lvar_float 17@ = 14@
div_float_lvar_by_float_lvar 17@ /= 16@
set_var_float_to_lvar_float $on_footY = 26@
mult_float_var_by_float_lvar $on_footY *= 17@
set_var_float_to_lvar_float $on_footZ = 27@
mult_float_var_by_float_lvar $on_footZ *= 17@
set_lvar_float_to_lvar_float 20@ = 1@
add_float_var_to_float_lvar 20@ += $on_footY
set_lvar_float_to_lvar_float 21@ = 2@
add_float_var_to_float_lvar 21@ += $on_footZ
set_lvar_float_to_lvar_float 22@ = 3@
add_float_var_to_float_lvar 22@ += $in_carX
Object.SetCoordinatesAndVelocity(0@, 20@, 21@, 22@)
goto @PROJECT_947

:PROJECT_926
Object.SetCoordinatesAndVelocity(0@, 4@, 5@, 6@)
10@ += 1

:PROJECT_947
goto @PROJECT_1032

:PROJECT_954
PROJECT_1685()
Object.FreezePosition(0@, False)
Object.SetDynamic(0@, True)
Object.SetCollision(0@, True)
Object.SetVelocity(0@, 23@, 24@, 25@)
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @PROJECT_1025
Text.PrintNow('BB_06', 4000, 1)

:PROJECT_1025
10@ = 99

:PROJECT_1032
if 
  10@ == 2
goto_if_false @PROJECT_1396
if 
  8@ == 1
goto_if_false @PROJECT_1208
if 
  Object.DoesExist(9@)
goto_if_false @PROJECT_1179
15@ = Object.GetModel(9@)
if 
  Streaming.HasModelLoaded(15@)
goto_if_false @PROJECT_1179
PROJECT_1685()
Object.FreezePosition(0@, False)
Object.SetDynamic(0@, True)
Object.SetCollision(0@, True)
Object.SetVelocity(0@, 23@, 24@, 25@)
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @PROJECT_1179
Text.PrintNow('BB_06', 4000, 1)

:PROJECT_1179
Audio.ReportMissionAudioEventAtObject(0@, 1011)
$g_Truck_CashPickupKM = -1
10@ = 99
goto @PROJECT_1396

:PROJECT_1208
6@ += -0.5
if 
  6 > $bball_throw_active
goto_if_false @PROJECT_1285
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @PROJECT_1271
Text.PrintWith2NumbersNow('BB_05', $bball_throw_active, $g_Quarry_CashPickupKM, 5000, TextStyle.Middle)

:PROJECT_1271
$g_Truck_CashPickupKM = 1
goto @PROJECT_1327

:PROJECT_1285
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @PROJECT_1320
Text.PrintWith2NumbersNow('BB_04', $bball_throw_active, $g_Quarry_CashPickupKM, 5000, TextStyle.Middle)

:PROJECT_1320
$g_Truck_CashPickupKM = 2

:PROJECT_1327
cset_lvar_float_to_var_int 17@ =# $bball_throw_active
cset_lvar_float_to_var_int 18@ =# $g_Quarry_CashPickupKM
18@ *= 0.1
add_float_lvar_to_float_lvar 17@ += 18@
if 
  not Game.AreMeasurementsInMeters
goto_if_false @PROJECT_1382
convert_metres_to_feet 17@ {var_feet} 17@

:PROJECT_1382
Stat.RegisterFloat(StatId.LongestBasketball, 17@)
10@ += 1

:PROJECT_1396
if 
  10@ == 3
goto_if_false @PROJECT_1651
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(0@)
17@ = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 4@, 5@, 6@)
Audio.ReportMissionAudioEventAtObject(0@, 1012)
if 
  0.1 > 17@
goto_if_false @PROJECT_1535
Object.FreezePosition(0@, False)
Object.SetCollision(0@, True)
Object.SetDynamic(0@, True)
Object.SetVelocity(0@, 0.0, 0.0, -0.1)
10@ = 99
goto @PROJECT_1651

:PROJECT_1535
set_lvar_float_to_lvar_float 20@ = 4@
sub_float_var_from_float_lvar 20@ -= $on_footY
set_lvar_float_to_lvar_float 21@ = 5@
sub_float_var_from_float_lvar 21@ -= $on_footZ
set_lvar_float_to_lvar_float 22@ = 6@
sub_float_var_from_float_lvar 22@ -= $in_carX
20@ *= 0.3
21@ *= 0.3
22@ *= 0.3
add_float_lvar_to_float_var $on_footY += 20@
add_float_lvar_to_float_var $on_footZ += 21@
add_float_lvar_to_float_var $in_carX += 22@
Object.SetCoordinates(0@, $on_footY, $on_footZ, $in_carX)

:PROJECT_1651
if 
  10@ == 99
goto_if_false @PROJECT_1678
$g_Truck_CashPickupValueKM = 0
terminate_this_script 

:PROJECT_1678
goto @PROJECT_94

:PROJECT_1685
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(9@)
17@ = Math.RandomFloatInRange(-1.0, 1.0)
18@ = Math.RandomFloatInRange(0.2, 1.0)
19@ = Math.RandomFloatInRange(1.2, 2.2)
20@, 21@, 22@ = Object.GetOffsetInWorldCoords(9@, 17@, 18@, 19@)
set_lvar_float_to_lvar_float 23@ = 20@
sub_float_var_from_float_lvar 23@ -= $on_footY
set_lvar_float_to_lvar_float 24@ = 21@
sub_float_var_from_float_lvar 24@ -= $on_footZ
set_lvar_float_to_lvar_float 25@ = 22@
sub_float_var_from_float_lvar 25@ -= $in_carX
17@ = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 20@, 21@, 22@)
div_float_lvar_by_float_lvar 23@ /= 17@
div_float_lvar_by_float_lvar 24@ /= 17@
div_float_lvar_by_float_lvar 25@ /= 17@
set_lvar_float_to_lvar_float 17@ = 16@
17@ *= 5.0
mult_float_lvar_by_float_lvar 23@ *= 17@
mult_float_lvar_by_float_lvar 24@ *= 17@
mult_float_lvar_by_float_lvar 25@ *= 17@
return 

:Noname_2
terminate_this_script 

:BBCHAL
script_name 'BBCHAL'
19@ = 0
20@ = 0
21@ = 0
$bball_shot_dist_decimal = 60500
$bball_active = 0
26@ = 0
27@ = 0
28@ = 0
29@ = 3000
30@ = 4.0
TIMERA = 0
TIMERB = 0
$bball_help = 1
if 
  19@ == -1
goto_if_false @BBCHAL_149
0@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)

:BBCHAL_149
wait 0
switch_start 19@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @BBCHAL_244 {caseNum1} 0 {caseLabel1} @BBCHAL_216 {caseNum2} 1 {caseLabel2} @BBCHAL_230 {caseNum3} -1 {caseLabel3} @BBCHAL_244 {caseNum4} -1 {caseLabel4} @BBCHAL_244 {caseNum5} -1 {caseLabel5} @BBCHAL_244 {caseNum6} -1 {caseLabel6} @BBCHAL_244 {caseNum7} -1 {caseLabel7} @BBCHAL_244

:BBCHAL_216
BBCHAL_580()
goto @BBCHAL_244

:BBCHAL_230
BBCHAL_916()
goto @BBCHAL_244

:BBCHAL_244
if and
  $g_Quarry_CashPickupValueKM == 0
  $g_Truck_CashPickupValueKM == 0
goto_if_false @BBCHAL_276
BBCHAL_2538()

:BBCHAL_276
BBCHAL_395()
if 
  $hoop_direction == 0
goto_if_false @BBCHAL_308
BBCHAL_2538()

:BBCHAL_308
if 
  $lowrider_level == 0
goto_if_false @BBCHAL_364
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @BBCHAL_357
$lowrider_level = 1
BBCHAL_2538()

:BBCHAL_357
goto @BBCHAL_388

:BBCHAL_364
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @BBCHAL_388
$lowrider_level = 0

:BBCHAL_388
goto @BBCHAL_149

:BBCHAL_395
switch_start 21@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @BBCHAL_578 {caseNum1} 0 {caseLabel1} @BBCHAL_458 {caseNum2} 1 {caseLabel2} @BBCHAL_498 {caseNum3} 2 {caseLabel3} @BBCHAL_538 {caseNum4} -1 {caseLabel4} @BBCHAL_578 {caseNum5} -1 {caseLabel5} @BBCHAL_578 {caseNum6} -1 {caseLabel6} @BBCHAL_578 {caseNum7} -1 {caseLabel7} @BBCHAL_578

:BBCHAL_458
if and
  not Text.IsHelpMessageBeingDisplayed
  not Text.IsMessageBeingDisplayed
goto_if_false @BBCHAL_491
Text.PrintHelp('BB_11')
21@ += 1

:BBCHAL_491
goto @BBCHAL_578

:BBCHAL_498
if and
  not Text.IsHelpMessageBeingDisplayed
  not Text.IsMessageBeingDisplayed
goto_if_false @BBCHAL_531
Text.PrintHelp('BB_12')
21@ += 1

:BBCHAL_531
goto @BBCHAL_578

:BBCHAL_538
if and
  not Text.IsHelpMessageBeingDisplayed
  not Text.IsMessageBeingDisplayed
goto_if_false @BBCHAL_571
Text.PrintHelp('BB_10')
21@ += 1

:BBCHAL_571
goto @BBCHAL_578

:BBCHAL_578
return 

:BBCHAL_580
if 
  20@ == 0
goto_if_false @BBCHAL_628
Text.PrintNow('BB_13', 5000, 1)
TIMERA = 0
20@ += 1

:BBCHAL_628
if 
  20@ == 1
goto_if_false @BBCHAL_653
20@ += 1

:BBCHAL_653
if 
  20@ == 2
goto_if_false @BBCHAL_751
Hud.DisplayTimerWithString($bball_shot_dist_decimal, TimerDirection.Down, 'BB_19')
Hud.DisplayNthCounterWithString($bball_active, CounterDisplay.Number, 1, 'BB_18')
Hud.DisplayNthCounterWithString($bball_shot_dist, CounterDisplay.Number, 2, 'BB_14')
BBCHAL_2396()
1@ = Blip.AddForCoord(14@, 15@, 16@)
20@ += 1

:BBCHAL_751
if 
  20@ == 3
goto_if_false @BBCHAL_914
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBCHAL_914
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 14@, 15@, 16@, 1.5, 1.5, 2.0, True)
goto_if_false @BBCHAL_904
if 
  $g_Truck_CashPickupValueKM == 1
goto_if_false @BBCHAL_887
if 
  Blip.DoesExist(1@)
goto_if_false @BBCHAL_866
Blip.Remove(1@)

:BBCHAL_866
20@ = 1
19@ += 1
goto @BBCHAL_897

:BBCHAL_887
$bball_shot_dist_decimal = 60500

:BBCHAL_897
goto @BBCHAL_914

:BBCHAL_904
$bball_shot_dist_decimal = 60500

:BBCHAL_914
return 

:BBCHAL_916
if 
  20@ == 0
goto_if_false @BBCHAL_1135
if 
  $g_Truck_CashPickupKM <> 0
goto_if_false @BBCHAL_1135
if 
  $g_Truck_CashPickupKM > 0
goto_if_false @BBCHAL_1052
add_int_var_to_int_var $bball_active += $g_Truck_CashPickupKM
add_int_lvar_to_int_var $bball_shot_dist_decimal += 25@
30@ += 0.5
BBCHAL_2396()
if 
  Blip.DoesExist(1@)
goto_if_false @BBCHAL_1024
Blip.Remove(1@)

:BBCHAL_1024
1@ = Blip.AddForCoord(14@, 15@, 16@)
20@ += 1
goto @BBCHAL_1135

:BBCHAL_1052
if 
  Blip.DoesExist(1@)
goto_if_false @BBCHAL_1073
Blip.Remove(1@)

:BBCHAL_1073
1@ = Blip.AddForCoord(14@, 15@, 16@)
if 
  27@ == 0
goto_if_false @BBCHAL_1128
Text.PrintNow('BB_20', 5000, 1)
27@ += 1

:BBCHAL_1128
20@ += 1

:BBCHAL_1135
if 
  20@ == 1
goto_if_false @BBCHAL_1380
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBCHAL_1200
  Char.LocateOnFoot3D($stattreadstamina_ctr, 14@, 15@, 16@, 1.5, 1.5, 2.0, True)

:BBCHAL_1200
if 
  $g_Truck_CashPickupValueKM == 1
goto_if_false @BBCHAL_1373
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBCHAL_1366
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 14@, 15@, 16@, 1.5, 1.5, 2.0, True)
goto_if_false @BBCHAL_1318
if 
  Blip.DoesExist(1@)
goto_if_false @BBCHAL_1297
Blip.Remove(1@)

:BBCHAL_1297
20@ = 0
$g_Truck_CashPickupValueKM = 0
goto @BBCHAL_1366

:BBCHAL_1318
if 
  28@ == 0
goto_if_false @BBCHAL_1359
Text.PrintNow('BB_16', 5000, 1)
28@ += 1

:BBCHAL_1359
$g_Truck_CashPickupValueKM = 0

:BBCHAL_1366
goto @BBCHAL_1380

:BBCHAL_1373
28@ = 0

:BBCHAL_1380
if 
  20@ == 3
goto_if_false @BBCHAL_1424
if 
  TIMERA > 5000
goto_if_false @BBCHAL_1424
BBCHAL_2538()

:BBCHAL_1424
if 
  26@ == 0
goto_if_false @BBCHAL_1483
if 
  is_int_var_greater_than_int_var $bball_active > $bball_shot_dist
goto_if_false @BBCHAL_1476
set_var_int_to_var_int $bball_shot_dist = $bball_active
26@ += 1

:BBCHAL_1476
goto @BBCHAL_1510

:BBCHAL_1483
if 
  is_int_var_greater_than_int_var $bball_active > $bball_shot_dist
goto_if_false @BBCHAL_1510
set_var_int_to_var_int $bball_shot_dist = $bball_active

:BBCHAL_1510
if 
  0 >= $bball_shot_dist_decimal
goto_if_false @BBCHAL_1576
if 
  3 > 20@
goto_if_false @BBCHAL_1569
Text.PrintNow('BB_17', 5000, 1)
TIMERA = 0

:BBCHAL_1569
20@ = 3

:BBCHAL_1576
return 

:BBCHAL_1578
if 
  Object.DoesExist(0@)
goto_if_false @BBCHAL_2394
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 2)
5@, 6@, 7@ = Object.GetLevelDesignCoords(0@, 3)
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 0)
switch_start $walk_with_ball_start_position {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @BBCHAL_1893 {caseNum1} 1 {caseLabel1} @BBCHAL_1705 {caseNum2} 2 {caseLabel2} @BBCHAL_1752 {caseNum3} 3 {caseLabel3} @BBCHAL_1799 {caseNum4} 4 {caseLabel4} @BBCHAL_1846 {caseNum5} -1 {caseLabel5} @BBCHAL_1893 {caseNum6} -1 {caseLabel6} @BBCHAL_1893 {caseNum7} -1 {caseLabel7} @BBCHAL_1893

:BBCHAL_1705
2@ += -1.5
3@ += 1.5
5@ += 1.5
6@ += -1.5
goto @BBCHAL_1893

:BBCHAL_1752
2@ += -1.5
3@ += -1.5
5@ += 1.5
6@ += 1.5
goto @BBCHAL_1893

:BBCHAL_1799
2@ += 1.5
3@ += -1.5
5@ += -1.5
6@ += 1.5
goto @BBCHAL_1893

:BBCHAL_1846
2@ += 1.5
3@ += 1.5
5@ += -1.5
6@ += -1.5
goto @BBCHAL_1893

:BBCHAL_1893
4@ += 5.0
16@ = World.GetGroundZFor3DCoord(2@, 3@, 4@)
if 
  is_float_lvar_greater_than_float_lvar 5@ > 2@
goto_if_false @BBCHAL_1954
14@ = Math.RandomFloatInRange(2@, 5@)
goto @BBCHAL_1965

:BBCHAL_1954
14@ = Math.RandomFloatInRange(5@, 2@)

:BBCHAL_1965
if 
  is_float_lvar_greater_than_float_lvar 6@ > 3@
goto_if_false @BBCHAL_2002
15@ = Math.RandomFloatInRange(3@, 6@)
goto @BBCHAL_2013

:BBCHAL_2002
15@ = Math.RandomFloatInRange(3@, 6@)

:BBCHAL_2013
set_lvar_float_to_lvar_float 8@ = 14@
sub_float_var_from_float_lvar 8@ -= $on_footY
set_lvar_float_to_lvar_float 9@ = 15@
sub_float_var_from_float_lvar 9@ -= $on_footZ
17@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 14@, 15@)
div_float_lvar_by_float_lvar 8@ /= 17@
div_float_lvar_by_float_lvar 9@ /= 17@
mult_float_lvar_by_float_lvar 8@ *= 30@
mult_float_lvar_by_float_lvar 9@ *= 30@
set_lvar_float_to_var_float 14@ = $on_footY
add_float_lvar_to_float_lvar 14@ += 8@
set_lvar_float_to_var_float 15@ = $on_footZ
add_float_lvar_to_float_lvar 15@ += 9@
if 
  is_float_lvar_greater_than_float_lvar 5@ > 2@
goto_if_false @BBCHAL_2206
if 
  is_float_lvar_greater_than_float_lvar 2@ > 14@
goto_if_false @BBCHAL_2172
set_lvar_float_to_lvar_float 14@ = 2@

:BBCHAL_2172
if 
  is_float_lvar_greater_than_float_lvar 14@ > 5@
goto_if_false @BBCHAL_2199
set_lvar_float_to_lvar_float 14@ = 5@

:BBCHAL_2199
goto @BBCHAL_2260

:BBCHAL_2206
if 
  is_float_lvar_greater_than_float_lvar 14@ > 2@
goto_if_false @BBCHAL_2233
set_lvar_float_to_lvar_float 14@ = 2@

:BBCHAL_2233
if 
  is_float_lvar_greater_than_float_lvar 5@ > 14@
goto_if_false @BBCHAL_2260
set_lvar_float_to_lvar_float 14@ = 5@

:BBCHAL_2260
if 
  is_float_lvar_greater_than_float_lvar 6@ > 3@
goto_if_false @BBCHAL_2340
if 
  is_float_lvar_greater_than_float_lvar 3@ > 15@
goto_if_false @BBCHAL_2306
set_lvar_float_to_lvar_float 15@ = 3@

:BBCHAL_2306
if 
  is_float_lvar_greater_than_float_lvar 15@ > 6@
goto_if_false @BBCHAL_2333
set_lvar_float_to_lvar_float 15@ = 6@

:BBCHAL_2333
goto @BBCHAL_2394

:BBCHAL_2340
if 
  is_float_lvar_greater_than_float_lvar 15@ > 3@
goto_if_false @BBCHAL_2367
set_lvar_float_to_lvar_float 15@ = 3@

:BBCHAL_2367
if 
  is_float_lvar_greater_than_float_lvar 6@ > 15@
goto_if_false @BBCHAL_2394
set_lvar_float_to_lvar_float 15@ = 6@

:BBCHAL_2394
return 

:BBCHAL_2396
BBCHAL_1578()
if 
  Object.DoesExist(0@)
goto_if_false @BBCHAL_2435
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 0)

:BBCHAL_2435
$heading = Math.GetDistanceBetweenCoords2D(14@, 15@, $on_footY, $on_footZ)
cset_lvar_int_to_var_float 25@ =# $heading
mult_int_lvar_by_int_lvar 25@ *= 29@
cset_lvar_float_to_lvar_int 17@ =# 29@
17@ *= 0.1
cset_lvar_int_to_lvar_float 22@ =# 17@
22@ *= -1
add_int_lvar_to_int_lvar 29@ += 22@
if 
  500 > 29@
goto_if_false @BBCHAL_2536
29@ = 500

:BBCHAL_2536
return 

:BBCHAL_2538
Text.ClearPrints
if 
  26@ <> 0
goto_if_false @BBCHAL_2589
Text.PrintWithNumberBig('BB_15', $bball_shot_dist, 5000, TextStyle.Middle)
Stat.RegisterInt(StatId.HighestScoreInBasketballChallenge, $bball_shot_dist)
Audio.PlayMissionPassedTune(1)

:BBCHAL_2589
if 
  Blip.DoesExist(1@)
goto_if_false @BBCHAL_2610
Blip.Remove(1@)

:BBCHAL_2610
Hud.ClearCounter($bball_active)
Hud.ClearCounter($bball_shot_dist)
Hud.ClearTimer($bball_shot_dist_decimal)
$bball_help = 0
terminate_this_script 
return 

:Noname_3
terminate_this_script 

:LOWGAME
script_name 'LOWGAME'
12@ = 0.01
$wheel_bl = 0
13@ = 0
16@ = 0
$lowrider_opposition_skill = 0
$wheel_fl = 0
18@ = 0
23@ = 0
24@ = 0
25@ = -1
27@ = 0
19@ = 0
if 
  13@ == -1
goto_if_false @LOWGAME_198
0@ = Car.Create(413, 0.0, 0.0, 0.0)
1@ = Car.Create(413, 0.0, 0.0, 0.0)
2@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
wait 0
wait 0
wait 0

:LOWGAME_198
if 
  Car.DoesExist(0@)
goto_if_false @LOWGAME_244
if 
  Car.IsDead(0@)
goto_if_false @LOWGAME_237
goto @LOWGAME_8723

:LOWGAME_237
goto @LOWGAME_251

:LOWGAME_244
goto @LOWGAME_8723

:LOWGAME_251
if 
  Car.DoesExist(1@)
goto_if_false @LOWGAME_297
if 
  Car.IsDead(1@)
goto_if_false @LOWGAME_290
goto @LOWGAME_8723

:LOWGAME_290
goto @LOWGAME_304

:LOWGAME_297
goto @LOWGAME_8723

:LOWGAME_304
if 
  1 > $wheel_br
goto_if_false @LOWGAME_336
$wheel_br = 1
goto @LOWGAME_361

:LOWGAME_336
if 
  $wheel_br > 5
goto_if_false @LOWGAME_361
$wheel_br = 5

:LOWGAME_361
if 
  not Car.IsDead(0@)
goto_if_false @LOWGAME_391
3@, 4@, 5@ = Car.GetCoordinates(0@)

:LOWGAME_391
if 
  not Car.IsDead(1@)
goto_if_false @LOWGAME_421
6@, 7@, 8@ = Car.GetCoordinates(1@)

:LOWGAME_421
$lowrider_last_level = 1

:LOWGAME_428
wait 0
if 
  5 > 13@
goto_if_false @LOWGAME_480
if 
  not Car.DoesExist(0@)
goto_if_false @LOWGAME_480
$beat_display_script_started = 1
13@ = 5

:LOWGAME_480
switch_start 13@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @LOWGAME_7663 {caseNum1} 0 {caseLabel1} @LOWGAME_543 {caseNum2} 1 {caseLabel2} @LOWGAME_1319 {caseNum3} 2 {caseLabel3} @LOWGAME_1399 {caseNum4} 3 {caseLabel4} @LOWGAME_7513 {caseNum5} 4 {caseLabel5} @LOWGAME_7527 {caseNum6} 5 {caseLabel6} @LOWGAME_7602 {caseNum7} -1 {caseLabel7} @LOWGAME_7663

:LOWGAME_543
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(3@, 4@, 5@, 200.0, True)
Streaming.RequestAnimation("LOWRIDER")

:LOWGAME_587
if 
  not Streaming.HasAnimationLoaded("LOWRIDER")
goto_if_false @LOWGAME_621
wait 0
goto @LOWGAME_587

:LOWGAME_621
if 
  not Car.IsDead(0@)
goto_if_false @LOWGAME_696
Car.LockDoors(0@, CarLock.LockedPlayerInside)
Player.ApplyBrakesToCar($statbike_temp, True)
Car.SetProofs(0@, True, True, True, True, True)
$on_footY = 0.62
$on_footZ = 0.31
$in_carX = -0.167

:LOWGAME_696
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_IDLELOOP", "LOWRIDER", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_IDLELOOP", "LOWRIDER", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_IDLELOOP", "LOWRIDER", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_IDLELOOP", "LOWRIDER", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_HURRY", "LOWRIDER", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_HAIR", "LOWRIDER", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_IDLELOOP", "LOWRIDER", 4.0, False, False, False, False, -1)
Sequence.SetToRepeat(15@, True)
Sequence.Close(15@)
if 
  not Char.IsDead(2@)
goto_if_false @LOWGAME_1068
if 
  Char.IsAttachedToAnyCar(2@)
goto_if_false @LOWGAME_1068
Char.PerformSequence(2@, 15@)

:LOWGAME_1068
16@ = 0
if 
  not Car.IsDead(0@)
goto_if_false @LOWGAME_1224
if or
  Car.IsModel(0@, 534)
  Car.IsModel(0@, 535)
  Car.IsModel(0@, 576)
goto_if_false @LOWGAME_1140
16@ = 1
goto @LOWGAME_1224

:LOWGAME_1140
if or
  Car.IsModel(0@, 536)
  Car.IsModel(0@, 575)
  Car.IsModel(0@, 567)
goto_if_false @LOWGAME_1217
17@ = Car.GetCurrentMod(0@, ModSlot.Roof)
if 
  17@ <> -1
goto_if_false @LOWGAME_1210
16@ = 1

:LOWGAME_1210
goto @LOWGAME_1224

:LOWGAME_1217
16@ = 1

:LOWGAME_1224
if 
  not Char.IsDead(2@)
goto_if_false @LOWGAME_1263
if 
  not Char.IsAttachedToAnyCar(2@)
goto_if_false @LOWGAME_1263
16@ = 1

:LOWGAME_1263
$audio_line_is_active = 0
$audio_string = 0
$1033 = 0
$lowrider_opposition_skill = 0
$audio_sound_file = 0
$wheel_fl = 0
13@ += 1
goto @LOWGAME_7663

:LOWGAME_1319
17@ = Audio.GetBeatTrackStatus()
if 
  is_int_lvar_equal_to_constant 17@ == 3
goto_if_false @LOWGAME_1392
Hud.DisplayNthCounterWithString($lowrider_opposition_skill, CounterDisplay.Number, 1, 'LOWR1')
Hud.DisplayNthCounterWithString($wheel_fl, CounterDisplay.Number, 2, 'LOWR2')
13@ += 1
TIMERA = 0

:LOWGAME_1392
goto @LOWGAME_7663

:LOWGAME_1399
17@ = Audio.GetBeatTrackStatus()
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @LOWGAME_1429
TIMERA = 90000

:LOWGAME_1429
20@, 21@, 22@ = Audio.GetBeatProximity(-1)
if 
  21@ <> 33
goto_if_false @LOWGAME_7492
Hud.ForceBigMessageAndCounter(True)
LOWGAME_10567()
20@, 21@, 22@ = Audio.GetBeatProximity(0)
if 
  not is_int_lvar_equal_to_int_lvar 22@ == 25@
goto_if_false @LOWGAME_2071
28@ = -1
if 
  18@ <> 0
goto_if_false @LOWGAME_1984
if and
  20@ > -42
  42 > 20@
goto_if_false @LOWGAME_1607
if 
  is_int_lvar_equal_to_int_lvar 18@ == 21@
goto_if_false @LOWGAME_1586
28@ = 0
goto @LOWGAME_1600

:LOWGAME_1586
23@ = 1
28@ = 5

:LOWGAME_1600
goto @LOWGAME_1878

:LOWGAME_1607
if and
  20@ > -60
  60 > 20@
goto_if_false @LOWGAME_1686
if 
  is_int_lvar_equal_to_int_lvar 18@ == 21@
goto_if_false @LOWGAME_1665
28@ = 1
goto @LOWGAME_1679

:LOWGAME_1665
23@ = 1
28@ = 5

:LOWGAME_1679
goto @LOWGAME_1878

:LOWGAME_1686
if and
  20@ > -120
  120 > 20@
goto_if_false @LOWGAME_1765
if 
  is_int_lvar_equal_to_int_lvar 18@ == 21@
goto_if_false @LOWGAME_1744
28@ = 2
goto @LOWGAME_1758

:LOWGAME_1744
23@ = 1
28@ = 5

:LOWGAME_1758
goto @LOWGAME_1878

:LOWGAME_1765
if or
  20@ > -240
  240 > 20@
goto_if_false @LOWGAME_1878
if 
  is_int_lvar_equal_to_int_lvar 18@ == 21@
goto_if_false @LOWGAME_1864
23@ = 1
if 
  0 > 20@
goto_if_false @LOWGAME_1850
28@ = 3
goto @LOWGAME_1857

:LOWGAME_1850
28@ = 4

:LOWGAME_1857
goto @LOWGAME_1878

:LOWGAME_1864
23@ = 1
28@ = 5

:LOWGAME_1878
$time_since_first_beat = 1
if 
  28@ == 0
goto_if_false @LOWGAME_1924
set_var_int_to_constant $time_since_first_beat = 3
30@ += 1
goto @LOWGAME_1977

:LOWGAME_1924
if 
  28@ == 1
goto_if_false @LOWGAME_1963
set_var_int_to_constant $time_since_first_beat = 2
30@ += 1
goto @LOWGAME_1977

:LOWGAME_1963
set_var_int_to_constant $time_since_first_beat = 1
31@ += 1

:LOWGAME_1977
goto @LOWGAME_2024

:LOWGAME_1984
if 
  -240 > 20@
goto_if_false @LOWGAME_2024
23@ = 1
28@ = 3
31@ += 1

:LOWGAME_2024
if 
  28@ <> -1
goto_if_false @LOWGAME_2071
LOWGAME_9682()
LOWGAME_10048()
LOWGAME_8732()
set_lvar_int_to_lvar_int 25@ = 22@

:LOWGAME_2071
if 
  0 > $lowrider_opposition_skill
goto_if_false @LOWGAME_2096
$lowrider_opposition_skill = 0

:LOWGAME_2096
if 
  not Car.IsDead(0@)
goto_if_false @LOWGAME_2239
if 
  not Car.Locate2D(0@, 3@, 4@, 3.0, 3.0, False)
goto_if_false @LOWGAME_2239
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(0@)
set_lvar_float_to_lvar_float 9@ = 3@
sub_float_var_from_float_lvar 9@ -= $on_footY
set_lvar_float_to_lvar_float 10@ = 4@
sub_float_var_from_float_lvar 10@ -= $on_footZ
mult_float_lvar_by_float_lvar 9@ *= 12@
mult_float_lvar_by_float_lvar 10@ *= 12@
Car.ApplyForce(0@, 9@, 10@, 0.0, 0.0, 0.0, 0.0)

:LOWGAME_2239
if 
  not Car.IsDead(1@)
goto_if_false @LOWGAME_2382
if 
  not Car.Locate2D(1@, 6@, 7@, 3.0, 3.0, False)
goto_if_false @LOWGAME_2382
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(1@)
set_lvar_float_to_lvar_float 9@ = 6@
sub_float_var_from_float_lvar 9@ -= $on_footY
set_lvar_float_to_lvar_float 10@ = 7@
sub_float_var_from_float_lvar 10@ -= $on_footZ
mult_float_lvar_by_float_lvar 9@ *= 12@
mult_float_lvar_by_float_lvar 10@ *= 12@
Car.ApplyForce(1@, 9@, 10@, 0.0, 0.0, 0.0, 0.0)

:LOWGAME_2382
if and
  100 > 20@
  20@ > -100
goto_if_false @LOWGAME_2912
if 
  21@ == 9
goto_if_false @LOWGAME_2465
$lowr_perfect_beat_counter = 1.0
$lowr_good_beat_counter = 1.0
$lowr_bad_beat_counter = 0.0
$lowr_overall_state = 0.0

:LOWGAME_2465
if 
  21@ == 10
goto_if_false @LOWGAME_2523
$lowr_perfect_beat_counter = 0.0
$lowr_good_beat_counter = 0.0
$lowr_bad_beat_counter = 1.0
$lowr_overall_state = 1.0

:LOWGAME_2523
if 
  21@ == 11
goto_if_false @LOWGAME_2581
$lowr_perfect_beat_counter = 0.0
$lowr_good_beat_counter = 0.0
$lowr_bad_beat_counter = 1.0
$lowr_overall_state = 0.0

:LOWGAME_2581
if 
  21@ == 12
goto_if_false @LOWGAME_2639
$lowr_perfect_beat_counter = 0.0
$lowr_good_beat_counter = 1.0
$lowr_bad_beat_counter = 0.0
$lowr_overall_state = 0.0

:LOWGAME_2639
if 
  21@ == 13
goto_if_false @LOWGAME_2697
$lowr_perfect_beat_counter = 1.0
$lowr_good_beat_counter = 0.0
$lowr_bad_beat_counter = 1.0
$lowr_overall_state = 0.0

:LOWGAME_2697
if 
  21@ == 14
goto_if_false @LOWGAME_2755
$lowr_perfect_beat_counter = 0.0
$lowr_good_beat_counter = 1.0
$lowr_bad_beat_counter = 0.0
$lowr_overall_state = 1.0

:LOWGAME_2755
if 
  21@ == 15
goto_if_false @LOWGAME_2813
$lowr_perfect_beat_counter = 1.0
$lowr_good_beat_counter = 0.0
$lowr_bad_beat_counter = 0.0
$lowr_overall_state = 0.0

:LOWGAME_2813
if 
  21@ == 16
goto_if_false @LOWGAME_2871
$lowr_perfect_beat_counter = 0.0
$lowr_good_beat_counter = 0.0
$lowr_bad_beat_counter = 0.0
$lowr_overall_state = 1.0

:LOWGAME_2871
if 
  not is_int_lvar_equal_to_int_lvar 22@ == 27@
goto_if_false @LOWGAME_2905
LOWGAME_7670()
set_lvar_int_to_lvar_int 27@ = 22@

:LOWGAME_2905
goto @LOWGAME_2952

:LOWGAME_2912
$lowr_perfect_beat_counter = 0.0
$lowr_good_beat_counter = 0.0
$lowr_bad_beat_counter = 0.0
$lowr_overall_state = 0.0

:LOWGAME_2952
if 
  not Car.IsDead(1@)
goto_if_false @LOWGAME_3001
if 
  Car.DoesHaveHydraulics(1@)
goto_if_false @LOWGAME_3001
Car.ControlHydraulics(1@, $lowr_perfect_beat_counter, $lowr_good_beat_counter, $lowr_bad_beat_counter, $lowr_overall_state)

:LOWGAME_3001
if 
  16@ == 0
goto_if_false @LOWGAME_7453
if 
  $wheel_bl == -1
goto_if_false @LOWGAME_3062
if 
  18@ <> 0
goto_if_false @LOWGAME_3062
$wheel_bl = 0

:LOWGAME_3062
if 
  $wheel_bl == 0
goto_if_false @LOWGAME_3112
if 
  30@ > 5
goto_if_false @LOWGAME_3112
$wheel_bl += 1
30@ = 0

:LOWGAME_3112
if 
  $wheel_bl == 1
goto_if_false @LOWGAME_3169
if 
  30@ > 5
goto_if_false @LOWGAME_3169
$wheel_bl += 1
30@ = 0
31@ = 0

:LOWGAME_3169
if 
  $wheel_bl == 2
goto_if_false @LOWGAME_3258
if 
  30@ > 5
goto_if_false @LOWGAME_3226
$wheel_bl += 1
30@ = 0
31@ = 0

:LOWGAME_3226
if 
  31@ > 1
goto_if_false @LOWGAME_3258
$wheel_bl -= 1
31@ = 0

:LOWGAME_3258
if 
  $wheel_bl == 3
goto_if_false @LOWGAME_3347
if 
  30@ > 5
goto_if_false @LOWGAME_3315
$wheel_bl += 1
30@ = 0
31@ = 0

:LOWGAME_3315
if 
  31@ > 1
goto_if_false @LOWGAME_3347
$wheel_bl -= 1
31@ = 0

:LOWGAME_3347
if 
  $wheel_bl == 4
goto_if_false @LOWGAME_3436
if 
  30@ > 5
goto_if_false @LOWGAME_3404
$wheel_bl += 1
30@ = 0
31@ = 0

:LOWGAME_3404
if 
  31@ > 1
goto_if_false @LOWGAME_3436
$wheel_bl -= 1
31@ = 0

:LOWGAME_3436
if 
  $wheel_bl == 5
goto_if_false @LOWGAME_3493
if 
  31@ > 1
goto_if_false @LOWGAME_3493
$wheel_bl -= 1
30@ = 0
31@ = 0

:LOWGAME_3493
if 
  not Char.IsDead(2@)
goto_if_false @LOWGAME_7453
if 
  not is_int_var_equal_to_int_var $wheel_fr == $wheel_bl
goto_if_false @LOWGAME_5115
if 
  $wheel_bl == -1
goto_if_false @LOWGAME_3699
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_HAIR", "LOWRIDER", 4.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_HURRY", "LOWRIDER", 4.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_IDLELOOP", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.SetToRepeat(15@, True)
Sequence.Close(15@)

:LOWGAME_3699
if and
  $wheel_fr == -1
  $wheel_bl == 0
goto_if_false @LOWGAME_3855
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_IDLE_TO_L0", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(15@)
Char.PerformSequence(2@, 15@)
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L0_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(15@)

:LOWGAME_3855
if and
  $wheel_fr == 0
  $wheel_bl == 1
goto_if_false @LOWGAME_4009
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L0_TO_L1", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(15@)
Char.PerformSequence(2@, 15@)
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L1_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(15@)

:LOWGAME_4009
if and
  $wheel_fr == 1
  $wheel_bl == 2
goto_if_false @LOWGAME_4163
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L1_TO_L2", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(15@)
Char.PerformSequence(2@, 15@)
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L2_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(15@)

:LOWGAME_4163
if and
  $wheel_fr == 2
  $wheel_bl == 3
goto_if_false @LOWGAME_4317
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L2_TO_L3", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(15@)
Char.PerformSequence(2@, 15@)
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L3_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(15@)

:LOWGAME_4317
if and
  $wheel_fr == 3
  $wheel_bl == 4
goto_if_false @LOWGAME_4471
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L3_TO_L4", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(15@)
Char.PerformSequence(2@, 15@)
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L4_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(15@)

:LOWGAME_4471
if and
  $wheel_fr == 4
  $wheel_bl == 5
goto_if_false @LOWGAME_4625
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L4_TO_L5", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(15@)
Char.PerformSequence(2@, 15@)
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L5_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(15@)

:LOWGAME_4625
if and
  $wheel_fr > 1
  $wheel_bl == 1
goto_if_false @LOWGAME_4781
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L345_TO_L1", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(15@)
Char.PerformSequence(2@, 15@)
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L1_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(15@)

:LOWGAME_4781
if and
  $wheel_fr == 1
  $wheel_bl == 0
goto_if_false @LOWGAME_4936
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L12_TO_L0", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(15@)
Char.PerformSequence(2@, 15@)
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L0_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(15@)

:LOWGAME_4936
if and
  $wheel_fr == 0
  $wheel_bl == -1
goto_if_false @LOWGAME_5107
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_HAIR", "LOWRIDER", 4.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_HURRY", "LOWRIDER", 4.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_IDLELOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(15@)

:LOWGAME_5107
set_var_int_to_var_int $wheel_fr = $wheel_bl

:LOWGAME_5115
if and
  not is_int_lvar_equal_to_int_lvar 19@ == 18@
  18@ <> 0
goto_if_false @LOWGAME_6256
17@ = 0
26@ = 1.0
if 
  Char.IsPlayingAnim(2@, "LRGIRL_IDLE_TO_L0")
goto_if_false @LOWGAME_5220
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_IDLE_TO_L0")

:LOWGAME_5220
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L12_TO_L0")
goto_if_false @LOWGAME_5280
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L12_TO_L0")

:LOWGAME_5280
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L345_TO_L1")
goto_if_false @LOWGAME_5342
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L345_TO_L1")

:LOWGAME_5342
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L0_TO_L1")
goto_if_false @LOWGAME_5400
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L0_TO_L1")

:LOWGAME_5400
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L1_TO_L2")
goto_if_false @LOWGAME_5458
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L1_TO_L2")

:LOWGAME_5458
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L2_TO_L3")
goto_if_false @LOWGAME_5516
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L2_TO_L3")

:LOWGAME_5516
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L3_TO_L4")
goto_if_false @LOWGAME_5574
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L3_TO_L4")

:LOWGAME_5574
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L4_TO_L5")
goto_if_false @LOWGAME_5632
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L4_TO_L5")

:LOWGAME_5632
if 
  Char.IsPlayingAnim(2@, "LRGIRL_BDBNCE")
goto_if_false @LOWGAME_5686
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_BDBNCE")

:LOWGAME_5686
if 
  0.9 > 26@
goto_if_false @LOWGAME_5714
17@ = 1

:LOWGAME_5714
if 
  17@ == 0
goto_if_false @LOWGAME_6248
if 
  $wheel_bl == 0
goto_if_false @LOWGAME_5818
14@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L0_BNCE", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(14@)
Char.PerformSequence(2@, 14@)
Sequence.Clear(14@)

:LOWGAME_5818
if 
  $wheel_bl == 1
goto_if_false @LOWGAME_5904
14@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L1_BNCE", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(14@)
Char.PerformSequence(2@, 14@)
Sequence.Clear(14@)

:LOWGAME_5904
if 
  $wheel_bl == 2
goto_if_false @LOWGAME_5990
14@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L2_BNCE", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(14@)
Char.PerformSequence(2@, 14@)
Sequence.Clear(14@)

:LOWGAME_5990
if 
  $wheel_bl == 3
goto_if_false @LOWGAME_6076
14@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L3_BNCE", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(14@)
Char.PerformSequence(2@, 14@)
Sequence.Clear(14@)

:LOWGAME_6076
if 
  $wheel_bl == 4
goto_if_false @LOWGAME_6162
14@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L4_BNCE", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(14@)
Char.PerformSequence(2@, 14@)
Sequence.Clear(14@)

:LOWGAME_6162
if 
  $wheel_bl == 5
goto_if_false @LOWGAME_6248
14@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L5_BNCE", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(14@)
Char.PerformSequence(2@, 14@)
Sequence.Clear(14@)

:LOWGAME_6248
set_lvar_int_to_lvar_int 19@ = 18@

:LOWGAME_6256
if 
  23@ == 1
goto_if_false @LOWGAME_6489
if 
  18@ == 0
goto_if_false @LOWGAME_6482
if 
  $wheel_bl > 0
goto_if_false @LOWGAME_6482
if 
  not Char.IsPlayingAnim(2@, "LRGIRL_BDBNCE")
goto_if_false @LOWGAME_6468
14@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_BDBNCE", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(14@)
Char.PerformSequence(2@, 14@)
Sequence.Clear(14@)
Sequence.Clear(15@)
15@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_L1_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(15@)

:LOWGAME_6468
$wheel_bl = 1
$wheel_fr = 1

:LOWGAME_6482
23@ = 0

:LOWGAME_6489
17@ = 0
26@ = 1.0
if 
  Char.IsPlayingAnim(2@, "LRGIRL_BDBNCE")
goto_if_false @LOWGAME_6560
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_BDBNCE")

:LOWGAME_6560
if 
  Char.IsPlayingAnim(2@, "LRGIRL_IDLE_TO_L0")
goto_if_false @LOWGAME_6622
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_IDLE_TO_L0")

:LOWGAME_6622
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L12_TO_L0")
goto_if_false @LOWGAME_6682
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L12_TO_L0")

:LOWGAME_6682
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L345_TO_L1")
goto_if_false @LOWGAME_6744
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L345_TO_L1")

:LOWGAME_6744
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L0_BNCE")
goto_if_false @LOWGAME_6800
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L0_BNCE")

:LOWGAME_6800
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L0_TO_L1")
goto_if_false @LOWGAME_6858
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L0_TO_L1")

:LOWGAME_6858
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L1_TO_L2")
goto_if_false @LOWGAME_6916
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L1_TO_L2")

:LOWGAME_6916
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L2_TO_L3")
goto_if_false @LOWGAME_6974
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L2_TO_L3")

:LOWGAME_6974
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L3_TO_L4")
goto_if_false @LOWGAME_7032
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L3_TO_L4")

:LOWGAME_7032
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L4_TO_L5")
goto_if_false @LOWGAME_7090
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L4_TO_L5")

:LOWGAME_7090
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L1_BNCE")
goto_if_false @LOWGAME_7146
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L1_BNCE")

:LOWGAME_7146
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L2_BNCE")
goto_if_false @LOWGAME_7202
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L2_BNCE")

:LOWGAME_7202
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L3_BNCE")
goto_if_false @LOWGAME_7258
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L3_BNCE")

:LOWGAME_7258
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L4_BNCE")
goto_if_false @LOWGAME_7314
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L4_BNCE")

:LOWGAME_7314
if 
  Char.IsPlayingAnim(2@, "LRGIRL_L5_BNCE")
goto_if_false @LOWGAME_7370
26@ = Char.GetAnimCurrentTime(2@, "LRGIRL_L5_BNCE")

:LOWGAME_7370
if 
  0.9 > 26@
goto_if_false @LOWGAME_7398
17@ = 1

:LOWGAME_7398
if 
  17@ == 0
goto_if_false @LOWGAME_7453
17@ = Char.GetScriptTaskStatus(2@, 1560)
if 
  is_int_lvar_equal_to_constant 17@ == 7
goto_if_false @LOWGAME_7453
Char.PerformSequence(2@, 15@)

:LOWGAME_7453
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @LOWGAME_7485
$lowrider_opposition_skill = 0
13@ += 1

:LOWGAME_7485
goto @LOWGAME_7506

:LOWGAME_7492
13@ += 1
TIMERA = 0

:LOWGAME_7506
goto @LOWGAME_7663

:LOWGAME_7513
13@ += 1
goto @LOWGAME_7663

:LOWGAME_7527
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LOWGAME_7550
Player.SetControl($statbike_temp, False)

:LOWGAME_7550
Camera.DoFade(500, Fade.Out)

:LOWGAME_7557
if 
  Camera.GetFadingStatus
goto_if_false @LOWGAME_7581
wait 0
goto @LOWGAME_7557

:LOWGAME_7581
$beat_display_script_started = 1
13@ += 1
goto @LOWGAME_7663

:LOWGAME_7602
17@ = Audio.GetBeatTrackStatus()
if 
  is_int_lvar_equal_to_constant 17@ == 3
goto_if_false @LOWGAME_7627
Audio.StopBeatTrack

:LOWGAME_7627
Hud.ClearCounter($lowrider_opposition_skill)
Hud.ClearCounter($wheel_fl)
Streaming.RemoveAnimation("LOWRIDER")
goto @LOWGAME_8723
goto @LOWGAME_7663

:LOWGAME_7663
goto @LOWGAME_428

:LOWGAME_7670
17@ = Math.RandomIntInRange(0, 10)
if or
  $wheel_br == 0
  $wheel_br == 1
goto_if_false @LOWGAME_7895
switch_start 17@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @LOWGAME_7888 {caseNum1} 0 {caseLabel1} @LOWGAME_7832 {caseNum2} 1 {caseLabel2} @LOWGAME_7832 {caseNum3} 2 {caseLabel3} @LOWGAME_7846 {caseNum4} 3 {caseLabel4} @LOWGAME_7846 {caseNum5} 4 {caseLabel5} @LOWGAME_7846 {caseNum6} 5 {caseLabel6} @LOWGAME_7846 {caseNum7} 6 {caseLabel7} @LOWGAME_7860
switch_continued 7 {caseLabel1} @LOWGAME_7860 {caseNum2} 8 {caseLabel2} @LOWGAME_7860 {caseNum3} 9 {caseLabel3} @LOWGAME_7874 {caseNum4} -1 {caseLabel4} @LOWGAME_7888 {caseNum5} -1 {caseLabel5} @LOWGAME_7888 {caseNum6} -1 {caseLabel6} @LOWGAME_7888 {caseNum7} -1 {caseLabel7} @LOWGAME_7888 {caseNum8} -1 {caseLabel8} @LOWGAME_7888 {caseNum9} -1 {caseLabel9} @LOWGAME_7888

:LOWGAME_7832
$wheel_fl += 0
goto @LOWGAME_7888

:LOWGAME_7846
$wheel_fl += 10
goto @LOWGAME_7888

:LOWGAME_7860
$wheel_fl += 20
goto @LOWGAME_7888

:LOWGAME_7874
$wheel_fl += 50
goto @LOWGAME_7888

:LOWGAME_7888
goto @LOWGAME_8696

:LOWGAME_7895
if 
  $wheel_br == 2
goto_if_false @LOWGAME_8104
switch_start 17@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @LOWGAME_8097 {caseNum1} 0 {caseLabel1} @LOWGAME_8041 {caseNum2} 1 {caseLabel2} @LOWGAME_8055 {caseNum3} 2 {caseLabel3} @LOWGAME_8055 {caseNum4} 3 {caseLabel4} @LOWGAME_8055 {caseNum5} 4 {caseLabel5} @LOWGAME_8055 {caseNum6} 5 {caseLabel6} @LOWGAME_8069 {caseNum7} 6 {caseLabel7} @LOWGAME_8069
switch_continued 7 {caseLabel1} @LOWGAME_8069 {caseNum2} 8 {caseLabel2} @LOWGAME_8083 {caseNum3} 9 {caseLabel3} @LOWGAME_8083 {caseNum4} -1 {caseLabel4} @LOWGAME_8097 {caseNum5} -1 {caseLabel5} @LOWGAME_8097 {caseNum6} -1 {caseLabel6} @LOWGAME_8097 {caseNum7} -1 {caseLabel7} @LOWGAME_8097 {caseNum8} -1 {caseLabel8} @LOWGAME_8097 {caseNum9} -1 {caseLabel9} @LOWGAME_8097

:LOWGAME_8041
$wheel_fl += 0
goto @LOWGAME_8097

:LOWGAME_8055
$wheel_fl += 10
goto @LOWGAME_8097

:LOWGAME_8069
$wheel_fl += 20
goto @LOWGAME_8097

:LOWGAME_8083
$wheel_fl += 50
goto @LOWGAME_8097

:LOWGAME_8097
goto @LOWGAME_8696

:LOWGAME_8104
if 
  $wheel_br == 3
goto_if_false @LOWGAME_8313
switch_start 17@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @LOWGAME_8306 {caseNum1} 0 {caseLabel1} @LOWGAME_8250 {caseNum2} 1 {caseLabel2} @LOWGAME_8264 {caseNum3} 2 {caseLabel3} @LOWGAME_8264 {caseNum4} 3 {caseLabel4} @LOWGAME_8264 {caseNum5} 4 {caseLabel5} @LOWGAME_8278 {caseNum6} 5 {caseLabel6} @LOWGAME_8278 {caseNum7} 6 {caseLabel7} @LOWGAME_8278
switch_continued 7 {caseLabel1} @LOWGAME_8292 {caseNum2} 8 {caseLabel2} @LOWGAME_8292 {caseNum3} 9 {caseLabel3} @LOWGAME_8292 {caseNum4} -1 {caseLabel4} @LOWGAME_8306 {caseNum5} -1 {caseLabel5} @LOWGAME_8306 {caseNum6} -1 {caseLabel6} @LOWGAME_8306 {caseNum7} -1 {caseLabel7} @LOWGAME_8306 {caseNum8} -1 {caseLabel8} @LOWGAME_8306 {caseNum9} -1 {caseLabel9} @LOWGAME_8306

:LOWGAME_8250
$wheel_fl += 0
goto @LOWGAME_8306

:LOWGAME_8264
$wheel_fl += 10
goto @LOWGAME_8306

:LOWGAME_8278
$wheel_fl += 20
goto @LOWGAME_8306

:LOWGAME_8292
$wheel_fl += 50
goto @LOWGAME_8306

:LOWGAME_8306
goto @LOWGAME_8696

:LOWGAME_8313
if 
  $wheel_br == 4
goto_if_false @LOWGAME_8508
switch_start 17@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @LOWGAME_8501 {caseNum1} 0 {caseLabel1} @LOWGAME_8459 {caseNum2} 1 {caseLabel2} @LOWGAME_8459 {caseNum3} 2 {caseLabel3} @LOWGAME_8459 {caseNum4} 3 {caseLabel4} @LOWGAME_8473 {caseNum5} 4 {caseLabel5} @LOWGAME_8473 {caseNum6} 5 {caseLabel6} @LOWGAME_8473 {caseNum7} 6 {caseLabel7} @LOWGAME_8473
switch_continued 7 {caseLabel1} @LOWGAME_8487 {caseNum2} 8 {caseLabel2} @LOWGAME_8487 {caseNum3} 9 {caseLabel3} @LOWGAME_8487 {caseNum4} -1 {caseLabel4} @LOWGAME_8501 {caseNum5} -1 {caseLabel5} @LOWGAME_8501 {caseNum6} -1 {caseLabel6} @LOWGAME_8501 {caseNum7} -1 {caseLabel7} @LOWGAME_8501 {caseNum8} -1 {caseLabel8} @LOWGAME_8501 {caseNum9} -1 {caseLabel9} @LOWGAME_8501

:LOWGAME_8459
$wheel_fl += 10
goto @LOWGAME_8501

:LOWGAME_8473
$wheel_fl += 20
goto @LOWGAME_8501

:LOWGAME_8487
$wheel_fl += 50
goto @LOWGAME_8501

:LOWGAME_8501
goto @LOWGAME_8696

:LOWGAME_8508
if 
  $wheel_br == 5
goto_if_false @LOWGAME_8696
switch_start 17@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @LOWGAME_8696 {caseNum1} 0 {caseLabel1} @LOWGAME_8654 {caseNum2} 1 {caseLabel2} @LOWGAME_8654 {caseNum3} 2 {caseLabel3} @LOWGAME_8668 {caseNum4} 3 {caseLabel4} @LOWGAME_8668 {caseNum5} 4 {caseLabel5} @LOWGAME_8668 {caseNum6} 5 {caseLabel6} @LOWGAME_8668 {caseNum7} 6 {caseLabel7} @LOWGAME_8682
switch_continued 7 {caseLabel1} @LOWGAME_8682 {caseNum2} 8 {caseLabel2} @LOWGAME_8682 {caseNum3} 9 {caseLabel3} @LOWGAME_8682 {caseNum4} -1 {caseLabel4} @LOWGAME_8696 {caseNum5} -1 {caseLabel5} @LOWGAME_8696 {caseNum6} -1 {caseLabel6} @LOWGAME_8696 {caseNum7} -1 {caseLabel7} @LOWGAME_8696 {caseNum8} -1 {caseLabel8} @LOWGAME_8696 {caseNum9} -1 {caseLabel9} @LOWGAME_8696

:LOWGAME_8654
$wheel_fl += 10
goto @LOWGAME_8696

:LOWGAME_8668
$wheel_fl += 20
goto @LOWGAME_8696

:LOWGAME_8682
$wheel_fl += 50
goto @LOWGAME_8696

:LOWGAME_8696
if 
  0 > $wheel_fl
goto_if_false @LOWGAME_8721
$wheel_fl = 0

:LOWGAME_8721
return 

:LOWGAME_8723
$lowrider_last_level = 0
terminate_this_script 

:LOWGAME_8732
switch_start 28@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @LOWGAME_8845 {caseNum1} 0 {caseLabel1} @LOWGAME_8795 {caseNum2} 1 {caseLabel2} @LOWGAME_8812 {caseNum3} 2 {caseLabel3} @LOWGAME_8829 {caseNum4} -1 {caseLabel4} @LOWGAME_8861 {caseNum5} -1 {caseLabel5} @LOWGAME_8861 {caseNum6} -1 {caseLabel6} @LOWGAME_8861 {caseNum7} -1 {caseLabel7} @LOWGAME_8861

:LOWGAME_8795
Pad.Shake(PadId.Pad1, 200, 255)
goto @LOWGAME_8861

:LOWGAME_8812
Pad.Shake(PadId.Pad1, 200, 200)
goto @LOWGAME_8861

:LOWGAME_8829
Pad.Shake(PadId.Pad1, 200, 110)
goto @LOWGAME_8861

:LOWGAME_8845
Pad.Shake(PadId.Pad1, 200, 50)
goto @LOWGAME_8861

:LOWGAME_8861
switch_start 29@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @LOWGAME_8924 {caseNum1} 2 {caseLabel1} @LOWGAME_9176 {caseNum2} 3 {caseLabel2} @LOWGAME_9428 {caseNum3} -1 {caseLabel3} @LOWGAME_9680 {caseNum4} -1 {caseLabel4} @LOWGAME_9680 {caseNum5} -1 {caseLabel5} @LOWGAME_9680 {caseNum6} -1 {caseLabel6} @LOWGAME_9680 {caseNum7} -1 {caseLabel7} @LOWGAME_9680

:LOWGAME_8924
if 
  28@ == 0
goto_if_false @LOWGAME_8958
Text.PrintBig('DNC_005', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_8958
if 
  28@ == 1
goto_if_false @LOWGAME_8992
Text.PrintBig('DNC_006', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_8992
if 
  28@ == 2
goto_if_false @LOWGAME_9026
Text.PrintBig('DNC_007', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9026
if 
  28@ == 3
goto_if_false @LOWGAME_9060
Text.PrintBig('DNC_008', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9060
if 
  28@ == 4
goto_if_false @LOWGAME_9094
Text.PrintBig('DNC_009', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9094
if 
  28@ == 5
goto_if_false @LOWGAME_9128
Text.PrintBig('DNC_010', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9128
if 
  28@ == 6
goto_if_false @LOWGAME_9162
Text.PrintBig('DNC_011', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9162
29@ = 2
goto @LOWGAME_9680

:LOWGAME_9176
if 
  28@ == 0
goto_if_false @LOWGAME_9210
Text.PrintBig('DNC_012', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9210
if 
  28@ == 1
goto_if_false @LOWGAME_9244
Text.PrintBig('DNC_013', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9244
if 
  28@ == 2
goto_if_false @LOWGAME_9278
Text.PrintBig('DNC_014', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9278
if 
  28@ == 3
goto_if_false @LOWGAME_9312
Text.PrintBig('DNC_015', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9312
if 
  28@ == 4
goto_if_false @LOWGAME_9346
Text.PrintBig('DNC_016', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9346
if 
  28@ == 5
goto_if_false @LOWGAME_9380
Text.PrintBig('DNC_017', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9380
if 
  28@ == 6
goto_if_false @LOWGAME_9414
Text.PrintBig('DNC_018', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9414
29@ += 1
goto @LOWGAME_9680

:LOWGAME_9428
if 
  28@ == 0
goto_if_false @LOWGAME_9462
Text.PrintBig('DNC_019', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9462
if 
  28@ == 1
goto_if_false @LOWGAME_9496
Text.PrintBig('DNC_020', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9496
if 
  28@ == 2
goto_if_false @LOWGAME_9530
Text.PrintBig('DNC_021', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9530
if 
  28@ == 3
goto_if_false @LOWGAME_9564
Text.PrintBig('DNC_022', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9564
if 
  28@ == 4
goto_if_false @LOWGAME_9598
Text.PrintBig('DNC_023', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9598
if 
  28@ == 5
goto_if_false @LOWGAME_9632
Text.PrintBig('DNC_024', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9632
if 
  28@ == 6
goto_if_false @LOWGAME_9666
Text.PrintBig('DNC_025', 1000, TextStyle.MiddleSmallerHigher)

:LOWGAME_9666
29@ += 1
goto @LOWGAME_9680

:LOWGAME_9680
return 

:LOWGAME_9682
set_lvar_int_to_var_int 17@ = $audio_string
add_int_var_to_int_lvar 17@ += $1033
add_int_var_to_int_lvar 17@ += $audio_line_is_active
if 
  17@ > 0
goto_if_false @LOWGAME_10046
if 
  17@ >= 4
goto_if_false @LOWGAME_10046
if 
  $audio_line_is_active == 4
goto_if_false @LOWGAME_9849
if or
  $audio_sound_file == 1
  $audio_sound_file == 2
goto_if_false @LOWGAME_9817
Text.PrintBig('DNC_002', 50000, TextStyle.LightBlueTop)
$audio_sound_file = 2
goto @LOWGAME_9842

:LOWGAME_9817
Text.PrintBig('DNC_004', 50000, TextStyle.LightBlueTop)
$audio_sound_file = 1

:LOWGAME_9842
goto @LOWGAME_10025

:LOWGAME_9849
if 
  is_int_var_greater_than_int_var $audio_string > $1033
goto_if_false @LOWGAME_9900
Text.PrintBig('DNC_004', 50000, TextStyle.LightBlueTop)
$audio_sound_file = 1
goto @LOWGAME_10025

:LOWGAME_9900
if 
  $audio_sound_file == 2
goto_if_false @LOWGAME_9950
Text.PrintBig('DNC_004', 50000, TextStyle.LightBlueTop)
$audio_sound_file = 1
goto @LOWGAME_10025

:LOWGAME_9950
if 
  $audio_sound_file == 1
goto_if_false @LOWGAME_10000
Text.PrintBig('DNC_003', 50000, TextStyle.LightBlueTop)
$audio_sound_file = 0
goto @LOWGAME_10025

:LOWGAME_10000
Text.PrintBig('DNC_003', 50000, TextStyle.LightBlueTop)
$audio_sound_file = 0

:LOWGAME_10025
$audio_line_is_active = 0
$audio_string = 0
$1033 = 0

:LOWGAME_10046
return 

:LOWGAME_10048
switch_start 28@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @LOWGAME_10534 {caseNum1} 0 {caseLabel1} @LOWGAME_10111 {caseNum2} 1 {caseLabel2} @LOWGAME_10200 {caseNum3} 2 {caseLabel3} @LOWGAME_10289 {caseNum4} 3 {caseLabel4} @LOWGAME_10378 {caseNum5} 4 {caseLabel5} @LOWGAME_10417 {caseNum6} 5 {caseLabel6} @LOWGAME_10456 {caseNum7} 6 {caseLabel7} @LOWGAME_10495

:LOWGAME_10111
if 
  999999 > $lowrider_opposition_skill
goto_if_false @LOWGAME_10186
if 
  $audio_sound_file == 2
goto_if_false @LOWGAME_10179
17@ = 50
17@ *= 10
add_int_lvar_to_int_var $lowrider_opposition_skill += 17@
goto @LOWGAME_10186

:LOWGAME_10179
$lowrider_opposition_skill += 50

:LOWGAME_10186
$audio_line_is_active += 1
goto @LOWGAME_10534

:LOWGAME_10200
if 
  999999 > $lowrider_opposition_skill
goto_if_false @LOWGAME_10275
if 
  $audio_sound_file == 2
goto_if_false @LOWGAME_10268
17@ = 20
17@ *= 10
add_int_lvar_to_int_var $lowrider_opposition_skill += 17@
goto @LOWGAME_10275

:LOWGAME_10268
$lowrider_opposition_skill += 20

:LOWGAME_10275
$audio_string += 1
goto @LOWGAME_10534

:LOWGAME_10289
if 
  999999 > $lowrider_opposition_skill
goto_if_false @LOWGAME_10364
if 
  $audio_sound_file == 2
goto_if_false @LOWGAME_10357
17@ = 10
17@ *= 10
add_int_lvar_to_int_var $lowrider_opposition_skill += 17@
goto @LOWGAME_10364

:LOWGAME_10357
$lowrider_opposition_skill += 10

:LOWGAME_10364
$audio_string += 1
goto @LOWGAME_10534

:LOWGAME_10378
if 
  $lowrider_opposition_skill > 0
goto_if_false @LOWGAME_10403
$lowrider_opposition_skill += 0

:LOWGAME_10403
$1033 += 1
goto @LOWGAME_10534

:LOWGAME_10417
if 
  $lowrider_opposition_skill > 0
goto_if_false @LOWGAME_10442
$lowrider_opposition_skill += 0

:LOWGAME_10442
$1033 += 1
goto @LOWGAME_10534

:LOWGAME_10456
if 
  $lowrider_opposition_skill > 0
goto_if_false @LOWGAME_10481
$lowrider_opposition_skill += 0

:LOWGAME_10481
$1033 += 1
goto @LOWGAME_10534

:LOWGAME_10495
if 
  $lowrider_opposition_skill > 0
goto_if_false @LOWGAME_10520
$lowrider_opposition_skill += 0

:LOWGAME_10520
$1033 += 1
goto @LOWGAME_10534

:LOWGAME_10534
if 
  $lowrider_opposition_skill > 999999
goto_if_false @LOWGAME_10565
$lowrider_opposition_skill = 999999

:LOWGAME_10565
return 

:LOWGAME_10567
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
cset_lvar_float_to_var_int 26@ =# $launch_shit_for_debug_build
set_lvar_float_to_lvar_float 9@ = 26@
cset_lvar_float_to_var_int 26@ =# $game_starts_from_scratch
set_lvar_float_to_lvar_float 10@ = 26@
26@ = Math.GetDistanceBetweenCoords2D(0.0, 0.0, 9@, 10@)
18@ = 0
if 
  26@ > 64.0
goto_if_false @LOWGAME_10928
26@ = Math.GetAngleBetween2DVectors(9@, 10@, 0.0, -1.0)
if 
  15.0 > 26@
goto_if_false @LOWGAME_10720
18@ = 13
goto @LOWGAME_10928

:LOWGAME_10720
if 
  75.0 > 26@
goto_if_false @LOWGAME_10787
if 
  $launch_shit_for_debug_build > 0
goto_if_false @LOWGAME_10773
18@ = 11
goto @LOWGAME_10780

:LOWGAME_10773
18@ = 15

:LOWGAME_10780
goto @LOWGAME_10928

:LOWGAME_10787
if 
  105.0 > 26@
goto_if_false @LOWGAME_10854
if 
  $launch_shit_for_debug_build > 0
goto_if_false @LOWGAME_10840
18@ = 10
goto @LOWGAME_10847

:LOWGAME_10840
18@ = 9

:LOWGAME_10847
goto @LOWGAME_10928

:LOWGAME_10854
if 
  165.0 > 26@
goto_if_false @LOWGAME_10921
if 
  $launch_shit_for_debug_build > 0
goto_if_false @LOWGAME_10907
18@ = 16
goto @LOWGAME_10914

:LOWGAME_10907
18@ = 12

:LOWGAME_10914
goto @LOWGAME_10928

:LOWGAME_10921
18@ = 14

:LOWGAME_10928
return 

:Noname_4
terminate_this_script 

:AUDIOL
script_name 'AUDIOL'
8@ = 0
if 
  8@ == -1
goto_if_false @AUDIOL_60
0@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)

:AUDIOL_60
if 
  $audio_line_terminate_all <> 0
goto_if_false @AUDIOL_169
if 
  2@ == 1
goto_if_false @AUDIOL_162
Audio.ClearMissionAudio(3@)

:AUDIOL_101
if 
  $audio_line_terminate_all <> 0
goto_if_false @AUDIOL_155
if 
  $bd_y == 1
goto_if_false @AUDIOL_144
goto @AUDIOL_737

:AUDIOL_144
wait 0
goto @AUDIOL_101

:AUDIOL_155
goto @AUDIOL_169

:AUDIOL_162
goto @AUDIOL_737

:AUDIOL_169
set_lvar_text_label 5@s = s$bd_future_time_shown
set_lvar_int_to_var_int 7@ = $bd_x
$audio_line_terminate_all = 1

:AUDIOL_192
if 
  $bd_y == 1
goto_if_false @AUDIOL_217
goto @AUDIOL_662

:AUDIOL_217
switch_start 8@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @AUDIOL_651 {caseNum1} 0 {caseLabel1} @AUDIOL_280 {caseNum2} 1 {caseLabel2} @AUDIOL_362 {caseNum3} 2 {caseLabel3} @AUDIOL_531 {caseNum4} 3 {caseLabel4} @AUDIOL_637 {caseNum5} -1 {caseLabel5} @AUDIOL_651 {caseNum6} -1 {caseLabel6} @AUDIOL_651 {caseNum7} -1 {caseLabel7} @AUDIOL_651

:AUDIOL_280
if 
  4@ == 0
goto_if_false @AUDIOL_311
Audio.ClearMissionAudio(3@)
Audio.LoadMissionAudio(3@, 7@)

:AUDIOL_311
if 
  not Char.IsDead(0@)
goto_if_false @AUDIOL_341
Char.DisableSpeech(0@, True)
Char.ShutUpForScriptedSpeech(0@, True)

:AUDIOL_341
TIMERA = 0
8@ += 1
goto @AUDIOL_651

:AUDIOL_362
if 
  Audio.HasMissionAudioLoaded(3@)
goto_if_false @AUDIOL_498
if 
  not Char.IsDead(0@)
goto_if_false @AUDIOL_444
if 
  not Char.IsTalking(0@)
goto_if_false @AUDIOL_436
if 
  1@ == 1
goto_if_false @AUDIOL_436
Audio.AttachMissionAudioToChar(3@, 0@)

:AUDIOL_436
Char.StartFacialTalk(0@, 10000)

:AUDIOL_444
Audio.PlayMissionAudio(3@)
if 
  not is_lvar_text_label_equal_to_text_label 5@s == 'DUMMY'
goto_if_false @AUDIOL_484
Text.PrintNow(5@s, 10000, 1)

:AUDIOL_484
8@ += 1
goto @AUDIOL_524

:AUDIOL_498
if 
  TIMERA > 5000
goto_if_false @AUDIOL_524
8@ += 1

:AUDIOL_524
goto @AUDIOL_651

:AUDIOL_531
if 
  Audio.HasMissionAudioLoaded(3@)
goto_if_false @AUDIOL_623
if 
  Audio.HasMissionAudioFinished(3@)
goto_if_false @AUDIOL_577
8@ += 1
goto @AUDIOL_616

:AUDIOL_577
if 
  Char.DoesExist(0@)
goto_if_false @AUDIOL_616
if 
  Char.IsDead(0@)
goto_if_false @AUDIOL_616
8@ += 1

:AUDIOL_616
goto @AUDIOL_630

:AUDIOL_623
8@ += 1

:AUDIOL_630
goto @AUDIOL_651

:AUDIOL_637
goto @AUDIOL_662
goto @AUDIOL_651

:AUDIOL_651
wait 0
goto @AUDIOL_192

:AUDIOL_662
if 
  not Char.IsDead(0@)
goto_if_false @AUDIOL_695
Char.EnableSpeech(0@)
Char.ShutUpForScriptedSpeech(0@, False)
Char.StopFacialTalk(0@)

:AUDIOL_695
Audio.ClearMissionAudio(3@)
if 
  not is_lvar_text_label_equal_to_text_label 5@s == 'DUMMY'
goto_if_false @AUDIOL_730
Text.ClearThisPrint(5@s)

:AUDIOL_730
$audio_line_terminate_all = 0

:AUDIOL_737
terminate_this_script 

:CLEANAU
script_name 'CLEANAU'
TIMERA = 0
$bd_y = 1

:CLEANAU_25
if 
  $audio_line_terminate_all <> 0
goto_if_false @CLEANAU_80
wait 0
if 
  TIMERA > 2000
goto_if_false @CLEANAU_73
$audio_line_terminate_all = 0

:CLEANAU_73
goto @CLEANAU_25

:CLEANAU_80
terminate_all_scripts_with_this_name 'AUDIOL'
$bd_y = 0
terminate_this_script 

:Noname_5
terminate_this_script 

:BDISPLY
script_name 'BDISPLY'
if 
  $1052 == 0
goto_if_false @BDISPLY_43
$1052 = 1
$beat_display_script_started = 0

:BDISPLY_43
Text.UseCommands(True)
Txd.LoadDictionary('LD_BEAT')
Txd.LoadSprite(1, "CROSS")
Txd.LoadSprite(2, "SQUARE")
Txd.LoadSprite(3, "TRIANG")
Txd.LoadSprite(4, "CIRCLE")
Txd.LoadSprite(13, "UP")
Txd.LoadSprite(14, "DOWN")
Txd.LoadSprite(10, "RIGHT")
Txd.LoadSprite(9, "LEFT")
Txd.LoadSprite(11, "UPR")
Txd.LoadSprite(16, "DOWNR")
Txd.LoadSprite(12, "DOWNL")
Txd.LoadSprite(15, "UPL")
Txd.LoadSprite(17, "CRING")
Txd.LoadSprite(18, "CHIT")
$bd_width = 4500
$bd_sprite_height = 800
$bd_sprite_width = 265.0
$BD_RenderHit = 390.0
$bd_terminate_script = 355.0
$debug_show_beat_position = 32.0
$time_of_first_beat = 32.0
19@ = 64.0
20@ = 64.0
22@ = 64.0
21@ = 64.0
16@ = Clock.GetGameTimer()
wait 1000

:BDISPLY_321
wait 0
if 
  Game.HasGameJustReturnedFromFrontend
goto_if_false @BDISPLY_352
$time_since_first_beat = 0
23@ = 0

:BDISPLY_352
0@ = Audio.GetBeatTrackStatus()
if 
  is_int_lvar_equal_to_constant 0@ == 3
goto_if_false @BDISPLY_1206
15@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 17@ = 15@
sub_int_lvar_from_int_lvar 17@ -= 16@
set_lvar_int_to_lvar_int 16@ = 15@
set_lvar_int_to_var_int 0@ = $bd_sprite_height
add_int_var_to_int_lvar 0@ += $bd_width
cset_lvar_float_to_lvar_int 5@ =# 0@
cset_lvar_float_to_var_int 6@ =# $bd_sprite_height
div_float_lvar_by_float_lvar 6@ /= 5@
mult_float_lvar_by_float_var 6@ *= $bd_terminate_script
set_var_float_to_var_float $on_footY = $bd_sprite_width
add_float_lvar_to_float_var $on_footY += 6@
set_var_float_to_var_float $on_footZ = $BD_RenderHit
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(17, $on_footY, $on_footZ, 20@, 19@, 128, 128, 128, 255)
$1051 = Clock.GetGameTimer()
sub_int_var_from_int_var $1051 -= $current_wanted_car_list
0@ = 1

:BDISPLY_528
if 
  11 > 0@
goto_if_false @BDISPLY_854
8@, 10@, 12@ = Audio.GetBeatProximity(0@)
if 
  10@ <> 0
goto_if_false @BDISPLY_840
if 
  is_int_var_greater_than_int_lvar $bd_width > 8@
goto_if_false @BDISPLY_840
BDISPLY_1274()
set_lvar_int_to_var_int 3@ = $bd_sprite_height
add_int_var_to_int_lvar 3@ += $bd_width
set_lvar_int_to_lvar_int 4@ = 8@
add_int_var_to_int_lvar 4@ += $bd_sprite_height
cset_lvar_float_to_lvar_int 5@ =# 4@
cset_lvar_float_to_lvar_int 6@ =# 3@
div_float_lvar_by_float_lvar 5@ /= 6@
mult_float_lvar_by_float_var 5@ *= $bd_terminate_script
set_var_float_to_var_float $on_footY = $bd_sprite_width
add_float_lvar_to_float_var $on_footY += 5@
set_var_float_to_var_float $on_footZ = $BD_RenderHit
cset_lvar_float_to_lvar_int 5@ =# 8@
cset_lvar_float_to_var_int 6@ =# $bd_width
div_float_lvar_by_float_lvar 5@ /= 6@
5@ *= -1.0
5@ += 1.0
if 
  0 > 8@
goto_if_false @BDISPLY_764
5@ = 1.0

:BDISPLY_764
5@ *= 255.0
cset_lvar_int_to_lvar_float 4@ =# 5@
if 
  18@ <> 0
goto_if_false @BDISPLY_840
BDISPLY_1583()
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(18@, $on_footY, $on_footZ, $time_of_first_beat, $debug_show_beat_position, 128, 128, 128, 4@)

:BDISPLY_840
0@ += 1
goto @BDISPLY_528

:BDISPLY_854
if 
  $current_wanted_list == 0
goto_if_false @BDISPLY_1199
0@ = -1

:BDISPLY_879
if 
  0@ > -11
goto_if_false @BDISPLY_1199
8@, 10@, 12@ = Audio.GetBeatProximity(0@)
8@ *= -1
if 
  10@ <> 0
goto_if_false @BDISPLY_1185
if 
  is_int_var_greater_than_int_lvar $bd_sprite_height > 8@
goto_if_false @BDISPLY_1185
BDISPLY_1274()
set_lvar_int_to_lvar_int 4@ = 8@
4@ *= -1
add_int_var_to_int_lvar 4@ += $bd_sprite_height
set_lvar_int_to_var_int 3@ = $bd_sprite_height
add_int_var_to_int_lvar 3@ += $bd_width
cset_lvar_float_to_lvar_int 5@ =# 4@
cset_lvar_float_to_lvar_int 6@ =# 3@
div_float_lvar_by_float_lvar 5@ /= 6@
mult_float_lvar_by_float_var 5@ *= $bd_terminate_script
set_var_float_to_var_float $on_footY = $bd_sprite_width
add_float_lvar_to_float_var $on_footY += 5@
set_var_float_to_var_float $on_footZ = $BD_RenderHit
cset_lvar_float_to_lvar_int 5@ =# 4@
cset_lvar_float_to_var_int 6@ =# $bd_sprite_height
div_float_lvar_by_float_lvar 5@ /= 6@
if 
  0 > 8@
goto_if_false @BDISPLY_1109
5@ = 1.0

:BDISPLY_1109
5@ *= 255.0
cset_lvar_int_to_lvar_float 4@ =# 5@
if 
  18@ <> 0
goto_if_false @BDISPLY_1185
BDISPLY_1583()
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(18@, $on_footY, $on_footZ, $time_of_first_beat, $debug_show_beat_position, 128, 128, 128, 4@)

:BDISPLY_1185
0@ -= 1
goto @BDISPLY_879

:BDISPLY_1199
goto @BDISPLY_1213

:BDISPLY_1206
goto @BDISPLY_1252

:BDISPLY_1213
if 
  $beat_display_script_started == 0
goto_if_false @BDISPLY_1245
goto @BDISPLY_321
goto @BDISPLY_1252

:BDISPLY_1245
goto @BDISPLY_1252

:BDISPLY_1252
$beat_display_script_started = 0
$1052 = 0
Text.UseCommands(False)
Txd.Remove
terminate_this_script 

:BDISPLY_1274
18@ = 0
if 
  10@ == 1
goto_if_false @BDISPLY_1306
18@ = 1

:BDISPLY_1306
if 
  10@ == 2
goto_if_false @BDISPLY_1331
18@ = 2

:BDISPLY_1331
if 
  10@ == 3
goto_if_false @BDISPLY_1356
18@ = 3

:BDISPLY_1356
if 
  10@ == 4
goto_if_false @BDISPLY_1381
18@ = 4

:BDISPLY_1381
if 
  10@ == 9
goto_if_false @BDISPLY_1406
18@ = 9

:BDISPLY_1406
if 
  10@ == 10
goto_if_false @BDISPLY_1431
18@ = 10

:BDISPLY_1431
if 
  10@ == 11
goto_if_false @BDISPLY_1456
18@ = 11

:BDISPLY_1456
if 
  10@ == 12
goto_if_false @BDISPLY_1481
18@ = 12

:BDISPLY_1481
if 
  10@ == 13
goto_if_false @BDISPLY_1506
18@ = 13

:BDISPLY_1506
if 
  10@ == 14
goto_if_false @BDISPLY_1531
18@ = 14

:BDISPLY_1531
if 
  10@ == 15
goto_if_false @BDISPLY_1556
18@ = 15

:BDISPLY_1556
if 
  10@ == 16
goto_if_false @BDISPLY_1581
18@ = 16

:BDISPLY_1581
return 

:BDISPLY_1583
if and
  $time_since_first_beat > 0
  23@ == 0
goto_if_false @BDISPLY_1635
1@, 1@, 25@ = Audio.GetBeatProximity(0)
25@ += 1
23@ = 1

:BDISPLY_1635
set_lvar_int_to_lvar_int 13@ = 12@
add_int_lvar_to_int_lvar 13@ += 0@
if 
  0 > 0@
goto_if_false @BDISPLY_1683
8@ *= -1
13@ += 1

:BDISPLY_1683
if 
  is_int_lvar_equal_to_int_lvar 13@ == 25@
goto_if_false @BDISPLY_1764
if and
  3000 >= 8@
  8@ > -400
goto_if_false @BDISPLY_1743
BDISPLY_1773()
goto @BDISPLY_1757

:BDISPLY_1743
23@ = 0
$time_since_first_beat = 0

:BDISPLY_1757
goto @BDISPLY_1771

:BDISPLY_1764
$time_since_first_beat = 0

:BDISPLY_1771
return 

:BDISPLY_1773
switch_start 23@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @BDISPLY_2222 {caseNum1} 1 {caseLabel1} @BDISPLY_1836 {caseNum2} 2 {caseLabel2} @BDISPLY_2009 {caseNum3} 3 {caseLabel3} @BDISPLY_2113 {caseNum4} -1 {caseLabel4} @BDISPLY_2222 {caseNum5} -1 {caseLabel5} @BDISPLY_2222 {caseNum6} -1 {caseLabel6} @BDISPLY_2222 {caseNum7} -1 {caseLabel7} @BDISPLY_2222

:BDISPLY_1836
if 
  $time_since_first_beat == 1
goto_if_false @BDISPLY_1875
26@ = 90
27@ = 100
goto @BDISPLY_1948

:BDISPLY_1875
if 
  $time_since_first_beat == 2
goto_if_false @BDISPLY_1915
26@ = 190
27@ = 80
goto @BDISPLY_1948

:BDISPLY_1915
if 
  $time_since_first_beat == 3
goto_if_false @BDISPLY_1948
26@ = 255
27@ = 25

:BDISPLY_1948
set_lvar_int_to_lvar_int 24@ = 26@
TIMERB = 0
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(18, $on_footY, $on_footZ, 21@, 22@, 128, 128, 128, 24@)
23@ += 1
goto @BDISPLY_2222

:BDISPLY_2009
if 
  is_int_lvar_greater_than_int_lvar 27@ > TIMERB
goto_if_false @BDISPLY_2067
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(18, $on_footY, $on_footZ, 21@, 22@, 128, 128, 128, 24@)
goto @BDISPLY_2106

:BDISPLY_2067
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(18, $on_footY, $on_footZ, 21@, 22@, 128, 128, 128, 24@)
23@ += 1

:BDISPLY_2106
goto @BDISPLY_2222

:BDISPLY_2113
set_lvar_int_to_lvar_int 1@ = 26@
div_int_lvar_by_int_lvar 1@ /= 17@
1@ *= 4
sub_int_lvar_from_int_lvar 24@ -= 1@
if 
  0 >= 24@
goto_if_false @BDISPLY_2183
24@ = 0
23@ = 0
$time_since_first_beat = 0

:BDISPLY_2183
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(18, $on_footY, $on_footZ, 21@, 22@, 128, 128, 128, 24@)
goto @BDISPLY_2222

:BDISPLY_2222
return 

:Noname_6
terminate_this_script 

:IMPEXPM
script_name 'IMPEXPM'
if 
  $steal4_flag <> 99
goto_if_false @IMPEXPM_484
if 
  $steal4_flag == -1000
goto_if_false @IMPEXPM_123
27@ = Object.CreateNoOffset(#NF_BLACKBOARD, 0.0, 0.0, 0.0)
$2834[0] = CarGenerator.CreateWithPlate(0.0, 0.0, 0.0, 180.0, 587, -1, -1, False, 50, 0, 0, 10000, "IMPEXP__")

:IMPEXPM_123
if 
  not Object.DoesExist(27@)
goto_if_false @IMPEXPM_190
27@ = Object.CreateNoOffset(#NF_BLACKBOARD, -1573.881, 135.3845, 2.535)
Object.SetHeading(27@, 180.0)
Object.FreezePosition(27@, True)
Object.SetDynamic(27@, False)
Object.DontRemove(27@)

:IMPEXPM_190
$1053 = 0
set_var_int_to_constant $1080[0] = 589
set_var_int_to_constant $1080[1] = 404
set_var_int_to_constant $1080[2] = 559
set_var_int_to_constant $1080[3] = 589
set_var_int_to_constant $1080[4] = 404
set_var_int_to_constant $1080[5] = 559
4@ = 6

:IMPEXPM_252
if 
  42 > 4@
goto_if_false @IMPEXPM_295
$1080(4@,42i) = -1
4@ += 1
goto @IMPEXPM_252

:IMPEXPM_295
set_var_text_label s$1171[0] = 'IE16'
set_var_text_label s$1171[1] = 'IE10'
set_var_text_label s$1171[2] = 'IE11'
set_var_text_label s$1171[3] = 'IE12'
set_var_text_label s$1171[4] = 'IE13'
set_var_text_label s$1171[5] = 'IE14'
set_var_text_label s$1171[6] = 'IE15'
$export_price_multiplier = 0
$import_price_multiplier = 0
$export_damage_multiplier = 0
$1190 = 0.8
$1191 = 1.0
$1193[0] = -1
$1193[1] = -1
$1193[2] = -1
$1193[3] = -1
$1193[4] = -1
start_new_script @IMPEXPC 
$steal4_flag = 99

:IMPEXPM_484
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_563
if and
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1574.881, 135.3845, 150.0, 150.0, False)
  $disable_crane_exit == 1
goto_if_false @IMPEXPM_563
15@ = 0
goto @IMPEXPM_577

:IMPEXPM_563
goto @IMPEXPM_484
26@ = 0

:IMPEXPM_577
if 
  $disable_crane_exit == 1
goto_if_false @IMPEXPM_627
if 
  $model_index == 1
goto_if_false @IMPEXPM_627
$model_index = 0
$impexp_door_rotation = 1

:IMPEXPM_627
IMPEXPM_11697()
if 
  16@ == -1
goto_if_false @IMPEXPM_875
17@ = Car.Create(413, 0.0, 0.0, 0.0)
20@ = Car.Create(413, 0.0, 0.0, 0.0)
22@ = Car.Create(413, 0.0, 0.0, 0.0)
27@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
$1124[0] = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
$1134[0] = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
$1144[0] = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
24@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
$magno_base_x = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
$impexp_text_label = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)

:IMPEXPM_875
16@ = 0
20@ = -1
23@ = 0
$impexp_panel = 0.0
28@ = 0
IMPEXPM_10078()
IMPEXPM_10735()
if 
  $disable_crane_exit == 1
goto_if_false @IMPEXPM_1185
if 
  Object.DoesExist($impexp_text_label)
goto_if_false @IMPEXPM_966
Object.Delete($impexp_text_label)

:IMPEXPM_966
if 
  $1053 == 0
goto_if_false @IMPEXPM_1039
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(27@, 0.0, 0.0, 0.0)
$impexp_text_label = Object.CreateNoOffset(#NF_LIST_1, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($impexp_text_label, 180.0)

:IMPEXPM_1039
if 
  $1053 == 1
goto_if_false @IMPEXPM_1112
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(27@, 0.0, 0.0, 0.0)
$impexp_text_label = Object.CreateNoOffset(#NF_LIST_2, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($impexp_text_label, 180.0)

:IMPEXPM_1112
if 
  $1053 == 2
goto_if_false @IMPEXPM_1185
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(27@, 0.0, 0.0, 0.0)
$impexp_text_label = Object.CreateNoOffset(#NF_LIST_3, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($impexp_text_label, 180.0)

:IMPEXPM_1185
IMPEXPM_11697()
if 
  $disable_crane_exit == 1
goto_if_false @IMPEXPM_1559
4@ = 0

:IMPEXPM_1217
if 
  10 > 4@
goto_if_false @IMPEXPM_1559
if 
  Object.DoesExist($1124(4@,10i))
goto_if_false @IMPEXPM_1264
Object.Delete($1124(4@,10i))

:IMPEXPM_1264
$1124(4@,10i) = -1
if or
  $weapon_shop1_blip == 0
  $imported_cars == 1
goto_if_false @IMPEXPM_1545
if 
  $1064(4@,10i) == 1
goto_if_false @IMPEXPM_1545
if 
  not Object.DoesExist($1124(4@,10i))
goto_if_false @IMPEXPM_1545
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(27@, 0.0, 0.0, 0.0)
cset_lvar_float_to_lvar_int 12@ =# 4@
if 
  12@ > 4.0
goto_if_false @IMPEXPM_1410
12@ += -5.0

:IMPEXPM_1410
set_lvar_float_to_lvar_float 13@ = 12@
13@ *= -0.05
12@ *= -0.2355
add_float_lvar_to_float_lvar 12@ += 13@
add_float_lvar_to_float_var $in_carX += 12@
if 
  5 > 4@
goto_if_false @IMPEXPM_1482
$on_footY += 1.741

:IMPEXPM_1482
12@ *= -0.1
add_float_lvar_to_float_var $in_carX += 12@
$1124(4@,10i) = Object.CreateNoOffset(#WANTED_CROSS_OFF, $on_footY, $on_footZ, $in_carX)
Object.FreezePosition($1124(4@,10i), True)
Object.SetHeading($1124(4@,10i), 180.0)

:IMPEXPM_1545
4@ += 1
goto @IMPEXPM_1217

:IMPEXPM_1559
wait 0
if 
  $disable_crane_exit == 0
goto_if_false @IMPEXPM_1588
goto @IMPEXPM_1559

:IMPEXPM_1588
if 
  26@ == 1
goto_if_false @IMPEXPM_1730
if 
  Car.DoesExist(22@)
goto_if_false @IMPEXPM_1730
if 
  not Car.IsDead(22@)
goto_if_false @IMPEXPM_1680
Car.FreezePosition(22@, True)
if 
  not Car.IsOnScreen(22@)
goto_if_false @IMPEXPM_1673
Car.Delete(22@)
26@ = 0

:IMPEXPM_1673
goto @IMPEXPM_1692

:IMPEXPM_1680
Car.Delete(22@)
26@ = 0

:IMPEXPM_1692
17@, 18@, 19@ = Object.GrabEntityOnRope($magno_base_x)
if 
  is_int_lvar_equal_to_int_lvar 17@ == 22@
goto_if_false @IMPEXPM_1730
Object.ReleaseEntityFromRope($magno_base_x)

:IMPEXPM_1730
if and
  $import_price_multiplier <> 0
  TIMERB > 5000
goto_if_false @IMPEXPM_1836
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @IMPEXPM_1836
if 
  $import_price_multiplier == 1
goto_if_false @IMPEXPM_1800
Text.PrintHelp('IE25')

:IMPEXPM_1800
if 
  $import_price_multiplier == 2
goto_if_false @IMPEXPM_1829
Text.PrintHelp('IE26')

:IMPEXPM_1829
$import_price_multiplier = 0

:IMPEXPM_1836
if 
  $export_price_multiplier == 0
goto_if_false @IMPEXPM_1941
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_1941
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1574.881, 135.3845, 40.0, 40.0, False)
goto_if_false @IMPEXPM_1941
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @IMPEXPM_1941
Text.PrintHelp('IE27')
$export_price_multiplier += 1

:IMPEXPM_1941
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_7133
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1574.881, 135.3845, 150.0, 150.0, False)
goto_if_false @IMPEXPM_7119
if 
  15@ == 0
goto_if_false @IMPEXPM_4303
if 
  $export_damage_multiplier == 0
goto_if_false @IMPEXPM_4027
if 
  16@ == 0
goto_if_false @IMPEXPM_2826
IMPEXPM_10658()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_2120
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1577.942, 52.6333, 16.3281, 4.0, 4.0, 6.0, True)
goto_if_false @IMPEXPM_2120

:IMPEXPM_2120
$stealth_help_flag = World.GetRandomCarInSphereNoSave(-1577.942, 52.6333, 16.3281, 4.0, -1)
if 
  Car.DoesExist($stealth_help_flag)
goto_if_false @IMPEXPM_2533
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @IMPEXPM_2533
if 
  Car.IsStopped($stealth_help_flag)
goto_if_false @IMPEXPM_2533
if 
  not Car.IsInAirProper($stealth_help_flag)
goto_if_false @IMPEXPM_2533
if 
  not is_int_var_equal_to_int_lvar $stealth_help_flag == 17@
goto_if_false @IMPEXPM_2533
6@ = Car.GetModel($stealth_help_flag)
4@ = 0
5@ = 0

:IMPEXPM_2252
if 
  10 > 4@
goto_if_false @IMPEXPM_2343
if 
  is_int_var_equal_to_int_lvar $1054(4@,10i) == 6@
goto_if_false @IMPEXPM_2329
if 
  $1064(4@,10i) == 0
goto_if_false @IMPEXPM_2329
5@ = 1
4@ = 10

:IMPEXPM_2329
4@ += 1
goto @IMPEXPM_2252

:IMPEXPM_2343
if 
  5@ == 1
goto_if_false @IMPEXPM_2504
set_lvar_int_to_var_int 22@ = $stealth_help_flag
if 
  Car.IsPassengerSeatFree($stealth_help_flag, SeatIndex.FrontRight)
goto_if_false @IMPEXPM_2431
18@ = Char.CreateRandom(-1576.88, 55.26, 8.57)
Char.WarpIntoCarAsPassenger(18@, $stealth_help_flag, 0)
Char.SetVisible(18@, False)
goto @IMPEXPM_2483

:IMPEXPM_2431
18@ = Car.GetCharInPassengerSeat($stealth_help_flag, 0)
Char.Delete(18@)
18@ = Char.CreateRandom(-1576.88, 55.26, 8.57)
Char.WarpIntoCarAsPassenger(18@, $stealth_help_flag, 0)
Char.SetVisible(18@, False)

:IMPEXPM_2483
16@ += 1
TIMERA = 0
goto @IMPEXPM_2533

:IMPEXPM_2504
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @IMPEXPM_2533
Text.Print('IE23', 3000, 1)

:IMPEXPM_2533
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_2826
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @IMPEXPM_2826
if 
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, -1577.942, 52.6333, 16.3281, 4.0, 4.0, 6.0, False)
goto_if_false @IMPEXPM_2826
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
6@ = Car.GetModel($stealth_help_flag)
4@ = 0
5@ = 0

:IMPEXPM_2643
if 
  10 > 4@
goto_if_false @IMPEXPM_2734
if 
  is_int_var_equal_to_int_lvar $1054(4@,10i) == 6@
goto_if_false @IMPEXPM_2720
if 
  $1064(4@,10i) == 0
goto_if_false @IMPEXPM_2720
5@ = 1
4@ = 10

:IMPEXPM_2720
4@ += 1
goto @IMPEXPM_2643

:IMPEXPM_2734
if 
  5@ == 1
goto_if_false @IMPEXPM_2797
set_lvar_int_to_var_int 22@ = $stealth_help_flag
if 
  not Car.IsDead(22@)
goto_if_false @IMPEXPM_2776

:IMPEXPM_2776
16@ += 1
TIMERA = 0
goto @IMPEXPM_2826

:IMPEXPM_2797
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @IMPEXPM_2826
Text.Print('IE23', 3000, 1)

:IMPEXPM_2826
if 
  16@ == 1
goto_if_false @IMPEXPM_3536
if 
  Object.DoesExist($magno_base_x)
goto_if_false @IMPEXPM_2870
Object.SetRopeHeight($magno_base_x, 0.7)

:IMPEXPM_2870
$disable_crane_slide = 1
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_2900
Player.SetControl($statbike_temp, False)

:IMPEXPM_2900
Camera.DoFade(250, Fade.Out)

:IMPEXPM_2907
if 
  Camera.GetFadingStatus
goto_if_false @IMPEXPM_2931
wait 0
goto @IMPEXPM_2907

:IMPEXPM_2931
if 
  Car.DoesExist(22@)
goto_if_false @IMPEXPM_3046
if 
  not Car.IsDead(22@)
goto_if_false @IMPEXPM_3046
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_2993
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)

:IMPEXPM_2993
Car.SetCoordinates(22@, -1577.942, 52.6333, 40.0)
Car.FreezePosition(22@, True)
4@ = Car.GetHealth(22@)
cset_var_float_to_lvar_int $1192 =# 4@
$1192 /= 1000.0

:IMPEXPM_3046
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-1573.419, 53.4591, 17.9655, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1574.344, 53.0835, 17.9027, SwitchType.JumpCut)
World.ClearArea(-1577.942, 52.6333, 16.3281, 9.0, True)
wait 0
if 
  not Car.IsDead(22@)
goto_if_false @IMPEXPM_3325
4@ = Car.GetModel(22@)
$on_footY, $on_footZ, $in_carX, 7@, 8@, 9@ = Streaming.GetModelDimensions(4@)
set_lvar_float_to_lvar_float 12@ = 8@
sub_float_var_from_float_lvar 12@ -= $on_footZ
12@ /= 2.0
12@ *= -1.0
14@ = Math.Sin(45.0)
13@ = Math.Cos(45.0)
mult_float_lvar_by_float_lvar 13@ *= 12@
mult_float_lvar_by_float_lvar 14@ *= 12@
$on_footY = -1577.942
add_float_lvar_to_float_var $on_footY += 14@
$on_footZ = 52.6333
add_float_lvar_to_float_var $on_footZ += 13@
$in_carX = 16.3281
Car.FreezePosition(22@, False)
Car.SetCoordinates(22@, $on_footY, $on_footZ, $in_carX)
Car.SetHeading(22@, 315.0)

:IMPEXPM_3325
Camera.DoFade(250, Fade.In)

:IMPEXPM_3332
if 
  Camera.GetFadingStatus
goto_if_false @IMPEXPM_3356
wait 0
goto @IMPEXPM_3332

:IMPEXPM_3356
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_3482
if 
  not Car.IsDead(22@)
goto_if_false @IMPEXPM_3482
if 
  Char.IsInCar($stattreadstamina_ctr, 22@)
goto_if_false @IMPEXPM_3475
31@ = 1
30@ = Sequence.Open()
Task.LeaveCar(-1, 22@)
Task.GoStraightToCoord(-1, -1578.164, 63.7954, 16.3281, MoveState.Walk, 10000)
Sequence.Close(30@)
Char.PerformSequence($stattreadstamina_ctr, 30@)
Sequence.Clear(30@)
goto @IMPEXPM_3482

:IMPEXPM_3475
31@ = 0

:IMPEXPM_3482
Text.PrintNow('IE24', 5000, 1)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @IMPEXPM_3522
1@ = 1

:IMPEXPM_3522
TIMERA = 0
16@ += 1

:IMPEXPM_3536
if 
  16@ == 2
goto_if_false @IMPEXPM_3646
if or
  TIMERA > 5000
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @IMPEXPM_3604
if 
  1@ == 0
goto_if_false @IMPEXPM_3604
16@ += 1

:IMPEXPM_3604
if 
  1@ == 1
goto_if_false @IMPEXPM_3646
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @IMPEXPM_3646
1@ = 0

:IMPEXPM_3646
if 
  16@ == 3
goto_if_false @IMPEXPM_4027
Camera.DoFade(500, Fade.Out)

:IMPEXPM_3671
if 
  Camera.GetFadingStatus
goto_if_false @IMPEXPM_3695
wait 0
goto @IMPEXPM_3671

:IMPEXPM_3695
if 
  31@ <> 0
goto_if_false @IMPEXPM_3764
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_3764
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -1578.164, 63.7954, 16.3281)
Char.SetHeading($stattreadstamina_ctr, 0.8)

:IMPEXPM_3764
IMPEXPM_9411()
Car.Delete(22@)
if 
  Char.DoesExist(18@)
goto_if_false @IMPEXPM_3797
Char.Delete(18@)

:IMPEXPM_3797
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
$disable_crane_slide = 0
if 
  $finish_crane_loading_script == 2
goto_if_false @IMPEXPM_3837
$remove_player_from_crane = 1

:IMPEXPM_3837
Camera.DoFade(500, Fade.In)

:IMPEXPM_3844
if 
  Camera.GetFadingStatus
goto_if_false @IMPEXPM_3868
wait 0
goto @IMPEXPM_3844

:IMPEXPM_3868
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_3891
Player.SetControl($statbike_temp, True)

:IMPEXPM_3891
if 
  $export_damage_multiplier == 1
goto_if_false @IMPEXPM_3950
Text.PrintBig('IE29', 5000, TextStyle.Middle)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
wait 5000

:IMPEXPM_3950
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_3974
Player.AddScore($statbike_temp, 29@)

:IMPEXPM_3974
Text.PrintWithNumberBig('IE30', 29@, 5000, TextStyle.Middle)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
TIMERB = 0
goto @IMPEXPM_577

:IMPEXPM_4027
if 
  Object.DoesExist(27@)
goto_if_false @IMPEXPM_4303
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(27@, 0.0, 1.5, 0.0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_4303
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 2.0, 1.0, 2.0, False)
goto_if_false @IMPEXPM_4269
if 
  23@ <> 1
goto_if_false @IMPEXPM_4166
Text.PrintHelp('IE18')
23@ = 1

:IMPEXPM_4166
Pad.SetPlayerEnterCarButton($statbike_temp, False)
if 
  0@ == 0
goto_if_false @IMPEXPM_4237
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @IMPEXPM_4230
0@ = 1
15@ = 1
goto @IMPEXPM_577

:IMPEXPM_4230
goto @IMPEXPM_4262

:IMPEXPM_4237
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @IMPEXPM_4262
0@ = 0

:IMPEXPM_4262
goto @IMPEXPM_4303

:IMPEXPM_4269
if 
  23@ == 1
goto_if_false @IMPEXPM_4296
Text.ClearHelp
23@ = 0

:IMPEXPM_4296
Pad.SetPlayerEnterCarButton($statbike_temp, True)

:IMPEXPM_4303
if 
  15@ == 1
goto_if_false @IMPEXPM_7112

:IMPEXPM_4321
if 
  16@ == 0
goto_if_false @IMPEXPM_4598
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_4362
Player.SetControl($statbike_temp, False)

:IMPEXPM_4362
Text.PrintHelpForever('IE20')
Hud.DisplayRadar(False)
$1157 = Menu.Create('IE09', 29.0, 170.0, 180.0, 1, True, True, 0)
Menu.SetColumn($1157, 0, 'DUMMY', 'IE16', 'IE10', 'IE11', 'IE12', 'IE13', 'IE14', 'IE15', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
if 
  4@ == -69
goto_if_false @IMPEXPM_4571
Menu.SetActiveItem($1157, $1152)
goto @IMPEXPM_4591

:IMPEXPM_4571
4@ = Clock.GetCurrentDayOfWeek()
4@ += -1
Menu.SetActiveItem($1157, 4@)

:IMPEXPM_4591
16@ += 1

:IMPEXPM_4598
if 
  16@ == 1
goto_if_false @IMPEXPM_4876
if 
  1@ == 0
goto_if_false @IMPEXPM_4692
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @IMPEXPM_4685
$1152 = Menu.GetItemSelected($1157)
16@ += 1
1@ = 1
Text.ClearThisPrint('IE28')

:IMPEXPM_4685
goto @IMPEXPM_4717

:IMPEXPM_4692
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @IMPEXPM_4717
1@ = 0

:IMPEXPM_4717
if 
  0@ == 0
goto_if_false @IMPEXPM_4817
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @IMPEXPM_4810
IMPEXPM_9045()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_4783
Player.SetControl($statbike_temp, True)

:IMPEXPM_4783
Hud.DisplayRadar(True)
Text.ClearHelp
15@ = 0
16@ = 0
0@ = 1

:IMPEXPM_4810
goto @IMPEXPM_4842

:IMPEXPM_4817
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @IMPEXPM_4842
0@ = 0

:IMPEXPM_4842
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
goto_if_false @IMPEXPM_4876
Text.ClearThisPrint('IE28')

:IMPEXPM_4876
if 
  16@ == 2
goto_if_false @IMPEXPM_5564
set_var_int_to_var_int $iAPgateSF2b = $1152
IMPEXPM_10735()
4@ = 0
5@ = 0

:IMPEXPM_4923
if 
  6 > 4@
goto_if_false @IMPEXPM_4991
if 
  $1074(4@,6i) <> -1
goto_if_false @IMPEXPM_4977
5@ = 1
4@ = 6

:IMPEXPM_4977
4@ += 1
goto @IMPEXPM_4923

:IMPEXPM_4991
if 
  5@ == 0
goto_if_false @IMPEXPM_5046
Text.PrintNow('IE28', 5000, 1)
16@ = 1
goto @IMPEXPM_4321
goto @IMPEXPM_5564

:IMPEXPM_5046
Text.PrintHelpForever('IE21')
Menu.Delete($1157)
$1158 = Menu.Create('IE09', 29.0, 170.0, 180.0, 2, True, True, 0)
4@ = 0

:IMPEXPM_5106
if 
  6 > 4@
goto_if_false @IMPEXPM_5212
set_lvar_int_to_var_int 6@ = $1074(4@,6i)
if 
  6@ <> -1
goto_if_false @IMPEXPM_5180
IMPEXPM_11888()
set_var_text_label $1159(4@,6s) = s$impexp_menu_text_label
goto @IMPEXPM_5198

:IMPEXPM_5180
set_var_text_label $1159(4@,6s) = 'DUMMY'

:IMPEXPM_5198
4@ += 1
goto @IMPEXPM_5106

:IMPEXPM_5212
set_lvar_int_to_var_int 4@ = $1152
Menu.SetColumn($1158, 0, $1171(4@,7s), s$1159[0], s$1159[1], s$1159[2], s$1159[3], s$1159[4], s$1159[5], 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn($1158, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
4@ = 0

:IMPEXPM_5437
if 
  6 > 4@
goto_if_false @IMPEXPM_5557
set_lvar_int_to_var_int 6@ = $1074(4@,6i)
if 
  6@ <> -1
goto_if_false @IMPEXPM_5543
$1123 = Car.GetModelValue($1074(4@,6i))
cset_lvar_float_to_var_int 12@ =# $1123
mult_float_lvar_by_float_var 12@ *= $1190
cset_var_int_to_lvar_float $1123 =# 12@
Menu.SetItemWithNumber($1158, 1, 4@, 'DOLLAR', $1123)

:IMPEXPM_5543
4@ += 1
goto @IMPEXPM_5437

:IMPEXPM_5557
16@ += 1

:IMPEXPM_5564
if 
  16@ == 3
goto_if_false @IMPEXPM_5775
if 
  1@ == 0
goto_if_false @IMPEXPM_5647
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @IMPEXPM_5640
$impexp_menu = Menu.GetItemSelected($1158)
16@ += 1
1@ = 1

:IMPEXPM_5640
goto @IMPEXPM_5672

:IMPEXPM_5647
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @IMPEXPM_5672
1@ = 0

:IMPEXPM_5672
if 
  0@ == 0
goto_if_false @IMPEXPM_5750
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @IMPEXPM_5743
IMPEXPM_9045()
16@ = 0
0@ = 1
4@ = -69
goto @IMPEXPM_4321

:IMPEXPM_5743
goto @IMPEXPM_5775

:IMPEXPM_5750
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @IMPEXPM_5775
0@ = 0

:IMPEXPM_5775
if 
  16@ == 4
goto_if_false @IMPEXPM_6085
4@ = Clock.GetCurrentDayOfWeek()
4@ += -1
if 
  not is_int_lvar_equal_to_int_var 4@ == $1152
goto_if_false @IMPEXPM_5854
Text.PrintNow('IE19', 5000, 1)
IMPEXPM_9045()
16@ = 0

:IMPEXPM_5854
$1123 = Car.GetModelValue($1074(25@,6i))
cset_lvar_float_to_var_int 12@ =# $1123
mult_float_lvar_by_float_var 12@ *= $1190
cset_var_int_to_lvar_float $1123 =# 12@
4@ = Player.StoreScore($statbike_temp)
if 
  is_int_var_greater_than_int_lvar $1123 > 4@
goto_if_false @IMPEXPM_5947
Text.PrintNow('IE07', 5000, 1)
IMPEXPM_9045()
16@ = 0

:IMPEXPM_5947
if 
  16@ <> 0
goto_if_false @IMPEXPM_6001
if 
  $1074($impexp_menu,6i) == -1
goto_if_false @IMPEXPM_6001
IMPEXPM_9045()
16@ = 0

:IMPEXPM_6001
if 
  16@ <> 0
goto_if_false @IMPEXPM_6085
$1123 = Car.GetModelValue($1074(25@,6i))
cset_lvar_float_to_var_int 12@ =# $1123
mult_float_lvar_by_float_var 12@ *= $1190
cset_var_int_to_lvar_float $1123 =# 12@
set_lvar_int_to_var_int 4@ = $1123
4@ *= -1
Player.AddScore($statbike_temp, 4@)
16@ += 1

:IMPEXPM_6085
if 
  16@ == 5
goto_if_false @IMPEXPM_6558
if 
  not Streaming.HasModelLoaded($1074($impexp_menu,6i))
goto_if_false @IMPEXPM_6163
Streaming.RequestModel($1074($impexp_menu,6i))

:IMPEXPM_6132
if 
  not Streaming.HasModelLoaded($1074($impexp_menu,6i))
goto_if_false @IMPEXPM_6163
wait 0
goto @IMPEXPM_6132

:IMPEXPM_6163
Text.ClearHelp
IMPEXPM_9045()
World.ClearArea(-1572.168, 63.2853, 16.3281, 20.0, True)
IMPEXPM_13137()
$1122 = Car.Create($1074($impexp_menu,6i), -1572.168, 63.2853, 16.3281)
Car.SetDirtLevel($1122, 0.0)
Car.SetHeading($1122, 315.0)
Streaming.MarkModelAsNoLongerNeeded($1074($impexp_menu,6i))
if 
  is_int_var_equal_to_constant $1074($impexp_menu,6i) == 589
goto_if_false @IMPEXPM_6291
Car.ChangeColor($1122, 11, 0)

:IMPEXPM_6291
4@ = Car.GetModel($1122)
$on_footY, $on_footZ, $in_carX, 7@, 8@, 9@ = Streaming.GetModelDimensions(4@)
set_lvar_float_to_lvar_float 12@ = 8@
sub_float_var_from_float_lvar 12@ -= $on_footZ
12@ /= 2.0
12@ *= -1.0
13@ = Math.Cos(45.0)
14@ = Math.Sin(45.0)
mult_float_lvar_by_float_lvar 13@ *= 12@
mult_float_lvar_by_float_lvar 14@ *= 12@
$on_footY = -1572.168
add_float_lvar_to_float_var $on_footY += 14@
$on_footZ = 63.2853
add_float_lvar_to_float_var $on_footZ += 13@
$in_carX = 16.3281
Car.SetCoordinates($1122, $on_footY, $on_footZ, $in_carX)
Car.SetHeading($1122, 315.0)
Text.ClearPrints
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-1567.597, 63.2567, 17.7586, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1568.576, 63.0585, 17.7094, SwitchType.JumpCut)
Text.PrintNow('IE08', 5000, 1)
Stat.IncrementInt(StatId.VehiclesImported, 1)
TIMERA = 0
16@ += 1

:IMPEXPM_6558
if 
  16@ == 6
goto_if_false @IMPEXPM_6684
if 
  TIMERA > 5000
goto_if_false @IMPEXPM_6609
16@ += 1
goto @IMPEXPM_6684

:IMPEXPM_6609
if 
  1@ == 0
goto_if_false @IMPEXPM_6659
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @IMPEXPM_6652
16@ += 1

:IMPEXPM_6652
goto @IMPEXPM_6684

:IMPEXPM_6659
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @IMPEXPM_6684
1@ = 0

:IMPEXPM_6684
if 
  16@ == 7
goto_if_false @IMPEXPM_6755
Text.ClearPrints
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_6735
Player.SetControl($statbike_temp, True)

:IMPEXPM_6735
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Hud.DisplayRadar(True)
Text.ClearHelp
16@ += 1

:IMPEXPM_6755
if 
  16@ == 8
goto_if_false @IMPEXPM_7112
if 
  not Car.IsDead($1122)
goto_if_false @IMPEXPM_6892
if and
  not Car.Locate3D($1122, -1572.168, 63.2853, 16.3281, 30.0, 30.0, 5.0, False)
  not Camera.IsPointOnScreen(-1572.168, 63.2853, 16.3281, 5.0)
goto_if_false @IMPEXPM_6885
Car.MarkAsNoLongerNeeded($1122)
15@ = 0
16@ = 0
goto @IMPEXPM_577

:IMPEXPM_6885
goto @IMPEXPM_6918

:IMPEXPM_6892
Car.MarkAsNoLongerNeeded($1122)
15@ = 0
16@ = 0
goto @IMPEXPM_577

:IMPEXPM_6918
if 
  Object.DoesExist(27@)
goto_if_false @IMPEXPM_7112
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(27@, 0.0, 1.5, 0.0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_7112
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 2.0, 1.0, 2.0, False)
goto_if_false @IMPEXPM_7112
if 
  0@ == 0
goto_if_false @IMPEXPM_7087
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @IMPEXPM_7080
0@ = 1
Text.PrintNow('IE08', 5000, 1)

:IMPEXPM_7080
goto @IMPEXPM_7112

:IMPEXPM_7087
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @IMPEXPM_7112
0@ = 0

:IMPEXPM_7112
goto @IMPEXPM_7126

:IMPEXPM_7119
goto @IMPEXPM_9057

:IMPEXPM_7126
goto @IMPEXPM_7140

:IMPEXPM_7133
goto @IMPEXPM_9057

:IMPEXPM_7140
if 
is_ps2_keyboard_key_just_pressed 85
goto_if_false @IMPEXPM_7249
4@ = 0

:IMPEXPM_7162
if 
  10 > 4@
goto_if_false @IMPEXPM_7235
if 
  $1064(4@,10i) == 0
goto_if_false @IMPEXPM_7221
set_lvar_int_to_var_int 6@ = $1054(4@,10i)
4@ = 10

:IMPEXPM_7221
4@ += 1
goto @IMPEXPM_7162

:IMPEXPM_7235
IMPEXPM_9411()
goto @IMPEXPM_577

:IMPEXPM_7249
if 
is_ps2_keyboard_key_just_pressed 84
goto_if_false @IMPEXPM_9038
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CURRENT_WANTED_LIST = ")
save_int_to_debug_file $1053
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("MODID, STATUS, PAYOUT, EXP NAME,  CROSS OUT")
save_newline_to_debug_file 
4@ = 0

:IMPEXPM_7544
if 
  10 > 4@
goto_if_false @IMPEXPM_8134
save_int_to_debug_file $1054(4@,10i)
Debugger.SaveStringToDebugFile("        ")
save_int_to_debug_file $1064(4@,10i)
Debugger.SaveStringToDebugFile("        ")
Debugger.SaveStringToDebugFile("        ")
save_int_to_debug_file $1134(4@,10i)
Debugger.SaveStringToDebugFile("        ")
save_int_to_debug_file $1124(4@,10i)
save_newline_to_debug_file 
4@ += 1
goto @IMPEXPM_7544

:IMPEXPM_8134
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("IMPORT DETAILS")
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("MODID, IMP NAME")
save_newline_to_debug_file 
4@ = 0

:IMPEXPM_8407
if 
  6 > 4@
goto_if_false @IMPEXPM_8589
save_int_to_debug_file $1074(4@,6i)
Debugger.SaveStringToDebugFile("         ")
save_int_to_debug_file $1144(4@,6i)
save_newline_to_debug_file 
4@ += 1
goto @IMPEXPM_8407

:IMPEXPM_8589
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("UNLOCKED_IMPORT_CARS ARRAY")
save_newline_to_debug_file 
4@ = 0

:IMPEXPM_8730
if 
  42 > 4@
goto_if_false @IMPEXPM_9038
Debugger.SaveStringToDebugFile("UNLOCKED_IMPORT_CARS[")
save_int_to_debug_file 4@
Debugger.SaveStringToDebugFile("] = ")
save_int_to_debug_file $1080(4@,42i)
save_newline_to_debug_file 
4@ += 1
goto @IMPEXPM_8730

:IMPEXPM_9038
goto @IMPEXPM_1559

:IMPEXPM_9045
Menu.Delete($1157)
Menu.Delete($1158)
return 

:IMPEXPM_9057
if 
  Car.DoesExist(22@)
goto_if_false @IMPEXPM_9127
if 
  Object.DoesExist($magno_base_x)
goto_if_false @IMPEXPM_9127
17@, 18@, 19@ = Object.GrabEntityOnRope($magno_base_x)
if 
  not is_int_lvar_equal_to_int_lvar 17@ == 22@
goto_if_false @IMPEXPM_9127
Car.MarkAsNoLongerNeeded(22@)

:IMPEXPM_9127
if 
  Car.DoesExist($1122)
goto_if_false @IMPEXPM_9197
if 
  Object.DoesExist($magno_base_x)
goto_if_false @IMPEXPM_9197
17@, 18@, 19@ = Object.GrabEntityOnRope($magno_base_x)
if 
  not is_int_lvar_equal_to_int_var 17@ == $1122
goto_if_false @IMPEXPM_9197
Car.MarkAsNoLongerNeeded($1122)

:IMPEXPM_9197
if 
  Char.DoesExist(18@)
goto_if_false @IMPEXPM_9218
Char.Delete(18@)

:IMPEXPM_9218
if 
  Object.DoesExist(24@)
goto_if_false @IMPEXPM_9239
Object.Delete(24@)

:IMPEXPM_9239
4@ = 0

:IMPEXPM_9246
if 
  10 > 4@
goto_if_false @IMPEXPM_9307
if 
  Object.DoesExist($1124(4@,10i))
goto_if_false @IMPEXPM_9293
Object.Delete($1124(4@,10i))

:IMPEXPM_9293
4@ += 1
goto @IMPEXPM_9246

:IMPEXPM_9307
if 
  Object.DoesExist($impexp_text_label)
goto_if_false @IMPEXPM_9328
Object.Delete($impexp_text_label)

:IMPEXPM_9328
if 
  $impexp_door_rotation == 1
goto_if_false @IMPEXPM_9353
$model_index = 1

:IMPEXPM_9353
goto @IMPEXPM_484
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_9390
Player.SetControl($statbike_temp, True)
Pad.SetPlayerEnterCarButton($statbike_temp, True)

:IMPEXPM_9390
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.ClearPrints
0@ = 1
return 
return 

:IMPEXPM_9411
Stat.IncrementInt(StatId.VehiclesExported, 1)
4@ = 0

:IMPEXPM_9425
if 
  10 > 4@
goto_if_false @IMPEXPM_9689
if 
  is_int_var_equal_to_int_lvar $1054(4@,10i) == 6@
goto_if_false @IMPEXPM_9675
if 
  $1064(4@,10i) == 0
goto_if_false @IMPEXPM_9675
$1064(4@,10i) = 1
29@ = Car.GetModelValue(6@)
cset_lvar_float_to_lvar_int 12@ =# 29@
mult_float_lvar_by_float_var 12@ *= $1191
mult_float_lvar_by_float_var 12@ *= $1192
cset_lvar_int_to_lvar_float 29@ =# 12@
4@ = Stat.GetInt(StatId.VehiclesExported)
switch_start 4@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @IMPEXPM_9668 {caseNum1} 10 {caseLabel1} @IMPEXPM_9610 {caseNum2} 20 {caseLabel2} @IMPEXPM_9627 {caseNum3} 30 {caseLabel3} @IMPEXPM_9644 {caseNum4} -1 {caseLabel4} @IMPEXPM_9668 {caseNum5} -1 {caseLabel5} @IMPEXPM_9668 {caseNum6} -1 {caseLabel6} @IMPEXPM_9668 {caseNum7} -1 {caseLabel7} @IMPEXPM_9668

:IMPEXPM_9610
29@ += 50000
goto @IMPEXPM_9668

:IMPEXPM_9627
29@ += 100000
goto @IMPEXPM_9668

:IMPEXPM_9644
29@ += 200000
$export_damage_multiplier = 1
goto @IMPEXPM_9668

:IMPEXPM_9668
4@ = 10

:IMPEXPM_9675
4@ += 1
goto @IMPEXPM_9425

:IMPEXPM_9689
IMPEXPM_11697()
4@ = 0

:IMPEXPM_9703
if 
  42 > 4@
goto_if_false @IMPEXPM_9784
if 
  $1080(4@,42i) == -1
goto_if_false @IMPEXPM_9770
set_var_int_to_lvar_int $1080(4@,42i) = 6@
set_lvar_int_to_lvar_int 5@ = 4@
4@ = 42

:IMPEXPM_9770
4@ += 1
goto @IMPEXPM_9703

:IMPEXPM_9784
$import_price_multiplier = 1
switch_start 5@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @IMPEXPM_10076 {caseNum1} 10 {caseLabel1} @IMPEXPM_9854 {caseNum2} 16 {caseLabel2} @IMPEXPM_9887 {caseNum3} 22 {caseLabel3} @IMPEXPM_9928 {caseNum4} 28 {caseLabel4} @IMPEXPM_9961 {caseNum5} 34 {caseLabel5} @IMPEXPM_10002 {caseNum6} 40 {caseLabel6} @IMPEXPM_10035 {caseNum7} -1 {caseLabel7} @IMPEXPM_10076

:IMPEXPM_9854
5@ += 1
set_var_int_to_constant $1080(5@,42i) = 444
$import_price_multiplier += 1
goto @IMPEXPM_10076

:IMPEXPM_9887
5@ += 1
set_var_int_to_constant $1080(5@,42i) = 555
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(2)
$import_price_multiplier += 1
goto @IMPEXPM_10076

:IMPEXPM_9928
5@ += 1
set_var_int_to_constant $1080(5@,42i) = 568
$import_price_multiplier += 1
goto @IMPEXPM_10076

:IMPEXPM_9961
5@ += 1
set_var_int_to_constant $1080(5@,42i) = 451
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(2)
$import_price_multiplier += 1
goto @IMPEXPM_10076

:IMPEXPM_10002
5@ += 1
set_var_int_to_constant $1080(5@,42i) = 539
$import_price_multiplier += 1
goto @IMPEXPM_10076

:IMPEXPM_10035
5@ += 1
set_var_int_to_constant $1080(5@,42i) = 541
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(2)
$import_price_multiplier += 1
goto @IMPEXPM_10076

:IMPEXPM_10076
return 

:IMPEXPM_10078
if and
  $weapon_shop1_blip == 1
  $imported_cars <> 1
goto_if_false @IMPEXPM_10180
$1054[0] = -1
$1054[1] = -1
$1054[2] = -1
$1054[3] = -1
$1054[4] = -1
$1054[5] = -1
$1054[6] = -1
$1054[7] = -1
$1054[8] = -1
$1054[9] = -1
goto @IMPEXPM_10656

:IMPEXPM_10180
4@ = 0
5@ = 0

:IMPEXPM_10194
if 
  10 > 4@
goto_if_false @IMPEXPM_10255
if 
  $1064(4@,10i) == 1
goto_if_false @IMPEXPM_10241
5@ += 1

:IMPEXPM_10241
4@ += 1
goto @IMPEXPM_10194

:IMPEXPM_10255
if 
  5@ == 10
goto_if_false @IMPEXPM_10362
if 
  2 > $1053
goto_if_false @IMPEXPM_10355
$1053 += 1
4@ = 0

:IMPEXPM_10305
if 
  10 > 4@
goto_if_false @IMPEXPM_10348
$1064(4@,10i) = 0
4@ += 1
goto @IMPEXPM_10305

:IMPEXPM_10348
goto @IMPEXPM_10362

:IMPEXPM_10355
$export_damage_multiplier = 1

:IMPEXPM_10362
if 
  $1053 == 0
goto_if_false @IMPEXPM_10460
set_var_int_to_constant $1054[0] = 402
set_var_int_to_constant $1054[1] = 405
set_var_int_to_constant $1054[2] = 411
set_var_int_to_constant $1054[3] = 483
set_var_int_to_constant $1054[4] = 445
set_var_int_to_constant $1054[5] = 470
set_var_int_to_constant $1054[6] = 468
set_var_int_to_constant $1054[7] = 409
set_var_int_to_constant $1054[8] = 533
set_var_int_to_constant $1054[9] = 534

:IMPEXPM_10460
if 
  $1053 == 1
goto_if_false @IMPEXPM_10558
set_var_int_to_constant $1054[0] = 415
set_var_int_to_constant $1054[1] = 489
set_var_int_to_constant $1054[2] = 439
set_var_int_to_constant $1054[3] = 514
set_var_int_to_constant $1054[4] = 480
set_var_int_to_constant $1054[5] = 535
set_var_int_to_constant $1054[6] = 496
set_var_int_to_constant $1054[7] = 580
set_var_int_to_constant $1054[8] = 475
set_var_int_to_constant $1054[9] = 521

:IMPEXPM_10558
if 
  $1053 == 2
goto_if_false @IMPEXPM_10656
set_var_int_to_constant $1054[0] = 429
set_var_int_to_constant $1054[1] = 506
set_var_int_to_constant $1054[2] = 508
set_var_int_to_constant $1054[3] = 579
set_var_int_to_constant $1054[4] = 424
set_var_int_to_constant $1054[5] = 536
set_var_int_to_constant $1054[6] = 463
set_var_int_to_constant $1054[7] = 500
set_var_int_to_constant $1054[8] = 477
set_var_int_to_constant $1054[9] = 587

:IMPEXPM_10656
return 

:IMPEXPM_10658
if 
  Object.DoesExist($magno_base_x)
goto_if_false @IMPEXPM_10733
17@, 18@, 19@ = Object.GrabEntityOnRope($magno_base_x)
if 
  17@ <> -1
goto_if_false @IMPEXPM_10733
if 
  not is_int_lvar_equal_to_int_lvar 20@ == 17@
goto_if_false @IMPEXPM_10733
set_lvar_int_to_lvar_int 20@ = 17@

:IMPEXPM_10733
return 

:IMPEXPM_10735
4@ = 0

:IMPEXPM_10742
if 
  6 > 4@
goto_if_false @IMPEXPM_10785
$1074(4@,6i) = -1
4@ += 1
goto @IMPEXPM_10742

:IMPEXPM_10785
switch_start $iAPgateSF2b {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @IMPEXPM_11233 {caseNum1} 0 {caseLabel1} @IMPEXPM_10848 {caseNum2} 1 {caseLabel2} @IMPEXPM_10903 {caseNum3} 2 {caseLabel3} @IMPEXPM_10958 {caseNum4} 3 {caseLabel4} @IMPEXPM_11013 {caseNum5} 4 {caseLabel5} @IMPEXPM_11068 {caseNum6} 5 {caseLabel6} @IMPEXPM_11123 {caseNum7} 6 {caseLabel7} @IMPEXPM_11178

:IMPEXPM_10848
set_var_int_to_var_int $1074[0] = $1080[0]
set_var_int_to_var_int $1074[1] = $1080[7]
set_var_int_to_var_int $1074[2] = $1080[14]
set_var_int_to_var_int $1074[3] = $1080[21]
set_var_int_to_var_int $1074[4] = $1080[28]
set_var_int_to_var_int $1074[5] = $1080[35]
goto @IMPEXPM_11233

:IMPEXPM_10903
set_var_int_to_var_int $1074[0] = $1080[1]
set_var_int_to_var_int $1074[1] = $1080[8]
set_var_int_to_var_int $1074[2] = $1080[15]
set_var_int_to_var_int $1074[3] = $1080[22]
set_var_int_to_var_int $1074[4] = $1080[29]
set_var_int_to_var_int $1074[5] = $1080[36]
goto @IMPEXPM_11233

:IMPEXPM_10958
set_var_int_to_var_int $1074[0] = $1080[2]
set_var_int_to_var_int $1074[1] = $1080[9]
set_var_int_to_var_int $1074[2] = $1080[16]
set_var_int_to_var_int $1074[3] = $1080[23]
set_var_int_to_var_int $1074[4] = $1080[30]
set_var_int_to_var_int $1074[5] = $1080[37]
goto @IMPEXPM_11233

:IMPEXPM_11013
set_var_int_to_var_int $1074[0] = $1080[3]
set_var_int_to_var_int $1074[1] = $1080[10]
set_var_int_to_var_int $1074[2] = $1080[17]
set_var_int_to_var_int $1074[3] = $1080[24]
set_var_int_to_var_int $1074[4] = $1080[31]
set_var_int_to_var_int $1074[5] = $1080[38]
goto @IMPEXPM_11233

:IMPEXPM_11068
set_var_int_to_var_int $1074[0] = $1080[4]
set_var_int_to_var_int $1074[1] = $1080[11]
set_var_int_to_var_int $1074[2] = $1080[18]
set_var_int_to_var_int $1074[3] = $1080[25]
set_var_int_to_var_int $1074[4] = $1080[32]
set_var_int_to_var_int $1074[5] = $1080[39]
goto @IMPEXPM_11233

:IMPEXPM_11123
set_var_int_to_var_int $1074[0] = $1080[5]
set_var_int_to_var_int $1074[1] = $1080[12]
set_var_int_to_var_int $1074[2] = $1080[19]
set_var_int_to_var_int $1074[3] = $1080[26]
set_var_int_to_var_int $1074[4] = $1080[33]
set_var_int_to_var_int $1074[5] = $1080[40]
goto @IMPEXPM_11233

:IMPEXPM_11178
set_var_int_to_var_int $1074[0] = $1080[6]
set_var_int_to_var_int $1074[1] = $1080[13]
set_var_int_to_var_int $1074[2] = $1080[20]
set_var_int_to_var_int $1074[3] = $1080[27]
set_var_int_to_var_int $1074[4] = $1080[34]
set_var_int_to_var_int $1074[5] = $1080[41]
goto @IMPEXPM_11233

:IMPEXPM_11233
return 

:IMPEXPM_11235
4@ = 0

:IMPEXPM_11242
if 
  5 > 4@
goto_if_false @IMPEXPM_11430
if 
  $1193(4@,5i) == -1
goto_if_false @IMPEXPM_11308
set_var_int_to_var_int $1193(4@,5i) = $1122
4@ = 10
goto @IMPEXPM_11423

:IMPEXPM_11308
if 
  Car.DoesExist($1193(4@,5i))
goto_if_false @IMPEXPM_11396
if 
  Car.IsDead($1193(4@,5i))
goto_if_false @IMPEXPM_11382
Car.MarkAsNoLongerNeeded($1193(4@,5i))
$1193(4@,5i) = -1
goto @IMPEXPM_11235
goto @IMPEXPM_11389

:IMPEXPM_11382
4@ += 1

:IMPEXPM_11389
goto @IMPEXPM_11423

:IMPEXPM_11396
Car.MarkAsNoLongerNeeded($1193(4@,5i))
$1193(4@,5i) = -1
goto @IMPEXPM_11235

:IMPEXPM_11423
goto @IMPEXPM_11242

:IMPEXPM_11430
if 
  4@ == 5
goto_if_false @IMPEXPM_11467
Car.MarkAsNoLongerNeeded($1193[4])
$1193[4] = -1
goto @IMPEXPM_11235

:IMPEXPM_11467
return 
4@ = 0

:IMPEXPM_11476
if 
  5 > 4@
goto_if_false @IMPEXPM_11695
if 
  $1193(4@,5i) <> -1
goto_if_false @IMPEXPM_11681
if 
  Car.DoesExist($1193(4@,5i))
goto_if_false @IMPEXPM_11661
if 
  not Car.IsDead($1193(4@,5i))
goto_if_false @IMPEXPM_11634
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPM_11627
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, $1193(4@,5i), 500.0, 500.0, False)
goto_if_false @IMPEXPM_11627
Car.MarkAsNoLongerNeeded($1193(4@,5i))
$1193(4@,5i) = -1

:IMPEXPM_11627
goto @IMPEXPM_11654

:IMPEXPM_11634
Car.MarkAsNoLongerNeeded($1193(4@,5i))
$1193(4@,5i) = -1

:IMPEXPM_11654
goto @IMPEXPM_11681

:IMPEXPM_11661
Car.MarkAsNoLongerNeeded($1193(4@,5i))
$1193(4@,5i) = -1

:IMPEXPM_11681
4@ += 1
goto @IMPEXPM_11476

:IMPEXPM_11695
return 

:IMPEXPM_11697
4@ = 0

:IMPEXPM_11704
if 
  10 > 4@
goto_if_false @IMPEXPM_11886
if 
  $1053 == 0
goto_if_false @IMPEXPM_11755
set_lvar_int_to_lvar_int 5@ = 4@
5@ += 0

:IMPEXPM_11755
if 
  $1053 == 1
goto_if_false @IMPEXPM_11788
set_lvar_int_to_lvar_int 5@ = 4@
5@ += 10

:IMPEXPM_11788
if 
  $1053 == 2
goto_if_false @IMPEXPM_11821
set_lvar_int_to_lvar_int 5@ = 4@
5@ += 20

:IMPEXPM_11821
if 
  $1064(4@,10i) == 0
goto_if_false @IMPEXPM_11861
CarGenerator.Switch($2834(5@,30i), 101)
goto @IMPEXPM_11872

:IMPEXPM_11861
CarGenerator.Switch($2834(5@,30i), 0)

:IMPEXPM_11872
4@ += 1
goto @IMPEXPM_11704

:IMPEXPM_11886
return 

:IMPEXPM_11888
switch_start 6@ {numCases} 42 {hasDefaultCase} 0 {defaultLabel} @IMPEXPM_13135 {caseNum1} 402 {caseLabel1} @IMPEXPM_12295 {caseNum2} 404 {caseLabel2} @IMPEXPM_13114 {caseNum3} 405 {caseLabel3} @IMPEXPM_12316 {caseNum4} 409 {caseLabel4} @IMPEXPM_12442 {caseNum5} 411 {caseLabel5} @IMPEXPM_12337 {caseNum6} 415 {caseLabel6} @IMPEXPM_12568 {caseNum7} 424 {caseLabel7} @IMPEXPM_12925
switch_continued 429 {caseLabel1} @IMPEXPM_12841 {caseNum2} 434 {caseLabel2} @IMPEXPM_13030 {caseNum3} 439 {caseLabel3} @IMPEXPM_12610 {caseNum4} 444 {caseLabel4} @IMPEXPM_12505 {caseNum5} 445 {caseLabel5} @IMPEXPM_12379 {caseNum6} 451 {caseLabel6} @IMPEXPM_12862 {caseNum7} 463 {caseLabel7} @IMPEXPM_12967 {caseNum8} 468 {caseLabel8} @IMPEXPM_12421 {caseNum9} 470 {caseLabel9} @IMPEXPM_12400
switch_continued 475 {caseLabel1} @IMPEXPM_12736 {caseNum2} 477 {caseLabel2} @IMPEXPM_13009 {caseNum3} 480 {caseLabel3} @IMPEXPM_12652 {caseNum4} 483 {caseLabel4} @IMPEXPM_12358 {caseNum5} 489 {caseLabel5} @IMPEXPM_12589 {caseNum6} 496 {caseLabel6} @IMPEXPM_12694 {caseNum7} 500 {caseLabel7} @IMPEXPM_12988 {caseNum8} 506 {caseLabel8} @IMPEXPM_12820 {caseNum9} 508 {caseLabel9} @IMPEXPM_12883
switch_continued 514 {caseLabel1} @IMPEXPM_12631 {caseNum2} 521 {caseLabel2} @IMPEXPM_12757 {caseNum3} 522 {caseLabel3} @IMPEXPM_12526 {caseNum4} 533 {caseLabel4} @IMPEXPM_12463 {caseNum5} 534 {caseLabel5} @IMPEXPM_12484 {caseNum6} 535 {caseLabel6} @IMPEXPM_12673 {caseNum7} 536 {caseLabel7} @IMPEXPM_12946 {caseNum8} 539 {caseLabel8} @IMPEXPM_13072 {caseNum9} 541 {caseLabel9} @IMPEXPM_13093
switch_continued 555 {caseLabel1} @IMPEXPM_12547 {caseNum2} 559 {caseLabel2} @IMPEXPM_12274 {caseNum3} 568 {caseLabel3} @IMPEXPM_12799 {caseNum4} 573 {caseLabel4} @IMPEXPM_13051 {caseNum5} 579 {caseLabel5} @IMPEXPM_12904 {caseNum6} 580 {caseLabel6} @IMPEXPM_12715 {caseNum7} 587 {caseLabel7} @IMPEXPM_12778 {caseNum8} 589 {caseLabel8} @IMPEXPM_12253 {caseNum9} -1 {caseLabel9} @IMPEXPM_13135

:IMPEXPM_12253
set_var_text_label s$impexp_menu_text_label = 'CLUB'
goto @IMPEXPM_13135

:IMPEXPM_12274
set_var_text_label s$impexp_menu_text_label = 'JESTER'
goto @IMPEXPM_13135

:IMPEXPM_12295
set_var_text_label s$impexp_menu_text_label = 'BUFFALO'
goto @IMPEXPM_13135

:IMPEXPM_12316
set_var_text_label s$impexp_menu_text_label = 'SENTINL'
goto @IMPEXPM_13135

:IMPEXPM_12337
set_var_text_label s$impexp_menu_text_label = 'INFERNU'
goto @IMPEXPM_13135

:IMPEXPM_12358
set_var_text_label s$impexp_menu_text_label = 'CAMPER'
goto @IMPEXPM_13135

:IMPEXPM_12379
set_var_text_label s$impexp_menu_text_label = 'ADMIRAL'
goto @IMPEXPM_13135

:IMPEXPM_12400
set_var_text_label s$impexp_menu_text_label = 'PATRIOT'
goto @IMPEXPM_13135

:IMPEXPM_12421
set_var_text_label s$impexp_menu_text_label = 'SANCHEZ'
goto @IMPEXPM_13135

:IMPEXPM_12442
set_var_text_label s$impexp_menu_text_label = 'STRETCH'
goto @IMPEXPM_13135

:IMPEXPM_12463
set_var_text_label s$impexp_menu_text_label = 'FELTZER'
goto @IMPEXPM_13135

:IMPEXPM_12484
set_var_text_label s$impexp_menu_text_label = 'REMING'
goto @IMPEXPM_13135

:IMPEXPM_12505
set_var_text_label s$impexp_menu_text_label = 'MONSTER'
goto @IMPEXPM_13135

:IMPEXPM_12526
set_var_text_label s$impexp_menu_text_label = 'NRG500'
goto @IMPEXPM_13135

:IMPEXPM_12547
set_var_text_label s$impexp_menu_text_label = 'WINDSOR'
goto @IMPEXPM_13135

:IMPEXPM_12568
set_var_text_label s$impexp_menu_text_label = 'CHEETAH'
goto @IMPEXPM_13135

:IMPEXPM_12589
set_var_text_label s$impexp_menu_text_label = 'RANCHER'
goto @IMPEXPM_13135

:IMPEXPM_12610
set_var_text_label s$impexp_menu_text_label = 'STALION'
goto @IMPEXPM_13135

:IMPEXPM_12631
set_var_text_label s$impexp_menu_text_label = 'PETROL'
goto @IMPEXPM_13135

:IMPEXPM_12652
set_var_text_label s$impexp_menu_text_label = 'COMET'
goto @IMPEXPM_13135

:IMPEXPM_12673
set_var_text_label s$impexp_menu_text_label = 'SLAMVAN'
goto @IMPEXPM_13135

:IMPEXPM_12694
set_var_text_label s$impexp_menu_text_label = 'BLISTAC'
goto @IMPEXPM_13135

:IMPEXPM_12715
set_var_text_label s$impexp_menu_text_label = 'STAFFRD'
goto @IMPEXPM_13135

:IMPEXPM_12736
set_var_text_label s$impexp_menu_text_label = 'SABRE'
goto @IMPEXPM_13135

:IMPEXPM_12757
set_var_text_label s$impexp_menu_text_label = 'FCR900'
goto @IMPEXPM_13135

:IMPEXPM_12778
set_var_text_label s$impexp_menu_text_label = 'EUROS'
goto @IMPEXPM_13135

:IMPEXPM_12799
set_var_text_label s$impexp_menu_text_label = 'BANDITO'
goto @IMPEXPM_13135

:IMPEXPM_12820
set_var_text_label s$impexp_menu_text_label = 'SUPERGT'
goto @IMPEXPM_13135

:IMPEXPM_12841
set_var_text_label s$impexp_menu_text_label = 'BANSHEE'
goto @IMPEXPM_13135

:IMPEXPM_12862
set_var_text_label s$impexp_menu_text_label = 'TURISMO'
goto @IMPEXPM_13135

:IMPEXPM_12883
set_var_text_label s$impexp_menu_text_label = 'JOURNEY'
goto @IMPEXPM_13135

:IMPEXPM_12904
set_var_text_label s$impexp_menu_text_label = 'HUNTLEY'
goto @IMPEXPM_13135

:IMPEXPM_12925
set_var_text_label s$impexp_menu_text_label = 'BFINJC'
goto @IMPEXPM_13135

:IMPEXPM_12946
set_var_text_label s$impexp_menu_text_label = 'BLADE'
goto @IMPEXPM_13135

:IMPEXPM_12967
set_var_text_label s$impexp_menu_text_label = 'FREEWAY'
goto @IMPEXPM_13135

:IMPEXPM_12988
set_var_text_label s$impexp_menu_text_label = 'MESAA'
goto @IMPEXPM_13135

:IMPEXPM_13009
set_var_text_label s$impexp_menu_text_label = 'ZR350'
goto @IMPEXPM_13135

:IMPEXPM_13030
set_var_text_label s$impexp_menu_text_label = 'HOTKNIF'
goto @IMPEXPM_13135

:IMPEXPM_13051
set_var_text_label s$impexp_menu_text_label = 'DUNE'
goto @IMPEXPM_13135

:IMPEXPM_13072
set_var_text_label s$impexp_menu_text_label = 'VORTEX'
goto @IMPEXPM_13135

:IMPEXPM_13093
set_var_text_label s$impexp_menu_text_label = 'BULLET'
goto @IMPEXPM_13135

:IMPEXPM_13114
set_var_text_label s$impexp_menu_text_label = 'PEREN'
goto @IMPEXPM_13135

:IMPEXPM_13135
return 

:IMPEXPM_13137
switch_start $1074($impexp_menu,6i) {numCases} 19 {hasDefaultCase} 1 {defaultLabel} @IMPEXPM_14458 {caseNum1} 405 {caseLabel1} @IMPEXPM_13574 {caseNum2} 411 {caseLabel2} @IMPEXPM_13931 {caseNum3} 415 {caseLabel3} @IMPEXPM_13879 {caseNum4} 424 {caseLabel4} @IMPEXPM_14189 {caseNum5} 429 {caseLabel5} @IMPEXPM_14062 {caseNum6} 470 {caseLabel6} @IMPEXPM_14215 {caseNum7} 475 {caseLabel7} @IMPEXPM_13853
switch_continued 480 {caseLabel1} @IMPEXPM_13905 {caseNum2} 483 {caseLabel2} @IMPEXPM_13701 {caseNum3} 489 {caseLabel3} @IMPEXPM_13957 {caseNum4} 496 {caseLabel4} @IMPEXPM_13983 {caseNum5} 506 {caseLabel5} @IMPEXPM_13405 {caseNum6} 533 {caseLabel6} @IMPEXPM_13726 {caseNum7} 536 {caseLabel7} @IMPEXPM_14379 {caseNum8} 541 {caseLabel8} @IMPEXPM_14405 {caseNum9} 555 {caseLabel9} @IMPEXPM_13431
switch_continued 559 {caseLabel1} @IMPEXPM_13484 {caseNum2} 587 {caseLabel2} @IMPEXPM_13379 {caseNum3} 589 {caseLabel3} @IMPEXPM_13353 {caseNum4} -1 {caseLabel4} @IMPEXPM_14472 {caseNum5} -1 {caseLabel5} @IMPEXPM_14472 {caseNum6} -1 {caseLabel6} @IMPEXPM_14472 {caseNum7} -1 {caseLabel7} @IMPEXPM_14472 {caseNum8} -1 {caseLabel8} @IMPEXPM_14472 {caseNum9} -1 {caseLabel9} @IMPEXPM_14472

:IMPEXPM_13353
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "N13_LLF_")
goto @IMPEXPM_14472

:IMPEXPM_13379
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "_DS3MP__")
goto @IMPEXPM_14472

:IMPEXPM_13405
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "_CMACD1_")
goto @IMPEXPM_14472

:IMPEXPM_13431
4@ = Math.RandomIntInRange(0, 3)
if 
  4@ == 0
goto_if_false @IMPEXPM_13477
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "__C0S___")

:IMPEXPM_13477
goto @IMPEXPM_14472

:IMPEXPM_13484
4@ = Math.RandomIntInRange(0, 3)
if 
  4@ == 1
goto_if_false @IMPEXPM_13530
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "_X2_GAV_")

:IMPEXPM_13530
if 
  4@ == 2
goto_if_false @IMPEXPM_13567
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "__G3PO__")

:IMPEXPM_13567
goto @IMPEXPM_14472

:IMPEXPM_13574
4@ = Math.RandomIntInRange(0, 3)
if 
  4@ == 0
goto_if_false @IMPEXPM_13620
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "D0N_D0N_")

:IMPEXPM_13620
if 
  4@ == 1
goto_if_false @IMPEXPM_13657
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "_D0_NNY_")

:IMPEXPM_13657
if 
  4@ == 2
goto_if_false @IMPEXPM_13694
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "TH3_D0N_")

:IMPEXPM_13694
goto @IMPEXPM_14472

:IMPEXPM_13701
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "SJM1985")
goto @IMPEXPM_14472

:IMPEXPM_13726
4@ = Math.RandomIntInRange(0, 5)
if 
  4@ == 1
goto_if_false @IMPEXPM_13772
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "433_ADF_")

:IMPEXPM_13772
if 
  4@ == 2
goto_if_false @IMPEXPM_13809
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "DR_F_MBE")

:IMPEXPM_13809
if 
  4@ == 3
goto_if_false @IMPEXPM_13846
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "ANN_F3RG")

:IMPEXPM_13846
goto @IMPEXPM_14472

:IMPEXPM_13853
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "__FR4Z__")
goto @IMPEXPM_14472

:IMPEXPM_13879
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "_IMY_AK_")
goto @IMPEXPM_14472

:IMPEXPM_13905
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "_L0LLY__")
goto @IMPEXPM_14472

:IMPEXPM_13931
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "_J_L33S_")
goto @IMPEXPM_14472

:IMPEXPM_13957
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "S4_LIJON")
goto @IMPEXPM_14472

:IMPEXPM_13983
4@ = Math.RandomIntInRange(0, 2)
if 
  4@ == 0
goto_if_false @IMPEXPM_14036
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "DI5CO5TU")
goto @IMPEXPM_14055

:IMPEXPM_14036
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "SM53_NUV")

:IMPEXPM_14055
goto @IMPEXPM_14472

:IMPEXPM_14062
4@ = Math.RandomIntInRange(0, 3)
if 
  4@ == 0
goto_if_false @IMPEXPM_14108
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "J3NYTAL5")

:IMPEXPM_14108
if 
  4@ == 1
goto_if_false @IMPEXPM_14145
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "_J3_NCF_")

:IMPEXPM_14145
if 
  4@ == 2
goto_if_false @IMPEXPM_14182
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "DD0_N4LD")

:IMPEXPM_14182
goto @IMPEXPM_14472

:IMPEXPM_14189
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "LA5H_L3Y")
goto @IMPEXPM_14472

:IMPEXPM_14215
4@ = Math.RandomIntInRange(0, 4)
if 
  4@ == 0
goto_if_false @IMPEXPM_14261
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "AL3X_RES")

:IMPEXPM_14261
if 
  4@ == 1
goto_if_false @IMPEXPM_14298
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "R_F3RG1E")

:IMPEXPM_14298
if 
  4@ == 2
goto_if_false @IMPEXPM_14335
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "H4_NNAHF")

:IMPEXPM_14335
if 
  4@ == 3
goto_if_false @IMPEXPM_14372
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "CL41_RES")

:IMPEXPM_14372
goto @IMPEXPM_14472

:IMPEXPM_14379
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "R055_MCL")
goto @IMPEXPM_14472

:IMPEXPM_14405
4@ = Math.RandomIntInRange(0, 4)
if 
  4@ == 0
goto_if_false @IMPEXPM_14451
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "T00_FAST")

:IMPEXPM_14451
goto @IMPEXPM_14472

:IMPEXPM_14458
IMPEXPM_14474()
goto @IMPEXPM_14472

:IMPEXPM_14472
return 

:IMPEXPM_14474
4@ = Math.RandomIntInRange(0, 100)
switch_start 4@ {numCases} 12 {hasDefaultCase} 0 {defaultLabel} @IMPEXPM_14923 {caseNum1} 0 {caseLabel1} @IMPEXPM_14611 {caseNum2} 1 {caseLabel2} @IMPEXPM_14637 {caseNum3} 2 {caseLabel3} @IMPEXPM_14663 {caseNum4} 3 {caseLabel4} @IMPEXPM_14689 {caseNum5} 4 {caseLabel5} @IMPEXPM_14715 {caseNum6} 5 {caseLabel6} @IMPEXPM_14741 {caseNum7} 6 {caseLabel7} @IMPEXPM_14767
switch_continued 7 {caseLabel1} @IMPEXPM_14793 {caseNum2} 8 {caseLabel2} @IMPEXPM_14819 {caseNum3} 9 {caseLabel3} @IMPEXPM_14845 {caseNum4} 10 {caseLabel4} @IMPEXPM_14871 {caseNum5} 11 {caseLabel5} @IMPEXPM_14897 {caseNum6} -1 {caseLabel6} @IMPEXPM_14923 {caseNum7} -1 {caseLabel7} @IMPEXPM_14923 {caseNum8} -1 {caseLabel8} @IMPEXPM_14923 {caseNum9} -1 {caseLabel9} @IMPEXPM_14923

:IMPEXPM_14611
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "R4N_G3RS")
goto @IMPEXPM_14923

:IMPEXPM_14637
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "GL4S_G0W")
goto @IMPEXPM_14923

:IMPEXPM_14663
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "_ARRAN__")
goto @IMPEXPM_14923

:IMPEXPM_14689
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "AM0_RUS0")
goto @IMPEXPM_14923

:IMPEXPM_14715
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "_AMAT0__")
goto @IMPEXPM_14923

:IMPEXPM_14741
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "_GA_ZZA_")
goto @IMPEXPM_14923

:IMPEXPM_14767
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "ZID_ANE_")
goto @IMPEXPM_14923

:IMPEXPM_14793
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "MC_C01ST")
goto @IMPEXPM_14923

:IMPEXPM_14819
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "BAW_BAG_")
goto @IMPEXPM_14923

:IMPEXPM_14845
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "BR0_D1E_")
goto @IMPEXPM_14923

:IMPEXPM_14871
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "MR_J0BBY")
goto @IMPEXPM_14923

:IMPEXPM_14897
Car.CustomPlateForNextCar($1074($impexp_menu,6i), "BR0_DICK")
goto @IMPEXPM_14923

:IMPEXPM_14923
return 

:IMPEXPC
script_name 'IMPEXPC'

:IMPEXPC_11
wait 5000
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPEXPC_306
if 
  $weapon_shop1_blip == 0
goto_if_false @IMPEXPC_306
if 
  $disable_crane_exit == 1
goto_if_false @IMPEXPC_306
if and
  not Text.IsHelpMessageBeingDisplayed
  not Text.IsMessageBeingDisplayed
goto_if_false @IMPEXPC_306
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @IMPEXPC_281
if 
  0@ == 0
goto_if_false @IMPEXPC_274
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
1@ = Car.GetModel($stealth_help_flag)
2@ = 0
3@ = 0

:IMPEXPC_147
if 
  10 > 2@
goto_if_false @IMPEXPC_238
if 
  is_int_var_equal_to_int_lvar $1054(2@,10i) == 1@
goto_if_false @IMPEXPC_224
if 
  $1064(2@,10i) == 0
goto_if_false @IMPEXPC_224
3@ = 1
2@ = 10

:IMPEXPC_224
2@ += 1
goto @IMPEXPC_147

:IMPEXPC_238
if 
  3@ == 1
goto_if_false @IMPEXPC_274
Text.PrintHelp('IE22')
0@ = 1

:IMPEXPC_274
goto @IMPEXPC_306

:IMPEXPC_281
if 
  0@ == 1
goto_if_false @IMPEXPC_306
0@ = 0

:IMPEXPC_306
goto @IMPEXPC_11

:APCHECK
script_name 'APCHECK'
set_deatharrest_state 0
$1207 = 0
$iAPgateLA1 = Object.CreateNoOffset(#WS_APGATE, -1543.742, -432.703, 6.039)
Object.SetHeading($iAPgateLA1, -45.0)
Object.DontRemove($iAPgateLA1)
$iAPgateLA2 = Object.CreateNoOffset(#WS_APGATE, -1547.625, -428.82, 6.039)
Object.SetHeading($iAPgateLA2, -45.0)
Object.DontRemove($iAPgateLA2)
$iAPgateLV1 = Object.CreateNoOffset(#WS_APGATE, -1222.953, 53.826, 14.134)
Object.SetHeading($iAPgateLV1, -135.0)
Object.DontRemove($iAPgateLV1)
$iAPgateLV2 = Object.CreateNoOffset(#WS_APGATE, -1218.206, 68.883, 14.134)
Object.SetHeading($iAPgateLV2, -135.0)
Object.DontRemove($iAPgateLV2)
$iFlagOpenAirportGates = Object.CreateNoOffset(#WS_APGATE, 1964.342, -2189.776, 13.533)
Object.SetHeading($iFlagOpenAirportGates, 180.0)
Object.DontRemove($iFlagOpenAirportGates)
$iGFRespectGiven = Object.CreateNoOffset(#WS_APGATE, 1958.851, -2189.777, 13.553)
Object.SetHeading($iGFRespectGiven, 180.0)
Object.DontRemove($iGFRespectGiven)
$1205 = Object.CreateNoOffset(#WS_APGATE, 1704.777, 1605.165, 10.058)
Object.SetHeading($1205, 73.0)
Object.DontRemove($1205)
$1206 = Object.CreateNoOffset(#WS_APGATE, 1706.364, 1610.422, 10.058)
Object.SetHeading($1206, 73.0)
Object.DontRemove($1206)

:APCHECK_318
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @APCHECK_895
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1540.66, -435.786, 6.039, 65.0, 65.0, 10.0, False)
goto_if_false @APCHECK_537
if 
  $current_highest_score_kickstart == 1
goto_if_false @APCHECK_468
$1207 = 1
start_new_script @APGUARD -1 
Object.SetCoordinates($iAPgateLA1, -1540.66, -435.786, 6.039)
Object.SetCoordinates($iAPgateLA2, -1550.709, -425.736, 6.039)
goto @APCHECK_530

:APCHECK_468
start_new_script @APGUARD 1 
start_new_script @APGATE $iAPgateLA1 -1540.66 -435.786 6.039 
start_new_script @APGATE $iAPgateLA2 -1550.709 -425.736 6.039 

:APCHECK_530
goto @APCHECK_1087

:APCHECK_537
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1968.697, -2189.776, 13.553, 65.0, 65.0, 10.0, False)
goto_if_false @APCHECK_654
start_new_script @APGUARD 2 
start_new_script @APGATE $iFlagOpenAirportGates 1968.697 -2189.776 13.553 
start_new_script @APGATE $iGFRespectGiven 1954.571 -2189.777 13.553 
goto @APCHECK_1547

:APCHECK_654
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1703.4, 1600.518, 10.058, 65.0, 65.0, 10.0, False)
goto_if_false @APCHECK_771
start_new_script @APGUARD 3 
start_new_script @APGATE $1205 1703.4 1600.518 10.058 
start_new_script @APGATE $1206 1707.722 1614.937 10.058 
goto @APCHECK_1777

:APCHECK_771
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1226.162, 65.3807, 13.0375, 65.0, 65.0, 10.0, False)
goto_if_false @APCHECK_888
start_new_script @APGUARD 4 
start_new_script @APGATE $iAPgateLV1 -1226.59 50.189 14.134 
start_new_script @APGATE $iAPgateLV2 -1214.392 72.697 14.134 
goto @APCHECK_1317

:APCHECK_888
goto @APCHECK_1080

:APCHECK_895
terminate_all_scripts_with_this_name 'APGATE'
Object.SetCoordinates($iAPgateLA1, -1543.742, -432.703, 6.039)
Object.SetCoordinates($iAPgateLA2, -1547.625, -428.82, 6.039)
Object.SetCoordinates($iAPgateLV1, -1222.953, 53.826, 14.134)
Object.SetCoordinates($iAPgateLV2, -1218.206, 68.883, 14.134)
Object.SetCoordinates($iFlagOpenAirportGates, 1964.342, -2189.776, 13.533)
Object.SetCoordinates($iGFRespectGiven, 1958.851, -2189.777, 13.553)
Object.SetCoordinates($1205, 1704.777, 1605.165, 10.058)
Object.SetCoordinates($1206, 1706.364, 1610.422, 10.058)
$1207 = 0
goto @APCHECK_318

:APCHECK_1080
goto @APCHECK_318

:APCHECK_1087
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @APCHECK_1245
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, -1540.66, -435.786, 6.039, 66.0, 66.0, 10.0, False)
goto_if_false @APCHECK_1238
if 
  $weapon_shop1_blip == 0
goto_if_false @APCHECK_1238
terminate_all_scripts_with_this_name 'APGATE'
Object.SetCoordinates($iAPgateLA1, -1543.742, -432.703, 6.039)
Object.SetCoordinates($iAPgateLA2, -1547.625, -428.82, 6.039)
$1207 = 0
goto @APCHECK_318

:APCHECK_1238
goto @APCHECK_1310

:APCHECK_1245
terminate_all_scripts_with_this_name 'APGATE'
Object.SetCoordinates($iAPgateLA1, -1543.742, -432.703, 6.039)
Object.SetCoordinates($iAPgateLA2, -1547.625, -428.82, 6.039)
$1207 = 0
goto @APCHECK_318

:APCHECK_1310
goto @APCHECK_1087

:APCHECK_1317
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @APCHECK_1475
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, -1226.162, 65.3807, 13.0375, 66.0, 66.0, 10.0, False)
goto_if_false @APCHECK_1468
if 
  $weapon_shop1_blip == 0
goto_if_false @APCHECK_1468
terminate_all_scripts_with_this_name 'APGATE'
Object.SetCoordinates($iAPgateLV1, -1222.953, 53.826, 14.134)
Object.SetCoordinates($iAPgateLV2, -1218.206, 68.883, 14.134)
$1207 = 0
goto @APCHECK_318

:APCHECK_1468
goto @APCHECK_1540

:APCHECK_1475
terminate_all_scripts_with_this_name 'APGATE'
Object.SetCoordinates($iAPgateLV1, -1222.953, 53.826, 14.134)
Object.SetCoordinates($iAPgateLV2, -1218.206, 68.883, 14.134)
$1207 = 0
goto @APCHECK_318

:APCHECK_1540
goto @APCHECK_1317

:APCHECK_1547
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @APCHECK_1705
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 1968.697, -2189.776, 13.553, 66.0, 66.0, 10.0, False)
goto_if_false @APCHECK_1698
if 
  $weapon_shop1_blip == 0
goto_if_false @APCHECK_1698
terminate_all_scripts_with_this_name 'APGATE'
Object.SetCoordinates($iFlagOpenAirportGates, 1964.342, -2189.776, 13.533)
Object.SetCoordinates($iGFRespectGiven, 1958.851, -2189.777, 13.553)
$1207 = 0
goto @APCHECK_318

:APCHECK_1698
goto @APCHECK_1770

:APCHECK_1705
terminate_all_scripts_with_this_name 'APGATE'
Object.SetCoordinates($iFlagOpenAirportGates, 1964.342, -2189.776, 13.533)
Object.SetCoordinates($iGFRespectGiven, 1958.851, -2189.777, 13.553)
$1207 = 0
goto @APCHECK_318

:APCHECK_1770
goto @APCHECK_1547

:APCHECK_1777
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @APCHECK_1935
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 1703.4, 1600.518, 10.058, 66.0, 66.0, 10.0, False)
goto_if_false @APCHECK_1928
if 
  $weapon_shop1_blip == 0
goto_if_false @APCHECK_1928
terminate_all_scripts_with_this_name 'APGATE'
Object.SetCoordinates($1205, 1704.777, 1605.165, 10.058)
Object.SetCoordinates($1206, 1706.364, 1610.422, 10.058)
$1207 = 0
goto @APCHECK_318

:APCHECK_1928
goto @APCHECK_2000

:APCHECK_1935
terminate_all_scripts_with_this_name 'APGATE'
Object.SetCoordinates($1205, 1704.777, 1605.165, 10.058)
Object.SetCoordinates($1206, 1706.364, 1610.422, 10.058)
$1207 = 0
goto @APCHECK_318

:APCHECK_2000
goto @APCHECK_1777
terminate_this_script 

:APGUARD
script_name 'APGUARD'
3@ = 0

:APGUARD_18
if 
  not Streaming.HasModelLoaded(71)
goto_if_false @APGUARD_48
Streaming.RequestModel(71)
wait 0
goto @APGUARD_18

:APGUARD_48
switch_start 0@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @APGUARD_333 {caseNum1} -1 {caseLabel1} @APGUARD_111 {caseNum2} 1 {caseLabel2} @APGUARD_169 {caseNum3} 2 {caseLabel3} @APGUARD_210 {caseNum4} 3 {caseLabel4} @APGUARD_251 {caseNum5} 4 {caseLabel5} @APGUARD_292 {caseNum6} -1 {caseLabel6} @APGUARD_333 {caseNum7} -1 {caseLabel7} @APGUARD_333

:APGUARD_111
1@ = Char.Create(PedType.CivMale, 71, -1544.88, -441.1089, 5.0068)
Char.SetHeading(1@, 7.3631)
Char.SetMoney(1@, 0)
Char.DontRemove(1@)
Task.Dead(1@)
goto @APGUARD_333

:APGUARD_169
1@ = Char.Create(PedType.CivMale, 71, -1544.396, -443.2464, 5.045)
Char.SetHeading(1@, 54.6458)
goto @APGUARD_333

:APGUARD_210
1@ = Char.Create(PedType.CivMale, 71, 1955.809, -2181.541, 12.5865)
Char.SetHeading(1@, 272.1978)
goto @APGUARD_333

:APGUARD_251
1@ = Char.Create(PedType.CivMale, 71, 1717.202, 1617.376, 9.1924)
Char.SetHeading(1@, 186.0379)
goto @APGUARD_333

:APGUARD_292
1@ = Char.Create(PedType.CivMale, 71, -1229.438, 55.3906, 13.2328)
Char.SetHeading(1@, 301.4596)
goto @APGUARD_333

:APGUARD_333
Char.SetDecisionMaker(1@, 65543)
Char.SetOnlyDamagedByPlayer(1@, True)
Char.DontRemove(1@)

:APGUARD_355
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @APGUARD_542
if 
  not Char.IsDead(1@)
goto_if_false @APGUARD_528
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 1@, 67.0, 67.0, 10.0, False)
goto_if_false @APGUARD_434
APGUARD_883()

:APGUARD_434
if 
  not Char.IsDead(1@)
goto_if_false @APGUARD_493
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 1@, 15.0, 15.0, 15.0, False)
goto_if_false @APGUARD_493
APGUARD_556()

:APGUARD_493
if 
  Char.HasBeenDamagedByChar(1@, $stattreadstamina_ctr)
goto_if_false @APGUARD_521
Char.SetRelationship(1@, RelationshipType.Hate, PedType.Player1)

:APGUARD_521
goto @APGUARD_535

:APGUARD_528
APGUARD_883()

:APGUARD_535
goto @APGUARD_549

:APGUARD_542
APGUARD_883()

:APGUARD_549
goto @APGUARD_355

:APGUARD_556
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 1@, 5.0, 5.0, 3.0, False)
goto_if_false @APGUARD_881
2@ = Stat.GetInt(StatId.FlyingSkill)
if and
  not Char.IsRespondingToEvent(1@, 36)
  is_int_lvar_greater_or_equal_to_constant 2@ >= 180
goto_if_false @APGUARD_757
if 
  3@ == 0
goto_if_false @APGUARD_750
3@ = Math.RandomIntInRange(1, 100)
if 
  3@ > 50
goto_if_false @APGUARD_700
set_var_text_label s$bd_future_time_shown = 'G_OPEN1'
set_var_int_to_constant $bd_x = 16802
goto @APGUARD_722

:APGUARD_700
set_var_text_label s$bd_future_time_shown = 'G_OPEN2'
set_var_int_to_constant $bd_x = 16803

:APGUARD_722
start_new_script @AUDIOL 1@ 1 1 2 0 
3@ = 1
return 

:APGUARD_750
goto @APGUARD_881

:APGUARD_757
if 
  3@ == 0
goto_if_false @APGUARD_881
3@ = Math.RandomIntInRange(1, 100)
if 
  3@ > 50
goto_if_false @APGUARD_831
set_var_text_label s$bd_future_time_shown = 'G_CLOS1'
set_var_int_to_constant $bd_x = 16800
goto @APGUARD_853

:APGUARD_831
set_var_text_label s$bd_future_time_shown = 'G_CLOS2'
set_var_int_to_constant $bd_x = 16801

:APGUARD_853
start_new_script @AUDIOL 1@ 1 1 2 0 
3@ = 1
return 

:APGUARD_881
return 

:APGUARD_883
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @APGUARD_935
if 
  $weapon_shop1_blip == 0
goto_if_false @APGUARD_928
Char.Delete(1@)
Streaming.MarkModelAsNoLongerNeeded(71)
terminate_this_script 

:APGUARD_928
goto @APGUARD_946

:APGUARD_935
Char.Delete(1@)
Streaming.MarkModelAsNoLongerNeeded(71)
terminate_this_script 

:APGUARD_946
return 

:APGATE
script_name 'APGATE'
5@ = 0
6@ = 0
4@ = 0
if 
  4@ > 0
goto_if_false @APGATE_72
0@ = Object.CreateNoOffset(#WS_APGATE, 0.0, 0.0, 0.0)

:APGATE_72
wait 0
if and
  Object.DoesExist(0@)
  Player.IsPlaying($statbike_temp)
goto_if_false @APGATE_104
APGATE_111()

:APGATE_104
goto @APGATE_72

:APGATE_111
switch_start 5@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @APGATE_188 {caseNum1} 0 {caseLabel1} @APGATE_174 {caseNum2} -1 {caseLabel2} @APGATE_188 {caseNum3} -1 {caseLabel3} @APGATE_188 {caseNum4} -1 {caseLabel4} @APGATE_188 {caseNum5} -1 {caseLabel5} @APGATE_188 {caseNum6} -1 {caseLabel6} @APGATE_188 {caseNum7} -1 {caseLabel7} @APGATE_188

:APGATE_174
APGATE_190()
goto @APGATE_188

:APGATE_188
return 

:APGATE_190
switch_start 6@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @APGATE_1046 {caseNum1} 0 {caseLabel1} @APGATE_253 {caseNum2} 1 {caseLabel2} @APGATE_692 {caseNum3} 2 {caseLabel3} @APGATE_828 {caseNum4} 3 {caseLabel4} @APGATE_910 {caseNum5} -1 {caseLabel5} @APGATE_1046 {caseNum6} -1 {caseLabel6} @APGATE_1046 {caseNum7} -1 {caseLabel7} @APGATE_1046

:APGATE_253
10@ = Stat.GetInt(StatId.FlyingSkill)
if 
  is_int_lvar_greater_or_equal_to_constant 10@ >= 180
goto_if_false @APGATE_362
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 10.0, 10.0, False)
goto_if_false @APGATE_355
11@, 14@, 17@ = Object.GetCoordinates(0@)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @APGATE_348
Audio.ReportMissionAudioEventAtObject(0@, 1100)

:APGATE_348
6@ += 1

:APGATE_355
goto @APGATE_685

:APGATE_362
if 
  $1207 > 0
goto_if_false @APGATE_462
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 10.0, 10.0, False)
goto_if_false @APGATE_455
11@, 14@, 17@ = Object.GetCoordinates(0@)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @APGATE_448
Audio.ReportMissionAudioEventAtObject(0@, 1100)

:APGATE_448
6@ += 1

:APGATE_455
goto @APGATE_685

:APGATE_462
11@, 14@, 17@ = Object.GetOffsetInWorldCoords(0@, 0.0, 5.2, 0.0)
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 11@, 14@, 17@, 4.5, 4.5, 4.5, False)
goto_if_false @APGATE_584
11@, 14@, 17@ = Object.GetCoordinates(0@)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @APGATE_570
Audio.ReportMissionAudioEventAtObject(0@, 1100)

:APGATE_570
6@ += 1
goto @APGATE_685

:APGATE_584
11@, 14@, 17@ = Object.GetOffsetInWorldCoords(0@, 0.0, -3.0, 0.0)
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 11@, 14@, 17@, 3.0, 3.0, 3.0, False)
  180 >= 10@
  not Text.IsThisHelpMessageBeingDisplayed('AP_0003')
goto_if_false @APGATE_685
Text.PrintHelp('AP_0003')

:APGATE_685
goto @APGATE_1046

:APGATE_692
APGATE_1048()
if 
  Object.Slide(0@, 1@, 2@, 3@, 13@, 16@, 19@, True)
goto_if_false @APGATE_821
if 
  Object.Locate3D(0@, 1@, 2@, 3@, 0.1, 0.1, 0.1, False)
goto_if_false @APGATE_821
Object.SetCoordinates(0@, 1@, 2@, 3@)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @APGATE_814
Audio.ReportMissionAudioEventAtObject(0@, 1101)

:APGATE_814
6@ += 1

:APGATE_821
goto @APGATE_1046

:APGATE_828
if 
  not Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 20.0, 20.0, False)
goto_if_false @APGATE_903
12@, 15@, 18@ = Object.GetCoordinates(0@)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @APGATE_896
Audio.ReportMissionAudioEventAtObject(0@, 1100)

:APGATE_896
6@ += 1

:APGATE_903
goto @APGATE_1046

:APGATE_910
APGATE_1048()
if 
  Object.Slide(0@, 11@, 14@, 17@, 13@, 16@, 19@, True)
goto_if_false @APGATE_1039
if 
  Object.Locate3D(0@, 11@, 14@, 17@, 0.1, 0.1, 0.1, False)
goto_if_false @APGATE_1039
Object.SetCoordinates(0@, 11@, 14@, 17@)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @APGATE_1032
Audio.ReportMissionAudioEventAtObject(0@, 1101)

:APGATE_1032
6@ = 0

:APGATE_1039
goto @APGATE_1046

:APGATE_1046
return 

:APGATE_1048
13@ = Object.GetHeading(0@)
if and
  13@ > 70.0
  75.0 > 13@
goto_if_false @APGATE_1124
13@ = 0.03
16@ = 0.1
19@ = 0.1
goto @APGATE_1154

:APGATE_1124
13@ = 0.1
16@ = 0.1
19@ = 0.1

:APGATE_1154
return 

:GFINIT
script_name 'GFINIT'
$357[0] = 30
$363[0] = 15
$369[0] = -100
$1208[0] = 200
$381[0] = 0
set_global_var_bit_const $381[0] {n} 1
set_global_var_bit_const $381[0] {n} 3
set_global_var_bit_const $381[0] {n} 11
set_global_var_bit_const $381[0] {n} 16
set_global_var_bit_const $381[0] {n} 17
set_global_var_bit_const $381[0] {n} 20
set_global_var_bit_const $381[0] {n} 21
set_global_var_bit_const $381[0] {n} 27
$375[0] = 0
set_global_var_bit_const $375[0] {n} 3
$387[0] = 0
set_global_var_bit_const $387[0] {n} 6
set_global_var_bit_const $387[0] {n} 8
set_global_var_bit_const $387[0] {n} 10
set_global_var_bit_const $387[0] {n} 12
set_global_var_bit_const $387[0] {n} 14
$357[1] = 45
$363[1] = 0
$369[1] = 60
$1208[1] = 500
$381[1] = 0
set_global_var_bit_const $381[1] {n} 3
set_global_var_bit_const $381[1] {n} 11
set_global_var_bit_const $381[1] {n} 12
set_global_var_bit_const $381[1] {n} 16
set_global_var_bit_const $381[1] {n} 17
set_global_var_bit_const $381[1] {n} 20
set_global_var_bit_const $381[1] {n} 27
set_global_var_bit_const $381[1] {n} 22
$375[1] = 0
set_global_var_bit_const $375[1] {n} 2
$387[1] = 0
set_global_var_bit_const $387[1] {n} 12
set_global_var_bit_const $387[1] {n} 14
set_global_var_bit_const $387[1] {n} 16
set_global_var_bit_const $387[1] {n} 18
set_global_var_bit_const $387[1] {n} 20
set_global_var_bit_const $387[1] {n} 22
$357[2] = 70
$363[2] = 0
$369[2] = 70
$1208[2] = 700
$381[2] = 0
set_global_var_bit_const $381[2] {n} 5
set_global_var_bit_const $381[2] {n} 14
set_global_var_bit_const $381[2] {n} 13
set_global_var_bit_const $381[2] {n} 15
set_global_var_bit_const $381[2] {n} 18
set_global_var_bit_const $381[2] {n} 28
$375[2] = 0
set_global_var_bit_const $375[2] {n} 3
$387[2] = 0
set_global_var_bit_const $387[2] {n} 2
set_global_var_bit_const $387[2] {n} 4
set_global_var_bit_const $387[2] {n} 6
set_global_var_bit_const $387[2] {n} 12
$357[3] = 60
$363[3] = 0
$369[3] = 45
$1208[3] = 400
$381[3] = 0
set_global_var_bit_const $381[3] {n} 2
set_global_var_bit_const $381[3] {n} 13
set_global_var_bit_const $381[3] {n} 18
set_global_var_bit_const $381[3] {n} 20
$375[3] = 0
set_global_var_bit_const $375[3] {n} 2
$387[3] = 0
set_global_var_bit_const $387[3] {n} 6
set_global_var_bit_const $387[3] {n} 8
set_global_var_bit_const $387[3] {n} 10
set_global_var_bit_const $387[3] {n} 12
set_global_var_bit_const $387[3] {n} 14
$357[4] = 50
$363[4] = 0
$369[4] = 50
$1208[4] = 300
$381[4] = 0
set_global_var_bit_const $381[4] {n} 2
set_global_var_bit_const $381[4] {n} 13
set_global_var_bit_const $381[4] {n} 20
set_global_var_bit_const $381[4] {n} 19
set_global_var_bit_const $381[4] {n} 17
set_global_var_bit_const $381[4] {n} 24
$375[4] = 0
set_global_var_bit_const $375[4] {n} 1
$387[4] = 0
set_global_var_bit_const $387[4] {n} 2
set_global_var_bit_const $387[4] {n} 4
set_global_var_bit_const $387[4] {n} 6
set_global_var_bit_const $387[4] {n} 8
set_global_var_bit_const $387[4] {n} 10
set_global_var_bit_const $387[4] {n} 0
$357[5] = 45
$363[5] = 20
$369[5] = 60
$1208[5] = 400
$381[5] = 0
set_global_var_bit_const $381[5] {n} 5
set_global_var_bit_const $381[5] {n} 3
set_global_var_bit_const $381[5] {n} 13
set_global_var_bit_const $381[5] {n} 14
set_global_var_bit_const $381[5] {n} 15
set_global_var_bit_const $381[5] {n} 19
set_global_var_bit_const $381[5] {n} 20
set_global_var_bit_const $381[5] {n} 27
set_global_var_bit_const $381[5] {n} 23
$375[5] = 0
set_global_var_bit_const $375[5] {n} 1
$387[5] = 0
set_global_var_bit_const $387[5] {n} 22
set_global_var_bit_const $387[5] {n} 0
set_global_var_bit_const $387[5] {n} 2
set_global_var_bit_const $387[5] {n} 4
set_global_var_bit_const $387[5] {n} 6
set_global_var_bit_const $387[5] {n} 8
set_global_var_bit_const $387[5] {n} 10
$1246[0] = Object.CreateNoOffset(#GEN_DOOREXT03, 2401.75, -1714.477, 13.125)
Object.DontRemove($1246[0])
Object.SetCollisionDamageEffect($1246[0], False)
Object.SetProofs($1246[0], True, True, True, True, True)
$1246[4] = Object.CreateNoOffset(#GEN_DOOREXT07, -2574.495, 1153.023, 54.669)
Object.SetHeading($1246[4], -19.444)
Object.DontRemove($1246[4])
Object.SetCollisionDamageEffect($1246[4], False)
Object.SetProofs($1246[4], True, True, True, True, True)
$1246[1] = Object.CreateNoOffset(#GEN_DOORSHOP02, -1800.706, 1201.041, 24.12)
Object.DontRemove($1246[1])
Object.SetCollisionDamageEffect($1246[1], False)
Object.SetProofs($1246[1], True, True, True, True, True)
$1246[2] = Object.CreateNoOffset(#GEN_DOOREXT04, -383.46, -1439.64, 25.33)
Object.SetHeading($1246[2], 90.0)
Object.DontRemove($1246[2])
Object.SetCollisionDamageEffect($1246[2], False)
Object.SetProofs($1246[2], True, True, True, True, True)
$1246[3] = Object.CreateNoOffset(#GEN_DOORSHOP3, -1390.79, 2639.33, 54.973)
Object.DontRemove($1246[3])
Object.SetCollisionDamageEffect($1246[3], False)
Object.SetProofs($1246[3], True, True, True, True, True)
$1246[5] = Object.CreateNoOffset(#GEN_DOOREXT03, 2038.036, 2721.37, 10.53)
Object.SetHeading($1246[5], -180.0)
Object.DontRemove($1246[5])
Object.SetCollisionDamageEffect($1246[5], False)
Object.SetProofs($1246[5], True, True, True, True, True)
$1246[6] = Object.CreateNoOffset(#CUNTGIRLDOOR, -371.4, -1429.42, 26.47)
Object.DontRemove($1246[6])
Object.SetCollisionDamageEffect($1246[6], False)
Object.SetProofs($1246[6], True, True, True, True, True)
$1223 = 1
start_new_script @GFAGNT 
terminate_this_script 

:GFAGNT
script_name 'GFAGNT'
$GF_right_stick_y = 0
3@ = 0
4@ = 0
$395 = 0
0@ = 0
1@ = 0
set_var_text_label16 v$iGF_GlobalDM_Tough = "NIL"
$396 = 20
$iCaller = -1
8@ = -1
7@ = 1
if 
  3@ > 0
goto_if_false @GFAGNT_335
2@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)
$402[0] = Blip.AddForCoord(0.0, 0.0, 0.0)
$402[1] = Blip.AddForCoord(0.0, 0.0, 0.0)
$402[2] = Blip.AddForCoord(0.0, 0.0, 0.0)
$402[3] = Blip.AddForCoord(0.0, 0.0, 0.0)
$402[4] = Blip.AddForCoord(0.0, 0.0, 0.0)
$402[5] = Blip.AddForCoord(0.0, 0.0, 0.0)
$2822[0] = CarGenerator.Create(0.0, 0.0, 0.0, 0.0, 0, 0, 0, False, 0, 0, 0, 0)
$2828[0] = CarGenerator.Create(0.0, 0.0, 0.0, 0.0, 0, 0, 0, False, 0, 0, 0, 0)

:GFAGNT_335
wait $GF_right_stick_y
if and
  Player.IsPlaying($statbike_temp)
  not Char.IsDead($stattreadstamina_ctr)
  $weapon_shop1_blip == 0
goto_if_false @GFAGNT_389
clear_global_var_bit_const $395 {n} 31
GFAGNT_428()
goto @GFAGNT_421

:GFAGNT_389
if 
  not is_global_var_bit_set_const $395 {n} 31
goto_if_false @GFAGNT_421
GFAGNT_11185()
set_global_var_bit_const $395 {n} 31

:GFAGNT_421
goto @GFAGNT_335

:GFAGNT_428
switch_start 0@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_561 {caseNum1} 0 {caseLabel1} @GFAGNT_491 {caseNum2} 1 {caseLabel2} @GFAGNT_505 {caseNum3} 2 {caseLabel3} @GFAGNT_519 {caseNum4} 3 {caseLabel4} @GFAGNT_533 {caseNum5} 4 {caseLabel5} @GFAGNT_547 {caseNum6} -1 {caseLabel6} @GFAGNT_561 {caseNum7} -1 {caseLabel7} @GFAGNT_561

:GFAGNT_491
GFAGNT_563()
goto @GFAGNT_561

:GFAGNT_505
GFAGNT_1605()
goto @GFAGNT_561

:GFAGNT_519
GFAGNT_2298()
goto @GFAGNT_561

:GFAGNT_533
GFAGNT_2604()
goto @GFAGNT_561

:GFAGNT_547
GFAGNT_2781()
goto @GFAGNT_561

:GFAGNT_561
return 

:GFAGNT_563
GFAGNT_5005()
if 
  is_global_var_bit_set_var $spray_help {var_n} $iCaller
goto_if_false @GFAGNT_1167
if 
  is_global_var_bit_set_const $395 {n} 25
goto_if_false @GFAGNT_621
3@ = 1
goto @GFAGNT_891

:GFAGNT_621
3@ = 0
4@ = Player.GetCityIsIn($statbike_temp)
switch_start $iCaller {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_891 {caseNum1} 0 {caseLabel1} @GFAGNT_699 {caseNum2} 1 {caseLabel2} @GFAGNT_795 {caseNum3} 2 {caseLabel3} @GFAGNT_763 {caseNum4} 3 {caseLabel4} @GFAGNT_731 {caseNum5} 4 {caseLabel5} @GFAGNT_827 {caseNum6} 5 {caseLabel6} @GFAGNT_859 {caseNum7} -1 {caseLabel7} @GFAGNT_891

:GFAGNT_699
if 
  is_int_lvar_equal_to_constant 4@ == 1
goto_if_false @GFAGNT_724
3@ = 1

:GFAGNT_724
goto @GFAGNT_891

:GFAGNT_731
if 
  is_int_lvar_equal_to_constant 4@ == 0
goto_if_false @GFAGNT_756
3@ = 1

:GFAGNT_756
goto @GFAGNT_891

:GFAGNT_763
if 
  is_int_lvar_equal_to_constant 4@ == 0
goto_if_false @GFAGNT_788
3@ = 1

:GFAGNT_788
goto @GFAGNT_891

:GFAGNT_795
if 
  is_int_lvar_equal_to_constant 4@ == 2
goto_if_false @GFAGNT_820
3@ = 1

:GFAGNT_820
goto @GFAGNT_891

:GFAGNT_827
if 
  is_int_lvar_equal_to_constant 4@ == 2
goto_if_false @GFAGNT_852
3@ = 1

:GFAGNT_852
goto @GFAGNT_891

:GFAGNT_859
if 
  is_int_lvar_equal_to_constant 4@ == 3
goto_if_false @GFAGNT_884
3@ = 1

:GFAGNT_884
goto @GFAGNT_891

:GFAGNT_891
if 
  3@ == 1
goto_if_false @GFAGNT_1158
GFAGNT_2980()
GFAGNT_5122()
if 
  3@ > 0
goto_if_false @GFAGNT_1144
$GF_right_stick_y = 250
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 20
goto_if_false @GFAGNT_1137
GFAGNT_4358()
GFAGNT_5333()
if 
  3@ > 0
goto_if_false @GFAGNT_1044
$GF_right_stick_y = 0
GFAGNT_5639()
set_global_var_bit_var $GF_left_stick_y {var_n} $iCaller
0@ = 4
1@ = 0
return 
goto @GFAGNT_1137

:GFAGNT_1044
clear_global_var_bit_var $GF_left_stick_y {var_n} $iCaller
GFAGNT_5742()
$GF_right_stick_y = 250
if 
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 10@, 11@, 12@, 5.0, 5.0, 3.0, False)
goto_if_false @GFAGNT_1137
if and
  not Text.IsHelpMessageBeingDisplayed
  not Text.IsMessageBeingDisplayed
goto_if_false @GFAGNT_1135
Text.PrintHelp('GF_0048')

:GFAGNT_1135
return 

:GFAGNT_1137
goto @GFAGNT_1151

:GFAGNT_1144
GFAGNT_6114()

:GFAGNT_1151
goto @GFAGNT_1160

:GFAGNT_1158
return 

:GFAGNT_1160
goto @GFAGNT_1603

:GFAGNT_1167
GFAGNT_3801()
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 20
goto_if_false @GFAGNT_1603
GFAGNT_5196()
if 
  3@ > 0
goto_if_false @GFAGNT_1591
$GF_right_stick_y = 250
if and
  $iCaller == 2
  2 > $sweetX
goto_if_false @GFAGNT_1256
StreamedScript.MarkAsNoLongerNeeded(24)
return 

:GFAGNT_1256
if and
  $363($iCaller,6i) <> -100
  $363($iCaller,6i) <> -999
goto_if_false @GFAGNT_1584
if 
  is_global_var_bit_set_const $387($iCaller,6i) {n} 31
goto_if_false @GFAGNT_1460
3@ = Clock.GetCurrentDayOfWeek()
3@ += 22
if 
  is_global_var_bit_set_lvar $387($iCaller,6i) {var_n} 3@
goto_if_false @GFAGNT_1368
GFAGNT_9541()
3@ = 1
goto @GFAGNT_1453

:GFAGNT_1368
3@ += 1
if 
  3@ > 29
goto_if_false @GFAGNT_1400
3@ = 23

:GFAGNT_1400
if 
  is_global_var_bit_set_lvar $387($iCaller,6i) {var_n} 3@
goto_if_false @GFAGNT_1439
3@ = -1
return 
goto @GFAGNT_1453

:GFAGNT_1439
GFAGNT_9541()
3@ = 1

:GFAGNT_1453
goto @GFAGNT_1467

:GFAGNT_1460
3@ = 1

:GFAGNT_1467
if 
  3@ == 1
goto_if_false @GFAGNT_1584
GFAGNT_4705()
3@ = StreamedScript.GetNumberOfInstances(24)
if 
  3@ == 0
goto_if_false @GFAGNT_1584
StreamedScript.Stream(24)
if 
  StreamedScript.HasLoaded(24)
goto_if_false @GFAGNT_1584
set_global_var_bit_const $iGFBonusPickupID {n} 20
StreamedScript.StartNew(24, $iCaller, 10@, 11@, 12@, 13@)
$GF_right_stick_y = 0
0@ = 3
1@ = 0

:GFAGNT_1584
goto @GFAGNT_1603

:GFAGNT_1591
$GF_right_stick_y = 500
StreamedScript.MarkAsNoLongerNeeded(24)

:GFAGNT_1603
return 

:GFAGNT_1605
switch_start 1@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_2296 {caseNum1} 0 {caseLabel1} @GFAGNT_1668 {caseNum2} 1 {caseLabel2} @GFAGNT_1890 {caseNum3} 2 {caseLabel3} @GFAGNT_1942 {caseNum4} 3 {caseLabel4} @GFAGNT_2095 {caseNum5} 4 {caseLabel5} @GFAGNT_2218 {caseNum6} -1 {caseLabel6} @GFAGNT_2296 {caseNum7} -1 {caseLabel7} @GFAGNT_2296

:GFAGNT_1668
if 
  is_int_var_equal_to_int_var $397 == $iCaller
goto_if_false @GFAGNT_1701
GFAGNT_7091()
$396 = 20

:GFAGNT_1701
clear_global_var_bit_var $395 {var_n} $iCaller
GFAGNT_7457()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_1746
Group.Remove($flag_cell_nation)
Player.SetGroupRecruitment($statbike_temp, False)
Game.GetRidOfPlayerProstitute

:GFAGNT_1746
if 
  not is_global_var_bit_set_const $spray_help {n} 31
goto_if_false @GFAGNT_1771
$iGFBonusPickupID = 0

:GFAGNT_1771
GFAGNT_9631()
if and
  3@ == 1
  is_global_var_bit_set_const $381($iCaller,6i) {n} 23
goto_if_false @GFAGNT_1821
set_global_var_bit_const $iGFBonusPickupID {n} 14
goto @GFAGNT_1872

:GFAGNT_1821
if 
  30 >= $363($iCaller,6i)
goto_if_false @GFAGNT_1857
set_global_var_bit_const $iGFBonusPickupID {n} 11
goto @GFAGNT_1872

:GFAGNT_1857
GFAGNT_7115()
set_global_var_bit_lvar $iGFBonusPickupID {var_n} 3@

:GFAGNT_1872
StreamedScript.Stream(25)
1@ += 1
goto @GFAGNT_2296

:GFAGNT_1890
if 
  StreamedScript.HasLoaded(25)
goto_if_false @GFAGNT_1935
set_global_var_bit_const $iGFBonusPickupID {n} 1
clear_global_var_bit_var $GF_left_stick_y {var_n} $iCaller
StreamedScript.StartNew(25, 2@)
1@ += 1

:GFAGNT_1935
goto @GFAGNT_2296

:GFAGNT_1942
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @GFAGNT_2056
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 3
goto_if_false @GFAGNT_2028
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 5
goto_if_false @GFAGNT_2021
Player.SetControl($statbike_temp, False)
GFAGNT_9180()
StreamedScript.Stream(26)
1@ += 1

:GFAGNT_2021
goto @GFAGNT_2049

:GFAGNT_2028
Camera.DoFade(1000, Fade.In)
0@ = 2
1@ = 0

:GFAGNT_2049
goto @GFAGNT_2088

:GFAGNT_2056
3@ = StreamedScript.GetNumberOfInstances(25)
if 
  3@ == 0
goto_if_false @GFAGNT_2088
clear_global_var_bit_const $iGFBonusPickupID {n} 1

:GFAGNT_2088
goto @GFAGNT_2296

:GFAGNT_2095
if 
  StreamedScript.HasLoaded(26)
goto_if_false @GFAGNT_2211
3@ = Streaming.GetAreaVisible()
GFAGNT_4358()
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 14
goto_if_false @GFAGNT_2172
StreamedScript.StartNew(26, $iCaller, 1, 3@, 10@, 11@, 12@, 13@)
goto @GFAGNT_2197

:GFAGNT_2172
StreamedScript.StartNew(26, $iCaller, 0, 3@, 10@, 11@, 12@, 13@)

:GFAGNT_2197
set_global_var_bit_const $iGFBonusPickupID {n} 5
1@ += 1

:GFAGNT_2211
goto @GFAGNT_2296

:GFAGNT_2218
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 5
goto_if_false @GFAGNT_2257
0@ = 2
1@ = 0
goto @GFAGNT_2289

:GFAGNT_2257
3@ = StreamedScript.GetNumberOfInstances(26)
if 
  3@ == 0
goto_if_false @GFAGNT_2289
clear_global_var_bit_const $iGFBonusPickupID {n} 5

:GFAGNT_2289
goto @GFAGNT_2296

:GFAGNT_2296
return 

:GFAGNT_2298
switch_start 1@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_2602 {caseNum1} 0 {caseLabel1} @GFAGNT_2361 {caseNum2} 1 {caseLabel2} @GFAGNT_2477 {caseNum3} -1 {caseLabel3} @GFAGNT_2602 {caseNum4} -1 {caseLabel4} @GFAGNT_2602 {caseNum5} -1 {caseLabel5} @GFAGNT_2602 {caseNum6} -1 {caseLabel6} @GFAGNT_2602 {caseNum7} -1 {caseLabel7} @GFAGNT_2602

:GFAGNT_2361
clear_global_var_bit_var $395 {var_n} $iCaller
GFAGNT_9180()
if 
  $363($iCaller,6i) == -999
goto_if_false @GFAGNT_2427
Text.ClearHelp
Text.PrintHelp('GF_0039')
clear_global_var_bit_var $spray_help {var_n} $iCaller
goto @GFAGNT_2463

:GFAGNT_2427
GFAGNT_8694()
if 
  $363($iCaller,6i) >= 50
goto_if_false @GFAGNT_2463
GFAGNT_5791()

:GFAGNT_2463
1@ += 1
goto @GFAGNT_2602

:GFAGNT_2477
if or
  $363($iCaller,6i) == -100
  $363($iCaller,6i) == -999
goto_if_false @GFAGNT_2539
GFAGNT_9697()
0@ = 0
1@ = 0
goto @GFAGNT_2595

:GFAGNT_2539
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 10@, 11@, 12@, 10.0, 10.0, 10.0, False)
goto_if_false @GFAGNT_2595
0@ = 0
1@ = 0

:GFAGNT_2595
goto @GFAGNT_2602

:GFAGNT_2602
return 

:GFAGNT_2604
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 20
goto_if_false @GFAGNT_2747
GFAGNT_4705()
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 10@, 11@, 12@, 65.0, 65.0, 5.0, False)
goto_if_false @GFAGNT_2740
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 21
goto_if_false @GFAGNT_2726
7@ = Clock.GetCurrentDayOfWeek()
7@ += 1
if 
  7@ > 7
goto_if_false @GFAGNT_2726
7@ = 1

:GFAGNT_2726
0@ = 0
1@ = 0

:GFAGNT_2740
goto @GFAGNT_2779

:GFAGNT_2747
3@ = StreamedScript.GetNumberOfInstances(24)
if 
  3@ == 0
goto_if_false @GFAGNT_2779
clear_global_var_bit_const $iGFBonusPickupID {n} 20

:GFAGNT_2779
return 

:GFAGNT_2781
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 10@, 11@, 12@, 75.0, 75.0, 10.0, False)
goto_if_false @GFAGNT_2964
GFAGNT_5333()
if 
  3@ > 0
goto_if_false @GFAGNT_2943
if 
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 10@, 11@, 12@, 1.5, 1.5, 1.5, True)
goto_if_false @GFAGNT_2936
if and
  not is_global_var_bit_set_const $395 {n} 11
  Player.CanStartMission($statbike_temp)
goto_if_false @GFAGNT_2936
Player.SetControl($statbike_temp, False)
0@ = 1
1@ = 0
return 

:GFAGNT_2936
goto @GFAGNT_2957

:GFAGNT_2943
0@ = 0
1@ = 0

:GFAGNT_2957
goto @GFAGNT_2978

:GFAGNT_2964
0@ = 0
1@ = 0

:GFAGNT_2978
return 

:GFAGNT_2980
if 
  not Blip.DoesExist($402($iCaller,6i))
goto_if_false @GFAGNT_3094
GFAGNT_4358()
$402($iCaller,6i) = Blip.AddShortRangeSpriteForCoord(10@, 11@, 12@, RadarSprite.Girlfriend)
Stat.IncrementInt(StatId.CurrentGirlfriends, 1)
Stat.IncrementInt(StatId.GirlsDated, 1)
3@ = Stat.GetInt(StatId.RespectGirlfriend)
add_int_var_to_int_lvar 3@ += $1208($iCaller,6i)
if 
  3@ > 1000
goto_if_false @GFAGNT_3087
3@ = 1000

:GFAGNT_3087
Stat.SetInt(StatId.RespectGirlfriend, 3@)

:GFAGNT_3094
switch_start $iCaller {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_3799 {caseNum1} 0 {caseLabel1} @GFAGNT_3157 {caseNum2} 1 {caseLabel2} @GFAGNT_3224 {caseNum3} 2 {caseLabel3} @GFAGNT_3342 {caseNum4} 3 {caseLabel4} @GFAGNT_3553 {caseNum5} 4 {caseLabel5} @GFAGNT_3676 {caseNum6} -1 {caseLabel6} @GFAGNT_3799 {caseNum7} -1 {caseLabel7} @GFAGNT_3799

:GFAGNT_3157
if and
  $363($iCaller,6i) >= 100
  $flag_8weapons_open == 0
goto_if_false @GFAGNT_3217
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GFAGNT_3217
Text.PrintHelp('GF_H006')
$flag_8weapons_open = 1

:GFAGNT_3217
goto @GFAGNT_3799

:GFAGNT_3224
if and
  $363($iCaller,6i) >= 100
  $flag_6weapons_open == 0
goto_if_false @GFAGNT_3284
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GFAGNT_3284
Text.PrintHelp('GF_H006')
$flag_6weapons_open = 1

:GFAGNT_3284
if 
  not is_global_var_bit_set_const $spray_help {n} 21
goto_if_false @GFAGNT_3335
Garage.ChangeType('MICHDR', GarageType.Respray)
Garage.SetResprayFree('MICHDR', True)
set_global_var_bit_const $spray_help {n} 21

:GFAGNT_3335
goto @GFAGNT_3799

:GFAGNT_3342
if and
  $363($iCaller,6i) >= 100
  $sample_name_shop == 0
goto_if_false @GFAGNT_3402
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GFAGNT_3402
Text.PrintHelp('GF_H006')
$sample_name_shop = 1

:GFAGNT_3402
if 
  not is_global_var_bit_set_const $spray_help {n} 22
goto_if_false @GFAGNT_3546
Object.SetVisible($1246[6], False)
Object.SetCollision($1246[6], False)
$iGFHomeBlips = Pickup.Create(344, PickupType.OnStreetSlow, -366.2235, -1429.088, 25.5)
$399 = Pickup.Create(341, PickupType.OnStreetSlow, -365.7906, -1425.253, 25.5)
$400 = Pickup.CreateWithAmmo(346, PickupType.OnStreetSlow, 100, -365.4774, -1422.401, 25.5)
$401 = Pickup.CreateWithAmmo(361, PickupType.OnStreetSlow, 200, -366.066, -1418.683, 25.5)
set_global_var_bit_const $spray_help {n} 22

:GFAGNT_3546
goto @GFAGNT_3799

:GFAGNT_3553
if and
  $363($iCaller,6i) >= 100
  $flag_got_pimp_clothes == 0
goto_if_false @GFAGNT_3613
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GFAGNT_3613
Text.PrintHelp('GF_H006')
$flag_got_pimp_clothes = 1

:GFAGNT_3613
if 
  not is_global_var_bit_set_const $spray_help {n} 23
goto_if_false @GFAGNT_3669
Restart.SetExtraPoliceStationRestartPoint(-1379.843, 2635.74, 54.4315, 1500.0, 170.6194)
Game.SwitchArrestPenalties(False)
set_global_var_bit_const $spray_help {n} 23

:GFAGNT_3669
goto @GFAGNT_3799

:GFAGNT_3676
if and
  $363($iCaller,6i) >= 100
  $flag_7weapons_open == 0
goto_if_false @GFAGNT_3736
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GFAGNT_3736
Text.PrintHelp('GF_H006')
$flag_7weapons_open = 1

:GFAGNT_3736
if 
  not is_global_var_bit_set_const $spray_help {n} 24
goto_if_false @GFAGNT_3792
Restart.SetExtraHospitalRestartPoint(-2570.511, 1139.582, 54.8547, 1500.0, 160.0)
Game.SwitchDeathPenalties(False)
set_global_var_bit_const $spray_help {n} 24

:GFAGNT_3792
goto @GFAGNT_3799

:GFAGNT_3799
return 

:GFAGNT_3801
if 
  $game_complete == 50
goto_if_false @GFAGNT_3866
if and
  0 > $363($iCaller,6i)
  $iCaller <> 0
  $iCaller <> 5
goto_if_false @GFAGNT_3866
$363($iCaller,6i) = 45

:GFAGNT_3866
if 
  Blip.DoesExist($402($iCaller,6i))
goto_if_false @GFAGNT_3982
Blip.Remove($402($iCaller,6i))
GFAGNT_9697()
GFAGNT_5742()
clear_global_var_bit_var $GF_left_stick_y {var_n} $iCaller
Stat.DecrementInt(StatId.CurrentGirlfriends, 1)
Stat.IncrementInt(StatId.GirlsDumped, 1)
3@ = Stat.GetInt(StatId.RespectGirlfriend)
sub_int_var_from_int_lvar 3@ -= $1208($iCaller,6i)
if 
  0 > 3@
goto_if_false @GFAGNT_3975
3@ = 0

:GFAGNT_3975
Stat.SetInt(StatId.RespectGirlfriend, 3@)

:GFAGNT_3982
set_lvar_int_to_var_int 3@ = $iCaller
3@ += 20
if 
  is_global_var_bit_set_lvar $spray_help {var_n} 3@
goto_if_false @GFAGNT_4356
switch_start $iCaller {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_4356 {caseNum1} 1 {caseLabel1} @GFAGNT_4079 {caseNum2} 2 {caseLabel2} @GFAGNT_4178 {caseNum3} 3 {caseLabel3} @GFAGNT_4274 {caseNum4} 4 {caseLabel4} @GFAGNT_4319 {caseNum5} -1 {caseLabel5} @GFAGNT_4356 {caseNum6} -1 {caseLabel6} @GFAGNT_4356 {caseNum7} -1 {caseLabel7} @GFAGNT_4356

:GFAGNT_4079
if 
  not Char.IsInArea3D($stattreadstamina_ctr, -1790.7, 1209.0, 23.0, -1784.0, 1221.5, 27.5, False)
goto_if_false @GFAGNT_4171
Garage.SetResprayFree('MICHDR', False)
Garage.ChangeType('MICHDR', GarageType.ForScriptToOpenAndClose)
Garage.Close('MICHDR')
clear_global_var_bit_const $spray_help {n} 21

:GFAGNT_4171
goto @GFAGNT_4356

:GFAGNT_4178
if 
  not Char.IsInArea3D($stattreadstamina_ctr, -361.0, -1417.0, 23.0, -372.0, -1431.0, 30.0, False)
goto_if_false @GFAGNT_4267
Pickup.Remove($iGFHomeBlips)
Pickup.Remove($399)
Pickup.Remove($400)
Pickup.Remove($401)
Object.SetVisible($1246[6], True)
Object.SetCollision($1246[6], True)
clear_global_var_bit_const $spray_help {n} 22

:GFAGNT_4267
goto @GFAGNT_4356

:GFAGNT_4274
Restart.SetExtraPoliceStationRestartPoint(-1379.843, 2635.74, 54.4315, 0.0, 170.6194)
Game.SwitchArrestPenalties(True)
clear_global_var_bit_const $spray_help {n} 23
goto @GFAGNT_4356

:GFAGNT_4319
Restart.SetExtraHospitalRestartPoint(10@, 11@, 12@, 0.0, 13@)
Game.SwitchDeathPenalties(True)
clear_global_var_bit_const $spray_help {n} 24
goto @GFAGNT_4356

:GFAGNT_4356
return 

:GFAGNT_4358
switch_start $iCaller {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_4703 {caseNum1} 0 {caseLabel1} @GFAGNT_4421 {caseNum2} 1 {caseLabel2} @GFAGNT_4468 {caseNum3} 2 {caseLabel3} @GFAGNT_4515 {caseNum4} 3 {caseLabel4} @GFAGNT_4562 {caseNum5} 4 {caseLabel5} @GFAGNT_4609 {caseNum6} 5 {caseLabel6} @GFAGNT_4656 {caseNum7} -1 {caseLabel7} @GFAGNT_4703

:GFAGNT_4421
10@ = 2401.965
11@ = -1723.22
12@ = 12.6005
13@ = 180.0
goto @GFAGNT_4703

:GFAGNT_4468
10@ = -1799.5
11@ = 1195.5
12@ = 24.1094
13@ = 180.0
goto @GFAGNT_4703

:GFAGNT_4515
10@ = -377.3978
11@ = -1438.692
12@ = 24.7209
13@ = 270.0
goto @GFAGNT_4703

:GFAGNT_4562
10@ = -1398.101
11@ = 2636.873
12@ = 54.7031
13@ = 75.0
goto @GFAGNT_4703

:GFAGNT_4609
10@ = -2576.808
11@ = 1144.744
12@ = 54.7422
13@ = 164.0
goto @GFAGNT_4703

:GFAGNT_4656
10@ = 2035.362
11@ = 2732.411
12@ = 9.8203
13@ = 0.0
goto @GFAGNT_4703

:GFAGNT_4703
return 

:GFAGNT_4705
switch_start $iCaller {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @GFAGNT_4956 {caseNum1} 1 {caseLabel1} @GFAGNT_4768 {caseNum2} 2 {caseLabel2} @GFAGNT_4815 {caseNum3} 3 {caseLabel3} @GFAGNT_4862 {caseNum4} 4 {caseLabel4} @GFAGNT_4909 {caseNum5} -1 {caseLabel5} @GFAGNT_5003 {caseNum6} -1 {caseLabel6} @GFAGNT_5003 {caseNum7} -1 {caseLabel7} @GFAGNT_5003

:GFAGNT_4768
10@ = -2027.583
11@ = -118.7022
12@ = 1034.0
13@ = 3.4
goto @GFAGNT_5003

:GFAGNT_4815
10@ = 257.6682
11@ = -154.7475
12@ = 4.0786
13@ = 268.7731
goto @GFAGNT_5003

:GFAGNT_4862
10@ = -1410.1
11@ = 2648.731
12@ = 54.6875
13@ = 130.0
goto @GFAGNT_5003

:GFAGNT_4909
10@ = -2291.708
11@ = -233.0215
12@ = 41.7185
13@ = 360.0
goto @GFAGNT_5003

:GFAGNT_4956
10@ = 0.0
11@ = 0.0
12@ = 0.0
13@ = 0.0
goto @GFAGNT_5003

:GFAGNT_5003
return 

:GFAGNT_5005
8@ += 1
if 
  8@ >= 6
goto_if_false @GFAGNT_5037
8@ = 0

:GFAGNT_5037
if 
  is_global_var_bit_set_const $395 {n} 25
goto_if_false @GFAGNT_5088
if 
  is_int_lvar_equal_to_int_var 8@ == $iCaller
goto_if_false @GFAGNT_5081
clear_global_var_bit_const $395 {n} 25

:GFAGNT_5081
goto @GFAGNT_5120

:GFAGNT_5088
$iCaller += 1
if 
  $iCaller >= 6
goto_if_false @GFAGNT_5120
$iCaller = 0

:GFAGNT_5120
return 

:GFAGNT_5122
GFAGNT_4358()
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 10@, 11@, 12@, 65.0, 65.0, 5.0, False)
goto_if_false @GFAGNT_5187
set_global_var_bit_const $395 {n} 25
3@ = 1
return 

:GFAGNT_5187
3@ = -1
return 

:GFAGNT_5196
GFAGNT_4705()
if 
  10@ <> 0.0
goto_if_false @GFAGNT_5324
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 10@, 11@, 12@, 80.0, 80.0, 10.0, False)
goto_if_false @GFAGNT_5324
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 10@, 11@, 12@, 8.0, 8.0, 10.0, False)
goto_if_false @GFAGNT_5324
set_global_var_bit_const $395 {n} 25
3@ = 1
return 

:GFAGNT_5324
3@ = -1
return 

:GFAGNT_5333
3@ = -1
if and
  is_global_var_bit_set_const $395 {n} 11
  is_int_var_equal_to_int_var $397 == $iCaller
goto_if_false @GFAGNT_5375
3@ = 1
return 

:GFAGNT_5375
if and
  is_global_var_bit_set_const $395 {n} 10
  is_int_var_equal_to_int_var $397 == $iCaller
goto_if_false @GFAGNT_5410
3@ = 1
return 

:GFAGNT_5410
if 
  is_global_var_bit_set_const $387($iCaller,6i) {n} 31
goto_if_false @GFAGNT_5559
3@ = Clock.GetCurrentDayOfWeek()
3@ += 22
if 
  is_global_var_bit_set_lvar $387($iCaller,6i) {var_n} 3@
goto_if_false @GFAGNT_5481
GFAGNT_9541()
goto @GFAGNT_5559

:GFAGNT_5481
3@ += 1
if 
  3@ > 29
goto_if_false @GFAGNT_5513
3@ = 23

:GFAGNT_5513
if 
  is_global_var_bit_set_lvar $387($iCaller,6i) {var_n} 3@
goto_if_false @GFAGNT_5552
3@ = -1
return 
goto @GFAGNT_5559

:GFAGNT_5552
GFAGNT_9541()

:GFAGNT_5559
3@, 4@ = Clock.GetTimeOfDay()
set_lvar_int_to_lvar_int 4@ = 3@
4@ /= 2
4@ *= 2
if 
  is_global_var_bit_set_lvar $387($iCaller,6i) {var_n} 4@
goto_if_false @GFAGNT_5628
3@ = -1
return 
goto @GFAGNT_5637

:GFAGNT_5628
3@ = 1
return 

:GFAGNT_5637
return 

:GFAGNT_5639
if 
  $363($iCaller,6i) >= 50
goto_if_false @GFAGNT_5704
if 
  not is_global_var_bit_set_const $395 {n} 26
goto_if_false @GFAGNT_5697
CarGenerator.Switch($2828($iCaller,6i), 101)
set_global_var_bit_const $395 {n} 26

:GFAGNT_5697
goto @GFAGNT_5740

:GFAGNT_5704
if 
  not is_global_var_bit_set_const $395 {n} 26
goto_if_false @GFAGNT_5740
CarGenerator.Switch($2822($iCaller,6i), 101)
set_global_var_bit_const $395 {n} 26

:GFAGNT_5740
return 

:GFAGNT_5742
if 
  is_global_var_bit_set_const $395 {n} 26
goto_if_false @GFAGNT_5789
CarGenerator.Switch($2828($iCaller,6i), 0)
CarGenerator.Switch($2822($iCaller,6i), 0)
clear_global_var_bit_const $395 {n} 26

:GFAGNT_5789
return 

:GFAGNT_5791
switch_start $iCaller {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_6112 {caseNum1} 0 {caseLabel1} @GFAGNT_5854 {caseNum2} 1 {caseLabel2} @GFAGNT_5897 {caseNum3} 2 {caseLabel3} @GFAGNT_5940 {caseNum4} 3 {caseLabel4} @GFAGNT_5983 {caseNum5} 4 {caseLabel5} @GFAGNT_6026 {caseNum6} 5 {caseLabel6} @GFAGNT_6069 {caseNum7} -1 {caseLabel7} @GFAGNT_6112

:GFAGNT_5854
if 
  not is_global_var_bit_set_const $spray_help {n} 25
goto_if_false @GFAGNT_5890
Text.PrintHelp('GF_H007')
set_global_var_bit_const $spray_help {n} 25

:GFAGNT_5890
goto @GFAGNT_6112

:GFAGNT_5897
if 
  not is_global_var_bit_set_const $spray_help {n} 26
goto_if_false @GFAGNT_5933
Text.PrintHelp('GF_H008')
set_global_var_bit_const $spray_help {n} 26

:GFAGNT_5933
goto @GFAGNT_6112

:GFAGNT_5940
if 
  not is_global_var_bit_set_const $spray_help {n} 27
goto_if_false @GFAGNT_5976
Text.PrintHelp('GF_H009')
set_global_var_bit_const $spray_help {n} 27

:GFAGNT_5976
goto @GFAGNT_6112

:GFAGNT_5983
if 
  not is_global_var_bit_set_const $spray_help {n} 28
goto_if_false @GFAGNT_6019
Text.PrintHelp('GF_H010')
set_global_var_bit_const $spray_help {n} 28

:GFAGNT_6019
goto @GFAGNT_6112

:GFAGNT_6026
if 
  not is_global_var_bit_set_const $spray_help {n} 29
goto_if_false @GFAGNT_6062
Text.PrintHelp('GF_H011')
set_global_var_bit_const $spray_help {n} 29

:GFAGNT_6062
goto @GFAGNT_6112

:GFAGNT_6069
if 
  not is_global_var_bit_set_const $spray_help {n} 30
goto_if_false @GFAGNT_6105
Text.PrintHelp('GF_H012')
set_global_var_bit_const $spray_help {n} 30

:GFAGNT_6105
goto @GFAGNT_6112

:GFAGNT_6112
return 

:GFAGNT_6114
switch_start $396 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_6636 {caseNum1} 20 {caseLabel1} @GFAGNT_6177 {caseNum2} 21 {caseLabel2} @GFAGNT_6205 {caseNum3} 22 {caseLabel3} @GFAGNT_6338 {caseNum4} 23 {caseLabel4} @GFAGNT_6434 {caseNum5} 24 {caseLabel5} @GFAGNT_6492 {caseNum6} -1 {caseLabel6} @GFAGNT_6636 {caseNum7} -1 {caseLabel7} @GFAGNT_6636

:GFAGNT_6177
GFAGNT_7091()
GFAGNT_9070()
GFAGNT_6638()
goto @GFAGNT_6636

:GFAGNT_6205
3@ = Clock.GetMinutesToTimeOfDay(5@, 6@)
if 
  5 >= 3@
goto_if_false @GFAGNT_6331
if 
  not is_global_var_bit_set_const $395 {n} 11
goto_if_false @GFAGNT_6331
if 
  is_int_var_equal_to_int_var $397 == $iCaller
goto_if_false @GFAGNT_6298
start_new_script @MOB_GF $iCaller 1 
$396 = 22
goto @GFAGNT_6331

:GFAGNT_6298
if 
  not is_global_var_bit_set_var $spray_help {var_n} $397
goto_if_false @GFAGNT_6331
GFAGNT_7091()
$396 = 20

:GFAGNT_6331
goto @GFAGNT_6636

:GFAGNT_6338
if 
  not is_global_var_bit_set_const $395 {n} 11
goto_if_false @GFAGNT_6427
if 
  is_global_var_bit_set_const $395 {n} 10
goto_if_false @GFAGNT_6395
GFAGNT_6757()
$396 = 23
goto @GFAGNT_6427

:GFAGNT_6395
$363($397,6i) -= 2
GFAGNT_9854()
GFAGNT_7091()
$396 = 20

:GFAGNT_6427
goto @GFAGNT_6636

:GFAGNT_6434
3@ = Clock.GetMinutesToTimeOfDay(5@, 6@)
if 
  5 >= 3@
goto_if_false @GFAGNT_6485
set_var_int_to_var_int $iCaller = $397
GFAGNT_6829()
$396 = 20

:GFAGNT_6485
goto @GFAGNT_6636

:GFAGNT_6492
if 
  not is_global_var_bit_set_const $395 {n} 11
goto_if_false @GFAGNT_6629
if 
  is_global_var_bit_set_const $395 {n} 10
goto_if_false @GFAGNT_6586
if and
  $397 > -1
  6 > $397
goto_if_false @GFAGNT_6572
$363($397,6i) = -100
clear_global_var_bit_var $spray_help {var_n} $397

:GFAGNT_6572
$396 = 20
goto @GFAGNT_6629

:GFAGNT_6586
if and
  $397 > -1
  6 > $397
goto_if_false @GFAGNT_6622
$363($397,6i) = -99

:GFAGNT_6622
$396 = 20

:GFAGNT_6629
goto @GFAGNT_6636

:GFAGNT_6636
return 

:GFAGNT_6638
3@ = Math.RandomIntInRange(0, 6)
if 
  is_global_var_bit_set_lvar $spray_help {var_n} 3@
goto_if_false @GFAGNT_6755
if 
  $363(3@,6i) > -15
goto_if_false @GFAGNT_6755
if and
  $363(3@,6i) <> -100
  $363($iCaller,6i) <> -999
goto_if_false @GFAGNT_6755
5@ = Math.RandomIntInRange(1, 23)
6@ = Math.RandomIntInRange(1, 59)
set_var_int_to_lvar_int $397 = 3@
$396 = 21

:GFAGNT_6755
return 

:GFAGNT_6757
5@, 6@ = Clock.GetTimeOfDay()
6@ = 31
5@ += 5
if 
  5@ > 23
goto_if_false @GFAGNT_6827
set_lvar_int_to_lvar_int 3@ = 5@
3@ -= 23
5@ = 0
add_int_lvar_to_int_lvar 5@ += 3@

:GFAGNT_6827
return 

:GFAGNT_6829
if and
  $397 > -1
  6 > $397
goto_if_false @GFAGNT_7089
$363($397,6i) -= 3
GFAGNT_9854()
if and
  not Text.IsHelpMessageBeingDisplayed
  $363($397,6i) > -15
goto_if_false @GFAGNT_7089
switch_start $397 {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_7067 {caseNum1} 0 {caseLabel1} @GFAGNT_6959 {caseNum2} 1 {caseLabel2} @GFAGNT_6977 {caseNum3} 2 {caseLabel3} @GFAGNT_6995 {caseNum4} 3 {caseLabel4} @GFAGNT_7013 {caseNum5} 4 {caseLabel5} @GFAGNT_7031 {caseNum6} 5 {caseLabel6} @GFAGNT_7049 {caseNum7} -1 {caseLabel7} @GFAGNT_7067

:GFAGNT_6959
Text.PrintHelp('GF_APP0')
goto @GFAGNT_7067

:GFAGNT_6977
Text.PrintHelp('GF_APP1')
goto @GFAGNT_7067

:GFAGNT_6995
Text.PrintHelp('GF_APP2')
goto @GFAGNT_7067

:GFAGNT_7013
Text.PrintHelp('GF_APP3')
goto @GFAGNT_7067

:GFAGNT_7031
Text.PrintHelp('GF_APP4')
goto @GFAGNT_7067

:GFAGNT_7049
Text.PrintHelp('GF_APP5')
goto @GFAGNT_7067

:GFAGNT_7067
clear_global_var_bit_const $395 {n} 10
clear_global_var_bit_var $395 {var_n} $397
$397 = -1

:GFAGNT_7089
return 

:GFAGNT_7091
$397 = -1
clear_global_var_bit_const $395 {n} 10
clear_global_var_bit_var $395 {var_n} $iCaller
return 

:GFAGNT_7115
3@ = Math.RandomIntInRange(0, 45)
if 
  3@ > 10
goto_if_false @GFAGNT_7288
if 
  3@ > 20
goto_if_false @GFAGNT_7274
if 
  3@ > 30
goto_if_false @GFAGNT_7260
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 22
goto_if_false @GFAGNT_7214
3@ = 15
goto @GFAGNT_7253

:GFAGNT_7214
if 
  3@ > 35
goto_if_false @GFAGNT_7246
3@ = 12
goto @GFAGNT_7253

:GFAGNT_7246
3@ = 13

:GFAGNT_7253
goto @GFAGNT_7267

:GFAGNT_7260
3@ = 13

:GFAGNT_7267
goto @GFAGNT_7281

:GFAGNT_7274
3@ = 12

:GFAGNT_7281
goto @GFAGNT_7295

:GFAGNT_7288
3@ = 11

:GFAGNT_7295
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 27
goto_if_false @GFAGNT_7327
3@ = 11
$iGFBonusPickupID = 0

:GFAGNT_7327
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 28
goto_if_false @GFAGNT_7359
3@ = 12
$iGFBonusPickupID = 0

:GFAGNT_7359
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 29
goto_if_false @GFAGNT_7391
3@ = 13
$iGFBonusPickupID = 0

:GFAGNT_7391
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 30
goto_if_false @GFAGNT_7423
3@ = 14
$iGFBonusPickupID = 0

:GFAGNT_7423
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 31
goto_if_false @GFAGNT_7455
3@ = 15
$iGFBonusPickupID = 0

:GFAGNT_7455
return 

:GFAGNT_7457
switch_start $iCaller {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_8692 {caseNum1} 0 {caseLabel1} @GFAGNT_7520 {caseNum2} 1 {caseLabel2} @GFAGNT_7866 {caseNum3} 2 {caseLabel3} @GFAGNT_8006 {caseNum4} 3 {caseLabel4} @GFAGNT_8188 {caseNum5} 4 {caseLabel5} @GFAGNT_8370 {caseNum6} 5 {caseLabel6} @GFAGNT_8552 {caseNum7} -1 {caseLabel7} @GFAGNT_8692

:GFAGNT_7520
if or
  not Streaming.HasModelLoaded(195)
  not Streaming.HasModelLoaded(352)
goto_if_false @GFAGNT_7562
Streaming.RequestModel(352)
Streaming.RequestModel(195)
wait 0
goto @GFAGNT_7520

:GFAGNT_7562
2@ = Char.Create(PedType.CivFemale, 195, 2402.39, -1712.899, 13.1402)
Char.SetHeading(2@, 180.0)
Char.GiveWeapon(2@, WeaponType.MicroUzi, 60)
Char.SetCurrentWeapon(2@, WeaponType.Unarmed)
Char.SetAccuracy(2@, 75)
$iCJSayContext = DecisionMakerChar.CopyShared(65540)
DecisionMakerChar.AddEventResponse($iCJSayContext, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
DecisionMakerChar.AddEventResponse($iCJSayContext, 37, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
DecisionMakerChar.AddEventResponse($iCJSayContext, 36, 1024, 0.0, 50.0, 0.0, 0.0, False, True)
Char.SetDecisionMaker(2@, $iCJSayContext)
Char.SetRelationship(2@, RelationshipType.Hate, PedType.Gang1)
Char.SetRelationship(2@, RelationshipType.Hate, PedType.Gang3)
Char.SetRelationship(2@, RelationshipType.Hate, PedType.Gang4)
Char.SetRelationship(2@, RelationshipType.Hate, PedType.Gang5)
Char.SetRelationship(2@, RelationshipType.Hate, PedType.Gang6)
Char.SetRelationship(2@, RelationshipType.Hate, PedType.Gang7)
Char.SetRelationship(2@, RelationshipType.Hate, PedType.Gang8)
Char.SetStayInSamePlace(2@, True)
Char.SetSuffersCriticalHits(2@, False)
Char.SetNeverTargeted(2@, True)
Char.SetProofs(2@, False, False, True, True, False)
Char.SetHealth(2@, 500)
Char.DontRemove(2@)
Task.StandStill(2@, -1)
goto @GFAGNT_8692

:GFAGNT_7866
if 
  not Streaming.HasModelLoaded(192)
goto_if_false @GFAGNT_7898
Streaming.RequestModel(192)
wait 0
goto @GFAGNT_7866

:GFAGNT_7898
2@ = Char.Create(PedType.CivFemale, 192, -1799.875, 1202.057, 24.1328)
Char.SetHeading(2@, 180.0)
Char.SetDecisionMaker(2@, 65543)
Char.SetStayInSamePlace(2@, True)
Char.SetSuffersCriticalHits(2@, False)
Char.SetNeverTargeted(2@, True)
Char.SetProofs(2@, False, False, True, True, False)
Char.SetHealth(2@, 500)
Char.DontRemove(2@)
Task.StandStill(2@, -1)
goto @GFAGNT_8692

:GFAGNT_8006
if 
  not Streaming.HasModelLoaded(191)
goto_if_false @GFAGNT_8038
Streaming.RequestModel(191)
wait 0
goto @GFAGNT_8006

:GFAGNT_8038
2@ = Char.Create(PedType.CivFemale, 191, -384.6795, -1438.84, 25.3281)
Char.SetHeading(2@, 268.2687)
$iGFSayContext = DecisionMakerChar.CopyShared(65539)
DecisionMakerChar.AddEventResponse($iGFSayContext, 36, 1024, 0.0, 50.0, 0.0, 0.0, False, True)
Char.SetDecisionMaker(2@, $iGFSayContext)
Char.SetStayInSamePlace(2@, True)
Char.SetSuffersCriticalHits(2@, False)
Char.SetNeverTargeted(2@, True)
Char.SetProofs(2@, False, False, True, True, False)
Char.SetHealth(2@, 500)
Char.DontRemove(2@)
Task.StandStill(2@, -1)
goto @GFAGNT_8692

:GFAGNT_8188
if 
  not Streaming.HasModelLoaded(190)
goto_if_false @GFAGNT_8220
Streaming.RequestModel(190)
wait 0
goto @GFAGNT_8188

:GFAGNT_8220
2@ = Char.Create(PedType.CivFemale, 190, -1390.303, 2641.066, 54.9844)
Char.SetHeading(2@, 187.2)
$iGFSayContext = DecisionMakerChar.CopyShared(65539)
DecisionMakerChar.AddEventResponse($iGFSayContext, 36, 1024, 0.0, 50.0, 0.0, 0.0, False, True)
Char.SetDecisionMaker(2@, $iGFSayContext)
Char.SetStayInSamePlace(2@, True)
Char.SetSuffersCriticalHits(2@, False)
Char.SetNeverTargeted(2@, True)
Char.SetProofs(2@, False, False, True, True, False)
Char.SetHealth(2@, 500)
Char.DontRemove(2@)
Task.StandStill(2@, -1)
goto @GFAGNT_8692

:GFAGNT_8370
if 
  not Streaming.HasModelLoaded(193)
goto_if_false @GFAGNT_8402
Streaming.RequestModel(193)
wait 0
goto @GFAGNT_8370

:GFAGNT_8402
2@ = Char.Create(PedType.CivFemale, 193, -2573.357, 1155.091, 54.7347)
Char.SetHeading(2@, 167.8854)
$iGFSayContext = DecisionMakerChar.CopyShared(65539)
DecisionMakerChar.AddEventResponse($iGFSayContext, 36, 1024, 0.0, 50.0, 0.0, 0.0, False, True)
Char.SetDecisionMaker(2@, $iGFSayContext)
Char.SetStayInSamePlace(2@, True)
Char.SetSuffersCriticalHits(2@, False)
Char.SetNeverTargeted(2@, True)
Char.SetProofs(2@, False, False, True, True, False)
Char.SetHealth(2@, 500)
Char.DontRemove(2@)
Task.StandStill(2@, -1)
goto @GFAGNT_8692

:GFAGNT_8552
if 
  not Streaming.HasModelLoaded(194)
goto_if_false @GFAGNT_8584
Streaming.RequestModel(194)
wait 0
goto @GFAGNT_8552

:GFAGNT_8584
2@ = Char.Create(PedType.CivFemale, 194, 2037.476, 2719.794, 10.5436)
Char.SetHeading(2@, 9.2)
Char.SetDecisionMaker(2@, 65543)
Char.SetStayInSamePlace(2@, True)
Char.SetSuffersCriticalHits(2@, False)
Char.SetNeverTargeted(2@, True)
Char.SetProofs(2@, False, False, True, True, False)
Char.SetHealth(2@, 500)
Char.DontRemove(2@)
Task.StandStill(2@, -1)
goto @GFAGNT_8692

:GFAGNT_8692
return 

:GFAGNT_8694
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 2
goto_if_false @GFAGNT_8806
if and
  0 >= $363($iCaller,6i)
  $363($iCaller,6i) > -15
goto_if_false @GFAGNT_8774
$363($iCaller,6i) = 0
$363($iCaller,6i) += 5
goto @GFAGNT_8785

:GFAGNT_8774
$363($iCaller,6i) += 5

:GFAGNT_8785
GFAGNT_9854()
Stat.IncrementInt(StatId.Dates, 1)
goto @GFAGNT_8908

:GFAGNT_8806
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 8
goto_if_false @GFAGNT_8883
if and
  $363($iCaller,6i) <> -100
  $363($iCaller,6i) <> -999
goto_if_false @GFAGNT_8876
$363($iCaller,6i) -= 1
GFAGNT_9854()

:GFAGNT_8876
goto @GFAGNT_8908

:GFAGNT_8883
$363($iCaller,6i) -= 5
GFAGNT_9854()
Stat.IncrementInt(StatId.BadDates, 1)

:GFAGNT_8908
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 4
goto_if_false @GFAGNT_8958
$363($iCaller,6i) += 5
GFAGNT_9854()
Stat.IncrementInt(StatId.TimesScoredWithGirl, 1)
goto @GFAGNT_8994

:GFAGNT_8958
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 3
goto_if_false @GFAGNT_8994
$363($iCaller,6i) -= 5
GFAGNT_9854()

:GFAGNT_8994
if and
  $363($iCaller,6i) <> -100
  $363($iCaller,6i) <> -999
goto_if_false @GFAGNT_9061
if 
  -15 >= $363($iCaller,6i)
goto_if_false @GFAGNT_9061
$363($iCaller,6i) = -99

:GFAGNT_9061
$iGFBonusPickupID = 0
return 

:GFAGNT_9070
if and
  $363($iCaller,6i) <> -100
  $363($iCaller,6i) <> -999
goto_if_false @GFAGNT_9178
if 
  $363($iCaller,6i) <> -99
goto_if_false @GFAGNT_9178
if 
  -15 >= $363($iCaller,6i)
goto_if_false @GFAGNT_9178
$396 = 24
set_var_int_to_var_int $397 = $iCaller
start_new_script @MOB_GF $397 2 
return 

:GFAGNT_9178
return 

:GFAGNT_9180
switch_start $iCaller {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_9340 {caseNum1} 0 {caseLabel1} @GFAGNT_9243 {caseNum2} 1 {caseLabel2} @GFAGNT_9265 {caseNum3} 2 {caseLabel3} @GFAGNT_9277 {caseNum4} 3 {caseLabel4} @GFAGNT_9294 {caseNum5} 4 {caseLabel5} @GFAGNT_9311 {caseNum6} 5 {caseLabel6} @GFAGNT_9328 {caseNum7} -1 {caseLabel7} @GFAGNT_9340

:GFAGNT_9243
Streaming.MarkModelAsNoLongerNeeded(195)
Streaming.MarkModelAsNoLongerNeeded(352)
DecisionMaker.Remove($iCJSayContext)
goto @GFAGNT_9340

:GFAGNT_9265
Streaming.MarkModelAsNoLongerNeeded(192)
goto @GFAGNT_9340

:GFAGNT_9277
Streaming.MarkModelAsNoLongerNeeded(191)
DecisionMaker.Remove($iGFSayContext)
goto @GFAGNT_9340

:GFAGNT_9294
Streaming.MarkModelAsNoLongerNeeded(190)
DecisionMaker.Remove($iGFSayContext)
goto @GFAGNT_9340

:GFAGNT_9311
Streaming.MarkModelAsNoLongerNeeded(193)
DecisionMaker.Remove($iGFSayContext)
goto @GFAGNT_9340

:GFAGNT_9328
Streaming.MarkModelAsNoLongerNeeded(194)
goto @GFAGNT_9340

:GFAGNT_9340
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 6
goto_if_false @GFAGNT_9370
Char.Delete(2@)
goto @GFAGNT_9440

:GFAGNT_9370
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 22
goto_if_false @GFAGNT_9400
Char.Delete(2@)
goto @GFAGNT_9440

:GFAGNT_9400
if 
  $363($iCaller,6i) == -999
goto_if_false @GFAGNT_9435
Char.MarkAsNoLongerNeeded(2@)
goto @GFAGNT_9440

:GFAGNT_9435
Char.RemoveElegantly(2@)

:GFAGNT_9440
$iGFContextVariation = 0
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 21
goto_if_false @GFAGNT_9539
3@ = Clock.GetCurrentDayOfWeek()
3@ += 1
if 
  3@ > 7
goto_if_false @GFAGNT_9502
3@ = 1

:GFAGNT_9502
GFAGNT_9541()
3@ += 22
set_global_var_bit_lvar $387($iCaller,6i) {var_n} 3@
set_global_var_bit_const $387($iCaller,6i) {n} 31

:GFAGNT_9539
return 

:GFAGNT_9541
clear_global_var_bit_const $387($iCaller,6i) {n} 31
clear_global_var_bit_const $387($iCaller,6i) {n} 23
clear_global_var_bit_const $387($iCaller,6i) {n} 24
clear_global_var_bit_const $387($iCaller,6i) {n} 25
clear_global_var_bit_const $387($iCaller,6i) {n} 26
clear_global_var_bit_const $387($iCaller,6i) {n} 27
clear_global_var_bit_const $387($iCaller,6i) {n} 28
clear_global_var_bit_const $387($iCaller,6i) {n} 29
return 

:GFAGNT_9631
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_9695
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @GFAGNT_9688
3@ = 1
goto @GFAGNT_9695

:GFAGNT_9688
3@ = 0

:GFAGNT_9695
return 

:GFAGNT_9697
Stat.ShowUpdateStats(False)
switch_start $iCaller {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_9848 {caseNum1} 0 {caseLabel1} @GFAGNT_9764 {caseNum2} 1 {caseLabel2} @GFAGNT_9778 {caseNum3} 2 {caseLabel3} @GFAGNT_9792 {caseNum4} 3 {caseLabel4} @GFAGNT_9806 {caseNum5} 4 {caseLabel5} @GFAGNT_9820 {caseNum6} 5 {caseLabel6} @GFAGNT_9834 {caseNum7} -1 {caseLabel7} @GFAGNT_9848

:GFAGNT_9764
Stat.SetInt(StatId.GirlfriendDenise, 0)
goto @GFAGNT_9848

:GFAGNT_9778
Stat.SetInt(StatId.GirlfriendMichelle, 0)
goto @GFAGNT_9848

:GFAGNT_9792
Stat.SetInt(StatId.GirlfriendHelena, 0)
goto @GFAGNT_9848

:GFAGNT_9806
Stat.SetInt(StatId.GirlfriendBarbara, 0)
goto @GFAGNT_9848

:GFAGNT_9820
Stat.SetInt(StatId.GirlfriendKatie, 0)
goto @GFAGNT_9848

:GFAGNT_9834
Stat.SetInt(StatId.GirlfriendMillie, 0)
goto @GFAGNT_9848

:GFAGNT_9848
Stat.ShowUpdateStats(True)
return 

:GFAGNT_9854
switch_start $iCaller {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFAGNT_11183 {caseNum1} 0 {caseLabel1} @GFAGNT_9917 {caseNum2} 1 {caseLabel2} @GFAGNT_10128 {caseNum3} 2 {caseLabel3} @GFAGNT_10339 {caseNum4} 3 {caseLabel4} @GFAGNT_10550 {caseNum5} 4 {caseLabel5} @GFAGNT_10761 {caseNum6} 5 {caseLabel6} @GFAGNT_10972 {caseNum7} -1 {caseLabel7} @GFAGNT_11183

:GFAGNT_9917
9@ = Stat.GetInt(StatId.GirlfriendDenise)
if 
  is_int_var_greater_than_int_lvar $363[0] > 9@
goto_if_false @GFAGNT_10029
if 
  $363[0] > 100
goto_if_false @GFAGNT_9969
$363[0] = 100

:GFAGNT_9969
if 
  0 > $363[0]
goto_if_false @GFAGNT_10001
Stat.SetInt(StatId.GirlfriendDenise, 0)
goto @GFAGNT_10022

:GFAGNT_10001
sub_int_var_from_int_lvar 9@ -= $363[0]
abs_lvar_int 9@
Stat.IncrementInt(StatId.GirlfriendDenise, 9@)

:GFAGNT_10022
goto @GFAGNT_10121

:GFAGNT_10029
if 
  is_int_lvar_greater_than_int_var 9@ > $363[0]
goto_if_false @GFAGNT_10121
if 
  $363[0] > 100
goto_if_false @GFAGNT_10073
$363[0] = 100

:GFAGNT_10073
if 
  0 > $363[0]
goto_if_false @GFAGNT_10105
Stat.SetInt(StatId.GirlfriendDenise, 0)
goto @GFAGNT_10121

:GFAGNT_10105
sub_int_var_from_int_lvar 9@ -= $363[0]
Stat.DecrementInt(StatId.GirlfriendDenise, 9@)

:GFAGNT_10121
goto @GFAGNT_11183

:GFAGNT_10128
9@ = Stat.GetInt(StatId.GirlfriendMichelle)
if 
  is_int_var_greater_than_int_lvar $363[1] > 9@
goto_if_false @GFAGNT_10240
if 
  $363[1] > 100
goto_if_false @GFAGNT_10180
$363[1] = 100

:GFAGNT_10180
if 
  0 > $363[1]
goto_if_false @GFAGNT_10212
Stat.SetInt(StatId.GirlfriendMichelle, 0)
goto @GFAGNT_10233

:GFAGNT_10212
sub_int_var_from_int_lvar 9@ -= $363[1]
abs_lvar_int 9@
Stat.IncrementInt(StatId.GirlfriendMichelle, 9@)

:GFAGNT_10233
goto @GFAGNT_10332

:GFAGNT_10240
if 
  is_int_lvar_greater_than_int_var 9@ > $363[1]
goto_if_false @GFAGNT_10332
if 
  $363[1] > 100
goto_if_false @GFAGNT_10284
$363[1] = 100

:GFAGNT_10284
if 
  0 > $363[1]
goto_if_false @GFAGNT_10316
Stat.SetInt(StatId.GirlfriendMichelle, 0)
goto @GFAGNT_10332

:GFAGNT_10316
sub_int_var_from_int_lvar 9@ -= $363[1]
Stat.DecrementInt(StatId.GirlfriendMichelle, 9@)

:GFAGNT_10332
goto @GFAGNT_11183

:GFAGNT_10339
9@ = Stat.GetInt(StatId.GirlfriendHelena)
if 
  is_int_var_greater_than_int_lvar $363[2] > 9@
goto_if_false @GFAGNT_10451
if 
  $363[2] > 100
goto_if_false @GFAGNT_10391
$363[2] = 100

:GFAGNT_10391
if 
  0 > $363[2]
goto_if_false @GFAGNT_10423
Stat.SetInt(StatId.GirlfriendHelena, 0)
goto @GFAGNT_10444

:GFAGNT_10423
sub_int_var_from_int_lvar 9@ -= $363[2]
abs_lvar_int 9@
Stat.IncrementInt(StatId.GirlfriendHelena, 9@)

:GFAGNT_10444
goto @GFAGNT_10543

:GFAGNT_10451
if 
  is_int_lvar_greater_than_int_var 9@ > $363[2]
goto_if_false @GFAGNT_10543
if 
  $363[2] > 100
goto_if_false @GFAGNT_10495
$363[2] = 100

:GFAGNT_10495
if 
  0 > $363[2]
goto_if_false @GFAGNT_10527
Stat.SetInt(StatId.GirlfriendHelena, 0)
goto @GFAGNT_10543

:GFAGNT_10527
sub_int_var_from_int_lvar 9@ -= $363[2]
Stat.DecrementInt(StatId.GirlfriendHelena, 9@)

:GFAGNT_10543
goto @GFAGNT_11183

:GFAGNT_10550
9@ = Stat.GetInt(StatId.GirlfriendBarbara)
if 
  is_int_var_greater_than_int_lvar $363[3] > 9@
goto_if_false @GFAGNT_10662
if 
  $363[3] > 100
goto_if_false @GFAGNT_10602
$363[3] = 100

:GFAGNT_10602
if 
  0 > $363[3]
goto_if_false @GFAGNT_10634
Stat.SetInt(StatId.GirlfriendBarbara, 0)
goto @GFAGNT_10655

:GFAGNT_10634
sub_int_var_from_int_lvar 9@ -= $363[3]
abs_lvar_int 9@
Stat.IncrementInt(StatId.GirlfriendBarbara, 9@)

:GFAGNT_10655
goto @GFAGNT_10754

:GFAGNT_10662
if 
  is_int_lvar_greater_than_int_var 9@ > $363[3]
goto_if_false @GFAGNT_10754
if 
  $363[3] > 100
goto_if_false @GFAGNT_10706
$363[3] = 100

:GFAGNT_10706
if 
  0 > $363[3]
goto_if_false @GFAGNT_10738
Stat.SetInt(StatId.GirlfriendBarbara, 0)
goto @GFAGNT_10754

:GFAGNT_10738
sub_int_var_from_int_lvar 9@ -= $363[3]
Stat.DecrementInt(StatId.GirlfriendBarbara, 9@)

:GFAGNT_10754
goto @GFAGNT_11183

:GFAGNT_10761
9@ = Stat.GetInt(StatId.GirlfriendKatie)
if 
  is_int_var_greater_than_int_lvar $363[4] > 9@
goto_if_false @GFAGNT_10873
if 
  $363[4] > 100
goto_if_false @GFAGNT_10813
$363[4] = 100

:GFAGNT_10813
if 
  0 > $363[4]
goto_if_false @GFAGNT_10845
Stat.SetInt(StatId.GirlfriendKatie, 0)
goto @GFAGNT_10866

:GFAGNT_10845
sub_int_var_from_int_lvar 9@ -= $363[4]
abs_lvar_int 9@
Stat.IncrementInt(StatId.GirlfriendKatie, 9@)

:GFAGNT_10866
goto @GFAGNT_10965

:GFAGNT_10873
if 
  is_int_lvar_greater_than_int_var 9@ > $363[4]
goto_if_false @GFAGNT_10965
if 
  $363[4] > 100
goto_if_false @GFAGNT_10917
$363[4] = 100

:GFAGNT_10917
if 
  0 > $363[4]
goto_if_false @GFAGNT_10949
Stat.SetInt(StatId.GirlfriendKatie, 0)
goto @GFAGNT_10965

:GFAGNT_10949
sub_int_var_from_int_lvar 9@ -= $363[4]
Stat.DecrementInt(StatId.GirlfriendKatie, 9@)

:GFAGNT_10965
goto @GFAGNT_11183

:GFAGNT_10972
9@ = Stat.GetInt(StatId.GirlfriendMillie)
if 
  is_int_var_greater_than_int_lvar $363[5] > 9@
goto_if_false @GFAGNT_11084
if 
  $363[5] > 100
goto_if_false @GFAGNT_11024
$363[5] = 100

:GFAGNT_11024
if 
  0 > $363[5]
goto_if_false @GFAGNT_11056
Stat.SetInt(StatId.GirlfriendMillie, 0)
goto @GFAGNT_11077

:GFAGNT_11056
sub_int_var_from_int_lvar 9@ -= $363[5]
abs_lvar_int 9@
Stat.IncrementInt(StatId.GirlfriendMillie, 9@)

:GFAGNT_11077
goto @GFAGNT_11176

:GFAGNT_11084
if 
  is_int_lvar_greater_than_int_var 9@ > $363[5]
goto_if_false @GFAGNT_11176
if 
  $363[5] > 100
goto_if_false @GFAGNT_11128
$363[5] = 100

:GFAGNT_11128
if 
  0 > $363[5]
goto_if_false @GFAGNT_11160
Stat.SetInt(StatId.GirlfriendMillie, 0)
goto @GFAGNT_11176

:GFAGNT_11160
sub_int_var_from_int_lvar 9@ -= $363[5]
Stat.DecrementInt(StatId.GirlfriendMillie, 9@)

:GFAGNT_11176
goto @GFAGNT_11183

:GFAGNT_11183
return 

:GFAGNT_11185
if 
  0@ == 1
goto_if_false @GFAGNT_11236
if 
  is_global_var_bit_set_var $spray_help {var_n} $iCaller
goto_if_false @GFAGNT_11236
GFAGNT_9180()
GFAGNT_8694()

:GFAGNT_11236
0@ = 0
4@ = -1
3@ = 0

:GFAGNT_11257
if 
  is_global_var_bit_set_lvar $395 {var_n} 3@
goto_if_false @GFAGNT_11284
clear_global_var_bit_lvar $395 {var_n} 3@

:GFAGNT_11284
3@ += 1
  3@ >= 6
goto_if_false @GFAGNT_11257
Stat.ShowUpdateStats(True)
$GF_right_stick_y = 500
return 
get_latest_console_command v$GF_txtConsoleCheck
if 
  not is_var_text_label16_empty v$GF_txtConsoleCheck
goto_if_false @GFAGNT_13496
set_var_text_label16 v$iGF_GlobalDM_Tough = "DOCOOCHIE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_11386
set_global_var_bit_const $spray_help {n} 0
reset_latest_console_command 
return 

:GFAGNT_11386
set_var_text_label16 v$iGF_GlobalDM_Tough = "DOMICHELLE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_11433
set_global_var_bit_const $spray_help {n} 1
reset_latest_console_command 
return 

:GFAGNT_11433
set_var_text_label16 v$iGF_GlobalDM_Tough = "DOKYLIE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_11477
set_global_var_bit_const $spray_help {n} 2
reset_latest_console_command 
return 

:GFAGNT_11477
set_var_text_label16 v$iGF_GlobalDM_Tough = "DOBARBARA"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_11523
set_global_var_bit_const $spray_help {n} 3
reset_latest_console_command 
return 

:GFAGNT_11523
set_var_text_label16 v$iGF_GlobalDM_Tough = "DOSUZIE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_11567
set_global_var_bit_const $spray_help {n} 4
reset_latest_console_command 
return 

:GFAGNT_11567
set_var_text_label16 v$iGF_GlobalDM_Tough = "DOMILLIE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_11612
set_global_var_bit_const $spray_help {n} 5
reset_latest_console_command 
return 

:GFAGNT_11612
set_var_text_label16 v$iGF_GlobalDM_Tough = "FASTDATE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_11712
set_global_var_bit_const $spray_help {n} 31
set_var_int_to_var_int $363[0] = $357[0]
set_var_int_to_var_int $363[1] = $357[1]
set_var_int_to_var_int $363[3] = $357[3]
set_var_int_to_var_int $363[2] = $357[2]
set_var_int_to_var_int $363[4] = $357[4]
set_var_int_to_var_int $363[5] = $357[5]
set_global_var_bit_const $iGFBonusPickupID {n} 26
reset_latest_console_command 
return 

:GFAGNT_11712
set_var_text_label16 v$iGF_GlobalDM_Tough = "GOCOOCHIE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_11787
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_11783
Char.SetCoordinates($stattreadstamina_ctr, 2405.212, -1720.688, 12.6365)

:GFAGNT_11783
reset_latest_console_command 
return 

:GFAGNT_11787
set_var_text_label16 v$iGF_GlobalDM_Tough = "GOMICHELLE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_11863
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_11859
Char.SetCoordinates($stattreadstamina_ctr, -1788.0, 1202.0, 30.0)

:GFAGNT_11859
reset_latest_console_command 
return 

:GFAGNT_11863
set_var_text_label16 v$iGF_GlobalDM_Tough = "GOKYLIE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_11936
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_11932
Char.SetCoordinates($stattreadstamina_ctr, -371.4376, -1440.072, 24.7209)

:GFAGNT_11932
reset_latest_console_command 
return 

:GFAGNT_11936
set_var_text_label16 v$iGF_GlobalDM_Tough = "GOBARBARA"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12011
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_12007
Char.SetCoordinates($stattreadstamina_ctr, -1400.0, 2640.0, -100.0)

:GFAGNT_12007
reset_latest_console_command 
return 

:GFAGNT_12011
set_var_text_label16 v$iGF_GlobalDM_Tough = "GOSUZIE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12084
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_12080
Char.SetCoordinates($stattreadstamina_ctr, -2570.511, 1139.582, 54.8547)

:GFAGNT_12080
reset_latest_console_command 
return 

:GFAGNT_12084
set_var_text_label16 v$iGF_GlobalDM_Tough = "GOMILLIE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12158
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_12154
Char.SetCoordinates($stattreadstamina_ctr, 2028.347, 2736.969, 10.8603)

:GFAGNT_12154
reset_latest_console_command 
return 

:GFAGNT_12158
set_var_text_label16 v$iGF_GlobalDM_Tough = "DATEFOOD"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12210
set_global_var_bit_const $spray_help {n} 31
set_global_var_bit_const $iGFBonusPickupID {n} 27
reset_latest_console_command 
return 

:GFAGNT_12210
set_var_text_label16 v$iGF_GlobalDM_Tough = "DATEDRIVE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12305
set_global_var_bit_const $spray_help {n} 31
$363[0] = 50
$363[1] = 50
$363[3] = 50
$363[2] = 50
$363[4] = 50
$363[5] = 50
set_global_var_bit_const $iGFBonusPickupID {n} 28
reset_latest_console_command 
return 

:GFAGNT_12305
set_var_text_label16 v$iGF_GlobalDM_Tough = "DATEDANCE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12400
set_global_var_bit_const $spray_help {n} 31
$363[0] = 50
$363[1] = 50
$363[3] = 50
$363[2] = 50
$363[4] = 50
$363[5] = 50
set_global_var_bit_const $iGFBonusPickupID {n} 29
reset_latest_console_command 
return 

:GFAGNT_12400
set_var_text_label16 v$iGF_GlobalDM_Tough = "DATESPANK"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12453
set_global_var_bit_const $spray_help {n} 31
set_global_var_bit_const $iGFBonusPickupID {n} 30
reset_latest_console_command 
return 

:GFAGNT_12453
set_var_text_label16 v$iGF_GlobalDM_Tough = "DATESHEDRIVES"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12517
set_global_var_bit_const $spray_help {n} 31
$363[1] = 50
set_global_var_bit_const $iGFBonusPickupID {n} 31
reset_latest_console_command 
return 

:GFAGNT_12517
set_var_text_label16 v$iGF_GlobalDM_Tough = "MEETMICHELLE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12605
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_12601
Char.SetCoordinates($stattreadstamina_ctr, -2026.92, -99.9395, 34.1641)
Char.SetHeading($stattreadstamina_ctr, 180.0)

:GFAGNT_12601
reset_latest_console_command 
return 

:GFAGNT_12605
set_var_text_label16 v$iGF_GlobalDM_Tough = "MEETKYLIE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12697
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_12693
$sweetX = 2
Char.SetCoordinates($stattreadstamina_ctr, 243.9633, -161.2493, 0.5781)
Char.SetHeading($stattreadstamina_ctr, 291.5735)

:GFAGNT_12693
reset_latest_console_command 
return 

:GFAGNT_12697
set_var_text_label16 v$iGF_GlobalDM_Tough = "MEETBARBARA"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12784
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_12780
Char.SetCoordinates($stattreadstamina_ctr, -1411.294, 2637.609, 54.6875)
Char.SetHeading($stattreadstamina_ctr, 348.9253)

:GFAGNT_12780
reset_latest_console_command 
return 

:GFAGNT_12784
set_var_text_label16 v$iGF_GlobalDM_Tough = "MEETSUZIE"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12869
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_12865
Char.SetCoordinates($stattreadstamina_ctr, -2266.253, -155.7216, 34.3125)
Char.SetHeading($stattreadstamina_ctr, 85.0)

:GFAGNT_12865
reset_latest_console_command 
return 

:GFAGNT_12869
set_var_text_label16 v$iGF_GlobalDM_Tough = "GIMPSUIT"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_12953
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFAGNT_12949
Player.GiveClothesOutsideShop($statbike_temp, "GIMPLEG", "GIMPLEG", BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)

:GFAGNT_12949
reset_latest_console_command 
return 

:GFAGNT_12953
set_var_text_label16 v$iGF_GlobalDM_Tough = "TWOTIMING"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_13006
set_global_var_bit_const $spray_help {n} 31
set_global_var_bit_const $iGFBonusPickupID {n} 25
reset_latest_console_command 
return 

:GFAGNT_13006
set_var_text_label16 v$iGF_GlobalDM_Tough = "ELEGANTMAN"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_13088
$369[0] = 0
$369[1] = 0
$369[3] = 0
$369[2] = 0
$369[4] = 0
$369[5] = 0
reset_latest_console_command 
return 

:GFAGNT_13088
set_var_text_label16 v$iGF_GlobalDM_Tough = "SHOWENTRY"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_13192
World.SwitchEntryExit('FDREST1', True)
World.SwitchEntryExit('REST2', True)
World.SwitchEntryExit('DINER1', True)
World.SwitchEntryExit('DINER2', True)
World.SwitchEntryExit('TSDINER', True)
reset_latest_console_command 
return 

:GFAGNT_13192
set_var_text_label16 v$iGF_GlobalDM_Tough = "HIDEENTRY"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_13283
World.SwitchEntryExit('FDREST1', False)
World.SwitchEntryExit('REST2', False)
World.SwitchEntryExit('DINER1', False)
World.SwitchEntryExit('DINER2', False)
reset_latest_console_command 
return 

:GFAGNT_13283
set_var_text_label16 v$iGF_GlobalDM_Tough = "UNCENSORED"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_13330
$1223 = 0
reset_latest_console_command 
return 

:GFAGNT_13330
set_var_text_label16 v$iGF_GlobalDM_Tough = "STATSUP"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_13385
$363($iCaller,6i) += 10
GFAGNT_9854()
reset_latest_console_command 
return 

:GFAGNT_13385
set_var_text_label16 v$iGF_GlobalDM_Tough = "STATSDOWN"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_13442
$363($iCaller,6i) -= 10
GFAGNT_9854()
reset_latest_console_command 
return 

:GFAGNT_13442
set_var_text_label16 v$iGF_GlobalDM_Tough = "DUMPME"
if 
  is_var_text_label16_equal_to_text_label v$iGF_GlobalDM_Tough == v$GF_txtConsoleCheck
goto_if_false @GFAGNT_13496
$363($iCaller,6i) = -15
GFAGNT_9854()
reset_latest_console_command 
return 

:GFAGNT_13496
return 
write_debug "I__________________________I"
write_debug "H"
write_debug "G"
write_debug "F"
write_debug "E"
write_debug "D"
write_debug s$mod_garage1
write_debug_with_int "IGFIDX" {_p2} $iCaller
switch_start 0@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @GFAGNT_13731 {caseNum1} 0 {caseLabel1} @GFAGNT_13636 {caseNum2} 1 {caseLabel2} @GFAGNT_13655 {caseNum3} 2 {caseLabel3} @GFAGNT_13674 {caseNum4} 3 {caseLabel4} @GFAGNT_13693 {caseNum5} 4 {caseLabel5} @GFAGNT_13712 {caseNum6} -1 {caseLabel6} @GFAGNT_13760 {caseNum7} -1 {caseLabel7} @GFAGNT_13760

:GFAGNT_13636
write_debug "STATE0__"
goto @GFAGNT_13760

:GFAGNT_13655
write_debug "STATE1__"
goto @GFAGNT_13760

:GFAGNT_13674
write_debug "STATE2__"
goto @GFAGNT_13760

:GFAGNT_13693
write_debug "STATE3__"
goto @GFAGNT_13760

:GFAGNT_13712
write_debug "STATE4__"
goto @GFAGNT_13760

:GFAGNT_13731
write_debug "UNTRAPPED_STATE___"
goto @GFAGNT_13760

:GFAGNT_13760
write_debug "I__________________________I"
return 

:Noname_7
start_new_script @INTMAN 
terminate_this_script 

:INTMAN
script_name 'INTMAN'
$iCheckForWeapons = -1
if 
  $iCheckForWeapons == 9999
goto_if_false @INTMAN_57
$iCheckForWeapons = DecisionMakerChar.Copy(65543)
$iCreateDecisionMakers = DecisionMakerChar.Copy(65543)

:INTMAN_57
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @INTMAN_80
INTMAN_91()

:INTMAN_80
wait 0
goto @INTMAN_57

:INTMAN_91
switch_start 0@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @INTMAN_182 {caseNum1} 0 {caseLabel1} @INTMAN_154 {caseNum2} 1 {caseLabel2} @INTMAN_168 {caseNum3} -1 {caseLabel3} @INTMAN_182 {caseNum4} -1 {caseLabel4} @INTMAN_182 {caseNum5} -1 {caseLabel5} @INTMAN_182 {caseNum6} -1 {caseLabel6} @INTMAN_182 {caseNum7} -1 {caseLabel7} @INTMAN_182

:INTMAN_154
INTMAN_184()
goto @INTMAN_182

:INTMAN_168
INTMAN_2976()
goto @INTMAN_182

:INTMAN_182
return 

:INTMAN_184
$1254 = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  $1254 <> 0
goto_if_false @INTMAN_2974
v$iGlobalPedPanicDM = Char.GetNameOfEntryExitUsed($stattreadstamina_ctr)
if 
  not is_var_text_label16_empty v$iGlobalPedPanicDM
goto_if_false @INTMAN_2974
set_var_int_to_var_int $1255 = $1254
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @INTMAN_266
$1263 = Player.StoreWantedLevel($statbike_temp)

:INTMAN_266
s$territory_pickup = Shopping.GetLoaded()
$1265 = 0
$1253 = 0
2@ = 0
if 
  $weapon_shop1_blip == 0
goto_if_false @INTMAN_359
$iLapDancesWatched = 0
$iPrintStripperHelp = 0
$iThrowMoneyState = 0
$tray_offX = 0
$2885 = 0
$iStripperPed = 0
$d_lstickx = 0

:INTMAN_359
if and
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "CHANGER"
  $1254 == 14
goto_if_false @INTMAN_451
1@ = StreamedScript.GetNumberOfInstances(63)
if 
  1@ == 0
goto_if_false @INTMAN_451
StreamedScript.Stream(63)
Streaming.LoadAllModelsNow
if 
  StreamedScript.HasLoaded(63)
goto_if_false @INTMAN_451
StreamedScript.StartNew(63)
0@ += 1
return 

:INTMAN_451
if or
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "TRICAS"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "MAFCAS"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "CASINO2"
goto_if_false @INTMAN_818
1@ = StreamedScript.GetNumberOfInstances(38)
if 
  1@ == 0
goto_if_false @INTMAN_531
StreamedScript.Stream(38)

:INTMAN_531
1@ = StreamedScript.GetNumberOfInstances(39)
if 
  1@ == 0
goto_if_false @INTMAN_560
StreamedScript.Stream(39)

:INTMAN_560
1@ = StreamedScript.GetNumberOfInstances(37)
if 
  1@ == 0
goto_if_false @INTMAN_589
StreamedScript.Stream(37)

:INTMAN_589
1@ = StreamedScript.GetNumberOfInstances(27)
if 
  1@ == 0
goto_if_false @INTMAN_618
StreamedScript.Stream(27)

:INTMAN_618
Streaming.RequestAnimation("BAR")
Streaming.RequestAnimation("CASINO")
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "MAFCAS"
goto_if_false @INTMAN_676
Streaming.RequestModel(124)
Streaming.RequestModel(126)
Streaming.RequestModel(125)
Streaming.RequestModel(214)

:INTMAN_676
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "TRICAS"
goto_if_false @INTMAN_715
Streaming.RequestModel(163)
Streaming.RequestModel(164)
Streaming.RequestModel(263)

:INTMAN_715
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "CASINO2"
goto_if_false @INTMAN_755
Streaming.RequestModel(163)
Streaming.RequestModel(164)
Streaming.RequestModel(172)

:INTMAN_755
Streaming.LoadAllModelsNow
if 
  StreamedScript.HasLoaded(27)
goto_if_false @INTMAN_777
StreamedScript.StartNew(27)

:INTMAN_777
if and
  StreamedScript.HasLoaded(38)
  StreamedScript.HasLoaded(39)
  StreamedScript.HasLoaded(37)
  StreamedScript.HasLoaded(27)
goto_if_false @INTMAN_818
$1265 = 1
0@ += 1

:INTMAN_818
if or
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "BAR1"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "BAR2"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "UFOBAR"
goto_if_false @INTMAN_1088
1@ = StreamedScript.GetNumberOfInstances(38)
if 
  1@ == 0
goto_if_false @INTMAN_893
StreamedScript.Stream(38)

:INTMAN_893
1@ = StreamedScript.GetNumberOfInstances(37)
if 
  1@ == 0
goto_if_false @INTMAN_922
StreamedScript.Stream(37)

:INTMAN_922
1@ = StreamedScript.GetNumberOfInstances(28)
if 
  1@ == 0
goto_if_false @INTMAN_951
StreamedScript.Stream(28)

:INTMAN_951
1@ = StreamedScript.GetNumberOfInstances(35)
if 
  1@ == 0
goto_if_false @INTMAN_980
StreamedScript.Stream(35)

:INTMAN_980
Streaming.RequestAnimation("BAR")
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "BAR1"
goto_if_false @INTMAN_1020
Streaming.RequestAnimation("DANCING")

:INTMAN_1020
Streaming.RequestModel(172)
Streaming.LoadAllModelsNow
if 
  StreamedScript.HasLoaded(28)
goto_if_false @INTMAN_1047
StreamedScript.StartNew(28)

:INTMAN_1047
if and
  StreamedScript.HasLoaded(38)
  StreamedScript.HasLoaded(37)
  StreamedScript.HasLoaded(28)
  StreamedScript.HasLoaded(35)
goto_if_false @INTMAN_1088
$1265 = 1
0@ += 1

:INTMAN_1088
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "GENOTB"
goto_if_false @INTMAN_1286
1@ = StreamedScript.GetNumberOfInstances(40)
if 
  1@ == 0
goto_if_false @INTMAN_1141
StreamedScript.Stream(40)

:INTMAN_1141
1@ = StreamedScript.GetNumberOfInstances(37)
if 
  1@ == 0
goto_if_false @INTMAN_1170
StreamedScript.Stream(37)

:INTMAN_1170
1@ = StreamedScript.GetNumberOfInstances(30)
if 
  1@ == 0
goto_if_false @INTMAN_1199
StreamedScript.Stream(30)

:INTMAN_1199
Streaming.RequestAnimation("OTB")
Streaming.RequestAnimation("INT_SHOP")
Streaming.RequestModel(11)
Streaming.RequestModel(172)
Streaming.LoadAllModelsNow
if 
  StreamedScript.HasLoaded(30)
goto_if_false @INTMAN_1249
StreamedScript.StartNew(30)

:INTMAN_1249
if and
  StreamedScript.HasLoaded(40)
  StreamedScript.HasLoaded(37)
  StreamedScript.HasLoaded(30)
goto_if_false @INTMAN_1286
$1265 = 1
0@ += 1

:INTMAN_1286
if or
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "LASTRIP"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "STRIP2"
goto_if_false @INTMAN_1534
1@ = StreamedScript.GetNumberOfInstances(38)
if 
  1@ == 0
goto_if_false @INTMAN_1353
StreamedScript.Stream(38)

:INTMAN_1353
1@ = StreamedScript.GetNumberOfInstances(39)
if 
  1@ == 0
goto_if_false @INTMAN_1382
StreamedScript.Stream(39)

:INTMAN_1382
1@ = StreamedScript.GetNumberOfInstances(37)
if 
  1@ == 0
goto_if_false @INTMAN_1411
StreamedScript.Stream(37)

:INTMAN_1411
1@ = StreamedScript.GetNumberOfInstances(31)
if 
  1@ == 0
goto_if_false @INTMAN_1440
StreamedScript.Stream(31)

:INTMAN_1440
Streaming.RequestAnimation("BAR")
Streaming.RequestAnimation("STRIP")
Streaming.RequestModel(163)
Streaming.RequestModel(164)
Streaming.RequestModel(172)
Streaming.LoadAllModelsNow
if 
  StreamedScript.HasLoaded(31)
goto_if_false @INTMAN_1493
StreamedScript.StartNew(31)

:INTMAN_1493
if and
  StreamedScript.HasLoaded(38)
  StreamedScript.HasLoaded(39)
  StreamedScript.HasLoaded(37)
  StreamedScript.HasLoaded(31)
goto_if_false @INTMAN_1534
$1265 = 1
0@ += 1

:INTMAN_1534
if 
  $flag_remove_menu_drawn_wardrobe == 0
goto_if_false @INTMAN_1724
if or
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "CSCHP"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "CSSPRT"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "LACS1"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "CLOTHGP"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "CSDESGN"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "CSEXL"
goto_if_false @INTMAN_1724
1@ = StreamedScript.GetNumberOfInstances(64)
if 
  1@ == 0
goto_if_false @INTMAN_1669
StreamedScript.Stream(64)

:INTMAN_1669
Streaming.RequestAnimation("INT_SHOP")
Streaming.LoadAllModelsNow
if 
  StreamedScript.HasLoaded(64)
goto_if_false @INTMAN_1724
$SLOT_play_status = 0
StreamedScript.StartNew(64)
$1265 = 1
0@ += 1

:INTMAN_1724
if or
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "FDPIZA"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "FDCHICK"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "FDBURG"
goto_if_false @INTMAN_2221
1@ = StreamedScript.GetNumberOfInstances(65)
if 
  1@ == 0
goto_if_false @INTMAN_1804
StreamedScript.Stream(65)

:INTMAN_1804
1@ = StreamedScript.GetNumberOfInstances(29)
if 
  1@ == 0
goto_if_false @INTMAN_1833
StreamedScript.Stream(29)

:INTMAN_1833
1@ = StreamedScript.GetNumberOfInstances(36)
if 
  1@ == 0
goto_if_false @INTMAN_1862
StreamedScript.Stream(36)

:INTMAN_1862
1@ = StreamedScript.GetNumberOfInstances(37)
if 
  1@ == 0
goto_if_false @INTMAN_1891
StreamedScript.Stream(37)

:INTMAN_1891
Streaming.RequestAnimation("FOOD")
Streaming.RequestAnimation("INT_SHOP")
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "FDPIZA"
goto_if_false @INTMAN_1952
Streaming.RequestModel(155)
Streaming.RequestModel(#PIZZAHIGH)
Streaming.RequestModel(#CJ_PIZZA_1)
Streaming.RequestModel(#CJ_PIZZA_2)

:INTMAN_1952
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "FDCHICK"
goto_if_false @INTMAN_1994
Streaming.RequestModel(167)
Streaming.RequestModel(#BURGERHIGH)
Streaming.RequestModel(#CJ_BURG_1)
Streaming.RequestModel(#CJ_BURG_2)

:INTMAN_1994
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "FDBURG"
goto_if_false @INTMAN_2035
Streaming.RequestModel(205)
Streaming.RequestModel(#BURGERHIGH)
Streaming.RequestModel(#CJ_BURG_1)
Streaming.RequestModel(#CJ_BURG_2)

:INTMAN_2035
Streaming.LoadAllModelsNow
if 
  StreamedScript.HasLoaded(65)
goto_if_false @INTMAN_2057
StreamedScript.StartNew(65)

:INTMAN_2057
if 
  StreamedScript.HasLoaded(29)
goto_if_false @INTMAN_2180
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "FDPIZA"
goto_if_false @INTMAN_2110
StreamedScript.StartNew(29, 0)
goto @INTMAN_2180

:INTMAN_2110
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "FDCHICK"
goto_if_false @INTMAN_2149
StreamedScript.StartNew(29, 1)
goto @INTMAN_2180

:INTMAN_2149
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "FDBURG"
goto_if_false @INTMAN_2180
StreamedScript.StartNew(29, 2)

:INTMAN_2180
if and
  StreamedScript.HasLoaded(65)
  StreamedScript.HasLoaded(29)
  StreamedScript.HasLoaded(36)
  StreamedScript.HasLoaded(37)
goto_if_false @INTMAN_2221
$1265 = 1
0@ += 1

:INTMAN_2221
if or
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "BARBERS"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "BARBER2"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "BARBER3"
goto_if_false @INTMAN_2339
1@ = StreamedScript.GetNumberOfInstances(62)
if 
  1@ == 0
goto_if_false @INTMAN_2339
StreamedScript.Stream(62)
Streaming.LoadAllModelsNow
if 
  StreamedScript.HasLoaded(62)
goto_if_false @INTMAN_2339
StreamedScript.StartNew(62)
$1265 = 1
0@ += 1

:INTMAN_2339
if or
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "TATTOO"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "TATTO2"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "TATTO3"
goto_if_false @INTMAN_2454
1@ = StreamedScript.GetNumberOfInstances(61)
if 
  1@ == 0
goto_if_false @INTMAN_2454
StreamedScript.Stream(61)
Streaming.LoadAllModelsNow
if 
  StreamedScript.HasLoaded(61)
goto_if_false @INTMAN_2454
StreamedScript.StartNew(61)
$1265 = 1
0@ += 1

:INTMAN_2454
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "RCPLAY"
goto_if_false @INTMAN_2596
1@ = StreamedScript.GetNumberOfInstances(34)
if 
  1@ == 0
goto_if_false @INTMAN_2507
StreamedScript.Stream(34)

:INTMAN_2507
1@ = StreamedScript.GetNumberOfInstances(37)
if 
  1@ == 0
goto_if_false @INTMAN_2536
StreamedScript.Stream(37)

:INTMAN_2536
Streaming.RequestModel(217)
Streaming.LoadAllModelsNow
if 
  StreamedScript.HasLoaded(34)
goto_if_false @INTMAN_2563
StreamedScript.StartNew(34)

:INTMAN_2563
if and
  StreamedScript.HasLoaded(34)
  StreamedScript.HasLoaded(37)
goto_if_false @INTMAN_2596
$1265 = 1
0@ += 1

:INTMAN_2596
if or
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "POLICE1"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "POLICE2"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "POLICE3"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "POLICE4"
goto_if_false @INTMAN_2728
$SLOT_priority = 1
$1265 = 1
Streaming.RequestAnimation("COP_AMBIENT")
Streaming.RequestAnimation("INT_OFFICE")
Streaming.RequestAnimation("GANGS")
Streaming.RequestModel(#CIGAR)
Streaming.LoadAllModelsNow
0@ += 1

:INTMAN_2728
if or
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "AMMUN1"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "AMMUN2"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "AMMUN3"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "AMMUN4"
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "AMMUN5"
goto_if_false @INTMAN_2869
1@ = StreamedScript.GetNumberOfInstances(60)
if 
  1@ == 0
goto_if_false @INTMAN_2869
StreamedScript.Stream(60)
Streaming.LoadAllModelsNow
if 
  StreamedScript.HasLoaded(60)
goto_if_false @INTMAN_2869
StreamedScript.StartNew(60)
$1265 = 1
0@ += 1

:INTMAN_2869
if 
  $1265 == 1
goto_if_false @INTMAN_2974
if 
  not DecisionMaker.DoesExist($iCheckForWeapons)
goto_if_false @INTMAN_2927
$iCheckForWeapons = DecisionMakerChar.Copy(65543)
DecisionMakerChar.ClearEventResponse($iCheckForWeapons, 27)
DecisionMakerChar.ClearEventResponse($iCheckForWeapons, 48)

:INTMAN_2927
if 
  not DecisionMaker.DoesExist($iCreateDecisionMakers)
goto_if_false @INTMAN_2974
$iCreateDecisionMakers = DecisionMakerChar.Copy(65543)
DecisionMakerChar.ClearEventResponse($iCreateDecisionMakers, 27)
DecisionMakerChar.ClearEventResponse($iCreateDecisionMakers, 48)
DecisionMakerChar.ClearEventResponse($iCreateDecisionMakers, 9)

:INTMAN_2974
return 

:INTMAN_2976
$1254 = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  not is_int_var_equal_to_int_var $1254 == $1255
goto_if_false @INTMAN_3052
INTMAN_3136()
$1253 = 0
2@ = 0
$SLOT_priority = 0
s$territory_pickup = Shopping.GetLoaded()
0@ -= 1
return 
goto @INTMAN_3134

:INTMAN_3052
if 
  $SLOT_priority == 1
goto_if_false @INTMAN_3095
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.AnyMelee)
goto_if_false @INTMAN_3095
Player.AlterWantedLevelNoDrop($statbike_temp, 2)

:INTMAN_3095
if and
  $1253 == 1
  2@ == 0
goto_if_false @INTMAN_3134
INTMAN_3136()
2@ = 1

:INTMAN_3134
return 

:INTMAN_3136
Streaming.RemoveAnimation("BAR")
Streaming.RemoveAnimation("CASINO")
Streaming.RemoveAnimation("DANCING")
Streaming.RemoveAnimation("OTB")
Streaming.RemoveAnimation("INT_SHOP")
Streaming.RemoveAnimation("STRIP")
Streaming.RemoveAnimation("FOOD")
Streaming.RemoveAnimation("COP_AMBIENT")
Streaming.RemoveAnimation("INT_OFFICE")
Streaming.RemoveAnimation("GANGS")
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(214)
Streaming.MarkModelAsNoLongerNeeded(263)
Streaming.MarkModelAsNoLongerNeeded(163)
Streaming.MarkModelAsNoLongerNeeded(164)
Streaming.MarkModelAsNoLongerNeeded(172)
Streaming.MarkModelAsNoLongerNeeded(11)
Streaming.MarkModelAsNoLongerNeeded(155)
Streaming.MarkModelAsNoLongerNeeded(#PIZZAHIGH)
Streaming.MarkModelAsNoLongerNeeded(#CJ_PIZZA_1)
Streaming.MarkModelAsNoLongerNeeded(#CJ_PIZZA_2)
Streaming.MarkModelAsNoLongerNeeded(167)
Streaming.MarkModelAsNoLongerNeeded(#BURGERHIGH)
Streaming.MarkModelAsNoLongerNeeded(#CJ_BURG_1)
Streaming.MarkModelAsNoLongerNeeded(#CJ_BURG_2)
Streaming.MarkModelAsNoLongerNeeded(205)
Streaming.MarkModelAsNoLongerNeeded(217)
StreamedScript.MarkAsNoLongerNeeded(63)
StreamedScript.MarkAsNoLongerNeeded(64)
StreamedScript.MarkAsNoLongerNeeded(65)
StreamedScript.MarkAsNoLongerNeeded(62)
StreamedScript.MarkAsNoLongerNeeded(61)
StreamedScript.MarkAsNoLongerNeeded(60)
StreamedScript.MarkAsNoLongerNeeded(27)
StreamedScript.MarkAsNoLongerNeeded(28)
StreamedScript.MarkAsNoLongerNeeded(30)
StreamedScript.MarkAsNoLongerNeeded(31)
StreamedScript.MarkAsNoLongerNeeded(29)
StreamedScript.MarkAsNoLongerNeeded(34)
StreamedScript.MarkAsNoLongerNeeded(35)
StreamedScript.MarkAsNoLongerNeeded(36)
StreamedScript.MarkAsNoLongerNeeded(37)
StreamedScript.MarkAsNoLongerNeeded(38)
StreamedScript.MarkAsNoLongerNeeded(39)
StreamedScript.MarkAsNoLongerNeeded(40)
DecisionMaker.Remove($iCheckForWeapons)
DecisionMaker.Remove($iCreateDecisionMakers)
$iCheckForWeapons = -1
$iCreateDecisionMakers = -1
return 

:Noname_8
terminate_this_script 

:A_CONT
script_name 'A_CONT'
$current_slot[0] = 1
$current_slot[1] = 2
$cash[0] = -3
$cash[1] = -3
$SLOT_X[0] = 0
$SLOT_X[1] = 0
$SLOT_ped[0] = 0
$SLOT_ped[0] = 0
$flag_takeoff_hj = 0
$height_int_hj = 1
set_var_int_to_var_int $SLOT_Y[0] = $stattreadstamina_ctr
set_var_int_to_var_int $SLOT_Y[1] = $stattreadstamina_ctr

:A_CONT_97
wait 0
0@ = 0
1@ = 1
if or
  $cash[0] >= -2
  $cash[1] >= -2
goto_if_false @A_CONT_1046

:A_CONT_140
if 
  2 > 0@
goto_if_false @A_CONT_1039
switch_start $cash(0@,2i) {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @A_CONT_1018 {caseNum1} -2 {caseLabel1} @A_CONT_893 {caseNum2} -1 {caseLabel2} @A_CONT_225 {caseNum3} 0 {caseLabel3} @A_CONT_254 {caseNum4} 1 {caseLabel4} @A_CONT_621 {caseNum5} 2 {caseLabel5} @A_CONT_775 {caseNum6} -1 {caseLabel6} @A_CONT_1018 {caseNum7} -1 {caseLabel7} @A_CONT_1018

:A_CONT_225
$SLOT_X(0@,2i) = 0
$cash(0@,2i) = -3
goto @A_CONT_1018

:A_CONT_254
if 
  not Audio.HasMissionAudioLoaded($current_slot(0@,2i))
goto_if_false @A_CONT_281
goto @A_CONT_1018

:A_CONT_281
if 
  is_int_lvar_equal_to_int_var 0@ == $height_int_hj
goto_if_false @A_CONT_486
if 
  is_int_var_greater_than_int_var $SLOT_X(0@,2i) > $SLOT_X(1@,2i)
goto_if_false @A_CONT_468
set_var_int_to_lvar_int $flag_takeoff_hj = 0@
set_var_int_to_lvar_int $height_int_hj = 1@
Audio.ClearMissionAudio($current_slot($height_int_hj,2i))
Text.ClearThisPrint($load_text($height_int_hj,2s))
if 
  $SLOT_ped($height_int_hj,2i) <> 0
goto_if_false @A_CONT_450
if 
  not Char.IsDead($SLOT_Y($height_int_hj,2i))
goto_if_false @A_CONT_450
Char.StopFacialTalk($SLOT_Y($height_int_hj,2i))
if 
  not is_int_var_equal_to_int_var $SLOT_Y($height_int_hj,2i) == $SLOT_Y($flag_takeoff_hj,2i)
goto_if_false @A_CONT_450
Char.ShutUpForScriptedSpeech($SLOT_Y($height_int_hj,2i), False)

:A_CONT_450
$cash($height_int_hj,2i) = -1
goto @A_CONT_486

:A_CONT_468
$cash(0@,2i) = 1
goto @A_CONT_1018

:A_CONT_486
if 
  $SLOT_ped(0@,2i) <> 0
goto_if_false @A_CONT_580
if 
  not Char.IsDead($SLOT_Y(0@,2i))
goto_if_false @A_CONT_580
Char.StartFacialTalk($SLOT_Y(0@,2i), 999999)
if 
  $SLOT_ped(0@,2i) == 1
goto_if_false @A_CONT_580
Audio.AttachMissionAudioToChar($current_slot(0@,2i), $SLOT_Y(0@,2i))

:A_CONT_580
Audio.PlayMissionAudio($current_slot(0@,2i))
Text.PrintNow($load_text(0@,2s), 10000, 1)
$cash(0@,2i) = 2
goto @A_CONT_1018

:A_CONT_621
if 
  is_int_var_equal_to_int_lvar $flag_takeoff_hj == 0@
goto_if_false @A_CONT_768
if 
  $SLOT_ped(0@,2i) <> 0
goto_if_false @A_CONT_734
if 
  not Char.IsDead($SLOT_Y(0@,2i))
goto_if_false @A_CONT_734
Char.StartFacialTalk($SLOT_Y(0@,2i), 999999)
if 
  $SLOT_ped(0@,2i) == 1
goto_if_false @A_CONT_734
Audio.AttachMissionAudioToChar($current_slot(0@,2i), $SLOT_Y(0@,2i))

:A_CONT_734
Audio.PlayMissionAudio($current_slot(0@,2i))
Text.PrintNow($load_text(0@,2s), 10000, 1)
$cash(0@,2i) = 2

:A_CONT_768
goto @A_CONT_1018

:A_CONT_775
if 
  Audio.HasMissionAudioFinished($current_slot(0@,2i))
goto_if_false @A_CONT_837
if 
  is_int_var_equal_to_int_lvar $flag_takeoff_hj == 0@
goto_if_false @A_CONT_830
set_var_int_to_lvar_int $height_int_hj = 0@
set_var_int_to_lvar_int $flag_takeoff_hj = 1@

:A_CONT_830
goto @A_CONT_893

:A_CONT_837
if 
  $SLOT_ped(0@,2i) <> 0
goto_if_false @A_CONT_886
if 
  not Char.IsDead($SLOT_Y(0@,2i))
goto_if_false @A_CONT_886
goto @A_CONT_1018

:A_CONT_886
goto @A_CONT_1018

:A_CONT_893
Audio.ClearMissionAudio($current_slot(0@,2i))
Text.ClearThisPrint($load_text(0@,2s))
if 
  $SLOT_ped(0@,2i) <> 0
goto_if_false @A_CONT_1000
if 
  not Char.IsDead($SLOT_Y(0@,2i))
goto_if_false @A_CONT_1000
Char.StopFacialTalk($SLOT_Y(0@,2i))
if 
  not is_int_var_equal_to_int_var $SLOT_Y(0@,2i) == $SLOT_Y(1@,2i)
goto_if_false @A_CONT_1000
Char.ShutUpForScriptedSpeech($SLOT_Y(0@,2i), False)

:A_CONT_1000
$cash(0@,2i) = -1
goto @A_CONT_1018

:A_CONT_1018
0@ += 1
1@ -= 1
goto @A_CONT_140

:A_CONT_1039
goto @A_CONT_1060

:A_CONT_1046
$cash[0] = -4
$cash[1] = -4

:A_CONT_1060
goto @A_CONT_97

:A_ALAP
script_name 'A_ALAP'
if 
  is_int_lvar_greater_or_equal_to_int_var 1@ >= $SLOT_X($height_int_hj,2i)
goto_if_false @A_ALAP_317
set_var_int_to_var_int $1278($height_int_hj,2i) = $1280
set_var_text_label $load_text($height_int_hj,2s) = s$SLOT_status
Audio.ClearMissionAudio($current_slot($height_int_hj,2i))
Audio.LoadMissionAudio($current_slot($height_int_hj,2i), $1278($height_int_hj,2i))
if 
  $SLOT_ped($height_int_hj,2i) <> 0
goto_if_false @A_ALAP_159
if 
  not Char.IsDead($SLOT_Y($height_int_hj,2i))
goto_if_false @A_ALAP_159
if 
  not is_int_var_equal_to_int_lvar $SLOT_Y($height_int_hj,2i) == 2@
goto_if_false @A_ALAP_159
Char.ShutUpForScriptedSpeech($SLOT_Y($height_int_hj,2i), False)

:A_ALAP_159
$cash($height_int_hj,2i) = 0
set_var_int_to_lvar_int $SLOT_ped($height_int_hj,2i) = 0@
if 
  $SLOT_ped($height_int_hj,2i) <> 0
goto_if_false @A_ALAP_293
if 
  $SLOT_ped($height_int_hj,2i) == 0
goto_if_false @A_ALAP_250
2@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)

:A_ALAP_250
set_var_int_to_lvar_int $SLOT_Y($height_int_hj,2i) = 2@
if 
  not Char.IsDead($SLOT_Y($height_int_hj,2i))
goto_if_false @A_ALAP_293
Char.ShutUpForScriptedSpeech($SLOT_Y($height_int_hj,2i), True)

:A_ALAP_293
set_var_int_to_lvar_int $SLOT_ped($height_int_hj,2i) = 0@
set_var_int_to_lvar_int $SLOT_X($height_int_hj,2i) = 1@

:A_ALAP_317
terminate_this_script 

:A_TERM
script_name 'A_TERM'
terminate_all_scripts_with_this_name 'A_CONT'
terminate_all_scripts_with_this_name 'A_ALAP'
terminate_this_script 

:HJ
set_deatharrest_state 0
script_name 'HJ'

:HJ_15
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @HJ_42
goto @HJ_15

:HJ_42
if 
  Game.AreAnyCarCheatsActivated
goto_if_false @HJ_62
goto @HJ_15

:HJ_62
if 
  Char.IsInAnyTrain($stattreadstamina_ctr)
goto_if_false @HJ_85
goto @HJ_15

:HJ_85
if 
  Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @HJ_108
goto @HJ_15

:HJ_108
if 
  Char.IsInAnyBoat($stattreadstamina_ctr)
goto_if_false @HJ_131
goto @HJ_15

:HJ_131
if 
  Char.IsInModel($stattreadstamina_ctr, 539)
goto_if_false @HJ_157
goto @HJ_15

:HJ_157
if 
  not Player.IsControlOn($statbike_temp)
goto_if_false @HJ_180
goto @HJ_15

:HJ_180
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HJ_1668
$stunt_flags_hj = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
$CarTwoWheelsDistance, $BikeWheelieDistanceMeterInt, $BikeWheelieDistance, $BikeStoppieDistanceMeterInt, $BikeStoppieDistance, $temp_float_hj = Player.GetWheelieStats($statbike_temp)
if 
  $BikeWheelieDistanceMeterInt > 0.0
goto_if_false @HJ_426
$CarTwoWheelsDistance /= 1000
cset_var_int_to_var_float $CarTwoWheelsDistanceMeter =# $BikeWheelieDistanceMeterInt
cset_var_float_to_var_int $BikeWheelieDistanceDecimalInt =# $CarTwoWheelsDistanceMeter
set_var_float_to_var_float $1345 = $BikeWheelieDistanceMeterInt
sub_float_var_from_float_var $1345 -= $BikeWheelieDistanceDecimalInt
$1345 *= 100.0
cset_var_int_to_var_float $CarTwoWheelsDistanceFeet =# $1345
set_var_int_to_var_int $flag_wheels_hj = $CarTwoWheelsDistance
add_int_var_to_int_var $flag_wheels_hj += $CarTwoWheelsDistanceMeter
$flag_wheels_hj /= 2
Player.AddScore($statbike_temp, $flag_wheels_hj)
if 
  Game.AreMeasurementsInMeters
goto_if_false @HJ_385
Text.PrintWith4Numbers('WHEEL01', $flag_wheels_hj, $CarTwoWheelsDistanceMeter, $CarTwoWheelsDistanceFeet, $CarTwoWheelsDistance, 3000, TextStyle.Middle)
goto @HJ_426

:HJ_385
convert_metres_to_feet $BikeWheelieDistanceMeterInt {var_feet} $BikeWheelieDistanceFeetInt
cset_var_int_to_var_float $BikeWheelieTime =# $BikeWheelieDistanceFeetInt
Text.PrintWith3Numbers('WHEEL02', $flag_wheels_hj, $BikeWheelieTime, $CarTwoWheelsDistance, 3000, TextStyle.Middle)

:HJ_426
if 
  $BikeStoppieDistanceMeterInt > 0.0
goto_if_false @HJ_631
$BikeWheelieDistance /= 1000
cset_var_int_to_var_float $BikeWheelieDistanceMeter =# $BikeStoppieDistanceMeterInt
cset_var_float_to_var_int $BikeStoppieDistanceDecimalInt =# $BikeWheelieDistanceMeter
set_var_float_to_var_float $1345 = $BikeStoppieDistanceMeterInt
sub_float_var_from_float_var $1345 -= $BikeStoppieDistanceDecimalInt
$1345 *= 100.0
cset_var_int_to_var_float $BikeWheelieDistanceFeet =# $1345
set_var_int_to_var_int $flag_wheels_hj = $BikeWheelieDistanceMeter
$flag_wheels_hj *= 2
$flag_wheels_hj /= 5
$flag_wheels_hj /= 2
Player.AddScore($statbike_temp, $flag_wheels_hj)
if 
  Game.AreMeasurementsInMeters
goto_if_false @HJ_590
Text.PrintWith4Numbers('WHEEL06', $flag_wheels_hj, $BikeWheelieDistanceMeter, $BikeWheelieDistanceFeet, $BikeWheelieDistance, 3000, TextStyle.Middle)
goto @HJ_631

:HJ_590
convert_metres_to_feet $BikeStoppieDistanceMeterInt {var_feet} $BikeStoppieDistanceFeetInt
cset_var_int_to_var_float $BikeStoppieTime =# $BikeStoppieDistanceFeetInt
Text.PrintWith3Numbers('WHEEL07', $flag_wheels_hj, $BikeStoppieTime, $BikeWheelieDistance, 3000, TextStyle.Middle)

:HJ_631
if 
  $temp_float_hj > 0.0
goto_if_false @HJ_822
$BikeStoppieDistance /= 1000
cset_var_int_to_var_float $BikeStoppieDistanceMeter =# $temp_float_hj
cset_var_float_to_var_int $flag_mob_la1 =# $BikeStoppieDistanceMeter
set_var_float_to_var_float $1345 = $temp_float_hj
sub_float_var_from_float_var $1345 -= $flag_mob_la1
$1345 *= 100.0
cset_var_int_to_var_float $BikeStoppieDistanceFeet =# $1345
set_var_int_to_var_int $flag_wheels_hj = $BikeStoppieDistanceMeter
$flag_wheels_hj /= 2
Player.AddScore($statbike_temp, $flag_wheels_hj)
if 
  Game.AreMeasurementsInMeters
goto_if_false @HJ_781
Text.PrintWith4Numbers('WHEEL11', $flag_wheels_hj, $BikeStoppieDistanceMeter, $BikeStoppieDistanceFeet, $BikeStoppieDistance, 3000, TextStyle.Middle)
goto @HJ_822

:HJ_781
convert_metres_to_feet $temp_float_hj {var_feet} $1343
cset_var_int_to_var_float $passenger_said_jump =# $1343
Text.PrintWith3Numbers('WHEEL12', $flag_wheels_hj, $passenger_said_jump, $BikeStoppieDistance, 3000, TextStyle.Middle)

:HJ_822
if 
  Car.IsInAirProper($stunt_flags_hj)
goto_if_false @HJ_1654
$height_float_hj = 0
$total_rotation = 0.0
$height_decimals_int_hj = 0
$total_rotation_int = 0
$jumpdistance_int_hj = 0
$distance_decimals_int_hj = 0
$flag_car_upsidedown_hj = 0
$counter_stunt_rolls_hj = 0
$takeoff_x_float_hj = -100.0
$takeoff_y_float_hj = 0.0
$takeoff_z_float_hj = 0.0
$jumpend_x_float_hj = 0.0
$jumpend_y_float_hj = 0.0
$jumpdistance_float_hj = 0.0
$heading_hj = 0.0
$old_heading_hj = 0.0
$heading_difference = 0.0
$heading_difference_temp = 0.0
$cash_reward_temp = 0
$cash_reward = 0
$collision_counter = 0
$1345 = 0.0
$CarTwoWheelsDistanceMeterInt = 0.0
$CarTwoWheelsDistanceFeetInt = 0.0
$CarTwoWheelsDistanceDecimalInt = 0.0
$CarTwoWheelsTime = 0.0
$x_float_hj = 0
$1344 = 0

:HJ_1082
if or
  Car.IsInAirProper($stunt_flags_hj)
  10 > $x_float_hj
goto_if_false @HJ_1647
$x_float_hj += 1
$takeoff_y_float_hj, $takeoff_z_float_hj, $jumpend_x_float_hj = Car.GetCoordinates($stunt_flags_hj)
set_var_float_to_var_float $CarTwoWheelsTime = $total_rotation
if 
  $flag_car_upsidedown_hj == 0
goto_if_false @HJ_1191
$CarTwoWheelsTime = Car.GetHeading($stunt_flags_hj)
set_var_float_to_var_float $jumpend_y_float_hj = $takeoff_y_float_hj
set_var_float_to_var_float $jumpdistance_float_hj = $takeoff_z_float_hj
set_var_float_to_var_float $heading_hj = $jumpend_x_float_hj
$flag_car_upsidedown_hj = 1

:HJ_1191
wait 0
if 
  Car.IsDead($stunt_flags_hj)
goto_if_false @HJ_1218
goto @HJ_15

:HJ_1218
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @HJ_1241
goto @HJ_15

:HJ_1241
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HJ_1264
goto @HJ_15

:HJ_1264
if and
  not Car.IsUpright($stunt_flags_hj)
  $jumpdistance_int_hj == 0
goto_if_false @HJ_1294
$jumpdistance_int_hj = 1

:HJ_1294
if and
  Car.IsUpright($stunt_flags_hj)
  $jumpdistance_int_hj == 1
goto_if_false @HJ_1331
$total_rotation_int += 1
$jumpdistance_int_hj = 0

:HJ_1331
$total_rotation = Car.GetHeading($stunt_flags_hj)
set_var_float_to_var_float $CarTwoWheelsDistanceMeterInt = $total_rotation
sub_float_var_from_float_var $CarTwoWheelsDistanceMeterInt -= $CarTwoWheelsTime
if 
  $CarTwoWheelsDistanceMeterInt > 180.0
goto_if_false @HJ_1409
set_var_float_to_var_float $CarTwoWheelsDistanceDecimalInt = $CarTwoWheelsDistanceMeterInt
$CarTwoWheelsDistanceMeterInt = 360.0
sub_float_var_from_float_var $CarTwoWheelsDistanceMeterInt -= $CarTwoWheelsDistanceDecimalInt
goto @HJ_1456

:HJ_1409
if 
  -180.0 > $CarTwoWheelsDistanceMeterInt
goto_if_false @HJ_1456
set_var_float_to_var_float $CarTwoWheelsDistanceDecimalInt = $CarTwoWheelsDistanceMeterInt
$CarTwoWheelsDistanceMeterInt = 360.0
add_float_var_to_float_var $CarTwoWheelsDistanceMeterInt += $CarTwoWheelsDistanceDecimalInt

:HJ_1456
if 
  0.0 > $CarTwoWheelsDistanceMeterInt
goto_if_false @HJ_1503
set_var_float_to_var_float $CarTwoWheelsDistanceDecimalInt = $CarTwoWheelsDistanceMeterInt
$CarTwoWheelsDistanceMeterInt = 0.0
sub_float_var_from_float_var $CarTwoWheelsDistanceMeterInt -= $CarTwoWheelsDistanceDecimalInt

:HJ_1503
add_float_var_to_float_var $CarTwoWheelsDistanceFeetInt += $CarTwoWheelsDistanceMeterInt
cset_var_int_to_var_float $height_float_hj =# $CarTwoWheelsDistanceFeetInt
if 
  is_float_var_greater_than_float_var $jumpend_x_float_hj > $takeoff_x_float_hj
goto_if_false @HJ_1546
set_var_float_to_var_float $takeoff_x_float_hj = $jumpend_x_float_hj

:HJ_1546
$jumpend_x_float_hj = 0.0
if 
  $1344 == 0
goto_if_false @HJ_1640
$old_heading_hj, $heading_difference, $1345 = Car.GetCoordinates($stunt_flags_hj)
$1345 = Math.GetDistanceBetweenCoords2D($jumpend_y_float_hj, $jumpdistance_float_hj, $old_heading_hj, $heading_difference)
if 
  $1345 > 20.0
goto_if_false @HJ_1640
Car.RandomPassengerSay($stunt_flags_hj, 37)
$1344 = 1

:HJ_1640
goto @HJ_1082

:HJ_1647
goto @HJ_1661

:HJ_1654
goto @HJ_15

:HJ_1661
goto @HJ_1675

:HJ_1668
goto @HJ_15

:HJ_1675
if 
  $flag_car_upsidedown_hj == 1
goto_if_false @HJ_1864
$old_heading_hj, $heading_difference, $1345 = Car.GetCoordinates($stunt_flags_hj)
$heading_difference_temp = Math.GetDistanceBetweenCoords2D($jumpend_y_float_hj, $jumpdistance_float_hj, $old_heading_hj, $heading_difference)
Stat.RegisterFloat(StatId.MaxJumpDistance, $heading_difference_temp)
cset_var_int_to_var_float $cash_reward_temp =# $heading_difference_temp
sub_float_var_from_float_var $takeoff_x_float_hj -= $heading_hj
Stat.RegisterFloat(StatId.MaxJumpHeight, $takeoff_x_float_hj)
cset_var_int_to_var_float $counter_stunt_rolls_hj =# $takeoff_x_float_hj
cset_var_float_to_var_int $1345 =# $cash_reward_temp
sub_float_var_from_float_var $heading_difference_temp -= $1345
set_var_float_to_var_float $1345 = $heading_difference_temp
$1345 *= 100.0
cset_var_int_to_var_float $cash_reward =# $1345
cset_var_float_to_var_int $1345 =# $counter_stunt_rolls_hj
sub_float_var_from_float_var $takeoff_x_float_hj -= $1345
set_var_float_to_var_float $1345 = $takeoff_x_float_hj
$1345 *= 100.0
cset_var_int_to_var_float $collision_counter =# $1345
Stat.RegisterInt(StatId.MaxJumpFlips, $total_rotation_int)
Stat.RegisterInt(StatId.MaxJumpSpins, $height_float_hj)

:HJ_1864
if 
  $takeoff_x_float_hj > 4.0
goto_if_false @HJ_1892
$distance_decimals_int_hj += 1

:HJ_1892
if 
  $cash_reward_temp > 40
goto_if_false @HJ_1917
$distance_decimals_int_hj += 1

:HJ_1917
if 
  $total_rotation_int > 1
goto_if_false @HJ_1942
$distance_decimals_int_hj += 1

:HJ_1942
if 
  $height_float_hj > 360
goto_if_false @HJ_1968
$distance_decimals_int_hj += 1

:HJ_1968
if 
  $distance_decimals_int_hj > 0
goto_if_false @HJ_2385
set_var_int_to_var_int $y_float_hj = $total_rotation_int
$y_float_hj *= 180
add_int_var_to_int_var $y_float_hj += $height_float_hj
set_var_int_to_var_int $z_float_hj = $cash_reward_temp
$z_float_hj *= 6
add_int_var_to_int_var $y_float_hj += $z_float_hj
set_var_int_to_var_int $z_float_hj = $counter_stunt_rolls_hj
$z_float_hj *= 45
add_int_var_to_int_var $y_float_hj += $z_float_hj
if 
  $height_decimals_int_hj == 1
goto_if_false @HJ_2081
$y_float_hj *= 2

:HJ_2081
mult_int_var_by_int_var $y_float_hj *= $distance_decimals_int_hj
$y_float_hj /= 3
$y_float_hj /= 5
Player.AddScore($statbike_temp, $y_float_hj)
if 
  $distance_decimals_int_hj == 1
goto_if_false @HJ_2155
Text.PrintWithNumber('HJ_IS', $y_float_hj, 2000, 1)
Stat.RegisterInt(StatId.BestStunt, 1)

:HJ_2155
if 
  $distance_decimals_int_hj == 2
goto_if_false @HJ_2199
Text.PrintWithNumber('HJ_DIS', $y_float_hj, 2000, 1)
Stat.RegisterInt(StatId.BestStunt, 3)

:HJ_2199
if 
  $distance_decimals_int_hj == 3
goto_if_false @HJ_2243
Text.PrintWithNumber('HJ_TIS', $y_float_hj, 2000, 1)
Stat.RegisterInt(StatId.BestStunt, 5)

:HJ_2243
if 
  $distance_decimals_int_hj == 4
goto_if_false @HJ_2287
Text.PrintWithNumber('HJ_QIS', $y_float_hj, 2000, 1)
Stat.RegisterInt(StatId.BestStunt, 7)

:HJ_2287
if 
  Game.AreMeasurementsInMeters
goto_if_false @HJ_2341
Text.PrintWith6Numbers('HJSTAT', $cash_reward_temp, $cash_reward, $counter_stunt_rolls_hj, $collision_counter, $total_rotation_int, $height_float_hj, 5000, TextStyle.MiddleSmallerHigher)
goto @HJ_2385

:HJ_2341
$cash_reward_temp = Math.ConvertMetersToFeet($cash_reward_temp)
$counter_stunt_rolls_hj = Math.ConvertMetersToFeet($counter_stunt_rolls_hj)
Text.PrintWith4Numbers('HJSTATF', $cash_reward_temp, $counter_stunt_rolls_hj, $total_rotation_int, $height_float_hj, 5000, TextStyle.MiddleSmallerHigher)

:HJ_2385
goto @HJ_15
terminate_this_script 

:CELLFON
script_name 'CELLFON'
$cell_index_end = 0
$Thekeycard_contact_blip = 0
$call_delay = 0
$players_skipping_the_call = 0
$skip_the_mobile_call = 0
$mobile_audio_labels = 20000
set_deatharrest_state 0
terminate_this_script 

:CELLFON_60
if 
  70 > $flag_new_cont
goto_if_false @CELLFON_13265
switch_start $flag_new_cont {numCases} 67 {hasDefaultCase} 0 {defaultLabel} @CELLFON_13258 {caseNum1} 0 {caseLabel1} @CELLFON_2776 {caseNum2} 1 {caseLabel2} @CELLFON_2966 {caseNum3} 2 {caseLabel3} @CELLFON_3024 {caseNum4} 3 {caseLabel4} @CELLFON_3170 {caseNum5} 4 {caseLabel5} @CELLFON_3316 {caseNum6} 5 {caseLabel6} @CELLFON_3550 {caseNum7} 6 {caseLabel7} @CELLFON_3718
switch_continued 7 {caseLabel1} @CELLFON_3886 {caseNum2} 8 {caseLabel2} @CELLFON_4208 {caseNum3} 9 {caseLabel3} @CELLFON_5466 {caseNum4} 10 {caseLabel4} @CELLFON_4574 {caseNum5} 11 {caseLabel5} @CELLFON_4896 {caseNum6} 12 {caseLabel6} @CELLFON_5108 {caseNum7} 13 {caseLabel7} @CELLFON_5320 {caseNum8} 14 {caseLabel8} @CELLFON_5766 {caseNum9} 15 {caseLabel9} @CELLFON_6044
switch_continued 16 {caseLabel1} @CELLFON_6388 {caseNum2} 17 {caseLabel2} @CELLFON_6534 {caseNum3} 18 {caseLabel3} @CELLFON_596 {caseNum4} 19 {caseLabel4} @CELLFON_874 {caseNum5} 20 {caseLabel5} @CELLFON_1108 {caseNum6} 21 {caseLabel6} @CELLFON_1408 {caseNum7} 22 {caseLabel7} @CELLFON_1642 {caseNum8} 23 {caseLabel8} @CELLFON_1942 {caseNum9} 24 {caseLabel9} @CELLFON_2110
switch_continued 25 {caseLabel1} @CELLFON_2322 {caseNum2} 29 {caseLabel2} @CELLFON_11074 {caseNum3} 30 {caseLabel3} @CELLFON_11242 {caseNum4} 31 {caseLabel4} @CELLFON_11476 {caseNum5} 32 {caseLabel5} @CELLFON_11820 {caseNum6} 33 {caseLabel6} @CELLFON_12076 {caseNum7} 34 {caseLabel7} @CELLFON_6658 {caseNum8} 35 {caseLabel8} @CELLFON_6870 {caseNum9} 36 {caseLabel9} @CELLFON_7126
switch_continued 37 {caseLabel1} @CELLFON_7338 {caseNum2} 38 {caseLabel2} @CELLFON_7440 {caseNum3} 39 {caseLabel3} @CELLFON_7630 {caseNum4} 40 {caseLabel4} @CELLFON_7974 {caseNum5} 41 {caseLabel5} @CELLFON_8274 {caseNum6} 42 {caseLabel6} @CELLFON_8530 {caseNum7} 43 {caseLabel7} @CELLFON_8654 {caseNum8} 44 {caseLabel8} @CELLFON_8712 {caseNum9} 45 {caseLabel9} @CELLFON_8924
switch_continued 46 {caseLabel1} @CELLFON_9202 {caseNum2} 47 {caseLabel2} @CELLFON_9524 {caseNum3} 48 {caseLabel3} @CELLFON_9670 {caseNum4} 49 {caseLabel4} @CELLFON_9816 {caseNum5} 50 {caseLabel5} @CELLFON_9984 {caseNum6} 51 {caseLabel6} @CELLFON_10306 {caseNum7} 52 {caseLabel7} @CELLFON_10606 {caseNum8} 53 {caseLabel8} @CELLFON_10840 {caseNum9} 54 {caseLabel9} @CELLFON_12266
switch_continued 55 {caseLabel1} @CELLFON_12328 {caseNum2} 56 {caseLabel2} @CELLFON_12390 {caseNum3} 57 {caseLabel3} @CELLFON_12452 {caseNum4} 58 {caseLabel4} @CELLFON_12514 {caseNum5} 59 {caseLabel5} @CELLFON_12576 {caseNum6} 60 {caseLabel6} @CELLFON_12638 {caseNum7} 61 {caseLabel7} @CELLFON_12700 {caseNum8} 62 {caseLabel8} @CELLFON_12762 {caseNum9} 63 {caseLabel9} @CELLFON_12824
switch_continued 64 {caseLabel1} @CELLFON_12886 {caseNum2} 65 {caseLabel2} @CELLFON_12948 {caseNum3} 66 {caseLabel3} @CELLFON_13010 {caseNum4} 67 {caseLabel4} @CELLFON_13072 {caseNum5} 68 {caseLabel5} @CELLFON_13134 {caseNum6} 69 {caseLabel6} @CELLFON_13196 {caseNum7} -1 {caseLabel7} @CELLFON_13258 {caseNum8} -1 {caseLabel8} @CELLFON_13258 {caseNum9} -1 {caseLabel9} @CELLFON_13258

:CELLFON_596
set_var_text_label s$1449[0] = 'MSWE14A'
set_var_text_label s$1449[1] = 'MSWE14B'
set_var_text_label s$1449[2] = 'MSWE14C'
set_var_text_label s$1449[3] = 'MSWE14D'
set_var_text_label s$1449[4] = 'MSWE14E'
set_var_text_label s$1449[5] = 'MSWE14F'
set_var_text_label s$1449[6] = 'MSWE14G'
set_var_text_label s$1449[7] = 'MSWE14H'
set_var_text_label s$1449[8] = 'MSWE14J'
set_var_text_label s$1449[9] = 'MSWE14K'
set_var_text_label s$1449[10] = 'MSWE14L'
set_var_text_label s$1449[11] = 'MSWE14N'
set_var_int_to_constant $1428[0] = 29144
set_var_int_to_constant $1428[1] = 29145
set_var_int_to_constant $1428[2] = 29146
set_var_int_to_constant $1428[3] = 29147
set_var_int_to_constant $1428[4] = 29148
set_var_int_to_constant $1428[5] = 29149
set_var_int_to_constant $1428[6] = 29150
set_var_int_to_constant $1428[7] = 29151
set_var_int_to_constant $1428[8] = 29152
set_var_int_to_constant $1428[9] = 29153
set_var_int_to_constant $1428[10] = 29154
set_var_int_to_constant $1428[11] = 29155
$1426 = 11
goto @CELLFON_13258

:CELLFON_874
set_var_text_label s$1449[0] = 'MSWE10A'
set_var_text_label s$1449[1] = 'MSWE10D'
set_var_text_label s$1449[2] = 'MSWE10C'
set_var_text_label s$1449[3] = 'MSWE10E'
set_var_text_label s$1449[4] = 'MSWE10F'
set_var_text_label s$1449[5] = 'MSWE10G'
set_var_text_label s$1449[6] = 'MSWE10H'
set_var_text_label s$1449[7] = 'MSWE10K'
set_var_text_label s$1449[8] = 'MSWE10L'
set_var_text_label s$1449[9] = 'MSWE10N'
set_var_int_to_constant $1428[0] = 29096
set_var_int_to_constant $1428[1] = 29099
set_var_int_to_constant $1428[2] = 29098
set_var_int_to_constant $1428[3] = 29100
set_var_int_to_constant $1428[4] = 29101
set_var_int_to_constant $1428[5] = 29102
set_var_int_to_constant $1428[6] = 29103
set_var_int_to_constant $1428[7] = 29105
set_var_int_to_constant $1428[8] = 29106
set_var_int_to_constant $1428[9] = 29107
$1426 = 9
goto @CELLFON_13258

:CELLFON_1108
set_var_text_label s$1449[0] = 'MSWE06A'
set_var_text_label s$1449[1] = 'MSWE06B'
set_var_text_label s$1449[2] = 'MSWE06C'
set_var_text_label s$1449[3] = 'MSWE06D'
set_var_text_label s$1449[4] = 'MSWE06E'
set_var_text_label s$1449[5] = 'MSWE06F'
set_var_text_label s$1449[6] = 'MSWE06G'
set_var_text_label s$1449[7] = 'MSWE06H'
set_var_text_label s$1449[8] = 'MSWE06J'
set_var_text_label s$1449[9] = 'MSWE06K'
set_var_text_label s$1449[10] = 'MSWE06L'
set_var_text_label s$1449[11] = 'MSWE06N'
set_var_text_label s$1449[12] = 'MSWE06M'
set_var_int_to_constant $1428[0] = 29052
set_var_int_to_constant $1428[1] = 29053
set_var_int_to_constant $1428[2] = 29054
set_var_int_to_constant $1428[3] = 29055
set_var_int_to_constant $1428[4] = 29056
set_var_int_to_constant $1428[5] = 29057
set_var_int_to_constant $1428[6] = 29058
set_var_int_to_constant $1428[7] = 29059
set_var_int_to_constant $1428[8] = 29060
set_var_int_to_constant $1428[9] = 29061
set_var_int_to_constant $1428[10] = 29062
set_var_int_to_constant $1428[11] = 29064
set_var_int_to_constant $1428[12] = 29063
$1426 = 12
goto @CELLFON_13258

:CELLFON_1408
set_var_text_label s$1449[0] = 'MSWE05A'
set_var_text_label s$1449[1] = 'MSWE05B'
set_var_text_label s$1449[2] = 'MSWE05C'
set_var_text_label s$1449[3] = 'MSWE05D'
set_var_text_label s$1449[4] = 'MSWE05E'
set_var_text_label s$1449[5] = 'MSWE05F'
set_var_text_label s$1449[6] = 'MSWE05G'
set_var_text_label s$1449[7] = 'MSWE05H'
set_var_text_label s$1449[8] = 'MSWE05J'
set_var_text_label s$1449[9] = 'MSWE05K'
set_var_int_to_constant $1428[0] = 29042
set_var_int_to_constant $1428[1] = 29043
set_var_int_to_constant $1428[2] = 29044
set_var_int_to_constant $1428[3] = 29045
set_var_int_to_constant $1428[4] = 29046
set_var_int_to_constant $1428[5] = 29047
set_var_int_to_constant $1428[6] = 29048
set_var_int_to_constant $1428[7] = 29049
set_var_int_to_constant $1428[8] = 29050
set_var_int_to_constant $1428[9] = 29051
$1426 = 9
goto @CELLFON_13258

:CELLFON_1642
set_var_text_label s$1449[0] = 'MSWE08A'
set_var_text_label s$1449[1] = 'MSWE08B'
set_var_text_label s$1449[2] = 'MSWE08C'
set_var_text_label s$1449[3] = 'MSWE08D'
set_var_text_label s$1449[4] = 'MSWE08E'
set_var_text_label s$1449[5] = 'MSWE08F'
set_var_text_label s$1449[6] = 'MSWE08G'
set_var_text_label s$1449[7] = 'MSWE08H'
set_var_text_label s$1449[8] = 'MSWE08J'
set_var_text_label s$1449[9] = 'MSWE08K'
set_var_text_label s$1449[10] = 'MSWE08L'
set_var_text_label s$1449[11] = 'MSWE08N'
set_var_text_label s$1449[12] = 'MSWE08M'
set_var_int_to_constant $1428[0] = 29076
set_var_int_to_constant $1428[1] = 29077
set_var_int_to_constant $1428[2] = 29078
set_var_int_to_constant $1428[3] = 29079
set_var_int_to_constant $1428[4] = 29080
set_var_int_to_constant $1428[5] = 29081
set_var_int_to_constant $1428[6] = 29082
set_var_int_to_constant $1428[7] = 29083
set_var_int_to_constant $1428[8] = 29084
set_var_int_to_constant $1428[9] = 29085
set_var_int_to_constant $1428[10] = 29086
set_var_int_to_constant $1428[11] = 29088
set_var_int_to_constant $1428[12] = 29087
$1426 = 12
goto @CELLFON_13258

:CELLFON_1942
set_var_text_label s$1449[0] = 'MSWE09A'
set_var_text_label s$1449[1] = 'MSWE09B'
set_var_text_label s$1449[2] = 'MSWE09C'
set_var_text_label s$1449[3] = 'MSWE09E'
set_var_text_label s$1449[4] = 'MSWE09F'
set_var_text_label s$1449[5] = 'MSWE09G'
set_var_text_label s$1449[6] = 'MSWE09H'
set_var_int_to_constant $1428[0] = 29089
set_var_int_to_constant $1428[1] = 29090
set_var_int_to_constant $1428[2] = 29091
set_var_int_to_constant $1428[3] = 29092
set_var_int_to_constant $1428[4] = 29093
set_var_int_to_constant $1428[5] = 29094
set_var_int_to_constant $1428[6] = 29095
$1426 = 6
goto @CELLFON_13258

:CELLFON_2110
set_var_text_label s$1449[0] = 'MSWE11A'
set_var_text_label s$1449[1] = 'MSWE11B'
set_var_text_label s$1449[2] = 'MSWE11C'
set_var_text_label s$1449[3] = 'MSWE11D'
set_var_text_label s$1449[4] = 'MSWE11E'
set_var_text_label s$1449[5] = 'MSWE11F'
set_var_text_label s$1449[6] = 'MSWE11G'
set_var_text_label s$1449[7] = 'MSWE11H'
set_var_text_label s$1449[8] = 'MSWE11J'
set_var_int_to_constant $1428[0] = 29108
set_var_int_to_constant $1428[1] = 29109
set_var_int_to_constant $1428[2] = 29110
set_var_int_to_constant $1428[3] = 29111
set_var_int_to_constant $1428[4] = 29112
set_var_int_to_constant $1428[5] = 29113
set_var_int_to_constant $1428[6] = 29114
set_var_int_to_constant $1428[7] = 29115
set_var_int_to_constant $1428[8] = 29116
$1426 = 8
goto @CELLFON_13258

:CELLFON_2322
set_var_text_label s$1449[0] = 'MSWE12A'
set_var_text_label s$1449[1] = 'MSWE12B'
set_var_text_label s$1449[2] = 'MSWE12C'
set_var_text_label s$1449[3] = 'MSWE12D'
set_var_text_label s$1449[4] = 'MSWE12E'
set_var_text_label s$1449[5] = 'MSWE12F'
set_var_text_label s$1449[6] = 'MSWE12G'
set_var_text_label s$1449[7] = 'MSWE12H'
set_var_text_label s$1449[8] = 'MSWE12J'
set_var_text_label s$1449[9] = 'MSWE12K'
set_var_text_label s$1449[10] = 'MSWE12L'
set_var_text_label s$1449[11] = 'MSWE12N'
set_var_text_label s$1449[12] = 'MSWE12M'
set_var_text_label s$1449[13] = 'MSWE12O'
set_var_text_label s$1449[14] = 'MSWE12P'
set_var_text_label s$1449[15] = 'MSWE12Q'
set_var_text_label s$1449[16] = 'MSWE12R'
set_var_text_label s$1449[17] = 'MSWE12S'
set_var_text_label s$1449[18] = 'MSWE12T'
set_var_text_label s$1449[19] = 'MSWE12U'
set_var_int_to_constant $1428[0] = 29117
set_var_int_to_constant $1428[1] = 29118
set_var_int_to_constant $1428[2] = 29119
set_var_int_to_constant $1428[3] = 29120
set_var_int_to_constant $1428[4] = 29121
set_var_int_to_constant $1428[5] = 29122
set_var_int_to_constant $1428[6] = 29123
set_var_int_to_constant $1428[7] = 29124
set_var_int_to_constant $1428[8] = 29125
set_var_int_to_constant $1428[9] = 29126
set_var_int_to_constant $1428[10] = 29127
set_var_int_to_constant $1428[11] = 29129
set_var_int_to_constant $1428[12] = 29128
set_var_int_to_constant $1428[13] = 29130
set_var_int_to_constant $1428[14] = 29131
set_var_int_to_constant $1428[15] = 29132
set_var_int_to_constant $1428[16] = 29133
set_var_int_to_constant $1428[17] = 29134
set_var_int_to_constant $1428[18] = 29135
set_var_int_to_constant $1428[19] = 29136
$1426 = 19
goto @CELLFON_13258

:CELLFON_2776
set_var_text_label s$1449[0] = 'MCAT02A'
set_var_text_label s$1449[1] = 'MCAT02B'
set_var_text_label s$1449[2] = 'MCAT02C'
set_var_text_label s$1449[3] = 'MCAT02D'
set_var_text_label s$1449[4] = 'MCAT02E'
set_var_text_label s$1449[5] = 'MCAT02F'
set_var_text_label s$1449[6] = 'MCAT02G'
set_var_text_label s$1449[7] = 'MCAT02H'
set_var_int_to_constant $1428[0] = 25008
set_var_int_to_constant $1428[1] = 25009
set_var_int_to_constant $1428[2] = 25010
set_var_int_to_constant $1428[3] = 25011
set_var_int_to_constant $1428[4] = 25012
set_var_int_to_constant $1428[5] = 25013
set_var_int_to_constant $1428[6] = 25014
set_var_int_to_constant $1428[7] = 25015
$1426 = 7
goto @CELLFON_13258

:CELLFON_2966
set_var_text_label s$1449[0] = 'MCAT03A'
set_var_text_label s$1449[1] = 'MCAT03B'
set_var_int_to_constant $1428[0] = 25016
set_var_int_to_constant $1428[1] = 25017
$1426 = 1
goto @CELLFON_13258

:CELLFON_3024
set_var_text_label s$1449[0] = 'MCAT04A'
set_var_text_label s$1449[1] = 'MCAT04B'
set_var_text_label s$1449[2] = 'MCAT04C'
set_var_text_label s$1449[3] = 'MCAT04D'
set_var_text_label s$1449[4] = 'MCAT04E'
set_var_text_label s$1449[5] = 'MCAT04F'
set_var_int_to_constant $1428[0] = 25018
set_var_int_to_constant $1428[1] = 25019
set_var_int_to_constant $1428[2] = 25020
set_var_int_to_constant $1428[3] = 25021
set_var_int_to_constant $1428[4] = 25022
set_var_int_to_constant $1428[5] = 25023
$1426 = 5
goto @CELLFON_13258

:CELLFON_3170
set_var_text_label s$1449[0] = 'MCAT05B'
set_var_text_label s$1449[1] = 'MCAT05C'
set_var_text_label s$1449[2] = 'MCAT05D'
set_var_text_label s$1449[3] = 'MCAT05E'
set_var_text_label s$1449[4] = 'MCAT05F'
set_var_text_label s$1449[5] = 'MCAT05G'
set_var_int_to_constant $1428[0] = 25025
set_var_int_to_constant $1428[1] = 25026
set_var_int_to_constant $1428[2] = 25027
set_var_int_to_constant $1428[3] = 25028
set_var_int_to_constant $1428[4] = 25029
set_var_int_to_constant $1428[5] = 25030
$1426 = 5
goto @CELLFON_13258

:CELLFON_3316
set_var_text_label s$1449[0] = 'MCAT06A'
set_var_text_label s$1449[1] = 'MCAT06B'
set_var_text_label s$1449[2] = 'MCAT06C'
set_var_text_label s$1449[3] = 'MCAT06D'
set_var_text_label s$1449[4] = 'MCAT06E'
set_var_text_label s$1449[5] = 'MCAT06F'
set_var_text_label s$1449[6] = 'MCAT06G'
set_var_text_label s$1449[7] = 'MCAT06H'
set_var_text_label s$1449[8] = 'MCAT06J'
set_var_text_label s$1449[9] = 'MCAT06K'
set_var_int_to_constant $1428[0] = 25031
set_var_int_to_constant $1428[1] = 25032
set_var_int_to_constant $1428[2] = 25033
set_var_int_to_constant $1428[3] = 25034
set_var_int_to_constant $1428[4] = 25035
set_var_int_to_constant $1428[5] = 25036
set_var_int_to_constant $1428[6] = 25037
set_var_int_to_constant $1428[7] = 25038
set_var_int_to_constant $1428[8] = 25039
set_var_int_to_constant $1428[9] = 25040
$1426 = 9
goto @CELLFON_13258

:CELLFON_3550
set_var_text_label s$1449[0] = 'MCAT07A'
set_var_text_label s$1449[1] = 'MCAT07B'
set_var_text_label s$1449[2] = 'MCAT07C'
set_var_text_label s$1449[3] = 'MCAT07D'
set_var_text_label s$1449[4] = 'MCAT07E'
set_var_text_label s$1449[5] = 'MCAT07F'
set_var_text_label s$1449[6] = 'MCAT07G'
set_var_int_to_constant $1428[0] = 25041
set_var_int_to_constant $1428[1] = 25042
set_var_int_to_constant $1428[2] = 25043
set_var_int_to_constant $1428[3] = 25044
set_var_int_to_constant $1428[4] = 25045
set_var_int_to_constant $1428[5] = 25046
set_var_int_to_constant $1428[6] = 25047
$1426 = 6
goto @CELLFON_13258

:CELLFON_3718
set_var_text_label s$1449[0] = 'MLOC03A'
set_var_text_label s$1449[1] = 'MLOC03B'
set_var_text_label s$1449[2] = 'MLOC03C'
set_var_text_label s$1449[3] = 'MLOC03D'
set_var_text_label s$1449[4] = 'MLOC03E'
set_var_text_label s$1449[5] = 'MLOC03F'
set_var_text_label s$1449[6] = 'MLOC03H'
set_var_int_to_constant $1428[0] = 27412
set_var_int_to_constant $1428[1] = 27413
set_var_int_to_constant $1428[2] = 27414
set_var_int_to_constant $1428[3] = 27415
set_var_int_to_constant $1428[4] = 27416
set_var_int_to_constant $1428[5] = 27417
set_var_int_to_constant $1428[6] = 27418
$1426 = 6
goto @CELLFON_13258

:CELLFON_3886
set_var_text_label s$1449[0] = 'MCES01A'
set_var_text_label s$1449[1] = 'MCES01B'
set_var_text_label s$1449[2] = 'MCES01C'
set_var_text_label s$1449[3] = 'MCES01D'
set_var_text_label s$1449[4] = 'MCES01E'
set_var_text_label s$1449[5] = 'MCES01F'
set_var_text_label s$1449[6] = 'MCES01G'
set_var_text_label s$1449[7] = 'MCES01H'
set_var_text_label s$1449[8] = 'MCES01K'
set_var_text_label s$1449[9] = 'MCES01L'
set_var_text_label s$1449[10] = 'MCES01M'
set_var_text_label s$1449[11] = 'MCES01N'
set_var_text_label s$1449[12] = 'MCES01O'
set_var_text_label s$1449[13] = 'MCES01P'
set_var_int_to_constant $1428[0] = 25200
set_var_int_to_constant $1428[1] = 25201
set_var_int_to_constant $1428[2] = 25202
set_var_int_to_constant $1428[3] = 25203
set_var_int_to_constant $1428[4] = 25204
set_var_int_to_constant $1428[5] = 25205
set_var_int_to_constant $1428[6] = 25206
set_var_int_to_constant $1428[7] = 25207
set_var_int_to_constant $1428[8] = 25208
set_var_int_to_constant $1428[9] = 25209
set_var_int_to_constant $1428[10] = 25210
set_var_int_to_constant $1428[11] = 25211
set_var_int_to_constant $1428[12] = 25212
set_var_int_to_constant $1428[13] = 25213
$1426 = 13
goto @CELLFON_13258

:CELLFON_4208
set_var_text_label s$1449[0] = 'MCES04A'
set_var_text_label s$1449[1] = 'MCES04B'
set_var_text_label s$1449[2] = 'MCES04C'
set_var_text_label s$1449[3] = 'MCES04D'
set_var_text_label s$1449[4] = 'MCES04E'
set_var_text_label s$1449[5] = 'MCES04F'
set_var_text_label s$1449[6] = 'MCES04G'
set_var_text_label s$1449[7] = 'MCES04H'
set_var_text_label s$1449[8] = 'MCES04J'
set_var_text_label s$1449[9] = 'MCES04L'
set_var_text_label s$1449[10] = 'MCES04M'
set_var_text_label s$1449[11] = 'MCES04N'
set_var_text_label s$1449[12] = 'MCES04O'
set_var_text_label s$1449[13] = 'MCES04P'
set_var_text_label s$1449[14] = 'MCES04Q'
set_var_text_label s$1449[15] = 'MCES04R'
set_var_int_to_constant $1428[0] = 25240
set_var_int_to_constant $1428[1] = 25241
set_var_int_to_constant $1428[2] = 25242
set_var_int_to_constant $1428[3] = 25243
set_var_int_to_constant $1428[4] = 25244
set_var_int_to_constant $1428[5] = 25245
set_var_int_to_constant $1428[6] = 25246
set_var_int_to_constant $1428[7] = 25247
set_var_int_to_constant $1428[8] = 25248
set_var_int_to_constant $1428[9] = 25249
set_var_int_to_constant $1428[10] = 25250
set_var_int_to_constant $1428[11] = 25251
set_var_int_to_constant $1428[12] = 25252
set_var_int_to_constant $1428[13] = 25253
set_var_int_to_constant $1428[14] = 25254
set_var_int_to_constant $1428[15] = 25255
$1426 = 15
goto @CELLFON_13258

:CELLFON_4574
set_var_text_label s$1449[0] = 'MCES09A'
set_var_text_label s$1449[1] = 'MCES09B'
set_var_text_label s$1449[2] = 'MCES09C'
set_var_text_label s$1449[3] = 'MCES09D'
set_var_text_label s$1449[4] = 'MCES09E'
set_var_text_label s$1449[5] = 'MCES09F'
set_var_text_label s$1449[6] = 'MCES09G'
set_var_text_label s$1449[7] = 'MCES09H'
set_var_text_label s$1449[8] = 'MCES09K'
set_var_text_label s$1449[9] = 'MCES09L'
set_var_text_label s$1449[10] = 'MCES09M'
set_var_text_label s$1449[11] = 'MCES09N'
set_var_text_label s$1449[12] = 'MCES09O'
set_var_text_label s$1449[13] = 'MCES09P'
set_var_int_to_constant $1428[0] = 25290
set_var_int_to_constant $1428[1] = 25291
set_var_int_to_constant $1428[2] = 25292
set_var_int_to_constant $1428[3] = 25293
set_var_int_to_constant $1428[4] = 25294
set_var_int_to_constant $1428[5] = 25295
set_var_int_to_constant $1428[6] = 25296
set_var_int_to_constant $1428[7] = 25297
set_var_int_to_constant $1428[8] = 25298
set_var_int_to_constant $1428[9] = 25299
set_var_int_to_constant $1428[10] = 25300
set_var_int_to_constant $1428[11] = 25301
set_var_int_to_constant $1428[12] = 25302
set_var_int_to_constant $1428[13] = 25303
$1426 = 13
goto @CELLFON_13258

:CELLFON_4896
set_var_text_label s$1449[0] = 'MKND01A'
set_var_text_label s$1449[1] = 'MKND01B'
set_var_text_label s$1449[2] = 'MKND01C'
set_var_text_label s$1449[3] = 'MKND01D'
set_var_text_label s$1449[4] = 'MKND01E'
set_var_text_label s$1449[5] = 'MKND01F'
set_var_text_label s$1449[6] = 'MKND01G'
set_var_text_label s$1449[7] = 'MKND01H'
set_var_text_label s$1449[8] = 'MKND01J'
set_var_int_to_constant $1428[0] = 27000
set_var_int_to_constant $1428[1] = 27001
set_var_int_to_constant $1428[2] = 27002
set_var_int_to_constant $1428[3] = 27003
set_var_int_to_constant $1428[4] = 27004
set_var_int_to_constant $1428[5] = 27005
set_var_int_to_constant $1428[6] = 27006
set_var_int_to_constant $1428[7] = 27007
set_var_int_to_constant $1428[8] = 27008
$1426 = 8
goto @CELLFON_13258

:CELLFON_5108
set_var_text_label s$1449[0] = 'MTEN01A'
set_var_text_label s$1449[1] = 'MTEN01B'
set_var_text_label s$1449[2] = 'MTEN01C'
set_var_text_label s$1449[3] = 'MTEN01D'
set_var_text_label s$1449[4] = 'MTEN01E'
set_var_text_label s$1449[5] = 'MTEN01F'
set_var_text_label s$1449[6] = 'MTEN01G'
set_var_text_label s$1449[7] = 'MTEN01H'
set_var_text_label s$1449[8] = 'MTEN01J'
set_var_int_to_constant $1428[0] = 29200
set_var_int_to_constant $1428[1] = 29201
set_var_int_to_constant $1428[2] = 29202
set_var_int_to_constant $1428[3] = 29203
set_var_int_to_constant $1428[4] = 29204
set_var_int_to_constant $1428[5] = 29205
set_var_int_to_constant $1428[6] = 29206
set_var_int_to_constant $1428[7] = 29207
set_var_int_to_constant $1428[8] = 29208
$1426 = 8
goto @CELLFON_13258

:CELLFON_5320
set_var_text_label s$1449[0] = 'MTEN02A'
set_var_text_label s$1449[1] = 'MTEN02B'
set_var_text_label s$1449[2] = 'MTEN02C'
set_var_text_label s$1449[3] = 'MTEN02D'
set_var_text_label s$1449[4] = 'MTEN02E'
set_var_text_label s$1449[5] = 'MTEN02F'
set_var_int_to_constant $1428[0] = 29209
set_var_int_to_constant $1428[1] = 29210
set_var_int_to_constant $1428[2] = 29211
set_var_int_to_constant $1428[3] = 29212
set_var_int_to_constant $1428[4] = 29213
set_var_int_to_constant $1428[5] = 29214
$1426 = 5
goto @CELLFON_13258

:CELLFON_5466
set_var_text_label s$1449[0] = 'MHRZ01A'
set_var_text_label s$1449[1] = 'MHRZ01B'
set_var_text_label s$1449[2] = 'MHRZ01C'
set_var_text_label s$1449[3] = 'MHRZ01D'
set_var_text_label s$1449[4] = 'MHRZ01E'
set_var_text_label s$1449[5] = 'MHRZ01F'
set_var_text_label s$1449[6] = 'MHRZ01G'
set_var_text_label s$1449[7] = 'MHRZ01H'
set_var_text_label s$1449[8] = 'MHRZ01J'
set_var_text_label s$1449[9] = 'MHRZ01K'
set_var_text_label s$1449[10] = 'MHRZ01L'
set_var_text_label s$1449[11] = 'MHRZ01M'
set_var_text_label s$1449[12] = 'MHRZ01N'
set_var_int_to_constant $1428[0] = 26400
set_var_int_to_constant $1428[1] = 26401
set_var_int_to_constant $1428[2] = 26402
set_var_int_to_constant $1428[3] = 26403
set_var_int_to_constant $1428[4] = 26404
set_var_int_to_constant $1428[5] = 26405
set_var_int_to_constant $1428[6] = 26406
set_var_int_to_constant $1428[7] = 26407
set_var_int_to_constant $1428[8] = 26408
set_var_int_to_constant $1428[9] = 26409
set_var_int_to_constant $1428[10] = 26410
set_var_int_to_constant $1428[11] = 26411
set_var_int_to_constant $1428[12] = 26412
$1426 = 12
goto @CELLFON_13258

:CELLFON_5766
set_var_text_label s$1449[0] = 'MSMK01A'
set_var_text_label s$1449[1] = 'MSMK01B'
set_var_text_label s$1449[2] = 'MSMK01C'
set_var_text_label s$1449[3] = 'MSMK01D'
set_var_text_label s$1449[4] = 'MSMK01E'
set_var_text_label s$1449[5] = 'MSMK01F'
set_var_text_label s$1449[6] = 'MSMK01G'
set_var_text_label s$1449[7] = 'MSMK01H'
set_var_text_label s$1449[8] = 'MSMK01J'
set_var_text_label s$1449[9] = 'MSMK01K'
set_var_text_label s$1449[10] = 'MSMK01L'
set_var_text_label s$1449[11] = 'MSMK01M'
set_var_int_to_constant $1428[0] = 28800
set_var_int_to_constant $1428[1] = 28801
set_var_int_to_constant $1428[2] = 28802
set_var_int_to_constant $1428[3] = 28803
set_var_int_to_constant $1428[4] = 28804
set_var_int_to_constant $1428[5] = 28805
set_var_int_to_constant $1428[6] = 28806
set_var_int_to_constant $1428[7] = 28807
set_var_int_to_constant $1428[8] = 28808
set_var_int_to_constant $1428[9] = 28809
set_var_int_to_constant $1428[10] = 28810
set_var_int_to_constant $1428[11] = 28811
$1426 = 11
goto @CELLFON_13258

:CELLFON_6044
set_var_text_label s$1449[0] = 'MTRU01A'
set_var_text_label s$1449[1] = 'MTRU01B'
set_var_text_label s$1449[2] = 'MTRU01C'
set_var_text_label s$1449[3] = 'MTRU01D'
set_var_text_label s$1449[4] = 'MTRU01E'
set_var_text_label s$1449[5] = 'MTRU01F'
set_var_text_label s$1449[6] = 'MTRU01G'
set_var_text_label s$1449[7] = 'MTRU01H'
set_var_text_label s$1449[8] = 'MTRU01J'
set_var_text_label s$1449[9] = 'MTRU01K'
set_var_text_label s$1449[10] = 'MTRU01L'
set_var_text_label s$1449[11] = 'MTRU01M'
set_var_text_label s$1449[12] = 'MTRU01N'
set_var_text_label s$1449[13] = 'MTRU01O'
set_var_text_label s$1449[14] = 'MTRU01P'
set_var_int_to_constant $1428[0] = 29800
set_var_int_to_constant $1428[1] = 29801
set_var_int_to_constant $1428[2] = 29802
set_var_int_to_constant $1428[3] = 29803
set_var_int_to_constant $1428[4] = 29804
set_var_int_to_constant $1428[5] = 29805
set_var_int_to_constant $1428[6] = 29806
set_var_int_to_constant $1428[7] = 29807
set_var_int_to_constant $1428[8] = 29808
set_var_int_to_constant $1428[9] = 29809
set_var_int_to_constant $1428[10] = 29810
set_var_int_to_constant $1428[11] = 29811
set_var_int_to_constant $1428[12] = 29812
set_var_int_to_constant $1428[13] = 29813
set_var_int_to_constant $1428[14] = 29814
$1426 = 14
goto @CELLFON_13258

:CELLFON_6388
set_var_text_label s$1449[0] = 'MTRU02A'
set_var_text_label s$1449[1] = 'MTRU02B'
set_var_text_label s$1449[2] = 'MTRU02C'
set_var_text_label s$1449[3] = 'MTRU02D'
set_var_text_label s$1449[4] = 'MTRU02E'
set_var_text_label s$1449[5] = 'MTRU02F'
set_var_int_to_constant $1428[0] = 29815
set_var_int_to_constant $1428[1] = 29816
set_var_int_to_constant $1428[2] = 29817
set_var_int_to_constant $1428[3] = 29818
set_var_int_to_constant $1428[4] = 29819
set_var_int_to_constant $1428[5] = 29820
$1426 = 5
goto @CELLFON_13258

:CELLFON_6534
set_var_text_label s$1449[0] = 'MTRU03A'
set_var_text_label s$1449[1] = 'MTRU03B'
set_var_text_label s$1449[2] = 'MTRU03C'
set_var_text_label s$1449[3] = 'MTRU03D'
set_var_text_label s$1449[4] = 'MTRU03E'
set_var_int_to_constant $1428[0] = 29821
set_var_int_to_constant $1428[1] = 29822
set_var_int_to_constant $1428[2] = 29823
set_var_int_to_constant $1428[3] = 29824
set_var_int_to_constant $1428[4] = 29825
$1426 = 4
goto @CELLFON_13258

:CELLFON_6658
set_var_text_label s$1449[0] = 'MWUZ00A'
set_var_text_label s$1449[1] = 'MWUZ00B'
set_var_text_label s$1449[2] = 'MWUZ00C'
set_var_text_label s$1449[3] = 'MWUZ00D'
set_var_text_label s$1449[4] = 'MWUZ00E'
set_var_text_label s$1449[5] = 'MWUZ00F'
set_var_text_label s$1449[6] = 'MWUZ00G'
set_var_text_label s$1449[7] = 'MWUZ00H'
set_var_text_label s$1449[8] = 'MWUZ00J'
set_var_int_to_constant $1428[0] = 30000
set_var_int_to_constant $1428[1] = 30001
set_var_int_to_constant $1428[2] = 30002
set_var_int_to_constant $1428[3] = 30003
set_var_int_to_constant $1428[4] = 30004
set_var_int_to_constant $1428[5] = 30005
set_var_int_to_constant $1428[6] = 30006
set_var_int_to_constant $1428[7] = 30007
set_var_int_to_constant $1428[8] = 30008
$1426 = 8
goto @CELLFON_13258

:CELLFON_6870
set_var_text_label s$1449[0] = 'MWUZ03A'
set_var_text_label s$1449[1] = 'MWUZ03B'
set_var_text_label s$1449[2] = 'MWUZ03C'
set_var_text_label s$1449[3] = 'MWUZ03D'
set_var_text_label s$1449[4] = 'MWUZ03E'
set_var_text_label s$1449[5] = 'MWUZ03F'
set_var_text_label s$1449[6] = 'MWUZ03G'
set_var_text_label s$1449[7] = 'MWUZ03H'
set_var_text_label s$1449[8] = 'MWUZ03J'
set_var_text_label s$1449[9] = 'MWUZ03K'
set_var_text_label s$1449[10] = 'MWUZ03L'
set_var_int_to_constant $1428[0] = 30029
set_var_int_to_constant $1428[1] = 30030
set_var_int_to_constant $1428[2] = 30031
set_var_int_to_constant $1428[3] = 30032
set_var_int_to_constant $1428[4] = 30033
set_var_int_to_constant $1428[5] = 30034
set_var_int_to_constant $1428[6] = 30035
set_var_int_to_constant $1428[7] = 30036
set_var_int_to_constant $1428[8] = 30037
set_var_int_to_constant $1428[9] = 30038
set_var_int_to_constant $1428[10] = 30039
$1426 = 10
goto @CELLFON_13258

:CELLFON_7126
set_var_text_label s$1449[0] = 'MWUZ03B'
set_var_text_label s$1449[1] = 'MWUZ05B'
set_var_text_label s$1449[2] = 'MWUZ05C'
set_var_text_label s$1449[3] = 'MWUZ05D'
set_var_text_label s$1449[4] = 'MWUZ05E'
set_var_text_label s$1449[5] = 'MWUZ05F'
set_var_text_label s$1449[6] = 'MWUZ05G'
set_var_text_label s$1449[7] = 'MWUZ05H'
set_var_text_label s$1449[8] = 'MWUZ05J'
set_var_int_to_constant $1428[0] = 30030
set_var_int_to_constant $1428[1] = 30049
set_var_int_to_constant $1428[2] = 30050
set_var_int_to_constant $1428[3] = 30051
set_var_int_to_constant $1428[4] = 30052
set_var_int_to_constant $1428[5] = 30053
set_var_int_to_constant $1428[6] = 30054
set_var_int_to_constant $1428[7] = 30055
set_var_int_to_constant $1428[8] = 30056
$1426 = 8
goto @CELLFON_13258

:CELLFON_7338
set_var_text_label s$1449[0] = 'MWUZ07A'
set_var_text_label s$1449[1] = 'MWUZ07B'
set_var_text_label s$1449[2] = 'MWUZ07C'
set_var_text_label s$1449[3] = 'MWUZ07D'
set_var_int_to_constant $1428[0] = 30070
set_var_int_to_constant $1428[1] = 30071
set_var_int_to_constant $1428[2] = 30072
set_var_int_to_constant $1428[3] = 30073
$1426 = 3
goto @CELLFON_13258

:CELLFON_7440
set_var_text_label s$1449[0] = 'MWUZ04A'
set_var_text_label s$1449[1] = 'MWUZ04B'
set_var_text_label s$1449[2] = 'MWUZ04C'
set_var_text_label s$1449[3] = 'MWUZ04D'
set_var_text_label s$1449[4] = 'MWUZ04E'
set_var_text_label s$1449[5] = 'MWUZ04F'
set_var_text_label s$1449[6] = 'MWUZ04G'
set_var_text_label s$1449[7] = 'MWUZ04H'
set_var_int_to_constant $1428[0] = 30040
set_var_int_to_constant $1428[1] = 30041
set_var_int_to_constant $1428[2] = 30042
set_var_int_to_constant $1428[3] = 30043
set_var_int_to_constant $1428[4] = 30044
set_var_int_to_constant $1428[5] = 30045
set_var_int_to_constant $1428[6] = 30046
set_var_int_to_constant $1428[7] = 30047
$1426 = 7
goto @CELLFON_13258

:CELLFON_7630
set_var_text_label s$1449[0] = 'MWUZ06A'
set_var_text_label s$1449[1] = 'MWUZ06B'
set_var_text_label s$1449[2] = 'MWUZ06C'
set_var_text_label s$1449[3] = 'MWUZ06D'
set_var_text_label s$1449[4] = 'MWUZ09E'
set_var_text_label s$1449[5] = 'MWUZ09F'
set_var_text_label s$1449[6] = 'MWUZ06G'
set_var_text_label s$1449[7] = 'MWUZ06H'
set_var_text_label s$1449[8] = 'MWUZ06J'
set_var_text_label s$1449[9] = 'MWUZ09H'
set_var_text_label s$1449[10] = 'MWUZ09J'
set_var_text_label s$1449[11] = 'MWUZ06K'
set_var_text_label s$1449[12] = 'MWUZ06L'
set_var_text_label s$1449[13] = 'MWUZ06M'
set_var_text_label s$1449[14] = 'MWUZ06N'
set_var_int_to_constant $1428[0] = 30057
set_var_int_to_constant $1428[1] = 30058
set_var_int_to_constant $1428[2] = 30059
set_var_int_to_constant $1428[3] = 30060
set_var_int_to_constant $1428[4] = 30079
set_var_int_to_constant $1428[5] = 30080
set_var_int_to_constant $1428[6] = 30063
set_var_int_to_constant $1428[7] = 30064
set_var_int_to_constant $1428[8] = 30065
set_var_int_to_constant $1428[9] = 30081
set_var_int_to_constant $1428[10] = 30082
set_var_int_to_constant $1428[11] = 30066
set_var_int_to_constant $1428[12] = 30067
set_var_int_to_constant $1428[13] = 30068
set_var_int_to_constant $1428[14] = 30069
$1426 = 14
goto @CELLFON_13258

:CELLFON_7974
set_var_text_label s$1449[0] = 'MWUZ06A'
set_var_text_label s$1449[1] = 'MWUZ06B'
set_var_text_label s$1449[2] = 'MWUZ06C'
set_var_text_label s$1449[3] = 'MWUZ06D'
set_var_text_label s$1449[4] = 'MWUZ06E'
set_var_text_label s$1449[5] = 'MWUZ06F'
set_var_text_label s$1449[6] = 'MWUZ06G'
set_var_text_label s$1449[7] = 'MWUZ06H'
set_var_text_label s$1449[8] = 'MWUZ06J'
set_var_text_label s$1449[9] = 'MWUZ06K'
set_var_text_label s$1449[10] = 'MWUZ06L'
set_var_text_label s$1449[11] = 'MWUZ06M'
set_var_text_label s$1449[12] = 'MWUZ06N'
set_var_int_to_constant $1428[0] = 30057
set_var_int_to_constant $1428[1] = 30058
set_var_int_to_constant $1428[2] = 30059
set_var_int_to_constant $1428[3] = 30060
set_var_int_to_constant $1428[4] = 30061
set_var_int_to_constant $1428[5] = 30062
set_var_int_to_constant $1428[6] = 30063
set_var_int_to_constant $1428[7] = 30064
set_var_int_to_constant $1428[8] = 30065
set_var_int_to_constant $1428[9] = 30066
set_var_int_to_constant $1428[10] = 30067
set_var_int_to_constant $1428[11] = 30068
set_var_int_to_constant $1428[12] = 30069
$1426 = 12
goto @CELLFON_13258

:CELLFON_8274
set_var_text_label s$1449[0] = 'MTOR01A'
set_var_text_label s$1449[1] = 'MTOR01B'
set_var_text_label s$1449[2] = 'MTOR01C'
set_var_text_label s$1449[3] = 'MTOR01D'
set_var_text_label s$1449[4] = 'MTOR01E'
set_var_text_label s$1449[5] = 'MTOR01F'
set_var_text_label s$1449[6] = 'MTOR01G'
set_var_text_label s$1449[7] = 'MTOR01H'
set_var_text_label s$1449[8] = 'MTOR01J'
set_var_text_label s$1449[9] = 'MTOR01K'
set_var_text_label s$1449[10] = 'MTOR01L'
set_var_int_to_constant $1428[0] = 29600
set_var_int_to_constant $1428[1] = 29601
set_var_int_to_constant $1428[2] = 29602
set_var_int_to_constant $1428[3] = 29603
set_var_int_to_constant $1428[4] = 29604
set_var_int_to_constant $1428[5] = 29605
set_var_int_to_constant $1428[6] = 29606
set_var_int_to_constant $1428[7] = 29607
set_var_int_to_constant $1428[8] = 29608
set_var_int_to_constant $1428[9] = 29609
set_var_int_to_constant $1428[10] = 29610
$1426 = 10
goto @CELLFON_13258

:CELLFON_8530
set_var_text_label s$1449[0] = 'MTOR02A'
set_var_text_label s$1449[1] = 'MTOR02B'
set_var_text_label s$1449[2] = 'MTOR02C'
set_var_text_label s$1449[3] = 'MTOR02D'
set_var_text_label s$1449[4] = 'MTOR02E'
set_var_int_to_constant $1428[0] = 29611
set_var_int_to_constant $1428[1] = 29612
set_var_int_to_constant $1428[2] = 29613
set_var_int_to_constant $1428[3] = 29614
set_var_int_to_constant $1428[4] = 29615
$1426 = 4
goto @CELLFON_13258

:CELLFON_8654
set_var_text_label s$1449[0] = 'MTOR03A'
set_var_text_label s$1449[1] = 'MTOR03B'
set_var_int_to_constant $1428[0] = 29616
set_var_int_to_constant $1428[1] = 29617
$1426 = 1
goto @CELLFON_13258

:CELLFON_8712
set_var_text_label s$1449[0] = 'MTOR05A'
set_var_text_label s$1449[1] = 'MTOR05B'
set_var_text_label s$1449[2] = 'MTOR05C'
set_var_text_label s$1449[3] = 'MTOR05D'
set_var_text_label s$1449[4] = 'MTOR05E'
set_var_text_label s$1449[5] = 'MTOR05F'
set_var_text_label s$1449[6] = 'MTOR05G'
set_var_text_label s$1449[7] = 'MTOR05H'
set_var_text_label s$1449[8] = 'MTOR05J'
set_var_int_to_constant $1428[0] = 29630
set_var_int_to_constant $1428[1] = 29631
set_var_int_to_constant $1428[2] = 29632
set_var_int_to_constant $1428[3] = 29633
set_var_int_to_constant $1428[4] = 29634
set_var_int_to_constant $1428[5] = 29635
set_var_int_to_constant $1428[6] = 29636
set_var_int_to_constant $1428[7] = 29637
set_var_int_to_constant $1428[8] = 29638
$1426 = 8
goto @CELLFON_13258

:CELLFON_8924
set_var_text_label s$1449[0] = 'MTOR06A'
set_var_text_label s$1449[1] = 'MTOR06B'
set_var_text_label s$1449[2] = 'MTOR06C'
set_var_text_label s$1449[3] = 'MTOR06D'
set_var_text_label s$1449[4] = 'MTOR06E'
set_var_text_label s$1449[5] = 'MTOR06F'
set_var_text_label s$1449[6] = 'MTOR06G'
set_var_text_label s$1449[7] = 'MTOR06H'
set_var_text_label s$1449[8] = 'MTOR06J'
set_var_text_label s$1449[9] = 'MTOR06K'
set_var_text_label s$1449[10] = 'MTOR06L'
set_var_text_label s$1449[11] = 'MTOR06M'
set_var_int_to_constant $1428[0] = 29639
set_var_int_to_constant $1428[1] = 29640
set_var_int_to_constant $1428[2] = 29641
set_var_int_to_constant $1428[3] = 29642
set_var_int_to_constant $1428[4] = 29643
set_var_int_to_constant $1428[5] = 29644
set_var_int_to_constant $1428[6] = 29645
set_var_int_to_constant $1428[7] = 29646
set_var_int_to_constant $1428[8] = 29647
set_var_int_to_constant $1428[9] = 29648
set_var_int_to_constant $1428[10] = 29649
set_var_int_to_constant $1428[11] = 29650
$1426 = 11
goto @CELLFON_13258

:CELLFON_9202
set_var_text_label s$1449[0] = 'MTOR07A'
set_var_text_label s$1449[1] = 'MTOR07B'
set_var_text_label s$1449[2] = 'MTOR07C'
set_var_text_label s$1449[3] = 'MTOR07D'
set_var_text_label s$1449[4] = 'MTOR07E'
set_var_text_label s$1449[5] = 'MTOR07L'
set_var_text_label s$1449[6] = 'MTOR07M'
set_var_text_label s$1449[7] = 'MTOR07F'
set_var_text_label s$1449[8] = 'MTOR07G'
set_var_text_label s$1449[9] = 'MTOR07N'
set_var_text_label s$1449[10] = 'MTOR07O'
set_var_text_label s$1449[11] = 'MTOR07H'
set_var_text_label s$1449[12] = 'MTOR07J'
set_var_text_label s$1449[13] = 'MTOR07K'
set_var_int_to_constant $1428[0] = 29652
set_var_int_to_constant $1428[1] = 29653
set_var_int_to_constant $1428[2] = 29654
set_var_int_to_constant $1428[3] = 29655
set_var_int_to_constant $1428[4] = 29656
set_var_int_to_constant $1428[5] = 29662
set_var_int_to_constant $1428[6] = 29663
set_var_int_to_constant $1428[7] = 29657
set_var_int_to_constant $1428[8] = 29658
set_var_int_to_constant $1428[9] = 29664
set_var_int_to_constant $1428[10] = 29665
set_var_int_to_constant $1428[11] = 29659
set_var_int_to_constant $1428[12] = 29660
set_var_int_to_constant $1428[13] = 29661
$1426 = 13
goto @CELLFON_13258

:CELLFON_9524
set_var_text_label s$1449[0] = 'MKP01A'
set_var_text_label s$1449[1] = 'MKP01B'
set_var_text_label s$1449[2] = 'MKP01C'
set_var_text_label s$1449[3] = 'MKP01D'
set_var_text_label s$1449[4] = 'MKP01E'
set_var_text_label s$1449[5] = 'MKP01F'
set_var_int_to_constant $1428[0] = 27200
set_var_int_to_constant $1428[1] = 27201
set_var_int_to_constant $1428[2] = 27202
set_var_int_to_constant $1428[3] = 27203
set_var_int_to_constant $1428[4] = 27204
set_var_int_to_constant $1428[5] = 27205
$1426 = 5
goto @CELLFON_13258

:CELLFON_9670
set_var_text_label s$1449[0] = 'MSAL01A'
set_var_text_label s$1449[1] = 'MROS01B'
set_var_text_label s$1449[2] = 'MROS01D'
set_var_text_label s$1449[3] = 'MROS01F'
set_var_text_label s$1449[4] = 'MROS01H'
set_var_text_label s$1449[5] = 'MROS01L'
set_var_int_to_constant $1428[0] = 28600
set_var_int_to_constant $1428[1] = 28400
set_var_int_to_constant $1428[2] = 28401
set_var_int_to_constant $1428[3] = 28403
set_var_int_to_constant $1428[4] = 28404
set_var_int_to_constant $1428[5] = 28405
$1426 = 5
goto @CELLFON_13258

:CELLFON_9816
set_var_text_label s$1449[0] = 'MROS02A'
set_var_text_label s$1449[1] = 'MROS02B'
set_var_text_label s$1449[2] = 'MROS02C'
set_var_text_label s$1449[3] = 'MROS02D'
set_var_text_label s$1449[4] = 'MROS02E'
set_var_text_label s$1449[5] = 'MROS02F'
set_var_text_label s$1449[6] = 'MROS02G'
set_var_int_to_constant $1428[0] = 28406
set_var_int_to_constant $1428[1] = 28407
set_var_int_to_constant $1428[2] = 28408
set_var_int_to_constant $1428[3] = 28409
set_var_int_to_constant $1428[4] = 28410
set_var_int_to_constant $1428[5] = 28411
set_var_int_to_constant $1428[6] = 28412
$1426 = 6
goto @CELLFON_13258

:CELLFON_9984
set_var_text_label s$1449[0] = 'MROS03A'
set_var_text_label s$1449[1] = 'MROS03B'
set_var_text_label s$1449[2] = 'MROS03C'
set_var_text_label s$1449[3] = 'MROS03D'
set_var_text_label s$1449[4] = 'MROS03E'
set_var_text_label s$1449[5] = 'MROS03F'
set_var_text_label s$1449[6] = 'MROS03G'
set_var_text_label s$1449[7] = 'MROS03H'
set_var_text_label s$1449[8] = 'MROS03J'
set_var_text_label s$1449[9] = 'MROS03K'
set_var_text_label s$1449[10] = 'MROS03L'
set_var_text_label s$1449[11] = 'MROS03N'
set_var_text_label s$1449[12] = 'MROS03O'
set_var_text_label s$1449[13] = 'MROS03P'
set_var_int_to_constant $1428[0] = 28413
set_var_int_to_constant $1428[1] = 28414
set_var_int_to_constant $1428[2] = 28415
set_var_int_to_constant $1428[3] = 28416
set_var_int_to_constant $1428[4] = 28417
set_var_int_to_constant $1428[5] = 28418
set_var_int_to_constant $1428[6] = 28419
set_var_int_to_constant $1428[7] = 28420
set_var_int_to_constant $1428[8] = 28421
set_var_int_to_constant $1428[9] = 28422
set_var_int_to_constant $1428[10] = 28423
set_var_int_to_constant $1428[11] = 28424
set_var_int_to_constant $1428[12] = 28425
set_var_int_to_constant $1428[13] = 28426
$1426 = 13
goto @CELLFON_13258

:CELLFON_10306
set_var_text_label s$1449[0] = 'MSAL01A'
set_var_text_label s$1449[1] = 'MSAL01B'
set_var_text_label s$1449[2] = 'MSAL01C'
set_var_text_label s$1449[3] = 'MSAL01D'
set_var_text_label s$1449[4] = 'MSAL01E'
set_var_text_label s$1449[5] = 'MSAL01F'
set_var_text_label s$1449[6] = 'MSAL01G'
set_var_text_label s$1449[7] = 'MSAL01H'
set_var_text_label s$1449[8] = 'MSAL01J'
set_var_text_label s$1449[9] = 'MSAL01K'
set_var_text_label s$1449[10] = 'MSAL01M'
set_var_text_label s$1449[11] = 'MSAL01N'
set_var_text_label s$1449[12] = 'MSAL01O'
set_var_int_to_constant $1428[0] = 28600
set_var_int_to_constant $1428[1] = 28601
set_var_int_to_constant $1428[2] = 28602
set_var_int_to_constant $1428[3] = 28603
set_var_int_to_constant $1428[4] = 28604
set_var_int_to_constant $1428[5] = 28605
set_var_int_to_constant $1428[6] = 28606
set_var_int_to_constant $1428[7] = 28607
set_var_int_to_constant $1428[8] = 28608
set_var_int_to_constant $1428[9] = 28609
set_var_int_to_constant $1428[10] = 28610
set_var_int_to_constant $1428[11] = 28611
set_var_int_to_constant $1428[12] = 28612
$1426 = 12
goto @CELLFON_13258

:CELLFON_10606
set_var_text_label s$1449[0] = 'MSAL02A'
set_var_text_label s$1449[1] = 'MSAL02B'
set_var_text_label s$1449[2] = 'MSAL02C'
set_var_text_label s$1449[3] = 'MSAL02D'
set_var_text_label s$1449[4] = 'MSAL02E'
set_var_text_label s$1449[5] = 'MSAL02F'
set_var_text_label s$1449[6] = 'MSAL02G'
set_var_text_label s$1449[7] = 'MSAL02H'
set_var_text_label s$1449[8] = 'MSAL02J'
set_var_text_label s$1449[9] = 'MSAL02K'
set_var_int_to_constant $1428[0] = 28613
set_var_int_to_constant $1428[1] = 28614
set_var_int_to_constant $1428[2] = 28615
set_var_int_to_constant $1428[3] = 28616
set_var_int_to_constant $1428[4] = 28617
set_var_int_to_constant $1428[5] = 28618
set_var_int_to_constant $1428[6] = 28619
set_var_int_to_constant $1428[7] = 28620
set_var_int_to_constant $1428[8] = 28621
set_var_int_to_constant $1428[9] = 28622
$1426 = 9
goto @CELLFON_13258

:CELLFON_10840
set_var_text_label s$1449[0] = 'MMILL2A'
set_var_text_label s$1449[1] = 'MMILL2B'
set_var_text_label s$1449[2] = 'MMILL2C'
set_var_text_label s$1449[3] = 'MMILL2D'
set_var_text_label s$1449[4] = 'MMILL2E'
set_var_text_label s$1449[5] = 'MMILL2F'
set_var_text_label s$1449[6] = 'MMILL2H'
set_var_text_label s$1449[7] = 'MMILL2J'
set_var_text_label s$1449[8] = 'MMILL2K'
set_var_text_label s$1449[9] = 'MMILL2L'
set_var_int_to_constant $1428[0] = 27811
set_var_int_to_constant $1428[1] = 27812
set_var_int_to_constant $1428[2] = 27813
set_var_int_to_constant $1428[3] = 27814
set_var_int_to_constant $1428[4] = 27815
set_var_int_to_constant $1428[5] = 27816
set_var_int_to_constant $1428[6] = 27818
set_var_int_to_constant $1428[7] = 27819
set_var_int_to_constant $1428[8] = 27820
set_var_int_to_constant $1428[9] = 27821
$1426 = 9
goto @CELLFON_13258

:CELLFON_11074
set_var_text_label s$1449[0] = 'MZER01A'
set_var_text_label s$1449[1] = 'MZER01B'
set_var_text_label s$1449[2] = 'MZER01C'
set_var_text_label s$1449[3] = 'MZER01D'
set_var_text_label s$1449[4] = 'MZER01E'
set_var_text_label s$1449[5] = 'MZER01F'
set_var_text_label s$1449[6] = 'MZER01G'
set_var_int_to_constant $1428[0] = 30400
set_var_int_to_constant $1428[1] = 30401
set_var_int_to_constant $1428[2] = 30402
set_var_int_to_constant $1428[3] = 30403
set_var_int_to_constant $1428[4] = 30404
set_var_int_to_constant $1428[5] = 30405
set_var_int_to_constant $1428[6] = 30406
$1426 = 6
goto @CELLFON_13258

:CELLFON_11242
set_var_text_label s$1449[0] = 'MZER02A'
set_var_text_label s$1449[1] = 'MZER02B'
set_var_text_label s$1449[2] = 'MZER02C'
set_var_text_label s$1449[3] = 'MZER02D'
set_var_text_label s$1449[4] = 'MZER02E'
set_var_text_label s$1449[5] = 'MZER02F'
set_var_text_label s$1449[6] = 'MZER02G'
set_var_text_label s$1449[7] = 'MZER02H'
set_var_text_label s$1449[8] = 'MZER02J'
set_var_text_label s$1449[9] = 'MZER02K'
set_var_int_to_constant $1428[0] = 30407
set_var_int_to_constant $1428[1] = 30408
set_var_int_to_constant $1428[2] = 30409
set_var_int_to_constant $1428[3] = 30410
set_var_int_to_constant $1428[4] = 30411
set_var_int_to_constant $1428[5] = 30412
set_var_int_to_constant $1428[6] = 30413
set_var_int_to_constant $1428[7] = 30414
set_var_int_to_constant $1428[8] = 30415
set_var_int_to_constant $1428[9] = 30416
$1426 = 9
goto @CELLFON_13258

:CELLFON_11476
set_var_text_label s$1449[0] = 'MJET_1A'
set_var_text_label s$1449[1] = 'MJET_1B'
set_var_text_label s$1449[2] = 'MJET_1C'
set_var_text_label s$1449[3] = 'MJET_1D'
set_var_text_label s$1449[4] = 'MJET_1E'
set_var_text_label s$1449[5] = 'MJET_1F'
set_var_text_label s$1449[6] = 'MJET_1G'
set_var_text_label s$1449[7] = 'MJET_1H'
set_var_text_label s$1449[8] = 'MJET_1J'
set_var_text_label s$1449[9] = 'MJET_1K'
set_var_text_label s$1449[10] = 'MJET_1L'
set_var_text_label s$1449[11] = 'MJET_1M'
set_var_text_label s$1449[12] = 'MJET_1N'
set_var_text_label s$1449[13] = 'MJET_1O'
set_var_text_label s$1449[14] = 'MJET_1P'
set_var_int_to_constant $1428[0] = 26600
set_var_int_to_constant $1428[1] = 26601
set_var_int_to_constant $1428[2] = 26602
set_var_int_to_constant $1428[3] = 26603
set_var_int_to_constant $1428[4] = 26604
set_var_int_to_constant $1428[5] = 26605
set_var_int_to_constant $1428[6] = 26606
set_var_int_to_constant $1428[7] = 26607
set_var_int_to_constant $1428[8] = 26608
set_var_int_to_constant $1428[9] = 26609
set_var_int_to_constant $1428[10] = 26610
set_var_int_to_constant $1428[11] = 26611
set_var_int_to_constant $1428[12] = 26612
set_var_int_to_constant $1428[13] = 26613
set_var_int_to_constant $1428[14] = 26614
$1426 = 14
goto @CELLFON_13258

:CELLFON_11820
set_var_text_label s$1449[0] = 'MJET_2A'
set_var_text_label s$1449[1] = 'MJET_2B'
set_var_text_label s$1449[2] = 'MJET_2C'
set_var_text_label s$1449[3] = 'MJET_2D'
set_var_text_label s$1449[4] = 'MJET_2E'
set_var_text_label s$1449[5] = 'MJET_2F'
set_var_text_label s$1449[6] = 'MJET_2G'
set_var_text_label s$1449[7] = 'MJET_2H'
set_var_text_label s$1449[8] = 'MJET_2J'
set_var_text_label s$1449[9] = 'MJET_2K'
set_var_text_label s$1449[10] = 'MJET_2L'
set_var_int_to_constant $1428[0] = 26615
set_var_int_to_constant $1428[1] = 26616
set_var_int_to_constant $1428[2] = 26617
set_var_int_to_constant $1428[3] = 26618
set_var_int_to_constant $1428[4] = 26619
set_var_int_to_constant $1428[5] = 26620
set_var_int_to_constant $1428[6] = 26621
set_var_int_to_constant $1428[7] = 26622
set_var_int_to_constant $1428[8] = 26623
set_var_int_to_constant $1428[9] = 26624
set_var_int_to_constant $1428[10] = 26625
$1426 = 10
goto @CELLFON_13258

:CELLFON_12076
set_var_text_label s$1449[0] = 'MJET_3A'
set_var_text_label s$1449[1] = 'MJET_3B'
set_var_text_label s$1449[2] = 'MJET_3C'
set_var_text_label s$1449[3] = 'MJET_3D'
set_var_text_label s$1449[4] = 'MJET_3E'
set_var_text_label s$1449[5] = 'MJET_3F'
set_var_text_label s$1449[6] = 'MJET_3G'
set_var_text_label s$1449[7] = 'MJET_3H'
set_var_int_to_constant $1428[0] = 26626
set_var_int_to_constant $1428[1] = 26627
set_var_int_to_constant $1428[2] = 26628
set_var_int_to_constant $1428[3] = 26629
set_var_int_to_constant $1428[4] = 26630
set_var_int_to_constant $1428[5] = 26631
set_var_int_to_constant $1428[6] = 26632
set_var_int_to_constant $1428[7] = 26633
$1426 = 7
goto @CELLFON_13258

:CELLFON_12266
set_var_text_label s$1449[0] = 'SHRK_1A'
set_var_text_label s$1449[1] = 'SHRK_1B'
set_var_int_to_constant $1428[0] = 34814
set_var_int_to_constant $1428[1] = 34815
$1426 = 1
goto @CELLFON_13258

:CELLFON_12328
set_var_text_label s$1449[0] = 'SHRK_2A'
set_var_text_label s$1449[1] = 'SHRK_2B'
set_var_int_to_constant $1428[0] = 34816
set_var_int_to_constant $1428[1] = 34817
$1426 = 1
goto @CELLFON_13258

:CELLFON_12390
set_var_text_label s$1449[0] = 'SHRK_3A'
set_var_text_label s$1449[1] = 'SHRK_3B'
set_var_int_to_constant $1428[0] = 34818
set_var_int_to_constant $1428[1] = 34819
$1426 = 1
goto @CELLFON_13258

:CELLFON_12452
set_var_text_label s$1449[0] = 'SHRK_4A'
set_var_text_label s$1449[1] = 'SHRK_4B'
set_var_int_to_constant $1428[0] = 34820
set_var_int_to_constant $1428[1] = 34821
$1426 = 1
goto @CELLFON_13258

:CELLFON_12514
set_var_text_label s$1449[0] = 'SHRK_5A'
set_var_text_label s$1449[1] = 'SHRK_5B'
set_var_int_to_constant $1428[0] = 34822
set_var_int_to_constant $1428[1] = 34823
$1426 = 1
goto @CELLFON_13258

:CELLFON_12576
set_var_text_label s$1449[0] = 'SHRK_6A'
set_var_text_label s$1449[1] = 'SHRK_6B'
set_var_int_to_constant $1428[0] = 34824
set_var_int_to_constant $1428[1] = 34825
$1426 = 1
goto @CELLFON_13258

:CELLFON_12638
set_var_text_label s$1449[0] = 'SHRK_7A'
set_var_text_label s$1449[1] = 'SHRK_7B'
set_var_int_to_constant $1428[0] = 34826
set_var_int_to_constant $1428[1] = 34827
$1426 = 1
goto @CELLFON_13258

:CELLFON_12700
set_var_text_label s$1449[0] = 'SHRK_8A'
set_var_text_label s$1449[1] = 'SHRK_8B'
set_var_int_to_constant $1428[0] = 34828
set_var_int_to_constant $1428[1] = 34829
$1426 = 1
goto @CELLFON_13258

:CELLFON_12762
set_var_text_label s$1449[0] = 'SHRK_9A'
set_var_text_label s$1449[1] = 'SHRK_9B'
set_var_int_to_constant $1428[0] = 34830
set_var_int_to_constant $1428[1] = 34831
$1426 = 1
goto @CELLFON_13258

:CELLFON_12824
set_var_text_label s$1449[0] = 'SHRK10A'
set_var_text_label s$1449[1] = 'SHRK10B'
set_var_int_to_constant $1428[0] = 34800
set_var_int_to_constant $1428[1] = 34801
$1426 = 1
goto @CELLFON_13258

:CELLFON_12886
set_var_text_label s$1449[0] = 'SHRK11A'
set_var_text_label s$1449[1] = 'SHRK11B'
set_var_int_to_constant $1428[0] = 34802
set_var_int_to_constant $1428[1] = 34803
$1426 = 1
goto @CELLFON_13258

:CELLFON_12948
set_var_text_label s$1449[0] = 'SHRK12A'
set_var_text_label s$1449[1] = 'SHRK12B'
set_var_int_to_constant $1428[0] = 34804
set_var_int_to_constant $1428[1] = 34805
$1426 = 1
goto @CELLFON_13258

:CELLFON_13010
set_var_text_label s$1449[0] = 'SHRK13A'
set_var_text_label s$1449[1] = 'SHRK13B'
set_var_int_to_constant $1428[0] = 34806
set_var_int_to_constant $1428[1] = 34807
$1426 = 1
goto @CELLFON_13258

:CELLFON_13072
set_var_text_label s$1449[0] = 'SHRK14A'
set_var_text_label s$1449[1] = 'SHRK14B'
set_var_int_to_constant $1428[0] = 34808
set_var_int_to_constant $1428[1] = 34809
$1426 = 1
goto @CELLFON_13258

:CELLFON_13134
set_var_text_label s$1449[0] = 'SHRK15A'
set_var_text_label s$1449[1] = 'SHRK15B'
set_var_int_to_constant $1428[0] = 34810
set_var_int_to_constant $1428[1] = 34811
$1426 = 1
goto @CELLFON_13258

:CELLFON_13196
set_var_text_label s$1449[0] = 'SHRK16A'
set_var_text_label s$1449[1] = 'SHRK16B'
set_var_int_to_constant $1428[0] = 34812
set_var_int_to_constant $1428[1] = 34813
$1426 = 1
goto @CELLFON_13258

:CELLFON_13258
goto @CELLFON_18044

:CELLFON_13265
switch_start $flag_new_cont {numCases} 54 {hasDefaultCase} 0 {defaultLabel} @CELLFON_18044 {caseNum1} 70 {caseLabel1} @CELLFON_13724 {caseNum2} 71 {caseLabel2} @CELLFON_13782 {caseNum3} 72 {caseLabel3} @CELLFON_13840 {caseNum4} 73 {caseLabel4} @CELLFON_13898 {caseNum5} 74 {caseLabel5} @CELLFON_13956 {caseNum6} 75 {caseLabel6} @CELLFON_14014 {caseNum7} 76 {caseLabel7} @CELLFON_14072
switch_continued 77 {caseLabel1} @CELLFON_14130 {caseNum2} 80 {caseLabel2} @CELLFON_14444 {caseNum3} 81 {caseLabel3} @CELLFON_14502 {caseNum4} 82 {caseLabel4} @CELLFON_14560 {caseNum5} 83 {caseLabel5} @CELLFON_14618 {caseNum6} 84 {caseLabel6} @CELLFON_14676 {caseNum7} 85 {caseLabel7} @CELLFON_14734 {caseNum8} 86 {caseLabel8} @CELLFON_14792 {caseNum9} 87 {caseLabel9} @CELLFON_14850
switch_continued 90 {caseLabel1} @CELLFON_15120 {caseNum2} 91 {caseLabel2} @CELLFON_15178 {caseNum3} 92 {caseLabel3} @CELLFON_15236 {caseNum4} 93 {caseLabel4} @CELLFON_15294 {caseNum5} 94 {caseLabel5} @CELLFON_15352 {caseNum6} 95 {caseLabel6} @CELLFON_15410 {caseNum7} 96 {caseLabel7} @CELLFON_15468 {caseNum8} 97 {caseLabel8} @CELLFON_15526 {caseNum9} 100 {caseLabel9} @CELLFON_15818
switch_continued 101 {caseLabel1} @CELLFON_15876 {caseNum2} 102 {caseLabel2} @CELLFON_15934 {caseNum3} 103 {caseLabel3} @CELLFON_15992 {caseNum4} 104 {caseLabel4} @CELLFON_16050 {caseNum5} 105 {caseLabel5} @CELLFON_16108 {caseNum6} 106 {caseLabel6} @CELLFON_16166 {caseNum7} 107 {caseLabel7} @CELLFON_16224 {caseNum8} 110 {caseLabel8} @CELLFON_16670 {caseNum9} 111 {caseLabel9} @CELLFON_16728
switch_continued 112 {caseLabel1} @CELLFON_16786 {caseNum2} 113 {caseLabel2} @CELLFON_16844 {caseNum3} 114 {caseLabel3} @CELLFON_16902 {caseNum4} 115 {caseLabel4} @CELLFON_16960 {caseNum5} 116 {caseLabel5} @CELLFON_17018 {caseNum6} 117 {caseLabel6} @CELLFON_17076 {caseNum7} 120 {caseLabel7} @CELLFON_17346 {caseNum8} 121 {caseLabel8} @CELLFON_17404 {caseNum9} 122 {caseLabel9} @CELLFON_17462
switch_continued 123 {caseLabel1} @CELLFON_17520 {caseNum2} 124 {caseLabel2} @CELLFON_17578 {caseNum3} 125 {caseLabel3} @CELLFON_17636 {caseNum4} 126 {caseLabel4} @CELLFON_17694 {caseNum5} 127 {caseLabel5} @CELLFON_17752 {caseNum6} 130 {caseLabel6} @CELLFON_14188 {caseNum7} 131 {caseLabel7} @CELLFON_14908 {caseNum8} 132 {caseLabel8} @CELLFON_15584 {caseNum9} 133 {caseLabel9} @CELLFON_16282
switch_continued 134 {caseLabel1} @CELLFON_17134 {caseNum2} 135 {caseLabel2} @CELLFON_17810 {caseNum3} -1 {caseLabel3} @CELLFON_18044 {caseNum4} -1 {caseLabel4} @CELLFON_18044 {caseNum5} -1 {caseLabel5} @CELLFON_18044 {caseNum6} -1 {caseLabel6} @CELLFON_18044 {caseNum7} -1 {caseLabel7} @CELLFON_18044 {caseNum8} -1 {caseLabel8} @CELLFON_18044 {caseNum9} -1 {caseLabel9} @CELLFON_18044

:CELLFON_13724
set_var_text_label s$1449[0] = 'MDEN_2A'
set_var_text_label s$1449[1] = 'MDEN_2D'
set_var_int_to_constant $1428[0] = 25411
set_var_int_to_constant $1428[1] = 25412
$1426 = 1
goto @CELLFON_18044

:CELLFON_13782
set_var_text_label s$1449[0] = 'MDEN_3A'
set_var_text_label s$1449[1] = 'MDEN_3B'
set_var_int_to_constant $1428[0] = 25413
set_var_int_to_constant $1428[1] = 25414
$1426 = 1
goto @CELLFON_18044

:CELLFON_13840
set_var_text_label s$1449[0] = 'MDEN_4A'
set_var_text_label s$1449[1] = 'MDEN_4D'
set_var_int_to_constant $1428[0] = 25415
set_var_int_to_constant $1428[1] = 25416
$1426 = 1
goto @CELLFON_18044

:CELLFON_13898
set_var_text_label s$1449[0] = 'MDEN_5A'
set_var_text_label s$1449[1] = 'MDEN_5B'
set_var_int_to_constant $1428[0] = 25417
set_var_int_to_constant $1428[1] = 25418
$1426 = 1
goto @CELLFON_18044

:CELLFON_13956
set_var_text_label s$1449[0] = 'MDEN_6A'
set_var_text_label s$1449[1] = 'MDEN_6D'
set_var_int_to_constant $1428[0] = 25419
set_var_int_to_constant $1428[1] = 25420
$1426 = 1
goto @CELLFON_18044

:CELLFON_14014
set_var_text_label s$1449[0] = 'MDEN_7D'
set_var_text_label s$1449[1] = 'MDEN_4D'
set_var_int_to_constant $1428[0] = 25421
set_var_int_to_constant $1428[1] = 25416
$1426 = 1
goto @CELLFON_18044

:CELLFON_14072
set_var_text_label s$1449[0] = 'MDEN_8D'
set_var_text_label s$1449[1] = 'MDEN_6D'
set_var_int_to_constant $1428[0] = 25422
set_var_int_to_constant $1428[1] = 25420
$1426 = 1
goto @CELLFON_18044

:CELLFON_14130
set_var_text_label s$1449[0] = 'MDEN_9D'
set_var_text_label s$1449[1] = 'MDEN_5B'
set_var_int_to_constant $1428[0] = 25423
set_var_int_to_constant $1428[1] = 25418
$1426 = 1
goto @CELLFON_18044

:CELLFON_14188
set_var_text_label s$1449[0] = 'MDEN_1A'
set_var_text_label s$1449[1] = 'MDEN_1B'
set_var_text_label s$1449[2] = 'MDEN_1C'
set_var_text_label s$1449[3] = 'MDEN_1D'
set_var_text_label s$1449[4] = 'MDEN_1E'
set_var_text_label s$1449[5] = 'MDEN_1F'
set_var_text_label s$1449[6] = 'MDEN_1G'
set_var_text_label s$1449[7] = 'MDEN_1H'
set_var_text_label s$1449[8] = 'MDEN_1J'
set_var_text_label s$1449[9] = 'MDEN_1K'
set_var_text_label s$1449[10] = 'MDEN_1L'
set_var_int_to_constant $1428[0] = 25400
set_var_int_to_constant $1428[1] = 25401
set_var_int_to_constant $1428[2] = 25402
set_var_int_to_constant $1428[3] = 25403
set_var_int_to_constant $1428[4] = 25404
set_var_int_to_constant $1428[5] = 25405
set_var_int_to_constant $1428[6] = 25406
set_var_int_to_constant $1428[7] = 25407
set_var_int_to_constant $1428[8] = 25408
set_var_int_to_constant $1428[9] = 25409
set_var_int_to_constant $1428[10] = 25410
$1426 = 10
goto @CELLFON_18044

:CELLFON_14444
set_var_text_label s$1449[0] = 'MMICH2A'
set_var_text_label s$1449[1] = 'MMICH2B'
set_var_int_to_constant $1428[0] = 27609
set_var_int_to_constant $1428[1] = 27610
$1426 = 1
goto @CELLFON_18044

:CELLFON_14502
set_var_text_label s$1449[0] = 'MMICH3A'
set_var_text_label s$1449[1] = 'MMICH3D'
set_var_int_to_constant $1428[0] = 27611
set_var_int_to_constant $1428[1] = 27612
$1426 = 1
goto @CELLFON_18044

:CELLFON_14560
set_var_text_label s$1449[0] = 'MMICH4A'
set_var_text_label s$1449[1] = 'MMICH4B'
set_var_int_to_constant $1428[0] = 27613
set_var_int_to_constant $1428[1] = 27614
$1426 = 1
goto @CELLFON_18044

:CELLFON_14618
set_var_text_label s$1449[0] = 'MMICH5A'
set_var_text_label s$1449[1] = 'MMICH5D'
set_var_int_to_constant $1428[0] = 27615
set_var_int_to_constant $1428[1] = 27616
$1426 = 1
goto @CELLFON_18044

:CELLFON_14676
set_var_text_label s$1449[0] = 'MMICH6A'
set_var_text_label s$1449[1] = 'MMICH6D'
set_var_int_to_constant $1428[0] = 27617
set_var_int_to_constant $1428[1] = 27618
$1426 = 1
goto @CELLFON_18044

:CELLFON_14734
set_var_text_label s$1449[0] = 'MMICH7D'
set_var_text_label s$1449[1] = 'MMICH3D'
set_var_int_to_constant $1428[0] = 27619
set_var_int_to_constant $1428[1] = 27612
$1426 = 1
goto @CELLFON_18044

:CELLFON_14792
set_var_text_label s$1449[0] = 'MMICH8D'
set_var_text_label s$1449[1] = 'MMICH5D'
set_var_int_to_constant $1428[0] = 27620
set_var_int_to_constant $1428[1] = 27616
$1426 = 1
goto @CELLFON_18044

:CELLFON_14850
set_var_text_label s$1449[0] = 'MMICH9D'
set_var_text_label s$1449[1] = 'MMICH4B'
set_var_int_to_constant $1428[0] = 27621
set_var_int_to_constant $1428[1] = 27614
$1426 = 1
goto @CELLFON_18044

:CELLFON_14908
set_var_text_label s$1449[0] = 'MMICH1A'
set_var_text_label s$1449[1] = 'MMICH1B'
set_var_text_label s$1449[2] = 'MMICH1C'
set_var_text_label s$1449[3] = 'MMICH1D'
set_var_text_label s$1449[4] = 'MMICH1E'
set_var_text_label s$1449[5] = 'MMICH1F'
set_var_text_label s$1449[6] = 'MMICH1G'
set_var_text_label s$1449[7] = 'MMICH1H'
set_var_text_label s$1449[8] = 'MMICH1J'
set_var_int_to_constant $1428[0] = 27600
set_var_int_to_constant $1428[1] = 27601
set_var_int_to_constant $1428[2] = 27602
set_var_int_to_constant $1428[3] = 27603
set_var_int_to_constant $1428[4] = 27604
set_var_int_to_constant $1428[5] = 27605
set_var_int_to_constant $1428[6] = 27606
set_var_int_to_constant $1428[7] = 27607
set_var_int_to_constant $1428[8] = 27608
$1426 = 8
goto @CELLFON_18044

:CELLFON_15120
set_var_text_label s$1449[0] = 'MHEL_2A'
set_var_text_label s$1449[1] = 'MHEL_2B'
set_var_int_to_constant $1428[0] = 26214
set_var_int_to_constant $1428[1] = 26215
$1426 = 1
goto @CELLFON_18044

:CELLFON_15178
set_var_text_label s$1449[0] = 'MHEL_3A'
set_var_text_label s$1449[1] = 'MHEL_3B'
set_var_int_to_constant $1428[0] = 26216
set_var_int_to_constant $1428[1] = 26217
$1426 = 1
goto @CELLFON_18044

:CELLFON_15236
set_var_text_label s$1449[0] = 'MHEL_4A'
set_var_text_label s$1449[1] = 'MHEL_4B'
set_var_int_to_constant $1428[0] = 26218
set_var_int_to_constant $1428[1] = 26219
$1426 = 1
goto @CELLFON_18044

:CELLFON_15294
set_var_text_label s$1449[0] = 'MHEL_6A'
set_var_text_label s$1449[1] = 'MHEL_6B'
set_var_int_to_constant $1428[0] = 26222
set_var_int_to_constant $1428[1] = 26223
$1426 = 1
goto @CELLFON_18044

:CELLFON_15352
set_var_text_label s$1449[0] = 'MHEL_5A'
set_var_text_label s$1449[1] = 'MHEL_5B'
set_var_int_to_constant $1428[0] = 26220
set_var_int_to_constant $1428[1] = 26221
$1426 = 1
goto @CELLFON_18044

:CELLFON_15410
set_var_text_label s$1449[0] = 'MHELD7D'
set_var_text_label s$1449[1] = 'MHEL_2B'
set_var_int_to_constant $1428[0] = 26200
set_var_int_to_constant $1428[1] = 26215
$1426 = 1
goto @CELLFON_18044

:CELLFON_15468
set_var_text_label s$1449[0] = 'MHELD9D'
set_var_text_label s$1449[1] = 'MHEL_4B'
set_var_int_to_constant $1428[0] = 26202
set_var_int_to_constant $1428[1] = 26219
$1426 = 1
goto @CELLFON_18044

:CELLFON_15526
set_var_text_label s$1449[0] = 'MHELD8D'
set_var_text_label s$1449[1] = 'MHEL_3B'
set_var_int_to_constant $1428[0] = 26201
set_var_int_to_constant $1428[1] = 26217
$1426 = 1
goto @CELLFON_18044

:CELLFON_15584
set_var_text_label s$1449[0] = 'MHEL_1A'
set_var_text_label s$1449[1] = 'MHEL_1B'
set_var_text_label s$1449[2] = 'MHEL_1C'
set_var_text_label s$1449[3] = 'MHEL_1D'
set_var_text_label s$1449[4] = 'MHEL_1E'
set_var_text_label s$1449[5] = 'MHEL_1F'
set_var_text_label s$1449[6] = 'MHEL_1G'
set_var_text_label s$1449[7] = 'MHEL_1H'
set_var_text_label s$1449[8] = 'MHEL_1J'
set_var_text_label s$1449[9] = 'MHEL_1K'
set_var_int_to_constant $1428[0] = 26203
set_var_int_to_constant $1428[1] = 26204
set_var_int_to_constant $1428[2] = 26205
set_var_int_to_constant $1428[3] = 26206
set_var_int_to_constant $1428[4] = 26207
set_var_int_to_constant $1428[5] = 26208
set_var_int_to_constant $1428[6] = 26209
set_var_int_to_constant $1428[7] = 26210
set_var_int_to_constant $1428[8] = 26211
set_var_int_to_constant $1428[9] = 26212
$1426 = 9
goto @CELLFON_18044

:CELLFON_15818
set_var_text_label s$1449[0] = 'MBARB2A'
set_var_text_label s$1449[1] = 'MBARB2D'
set_var_int_to_constant $1428[0] = 24817
set_var_int_to_constant $1428[1] = 24818
$1426 = 1
goto @CELLFON_18044

:CELLFON_15876
set_var_text_label s$1449[0] = 'MBARB3A'
set_var_text_label s$1449[1] = 'MBARB3B'
set_var_int_to_constant $1428[0] = 24819
set_var_int_to_constant $1428[1] = 24820
$1426 = 1
goto @CELLFON_18044

:CELLFON_15934
set_var_text_label s$1449[0] = 'MBARB4A'
set_var_text_label s$1449[1] = 'MBARB4D'
set_var_int_to_constant $1428[0] = 24821
set_var_int_to_constant $1428[1] = 24822
$1426 = 1
goto @CELLFON_18044

:CELLFON_15992
set_var_text_label s$1449[0] = 'MBARB5A'
set_var_text_label s$1449[1] = 'MBARB5D'
set_var_int_to_constant $1428[0] = 24823
set_var_int_to_constant $1428[1] = 24824
$1426 = 1
goto @CELLFON_18044

:CELLFON_16050
set_var_text_label s$1449[0] = 'MBARB6A'
set_var_text_label s$1449[1] = 'MBARB6B'
set_var_int_to_constant $1428[0] = 24825
set_var_int_to_constant $1428[1] = 24826
$1426 = 1
goto @CELLFON_18044

:CELLFON_16108
set_var_text_label s$1449[0] = 'MBARB7D'
set_var_text_label s$1449[1] = 'MBARB5D'
set_var_int_to_constant $1428[0] = 24827
set_var_int_to_constant $1428[1] = 24824
$1426 = 1
goto @CELLFON_18044

:CELLFON_16166
set_var_text_label s$1449[0] = 'MBARB8D'
set_var_text_label s$1449[1] = 'MBARB3B'
set_var_int_to_constant $1428[0] = 24828
set_var_int_to_constant $1428[1] = 24820
$1426 = 1
goto @CELLFON_18044

:CELLFON_16224
set_var_text_label s$1449[0] = 'MBARB9D'
set_var_text_label s$1449[1] = 'MBARB6B'
set_var_int_to_constant $1428[0] = 24829
set_var_int_to_constant $1428[1] = 24826
$1426 = 1
goto @CELLFON_18044

:CELLFON_16282
set_var_text_label s$1449[0] = 'MBARB1A'
set_var_text_label s$1449[1] = 'MBARB1B'
set_var_text_label s$1449[2] = 'MBARB1C'
set_var_text_label s$1449[3] = 'MBARB1D'
set_var_text_label s$1449[4] = 'MBARB1E'
set_var_text_label s$1449[5] = 'MBARB1F'
set_var_text_label s$1449[6] = 'MBARB1G'
set_var_text_label s$1449[7] = 'MBARB1H'
set_var_text_label s$1449[8] = 'MBARB1J'
set_var_text_label s$1449[9] = 'MBARB1K'
set_var_text_label s$1449[10] = 'MBARB1L'
set_var_text_label s$1449[11] = 'MBARB1M'
set_var_text_label s$1449[12] = 'MBARB1N'
set_var_text_label s$1449[13] = 'MBARB1O'
set_var_text_label s$1449[14] = 'MBARB1P'
set_var_text_label s$1449[15] = 'MBARB1Q'
set_var_text_label s$1449[16] = 'MBARB1R'
set_var_int_to_constant $1428[0] = 24800
set_var_int_to_constant $1428[1] = 24801
set_var_int_to_constant $1428[2] = 24802
set_var_int_to_constant $1428[3] = 24803
set_var_int_to_constant $1428[4] = 24804
set_var_int_to_constant $1428[5] = 24805
set_var_int_to_constant $1428[6] = 24806
set_var_int_to_constant $1428[7] = 24807
set_var_int_to_constant $1428[8] = 24808
set_var_int_to_constant $1428[9] = 24809
set_var_int_to_constant $1428[10] = 24810
set_var_int_to_constant $1428[11] = 24811
set_var_int_to_constant $1428[12] = 24812
set_var_int_to_constant $1428[13] = 24813
set_var_int_to_constant $1428[14] = 24814
set_var_int_to_constant $1428[15] = 24815
set_var_int_to_constant $1428[16] = 24816
$1426 = 16
goto @CELLFON_18044

:CELLFON_16670
set_var_text_label s$1449[0] = 'MZAHN2A'
set_var_text_label s$1449[1] = 'MZAHN2D'
set_var_int_to_constant $1428[0] = 30209
set_var_int_to_constant $1428[1] = 30210
$1426 = 1
goto @CELLFON_18044

:CELLFON_16728
set_var_text_label s$1449[0] = 'MZAHN3A'
set_var_text_label s$1449[1] = 'MZAHN3B'
set_var_int_to_constant $1428[0] = 30211
set_var_int_to_constant $1428[1] = 30212
$1426 = 1
goto @CELLFON_18044

:CELLFON_16786
set_var_text_label s$1449[0] = 'MZAHN4A'
set_var_text_label s$1449[1] = 'MZAHN4D'
set_var_int_to_constant $1428[0] = 30213
set_var_int_to_constant $1428[1] = 30214
$1426 = 1
goto @CELLFON_18044

:CELLFON_16844
set_var_text_label s$1449[0] = 'MZAHN5A'
set_var_text_label s$1449[1] = 'MZAHN5B'
set_var_int_to_constant $1428[0] = 30215
set_var_int_to_constant $1428[1] = 30216
$1426 = 1
goto @CELLFON_18044

:CELLFON_16902
set_var_text_label s$1449[0] = 'MZAHN6A'
set_var_text_label s$1449[1] = 'MZAHN6D'
set_var_int_to_constant $1428[0] = 30217
set_var_int_to_constant $1428[1] = 30218
$1426 = 1
goto @CELLFON_18044

:CELLFON_16960
set_var_text_label s$1449[0] = 'MZAHN7D'
set_var_text_label s$1449[1] = 'MZAHN2D'
set_var_int_to_constant $1428[0] = 30219
set_var_int_to_constant $1428[1] = 30210
$1426 = 1
goto @CELLFON_18044

:CELLFON_17018
set_var_text_label s$1449[0] = 'MZAHN9D'
set_var_text_label s$1449[1] = 'MZAHN4D'
set_var_int_to_constant $1428[0] = 30221
set_var_int_to_constant $1428[1] = 30214
$1426 = 1
goto @CELLFON_18044

:CELLFON_17076
set_var_text_label s$1449[0] = 'MZAHN8D'
set_var_text_label s$1449[1] = 'MZAHN3B'
set_var_int_to_constant $1428[0] = 30220
set_var_int_to_constant $1428[1] = 30212
$1426 = 1
goto @CELLFON_18044

:CELLFON_17134
set_var_text_label s$1449[0] = 'MZAHN1A'
set_var_text_label s$1449[1] = 'MZAHN1B'
set_var_text_label s$1449[2] = 'MZAHN1C'
set_var_text_label s$1449[3] = 'MZAHN1D'
set_var_text_label s$1449[4] = 'MZAHN1E'
set_var_text_label s$1449[5] = 'MZAHN1F'
set_var_text_label s$1449[6] = 'MZAHN1G'
set_var_text_label s$1449[7] = 'MZAHN1H'
set_var_text_label s$1449[8] = 'MZAHN1J'
set_var_int_to_constant $1428[0] = 30200
set_var_int_to_constant $1428[1] = 30201
set_var_int_to_constant $1428[2] = 30202
set_var_int_to_constant $1428[3] = 30203
set_var_int_to_constant $1428[4] = 30204
set_var_int_to_constant $1428[5] = 30205
set_var_int_to_constant $1428[6] = 30206
set_var_int_to_constant $1428[7] = 30207
set_var_int_to_constant $1428[8] = 30208
$1426 = 8
goto @CELLFON_18044

:CELLFON_17346
set_var_text_label s$1449[0] = 'MMILL3A'
set_var_text_label s$1449[1] = 'MMILL3B'
set_var_int_to_constant $1428[0] = 27822
set_var_int_to_constant $1428[1] = 27823
$1426 = 1
goto @CELLFON_18044

:CELLFON_17404
set_var_text_label s$1449[0] = 'MMILL4A'
set_var_text_label s$1449[1] = 'MMILL4D'
set_var_int_to_constant $1428[0] = 27824
set_var_int_to_constant $1428[1] = 27825
$1426 = 1
goto @CELLFON_18044

:CELLFON_17462
set_var_text_label s$1449[0] = 'MMILL5A'
set_var_text_label s$1449[1] = 'MMILL5D'
set_var_int_to_constant $1428[0] = 27826
set_var_int_to_constant $1428[1] = 27827
$1426 = 1
goto @CELLFON_18044

:CELLFON_17520
set_var_text_label s$1449[0] = 'MMILL6A'
set_var_text_label s$1449[1] = 'MMILL6B'
set_var_int_to_constant $1428[0] = 27828
set_var_int_to_constant $1428[1] = 27829
$1426 = 1
goto @CELLFON_18044

:CELLFON_17578
set_var_text_label s$1449[0] = 'MMILL7A'
set_var_text_label s$1449[1] = 'MMILL7D'
set_var_int_to_constant $1428[0] = 27830
set_var_int_to_constant $1428[1] = 27831
$1426 = 1
goto @CELLFON_18044

:CELLFON_17636
set_var_text_label s$1449[0] = 'MMILL8D'
set_var_text_label s$1449[1] = 'MMILL3B'
set_var_int_to_constant $1428[0] = 27832
set_var_int_to_constant $1428[1] = 27823
$1426 = 1
goto @CELLFON_18044

:CELLFON_17694
set_var_text_label s$1449[0] = 'MMILL9D'
set_var_text_label s$1449[1] = 'MMILL4D'
set_var_int_to_constant $1428[0] = 27833
set_var_int_to_constant $1428[1] = 27825
$1426 = 1
goto @CELLFON_18044

:CELLFON_17752
set_var_text_label s$1449[0] = 'MMIL10D'
set_var_text_label s$1449[1] = 'MMILL5D'
set_var_int_to_constant $1428[0] = 27800
set_var_int_to_constant $1428[1] = 27827
$1426 = 1
goto @CELLFON_18044

:CELLFON_17810
set_var_text_label s$1449[0] = 'MMILL1A'
set_var_text_label s$1449[1] = 'MMILL1B'
set_var_text_label s$1449[2] = 'MMILL1C'
set_var_text_label s$1449[3] = 'MMILL1D'
set_var_text_label s$1449[4] = 'MMILL1E'
set_var_text_label s$1449[5] = 'MMILL1F'
set_var_text_label s$1449[6] = 'MMILL1G'
set_var_text_label s$1449[7] = 'MMILL1H'
set_var_text_label s$1449[8] = 'MMILL1J'
set_var_text_label s$1449[9] = 'MMILL1K'
set_var_int_to_constant $1428[0] = 27801
set_var_int_to_constant $1428[1] = 27802
set_var_int_to_constant $1428[2] = 27803
set_var_int_to_constant $1428[3] = 27804
set_var_int_to_constant $1428[4] = 27805
set_var_int_to_constant $1428[5] = 27806
set_var_int_to_constant $1428[6] = 27807
set_var_int_to_constant $1428[7] = 27808
set_var_int_to_constant $1428[8] = 27809
set_var_int_to_constant $1428[9] = 27810
$1426 = 9
goto @CELLFON_18044

:CELLFON_18044
return 

:MOB_LA1
set_deatharrest_state 0
script_name 'MOB_LA1'

:MOB_LA1_15
wait 90
if and
  $weapon_shop1_blip == 0
  $players_skipping_the_call == 0
goto_if_false @MOB_LA1_56
$flag_courier_mission_passed = Clock.GetGameTimer()
$players_skipping_the_call = 1

:MOB_LA1_56
if 
  $trigger_phonecall_failed > 0
goto_if_false @MOB_LA1_76
terminate_this_script 

:MOB_LA1_76
ENTEXT_214()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MOB_LA1_1712
if 
  $main_visible_area == 1
goto_if_false @MOB_LA1_1705
if 
  is_int_var_greater_than_int_var $flag_airrace_mission_passed > $mobile_audio_labels
goto_if_false @MOB_LA1_1705
if 
  $flag_sweet_mission_counter > 0
goto_if_false @MOB_LA1_293
if 
  2 > $flag_crash_mission_counter
goto_if_false @MOB_LA1_293
if 
  $player_x == 3
goto_if_false @MOB_LA1_293
if 
  $1351 == 0
goto_if_false @MOB_LA1_293
$flag_new_cont = 19
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_254
CELLFON_60()
MOB_GF_3328()

:MOB_LA1_254
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_279
$1351 = 1

:MOB_LA1_279
MOB_GF_3168()
goto @MOB_LA1_15

:MOB_LA1_293
if 
  $flag_crash_mission_counter > 0
goto_if_false @MOB_LA1_414
if 
  $1353 == 0
goto_if_false @MOB_LA1_414
$flag_new_cont = 9
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_375
CELLFON_60()
MOB_GF_3328()

:MOB_LA1_375
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_400
$1353 = 1

:MOB_LA1_400
MOB_GF_3168()
goto @MOB_LA1_15

:MOB_LA1_414
if 
  $introX == 4
goto_if_false @MOB_LA1_568
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if or
  $player_is_completely_safe >= 20
  6 > $player_is_completely_safe
goto_if_false @MOB_LA1_568
if 
  $1346 == 0
goto_if_false @MOB_LA1_568
$flag_new_cont = 6
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_529
CELLFON_60()
MOB_GF_3328()

:MOB_LA1_529
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_554
$1346 = 1

:MOB_LA1_554
MOB_GF_3168()
goto @MOB_LA1_15

:MOB_LA1_568
if 
  $flag_crash_mission_counter > 2
goto_if_false @MOB_LA1_1216
if 
  $flag_mob_LA2 == 0
goto_if_false @MOB_LA1_1216
$done_firetruck_progress = Stat.GetFloat(StatId.Fat)
if 
  450.0 > $done_firetruck_progress
goto_if_false @MOB_LA1_639
$flag_new_cont = 20

:MOB_LA1_639
if 
  $done_firetruck_progress >= 450.0
goto_if_false @MOB_LA1_667
$flag_new_cont = 21

:MOB_LA1_667
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_706
CELLFON_60()
MOB_GF_3328()

:MOB_LA1_706
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_1202
$flag_mob_LA2 = 1
Camera.DoFade(500, Fade.Out)

:MOB_LA1_738
if 
  Camera.GetFadingStatus
goto_if_false @MOB_LA1_762
wait 0
goto @MOB_LA1_738

:MOB_LA1_762
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MOB_LA1_819
Player.SetControl($statbike_temp, False)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2228.891, -1737.128, 12.3906)

:MOB_LA1_819
Text.ClearPrints
Streaming.LoadScene(2228.517, -1734.274, 15.744)
Blip.Remove($busted_help)
$busted_help = Blip.AddShortRangeSpriteForCoord(2228.0, -1722.811, 12.5543, RadarSprite.Gym)
Camera.SetFixedPosition(2228.094, -1735.179, 15.6865, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2228.517, -1734.274, 15.744, SwitchType.JumpCut)
wait 500
Camera.DoFade(1000, Fade.In)
Text.PrintHelp('GYMHELP')
wait 5000
Text.PrintHelp('DUMBELL')
Hud.FlashObject(HudObject.Radar)
wait 5000
Hud.FlashObject(-1)
Camera.DoFade(500, Fade.Out)

:MOB_LA1_975
if 
  Camera.GetFadingStatus
goto_if_false @MOB_LA1_999
wait 0
goto @MOB_LA1_975

:MOB_LA1_999
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MOB_LA1_1059
$z -= 0.5
Char.SetCoordinates($stattreadstamina_ctr, $x, $y, $z)
Streaming.LoadScene($x, $y, $z)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)

:MOB_LA1_1059
World.SwitchEntryExit('GYM1', True)
World.SwitchEntryExit('GYM2', True)
World.SwitchEntryExit('GYM3', True)
Blip.Remove($busted_help)
$busted_help = Blip.AddShortRangeSpriteForContactPoint(2228.0, -1722.811, 12.5543, RadarSprite.Gym)
Blip.ChangeDisplay($busted_help, BlipDisplay.BlipOnly)
$2634 = Blip.AddShortRangeSpriteForContactPoint(-2269.4, -155.6, 35.3, RadarSprite.Gym)
Blip.ChangeDisplay($2634, BlipDisplay.BlipOnly)
$2635 = Blip.AddShortRangeSpriteForContactPoint(1968.6, 2292.1, 16.4, RadarSprite.Gym)
Blip.ChangeDisplay($2635, BlipDisplay.BlipOnly)
wait 500
Camera.DoFade(1000, Fade.In)

:MOB_LA1_1202
MOB_GF_3168()
goto @MOB_LA1_15

:MOB_LA1_1216
if 
  $introX > 1
goto_if_false @MOB_LA1_1367
if 
  $1347 == 0
goto_if_false @MOB_LA1_1367
$flag_new_cont = 12
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_1298
CELLFON_60()
MOB_GF_3328()

:MOB_LA1_1298
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_1353
$1347 = 1
start_new_script @CRASH 
Blip.Remove($sweet_blip_icon)
$sweet_blip_icon = Blip.AddSpriteForContactPoint($cesarY, $cesarZ, $cat_contact_blip, $flag_intro_mission_counter)

:MOB_LA1_1353
MOB_GF_3168()
goto @MOB_LA1_15

:MOB_LA1_1367
if 
  $flag_crash_mission_counter > 6
goto_if_false @MOB_LA1_1525
if 
  $1348 == 0
goto_if_false @MOB_LA1_1525
$flag_new_cont = 7
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_1449
CELLFON_60()
MOB_GF_3328()

:MOB_LA1_1449
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_1511
$1348 = 1
start_new_script @CESAR 
Blip.Remove($crash_blip_icon)
$crash_blip_icon = Blip.AddSpriteForContactPoint($bcrash_contact_blip, $bcesar_contact_blip, $truth_contact_blip, $spray_shop4)
Blip.ChangeDisplay($crash_blip_icon, BlipDisplay.BlipOnly)

:MOB_LA1_1511
MOB_GF_3168()
goto @MOB_LA1_15

:MOB_LA1_1525
if 
  $flag_crash_mission_counter > 6
goto_if_false @MOB_LA1_1705
if 
  $introY > 0
goto_if_false @MOB_LA1_1705
if 
  $1350 == 0
goto_if_false @MOB_LA1_1705
$flag_new_cont = 18
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_1625
CELLFON_60()
MOB_GF_3328()

:MOB_LA1_1625
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA1_1691
$1350 = 1
World.SwitchEntryExit('AMMUN1', False)
Blip.Remove($intro_contact_blip)
$intro_contact_blip = Blip.AddSpriteForContactPoint(1365.251, -1280.12, 12.5469, $strap_blip_icon)

:MOB_LA1_1691
MOB_GF_3168()
goto @MOB_LA1_15

:MOB_LA1_1705
goto @MOB_LA1_1719

:MOB_LA1_1712
$RStickX = 0

:MOB_LA1_1719
goto @MOB_LA1_15

:MOB_CAT
set_deatharrest_state 0
script_name 'MOB_CAT'

:MOB_CAT_15
wait 120
if and
  $weapon_shop1_blip == 0
  $players_skipping_the_call == 0
goto_if_false @MOB_CAT_56
$flag_courier_mission_passed = Clock.GetGameTimer()
$players_skipping_the_call = 1

:MOB_CAT_56
if 
  $Thekeycard_contact_blip == 1
goto_if_false @MOB_CAT_76
terminate_this_script 

:MOB_CAT_76
ENTEXT_214()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MOB_CAT_1215
if 
  $main_visible_area == 1
goto_if_false @MOB_CAT_1208
if 
  is_int_var_greater_than_int_var $flag_airrace_mission_passed > $mobile_audio_labels
goto_if_false @MOB_CAT_1208
if 
  $truthX > 0
goto_if_false @MOB_CAT_286
if 
  $1360 == 0
goto_if_false @MOB_CAT_286
$flag_new_cont = 8
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_218
CELLFON_60()
MOB_GF_3328()

:MOB_CAT_218
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_272
$1360 = 1
start_new_script @CAT 
Blip.Remove($cat_blip_icon)
$cat_blip_icon = Blip.AddSpriteForContactPoint($515, $521, $zero_contact_blip, RadarSprite.Qmark)

:MOB_CAT_272
MOB_GF_3168()
goto @MOB_CAT_15

:MOB_CAT_286
if 
  $truthX > 0
goto_if_false @MOB_CAT_407
if 
  $1363 == 0
goto_if_false @MOB_CAT_407
$flag_new_cont = 24
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_368
CELLFON_60()
MOB_GF_3328()

:MOB_CAT_368
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_393
$1363 = 1

:MOB_CAT_393
MOB_GF_3168()
goto @MOB_CAT_15

:MOB_CAT_407
if and
  $bcrashY == 0
  $distance == 1
goto_if_false @MOB_CAT_565
if 
  $1361 == 0
goto_if_false @MOB_CAT_565
$flag_new_cont = 15
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_496
CELLFON_60()
MOB_GF_3328()

:MOB_CAT_496
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_551
$1361 = 1
start_new_script @TRU 
Blip.Remove($flag_catcutscene_counter)
$flag_catcutscene_counter = Blip.AddSpriteForContactPoint($bcesarY, $bcesarZ, $catX, $flag_bcesar_mission_counter)

:MOB_CAT_551
MOB_GF_3168()
goto @MOB_CAT_15

:MOB_CAT_565
if 
  $distance == 3
goto_if_false @MOB_CAT_866
if 
  $1365 == 0
goto_if_false @MOB_CAT_866
$flag_new_cont = 0
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_647
CELLFON_60()
MOB_GF_3328()

:MOB_CAT_647
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_852
$1365 = 1
Zone.SetGangStrength('ELCO1', GangType.Vagos, 40)
Zone.SetGangStrength('ELCO2', GangType.Vagos, 40)
Zone.SetGangStrength('ELCO1', GangType.Aztecas, 0)
Zone.SetGangStrength('ELCO2', GangType.Aztecas, 0)
Zone.SetGangStrength('ELCO1', GangType.Grove, 0)
Zone.SetGangStrength('ELCO2', GangType.Grove, 0)
Zone.SetGangStrength('LMEX1A', GangType.Vagos, 30)
Zone.SetGangStrength('LMEX1B', GangType.Vagos, 30)
Zone.SetGangStrength('LMEX1A', GangType.Aztecas, 0)
Zone.SetGangStrength('LMEX1B', GangType.Aztecas, 0)
Zone.SetGangStrength('LMEX1A', GangType.Grove, 0)
Zone.SetGangStrength('LMEX1B', GangType.Grove, 0)

:MOB_CAT_852
MOB_GF_3168()
goto @MOB_CAT_15

:MOB_CAT_866
if and
  $distance > 1
  $bcrashZ == 0
goto_if_false @MOB_CAT_1047
if 
  $flag_mob_random == 0
goto_if_false @MOB_CAT_1047
$flag_new_cont = 10
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_955
CELLFON_60()
MOB_GF_3328()

:MOB_CAT_955
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_1033
$flag_mob_random = 1
start_new_script @BCESAR 
Blip.Remove($flag_cat_mission_counter)
$flag_cat_mission_counter = Blip.AddSpriteForContactPoint($507, $508, $509, $spray_shop4)
Blip.ChangeDisplay($flag_cat_mission_counter, BlipDisplay.BlipOnly)
Text.Print('BC4_1', 8000, 1)

:MOB_CAT_1033
MOB_GF_3168()
goto @MOB_CAT_15

:MOB_CAT_1047
if and
  $distance > 3
  $bcrashZ > 9
goto_if_false @MOB_CAT_1208
if 
  $1367 == 0
goto_if_false @MOB_CAT_1208
$flag_new_cont = 16
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_1136
CELLFON_60()
MOB_GF_3328()

:MOB_CAT_1136
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_CAT_1194
$1367 = 1
Blip.Remove($flag_catcutscene_counter)
$flag_catcutscene_counter = Blip.AddSpriteForContactPoint($truth2Y, $truth2Z, $bcesarX, $flag_bcesar_mission_counter)
Game.SetMaxWantedLevel(5)
$Thekeycard_contact_blip = 1

:MOB_CAT_1194
MOB_GF_3168()
goto @MOB_CAT_15

:MOB_CAT_1208
goto @MOB_CAT_1222

:MOB_CAT_1215
$RStickX = 0

:MOB_CAT_1222
goto @MOB_CAT_15

:MOB_SF
set_deatharrest_state 0
script_name 'MOB_SF'

:MOB_SF_15
wait 150
if and
  $weapon_shop1_blip == 0
  $players_skipping_the_call == 0
goto_if_false @MOB_SF_57
$flag_courier_mission_passed = Clock.GetGameTimer()
$players_skipping_the_call = 1

:MOB_SF_57
if 
  $loan_shark_reminder == 1
goto_if_false @MOB_SF_131
if 
  $1403 == 1
goto_if_false @MOB_SF_131
if 
  $1402 == 1
goto_if_false @MOB_SF_131
if 
  $1400 == 1
goto_if_false @MOB_SF_131
terminate_this_script 

:MOB_SF_131
ENTEXT_214()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MOB_SF_2048
if 
  $main_visible_area == 1
goto_if_false @MOB_SF_2041
if 
  is_int_var_greater_than_int_var $flag_airrace_mission_passed > $mobile_audio_labels
goto_if_false @MOB_SF_2041
if 
  $garageZ > 2
goto_if_false @MOB_SF_342
if 
  $1405 == 0
goto_if_false @MOB_SF_342
$flag_new_cont = 34
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_273
CELLFON_60()
MOB_GF_3328()

:MOB_SF_273
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_328
$1405 = 1
start_new_script @WUZI 
Blip.Remove($trace_contact_blip)
$trace_contact_blip = Blip.AddSpriteForContactPoint($stealY, $stealZ, $syndX, $trace_blip_icon)

:MOB_SF_328
MOB_GF_3168()
goto @MOB_SF_15

:MOB_SF_342
if 
  $flag_synd_mission_counter > 0
goto_if_false @MOB_SF_499
if 
  $1399 == 0
goto_if_false @MOB_SF_499
$flag_new_cont = 29
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_424
CELLFON_60()
MOB_GF_3328()

:MOB_SF_424
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_485
$1399 = 1
start_new_script @BUY2 
Blip.Remove($531)
$531 = Blip.AddSpriteForContactPoint($1528[1], $1560[1], $1592[1], RadarSprite.Zero)
Blip.ChangeDisplay($531, BlipDisplay.BlipOnly)

:MOB_SF_485
MOB_GF_3168()
goto @MOB_SF_15

:MOB_SF_499
if and
  $flag_synd_mission_counter > 0
  $1624 == 1
goto_if_false @MOB_SF_657
if 
  $1400 == 0
goto_if_false @MOB_SF_657
$flag_new_cont = 30
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_588
CELLFON_60()
MOB_GF_3328()

:MOB_SF_588
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_643
$1400 = 1
start_new_script @ZERO 
Blip.Remove($531)
$531 = Blip.AddSpriteForContactPoint($wuziY, $wuziZ, $stealX, $flag_wuzi_mission_counter)

:MOB_SF_643
MOB_GF_3168()
goto @MOB_SF_15

:MOB_SF_657
if 
  $flag_synd_mission_counter > 1
goto_if_false @MOB_SF_881
if 
  $1401 == 0
goto_if_false @MOB_SF_881
$flag_new_cont = 31
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_739
CELLFON_60()
MOB_GF_3328()

:MOB_SF_739
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_867
$1401 = 1
start_new_script @TRACE 
$flag_heist_mission_counter = Blip.AddSpriteForContactPoint($desert2_contact_blip, $casino_contact_blip, $vcrash_contact_blip, RadarSprite.School)
Blip.ChangeDisplay($flag_heist_mission_counter, BlipDisplay.BlipOnly)
start_new_script @BSCHOO 
Blip.Remove($mansionY)
$mansionY = Blip.AddShortRangeSpriteForContactPoint($bikesY, $bikesZ, $truckX, RadarSprite.School)
Blip.ChangeDisplay($mansionY, BlipDisplay.BlipOnly)
start_new_script @BIKES 
Blip.Remove($groveX)
$groveX = Blip.AddShortRangeSpriteForContactPoint($truckY, $truckZ, $danceX, RadarSprite.School)
Blip.ChangeDisplay($groveX, BlipDisplay.BlipOnly)

:MOB_SF_867
MOB_GF_3168()
goto @MOB_SF_15

:MOB_SF_881
if and
  $flag_kickstart_passed_1stime == 1
  $flag_casino_mission_counter > 3
goto_if_false @MOB_SF_1093
if 
  $1402 == 0
goto_if_false @MOB_SF_1093
$flag_new_cont = 32
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_970
CELLFON_60()
MOB_GF_3328()

:MOB_SF_970
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_1079
$1402 = 1
Blip.Remove($scrash_contact_blip)
Blip.Remove($garage_contact_blip)
Blip.Remove($wuzi_blip_icon)
Blip.Remove($synd_blip_icon)
$scrash_contact_blip = Blip.AddShortRangeSpriteForContactPoint($traceY[0], $traceZ[0], $scrashX[0], RadarSprite.Flag)
$garage_contact_blip = Blip.AddShortRangeSpriteForContactPoint($traceY[1], $traceZ[1], $scrashX[1], RadarSprite.Flag)
$wuzi_blip_icon = Blip.AddShortRangeSpriteForContactPoint($traceY[2], $traceZ[2], $scrashX[2], RadarSprite.Flag)
$synd_blip_icon = Blip.AddShortRangeSpriteForContactPoint($traceY[3], $traceZ[3], $scrashX[3], RadarSprite.Flag)

:MOB_SF_1079
MOB_GF_3168()
goto @MOB_SF_15

:MOB_SF_1093
if and
  $loan_shark_hitmen == 1
  $flag_kickstart_passed_1stime == 1
goto_if_false @MOB_SF_1257
if 
  $1403 == 0
goto_if_false @MOB_SF_1257
$flag_new_cont = 33
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_1182
CELLFON_60()
MOB_GF_3328()

:MOB_SF_1182
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_1243
$1403 = 1
start_new_script @BUY1 
Blip.Remove($player_y)
$player_y = Blip.AddSpriteForContactPoint($1528[0], $1560[0], $1592[0], RadarSprite.CesarViapando)
Blip.ChangeDisplay($player_y, BlipDisplay.BlipOnly)

:MOB_SF_1243
MOB_GF_3168()
goto @MOB_SF_15

:MOB_SF_1257
if 
  $garageZ == 10
goto_if_false @MOB_SF_1465
if 
  $loan_shark_hitmen == 0
goto_if_false @MOB_SF_1465
$flag_new_cont = 41
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_1339
CELLFON_60()
MOB_GF_3328()

:MOB_SF_1339
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_1451
$loan_shark_hitmen = 1
start_new_script @DESERT 
Blip.Remove($food_shop1)
Pickup.Remove($869[16])
$869[16] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[16], $908[16], $926[16])
$889 = 17
$food_shop1 = Blip.AddShortRangeSpriteForContactPoint($890[16], $908[16], $926[16], RadarSprite.SaveGame)
Blip.ChangeDisplay($food_shop1, BlipDisplay.BlipOnly)
Blip.Remove($doc_contact_blip)
$doc_contact_blip = Blip.AddSpriteForContactPoint($desert2Y, $desert2Z, $casinoX, RadarSprite.Qmark)

:MOB_SF_1451
MOB_GF_3168()
goto @MOB_SF_15

:MOB_SF_1465
if 
  $flag_casino_mission_counter > 0
goto_if_false @MOB_SF_1607
if 
  $1404 == 0
goto_if_false @MOB_SF_1607
$flag_new_cont = 42
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_1547
CELLFON_60()
MOB_GF_3328()

:MOB_SF_1547
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_1593
$1404 = 1
Blip.Remove($doc_contact_blip)
$doc_contact_blip = Blip.AddSpriteForContactPoint($desert2Y, $desert2Z, $casinoX, RadarSprite.Qmark)

:MOB_SF_1593
MOB_GF_3168()
goto @MOB_SF_15

:MOB_SF_1607
if 
  $flag_casino_mission_counter > 1
goto_if_false @MOB_SF_1750
if 
  $1406 == 0
goto_if_false @MOB_SF_1750
$flag_new_cont = 43
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_1689
CELLFON_60()
MOB_GF_3328()

:MOB_SF_1689
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_1736
$1406 = 1
Blip.Remove($doc_contact_blip)
$doc_contact_blip = Blip.AddSpriteForContactPoint($desert2Y, $desert2Z, $casinoX, $heist_blip_icon)

:MOB_SF_1736
MOB_GF_3168()
goto @MOB_SF_15

:MOB_SF_1750
if 
  $f1_the90_best_score > 0
goto_if_false @MOB_SF_2041
if 
  $loan_shark_reminder == 0
goto_if_false @MOB_SF_2041
$flag_new_cont = 35
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_1832
CELLFON_60()
MOB_GF_3328()

:MOB_SF_1832
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_SF_2027
$loan_shark_reminder = 1
terminate_all_scripts_with_this_name 'MOB_VEG'
start_new_script @MOB_VEG 
start_new_script @CASINO 
Pickup.Remove($869[17])
$869[17] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[17], $908[17], $926[17])
$889 = 18
$clothes_shop1 = Blip.AddShortRangeSpriteForContactPoint($890[17], $908[17], $926[17], RadarSprite.SaveGame)
Blip.ChangeDisplay($clothes_shop1, BlipDisplay.BlipOnly)
Blip.Remove($desert_blip_icon)
$desert_blip_icon = Blip.AddSpriteForContactPoint($TheheistY, $TheheistZ, $vcrashX, $pilot_contact_blip)
Blip.SetEntryExit($desert_blip_icon, 2026.603, 1007.735, 20.0)
Garage.Activate('VECMOD')
$2594 = Blip.AddShortRangeSpriteForCoord(2382.2, 1044.0, 9.8, RadarSprite.ModGarage)
Stat.SetInt(StatId.PassedCasino3, 1)
start_new_script @LITCAS 

:MOB_SF_2027
MOB_GF_3168()
goto @MOB_SF_15

:MOB_SF_2041
goto @MOB_SF_2055

:MOB_SF_2048
$RStickX = 0

:MOB_SF_2055
goto @MOB_SF_15

:MOB_VEG
set_deatharrest_state 0
script_name 'MOB_VEG'

:MOB_VEG_15
wait 180
if and
  $weapon_shop1_blip == 0
  $players_skipping_the_call == 0
goto_if_false @MOB_VEG_57
$flag_courier_mission_passed = Clock.GetGameTimer()
$players_skipping_the_call = 1

:MOB_VEG_57
if 
  $1390 == 1
goto_if_false @MOB_VEG_95
if 
  $1386 == 1
goto_if_false @MOB_VEG_95
terminate_this_script 

:MOB_VEG_95
ENTEXT_214()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MOB_VEG_2293
if 
  $main_visible_area == 1
goto_if_false @MOB_VEG_2286
if 
  is_int_var_greater_than_int_var $flag_airrace_mission_passed > $mobile_audio_labels
goto_if_false @MOB_VEG_2286
if 
  $flag_casino_mission_counter > 7
goto_if_false @MOB_VEG_298
if 
  $1393 == 0
goto_if_false @MOB_VEG_298
$flag_new_cont = 17
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_237
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_237
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_284
$1393 = 1
Blip.Remove($heist_contact_blip)
$heist_contact_blip = Blip.AddSpriteForContactPoint($casinoY, $casinoZ, $TheheistX, $pilot_blip_icon)

:MOB_VEG_284
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_298
if and
  $desertY > 0
  $desertX > 7
goto_if_false @MOB_VEG_454
if 
  $1382 == 0
goto_if_false @MOB_VEG_454
$flag_new_cont = 13
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_387
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_387
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_440
$1382 = 1
Blip.Remove($desert2_blip_icon)
$desert2_blip_icon = Blip.AddSpriteForContactPoint(-378.7596, 2235.859, 41.4288, $flag_intro_mission_counter)

:MOB_VEG_440
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_454
if 
  $desertX > 3
goto_if_false @MOB_VEG_617
if 
  $1384 == 0
goto_if_false @MOB_VEG_617
$flag_new_cont = 47
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_536
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_536
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_603
$1384 = 1
Blip.Remove($desert_blip_icon)
$desert_blip_icon = Blip.AddSpriteForContactPoint($grove_contact_blip, $mansion_blip_icon, $grove_blip_icon, $Theheist_blip_icon)
Blip.SetEntryExit($desert_blip_icon, 2187.286, 1678.461, 20.0)

:MOB_VEG_603
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_617
if 
  $desertX > 6
goto_if_false @MOB_VEG_780
if 
  $1385 == 0
goto_if_false @MOB_VEG_780
$flag_new_cont = 48
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_699
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_699
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_766
$1385 = 1
Blip.Remove($desert_blip_icon)
$desert_blip_icon = Blip.AddSpriteForContactPoint($grove_contact_blip, $mansion_blip_icon, $grove_blip_icon, $Theheist_blip_icon)
Blip.SetEntryExit($desert_blip_icon, 2187.286, 1678.461, 20.0)

:MOB_VEG_766
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_780
if 
  $desertX > 7
goto_if_false @MOB_VEG_997
if 
  $desertY > 1
goto_if_false @MOB_VEG_997
if 
  $desertZ > 0
goto_if_false @MOB_VEG_997
if 
  $flag_casino_mission_counter > 8
goto_if_false @MOB_VEG_997
if 
  $1386 == 0
goto_if_false @MOB_VEG_997
$flag_new_cont = 49
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_916
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_916
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_983
$1386 = 1
Blip.Remove($desert_blip_icon)
$desert_blip_icon = Blip.AddSpriteForContactPoint($grove_contact_blip, $mansion_blip_icon, $grove_blip_icon, $Theheist_blip_icon)
Blip.SetEntryExit($desert_blip_icon, 2187.286, 1678.461, 20.0)

:MOB_VEG_983
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_997
if 
  $desert2X > 1
goto_if_false @MOB_VEG_1245
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @MOB_VEG_1245
$audio_slot_mobile = Stat.GetInt(StatId.GirlfriendMillie)
if 
  $audio_slot_mobile >= 35
goto_if_false @MOB_VEG_1245
if 
  $1383 == 0
goto_if_false @MOB_VEG_1245
$flag_new_cont = 53
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_1123
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_1123
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_1231
$millie_marker = Pickup.Create(#KEYCARD, PickupType.Once, 348.7857, 306.1048, 998.6557)
start_new_script @KEYCARD 
Blip.Remove($millies_like_stat)
$millies_like_stat = Blip.AddSpriteForContactPoint(2037.349, 2723.971, 9.8281, $flag_vcrash_mission_counter)
Blip.ChangeDisplay($millies_like_stat, BlipDisplay.BlipOnly)
Text.PrintNow('GOODKEY', 6000, 1)
$1383 = 1

:MOB_VEG_1231
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_1245
if 
  $desert2X > 1
goto_if_false @MOB_VEG_1537
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @MOB_VEG_1537
if or
  $363[5] == -100
  $363[5] == -999
goto_if_false @MOB_VEG_1537
if 
  $1383 == 0
goto_if_false @MOB_VEG_1537
if 
  $363[5] == -999
goto_if_false @MOB_VEG_1351
$flag_new_cont = 40

:MOB_VEG_1351
if 
  $363[5] == -100
goto_if_false @MOB_VEG_1376
$flag_new_cont = 39

:MOB_VEG_1376
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_1415
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_1415
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_1523
$millie_marker = Pickup.Create(#KEYCARD, PickupType.Once, 348.7857, 306.1048, 998.6557)
start_new_script @KEYCARD 
Blip.Remove($millies_like_stat)
$millies_like_stat = Blip.AddSpriteForContactPoint(2037.349, 2723.971, 9.8281, $flag_vcrash_mission_counter)
Blip.ChangeDisplay($millies_like_stat, BlipDisplay.BlipOnly)
Text.PrintNow('BADKEY', 6000, 1)
$1383 = 1

:MOB_VEG_1523
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_1537
if and
  $desert2X > 4
  $activate_mobile_phone == 0
  $1388 == 0
goto_if_false @MOB_VEG_1672
if 
  $1387 == 0
goto_if_false @MOB_VEG_1672
$flag_new_cont = 36
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_1633
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_1633
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_1658
$1387 = 1

:MOB_VEG_1658
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_1672
if and
  $desertX > 8
  $desert2X <> 6
goto_if_false @MOB_VEG_1800
if 
  $1389 == 0
goto_if_false @MOB_VEG_1800
$flag_new_cont = 51
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_1761
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_1761
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_1786
$1389 = 1

:MOB_VEG_1786
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_1800
if and
  $desertX > 8
  $1388 == 0
goto_if_false @MOB_VEG_1995
if 
  $1394 == 0
goto_if_false @MOB_VEG_1995
$flag_new_cont = 38
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_1889
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_1889
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_1981
$1394 = 1
if 
  $activate_mobile_phone == 1
goto_if_false @MOB_VEG_1981
Blip.Remove($flag_doc_mission_counter)
$flag_doc_mission_counter = Blip.AddSpriteForContactPoint($vcrashY, $vcrashZ, $docX, $flag_vcrash_mission_counter)
Blip.SetEntryExit($flag_doc_mission_counter, 2024.39, 1008.62, 20.0)
$1388 = 1

:MOB_VEG_1981
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_1995
if and
  $desertX > 8
  $activate_mobile_phone == 1
goto_if_false @MOB_VEG_2165
if 
  $1388 == 0
goto_if_false @MOB_VEG_2165
$flag_new_cont = 37
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_2084
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_2084
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_2151
$1388 = 1
Blip.Remove($flag_doc_mission_counter)
$flag_doc_mission_counter = Blip.AddSpriteForContactPoint($vcrashY, $vcrashZ, $docX, $flag_vcrash_mission_counter)
Blip.SetEntryExit($flag_doc_mission_counter, 2024.39, 1008.62, 20.0)

:MOB_VEG_2151
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_2165
if 
  $desert2X > 5
goto_if_false @MOB_VEG_2286
if 
  $1390 == 0
goto_if_false @MOB_VEG_2286
$flag_new_cont = 52
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_2247
CELLFON_60()
MOB_GF_3328()

:MOB_VEG_2247
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_VEG_2272
$1390 = 1

:MOB_VEG_2272
MOB_GF_3168()
goto @MOB_VEG_15

:MOB_VEG_2286
goto @MOB_VEG_2300

:MOB_VEG_2293
$RStickX = 0

:MOB_VEG_2300
goto @MOB_VEG_15

:MOB_LA2
set_deatharrest_state 0
script_name 'MOB_LA2'

:MOB_LA2_15
wait 250
if and
  $weapon_shop1_blip == 0
  $players_skipping_the_call == 0
goto_if_false @MOB_LA2_57
$flag_courier_mission_passed = Clock.GetGameTimer()
$players_skipping_the_call = 1

:MOB_LA2_57
if 
  $1358 == 1
goto_if_false @MOB_LA2_77
terminate_this_script 

:MOB_LA2_77
ENTEXT_214()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MOB_LA2_763
if 
  $main_visible_area == 1
goto_if_false @MOB_LA2_756
if 
  is_int_var_greater_than_int_var $flag_airrace_mission_passed > $mobile_audio_labels
goto_if_false @MOB_LA2_756
if 
  $boat_school_blip > 0
goto_if_false @MOB_LA2_280
if 
  $flag_mob_cat == 0
goto_if_false @MOB_LA2_280
$flag_new_cont = 50
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA2_219
CELLFON_60()
MOB_GF_3328()

:MOB_LA2_219
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA2_266
$flag_mob_cat = 1
Blip.Remove($flag_mansion_mission_counter)
$flag_mansion_mission_counter = Blip.AddSpriteForContactPoint($groveY, $groveZ, $RouletteX, $quarry_contact_blip)

:MOB_LA2_266
MOB_GF_3168()
goto @MOB_LA2_15

:MOB_LA2_280
if and
  $desertX > 2
  2 > $boat_school_blip
goto_if_false @MOB_LA2_408
if 
  $1357 == 0
goto_if_false @MOB_LA2_408
$flag_new_cont = 25
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA2_369
CELLFON_60()
MOB_GF_3328()

:MOB_LA2_369
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA2_394
$1357 = 1

:MOB_LA2_394
MOB_GF_3168()
goto @MOB_LA2_15

:MOB_LA2_408
if 
  $mansionX > 1
goto_if_false @MOB_LA2_590
if 
  $1359 == 0
goto_if_false @MOB_LA2_590
$flag_new_cont = 22
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA2_490
CELLFON_60()
MOB_GF_3328()

:MOB_LA2_490
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA2_537
Blip.Remove($intro_contact_blip)
$intro_contact_blip = Blip.AddSpriteForContactPoint($ryderY, $ryderZ, $smokeX, $strap_blip_icon)
$1359 = 1

:MOB_LA2_537
MOB_GF_3168()
$flag_cat_mission2_passed = Stat.GetTerritoryUnderControlPercentage()
if 
  34 >= $flag_cat_mission2_passed
goto_if_false @MOB_LA2_583
Text.PrintNow('MORTURF', 12000, 1)

:MOB_LA2_583
goto @MOB_LA2_15

:MOB_LA2_590
if 
  $mansionX > 1
goto_if_false @MOB_LA2_756
$flag_cat_mission2_passed = Stat.GetTerritoryUnderControlPercentage()
if 
  $flag_cat_mission2_passed > 34
goto_if_false @MOB_LA2_756
if 
  $1358 == 0
goto_if_false @MOB_LA2_756
$flag_new_cont = 23
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA2_695
CELLFON_60()
MOB_GF_3328()

:MOB_LA2_695
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_LA2_742
Blip.Remove($intro_contact_blip)
$intro_contact_blip = Blip.AddSpriteForContactPoint($ryderY, $ryderZ, $smokeX, $strap_blip_icon)
$1358 = 1

:MOB_LA2_742
MOB_GF_3168()
goto @MOB_LA2_15

:MOB_LA2_756
goto @MOB_LA2_770

:MOB_LA2_763
$RStickX = 0

:MOB_LA2_770
goto @MOB_LA2_15

:MOB_RAN
set_deatharrest_state 0
script_name 'MOB_RAN'

:MOB_RAN_15
wait 1000
if and
  $weapon_shop1_blip == 0
  $players_skipping_the_call == 0
goto_if_false @MOB_RAN_57
$flag_courier_mission_passed = Clock.GetGameTimer()
$players_skipping_the_call = 1

:MOB_RAN_57
ENTEXT_214()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MOB_RAN_2260
if 
  $main_visible_area == 1
goto_if_false @MOB_RAN_2253
if 
  $flag_airrace_mission_passed > 60000
goto_if_false @MOB_RAN_2253
if and
  $1850 == 1
  $introZ == 0
goto_if_false @MOB_RAN_247
if 
  $1375 == 0
goto_if_false @MOB_RAN_247
$flag_new_cont = 11
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_208
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_208
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_233
$1375 = 1

:MOB_RAN_233
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_247
if and
  $swim_stamina_check_main == 1
  $flag_la1fin1_mission_counter == 1
goto_if_false @MOB_RAN_403
$done_firetruck_progress = Stat.GetFloat(StatId.Fat)
if 
  $done_firetruck_progress >= 500.0
goto_if_false @MOB_RAN_403
if 
  $1376 == 0
goto_if_false @MOB_RAN_403
$flag_new_cont = 14
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_364
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_364
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_389
$1376 = 1

:MOB_RAN_389
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_403
if 
  $garageX > 1
goto_if_false @MOB_RAN_524
if 
  $1370 == 0
goto_if_false @MOB_RAN_524
$flag_new_cont = 1
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_485
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_485
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_510
$1370 = 1

:MOB_RAN_510
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_524
if 
  $flag_casino_mission_counter > 5
goto_if_false @MOB_RAN_645
if 
  $1371 == 0
goto_if_false @MOB_RAN_645
$flag_new_cont = 2
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_606
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_606
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_631
$1371 = 1

:MOB_RAN_631
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_645
if 
  $desertX > 5
goto_if_false @MOB_RAN_766
if 
  $1372 == 0
goto_if_false @MOB_RAN_766
$flag_new_cont = 3
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_727
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_727
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_752
$1372 = 1

:MOB_RAN_752
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_766
if 
  $boat_school_blip > 2
goto_if_false @MOB_RAN_887
if 
  $1373 == 0
goto_if_false @MOB_RAN_887
$flag_new_cont = 4
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_848
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_848
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_873
$1373 = 1

:MOB_RAN_873
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_887
if 
  $mansionX > 4
goto_if_false @MOB_RAN_1008
if 
  $1374 == 0
goto_if_false @MOB_RAN_1008
$flag_new_cont = 5
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_969
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_969
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_994
$1374 = 1

:MOB_RAN_994
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_1008
if and
  $d5_gold_generator == 1
  $f1_the90_best_score == 0
goto_if_false @MOB_RAN_1136
if 
  $1377 == 0
goto_if_false @MOB_RAN_1136
$flag_new_cont = 44
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_1097
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_1097
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_1122
$1377 = 1

:MOB_RAN_1122
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_1136
if and
  $d5_gold_generator == 1
  $f1_the90_best_score == 0
  $1377 == 1
goto_if_false @MOB_RAN_1271
if 
  $flag_mob_vegas == 0
goto_if_false @MOB_RAN_1271
$flag_new_cont = 45
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_1232
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_1232
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_1257
$flag_mob_vegas = 1

:MOB_RAN_1257
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_1271
if and
  $d5_gold_generator == 1
  $f1_the90_best_score == 0
  $flag_mob_vegas == 1
goto_if_false @MOB_RAN_1406
if 
  $1379 == 0
goto_if_false @MOB_RAN_1406
$flag_new_cont = 46
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_1367
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_1367
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_1392
$1379 = 1

:MOB_RAN_1392
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_1406
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(76)
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 3
goto_if_false @MOB_RAN_2253
if 
  not Player.IsScoreGreater($statbike_temp, -499)
goto_if_false @MOB_RAN_2253
if 
  $flag_cat_mission4_passed == 0
goto_if_false @MOB_RAN_2253
if 
  $1380 == 0
goto_if_false @MOB_RAN_1834
if 
  $terminate_cat_calls == 7
goto_if_false @MOB_RAN_1518
$flag_new_cont = 61
$terminate_cat_calls = 0

:MOB_RAN_1518
if 
  $terminate_cat_calls == 6
goto_if_false @MOB_RAN_1550
$flag_new_cont = 60
$terminate_cat_calls = 7

:MOB_RAN_1550
if 
  $terminate_cat_calls == 5
goto_if_false @MOB_RAN_1582
$flag_new_cont = 59
$terminate_cat_calls = 6

:MOB_RAN_1582
if 
  $terminate_cat_calls == 4
goto_if_false @MOB_RAN_1614
$flag_new_cont = 58
$terminate_cat_calls = 5

:MOB_RAN_1614
if 
  $terminate_cat_calls == 3
goto_if_false @MOB_RAN_1646
$flag_new_cont = 57
$terminate_cat_calls = 4

:MOB_RAN_1646
if 
  $terminate_cat_calls == 2
goto_if_false @MOB_RAN_1678
$flag_new_cont = 56
$terminate_cat_calls = 3

:MOB_RAN_1678
if 
  $terminate_cat_calls == 1
goto_if_false @MOB_RAN_1710
$flag_new_cont = 55
$terminate_cat_calls = 2

:MOB_RAN_1710
if 
  $terminate_cat_calls == 0
goto_if_false @MOB_RAN_1742
$flag_new_cont = 54
$terminate_cat_calls = 1

:MOB_RAN_1742
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_1781
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_1781
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_1820
$1380 = 1
$1381 = 0
$Thekeycard_contact_blip = 1

:MOB_RAN_1820
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_1834
if 
  $1380 == 1
goto_if_false @MOB_RAN_2211
if 
  $1381 == 0
goto_if_false @MOB_RAN_2211
if 
  $call_number == 7
goto_if_false @MOB_RAN_1902
$flag_new_cont = 69
$call_number = 0

:MOB_RAN_1902
if 
  $call_number == 6
goto_if_false @MOB_RAN_1934
$flag_new_cont = 68
$call_number = 7

:MOB_RAN_1934
if 
  $call_number == 5
goto_if_false @MOB_RAN_1966
$flag_new_cont = 67
$call_number = 6

:MOB_RAN_1966
if 
  $call_number == 4
goto_if_false @MOB_RAN_1998
$flag_new_cont = 66
$call_number = 5

:MOB_RAN_1998
if 
  $call_number == 3
goto_if_false @MOB_RAN_2030
$flag_new_cont = 65
$call_number = 4

:MOB_RAN_2030
if 
  $call_number == 2
goto_if_false @MOB_RAN_2062
$flag_new_cont = 64
$call_number = 3

:MOB_RAN_2062
if 
  $call_number == 1
goto_if_false @MOB_RAN_2094
$flag_new_cont = 63
$call_number = 2

:MOB_RAN_2094
if 
  $call_number == 0
goto_if_false @MOB_RAN_2126
$flag_new_cont = 62
$call_number = 1

:MOB_RAN_2126
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_2165
CELLFON_60()
MOB_GF_3328()

:MOB_RAN_2165
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_RAN_2197
$1381 = 1
$Thekeycard_contact_blip = 1

:MOB_RAN_2197
MOB_GF_3168()
goto @MOB_RAN_15

:MOB_RAN_2211
if 
  $1381 == 1
goto_if_false @MOB_RAN_2253
StreamedScript.Stream(76)
if 
  StreamedScript.HasLoaded(76)
goto_if_false @MOB_RAN_2253
StreamedScript.StartNew(76)

:MOB_RAN_2253
goto @MOB_RAN_2267

:MOB_RAN_2260
$RStickX = 0

:MOB_RAN_2267
goto @MOB_RAN_15

:MOB_GF
script_name 'MOB_GF'
set_deatharrest_state 0
set_global_var_bit_const $395 {n} 11
clear_global_var_bit_const $395 {n} 10
2@ = Math.RandomIntInRange(0, 8)

:MOB_GF_38
wait 150
ENTEXT_214()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MOB_GF_1073
if 
  $main_visible_area == 1
goto_if_false @MOB_GF_1050
if 
  is_int_var_greater_than_int_var $flag_airrace_mission_passed > $mobile_audio_labels
goto_if_false @MOB_GF_1043
if 
  0@ == 0
goto_if_false @MOB_GF_264
if 
  1@ == 1
goto_if_false @MOB_GF_186
$flag_new_cont = 70
add_int_lvar_to_int_var $flag_new_cont += 2@
if 
  $flag_new_cont > 77
goto_if_false @MOB_GF_179
$flag_new_cont = 77

:MOB_GF_179
goto @MOB_GF_194

:MOB_GF_186
$flag_new_cont = 130

:MOB_GF_194
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_GF_248
set_global_var_bit_const $395 {n} 10
set_global_var_bit_lvar $395 {var_n} 0@
CELLFON_60()
MOB_GF_3328()

:MOB_GF_248
clear_global_var_bit_const $395 {n} 11
MOB_GF_3168()
terminate_this_script 

:MOB_GF_264
if 
  0@ == 1
goto_if_false @MOB_GF_417
if 
  1@ == 1
goto_if_false @MOB_GF_347
$flag_new_cont = 80
add_int_lvar_to_int_var $flag_new_cont += 2@
if 
  $flag_new_cont > 87
goto_if_false @MOB_GF_340
$flag_new_cont = 87

:MOB_GF_340
goto @MOB_GF_355

:MOB_GF_347
$flag_new_cont = 131

:MOB_GF_355
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_GF_401
set_global_var_bit_const $395 {n} 10
CELLFON_60()
MOB_GF_3328()

:MOB_GF_401
clear_global_var_bit_const $395 {n} 11
MOB_GF_3168()
terminate_this_script 

:MOB_GF_417
if 
  0@ == 2
goto_if_false @MOB_GF_570
if 
  1@ == 1
goto_if_false @MOB_GF_500
$flag_new_cont = 90
add_int_lvar_to_int_var $flag_new_cont += 2@
if 
  $flag_new_cont > 97
goto_if_false @MOB_GF_493
$flag_new_cont = 97

:MOB_GF_493
goto @MOB_GF_508

:MOB_GF_500
$flag_new_cont = 132

:MOB_GF_508
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_GF_554
set_global_var_bit_const $395 {n} 10
CELLFON_60()
MOB_GF_3328()

:MOB_GF_554
clear_global_var_bit_const $395 {n} 11
MOB_GF_3168()
terminate_this_script 

:MOB_GF_570
if 
  0@ == 3
goto_if_false @MOB_GF_730
if 
  1@ == 1
goto_if_false @MOB_GF_653
$flag_new_cont = 100
add_int_lvar_to_int_var $flag_new_cont += 2@
if 
  $flag_new_cont > 107
goto_if_false @MOB_GF_646
$flag_new_cont = 107

:MOB_GF_646
goto @MOB_GF_661

:MOB_GF_653
$flag_new_cont = 133

:MOB_GF_661
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_GF_714
set_global_var_bit_const $395 {n} 10
CELLFON_60()
MOB_GF_3328()
set_global_var_bit_const $395 {n} 10

:MOB_GF_714
clear_global_var_bit_const $395 {n} 11
MOB_GF_3168()
terminate_this_script 

:MOB_GF_730
if 
  0@ == 4
goto_if_false @MOB_GF_890
if 
  1@ == 1
goto_if_false @MOB_GF_813
$flag_new_cont = 110
add_int_lvar_to_int_var $flag_new_cont += 2@
if 
  $flag_new_cont > 117
goto_if_false @MOB_GF_806
$flag_new_cont = 117

:MOB_GF_806
goto @MOB_GF_821

:MOB_GF_813
$flag_new_cont = 134

:MOB_GF_821
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_GF_874
set_global_var_bit_const $395 {n} 10
CELLFON_60()
MOB_GF_3328()
set_global_var_bit_const $395 {n} 10

:MOB_GF_874
clear_global_var_bit_const $395 {n} 11
MOB_GF_3168()
terminate_this_script 

:MOB_GF_890
if 
  0@ == 5
goto_if_false @MOB_GF_1043
if 
  1@ == 1
goto_if_false @MOB_GF_973
$flag_new_cont = 120
add_int_lvar_to_int_var $flag_new_cont += 2@
if 
  $flag_new_cont > 127
goto_if_false @MOB_GF_966
$flag_new_cont = 127

:MOB_GF_966
goto @MOB_GF_981

:MOB_GF_973
$flag_new_cont = 135

:MOB_GF_981
MOB_GF_1087()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_GF_1027
set_global_var_bit_const $395 {n} 10
CELLFON_60()
MOB_GF_3328()

:MOB_GF_1027
clear_global_var_bit_const $395 {n} 11
MOB_GF_3168()
terminate_this_script 

:MOB_GF_1043
goto @MOB_GF_1066

:MOB_GF_1050
clear_global_var_bit_const $395 {n} 11
MOB_GF_3168()
terminate_this_script 

:MOB_GF_1066
goto @MOB_GF_1080

:MOB_GF_1073
$RStickX = 0

:MOB_GF_1080
goto @MOB_GF_38

:MOB_GF_1087
$flag_mobile_timer = 0
$weapon_shop1_blip = 1
$RStickX = 1
$1427 = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 23000)
$cell_index_start = 0
switch_start $flag_new_cont {numCases} 12 {hasDefaultCase} 1 {defaultLabel} @MOB_GF_1479 {caseNum1} 70 {caseLabel1} @MOB_GF_1263 {caseNum2} 80 {caseLabel2} @MOB_GF_1281 {caseNum3} 90 {caseLabel3} @MOB_GF_1299 {caseNum4} 100 {caseLabel4} @MOB_GF_1317 {caseNum5} 110 {caseLabel5} @MOB_GF_1335 {caseNum6} 120 {caseLabel6} @MOB_GF_1353 {caseNum7} 130 {caseLabel7} @MOB_GF_1371
switch_continued 131 {caseLabel1} @MOB_GF_1389 {caseNum2} 132 {caseLabel2} @MOB_GF_1407 {caseNum3} 133 {caseLabel3} @MOB_GF_1425 {caseNum4} 134 {caseLabel4} @MOB_GF_1443 {caseNum5} 135 {caseLabel5} @MOB_GF_1461 {caseNum6} -1 {caseLabel6} @MOB_GF_1497 {caseNum7} -1 {caseLabel7} @MOB_GF_1497 {caseNum8} -1 {caseLabel8} @MOB_GF_1497 {caseNum9} -1 {caseLabel9} @MOB_GF_1497

:MOB_GF_1263
Text.PrintHelp('ANSWER0')
goto @MOB_GF_1497

:MOB_GF_1281
Text.PrintHelp('ANSWER1')
goto @MOB_GF_1497

:MOB_GF_1299
Text.PrintHelp('ANSWER2')
goto @MOB_GF_1497

:MOB_GF_1317
Text.PrintHelp('ANSWER3')
goto @MOB_GF_1497

:MOB_GF_1335
Text.PrintHelp('ANSWER4')
goto @MOB_GF_1497

:MOB_GF_1353
Text.PrintHelp('ANSWER5')
goto @MOB_GF_1497

:MOB_GF_1371
Text.PrintHelp('ANSWER0')
goto @MOB_GF_1497

:MOB_GF_1389
Text.PrintHelp('ANSWER1')
goto @MOB_GF_1497

:MOB_GF_1407
Text.PrintHelp('ANSWER2')
goto @MOB_GF_1497

:MOB_GF_1425
Text.PrintHelp('ANSWER3')
goto @MOB_GF_1497

:MOB_GF_1443
Text.PrintHelp('ANSWER4')
goto @MOB_GF_1497

:MOB_GF_1461
Text.PrintHelp('ANSWER5')
goto @MOB_GF_1497

:MOB_GF_1479
Text.PrintHelp('ANSWER')
goto @MOB_GF_1497

:MOB_GF_1497
if and
  7 > $flag_mobile_timer
  2 > $skip_the_mobile_call
goto_if_false @MOB_GF_2068
wait 0
switch_start $flag_new_cont {numCases} 12 {hasDefaultCase} 1 {defaultLabel} @MOB_GF_1876 {caseNum1} 70 {caseLabel1} @MOB_GF_1660 {caseNum2} 80 {caseLabel2} @MOB_GF_1678 {caseNum3} 90 {caseLabel3} @MOB_GF_1696 {caseNum4} 100 {caseLabel4} @MOB_GF_1714 {caseNum5} 110 {caseLabel5} @MOB_GF_1732 {caseNum6} 120 {caseLabel6} @MOB_GF_1750 {caseNum7} 130 {caseLabel7} @MOB_GF_1768
switch_continued 131 {caseLabel1} @MOB_GF_1786 {caseNum2} 132 {caseLabel2} @MOB_GF_1804 {caseNum3} 133 {caseLabel3} @MOB_GF_1822 {caseNum4} 134 {caseLabel4} @MOB_GF_1840 {caseNum5} 135 {caseLabel5} @MOB_GF_1858 {caseNum6} -1 {caseLabel6} @MOB_GF_1894 {caseNum7} -1 {caseLabel7} @MOB_GF_1894 {caseNum8} -1 {caseLabel8} @MOB_GF_1894 {caseNum9} -1 {caseLabel9} @MOB_GF_1894

:MOB_GF_1660
Text.PrintHelpForever('ANSWER0')
goto @MOB_GF_1894

:MOB_GF_1678
Text.PrintHelpForever('ANSWER1')
goto @MOB_GF_1894

:MOB_GF_1696
Text.PrintHelpForever('ANSWER2')
goto @MOB_GF_1894

:MOB_GF_1714
Text.PrintHelpForever('ANSWER3')
goto @MOB_GF_1894

:MOB_GF_1732
Text.PrintHelpForever('ANSWER4')
goto @MOB_GF_1894

:MOB_GF_1750
Text.PrintHelpForever('ANSWER5')
goto @MOB_GF_1894

:MOB_GF_1768
Text.PrintHelpForever('ANSWER0')
goto @MOB_GF_1894

:MOB_GF_1786
Text.PrintHelpForever('ANSWER1')
goto @MOB_GF_1894

:MOB_GF_1804
Text.PrintHelpForever('ANSWER2')
goto @MOB_GF_1894

:MOB_GF_1822
Text.PrintHelpForever('ANSWER3')
goto @MOB_GF_1894

:MOB_GF_1840
Text.PrintHelpForever('ANSWER4')
goto @MOB_GF_1894

:MOB_GF_1858
Text.PrintHelpForever('ANSWER5')
goto @MOB_GF_1894

:MOB_GF_1876
Text.PrintHelpForever('ANSWER')
goto @MOB_GF_1894

:MOB_GF_1894
$1427 = 3
MOB_GF_2311()
$flag_mobile_timer += 1
if and
  $skip_the_mobile_call == 1
  $flag_mobile_timer > 0
goto_if_false @MOB_GF_1947
goto @MOB_GF_2075

:MOB_GF_1947
MOB_GF_2625()
if and
  $skip_the_mobile_call == 1
  $flag_mobile_timer > 0
goto_if_false @MOB_GF_1986
goto @MOB_GF_2075

:MOB_GF_1986
$flag_player_answered_phone = 0

:MOB_GF_1993
if 
  40 > $flag_player_answered_phone
goto_if_false @MOB_GF_2061
wait 0
MOB_GF_2902()
if 
  $skip_the_mobile_call == 1
goto_if_false @MOB_GF_2047
goto @MOB_GF_2075

:MOB_GF_2047
$flag_player_answered_phone += 1
goto @MOB_GF_1993

:MOB_GF_2061
goto @MOB_GF_1497

:MOB_GF_2068
$flag_courier_mission_passed = Clock.GetGameTimer()
return 

:MOB_GF_2075
$cell_index_start = 1
$flag_courier_mission_passed = Clock.GetGameTimer()

:MOB_GF_2087
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @MOB_GF_2140
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @MOB_GF_2133
$skip_the_mobile_call = 2
return 

:MOB_GF_2133
goto @MOB_GF_2087

:MOB_GF_2140
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MOB_GF_2309
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Char.ShutUp($stattreadstamina_ctr, True)
Streaming.RequestModel(330)

:MOB_GF_2181
if 
  not Streaming.HasModelLoaded(330)
goto_if_false @MOB_GF_2208
wait 0
goto @MOB_GF_2181

:MOB_GF_2208
MOB_GF_2902()
if 
  $skip_the_mobile_call == 2
goto_if_false @MOB_GF_2240
Streaming.MarkModelAsNoLongerNeeded(330)
return 

:MOB_GF_2240
Task.UseMobilePhone($stattreadstamina_ctr, True)
TIMERA = 0

:MOB_GF_2254
if 
  2000 > TIMERA
goto_if_false @MOB_GF_2309
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @MOB_GF_2302
$skip_the_mobile_call = 2
return 

:MOB_GF_2302
goto @MOB_GF_2254

:MOB_GF_2309
return 

:MOB_GF_2311
if 
  not Audio.HasMissionAudioLoaded($1427)
goto_if_false @MOB_GF_2602
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @MOB_GF_2363
$skip_the_mobile_call = 2
return 
goto @MOB_GF_2595

:MOB_GF_2363
if or
  Char.IsInWater($stattreadstamina_ctr)
  Char.IsShooting($stattreadstamina_ctr)
  not Char.IsOnFoot($stattreadstamina_ctr)
  $weapon_shop1_blip == 0
  $returned_respect <> 0
  $flag_returned_shoehorses <> 0
goto_if_false @MOB_GF_2421
$skip_the_mobile_call = 2
Text.ClearHelp
return 

:MOB_GF_2421
if or
  Game.IsGangWarFightingGoingOn
  Player.IsUsingJetpack($statbike_temp)
  Game.IsMinigameInProgress
goto_if_false @MOB_GF_2452
$skip_the_mobile_call = 2
Text.ClearHelp
return 

:MOB_GF_2452
if and
  $skip_the_mobile_call == 0
  $flag_mobile_timer > 0
goto_if_false @MOB_GF_2524
if 
  not Char.IsShooting($stattreadstamina_ctr)
goto_if_false @MOB_GF_2524
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Player.CanStartMission($statbike_temp)
goto_if_false @MOB_GF_2524
$skip_the_mobile_call = 1
return 

:MOB_GF_2524
if 
  $cell_index_start == 1
goto_if_false @MOB_GF_2568
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @MOB_GF_2568
$cell_index_start = 2
return 

:MOB_GF_2568
if 
  $weapon_shop1_blip == 0
goto_if_false @MOB_GF_2595
$skip_the_mobile_call = 2
return 

:MOB_GF_2595
goto @MOB_GF_2311

:MOB_GF_2602
if 
  not Char.IsInWater($stattreadstamina_ctr)
goto_if_false @MOB_GF_2623
Audio.PlayMissionAudio($1427)

:MOB_GF_2623
return 

:MOB_GF_2625
if 
  not Audio.HasMissionAudioFinished($1427)
goto_if_false @MOB_GF_2900
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @MOB_GF_2677
$skip_the_mobile_call = 2
return 
goto @MOB_GF_2893

:MOB_GF_2677
if or
  Char.IsInWater($stattreadstamina_ctr)
  Char.IsShooting($stattreadstamina_ctr)
  not Char.IsOnFoot($stattreadstamina_ctr)
  $weapon_shop1_blip == 0
  $returned_respect <> 0
  $flag_returned_shoehorses <> 0
goto_if_false @MOB_GF_2735
$skip_the_mobile_call = 2
Text.ClearHelp
return 

:MOB_GF_2735
if or
  Game.IsGangWarFightingGoingOn
  Player.IsUsingJetpack($statbike_temp)
  Game.IsMinigameInProgress
goto_if_false @MOB_GF_2766
$skip_the_mobile_call = 2
Text.ClearHelp
return 

:MOB_GF_2766
if and
  $skip_the_mobile_call == 0
  $flag_mobile_timer > 0
goto_if_false @MOB_GF_2822
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Player.CanStartMission($statbike_temp)
goto_if_false @MOB_GF_2822
$skip_the_mobile_call = 1
return 

:MOB_GF_2822
if 
  $cell_index_start == 1
goto_if_false @MOB_GF_2866
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @MOB_GF_2866
$cell_index_start = 2
return 

:MOB_GF_2866
if 
  $weapon_shop1_blip == 0
goto_if_false @MOB_GF_2893
$skip_the_mobile_call = 2
return 

:MOB_GF_2893
goto @MOB_GF_2625

:MOB_GF_2900
return 

:MOB_GF_2902
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @MOB_GF_2934
$skip_the_mobile_call = 2
return 
goto @MOB_GF_3166

:MOB_GF_2934
if or
  Char.IsInWater($stattreadstamina_ctr)
  Char.IsShooting($stattreadstamina_ctr)
  not Char.IsOnFoot($stattreadstamina_ctr)
  $weapon_shop1_blip == 0
  $returned_respect <> 0
  $flag_returned_shoehorses <> 0
goto_if_false @MOB_GF_2992
$skip_the_mobile_call = 2
Text.ClearHelp
return 

:MOB_GF_2992
if or
  Game.IsGangWarFightingGoingOn
  Player.IsUsingJetpack($statbike_temp)
  Game.IsMinigameInProgress
goto_if_false @MOB_GF_3023
$skip_the_mobile_call = 2
Text.ClearHelp
return 

:MOB_GF_3023
if and
  $skip_the_mobile_call == 0
  $flag_mobile_timer > 0
goto_if_false @MOB_GF_3095
if 
  not Char.IsShooting($stattreadstamina_ctr)
goto_if_false @MOB_GF_3095
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Player.CanStartMission($statbike_temp)
goto_if_false @MOB_GF_3095
$skip_the_mobile_call = 1
return 

:MOB_GF_3095
if 
  $cell_index_start == 1
goto_if_false @MOB_GF_3139
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @MOB_GF_3139
$cell_index_start = 2
return 

:MOB_GF_3139
if 
  $weapon_shop1_blip == 0
goto_if_false @MOB_GF_3166
$skip_the_mobile_call = 2
return 

:MOB_GF_3166
return 

:MOB_GF_3168
$RStickX = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
$skip_the_mobile_call = 0
$players_skipping_the_call = 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MOB_GF_3245
Task.UseMobilePhone($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Char.ShutUp($stattreadstamina_ctr, False)

:MOB_GF_3245
$flag_courier_mission_passed = Clock.GetGameTimer()
$flag_airrace_mission_passed = 0
$flag_courier_trigger = Clock.GetGameTimer()
set_var_int_to_var_int $flag_airrace_mission_passed = $flag_courier_trigger
sub_int_var_from_int_var $flag_airrace_mission_passed -= $flag_courier_mission_passed
Text.ClearPrints
if 
  $call_delay == 0
goto_if_false @MOB_GF_3307
Text.ClearHelp
goto @MOB_GF_3314

:MOB_GF_3307
$call_delay = 0

:MOB_GF_3314
Streaming.MarkModelAsNoLongerNeeded(330)
$weapon_shop1_blip = 0
return 

:MOB_GF_3328
$1425 = 0

:MOB_GF_3335
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, $1428($1425,20i))
$1425 += 1
if 
  is_int_var_greater_or_equal_to_int_var $1426 >= $1425
goto_if_false @MOB_GF_3383
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, $1428($1425,20i))

:MOB_GF_3383
$1425 -= 1
$1427 = 1
MOB_GF_2311()
Text.PrintNow($1449($1425,20s), 10000, 1)
MOB_GF_2625()
if 
  $cell_index_start == 2
goto_if_false @MOB_GF_3445
return 

:MOB_GF_3445
$1425 += 1
if 
  is_int_var_greater_or_equal_to_int_var $1426 >= $1425
goto_if_false @MOB_GF_3513
$1427 = 2
MOB_GF_2311()
Text.PrintNow($1449($1425,20s), 10000, 1)
MOB_GF_2625()
goto @MOB_GF_3520

:MOB_GF_3513
$1425 -= 1

:MOB_GF_3520
if 
  $cell_index_start == 2
goto_if_false @MOB_GF_3540
return 

:MOB_GF_3540
$1425 += 1
if 
  $cell_index_end == 0
goto_if_false @MOB_GF_3583
Text.PrintHelp('CELSKIP')
$cell_index_end = 1

:MOB_GF_3583
if 
  is_int_var_greater_or_equal_to_int_var $1426 >= $1425
goto_if_false @MOB_GF_3609
goto @MOB_GF_3335

:MOB_GF_3609
Text.ClearPrints
return 

//-------------Mission 0---------------
// Originally: Initial 1

:INITIAL
script_name 'INITIAL'
Game.SetLaRiots(False)
$flag_returned_tags = 0
$para_flare_Vz = 0
$para_freefall_Vz = 5.0
$para_freefall_Vy = -5.0
$para_default_Vy = 8.5
$para_Vx = -1.5
$para_Vy = -30.0
$para_Vz = 32.0
$para_pickup_flag = 0.0
$returned_oysters_flag = 0
$flag_returned_shoehorses = 0
$para_float_Vz = 0
$can_skip_smoking_cutscene = 1
$car = 0
$oddjob_help_flag = 0
$R3_player_car = 0
$trucking_help_flag = 0
$intro_bmx_blip = 0
$player_x = 0
$showroom_contact_blip = 0
$voice_over_at_hub = 0
$airstrip_contact_blip = 0
$swim_stamina_check_main = 0
$bcrashZ = 0
$trigger_scrash2_mission = 0
$cat_getaway_dialogue = 0
$gate_stay_open = 0
$tlf_underway = 0
$total_roulette_tables = 0
$cj_vomits_for_menace = 0
$flag_menace_buyfood = 0
$trigger_final_LA2_missions = 0
$driving_test_passed = 0
$courier_timer = 0
$pilot_test_passed = 0
$flag_returned_snapshots = 0
$tag_percentage = 0
$propertyX = 0
$1525 = 0
$1526 = 0
$1527 = 0
$732[0] = 0
$732[1] = 0
$732[2] = 0
$732[3] = 0
$732[4] = 0
$732[5] = 0
$732[6] = 0
$732[7] = 0
$732[8] = 0
$732[9] = 0
$732[10] = 0
$732[11] = 0
$732[12] = 0
$732[13] = 0
$732[14] = 0
$732[15] = 0
$732[16] = 0
$732[17] = 0
$732[18] = 0
$732[19] = 0
$732[20] = 0
$732[21] = 0
$732[22] = 0
$732[23] = 0
$732[24] = 0
$732[25] = 0
$732[26] = 0
$732[27] = 0
$732[28] = 0
$732[29] = 0
$732[30] = 0
$732[31] = 0
$764[0] = 0
$764[1] = 1
$764[2] = 2
$764[3] = 3
$764[4] = 4
$764[5] = 5
$764[6] = 6
$764[7] = 7
$764[8] = 8
$764[9] = 9
$764[10] = 10
$764[11] = 11
$764[12] = 12
$764[13] = 13
$764[14] = 14
$764[15] = 15
$764[16] = 16
$764[17] = 17
$764[18] = 18
$764[19] = 19
$764[20] = 20
$764[21] = 21
$764[22] = 22
$764[23] = 23
$764[24] = 24
$764[25] = 25
$764[26] = 26
$764[27] = 27
$764[28] = 28
$764[29] = 29
$764[30] = 30
$764[31] = 31
$1624 = 0
$1528[0] = -1969.27
$1560[0] = 282.47
$1592[0] = 34.6
$1528[1] = -2243.62
$1560[1] = 133.2
$1592[1] = 34.8
$1528[2] = 426.4972
$1560[2] = 2530.689
$1592[2] = 16.1
$1689[0] = Pickup.CreateLockedProperty($1528[0], $1560[0], $1592[0], 'PROP_4')
$player_y = Blip.AddShortRangeSpriteForContactPoint($1528[0], $1560[0], $1592[0], RadarSprite.PropertyR)
Blip.ChangeDisplay($player_y, BlipDisplay.BlipOnly)
$1689[1] = Pickup.CreateLockedProperty($1528[1], $1560[1], $1592[1], 'PROP_4')
$531 = Blip.AddShortRangeSpriteForContactPoint($1528[1], $1560[1], $1592[1], RadarSprite.PropertyR)
Blip.ChangeDisplay($531, BlipDisplay.BlipOnly)
$1689[2] = Pickup.CreateLockedProperty($1528[2], $1560[2], $1592[2], 'PROP_4')
$trigger_ice_cold_mission = Blip.AddShortRangeSpriteForContactPoint($1528[2], $1560[2], $1592[2], RadarSprite.PropertyR)
Blip.ChangeDisplay($trigger_ice_cold_mission, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[2], $1560[2], 10.0, EntryexitsFlag.Enabled, False)
$1528[3] = 316.0696
$1560[3] = -1772.569
$1592[3] = 4.1893
World.SetClosestEntryExitFlag($1528[3], $1560[3], 10.0, EntryexitsFlag.Enabled, False)
$1660 = 30000
$1689[3] = Pickup.CreateForSaleProperty($1528[3], $1560[3], $1592[3], $1660, 'PROP_3')
$1628 = Blip.AddShortRangeSpriteForContactPoint($1528[3], $1560[3], $1592[3], RadarSprite.PropertyG)
Blip.ChangeDisplay($1628, BlipDisplay.BlipOnly)
Garage.Deactivate('BEACSV')
$1528[4] = 2441.002
$1560[4] = 695.1089
$1592[4] = 10.6646
World.SetClosestEntryExitFlag($1528[4], $1560[4], 10.0, EntryexitsFlag.Enabled, False)
$1661 = 20000
$1689[4] = Pickup.CreateLockedProperty($1528[4], $1560[4], $1592[4], 'PROP_4')
$1629 = Blip.AddShortRangeSpriteForContactPoint($1528[4], $1560[4], $1592[4], RadarSprite.PropertyR)
Blip.ChangeDisplay($1629, BlipDisplay.BlipOnly)
Garage.Deactivate('VESVGRG')
$1528[5] = -366.1849
$1560[5] = 1166.031
$1592[5] = 19.2422
World.SetClosestEntryExitFlag($1528[5], $1560[5], 10.0, EntryexitsFlag.Enabled, False)
$1662 = 30000
$1689[5] = Pickup.CreateLockedProperty($1528[5], $1560[5], $1592[5], 'PROP_4')
$1630 = Blip.AddShortRangeSpriteForContactPoint($1528[5], $1560[5], $1592[5], RadarSprite.PropertyR)
Blip.ChangeDisplay($1630, BlipDisplay.BlipOnly)
Garage.Deactivate('CN2GAR1')
$1528[6] = 1283.844
$1560[6] = 2528.703
$1592[6] = 10.3203
World.SetClosestEntryExitFlag($1528[6], $1560[6], 10.0, EntryexitsFlag.Enabled, False)
$1663 = 50000
$1689[6] = Pickup.CreateLockedProperty($1528[6], $1560[6], $1592[6], 'PROP_4')
$1631 = Blip.AddShortRangeSpriteForContactPoint($1528[6], $1560[6], $1592[6], RadarSprite.PropertyR)
Blip.ChangeDisplay($1631, BlipDisplay.BlipOnly)
Garage.Deactivate('BLOB69')
$1528[7] = 922.3647
$1560[7] = 2011.898
$1592[7] = 10.766
World.SetClosestEntryExitFlag($1528[7], $1560[7], 10.0, EntryexitsFlag.Enabled, False)
$1664 = 30000
$1689[7] = Pickup.CreateLockedProperty($1528[7], $1560[7], $1592[7], 'PROP_4')
$1632 = Blip.AddShortRangeSpriteForContactPoint($1528[7], $1560[7], $1592[7], RadarSprite.PropertyR)
Blip.ChangeDisplay($1632, BlipDisplay.BlipOnly)
Garage.Deactivate('BLOB7')
$1528[8] = 2236.928
$1560[8] = 162.8057
$1592[8] = 26.8462
World.SetClosestEntryExitFlag($1528[8], $1560[8], 10.0, EntryexitsFlag.Enabled, False)
$1665 = 35000
$1689[8] = Pickup.CreateLockedProperty($1528[8], $1560[8], $1592[8], 'PROP_4')
$1633 = Blip.AddShortRangeSpriteForContactPoint($1528[8], $1560[8], $1592[8], RadarSprite.PropertyR)
Blip.ChangeDisplay($1633, BlipDisplay.BlipOnly)
Garage.Deactivate('BURBDOO')
$1528[9] = 1402.317
$1560[9] = 1901.978
$1592[9] = 10.8449
World.SetClosestEntryExitFlag($1528[9], $1560[9], 10.0, EntryexitsFlag.Enabled, False)
$1666 = 30000
$1689[9] = Pickup.CreateLockedProperty($1528[9], $1560[9], $1592[9], 'PROP_4')
$1634 = Blip.AddShortRangeSpriteForContactPoint($1528[9], $1560[9], $1592[9], RadarSprite.PropertyR)
Blip.ChangeDisplay($1634, BlipDisplay.BlipOnly)
Garage.Deactivate('BLOB6')
$1528[10] = 1687.98
$1560[10] = -2100.643
$1592[10] = 13.3343
$1667 = 10000
World.SetClosestEntryExitFlag($1528[10], $1560[10], 10.0, EntryexitsFlag.Enabled, False)
$1689[10] = Pickup.CreateForSaleProperty($1528[10], $1560[10], $1592[10], $1667, 'PROP_3')
$1635 = Blip.AddShortRangeSpriteForContactPoint($1528[10], $1560[10], $1592[10], RadarSprite.PropertyG)
Blip.ChangeDisplay($1635, BlipDisplay.BlipOnly)
Garage.Deactivate('CARLAS1')
$1528[11] = -2106.639
$1560[11] = 900.5537
$1592[11] = 76.2032
World.SetClosestEntryExitFlag($1528[11], $1560[11], 10.0, EntryexitsFlag.Enabled, False)
$1668 = 100000
$1689[11] = Pickup.CreateLockedProperty($1528[11], $1560[11], $1592[11], 'PROP_4')
$1636 = Blip.AddShortRangeSpriteForContactPoint($1528[11], $1560[11], $1592[11], RadarSprite.PropertyR)
Blip.ChangeDisplay($1636, BlipDisplay.BlipOnly)
Garage.Deactivate('CESAFE1')
$1528[12] = 1331.186
$1560[12] = -630.4962
$1592[12] = 108.6349
World.SetClosestEntryExitFlag($1528[12], $1560[12], 10.0, EntryexitsFlag.Enabled, False)
$1669 = 120000
$1689[12] = Pickup.CreateForSaleProperty($1528[12], $1560[12], $1592[12], $1669, 'PROP_3')
$1637 = Blip.AddShortRangeSpriteForContactPoint($1528[12], $1560[12], $1592[12], RadarSprite.PropertyG)
Blip.ChangeDisplay($1637, BlipDisplay.BlipOnly)
Garage.Deactivate('SAV1SFE')
$1528[13] = -2695.745
$1560[13] = 818.4718
$1592[13] = 49.4844
World.SetClosestEntryExitFlag($1528[13], $1560[13], 10.0, EntryexitsFlag.Enabled, False)
$1670 = 20000
$1689[13] = Pickup.CreateLockedProperty($1528[13], $1560[13], $1592[13], 'PROP_4')
$1638 = Blip.AddShortRangeSpriteForContactPoint($1528[13], $1560[13], $1592[13], RadarSprite.PropertyR)
Blip.ChangeDisplay($1638, BlipDisplay.BlipOnly)
Garage.Deactivate('SAV1SFW')
$1528[14] = -2456.926
$1560[14] = -131.3292
$1592[14] = 25.5376
World.SetClosestEntryExitFlag($1528[14], $1560[14], 10.0, EntryexitsFlag.Enabled, False)
$1671 = 40000
$1689[14] = Pickup.CreateLockedProperty($1528[14], $1560[14], $1592[14], 'PROP_4')
$1639 = Blip.AddShortRangeSpriteForContactPoint($1528[14], $1560[14], $1592[14], RadarSprite.PropertyR)
Blip.ChangeDisplay($1639, BlipDisplay.BlipOnly)
Garage.Deactivate('SVGSFS1')
$1528[15] = 892.6662
$1560[15] = -1639.714
$1592[15] = 14.4567
$1672 = 10000
World.SetClosestEntryExitFlag($1528[15], $1560[15], 10.0, EntryexitsFlag.Enabled, False)
$1689[15] = Pickup.CreateForSaleProperty($1528[15], $1560[15], $1592[15], $1672, 'PROP_3')
$1640 = Blip.AddShortRangeSpriteForContactPoint($1528[15], $1560[15], $1592[15], RadarSprite.PropertyG)
Blip.ChangeDisplay($1640, BlipDisplay.BlipOnly)
$1528[16] = 1969.932
$1560[16] = 1623.243
$1592[16] = 12.3619
$1673 = 6000
World.SetClosestEntryExitFlag($1528[16], $1560[16], 10.0, EntryexitsFlag.Enabled, False)
$1689[16] = Pickup.CreateLockedProperty($1528[16], $1560[16], $1592[16], 'PROP_4')
$1641 = Blip.AddShortRangeSpriteForContactPoint($1528[16], $1560[16], $1592[16], RadarSprite.PropertyR)
Blip.ChangeDisplay($1641, BlipDisplay.BlipOnly)
$1528[17] = 2234.909
$1560[17] = 1285.698
$1592[17] = 10.3203
$1674 = 6000
World.SetClosestEntryExitFlag($1528[17], $1560[17], 10.0, EntryexitsFlag.Enabled, False)
$1689[17] = Pickup.CreateLockedProperty($1528[17], $1560[17], $1592[17], 'PROP_4')
$1642 = Blip.AddShortRangeSpriteForContactPoint($1528[17], $1560[17], $1592[17], RadarSprite.PropertyR)
Blip.ChangeDisplay($1642, BlipDisplay.BlipOnly)
$1528[18] = -2213.864
$1560[18] = 723.5587
$1592[18] = 48.914
$1675 = 20000
World.SetClosestEntryExitFlag($1528[18], $1560[18], 10.0, EntryexitsFlag.Enabled, False)
$1689[18] = Pickup.CreateLockedProperty($1528[18], $1560[18], $1592[18], 'PROP_4')
$1643 = Blip.AddShortRangeSpriteForContactPoint($1528[18], $1560[18], $1592[18], RadarSprite.PropertyR)
Blip.ChangeDisplay($1643, BlipDisplay.BlipOnly)
$1528[19] = -1439.014
$1560[19] = -1540.59
$1592[19] = 101.2579
$1676 = 100000
World.SetClosestEntryExitFlag($1528[19], $1560[19], 10.0, EntryexitsFlag.Enabled, False)
$1689[19] = Pickup.CreateLockedProperty($1528[19], $1560[19], $1592[19], 'PROP_4')
$1644 = Blip.AddShortRangeSpriteForContactPoint($1528[19], $1560[19], $1592[19], RadarSprite.PropertyR)
Blip.ChangeDisplay($1644, BlipDisplay.BlipOnly)
$1528[20] = -2027.83
$1560[20] = -44.0454
$1592[20] = 38.7692
$1677 = 20000
World.SetClosestEntryExitFlag($1528[20], $1560[20], 10.0, EntryexitsFlag.Enabled, False)
$1689[20] = Pickup.CreateLockedProperty($1528[20], $1560[20], $1592[20], 'PROP_4')
$1645 = Blip.AddShortRangeSpriteForContactPoint($1528[20], $1560[20], $1592[20], RadarSprite.PropertyR)
Blip.ChangeDisplay($1645, BlipDisplay.BlipOnly)
$1528[21] = -2419.677
$1560[21] = 334.1621
$1592[21] = 34.6796
$1678 = 50000
World.SetClosestEntryExitFlag($1528[21], $1560[21], 10.0, EntryexitsFlag.Enabled, False)
$1689[21] = Pickup.CreateLockedProperty($1528[21], $1560[21], $1592[21], 'PROP_4')
$1646 = Blip.AddShortRangeSpriteForContactPoint($1528[21], $1560[21], $1592[21], RadarSprite.PropertyR)
Blip.ChangeDisplay($1646, BlipDisplay.BlipOnly)
$1528[22] = -2079.097
$1560[22] = -2309.899
$1592[22] = 30.1172
$1679 = 20000
World.SetClosestEntryExitFlag($1528[22], $1560[22], 10.0, EntryexitsFlag.Enabled, False)
$1689[22] = Pickup.CreateLockedProperty($1528[22], $1560[22], $1592[22], 'PROP_4')
$1647 = Blip.AddShortRangeSpriteForContactPoint($1528[22], $1560[22], $1592[22], RadarSprite.PropertyR)
Blip.ChangeDisplay($1647, BlipDisplay.BlipOnly)
$1528[23] = -1534.17
$1560[23] = 2650.3
$1592[23] = 55.3437
$1680 = 20000
World.SetClosestEntryExitFlag($1528[23], $1560[23], 10.0, EntryexitsFlag.Enabled, False)
$1689[23] = Pickup.CreateLockedProperty($1528[23], $1560[23], $1592[23], 'PROP_4')
$1648 = Blip.AddShortRangeSpriteForContactPoint($1528[23], $1560[23], $1592[23], RadarSprite.PropertyR)
Blip.ChangeDisplay($1648, BlipDisplay.BlipOnly)
$1528[24] = -1045.775
$1560[24] = 1552.976
$1592[24] = 32.798
$1681 = 20000
World.SetClosestEntryExitFlag($1528[24], $1560[24], 10.0, EntryexitsFlag.Enabled, False)
$1689[24] = Pickup.CreateLockedProperty($1528[24], $1560[24], $1592[24], 'PROP_4')
$1649 = Blip.AddShortRangeSpriteForContactPoint($1528[24], $1560[24], $1592[24], RadarSprite.PropertyR)
Blip.ChangeDisplay($1649, BlipDisplay.BlipOnly)
$1528[25] = 793.5623
$1560[25] = -514.4116
$1592[25] = 16.3973
$1682 = 40000
World.SetClosestEntryExitFlag($1528[25], $1560[25], 10.0, EntryexitsFlag.Enabled, False)
$1689[25] = Pickup.CreateLockedProperty($1528[25], $1560[25], $1592[25], 'PROP_4')
$1650 = Blip.AddShortRangeSpriteForContactPoint($1528[25], $1560[25], $1592[25], RadarSprite.PropertyR)
Blip.ChangeDisplay($1650, BlipDisplay.BlipOnly)
Garage.Deactivate('BURBDO2')
$1528[26] = 2103.346
$1560[26] = -1288.339
$1592[26] = 23.8168
$1683 = 10000
World.SetClosestEntryExitFlag($1528[26], $1560[26], 10.0, EntryexitsFlag.Enabled, False)
$1689[26] = Pickup.CreateForSaleProperty($1528[26], $1560[26], $1592[26], $1683, 'PROP_3')
$1651 = Blip.AddShortRangeSpriteForContactPoint($1528[26], $1560[26], $1592[26], RadarSprite.PropertyG)
Blip.ChangeDisplay($1651, BlipDisplay.BlipOnly)
$1528[27] = 2370.477
$1560[27] = 2165.474
$1592[27] = 10.3269
$1684 = 6000
World.SetClosestEntryExitFlag($1528[27], $1560[27], 10.0, EntryexitsFlag.Enabled, False)
$1689[27] = Pickup.CreateLockedProperty($1528[27], $1560[27], $1592[27], 'PROP_4')
$1652 = Blip.AddShortRangeSpriteForContactPoint($1528[27], $1560[27], $1592[27], RadarSprite.PropertyR)
Blip.ChangeDisplay($1652, BlipDisplay.BlipOnly)
$1528[28] = 2220.626
$1560[28] = 1837.348
$1592[28] = 10.3203
$save_housepickup = 6000
World.SetClosestEntryExitFlag($1528[28], $1560[28], 10.0, EntryexitsFlag.Enabled, False)
$1689[28] = Pickup.CreateLockedProperty($1528[28], $1560[28], $1592[28], 'PROP_4')
$save_houseprice = Blip.AddShortRangeSpriteForContactPoint($1528[28], $1560[28], $1592[28], RadarSprite.PropertyR)
Blip.ChangeDisplay($save_houseprice, BlipDisplay.BlipOnly)
$1528[29] = 2819.125
$1560[29] = 2149.372
$1592[29] = 10.3203
$1686 = 10000
World.SetClosestEntryExitFlag($1528[29], $1560[29], 10.0, EntryexitsFlag.Enabled, False)
$1689[29] = Pickup.CreateLockedProperty($1528[29], $1560[29], $1592[29], 'PROP_4')
$1654 = Blip.AddShortRangeSpriteForContactPoint($1528[29], $1560[29], $1592[29], RadarSprite.PropertyR)
Blip.ChangeDisplay($1654, BlipDisplay.BlipOnly)
$1528[30] = 2483.024
$1560[30] = -2001.074
$1592[30] = 13.054
$1687 = 10000
World.SetClosestEntryExitFlag($1528[30], $1560[30], 10.0, EntryexitsFlag.Enabled, False)
$1689[30] = Pickup.CreateForSaleProperty($1528[30], $1560[30], $1592[30], $1687, 'PROP_3')
$1655 = Blip.AddShortRangeSpriteForContactPoint($1528[30], $1560[30], $1592[30], RadarSprite.PropertyG)
Blip.ChangeDisplay($1655, BlipDisplay.BlipOnly)
$1528[31] = 206.8
$1560[31] = -112.1
$1592[31] = 4.3965
$1688 = 10000
World.SetClosestEntryExitFlag($1528[31], $1560[31], 10.0, EntryexitsFlag.Enabled, False)
$1689[31] = Pickup.CreateLockedProperty($1528[31], $1560[31], $1592[31], 'PROP_4')
$1656 = Blip.AddShortRangeSpriteForContactPoint($1528[31], $1560[31], $1592[31], RadarSprite.PropertyR)
Blip.ChangeDisplay($1656, BlipDisplay.BlipOnly)
$890[0] = 2495.53
$908[0] = -1711.88
$926[0] = 1014.24
$944[0] = 2495.9
$962[0] = -1707.45
$980[0] = 1013.26
$998[0] = 0.0
$851 = 0
$890[1] = 1263.05
$908[1] = -773.67
$926[1] = 1091.39
$944[1] = 1263.76
$962[1] = -776.59
$980[1] = 1090.89
$998[1] = 183.23
$852 = 0
$890[2] = 416.9548
$908[2] = 2538.813
$926[2] = 9.5077
$944[2] = 418.0759
$962[2] = 2536.771
$980[2] = 9.0077
$998[2] = 269.2893
$853 = 0
$890[3] = 2367.192
$908[3] = -1121.518
$926[3] = 1050.382
$944[3] = 2367.072
$962[3] = -1123.715
$980[3] = 1049.875
$998[3] = 183.259
$854 = 0
$890[4] = 2320.103
$908[4] = -1009.116
$926[4] = 1049.718
$944[4] = 2320.103
$962[4] = -1013.375
$980[4] = 1049.211
$998[4] = 181.7957
$855 = 0
$890[5] = 2342.873
$908[5] = -1063.939
$926[5] = 1048.523
$944[5] = 2339.254
$962[5] = -1063.86
$980[5] = 1048.023
$998[5] = 90.7733
$856 = 0
$890[6] = 2186.014
$908[6] = -1203.834
$926[6] = 1048.523
$944[6] = 2189.818
$962[6] = -1203.83
$980[6] = 1048.031
$998[6] = 268.6874
$857 = 0
$890[7] = 2313.369
$908[7] = -1208.744
$926[7] = 1048.523
$944[7] = 2310.853
$962[7] = -1210.975
$980[7] = 1048.023
$998[7] = 130.1776
$858 = 0
$890[8] = 2249.397
$908[8] = -1209.449
$926[8] = 1048.523
$944[8] = 2252.7
$962[8] = -1209.388
$980[8] = 1048.023
$998[8] = 270.3929
$859 = 0
$890[9] = 2244.533
$908[9] = -1077.663
$926[9] = 1048.523
$944[9] = 2241.069
$962[9] = -1077.736
$980[9] = 1048.031
$998[9] = 88.0268
$860 = 0
$890[10] = 2205.382
$908[10] = -1074.59
$926[10] = 1049.977
$944[10] = 2207.852
$962[10] = -1075.324
$980[10] = 1049.477
$998[10] = 261.7253
$861 = 0
$890[11] = 2233.024
$908[11] = -1105.717
$926[11] = 1050.39
$944[11] = 2233.231
$962[11] = -1107.852
$980[11] = 1049.89
$998[11] = 182.2496
$862 = 0
$890[12] = 2278.139
$908[12] = -1139.583
$926[12] = 1050.398
$944[12] = 2281.524
$962[12] = -1139.37
$980[12] = 1049.898
$998[12] = 273.5033
$863 = 0
$890[13] = -2037.89
$908[13] = -2526.96
$926[13] = 30.13
$944[13] = -2039.78
$962[13] = -2529.1
$980[13] = 29.63
$998[13] = 21.23
$864 = 0
$890[14] = 877.81
$908[14] = -26.91
$926[14] = 62.69
$944[14] = 877.04
$962[14] = -30.16
$980[14] = 62.19
$998[14] = 66.85
$grove_save_pickup = 0
$890[15] = -2026.481
$908[15] = 156.8028
$926[15] = 28.5391
$944[15] = -2021.036
$962[15] = 156.0674
$980[15] = 27.6521
$998[15] = 272.5815
$866 = 0
$890[16] = -693.3776
$908[16] = 957.824
$926[16] = 11.7829
$944[16] = -700.3663
$962[16] = 966.0852
$980[16] = 11.3575
$998[16] = 90.0
$867 = 0
$890[17] = 2024.564
$908[17] = 996.4728
$926[17] = 10.3203
$944[17] = 2027.043
$962[17] = 996.0585
$980[17] = 9.9203
$998[17] = 275.516
$868 = 0
$869[0] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[0], $908[0], $926[0])
$869[1] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[1], $908[1], $926[1])
$869[2] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[2], $908[2], $926[2])
$869[3] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[3], $908[3], $926[3])
$869[4] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[4], $908[4], $926[4])
$869[5] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[5], $908[5], $926[5])
$869[6] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[6], $908[6], $926[6])
$869[7] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[7], $908[7], $926[7])
$869[8] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[8], $908[8], $926[8])
$869[9] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[9], $908[9], $926[9])
$869[10] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[10], $908[10], $926[10])
$869[11] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[11], $908[11], $926[11])
$869[12] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[12], $908[12], $926[12])
$887 = 0
$bloodY = 1099.551
$bloodZ = 1601.497
$hotringX = 11.5546
$hotringY = -2120.042
$hotringZ = -444.2838
$lowrideX = 34.5312
$lowrideY = 2695.624
$lowrideZ = -1704.688
$tag_target = 10.8437
$kickY = Blip.AddShortRangeSpriteForContactPoint($bloodY, $bloodZ, $hotringX, RadarSprite.Race)
$kickZ = Blip.AddShortRangeSpriteForContactPoint($hotringY, $hotringZ, $lowrideX, RadarSprite.Race)
$bloodX = Blip.AddShortRangeSpriteForContactPoint($lowrideY, $lowrideZ, $tag_target, RadarSprite.Race)
$1755 = 2644.441
$1756 = -2012.558
$1757 = 12.5469
if 
  6 > $burglary_total_made
goto_if_false @INITIAL_6005
$1768($burglary_total_made,6i) = 0
$1774($burglary_total_made,6i) = 0
$1780($burglary_total_made,6i) = 0

:INITIAL_6005
$fire_temp_counter = 0
$fire_people_created = 0
$pros_active = 0
$player_in_otb_flag = 0
$burglary_total_items = 0
$flag_end_guy_audio_crash4 = 0
$counter_robbery_cat4 = 0
$burglary_player_spotted = 0
$burglary_noise = 0
$flag_otb_robbing_peds_panic = 0
$animframe = 1
$1810 = 0
$1809 = 0
$flag_cycling_skill_help = 0
$flag_triathalon_passed_1stime = 0
$mtbikerace_best_times = 0
$1808 = 25
$current_highest_score_kickstart = 0
$flag_dumper_passed_1stime = 1
$1850 = 0
$1851 = 0
$sc3_missioncar = 0
$Srange_Y[0] = 292.33
$Srange_Z[0] = -35.39
$SR_skill_award_given[0] = 1000.5
$Srange_Y[1] = 289.4804
$Srange_Z[1] = -79.6619
$SR_skill_award_given[1] = 1001.727
$Srange_Y[2] = 309.9744
$Srange_Z[2] = -135.3927
$SR_skill_award_given[2] = 1002.826
$Srange_Y[3] = 306.8972
$Srange_Z[3] = -164.9947
$SR_skill_award_given[3] = 1000.259
$1888 = 0
$valet_pickup_car = 0
$disable_debug = 0
$zero_revenue = 0
$reset_crane_camera = 5000
$disable_crane_exit = 0
$finish_crane_loading_script = 0
$remove_player_from_crane = 0
$disable_crane_slide = 1
$disable_crane_rotate = 0
$disable_manual_control = 0
$magno_camera_type = 0
$sw6_mission_attempts = 0
$bball_challenge_active = 0
$bball_challenge_high_score = 0
$bball_challenge_timer = 0
$bball_challenge_score = 0
$d6_door_health = 2000
$showroom_cash_pickup = 2000
$blood_passed_once = 8000
$1943 = 0
$done_burglary_progress = 0
$bcrashX = 0
$flag_dozer_passed_1stime = 0
$player_landed = 999999
$japcar_mod_garage_open = 999999
$para_float_Vy = 999999
$LStickY = 250
$coord_1_y = 0.0625
set_var_float_to_var_float $coord_1_z = $coord_1_y
$coord_1_z /= 2.0
set_var_float_to_var_float $coord_2_x = $coord_1_z
$coord_2_x /= 2.0
$hours = 0
$intro_bmx = 1
$R3_mission_help = -425.0
$flag_taxiodd_mission_launched = 1410.0
$done_taxi_help = 10.0
$race3_best_position_airrace = 99999999
$race3_best_time_airrace = 99999999
$race4_best_position_airrace = 99999999
$race4_best_time_airrace = 99999999
$race5_best_position_airrace = 99999999
$race5_best_time_airrace = 99999999
$race6_best_position_airrace = 99999999
$race6_best_time_airrace = 99999999
$done_race1_progress_airrace = 99999999
$done_race2_progress_airrace = 99999999
$done_race3_progress_airrace = 99999999
$done_race4_progress_airrace = 99999999
$done_race5_progress_airrace = 0
$done_race6_progress_airrace = 0
$race_selection = 0
$iGFSelfRespect = 0
$354 = 0
$355 = 0
$f1_the90_best_score = 0
$flag_kickstart_passed_1stime = 0
$coord_1_x = 0
$one_thirtysecond = 0
$f1_burnlapleft_best_score = 0
$f1_popcontrol_best_score = 0
$f1_cityslicking_best_score = 0
$f1_whiprightterminate_best_score = 0
$f1_whipleftterminate_best_score = 0
$f1_alleyoop_best_score = 0
$f1_wheelieweave_best_score = 0
$f1_pittechnique_best_score = 0
$f1_conecoilright_best_score = 0
$f1_conecoilleft_best_score = 0
$f1_the180_best_score = 0
$camera_secret_help = 0
$f1_the360_best_score = 0
$one_sixteenth = 0
$trigger_final_LA1_missions = 0
$1944 = 1
$1945 = 0
$1946[0] = 0
$1946[1] = 0
$1946[2] = 0
$1946[3] = 0
$1946[4] = 0
$1946[5] = 0
$1946[6] = 0
$1946[7] = 0
$1946[8] = 0
$1946[9] = 0
$d5_bronze_generator = 1
$d5_silver_generator = 1
$d5_gold_generator = 0
$d5_bronze_generator_unlocked = 0
$boat_accelerate_best_score = 0
$boat_simplecircuit_best_score = 0
$boat_slalom_best_score = 0
$d5_silver_generator_unlocked = CarGenerator.Create(325.12, 2537.1, 17.52, 180.0, 476, -1, -1, True, 0, 0, 0, 10000)
$d5_gold_generator_unlocked = CarGenerator.Create(348.0, 2537.1, 17.42, 180.0, 513, -1, -1, True, 0, 0, 0, 10000)
$boat_which_missions_are_open_flag = CarGenerator.Create(365.51, 2537.1, 17.42, 180.0, 425, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($d5_silver_generator_unlocked, 0)
CarGenerator.Switch($d5_gold_generator_unlocked, 0)
CarGenerator.Switch($boat_which_missions_are_open_flag, 0)
$boat_skijump_best_score = 1
$boat_hover_best_score = 60000
$boat_cut_watched = 80000
$boat_passed_once = 180000
$boat_accelerate_bronzeachieved = 10
$boat_accelerate_silverachieved = 200000
$boat_accelerate_goldachieved = 0
$boat_simplecircuit_bronzeachieved = 0
$boat_simplecircuit_silverachieved = 0
$boat_simplecircuit_goldachieved = 0
$boat_slalom_bronzeachieved = 0
$boat_slalom_silverachieved = 0
$boat_slalom_goldachieved = 0
$boat_skijump_bronzeachieved = 0
$boat_skijump_silverachieved = 0
$boat_skijump_goldachieved = 0
$boat_hover_bronzeachieved = 0
$boat_hover_silverachieved = 0
$boat_hover_goldachieved = 0
$boat_bronze_rewardgiven = 0
$boat_silver_rewardgiven = 0
$boat_gold_rewardgiven = 0
$boat_bronze_generator = 0
$boat_silver_generator = 0
$boat_gold_generator = 0
$pimp_passed_once = 0
$courierLA_passed_once = CarGenerator.Create(-2227.104, 2445.776, 0.0, 229.3771, 484, -1, -1, True, 0, 0, 0, 10000)
$courierLV_passed_once = CarGenerator.Create(-2223.873, 2409.866, 0.0, 49.0555, 446, -1, -1, True, 0, 0, 0, 10000)
$courierSF_passed_once = CarGenerator.Create(-2247.836, 2425.675, 0.0, 220.2123, 493, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($courierLA_passed_once, 0)
CarGenerator.Switch($courierLV_passed_once, 0)
CarGenerator.Switch($courierSF_passed_once, 0)
$courierLA_revenue = 0
$courierLA_cash_pickup = 0
$courierSF_revenue = 0
$courierSF_cash_pickup = 0
$courierLV_revenue = 2000
$ca3_driven_to_factory = 2000
$2003 = 2000
$2005 = 0
$bs_the180_bronzeachieved = 0
$bs_the180_best_score = 0
$bs_the360_best_score = 0
$bs_jumpstop_best_score = 0
$bs_jumpstoppie_best_score = 0
$bs_passed = 0
$bs_the360_bronzeachieved = 0
$bs_the360_silverachieved = 0
$bs_the360_goldachieved = 0
$bs_the180_silverachieved = 0
$bs_the180_goldachieved = 0
$bs_wheelie_bronzeachieved = 0
$bs_wheelie_silverachieved = 0
$bs_wheelie_goldachieved = 0
$bs_jumpstop_bronzeachieved = 0
$bs_jumpstop_silverachieved = 0
$bs_jumpstop_goldachieved = 0
$bs_stoppie_bronzeachieved = 0
$bs_stoppie_silverachieved = 0
$bs_stoppie_goldachieved = 0
$bs_jumpstoppie_bronzeachieved = 0
$bs_jumpstoppie_silverachieved = 0
$bs_jumpstoppie_goldachieved = 0
$bs_bronze_rewardgiven = 0
$bs_silver_rewardgiven = 0
$bs_gold_rewardgiven = 0
$bs_bronze_generator = 0
$bs_silver_generator = 0
$bs_gold_generator = 0
$bce2_played = 0
$start_the_bcesar_race = CarGenerator.Create(1174.76, 1364.832, 10.1203, 280.0355, 463, -1, -1, True, 0, 0, 0, 10000)
$cs1_player_car = CarGenerator.Create(1174.999, 1366.479, 10.1203, 282.2258, 521, -1, -1, True, 0, 0, 0, 10000)
$flag_bce2_passed_1stime = CarGenerator.Create(1174.467, 1368.359, 10.1203, 283.0546, 522, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($start_the_bcesar_race, 0)
CarGenerator.Switch($cs1_player_car, 0)
CarGenerator.Switch($flag_bce2_passed_1stime, 0)
$flag_syn1_passed_1stime = 0
$844 = 0
$flag_cas1_passed_1stime = 0
$menu_mode = 0
$flag_shtr_passed_1stime = 0
$flag_grav_passed_1stime = 0
$flag_on_courier_mission = 0
$respect_help_played = 0
$flag_syn1_skip1 = 0
$flag_syn1_skip2 = 0
$flag_bcr1_skip = 0
$cprace_best_position = 0
$2211 = 0
$2212 = 0
$stattreadlowmuscle_ctr = 0.0
$stattread_temp = 0.0
$gf_game_timer = 0.0
$Players_Group = 0.0
$button_pressed = 0.0
$controlmode = 0.0
$intro_bmx_blip = 0
$in_carY = 1.5
$in_carZ = 1.5
$bike_help = 3.0
$drive_by_help = 4.0
$print_first_help = 4.0
$car_help_played = 4.0
$traceY[0] = 1766.134
$traceZ[0] = -1704.228
$scrashX[0] = 12.4731
$traceY[1] = -1922.922
$traceZ[1] = 282.7151
$scrashX[1] = 40.0391
$traceY[2] = 1636.916
$traceZ[2] = 912.9478
$scrashX[2] = 9.689
$traceY[3] = 1701.69
$traceZ[3] = 1649.193
$scrashX[3] = 9.6296
$2213 = 0
$2214[0] = 999999999
$2214[1] = 999999999
$2214[2] = 999999999
$2214[3] = 999999999
$2214[4] = 999999999
$2214[5] = 999999999
$2214[6] = 999999999
$2214[7] = 999999999
$2214[8] = 999999999
$2214[9] = 999999999
$2214[10] = 999999999
$2214[11] = 999999999
$2214[12] = 999999999
$2214[13] = 999999999
$2214[14] = 999999999
$2214[15] = 999999999
$2214[16] = 999999999
$2214[17] = 999999999
$2214[18] = 999999999
$2214[19] = 999999999
$2214[20] = 999999999
$2214[21] = 999999999
$2214[22] = 999999999
$2214[23] = 999999999
$2214[24] = 999999999
$2214[25] = 999999999
$2214[26] = 999999999
$2214[27] = 999999999
$2214[28] = 999999999
$2214[29] = 999999999
$2244[0] = 999999999
$2244[1] = 999999999
$2244[2] = 999999999
$2244[3] = 999999999
$2244[4] = 999999999
$2244[5] = 999999999
$2244[6] = 999999999
$2244[7] = 999999999
$2244[8] = 999999999
$2244[9] = 999999999
$2244[10] = 999999999
$2244[11] = 999999999
$2244[12] = 999999999
$2244[13] = 999999999
$2244[14] = 999999999
$2244[15] = 999999999
$2244[16] = 999999999
$2244[17] = 999999999
$2244[18] = 999999999
$2244[19] = 999999999
$2244[20] = 999999999
$2244[21] = 999999999
$2244[22] = 999999999
$2244[23] = 999999999
$2244[24] = 999999999
$2244[25] = 999999999
$2244[26] = 999999999
$2244[27] = 999999999
$2244[28] = 999999999
$2244[29] = 999999999
$2274[0] = 999999999
$2274[1] = 999999999
$2274[2] = 999999999
$2274[3] = 999999999
$2274[4] = 999999999
$2274[5] = 999999999
$2274[6] = 999999999
$2274[7] = 999999999
$2274[8] = 999999999
$2274[9] = 999999999
$2274[10] = 999999999
$2274[11] = 999999999
$2274[12] = 999999999
$2274[13] = 999999999
$2274[14] = 999999999
$2274[15] = 999999999
$2274[16] = 999999999
$2274[17] = 999999999
$2274[18] = 999999999
$2274[19] = 999999999
$2274[20] = 999999999
$2274[21] = 999999999
$2274[22] = 999999999
$2274[23] = 999999999
$2274[24] = 999999999
$2274[25] = 999999999
$2274[26] = 999999999
$2274[27] = 999999999
$2274[28] = 999999999
$2274[29] = 999999999
$2304[0] = 0
$2304[1] = 0
$2304[2] = 0
$2304[3] = 0
$2304[4] = 0
$2304[5] = 0
$2304[6] = 0
$2304[7] = 0
$2304[8] = 0
$2304[9] = 0
$2304[10] = 0
$2304[11] = 0
$2304[12] = 0
$2304[13] = 0
$2304[14] = 0
$2304[15] = 0
$2304[16] = 0
$2304[17] = 0
$2304[18] = 0
$2304[19] = 0
$2304[20] = 0
$2304[21] = 0
$2304[22] = 0
$2304[23] = 0
$2304[24] = 0
$2304[25] = 0
$2304[26] = 0
$2304[27] = 0
$2304[28] = 0
$2304[29] = 0
$cat_otb_banter = 0
$hm5_car_gen = 0
$cs1_race_is_go = 0
$lowrider_mission_flag = 0
$lowrider_minigame_unlocked = 0
$dummy_car1 = 0
$510 = 868.3358
$516 = -29.5529
$522 = 62.3276
$511 = 257.5389
$517 = -77.23
$523 = 1.3678
$catY = 2297.78
$catZ = -16.83
$wuzi_contact_blip = 26.29
$513 = 652.17
$519 = -559.75
$steal_contact_blip = 15.15
$514 = 1294.09
$520 = 267.78
$synd_contact_blip = 18.54
$515 = 681.595
$521 = -478.7909
$zero_contact_blip = 15.3281
$pimpX = 0
$pimpY = 0
$distance = 0
$load_and_launch_catalina_mission = 0
$flag_trigger_trailor_cut = 0
$main_visible_area_char = 0
$stat = 0
$wasted_help2 = 415.55
$busted_help1 = 2533.57
$flag_store_day_food = 19.18
$pimpZ = CarGenerator.Create(383.178, 2538.891, 16.53, 180.0, 417, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($pimpZ, 0)
$sweetY = 2495.214
$sweetZ = -1687.03
$ryderX = 12.5144
$ryderY = 2515.07
$ryderZ = -1673.98
$smokeX = 12.71
$smokeY = 2459.55
$smokeZ = -1687.75
$strapX = 12.56
$strapY = 2070.87
$strapZ = -1703.01
$strap2X = 12.55
$strap2Y = 790.54
$strap2Z = -1627.91
$crashX = 12.39
$crashY = 2486.61
$crashZ = -1649.42
$cesarX = 12.48
$bcrash_contact_blip = 1801.08
$bcesar_contact_blip = -2117.92
$truth_contact_blip = 12.56
$cesarY = 1042.85
$cesarZ = -1338.62
$cat_contact_blip = 12.55
$truthY = -2043.34
$truthZ = -2525.99
$truth2X = 29.62
$truth2Y = -922.5121
$truth2Z = -1719.395
$bcesarX = 76.5703
$bcesarY = -2198.87
$bcesarZ = -2261.202
$catX = 29.6419
$507 = 1552.78
$508 = 39.3031
$509 = 23.1445
$stealY = -2154.208
$stealZ = 645.3251
$syndX = 51.3516
$563 = -2623.497
$564 = 1405.66
$565 = 6.1016
$syndY = -2031.261
$syndZ = 179.2488
$traceX = 27.8359
$wuziY = -2245.663
$wuziZ = 128.8889
$stealX = 34.3203
$testsY = -2030.402
$testsZ = 148.8279
$desert_contact_blip = 27.8359
$zeroY = -2030.402
$zeroZ = 148.8279
$wuziX = 27.8359
$desert2_contact_blip = -2026.811
$casino_contact_blip = -114.9093
$vcrash_contact_blip = 1034.179
$desert2Y = -685.2156
$desert2Z = 923.2191
$casinoX = 11.1531
$casinoY = 327.448
$casinoZ = 2530.095
$TheheistX = 15.8066
$TheheistY = 1962.432
$TheheistZ = 974.675
$vcrashX = 993.4688
$vcrashY = 1962.398
$vcrashZ = 1060.962
$docX = 993.4688
$grove_contact_blip = 2270.634
$mansion_blip_icon = 1635.599
$grove_blip_icon = 1007.367
$docY = 1598.557
$docZ = 2667.83
$heistX = 9.8203
$heistY = 2090.0
$heistZ = 1451.0
$mansion_contact_blip = 9.8
$groveY = 1253.788
$groveZ = -785.2594
$RouletteX = 91.0313
$RouletteY = 2496.06
$RouletteZ = -1687.96
$otbX = 12.53
$shooter1Y = -299.6
$shooter1Z = 1530.4
$gravX = 74.7
$gravY = 1498.7
$gravZ = -1631.9
$wheeloX = 14.0
$wheeloY = 1505.7
$wheeloZ = -1631.9
$spaceX = 14.0
$sweet_contact_blip = 1512.7
$ryder_contact_blip = -1631.9
$strap_contact_blip = 14.0
$otbY = 1960.898
$otbZ = 1008.406
$blackjackX = 991.4745
$hitchY = 1918.988
$hitchZ = -1789.324
$cour1X = 12.5
$cour1Y = -1563.768
$cour1Z = 2690.873
$cour2X = 54.6985
$blackjackY = 828.77
$blackjackZ = 4.71
$driving_schoolx = 1003.17
$spaceY = 1494.3
$spaceZ = -1644.6
$smoke_contact_blip = 14.0
$driving_schooly = 1489.5
$driving_schoolz = -1674.2
$basketballx = 12.5
$basketbally = -2132.45
$basketballz = -47.0
$limox = 35.3
$limoy = 2323.97
$limoz = -1517.04
$directorx = 24.32
$directory = 1979.1
$directorz = -1996.1
$valetx = 12.4
$valety = 862.9
$valetz = -1154.8
$banditx = 23.0
$bandity = -1758.877
$banditz = 952.744
$pilotx = 23.7487
$piloty = 2258.523
$pilotz = 1613.25
$wasted_help1 = 1005.188
$flag_player_on_coastguard_mission = 0
$courier_type = 0
$cour2Y = 1359.45
$cour2Z = -1755.0
$cour3X = 12.85
$cour3Y = -2590.44
$cour3Z = 73.21
$quarryX = 3.91
$quarryY = 1887.79
$quarryZ = 2087.39
$mountbX = 10.05
$mountbY = 823.6816
$mountbZ = 854.1741
$carcraneX = 10.7949
$carcraneY = -2309.23
$carcraneZ = -1651.22
$demoX = 483.09
$demoY = -1517.903
$demoZ = 153.7578
$poolX = 2.7813
$poolY = 2705.172
$poolZ = -1698.127
$boatsX = 10.8515
$boatsY = 1134.0
$boatsZ = -7.0
$bikesX = 1001.0
$bikesY = -2187.378
$bikesZ = 2416.552
$truckX = 4.166
$truckY = 1173.877
$truckZ = 1351.037
$danceX = 9.9219
$danceY = -77.6456
$danceZ = -1136.401
$kill2pX = 0.0781
$kill2pY = -2645.23
$kill2pZ = 1413.3
$bike_2pX = -92.69
$bike_2pY = -2325.37
$bike_2pZ = -131.655
$cars_2pX = 34.3
$cars_2pY = 563.78
$cars_2pZ = 2725.14
$heli_2pX = 60.49
$heli_2pY = 424.657
$heli_2pZ = -1439.674
$peds_2pX = 30.341
$peds_2pY = 1681.19
$peds_2pZ = -1433.31
$run_2pX = 12.53
$run_2pY = 1576.734
$run_2pZ = -1609.741
$demo_2pX = 12.3828
$demo_2pY = 2831.243
$demo_2pZ = -1674.637
$tagX = 8.9732
$tagY = 2668.769
$tagZ = -1753.973
$boxingX = 10.8515
$boxingY = -2338.5
$boxingZ = -109.01
$surviveX = 34.36
$surviveY = 764.4572
$surviveZ = 2.745
$sumoX = 999.7153
$sumoY = 2747.055
$sumoZ = -1691.208
$gym_is_running = 10.8515
$played_cut1_before_crash4 = 2694.246
$played_cut2_before_crash4 = -1706.007
$shopkeeper_model_shops = 10.8556
$cost_menu_shops = 0
$cost_menu_drawn_shops = 0
$888 = 0
$main_menu_drawn_shops = 0
$flag_bought_from_suburban = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$flag_bought_from_prolapse = 0
$2429 = 0
$bought_menu_drawn_shops = 0
$sub_menu_drawn_shops = 0
$item_price = 0
$2428 = 0
$ITEM2 = 0
$2521 = 0
$shop_sub_item_picked_shops = 0
$ITEM1 = 0
$2519 = 0
$flag_bought_from_zip = 0
$flag_bought_from_victim = 0
$flag_bought_from_didiessachs = 0
$flag_player_got_gimp_suit = 0
$flag_player_got_valet_uniform = 0
$flag_player_got_casino_uniform = 0
$flag_player_got_police_uniform = 0
$flag_player_got_country_clothes = 0
$flag_got_mechanic_clothes = 0
$flag_got_medic_clothes = 0
$flag_got_pimp_clothes = 0
$sample_name_shop = 0
$flag_6weapons_open = 0
$flag_7weapons_open = 0
$flag_8weapons_open = 0
$flag_10weapons_open = 0
$flag_11weapons_open = 0
$flag_12weapons_open = 0
$flag_13weapons_open = 0
$flag_14weapons_open = 0
$flag_15weapons_open = 0
$flag_16weapons_open = 0
$flag_bought_gun_for_doberman = 0
$flag_on_doberman_mission = 0
$flag_gang_war_active = 0
$ammu_shop_blip = 0
$2579 = 0
$2580 = 0
$2581 = 0
$flag_ryder_mission_counter = Blip.AddShortRangeSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
$flag_smoke_mission_counter = Blip.AddShortRangeSpriteForCoord(488.0, -1734.0, 34.4, RadarSprite.Spray)
$flag_strap_mission_counter = Blip.AddShortRangeSpriteForCoord(720.016, -454.625, 15.328, RadarSprite.Spray)
$2653 = Blip.AddShortRangeSpriteForCoord(-1420.547, 2583.945, 58.031, RadarSprite.Spray)
$2654 = Blip.AddShortRangeSpriteForCoord(1966.532, 2162.65, 10.995, RadarSprite.Spray)
$added_all_food_blips_before = Blip.AddShortRangeSpriteForCoord(-2425.46, 1020.83, 49.39, RadarSprite.Spray)
$added_all_clothes_blips_before = Blip.AddShortRangeSpriteForCoord(1021.8, -1018.7, 30.9, RadarSprite.Spray)
$init_ped_density = Blip.AddShortRangeSpriteForCoord(-1908.9, 292.3, 40.0, RadarSprite.Spray)
$fourdragons_door = Blip.AddShortRangeSpriteForCoord(-103.6, 1112.4, 18.7, RadarSprite.Spray)
$advert_f1 = 0
$pc_door = 0
Garage.Deactivate('CN2GAR2')
Restart.AddHospital(2027.77, -1420.52, 15.99, 137.0, Town.LS)
Restart.AddHospital(1180.85, -1325.57, 12.58, 271.4, Town.LS)
Restart.AddPolice(1550.68, -1675.49, 14.51, 90.0, Town.LS)
Restart.AddHospital(1244.437, 331.2261, 18.5547, 7.5465, Town.SF)
Restart.AddPolice(632.2344, -571.7104, 15.3515, 267.2, Town.SF)
Restart.AddHospital(-2199.719, -2308.075, 29.6181, 322.8928, Town.SF)
Restart.AddPolice(-2163.829, -2387.817, 29.625, 134.2066, Town.SF)
Restart.AddHospital(-2670.285, 616.4364, 13.4531, 183.1042, Town.SF)
Restart.AddPolice(-1605.792, 716.8598, 11.0241, 355.2978, Town.SF)
Restart.AddHospital(-316.3832, 1056.045, 18.7344, 1.6017, Town.LV)
Restart.AddPolice(-212.1889, 979.4168, 18.3219, 278.0478, Town.LV)
Restart.AddHospital(-1514.823, 2527.119, 54.7443, 2.3546, Town.LV)
Restart.AddPolice(-1393.072, 2633.116, 54.9491, 86.0424, Town.LV)
Restart.AddHospital(1578.446, 1770.682, 9.8358, 99.7567, Town.LV)
Restart.AddPolice(2337.083, 2453.802, 13.9765, 90.7643, Town.LV)
World.AddStuntJump(1939.136, -1968.052, 17.6649, 2.5, 2.728, 3.17, 1989.958, -1971.951, 28.7249, 11.134, 5.398, 7.23, 1960.545, -1963.571, 25.3229, 500)
World.AddStuntJump(2209.275, -1843.686, 19.0964, 2.5, 4.28, 3.83, 2215.124, -1889.359, 17.7864, 15.36, 7.01, 11.05, 2203.34, -1861.524, 21.8367, 500)
World.AddStuntJump(1177.215, -1696.761, 21.368, 2.22, 2.5, 5.1, 1177.972, -1626.719, 32.8079, 18.2, 7.23, 12.36, 1182.92, -1659.431, 29.1115, 500)
World.AddStuntJump(2278.29, -1357.857, 31.3255, 2.5, 2.5, 3.96, 2275.299, -1310.756, 30.9555, 10.69, 2.5, 9.36, 2271.681, -1331.282, 32.6621, 500)
World.AddStuntJump(2335.351, -2163.947, 18.5147, 3.52, 2.5, 3.44, 2344.419, -2178.703, 24.2546, 15.64, 3.05, 11.96, 2336.89, -2190.321, 22.4292, 500)
World.AddStuntJump(2825.933, -1582.66, 18.126, 2.5, 4.22, 4.92, 2787.504, -1569.318, 27.776, 2.704, 19.16, 14.15, 2805.121, -1579.892, 20.7985, 500)
World.AddStuntJump(2460.177, -2567.911, 18.8162, 2.5, 2.5, 3.65, 2464.206, -2597.455, 25.8862, 8.89, 0.82, 6.26, 2454.878, -2593.787, 23.9707, 500)
World.AddStuntJump(1832.453, -2386.805, 17.9247, 2.5, 2.5, 3.01, 1833.612, -2372.385, 17.9247, 6.57, 0.5, 6.65, 1840.288, -2367.095, 19.4731, 500)
World.AddStuntJump(1839.745, -2514.477, 16.1769, 2.5, 2.34, 2.77, 1921.679, -2517.896, 20.6069, 2.512, 6.42, 8.6999, 1879.752, -2529.894, 22.7841, 500)
World.AddStuntJump(2634.397, -2107.984, 17.0887, 4.172, 2.5, 5.06, 2595.646, -2109.055, 25.7387, 9.592, 4.178, 6.1, 2608.7, -2117.174, 21.6272, 500)
World.AddStuntJump(2352.3, -1259.068, 28.9962, 2.5, 2.5, 2.76, 2298.204, -1257.677, 28.7062, 2.62, 20.04, 9.96, 2312.838, -1265.614, 37.7793, 500)
World.AddStuntJump(1013.163, -1270.362, 24.4456, 2.0, 2.0, 4.05, 1045.359, -1273.475, 32.9636, 2.0, 14.304, 13.14, 1037.356, -1264.502, 25.3721, 500)
World.AddStuntJump(-973.357, -223.2307, 53.3717, 5.35, 29.1299, 15.98, -1116.028, -211.0103, 30.6016, 49.9398, 32.2599, 27.0399, -1038.667, -187.1254, 54.0, 500)
World.AddStuntJump(-2637.069, 780.3949, 50.0166, 6.76, 2.52, 9.29, -2639.577, 733.2753, 44.1565, 9.91, 2.52, 9.29, -2633.359, 757.9172, 52.0809, 500)
World.AddStuntJump(-2520.199, 1169.203, 59.5525, 6.54, 3.09, 5.97, -2520.199, 1202.12, 53.4025, 33.5399, 6.21, 17.66, -2513.778, 1193.925, 57.4115, 500)
World.AddStuntJump(-1794.982, 1211.612, 35.6794, 3.02, 2.58, 4.75, -1795.802, 1258.197, 32.5394, 19.51, 5.13, 19.69, -1797.49, 1238.395, 37.9679, 500)
World.AddStuntJump(-2659.551, 1533.67, 53.2004, 2.5, 2.62, 4.73, -2659.551, 1551.645, 45.5003, 7.26, 11.79, 18.54, -2658.426, 1531.631, 60.6476, 500)
World.AddStuntJump(-1690.662, 1110.392, 57.2776, 2.3, 2.98, 5.08, -1662.512, 1110.392, 57.2776, 2.3, 18.12, 12.26, -1649.676, 1114.14, 50.8559, 500)
World.AddStuntJump(-2145.461, -112.0259, 44.3452, 7.24, 3.3, 5.49, -2146.82, -89.4659, 54.3752, 4.36, 3.3, 14.28, -2141.051, -89.1471, 45.6462, 500)
World.AddStuntJump(-267.7739, 2662.036, 68.7405, 3.53, 4.02, 6.0, -237.1135, 2661.936, 79.7505, 7.28, 12.06, 8.14, -253.199, 2654.016, 72.7989, 500)
World.AddStuntJump(-249.6904, 2590.805, 66.1194, 3.68, 2.96, 3.96, -249.6904, 2575.325, 66.1194, 12.66, 5.21, 9.68, -256.2141, 2555.207, 64.5246, 500)
World.AddStuntJump(-871.5031, 2308.79, 164.5739, 3.39, 2.87, 4.86, -981.079, 2300.913, 111.7538, 18.77, 40.02, 69.5898, -905.3314, 2315.064, 163.7206, 500)
World.AddStuntJump(2073.713, 2366.653, 50.8534, 5.54, 3.45, 2.18, 2050.73, 2313.709, 31.8133, 29.69, 11.19, 26.09, 2077.486, 2318.872, 26.9287, 500)
World.AddStuntJump(2170.947, 2402.609, 62.2905, 2.78, 3.59, 3.62, 2183.67, 2402.609, 62.2905, 4.92, 9.2, 9.8, 2232.11, 2387.587, 50.9115, 500)
World.AddStuntJump(2418.056, 1353.234, 12.3641, 2.2, 5.014, 3.98, 2481.923, 1346.354, 25.664, 5.01, 19.984, 11.63, 2462.313, 1362.702, 19.7672, 500)
World.AddStuntJump(2407.308, 1364.379, 14.5734, 5.16, 2.72, 6.0, 2399.12, 1386.524, 25.4934, 18.57, 4.61, 11.62, 2412.772, 1392.431, 22.3043, 500)
World.AddStuntJump(2784.763, 2208.72, 15.1934, 3.05, 1.76, 4.33, 2738.984, 2208.72, 21.8434, 3.24, 24.23, 16.15, 2758.656, 2201.665, 18.3639, 500)
World.AddStuntJump(1482.383, 2037.004, 17.0576, 2.09, 2.69, 5.58, 1482.875, 2077.978, 23.8776, 3.284, 4.09, 7.07, 1489.125, 2065.024, 20.6514, 500)
World.AddStuntJump(1976.397, 2593.686, 17.2126, 3.67, 2.0, 5.44, 2041.191, 2593.686, 30.4425, 5.05, 32.8, 20.5, 2007.676, 2596.314, 28.1338, 500)
World.AddStuntJump(1636.264, 2399.712, 15.8903, 2.5, 2.5, 5.08, 1636.264, 2449.071, 15.8903, 21.33, 2.0, 13.95, 1642.17, 2440.29, 18.5118, 500)
World.AddStuntJump(2119.23, 2385.213, 33.7094, 2.1, 3.36, 2.6, 2151.891, 2385.601, 30.8958, 3.51, 13.42, 9.04, 2128.102, 2392.048, 32.2357, 500)
World.AddStuntJump(-2082.529, -2498.932, 33.9682, 2.34, 2.4, 3.55, -2110.031, -2479.709, 40.8882, 4.42, 4.08, 5.94, -2101.418, -2496.468, 37.1704, 500)
World.AddStuntJump(2112.408, 97.9, 39.993, 5.64, 10.28, 8.05, 2152.117, 91.33, 39.993, 14.95, 26.95, 16.22, 2149.933, 76.6566, 44.9509, 500)
World.AddStuntJump(-2100.413, -1743.595, 199.7312, 2.94, 4.27, 4.96, -2082.491, -1718.923, 199.7312, 10.8, 9.39, 17.62, -2096.167, -1714.572, 201.0246, 500)
World.AddStuntJump(-2287.671, -2800.779, 22.0541, 5.81, 13.66, 5.57, -2255.133, -2800.779, 22.0541, 12.56, 28.68, 14.69, -2253.319, -2814.645, 22.8247, 500)
World.AddStuntJump(110.8902, 2428.049, 23.7936, 3.58, 3.15, 4.2, 132.64, 2445.781, 32.7336, 4.38, 16.62, 15.35, 119.7758, 2449.64, 27.7167, 500)
World.AddStuntJump(-894.4963, 2693.199, 44.7303, 3.58, 2.63, 2.44, -941.4026, 2662.939, 55.7302, 29.14, 16.02, 19.74, -931.5991, 2647.995, 51.4501, 500)
World.AddStuntJump(89.9936, -243.2046, 7.5581, 3.96, 4.46, 4.48, 101.5435, -255.4345, 7.5581, 7.39, 11.31, 14.99, 87.0604, -266.0403, 9.8153, 500)
World.AddStuntJump(160.7991, -160.2479, 6.1453, 2.12, 1.452, 2.23, 171.8147, -162.405, 12.321, 2.0, 7.2, 7.18, 183.2545, -151.314, 13.5961, 500)
World.AddStuntJump(-72.3, 17.7, 8.4132, 2.81, 2.4, 4.48, -65.1154, 35.7188, 16.6432, 7.71, 2.0, 7.27, -70.4781, 55.8289, 15.0868, 500)
World.AddStuntJump(-39.7989, 53.3007, 6.9223, 3.15, 2.76, 2.35, -36.4289, 76.6106, 6.9223, 12.51, 4.48, 9.67, -42.5507, 77.3671, 7.8899, 500)
World.AddStuntJump(638.7504, -520.0714, 18.8519, 2.0, 2.15, 2.34, 639.8602, -545.0903, 22.7619, 10.97, 3.01, 8.26, 629.1661, -542.9603, 24.9594, 500)
World.AddStuntJump(1749.723, 779.6028, 13.4757, 1.68, 2.616, 2.164, 1749.723, 825.0914, 14.2657, 10.718, 2.616, 5.824, 1744.046, 799.4149, 12.6554, 500)
World.AddStuntJump(110.2446, -257.9929, 6.2739, 3.36, 3.32, 2.93, 92.4846, -245.6928, 11.0439, 8.43, 6.92, 3.99, 92.9552, -254.6195, 10.1539, 500)
World.AddStuntJump(2125.642, 95.2542, 37.3959, 3.83, 4.09, 2.57, 2098.51, 99.5841, 35.8559, 3.83, 8.46, 5.72, 2116.393, 88.0306, 40.2113, 500)
World.AddStuntJump(-344.6466, -9.8812, 44.9609, 14.26, 3.45, 3.8, -336.1166, 28.7688, 37.7609, 16.09, 4.55, 6.29, -358.2565, 15.6353, 41.7241, 500)
World.AddStuntJump(-2589.18, 1164.37, 59.8256, 2.84, 2.77, 2.23, -2567.125, 1231.183, 47.0362, 18.9, 9.04, 6.05, -2576.06, 1209.225, 53.549, 500)
World.AddStuntJump(-2292.044, 1097.71, 84.7347, 2.082, 2.074, 2.02, -2350.591, 1101.928, 64.1846, 4.522, 14.204, 9.03, -2323.731, 1106.665, 77.177, 500)
World.AddStuntJump(-2408.285, 723.2977, 38.6835, 2.62, 2.5, 1.69, -2408.285, 723.2977, 38.6835, 22.41, 2.58, 4.06, -2407.981, 716.5809, 38.4334, 500)
World.AddStuntJump(-2116.356, 925.6832, 87.819, 2.68, 1.99, 2.48, -2069.565, 925.433, 76.689, 2.68, 15.26, 14.46, -2085.629, 935.5674, 85.4677, 500)
World.AddStuntJump(-1903.192, 223.3468, 37.7965, 1.75, 1.84, 1.7, -1874.382, 223.3467, 42.4064, 1.75, 8.13, 4.67, -1897.039, 219.1329, 39.911, 500)
World.AddStuntJump(-1687.323, -162.201, 17.8603, 2.68, 3.19, 2.2, -1722.537, -126.391, 14.9903, 9.09, 7.13, 13.07, -1716.878, -142.6182, 14.6114, 500)
World.AddStuntJump(-1729.924, -364.5276, 18.2246, 2.268, 2.51, 2.148, -1777.487, -364.2776, 17.9446, 2.268, 15.33, 7.068, -1745.84, -355.4089, 14.2197, 500)
World.AddStuntJump(-1972.099, -543.0899, 38.9862, 1.96, 2.01, 1.77, -1912.318, -543.0899, 45.3462, 7.58, 14.78, 8.69, -1942.915, -539.1157, 40.2453, 500)
World.AddStuntJump(2770.214, -1177.477, 70.7527, 2.344, 1.99, 2.172, 2814.468, -1182.996, 55.7938, 5.94, 17.38, 31.52, 2766.031, -1184.692, 74.9193, 500)
World.AddStuntJump(2248.838, -2463.258, 15.1049, 5.18, 2.26, 2.59, 2247.468, -2432.427, 21.8068, 12.44, 2.26, 9.32, 2240.757, -2446.201, 16.8109, 500)
World.AddStuntJump(2248.832, -2627.623, 15.1806, 4.862, 2.144, 2.556, 2248.832, -2655.498, 21.2585, 8.68, 2.144, 8.498, 2237.695, -2650.768, 16.3791, 500)
World.AddStuntJump(2326.122, -1508.751, 27.0066, 2.242, 1.728, 2.08, 2286.813, -1508.732, 30.3748, 3.86, 9.38, 8.99, 2299.404, -1514.596, 29.8683, 500)
World.AddStuntJump(1623.574, -1110.956, 61.8178, 1.656, 2.014, 1.836, 1623.574, -1079.265, 61.8178, 17.246, 2.014, 22.1459, 1615.633, -1093.8, 64.8724, 500)
World.AddStuntJump(1679.646, -962.2209, 65.6737, 1.694, 2.49, 1.94, 1679.646, -988.7401, 65.6737, 13.124, 2.49, 16.74, 1683.881, -977.1464, 65.7485, 500)
World.AddStuntJump(1667.167, -992.8579, 32.7591, 6.32, 3.768, 2.48, 1675.805, -1008.297, 32.7591, 18.7479, 2.438, 9.79, 1689.156, -1013.63, 35.6715, 500)
World.AddStuntJump(347.0, -1662.299, 35.8218, 3.12, 2.65, 2.61, 351.6596, -1700.264, 35.8218, 19.91, 4.13, 29.76, 337.9746, -1676.993, 36.7335, 500)
World.AddStuntJump(743.1525, -1132.819, 25.7991, 1.834, 3.606, 2.35, 710.0014, -1132.989, 25.7991, 1.834, 11.096, 10.0, 717.1129, -1136.549, 25.5161, 500)
World.AddStuntJump(1395.562, -1460.566, 12.3906, 1.672, 1.97, 1.75, 1402.96, -1447.466, 17.7266, 10.062, 1.97, 5.15, 1395.023, -1450.836, 17.1621, 500)
World.AddStuntJump(1586.489, 312.8876, 23.9965, 2.15, 6.38, 1.99, 1540.208, 325.3573, 28.9665, 2.15, 32.8899, 11.37, 1562.912, 331.3251, 23.6496, 500)
World.AddStuntJump(2058.1, -2677.517, 15.4946, 3.1, 2.48, 2.6, 2009.261, -2677.517, 20.8946, 1.93, 16.5499, 11.26, 2036.566, -2685.281, 13.2053, 500)
World.AddStuntJump(586.0102, -1773.769, 15.2312, 2.0, 2.27, 1.78, 627.7189, -1781.119, 22.6912, 2.0, 7.06, 9.94, 598.5319, -1778.481, 17.0529, 500)
World.AddStuntJump(2172.078, 2430.507, 61.747, 2.12, 3.3, 2.35, 2191.592, 2436.304, 53.057, 2.5, 12.57, 25.22, 2227.234, 2436.885, 37.788, 500)
World.AddStuntJump(2176.133, 2268.196, 13.4683, 2.286, 1.934, 1.938, 2137.272, 2268.246, 16.7183, 2.286, 10.554, 6.458, 2148.601, 2264.892, 13.6634, 500)
World.AddStuntJump(-2213.773, -311.0786, 38.5339, 1.15, 3.04, 2.59, -2213.773, -327.8282, 44.6738, 10.374, 3.04, 5.93, -2215.977, -325.7729, 42.5119, 500)
$2661 = 50
$2662 = Object.CreateNoOffset(#TRDCSGRGDOOR_LVS, 1903.383, 967.62, 11.438)
Object.SetHeading($2662, 0.0)
Object.DontRemove($2662)
$2663 = Object.CreateNoOffset(#MD_POSTER, 2167.82, -1518.193, 20.237)
Object.SetHeading($2663, 0.0)
Object.DontRemove($2663)
$ca3_loadingbay = Object.CreateNoOffset(#CR_DOOR_01, 2322.845, 8.304, 25.483)
Object.SetCollisionDamageEffect($ca3_loadingbay, False)
Object.FreezePosition($ca3_loadingbay, True)
$g_BD_DOOR = Object.CreateNoOffset(#CR_DOOR_01, 2316.233, 0.712, 25.742)
Object.SetHeading($g_BD_DOOR, 270.0)
Object.FreezePosition($g_BD_DOOR, True)
Object.SetCollisionDamageEffect($g_BD_DOOR, False)
$china_town_gate = Object.CreateNoOffset(#CR_DOOR_03, 2304.257, -17.744, 25.742)
Object.FreezePosition($china_town_gate, True)
Object.SetCollisionDamageEffect($china_town_gate, False)
$frontdoorr_a51 = Object.CreateNoOffset(#CR_DOOR_03, 2304.257, -14.583, 25.742)
Object.FreezePosition($frontdoorr_a51, True)
Object.SetHeading($frontdoorr_a51, 180.0)
Object.SetCollisionDamageEffect($frontdoorr_a51, False)
$frontdoorl_a51 = Object.CreateNoOffset(#SHUTTER_VEGAS, 1055.629, 2087.67, 12.469)
Object.DontRemove($frontdoorl_a51)
$trapdoor_a51 = Object.Create(#CR1_DOOR, 2352.851, -1171.027, 26.9669)
Object.SetHeading($trapdoor_a51, 90.0)
Object.SetDynamic($trapdoor_a51, False)
Object.SetCollisionDamageEffect($trapdoor_a51, False)
Object.SetProofs($trapdoor_a51, True, True, True, True, True)
Object.DontRemove($trapdoor_a51)
$launchdoor_a51 = Object.CreateNoOffset(#CT_GATEXR, -2179.353, 661.232, 50.214)
Object.SetCollisionDamageEffect($launchdoor_a51, False)
Object.DontRemove($launchdoor_a51)
$init_portakabin = Object.CreateNoOffset(#A51_BLASTDOORR, 215.941, 1874.571, 13.903)
Object.SetHeading($init_portakabin, 0.0)
$2672 = Object.CreateNoOffset(#A51_BLASTDOORL, 211.842, 1874.571, 13.903)
Object.SetHeading($2672, 0.0)
Object.DontRemove($init_portakabin)
Object.DontRemove($2672)
$2673 = Object.CreateNoOffset(#A51_LABDOOR, 297.766, 1842.618, 6.764)
Object.DontRemove($2673)
$2674 = Object.Create(#A51_JETDOOR, 268.664, 1884.06, 15.925)
  Object.Rotate($2674, 90.0, 90.0, False)
Object.DontRemove($2674)
Garage.ChangeType('HBGDSFS', GarageType.ForScriptToOpenAndClose)
Garage.ChangeType('GHOSTDR', GarageType.ForScriptToOpenAndClose)
$2681[0] = -2108.0
$2687[0] = 155.0
$2693[0] = 34.0488
$2699[0] = 178.0
$2681[1] = -2089.0
$2687[1] = 172.0
$2693[1] = 34.0488
$2699[1] = 267.0
$2681[2] = -2069.0
$2687[2] = 229.0
$2693[2] = 35.0215
$2699[2] = 270.0
$2681[3] = -2077.0
$2687[3] = 271.0
$2693[3] = 33.7475
$2699[3] = 0.0
$2681[4] = -2096.0
$2687[4] = 261.0
$2693[4] = 34.5808
$2699[4] = 264.0
$2681[5] = -2129.0
$2687[5] = 306.0
$2693[5] = 33.7245
$2699[5] = 0.0
$2705 = 0

:INITIAL_19059
if 
  6 > $2705
goto_if_false @INITIAL_19159
$2675($2705,6i) = Object.Create(#PORTAKABIN, $2681($2705,6f), $2687($2705,6f), $2693($2705,6f))
Object.SetHeading($2675($2705,6i), $2699($2705,6f))
Object.SetDynamic($2675($2705,6i), False)
Object.DontRemove($2675($2705,6i))
$2705 += 1
goto @INITIAL_19059

:INITIAL_19159
$riot2_door = Object.Create(#FREIGHT_SFW_DOOR, -2468.141, 1547.938, 22.7)
Object.DontRemove($riot2_door)
$2707 = Object.CreateNoOffset(#AB_CASDORLOK, 2168.644, 1619.43, 1000.3)
Object.SetAreaVisible($2707, 1)
Object.SetHeading($2707, 270.0)
Object.DontRemove($2707)
$2708 = 0
$2709 = 0
$2710 = Object.Create(#AD_FLATDOOR, 1833.36, -1995.45, 12.5)
Object.SetHeading($2710, 90.0)
Object.DontRemove($2710)
$2711 = Object.Create(#AD_FLATDOOR, 1819.81, -1994.66, 12.5)
Object.DontRemove($2711)
$2712 = Object.Create(#AD_FLATDOOR, 1827.68, -1980.0, 12.5)
Object.SetHeading($2712, 270.0)
Object.DontRemove($2712)
$2713 = Object.Create(#AD_FLATDOOR, 1851.84, -1990.67, 12.5)
Object.DontRemove($2713)
$2714 = Object.Create(#AD_FLATDOOR, 1867.29, -1984.96, 12.5)
Object.SetHeading($2714, 270.0)
Object.DontRemove($2714)
$2715 = Object.Create(#AD_FLATDOOR, 1866.52, -1998.53, 12.5)
Object.SetHeading($2715, 90.0)
Object.DontRemove($2715)
$2716 = Object.Create(#AD_FLATDOOR, 1899.75, -1984.95, 12.5)
Object.SetHeading($2716, 270.0)
Object.DontRemove($2716)
$2717 = Object.Create(#AD_FLATDOOR, 1914.39, -1992.82, 12.5)
Object.SetHeading($2717, 180.0)
Object.DontRemove($2717)
$2718 = Object.Create(#AD_FLATDOOR, 1899.01, -1998.5, 12.5)
Object.SetHeading($2718, 90.0)
Object.DontRemove($2718)
$2719 = Object.Create(#AD_FLATDOOR, 1900.89, -2020.11, 12.5)
Object.DontRemove($2719)
$2720 = Object.Create(#AD_FLATDOOR, 1914.4, -2020.91, 12.5)
Object.SetHeading($2720, 180.0)
Object.DontRemove($2720)
$carterwall = Object.Create(#AD_FLATDOOR, 1906.54, -2035.52, 12.5)
Object.SetHeading($carterwall, 90.0)
Object.DontRemove($carterwall)
$sf_crane1_base = Object.Create(#AD_FLATDOOR, 1851.86, -2020.14, 12.5)
Object.DontRemove($sf_crane1_base)
$sf_crane1_arm = Object.Create(#AD_FLATDOOR, 1865.42, -2020.89, 12.5)
Object.SetHeading($sf_crane1_arm, 180.0)
Object.DontRemove($sf_crane1_arm)
$sf_crane1_trolley = Object.Create(#AD_FLATDOOR, 1857.55, -2035.52, 12.5)
Object.SetHeading($sf_crane1_trolley, 90.0)
Object.DontRemove($sf_crane1_trolley)
$sf_crane1_base_LOD = Object.CreateNoOffset(#IMY_SHASH_WALL, 2522.008, -1272.93, 35.609)
Object.SetCollisionDamageEffect($sf_crane1_base_LOD, False)
Object.FreezePosition($sf_crane1_base_LOD, True)
Object.DontRemove($sf_crane1_base_LOD)
$sf_crane1_arm_LOD = Object.CreateNoOffset(#TWRCRANE_M_04, -2080.441, 256.015, 66.869)
Object.DontRemove($sf_crane1_arm_LOD)
$magno_base = Object.CreateNoOffset(#TWRCRANE_M_01, -2080.441, 256.007, 99.408)
Object.DontRemove($magno_base)
$magno_cabin = Object.CreateNoOffset(#TWRCRANE_M_02, -2080.441, 296.46, 102.861)
Object.DontRemove($magno_cabin)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($sf_crane1_arm_LOD)
$on_footX = Object.GetHeading($sf_crane1_arm_LOD)
$magno_arm = Object.CreateNoOffset(#LODCRANE_M_04, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($magno_arm, $on_footX)
Object.DontRemove($magno_arm)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($magno_base)
$on_footX = Object.GetHeading($magno_base)
$magno_base_LOD = Object.CreateNoOffset(#LODCRANE_M_01, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($magno_base_LOD, $on_footX)
Object.DontRemove($magno_base_LOD)
Object.ConnectLods($sf_crane1_arm_LOD, $magno_arm)
Object.ConnectLods($magno_base, $magno_base_LOD)
$magno_cabin_LOD = Object.CreateNoOffset(#MAGNOCRANE_01, -1547.978, 123.9883, 26.9332)
Object.SetHeading($magno_cabin_LOD, 45.0)
Object.DontRemove($magno_cabin_LOD)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($magno_cabin_LOD, 0.0, 0.0, 0.0)
$magno_arm_LOD = Object.CreateNoOffset(#MAGNOCRANE_02, $on_footY, $on_footZ, $in_carX)
Object.DontRemove($magno_arm_LOD)
Object.SetHeading($magno_arm_LOD, 140.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($magno_arm_LOD, 0.0, -2.185, 8.51)
$on_footX = Object.GetHeading($magno_arm_LOD)
$magno_base_x = Object.CreateNoOffset(#MAGNOCRANE_03, $on_footY, $on_footZ, $in_carX)
Object.SetRotation($magno_base_x, 15.0, 0.0, $on_footX)
Object.DontRemove($magno_base_x)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($magno_cabin_LOD)
$on_footX = Object.GetHeading($magno_cabin_LOD)
$magno_base_y = Object.CreateNoOffset(#LODNOCRANE_01, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($magno_base_y, $on_footX)
Object.DontRemove($magno_base_y)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($magno_arm_LOD)
$on_footX = Object.GetHeading($magno_arm_LOD)
$magno_base_z = Object.CreateNoOffset(#LODNOCRANE_02, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($magno_base_z, $on_footX)
Object.DontRemove($magno_base_z)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($magno_base_x)
$on_footX = Object.GetHeading($magno_base_x)
$magno_cabin_h = Object.CreateNoOffset(#LODNOCRANE_03, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($magno_cabin_h, $on_footX)
Object.SetRotation($magno_cabin_h, 15.0, 0.0, $on_footX)
Object.DontRemove($magno_cabin_h)
Object.ConnectLods($magno_cabin_LOD, $magno_base_y)
Object.ConnectLods($magno_arm_LOD, $magno_base_z)
Object.ConnectLods($magno_base_x, $magno_cabin_h)
$lv_arm = Object.CreateNoOffset(#QUARRY_CRANEBASE, 709.45, 915.93, -19.66)
Object.SetHeading($lv_arm, 135.0)
Object.DontRemove($lv_arm)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($lv_arm, 0.0, 0.0, 4.0689)
$on_footX = Object.GetHeading($lv_arm)
$lv_trolley = Object.CreateNoOffset(#QUARRY_CRANE, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($lv_trolley, $on_footX)
Object.DontRemove($lv_trolley)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($lv_trolley, 0.0, 0.0, 1.0206)
$on_footX = Object.GetHeading($lv_trolley)
$lv_base_LOD = Object.CreateNoOffset(#QUARRY_CRANEARM, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($lv_base_LOD, $on_footX)
Object.DontRemove($lv_base_LOD)
$lv_base = 45.0
Object.SetRotation($lv_base_LOD, 0.0, $lv_base, $on_footX)
$lv_arm_LOD = Object.CreateNoOffset(#TWRCRANE_M_04, 2399.202, 1879.139, 37.55)
Object.SetHeading($lv_arm_LOD, 0.0)
Object.DontRemove($lv_arm_LOD)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($lv_arm_LOD, 0.0, 0.0, 32.521)
$on_footX = Object.GetHeading($lv_arm_LOD)
$flag_attacked_keeper_food = Object.CreateNoOffset(#TWRCRANE_M_01, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($flag_attacked_keeper_food, $on_footX)
Object.DontRemove($flag_attacked_keeper_food)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($flag_attacked_keeper_food, 0.0, 20.0, 3.789)
$on_footX = Object.GetHeading($flag_attacked_keeper_food)
$flag_attacked_barber = Object.CreateNoOffset(#TWRCRANE_M_02, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($flag_attacked_barber, $on_footX)
Object.DontRemove($flag_attacked_barber)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($lv_arm_LOD)
$on_footX = Object.GetHeading($lv_arm_LOD)
$flag_food_message = Object.CreateNoOffset(#LODCRANE_M_04, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($flag_food_message, $on_footX)
Object.DontRemove($flag_food_message)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($flag_attacked_keeper_food)
$on_footX = Object.GetHeading($flag_attacked_keeper_food)
$shop_item_price = Object.CreateNoOffset(#LODCRANE_M_01, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($shop_item_price, $on_footX)
Object.DontRemove($shop_item_price)
Object.ConnectLods($lv_arm_LOD, $flag_food_message)
Object.ConnectLods($flag_attacked_keeper_food, $shop_item_price)
$gen_car1 = 0.0
$gen_car2 = 0.0
$gen_car3 = 0.0
$flag_1st_time_nitro_shop = 0
$players_money = 0
$temp_shopX = 0
Garage.ChangeType('BODLAWN', GarageType.Transfender)
Garage.ChangeType('MODLAST', GarageType.LocoLowCo)
Garage.ChangeType('MDSSFSE', GarageType.Transfender)
Garage.ChangeType('MDS1SFS', GarageType.WheelArchAngels)
Garage.ChangeType('VECMOD', GarageType.Transfender)
$gen_car4 = 0
$ryder_carX = 2508.16
$ryder_carY = -1666.47
$ryder_carZ = 13.0
$ryder_carH = 16.0
$truth = 2473.53
$catalina = -1690.21
$flag_player_on_ambulance_mission = 13.0
$flag_player_on_fire_mission = 0.0
$steal_car_cargen1 = CarGenerator.Create(2692.029, -1674.024, 9.4656, 178.8279, 556, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.SetHasBeenOwned($steal_car_cargen1, True)
CarGenerator.Switch($steal_car_cargen1, 0)
$steal_car_cargen2 = CarGenerator.Create(2676.695, -1673.756, 9.4038, 178.8279, 494, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.SetHasBeenOwned($steal_car_cargen2, True)
CarGenerator.Switch($steal_car_cargen2, 0)
$steal_car_cargen3 = CarGenerator.Create(1104.932, 1614.808, 12.5546, 85.6435, 424, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.SetHasBeenOwned($steal_car_cargen3, True)
CarGenerator.Switch($steal_car_cargen3, 0)
$nascar_reward_cargen2 = CarGenerator.Create(-1460.87, -1566.737, 101.0579, 2.0, 468, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.SetHasBeenOwned($nascar_reward_cargen2, True)
CarGenerator.Switch($nascar_reward_cargen2, 101)
$dirtrack_reward_cargen = CarGenerator.Create(-1446.239, -1494.731, 101.0514, 6.0, 478, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.SetHasBeenOwned($dirtrack_reward_cargen, True)
CarGenerator.Switch($dirtrack_reward_cargen, 101)
$sw6_car_gen1 = CarGenerator.Create(-1439.643, -1576.823, 101.0578, 264.1183, 531, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.SetHasBeenOwned($sw6_car_gen1, True)
CarGenerator.Switch($sw6_car_gen1, 101)
$gen_car10 = CarGenerator.CreateWithPlate($truth, $catalina, $flag_player_on_ambulance_mission, $flag_player_on_fire_mission, 600, 84, 84, False, 0, 0, 0, 10000, "_SHERM__")
CarGenerator.SetHasBeenOwned($gen_car10, True)
CarGenerator.Switch($gen_car10, 101)
$gen_car12 = CarGenerator.CreateWithPlate($ryder_carX, $ryder_carY, $ryder_carZ, $ryder_carH, 492, 59, 34, False, 0, 0, 0, 10000, "GROVE4L_")
CarGenerator.SetHasBeenOwned($gen_car12, True)
CarGenerator.Switch($gen_car12, 101)
$gen_car14 = CarGenerator.Create(2412.52, -1326.49, 23.74, 177.92, 481, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.SetHasBeenOwned($gen_car14, True)
CarGenerator.Switch($gen_car14, 101)
$gen_car13 = CarGenerator.Create(2445.5, -1340.8, 23.5, 180.0, 542, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($gen_car13, 101)
$gen_car15 = CarGenerator.Create(2499.18, -1648.26, 13.0, 158.61, 481, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($gen_car15, 101)
$steal_car_cargen4 = CarGenerator.Create(2685.981, -2016.21, 12.5501, 0.337, 567, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($steal_car_cargen4, 0)
$nascar_reward_cargen1 = CarGenerator.Create(1772.096, -2125.103, 13.0469, 0.3441, 536, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($nascar_reward_cargen1, 101)
$farm_gen3 = CarGenerator.Create(-2048.856, -2521.276, 31.125, 171.0232, 468, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($farm_gen3, 101)
$steal_car_cargen5 = CarGenerator.Create(-1956.3, 297.7, 34.3, 64.8, 558, -1, -1, True, 0, 0, 0, 10000)
$done_bmx_stunt_progress = CarGenerator.Create(-1952.6, 265.7, 39.9, 292.8, 562, -1, -1, True, 0, 0, 0, 10000)
$done_nrg500_stunt_progress = CarGenerator.Create(-1957.7, 277.0, 34.3, 133.4, 560, -1, -1, True, 0, 0, 0, 10000)
$stunt_best_time = CarGenerator.Create(-1952.8, 258.8, 39.9, 259.1, 567, -1, -1, True, 0, 0, 0, 10000)
$2798 = CarGenerator.Create(-1950.5, 259.7, 34.3, 53.8, 561, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($steal_car_cargen5, 0)
CarGenerator.Switch($done_bmx_stunt_progress, 0)
CarGenerator.Switch($done_nrg500_stunt_progress, 0)
CarGenerator.Switch($stunt_best_time, 0)
CarGenerator.Switch($2798, 0)
CarGenerator.SetHasBeenOwned($steal_car_cargen5, True)
CarGenerator.SetHasBeenOwned($done_bmx_stunt_progress, True)
CarGenerator.SetHasBeenOwned($done_nrg500_stunt_progress, True)
CarGenerator.SetHasBeenOwned($stunt_best_time, True)
CarGenerator.SetHasBeenOwned($2798, True)
$stunt_bmx1_cargen = 0
$stunt_bmx1_x = 0
$stunt_bmx1_y[0] = 999999999
$stunt_bmx1_y[1] = 999999999
$stunt_nrg500_x = 1946.09
$stunt_nrg500_y = -1380.72
$stunt_nrg500_z = 18.0
$stunt_nrg500_cargen = CarGenerator.Create($stunt_nrg500_x, $stunt_nrg500_y, $stunt_nrg500_z, 88.1761, 481, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($stunt_nrg500_cargen, 101)
$fire_truck1b = -1696.531
$fire_truck2 = 77.7192
$fire_truck3 = 3.5547
$fire_truck1 = CarGenerator.Create($fire_truck1b, $fire_truck2, $fire_truck3, 312.9365, 522, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($fire_truck1, 101)
$ambulance_1 = CarGenerator.Create(-2057.0, 58.0, 28.0, 90.0, 544, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($ambulance_1, 101)
$ambulance_2 = CarGenerator.Create(-2057.0, 64.0, 28.0, 90.0, 407, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($ambulance_2, 101)
$ambulance_3 = CarGenerator.Create(1763.824, 2075.757, 9.9093, 179.4753, 407, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($ambulance_3, 101)
$ambulance_4 = CarGenerator.Create(1751.512, -1455.102, 12.5547, 263.5589, 407, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($ambulance_4, 101)
$ambulance_5 = CarGenerator.Create(2033.888, -1432.67, 16.6453, 177.829, 416, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($ambulance_5, 101)
$ambulance_6 = CarGenerator.Create(1178.048, -1338.175, 13.405, 269.4923, 416, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($ambulance_6, 101)
$catalinas_cargen = CarGenerator.Create(-303.7814, 1032.326, 19.086, 268.5016, 416, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($catalinas_cargen, 101)
$iGFLockedCarGenerator = CarGenerator.Create(-1507.164, 2525.455, 55.1875, 358.5728, 416, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($iGFLockedCarGenerator, 101)
$2819 = CarGenerator.Create(1229.665, 297.6883, 19.0547, 154.9553, 416, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($2819, 101)
$2820 = CarGenerator.Create(-2202.52, -2315.986, 30.1172, 319.6815, 416, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($2820, 101)
$2821 = CarGenerator.Create(886.3782, -25.6671, 63.244, 157.6212, 402, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($2821, 101)
$gen_car17 = CarGenerator.Create($carcraneY, $carcraneZ, $demoX, 206.39, 510, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($gen_car17, 101)
$gen_car5 = CarGenerator.Create(687.3733, 890.67, -40.4285, 35.14, 406, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($gen_car5, 0)
$gen_car6 = CarGenerator.Create(620.882, 861.2452, -43.9534, 298.7428, 486, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($gen_car6, 0)
$farm_gen2 = CarGenerator.Create(623.3402, 887.0944, -43.5625, 347.2967, 468, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($farm_gen2, 101)
$gen_car7 = CarGenerator.Create(-2486.046, 59.184, 24.8284, 180.0, 468, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($gen_car7, 101)
$gen_car9 = CarGenerator.Create($hitchY, $hitchZ, $cour1X, 270.0, 575, 1, 5, True, 0, 0, 0, 10000)
CarGenerator.Switch($gen_car9, 101)
$gen_car8 = CarGenerator.Create($cour1Y, $cour1Z, $cour2X, 180.0, 543, 51, 4, False, 0, 0, 0, 10000)
CarGenerator.Switch($gen_car8, 101)
$gen_car51 = CarGenerator.Create($cour2Y, $cour2Z, $cour3X, 53.1, 481, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($gen_car51, 101)
$highstakes_car_gen = CarGenerator.Create($cour3Y, $cour3Z, $quarryX, 42.0, 463, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($highstakes_car_gen, 101)
$farm_gen1 = CarGenerator.Create($quarryY, $quarryZ, $mountbX, 183.4, 462, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($farm_gen1, 101)
$gen_car18 = CarGenerator.Create(2216.902, -1160.403, 24.7265, 270.8013, 492, -1, -1, False, 0, 0, 0, 10000)
$gen_car19 = CarGenerator.Create(2216.902, -1160.403, 24.7265, 270.8013, 492, -1, -1, False, 0, 0, 0, 10000)
$gen_car20 = CarGenerator.Create(2229.001, -1173.798, 24.7331, 90.5569, 481, -1, -1, False, 0, 0, 0, 10000)
$gen_car22 = CarGenerator.Create(2251.028, -1788.661, 12.7625, 358.9591, 609, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($gen_car22, 101)
$gen_car21 = CarGenerator.Create(-2118.171, -4.0948, 35.0203, 270.142, 609, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($gen_car21, 101)
$tank_gen1 = CarGenerator.Create(2596.747, 1444.245, 10.3203, 178.2712, 609, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($tank_gen1, 101)
$2822[0] = CarGenerator.Create(2408.156, -1719.463, 13.6665, 0.5881, 545, 83, 1, True, 0, 100, 0, 10000)
$2822[1] = CarGenerator.Create(-1778.178, 1207.074, 25.1194, 91.9357, 557, -1, -1, True, 0, 100, 0, 10000)
$2822[3] = CarGenerator.Create(-1399.717, 2628.59, 55.7823, 271.7941, 599, -1, -1, True, 0, 100, 0, 10000)
$2822[2] = CarGenerator.Create(-379.5, -1443.115, 25.7266, 88.9244, 568, -1, -1, True, 0, 100, 0, 10000)
$2822[4] = CarGenerator.Create(-2572.04, 1148.564, 55.7333, 337.8434, 442, 1, 1, True, 0, 100, 0, 10000)
$2822[5] = CarGenerator.Create(2028.446, 2731.102, 10.53, 268.994, 589, 126, 1, True, 0, 100, 0, 10000)
$2828[0] = CarGenerator.CreateWithPlate(2408.156, -1719.463, 13.6665, 0.5881, 545, 83, 1, True, 0, 0, 0, 10000, "HOMEGIRL")
$2828[1] = CarGenerator.CreateWithPlate(-1778.178, 1207.074, 25.1194, 91.9357, 557, -1, -1, True, 0, 0, 0, 10000, "__NOS___")
$2828[3] = CarGenerator.CreateWithPlate(-1399.717, 2628.59, 55.7823, 271.7941, 599, -1, -1, True, 0, 0, 0, 10000, "_CUFFS__")
$2828[2] = CarGenerator.CreateWithPlate(-379.5, -1443.115, 25.7266, 88.9244, 568, -1, -1, True, 0, 0, 0, 10000, "FULLAUTO")
$2828[4] = CarGenerator.CreateWithPlate(-2572.04, 1148.564, 55.7333, 337.8434, 442, 1, 1, True, 0, 0, 0, 10000, "_TRAUMA_")
$2828[5] = CarGenerator.CreateWithPlate(2028.446, 2731.102, 10.53, 268.994, 589, 126, 1, True, 0, 0, 0, 10000, "_SPANK__")
CarGenerator.SetHasBeenOwned($2828[0], True)
CarGenerator.SetHasBeenOwned($2828[1], True)
CarGenerator.SetHasBeenOwned($2828[3], True)
CarGenerator.SetHasBeenOwned($2828[2], True)
CarGenerator.SetHasBeenOwned($2828[4], True)
CarGenerator.SetHasBeenOwned($2828[5], True)
CarGenerator.Switch($2822[0], 0)
CarGenerator.Switch($2822[1], 0)
CarGenerator.Switch($2822[3], 0)
CarGenerator.Switch($2822[2], 0)
CarGenerator.Switch($2822[4], 0)
CarGenerator.Switch($2822[5], 0)
CarGenerator.Switch($2828[0], 0)
CarGenerator.Switch($2828[1], 0)
CarGenerator.Switch($2828[3], 0)
CarGenerator.Switch($2828[2], 0)
CarGenerator.Switch($2828[4], 0)
CarGenerator.Switch($2828[5], 0)
$2834[0] = CarGenerator.Create(-1673.94, 439.02, 7.01, 136.0, 402, -1, -1, False, 70, 40, 0, 10000)
$2834[1] = CarGenerator.Create(926.45, -1292.29, 13.6, 270.0, 405, -1, -1, False, 60, 30, 0, 10000)
$2834[2] = CarGenerator.Create(-2665.44, 990.77, 64.45, 51.0, 411, -1, -1, False, 80, 50, 0, 10000)
$2834[3] = CarGenerator.Create(-2516.598, 1228.919, 36.4283, 211.5, 483, -1, -1, True, 30, 10, 0, 10000)
$2834[4] = CarGenerator.Create(1122.29, -1699.76, 13.43, 270.0, 445, -1, -1, False, 50, 10, 0, 10000)
$2834[5] = CarGenerator.Create(-1006.41, -628.27, 32.0, 270.0, 470, -1, -1, True, 50, 10, 0, 10000)
$2834[6] = CarGenerator.Create(-2085.23, -2437.52, 30.31, 142.0, 468, -1, -1, False, 50, 10, 0, 10000)
$2834[7] = CarGenerator.Create(-1922.19, 288.34, 40.84, 180.0, 409, -1, -1, False, 50, 10, 0, 10000)
$2834[8] = CarGenerator.Create(-16.66, -2521.17, 36.37, 210.0, 533, -1, -1, False, 50, 10, 0, 10000)
$2834[9] = CarGenerator.Create(1803.38, -1931.05, 13.66, 0.0, 534, -1, -1, False, 50, 10, 0, 10000)
$2834[10] = CarGenerator.Create(1272.24, 2603.03, 10.49, 117.0, 415, -1, -1, True, 90, 30, 0, 10000)
$2834[11] = CarGenerator.Create(-112.4, -41.82, 3.26, 160.0, 489, -1, -1, False, 50, 10, 0, 10000)
$2834[12] = CarGenerator.Create(-2456.1, 741.65, 34.92, 180.0, 439, -1, -1, False, 50, 10, 0, 10000)
$2834[13] = CarGenerator.Create(-1951.81, 2393.83, 50.08, 292.0, 514, -1, -1, True, 50, 10, 0, 10000)
$2834[14] = CarGenerator.Create(-2751.79, -281.5, 6.81, 0.0, 480, -1, -1, False, 90, 40, 0, 10000)
$2834[15] = CarGenerator.Create(1923.93, -2118.89, 13.35, 0.0, 535, -1, -1, False, 50, 10, 0, 10000)
$2834[16] = CarGenerator.Create(-1675.94, -618.74, 13.86, 256.0, 496, -1, -1, False, 50, 10, 0, 10000)
$2834[17] = CarGenerator.Create(-2430.22, 320.84, 34.97, 245.0, 580, -1, -1, False, 50, 10, 0, 10000)
$2834[18] = CarGenerator.Create(-2265.33, 200.65, 34.97, 270.0, 475, -1, -1, False, 50, 10, 0, 10000)
$2834[19] = CarGenerator.Create(2282.7, 2535.88, 10.39, 180.0, 521, -1, -1, False, 50, 10, 0, 10000)
$2834[20] = CarGenerator.Create(2133.04, 1009.75, 10.49, 270.0, 429, -1, -1, False, 90, 50, 0, 10000)
$2834[21] = CarGenerator.Create(2229.3, 1402.99, 10.82, 180.0, 506, -1, -1, True, 90, 50, 0, 10000)
$2834[22] = CarGenerator.Create(-1550.4, 2687.54, 56.22, 90.0, 508, -1, -1, False, 50, 10, 0, 10000)
$2834[23] = CarGenerator.Create(-2068.69, -83.75, 35.1, 0.0, 579, -1, -1, False, 50, 10, 0, 10000)
$2834[24] = CarGenerator.Create(682.17, -1867.46, 4.82, 180.0, 424, -1, -1, False, 70, 10, 0, 10000)
$2834[25] = CarGenerator.Create(1747.87, -2098.03, 13.28, 180.0, 536, -1, -1, False, 80, 10, 0, 10000)
$2834[26] = CarGenerator.Create(1144.46, -1101.26, 25.35, 300.0, 463, -1, -1, False, 50, 10, 0, 10000)
$2834[27] = CarGenerator.Create(-2406.25, -2180.84, 33.39, 180.0, 500, -1, -1, False, 70, 10, 0, 10000)
$2834[28] = CarGenerator.Create(2163.79, 1810.23, 10.58, 180.0, 477, -1, -1, False, 80, 10, 0, 10000)
$2834[29] = CarGenerator.Create(2207.43, 1286.13, 10.57, 180.0, 587, -1, -1, False, 50, 10, 0, 10000)
CarGenerator.Switch($2834[0], 0)
CarGenerator.Switch($2834[1], 0)
CarGenerator.Switch($2834[2], 0)
CarGenerator.Switch($2834[3], 0)
CarGenerator.Switch($2834[4], 0)
CarGenerator.Switch($2834[5], 0)
CarGenerator.Switch($2834[6], 0)
CarGenerator.Switch($2834[7], 0)
CarGenerator.Switch($2834[8], 0)
CarGenerator.Switch($2834[9], 0)
CarGenerator.Switch($2834[10], 0)
CarGenerator.Switch($2834[11], 0)
CarGenerator.Switch($2834[12], 0)
CarGenerator.Switch($2834[13], 0)
CarGenerator.Switch($2834[14], 0)
CarGenerator.Switch($2834[15], 0)
CarGenerator.Switch($2834[16], 0)
CarGenerator.Switch($2834[17], 0)
CarGenerator.Switch($2834[18], 0)
CarGenerator.Switch($2834[19], 0)
CarGenerator.Switch($2834[20], 0)
CarGenerator.Switch($2834[21], 0)
CarGenerator.Switch($2834[22], 0)
CarGenerator.Switch($2834[23], 0)
CarGenerator.Switch($2834[24], 0)
CarGenerator.Switch($2834[25], 0)
CarGenerator.Switch($2834[26], 0)
CarGenerator.Switch($2834[27], 0)
CarGenerator.Switch($2834[28], 0)
CarGenerator.Switch($2834[29], 0)
$2869 = CarGenerator.Create(-540.0441, -1396.147, 15.0, 0.0, 532, -1, -1, False, 0, 100, 0, 10000)
$2870 = CarGenerator.Create(-289.5517, -1389.627, 10.0, 0.0, 532, -1, -1, False, 0, 100, 0, 10000)
$2871 = CarGenerator.Create(-192.9, -1331.307, 21.5, 0.0, 532, -1, -1, False, 0, 100, 0, 10000)
$2864 = CarGenerator.Create(-273.9629, -1507.596, 5.0, 0.0, 531, -1, -1, False, 0, 100, 0, 10000)
$iFieldHarvester = CarGenerator.Create(-395.1952, -1293.19, 30.8, 0.0, 531, -1, -1, False, 0, 100, 0, 10000)
$2866 = CarGenerator.Create(-186.6494, -1339.215, 6.0, 0.0, 531, -1, -1, False, 0, 100, 0, 10000)
$2872 = CarGenerator.Create(-1030.249, -1050.188, 129.0, 0.0, 532, -1, -1, False, 0, 100, 0, 10000)
$gun_toreno1 = CarGenerator.Create(-1169.425, -989.6309, 129.0, 0.0, 532, -1, -1, False, 0, 100, 0, 10000)
$2867 = CarGenerator.Create(-1110.79, -947.7925, 129.0, 0.0, 531, -1, -1, False, 0, 100, 0, 10000)
$gun_toreno2 = CarGenerator.Create(16.8768, 49.991, 3.0, 0.0, 532, -1, -1, False, 0, 100, 0, 10000)
$gun_toreno3 = CarGenerator.Create(81.051, 3.3203, 1.5, 0.0, 532, -1, -1, False, 0, 100, 0, 10000)
$gun_toreno4 = CarGenerator.Create(-15.2986, -84.6533, 3.0, 0.0, 532, -1, -1, False, 0, 100, 0, 10000)
$2868 = CarGenerator.Create(81.0533, 3.3234, 1.5, 0.0, 531, -1, -1, False, 0, 100, 0, 10000)
CarGenerator.Switch($2869, 0)
CarGenerator.Switch($2870, 0)
CarGenerator.Switch($2871, 0)
CarGenerator.Switch($2872, 0)
CarGenerator.Switch($gun_toreno1, 0)
CarGenerator.Switch($gun_toreno2, 0)
CarGenerator.Switch($gun_toreno3, 0)
CarGenerator.Switch($gun_toreno4, 0)
CarGenerator.Switch($2864, 101)
CarGenerator.Switch($iFieldHarvester, 101)
CarGenerator.Switch($2866, 101)
CarGenerator.Switch($2867, 101)
CarGenerator.Switch($2868, 101)
$iSetOTBPanic = 0
World.SwitchEntryExit('FDREST1', False)
World.SwitchEntryExit('REST2', False)
World.SwitchEntryExit('DINER1', False)
World.SwitchEntryExit('DINER2', False)
World.SwitchEntryExit('TSDINER', False)
World.SwitchEntryExit('GF1', False)
World.SwitchEntryExit('GF2', False)
World.SwitchEntryExit('GF3', False)
World.SwitchEntryExit('GF4', False)
World.SwitchEntryExit('GF5', False)
World.SwitchEntryExit('GF6', False)
$pickup_horseshoe = 0
$2883 = 0
$2884 = 0
$2885 = 0
World.AddSetPiece(3, 2435.2, -1741.0, 2454.9, -1723.4, 2481.0, -1707.0, 2480.0, -1732.0, 2481.0, -1707.0, 2480.0, -1732.0)
World.AddSetPiece(2, 2680.6, -1665.8, 2702.2, -1647.8, 2724.7, -1610.1, 2727.2, -1656.9, 2724.0, -1610.0, 2727.0, -1656.0)
World.AddSetPiece(4, 2878.4, -1972.5, 2869.7, -1954.9, 2890.0, -1912.0, 2877.0, -1962.0, 2893.0, -2007.0, 2881.0, -1970.0)
World.AddSetPiece(6, 2807.0, -1152.0, 2822.0, -1135.0, 2872.0, -1105.0, 2874.0, -1133.0, 2866.0, -1111.0, 2864.0, -1138.0)
World.AddSetPiece(2, 2261.0, -1263.0, 2249.0, -1258.0, 2173.0, -1232.0, 2170.0, -1257.0, 2184.0, -1258.0, 2202.0, -1260.0)
World.AddSetPiece(2, 2157.0, -1500.0, 2173.0, -1495.0, 2131.0, -1461.0, 2131.0, -1495.0, 2130.0, -1460.0, 2131.0, -1494.0)
World.AddSetPiece(5, 2295.0, -1772.0, 2302.0, -1761.0, 2263.0, -1780.0, 2263.0, -1809.0, 2327.0, -1821.0, 2303.0, -1817.0)
World.AddSetPiece(2, 1518.0, -1700.0, 1538.0, -1683.0, 1564.0, -1730.0, 1527.0, -1730.0, 1565.0, -1731.0, 1527.1, -1732.0)
World.AddSetPiece(3, 2531.0, -1861.0, 2547.0, -1839.0, 2581.0, -1911.0, 2578.0, -1865.0, 2560.0, -1896.0, 2561.0, -1848.0)
World.AddSetPiece(6, 1833.0, -1617.0, 1854.0, -1608.0, 1820.0, -1590.0, 1818.0, -1605.0, 1824.0, -1641.0, 1824.0, -1619.0)
World.AddSetPiece(5, 1694.0, -1518.0, 1706.0, -1505.0, 1720.0, -1476.0, 1709.0, -1487.0, 1718.0, -1473.0, 1709.0, -1474.0)
World.AddSetPiece(3, 1707.0, -1467.0, 1711.0, -1457.0, 1689.0, -1443.0, 1709.0, -1444.0, 1688.0, -1443.0, -1709.0, -1444.0)
World.AddSetPiece(4, 1815.0, -1406.0, 1829.0, -1388.0, 1840.0, -1410.0, 1835.0, -1402.0, 1841.0, -1411.0, 1836.0, -1403.0)
World.AddSetPiece(4, 1804.0, -1353.0, 1807.0, -1342.0, 1781.0, -1366.0, 1784.0, -1352.0, 1781.0, -1366.0, 1784.0, -1352.0)
World.AddSetPiece(2, 1710.0, -1339.0, 1724.0, -1319.0, 1684.0, -1305.0, 1712.0, -1305.0, 1684.0, -1305.0, 1712.0, -1305.0)
World.AddSetPiece(2, 1711.0, -1204.0, 1720.0, -1194.0, 1747.0, -1160.0, 1712.0, -1159.0, 1747.0, -1160.0, 1712.0, -1159.0)
World.AddSetPiece(3, 2389.0, -1479.0, 2404.0, -1469.0, 2429.0, -1457.0, 2429.0, -1479.0, 2428.0, -1456.0, 2430.0, -1480.0)
World.AddSetPiece(3, 2443.0, -1221.0, 2457.0, -1209.0, 2474.0, -1253.0, 2447.0, -1255.0, 2475.0, -1254.0, 2448.0, -1256.0)
World.AddSetPiece(4, 2627.0, -1134.0, 2632.0, -1132.0, 2649.0, -1150.0, 2642.0, -1139.0, 2650.0, -1151.0, 2643.0, -1140.0)
World.AddSetPiece(2, 2677.0, -1095.0, 2697.0, -1060.0, 2645.0, -1106.0, 2646.0, -1077.0, 2646.0, -1107.0, 2647.0, -1078.0)
World.AddSetPiece(2, 1947.0, -1055.0, 1955.0, -1038.0, 1989.0, -1025.0, 1978.0, -1057.0, 1990.0, -1026.0, 1979.0, -1058.0)
World.AddSetPiece(2, 1858.0, -1123.0, 1876.0, -1113.0, 1895.0, -1133.0, 1865.0, -1133.0, 1896.0, -1134.0, 1866.0, -1134.0)
World.AddSetPiece(2, 1977.0, -1416.0, 1996.0, -1411.0, 1966.0, -1467.0, 1988.0, -1465.0, 1967.0, -1468.0, 1989.0, -1466.0)
World.AddSetPiece(2, 2191.0, -1345.0, 2202.0, -1338.0, 2216.0, -1355.0, 2216.0, -1343.0, 2217.0, -1356.0, 2217.0, -1344.0)
World.AddSetPiece(3, 2339.0, -1161.0, 2345.0, -1148.0, 2372.0, -1182.0, 2373.0, -1157.0, 2373.0, -1183.0, 2374.0, -1158.0)
World.AddSetPiece(3, 2034.0, -1271.0, 2049.0, -1251.0, 2072.0, -1281.0, 2070.0, -1261.0, 2073.0, -1282.0, 2070.0, -2074.0)
World.AddSetPiece(6, 1410.0, -1250.0, 1427.0, -1233.0, 1457.0, -1263.0, 1456.0, -1243.0, 1452.0, -1211.0, 1453.0, -1238.0)
World.AddSetPiece(1, 1427.0, -1334.0, 1433.0, -1323.0, 1419.0, -1270.0, 1419.0, -1286.0, 1420.0, -1253.0, 1419.0, -1257.0)
World.AddSetPiece(2, 1520.0, -1655.0, 1538.0, -1642.0, 1561.0, -1626.0, 1530.0, -1627.0, 1562.0, -1620.0, 1531.0, -1622.0)
World.AddSetPiece(1, 1129.0, -1669.0, 1140.0, -1663.0, 1095.0, -1665.0, 1130.0, -1665.0, 1117.0, -1714.0, 1138.0, -1715.0)
World.AddSetPiece(3, 1167.0, -1782.0, 1190.0, -1769.0, 1148.0, -1744.0, 1176.0, -1743.0, 1141.0, -1739.0, 1175.0, -1737.0)
World.AddSetPiece(1, 1207.0, -1214.0, 1216.0, -1193.0, 1175.0, -1210.0, 1194.0, -1209.0, 1179.0, -1204.0, 1197.0, -1204.0)
World.AddSetPiece(6, 1261.0, -1721.0, 1271.0, -1707.0, 1295.0, -1680.0, 1295.0, -1717.0, 1300.0, -1670.0, 1300.0, -1704.0)
World.AddSetPiece(3, 1237.0, -1290.0, 1257.0, -1271.0, 1214.0, -1253.0, 1215.0, -1281.0, 1215.0, -1215.0, -1215.0, -1281.0)
World.AddSetPiece(3, 1013.0, -1158.0, 1030.0, -1132.0, 1060.0, -1174.0, 1060.0, -1148.0, 1060.0, -1174.0, 1060.0, -1148.0)
World.AddSetPiece(2, 1089.0, -1212.0, 1076.0, -1204.0, 1061.0, -1223.0, 1064.0, -1205.0, 1061.0, -1223.0, 1064.0, -1205.0)
World.AddSetPiece(4, 953.0, -1108.0, 945.0, -1097.0, 928.0, -1084.0, 937.0, -1099.0, 928.0, -1084.0, 937.0, -1099.0)
World.AddSetPiece(4, 829.0, -1066.0, 830.0, -1057.0, 837.0, -1049.0, 828.0, -1055.0, 837.0, -1049.0, 828.0, -1055.0)
World.AddSetPiece(2, 816.0, -1048.0, 840.0, -1030.0, 793.0, -1015.0, 791.0, -1055.0, 793.0, -1015.0, 791.0, -1055.0)
World.AddSetPiece(3, 642.0, -1197.0, 676.0, -1187.0, 597.0, -1183.0, 616.0, -1211.0, 597.0, -1193.0, 616.0, -1211.0)
World.AddSetPiece(3, 618.0, -1287.0, 647.0, -1272.0, 665.0, -1317.0, 632.0, -1317.0, 662.0, -1317.0, 632.0, -1317.0)
World.AddSetPiece(6, 457.0, -1364.0, 487.0, -1357.0, 493.0, -1323.0, 501.0, -1340.0, 498.0, -1317.0, 513.0, -1350.0)
World.AddSetPiece(6, 523.0, -1456.0, 555.0, -1442.0, 569.0, -1404.0, 532.0, -1413.0, 567.0, -1399.0, 525.0, -1407.0)
World.AddSetPiece(5, 478.0, -1488.0, 496.0, -1472.0, 491.0, -1518.0, 490.0, -1501.0, 490.0, -1521.0, 487.0, -1497.0)
World.AddSetPiece(2, 470.0, -1604.0, 490.0, -1573.0, 540.0, -1626.0, 540.0, -1583.0, 540.0, -1626.0, 540.0, -1583.0)
World.AddSetPiece(2, 519.0, -1687.0, 544.0, -1676.0, 486.0, -1727.0, 534.0, -1734.0, 486.0, -1727.0, 534.0, -1734.0)
World.AddSetPiece(5, 380.0, -1803.0, 394.0, -1798.0, 363.0, -1833.0, 373.0, -1819.0, 385.0, -1831.0, 373.0, -1819.0)
World.AddSetPiece(6, 2134.0, -1904.0, 2156.0, -1885.0, 2105.0, -1919.0, 2105.0, -1899.0, 2079.0, -1871.0, 2080.0, -1898.0)
World.AddSetPiece(2, 1953.0, -1988.0, 1971.0, -1966.0, 1985.0, -1930.0, 1967.0, -1929.0, 1927.0, -1935.0, 1953.0, -1935.0)
World.AddSetPiece(1, 2015.0, -2064.0, 2026.0, -2052.0, 2009.0, -2010.0, 2007.0, -2033.0, 1970.0, -2059.0, 1988.0, -2058.0)
World.AddSetPiece(1, 1997.0, -2077.0, 2009.0, -2065.0, 2041.0, -2056.0, 2016.0, -2058.0, 2027.0, -2084.0, 2005.0, -2084.0)
World.AddSetPiece(1, 1924.0, -2108.0, 1935.0, -2096.0, 1917.0, -2074.0, 1917.0, -2094.0, 1917.0, -2138.0, 1917.0, -2116.0)
World.AddSetPiece(1, 1847.0, -2108.0, 1860.0, -2097.0, 1821.0, -2089.0, 1820.0, -2101.0, 1903.0, -2101.0, 1883.0, -2101.0)
World.AddSetPiece(1, 1861.0, -2010.0, 1870.0, -2005.0, 1885.0, -2041.0, 1886.0, -2021.0, 1880.0, -2044.0, 1878.0, -2016.0)
World.AddSetPiece(2, 1751.0, -2388.0, 1781.0, -2369.0, 1799.0, -2345.0, 1798.0, -2377.0, 1799.0, -2345.0, 1798.0, -2377.0)
World.AddSetPiece(2, 1314.0, -2423.0, 1325.0, -2410.0, 1339.0, -2446.0, 1317.0, -2446.0, 1339.0, -2446.0, 1317.0, -2446.0)
World.AddSetPiece(3, 1551.0, -1636.0, 1562.0, -1618.0, 1531.0, -1660.0, 1532.0, -1632.0, 1531.0, -1660.0, 1532.0, -1632.0)
World.AddSetPiece(8, 1225.0, -1880.0, 1237.0, -1866.0, 1180.0, -1884.0, 1213.0, -1885.0, 1169.0, -1887.0, 1194.0, -1888.0)
World.AddSetPiece(8, 1076.0, -1890.0, 1097.0, -1881.0, 1161.0, -1880.0, 1108.0, -1883.0, 1050.0, -1894.0, 1084.0, -1887.0)
World.AddSetPiece(2, 1059.0, -1721.0, 1090.0, -1703.0, 1034.0, -1674.0, 1039.0, -1713.0, 1034.0, -1674.0, 1039.0, -1713.0)
World.AddSetPiece(2, 1028.0, -1690.0, 1048.0, -1657.0, 1079.0, -1710.0, 1037.0, -1709.0, 1079.0, -1710.0, 1037.0, -1709.0)
World.AddSetPiece(5, 982.0, -1913.0, 953.0, -1858.0, 980.0, -1852.0, 966.0, -1860.0, 946.0, -1846.0, 956.0, -1857.0)
World.AddSetPiece(5, 849.0, -1899.0, 823.0, -1937.0, 836.0, -2017.0, 839.0, -1993.0, 848.0, -2020.0, 842.0, -1990.0)
World.AddSetPiece(6, 820.0, -1844.0, 848.0, -1819.0, 789.0, -1786.0, 827.0, -1786.0, 881.0, -1772.0, 827.0, -1772.0)
World.AddSetPiece(4, 788.0, -1816.0, 780.0, -1800.0, 786.0, -1835.0, 781.0, -1820.0, 786.0, -1835.0, 781.0, -1820.0)
World.AddSetPiece(5, 740.0, -1815.0, 759.0, -1808.0, 738.0, -1790.0, 737.0, -1806.0, 744.0, -1836.0, 746.0, -1819.0)
World.AddSetPiece(5, 717.0, -1819.0, 727.0, -1805.0, 745.0, -1827.0, 746.0, -1815.0, 735.0, -1792.0, 728.0, -1813.0)
World.AddSetPiece(5, 624.0, -1786.0, 641.0, -1778.0, 644.0, -1799.0, 647.0, -1789.0, 651.0, -1767.0, 649.0, -1783.0)
World.AddSetPiece(2, 606.0, -1786.0, 622.0, -1770.0, 656.0, -1759.0, 649.0, -1787.0, 656.0, -1759.0, 649.0, -1787.0)
World.AddSetPiece(2, 586.0, -1868.0, 612.0, -1835.0, 648.0, -1818.0, 643.0, -1856.0, 648.0, -1818.0, 643.0, -1856.0)
World.AddSetPiece(4, 541.0, -1778.0, 562.0, -1762.0, 593.0, -1775.0, 573.0, -1772.0, 593.0, -1772.0, 573.0, -1772.0)
World.AddSetPiece(2, 511.0, -1777.0, 478.0, -1762.0, 455.0, -1737.0, 458.0, -1769.0, 455.0, -1737.0, 458.0, -1769.0)
World.AddSetPiece(5, 381.0, -1806.0, 398.0, -1790.0, 385.0, -1825.0, 383.0, -1806.0, 364.0, -1831.0, 377.0, -1810.0)
World.AddSetPiece(7, 361.0, -1689.0, 379.0, -1667.0, 401.0, -1650.0, 372.0, -1646.0, 334.0, -1646.0, 365.0, -1649.0)
World.AddSetPiece(3, 289.0, -1647.0, 314.0, -1631.0, 321.0, -1597.0, 321.0, -1642.0, 321.0, -1597.0, 321.0, -1642.0)
World.AddSetPiece(2, 225.0, -1610.0, 252.0, -1590.0, 274.0, -1576.0, 242.0, -1566.0, 274.0, -1576.0, 242.0, -1566.0)
World.AddSetPiece(2, 301.0, -1472.0, 336.0, -1467.0, 269.0, -1476.0, 291.0, -1497.0, 269.0, -1476.0, 291.0, -1497.0)
World.AddSetPiece(6, 196.0, -1528.0, 223.0, -1508.0, 193.0, -1489.0, 179.0, -1512.0, 174.0, -1579.0, 147.0, -1554.0)
World.AddSetPiece(2, 221.0, -1367.0, 226.0, -1337.0, 228.0, -1310.0, 246.0, -1336.0, 228.0, -1310.0, 246.0, -1336.0)
World.AddSetPiece(2, 427.0, -1238.0, 450.0, -1229.0, 391.0, -1225.0, 402.0, -1252.0, 391.0, -1225.0, 402.0, -1252.0)
World.AddSetPiece(2, 478.0, -1257.0, 478.0, -1227.0, 489.0, -1281.0, 508.0, -1265.0, 489.0, -1281.0, 508.0, -1265.0)
World.AddSetPiece(6, 337.0, -1176.0, 371.0, -1170.0, 395.0, -1169.0, 362.0, -1141.0, 344.0, -1131.0, 381.0, -1167.0)
World.AddSetPiece(3, 1798.0, 796.0, 1816.0, 823.0, 1760.0, 832.0, 1809.0, 834.0, 1760.0, 832.0, 1809.0, 834.0)
World.AddSetPiece(3, 2032.0, 892.0, 2056.0, 919.0, 2086.0, 856.0, 2047.0, 856.0, 2086.0, 856.0, 2047.0, 856.0)
World.AddSetPiece(2, 2034.0, 985.0, 2053.0, 1024.0, 2074.0, 975.0, 2044.0, 974.0, 2074.0, 975.0, 2044.0, 974.0)
World.AddSetPiece(2, 2035.0, 1228.0, 2056.0, 1254.0, 2021.0, 1275.0, 2051.0, 1277.0, 2021.0, 1275.0, 2051.0, 1277.0)
World.AddSetPiece(2, 2114.0, 2071.0, 2136.0, 2096.0, 2098.0, 2020.0, 2131.0, 2020.0, 2098.0, 2020.0, 2131.0, 2020.0)
World.AddSetPiece(2, 1937.0, 2104.0, 1954.0, 2122.0, 1925.0, 2139.0, 1926.0, 2110.0, 1925.0, 2139.0, 1926.0, 2110.0)
World.AddSetPiece(3, 1836.0, 2044.0, 1858.0, 2059.0, 1815.0, 2080.0, 1821.0, 2051.0, 1815.0, 2080.0, 1821.0, 2051.0)
World.AddSetPiece(3, 1721.0, 2044.0, 1739.0, 2063.0, 1710.0, 2023.0, 1709.0, 2051.0, 1710.0, 2023.0, 1709.0, 2051.0)
World.AddSetPiece(7, 1699.0, 2134.0, 1717.0, 2152.0, 1734.0, 2172.0, 1709.0, 2171.0, 1729.0, 2175.0, 1694.0, 2175.0)
World.AddSetPiece(7, 1581.0, 2164.0, 1600.0, 2182.0, 1616.0, 2143.0, 1615.0, 2170.0, 1621.0, 2146.0, 1622.0, 2182.0)
World.AddSetPiece(7, 1522.0, 2044.0, 1538.0, 2060.0, 1529.0, 2083.0, 1532.0, 2055.0, 1525.0, 2087.0, 1525.0, 2056.0)
World.AddSetPiece(5, 1466.0, 1989.0, 1490.0, 2003.0, 1457.0, 2024.0, 1476.0, 2009.0, 1499.0, 2027.0, 1483.0, 2006.0)
World.AddSetPiece(5, 1429.0, 2617.0, 1439.0, 2624.0, 1422.0, 2615.0, 1433.0, 2619.0, 1446.0, 2615.0, 1434.0, 2622.0)
World.AddSetPiece(2, 1469.0, 2545.0, 1487.0, 2568.0, 1500.0, 2592.0, 1474.0, 2591.0, 1500.0, 2592.0, 1474.0, 2591.0)
World.AddSetPiece(2, 1300.0, 2580.0, 1325.0, 2599.0, 1291.0, 2568.0, 1291.0, 2597.0, 1291.0, 2568.0, 1291.0, 2597.0)
World.AddSetPiece(7, 2240.0, 2460.0, 2246.0, 2449.0, 2230.0, 2433.0, 2231.0, 2451.0, 2229.0, 2476.0, 2231.0, 2456.0)
World.AddSetPiece(2, 1238.0, 2671.0, 1257.0, 2690.0, 1276.0, 2716.0, 1244.0, 2713.0, 1276.0, 2716.0, 1244.0, 2713.0)
World.AddSetPiece(7, 1493.0, 2580.0, 1512.0, 2599.0, 1479.0, 2562.0, 1480.0, 2588.0, 1476.0, 2555.0, 1475.0, 2585.0)
World.AddSetPiece(2, 1469.0, 2433.0, 1486.0, 2447.0, 1449.0, 2390.0, 1478.0, 2391.0, 1449.0, 2390.0, 1478.0, 2391.0)
World.AddSetPiece(3, 1558.0, 2283.0, 1577.0, 2305.0, 1529.0, 2311.0, 1565.0, 2310.0, 1529.0, 2311.0, 1565.0, 2310.0)
World.AddSetPiece(3, 1397.0, 2303.0, 1419.0, 2323.0, 1385.0, 2331.0, 1389.0, 2313.0, 1385.0, 2331.0, 1389.0, 2313.0)
World.AddSetPiece(5, 1568.0, 2114.0, 1578.0, 2140.0, 1573.0, 2078.0, 1573.0, 2118.0, 1571.0, 2088.0, 1571.0, 2106.0)
World.AddSetPiece(2, 1660.0, 2002.0, 1685.0, 2021.0, 1710.0, 1985.0, 1709.0, 2015.0, 1710.0, 1985.0, 1709.0, 2015.0)
World.AddSetPiece(3, 1765.0, 2044.0, 1788.0, 2063.0, 1810.0, 2083.0, 1827.0, 2056.0, 1810.0, 2083.0, 1827.0, 2056.0)
World.AddSetPiece(2, 1948.0, 2274.0, 1971.0, 2293.0, 1930.0, 2259.0, 1930.0, 2283.0, 1930.0, 2259.0, 1930.0, 2283.0)
World.AddSetPiece(7, 1918.0, 2309.0, 1938.0, 2328.0, 1951.0, 2338.0, 1929.0, 2338.0, 1895.0, 2333.0, 1926.0, 2337.0)
World.AddSetPiece(7, 1986.0, 2384.0, 2006.0, 2403.0, 2031.0, 2367.0, 2024.0, 2392.0, 2026.0, 2433.0, 2025.0, 2395.0)
World.AddSetPiece(2, 2011.0, 2334.0, 2017.0, 2352.0, 1995.0, 2286.0, 2014.0, 2288.0, 1995.0, 2286.0, 2014.0, 2288.0)
World.AddSetPiece(7, 2063.0, 2274.0, 2090.0, 2293.0, 2068.0, 2313.0, 2096.0, 2292.0, 2119.0, 2260.0, 2104.0, 2282.0)
World.AddSetPiece(7, 2171.0, 2356.0, 2185.0, 2356.0, 2214.0, 2328.0, 2196.0, 2336.0, 2217.0, 2370.0, 2204.0, 2348.0)
World.AddSetPiece(3, 2177.0, 2302.0, 2185.0, 2325.0, 2198.0, 2286.0, 2161.0, 2288.0, 2198.0, 2286.0, 2161.0, 2288.0)
World.AddSetPiece(3, 2256.0, 2274.0, 2294.0, 2293.0, 2288.0, 2260.0, 2287.0, 2283.0, 2288.0, 2260.0, 2287.0, 2283.0)
World.AddSetPiece(3, 2379.0, 2404.0, 2395.0, 2423.0, 2342.0, 2436.0, 2353.0, 2415.0, 2342.0, 2436.0, 2353.0, 2415.0)
World.AddSetPiece(3, 2218.0, 2422.0, 2239.0, 2438.0, 2257.0, 2455.0, 2227.0, 2452.0, 2257.0, 2455.0, 2227.0, 2452.0)
World.AddSetPiece(2, 2337.0, 2504.0, 2354.0, 2522.0, 2370.0, 2482.0, 2370.0, 2513.0, 2370.0, 2482.0, 2370.0, 2513.0)
World.AddSetPiece(2, 2490.0, 2403.0, 2511.0, 2423.0, 2524.0, 2438.0, 2525.0, 2411.0, 2524.0, 2438.0, 2525.0, 2411.0)
World.AddSetPiece(2, 2518.0, 2255.0, 2537.0, 2274.0, 2555.0, 2236.0, 2528.0, 2237.0, 2555.0, 2236.0, 2528.0, 2237.0)
World.AddSetPiece(7, 2518.0, 2189.0, 2539.0, 2210.0, 2558.0, 2235.0, 2518.0, 2236.0, 2498.0, 2231.0, 2537.0, 2231.0)
World.AddSetPiece(7, 2544.0, 2222.0, 2566.0, 2243.0, 2524.0, 2265.0, 2525.0, 2234.0, 2530.0, 2271.0, 2531.0, 2226.0)
World.AddSetPiece(7, 2363.0, 2224.0, 2395.0, 2248.0, 2352.0, 2205.0, 2353.0, 2236.0, 2346.0, 2197.0, 2344.0, 2231.0)
World.AddSetPiece(2, 2333.0, 2173.0, 2369.0, 2190.0, 2313.0, 2138.0, 2349.0, 2140.0, 2313.0, 2138.0, 2349.0, 2140.0)
World.AddSetPiece(2, 2380.0, 2124.0, 2404.0, 2163.0, 2346.0, 2178.0, 2350.0, 2149.0, 2346.0, 2178.0, 2350.0, 2149.0)
World.AddSetPiece(6, 2484.0, 2124.0, 2513.0, 2163.0, 2525.0, 2179.0, 2525.0, 2151.0, 2530.0, 2184.0, 2530.0, 2136.0)
World.AddSetPiece(6, 2713.0, 2104.0, 2737.0, 2122.0, 2793.0, 2086.0, 2796.0, 2110.0, 2796.0, 2079.0, 2801.0, 2110.0)
World.AddSetPiece(6, 2838.0, 2127.0, 2857.0, 2159.0, 2824.0, 2111.0, 2846.0, 2111.0, 2803.0, 2111.0, 2845.0, 2112.0)
World.AddSetPiece(7, 2789.0, 1945.0, 2803.0, 1985.0, 2745.0, 1956.0, 2779.0, 1956.0, 2739.0, 1952.0, 2786.0, 1951.0)
World.AddSetPiece(2, 2640.0, 1944.0, 2660.0, 1965.0, 2605.0, 1982.0, 2605.0, 1953.0, 2605.0, 1982.0, 2605.0, 1953.0)
World.AddSetPiece(2, 2498.0, 1921.0, 2517.0, 1938.0, 2537.0, 1955.0, 2507.0, 1956.0, 2537.0, 1955.0, 2507.0, 1956.0)
World.AddSetPiece(4, 2408.0, 2021.0, 2429.0, 2042.0, 2398.0, 2045.0, 2412.0, 2044.0, 2398.0, 2045.0, 2412.0, 2044.0)
World.AddSetPiece(4, 2188.0, 1826.0, 2205.0, 1851.0, 2234.0, 1867.0, 2212.0, 1851.0, 2234.0, 1867.0, 2212.0, 1851.0)
World.AddSetPiece(3, 2067.0, 1863.0, 2082.0, 1894.0, 2083.0, 1843.0, 2095.0, 1865.0, 2083.0, 1843.0, 2095.0, 1865.0)
World.AddSetPiece(5, 2033.0, 1894.0, 2048.0, 1936.0, 2060.0, 1951.0, 2041.0, 1943.0, 2069.0, 1865.0, 2063.0, 1878.0)
World.AddSetPiece(7, 2069.0, 1785.0, 2139.0, 1806.0, 2147.0, 1776.0, 2095.0, 1776.0, 1975.0, 1711.0, 2060.0, 1710.0)
World.AddSetPiece(5, 2094.0, 1649.0, 2165.0, 1737.0, 2177.0, 1666.0, 2129.0, 1655.0, 2151.0, 1723.0, 2134.0, 1717.0)
World.AddSetPiece(4, 2006.0, 1541.0, 2021.0, 1550.0, 2001.0, 1564.0, 2004.0, 1553.0, 2001.0, 1564.0, 2004.0, 1553.0)
World.AddSetPiece(2, 1931.0, 1444.0, 1964.0, 1466.0, 1989.0, 1415.0, 1991.0, 1454.0, 1989.0, 1415.0, 1991.0, 1454.0)
World.AddSetPiece(2, 1935.0, 1299.0, 1958.0, 1322.0, 1974.0, 1276.0, 1949.0, 1277.0, 1974.0, 1276.0, 1949.0, 1277.0)
World.AddSetPiece(2, 1756.0, 1264.0, 1786.0, 1282.0, 1730.0, 1302.0, 1722.0, 1273.0, 1730.0, 1302.0, 1722.0, 1273.0)
World.AddSetPiece(5, 1723.0, 1182.0, 1736.0, 1205.0, 1714.0, 1234.0, 1714.0, 1217.0, 1703.0, 1229.0, 1709.0, 1219.0)
World.AddSetPiece(3, 1583.0, 1124.0, 1606.0, 1142.0, 1570.0, 1098.0, 1569.0, 1138.0, 1570.0, 1098.0, 1569.0, 1138.0)
World.AddSetPiece(3, 1716.0, 1585.0, 1744.0, 1605.0, 1726.0, 1663.0, 1745.0, 1637.0, 1726.0, 1663.0, 1745.0, 1637.0)
World.AddSetPiece(2, -2349.0, 2381.0, -2327.0, 2377.0, -2349.0, 2402.0, -2328.0, 2388.0, -2349.0, 2402.0, -2328.0, 2388.0)
World.AddSetPiece(2, -2475.0, 2299.0, -2456.0, 2315.0, -2435.0, 2337.0, -2466.0, 2334.0, -2435.0, 2337.0, -2466.0, 2334.0)
World.AddSetPiece(7, -1591.0, 656.0, -1574.0, 667.0, -1561.0, 690.0, -1562.0, 663.0, -1557.0, 692.0, -1556.0, 665.0)
World.AddSetPiece(2, -1752.0, 1317.0, -1726.0, 1323.0, -1749.0, 1269.0, -1714.0, 1299.0, -1749.0, 1269.0, -1714.0, 1299.0)
World.AddSetPiece(2, -1715.0, 1309.0, -1711.0, 1343.0, -1710.0, 1377.0, -1736.0, 1350.0, -1710.0, 1377.0, -1736.0, 1350.0)
World.AddSetPiece(5, -1673.0, 1386.0, -1637.0, 1391.0, -1624.0, 1380.0, -1626.0, 1393.0, -1662.0, 1430.0, -1642.0, 1427.0)
World.AddSetPiece(2, -2002.0, 1273.0, -1967.0, 1299.0, -1943.0, 1258.0, -1944.0, 1293.0, -1943.0, 1258.0, -1944.0, 1293.0)
World.AddSetPiece(1, -1946.0, 1233.0, -1939.0, 1245.0, -1943.0, 1195.0, -1943.0, 1221.0, -2021.0, 1227.0, -1983.0, 1227.0)
World.AddSetPiece(4, -1917.0, 1253.0, -1904.0, 1259.0, -1900.0, 1242.0, -1900.0, 1256.0, -1900.0, 1242.0, -1900.0, 1256.0)
World.AddSetPiece(3, -2041.0, 1223.0, -2022.0, 1232.0, -2010.0, 1208.0, -2010.0, 1228.0, -2010.0, 1208.0, -2010.0, 1228.0)
World.AddSetPiece(6, -1862.0, 1166.0, -1836.0, 1191.0, -1789.0, 1147.0, -1790.0, 1187.0, -1794.0, 1148.0, -1794.0, 1186.0)
World.AddSetPiece(2, -1728.0, 1134.0, -1702.0, 1154.0, -1747.0, 1182.0, -1710.0, 1184.0, -1747.0, 1182.0, -1710.0, 1184.0)
World.AddSetPiece(2, -1685.0, 1173.0, -1663.0, 1201.0, -1708.0, 1151.0, -1712.0, 1186.0, -1708.0, 1151.0, -1712.0, 1186.0)
World.AddSetPiece(6, -1678.0, 1174.0, -1647.0, 1206.0, -1644.0, 1222.0, -1618.0, 1192.0, -1606.0, 1151.0, -1618.0, 1192.0)
World.AddSetPiece(3, -1760.0, 1083.0, -1736.0, 1115.0, -1718.0, 1068.0, -1718.0, 1105.0, -1718.0, 1068.0, -1718.0, 1105.0)
World.AddSetPiece(3, -1726.0, 1005.0, -1701.0, 986.0, -1673.0, 932.0, -1716.0, 933.0, -1673.0, 932.0, -1716.0, 933.0)
World.AddSetPiece(2, -1769.0, 963.0, -1749.0, 901.0, -1710.0, 886.0, -1711.0, 923.0, -1710.0, 886.0, -1711.0, 923.0)
World.AddSetPiece(6, -1684.0, 903.0, -1658.0, 944.0, -1711.0, 833.0, -1710.0, 912.0, -1718.0, 975.0, -1719.0, 926.0)
World.AddSetPiece(6, -1806.0, 954.0, -1782.0, 981.0, -1753.0, 935.0, -1795.0, 934.0, -1842.0, 916.0, -1793.0, 916.0)
World.AddSetPiece(3, -1806.0, 891.0, -1781.0, 867.0, -1838.0, 914.0, -1794.0, 915.0, -1838.0, 914.0, -1794.0, 915.0)
World.AddSetPiece(7, -1614.0, 943.0, -1589.0, 904.0, -1563.0, 880.0, -1561.0, 922.0, -1563.0, 966.0, -1556.0, 929.0)
World.AddSetPiece(2, -1871.0, 827.0, -1843.0, 864.0, -1902.0, 885.0, -1903.0, 837.0, -1902.0, 885.0, -1903.0, 837.0)
World.AddSetPiece(3, -1912.0, 954.0, -1880.0, 977.0, -1936.0, 934.0, -1896.0, 935.0, -1936.0, 934.0, -1896.0, 935.0)
World.AddSetPiece(3, -1882.0, 906.0, -1855.0, 943.0, -1896.0, 889.0, -1896.0, 924.0, -1896.0, 889.0, -1896.0, 924.0)
World.AddSetPiece(3, -1983.0, 906.0, -1954.0, 943.0, -1998.0, 883.0, -1999.0, 924.0, -1998.0, 883.0, -1999.0, 924.0)
World.AddSetPiece(5, -2044.0, 901.0, -2030.0, 907.0, -2045.0, 922.0, -2049.0, 907.0, -2058.0, 935.0, -2050.0, 912.0)
World.AddSetPiece(5, -2113.0, 952.0, -2098.0, 961.0, -2078.0, 953.0, -2094.0, 954.0, -2086.0, 931.0, -2097.0, 948.0)
World.AddSetPiece(8, -2034.0, 957.0, -2019.0, 951.0, -2010.0, 981.0, -2010.0, 952.0, -1965.0, 933.0, -2000.0, 935.0)
World.AddSetPiece(2, -2018.0, 1017.0, -1992.0, 1038.0, -1959.0, 1053.0, -2002.0, 1052.0, -1959.0, 1053.0, -2002.0, 1052.0)
World.AddSetPiece(4, -2077.0, 1038.0, -2072.0, 1045.0, -2080.0, 1078.0, -2079.0, 1053.0, -2080.0, 1078.0, -2079.0, 1053.0)
World.AddSetPiece(2, -2301.0, 1043.0, -2253.0, 1089.0, -2350.0, 1117.0, -2360.0, 1088.0, -2350.0, 1117.0, -2360.0, 1088.0)
World.AddSetPiece(2, -2381.0, 1030.0, -2375.0, 1061.0, -2320.0, 1074.0, -2356.0, 1085.0, -2320.0, 1074.0, -2356.0, 1085.0)
World.AddSetPiece(2, -2399.0, 965.0, -2374.0, 992.0, -2344.0, 961.0, -2385.0, 961.0, -2344.0, 961.0, -2385.0, 961.0)
World.AddSetPiece(3, -2294.0, 949.0, -2281.0, 969.0, -2254.0, 956.0, -2265.0, 960.0, -2254.0, 956.0, -2265.0, 960.0)
World.AddSetPiece(3, -2282.0, 992.0, -2239.0, 1017.0, -2298.0, 957.0, -2258.0, 955.0, -2298.0, 957.0, -2258.0, 955.0)
World.AddSetPiece(2, -2206.0, 903.0, -2171.0, 934.0, -2254.0, 943.0, -2253.0, 917.0, -2254.0, 943.0, -2253.0, 917.0)
World.AddSetPiece(2, -2160.0, 927.0, -2129.0, 954.0, -2177.0, 916.0, -2128.0, 916.0, -2177.0, 916.0, -2128.0, 916.0)
World.AddSetPiece(1, -2104.0, 853.0, -2088.0, 859.0, -2082.0, 816.0, -2082.0, 838.0, -2101.0, 806.0, -2079.0, 806.0)
World.AddSetPiece(2, -2099.0, 696.0, -2079.0, 710.0, -2114.0, 729.0, -2089.0, 729.0, -2114.0, 729.0, -2089.0, 729.0)
World.AddSetPiece(6, -2045.0, 720.0, -2028.0, 746.0, -2008.0, 758.0, -2009.0, 730.0, -2001.0, 773.0, -2001.0, 732.0)
World.AddSetPiece(6, -1989.0, 719.0, -1965.0, 744.0, -2000.0, 691.0, -2001.0, 731.0, -2007.0, 765.0, -2008.0, 732.0)
World.AddSetPiece(2, -2017.0, 632.0, -1992.0, 657.0, -1982.0, 611.0, -2014.0, 611.0, -1982.0, 611.0, -2014.0, 611.0)
World.AddSetPiece(2, -1979.0, 596.0, -1955.0, 620.0, -2015.0, 643.0, -2013.0, 615.0, -2015.0, 643.0, -2013.0, 615.0)
World.AddSetPiece(2, -2056.0, 455.0, -2027.0, 477.0, -2008.0, 438.0, -2008.0, 457.0, -2008.0, 438.0, -2008.0, 457.0)
World.AddSetPiece(2, -2136.0, 347.0, -2130.0, 368.0, -2117.0, 386.0, -2135.0, 386.0, -2117.0, 386.0, -2135.0, 386.0)
World.AddSetPiece(1, -2196.0, 363.0, -2174.0, 369.0, -2148.0, 356.0, -2149.0, 374.0, -2145.0, 388.0, -2145.0, 367.0)
World.AddSetPiece(3, -2176.0, 451.0, -2164.0, 456.0, -2148.0, 469.0, -2149.0, 452.0, -2148.0, 469.0, -2149.0, 452.0)
World.AddSetPiece(2, -2203.0, 451.0, -2190.0, 456.0, -2233.0, 463.0, -2224.0, 462.0, -2233.0, 463.0, -2224.0, 462.0)
World.AddSetPiece(2, -2280.0, 590.0, -2243.0, 621.0, -2221.0, 568.0, -2260.0, 568.0, -2221.0, 568.0, -2260.0, 568.0)
World.AddSetPiece(2, -2235.0, 537.0, -2217.0, 552.0, -2196.0, 569.0, -2233.0, 569.0, -2196.0, 569.0, -2233.0, 569.0)
World.AddSetPiece(3, -2327.0, 391.0, -2326.0, 417.0, -2332.0, 439.0, -2310.0, 416.0, -2332.0, 439.0, -2310.0, 416.0)
World.AddSetPiece(2, -2442.0, 421.0, -2419.0, 424.0, -2468.0, 420.0, -2450.0, 403.0, -2468.0, 420.0, -2450.0, 403.0)
World.AddSetPiece(2, -2488.0, 427.0, -2458.0, 429.0, -2517.0, 434.0, -2496.0, 450.0, -2517.0, 434.0, -2496.0, 450.0)
World.AddSetPiece(2, -2549.0, 307.0, -2528.0, 329.0, -2558.0, 339.0, -2540.0, 339.0, -2558.0, 339.0, -2540.0, 339.0)
World.AddSetPiece(3, -2592.0, 379.0, -2577.0, 390.0, -2610.0, 407.0, -2608.0, 381.0, -2610.0, 407.0, -2608.0, 381.0)
World.AddSetPiece(6, -2636.0, 279.0, -2618.0, 307.0, -2639.0, 331.0, -2608.0, 324.0, -2566.0, 345.0, -2605.0, 351.0)
World.AddSetPiece(6, -2651.0, 326.0, -2630.0, 341.0, -2661.0, 359.0, -2660.0, 336.0, -2665.0, 362.0, -2665.0, 330.0)
World.AddSetPiece(5, -2741.0, 361.0, -2697.0, 390.0, -2714.0, 342.0, -2708.0, 344.0, -2711.0, 347.0, -2706.0, 360.0)
World.AddSetPiece(6, -2616.0, 392.0, -2597.0, 416.0, -2578.0, 388.0, -2606.0, 386.0, -2570.0, 346.0, -2606.0, 350.0)
World.AddSetPiece(3, -2653.0, 326.0, -2634.0, 346.0, -2609.0, 359.0, -2609.0, 327.0, -2609.0, 359.0, -2609.0, 327.0)
World.AddSetPiece(3, -2779.0, 279.0, -2777.0, 303.0, -2806.0, 256.0, -2807.0, 289.0, -2806.0, 256.0, -2807.0, 289.0)
World.AddSetPiece(2, -2829.0, -375.0, -2806.0, -347.0, -2789.0, -328.0, -2816.0, -327.0, -2789.0, -328.0, -2816.0, -327.0)
World.AddSetPiece(2, -2823.0, -305.0, -2802.0, -283.0, -2782.0, -328.0, -2814.0, -327.0, -2782.0, -328.0, -2814.0, -327.0)
World.AddSetPiece(2, -1555.0, 2574.0, -1536.0, 2588.0, -1524.0, 2604.0, -1549.0, 2604.0, -1524.0, 2604.0, -1549.0, 2604.0)
World.AddSetPiece(2, -1506.0, 2616.0, -1486.0, 2625.0, -1470.0, 2604.0, -1496.0, 2604.0, -1470.0, 2604.0, -1496.0, 2604.0)
World.AddSetPiece(7, 2573.0, 35.0, 2603.0, 49.0, 2534.0, 90.0, 2534.0, 46.0, 2533.0, 1.0, 2534.0, 40.0)
Zone.InitPopulationSettings
Zone.SetPopulationType('MARKST', 14)
Zone.SetPopulationType('UNITY', 5)
Zone.SetPopulationType('LAIR1', 16)
Zone.SetPopulationType('LAIR2A', 16)
Zone.SetPopulationType('LAIR2B', 16)
Zone.SetPopulationType('LBAG1', 19)
Zone.SetPopulationType('LBAG2', 19)
Zone.SetPopulationType('LBAG3', 19)
Zone.SetPopulationType('BLUF1A', 10)
Zone.SetPopulationType('BLUF2', 10)
Zone.SetPopulationType('SUN1', 2)
Zone.SetPopulationType('SUN1', 2)
Zone.SetPopulationType('SUN3A', 2)
Zone.SetPopulationType('SUN3B', 2)
Zone.SetPopulationType('SUN3C', 2)
Zone.SetPopulationType('SUN4', 2)
Zone.SetGangStrength('SUN1', GangType.Grove, 30)
Zone.SetGangStrength('SUN1', GangType.Grove, 30)
Zone.SetGangStrength('SUN3A', GangType.Grove, 30)
Zone.SetGangStrength('SUN3B', GangType.Grove, 30)
Zone.SetGangStrength('SUN3C', GangType.Grove, 30)
Zone.SetGangStrength('SUN4', GangType.Grove, 30)
Zone.SetPopulationType('COM1A', 9)
Zone.SetPopulationType('COM1B', 9)
Zone.SetPopulationType('COM2', 9)
Zone.SetPopulationType('COM3', 9)
Zone.SetPopulationType('COM4', 9)
Zone.SetPopulationType('PER1', 9)
Zone.SetPopulationType('CHC1A', 6)
Zone.SetPopulationType('CHC1B', 6)
Zone.SetPopulationType('CHC2A', 6)
Zone.SetPopulationType('CHC2B', 6)
Zone.SetPopulationType('CHC3', 7)
Zone.SetPopulationType('CHC4A', 7)
Zone.SetPopulationType('CHC4B', 7)
Zone.SetPopulationRace('CHC1A', 9)
Zone.SetPopulationRace('CHC1B', 9)
Zone.SetPopulationRace('CHC2A', 9)
Zone.SetPopulationRace('CHC2B', 9)
Zone.SetPopulationRace('CHC3', 9)
Zone.SetPopulationRace('CHC4A', 9)
Zone.SetPopulationRace('CHC4B', 9)
Zone.SetGangStrength('CHC1A', GangType.Vagos, 40)
Zone.SetGangStrength('CHC1B', GangType.Vagos, 40)
Zone.SetGangStrength('CHC2A', GangType.Vagos, 40)
Zone.SetGangStrength('CHC2B', GangType.Vagos, 40)
Zone.SetGangStrength('CHC3', GangType.Vagos, 40)
Zone.SetGangStrength('CHC4A', GangType.Vagos, 40)
Zone.SetGangStrength('CHC4B', GangType.Vagos, 40)
Zone.SetDealerStrength('CHC1A', 4)
Zone.SetDealerStrength('CHC1B', 4)
Zone.SetDealerStrength('CHC2A', 4)
Zone.SetDealerStrength('CHC2B', 4)
Zone.SetDealerStrength('CHC3', 4)
Zone.SetDealerStrength('CHC4A', 4)
Zone.SetDealerStrength('CHC4B', 4)
Zone.SetPopulationType('CONF1A', 0)
Zone.SetPopulationType('CONF1B', 0)
Zone.SetPopulationType('THALL1', 0)
Zone.SetPopulationType('LDOC1A', 11)
Zone.SetPopulationType('LDOC1B', 11)
Zone.SetPopulationType('LDOC2', 11)
Zone.SetPopulationType('LDOC3A', 11)
Zone.SetPopulationType('LDOC3B', 11)
Zone.SetPopulationType('LDOC3C', 11)
Zone.SetPopulationType('LDOC4', 11)
Zone.SetPopulationType('LDT1A', 0)
Zone.SetPopulationType('LDT1B', 0)
Zone.SetPopulationType('LDT1C', 0)
Zone.SetPopulationType('LDT3', 0)
Zone.SetPopulationType('LDT4', 5)
Zone.SetPopulationType('LDT5', 0)
Zone.SetPopulationType('LDT6', 0)
Zone.SetPopulationType('LDT7', 5)
Zone.SetPopulationType('EBE1', 5)
Zone.SetPopulationType('EBE2A', 5)
Zone.SetPopulationType('EBE2B', 5)
Zone.SetPopulationType('EBE3C', 8)
Zone.SetGangStrength('EBE1', GangType.Vagos, 30)
Zone.SetGangStrength('EBE2A', GangType.Vagos, 30)
Zone.SetGangStrength('EBE2B', GangType.Vagos, 30)
Zone.SetGangStrength('EBE3C', GangType.Vagos, 30)
Zone.SetDealerStrength('EBE1', 2)
Zone.SetDealerStrength('EBE2A', 2)
Zone.SetDealerStrength('EBE2B', 2)
Zone.SetDealerStrength('EBE3C', 2)
Zone.SetPopulationType('ELCO1', 6)
Zone.SetPopulationType('ELCO2', 7)
Zone.SetPopulationRace('ELCO1', 9)
Zone.SetPopulationRace('ELCO2', 9)
Zone.SetGangStrength('ELCO1', GangType.Aztecas, 40)
Zone.SetGangStrength('ELCO2', GangType.Aztecas, 40)
Zone.SetPopulationType('GAN1', 7)
Zone.SetPopulationType('GAN2', 7)
Zone.SetPopulationRace('GAN1', 1)
Zone.SetPopulationRace('GAN2', 1)
Zone.SetGangStrength('GAN1', GangType.Grove, 25)
Zone.SetGangStrength('GAN2', GangType.Grove, 25)
Zone.SetNoCops('GAN1', True)
Zone.SetPopulationType('GLN1', 7)
Zone.SetPopulationType('GLN2A', 7)
Zone.SetGangStrength('GLN1', GangType.Ballas, 40)
Zone.SetGangStrength('GLN2A', GangType.Ballas, 40)
Zone.SetDealerStrength('GLN1', 6)
Zone.SetDealerStrength('GLN2A', 2)
Zone.SetPopulationType('LIND1A', 7)
Zone.SetPopulationType('LIND1B', 11)
Zone.SetPopulationType('LIND2A', 11)
Zone.SetPopulationType('LIND2B', 11)
Zone.SetPopulationType('LIND3', 11)
Zone.SetGangStrength('LIND1A', GangType.Ballas, 20)
Zone.SetGangStrength('LIND1B', GangType.Ballas, 20)
Zone.SetGangStrength('LIND2A', GangType.Ballas, 20)
Zone.SetGangStrength('LIND2B', GangType.Ballas, 20)
Zone.SetGangStrength('LIND3', GangType.Ballas, 20)
Zone.SetPopulationType('IWD1', 7)
Zone.SetPopulationType('IWD2', 7)
Zone.SetPopulationType('IWD3A', 7)
Zone.SetPopulationType('IWD3B', 7)
Zone.SetPopulationType('IWD4', 7)
Zone.SetPopulationType('IWD5', 7)
Zone.SetPopulationRace('IWD1', 1)
Zone.SetPopulationRace('IWD2', 1)
Zone.SetPopulationRace('IWD3A', 1)
Zone.SetPopulationRace('IWD3B', 1)
Zone.SetPopulationRace('IWD4', 1)
Zone.SetPopulationRace('IWD5', 1)
Zone.SetGangStrength('IWD1', GangType.Ballas, 20)
Zone.SetGangStrength('IWD2', GangType.Ballas, 20)
Zone.SetGangStrength('IWD3A', GangType.Ballas, 20)
Zone.SetGangStrength('IWD3B', GangType.Ballas, 20)
Zone.SetGangStrength('IWD4', GangType.Ballas, 10)
Zone.SetGangStrength('IWD5', GangType.Ballas, 20)
Zone.SetDealerStrength('IWD1', 2)
Zone.SetDealerStrength('IWD2', 2)
Zone.SetDealerStrength('IWD3A', 2)
Zone.SetDealerStrength('IWD3B', 2)
Zone.SetDealerStrength('IWD4', 2)
Zone.SetDealerStrength('IWD5', 2)
Zone.SetPopulationType('JEF1A', 5)
Zone.SetPopulationType('JEF1B', 5)
Zone.SetPopulationType('JEF2', 5)
Zone.SetPopulationType('JEF3A', 5)
Zone.SetPopulationType('JEF3B', 5)
Zone.SetPopulationType('JEF3C', 5)
Zone.SetGangStrength('JEF1A', GangType.Ballas, 40)
Zone.SetGangStrength('JEF1B', GangType.Ballas, 40)
Zone.SetGangStrength('JEF2', GangType.Ballas, 40)
Zone.SetGangStrength('JEF3B', GangType.Ballas, 40)
Zone.SetGangStrength('JEF3C', GangType.Ballas, 40)
Zone.SetDealerStrength('JEF1A', 6)
Zone.SetDealerStrength('JEF1B', 6)
Zone.SetDealerStrength('JEF2', 6)
Zone.SetDealerStrength('JEF3B', 6)
Zone.SetDealerStrength('JEF3C', 6)
Zone.SetPopulationType('LFL1A', 7)
Zone.SetPopulationType('LFL1B', 7)
Zone.SetPopulationRace('LFL1A', 9)
Zone.SetPopulationRace('LFL1B', 9)
Zone.SetGangStrength('LFL1A', GangType.Vagos, 40)
Zone.SetGangStrength('LFL1B', GangType.Vagos, 40)
Zone.SetDealerStrength('LFL1A', 4)
Zone.SetDealerStrength('LFL1B', 4)
Zone.SetPopulationType('LMEX1A', 5)
Zone.SetPopulationType('LMEX1B', 5)
Zone.SetGangStrength('LMEX1A', GangType.Aztecas, 30)
Zone.SetGangStrength('LMEX1B', GangType.Aztecas, 30)
Zone.SetPopulationType('ELS1A', 7)
Zone.SetPopulationType('ELS1B', 7)
Zone.SetPopulationType('ELS2', 7)
Zone.SetPopulationType('ELS3A', 7)
Zone.SetPopulationType('ELS3B', 7)
Zone.SetPopulationType('ELS4', 7)
Zone.SetPopulationRace('ELS1A', 10)
Zone.SetPopulationRace('ELS1B', 10)
Zone.SetPopulationRace('ELS2', 10)
Zone.SetPopulationRace('ELS3A', 10)
Zone.SetPopulationRace('ELS3B', 10)
Zone.SetPopulationRace('ELS4', 10)
Zone.SetGangStrength('ELS1A', GangType.Ballas, 30)
Zone.SetGangStrength('ELS1B', GangType.Ballas, 30)
Zone.SetGangStrength('ELS2', GangType.Ballas, 30)
Zone.SetGangStrength('ELS3A', GangType.Ballas, 30)
Zone.SetGangStrength('ELS3B', GangType.Ballas, 30)
Zone.SetGangStrength('ELS4', GangType.Ballas, 30)
Zone.SetDealerStrength('ELS1A', 2)
Zone.SetDealerStrength('ELS1B', 2)
Zone.SetDealerStrength('ELS2', 2)
Zone.SetDealerStrength('ELS3A', 2)
Zone.SetDealerStrength('ELS3B', 2)
Zone.SetDealerStrength('ELS4', 2)
Zone.SetPopulationType('MAR1', 4)
Zone.SetPopulationType('MAR2', 5)
Zone.SetPopulationType('MAR3', 5)
Zone.SetPopulationType('MKT1', 14)
Zone.SetPopulationType('MKT2', 14)
Zone.SetPopulationType('MKT3', 14)
Zone.SetPopulationType('MKT4', 14)
Zone.SetPopulationType('MUL1A', 15)
Zone.SetPopulationType('MUL1B', 15)
Zone.SetPopulationType('MUL1C', 15)
Zone.SetPopulationType('MUL2A', 10)
Zone.SetPopulationType('MUL2B', 10)
Zone.SetPopulationType('MUL3', 10)
Zone.SetPopulationType('MUL4', 15)
Zone.SetPopulationType('MUL5A', 15)
Zone.SetPopulationType('MUL5B', 15)
Zone.SetPopulationType('MUL5C', 15)
Zone.SetPopulationType('MUL6', 15)
Zone.SetPopulationType('MUL7A', 15)
Zone.SetPopulationType('MUL7B', 15)
Zone.SetPopulationType('PLS', 8)
Zone.SetGangStrength('PLS', GangType.Grove, 10)
Zone.SetPopulationType('RIH1A', 15)
Zone.SetPopulationType('RIH1B', 15)
Zone.SetPopulationType('RIH2', 15)
Zone.SetPopulationType('RIH3A', 15)
Zone.SetPopulationType('RIH3B', 15)
Zone.SetPopulationType('RIH4', 4)
Zone.SetPopulationType('RIH5A', 4)
Zone.SetPopulationType('RIH6B', 4)
Zone.SetPopulationType('RIH5A', 4)
Zone.SetPopulationType('RIH6B', 4)
Zone.SetPopulationType('ROD1A', 14)
Zone.SetPopulationType('ROD1B', 14)
Zone.SetPopulationType('ROD1C', 14)
Zone.SetPopulationType('ROD2A', 14)
Zone.SetPopulationType('ROD2B', 14)
Zone.SetPopulationType('ROD3A', 14)
Zone.SetPopulationType('ROD3B', 14)
Zone.SetPopulationType('ROD4A', 14)
Zone.SetPopulationType('ROD4B', 14)
Zone.SetPopulationType('ROD4C', 14)
Zone.SetPopulationType('ROD5A', 4)
Zone.SetPopulationType('ROD5B', 4)
Zone.SetPopulationType('SMB1', 8)
Zone.SetPopulationType('SMB2', 8)
Zone.SetGangStrength('SMB1', GangType.Grove, 10)
Zone.SetGangStrength('SMB2', GangType.Grove, 10)
Zone.SetPopulationType('VIN2', 2)
Zone.SetPopulationType('VIN3', 2)
Zone.SetPopulationType('VIN1A', 2)
Zone.SetPopulationType('VIN1B', 2)
Zone.SetGangStrength('VIN2', GangType.Grove, 10)
Zone.SetPopulationType('VERO1', 5)
Zone.SetPopulationType('VERO2', 9)
Zone.SetPopulationType('VERO3', 9)
Zone.SetPopulationType('VERO4A', 8)
Zone.SetPopulationType('VERO4B', 8)
Zone.SetGangStrength('VERO1', GangType.Ballas, 10)
Zone.SetGangStrength('VERO2', GangType.Ballas, 10)
Zone.SetGangStrength('VERO3', GangType.Ballas, 10)
Zone.SetGangStrength('VERO4A', GangType.Ballas, 10)
Zone.SetGangStrength('VERO4B', GangType.Ballas, 10)
Zone.SetDealerStrength('VERO1', 2)
Zone.SetDealerStrength('VERO2', 2)
Zone.SetDealerStrength('VERO3', 2)
Zone.SetDealerStrength('VERO4A', 2)
Zone.SetDealerStrength('VERO4B', 2)
Zone.SetPopulationType('CRANB', 5)
Zone.SetPopulationType('CALT', 5)
Zone.SetGangStrength('CALT', GangType.Triad, 10)
Zone.SetPopulationType('SUNMA', 4)
Zone.SetPopulationType('SUNNN', 5)
Zone.SetPopulationType('BATTP', 2)
Zone.SetGangStrength('BATTP', GangType.Rifa, 25)
Zone.SetPopulationType('ESPN1', 9)
Zone.SetPopulationType('ESPN2', 9)
Zone.SetPopulationType('ESPN3', 9)
Zone.SetGangStrength('ESPN1', GangType.DaNangBoys, 10)
Zone.SetGangStrength('ESPN2', GangType.DaNangBoys, 10)
Zone.SetGangStrength('ESPN3', GangType.DaNangBoys, 10)
Zone.SetPopulationType('BAYV', 5)
Zone.SetPopulationType('PARA', 4)
Zone.SetPopulationType('JUNIHO', 5)
Zone.SetPopulationType('JUNIHI', 5)
Zone.SetPopulationType('CIVI', 5)
Zone.SetPopulationType('CHINA', 9)
Zone.SetPopulationRace('CHINA', 6)
Zone.SetGangStrength('CHINA', GangType.Triad, 40)
Zone.SetPopulationType('SFDWT1', 0)
Zone.SetPopulationType('SFDWT2', 0)
Zone.SetPopulationType('SFDWT3', 0)
Zone.SetPopulationType('SFDWT4', 9)
Zone.SetPopulationType('SFDWT5', 9)
Zone.SetPopulationType('SFDWT6', 9)
Zone.SetPopulationType('FINA', 0)
Zone.SetPopulationType('CITYS', 0)
Zone.SetPopulationType('WESTP1', 4)
Zone.SetPopulationType('WESTP2', 4)
Zone.SetPopulationType('WESTP3', 4)
Zone.SetPopulationType('THEA1', 2)
Zone.SetPopulationType('THEA2', 2)
Zone.SetPopulationType('THEA3', 2)
Zone.SetGangStrength('THEA1', GangType.Triad, 10)
Zone.SetGangStrength('THEA3', GangType.Rifa, 10)
Zone.SetPopulationType('GARC', 7)
Zone.SetGangStrength('GARC', GangType.Rifa, 40)
Zone.SetPopulationType('HASH', 6)
Zone.SetPopulationType('OCEAF1', 8)
Zone.SetPopulationType('OCEAF2', 5)
Zone.SetPopulationType('OCEAF3', 8)
Zone.SetPopulationType('DOH1', 5)
Zone.SetPopulationType('DOH2', 5)
Zone.SetGangStrength('DOH2', GangType.Rifa, 10)
Zone.SetPopulationType('CUNTC1', 4)
Zone.SetPopulationType('CUNTC2', 4)
Zone.SetPopulationType('CUNTC3', 4)
Zone.SetPopulationType('SFGLF1', 17)
Zone.SetPopulationType('SFGLF2', 17)
Zone.SetPopulationType('SFGLF3', 17)
Zone.SetPopulationType('SFGLF4', 17)
Zone.SetPopulationType('HILLP', 10)
Zone.SetPopulationType('SILLY1', 0)
Zone.SetPopulationType('SILLY2', 0)
Zone.SetPopulationType('SILLY3', 0)
Zone.SetPopulationType('SILLY4', 0)
Zone.SetPopulationType('SFAIR1', 16)
Zone.SetPopulationType('SFAIR2', 16)
Zone.SetPopulationType('SFAIR3', 16)
Zone.SetPopulationType('SFAIR4', 16)
Zone.SetPopulationType('SFAIR5', 16)
Zone.SetPopulationType('SFBAG1', 19)
Zone.SetPopulationType('SFBAG2', 19)
Zone.SetPopulationType('SFBAG3', 19)
Zone.SetPopulationType('EASB1', 11)
Zone.SetPopulationType('EASB2', 11)
Zone.SetGangStrength('EASB1', GangType.DaNangBoys, 40)
Zone.SetGangStrength('EASB2', GangType.DaNangBoys, 40)
Zone.SetPopulationType('ESPE1', 9)
Zone.SetPopulationType('ESPE2', 9)
Zone.SetPopulationType('ESPE3', 9)
Zone.SetGangStrength('EASB1', GangType.DaNangBoys, 10)
Zone.SetGangStrength('EASB2', GangType.DaNangBoys, 10)
Zone.SetPopulationType('LINDEN', 5)
Zone.SetPopulationType('YELLOW', 4)
Zone.SetPopulationType('BFC1', 5)
Zone.SetPopulationType('BFC2', 5)
Zone.SetPopulationType('RIE', 0)
Zone.SetPopulationType('LDM', 6)
Zone.SetPopulationType('RSW1', 6)
Zone.SetPopulationType('RSW2', 6)
Zone.SetPopulationType('RSE', 6)
Zone.SetPopulationType('LDS', 11)
Zone.SetPopulationType('SRY', 5)
Zone.SetPopulationType('JTS1', 5)
Zone.SetPopulationType('JTS2', 5)
Zone.SetPopulationType('LVA1', 11)
Zone.SetPopulationType('LVA2', 18)
Zone.SetPopulationType('LVA3', 11)
Zone.SetPopulationType('LVA4', 11)
Zone.SetPopulationType('VAIR1', 16)
Zone.SetPopulationType('VAIR2', 16)
Zone.SetPopulationType('VAIR3', 16)
Zone.SetPopulationType('LVBAG', 19)
Zone.SetPopulationType('GGC1', 10)
Zone.SetPopulationType('GGC2', 2)
Zone.SetPopulationType('BFLD1', 10)
Zone.SetPopulationType('BFLD2', 2)
Zone.SetPopulationType('WWE', 5)
Zone.SetPopulationType('WWE1', 5)
Zone.SetPopulationType('PINT', 5)
Zone.SetPopulationType('YBELL2', 4)
Zone.SetPopulationType('YBELL1', 17)
Zone.SetPopulationType('JTW1', 5)
Zone.SetPopulationType('JTW2', 5)
Zone.SetPopulationType('JTN1', 5)
Zone.SetPopulationType('JTN2', 5)
Zone.SetPopulationType('JTN3', 5)
Zone.SetPopulationType('JTN4', 5)
Zone.SetPopulationType('JTN5', 5)
Zone.SetPopulationType('JTN6', 5)
Zone.SetPopulationType('JTN7', 5)
Zone.SetPopulationType('JTN8', 5)
Zone.SetPopulationType('JTE1', 5)
Zone.SetPopulationType('JTE2', 5)
Zone.SetPopulationType('JTE3', 5)
Zone.SetPopulationType('JTE4', 5)
Zone.SetPopulationType('HGP', 4)
Zone.SetPopulationType('SPIN', 11)
Zone.SetPopulationType('BINT1', 5)
Zone.SetPopulationType('BINT2', 5)
Zone.SetPopulationType('BINT3', 5)
Zone.SetPopulationType('BINT4', 5)
Zone.SetPopulationType('PRP1', 4)
Zone.SetPopulationType('PRP2', 4)
Zone.SetPopulationType('PRP3', 4)
Zone.SetPopulationType('PRP4', 4)
Zone.SetPopulationType('REDE1', 0)
Zone.SetPopulationType('REDE2', 0)
Zone.SetPopulationType('REDE3', 2)
Zone.SetPopulationType('REDW1', 5)
Zone.SetPopulationType('REDW2', 5)
Zone.SetPopulationType('REDW3', 11)
Zone.SetPopulationType('REDW4', 5)
Zone.SetPopulationType('ROCE1', 0)
Zone.SetPopulationType('ROCE2', 0)
Zone.SetPopulationType('OVS', 12)
Zone.SetPopulationType('CREE', 9)
Zone.SetPopulationType('STRIP1', 12)
Zone.SetPopulationType('STRIP2', 12)
Zone.SetPopulationType('STRIP3', 12)
Zone.SetPopulationType('STRIP4', 12)
Zone.SetPopulationType('PILL1', 9)
Zone.SetPopulationType('PILL2', 9)
Zone.SetPopulationType('RING', 12)
Zone.SetPopulationType('ISLE', 12)
Zone.SetPopulationType('STAR1', 12)
Zone.SetPopulationType('STAR2', 12)
Zone.SetPopulationType('ROY', 12)
Zone.SetPopulationType('CAM', 12)
Zone.SetPopulationType('LOT', 12)
Zone.SetPopulationType('PIRA', 12)
Zone.SetPopulationType('VISA1', 12)
Zone.SetPopulationType('VISA2', 12)
Zone.SetPopulationType('CALI1', 12)
Zone.SetPopulationType('CALI2', 12)
Zone.SetPopulationType('DRAG', 12)
Zone.SetPopulationType('PINK', 12)
Zone.SetPopulationType('HIGH', 12)
Zone.SetPopulationType('CONST1', 18)
Zone.SetPopulationType('ANGPI', 3)
Zone.SetPopulationType('SHACA', 3)
Zone.SetPopulationType('BACKO', 3)
Zone.SetPopulationType('BEACO', 3)
Zone.SetPopulationType('FARM', 3)
Zone.SetPopulationType('PALO', 3)
Zone.SetPopulationType('MONT', 3)
Zone.SetPopulationType('MONT1', 3)
Zone.SetPopulationType('MTCHI1', 3)
Zone.SetPopulationType('MTCHI2', 3)
Zone.SetPopulationType('MTCHI3', 3)
Zone.SetPopulationType('MTCHI4', 3)
Zone.SetPopulationType('HBARNS', 3)
Zone.SetPopulationType('DILLI', 3)
Zone.SetPopulationType('TOPFA', 3)
Zone.SetPopulationType('BLUEB', 3)
Zone.SetPopulationType('BLUEB1', 3)
Zone.SetPopulationType('PANOP', 3)
Zone.SetPopulationType('BLUAC', 3)
Zone.SetPopulationType('CREEK', 3)
Zone.SetPopulationType('CREEK1', 3)
Zone.SetPopulationType('MAKO', 3)
Zone.SetPopulationType('TOPFA', 3)
Zone.SetPopulationType('FERN', 3)
Zone.SetPopulationType('NROCK', 3)
Zone.SetPopulationType('HANKY', 3)
Zone.SetPopulationType('LEAFY', 3)
Zone.SetPopulationType('RED', 3)
Zone.SetPopulationType('FLINTC', 3)
Zone.SetPopulationType('WHET', 3)
Zone.SetPopulationType('BIGE', 1)
Zone.SetPopulationType('ELQUE', 1)
Zone.SetPopulationType('BARRA', 1)
Zone.SetPopulationType('CARSO', 1)
Zone.SetPopulationType('PAYAS', 1)
Zone.SetPopulationType('PROBE', 1)
Zone.SetPopulationType('ELCA', 1)
Zone.SetPopulationType('FLINTR', 1)
Zone.SetPopulationType('ARCO', 1)
Zone.SetPopulationType('VALLE', 1)
Zone.SetPopulationType('FLINTI', 1)
Zone.SetPopulationType('MONINT', 1)
Zone.SetPopulationType('ROBINT', 1)
Zone.SetPopulationType('TOM', 1)
Zone.SetPopulationType('ALDEA', 1)
Zone.SetPopulationType('BRUJA', 1)
Zone.SetPopulationType('ROBAD', 1)
Zone.SetPopulationType('BONE', 1)
Zone.SetPopulationType('HAUL', 18)
Zone.SetPopulationType('QUARY', 18)
Zone.SetPopulationType('OCTAN', 18)
Zone.SetPopulationType('PALMS', 18)
Zone.SetPopulationType('EBAY', 18)
Zone.SetPopulationType('EBAY2', 18)
Zone.SetPopulationType('DAM', 18)
$2886 = Pickup.CreateHorseshoe(1224.0, 2617.0, 11.0)
$2887 = Pickup.CreateHorseshoe(2323.0, 1284.0, 97.0)
$2888 = Pickup.CreateHorseshoe(2035.0, 2305.0, 18.0)
$2889 = Pickup.CreateHorseshoe(2491.0, 2263.0, 15.0)
$2890 = Pickup.CreateHorseshoe(1433.0, 2796.0, 20.0)
$2891 = Pickup.CreateHorseshoe(2071.0, 712.0, 11.0)
$2892 = Pickup.CreateHorseshoe(2239.0, 1839.0, 18.0)
$2893 = Pickup.CreateHorseshoe(2583.0, 2387.0, 16.0)
$2894 = Pickup.CreateHorseshoe(2864.0, 857.0, 13.0)
$2895 = Pickup.CreateHorseshoe(2612.0, 2200.0, -1.0)
$2896 = Pickup.CreateHorseshoe(2274.0, 1507.0, 24.0)
$2897 = Pickup.CreateHorseshoe(2184.0, 2529.0, 11.0)
$2898 = Pickup.CreateHorseshoe(1863.0, 2314.0, 15.0)
$2899 = Pickup.CreateHorseshoe(2054.0, 2434.0, 166.0)
$2900 = Pickup.CreateHorseshoe(1603.0, 1435.0, 11.0)
$2901 = Pickup.CreateHorseshoe(1362.92, 1015.24, 11.0)
$2902 = Pickup.CreateHorseshoe(2058.7, 2159.1, 16.0)
$2903 = Pickup.CreateHorseshoe(2003.0, 1672.0, 12.0)
$2904 = Pickup.CreateHorseshoe(2238.0, 1135.0, 49.0)
$2905 = Pickup.CreateHorseshoe(1934.06, 988.79, 22.0)
$2906 = Pickup.CreateHorseshoe(1768.0, 2847.0, 9.0)
$2907 = Pickup.CreateHorseshoe(1084.0, 1076.0, 11.0)
$2908 = Pickup.CreateHorseshoe(2879.0, 2522.0, 11.0)
$2909 = Pickup.CreateHorseshoe(2371.0, 2009.0, 15.0)
$2910 = Pickup.CreateHorseshoe(1521.0, 1690.0, 10.6)
$2911 = Pickup.CreateHorseshoe(2417.0, 1281.0, 21.0)
$2912 = Pickup.CreateHorseshoe(1376.0, 2304.0, 15.0)
$2913 = Pickup.CreateHorseshoe(1393.0, 1832.0, 12.34)
$2914 = Pickup.CreateHorseshoe(984.0, 2563.0, 12.0)
$2915 = Pickup.CreateHorseshoe(1767.0, 601.0, 13.0)
$2916 = Pickup.CreateHorseshoe(2108.0, 1003.0, 46.0)
$2917 = Pickup.CreateHorseshoe(2705.98, 1862.52, 24.41)
$2918 = Pickup.CreateHorseshoe(2493.0, 922.0, 16.0)
$2919 = Pickup.CreateHorseshoe(1881.0, 2846.0, 11.0)
$2920 = Pickup.CreateHorseshoe(2020.0, 2352.0, 11.0)
$2921 = Pickup.CreateHorseshoe(1680.3, 2226.86, 16.11)
$2922 = Pickup.CreateHorseshoe(1462.0, 936.0, 10.0)
$2923 = Pickup.CreateHorseshoe(2125.5, 789.23, 11.45)
$2924 = Pickup.CreateHorseshoe(2588.0, 1902.0, 15.0)
$2925 = Pickup.CreateHorseshoe(919.0, 2070.0, 11.0)
$2926 = Pickup.CreateHorseshoe(2173.0, 2465.0, 11.0)
$2927 = Pickup.CreateHorseshoe(2031.25, 2207.33, 11.0)
$2928 = Pickup.CreateHorseshoe(2509.0, 1144.0, 19.0)
$2929 = Pickup.CreateHorseshoe(2215.0, 1968.0, 11.0)
$2930 = Pickup.CreateHorseshoe(2626.0, 2841.0, 11.0)
$2931 = Pickup.CreateHorseshoe(2440.08, 2161.07, 20.0)
$location_photo = Pickup.CreateHorseshoe(1582.0, 2401.0, 19.0)
$2933 = Pickup.CreateHorseshoe(2077.0, 1912.0, 14.0)
$2934 = Pickup.CreateHorseshoe(970.0, 1787.0, 11.0)
$2935 = Pickup.CreateHorseshoe(1526.22, 751.0, 29.04)
$2936 = Pickup.CreateSnapshot(-2511.28, -672.99, 195.75)
$2937 = Pickup.CreateSnapshot(-2723.63, -314.72, 55.79)
$2938 = Pickup.CreateSnapshot(-1737.71, -579.55, 26.19)
$2939 = Pickup.CreateSnapshot(-1486.08, 920.04, 41.37)
$2940 = Pickup.CreateSnapshot(-1269.82, 963.63, 130.37)
$2941 = Pickup.CreateSnapshot(-1650.01, 422.0, 21.17)
$2942 = Pickup.CreateSnapshot(-1851.72, -96.73, 24.37)
$2943 = Pickup.CreateSnapshot(-2732.0, -244.0, 19.0)
$2944 = Pickup.CreateSnapshot(-2802.75, 375.47, 36.59)
$2945 = Pickup.CreateSnapshot(-2773.04, 783.45, 67.66)
$2946 = Pickup.CreateSnapshot(-2680.07, 1590.8, 143.53)
$2947 = Pickup.CreateSnapshot(-2476.75, 1543.44, 49.26)
$2948 = Pickup.CreateSnapshot(-1879.04, 1456.52, 9.34)
$2949 = Pickup.CreateSnapshot(-1561.55, 655.19, 56.52)
$2950 = Pickup.CreateSnapshot(-1325.15, 494.19, 26.83)
$2951 = Pickup.CreateSnapshot(-1941.41, 137.72, 37.83)
$2952 = Pickup.CreateSnapshot(-2153.23, 462.25, 103.27)
$2953 = Pickup.CreateSnapshot(-2243.96, 577.76, 49.0)
$2954 = Pickup.CreateSnapshot(-2051.0, 456.0, 167.0)
$2955 = Pickup.CreateSnapshot(-1951.0, 659.0, 81.0)
$2956 = Pickup.CreateSnapshot(-2064.0, 926.0, 63.0)
$2957 = Pickup.CreateSnapshot(-2357.33, 1017.01, 59.76)
$2958 = Pickup.CreateSnapshot(-2072.0, 1066.0, 74.0)
$2959 = Pickup.CreateSnapshot(-1744.0, 972.46, 156.89)
$2960 = Pickup.CreateSnapshot(-1941.0, 883.0, 68.0)
$2961 = Pickup.CreateSnapshot(-1839.51, 1086.88, 101.29)
$2962 = Pickup.CreateSnapshot(-1704.8, 1338.0, 14.0)
$2963 = Pickup.CreateSnapshot(-2346.62, 536.85, 86.02)
$2964 = Pickup.CreateSnapshot(-2443.0, 755.0, 49.0)
$2965 = Pickup.CreateSnapshot(-2765.0, 375.0, 15.0)
$2966 = Pickup.CreateSnapshot(-2880.31, -935.83, 40.82)
$2967 = Pickup.CreateSnapshot(-2083.0, -808.0, 69.0)
$2968 = Pickup.CreateSnapshot(-1954.0, -760.0, 53.0)
$2969 = Pickup.CreateSnapshot(-964.53, -331.59, 47.16)
$2970 = Pickup.CreateSnapshot(-1689.0, 51.0, 38.0)
$2971 = Pickup.CreateSnapshot(-2080.0, 256.05, 107.0)
$2972 = Pickup.CreateSnapshot(-2413.0, 331.0, 37.0)
$2973 = Pickup.CreateSnapshot(-2244.42, 731.32, 61.88)
$2974 = Pickup.CreateSnapshot(-2462.0, 369.0, 59.0)
$2975 = Pickup.CreateSnapshot(-1124.44, -153.15, 18.5)
$2976 = Pickup.CreateSnapshot(-1275.78, 53.68, 89.07)
$2977 = Pickup.CreateSnapshot(-2430.0, 38.0, 51.0)
$2978 = Pickup.CreateSnapshot(-2591.0, 162.0, 15.0)
$2979 = Pickup.CreateSnapshot(-2591.0, -16.0, 17.0)
$2980 = Pickup.CreateSnapshot(-2648.0, -5.0, 31.0)
$2981 = Pickup.CreateSnapshot(-2593.0, 56.0, 16.0)
$pickup_oyster = Pickup.CreateSnapshot(-1619.31, 1341.39, 11.3)
$2983 = Pickup.CreateSnapshot(-2307.0, 207.0, 42.0)
$2984 = Pickup.CreateSnapshot(-2343.0, -79.0, 38.0)
$2985 = Pickup.CreateSnapshot(-1906.66, 518.58, 61.71)
$2986 = Pickup.CreateOyster(979.0, -2210.0, -3.0)
$2987 = Pickup.CreateOyster(2750.0, -2584.0, -5.0)
$2988 = Pickup.CreateOyster(1279.0, -806.0, 85.0)
$2989 = Pickup.CreateOyster(2945.13, -2051.93, -3.0)
$2990 = Pickup.CreateOyster(67.0, -1018.0, -5.0)
$2991 = Pickup.CreateOyster(2327.0, -2662.0, -5.0)
$2992 = Pickup.CreateOyster(2621.0, -2506.0, -5.0)
$2993 = Pickup.CreateOyster(1249.0, -2687.0, -1.0)
$2994 = Pickup.CreateOyster(725.0, -1849.0, -5.0)
$2995 = Pickup.CreateOyster(723.0, -1586.0, -3.0)
$2996 = Pickup.CreateOyster(155.0, -1975.0, -8.0)
$2997 = Pickup.CreateOyster(1968.0, -1203.0, 17.0)
$2998 = Pickup.CreateOyster(-2657.0, 1564.0, -6.0)
$2999 = Pickup.CreateOyster(-1252.0, 501.0, -8.0)
$3000 = Pickup.CreateOyster(-1625.0, 4.0, -10.0)
$3001 = Pickup.CreateOyster(-1484.0, 1489.0, -10.0)
$3002 = Pickup.CreateOyster(-2505.406, 1543.724, -22.5553)
$3003 = Pickup.CreateOyster(-2727.0, -469.0, -5.0)
$3004 = Pickup.CreateOyster(-1266.0, 966.0, -10.0)
$3005 = Pickup.CreateOyster(-1013.0, 478.0, -7.0)
$3006 = Pickup.CreateOyster(-1364.0, 390.0, -5.0)
$3007 = Pickup.CreateOyster(2578.0, 2382.0, 16.0)
$3008 = Pickup.CreateOyster(2090.0, 1898.0, 8.0)
$3009 = Pickup.CreateOyster(2130.0, 1152.0, 7.0)
$3010 = Pickup.CreateOyster(2013.0, 1670.0, 7.0)
$3011 = Pickup.CreateOyster(2531.0, 1569.0, 9.0)
$3012 = Pickup.CreateOyster(2998.0, 2998.0, -10.0)
$3013 = Pickup.CreateOyster(-832.0, 925.0, -2.0)
$3014 = Pickup.CreateOyster(486.0, -253.0, -4.0)
$3015 = Pickup.CreateOyster(-90.0, -910.0, -5.0)
$3016 = Pickup.CreateOyster(26.43, -1320.94, -10.04)
$3017 = Pickup.CreateOyster(-207.0, -1682.0, -8.0)
$3018 = Pickup.CreateOyster(-1672.0, -1641.0, -2.0)
$3019 = Pickup.CreateOyster(-1175.0, -2639.0, -2.5)
$3020 = Pickup.CreateOyster(-1097.0, -2858.0, -8.0)
$3021 = Pickup.CreateOyster(-2889.0, -1042.0, -9.0)
$3022 = Pickup.CreateOyster(-659.0, 874.0, -2.0)
$3023 = Pickup.CreateOyster(-955.0, 2628.0, 35.0)
$3024 = Pickup.CreateOyster(-1066.0, 2197.0, 32.0)
$3025 = Pickup.CreateOyster(40.0, -531.0, -8.0)
$3026 = Pickup.CreateOyster(-765.0, 247.0, -8.0)
$3027 = Pickup.CreateOyster(2098.0, -108.0, -2.0)
$3028 = Pickup.CreateOyster(2767.0, 470.0, -8.0)
$3029 = Pickup.CreateOyster(-783.0, 2116.0, 35.0)
$3030 = Pickup.CreateOyster(-821.0, 1374.0, -8.0)
$3031 = Pickup.CreateOyster(-2110.5, 2329.72, -7.5)
$pickup_weapon = Pickup.CreateOyster(-1538.0, 1708.0, -3.27)
$3033 = Pickup.CreateOyster(-2685.0, 2153.0, -5.0)
$3034 = Pickup.CreateOyster(796.0, 2939.0, -5.0)
$3035 = Pickup.CreateOyster(2179.0, 235.0, -5.0)
$3036 = Pickup.CreateWithAmmo(344, PickupType.OnStreetSlow, 10, 2832.0, 2405.0, 18.0)
$3037 = Pickup.CreateWithAmmo(365, PickupType.OnStreetSlow, 500, 2819.0, 1663.0, 11.0)
$3038 = Pickup.CreateWithAmmo(343, PickupType.OnStreetSlow, 10, 2725.0, 2727.0, 11.0)
$3039 = Pickup.CreateWithAmmo(361, PickupType.OnStreetSlow, 2000, 2649.0, 2733.0, 11.0)
$3040 = Pickup.CreateWithAmmo(366, PickupType.OnStreetSlow, 3000, 2148.0, 2721.0, 11.0)
$3041 = Pickup.CreateWithAmmo(349, PickupType.OnStreetSlow, 30, 1345.0, 2367.0, 11.0)
$3042 = Pickup.CreateWithAmmo(355, PickupType.OnStreetSlow, 60, 1625.0, 1944.0, 11.0)
$3043 = Pickup.CreateWithAmmo(350, PickupType.OnStreetSlow, 25, 1569.0, 2150.0, 11.0)
$3044 = Pickup.CreateWithAmmo(359, PickupType.OnStreetSlow, 10, 2072.0, 2370.0, 61.0)
$3045 = Pickup.CreateWithAmmo(358, PickupType.OnStreetSlow, 20, 2225.0, 2530.0, 17.0)
$3046 = Pickup.CreateWithAmmo(358, PickupType.OnStreetSlow, 20, 2337.0, 1806.0, 72.0)
$3047 = Pickup.CreateWithAmmo(356, PickupType.OnStreetSlow, 70, 2575.0, 1562.0, 16.0)
$3048 = Pickup.CreateWithAmmo(353, PickupType.OnStreetSlow, 70, 2243.0, 1132.0, 11.0)
$3049 = Pickup.CreateWithAmmo(362, PickupType.OnStreetSlow, 200, 2676.0, 836.0, 22.0)
$3050 = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 50, 1761.0, 591.0, 10.0)
$3051 = Pickup.CreateWithAmmo(342, PickupType.OnStreetSlow, 20, 2809.0, 864.0, 21.0)
$3052 = Pickup.CreateWithAmmo(355, PickupType.OnStreetSlow, 60, 1923.0, 1011.0, 22.0)
$3053 = Pickup.CreateWithAmmo(351, PickupType.OnStreetSlow, 50, 1407.0, 1098.0, 11.0)
$3054 = Pickup.CreateWithAmmo(343, PickupType.OnStreetSlow, 10, 1319.0, 1636.0, 10.6)
$3055 = Pickup.CreateWithAmmo(352, PickupType.OnStreetSlow, 60, 1446.35, 1900.03, 11.0)
$3056 = Pickup.CreateWithAmmo(347, PickupType.OnStreetSlow, 30, 1098.0, 1681.0, 7.0)
$3057 = Pickup.CreateWithAmmo(350, PickupType.OnStreetSlow, 25, 924.0, 2138.0, 11.0)
$3058 = Pickup.CreateWithAmmo(360, PickupType.OnStreetSlow, 10, 1155.0, 2341.0, 17.0)
$3059 = Pickup.CreateWithAmmo(359, PickupType.OnStreetSlow, 10, 1646.0, 1349.0, 11.0)
$3060 = Pickup.CreateWithAmmo(344, PickupType.OnStreetSlow, 10, 1781.0, 2072.0, 11.0)
$3061 = Pickup.CreateWithAmmo(344, PickupType.OnStreetSlow, 10, 2478.0, 1182.0, 22.0)
$3062 = Pickup.Create(338, PickupType.OnStreetSlow, 2854.0, 944.0, 11.0)
$3063 = Pickup.Create(334, PickupType.OnStreetSlow, 2241.0, 2425.0, 11.0)
$3064 = Pickup.Create(333, PickupType.OnStreetSlow, 1418.0, 2774.0, 15.0)
$3065 = Pickup.Create(337, PickupType.OnStreetSlow, 1393.0, 2174.0, 10.0)
$3066 = Pickup.Create(341, PickupType.OnStreetSlow, 1061.0, 2074.0, 11.0)
$3067 = Pickup.Create(371, PickupType.OnStreetSlow, 2057.0, 2434.0, 166.0)
$3068 = Pickup.Create(339, PickupType.OnStreetSlow, 2000.0, 1526.0, 15.0)
$3069 = Pickup.Create(337, PickupType.OnStreetSlow, 1997.0, 1658.0, 12.0)
$3070 = Pickup.CreateWithAmmo(365, PickupType.OnStreetSlow, 500, 2510.0, -1723.0, 19.0)
$3071 = Pickup.CreateWithAmmo(346, PickupType.OnStreetSlow, 35, 2538.0, -1630.0, 14.0)
$3072 = Pickup.CreateWithAmmo(352, PickupType.OnStreetSlow, 60, 2551.33, -1740.0, 6.49)
$3073 = Pickup.CreateWithAmmo(350, PickupType.OnStreetSlow, 25, 2428.0, -1214.0, 36.0)
$3074 = Pickup.CreateWithAmmo(348, PickupType.OnStreetSlow, 30, 2766.0, -2182.0, 11.0)
$3075 = Pickup.CreateWithAmmo(342, PickupType.OnStreetSlow, 20, 2142.0, -1804.0, 16.0)
$3076 = Pickup.CreateWithAmmo(353, PickupType.OnStreetSlow, 70, 1764.0, -1930.0, 14.0)
$3077 = Pickup.CreateWithAmmo(347, PickupType.OnStreetSlow, 30, 1214.0, -1816.0, 17.0)
$3078 = Pickup.CreateWithAmmo(359, PickupType.OnStreetSlow, 10, 1740.0, -1231.0, 92.0)
$3079 = Pickup.CreateWithAmmo(353, PickupType.OnStreetSlow, 70, 2266.0, -1028.0, 59.0)
$3080 = Pickup.CreateWithAmmo(365, PickupType.OnStreetSlow, 500, 2463.0, -1061.0, 60.0)
$3081 = Pickup.CreateWithAmmo(358, PickupType.OnStreetSlow, 20, 2047.0, -1406.0, 68.0)
$3082 = Pickup.CreateWithAmmo(343, PickupType.OnStreetSlow, 10, 2213.0, -2283.0, 15.0)
$3083 = Pickup.CreateWithAmmo(343, PickupType.OnStreetSlow, 10, 1463.0, -1013.0, 27.0)
$3084 = Pickup.CreateWithAmmo(355, PickupType.OnStreetSlow, 60, 1308.97, -874.4, 40.0)
$3085 = Pickup.CreateWithAmmo(357, PickupType.OnStreetSlow, 30, 1102.0, -661.0, 114.0)
$3086 = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 50, 899.8012, -792.078, 102.0)
$3087 = Pickup.CreateWithAmmo(346, PickupType.OnStreetSlow, 35, 338.0, -1875.0, 4.0)
$3088 = Pickup.CreateWithAmmo(342, PickupType.OnStreetSlow, 20, 397.0, -1924.0, 8.0)
$3089 = Pickup.CreateWithAmmo(344, PickupType.OnStreetSlow, 10, 886.0, -966.0, 37.0)
$3090 = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 50, 1408.0, -2380.0, 14.0)
$3091 = Pickup.CreateWithAmmo(356, PickupType.OnStreetSlow, 70, 1379.0, -2547.0, 14.0)
$3104 = Pickup.CreateWithAmmo(344, PickupType.OnStreetSlow, 10, 2426.0, -1416.0, 24.0)
$3092 = Pickup.Create(334, PickupType.OnStreetSlow, 259.0, 80.0, 1004.0)
$3093 = Pickup.Create(321, PickupType.OnStreetSlow, 261.0, 71.0, 1003.0)
$3094 = Pickup.Create(333, PickupType.OnStreetSlow, 1457.0, -792.0, 90.0)
$3095 = Pickup.Create(341, PickupType.OnStreetSlow, 2371.0, -2543.0, 3.0)
$3096 = Pickup.Create(335, PickupType.OnStreetSlow, 1124.0, -1335.0, 13.0)
$3097 = Pickup.CreateWithAmmo(344, PickupType.OnStreetSlow, 10, 2197.0, -2475.0, 14.0)
$3098 = Pickup.Create(371, PickupType.OnStreetSlow, 1528.222, -1357.985, 330.0371)
$3099 = Pickup.Create(339, PickupType.OnStreetSlow, 1862.0, -1862.0, 14.0)
$3100 = Pickup.Create(331, PickupType.OnStreetSlow, 1339.0, -1765.0, 14.0)
$3101 = Pickup.Create(341, PickupType.OnStreetSlow, 2192.243, -1988.751, 13.4185)
$3102 = Pickup.Create(337, PickupType.OnStreetSlow, 2459.0, -1708.0, 13.6)
$3103 = Pickup.CreateWithAmmo(342, PickupType.OnStreetSlow, 20, 2441.0, -1013.0, 54.0)
$3105 = Pickup.CreateWithAmmo(353, PickupType.OnStreetSlow, 70, -2678.0, -128.0, 4.0)
$3106 = Pickup.CreateWithAmmo(348, PickupType.OnStreetSlow, 30, -2212.0, 109.0, 35.0)
$3107 = Pickup.CreateWithAmmo(356, PickupType.OnStreetSlow, 70, -2903.0, 784.0, 35.0)
$3108 = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 50, -2665.0, 1452.0, 7.0)
$3109 = Pickup.CreateWithAmmo(363, PickupType.OnStreetSlow, 15, -2754.0, -400.0, 7.0)
$3110 = Pickup.CreateWithAmmo(346, PickupType.OnStreetSlow, 35, -2206.0, -23.0, 35.0)
$3111 = Pickup.CreateWithAmmo(349, PickupType.OnStreetSlow, 30, -1841.106, -74.2171, 14.7606)
$3112 = Pickup.CreateWithAmmo(361, PickupType.OnStreetSlow, 2000, -1579.0, 29.45, 17.0)
$3113 = Pickup.CreateWithAmmo(357, PickupType.OnStreetSlow, 30, -2094.0, -488.0, 36.0)
$3114 = Pickup.CreateWithAmmo(355, PickupType.OnStreetSlow, 60, -1968.0, -923.0, 32.0)
$3115 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -1945.0, -1088.0, 31.0)
$3116 = Pickup.CreateWithAmmo(366, PickupType.OnStreetSlow, 3000, -1700.0, 415.0, 7.0)
$3117 = Pickup.CreateWithAmmo(343, PickupType.OnStreetSlow, 10, -1386.0, 509.0, 4.0)
$3118 = Pickup.CreateWithAmmo(352, PickupType.OnStreetSlow, 60, -1679.0, 1410.0, 7.0)
$3119 = Pickup.CreateWithAmmo(361, PickupType.OnStreetSlow, 2000, -2132.52, 189.2507, 35.5379)
$3120 = Pickup.CreateWithAmmo(360, PickupType.OnStreetSlow, 10, -1126.69, -150.82, 14.61)
$3121 = Pickup.CreateWithAmmo(362, PickupType.OnStreetSlow, 200, -1496.0, 591.0, 42.0)
$3122 = Pickup.CreateWithAmmo(363, PickupType.OnStreetSlow, 15, -2542.262, 922.2401, 67.1221)
$3123 = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 50, -2092.0, 1121.0, 54.0)
$3124 = Pickup.CreateWithAmmo(358, PickupType.OnStreetSlow, 20, -1629.0, 1167.0, 24.0)
$3125 = Pickup.Create(341, PickupType.OnStreetSlow, -2083.0, 298.0, 42.0)
$3126 = Pickup.Create(336, PickupType.OnStreetSlow, -2306.0, 93.0, 35.0)
$3127 = Pickup.Create(337, PickupType.OnStreetSlow, -2796.416, 123.686, 6.844)
$3128 = Pickup.Create(338, PickupType.OnStreetSlow, -2135.0, 197.0, 35.0)
$3129 = Pickup.Create(339, PickupType.OnStreetSlow, -2208.0, 696.0, 50.0)
$3130 = Pickup.Create(331, PickupType.OnStreetSlow, -2206.0, 961.0, 80.0)
$3131 = Pickup.Create(334, PickupType.OnStreetSlow, -2222.0, -302.0, 43.0)
$3132 = Pickup.Create(335, PickupType.OnStreetSlow, -1871.0, 351.0, 26.0)
$3133 = Pickup.Create(333, PickupType.OnStreetSlow, -2715.0, -314.0, 7.0)
$3134 = Pickup.Create(341, PickupType.OnStreetSlow, -2359.0, -82.0, 35.0)
$3135 = Pickup.CreateWithAmmo(348, PickupType.OnStreetSlow, 30, -1870.0, -1625.0, 22.0)
$3136 = Pickup.CreateWithAmmo(366, PickupType.OnStreetSlow, 3000, -1627.0, -2692.0, 49.0)
$3137 = Pickup.CreateWithAmmo(352, PickupType.OnStreetSlow, 60, -2038.0, -2562.0, 31.0)
$3138 = Pickup.CreateWithAmmo(357, PickupType.OnStreetSlow, 30, -1035.0, -2258.0, 70.0)
$3139 = Pickup.CreateWithAmmo(350, PickupType.OnStreetSlow, 25, 2366.0, 23.0, 28.0)
$3140 = Pickup.CreateWithAmmo(344, PickupType.OnStreetSlow, 10, 2255.0, -74.0, 32.0)
$3141 = Pickup.CreateWithAmmo(353, PickupType.OnStreetSlow, 70, 1296.0, 392.0, 20.0)
$3142 = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 50, 262.0, 38.0, 2.0)
$3143 = Pickup.CreateWithAmmo(355, PickupType.OnStreetSlow, 60, -121.0, -232.0, 1.0)
$3144 = Pickup.Create(337, PickupType.OnStreetSlow, -532.0, -106.0, 63.0)
$3145 = Pickup.CreateWithAmmo(356, PickupType.OnStreetSlow, 70, 113.0, 1811.0, 18.0)
$3146 = Pickup.CreateWithAmmo(348, PickupType.OnStreetSlow, 30, 36.0, 1372.0, 9.0)
$3147 = Pickup.CreateWithAmmo(349, PickupType.OnStreetSlow, 30, 24.0, 969.0, 20.0)
$3148 = Pickup.CreateWithAmmo(344, PickupType.OnStreetSlow, 10, -170.0, 1025.0, 20.0)
$3149 = Pickup.CreateWithAmmo(346, PickupType.OnStreetSlow, 35, -639.0, 1181.0, 13.0)
$3150 = Pickup.CreateWithAmmo(355, PickupType.OnStreetSlow, 60, -585.0, 2714.0, 72.0)
$3151 = Pickup.CreateWithAmmo(366, PickupType.OnStreetSlow, 3000, -742.0, 2752.0, 47.0)
$3152 = Pickup.CreateWithAmmo(349, PickupType.OnStreetSlow, 30, -932.02, 2649.92, 42.0)
$3153 = Pickup.CreateWithAmmo(360, PickupType.OnStreetSlow, 10, -1317.0, 2509.0, 87.0)
$3154 = Pickup.CreateWithAmmo(353, PickupType.OnStreetSlow, 70, -1474.0, 2577.0, 56.0)
$3155 = Pickup.CreateWithAmmo(348, PickupType.OnStreetSlow, 30, -2352.0, 2456.0, 6.0)
$3156 = Pickup.CreateWithAmmo(342, PickupType.OnStreetSlow, 20, -2520.0, 2293.0, 5.0)
$3157 = Pickup.CreateWithAmmo(361, PickupType.OnStreetSlow, 2000, -1358.0, -2115.0, 30.0)
$3158 = Pickup.CreateWithAmmo(352, PickupType.OnStreetSlow, 60, 119.0, 2409.0, 17.0)
$3159 = Pickup.Create(337, PickupType.OnStreetSlow, -1809.0, -1662.0, 24.0)
$3160 = Pickup.Create(371, PickupType.OnStreetSlow, -2350.0, -1586.0, 485.0)
$3161 = Pickup.Create(333, PickupType.OnStreetSlow, -2227.0, -2401.0, 31.4)
$3162 = Pickup.Create(337, PickupType.OnStreetSlow, 2240.0, -83.0, 27.0)
$3163 = Pickup.Create(338, PickupType.OnStreetSlow, 294.0, -188.0, 2.0)
$3164 = Pickup.Create(341, PickupType.OnStreetSlow, -761.0, -126.0, 66.0)
$3165 = Pickup.Create(339, PickupType.OnStreetSlow, -1568.0, 2718.0, 56.0)
$3166 = Pickup.Create(322, PickupType.OnStreetSlow, -2401.0, 2360.0, 5.0)
$3167 = Pickup.Create(371, PickupType.OnStreetSlow, -2679.0, 1933.0, 217.0)
$3168 = Pickup.Create(337, PickupType.OnStreetSlow, 637.0, 832.0, -43.0)
$3169 = Pickup.Create(341, PickupType.OnStreetSlow, 680.0, 826.0, -39.0)
$3170 = Pickup.Create(341, PickupType.OnStreetSlow, 752.0, 260.0, 27.0)
$3171 = Pickup.Create(331, PickupType.OnStreetSlow, -246.0, 2725.0, 63.0)
$3172 = Pickup.Create(335, PickupType.OnStreetSlow, -23.0, 2322.0, 24.0)
$3173 = Pickup.CreateWithAmmo(363, PickupType.OnStreetSlow, 15, 1284.894, 278.5705, 19.5547)
$3175 = Pickup.CreateWithAmmo(355, PickupType.OnStreetSlow, 60, 2129.4, -2280.71, 14.42)
$3176 = Pickup.Create(371, PickupType.OnStreetSlow, -1542.857, 698.4825, 139.2658)
$3177 = Pickup.CreateWithAmmo(353, PickupType.OnStreetSlow, 130, 2198.11, -1170.22, 33.5)
$3178 = Pickup.Create(371, PickupType.OnStreetSlow, -225.6758, 1394.256, 172.0143)
$3179 = Pickup.Create(371, PickupType.OnStreetSlow, -773.0379, 2423.499, 157.0856)
$3180 = Pickup.CreateWithAmmo(358, PickupType.OnStreetSlow, 20, 935.744, -926.0453, 57.7642)
$3181 = Pickup.Create(337, PickupType.OnStreetSlow, 842.9783, -17.3791, 64.2)
$3182 = Pickup.CreateWithAmmo(346, PickupType.OnStreetSlow, 35, 255.0493, 84.0615, 1002.453)
$3183 = Pickup.CreateWithAmmo(349, PickupType.OnStreetSlow, 30, 217.8, 76.4, 1005.047)
$3184 = Pickup.Create(334, PickupType.OnStreetSlow, 223.8347, 120.4458, 1010.212)
$3185 = Pickup.CreateWithAmmo(346, PickupType.OnStreetSlow, 35, 263.2531, 109.7859, 1004.625)
$3186 = Pickup.CreateWithAmmo(349, PickupType.OnStreetSlow, 30, 228.3176, 114.433, 999.0215)
$3187 = Pickup.Create(334, PickupType.OnStreetSlow, 247.4536, 192.3085, 1008.172)
$3188 = Pickup.CreateWithAmmo(346, PickupType.OnStreetSlow, 35, 242.613, 196.3202, 1008.172)
$3189 = Pickup.CreateWithAmmo(349, PickupType.OnStreetSlow, 30, 240.7765, 196.1124, 1008.172)
$3190 = Pickup.Create(334, PickupType.OnStreetSlow, 188.9769, 158.218, 1003.031)
$3191 = Pickup.Create(371, PickupType.OnStreetSlow, -1753.418, 885.3446, 295.5166)
$3192 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -2539.918, -598.6152, 132.764)
$3193 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -2329.984, -165.3635, 35.2389)
$3194 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -2721.241, -318.8085, 7.5246)
$3195 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -2677.102, 234.9912, 4.1048)
$3196 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -2706.692, 375.8728, 5.0525)
$3197 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -2550.106, 657.286, 14.7319)
$3198 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -2791.248, 771.5468, 51.0904)
$3199 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -1770.815, 903.2556, 25.3894)
$3200 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -1713.006, 1368.239, 7.2664)
$3201 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -1851.317, 1302.291, 60.7553)
$3202 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -1635.026, 604.4713, 40.6377)
$3203 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -1976.483, 670.5043, 46.6039)
$3204 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -2038.409, 1111.406, 53.7928)
$3205 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -2048.803, 899.5274, 53.8866)
$3206 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -2292.47, 722.5441, 49.4265)
$3207 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -1977.916, 113.8457, 27.1096)
$3208 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -1528.144, 160.0232, 3.5142)
$3209 = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, -1771.261, -597.5884, 16.6287)
$shop_main_item_picked_shops = Pickup.CreateWithAmmo(367, PickupType.OnStreetSlow, 50, 2495.807, -1700.637, 1017.837)
$3210 = Pickup.Create(326, PickupType.OnStreetSlow, -2677.726, -192.3469, 6.8518)
$3211 = Pickup.Create(341, PickupType.OnStreetSlow, -2752.243, -272.2891, 6.5956)
$3212 = Pickup.Create(326, PickupType.OnStreetSlow, -2617.473, -97.0801, 4.003)
$3213 = Pickup.Create(326, PickupType.OnStreetSlow, -2777.192, -25.2984, 6.8721)
$3214 = Pickup.Create(326, PickupType.OnStreetSlow, -2774.113, 87.8845, 6.7987)
$3215 = Pickup.Create(326, PickupType.OnStreetSlow, -2770.624, 389.0772, 4.2818)
$3216 = Pickup.Create(339, PickupType.OnStreetSlow, -2535.631, 51.7034, 8.6512)
$3217 = Pickup.Create(326, PickupType.OnStreetSlow, -2530.958, -34.1009, 25.2855)
$3218 = Pickup.Create(326, PickupType.OnStreetSlow, -1691.649, 946.7679, 24.8084)
$3219 = Pickup.Create(326, PickupType.OnStreetSlow, -2664.518, 636.5673, 14.2474)
$3220 = Pickup.CreateWithAmmo(361, PickupType.OnStreetSlow, 2000, -601.4012, -1068.6, 23.6667)
$3221 = Pickup.Create(326, PickupType.OnStreetSlow, -377.2184, -1048.053, 58.9125)
$3222 = Pickup.Create(326, PickupType.OnStreetSlow, -45.5928, -1148.529, 1.3953)
$3223 = Pickup.Create(331, PickupType.OnStreetSlow, 2428.499, -1679.27, 13.1633)
$3224 = Pickup.CreateWithAmmo(342, PickupType.OnStreetSlow, 20, 2820.013, -1426.519, 23.805)
$3225 = Pickup.CreateWithAmmo(352, PickupType.OnStreetSlow, 60, 2790.343, -1427.489, 39.6258)
$3226 = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 50, 2574.065, -1134.201, 64.6535)
$3227 = Pickup.CreateWithAmmo(346, PickupType.OnStreetSlow, 35, 2423.892, -1117.452, 41.2464)
$3228 = Pickup.Create(326, PickupType.OnStreetSlow, 1296.155, -1081.892, 26.1502)
$3229 = Pickup.Create(326, PickupType.OnStreetSlow, 1390.611, -800.4332, 81.7795)
$3230 = Pickup.Create(336, PickupType.OnStreetSlow, 1308.466, 2111.289, 10.7221)
$3231 = Pickup.Create(326, PickupType.OnStreetSlow, 2183.116, 2396.827, 10.7722)
$3232 = Pickup.Create(336, PickupType.OnStreetSlow, 1081.133, 1603.697, 5.6)
$3233 = Pickup.Create(335, PickupType.OnStreetSlow, 777.8668, 1948.123, 5.3634)
$3235 = Pickup.CreateWithAmmo(350, PickupType.OnStreetSlow, 25, 1706.352, 1242.019, 34.2952)
$3236 = Pickup.CreateWithAmmo(362, PickupType.OnStreetSlow, 200, 2492.051, 2398.377, 4.5293)
$3237 = Pickup.CreateWithAmmo(359, PickupType.OnStreetSlow, 10, 2055.355, 2435.356, 40.3684)
$3238 = Pickup.Create(337, PickupType.OnStreetSlow, 1888.27, 2877.262, 10.1621)
$3239 = Pickup.Create(326, PickupType.OnStreetSlow, 1420.945, 2519.882, 10.6199)
$3240 = Pickup.Create(326, PickupType.OnStreetSlow, 1372.996, 2605.758, 10.8776)
$3241 = Pickup.CreateWithAmmo(353, PickupType.OnStreetSlow, 70, 2293.686, 1982.286, 31.4335)
$3242 = Pickup.Create(339, PickupType.OnStreetSlow, 2631.263, 1722.395, 11.0312)
$3243 = Pickup.Create(326, PickupType.OnStreetSlow, 2490.497, 1522.47, 10.576)
$3244 = Pickup.Create(326, PickupType.OnStreetSlow, 455.4583, -1485.896, 30.9717)
$3245 = Pickup.CreateWithAmmo(362, PickupType.OnStreetSlow, 200, 244.98, 1859.185, 14.08)
$3248 = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 50, 2529.724, -1678.563, 19.4225)
$goggle_pickups = Pickup.CreateWithAmmo(350, PickupType.OnStreetSlow, 15, 2254.378, -2261.689, 14.3751)
$3250 = Pickup.CreateWithAmmo(358, PickupType.OnStreetSlow, 20, 2015.744, 1004.045, 39.1)
$3251 = Pickup.Create(339, PickupType.OnStreetSlow, 2002.263, 981.3947, 10.5)
$3261 = Pickup.Create(325, PickupType.OnStreetSlow, 1928.68, -1774.21, 13.54)
$3262 = Pickup.Create(325, PickupType.OnStreetSlow, 1875.91, -1917.18, 15.03)
$3263 = Pickup.Create(325, PickupType.OnStreetSlow, 2019.6, -1214.15, 21.47)
$3264 = Pickup.Create(325, PickupType.OnStreetSlow, 2209.77, -1001.69, 63.71)
$3265 = Pickup.Create(325, PickupType.OnStreetSlow, 1000.34, -1858.58, 12.3)
$3267 = Pickup.Create(325, PickupType.OnStreetSlow, 911.11, -1120.31, 24.03)
$3268 = Pickup.Create(325, PickupType.OnStreetSlow, 929.0, -750.0, 105.82)
$3269 = Pickup.Create(325, PickupType.OnStreetSlow, 1129.09, -2052.82, 69.0)
$3270 = Pickup.Create(325, PickupType.OnStreetSlow, -92.74, -1425.46, 12.75)
$3271 = Pickup.Create(325, PickupType.OnStreetSlow, -77.65, -1167.18, 2.16)
$3272 = Pickup.Create(325, PickupType.OnStreetSlow, 34.0, -2649.0, 40.73)
$3273 = Pickup.Create(325, PickupType.OnStreetSlow, -739.0, -1262.0, 68.12)
$3274 = Pickup.Create(325, PickupType.OnStreetSlow, -2177.0, -2423.0, 30.63)
$3275 = Pickup.Create(325, PickupType.OnStreetSlow, -615.0, -861.0, 105.72)
$3276 = Pickup.Create(325, PickupType.OnStreetSlow, -2051.0, 948.0, 55.4)
$3277 = Pickup.Create(325, PickupType.OnStreetSlow, -2658.0, -187.0, 4.18)
$3278 = Pickup.Create(325, PickupType.OnStreetSlow, -2649.0, 734.97, 27.96)
$3279 = Pickup.Create(325, PickupType.OnStreetSlow, -1791.0, 481.0, 25.68)
$3280 = Pickup.Create(325, PickupType.OnStreetSlow, -2797.0, 1182.0, 20.28)
$3281 = Pickup.Create(325, PickupType.OnStreetSlow, -2589.623, -16.165, 3.9662)
$3282 = Pickup.Create(325, PickupType.OnStreetSlow, -2865.0, 690.0, 23.43)
$3283 = Pickup.Create(325, PickupType.OnStreetSlow, -2339.0, -453.0, 80.24)
$3284 = Pickup.Create(325, PickupType.OnStreetSlow, -1955.0, -748.0, 36.22)
$3285 = Pickup.Create(325, PickupType.OnStreetSlow, -2420.03, 987.59, 45.3)
$3286 = Pickup.Create(325, PickupType.OnStreetSlow, -326.56, 2215.37, 43.57)
$3287 = Pickup.Create(325, PickupType.OnStreetSlow, -1319.0, 2705.0, 50.27)
$3288 = Pickup.Create(325, PickupType.OnStreetSlow, -2474.94, 2443.52, 16.03)
$3289 = Pickup.Create(325, PickupType.OnStreetSlow, -1670.64, 2590.49, 81.37)
$3290 = Pickup.Create(325, PickupType.OnStreetSlow, -892.98, 1971.66, 60.61)
$3291 = Pickup.Create(325, PickupType.OnStreetSlow, 1576.86, 2837.14, 10.83)
$3292 = Pickup.Create(325, PickupType.OnStreetSlow, 1492.72, 2773.76, 10.81)
$3293 = Pickup.Create(325, PickupType.OnStreetSlow, 2642.03, 1125.74, 11.03)
$3294 = Pickup.Create(325, PickupType.OnStreetSlow, 2025.24, 661.6, 10.93)
$3295 = Pickup.Create(325, PickupType.OnStreetSlow, 2181.82, 1484.97, 11.36)
$3296 = Pickup.Create(325, PickupType.OnStreetSlow, 2197.02, 2476.33, 11.0)
$pickup_armour = Pickup.Create(325, PickupType.OnStreetSlow, 2212.0, 2526.0, 10.81)
$3298 = Pickup.Create(325, PickupType.OnStreetSlow, 2715.79, 1109.47, 6.7)
$3299 = Pickup.Create(325, PickupType.OnStreetSlow, 2489.25, 918.28, 11.02)
$3300 = Pickup.Create(325, PickupType.OnStreetSlow, 1472.08, 1890.09, 10.81)
$3301 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2097.0, 2154.0, 14.0)
$3302 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2435.0, 1663.0, 16.0)
$3303 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2500.0, 925.0, 11.0)
$3304 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2106.0, 1004.0, 11.0)
$3305 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 1531.0, 925.0, 11.0)
$3306 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 1433.0, 1852.0, 10.8)
$3307 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 1000.0, 1068.0, 11.0)
$3308 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 1269.0, 1352.0, 11.0)
$3309 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2294.0, 547.0, 1.0)
$3310 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2543.0, -1625.0, 12.0)
$3311 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2339.0, -1944.0, 13.0)
$3312 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2767.0, -1192.0, 69.0)
$3313 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2112.0, -1990.0, 14.0)
$3314 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2544.0, -1120.0, 62.0)
$3315 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 1562.0, -1888.0, 14.0)
$3316 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 1086.0, -1806.0, 17.0)
$3317 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 253.0, 80.0, 1004.0)
$3318 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 1759.0, -2242.0, 1.0)
$3319 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -2650.0, -198.0, 4.0)
$3320 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -2285.0, -24.0, 35.0)
$3321 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -1863.0, 112.0, 15.0)
$3322 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -1574.0, 1268.0, 1.27)
$3323 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -2916.0, 992.0, 8.0)
$3324 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -2513.0, 770.0, 35.0)
$3325 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -1394.0, -373.0, 6.0)
$3326 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -2303.0, -1606.0, 484.0)
$3327 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -2092.0, -2330.0, 31.0)
$3328 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -2260.0, 2568.0, 6.0)
$3329 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -902.0, 2689.0, 42.0)
$3330 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -317.0, 2651.0, 67.0)
$3331 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 1325.0, 190.0, 19.0)
$3332 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2487.0, 139.0, 27.0)
$3333 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 761.0, 380.0, 23.0)
$3334 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -51.0, -232.0, 7.0)
$3335 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 252.0, 2616.0, 17.0)
$3336 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 212.0, 1807.0, 22.0)
$3337 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 1291.76, -803.4566, 1089.93)
$3338 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 1715.12, -1673.51, 20.22)
$3339 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 943.012, -939.8284, 57.7345)
$3340 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 275.169, 1859.699, 9.81)
$3341 = Pickup.Create(#BODYARMOUR, PickupType.Once, 1268.34, -804.33, 1084.01)
$3342 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 263.52, 83.14, 1001.039)
$3343 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 264.2632, 117.0737, 1008.813)
$3344 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 245.0618, 195.9429, 1008.172)
$pickup_bribe = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 215.8489, 126.0831, 1003.226)
$3346 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2125.493, -2275.037, 20.5202)
$3348 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 2230.45, -2286.004, 14.3751)
$3349 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2743.0, 1316.0, 8.0)
$3350 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2168.66, 2267.96, 15.34)
$3351 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2408.0, 1389.0, 22.0)
$3352 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2034.0, 842.0, 10.0)
$3353 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2096.0, 1287.0, 10.8)
$3354 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 1987.0, 1543.0, 16.0)
$3355 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 1854.0, 912.0, 10.8)
$3356 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2540.38, 2527.85, 10.39)
$3357 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 1548.02, 1024.47, 10.39)
$3358 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 1592.91, 2053.83, 10.26)
$3359 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 1971.29, 2330.26, 10.41)
$3360 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 1700.74, 1792.7, 10.41)
$3361 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2581.0, -1491.0, 24.0)
$3362 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2296.0, -1696.0, 14.0)
$3363 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2273.0, -1099.0, 38.0)
$3364 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2716.0, -1048.0, 66.0)
$3365 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2614.0, -2496.0, 33.0)
$3366 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 1183.85, -1250.68, 14.7)
$3367 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 1970.0, -1158.0, 21.0)
$3368 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 734.0, -1137.0, 18.0)
$3369 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 2553.76, -2464.31, 13.62)
$3370 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 1204.06, -1613.89, 13.28)
$3371 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 611.21, -1459.63, 14.01)
$3372 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 1116.67, -719.91, 100.17)
$3373 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -1903.1, -466.44, 25.18)
$3374 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -2657.0, -144.0, 4.0)
$3375 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -2454.0, -166.0, 35.0)
$3376 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -2009.0, 1227.0, 32.0)
$3377 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -2120.0, 96.39, 39.0)
$3378 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -2411.0, -334.0, 37.0)
$3379 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -1690.0, 450.0, 13.0)
$3380 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -1991.26, -1144.13, 29.69)
$3381 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -2636.13, -492.83, 70.09)
$3382 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -2022.68, 345.98, 35.17)
$3383 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -2683.2, 784.13, 49.98)
$3384 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -1820.67, -154.12, 9.4)
$3385 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -736.0, 66.0, 24.0)
$3386 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 262.33, -149.12, 1.58)
$3387 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 1643.0, 264.0, 20.0)
$3388 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 601.98, 2150.38, 39.41)
$3389 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -1407.0, -2039.0, 1.0)
$3390 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -2156.0, -2371.0, 31.0)
$3391 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -419.25, 1362.36, 12.21)
$3393 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 629.04, 2842.83, 25.21)
$3394 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 690.49, -209.59, 25.6)
$sequence_task_obj = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 88.82, -125.1, 0.85)
$temp_integer_1 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, 215.69, 1089.1, 16.4)
$temp_integer_2 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -2305.24, 2310.11, 4.98)
$temp_integer_3 = Pickup.Create(#BRIBE, PickupType.OnStreetSlow, -213.61, 2717.44, 62.68)
terminate_this_script 

//-------------Mission 1---------------
// Originally: Initial 2

:INITIL2
script_name 'INITIL2'
$bar1_o = 25
$bar2_o = 100
$reel1_winnings = 250
$3414 = 500
$3415 = 1000
$3416 = 5000
set_var_int_to_var_int $3417[0] = $3416
set_var_int_to_var_int $3417[1] = $reel1_winnings
set_var_int_to_var_int $3417[2] = $3415
set_var_int_to_var_int $3417[3] = $3414
set_var_int_to_var_int $3417[4] = $bar1_o
set_var_int_to_var_int $3417[5] = $bar2_o
set_var_int_to_var_int $3417[6] = $bar1_o
set_var_int_to_var_int $3417[7] = $bar2_o
set_var_int_to_var_int $3417[8] = $3414
set_var_int_to_var_int $3417[9] = $reel1_winnings
set_var_int_to_var_int $3417[10] = $3414
set_var_int_to_var_int $3417[11] = $3415
set_var_int_to_var_int $3417[12] = $bar1_o
set_var_int_to_var_int $3417[13] = $bar2_o
set_var_int_to_var_int $3417[14] = $reel1_winnings
set_var_int_to_var_int $3417[15] = $bar2_o
set_var_int_to_var_int $3417[16] = $3414
set_var_int_to_var_int $3417[17] = $bar1_o
set_var_int_to_var_int $3435[0] = $reel1_winnings
set_var_int_to_var_int $3435[1] = $3414
set_var_int_to_var_int $3435[2] = $bar1_o
set_var_int_to_var_int $3435[3] = $bar2_o
set_var_int_to_var_int $3435[4] = $3416
set_var_int_to_var_int $3435[5] = $3414
set_var_int_to_var_int $3435[6] = $bar2_o
set_var_int_to_var_int $3435[7] = $bar1_o
set_var_int_to_var_int $3435[8] = $3414
set_var_int_to_var_int $3435[9] = $3415
set_var_int_to_var_int $3435[10] = $bar2_o
set_var_int_to_var_int $3435[11] = $reel1_winnings
set_var_int_to_var_int $3435[12] = $bar1_o
set_var_int_to_var_int $3435[13] = $3415
set_var_int_to_var_int $3435[14] = $bar1_o
set_var_int_to_var_int $3435[15] = $reel1_winnings
set_var_int_to_var_int $3435[16] = $3414
set_var_int_to_var_int $3435[17] = $bar2_o
set_var_int_to_var_int $3453[0] = $bar2_o
set_var_int_to_var_int $3453[1] = $bar1_o
set_var_int_to_var_int $3453[2] = $reel1_winnings
set_var_int_to_var_int $3453[3] = $3414
set_var_int_to_var_int $3453[4] = $bar2_o
set_var_int_to_var_int $3453[5] = $3414
set_var_int_to_var_int $3453[6] = $reel1_winnings
set_var_int_to_var_int $3453[7] = $bar2_o
set_var_int_to_var_int $3453[8] = $bar1_o
set_var_int_to_var_int $3453[9] = $3415
set_var_int_to_var_int $3453[10] = $3416
set_var_int_to_var_int $3453[11] = $bar1_o
set_var_int_to_var_int $3453[12] = $3414
set_var_int_to_var_int $3453[13] = $reel1_winnings
set_var_int_to_var_int $3453[14] = $bar2_o
set_var_int_to_var_int $3453[15] = $3415
set_var_int_to_var_int $3453[16] = $3414
set_var_int_to_var_int $3453[17] = $bar1_o
$3471 = 261.3555
$3476 = 399.3732
$reel_sprite_y = 219.0498
$rou_text_x = 356.6364
$3473 = 431.2757
$3478 = 424.3356
$rou_text_y = 36.365
$rou_x_scale = 240.157
$roulette_triggered = 0.4714
$spot1_topleft_y = 2.5077
$3482 = 29.3763
$3486 = 20.0589
$spot1_topleft_x = 0.6253
$spot36_bottomright_x = 2.7876
$3483 = 28.5106
$rou_y_scale = 220.0782
$3484 = 157.2242
$3488 = 409.3602
$spot36_bottomright_y = 0
$spot_size_x = -0.316
$spot_size_y = 0.497
$spot1_x = 0.408
$spot1_y = -1.342
set_var_float_to_var_float $on_footY = $spot_size_x
sub_float_var_from_float_var $on_footY -= $spot1_x
set_var_float_to_var_float $on_footZ = $spot_size_y
sub_float_var_from_float_var $on_footZ -= $spot1_y
set_var_float_to_var_float $spot1_z = $on_footY
$spot1_z /= 6.0
set_var_float_to_var_float $spot_selection_x = $on_footZ
$spot_selection_x /= 24.0
set_var_float_to_var_float $spot_selection_y = $spot_size_x
sub_float_var_from_float_var $spot_selection_y -= $spot1_z
set_var_float_to_var_float $chip_position_x = $spot_size_y
sub_float_var_from_float_var $chip_position_x -= $spot_selection_x
$chip_position_y = -0.176
$spot_increment_x = 0.0
$spot_increment_y = 0.0
$roulette_flag = 0.0
$wheel_rotation_timer = 0.0
$selected_spot_x = 0.0
$3508 = 0.0
$3509 = 0
$3510 = 0
$3511[0] = -2.0
$3662[0] = 2.0
$3511[1] = 0.0
$3662[1] = 0.0
$3511[2] = -2.0
$3662[2] = 0.0
$3511[3] = -4.0
$3662[3] = 0.0
$3511[4] = 0.0
$3662[4] = -2.0
$3511[5] = -2.0
$3662[5] = -2.0
$3511[6] = -4.0
$3662[6] = -2.0
$3511[7] = 0.0
$3662[7] = -4.0
$3511[8] = -2.0
$3662[8] = -4.0
$3511[9] = -4.0
$3662[9] = -4.0
$3511[10] = 0.0
$3662[10] = -6.0
$3511[11] = -2.0
$3662[11] = -6.0
$3511[12] = -4.0
$3662[12] = -6.0
$3511[13] = 0.0
$3662[13] = -8.0
$3511[14] = -2.0
$3662[14] = -8.0
$3511[15] = -4.0
$3662[15] = -8.0
$3511[16] = 0.0
$3662[16] = -10.0
$3511[17] = -2.0
$3662[17] = -10.0
$3511[18] = -4.0
$3662[18] = -10.0
$3511[19] = 0.0
$3662[19] = -12.0
$3511[20] = -2.0
$3662[20] = -12.0
$3511[21] = -4.0
$3662[21] = -12.0
$3511[22] = 0.0
$3662[22] = -14.0
$3511[23] = -2.0
$3662[23] = -14.0
$3511[24] = -4.0
$3662[24] = -14.0
$3511[25] = 0.0
$3662[25] = -16.0
$3511[26] = -2.0
$3662[26] = -16.0
$3511[27] = -4.0
$3662[27] = -16.0
$3511[28] = 0.0
$3662[28] = -18.0
$3511[29] = -2.0
$3662[29] = -18.0
$3511[30] = -4.0
$3662[30] = -18.0
$3511[31] = 0.0
$3662[31] = -20.0
$3511[32] = -2.0
$3662[32] = -20.0
$3511[33] = -4.0
$3662[33] = -20.0
$3511[34] = 0.0
$3662[34] = -22.0
$3511[35] = -2.0
$3662[35] = -22.0
$3511[36] = -4.0
$3662[36] = -22.0
$3511[37] = -1.0
$3662[37] = 0.0
$3511[38] = -3.0
$3662[38] = 0.0
$3511[39] = -1.0
$3662[39] = -2.0
$3511[40] = -3.0
$3662[40] = -2.0
$3511[41] = -1.0
$3662[41] = -4.0
$3511[42] = -3.0
$3662[42] = -4.0
$3511[43] = -1.0
$3662[43] = -6.0
$3511[44] = -3.0
$3662[44] = -6.0
$3511[45] = -1.0
$3662[45] = -8.0
$3511[46] = -3.0
$3662[46] = -8.0
$3511[47] = -1.0
$3662[47] = -10.0
$3511[48] = -3.0
$3662[48] = -10.0
$3511[49] = -1.0
$3662[49] = -12.0
$3511[50] = -3.0
$3662[50] = -12.0
$3511[51] = -1.0
$3662[51] = -14.0
$3511[52] = -3.0
$3662[52] = -14.0
$3511[53] = -1.0
$3662[53] = -16.0
$3511[54] = -3.0
$3662[54] = -16.0
$3511[55] = -1.0
$3662[55] = -18.0
$3511[56] = -3.0
$3662[56] = -18.0
$3511[57] = -1.0
$3662[57] = -20.0
$3511[58] = -3.0
$3662[58] = -20.0
$3511[59] = -1.0
$3662[59] = -22.0
$3511[60] = -3.0
$3662[60] = -22.0
$3511[61] = 0.0
$3662[61] = -1.0
$3511[62] = -2.0
$3662[62] = -1.0
$3511[63] = -4.0
$3662[63] = -1.0
$3511[64] = 0.0
$3662[64] = -3.0
$3511[65] = -2.0
$3662[65] = -3.0
$3511[66] = -4.0
$3662[66] = -3.0
$3511[67] = 0.0
$3662[67] = -5.0
$3511[68] = -2.0
$3662[68] = -5.0
$3511[69] = -4.0
$3662[69] = -5.0
$3511[70] = 0.0
$3662[70] = -7.0
$3511[71] = -2.0
$3662[71] = -7.0
$3511[72] = -4.0
$3662[72] = -7.0
$3511[73] = 0.0
$3662[73] = -9.0
$3511[74] = -2.0
$3662[74] = -9.0
$3511[75] = -4.0
$3662[75] = -9.0
$3511[76] = 0.0
$3662[76] = -11.0
$3511[77] = -2.0
$3662[77] = -11.0
$3511[78] = -4.0
$3662[78] = -11.0
$3511[79] = 0.0
$3662[79] = -13.0
$3511[80] = -2.0
$3662[80] = -13.0
$3511[81] = -4.0
$3662[81] = -13.0
$3511[82] = 0.0
$3662[82] = -15.0
$3511[83] = -2.0
$3662[83] = -15.0
$3511[84] = -4.0
$3662[84] = -15.0
$3511[85] = 0.0
$3662[85] = -17.0
$3511[86] = -2.0
$3662[86] = -17.0
$3511[87] = -4.0
$3662[87] = -17.0
$3511[88] = 0.0
$3662[88] = -19.0
$3511[89] = -2.0
$3662[89] = -19.0
$3511[90] = -4.0
$3662[90] = -19.0
$3511[91] = 0.0
$3662[91] = -21.0
$3511[92] = -2.0
$3662[92] = -21.0
$3511[93] = -4.0
$3662[93] = -21.0
$3511[94] = -5.0
$3662[94] = 0.0
$3511[95] = -5.0
$3662[95] = -2.0
$3511[96] = -5.0
$3662[96] = -4.0
$3511[97] = -5.0
$3662[97] = -6.0
$3511[98] = -5.0
$3662[98] = -8.0
$3511[99] = -5.0
$3662[99] = -10.0
$3511[100] = -5.0
$3662[100] = -12.0
$3511[101] = -5.0
$3662[101] = -14.0
$3511[102] = -5.0
$3662[102] = -16.0
$3511[103] = -5.0
$3662[103] = -18.0
$3511[104] = -5.0
$3662[104] = -20.0
$3511[105] = -5.0
$3662[105] = -22.0
$3511[106] = -1.0
$3662[106] = -1.0
$3511[107] = -3.0
$3662[107] = -1.0
$3511[108] = -1.0
$3662[108] = -3.0
$3511[109] = -3.0
$3662[109] = -3.0
$3511[110] = -1.0
$3662[110] = -5.0
$3511[111] = -3.0
$3662[111] = -5.0
$3511[112] = -1.0
$3662[112] = -7.0
$3511[113] = -3.0
$3662[113] = -7.0
$3511[114] = -1.0
$3662[114] = -9.0
$3511[115] = -3.0
$3662[115] = -9.0
$3511[116] = -1.0
$3662[116] = -11.0
$3511[117] = -3.0
$3662[117] = -11.0
$3511[118] = -1.0
$3662[118] = -13.0
$3511[119] = -3.0
$3662[119] = -13.0
$3511[120] = -1.0
$3662[120] = -15.0
$3511[121] = -3.0
$3662[121] = -15.0
$3511[122] = -1.0
$3662[122] = -17.0
$3511[123] = -3.0
$3662[123] = -17.0
$3511[124] = -1.0
$3662[124] = -19.0
$3511[125] = -3.0
$3662[125] = -19.0
$3511[126] = -1.0
$3662[126] = -21.0
$3511[127] = -3.0
$3662[127] = -21.0
$3511[128] = 0.0
$3662[128] = -24.0
$3511[129] = -2.0
$3662[129] = -24.0
$3511[130] = -4.0
$3662[130] = -24.0
$3511[131] = 2.0
$3662[131] = -3.0
$3511[132] = 2.0
$3662[132] = -11.0
$3511[133] = 2.0
$3662[133] = -19.0
$3511[134] = 4.0
$3662[134] = -1.0
$3511[135] = 4.0
$3662[135] = -21.0
$3511[136] = 4.0
$3662[136] = -5.0
$3511[137] = 4.0
$3662[137] = -17.0
$3511[138] = 4.0
$3662[138] = -9.0
$3511[139] = 4.0
$3662[139] = -13.0
$3511[140] = -5.0
$3662[140] = -1.0
$3511[141] = -5.0
$3662[141] = -3.0
$3511[142] = -5.0
$3662[142] = -5.0
$3511[143] = -5.0
$3662[143] = -7.0
$3511[144] = -5.0
$3662[144] = -9.0
$3511[145] = -5.0
$3662[145] = -11.0
$3511[146] = -5.0
$3662[146] = -13.0
$3511[147] = -5.0
$3662[147] = -15.0
$3511[148] = -5.0
$3662[148] = -17.0
$3511[149] = -5.0
$3662[149] = -19.0
$3511[150] = -5.0
$3662[150] = -21.0
$3813 = 345.3592
$no_money_b = 55.3183
set_var_int_to_constant $3815[0] = 5408
set_var_int_to_constant $3815[1] = 5409
set_var_int_to_constant $3815[2] = 5410
set_var_int_to_constant $3818[0] = 5405
set_var_int_to_constant $3818[1] = 5406
set_var_int_to_constant $3818[2] = 5407
set_var_int_to_constant $3821[0] = 5451
set_var_int_to_constant $3821[1] = 5452
set_var_int_to_constant $3824[0] = 5448
set_var_int_to_constant $3824[1] = 5449
set_var_int_to_constant $3824[2] = 5450
set_var_int_to_constant $3824[3] = 5462
set_var_int_to_constant $3824[4] = 5463
set_var_int_to_constant $3824[5] = 5464
set_var_int_to_constant $roulette_result_b[0] = 5453
set_var_int_to_constant $roulette_result_b[1] = 5454
set_var_int_to_constant $3832[0] = 5400
set_var_int_to_constant $3832[1] = 5401
set_var_int_to_constant $3834[0] = 5438
set_var_int_to_constant $3834[1] = 5439
set_var_int_to_constant $3834[2] = 5440
set_var_int_to_constant $3834[3] = 5441
set_var_int_to_constant $3834[4] = 5442
set_var_int_to_constant $3834[5] = 5443
set_var_int_to_constant $3834[6] = 5444
set_var_int_to_constant $3834[7] = 5445
set_var_int_to_constant $3834[8] = 5446
set_var_int_to_constant $3834[9] = 5447
set_var_int_to_constant $3834[10] = 5411
set_var_int_to_constant $3834[11] = 5412
set_var_int_to_constant $3834[12] = 5413
set_var_int_to_constant $3834[13] = 5414
set_var_int_to_constant $3834[14] = 5415
set_var_int_to_constant $3834[15] = 5416
set_var_int_to_constant $3834[16] = 5417
set_var_int_to_constant $3834[17] = 5418
set_var_int_to_constant $3834[18] = 5419
set_var_int_to_constant $3834[19] = 5420
set_var_int_to_constant $3834[20] = 5421
set_var_int_to_constant $3834[21] = 5422
set_var_int_to_constant $3834[22] = 5423
set_var_int_to_constant $3834[23] = 5424
set_var_int_to_constant $3834[24] = 5425
set_var_int_to_constant $3834[25] = 5426
set_var_int_to_constant $3834[26] = 5427
set_var_int_to_constant $3834[27] = 5428
set_var_int_to_constant $3834[28] = 5429
set_var_int_to_constant $3834[29] = 5430
set_var_int_to_constant $3834[30] = 5431
set_var_int_to_constant $3834[31] = 5432
set_var_int_to_constant $3834[32] = 5433
set_var_int_to_constant $3834[33] = 5434
set_var_int_to_constant $3834[34] = 5435
set_var_int_to_constant $3834[35] = 5436
set_var_int_to_constant $3834[36] = 5437
set_var_int_to_constant $3871[0] = 5402
set_var_int_to_constant $3871[1] = 5403
set_var_int_to_constant $3871[2] = 5404
set_var_int_to_constant $3874[0] = 43608
set_var_int_to_constant $3874[1] = 43609
set_var_int_to_constant $3874[2] = 43610
set_var_int_to_constant $3877[0] = 43605
set_var_int_to_constant $3877[1] = 43606
set_var_int_to_constant $3877[2] = 43607
set_var_int_to_constant $3880[0] = 43651
set_var_int_to_constant $3880[1] = 43652
set_var_int_to_constant $3883[0] = 43648
set_var_int_to_constant $3883[1] = 43649
set_var_int_to_constant $3883[2] = 43650
set_var_int_to_constant $3883[3] = 43662
set_var_int_to_constant $3883[4] = 43663
set_var_int_to_constant $3883[5] = 43664
set_var_int_to_constant $roulette_result_w[0] = 43653
set_var_int_to_constant $roulette_result_w[1] = 43654
set_var_int_to_constant $3891[0] = 43600
set_var_int_to_constant $3891[1] = 43601
set_var_int_to_constant $3893[0] = 43638
set_var_int_to_constant $3893[1] = 43639
set_var_int_to_constant $3893[2] = 43640
set_var_int_to_constant $3893[3] = 43641
set_var_int_to_constant $3893[4] = 43642
set_var_int_to_constant $3893[5] = 43643
set_var_int_to_constant $3893[6] = 43644
set_var_int_to_constant $3893[7] = 43645
set_var_int_to_constant $3893[8] = 43646
set_var_int_to_constant $3893[9] = 43647
set_var_int_to_constant $3893[10] = 43611
set_var_int_to_constant $3893[11] = 43612
set_var_int_to_constant $3893[12] = 43613
set_var_int_to_constant $3893[13] = 43614
set_var_int_to_constant $3893[14] = 43615
set_var_int_to_constant $3893[15] = 43616
set_var_int_to_constant $3893[16] = 43617
set_var_int_to_constant $3893[17] = 43618
set_var_int_to_constant $3893[18] = 43619
set_var_int_to_constant $3893[19] = 43620
set_var_int_to_constant $3893[20] = 43621
set_var_int_to_constant $3893[21] = 43622
set_var_int_to_constant $3893[22] = 43623
set_var_int_to_constant $3893[23] = 43624
set_var_int_to_constant $3893[24] = 43625
set_var_int_to_constant $3893[25] = 43626
set_var_int_to_constant $3893[26] = 43627
set_var_int_to_constant $3893[27] = 43628
set_var_int_to_constant $3893[28] = 43629
set_var_int_to_constant $3893[29] = 43630
set_var_int_to_constant $3893[30] = 43631
set_var_int_to_constant $3893[31] = 43632
set_var_int_to_constant $3893[32] = 43633
set_var_int_to_constant $3893[33] = 43634
set_var_int_to_constant $3893[34] = 43635
set_var_int_to_constant $3893[35] = 43636
set_var_int_to_constant $3893[36] = 43637
set_var_int_to_constant $3930[0] = 43602
set_var_int_to_constant $3930[1] = 43603
set_var_int_to_constant $3930[2] = 43604
$3933[0] = -2307.723
$4018[0] = -2235.966
$4103[0] = 23.0204
$3933[1] = -2276.635
$4018[1] = -2220.047
$4103[1] = 28.716
$3933[2] = -2199.391
$4018[2] = -2283.952
$4103[2] = 30.1494
$3933[3] = -2105.437
$4018[3] = -2354.441
$4103[3] = 30.1419
$3933[4] = -2142.24
$4018[4] = -2410.32
$4103[4] = 30.497
$3933[5] = -2026.404
$4018[5] = -2507.761
$4103[5] = 32.0519
$3933[6] = -1938.526
$4018[6] = -2456.146
$4103[6] = 30.3298
$3933[7] = -1900.394
$4018[7] = -2424.618
$4103[7] = 31.9732
$3933[8] = -1862.806
$4018[8] = -2381.538
$4103[8] = 31.2712
$3933[9] = -1800.629
$4018[9] = -2319.639
$4103[9] = 40.2496
$3933[10] = -1707.158
$4018[10] = -2302.579
$4103[10] = 44.1806
$3933[11] = -1662.639
$4018[11] = -2186.958
$4103[11] = 33.5305
$3933[12] = -1688.256
$4018[12] = -2115.59
$4103[12] = 37.4741
$3933[13] = -1778.958
$4018[13] = -2090.098
$4103[13] = 49.6459
$3933[14] = -1868.425
$4018[14] = -2088.36
$4103[14] = 58.5847
$3933[15] = -1959.41
$4018[15] = -2047.85
$4103[15] = 71.8449
$3933[16] = -1947.789
$4018[16] = -1948.487
$4103[16] = 77.4592
$3933[17] = -1852.11
$4018[17] = -1920.47
$4103[17] = 87.5994
$3933[18] = -1754.616
$4018[18] = -1898.502
$4103[18] = 96.5566
$3933[19] = -1654.121
$4018[19] = -1900.045
$4103[19] = 90.8553
$3933[20] = -1554.651
$4018[20] = -1901.959
$4103[20] = 81.5693
$3933[21] = -1512.378
$4018[21] = -1807.028
$4103[21] = 57.9597
$3933[22] = -1433.233
$4018[22] = -1860.032
$4103[22] = 37.3383
$3933[23] = -1425.812
$4018[23] = -1962.023
$4103[23] = 15.8029
$3933[24] = -1298.451
$4018[24] = -2114.385
$4103[24] = 24.1506
$3933[25] = -1269.661
$4018[25] = -2251.145
$4103[25] = 21.2137
$3933[26] = -1260.525
$4018[26] = -2283.122
$4103[26] = 21.5858
$3933[27] = -1255.258
$4018[27] = -2307.536
$4103[27] = 22.066
$3933[28] = -1253.158
$4018[28] = -2315.343
$4103[28] = 22.5913
$3933[29] = -1216.728
$4018[29] = -2343.497
$4103[29] = 16.9383
$3933[30] = -1193.944
$4018[30] = -2355.995
$4103[30] = 18.7764
$3933[31] = -1104.68
$4018[31] = -2377.18
$4103[31] = 36.3239
$3933[32] = -1000.239
$4018[32] = -2371.509
$4103[32] = 64.5107
$3933[33] = -958.5369
$4018[33] = -2281.055
$4103[33] = 52.9462
$3933[34] = -939.7041
$4018[34] = -2187.095
$4103[34] = 35.4659
$3933[35] = -841.8345
$4018[35] = -2181.378
$4103[35] = 23.7405
$3933[36] = -790.3633
$4018[36] = -2095.343
$4103[36] = 25.4038
$3933[37] = -844.4321
$4018[37] = -2010.339
$4103[37] = 20.3482
$3933[38] = -809.238
$4018[38] = -1902.54
$4103[38] = 9.4239
$3933[39] = -735.21
$4018[39] = -1855.303
$4103[39] = 13.5207
$3933[40] = -641.8992
$4018[40] = -1846.861
$4103[40] = 21.7356
$3933[41] = -546.9716
$4018[41] = -1832.096
$4103[41] = 25.5599
$3933[42] = -460.5018
$4018[42] = -1800.012
$4103[42] = 8.5607
$3933[43] = -424.1711
$4018[43] = -1704.138
$4103[43] = 10.8356
$3933[44] = -410.4569
$4018[44] = -1611.74
$4103[44] = 20.2907
$3933[45] = -358.7348
$4018[45] = -1531.884
$4103[45] = 19.0268
$3933[46] = -342.9092
$4018[46] = -1455.663
$4103[46] = 17.8712
$3933[47] = -243.4206
$4018[47] = -1451.22
$4103[47] = 4.3198
$3933[48] = -193.0986
$4018[48] = -1477.038
$4103[48] = 7.9595
$3933[49] = -68.0509
$4018[49] = -1510.513
$4103[49] = 1.9303
$3933[50] = 31.2142
$4018[50] = -1526.881
$4103[50] = 4.3931
$3933[51] = 129.336
$4018[51] = -1459.612
$4103[51] = 23.8768
$3933[52] = 139.13
$4018[52] = -1255.649
$4103[52] = 44.9903
$3933[53] = 266.63
$4018[53] = -995.6493
$4103[53] = 50.9903
$3933[54] = 366.63
$4018[54] = -757.6493
$4103[54] = 16.4903
$3933[55] = 424.13
$4018[55] = -567.6493
$4103[55] = 38.9903
$3933[56] = 458.13
$4018[56] = -448.1493
$4103[56] = 30.9903
$3933[57] = 338.13
$4018[57] = -390.6493
$4103[57] = 12.9903
$3933[58] = 338.13
$4018[58] = -342.1493
$4103[58] = 8.9903
$3933[59] = 475.13
$4018[59] = -264.6493
$4103[59] = 9.9903
$3933[60] = 615.63
$4018[60] = -197.1493
$4103[60] = 9.9903
$3933[61] = 757.13
$4018[61] = -152.1493
$4103[61] = 18.4903
$3933[62] = 907.13
$4018[62] = -92.1493
$4103[62] = 19.9903
$3933[63] = 1135.63
$4018[63] = -63.6493
$4103[63] = 22.9903
$3933[64] = 1280.63
$4018[64] = -170.6493
$4103[64] = 32.4903
$3933[65] = 1440.63
$4018[65] = -214.6493
$4103[65] = 7.9903
$3933[66] = 1554.63
$4018[66] = -124.6493
$4103[66] = 17.9903
$3933[67] = 1551.63
$4018[67] = 46.8507
$4103[67] = 23.9903
$3933[68] = 1567.13
$4018[68] = 122.3507
$4103[68] = 28.9903
$3933[69] = 1807.13
$4018[69] = 75.3507
$4103[69] = 34.4903
$3933[70] = 2057.13
$4018[70] = 40.3507
$4103[70] = 26.9903
$3933[71] = 2275.63
$4018[71] = 41.8507
$4103[71] = 25.4903
$3933[72] = 2365.63
$4018[72] = 91.8507
$4103[72] = 25.4903
$3933[73] = 2435.63
$4018[73] = 41.8507
$4103[73] = 25.4903
$3933[74] = 2692.13
$4018[74] = 33.8507
$4103[74] = 25.4903
$3933[75] = 2737.63
$4018[75] = -156.1493
$4103[75] = 31.4903
$3933[76] = 2700.13
$4018[76] = -384.1493
$4103[76] = 24.4903
$3933[77] = 2820.13
$4018[77] = -554.1493
$4103[77] = 9.9903
$3933[78] = 2846.13
$4018[78] = -711.6493
$4103[78] = 9.9903
$3933[79] = 2841.63
$4018[79] = -929.1493
$4103[79] = 13.9903
$3933[80] = 2841.13
$4018[80] = -1182.649
$4103[80] = 23.9903
$3933[81] = 2873.13
$4018[81] = -1383.649
$4103[81] = 10.4903
$3933[82] = 2797.63
$4018[82] = -1380.649
$4103[82] = 20.9903
$3933[83] = 2795.13
$4018[83] = -1262.149
$4103[83] = 45.9903
$3933[84] = 2732.13
$4018[84] = -1257.649
$4103[84] = 58.9903
$4188[0] = 2487.846
$4304[0] = -1661.031
$4420[0] = 13.0886
$4188[1] = 2387.639
$4304[1] = -1657.847
$4420[1] = 13.1425
$4188[2] = 2287.486
$4304[2] = -1659.316
$4420[2] = 14.644
$4188[3] = 2188.221
$4304[3] = -1639.707
$4420[3] = 15.0652
$4188[4] = 2091.671
$4304[4] = -1612.541
$4420[4] = 13.1285
$4188[5] = 1990.505
$4304[5] = -1612.728
$4420[5] = 13.1392
$4188[6] = 1889.545
$4304[6] = -1612.92
$4420[6] = 13.1432
$4188[7] = 1788.509
$4304[7] = -1609.786
$4420[7] = 13.1208
$4188[8] = 1688.856
$4304[8] = -1592.988
$4420[8] = 13.1397
$4188[9] = 1587.913
$4304[9] = -1589.57
$4420[9] = 13.1277
$4188[10] = 1487.483
$4304[10] = -1592.59
$4420[10] = 13.1511
$4188[11] = 1386.551
$4304[11] = -1586.947
$4420[11] = 13.1234
$4188[12] = 1286.662
$4304[12] = -1571.949
$4420[12] = 13.1273
$4188[13] = 1185.751
$4304[13] = -1570.81
$4420[13] = 13.141
$4188[14] = 1084.591
$4304[14] = -1571.387
$4420[14] = 13.1352
$4188[15] = 1057.109
$4304[15] = -1474.388
$4420[15] = 13.1259
$4188[16] = 1061.076
$4304[16] = -1373.338
$4420[16] = 13.1525
$4188[17] = 1057.542
$4304[17] = -1273.05
$4420[17] = 13.1425
$4188[18] = 1058.531
$4304[18] = -1173.37
$4420[18] = 23.0197
$4188[19] = 963.0153
$4304[19] = -1141.863
$4420[19] = 23.4253
$4188[20] = 862.2285
$4304[20] = -1144.682
$4420[20] = 23.4156
$4188[21] = 796.4694
$4304[21] = -1069.208
$4420[21] = 24.2389
$4188[22] = 707.7682
$4304[22] = -1116.413
$4420[22] = 17.7387
$4188[23] = 648.3205
$4304[23] = -1197.185
$4420[23] = 17.2365
$4188[24] = 641.5527
$4304[24] = -1199.744
$4420[24] = 17.7693
$4188[25] = 568.4156
$4304[25] = -1131.509
$4420[25] = 26.222
$4188[26] = 469.6543
$4304[26] = -1113.59
$4420[26] = 27.6279
$4188[27] = 370.4434
$4304[27] = -1129.382
$4420[27] = 25.3758
$4188[28] = 274.1698
$4304[28] = -1156.751
$4420[28] = 21.1352
$4188[29] = 181.3566
$4304[29] = -1195.782
$4420[29] = 17.3878
$4188[30] = 94.4232
$4304[30] = -1245.732
$4420[30] = 14.5145
$4188[31] = 15.8414
$4304[31] = -1308.858
$4420[31] = 12.0496
$4188[32] = -62.2601
$4304[32] = -1372.58
$4420[32] = 11.3571
$4188[33] = -133.5467
$4304[33] = -1443.433
$4420[33] = 12.5484
$4188[34] = -201.4483
$4304[34] = -1518.152
$4420[34] = 14.3358
$4188[35] = -261.8274
$4304[35] = -1597.991
$4420[35] = 15.6199
$4188[36] = -295.7058
$4304[36] = -1693.143
$4420[36] = 14.4603
$4188[37] = -331.9772
$4304[37] = -1786.496
$4420[37] = 17.6881
$4188[38] = -367.9241
$4304[38] = -1879.787
$4420[38] = 25.9672
$4188[39] = -367.5844
$4304[39] = -1980.193
$4420[39] = 27.9446
$4188[40] = -350.2859
$4304[40] = -2079.723
$4420[40] = 28.0525
$4188[41] = -333.1001
$4304[41] = -2179.344
$4420[41] = 28.1703
$4188[42] = -297.5232
$4304[42] = -2273.428
$4420[42] = 29.7426
$4188[43] = -233.4477
$4304[43] = -2351.693
$4420[43] = 31.5324
$4188[44] = -159.7139
$4304[44] = -2420.795
$4420[44] = 35.957
$4188[45] = -92.2604
$4304[45] = -2496.009
$4420[45] = 38.2066
$4188[46] = -49.518
$4304[46] = -2586.409
$4420[46] = 43.3945
$4188[47] = -39.0012
$4304[47] = -2686.408
$4420[47] = 42.5762
$4188[48] = -71.9678
$4304[48] = -2781.283
$4420[48] = 39.1346
$4188[49] = -162.2194
$4304[49] = -2824.728
$4420[49] = 40.6313
$4188[50] = -261.9651
$4304[50] = -2815.27
$4420[50] = 50.816
$4188[51] = -357.7323
$4304[51] = -2787.403
$4420[51] = 61.6162
$4188[52] = -456.2191
$4304[52] = -2766.184
$4420[52] = 66.2852
$4188[53] = -555.2378
$4304[53] = -2751.549
$4420[53] = 65.7085
$4188[54] = -655.188
$4304[54] = -2748.977
$4420[54] = 69.8092
$4188[55] = -753.9544
$4304[55] = -2764.895
$4420[55] = 74.469
$4188[56] = -847.778
$4304[56] = -2801.963
$4420[56] = 70.6215
$4188[57] = -938.0959
$4304[57] = -2845.479
$4420[57] = 68.4226
$4188[58] = -1038.655
$4304[58] = -2853.158
$4420[58] = 67.4485
$4188[59] = -1139.419
$4304[59] = -2855.438
$4420[59] = 67.466
$4188[60] = -1239.449
$4304[60] = -2860.805
$4420[60] = 65.7173
$4188[61] = -1338.09
$4304[61] = -2878.668
$4420[61] = 55.5616
$4188[62] = -1435.335
$4304[62] = -2853.41
$4420[62] = 48.3088
$4188[63] = -1520.402
$4304[63] = -2799.315
$4420[63] = 46.6003
$4188[64] = -1600.969
$4304[64] = -2739.976
$4420[64] = 48.7977
$4188[65] = -1681.43
$4304[65] = -2679.765
$4420[65] = 48.2789
$4188[66] = -1745.168
$4304[66] = -2601.553
$4420[66] = 49.447
$4188[67] = -1823.681
$4304[67] = -2538.121
$4420[67] = 52.7491
$4188[68] = -1923.907
$4304[68] = -2539.927
$4420[68] = 38.6757
$4188[69] = -2019.306
$4304[69] = -2507.657
$4420[69] = 32.3084
$4188[70] = -2100.137
$4304[70] = -2446.756
$4420[70] = 30.2321
$4188[71] = -2179.157
$4304[71] = -2383.901
$4420[71] = 30.2293
$4188[72] = -2190.173
$4304[72] = -2284.406
$4420[72] = 30.2286
$4188[73] = -2264.34
$4304[73] = -2216.777
$4420[73] = 30.8563
$4188[74] = -2182.781
$4304[74] = -2160.892
$4420[74] = 47.4936
$4188[75] = -2110.828
$4304[75] = -2092.427
$4420[75] = 61.5663
$4188[76] = -2078.496
$4304[76] = -1997.306
$4420[76] = 60.012
$4188[77] = -2028.488
$4304[77] = -1910.774
$4420[77] = 48.5942
$4188[78] = -1971.902
$4304[78] = -1828.087
$4420[78] = 36.8357
$4188[79] = -1898.346
$4304[79] = -1760.456
$4420[79] = 29.4533
$4188[80] = -1808.711
$4304[80] = -1715.568
$4420[80] = 28.8706
$4188[81] = -1724.839
$4304[81] = -1660.957
$4420[81] = 36.2003
$4188[82] = -1631.223
$4304[82] = -1624.267
$4420[82] = 36.0242
$4188[83] = -1546.374
$4304[83] = -1570.568
$4420[83] = 37.4867
$4188[84] = -1626.075
$4304[84] = -1510.003
$4420[84] = 37.0858
$4188[85] = -1722.531
$4304[85] = -1483.55
$4420[85] = 34.2269
$4188[86] = -1807.41
$4304[86] = -1430.105
$4420[86] = 35.74
$4188[87] = -1894.584
$4304[87] = -1380.672
$4420[87] = 39.6104
$4188[88] = -1899.035
$4304[88] = -1280.731
$4420[88] = 39.2288
$4188[89] = -1896.879
$4304[89] = -1179.88
$4420[89] = 38.8035
$4188[90] = -1900.238
$4304[90] = -1078.988
$4420[90] = 37.9866
$4188[91] = -1896.756
$4304[91] = -978.951
$4420[91] = 41.2545
$4188[92] = -1896.016
$4304[92] = -878.1399
$4420[92] = 44.7055
$4188[93] = -1897.241
$4304[93] = -777.6757
$4420[93] = 44.692
$4188[94] = -1895.959
$4304[94] = -677.4996
$4420[94] = 41.0312
$4188[95] = -1894.737
$4304[95] = -576.5858
$4420[95] = 38.0016
$4188[96] = -1897.71
$4304[96] = -476.4786
$4420[96] = 37.9914
$4188[97] = -1896.154
$4304[97] = -376.3374
$4420[97] = 37.9879
$4188[98] = -1896.894
$4304[98] = -275.5032
$4420[98] = 37.9875
$4188[99] = -1895.73
$4304[99] = -174.2612
$4420[99] = 37.9884
$4188[100] = -1890.837
$4304[100] = -73.2693
$4420[100] = 38.0012
$4188[101] = -1890.615
$4304[101] = 27.5906
$4420[101] = 38.0035
$4188[102] = -1874.62
$4304[102] = 127.2809
$4420[102] = 37.9871
$4188[103] = -1842.755
$4304[103] = 222.3595
$4420[103] = 37.9736
$4188[104] = -1776.737
$4304[104] = 296.302
$4420[104] = 23.6187
$4188[105] = -1687.562
$4304[105] = 341.3
$4420[105] = 13.5061
$4188[106] = -1620.406
$4304[106] = 416.143
$4420[106] = 7.1363
$4188[107] = -1574.644
$4304[107] = 506.4197
$4420[107] = 6.9799
$4188[108] = -1557.715
$4304[108] = 605.5936
$4420[108] = 6.9312
$4188[109] = -1550.603
$4304[109] = 705.7773
$4420[109] = 6.8277
$4188[110] = -1532.975
$4304[110] = 806.2415
$4420[110] = 6.8058
$4188[111] = -1525.152
$4304[111] = 906.8005
$4420[111] = 6.8066
$4188[112] = -1560.428
$4304[112] = 1000.395
$4420[112] = 6.8073
$4188[113] = -1580.528
$4304[113] = 1099.026
$4420[113] = 6.805
$4188[114] = -1593.106
$4304[114] = 1198.824
$4420[114] = 6.7993
$4188[115] = -1612.8
$4304[115] = 1284.908
$4420[115] = 6.9396
$4536[0] = 2480.597
$4634[0] = -1659.156
$4732[0] = 13.0965
$4536[1] = 2379.881
$4634[1] = -1658.193
$4732[1] = 13.1467
$4536[2] = 2344.399
$4634[2] = -1564.435
$4732[2] = 23.9333
$4536[3] = 2343.672
$4634[3] = -1463.32
$4732[3] = 23.6044
$4536[4] = 2305.275
$4634[4] = -1370.793
$4732[4] = 23.6319
$4536[5] = 2303.441
$4634[5] = -1269.606
$4732[5] = 23.5946
$4536[6] = 2306.217
$4634[6] = -1169.403
$4732[6] = 26.0798
$4536[7] = 2213.07
$4634[7] = -1132.101
$4732[7] = 25.3774
$4536[8] = 2116.198
$4634[8] = -1104.905
$4732[8] = 24.8605
$4536[9] = 2022.478
$4634[9] = -1067.897
$4732[9] = 24.2557
$4536[10] = 1925.305
$4634[10] = -1039.768
$4732[10] = 23.612
$4536[11] = 1867.651
$4634[11] = -1121.554
$4732[11] = 23.4686
$4536[12] = 1777.408
$4634[12] = -1164.645
$4732[12] = 23.5025
$4536[13] = 1677.176
$4634[13] = -1162.405
$4732[13] = 23.4443
$4536[14] = 1576.553
$4634[14] = -1163.307
$4732[14] = 23.7111
$4536[15] = 1476.002
$4634[15] = -1159.845
$4732[15] = 23.6522
$4536[16] = 1376.964
$4634[16] = -1140.134
$4732[16] = 23.4968
$4536[17] = 1366.809
$4634[17] = -1040.218
$4732[17] = 26.2347
$4536[18] = 1371.418
$4634[18] = -940.2704
$4732[18] = 33.9599
$4536[19] = 1273.029
$4634[19] = -922.0916
$4732[19] = 41.8145
$4536[20] = 1174.404
$4634[20] = -940.6694
$4732[20] = 42.5196
$4536[21] = 1156.819
$4634[21] = -842.2726
$4732[21] = 49.739
$4536[22] = 1164.005
$4634[22] = -742.3879
$4732[22] = 60.319
$4536[23] = 1202.729
$4634[23] = -649.9714
$4732[23] = 59.6176
$4536[24] = 1231.284
$4634[24] = -554.9558
$4732[24] = 40.3091
$4536[25] = 1257.225
$4634[25] = -462.3789
$4732[25] = 12.7939
$4536[26] = 1255.678
$4634[26] = -362.5274
$4732[26] = 2.989
$4536[27] = 1230.684
$4634[27] = -267.0266
$4732[27] = 18.9881
$4536[28] = 1188.919
$4634[28] = -178.3956
$4732[28] = 40.7223
$4536[29] = 1088.56
$4634[29] = -182.8582
$4732[29] = 39.859
$4536[30] = 989.9222
$4634[30] = -180.4384
$4732[30] = 17.6728
$4536[31] = 889.5374
$4634[31] = -173.0015
$4732[31] = 10.7641
$4536[32] = 788.8903
$4634[32] = -164.4205
$4732[32] = 16.4595
$4536[33] = 689.4522
$4634[33] = -155.3612
$4732[33] = 22.89
$4536[34] = 589.6461
$4634[34] = -146.5947
$4732[34] = 29.747
$4536[35] = 510.978
$4634[35] = -208.5235
$4732[35] = 37.1529
$4536[36] = 491.5316
$4634[36] = -306.6292
$4732[36] = 42.7684
$4536[37] = 464.9347
$4634[37] = -402.1279
$4732[37] = 32.6014
$4536[38] = 370.5219
$4634[38] = -393.0328
$4732[38] = 23.9504
$4536[39] = 272.6069
$4634[39] = -378.1253
$4732[39] = 2.4636
$4536[40] = 206.3447
$4634[40] = -301.5085
$4732[40] = 1.1901
$4536[41] = 157.5706
$4634[41] = -213.2552
$4732[41] = 1.196
$4536[42] = 57.3466
$4634[42] = -208.4595
$4732[42] = 1.2183
$4536[43] = -43.1581
$4634[43] = -203.3529
$4732[43] = 1.3731
$4536[44] = -142.4222
$4634[44] = -187.639
$4732[44] = 1.6178
$4536[45] = -241.4735
$4634[45] = -167.4589
$4732[45] = 2.0199
$4536[46] = -298.0107
$4634[46] = -84.8255
$4732[46] = 1.2111
$4536[47] = -284.5947
$4634[47] = 14.7808
$4732[47] = 0.8422
$4536[48] = -255.5891
$4634[48] = 111.3571
$4732[48] = 0.8426
$4536[49] = -213.1467
$4634[49] = 202.6102
$4732[49] = 1.8256
$4536[50] = -292.432
$4634[50] = 264.4556
$4732[50] = 1.8382
$4536[51] = -391.0918
$4634[51] = 282.886
$4732[51] = 1.8926
$4536[52] = -491.862
$4634[52] = 287.5233
$4732[52] = 1.8369
$4536[53] = -592.0175
$4634[53] = 284.7173
$4732[53] = 1.8298
$4536[54] = -686.3195
$4634[54] = 250.5801
$4732[54] = 1.8305
$4536[55] = -770.4146
$4634[55] = 194.5963
$4732[55] = 1.6198
$4536[56] = -713.9178
$4634[56] = 113.2328
$4732[56] = 15.6558
$4536[57] = -759.8053
$4634[57] = 26.0654
$4732[57] = 33.0027
$4536[58] = -856.795
$4634[58] = -0.6516
$4732[58] = 32.9974
$4536[59] = -759.7305
$4634[59] = -20.4226
$4732[59] = 47.2165
$4536[60] = -801.2752
$4634[60] = -110.4809
$4732[60] = 63.4186
$4536[61] = -898.1945
$4634[61] = -137.0961
$4732[61] = 56.3295
$4536[62] = -946.6151
$4634[62] = -223.724
$4732[62] = 38.9582
$4536[63] = -968.4164
$4634[63] = -321.7283
$4732[63] = 36.142
$4536[64] = -991.3627
$4634[64] = -419.309
$4732[64] = 36.0027
$4536[65] = -1077.753
$4634[65] = -470.2693
$4732[65] = 33.7616
$4536[66] = -1136.252
$4634[66] = -551.6271
$4732[66] = 29.8955
$4536[67] = -1170.498
$4634[67] = -645.1342
$4732[67] = 42.4828
$4536[68] = -1205.133
$4634[68] = -737.6744
$4732[68] = 59.3098
$4536[69] = -1284.404
$4634[69] = -798.114
$4732[69] = 69.501
$4536[70] = -1381.958
$4634[70] = -817.3228
$4732[70] = 81.1519
$4536[71] = -1481.566
$4634[71] = -815.1219
$4732[71] = 66.9058
$4536[72] = -1579.51
$4634[72] = -800.5511
$4732[72] = 49.9587
$4536[73] = -1673.196
$4634[73] = -765.3336
$4732[73] = 41.5955
$4536[74] = -1754.994
$4634[74] = -708.9478
$4732[74] = 28.2593
$4536[75] = -1761.496
$4634[75] = -609.3593
$4732[75] = 15.9606
$4536[76] = -1820.37
$4634[76] = -528.3566
$4732[76] = 14.6995
$4536[77] = -1814.595
$4634[77] = -427.9472
$4732[77] = 14.7211
$4536[78] = -1803.963
$4634[78] = -328.1352
$4732[78] = 14.7287
$4536[79] = -1801.376
$4634[79] = -227.7857
$4732[79] = 14.7103
$4536[80] = -1801.019
$4634[80] = -126.9901
$4732[80] = 12.5775
$4536[81] = -1797.841
$4634[81] = -25.8091
$4732[81] = 14.8934
$4536[82] = -1805.531
$4634[82] = 73.9609
$4732[82] = 14.7143
$4536[83] = -1807.149
$4634[83] = 174.5928
$4732[83] = 14.7138
$4536[84] = -1800.194
$4634[84] = 275.5728
$4732[84] = 10.6028
$4536[85] = -1810.287
$4634[85] = 375.14
$4732[85] = 9.7906
$4536[86] = -1814.409
$4634[86] = 474.6516
$4732[86] = 23.4117
$4536[87] = -1877.944
$4634[87] = 551.0918
$4732[87] = 34.4247
$4536[88] = -1896.861
$4634[88] = 649.7911
$4732[88] = 37.0183
$4536[89] = -1895.051
$4634[89] = 750.2951
$4732[89] = 45.051
$4536[90] = -1893.937
$4634[90] = 850.3843
$4732[90] = 34.7833
$4536[91] = -1820.143
$4634[91] = 917.2139
$4732[91] = 24.9892
$4536[92] = -1719.022
$4634[92] = 917.0076
$4732[92] = 24.4954
$4536[93] = -1619.303
$4634[93] = 916.6608
$4732[93] = 7.634
$4536[94] = -1555.825
$4634[94] = 994.0962
$4732[94] = 6.8065
$4536[95] = -1579.963
$4634[95] = 1091.548
$4732[95] = 6.807
$4536[96] = -1588.588
$4634[96] = 1191.306
$4732[96] = 6.798
$4536[97] = -1612.353
$4634[97] = 1281.671
$4732[97] = 6.9398
$4830[0] = 2488.273
$4947[0] = -1659.969
$5064[0] = 13.0884
$4830[1] = 2387.719
$4947[1] = -1658.019
$5064[1] = 13.1467
$4830[2] = 2286.949
$4947[2] = -1658.583
$5064[2] = 14.6557
$4830[3] = 2187.451
$4947[3] = -1638.533
$5064[3] = 15.0393
$4830[4] = 2090.335
$4947[4] = -1611.906
$5064[4] = 13.1306
$4830[5] = 1990.331
$4947[5] = -1612.021
$5064[5] = 13.1388
$4830[6] = 1888.96
$4947[6] = -1614.385
$5064[6] = 13.1433
$4830[7] = 1787.243
$4947[7] = -1607.768
$5064[7] = 13.1244
$4830[8] = 1687.135
$4947[8] = -1592.272
$5064[8] = 13.1375
$4830[9] = 1586.952
$4947[9] = -1591.001
$5064[9] = 13.1297
$4830[10] = 1486.726
$4947[10] = -1590.779
$5064[10] = 13.152
$4830[11] = 1386.181
$4947[11] = -1585.607
$5064[11] = 13.1003
$4830[12] = 1286.662
$4947[12] = -1572.978
$5064[12] = 13.1664
$4830[13] = 1186.398
$4947[13] = -1571.876
$5064[13] = 13.1464
$4830[14] = 1085.49
$4947[14] = -1570.857
$5064[14] = 13.1351
$4830[15] = 985.0605
$4947[15] = -1571.431
$5064[15] = 13.141
$4830[16] = 884.2
$4947[16] = -1577.365
$5064[16] = 13.13
$4830[17] = 815.0362
$4947[17] = -1650.267
$5064[17] = 13.1344
$4830[18] = 810.6691
$4947[18] = -1750.188
$5064[18] = 13.1276
$4830[19] = 710.2051
$4947[19] = -1749.904
$5064[19] = 14.0481
$4830[20] = 612.0961
$4947[20] = -1727.222
$5064[20] = 13.6595
$4830[21] = 512.0588
$4947[21] = -1711.107
$5064[21] = 11.9235
$4830[22] = 411.9842
$4947[22] = -1701.354
$5064[22] = 8.9795
$4830[23] = 310.8292
$4947[23] = -1701.127
$5064[23] = 6.3614
$4830[24] = 210.8359
$4947[24] = -1692.62
$5064[24] = 7.4032
$4830[25] = 162.6634
$4947[25] = -1604.718
$5064[25] = 15.512
$4830[26] = 96.6228
$4947[26] = -1530.289
$5064[26] = 5.2206
$4830[27] = -4.3045
$4947[27] = -1520.765
$5064[27] = 1.3181
$4830[28] = -100.2442
$4947[28] = -1492.018
$5064[28] = 2.444
$4830[29] = -150.6629
$4947[29] = -1404.912
$5064[29] = 2.4387
$4830[30] = -125.7253
$4947[30] = -1307.639
$5064[30] = 2.6123
$4830[31] = -85.3976
$4947[31] = -1398.901
$5064[31] = 11.9881
$4830[32] = -156.1722
$4947[32] = -1470.046
$5064[32] = 12.557
$4830[33] = -224.7423
$4947[33] = -1543.44
$5064[33] = 15.2432
$4830[34] = -278.3897
$4947[34] = -1627.836
$5064[34] = 15.4404
$4830[35] = -309.6147
$4947[35] = -1722.891
$5064[35] = 14.4331
$4830[36] = -347.4445
$4947[36] = -1815.805
$5064[36] = 20.3824
$4830[37] = -375.8723
$4947[37] = -1911.975
$5064[37] = 27.4563
$4830[38] = -367.3835
$4947[38] = -2012.258
$5064[38] = 27.9796
$4830[39] = -352.257
$4947[39] = -2111.555
$5064[39] = 28.1054
$4830[40] = -325.2379
$4947[40] = -2208.254
$5064[40] = 28.2795
$4830[41] = -411.8825
$4947[41] = -2256.126
$5064[41] = 43.9768
$4830[42] = -507.0649
$4947[42] = -2286.252
$5064[42] = 32.8761
$4830[43] = -579.3828
$4947[43] = -2355.297
$5064[43] = 26.9589
$4830[44] = -678.7022
$4947[44] = -2358.307
$5064[44] = 38.2611
$4830[45] = -752.1234
$4947[45] = -2421.517
$5064[45] = 63.3924
$4830[46] = -819.2419
$4947[46] = -2493.365
$5064[46] = 82.6824
$4830[47] = -890.7695
$4947[47] = -2563.279
$5064[47] = 90.2311
$4830[48] = -981.5709
$4947[48] = -2605.962
$5064[48] = 86.4663
$4830[49] = -1080.225
$4947[49] = -2592.215
$5064[49] = 76.2713
$4830[50] = -1161.929
$4947[50] = -2534.01
$5064[50] = 67.2918
$4830[51] = -1179.818
$4947[51] = -2436.012
$5064[51] = 53.4017
$4830[52] = -1164.983
$4947[52] = -2337.243
$5064[52] = 41.315
$4830[53] = -1134.131
$4947[53] = -2242.25
$5064[53] = 33.4991
$4830[54] = -1097.972
$4947[54] = -2148.736
$5064[54] = 35.7186
$4830[55] = -1047.998
$4947[55] = -2064.019
$5064[55] = 54.2015
$4830[56] = -998.8296
$4947[56] = -1979.083
$5064[56] = 73.7414
$4830[57] = -1062.2
$4947[57] = -1901.606
$5064[57] = 76.9899
$4830[58] = -1161.378
$4947[58] = -1886.014
$5064[58] = 77.91
$4830[59] = -1206.338
$4947[59] = -1800.164
$5064[59] = 51.1433
$4830[60] = -1271.566
$4947[60] = -1723.902
$5064[60] = 45.7799
$4830[61] = -1353.911
$4947[61] = -1666.739
$5064[61] = 45.1373
$4830[62] = -1446.169
$4947[62] = -1627.665
$5064[62] = 44.393
$4830[63] = -1543.799
$4947[63] = -1605.511
$5064[63] = 37.4879
$4830[64] = -1583.018
$4947[64] = -1513.157
$5064[64] = 37.4862
$4830[65] = -1681.619
$4947[65] = -1493.674
$5064[65] = 34.781
$4830[66] = -1771.401
$4947[66] = -1448.094
$5064[66] = 34.5515
$4830[67] = -1859.213
$4947[67] = -1399.628
$5064[67] = 38.1758
$4830[68] = -1944.476
$4947[68] = -1347.211
$5064[68] = 40.559
$4830[69] = -2006.201
$4947[69] = -1268.181
$5064[69] = 36.2375
$4830[70] = -2057.926
$4947[70] = -1182.227
$5064[70] = 31.9717
$4830[71] = -2105.244
$4947[71] = -1093.758
$5064[71] = 29.8948
$4830[72] = -2169.432
$4947[72] = -1016.588
$5064[72] = 33.6278
$4830[73] = -2214.329
$4947[73] = -927.0612
$5064[73] = 42.1936
$4830[74] = -2196.712
$4947[74] = -829.6929
$5064[74] = 58.5525
$4830[75] = -2261.177
$4947[75] = -755.0598
$5064[75] = 75.9781
$4830[76] = -2341.961
$4947[76] = -707.3872
$5064[76] = 110.6889
$4830[77] = -2400.182
$4947[77] = -628.3421
$5064[77] = 131.575
$4830[78] = -2453.648
$4947[78] = -544.386
$5064[78] = 121.1835
$4830[79] = -2526.894
$4947[79] = -485.9847
$5064[79] = 85.0712
$4830[80] = -2446.844
$4947[80] = -425.2606
$5064[80] = 84.4373
$4830[81] = -2354.251
$4947[81] = -463.4032
$5064[81] = 79.948
$4830[82] = -2389.566
$4947[82] = -369.9571
$5064[82] = 75.0462
$4830[83] = -2489.354
$4947[83] = -363.9357
$5064[83] = 63.4133
$4830[84] = -2588.571
$4947[84] = -366.5697
$5064[84] = 46.1223
$4830[85] = -2672.897
$4947[85] = -418.9947
$5064[85] = 31.9261
$4830[86] = -2681.235
$4947[86] = -517.9654
$5064[86] = 17.1435
$4830[87] = -2777.102
$4947[87] = -490.7432
$5064[87] = 6.9382
$4830[88] = -2818.191
$4947[88] = -399.3717
$5064[88] = 6.8041
$4830[89] = -2811.526
$4947[89] = -299.0307
$5064[89] = 6.8035
$4830[90] = -2805.668
$4947[90] = -198.8723
$5064[90] = 6.7879
$4830[91] = -2808.854
$4947[91] = -97.9767
$5064[91] = 6.7909
$4830[92] = -2809.093
$4947[92] = 2.2906
$5064[92] = 6.8002
$4830[93] = -2804.685
$4947[93] = 102.3091
$5064[93] = 6.8277
$4830[94] = -2806.474
$4947[94] = 202.4786
$5064[94] = 6.807
$4830[95] = -2807.934
$4947[95] = 302.7264
$5064[95] = 6.3467
$4830[96] = -2849.526
$4947[96] = 394.1544
$5064[96] = 4.1824
$4830[97] = -2843.374
$4947[97] = 494.5805
$5064[97] = 4.1463
$4830[98] = -2825.592
$4947[98] = 593.7442
$5064[98] = 5.2247
$4830[99] = -2830.803
$4947[99] = 692.401
$5064[99] = 22.7063
$4830[100] = -2856.007
$4947[100] = 788.662
$5064[100] = 35.799
$4830[101] = -2817.792
$4947[101] = 880.8148
$5064[101] = 43.7304
$4830[102] = -2840.386
$4947[102] = 978.9179
$5064[102] = 43.2024
$4830[103] = -2876.457
$4947[103] = 1071.905
$5064[103] = 30.8111
$4830[104] = -2875.885
$4947[104] = 1169.952
$5064[104] = 11.0039
$4830[105] = -2826.602
$4947[105] = 1257.501
$5064[105] = 5.3188
$4830[106] = -2728.815
$4947[106] = 1280.354
$5064[106] = 6.828
$4830[107] = -2629.314
$4947[107] = 1297.977
$5064[107] = 6.7957
$4830[108] = -2548.262
$4947[108] = 1358.467
$5064[108] = 7.3351
$4830[109] = -2448.621
$4947[109] = 1370.268
$5064[109] = 6.7969
$4830[110] = -2347.698
$4947[110] = 1366.408
$5064[110] = 6.9813
$4830[111] = -2253.195
$4947[111] = 1333.593
$5064[111] = 6.801
$4830[112] = -2152.642
$4947[112] = 1334.962
$5064[112] = 6.8483
$4830[113] = -2055.385
$4947[113] = 1309.631
$5064[113] = 6.9547
$4830[114] = -1957.98
$4947[114] = 1286.638
$5064[114] = 6.9474
$4830[115] = -1868.502
$4947[115] = 1332.573
$5064[115] = 6.9476
$4830[116] = -1837.603
$4947[116] = 1425.719
$5064[116] = 6.9399
$5181 = Object.Create(#A51_VENTCOVERB, 245.968, 1862.843, 19.49)
Object.SetRotation($5181, 0.0, 0.0, -140.998)
Object.DontRemove($5181)
$5182 = CarGenerator.Create(-2093.9, -83.7, 33.9, 359.1, 506, 31, 0, True, 0, 0, 0, 10000)
CarGenerator.Switch($5182, 0)
$f1_scripted_cut = CarGenerator.Create(-2076.8, -84.0, 33.7, 1.1, 541, 15, 15, True, 0, 0, 0, 10000)
CarGenerator.Switch($f1_scripted_cut, 0)
$f1_blood_car_gen = CarGenerator.CreateWithPlate(-2064.4, -83.7, 34.1, 0.0, 434, 15, 15, True, 0, 0, 0, 10000, "__GOLD__")
CarGenerator.Switch($f1_blood_car_gen, 0)
$5190 = CarGenerator.CreateWithPlate(-2273.2, -130.8, 33.9, 270.4, 429, 79, 0, True, 0, 0, 0, 10000, "__DBP___")
CarGenerator.Switch($5190, 0)
$gen_car_flying = CarGenerator.CreateWithPlate(-2354.6, 983.0, 49.3, 189.4, 541, 24, 40, True, 0, 0, 0, 10000, "_CHUNKY_")
CarGenerator.Switch($gen_car_flying, 0)
$5192 = CarGenerator.Create(-2151.0, -409.1, 34.1, 307.2, 504, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($5192, 0)
$5193[0] = CarGenerator.Create(1544.0, -1352.0, 329.0, 95.0, 487, -1, -1, False, 0, 0, 0, 10000)
$5193[1] = CarGenerator.Create(-1963.0, 628.0, 151.0, 182.0, 469, -1, -1, False, 0, 0, 0, 10000)
$5193[2] = CarGenerator.Create(-1681.0, 705.0, 31.0, 90.0, 487, -1, -1, False, 0, 0, 0, 10000)
$5193[3] = CarGenerator.Create(-2630.0, 684.0, 72.0, 180.0, 487, -1, -1, False, 0, 0, 0, 10000)
$5193[4] = CarGenerator.Create(-2726.0, 682.0, 72.0, 90.0, 563, -1, -1, False, 0, 0, 0, 10000)
$5193[5] = CarGenerator.Create(-2227.0, 2329.0, 8.0, 180.0, 447, -1, -1, False, 0, 0, 0, 10000)
$5193[6] = CarGenerator.Create(2619.0, 2721.0, 37.0, 90.0, 548, -1, -1, False, 0, 0, 0, 10000)
$5193[7] = CarGenerator.Create(2092.0, 2415.0, 75.0, 260.0, 487, -1, -1, False, 0, 0, 0, 10000)
$5193[8] = CarGenerator.Create(292.0, 2542.0, 16.0, 180.0, 520, -1, -1, False, 0, 0, 0, 10000)
$5193[9] = CarGenerator.Create(-1286.0, 501.5, 18.0, 270.0, 520, -1, -1, False, 0, 0, 0, 10000)
$5193[10] = CarGenerator.Create(-959.0813, 2629.206, 43.229, 110.0, 460, -1, -1, False, 0, 0, 0, 10000)
$5193[11] = CarGenerator.Create(273.0045, -1876.038, 5.2935, 271.51, 563, -1, -1, False, 0, 0, 0, 10000)
$5193[12] = CarGenerator.Create(1561.865, -1701.953, 27.948, 0.0015, 497, -1, -1, False, 0, 0, 0, 10000)
$5193[13] = CarGenerator.Create(-637.1, 1811.953, 1.7, 180.0015, 460, -1, -1, False, 0, 0, 0, 10000)
$5193[14] = CarGenerator.Create(-1443.081, -523.2058, 13.9929, 267.0, 593, -1, -1, False, 0, 0, 0, 10000)
$5193[15] = CarGenerator.Create(-1363.005, -484.0377, 13.9, 200.51, 593, -1, -1, False, 0, 0, 0, 10000)
$5193[16] = CarGenerator.Create(-1180.865, -351.9529, 13.948, 0.0015, 553, -1, -1, False, 0, 0, 0, 10000)
$5193[17] = CarGenerator.Create(-1289.1, -353.9529, 13.9, 219.0015, 519, -1, -1, False, 0, 0, 0, 10000)
$5193[18] = CarGenerator.Create(-1253.1, -347.9529, 13.9, 219.0015, 519, -1, -1, False, 0, 0, 0, 10000)
$5193[19] = CarGenerator.Create(-1387.1, -227.9529, 13.9, 312.0015, 553, -1, -1, False, 0, 0, 0, 10000)
$5193[20] = CarGenerator.Create(-1220.1, -150.9529, 13.9, 519.0015, 519, -1, -1, False, 0, 0, 0, 10000)
$5193[21] = CarGenerator.Create(-1244.674, -599.1741, 13.9, 48.6377, 487, -1, -1, False, 0, 0, 0, 10000)
$5193[22] = CarGenerator.Create(-1215.1, -6.14, 13.9, 95.0015, 417, -1, -1, False, 0, 0, 0, 10000)
$5193[23] = CarGenerator.Create(-1190.1, 22.14, 13.9, 45.0015, 563, -1, -1, False, 0, 0, 0, 10000)
$5193[24] = CarGenerator.Create(-1374.1, -503.14, 13.9, 249.0015, 476, -1, -1, False, 0, 0, 0, 10000)
$5193[25] = CarGenerator.Create(-1608.724, 286.14, 6.22, 55.0015, 425, -1, -1, False, 0, 0, 0, 10000)
$5193[26] = CarGenerator.Create(1586.941, 1190.642, 10.863, 180.0, 577, -1, -1, False, 0, 0, 0, 10000)
$5193[27] = CarGenerator.Create(-1629.28, -236.14, 13.9, 129.0015, 511, -1, -1, False, 0, 0, 0, 10000)
$f1_silver_car_gen = CarGenerator.Create(277.55, 1989.35, 17.21, 270.0, 432, -1, -1, False, 0, 0, 0, 10000)
$f1_gold_car_gen = CarGenerator.Create(281.23, 2022.33, 17.21, 270.0, 432, -1, -1, False, 0, 0, 0, 10000)
$f1_chunky = CarGenerator.Create(307.35, 1990.25, 17.21, 320.0, 520, -1, -1, False, 0, 0, 0, 10000)
$f1_dbp = CarGenerator.Create(307.35, 2031.36, 17.21, 320.0, 520, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($f1_silver_car_gen, 0)
CarGenerator.Switch($f1_gold_car_gen, 0)
CarGenerator.Switch($f1_chunky, 0)
CarGenerator.Switch($f1_dbp, 0)
CarGenerator.Switch($5193[0], 0)
CarGenerator.Switch($5193[1], 0)
CarGenerator.Switch($5193[2], 0)
CarGenerator.Switch($5193[3], 0)
CarGenerator.Switch($5193[4], 0)
CarGenerator.Switch($5193[5], 0)
CarGenerator.Switch($5193[6], 0)
CarGenerator.Switch($5193[7], 0)
CarGenerator.Switch($5193[8], 0)
CarGenerator.Switch($5193[9], 0)
CarGenerator.Switch($5193[10], 0)
CarGenerator.Switch($5193[11], 0)
CarGenerator.Switch($5193[12], 0)
CarGenerator.Switch($5193[13], 0)
CarGenerator.Switch($5193[14], 0)
CarGenerator.Switch($5193[15], 0)
CarGenerator.Switch($5193[16], 0)
CarGenerator.Switch($5193[17], 0)
CarGenerator.Switch($5193[18], 0)
CarGenerator.Switch($5193[19], 0)
CarGenerator.Switch($5193[20], 0)
CarGenerator.Switch($5193[21], 0)
CarGenerator.Switch($5193[22], 0)
CarGenerator.Switch($5193[23], 0)
CarGenerator.Switch($5193[24], 0)
CarGenerator.Switch($5193[25], 0)
CarGenerator.Switch($5193[26], 101)
CarGenerator.Switch($5193[27], 0)
$5221[0] = CarGenerator.Create(-1443.081, -523.2058, 13.9929, 267.0, 593, -1, -1, False, 0, 100, 0, 10000)
$5221[1] = CarGenerator.Create(-1363.005, -484.0377, 13.9, 200.51, 593, -1, -1, False, 0, 100, 0, 10000)
$5221[2] = CarGenerator.Create(-1180.865, -351.9529, 13.948, 0.0015, 553, -1, -1, False, 0, 100, 0, 10000)
$5221[3] = CarGenerator.Create(-1289.1, -353.9529, 13.9, 219.0015, 519, -1, -1, False, 0, 100, 0, 10000)
$5221[4] = CarGenerator.Create(-1253.1, -347.9529, 13.9, 219.0015, 519, -1, -1, False, 0, 100, 0, 10000)
$5221[5] = CarGenerator.Create(-1387.1, -227.9529, 13.9, 312.0015, 553, -1, -1, False, 0, 100, 0, 10000)
$5221[6] = CarGenerator.Create(-1220.1, -150.9529, 13.9, 519.0015, 519, -1, -1, False, 0, 100, 0, 10000)
$5221[7] = CarGenerator.Create(-1244.674, -599.1741, 13.9, 48.6377, 487, -1, -1, True, 0, 0, 100, 10000)
$5221[8] = CarGenerator.Create(-1215.1, -6.14, 13.9, 95.0015, 417, -1, -1, False, 0, 100, 0, 10000)
$5221[9] = CarGenerator.Create(-1190.1, 22.14, 13.9, 45.0015, 563, -1, -1, False, 0, 100, 0, 10000)
$5221[10] = CarGenerator.Create(-1374.1, -503.14, 13.9, 249.0015, 476, -1, -1, False, 0, 100, 0, 10000)
$5221[11] = CarGenerator.Create(-1629.28, -236.14, 13.9, 129.0015, 511, -1, -1, False, 0, 100, 0, 10000)
CarGenerator.Switch($5221[0], 101)
CarGenerator.Switch($5221[1], 101)
CarGenerator.Switch($5221[2], 101)
CarGenerator.Switch($5221[3], 101)
CarGenerator.Switch($5221[4], 101)
CarGenerator.Switch($5221[5], 101)
CarGenerator.Switch($5221[6], 101)
CarGenerator.Switch($5221[7], 101)
CarGenerator.Switch($5221[8], 101)
CarGenerator.Switch($5221[9], 101)
CarGenerator.Switch($5221[10], 101)
CarGenerator.Switch($5221[11], 101)
$5233 = CarGenerator.Create(927.7213, -1185.042, 16.5, 123.3055, 457, -1, -1, False, 0, 0, 0, 10000)
$5234 = CarGenerator.Create(927.5233, -1182.365, 16.5, 123.3055, 457, -1, -1, False, 0, 0, 0, 10000)
$5235 = CarGenerator.Create(926.9179, -1178.95, 16.5, 123.3055, 457, -1, -1, False, 0, 0, 0, 10000)
$5236 = CarGenerator.Create(861.3535, -1240.759, 14.5, 180.1308, 457, -1, -1, False, 0, 0, 0, 10000)
$pickups_film_studio = CarGenerator.Create(837.7494, -1206.574, 16.5, 153.2632, 508, -1, -1, False, 0, 0, 0, 10000)
$5238 = CarGenerator.Create(897.5168, -1207.991, 16.5, 86.5989, 508, -1, -1, False, 0, 0, 0, 10000)
$5239 = CarGenerator.Create(736.2398, -1334.195, 13.5411, 267.8109, 508, -1, -1, False, 0, 0, 0, 10000)
$5240 = CarGenerator.Create(736.9623, -1343.907, 13.5197, 273.7721, 508, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($5233, 101)
CarGenerator.Switch($5234, 101)
CarGenerator.Switch($5235, 101)
CarGenerator.Switch($5236, 101)
CarGenerator.Switch($pickups_film_studio, 101)
CarGenerator.Switch($5238, 101)
CarGenerator.Switch($5239, 101)
CarGenerator.Switch($5240, 101)
$5241 = Pickup.CreateWithAmmo(355, PickupType.OnStreetSlow, 60, 825.921, -1165.813, 17.8936)
$5242 = Pickup.CreateWithAmmo(350, PickupType.OnStreetSlow, 40, 832.603, -1273.861, 14.4833)
$5243 = Pickup.Create(334, PickupType.OnStreetSlow, 911.6486, -1235.39, 17.6802)
$car_gen_mtchiliad = Pickup.Create(358, PickupType.OnStreetSlow, 733.4333, -1356.47, 23.5229)
$car_gen_go_kart = CarGenerator.Create(-2408.511, -2186.024, 32.89, 321.692, 468, -1, -1, False, 0, 0, 0, 10000)
$5249 = CarGenerator.Create(-2407.606, -2177.092, 32.89, 321.692, 510, -1, -1, False, 0, 0, 0, 10000)
$5250 = CarGenerator.Create(-2338.565, -1593.833, 482.9451, 20.751, 508, -1, -1, False, 0, 0, 0, 10000)
$5251 = CarGenerator.Create(-2343.37, -1613.943, 482.9757, 105.53, 483, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($car_gen_go_kart, 101)
CarGenerator.Switch($5249, 101)
CarGenerator.Switch($5250, 101)
CarGenerator.Switch($5251, 101)
$5252 = CarGenerator.Create(-2213.556, 112.7671, 34.9203, 88.472, 571, -1, -1, False, 0, 0, 0, 10000)
$5253 = CarGenerator.Create(-2693.386, -139.4564, 3.93359, 90.0856, 571, -1, -1, False, 0, 0, 0, 10000)
$5254 = CarGenerator.Create(-2796.468, -94.1788, 6.9875, 42.6945, 571, -1, -1, False, 0, 0, 0, 10000)
$5255 = CarGenerator.Create(-2206.051, 701.2161, 48.9453, 183.4174, 571, -1, -1, False, 0, 0, 0, 10000)
$5256 = CarGenerator.Create(-810.5599, 2430.363, 156.9649, 336.533, 571, -1, -1, False, 0, 0, 0, 10000)
$5257 = CarGenerator.Create(-1693.441, 432.2852, 6.9914, 300.903, 571, -1, -1, False, 0, 0, 0, 10000)
$5258 = CarGenerator.Create(-2116.138, 924.8068, 85.9791, 94.9293, 571, -1, -1, False, 0, 0, 0, 10000)
$5259 = CarGenerator.Create(-1483.69, 2614.835, 58.2812, 337.9383, 571, -1, -1, False, 0, 0, 0, 10000)
$5260 = CarGenerator.Create(1419.698, 1947.996, 10.9531, 6.9689, 571, -1, -1, False, 0, 0, 0, 10000)
$5261 = CarGenerator.Create(1567.389, 2691.118, 10.265, 279.9875, 571, -1, -1, False, 0, 0, 0, 10000)
$5262 = CarGenerator.Create(-2087.367, -2519.016, 29.925, 90.9178, 571, -1, -1, False, 0, 0, 0, 10000)
$car_gen_hover = CarGenerator.Create(2615.317, 1939.701, 10.129, 148.1757, 571, -1, -1, False, 0, 0, 0, 10000)
$5264 = CarGenerator.Create(1074.964, 1395.418, 5.303, 36.7673, 571, -1, -1, False, 0, 0, 0, 10000)
$5265 = CarGenerator.Create(2615.239, -1731.225, 5.9486, 140.8213, 571, -1, -1, False, 0, 0, 0, 10000)
$5266 = CarGenerator.Create(1305.176, -796.6955, 83.9477, 185.9911, 571, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($5252, 0)
CarGenerator.Switch($5253, 0)
CarGenerator.Switch($5254, 0)
CarGenerator.Switch($5255, 0)
CarGenerator.Switch($5256, 0)
CarGenerator.Switch($5257, 0)
CarGenerator.Switch($5258, 0)
CarGenerator.Switch($5259, 0)
CarGenerator.Switch($5260, 0)
CarGenerator.Switch($5261, 0)
CarGenerator.Switch($5262, 0)
CarGenerator.Switch($car_gen_hover, 0)
CarGenerator.Switch($5264, 0)
CarGenerator.Switch($5265, 0)
CarGenerator.Switch($5266, 0)
$5267 = CarGenerator.Create(-2294.926, 2546.978, 5.9175, 290.9339, 539, -1, -1, False, 0, 0, 0, 10000)
$5268 = CarGenerator.Create(714.3436, -1488.273, 0.9343, 270.0, 539, -1, -1, False, 0, 0, 0, 10000)
$car_gen_sparrow = CarGenerator.Create(-1426.412, 506.8391, 2.9463, 144.61, 539, -1, -1, False, 0, 0, 0, 10000)
$car_gen_desert1_pcj = CarGenerator.Create(1971.92, 1560.665, 10.9635, 262.615, 539, -1, -1, False, 0, 0, 0, 10000)
$valet_cash_pickup = CarGenerator.Create(-535.4126, -60.8884, 63.5922, 276.9756, 539, -1, -1, False, 0, 0, 0, 10000)
$player_has_fast_reload = CarGenerator.Create(-910.27, 2699.06, 42.8, 110.8738, 539, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($5267, 0)
CarGenerator.Switch($5268, 0)
CarGenerator.Switch($car_gen_sparrow, 0)
CarGenerator.Switch($car_gen_desert1_pcj, 0)
CarGenerator.Switch($valet_cash_pickup, 0)
CarGenerator.Switch($player_has_fast_reload, 0)
$range_weapons_open = CarGenerator.Create(1291.5, -787.5, 95.4555, 180.0, 469, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($range_weapons_open, 0)
$trigger_new_range_level = CarGenerator.Create(435.2751, 2527.523, 16.371, 90.0, 461, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($trigger_new_range_level, 101)
$car_gen_low_rider_near_cesars = 0
$5279 = CarGenerator.Create(1091.89, 1612.63, 13.0, 206.7583, 573, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($5279, 0)
$5280 = CarGenerator.Create(1772.66, -2096.59, 13.99, 182.7583, 412, -1, -1, True, 0, 0, 0, 10000)
CarGenerator.Switch($5280, 101)
$5281 = CarGenerator.Create(-2151.303, -2440.136, 29.822, 324.7583, -1, -1, -1, False, 0, 0, 0, 10000)
$5282 = CarGenerator.Create(-2147.038, -2443.752, 29.822, 324.7583, -1, -1, -1, False, 0, 0, 0, 10000)
$timer_wil = CarGenerator.Create(-2140.979, -2448.733, 29.822, 144.7583, -1, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($5281, 101)
CarGenerator.Switch($5282, 101)
CarGenerator.Switch($timer_wil, 101)
$game_timer_wil = CarGenerator.Create(-2000.242, -2415.509, 29.767, -132.0, 515, -1, -1, False, 0, 0, 0, 10000)
$stored_shop_time = CarGenerator.Create(-1969.806, -2437.939, 29.767, -82.5, 578, -1, -1, False, 0, 0, 0, 10000)
$tell_player_to_kill_valet = CarGenerator.Create(-1969.806, -2443.908, 29.767, -19.0, 530, -1, -1, False, 0, 0, 0, 10000)
CarGenerator.Switch($game_timer_wil, 101)
CarGenerator.Switch($stored_shop_time, 101)
CarGenerator.Switch($tell_player_to_kill_valet, 101)
$range_cuts_watched = 0
$lf2_skip_allowed = 0
$displayed_sniper_help_text = 0
$g_VB_SMALL_LIFT = 0
$burglary_player_stealth = 0
$d6_trip_skips_available = Object.CreateNoOffset(#CARRIER_DOOR_SFSE, -1465.797, 501.289, 1.145)
Object.SetDynamic($d6_trip_skips_available, False)
Object.SetCollisionDamageEffect($d6_trip_skips_available, False)
Object.SetProofs($d6_trip_skips_available, True, True, True, True, True)
Object.DontRemove($d6_trip_skips_available)
$iDanceReport = Object.CreateNoOffset(#CARRIER_LIFT2_SFSE, -1414.453, 516.453, 16.688)
Object.SetDynamic($iDanceReport, False)
Object.SetCollisionDamageEffect($iDanceReport, False)
Object.SetProofs($iDanceReport, True, True, True, True, True)
Object.DontRemove($iDanceReport)
$iDanceScore = Object.CreateNoOffset(#CARRIER_LIFT1_SFSE, -1456.719, 501.297, 16.953)
Object.SetDynamic($iDanceScore, False)
Object.SetCollisionDamageEffect($iDanceScore, False)
Object.SetProofs($iDanceScore, True, True, True, True, True)
Object.DontRemove($iDanceScore)
$iSwitchOffDanceMiniGame = 0
$iTerminateDanceMiniGame = 0
$gym_day_fitness = -1
$burglary_male_decision = -1
$burglary_female_decision = -1
$burglary_gang_decision = -1
$cutscene_skip_CUT = 0.0
terminate_this_script 

//-------------Mission 2---------------
// Originally: Intro

:INTRO
script_name 'INTRO'
gosub @INTRO_47
if 
  has_deatharrest_been_executed 
goto_if_false @INTRO_38
gosub @INTRO_10002

:INTRO_38
gosub @INTRO_10004
terminate_this_script 

:INTRO_47
$weapon_shop1_blip = 1
Hud.DisplayZoneNames(False)
if 
  $weapon_shop1_blip == 0
goto_if_false @INTRO_129
149@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
148@ = Car.Create(596, 0.0, 0.0, 0.0)
write_debug "AA"

:INTRO_129
start_new_script @A_CONT 
Text.LoadMissionText('INTRO1')
Text.UseCommands(True)
wait 0
Text.SetDrawBeforeFade(False)
Text.SetFont(Font.Subtitles)
179@ = 0
178@ = 0
set_lvar_text_label 182@s = 'LOAD_01'
Hud.SwitchWidescreen(True)

:INTRO_196
if 
  200 > 179@
goto_if_false @INTRO_233
wait 0
gosub @INTRO_10290
goto @INTRO_196

:INTRO_233
178@ = 2
TIMERA = 0

:INTRO_247
if 
  1000 > TIMERA
goto_if_false @INTRO_284
wait 0
gosub @INTRO_10290
goto @INTRO_247

:INTRO_284
Streaming.SetAreaVisible(14)
Hud.SwitchWidescreen(False)
Cutscene.Load('PROLOG1')

:INTRO_303
if 
  not Cutscene.HasLoaded
goto_if_false @INTRO_334
wait 0
gosub @INTRO_10290
goto @INTRO_303

:INTRO_334
178@ = 1

:INTRO_341
if 
  179@ > 0
goto_if_false @INTRO_377
wait 0
gosub @INTRO_10290
goto @INTRO_341

:INTRO_377
178@ = 0
181@ = 1
set_lvar_text_label 182@s = 'LOAD_02'
180@ = 0
Cutscene.Start
Camera.DoFade(0, Fade.Out)

:INTRO_420
if 
  Camera.GetFadingStatus
goto_if_false @INTRO_444
wait 0
goto @INTRO_420

:INTRO_444
Camera.DoFade(1000, Fade.In)
TIMERA = 0

:INTRO_458
if 
  not Cutscene.HasFinished
goto_if_false @INTRO_718
wait 0
if 
  TIMERA > 6800
goto_if_false @INTRO_711
switch_start 180@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @INTRO_711 {caseNum1} 0 {caseLabel1} @INTRO_557 {caseNum2} 1 {caseLabel2} @INTRO_611 {caseNum3} 2 {caseLabel3} @INTRO_665 {caseNum4} -1 {caseLabel4} @INTRO_711 {caseNum5} -1 {caseLabel5} @INTRO_711 {caseNum6} -1 {caseLabel6} @INTRO_711 {caseNum7} -1 {caseLabel7} @INTRO_711

:INTRO_557
if 
  200 > 179@
goto_if_false @INTRO_597
gosub @INTRO_10290
goto @INTRO_711
goto @INTRO_611

:INTRO_597
178@ = 2
180@ += 1

:INTRO_611
if 
  10000 > TIMERA
goto_if_false @INTRO_651
gosub @INTRO_10290
goto @INTRO_711
goto @INTRO_665

:INTRO_651
178@ = 1
180@ += 1

:INTRO_665
if 
  179@ > 0
goto_if_false @INTRO_704
gosub @INTRO_10290
goto @INTRO_711
goto @INTRO_711

:INTRO_704
180@ += 1

:INTRO_711
goto @INTRO_458

:INTRO_718
Camera.DoFade(0, Fade.Out)

:INTRO_724
if 
  Camera.GetFadingStatus
goto_if_false @INTRO_748
wait 0
goto @INTRO_724

:INTRO_748
Cutscene.Clear
if 
  Cutscene.WasSkipped
goto_if_false @INTRO_781
Streaming.SetAreaVisible(0)
$5357 = 1
goto @INTRO_6715

:INTRO_781
Clock.SetTimeOfDay(6, 30)
Weather.ForceNow(WeatherType.SunnyCountryside)
Streaming.SetAreaVisible(0)
Cutscene.Load('PROLOG3')

:INTRO_806
if 
  not Cutscene.HasLoaded
goto_if_false @INTRO_830
wait 0
goto @INTRO_806

:INTRO_830
Streaming.RequestModel(#GWFORUM1_LAE)

:INTRO_834
if 
  not Streaming.HasModelLoaded(#GWFORUM1_LAE)
goto_if_false @INTRO_860
wait 0
goto @INTRO_834

:INTRO_860
Streaming.LoadSceneInDirection(2493.362, -1734.295, 12.3828, 258.7583)
World.ClearArea(2482.582, -1729.642, 12.3906, 500.0, True)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:INTRO_915
if 
  not Cutscene.HasFinished
goto_if_false @INTRO_945
wait 0
Clock.SetTimeOfDay(6, 30)
goto @INTRO_915

:INTRO_945
Camera.DoFade(0, Fade.Out)

:INTRO_951
if 
  Camera.GetFadingStatus
goto_if_false @INTRO_975
wait 0
goto @INTRO_951

:INTRO_975
Cutscene.Clear
Streaming.MarkModelAsNoLongerNeeded(#GWFORUM1_LAE)
if 
  Cutscene.WasSkipped
goto_if_false @INTRO_1008
$5357 = 1
goto @INTRO_6715

:INTRO_1008
Streaming.RequestModel(596)
Streaming.RequestModel(537)
Streaming.RequestModel(569)
Streaming.RequestModel(481)
Streaming.RequestModel(#GANGSHOPS4_LAE2)
Streaming.RequestModel(#CE_HILLSEAST06)
Streaming.RequestModel(#CUNTEGROUND23)
Streaming.RequestModel(#HILLSEAST05_LAE)
Streaming.LoadSpecialCharacter(1, 'TENPEN')
Streaming.LoadSpecialCharacter(2, 'PULASKI')
Streaming.LoadSpecialCharacter(3, 'HERN')
Streaming.RequestCarRecording(706)
Streaming.RequestCarRecording(707)

:INTRO_1093
if or
  not Streaming.HasModelLoaded(596)
  not Streaming.HasModelLoaded(537)
  not Streaming.HasModelLoaded(569)
  not Streaming.HasModelLoaded(481)
  not Streaming.HasCarRecordingBeenLoaded(706)
  not Streaming.HasCarRecordingBeenLoaded(707)
goto_if_false @INTRO_1145
wait 0
goto @INTRO_1093

:INTRO_1145
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasSpecialCharacterLoaded(3)
goto_if_false @INTRO_1179
wait 0
goto @INTRO_1145

:INTRO_1179
if or
  not Streaming.HasModelLoaded(#GANGSHOPS4_LAE2)
  not Streaming.HasModelLoaded(#CE_HILLSEAST06)
  not Streaming.HasModelLoaded(#CUNTEGROUND23)
  not Streaming.HasModelLoaded(#HILLSEAST05_LAE)
goto_if_false @INTRO_1217
wait 0
goto @INTRO_1179

:INTRO_1217
Streaming.RequestCollision(2431.609, -1254.061)
Streaming.LoadScene(2358.656, -1246.348, 28.7884)
Audio.PreloadBeatTrack(10)
38@ = 0

:INTRO_1257
if 
  38@ <> 2
goto_if_false @INTRO_1291
wait 0
38@ = Audio.GetBeatTrackStatus()
goto @INTRO_1257

:INTRO_1291
if 
  Game.AreSubtitlesSwitchedOn
goto_if_false @INTRO_2121
93@ = 0
set_lvar_text_label 95@s = 'PRO@24'
43@ = 3050
68@ = 0
set_lvar_text_label 97@s = 'PRO@25'
44@ = 2530
69@ = 3150
set_lvar_text_label 99@s = 'PRO@26'
45@ = 1600
70@ = 6000
set_lvar_text_label 101@s = 'PRO@49'
46@ = 1530
71@ = 9190
set_lvar_text_label 103@s = 'PRO@27'
47@ = 5510
72@ = 10810
set_lvar_text_label 105@s = 'PRO@28'
48@ = 2560
73@ = 16600
set_lvar_text_label 107@s = 'PRO@29'
49@ = 1350
74@ = 21000
set_lvar_text_label 109@s = 'PRO@30'
50@ = 3760
75@ = 23500
set_lvar_text_label 111@s = 'PRO@30B'
51@ = 2450
set_lvar_int_to_lvar_int 76@ = 75@
add_int_lvar_to_int_lvar 76@ += 50@
set_lvar_text_label 113@s = 'PRO@31'
52@ = 3620
77@ = 30700
set_lvar_text_label 115@s = 'PRO@33'
53@ = 1440
78@ = 35000
set_lvar_text_label 117@s = 'PRO@32'
54@ = 1739
79@ = 36750
set_lvar_text_label 119@s = 'PRO@34'
55@ = 2450
set_lvar_int_to_lvar_int 80@ = 79@
add_int_lvar_to_int_lvar 80@ += 54@
set_lvar_text_label 121@s = 'PRO@35'
56@ = 971
set_lvar_int_to_lvar_int 81@ = 80@
add_int_lvar_to_int_lvar 81@ += 55@
set_lvar_text_label 123@s = 'PRO@36'
57@ = 1320
set_lvar_int_to_lvar_int 82@ = 81@
add_int_lvar_to_int_lvar 82@ += 56@
set_lvar_text_label 125@s = 'PRO@37'
58@ = 1342
set_lvar_int_to_lvar_int 83@ = 82@
add_int_lvar_to_int_lvar 83@ += 57@
set_lvar_text_label 127@s = 'PRO@38'
59@ = 1747
set_lvar_int_to_lvar_int 84@ = 83@
add_int_lvar_to_int_lvar 84@ += 58@
set_lvar_text_label 129@s = 'PRO@40'
60@ = 2355
85@ = 46700
set_lvar_text_label 131@s = 'PRO@41'
61@ = 4400
86@ = 49500
set_lvar_text_label 133@s = 'PRO@43'
62@ = 3111
87@ = 55900
set_lvar_text_label 135@s = 'PRO@44'
63@ = 3400
88@ = 59500
set_lvar_text_label 137@s = 'PRO@45'
64@ = 1180
set_lvar_int_to_lvar_int 89@ = 88@
add_int_lvar_to_int_lvar 89@ += 63@
set_lvar_text_label 139@s = 'PRO@47'
65@ = 1700
set_lvar_int_to_lvar_int 90@ = 89@
add_int_lvar_to_int_lvar 90@ += 64@
set_lvar_text_label 141@s = 'PRO@46'
66@ = 2500
set_lvar_int_to_lvar_int 91@ = 90@
add_int_lvar_to_int_lvar 91@ += 65@
goto @INTRO_2128

:INTRO_2121
93@ = 25

:INTRO_2128
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(1.0)
Game.SwitchRandomTrains(False)
37@ = 0
35@ = Car.Create(596, 2431.609, -1254.061, 22.8303)
Car.SetHeading(35@, 89.5453)
Car.ForceLights(35@, CarLights.ForceOn)
Char.WarpIntoCarAsPassenger($stattreadstamina_ctr, 35@, 2)
41@ = Char.CreateInsideCar(35@, PedType.Special, 291)
40@ = Char.CreateAsPassenger(35@, PedType.Special, 290, 0)
42@ = Char.CreateAsPassenger(35@, PedType.Special, 292, 1)
Camera.SetFixedPosition(2358.656, -1246.348, 28.7884, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2359.521, -1246.843, 28.7047, SwitchType.JumpCut)
Clock.SetTimeOfDay(6, 30)
Weather.ForceNow(WeatherType.SunnyCountryside)
Path.SwitchPedRoadsOff(2380.682, -1274.528, 22.0, 2375.945, -1239.356, 26.0)
Path.SwitchPedRoadsOff(2358.383, -1372.666, 22.0, 2382.969, -1379.457, 25.0)
Path.SwitchPedRoadsOff(2151.603, -1380.375, 22.0, 2184.704, -1374.71, 26.0)
Path.SwitchPedRoadsOff(2180.731, -1286.328, 22.0, 2153.527, -1315.797, 26.0)
TIMERA = 0

:INTRO_2442
if 
  500 > TIMERA
goto_if_false @INTRO_2472
wait 0
goto @INTRO_2442

:INTRO_2472
Camera.DoFade(500, Fade.In)
Hud.SwitchWidescreen(True)
if 
  not Car.IsDead(35@)
goto_if_false @INTRO_2525
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @INTRO_2525
Car.StartPlayback(35@, 706)
Audio.PlayBeatTrack

:INTRO_2525
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @INTRO_2548
Player.SetControl($statbike_temp, False)

:INTRO_2548
36@ = Train.Create(13, 2285.152, -1257.5, 23.0, True)
Train.SetSpeed(36@, 0.0)
Train.SetCruiseSpeed(36@, 0.0)
$on_footY = 2373.105
$on_footZ = -1281.969
$in_carX = 22.833
$on_footX = 0.0
152@ = 2478.559
153@ = -1258.541
154@ = 27.5958
gosub @INTRO_5875
TIMERA = 0
TIMERB = 0
$5357 = 2

:INTRO_2690
wait 0
Clock.SetTimeOfDay(6, 30)
if 
  not Car.IsDead(35@)
goto_if_false @INTRO_5868
switch_start 37@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @INTRO_3236 {caseNum1} 0 {caseLabel1} @INTRO_2779 {caseNum2} 1 {caseLabel2} @INTRO_2813 {caseNum3} 2 {caseLabel3} @INTRO_2882 {caseNum4} 3 {caseLabel4} @INTRO_2919 {caseNum5} 4 {caseLabel5} @INTRO_3038 {caseNum6} 5 {caseLabel6} @INTRO_3086 {caseNum7} -1 {caseLabel7} @INTRO_3236

:INTRO_2779
if 
  Camera.GetFadingStatus
goto_if_false @INTRO_2799
goto @INTRO_3236

:INTRO_2799
skip_cutscene_start_internal @INTRO_3140
37@ += 1

:INTRO_2813
if 
  10000 > TIMERA
goto_if_false @INTRO_2839
goto @INTRO_3236

:INTRO_2839
if 
  not Car.IsDead(36@)
goto_if_false @INTRO_2875
Train.SetSpeed(36@, 8.5)
Train.SetCruiseSpeed(36@, 8.5)

:INTRO_2875
37@ += 1

:INTRO_2882
if 
  Car.IsPlaybackGoingOn(35@)
goto_if_false @INTRO_2905
goto @INTRO_3236

:INTRO_2905
TIMERA = 0
37@ += 1

:INTRO_2919
if 
  13000 > TIMERA
goto_if_false @INTRO_2945
goto @INTRO_3236

:INTRO_2945
TIMERA = 0
Car.StartPlayback(35@, 707)
Car.SetCollision(35@, False)
World.ClearArea(2246.508, -1263.087, 22.9531, 500.0, True)
$cat_counter = Car.Create(481, 2246.508, -1263.087, 22.9531)
Car.SetHeading($cat_counter, 285.0)
145@ = 1
37@ += 1

:INTRO_3038
if 
  26800 > TIMERA
goto_if_false @INTRO_3064
goto @INTRO_3236

:INTRO_3064
Task.LeaveCarImmediately($stattreadstamina_ctr, 35@)
37@ += 1
goto @INTRO_3236

:INTRO_3086
if 
  Car.IsPlaybackGoingOn(35@)
goto_if_false @INTRO_3109
goto @INTRO_3236

:INTRO_3109
Task.GoStraightToCoord($stattreadstamina_ctr, 2239.33, -1261.941, 22.9375, MoveState.Walk, -2)
$5357 = 0

:INTRO_3140
skip_cutscene_end 
if 
  $5357 == 2
goto_if_false @INTRO_3167
goto @INTRO_6715

:INTRO_3167
Audio.StopBeatTrack
World.DeleteMissionTrains
Game.SwitchRandomTrains(True)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(537)
Streaming.MarkModelAsNoLongerNeeded(569)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Char.Delete(40@)
Char.Delete(41@)
Char.Delete(42@)
Car.Delete(35@)
$5357 = 3
goto @INTRO_5976

:INTRO_3236
switch_start 39@ {numCases} 16 {hasDefaultCase} 0 {defaultLabel} @INTRO_5055 {caseNum1} 0 {caseLabel1} @INTRO_3364 {caseNum2} 1 {caseLabel2} @INTRO_3481 {caseNum3} 2 {caseLabel3} @INTRO_3598 {caseNum4} 3 {caseLabel4} @INTRO_3715 {caseNum5} 4 {caseLabel5} @INTRO_3817 {caseNum6} 5 {caseLabel6} @INTRO_3903 {caseNum7} 6 {caseLabel7} @INTRO_4020
switch_continued 7 {caseLabel1} @INTRO_4108 {caseNum2} 8 {caseLabel2} @INTRO_4227 {caseNum3} 9 {caseLabel3} @INTRO_4315 {caseNum4} 10 {caseLabel4} @INTRO_4434 {caseNum5} 11 {caseLabel5} @INTRO_4553 {caseNum6} 12 {caseLabel6} @INTRO_4641 {caseNum7} 13 {caseLabel7} @INTRO_4760 {caseNum8} 14 {caseLabel8} @INTRO_4848 {caseNum9} 15 {caseLabel9} @INTRO_4936

:INTRO_3364
if 
  1500 > TIMERB
goto_if_false @INTRO_3390
goto @INTRO_5055

:INTRO_3390
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2358.656, -1246.348, 28.7884, 2358.656, -1246.348, 28.7884, 7000, True)
Camera.SetVectorTrack(2359.521, -1246.843, 28.7047, 2359.276, -1247.129, 28.7047, 7000, True)
39@ += 1

:INTRO_3481
if 
  5500 > TIMERB
goto_if_false @INTRO_3507
goto @INTRO_5055

:INTRO_3507
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2362.03, -1288.5, 23.8624, 2362.03, -1288.5, 23.8624, 5500, True)
Camera.SetVectorTrack(2362.592, -1287.676, 23.9326, 2362.047, -1289.497, 23.932, 5500, True)
39@ += 1

:INTRO_3598
if 
  9500 > TIMERB
goto_if_false @INTRO_3624
goto @INTRO_5055

:INTRO_3624
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2377.163, -1308.247, 23.6193, 2380.673, -1390.425, 24.0771, 6800, False)
Camera.SetVectorTrack(2376.469, -1307.534, 23.7249, 2379.811, -1389.922, 24.1388, 6800, False)
39@ += 1

:INTRO_3715
if 
  16200 > TIMERB
goto_if_false @INTRO_3741
goto @INTRO_5055

:INTRO_3741
Streaming.MarkModelAsNoLongerNeeded(#GANGSHOPS4_LAE2)
Streaming.MarkModelAsNoLongerNeeded(#CE_HILLSEAST06)
Streaming.MarkModelAsNoLongerNeeded(#CUNTEGROUND23)
Streaming.MarkModelAsNoLongerNeeded(#HILLSEAST05_LAE)
Camera.SetFixedPosition(2316.988, -1378.123, 23.3054, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2317.908, -1378.489, 23.4404, SwitchType.JumpCut)
Camera.ResetNewScriptables
39@ += 1

:INTRO_3817
if 
  20500 > TIMERB
goto_if_false @INTRO_3843
goto @INTRO_5055

:INTRO_3843
Camera.SetFixedPosition(2271.75, -1396.443, 36.7292, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2272.475, -1395.894, 36.3149, SwitchType.JumpCut)
Camera.ResetNewScriptables
39@ += 1

:INTRO_3903
if 
  32300 > TIMERB
goto_if_false @INTRO_3929
goto @INTRO_5055

:INTRO_3929
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2305.536, -1384.754, 23.2002, 2303.521, -1384.387, 23.0641, 5700, False)
Camera.SetVectorTrack(2304.708, -1384.193, 23.1803, 2302.728, -1383.861, 23.3722, 5700, False)
39@ += 1

:INTRO_4020
if 
  37589 > TIMERB
goto_if_false @INTRO_4048
goto @INTRO_5055

:INTRO_4048
Camera.SetFixedPosition(2265.254, -1388.591, 23.4001, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2266.164, -1388.202, 23.4001, SwitchType.JumpCut)
Camera.ResetNewScriptables
39@ += 1

:INTRO_4108
if 
  38500 > TIMERB
goto_if_false @INTRO_4136
goto @INTRO_5055

:INTRO_4136
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2265.254, -1388.591, 23.4001, 2246.91, -1388.591, 23.4001, 7500, True)
Camera.SetVectorTrack(2266.164, -1388.202, 23.4001, 2245.935, -1388.424, 23.4001, 7500, True)
39@ += 1

:INTRO_4227
if 
  46000 > TIMERB
goto_if_false @INTRO_4255
goto @INTRO_5055

:INTRO_4255
Camera.SetFixedPosition(2163.084, -1387.757, 23.8438, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2163.946, -1387.268, 23.9785, SwitchType.JumpCut)
Camera.ResetNewScriptables
39@ += 1

:INTRO_4315
if 
  48000 > TIMERB
goto_if_false @INTRO_4343
goto @INTRO_5055

:INTRO_4343
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2163.084, -1387.757, 23.8438, 2163.084, -1387.757, 23.8438, 5000, True)
Camera.SetVectorTrack(2163.946, -1387.268, 23.9785, 2163.423, -1386.826, 23.9785, 5000, True)
39@ += 1

:INTRO_4434
if 
  53000 > TIMERB
goto_if_false @INTRO_4462
goto @INTRO_5055

:INTRO_4462
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2156.551, -1292.082, 39.2814, 2156.974, -1288.564, 36.9331, 4000, True)
Camera.SetVectorTrack(2157.025, -1292.67, 38.6264, 2157.626, -1289.084, 36.382, 4000, True)
39@ += 1

:INTRO_4553
if 
  57000 > TIMERB
goto_if_false @INTRO_4581
goto @INTRO_5055

:INTRO_4581
Camera.SetFixedPosition(2176.373, -1252.759, 23.4951, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2176.118, -1253.725, 23.5115, SwitchType.JumpCut)
Camera.ResetNewScriptables
39@ += 1

:INTRO_4641
if 
  59200 > TIMERB
goto_if_false @INTRO_4669
goto @INTRO_5055

:INTRO_4669
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2176.373, -1252.759, 23.4951, 2176.373, -1252.759, 23.4951, 2500, True)
Camera.SetVectorTrack(2176.118, -1253.725, 23.5115, 2177.079, -1253.467, 23.5115, 2500, True)
39@ += 1

:INTRO_4760
if 
  61400 > TIMERB
goto_if_false @INTRO_4788
goto @INTRO_5055

:INTRO_4788
Camera.SetFixedPosition(2212.582, -1262.756, 25.8688, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2211.681, -1262.393, 25.633, SwitchType.JumpCut)
Camera.ResetNewScriptables
39@ += 1

:INTRO_4848
if 
  63000 > TIMERB
goto_if_false @INTRO_4876
goto @INTRO_5055

:INTRO_4876
Camera.SetFixedPosition(2210.418, -1263.121, 23.1607, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2211.399, -1262.981, 23.2985, SwitchType.JumpCut)
Camera.ResetNewScriptables
39@ += 1

:INTRO_4936
if 
  64000 > TIMERB
goto_if_false @INTRO_4964
goto @INTRO_5055

:INTRO_4964
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2210.418, -1263.121, 23.1607, 2217.615, -1262.761, 24.45, 6500, True)
Camera.SetVectorTrack(2211.399, -1262.981, 23.2985, 2218.606, -1262.886, 24.4112, 6500, True)
39@ += 1

:INTRO_5055
if 
  24 > 93@
goto_if_false @INTRO_5249
switch_start 94@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @INTRO_5249 {caseNum1} 0 {caseLabel1} @INTRO_5171 {caseNum2} 1 {caseLabel2} @INTRO_5136 {caseNum3} -1 {caseLabel3} @INTRO_5249 {caseNum4} -1 {caseLabel4} @INTRO_5249 {caseNum5} -1 {caseLabel5} @INTRO_5249 {caseNum6} -1 {caseLabel6} @INTRO_5249 {caseNum7} -1 {caseLabel7} @INTRO_5249

:INTRO_5136
if 
  is_int_lvar_greater_than_int_lvar 146@ > TIMERB
goto_if_false @INTRO_5162
goto @INTRO_5249

:INTRO_5162
Text.ClearPrints
94@ -= 1

:INTRO_5171
if 
  is_int_lvar_greater_than_int_lvar 68@(93@,25i) > TIMERB
goto_if_false @INTRO_5201
goto @INTRO_5249

:INTRO_5201
Text.PrintNow(95@(93@,25s), 12000, 1)
set_lvar_int_to_lvar_int 146@ = TIMERB
add_int_lvar_to_int_lvar 146@ += 43@(93@,25i)
93@ += 1
94@ += 1

:INTRO_5249
switch_start 147@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @INTRO_5868 {caseNum1} 0 {caseLabel1} @INTRO_5312 {caseNum2} 1 {caseLabel2} @INTRO_5422 {caseNum3} 2 {caseLabel3} @INTRO_5532 {caseNum4} 3 {caseLabel4} @INTRO_5644 {caseNum5} 4 {caseLabel5} @INTRO_5756 {caseNum6} -1 {caseLabel6} @INTRO_5868 {caseNum7} -1 {caseLabel7} @INTRO_5868

:INTRO_5312
if 
  8500 > TIMERB
goto_if_false @INTRO_5338
goto @INTRO_5868

:INTRO_5338
$on_footY = 2345.452
$on_footZ = -1303.926
$in_carX = 22.9955
$on_footX = 270.0
152@ = 2368.437
153@ = -1202.752
154@ = 26.4297
gosub @INTRO_5875
147@ += 1

:INTRO_5422
if 
  15000 > TIMERB
goto_if_false @INTRO_5448
goto @INTRO_5868

:INTRO_5448
$on_footY = 2346.383
$on_footZ = -1420.555
$in_carX = 22.8281
$on_footX = 0.0
152@ = 2387.488
153@ = -1409.537
154@ = 22.8359
gosub @INTRO_5875
147@ += 1

:INTRO_5532
if 
  40000 > TIMERB
goto_if_false @INTRO_5560
goto @INTRO_5868

:INTRO_5560
$on_footY = 2215.088
$on_footZ = -1417.086
$in_carX = 22.8281
$on_footX = 0.0
152@ = 2255.444
153@ = -1302.8
154@ = 22.8402
gosub @INTRO_5875
147@ += 1

:INTRO_5644
if 
  48000 > TIMERB
goto_if_false @INTRO_5672
goto @INTRO_5868

:INTRO_5672
$on_footY = 2165.042
$on_footZ = -1353.055
$in_carX = 22.8281
$on_footX = 180.0
152@ = 2130.579
153@ = -1381.478
154@ = 22.8281
gosub @INTRO_5875
147@ += 1

:INTRO_5756
if 
  52000 > TIMERB
goto_if_false @INTRO_5784
goto @INTRO_5868

:INTRO_5784
$on_footY = 2201.352
$on_footZ = -1298.165
$in_carX = 22.8303
$on_footX = 90.0
152@ = 2121.089
153@ = -1298.57
154@ = 22.817
gosub @INTRO_5875
147@ += 1

:INTRO_5868
goto @INTRO_2690

:INTRO_5875
150@, 151@ = Streaming.GetRandomCarModelInMemory(True)
if 
  150@ <> -1
goto_if_false @INTRO_5974
Char.MarkAsNoLongerNeeded(149@)
Car.MarkAsNoLongerNeeded(148@)
148@ = Car.Create(150@, $on_footY, $on_footZ, $in_carX)
Car.SetHeading(148@, $on_footX)
149@ = Char.CreateRandomAsDriver(148@)
Task.CarDriveToCoord(149@, 148@, 152@, 153@, 154@, 15.0, DriveMode.Normal, 0, DrivingMode.StopForCars)

:INTRO_5974
return 

:INTRO_5976
155@ = 0
156@ = 0
set_lvar_text_label 164@s = 'VO_AA'
set_lvar_int_to_constant 157@ = 43200
set_lvar_text_label 166@s = 'VO_AB'
set_lvar_int_to_constant 158@ = 43201
set_lvar_text_label 168@s = 'VO_AC'
set_lvar_int_to_constant 159@ = 43202
set_lvar_text_label 170@s = 'VO_AD'
set_lvar_int_to_constant 160@ = 43203
set_lvar_text_label 172@s = 'VO_AE'
set_lvar_int_to_constant 161@ = 43204
set_lvar_text_label 174@s = 'VO_AF'
set_lvar_int_to_constant 162@ = 43205
set_lvar_text_label 176@s = 'VO_AG'
set_lvar_int_to_constant 163@ = 43206
Camera.RestoreJumpcut
Camera.ResetNewScriptables
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2217.615, -1262.761, 24.45, 2238.641, -1261.329, 24.6289, 13500, False)
Camera.SetVectorTrack(2218.606, -1262.886, 24.4112, 2239.602, -1261.589, 24.54, 13500, False)
Camera.SetShakeSimulationSimple(1, 20000.0, 3.0)
39@ = 0
TIMERA = 0
skip_cutscene_start_internal @INTRO_6666

:INTRO_6281
wait 0
switch_start 155@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @INTRO_6477 {caseNum1} 0 {caseLabel1} @INTRO_6348 {caseNum2} 1 {caseLabel2} @INTRO_6437 {caseNum3} -1 {caseLabel3} @INTRO_6477 {caseNum4} -1 {caseLabel4} @INTRO_6477 {caseNum5} -1 {caseLabel5} @INTRO_6477 {caseNum6} -1 {caseLabel6} @INTRO_6477 {caseNum7} -1 {caseLabel7} @INTRO_6477

:INTRO_6348
if 
  5 > 156@
goto_if_false @INTRO_6423
set_var_int_to_lvar_int $1280 = 157@(156@,7i)
set_var_text_label s$SLOT_status = 164@(156@,7s)
start_new_script @A_ALAP 1 100 
156@ += 1
155@ += 1
goto @INTRO_6437

:INTRO_6423
155@ = -1
goto @INTRO_6477

:INTRO_6437
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @INTRO_6477
155@ -= 1
$cash($height_int_hj,2i) = -4

:INTRO_6477
switch_start 39@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @INTRO_6708 {caseNum1} 0 {caseLabel1} @INTRO_6540 {caseNum2} 1 {caseLabel2} @INTRO_6640 {caseNum3} -1 {caseLabel3} @INTRO_6708 {caseNum4} -1 {caseLabel4} @INTRO_6708 {caseNum5} -1 {caseLabel5} @INTRO_6708 {caseNum6} -1 {caseLabel6} @INTRO_6708 {caseNum7} -1 {caseLabel7} @INTRO_6708

:INTRO_6540
if 
  TIMERA > 13500
goto_if_false @INTRO_6633
Camera.SetFixedPosition(2238.641, -1261.329, 24.6289, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2239.602, -1261.589, 24.54, SwitchType.JumpCut)
Camera.ResetNewScriptables
Camera.SetShakeSimulationSimple(1, 2500.0, 3.0)
39@ += 1

:INTRO_6633
goto @INTRO_6708

:INTRO_6640
if 
  TIMERA > 16000
goto_if_false @INTRO_6708
$5357 = 0

:INTRO_6666
skip_cutscene_end 
if 
  $5357 == 0
goto_if_false @INTRO_6701
Camera.ResetNewScriptables
Camera.Restore
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)

:INTRO_6701
goto @INTRO_6715

:INTRO_6708
goto @INTRO_6281

:INTRO_6715
switch_start $5357 {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @INTRO_7248 {caseNum1} 0 {caseLabel1} @INTRO_6778 {caseNum2} 1 {caseLabel2} @INTRO_6795 {caseNum3} 2 {caseLabel3} @INTRO_6795 {caseNum4} 3 {caseLabel4} @INTRO_6795 {caseNum5} -1 {caseLabel5} @INTRO_7248 {caseNum6} -1 {caseLabel6} @INTRO_7248 {caseNum7} -1 {caseLabel7} @INTRO_7248

:INTRO_6778
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
goto @INTRO_7248

:INTRO_6795
Camera.DoFade(0, Fade.Out)

:INTRO_6801
if 
  Camera.GetFadingStatus
goto_if_false @INTRO_6825
wait 0
goto @INTRO_6801

:INTRO_6825
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Clock.SetTimeOfDay(6, 30)
Weather.ForceNow(WeatherType.SunnyCountryside)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Streaming.LoadSceneInDirection(2239.367, -1261.939, 22.9375, 272.5814)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO_6915
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2239.367, -1261.939, 22.9375)
goto @INTRO_6935

:INTRO_6915
Char.SetCoordinates($stattreadstamina_ctr, 2239.367, -1261.939, 22.9375)

:INTRO_6935
Char.SetHeading($stattreadstamina_ctr, 272.5814)
if 
  $5357 == 2
goto_if_false @INTRO_7039
Audio.StopBeatTrack
World.DeleteMissionTrains
Game.SwitchRandomTrains(True)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(537)
Streaming.MarkModelAsNoLongerNeeded(569)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Char.Delete(40@)
Char.Delete(41@)
Char.Delete(42@)
Car.Delete(35@)
Streaming.MarkModelAsNoLongerNeeded(#GANGSHOPS4_LAE2)
Streaming.MarkModelAsNoLongerNeeded(#CE_HILLSEAST06)
Streaming.MarkModelAsNoLongerNeeded(#CUNTEGROUND23)
Streaming.MarkModelAsNoLongerNeeded(#HILLSEAST05_LAE)
Char.ClearTasks($stattreadstamina_ctr)

:INTRO_7039
if 
  145@ == 0
goto_if_false @INTRO_7153
Streaming.RequestModel(481)

:INTRO_7062
if 
  not Streaming.HasModelLoaded(481)
goto_if_false @INTRO_7089
wait 0
goto @INTRO_7062

:INTRO_7089
World.ClearArea(2246.508, -1263.087, 22.9531, 500.0, True)
$cat_counter = Car.Create(481, 2246.508, -1263.087, 22.9531)
Car.SetHeading($cat_counter, 285.0)
145@ = 1

:INTRO_7153
Camera.RestoreJumpcut
Camera.ResetNewScriptables
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
TIMERA = 0

:INTRO_7170
if 
  500 > TIMERA
goto_if_false @INTRO_7200
wait 0
goto @INTRO_7170

:INTRO_7200
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Camera.DoFade(1500, Fade.In)

:INTRO_7217
if 
  Camera.GetFadingStatus
goto_if_false @INTRO_7241
wait 0
goto @INTRO_7217

:INTRO_7241
goto @INTRO_7248

:INTRO_7248
if 
  Camera.GetFadingStatus
goto_if_false @INTRO_7272
wait 0
goto @INTRO_7248

:INTRO_7272
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
start_new_script @A_TERM 
Hud.DisplayZoneNames(True)
Path.SwitchPedRoadsBackToOriginal(2380.682, -1274.528, 22.0, 2375.945, -1239.356, 26.0)
Path.SwitchPedRoadsBackToOriginal(2358.383, -1372.666, 22.0, 2382.969, -1379.457, 25.0)
Path.SwitchPedRoadsBackToOriginal(2151.603, -1380.375, 22.0, 2184.704, -1374.71, 26.0)
Path.SwitchPedRoadsBackToOriginal(2180.731, -1286.328, 22.0, 2153.527, -1315.797, 26.0)
Weather.Release
Text.UseCommands(False)
Stat.SetInt(StatId.CitiesPassed, 0)
Player.SetControl($statbike_temp, True)
Camera.SetNearClip(0.1)
Streaming.SetAreaVisible(0)
Zone.SetGangStrength('GAN1', GangType.Grove, 10)
Zone.SetGangStrength('GAN2', GangType.Grove, 10)
Streaming.RequestIpl("BARRIERS1")
Streaming.RequestIpl("BARRIERS2")
Path.SwitchRoadsOff(-2696.464, 1239.866, 40.7599, -2665.359, 2190.96, 70.8125)
Path.SwitchRoadsOff(-2740.694, 2233.618, 40.8431, -2720.91, 2338.224, 80.4822)
Path.SwitchRoadsOff(-2695.584, 1237.981, 40.7328, -2664.417, 1454.767, 60.8126)
Path.SwitchRoadsOff(-2670.173, 1203.331, 50.4297, -2662.66, 1237.707, 60.5781)
Path.SwitchRoadsOff(-995.0013, -416.2032, 30.4207, -940.5399, -251.8564, 40.6762)
Path.SwitchRoadsOff(-205.8387, 250.7443, 7.2472, -131.0039, 481.8496, 15.9152)
Path.SwitchRoadsOff(-100.7515, -927.8298, 18.0, -68.3752, -891.9871, 14.0)
Path.SwitchRoadsOff(609.7595, 327.3437, 15.8783, 429.8884, 616.0168, 20.289)
Path.SwitchRoadsOff(317.1688, 707.7672, 7.0, 437.5726, 709.0657, 20.5578)
Path.SwitchRoadsOff(391.1194, 640.015, 7.0, 402.2627, 664.798, 18.5098)
Path.SwitchRoadsOff(289.2904, 636.3991, 7.8675, 409.4943, 702.3849, 20.0345)
Path.SwitchRoadsOff(300.3153, 718.7909, 7.7846, 316.7906, 781.0926, 14.0795)
Path.SwitchRoadsOff(254.9982, 837.029, 10.1731, 270.7453, 929.2404, 30.2553)
Path.SwitchRoadsOff(210.7811, 939.2068, 10.9062, 249.4799, 959.1111, 30.2141)
Path.SwitchRoadsOff(230.4545, 946.0961, 20.6674, 255.9772, 969.2755, 30.4776)
Path.SwitchRoadsOff(249.4279, 899.7975, 10.5871, 268.6826, 933.5995, 30.3975)
Path.SwitchRoadsOff(312.1081, 694.1089, 6.0, 324.0811, 733.0005, 10.0)
Path.SwitchRoadsOff(324.4526, 804.9198, 9.6186, 332.8747, 814.356, 14.3925)
Path.SwitchRoadsOff(1690.819, 376.5103, 28.1103, 1730.223, 445.2955, 30.8414)
Path.SwitchRoadsOff(1643.536, 227.3723, 27.4457, 1673.062, 295.5788, 30.0815)
Path.SwitchRoadsOff(1673.765, 388.1013, 40.2331, 1815.862, 804.9291, 10.0)
Path.SwitchRoadsOff(1705.156, 308.3448, 20.0, 1710.948, 316.4094, 23.5612)
Path.SwitchRoadsOff(-12.7067, -1522.455, 1.0, 80.8463, -1517.111, 5.0)
Path.SwitchRoadsOff(-16.3392, -1532.882, 0.0394, 69.3401, -1523.771, 5.922)
Path.SwitchRoadsOff(618.7253, -1189.606, 18.0, 623.5441, -1161.981, 22.0)
Path.SwitchRoadsOff(-33.4208, -1341.84, 9.0, 35.3764, -1303.948, 13.0)
Path.SwitchRoadsOff(-41.2393, -1385.87, 8.0, -3.5883, -1368.856, 10.5)
Path.SwitchRoadsOff(-1690.705, 539.6102, 30.3278, -1100.567, 1140.569, 50.735)
Path.SwitchRoadsOff(-1799.541, 379.7155, 16.0, -1780.199, 392.2779, 18.0)
Path.SwitchRoadsOff(-1092.429, 1286.505, 30.0, -1077.038, 1319.495, 35.0)
Path.SwitchRoadsOff(-1860.133, 314.7891, 38.0, -1638.563, 557.4354, 40.0)
Path.SwitchRoadsOff(-1737.333, 455.9431, 30.3573, -1710.363, 500.6261, 40.4891)
Path.SwitchRoadsOff(-1689.229, 513.0995, 30.2597, -1679.124, 524.8383, 40.25)
Path.SwitchRoadsOff(-1742.906, 500.7302, 30.4679, -1650.312, 551.8201, 40.7455)
Text.ClearPrints
$ryder_blip_icon = Blip.AddSpriteForCoord($sweetY, $sweetZ, $ryderX, $smoke_blip_icon)
World.SwitchEntryExit('CARLS', False)
World.SwitchEntryExit('AMMUN1', False)
World.SwitchEntryExit('AMMUN2', False)
World.SwitchEntryExit('AMMUN3', False)
World.SwitchEntryExit('AMMUN4', False)
World.SwitchEntryExit('AMMUN5', False)
World.SwitchEntryExit('BARBERS', False)
World.SwitchEntryExit('BARBER2', False)
World.SwitchEntryExit('BARBER3', False)
World.SwitchEntryExit('FDPIZA', False)
World.SwitchEntryExit('FDCHICK', False)
World.SwitchEntryExit('FDBURG', False)
World.SwitchEntryExit('TATTOO', False)
World.SwitchEntryExit('CSCHP', False)
World.SwitchEntryExit('CSSPRT', False)
World.SwitchEntryExit('LACS1', False)
World.SwitchEntryExit('CLOTHGP', False)
World.SwitchEntryExit('CSDESGN', False)
World.SwitchEntryExit('CSEXL', False)
World.SwitchEntryExit('GYM1', False)
World.SwitchEntryExit('GYM2', False)
World.SwitchEntryExit('GYM3', False)
World.SwitchEntryExit('PDOMES', False)
World.SwitchEntryExit('PDOMES2', False)
World.SwitchEntryExit('MADDOGS', False)
World.SwitchEntryExit('MDDOGS', False)
World.SwitchEntryExit('GANG', False)
World.SwitchEntryExit('RCPLAY', False)
World.SwitchEntryExit('PAPER', False)
World.SwitchEntryExit('ABATOIR', False)
World.SwitchEntryExit('LACRAK', False)
Garage.Deactivate('BODLAWN')
Garage.Deactivate('MODLAST')
Garage.Deactivate('MDSSFSE')
Garage.Deactivate('MDS1SFS')
Garage.Deactivate('VECMOD')
Garage.Deactivate('DHANGAR')
Text.ClearPrints
Char.SetHealth($stattreadstamina_ctr, 100)
Player.AddScore($statbike_temp, 350)
Player.SetNeverGetsTired($statbike_temp, False)
Char.RemoveAllWeapons($stattreadstamina_ctr)
$flag_sweet_mission_counter = 0
$flag_crash_mission_counter = 0
$introY = 0
$flag_la1fin1_mission_counter = 0
$introX = 0
$flag_cesar_mission_counter = 0
$introZ = 0
$sweetX = 0
$pilot_test_passed = 0
$driving_test_passed = 0
$chat_help1 = 0
$courier_timer = 0
$flag_menace_buyfood = 0
TIMERA = 0

:INTRO_9213
if 
  TIMERA <= 1000
goto_if_false @INTRO_9377
wait 0
gosub @INTRO_10152
if 
  not Car.IsDead($cat_counter)
goto_if_false @INTRO_9314
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2246.508, -1263.087, 22.9531, 30.0, 30.0, 3.0, False)
goto_if_false @INTRO_9314
goto @INTRO_10000

:INTRO_9314
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO_9370
Text.ClearThisPrint('INTRO2E')
Text.ClearThisPrint('HELP21')
Text.ClearThisPrint('HELP26')
goto @INTRO_10000

:INTRO_9370
goto @INTRO_9213

:INTRO_9377
Camera.DoFade(1500, Fade.In)

:INTRO_9384
if 
  Camera.GetFadingStatus
goto_if_false @INTRO_9546
wait 0
Text.ClearPrints
Text.ClearHelp
gosub @INTRO_10152
if 
  not Car.IsDead($cat_counter)
goto_if_false @INTRO_9483
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2246.508, -1263.087, 22.9531, 30.0, 30.0, 3.0, False)
goto_if_false @INTRO_9483
goto @INTRO_10000

:INTRO_9483
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO_9539
Text.ClearThisPrint('INTRO2E')
Text.ClearThisPrint('HELP21')
Text.ClearThisPrint('HELP26')
goto @INTRO_10000

:INTRO_9539
goto @INTRO_9384

:INTRO_9546
Text.PrintHelp('HELPMO')
if 
  not Car.IsDead($cat_counter)
goto_if_false @INTRO_9595
$funeral_mission_finished = Blip.AddForCar($cat_counter)
Blip.SetAsFriendly($funeral_mission_finished, True)
Blip.ChangeDisplay($funeral_mission_finished, BlipDisplay.MarkerOnly)

:INTRO_9595
TIMERA = 0

:INTRO_9602
if 
  TIMERA <= 5000
goto_if_false @INTRO_9771
wait 0
gosub @INTRO_10152
if 
  not Car.IsDead($cat_counter)
goto_if_false @INTRO_9703
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2246.508, -1263.087, 22.9531, 30.0, 30.0, 3.0, False)
goto_if_false @INTRO_9703
goto @INTRO_10000

:INTRO_9703
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO_9764
Blip.Remove($funeral_mission_finished)
Text.ClearThisPrint('INTRO2E')
Text.ClearThisPrint('HELP21')
Text.ClearThisPrint('HELP26')
goto @INTRO_10000

:INTRO_9764
goto @INTRO_9602

:INTRO_9771
Text.PrintNow('INTROB', 4000, 1)
TIMERA = 0

:INTRO_9794
if 
  TIMERA <= 5000
goto_if_false @INTRO_9831
wait 0
gosub @INTRO_10152
goto @INTRO_9794

:INTRO_9831
if 
  not Char.IsInCar($stattreadstamina_ctr, $cat_counter)
goto_if_false @INTRO_10000
wait 0
gosub @INTRO_10152
if 
  not Car.IsDead($cat_counter)
goto_if_false @INTRO_9932
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2246.508, -1263.087, 22.9531, 30.0, 30.0, 3.0, False)
goto_if_false @INTRO_9932
goto @INTRO_10000

:INTRO_9932
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO_9993
Blip.Remove($funeral_mission_finished)
Text.ClearThisPrint('INTRO2E')
Text.ClearThisPrint('HELP21')
Text.ClearThisPrint('HELP26')
goto @INTRO_10000

:INTRO_9993
goto @INTRO_9831

:INTRO_10000
return 

:INTRO_10002
return 

:INTRO_10004
start_new_script @A_TERM 
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(537)
Streaming.MarkModelAsNoLongerNeeded(569)
start_new_script @INT 
start_new_script @MOB_LA1 
terminate_all_scripts_with_this_name 'MOB_RAN'
start_new_script @MOB_RAN 
terminate_all_scripts_with_this_name 'INTROST'
start_new_script @INTROST 
Blip.Remove($ryder_blip_icon)
$ryder_blip_icon = Blip.AddSpriteForContactPoint($sweetY, $sweetZ, $ryderX, $smoke_blip_icon)
Streaming.MarkModelAsNoLongerNeeded(481)
if 
  not Car.IsDead($cat_counter)
goto_if_false @INTRO_10134
Car.MarkAsNoLongerNeeded($cat_counter)
Blip.Remove($funeral_mission_finished)

:INTRO_10134
$weapon_shop1_blip = 0
$cj_vomits_for_menace = 1
Mission.Finish
return 

:INTRO_10152
if 
  not Car.IsDead($cat_counter)
goto_if_false @INTRO_10288
if 
  34@ == 0
goto_if_false @INTRO_10288
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2246.508, -1263.087, 22.9531, 2.0, 2.0, 2.0, False)
goto_if_false @INTRO_10288
if 
  $LStickX == 2
goto_if_false @INTRO_10270
Text.PrintHelp('HELP26')
goto @INTRO_10281

:INTRO_10270
Text.PrintHelp('HELP21')

:INTRO_10281
34@ = 1

:INTRO_10288
return 

:INTRO_10290
switch_start 178@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @INTRO_10688 {caseNum1} 0 {caseLabel1} @INTRO_10353 {caseNum2} 1 {caseLabel2} @INTRO_10360 {caseNum3} 2 {caseLabel3} @INTRO_10385 {caseNum4} -1 {caseLabel4} @INTRO_10688 {caseNum5} -1 {caseLabel5} @INTRO_10688 {caseNum6} -1 {caseLabel6} @INTRO_10688 {caseNum7} -1 {caseLabel7} @INTRO_10688

:INTRO_10353
179@ += 10

:INTRO_10360
if 
  178@ == 1
goto_if_false @INTRO_10385
179@ -= 10

:INTRO_10385
if 
  181@ == 0
goto_if_false @INTRO_10623
Text.SetScale(0.8, 1.8)
Text.SetColor(255, 255, 255, 179@)
Text.SetCenter(True)
Text.SetWrapX(600.0)
Text.SetDropshadow(0, 0, 0, 0, 255)
Text.Display(320.0, 180.0, 'LOAD_01')
Text.SetScale(0.8, 1.8)
Text.SetColor(255, 255, 255, 179@)
Text.SetCenter(True)
Text.SetWrapX(600.0)
Text.SetDropshadow(0, 0, 0, 0, 255)
Text.Display(320.0, 200.0, 'LOAD_03')
Text.SetScale(0.8, 1.8)
Text.SetColor(255, 255, 255, 179@)
Text.SetCenter(True)
Text.SetWrapX(600.0)
Text.SetDropshadow(0, 0, 0, 0, 255)
Text.Display(320.0, 220.0, 'LOAD_04')
goto @INTRO_10688

:INTRO_10623
Text.SetScale(0.6, 1.6)
Text.SetColor(255, 255, 255, 179@)
Text.SetCenter(True)
Text.SetWrapX(600.0)
Text.SetDropshadow(1, 0, 0, 0, 179@)
Text.Display(320.0, 200.0, 182@s)

:INTRO_10688
return 

//-------------Mission 3---------------
// Originally: Video Game: They Crawled From Uranus

:NONE
gosub @NONE_16
gosub @NONE_12342
terminate_this_script 

:NONE_16
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
script_name 'NONE'
wait 0
Text.LoadMissionText('DUAL')
Game.ShutAllCharsUp(True)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
World.ClearArea($on_footY, $on_footZ, $in_carX, 50.0, False)
Text.UseCommands(True)
Txd.Remove
Txd.LoadDictionary('LD_NONE')
Txd.LoadSprite(1, "SHIP")
Txd.LoadSprite(2, "TVCORN")
Txd.LoadSprite(3, "SHOOT")
Txd.LoadSprite(4, "LIGHT")
Txd.LoadSprite(5, "EXPLM01")
Txd.LoadSprite(6, "EXPLM02")
Txd.LoadSprite(7, "EXPLM03")
Txd.LoadSprite(8, "EXPLM04")
Txd.LoadSprite(9, "EXPLM05")
Txd.LoadSprite(10, "EXPLM06")
Txd.LoadSprite(11, "EXPLM07")
Txd.LoadSprite(12, "EXPLM08")
Txd.LoadSprite(13, "EXPLM09")
Txd.LoadSprite(14, "EXPLM10")
Txd.LoadSprite(15, "EXPLM11")
Txd.LoadSprite(16, "EXPLM12")
Txd.LoadSprite(17, "FORCE")
Txd.LoadSprite(18, "WARP")
Txd.LoadSprite(19, "THRUST")
Txd.LoadSprite(20, "SHPNORM")
Txd.LoadSprite(21, "SHPWARP")
Txd.LoadSprite(22, "SHIP2")
Txd.LoadSprite(23, "SHIP3")
Txd.LoadSprite(24, "TITLE")
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1829)

:NONE_403
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @NONE_429
wait 0
goto @NONE_403

:NONE_429
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1181)
34@ = 3.0
35@ = 2.0
36@ = 1.0
37@ = 0.0
38@ = -1.0
39@ = -2.0
40@ = -3.0
41@ = -2.0
42@ = -1.0
43@ = -4.0
44@ = 4.0
45@ = 3.0
46@ = 2.0
47@ = -2.0
48@ = -4.0
49@ = -6.0
50@ = -3.0
51@ = -2.0
52@ = -7.0
53@ = -6.0
54@ = 300
55@ = 200
56@ = 400
57@ = 600
58@ = 400
59@ = 500
60@ = 200
61@ = 300
62@ = 400
63@ = 6000
64@ = 2.0
65@ = 3.0
66@ = 1.0
67@ = 0.0
68@ = 1.0
69@ = 3.0
70@ = -3.0
71@ = -3.0
72@ = 2.0
73@ = -5.0
74@ = 0.0
75@ = 3.0
76@ = 4.0
77@ = 5.0
78@ = 12.0
79@ = 6.0
80@ = 3.0
81@ = 0.0
82@ = -4.0
83@ = -6.0
84@ = 100
85@ = 400
86@ = 300
87@ = 500
88@ = 400
89@ = 200
90@ = 400
91@ = 400
92@ = 400
93@ = 6000
94@ = 5.0
95@ = -3.0
96@ = 6.0
97@ = -6.0
98@ = 3.0
99@ = -3.0
100@ = 3.0
101@ = -3.0
102@ = 3.0
103@ = -6.0
104@ = 4.0
105@ = 4.0
106@ = 4.0
107@ = 4.0
108@ = 4.0
109@ = 4.0
110@ = 4.0
111@ = 4.0
112@ = 4.0
113@ = 4.0
114@ = 300
115@ = 300
116@ = 300
117@ = 300
118@ = 300
119@ = 300
120@ = 300
121@ = 300
122@ = 300
123@ = 300
124@ = 0.0
132@ = 5.0
125@ = 5.0
133@ = 5.0
126@ = 5.0
134@ = 0.0
127@ = -5.0
135@ = 0.0
128@ = -5.0
136@ = -5.0
129@ = 0.0
137@ = -5.0
130@ = 5.0
138@ = -5.0
131@ = -5.0
139@ = 5.0
set_lvar_text_label 140@s = 'DUAL_0'
set_lvar_text_label 142@s = 'DUAL_1'
set_lvar_text_label 144@s = 'DUAL_2'
set_lvar_text_label 146@s = 'DUAL_3'
set_lvar_text_label 148@s = 'DUAL_4'
set_lvar_text_label 150@s = 'DUAL_5'
set_lvar_text_label 152@s = 'DUAL_6'
set_lvar_text_label 154@s = 'DUAL_7'
set_lvar_text_label 156@s = 'DUAL_8'
set_lvar_text_label 158@s = 'DUAL_9'
set_lvar_text_label 160@s = 'DUAL_AA'
set_lvar_text_label 162@s = 'DUAL_B'
set_lvar_text_label 164@s = 'DUAL_C'
set_lvar_text_label 166@s = 'DUAL_D'
set_lvar_text_label 168@s = 'DUAL_E'
set_lvar_text_label 170@s = 'DUAL_F'
set_lvar_text_label 172@s = 'DUAL_G'
set_lvar_text_label 174@s = 'DUAL_H'
set_lvar_text_label 176@s = 'DUAL_I'
set_lvar_text_label 178@s = 'DUAL_J'
set_lvar_text_label 180@s = 'DUAL_K'
set_lvar_text_label 182@s = 'DUAL_L'
set_lvar_text_label 184@s = 'DUAL_M'
set_lvar_text_label 186@s = 'DUAL_N'
set_lvar_text_label 188@s = 'DUAL_O'
set_lvar_text_label 190@s = 'DUAL_P'
set_lvar_text_label 192@s = 'DUAL_Q'
set_lvar_text_label 194@s = 'DUAL_R'
set_lvar_text_label 196@s = 'DUAL_S'
set_lvar_text_label 198@s = 'DUAL_T'
set_lvar_text_label 200@s = 'DUAL_U'
set_lvar_text_label 202@s = 'DUAL_V'
set_lvar_text_label 204@s = 'DUAL_W'
set_lvar_text_label 206@s = 'DUAL_X'
set_lvar_text_label 208@s = 'DUAL_Y'
set_lvar_text_label 210@s = 'DUAL_Z'
set_lvar_text_label 212@s = 'DUAL_FS'
if 
  $5358 == 0
goto_if_false @NONE_2319
$5359[0] = 250000
$5359[1] = 100000
$5359[2] = 75000
$5359[3] = 50000
$5359[4] = 25000
$5359[5] = 10000
$5359[6] = 7500
$5359[7] = 5000
$5359[8] = 2500
$5359[9] = 1000
set_var_text_label s$5369[0] = 160@s
set_var_text_label s$5389[0] = 166@s
set_var_text_label s$5409[0] = 210@s
set_var_text_label s$5369[1] = 164@s
set_var_text_label s$5389[1] = 160@s
set_var_text_label s$5409[1] = 186@s
set_var_text_label s$5369[2] = 176@s
set_var_text_label s$5389[2] = 184@s
set_var_text_label s$5409[2] = 208@s
set_var_text_label s$5369[3] = 204@s
set_var_text_label s$5389[3] = 176@s
set_var_text_label s$5409[3] = 182@s
set_var_text_label s$5369[4] = 166@s
set_var_text_label s$5389[4] = 162@s
set_var_text_label s$5409[4] = 190@s
set_var_text_label s$5369[5] = 166@s
set_var_text_label s$5389[5] = 160@s
set_var_text_label s$5409[5] = 202@s
set_var_text_label s$5369[6] = 166@s
set_var_text_label s$5389[6] = 188@s
set_var_text_label s$5409[6] = 166@s
set_var_text_label s$5369[7] = 186@s
set_var_text_label s$5389[7] = 170@s
set_var_text_label s$5409[7] = 212@s
set_var_text_label s$5369[8] = 180@s
set_var_text_label s$5389[8] = 184@s
set_var_text_label s$5409[8] = 162@s
set_var_text_label s$5369[9] = 196@s
set_var_text_label s$5389[9] = 178@s
set_var_text_label s$5409[9] = 182@s
$5358 = 1

:NONE_2319
214@ = 336.4137
215@ = 58.2432
216@ = 201.225
217@ = 88.9168
218@ = 29.78
219@ = 260.0
220@ = 28.5713
221@ = 0
222@ = 0
223@ = 0
224@ = 0
Camera.DoFade(0, Fade.In)
Hud.DrawRect(320.0, 224.0, 640.0, 448.0, 0, 0, 0, 255)
225@ = 0
226@ = -1
227@ = 0

:NONE_2475
290@(227@,60f) = Math.RandomFloatInRange(0.0, 300.0)
230@(227@,60f) = Math.RandomFloatInRange(0.0, 360.0)
227@ += 1
  227@ >= 60
goto_if_false @NONE_2475
350@ = 8.0

:NONE_2544
wait 0
Hud.DrawRect(320.0, 224.0, 640.0, 448.0, 0, 0, 0, 255)
$RStickY = Clock.GetGameTimer()
392@ = 0
422@, 423@, 424@, 424@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -100 > 423@
goto_if_false @NONE_2760
if 
  221@ == 0
goto_if_false @NONE_2746
if 
  225@ == 2
goto_if_false @NONE_2701
225@ = 1
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1179)
goto @NONE_2746

:NONE_2701
if 
  225@ == 1
goto_if_false @NONE_2746
225@ = 0
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1179)

:NONE_2746
221@ = 1
goto @NONE_2927

:NONE_2760
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  423@ > 100
goto_if_false @NONE_2913
if 
  222@ == 0
goto_if_false @NONE_2899
if 
  225@ == 0
goto_if_false @NONE_2854
225@ = 1
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1179)
goto @NONE_2899

:NONE_2854
if 
  225@ == 1
goto_if_false @NONE_2899
225@ = 2
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1179)

:NONE_2899
222@ = 1
goto @NONE_2920

:NONE_2913
222@ = 0

:NONE_2920
221@ = 0

:NONE_2927
gosub @NONE_12246
if 
  225@ == 0
goto_if_false @NONE_2971
Text.SetColor(255, 0, 0, 255)
goto @NONE_2985

:NONE_2971
Text.SetColor(255, 255, 255, 255)

:NONE_2985
Text.SetScale(1.0, 3.0)
Text.Display(320.0, 250.0, 'SPAC_04')
gosub @NONE_12246
if 
  225@ == 1
goto_if_false @NONE_3062
Text.SetColor(255, 0, 0, 255)
goto @NONE_3076

:NONE_3062
Text.SetColor(255, 255, 255, 255)

:NONE_3076
Text.SetScale(1.0, 3.0)
Text.Display(320.0, 300.0, 'SPAC_06')
gosub @NONE_12246
if 
  225@ == 2
goto_if_false @NONE_3153
Text.SetColor(255, 0, 0, 255)
goto @NONE_3167

:NONE_3153
Text.SetColor(255, 255, 255, 255)

:NONE_3167
Text.SetScale(1.0, 3.0)
Text.Display(320.0, 350.0, 'SPAC_05')
227@ = 0

:NONE_3207
290@(227@,60f) += 8.0
$on_footY = Math.Cos(230@(227@,60f))
$on_footZ = Math.Sin(230@(227@,60f))
mult_float_var_by_float_lvar $on_footY *= 290@(227@,60f)
mult_float_var_by_float_lvar $on_footZ *= 290@(227@,60f)
$on_footY += 320.0
$on_footZ += 224.0
Hud.DrawRect($on_footY, $on_footZ, 1.0, 1.0, 255, 255, 255, 255)
if or
  $on_footY > 640.0
  0.0 > $on_footY
  0.0 > $on_footZ
  $on_footZ > 448.0
goto_if_false @NONE_3403
290@(227@,60f) = 10.0
230@(227@,60f) = Math.RandomFloatInRange(0.0, 360.0)

:NONE_3403
227@ += 1
  227@ >= 60
goto_if_false @NONE_3207
Hud.DrawSprite(24, 320.0, 140.0, 256.0, 128.0, 220, 220, 220, 255)
Hud.DrawSprite(2, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(2, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(2, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(2, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @NONE_3770
if 
  223@ == 0
goto_if_false @NONE_3763
223@ += 1
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1180)
if 
  225@ == 0
goto_if_false @NONE_3692
goto @NONE_3784

:NONE_3692
if 
  225@ == 1
goto_if_false @NONE_3717
goto @NONE_10297

:NONE_3717
if 
  225@ == 2
goto_if_false @NONE_3763
Txd.Remove
Player.SetControl($statbike_temp, True)
Camera.DoFade(0, Fade.Out)
wait 0
Camera.DoFade(500, Fade.In)
return 

:NONE_3763
goto @NONE_3777

:NONE_3770
223@ = 0

:NONE_3777
goto @NONE_2544

:NONE_3784
351@ = 90.0
227@ = 0

:NONE_3801
352@(227@,10i) = 0
362@(227@,10i) = 0
372@(227@,10i) = 0
382@(227@,10i) = 0
227@ += 1
  227@ >= 10
goto_if_false @NONE_3801
392@ = 0
393@ = 0
394@ = 0
227@ = 0

:NONE_3894
395@(227@,8i) = 0
227@ += 1
  227@ >= 8
goto_if_false @NONE_3894
403@ = 0
404@ = 255
405@ = -50
406@ = 0
407@ = 100
set_lvar_int_to_lvar_int 408@ = 407@
409@ = 0
410@ = 0
411@ = 100
412@ = 3
413@ = 0
414@ = 0
415@ = 0
416@ = 0
417@ = 0
418@ = 0
419@ = 1
420@ = 0
421@ = 190.0
350@ = 8.0

:NONE_4074
wait 0
Hud.DrawRect(320.0, 224.0, 640.0, 448.0, 0, 0, 0, 255)
$RStickY = Clock.GetGameTimer()
227@ = 0

:NONE_4121
add_float_lvar_to_float_lvar 290@(227@,60f) += 350@
$on_footY = Math.Cos(230@(227@,60f))
$on_footZ = Math.Sin(230@(227@,60f))
mult_float_var_by_float_lvar $on_footY *= 290@(227@,60f)
mult_float_var_by_float_lvar $on_footZ *= 290@(227@,60f)
$on_footY += 320.0
$on_footZ += 224.0
Hud.DrawRect($on_footY, $on_footZ, 1.0, 1.0, 255, 255, 255, 255)
if or
  $on_footY > 640.0
  0.0 > $on_footY
  0.0 > $on_footZ
  $on_footZ > 448.0
goto_if_false @NONE_4315
290@(227@,60f) = 10.0
230@(227@,60f) = Math.RandomFloatInRange(0.0, 360.0)

:NONE_4315
227@ += 1
  227@ >= 60
goto_if_false @NONE_4121
if 
  394@ == 0
goto_if_false @NONE_5352
if 
  2 > 418@
goto_if_false @NONE_4516
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @NONE_4414
add_timed_val_to_float_lvar 351@ +=@ -2.65
351@ = Math.LimitAngle(351@)
goto @NONE_4516

:NONE_4414
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @NONE_4456
add_timed_val_to_float_lvar 351@ +=@ 2.65
351@ = Math.LimitAngle(351@)
goto @NONE_4516

:NONE_4456
422@, 423@, 424@, 424@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
cset_lvar_float_to_lvar_int 425@ =# 422@
425@ *= -1.0
425@ /= 25.0
add_float_lvar_to_float_lvar 351@ += 425@
351@ = Math.LimitAngle(351@)

:NONE_4516
$on_footY = Math.Cos(351@)
$on_footZ = Math.Sin(351@)
set_lvar_float_to_var_float 426@ = $on_footZ
426@ *= 22.0
if 
  0.0 > 426@
goto_if_false @NONE_4581
426@ *= -1.0

:NONE_4581
426@ += 26.0
set_lvar_float_to_var_float 427@ = $on_footY
427@ *= 22.0
if 
  0.0 > 427@
goto_if_false @NONE_4640
427@ *= -1.0

:NONE_4640
427@ += 26.0
if 
  418@ == 2
goto_if_false @NONE_4723
sub_timed_val_from_float_lvar 421@ -=@ 2.0
350@ = 16.0
if 
  20.0 > 421@
goto_if_false @NONE_4716
418@ = 3

:NONE_4716
goto @NONE_4830

:NONE_4723
if 
  418@ == 3
goto_if_false @NONE_4810
add_timed_val_to_float_lvar 421@ +=@ 2.0
if 
  421@ > 190.0
goto_if_false @NONE_4803
421@ = 190.0
416@ = 0
419@ += 1
418@ = 0

:NONE_4803
goto @NONE_4830

:NONE_4810
350@ = 8.0
421@ = 190.0

:NONE_4830
mult_float_var_by_float_lvar $on_footY *= 421@
mult_float_var_by_float_lvar $on_footZ *= 421@
set_lvar_float_to_var_float 428@ = $on_footY
428@ += 320.0
set_lvar_float_to_var_float 429@ = $on_footZ
429@ += 224.0
if 
  is_int_lvar_greater_than_int_var 403@ > $RStickY
goto_if_false @NONE_4982
add_int_lvar_to_int_lvar 404@ += 405@
if 
  404@ > 255
goto_if_false @NONE_4943
404@ = 255
405@ = -50

:NONE_4943
if 
  0 > 404@
goto_if_false @NONE_4975
404@ = 0
405@ = 50

:NONE_4975
goto @NONE_4990

:NONE_4982
404@ = 255

:NONE_4990
set_lvar_float_to_lvar_float 431@ = 421@
431@ /= 5.9375
set_lvar_float_to_lvar_float 430@ = 431@
430@ *= 2.0
set_var_float_to_lvar_float $on_footX = 351@
$on_footX += 90.0
if 
  2 > 418@
goto_if_false @NONE_5100
Hud.DrawSpriteWithRotation(20, 428@, 429@, 430@, 431@, $on_footX, 220, 220, 220, 404@)
goto @NONE_5131

:NONE_5100
Hud.DrawSpriteWithRotation(21, 428@, 429@, 430@, 431@, $on_footX, 220, 220, 220, 404@)

:NONE_5131
if 
  2 > 418@
goto_if_false @NONE_5345
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @NONE_5338
if 
  224@ == 0
goto_if_false @NONE_5331
227@ = 0

:NONE_5191
if 
  352@(227@,10i) == 0
goto_if_false @NONE_5283
set_lvar_float_to_lvar_float 432@(227@,10f) = 351@
442@(227@,10f) = 190.0
352@(227@,10i) = 1
452@(227@,10f) = -12.0
set_lvar_float_to_var_float 462@(227@,10f) = $on_footX
227@ = 9

:NONE_5283
227@ += 1
  227@ >= 10
goto_if_false @NONE_5191
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1170)
224@ = 1

:NONE_5331
goto @NONE_5345

:NONE_5338
224@ = 0

:NONE_5345
goto @NONE_5976

:NONE_5352
if 
  394@ == 1
goto_if_false @NONE_5460
227@ = 0

:NONE_5377
395@(227@,8i) = 1
set_lvar_float_to_lvar_float 472@(227@,8f) = 428@
set_lvar_float_to_lvar_float 480@(227@,8f) = 429@
227@ += 1
  227@ >= 8
goto_if_false @NONE_5377
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1172)
394@ += 1

:NONE_5460
if 
  394@ == 2
goto_if_false @NONE_5897
227@ = 0

:NONE_5485
if 
  395@(227@,8i) > 0
goto_if_false @NONE_5668
if 
  395@(227@,8i) == 1
goto_if_false @NONE_5540
395@(227@,8i) = 5

:NONE_5540
add_float_lvar_to_float_lvar 472@(227@,8f) += 124@(227@,8f)
add_float_lvar_to_float_lvar 480@(227@,8f) += 132@(227@,8f)
395@(227@,8i) += 1
if 
  395@(227@,8i) > 16
goto_if_false @NONE_5623
395@(227@,8i) = 0
goto @NONE_5668

:NONE_5623
Hud.DrawSprite(395@(227@,8i), 472@(227@,8f), 480@(227@,8f), 32.0, 32.0, 220, 220, 220, 255)

:NONE_5668
227@ += 1
  227@ >= 8
goto_if_false @NONE_5485
424@ = 0
227@ = 0

:NONE_5703
add_int_lvar_to_int_lvar 424@ += 395@(227@,8i)
227@ += 1
  227@ >= 8
goto_if_false @NONE_5703
if 
  424@ == 0
goto_if_false @NONE_5897
351@ = 90.0
set_lvar_int_to_var_int 403@ = $RStickY
403@ += 2500
409@ = 0
410@ = 0
411@ = 100
408@ = 100
412@ -= 1
if 
  412@ > 0
goto_if_false @NONE_5854
394@ = 0
407@ = 100
goto @NONE_5897

:NONE_5854
set_lvar_int_to_var_int 488@ = $RStickY
488@ += 3000
394@ = 3
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1178)

:NONE_5897
if 
  394@ == 3
goto_if_false @NONE_5976
if 
  is_int_lvar_greater_than_int_var 488@ > $RStickY
goto_if_false @NONE_5969
gosub @NONE_12246
Text.Display(320.0, 100.0, 'SPAC_01')
goto @NONE_5976

:NONE_5969
406@ = 1

:NONE_5976
227@ = 0

:NONE_5983
if 
  352@(227@,10i) == 1
goto_if_false @NONE_6203
add_float_lvar_to_float_lvar 442@(227@,10f) += 452@(227@,10f)
$on_footY = Math.Cos(432@(227@,10f))
$on_footZ = Math.Sin(432@(227@,10f))
mult_float_var_by_float_lvar $on_footY *= 442@(227@,10f)
mult_float_var_by_float_lvar $on_footZ *= 442@(227@,10f)
set_lvar_float_to_var_float 489@(227@,10f) = $on_footY
489@(227@,10f) += 320.0
set_lvar_float_to_var_float 499@(227@,10f) = $on_footZ
499@(227@,10f) += 224.0
Hud.DrawSpriteWithRotation(3, 489@(227@,10f), 499@(227@,10f), 8.0, 8.0, 462@(227@,10f), 52, 183, 195, 255)
if 
  10.0 > 442@(227@,10f)
goto_if_false @NONE_6203
352@(227@,10i) = 0

:NONE_6203
227@ += 1
  227@ >= 10
goto_if_false @NONE_5983
if 
  418@ == 0
goto_if_false @NONE_6322
if 
  is_int_var_greater_than_int_lvar $RStickY > 509@
goto_if_false @NONE_6315
510@ = Math.RandomFloatInRange(0.0, 360.0)
511@ = Math.RandomIntInRange(0, 3)
413@ = 0
512@ = 10
set_lvar_int_to_var_int 509@ = $RStickY
509@ += 8000

:NONE_6315
goto @NONE_6338

:NONE_6322
set_lvar_int_to_var_int 509@ = $RStickY
509@ += 1000

:NONE_6338
if 
  512@ > 0
goto_if_false @NONE_6583
if 
  is_int_var_greater_than_int_lvar $RStickY > 393@
goto_if_false @NONE_6583
227@ = 0

:NONE_6382
if 
  372@(227@,10i) == 0
goto_if_false @NONE_6562
set_lvar_float_to_lvar_float 513@(227@,10f) = 510@
523@(227@,10f) = 5.0
533@(227@,10f) = 3.0
543@(227@,10f) = 10.0
553@(227@,10i) = 0
set_lvar_int_to_var_int 563@(227@,10i) = $RStickY
563@(227@,10i) += 500
372@(227@,10i) = 1
593@(227@,10f) = 320.0
603@(227@,10f) = 224.0
set_lvar_int_to_var_int 393@ = $RStickY
393@ += 200
512@ -= 1
227@ = 9

:NONE_6562
227@ += 1
  227@ >= 10
goto_if_false @NONE_6382

:NONE_6583
420@ = 0
227@ = 0

:NONE_6597
if 
  372@(227@,10i) == 1
goto_if_false @NONE_8084
if 
  10 > 553@(227@,10i)
goto_if_false @NONE_6921
if 
  is_int_var_greater_than_int_lvar $RStickY > 563@(227@,10i)
goto_if_false @NONE_6921
set_lvar_int_to_lvar_int 424@ = 553@(227@,10i)
if 
  511@ == 0
goto_if_false @NONE_6754
set_lvar_float_to_lvar_float 533@(227@,10f) = 34@(424@,10f)
set_lvar_float_to_lvar_float 523@(227@,10f) = 44@(424@,10f)
set_lvar_int_to_var_int 563@(227@,10i) = $RStickY
add_int_lvar_to_int_lvar 563@(227@,10i) += 54@(424@,10i)

:NONE_6754
if 
  511@ == 1
goto_if_false @NONE_6832
set_lvar_float_to_lvar_float 533@(227@,10f) = 64@(424@,10f)
set_lvar_float_to_lvar_float 523@(227@,10f) = 74@(424@,10f)
set_lvar_int_to_var_int 563@(227@,10i) = $RStickY
add_int_lvar_to_int_lvar 563@(227@,10i) += 84@(424@,10i)

:NONE_6832
if 
  511@ == 2
goto_if_false @NONE_6910
set_lvar_float_to_lvar_float 533@(227@,10f) = 94@(424@,10f)
set_lvar_float_to_lvar_float 523@(227@,10f) = 104@(424@,10f)
set_lvar_int_to_var_int 563@(227@,10i) = $RStickY
add_int_lvar_to_int_lvar 563@(227@,10i) += 114@(424@,10i)

:NONE_6910
553@(227@,10i) += 1

:NONE_6921
420@ = 1
add_float_lvar_to_float_lvar 543@(227@,10f) += 533@(227@,10f)
add_float_lvar_to_float_lvar 513@(227@,10f) += 523@(227@,10f)
513@(227@,10f) = Math.LimitAngle(513@(227@,10f))
$on_footY = Math.Cos(513@(227@,10f))
$on_footZ = Math.Sin(513@(227@,10f))
mult_float_var_by_float_lvar $on_footY *= 543@(227@,10f)
mult_float_var_by_float_lvar $on_footZ *= 543@(227@,10f)
set_lvar_float_to_lvar_float 593@(227@,10f) = 573@(227@,10f)
set_lvar_float_to_lvar_float 603@(227@,10f) = 583@(227@,10f)
set_lvar_float_to_var_float 573@(227@,10f) = $on_footY
573@(227@,10f) += 320.0
set_lvar_float_to_var_float 583@(227@,10f) = $on_footZ
583@(227@,10f) += 224.0
set_lvar_float_to_lvar_float 613@ = 543@(227@,10f)
613@ /= 5.0
set_var_float_to_lvar_float $on_footY = 573@(227@,10f)
sub_float_lvar_from_float_var $on_footY -= 593@(227@,10f)
set_var_float_to_lvar_float $on_footZ = 583@(227@,10f)
sub_float_lvar_from_float_var $on_footZ -= 603@(227@,10f)
$on_footX = Math.GetHeadingFromVector2D($on_footY, $on_footZ)
if 
  511@ == 0
goto_if_false @NONE_7253
Hud.DrawSpriteWithRotation(1, 573@(227@,10f), 583@(227@,10f), 613@, 613@, $on_footX, 220, 220, 220, 255)
goto @NONE_7356

:NONE_7253
if 
  511@ == 1
goto_if_false @NONE_7317
Hud.DrawSpriteWithRotation(22, 573@(227@,10f), 583@(227@,10f), 613@, 613@, $on_footX, 220, 220, 220, 255)
goto @NONE_7356

:NONE_7317
Hud.DrawSpriteWithRotation(23, 573@(227@,10f), 583@(227@,10f), 613@, 613@, $on_footX, 220, 220, 220, 255)

:NONE_7356
set_var_float_to_lvar_float $on_footY = 351@
$on_footY += 10.0
set_var_float_to_lvar_float $on_footZ = 351@
$on_footZ -= 10.0
if and
  is_float_var_greater_than_float_lvar $on_footY > 513@(227@,10f)
  is_float_lvar_greater_than_float_var 513@(227@,10f) > $on_footZ
goto_if_false @NONE_7629
424@ = 18
sub_int_lvar_from_int_lvar 424@ -= 419@
if 
  4 > 424@
goto_if_false @NONE_7467
424@ = 4

:NONE_7467
424@ = Math.RandomIntInRange(0, 424@)
if 
  424@ == 0
goto_if_false @NONE_7629
228@ = 0

:NONE_7502
if 
  382@(228@,10i) == 0
goto_if_false @NONE_7608
set_lvar_float_to_lvar_float 614@(228@,10f) = 513@(227@,10f)
set_lvar_float_to_lvar_float 624@(228@,10f) = 543@(227@,10f)
382@(228@,10i) = 1
634@(228@,10f) = 6.0
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1171)
228@ = 9

:NONE_7608
228@ += 1
  228@ >= 10
goto_if_false @NONE_7502

:NONE_7629
if or
  543@(227@,10f) > 320.0
  10.0 > 543@(227@,10f)
goto_if_false @NONE_7679
372@(227@,10i) = 0

:NONE_7679
228@ = 0

:NONE_7686
if 
  352@(228@,10i) == 1
goto_if_false @NONE_8063
if 
  Math.Do2DRectanglesCollide(489@(228@,10f), 499@(228@,10f), 12.0, 12.0, 573@(227@,10f), 583@(227@,10f), 613@, 613@)
goto_if_false @NONE_8063
372@(227@,10i) = 0
352@(228@,10i) = 0
413@ += 1
if 
  413@ == 10
goto_if_false @NONE_7913
set_lvar_float_to_lvar_float 644@ = 573@(227@,10f)
set_lvar_float_to_lvar_float 645@ = 583@(227@,10f)
set_lvar_int_to_var_int 415@ = $RStickY
415@ += 1500
set_lvar_float_to_lvar_float 646@ = 513@(227@,10f)
set_lvar_float_to_lvar_float 647@ = 543@(227@,10f)
417@ += 1
414@ = 100
mult_int_lvar_by_int_lvar 414@ *= 419@
add_int_lvar_to_int_lvar 392@ += 414@
goto @NONE_7936

:NONE_7913
424@ = 10
mult_int_lvar_by_int_lvar 424@ *= 419@
add_int_lvar_to_int_lvar 392@ += 424@

:NONE_7936
229@ = 0

:NONE_7943
if 
  362@(229@,10i) == 0
goto_if_false @NONE_8035
set_lvar_float_to_lvar_float 648@(229@,10f) = 573@(227@,10f)
set_lvar_float_to_lvar_float 658@(229@,10f) = 583@(227@,10f)
362@(229@,10i) += 1
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1172)
229@ = 9

:NONE_8035
229@ += 1
  229@ >= 10
goto_if_false @NONE_7943
228@ = 9

:NONE_8063
228@ += 1
  228@ >= 10
goto_if_false @NONE_7686

:NONE_8084
227@ += 1
  227@ >= 10
goto_if_false @NONE_6597
if 
  418@ == 1
goto_if_false @NONE_8168
if 
  420@ == 0
goto_if_false @NONE_8168
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1176)
418@ = 2

:NONE_8168
227@ = 0

:NONE_8175
if 
  382@(227@,10i) == 1
goto_if_false @NONE_8643
add_float_lvar_to_float_lvar 624@(227@,10f) += 634@(227@,10f)
$on_footY = Math.Cos(614@(227@,10f))
$on_footZ = Math.Sin(614@(227@,10f))
mult_float_var_by_float_lvar $on_footY *= 624@(227@,10f)
mult_float_var_by_float_lvar $on_footZ *= 624@(227@,10f)
set_lvar_float_to_var_float 668@(227@,10f) = $on_footY
668@(227@,10f) += 320.0
set_lvar_float_to_var_float 678@(227@,10f) = $on_footZ
678@(227@,10f) += 224.0
Hud.DrawSprite(4, 668@(227@,10f), 678@(227@,10f), 8.0, 8.0, 244, 0, 0, 255)
if 
  not Math.Do2DRectanglesCollide(668@(227@,10f), 678@(227@,10f), 8.0, 8.0, 320.0, 224.0, 640.0, 448.0)
goto_if_false @NONE_8419
382@(227@,10i) = 0

:NONE_8419
if 
  394@ == 0
goto_if_false @NONE_8643
if 
  Math.Do2DRectanglesCollide(668@(227@,10f), 678@(227@,10f), 8.0, 8.0, 428@, 429@, 426@, 427@)
goto_if_false @NONE_8643
if 
  is_int_var_greater_than_int_lvar $RStickY > 403@
goto_if_false @NONE_8512
407@ -= 20

:NONE_8512
382@(227@,10i) = 0
229@ = 0

:NONE_8530
if 
  362@(229@,10i) == 0
goto_if_false @NONE_8622
set_lvar_float_to_lvar_float 648@(229@,10f) = 668@(227@,10f)
set_lvar_float_to_lvar_float 658@(229@,10f) = 678@(227@,10f)
362@(229@,10i) += 1
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1172)
229@ = 9

:NONE_8622
229@ += 1
  229@ >= 10
goto_if_false @NONE_8530

:NONE_8643
227@ += 1
  227@ >= 10
goto_if_false @NONE_8175
if 
  394@ == 0
goto_if_false @NONE_8886
if 
  409@ > 0
goto_if_false @NONE_8886
if 
  409@ > 1
goto_if_false @NONE_8732
411@ = 100
409@ -= 1

:NONE_8732
add_int_lvar_to_int_lvar 410@ += 411@
if 
  410@ > 255
goto_if_false @NONE_8774
410@ = 255
411@ = -20

:NONE_8774
if 
  0 > 410@
goto_if_false @NONE_8813
410@ = 0
411@ = 100
409@ = 0

:NONE_8813
set_var_float_to_lvar_float $on_footX = 351@
$on_footX += 90.0
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1177)
Hud.DrawSpriteWithRotation(17, 428@, 429@, 64.0, 32.0, $on_footX, 220, 220, 220, 410@)

:NONE_8886
227@ = 0

:NONE_8893
if 
  362@(227@,10i) > 0
goto_if_false @NONE_9044
if 
  362@(227@,10i) == 1
goto_if_false @NONE_8948
362@(227@,10i) = 5

:NONE_8948
362@(227@,10i) += 1
if 
  362@(227@,10i) > 16
goto_if_false @NONE_8999
362@(227@,10i) = 0
goto @NONE_9044

:NONE_8999
Hud.DrawSprite(362@(227@,10i), 648@(227@,10f), 658@(227@,10f), 32.0, 32.0, 220, 220, 220, 255)

:NONE_9044
227@ += 1
  227@ >= 10
goto_if_false @NONE_8893
if 
  417@ == 1
goto_if_false @NONE_9451
647@ += 2.0
646@ = Math.LimitAngle(646@)
$on_footY = Math.Cos(646@)
$on_footZ = Math.Sin(646@)
mult_float_var_by_float_lvar $on_footY *= 647@
mult_float_var_by_float_lvar $on_footZ *= 647@
set_lvar_float_to_var_float 688@ = $on_footY
688@ += 320.0
set_lvar_float_to_var_float 689@ = $on_footZ
689@ += 224.0
Hud.DrawSprite(18, 688@, 689@, 16.0, 16.0, 255, 255, 255, 255)
if 
  394@ == 0
goto_if_false @NONE_9395
if 
  Math.Do2DRectanglesCollide(688@, 689@, 16.0, 16.0, 428@, 429@, 426@, 427@)
goto_if_false @NONE_9395
416@ += 1
if 
  416@ == 1
goto_if_false @NONE_9305
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1173)

:NONE_9305
if 
  416@ == 2
goto_if_false @NONE_9343
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1174)

:NONE_9343
if 
  416@ == 3
goto_if_false @NONE_9388
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1175)
418@ = 1

:NONE_9388
417@ = 0

:NONE_9395
if 
  not Math.Do2DRectanglesCollide(688@, 689@, 16.0, 16.0, 320.0, 224.0, 640.0, 448.0)
goto_if_false @NONE_9451
417@ = 0

:NONE_9451
if or
  0 > 407@
  407@ == 0
goto_if_false @NONE_9508
407@ = 0
if 
  394@ == 0
goto_if_false @NONE_9508
394@ = 1

:NONE_9508
if 
  is_int_lvar_greater_than_int_lvar 408@ > 407@
goto_if_false @NONE_9542
set_lvar_int_to_lvar_int 408@ = 407@
409@ += 1

:NONE_9542
gosub @NONE_12246
Text.SetScale(0.6, 2.6)
Text.Display(95.0, 45.0, 'NONE_01')
gosub @NONE_12246
Text.SetScale(0.6, 2.6)
Text.DisplayWithNumber(95.0, 70.0, 'NUMBER', 392@)
gosub @NONE_12246
Text.SetScale(0.6, 2.6)
Text.Display(550.0, 45.0, 'NONE_02')
Hud.DrawSprite(20, 527.2529, 84.2723, 48.0, 24.0, 220, 220, 220, 255)
gosub @NONE_12246
Text.SetCenter(False)
Text.SetScale(0.6, 2.6)
Text.DisplayWithNumber(554.7283, 70.0, 'NONE_03', 412@)
gosub @NONE_12246
Text.SetScale(0.6, 2.6)
Text.Display(550.0, 350.0, 'NONE_04')
gosub @NONE_12246
Text.SetScale(0.6, 2.6)
Text.DisplayWithNumber(550.0, 375.0, 'NONE_05', 407@)
gosub @NONE_12246
Text.SetScale(0.6, 2.6)
Text.Display(95.0, 350.0, 'NONE_07')
gosub @NONE_12246
Text.SetScale(0.6, 2.6)
Text.DisplayWithNumber(95.0, 375.0, 'NUMBER', 419@)
if 
  is_int_lvar_greater_than_int_var 415@ > $RStickY
goto_if_false @NONE_9985
gosub @NONE_12246
Text.SetColor(0, 180, 180, 255)
Text.SetScale(0.5, 1.5)
Text.DisplayWithNumber(644@, 645@, 'NUMBER', 414@)

:NONE_9985
if 
  394@ == 0
goto_if_false @NONE_10049
if 
  418@ > 0
goto_if_false @NONE_10049
gosub @NONE_12246
Text.Display(320.0, 100.0, 'NONE_06')

:NONE_10049
Hud.DrawSprite(2, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(2, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(2, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(2, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @NONE_10218
406@ = 1

:NONE_10218
if 
  406@ == 1
goto_if_false @NONE_10290
if 
  is_int_lvar_greater_than_int_var 392@ > $5359[9]
goto_if_false @NONE_10283
690@ = 10
691@ = 0
goto @NONE_10297
goto @NONE_10290

:NONE_10283
goto @NONE_2544

:NONE_10290
goto @NONE_4074

:NONE_10297
wait 0
Hud.DrawRect(320.0, 224.0, 640.0, 448.0, 0, 0, 0, 255)
$RStickY = Clock.GetGameTimer()
227@ = 9

:NONE_10344
if 
  227@ > -1
goto_if_false @NONE_10591
if 
  is_int_lvar_greater_than_int_var 392@ > $5359(227@,10i)
goto_if_false @NONE_10570
if 
  227@ <> 9
goto_if_false @NONE_10482
set_lvar_int_to_lvar_int 228@ = 227@
228@ += 1
set_var_int_to_var_int $5359(228@,10i) = $5359(227@,10i)
set_var_text_label $5369(228@,10s) = $5369(227@,10s)
set_var_text_label $5389(228@,10s) = $5389(227@,10s)
set_var_text_label $5409(228@,10s) = $5409(227@,10s)

:NONE_10482
set_var_int_to_lvar_int $5359(227@,10i) = 392@
set_var_text_label $5369(227@,10s) = 212@s
set_var_text_label $5389(227@,10s) = 212@s
set_var_text_label $5409(227@,10s) = 212@s
set_lvar_int_to_lvar_int 226@ = 227@
if 
  227@ == 0
goto_if_false @NONE_10563
392@ = 0

:NONE_10563
goto @NONE_10577

:NONE_10570
392@ = 0

:NONE_10577
227@ -= 1
goto @NONE_10344

:NONE_10591
if 
  226@ > -1
goto_if_false @NONE_11094
if 
  691@ == 0
goto_if_false @NONE_10667
set_var_text_label $5369(226@,10s) = 140@(690@,37s)
set_var_text_label $5389(226@,10s) = 212@s
set_var_text_label $5409(226@,10s) = 212@s

:NONE_10667
if 
  691@ == 1
goto_if_false @NONE_10713
set_var_text_label $5389(226@,10s) = 140@(690@,37s)
set_var_text_label $5409(226@,10s) = 212@s

:NONE_10713
if 
  691@ == 2
goto_if_false @NONE_10747
set_var_text_label $5409(226@,10s) = 140@(690@,37s)

:NONE_10747
422@, 423@, 424@, 424@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -100 > 423@
goto_if_false @NONE_10868
if 
  is_int_var_greater_than_int_lvar $RStickY > 221@
goto_if_false @NONE_10861
if 
  36 > 690@
goto_if_false @NONE_10838
690@ += 1
goto @NONE_10845

:NONE_10838
690@ = 0

:NONE_10845
set_lvar_int_to_var_int 221@ = $RStickY
221@ += 250

:NONE_10861
goto @NONE_10884

:NONE_10868
set_lvar_int_to_var_int 221@ = $RStickY
221@ -= 250

:NONE_10884
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  423@ > 100
goto_if_false @NONE_10989
if 
  is_int_var_greater_than_int_lvar $RStickY > 222@
goto_if_false @NONE_10982
if 
  690@ > 0
goto_if_false @NONE_10959
690@ -= 1
goto @NONE_10966

:NONE_10959
690@ = 36

:NONE_10966
set_lvar_int_to_var_int 222@ = $RStickY
222@ += 250

:NONE_10982
goto @NONE_11005

:NONE_10989
set_lvar_int_to_var_int 222@ = $RStickY
222@ -= 250

:NONE_11005
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @NONE_11087
if 
  223@ == 0
goto_if_false @NONE_11080
691@ += 1
223@ += 1
if 
  691@ == 3
goto_if_false @NONE_11080
226@ = -1

:NONE_11080
goto @NONE_11094

:NONE_11087
223@ = 0

:NONE_11094
227@ = 0

:NONE_11101
290@(227@,60f) += 8.0
$on_footY = Math.Cos(230@(227@,60f))
$on_footZ = Math.Sin(230@(227@,60f))
mult_float_var_by_float_lvar $on_footY *= 290@(227@,60f)
mult_float_var_by_float_lvar $on_footZ *= 290@(227@,60f)
$on_footY += 320.0
$on_footZ += 224.0
Hud.DrawRect($on_footY, $on_footZ, 1.0, 1.0, 255, 255, 255, 255)
if or
  $on_footY > 640.0
  0.0 > $on_footY
  0.0 > $on_footZ
  $on_footZ > 448.0
goto_if_false @NONE_11297
290@(227@,60f) = 10.0
230@(227@,60f) = Math.RandomFloatInRange(0.0, 360.0)

:NONE_11297
227@ += 1
  227@ >= 60
goto_if_false @NONE_11101
gosub @NONE_12246
Text.SetFont(Font.Subtitles)
Text.Display(214@, 215@, 'SPAC_06')
set_lvar_float_to_lvar_float 692@ = 216@
set_lvar_float_to_lvar_float 693@ = 217@
227@ = 0

:NONE_11369
if 
  10 > 227@
goto_if_false @NONE_11988
set_lvar_float_to_lvar_float 692@ = 216@
gosub @NONE_12246
Text.SetCenter(False)
Text.SetJustify(True)
Text.SetFont(Font.Subtitles)
if 
  is_int_lvar_equal_to_int_lvar 226@ == 227@
goto_if_false @NONE_11445
Text.SetColor(0, 155, 0, 255)

:NONE_11445
if or
  is_var_text_label_equal_to_text_label $5369(227@,10s) == 142@s
  is_var_text_label_equal_to_text_label $5369(227@,10s) == 176@s
goto_if_false @NONE_11490
692@ += 8.0

:NONE_11490
Text.Display(692@, 693@, $5369(227@,10s))
if or
  is_var_text_label_equal_to_text_label $5369(227@,10s) == 142@s
  is_var_text_label_equal_to_text_label $5369(227@,10s) == 176@s
goto_if_false @NONE_11550
692@ -= 8.0

:NONE_11550
add_float_lvar_to_float_lvar 692@ += 218@
gosub @NONE_12246
Text.SetCenter(False)
Text.SetJustify(True)
Text.SetFont(Font.Subtitles)
if 
  is_int_lvar_equal_to_int_lvar 226@ == 227@
goto_if_false @NONE_11608
Text.SetColor(0, 155, 0, 255)

:NONE_11608
if or
  is_var_text_label_equal_to_text_label $5389(227@,10s) == 142@s
  is_var_text_label_equal_to_text_label $5389(227@,10s) == 176@s
goto_if_false @NONE_11653
692@ += 8.0

:NONE_11653
Text.Display(692@, 693@, $5389(227@,10s))
if or
  is_var_text_label_equal_to_text_label $5389(227@,10s) == 142@s
  is_var_text_label_equal_to_text_label $5389(227@,10s) == 176@s
goto_if_false @NONE_11713
692@ -= 8.0

:NONE_11713
add_float_lvar_to_float_lvar 692@ += 218@
gosub @NONE_12246
Text.SetCenter(False)
Text.SetJustify(True)
Text.SetFont(Font.Subtitles)
if 
  is_int_lvar_equal_to_int_lvar 226@ == 227@
goto_if_false @NONE_11771
Text.SetColor(0, 155, 0, 255)

:NONE_11771
if or
  is_var_text_label_equal_to_text_label $5409(227@,10s) == 142@s
  is_var_text_label_equal_to_text_label $5409(227@,10s) == 176@s
goto_if_false @NONE_11816
692@ += 8.0

:NONE_11816
Text.Display(692@, 693@, $5409(227@,10s))
if or
  is_var_text_label_equal_to_text_label $5409(227@,10s) == 142@s
  is_var_text_label_equal_to_text_label $5409(227@,10s) == 176@s
goto_if_false @NONE_11876
692@ -= 8.0

:NONE_11876
set_lvar_float_to_lvar_float 692@ = 216@
add_float_lvar_to_float_lvar 692@ += 219@
gosub @NONE_12246
Text.SetCenter(False)
Text.SetRightJustify(True)
Text.SetFont(Font.Subtitles)
if 
  is_int_lvar_equal_to_int_lvar 226@ == 227@
goto_if_false @NONE_11942
Text.SetColor(0, 155, 0, 255)

:NONE_11942
Text.DisplayWithNumber(692@, 693@, 'NUMBER', $5359(227@,10i))
add_float_lvar_to_float_lvar 693@ += 220@
227@ += 1
goto @NONE_11369

:NONE_11988
Hud.DrawSprite(2, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(2, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(2, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(2, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
if 
  226@ == -1
goto_if_false @NONE_12239
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @NONE_12175
goto @NONE_2544

:NONE_12175
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @NONE_12232
if 
  223@ == 0
goto_if_false @NONE_12225
223@ += 1
goto @NONE_2544

:NONE_12225
goto @NONE_12239

:NONE_12232
223@ = 0

:NONE_12239
goto @NONE_10297

:NONE_12246
Text.SetColor(180, 180, 180, 255)
Text.SetScale(1.0, 3.0)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(True)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
Text.SetDropshadow(0, 0, 0, 0, 180)
if 
is_japanese_version 
goto_if_false @NONE_12336
Text.SetFont(Font.Subtitles)
goto @NONE_12340

:NONE_12336
Text.SetFont(Font.Menu)

:NONE_12340
return 

:NONE_12342
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1182)
Text.ClearThisPrint('BUSY')
Game.ShutAllCharsUp(False)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 4---------------
// Originally: Video Game: Duality

:DUAL
gosub @DUAL_16
gosub @DUAL_16087
terminate_this_script 

:DUAL_16
$weapon_shop1_blip = 1
script_name 'DUAL'
wait 0
Text.LoadMissionText('DUAL')
Text.UseCommands(True)
Txd.Remove
Txd.LoadDictionary('LD_SPAC')
Game.ShutAllCharsUp(True)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
World.ClearArea($on_footY, $on_footZ, $in_carX, 50.0, False)
Txd.LoadSprite(1, "BACKGND")
Txd.LoadSprite(2, "LAYER")
Txd.LoadSprite(3, "TVCORN")
Txd.LoadSprite(4, "ROCKSHP")
Txd.LoadSprite(5, "THRUSTG")
Txd.LoadSprite(7, "DARK")
Txd.LoadSprite(8, "LIGHT")
Txd.LoadSprite(9, "EX1")
Txd.LoadSprite(10, "EX2")
Txd.LoadSprite(11, "EX3")
Txd.LoadSprite(12, "EX4")
Txd.LoadSprite(13, "WHITE")
Txd.LoadSprite(14, "SHOOT")
Txd.LoadSprite(15, "HEALTH")
Txd.LoadSprite(16, "POWER")
Txd.LoadSprite(17, "DUALITY")
Txd.LoadSprite(18, "BLACK")
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1807)

:DUAL_297
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @DUAL_323
wait 0
goto @DUAL_297

:DUAL_323
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1068)
51@ = Math.RandomIntInRange(0, 3)
switch_start 51@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DUAL_1516 {caseNum1} 0 {caseLabel1} @DUAL_415 {caseNum2} 1 {caseLabel2} @DUAL_782 {caseNum3} 2 {caseLabel3} @DUAL_1149 {caseNum4} -1 {caseLabel4} @DUAL_1516 {caseNum5} -1 {caseLabel5} @DUAL_1516 {caseNum6} -1 {caseLabel6} @DUAL_1516 {caseNum7} -1 {caseLabel7} @DUAL_1516

:DUAL_415
52@ = 160.0
64@ = 224.0
76@ = 320.0
88@ = 500.0
53@ = 480.0
65@ = 224.0
77@ = 320.0
89@ = 500.0
54@ = 320.0
66@ = 156.0
78@ = 256.0
90@ = 128.0
55@ = 452.2068
67@ = 90.0
79@ = 32.0
91@ = 32.0
56@ = 166.5889
68@ = 216.6436
80@ = 32.0
92@ = 32.0
57@ = 262.0
69@ = 300.0
81@ = 1.0
93@ = 3.0
58@ = 370.0
82@ = 0.9
94@ = 3.0
71@ = 342.0
83@ = 320.0
95@ = 229.7492
60@ = 284.4967
72@ = 314.9901
84@ = 320.0
96@ = 320.0
61@ = 351.9814
73@ = 356.8015
goto @DUAL_1516

:DUAL_782
52@ = 160.0
64@ = 224.0
76@ = 320.0
88@ = 500.0
53@ = 480.0
65@ = 224.0
77@ = 320.0
89@ = 500.0
54@ = 320.0
66@ = 219.561
78@ = 256.0
90@ = 128.0
55@ = 452.2068
67@ = 215.0997
79@ = 32.0
91@ = 32.0
56@ = 166.5889
68@ = 216.0905
80@ = 32.0
92@ = 32.0
57@ = 265.0504
69@ = 70.0389
81@ = 1.0
93@ = 3.0
58@ = 370.0
82@ = 0.9
94@ = 3.0
71@ = 342.0
83@ = 320.0
95@ = 91.233
60@ = 284.4967
72@ = 84.2511
84@ = 320.0
96@ = 296.2502
61@ = 351.9814
73@ = 356.8015
goto @DUAL_1516

:DUAL_1149
52@ = 160.0
64@ = 224.0
76@ = 320.0
88@ = 500.0
53@ = 480.0
65@ = 224.0
77@ = 320.0
89@ = 500.0
54@ = 320.0
66@ = 296.0475
78@ = 256.0
90@ = 128.0
55@ = 464.383
67@ = 354.7318
79@ = 32.0
91@ = 32.0
56@ = 166.5889
68@ = 216.0905
80@ = 32.0
92@ = 32.0
57@ = 265.0504
69@ = 70.0389
81@ = 1.0
93@ = 3.0
58@ = 370.0
82@ = 0.9
94@ = 3.0
71@ = 119.7153
83@ = 320.0
95@ = 135.5804
60@ = 284.4967
72@ = 84.2511
84@ = 320.0
96@ = 320.0
61@ = 351.9814
73@ = 134.4938
goto @DUAL_1516

:DUAL_1516
62@ = 33.8609
85@ = 160.1144
86@ = 230.0
63@ = 38.1753
87@ = 0.5014
99@ = 1.8889
if 
is_xbox_version 
goto_if_false @DUAL_1636
74@ = 33.1114
97@ = 109.8235
98@ = 75.3475
75@ = 35.4681
goto @DUAL_1676

:DUAL_1636
74@ = 18.1114
97@ = 94.8235
98@ = 60.3475
75@ = 20.4681

:DUAL_1676
100@ = 0
101@ = 1
102@ = 1
103@ = 1
104@ = 1
105@ = 1
set_lvar_text_label 106@s = 'DUAL_0'
set_lvar_text_label 108@s = 'DUAL_1'
set_lvar_text_label 110@s = 'DUAL_2'
set_lvar_text_label 112@s = 'DUAL_3'
set_lvar_text_label 114@s = 'DUAL_4'
set_lvar_text_label 116@s = 'DUAL_5'
set_lvar_text_label 118@s = 'DUAL_6'
set_lvar_text_label 120@s = 'DUAL_7'
set_lvar_text_label 122@s = 'DUAL_8'
set_lvar_text_label 124@s = 'DUAL_9'
set_lvar_text_label 126@s = 'DUAL_AA'
set_lvar_text_label 128@s = 'DUAL_B'
set_lvar_text_label 130@s = 'DUAL_C'
set_lvar_text_label 132@s = 'DUAL_D'
set_lvar_text_label 134@s = 'DUAL_E'
set_lvar_text_label 136@s = 'DUAL_F'
set_lvar_text_label 138@s = 'DUAL_G'
set_lvar_text_label 140@s = 'DUAL_H'
set_lvar_text_label 142@s = 'DUAL_I'
set_lvar_text_label 144@s = 'DUAL_J'
set_lvar_text_label 146@s = 'DUAL_K'
set_lvar_text_label 148@s = 'DUAL_L'
set_lvar_text_label 150@s = 'DUAL_M'
set_lvar_text_label 152@s = 'DUAL_N'
set_lvar_text_label 154@s = 'DUAL_O'
set_lvar_text_label 156@s = 'DUAL_P'
set_lvar_text_label 158@s = 'DUAL_Q'
set_lvar_text_label 160@s = 'DUAL_R'
set_lvar_text_label 162@s = 'DUAL_S'
set_lvar_text_label 164@s = 'DUAL_T'
set_lvar_text_label 166@s = 'DUAL_U'
set_lvar_text_label 168@s = 'DUAL_V'
set_lvar_text_label 170@s = 'DUAL_W'
set_lvar_text_label 172@s = 'DUAL_X'
set_lvar_text_label 174@s = 'DUAL_Y'
set_lvar_text_label 176@s = 'DUAL_Z'
set_lvar_text_label 178@s = 'DUAL_FS'
if 
  $5429 == 0
goto_if_false @DUAL_2899
$5430[0] = -10000
$5430[1] = -7500
$5430[2] = -5000
$5430[3] = -2500
$5430[4] = -1000
$5430[5] = -750
$5430[6] = -500
$5430[7] = -250
$5430[8] = -175
$5430[9] = -100
$5440[0] = 10000
$5440[1] = 7500
$5440[2] = 5000
$5440[3] = 2500
$5440[4] = 1000
$5440[5] = 750
$5440[6] = 500
$5440[7] = 250
$5440[8] = 175
$5440[9] = 100
set_var_text_label s$5450[0] = 132@s
set_var_text_label s$5470[0] = 144@s
set_var_text_label s$5490[0] = 178@s
set_var_text_label s$5450[1] = 146@s
set_var_text_label s$5470[1] = 160@s
set_var_text_label s$5490[1] = 174@s
set_var_text_label s$5450[2] = 162@s
set_var_text_label s$5470[2] = 142@s
set_var_text_label s$5490[2] = 162@s
set_var_text_label s$5450[3] = 170@s
set_var_text_label s$5470[3] = 132@s
set_var_text_label s$5490[3] = 174@s
set_var_text_label s$5450[4] = 132@s
set_var_text_label s$5470[4] = 126@s
set_var_text_label s$5490[4] = 152@s
set_var_text_label s$5450[5] = 148@s
set_var_text_label s$5470[5] = 160@s
set_var_text_label s$5490[5] = 138@s
set_var_text_label s$5450[6] = 152@s
set_var_text_label s$5470[6] = 154@s
set_var_text_label s$5490[6] = 152@s
set_var_text_label s$5450[7] = 138@s
set_var_text_label s$5470[7] = 126@s
set_var_text_label s$5490[7] = 176@s
set_var_text_label s$5450[8] = 108@s
set_var_text_label s$5470[8] = 106@s
set_var_text_label s$5490[8] = 108@s
set_var_text_label s$5450[9] = 144@s
set_var_text_label s$5470[9] = 166@s
set_var_text_label s$5490[9] = 132@s
set_var_text_label s$5510[0] = 126@s
set_var_text_label s$5530[0] = 132@s
set_var_text_label s$5550[0] = 176@s
set_var_text_label s$5510[1] = 130@s
set_var_text_label s$5530[1] = 126@s
set_var_text_label s$5550[1] = 152@s
set_var_text_label s$5510[2] = 142@s
set_var_text_label s$5530[2] = 150@s
set_var_text_label s$5550[2] = 174@s
set_var_text_label s$5510[3] = 170@s
set_var_text_label s$5530[3] = 142@s
set_var_text_label s$5550[3] = 148@s
set_var_text_label s$5510[4] = 132@s
set_var_text_label s$5530[4] = 128@s
set_var_text_label s$5550[4] = 156@s
set_var_text_label s$5510[5] = 132@s
set_var_text_label s$5530[5] = 126@s
set_var_text_label s$5550[5] = 168@s
set_var_text_label s$5510[6] = 132@s
set_var_text_label s$5530[6] = 154@s
set_var_text_label s$5550[6] = 132@s
set_var_text_label s$5510[7] = 152@s
set_var_text_label s$5530[7] = 136@s
set_var_text_label s$5550[7] = 178@s
set_var_text_label s$5510[8] = 146@s
set_var_text_label s$5530[8] = 150@s
set_var_text_label s$5550[8] = 128@s
set_var_text_label s$5510[9] = 162@s
set_var_text_label s$5530[9] = 144@s
set_var_text_label s$5550[9] = 148@s
$5429 = 1

:DUAL_2899
180@ = -1
181@ = 0
182@ = 321.4137
183@ = 58.2432
184@ = 201.225
185@ = 88.9168
186@ = 29.78
187@ = 230.5296
188@ = 28.5713

:DUAL_2983
wait 0
Camera.DoFade(0, Fade.In)
$RStickY = Clock.GetGameTimer()
350@ = 0
361@, 362@, 39@, 39@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  361@ > 100
goto_if_false @DUAL_3174
if 
  103@ == 0
goto_if_false @DUAL_3160
if 
  100@ == 0
goto_if_false @DUAL_3115
100@ = 1
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1046)
goto @DUAL_3160

:DUAL_3115
if 
  100@ == 2
goto_if_false @DUAL_3160
100@ = 3
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1046)

:DUAL_3160
103@ = 1
goto @DUAL_3661

:DUAL_3174
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  -100 > 361@
goto_if_false @DUAL_3327
if 
  103@ == 0
goto_if_false @DUAL_3313
if 
  100@ == 1
goto_if_false @DUAL_3268
100@ = 0
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1046)
goto @DUAL_3313

:DUAL_3268
if 
  100@ == 3
goto_if_false @DUAL_3313
100@ = 2
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1046)

:DUAL_3313
102@ = 1
goto @DUAL_3654

:DUAL_3327
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -100 > 362@
goto_if_false @DUAL_3480
if 
  104@ == 0
goto_if_false @DUAL_3466
if 
  100@ == 2
goto_if_false @DUAL_3421
100@ = 0
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1046)
goto @DUAL_3466

:DUAL_3421
if 
  100@ == 3
goto_if_false @DUAL_3466
100@ = 1
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1046)

:DUAL_3466
104@ = 1
goto @DUAL_3647

:DUAL_3480
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  362@ > 100
goto_if_false @DUAL_3633
if 
  105@ == 0
goto_if_false @DUAL_3619
if 
  100@ == 0
goto_if_false @DUAL_3574
100@ = 2
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1046)
goto @DUAL_3619

:DUAL_3574
if 
  100@ == 1
goto_if_false @DUAL_3619
100@ = 3
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1046)

:DUAL_3619
105@ = 1
goto @DUAL_3640

:DUAL_3633
105@ = 0

:DUAL_3640
104@ = 0

:DUAL_3647
102@ = 0

:DUAL_3654
103@ = 0

:DUAL_3661
Hud.DrawSprite(18, 52@, 64@, 76@, 88@, 255, 255, 255, 255)
Hud.DrawSprite(13, 53@, 65@, 77@, 89@, 255, 255, 255, 255)
Hud.DrawSprite(17, 54@, 66@, 256.0, 128.0, 255, 255, 255, 255)
Hud.DrawSprite(7, 55@, 67@, 32.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(8, 56@, 68@, 32.0, 32.0, 255, 255, 255, 255)
gosub @DUAL_16015
Text.SetCenter(False)
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @DUAL_3875
Text.SetScale(82@, 94@)
goto @DUAL_3883

:DUAL_3875
Text.SetScale(81@, 93@)

:DUAL_3883
Text.Display(57@, 69@, 'SPAC_04')
gosub @DUAL_16015
Text.SetCenter(False)
Text.SetJustify(True)
Text.SetColor(0, 0, 0, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @DUAL_3959
Text.SetScale(82@, 94@)
goto @DUAL_3967

:DUAL_3959
Text.SetScale(81@, 93@)

:DUAL_3967
Text.Display(58@, 69@, 'SPAC_05')
gosub @DUAL_16015
Text.SetCenter(False)
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @DUAL_4046
Text.SetScale(82@, 94@)
goto @DUAL_4054

:DUAL_4046
Text.SetScale(81@, 93@)

:DUAL_4054
Text.Display(57@, 71@, 'SPAC_06')
gosub @DUAL_16015
Text.SetCenter(False)
Text.SetJustify(True)
Text.SetColor(0, 0, 0, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @DUAL_4130
Text.SetScale(82@, 94@)
goto @DUAL_4138

:DUAL_4130
Text.SetScale(81@, 93@)

:DUAL_4138
Text.Display(58@, 71@, 'SPAC_06')
if 
  100@ == 0
goto_if_false @DUAL_4205
Hud.DrawSprite(8, 60@, 72@, 16.0, 16.0, 255, 255, 255, 255)

:DUAL_4205
if 
  100@ == 1
goto_if_false @DUAL_4255
Hud.DrawSprite(7, 61@, 72@, 16.0, 16.0, 255, 255, 255, 255)

:DUAL_4255
if 
  100@ == 2
goto_if_false @DUAL_4305
Hud.DrawSprite(8, 60@, 73@, 16.0, 16.0, 255, 255, 255, 255)

:DUAL_4305
if 
  100@ == 3
goto_if_false @DUAL_4355
Hud.DrawSprite(7, 61@, 73@, 16.0, 16.0, 255, 255, 255, 255)

:DUAL_4355
Hud.DrawSprite(3, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(3, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(3, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(3, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DUAL_4836
if 
  101@ == 0
goto_if_false @DUAL_4829
101@ += 1
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1045)
if 
  100@ == 0
goto_if_false @DUAL_4587
goto @DUAL_4920

:DUAL_4587
if 
  100@ == 1
goto_if_false @DUAL_4633
Txd.Remove
Player.SetControl($statbike_temp, True)
Camera.DoFade(0, Fade.Out)
wait 0
Camera.DoFade(500, Fade.In)
return 

:DUAL_4633
if 
  100@ == 2
goto_if_false @DUAL_4731
50@ = Math.RandomFloatInRange(-15.0, 15.0)
set_lvar_float_to_lvar_float 205@ = 50@
50@ = Math.RandomFloatInRange(-15.0, 15.0)
set_lvar_float_to_lvar_float 206@ = 50@
199@ = 0.0
200@ = 0.0
181@ = 1
goto @DUAL_12272

:DUAL_4731
if 
  100@ == 3
goto_if_false @DUAL_4829
50@ = Math.RandomFloatInRange(-15.0, 15.0)
set_lvar_float_to_lvar_float 205@ = 50@
50@ = Math.RandomFloatInRange(-15.0, 15.0)
set_lvar_float_to_lvar_float 206@ = 50@
199@ = 0.0
200@ = 0.0
181@ = 0
goto @DUAL_12272

:DUAL_4829
goto @DUAL_4843

:DUAL_4836
101@ = 0

:DUAL_4843
Hud.DrawWindow(62@, 74@, 86@, 98@, 'DUMMY', 0)
gosub @DUAL_16015
Text.SetCenter(False)
Text.SetWrapX(86@)
Text.SetFont(Font.Subtitles)
Text.SetScale(87@, 99@)
Text.Display(63@, 75@, 'SPAC_10')
goto @DUAL_2983

:DUAL_4920
189@ = 0.0
193@ = 0.0
190@ = 0.0
194@ = 0.0
199@ = 0.0
200@ = 0.0
$shtr_lsticky = 0.0
$shtr_rstickx = 0.0
201@ = 0.0
202@ = 0.0
203@ = 0.1
204@ = 100.0
205@ = 0.0
206@ = 0.0
207@ = 0
208@ = -512.0
209@ = -256.0
210@ = 0.0
211@ = 256.0
212@ = 512.0
213@ = -384.0
214@ = -128.0
215@ = 128.0
216@ = 384.0
217@ = 200.0
233@ = 200.0
249@ = -2E11
218@ = -300.0
234@ = -300.0
250@ = -2E11
219@ = -300.0
235@ = 300.0
251@ = -2E11
220@ = 300.0
236@ = -300.0
252@ = -2E11
221@ = 0.1
237@ = 300.0
253@ = -2E11
222@ = 0.1
238@ = -300.0
254@ = 2E11
223@ = 300.0
239@ = 0.1
255@ = 2E11
224@ = -300.0
240@ = 0.1
256@ = 2E11
225@ = 0.1
241@ = 500.0
257@ = 2E11
226@ = 0.1
242@ = -500.0
258@ = 2E11
227@ = -500.0
243@ = -500.0
259@ = -2E11
228@ = 500.0
244@ = 500.0
260@ = 2E11
229@ = 500.0
245@ = -500.0
261@ = -2E11
230@ = -500.0
246@ = -500.0
262@ = 2E11
231@ = 0.1
247@ = 500.0
263@ = -2E11
232@ = 0.1
248@ = -500.0
264@ = 2E11
265@ = 16
266@ = 32.0
267@ = 6.67259
267@ *= 0.1
267@ *= 0.1
267@ *= 0.1
267@ *= 0.1
267@ *= 0.1
267@ *= 0.1
40@ = 0

:DUAL_5731
if 
  20 > 40@
goto_if_false @DUAL_5791
268@(40@,20f) = 1000.0
288@(40@,20f) = 1000.0
40@ += 1
goto @DUAL_5731

:DUAL_5791
40@ = 0

:DUAL_5798
if 
  is_int_lvar_greater_than_int_lvar 265@ > 40@
goto_if_false @DUAL_5869
308@(40@,16f) = Math.RandomFloatInRange(0.0, 1.0)
324@(40@,16f) = Math.RandomFloatInRange(0.0, 1.0)
40@ += 1
goto @DUAL_5798

:DUAL_5869
40@ = 0

:DUAL_5876
if 
  10 > 40@
goto_if_false @DUAL_5919
340@(40@,10i) = 0
40@ += 1
goto @DUAL_5876

:DUAL_5919
350@ = 0
Player.SetControl($statbike_temp, False)
351@ = 100.0
352@ = 100.0
353@ = 256.0
354@ = 0
$RStickY = Clock.GetGameTimer()
set_lvar_int_to_var_int 355@ = $RStickY
355@ += 4000
set_lvar_int_to_var_int 356@ = $RStickY
357@ = 0

:DUAL_6006
set_lvar_int_to_var_int 358@ = $RStickY
wait 0
$RStickY = Clock.GetGameTimer()
set_lvar_int_to_var_int 359@ = $RStickY
sub_int_lvar_from_int_lvar 359@ -= 358@
cset_lvar_float_to_lvar_int 360@ =# 359@
360@ /= 1.5
360@ /= 1000.0
201@ = 0.0
202@ = 0.0
add_timed_val_to_float_lvar 351@ +=@ 0.06
if 
  351@ > 100.0
goto_if_false @DUAL_6128
351@ = 100.0

:DUAL_6128
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DUAL_6184
if 
  357@ == 1
goto_if_false @DUAL_6177
357@ = 0
354@ = 1

:DUAL_6177
goto @DUAL_6191

:DUAL_6184
357@ = 1

:DUAL_6191
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @DUAL_6225
add_timed_val_to_float_lvar 203@ +=@ 5.0
goto @DUAL_6301

:DUAL_6225
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @DUAL_6259
add_timed_val_to_float_lvar 203@ +=@ -5.0
goto @DUAL_6301

:DUAL_6259
361@, 362@, 39@, 39@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
cset_lvar_float_to_lvar_int 50@ =# 361@
50@ /= 15.0
add_float_lvar_to_float_lvar 203@ += 50@

:DUAL_6301
if 
  0.1 > 203@
goto_if_false @DUAL_6339
203@ += 360.0
goto @DUAL_6301

:DUAL_6339
if 
  203@ > 360.0
goto_if_false @DUAL_6377
203@ -= 360.0
goto @DUAL_6339

:DUAL_6377
40@ = 0

:DUAL_6384
if 
  is_int_lvar_greater_than_int_lvar 265@ > 40@
goto_if_false @DUAL_7781
add_float_lvar_to_float_lvar 217@(40@,16f) += 308@(40@,16f)
add_float_lvar_to_float_lvar 233@(40@,16f) += 324@(40@,16f)
$heading = Math.GetDistanceBetweenCoords2D(199@, 200@, 217@(40@,16f), 233@(40@,16f))
363@ = 0
if 
  $heading > 700.0
goto_if_false @DUAL_6495
363@ = 1

:DUAL_6495
if 
  65.0 > $heading
goto_if_false @DUAL_6842
if 
  Math.Do2DRectanglesCollide(199@, 200@, 32.0, 32.0, 217@(40@,16f), 233@(40@,16f), 32.0, 32.0)
goto_if_false @DUAL_6842
if 
  249@(40@,16f) > 0.0
goto_if_false @DUAL_6781
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1050)
sub_timed_val_from_float_lvar 352@ -=@ 1.0
if 
  0.0 > 352@
goto_if_false @DUAL_6774
352@ = 0.0
41@ = 0

:DUAL_6662
if 
  10 > 41@
goto_if_false @DUAL_6758
if 
  340@(41@,10i) == 0
goto_if_false @DUAL_6744
set_lvar_float_to_lvar_float 374@(41@,10f) = 199@
set_lvar_float_to_lvar_float 384@(41@,10f) = 200@
340@(41@,10i) += 1
41@ = 9

:DUAL_6744
41@ += 1
goto @DUAL_6662

:DUAL_6758
set_lvar_int_to_var_int 356@ = $RStickY
356@ += 3000

:DUAL_6774
goto @DUAL_6842

:DUAL_6781
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1051)
add_timed_val_to_float_lvar 352@ +=@ 1.0
if 
  352@ > 100.0
goto_if_false @DUAL_6842
352@ = 100.0

:DUAL_6842
41@ = 0

:DUAL_6849
if 
  10 > 41@
goto_if_false @DUAL_7044
if 
  is_int_lvar_greater_than_int_var 364@(41@,10i) > $RStickY
goto_if_false @DUAL_7030
if 
  Math.Do2DRectanglesCollide(489@(41@,10f), 499@(41@,10f), 12.0, 12.0, 217@(40@,16f), 233@(40@,16f), 32.0, 32.0)
goto_if_false @DUAL_7030
363@ = 2
if 
  is_int_var_greater_than_int_lvar $RStickY > 356@
goto_if_false @DUAL_7023
if 
  249@(40@,16f) > 0.0
goto_if_false @DUAL_7016
350@ += 10
goto @DUAL_7023

:DUAL_7016
350@ -= 10

:DUAL_7023
41@ = 9

:DUAL_7030
41@ += 1
goto @DUAL_6849

:DUAL_7044
if 
  363@ > 0
goto_if_false @DUAL_7477
if 
  363@ == 2
goto_if_false @DUAL_7191
41@ = 0

:DUAL_7087
if 
  10 > 41@
goto_if_false @DUAL_7191
if 
  340@(41@,10i) == 0
goto_if_false @DUAL_7177
set_lvar_float_to_lvar_float 374@(41@,10f) = 217@(40@,16f)
set_lvar_float_to_lvar_float 384@(41@,10f) = 233@(40@,16f)
340@(41@,10i) += 1
41@ = 9

:DUAL_7177
41@ += 1
goto @DUAL_7087

:DUAL_7191
39@ = Math.RandomIntInRange(0, 2)
if 
  39@ == 0
goto_if_false @DUAL_7292
$on_footY = Math.RandomFloatInRange(340.0, 700.0)
39@ = Math.RandomIntInRange(0, 2)
if 
  39@ == 0
goto_if_false @DUAL_7270
$on_footY *= -1.0

:DUAL_7270
$on_footZ = Math.RandomFloatInRange(-700.0, 700.0)
goto @DUAL_7359

:DUAL_7292
$on_footY = Math.RandomFloatInRange(-700.0, 700.0)
$on_footZ = Math.RandomFloatInRange(340.0, 700.0)
39@ = Math.RandomIntInRange(0, 2)
if 
  39@ == 0
goto_if_false @DUAL_7359
$on_footZ *= -1.0

:DUAL_7359
308@(40@,16f) = Math.RandomFloatInRange(-5.0, 5.0)
324@(40@,16f) = Math.RandomFloatInRange(-5.0, 5.0)
set_lvar_float_to_lvar_float 217@(40@,16f) = 199@
add_float_var_to_float_lvar 217@(40@,16f) += $on_footY
set_lvar_float_to_lvar_float 233@(40@,16f) = 200@
add_float_var_to_float_lvar 233@(40@,16f) += $on_footZ
$heading = Math.GetDistanceBetweenCoords2D(199@, 200@, 217@(40@,16f), 233@(40@,16f))
goto @DUAL_7767

:DUAL_7477
set_lvar_float_to_lvar_float 50@ = 249@(40@,16f)
mult_float_lvar_by_float_lvar 50@ *= 204@
mult_float_lvar_by_float_lvar 50@ *= 267@
set_var_float_to_var_float $in_carX = $heading
mult_float_var_by_float_var $in_carX *= $heading
div_float_lvar_by_float_var 50@ /= $in_carX
set_lvar_float_to_lvar_float 394@ = 217@(40@,16f)
sub_float_lvar_from_float_lvar 394@ -= 199@
set_lvar_float_to_lvar_float 395@ = 233@(40@,16f)
sub_float_lvar_from_float_lvar 395@ -= 200@
div_float_lvar_by_float_var 394@ /= $heading
div_float_lvar_by_float_var 395@ /= $heading
set_lvar_float_to_lvar_float 43@ = 394@
mult_float_lvar_by_float_lvar 43@ *= 50@
set_lvar_float_to_lvar_float 44@ = 395@
mult_float_lvar_by_float_lvar 44@ *= 50@
266@ = 32.0
if 
  43@ > 50000.0
goto_if_false @DUAL_7658
43@ = 50000.0

:DUAL_7658
if 
  -50000.0 > 43@
goto_if_false @DUAL_7689
43@ = -50000.0

:DUAL_7689
if 
  44@ > 50000.0
goto_if_false @DUAL_7720
44@ = 50000.0

:DUAL_7720
if 
  -50000.0 > 44@
goto_if_false @DUAL_7751
44@ = -50000.0

:DUAL_7751
add_float_lvar_to_float_lvar 201@ += 43@
add_float_lvar_to_float_lvar 202@ += 44@

:DUAL_7767
40@ += 1
goto @DUAL_6384

:DUAL_7781
if 
  is_int_var_greater_than_int_lvar $RStickY > 356@
goto_if_false @DUAL_8566
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DUAL_7971
if or
  351@ > 0.2
  351@ == 0.2
goto_if_false @DUAL_7964
$on_footY = Math.Sin(203@)
$on_footZ = Math.Cos(203@)
$on_footY *= -20000.0
$on_footZ *= 20000.0
add_float_var_to_float_lvar 201@ += $on_footY
add_float_var_to_float_lvar 202@ += $on_footZ
207@ += 50
if 
  207@ > 200
goto_if_false @DUAL_7934
207@ = 200

:DUAL_7934
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1042)
sub_timed_val_from_float_lvar 351@ -=@ 0.2

:DUAL_7964
goto @DUAL_8003

:DUAL_7971
207@ -= 20
if 
  0 > 207@
goto_if_false @DUAL_8003
207@ = 0

:DUAL_8003
if or
  351@ > 0.1
  351@ == 0.1
goto_if_false @DUAL_8162
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @DUAL_8162
set_lvar_float_to_lvar_float 50@ = 203@
50@ += 90.0
if 
  50@ > 360.0
goto_if_false @DUAL_8100
50@ -= 360.0

:DUAL_8100
$on_footY = Math.Sin(50@)
$on_footZ = Math.Cos(50@)
$on_footY *= -6000.0
$on_footZ *= 6000.0
add_float_var_to_float_lvar 201@ += $on_footY
add_float_var_to_float_lvar 202@ += $on_footZ
sub_timed_val_from_float_lvar 351@ -=@ 0.1

:DUAL_8162
if or
  351@ > 0.1
  351@ == 0.1
goto_if_false @DUAL_8321
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @DUAL_8321
set_lvar_float_to_lvar_float 50@ = 203@
50@ -= 90.0
if 
  0.0 > 50@
goto_if_false @DUAL_8259
50@ += 360.0

:DUAL_8259
$on_footY = Math.Sin(50@)
$on_footZ = Math.Cos(50@)
$on_footY *= -6000.0
$on_footZ *= 6000.0
add_float_var_to_float_lvar 201@ += $on_footY
add_float_var_to_float_lvar 202@ += $on_footZ
sub_timed_val_from_float_lvar 351@ -=@ 0.1

:DUAL_8321
set_lvar_float_to_var_float 396@ = $shtr_lsticky
396@ *= 40.0
set_lvar_float_to_var_float 397@ = $shtr_rstickx
397@ *= 40.0
sub_float_lvar_from_float_lvar 201@ -= 396@
sub_float_lvar_from_float_lvar 202@ -= 397@
div_float_lvar_by_float_lvar 201@ /= 204@
div_float_lvar_by_float_lvar 202@ /= 204@
mult_float_lvar_by_float_lvar 201@ *= 360@
mult_float_lvar_by_float_lvar 202@ *= 360@
add_float_lvar_to_float_var $shtr_lsticky += 201@
add_float_lvar_to_float_var $shtr_rstickx += 202@
if or
  351@ > 1.0
  351@ == 1.0
goto_if_false @DUAL_8566
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @DUAL_8566
if 
  is_int_var_greater_than_int_lvar $RStickY > 398@
goto_if_false @DUAL_8566
gosub @DUAL_15809
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1041)
set_lvar_int_to_var_int 398@ = $RStickY
398@ += 250
sub_timed_val_from_float_lvar 351@ -=@ 1.0
if 
  350@ > 0
goto_if_false @DUAL_8566
350@ -= 1

:DUAL_8566
set_lvar_float_to_lvar_float 205@ = 199@
set_lvar_float_to_lvar_float 206@ = 200@
if 
  $shtr_lsticky > 300.0
goto_if_false @DUAL_8613
$shtr_lsticky = 300.0

:DUAL_8613
if 
  -300.0 > $shtr_lsticky
goto_if_false @DUAL_8644
$shtr_lsticky = -300.0

:DUAL_8644
if 
  $shtr_rstickx > 300.0
goto_if_false @DUAL_8675
$shtr_rstickx = 300.0

:DUAL_8675
if 
  -300.0 > $shtr_rstickx
goto_if_false @DUAL_8706
$shtr_rstickx = -300.0

:DUAL_8706
set_var_float_to_lvar_float $on_footY = 360@
mult_float_var_by_float_var $on_footY *= $shtr_lsticky
set_var_float_to_lvar_float $on_footZ = 360@
mult_float_var_by_float_var $on_footZ *= $shtr_rstickx
add_float_var_to_float_lvar 199@ += $on_footY
add_float_var_to_float_lvar 200@ += $on_footZ
40@ = 0

:DUAL_8761
if 
  3 > 40@
goto_if_false @DUAL_9611
set_var_float_to_lvar_float $on_footY = 205@
sub_float_lvar_from_float_var $on_footY -= 199@
set_var_float_to_lvar_float $on_footZ = 206@
sub_float_lvar_from_float_var $on_footZ -= 200@
$on_footY *= 0.6
$on_footZ *= 0.6
cset_lvar_float_to_lvar_int 50@ =# 40@
50@ += 1.0
50@ *= 0.3
mult_float_var_by_float_lvar $on_footY *= 50@
mult_float_var_by_float_lvar $on_footZ *= 50@
353@ = 512.0
mult_float_lvar_by_float_lvar 353@ *= 50@
if 
  40@ == 0
goto_if_false @DUAL_8962
$on_footY /= 2.0
$on_footZ /= 2.0
add_float_var_to_float_lvar 189@(40@,4f) += $on_footY
add_float_var_to_float_lvar 193@(40@,4f) += $on_footZ
goto @DUAL_8986

:DUAL_8962
add_float_var_to_float_lvar 189@(40@,4f) += $on_footY
add_float_var_to_float_lvar 193@(40@,4f) += $on_footZ

:DUAL_8986
set_lvar_float_to_lvar_float 50@ = 353@
50@ /= 2.0
if 
  is_float_lvar_greater_than_float_lvar 189@(40@,4f) > 50@
goto_if_false @DUAL_9039
sub_float_lvar_from_float_lvar 189@(40@,4f) -= 353@

:DUAL_9039
set_lvar_float_to_lvar_float 50@ = 353@
50@ *= -1.0
if 
  is_float_lvar_greater_than_float_lvar 50@ > 189@(40@,4f)
goto_if_false @DUAL_9092
add_float_lvar_to_float_lvar 189@(40@,4f) += 353@

:DUAL_9092
set_lvar_float_to_lvar_float 50@ = 353@
50@ *= -1.0
if 
  is_float_lvar_greater_than_float_lvar 193@(40@,4f) > 50@
goto_if_false @DUAL_9145
sub_float_lvar_from_float_lvar 193@(40@,4f) -= 353@

:DUAL_9145
set_lvar_float_to_lvar_float 50@ = 353@
50@ *= -1.0
if 
  is_float_lvar_greater_than_float_lvar 50@ > 193@(40@,4f)
goto_if_false @DUAL_9198
add_float_lvar_to_float_lvar 193@(40@,4f) += 353@

:DUAL_9198
50@ = 640.0
add_float_lvar_to_float_lvar 50@ += 353@
set_lvar_float_to_lvar_float 399@ = 50@
div_float_lvar_by_float_lvar 399@ /= 353@
cset_lvar_int_to_lvar_float 400@ =# 399@
cset_lvar_float_to_lvar_int 50@ =# 400@
sub_float_lvar_from_float_lvar 399@ -= 50@
if 
  399@ > 0.0
goto_if_false @DUAL_9284
400@ += 1

:DUAL_9284
50@ = 448.0
add_float_lvar_to_float_lvar 50@ += 353@
set_lvar_float_to_lvar_float 401@ = 50@
div_float_lvar_by_float_lvar 401@ /= 353@
cset_lvar_int_to_lvar_float 402@ =# 401@
cset_lvar_float_to_lvar_int 50@ =# 402@
sub_float_lvar_from_float_lvar 401@ -= 50@
if 
  401@ > 0.0
goto_if_false @DUAL_9370
402@ += 1

:DUAL_9370
400@ += 1
402@ += 1
set_lvar_float_to_lvar_float 197@ = 189@(40@,4f)
set_lvar_float_to_lvar_float 198@ = 193@(40@,4f)
404@ = 0

:DUAL_9415
if 
  is_int_lvar_greater_than_int_lvar 402@ > 404@
goto_if_false @DUAL_9597
403@ = 0

:DUAL_9441
if 
  is_int_lvar_greater_than_int_lvar 400@ > 403@
goto_if_false @DUAL_9563
if 
  40@ == 0
goto_if_false @DUAL_9513
Hud.DrawSprite(1, 197@, 198@, 353@, 353@, 150, 150, 150, 255)
goto @DUAL_9541

:DUAL_9513
Hud.DrawSprite(2, 197@, 198@, 353@, 353@, 150, 150, 150, 255)

:DUAL_9541
add_float_lvar_to_float_lvar 197@ += 353@
403@ += 1
goto @DUAL_9441

:DUAL_9563
set_lvar_float_to_lvar_float 197@ = 189@(40@,4f)
add_float_lvar_to_float_lvar 198@ += 353@
404@ += 1
goto @DUAL_9415

:DUAL_9597
40@ += 1
goto @DUAL_8761

:DUAL_9611
40@ = 0

:DUAL_9618
if 
  is_int_lvar_greater_than_int_lvar 265@ > 40@
goto_if_false @DUAL_9807
set_var_float_to_lvar_float $on_footY = 217@(40@,16f)
sub_float_lvar_from_float_var $on_footY -= 199@
set_var_float_to_lvar_float $on_footZ = 233@(40@,16f)
sub_float_lvar_from_float_var $on_footZ -= 200@
$on_footY += 320.0
$on_footZ += 224.0
if 
  249@(40@,16f) > 0.0
goto_if_false @DUAL_9761
Hud.DrawSprite(7, $on_footY, $on_footZ, 32.0, 32.0, 150, 150, 150, 255)
goto @DUAL_9793

:DUAL_9761
Hud.DrawSprite(8, $on_footY, $on_footZ, 32.0, 32.0, 255, 255, 255, 255)

:DUAL_9793
40@ += 1
goto @DUAL_9618

:DUAL_9807
40@ = 0

:DUAL_9814
if 
  20 > 40@
goto_if_false @DUAL_10509
$heading = Math.GetDistanceBetweenCoords2D(199@, 200@, 268@(40@,20f), 288@(40@,20f))
if or
  $heading > 600.0
  Math.Do2DRectanglesCollide(199@, 200@, 32.0, 32.0, 268@(40@,20f), 288@(40@,20f), 18.0, 18.0)
goto_if_false @DUAL_10346
if 
  Math.Do2DRectanglesCollide(199@, 200@, 32.0, 32.0, 268@(40@,20f), 288@(40@,20f), 18.0, 18.0)
goto_if_false @DUAL_10112
if 
  is_int_var_greater_than_int_lvar $RStickY > 356@
goto_if_false @DUAL_10112
if 
  10 > 40@
goto_if_false @DUAL_10044
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1048)
350@ += 5
goto @DUAL_10071

:DUAL_10044
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1049)
350@ -= 5

:DUAL_10071
351@ += 25.0
if 
  351@ > 100.0
goto_if_false @DUAL_10112
351@ = 100.0

:DUAL_10112
39@ = Math.RandomIntInRange(0, 2)
if 
  39@ == 0
goto_if_false @DUAL_10222
$on_footY = Math.RandomFloatInRange(340.0, 700.0)
39@ = Math.RandomIntInRange(0, 2)
if 
  39@ == 0
goto_if_false @DUAL_10191
$on_footY *= -1.0

:DUAL_10191
$on_footZ = Math.RandomFloatInRange(-700.0, 700.0)
39@ = Math.RandomIntInRange(0, 2)
goto @DUAL_10298

:DUAL_10222
$on_footY = Math.RandomFloatInRange(-700.0, 700.0)
39@ = Math.RandomIntInRange(0, 2)
$on_footZ = Math.RandomFloatInRange(340.0, 700.0)
39@ = Math.RandomIntInRange(0, 2)
if 
  39@ == 0
goto_if_false @DUAL_10298
$on_footZ *= -1.0

:DUAL_10298
set_lvar_float_to_lvar_float 268@(40@,20f) = 199@
add_float_var_to_float_lvar 268@(40@,20f) += $on_footY
set_lvar_float_to_lvar_float 288@(40@,20f) = 200@
add_float_var_to_float_lvar 288@(40@,20f) += $on_footZ

:DUAL_10346
set_var_float_to_lvar_float $on_footY = 268@(40@,20f)
sub_float_lvar_from_float_var $on_footY -= 199@
set_var_float_to_lvar_float $on_footZ = 288@(40@,20f)
sub_float_lvar_from_float_var $on_footZ -= 200@
$on_footY += 320.0
$on_footZ += 224.0
if 
  10 > 40@
goto_if_false @DUAL_10463
Hud.DrawSprite(8, $on_footY, $on_footZ, 16.0, 16.0, 255, 255, 255, 255)
goto @DUAL_10495

:DUAL_10463
Hud.DrawSprite(7, $on_footY, $on_footZ, 16.0, 16.0, 150, 150, 150, 255)

:DUAL_10495
40@ += 1
goto @DUAL_9814

:DUAL_10509
40@ = 0

:DUAL_10516
if 
  10 > 40@
goto_if_false @DUAL_10819
if 
  340@(40@,10i) > 0
goto_if_false @DUAL_10805
set_var_float_to_lvar_float $on_footY = 374@(40@,10f)
sub_float_lvar_from_float_var $on_footY -= 199@
set_var_float_to_lvar_float $on_footZ = 384@(40@,10f)
sub_float_lvar_from_float_var $on_footZ -= 200@
$on_footY += 320.0
$on_footZ += 224.0
if 
  340@(40@,10i) == 1
goto_if_false @DUAL_10693
set_lvar_int_to_var_int 405@(40@,10i) = $RStickY
405@(40@,10i) += 500
340@(40@,10i) = 9
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1043)

:DUAL_10693
set_lvar_int_to_var_int 405@(40@,10i) = $RStickY
405@(40@,10i) += 500
340@(40@,10i) += 1
if 
  340@(40@,10i) > 12
goto_if_false @DUAL_10768
340@(40@,10i) = 0
goto @DUAL_10805

:DUAL_10768
Hud.DrawSprite(340@(40@,10i), $on_footY, $on_footZ, 32.0, 32.0, 150, 150, 150, 255)

:DUAL_10805
40@ += 1
goto @DUAL_10516

:DUAL_10819
40@ = 0

:DUAL_10826
if 
  10 > 40@
goto_if_false @DUAL_11045
if 
  is_int_lvar_greater_than_int_var 364@(40@,10i) > $RStickY
goto_if_false @DUAL_11031
set_var_float_to_lvar_float $on_footY = 360@
mult_float_var_by_float_lvar $on_footY *= 509@(40@,10f)
set_var_float_to_lvar_float $on_footZ = 360@
mult_float_var_by_float_lvar $on_footZ *= 519@(40@,10f)
add_float_var_to_float_lvar 489@(40@,10f) += $on_footY
add_float_var_to_float_lvar 499@(40@,10f) += $on_footZ
set_var_float_to_lvar_float $on_footY = 489@(40@,10f)
sub_float_lvar_from_float_var $on_footY -= 199@
set_var_float_to_lvar_float $on_footZ = 499@(40@,10f)
sub_float_lvar_from_float_var $on_footZ -= 200@
$on_footY += 320.0
$on_footZ += 224.0
set_var_float_to_lvar_float $on_footX = 203@
Hud.DrawSprite(14, $on_footY, $on_footZ, 8.0, 8.0, 150, 150, 150, 255)

:DUAL_11031
40@ += 1
goto @DUAL_10826

:DUAL_11045
if 
  is_int_var_greater_than_int_lvar $RStickY > 356@
goto_if_false @DUAL_11476
Hud.DrawSpriteWithRotation(4, 320.0, 224.0, 266@, 266@, 203@, 150, 150, 150, 255)
set_lvar_float_to_lvar_float 50@ = 352@
50@ /= 2.0
$on_footZ = 400.0
sub_float_lvar_from_float_var $on_footZ -= 50@
Hud.DrawSprite(13, 50.0, 350.0, 14.0, 104.0, 0, 0, 0, 255)
Hud.DrawSprite(15, 50.0, $on_footZ, 10.0, 352@, 200, 200, 200, 255)
set_lvar_float_to_lvar_float 50@ = 351@
50@ /= 2.0
$on_footZ = 400.0
sub_float_lvar_from_float_var $on_footZ -= 50@
Hud.DrawSprite(13, 70.0, 350.0, 14.0, 104.0, 0, 0, 0, 255)
Hud.DrawSprite(16, 70.0, $on_footZ, 10.0, 351@, 200, 200, 200, 255)
set_lvar_float_to_lvar_float 50@ = 203@
50@ += 180.0
if 
  50@ > 360.0
goto_if_false @DUAL_11350
50@ -= 360.0

:DUAL_11350
$on_footY = Math.Sin(50@)
$on_footZ = Math.Cos(50@)
$on_footY *= -1.0
$on_footY *= 24.0
$on_footZ *= 24.0
$on_footY += 320.0
$on_footZ += 224.0
if 
  207@ > 0
goto_if_false @DUAL_11469
Hud.DrawSpriteWithRotation(5, $on_footY, $on_footZ, 16.0, 16.0, 203@, 207@, 207@, 207@, 255)

:DUAL_11469
goto @DUAL_11669

:DUAL_11476
41@ = 0

:DUAL_11483
if 
  10 > 41@
goto_if_false @DUAL_11579
if 
  340@(41@,10i) == 0
goto_if_false @DUAL_11565
set_lvar_float_to_lvar_float 374@(41@,10f) = 199@
set_lvar_float_to_lvar_float 384@(41@,10f) = 200@
340@(41@,10i) += 1
41@ = 9

:DUAL_11565
41@ += 1
goto @DUAL_11483

:DUAL_11579
gosub @DUAL_16015
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1047)
Text.Display(320.0, 100.0, 'SPAC_01')
set_lvar_int_to_var_int 39@ = $RStickY
39@ += 1000
if 
  is_int_lvar_greater_than_int_lvar 39@ > 356@
goto_if_false @DUAL_11669
354@ = 1

:DUAL_11669
gosub @DUAL_16015
if 
  350@ > -1
goto_if_false @DUAL_11725
Text.DisplayWithNumber(320.0, 50.0, 'SPAC_02', 350@)
goto @DUAL_11791

:DUAL_11725
set_lvar_int_to_lvar_int 39@ = 350@
39@ *= -1
Text.SetColor(0, 0, 0, 255)
Text.SetEdge(1, 150, 150, 150, 255)
Text.DisplayWithNumber(320.0, 50.0, 'SPAC_02', 39@)

:DUAL_11791
Hud.DrawSprite(3, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(3, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(3, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(3, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
if 
  is_int_lvar_greater_than_int_var 355@ > $RStickY
goto_if_false @DUAL_12132
gosub @DUAL_16015
if or
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @DUAL_12027
Hud.DrawWindow(62@, 74@, 175.1144, 97@, 'DUMMY', 0)
Text.SetWrapX(175.1144)
goto @DUAL_12057

:DUAL_12027
Hud.DrawWindow(62@, 74@, 85@, 97@, 'DUMMY', 0)
Text.SetWrapX(85@)

:DUAL_12057
Text.SetCenter(False)
Text.SetFont(Font.Subtitles)
if or
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @DUAL_12107
Text.SetScale(0.4, 99@)
goto @DUAL_12115

:DUAL_12107
Text.SetScale(87@, 99@)

:DUAL_12115
Text.Display(63@, 75@, 'SPAC_11')

:DUAL_12132
if 
  354@ == 1
goto_if_false @DUAL_12265
if 
  is_int_lvar_greater_than_int_var 350@ > $5440[9]
goto_if_false @DUAL_12204
415@ = 10
416@ = 0
181@ = 1
goto @DUAL_12272
goto @DUAL_12265

:DUAL_12204
if 
  is_int_var_greater_than_int_lvar $5430[9] > 350@
goto_if_false @DUAL_12258
415@ = 10
416@ = 0
181@ = 0
goto @DUAL_12272
goto @DUAL_12265

:DUAL_12258
goto @DUAL_2983

:DUAL_12265
goto @DUAL_6006

:DUAL_12272
wait 0
$RStickY = Clock.GetGameTimer()
if 
  181@ == 0
goto_if_false @DUAL_12560
40@ = 9

:DUAL_12306
if 
  40@ > -1
goto_if_false @DUAL_12553
if 
  is_int_var_greater_than_int_lvar $5430(40@,10i) > 350@
goto_if_false @DUAL_12532
if 
  40@ <> 9
goto_if_false @DUAL_12444
set_lvar_int_to_lvar_int 41@ = 40@
41@ += 1
set_var_int_to_var_int $5430(41@,10i) = $5430(40@,10i)
set_var_text_label $5450(41@,10s) = $5450(40@,10s)
set_var_text_label $5470(41@,10s) = $5470(40@,10s)
set_var_text_label $5490(41@,10s) = $5490(40@,10s)

:DUAL_12444
set_var_int_to_lvar_int $5430(40@,10i) = 350@
set_var_text_label $5450(40@,10s) = 178@s
set_var_text_label $5470(40@,10s) = 178@s
set_var_text_label $5490(40@,10s) = 178@s
set_lvar_int_to_lvar_int 180@ = 40@
if 
  40@ == 0
goto_if_false @DUAL_12525
350@ = 0

:DUAL_12525
goto @DUAL_12539

:DUAL_12532
350@ = 0

:DUAL_12539
40@ -= 1
goto @DUAL_12306

:DUAL_12553
goto @DUAL_12814

:DUAL_12560
40@ = 9

:DUAL_12567
if 
  40@ > -1
goto_if_false @DUAL_12814
if 
  is_int_lvar_greater_than_int_var 350@ > $5440(40@,10i)
goto_if_false @DUAL_12793
if 
  40@ <> 9
goto_if_false @DUAL_12705
set_lvar_int_to_lvar_int 41@ = 40@
41@ += 1
set_var_int_to_var_int $5440(41@,10i) = $5440(40@,10i)
set_var_text_label $5510(41@,10s) = $5510(40@,10s)
set_var_text_label $5530(41@,10s) = $5530(40@,10s)
set_var_text_label $5550(41@,10s) = $5550(40@,10s)

:DUAL_12705
set_var_int_to_lvar_int $5440(40@,10i) = 350@
set_var_text_label $5510(40@,10s) = 178@s
set_var_text_label $5530(40@,10s) = 178@s
set_var_text_label $5550(40@,10s) = 178@s
set_lvar_int_to_lvar_int 180@ = 40@
if 
  40@ == 0
goto_if_false @DUAL_12786
350@ = 0

:DUAL_12786
goto @DUAL_12800

:DUAL_12793
350@ = 0

:DUAL_12800
40@ -= 1
goto @DUAL_12567

:DUAL_12814
if 
  180@ > -1
goto_if_false @DUAL_13480
if 
  181@ == 0
goto_if_false @DUAL_12995
if 
  416@ == 0
goto_if_false @DUAL_12908
set_var_text_label $5450(180@,10s) = 106@(415@,37s)
set_var_text_label $5470(180@,10s) = 178@s
set_var_text_label $5490(180@,10s) = 178@s

:DUAL_12908
if 
  416@ == 1
goto_if_false @DUAL_12954
set_var_text_label $5470(180@,10s) = 106@(415@,37s)
set_var_text_label $5490(180@,10s) = 178@s

:DUAL_12954
if 
  416@ == 2
goto_if_false @DUAL_12988
set_var_text_label $5490(180@,10s) = 106@(415@,37s)

:DUAL_12988
goto @DUAL_13133

:DUAL_12995
if 
  416@ == 0
goto_if_false @DUAL_13053
set_var_text_label $5510(180@,10s) = 106@(415@,37s)
set_var_text_label $5530(180@,10s) = 178@s
set_var_text_label $5550(180@,10s) = 178@s

:DUAL_13053
if 
  416@ == 1
goto_if_false @DUAL_13099
set_var_text_label $5530(180@,10s) = 106@(415@,37s)
set_var_text_label $5550(180@,10s) = 178@s

:DUAL_13099
if 
  416@ == 2
goto_if_false @DUAL_13133
set_var_text_label $5550(180@,10s) = 106@(415@,37s)

:DUAL_13133
361@, 362@, 39@, 39@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -100 > 362@
goto_if_false @DUAL_13254
if 
  is_int_var_greater_than_int_lvar $RStickY > 104@
goto_if_false @DUAL_13247
if 
  36 > 415@
goto_if_false @DUAL_13224
415@ += 1
goto @DUAL_13231

:DUAL_13224
415@ = 0

:DUAL_13231
set_lvar_int_to_var_int 104@ = $RStickY
104@ += 250

:DUAL_13247
goto @DUAL_13270

:DUAL_13254
set_lvar_int_to_var_int 104@ = $RStickY
104@ -= 250

:DUAL_13270
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  362@ > 100
goto_if_false @DUAL_13375
if 
  is_int_var_greater_than_int_lvar $RStickY > 105@
goto_if_false @DUAL_13368
if 
  415@ > 0
goto_if_false @DUAL_13345
415@ -= 1
goto @DUAL_13352

:DUAL_13345
415@ = 36

:DUAL_13352
set_lvar_int_to_var_int 105@ = $RStickY
105@ += 250

:DUAL_13368
goto @DUAL_13391

:DUAL_13375
set_lvar_int_to_var_int 105@ = $RStickY
105@ -= 250

:DUAL_13391
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DUAL_13473
if 
  101@ == 0
goto_if_false @DUAL_13466
416@ += 1
101@ += 1
if 
  416@ == 3
goto_if_false @DUAL_13466
180@ = -1

:DUAL_13466
goto @DUAL_13480

:DUAL_13473
101@ = 0

:DUAL_13480
if 
  181@ == 0
goto_if_false @DUAL_13619
40@ = 0

:DUAL_13505
if 
  10 > 40@
goto_if_false @DUAL_13612
set_lvar_int_to_var_int 417@(40@,10i) = $5430(40@,10i)
417@(40@,10i) *= -1
set_lvar_text_label 427@(40@,10s) = $5450(40@,10s)
set_lvar_text_label 447@(40@,10s) = $5470(40@,10s)
set_lvar_text_label 467@(40@,10s) = $5490(40@,10s)
40@ += 1
goto @DUAL_13505

:DUAL_13612
goto @DUAL_13722

:DUAL_13619
40@ = 0

:DUAL_13626
if 
  10 > 40@
goto_if_false @DUAL_13722
set_lvar_int_to_var_int 417@(40@,10i) = $5440(40@,10i)
set_lvar_text_label 427@(40@,10s) = $5510(40@,10s)
set_lvar_text_label 447@(40@,10s) = $5530(40@,10s)
set_lvar_text_label 467@(40@,10s) = $5550(40@,10s)
40@ += 1
goto @DUAL_13626

:DUAL_13722
40@ = 0

:DUAL_13729
if 
  3 > 40@
goto_if_false @DUAL_14579
set_var_float_to_lvar_float $on_footY = 205@
sub_float_lvar_from_float_var $on_footY -= 199@
set_var_float_to_lvar_float $on_footZ = 206@
sub_float_lvar_from_float_var $on_footZ -= 200@
$on_footY *= 0.6
$on_footZ *= 0.6
cset_lvar_float_to_lvar_int 50@ =# 40@
50@ += 1.0
50@ *= 0.3
mult_float_var_by_float_lvar $on_footY *= 50@
mult_float_var_by_float_lvar $on_footZ *= 50@
353@ = 512.0
mult_float_lvar_by_float_lvar 353@ *= 50@
if 
  40@ == 0
goto_if_false @DUAL_13930
$on_footY /= 2.0
$on_footZ /= 2.0
add_float_var_to_float_lvar 189@(40@,4f) += $on_footY
add_float_var_to_float_lvar 193@(40@,4f) += $on_footZ
goto @DUAL_13954

:DUAL_13930
add_float_var_to_float_lvar 189@(40@,4f) += $on_footY
add_float_var_to_float_lvar 193@(40@,4f) += $on_footZ

:DUAL_13954
set_lvar_float_to_lvar_float 50@ = 353@
50@ /= 2.0
if 
  is_float_lvar_greater_than_float_lvar 189@(40@,4f) > 50@
goto_if_false @DUAL_14007
sub_float_lvar_from_float_lvar 189@(40@,4f) -= 353@

:DUAL_14007
set_lvar_float_to_lvar_float 50@ = 353@
50@ *= -1.0
if 
  is_float_lvar_greater_than_float_lvar 50@ > 189@(40@,4f)
goto_if_false @DUAL_14060
add_float_lvar_to_float_lvar 189@(40@,4f) += 353@

:DUAL_14060
set_lvar_float_to_lvar_float 50@ = 353@
50@ *= -1.0
if 
  is_float_lvar_greater_than_float_lvar 193@(40@,4f) > 50@
goto_if_false @DUAL_14113
sub_float_lvar_from_float_lvar 193@(40@,4f) -= 353@

:DUAL_14113
set_lvar_float_to_lvar_float 50@ = 353@
50@ *= -1.0
if 
  is_float_lvar_greater_than_float_lvar 50@ > 193@(40@,4f)
goto_if_false @DUAL_14166
add_float_lvar_to_float_lvar 193@(40@,4f) += 353@

:DUAL_14166
50@ = 640.0
add_float_lvar_to_float_lvar 50@ += 353@
set_lvar_float_to_lvar_float 399@ = 50@
div_float_lvar_by_float_lvar 399@ /= 353@
cset_lvar_int_to_lvar_float 400@ =# 399@
cset_lvar_float_to_lvar_int 50@ =# 400@
sub_float_lvar_from_float_lvar 399@ -= 50@
if 
  399@ > 0.0
goto_if_false @DUAL_14252
400@ += 1

:DUAL_14252
50@ = 448.0
add_float_lvar_to_float_lvar 50@ += 353@
set_lvar_float_to_lvar_float 401@ = 50@
div_float_lvar_by_float_lvar 401@ /= 353@
cset_lvar_int_to_lvar_float 402@ =# 401@
cset_lvar_float_to_lvar_int 50@ =# 402@
sub_float_lvar_from_float_lvar 401@ -= 50@
if 
  401@ > 0.0
goto_if_false @DUAL_14338
402@ += 1

:DUAL_14338
400@ += 1
402@ += 1
set_lvar_float_to_lvar_float 197@ = 189@(40@,4f)
set_lvar_float_to_lvar_float 198@ = 193@(40@,4f)
404@ = 0

:DUAL_14383
if 
  is_int_lvar_greater_than_int_lvar 402@ > 404@
goto_if_false @DUAL_14565
403@ = 0

:DUAL_14409
if 
  is_int_lvar_greater_than_int_lvar 400@ > 403@
goto_if_false @DUAL_14531
if 
  40@ == 0
goto_if_false @DUAL_14481
Hud.DrawSprite(1, 197@, 198@, 353@, 353@, 150, 150, 150, 255)
goto @DUAL_14509

:DUAL_14481
Hud.DrawSprite(2, 197@, 198@, 353@, 353@, 150, 150, 150, 255)

:DUAL_14509
add_float_lvar_to_float_lvar 197@ += 353@
403@ += 1
goto @DUAL_14409

:DUAL_14531
set_lvar_float_to_lvar_float 197@ = 189@(40@,4f)
add_float_lvar_to_float_lvar 198@ += 353@
404@ += 1
goto @DUAL_14383

:DUAL_14565
40@ += 1
goto @DUAL_13729

:DUAL_14579
gosub @DUAL_16015
if 
  181@ == 0
goto_if_false @DUAL_14631
Text.SetColor(0, 0, 0, 255)
Text.SetEdge(1, 150, 150, 150, 255)

:DUAL_14631
Text.SetFont(Font.Subtitles)
Text.Display(182@, 183@, 'SPAC_06')
set_lvar_float_to_lvar_float 487@ = 184@
set_lvar_float_to_lvar_float 488@ = 185@
40@ = 0

:DUAL_14675
if 
  10 > 40@
goto_if_false @DUAL_15474
set_lvar_float_to_lvar_float 487@ = 184@
gosub @DUAL_16015
Text.SetCenter(False)
Text.SetJustify(True)
Text.SetFont(Font.Subtitles)
if 
  181@ == 0
goto_if_false @DUAL_14765
Text.SetColor(0, 0, 0, 255)
Text.SetEdge(1, 150, 150, 150, 255)

:DUAL_14765
if 
  is_int_lvar_equal_to_int_lvar 180@ == 40@
goto_if_false @DUAL_14796
Text.SetColor(0, 155, 0, 255)

:DUAL_14796
if or
  is_lvar_text_label_equal_to_text_label 427@(40@,10s) == 108@s
  is_lvar_text_label_equal_to_text_label 427@(40@,10s) == 142@s
goto_if_false @DUAL_14841
487@ += 8.0

:DUAL_14841
Text.Display(487@, 488@, 427@(40@,10s))
if or
  is_lvar_text_label_equal_to_text_label 427@(40@,10s) == 108@s
  is_lvar_text_label_equal_to_text_label 427@(40@,10s) == 142@s
goto_if_false @DUAL_14901
487@ -= 8.0

:DUAL_14901
add_float_lvar_to_float_lvar 487@ += 186@
gosub @DUAL_16015
Text.SetCenter(False)
Text.SetJustify(True)
Text.SetFont(Font.Subtitles)
if 
  181@ == 0
goto_if_false @DUAL_14973
Text.SetColor(0, 0, 0, 255)
Text.SetEdge(1, 150, 150, 150, 255)

:DUAL_14973
if 
  is_int_lvar_equal_to_int_lvar 180@ == 40@
goto_if_false @DUAL_15004
Text.SetColor(0, 155, 0, 255)

:DUAL_15004
if or
  is_lvar_text_label_equal_to_text_label 447@(40@,10s) == 108@s
  is_lvar_text_label_equal_to_text_label 447@(40@,10s) == 142@s
goto_if_false @DUAL_15049
487@ += 8.0

:DUAL_15049
Text.Display(487@, 488@, 447@(40@,10s))
if or
  is_lvar_text_label_equal_to_text_label 447@(40@,10s) == 108@s
  is_lvar_text_label_equal_to_text_label 447@(40@,10s) == 142@s
goto_if_false @DUAL_15109
487@ -= 8.0

:DUAL_15109
add_float_lvar_to_float_lvar 487@ += 186@
gosub @DUAL_16015
Text.SetCenter(False)
Text.SetJustify(True)
Text.SetFont(Font.Subtitles)
if 
  181@ == 0
goto_if_false @DUAL_15181
Text.SetColor(0, 0, 0, 255)
Text.SetEdge(1, 150, 150, 150, 255)

:DUAL_15181
if 
  is_int_lvar_equal_to_int_lvar 180@ == 40@
goto_if_false @DUAL_15212
Text.SetColor(0, 155, 0, 255)

:DUAL_15212
if or
  is_lvar_text_label_equal_to_text_label 467@(40@,10s) == 108@s
  is_lvar_text_label_equal_to_text_label 467@(40@,10s) == 142@s
goto_if_false @DUAL_15257
487@ += 8.0

:DUAL_15257
Text.Display(487@, 488@, 467@(40@,10s))
if or
  is_lvar_text_label_equal_to_text_label 467@(40@,10s) == 108@s
  is_lvar_text_label_equal_to_text_label 467@(40@,10s) == 142@s
goto_if_false @DUAL_15317
487@ -= 8.0

:DUAL_15317
set_lvar_float_to_lvar_float 487@ = 184@
add_float_lvar_to_float_lvar 487@ += 187@
gosub @DUAL_16015
Text.SetCenter(False)
Text.SetRightJustify(True)
Text.SetFont(Font.Subtitles)
if 
  181@ == 0
goto_if_false @DUAL_15397
Text.SetColor(0, 0, 0, 255)
Text.SetEdge(1, 150, 150, 150, 255)

:DUAL_15397
if 
  is_int_lvar_equal_to_int_lvar 180@ == 40@
goto_if_false @DUAL_15428
Text.SetColor(0, 155, 0, 255)

:DUAL_15428
Text.DisplayWithNumber(487@, 488@, 'NUMBER', 417@(40@,10i))
add_float_lvar_to_float_lvar 488@ += 188@
40@ += 1
goto @DUAL_14675

:DUAL_15474
Hud.DrawSprite(3, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(3, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(3, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(3, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
if 
  180@ == -1
goto_if_false @DUAL_15732
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DUAL_15661
goto @DUAL_2983

:DUAL_15661
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DUAL_15718
if 
  101@ == 0
goto_if_false @DUAL_15711
101@ += 1
goto @DUAL_2983

:DUAL_15711
goto @DUAL_15725

:DUAL_15718
101@ = 0

:DUAL_15725
goto @DUAL_15802

:DUAL_15732
Hud.DrawWindow(62@, 74@, 86@, 98@, 'DUMMY', 0)
gosub @DUAL_16015
Text.SetCenter(False)
Text.SetWrapX(86@)
Text.SetFont(Font.Subtitles)
Text.SetScale(87@, 99@)
Text.Display(63@, 75@, 'SPAC_13')

:DUAL_15802
goto @DUAL_12272

:DUAL_15809
40@ = 0

:DUAL_15816
if 
  10 > 40@
goto_if_false @DUAL_16013
if 
  is_int_var_greater_than_int_lvar $RStickY > 364@(40@,10i)
goto_if_false @DUAL_15999
set_lvar_float_to_lvar_float 50@ = 203@
$on_footY = Math.Sin(50@)
$on_footZ = Math.Cos(50@)
set_lvar_float_to_lvar_float 489@(40@,10f) = 199@
set_lvar_float_to_lvar_float 499@(40@,10f) = 200@
$on_footY *= -300.0
$on_footZ *= 300.0
set_lvar_float_to_var_float 509@(40@,10f) = $on_footY
add_float_var_to_float_lvar 509@(40@,10f) += $shtr_lsticky
set_lvar_float_to_var_float 519@(40@,10f) = $on_footZ
add_float_var_to_float_lvar 519@(40@,10f) += $shtr_rstickx
set_lvar_int_to_var_int 364@(40@,10i) = $RStickY
364@(40@,10i) += 1600
return 

:DUAL_15999
40@ += 1
goto @DUAL_15816

:DUAL_16013
return 

:DUAL_16015
Text.SetColor(180, 180, 180, 255)
Text.SetScale(1.0, 3.0)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(True)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
Text.SetDropshadow(0, 0, 0, 0, 180)
Text.SetFont(Font.Menu)
return 

:DUAL_16087
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1069)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DUAL_16197
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $sweet_contact_blip, $ryder_contact_blip, $strap_contact_blip, 2.0, 2.0, 2.0, False)
goto_if_false @DUAL_16197
set_var_float_to_var_float $on_footZ = $ryder_contact_blip
$on_footZ += 2.0
Char.SetCoordinates($stattreadstamina_ctr, $sweet_contact_blip, $on_footZ, $strap_contact_blip)

:DUAL_16197
Game.ShutAllCharsUp(False)
$weapon_shop1_blip = 0
Text.ClearThisPrint('BUSY')
Mission.Finish
return 

//-------------Mission 5---------------
// Originally: Video Game: Go Go Space Monkey

:SHTR
gosub @SHTR_67
if 
  has_deatharrest_been_executed 
goto_if_false @SHTR_27
gosub @SHTR_6749

:SHTR_27
Camera.DoFade(500, Fade.In)

:SHTR_34
if 
  Camera.GetFadingStatus
goto_if_false @SHTR_58
wait 0
goto @SHTR_34

:SHTR_58
gosub @SHTR_6769
terminate_this_script 

:SHTR_67
$weapon_shop1_blip = 1
if 
  $flag_syn1_skip1 == 0
goto_if_false @SHTR_94
Stat.RegisterMissionGiven

:SHTR_94
script_name 'SHTR'
wait 0
Game.ShutAllCharsUp(True)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
World.ClearArea($on_footY, $on_footZ, $in_carX, 50.0, False)
Audio.SetMusicDoesFade(False)
Text.LoadMissionText('SHTR')
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1806)

:SHTR_167
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @SHTR_193
wait 0
goto @SHTR_167

:SHTR_193
Char.FreezePosition($stattreadstamina_ctr, True)
Player.SetControl($statbike_temp, False)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
World.ClearArea($on_footY, $on_footZ, $in_carX, 25.0, True)
Text.UseCommands(True)
Txd.LoadDictionary('LD_SHTR')
Txd.LoadSprite(1, "SPLSH")
Txd.LoadSprite(2, "BSTARS")
Txd.LoadSprite(3, "FSTAR")
Txd.LoadSprite(4, "HI_A")
Txd.LoadSprite(5, "HI_B")
Txd.LoadSprite(6, "HI_C")
Txd.LoadSprite(7, "UN_A")
Txd.LoadSprite(8, "UN_B")
Txd.LoadSprite(9, "UN_C")
Txd.LoadSprite(10, "SHIP")
Txd.LoadSprite(11, "FIRE")
Txd.LoadSprite(12, "UFO")
Txd.LoadSprite(13, "KAMI")
Txd.LoadSprite(14, "NMEF")
Txd.LoadSprite(15, "EX1")
Txd.LoadSprite(16, "EX2")
Txd.LoadSprite(17, "EX3")
Txd.LoadSprite(18, "EX4")
Txd.LoadSprite(19, "CBARL")
Txd.LoadSprite(20, "CBARM")
Txd.LoadSprite(21, "CBARR")
Txd.LoadSprite(22, "HBARL")
Txd.LoadSprite(23, "HBARM")
Txd.LoadSprite(24, "HBARR")
Txd.LoadSprite(25, "TVCORN")
Txd.LoadSprite(26, "TVL")
Txd.LoadSprite(27, "TVR")
Txd.LoadSprite(28, "PA")
Txd.LoadSprite(29, "PM2")
Txd.LoadSprite(30, "PM3")
Txd.LoadSprite(31, "PS1")
Txd.LoadSprite(32, "PS2")
Txd.LoadSprite(33, "PS3")

:SHTR_582
gosub @SHTR_17428
gosub @SHTR_15776
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
Hud.DrawSprite(25, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(25, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(25, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(25, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
TIMERB = 0

:SHTR_761
wait 0
set_var_float_to_var_float $shtr_background_pos = $shtr_time_diff
$shtr_exp_start = 2
$shtr_sprite = 1.0
gosub @SHTR_6968
$shtr_start_time = 1.0
gosub @SHTR_7211
set_var_float_to_var_float $shtr_time_diff = $shtr_background_pos
Camera.DoFade(0, Fade.In)
$shtr_temp, $shtr_tempF, $shtr_plyr_x, $shtr_plyr_y = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)

:SHTR_844
if 
  $shtr_respawn_time == 1
goto_if_false @SHTR_899
if and
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  $shtr_tempF == 0
goto_if_false @SHTR_899
$shtr_respawn_time = 0

:SHTR_899
if 
  $shtr_button_pressed == 1
goto_if_false @SHTR_1135
Hud.DrawSprite(1, 320.0, 164.0, 386.0, 192.0, 150, 150, 150, 255)
Hud.DrawSprite(4, 320.0, 312.0, 64.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(8, 320.0, 344.0, 128.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(9, 320.0, 376.0, 64.0, 32.0, 150, 150, 150, 255)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SHTR_1135
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1065)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1062)
$shtr_enemy_col_y = Clock.GetGameTimer()
$5996 = Clock.GetGameTimer()
$shtr_button_pressed = 0

:SHTR_1135
if 
  $shtr_button_pressed == 2
goto_if_false @SHTR_1353
Hud.DrawSprite(1, 320.0, 164.0, 386.0, 192.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 320.0, 312.0, 64.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(5, 320.0, 344.0, 128.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(9, 320.0, 376.0, 64.0, 32.0, 150, 150, 150, 255)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SHTR_1353
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1065)
$5996 = Clock.GetGameTimer()
$shtr_current = 4
$shtr_button_pressed = 4

:SHTR_1353
if 
  $shtr_button_pressed == 3
goto_if_false @SHTR_1565
Hud.DrawSprite(1, 320.0, 164.0, 386.0, 192.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 320.0, 312.0, 64.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(8, 320.0, 344.0, 128.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(6, 320.0, 376.0, 64.0, 32.0, 150, 150, 150, 255)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SHTR_1565
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1066)
Camera.DoFade(0, Fade.Out)
goto @SHTR_27

:SHTR_1565
if 
  $shtr_respawn_time == 0
goto_if_false @SHTR_2027
if 
  $shtr_button_pressed == 1
goto_if_false @SHTR_1731
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -64 > $shtr_tempF
goto_if_false @SHTR_1666
$shtr_button_pressed = 3
$shtr_respawn_time = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
goto @SHTR_844

:SHTR_1666
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  $shtr_tempF > 64
goto_if_false @SHTR_1731
$shtr_button_pressed = 2
$shtr_respawn_time = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
goto @SHTR_844

:SHTR_1731
if 
  $shtr_button_pressed == 2
goto_if_false @SHTR_1879
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -64 > $shtr_tempF
goto_if_false @SHTR_1814
$shtr_button_pressed = 1
$shtr_respawn_time = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
goto @SHTR_844

:SHTR_1814
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  $shtr_tempF > 64
goto_if_false @SHTR_1879
$shtr_button_pressed = 3
$shtr_respawn_time = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
goto @SHTR_844

:SHTR_1879
if 
  $shtr_button_pressed == 3
goto_if_false @SHTR_2027
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -64 > $shtr_tempF
goto_if_false @SHTR_1962
$shtr_button_pressed = 2
$shtr_respawn_time = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
goto @SHTR_844

:SHTR_1962
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  $shtr_tempF > 64
goto_if_false @SHTR_2027
$shtr_button_pressed = 1
$shtr_respawn_time = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
goto @SHTR_844

:SHTR_2027
if 
  $shtr_button_pressed == 0
goto_if_false @SHTR_5956
$shtr_temp, $shtr_tempF, $shtr_plyr_x, $shtr_plyr_y = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if 
  $shtr_reload_diff == 0
goto_if_false @SHTR_2150
$5598 = Clock.GetGameTimer()
if 
  $shtr_range_start > 0
goto_if_false @SHTR_2150
$shtr_range_start -= 1
$shtr_current_projectile = 2.0
$shtr_current_projectile_fired = 4.0
$shtr_enemy_col_x = 5
$shtr_reload_diff = 2
$shtr_enemy_shot_speed = 0

:SHTR_2150
if 
  $shtr_reload_diff == 1
goto_if_false @SHTR_2200
Hud.DrawSprite(10, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 255)

:SHTR_2200
if or
  $shtr_reload_diff == 1
  $shtr_reload_diff == 3
goto_if_false @SHTR_2287
set_var_int_to_var_int $shtr_plyr_col_x = $shtr_temp
$shtr_plyr_col_x /= 10
cset_var_float_to_var_int $shtr_plyr_col_y =# $shtr_plyr_col_x
add_float_var_to_float_var $shtr_button1 += $shtr_plyr_col_y
set_var_int_to_var_int $shtr_plyr_col_x = $shtr_tempF
$shtr_plyr_col_x /= 10
cset_var_float_to_var_int $shtr_plyr_col_y =# $shtr_plyr_col_x
add_float_var_to_float_var $shtr_player_alive += $shtr_plyr_col_y

:SHTR_2287
if or
  $shtr_reload_diff == 1
  $shtr_reload_diff == 3
goto_if_false @SHTR_2420
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
goto_if_false @SHTR_2339
$shtr_player_alive -= 12.0

:SHTR_2339
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
goto_if_false @SHTR_2366
$shtr_player_alive += 12.0

:SHTR_2366
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @SHTR_2393
$shtr_button1 -= 12.0

:SHTR_2393
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @SHTR_2420
$shtr_button1 += 12.0

:SHTR_2420
if 
  80.0 > $shtr_button1
goto_if_false @SHTR_2451
$shtr_button1 = 80.0

:SHTR_2451
if 
  $shtr_button1 > 560.0
goto_if_false @SHTR_2482
$shtr_button1 = 560.0

:SHTR_2482
if 
  80.0 > $shtr_player_alive
goto_if_false @SHTR_2513
$shtr_player_alive = 80.0

:SHTR_2513
if 
  $shtr_player_alive > 368.0
goto_if_false @SHTR_2544
$shtr_player_alive = 368.0

:SHTR_2544
if 
  $shtr_reload_end == 1
goto_if_false @SHTR_2683
$shtr_layer_x = Clock.GetGameTimer()
set_var_int_to_var_int $shtr_origin = $shtr_layer_x
sub_int_var_from_int_var $shtr_origin -= $shtr_enemy_col_y
if 
  $unk_5960 == 0
goto_if_false @SHTR_2651
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SHTR_2644
if 
  is_int_var_greater_than_int_var $shtr_origin > $shtr_fire_alive
goto_if_false @SHTR_2644
$shtr_reload_end = 0

:SHTR_2644
goto @SHTR_2683

:SHTR_2651
if or
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  is_int_var_greater_than_int_var $shtr_origin > $shtr_fire_alive
goto_if_false @SHTR_2683
$shtr_reload_end = 0

:SHTR_2683
if 
  7 > $shtr_enemy_col_x
goto_if_false @SHTR_2708
$shtr_enemy_col_x = 7

:SHTR_2708
$shtr_enemy_col_x -= 7
if or
  $shtr_reload_diff == 1
  $shtr_reload_diff == 3
goto_if_false @SHTR_3210
if 
  1000 > $shtr_enemy_col_x
goto_if_false @SHTR_3210
if 
  $shtr_reload_end == 0
goto_if_false @SHTR_3210
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SHTR_3210
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1059)
$shtr_enemy_alive = Math.Cos($shtr_y_add)
set_var_float_to_var_float $5861 = $shtr_end_time
mult_float_var_by_float_var $5861 *= $shtr_enemy_alive
$shtr_current_enemy = Math.Sin($shtr_y_add)
set_var_float_to_var_float $5862 = $shtr_end_time
mult_float_var_by_float_var $5862 *= $shtr_current_enemy
if 
  $5663($5662,16i) == 0
goto_if_false @SHTR_2949
set_var_float_to_var_float $5711($5662,16f) = $shtr_button1
set_var_float_to_var_float $5695($5662,16f) = $shtr_player_alive
set_var_float_to_var_float $5679($5662,16f) = $5711($5662,16f)
$5679($5662,16f) += 16.0
$5663($5662,16i) = 1

:SHTR_2949
if or
  $unk_5961 == 1
  $unk_5961 == 2
goto_if_false @SHTR_3061
if 
  $5729($5662,16i) == 0
goto_if_false @SHTR_3061
set_var_float_to_var_float $5777($5662,16f) = $shtr_button1
set_var_float_to_var_float $5761($5662,16f) = $shtr_player_alive
set_var_float_to_var_float $5745($5662,16f) = $5777($5662,16f)
$5745($5662,16f) += 16.0
$5729($5662,16i) = 1

:SHTR_3061
if 
  $unk_5961 == 2
goto_if_false @SHTR_3166
if 
  $5793($5662,16i) == 0
goto_if_false @SHTR_3166
set_var_float_to_var_float $5841($5662,16f) = $shtr_button1
set_var_float_to_var_float $5825($5662,16f) = $shtr_player_alive
set_var_float_to_var_float $5809($5662,16f) = $5841($5662,16f)
$5809($5662,16f) += 16.0
$5793($5662,16i) = 1

:SHTR_3166
$shtr_enemy_col_y = Clock.GetGameTimer()
$5662 += 1
$shtr_reload_end = 1
if 
  $5662 == 16
goto_if_false @SHTR_3210
$5662 = 0

:SHTR_3210
gosub @SHTR_9193
gosub @SHTR_10121
if 
  $shtr_pickup_y == 0
goto_if_false @SHTR_4076
Hud.DrawSprite($shtr_speed_pickup, $shtr_multi_pickup, $unk_5957, 32.0, 32.0, 150, 150, 150, 255)
if 
  $shtr_auto_pickup == 0
goto_if_false @SHTR_3360
if and
  368.0 > $unk_5957
  $shtr_multi_pickup > 80.0
goto_if_false @SHTR_3351
$shtr_multi_pickup += -1.0
$unk_5957 += 1.0
goto @SHTR_3360

:SHTR_3351
$shtr_auto_pickup = Math.RandomIntInRange(0, 4)

:SHTR_3360
if 
  $shtr_auto_pickup == 1
goto_if_false @SHTR_3445
if and
  $shtr_multi_pickup > 80.0
  $unk_5957 > 80.0
goto_if_false @SHTR_3436
$shtr_multi_pickup += -1.0
$unk_5957 += -1.0
goto @SHTR_3445

:SHTR_3436
$shtr_auto_pickup = Math.RandomIntInRange(0, 4)

:SHTR_3445
if 
  $shtr_auto_pickup == 2
goto_if_false @SHTR_3530
if and
  $unk_5957 > 80.0
  560.0 > $shtr_multi_pickup
goto_if_false @SHTR_3521
$shtr_multi_pickup += 1.0
$unk_5957 += -1.0
goto @SHTR_3530

:SHTR_3521
$shtr_auto_pickup = Math.RandomIntInRange(0, 4)

:SHTR_3530
if 
  $shtr_auto_pickup == 3
goto_if_false @SHTR_3615
if and
  560.0 > $shtr_multi_pickup
  368.0 > $unk_5957
goto_if_false @SHTR_3606
$shtr_multi_pickup += 1.0
$unk_5957 += 1.0
goto @SHTR_3615

:SHTR_3606
$shtr_auto_pickup = Math.RandomIntInRange(0, 4)

:SHTR_3615
if 
  Math.Do2DRectanglesCollide($shtr_button1, $shtr_player_alive, 32.0, 32.0, $shtr_multi_pickup, $unk_5957, 32.0, 32.0)
goto_if_false @SHTR_4076
if 
  6.5 > $shtr_current_projectile_fired
goto_if_false @SHTR_3701
$shtr_current_projectile += 0.5
$shtr_current_projectile_fired += 0.5

:SHTR_3701
$shtr_multi_pickup = 0.0
$unk_5957 = 0.0
$shtr_auto_pickup = 0
if 
  $shtr_speed_pickup == 28
goto_if_false @SHTR_3780
$unk_5960 = 1
$shtr_pickup_y = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1065)

:SHTR_3780
if 
  $shtr_speed_pickup == 33
goto_if_false @SHTR_3839
$shtr_fire_alive = 50
$shtr_speed_pickup = 28
$shtr_pickup_y = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1065)

:SHTR_3839
if 
  $shtr_speed_pickup == 30
goto_if_false @SHTR_3898
$unk_5961 = 2
$shtr_speed_pickup = 33
$shtr_pickup_y = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1065)

:SHTR_3898
if 
  $shtr_speed_pickup == 32
goto_if_false @SHTR_3957
$shtr_fire_alive = 100
$shtr_speed_pickup = 30
$shtr_pickup_y = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1065)

:SHTR_3957
if 
  $shtr_speed_pickup == 29
goto_if_false @SHTR_4016
$unk_5961 = 1
$shtr_speed_pickup = 32
$shtr_pickup_y = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1065)

:SHTR_4016
if 
  $shtr_speed_pickup == 31
goto_if_false @SHTR_4076
$shtr_fire_alive = 150
$shtr_speed_pickup = 29
$shtr_pickup_y = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1065)

:SHTR_4076
if 
  $shtr_projectile_alive == 0
goto_if_false @SHTR_4190
if 
  TIMERB > 500
goto_if_false @SHTR_4190
if 
  $5864[0] == 0
goto_if_false @SHTR_4190
$5863 = 0
if 
  60.0 > $shtr_pickup_move_switch
goto_if_false @SHTR_4169
$shtr_pickup_move_switch += 5.0

:SHTR_4169
gosub @SHTR_8009
TIMERB = 0
$shtr_projectile_alive += 1

:SHTR_4190
if and
  $shtr_projectile_alive > 0
  8 > $shtr_projectile_alive
goto_if_false @SHTR_4230
set_var_int_to_var_int $5863 = $shtr_projectile_alive
gosub @SHTR_7454

:SHTR_4230
if 
  $shtr_projectile_alive == 8
goto_if_false @SHTR_4347
if and
  $5864[0] == 0
  $5864[1] == 0
  $5864[2] == 0
  $5864[3] == 0
goto_if_false @SHTR_4347
if and
  $5864[4] == 0
  $5864[5] == 0
  $5864[6] == 0
  $5864[7] == 0
goto_if_false @SHTR_4347
$shtr_pickup_x = 0
$5880 = 0
$shtr_projectile_alive = 0

:SHTR_4347
gosub @SHTR_8771
gosub @SHTR_7546
gosub @SHTR_9618
if 
  $shtr_reload_diff == 2
goto_if_false @SHTR_5128
if 
  $shtr_enemy_shot_speed == 2
goto_if_false @SHTR_4773
$5599 = Clock.GetGameTimer()
set_var_int_to_var_int $5600 = $5599
sub_int_var_from_int_var $5600 -= $5598
if and
  $5600 >= 0
  100 > $5600
goto_if_false @SHTR_4482
Hud.DrawSprite(15, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 255)

:SHTR_4482
if and
  $5600 >= 100
  200 > $5600
goto_if_false @SHTR_4540
Hud.DrawSprite(16, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 255)

:SHTR_4540
if and
  $5600 >= 200
  300 > $5600
goto_if_false @SHTR_4599
Hud.DrawSprite(17, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 255)

:SHTR_4599
if and
  $5600 >= 300
  400 > $5600
goto_if_false @SHTR_4658
Hud.DrawSprite(18, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 255)

:SHTR_4658
if 
  $5600 > 499
goto_if_false @SHTR_4766
$shtr_button1 = 80.0
$shtr_player_alive = 224.0
$shtr_reload_diff = 3
$shtr_enemy_shot_speed = 0
$shtr_pickup_x = 0
$shtr_pickup_y = 1
$shtr_speed_pickup = 31
$shtr_fire_alive = 250
$unk_5960 = 0
$unk_5961 = 0
$shtr_auto_pickup = 0
$5598 = Clock.GetGameTimer()

:SHTR_4766
goto @SHTR_5128

:SHTR_4773
$5599 = Clock.GetGameTimer()
set_var_int_to_var_int $5600 = $5599
sub_int_var_from_int_var $5600 -= $5598
if and
  $5600 >= 0
  100 > $5600
goto_if_false @SHTR_4851
Hud.DrawSprite(15, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 255)

:SHTR_4851
if and
  $5600 >= 100
  200 > $5600
goto_if_false @SHTR_4909
Hud.DrawSprite(16, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 255)

:SHTR_4909
if and
  $5600 >= 200
  300 > $5600
goto_if_false @SHTR_4968
Hud.DrawSprite(17, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 255)

:SHTR_4968
if and
  $5600 >= 300
  400 > $5600
goto_if_false @SHTR_5027
Hud.DrawSprite(18, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 255)

:SHTR_5027
if 
  $5600 > 499
goto_if_false @SHTR_5128
$5598 = Clock.GetGameTimer()
$shtr_button1 = 80.0
$shtr_player_alive = 224.0
$shtr_pickup_x = 0
$shtr_pickup_y = 1
$shtr_speed_pickup = 31
$shtr_fire_alive = 250
$unk_5960 = 0
$unk_5961 = 0
$shtr_auto_pickup = 0
$shtr_reload_diff = 3

:SHTR_5128
if 
  $shtr_reload_diff == 3
goto_if_false @SHTR_5781
$5599 = Clock.GetGameTimer()
set_var_int_to_var_int $5600 = $5599
sub_int_var_from_int_var $5600 -= $5598
if and
  $5600 >= 0
  100 > $5600
goto_if_false @SHTR_5224
Hud.DrawSprite(10, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 150)

:SHTR_5224
if and
  $5600 >= 200
  300 > $5600
goto_if_false @SHTR_5283
Hud.DrawSprite(10, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 150)

:SHTR_5283
if and
  $5600 >= 400
  500 > $5600
goto_if_false @SHTR_5342
Hud.DrawSprite(10, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 150)

:SHTR_5342
if and
  $5600 >= 600
  700 > $5600
goto_if_false @SHTR_5401
Hud.DrawSprite(10, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 150)

:SHTR_5401
if and
  $5600 >= 800
  900 > $5600
goto_if_false @SHTR_5460
Hud.DrawSprite(10, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 150)

:SHTR_5460
if and
  $5600 >= 1000
  1100 > $5600
goto_if_false @SHTR_5519
Hud.DrawSprite(10, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 150)

:SHTR_5519
if and
  $5600 >= 1200
  1300 > $5600
goto_if_false @SHTR_5578
Hud.DrawSprite(10, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 150)

:SHTR_5578
if and
  $5600 >= 1400
  1500 > $5600
goto_if_false @SHTR_5637
Hud.DrawSprite(10, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 150)

:SHTR_5637
if and
  $5600 >= 1600
  1700 > $5600
goto_if_false @SHTR_5696
Hud.DrawSprite(10, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 150)

:SHTR_5696
if and
  $5600 >= 1800
  1900 > $5600
goto_if_false @SHTR_5755
Hud.DrawSprite(10, $shtr_button1, $shtr_player_alive, 32.0, 32.0, 150, 150, 150, 150)

:SHTR_5755
if 
  $5600 >= 2000
goto_if_false @SHTR_5781
$shtr_reload_diff = 1

:SHTR_5781
if 
  is_int_var_greater_than_int_var $shtr_range_end > $shtr_respawn
goto_if_false @SHTR_5815
set_var_int_to_var_int $shtr_respawn = $shtr_range_end
$shtr_rsticky = 1

:SHTR_5815
gosub @SHTR_6929
Text.SetScale(0.6, 1.2)
Text.SetRightJustify(True)
Text.DisplayWithNumber(560.0, 48.0, 'SHTR_2B', $shtr_range_start)
gosub @SHTR_6929
Text.SetCenter(False)
Text.SetJustify(True)
Text.SetScale(0.6, 1.2)
Text.DisplayWithNumber(80.0, 48.0, 'SHTR_2D', $shtr_range_end)
gosub @SHTR_6929
Text.SetScale(0.6, 1.2)
Text.DisplayWithNumber(320.0, 48.0, 'SHTR_2C', $shtr_respawn)

:SHTR_5956
if 
  $shtr_button_pressed == 0
goto_if_false @SHTR_6064
if 
  $shtr_reload_diff == 0
goto_if_false @SHTR_6064
if 
  $shtr_range_start == 0
goto_if_false @SHTR_6064
$shtr_button_pressed = 4
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1063)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1067)
$shtr_current = 0

:SHTR_6064
if 
  $shtr_button_pressed == 4
goto_if_false @SHTR_6372
if 
  $shtr_current == 0
goto_if_false @SHTR_6152
gosub @SHTR_6929
Text.SetScale(2.0, 4.0)
Text.Display(320.0, 196.0, 'SHTR_3B')
$5598 = Clock.GetGameTimer()
$shtr_current = 1

:SHTR_6152
if 
  $shtr_current == 1
goto_if_false @SHTR_6257
gosub @SHTR_6929
Text.SetScale(2.0, 4.0)
Text.Display(320.0, 196.0, 'SHTR_3B')
$5599 = Clock.GetGameTimer()
set_var_int_to_var_int $5600 = $5599
sub_int_var_from_int_var $5600 -= $5598
if 
  $5600 > 5000
goto_if_false @SHTR_6257
$shtr_current = 2

:SHTR_6257
if 
  $shtr_current == 2
goto_if_false @SHTR_6315
if 
  is_int_var_greater_than_int_var $2066[9] > $shtr_range_end
goto_if_false @SHTR_6308
$shtr_current = 4
goto @SHTR_6315

:SHTR_6308
gosub @SHTR_11079

:SHTR_6315
if 
  $shtr_current == 3
goto_if_false @SHTR_6347
gosub @SHTR_11396
gosub @SHTR_12459

:SHTR_6347
if 
  $shtr_current == 4
goto_if_false @SHTR_6372
gosub @SHTR_12459

:SHTR_6372
if 
  $shtr_button_pressed == 4
goto_if_false @SHTR_6441
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  $shtr_current <> 1
goto_if_false @SHTR_6441
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1066)
goto @SHTR_582

:SHTR_6441
Hud.DrawSprite(25, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(25, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(25, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(25, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
if 
  $shtr_button_pressed == 4
goto_if_false @SHTR_6742
if 
  $shtr_current == 4
goto_if_false @SHTR_6742
$5995 = Clock.GetGameTimer()
set_var_int_to_var_int $5994 = $5995
sub_int_var_from_int_var $5994 -= $5996
if 
  10000 > $5994
goto_if_false @SHTR_6742
Hud.DrawWindow(35.0, 24.0, 200.0, 50.0, 'DUMMY', 0)
Text.SetCenter(False)
Text.SetWrapX(239.0)
Text.SetFont(Font.Subtitles)
Text.SetScale(0.5, 1.8)
Text.Display(40.0, 29.0, 'SH_BCK')

:SHTR_6742
goto @SHTR_761

:SHTR_6749
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
return 

:SHTR_6769
Text.ClearThisPrint('BUSY')
Txd.Remove
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Game.ShutAllCharsUp(False)
Audio.SetMusicDoesFade(True)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1063)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SHTR_6918
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $gravY, $gravZ, $wheeloX, 2.0, 2.0, 2.0, False)
goto_if_false @SHTR_6904
set_var_float_to_var_float $on_footZ = $gravZ
$on_footZ += 2.0
Char.SetCoordinates($stattreadstamina_ctr, $gravY, $on_footZ, $wheeloX)

:SHTR_6904
Char.FreezePosition($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)

:SHTR_6918
$weapon_shop1_blip = 0
Mission.Finish
return 

:SHTR_6929
Text.SetColor(255, 255, 255, 255)
Text.SetScale(1.0, 2.0)
Text.SetCenter(True)
Text.SetWrapX(640.0)
return 

:SHTR_6968
set_var_float_to_var_float $shtr_fire_speed = $shtr_background_pos
$shtr_fire_speed -= 256.0
Hud.DrawSprite($shtr_exp_start, $shtr_fire_speed, 336.0, 256.0, 256.0, 150, 150, 150, 255)
set_var_float_to_var_float $shtr_fire_speed = $shtr_background_pos
Hud.DrawSprite($shtr_exp_start, $shtr_fire_speed, 336.0, 256.0, 256.0, 150, 150, 150, 255)
set_var_float_to_var_float $shtr_fire_speed = $shtr_background_pos
$shtr_fire_speed += 256.0
Hud.DrawSprite($shtr_exp_start, $shtr_fire_speed, 336.0, 256.0, 256.0, 150, 150, 150, 255)
set_var_float_to_var_float $shtr_fire_speed = $shtr_background_pos
$shtr_fire_speed += 512.0
Hud.DrawSprite($shtr_exp_start, $shtr_fire_speed, 336.0, 256.0, 256.0, 150, 150, 150, 255)
sub_timed_float_var_from_float_var $shtr_background_pos -=@ $shtr_sprite
if 
  0.0 > $shtr_background_pos
goto_if_false @SHTR_7209
$shtr_background_pos += 256.0

:SHTR_7209
return 

:SHTR_7211
set_var_float_to_var_float $shtr_fire_speed = $shtr_background_pos
$shtr_fire_speed -= 256.0
Hud.DrawSprite($shtr_exp_start, $shtr_fire_speed, 112.0, 256.0, 256.0, 150, 150, 150, 255)
set_var_float_to_var_float $shtr_fire_speed = $shtr_background_pos
Hud.DrawSprite($shtr_exp_start, $shtr_fire_speed, 112.0, 256.0, 256.0, 150, 150, 150, 255)
set_var_float_to_var_float $shtr_fire_speed = $shtr_background_pos
$shtr_fire_speed += 256.0
Hud.DrawSprite($shtr_exp_start, $shtr_fire_speed, 112.0, 256.0, 256.0, 150, 150, 150, 255)
set_var_float_to_var_float $shtr_fire_speed = $shtr_background_pos
$shtr_fire_speed += 512.0
Hud.DrawSprite($shtr_exp_start, $shtr_fire_speed, 112.0, 256.0, 256.0, 150, 150, 150, 255)
sub_timed_float_var_from_float_var $shtr_background_pos -=@ $shtr_start_time
if 
  0.0 > $shtr_background_pos
goto_if_false @SHTR_7452
$shtr_background_pos += 256.0

:SHTR_7452
return 

:SHTR_7454
if 
  is_int_lvar_greater_than_int_var TIMERB > $5660
goto_if_false @SHTR_7544
if 
  $5864($5863,16i) == 0
goto_if_false @SHTR_7544
set_var_float_to_var_float $5881($5863,16f) = $5913
set_var_float_to_var_float $5929($5863,16f) = $5929[0]
$5864($5863,16i) = 1
TIMERB = 0
$shtr_projectile_alive += 1

:SHTR_7544
return 

:SHTR_7546
$5863 = 0

:SHTR_7553
if 
  8 > $5863
goto_if_false @SHTR_8007
if 
  $5864($5863,16i) == 2
goto_if_false @SHTR_7993
$5617($5863,16i) = Clock.GetGameTimer()
set_var_int_to_var_int $5633($5863,16i) = $5617($5863,16i)
sub_int_var_from_int_var $5633($5863,16i) -= $5601($5863,16i)
if and
  $5633($5863,16i) >= 0
  100 > $5633($5863,16i)
goto_if_false @SHTR_7707
Hud.DrawSprite(15, $5881($5863,16f), $5897($5863,16f), 32.0, 32.0, 150, 150, 150, 255)

:SHTR_7707
if and
  $5633($5863,16i) >= 100
  200 > $5633($5863,16i)
goto_if_false @SHTR_7781
Hud.DrawSprite(16, $5881($5863,16f), $5897($5863,16f), 32.0, 32.0, 150, 150, 150, 255)

:SHTR_7781
if and
  $5633($5863,16i) >= 200
  300 > $5633($5863,16i)
goto_if_false @SHTR_7856
Hud.DrawSprite(17, $5881($5863,16f), $5897($5863,16f), 32.0, 32.0, 150, 150, 150, 255)

:SHTR_7856
if and
  $5633($5863,16i) >= 300
  400 > $5633($5863,16i)
goto_if_false @SHTR_7931
Hud.DrawSprite(18, $5881($5863,16f), $5897($5863,16f), 32.0, 32.0, 150, 150, 150, 255)

:SHTR_7931
if 
  $5633($5863,16i) > 499
goto_if_false @SHTR_7993
$5881($5863,16f) = 0.0
$5897($5863,16f) = 0.0
$5864($5863,16i) = 0

:SHTR_7993
$5863 += 1
goto @SHTR_7553

:SHTR_8007
return 

:SHTR_8009
if 
  $5864[0] == 0
goto_if_false @SHTR_8769
if 
  $5880 == 0
goto_if_false @SHTR_8769
$5913 = Math.RandomFloatInRange(640.0, 720.0)
set_var_float_to_var_float $5881[0] = $5913
$shtr_gen_y = Math.RandomFloatInRange(240.0, 640.0)
$shtr_pickup_counter = Math.RandomFloatInRange(80.0, 368.0)
set_var_float_to_var_float $shtr_pickup_collected = $shtr_pickup_counter
sub_float_var_from_float_var $shtr_pickup_collected -= $shtr_pickup_move_switch
if 
  80.0 > $shtr_pickup_collected
goto_if_false @SHTR_8143
add_float_var_to_float_var $shtr_pickup_counter += $shtr_pickup_move_switch

:SHTR_8143
set_var_float_to_var_float $shtr_pickup_current = $shtr_pickup_counter
add_float_var_to_float_var $shtr_pickup_current += $shtr_pickup_move_switch
if 
  80.0 > $shtr_pickup_current
goto_if_false @SHTR_8188
sub_float_var_from_float_var $shtr_pickup_counter -= $shtr_pickup_move_switch

:SHTR_8188
$5929[0] = Math.RandomFloatInRange($shtr_current_projectile, $shtr_current_projectile_fired)
if and
  $5929[0] >= 1.0
  1.5 > $5929[0]
goto_if_false @SHTR_8238
$5660 = 500

:SHTR_8238
if and
  $5929[0] >= 1.5
  2.0 > $5929[0]
goto_if_false @SHTR_8277
$5660 = 475

:SHTR_8277
if and
  $5929[0] >= 2.0
  2.5 > $5929[0]
goto_if_false @SHTR_8316
$5660 = 450

:SHTR_8316
if and
  $5929[0] >= 2.5
  3.0 > $5929[0]
goto_if_false @SHTR_8355
$5660 = 425

:SHTR_8355
if and
  $5929[0] >= 3.0
  3.5 > $5929[0]
goto_if_false @SHTR_8394
$5660 = 400

:SHTR_8394
if and
  $5929[0] >= 3.5
  4.0 > $5929[0]
goto_if_false @SHTR_8433
$5660 = 375

:SHTR_8433
if and
  $5929[0] >= 4.0
  4.5 > $5929[0]
goto_if_false @SHTR_8472
$5660 = 350

:SHTR_8472
if and
  $5929[0] >= 4.5
  5.0 > $5929[0]
goto_if_false @SHTR_8511
$5660 = 325

:SHTR_8511
if and
  $5929[0] >= 5.0
  5.5 > $5929[0]
goto_if_false @SHTR_8550
$5660 = 300

:SHTR_8550
if and
  $5929[0] >= 5.5
  6.0 > $5929[0]
goto_if_false @SHTR_8589
$5660 = 275

:SHTR_8589
if and
  $5929[0] >= 6.0
  6.5 > $5929[0]
goto_if_false @SHTR_8628
$5660 = 250

:SHTR_8628
if and
  $5929[0] >= 6.5
  7.0 > $5929[0]
goto_if_false @SHTR_8667
$5660 = 225

:SHTR_8667
if and
  $5929[0] >= 7.0
  7.5 > $5929[0]
goto_if_false @SHTR_8706
$5660 = 200

:SHTR_8706
if and
  $5929[0] >= 7.5
  8.0 >= $5929[0]
goto_if_false @SHTR_8745
$5660 = 175

:SHTR_8745
$unk_5962 = Math.RandomIntInRange(100, 1500)
$5864[0] = 1
$5880 = 1

:SHTR_8769
return 

:SHTR_8771
$5863 = 0

:SHTR_8778
if 
  8 > $5863
goto_if_false @SHTR_9191
if 
  $5864($5863,16i) == 1
goto_if_false @SHTR_9177
Hud.DrawSprite(12, $5881($5863,16f), $5897($5863,16f), 32.0, 32.0, 150, 150, 150, 255)
sub_timed_float_var_from_float_var $5881($5863,16f) -=@ $5929($5863,16f)
set_var_float_to_var_float $shtr_initial_y = $5881($5863,16f)
div_float_var_by_float_var $shtr_initial_y /= $shtr_gen_y
set_var_float_to_var_float $shtr_gen_lo_y = $shtr_initial_y
$shtr_gen_lo_y *= 360.0
$shtr_gen_hi_y = Math.Sin($shtr_gen_lo_y)
set_var_float_to_var_float $shtr_amplitude = $shtr_gen_hi_y
mult_float_var_by_float_var $shtr_amplitude *= $shtr_pickup_move_switch
set_var_float_to_var_float $5897($5863,16f) = $shtr_amplitude
add_float_var_to_float_var $5897($5863,16f) += $shtr_pickup_counter
if 
  0.0 > $5881($5863,16f)
goto_if_false @SHTR_9177
$5881($5863,16f) = 0.0
$5897($5863,16f) = 0.0
if 
  $shtr_range_end > 24
goto_if_false @SHTR_9166
if 
  is_int_var_equal_to_int_var $shtr_range_end == $shtr_respawn
goto_if_false @SHTR_9159
if and
  is_int_var_greater_than_int_var $shtr_range_end > $2066[0]
  is_int_var_greater_than_int_var $shtr_range_end > $2066[1]
  is_int_var_greater_than_int_var $shtr_range_end > $2066[2]
  is_int_var_greater_than_int_var $shtr_range_end > $2066[3]
  is_int_var_greater_than_int_var $shtr_range_end > $2066[4]
goto_if_false @SHTR_9159
if and
  is_int_var_greater_than_int_var $shtr_range_end > $2066[5]
  is_int_var_greater_than_int_var $shtr_range_end > $2066[6]
  is_int_var_greater_than_int_var $shtr_range_end > $2066[7]
  is_int_var_greater_than_int_var $shtr_range_end > $2066[8]
  is_int_var_greater_than_int_var $shtr_range_end > $2066[9]
goto_if_false @SHTR_9159
$shtr_respawn -= 25

:SHTR_9159
$shtr_range_end -= 25

:SHTR_9166
$5864($5863,16i) = 0

:SHTR_9177
$5863 += 1
goto @SHTR_8778

:SHTR_9191
return 

:SHTR_9193
$5661 = 1

:SHTR_9200
if 
  16 > $5661
goto_if_false @SHTR_9616
if 
  $5663($5661,16i) == 1
goto_if_false @SHTR_9338
Hud.DrawSprite(11, $5679($5661,16f), $5695($5661,16f), $shtr_x_add, $shtr_x_add, 150, 150, 150, 255)
add_timed_float_var_to_float_var $5679($5661,16f) +=@ $shtr_end_time
if 
  $5679($5661,16f) > 639.0
goto_if_false @SHTR_9338
$5695($5661,16f) = 0.0
$5663($5661,16i) = 0

:SHTR_9338
if 
  $5729($5661,16i) == 1
goto_if_false @SHTR_9470
Hud.DrawSprite(11, $5745($5661,16f), $5761($5661,16f), $shtr_x_add, $shtr_x_add, 150, 150, 150, 255)
add_float_var_to_float_var $5745($5661,16f) += $5861
sub_float_var_from_float_var $5761($5661,16f) -= $5862
if 
  $5745($5661,16f) > 639.0
goto_if_false @SHTR_9470
$5761($5661,16f) = 0.0
$5729($5661,16i) = 0

:SHTR_9470
if 
  $5793($5661,16i) == 1
goto_if_false @SHTR_9602
Hud.DrawSprite(11, $5809($5661,16f), $5825($5661,16f), $shtr_x_add, $shtr_x_add, 150, 150, 150, 255)
add_float_var_to_float_var $5809($5661,16f) += $5861
add_float_var_to_float_var $5825($5661,16f) += $5862
if 
  $5809($5661,16f) > 639.0
goto_if_false @SHTR_9602
$5825($5661,16f) = 0.0
$5793($5661,16i) = 0

:SHTR_9602
$5661 += 1
goto @SHTR_9200

:SHTR_9616
return 

:SHTR_9618
$5863 = 0

:SHTR_9625
if 
  8 > $5863
goto_if_false @SHTR_10119
if 
  $5881($5863,16f) > 320.0
goto_if_false @SHTR_9822
if 
  $shtr_char == 0
goto_if_false @SHTR_9822
if 
  $5864($5863,16i) == 1
goto_if_false @SHTR_9822
if 
  $5985($5863,8i) == 0
goto_if_false @SHTR_9822
set_var_float_to_var_float $5969($5863,8f) = $5881($5863,16f)
set_var_float_to_var_float $5977($5863,8f) = $5897($5863,16f)
$5985($5863,8i) = 1
$shtr_char += 1
set_var_float_to_var_float $5968 = $5929($5863,16f)
$5968 *= 3.0
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1060)

:SHTR_9822
if 
  $shtr_char == 1
goto_if_false @SHTR_10105
if 
  $5985($5863,8i) == 1
goto_if_false @SHTR_10105
if 
  $shtr_reload_diff == 1
goto_if_false @SHTR_9986
if 
  Math.Do2DRectanglesCollide($shtr_button1, $shtr_player_alive, 32.0, 32.0, $5969($5863,8f), $5977($5863,8f), 8.0, 8.0)
goto_if_false @SHTR_9986
$5985($5863,8i) = 0
$5969($5863,8f) = 0.0
$5977($5863,8f) = 0.0
$shtr_char = 0
$shtr_reload_diff = 0

:SHTR_9986
Hud.DrawSprite(14, $5969($5863,8f), $5977($5863,8f), $shtr_x_add, $shtr_x_add, 150, 150, 150, 255)
sub_float_var_from_float_var $5969($5863,8f) -= $5968
if 
  0.0 > $5969($5863,8f)
goto_if_false @SHTR_10105
$5985($5863,8i) = 0
$5969($5863,8f) = 0.0
$5977($5863,8f) = 0.0
$shtr_char = 0

:SHTR_10105
$5863 += 1
goto @SHTR_9625

:SHTR_10119
return 

:SHTR_10121
$5863 = 0

:SHTR_10128
if 
  8 > $5863
goto_if_false @SHTR_11077
if 
  $5864($5863,16i) == 1
goto_if_false @SHTR_10927
$5661 = 1

:SHTR_10175
if 
  16 > $5661
goto_if_false @SHTR_10927
if 
  Math.Do2DRectanglesCollide($5679($5661,16f), $5695($5661,16f), $5727, $5728, $5881($5863,16f), $5897($5863,16f), $shtr_layer_scroll_speed_top, $shtr_layer_scroll_speed_bottom)
goto_if_false @SHTR_10433
$shtr_range_end += 100
$5864($5863,16i) = 2
$5663($5661,16i) = 0
$5679($5661,16f) = 0.0
$5695($5661,16f) = 0.0
$5601($5863,16i) = Clock.GetGameTimer()
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1061)
$shtr_pickup_x += 1
if 
  $shtr_pickup_y == 1
goto_if_false @SHTR_10433
if 
  $shtr_pickup_x == 8
goto_if_false @SHTR_10413
set_var_float_to_var_float $shtr_multi_pickup = $5881($5863,16f)
set_var_float_to_var_float $unk_5957 = $5897($5863,16f)
$shtr_pickup_y = 0
goto @SHTR_10433

:SHTR_10413
$shtr_multi_pickup = 0.0
$unk_5957 = 0.0

:SHTR_10433
if 
  Math.Do2DRectanglesCollide($5745($5661,16f), $5761($5661,16f), $5727, $5728, $5881($5863,16f), $5897($5863,16f), $shtr_layer_scroll_speed_top, $shtr_layer_scroll_speed_bottom)
goto_if_false @SHTR_10673
$shtr_range_end += 100
$5864($5863,16i) = 2
$5729($5661,16i) = 0
$5745($5661,16f) = 0.0
$5761($5661,16f) = 0.0
$5601($5863,16i) = Clock.GetGameTimer()
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1061)
$shtr_pickup_x += 1
if 
  $shtr_pickup_y == 1
goto_if_false @SHTR_10673
if 
  $shtr_pickup_x == 8
goto_if_false @SHTR_10653
set_var_float_to_var_float $shtr_multi_pickup = $5881($5863,16f)
set_var_float_to_var_float $unk_5957 = $5897($5863,16f)
$shtr_pickup_y = 0
goto @SHTR_10673

:SHTR_10653
$shtr_multi_pickup = 0.0
$unk_5957 = 0.0

:SHTR_10673
if 
  Math.Do2DRectanglesCollide($5809($5661,16f), $5825($5661,16f), $5727, $5728, $5881($5863,16f), $5897($5863,16f), $shtr_layer_scroll_speed_top, $shtr_layer_scroll_speed_bottom)
goto_if_false @SHTR_10913
$shtr_range_end += 100
$5864($5863,16i) = 2
$5793($5661,16i) = 0
$5809($5661,16f) = 0.0
$5825($5661,16f) = 0.0
$5601($5863,16i) = Clock.GetGameTimer()
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1061)
$shtr_pickup_x += 1
if 
  $shtr_pickup_y == 1
goto_if_false @SHTR_10913
if 
  $shtr_pickup_x == 8
goto_if_false @SHTR_10893
set_var_float_to_var_float $shtr_multi_pickup = $5881($5863,16f)
set_var_float_to_var_float $unk_5957 = $5897($5863,16f)
$shtr_pickup_y = 0
goto @SHTR_10913

:SHTR_10893
$shtr_multi_pickup = 0.0
$unk_5957 = 0.0

:SHTR_10913
$5661 += 1
goto @SHTR_10175

:SHTR_10927
if 
  $5864($5863,16i) == 1
goto_if_false @SHTR_11063
if 
  $shtr_reload_diff == 1
goto_if_false @SHTR_11063
if 
  Math.Do2DRectanglesCollide($shtr_button1, $shtr_player_alive, 32.0, 32.0, $5881($5863,16f), $5897($5863,16f), $shtr_layer_scroll_speed_top, $shtr_layer_scroll_speed_bottom)
goto_if_false @SHTR_11063
$5864($5863,16i) = 2
$5601($5863,16i) = Clock.GetGameTimer()
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1061)
$shtr_reload_diff = 0

:SHTR_11063
$5863 += 1
goto @SHTR_10128

:SHTR_11077
return 

:SHTR_11079
$shtr_source_slot = 9
$shtr_on_table = 0
$shtr_level = 1

:SHTR_11100
if and
  $shtr_source_slot >= 0
  $shtr_level == 1
goto_if_false @SHTR_11197
if 
  is_int_var_greater_than_int_var $shtr_range_end > $2066($shtr_source_slot,10i)
goto_if_false @SHTR_11183
$shtr_source_slot -= 1
$shtr_on_table = 1
$shtr_current = 3
$6073 = 1
goto @SHTR_11190

:SHTR_11183
$shtr_level = 0

:SHTR_11190
goto @SHTR_11100

:SHTR_11197
if 
  $shtr_on_table == 1
goto_if_false @SHTR_11394
$shtr_source_slot += 1
$shtr_write = 9
$shtr_played_before = 8

:SHTR_11236
if 
  is_int_var_greater_or_equal_to_int_var $shtr_played_before >= $shtr_source_slot
goto_if_false @SHTR_11356
set_var_text_label $2006($shtr_write,10s) = $2006($shtr_played_before,10s)
set_var_text_label $2026($shtr_write,10s) = $2026($shtr_played_before,10s)
set_var_text_label $2046($shtr_write,10s) = $2046($shtr_played_before,10s)
set_var_int_to_var_int $2076($shtr_write,10i) = $2076($shtr_played_before,10i)
set_var_int_to_var_int $2066($shtr_write,10i) = $2066($shtr_played_before,10i)
$shtr_write -= 1
$shtr_played_before -= 1
goto @SHTR_11236

:SHTR_11356
set_var_int_to_var_int $2066($shtr_source_slot,10i) = $shtr_range_end
set_var_int_to_var_int $2076($shtr_source_slot,10i) = $shtr_num_gen
$shtr_used = 0
$shtr_hi_1_x = 10

:SHTR_11394
return 

:SHTR_11396
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if and
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SHTR_11485
if and
  $tucking_contact_blip == 0
  $been_in_a_bmx == 0
goto_if_false @SHTR_11485
$6072 = 0

:SHTR_11485
if 
  $shtr_used == 0
goto_if_false @SHTR_11825
set_var_text_label $2006($shtr_source_slot,10s) = $5997($shtr_hi_1_x,37s)
set_var_text_label $2026($shtr_source_slot,10s) = s$5997[10]
set_var_text_label $2046($shtr_source_slot,10s) = s$5997[10]
if 
  $6072 == 0
goto_if_false @SHTR_11825
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  $been_in_a_bmx > 100
  -100 > $tucking_contact_blip
goto_if_false @SHTR_11664
if 
  36 > $shtr_hi_1_x
goto_if_false @SHTR_11630
$shtr_hi_1_x += 1
goto @SHTR_11637

:SHTR_11630
$shtr_hi_1_x = 0

:SHTR_11637
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
$6072 = 1

:SHTR_11664
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  -100 > $been_in_a_bmx
  $tucking_contact_blip > 100
goto_if_false @SHTR_11767
if 
  $shtr_hi_1_x > 0
goto_if_false @SHTR_11733
$shtr_hi_1_x -= 1
goto @SHTR_11740

:SHTR_11733
$shtr_hi_1_x = 36

:SHTR_11740
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
$6072 = 1

:SHTR_11767
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SHTR_11825
$shtr_hi_1_x = 10
$shtr_used = 1
$6072 = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1065)

:SHTR_11825
if 
  $shtr_used == 1
goto_if_false @SHTR_12141
set_var_text_label $2026($shtr_source_slot,10s) = $5997($shtr_hi_1_x,37s)
if 
  $6072 == 0
goto_if_false @SHTR_12141
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  $been_in_a_bmx > 100
  -100 > $tucking_contact_blip
goto_if_false @SHTR_11980
if 
  36 > $shtr_hi_1_x
goto_if_false @SHTR_11946
$shtr_hi_1_x += 1
goto @SHTR_11953

:SHTR_11946
$shtr_hi_1_x = 0

:SHTR_11953
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
$6072 = 1

:SHTR_11980
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  -100 > $been_in_a_bmx
  $tucking_contact_blip > 100
goto_if_false @SHTR_12083
if 
  $shtr_hi_1_x > 0
goto_if_false @SHTR_12049
$shtr_hi_1_x -= 1
goto @SHTR_12056

:SHTR_12049
$shtr_hi_1_x = 36

:SHTR_12056
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
$6072 = 1

:SHTR_12083
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SHTR_12141
$shtr_hi_1_x = 10
$shtr_used = 2
$6072 = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1065)

:SHTR_12141
if 
  $shtr_used == 2
goto_if_false @SHTR_12457
set_var_text_label $2046($shtr_source_slot,10s) = $5997($shtr_hi_1_x,37s)
if 
  $6072 == 0
goto_if_false @SHTR_12457
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  $been_in_a_bmx > 100
  -100 > $tucking_contact_blip
goto_if_false @SHTR_12296
if 
  36 > $shtr_hi_1_x
goto_if_false @SHTR_12262
$shtr_hi_1_x += 1
goto @SHTR_12269

:SHTR_12262
$shtr_hi_1_x = 0

:SHTR_12269
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
$6072 = 1

:SHTR_12296
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  -100 > $been_in_a_bmx
  $tucking_contact_blip > 100
goto_if_false @SHTR_12399
if 
  $shtr_hi_1_x > 0
goto_if_false @SHTR_12365
$shtr_hi_1_x -= 1
goto @SHTR_12372

:SHTR_12365
$shtr_hi_1_x = 36

:SHTR_12372
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1064)
$6072 = 1

:SHTR_12399
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SHTR_12457
$shtr_used = 3
$6072 = 1
$shtr_current = 4
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1065)

:SHTR_12457
return 

:SHTR_12459
$6074 = 0

:SHTR_12466
if 
  10 > $6074
goto_if_false @SHTR_12631
gosub @SHTR_6929
Text.Display($6075($6074,10f), $6115($6074,10f), $2006($6074,10s))
gosub @SHTR_6929
Text.Display($6085($6074,10f), $6125($6074,10f), $2026($6074,10s))
gosub @SHTR_6929
Text.Display($6095($6074,10f), $6135($6074,10f), $2046($6074,10s))
gosub @SHTR_6929
Text.SetRightJustify(True)
Text.DisplayWithNumber($6105($6074,10f), $6145($6074,10f), 'SHTR_LV', $2066($6074,10i))
$6074 += 1
goto @SHTR_12466

:SHTR_12631
gosub @SHTR_6929
Text.Display(320.0, 64.0, 'SHTR_2F')
if and
  $shtr_range_start == 0
  $6073 == 1
goto_if_false @SHTR_13066
if 
  $shtr_used == 0
goto_if_false @SHTR_12751
gosub @SHTR_6929
Text.SetColor(0, 255, 0, 255)
Text.Display($6075($shtr_source_slot,10f), $6115($shtr_source_slot,10f), $2006($shtr_source_slot,10s))
goto @SHTR_12793

:SHTR_12751
gosub @SHTR_6929
Text.SetColor(255, 0, 0, 255)
Text.Display($6075($shtr_source_slot,10f), $6115($shtr_source_slot,10f), $2006($shtr_source_slot,10s))

:SHTR_12793
if 
  $shtr_used == 1
goto_if_false @SHTR_12860
gosub @SHTR_6929
Text.SetColor(0, 255, 0, 255)
Text.Display($6085($shtr_source_slot,10f), $6125($shtr_source_slot,10f), $2026($shtr_source_slot,10s))
goto @SHTR_12902

:SHTR_12860
gosub @SHTR_6929
Text.SetColor(255, 0, 0, 255)
Text.Display($6085($shtr_source_slot,10f), $6125($shtr_source_slot,10f), $2026($shtr_source_slot,10s))

:SHTR_12902
if 
  $shtr_used == 2
goto_if_false @SHTR_12969
gosub @SHTR_6929
Text.SetColor(0, 255, 0, 255)
Text.Display($6095($shtr_source_slot,10f), $6135($shtr_source_slot,10f), $2046($shtr_source_slot,10s))
goto @SHTR_13011

:SHTR_12969
gosub @SHTR_6929
Text.SetColor(255, 0, 0, 255)
Text.Display($6095($shtr_source_slot,10f), $6135($shtr_source_slot,10f), $2046($shtr_source_slot,10s))

:SHTR_13011
gosub @SHTR_6929
Text.SetColor(255, 0, 0, 255)
Text.SetRightJustify(True)
Text.DisplayWithNumber($6105($shtr_source_slot,10f), $6145($shtr_source_slot,10f), 'SHTR_LV', $2066($shtr_source_slot,10i))

:SHTR_13066
return 

:SHTR_13068
$6165 = Math.RandomIntInRange(1, 30)
if 
  $6165 == 1
goto_if_false @SHTR_13170
if 
  $6167 == 0
goto_if_false @SHTR_13163
set_var_text_label $2006($6164,10s) = s$5997[23]
set_var_text_label $2026($6164,10s) = s$5997[15]
set_var_text_label $2046($6164,10s) = s$5997[36]
$6167 = 1
goto @SHTR_13170

:SHTR_13163
goto @SHTR_13068

:SHTR_13170
if 
  $6165 == 2
goto_if_false @SHTR_13263
if 
  $6168 == 0
goto_if_false @SHTR_13256
set_var_text_label $2006($6164,10s) = s$5997[18]
set_var_text_label $2026($6164,10s) = s$5997[22]
set_var_text_label $2046($6164,10s) = s$5997[34]
$6168 = 1
goto @SHTR_13263

:SHTR_13256
goto @SHTR_13068

:SHTR_13263
if 
  $6165 == 3
goto_if_false @SHTR_13356
if 
  $6169 == 0
goto_if_false @SHTR_13349
set_var_text_label $2006($6164,10s) = s$5997[32]
set_var_text_label $2026($6164,10s) = s$5997[18]
set_var_text_label $2046($6164,10s) = s$5997[21]
$6169 = 1
goto @SHTR_13356

:SHTR_13349
goto @SHTR_13068

:SHTR_13356
if 
  $6165 == 4
goto_if_false @SHTR_13449
if 
  $6170 == 0
goto_if_false @SHTR_13442
set_var_text_label $2006($6164,10s) = s$5997[12]
set_var_text_label $2026($6164,10s) = s$5997[20]
set_var_text_label $2046($6164,10s) = s$5997[27]
$6170 = 1
goto @SHTR_13449

:SHTR_13442
goto @SHTR_13068

:SHTR_13449
if 
  $6165 == 5
goto_if_false @SHTR_13542
if 
  $6171 == 0
goto_if_false @SHTR_13535
set_var_text_label $2006($6164,10s) = s$5997[13]
set_var_text_label $2026($6164,10s) = s$5997[11]
set_var_text_label $2046($6164,10s) = s$5997[25]
$6171 = 1
goto @SHTR_13542

:SHTR_13535
goto @SHTR_13068

:SHTR_13542
if 
  $6165 == 6
goto_if_false @SHTR_13635
if 
  $6172 == 0
goto_if_false @SHTR_13628
set_var_text_label $2006($6164,10s) = s$5997[13]
set_var_text_label $2026($6164,10s) = s$5997[10]
set_var_text_label $2046($6164,10s) = s$5997[31]
$6172 = 1
goto @SHTR_13635

:SHTR_13628
goto @SHTR_13068

:SHTR_13635
if 
  $6165 == 7
goto_if_false @SHTR_13728
if 
  $6173 == 0
goto_if_false @SHTR_13721
set_var_text_label $2006($6164,10s) = s$5997[13]
set_var_text_label $2026($6164,10s) = s$5997[24]
set_var_text_label $2046($6164,10s) = s$5997[13]
$6173 = 1
goto @SHTR_13728

:SHTR_13721
goto @SHTR_13068

:SHTR_13728
if 
  $6165 == 8
goto_if_false @SHTR_13821
if 
  $6174 == 0
goto_if_false @SHTR_13814
set_var_text_label $2006($6164,10s) = s$5997[28]
set_var_text_label $2026($6164,10s) = s$5997[19]
set_var_text_label $2046($6164,10s) = s$5997[21]
$6174 = 1
goto @SHTR_13821

:SHTR_13814
goto @SHTR_13068

:SHTR_13821
if 
  $6165 == 9
goto_if_false @SHTR_13914
if 
  $6175 == 0
goto_if_false @SHTR_13907
set_var_text_label $2006($6164,10s) = s$5997[28]
set_var_text_label $2026($6164,10s) = s$5997[29]
set_var_text_label $2046($6164,10s) = s$5997[14]
$6175 = 1
goto @SHTR_13914

:SHTR_13907
goto @SHTR_13068

:SHTR_13914
if 
  $6165 == 10
goto_if_false @SHTR_14007
if 
  $6176 == 0
goto_if_false @SHTR_14000
set_var_text_label $2006($6164,10s) = s$5997[19]
set_var_text_label $2026($6164,10s) = s$5997[30]
set_var_text_label $2046($6164,10s) = s$5997[13]
$6176 = 1
goto @SHTR_14007

:SHTR_14000
goto @SHTR_13068

:SHTR_14007
if 
  $6165 == 11
goto_if_false @SHTR_14100
if 
  $6177 == 0
goto_if_false @SHTR_14093
set_var_text_label $2006($6164,10s) = s$5997[20]
set_var_text_label $2026($6164,10s) = s$5997[22]
set_var_text_label $2046($6164,10s) = s$5997[11]
$6177 = 1
goto @SHTR_14100

:SHTR_14093
goto @SHTR_13068

:SHTR_14100
if 
  $6165 == 12
goto_if_false @SHTR_14193
if 
  $6178 == 0
goto_if_false @SHTR_14186
set_var_text_label $2006($6164,10s) = s$5997[16]
set_var_text_label $2026($6164,10s) = s$5997[28]
set_var_text_label $2046($6164,10s) = s$5997[32]
$6178 = 1
goto @SHTR_14193

:SHTR_14186
goto @SHTR_13068

:SHTR_14193
if 
  $6165 == 13
goto_if_false @SHTR_14286
if 
  $6179 == 0
goto_if_false @SHTR_14279
set_var_text_label $2006($6164,10s) = s$5997[13]
set_var_text_label $2026($6164,10s) = s$5997[28]
set_var_text_label $2046($6164,10s) = s$5997[32]
$6179 = 1
goto @SHTR_14286

:SHTR_14279
goto @SHTR_13068

:SHTR_14286
if 
  $6165 == 14
goto_if_false @SHTR_14379
if 
  $6180 == 0
goto_if_false @SHTR_14372
set_var_text_label $2006($6164,10s) = s$5997[32]
set_var_text_label $2026($6164,10s) = s$5997[13]
set_var_text_label $2046($6164,10s) = s$5997[34]
$6180 = 1
goto @SHTR_14379

:SHTR_14372
goto @SHTR_13068

:SHTR_14379
if 
  $6165 == 15
goto_if_false @SHTR_14472
if 
  $6181 == 0
goto_if_false @SHTR_14465
set_var_text_label $2006($6164,10s) = s$5997[16]
set_var_text_label $2026($6164,10s) = s$5997[10]
set_var_text_label $2046($6164,10s) = s$5997[35]
$6181 = 1
goto @SHTR_14472

:SHTR_14465
goto @SHTR_13068

:SHTR_14472
if 
  $6165 == 16
goto_if_false @SHTR_14565
if 
  $6182 == 0
goto_if_false @SHTR_14558
set_var_text_label $2006($6164,10s) = s$5997[32]
set_var_text_label $2026($6164,10s) = s$5997[10]
set_var_text_label $2046($6164,10s) = s$5997[35]
$6182 = 1
goto @SHTR_14565

:SHTR_14558
goto @SHTR_13068

:SHTR_14565
if 
  $6165 == 17
goto_if_false @SHTR_14658
if 
  $6183 == 0
goto_if_false @SHTR_14651
set_var_text_label $2006($6164,10s) = s$5997[20]
set_var_text_label $2026($6164,10s) = s$5997[18]
set_var_text_label $2046($6164,10s) = s$5997[23]
$6183 = 1
goto @SHTR_14658

:SHTR_14651
goto @SHTR_13068

:SHTR_14658
if 
  $6165 == 18
goto_if_false @SHTR_14751
if 
  $6184 == 0
goto_if_false @SHTR_14744
set_var_text_label $2006($6164,10s) = s$5997[11]
set_var_text_label $2026($6164,10s) = s$5997[14]
set_var_text_label $2046($6164,10s) = s$5997[10]
$6184 = 1
goto @SHTR_14751

:SHTR_14744
goto @SHTR_13068

:SHTR_14751
if 
  $6165 == 19
goto_if_false @SHTR_14844
if 
  $6185 == 0
goto_if_false @SHTR_14837
set_var_text_label $2006($6164,10s) = s$5997[11]
set_var_text_label $2026($6164,10s) = s$5997[10]
set_var_text_label $2046($6164,10s) = s$5997[33]
$6185 = 1
goto @SHTR_14844

:SHTR_14837
goto @SHTR_13068

:SHTR_14844
if 
  $6165 == 20
goto_if_false @SHTR_14937
if 
  $6186 == 0
goto_if_false @SHTR_14930
set_var_text_label $2006($6164,10s) = s$5997[21]
set_var_text_label $2026($6164,10s) = s$5997[24]
set_var_text_label $2046($6164,10s) = s$5997[30]
$6186 = 1
goto @SHTR_14937

:SHTR_14930
goto @SHTR_13068

:SHTR_14937
if 
  $6165 == 21
goto_if_false @SHTR_15030
if 
  $6187 == 0
goto_if_false @SHTR_15023
set_var_text_label $2006($6164,10s) = s$5997[19]
set_var_text_label $2026($6164,10s) = s$5997[23]
set_var_text_label $2046($6164,10s) = s$5997[24]
$6187 = 1
goto @SHTR_15030

:SHTR_15023
goto @SHTR_13068

:SHTR_15030
if 
  $6165 == 22
goto_if_false @SHTR_15123
if 
  $6188 == 0
goto_if_false @SHTR_15116
set_var_text_label $2006($6164,10s) = s$5997[22]
set_var_text_label $2026($6164,10s) = s$5997[34]
set_var_text_label $2046($6164,10s) = s$5997[29]
$6188 = 1
goto @SHTR_15123

:SHTR_15116
goto @SHTR_13068

:SHTR_15123
if 
  $6165 == 23
goto_if_false @SHTR_15216
if 
  $6189 == 0
goto_if_false @SHTR_15209
set_var_text_label $2006($6164,10s) = s$5997[13]
set_var_text_label $2026($6164,10s) = s$5997[14]
set_var_text_label $2046($6164,10s) = s$5997[15]
$6189 = 1
goto @SHTR_15216

:SHTR_15209
goto @SHTR_13068

:SHTR_15216
if 
  $6165 == 24
goto_if_false @SHTR_15309
if 
  $6190 == 0
goto_if_false @SHTR_15302
set_var_text_label $2006($6164,10s) = s$5997[20]
set_var_text_label $2026($6164,10s) = s$5997[17]
set_var_text_label $2046($6164,10s) = s$5997[35]
$6190 = 1
goto @SHTR_15309

:SHTR_15302
goto @SHTR_13068

:SHTR_15309
if 
  $6165 == 25
goto_if_false @SHTR_15402
if 
  $6191 == 0
goto_if_false @SHTR_15395
set_var_text_label $2006($6164,10s) = s$5997[22]
set_var_text_label $2026($6164,10s) = s$5997[14]
set_var_text_label $2046($6164,10s) = s$5997[24]
$6191 = 1
goto @SHTR_15402

:SHTR_15395
goto @SHTR_13068

:SHTR_15402
if 
  $6165 == 26
goto_if_false @SHTR_15495
if 
  $unk_6190 == 0
goto_if_false @SHTR_15488
set_var_text_label $2006($6164,10s) = s$5997[16]
set_var_text_label $2026($6164,10s) = s$5997[15]
set_var_text_label $2046($6164,10s) = s$5997[32]
$unk_6190 = 1
goto @SHTR_15495

:SHTR_15488
goto @SHTR_13068

:SHTR_15495
if 
  $6165 == 27
goto_if_false @SHTR_15588
if 
  $6193 == 0
goto_if_false @SHTR_15581
set_var_text_label $2006($6164,10s) = s$5997[32]
set_var_text_label $2026($6164,10s) = s$5997[27]
set_var_text_label $2046($6164,10s) = s$5997[22]
$6193 = 1
goto @SHTR_15588

:SHTR_15581
goto @SHTR_13068

:SHTR_15588
if 
  $6165 == 28
goto_if_false @SHTR_15681
if 
  $6194 == 0
goto_if_false @SHTR_15674
set_var_text_label $2006($6164,10s) = s$5997[10]
set_var_text_label $2026($6164,10s) = s$5997[36]
set_var_text_label $2046($6164,10s) = s$5997[32]
$6194 = 1
goto @SHTR_15681

:SHTR_15674
goto @SHTR_13068

:SHTR_15681
if 
  $6165 == 29
goto_if_false @SHTR_15774
if 
  $6195 == 0
goto_if_false @SHTR_15767
set_var_text_label $2006($6164,10s) = s$5997[27]
set_var_text_label $2026($6164,10s) = s$5997[18]
set_var_text_label $2046($6164,10s) = s$5997[12]
$6195 = 1
goto @SHTR_15774

:SHTR_15767
goto @SHTR_13068

:SHTR_15774
return 

:SHTR_15776
set_var_text_label s$5997[0] = 'SHTR_0'
set_var_text_label s$5997[1] = 'SHTR_1'
set_var_text_label s$5997[2] = 'SHTR_2'
set_var_text_label s$5997[3] = 'SHTR_3'
set_var_text_label s$5997[4] = 'SHTR_4'
set_var_text_label s$5997[5] = 'SHTR_5'
set_var_text_label s$5997[6] = 'SHTR_6'
set_var_text_label s$5997[7] = 'SHTR_7'
set_var_text_label s$5997[8] = 'SHTR_8'
set_var_text_label s$5997[9] = 'SHTR_9'
set_var_text_label s$5997[10] = 'SHTR_A'
set_var_text_label s$5997[11] = 'SHTR_B'
set_var_text_label s$5997[12] = 'SHTR_C'
set_var_text_label s$5997[13] = 'SHTR_D'
set_var_text_label s$5997[14] = 'SHTR_E'
set_var_text_label s$5997[15] = 'SHTR_F'
set_var_text_label s$5997[16] = 'SHTR_G'
set_var_text_label s$5997[17] = 'SHTR_H'
set_var_text_label s$5997[18] = 'SHTR_I'
set_var_text_label s$5997[19] = 'SHTR_J'
set_var_text_label s$5997[20] = 'SHTR_K'
set_var_text_label s$5997[21] = 'SHTR_L'
set_var_text_label s$5997[22] = 'SHTR_M'
set_var_text_label s$5997[23] = 'SHTR_N'
set_var_text_label s$5997[24] = 'SHTR_O'
set_var_text_label s$5997[25] = 'SHTR_P'
set_var_text_label s$5997[26] = 'SHTR_Q'
set_var_text_label s$5997[27] = 'SHTR_R'
set_var_text_label s$5997[28] = 'SHTR_S'
set_var_text_label s$5997[29] = 'SHTR_T'
set_var_text_label s$5997[30] = 'SHTR_U'
set_var_text_label s$5997[31] = 'SHTR_V'
set_var_text_label s$5997[32] = 'SHTR_W'
set_var_text_label s$5997[33] = 'SHTR_X'
set_var_text_label s$5997[34] = 'SHTR_Y'
set_var_text_label s$5997[35] = 'SHTR_Z'
set_var_text_label s$5997[36] = 'SHTR_PE'
$6075[0] = 176.0
$6115[0] = 96.0
$6085[0] = 224.0
$6125[0] = 96.0
$6095[0] = 272.0
$6135[0] = 96.0
$6105[0] = 464.0
$6145[0] = 96.0
$6075[1] = 176.0
$6115[1] = 128.0
$6085[1] = 224.0
$6125[1] = 128.0
$6095[1] = 272.0
$6135[1] = 128.0
$6105[1] = 464.0
$6145[1] = 128.0
$6075[2] = 176.0
$6115[2] = 160.0
$6085[2] = 224.0
$6125[2] = 160.0
$6095[2] = 272.0
$6135[2] = 160.0
$6105[2] = 464.0
$6145[2] = 160.0
$6075[3] = 176.0
$6115[3] = 192.0
$6085[3] = 224.0
$6125[3] = 192.0
$6095[3] = 272.0
$6135[3] = 192.0
$6105[3] = 464.0
$6145[3] = 192.0
$6075[4] = 176.0
$6115[4] = 224.0
$6085[4] = 224.0
$6125[4] = 224.0
$6095[4] = 272.0
$6135[4] = 224.0
$6105[4] = 464.0
$6145[4] = 224.0
$6075[5] = 176.0
$6115[5] = 256.0
$6085[5] = 224.0
$6125[5] = 256.0
$6095[5] = 272.0
$6135[5] = 256.0
$6105[5] = 464.0
$6145[5] = 256.0
$6075[6] = 176.0
$6115[6] = 288.0
$6085[6] = 224.0
$6125[6] = 288.0
$6095[6] = 272.0
$6135[6] = 288.0
$6105[6] = 464.0
$6145[6] = 288.0
$6075[7] = 176.0
$6115[7] = 320.0
$6085[7] = 224.0
$6125[7] = 320.0
$6095[7] = 272.0
$6135[7] = 320.0
$6105[7] = 464.0
$6145[7] = 320.0
$6075[8] = 176.0
$6115[8] = 352.0
$6085[8] = 224.0
$6125[8] = 352.0
$6095[8] = 272.0
$6135[8] = 352.0
$6105[8] = 464.0
$6145[8] = 352.0
$6075[9] = 176.0
$6115[9] = 384.0
$6085[9] = 224.0
$6125[9] = 384.0
$6095[9] = 272.0
$6135[9] = 384.0
$6105[9] = 464.0
$6145[9] = 384.0
if 
  $6163 == 0
goto_if_false @SHTR_17418
set_var_text_label s$2006[0] = s$5997[12]
set_var_text_label s$2026[0] = s$5997[36]
set_var_text_label s$2046[0] = s$5997[36]
$2076[0] = 10
$2066[0] = 1000
$6164 = 1
gosub @SHTR_13068
$2076[1] = 9
$2066[1] = 900
$6164 = 2
gosub @SHTR_13068
$2076[2] = 8
$2066[2] = 800
$6164 = 3
gosub @SHTR_13068
$2076[3] = 7
$2066[3] = 700
$6164 = 4
gosub @SHTR_13068
$2076[4] = 6
$2066[4] = 600
$6164 = 5
gosub @SHTR_13068
$2076[5] = 5
$2066[5] = 500
$6164 = 6
gosub @SHTR_13068
$2076[6] = 4
$2066[6] = 400
$6164 = 7
gosub @SHTR_13068
$2076[7] = 3
$2066[7] = 300
$6164 = 8
gosub @SHTR_13068
$2076[8] = 2
$2066[8] = 200
$6164 = 9
gosub @SHTR_13068
$2076[9] = 1
$2066[9] = 100
$6163 = 1

:SHTR_17418
set_var_int_to_var_int $shtr_respawn = $2066[0]
return 

:SHTR_17428
$shtr_reload_end = 1
$shtr_reload_diff = 1
$shtr_button_pressed = 1
$shtr_range_end = 0
$shtr_range_start = 2
$shtr_respawn_time = 0
$shtr_end_time = 15.0
$shtr_button1 = 80.0
$shtr_player_alive = 224.0
$shtr_x_add = 8.0
$shtr_y_add = 10.0
$shtr_current_projectile = 1.0
$shtr_current_projectile_fired = 3.0
$shtr_enemy_shot_speed = 0
$5967 = 7.0
$shtr_char = 0
$shtr_pickup_x = 0
$shtr_pickup_y = 1
$shtr_speed_pickup = 31
$shtr_fire_alive = 250
$unk_5960 = 0
$unk_5961 = 0
$shtr_auto_pickup = 0
$shtr_used = 0
$6073 = 0
$5881[0] = 660.0
$5881[1] = 660.0
$5881[2] = 660.0
$5881[3] = 660.0
$shtr_enemy_col_x = 0
$5598 = 0
$5599 = 0
$5600 = 0
$shtr_lives = 0
$shtr_score = 0
$shtr_hi_score = 0
$5661 = 1
$5663[1] = 0
$5663[2] = 0
$5663[3] = 0
$5663[4] = 0
$5663[5] = 0
$5663[6] = 0
$5663[7] = 0
$5663[8] = 0
$5729[1] = 0
$5729[2] = 0
$5729[3] = 0
$5729[4] = 0
$5729[5] = 0
$5729[6] = 0
$5729[7] = 0
$5729[8] = 0
$5793[1] = 0
$5793[2] = 0
$5793[3] = 0
$5793[4] = 0
$5793[5] = 0
$5793[6] = 0
$5793[7] = 0
$5793[8] = 0
$5864[0] = 0
$5864[1] = 0
$5864[2] = 0
$5864[3] = 0
$5864[4] = 0
$5864[5] = 0
$5864[6] = 0
$5864[7] = 0
$5985[0] = 0
$5985[1] = 0
$5985[2] = 0
$5985[3] = 0
$5985[4] = 0
$5985[5] = 0
$5985[6] = 0
$5985[7] = 0
$shtr_projectile_alive = 0
$5880 = 0
$shtr_layer_scroll_speed_top = 32.0
$shtr_layer_scroll_speed_bottom = 32.0
$5727 = 8.0
$5728 = 8.0
$shtr_heat_bar = 32.0
$shtr_reload_start = 32.0
$shtr_pickup_move_switch = 0.0
return 

//-------------Mission 6---------------
// Originally: Video Game: Let's Get Ready To Bumble

:GRAV
gosub @GRAV_36
if 
  has_deatharrest_been_executed 
goto_if_false @GRAV_27
gosub @GRAV_6652

:GRAV_27
gosub @GRAV_6672
terminate_this_script 

:GRAV_36
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
script_name 'GRAV'
wait 0
Text.LoadMissionText('GRAV')
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1810)

:GRAV_78
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GRAV_104
wait 0
goto @GRAV_78

:GRAV_104
Char.FreezePosition($stattreadstamina_ctr, True)
Player.SetControl($statbike_temp, False)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
World.ClearArea($on_footY, $on_footZ, $in_carX, 50.0, False)
Game.ShutAllCharsUp(True)
Text.UseCommands(True)
Text.SetCenter(True)
Text.SetScale(3.0, 3.0)
Txd.LoadDictionary('LD_GRAV')
Txd.LoadSprite(1, "SKY")
Txd.LoadSprite(2, "BEEA")
Txd.LoadSprite(3, "FLWRA")
Txd.LoadSprite(4, "GHOST")
Txd.LoadSprite(5, "LEAF")
Txd.LoadSprite(6, "FLWR")
Txd.LoadSprite(7, "TVCORN")
Txd.LoadSprite(8, "TVL")
Txd.LoadSprite(9, "TVR")
Txd.LoadSprite(10, "THORN")
Txd.LoadSprite(11, "BEE2")
Txd.LoadSprite(12, "BEE1")
Txd.LoadSprite(13, "HIVE")
Txd.LoadSprite(14, "TIMER")
Txd.LoadSprite(15, "BUMBLE")
Txd.LoadSprite(16, "PLAYW")
Txd.LoadSprite(17, "PLAYY")
Txd.LoadSprite(18, "HISCOREW")
Txd.LoadSprite(19, "HISCOREY")
Txd.LoadSprite(20, "EXITW")
Txd.LoadSprite(21, "EXITY")
set_var_text_label s$6240[0] = 'GRAV_0'
set_var_text_label s$6240[1] = 'GRAV_1'
set_var_text_label s$6240[2] = 'GRAV_2'
set_var_text_label s$6240[3] = 'GRAV_3'
set_var_text_label s$6240[4] = 'GRAV_4'
set_var_text_label s$6240[5] = 'GRAV_5'
set_var_text_label s$6240[6] = 'GRAV_6'
set_var_text_label s$6240[7] = 'GRAV_7'
set_var_text_label s$6240[8] = 'GRAV_8'
set_var_text_label s$6240[9] = 'GRAV_9'
set_var_text_label s$6240[10] = 'GRAV_A'
set_var_text_label s$6240[11] = 'GRAV_B'
set_var_text_label s$6240[12] = 'GRAV_C'
set_var_text_label s$6240[13] = 'GRAV_D'
set_var_text_label s$6240[14] = 'GRAV_E'
set_var_text_label s$6240[15] = 'GRAV_F'
set_var_text_label s$6240[16] = 'GRAV_G'
set_var_text_label s$6240[17] = 'GRAV_H'
set_var_text_label s$6240[18] = 'GRAV_I'
set_var_text_label s$6240[19] = 'GRAV_J'
set_var_text_label s$6240[20] = 'GRAV_K'
set_var_text_label s$6240[21] = 'GRAV_L'
set_var_text_label s$6240[22] = 'GRAV_M'
set_var_text_label s$6240[23] = 'GRAV_N'
set_var_text_label s$6240[24] = 'GRAV_O'
set_var_text_label s$6240[25] = 'GRAV_P'
set_var_text_label s$6240[26] = 'GRAV_Q'
set_var_text_label s$6240[27] = 'GRAV_R'
set_var_text_label s$6240[28] = 'GRAV_S'
set_var_text_label s$6240[29] = 'GRAV_T'
set_var_text_label s$6240[30] = 'GRAV_U'
set_var_text_label s$6240[31] = 'GRAV_V'
set_var_text_label s$6240[32] = 'GRAV_W'
set_var_text_label s$6240[33] = 'GRAV_X'
set_var_text_label s$6240[34] = 'GRAV_Y'
set_var_text_label s$6240[35] = 'GRAV_Z'
set_var_text_label s$6240[36] = 'GRAV_PE'
$6322[0] = 176.0
$6362[0] = 96.0
$6332[0] = 224.0
$6372[0] = 96.0
$6342[0] = 272.0
$6382[0] = 96.0
$6352[0] = 464.0
$6392[0] = 96.0
$6322[1] = 176.0
$6362[1] = 128.0
$6332[1] = 224.0
$6372[1] = 128.0
$6342[1] = 272.0
$6382[1] = 128.0
$6352[1] = 464.0
$6392[1] = 128.0
$6322[2] = 176.0
$6362[2] = 160.0
$6332[2] = 224.0
$6372[2] = 160.0
$6342[2] = 272.0
$6382[2] = 160.0
$6352[2] = 464.0
$6392[2] = 160.0
$6322[3] = 176.0
$6362[3] = 192.0
$6332[3] = 224.0
$6372[3] = 192.0
$6342[3] = 272.0
$6382[3] = 192.0
$6352[3] = 464.0
$6392[3] = 192.0
$6322[4] = 176.0
$6362[4] = 224.0
$6332[4] = 224.0
$6372[4] = 224.0
$6342[4] = 272.0
$6382[4] = 224.0
$6352[4] = 464.0
$6392[4] = 224.0
$6322[5] = 176.0
$6362[5] = 256.0
$6332[5] = 224.0
$6372[5] = 256.0
$6342[5] = 272.0
$6382[5] = 256.0
$6352[5] = 464.0
$6392[5] = 256.0
$6322[6] = 176.0
$6362[6] = 288.0
$6332[6] = 224.0
$6372[6] = 288.0
$6342[6] = 272.0
$6382[6] = 288.0
$6352[6] = 464.0
$6392[6] = 288.0
$6322[7] = 176.0
$6362[7] = 320.0
$6332[7] = 224.0
$6372[7] = 320.0
$6342[7] = 272.0
$6382[7] = 320.0
$6352[7] = 464.0
$6392[7] = 320.0
$6322[8] = 176.0
$6362[8] = 352.0
$6332[8] = 224.0
$6372[8] = 352.0
$6342[8] = 272.0
$6382[8] = 352.0
$6352[8] = 464.0
$6392[8] = 352.0
$6322[9] = 176.0
$6362[9] = 384.0
$6332[9] = 224.0
$6372[9] = 384.0
$6342[9] = 272.0
$6382[9] = 384.0
$6352[9] = 464.0
$6392[9] = 384.0
if 
  $6409 == 0
goto_if_false @GRAV_2054
set_var_text_label s$2086[0] = s$6240[12]
set_var_text_label s$2106[0] = s$6240[36]
set_var_text_label s$2126[0] = s$6240[36]
$2156[0] = 10
$2146[0] = 1000
$6410 = 1
gosub @GRAV_13590
$2156[1] = 9
$2146[1] = 900
$6410 = 2
gosub @GRAV_13590
$2156[2] = 8
$2146[2] = 800
$6410 = 3
gosub @GRAV_13590
$2156[3] = 7
$2146[3] = 700
$6410 = 4
gosub @GRAV_13590
$2156[4] = 6
$2146[4] = 600
$6410 = 5
gosub @GRAV_13590
$2156[5] = 5
$2146[5] = 500
$6410 = 6
gosub @GRAV_13590
$2156[6] = 4
$2146[6] = 400
$6410 = 7
gosub @GRAV_13590
$2156[7] = 3
$2146[7] = 300
$6410 = 8
gosub @GRAV_13590
$2156[8] = 2
$2146[8] = 200
$6410 = 9
gosub @GRAV_13590
$2156[9] = 1
$2146[9] = 100
$6409 = 1

:GRAV_2054
set_lvar_int_to_var_int 57@ = $2146[0]

:GRAV_2062
$grav_temp1 = 1
54@ = 0
$grav_buzz = 0
$grav_total_pickups = 1
51@ = 2
47@ = 1
43@ = 180.0
44@ = 2.0
$pool_view_debug = 3648.0
$grav_countdown_secs = 2.5
$grav_char = 120000
$grav_temp2 = 0
$nGameState = 0.0
$grav_ground = 0.0
56@ = 0
$grav_help_start = Clock.GetGameTimer()
$grav_level = 0

:GRAV_2200
wait 0
Hud.DrawSprite(1, 128.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 128.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 384.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 384.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 640.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 640.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
Camera.DoFade(0, Fade.In)
34@, 35@, 36@, 37@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)

:GRAV_2442
if 
  58@ == 1
goto_if_false @GRAV_2497
if and
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  35@ == 0
goto_if_false @GRAV_2497
58@ = 0

:GRAV_2497
if 
  $grav_total_pickups == 1
goto_if_false @GRAV_2735
Hud.DrawSprite(15, 320.0, 196.0, 256.0, 128.0, 150, 150, 150, 255)
Hud.DrawSprite(17, 320.0, 312.0, 64.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(18, 320.0, 344.0, 128.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(20, 320.0, 376.0, 64.0, 32.0, 150, 150, 150, 255)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GRAV_2735
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1074)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1076)
$6239 = Clock.GetGameTimer()
$grav_total_pickups = 0
TIMERA = 0

:GRAV_2735
if 
  $grav_total_pickups == 2
goto_if_false @GRAV_2953
Hud.DrawSprite(15, 320.0, 196.0, 256.0, 128.0, 150, 150, 150, 255)
Hud.DrawSprite(16, 320.0, 312.0, 64.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(19, 320.0, 344.0, 128.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(20, 320.0, 376.0, 64.0, 32.0, 150, 150, 150, 255)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GRAV_2953
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1074)
$6239 = Clock.GetGameTimer()
$grav_num_gen = 4
$grav_total_pickups = 4

:GRAV_2953
if 
  $grav_total_pickups == 3
goto_if_false @GRAV_3165
Hud.DrawSprite(15, 320.0, 196.0, 256.0, 128.0, 150, 150, 150, 255)
Hud.DrawSprite(16, 320.0, 312.0, 64.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(18, 320.0, 344.0, 128.0, 32.0, 150, 150, 150, 255)
Hud.DrawSprite(21, 320.0, 376.0, 64.0, 32.0, 150, 150, 150, 255)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GRAV_3165
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1075)
Camera.DoFade(0, Fade.Out)
goto @GRAV_6672

:GRAV_3165
if 
  58@ == 0
goto_if_false @GRAV_3627
if 
  $grav_total_pickups == 1
goto_if_false @GRAV_3331
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -64 > 35@
goto_if_false @GRAV_3266
$grav_total_pickups = 3
58@ = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1073)
goto @GRAV_2442

:GRAV_3266
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  35@ > 64
goto_if_false @GRAV_3331
$grav_total_pickups = 2
58@ = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1073)
goto @GRAV_2442

:GRAV_3331
if 
  $grav_total_pickups == 2
goto_if_false @GRAV_3479
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -64 > 35@
goto_if_false @GRAV_3414
$grav_total_pickups = 1
58@ = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1073)
goto @GRAV_2442

:GRAV_3414
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  35@ > 64
goto_if_false @GRAV_3479
$grav_total_pickups = 3
58@ = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1073)
goto @GRAV_2442

:GRAV_3479
if 
  $grav_total_pickups == 3
goto_if_false @GRAV_3627
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -64 > 35@
goto_if_false @GRAV_3562
$grav_total_pickups = 2
58@ = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1073)
goto @GRAV_2442

:GRAV_3562
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  35@ > 64
goto_if_false @GRAV_3627
$grav_total_pickups = 1
58@ = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1073)
goto @GRAV_2442

:GRAV_3627
if 
  $grav_total_pickups == 0
goto_if_false @GRAV_5140
if 
is_ps2_keyboard_key_pressed 49
goto_if_false @GRAV_3667
51@ += 1

:GRAV_3667
34@, 35@, 36@, 37@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if 
  47@ == 1
goto_if_false @GRAV_4331
if 
  $grav_temp_2 == 12
goto_if_false @GRAV_3758
if 
  TIMERB > 10
goto_if_false @GRAV_3751
$grav_temp_2 = 11
TIMERB = 0

:GRAV_3751
goto @GRAV_3790

:GRAV_3758
if 
  TIMERB > 10
goto_if_false @GRAV_3790
$grav_temp_2 = 12
TIMERB = 0

:GRAV_3790
if 
  34@ == 0
goto_if_false @GRAV_3889
if and
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @GRAV_3889
if 
  43@ > 180.0
goto_if_false @GRAV_3860
sub_float_lvar_from_float_lvar 43@ -= 44@

:GRAV_3860
if 
  180.0 > 43@
goto_if_false @GRAV_3889
add_float_lvar_to_float_lvar 43@ += 44@

:GRAV_3889
if and
  34@ > 0
  64 > 34@
goto_if_false @GRAV_3943
if 
  195.0 > 43@
goto_if_false @GRAV_3943
add_float_lvar_to_float_lvar 43@ += 44@

:GRAV_3943
if and
  0 > 34@
  34@ > -64
goto_if_false @GRAV_3997
if 
  43@ > 165.0
goto_if_false @GRAV_3997
sub_float_lvar_from_float_lvar 43@ -= 44@

:GRAV_3997
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @GRAV_4076
if 
  210.0 > 43@
goto_if_false @GRAV_4076
43@ += 4.0
if 
  180.0 > 43@
goto_if_false @GRAV_4076
43@ += 4.0

:GRAV_4076
if and
  34@ > 63
  130 > 34@
goto_if_false @GRAV_4164
if 
  210.0 > 43@
goto_if_false @GRAV_4164
43@ += 4.0
if 
  180.0 > 43@
goto_if_false @GRAV_4164
43@ += 4.0

:GRAV_4164
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @GRAV_4243
if 
  43@ > 150.0
goto_if_false @GRAV_4243
43@ -= 4.0
if 
  43@ > 180.0
goto_if_false @GRAV_4243
43@ -= 4.0

:GRAV_4243
if and
  -63 > 34@
  34@ > -130
goto_if_false @GRAV_4331
if 
  43@ > 150.0
goto_if_false @GRAV_4331
43@ -= 4.0
if 
  43@ > 180.0
goto_if_false @GRAV_4331
43@ -= 4.0

:GRAV_4331
if 
  $grav_temp1 == 1
goto_if_false @GRAV_4808
$grav_dead_x = 300.0
$grav_dead_y = 4096.0
gosub @GRAV_8687
gosub @GRAV_6862
set_var_float_to_var_float $grav_dead_x = $grav_next_level
set_var_float_to_var_float $grav_dead_y = $grav_pickups
$grav_temp1 = 0
60@ = 1
Camera.DoFade(0, Fade.In)

:GRAV_4419
if 
  Camera.GetFadingStatus
goto_if_false @GRAV_4803
Hud.DrawSprite(1, 128.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 128.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 384.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 384.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 640.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 640.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
wait 0
goto @GRAV_4419

:GRAV_4803
$grav_help_start = Clock.GetGameTimer()

:GRAV_4808
if 
  $grav_temp1 == 0
goto_if_false @GRAV_4872
gosub @GRAV_11663
if 
  47@ == 1
goto_if_false @GRAV_4865
gosub @GRAV_7678
gosub @GRAV_10386

:GRAV_4865
gosub @GRAV_10782

:GRAV_4872
if 
  47@ == 0
goto_if_false @GRAV_4936
if 
  51@ > 0
goto_if_false @GRAV_4936
TIMERA = 0
51@ -= 1
47@ = 2
gosub @GRAV_7300

:GRAV_4936
if 
  47@ == 2
goto_if_false @GRAV_5032
if 
  Math.Do2DRectanglesCollide($grav_dead_x, $grav_dead_y, 4.0, 4.0, $grav_next_level, $grav_pickups, 4.0, 4.0)
goto_if_false @GRAV_5032
47@ = 1
43@ = 180.0
set_var_float_to_var_float $grav_dead_x = $grav_next_level
set_var_float_to_var_float $grav_dead_y = $grav_pickups

:GRAV_5032
if 
  $grav_total_pickups == 0
goto_if_false @GRAV_5140
if 
  47@ == 0
goto_if_false @GRAV_5140
if 
  51@ == 0
goto_if_false @GRAV_5140
$grav_total_pickups = 4
$grav_num_gen = 0
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1077)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1078)

:GRAV_5140
if 
  $grav_total_pickups == 4
goto_if_false @GRAV_5209
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  $grav_num_gen <> 1
goto_if_false @GRAV_5209
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1077)
goto @GRAV_2062

:GRAV_5209
if 
  $grav_total_pickups == 4
goto_if_false @GRAV_5522
if 
  $grav_num_gen == 0
goto_if_false @GRAV_5297
gosub @GRAV_6824
Text.SetScale(2.0, 4.0)
Text.Display(320.0, 196.0, 'GR_A_5')
$6320 = Clock.GetGameTimer()
$grav_num_gen = 1

:GRAV_5297
if 
  $grav_num_gen == 1
goto_if_false @GRAV_5407
gosub @GRAV_6824
Text.SetScale(2.0, 4.0)
Text.Display(320.0, 196.0, 'GR_A_5')
$6319 = Clock.GetGameTimer()
$6319 = Clock.GetGameTimer()
set_var_int_to_var_int $grav_hi_1_x = $6319
sub_int_var_from_int_var $grav_hi_1_x -= $6320
if 
  $grav_hi_1_x > 5000
goto_if_false @GRAV_5407
$grav_num_gen = 2

:GRAV_5407
if 
  $grav_num_gen == 2
goto_if_false @GRAV_5465
if 
  is_int_var_greater_than_int_lvar $2146[9] > 54@
goto_if_false @GRAV_5458
$grav_num_gen = 4
goto @GRAV_5465

:GRAV_5458
gosub @GRAV_11777

:GRAV_5465
if 
  $grav_num_gen == 3
goto_if_false @GRAV_5497
gosub @GRAV_12094
gosub @GRAV_12977

:GRAV_5497
if 
  $grav_num_gen == 4
goto_if_false @GRAV_5522
gosub @GRAV_12977

:GRAV_5522
if 
  $grav_total_pickups == 0
goto_if_false @GRAV_6205
gosub @GRAV_6824
Text.DisplayWithNumber(560.0, 390.0, 'VP15', 51@)
Hud.DrawSpriteWithRotation(2, 560.0, 390.0, 44.0, 44.0, 180.0, 150, 150, 150, 150)
Hud.DrawSpriteWithRotation(12, 560.0, 390.0, 36.0, 36.0, 180.0, 150, 150, 150, 150)
gosub @GRAV_6824
Text.DisplayWithNumber(90.0, 390.0, 'VP15', $grav_temp_1)
Hud.DrawSpriteWithRotation(3, 90.0, 390.0, 40.0, 40.0, 180.0, 150, 150, 150, 150)
Hud.DrawSpriteWithRotation(6, 90.0, 390.0, 32.0, 32.0, 180.0, 150, 150, 150, 150)
set_var_int_to_var_int $grav_countdown_max = $grav_countdown_diff
$grav_countdown_max /= 1000
set_var_int_to_var_int $player_is_completely_safe_for_mobile = $grav_countdown_max
$player_is_completely_safe_for_mobile /= 60
set_var_int_to_var_int $grav_countdown_start = $player_is_completely_safe_for_mobile
$grav_countdown_start *= 60
sub_int_var_from_int_var $grav_countdown_max -= $grav_countdown_start
gosub @GRAV_6824
if 
  $grav_countdown_max > 9
goto_if_false @GRAV_5879
Text.DisplayWith2Numbers(320.0, 390.0, 'TIME', $player_is_completely_safe_for_mobile, $grav_countdown_max)
goto @GRAV_5906

:GRAV_5879
Text.DisplayWith2Numbers(320.0, 390.0, 'TIME_0', $player_is_completely_safe_for_mobile, $grav_countdown_max)

:GRAV_5906
Hud.DrawSpriteWithRotation(14, 320.0, 390.0, 40.0, 40.0, 180.0, 150, 150, 150, 150)
gosub @GRAV_6824
Text.DisplayWithNumber(320.0, 70.0, 'VP15', 54@)
Hud.DrawSpriteWithRotation(13, 320.0, 70.0, 40.0, 40.0, 180.0, 150, 150, 150, 150)
$grav_help_end = Clock.GetGameTimer()
set_var_int_to_var_int $grav_help_diff = $grav_help_end
sub_int_var_from_int_var $grav_help_diff -= $grav_help_start
if 
  is_int_var_greater_than_int_var $grav_char > $grav_help_diff
goto_if_false @GRAV_6082
set_var_int_to_var_int $grav_countdown_diff = $grav_char
sub_int_var_from_int_var $grav_countdown_diff -= $grav_help_diff
goto @GRAV_6205

:GRAV_6082
if 
  47@ == 1
goto_if_false @GRAV_6205
if 
  51@ > 0
goto_if_false @GRAV_6144
51@ -= 1
$grav_temp1 = 1
$grav_help_start = Clock.GetGameTimer()
goto @GRAV_6205

:GRAV_6144
47@ = 0
$grav_total_pickups = 4
$grav_num_gen = 0
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1077)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1078)

:GRAV_6205
Hud.DrawSprite(7, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
if 
  $grav_total_pickups == 0
goto_if_false @GRAV_6488
$6237 = Clock.GetGameTimer()
set_var_int_to_var_int $6238 = $6237
sub_int_var_from_int_var $6238 -= $6239
if 
  10000 > $6238
goto_if_false @GRAV_6488
Hud.DrawWindow(35.0, 24.0, 249.0, 90.0, 'DUMMY', 0)
Text.SetCenter(False)
Text.SetWrapX(249.0)
Text.SetFont(Font.Subtitles)
Text.SetScale(0.5, 1.8)
Text.Display(40.0, 29.0, 'GR_NAV')

:GRAV_6488
if 
  $grav_total_pickups == 4
goto_if_false @GRAV_6645
if 
  $grav_num_gen == 4
goto_if_false @GRAV_6645
$6237 = Clock.GetGameTimer()
set_var_int_to_var_int $6238 = $6237
sub_int_var_from_int_var $6238 -= $6239
if 
  10000 > $6238
goto_if_false @GRAV_6645
Hud.DrawWindow(35.0, 24.0, 239.0, 50.0, 'DUMMY', 0)
Text.SetCenter(False)
Text.SetWrapX(239.0)
Text.SetFont(Font.Subtitles)
Text.SetScale(0.5, 1.8)
Text.Display(40.0, 29.0, 'GR_BCK')

:GRAV_6645
goto @GRAV_2200

:GRAV_6652
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
return 

:GRAV_6672
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Text.ClearThisPrint('BUSY')
Game.ShutAllCharsUp(False)
Hud.ClearCounter($grav_countdown_diff)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GRAV_6807
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $wheeloY, $wheeloZ, $spaceX, 2.0, 2.0, 2.0, False)
goto_if_false @GRAV_6786
set_var_float_to_var_float $on_footZ = $wheeloZ
$on_footZ += 2.0
Char.SetCoordinates($stattreadstamina_ctr, $wheeloY, $on_footZ, $spaceX)

:GRAV_6786
Char.FreezePosition($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Camera.DoFade(1500, Fade.In)

:GRAV_6807
Audio.SetMusicDoesFade(True)
Txd.Remove
$weapon_shop1_blip = 0
Mission.Finish
return 

:GRAV_6824
Text.SetColor(168, 142, 51, 255)
Text.SetScale(1.0, 2.0)
Text.SetCenter(True)
Text.SetWrapX(640.0)
return 

:GRAV_6862
674@ = 99999.9
678@ = 0

:GRAV_6879
if and
  51 > 678@
  471@(678@,101f) <> 999.0
  0.1 <= 471@(678@,101f)
goto_if_false @GRAV_7298
set_var_float_to_var_float $6445 = $grav_dead_y
if 
  $6445 > 3000.0
goto_if_false @GRAV_7061
if 
  4100.0 > $6445
goto_if_false @GRAV_7061
673@ = Math.GetDistanceBetweenCoords2D($grav_dead_x, $grav_dead_y, 471@(678@,101f), 572@(678@,101f))
if 
  is_float_lvar_greater_than_float_lvar 674@ > 673@
goto_if_false @GRAV_7061
set_lvar_float_to_lvar_float 674@ = 673@
set_var_float_to_lvar_float $grav_next_level = 471@(678@,101f)
set_var_float_to_lvar_float $grav_pickups = 572@(678@,101f)
$grav_pickups -= 32.0

:GRAV_7061
678@ += 1
Text.SetColor(168, 142, 51, 255)
Text.SetScale(1.0, 2.0)
Text.SetCenter(True)
Text.SetWrapX(640.0)
set_lvar_int_to_var_int 59@ = $grav_buzz
59@ += 1
Text.DisplayWithNumber(320.0, 224.0, 'GR_LVL', 59@)
Hud.DrawSprite(7, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
wait 0
goto @GRAV_6879

:GRAV_7298
return 

:GRAV_7300
674@ = 99999.9
673@ = 0.0
678@ = 0

:GRAV_7327
if and
  51 > 678@
  471@(678@,101f) <> 999.0
  0.1 <= 471@(678@,101f)
goto_if_false @GRAV_7524
set_var_float_to_lvar_float $6445 = 572@(678@,101f)
sub_float_var_from_float_var $6445 -= $pool_view_debug
if and
  $6445 > -200.0
  600.0 > $6445
goto_if_false @GRAV_7510
673@ = Math.GetDistanceBetweenCoords2D($grav_dead_x, $grav_dead_y, 471@(678@,101f), 572@(678@,101f))
if 
  is_float_lvar_greater_than_float_lvar 674@ > 673@
goto_if_false @GRAV_7510
set_lvar_float_to_lvar_float 674@ = 673@
set_var_float_to_lvar_float $grav_next_level = 471@(678@,101f)
set_var_float_to_lvar_float $grav_pickups = 572@(678@,101f)
$grav_pickups -= 32.0

:GRAV_7510
678@ += 1
goto @GRAV_7327

:GRAV_7524
set_var_float_to_var_float $grav_velocity_mag_sqr = $grav_next_level
sub_float_var_from_float_var $grav_velocity_mag_sqr -= $grav_dead_x
set_var_float_to_var_float $grav_velocity_mag = $grav_pickups
sub_float_var_from_float_var $grav_velocity_mag -= $grav_dead_y
set_var_float_to_var_float $grav_plyr_dead_speed = $grav_velocity_mag_sqr
mult_float_var_by_float_var $grav_plyr_dead_speed *= $grav_velocity_mag_sqr
set_var_float_to_var_float $grav_fire_heading = $grav_velocity_mag
mult_float_var_by_float_var $grav_fire_heading *= $grav_velocity_mag
set_var_float_to_var_float $grav_countdown = $grav_plyr_dead_speed
add_float_var_to_float_var $grav_countdown += $grav_fire_heading
$grav_countdown_temp = Math.Sqrt($grav_countdown)
set_var_float_to_var_float $grav_plyr_dead_speed = $grav_velocity_mag_sqr
div_float_var_by_float_var $grav_plyr_dead_speed /= $grav_countdown_temp
set_var_float_to_var_float $grav_fire_heading = $grav_velocity_mag
div_float_var_by_float_var $grav_fire_heading /= $grav_countdown_temp
set_var_float_to_var_float $nGameState = $grav_countdown_secs
mult_float_var_by_float_var $nGameState *= $grav_plyr_dead_speed
set_var_float_to_var_float $grav_ground = $grav_countdown_secs
mult_float_var_by_float_var $grav_ground *= $grav_fire_heading
return 

:GRAV_7678
678@ = 0

:GRAV_7685
if and
  51 > 678@
  269@(678@,101f) <> 999.0
goto_if_false @GRAV_8052
set_var_float_to_lvar_float $6445 = 572@(678@,101f)
sub_float_var_from_float_var $6445 -= $pool_view_debug
if and
  $6445 > -64.0
  480.0 > $6445
goto_if_false @GRAV_8038
if 
  Math.Do2DRectanglesCollide($grav_dead_x, $grav_dead_y, 32.0, 44.0, 269@(678@,101f), 370@(678@,101f), 32.0, 32.0)
goto_if_false @GRAV_8038
269@(678@,101f) = 999.0
if 
  $grav_temp_1 <> 1
goto_if_false @GRAV_7901
54@ += 10
$grav_temp2 += 1
$grav_temp_1 -= 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1071)
goto @GRAV_8022

:GRAV_7901
add_int_var_to_int_lvar 54@ += $grav_temp2
$grav_countdown_diff /= 100
add_int_var_to_int_lvar 54@ += $grav_countdown_diff
$grav_temp2 = 0
$grav_buzz += 1
set_lvar_int_to_lvar_int 55@ = 54@
sub_int_lvar_from_int_lvar 55@ -= 56@
set_lvar_int_to_lvar_int 56@ = 55@
if 
  55@ > 665
goto_if_false @GRAV_8008
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1074)
51@ += 1

:GRAV_8008
$grav_temp1 = 1
TIMERA = 0

:GRAV_8022
269@(678@,101f) = -999.0
return 

:GRAV_8038
678@ += 1
goto @GRAV_7685

:GRAV_8052
678@ = 0

:GRAV_8059
if and
  51 > 678@
  471@(678@,101f) <> 999.0
goto_if_false @GRAV_8487
set_var_float_to_lvar_float $6445 = 572@(678@,101f)
sub_float_var_from_float_var $6445 -= $pool_view_debug
if and
  $6445 > -64.0
  480.0 > $6445
goto_if_false @GRAV_8473
if 
  Math.Do2DRectanglesCollide($grav_dead_x, $grav_dead_y, 32.0, 44.0, 471@(678@,101f), 572@(678@,101f), 96.0, 32.0)
goto_if_false @GRAV_8466
set_var_float_to_var_float $6445 = $grav_dead_y
$6445 += 12.0
if 
  is_float_lvar_greater_than_float_var 572@(678@,101f) > $6445
goto_if_false @GRAV_8409
if 
  $grav_level == 0
goto_if_false @GRAV_8402
if or
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  0.0 > $grav_ground
goto_if_false @GRAV_8402
set_var_float_to_lvar_float $6444 = 471@(678@,101f)
$6444 -= 52.0
if 
  not is_float_var_greater_than_float_var $6444 > $grav_dead_x
goto_if_false @GRAV_8402
set_var_float_to_lvar_float $6444 = 471@(678@,101f)
$6444 += 52.0
if 
  not is_float_var_greater_than_float_var $grav_dead_x > $6444
goto_if_false @GRAV_8402
$grav_ground *= -0.1
set_var_float_to_lvar_float $grav_dead_y = 572@(678@,101f)
$grav_dead_y -= 38.0
$grav_level = 1

:GRAV_8402
goto @GRAV_8459

:GRAV_8409
$nGameState *= -0.5
$grav_ground *= -0.5
$grav_dead_y += 4.0
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1072)

:GRAV_8459
goto @GRAV_8473

:GRAV_8466
$grav_level = 0

:GRAV_8473
678@ += 1
goto @GRAV_8059

:GRAV_8487
678@ = 0

:GRAV_8494
if and
  100 > 678@
  67@(678@,101f) <> 999.0
goto_if_false @GRAV_8685
set_var_float_to_lvar_float $6445 = 168@(678@,101f)
sub_float_var_from_float_var $6445 -= $pool_view_debug
if and
  $6445 > -64.0
  480.0 > $6445
goto_if_false @GRAV_8671
if 
  Math.Do2DRectanglesCollide($grav_dead_x, $grav_dead_y, 32.0, 44.0, 67@(678@,101f), 168@(678@,101f), 128.0, 40.0)
goto_if_false @GRAV_8671
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1070)
60@ = 0
47@ = 0
TIMERA = 0

:GRAV_8671
678@ += 1
goto @GRAV_8494

:GRAV_8685
return 

:GRAV_8687
Camera.DoFade(0, Fade.Out)

:GRAV_8693
if 
  Camera.GetFadingStatus
goto_if_false @GRAV_9077
Hud.DrawSprite(1, 128.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 128.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 384.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 384.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 640.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 640.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
wait 0
goto @GRAV_8693

:GRAV_9077
678@ = 0
set_var_int_to_var_int $grav_velocity_x = $grav_buzz
$grav_velocity_x += 1
$grav_velocity_x *= 10
if 
  $grav_velocity_x > 50
goto_if_false @GRAV_9131
$grav_velocity_x = 50

:GRAV_9131
if 
  is_int_var_greater_than_int_lvar $grav_velocity_x > 678@
goto_if_false @GRAV_9452
$grav_start_time = Math.RandomIntInRange(2, 7)
$grav_start_time *= 80
cset_var_float_to_var_int $6444 =# $grav_start_time
$grav_velocity_y = Math.RandomIntInRange(0, 30)
$grav_velocity_y *= 128
set_lvar_float_to_var_float 67@(678@,101f) = $6444
cset_lvar_float_to_var_int 168@(678@,101f) =# $grav_velocity_y
678@ += 1
Text.SetColor(168, 142, 51, 255)
Text.SetScale(1.0, 2.0)
Text.SetCenter(True)
Text.SetWrapX(640.0)
set_lvar_int_to_var_int 59@ = $grav_buzz
59@ += 1
Text.DisplayWithNumber(320.0, 224.0, 'GR_LVL', 59@)
Hud.DrawSprite(7, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
wait 0
goto @GRAV_9131

:GRAV_9452
67@(678@,101f) = 999.0
168@(678@,101f) = 999.0
678@ = 0

:GRAV_9487
if 
  is_int_var_greater_than_int_lvar $grav_velocity_x > 678@
goto_if_false @GRAV_9856
$grav_start_time = Math.RandomIntInRange(2, 7)
$grav_start_time *= 80
cset_var_float_to_var_int $6444 =# $grav_start_time
$grav_velocity_y = Math.RandomIntInRange(0, 32)
$grav_velocity_y *= 128
$grav_velocity_y += 64
set_lvar_float_to_var_float 269@(678@,101f) = $6444
cset_lvar_float_to_var_int 370@(678@,101f) =# $grav_velocity_y
$6444 -= 48.0
$grav_velocity_y += 32
set_lvar_float_to_var_float 471@(678@,101f) = $6444
cset_lvar_float_to_var_int 572@(678@,101f) =# $grav_velocity_y
678@ += 1
Text.SetColor(168, 142, 51, 255)
Text.SetScale(1.0, 2.0)
Text.SetCenter(True)
Text.SetWrapX(640.0)
set_lvar_int_to_var_int 59@ = $grav_buzz
59@ += 1
Text.DisplayWithNumber(320.0, 224.0, 'GR_LVL', 59@)
Hud.DrawSprite(7, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(7, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
wait 0
goto @GRAV_9487

:GRAV_9856
269@(678@,101f) = 999.0
370@(678@,101f) = 999.0
471@(678@,101f) = 999.0
572@(678@,101f) = 999.0
set_var_int_to_var_int $grav_pickups_display = $grav_velocity_x
set_var_int_to_var_int $grav_temp_1 = $grav_pickups_display
set_lvar_int_to_var_int 678@ = $grav_velocity_x
67@(678@,101f) = 52.0
168@(678@,101f) = 4096.0
678@ += 1
67@(678@,101f) = 164.0
168@(678@,101f) = 4096.0
678@ += 1
67@(678@,101f) = 268.0
168@(678@,101f) = 4096.0
678@ += 1
67@(678@,101f) = 372.0
168@(678@,101f) = 4096.0
678@ += 1
67@(678@,101f) = 476.0
168@(678@,101f) = 4096.0
678@ += 1
67@(678@,101f) = 580.0
168@(678@,101f) = 4096.0
678@ += 1
67@(678@,101f) = 52.0
168@(678@,101f) = 0.0
678@ += 1
67@(678@,101f) = 164.0
168@(678@,101f) = 0.0
678@ += 1
67@(678@,101f) = 268.0
168@(678@,101f) = 0.0
678@ += 1
67@(678@,101f) = 372.0
168@(678@,101f) = 0.0
678@ += 1
67@(678@,101f) = 476.0
168@(678@,101f) = 0.0
678@ += 1
67@(678@,101f) = 580.0
168@(678@,101f) = 0.0
678@ += 1
67@(678@,101f) = 999.0
168@(678@,101f) = 999.0
return 

:GRAV_10386
if 
  47@ == 1
goto_if_false @GRAV_10780
if 
  50.0 > $grav_dead_x
goto_if_false @GRAV_10435
$grav_dead_x = 50.0

:GRAV_10435
if 
  $grav_dead_x > 590.0
goto_if_false @GRAV_10466
$grav_dead_x = 590.0

:GRAV_10466
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GRAV_10549
if 
  $grav_level == 1
goto_if_false @GRAV_10518
$grav_level = 0
$grav_ground += 4.0

:GRAV_10518
if 
  20.0 > $grav_ground
goto_if_false @GRAV_10549
$grav_ground += 0.4

:GRAV_10549
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @GRAV_10615
if 
  $grav_level == 0
goto_if_false @GRAV_10615
if 
  $grav_ground > 0.0
goto_if_false @GRAV_10615
$grav_ground -= 0.2

:GRAV_10615
set_var_float_to_var_float $6444 = $nGameState
$6444 /= 4.0
sub_float_var_from_float_var $nGameState -= $6444
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @GRAV_10665
34@ = -127

:GRAV_10665
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @GRAV_10689
34@ = 127

:GRAV_10689
cset_var_float_to_lvar_int $6444 =# 34@
$6444 /= 128.0
add_float_var_to_float_var $nGameState += $6444
add_float_var_to_float_var $grav_dead_x += $nGameState
if 
  $grav_level == 0
goto_if_false @GRAV_10772
if 
  $grav_ground > -20.0
goto_if_false @GRAV_10772
$grav_ground -= 0.2

:GRAV_10772
sub_float_var_from_float_var $grav_dead_y -= $grav_ground

:GRAV_10780
return 

:GRAV_10782
Hud.DrawSprite(1, 128.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 128.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 384.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 384.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 640.0, 128.0, 256.0, 256.0, 150, 150, 150, 255)
Hud.DrawSprite(1, 640.0, 384.0, 256.0, 256.0, 150, 150, 150, 255)
678@ = 0

:GRAV_11005
if and
  100 > 678@
  67@(678@,101f) <> 999.0
goto_if_false @GRAV_11138
set_var_float_to_lvar_float $6445 = 168@(678@,101f)
sub_float_var_from_float_var $6445 -= $pool_view_debug
if and
  $6445 > -64.0
  480.0 > $6445
goto_if_false @GRAV_11124
Hud.DrawSprite(10, 67@(678@,101f), $6445, 128.0, 64.0, 150, 150, 150, 255)

:GRAV_11124
678@ += 1
goto @GRAV_11005

:GRAV_11138
678@ = 0

:GRAV_11145
if and
  100 > 678@
  269@(678@,101f) <> 999.0
goto_if_false @GRAV_11278
set_var_float_to_lvar_float $6445 = 370@(678@,101f)
sub_float_var_from_float_var $6445 -= $pool_view_debug
if and
  $6445 > -64.0
  480.0 > $6445
goto_if_false @GRAV_11264
Hud.DrawSprite(6, 269@(678@,101f), $6445, 32.0, 32.0, 150, 150, 150, 255)

:GRAV_11264
678@ += 1
goto @GRAV_11145

:GRAV_11278
678@ = 0

:GRAV_11285
if and
  100 > 678@
  471@(678@,101f) <> 999.0
goto_if_false @GRAV_11418
set_var_float_to_lvar_float $6445 = 572@(678@,101f)
sub_float_var_from_float_var $6445 -= $pool_view_debug
if and
  $6445 > -64.0
  480.0 > $6445
goto_if_false @GRAV_11404
Hud.DrawSprite(5, 471@(678@,101f), $6445, 128.0, 32.0, 150, 150, 150, 255)

:GRAV_11404
678@ += 1
goto @GRAV_11285

:GRAV_11418
set_var_float_to_var_float $6444 = $grav_dead_x
sub_float_var_from_float_var $6444 -= $grav_screen_temp_y
set_var_float_to_var_float $6445 = $grav_dead_y
sub_float_var_from_float_var $6445 -= $pool_view_debug
if 
  47@ == 1
goto_if_false @GRAV_11590
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GRAV_11527
Hud.DrawSpriteWithRotation(12, $6444, $6445, 48.0, 48.0, 43@, 150, 150, 150, 255)
goto @GRAV_11583

:GRAV_11527
Hud.DrawSpriteWithRotation($grav_temp_2, $6444, $6445, 48.0, 48.0, 43@, 150, 150, 150, 255)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1167)

:GRAV_11583
goto @GRAV_11661

:GRAV_11590
if 
  47@ == 2
goto_if_false @GRAV_11661
Hud.DrawSpriteWithRotation(4, $6444, $6445, 48.0, 48.0, 180.0, 150, 150, 150, 255)
add_timed_float_var_to_float_var $grav_dead_x +=@ $nGameState
add_timed_float_var_to_float_var $grav_dead_y +=@ $grav_ground

:GRAV_11661
return 

:GRAV_11663
set_var_float_to_var_float $6445 = $grav_dead_y
sub_float_var_from_float_var $6445 -= $pool_view_debug
if 
  200.0 > $6445
goto_if_false @GRAV_11726
$6446 = 200.0
sub_float_var_from_float_var $6446 -= $6445
sub_float_var_from_float_var $pool_view_debug -= $6446

:GRAV_11726
if 
  $6445 > 300.0
goto_if_false @GRAV_11773
set_var_float_to_var_float $6446 = $6445
$6446 -= 300.0
add_float_var_to_float_var $pool_view_debug += $6446

:GRAV_11773
return 
return 

:GRAV_11777
$grav_source_slot = 9
$grav_on_table = 0
$grav_write = 1

:GRAV_11798
if and
  $grav_source_slot >= 0
  $grav_write == 1
goto_if_false @GRAV_11895
if 
  is_int_lvar_greater_than_int_var 54@ > $2146($grav_source_slot,10i)
goto_if_false @GRAV_11881
$grav_source_slot -= 1
$grav_on_table = 1
$grav_num_gen = 3
$grav_hi_loop = 1
goto @GRAV_11888

:GRAV_11881
$grav_write = 0

:GRAV_11888
goto @GRAV_11798

:GRAV_11895
if 
  $grav_on_table == 1
goto_if_false @GRAV_12092
$grav_source_slot += 1
$grav_played_before = 9
$grav_current = 8

:GRAV_11934
if 
  is_int_var_greater_or_equal_to_int_var $grav_current >= $grav_source_slot
goto_if_false @GRAV_12054
set_var_text_label $2086($grav_played_before,10s) = $2086($grav_current,10s)
set_var_text_label $2106($grav_played_before,10s) = $2106($grav_current,10s)
set_var_text_label $2126($grav_played_before,10s) = $2126($grav_current,10s)
set_var_int_to_var_int $2156($grav_played_before,10i) = $2156($grav_current,10i)
set_var_int_to_var_int $2146($grav_played_before,10i) = $2146($grav_current,10i)
$grav_played_before -= 1
$grav_current -= 1
goto @GRAV_11934

:GRAV_12054
set_var_int_to_lvar_int $2146($grav_source_slot,10i) = 54@
set_var_int_to_var_int $2156($grav_source_slot,10i) = $grav_buzz
$grav_used = 0
$grav_time_diff = 10

:GRAV_12092
return 

:GRAV_12094
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if and
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GRAV_12183
if and
  $tucking_contact_blip == 0
  $been_in_a_bmx == 0
goto_if_false @GRAV_12183
$grav_end_time = 0

:GRAV_12183
if 
  $grav_used == 0
goto_if_false @GRAV_12463
set_var_text_label $2086($grav_source_slot,10s) = $6240($grav_time_diff,37s)
set_var_text_label $2106($grav_source_slot,10s) = s$6240[10]
set_var_text_label $2126($grav_source_slot,10s) = s$6240[10]
if 
  $grav_end_time == 0
goto_if_false @GRAV_12463
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  $been_in_a_bmx > 100
  -100 > $tucking_contact_blip
goto_if_false @GRAV_12342
if 
  36 > $grav_time_diff
goto_if_false @GRAV_12328
$grav_time_diff += 1
goto @GRAV_12335

:GRAV_12328
$grav_time_diff = 0

:GRAV_12335
$grav_end_time = 1

:GRAV_12342
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  -100 > $been_in_a_bmx
  $tucking_contact_blip > 100
goto_if_false @GRAV_12425
if 
  $grav_time_diff > 0
goto_if_false @GRAV_12411
$grav_time_diff -= 1
goto @GRAV_12418

:GRAV_12411
$grav_time_diff = 36

:GRAV_12418
$grav_end_time = 1

:GRAV_12425
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GRAV_12463
$grav_time_diff = 10
$grav_used = 1
$grav_end_time = 1

:GRAV_12463
if 
  $grav_used == 1
goto_if_false @GRAV_12719
set_var_text_label $2106($grav_source_slot,10s) = $6240($grav_time_diff,37s)
if 
  $grav_end_time == 0
goto_if_false @GRAV_12719
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  $been_in_a_bmx > 100
  -100 > $tucking_contact_blip
goto_if_false @GRAV_12598
if 
  36 > $grav_time_diff
goto_if_false @GRAV_12584
$grav_time_diff += 1
goto @GRAV_12591

:GRAV_12584
$grav_time_diff = 0

:GRAV_12591
$grav_end_time = 1

:GRAV_12598
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  -100 > $been_in_a_bmx
  $tucking_contact_blip > 100
goto_if_false @GRAV_12681
if 
  $grav_time_diff > 0
goto_if_false @GRAV_12667
$grav_time_diff -= 1
goto @GRAV_12674

:GRAV_12667
$grav_time_diff = 36

:GRAV_12674
$grav_end_time = 1

:GRAV_12681
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GRAV_12719
$grav_time_diff = 10
$grav_used = 2
$grav_end_time = 1

:GRAV_12719
if 
  $grav_used == 2
goto_if_false @GRAV_12975
set_var_text_label $2126($grav_source_slot,10s) = $6240($grav_time_diff,37s)
if 
  $grav_end_time == 0
goto_if_false @GRAV_12975
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  $been_in_a_bmx > 100
  -100 > $tucking_contact_blip
goto_if_false @GRAV_12854
if 
  36 > $grav_time_diff
goto_if_false @GRAV_12840
$grav_time_diff += 1
goto @GRAV_12847

:GRAV_12840
$grav_time_diff = 0

:GRAV_12847
$grav_end_time = 1

:GRAV_12854
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  -100 > $been_in_a_bmx
  $tucking_contact_blip > 100
goto_if_false @GRAV_12937
if 
  $grav_time_diff > 0
goto_if_false @GRAV_12923
$grav_time_diff -= 1
goto @GRAV_12930

:GRAV_12923
$grav_time_diff = 36

:GRAV_12930
$grav_end_time = 1

:GRAV_12937
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GRAV_12975
$grav_used = 3
$grav_end_time = 1
$grav_num_gen = 4

:GRAV_12975
return 

:GRAV_12977
$6321 = 0

:GRAV_12984
if 
  10 > $6321
goto_if_false @GRAV_13149
gosub @GRAV_6824
Text.Display($6322($6321,10f), $6362($6321,10f), $2086($6321,10s))
gosub @GRAV_6824
Text.Display($6332($6321,10f), $6372($6321,10f), $2106($6321,10s))
gosub @GRAV_6824
Text.Display($6342($6321,10f), $6382($6321,10f), $2126($6321,10s))
gosub @GRAV_6824
Text.SetRightJustify(True)
Text.DisplayWithNumber($6352($6321,10f), $6392($6321,10f), 'GRAV_LV', $2146($6321,10i))
$6321 += 1
goto @GRAV_12984

:GRAV_13149
gosub @GRAV_6824
Text.Display(320.0, 64.0, 'GRAV_2F')
if and
  51@ == 0
  $grav_hi_loop == 1
goto_if_false @GRAV_13588
if 
  $grav_used == 0
goto_if_false @GRAV_13269
gosub @GRAV_6824
Text.SetColor(255, 64, 0, 255)
Text.Display($6322($grav_source_slot,10f), $6362($grav_source_slot,10f), $2086($grav_source_slot,10s))
goto @GRAV_13312

:GRAV_13269
gosub @GRAV_6824
Text.SetColor(255, 128, 0, 255)
Text.Display($6322($grav_source_slot,10f), $6362($grav_source_slot,10f), $2086($grav_source_slot,10s))

:GRAV_13312
if 
  $grav_used == 1
goto_if_false @GRAV_13379
gosub @GRAV_6824
Text.SetColor(255, 64, 0, 255)
Text.Display($6332($grav_source_slot,10f), $6372($grav_source_slot,10f), $2106($grav_source_slot,10s))
goto @GRAV_13422

:GRAV_13379
gosub @GRAV_6824
Text.SetColor(255, 128, 0, 255)
Text.Display($6332($grav_source_slot,10f), $6372($grav_source_slot,10f), $2106($grav_source_slot,10s))

:GRAV_13422
if 
  $grav_used == 2
goto_if_false @GRAV_13489
gosub @GRAV_6824
Text.SetColor(255, 64, 0, 255)
Text.Display($6342($grav_source_slot,10f), $6382($grav_source_slot,10f), $2126($grav_source_slot,10s))
goto @GRAV_13532

:GRAV_13489
gosub @GRAV_6824
Text.SetColor(255, 128, 0, 255)
Text.Display($6342($grav_source_slot,10f), $6382($grav_source_slot,10f), $2126($grav_source_slot,10s))

:GRAV_13532
gosub @GRAV_6824
Text.SetRightJustify(True)
Text.SetColor(255, 128, 0, 255)
Text.DisplayWithNumber($6352($grav_source_slot,10f), $6392($grav_source_slot,10f), 'GRAV_LV', $2146($grav_source_slot,10i))

:GRAV_13588
return 

:GRAV_13590
$6411 = Math.RandomIntInRange(1, 30)
if 
  $6411 == 1
goto_if_false @GRAV_13692
if 
  $6413 == 0
goto_if_false @GRAV_13685
set_var_text_label $2086($6410,10s) = s$6240[23]
set_var_text_label $2106($6410,10s) = s$6240[15]
set_var_text_label $2126($6410,10s) = s$6240[36]
$6413 = 1
goto @GRAV_13692

:GRAV_13685
goto @GRAV_13590

:GRAV_13692
if 
  $6411 == 2
goto_if_false @GRAV_13785
if 
  $6414 == 0
goto_if_false @GRAV_13778
set_var_text_label $2086($6410,10s) = s$6240[18]
set_var_text_label $2106($6410,10s) = s$6240[22]
set_var_text_label $2126($6410,10s) = s$6240[34]
$6414 = 1
goto @GRAV_13785

:GRAV_13778
goto @GRAV_13590

:GRAV_13785
if 
  $6411 == 3
goto_if_false @GRAV_13878
if 
  $6415 == 0
goto_if_false @GRAV_13871
set_var_text_label $2086($6410,10s) = s$6240[32]
set_var_text_label $2106($6410,10s) = s$6240[18]
set_var_text_label $2126($6410,10s) = s$6240[21]
$6415 = 1
goto @GRAV_13878

:GRAV_13871
goto @GRAV_13590

:GRAV_13878
if 
  $6411 == 4
goto_if_false @GRAV_13971
if 
  $6416 == 0
goto_if_false @GRAV_13964
set_var_text_label $2086($6410,10s) = s$6240[12]
set_var_text_label $2106($6410,10s) = s$6240[20]
set_var_text_label $2126($6410,10s) = s$6240[27]
$6416 = 1
goto @GRAV_13971

:GRAV_13964
goto @GRAV_13590

:GRAV_13971
if 
  $6411 == 5
goto_if_false @GRAV_14064
if 
  $6417 == 0
goto_if_false @GRAV_14057
set_var_text_label $2086($6410,10s) = s$6240[13]
set_var_text_label $2106($6410,10s) = s$6240[11]
set_var_text_label $2126($6410,10s) = s$6240[25]
$6417 = 1
goto @GRAV_14064

:GRAV_14057
goto @GRAV_13590

:GRAV_14064
if 
  $6411 == 6
goto_if_false @GRAV_14157
if 
  $6418 == 0
goto_if_false @GRAV_14150
set_var_text_label $2086($6410,10s) = s$6240[13]
set_var_text_label $2106($6410,10s) = s$6240[10]
set_var_text_label $2126($6410,10s) = s$6240[31]
$6418 = 1
goto @GRAV_14157

:GRAV_14150
goto @GRAV_13590

:GRAV_14157
if 
  $6411 == 7
goto_if_false @GRAV_14250
if 
  $6419 == 0
goto_if_false @GRAV_14243
set_var_text_label $2086($6410,10s) = s$6240[13]
set_var_text_label $2106($6410,10s) = s$6240[24]
set_var_text_label $2126($6410,10s) = s$6240[13]
$6419 = 1
goto @GRAV_14250

:GRAV_14243
goto @GRAV_13590

:GRAV_14250
if 
  $6411 == 8
goto_if_false @GRAV_14343
if 
  $6420 == 0
goto_if_false @GRAV_14336
set_var_text_label $2086($6410,10s) = s$6240[28]
set_var_text_label $2106($6410,10s) = s$6240[19]
set_var_text_label $2126($6410,10s) = s$6240[21]
$6420 = 1
goto @GRAV_14343

:GRAV_14336
goto @GRAV_13590

:GRAV_14343
if 
  $6411 == 9
goto_if_false @GRAV_14436
if 
  $6421 == 0
goto_if_false @GRAV_14429
set_var_text_label $2086($6410,10s) = s$6240[28]
set_var_text_label $2106($6410,10s) = s$6240[29]
set_var_text_label $2126($6410,10s) = s$6240[14]
$6421 = 1
goto @GRAV_14436

:GRAV_14429
goto @GRAV_13590

:GRAV_14436
if 
  $6411 == 10
goto_if_false @GRAV_14529
if 
  $6422 == 0
goto_if_false @GRAV_14522
set_var_text_label $2086($6410,10s) = s$6240[19]
set_var_text_label $2106($6410,10s) = s$6240[30]
set_var_text_label $2126($6410,10s) = s$6240[13]
$6422 = 1
goto @GRAV_14529

:GRAV_14522
goto @GRAV_13590

:GRAV_14529
if 
  $6411 == 11
goto_if_false @GRAV_14622
if 
  $6423 == 0
goto_if_false @GRAV_14615
set_var_text_label $2086($6410,10s) = s$6240[20]
set_var_text_label $2106($6410,10s) = s$6240[22]
set_var_text_label $2126($6410,10s) = s$6240[11]
$6423 = 1
goto @GRAV_14622

:GRAV_14615
goto @GRAV_13590

:GRAV_14622
if 
  $6411 == 12
goto_if_false @GRAV_14715
if 
  $6424 == 0
goto_if_false @GRAV_14708
set_var_text_label $2086($6410,10s) = s$6240[16]
set_var_text_label $2106($6410,10s) = s$6240[28]
set_var_text_label $2126($6410,10s) = s$6240[32]
$6424 = 1
goto @GRAV_14715

:GRAV_14708
goto @GRAV_13590

:GRAV_14715
if 
  $6411 == 13
goto_if_false @GRAV_14808
if 
  $6425 == 0
goto_if_false @GRAV_14801
set_var_text_label $2086($6410,10s) = s$6240[13]
set_var_text_label $2106($6410,10s) = s$6240[28]
set_var_text_label $2126($6410,10s) = s$6240[32]
$6425 = 1
goto @GRAV_14808

:GRAV_14801
goto @GRAV_13590

:GRAV_14808
if 
  $6411 == 14
goto_if_false @GRAV_14901
if 
  $6426 == 0
goto_if_false @GRAV_14894
set_var_text_label $2086($6410,10s) = s$6240[32]
set_var_text_label $2106($6410,10s) = s$6240[13]
set_var_text_label $2126($6410,10s) = s$6240[34]
$6426 = 1
goto @GRAV_14901

:GRAV_14894
goto @GRAV_13590

:GRAV_14901
if 
  $6411 == 15
goto_if_false @GRAV_14994
if 
  $6427 == 0
goto_if_false @GRAV_14987
set_var_text_label $2086($6410,10s) = s$6240[16]
set_var_text_label $2106($6410,10s) = s$6240[10]
set_var_text_label $2126($6410,10s) = s$6240[35]
$6427 = 1
goto @GRAV_14994

:GRAV_14987
goto @GRAV_13590

:GRAV_14994
if 
  $6411 == 16
goto_if_false @GRAV_15087
if 
  $6428 == 0
goto_if_false @GRAV_15080
set_var_text_label $2086($6410,10s) = s$6240[32]
set_var_text_label $2106($6410,10s) = s$6240[10]
set_var_text_label $2126($6410,10s) = s$6240[35]
$6428 = 1
goto @GRAV_15087

:GRAV_15080
goto @GRAV_13590

:GRAV_15087
if 
  $6411 == 17
goto_if_false @GRAV_15180
if 
  $6429 == 0
goto_if_false @GRAV_15173
set_var_text_label $2086($6410,10s) = s$6240[20]
set_var_text_label $2106($6410,10s) = s$6240[18]
set_var_text_label $2126($6410,10s) = s$6240[23]
$6429 = 1
goto @GRAV_15180

:GRAV_15173
goto @GRAV_13590

:GRAV_15180
if 
  $6411 == 18
goto_if_false @GRAV_15273
if 
  $6430 == 0
goto_if_false @GRAV_15266
set_var_text_label $2086($6410,10s) = s$6240[11]
set_var_text_label $2106($6410,10s) = s$6240[14]
set_var_text_label $2126($6410,10s) = s$6240[10]
$6430 = 1
goto @GRAV_15273

:GRAV_15266
goto @GRAV_13590

:GRAV_15273
if 
  $6411 == 19
goto_if_false @GRAV_15366
if 
  $6431 == 0
goto_if_false @GRAV_15359
set_var_text_label $2086($6410,10s) = s$6240[11]
set_var_text_label $2106($6410,10s) = s$6240[10]
set_var_text_label $2126($6410,10s) = s$6240[33]
$6431 = 1
goto @GRAV_15366

:GRAV_15359
goto @GRAV_13590

:GRAV_15366
if 
  $6411 == 20
goto_if_false @GRAV_15459
if 
  $6432 == 0
goto_if_false @GRAV_15452
set_var_text_label $2086($6410,10s) = s$6240[21]
set_var_text_label $2106($6410,10s) = s$6240[24]
set_var_text_label $2126($6410,10s) = s$6240[30]
$6432 = 1
goto @GRAV_15459

:GRAV_15452
goto @GRAV_13590

:GRAV_15459
if 
  $6411 == 21
goto_if_false @GRAV_15552
if 
  $6433 == 0
goto_if_false @GRAV_15545
set_var_text_label $2086($6410,10s) = s$6240[19]
set_var_text_label $2106($6410,10s) = s$6240[23]
set_var_text_label $2126($6410,10s) = s$6240[24]
$6433 = 1
goto @GRAV_15552

:GRAV_15545
goto @GRAV_13590

:GRAV_15552
if 
  $6411 == 22
goto_if_false @GRAV_15645
if 
  $6434 == 0
goto_if_false @GRAV_15638
set_var_text_label $2086($6410,10s) = s$6240[22]
set_var_text_label $2106($6410,10s) = s$6240[34]
set_var_text_label $2126($6410,10s) = s$6240[29]
$6434 = 1
goto @GRAV_15645

:GRAV_15638
goto @GRAV_13590

:GRAV_15645
if 
  $6411 == 23
goto_if_false @GRAV_15738
if 
  $6435 == 0
goto_if_false @GRAV_15731
set_var_text_label $2086($6410,10s) = s$6240[13]
set_var_text_label $2106($6410,10s) = s$6240[14]
set_var_text_label $2126($6410,10s) = s$6240[15]
$6435 = 1
goto @GRAV_15738

:GRAV_15731
goto @GRAV_13590

:GRAV_15738
if 
  $6411 == 24
goto_if_false @GRAV_15831
if 
  $6436 == 0
goto_if_false @GRAV_15824
set_var_text_label $2086($6410,10s) = s$6240[20]
set_var_text_label $2106($6410,10s) = s$6240[17]
set_var_text_label $2126($6410,10s) = s$6240[35]
$6436 = 1
goto @GRAV_15831

:GRAV_15824
goto @GRAV_13590

:GRAV_15831
if 
  $6411 == 25
goto_if_false @GRAV_15924
if 
  $6437 == 0
goto_if_false @GRAV_15917
set_var_text_label $2086($6410,10s) = s$6240[22]
set_var_text_label $2106($6410,10s) = s$6240[14]
set_var_text_label $2126($6410,10s) = s$6240[24]
$6437 = 1
goto @GRAV_15924

:GRAV_15917
goto @GRAV_13590

:GRAV_15924
if 
  $6411 == 26
goto_if_false @GRAV_16017
if 
  $grav_screen_x == 0
goto_if_false @GRAV_16010
set_var_text_label $2086($6410,10s) = s$6240[16]
set_var_text_label $2106($6410,10s) = s$6240[15]
set_var_text_label $2126($6410,10s) = s$6240[32]
$grav_screen_x = 1
goto @GRAV_16017

:GRAV_16010
goto @GRAV_13590

:GRAV_16017
if 
  $6411 == 27
goto_if_false @GRAV_16110
if 
  $grav_screen_y == 0
goto_if_false @GRAV_16103
set_var_text_label $2086($6410,10s) = s$6240[32]
set_var_text_label $2106($6410,10s) = s$6240[27]
set_var_text_label $2126($6410,10s) = s$6240[22]
$grav_screen_y = 1
goto @GRAV_16110

:GRAV_16103
goto @GRAV_13590

:GRAV_16110
if 
  $6411 == 28
goto_if_false @GRAV_16203
if 
  $grav_temp_x == 0
goto_if_false @GRAV_16196
set_var_text_label $2086($6410,10s) = s$6240[10]
set_var_text_label $2106($6410,10s) = s$6240[36]
set_var_text_label $2126($6410,10s) = s$6240[32]
$grav_temp_x = 1
goto @GRAV_16203

:GRAV_16196
goto @GRAV_13590

:GRAV_16203
if 
  $6411 == 29
goto_if_false @GRAV_16296
if 
  $grav_temp_y == 0
goto_if_false @GRAV_16289
set_var_text_label $2086($6410,10s) = s$6240[27]
set_var_text_label $2106($6410,10s) = s$6240[18]
set_var_text_label $2126($6410,10s) = s$6240[12]
$grav_temp_y = 1
goto @GRAV_16296

:GRAV_16289
goto @GRAV_13590

:GRAV_16296
return 

//-------------Mission 7---------------
// Originally: Video Game: Inside Track Betting

:OTB
gosub @OTB_16
gosub @OTB_13306
terminate_this_script 

:OTB_16
$weapon_shop1_blip = 1
script_name 'OTB'
wait 0
Text.LoadMissionText('OTB')
Text.UseCommands(True)
Txd.LoadDictionary('LD_OTB2')
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1821)
Txd.LoadSprite(1, "BUTNA")
Txd.LoadSprite(2, "BUTNB")
Txd.LoadSprite(3, "BUTNC")
Txd.LoadSprite(4, "RIC1")
Txd.LoadSprite(5, "RIC2")
Txd.LoadSprite(6, "RIC3")
Txd.LoadSprite(7, "RIC4")
Txd.LoadSprite(8, "RIC5")
Txd.LoadSprite(9, "BACKBET")
Txd.LoadSprite(10, "BUTNAO")
Txd.LoadSprite(11, "BUTNBO")
34@ = 58.8281
35@ = 225.0068
36@ = 131.5202
set_lvar_float_to_lvar_float 37@ = 36@
add_float_lvar_to_float_lvar 37@ += 34@
set_lvar_float_to_lvar_float 38@ = 37@
add_float_lvar_to_float_lvar 38@ += 34@
set_lvar_float_to_lvar_float 39@ = 38@
add_float_lvar_to_float_lvar 39@ += 34@
set_lvar_float_to_lvar_float 40@ = 39@
add_float_lvar_to_float_lvar 40@ += 34@
45@ = 93.8682
46@ = 42.34
47@ = 463.313
55@ = 191.6589
set_lvar_float_to_lvar_float 48@ = 47@
add_float_lvar_to_float_lvar 48@ += 45@
set_lvar_float_to_lvar_float 56@ = 55@
set_lvar_float_to_lvar_float 49@ = 47@
set_lvar_float_to_lvar_float 57@ = 55@
add_float_lvar_to_float_lvar 57@ += 46@
set_lvar_float_to_lvar_float 50@ = 47@
add_float_lvar_to_float_lvar 50@ += 45@
set_lvar_float_to_lvar_float 58@ = 55@
add_float_lvar_to_float_lvar 58@ += 46@
set_lvar_float_to_lvar_float 51@ = 49@
set_lvar_float_to_lvar_float 59@ = 57@
add_float_lvar_to_float_lvar 59@ += 46@
set_lvar_float_to_lvar_float 52@ = 51@
add_float_lvar_to_float_lvar 52@ += 45@
set_lvar_float_to_lvar_float 60@ = 59@
set_lvar_float_to_lvar_float 53@ = 51@
set_lvar_float_to_lvar_float 61@ = 59@
add_float_lvar_to_float_lvar 61@ += 46@
set_lvar_float_to_lvar_float 54@ = 51@
add_float_lvar_to_float_lvar 54@ += 45@
set_lvar_float_to_lvar_float 62@ = 59@
add_float_lvar_to_float_lvar 62@ += 46@
63@ = 510.0702
64@ = 385.0263
65@ = 1
66@ = 0
67@ = 0
68@ = 0
69@ = 0
70@ = 1
71@ = 1
72@ = 1
73@ = 1
74@ = 1
75@ = 1
76@ = 0
77@ = 0
78@ = 0
79@ = 0
80@ = 0
81@ = 0
82@ = 0
83@ = 0
84@ = 0
85@ = 0
86@ = 0
87@ = 0
88@ = 0
89@ = 5
90@ = 25
91@ = 100
92@ = 250
93@ = 1000
94@ = 5000
95@ = 10000
set_lvar_text_label 97@s = 'HORS__1'
set_lvar_text_label 99@s = 'HORS__2'
set_lvar_text_label 101@s = 'HORS__3'
set_lvar_text_label 103@s = 'HORS__4'
set_lvar_text_label 105@s = 'HORS__5'
set_lvar_text_label 107@s = 'HORS__6'
set_lvar_text_label 109@s = 'HORS__7'
set_lvar_text_label 111@s = 'HORS__8'
set_lvar_text_label 113@s = 'HORS__9'
set_lvar_text_label 115@s = 'HORS_10'
set_lvar_text_label 117@s = 'HORS_11'
set_lvar_text_label 119@s = 'HORS_12'
set_lvar_text_label 121@s = 'HORS_13'
set_lvar_text_label 123@s = 'HORS_14'
set_lvar_text_label 125@s = 'HORS_15'
set_lvar_text_label 127@s = 'HORS_16'
set_lvar_text_label 129@s = 'HORS_17'
set_lvar_text_label 131@s = 'HORS_18'
set_lvar_text_label 133@s = 'HORS_19'
set_lvar_text_label 135@s = 'HORS_20'
set_lvar_text_label 137@s = 'HORS_21'
set_lvar_text_label 139@s = 'HORS_22'
set_lvar_text_label 141@s = 'HORS_23'
set_lvar_text_label 143@s = 'HORS_24'
set_lvar_text_label 145@s = 'HORS_25'
set_lvar_text_label 147@s = 'HORS_26'
set_lvar_text_label 149@s = 'HORS_27'
set_lvar_text_label 151@s = 'HORS_28'
set_lvar_text_label 153@s = 'HORS_29'
set_lvar_text_label 155@s = 'HORS_30'
set_lvar_text_label 157@s = 'HORS_31'
set_lvar_text_label 159@s = 'HORS_32'
set_lvar_text_label 161@s = 'HORS_33'
set_lvar_text_label 163@s = 'HORS_34'
set_lvar_text_label 165@s = 'HORS_35'
set_lvar_text_label 167@s = 'HORS_36'
set_lvar_text_label 169@s = 'HORS_37'
set_lvar_text_label 171@s = 'HORS_38'
set_lvar_text_label 173@s = 'HORS_39'
set_lvar_text_label 175@s = 'HORS_40'
set_lvar_text_label 177@s = 'HORS_41'
set_lvar_text_label 179@s = 'HORS_42'
set_lvar_text_label 181@s = 'HORS_43'
set_lvar_text_label 183@s = 'HORS_44'
set_lvar_text_label 185@s = 'HORS_45'
set_lvar_text_label 187@s = 'HORS_46'
set_lvar_text_label 189@s = 'HORS_47'
set_lvar_text_label 191@s = 'HORS_48'
set_lvar_text_label 193@s = 'HORS_49'
set_lvar_text_label 195@s = 'HORS_50'
set_lvar_text_label 197@s = 'HORS_51'
set_lvar_text_label 199@s = 'HORS_52'
set_lvar_text_label 201@s = 'HORS_53'
set_lvar_text_label 203@s = 'HORS_54'
set_lvar_text_label 205@s = 'HORS_55'
set_lvar_text_label 207@s = 'HORS_56'
set_lvar_text_label 209@s = 'HORS_57'
set_lvar_text_label 211@s = 'HORS_58'
set_lvar_text_label 213@s = 'HORS_59'
set_lvar_text_label 215@s = 'HORS_60'
set_lvar_text_label 217@s = 'HORS_61'
set_lvar_text_label 219@s = 'HORS_62'
set_lvar_text_label 221@s = 'HORS_63'
set_lvar_text_label 223@s = 'HORS_64'
set_lvar_text_label 225@s = 'HORS_65'
set_lvar_text_label 227@s = 'HORS_66'
set_lvar_text_label 229@s = 'HORS_67'
set_lvar_text_label 231@s = 'HORS_68'
set_lvar_text_label 233@s = 'HORS_69'
set_lvar_text_label 235@s = 'HORS_70'
set_lvar_text_label 237@s = 'HORS_71'
set_lvar_text_label 239@s = 'HORS_72'
set_lvar_text_label 241@s = 'HORS_73'
set_lvar_text_label 243@s = 'HORS_74'
set_lvar_text_label 245@s = 'HORS_75'
set_lvar_text_label 247@s = 'HORS_76'
set_lvar_text_label 249@s = 'HORS_77'
set_lvar_text_label 251@s = 'HORS_78'
set_lvar_text_label 253@s = 'HORS_79'
set_lvar_text_label 255@s = 'HORS_80'
set_lvar_text_label 257@s = 'HORS_81'
set_lvar_text_label 259@s = 'HORS_82'
set_lvar_text_label 261@s = 'HORS_83'
set_lvar_text_label 263@s = 'HORS_84'
set_lvar_text_label 265@s = 'HORS_85'
set_lvar_text_label 267@s = 'HORS_86'
set_lvar_text_label 269@s = 'HORS_87'
set_lvar_text_label 271@s = 'HORS_88'
set_lvar_text_label 273@s = 'HORS_89'
set_lvar_text_label 275@s = 'HORS_90'
set_lvar_text_label 277@s = 'HORS_91'
set_lvar_text_label 279@s = 'HORS_92'
set_lvar_text_label 281@s = 'HORS_93'
set_lvar_text_label 283@s = 'HORS_94'
set_lvar_text_label 285@s = 'HORS_95'
set_lvar_text_label 287@s = 'HORS_96'
set_lvar_text_label 289@s = 'HORS_97'
set_lvar_text_label 291@s = 'HORS_98'
set_lvar_text_label 293@s = 'HORS_99'
set_lvar_text_label 295@s = 'HORS100'
set_lvar_text_label 297@s = 'HORS101'
set_lvar_text_label 299@s = 'HORS102'
set_lvar_text_label 301@s = 'HORS103'
set_lvar_text_label 303@s = 'HORS104'
set_lvar_text_label 305@s = 'HORS105'
set_lvar_text_label 307@s = 'HORS106'
set_lvar_text_label 309@s = 'HORS107'
set_lvar_text_label 311@s = 'HORS108'
set_lvar_text_label 313@s = 'HORS109'
set_lvar_text_label 315@s = 'HORS110'
set_lvar_text_label 317@s = 'HORS111'
set_lvar_text_label 319@s = 'HORS112'
set_lvar_text_label 321@s = 'HORS113'
set_lvar_text_label 323@s = 'HORS114'
set_lvar_text_label 325@s = 'HORS115'
set_lvar_text_label 327@s = 'HORS116'
set_lvar_text_label 329@s = 'HORS117'
set_lvar_text_label 331@s = 'HORS118'
set_lvar_text_label 333@s = 'HORS119'
set_lvar_text_label 335@s = 'HORS120'
set_lvar_text_label 337@s = 'HORS121'
set_lvar_text_label 339@s = 'HORS122'
set_lvar_text_label 341@s = 'HORS123'
set_lvar_text_label 343@s = 'HORS124'
set_lvar_text_label 345@s = 'HORS125'
set_lvar_text_label 347@s = 'HORS126'
set_lvar_text_label 349@s = 'HORS127'
set_lvar_text_label 351@s = 'HORS128'
set_lvar_text_label 353@s = 'HORS129'
set_lvar_text_label 355@s = 'HORS130'
set_lvar_text_label 357@s = 'HORS131'
set_lvar_text_label 359@s = 'HORS132'
set_lvar_text_label 361@s = 'HORS133'
set_lvar_text_label 363@s = 'HORS134'
set_lvar_text_label 365@s = 'HORS135'
set_lvar_text_label 367@s = 'HORS136'
set_lvar_text_label 369@s = 'HORS137'
set_lvar_text_label 371@s = 'HORS138'
set_lvar_text_label 373@s = 'HORS139'
set_lvar_text_label 375@s = 'HORS140'
set_lvar_text_label 377@s = 'HORS141'
set_lvar_text_label 379@s = 'HORS142'
set_lvar_text_label 381@s = 'HORS143'
set_lvar_text_label 383@s = 'HORS144'
set_lvar_text_label 385@s = 'HORS145'
set_lvar_text_label 387@s = 'HORS146'
set_lvar_text_label 389@s = 'HORS147'
set_lvar_text_label 391@s = 'HORS148'
set_lvar_text_label 393@s = 'HORS149'
set_lvar_text_label 395@s = 'HORS150'
set_lvar_text_label 397@s = 'HORS151'
set_lvar_text_label 399@s = 'HORS152'
set_lvar_text_label 401@s = 'HORS153'
set_lvar_text_label 403@s = 'HORS154'
set_lvar_text_label 405@s = 'HORS155'
set_lvar_text_label 407@s = 'HORS156'
set_lvar_text_label 409@s = 'HORS157'
set_lvar_text_label 411@s = 'HORS158'
set_lvar_text_label 413@s = 'HORS159'
set_lvar_text_label 415@s = 'HORS160'
set_lvar_text_label 417@s = 'HORS161'
set_lvar_text_label 419@s = 'HORS162'
set_lvar_text_label 421@s = 'HORS163'
set_lvar_text_label 423@s = 'HORS164'
set_lvar_text_label 425@s = 'HORS165'
set_lvar_text_label 427@s = 'HORS166'
set_lvar_text_label 429@s = 'HORS167'
431@ = -1
432@ = -1
433@ = -1
434@ = -1
435@ = -1
431@ = Math.RandomIntInRange(0, 167)

:OTB_3133
if or
  is_int_lvar_equal_to_int_lvar 431@ == 432@
  432@ == -1
goto_if_false @OTB_3176
432@ = Math.RandomIntInRange(0, 167)
goto @OTB_3133

:OTB_3176
if or
  is_int_lvar_equal_to_int_lvar 431@ == 433@
  is_int_lvar_equal_to_int_lvar 432@ == 433@
  433@ == -1
goto_if_false @OTB_3227
433@ = Math.RandomIntInRange(0, 167)
goto @OTB_3176

:OTB_3227
if or
  is_int_lvar_equal_to_int_lvar 431@ == 434@
  is_int_lvar_equal_to_int_lvar 432@ == 434@
  is_int_lvar_equal_to_int_lvar 433@ == 434@
  434@ == -1
goto_if_false @OTB_3286
434@ = Math.RandomIntInRange(0, 167)
goto @OTB_3227

:OTB_3286
if or
  is_int_lvar_equal_to_int_lvar 431@ == 435@
  is_int_lvar_equal_to_int_lvar 432@ == 435@
  is_int_lvar_equal_to_int_lvar 433@ == 435@
  is_int_lvar_equal_to_int_lvar 434@ == 435@
  435@ == -1
goto_if_false @OTB_3353
435@ = Math.RandomIntInRange(0, 167)
goto @OTB_3286

:OTB_3353
438@ = 1
439@ = 1
440@ = 1
441@ = 1
442@ = 1
436@ = 0

:OTB_3395
if 
  5 > 436@
goto_if_false @OTB_3504
437@ = 0

:OTB_3420
if 
  5 > 437@
goto_if_false @OTB_3490
if 
  is_int_lvar_greater_than_int_lvar 431@(437@,5i) > 431@(436@,5i)
goto_if_false @OTB_3476
438@(436@,5i) += 1

:OTB_3476
437@ += 1
goto @OTB_3420

:OTB_3490
436@ += 1
goto @OTB_3395

:OTB_3504
436@ = 0

:OTB_3511
if 
  5 > 436@
goto_if_false @OTB_3713
if 
  438@(436@,5i) == 1
goto_if_false @OTB_3563
set_lvar_int_to_lvar_int 443@ = 431@(436@,5i)

:OTB_3563
if 
  438@(436@,5i) == 2
goto_if_false @OTB_3597
set_lvar_int_to_lvar_int 444@ = 431@(436@,5i)

:OTB_3597
if 
  438@(436@,5i) == 3
goto_if_false @OTB_3631
set_lvar_int_to_lvar_int 445@ = 431@(436@,5i)

:OTB_3631
if 
  438@(436@,5i) == 4
goto_if_false @OTB_3665
set_lvar_int_to_lvar_int 446@ = 431@(436@,5i)

:OTB_3665
if 
  438@(436@,5i) == 5
goto_if_false @OTB_3699
set_lvar_int_to_lvar_int 447@ = 431@(436@,5i)

:OTB_3699
436@ += 1
goto @OTB_3511

:OTB_3713
448@ = Math.RandomIntInRange(2, 4)
449@ = Math.RandomIntInRange(4, 6)
450@ = Math.RandomIntInRange(6, 9)
451@ = Math.RandomIntInRange(9, 11)
452@ = Math.RandomIntInRange(11, 13)
453@ = 0

:OTB_3765
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @OTB_3791
wait 0
goto @OTB_3765

:OTB_3791
Camera.DoFade(0, Fade.In)
Hud.DrawRect(320.0, 224.0, 640.0, 448.0, 0, 0, 0, 255)

:OTB_3828
wait 0
$RStickY = Clock.GetGameTimer()
Hud.DrawSprite(9, 320.0, 224.0, 640.0, 448.0, 150, 150, 150, 255)
gosub @OTB_13581
Text.SetScale(0.759, 2.8293)
Text.SetCenter(True)
Text.Display(204.407, 39.1245, 'HRACE01')
454@ = 60.1776
gosub @OTB_13581
Text.SetScale(0.527, 2.0)
455@ = Text.GetStringWidth('XSELECT')
Text.Display(454@, 395.7635, 'XSELECT')
cset_lvar_float_to_lvar_int 467@ =# 455@
add_float_lvar_to_float_lvar 454@ += 467@
gosub @OTB_13581
Text.SetScale(0.527, 2.0)
if 
  76@ == 0
goto_if_false @OTB_4072
455@ = Text.GetStringWidth('TRIEXIT')
Text.Display(454@, 395.7635, 'TRIEXIT')
goto @OTB_4105

:OTB_4072
455@ = Text.GetStringWidth('TRIBACK')
Text.Display(454@, 395.7635, 'TRIBACK')

:OTB_4105
cset_lvar_float_to_lvar_int 467@ =# 455@
add_float_lvar_to_float_lvar 454@ += 467@
gosub @OTB_13581
Text.SetScale(0.527, 2.0)
if 
  76@ == 0
goto_if_false @OTB_4184
Text.Display(454@, 395.7635, 'DPADNUD')
goto @OTB_4203

:OTB_4184
Text.Display(454@, 395.7635, 'DPADNAV')

:OTB_4203
96@ = Player.StoreScore($statbike_temp)
gosub @OTB_13581
Text.SetScale(0.4753, 2.2289)
Text.SetCenter(True)
if 
is_xbox_version 
goto_if_false @OTB_4278
Text.DisplayWithNumber(508.6669, 32.0, 'YOURCSH', 96@)
goto @OTB_4302

:OTB_4278
Text.DisplayWithNumber(508.6669, 18.0933, 'YOURCSH', 96@)

:OTB_4302
456@, 457@, 458@, 459@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if 
  76@ == 0
goto_if_false @OTB_5108
if or
  -100 > 457@
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
goto_if_false @OTB_4520
if 
  70@ == 0
goto_if_false @OTB_4513
if 
  66@ == 1
goto_if_false @OTB_4410
66@ = 0
65@ = 1

:OTB_4410
if 
  67@ == 1
goto_if_false @OTB_4442
67@ = 0
66@ = 1

:OTB_4442
if 
  68@ == 1
goto_if_false @OTB_4474
68@ = 0
67@ = 1

:OTB_4474
if 
  69@ == 1
goto_if_false @OTB_4506
69@ = 0
68@ = 1

:OTB_4506
70@ = 1

:OTB_4513
goto @OTB_4527

:OTB_4520
70@ = 0

:OTB_4527
if or
  457@ > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
goto_if_false @OTB_4711
if 
  71@ == 0
goto_if_false @OTB_4704
if 
  68@ == 1
goto_if_false @OTB_4601
68@ = 0
69@ = 1

:OTB_4601
if 
  67@ == 1
goto_if_false @OTB_4633
67@ = 0
68@ = 1

:OTB_4633
if 
  66@ == 1
goto_if_false @OTB_4665
66@ = 0
67@ = 1

:OTB_4665
if 
  65@ == 1
goto_if_false @OTB_4697
65@ = 0
66@ = 1

:OTB_4697
71@ = 1

:OTB_4704
goto @OTB_4718

:OTB_4711
71@ = 0

:OTB_4718
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @OTB_5032
if 
  74@ == 0
goto_if_false @OTB_5025
if 
  65@ == 1
goto_if_false @OTB_4800
66@ = 2
67@ = 2
68@ = 2
69@ = 2

:OTB_4800
if 
  66@ == 1
goto_if_false @OTB_4846
65@ = 2
67@ = 2
68@ = 2
69@ = 2

:OTB_4846
if 
  67@ == 1
goto_if_false @OTB_4892
65@ = 2
66@ = 2
68@ = 2
69@ = 2

:OTB_4892
if 
  68@ == 1
goto_if_false @OTB_4938
65@ = 2
66@ = 2
67@ = 2
69@ = 2

:OTB_4938
if 
  69@ == 1
goto_if_false @OTB_4984
65@ = 2
66@ = 2
67@ = 2
68@ = 2

:OTB_4984
74@ = 1
78@ = 1
76@ += 1
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundAmmunationBuyWeapon)

:OTB_5025
goto @OTB_5039

:OTB_5032
74@ = 0

:OTB_5039
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @OTB_5101
if 
  75@ == 0
goto_if_false @OTB_5094
75@ = 1
Camera.DoFade(0, Fade.Out)
wait 0
return 

:OTB_5094
goto @OTB_5108

:OTB_5101
75@ = 0

:OTB_5108
460@ = 0

:OTB_5115
if 
  5 > 460@
goto_if_false @OTB_5653
if 
  65@(460@,5i) == 0
goto_if_false @OTB_5191
Hud.DrawSprite(1, 35@, 36@(460@,5f), 330.0, 64.0, 150, 150, 150, 255)

:OTB_5191
if 
  65@(460@,5i) == 1
goto_if_false @OTB_5249
Hud.DrawSprite(10, 35@, 36@(460@,5f), 330.0, 64.0, 150, 150, 150, 255)

:OTB_5249
if 
  65@(460@,5i) == 2
goto_if_false @OTB_5304
Hud.DrawSprite(1, 35@, 36@(460@,5f), 330.0, 64.0, 50, 50, 50, 255)

:OTB_5304
set_lvar_float_to_lvar_float 41@ = 35@
41@ -= 130.0
set_lvar_float_to_lvar_float 42@ = 36@(460@,5f)
42@ -= 8.0
set_lvar_int_to_lvar_int 461@ = 460@
461@ += 4
Hud.DrawSprite(461@, 41@, 42@, 64.0, 64.0, 150, 150, 150, 255)
set_lvar_float_to_lvar_float 43@ = 35@
43@ -= 105.0
set_lvar_float_to_lvar_float 44@ = 36@(460@,5f)
44@ -= 24.0
gosub @OTB_13581
Text.SetScale(0.63, 3.0)
if 
  65@(460@,5i) == 1
goto_if_false @OTB_5503
462@, 463@, 464@, 465@ = Hud.GetColor(0)
Text.SetColor(462@, 463@, 464@, 465@)

:OTB_5503
set_lvar_int_to_lvar_int 461@ = 443@(460@,5i)
Text.Display(43@, 44@, 97@(461@,167s))
43@ += 254.2121
gosub @OTB_13581
Text.SetScale(0.7, 3.0)
Text.SetRightJustify(True)
if 
  65@(460@,5i) == 1
goto_if_false @OTB_5615
462@, 463@, 464@, 465@ = Hud.GetColor(0)
Text.SetColor(462@, 463@, 464@, 465@)

:OTB_5615
Text.DisplayWithNumber(43@, 44@, 'ODDS', 448@(460@,5i))
460@ += 1
goto @OTB_5115

:OTB_5653
if 
  76@ == 1
goto_if_false @OTB_6859
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @OTB_6056
if 
  75@ == 0
goto_if_false @OTB_6049
if 
  65@ == 1
goto_if_false @OTB_5753
66@ = 0
67@ = 0
68@ = 0
69@ = 0

:OTB_5753
if 
  66@ == 1
goto_if_false @OTB_5799
65@ = 0
67@ = 0
68@ = 0
69@ = 0

:OTB_5799
if 
  67@ == 1
goto_if_false @OTB_5845
65@ = 0
66@ = 0
68@ = 0
69@ = 0

:OTB_5845
if 
  68@ == 1
goto_if_false @OTB_5891
65@ = 0
66@ = 0
67@ = 0
69@ = 0

:OTB_5891
if 
  69@ == 1
goto_if_false @OTB_5937
65@ = 0
66@ = 0
67@ = 0
68@ = 0

:OTB_5937
75@ = 1
78@ = 0
79@ = 0
80@ = 0
81@ = 0
82@ = 0
83@ = 0
84@ = 0
85@ = 0
86@ = 0
76@ -= 1
Player.AddScore($statbike_temp, 87@)
87@ = 0
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1121)

:OTB_6049
goto @OTB_6063

:OTB_6056
75@ = 0

:OTB_6063
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @OTB_6482
if 
  74@ == 0
goto_if_false @OTB_6475
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @OTB_6129
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)

:OTB_6129
if and
  86@ > 0
  87@ > 0
goto_if_false @OTB_6181
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1123)
453@ = 1

:OTB_6181
if 
  78@ == 1
goto_if_false @OTB_6242
78@ = 2
Player.AddScore($statbike_temp, 87@)
set_lvar_int_to_lvar_int 87@ = 88@
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1120)

:OTB_6242
460@ = 1

:OTB_6249
if 
  8 > 460@
goto_if_false @OTB_6468
if 
  78@(460@,8i) == 1
goto_if_false @OTB_6454
78@(460@,8i) = 2
set_lvar_int_to_lvar_int 461@ = 88@(460@,8i)
461@ -= 1
set_lvar_int_to_lvar_int 466@ = 87@
add_int_lvar_to_int_lvar 466@ += 88@(460@,8i)
if and
  Player.IsScoreGreater($statbike_temp, 461@)
  9999999 > 466@
goto_if_false @OTB_6434
add_int_lvar_to_int_lvar 87@ += 88@(460@,8i)
set_lvar_int_to_lvar_int 461@ = 88@(460@,8i)
461@ *= -1
Player.AddScore($statbike_temp, 461@)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1121)
goto @OTB_6454

:OTB_6434
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1158)

:OTB_6454
460@ += 1
goto @OTB_6249

:OTB_6468
74@ = 1

:OTB_6475
goto @OTB_6859

:OTB_6482
if 
  74@ == 1
goto_if_false @OTB_6579
460@ = 0

:OTB_6507
if 
  8 > 460@
goto_if_false @OTB_6572
if 
  78@(460@,8i) == 2
goto_if_false @OTB_6558
78@(460@,8i) = 1

:OTB_6558
460@ += 1
goto @OTB_6507

:OTB_6572
74@ = 0

:OTB_6579
if or
  -100 > 456@
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @OTB_6642
if 
  72@ == 0
goto_if_false @OTB_6635
72@ = 1
gosub @OTB_13649

:OTB_6635
goto @OTB_6649

:OTB_6642
72@ = 0

:OTB_6649
if or
  456@ > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @OTB_6712
if 
  73@ == 0
goto_if_false @OTB_6705
73@ = 1
gosub @OTB_13787

:OTB_6705
goto @OTB_6719

:OTB_6712
73@ = 0

:OTB_6719
if or
  -100 > 457@
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
goto_if_false @OTB_6782
if 
  70@ == 0
goto_if_false @OTB_6775
70@ = 1
gosub @OTB_13925

:OTB_6775
goto @OTB_6789

:OTB_6782
70@ = 0

:OTB_6789
if or
  457@ > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
goto_if_false @OTB_6852
if 
  71@ == 0
goto_if_false @OTB_6845
71@ = 1
gosub @OTB_14195

:OTB_6845
goto @OTB_6859

:OTB_6852
71@ = 0

:OTB_6859
460@ = 0

:OTB_6866
if 
  8 > 460@
goto_if_false @OTB_7209
if 
  78@(460@,8i) == 0
goto_if_false @OTB_6946
Hud.DrawSprite(2, 47@(460@,8f), 55@(460@,8f), 90.0, 64.0, 150, 150, 150, 255)

:OTB_6946
if 
  78@(460@,8i) == 1
goto_if_false @OTB_7008
Hud.DrawSprite(11, 47@(460@,8f), 55@(460@,8f), 90.0, 64.0, 150, 150, 150, 255)

:OTB_7008
if 
  78@(460@,8i) == 2
goto_if_false @OTB_7070
Hud.DrawSprite(3, 47@(460@,8f), 55@(460@,8f), 90.0, 64.0, 150, 150, 150, 255)

:OTB_7070
gosub @OTB_13581
Text.SetCenter(True)
Text.SetScale(0.58, 2.4957)
set_lvar_float_to_lvar_float 467@ = 55@(460@,8f)
467@ -= 28.3404
if 
  78@(460@,8i) > 0
goto_if_false @OTB_7167
462@, 463@, 464@, 465@ = Hud.GetColor(0)
Text.SetColor(462@, 463@, 464@, 465@)

:OTB_7167
Text.DisplayWithNumber(47@(460@,8f), 467@, 'DOLLAR', 88@(460@,8i))
460@ += 1
goto @OTB_6866

:OTB_7209
if 
  86@ == 0
goto_if_false @OTB_7328
if 
  87@ > 0
goto_if_false @OTB_7288
Hud.DrawSprite(1, 510.0702, 373.3544, 176.8987, 50.8555, 150, 150, 150, 255)
goto @OTB_7321

:OTB_7288
Hud.DrawSprite(1, 510.0702, 373.3544, 176.8987, 50.8555, 50, 50, 50, 255)

:OTB_7321
goto @OTB_7364

:OTB_7328
Hud.DrawSprite(10, 510.0702, 373.3544, 176.8987, 50.8555, 150, 150, 150, 255)

:OTB_7364
gosub @OTB_13581
if or
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @OTB_7415
Text.SetScale(0.5, 2.996)
goto @OTB_7427

:OTB_7415
Text.SetScale(0.609, 2.996)

:OTB_7427
Text.SetCenter(True)
if 
  86@ > 0
goto_if_false @OTB_7479
462@, 463@, 464@, 465@ = Hud.GetColor(0)
Text.SetColor(462@, 463@, 464@, 465@)

:OTB_7479
Text.Display(509.6968, 351.0, 'PLACBET')
gosub @OTB_13581
Text.SetScale(0.8, 3.3297)
Text.SetCenter(True)
Text.DisplayWithNumber(509.2133, 84.9941, 'DOLLAR', 87@)
if 
  453@ == 1
goto_if_false @OTB_7572
goto @OTB_7579

:OTB_7572
goto @OTB_3828

:OTB_7579
Txd.Remove
Txd.LoadDictionary('LD_OTB')
Txd.LoadSprite(1, "BCKGRND")
Txd.LoadSprite(2, "BUSHES")
Txd.LoadSprite(3, "BRIDE1")
Txd.LoadSprite(4, "BRIDE2")
Txd.LoadSprite(5, "BRIDE3")
Txd.LoadSprite(6, "BRIDE4")
Txd.LoadSprite(7, "BRIDE5")
Txd.LoadSprite(8, "BRIDE6")
Txd.LoadSprite(9, "BRIDE7")
Txd.LoadSprite(10, "BRIDE8")
Txd.LoadSprite(11, "TREES")
Txd.LoadSprite(12, "FEN")
Txd.LoadSprite(13, "POLE2")
Txd.LoadSprite(14, "RRIDE1")
Txd.LoadSprite(15, "RRIDE2")
Txd.LoadSprite(16, "RRIDE3")
Txd.LoadSprite(17, "RRIDE4")
Txd.LoadSprite(18, "RRIDE5")
Txd.LoadSprite(19, "RRIDE6")
Txd.LoadSprite(20, "RRIDE7")
Txd.LoadSprite(21, "RRIDE8")
Txd.LoadSprite(22, "YRIDE1")
Txd.LoadSprite(23, "YRIDE2")
Txd.LoadSprite(24, "YRIDE3")
Txd.LoadSprite(25, "YRIDE4")
Txd.LoadSprite(26, "YRIDE5")
Txd.LoadSprite(27, "YRIDE6")
Txd.LoadSprite(28, "YRIDE7")
Txd.LoadSprite(29, "YRIDE8")
Txd.LoadSprite(30, "PRIDE1")
Txd.LoadSprite(31, "PRIDE2")
Txd.LoadSprite(32, "PRIDE3")
Txd.LoadSprite(33, "PRIDE4")
Txd.LoadSprite(34, "PRIDE5")
Txd.LoadSprite(35, "PRIDE6")
Txd.LoadSprite(36, "PRIDE7")
Txd.LoadSprite(37, "PRIDE8")
Txd.LoadSprite(38, "GRIDE1")
Txd.LoadSprite(39, "GRIDE2")
Txd.LoadSprite(40, "GRIDE3")
Txd.LoadSprite(41, "GRIDE4")
Txd.LoadSprite(42, "GRIDE5")
Txd.LoadSprite(43, "GRIDE6")
Txd.LoadSprite(44, "GRIDE7")
Txd.LoadSprite(45, "GRIDE8")
Txd.LoadSprite(46, "TVCORN")
Txd.LoadSprite(47, "TVL")
Txd.LoadSprite(48, "TVR")
Txd.LoadSprite(49, "BLUE")
Txd.LoadSprite(50, "HRS1")
Txd.LoadSprite(51, "HRS2")
Txd.LoadSprite(52, "HRS3")
Txd.LoadSprite(53, "HRS4")
Txd.LoadSprite(54, "HRS5")
Txd.LoadSprite(55, "HRS6")
Txd.LoadSprite(56, "HRS7")
Txd.LoadSprite(57, "HRS8")
468@ = 0
469@ = 0
470@ = 0
471@ = 0
472@ = 0
473@ = 0
474@ = 0
475@ = 0
476@ = 0
477@ = 0
482@ = 128.0
set_lvar_float_to_lvar_float 483@ = 482@
483@ /= 10.0
set_lvar_float_to_lvar_float 481@ = 482@
sub_float_lvar_from_float_lvar 481@ -= 483@
set_lvar_float_to_lvar_float 483@ = 481@
483@ /= 10.0
set_lvar_float_to_lvar_float 480@ = 481@
sub_float_lvar_from_float_lvar 480@ -= 483@
set_lvar_float_to_lvar_float 483@ = 480@
483@ /= 10.0
set_lvar_float_to_lvar_float 479@ = 480@
sub_float_lvar_from_float_lvar 479@ -= 483@
set_lvar_float_to_lvar_float 483@ = 479@
483@ /= 10.0
set_lvar_float_to_lvar_float 478@ = 479@
sub_float_lvar_from_float_lvar 478@ -= 483@
488@ = 64.0
set_lvar_float_to_lvar_float 483@ = 488@
483@ /= 10.0
set_lvar_float_to_lvar_float 487@ = 488@
sub_float_lvar_from_float_lvar 487@ -= 483@
set_lvar_float_to_lvar_float 483@ = 487@
483@ /= 10.0
set_lvar_float_to_lvar_float 486@ = 487@
sub_float_lvar_from_float_lvar 486@ -= 483@
set_lvar_float_to_lvar_float 483@ = 486@
483@ /= 10.0
set_lvar_float_to_lvar_float 485@ = 486@
sub_float_lvar_from_float_lvar 485@ -= 483@
set_lvar_float_to_lvar_float 483@ = 485@
483@ /= 10.0
set_lvar_float_to_lvar_float 484@ = 485@
sub_float_lvar_from_float_lvar 484@ -= 483@
489@ = 150.0
490@ = 150.0
491@ = 150.0
492@ = 150.0
493@ = 150.0
498@ = 300.0
set_lvar_float_to_lvar_float 483@ = 498@
483@ /= 10.0
set_lvar_float_to_lvar_float 497@ = 498@
sub_float_lvar_from_float_lvar 497@ -= 483@
set_lvar_float_to_lvar_float 483@ = 497@
483@ /= 10.0
set_lvar_float_to_lvar_float 496@ = 497@
sub_float_lvar_from_float_lvar 496@ -= 483@
set_lvar_float_to_lvar_float 483@ = 496@
483@ /= 10.0
set_lvar_float_to_lvar_float 495@ = 496@
sub_float_lvar_from_float_lvar 495@ -= 483@
set_lvar_float_to_lvar_float 483@ = 495@
483@ /= 10.0
set_lvar_float_to_lvar_float 494@ = 495@
sub_float_lvar_from_float_lvar 494@ -= 483@
499@ = 159.0
500@ = 159.0
501@ = 159.0
502@ = 159.0
503@ = 159.0
508@ = 261.0
set_lvar_float_to_lvar_float 483@ = 508@
483@ /= 10.0
set_lvar_float_to_lvar_float 507@ = 508@
sub_float_lvar_from_float_lvar 507@ -= 483@
set_lvar_float_to_lvar_float 483@ = 507@
483@ /= 10.0
set_lvar_float_to_lvar_float 506@ = 507@
sub_float_lvar_from_float_lvar 506@ -= 483@
set_lvar_float_to_lvar_float 483@ = 506@
483@ /= 10.0
set_lvar_float_to_lvar_float 505@ = 506@
sub_float_lvar_from_float_lvar 505@ -= 483@
set_lvar_float_to_lvar_float 483@ = 505@
483@ /= 10.0
set_lvar_float_to_lvar_float 504@ = 505@
sub_float_lvar_from_float_lvar 504@ -= 483@
514@ = 0.0
515@ = 0.0
516@ = 0.0
517@ = 0.0
518@ = 0.0
519@ = 4
520@ = 10
521@ = 13
522@ = 12
523@ = 5
526@ = 3
527@ = 14
528@ = 22
529@ = 30
530@ = 38
$RStickY = Clock.GetGameTimer()
set_lvar_int_to_var_int 531@ = $RStickY
531@ += 25000
532@ = 512.0
set_lvar_float_to_lvar_float 533@ = 532@
533@ += 124.0
534@ = 0
535@ = 0
536@ = 0
537@ = 0
538@ = 0
544@ = 0
545@ = 0
546@ = 0
547@ = 0
548@ = 0
552@ = 0.0
553@ = 0.0
554@ = 0.0
555@ = 0.0
556@ = 0
557@ = 454.364
558@ = 152.8744
563@ = 0
564@ = 42
569@ = 96
574@ = 228
565@ = 209
570@ = 116
575@ = 116
566@ = 222
571@ = 185
576@ = 103
567@ = 133
572@ = 65
577@ = 190
568@ = 65
573@ = 190
578@ = 151
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1142)
579@ = 0
Hud.DrawRect(320.0, 224.0, 640.0, 448.0, 0, 0, 0, 255)

:OTB_9486
wait 0
$RStickY = Clock.GetGameTimer()
if 
  556@ == 0
goto_if_false @OTB_9968
460@ = 0

:OTB_9520
if 
  5 > 460@
goto_if_false @OTB_9968
if 
  is_int_var_greater_than_int_lvar $RStickY > 468@(460@,5i)
goto_if_false @OTB_9626
509@(460@,5f) = Math.RandomFloatInRange(-0.8, 1.0)
580@ = Math.RandomIntInRange(1500, 2500)
set_lvar_int_to_var_int 468@(460@,5i) = $RStickY
add_int_lvar_to_int_lvar 468@(460@,5i) += 580@
473@(460@,5i) = 1

:OTB_9626
if 
  473@(460@,5i) == 1
goto_if_false @OTB_9838
if 
  is_float_lvar_greater_than_float_lvar 514@(460@,5f) > 509@(460@,5f)
goto_if_false @OTB_9743
sub_timed_val_from_float_lvar 514@(460@,5f) -=@ 0.01
if 
  is_float_lvar_greater_than_float_lvar 509@(460@,5f) > 514@(460@,5f)
goto_if_false @OTB_9743
set_lvar_float_to_lvar_float 514@(460@,5f) = 509@(460@,5f)
473@(460@,5i) += 1

:OTB_9743
if 
  is_float_lvar_greater_than_float_lvar 509@(460@,5f) > 514@(460@,5f)
goto_if_false @OTB_9838
add_timed_val_to_float_lvar 514@(460@,5f) +=@ 0.01
if 
  is_float_lvar_greater_than_float_lvar 514@(460@,5f) > 509@(460@,5f)
goto_if_false @OTB_9838
set_lvar_float_to_lvar_float 514@(460@,5f) = 509@(460@,5f)
473@(460@,5i) += 1

:OTB_9838
if 
  473@(460@,5i) > 0
goto_if_false @OTB_9876
add_timed_float_lvar_to_float_lvar 489@(460@,5f) +=@ 514@(460@,5f)

:OTB_9876
if 
  80.0 > 489@(460@,5f)
goto_if_false @OTB_9915
489@(460@,5f) = 80.0

:OTB_9915
if 
  489@(460@,5f) > 520.0
goto_if_false @OTB_9954
489@(460@,5f) = 520.0

:OTB_9954
460@ += 1
goto @OTB_9520

:OTB_9968
set_lvar_float_to_lvar_float 549@ = 552@
583@ = -76.0
582@ = 72.0
525@ = 1
551@ = 4.0
gosub @OTB_13326
set_lvar_float_to_lvar_float 552@ = 549@
set_lvar_float_to_lvar_float 549@ = 554@
583@ = -64.0
582@ = 128.0
525@ = 2
551@ = 5.0
gosub @OTB_13326
set_lvar_float_to_lvar_float 554@ = 549@
set_lvar_float_to_lvar_float 549@ = 553@
583@ = 0.0
582@ = 256.0
525@ = 11
551@ = 6.0
gosub @OTB_13326
set_lvar_float_to_lvar_float 553@ = 549@
if 
  is_int_var_greater_than_int_lvar $RStickY > 531@
goto_if_false @OTB_10587
if 
  532@ > -200.0
goto_if_false @OTB_10268
if 
  556@ == 0
goto_if_false @OTB_10216
sub_timed_val_from_float_lvar 532@ -=@ 6.0

:OTB_10216
Hud.DrawSprite(13, 532@, 224.0, 256.0, 256.0, 150, 150, 150, 255)
set_lvar_float_to_lvar_float 533@ = 532@
533@ += 124.0

:OTB_10268
460@ = 0

:OTB_10275
if 
  5 > 460@
goto_if_false @OTB_10587
if 
  534@(460@,5i) == 0
goto_if_false @OTB_10573
if 
  is_float_lvar_greater_than_float_lvar 489@(460@,5f) > 533@
goto_if_false @OTB_10573
if 
  544@ == 0
goto_if_false @OTB_10381
534@(460@,5i) = 1
544@ += 1
goto @OTB_10573

:OTB_10381
if 
  545@ == 0
goto_if_false @OTB_10424
534@(460@,5i) = 2
545@ += 1
goto @OTB_10573

:OTB_10424
if 
  546@ == 0
goto_if_false @OTB_10467
534@(460@,5i) = 3
546@ += 1
goto @OTB_10573

:OTB_10467
if 
  547@ == 0
goto_if_false @OTB_10510
534@(460@,5i) = 4
547@ += 1
goto @OTB_10573

:OTB_10510
if 
  548@ == 0
goto_if_false @OTB_10573
534@(460@,5i) = 5
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1143)
556@ += 1
548@ += 1

:OTB_10573
460@ += 1
goto @OTB_10275

:OTB_10587
460@ = 0

:OTB_10594
if 
  5 > 460@
goto_if_false @OTB_10880
set_lvar_int_to_lvar_int 461@ = 519@(460@,5i)
461@ /= 2
524@ = 50
add_int_lvar_to_int_lvar 524@ += 461@
Hud.DrawSprite(524@, 489@(460@,5f), 494@(460@,5f), 478@(460@,5f), 478@(460@,5f), 150, 150, 150, 255)
set_lvar_int_to_lvar_int 524@ = 526@(460@,5i)
add_int_lvar_to_int_lvar 524@ += 461@
set_lvar_float_to_lvar_float 499@(460@,5f) = 489@(460@,5f)
499@(460@,5f) += 9.0
set_lvar_float_to_lvar_float 467@ = 484@(460@,5f)
467@ /= 2.0
Hud.DrawSprite(524@, 499@(460@,5f), 504@(460@,5f), 484@(460@,5f), 467@, 150, 150, 150, 255)
if 
  556@ == 0
goto_if_false @OTB_10833
519@(460@,5i) += 1

:OTB_10833
if 
  519@(460@,5i) > 15
goto_if_false @OTB_10866
519@(460@,5i) = 0

:OTB_10866
460@ += 1
goto @OTB_10594

:OTB_10880
set_lvar_float_to_lvar_float 549@ = 555@
583@ = 96.0
582@ = 64.0
525@ = 12
551@ = 8.0
gosub @OTB_13326
set_lvar_float_to_lvar_float 555@ = 549@
Hud.DrawSprite(46, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(46, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(46, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(46, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(47, 160.0, 0.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(47, 160.0, 448.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(48, 480.0, 0.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(48, 480.0, 448.0, 320.0, 224.0, 150, 150, 150, 255)
if or
  534@ > 0
  535@ > 0
  536@ > 0
  537@ > 0
  538@ > 0
goto_if_false @OTB_11344
set_lvar_float_to_lvar_float 561@ = 557@
561@ += -25.0222
set_lvar_float_to_lvar_float 562@ = 558@
562@ += 21.6946
Hud.DrawRect(561@, 562@, 355.0807, 119.5942, 47, 62, 90, 200)
goto @OTB_11753

:OTB_11344
set_lvar_float_to_lvar_float 561@ = 557@
561@ += -139.2772
set_lvar_float_to_lvar_float 562@ = 558@
562@ += -56.1882
Hud.DrawSprite(49, 561@, 562@, 280.2137, 22.6679, 150, 150, 150, 255)
set_lvar_float_to_lvar_float 559@ = 557@
559@ -= 157.3474
set_lvar_float_to_lvar_float 560@ = 558@
560@ -= 68.5107
gosub @OTB_13581
Text.SetJustify(False)
Text.SetRightJustify(True)
Text.Display(559@, 560@, 'YOURHSE')
set_lvar_float_to_lvar_float 559@ = 557@
559@ -= 142.4242
560@ += 12.7439
Hud.DrawRect(559@, 560@, 12.0, 12.0, 0, 0, 0, 255)
460@ = 0

:OTB_11542
if 
  5 > 460@
goto_if_false @OTB_11638
if 
  65@(460@,5i) == 1
goto_if_false @OTB_11624
Hud.DrawRect(559@, 560@, 10.0, 10.0, 564@(460@,5i), 569@(460@,5i), 574@(460@,5i), 255)

:OTB_11624
460@ += 1
goto @OTB_11542

:OTB_11638
559@ += 10.8216
560@ -= 12.7439
gosub @OTB_13581
460@ = 0

:OTB_11672
if 
  5 > 460@
goto_if_false @OTB_11753
if 
  65@(460@,5i) == 1
goto_if_false @OTB_11739
set_lvar_int_to_lvar_int 461@ = 443@(460@,5i)
Text.Display(559@, 560@, 97@(461@,167s))

:OTB_11739
460@ += 1
goto @OTB_11672

:OTB_11753
set_lvar_float_to_lvar_float 581@ = 557@
581@ += -23.3585
460@ = 0

:OTB_11778
if 
  5 > 460@
goto_if_false @OTB_12575
if 
  534@(460@,5i) > 0
goto_if_false @OTB_12561
set_lvar_float_to_lvar_float 559@ = 581@
559@ -= 50.0
set_lvar_float_to_lvar_float 560@ = 558@
560@ -= 50.0
cset_lvar_float_to_lvar_int 467@ =# 534@(460@,5i)
467@ *= 23.5038
add_float_lvar_to_float_lvar 560@ += 467@
Hud.DrawRect(559@, 560@, 12.0, 12.0, 0, 0, 0, 255)
Hud.DrawRect(559@, 560@, 10.0, 10.0, 564@(460@,5i), 569@(460@,5i), 574@(460@,5i), 255)
set_lvar_float_to_lvar_float 559@ = 581@
559@ -= 39.1244
set_lvar_float_to_lvar_float 560@ = 558@
560@ -= 63.4833
gosub @OTB_13581
if 
  534@(460@,5i) == 1
goto_if_false @OTB_12048
462@, 463@, 464@, 465@ = Hud.GetColor(0)
Text.SetColor(462@, 463@, 464@, 465@)

:OTB_12048
cset_lvar_float_to_lvar_int 467@ =# 534@(460@,5i)
467@ *= 23.5038
set_lvar_float_to_lvar_float 539@(460@,5f) = 560@
add_float_lvar_to_float_lvar 539@(460@,5f) += 467@
set_lvar_int_to_lvar_int 461@ = 443@(460@,5i)
Text.SetScale(0.54, 2.4961)
Text.Display(559@, 539@(460@,5f), 97@(461@,167s))
if 
  65@(460@,5i) == 1
goto_if_false @OTB_12225
set_lvar_float_to_lvar_float 559@ = 581@
559@ -= 64.0
gosub @OTB_13581
Text.SetJustify(False)
Text.SetRightJustify(True)
Text.SetScale(0.54, 2.4961)
Text.Display(559@, 539@(460@,5f), 'YOURHSE')

:OTB_12225
set_lvar_float_to_lvar_float 559@ = 581@
559@ -= -170.5457
set_lvar_float_to_lvar_float 560@ = 558@
560@ -= 63.4833
gosub @OTB_13581
Text.SetRightJustify(True)
if 
  534@(460@,5i) == 1
goto_if_false @OTB_12324
462@, 463@, 464@, 465@ = Hud.GetColor(0)
Text.SetColor(462@, 463@, 464@, 465@)

:OTB_12324
cset_lvar_float_to_lvar_int 467@ =# 534@(460@,5i)
467@ *= 23.5038
set_lvar_float_to_lvar_float 539@(460@,5f) = 560@
add_float_lvar_to_float_lvar 539@(460@,5f) += 467@
Text.SetScale(0.54, 2.4961)
if 
  534@(460@,5i) == 1
goto_if_false @OTB_12425
Text.Display(559@, 539@(460@,5f), 'FIRST')

:OTB_12425
if 
  534@(460@,5i) == 2
goto_if_false @OTB_12468
Text.Display(559@, 539@(460@,5f), 'SECOND')

:OTB_12468
if 
  534@(460@,5i) == 3
goto_if_false @OTB_12511
Text.Display(559@, 539@(460@,5f), 'THIRD')

:OTB_12511
if 
  534@(460@,5i) > 3
goto_if_false @OTB_12561
Text.DisplayWithNumber(559@, 539@(460@,5f), 'NTH', 534@(460@,5i))

:OTB_12561
460@ += 1
goto @OTB_11778

:OTB_12575
if and
  534@ > 0
  535@ > 0
  536@ > 0
  537@ > 0
  538@ > 0
goto_if_false @OTB_13299
set_lvar_float_to_lvar_float 561@ = 557@
561@ += 44.4599
set_lvar_float_to_lvar_float 562@ = 558@
562@ += 218.4174
Hud.DrawSprite(49, 561@, 562@, 155.396, 52.7081, 150, 150, 150, 255)
set_lvar_float_to_lvar_float 559@ = 557@
559@ -= 39.2243
set_lvar_float_to_lvar_float 560@ = 558@
560@ -= -190.9665
gosub @OTB_13581
Text.SetScale(0.5, 2.4961)
Text.DisplayWithNumber(559@, 560@, 'YOURSTK', 87@)
460@ = 0

:OTB_12771
if 
  5 > 460@
goto_if_false @OTB_12856
if and
  534@(460@,5i) == 1
  65@(460@,5i) == 1
goto_if_false @OTB_12842
set_lvar_int_to_lvar_int 563@ = 87@
mult_int_lvar_by_int_lvar 563@ *= 448@(460@,5i)

:OTB_12842
460@ += 1
goto @OTB_12771

:OTB_12856
560@ += 25.0
gosub @OTB_13581
Text.SetScale(0.5, 2.4961)
Text.DisplayWithNumber(559@, 560@, 'YOUWIN', 563@)
set_lvar_float_to_lvar_float 561@ = 557@
561@ += -129.2806
set_lvar_float_to_lvar_float 562@ = 558@
562@ += 259.5944
if 
  not is_xbox_version 
goto_if_false @OTB_12986
Hud.DrawSprite(49, 561@, 562@, 239.5561, 12.6761, 150, 150, 150, 255)

:OTB_12986
gosub @OTB_13581
Text.SetScale(0.5496, 2.1344)
Text.SetCenter(True)
if 
is_xbox_version 
goto_if_false @OTB_13050
Text.Display(330.2087, 315.5891, 'XTOCONT')
goto @OTB_13071

:OTB_13050
Text.Display(330.2087, 403.5891, 'XTOCONT')

:OTB_13071
if 
  579@ == 0
goto_if_false @OTB_13161
if 
  563@ > 0
goto_if_false @OTB_13134
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1124)
goto @OTB_13154

:OTB_13134
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1122)

:OTB_13154
579@ = 1

:OTB_13161
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @OTB_13292
if 
  74@ == 0
goto_if_false @OTB_13285
74@ = 1
Stat.IncrementInt(StatId.MoneySpentGambling, 87@)
if 
  563@ > 0
goto_if_false @OTB_13266
Stat.RegisterInt(StatId.BiggestGamblingWin, 563@)
Stat.IncrementInt(StatId.MoneyWonGambling, 563@)
add_int_lvar_to_int_lvar 563@ += 87@
Player.AddScore($statbike_temp, 563@)
goto @OTB_13273

:OTB_13266
Stat.RegisterInt(StatId.BiggestGamblingLoss, 87@)

:OTB_13273
Camera.DoFade(0, Fade.Out)
wait 0
return 

:OTB_13285
goto @OTB_13299

:OTB_13292
74@ = 0

:OTB_13299
goto @OTB_9486

:OTB_13306
Txd.Remove
Camera.DoFade(500, Fade.In)
$weapon_shop1_blip = 0
Mission.Finish
return 

:OTB_13326
583@ += 224.0
set_lvar_float_to_lvar_float 550@ = 549@
550@ -= 256.0
Hud.DrawSprite(525@, 550@, 583@, 256.0, 582@, 150, 150, 150, 255)
set_lvar_float_to_lvar_float 550@ = 549@
Hud.DrawSprite(525@, 550@, 583@, 256.0, 582@, 150, 150, 150, 255)
set_lvar_float_to_lvar_float 550@ = 549@
550@ += 256.0
Hud.DrawSprite(525@, 550@, 583@, 256.0, 582@, 150, 150, 150, 255)
set_lvar_float_to_lvar_float 550@ = 549@
550@ += 512.0
Hud.DrawSprite(525@, 550@, 583@, 256.0, 582@, 150, 150, 150, 255)
if 
  556@ == 0
goto_if_false @OTB_13548
sub_timed_float_lvar_from_float_lvar 549@ -=@ 551@

:OTB_13548
if 
  0.0 > 549@
goto_if_false @OTB_13579
549@ += 256.0

:OTB_13579
return 

:OTB_13581
Text.SetColor(180, 180, 180, 255)
Text.SetScale(0.6146, 2.4961)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
Text.SetDropshadow(2, 0, 0, 0, 180)
return 

:OTB_13649
if 
  79@ == 1
goto_if_false @OTB_13683
79@ = 0
78@ = 1
return 

:OTB_13683
if 
  81@ == 1
goto_if_false @OTB_13717
81@ = 0
80@ = 1
return 

:OTB_13717
if 
  83@ == 1
goto_if_false @OTB_13751
83@ = 0
82@ = 1
return 

:OTB_13751
if 
  85@ == 1
goto_if_false @OTB_13785
85@ = 0
84@ = 1
return 

:OTB_13785
return 

:OTB_13787
if 
  78@ == 1
goto_if_false @OTB_13821
78@ = 0
79@ = 1
return 

:OTB_13821
if 
  80@ == 1
goto_if_false @OTB_13855
80@ = 0
81@ = 1
return 

:OTB_13855
if 
  82@ == 1
goto_if_false @OTB_13889
82@ = 0
83@ = 1
return 

:OTB_13889
if 
  84@ == 1
goto_if_false @OTB_13923
84@ = 0
85@ = 1
return 

:OTB_13923
return 

:OTB_13925
if 
  80@ == 1
goto_if_false @OTB_13959
80@ = 0
78@ = 1
return 

:OTB_13959
if 
  81@ == 1
goto_if_false @OTB_13993
81@ = 0
79@ = 1
return 

:OTB_13993
if 
  82@ == 1
goto_if_false @OTB_14027
82@ = 0
80@ = 1
return 

:OTB_14027
if 
  83@ == 1
goto_if_false @OTB_14061
83@ = 0
81@ = 1
return 

:OTB_14061
if 
  84@ == 1
goto_if_false @OTB_14095
84@ = 0
82@ = 1
return 

:OTB_14095
if 
  85@ == 1
goto_if_false @OTB_14129
85@ = 0
83@ = 1
return 

:OTB_14129
if 
  86@ == 1
goto_if_false @OTB_14161
86@ = 0
84@ = 1

:OTB_14161
if 
  86@ == 2
goto_if_false @OTB_14193
86@ = 0
85@ = 1

:OTB_14193
return 

:OTB_14195
if 
  78@ == 1
goto_if_false @OTB_14229
78@ = 0
80@ = 1
return 

:OTB_14229
if 
  79@ == 1
goto_if_false @OTB_14263
79@ = 0
81@ = 1
return 

:OTB_14263
if 
  80@ == 1
goto_if_false @OTB_14297
80@ = 0
82@ = 1
return 

:OTB_14297
if 
  81@ == 1
goto_if_false @OTB_14331
81@ = 0
83@ = 1
return 

:OTB_14331
if 
  82@ == 1
goto_if_false @OTB_14365
82@ = 0
84@ = 1
return 

:OTB_14365
if 
  83@ == 1
goto_if_false @OTB_14399
83@ = 0
85@ = 1
return 

:OTB_14399
if 
  87@ > 0
goto_if_false @OTB_14485
if 
  84@ == 1
goto_if_false @OTB_14451
84@ = 0
86@ = 1
return 

:OTB_14451
if 
  85@ == 1
goto_if_false @OTB_14485
85@ = 0
86@ = 2
return 

:OTB_14485
return 

//-------------Mission 8---------------
// Originally: Pool

:POOL2
script_name 'POOL2'
gosub @POOL2_47
if 
  has_deatharrest_been_executed 
goto_if_false @POOL2_38
gosub @POOL2_60623

:POOL2_38
gosub @POOL2_60675
terminate_this_script 

:POOL2_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
181@ = Clock.GetGameTimer()
34@ = 0
35@ = 0
37@ = 0
38@ = 0
178@ = 0
205@ = -0.957
207@ = -0.49
206@ = 0.957
208@ = 0.49
200@ = 0.05
201@ = 2.0
127@ = 1

:POOL2_163
wait 0
39@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 182@ = 39@
sub_int_lvar_from_int_lvar 182@ -= 181@
set_lvar_int_to_lvar_int 181@ = 39@
add_int_lvar_to_int_lvar 183@ += 182@
add_int_lvar_to_int_lvar 202@ += 182@
add_int_lvar_to_int_lvar 203@ += 182@
gosub @POOL2_2290

:POOL2_227
switch_start 34@ {numCases} 13 {hasDefaultCase} 0 {defaultLabel} @POOL2_537 {caseNum1} 0 {caseLabel1} @POOL2_355 {caseNum2} 1 {caseLabel2} @POOL2_369 {caseNum3} 2 {caseLabel3} @POOL2_383 {caseNum4} 3 {caseLabel4} @POOL2_397 {caseNum5} 4 {caseLabel5} @POOL2_411 {caseNum6} 5 {caseLabel6} @POOL2_425 {caseNum7} 6 {caseLabel7} @POOL2_439
switch_continued 7 {caseLabel1} @POOL2_453 {caseNum2} 8 {caseLabel2} @POOL2_467 {caseNum3} 9 {caseLabel3} @POOL2_481 {caseNum4} 10 {caseLabel4} @POOL2_495 {caseNum5} 11 {caseLabel5} @POOL2_509 {caseNum6} 12 {caseLabel6} @POOL2_523 {caseNum7} -1 {caseLabel7} @POOL2_537 {caseNum8} -1 {caseLabel8} @POOL2_537 {caseNum9} -1 {caseLabel9} @POOL2_537

:POOL2_355
gosub @POOL2_680
goto @POOL2_537

:POOL2_369
gosub @POOL2_5410
goto @POOL2_537

:POOL2_383
gosub @POOL2_9035
goto @POOL2_537

:POOL2_397
gosub @POOL2_9752
goto @POOL2_537

:POOL2_411
gosub @POOL2_10582
goto @POOL2_537

:POOL2_425
gosub @POOL2_12214
goto @POOL2_537

:POOL2_439
gosub @POOL2_15502
goto @POOL2_537

:POOL2_453
gosub @POOL2_15504
goto @POOL2_537

:POOL2_467
gosub @POOL2_20700
goto @POOL2_537

:POOL2_481
gosub @POOL2_21223
goto @POOL2_537

:POOL2_495
gosub @POOL2_22615
goto @POOL2_537

:POOL2_509
gosub @POOL2_24713
goto @POOL2_537

:POOL2_523
gosub @POOL2_25907
goto @POOL2_537

:POOL2_537
if 
  not is_int_lvar_equal_to_int_lvar 179@ == 34@
goto_if_false @POOL2_571
set_lvar_int_to_lvar_int 179@ = 34@
goto @POOL2_227

:POOL2_571
gosub @POOL2_26033
if 
  108@ == 0
goto_if_false @POOL2_678
if 
  38@ == 0
goto_if_false @POOL2_662
if 
  37@ == 0
goto_if_false @POOL2_646
goto @POOL2_163
goto @POOL2_655

:POOL2_646
gosub @POOL2_60641
return 

:POOL2_655
goto @POOL2_671

:POOL2_662
gosub @POOL2_60623
return 

:POOL2_671
goto @POOL2_680

:POOL2_678
return 

:POOL2_680
if 
  35@ == -1
goto_if_false @POOL2_972
163@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
$pool_max_bet = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
164@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
$active_pool_script = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
168@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
355@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
356@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
82@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
$txtEntryExitName = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
344@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
210@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
211@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)

:POOL2_972
if 
  35@ == 0
goto_if_false @POOL2_1158
if 
  Object.DoesExist($pool_max_bet)
goto_if_false @POOL2_1158
set_lvar_int_to_var_int 163@ = $pool_max_bet
set_lvar_int_to_var_int 164@ = $active_pool_script
if 
  not Char.IsDead(164@)
goto_if_false @POOL2_1082
Char.SetOnlyDamagedByPlayer(164@, True)
Char.SetProofs(164@, True, True, True, True, True)
Char.SetCollision(164@, False)
204@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetDecisionMaker(164@, 204@)

:POOL2_1082
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(163@)
World.ClearArea($on_footY, $on_footZ, $in_carX, 100.0, True)
World.SetPedDensityMultiplier(0.0)
Camera.SetNearClip(0.01)
Player.MakeGangDisappear
129@ = 0
108@ = 0
gosub @POOL2_57665
35@ += 1

:POOL2_1158
if 
  35@ == 1
goto_if_false @POOL2_1336
if 
  Object.DoesExist(163@)
goto_if_false @POOL2_1336
102@, 103@, 104@ = Object.GetCoordinates(163@)
105@ = Object.GetHeading(163@)
104@ += -0.1
Text.LoadMissionText('POOL')
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1802)
Streaming.RequestModel(#K_POOLQ)
Streaming.RequestAnimation("POOL")

:POOL2_1254
if or
  not Streaming.HasAnimationLoaded("POOL")
  not Streaming.HasModelLoaded(#K_POOLQ)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @POOL2_1292
wait 0
goto @POOL2_1254

:POOL2_1292
Txd.LoadDictionary('LD_POOL')
Txd.LoadSprite(1, "BALL")
Txd.LoadSprite(2, "NIB")
125@ = 0
35@ += 1

:POOL2_1336
if 
  35@ == 2
goto_if_false @POOL2_1368
34@ += 1
35@ = 0

:POOL2_1368
return 
Debugger.Line(98@, 100@, $in_carX, 99@, 100@, $in_carX)
Debugger.Line(98@, 100@, $in_carX, 98@, 101@, $in_carX)
Debugger.Line(99@, 101@, $in_carX, 99@, 100@, $in_carX)
Debugger.Line(99@, 101@, $in_carX, 98@, 101@, $in_carX)
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @POOL2_1476
205@ += -0.0001

:POOL2_1476
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @POOL2_1502
205@ += 0.0001

:POOL2_1502
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @POOL2_1528
207@ += -0.0001

:POOL2_1528
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @POOL2_1554
207@ += 0.0001

:POOL2_1554
if 
is_ps2_keyboard_key_just_pressed 141
goto_if_false @POOL2_1580
206@ += -0.0001

:POOL2_1580
if 
is_ps2_keyboard_key_just_pressed 143
goto_if_false @POOL2_1606
206@ += 0.0001

:POOL2_1606
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @POOL2_1632
208@ += -0.0001

:POOL2_1632
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @POOL2_1658
208@ += 0.0001

:POOL2_1658
if 
is_ps2_keyboard_key_just_pressed 137
goto_if_false @POOL2_2222
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("EDIT_X1 = ")
save_float_to_debug_file 205@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("EDIT_Y1 = ")
save_float_to_debug_file 207@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("EDIT_X2 = ")
save_float_to_debug_file 206@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("EDIT_Y2 = ")
save_float_to_debug_file 208@

:POOL2_2222
if 
  Object.DoesExist(163@)
goto_if_false @POOL2_2288
98@, 100@, $in_carX = Object.GetOffsetInWorldCoords(163@, 205@, 207@, 0.7)
99@, 101@, $in_carX = Object.GetOffsetInWorldCoords(163@, 206@, 208@, 0.7)

:POOL2_2288
return 

:POOL2_2290
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @POOL2_2339
209@ += 1
if 
  209@ > 11
goto_if_false @POOL2_2337
209@ = 0

:POOL2_2337
clear_all_view_variables 

:POOL2_2339
if 
  209@ == 1
goto_if_false @POOL2_2556
set_var_int_to_lvar_int $6447 = 34@
set_var_int_to_lvar_int $6448 = 35@
set_var_int_to_lvar_int $6449 = 36@
set_var_int_to_lvar_int $6450 = 108@
set_var_int_to_lvar_int $pool_view_debug2 = 125@
set_var_int_to_lvar_int $6452 = 129@
set_var_int_to_lvar_int $6453 = 214@
set_var_int_to_lvar_int $6454 = 215@
view_integer_variable $6447 {_p2} "M_STAGE"
view_integer_variable $6448 {_p2} "M_GOALS"
view_integer_variable $6449 {_p2} "FLAG3"
view_integer_variable $6450 {_p2} "QUIT"
view_integer_variable $pool_view_debug2 {_p2} "PL_CIRCLE_PRESSED"
view_integer_variable $6452 {_p2} "OUTPUT_TEXT"
view_integer_variable $6453 {_p2} "PLAYER1_COLOUR"
view_integer_variable $6454 {_p2} "PLAYER2_COLOUR"

:POOL2_2556
if 
  209@ == 2
goto_if_false @POOL2_2806
set_var_int_to_lvar_int $6447 = 66@
set_var_int_to_lvar_int $6448 = 67@
set_var_int_to_lvar_int $6449 = 68@
set_var_int_to_lvar_int $6450 = 69@
set_var_int_to_lvar_int $pool_view_debug2 = 70@
set_var_int_to_lvar_int $6452 = 71@
set_var_int_to_lvar_int $6453 = 72@
set_var_int_to_lvar_int $6454 = 73@
view_integer_variable $6447 {_p2} "BALL_POTTED[0]"
view_integer_variable $6448 {_p2} "BALL_POTTED[1]"
view_integer_variable $6449 {_p2} "BALL_POTTED[2]"
view_integer_variable $6450 {_p2} "BALL_POTTED[3]"
view_integer_variable $pool_view_debug2 {_p2} "BALL_POTTED[4]"
view_integer_variable $6452 {_p2} "BALL_POTTED[5]"
view_integer_variable $6453 {_p2} "BALL_POTTED[6]"
view_integer_variable $6454 {_p2} "BALL_POTTED[7]"

:POOL2_2806
if 
  209@ == 3
goto_if_false @POOL2_3062
set_var_int_to_lvar_int $6447 = 74@
set_var_int_to_lvar_int $6448 = 75@
set_var_int_to_lvar_int $6449 = 76@
set_var_int_to_lvar_int $6450 = 77@
set_var_int_to_lvar_int $pool_view_debug2 = 78@
set_var_int_to_lvar_int $6452 = 79@
set_var_int_to_lvar_int $6453 = 80@
set_var_int_to_lvar_int $6454 = 81@
view_integer_variable $6447 {_p2} "BALL_POTTED[8]"
view_integer_variable $6448 {_p2} "BALL_POTTED[9]"
view_integer_variable $6449 {_p2} "BALL_POTTED[10]"
view_integer_variable $6450 {_p2} "BALL_POTTED[11]"
view_integer_variable $pool_view_debug2 {_p2} "BALL_POTTED[12]"
view_integer_variable $6452 {_p2} "BALL_POTTED[13]"
view_integer_variable $6453 {_p2} "BALL_POTTED[14]"
view_integer_variable $6454 {_p2} "BALL_POTTED[15]"

:POOL2_3062
if 
  209@ == 4
goto_if_false @POOL2_3319
set_var_int_to_lvar_int $6447 = 216@
set_var_int_to_lvar_int $6448 = 217@
set_var_int_to_lvar_int $6449 = 226@
set_var_int_to_lvar_int $6450 = 227@
set_var_int_to_lvar_int $pool_view_debug2 = 228@
set_var_int_to_lvar_int $6452 = 229@
set_var_int_to_lvar_int $6453 = 248@
set_var_int_to_lvar_int $6454 = 247@
view_integer_variable $6447 {_p2} "PLAYER1_IS_HUMAN"
view_integer_variable $6448 {_p2} "PLAYER2_IS_HUMAN"
view_integer_variable $6449 {_p2} "TURN_PLAYER"
view_integer_variable $6450 {_p2} "CURRENT_CHAR_IS_HUMAN"
view_integer_variable $pool_view_debug2 {_p2} "TURN_COLOUR"
view_integer_variable $6452 {_p2} "TURN_IS_SCRATCH"
view_integer_variable $6453 {_p2} "THIS_CHAR_GOT_TASK"
view_integer_variable $6454 {_p2} "SHOT_PLAYED"

:POOL2_3319
if 
  209@ == 5
goto_if_false @POOL2_3547
set_var_int_to_lvar_int $6448 = 230@
set_var_int_to_lvar_int $6449 = 268@
set_var_int_to_lvar_int $6450 = 269@
set_var_int_to_lvar_int $pool_view_debug2 = 270@
set_var_int_to_lvar_int $6452 = 271@
set_var_int_to_lvar_int $6453 = 275@
set_var_int_to_lvar_int $6454 = 233@
view_integer_variable $6448 {_p2} "SKIP_CHALK_CUE"
view_integer_variable $6449 {_p2} "NO_OF_BALLS_POTTED_THIS_TURN"
view_integer_variable $6450 {_p2} "SPOTS_POTTED"
view_integer_variable $pool_view_debug2 {_p2} "STRIPES_POTTED"
view_integer_variable $6452 {_p2} "FOUL_TYPE"
view_integer_variable $6453 {_p2} "FIRST_MOVING_BALL"
view_integer_variable $6454 {_p2} "CAMERA_MODE"

:POOL2_3547
if 
  209@ == 6
goto_if_false @POOL2_3885
set_var_int_to_lvar_int $6447 = 252@
set_var_int_to_lvar_int $6448 = 253@
set_var_int_to_lvar_int $6449 = 254@
set_var_int_to_lvar_int $6450 = 255@
set_var_int_to_lvar_int $pool_view_debug2 = 256@
set_var_int_to_lvar_int $6452 = 257@
set_var_int_to_lvar_int $6453 = 258@
set_var_int_to_lvar_int $6454 = 259@
view_integer_variable $6447 {_p2} "BALLS_POTTED_THIS_TURN[0]"
view_integer_variable $6448 {_p2} "BALLS_POTTED_THIS_TURN[1]"
view_integer_variable $6449 {_p2} "BALLS_POTTED_THIS_TURN[2]"
view_integer_variable $6450 {_p2} "BALLS_POTTED_THIS_TURN[3]"
view_integer_variable $pool_view_debug2 {_p2} "BALLS_POTTED_THIS_TURN[4]"
view_integer_variable $6452 {_p2} "BALLS_POTTED_THIS_TURN[5]"
view_integer_variable $6453 {_p2} "BALLS_POTTED_THIS_TURN[6]"
view_integer_variable $6454 {_p2} "BALLS_POTTED_THIS_TURN[7]"

:POOL2_3885
if 
  209@ == 7
goto_if_false @POOL2_4229
set_var_int_to_lvar_int $6447 = 260@
set_var_int_to_lvar_int $6448 = 261@
set_var_int_to_lvar_int $6449 = 262@
set_var_int_to_lvar_int $6450 = 263@
set_var_int_to_lvar_int $pool_view_debug2 = 264@
set_var_int_to_lvar_int $6452 = 265@
set_var_int_to_lvar_int $6453 = 266@
set_var_int_to_lvar_int $6454 = 267@
view_integer_variable $6447 {_p2} "BALLS_POTTED_THIS_TURN[8]"
view_integer_variable $6448 {_p2} "BALLS_POTTED_THIS_TURN[9]"
view_integer_variable $6449 {_p2} "BALLS_POTTED_THIS_TURN[10]"
view_integer_variable $6450 {_p2} "BALLS_POTTED_THIS_TURN[11]"
view_integer_variable $pool_view_debug2 {_p2} "BALLS_POTTED_THIS_TURN[12]"
view_integer_variable $6452 {_p2} "BALLS_POTTED_THIS_TURN[13]"
view_integer_variable $6453 {_p2} "BALLS_POTTED_THIS_TURN[14]"
view_integer_variable $6454 {_p2} "BALLS_POTTED_THIS_TURN[15]"

:POOL2_4229
if 
  209@ == 8
goto_if_false @POOL2_4535
set_var_int_to_lvar_int $6447 = 109@
set_var_int_to_lvar_int $6448 = 110@
set_var_int_to_lvar_int $6449 = 111@
set_var_int_to_lvar_int $6450 = 112@
set_var_int_to_lvar_int $pool_view_debug2 = 113@
set_var_int_to_lvar_int $6452 = 114@
set_var_int_to_lvar_int $6453 = 115@
set_var_int_to_lvar_int $6454 = 116@
view_integer_variable $6447 {_p2} "BALL_IS_STATIONARY[0]"
view_integer_variable $6448 {_p2} "BALL_IS_STATIONARY[1]"
view_integer_variable $6449 {_p2} "BALL_IS_STATIONARY[2]"
view_integer_variable $6450 {_p2} "BALL_IS_STATIONARY[3]"
view_integer_variable $pool_view_debug2 {_p2} "BALL_IS_STATIONARY[4]"
view_integer_variable $6452 {_p2} "BALL_IS_STATIONARY[5]"
view_integer_variable $6453 {_p2} "BALL_IS_STATIONARY[6]"
view_integer_variable $6454 {_p2} "BALL_IS_STATIONARY[7]"

:POOL2_4535
if 
  209@ == 9
goto_if_false @POOL2_4847
set_var_int_to_lvar_int $6447 = 117@
set_var_int_to_lvar_int $6448 = 118@
set_var_int_to_lvar_int $6449 = 119@
set_var_int_to_lvar_int $6450 = 120@
set_var_int_to_lvar_int $pool_view_debug2 = 121@
set_var_int_to_lvar_int $6452 = 122@
set_var_int_to_lvar_int $6453 = 123@
set_var_int_to_lvar_int $6454 = 124@
view_integer_variable $6447 {_p2} "BALL_IS_STATIONARY[8]"
view_integer_variable $6448 {_p2} "BALL_IS_STATIONARY[9]"
view_integer_variable $6449 {_p2} "BALL_IS_STATIONARY[10]"
view_integer_variable $6450 {_p2} "BALL_IS_STATIONARY[11]"
view_integer_variable $pool_view_debug2 {_p2} "BALL_IS_STATIONARY[12]"
view_integer_variable $6452 {_p2} "BALL_IS_STATIONARY[13]"
view_integer_variable $6453 {_p2} "BALL_IS_STATIONARY[14]"
view_integer_variable $6454 {_p2} "BALL_IS_STATIONARY[15]"

:POOL2_4847
if 
  209@ == 10
goto_if_false @POOL2_5105
set_var_float_to_lvar_float $6455 = 48@
set_var_float_to_lvar_float $6456 = 49@
set_var_float_to_lvar_float $6457 = 50@
set_var_float_to_lvar_float $6458 = 51@
set_var_float_to_lvar_float $debug_char_health = 98@
set_var_float_to_lvar_float $cam_x1 = 99@
set_var_float_to_lvar_float $cam_y1 = 100@
set_var_float_to_lvar_float $cam_z1 = 101@
view_float_variable $6455 {_p2} "CUE_BALL_SPEED"
view_float_variable $6456 {_p2} "CUE_BALL_ROT_X"
view_float_variable $6457 {_p2} "CUE_BALL_ROT_Y"
view_float_variable $6458 {_p2} "CUE_BALL_ROT_Z"
view_float_variable $debug_char_health {_p2} "POOL_TABLE_MIN_X"
view_float_variable $cam_x1 {_p2} "POOL_TABLE_MAX_X"
view_float_variable $cam_y1 {_p2} "POOL_TABLE_MIN_Y"
view_float_variable $cam_z1 {_p2} "POOL_TABLE_MAX_Y"

:POOL2_5105
if 
  209@ == 11
goto_if_false @POOL2_5304
set_var_int_to_lvar_int $6447 = TIMERA
set_var_int_to_lvar_int $6448 = TIMERB
set_var_float_to_lvar_float $6457 = 647@
set_var_float_to_lvar_float $6458 = 200@
set_var_float_to_lvar_float $debug_char_health = 201@
set_var_int_to_lvar_int $6452 = 274@
view_integer_variable $6447 {_p2} "TIMERA"
view_integer_variable $6448 {_p2} "TIMERB"
view_float_variable $6457 {_p2} "BALL_TURN_MASS"
view_float_variable $6458 {_p2} "POOL_STOP_VELOCITY"
view_float_variable $debug_char_health {_p2} "POOL_STOP_ROTATION_VELOCITY"
view_integer_variable $6452 {_p2} "BALL_STRIKES_CUSHION"

:POOL2_5304
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @POOL2_5408
if 
  216@ == 1
goto_if_false @POOL2_5378
216@ = 0
write_debug "CHEAT_PLAYER1_NOT_HUMAN"
goto @POOL2_5408

:POOL2_5378
216@ = 1
write_debug "CHEAT_PLAYER1_HUMAN"

:POOL2_5408
return 

:POOL2_5410
if 
  35@ == -1
goto_if_false @POOL2_5450
107@ = Object.Create(#K_POOLQ, 0.0, 0.0, 0.0)

:POOL2_5450
if 
  35@ == 0
goto_if_false @POOL2_7124
Hud.Display(True)
Hud.DisplayRadar(False)
$bj_bet_step = Player.StoreScore($statbike_temp)
if 
  is_int_var_greater_than_int_var $9464 > $bj_bet_step
goto_if_false @POOL2_5523
108@ = 1
Text.ClearPrints
Camera.SetBehindPlayer
Camera.RestoreJumpcut
goto @POOL2_7078

:POOL2_5523
World.ClearArea(102@, 103@, 104@, 15.0, True)
Object.SetCoordinates(163@, 102@, 103@, 104@)
98@, 100@, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.9098, -0.4589, 0.7)
99@, 101@, $in_carX = Object.GetOffsetInWorldCoords(163@, 0.9242, 0.4809, 0.7)
if 
  is_float_lvar_greater_than_float_lvar 98@ > 99@
goto_if_false @POOL2_5656
set_var_float_to_lvar_float $on_footY = 98@
set_lvar_float_to_lvar_float 98@ = 99@
set_lvar_float_to_var_float 99@ = $on_footY

:POOL2_5656
if 
  is_float_lvar_greater_than_float_lvar 100@ > 101@
goto_if_false @POOL2_5699
set_var_float_to_lvar_float $on_footZ = 100@
set_lvar_float_to_lvar_float 100@ = 101@
set_lvar_float_to_var_float 101@ = $on_footZ

:POOL2_5699
World.SetPoolTableCoords(98@, 100@, $in_carX, 99@, 101@, $in_carX)
175@, 176@, 177@ = Object.GetOffsetInWorldCoords(163@, 0.0, 0.0, 1.5)
42@ = Math.GetDistanceBetweenCoords2D(98@, 100@, 99@, 100@)
43@ = Math.GetDistanceBetweenCoords2D(98@, 100@, 98@, 101@)
if 
  is_float_lvar_greater_than_float_lvar 42@ > 43@
goto_if_false @POOL2_5866
set_lvar_float_to_lvar_float 42@ = 98@
add_float_lvar_to_float_lvar 42@ += 99@
42@ /= 2.0
set_lvar_float_to_lvar_float 55@ = 42@
set_lvar_float_to_lvar_float 61@ = 100@
set_lvar_float_to_lvar_float 58@ = 42@
set_lvar_float_to_lvar_float 64@ = 101@
goto @POOL2_5924

:POOL2_5866
set_lvar_float_to_lvar_float 42@ = 100@
add_float_lvar_to_float_lvar 42@ += 101@
42@ /= 2.0
set_lvar_float_to_lvar_float 55@ = 98@
set_lvar_float_to_lvar_float 61@ = 42@
set_lvar_float_to_lvar_float 58@ = 99@
set_lvar_float_to_lvar_float 64@ = 42@

:POOL2_5924
set_lvar_float_to_lvar_float 54@ = 98@
set_lvar_float_to_lvar_float 60@ = 100@
set_lvar_float_to_lvar_float 56@ = 98@
set_lvar_float_to_lvar_float 62@ = 101@
set_lvar_float_to_lvar_float 57@ = 99@
set_lvar_float_to_lvar_float 63@ = 101@
set_lvar_float_to_lvar_float 59@ = 99@
set_lvar_float_to_lvar_float 65@ = 100@
52@ = 0.037
set_lvar_float_to_lvar_float 53@ = 52@
53@ *= 2.0
39@ = 0

:POOL2_6023
if 
  16 > 39@
goto_if_false @POOL2_6084
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_6070
Object.Delete(82@(39@,16i))

:POOL2_6070
39@ += 1
goto @POOL2_6023

:POOL2_6084
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.2734375, -0.0546875, 0.9296875)
82@ = Object.CreateNoOffset(#K_POOLBALLCUE, $on_footY, $on_footZ, $in_carX)
$on_footX = Object.GetHeading(163@)
$on_footX += 270.0
Object.SetHeading(82@, $on_footX)
555@, 556@, 557@ = Object.GetOffsetInWorldCoords(163@, 0.3408, -0.0284, 0.9297)
558@ = Object.GetHeading(163@)
558@ += 90.0
83@ = Object.CreateNoOffset(#K_POOLBALLSPT01, 555@, 556@, 557@)
84@ = Object.CreateNoOffset(#K_POOLBALLSPT02, 0.0, 0.0, 0.0)
85@ = Object.CreateNoOffset(#K_POOLBALLSPT03, 0.0, 0.0, 0.0)
86@ = Object.CreateNoOffset(#K_POOLBALLSPT04, 0.0, 0.0, 0.0)
87@ = Object.CreateNoOffset(#K_POOLBALLSPT05, 0.0, 0.0, 0.0)
88@ = Object.CreateNoOffset(#K_POOLBALLSPT06, 0.0, 0.0, 0.0)
89@ = Object.CreateNoOffset(#K_POOLBALLSPT07, 0.0, 0.0, 0.0)
90@ = Object.CreateNoOffset(#K_POOLBALL8, 0.0, 0.0, 0.0)
91@ = Object.CreateNoOffset(#K_POOLBALLSTP01, 0.0, 0.0, 0.0)
92@ = Object.CreateNoOffset(#K_POOLBALLSTP02, 0.0, 0.0, 0.0)
93@ = Object.CreateNoOffset(#K_POOLBALLSTP03, 0.0, 0.0, 0.0)
94@ = Object.CreateNoOffset(#K_POOLBALLSTP04, 0.0, 0.0, 0.0)
95@ = Object.CreateNoOffset(#K_POOLBALLSTP05, 0.0, 0.0, 0.0)
96@ = Object.CreateNoOffset(#K_POOLBALLSTP06, 0.0, 0.0, 0.0)
97@ = Object.CreateNoOffset(#K_POOLBALLSTP07, 0.0, 0.0, 0.0)
gosub @POOL2_50393
Hud.DisplayRadar(False)
Player.SetControl($statbike_temp, False)
Text.ClearHelp
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.5261, -1.9684, 1.637)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.0746, -1.0853, 1.5092)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
if 
  not Char.IsDead(164@)
goto_if_false @POOL2_6892
Char.ClearTasksImmediately(164@)
Char.DropObject(164@, False)
if 
  Object.DoesExist($txtEntryExitName)
goto_if_false @POOL2_6692
Object.Delete($txtEntryExitName)

:POOL2_6692
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, 0.0219, -1.1236, 0.0363)
Char.SetCoordinates(164@, $on_footY, $on_footZ, $in_carX)
set_lvar_float_to_lvar_float 42@ = 105@
42@ += 130.0
Char.SetHeading(164@, 42@)
47@ = Sequence.Open()
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.5261, -1.9684, 1.637)
Task.LookAtCoord(-1, $on_footY, $on_footZ, $in_carX, 999999)
if 
  108@ == 0
goto_if_false @POOL2_6874
Task.PlayAnimNonInterruptable(-1, "POOL_IDLE_STANCE", "POOL", 1000.0, True, False, False, True, -1)

:POOL2_6874
Sequence.Close(47@)
Char.PerformSequence(164@, 47@)
Sequence.Clear(47@)

:POOL2_6892
if 
  not Object.DoesExist(107@)
goto_if_false @POOL2_6937
107@ = Object.Create(#K_POOLQ, 0.0, 0.0, 0.0)
Object.SetCollision(107@, False)

:POOL2_6937
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL2_7051
Char.ClearTasksImmediately($stattreadstamina_ctr)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, -1.9295, -2.2083, 0.0363)
Char.SetCoordinates($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)
set_lvar_float_to_var_float 218@ = $on_footY
set_lvar_float_to_var_float 219@ = $on_footZ
set_lvar_float_to_var_float 220@ = $in_carX
set_lvar_float_to_lvar_float 42@ = 105@
42@ += 390.0
Char.SetHeading($stattreadstamina_ctr, 42@)

:POOL2_7051
set_lvar_int_to_lvar_int 355@ = 164@
set_lvar_int_to_lvar_int 356@ = 107@
gosub @POOL2_30517
Game.SetScriptCoopGame(False)

:POOL2_7078
start_new_script @CLEANAU 
Camera.DoFade(1000, Fade.In)

:POOL2_7093
if 
  Camera.GetFadingStatus
goto_if_false @POOL2_7117
wait 0
goto @POOL2_7093

:POOL2_7117
35@ += 1

:POOL2_7124
if 
  35@ == 1
goto_if_false @POOL2_7557
if 
  not Char.IsDead(164@)
goto_if_false @POOL2_7539
if 
  Char.IsModel(164@, 66)
goto_if_false @POOL2_7361
39@ = Math.RandomIntInRange(0, 3)
switch_start 39@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @POOL2_7335 {caseNum1} 0 {caseLabel1} @POOL2_7248 {caseNum2} 1 {caseLabel2} @POOL2_7277 {caseNum3} 2 {caseLabel3} @POOL2_7306 {caseNum4} -1 {caseLabel4} @POOL2_7335 {caseNum5} -1 {caseLabel5} @POOL2_7335 {caseNum6} -1 {caseLabel6} @POOL2_7335 {caseNum7} -1 {caseLabel7} @POOL2_7335

:POOL2_7248
set_var_text_label s$bd_future_time_shown = 'POOL_B1'
set_var_int_to_constant $bd_x = 31600
goto @POOL2_7335

:POOL2_7277
set_var_text_label s$bd_future_time_shown = 'POOL_B2'
set_var_int_to_constant $bd_x = 31601
goto @POOL2_7335

:POOL2_7306
set_var_text_label s$bd_future_time_shown = 'POOL_B3'
set_var_int_to_constant $bd_x = 31602
goto @POOL2_7335

:POOL2_7335
start_new_script @AUDIOL 164@ 0 1 1 0 
goto @POOL2_7539

:POOL2_7361
39@ = Math.RandomIntInRange(0, 3)
switch_start 39@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @POOL2_7520 {caseNum1} 0 {caseLabel1} @POOL2_7433 {caseNum2} 1 {caseLabel2} @POOL2_7462 {caseNum3} 2 {caseLabel3} @POOL2_7491 {caseNum4} -1 {caseLabel4} @POOL2_7520 {caseNum5} -1 {caseLabel5} @POOL2_7520 {caseNum6} -1 {caseLabel6} @POOL2_7520 {caseNum7} -1 {caseLabel7} @POOL2_7520

:POOL2_7433
set_var_text_label s$bd_future_time_shown = 'POOL_B4'
set_var_int_to_constant $bd_x = 31603
goto @POOL2_7520

:POOL2_7462
set_var_text_label s$bd_future_time_shown = 'POOL_B5'
set_var_int_to_constant $bd_x = 31604
goto @POOL2_7520

:POOL2_7491
set_var_text_label s$bd_future_time_shown = 'POOL_B6'
set_var_int_to_constant $bd_x = 31605
goto @POOL2_7520

:POOL2_7520
start_new_script @AUDIOL 164@ 0 1 1 0 

:POOL2_7539
Text.UseCommands(True)
TIMERA = 0
35@ += 1

:POOL2_7557
if 
  35@ == 2
goto_if_false @POOL2_7718
if or
  not Text.IsMessageBeingDisplayed
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @POOL2_7718
Text.ClearPrints
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL2_7621
159@ = Player.StoreScore($statbike_temp)

:POOL2_7621
Text.SetHelpMessageBoxSize(200)
Text.PrintHelpForever('PL_H1')
$9464 = 50
$9465 = 1000
set_lvar_int_to_var_int 161@ = $9464
set_lvar_int_to_var_int 162@ = $9464
set_lvar_int_to_var_int 155@ = $9464
set_lvar_int_to_var_int 39@ = $9464
39@ *= -1
Player.AddScore($statbike_temp, 39@)
Hud.SwitchWidescreen(False)
start_new_script @CLEANAU 
35@ += 1

:POOL2_7718
if 
  35@ == 3
goto_if_false @POOL2_8974
gosub @POOL2_54369
$bj_bet_step = Player.StoreScore($statbike_temp)
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikestamina_ctr)
goto_if_false @POOL2_8178
if and
  126@ <> 1
  126@ <> -1
goto_if_false @POOL2_8127
if 
  155@ >= 10000
goto_if_false @POOL2_7828
160@ = 1000
goto @POOL2_7932

:POOL2_7828
if 
  155@ >= 1000
goto_if_false @POOL2_7861
160@ = 100
goto @POOL2_7932

:POOL2_7861
if 
  155@ >= 100
goto_if_false @POOL2_7893
160@ = 10
goto @POOL2_7932

:POOL2_7893
if 
  155@ == 0
goto_if_false @POOL2_7925
160@ = 2
goto @POOL2_7932

:POOL2_7925
160@ = 1

:POOL2_7932
if 
  is_int_lvar_greater_than_int_var 160@ > $bj_bet_step
goto_if_false @POOL2_7959
set_lvar_int_to_var_int 160@ = $bj_bet_step

:POOL2_7959
set_lvar_int_to_lvar_int 39@ = 155@
add_int_lvar_to_int_lvar 39@ += 160@
if 
  is_int_lvar_greater_than_int_var 39@ > $9465
goto_if_false @POOL2_8010
set_lvar_int_to_var_int 160@ = $9465
sub_int_lvar_from_int_lvar 160@ -= 155@

:POOL2_8010
if 
  0 > 160@
goto_if_false @POOL2_8035
160@ *= -1

:POOL2_8035
add_int_lvar_to_int_lvar 155@ += 160@
add_int_lvar_to_int_lvar 161@ += 160@
add_int_lvar_to_int_lvar 162@ += 160@
160@ *= -1
Player.AddScore($statbike_temp, 160@)
126@ += 1
if 
  126@ > 1
goto_if_false @POOL2_8113
126@ = 2
goto @POOL2_8120

:POOL2_8113
TIMERA = 0

:POOL2_8120
goto @POOL2_8171

:POOL2_8127
if 
  126@ == 1
goto_if_false @POOL2_8171
if 
  TIMERA > 500
goto_if_false @POOL2_8171
126@ = 2

:POOL2_8171
goto @POOL2_8553

:POOL2_8178
if 
  126@ <> 0
goto_if_false @POOL2_8203
126@ = 0

:POOL2_8203
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikelowmuscle_ctr)
goto_if_false @POOL2_8528
if 
  128@ <> 1
goto_if_false @POOL2_8495
if 
  155@ > 10000
goto_if_false @POOL2_8273
160@ = -1000
goto @POOL2_8345

:POOL2_8273
if 
  155@ > 1000
goto_if_false @POOL2_8306
160@ = -100
goto @POOL2_8345

:POOL2_8306
if 
  155@ > 100
goto_if_false @POOL2_8338
160@ = -10
goto @POOL2_8345

:POOL2_8338
160@ = -1

:POOL2_8345
set_lvar_int_to_lvar_int 39@ = 155@
add_int_lvar_to_int_lvar 39@ += 160@
if 
  is_int_var_greater_than_int_lvar $9464 > 39@
goto_if_false @POOL2_8403
set_lvar_int_to_lvar_int 160@ = 155@
sub_int_var_from_int_lvar 160@ -= $9464
160@ *= -1

:POOL2_8403
add_int_lvar_to_int_lvar 155@ += 160@
add_int_lvar_to_int_lvar 161@ += 160@
add_int_lvar_to_int_lvar 162@ += 160@
160@ *= -1
Player.AddScore($statbike_temp, 160@)
128@ += 1
if 
  128@ > 1
goto_if_false @POOL2_8481
128@ = 2
goto @POOL2_8488

:POOL2_8481
TIMERA = 0

:POOL2_8488
goto @POOL2_8521

:POOL2_8495
if 
  TIMERA > 500
goto_if_false @POOL2_8521
128@ = 2

:POOL2_8521
goto @POOL2_8553

:POOL2_8528
if 
  128@ <> 0
goto_if_false @POOL2_8553
128@ = 0

:POOL2_8553
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @POOL2_8623
if 
  not Char.IsDead(164@)
goto_if_false @POOL2_8595
Char.SetMoney(164@, 162@)

:POOL2_8595
161@ = 0
178@ = 0
35@ = 99
goto @POOL2_8756

:POOL2_8623
199@ = 0
if 
is_xbox_version 
goto_if_false @POOL2_8670
if 
  is_xbox_player2_pressing_start 
goto_if_false @POOL2_8663
199@ = 1

:POOL2_8663
goto @POOL2_8694

:POOL2_8670
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.Start)
goto_if_false @POOL2_8694
199@ = 1

:POOL2_8694
if 
  199@ == 1
goto_if_false @POOL2_8756
disable_2nd_pad_for_debug 1
Game.SetScriptCoopGame(True)
$zero_cash_pickup = 1
Player.AddScore($statbike_temp, 161@)
161@ = 0
178@ = 1
35@ = 99

:POOL2_8756
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @POOL2_8949
if 
  127@ == 0
goto_if_false @POOL2_8942
if 
  not Char.IsDead(210@)
goto_if_false @POOL2_8859
220@ += 1.1
Char.ClearTasksImmediately(210@)
220@ = World.GetGroundZFor3DCoord(218@, 219@, 220@)
Char.SetCoordinates(210@, 218@, 219@, 220@)
Char.SetHeading(210@, 221@)

:POOL2_8859
if 
  not Char.IsDead(211@)
goto_if_false @POOL2_8926
224@ += 1.1
Char.ClearTasksImmediately(211@)
224@ = World.GetGroundZFor3DCoord(222@, 223@, 224@)
Char.SetCoordinates(211@, 222@, 223@, 224@)
Char.SetHeading(211@, 225@)

:POOL2_8926
Text.ClearHelp
108@ = 1
127@ = 1

:POOL2_8942
goto @POOL2_8974

:POOL2_8949
if 
  127@ == 1
goto_if_false @POOL2_8974
127@ = 0

:POOL2_8974
if 
  35@ == 99
goto_if_false @POOL2_9033
if 
  not Char.IsDead(164@)
goto_if_false @POOL2_9013
Char.ClearLookAt(164@)

:POOL2_9013
Hud.Display(False)
Text.ClearHelp
35@ = 0
34@ += 1

:POOL2_9033
return 

:POOL2_9035
if 
  35@ == -1
goto_if_false @POOL2_9191
210@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
211@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
212@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
106@ = Object.Create(#K_POOLQ, 0.0, 0.0, 0.0)
107@ = Object.Create(#K_POOLQ, 0.0, 0.0, 0.0)
213@ = Object.Create(#K_POOLQ, 0.0, 0.0, 0.0)

:POOL2_9191
if 
  35@ == 0
goto_if_false @POOL2_9750
if 
  178@ == 0
goto_if_false @POOL2_9262
214@ = -1
215@ = -1
216@ = 1
217@ = 0
goto @POOL2_9290

:POOL2_9262
214@ = -1
215@ = -1
216@ = 1
217@ = 1

:POOL2_9290
218@, 219@, 220@ = Object.GetOffsetInWorldCoords(163@, 0.0, 1.8, 0.0)
set_lvar_float_to_lvar_float 221@ = 105@
221@ += 180.0
222@, 223@, 224@ = Object.GetOffsetInWorldCoords(163@, 0.0, -1.8, 0.0)
set_lvar_float_to_lvar_float 225@ = 105@
set_lvar_int_to_var_int 210@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 211@ = 164@
if 
  not Object.DoesExist(106@)
goto_if_false @POOL2_9435
106@ = Object.Create(#K_POOLQ, 0.0, 0.0, 0.0)
Object.SetCollision(106@, False)

:POOL2_9435
if 
  not Object.DoesExist(107@)
goto_if_false @POOL2_9480
107@ = Object.Create(#K_POOLQ, 0.0, 0.0, 0.0)
Object.SetCollision(107@, False)

:POOL2_9480
if 
  not Char.IsDead(210@)
goto_if_false @POOL2_9525
Char.SetCoordinates(210@, 218@, 219@, 220@)
Char.SetHeading(210@, 221@)
Char.HideWeaponForScriptedCutscene(210@, True)

:POOL2_9525
if 
  not Char.IsDead(211@)
goto_if_false @POOL2_9570
Char.SetCoordinates(211@, 222@, 223@, 224@)
Char.SetHeading(211@, 225@)
Char.HideWeaponForScriptedCutscene(211@, True)

:POOL2_9570
226@ = 1
set_lvar_int_to_lvar_int 212@ = 210@
set_lvar_int_to_lvar_int 213@ = 106@
set_lvar_int_to_lvar_int 227@ = 216@
set_lvar_int_to_lvar_int 228@ = 214@
229@ = 1
set_lvar_int_to_constant 180@ = 0
275@ = -1
276@ = 0
233@ = 1
if 
  233@ == 0
goto_if_false @POOL2_9699
239@ = 10.0
240@ = 0.02
241@ = 0.0
goto @POOL2_9729

:POOL2_9699
239@ = 22.5
240@ = 0.02
241@ = 0.0

:POOL2_9729
184@ = 1
35@ = 0
34@ += 1

:POOL2_9750
return 

:POOL2_9752
if 
  230@ == 0
goto_if_false @POOL2_10289
if 
  35@ == 0
goto_if_false @POOL2_10137
if 
  not Char.IsDead(210@)
goto_if_false @POOL2_9850
220@ += 1.0
220@ = World.GetGroundZFor3DCoord(218@, 219@, 220@)
Char.SetCoordinates(210@, 218@, 219@, 220@)
Char.SetHeading(210@, 221@)

:POOL2_9850
if 
  not Char.IsDead(211@)
goto_if_false @POOL2_9912
224@ += 1.1
224@ = World.GetGroundZFor3DCoord(222@, 223@, 224@)
Char.SetCoordinates(211@, 222@, 223@, 224@)
Char.SetHeading(211@, 225@)

:POOL2_9912
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_10137
Char.DropObject(212@, False)
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(212@, 1.0, 3.0, 1.0)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
Camera.PointAtChar(212@, CameraMode.Fixed, SwitchType.JumpCut)
47@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "POOL_CHALKCUE", "POOL", 1000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "POOL_IDLE_STANCE", "POOL", 4.0, True, False, False, False, -1)
Sequence.Close(47@)
if 
  108@ == 0
goto_if_false @POOL2_10118
Char.PerformSequence(212@, 47@)

:POOL2_10118
Sequence.Clear(47@)
TIMERA = 0
35@ += 1

:POOL2_10137
if 
  35@ == 1
goto_if_false @POOL2_10215
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_10215
39@ = Char.GetScriptTaskStatus(212@, 1560)
if or
  is_int_lvar_equal_to_constant 39@ == 7
  TIMERA > 3000
goto_if_false @POOL2_10215
35@ = 99

:POOL2_10215
if 
  TIMERA > 500
goto_if_false @POOL2_10282
if 
  Pad.IsButtonPressed(180@, Button.Cross)
goto_if_false @POOL2_10282
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_10282
126@ = 1
35@ = 99

:POOL2_10282
goto @POOL2_10312

:POOL2_10289
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_10312
35@ = 99

:POOL2_10312
if 
  35@ == 99
goto_if_false @POOL2_10357
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Text.ClearHelp
TIMERA = 0
34@ += 1
35@ = 0

:POOL2_10357
if 
  Pad.IsButtonPressed(180@, Button.Triangle)
goto_if_false @POOL2_10548
if and
  127@ == 0
  183@ > 1000
goto_if_false @POOL2_10541
if 
  not Char.IsDead(210@)
goto_if_false @POOL2_10463
220@ += 1.1
220@ = World.GetGroundZFor3DCoord(218@, 219@, 220@)
Char.SetCoordinates(210@, 218@, 219@, 220@)
Char.SetHeading(210@, 221@)

:POOL2_10463
if 
  not Char.IsDead(211@)
goto_if_false @POOL2_10525
224@ += 1.1
224@ = World.GetGroundZFor3DCoord(222@, 223@, 224@)
Char.SetCoordinates(211@, 222@, 223@, 224@)
Char.SetHeading(211@, 225@)

:POOL2_10525
Text.ClearHelp
108@ = 1
127@ = 1

:POOL2_10541
goto @POOL2_10580

:POOL2_10548
if 
  127@ == 1
goto_if_false @POOL2_10573
127@ = 0

:POOL2_10573
183@ = 0

:POOL2_10580
return 

:POOL2_10582
if and
  229@ <> 0
  227@ == 1
goto_if_false @POOL2_10614
gosub @POOL2_59236

:POOL2_10614
if 
  229@ <> 0
goto_if_false @POOL2_10898
if 
  66@ == 1
goto_if_false @POOL2_10783
if 
  not Object.DoesExist(82@)
goto_if_false @POOL2_10776
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.35, 0.0, 0.9296875)
set_lvar_float_to_var_float 624@ = $on_footY
set_lvar_float_to_var_float 625@ = $on_footZ
gosub @POOL2_53849
set_var_float_to_lvar_float $on_footY = 624@
set_var_float_to_lvar_float $on_footZ = 625@
82@ = Object.CreateNoOffset(#K_POOLBALLCUE, $on_footY, $on_footZ, $in_carX)
$on_footX = Object.GetHeading(163@)
$on_footX += 270.0
Object.SetHeading(82@, $on_footX)

:POOL2_10776
66@ = 0

:POOL2_10783
if 
  Pad.IsButtonPressed(180@, Button.Square)
goto_if_false @POOL2_10873
if 
  128@ == 0
goto_if_false @POOL2_10866
if 
  198@ == 2
goto_if_false @POOL2_10851
198@ = 0
goto @POOL2_10859

:POOL2_10851
202@ = 3001

:POOL2_10859
128@ = 1

:POOL2_10866
goto @POOL2_10898

:POOL2_10873
if 
  128@ == 1
goto_if_false @POOL2_10898
128@ = 0

:POOL2_10898
if 
  229@ == 1
goto_if_false @POOL2_11132
if 
  35@ == 0
goto_if_false @POOL2_11132
if 
  227@ == 1
goto_if_false @POOL2_11049
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.35, 0.0, 0.0)
$on_footX = Object.GetHeading(163@)
$on_footX += 270.0
Object.SetCoordinates(82@, $on_footY, $on_footZ, 557@)
Object.SetHeading(82@, $on_footX)
TIMERA = 0
35@ = 99
goto @POOL2_12178
goto @POOL2_11132

:POOL2_11049
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.35, 0.0, 0.0)
$on_footX = Object.GetHeading(163@)
$on_footX += 270.0
Object.SetCoordinates(82@, $on_footY, $on_footZ, 557@)
Object.SetHeading(82@, $on_footX)
35@ = 99
goto @POOL2_12178

:POOL2_11132
if 
  229@ == 2
goto_if_false @POOL2_11923
if 
  35@ == 0
goto_if_false @POOL2_11548
if 
  227@ == 1
goto_if_false @POOL2_11426
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.35, 0.0, 0.0)
$on_footX = Object.GetHeading(163@)
$on_footX += 270.0
set_lvar_float_to_var_float 624@ = $on_footY
set_lvar_float_to_var_float 625@ = $on_footZ
gosub @POOL2_53849
set_var_float_to_lvar_float $on_footY = 624@
set_var_float_to_lvar_float $on_footZ = 625@
Object.SetCoordinates(82@, $on_footY, $on_footZ, 557@)
Object.SetHeading(82@, $on_footX)
TIMERA = 0
35@ += 1
198@ = 0
202@ = 0
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, 0.0, -0.001, 2.5)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, 0.0, 0.001, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
goto @POOL2_11548

:POOL2_11426
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.35, 0.0, 0.0)
$on_footX = Object.GetHeading(163@)
$on_footX += 270.0
set_lvar_float_to_var_float 624@ = $on_footY
set_lvar_float_to_var_float 625@ = $on_footZ
gosub @POOL2_53849
set_var_float_to_lvar_float $on_footY = 624@
set_var_float_to_lvar_float $on_footZ = 625@
Object.SetCoordinates(82@, $on_footY, $on_footZ, 557@)
Object.SetHeading(82@, $on_footX)
35@ = 99
goto @POOL2_12178

:POOL2_11548
if 
  35@ == 1
goto_if_false @POOL2_11923
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@)
39@ = 0
if or
  Pad.IsButtonPressed(180@, Button.LeftStickX)
  Pad.IsButtonPressed(180@, Button.LeftStickY)
goto_if_false @POOL2_11619
39@ = 1

:POOL2_11619
if 
  39@ == 1
goto_if_false @POOL2_11834
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(180@)
cset_lvar_float_to_var_int 232@ =# $been_in_a_bmx
cset_lvar_float_to_var_int 231@ =# $tucking_contact_blip
232@ /= 128.0
231@ /= -128.0
232@ *= 0.01
231@ *= 0.01
gosub @POOL2_54218
mult_float_var_by_float_lvar $cam_dist *= 231@
mult_float_var_by_float_lvar $lowr_track_to_play *= 231@
add_float_var_to_float_var $on_footY += $cam_dist
add_float_var_to_float_var $on_footZ += $lowr_track_to_play
mult_float_var_by_float_lvar $lowr_timer *= 232@
mult_float_var_by_float_lvar $timer_time_limit_zero5 *= 232@
add_float_var_to_float_var $on_footY += $lowr_timer
add_float_var_to_float_var $on_footZ += $timer_time_limit_zero5
set_lvar_float_to_var_float 624@ = $on_footY
set_lvar_float_to_var_float 625@ = $on_footZ
gosub @POOL2_53849
set_var_float_to_lvar_float $on_footY = 624@
set_var_float_to_lvar_float $on_footZ = 625@
Object.SetCoordinates(82@, $on_footY, $on_footZ, 557@)

:POOL2_11834
if 
  Pad.IsButtonPressed(180@, Button.Cross)
goto_if_false @POOL2_11898
if 
  126@ == 0
goto_if_false @POOL2_11891
35@ = 99
126@ = 1
goto @POOL2_12178

:POOL2_11891
goto @POOL2_11923

:POOL2_11898
if 
  126@ == 1
goto_if_false @POOL2_11923
126@ = 0

:POOL2_11923
if 
  229@ == 0
goto_if_false @POOL2_11955
35@ = 99
goto @POOL2_12178

:POOL2_11955
if 
  Pad.IsButtonPressed(180@, Button.Triangle)
goto_if_false @POOL2_12146
if and
  127@ == 0
  183@ > 1000
goto_if_false @POOL2_12139
if 
  not Char.IsDead(210@)
goto_if_false @POOL2_12061
220@ += 1.1
220@ = World.GetGroundZFor3DCoord(218@, 219@, 220@)
Char.SetCoordinates(210@, 218@, 219@, 220@)
Char.SetHeading(210@, 221@)

:POOL2_12061
if 
  not Char.IsDead(211@)
goto_if_false @POOL2_12123
224@ += 1.1
224@ = World.GetGroundZFor3DCoord(222@, 223@, 224@)
Char.SetCoordinates(211@, 222@, 223@, 224@)
Char.SetHeading(211@, 225@)

:POOL2_12123
Text.ClearHelp
108@ = 1
127@ = 1

:POOL2_12139
goto @POOL2_12178

:POOL2_12146
if 
  127@ == 1
goto_if_false @POOL2_12171
127@ = 0

:POOL2_12171
183@ = 0

:POOL2_12178
if 
  35@ == 99
goto_if_false @POOL2_12212
34@ += 1
35@ = 0
Text.ClearHelp

:POOL2_12212
return 

:POOL2_12214
if 
  227@ == 1
goto_if_false @POOL2_15153
gosub @POOL2_56881
if 
  35@ == -1
goto_if_false @POOL2_12279
235@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)

:POOL2_12279
if 
  35@ == 0
goto_if_false @POOL2_13453
if 
  not Char.IsDead(210@)
goto_if_false @POOL2_12359
220@ += 1.1
220@ = World.GetGroundZFor3DCoord(218@, 219@, 220@)
Char.SetCoordinates(210@, 218@, 219@, 220@)
Char.SetHeading(210@, 221@)

:POOL2_12359
if 
  not Char.IsDead(211@)
goto_if_false @POOL2_12421
224@ += 1.1
224@ = World.GetGroundZFor3DCoord(222@, 223@, 224@)
Char.SetCoordinates(211@, 222@, 223@, 224@)
Char.SetHeading(211@, 225@)

:POOL2_12421
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_12482
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(212@)
$in_carX += -10.0
Char.SetCoordinates(212@, $on_footY, $on_footZ, $in_carX)
Char.FreezePosition(212@, True)

:POOL2_12482
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, 0.0, -0.001, 2.5)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, 0.0, 0.001, 0.0)
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_12582
$on_footX = Object.GetHeading(82@)
Object.SetRotation(82@, 0.0, 0.0, $on_footX)

:POOL2_12582
if 
  not Object.DoesExist(235@)
goto_if_false @POOL2_12671
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, 0.0, 0.0, -10.0)
235@ = Object.CreateNoOffset(#K_POOLQ2, $on_footY, $on_footZ, $in_carX)
Object.SetDynamic(235@, False)
Object.SetCollision(235@, False)
Object.SetDrawLast(235@, True)
goto @POOL2_12692

:POOL2_12671
Object.SetDynamic(235@, False)
Object.SetCollision(235@, False)
Object.SetDrawLast(235@, True)

:POOL2_12692
202@ = 0
198@ = 0
if 
  242@ == 0
goto_if_false @POOL2_13425
236@ = -1
42@ = 99999.9
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_13274
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@)
if 
  228@ == -1
goto_if_false @POOL2_12925
39@ = 1

:POOL2_12796
if 
  16 > 39@
goto_if_false @POOL2_12918
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_12904
165@, 166@, 167@ = Object.GetCoordinates(82@(39@,16i))
43@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 165@, 166@)
if 
  is_float_lvar_greater_than_float_lvar 42@ > 43@
goto_if_false @POOL2_12904
set_lvar_int_to_lvar_int 236@ = 39@
set_lvar_float_to_lvar_float 42@ = 43@

:POOL2_12904
39@ += 1
goto @POOL2_12796

:POOL2_12918
goto @POOL2_13274

:POOL2_12925
if 
  228@ == 0
goto_if_false @POOL2_13079
39@ = 1

:POOL2_12950
if 
  8 > 39@
goto_if_false @POOL2_13072
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_13058
165@, 166@, 167@ = Object.GetCoordinates(82@(39@,16i))
43@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 165@, 166@)
if 
  is_float_lvar_greater_than_float_lvar 42@ > 43@
goto_if_false @POOL2_13058
set_lvar_int_to_lvar_int 236@ = 39@
set_lvar_float_to_lvar_float 42@ = 43@

:POOL2_13058
39@ += 1
goto @POOL2_12950

:POOL2_13072
goto @POOL2_13274

:POOL2_13079
if 
  228@ == 1
goto_if_false @POOL2_13233
39@ = 9

:POOL2_13104
if 
  16 > 39@
goto_if_false @POOL2_13226
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_13212
165@, 166@, 167@ = Object.GetCoordinates(82@(39@,16i))
43@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 165@, 166@)
if 
  is_float_lvar_greater_than_float_lvar 42@ > 43@
goto_if_false @POOL2_13212
set_lvar_int_to_lvar_int 236@ = 39@
set_lvar_float_to_lvar_float 42@ = 43@

:POOL2_13212
39@ += 1
goto @POOL2_13104

:POOL2_13226
goto @POOL2_13274

:POOL2_13233
if 
  228@ == 2
goto_if_false @POOL2_13274
if 
  Object.DoesExist(90@)
goto_if_false @POOL2_13274
236@ = 8

:POOL2_13274
if and
  236@ <> -1
  16 > 236@
goto_if_false @POOL2_13418
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_13418
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@)
if 
  Object.DoesExist(82@(236@,16i))
goto_if_false @POOL2_13367
165@, 166@, 167@ = Object.GetCoordinates(82@(236@,16i))

:POOL2_13367
set_lvar_float_to_lvar_float 169@ = 165@
sub_float_var_from_float_lvar 169@ -= $on_footY
set_lvar_float_to_lvar_float 170@ = 166@
sub_float_var_from_float_lvar 170@ -= $on_footZ
42@ = Math.GetHeadingFromVector2D(169@, 170@)
Object.SetHeading(82@, 42@)

:POOL2_13418
goto @POOL2_13432

:POOL2_13425
242@ = 0

:POOL2_13432
237@ = 0
gosub @POOL2_28243
35@ += 1

:POOL2_13453
if 
  35@ == 1
goto_if_false @POOL2_13684
if 
  Pad.IsButtonPressed(180@, Button.Select)
goto_if_false @POOL2_13659
if 
  234@ == 0
goto_if_false @POOL2_13567
if 
  233@ == 0
goto_if_false @POOL2_13546
233@ = 1
234@ = 1
goto @POOL2_13560

:POOL2_13546
233@ = 0
234@ = 1

:POOL2_13560
202@ = 0

:POOL2_13567
if 
  233@ == 0
goto_if_false @POOL2_13622
239@ = 10.0
240@ = 0.02
241@ = 0.0
goto @POOL2_13652

:POOL2_13622
239@ = 22.5
240@ = 0.02
241@ = 0.0

:POOL2_13652
goto @POOL2_13684

:POOL2_13659
if 
  234@ == 1
goto_if_false @POOL2_13684
234@ = 0

:POOL2_13684
if 
  Pad.IsButtonPressed(180@, Button.LeftStickX)
goto_if_false @POOL2_13791
$on_footX = Object.GetHeading(82@)
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(180@)
cset_lvar_float_to_var_int 42@ =# $been_in_a_bmx
42@ /= 128.0
42@ *= 1.0
add_float_lvar_to_float_var $on_footX += 42@
Object.SetRotation(82@, 0.0, 0.0, 0.0)
Object.SetHeading(82@, $on_footX)

:POOL2_13791
if 
  233@ == 0
goto_if_false @POOL2_13906
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, 0.0, -0.001, 2.5)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, 0.0, 0.001, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:POOL2_13906
if 
  233@ == 1
goto_if_false @POOL2_14021
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(82@, 0.0, -0.5, 0.3)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(82@, 0.0, 0.5, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:POOL2_14021
if 
  233@ == 0
goto_if_false @POOL2_14154
if 
  Pad.IsButtonPressed(180@, Button.Square)
goto_if_false @POOL2_14129
if 
  128@ == 0
goto_if_false @POOL2_14122
if 
  198@ == 2
goto_if_false @POOL2_14107
198@ = 0
goto @POOL2_14115

:POOL2_14107
202@ = 3001

:POOL2_14115
128@ = 1

:POOL2_14122
goto @POOL2_14154

:POOL2_14129
if 
  128@ == 1
goto_if_false @POOL2_14154
128@ = 0

:POOL2_14154
if 
  Object.DoesExist(235@)
goto_if_false @POOL2_14293
if 
  233@ == 0
goto_if_false @POOL2_14220
165@, 166@, 167@ = Object.GetOffsetInWorldCoords(82@, 241@, -0.05, 240@)
goto @POOL2_14245

:POOL2_14220
165@, 166@, 167@ = Object.GetOffsetInWorldCoords(82@, 241@, -0.05, 240@)

:POOL2_14245
$on_footX = Object.GetHeading(82@)
$on_footX += 180.0
Object.SetCoordinates(235@, 165@, 166@, 167@)
Object.SetRotation(235@, 239@, 0.0, $on_footX)

:POOL2_14293
if 
  not Pad.IsButtonPressed(180@, Button.LeftStickX)
goto_if_false @POOL2_14332
237@ = 0
gosub @POOL2_28243
goto @POOL2_14432

:POOL2_14332
if 
  237@ <> 0
goto_if_false @POOL2_14418
39@ = 0

:POOL2_14357
if 
  10 > 39@
goto_if_false @POOL2_14418
if 
  Object.DoesExist(344@(39@,10i))
goto_if_false @POOL2_14404
Object.Delete(344@(39@,10i))

:POOL2_14404
39@ += 1
goto @POOL2_14357

:POOL2_14418
237@ = 0
TIMERA = 0

:POOL2_14432
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @POOL2_14458
239@ += 0.5

:POOL2_14458
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @POOL2_14484
239@ += -0.5

:POOL2_14484
if 
is_ps2_keyboard_key_just_pressed 87
goto_if_false @POOL2_14509
240@ += 0.001

:POOL2_14509
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @POOL2_14534
240@ += -0.001

:POOL2_14534
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @POOL2_14560
241@ += 0.0001

:POOL2_14560
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @POOL2_14586
241@ += -0.0001

:POOL2_14586
if 
is_ps2_keyboard_key_just_pressed 137
goto_if_false @POOL2_15013
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BUTT_ANGLE = ")
save_float_to_debug_file 239@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("RAISE_CUE = ")
save_float_to_debug_file 240@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CUE_X_CORRECTION = ")
save_float_to_debug_file 241@

:POOL2_15013
if 
  Pad.IsButtonPressed(180@, Button.Cross)
goto_if_false @POOL2_15091
if 
  126@ == 0
goto_if_false @POOL2_15084
if 
  Object.DoesExist(235@)
goto_if_false @POOL2_15070
Object.Delete(235@)

:POOL2_15070
35@ = 99
126@ = 1

:POOL2_15084
goto @POOL2_15116

:POOL2_15091
if 
  126@ == 1
goto_if_false @POOL2_15116
126@ = 0

:POOL2_15116
if 
is_ps2_keyboard_key_pressed 72
goto_if_false @POOL2_15146
gosub @POOL2_33559
Object.SetHeading(82@, 360@)

:POOL2_15146
goto @POOL2_15175

:POOL2_15153
gosub @POOL2_33559
Object.SetHeading(82@, 360@)
35@ = 99

:POOL2_15175
if 
  Pad.IsButtonPressed(180@, Button.Triangle)
goto_if_false @POOL2_15366
if and
  127@ == 0
  183@ > 1000
goto_if_false @POOL2_15359
if 
  not Char.IsDead(210@)
goto_if_false @POOL2_15281
220@ += 1.1
220@ = World.GetGroundZFor3DCoord(218@, 219@, 220@)
Char.SetCoordinates(210@, 218@, 219@, 220@)
Char.SetHeading(210@, 221@)

:POOL2_15281
if 
  not Char.IsDead(211@)
goto_if_false @POOL2_15343
224@ += 1.1
224@ = World.GetGroundZFor3DCoord(222@, 223@, 224@)
Char.SetCoordinates(211@, 222@, 223@, 224@)
Char.SetHeading(211@, 225@)

:POOL2_15343
Text.ClearHelp
108@ = 1
127@ = 1

:POOL2_15359
goto @POOL2_15398

:POOL2_15366
if 
  127@ == 1
goto_if_false @POOL2_15391
127@ = 0

:POOL2_15391
183@ = 0

:POOL2_15398
if 
  35@ == 99
goto_if_false @POOL2_15500
39@ = 0

:POOL2_15423
if 
  10 > 39@
goto_if_false @POOL2_15484
if 
  Object.DoesExist(344@(39@,10i))
goto_if_false @POOL2_15470
Object.Delete(344@(39@,10i))

:POOL2_15470
39@ += 1
goto @POOL2_15423

:POOL2_15484
34@ += 2
35@ = 0
Text.ClearHelp

:POOL2_15500
return 

:POOL2_15502
return 

:POOL2_15504
gosub @POOL2_56881
if 
  227@ == 1
goto_if_false @POOL2_16122
if 
  Pad.IsButtonPressed(180@, Button.Triangle)
goto_if_false @POOL2_15600
if 
  127@ == 0
goto_if_false @POOL2_15593
34@ = 5
35@ = 0
127@ = 1
242@ = 1

:POOL2_15593
goto @POOL2_16115

:POOL2_15600
if 
  127@ == 1
goto_if_false @POOL2_15625
127@ = 0

:POOL2_15625
if 
  35@ == 0
goto_if_false @POOL2_15657
gosub @POOL2_18648
35@ += 1

:POOL2_15657
if 
  247@ == 0
goto_if_false @POOL2_15682
gosub @POOL2_53296

:POOL2_15682
if 
  247@ == 0
goto_if_false @POOL2_15840
gosub @POOL2_16580
if 
  249@ == 1
goto_if_false @POOL2_15830
if 
  Pad.IsButtonPressed(180@, Button.RightStickY)
goto_if_false @POOL2_15813
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(180@)
cset_lvar_float_to_var_int 42@ =# $game_starts_from_scratch
42@ /= 128.0
42@ *= -0.2
243@ = 0.2
add_float_lvar_to_float_lvar 243@ += 42@
goto @POOL2_15823

:POOL2_15813
243@ = 0.2

:POOL2_15823
goto @POOL2_15840

:POOL2_15830
243@ = 0.0

:POOL2_15840
if 
  247@ == 0
goto_if_false @POOL2_15900
if 
  243@ > 0.25
goto_if_false @POOL2_15893
gosub @POOL2_19645
goto @POOL2_15900

:POOL2_15893
gosub @POOL2_18487

:POOL2_15900
if 
  35@ == 1
goto_if_false @POOL2_15948
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_15948
gosub @POOL2_18830
35@ += 1

:POOL2_15948
if 
  35@ == 2
goto_if_false @POOL2_15973
gosub @POOL2_16834

:POOL2_15973
if 
  35@ == 3
goto_if_false @POOL2_16074
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_16074
589@ += 1.1
589@ = World.GetGroundZFor3DCoord(581@, 585@, 589@)
Char.SetCoordinates(212@, 581@, 585@, 589@)
Char.SetHeading(212@, 593@)
Char.SetCollision(212@, True)
TIMERA = 0
35@ = 99

:POOL2_16074
if 
  35@ == 99
goto_if_false @POOL2_16115
Text.ClearHelp
TIMERA = 0
34@ += 1
35@ = 0

:POOL2_16115
goto @POOL2_16578

:POOL2_16122
if 
  35@ == 0
goto_if_false @POOL2_16154
gosub @POOL2_18648
35@ += 1

:POOL2_16154
if 
  247@ == 0
goto_if_false @POOL2_16303
gosub @POOL2_16580
if 
  249@ == 1
goto_if_false @POOL2_16286
if 
  2000 > TIMERA
goto_if_false @POOL2_16233
243@ = 0.2
goto @POOL2_16279

:POOL2_16233
if 
  3000 > TIMERA
goto_if_false @POOL2_16269
243@ = 0.0
goto @POOL2_16279

:POOL2_16269
243@ = 1.0

:POOL2_16279
goto @POOL2_16303

:POOL2_16286
TIMERA = 0
243@ = 0.0

:POOL2_16303
if 
  247@ == 0
goto_if_false @POOL2_16363
if 
  243@ > 0.25
goto_if_false @POOL2_16356
gosub @POOL2_19645
goto @POOL2_16363

:POOL2_16356
gosub @POOL2_18487

:POOL2_16363
if 
  35@ == 1
goto_if_false @POOL2_16411
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_16411
gosub @POOL2_18830
35@ += 1

:POOL2_16411
if 
  35@ == 2
goto_if_false @POOL2_16436
gosub @POOL2_16834

:POOL2_16436
if 
  35@ == 3
goto_if_false @POOL2_16537
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_16537
589@ += 1.1
589@ = World.GetGroundZFor3DCoord(581@, 585@, 589@)
Char.SetCoordinates(212@, 581@, 585@, 589@)
Char.SetHeading(212@, 593@)
Char.SetCollision(212@, True)
TIMERA = 0
35@ = 99

:POOL2_16537
if 
  35@ == 99
goto_if_false @POOL2_16578
Text.ClearHelp
TIMERA = 0
34@ += 1
35@ = 0

:POOL2_16578
return 

:POOL2_16580
249@ = 0
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_16832
if 
  597@ == 1
goto_if_false @POOL2_16661
if 
  Char.IsPlayingAnim(212@, "POOL_SHORT_SHOT")
goto_if_false @POOL2_16661
249@ = 1

:POOL2_16661
if 
  597@ == 2
goto_if_false @POOL2_16717
if 
  Char.IsPlayingAnim(212@, "POOL_MED_SHOT")
goto_if_false @POOL2_16717
249@ = 1

:POOL2_16717
if 
  597@ == 3
goto_if_false @POOL2_16774
if 
  Char.IsPlayingAnim(212@, "POOL_LONG_SHOT")
goto_if_false @POOL2_16774
249@ = 1

:POOL2_16774
if 
  597@ == 4
goto_if_false @POOL2_16832
if 
  Char.IsPlayingAnim(212@, "POOL_XLONG_SHOT")
goto_if_false @POOL2_16832
249@ = 1

:POOL2_16832
return 

:POOL2_16834
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_17445
if 
  248@ == 0
goto_if_false @POOL2_17445
if 
  597@ == 1
goto_if_false @POOL2_17012
47@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "POOL_SHORT_START", "POOL", 8.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "POOL_SHORT_SHOT", "POOL", 4.0, False, False, False, False, -1)
Sequence.Close(47@)
if 
  108@ == 0
goto_if_false @POOL2_17007
Char.PerformSequence(212@, 47@)

:POOL2_17007
Sequence.Clear(47@)

:POOL2_17012
if 
  597@ == 2
goto_if_false @POOL2_17152
47@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "POOL_MED_START", "POOL", 8.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "POOL_MED_SHOT", "POOL", 4.0, False, False, False, False, -1)
Sequence.Close(47@)
if 
  108@ == 0
goto_if_false @POOL2_17147
Char.PerformSequence(212@, 47@)

:POOL2_17147
Sequence.Clear(47@)

:POOL2_17152
if 
  597@ == 3
goto_if_false @POOL2_17294
47@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "POOL_LONG_START", "POOL", 8.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "POOL_LONG_SHOT", "POOL", 4.0, False, False, False, False, -1)
Sequence.Close(47@)
if 
  108@ == 0
goto_if_false @POOL2_17289
Char.PerformSequence(212@, 47@)

:POOL2_17289
Sequence.Clear(47@)

:POOL2_17294
if 
  597@ == 4
goto_if_false @POOL2_17438
47@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "POOL_XLONG_START", "POOL", 8.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "POOL_XLONG_SHOT", "POOL", 4.0, False, False, False, False, -1)
Sequence.Close(47@)
if 
  108@ == 0
goto_if_false @POOL2_17433
Char.PerformSequence(212@, 47@)

:POOL2_17433
Sequence.Clear(47@)

:POOL2_17438
248@ += 1

:POOL2_17445
if 
  248@ == 1
goto_if_false @POOL2_17963
if 
  247@ == 0
goto_if_false @POOL2_17949
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_17942
39@ = Char.GetScriptTaskStatus(212@, 1560)
if 
  not is_int_lvar_equal_to_constant 39@ == 7
goto_if_false @POOL2_17928
if 
  597@ == 1
goto_if_false @POOL2_17627
if 
  Char.IsPlayingAnim(212@, "POOL_SHORT_SHOT")
goto_if_false @POOL2_17627
Char.SetAnimCurrentTime(212@, "POOL_SHORT_SHOT", 244@)
Char.SetAnimSpeed(212@, "POOL_SHORT_SHOT", 245@)

:POOL2_17627
if 
  597@ == 2
goto_if_false @POOL2_17722
if 
  Char.IsPlayingAnim(212@, "POOL_MED_SHOT")
goto_if_false @POOL2_17722
Char.SetAnimCurrentTime(212@, "POOL_MED_SHOT", 244@)
Char.SetAnimSpeed(212@, "POOL_MED_SHOT", 245@)

:POOL2_17722
if 
  597@ == 3
goto_if_false @POOL2_17820
if 
  Char.IsPlayingAnim(212@, "POOL_LONG_SHOT")
goto_if_false @POOL2_17820
Char.SetAnimCurrentTime(212@, "POOL_LONG_SHOT", 244@)
Char.SetAnimSpeed(212@, "POOL_LONG_SHOT", 245@)

:POOL2_17820
if 
  597@ == 4
goto_if_false @POOL2_17921
if 
  Char.IsPlayingAnim(212@, "POOL_XLONG_SHOT")
goto_if_false @POOL2_17921
Char.SetAnimCurrentTime(212@, "POOL_XLONG_SHOT", 244@)
Char.SetAnimSpeed(212@, "POOL_XLONG_SHOT", 245@)

:POOL2_17921
goto @POOL2_17942

:POOL2_17928
TIMERA = 0
248@ += 1

:POOL2_17942
goto @POOL2_17963

:POOL2_17949
TIMERA = 0
248@ += 1

:POOL2_17963
if 
  248@ == 2
goto_if_false @POOL2_18382
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_18382
39@ = Char.GetScriptTaskStatus(212@, 1560)
if and
  not is_int_lvar_equal_to_constant 39@ == 7
  5000 > TIMERA
goto_if_false @POOL2_18375
42@ = 1.0
sub_float_lvar_from_float_lvar 42@ -= 245@
42@ /= 20.0
add_float_lvar_to_float_lvar 245@ += 42@
if 
  0.8 > 245@
goto_if_false @POOL2_18101
245@ += 0.01

:POOL2_18101
if and
  1.2 > 245@
  245@ > 0.8
goto_if_false @POOL2_18142
245@ = 1.0

:POOL2_18142
if 
  Char.IsPlayingAnim(212@, "POOL_SHORT_SHOT")
goto_if_false @POOL2_18200
Char.SetAnimSpeed(212@, "POOL_SHORT_SHOT", 245@)

:POOL2_18200
if 
  Char.IsPlayingAnim(212@, "POOL_MED_SHOT")
goto_if_false @POOL2_18254
Char.SetAnimSpeed(212@, "POOL_MED_SHOT", 245@)

:POOL2_18254
if 
  Char.IsPlayingAnim(212@, "POOL_LONG_SHOT")
goto_if_false @POOL2_18310
Char.SetAnimSpeed(212@, "POOL_LONG_SHOT", 245@)

:POOL2_18310
if 
  Char.IsPlayingAnim(212@, "POOL_XLONG_SHOT")
goto_if_false @POOL2_18368
Char.SetAnimSpeed(212@, "POOL_XLONG_SHOT", 245@)

:POOL2_18368
goto @POOL2_18382

:POOL2_18375
248@ += 1

:POOL2_18382
if 
  248@ == 3
goto_if_false @POOL2_18485
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_18478
if 
  108@ == 0
goto_if_false @POOL2_18478
Task.PlayAnimNonInterruptable(212@, "POOL_IDLE_STANCE", "POOL", 4.0, True, False, False, False, -1)

:POOL2_18478
35@ += 1

:POOL2_18485
return 

:POOL2_18487
set_lvar_float_to_lvar_float 42@ = 243@
sub_float_lvar_from_float_lvar 42@ -= 244@
if or
  42@ >= 0.05
  -0.05 >= 42@
goto_if_false @POOL2_18638
42@ /= 3.0
if and
  0.01 > 42@
  42@ > -0.01
goto_if_false @POOL2_18623
if 
  42@ > 0.0
goto_if_false @POOL2_18613
42@ = 0.01
goto @POOL2_18623

:POOL2_18613
42@ = -0.01

:POOL2_18623
add_float_lvar_to_float_lvar 244@ += 42@
goto @POOL2_18646

:POOL2_18638
set_lvar_float_to_lvar_float 244@ = 243@

:POOL2_18646
return 

:POOL2_18648
247@ = 0
248@ = 0
615@ = 565.0
616@ = 386.0
set_lvar_float_to_lvar_float 619@ = 615@
set_lvar_float_to_lvar_float 620@ = 616@
618@ = 67.0
617@ = 78.0
621@ = 19.0
622@ = 16.0
245@ = 0.0
244@ = 0.0
245@ = 0.0
243@ = 0.0
TIMERA = 0
TIMERB = 0
if 
  227@ <> 0
goto_if_false @POOL2_18821
Text.PrintHelpForever('PL_H4')

:POOL2_18821
gosub @POOL2_51273
return 

:POOL2_18830
Char.SetCollision(212@, False)
set_lvar_float_to_lvar_float 42@ = 104@
42@ += 1.0
591@ = World.GetGroundZFor3DCoord(102@, 103@, 42@)
Char.SetCoordinates(212@, 583@, 587@, 591@)
Char.SetHeading(212@, 595@)
if 
  is_int_lvar_equal_to_int_lvar 210@ == 212@
goto_if_false @POOL2_19096
if 
  not Char.IsDead(210@)
goto_if_false @POOL2_19089
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(210@, 0.0, -1.5, 0.0)
if 
  not Char.IsDead(211@)
goto_if_false @POOL2_19089
Char.SetCoordinates(211@, 222@, 223@, 224@)
if 
  Char.LocateAnyMeans2D(211@, $on_footY, $on_footZ, 2.0, 2.0, False)
goto_if_false @POOL2_19062
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(211@, -2.0, 0.0, -1.0)
Char.SetCoordinates(211@, $on_footY, $on_footZ, $in_carX)

:POOL2_19062
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_19089
Task.LookAtObject(211@, 82@, 10000)

:POOL2_19089
goto @POOL2_19275

:POOL2_19096
if 
  not Char.IsDead(211@)
goto_if_false @POOL2_19275
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(211@, 0.0, -1.5, 0.0)
if 
  not Char.IsDead(210@)
goto_if_false @POOL2_19275
Char.SetCoordinates(210@, 218@, 219@, 220@)
if 
  Char.LocateAnyMeans2D(210@, $on_footY, $on_footZ, 2.0, 2.0, False)
goto_if_false @POOL2_19275
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(210@, -2.0, 0.0, -1.0)
Char.SetCoordinates(210@, $on_footY, $on_footZ, $in_carX)
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_19275
Task.LookAtObject(210@, 82@, 10000)

:POOL2_19275
if 
  597@ == 1
goto_if_false @POOL2_19390
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(212@, 0.1532, -0.9733, 1.1819)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(212@, -0.0267, -0.3468, 0.4236)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:POOL2_19390
if 
  597@ == 2
goto_if_false @POOL2_19438
$on_footY = 0.4
$on_footZ = -1.0
$in_carX = 1.0

:POOL2_19438
if 
  597@ == 3
goto_if_false @POOL2_19486
$on_footY = 0.3
$on_footZ = -0.5
$in_carX = 1.0

:POOL2_19486
if 
  597@ == 4
goto_if_false @POOL2_19534
$on_footY = 0.3
$on_footZ = -0.5
$in_carX = 1.0

:POOL2_19534
if 
  597@ <> 1
goto_if_false @POOL2_19643
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(212@, $on_footY, $on_footZ, $in_carX)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(82@, 0.0, 0.3, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:POOL2_19643
return 

:POOL2_19645
if 
  227@ == 1
goto_if_false @POOL2_19745
set_lvar_float_to_lvar_float 246@ = 243@
sub_float_lvar_from_float_lvar 246@ -= 244@
246@ /= 0.1
set_lvar_float_to_lvar_float 245@ = 246@
245@ *= 2.0
if 
  0.6 > 245@
goto_if_false @POOL2_19738
245@ = 0.6

:POOL2_19738
goto @POOL2_19802

:POOL2_19745
set_lvar_float_to_lvar_float 245@ = 361@
245@ *= 2.0
if 
  0.6 > 245@
goto_if_false @POOL2_19794
245@ = 0.6

:POOL2_19794
set_lvar_float_to_lvar_float 246@ = 361@

:POOL2_19802
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_20691
$on_footX = Object.GetHeading(82@)
42@ = Math.Sin($on_footX)
set_lvar_float_to_lvar_float 169@ = 42@
169@ *= -1.0
42@ = Math.Cos($on_footX)
set_lvar_float_to_lvar_float 170@ = 42@
171@ = 0.0
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@)
set_lvar_float_to_var_float 165@ = $on_footY
add_float_lvar_to_float_lvar 165@ += 169@
set_lvar_float_to_var_float 166@ = $on_footZ
add_float_lvar_to_float_lvar 166@ += 170@
42@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 165@, 166@)
div_float_lvar_by_float_lvar 169@ /= 42@
div_float_lvar_by_float_lvar 170@ /= 42@
mult_float_lvar_by_float_lvar 169@ *= 246@
mult_float_lvar_by_float_lvar 170@ *= 246@
Object.FreezePosition(82@, False)
Object.SetCollision(82@, False)
Object.SetDynamic(82@, False)
Object.SetVelocity(82@, 169@, 170@, 171@)
275@ = -1
276@ = 0
274@ = 0
203@ = 0
39@ = 0

:POOL2_20043
if 
  16 > 39@
goto_if_false @POOL2_20086
109@(39@,16i) = 0
39@ += 1
goto @POOL2_20043

:POOL2_20086
Audio.ReportMissionAudioEventAtObject(82@, 1014)
250@ = 0.0
251@ = 0.0
set_var_float_to_lvar_float $on_footY = 619@
sub_float_lvar_from_float_var $on_footY -= 615@
set_var_float_to_lvar_float $on_footZ = 620@
sub_float_lvar_from_float_var $on_footZ -= 616@
div_float_var_by_float_lvar $on_footY /= 617@
div_float_var_by_float_lvar $on_footZ /= 618@
if 
  227@ == 0
goto_if_false @POOL2_20210
$on_footY = Math.RandomFloatInRange(-0.2, 0.2)
$on_footZ = Math.RandomFloatInRange(-0.2, 0.2)

:POOL2_20210
if or
  $on_footY > 0.2
  -0.2 > $on_footY
  $on_footZ > 0.2
  -0.2 > $on_footZ
  227@ == 0
goto_if_false @POOL2_20381
mult_float_var_by_float_lvar $on_footY *= 246@
mult_float_var_by_float_lvar $on_footZ *= 246@
set_lvar_float_to_var_float 250@ = $on_footY
250@ *= 0.5
set_lvar_float_to_var_float 251@ = $on_footZ
251@ *= -0.5
$on_footY *= 10.0
$on_footZ *= 10.0
if 
  227@ == 1
goto_if_false @POOL2_20374
Object.SetRotationVelocity(82@, $on_footZ, 0.0, $on_footY)

:POOL2_20374
goto @POOL2_20401

:POOL2_20381
250@ = 0.0
251@ = 0.0

:POOL2_20401
619@ = 559.0
620@ = 381.0
if 
  129@ == 1
goto_if_false @POOL2_20591
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CUE BALL DATA = ")
save_float_to_debug_file 246@
save_float_to_debug_file $on_footY
save_float_to_debug_file $on_footZ
save_float_to_debug_file $in_carX

:POOL2_20591
Object.SetCollision(82@, True)
Object.SetDynamic(82@, True)
if 
  not Char.IsDead(210@)
goto_if_false @POOL2_20648
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_20648
Task.LookAtObject(210@, 82@, 10000)

:POOL2_20648
if 
  not Char.IsDead(211@)
goto_if_false @POOL2_20691
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_20691
Task.LookAtObject(211@, 82@, 10000)

:POOL2_20691
247@ = 1
return 

:POOL2_20700
if 
  35@ == 0
goto_if_false @POOL2_21018
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_21018
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(163@)
set_lvar_float_to_var_float 169@ = $on_footY
sub_float_lvar_from_float_lvar 169@ -= 581@
set_lvar_float_to_var_float 170@ = $on_footZ
sub_float_lvar_from_float_lvar 170@ -= 585@
add_float_lvar_to_float_var $on_footY += 169@
add_float_lvar_to_float_var $on_footZ += 170@
$in_carX += 2.5
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(163@)
$in_carX += 0.5
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
TIMERA = 0
165@, 166@, 167@ = Char.GetOffsetInWorldCoords(212@, 0.0, -0.2, 0.0)
167@ = World.GetGroundZFor3DCoord(165@, 166@, 167@)
$on_footX = Char.GetHeading(212@)
Char.SetCoordinates(212@, 607@, 608@, 609@)
Char.SetHeading(212@, $on_footX)
if 
  108@ == 0
goto_if_false @POOL2_21011
Task.PlayAnimNonInterruptable(212@, "POOL_IDLE_STANCE", "POOL", 1000.0, True, True, True, False, -1)

:POOL2_21011
35@ += 1

:POOL2_21018
if 
  35@ == 1
goto_if_false @POOL2_21143
39@ = 0
40@ = 0

:POOL2_21050
if 
  16 > 39@
goto_if_false @POOL2_21111
if 
  109@(39@,16i) == 1
goto_if_false @POOL2_21097
40@ += 1

:POOL2_21097
39@ += 1
goto @POOL2_21050

:POOL2_21111
if 
  40@ == 16
goto_if_false @POOL2_21143
35@ += 1
TIMERA = 0

:POOL2_21143
if 
  35@ == 2
goto_if_false @POOL2_21187
if 
  TIMERA > 700
goto_if_false @POOL2_21187
35@ = 99

:POOL2_21187
if 
  35@ == 99
goto_if_false @POOL2_21221
Text.ClearHelp
34@ += 1
35@ = 0

:POOL2_21221
return 

:POOL2_21223
if 
  35@ == 0
goto_if_false @POOL2_21255
271@ = 0
35@ += 1

:POOL2_21255
if 
  35@ == 1
goto_if_false @POOL2_21305
if 
  275@ == -1
goto_if_false @POOL2_21298
271@ = 1

:POOL2_21298
35@ += 1

:POOL2_21305
if 
  35@ == 2
goto_if_false @POOL2_21541
if 
  275@ <> -1
goto_if_false @POOL2_21534
if 
  228@ == -1
goto_if_false @POOL2_21391
if 
  275@ == 8
goto_if_false @POOL2_21384
271@ = 2

:POOL2_21384
goto @POOL2_21534

:POOL2_21391
if 
  228@ == 0
goto_if_false @POOL2_21441
if 
  275@ >= 8
goto_if_false @POOL2_21434
271@ = 2

:POOL2_21434
goto @POOL2_21534

:POOL2_21441
if 
  228@ == 1
goto_if_false @POOL2_21491
if 
  8 >= 275@
goto_if_false @POOL2_21484
271@ = 2

:POOL2_21484
goto @POOL2_21534

:POOL2_21491
if 
  228@ == 2
goto_if_false @POOL2_21534
if 
  275@ <> 8
goto_if_false @POOL2_21534
271@ = 2

:POOL2_21534
35@ += 1

:POOL2_21541
if 
  35@ == 3
goto_if_false @POOL2_21591
if 
  252@ == 1
goto_if_false @POOL2_21584
271@ = 3

:POOL2_21584
35@ += 1

:POOL2_21591
if 
  35@ == 4
goto_if_false @POOL2_22185
if 
  268@ == 1
goto_if_false @POOL2_21863
if 
  271@ <> 3
goto_if_false @POOL2_21856
if 
  228@ == -1
goto_if_false @POOL2_21706
if 
  260@ <> 1
goto_if_false @POOL2_21699
if 
  184@ == 0
goto_if_false @POOL2_21699

:POOL2_21699
goto @POOL2_21856

:POOL2_21706
if 
  228@ == 0
goto_if_false @POOL2_21756
if 
  270@ > 0
goto_if_false @POOL2_21749
271@ = 4

:POOL2_21749
goto @POOL2_21856

:POOL2_21756
if 
  228@ == 1
goto_if_false @POOL2_21806
if 
  269@ > 0
goto_if_false @POOL2_21799
271@ = 4

:POOL2_21799
goto @POOL2_21856

:POOL2_21806
if 
  228@ == 2
goto_if_false @POOL2_21856
if or
  269@ > 0
  270@ > 0
goto_if_false @POOL2_21856
271@ = 4

:POOL2_21856
goto @POOL2_22178

:POOL2_21863
if 
  268@ > 1
goto_if_false @POOL2_22178
if 
  228@ == -1
goto_if_false @POOL2_22028
if and
  269@ > 0
  270@ == 0
goto_if_false @POOL2_21960
if 
  260@ <> 1
goto_if_false @POOL2_21960
if 
  184@ == 0
goto_if_false @POOL2_21960

:POOL2_21960
if and
  269@ == 0
  270@ > 0
goto_if_false @POOL2_22021
if 
  260@ <> 1
goto_if_false @POOL2_22021
if 
  184@ == 0
goto_if_false @POOL2_22021

:POOL2_22021
goto @POOL2_22178

:POOL2_22028
if 
  228@ == 0
goto_if_false @POOL2_22078
if 
  270@ > 0
goto_if_false @POOL2_22071
271@ = 4

:POOL2_22071
goto @POOL2_22178

:POOL2_22078
if 
  228@ == 1
goto_if_false @POOL2_22128
if 
  269@ > 0
goto_if_false @POOL2_22121
271@ = 4

:POOL2_22121
goto @POOL2_22178

:POOL2_22128
if 
  228@ == 2
goto_if_false @POOL2_22178
if or
  270@ > 0
  269@ > 0
goto_if_false @POOL2_22178
271@ = 4

:POOL2_22178
35@ += 1

:POOL2_22185
if 
  35@ == 5
goto_if_false @POOL2_22303
if 
  228@ <> 2
goto_if_false @POOL2_22253
if 
  260@ == 1
goto_if_false @POOL2_22246
271@ = 5

:POOL2_22246
goto @POOL2_22296

:POOL2_22253
if 
  260@ == 1
goto_if_false @POOL2_22296
if 
  271@ <> 0
goto_if_false @POOL2_22296
271@ = 5

:POOL2_22296
35@ += 1

:POOL2_22303
if 
  35@ == 6
goto_if_false @POOL2_22389
if 
  271@ == 0
goto_if_false @POOL2_22382
if 
  268@ == 0
goto_if_false @POOL2_22382
if 
  274@ == 0
goto_if_false @POOL2_22382
271@ = 6

:POOL2_22382
35@ = 99

:POOL2_22389
if 
  35@ == 99
goto_if_false @POOL2_22613
if and
  271@ == 0
  184@ == 0
  268@ > 0
  228@ == -1
goto_if_false @POOL2_22597
if 
  is_int_lvar_greater_than_int_lvar 269@ > 270@
goto_if_false @POOL2_22525
if 
  226@ == 1
goto_if_false @POOL2_22504
214@ = 0
215@ = 1
goto @POOL2_22518

:POOL2_22504
214@ = 1
215@ = 0

:POOL2_22518
goto @POOL2_22597

:POOL2_22525
if 
  is_int_lvar_greater_than_int_lvar 270@ > 269@
goto_if_false @POOL2_22597
if 
  226@ == 1
goto_if_false @POOL2_22583
214@ = 1
215@ = 0
goto @POOL2_22597

:POOL2_22583
214@ = 0
215@ = 1

:POOL2_22597
Text.ClearHelp
35@ = 0
34@ += 1

:POOL2_22613
return 

:POOL2_22615
if 
  35@ == 0
goto_if_false @POOL2_24441
TIMERA = 0
if and
  67@ == 1
  68@ == 1
  69@ == 1
  70@ == 1
  71@ == 1
goto_if_false @POOL2_22761
if and
  72@ == 1
  73@ == 1
goto_if_false @POOL2_22761
if 
  214@ == 0
goto_if_false @POOL2_22736
214@ = 2

:POOL2_22736
if 
  215@ == 0
goto_if_false @POOL2_22761
215@ = 2

:POOL2_22761
if and
  75@ == 1
  76@ == 1
  77@ == 1
  78@ == 1
  79@ == 1
goto_if_false @POOL2_22882
if and
  80@ == 1
  81@ == 1
goto_if_false @POOL2_22882
if 
  214@ == 1
goto_if_false @POOL2_22857
214@ = 2

:POOL2_22857
if 
  215@ == 1
goto_if_false @POOL2_22882
215@ = 2

:POOL2_22882
switch_start 271@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @POOL2_24326 {caseNum1} 0 {caseLabel1} @POOL2_22945 {caseNum2} 1 {caseLabel2} @POOL2_23276 {caseNum3} 2 {caseLabel3} @POOL2_23474 {caseNum4} 3 {caseLabel4} @POOL2_23672 {caseNum5} 4 {caseLabel5} @POOL2_23870 {caseNum6} 5 {caseLabel6} @POOL2_24068 {caseNum7} 6 {caseLabel7} @POOL2_24128

:POOL2_22945
if 
  268@ > 0
goto_if_false @POOL2_23078
if 
  74@ <> 1
goto_if_false @POOL2_23050
229@ = 0
230@ = 1
if 
  226@ == 1
goto_if_false @POOL2_23028
set_lvar_int_to_lvar_int 228@ = 214@
goto @POOL2_23036

:POOL2_23028
set_lvar_int_to_lvar_int 228@ = 215@

:POOL2_23036
35@ = 99
goto @POOL2_23071

:POOL2_23050
273@ = 1
272@ = 1
35@ = 99

:POOL2_23071
goto @POOL2_23269

:POOL2_23078
if 
  226@ == 1
goto_if_false @POOL2_23202
229@ = 0
226@ = 2
set_lvar_int_to_lvar_int 212@ = 211@
set_lvar_int_to_lvar_int 213@ = 107@
set_lvar_int_to_lvar_int 227@ = 217@
230@ = 0
set_lvar_int_to_lvar_int 228@ = 215@
if 
  217@ == 1
goto_if_false @POOL2_23181
set_lvar_int_to_constant 180@ = 1
goto @POOL2_23188

:POOL2_23181
set_lvar_int_to_constant 180@ = 0

:POOL2_23188
35@ = 99
goto @POOL2_23269

:POOL2_23202
229@ = 0
226@ = 1
set_lvar_int_to_lvar_int 212@ = 210@
set_lvar_int_to_lvar_int 213@ = 106@
set_lvar_int_to_lvar_int 227@ = 216@
230@ = 0
set_lvar_int_to_lvar_int 228@ = 214@
set_lvar_int_to_constant 180@ = 0
35@ = 99

:POOL2_23269
goto @POOL2_24326

:POOL2_23276
if 
  226@ == 1
goto_if_false @POOL2_23400
226@ = 2
set_lvar_int_to_lvar_int 212@ = 211@
set_lvar_int_to_lvar_int 213@ = 107@
set_lvar_int_to_lvar_int 227@ = 217@
229@ = 2
230@ = 0
set_lvar_int_to_lvar_int 228@ = 215@
if 
  217@ == 1
goto_if_false @POOL2_23379
set_lvar_int_to_constant 180@ = 1
goto @POOL2_23386

:POOL2_23379
set_lvar_int_to_constant 180@ = 0

:POOL2_23386
35@ = 99
goto @POOL2_23467

:POOL2_23400
226@ = 1
set_lvar_int_to_lvar_int 212@ = 210@
set_lvar_int_to_lvar_int 213@ = 106@
set_lvar_int_to_lvar_int 227@ = 216@
229@ = 2
230@ = 0
set_lvar_int_to_lvar_int 228@ = 214@
set_lvar_int_to_constant 180@ = 0
35@ = 99

:POOL2_23467
goto @POOL2_24326

:POOL2_23474
if 
  226@ == 1
goto_if_false @POOL2_23598
226@ = 2
set_lvar_int_to_lvar_int 212@ = 211@
set_lvar_int_to_lvar_int 213@ = 107@
set_lvar_int_to_lvar_int 227@ = 217@
229@ = 2
230@ = 0
set_lvar_int_to_lvar_int 228@ = 215@
if 
  217@ == 1
goto_if_false @POOL2_23577
set_lvar_int_to_constant 180@ = 1
goto @POOL2_23584

:POOL2_23577
set_lvar_int_to_constant 180@ = 0

:POOL2_23584
35@ = 99
goto @POOL2_23665

:POOL2_23598
226@ = 1
set_lvar_int_to_lvar_int 212@ = 210@
set_lvar_int_to_lvar_int 213@ = 106@
set_lvar_int_to_lvar_int 227@ = 216@
229@ = 2
230@ = 0
set_lvar_int_to_lvar_int 228@ = 214@
set_lvar_int_to_constant 180@ = 0
35@ = 99

:POOL2_23665
goto @POOL2_24326

:POOL2_23672
if 
  226@ == 1
goto_if_false @POOL2_23796
226@ = 2
set_lvar_int_to_lvar_int 212@ = 211@
set_lvar_int_to_lvar_int 213@ = 107@
set_lvar_int_to_lvar_int 227@ = 217@
229@ = 2
230@ = 0
set_lvar_int_to_lvar_int 228@ = 215@
if 
  217@ == 1
goto_if_false @POOL2_23775
set_lvar_int_to_constant 180@ = 1
goto @POOL2_23782

:POOL2_23775
set_lvar_int_to_constant 180@ = 0

:POOL2_23782
35@ = 99
goto @POOL2_23863

:POOL2_23796
226@ = 1
set_lvar_int_to_lvar_int 212@ = 210@
set_lvar_int_to_lvar_int 213@ = 106@
set_lvar_int_to_lvar_int 227@ = 216@
229@ = 2
230@ = 0
set_lvar_int_to_lvar_int 228@ = 214@
set_lvar_int_to_constant 180@ = 0
35@ = 99

:POOL2_23863
goto @POOL2_24326

:POOL2_23870
if 
  226@ == 1
goto_if_false @POOL2_23994
226@ = 2
set_lvar_int_to_lvar_int 212@ = 211@
set_lvar_int_to_lvar_int 213@ = 107@
set_lvar_int_to_lvar_int 227@ = 217@
229@ = 2
230@ = 0
set_lvar_int_to_lvar_int 228@ = 215@
if 
  217@ == 1
goto_if_false @POOL2_23973
set_lvar_int_to_constant 180@ = 1
goto @POOL2_23980

:POOL2_23973
set_lvar_int_to_constant 180@ = 0

:POOL2_23980
35@ = 99
goto @POOL2_24061

:POOL2_23994
226@ = 1
set_lvar_int_to_lvar_int 212@ = 210@
set_lvar_int_to_lvar_int 213@ = 106@
set_lvar_int_to_lvar_int 227@ = 216@
229@ = 2
230@ = 0
set_lvar_int_to_lvar_int 228@ = 214@
set_lvar_int_to_constant 180@ = 0
35@ = 99

:POOL2_24061
goto @POOL2_24326

:POOL2_24068
if 
  184@ == 0
goto_if_false @POOL2_24100
272@ = 0
goto @POOL2_24107

:POOL2_24100
272@ = 1

:POOL2_24107
273@ = 1
35@ = 99
goto @POOL2_24326

:POOL2_24128
if 
  226@ == 1
goto_if_false @POOL2_24252
226@ = 2
set_lvar_int_to_lvar_int 212@ = 211@
set_lvar_int_to_lvar_int 213@ = 107@
set_lvar_int_to_lvar_int 227@ = 217@
229@ = 2
230@ = 0
set_lvar_int_to_lvar_int 228@ = 215@
if 
  217@ == 1
goto_if_false @POOL2_24231
set_lvar_int_to_constant 180@ = 1
goto @POOL2_24238

:POOL2_24231
set_lvar_int_to_constant 180@ = 0

:POOL2_24238
35@ = 99
goto @POOL2_24319

:POOL2_24252
226@ = 1
set_lvar_int_to_lvar_int 212@ = 210@
set_lvar_int_to_lvar_int 213@ = 106@
set_lvar_int_to_lvar_int 227@ = 216@
229@ = 2
230@ = 0
set_lvar_int_to_lvar_int 228@ = 214@
set_lvar_int_to_constant 180@ = 0
35@ = 99

:POOL2_24319
goto @POOL2_24326

:POOL2_24326
if 
  178@ == 0
goto_if_false @POOL2_24380
if 
  227@ == 1
goto_if_false @POOL2_24373
Text.PrintHelpForever('PL_H5')

:POOL2_24373
goto @POOL2_24427

:POOL2_24380
if 
  is_int_lvar_equal_to_constant 180@ == 0
goto_if_false @POOL2_24416
Text.PrintHelpForever('PL_H8')
goto @POOL2_24427

:POOL2_24416
Text.PrintHelpForever('PL_H9')

:POOL2_24427
TIMERA = 0
TIMERB = 0

:POOL2_24441
if 
  35@ == 99
goto_if_false @POOL2_24549
gosub @POOL2_54676
if 
  227@ == 1
goto_if_false @POOL2_24516
if 
  Pad.IsButtonPressed(180@, Button.Cross)
goto_if_false @POOL2_24509
35@ += 1

:POOL2_24509
goto @POOL2_24549

:POOL2_24516
if or
  TIMERB > 2000
  Pad.IsButtonPressed(180@, Button.Cross)
goto_if_false @POOL2_24549
35@ += 1

:POOL2_24549
if 
  35@ == 100
goto_if_false @POOL2_24711
Text.ClearHelp
39@ = 0
268@ = 0

:POOL2_24583
if 
  16 > 39@
goto_if_false @POOL2_24626
252@(39@,16i) = 0
39@ += 1
goto @POOL2_24583

:POOL2_24626
269@ = 0
270@ = 0
if 
  273@ == 1
goto_if_false @POOL2_24686
184@ = 1
34@ += 1
35@ = 0
goto @POOL2_24707

:POOL2_24686
184@ = 0
34@ = 3
35@ = 0

:POOL2_24707
wait 0

:POOL2_24711
return 

:POOL2_24713
if 
  35@ == 0
goto_if_false @POOL2_25166
if 
  272@ == 0
goto_if_false @POOL2_24813
if 
  226@ == 1
goto_if_false @POOL2_24790
set_lvar_int_to_lvar_int 212@ = 211@
set_lvar_int_to_lvar_int 213@ = 107@
goto @POOL2_24806

:POOL2_24790
set_lvar_int_to_lvar_int 212@ = 210@
set_lvar_int_to_lvar_int 213@ = 106@

:POOL2_24806
goto @POOL2_24870

:POOL2_24813
if 
  226@ == 1
goto_if_false @POOL2_24854
set_lvar_int_to_lvar_int 212@ = 210@
set_lvar_int_to_lvar_int 213@ = 106@
goto @POOL2_24870

:POOL2_24854
set_lvar_int_to_lvar_int 212@ = 211@
set_lvar_int_to_lvar_int 213@ = 107@

:POOL2_24870
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_25166
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(212@, 1.0, 2.0, 0.0)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
Camera.PointAtChar(212@, CameraMode.Fixed, SwitchType.JumpCut)
if 
  178@ == 0
goto_if_false @POOL2_25094
if 
  is_int_lvar_equal_to_int_lvar 212@ == 210@
goto_if_false @POOL2_25056
set_lvar_int_to_lvar_int 39@ = 162@
39@ *= 2
Player.AddScore($statbike_temp, 39@)
start_new_script @CASHWIN 39@ 5000 80 
if 
  not Char.IsDead(164@)
goto_if_false @POOL2_25049
Char.SetMoney(164@, 0)

:POOL2_25049
goto @POOL2_25087

:POOL2_25056
set_lvar_int_to_lvar_int 39@ = 162@
39@ *= -1
start_new_script @CASHWIN 39@ 5000 80 

:POOL2_25087
goto @POOL2_25152

:POOL2_25094
if 
  is_int_lvar_equal_to_int_lvar 212@ == 210@
goto_if_false @POOL2_25136
Text.PrintBig('PL_08', 5000, TextStyle.Middle)
goto @POOL2_25152

:POOL2_25136
Text.PrintBig('PL_09', 5000, TextStyle.Middle)

:POOL2_25152
TIMERA = 0
35@ += 1

:POOL2_25166
if 
  35@ == 1
goto_if_false @POOL2_25210
if 
  TIMERA > 5000
goto_if_false @POOL2_25210
35@ += 1

:POOL2_25210
if 
  35@ == 2
goto_if_false @POOL2_25783
Camera.DoFade(500, Fade.Out)

:POOL2_25235
if 
  Camera.GetFadingStatus
goto_if_false @POOL2_25259
wait 0
goto @POOL2_25235

:POOL2_25259
39@ = 0

:POOL2_25266
if 
  16 > 39@
goto_if_false @POOL2_25327
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_25313
Object.Delete(82@(39@,16i))

:POOL2_25313
39@ += 1
goto @POOL2_25266

:POOL2_25327
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.2734375, -0.0546875, 0.9296875)
82@ = Object.CreateNoOffset(#K_POOLBALLCUE, $on_footY, $on_footZ, $in_carX)
$on_footX = Object.GetHeading(163@)
$on_footX += 270.0
Object.SetHeading(82@, $on_footX)
555@, 556@, 557@ = Object.GetOffsetInWorldCoords(163@, 0.3408, -0.0284, 0.9297)
558@ = Object.GetHeading(163@)
558@ += 90.0
83@ = Object.CreateNoOffset(#K_POOLBALLSPT01, 555@, 556@, 557@)
84@ = Object.CreateNoOffset(#K_POOLBALLSPT02, 0.0, 0.0, 0.0)
85@ = Object.CreateNoOffset(#K_POOLBALLSPT03, 0.0, 0.0, 0.0)
86@ = Object.CreateNoOffset(#K_POOLBALLSPT04, 0.0, 0.0, 0.0)
87@ = Object.CreateNoOffset(#K_POOLBALLSPT05, 0.0, 0.0, 0.0)
88@ = Object.CreateNoOffset(#K_POOLBALLSPT06, 0.0, 0.0, 0.0)
89@ = Object.CreateNoOffset(#K_POOLBALLSPT07, 0.0, 0.0, 0.0)
90@ = Object.CreateNoOffset(#K_POOLBALL8, 0.0, 0.0, 0.0)
91@ = Object.CreateNoOffset(#K_POOLBALLSTP01, 0.0, 0.0, 0.0)
92@ = Object.CreateNoOffset(#K_POOLBALLSTP02, 0.0, 0.0, 0.0)
93@ = Object.CreateNoOffset(#K_POOLBALLSTP03, 0.0, 0.0, 0.0)
94@ = Object.CreateNoOffset(#K_POOLBALLSTP04, 0.0, 0.0, 0.0)
95@ = Object.CreateNoOffset(#K_POOLBALLSTP05, 0.0, 0.0, 0.0)
96@ = Object.CreateNoOffset(#K_POOLBALLSTP06, 0.0, 0.0, 0.0)
97@ = Object.CreateNoOffset(#K_POOLBALLSTP07, 0.0, 0.0, 0.0)
gosub @POOL2_50393
35@ = 99

:POOL2_25783
if 
  35@ == 99
goto_if_false @POOL2_25817
Text.ClearHelp
34@ += 1
35@ = 0

:POOL2_25817
return 
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
Text.SetScale(1.3, 3.36)
Text.SetCenter(True)
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetFont(Font.Pricedown)
$temp_float_1, $temp_float_2, $temp_float_3, $x_temp = Hud.GetColor(6)
Text.SetColor($temp_float_1, $temp_float_2, $temp_float_3, 255)
return 

:POOL2_25907
272@ = 0
268@ = 0
269@ = 0
270@ = 0
271@ = 0
39@ = 0

:POOL2_25949
if 
  16 > 39@
goto_if_false @POOL2_26003
252@(39@,16i) = 0
66@(39@,16i) = 0
39@ += 1
goto @POOL2_25949

:POOL2_26003
229@ = 0
273@ = 0
34@ = 1
35@ = 0
return 

:POOL2_26033
if 
  Object.DoesExist(163@)
goto_if_false @POOL2_26081
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(163@)
World.ClearArea($on_footY, $on_footZ, $in_carX, 10.0, True)

:POOL2_26081
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_26119
48@ = Object.GetSpeed(82@)
49@, 50@, 51@ = Object.GetRotationVelocity(82@)

:POOL2_26119
if 
  203@ > 2000
goto_if_false @POOL2_26609
set_var_float_to_lvar_float $on_footY = 201@
$on_footY *= -1.0
39@ = 0

:POOL2_26163
if 
  16 > 39@
goto_if_false @POOL2_26609
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_26584
42@ = Object.GetSpeed(82@(39@,16i))
if 
  is_float_lvar_greater_than_float_lvar 200@ > 42@
goto_if_false @POOL2_26566
if 
  0.005 > 42@
goto_if_false @POOL2_26482
42@, 43@, 44@ = Object.GetRotationVelocity(82@(39@,16i))
40@ = 0
if or
  is_float_lvar_greater_than_float_lvar 42@ > 201@
  is_float_var_greater_than_float_lvar $on_footY > 42@
goto_if_false @POOL2_26312
40@ = 1

:POOL2_26312
if or
  is_float_lvar_greater_than_float_lvar 43@ > 201@
  is_float_var_greater_than_float_lvar $on_footY > 43@
goto_if_false @POOL2_26346
40@ = 1

:POOL2_26346
if or
  is_float_lvar_greater_than_float_lvar 44@ > 201@
  is_float_var_greater_than_float_lvar $on_footY > 44@
goto_if_false @POOL2_26380
40@ = 1

:POOL2_26380
if 
  40@ == 0
goto_if_false @POOL2_26464
Object.SetVelocity(82@(39@,16i), 0.0, 0.0, 0.0)
Object.SetRotationVelocity(82@(39@,16i), 0.0, 0.0, 0.0)
109@(39@,16i) = 1
goto @POOL2_26475

:POOL2_26464
109@(39@,16i) = 0

:POOL2_26475
goto @POOL2_26559

:POOL2_26482
$on_footY, $on_footZ, $in_carX = Object.GetVelocity(82@(39@,16i))
$on_footY *= 0.9
$on_footZ *= 0.9
$in_carX *= 0.9
Object.SetVelocity(82@(39@,16i), $on_footY, $on_footZ, $in_carX)
109@(39@,16i) = 0

:POOL2_26559
goto @POOL2_26577

:POOL2_26566
109@(39@,16i) = 0

:POOL2_26577
goto @POOL2_26595

:POOL2_26584
109@(39@,16i) = 1

:POOL2_26595
39@ += 1
goto @POOL2_26163

:POOL2_26609
if 
  108@ <> 1
goto_if_false @POOL2_26673
set_lvar_int_to_lvar_int 355@ = 210@
set_lvar_int_to_lvar_int 356@ = 106@
gosub @POOL2_30517
set_lvar_int_to_lvar_int 355@ = 211@
set_lvar_int_to_lvar_int 356@ = 107@
gosub @POOL2_30517

:POOL2_26673
250@ *= 0.98
251@ *= 0.98
39@ = 0

:POOL2_26700
if 
  16 > 39@
goto_if_false @POOL2_26974
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_26960
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@(39@,16i))
set_lvar_float_to_lvar_float 43@ = 52@
43@ *= 2.0
set_lvar_float_to_lvar_float 42@ = 557@
sub_float_lvar_from_float_lvar 42@ -= 43@
if 
  is_float_lvar_greater_than_float_var 42@ > $in_carX
goto_if_false @POOL2_26960
if 
  66@(39@,16i) == 0
goto_if_false @POOL2_26960
Audio.ReportMissionAudioEventAtPosition($on_footY, $on_footZ, $in_carX, 1017)
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_26874
Object.Delete(82@(39@,16i))

:POOL2_26874
66@(39@,16i) = 1
252@(39@,16i) = 1
268@ += 1
if and
  39@ > 0
  8 > 39@
goto_if_false @POOL2_26935
269@ += 1

:POOL2_26935
if 
  39@ > 8
goto_if_false @POOL2_26960
270@ += 1

:POOL2_26960
39@ += 1
goto @POOL2_26700

:POOL2_26974
39@ = 0

:POOL2_26981
if 
  16 > 39@
goto_if_false @POOL2_27360
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_27346
if 
  Object.HasBeenDamagedByWeapon(82@(39@,16i), WeaponType.Fall)
goto_if_false @POOL2_27073
274@ += 1
if 
  39@ == 0
goto_if_false @POOL2_27073
276@ = 1

:POOL2_27073
if 
  275@ == -1
goto_if_false @POOL2_27189
if 
  39@ > 0
goto_if_false @POOL2_27189
if 
  Object.HasBeenDamagedByWeapon(82@(39@,16i), WeaponType.Drowning)
goto_if_false @POOL2_27189
set_lvar_int_to_lvar_int 275@ = 39@
if 
  276@ == 0
goto_if_false @POOL2_27189
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_27189
Object.AddVelocityRelative(82@, 250@, 251@, 0.0)

:POOL2_27189
if 
  Object.HasBeenDamagedByWeapon(82@(39@,16i), WeaponType.Runoverbycar)
goto_if_false @POOL2_27337
274@ += 1
if 
  39@ == 0
goto_if_false @POOL2_27243
276@ = 1

:POOL2_27243
if 
  275@ == -1
goto_if_false @POOL2_27337
if 
  39@ > 0
goto_if_false @POOL2_27337
set_lvar_int_to_lvar_int 275@ = 39@
if 
  276@ == 0
goto_if_false @POOL2_27337
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_27337
Object.AddVelocityRelative(82@, 250@, 251@, 0.0)

:POOL2_27337
Object.ClearLastWeaponDamage(82@(39@,16i))

:POOL2_27346
39@ += 1
goto @POOL2_26981

:POOL2_27360
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @POOL2_27451
if 
  129@ == 1
goto_if_false @POOL2_27426
129@ = 0
write_debug "OUTPUT_TEXT_OFF"
goto @POOL2_27451

:POOL2_27426
129@ = 1
write_debug "OUTPUT_TEXT_ON"

:POOL2_27451
if 
  not Object.DoesExist(163@)
goto_if_false @POOL2_27474
34@ = 99

:POOL2_27474
if 
  not Char.IsDead(164@)
goto_if_false @POOL2_27498
$cam_x2 = Char.GetHealth(164@)

:POOL2_27498
if 
  Char.IsDead(164@)
goto_if_false @POOL2_27521
34@ = 99

:POOL2_27521
if 
  108@ == 1
goto_if_false @POOL2_28084
Hud.Display(True)
if 
  161@ > 0
goto_if_false @POOL2_27569
Player.AddScore($statbike_temp, 161@)

:POOL2_27569
if 
  not Char.IsDead(164@)
goto_if_false @POOL2_27641
Char.FreezePosition(164@, False)
DecisionMaker.Remove(204@)
204@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Char.SetDecisionMaker(164@, 204@)
Char.SetCollision(164@, True)
Char.SetProofs(164@, False, False, False, False, False)
Char.HideWeaponForScriptedCutscene(164@, True)

:POOL2_27641
World.SetPedDensityMultiplier(1.0)
Text.UseCommands(False)
Hud.DisplayRadar(True)
39@ = 0

:POOL2_27663
if 
  16 > 39@
goto_if_false @POOL2_27704
Object.MarkAsNoLongerNeeded(82@(39@,16i))
39@ += 1
goto @POOL2_27663

:POOL2_27704
Camera.RestoreJumpcut
if 
  Object.DoesExist(235@)
goto_if_false @POOL2_27727
Object.Delete(235@)

:POOL2_27727
104@ += 0.1
Object.SetCoordinates(163@, 102@, 103@, 104@)
98@, 100@, $in_carX = Object.GetOffsetInWorldCoords(163@, -0.96, -0.49, 0.7)
99@, 101@, $in_carX = Object.GetOffsetInWorldCoords(163@, 0.96, 0.49, 0.7)
if 
  is_float_lvar_greater_than_float_lvar 98@ > 99@
goto_if_false @POOL2_27852
set_var_float_to_lvar_float $on_footY = 98@
set_lvar_float_to_lvar_float 98@ = 99@
set_lvar_float_to_var_float 99@ = $on_footY

:POOL2_27852
if 
  is_float_lvar_greater_than_float_lvar 100@ > 101@
goto_if_false @POOL2_27895
set_var_float_to_lvar_float $on_footZ = 100@
set_lvar_float_to_lvar_float 100@ = 101@
set_lvar_float_to_var_float 101@ = $on_footZ

:POOL2_27895
World.SetPoolTableCoords(98@, 100@, $in_carX, 99@, 101@, $in_carX)
39@ = 0

:POOL2_27922
if 
  16 > 39@
goto_if_false @POOL2_28020
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_28006
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@(39@,16i))
$in_carX += 0.1
Object.SetCoordinates(82@(39@,16i), $on_footY, $on_footZ, $in_carX)

:POOL2_28006
39@ += 1
goto @POOL2_27922

:POOL2_28020
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL2_28062
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.FreezePosition($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Char.SetCollision($stattreadstamina_ctr, True)

:POOL2_28062
Object.Delete(106@)
Object.Delete(107@)
Streaming.MarkModelAsNoLongerNeeded(#K_POOLQ)
Streaming.RemoveAnimation("POOL")

:POOL2_28084
if and
  34@ == 99
  108@ == 0
goto_if_false @POOL2_28129
Text.UseCommands(False)
Hud.DisplayRadar(True)
34@ = 0
wait 500

:POOL2_28129
if 
is_ps2_keyboard_key_just_pressed 73
goto_if_false @POOL2_28241
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_28241
Object.FreezePosition(82@, False)
Object.SetCollision(82@, False)
Object.SetDynamic(82@, False)
$on_footY = Math.RandomFloatInRange(-5.0, 5.0)
$on_footZ = Math.RandomFloatInRange(-5.0, 5.0)
Object.SetVelocity(82@, $on_footY, $on_footZ, 0.0)
Object.SetCollision(82@, True)
Object.SetDynamic(82@, True)

:POOL2_28241
return 

:POOL2_28243
278@ = 0
277@ = 1.7
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_28466
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@)
set_lvar_float_to_lvar_float 42@ = 98@
42@ += 0.02
if 
  is_float_lvar_greater_than_float_var 42@ > $on_footY
goto_if_false @POOL2_28334
278@ = 99

:POOL2_28334
set_lvar_float_to_lvar_float 42@ = 99@
42@ -= 0.02
if 
  is_float_var_greater_than_float_lvar $on_footY > 42@
goto_if_false @POOL2_28378
278@ = 99

:POOL2_28378
set_lvar_float_to_lvar_float 42@ = 100@
42@ += 0.02
if 
  is_float_lvar_greater_than_float_var 42@ > $on_footZ
goto_if_false @POOL2_28422
278@ = 99

:POOL2_28422
set_lvar_float_to_lvar_float 42@ = 101@
42@ -= 0.02
if 
  is_float_var_greater_than_float_lvar $on_footZ > 42@
goto_if_false @POOL2_28466
278@ = 99

:POOL2_28466
if 
  278@ <> 99
goto_if_false @POOL2_30515
if 
  237@ <> 0
goto_if_false @POOL2_28509
278@ = 2

:POOL2_28509
if 
  278@ == 0
goto_if_false @POOL2_29118
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_29118
39@ = 0

:POOL2_28550
if 
  3 > 39@
goto_if_false @POOL2_28694
301@(39@,3f) = -999999.9
304@(39@,3f) = -999999.9
307@(39@,3f) = -999999.9
310@(39@,3f) = -999999.9
313@(39@,3f) = -999999.9
316@(39@,3f) = -999999.9
319@(39@,3f) = -999999.9
322@(39@,3f) = -999999.9
39@ += 1
goto @POOL2_28550

:POOL2_28694
set_lvar_float_to_lvar_float 298@ = 277@
set_lvar_float_to_lvar_float 298@ = 277@
set_lvar_float_to_lvar_float 297@ = 277@
297@ /= 10.0
$on_footX = Object.GetHeading(82@)
Object.SetRotation(82@, 0.0, 0.0, $on_footX)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@)
if 
  is_float_lvar_greater_than_float_var 98@ > $on_footY
goto_if_false @POOL2_28805
set_var_float_to_lvar_float $on_footY = 98@
$on_footY += 0.01

:POOL2_28805
if 
  is_float_var_greater_than_float_lvar $on_footY > 99@
goto_if_false @POOL2_28842
set_var_float_to_lvar_float $on_footY = 99@
$on_footY -= 0.01

:POOL2_28842
if 
  is_float_lvar_greater_than_float_var 100@ > $on_footZ
goto_if_false @POOL2_28879
set_var_float_to_lvar_float $on_footZ = 100@
$on_footZ += 0.01

:POOL2_28879
if 
  is_float_var_greater_than_float_lvar $on_footZ > 101@
goto_if_false @POOL2_28916
set_var_float_to_lvar_float $on_footZ = 101@
$on_footZ -= 0.01

:POOL2_28916
165@, 166@, 167@ = Object.GetOffsetInWorldCoords(82@, 0.0, 1.0, 0.0)
set_lvar_float_to_lvar_float 279@ = 165@
sub_float_var_from_float_lvar 279@ -= $on_footY
set_lvar_float_to_lvar_float 280@ = 166@
sub_float_var_from_float_lvar 280@ -= $on_footZ
42@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 165@, 166@)
div_float_lvar_by_float_lvar 279@ /= 42@
div_float_lvar_by_float_lvar 280@ /= 42@
mult_float_lvar_by_float_lvar 279@ *= 298@
mult_float_lvar_by_float_lvar 280@ *= 298@
set_lvar_float_to_var_float 484@ = $on_footY
set_lvar_float_to_var_float 485@ = $on_footZ
set_lvar_float_to_var_float 301@ = $on_footY
set_lvar_float_to_var_float 304@ = $on_footZ
set_lvar_float_to_var_float 480@ = $on_footY
add_float_lvar_to_float_lvar 480@ += 279@
set_lvar_float_to_var_float 481@ = $on_footZ
add_float_lvar_to_float_lvar 481@ += 280@
281@ = 0
325@ = 0
512@ = 0
278@ += 1

:POOL2_29118
if 
  278@ == 1
goto_if_false @POOL2_29537
238@ = 0

:POOL2_29143
if and
  298@ > 0.0
  3 > 281@
goto_if_false @POOL2_29523
gosub @POOL2_48036
set_lvar_float_to_lvar_float 307@(281@,3f) = 502@
set_lvar_float_to_lvar_float 310@(281@,3f) = 503@
set_lvar_int_to_lvar_int 39@ = 281@
39@ += 1
if 
  3 > 39@
goto_if_false @POOL2_29259
set_lvar_float_to_lvar_float 301@(39@,3f) = 502@
set_lvar_float_to_lvar_float 304@(39@,3f) = 503@

:POOL2_29259
42@ = Math.GetDistanceBetweenCoords2D(301@(281@,3f), 304@(281@,3f), 307@(281@,3f), 310@(281@,3f))
sub_float_lvar_from_float_lvar 298@ -= 42@
if 
  482@ == 0
goto_if_false @POOL2_29509
if 
  501@ <> -1
goto_if_false @POOL2_29353
298@ *= 0.5
goto @POOL2_29363

:POOL2_29353
298@ *= 0.75

:POOL2_29363
if 
  325@ == 0
goto_if_false @POOL2_29431
if 
  501@ <> -1
goto_if_false @POOL2_29431
set_lvar_int_to_lvar_int 325@ = 501@
set_lvar_float_to_lvar_float 326@ = 298@
set_lvar_float_to_lvar_float 327@ = 506@
set_lvar_float_to_lvar_float 328@ = 507@

:POOL2_29431
set_lvar_float_to_lvar_float 484@ = 502@
set_lvar_float_to_lvar_float 485@ = 503@
mult_float_lvar_by_float_lvar 504@ *= 298@
mult_float_lvar_by_float_lvar 505@ *= 298@
set_lvar_float_to_lvar_float 480@ = 484@
add_float_lvar_to_float_lvar 480@ += 504@
set_lvar_float_to_lvar_float 481@ = 485@
add_float_lvar_to_float_lvar 481@ += 505@
281@ += 1
goto @POOL2_29516

:POOL2_29509
281@ = 3

:POOL2_29516
goto @POOL2_29143

:POOL2_29523
237@ += 1
278@ += 1

:POOL2_29537
if 
  278@ == 2
goto_if_false @POOL2_30483
39@ = 0

:POOL2_29562
if 
  10 > 39@
goto_if_false @POOL2_29674
if 
  Object.DoesExist(344@(39@,10i))
goto_if_false @POOL2_29609
Object.Delete(344@(39@,10i))

:POOL2_29609
344@(39@,10i) = Object.Create(#K_POOLBALLCUE, 0.0, 0.0, 0.0)
Object.SetCollision(344@(39@,10i), False)
Object.SetScale(344@(39@,10i), 0.3)
39@ += 1
goto @POOL2_29562

:POOL2_29674
354@ = 0
340@ = 0.005
add_timed_float_lvar_to_float_lvar 339@ +=@ 340@
if 
  is_float_lvar_greater_than_float_lvar 339@ > 297@
goto_if_false @POOL2_29726
sub_float_lvar_from_float_lvar 339@ -= 297@

:POOL2_29726
343@ = 0.0
39@ = 0

:POOL2_29743
if 
  3 > 39@
goto_if_false @POOL2_30476
if and
  301@(39@,3f) > -9999.9
  304@(39@,3f) > -9999.9
  307@(39@,3f) > -9999.9
  310@(39@,3f) > -9999.9
goto_if_false @POOL2_30462
42@ = Math.GetDistanceBetweenCoords2D(301@(39@,3f), 304@(39@,3f), 307@(39@,3f), 310@(39@,3f))
set_lvar_float_to_lvar_float 169@ = 307@(39@,3f)
sub_float_lvar_from_float_lvar 169@ -= 301@(39@,3f)
set_lvar_float_to_lvar_float 170@ = 310@(39@,3f)
sub_float_lvar_from_float_lvar 170@ -= 304@(39@,3f)
set_lvar_float_to_lvar_float 43@ = 42@
div_float_lvar_by_float_lvar 43@ /= 297@
cset_lvar_int_to_lvar_float 40@ =# 43@
40@ += 1
div_float_lvar_by_float_lvar 169@ /= 42@
div_float_lvar_by_float_lvar 170@ /= 42@
set_lvar_float_to_lvar_float 341@ = 169@
set_lvar_float_to_lvar_float 342@ = 170@
mult_float_lvar_by_float_lvar 341@ *= 339@
mult_float_lvar_by_float_lvar 342@ *= 339@
mult_float_lvar_by_float_lvar 169@ *= 297@
mult_float_lvar_by_float_lvar 170@ *= 297@
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_30182
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@)
if 
  is_float_lvar_greater_than_float_var 98@ > $on_footY
goto_if_false @POOL2_30071
set_var_float_to_lvar_float $on_footY = 98@
$on_footY += 0.01

:POOL2_30071
if 
  is_float_var_greater_than_float_lvar $on_footY > 99@
goto_if_false @POOL2_30108
set_var_float_to_lvar_float $on_footY = 99@
$on_footY -= 0.01

:POOL2_30108
if 
  is_float_lvar_greater_than_float_var 100@ > $on_footZ
goto_if_false @POOL2_30145
set_var_float_to_lvar_float $on_footZ = 100@
$on_footZ += 0.01

:POOL2_30145
if 
  is_float_var_greater_than_float_lvar $on_footZ > 101@
goto_if_false @POOL2_30182
set_var_float_to_lvar_float $on_footZ = 101@
$on_footZ -= 0.01

:POOL2_30182
set_lvar_float_to_lvar_float 196@ = 301@(39@,3f)
sub_float_lvar_from_float_lvar 196@ -= 169@
set_lvar_float_to_lvar_float 197@ = 304@(39@,3f)
sub_float_lvar_from_float_lvar 197@ -= 170@
add_float_lvar_to_float_lvar 196@ += 341@
add_float_lvar_to_float_lvar 197@ += 342@
add_int_lvar_to_int_lvar 40@ += 354@

:POOL2_30246
if and
  is_int_lvar_greater_than_int_lvar 40@ > 354@
  10 > 354@
goto_if_false @POOL2_30462
set_var_float_to_lvar_float $on_footY = 196@
add_float_lvar_to_float_var $on_footY += 169@
set_var_float_to_lvar_float $on_footZ = 197@
add_float_lvar_to_float_var $on_footZ += 170@
set_lvar_float_to_var_float 196@ = $on_footY
set_lvar_float_to_var_float 197@ = $on_footZ
if 
  Object.DoesExist(344@(354@,10i))
goto_if_false @POOL2_30448
if or
  is_float_var_greater_than_float_lvar $on_footY > 99@
  is_float_lvar_greater_than_float_var 98@ > $on_footY
  is_float_var_greater_than_float_lvar $on_footZ > 101@
  is_float_lvar_greater_than_float_var 100@ > $on_footZ
goto_if_false @POOL2_30419
Object.SetVisible(344@(354@,10i), False)
Object.SetCoordinates(344@(354@,10i), $on_footY, $on_footZ, $in_carX)
goto @POOL2_30448

:POOL2_30419
Object.SetVisible(344@(354@,10i), True)
Object.SetCoordinates(344@(354@,10i), $on_footY, $on_footZ, $in_carX)

:POOL2_30448
354@ += 1
goto @POOL2_30246

:POOL2_30462
39@ += 1
goto @POOL2_29743

:POOL2_30476
278@ += 1

:POOL2_30483
if 
  278@ == 3
goto_if_false @POOL2_30508
278@ = 99

:POOL2_30508
goto @POOL2_28466

:POOL2_30515
return 

:POOL2_30517
if 
  not Char.IsDead(355@)
goto_if_false @POOL2_33557
if 
  is_int_lvar_equal_to_int_var 355@ == $stattreadstamina_ctr
goto_if_false @POOL2_30566
357@ = 0
goto @POOL2_30573

:POOL2_30566
357@ = 1

:POOL2_30573
if 
  Char.IsPlayingAnim(355@, "POOL_XLONG_SHOT")
goto_if_false @POOL2_30839
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_30666
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_30666
42@ = Char.GetAnimCurrentTime(355@, "POOL_XLONG_SHOT")
if 
  Object.IsPlayingAnim(356@, "POOL_XLONG_SHOT_O")
goto_if_false @POOL2_30760
Object.SetAnimCurrentTime(356@, "POOL_XLONG_SHOT_O", 42@)
goto @POOL2_30839

:POOL2_30760
if 
Object.PlayAnim(356@, "POOL_XLONG_SHOT_O", "POOL", 10000.0, False, True)
goto_if_false @POOL2_30839
Object.SetAnimSpeed(356@, "POOL_XLONG_SHOT_O", 0.0)

:POOL2_30839
if and
  Char.IsPlayingAnim(355@, "POOL_XLONG_START")
  not Char.IsPlayingAnim(355@, "POOL_XLONG_SHOT")
goto_if_false @POOL2_31133
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_30955
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_30955
42@ = Char.GetAnimCurrentTime(355@, "POOL_XLONG_START")
if 
  Object.IsPlayingAnim(356@, "POOL_XLONG_START_O")
goto_if_false @POOL2_31052
Object.SetAnimCurrentTime(356@, "POOL_XLONG_START_O", 42@)
goto @POOL2_31133

:POOL2_31052
if 
Object.PlayAnim(356@, "POOL_XLONG_START_O", "POOL", 10000.0, False, True)
goto_if_false @POOL2_31133
Object.SetAnimSpeed(356@, "POOL_XLONG_START_O", 0.0)

:POOL2_31133
if 
  Char.IsPlayingAnim(355@, "POOL_LONG_SHOT")
goto_if_false @POOL2_31393
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_31225
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_31225
42@ = Char.GetAnimCurrentTime(355@, "POOL_LONG_SHOT")
if 
  Object.IsPlayingAnim(356@, "POOL_LONG_SHOT_O")
goto_if_false @POOL2_31316
Object.SetAnimCurrentTime(356@, "POOL_LONG_SHOT_O", 42@)
goto @POOL2_31393

:POOL2_31316
if 
Object.PlayAnim(356@, "POOL_LONG_SHOT_O", "POOL", 10000.0, False, True)
goto_if_false @POOL2_31393
Object.SetAnimSpeed(356@, "POOL_LONG_SHOT_O", 0.0)

:POOL2_31393
if and
  Char.IsPlayingAnim(355@, "POOL_LONG_START")
  not Char.IsPlayingAnim(355@, "POOL_LONG_SHOT")
goto_if_false @POOL2_31680
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_31507
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_31507
42@ = Char.GetAnimCurrentTime(355@, "POOL_LONG_START")
if 
  Object.IsPlayingAnim(356@, "POOL_LONG_START_O")
goto_if_false @POOL2_31601
Object.SetAnimCurrentTime(356@, "POOL_LONG_START_O", 42@)
goto @POOL2_31680

:POOL2_31601
if 
Object.PlayAnim(356@, "POOL_LONG_START_O", "POOL", 10000.0, False, True)
goto_if_false @POOL2_31680
Object.SetAnimSpeed(356@, "POOL_LONG_START_O", 0.0)

:POOL2_31680
if 
  Char.IsPlayingAnim(355@, "POOL_MED_SHOT")
goto_if_false @POOL2_31934
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_31771
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_31771
42@ = Char.GetAnimCurrentTime(355@, "POOL_MED_SHOT")
if 
  Object.IsPlayingAnim(356@, "POOL_MED_SHOT_O")
goto_if_false @POOL2_31859
Object.SetAnimCurrentTime(356@, "POOL_MED_SHOT_O", 42@)
goto @POOL2_31934

:POOL2_31859
if 
Object.PlayAnim(356@, "POOL_MED_SHOT_O", "POOL", 10000.0, False, True)
goto_if_false @POOL2_31934
Object.SetAnimSpeed(356@, "POOL_MED_SHOT_O", 0.0)

:POOL2_31934
if and
  Char.IsPlayingAnim(355@, "POOL_MED_START")
  not Char.IsPlayingAnim(355@, "POOL_MED_SHOT")
goto_if_false @POOL2_32214
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_32046
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_32046
42@ = Char.GetAnimCurrentTime(355@, "POOL_MED_START")
if 
  Object.IsPlayingAnim(356@, "POOL_MED_START_O")
goto_if_false @POOL2_32137
Object.SetAnimCurrentTime(356@, "POOL_MED_START_O", 42@)
goto @POOL2_32214

:POOL2_32137
if 
Object.PlayAnim(356@, "POOL_MED_START_O", "POOL", 10000.0, False, True)
goto_if_false @POOL2_32214
Object.SetAnimSpeed(356@, "POOL_MED_START_O", 0.0)

:POOL2_32214
if 
  Char.IsPlayingAnim(355@, "POOL_SHORT_SHOT")
goto_if_false @POOL2_32480
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_32307
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_32307
42@ = Char.GetAnimCurrentTime(355@, "POOL_SHORT_SHOT")
if 
  Object.IsPlayingAnim(356@, "POOL_SHORT_SHOT_O")
goto_if_false @POOL2_32401
Object.SetAnimCurrentTime(356@, "POOL_SHORT_SHOT_O", 42@)
goto @POOL2_32480

:POOL2_32401
if 
Object.PlayAnim(356@, "POOL_SHORT_SHOT_O", "POOL", 10000.0, False, True)
goto_if_false @POOL2_32480
Object.SetAnimSpeed(356@, "POOL_SHORT_SHOT_O", 0.0)

:POOL2_32480
if and
  Char.IsPlayingAnim(355@, "POOL_SHORT_START")
  not Char.IsPlayingAnim(355@, "POOL_SHORT_SHOT")
goto_if_false @POOL2_32774
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_32596
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_32596
42@ = Char.GetAnimCurrentTime(355@, "POOL_SHORT_START")
if 
  Object.IsPlayingAnim(356@, "POOL_SHORT_START_O")
goto_if_false @POOL2_32693
Object.SetAnimCurrentTime(356@, "POOL_SHORT_START_O", 42@)
goto @POOL2_32774

:POOL2_32693
if 
Object.PlayAnim(356@, "POOL_SHORT_START_O", "POOL", 10000.0, False, True)
goto_if_false @POOL2_32774
Object.SetAnimSpeed(356@, "POOL_SHORT_START_O", 0.0)

:POOL2_32774
if 
  Char.IsPlayingAnim(355@, "POOL_CHALKCUE")
goto_if_false @POOL2_32977
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_32865
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_32865
42@ = Char.GetAnimCurrentTime(355@, "POOL_CHALKCUE")
if 
  42@ > 0.28
goto_if_false @POOL2_32970
if 
  358@(357@,2i) <> 1
goto_if_false @POOL2_32970
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(356@)
Audio.ReportMissionAudioEventAtPosition($on_footY, $on_footZ, $in_carX, 1018)
358@(357@,2i) = 1

:POOL2_32970
goto @POOL2_33010

:POOL2_32977
if 
  358@(357@,2i) <> 0
goto_if_false @POOL2_33010
358@(357@,2i) = 0

:POOL2_33010
if 
  Char.IsPlayingAnim(355@, "POOL_IDLE_STANCE")
goto_if_false @POOL2_33104
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_33104
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_33104
if 
  Char.IsPlayingAnim(355@, "POOL_WALK")
goto_if_false @POOL2_33191
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_33191
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_33191
if 
  Char.IsPlayingAnim(355@, "POOL_WALK_START")
goto_if_false @POOL2_33284
if 
  not Char.IsHoldingObject(355@, 356@)
goto_if_false @POOL2_33284
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL2_33284
39@ = 0
if and
  Char.IsPlayingAnim(355@, "IDLE_STANCE")
  not is_int_lvar_equal_to_int_lvar 212@ == 355@
goto_if_false @POOL2_33335
39@ = 1

:POOL2_33335
if and
  Char.IsPlayingAnim(355@, "IDLE_STANCE")
  35@ == 6
goto_if_false @POOL2_33378
39@ = 1

:POOL2_33378
if 
  39@ == 1
goto_if_false @POOL2_33557
40@ = Char.GetScriptTaskStatus(355@, 1560)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @POOL2_33557
Char.DropObject(355@, False)
Task.PickUpObject(355@, 356@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)
47@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "POOL_IDLE_STANCE", "POOL", 4.0, True, True, True, False, -1)
Sequence.Close(47@)
if 
  108@ == 0
goto_if_false @POOL2_33552
Char.PerformSequence(355@, 47@)

:POOL2_33552
Sequence.Clear(47@)

:POOL2_33557
return 

:POOL2_33559
366@ = 99999.9
367@ = 99999.9
368@ = 99999.9
360@ = 99999.9
362@ = 0.0
361@ = 99999.9
363@ = 0

:POOL2_33626
if 
  6 > 363@
goto_if_false @POOL2_33868
379@(363@,6f) = 0.0
385@(363@,6f) = 0.0
391@(363@,6f) = 0.0
397@(363@,6f) = 0.0
403@(363@,6f) = 0.0
409@(363@,6f) = 0.0
415@(363@,6f) = 0.0
421@(363@,6f) = 0.0
427@(363@,6f) = 0.0
433@(363@,6f) = 0.0
439@(363@,6f) = 0.0
445@(363@,6f) = 0.0
451@(363@,6f) = 0.0
457@(363@,6f) = 0.0
463@(363@,6f) = 0.0
363@ += 1
goto @POOL2_33626

:POOL2_33868
363@ = 1

:POOL2_33875
if 
  16 > 363@
goto_if_false @POOL2_38146
wait 0
378@ = 0
if 
  Object.DoesExist(82@(363@,16i))
goto_if_false @POOL2_37079
if 
  66@(363@,16i) == 0
goto_if_false @POOL2_37065
if 
  8 > 363@
goto_if_false @POOL2_33978
365@ = 0
goto @POOL2_34017

:POOL2_33978
if 
  363@ == 8
goto_if_false @POOL2_34010
365@ = 2
goto @POOL2_34017

:POOL2_34010
365@ = 1

:POOL2_34017
if or
  is_int_lvar_equal_to_int_lvar 365@ == 228@
  228@ == -1
goto_if_false @POOL2_37051
if and
  228@ == -1
  365@ == 2
goto_if_false @POOL2_34082
378@ = 1
goto @POOL2_37044

:POOL2_34082
if 
  129@ == 1
goto_if_false @POOL2_34239
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL ")
save_int_to_debug_file 363@

:POOL2_34239
364@ = 0

:POOL2_34246
if 
  6 > 364@
goto_if_false @POOL2_37044
if 
  129@ == 1
goto_if_false @POOL2_34419
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("POCKET ")
save_int_to_debug_file 364@

:POOL2_34419
set_lvar_int_to_lvar_int 513@ = 82@(363@,16i)
set_lvar_int_to_lvar_int 514@ = 364@
gosub @POOL2_48622
if 
  129@ == 1
goto_if_false @POOL2_34601
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile(" REQUIRED ANGLE = ")
save_float_to_debug_file 516@

:POOL2_34601
if 
  515@ == 1
goto_if_false @POOL2_36587
set_lvar_int_to_lvar_int 478@ = 82@(363@,16i)
479@ = 0
set_lvar_float_to_lvar_float 480@ = 54@(364@,6f)
set_lvar_float_to_lvar_float 481@ = 60@(364@,6f)
gosub @POOL2_46786
if 
  482@ == 1
goto_if_false @POOL2_34704
470@ = 1.0
goto @POOL2_34750

:POOL2_34704
if 
  is_int_lvar_equal_to_int_lvar 483@ == 365@
goto_if_false @POOL2_34740
470@ = 0.2
goto @POOL2_34750

:POOL2_34740
470@ = 0.1

:POOL2_34750
if 
  129@ == 1
goto_if_false @POOL2_34905
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile(" POCKET_PATH_SCORE = ")
save_float_to_debug_file 470@

:POOL2_34905
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@(363@,16i))
42@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 54@(364@,6f), 60@(364@,6f))
472@ = 2.3
sub_float_lvar_from_float_lvar 472@ -= 42@
472@ /= 2.3
if 
  129@ == 1
goto_if_false @POOL2_35131
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile(" POCKET_DIST_SCORE = ")
save_float_to_debug_file 472@

:POOL2_35131
473@ = 90.0
sub_float_lvar_from_float_lvar 473@ -= 516@
473@ /= 90.0
if 
  129@ == 1
goto_if_false @POOL2_35314
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile(" POCKET_ANGLE_SCORE = ")
save_float_to_debug_file 473@

:POOL2_35314
set_lvar_int_to_lvar_int 478@ = 82@
set_lvar_int_to_lvar_int 479@ = 82@(363@,16i)
set_lvar_float_to_lvar_float 480@ = 523@
set_lvar_float_to_lvar_float 481@ = 524@
gosub @POOL2_46786
if 
  482@ == 1
goto_if_false @POOL2_35392
471@ = 1.0
goto @POOL2_35623

:POOL2_35392
if 
  129@ == 1
goto_if_false @POOL2_35542
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("   (PATH NOT CLEAR FROM CUE BALL TO THIS BALL) ")

:POOL2_35542
if 
  228@ == -1
goto_if_false @POOL2_35577
471@ = 0.05
goto @POOL2_35623

:POOL2_35577
if 
  is_int_lvar_equal_to_int_lvar 483@ == 228@
goto_if_false @POOL2_35613
471@ = 0.05
goto @POOL2_35623

:POOL2_35613
471@ = -1000.0

:POOL2_35623
if 
  129@ == 1
goto_if_false @POOL2_35778
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile(" CUE_PATH_SCORE = ")
save_float_to_debug_file 471@

:POOL2_35778
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@)
42@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 523@, 524@)
if 
  0.3 > 42@
goto_if_false @POOL2_35866
43@ = 0.3
sub_float_lvar_from_float_lvar 43@ -= 42@
42@ = 0.3
add_float_lvar_to_float_lvar 42@ += 43@

:POOL2_35866
42@ += -0.3
43@ = 2.0
sub_float_lvar_from_float_lvar 43@ -= 42@
43@ /= 2.0
set_lvar_float_to_lvar_float 469@ = 43@
if 
  129@ == 1
goto_if_false @POOL2_36067
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile(" CUE_DIST_SCORE = ")
save_float_to_debug_file 469@

:POOL2_36067
470@ *= 1.0
471@ *= 1.0
469@ *= 0.3
472@ *= 0.4
473@ *= 0.8
set_lvar_float_to_lvar_float 474@ = 470@
add_float_lvar_to_float_lvar 474@ += 471@
add_float_lvar_to_float_lvar 474@ += 469@
add_float_lvar_to_float_lvar 474@ += 472@
add_float_lvar_to_float_lvar 474@ += 473@
474@ /= 5.0
switch_start 363@ {numCases} 15 {hasDefaultCase} 0 {defaultLabel} @POOL2_36580 {caseNum1} 1 {caseLabel1} @POOL2_36295 {caseNum2} 2 {caseLabel2} @POOL2_36314 {caseNum3} 3 {caseLabel3} @POOL2_36333 {caseNum4} 4 {caseLabel4} @POOL2_36352 {caseNum5} 5 {caseLabel5} @POOL2_36371 {caseNum6} 6 {caseLabel6} @POOL2_36390 {caseNum7} 7 {caseLabel7} @POOL2_36409
switch_continued 8 {caseLabel1} @POOL2_36428 {caseNum2} 9 {caseLabel2} @POOL2_36447 {caseNum3} 10 {caseLabel3} @POOL2_36466 {caseNum4} 11 {caseLabel4} @POOL2_36485 {caseNum5} 12 {caseLabel5} @POOL2_36504 {caseNum6} 13 {caseLabel6} @POOL2_36523 {caseNum7} 14 {caseLabel7} @POOL2_36542 {caseNum8} 15 {caseLabel8} @POOL2_36561 {caseNum9} -1 {caseLabel9} @POOL2_36580

:POOL2_36295
set_lvar_float_to_lvar_float 379@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36314
set_lvar_float_to_lvar_float 385@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36333
set_lvar_float_to_lvar_float 391@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36352
set_lvar_float_to_lvar_float 397@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36371
set_lvar_float_to_lvar_float 403@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36390
set_lvar_float_to_lvar_float 409@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36409
set_lvar_float_to_lvar_float 415@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36428
set_lvar_float_to_lvar_float 421@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36447
set_lvar_float_to_lvar_float 427@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36466
set_lvar_float_to_lvar_float 433@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36485
set_lvar_float_to_lvar_float 439@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36504
set_lvar_float_to_lvar_float 445@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36523
set_lvar_float_to_lvar_float 451@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36542
set_lvar_float_to_lvar_float 457@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36561
set_lvar_float_to_lvar_float 463@(364@,6f) = 474@
goto @POOL2_36580

:POOL2_36580
goto @POOL2_37030

:POOL2_36587
switch_start 363@ {numCases} 15 {hasDefaultCase} 0 {defaultLabel} @POOL2_37030 {caseNum1} 1 {caseLabel1} @POOL2_36715 {caseNum2} 2 {caseLabel2} @POOL2_36736 {caseNum3} 3 {caseLabel3} @POOL2_36757 {caseNum4} 4 {caseLabel4} @POOL2_36778 {caseNum5} 5 {caseLabel5} @POOL2_36799 {caseNum6} 6 {caseLabel6} @POOL2_36820 {caseNum7} 7 {caseLabel7} @POOL2_36841
switch_continued 8 {caseLabel1} @POOL2_36862 {caseNum2} 9 {caseLabel2} @POOL2_36883 {caseNum3} 10 {caseLabel3} @POOL2_36904 {caseNum4} 11 {caseLabel4} @POOL2_36925 {caseNum5} 12 {caseLabel5} @POOL2_36946 {caseNum6} 13 {caseLabel6} @POOL2_36967 {caseNum7} 14 {caseLabel7} @POOL2_36988 {caseNum8} 15 {caseLabel8} @POOL2_37009 {caseNum9} -1 {caseLabel9} @POOL2_37030

:POOL2_36715
379@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36736
385@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36757
391@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36778
397@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36799
403@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36820
409@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36841
415@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36862
421@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36883
427@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36904
433@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36925
439@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36946
445@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36967
451@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_36988
457@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_37009
463@(364@,6f) = -1.0
goto @POOL2_37030

:POOL2_37030
364@ += 1
goto @POOL2_34246

:POOL2_37044
goto @POOL2_37058

:POOL2_37051
378@ = 1

:POOL2_37058
goto @POOL2_37072

:POOL2_37065
378@ = 1

:POOL2_37072
goto @POOL2_37086

:POOL2_37079
378@ = 1

:POOL2_37086
if 
  378@ == 1
goto_if_false @POOL2_38132
switch_start 363@ {numCases} 15 {hasDefaultCase} 0 {defaultLabel} @POOL2_38132 {caseNum1} 1 {caseLabel1} @POOL2_37232 {caseNum2} 2 {caseLabel2} @POOL2_37292 {caseNum3} 3 {caseLabel3} @POOL2_37352 {caseNum4} 4 {caseLabel4} @POOL2_37412 {caseNum5} 5 {caseLabel5} @POOL2_37472 {caseNum6} 6 {caseLabel6} @POOL2_37532 {caseNum7} 7 {caseLabel7} @POOL2_37592
switch_continued 8 {caseLabel1} @POOL2_37652 {caseNum2} 9 {caseLabel2} @POOL2_37712 {caseNum3} 10 {caseLabel3} @POOL2_37772 {caseNum4} 11 {caseLabel4} @POOL2_37832 {caseNum5} 12 {caseLabel5} @POOL2_37892 {caseNum6} 13 {caseLabel6} @POOL2_37952 {caseNum7} 14 {caseLabel7} @POOL2_38012 {caseNum8} 15 {caseLabel8} @POOL2_38072 {caseNum9} -1 {caseLabel9} @POOL2_38132

:POOL2_37232
364@ = 0

:POOL2_37239
if 
  6 > 364@
goto_if_false @POOL2_37285
379@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37239

:POOL2_37285
goto @POOL2_38132

:POOL2_37292
364@ = 0

:POOL2_37299
if 
  6 > 364@
goto_if_false @POOL2_37345
385@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37299

:POOL2_37345
goto @POOL2_38132

:POOL2_37352
364@ = 0

:POOL2_37359
if 
  6 > 364@
goto_if_false @POOL2_37405
391@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37359

:POOL2_37405
goto @POOL2_38132

:POOL2_37412
364@ = 0

:POOL2_37419
if 
  6 > 364@
goto_if_false @POOL2_37465
397@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37419

:POOL2_37465
goto @POOL2_38132

:POOL2_37472
364@ = 0

:POOL2_37479
if 
  6 > 364@
goto_if_false @POOL2_37525
403@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37479

:POOL2_37525
goto @POOL2_38132

:POOL2_37532
364@ = 0

:POOL2_37539
if 
  6 > 364@
goto_if_false @POOL2_37585
409@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37539

:POOL2_37585
goto @POOL2_38132

:POOL2_37592
364@ = 0

:POOL2_37599
if 
  6 > 364@
goto_if_false @POOL2_37645
415@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37599

:POOL2_37645
goto @POOL2_38132

:POOL2_37652
364@ = 0

:POOL2_37659
if 
  6 > 364@
goto_if_false @POOL2_37705
421@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37659

:POOL2_37705
goto @POOL2_38132

:POOL2_37712
364@ = 0

:POOL2_37719
if 
  6 > 364@
goto_if_false @POOL2_37765
427@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37719

:POOL2_37765
goto @POOL2_38132

:POOL2_37772
364@ = 0

:POOL2_37779
if 
  6 > 364@
goto_if_false @POOL2_37825
433@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37779

:POOL2_37825
goto @POOL2_38132

:POOL2_37832
364@ = 0

:POOL2_37839
if 
  6 > 364@
goto_if_false @POOL2_37885
439@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37839

:POOL2_37885
goto @POOL2_38132

:POOL2_37892
364@ = 0

:POOL2_37899
if 
  6 > 364@
goto_if_false @POOL2_37945
445@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37899

:POOL2_37945
goto @POOL2_38132

:POOL2_37952
364@ = 0

:POOL2_37959
if 
  6 > 364@
goto_if_false @POOL2_38005
451@(364@,6f) = -1.0
364@ += 1
goto @POOL2_37959

:POOL2_38005
goto @POOL2_38132

:POOL2_38012
364@ = 0

:POOL2_38019
if 
  6 > 364@
goto_if_false @POOL2_38065
457@(364@,6f) = -1.0
364@ += 1
goto @POOL2_38019

:POOL2_38065
goto @POOL2_38132

:POOL2_38072
364@ = 0

:POOL2_38079
if 
  6 > 364@
goto_if_false @POOL2_38125
463@(364@,6f) = -1.0
364@ += 1
goto @POOL2_38079

:POOL2_38125
goto @POOL2_38132

:POOL2_38132
363@ += 1
goto @POOL2_33875

:POOL2_38146
475@ = -9999.9
476@ = -1
477@ = -1
363@ = 0
if 
  129@ == 1
goto_if_false @POOL2_38327
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("POOL AI POTENTIAL SHOT SCORES")

:POOL2_38327
if 
  6 > 363@
goto_if_false @POOL2_41651
if 
  129@ == 1
goto_if_false @POOL2_38641
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("POCKET")
save_int_to_debug_file 363@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 01 = ")
save_float_to_debug_file 379@(363@,6f)

:POOL2_38641
if 
  is_float_lvar_greater_than_float_lvar 379@(363@,6f) > 475@
goto_if_false @POOL2_38691
set_lvar_float_to_lvar_float 475@ = 379@(363@,6f)
476@ = 1
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_38691
if 
  129@ == 1
goto_if_false @POOL2_38850
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 02 = ")
save_float_to_debug_file 385@(363@,6f)

:POOL2_38850
if 
  is_float_lvar_greater_than_float_lvar 385@(363@,6f) > 475@
goto_if_false @POOL2_38900
set_lvar_float_to_lvar_float 475@ = 385@(363@,6f)
476@ = 2
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_38900
if 
  129@ == 1
goto_if_false @POOL2_39059
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 03 = ")
save_float_to_debug_file 391@(363@,6f)

:POOL2_39059
if 
  is_float_lvar_greater_than_float_lvar 391@(363@,6f) > 475@
goto_if_false @POOL2_39109
set_lvar_float_to_lvar_float 475@ = 391@(363@,6f)
476@ = 3
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_39109
if 
  129@ == 1
goto_if_false @POOL2_39268
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 04 = ")
save_float_to_debug_file 397@(363@,6f)

:POOL2_39268
if 
  is_float_lvar_greater_than_float_lvar 397@(363@,6f) > 475@
goto_if_false @POOL2_39318
set_lvar_float_to_lvar_float 475@ = 397@(363@,6f)
476@ = 4
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_39318
if 
  129@ == 1
goto_if_false @POOL2_39477
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 05 = ")
save_float_to_debug_file 403@(363@,6f)

:POOL2_39477
if 
  is_float_lvar_greater_than_float_lvar 403@(363@,6f) > 475@
goto_if_false @POOL2_39527
set_lvar_float_to_lvar_float 475@ = 403@(363@,6f)
476@ = 5
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_39527
if 
  129@ == 1
goto_if_false @POOL2_39686
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 06 = ")
save_float_to_debug_file 409@(363@,6f)

:POOL2_39686
if 
  is_float_lvar_greater_than_float_lvar 409@(363@,6f) > 475@
goto_if_false @POOL2_39736
set_lvar_float_to_lvar_float 475@ = 409@(363@,6f)
476@ = 6
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_39736
if 
  129@ == 1
goto_if_false @POOL2_39895
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 07 = ")
save_float_to_debug_file 415@(363@,6f)

:POOL2_39895
if 
  is_float_lvar_greater_than_float_lvar 415@(363@,6f) > 475@
goto_if_false @POOL2_39945
set_lvar_float_to_lvar_float 475@ = 415@(363@,6f)
476@ = 7
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_39945
if 
  129@ == 1
goto_if_false @POOL2_40104
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 08 = ")
save_float_to_debug_file 421@(363@,6f)

:POOL2_40104
if 
  is_float_lvar_greater_than_float_lvar 421@(363@,6f) > 475@
goto_if_false @POOL2_40154
set_lvar_float_to_lvar_float 475@ = 421@(363@,6f)
476@ = 8
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_40154
if 
  129@ == 1
goto_if_false @POOL2_40313
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 09 = ")
save_float_to_debug_file 427@(363@,6f)

:POOL2_40313
if 
  is_float_lvar_greater_than_float_lvar 427@(363@,6f) > 475@
goto_if_false @POOL2_40363
set_lvar_float_to_lvar_float 475@ = 427@(363@,6f)
476@ = 9
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_40363
if 
  129@ == 1
goto_if_false @POOL2_40522
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 10 = ")
save_float_to_debug_file 433@(363@,6f)

:POOL2_40522
if 
  is_float_lvar_greater_than_float_lvar 433@(363@,6f) > 475@
goto_if_false @POOL2_40572
set_lvar_float_to_lvar_float 475@ = 433@(363@,6f)
476@ = 10
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_40572
if 
  129@ == 1
goto_if_false @POOL2_40731
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 11 = ")
save_float_to_debug_file 439@(363@,6f)

:POOL2_40731
if 
  is_float_lvar_greater_than_float_lvar 439@(363@,6f) > 475@
goto_if_false @POOL2_40781
set_lvar_float_to_lvar_float 475@ = 439@(363@,6f)
476@ = 11
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_40781
if 
  129@ == 1
goto_if_false @POOL2_40940
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 12 = ")
save_float_to_debug_file 445@(363@,6f)

:POOL2_40940
if 
  is_float_lvar_greater_than_float_lvar 445@(363@,6f) > 475@
goto_if_false @POOL2_40990
set_lvar_float_to_lvar_float 475@ = 445@(363@,6f)
476@ = 12
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_40990
if 
  129@ == 1
goto_if_false @POOL2_41149
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 13 = ")
save_float_to_debug_file 451@(363@,6f)

:POOL2_41149
if 
  is_float_lvar_greater_than_float_lvar 451@(363@,6f) > 475@
goto_if_false @POOL2_41199
set_lvar_float_to_lvar_float 475@ = 451@(363@,6f)
476@ = 13
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_41199
if 
  129@ == 1
goto_if_false @POOL2_41358
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 14 = ")
save_float_to_debug_file 457@(363@,6f)

:POOL2_41358
if 
  is_float_lvar_greater_than_float_lvar 457@(363@,6f) > 475@
goto_if_false @POOL2_41408
set_lvar_float_to_lvar_float 475@ = 457@(363@,6f)
476@ = 14
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_41408
if 
  129@ == 1
goto_if_false @POOL2_41567
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL 15 = ")
save_float_to_debug_file 463@(363@,6f)

:POOL2_41567
if 
  is_float_lvar_greater_than_float_lvar 463@(363@,6f) > 475@
goto_if_false @POOL2_41617
set_lvar_float_to_lvar_float 475@ = 463@(363@,6f)
476@ = 15
set_lvar_int_to_lvar_int 477@ = 363@

:POOL2_41617
if 
  129@ == 1
goto_if_false @POOL2_41637
save_newline_to_debug_file 

:POOL2_41637
363@ += 1
goto @POOL2_38327

:POOL2_41651
if 
  475@ > 0.0
goto_if_false @POOL2_42072
369@, 370@, 371@ = Object.GetCoordinates(82@(476@,16i))
375@, 376@, 377@ = Object.GetCoordinates(82@)
set_lvar_float_to_lvar_float 372@ = 54@(477@,6f)
sub_float_lvar_from_float_lvar 372@ -= 369@
set_lvar_float_to_lvar_float 373@ = 60@(477@,6f)
sub_float_lvar_from_float_lvar 373@ -= 370@
42@ = Math.GetDistanceBetweenCoords2D(369@, 370@, 54@(477@,6f), 60@(477@,6f))
div_float_lvar_by_float_lvar 372@ /= 42@
div_float_lvar_by_float_lvar 373@ /= 42@
set_lvar_float_to_lvar_float 43@ = 52@
43@ *= -2.0
mult_float_lvar_by_float_lvar 372@ *= 43@
mult_float_lvar_by_float_lvar 373@ *= 43@
set_lvar_float_to_lvar_float 366@ = 369@
add_float_lvar_to_float_lvar 366@ += 372@
set_lvar_float_to_lvar_float 367@ = 370@
add_float_lvar_to_float_lvar 367@ += 373@
set_var_float_to_lvar_float $on_footY = 369@
sub_float_lvar_from_float_var $on_footY -= 366@
set_var_float_to_lvar_float $on_footZ = 370@
sub_float_lvar_from_float_var $on_footZ -= 367@
set_lvar_float_to_lvar_float 169@ = 366@
sub_float_lvar_from_float_lvar 169@ -= 375@
set_lvar_float_to_lvar_float 170@ = 367@
sub_float_lvar_from_float_lvar 170@ -= 376@
362@ = Math.GetAngleBetween2DVectors($on_footY, $on_footZ, 169@, 170@)
set_lvar_float_to_lvar_float 42@ = 362@
42@ /= 90.0
42@ *= 0.25
mult_float_var_by_float_lvar $on_footY *= 42@
mult_float_var_by_float_lvar $on_footZ *= 42@
add_float_var_to_float_lvar 366@ += $on_footY
add_float_var_to_float_lvar 367@ += $on_footZ
42@ = Math.GetDistanceBetweenCoords2D(375@, 376@, 366@, 367@)
43@ = Math.GetDistanceBetweenCoords2D(369@, 370@, 366@, 367@)
set_lvar_float_to_lvar_float 368@ = 42@
add_float_lvar_to_float_lvar 368@ += 43@
42@ = Math.RandomFloatInRange(2.0, 6.0)
mult_float_lvar_by_float_lvar 368@ *= 42@
goto @POOL2_46559

:POOL2_42072
if 
  129@ == 1
goto_if_false @POOL2_42222
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("HIT AND HOPE")

:POOL2_42222
363@ = 1

:POOL2_42229
if 
  16 > 363@
goto_if_false @POOL2_42828
wait 0
if 
  Object.DoesExist(82@(363@,16i))
goto_if_false @POOL2_42814
if 
  66@(363@,16i) == 0
goto_if_false @POOL2_42814
if 
  363@ == 0
goto_if_false @POOL2_42325
365@ = 3
goto @POOL2_42396

:POOL2_42325
if 
  8 > 363@
goto_if_false @POOL2_42357
365@ = 0
goto @POOL2_42396

:POOL2_42357
if 
  363@ == 8
goto_if_false @POOL2_42389
365@ = 2
goto @POOL2_42396

:POOL2_42389
365@ = 1

:POOL2_42396
if or
  is_int_lvar_equal_to_int_lvar 365@ == 228@
  228@ == -1
goto_if_false @POOL2_42814
if and
  228@ == 0
  365@ == 2
goto_if_false @POOL2_42454
goto @POOL2_42814

:POOL2_42454
set_lvar_int_to_lvar_int 525@ = 82@
set_lvar_int_to_lvar_int 526@ = 82@(363@,16i)
gosub @POOL2_48942
if 
  527@ <> 0
goto_if_false @POOL2_42814
if 
  527@ == 1
goto_if_false @POOL2_42540
set_lvar_float_to_lvar_float 366@ = 536@
set_lvar_float_to_lvar_float 367@ = 537@
goto @POOL2_42745

:POOL2_42540
if 
  527@ == 2
goto_if_false @POOL2_42581
set_lvar_float_to_lvar_float 366@ = 538@
set_lvar_float_to_lvar_float 367@ = 539@
goto @POOL2_42745

:POOL2_42581
set_var_float_to_lvar_float $on_footY = 538@
sub_float_lvar_from_float_var $on_footY -= 536@
set_var_float_to_lvar_float $on_footZ = 539@
sub_float_lvar_from_float_var $on_footZ -= 537@
42@ = Math.GetDistanceBetweenCoords2D(536@, 537@, 538@, 539@)
div_float_var_by_float_lvar $on_footY /= 42@
div_float_var_by_float_lvar $on_footZ /= 42@
set_lvar_float_to_lvar_float 42@ = 52@
42@ *= 2.0
42@ *= 0.8
42@ *= 2.0
43@ = Math.RandomFloatInRange(0.0, 42@)
mult_float_var_by_float_lvar $on_footY *= 43@
mult_float_var_by_float_lvar $on_footZ *= 43@
set_lvar_float_to_lvar_float 366@ = 536@
add_float_var_to_float_lvar 366@ += $on_footY
set_lvar_float_to_lvar_float 367@ = 537@
add_float_var_to_float_lvar 367@ += $on_footZ

:POOL2_42745
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@)
42@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 366@, 367@)
43@ = Math.RandomFloatInRange(2.0, 5.0)
set_lvar_float_to_lvar_float 368@ = 42@
mult_float_lvar_by_float_lvar 368@ *= 43@
363@ = 16

:POOL2_42814
363@ += 1
goto @POOL2_42229

:POOL2_42828
if and
  366@ == 99999.9
  367@ == 99999.9
goto_if_false @POOL2_44856
if 
  129@ == 1
goto_if_false @POOL2_43009
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BOUNCE OFF CUSHION")

:POOL2_43009
363@ = 1

:POOL2_43016
if 
  16 > 363@
goto_if_false @POOL2_44856
wait 0
if 
  Object.DoesExist(82@(363@,16i))
goto_if_false @POOL2_44842
if 
  66@(363@,16i) == 0
goto_if_false @POOL2_44842
if 
  363@ == 0
goto_if_false @POOL2_43112
365@ = 3
goto @POOL2_43183

:POOL2_43112
if 
  8 > 363@
goto_if_false @POOL2_43144
365@ = 0
goto @POOL2_43183

:POOL2_43144
if 
  363@ == 8
goto_if_false @POOL2_43176
365@ = 2
goto @POOL2_43183

:POOL2_43176
365@ = 1

:POOL2_43183
if or
  is_int_lvar_equal_to_int_lvar 365@ == 228@
  228@ == -1
goto_if_false @POOL2_44842
if and
  228@ == -1
  365@ == 2
goto_if_false @POOL2_43241
goto @POOL2_44842

:POOL2_43241
369@, 370@, 371@ = Object.GetCoordinates(82@)
372@, 373@, 374@ = Object.GetCoordinates(82@(363@,16i))
if 
  129@ == 1
goto_if_false @POOL2_43423
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("  CUSHION 1 DATA = ")

:POOL2_43423
set_lvar_float_to_lvar_float 375@ = 369@
add_float_lvar_to_float_lvar 375@ += 372@
375@ /= 2.0
set_lvar_float_to_lvar_float 376@ = 100@
set_lvar_float_to_lvar_float 540@ = 375@
set_lvar_float_to_lvar_float 541@ = 376@
gosub @POOL2_49545
if 
  542@ == 0
goto_if_false @POOL2_43655
set_lvar_int_to_lvar_int 546@ = 82@
set_lvar_int_to_lvar_int 547@ = 82@(363@,16i)
set_lvar_float_to_lvar_float 548@ = 375@
set_lvar_float_to_lvar_float 549@ = 376@
gosub @POOL2_49801
if 
  550@ == 1
goto_if_false @POOL2_43655
set_lvar_float_to_lvar_float 366@ = 375@
set_lvar_float_to_lvar_float 367@ = 376@
42@ = Math.GetDistanceBetweenCoords2D(369@, 370@, 375@, 376@)
43@ = Math.GetDistanceBetweenCoords2D(372@, 373@, 375@, 376@)
set_lvar_float_to_lvar_float 368@ = 42@
add_float_lvar_to_float_lvar 368@ += 43@
42@ = Math.RandomFloatInRange(3.0, 6.0)
mult_float_lvar_by_float_lvar 368@ *= 42@
363@ = 16

:POOL2_43655
if and
  366@ == 99999.9
  367@ == 99999.9
goto_if_false @POOL2_44042
if 
  129@ == 1
goto_if_false @POOL2_43836
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("  CUSHION 2 DATA = ")

:POOL2_43836
set_lvar_float_to_lvar_float 376@ = 101@
set_lvar_float_to_lvar_float 540@ = 375@
set_lvar_float_to_lvar_float 541@ = 376@
gosub @POOL2_49545
if 
  542@ == 0
goto_if_false @POOL2_44042
set_lvar_int_to_lvar_int 546@ = 82@
set_lvar_int_to_lvar_int 547@ = 82@(363@,16i)
set_lvar_float_to_lvar_float 548@ = 375@
set_lvar_float_to_lvar_float 549@ = 376@
gosub @POOL2_49801
if 
  550@ == 1
goto_if_false @POOL2_44042
set_lvar_float_to_lvar_float 366@ = 375@
set_lvar_float_to_lvar_float 367@ = 376@
42@ = Math.GetDistanceBetweenCoords2D(369@, 370@, 375@, 376@)
43@ = Math.GetDistanceBetweenCoords2D(372@, 373@, 375@, 376@)
set_lvar_float_to_lvar_float 368@ = 42@
add_float_lvar_to_float_lvar 368@ += 43@
42@ = Math.RandomFloatInRange(3.0, 6.0)
mult_float_lvar_by_float_lvar 368@ *= 42@
363@ = 16

:POOL2_44042
if and
  366@ == 99999.9
  367@ == 99999.9
goto_if_false @POOL2_44455
if 
  129@ == 1
goto_if_false @POOL2_44223
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("  CUSHION 3 DATA = ")

:POOL2_44223
set_lvar_float_to_lvar_float 376@ = 370@
add_float_lvar_to_float_lvar 376@ += 373@
376@ /= 2.0
set_lvar_float_to_lvar_float 375@ = 98@
set_lvar_float_to_lvar_float 540@ = 375@
set_lvar_float_to_lvar_float 541@ = 376@
gosub @POOL2_49545
if 
  542@ == 0
goto_if_false @POOL2_44455
set_lvar_int_to_lvar_int 546@ = 82@
set_lvar_int_to_lvar_int 547@ = 82@(363@,16i)
set_lvar_float_to_lvar_float 548@ = 375@
set_lvar_float_to_lvar_float 549@ = 376@
gosub @POOL2_49801
if 
  550@ == 1
goto_if_false @POOL2_44455
set_lvar_float_to_lvar_float 366@ = 375@
set_lvar_float_to_lvar_float 367@ = 376@
42@ = Math.GetDistanceBetweenCoords2D(369@, 370@, 375@, 376@)
43@ = Math.GetDistanceBetweenCoords2D(372@, 373@, 375@, 376@)
set_lvar_float_to_lvar_float 368@ = 42@
add_float_lvar_to_float_lvar 368@ += 43@
42@ = Math.RandomFloatInRange(3.0, 6.0)
mult_float_lvar_by_float_lvar 368@ *= 42@
363@ = 16

:POOL2_44455
if and
  366@ == 99999.9
  367@ == 99999.9
goto_if_false @POOL2_44842
if 
  129@ == 1
goto_if_false @POOL2_44636
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("  CUSHION 4 DATA = ")

:POOL2_44636
set_lvar_float_to_lvar_float 375@ = 99@
set_lvar_float_to_lvar_float 540@ = 375@
set_lvar_float_to_lvar_float 541@ = 376@
gosub @POOL2_49545
if 
  542@ == 0
goto_if_false @POOL2_44842
set_lvar_int_to_lvar_int 546@ = 82@
set_lvar_int_to_lvar_int 547@ = 82@(363@,16i)
set_lvar_float_to_lvar_float 548@ = 375@
set_lvar_float_to_lvar_float 549@ = 376@
gosub @POOL2_49801
if 
  550@ == 1
goto_if_false @POOL2_44842
set_lvar_float_to_lvar_float 366@ = 375@
set_lvar_float_to_lvar_float 367@ = 376@
42@ = Math.GetDistanceBetweenCoords2D(369@, 370@, 375@, 376@)
43@ = Math.GetDistanceBetweenCoords2D(372@, 373@, 375@, 376@)
set_lvar_float_to_lvar_float 368@ = 42@
add_float_lvar_to_float_lvar 368@ += 43@
42@ = Math.RandomFloatInRange(3.0, 6.0)
mult_float_lvar_by_float_lvar 368@ *= 42@
363@ = 16

:POOL2_44842
363@ += 1
goto @POOL2_43016

:POOL2_44856
if and
  366@ == 99999.9
  367@ == 99999.9
goto_if_false @POOL2_46328
if 
  129@ == 1
goto_if_false @POOL2_45037
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("SNOOKER - BOUNCE 2")

:POOL2_45037
363@ = 1

:POOL2_45044
if 
  16 > 363@
goto_if_false @POOL2_46328
wait 0
if 
  Object.DoesExist(82@(363@,16i))
goto_if_false @POOL2_46314
if 
  66@(363@,16i) == 0
goto_if_false @POOL2_46314
if 
  363@ == 0
goto_if_false @POOL2_45140
365@ = 3
goto @POOL2_45211

:POOL2_45140
if 
  8 > 363@
goto_if_false @POOL2_45172
365@ = 0
goto @POOL2_45211

:POOL2_45172
if 
  363@ == 8
goto_if_false @POOL2_45204
365@ = 2
goto @POOL2_45211

:POOL2_45204
365@ = 1

:POOL2_45211
if or
  is_int_lvar_equal_to_int_lvar 365@ == 228@
  228@ == -1
goto_if_false @POOL2_46314
if and
  228@ == -1
  365@ == 2
goto_if_false @POOL2_45269
goto @POOL2_46314

:POOL2_45269
369@, 370@, 371@ = Object.GetCoordinates(82@)
372@, 373@, 374@ = Object.GetCoordinates(82@(363@,16i))
set_lvar_float_to_lvar_float 375@ = 369@
add_float_lvar_to_float_lvar 375@ += 372@
375@ /= 2.0
set_lvar_float_to_lvar_float 376@ = 100@
set_lvar_float_to_lvar_float 540@ = 375@
set_lvar_float_to_lvar_float 541@ = 376@
gosub @POOL2_49545
if 
  542@ == 0
goto_if_false @POOL2_45544
set_lvar_int_to_lvar_int 551@ = 82@
set_lvar_float_to_lvar_float 552@ = 375@
set_lvar_float_to_lvar_float 553@ = 376@
gosub @POOL2_50321
if 
  554@ == 1
goto_if_false @POOL2_45544
set_lvar_float_to_lvar_float 366@ = 375@
42@ = Math.RandomFloatInRange(-0.05, 0.05)
add_float_lvar_to_float_lvar 366@ += 42@
set_lvar_float_to_lvar_float 367@ = 376@
42@ = Math.GetDistanceBetweenCoords2D(369@, 370@, 375@, 376@)
43@ = Math.GetDistanceBetweenCoords2D(372@, 373@, 375@, 376@)
set_lvar_float_to_lvar_float 368@ = 42@
add_float_lvar_to_float_lvar 368@ += 43@
42@ = Math.RandomFloatInRange(5.0, 8.0)
mult_float_lvar_by_float_lvar 368@ *= 42@
363@ = 16

:POOL2_45544
if and
  366@ == 99999.9
  367@ == 99999.9
goto_if_false @POOL2_45792
set_lvar_float_to_lvar_float 376@ = 101@
set_lvar_float_to_lvar_float 540@ = 375@
set_lvar_float_to_lvar_float 541@ = 376@
gosub @POOL2_49545
if 
  542@ == 0
goto_if_false @POOL2_45792
set_lvar_int_to_lvar_int 551@ = 82@
set_lvar_float_to_lvar_float 552@ = 375@
set_lvar_float_to_lvar_float 553@ = 376@
gosub @POOL2_50321
if 
  554@ == 1
goto_if_false @POOL2_45792
set_lvar_float_to_lvar_float 366@ = 375@
42@ = Math.RandomFloatInRange(-0.05, 0.05)
add_float_lvar_to_float_lvar 366@ += 42@
set_lvar_float_to_lvar_float 367@ = 376@
42@ = Math.GetDistanceBetweenCoords2D(369@, 370@, 375@, 376@)
43@ = Math.GetDistanceBetweenCoords2D(372@, 373@, 375@, 376@)
set_lvar_float_to_lvar_float 368@ = 42@
add_float_lvar_to_float_lvar 368@ += 43@
42@ = Math.RandomFloatInRange(5.0, 8.0)
mult_float_lvar_by_float_lvar 368@ *= 42@
363@ = 16

:POOL2_45792
if and
  366@ == 99999.9
  367@ == 99999.9
goto_if_false @POOL2_46066
set_lvar_float_to_lvar_float 376@ = 370@
add_float_lvar_to_float_lvar 376@ += 373@
376@ /= 2.0
set_lvar_float_to_lvar_float 375@ = 98@
set_lvar_float_to_lvar_float 540@ = 375@
set_lvar_float_to_lvar_float 541@ = 376@
gosub @POOL2_49545
if 
  542@ == 0
goto_if_false @POOL2_46066
set_lvar_int_to_lvar_int 551@ = 82@
set_lvar_float_to_lvar_float 552@ = 375@
set_lvar_float_to_lvar_float 553@ = 376@
gosub @POOL2_50321
if 
  554@ == 1
goto_if_false @POOL2_46066
set_lvar_float_to_lvar_float 366@ = 375@
set_lvar_float_to_lvar_float 367@ = 376@
42@ = Math.RandomFloatInRange(-0.05, 0.05)
add_float_lvar_to_float_lvar 367@ += 42@
42@ = Math.GetDistanceBetweenCoords2D(369@, 370@, 375@, 376@)
43@ = Math.GetDistanceBetweenCoords2D(372@, 373@, 375@, 376@)
set_lvar_float_to_lvar_float 368@ = 42@
add_float_lvar_to_float_lvar 368@ += 43@
42@ = Math.RandomFloatInRange(5.0, 8.0)
mult_float_lvar_by_float_lvar 368@ *= 42@
363@ = 16

:POOL2_46066
if and
  366@ == 99999.9
  367@ == 99999.9
goto_if_false @POOL2_46314
set_lvar_float_to_lvar_float 375@ = 99@
set_lvar_float_to_lvar_float 540@ = 375@
set_lvar_float_to_lvar_float 541@ = 376@
gosub @POOL2_49545
if 
  542@ == 0
goto_if_false @POOL2_46314
set_lvar_int_to_lvar_int 551@ = 82@
set_lvar_float_to_lvar_float 552@ = 375@
set_lvar_float_to_lvar_float 553@ = 376@
gosub @POOL2_50321
if 
  554@ == 1
goto_if_false @POOL2_46314
set_lvar_float_to_lvar_float 366@ = 375@
set_lvar_float_to_lvar_float 367@ = 376@
42@ = Math.RandomFloatInRange(-0.05, 0.05)
add_float_lvar_to_float_lvar 367@ += 42@
42@ = Math.GetDistanceBetweenCoords2D(369@, 370@, 375@, 376@)
43@ = Math.GetDistanceBetweenCoords2D(372@, 373@, 375@, 376@)
set_lvar_float_to_lvar_float 368@ = 42@
add_float_lvar_to_float_lvar 368@ += 43@
42@ = Math.RandomFloatInRange(5.0, 8.0)
mult_float_lvar_by_float_lvar 368@ *= 42@
363@ = 16

:POOL2_46314
363@ += 1
goto @POOL2_45044

:POOL2_46328
if and
  366@ == 99999.9
  367@ == 99999.9
goto_if_false @POOL2_46559
if 
  129@ == 1
goto_if_false @POOL2_46509
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("SNOOKER - LAST RESORT")

:POOL2_46509
360@ = Math.RandomFloatInRange(0.0, 360.0)
361@ = Math.RandomFloatInRange(4.0, 8.0)
366@ = 0.0
367@ = 0.0

:POOL2_46559
if and
  360@ == 99999.9
  361@ == 99999.9
goto_if_false @POOL2_46722
369@, 370@, 371@ = Object.GetCoordinates(82@)
set_lvar_float_to_lvar_float 372@ = 366@
sub_float_lvar_from_float_lvar 372@ -= 369@
set_lvar_float_to_lvar_float 373@ = 367@
sub_float_lvar_from_float_lvar 373@ -= 370@
360@ = Math.GetHeadingFromVector2D(372@, 373@)
set_lvar_float_to_lvar_float 361@ = 368@
361@ *= 1.0
if 
  90.0 > 362@
goto_if_false @POOL2_46722
set_lvar_float_to_lvar_float 42@ = 362@
42@ /= 90.0
42@ *= 2.0
add_float_lvar_to_float_lvar 361@ += 42@

:POOL2_46722
if 
  0.7 > 361@
goto_if_false @POOL2_46753
361@ = 0.7

:POOL2_46753
if 
  361@ > 4.0
goto_if_false @POOL2_46784
361@ = 4.0

:POOL2_46784
return 

:POOL2_46786
goto @POOL2_46837
478@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
479@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)

:POOL2_46837
482@ = 1
501@ = -1
if 
  Object.DoesExist(478@)
goto_if_false @POOL2_46930
484@, 485@, $in_carX = Object.GetCoordinates(478@)
set_lvar_float_to_lvar_float 488@ = 480@
sub_float_lvar_from_float_lvar 488@ -= 484@
set_lvar_float_to_lvar_float 489@ = 481@
sub_float_lvar_from_float_lvar 489@ -= 485@
494@ = Math.GetDistanceBetweenCoords2D(484@, 485@, 480@, 481@)

:POOL2_46930
wait 0
if or
  228@ == -1
  228@ == 2
  228@ == 1
goto_if_false @POOL2_47019
498@ = 1

:POOL2_46973
if 
  16 > 498@
goto_if_false @POOL2_47012
gosub @POOL2_47114
498@ += 1
goto @POOL2_46973

:POOL2_47012
goto @POOL2_47105

:POOL2_47019
500@ = 1

:POOL2_47026
if 
  16 > 500@
goto_if_false @POOL2_47105
set_lvar_int_to_lvar_int 498@ = 500@
498@ += 7
if 
  498@ > 15
goto_if_false @POOL2_47084
498@ += -15

:POOL2_47084
gosub @POOL2_47114
500@ += 1
goto @POOL2_47026

:POOL2_47105
479@ = 0
return 

:POOL2_47114
if 
  Object.DoesExist(82@(498@,16i))
goto_if_false @POOL2_48034
if 
  66@(498@,16i) == 0
goto_if_false @POOL2_48034
if 
  not is_int_lvar_equal_to_int_lvar 82@(498@,16i) == 478@
goto_if_false @POOL2_48034
499@ = 0
if 
  Object.DoesExist(479@)
goto_if_false @POOL2_47232
if 
  is_int_lvar_equal_to_int_lvar 82@(498@,16i) == 479@
goto_if_false @POOL2_47232
499@ = 1

:POOL2_47232
if 
  499@ == 0
goto_if_false @POOL2_48034
486@, 487@, $in_carX = Object.GetCoordinates(82@(498@,16i))
set_lvar_float_to_lvar_float 490@ = 486@
sub_float_lvar_from_float_lvar 490@ -= 484@
set_lvar_float_to_lvar_float 491@ = 487@
sub_float_lvar_from_float_lvar 491@ -= 485@
495@ = Math.GetDistanceBetweenCoords2D(484@, 485@, 486@, 487@)
42@ = Math.GetAngleBetween2DVectors(488@, 489@, 490@, 491@)
496@ = Math.GetDistanceBetweenCoords2D(486@, 487@, 480@, 481@)
if 
  is_float_lvar_greater_than_float_lvar 53@ > 496@
goto_if_false @POOL2_47664
if 
  498@ == 0
goto_if_false @POOL2_47402
483@ = 3
goto @POOL2_47473

:POOL2_47402
if 
  8 > 498@
goto_if_false @POOL2_47434
483@ = 0
goto @POOL2_47473

:POOL2_47434
if 
  498@ == 8
goto_if_false @POOL2_47466
483@ = 2
goto @POOL2_47473

:POOL2_47466
483@ = 1

:POOL2_47473
if 
  129@ == 1
goto_if_false @POOL2_47628
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("    BALL OBSTRUCTING PATH (TOO CLOSE TO TARGET DESTINATION) = ")
save_int_to_debug_file 498@

:POOL2_47628
set_lvar_int_to_lvar_int 501@ = 498@
482@ = 0
498@ = 16
500@ = 16
goto @POOL2_48034

:POOL2_47664
if 
  90.0 >= 42@
goto_if_false @POOL2_48034
if 
  is_float_lvar_greater_than_float_lvar 494@ > 495@
goto_if_false @POOL2_48034
497@ = Math.Sin(42@)
set_lvar_float_to_lvar_float 42@ = 497@
mult_float_lvar_by_float_lvar 42@ *= 495@
if 
  is_float_lvar_greater_than_float_lvar 53@ > 42@
goto_if_false @POOL2_48034
if 
  498@ == 0
goto_if_false @POOL2_47779
483@ = 3
goto @POOL2_47850

:POOL2_47779
if 
  8 > 498@
goto_if_false @POOL2_47811
483@ = 0
goto @POOL2_47850

:POOL2_47811
if 
  498@ == 8
goto_if_false @POOL2_47843
483@ = 2
goto @POOL2_47850

:POOL2_47843
483@ = 1

:POOL2_47850
if 
  129@ == 1
goto_if_false @POOL2_48005
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("    BALL OBSTRUCTING PATH (OVERLAPPING PATH) = ")
save_int_to_debug_file 498@

:POOL2_48005
set_lvar_int_to_lvar_int 501@ = 498@
482@ = 0
498@ = 16
500@ = 16

:POOL2_48034
return 

:POOL2_48036
482@ = 1
501@ = -1
set_lvar_float_to_lvar_float 488@ = 480@
sub_float_lvar_from_float_lvar 488@ -= 484@
set_lvar_float_to_lvar_float 489@ = 481@
sub_float_lvar_from_float_lvar 489@ -= 485@
if or
  is_float_lvar_greater_than_float_lvar 98@ > 480@
  is_float_lvar_greater_than_float_lvar 480@ > 99@
  is_float_lvar_greater_than_float_lvar 100@ > 481@
  is_float_lvar_greater_than_float_lvar 481@ > 101@
goto_if_false @POOL2_48597
502@ = -99999.9
503@ = -99999.9
39@ = 0
if and
  502@, 503@ = Math.Get2DLinesIntersectPoint(484@, 485@, 480@, 481@, 98@, 100@, 98@, 101@)
  512@ <> 1
goto_if_false @POOL2_48216
39@ = 1
goto @POOL2_48401

:POOL2_48216
if and
  502@, 503@ = Math.Get2DLinesIntersectPoint(484@, 485@, 480@, 481@, 99@, 100@, 99@, 101@)
  512@ <> 2
goto_if_false @POOL2_48280
39@ = 2
goto @POOL2_48401

:POOL2_48280
if and
  502@, 503@ = Math.Get2DLinesIntersectPoint(484@, 485@, 480@, 481@, 98@, 100@, 99@, 100@)
  512@ <> 3
goto_if_false @POOL2_48344
39@ = 3
goto @POOL2_48401

:POOL2_48344
if and
  502@, 503@ = Math.Get2DLinesIntersectPoint(484@, 485@, 480@, 481@, 98@, 101@, 99@, 101@)
  512@ <> 4
goto_if_false @POOL2_48401
39@ = 4

:POOL2_48401
42@ = Math.GetDistanceBetweenCoords2D(480@, 481@, 484@, 485@)
if 
  42@ > 0.0
goto_if_false @POOL2_48455
div_float_lvar_by_float_lvar 488@ /= 42@
div_float_lvar_by_float_lvar 489@ /= 42@

:POOL2_48455
if or
  39@ == 1
  39@ == 2
goto_if_false @POOL2_48506
set_lvar_float_to_lvar_float 504@ = 488@
504@ *= -1.0
set_lvar_float_to_lvar_float 505@ = 489@

:POOL2_48506
if or
  39@ == 3
  39@ == 4
goto_if_false @POOL2_48557
set_lvar_float_to_lvar_float 504@ = 488@
set_lvar_float_to_lvar_float 505@ = 489@
505@ *= -1.0

:POOL2_48557
if 
  39@ <> 0
goto_if_false @POOL2_48583
set_lvar_int_to_lvar_int 512@ = 39@

:POOL2_48583
482@ = 0
goto @POOL2_48620

:POOL2_48597
set_lvar_float_to_lvar_float 502@ = 480@
set_lvar_float_to_lvar_float 503@ = 481@
482@ = 1

:POOL2_48620
return 

:POOL2_48622
if 
  Object.DoesExist(513@)
goto_if_false @POOL2_48692
523@, 524@, $in_carX = Object.GetCoordinates(513@)
set_lvar_float_to_lvar_float 517@ = 54@(514@,6f)
sub_float_lvar_from_float_lvar 517@ -= 523@
set_lvar_float_to_lvar_float 518@ = 60@(514@,6f)
sub_float_lvar_from_float_lvar 518@ -= 524@

:POOL2_48692
42@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 54@(514@,6f), 60@(514@,6f))
set_lvar_float_to_lvar_float 519@ = 517@
div_float_lvar_by_float_lvar 519@ /= 42@
set_lvar_float_to_lvar_float 520@ = 518@
div_float_lvar_by_float_lvar 520@ /= 42@
519@ *= -1.0
520@ *= -1.0
set_lvar_float_to_lvar_float 42@ = 52@
42@ *= 2.0
mult_float_lvar_by_float_lvar 519@ *= 42@
mult_float_lvar_by_float_lvar 520@ *= 42@
add_float_lvar_to_float_lvar 523@ += 519@
add_float_lvar_to_float_lvar 524@ += 520@
if 
  Object.DoesExist(82@)
goto_if_false @POOL2_48881
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@)
set_lvar_float_to_lvar_float 521@ = 523@
sub_float_var_from_float_lvar 521@ -= $on_footY
set_lvar_float_to_lvar_float 522@ = 524@
sub_float_var_from_float_lvar 522@ -= $on_footZ

:POOL2_48881
516@ = Math.GetAngleBetween2DVectors(517@, 518@, 521@, 522@)
if 
  90.0 > 516@
goto_if_false @POOL2_48933
515@ = 1
goto @POOL2_48940

:POOL2_48933
515@ = 0

:POOL2_48940
return 

:POOL2_48942
527@ = 0
528@ = 0
529@ = 0
if and
  Object.DoesExist(525@)
  Object.DoesExist(526@)
goto_if_false @POOL2_49543
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(525@)
534@, 535@, $in_carX = Object.GetCoordinates(526@)
set_lvar_float_to_lvar_float 530@ = 534@
sub_float_var_from_float_lvar 530@ -= $on_footY
set_lvar_float_to_lvar_float 531@ = 535@
sub_float_var_from_float_lvar 531@ -= $on_footZ
42@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 534@, 535@)
div_float_lvar_by_float_lvar 530@ /= 42@
div_float_lvar_by_float_lvar 531@ /= 42@
set_lvar_float_to_lvar_float 532@ = 531@
set_lvar_float_to_lvar_float 533@ = 530@
533@ *= -1.0
set_lvar_float_to_lvar_float 42@ = 52@
42@ *= 2.0
42@ *= 0.8
set_lvar_float_to_lvar_float 43@ = 532@
mult_float_lvar_by_float_lvar 43@ *= 42@
set_lvar_float_to_lvar_float 536@ = 534@
add_float_lvar_to_float_lvar 536@ += 43@
set_lvar_float_to_lvar_float 43@ = 533@
mult_float_lvar_by_float_lvar 43@ *= 42@
set_lvar_float_to_lvar_float 537@ = 535@
add_float_lvar_to_float_lvar 537@ += 43@
set_lvar_int_to_lvar_int 478@ = 525@
set_lvar_int_to_lvar_int 479@ = 526@
set_lvar_float_to_lvar_float 480@ = 536@
set_lvar_float_to_lvar_float 481@ = 537@
gosub @POOL2_46786
if 
  482@ == 1
goto_if_false @POOL2_49259
528@ = 1

:POOL2_49259
set_lvar_float_to_lvar_float 42@ = 52@
42@ *= 2.0
42@ *= -0.8
set_lvar_float_to_lvar_float 43@ = 532@
mult_float_lvar_by_float_lvar 43@ *= 42@
set_lvar_float_to_lvar_float 538@ = 534@
add_float_lvar_to_float_lvar 538@ += 43@
set_lvar_float_to_lvar_float 43@ = 533@
mult_float_lvar_by_float_lvar 43@ *= 42@
set_lvar_float_to_lvar_float 539@ = 535@
add_float_lvar_to_float_lvar 539@ += 43@
set_lvar_int_to_lvar_int 478@ = 525@
set_lvar_int_to_lvar_int 479@ = 526@
set_lvar_float_to_lvar_float 480@ = 538@
set_lvar_float_to_lvar_float 481@ = 539@
gosub @POOL2_46786
if 
  482@ == 1
goto_if_false @POOL2_49415
529@ = 1

:POOL2_49415
if and
  528@ == 0
  529@ == 0
goto_if_false @POOL2_49447
527@ = 0

:POOL2_49447
if and
  528@ == 1
  529@ == 0
goto_if_false @POOL2_49479
527@ = 1

:POOL2_49479
if and
  528@ == 0
  529@ == 1
goto_if_false @POOL2_49511
527@ = 2

:POOL2_49511
if and
  528@ == 1
  529@ == 1
goto_if_false @POOL2_49543
527@ = 3

:POOL2_49543
return 

:POOL2_49545
542@ = 0
544@ = 2.5
mult_float_lvar_by_float_lvar 544@ *= 52@
545@ = 0

:POOL2_49577
if 
  6 > 545@
goto_if_false @POOL2_49799
543@ = Math.GetDistanceBetweenCoords2D(540@, 541@, 54@(545@,6f), 60@(545@,6f))
if 
  is_float_lvar_greater_than_float_lvar 544@ > 543@
goto_if_false @POOL2_49785
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("    POINT LIES ON POCKET")
542@ = 1
545@ = 6

:POOL2_49785
545@ += 1
goto @POOL2_49577

:POOL2_49799
return 

:POOL2_49801
550@ = 0
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("       BOUNCE_SHOT_PATH_CLEAR DATA = ")
set_lvar_int_to_lvar_int 478@ = 546@
479@ = 0
set_lvar_float_to_lvar_float 480@ = 548@
set_lvar_float_to_lvar_float 481@ = 549@
gosub @POOL2_46786
if 
  482@ == 1
goto_if_false @POOL2_50319
Debugger.SaveStringToDebugFile("1ST PATH CLEAR ")
set_lvar_int_to_lvar_int 478@ = 547@
479@ = 0
set_lvar_float_to_lvar_float 480@ = 548@
set_lvar_float_to_lvar_float 481@ = 549@
gosub @POOL2_46786
if 
  482@ == 1
goto_if_false @POOL2_50319
Debugger.SaveStringToDebugFile("2ND PATH CLEAR ")
550@ = 1

:POOL2_50319
return 

:POOL2_50321
554@ = 0
set_lvar_int_to_lvar_int 478@ = 546@
479@ = 0
set_lvar_float_to_lvar_float 480@ = 548@
set_lvar_float_to_lvar_float 481@ = 549@
gosub @POOL2_46786
if 
  482@ == 1
goto_if_false @POOL2_50391
554@ = 1

:POOL2_50391
return 

:POOL2_50393
set_lvar_float_to_lvar_float 562@ = 52@
562@ *= 2.0
set_lvar_float_to_lvar_float 559@ = 52@
559@ *= -1.0
set_lvar_float_to_lvar_float 563@ = 562@
563@ *= -1.0
set_lvar_float_to_lvar_float 42@ = 562@
mult_float_lvar_by_float_lvar 42@ *= 562@
set_lvar_float_to_lvar_float 43@ = 52@
mult_float_lvar_by_float_lvar 43@ *= 52@
set_lvar_float_to_lvar_float 560@ = 42@
sub_float_lvar_from_float_lvar 560@ -= 43@
560@ = Math.Sqrt(560@)
set_lvar_float_to_lvar_float 561@ = 560@
561@ *= -1.0
564@ = 1

:POOL2_50528
if 
  15 > 564@
goto_if_false @POOL2_50571
Object.FreezePosition(82@(564@,16i), False)
564@ += 1
goto @POOL2_50528

:POOL2_50571
Object.SetCoordinates(83@, 555@, 556@, 557@)
Object.SetHeading(83@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(83@, 559@, 561@, 0.0)
Object.SetCoordinates(91@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(91@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(91@, 562@, 0.0, 0.0)
Object.SetCoordinates(85@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(85@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(91@, 559@, 561@, 0.0)
Object.SetCoordinates(89@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(89@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(89@, 562@, 0.0, 0.0)
Object.SetCoordinates(90@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(90@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(90@, 562@, 0.0, 0.0)
Object.SetCoordinates(92@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(92@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(89@, 559@, 561@, 0.0)
Object.SetCoordinates(93@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(93@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(93@, 562@, 0.0, 0.0)
Object.SetCoordinates(84@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(84@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(84@, 562@, 0.0, 0.0)
Object.SetCoordinates(97@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(97@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(97@, 562@, 0.0, 0.0)
Object.SetCoordinates(87@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(87@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(93@, 559@, 561@, 0.0)
Object.SetCoordinates(88@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(88@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(88@, 562@, 0.0, 0.0)
Object.SetCoordinates(94@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(94@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(94@, 562@, 0.0, 0.0)
Object.SetCoordinates(95@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(95@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(95@, 562@, 0.0, 0.0)
Object.SetCoordinates(86@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(86@, 558@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(86@, 562@, 0.0, 0.0)
Object.SetCoordinates(96@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(96@, 558@)
return 

:POOL2_51273
599@ = -0.96
600@ = 0.49
601@ = 0.97
602@ = 0.49
603@ = 0.97
604@ = -0.49
605@ = -0.96
606@ = -0.49
568@, 569@, 570@ = Object.GetOffsetInWorldCoords(82@, 0.0, -5.0, 0.0)
571@, 572@, 573@ = Object.GetCoordinates(82@)
$in_carX = World.GetGroundZFor3DCoord(571@, 572@, 573@)
574@, 575@, 576@ = Object.GetOffsetInWorldCoords(163@, 599@, 600@, 0.0)
577@, 578@, 579@ = Object.GetOffsetInWorldCoords(163@, 601@, 602@, 0.0)
if 
  $on_footY, $on_footZ = Math.Get2DLinesIntersectPoint(568@, 569@, 571@, 572@, 574@, 575@, 577@, 578@)
goto_if_false @POOL2_51559
set_lvar_float_to_var_float 582@ = $on_footY
set_lvar_float_to_var_float 586@ = $on_footZ
set_lvar_float_to_var_float 590@ = $in_carX
set_lvar_float_to_lvar_float 613@ = 601@
sub_float_lvar_from_float_lvar 613@ -= 599@
set_lvar_float_to_lvar_float 614@ = 602@
sub_float_lvar_from_float_lvar 614@ -= 600@

:POOL2_51559
574@, 575@, 576@ = Object.GetOffsetInWorldCoords(163@, 603@, 604@, 0.0)
if 
  $on_footY, $on_footZ = Math.Get2DLinesIntersectPoint(568@, 569@, 571@, 572@, 574@, 575@, 577@, 578@)
goto_if_false @POOL2_51683
set_lvar_float_to_var_float 582@ = $on_footY
set_lvar_float_to_var_float 586@ = $on_footZ
set_lvar_float_to_var_float 590@ = $in_carX
set_lvar_float_to_lvar_float 613@ = 603@
sub_float_lvar_from_float_lvar 613@ -= 601@
set_lvar_float_to_lvar_float 614@ = 604@
sub_float_lvar_from_float_lvar 614@ -= 602@

:POOL2_51683
577@, 578@, 579@ = Object.GetOffsetInWorldCoords(163@, 605@, 606@, 0.0)
if 
  $on_footY, $on_footZ = Math.Get2DLinesIntersectPoint(568@, 569@, 571@, 572@, 574@, 575@, 577@, 578@)
goto_if_false @POOL2_51807
set_lvar_float_to_var_float 582@ = $on_footY
set_lvar_float_to_var_float 586@ = $on_footZ
set_lvar_float_to_var_float 590@ = $in_carX
set_lvar_float_to_lvar_float 613@ = 605@
sub_float_lvar_from_float_lvar 613@ -= 603@
set_lvar_float_to_lvar_float 614@ = 606@
sub_float_lvar_from_float_lvar 614@ -= 604@

:POOL2_51807
574@, 575@, 576@ = Object.GetOffsetInWorldCoords(163@, 599@, 600@, 0.0)
if 
  $on_footY, $on_footZ = Math.Get2DLinesIntersectPoint(568@, 569@, 571@, 572@, 574@, 575@, 577@, 578@)
goto_if_false @POOL2_51931
set_lvar_float_to_var_float 582@ = $on_footY
set_lvar_float_to_var_float 586@ = $on_footZ
set_lvar_float_to_var_float 590@ = $in_carX
set_lvar_float_to_lvar_float 613@ = 599@
sub_float_lvar_from_float_lvar 613@ -= 605@
set_lvar_float_to_lvar_float 614@ = 600@
sub_float_lvar_from_float_lvar 614@ -= 606@

:POOL2_51931
set_lvar_float_to_lvar_float 611@ = 571@
sub_float_lvar_from_float_lvar 611@ -= 568@
set_lvar_float_to_lvar_float 612@ = 572@
sub_float_lvar_from_float_lvar 612@ -= 569@
610@ = Math.GetAngleBetween2DVectors(611@, 612@, 613@, 614@)
if 
  610@ > 90.0
goto_if_false @POOL2_52021
610@ += -180.0
610@ *= -1.0

:POOL2_52021
set_lvar_float_to_lvar_float 169@ = 571@
sub_float_lvar_from_float_lvar 169@ -= 582@
set_lvar_float_to_lvar_float 170@ = 572@
sub_float_lvar_from_float_lvar 170@ -= 586@
set_lvar_float_to_lvar_float 171@ = 573@
sub_float_lvar_from_float_lvar 171@ -= 590@
594@ = Math.GetHeadingFromVector2D(169@, 170@)
set_lvar_float_to_lvar_float 592@ = 594@
set_lvar_float_to_lvar_float 593@ = 594@
set_lvar_float_to_lvar_float 595@ = 594@
set_lvar_float_to_lvar_float 591@ = 590@
set_lvar_float_to_lvar_float 588@ = 590@
set_lvar_float_to_lvar_float 589@ = 590@
596@ = Math.GetDistanceBetweenCoords2D(571@, 572@, 582@, 586@)
div_float_lvar_by_float_lvar 169@ /= 596@
div_float_lvar_by_float_lvar 170@ /= 596@
set_var_float_to_lvar_float $on_footY = 169@
$on_footY *= 3.0
set_var_float_to_lvar_float $on_footZ = 170@
$on_footZ *= 3.0
set_lvar_float_to_lvar_float 580@ = 582@
sub_float_var_from_float_lvar 580@ -= $on_footY
set_lvar_float_to_lvar_float 584@ = 586@
sub_float_var_from_float_lvar 584@ -= $on_footZ
set_var_float_to_lvar_float $on_footY = 169@
$on_footY *= 1.0
set_var_float_to_lvar_float $on_footZ = 170@
$on_footZ *= 1.0
set_lvar_float_to_lvar_float 607@ = 582@
sub_float_var_from_float_lvar 607@ -= $on_footY
set_lvar_float_to_lvar_float 608@ = 586@
sub_float_var_from_float_lvar 608@ -= $on_footZ
set_lvar_float_to_lvar_float 609@ = 590@
if 
  0.25 > 596@
goto_if_false @POOL2_52340
597@ = 1
goto @POOL2_52417

:POOL2_52340
if 
  0.65 > 596@
goto_if_false @POOL2_52375
597@ = 2
goto @POOL2_52417

:POOL2_52375
if 
  1.1 > 596@
goto_if_false @POOL2_52410
597@ = 3
goto @POOL2_52417

:POOL2_52410
597@ = 4

:POOL2_52417
if 
  610@ > 70.0
goto_if_false @POOL2_52470
597@ += 1
if 
  597@ > 4
goto_if_false @POOL2_52470
597@ = 4

:POOL2_52470
if 
  597@ == 1
goto_if_false @POOL2_52556
set_var_float_to_lvar_float $on_footY = 169@
$on_footY *= 0.615
set_var_float_to_lvar_float $on_footZ = 170@
$on_footZ *= 0.615
set_lvar_float_to_lvar_float 581@ = 571@
sub_float_var_from_float_lvar 581@ -= $on_footY
set_lvar_float_to_lvar_float 585@ = 572@
sub_float_var_from_float_lvar 585@ -= $on_footZ

:POOL2_52556
if 
  597@ == 2
goto_if_false @POOL2_52642
set_var_float_to_lvar_float $on_footY = 169@
$on_footY *= 1.0
set_var_float_to_lvar_float $on_footZ = 170@
$on_footZ *= 1.0
set_lvar_float_to_lvar_float 581@ = 571@
sub_float_var_from_float_lvar 581@ -= $on_footY
set_lvar_float_to_lvar_float 585@ = 572@
sub_float_var_from_float_lvar 585@ -= $on_footZ

:POOL2_52642
if 
  597@ == 3
goto_if_false @POOL2_52728
set_var_float_to_lvar_float $on_footY = 169@
$on_footY *= 1.6
set_var_float_to_lvar_float $on_footZ = 170@
$on_footZ *= 1.6
set_lvar_float_to_lvar_float 581@ = 571@
sub_float_var_from_float_lvar 581@ -= $on_footY
set_lvar_float_to_lvar_float 585@ = 572@
sub_float_var_from_float_lvar 585@ -= $on_footZ

:POOL2_52728
if 
  597@ == 4
goto_if_false @POOL2_52814
set_var_float_to_lvar_float $on_footY = 169@
$on_footY *= 2.1
set_var_float_to_lvar_float $on_footZ = 170@
$on_footZ *= 2.1
set_lvar_float_to_lvar_float 581@ = 571@
sub_float_var_from_float_lvar 581@ -= $on_footY
set_lvar_float_to_lvar_float 585@ = 572@
sub_float_var_from_float_lvar 585@ -= $on_footZ

:POOL2_52814
$heading = Math.GetDistanceBetweenCoords2D(571@, 572@, 581@, 585@)
set_lvar_float_to_lvar_float 42@ = 596@
42@ += 0.3
if 
  is_float_lvar_greater_than_float_var 42@ > $heading
goto_if_false @POOL2_52950
set_lvar_float_to_lvar_float 42@ = 596@
42@ += 0.3
set_var_float_to_lvar_float $on_footY = 169@
mult_float_var_by_float_lvar $on_footY *= 42@
set_var_float_to_lvar_float $on_footZ = 170@
mult_float_var_by_float_lvar $on_footZ *= 42@
set_lvar_float_to_lvar_float 581@ = 571@
sub_float_var_from_float_lvar 581@ -= $on_footY
set_lvar_float_to_lvar_float 585@ = 572@
sub_float_var_from_float_lvar 585@ -= $on_footZ

:POOL2_52950
if 
  597@ == 1
goto_if_false @POOL2_53036
set_var_float_to_lvar_float $on_footY = 169@
$on_footY *= 0.655
set_var_float_to_lvar_float $on_footZ = 170@
$on_footZ *= 0.655
set_lvar_float_to_lvar_float 583@ = 571@
sub_float_var_from_float_lvar 583@ -= $on_footY
set_lvar_float_to_lvar_float 587@ = 572@
sub_float_var_from_float_lvar 587@ -= $on_footZ

:POOL2_53036
if 
  597@ == 2
goto_if_false @POOL2_53122
set_var_float_to_lvar_float $on_footY = 169@
$on_footY *= 1.0
set_var_float_to_lvar_float $on_footZ = 170@
$on_footZ *= 1.0
set_lvar_float_to_lvar_float 583@ = 571@
sub_float_var_from_float_lvar 583@ -= $on_footY
set_lvar_float_to_lvar_float 587@ = 572@
sub_float_var_from_float_lvar 587@ -= $on_footZ

:POOL2_53122
if 
  597@ == 3
goto_if_false @POOL2_53208
set_var_float_to_lvar_float $on_footY = 169@
$on_footY *= 1.6
set_var_float_to_lvar_float $on_footZ = 170@
$on_footZ *= 1.6
set_lvar_float_to_lvar_float 583@ = 571@
sub_float_var_from_float_lvar 583@ -= $on_footY
set_lvar_float_to_lvar_float 587@ = 572@
sub_float_var_from_float_lvar 587@ -= $on_footZ

:POOL2_53208
if 
  597@ == 4
goto_if_false @POOL2_53294
set_var_float_to_lvar_float $on_footY = 169@
$on_footY *= 2.1
set_var_float_to_lvar_float $on_footZ = 170@
$on_footZ *= 2.1
set_lvar_float_to_lvar_float 583@ = 571@
sub_float_var_from_float_lvar 583@ -= $on_footY
set_lvar_float_to_lvar_float 587@ = 572@
sub_float_var_from_float_lvar 587@ -= $on_footZ

:POOL2_53294
return 

:POOL2_53296
Hud.DrawSprite(1, 615@, 616@, 617@, 618@, 128, 128, 128, 255)
Hud.DrawSprite(2, 619@, 620@, 621@, 622@, 128, 128, 128, 255)
if or
  Pad.IsButtonPressed(180@, Button.LeftStickY)
  Pad.IsButtonPressed(180@, Button.LeftStickX)
goto_if_false @POOL2_53847
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(180@)
cset_var_float_to_var_int $on_footY =# $been_in_a_bmx
cset_var_float_to_var_int $on_footZ =# $tucking_contact_blip
$on_footY /= 128.0
$on_footZ /= 128.0
$on_footY *= 5.0
$on_footZ *= 5.0
set_lvar_float_to_lvar_float 42@ = 619@
add_float_var_to_float_lvar 42@ += $on_footY
set_lvar_float_to_lvar_float 44@ = 617@
44@ /= 2.0
set_lvar_float_to_lvar_float 43@ = 615@
add_float_lvar_to_float_lvar 43@ += 44@
if 
  is_float_lvar_greater_than_float_lvar 43@ > 42@
goto_if_false @POOL2_53562
set_lvar_float_to_lvar_float 43@ = 615@
sub_float_lvar_from_float_lvar 43@ -= 44@
if 
  is_float_lvar_greater_than_float_lvar 42@ > 43@
goto_if_false @POOL2_53562
set_var_float_to_lvar_float $on_footY = 42@

:POOL2_53562
set_lvar_float_to_lvar_float 42@ = 620@
add_float_var_to_float_lvar 42@ += $on_footZ
set_lvar_float_to_lvar_float 44@ = 618@
44@ /= 2.0
set_lvar_float_to_lvar_float 43@ = 616@
add_float_lvar_to_float_lvar 43@ += 44@
if 
  is_float_lvar_greater_than_float_lvar 43@ > 42@
goto_if_false @POOL2_53674
set_lvar_float_to_lvar_float 43@ = 616@
sub_float_lvar_from_float_lvar 43@ -= 44@
if 
  is_float_lvar_greater_than_float_lvar 42@ > 43@
goto_if_false @POOL2_53674
set_var_float_to_lvar_float $on_footZ = 42@

:POOL2_53674
42@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 615@, 616@)
set_lvar_float_to_lvar_float 43@ = 617@
43@ /= 3.2
if 
  is_float_lvar_greater_than_float_lvar 42@ > 43@
goto_if_false @POOL2_53831
set_lvar_float_to_var_float 169@ = $on_footY
sub_float_lvar_from_float_lvar 169@ -= 615@
set_lvar_float_to_var_float 170@ = $on_footZ
sub_float_lvar_from_float_lvar 170@ -= 616@
div_float_lvar_by_float_lvar 169@ /= 42@
div_float_lvar_by_float_lvar 170@ /= 42@
mult_float_lvar_by_float_lvar 169@ *= 43@
mult_float_lvar_by_float_lvar 170@ *= 43@
set_lvar_float_to_lvar_float 619@ = 615@
add_float_lvar_to_float_lvar 619@ += 169@
set_lvar_float_to_lvar_float 620@ = 616@
add_float_lvar_to_float_lvar 620@ += 170@
goto @POOL2_53847

:POOL2_53831
set_lvar_float_to_var_float 619@ = $on_footY
set_lvar_float_to_var_float 620@ = $on_footZ

:POOL2_53847
return 

:POOL2_53849
set_lvar_float_to_lvar_float 628@ = 52@
628@ *= 2.0
626@ = 1

:POOL2_53874
if 
  16 > 626@
goto_if_false @POOL2_54076
if 
  Object.DoesExist(82@(626@,16i))
goto_if_false @POOL2_54062
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(82@(626@,16i))
627@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 624@, 625@)
if 
  is_float_lvar_greater_than_float_lvar 628@ > 627@
goto_if_false @POOL2_54062
set_lvar_float_to_lvar_float 629@ = 624@
sub_float_var_from_float_lvar 629@ -= $on_footY
set_lvar_float_to_lvar_float 630@ = 625@
sub_float_var_from_float_lvar 630@ -= $on_footZ
div_float_lvar_by_float_lvar 629@ /= 627@
div_float_lvar_by_float_lvar 630@ /= 627@
mult_float_lvar_by_float_lvar 629@ *= 628@
mult_float_lvar_by_float_lvar 630@ *= 628@
set_lvar_float_to_var_float 624@ = $on_footY
add_float_lvar_to_float_lvar 624@ += 629@
set_lvar_float_to_var_float 625@ = $on_footZ
add_float_lvar_to_float_lvar 625@ += 630@

:POOL2_54062
626@ += 1
goto @POOL2_53874

:POOL2_54076
set_lvar_float_to_lvar_float 627@ = 98@
if 
  is_float_lvar_greater_than_float_lvar 627@ > 624@
goto_if_false @POOL2_54111
set_lvar_float_to_lvar_float 624@ = 627@

:POOL2_54111
set_lvar_float_to_lvar_float 627@ = 99@
if 
  is_float_lvar_greater_than_float_lvar 624@ > 627@
goto_if_false @POOL2_54146
set_lvar_float_to_lvar_float 624@ = 627@

:POOL2_54146
set_lvar_float_to_lvar_float 627@ = 100@
if 
  is_float_lvar_greater_than_float_lvar 627@ > 625@
goto_if_false @POOL2_54181
set_lvar_float_to_lvar_float 625@ = 627@

:POOL2_54181
set_lvar_float_to_lvar_float 627@ = 101@
if 
  is_float_lvar_greater_than_float_lvar 625@ > 627@
goto_if_false @POOL2_54216
set_lvar_float_to_lvar_float 625@ = 627@

:POOL2_54216
return 

:POOL2_54218
$cam_y2, $cam_z2, $cam_nvec_x = Object.GetOffsetInWorldCoords(163@, 0.0, 0.0, 0.0)
$cam_rvec_x, $cam_nvec_y, $cam_rvec_y = Object.GetOffsetInWorldCoords(163@, 0.0, -1.0, 0.0)
set_var_float_to_var_float $cam_dist = $cam_y2
sub_float_var_from_float_var $cam_dist -= $cam_rvec_x
set_var_float_to_var_float $lowr_track_to_play = $cam_z2
sub_float_var_from_float_var $lowr_track_to_play -= $cam_nvec_y
$van_death_counter_zero5 = Math.GetDistanceBetweenCoords2D($cam_y2, $cam_z2, $cam_rvec_x, $cam_nvec_y)
div_float_var_by_float_var $cam_dist /= $van_death_counter_zero5
div_float_var_by_float_var $lowr_track_to_play /= $van_death_counter_zero5
set_var_float_to_var_float $lowr_timer = $lowr_track_to_play
set_var_float_to_var_float $timer_time_limit_zero5 = $cam_dist
$timer_time_limit_zero5 *= -1.0
return 

:POOL2_54369
Hud.DrawWindow(29.0, 220.0, 638@, 644@, 'BJ_TITL', 2)
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
Text.SetWrapX(640.0)
Text.Display(36.0, 240.0, 'BJ_01')
gosub @POOL2_60283
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 260.0, 'DOLLAR', 155@)
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
Text.SetWrapX(640.0)
Text.Display(36.0, 290.0, 'BJ_02')
gosub @POOL2_60283
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 310.0, 'DOLLAR', $9464)
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
Text.SetWrapX(640.0)
Text.Display(36.0, 340.0, 'BJ_03')
gosub @POOL2_60283
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 360.0, 'DOLLAR', $9465)
return 

:POOL2_54676
if and
  271@ == 0
  268@ == 0
goto_if_false @POOL2_54722
632@ = 1
gosub @POOL2_56881
goto @POOL2_56073

:POOL2_54722
Hud.DrawWindow(29.0, 220.0, 634@, 640@, 'SCORE', 2)
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 240.0, 'PL_01')
gosub @POOL2_60283
Text.SetScale(633@, 639@)
if 
  214@ == 0
goto_if_false @POOL2_54847
Text.Display(36.0, 260.0, 'PL_12')

:POOL2_54847
if 
  214@ == 1
goto_if_false @POOL2_54886
Text.Display(36.0, 260.0, 'PL_13')

:POOL2_54886
if 
  214@ == -1
goto_if_false @POOL2_54925
Text.Display(36.0, 260.0, 'PL_15')

:POOL2_54925
if 
  214@ == 2
goto_if_false @POOL2_54964
Text.Display(36.0, 260.0, 'PL_14')

:POOL2_54964
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
if 
  178@ == 1
goto_if_false @POOL2_55031
Text.Display(36.0, 290.0, 'PL_02')
goto @POOL2_55052

:POOL2_55031
Text.Display(36.0, 290.0, 'PL_03')

:POOL2_55052
gosub @POOL2_60283
Text.SetScale(633@, 639@)
if 
  215@ == 0
goto_if_false @POOL2_55106
Text.Display(36.0, 310.0, 'PL_12')

:POOL2_55106
if 
  215@ == 1
goto_if_false @POOL2_55145
Text.Display(36.0, 310.0, 'PL_13')

:POOL2_55145
if 
  215@ == -1
goto_if_false @POOL2_55184
Text.Display(36.0, 310.0, 'PL_15')

:POOL2_55184
if 
  215@ == 2
goto_if_false @POOL2_55223
Text.Display(36.0, 310.0, 'PL_14')

:POOL2_55223
if 
  271@ > 0
goto_if_false @POOL2_55543
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 340.0, 'PL_04')
gosub @POOL2_60283
Text.SetScale(633@, 639@)
switch_start 271@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @POOL2_55536 {caseNum1} 0 {caseLabel1} @POOL2_55361 {caseNum2} 1 {caseLabel2} @POOL2_55368 {caseNum3} 2 {caseLabel3} @POOL2_55396 {caseNum4} 3 {caseLabel4} @POOL2_55424 {caseNum5} 4 {caseLabel5} @POOL2_55452 {caseNum6} 5 {caseLabel6} @POOL2_55480 {caseNum7} 6 {caseLabel7} @POOL2_55508

:POOL2_55361
goto @POOL2_55536

:POOL2_55368
Text.Display(36.0, 360.0, 'FOUL1')
goto @POOL2_55536

:POOL2_55396
Text.Display(36.0, 360.0, 'FOUL2')
goto @POOL2_55536

:POOL2_55424
Text.Display(36.0, 360.0, 'FOUL3')
goto @POOL2_55536

:POOL2_55452
Text.Display(36.0, 360.0, 'FOUL4')
goto @POOL2_55536

:POOL2_55480
Text.Display(36.0, 360.0, 'FOUL5')
goto @POOL2_55536

:POOL2_55508
Text.Display(36.0, 360.0, 'FOUL6')
goto @POOL2_55536

:POOL2_55536
goto @POOL2_56073

:POOL2_55543
if 
  268@ > 0
goto_if_false @POOL2_56073
if 
  268@ == 1
goto_if_false @POOL2_55735
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 340.0, 'PL_05')
39@ = 1

:POOL2_55628
if 
  16 > 39@
goto_if_false @POOL2_55728
if 
  252@(39@,16i) <> 0
goto_if_false @POOL2_55714
gosub @POOL2_60283
Text.SetScale(633@, 639@)
Text.DisplayWithNumber(36.0, 360.0, 'NUM', 39@)
39@ = 16

:POOL2_55714
39@ += 1
goto @POOL2_55628

:POOL2_55728
goto @POOL2_56073

:POOL2_55735
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 340.0, 'PL_06')
39@ = 1
set_lvar_int_to_lvar_int 40@ = 268@
42@ = 36.0

:POOL2_55802
if 
  40@ > 0
goto_if_false @POOL2_56073

:POOL2_55820
if 
  16 > 39@
goto_if_false @POOL2_56066
if 
  252@(39@,16i) <> 0
goto_if_false @POOL2_56027
if 
  40@ > 1
goto_if_false @POOL2_55969
gosub @POOL2_60283
Text.SetScale(633@, 639@)
41@ = Text.GetStringWidthWithNumber('COMMA', 39@)
cset_lvar_float_to_lvar_int 43@ =# 41@
Text.DisplayWithNumber(42@, 360.0, 'COMMA', 39@)
add_float_lvar_to_float_lvar 42@ += 43@
39@ += 1
40@ -= 1
goto @POOL2_56020

:POOL2_55969
gosub @POOL2_60283
Text.SetScale(633@, 639@)
Text.DisplayWithNumber(42@, 360.0, 'NUM', 39@)
40@ = -1
39@ = 16

:POOL2_56020
goto @POOL2_56034

:POOL2_56027
39@ += 1

:POOL2_56034
if 
  39@ >= 16
goto_if_false @POOL2_56059
40@ = -1

:POOL2_56059
goto @POOL2_55820

:POOL2_56066
goto @POOL2_55802

:POOL2_56073
return 
if or
is_ps2_keyboard_key_just_pressed 131
is_ps2_keyboard_key_just_pressed 87
goto_if_false @POOL2_56105
618@ += 1.0

:POOL2_56105
if or
is_ps2_keyboard_key_just_pressed 130
is_ps2_keyboard_key_just_pressed 90
goto_if_false @POOL2_56135
618@ += -1.0

:POOL2_56135
if or
is_ps2_keyboard_key_just_pressed 128
is_ps2_keyboard_key_just_pressed 68
goto_if_false @POOL2_56165
617@ += 1.0

:POOL2_56165
if or
is_ps2_keyboard_key_just_pressed 129
is_ps2_keyboard_key_just_pressed 65
goto_if_false @POOL2_56195
617@ += -1.0

:POOL2_56195
if or
is_ps2_keyboard_key_just_pressed 145
is_ps2_keyboard_key_just_pressed 87
goto_if_false @POOL2_56225
621@ += 1.0

:POOL2_56225
if or
is_ps2_keyboard_key_just_pressed 139
is_ps2_keyboard_key_just_pressed 90
goto_if_false @POOL2_56255
621@ += -1.0

:POOL2_56255
if or
is_ps2_keyboard_key_just_pressed 143
is_ps2_keyboard_key_just_pressed 68
goto_if_false @POOL2_56285
622@ += 1.0

:POOL2_56285
if or
is_ps2_keyboard_key_just_pressed 141
is_ps2_keyboard_key_just_pressed 65
goto_if_false @POOL2_56315
622@ += -1.0

:POOL2_56315
if 
is_ps2_keyboard_key_just_pressed 137
goto_if_false @POOL2_56879
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL_SPRITE_HEIGHT = ")
save_float_to_debug_file 618@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BALL_SPRITE_WIDTH = ")
save_float_to_debug_file 617@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("NIB_SPRITE_HEIGHT = ")
save_float_to_debug_file 621@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("NIB_SPRITE_WIDTH = ")
save_float_to_debug_file 622@

:POOL2_56879
return 

:POOL2_56881
if 
  632@ == 0
goto_if_false @POOL2_57130
39@ = 0
if 
  3000 > 202@
goto_if_false @POOL2_56932
39@ = 1

:POOL2_56932
if 
  233@ == 1
goto_if_false @POOL2_56989
202@ = 0
39@ = 1
if 
  198@ > 1
goto_if_false @POOL2_56989
198@ = 0

:POOL2_56989
if 
  198@ == 0
goto_if_false @POOL2_57034
Text.ClearHelp
Text.PrintHelpForever('PL_H3')
202@ = 0
198@ += 1

:POOL2_57034
if 
  34@ == 5
goto_if_false @POOL2_57116
if 
  198@ == 1
goto_if_false @POOL2_57109
if 
  202@ > 3000
goto_if_false @POOL2_57109
Text.ClearHelp
Text.PrintHelpForever('PL_H7')
198@ += 1

:POOL2_57109
goto @POOL2_57123

:POOL2_57116
39@ = 1

:POOL2_57123
goto @POOL2_57144

:POOL2_57130
39@ = 1
632@ = 0

:POOL2_57144
if 
  39@ == 1
goto_if_false @POOL2_57663
Hud.DrawWindow(29.0, 270.0, 635@, 641@, 'SCORE', 2)
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 290.0, 'PL_01')
gosub @POOL2_60283
Text.SetScale(633@, 639@)
if 
  214@ == 0
goto_if_false @POOL2_57287
Text.Display(36.0, 310.0, 'PL_12')

:POOL2_57287
if 
  214@ == 1
goto_if_false @POOL2_57326
Text.Display(36.0, 310.0, 'PL_13')

:POOL2_57326
if 
  214@ == -1
goto_if_false @POOL2_57365
Text.Display(36.0, 310.0, 'PL_15')

:POOL2_57365
if 
  214@ == 2
goto_if_false @POOL2_57404
Text.Display(36.0, 310.0, 'PL_14')

:POOL2_57404
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
if 
  178@ == 1
goto_if_false @POOL2_57471
Text.Display(36.0, 340.0, 'PL_02')
goto @POOL2_57492

:POOL2_57471
Text.Display(36.0, 340.0, 'PL_03')

:POOL2_57492
gosub @POOL2_60283
Text.SetScale(633@, 639@)
if 
  215@ == 0
goto_if_false @POOL2_57546
Text.Display(36.0, 360.0, 'PL_12')

:POOL2_57546
if 
  215@ == 1
goto_if_false @POOL2_57585
Text.Display(36.0, 360.0, 'PL_13')

:POOL2_57585
if 
  215@ == -1
goto_if_false @POOL2_57624
Text.Display(36.0, 360.0, 'PL_15')

:POOL2_57624
if 
  215@ == 2
goto_if_false @POOL2_57663
Text.Display(36.0, 360.0, 'PL_14')

:POOL2_57663
return 

:POOL2_57665
633@ = 0.4753
639@ = 2.3176
switch_start $flag_hhiker_trigger {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @POOL2_57856 {caseNum1} 1 {caseLabel1} @POOL2_57748 {caseNum2} 2 {caseLabel2} @POOL2_57802 {caseNum3} 3 {caseLabel3} @POOL2_57829 {caseNum4} 4 {caseLabel4} @POOL2_57775 {caseNum5} -1 {caseLabel5} @POOL2_57883 {caseNum6} -1 {caseLabel6} @POOL2_57883 {caseNum7} -1 {caseLabel7} @POOL2_57883

:POOL2_57748
634@ = 210.6556
640@ = 426.4957
goto @POOL2_57883

:POOL2_57775
634@ = 175.0805
640@ = 426.4957
goto @POOL2_57883

:POOL2_57802
634@ = 190.782
640@ = 409.0
goto @POOL2_57883

:POOL2_57829
634@ = 214.9799
640@ = 409.0
goto @POOL2_57883

:POOL2_57856
634@ = 174.4835
640@ = 409.0
goto @POOL2_57883

:POOL2_57883
switch_start $flag_hhiker_trigger {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @POOL2_58027 {caseNum1} 2 {caseLabel1} @POOL2_57973 {caseNum2} 3 {caseLabel2} @POOL2_58000 {caseNum3} 4 {caseLabel3} @POOL2_57946 {caseNum4} -1 {caseLabel4} @POOL2_58054 {caseNum5} -1 {caseLabel5} @POOL2_58054 {caseNum6} -1 {caseLabel6} @POOL2_58054 {caseNum7} -1 {caseLabel7} @POOL2_58054

:POOL2_57946
635@ = 179.098
641@ = 396.8582
goto @POOL2_58054

:POOL2_57973
635@ = 166.0992
641@ = 396.8582
goto @POOL2_58054

:POOL2_58000
635@ = 205.4915
641@ = 396.8582
goto @POOL2_58054

:POOL2_58027
635@ = 157.0
641@ = 396.8582
goto @POOL2_58054

:POOL2_58054
switch_start $flag_hhiker_trigger {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @POOL2_58142 {caseNum1} 3 {caseLabel1} @POOL2_58117 {caseNum2} -1 {caseLabel2} @POOL2_58169 {caseNum3} -1 {caseLabel3} @POOL2_58169 {caseNum4} -1 {caseLabel4} @POOL2_58169 {caseNum5} -1 {caseLabel5} @POOL2_58169 {caseNum6} -1 {caseLabel6} @POOL2_58169 {caseNum7} -1 {caseLabel7} @POOL2_58169

:POOL2_58117
set_lvar_float_to_lvar_float 636@ = 635@
642@ = 394.4953
goto @POOL2_58169

:POOL2_58142
636@ = 168.1938
642@ = 394.4953
goto @POOL2_58169

:POOL2_58169
637@ = 0.4914
643@ = 2.3977
switch_start $flag_hhiker_trigger {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @POOL2_58279 {caseNum1} 3 {caseLabel1} @POOL2_58252 {caseNum2} -1 {caseLabel2} @POOL2_58306 {caseNum3} -1 {caseLabel3} @POOL2_58306 {caseNum4} -1 {caseLabel4} @POOL2_58306 {caseNum5} -1 {caseLabel5} @POOL2_58306 {caseNum6} -1 {caseLabel6} @POOL2_58306 {caseNum7} -1 {caseLabel7} @POOL2_58306

:POOL2_58252
638@ = 178.0981
644@ = 409.0
goto @POOL2_58306

:POOL2_58279
638@ = 157.0
644@ = 409.0
goto @POOL2_58306

:POOL2_58306
return 
if 
is_ps2_keyboard_key_just_pressed 67
goto_if_false @POOL2_58373
645@ += 1
if 
  645@ > 5
goto_if_false @POOL2_58355
645@ = 0

:POOL2_58355
write_debug_with_int "SCREEN_EDIT" {_p2} 645@

:POOL2_58373
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @POOL2_58403
639@(645@,6f) += -0.1

:POOL2_58403
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @POOL2_58433
639@(645@,6f) += 0.1

:POOL2_58433
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @POOL2_58463
633@(645@,6f) += 0.1

:POOL2_58463
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @POOL2_58493
633@(645@,6f) += -0.1

:POOL2_58493
if 
is_ps2_keyboard_key_just_pressed 137
goto_if_false @POOL2_59234
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("POOL - SCREEN_COORDS")
save_newline_to_debug_file 
39@ = 0

:POOL2_58650
if 
  6 > 39@
goto_if_false @POOL2_59234
Debugger.SaveStringToDebugFile("SCREEN_COORD_X[")
save_int_to_debug_file 39@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file 633@(39@,6f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("SCREEN_COORD_Y[")
save_int_to_debug_file 39@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file 639@(39@,6f)
save_newline_to_debug_file 
39@ += 1
goto @POOL2_58650

:POOL2_59234
return 

:POOL2_59236
39@ = 0
if 
  3000 > 202@
goto_if_false @POOL2_59269
39@ = 1

:POOL2_59269
if 
  198@ == 0
goto_if_false @POOL2_59314
Text.ClearHelp
Text.PrintHelpForever('PL_H6')
202@ = 0
198@ += 1

:POOL2_59314
if 
  34@ == 4
goto_if_false @POOL2_59389
if 
  198@ == 1
goto_if_false @POOL2_59389
if 
  202@ > 3000
goto_if_false @POOL2_59389
Text.ClearHelp
Text.PrintHelpForever('PL_H7')
198@ += 1

:POOL2_59389
if 
  39@ == 1
goto_if_false @POOL2_59986
Hud.DrawWindow(29.0, 220.0, 636@, 642@, 'SCORE', 2)
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 240.0, 'PL_01')
gosub @POOL2_60283
Text.SetScale(633@, 639@)
if 
  214@ == 0
goto_if_false @POOL2_59532
Text.Display(36.0, 260.0, 'PL_12')

:POOL2_59532
if 
  214@ == 1
goto_if_false @POOL2_59571
Text.Display(36.0, 260.0, 'PL_13')

:POOL2_59571
if 
  214@ == -1
goto_if_false @POOL2_59610
Text.Display(36.0, 260.0, 'PL_15')

:POOL2_59610
if 
  214@ == 2
goto_if_false @POOL2_59649
Text.Display(36.0, 260.0, 'PL_14')

:POOL2_59649
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
if 
  178@ == 1
goto_if_false @POOL2_59716
Text.Display(36.0, 290.0, 'PL_02')
goto @POOL2_59737

:POOL2_59716
Text.Display(36.0, 290.0, 'PL_03')

:POOL2_59737
gosub @POOL2_60283
Text.SetScale(633@, 639@)
if 
  215@ == 0
goto_if_false @POOL2_59791
Text.Display(36.0, 310.0, 'PL_12')

:POOL2_59791
if 
  215@ == 1
goto_if_false @POOL2_59830
Text.Display(36.0, 310.0, 'PL_13')

:POOL2_59830
if 
  215@ == -1
goto_if_false @POOL2_59869
Text.Display(36.0, 310.0, 'PL_15')

:POOL2_59869
if 
  215@ == 2
goto_if_false @POOL2_59908
Text.Display(36.0, 310.0, 'PL_14')

:POOL2_59908
gosub @POOL2_60283
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 340.0, 'PL_16')
gosub @POOL2_60283
Text.SetScale(633@, 639@)
Text.Display(36.0, 360.0, 'PL_17')

:POOL2_59986
return 
Text.SetScale(0.4487, 1.5974)
Text.SetColor(128, 148, 178, 255)
Text.SetJustify(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 
Text.SetScale(0.4487, 1.5974)
Text.SetColor(128, 148, 178, 255)
Text.SetRightJustify(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 
Text.SetScale(0.9, 2.4)
Text.SetColor(128, 148, 178, 255)
Text.SetCenter(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 
Text.SetScale(0.9, 2.4)
Text.SetColor(81, 25, 29, 255)
Text.SetCenter(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 
Text.SetScale(0.54, 1.44)
Text.SetColor(128, 148, 178, 255)
Text.SetJustify(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 
Text.SetScale(0.405, 1.08)
Text.SetColor(128, 148, 178, 255)
Text.SetJustify(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 
Text.SetScale(0.54, 1.44)
Text.SetColor(81, 25, 29, 255)
Text.SetJustify(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 

:POOL2_60283
Text.SetColor(180, 180, 180, 255)
Text.SetScale(637@, 643@)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
set_lvar_float_to_lvar_float 646@ = 634@
646@ -= 20.0
Text.SetWrapX(646@)
Text.SetProportional(True)
Text.SetBackground(False)
return 
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @POOL2_60447
647@ += -0.0001
39@ = 0

:POOL2_60383
if 
  16 > 39@
goto_if_false @POOL2_60447
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_60433
Object.SetTurnMass(82@(39@,16i), 647@)

:POOL2_60433
39@ += 1
goto @POOL2_60383

:POOL2_60447
if 
is_ps2_keyboard_key_just_pressed 137
goto_if_false @POOL2_60527

:POOL2_60463
if 
  16 > 39@
goto_if_false @POOL2_60527
if 
  Object.DoesExist(82@(39@,16i))
goto_if_false @POOL2_60513
Object.SetTurnMass(82@(39@,16i), 647@)

:POOL2_60513
39@ += 1
goto @POOL2_60463

:POOL2_60527
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @POOL2_60543

:POOL2_60543
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @POOL2_60569
200@ += -0.001

:POOL2_60569
if 
is_ps2_keyboard_key_just_pressed 143
goto_if_false @POOL2_60595
201@ += 0.001

:POOL2_60595
if 
is_ps2_keyboard_key_just_pressed 141
goto_if_false @POOL2_60621
201@ += -0.001

:POOL2_60621
return 

:POOL2_60623
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:POOL2_60641
Text.PrintWithNumberBig('M_PASS', 10000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 10000)
Player.ClearWantedLevel($statbike_temp)
return 

:POOL2_60675
Player.MakeGangReappear
disable_2nd_pad_for_debug 0
Game.SetScriptCoopGame(False)
0A4F: 
$zero_cash_pickup = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
39@ = 0

:POOL2_60705
if 
  10 > 39@
goto_if_false @POOL2_60766
if 
  Object.DoesExist(344@(39@,10i))
goto_if_false @POOL2_60752
Object.Delete(344@(39@,10i))

:POOL2_60752
39@ += 1
goto @POOL2_60705

:POOL2_60766
if 
  not Char.IsDead($active_pool_script)
goto_if_false @POOL2_60831
Char.ClearLookAt($active_pool_script)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($active_pool_script)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
set_lvar_float_to_var_float 220@ = $in_carX
set_lvar_float_to_var_float 224@ = $in_carX

:POOL2_60831
if 
  not Char.IsDead($active_pool_script)
goto_if_false @POOL2_60875
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($active_pool_script)
Char.SetCoordinates($active_pool_script, $on_footY, $on_footZ, 224@)

:POOL2_60875
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL2_61000
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 218@, 219@, 220@)
if 
  not Char.IsDead($active_pool_script)
goto_if_false @POOL2_60949
165@, 166@, 167@ = Char.GetCoordinates($active_pool_script)

:POOL2_60949
set_lvar_float_to_lvar_float 169@ = 165@
sub_float_var_from_float_lvar 169@ -= $on_footY
set_lvar_float_to_lvar_float 170@ = 166@
sub_float_var_from_float_lvar 170@ -= $on_footZ
$on_footX = Math.GetHeadingFromVector2D(169@, 170@)
Char.SetHeading($stattreadstamina_ctr, $on_footX)

:POOL2_61000
Streaming.RequestModel(338)

:POOL2_61005
if 
  not Streaming.HasModelLoaded(338)
goto_if_false @POOL2_61032
wait 0
goto @POOL2_61005

:POOL2_61032
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL2_61072
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.DropObject($stattreadstamina_ctr, False)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.PoolCue, 9999)

:POOL2_61072
if 
  Object.DoesExist(106@)
goto_if_false @POOL2_61093
Object.Delete(106@)

:POOL2_61093
if 
  Object.DoesExist(107@)
goto_if_false @POOL2_61114
Object.Delete(107@)

:POOL2_61114
if 
  Object.DoesExist(235@)
goto_if_false @POOL2_61135
Object.Delete(235@)

:POOL2_61135
if 
  Object.DoesExist($txtEntryExitName)
goto_if_false @POOL2_61156
Object.Delete($txtEntryExitName)

:POOL2_61156
Streaming.MarkModelAsNoLongerNeeded(338)
Streaming.MarkModelAsNoLongerNeeded(#K_POOLQ)
Streaming.RemoveAnimation("POOL")
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL2_61201
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCollision($stattreadstamina_ctr, True)

:POOL2_61201
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Text.ClearPrints
Text.ClearHelp
$weapon_shop1_blip = 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL2_61307
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearLookAt($stattreadstamina_ctr)
47@ = Sequence.Open()
Task.StandStill(-1, 1)
Task.Pause(-1, 1)
Sequence.Close(47@)
Char.PerformSequence($stattreadstamina_ctr, 47@)
Sequence.Clear(47@)

:POOL2_61307
Mission.Finish
return 
$on_footY, $on_footZ, $in_carX = Camera.GetDebugCoordinates()
if 
  Object.DoesExist(163@)
goto_if_false @POOL2_61360
165@, 166@, 167@ = Object.GetCoordinates(163@)
$on_footX = Object.GetHeading(163@)

:POOL2_61360
$on_footX *= -1.0
42@ = Math.Cos($on_footX)
43@ = Math.Sin($on_footX)
set_lvar_float_to_var_float 169@ = $on_footY
sub_float_lvar_from_float_lvar 169@ -= 165@
set_lvar_float_to_var_float 170@ = $on_footZ
sub_float_lvar_from_float_lvar 170@ -= 166@
set_lvar_float_to_var_float 171@ = $in_carX
sub_float_lvar_from_float_lvar 171@ -= 167@
set_lvar_float_to_lvar_float 172@ = 169@
mult_float_lvar_by_float_lvar 172@ *= 42@
set_lvar_float_to_lvar_float 44@ = 170@
mult_float_lvar_by_float_lvar 44@ *= 43@
sub_float_lvar_from_float_lvar 172@ -= 44@
set_lvar_float_to_lvar_float 173@ = 169@
mult_float_lvar_by_float_lvar 173@ *= 43@
set_lvar_float_to_lvar_float 44@ = 170@
mult_float_lvar_by_float_lvar 44@ *= 42@
add_float_lvar_to_float_lvar 173@ += 44@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("FIXED_CAMERA_POSITION - OFFSET FROM TABLE = ")
save_float_to_debug_file 172@
save_float_to_debug_file 173@
save_float_to_debug_file 171@
$on_footY, $on_footZ, $in_carX = Camera.GetDebugPointAt()
set_lvar_float_to_var_float 169@ = $on_footY
sub_float_lvar_from_float_lvar 169@ -= 165@
set_lvar_float_to_var_float 170@ = $on_footZ
sub_float_lvar_from_float_lvar 170@ -= 166@
set_lvar_float_to_var_float 171@ = $in_carX
sub_float_lvar_from_float_lvar 171@ -= 167@
set_lvar_float_to_lvar_float 172@ = 169@
mult_float_lvar_by_float_lvar 172@ *= 42@
set_lvar_float_to_lvar_float 44@ = 170@
mult_float_lvar_by_float_lvar 44@ *= 43@
sub_float_lvar_from_float_lvar 172@ -= 44@
set_lvar_float_to_lvar_float 173@ = 169@
mult_float_lvar_by_float_lvar 173@ *= 43@
set_lvar_float_to_lvar_float 44@ = 170@
mult_float_lvar_by_float_lvar 44@ *= 42@
add_float_lvar_to_float_lvar 173@ += 44@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CAMERA_POINT_AT -       OFFSET FROM TABLE = ")
save_float_to_debug_file 172@
save_float_to_debug_file 173@
save_float_to_debug_file 171@
return 
$on_footY, $on_footZ, $in_carX = Camera.GetDebugCoordinates()
if 
  Char.DoesExist(212@)
goto_if_false @POOL2_62014
if 
  not Char.IsDead(212@)
goto_if_false @POOL2_62014
165@, 166@, 167@ = Char.GetCoordinates(212@)
$on_footX = Char.GetHeading(212@)

:POOL2_62014
$on_footX *= -1.0
42@ = Math.Cos($on_footX)
43@ = Math.Sin($on_footX)
set_lvar_float_to_var_float 169@ = $on_footY
sub_float_lvar_from_float_lvar 169@ -= 165@
set_lvar_float_to_var_float 170@ = $on_footZ
sub_float_lvar_from_float_lvar 170@ -= 166@
set_lvar_float_to_var_float 171@ = $in_carX
sub_float_lvar_from_float_lvar 171@ -= 167@
set_lvar_float_to_lvar_float 172@ = 169@
mult_float_lvar_by_float_lvar 172@ *= 42@
set_lvar_float_to_lvar_float 44@ = 170@
mult_float_lvar_by_float_lvar 44@ *= 43@
sub_float_lvar_from_float_lvar 172@ -= 44@
set_lvar_float_to_lvar_float 173@ = 169@
mult_float_lvar_by_float_lvar 173@ *= 43@
set_lvar_float_to_lvar_float 44@ = 170@
mult_float_lvar_by_float_lvar 44@ *= 42@
add_float_lvar_to_float_lvar 173@ += 44@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("FIXED_CAMERA_POSITION - OFFSET FROM CHAR = ")
save_float_to_debug_file 172@
save_float_to_debug_file 173@
save_float_to_debug_file 171@
$on_footY, $on_footZ, $in_carX = Camera.GetDebugPointAt()
set_lvar_float_to_var_float 169@ = $on_footY
sub_float_lvar_from_float_lvar 169@ -= 165@
set_lvar_float_to_var_float 170@ = $on_footZ
sub_float_lvar_from_float_lvar 170@ -= 166@
set_lvar_float_to_var_float 171@ = $in_carX
sub_float_lvar_from_float_lvar 171@ -= 167@
set_lvar_float_to_lvar_float 172@ = 169@
mult_float_lvar_by_float_lvar 172@ *= 42@
set_lvar_float_to_lvar_float 44@ = 170@
mult_float_lvar_by_float_lvar 44@ *= 43@
sub_float_lvar_from_float_lvar 172@ -= 44@
set_lvar_float_to_lvar_float 173@ = 169@
mult_float_lvar_by_float_lvar 173@ *= 43@
set_lvar_float_to_lvar_float 44@ = 170@
mult_float_lvar_by_float_lvar 44@ *= 42@
add_float_lvar_to_float_lvar 173@ += 44@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CAMERA_POINT_AT -       OFFSET FROM CHAR = ")
save_float_to_debug_file 172@
save_float_to_debug_file 173@
save_float_to_debug_file 171@
return 

//-------------Mission 9---------------
// Originally: Lowrider (Bet And Dance)

:LOWR
script_name 'LOWR'
gosub @LOWR_47
if 
  has_deatharrest_been_executed 
goto_if_false @LOWR_38
gosub @LOWR_27254

:LOWR_38
gosub @LOWR_27258
terminate_this_script 

:LOWR_47
$weapon_shop1_blip = 1
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
62@ = 0
63@ = 0
64@ = 0
65@ = 0
TIMERA = 0
TIMERB = 0
66@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
67@ = DecisionMakerChar.Load(DecisionMakerType.Tough)

:LOWR_145
wait 0
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @LOWR_171
36@ = 1

:LOWR_171
39@ += 1
if 
  39@ > 22
goto_if_false @LOWR_203
39@ = 0

:LOWR_203
40@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 40@
sub_int_lvar_from_int_lvar 42@ -= 41@
set_lvar_int_to_lvar_int 41@ = 40@
add_int_lvar_to_int_lvar 64@ += 42@
add_int_lvar_to_int_lvar 65@ += 42@
add_int_lvar_to_int_lvar 133@ += 42@
add_int_lvar_to_int_lvar 134@ += 42@
add_int_lvar_to_int_lvar 135@ += 42@
add_int_lvar_to_int_lvar 136@ += 42@
add_int_lvar_to_int_lvar 137@ += 42@
43@ = Streaming.GetAreaVisible()
if 
  43@ == 0
goto_if_false @LOWR_319
add_int_lvar_to_int_var $intro1_chat += 42@

:LOWR_319
switch_start 34@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @LOWR_466 {caseNum1} 0 {caseLabel1} @LOWR_382 {caseNum2} 1 {caseLabel2} @LOWR_396 {caseNum3} 2 {caseLabel3} @LOWR_403 {caseNum4} 3 {caseLabel4} @LOWR_410 {caseNum5} 4 {caseLabel5} @LOWR_424 {caseNum6} 5 {caseLabel6} @LOWR_438 {caseNum7} 6 {caseLabel7} @LOWR_452

:LOWR_382
gosub @LOWR_619
goto @LOWR_466

:LOWR_396
goto @LOWR_466

:LOWR_403
goto @LOWR_466

:LOWR_410
gosub @LOWR_962
goto @LOWR_466

:LOWR_424
gosub @LOWR_9455
goto @LOWR_466

:LOWR_438
gosub @LOWR_12563
goto @LOWR_466

:LOWR_452
gosub @LOWR_17605
goto @LOWR_466

:LOWR_466
gosub @LOWR_19760
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @LOWR_495
gosub @LOWR_26537

:LOWR_495
if 
is_ps2_keyboard_key_just_pressed 79
goto_if_false @LOWR_517
gosub @LOWR_26639

:LOWR_517
if 
  38@ == 0
goto_if_false @LOWR_617
if 
  37@ == 0
goto_if_false @LOWR_601
if 
  36@ == 0
goto_if_false @LOWR_585
goto @LOWR_145
goto @LOWR_594

:LOWR_585
gosub @LOWR_27256
return 

:LOWR_594
goto @LOWR_610

:LOWR_601
gosub @LOWR_27254
return 

:LOWR_610
goto @LOWR_619

:LOWR_617
return 

:LOWR_619
if 
  35@ == -1
goto_if_false @LOWR_748
69@ = Car.Create(413, 0.0, 0.0, 0.0)
77@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
102@ = Blip.AddForCoord(0.0, 0.0, 0.0)
103@ = Blip.AddForCoord(0.0, 0.0, 0.0)
99@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)

:LOWR_748
271@ = 50
272@ = 1000
104@ = 0
43@ = 0

:LOWR_777
if 
  22 > 43@
goto_if_false @LOWR_820
105@(43@,22i) = 0
43@ += 1
goto @LOWR_777

:LOWR_820
127@ = 0
128@ = 0
129@ = 0
130@ = 0
132@ = 0
set_lvar_int_to_lvar_int 132@ = 130@
set_lvar_int_to_lvar_int 132@ = 130@
set_lvar_int_to_lvar_int 132@ = 130@
set_lvar_int_to_lvar_int 132@ = 130@
set_lvar_int_to_lvar_int 132@ = 130@
132@ = 0
269@ = 0.01
if 
  35@ == -1
goto_if_false @LOWR_930

:LOWR_930
Text.LoadMissionText('LOWR')
CarGenerator.SuppressCarModel(567)
gosub @LOWR_27196
34@ = 3
return 

:LOWR_962
if 
  35@ == 0
goto_if_false @LOWR_2161
World.ClearAreaOfChars(1721.117, -1967.489, 11.0, 1904.391, -1838.315, 15.0)
127@ = 0
128@ = 0
138@ = 1796.947
145@ = -1924.376
152@ = 13.2937
159@ = 60.9627
139@ = 1802.865
146@ = -1918.742
153@ = 13.2965
160@ = 357.6195
140@ = 1788.992
147@ = -1924.501
154@ = 13.2937
161@ = 305.5176
141@ = 1784.189
148@ = -1913.44
155@ = 13.2957
162@ = 188.9639
142@ = 1790.964
149@ = -1913.898
156@ = 13.2985
163@ = 266.2616
143@ = 1799.899
150@ = -1906.425
157@ = 13.3025
164@ = 184.4735
144@ = 1785.94
151@ = -1904.839
158@ = 13.297
165@ = 152.5742
166@ = 1798.603
188@ = -1908.26
210@ = 12.4388
232@ = 102.3995
167@ = 1798.887
189@ = -1907.668
211@ = 12.4399
233@ = 174.1189
168@ = 1798.834
190@ = -1911.782
212@ = 12.4374
234@ = 158.2591
169@ = 1799.584
191@ = -1912.795
213@ = 12.4368
235@ = 74.6392
170@ = 1800.902
192@ = -1918.714
214@ = 12.4331
236@ = 256.6391
171@ = 1798.166
193@ = -1920.427
215@ = 12.4321
237@ = 19.6592
172@ = 1796.811
194@ = -1920.426
216@ = 12.4321
238@ = 331.8393
173@ = 1787.78
195@ = -1919.071
217@ = 12.4329
239@ = 331.8393
174@ = 1786.71
196@ = -1917.982
218@ = 12.4332
240@ = 285.8198
175@ = 1786.194
197@ = -1907.356
219@ = 12.4327
241@ = 260.4003
176@ = 1786.898
198@ = -1906.531
220@ = 12.4335
242@ = 141.9807
177@ = 1786.23
199@ = -1908.622
221@ = 12.4328
243@ = 327.1608
178@ = 1789.188
200@ = -1919.665
222@ = 12.4325
244@ = 357.2196
179@ = 1788.103
201@ = -1907.949
223@ = 12.4352
245@ = 200.9411
180@ = 1797.997
202@ = -1912.74
224@ = 12.4368
246@ = 312.2806
181@ = 1796.46
203@ = -1908.882
225@ = 12.4368
247@ = 312.2806
Streaming.RequestModel(114)
Streaming.RequestModel(115)
Streaming.RequestModel(116)
Streaming.RequestModel(63)
Streaming.RequestModel(41)
Streaming.RequestModel(567)
Streaming.RequestModel(534)
Streaming.RequestAnimation("LOWRIDER")
Streaming.LoadAllModelsNow

:LOWR_1990
if or
  not Streaming.HasModelLoaded(114)
  not Streaming.HasModelLoaded(115)
  not Streaming.HasModelLoaded(116)
  not Streaming.HasModelLoaded(63)
  not Streaming.HasModelLoaded(41)
goto_if_false @LOWR_2032
wait 0
goto @LOWR_1990

:LOWR_2032
if or
  not Streaming.HasModelLoaded(567)
  not Streaming.HasModelLoaded(534)
goto_if_false @LOWR_2064
wait 0
goto @LOWR_2032

:LOWR_2064
if 
  not Streaming.HasAnimationLoaded("LOWRIDER")
goto_if_false @LOWR_2098
wait 0
goto @LOWR_2064

:LOWR_2098
if 
  not Blip.DoesExist(102@)
goto_if_false @LOWR_2134
102@ = Blip.AddForCoord(1793.068, -1904.254, 12.3989)

:LOWR_2134
Zone.SwitchAudio('LOWRIDE', True)
$intro1_chat = 0
35@ += 1

:LOWR_2161
if 
  35@ == 1
goto_if_false @LOWR_9428
if 
  128@ == 0
goto_if_false @LOWR_3625
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1792.924, -1918.987, 150.0, 150.0, False)
goto_if_false @LOWR_3618
69@ = Car.Create(534, 0.0, 0.0, 0.0)
70@ = Car.Create(567, 0.0, 0.0, 0.0)
71@ = Car.Create(567, 0.0, 0.0, 0.0)
72@ = Car.Create(567, 0.0, 0.0, 0.0)
73@ = Car.Create(534, 0.0, 0.0, 0.0)
74@ = Car.Create(567, 0.0, 0.0, 0.0)
75@ = Car.Create(534, 0.0, 0.0, 0.0)
Car.ChangeColor(69@, 1, 0)
Car.ChangeColor(70@, 2, 1)
Car.ChangeColor(71@, 3, 2)
Car.ChangeColor(72@, 10, 3)
Car.ChangeColor(73@, 9, 4)
Car.ChangeColor(74@, 6, 5)
Car.ChangeColor(75@, 7, 6)
Car.SetStatus(69@, EntityStatus.Physics)
Car.SetStatus(73@, EntityStatus.Physics)
Car.SetStatus(72@, EntityStatus.Physics)
Car.SetHydraulics(69@, True)
Car.SetHydraulics(73@, True)
Car.SetHydraulics(72@, True)
Car.SetOnlyDamagedByPlayer(69@, True)
Car.SetOnlyDamagedByPlayer(73@, True)
Car.SetOnlyDamagedByPlayer(72@, True)
43@ = 0

:LOWR_2529
if 
  7 > 43@
goto_if_false @LOWR_2618
Car.SetCoordinates(69@(43@,7i), 138@(43@,7f), 145@(43@,7f), 152@(43@,7f))
Car.SetHeading(69@(43@,7i), 159@(43@,7f))
Car.LockDoors(69@(43@,7i), CarLock.LockoutPlayerOnly)
43@ += 1
goto @LOWR_2529

:LOWR_2618
wait 0
77@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
79@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
80@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
82@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
wait 0
83@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
85@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
86@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
88@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
89@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
wait 0
78@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
81@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
84@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
87@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
90@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
91@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
92@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
wait 0
93@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
94@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
95@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
96@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
97@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
98@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
43@ = 0

:LOWR_3169
if 
  16 > 43@
goto_if_false @LOWR_3287
if 
  Char.DoesExist(77@(43@,22i))
goto_if_false @LOWR_3273
if 
  not Char.IsDead(77@(43@,22i))
goto_if_false @LOWR_3273
Char.SetCoordinates(77@(43@,22i), 166@(43@,22f), 188@(43@,22f), 210@(43@,22f))
Char.SetHeading(77@(43@,22i), 232@(43@,22f))

:LOWR_3273
43@ += 1
goto @LOWR_3169

:LOWR_3287
wait 0
43@ = 0

:LOWR_3298
if 
  22 > 43@
goto_if_false @LOWR_3362
if 
  not Char.IsDead(77@(43@,22i))
goto_if_false @LOWR_3348
Char.SetDecisionMaker(77@(43@,22i), 67@)

:LOWR_3348
43@ += 4
goto @LOWR_3298

:LOWR_3362
if 
  not Char.IsDead(93@)
goto_if_false @LOWR_3402
if 
  not Car.IsDead(70@)
goto_if_false @LOWR_3402
Char.WarpIntoCar(93@, 70@)

:LOWR_3402
if 
  not Char.IsDead(94@)
goto_if_false @LOWR_3442
if 
  not Car.IsDead(71@)
goto_if_false @LOWR_3442
Char.WarpIntoCar(94@, 71@)

:LOWR_3442
if 
  not Char.IsDead(95@)
goto_if_false @LOWR_3482
if 
  not Car.IsDead(73@)
goto_if_false @LOWR_3482
Char.WarpIntoCar(95@, 73@)

:LOWR_3482
if 
  not Char.IsDead(96@)
goto_if_false @LOWR_3522
if 
  not Car.IsDead(69@)
goto_if_false @LOWR_3522
Char.WarpIntoCar(96@, 69@)

:LOWR_3522
if 
  not Char.IsDead(97@)
goto_if_false @LOWR_3562
if 
  not Car.IsDead(72@)
goto_if_false @LOWR_3562
Char.WarpIntoCar(97@, 72@)

:LOWR_3562
if 
  not Char.IsDead(98@)
goto_if_false @LOWR_3604
if 
  not Car.IsDead(71@)
goto_if_false @LOWR_3604
Char.WarpIntoCarAsPassenger(98@, 71@, 0)

:LOWR_3604
128@ = 1
$player_is_in_crane = 1

:LOWR_3618
goto @LOWR_3766

:LOWR_3625
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 1792.924, -1918.987, 150.0, 150.0, False)
goto_if_false @LOWR_3766
43@ = 0

:LOWR_3670
if 
  7 > 43@
goto_if_false @LOWR_3711
Car.Delete(69@(43@,7i))
43@ += 1
goto @LOWR_3670

:LOWR_3711
43@ = 0

:LOWR_3718
if 
  22 > 43@
goto_if_false @LOWR_3759
Char.Delete(77@(43@,22i))
43@ += 1
goto @LOWR_3718

:LOWR_3759
128@ = 0

:LOWR_3766
if 
  128@ == 1
goto_if_false @LOWR_9015
if 
  127@ == 0
goto_if_false @LOWR_8729
switch_start 39@ {numCases} 21 {hasDefaultCase} 0 {defaultLabel} @LOWR_8009 {caseNum1} 0 {caseLabel1} @LOWR_3995 {caseNum2} 1 {caseLabel2} @LOWR_4371 {caseNum3} 2 {caseLabel3} @LOWR_4747 {caseNum4} 3 {caseLabel4} @LOWR_4897 {caseNum5} 4 {caseLabel5} @LOWR_5047 {caseNum6} 5 {caseLabel6} @LOWR_5162 {caseNum7} 6 {caseLabel7} @LOWR_5312
switch_continued 7 {caseLabel1} @LOWR_5462 {caseNum2} 8 {caseLabel2} @LOWR_5578 {caseNum3} 9 {caseLabel3} @LOWR_5694 {caseNum4} 10 {caseLabel4} @LOWR_6070 {caseNum5} 11 {caseLabel5} @LOWR_6253 {caseNum6} 12 {caseLabel6} @LOWR_6369 {caseNum7} 13 {caseLabel7} @LOWR_6485 {caseNum8} 14 {caseLabel8} @LOWR_6792 {caseNum9} 15 {caseLabel9} @LOWR_7117
switch_continued 16 {caseLabel1} @LOWR_7401 {caseNum2} 17 {caseLabel2} @LOWR_7510 {caseNum3} 18 {caseLabel3} @LOWR_7619 {caseNum4} 19 {caseLabel4} @LOWR_7826 {caseNum5} 20 {caseLabel5} @LOWR_8002 {caseNum6} -1 {caseLabel6} @LOWR_8009 {caseNum7} -1 {caseLabel7} @LOWR_8009 {caseNum8} -1 {caseLabel8} @LOWR_8009 {caseNum9} -1 {caseLabel9} @LOWR_8009

:LOWR_3995
if 
  not Char.IsDead(77@)
goto_if_false @LOWR_4364
43@ = Char.GetScriptTaskStatus(77@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_4269
49@ = Sequence.Open()
if 
  not Car.IsDead(74@)
goto_if_false @LOWR_4203
if 
  Car.Locate3D(74@, 143@, 150@, 157@, 0.2, 0.2, 1.0, False)
goto_if_false @LOWR_4155
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
goto @LOWR_4196

:LOWR_4155
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:LOWR_4196
goto @LOWR_4244

:LOWR_4203
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:LOWR_4244
Sequence.Close(49@)
Char.PerformSequence(77@, 49@)
Sequence.Clear(49@)
goto @LOWR_4364

:LOWR_4269
if 
  Char.IsPlayingAnim(77@, "M_SMKLEAN_LOOP")
goto_if_false @LOWR_4364
if 
  not Car.IsDead(74@)
goto_if_false @LOWR_4364
if 
  not Car.Locate3D(74@, 143@, 150@, 157@, 0.2, 0.2, 1.0, False)
goto_if_false @LOWR_4364
Char.ClearTasks(77@)

:LOWR_4364
goto @LOWR_8009

:LOWR_4371
if 
  not Char.IsDead(78@)
goto_if_false @LOWR_4740
43@ = Char.GetScriptTaskStatus(78@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_4645
49@ = Sequence.Open()
if 
  not Car.IsDead(74@)
goto_if_false @LOWR_4579
if 
  Car.Locate3D(74@, 143@, 150@, 157@, 0.2, 0.2, 1.0, False)
goto_if_false @LOWR_4531
Task.PlayAnim(-1, "F_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
goto @LOWR_4572

:LOWR_4531
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:LOWR_4572
goto @LOWR_4620

:LOWR_4579
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:LOWR_4620
Sequence.Close(49@)
Char.PerformSequence(78@, 49@)
Sequence.Clear(49@)
goto @LOWR_4740

:LOWR_4645
if 
  Char.IsPlayingAnim(78@, "F_SMKLEAN_LOOP")
goto_if_false @LOWR_4740
if 
  not Car.IsDead(74@)
goto_if_false @LOWR_4740
if 
  not Car.Locate3D(74@, 143@, 150@, 157@, 0.2, 0.2, 1.0, False)
goto_if_false @LOWR_4740
Char.ClearTasks(78@)

:LOWR_4740
goto @LOWR_8009

:LOWR_4747
if 
  not Char.IsDead(79@)
goto_if_false @LOWR_4890
43@ = Char.GetScriptTaskStatus(79@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_4890
49@ = Sequence.Open()
if 
  not Char.IsDead(80@)
goto_if_false @LOWR_4831
Task.ChatWithChar(-1, 80@, True, 1)
goto @LOWR_4872

:LOWR_4831
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:LOWR_4872
Sequence.Close(49@)
Char.PerformSequence(79@, 49@)
Sequence.Clear(49@)

:LOWR_4890
goto @LOWR_8009

:LOWR_4897
if 
  not Char.IsDead(80@)
goto_if_false @LOWR_5040
43@ = Char.GetScriptTaskStatus(80@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_5040
49@ = Sequence.Open()
if 
  not Char.IsDead(79@)
goto_if_false @LOWR_4981
Task.ChatWithChar(-1, 79@, False, 1)
goto @LOWR_5022

:LOWR_4981
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:LOWR_5022
Sequence.Close(49@)
Char.PerformSequence(80@, 49@)
Sequence.Clear(49@)

:LOWR_5040
goto @LOWR_8009

:LOWR_5047
if 
  not Char.IsDead(81@)
goto_if_false @LOWR_5155
43@ = Char.GetScriptTaskStatus(81@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_5155
49@ = Sequence.Open()
Task.PlayAnim(-1, "CAR_HOOKERTALK", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(81@, 49@)
Sequence.Clear(49@)

:LOWR_5155
goto @LOWR_8009

:LOWR_5162
if 
  not Char.IsDead(82@)
goto_if_false @LOWR_5305
43@ = Char.GetScriptTaskStatus(82@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_5305
49@ = Sequence.Open()
if 
  not Char.IsDead(83@)
goto_if_false @LOWR_5246
Task.ChatWithChar(-1, 83@, False, 1)
goto @LOWR_5287

:LOWR_5246
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:LOWR_5287
Sequence.Close(49@)
Char.PerformSequence(82@, 49@)
Sequence.Clear(49@)

:LOWR_5305
goto @LOWR_8009

:LOWR_5312
if 
  not Char.IsDead(83@)
goto_if_false @LOWR_5455
43@ = Char.GetScriptTaskStatus(83@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_5455
49@ = Sequence.Open()
if 
  not Char.IsDead(82@)
goto_if_false @LOWR_5396
Task.ChatWithChar(-1, 82@, True, 1)
goto @LOWR_5437

:LOWR_5396
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:LOWR_5437
Sequence.Close(49@)
Char.PerformSequence(83@, 49@)
Sequence.Clear(49@)

:LOWR_5455
goto @LOWR_8009

:LOWR_5462
if 
  not Char.IsDead(84@)
goto_if_false @LOWR_5571
43@ = Char.GetScriptTaskStatus(84@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_5571
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(84@, 49@)
Sequence.Clear(49@)

:LOWR_5571
goto @LOWR_8009

:LOWR_5578
if 
  not Char.IsDead(85@)
goto_if_false @LOWR_5687
43@ = Char.GetScriptTaskStatus(85@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_5687
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(85@, 49@)
Sequence.Clear(49@)

:LOWR_5687
goto @LOWR_8009

:LOWR_5694
if 
  not Char.IsDead(86@)
goto_if_false @LOWR_6063
43@ = Char.GetScriptTaskStatus(86@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_5968
49@ = Sequence.Open()
if 
  not Car.IsDead(75@)
goto_if_false @LOWR_5902
if 
  Car.Locate3D(75@, 144@, 151@, 158@, 0.2, 0.2, 1.0, False)
goto_if_false @LOWR_5854
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
goto @LOWR_5895

:LOWR_5854
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:LOWR_5895
goto @LOWR_5943

:LOWR_5902
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:LOWR_5943
Sequence.Close(49@)
Char.PerformSequence(86@, 49@)
Sequence.Clear(49@)
goto @LOWR_6063

:LOWR_5968
if 
  Char.IsPlayingAnim(86@, "M_SMKLEAN_LOOP")
goto_if_false @LOWR_6063
if 
  not Car.IsDead(75@)
goto_if_false @LOWR_6063
if 
  not Car.Locate3D(75@, 144@, 151@, 158@, 0.2, 0.2, 1.0, False)
goto_if_false @LOWR_6063
Char.ClearTasks(86@)

:LOWR_6063
goto @LOWR_8009

:LOWR_6070
if 
  not Char.IsDead(87@)
goto_if_false @LOWR_6246
43@ = Char.GetScriptTaskStatus(87@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_6246
49@ = Sequence.Open()
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "FUCKU", "PED", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "WOMAN_IDLESTANCE", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(87@, 49@)
Sequence.Clear(49@)

:LOWR_6246
goto @LOWR_8009

:LOWR_6253
if 
  not Char.IsDead(88@)
goto_if_false @LOWR_6362
43@ = Char.GetScriptTaskStatus(88@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_6362
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(88@, 49@)
Sequence.Clear(49@)

:LOWR_6362
goto @LOWR_8009

:LOWR_6369
if 
  not Char.IsDead(89@)
goto_if_false @LOWR_6478
43@ = Char.GetScriptTaskStatus(89@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_6478
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, True, True, False, -1)
Sequence.Close(49@)
Char.PerformSequence(89@, 49@)
Sequence.Clear(49@)

:LOWR_6478
goto @LOWR_8009

:LOWR_6485
if 
  not Char.IsDead(90@)
goto_if_false @LOWR_6785
43@ = Char.GetScriptTaskStatus(90@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_6785
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1786.719, -1915.878, 12.3942, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1796.179, -1919.465, 12.3928, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1786.719, -1915.878, 12.3942, MoveState.Walk, 60000)
Task.GoStraightToCoord(-1, 179@, 201@, 223@, MoveState.Walk, 60000)
if 
  not Char.IsDead(86@)
goto_if_false @LOWR_6726
Task.TurnCharToFaceChar(-1, 86@)

:LOWR_6726
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(90@, 49@)
Sequence.Clear(49@)

:LOWR_6785
goto @LOWR_8009

:LOWR_6792
if 
  not Char.IsDead(91@)
goto_if_false @LOWR_7110
43@ = Char.GetScriptTaskStatus(91@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_7110
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1800.367, -1917.394, 12.3938, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1789.057, -1917.901, 12.3936, MoveState.Walk, 60000)
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, False, True, True, False, -1)
Task.GoStraightToCoord(-1, 1788.526, -1907.294, 12.3955, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1796.478, -1908.174, 12.3983, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(91@, 49@)
Sequence.Clear(49@)

:LOWR_7110
goto @LOWR_8009

:LOWR_7117
if 
  not Char.IsDead(92@)
goto_if_false @LOWR_7394
43@ = Char.GetScriptTaskStatus(92@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_7394
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1787.672, -1908.567, 12.3949, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1786.719, -1917.107, 12.3942, MoveState.Walk, 60000)
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1787.672, -1908.567, 12.3949, MoveState.Walk, 60000)
Task.GoStraightToCoord(-1, 181@, 203@, 225@, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(92@, 49@)
Sequence.Clear(49@)

:LOWR_7394
goto @LOWR_8009

:LOWR_7401
if 
  not Char.IsDead(93@)
goto_if_false @LOWR_7503
43@ = Char.GetScriptTaskStatus(93@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_7503
49@ = Sequence.Open()
Task.PlayAnim(-1, "TAP_HAND", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(93@, 49@)
Sequence.Clear(49@)

:LOWR_7503
goto @LOWR_8009

:LOWR_7510
if 
  not Char.IsDead(94@)
goto_if_false @LOWR_7612
43@ = Char.GetScriptTaskStatus(94@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_7612
49@ = Sequence.Open()
Task.PlayAnim(-1, "TAP_HAND", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(94@, 49@)
Sequence.Clear(49@)

:LOWR_7612
goto @LOWR_8009

:LOWR_7619
43@ = 0

:LOWR_7626
if 
  7 > 43@
goto_if_false @LOWR_7819
if 
  Car.DoesExist(69@(43@,7i))
goto_if_false @LOWR_7805
if 
  not Car.IsDead(69@(43@,7i))
goto_if_false @LOWR_7775
if 
  Car.HasBeenDamagedByChar(69@(43@,7i), $stattreadstamina_ctr)
goto_if_false @LOWR_7768
44@ = Car.GetHealth(69@(43@,7i))
if 
  950 > 44@
goto_if_false @LOWR_7768
Text.PrintNow('LOW_32', 5000, 1)
127@ = 1
43@ = 7

:LOWR_7768
goto @LOWR_7805

:LOWR_7775
Text.PrintNow('LOW_32', 5000, 1)
127@ = 1
43@ = 7

:LOWR_7805
43@ += 1
goto @LOWR_7626

:LOWR_7819
goto @LOWR_8009

:LOWR_7826
43@ = 0

:LOWR_7833
if 
  22 > 43@
goto_if_false @LOWR_7995
if 
  Char.DoesExist(77@(43@,22i))
goto_if_false @LOWR_7981
if 
  not Char.IsDead(77@(43@,22i))
goto_if_false @LOWR_7951
if 
  Char.HasBeenDamagedByChar(77@(43@,22i), $stattreadstamina_ctr)
goto_if_false @LOWR_7944
Text.PrintNow('LOW_04', 5000, 1)
127@ = 1
43@ = 22

:LOWR_7944
goto @LOWR_7981

:LOWR_7951
Text.PrintNow('LOW_04', 5000, 1)
127@ = 1
43@ = 22

:LOWR_7981
43@ += 1
goto @LOWR_7833

:LOWR_7995
goto @LOWR_8009

:LOWR_8002
goto @LOWR_8009

:LOWR_8009
if 
  300 > 133@
goto_if_false @LOWR_8075
254@ = 1.0
257@ = 1.0
260@ = 0.0
263@ = 0.0
goto @LOWR_8148

:LOWR_8075
if 
  133@ > 500
goto_if_false @LOWR_8108
133@ = 0
goto @LOWR_8148

:LOWR_8108
254@ = 0.0
257@ = 0.0
260@ = 0.0
263@ = 0.0

:LOWR_8148
if 
  134@ > 2000
goto_if_false @LOWR_8222
283@ = Math.RandomIntInRange(0, 16)
gosub @LOWR_20104
set_lvar_float_to_lvar_float 255@ = 281@
set_lvar_float_to_lvar_float 258@ = 279@
set_lvar_float_to_lvar_float 261@ = 282@
set_lvar_float_to_lvar_float 264@ = 280@
134@ = 0

:LOWR_8222
if 
  135@ > 300
goto_if_false @LOWR_8296
283@ = Math.RandomIntInRange(0, 16)
gosub @LOWR_20104
set_lvar_float_to_lvar_float 256@ = 281@
set_lvar_float_to_lvar_float 259@ = 279@
set_lvar_float_to_lvar_float 262@ = 282@
set_lvar_float_to_lvar_float 265@ = 280@
135@ = 0

:LOWR_8296
if 
  not Car.IsDead(69@)
goto_if_false @LOWR_8438
if 
  Car.DoesHaveHydraulics(69@)
goto_if_false @LOWR_8438
Car.ControlHydraulics(69@, 257@, 263@, 254@, 260@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(69@)
set_lvar_float_to_lvar_float 50@ = 138@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 145@
sub_float_var_from_float_lvar 51@ -= $on_footZ
mult_float_lvar_by_float_lvar 50@ *= 269@
mult_float_lvar_by_float_lvar 51@ *= 269@
Car.ApplyForce(69@, 50@, 51@, 0.0, 0.0, 0.0, 0.0)

:LOWR_8438
if 
  not Car.IsDead(72@)
goto_if_false @LOWR_8580
if 
  Car.DoesHaveHydraulics(72@)
goto_if_false @LOWR_8580
Car.ControlHydraulics(72@, 258@, 264@, 255@, 261@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(72@)
set_lvar_float_to_lvar_float 50@ = 141@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 148@
sub_float_var_from_float_lvar 51@ -= $on_footZ
mult_float_lvar_by_float_lvar 50@ *= 269@
mult_float_lvar_by_float_lvar 51@ *= 269@
Car.ApplyForce(72@, 50@, 51@, 0.0, 0.0, 0.0, 0.0)

:LOWR_8580
if 
  not Car.IsDead(73@)
goto_if_false @LOWR_8722
if 
  Car.DoesHaveHydraulics(73@)
goto_if_false @LOWR_8722
Car.ControlHydraulics(73@, 259@, 265@, 256@, 262@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(73@)
set_lvar_float_to_lvar_float 50@ = 142@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 149@
sub_float_var_from_float_lvar 51@ -= $on_footZ
mult_float_lvar_by_float_lvar 50@ *= 269@
mult_float_lvar_by_float_lvar 51@ *= 269@
Car.ApplyForce(73@, 50@, 51@, 0.0, 0.0, 0.0, 0.0)

:LOWR_8722
goto @LOWR_9015

:LOWR_8729
if 
  127@ == 1
goto_if_false @LOWR_9015
43@ = 0

:LOWR_8754
if 
  12 > 43@
goto_if_false @LOWR_8815
if 
  not Char.IsDead(77@(43@,22i))
goto_if_false @LOWR_8801
Char.ClearTasksImmediately(77@(43@,22i))

:LOWR_8801
43@ += 1
goto @LOWR_8754

:LOWR_8815
if 
  37@ <> 1
goto_if_false @LOWR_8905
43@ = 0

:LOWR_8840
if 
  22 > 43@
goto_if_false @LOWR_8905
if 
  not Char.IsDead(77@(43@,22i))
goto_if_false @LOWR_8891
Char.SetRelationship(77@(43@,22i), RelationshipType.Hate, PedType.Player1)

:LOWR_8891
43@ += 1
goto @LOWR_8840

:LOWR_8905
43@ = 0

:LOWR_8912
if 
  22 > 43@
goto_if_false @LOWR_8953
Char.MarkAsNoLongerNeeded(77@(43@,22i))
43@ += 1
goto @LOWR_8912

:LOWR_8953
43@ = 0

:LOWR_8960
if 
  7 > 43@
goto_if_false @LOWR_9001
Car.MarkAsNoLongerNeeded(69@(43@,7i))
43@ += 1
goto @LOWR_8960

:LOWR_9001
37@ = 1
127@ += 1

:LOWR_9015
if 
  $intro1_chat > 120000
goto_if_false @LOWR_9066
Text.PrintNow('LOW_35', 5000, 1)
37@ = 1
goto @LOWR_9428

:LOWR_9066
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 1793.068, -1904.254, 12.3989, 4.0, 4.0, 4.0, True)
goto_if_false @LOWR_9403
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsLowRider($stealth_help_flag)
goto_if_false @LOWR_9355
if 
  Car.DoesHaveHydraulics($stealth_help_flag)
goto_if_false @LOWR_9307
43@ = Player.StoreScore($statbike_temp)
if 
  is_int_lvar_greater_or_equal_to_int_lvar 43@ >= 271@
goto_if_false @LOWR_9256
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)
35@ = 99
Player.SetControl($statbike_temp, False)
68@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Camera.DoFade(500, Fade.Out)

:LOWR_9225
if 
  Camera.GetFadingStatus
goto_if_false @LOWR_9249
wait 0
goto @LOWR_9225

:LOWR_9249
goto @LOWR_9300

:LOWR_9256
if 
  62@ == 0
goto_if_false @LOWR_9300
Text.PrintWithNumberNow('LOW_38', 271@, 5000, 1)
62@ += 1

:LOWR_9300
goto @LOWR_9348

:LOWR_9307
if 
  62@ == 0
goto_if_false @LOWR_9348
Text.PrintNow('LOW_36', 5000, 1)
62@ += 1

:LOWR_9348
goto @LOWR_9396

:LOWR_9355
if 
  62@ == 0
goto_if_false @LOWR_9396
Text.PrintNow('LOW_36', 5000, 1)
62@ += 1

:LOWR_9396
goto @LOWR_9428

:LOWR_9403
if 
  62@ <> 0
goto_if_false @LOWR_9428
62@ = 0

:LOWR_9428
if 
  35@ == 99
goto_if_false @LOWR_9453
gosub @LOWR_27196

:LOWR_9453
return 

:LOWR_9455
if 
  35@ == 0
goto_if_false @LOWR_10048
Camera.DoFade(500, Fade.Out)

:LOWR_9480
if 
  Camera.GetFadingStatus
goto_if_false @LOWR_9504
wait 0
goto @LOWR_9480

:LOWR_9504
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_9525
Car.ResetHydraulics(68@)

:LOWR_9525
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(1793.068, -1904.254, 12.3989, 30.0, True)
if 
  Blip.DoesExist(102@)
goto_if_false @LOWR_9584
Blip.Remove(102@)

:LOWR_9584
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_9630
Car.SetCoordinates(68@, 1793.068, -1904.254, 12.3989)
Car.SetHeading(68@, 171.6728)

:LOWR_9630
43@ = 0

:LOWR_9637
if 
  16 > 43@
goto_if_false @LOWR_9698
if 
  not Char.IsDead(77@(43@,22i))
goto_if_false @LOWR_9684
Char.ClearTasksImmediately(77@(43@,22i))

:LOWR_9684
43@ += 1
goto @LOWR_9637

:LOWR_9698
43@ = 0

:LOWR_9705
if 
  22 > 43@
goto_if_false @LOWR_9769
if 
  not Char.IsDead(77@(43@,22i))
goto_if_false @LOWR_9755
Char.SetDecisionMaker(77@(43@,22i), 66@)

:LOWR_9755
43@ += 1
goto @LOWR_9705

:LOWR_9769
43@ = 0

:LOWR_9776
if 
  16 > 43@
goto_if_false @LOWR_9874
if 
  not Char.IsDead(77@(43@,22i))
goto_if_false @LOWR_9860
Char.SetCoordinates(77@(43@,22i), 166@(43@,22f), 188@(43@,22f), 210@(43@,22f))
Char.SetHeading(77@(43@,22i), 232@(43@,22f))

:LOWR_9860
43@ += 1
goto @LOWR_9776

:LOWR_9874
43@ = 0

:LOWR_9881
if 
  7 > 43@
goto_if_false @LOWR_9979
if 
  not Car.IsDead(69@(43@,7i))
goto_if_false @LOWR_9965
Car.SetCoordinates(69@(43@,7i), 138@(43@,7f), 145@(43@,7f), 152@(43@,7f))
Car.SetHeading(69@(43@,7i), 159@(43@,7f))

:LOWR_9965
43@ += 1
goto @LOWR_9881

:LOWR_9979
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1796.749, -1916.961, 13.8583, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1796.125, -1916.181, 13.807, SwitchType.JumpCut)
35@ += 1

:LOWR_10048
if 
  35@ == 1
goto_if_false @LOWR_10073
35@ += 1

:LOWR_10073
if 
  35@ == 2
goto_if_false @LOWR_10231
if 
  not Char.IsDead(95@)
goto_if_false @LOWR_10231
Char.ClearTasksImmediately(95@)
Char.SetCoordinates(95@, 1792.631, -1909.274, 12.4371)
Char.SetHeading(95@, 331.0204)
Camera.SetFixedPosition(1793.816, -1910.713, 14.0346, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1793.453, -1909.801, 13.8451, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:LOWR_10200
if 
  Camera.GetFadingStatus
goto_if_false @LOWR_10224
wait 0
goto @LOWR_10200

:LOWR_10224
35@ += 1

:LOWR_10231
if 
  35@ == 3
goto_if_false @LOWR_10698
if 
  not Char.IsDead(95@)
goto_if_false @LOWR_10698
49@ = Sequence.Open()
Task.PlayAnim(-1, "PRTIAL_GNGTLKD", "LOWRIDER", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKE", "LOWRIDER", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKF", "LOWRIDER", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKG", "LOWRIDER", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(95@, 49@)
Sequence.Clear(49@)
43@ = Math.RandomIntInRange(0, 3)
switch_start 43@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @LOWR_10684 {caseNum1} 0 {caseLabel1} @LOWR_10540 {caseNum2} 1 {caseLabel2} @LOWR_10588 {caseNum3} 2 {caseLabel3} @LOWR_10636 {caseNum4} -1 {caseLabel4} @LOWR_10684 {caseNum5} -1 {caseLabel5} @LOWR_10684 {caseNum6} -1 {caseLabel6} @LOWR_10684 {caseNum7} -1 {caseLabel7} @LOWR_10684

:LOWR_10540
set_var_text_label s$bd_future_time_shown = 'LOWR_BA'
set_var_int_to_constant $bd_x = 22808
start_new_script @AUDIOL 95@ 0 1 1 0 
goto @LOWR_10684

:LOWR_10588
set_var_text_label s$bd_future_time_shown = 'LOWR_BB'
set_var_int_to_constant $bd_x = 22809
start_new_script @AUDIOL 95@ 0 1 1 0 
goto @LOWR_10684

:LOWR_10636
set_var_text_label s$bd_future_time_shown = 'LOWR_BC'
set_var_int_to_constant $bd_x = 22810
start_new_script @AUDIOL 95@ 0 1 1 0 
goto @LOWR_10684

:LOWR_10684
TIMERA = 0
35@ += 1

:LOWR_10698
if 
  35@ == 4
goto_if_false @LOWR_10812
if 
  TIMERA > 1000
goto_if_false @LOWR_10812
if or
  $audio_line_terminate_all == 0
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @LOWR_10812
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
35@ += 1
131@ = 1
if 
  not Char.IsDead(95@)
goto_if_false @LOWR_10812
Char.ClearTasks(95@)

:LOWR_10812
if 
  35@ == 5
goto_if_false @LOWR_10944
Text.ClearPrints
Hud.SwitchWidescreen(False)
Camera.SetFixedPosition(1793.485, -1907.354, 13.4436, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1793.129, -1908.289, 13.4481, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 273@ = 271@
set_lvar_int_to_lvar_int 43@ = 273@
43@ *= -1
Player.AddScore($statbike_temp, 43@)
Text.PrintHelpForever('LOW_37')
Text.UseCommands(True)
wait 1
35@ += 1

:LOWR_10944
if 
  35@ == 6
goto_if_false @LOWR_12355
if and
  Game.HasGameJustReturnedFromFrontend
  Game.HasLanguageChanged
goto_if_false @LOWR_10990
Text.ClearHelp
Text.PrintHelpForever('LOW_37')

:LOWR_10990
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @LOWR_11416
if and
  274@ <> 1
  274@ <> -1
goto_if_false @LOWR_11365
if 
  273@ >= 10000
goto_if_false @LOWR_11066
270@ = 1000
goto @LOWR_11170

:LOWR_11066
if 
  273@ >= 1000
goto_if_false @LOWR_11099
270@ = 100
goto @LOWR_11170

:LOWR_11099
if 
  273@ >= 100
goto_if_false @LOWR_11131
270@ = 10
goto @LOWR_11170

:LOWR_11131
if 
  273@ == 0
goto_if_false @LOWR_11163
270@ = 2
goto @LOWR_11170

:LOWR_11163
270@ = 1

:LOWR_11170
43@ = Player.StoreScore($statbike_temp)
if 
  is_int_lvar_greater_than_int_lvar 270@ > 43@
goto_if_false @LOWR_11205
set_lvar_int_to_lvar_int 270@ = 43@

:LOWR_11205
set_lvar_int_to_lvar_int 43@ = 273@
add_int_lvar_to_int_lvar 43@ += 270@
if 
  is_int_lvar_greater_than_int_lvar 43@ > 272@
goto_if_false @LOWR_11256
set_lvar_int_to_lvar_int 270@ = 272@
sub_int_lvar_from_int_lvar 270@ -= 273@

:LOWR_11256
if 
  0 > 270@
goto_if_false @LOWR_11281
270@ *= -1

:LOWR_11281
add_int_lvar_to_int_lvar 273@ += 270@
add_int_lvar_to_int_lvar 275@ += 270@
270@ *= -1
Player.AddScore($statbike_temp, 270@)
274@ += 1
if 
  274@ > 1
goto_if_false @LOWR_11351
274@ = 2
goto @LOWR_11358

:LOWR_11351
TIMERA = 0

:LOWR_11358
goto @LOWR_11409

:LOWR_11365
if 
  274@ == 1
goto_if_false @LOWR_11409
if 
  TIMERA > 500
goto_if_false @LOWR_11409
274@ = 2

:LOWR_11409
goto @LOWR_11808

:LOWR_11416
if 
  274@ <> 0
goto_if_false @LOWR_11441
274@ = 0

:LOWR_11441
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikelowmuscle_ctr)
goto_if_false @LOWR_11783
if 
  276@ <> 1
goto_if_false @LOWR_11750
if 
  273@ > 10000
goto_if_false @LOWR_11511
270@ = -1000
goto @LOWR_11583

:LOWR_11511
if 
  273@ > 1000
goto_if_false @LOWR_11544
270@ = -100
goto @LOWR_11583

:LOWR_11544
if 
  273@ > 100
goto_if_false @LOWR_11576
270@ = -10
goto @LOWR_11583

:LOWR_11576
270@ = -1

:LOWR_11583
set_lvar_int_to_lvar_int 43@ = 273@
add_int_lvar_to_int_lvar 273@ += 270@
if 
  is_int_lvar_greater_than_int_lvar 271@ > 273@
goto_if_false @LOWR_11640
273@ = 0
set_lvar_int_to_lvar_int 270@ = 43@
270@ *= -1

:LOWR_11640
if 
  is_int_lvar_greater_than_int_lvar 271@ > 273@
goto_if_false @LOWR_11674
set_lvar_int_to_lvar_int 273@ = 271@
goto @LOWR_11697

:LOWR_11674
270@ *= -1
sub_int_lvar_from_int_lvar 275@ -= 270@
Player.AddScore($statbike_temp, 270@)

:LOWR_11697
276@ += 1
if 
  276@ > 1
goto_if_false @LOWR_11736
276@ = 2
goto @LOWR_11743

:LOWR_11736
TIMERA = 0

:LOWR_11743
goto @LOWR_11776

:LOWR_11750
if 
  TIMERA > 500
goto_if_false @LOWR_11776
276@ = 2

:LOWR_11776
goto @LOWR_11808

:LOWR_11783
if 
  276@ <> 0
goto_if_false @LOWR_11808
276@ = 0

:LOWR_11808
gosub @LOWR_26741
if 
  131@ == 0
goto_if_false @LOWR_11885
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @LOWR_11878
cset_lvar_float_to_lvar_int 46@ =# 273@
46@ *= 0.1
Text.ClearHelp
35@ += 1

:LOWR_11878
goto @LOWR_11910

:LOWR_11885
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @LOWR_11910
131@ = 0

:LOWR_11910
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @LOWR_12355
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
if 
  Car.DoesExist(70@)
goto_if_false @LOWR_11964
Car.Delete(70@)

:LOWR_11964
if 
  Car.DoesExist(73@)
goto_if_false @LOWR_11985
Car.Delete(73@)

:LOWR_11985
if 
  Car.DoesExist(71@)
goto_if_false @LOWR_12006
Car.Delete(71@)

:LOWR_12006
if 
  Car.DoesExist(74@)
goto_if_false @LOWR_12027
Car.Delete(74@)

:LOWR_12027
if 
  Car.DoesExist(72@)
goto_if_false @LOWR_12048
Car.Delete(72@)

:LOWR_12048
if 
  Char.DoesExist(78@)
goto_if_false @LOWR_12069
Char.Delete(78@)

:LOWR_12069
if 
  Char.DoesExist(80@)
goto_if_false @LOWR_12090
Char.Delete(80@)

:LOWR_12090
if 
  Char.DoesExist(93@)
goto_if_false @LOWR_12111
Char.Delete(93@)

:LOWR_12111
if 
  Char.DoesExist(83@)
goto_if_false @LOWR_12132
Char.Delete(83@)

:LOWR_12132
if 
  Char.DoesExist(84@)
goto_if_false @LOWR_12153
Char.Delete(84@)

:LOWR_12153
if 
  Char.DoesExist(86@)
goto_if_false @LOWR_12174
Char.Delete(86@)

:LOWR_12174
if 
  Char.DoesExist(87@)
goto_if_false @LOWR_12195
Char.Delete(87@)

:LOWR_12195
if 
  Char.DoesExist(89@)
goto_if_false @LOWR_12216
Char.Delete(89@)

:LOWR_12216
if 
  Char.DoesExist(97@)
goto_if_false @LOWR_12237
Char.Delete(97@)

:LOWR_12237
if 
  Char.DoesExist(90@)
goto_if_false @LOWR_12258
Char.Delete(90@)

:LOWR_12258
if 
  not Char.IsDead(99@)
goto_if_false @LOWR_12317
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_12317
if 
  Char.IsInCar(99@, 68@)
goto_if_false @LOWR_12317
Task.LeaveCar(99@, 68@)

:LOWR_12317
Camera.DoFade(500, Fade.In)

:LOWR_12324
if 
  Camera.GetFadingStatus
goto_if_false @LOWR_12348
wait 0
goto @LOWR_12324

:LOWR_12348
37@ = 1

:LOWR_12355
if 
  35@ == 7
goto_if_false @LOWR_12384
Text.UseCommands(False)
35@ += 1

:LOWR_12384
if 
  35@ == 8
goto_if_false @LOWR_12409
35@ += 1

:LOWR_12409
if 
  35@ == 9
goto_if_false @LOWR_12434
35@ += 1

:LOWR_12434
if 
  35@ == 10
goto_if_false @LOWR_12511
if 
  TIMERA > 2000
goto_if_false @LOWR_12511
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:LOWR_12480
if 
  Camera.GetFadingStatus
goto_if_false @LOWR_12504
wait 0
goto @LOWR_12480

:LOWR_12504
35@ = 99

:LOWR_12511
if 
  37@ <> 1
goto_if_false @LOWR_12536
gosub @LOWR_21034

:LOWR_12536
if 
  35@ == 99
goto_if_false @LOWR_12561
gosub @LOWR_27196

:LOWR_12561
return 

:LOWR_12563
if 
  35@ == 0
goto_if_false @LOWR_12669
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearPrints
Camera.SetFixedPosition(1788.107, -1903.804, 13.3553, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1788.944, -1904.343, 13.2601, SwitchType.JumpCut)
Streaming.LoadScene(1788.944, -1904.343, 13.2601)
35@ += 1

:LOWR_12669
if 
  35@ == 1
goto_if_false @LOWR_15490
Streaming.RequestModel(114)
Streaming.RequestModel(115)
Streaming.RequestModel(116)
Streaming.RequestModel(63)
Streaming.RequestModel(41)
Streaming.RequestModel(567)
Streaming.RequestModel(534)
Streaming.RequestAnimation("LOWRIDER")
Streaming.LoadAllModelsNow

:LOWR_12731
if 
  not Streaming.HasModelLoaded(114)
goto_if_false @LOWR_12757
wait 0
goto @LOWR_12731

:LOWR_12757
if 
  not Streaming.HasModelLoaded(115)
goto_if_false @LOWR_12783
wait 0
goto @LOWR_12757

:LOWR_12783
if 
  not Streaming.HasModelLoaded(116)
goto_if_false @LOWR_12809
wait 0
goto @LOWR_12783

:LOWR_12809
if 
  not Streaming.HasModelLoaded(63)
goto_if_false @LOWR_12835
wait 0
goto @LOWR_12809

:LOWR_12835
if 
  not Streaming.HasModelLoaded(41)
goto_if_false @LOWR_12861
wait 0
goto @LOWR_12835

:LOWR_12861
if or
  not Streaming.HasModelLoaded(567)
  not Streaming.HasModelLoaded(534)
goto_if_false @LOWR_12893
wait 0
goto @LOWR_12861

:LOWR_12893
if 
  not Streaming.HasAnimationLoaded("LOWRIDER")
goto_if_false @LOWR_12927
wait 0
goto @LOWR_12893

:LOWR_12927
138@ = 1798.203
145@ = -1926.222
152@ = 12.3895
159@ = 73.1404
139@ = 1802.864
146@ = -1918.741
153@ = 12.3931
160@ = 357.6193
140@ = 1784.635
147@ = -1924.968
154@ = 12.3901
161@ = 305.062
141@ = 1784.188
148@ = -1913.439
155@ = 12.3923
162@ = 183.5814
142@ = 1792.318
149@ = -1919.513
156@ = 12.3928
163@ = 8.2504
143@ = 1801.462
150@ = -1905.691
157@ = 12.3995
164@ = 189.9314
144@ = 1787.642
151@ = -1901.136
158@ = 12.3949
165@ = 145.4181
166@ = 1800.0
188@ = -1907.83
210@ = 12.4398
232@ = 73.7198
167@ = 1799.846
189@ = -1912.124
211@ = 12.4582
233@ = 48.2386
168@ = 1800.086
190@ = -1910.434
212@ = 12.4372
234@ = 83.7398
169@ = 1801.321
191@ = -1916.427
213@ = 12.4343
235@ = 83.7398
170@ = 1798.541
192@ = -1922.18
214@ = 12.431
236@ = 46.5794
171@ = 1799.49
193@ = -1920.617
215@ = 12.4322
237@ = 46.5794
172@ = 1787.255
194@ = -1926.597
216@ = 12.4283
238@ = 323.6194
173@ = 1786.442
195@ = -1920.201
217@ = 12.4322
239@ = 306.1995
174@ = 1785.824
196@ = -1919.162
218@ = 12.4324
240@ = 294.6196
175@ = 1786.102
197@ = -1913.833
219@ = 12.4327
241@ = 280.7204
176@ = 1786.806
198@ = -1905.246
220@ = 12.4342
242@ = 262.8214
177@ = 1788.693
199@ = -1902.139
221@ = 12.4348
243@ = 247.161
178@ = 1794.616
200@ = -1899.608
222@ = 12.4398
244@ = 191.0618
179@ = 1799.135
201@ = -1902.488
223@ = 12.4431
245@ = 157.4622
180@ = 1795.674
202@ = -1899.569
224@ = 12.4407
246@ = 162.6424
181@ = 1800.369
203@ = -1907.003
225@ = 12.4403
247@ = 77.6197
182@ = 1800.826
204@ = -1917.325
226@ = 12.434
248@ = 36.1793
183@ = 1785.85
205@ = -1917.955
227@ = 12.4324
249@ = 287.0602
184@ = 1788.538
206@ = -1927.091
228@ = 12.428
250@ = 345.1206
185@ = 1787.323
207@ = -1904.11
229@ = 12.4337
251@ = 263.3813
186@ = 1798.39
208@ = -1901.733
230@ = 12.4429
252@ = 142.4208
$wheel_bl = -1
$wheel_fr = -1
269@ = 0.01
43@ = 0

:LOWR_14078
if 
  7 > 43@
goto_if_false @LOWR_14139
if 
  Car.DoesExist(69@(43@,7i))
goto_if_false @LOWR_14125
Car.Delete(69@(43@,7i))

:LOWR_14125
43@ += 1
goto @LOWR_14078

:LOWR_14139
43@ = 0

:LOWR_14146
if 
  22 > 43@
goto_if_false @LOWR_14207
if 
  Char.DoesExist(77@(43@,22i))
goto_if_false @LOWR_14193
Char.Delete(77@(43@,22i))

:LOWR_14193
43@ += 1
goto @LOWR_14146

:LOWR_14207
if 
  not Car.DoesExist(68@)
goto_if_false @LOWR_14268
68@ = Car.Create(567, 1793.496, -1907.423, 12.3992)
Car.SetHeading(68@, 181.5231)
Car.ResetHydraulics(68@)
goto @LOWR_14314

:LOWR_14268
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_14314
Car.SetCoordinates(68@, 1793.496, -1907.423, 12.3992)
Car.SetHeading(68@, 181.5231)

:LOWR_14314
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_14386
Char.WarpIntoCar($stattreadstamina_ctr, 68@)
Task.PlayAnim($stattreadstamina_ctr, "SIT_RELAXED", "LOWRIDER", 4.0, True, False, False, True, -1)

:LOWR_14386
69@ = Car.Create(534, 0.0, 0.0, 0.0)
70@ = Car.Create(567, 0.0, 0.0, 0.0)
71@ = Car.Create(567, 0.0, 0.0, 0.0)
72@ = Car.Create(567, 0.0, 0.0, 0.0)
73@ = Car.Create(534, 0.0, 0.0, 0.0)
74@ = Car.Create(567, 0.0, 0.0, 0.0)
75@ = Car.Create(534, 0.0, 0.0, 0.0)
Car.ChangeColor(69@, 1, 0)
Car.ChangeColor(70@, 2, 1)
Car.ChangeColor(71@, 3, 2)
Car.ChangeColor(72@, 10, 3)
Car.ChangeColor(73@, 9, 4)
Car.ChangeColor(74@, 6, 5)
Car.ChangeColor(75@, 7, 6)
43@ = 0

:LOWR_14617
if 
  7 > 43@
goto_if_false @LOWR_14717
Car.SetCoordinates(69@(43@,7i), 138@(43@,7f), 145@(43@,7f), 152@(43@,7f))
Car.SetHeading(69@(43@,7i), 159@(43@,7f))
Car.FreezePosition(69@(43@,7i), True)
Car.LockDoors(69@(43@,7i), CarLock.LockoutPlayerOnly)
43@ += 1
goto @LOWR_14617

:LOWR_14717
Car.FreezePosition(73@, False)
Car.SetStatus(73@, EntityStatus.Physics)
Car.SetHydraulics(73@, True)
Car.SetOnlyDamagedByPlayer(73@, True)
Car.SetProofs(73@, True, True, True, True, True)
77@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
78@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
79@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
80@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
81@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
82@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
83@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
84@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
85@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
86@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
87@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
88@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
89@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
90@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
91@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
92@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
93@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
94@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
95@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
96@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
97@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
98@ = Char.CreateInsideCar(73@, PedType.Mission1, 116)
43@ = 0

:LOWR_15283
if 
  21 > 43@
goto_if_false @LOWR_15361
Char.SetCoordinates(77@(43@,22i), 166@(43@,22f), 188@(43@,22f), 210@(43@,22f))
Char.SetHeading(77@(43@,22i), 232@(43@,22f))
43@ += 1
goto @LOWR_15283

:LOWR_15361
99@ = Char.Create(PedType.Mission1, 63, 1788.273, -1903.364, 12.4345)
Char.SetHeading(99@, 232.5412)
if 
  $6476 == 0
goto_if_false @LOWR_15431
Audio.PreloadBeatTrack(13)
$6476 += 1
goto @LOWR_15442

:LOWR_15431
Audio.PreloadBeatTrack(0)
$6476 = 0

:LOWR_15442
43@ = 0

:LOWR_15449
if 
  not is_int_lvar_equal_to_constant 43@ == 2
goto_if_false @LOWR_15483
wait 0
43@ = Audio.GetBeatTrackStatus()
goto @LOWR_15449

:LOWR_15483
35@ += 1

:LOWR_15490
if 
  35@ == 2
goto_if_false @LOWR_15614
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @LOWR_15614
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @LOWR_15581
if 
  not Car.IsPassengerSeatFree($stealth_help_flag, SeatIndex.FrontRight)
goto_if_false @LOWR_15581
277@ = Car.GetCharInPassengerSeat($stealth_help_flag, 0)
Char.Delete(277@)

:LOWR_15581
if 
  not Char.IsDead(99@)
goto_if_false @LOWR_15614
Char.WarpIntoCarAsPassenger(99@, $stealth_help_flag, 0)
35@ += 1

:LOWR_15614
if 
  35@ == 3
goto_if_false @LOWR_16185
Hud.SwitchWidescreen(False)
Camera.SetFixedPosition(1788.516, -1910.318, 14.8901, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1789.355, -1909.843, 14.6269, SwitchType.JumpCut)
Hud.DisplayRadar(False)
Hud.Display(False)
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_15740
Car.LockDoors(68@, CarLock.LockedPlayerInside)
Player.ApplyBrakesToCar($statbike_temp, True)
Car.SetProofs(68@, True, True, True, True, True)

:LOWR_15740
266@ = 0.62
267@ = 0.31
268@ = -0.167
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_15852
if 
  not Char.IsDead(99@)
goto_if_false @LOWR_15852
if 
  Car.IsModel(68@, 567)
goto_if_false @LOWR_15852
Char.ClearTasksImmediately(99@)
Char.AttachToCar(99@, 68@, 266@, 267@, 268@, 0, 0.0, WeaponType.Unarmed)

:LOWR_15852
49@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_HAIR", "LOWRIDER", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_HURRY", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(49@)
if 
  not Char.IsDead(99@)
goto_if_false @LOWR_15987
if 
  Char.IsAttachedToAnyCar(99@)
goto_if_false @LOWR_15987
Char.PerformSequence(99@, 49@)

:LOWR_15987
Sequence.Clear(49@)
TIMERA = 0
$wheel_bl = -1
$wheel_fr = -1
if 
  1 > $wheel_br
goto_if_false @LOWR_16038
$wheel_br = 1

:LOWR_16038
cset_lvar_float_to_lvar_int 46@ =# 273@
cset_lvar_float_to_lvar_int 47@ =# 272@
div_float_lvar_by_float_lvar 46@ /= 47@
46@ *= 4.0
cset_lvar_int_to_lvar_float 43@ =# 46@
add_int_lvar_to_int_var $wheel_br += 43@
if 
  $wheel_br > 5
goto_if_false @LOWR_16113
$wheel_br = 5

:LOWR_16113
if 
  1 > $wheel_br
goto_if_false @LOWR_16138
$wheel_br = 1

:LOWR_16138
wait 500
Camera.DoFade(500, Fade.In)

:LOWR_16150
if 
  Camera.GetFadingStatus
goto_if_false @LOWR_16174
wait 0
goto @LOWR_16150

:LOWR_16174
Text.ClearPrints
Audio.PlayBeatTrack
35@ += 1

:LOWR_16185
if 
  35@ == 4
goto_if_false @LOWR_16299
Player.SetControl($statbike_temp, True)
start_new_script @BDISPLY 
start_new_script @LOWGAME 68@ 73@ 99@ 
TIMERA = 0
136@ = 0
130@ = 0
Text.ClearPrints
Text.ClearHelp
Text.PrintHelp('LOW_26')
65@ = 0
63@ = 0
TIMERA = 0
35@ += 1

:LOWR_16299
if 
  35@ == 5
goto_if_false @LOWR_16342
if 
  $lowrider_last_level == 1
goto_if_false @LOWR_16342
35@ += 1

:LOWR_16342
if 
  35@ == 6
goto_if_false @LOWR_17508
if 
  $lowrider_last_level == 1
goto_if_false @LOWR_17501
if 
  132@ == 0
goto_if_false @LOWR_16819
if or
  136@ > 5000
  Pad.IsButtonPressed(PadId.Pad1, Button.Select)
goto_if_false @LOWR_16812
130@ += 1
if 
  130@ >= 5
goto_if_false @LOWR_16453
130@ = 0

:LOWR_16453
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_16483
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(68@)

:LOWR_16483
if 
  130@ == 0
goto_if_false @LOWR_16546
Camera.SetFixedPosition(1803.978, -1909.369, 15.0671, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:LOWR_16546
if 
  130@ == 1
goto_if_false @LOWR_16609
Camera.SetFixedPosition(1795.369, -1900.999, 14.1795, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:LOWR_16609
if 
  130@ == 2
goto_if_false @LOWR_16672
Camera.SetFixedPosition(1788.793, -1902.99, 13.7203, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:LOWR_16672
if 
  130@ == 3
goto_if_false @LOWR_16735
Camera.SetFixedPosition(1789.377, -1912.195, 14.0671, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:LOWR_16735
if 
  130@ == 4
goto_if_false @LOWR_16798
Camera.SetFixedPosition(1796.409, -1912.231, 13.8316, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:LOWR_16798
132@ += 1
136@ = 0

:LOWR_16812
goto @LOWR_16843

:LOWR_16819
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Select)
goto_if_false @LOWR_16843
132@ = 0

:LOWR_16843
if 
is_ps2_keyboard_key_just_pressed 67
goto_if_false @LOWR_17494
$on_footY, $on_footZ, $in_carX = Camera.GetActiveCoordinates()
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_16907
56@, 57@, 58@ = Car.GetCoordinates(68@)
$on_footX = Car.GetHeading(68@)

:LOWR_16907
$on_footX *= -1.0
46@ = Math.Cos($on_footX)
47@ = Math.Sin($on_footX)
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 56@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 57@
set_lvar_float_to_var_float 52@ = $in_carX
sub_float_lvar_from_float_lvar 52@ -= 58@
set_lvar_float_to_lvar_float 53@ = 50@
mult_float_lvar_by_float_lvar 53@ *= 46@
set_lvar_float_to_lvar_float 48@ = 51@
mult_float_lvar_by_float_lvar 48@ *= 47@
sub_float_lvar_from_float_lvar 53@ -= 48@
set_lvar_float_to_lvar_float 54@ = 50@
mult_float_lvar_by_float_lvar 54@ *= 47@
set_lvar_float_to_lvar_float 48@ = 51@
mult_float_lvar_by_float_lvar 48@ *= 46@
add_float_lvar_to_float_lvar 54@ += 48@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("FIXED_CAMERA_POSITION - OFFSET FROM CAR = ")
save_float_to_debug_file 53@
save_float_to_debug_file 54@
save_float_to_debug_file 52@
$on_footY, $on_footZ, $in_carX = Camera.GetActivePointAt()
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 56@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 57@
set_lvar_float_to_var_float 52@ = $in_carX
sub_float_lvar_from_float_lvar 52@ -= 58@
set_lvar_float_to_lvar_float 53@ = 50@
mult_float_lvar_by_float_lvar 53@ *= 46@
set_lvar_float_to_lvar_float 48@ = 51@
mult_float_lvar_by_float_lvar 48@ *= 47@
sub_float_lvar_from_float_lvar 53@ -= 48@
set_lvar_float_to_lvar_float 54@ = 50@
mult_float_lvar_by_float_lvar 54@ *= 47@
set_lvar_float_to_lvar_float 48@ = 51@
mult_float_lvar_by_float_lvar 48@ *= 46@
add_float_lvar_to_float_lvar 54@ += 48@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CAMERA_POINT_AT -       OFFSET FROM CAR = ")
save_float_to_debug_file 53@
save_float_to_debug_file 54@
save_float_to_debug_file 52@

:LOWR_17494
goto @LOWR_17508

:LOWR_17501
35@ += 1

:LOWR_17508
if 
  35@ == 7
goto_if_false @LOWR_17571
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:LOWR_17540
if 
  Camera.GetFadingStatus
goto_if_false @LOWR_17564
wait 0
goto @LOWR_17540

:LOWR_17564
35@ = 99

:LOWR_17571
gosub @LOWR_23878
if 
  35@ == 99
goto_if_false @LOWR_17603
gosub @LOWR_27196

:LOWR_17603
return 

:LOWR_17605
if 
  35@ == 0
goto_if_false @LOWR_17643
Audio.StopBeatTrack
Text.ClearPrints
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, False)
35@ += 1

:LOWR_17643
if 
  35@ == 1
goto_if_false @LOWR_19112
43@ = 0

:LOWR_17668
if 
  7 > 43@
goto_if_false @LOWR_17729
if 
  Car.DoesExist(69@(43@,7i))
goto_if_false @LOWR_17715
Car.Delete(69@(43@,7i))

:LOWR_17715
43@ += 1
goto @LOWR_17668

:LOWR_17729
43@ = 0

:LOWR_17736
if 
  22 > 43@
goto_if_false @LOWR_17797
if 
  Char.DoesExist(77@(43@,22i))
goto_if_false @LOWR_17783
Char.Delete(77@(43@,22i))

:LOWR_17783
43@ += 1
goto @LOWR_17736

:LOWR_17797
if 
  Char.DoesExist(99@)
goto_if_false @LOWR_17818
Char.Delete(99@)

:LOWR_17818
if 
  not Car.DoesExist(68@)
goto_if_false @LOWR_17874
68@ = Car.Create(567, 1793.496, -1907.423, 12.3992)
Car.SetHeading(68@, 181.5231)
goto @LOWR_17920

:LOWR_17874
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_17920
Car.SetCoordinates(68@, 1793.496, -1907.423, 12.3992)
Car.SetHeading(68@, 181.5231)

:LOWR_17920
69@ = Car.Create(534, 0.0, 0.0, 0.0)
70@ = Car.Create(567, 0.0, 0.0, 0.0)
71@ = Car.Create(567, 0.0, 0.0, 0.0)
72@ = Car.Create(567, 0.0, 0.0, 0.0)
73@ = Car.Create(534, 0.0, 0.0, 0.0)
74@ = Car.Create(567, 0.0, 0.0, 0.0)
75@ = Car.Create(534, 0.0, 0.0, 0.0)
Car.ChangeColor(69@, 1, 0)
Car.ChangeColor(70@, 2, 1)
Car.ChangeColor(71@, 3, 2)
Car.ChangeColor(72@, 10, 3)
Car.ChangeColor(73@, 9, 4)
Car.ChangeColor(74@, 6, 5)
Car.ChangeColor(75@, 7, 6)
43@ = 0

:LOWR_18151
if 
  7 > 43@
goto_if_false @LOWR_18251
Car.SetCoordinates(69@(43@,7i), 138@(43@,7f), 145@(43@,7f), 152@(43@,7f))
Car.SetHeading(69@(43@,7i), 159@(43@,7f))
Car.FreezePosition(69@(43@,7i), True)
Car.LockDoors(69@(43@,7i), CarLock.LockoutPlayerOnly)
43@ += 1
goto @LOWR_18151

:LOWR_18251
Car.FreezePosition(73@, False)
Car.SetStatus(73@, EntityStatus.Physics)
Car.SetHydraulics(73@, True)
Car.SetOnlyDamagedByPlayer(73@, True)
Car.SetProofs(73@, True, True, True, True, True)
77@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
78@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
79@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
80@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
81@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
82@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
83@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
84@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
85@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
86@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
87@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
88@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
89@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
90@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
91@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
92@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
93@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
94@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
95@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
96@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
97@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
98@ = Char.CreateInsideCar(73@, PedType.Mission1, 116)
43@ = 0

:LOWR_18817
if 
  21 > 43@
goto_if_false @LOWR_18895
Char.SetCoordinates(77@(43@,22i), 166@(43@,22f), 188@(43@,22f), 210@(43@,22f))
Char.SetHeading(77@(43@,22i), 232@(43@,22f))
43@ += 1
goto @LOWR_18817

:LOWR_18895
99@ = Char.Create(PedType.Mission1, 63, 1788.273, -1903.364, 12.4345)
Char.SetHeading(99@, 232.5412)
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_19009
Car.ResetHydraulics(68@)
if 
  not Car.IsPassengerSeatFree(68@, SeatIndex.FrontRight)
goto_if_false @LOWR_18983
277@ = Car.GetCharInPassengerSeat(68@, 0)
Char.Delete(277@)

:LOWR_18983
if 
  not Char.IsDead(99@)
goto_if_false @LOWR_19009
Char.WarpIntoCarAsPassenger(99@, 68@, 0)

:LOWR_19009
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_19081
Char.WarpIntoCar($stattreadstamina_ctr, 68@)
Task.PlayAnim($stattreadstamina_ctr, "SIT_RELAXED", "LOWRIDER", 4.0, True, False, False, True, -1)

:LOWR_19081
Streaming.LoadSceneInDirection(1793.0, -1908.0, 14.0, 180.0)
Streaming.LoadAllModelsNow
35@ = 99

:LOWR_19112
if 
  35@ == 99
goto_if_false @LOWR_19751
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Streaming.LoadSceneInDirection(1793.0, -1908.0, 14.0, 180.0)
Streaming.LoadAllModelsNow
wait 500
if 
  Car.DoesExist(70@)
goto_if_false @LOWR_19195
Car.Delete(70@)

:LOWR_19195
if 
  Car.DoesExist(73@)
goto_if_false @LOWR_19216
Car.Delete(73@)

:LOWR_19216
if 
  Car.DoesExist(71@)
goto_if_false @LOWR_19237
Car.Delete(71@)

:LOWR_19237
if 
  Car.DoesExist(74@)
goto_if_false @LOWR_19258
Car.Delete(74@)

:LOWR_19258
if 
  Car.DoesExist(72@)
goto_if_false @LOWR_19279
Car.Delete(72@)

:LOWR_19279
if 
  Char.DoesExist(78@)
goto_if_false @LOWR_19300
Char.Delete(78@)

:LOWR_19300
if 
  Char.DoesExist(80@)
goto_if_false @LOWR_19321
Char.Delete(80@)

:LOWR_19321
if 
  Char.DoesExist(93@)
goto_if_false @LOWR_19342
Char.Delete(93@)

:LOWR_19342
if 
  Char.DoesExist(83@)
goto_if_false @LOWR_19363
Char.Delete(83@)

:LOWR_19363
if 
  Char.DoesExist(84@)
goto_if_false @LOWR_19384
Char.Delete(84@)

:LOWR_19384
if 
  Char.DoesExist(86@)
goto_if_false @LOWR_19405
Char.Delete(86@)

:LOWR_19405
if 
  Char.DoesExist(87@)
goto_if_false @LOWR_19426
Char.Delete(87@)

:LOWR_19426
if 
  Char.DoesExist(89@)
goto_if_false @LOWR_19447
Char.Delete(89@)

:LOWR_19447
if 
  Char.DoesExist(97@)
goto_if_false @LOWR_19468
Char.Delete(97@)

:LOWR_19468
if 
  Char.DoesExist(90@)
goto_if_false @LOWR_19489
Char.Delete(90@)

:LOWR_19489
if 
  not Char.IsDead(81@)
goto_if_false @LOWR_19534
if 
  not Car.IsDead(69@)
goto_if_false @LOWR_19534
Char.ClearTasksImmediately(81@)
Char.WarpIntoCar(81@, 69@)

:LOWR_19534
if 
  not Char.IsDead(88@)
goto_if_false @LOWR_19579
if 
  not Car.IsDead(75@)
goto_if_false @LOWR_19579
Char.ClearTasksImmediately(88@)
Char.WarpIntoCar(88@, 75@)

:LOWR_19579
if 
  not Char.IsDead(99@)
goto_if_false @LOWR_19619
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_19619
Task.LeaveCar(99@, 68@)

:LOWR_19619
Camera.DoFade(500, Fade.In)

:LOWR_19626
if 
  Camera.GetFadingStatus
goto_if_false @LOWR_19650
wait 0
goto @LOWR_19626

:LOWR_19650
if 
  is_int_var_greater_than_int_var $lowrider_opposition_skill > $wheel_fl
goto_if_false @LOWR_19717
273@ *= 2
Text.PrintWithNumberBig('WINNER', 273@, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 273@)
36@ = 1
goto @LOWR_19740

:LOWR_19717
Text.PrintNow('LOW_33', 5000, 1)
37@ = 1

:LOWR_19740
wait 0
gosub @LOWR_27196

:LOWR_19751
gosub @LOWR_23878
return 

:LOWR_19760
if 
is_ps2_keyboard_key_just_pressed 52
goto_if_false @LOWR_19785
269@ += 0.01

:LOWR_19785
if 
is_ps2_keyboard_key_just_pressed 53
goto_if_false @LOWR_19810
269@ += -0.01

:LOWR_19810
if 
  Car.DoesExist(68@)
goto_if_false @LOWR_19865
if 
  Car.IsDead(68@)
goto_if_false @LOWR_19865
Text.PrintNow('LOW_34', 5000, 1)
37@ = 1

:LOWR_19865
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LOWR_20042
if 
  34@ > 2
goto_if_false @LOWR_20042
if 
  278@ == 0
goto_if_false @LOWR_19983
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1793.068, -1904.254, 125.0, 125.0, False)
goto_if_false @LOWR_19976
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
278@ = 1

:LOWR_19976
goto @LOWR_20042

:LOWR_19983
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 1793.068, -1904.254, 150.0, 150.0, False)
goto_if_false @LOWR_20042
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
278@ = 0

:LOWR_20042
return 
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_20102
if 
  not Char.IsDead(99@)
goto_if_false @LOWR_20102
Char.AttachToCar(99@, 68@, 266@, 267@, 268@, 0, 0.0, WeaponType.Unarmed)

:LOWR_20102
return 

:LOWR_20104
if 
  283@ == 0
goto_if_false @LOWR_20162
279@ = 0.0
280@ = 0.0
281@ = 0.0
282@ = 0.0

:LOWR_20162
if 
  283@ == 1
goto_if_false @LOWR_20220
279@ = 0.0
280@ = 0.0
281@ = 0.0
282@ = 1.0

:LOWR_20220
if 
  283@ == 2
goto_if_false @LOWR_20278
279@ = 0.0
280@ = 0.0
281@ = 1.0
282@ = 0.0

:LOWR_20278
if 
  283@ == 3
goto_if_false @LOWR_20336
279@ = 0.0
280@ = 0.0
281@ = 1.0
282@ = 1.0

:LOWR_20336
if 
  283@ == 4
goto_if_false @LOWR_20394
279@ = 0.0
280@ = 1.0
281@ = 0.0
282@ = 0.0

:LOWR_20394
if 
  283@ == 5
goto_if_false @LOWR_20452
279@ = 0.0
280@ = 1.0
281@ = 0.0
282@ = 1.0

:LOWR_20452
if 
  283@ == 6
goto_if_false @LOWR_20510
279@ = 0.0
280@ = 1.0
281@ = 1.0
282@ = 0.0

:LOWR_20510
if 
  283@ == 7
goto_if_false @LOWR_20568
279@ = 0.0
280@ = 1.0
281@ = 1.0
282@ = 1.0

:LOWR_20568
if 
  283@ == 8
goto_if_false @LOWR_20626
279@ = 1.0
280@ = 0.0
281@ = 0.0
282@ = 0.0

:LOWR_20626
if 
  283@ == 9
goto_if_false @LOWR_20684
279@ = 1.0
280@ = 0.0
281@ = 0.0
282@ = 1.0

:LOWR_20684
if 
  283@ == 10
goto_if_false @LOWR_20742
279@ = 1.0
280@ = 0.0
281@ = 1.0
282@ = 0.0

:LOWR_20742
if 
  283@ == 11
goto_if_false @LOWR_20800
279@ = 1.0
280@ = 0.0
281@ = 1.0
282@ = 1.0

:LOWR_20800
if 
  283@ == 12
goto_if_false @LOWR_20858
279@ = 1.0
280@ = 1.0
281@ = 0.0
282@ = 0.0

:LOWR_20858
if 
  283@ == 13
goto_if_false @LOWR_20916
279@ = 1.0
280@ = 1.0
281@ = 0.0
282@ = 1.0

:LOWR_20916
if 
  283@ == 14
goto_if_false @LOWR_20974
279@ = 1.0
280@ = 1.0
281@ = 1.0
282@ = 0.0

:LOWR_20974
if 
  283@ == 15
goto_if_false @LOWR_21032
279@ = 1.0
280@ = 1.0
281@ = 1.0
282@ = 1.0

:LOWR_21032
return 

:LOWR_21034
if 
  300 > 133@
goto_if_false @LOWR_21100
254@ = 1.0
257@ = 1.0
260@ = 0.0
263@ = 0.0
goto @LOWR_21173

:LOWR_21100
if 
  133@ > 500
goto_if_false @LOWR_21133
133@ = 0
goto @LOWR_21173

:LOWR_21133
254@ = 0.0
257@ = 0.0
260@ = 0.0
263@ = 0.0

:LOWR_21173
if 
  134@ > 2000
goto_if_false @LOWR_21247
283@ = Math.RandomIntInRange(0, 16)
gosub @LOWR_20104
set_lvar_float_to_lvar_float 255@ = 281@
set_lvar_float_to_lvar_float 258@ = 279@
set_lvar_float_to_lvar_float 261@ = 282@
set_lvar_float_to_lvar_float 264@ = 280@
134@ = 0

:LOWR_21247
if 
  not Car.IsDead(69@)
goto_if_false @LOWR_21389
if 
  Car.DoesHaveHydraulics(69@)
goto_if_false @LOWR_21389
Car.ControlHydraulics(69@, 257@, 263@, 254@, 260@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(69@)
set_lvar_float_to_lvar_float 50@ = 138@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 145@
sub_float_var_from_float_lvar 51@ -= $on_footZ
mult_float_lvar_by_float_lvar 50@ *= 269@
mult_float_lvar_by_float_lvar 51@ *= 269@
Car.ApplyForce(69@, 50@, 51@, 0.0, 0.0, 0.0, 0.0)

:LOWR_21389
if 
  not Car.IsDead(72@)
goto_if_false @LOWR_21531
if 
  Car.DoesHaveHydraulics(72@)
goto_if_false @LOWR_21531
Car.ControlHydraulics(72@, 258@, 264@, 255@, 261@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(72@)
set_lvar_float_to_lvar_float 50@ = 141@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 148@
sub_float_var_from_float_lvar 51@ -= $on_footZ
mult_float_lvar_by_float_lvar 50@ *= 269@
mult_float_lvar_by_float_lvar 51@ *= 269@
Car.ApplyForce(72@, 50@, 51@, 0.0, 0.0, 0.0, 0.0)

:LOWR_21531
switch_start 39@ {numCases} 18 {hasDefaultCase} 0 {defaultLabel} @LOWR_23876 {caseNum1} 0 {caseLabel1} @LOWR_21724 {caseNum2} 1 {caseLabel2} @LOWR_21844 {caseNum3} 2 {caseLabel3} @LOWR_21964 {caseNum4} 3 {caseLabel4} @LOWR_22080 {caseNum5} 4 {caseLabel5} @LOWR_22196 {caseNum6} 5 {caseLabel6} @LOWR_22311 {caseNum7} 6 {caseLabel7} @LOWR_22427
switch_continued 7 {caseLabel1} @LOWR_22543 {caseNum2} 8 {caseLabel2} @LOWR_22659 {caseNum3} 9 {caseLabel3} @LOWR_22775 {caseNum4} 10 {caseLabel4} @LOWR_22895 {caseNum5} 11 {caseLabel5} @LOWR_23078 {caseNum6} 12 {caseLabel6} @LOWR_23194 {caseNum7} 13 {caseLabel7} @LOWR_23310 {caseNum8} 14 {caseLabel8} @LOWR_23426 {caseNum9} 15 {caseLabel9} @LOWR_23542
switch_continued 16 {caseLabel1} @LOWR_23658 {caseNum2} 17 {caseLabel2} @LOWR_23767 {caseNum3} -1 {caseLabel3} @LOWR_23876 {caseNum4} -1 {caseLabel4} @LOWR_23876 {caseNum5} -1 {caseLabel5} @LOWR_23876 {caseNum6} -1 {caseLabel6} @LOWR_23876 {caseNum7} -1 {caseLabel7} @LOWR_23876 {caseNum8} -1 {caseLabel8} @LOWR_23876 {caseNum9} -1 {caseLabel9} @LOWR_23876

:LOWR_21724
if 
  not Char.IsDead(77@)
goto_if_false @LOWR_21837
43@ = Char.GetScriptTaskStatus(77@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_21837
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(77@, 49@)
Sequence.Clear(49@)

:LOWR_21837
goto @LOWR_23876

:LOWR_21844
if 
  not Char.IsDead(78@)
goto_if_false @LOWR_21957
43@ = Char.GetScriptTaskStatus(78@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_21957
49@ = Sequence.Open()
Task.PlayAnim(-1, "F_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(78@, 49@)
Sequence.Clear(49@)

:LOWR_21957
goto @LOWR_23876

:LOWR_21964
if 
  not Char.IsDead(79@)
goto_if_false @LOWR_22073
43@ = Char.GetScriptTaskStatus(79@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_22073
49@ = Sequence.Open()
if 
  not Char.IsDead(80@)
goto_if_false @LOWR_22048
Task.ChatWithChar(-1, 80@, True, 1)
goto @LOWR_22055

:LOWR_22048
Task.Pause(-1, 1000)

:LOWR_22055
Sequence.Close(49@)
Char.PerformSequence(79@, 49@)
Sequence.Clear(49@)

:LOWR_22073
goto @LOWR_23876

:LOWR_22080
if 
  not Char.IsDead(80@)
goto_if_false @LOWR_22189
43@ = Char.GetScriptTaskStatus(80@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_22189
49@ = Sequence.Open()
if 
  not Char.IsDead(79@)
goto_if_false @LOWR_22164
Task.ChatWithChar(-1, 79@, False, 1)
goto @LOWR_22171

:LOWR_22164
Task.Pause(-1, 1000)

:LOWR_22171
Sequence.Close(49@)
Char.PerformSequence(80@, 49@)
Sequence.Clear(49@)

:LOWR_22189
goto @LOWR_23876

:LOWR_22196
if 
  not Char.IsDead(81@)
goto_if_false @LOWR_22304
43@ = Char.GetScriptTaskStatus(81@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_22304
49@ = Sequence.Open()
Task.PlayAnim(-1, "CAR_HOOKERTALK", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(81@, 49@)
Sequence.Clear(49@)

:LOWR_22304
goto @LOWR_23876

:LOWR_22311
if 
  not Char.IsDead(82@)
goto_if_false @LOWR_22420
43@ = Char.GetScriptTaskStatus(82@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_22420
49@ = Sequence.Open()
if 
  not Char.IsDead(83@)
goto_if_false @LOWR_22395
Task.ChatWithChar(-1, 83@, False, 1)
goto @LOWR_22402

:LOWR_22395
Task.Pause(-1, 1000)

:LOWR_22402
Sequence.Close(49@)
Char.PerformSequence(82@, 49@)
Sequence.Clear(49@)

:LOWR_22420
goto @LOWR_23876

:LOWR_22427
if 
  not Char.IsDead(83@)
goto_if_false @LOWR_22536
43@ = Char.GetScriptTaskStatus(83@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_22536
49@ = Sequence.Open()
if 
  not Char.IsDead(82@)
goto_if_false @LOWR_22511
Task.ChatWithChar(-1, 82@, True, 1)
goto @LOWR_22518

:LOWR_22511
Task.Pause(-1, 1000)

:LOWR_22518
Sequence.Close(49@)
Char.PerformSequence(83@, 49@)
Sequence.Clear(49@)

:LOWR_22536
goto @LOWR_23876

:LOWR_22543
if 
  not Char.IsDead(84@)
goto_if_false @LOWR_22652
43@ = Char.GetScriptTaskStatus(84@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_22652
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(84@, 49@)
Sequence.Clear(49@)

:LOWR_22652
goto @LOWR_23876

:LOWR_22659
if 
  not Char.IsDead(85@)
goto_if_false @LOWR_22768
43@ = Char.GetScriptTaskStatus(85@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_22768
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(85@, 49@)
Sequence.Clear(49@)

:LOWR_22768
goto @LOWR_23876

:LOWR_22775
if 
  not Char.IsDead(86@)
goto_if_false @LOWR_22888
43@ = Char.GetScriptTaskStatus(86@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_22888
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(86@, 49@)
Sequence.Clear(49@)

:LOWR_22888
goto @LOWR_23876

:LOWR_22895
if 
  not Char.IsDead(87@)
goto_if_false @LOWR_23071
43@ = Char.GetScriptTaskStatus(87@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_23071
49@ = Sequence.Open()
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "FUCKU", "PED", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "WOMAN_IDLESTANCE", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(87@, 49@)
Sequence.Clear(49@)

:LOWR_23071
goto @LOWR_23876

:LOWR_23078
if 
  not Char.IsDead(88@)
goto_if_false @LOWR_23187
43@ = Char.GetScriptTaskStatus(88@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_23187
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(88@, 49@)
Sequence.Clear(49@)

:LOWR_23187
goto @LOWR_23876

:LOWR_23194
if 
  not Char.IsDead(89@)
goto_if_false @LOWR_23303
43@ = Char.GetScriptTaskStatus(89@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_23303
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, True, True, False, -1)
Sequence.Close(49@)
Char.PerformSequence(89@, 49@)
Sequence.Clear(49@)

:LOWR_23303
goto @LOWR_23876

:LOWR_23310
if 
  not Char.IsDead(90@)
goto_if_false @LOWR_23419
43@ = Char.GetScriptTaskStatus(90@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_23419
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(90@, 49@)
Sequence.Clear(49@)

:LOWR_23419
goto @LOWR_23876

:LOWR_23426
if 
  not Char.IsDead(91@)
goto_if_false @LOWR_23535
43@ = Char.GetScriptTaskStatus(91@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_23535
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(91@, 49@)
Sequence.Clear(49@)

:LOWR_23535
goto @LOWR_23876

:LOWR_23542
if 
  not Char.IsDead(92@)
goto_if_false @LOWR_23651
43@ = Char.GetScriptTaskStatus(92@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_23651
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(92@, 49@)
Sequence.Clear(49@)

:LOWR_23651
goto @LOWR_23876

:LOWR_23658
if 
  not Char.IsDead(93@)
goto_if_false @LOWR_23760
43@ = Char.GetScriptTaskStatus(93@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_23760
49@ = Sequence.Open()
Task.PlayAnim(-1, "TAP_HAND", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(93@, 49@)
Sequence.Clear(49@)

:LOWR_23760
goto @LOWR_23876

:LOWR_23767
if 
  not Char.IsDead(94@)
goto_if_false @LOWR_23869
43@ = Char.GetScriptTaskStatus(94@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_23869
49@ = Sequence.Open()
Task.PlayAnim(-1, "TAP_HAND", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(94@, 49@)
Sequence.Clear(49@)

:LOWR_23869
goto @LOWR_23876

:LOWR_23876
return 

:LOWR_23878
switch_start 39@ {numCases} 21 {hasDefaultCase} 0 {defaultLabel} @LOWR_26535 {caseNum1} 0 {caseLabel1} @LOWR_24071 {caseNum2} 1 {caseLabel2} @LOWR_24191 {caseNum3} 2 {caseLabel3} @LOWR_24307 {caseNum4} 3 {caseLabel4} @LOWR_24423 {caseNum5} 4 {caseLabel5} @LOWR_24543 {caseNum6} 5 {caseLabel6} @LOWR_24663 {caseNum7} 6 {caseLabel7} @LOWR_24779
switch_continued 7 {caseLabel1} @LOWR_24899 {caseNum2} 8 {caseLabel2} @LOWR_25015 {caseNum3} 9 {caseLabel3} @LOWR_25131 {caseNum4} 10 {caseLabel4} @LOWR_25251 {caseNum5} 11 {caseLabel5} @LOWR_25367 {caseNum6} 12 {caseLabel6} @LOWR_25487 {caseNum7} 13 {caseLabel7} @LOWR_25607 {caseNum8} 14 {caseLabel8} @LOWR_25723 {caseNum9} 15 {caseLabel9} @LOWR_25839
switch_continued 16 {caseLabel1} @LOWR_25955 {caseNum2} 17 {caseLabel2} @LOWR_26071 {caseNum3} 18 {caseLabel3} @LOWR_26187 {caseNum4} 19 {caseLabel4} @LOWR_26303 {caseNum5} 20 {caseLabel5} @LOWR_26419 {caseNum6} -1 {caseLabel6} @LOWR_26535 {caseNum7} -1 {caseLabel7} @LOWR_26535 {caseNum8} -1 {caseLabel8} @LOWR_26535 {caseNum9} -1 {caseLabel9} @LOWR_26535

:LOWR_24071
if 
  not Char.IsDead(77@)
goto_if_false @LOWR_24184
43@ = Char.GetScriptTaskStatus(77@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_24184
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(77@, 49@)
Sequence.Clear(49@)

:LOWR_24184
goto @LOWR_26535

:LOWR_24191
if 
  not Char.IsDead(78@)
goto_if_false @LOWR_24300
43@ = Char.GetScriptTaskStatus(78@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_24300
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(78@, 49@)
Sequence.Clear(49@)

:LOWR_24300
goto @LOWR_26535

:LOWR_24307
if 
  not Char.IsDead(79@)
goto_if_false @LOWR_24416
43@ = Char.GetScriptTaskStatus(79@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_24416
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(79@, 49@)
Sequence.Clear(49@)

:LOWR_24416
goto @LOWR_26535

:LOWR_24423
if 
  not Char.IsDead(80@)
goto_if_false @LOWR_24536
43@ = Char.GetScriptTaskStatus(80@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_24536
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKSTND_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(80@, 49@)
Sequence.Clear(49@)

:LOWR_24536
goto @LOWR_26535

:LOWR_24543
if 
  not Char.IsDead(81@)
goto_if_false @LOWR_24656
43@ = Char.GetScriptTaskStatus(81@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_24656
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKSTND_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(81@, 49@)
Sequence.Clear(49@)

:LOWR_24656
goto @LOWR_26535

:LOWR_24663
if 
  not Char.IsDead(82@)
goto_if_false @LOWR_24772
43@ = Char.GetScriptTaskStatus(82@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_24772
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(82@, 49@)
Sequence.Clear(49@)

:LOWR_24772
goto @LOWR_26535

:LOWR_24779
if 
  not Char.IsDead(83@)
goto_if_false @LOWR_24892
43@ = Char.GetScriptTaskStatus(83@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_24892
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKSTND_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(83@, 49@)
Sequence.Clear(49@)

:LOWR_24892
goto @LOWR_26535

:LOWR_24899
if 
  not Char.IsDead(84@)
goto_if_false @LOWR_25008
43@ = Char.GetScriptTaskStatus(84@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_25008
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(84@, 49@)
Sequence.Clear(49@)

:LOWR_25008
goto @LOWR_26535

:LOWR_25015
if 
  not Char.IsDead(85@)
goto_if_false @LOWR_25124
43@ = Char.GetScriptTaskStatus(85@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_25124
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(85@, 49@)
Sequence.Clear(49@)

:LOWR_25124
goto @LOWR_26535

:LOWR_25131
if 
  not Char.IsDead(86@)
goto_if_false @LOWR_25244
43@ = Char.GetScriptTaskStatus(86@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_25244
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(86@, 49@)
Sequence.Clear(49@)

:LOWR_25244
goto @LOWR_26535

:LOWR_25251
if 
  not Char.IsDead(87@)
goto_if_false @LOWR_25360
43@ = Char.GetScriptTaskStatus(87@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_25360
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(87@, 49@)
Sequence.Clear(49@)

:LOWR_25360
goto @LOWR_26535

:LOWR_25367
if 
  not Char.IsDead(88@)
goto_if_false @LOWR_25480
43@ = Char.GetScriptTaskStatus(88@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_25480
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(88@, 49@)
Sequence.Clear(49@)

:LOWR_25480
goto @LOWR_26535

:LOWR_25487
if 
  not Char.IsDead(89@)
goto_if_false @LOWR_25600
43@ = Char.GetScriptTaskStatus(89@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_25600
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKSTND_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(89@, 49@)
Sequence.Clear(49@)

:LOWR_25600
goto @LOWR_26535

:LOWR_25607
if 
  not Char.IsDead(90@)
goto_if_false @LOWR_25716
43@ = Char.GetScriptTaskStatus(90@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_25716
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(90@, 49@)
Sequence.Clear(49@)

:LOWR_25716
goto @LOWR_26535

:LOWR_25723
if 
  not Char.IsDead(91@)
goto_if_false @LOWR_25832
43@ = Char.GetScriptTaskStatus(91@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_25832
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(91@, 49@)
Sequence.Clear(49@)

:LOWR_25832
goto @LOWR_26535

:LOWR_25839
if 
  not Char.IsDead(92@)
goto_if_false @LOWR_25948
43@ = Char.GetScriptTaskStatus(92@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_25948
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(92@, 49@)
Sequence.Clear(49@)

:LOWR_25948
goto @LOWR_26535

:LOWR_25955
if 
  not Char.IsDead(93@)
goto_if_false @LOWR_26064
43@ = Char.GetScriptTaskStatus(93@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_26064
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(93@, 49@)
Sequence.Clear(49@)

:LOWR_26064
goto @LOWR_26535

:LOWR_26071
if 
  not Char.IsDead(94@)
goto_if_false @LOWR_26180
43@ = Char.GetScriptTaskStatus(94@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_26180
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(94@, 49@)
Sequence.Clear(49@)

:LOWR_26180
goto @LOWR_26535

:LOWR_26187
if 
  not Char.IsDead(95@)
goto_if_false @LOWR_26296
43@ = Char.GetScriptTaskStatus(95@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_26296
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(95@, 49@)
Sequence.Clear(49@)

:LOWR_26296
goto @LOWR_26535

:LOWR_26303
if 
  not Char.IsDead(96@)
goto_if_false @LOWR_26412
43@ = Char.GetScriptTaskStatus(96@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_26412
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(96@, 49@)
Sequence.Clear(49@)

:LOWR_26412
goto @LOWR_26535

:LOWR_26419
if 
  not Char.IsDead(97@)
goto_if_false @LOWR_26528
43@ = Char.GetScriptTaskStatus(97@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @LOWR_26528
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(97@, 49@)
Sequence.Clear(49@)

:LOWR_26528
goto @LOWR_26535

:LOWR_26535
return 

:LOWR_26537
43@ = 0

:LOWR_26544
if 
  22 > 43@
goto_if_false @LOWR_26637
if 
  Char.DoesExist(77@(43@,22i))
goto_if_false @LOWR_26623
Char.Delete(77@(43@,22i))
write_debug_with_int "PED_DELETED" {_p2} 43@
43@ = 22
goto @LOWR_26630

:LOWR_26623
43@ += 1

:LOWR_26630
goto @LOWR_26544

:LOWR_26637
return 

:LOWR_26639
43@ = 0

:LOWR_26646
if 
  7 > 43@
goto_if_false @LOWR_26739
if 
  Car.DoesExist(69@(43@,7i))
goto_if_false @LOWR_26725
Car.Delete(69@(43@,7i))
write_debug_with_int "CAR_DELETED" {_p2} 43@
43@ = 7
goto @LOWR_26732

:LOWR_26725
43@ += 1

:LOWR_26732
goto @LOWR_26646

:LOWR_26739
return 

:LOWR_26741
switch_start $flag_hhiker_trigger {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @LOWR_26844 {caseNum1} 3 {caseLabel1} @LOWR_26804 {caseNum2} -1 {caseLabel2} @LOWR_26884 {caseNum3} -1 {caseLabel3} @LOWR_26884 {caseNum4} -1 {caseLabel4} @LOWR_26884 {caseNum5} -1 {caseLabel5} @LOWR_26884 {caseNum6} -1 {caseLabel6} @LOWR_26884 {caseNum7} -1 {caseLabel7} @LOWR_26884

:LOWR_26804
Hud.DrawWindow(29.0, 220.0, 173.0, 409.0, 'BJ_TITL', 2)
goto @LOWR_26884

:LOWR_26844
Hud.DrawWindow(29.0, 220.0, 157.0, 409.0, 'BJ_TITL', 2)
goto @LOWR_26884

:LOWR_26884
gosub @LOWR_27141
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 240.0, 'WOF_04')
gosub @LOWR_27141
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 260.0, 'DOLLAR', 273@)
gosub @LOWR_27141
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 290.0, 'BJ_02')
gosub @LOWR_27141
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 310.0, 'DOLLAR', 271@)
gosub @LOWR_27141
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 340.0, 'BJ_03')
gosub @LOWR_27141
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 360.0, 'DOLLAR', 272@)
return 

:LOWR_27141
Text.SetColor(180, 180, 180, 255)
Text.SetScale(0.4714, 2.5077)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
return 

:LOWR_27196
34@ += 1
35@ = 0
62@ = 0
63@ = 0
64@ = 0
65@ = 0
TIMERA = 0
TIMERB = 0
return 

:LOWR_27254
return 

:LOWR_27256
return 

:LOWR_27258
Zone.SwitchAudio('LOWRIDE', False)
if 
  Car.DoesExist(68@)
goto_if_false @LOWR_27394
if 
  not Car.IsDead(68@)
goto_if_false @LOWR_27394
Car.SetStatus(68@, EntityStatus.Abandoned)
Car.FreezePosition(68@, False)
Car.SetProofs(68@, False, False, False, False, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LOWR_27355
Player.ApplyBrakesToCar($statbike_temp, False)

:LOWR_27355
Car.LockDoors(68@, CarLock.Unlocked)
if 
  Char.IsInCar($stattreadstamina_ctr, 68@)
goto_if_false @LOWR_27394
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, 68@)

:LOWR_27394
43@ = 0

:LOWR_27401
if 
  7 > 43@
goto_if_false @LOWR_27585
if 
  Car.DoesExist(69@(43@,7i))
goto_if_false @LOWR_27571
if 
  not Car.IsDead(69@(43@,7i))
goto_if_false @LOWR_27562
if or
  43@ == 0
  43@ == 3
  43@ == 4
goto_if_false @LOWR_27540
if 
  Car.DoesHaveHydraulics(69@(43@,7i))
goto_if_false @LOWR_27540
Car.ControlHydraulics(69@(43@,7i), 0.0, 0.0, 0.0, 0.0)

:LOWR_27540
Car.SetStatus(69@(43@,7i), EntityStatus.Simple)
Car.SetHydraulics(69@(43@,7i), False)

:LOWR_27562
Car.MarkAsNoLongerNeeded(69@(43@,7i))

:LOWR_27571
43@ += 1
goto @LOWR_27401

:LOWR_27585
43@ = 0

:LOWR_27592
if 
  22 > 43@
goto_if_false @LOWR_27673
if 
  Char.DoesExist(77@(43@,22i))
goto_if_false @LOWR_27659
if 
  not Char.IsDead(77@(43@,22i))
goto_if_false @LOWR_27650

:LOWR_27650
Char.MarkAsNoLongerNeeded(77@(43@,22i))

:LOWR_27659
43@ += 1
goto @LOWR_27592

:LOWR_27673
if 
  Char.DoesExist(99@)
goto_if_false @LOWR_27694
Char.MarkAsNoLongerNeeded(99@)

:LOWR_27694
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(114)
Streaming.MarkModelAsNoLongerNeeded(115)
Streaming.MarkModelAsNoLongerNeeded(116)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(41)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(534)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.RemoveAnimation("LOWRIDER")
Blip.Remove(102@)
Hud.DisplayRadar(True)
43@ = Audio.GetBeatTrackStatus()
if 
  not is_int_lvar_equal_to_constant 43@ == 0
goto_if_false @LOWR_27784
Audio.StopBeatTrack

:LOWR_27784
CarGenerator.DontSuppressCarModel(567)
$beat_display_script_started = 1
DecisionMaker.Remove(66@)
DecisionMaker.Remove(67@)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 10---------------
// Originally: Beefy Baron

:ZERO5
gosub @ZERO5_36
if 
  has_deatharrest_been_executed 
goto_if_false @ZERO5_27
gosub @ZERO5_2159

:ZERO5_27
gosub @ZERO5_2256
terminate_this_script 

:ZERO5_36
66@ = 0
$weapon_shop1_blip = 1
Text.ClearThisPrintBigNow(TextStyle.Middle)
Stat.RegisterMissionGiven
script_name 'ZERO5'
Player.SetControl($statbike_temp, False)
wait 0
48@ = 1
49@ = 0
50@ = 0
51@ = 0
57@ = 0
55@ = 0
56@ = 0
63@ = 0
64@ = 0
52@ = 0
53@ = 0
$6478 = 0
$6477 = 180000
40@ = -2205.44
41@ = 128.99
42@ = 57.33
43@ = 90.0
44@ = -2227.0
45@ = 113.0
46@ = 35.5
Player.ResetNumOfModelsKilled($statbike_temp)
TIMERA = 0
69@ = 0
Streaming.RequestModel(464)
Streaming.RequestModel(459)

:ZERO5_271
if or
  not Streaming.HasModelLoaded(464)
  not Streaming.HasModelLoaded(459)
goto_if_false @ZERO5_303
wait 0
goto @ZERO5_271

:ZERO5_303
Hud.DisplayCarNames(False)
Text.LoadMissionText('ZERO2')
World.DisableAllEntryExits(True)

:ZERO5_322
wait 0
if 
  48@ == 1
goto_if_false @ZERO5_351
gosub @ZERO5_408

:ZERO5_351
if 
  52@ == 1
goto_if_false @ZERO5_376
goto @ZERO5_2122

:ZERO5_376
if 
  53@ == 1
goto_if_false @ZERO5_401
goto @ZERO5_2159

:ZERO5_401
goto @ZERO5_322

:ZERO5_408
TIMERB = 0
World.ClearArea(44@, 45@, 46@, 1000.0, True)
35@ = Car.Create(459, -2250.9, 124.6, 28.48)
Car.SetLoadCollisionFlag(35@, False)
Car.OpenDoor(35@, CarDoor.LeftRearDoor)
Car.OpenDoor(35@, CarDoor.RightRearDoor)
Char.WarpIntoCar($stattreadstamina_ctr, 35@)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Camera.SetFadingColor(0, 0, 0)
if 
  not Car.IsDead(35@)
goto_if_false @ZERO5_557
Car.SetCoordinates(35@, -2233.9, 122.6, 746.48)
Car.SetHeading(35@, 90.0)
Car.FreezePosition(35@, True)

:ZERO5_557
wait 1000
if 
  not Car.IsDead(35@)
goto_if_false @ZERO5_583
Car.CloseAllDoors(35@)

:ZERO5_583
Streaming.SetAreaVisible(0)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, -2240.854, 129.3346, 1.5)
Streaming.LoadScene(40@, 41@, 42@)
Rc.GiveModelToPlayer($statbike_temp, 40@, 41@, 42@, 40.09, 464)
34@ = Rc.GetCar($statbike_temp)
Car.SetHeading(34@, 90.0)
Rc.SetEnableDetonateOnContact(False)
Rc.SetEnableDetonate(False)
Car.SetHealth(34@, 1000)
Car.SetProofs(34@, False, True, True, False, False)
Hud.SwitchWidescreen(False)
if 
  not Car.IsDead(34@)
goto_if_false @ZERO5_733
Camera.PointAtCar(34@, CameraMode.CamOnAString, SwitchType.JumpCut)
Car.FreezePosition(34@, False)
wait 0
Camera.SetZoom(1)

:ZERO5_733
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:ZERO5_748
if 
  Camera.GetFadingStatus
goto_if_false @ZERO5_772
wait 0
goto @ZERO5_748

:ZERO5_772
Player.SetControl($statbike_temp, True)
Hud.DisplayTimerWithString($6477, TimerDirection.Down, 'ZER2_5')
Hud.DisplayCounterWithString($6478, CounterDisplay.Number, 'ZER2_43')
Text.PrintNow('ZER2_45', 5000, 1)
Game.SetForceRandomCarModel(459)

:ZERO5_832
if 
  57@ <> 1
goto_if_false @ZERO5_2120
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @ZERO5_913
48@ = 0
49@ = 0
50@ = 0
51@ = 0
52@ = 1
53@ = 0
return 

:ZERO5_913
if 
  0 >= $6477
goto_if_false @ZERO5_1156
if 
  not Car.IsDead(34@)
goto_if_false @ZERO5_961
Car.SetEngineOn(34@, False)
Car.SetHeavy(34@, True)

:ZERO5_961
Rc.RemoveBuggy
TIMERA = 0
48@ = 0
49@ = 0
50@ = 0
51@ = 0
52@ = 1
53@ = 0
Text.PrintWithNumberBig('ZER2_43', $6478, 5000, TextStyle.Middle)
Audio.PlayMissionPassedTune(1)
wait 2000
Char.SetHasUsedEntryExit($stattreadstamina_ctr, -2241.854, 128.3346, 1.5)
Streaming.LoadScene(-2241.854, 128.3346, 1034.641)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO5_1120
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2220.146, 135.956, 1034.641)
goto @ZERO5_1140

:ZERO5_1120
Char.SetCoordinates($stattreadstamina_ctr, -2220.146, 135.956, 1034.641)

:ZERO5_1140
Char.SetHeading($stattreadstamina_ctr, 183.6951)
Streaming.SetAreaVisible(6)
return 

:ZERO5_1156
if 
  not Car.IsDead(34@)
goto_if_false @ZERO5_1944
if 
  Player.IsInRemoteMode($statbike_temp)
goto_if_false @ZERO5_1937
70@ = Clock.GetGameTimer()
if 
  not Car.Locate3D(34@, 72@, 73@, 74@, 1.5, 1.5, 1.5, False)
goto_if_false @ZERO5_1272
72@, 73@, 74@ = Car.GetCoordinates(34@)
set_lvar_int_to_lvar_int 71@ = 70@
71@ += 4000
64@ = 0

:ZERO5_1272
if 
  Car.Locate3D(34@, 72@, 73@, 74@, 1.5, 1.5, 1.5, False)
goto_if_false @ZERO5_1875
if 
  is_int_lvar_greater_than_int_lvar 70@ > 71@
goto_if_false @ZERO5_1875
if 
  64@ == 0
goto_if_false @ZERO5_1369
Text.PrintHelp('ZER2_4')
64@ = 1

:ZERO5_1369
if 
is_xbox_version 
goto_if_false @ZERO5_1632
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @ZERO5_1625
53@ = 1
48@ = 0
Player.SetControl($statbike_temp, False)
Text.PrintNow('ZER2_8', 5000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Car.SetHealth(34@, 1)
Fx.AddExplosion(72@, 73@, 74@, ExplosionType.Grenade)
Rc.RemoveBuggy
53@ = 1
48@ = 0
Text.PrintNow('ZER2_8', 5000, 1)
wait 2000
Char.SetHasUsedEntryExit($stattreadstamina_ctr, -2241.854, 128.3346, 1.5)
Streaming.LoadScene(-2241.854, 128.3346, 1034.641)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO5_1589
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2220.146, 135.956, 1034.641)
goto @ZERO5_1609

:ZERO5_1589
Char.SetCoordinates($stattreadstamina_ctr, -2220.146, 135.956, 1034.641)

:ZERO5_1609
Char.SetHeading($stattreadstamina_ctr, 183.6951)
Streaming.SetAreaVisible(6)
return 

:ZERO5_1625
goto @ZERO5_1875

:ZERO5_1632
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @ZERO5_1875
53@ = 1
48@ = 0
Player.SetControl($statbike_temp, False)
Text.PrintNow('ZER2_8', 5000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Car.SetHealth(34@, 1)
Fx.AddExplosion(72@, 73@, 74@, ExplosionType.Grenade)
Rc.RemoveBuggy
53@ = 1
48@ = 0
Text.PrintNow('ZER2_8', 5000, 1)
wait 2000
Char.SetHasUsedEntryExit($stattreadstamina_ctr, -2241.854, 128.3346, 1.5)
Streaming.LoadScene(-2241.854, 128.3346, 1034.641)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO5_1839
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2220.146, 135.956, 1034.641)
goto @ZERO5_1859

:ZERO5_1839
Char.SetCoordinates($stattreadstamina_ctr, -2220.146, 135.956, 1034.641)

:ZERO5_1859
Char.SetHeading($stattreadstamina_ctr, 183.6951)
Streaming.SetAreaVisible(6)
return 

:ZERO5_1875
37@, 38@, 39@ = Car.GetCoordinates(34@)
36@ = World.GetRandomCarInSphereNoSave(37@, 38@, 39@, 30.0, 459)
if 
  not Car.IsDead(36@)
goto_if_false @ZERO5_1937
Car.SetCruiseSpeed(36@, 10.0)

:ZERO5_1937
goto @ZERO5_2102

:ZERO5_1944
53@ = 1
48@ = 0
Text.PrintNow('ZER2_8', 5000, 1)
Player.SetControl($statbike_temp, False)
wait 2000
Char.SetHasUsedEntryExit($stattreadstamina_ctr, -2241.854, 128.3346, 1.5)
Streaming.LoadScene(-2241.854, 128.3346, 1034.641)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO5_2066
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2220.146, 135.956, 1034.641)
goto @ZERO5_2086

:ZERO5_2066
Char.SetCoordinates($stattreadstamina_ctr, -2220.146, 135.956, 1034.641)

:ZERO5_2086
Char.SetHeading($stattreadstamina_ctr, 183.6951)
Streaming.SetAreaVisible(6)
return 

:ZERO5_2102
$6478 = Player.GetNumOfModelsKilled($statbike_temp, 459)
goto @ZERO5_832

:ZERO5_2120
return 

:ZERO5_2122
Player.SetControl($statbike_temp, True)
Player.ClearWantedLevel($statbike_temp)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO5_2157
Player.SetControl($statbike_temp, True)

:ZERO5_2157
return 

:ZERO5_2159
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO5_2182
Player.SetControl($statbike_temp, True)

:ZERO5_2182
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)

:ZERO5_2198
if 
  3000 > TIMERA
goto_if_false @ZERO5_2254
wait 0
if 
  not Car.IsDead(34@)
goto_if_false @ZERO5_2247
Car.SetForwardSpeed(34@, 0.0)

:ZERO5_2247
goto @ZERO5_2198

:ZERO5_2254
return 

:ZERO5_2256
Camera.ResetNewScriptables
$weapon_shop1_blip = 0
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Car.MarkAsNoLongerNeeded(35@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @ZERO5_2339
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO5_2339
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO5_2339
Weather.Release
Player.SetControl($statbike_temp, True)
World.DisableAllEntryExits(False)
Rc.RemoveBuggy
Streaming.MarkModelAsNoLongerNeeded(459)
Streaming.MarkModelAsNoLongerNeeded(464)
Hud.ClearTimer($6477)
Hud.ClearCounter($6478)
$flag_courier_mission_passed = Clock.GetGameTimer()
Hud.DisplayCarNames(True)
Mission.Finish
return 

//-------------Mission 11---------------
// Originally: Big Smoke

:INTRO1
script_name 'INTRO1'
gosub @INTRO1_914
if 
  has_deatharrest_been_executed 
goto_if_false @INTRO1_38
gosub @INTRO1_18099

:INTRO1_38
gosub @INTRO1_18229
terminate_this_script 

:INTRO1_47
switch_start 46@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @INTRO1_912 {caseNum1} 0 {caseLabel1} @INTRO1_110 {caseNum2} 1 {caseLabel2} @INTRO1_212 {caseNum3} 2 {caseLabel3} @INTRO1_314 {caseNum4} 3 {caseLabel4} @INTRO1_570 {caseNum5} 4 {caseLabel5} @INTRO1_628 {caseNum6} 5 {caseLabel6} @INTRO1_774 {caseNum7} 6 {caseLabel7} @INTRO1_854

:INTRO1_110
set_var_text_label s$6479[0] = 'INT1_AB'
set_var_text_label s$6479[1] = 'INT1_AC'
set_var_text_label s$6479[2] = 'INT1_AR'
set_var_text_label s$6479[3] = 'INT1_AA'
set_lvar_int_to_constant 93@ = 20001
set_lvar_int_to_constant 94@ = 20002
set_lvar_int_to_constant 95@ = 20016
set_lvar_int_to_constant 96@ = 20000
63@ = 3
goto @INTRO1_912

:INTRO1_212
set_var_text_label s$6479[0] = 'INT1_AI'
set_var_text_label s$6479[1] = 'INT1_AJ'
set_var_text_label s$6479[2] = 'INT1_AK'
set_var_text_label s$6479[3] = 'INT1_AQ'
set_lvar_int_to_constant 93@ = 20008
set_lvar_int_to_constant 94@ = 20009
set_lvar_int_to_constant 95@ = 20010
set_lvar_int_to_constant 96@ = 20015
63@ = 3
goto @INTRO1_912

:INTRO1_314
set_var_text_label s$6479[0] = 'INT1_GN'
set_var_text_label s$6479[1] = 'INT1_GA'
set_var_text_label s$6479[2] = 'INT1_GB'
set_var_text_label s$6479[3] = 'INT1_GC'
set_var_text_label s$6479[4] = 'INT1_GD'
set_var_text_label s$6479[5] = 'INT1_GE'
set_var_text_label s$6479[6] = 'INT1_GH'
set_var_text_label s$6479[7] = 'INT1_GI'
set_var_text_label s$6479[8] = 'INT1_GJ'
set_var_text_label s$6479[9] = 'INT1_GL'
set_var_text_label s$6479[10] = 'INT1_GM'
set_lvar_int_to_constant 93@ = 20072
set_lvar_int_to_constant 94@ = 20059
set_lvar_int_to_constant 95@ = 20060
set_lvar_int_to_constant 96@ = 20061
set_lvar_int_to_constant 97@ = 20062
set_lvar_int_to_constant 98@ = 20063
set_lvar_int_to_constant 99@ = 20066
set_lvar_int_to_constant 100@ = 20067
set_lvar_int_to_constant 101@ = 20068
set_lvar_int_to_constant 102@ = 20070
set_lvar_int_to_constant 103@ = 20071
63@ = 10
goto @INTRO1_912

:INTRO1_570
set_var_text_label s$6479[0] = 'INT1_CA'
set_var_text_label s$6479[1] = 'INT1_EI'
set_lvar_int_to_constant 93@ = 20028
set_lvar_int_to_constant 94@ = 20048
63@ = 1
goto @INTRO1_912

:INTRO1_628
set_var_text_label s$6479[0] = 'INT1_BA'
set_var_text_label s$6479[1] = 'INT1_BC'
set_var_text_label s$6479[2] = 'INT1_BB'
set_var_text_label s$6479[3] = 'INT1_BD'
set_var_text_label s$6479[4] = 'INT1_AM'
set_var_text_label s$6479[5] = 'INT1_AN'
set_lvar_int_to_constant 93@ = 20017
set_lvar_int_to_constant 94@ = 20019
set_lvar_int_to_constant 95@ = 20018
set_lvar_int_to_constant 96@ = 20020
set_lvar_int_to_constant 97@ = 20011
set_lvar_int_to_constant 98@ = 20012
63@ = 5
goto @INTRO1_912

:INTRO1_774
set_var_text_label s$6479[0] = 'INT1_BF'
set_var_text_label s$6479[1] = 'INT1_BG'
set_var_text_label s$6479[2] = 'INT1_BH'
set_lvar_int_to_constant 93@ = 20022
set_lvar_int_to_constant 94@ = 20023
set_lvar_int_to_constant 95@ = 20024
63@ = 2
goto @INTRO1_912

:INTRO1_854
set_var_text_label s$6479[0] = 'INT1_BI'
set_var_text_label s$6479[1] = 'INT1_BK'
set_lvar_int_to_constant 93@ = 20025
set_lvar_int_to_constant 94@ = 20027
63@ = 1
goto @INTRO1_912

:INTRO1_912
return 

:INTRO1_914
$weapon_shop1_blip = 1
set_lvar_int_to_var_int 65@ = $mc_strap
set_lvar_int_to_var_int 66@ = $sweet_car
set_lvar_int_to_var_int 67@ = $big_smoke_car
set_lvar_int_to_lvar_int 76@ = 34@
set_lvar_int_to_lvar_int 77@ = 36@
set_lvar_int_to_lvar_int 78@ = 35@
79@ = 0
80@ = 0
81@ = 0
83@ = 0
84@ = 0
85@ = 0
58@ = 0
59@ = 0
60@ = 0
86@ = 0
48@ = 0
49@ = 0
$Return_cities_passed = 0
68@ = 0
55@ = 0
57@ = 0
61@ = 0
62@ = 0
74@ = 0
92@ = 0
45@ = 0
54@ = 0
107@ = 3
115@ = 1
108@ = 1
87@ = 0
Stat.RegisterMissionGiven
Text.LoadMissionText('INTRO1')
Clock.SetTimeOfDay(9, 0)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Streaming.SetAreaVisible(3)
Cutscene.Load('INTRO1A')

:INTRO1_1190
if 
  not Cutscene.HasLoaded
goto_if_false @INTRO1_1214
wait 0
goto @INTRO1_1190

:INTRO1_1214
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:INTRO1_1223
if 
  not Cutscene.HasFinished
goto_if_false @INTRO1_1247
wait 0
goto @INTRO1_1223

:INTRO1_1247
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:INTRO1_1260
if 
  Camera.GetFadingStatus
goto_if_false @INTRO1_1284
wait 0
goto @INTRO1_1260

:INTRO1_1284
Cutscene.Clear
Streaming.SetAreaVisible(0)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.2)
Game.EnableAmbientCrime(False)
Streaming.LoadSpecialCharacter(10, 'SMOKE')
Streaming.RequestModel(404)
Streaming.LoadAllModelsNow

:INTRO1_1328
if or
  not Streaming.HasModelLoaded(404)
  not Streaming.HasSpecialCharacterLoaded(10)
goto_if_false @INTRO1_1359
wait 0
goto @INTRO1_1328

:INTRO1_1359
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Char.ClearTasks($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
$mc_strap = Char.Create(PedType.Mission1, 299, 2498.91, -1680.5, 12.37)
Char.SetAnimGroup($mc_strap, "FATMAN")
Char.SetHeading($mc_strap, 90.0)
41@ = Car.Create(404, 2494.91, -1682.17, 12.32)
Streaming.MarkModelAsNoLongerNeeded(404)
Car.ChangeColor(41@, 0, 0)
Car.SetHeading(41@, 90.0)
Char.SetCoordinates($stattreadstamina_ctr, 2495.59, -1686.96, 12.51)
Task.StandStill($stattreadstamina_ctr, 1)
Char.SetHeading($stattreadstamina_ctr, 32.0)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($mc_strap, 41@, 10000, 0)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsDriver($stattreadstamina_ctr, 41@, 10000)
World.ClearArea(2494.91, -1682.17, 12.32, 50.0, True)
Streaming.LoadSceneInDirection(2495.59, -1686.96, 12.51, 32.2)
Streaming.SetAreaVisible(0)
Audio.SetRadioChannel(RadioChannel.BounceFM)
86@ = 0
75@ = 0
109@ = 0
46@ = 0
gosub @INTRO1_47
Camera.DoFade(1500, Fade.In)
Camera.SetFixedPosition(2498.947, -1690.0, 14.4011, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2498.405, -1689.177, 14.2309, SwitchType.JumpCut)
skip_cutscene_start_internal @INTRO1_2033

:INTRO1_1703
if 
  86@ <> 2
goto_if_false @INTRO1_1739
wait 0
gosub @INTRO1_20393
goto @INTRO1_1703

:INTRO1_1739
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2498.947, -1690.0, 14.4011, 2501.236, -1678.23, 17.5252, 9000, True)
Camera.SetVectorTrack(2498.405, -1689.177, 14.2309, 2500.238, -1678.188, 17.4907, 9000, True)
if 
  not Car.IsDead(41@)
goto_if_false @INTRO1_1946
if 
  not Char.IsDead($mc_strap)
goto_if_false @INTRO1_1946

:INTRO1_1855
if or
  not Char.IsInCar($stattreadstamina_ctr, 41@)
  not Char.IsInCar($mc_strap, 41@)
goto_if_false @INTRO1_1946
wait 0
if 
  Car.IsDead(41@)
goto_if_false @INTRO1_1909
goto @INTRO1_18099

:INTRO1_1909
if 
  Char.IsDead($mc_strap)
goto_if_false @INTRO1_1932
goto @INTRO1_18099

:INTRO1_1932
gosub @INTRO1_20393
goto @INTRO1_1855

:INTRO1_1946
if 
  not Car.IsDead(41@)
goto_if_false @INTRO1_1997
Task.CarDriveToCoord($stattreadstamina_ctr, 41@, 2414.68, -1656.38, 12.38, 10.0, DriveMode.Normal, 404, DrivingMode.AvoidCars)

:INTRO1_1997
if 
  86@ <> 4
goto_if_false @INTRO1_2033
wait 0
gosub @INTRO1_20393
goto @INTRO1_1997

:INTRO1_2033
skip_cutscene_end 
Text.ClearPrints
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)
Text.PrintBig('FUNERAL', 1000, TextStyle.BottomRight)

:INTRO1_2068
if 
  Camera.GetFadingStatus
goto_if_false @INTRO1_2092
wait 0
goto @INTRO1_2068

:INTRO1_2092
Camera.ResetNewScriptables
Char.Delete($mc_strap)
Streaming.UnloadSpecialCharacter(10)
if 
  not Car.IsDead(41@)
goto_if_false @INTRO1_2227
Char.ClearTasksImmediately($stattreadstamina_ctr)
Car.SetCoordinates(41@, 956.6, -1099.47, 22.73)
Car.SetHeading(41@, 0.0)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO1_2197
Char.WarpFromCarToCoord($stattreadstamina_ctr, 910.78, -1075.26, 23.29)
goto @INTRO1_2217

:INTRO1_2197
Char.SetCoordinates($stattreadstamina_ctr, 910.78, -1075.26, 23.29)

:INTRO1_2217
Char.SetHeading($stattreadstamina_ctr, 265.0)

:INTRO1_2227
Player.MakeSafeForCutscene($statbike_temp)
Streaming.LoadSceneInDirection(910.78, -1075.26, 23.29, 265.0)
Cutscene.Load('INTRO1B')

:INTRO1_2265
if 
  not Cutscene.HasLoaded
goto_if_false @INTRO1_2289
wait 0
goto @INTRO1_2265

:INTRO1_2289
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:INTRO1_2298
if 
  not Cutscene.HasFinished
goto_if_false @INTRO1_2322
wait 0
goto @INTRO1_2298

:INTRO1_2322
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:INTRO1_2335
if 
  Camera.GetFadingStatus
goto_if_false @INTRO1_2359
wait 0
goto @INTRO1_2335

:INTRO1_2359
Cutscene.Clear
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.2)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.LoadSpecialCharacter(3, 'RYDER2')
Streaming.LoadSpecialCharacter(10, 'SMOKE')
Streaming.RequestModel(404)
Streaming.RequestModel(481)
Streaming.RequestModel(352)
Streaming.RequestModel(412)
Streaming.RequestModel(102)
Streaming.RequestModel(346)
Streaming.RequestCarRecording(201)
Streaming.LoadAllModelsNow

:INTRO1_2450
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(3)
  not Streaming.HasSpecialCharacterLoaded(10)
  not Streaming.HasModelLoaded(404)
  not Streaming.HasModelLoaded(481)
  not Streaming.HasModelLoaded(412)
goto_if_false @INTRO1_2499
wait 0
goto @INTRO1_2450

:INTRO1_2499
if or
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(102)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasCarRecordingBeenLoaded(201)
goto_if_false @INTRO1_2540
wait 0
goto @INTRO1_2499

:INTRO1_2540
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.SetNearClip(0.2)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(943.71, -1103.5, 22.85, 70.0, True)
Streaming.LoadSceneInDirection(943.71, -1103.5, 22.85, 90.0)
51@ = Car.Create(412, 1038.5, -954.9, 41.5)
CarGenerator.SuppressCarModel(412)
Car.ChangeColor(51@, 22, 22)
Car.SetLoadCollisionFlag(51@, False)
50@ = Char.CreateInsideCar(51@, PedType.Mission2, 102)
52@ = Char.CreateAsPassenger(51@, PedType.Mission2, 102, 0)
110@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetAccuracy(50@, 25)
Char.SetAccuracy(52@, 25)
Char.SetShootRate(50@, 30)
Char.SetShootRate(52@, 30)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(52@, RelationshipType.Hate, PedType.Player1)
Streaming.MarkModelAsNoLongerNeeded(102)
Char.GiveWeapon(52@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(52@, WeaponType.MicroUzi)
Char.GiveWeapon(50@, WeaponType.MicroUzi, 30000)
Streaming.MarkModelAsNoLongerNeeded(352)
Char.SetCurrentWeapon(50@, WeaponType.MicroUzi)
Car.LockDoors(51@, CarLock.Locked)
Car.SetHeading(51@, 100.8)
Car.SetHealth(51@, 2000)
37@ = Car.Create(481, 971.8, -1108.0, 23.1)
Car.SetHealth(37@, 2000)
Car.SetHeading(37@, 140.0)
Car.SetCanBurstTires(37@, False)
76@ = Car.Create(481, 971.4, -1110.5, 23.3)
Car.SetHealth(76@, 2000)
Car.SetHeading(76@, 110.0)
Car.SetCanBurstTires(76@, False)
Car.SetStraightLineDistance(76@, 30)
77@ = Car.Create(481, 971.8, -1115.5, 23.1)
Car.SetHealth(77@, 2000)
Car.SetHeading(77@, 140.0)
Car.SetCanBurstTires(77@, False)
Car.SetStraightLineDistance(77@, 30)
78@ = Car.Create(481, 971.8, -1113.0, 23.1)
Car.SetHealth(78@, 2000)
Car.SetHeading(78@, 140.0)
Car.SetCanBurstTires(78@, False)
Car.SetStraightLineDistance(78@, 30)
Streaming.MarkModelAsNoLongerNeeded(481)
if 
  not Car.IsDead(41@)
goto_if_false @INTRO1_3087
Player.SetControl($statbike_temp, False)
Car.SetCanBeDamaged(41@, True)
Car.SetCoordinates(41@, 956.6, -1099.47, 22.73)
Car.SetHeading(41@, 0.0)

:INTRO1_3087
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO1_3135
Char.WarpFromCarToCoord($stattreadstamina_ctr, 940.0, -1103.5, 22.85)
goto @INTRO1_3155

:INTRO1_3135
Char.SetCoordinates($stattreadstamina_ctr, 940.0, -1103.5, 22.85)

:INTRO1_3155
Char.SetHeading($stattreadstamina_ctr, 272.5)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 954.0, -1103.5, 22.85, MoveState.Walk, 20000)
65@ = Char.Create(PedType.Mission1, 299, 942.79, -1104.41, 22.85)
Char.SetAnimGroup(65@, "FATMAN")
Char.SetHealth(65@, 2000)
Char.SetHeading(65@, 184.0)
Char.SetNeverTargeted(65@, True)
Char.SetSuffersCriticalHits(65@, False)
Char.SetCantBeDraggedOut(65@, True)
Char.SetStayInCarWhenJacked(65@, True)
Task.GoStraightToCoord(65@, 954.0, -1104.41, 22.85, MoveState.Walk, 20000)
Char.SetDecisionMaker(65@, 110@)
Char.SetCanBeKnockedOffBike(65@, True)
66@ = Char.Create(PedType.Mission1, 292, 942.9, -1105.79, 22.85)
Char.SetAnimGroup(66@, "GANG1")
Char.SetHealth(66@, 2000)
Char.SetHeading(66@, 50.0)
Char.SetNeverTargeted(66@, True)
Char.SetSuffersCriticalHits(66@, False)
Char.SetCantBeDraggedOut(66@, True)
Char.SetStayInCarWhenJacked(66@, True)
Task.GoStraightToCoord(66@, 954.0, -1105.79, 22.85, MoveState.Walk, 25000)
Char.SetDecisionMaker(66@, 110@)
Char.SetCanBeKnockedOffBike(66@, True)
67@ = Char.Create(PedType.Mission1, 290, 942.96, -1102.0, 22.85)
Char.SetAnimGroup(67@, "GANG2")
Char.SetHealth(67@, 2000)
Char.SetHeading(67@, 96.0)
Char.SetNeverTargeted(67@, True)
Char.SetSuffersCriticalHits(67@, False)
Char.SetCantBeDraggedOut(67@, True)
Char.SetStayInCarWhenJacked(67@, True)
Task.GoStraightToCoord(67@, 954.0, -1102.0, 22.85, MoveState.Walk, 20000)
Char.SetDecisionMaker(67@, 110@)
Char.SetCanBeKnockedOffBike(67@, True)
39@ = Blip.AddForChar(67@)
Blip.SetAsFriendly(39@, True)
Blip.Remove(39@)
TIMERB = 0

:INTRO1_3601
if 
  900 > TIMERB
goto_if_false @INTRO1_3631
wait 0
goto @INTRO1_3601

:INTRO1_3631
Streaming.LoadSceneInDirection(940.0, -1103.5, 22.85, 272.5)
Camera.DoFade(500, Fade.In)
World.ClearArea(949.8, -1100.3, 23.0, 500.0, True)
Camera.SetFixedPosition(947.9119, -1103.912, 23.4476, 0.0, 0.0, 0.0)
Camera.PointAtPoint(946.9478, -1103.822, 23.6977, SwitchType.JumpCut)
86@ = 0
75@ = 0
109@ = 0
46@ = 1
gosub @INTRO1_47
91@ = 0
skip_cutscene_start_internal @INTRO1_5496
TIMERB = 0

:INTRO1_3791
if 
  3300 > TIMERB
goto_if_false @INTRO1_3821
wait 0
goto @INTRO1_3791

:INTRO1_3821
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_3877
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_3877
if 
  Streaming.HasCarRecordingBeenLoaded(201)
goto_if_false @INTRO1_3877
Car.StartPlayback(51@, 201)

:INTRO1_3877
if 
  not Car.IsDead(41@)
goto_if_false @INTRO1_4028
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_3960
if 
  Char.IsInAnyCar(52@)
goto_if_false @INTRO1_3960
Task.DriveBy(52@, -1, -1, 952.92, -1102.99, 22.85, 100.0, DriveByType.AiSide, True, 90)

:INTRO1_3960
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_4028
if 
  Char.IsInAnyCar(50@)
goto_if_false @INTRO1_4028
Task.DriveBy(50@, -1, 41@, 0.0, 0.0, 0.0, 100.0, DriveByType.FixedLeft, False, 90)

:INTRO1_4028
TIMERB = 0

:INTRO1_4035
if 
  1500 > TIMERB
goto_if_false @INTRO1_4065
wait 0
goto @INTRO1_4035

:INTRO1_4065
Camera.ResetNewScriptables
Camera.SetFixedPosition(951.3326, -1099.652, 25.3079, 0.0, 0.0, 0.0)
Camera.PointAtPoint(951.9009, -1100.452, 25.1184, SwitchType.JumpCut)
TIMERB = 0

:INTRO1_4125
if 
  2500 > TIMERB
goto_if_false @INTRO1_4155
wait 0
goto @INTRO1_4125

:INTRO1_4155
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_4203
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_4203
Char.ClearLookAt(66@)
Task.LookAtVehicle(66@, 51@, 4000)

:INTRO1_4203
TIMERB = 0

:INTRO1_4210
if 
  1000 > TIMERB
goto_if_false @INTRO1_4240
wait 0
goto @INTRO1_4210

:INTRO1_4240
if 
  86@ <> 1
goto_if_false @INTRO1_4742
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_4510
if 
  75@ == 2
goto_if_false @INTRO1_4510
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_4426
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_4426
TIMERB = 0
Task.LookAtVehicle($stattreadstamina_ctr, 51@, 4000)
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_4387
Char.ClearLookAt(65@)
Task.LookAtVehicle(65@, 51@, 4000)

:INTRO1_4387
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_4419
Char.ClearLookAt(67@)
Task.LookAtVehicle(67@, 51@, 4000)

:INTRO1_4419
109@ = 1

:INTRO1_4426
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(951.3326, -1099.652, 25.3079, 951.3326, -1099.652, 25.3079, 7500, True)
Camera.SetVectorTrack(951.9009, -1100.452, 25.1184, 951.9258, -1098.847, 25.3253, 7500, True)

:INTRO1_4510
if 
  TIMERB > 1000
goto_if_false @INTRO1_4735
if 
  109@ == 1
goto_if_false @INTRO1_4735
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_4728
Task.DiveAndGetUp(66@, 1.0, -3.0, 1000)
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_4654
Char.GiveWeapon(65@, WeaponType.Pistol, 50)
Char.SetHeading(65@, 270.0)
Char.SetStayInSamePlace(65@, True)
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_4654
Task.ToggleDuck(65@, True)
Task.KillCharOnFoot(65@, 50@)

:INTRO1_4654
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_4710
Char.GiveWeapon(67@, WeaponType.Pistol, 50)
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_4710
Task.KillCharOnFootWhileDucking(67@, 50@, 4, 2000, 100)

:INTRO1_4710
Task.DiveAndGetUp($stattreadstamina_ctr, -1.5, -1.0, 1000)

:INTRO1_4728
109@ = 2

:INTRO1_4735
goto @INTRO1_4240

:INTRO1_4742
TIMERB = 0

:INTRO1_4749
if 
  1000 > TIMERB
goto_if_false @INTRO1_4779
wait 0
goto @INTRO1_4749

:INTRO1_4779
if 
  not Car.IsDead(41@)
goto_if_false @INTRO1_4800
Car.ExplodeInCutscene(41@)

:INTRO1_4800
TIMERB = 0
109@ = 0

:INTRO1_4814
if 
  86@ <> 2
goto_if_false @INTRO1_4876
wait 0
gosub @INTRO1_20393
if 
  TIMERB > 1600
goto_if_false @INTRO1_4869
goto @INTRO1_4876

:INTRO1_4869
goto @INTRO1_4814

:INTRO1_4876
World.ClearArea(956.09, -1105.68, 22.75, 50.0, True)
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_4955
Char.ClearTasks(52@)
Task.PlayAnim(52@, "CAR_SIT", "PED", 4.0, False, False, False, False, -1)

:INTRO1_4955
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 945.7507, -1103.549, 23.0477)
Char.SetHeading($stattreadstamina_ctr, 252.8)
Task.StandStill($stattreadstamina_ctr, 1)
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_5095
if 
  not Car.IsDead(76@)
goto_if_false @INTRO1_5095
Char.SetStayInSamePlace(65@, False)
Task.StandStill(65@, 1)
Char.ClearLookAt(65@)
Task.ToggleDuck(65@, False)
Char.SetCoordinates(65@, 957.0725, -1106.504, 22.7146)
Char.SetHeading(65@, 251.1192)
Task.EnterCarAsDriver(65@, 76@, -1)

:INTRO1_5095
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_5156
if 
  not Car.IsDead(77@)
goto_if_false @INTRO1_5156
Char.SetStayInSamePlace(66@, False)
Task.StandStill(66@, 1)
Char.ClearLookAt(66@)
Task.EnterCarAsDriver(66@, 77@, -1)

:INTRO1_5156
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_5237
if 
  not Car.IsDead(78@)
goto_if_false @INTRO1_5237
Char.SetStayInSamePlace(67@, False)
Task.StandStill(67@, 1)
Char.ClearLookAt(67@)
Char.SetCoordinates(67@, 957.12, -1104.4, 22.7146)
Task.EnterCarAsDriver(67@, 78@, -1)

:INTRO1_5237
wait 100
Camera.ResetNewScriptables
Camera.SetFixedPosition(953.489, -1100.465, 24.8611, 0.0, 0.0, 0.0)
Camera.PointAtPoint(954.1205, -1101.236, 24.7823, SwitchType.JumpCut)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20014)
109@ = 0

:INTRO1_5308
if 
  86@ <> 3
goto_if_false @INTRO1_5417
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_5410
if 
  75@ == 2
goto_if_false @INTRO1_5410
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.GoStraightToCoord($stattreadstamina_ctr, 971.181, -1108.193, 22.8672, MoveState.Run, 10000)
109@ = 1

:INTRO1_5410
goto @INTRO1_5308

:INTRO1_5417
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @INTRO1_5443
wait 0
goto @INTRO1_5417

:INTRO1_5443
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('INT1_AP', 10000, 1)

:INTRO1_5463
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @INTRO1_5489
wait 0
goto @INTRO1_5463

:INTRO1_5489
91@ = 1

:INTRO1_5496
skip_cutscene_end 
if 
  91@ == 0
goto_if_false @INTRO1_5785
Text.ClearPrints
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:INTRO1_5533
if 
  Camera.GetFadingStatus
goto_if_false @INTRO1_5557
wait 0
goto @INTRO1_5533

:INTRO1_5557
Player.SetControl($statbike_temp, False)
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_5633
if 
  not Car.IsDead(76@)
goto_if_false @INTRO1_5633
Char.SetCoordinates(65@, 969.2067, -1110.3, 22.8672)
Char.SetHeading(65@, 273.1099)
Task.ToggleDuck(65@, False)

:INTRO1_5633
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_5695
if 
  not Car.IsDead(77@)
goto_if_false @INTRO1_5695
Char.SetCoordinates(66@, 969.1187, -1116.561, 22.8552)
Char.SetHeading(66@, 298.5085)

:INTRO1_5695
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_5762
if 
  not Car.IsDead(78@)
goto_if_false @INTRO1_5762
Char.ClearLookAt(67@)
Char.SetCoordinates(67@, 969.436, -1113.775, 22.8593)
Char.SetHeading(67@, 267.2885)

:INTRO1_5762
Camera.ResetNewScriptables
if 
  not Car.IsDead(41@)
goto_if_false @INTRO1_5785
Car.ExplodeInCutscene(41@)

:INTRO1_5785
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_5834
if 
  not Car.IsDead(76@)
goto_if_false @INTRO1_5834
Task.ToggleDuck(65@, False)
Task.EnterCarAsDriver(65@, 76@, -1)

:INTRO1_5834
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_5876
if 
  not Car.IsDead(77@)
goto_if_false @INTRO1_5876
Task.EnterCarAsDriver(66@, 77@, -1)

:INTRO1_5876
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_5923
if 
  not Car.IsDead(78@)
goto_if_false @INTRO1_5923
Char.ClearLookAt(67@)
Task.EnterCarAsDriver(67@, 78@, -1)

:INTRO1_5923
Car.MarkAsNoLongerNeeded(41@)
Streaming.MarkModelAsNoLongerNeeded(404)
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_5956
Char.RemoveWeapon(65@, WeaponType.Pistol)

:INTRO1_5956
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_5979
Char.RemoveWeapon(67@, WeaponType.Pistol)

:INTRO1_5979
Streaming.MarkModelAsNoLongerNeeded(346)
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_6012
Car.StopPlayback(51@)
goto @INTRO1_6017

:INTRO1_6012
Car.StopPlayback(51@)

:INTRO1_6017
Streaming.RemoveCarRecording(201)
wait 100
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Char.ClearLookAt($stattreadstamina_ctr)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
if 
  not Car.IsDead(37@)
goto_if_false @INTRO1_6084
43@ = Blip.AddForCar(37@)
Blip.SetAsFriendly(43@, True)

:INTRO1_6084
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_6145
116@, 117@, 118@ = Car.GetCoordinates(51@)
118@ -= 50.0
Car.SetCoordinates(51@, 116@, 117@, 118@)
Car.FreezePositionAndDontLoadCollision(51@, True)

:INTRO1_6145
if 
  91@ == 0
goto_if_false @INTRO1_6281
Camera.SetFadingColor(0, 0, 0)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 970.0873, -1107.776, 22.8672)
Char.SetHeading($stattreadstamina_ctr, 254.4577)
Player.SetControl($statbike_temp, False)

:INTRO1_6213
if 
  1000 > TIMERB
goto_if_false @INTRO1_6243
wait 0
goto @INTRO1_6213

:INTRO1_6243
Camera.DoFade(500, Fade.In)

:INTRO1_6250
if 
  Camera.GetFadingStatus
goto_if_false @INTRO1_6274
wait 0
goto @INTRO1_6250

:INTRO1_6274
Player.SetControl($statbike_temp, True)

:INTRO1_6281
82@ = Sequence.Open()
Task.CarDriveToCoord(-1, -1, 962.5424, -1128.6, 22.6656, 8.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1036.603, -1148.943, 22.6562, 16.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1325.583, -1150.183, 22.6484, 23.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1644.773, -1051.334, 22.8984, 23.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Sequence.Close(82@)
72@ = Sequence.Open()
Task.CarDriveToCoord(-1, -1, 1780.85, -1111.48, 23.08, 21.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1786.54, -1191.3, 22.95, 20.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1798.67, -1270.41, 12.47, 19.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1891.0, -1347.78, 12.54, 21.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1959.12, -1450.1, 12.45, 21.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1987.61, -1516.69, 2.39, 21.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 2493.82, -1669.91, 12.8, 25.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Sequence.Close(72@)
111@ = Sequence.Open()
Task.CarDriveToCoord(-1, -1, 1780.85, -1111.48, 23.08, 20.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1784.54, -1191.3, 22.95, 19.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1798.67, -1270.41, 12.47, 19.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1891.0, -1347.78, 12.54, 20.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1959.12, -1450.1, 12.45, 20.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 1987.61, -1516.69, 2.39, 20.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 2493.82, -1669.91, 12.8, 24.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Sequence.Close(111@)
if 
  Car.IsDead(37@)
goto_if_false @INTRO1_6944
Text.PrintNow('INT2_F4', 10000, 1)
goto @INTRO1_18099

:INTRO1_6944
75@ = 0
86@ = 3

:INTRO1_6958
if 
  86@ <> 4
goto_if_false @INTRO1_7033
wait 0
gosub @INTRO1_20393
gosub @INTRO1_18501
gosub @INTRO1_20069
if 
  45@ == 1
goto_if_false @INTRO1_7026
goto @INTRO1_18099

:INTRO1_7026
goto @INTRO1_6958

:INTRO1_7033
Text.PrintNow('INTRO2E', 10000, 1)
Streaming.RequestAnimation("MISC")
$sweet = 1
TIMERA = 0
if 
  Char.IsDead(67@)
goto_if_false @INTRO1_7110
Text.PrintNow('INT2_F2', 10000, 1)
goto @INTRO1_18099

:INTRO1_7110
92@ = 0
114@ = 0
86@ = 0
75@ = 0
109@ = 0
46@ = 4
gosub @INTRO1_47

:INTRO1_7159
if or
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 1644.773, -1051.334, 22.8984, 10.0, 12.0, 20.0, False)
  not Char.LocateAnyMeans3D(67@, 1644.773, -1051.334, 22.8984, 10.0, 12.0, 20.0, False)
goto_if_false @INTRO1_9089
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @INTRO1_7290
Char.SetCoordinates($stattreadstamina_ctr, 2473.692, -1684.215, 12.4625)
goto @INTRO1_18117

:INTRO1_7290
gosub @INTRO1_18501
gosub @INTRO1_20069
if 
  not Car.IsDead(37@)
goto_if_false @INTRO1_7350
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @INTRO1_7350
Text.ClearThisPrint('INTRO2E')

:INTRO1_7350
if 
  45@ == 1
goto_if_false @INTRO1_7375
goto @INTRO1_18099

:INTRO1_7375
if 
  92@ == 0
goto_if_false @INTRO1_7433
if 
  TIMERA > 6000
goto_if_false @INTRO1_7433
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
92@ = 1

:INTRO1_7433
if 
  68@ == 0
goto_if_false @INTRO1_7893
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_7886
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 949.4, -1102.1, 23.2, 50.0, 60.0, 25.0, False)
goto_if_false @INTRO1_7886
Car.SetCoordinates(51@, 1079.15, -1084.73, 25.43)
Car.SetHeading(51@, 175.95)
Car.FreezePositionAndDontLoadCollision(51@, False)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO1_7745
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_7641
if 
  Char.IsInAnyCar(52@)
goto_if_false @INTRO1_7641
Char.ClearTasks(52@)
Task.DriveBy(52@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 5000.0, DriveByType.AiSide, True, 40)

:INTRO1_7641
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO1_7738
69@ = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_7738
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_7738
Char.ClearTasks(50@)
if 
  Char.IsInAnyCar(50@)
goto_if_false @INTRO1_7738
Task.CarMission(50@, 51@, 69@, CarMission.EscortLeft, 30.0, DrivingMode.AvoidCars)

:INTRO1_7738
goto @INTRO1_7879

:INTRO1_7745
122@, 123@, 124@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, -4.0, 0.0)
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_7879
53@ = Char.GetScriptTaskStatus(50@, 1489)
if 
  is_int_lvar_equal_to_constant 53@ == 7
goto_if_false @INTRO1_7879
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_7879
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_7879
Task.CarDriveToCoord(50@, 51@, 122@, 123@, 124@, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:INTRO1_7879
68@ = 1

:INTRO1_7886
goto @INTRO1_8724

:INTRO1_7893
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_8646
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_8587
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_8521
125@, 126@, 127@ = Char.GetCoordinates($stattreadstamina_ctr)
if and
  not Car.Locate2D(51@, 125@, 126@, 50.0, 50.0, False)
  not Car.IsOnScreen(51@)
goto_if_false @INTRO1_8090
Char.ClearTasks(50@)
116@, 117@, 118@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, -40.0, 0.0)
119@, 120@, 121@ = Path.GetClosestCarNode(116@, 117@, 118@)
Car.SetCoordinates(51@, 119@, 120@, 121@)
Car.TurnToFaceCoord(51@, 116@, 117@)
Car.SetForwardSpeed(51@, 20.0)
goto @INTRO1_8514

:INTRO1_8090
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO1_8299
53@ = Char.GetScriptTaskStatus(50@, 1761)
if 
  is_int_lvar_equal_to_constant 53@ == 7
goto_if_false @INTRO1_8195
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO1_8195
69@ = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  Char.IsInAnyCar(50@)
goto_if_false @INTRO1_8195
Task.CarMission(50@, 51@, 69@, CarMission.EscortLeft, 30.0, DrivingMode.AvoidCars)

:INTRO1_8195
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_8292
if 
  Char.IsInAnyCar(52@)
goto_if_false @INTRO1_8292
53@ = Char.GetScriptTaskStatus(52@, 1811)
if 
  is_int_lvar_equal_to_constant 53@ == 7
goto_if_false @INTRO1_8292
Task.DriveBy(52@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 5000.0, DriveByType.AiSide, True, 40)

:INTRO1_8292
goto @INTRO1_8514

:INTRO1_8299
122@, 123@, 124@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, -4.0, 0.0)
53@ = Char.GetScriptTaskStatus(50@, 1489)
if 
  is_int_lvar_equal_to_constant 53@ == 7
goto_if_false @INTRO1_8417
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_8417
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_8417
Task.CarDriveToCoord(50@, 51@, 122@, 123@, 124@, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:INTRO1_8417
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_8514
if 
  Char.IsInAnyCar(52@)
goto_if_false @INTRO1_8514
53@ = Char.GetScriptTaskStatus(52@, 1811)
if 
  is_int_lvar_equal_to_constant 53@ == 7
goto_if_false @INTRO1_8514
Task.DriveBy(52@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 5000.0, DriveByType.AiSide, True, 40)

:INTRO1_8514
goto @INTRO1_8580

:INTRO1_8521
if 
  114@ == 0
goto_if_false @INTRO1_8580
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_8580
Char.ClearTasks(50@)
Task.LeaveAnyCar(50@)
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)
114@ = 1

:INTRO1_8580
goto @INTRO1_8646

:INTRO1_8587
if 
  114@ == 0
goto_if_false @INTRO1_8646
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_8646
Char.ClearTasks(52@)
Task.LeaveAnyCar(52@)
Task.KillCharOnFoot(52@, $stattreadstamina_ctr)
114@ = 1

:INTRO1_8646
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @INTRO1_8724
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_8724
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 67@, 20.0, 20.0, 10.0, False)
goto_if_false @INTRO1_8724
gosub @INTRO1_20393

:INTRO1_8724
if 
  Char.IsInModel($stattreadstamina_ctr, 481)
goto_if_false @INTRO1_8965
if 
  $Return_cities_passed == 0
goto_if_false @INTRO1_8793
Text.PrintHelp('INTRO2C')
TIMERA = 0
$Return_cities_passed = 1
goto @INTRO1_8965

:INTRO1_8793
if 
  $Return_cities_passed == 1
goto_if_false @INTRO1_8855
if 
  TIMERA > 10000
goto_if_false @INTRO1_8855
Text.PrintHelp('INTRO2D')
TIMERA = 0
$Return_cities_passed = 2

:INTRO1_8855
if 
  $Return_cities_passed == 2
goto_if_false @INTRO1_8910
if 
  TIMERA > 20000
goto_if_false @INTRO1_8910
Text.PrintHelp('HELP3B')
$Return_cities_passed = 3

:INTRO1_8910
if 
  $Return_cities_passed == 3
goto_if_false @INTRO1_8965
if 
  TIMERA > 28000
goto_if_false @INTRO1_8965
Text.PrintHelp('HELP3B2')
$Return_cities_passed = 4

:INTRO1_8965
if 
  Char.IsDead(65@)
goto_if_false @INTRO1_9004
Text.PrintNow('INT2_F1', 10000, 1)
goto @INTRO1_18099

:INTRO1_9004
if 
  Char.IsDead(66@)
goto_if_false @INTRO1_9043
Text.PrintNow('INT2_F3', 10000, 1)
goto @INTRO1_18099

:INTRO1_9043
if 
  Char.IsDead(67@)
goto_if_false @INTRO1_9082
Text.PrintNow('INT2_F2', 10000, 1)
goto @INTRO1_18099

:INTRO1_9082
goto @INTRO1_7159

:INTRO1_9089
113@ = 0
Camera.DoFade(500, Fade.Out)

:INTRO1_9103
if 
  Camera.GetFadingStatus
goto_if_false @INTRO1_9127
wait 0
goto @INTRO1_9103

:INTRO1_9127
Camera.SetFixedPosition(1647.208, -1085.232, 24.1633, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1646.354, -1084.712, 24.164, SwitchType.JumpCut)
Player.SetControl($statbike_temp, False)
Streaming.LoadSceneInDirection(1637.642, -1063.702, 22.8984, 152.0807)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)

:INTRO1_9215
if 
  not Streaming.HasAnimationLoaded("MISC")
goto_if_false @INTRO1_9259
wait 0
Streaming.RequestAnimation("MISC")
Camera.DoFade(0, Fade.Out)
goto @INTRO1_9215

:INTRO1_9259
107@ = 2
if 
  Car.IsDead(51@)
goto_if_false @INTRO1_9303
113@ = 1
107@ = 3
goto @INTRO1_9343

:INTRO1_9303
if or
  Car.IsInWater(51@)
  Char.IsDead(50@)
  Char.IsDead(52@)
goto_if_false @INTRO1_9343
113@ = 1
107@ = 3

:INTRO1_9343
Path.SwitchPedRoadsOff(1782.802, -1203.497, 0.0, 1788.273, -1236.15, 20.0)
Camera.SetNearClip(0.2)
86@ = 0
75@ = 0
109@ = 0
46@ = 3
gosub @INTRO1_47
if 
  not Car.IsDead(78@)
goto_if_false @INTRO1_9791
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_9791
Char.FreezePositionAndDontLoadCollision(67@, False)
Car.FreezePositionAndDontLoadCollision(78@, False)
if 
  not Char.IsInCar(67@, 78@)
goto_if_false @INTRO1_9490
Char.WarpIntoCar(67@, 78@)

:INTRO1_9490
World.ClearArea(1644.47, -1072.658, 22.9062, 4.0, True)
if 
  113@ == 0
goto_if_false @INTRO1_9756
Car.SetCoordinates(78@, 1644.47, -1072.658, 22.9062)
Car.SetHeading(78@, 170.0)
Task.CarDriveToCoord(67@, 78@, 1540.298, -1159.188, 22.9062, 20.0, DriveMode.Normal, 481, DrivingMode.AvoidCars)
Car.SetForwardSpeed(78@, 10.0)
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_9749
World.ClearArea(1637.08, -1061.001, 22.9114, 4.0, True)
Car.SetCoordinates(51@, 1637.08, -1061.001, 22.9114)
Car.SetHeading(51@, 182.2789)
Car.SetForwardSpeed(51@, 5.0)
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_9708
Char.ClearTasks(52@)

:INTRO1_9708
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_9749
Char.ClearTasks(50@)
Task.CarMission(50@, 51@, 78@, CarMission.EscortLeft, 40.0, DrivingMode.AvoidCars)

:INTRO1_9749
goto @INTRO1_9786

:INTRO1_9756
Car.SetCoordinates(78@, 1638.166, -1056.298, 22.9062)
Car.SetHeading(78@, 272.6299)

:INTRO1_9786
Blip.Remove(39@)

:INTRO1_9791
World.ClearArea(1638.712, -1050.319, 22.8984, 4.0, True)
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_9942
if 
  not Car.IsDead(76@)
goto_if_false @INTRO1_9942
Char.FreezePositionAndDontLoadCollision(65@, False)
Car.FreezePositionAndDontLoadCollision(76@, False)
if 
  not Char.IsInCar(65@, 76@)
goto_if_false @INTRO1_9888
Char.WarpIntoCar(65@, 76@)

:INTRO1_9888
World.ClearArea(1640.649, -1055.473, 22.9062, 4.0, True)
Car.SetCoordinates(76@, 1640.649, -1055.473, 22.9062)
Car.SetHeading(76@, 260.0)

:INTRO1_9942
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_10069
if 
  not Car.IsDead(77@)
goto_if_false @INTRO1_10069
Char.FreezePositionAndDontLoadCollision(66@, False)
Car.FreezePositionAndDontLoadCollision(77@, False)
if 
  not Char.IsInCar(66@, 77@)
goto_if_false @INTRO1_10015
Char.WarpIntoCar(66@, 77@)

:INTRO1_10015
World.ClearArea(1644.913, -1050.538, 22.8984, 4.0, True)
Car.SetCoordinates(77@, 1644.913, -1050.538, 22.8984)
Car.SetHeading(77@, 270.0)

:INTRO1_10069
Hud.SwitchWidescreen(True)
wait 100
if or
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsOnAnyBike($stattreadstamina_ctr)
goto_if_false @INTRO1_10143
69@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetCoordinates(69@, 1638.712, -1050.319, 22.8984)
Car.SetHeading(69@, 252.8)
goto @INTRO1_10173

:INTRO1_10143
Char.SetCoordinates($stattreadstamina_ctr, 1638.712, -1050.319, 22.8984)
Char.SetHeading($stattreadstamina_ctr, 252.8)

:INTRO1_10173
World.ClearArea(1636.084, -1093.459, 23.7139, 100.0, True)
if 
  113@ == 1
goto_if_false @INTRO1_10222
goto @INTRO1_10423

:INTRO1_10222
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(1647.208, -1085.232, 24.1633, 1647.969, -1098.429, 24.1724, 4100, True)
Camera.SetVectorTrack(1646.354, -1084.712, 24.164, 1647.523, -1099.323, 24.1731, 4100, True)
Camera.DoFade(500, Fade.In)
TIMERA = 0

:INTRO1_10320
if 
  500 > TIMERA
goto_if_false @INTRO1_10350
wait 0
goto @INTRO1_10320

:INTRO1_10350
if 
  86@ <> 1
goto_if_false @INTRO1_10386
wait 0
gosub @INTRO1_20393
goto @INTRO1_10350

:INTRO1_10386
TIMERA = 0

:INTRO1_10393
if 
  1000 > TIMERA
goto_if_false @INTRO1_10423
wait 0
goto @INTRO1_10393

:INTRO1_10423
if 
  113@ == 1
goto_if_false @INTRO1_10455
86@ = 1
Camera.DoFade(500, Fade.In)

:INTRO1_10455
Camera.ResetNewScriptables
Camera.SetFixedPosition(1646.476, -1049.43, 23.0659, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1645.693, -1049.997, 23.3176, SwitchType.JumpCut)

:INTRO1_10508
if 
  86@ <> 2
goto_if_false @INTRO1_10652
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_10645
if 
  75@ == 2
goto_if_false @INTRO1_10645
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_10638
Task.PlayAnim(66@, "BMX_COMEON", "MISC", 4.0, False, False, False, False, -1)
53@ = Char.GetScriptTaskStatus(66@, 1541)

:INTRO1_10638
109@ = 1

:INTRO1_10645
goto @INTRO1_10508

:INTRO1_10652
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_10726
if 
  not Car.IsDead(37@)
goto_if_false @INTRO1_10718
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @INTRO1_10718
40@ = Blip.AddForChar(66@)
Blip.SetAsFriendly(40@, True)

:INTRO1_10718
Char.PerformSequence(66@, 72@)

:INTRO1_10726
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_10771
if 
  not Car.IsDead(76@)
goto_if_false @INTRO1_10771
Char.PerformSequence(65@, 111@)
Sequence.Clear(111@)

:INTRO1_10771
if 
  113@ == 0
goto_if_false @INTRO1_11078
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_10920
if 
  not Car.IsDead(78@)
goto_if_false @INTRO1_10920
Char.ClearTasksImmediately(67@)
Car.SetCoordinates(78@, 1540.298, -1159.188, -50.3438)
wait 0
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_10920
if 
  not Car.IsDead(78@)
goto_if_false @INTRO1_10920
if 
  not Char.IsInAnyCar(67@)
goto_if_false @INTRO1_10906
Char.WarpIntoCar(67@, 78@)

:INTRO1_10906
Char.FreezePositionAndDontLoadCollision(67@, True)
Car.FreezePositionAndDontLoadCollision(78@, True)

:INTRO1_10920
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_11071
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_11071
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_11071
Char.ClearTasksImmediately(50@)
Char.ClearTasksImmediately(52@)
Car.SetCoordinates(51@, 1540.298, -1171.188, -50.3438)
wait 0
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_11071
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_11071
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_11071
Char.FreezePositionAndDontLoadCollision(50@, True)
Char.FreezePositionAndDontLoadCollision(52@, True)
Car.FreezePositionAndDontLoadCollision(51@, True)

:INTRO1_11071
goto @INTRO1_11118

:INTRO1_11078
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_11118
if 
  not Car.IsDead(78@)
goto_if_false @INTRO1_11118
Char.PerformSequence(67@, 72@)

:INTRO1_11118
Sequence.Clear(72@)
wait 1000
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
74@ = 1
if 
  not Car.IsDead(37@)
goto_if_false @INTRO1_11224
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @INTRO1_11208
Text.PrintNow('INTRO2K', 1000, 1)
goto @INTRO1_11224

:INTRO1_11208
Text.PrintNow('INTRO2E', 10000, 1)

:INTRO1_11224
92@ = 2
if 
  Car.IsDead(37@)
goto_if_false @INTRO1_11270
Text.PrintNow('INT2_F4', 10000, 1)
goto @INTRO1_18099

:INTRO1_11270
if 
  Char.IsDead(66@)
goto_if_false @INTRO1_11293
goto @INTRO1_18099

:INTRO1_11293
if 
  not Car.IsDead(37@)
goto_if_false @INTRO1_11349
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @INTRO1_11342
$sweet = 1
goto @INTRO1_11349

:INTRO1_11342
$sweet = 0

:INTRO1_11349
68@ = 0
57@ = 0
86@ = 0
75@ = 0
109@ = 0
46@ = 6
64@ = 0
gosub @INTRO1_47
TIMERA = 0
112@ = 0

:INTRO1_11419
if or
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2493.82, -1669.91, 12.8, 4.0, 3.5, 4.0, True)
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 66@, 60.0, 60.0, 20.0, False)
goto_if_false @INTRO1_13518
wait 0
gosub @INTRO1_18501
gosub @INTRO1_20069
if 
  45@ == 1
goto_if_false @INTRO1_11535
goto @INTRO1_18099

:INTRO1_11535
if 
  57@ == 0
goto_if_false @INTRO1_12969
if 
  68@ == 0
goto_if_false @INTRO1_12093
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1981.292, -1510.219, 2.3844, 40.0, 40.0, 15.0, False)
goto_if_false @INTRO1_12086
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_12086
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_12086
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_11825
Char.FreezePositionAndDontLoadCollision(50@, False)
Char.FreezePositionAndDontLoadCollision(52@, False)
Car.FreezePositionAndDontLoadCollision(51@, False)
Car.SetCoordinates(51@, 1809.0, -1519.0, 7.0)
Car.SetHeading(51@, 270.0)
if 
  not Char.IsInAnyCar(50@)
goto_if_false @INTRO1_11742
Char.WarpIntoCar(50@, 51@)

:INTRO1_11742
if 
  not Char.IsInAnyCar(52@)
goto_if_false @INTRO1_11768
Char.WarpIntoCarAsPassenger(52@, 51@, 0)

:INTRO1_11768
Char.ClearTasks(52@)
if 
  Char.IsInAnyCar(52@)
goto_if_false @INTRO1_11825
Task.DriveBy(52@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 5000.0, DriveByType.AiSide, True, 40)

:INTRO1_11825
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO1_11929
69@ = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_11922
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_11922
Char.ClearTasks(50@)
if 
  Char.IsInAnyCar(50@)
goto_if_false @INTRO1_11922
Task.CarMission(50@, 51@, 69@, CarMission.EscortLeft, 30.0, DrivingMode.AvoidCars)

:INTRO1_11922
goto @INTRO1_12079

:INTRO1_11929
122@, 123@, 124@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, -4.0, 0.0)
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_12079
53@ = Char.GetScriptTaskStatus(50@, 1489)
if 
  is_int_lvar_equal_to_constant 53@ == 7
goto_if_false @INTRO1_12079
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_12079
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_12079
if 
  Char.IsInAnyCar(50@)
goto_if_false @INTRO1_12079
Task.CarDriveToCoord(50@, 51@, 122@, 123@, 124@, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:INTRO1_12079
68@ = 1

:INTRO1_12086
goto @INTRO1_12862

:INTRO1_12093
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_12862
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_12803
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_12737
125@, 126@, 127@ = Char.GetCoordinates($stattreadstamina_ctr)
if and
  not Car.Locate2D(51@, 125@, 126@, 50.0, 50.0, False)
  not Car.IsOnScreen(51@)
goto_if_false @INTRO1_12290
Char.ClearTasks(50@)
116@, 117@, 118@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, -40.0, 0.0)
119@, 120@, 121@ = Path.GetClosestCarNode(116@, 117@, 118@)
Car.SetCoordinates(51@, 119@, 120@, 121@)
Car.TurnToFaceCoord(51@, 116@, 117@)
Car.SetForwardSpeed(51@, 20.0)
goto @INTRO1_12730

:INTRO1_12290
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO1_12499
53@ = Char.GetScriptTaskStatus(50@, 1761)
if 
  is_int_lvar_equal_to_constant 53@ == 7
goto_if_false @INTRO1_12395
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO1_12395
69@ = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  Char.IsInAnyCar(50@)
goto_if_false @INTRO1_12395
Task.CarMission(50@, 51@, 69@, CarMission.EscortLeft, 30.0, DrivingMode.AvoidCars)

:INTRO1_12395
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_12492
if 
  Char.IsInAnyCar(52@)
goto_if_false @INTRO1_12492
53@ = Char.GetScriptTaskStatus(52@, 1811)
if 
  is_int_lvar_equal_to_constant 53@ == 7
goto_if_false @INTRO1_12492
Task.DriveBy(52@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 5000.0, DriveByType.AiSide, True, 40)

:INTRO1_12492
goto @INTRO1_12730

:INTRO1_12499
122@, 123@, 124@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, -4.0, 0.0)
53@ = Char.GetScriptTaskStatus(50@, 1489)
if 
  is_int_lvar_equal_to_constant 53@ == 7
goto_if_false @INTRO1_12633
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_12633
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_12633
if 
  Char.IsInAnyCar(50@)
goto_if_false @INTRO1_12633
Task.CarDriveToCoord(50@, 51@, 122@, 123@, 124@, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:INTRO1_12633
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_12730
if 
  Char.IsInAnyCar(52@)
goto_if_false @INTRO1_12730
53@ = Char.GetScriptTaskStatus(52@, 1811)
if 
  is_int_lvar_equal_to_constant 53@ == 7
goto_if_false @INTRO1_12730
Task.DriveBy(52@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 5000.0, DriveByType.AiSide, True, 40)

:INTRO1_12730
goto @INTRO1_12796

:INTRO1_12737
if 
  114@ == 0
goto_if_false @INTRO1_12796
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_12796
Char.ClearTasks(50@)
Task.LeaveAnyCar(50@)
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)
114@ = 1

:INTRO1_12796
goto @INTRO1_12862

:INTRO1_12803
if 
  114@ == 0
goto_if_false @INTRO1_12862
if 
  not Char.IsDead(52@)
goto_if_false @INTRO1_12862
Char.ClearTasks(52@)
Task.LeaveAnyCar(52@)
Task.KillCharOnFoot(52@, $stattreadstamina_ctr)
114@ = 1

:INTRO1_12862
if 
  not Char.IsDead(50@)
goto_if_false @INTRO1_12969
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_12969
if 
  Char.LocateAnyMeans3D(50@, 2341.85, -1658.92, 12.39, 30.0, 30.0, 30.0, False)
goto_if_false @INTRO1_12969
Char.ClearTasks(50@)
Task.CarDriveWander(50@, 51@, 20.0, DrivingMode.AvoidCars)
57@ = 1

:INTRO1_12969
if 
  112@ == 0
goto_if_false @INTRO1_13139
if 
  TIMERA > 1500
goto_if_false @INTRO1_13107
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_13107
if 
  not Car.IsDead(77@)
goto_if_false @INTRO1_13107
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @INTRO1_13107
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 66@, 20.0, 20.0, 10.0, False)
goto_if_false @INTRO1_13107
gosub @INTRO1_20393
115@ = 1

:INTRO1_13107
if 
  86@ > 1
goto_if_false @INTRO1_13132
112@ = 1

:INTRO1_13132
goto @INTRO1_13376

:INTRO1_13139
if 
  112@ == 1
goto_if_false @INTRO1_13213
86@ = 0
75@ = 0
109@ = 0
46@ = 5
64@ = 0
gosub @INTRO1_47
TIMERA = 0
112@ = 2

:INTRO1_13213
if 
  112@ == 2
goto_if_false @INTRO1_13376
if 
  TIMERA > 1500
goto_if_false @INTRO1_13351
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_13351
if 
  not Car.IsDead(76@)
goto_if_false @INTRO1_13351
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @INTRO1_13351
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 65@, 20.0, 20.0, 10.0, False)
goto_if_false @INTRO1_13351
gosub @INTRO1_20393
108@ = 1

:INTRO1_13351
if 
  86@ > 2
goto_if_false @INTRO1_13376
112@ = 3

:INTRO1_13376
if 
  Char.IsDead(65@)
goto_if_false @INTRO1_13415
Text.PrintNow('INT2_F1', 10000, 1)
goto @INTRO1_18099

:INTRO1_13415
if 
  Char.IsDead(66@)
goto_if_false @INTRO1_13454
Text.PrintNow('INT2_F3', 10000, 1)
goto @INTRO1_18099

:INTRO1_13454
if 
  113@ == 1
goto_if_false @INTRO1_13511
if 
  Char.IsDead(67@)
goto_if_false @INTRO1_13511
Text.PrintNow('INT2_F2', 10000, 1)
goto @INTRO1_18099

:INTRO1_13511
goto @INTRO1_11419

:INTRO1_13518
Player.SetControl($statbike_temp, False)
113@ = 0
if 
  not Car.IsDead(37@)
goto_if_false @INTRO1_13608
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @INTRO1_13608
Task.PlayAnim($stattreadstamina_ctr, "BMX_CELEBRATE", "MISC", 4.0, False, False, False, False, -1)

:INTRO1_13608
wait 1000
Camera.DoFade(1500, Fade.Out)

:INTRO1_13620
if 
  Camera.GetFadingStatus
goto_if_false @INTRO1_13644
wait 0
goto @INTRO1_13620

:INTRO1_13644
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Player.ClearWantedLevel($statbike_temp)
Streaming.RequestCarRecording(205)
Streaming.RequestCarRecording(206)
Streaming.RequestAnimation("MISC")
Streaming.RequestAnimation("GANGS")
Streaming.LoadAllModelsNow

:INTRO1_13686
if or
  not Streaming.HasCarRecordingBeenLoaded(205)
  not Streaming.HasCarRecordingBeenLoaded(206)
  not Streaming.HasAnimationLoaded("MISC")
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @INTRO1_13735
wait 0
goto @INTRO1_13686

:INTRO1_13735
Hud.SwitchWidescreen(True)
Camera.SetNearClip(0.2)
86@ = 0
75@ = 0
109@ = 0
46@ = 2
gosub @INTRO1_47
if 
  not Car.IsDead(37@)
goto_if_false @INTRO1_13964
if 
  not Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @INTRO1_13934
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO1_13883
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2487.309, -1668.372, 12.3438)
Char.SetHeading($stattreadstamina_ctr, 80.0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
113@ = 1
goto @INTRO1_13927

:INTRO1_13883
Char.SetCoordinates($stattreadstamina_ctr, 2487.309, -1668.372, 12.3438)
Char.SetHeading($stattreadstamina_ctr, 80.0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
113@ = 1

:INTRO1_13927
goto @INTRO1_13964

:INTRO1_13934
Car.SetCoordinates(37@, 2487.309, -1668.372, 12.3438)
Car.SetHeading(37@, 80.0)

:INTRO1_13964
World.ClearArea(2487.309, -1668.372, 12.3438, 50.0, True)
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_14093
if 
  not Car.IsDead(76@)
goto_if_false @INTRO1_14093
Char.ClearTasksImmediately(65@)
Char.FreezePositionAndDontLoadCollision(65@, False)
Car.FreezePositionAndDontLoadCollision(76@, False)
if 
  not Char.IsInAnyCar(65@)
goto_if_false @INTRO1_14063
Char.WarpIntoCar(65@, 76@)

:INTRO1_14063
Car.SetCoordinates(76@, 2487.172, -1666.301, 12.3438)
Car.SetHeading(76@, 124.2698)

:INTRO1_14093
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_14168
if 
  not Car.IsDead(77@)
goto_if_false @INTRO1_14168
Char.ClearTasksImmediately(66@)
Char.FreezePositionAndDontLoadCollision(66@, False)
Car.FreezePositionAndDontLoadCollision(77@, False)
if 
  not Char.IsInAnyCar(66@)
goto_if_false @INTRO1_14168
Char.WarpIntoCar(66@, 77@)

:INTRO1_14168
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_14263
if 
  not Car.IsDead(78@)
goto_if_false @INTRO1_14263
Char.ClearTasksImmediately(67@)
Char.FreezePositionAndDontLoadCollision(67@, False)
Car.FreezePositionAndDontLoadCollision(78@, False)
if 
  not Char.IsInAnyCar(67@)
goto_if_false @INTRO1_14243
Char.WarpIntoCar(67@, 78@)

:INTRO1_14243
Car.SetCoordinates(78@, 2371.5, -1654.895, 12.3826)

:INTRO1_14263
Char.Delete(50@)
Char.Delete(52@)
Car.Delete(51@)
Camera.SetFixedPosition(2409.037, -1672.324, 18.3556, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2409.954, -1671.944, 18.2334, SwitchType.JumpCut)
Streaming.LoadScene(2480.689, -1670.006, 13.0061)
Camera.SetFixedPosition(2479.827, -1670.506, 12.9206, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2480.689, -1670.006, 13.0061, SwitchType.JumpCut)
wait 1000
Camera.DoFade(1000, Fade.In)
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_14459
if 
  not Car.IsDead(77@)
goto_if_false @INTRO1_14459
Car.StartPlayback(77@, 206)
Car.SetPlaybackSpeed(77@, 1.0)

:INTRO1_14459
109@ = 0

:INTRO1_14466
if 
  86@ <> 1
goto_if_false @INTRO1_14771
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_14764
if 
  75@ == 2
goto_if_false @INTRO1_14764
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_14757
Char.ClearLookAt(66@)
Task.LookAtChar(66@, $stattreadstamina_ctr, 30000)
Char.StartFacialTalk(66@, 20000)
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, 66@, 30000)
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_14646
Task.PlayAnim(65@, "BMX_IDLELOOP_02", "MISC", 4.0, True, False, False, False, -1)

:INTRO1_14646
if 
  113@ == 0
goto_if_false @INTRO1_14707
Task.PlayAnim($stattreadstamina_ctr, "BMX_IDLELOOP_01", "MISC", 4.0, True, False, False, False, -1)

:INTRO1_14707
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_14757
if 
  not Car.IsDead(78@)
goto_if_false @INTRO1_14757
Car.StartPlayback(78@, 205)
Car.SetPlaybackSpeed(78@, 0.8)

:INTRO1_14757
109@ = 1

:INTRO1_14764
goto @INTRO1_14466

:INTRO1_14771
TIMERB = 0

:INTRO1_14778
if 
  200 > TIMERB
goto_if_false @INTRO1_14808
wait 0
goto @INTRO1_14778

:INTRO1_14808
skip_cutscene_start_internal @INTRO1_17685
109@ = 0

:INTRO1_14822
if 
  86@ <> 2
goto_if_false @INTRO1_15120
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_15113
if 
  75@ == 2
goto_if_false @INTRO1_15113
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_15106
Char.ClearLookAt(67@)
Task.LookAtChar(67@, $stattreadstamina_ctr, 30000)
Char.StartFacialTalk(67@, 20000)
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, 67@, 30000)
Task.PlayAnim(67@, "BMX_IDLELOOP_01", "MISC", 4.0, True, False, False, False, -1)
if 
  113@ == 0
goto_if_false @INTRO1_15047
Task.PlayAnim($stattreadstamina_ctr, "BMX_IDLELOOP_01", "MISC", 4.0, True, False, False, False, -1)

:INTRO1_15047
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_15106
Task.PlayAnim(65@, "BMX_IDLELOOP_02", "MISC", 4.0, True, False, False, False, -1)

:INTRO1_15106
109@ = 1

:INTRO1_15113
goto @INTRO1_14822

:INTRO1_15120
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_15141
Char.StopFacialTalk(67@)

:INTRO1_15141
Camera.SetFixedPosition(2488.323, -1669.926, 13.3261, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2487.485, -1669.385, 13.2679, SwitchType.JumpCut)
109@ = 0

:INTRO1_15199
if 
  86@ <> 3
goto_if_false @INTRO1_15464
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_15457
if 
  75@ == 2
goto_if_false @INTRO1_15457
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_15450
Char.ClearLookAt(65@)
Task.LookAtChar(65@, $stattreadstamina_ctr, 15000)
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_15328
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, 67@, 30000)

:INTRO1_15328
Char.StartFacialTalk($stattreadstamina_ctr, 20000)
if 
  113@ == 0
goto_if_false @INTRO1_15407
Task.PlayAnim($stattreadstamina_ctr, "BMX_TALKRIGHT_LOOP", "MISC", 4.0, True, False, False, False, -1)
goto @INTRO1_15450

:INTRO1_15407
Task.PlayAnim($stattreadstamina_ctr, "PRTIAL_GNGTLKC", "GANGS", 4.0, True, False, False, False, -1)

:INTRO1_15450
109@ = 1

:INTRO1_15457
goto @INTRO1_15199

:INTRO1_15464
Char.StopFacialTalk($stattreadstamina_ctr)
109@ = 0

:INTRO1_15476
if 
  86@ <> 4
goto_if_false @INTRO1_15563
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_15556
if 
  75@ == 2
goto_if_false @INTRO1_15556
109@ = 1
Char.StartFacialTalk($stattreadstamina_ctr, 20000)

:INTRO1_15556
goto @INTRO1_15476

:INTRO1_15563
Camera.SetFixedPosition(2482.804, -1666.785, 13.785, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2483.778, -1666.774, 13.5566, SwitchType.JumpCut)
Char.ClearTasks($stattreadstamina_ctr)
if 
  113@ == 0
goto_if_false @INTRO1_15680
Task.PlayAnim($stattreadstamina_ctr, "BMX_IDLELOOP_01", "MISC", 4.0, True, False, False, False, -1)

:INTRO1_15680
Char.StopFacialTalk($stattreadstamina_ctr)
109@ = 0

:INTRO1_15692
if 
  86@ <> 5
goto_if_false @INTRO1_15827
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_15820
if 
  75@ == 2
goto_if_false @INTRO1_15820
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_15813
Char.StartFacialTalk(67@, 20000)
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_15813
Char.ClearLookAt(65@)
Task.LookAtChar(65@, 67@, 15000)

:INTRO1_15813
109@ = 1

:INTRO1_15820
goto @INTRO1_15692

:INTRO1_15827
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_15848
Char.StopFacialTalk(67@)

:INTRO1_15848
109@ = 0

:INTRO1_15855
if 
  86@ <> 6
goto_if_false @INTRO1_16050
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_16043
if 
  75@ == 2
goto_if_false @INTRO1_16043
109@ = 1
Char.StartFacialTalk($stattreadstamina_ctr, 20000)
if 
  113@ == 0
goto_if_false @INTRO1_16006
Task.PlayAnim($stattreadstamina_ctr, "BMX_TALKRIGHT_LOOP", "MISC", 4.0, True, False, False, False, -1)
goto @INTRO1_16043

:INTRO1_16006
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, 6000)

:INTRO1_16043
goto @INTRO1_15855

:INTRO1_16050
Char.StopFacialTalk($stattreadstamina_ctr)
if 
  113@ == 0
goto_if_false @INTRO1_16123
Task.PlayAnim($stattreadstamina_ctr, "BMX_IDLELOOP_01", "MISC", 4.0, True, False, False, False, -1)
goto @INTRO1_16128

:INTRO1_16123
Char.ClearTasks($stattreadstamina_ctr)

:INTRO1_16128
Camera.SetFixedPosition(2482.911, -1662.575, 14.0425, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2483.366, -1663.456, 13.914, SwitchType.JumpCut)
109@ = 0

:INTRO1_16186
if 
  86@ <> 7
goto_if_false @INTRO1_16321
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_16314
if 
  75@ == 2
goto_if_false @INTRO1_16314
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_16307
Char.StartFacialTalk(67@, 20000)
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_16307
Char.ClearLookAt(65@)
Task.LookAtChar(65@, 67@, 15000)

:INTRO1_16307
109@ = 1

:INTRO1_16314
goto @INTRO1_16186

:INTRO1_16321
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_16342
Char.StopFacialTalk(67@)

:INTRO1_16342
109@ = 0

:INTRO1_16349
if 
  86@ <> 8
goto_if_false @INTRO1_16554
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_16547
if 
  75@ == 2
goto_if_false @INTRO1_16547
109@ = 1
Char.ClearTasks($stattreadstamina_ctr)
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk($stattreadstamina_ctr, 20000)
if 
  113@ == 0
goto_if_false @INTRO1_16510
Task.PlayAnim($stattreadstamina_ctr, "BMX_TALKRIGHT_LOOP", "MISC", 4.0, True, False, False, False, -1)
goto @INTRO1_16547

:INTRO1_16510
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, 6000)

:INTRO1_16547
goto @INTRO1_16349

:INTRO1_16554
Char.StopFacialTalk($stattreadstamina_ctr)
if 
  113@ == 0
goto_if_false @INTRO1_16627
Task.PlayAnim($stattreadstamina_ctr, "BMX_IDLELOOP_01", "MISC", 4.0, True, False, False, False, -1)
goto @INTRO1_16632

:INTRO1_16627
Char.ClearTasks($stattreadstamina_ctr)

:INTRO1_16632
Camera.SetFixedPosition(2490.0, -1667.537, 13.7938, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2489.044, -1667.497, 13.5038, SwitchType.JumpCut)
109@ = 0

:INTRO1_16690
if 
  86@ <> 9
goto_if_false @INTRO1_16870
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_16863
if 
  75@ == 2
goto_if_false @INTRO1_16863
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_16856
Char.ClearLookAt(65@)
Task.LookAtChar(65@, $stattreadstamina_ctr, 15000)
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, 65@, 15000)
Char.StartFacialTalk(65@, 20000)
Task.PlayAnim(65@, "BMX_TALKLEFT_LOOP", "MISC", 4.0, True, False, False, False, -1)

:INTRO1_16856
109@ = 1

:INTRO1_16863
goto @INTRO1_16690

:INTRO1_16870
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_16929
Task.PlayAnim(65@, "BMX_IDLELOOP_02", "MISC", 4.0, True, False, False, False, -1)

:INTRO1_16929
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_16950
Char.StopFacialTalk(65@)

:INTRO1_16950
TIMERB = 0

:INTRO1_16957
if 
  1500 > TIMERB
goto_if_false @INTRO1_16987
wait 0
goto @INTRO1_16957

:INTRO1_16987
Camera.SetFixedPosition(2474.306, -1668.478, 13.4599, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2475.302, -1668.458, 13.5477, SwitchType.JumpCut)
if 
  not Car.IsDead(76@)
goto_if_false @INTRO1_17064
Car.SetHeading(76@, 0.0)

:INTRO1_17064
109@ = 0

:INTRO1_17071
if 
  86@ <> 10
goto_if_false @INTRO1_17206
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_17199
if 
  75@ == 2
goto_if_false @INTRO1_17199
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_17192
Char.ClearLookAt(66@)
Task.LookAtChar(66@, $stattreadstamina_ctr, 15000)
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, 66@, 15000)
Char.StartFacialTalk(66@, 20000)

:INTRO1_17192
109@ = 1

:INTRO1_17199
goto @INTRO1_17071

:INTRO1_17206
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_17227
Char.StopFacialTalk(66@)

:INTRO1_17227
TIMERB = 0
109@ = 0

:INTRO1_17241
if 
  86@ <> 11
goto_if_false @INTRO1_17539
wait 0
gosub @INTRO1_20393
if 
  109@ == 0
goto_if_false @INTRO1_17369
if 
  75@ == 2
goto_if_false @INTRO1_17369
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_17369
Char.ClearLookAt(66@)
Task.LookAtChar(66@, $stattreadstamina_ctr, 12500)
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, 66@, 12500)
Char.StartFacialTalk(66@, 20000)
109@ = 1

:INTRO1_17369
if 
  TIMERB > 3000
goto_if_false @INTRO1_17532
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_17460
if 
  not Car.IsDead(76@)
goto_if_false @INTRO1_17460
Char.ClearTasks(65@)
Task.CarDriveToCoord(65@, 76@, 2501.244, -1657.769, 12.3949, 4.0, DriveMode.Accurate, 481, DrivingMode.AvoidCars)

:INTRO1_17460
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_17532
if 
  not Car.IsDead(78@)
goto_if_false @INTRO1_17532
Char.ClearTasks(67@)
Task.CarDriveToCoord(67@, 78@, 2497.169, -1680.446, 12.3614, 6.0, DriveMode.Accurate, 481, DrivingMode.AvoidCars)

:INTRO1_17532
goto @INTRO1_17241

:INTRO1_17539
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_17560
Char.StopFacialTalk(66@)

:INTRO1_17560
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_17648
if 
  not Car.IsDead(77@)
goto_if_false @INTRO1_17648
if 
  Char.IsInAnyCar(66@)
goto_if_false @INTRO1_17648
Char.ClearLookAt(66@)
Task.CarDriveToCoord(66@, 77@, 2466.27, -1690.28, 12.51, 2.0, DriveMode.Accurate, 481, DrivingMode.AvoidCars)

:INTRO1_17648
TIMERB = 0

:INTRO1_17655
if 
  3000 > TIMERB
goto_if_false @INTRO1_17685
wait 0
goto @INTRO1_17655

:INTRO1_17685
skip_cutscene_end 
Camera.ResetNewScriptables
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
World.SwitchEntryExit('CARLS', True)
skip_cutscene_start_internal @INTRO1_18060
Text.ClearPrints
Camera.SetFixedPosition(2499.306, -1678.921, 13.0313, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2499.044, -1679.852, 13.2865, SwitchType.JumpCut)
Car.Delete(76@)
Car.Delete(77@)
Car.Delete(78@)
Char.Delete(65@)
Char.Delete(66@)
Char.Delete(67@)
Text.PrintHelp('SAVE_G')
TIMERB = 0

:INTRO1_17825
if 
  6000 > TIMERB
goto_if_false @INTRO1_17855
wait 0
goto @INTRO1_17825

:INTRO1_17855
Camera.SetFixedPosition(2504.28, -1682.857, 15.1427, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2504.306, -1683.851, 15.0385, SwitchType.JumpCut)
Text.PrintHelp('SAVE_G2')
TIMERB = 0

:INTRO1_17924
if 
  6000 > TIMERB
goto_if_false @INTRO1_17954
wait 0
goto @INTRO1_17924

:INTRO1_17954
Camera.SetFixedPosition(2494.863, -1683.051, 13.0207, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2494.939, -1684.037, 13.1717, SwitchType.JumpCut)
Text.PrintHelp('SAVE_G3')
Player.SetControl($statbike_temp, True)
TIMERB = 0

:INTRO1_18030
if 
  6000 > TIMERB
goto_if_false @INTRO1_18060
wait 0
goto @INTRO1_18030

:INTRO1_18060
skip_cutscene_end 
Char.ClearTasks($stattreadstamina_ctr)
Char.SetHeading($stattreadstamina_ctr, 82.97)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
goto @INTRO1_18117

:INTRO1_18099
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:INTRO1_18117
$flag_sweet_mission_counter += 1
Stat.RegisterMissionPassed('INTRO_1')
Text.PrintWithNumberBig('M_PASSR', 3, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(3)
terminate_all_scripts_with_this_name 'INT'
Blip.Remove($1721)
$1721 = Blip.AddShortRangeSpriteForContactPoint($890[0], $908[0], $926[0], RadarSprite.SaveGame)
Blip.ChangeDisplay($1721, BlipDisplay.BlipOnly)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.PlayerMadeProgress(1)
Blip.Remove($ryder_blip_icon)
World.SwitchEntryExit('CARLS', True)
return 

:INTRO1_18229
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Streaming.MarkModelAsNoLongerNeeded(404)
Streaming.MarkModelAsNoLongerNeeded(481)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(412)
CarGenerator.DontSuppressCarModel(412)
Streaming.MarkModelAsNoLongerNeeded(346)
Char.MarkAsNoLongerNeeded(50@)
Char.MarkAsNoLongerNeeded(52@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(67@)
Car.MarkAsNoLongerNeeded(51@)
Car.MarkAsNoLongerNeeded(41@)
Car.MarkAsNoLongerNeeded(76@)
Car.MarkAsNoLongerNeeded(77@)
Car.MarkAsNoLongerNeeded(78@)
Streaming.RemoveCarRecording(201)
Streaming.RemoveCarRecording(205)
Streaming.RemoveCarRecording(206)
Streaming.RemoveAnimation("MISC")
Streaming.RemoveAnimation("GANGS")
Path.SwitchPedRoadsOn(1782.802, -1203.497, 0.0, 1788.273, -1236.15, 20.0)
if 
  not Car.IsDead(51@)
goto_if_false @INTRO1_18417
Car.StopPlayback(51@)
goto @INTRO1_18422

:INTRO1_18417
Car.StopPlayback(51@)

:INTRO1_18422
Game.EnableAmbientCrime(True)
Car.Delete(76@)
Car.Delete(77@)
Car.Delete(78@)
Char.RemoveElegantly(65@)
Char.RemoveElegantly(66@)
Char.RemoveElegantly(67@)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(10)
Streaming.UnloadSpecialCharacter(3)
Blip.Remove(39@)
Blip.Remove(40@)
Blip.Remove(43@)
Mission.Finish
return 

:INTRO1_18501
if 
  not Car.IsDead(37@)
goto_if_false @INTRO1_19556
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @INTRO1_19453
if 
  92@ == 1
goto_if_false @INTRO1_18794
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_18794
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 67@, 60.0, 60.0, 20.0, False)
goto_if_false @INTRO1_18661
Text.PrintNow('INTRO2G', 6000, 1)
if 
  115@ == 1
goto_if_false @INTRO1_18647
115@ = 0

:INTRO1_18647
$sweet = 0
goto @INTRO1_18794

:INTRO1_18661
if 
  115@ == 0
goto_if_false @INTRO1_18776
if 
  46@ == 4
goto_if_false @INTRO1_18776
if 
  86@ > 5
goto_if_false @INTRO1_18776
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_18776
if 
  Char.LocateAnyMeansChar2D(67@, $stattreadstamina_ctr, 20.0, 20.0, False)
goto_if_false @INTRO1_18776
115@ = 1
gosub @INTRO1_20624

:INTRO1_18776
Text.ClearThisPrint('INTRO2G')
$sweet = 1

:INTRO1_18794
if 
  92@ == 2
goto_if_false @INTRO1_19226
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_19034
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 66@, 60.0, 60.0, 20.0, False)
goto_if_false @INTRO1_18919
Text.PrintNow('INTRO2J', 6000, 1)
if 
  115@ == 1
goto_if_false @INTRO1_18905
115@ = 0

:INTRO1_18905
$sweet = 0
goto @INTRO1_19034

:INTRO1_18919
if 
  115@ == 0
goto_if_false @INTRO1_19016
if 
  86@ > 1
goto_if_false @INTRO1_19016
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_19016
if 
  Char.LocateAnyMeansChar2D(66@, $stattreadstamina_ctr, 20.0, 20.0, False)
goto_if_false @INTRO1_19016
115@ = 1
gosub @INTRO1_20624

:INTRO1_19016
Text.ClearThisPrint('INTRO2J')
$sweet = 1

:INTRO1_19034
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_19226
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 65@, 60.0, 60.0, 20.0, False)
goto_if_false @INTRO1_19118
if 
  108@ == 1
goto_if_false @INTRO1_19111
108@ = 0

:INTRO1_19111
goto @INTRO1_19226

:INTRO1_19118
if 
  108@ == 0
goto_if_false @INTRO1_19215
if 
  86@ > 2
goto_if_false @INTRO1_19215
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_19215
if 
  Char.LocateAnyMeansChar2D(65@, $stattreadstamina_ctr, 20.0, 20.0, False)
goto_if_false @INTRO1_19215
108@ = 1
gosub @INTRO1_21319

:INTRO1_19215
Text.ClearThisPrint('INTRO2J')

:INTRO1_19226
if 
  54@ == 0
goto_if_false @INTRO1_19446
Blip.Remove(43@)
$sweet = 1
if 
  92@ == 0
goto_if_false @INTRO1_19331
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_19310
Blip.Remove(39@)
39@ = Blip.AddForChar(67@)
Blip.SetAsFriendly(39@, True)

:INTRO1_19310
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
92@ = 1

:INTRO1_19331
if 
  92@ == 1
goto_if_false @INTRO1_19385
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_19385
Blip.Remove(39@)
39@ = Blip.AddForChar(67@)
Blip.SetAsFriendly(39@, True)

:INTRO1_19385
if 
  92@ == 2
goto_if_false @INTRO1_19439
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_19439
Blip.Remove(40@)
40@ = Blip.AddForChar(66@)
Blip.SetAsFriendly(40@, True)

:INTRO1_19439
54@ = 1

:INTRO1_19446
goto @INTRO1_19549

:INTRO1_19453
if 
  54@ == 1
goto_if_false @INTRO1_19549
Blip.Remove(43@)
Blip.Remove(40@)
Blip.Remove(39@)
43@ = Blip.AddForCar(37@)
Blip.SetAsFriendly(43@, True)
if 
  92@ <> 0
goto_if_false @INTRO1_19535
Text.PrintNow('INTRO2E', 10000, 1)

:INTRO1_19535
$sweet = 0
54@ = 0

:INTRO1_19549
goto @INTRO1_19579

:INTRO1_19556
Text.PrintNow('INT2_F4', 10000, 1)
45@ = 1

:INTRO1_19579
if 
  Char.IsDead(65@)
goto_if_false @INTRO1_19625
Text.PrintNow('INT2_F1', 10000, 1)
45@ = 1
goto @INTRO1_19721

:INTRO1_19625
if 
  83@ == 0
goto_if_false @INTRO1_19721
if 
  not Char.IsDead(65@)
goto_if_false @INTRO1_19721
if 
  not Car.IsDead(76@)
goto_if_false @INTRO1_19721
if 
  Char.IsInCar(65@, 76@)
goto_if_false @INTRO1_19721
Char.ClearTasks(65@)
Char.PerformSequence(65@, 82@)
Car.SetStraightLineDistance(76@, 10)
83@ = 1

:INTRO1_19721
if 
  Char.IsDead(66@)
goto_if_false @INTRO1_19767
Text.PrintNow('INT2_F3', 10000, 1)
45@ = 1
goto @INTRO1_19863

:INTRO1_19767
if 
  85@ == 0
goto_if_false @INTRO1_19863
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_19863
if 
  not Car.IsDead(77@)
goto_if_false @INTRO1_19863
if 
  Char.IsInCar(66@, 77@)
goto_if_false @INTRO1_19863
Char.ClearTasks(66@)
Char.PerformSequence(66@, 82@)
Car.SetStraightLineDistance(77@, 10)
85@ = 1

:INTRO1_19863
if 
  92@ <> 2
goto_if_false @INTRO1_20023
if 
  Char.IsDead(67@)
goto_if_false @INTRO1_19927
Text.PrintNow('INT2_F2', 10000, 1)
45@ = 1
goto @INTRO1_20023

:INTRO1_19927
if 
  84@ == 0
goto_if_false @INTRO1_20023
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_20023
if 
  not Car.IsDead(78@)
goto_if_false @INTRO1_20023
if 
  Char.IsInCar(67@, 78@)
goto_if_false @INTRO1_20023
Char.ClearTasks(67@)
Char.PerformSequence(67@, 82@)
Car.SetStraightLineDistance(78@, 10)
84@ = 1

:INTRO1_20023
if and
  83@ == 1
  84@ == 1
  85@ == 1
goto_if_false @INTRO1_20067
Sequence.Clear(82@)
83@ = 2

:INTRO1_20067
return 

:INTRO1_20069
if 
  TIMERB > 1000
goto_if_false @INTRO1_20391
if 
  not Char.IsDead(65@(48@,3i))
goto_if_false @INTRO1_20351
if 
  not Car.IsDead(76@(48@,3i))
goto_if_false @INTRO1_20314
if 
  Char.IsInCar(65@(48@,3i), 76@(48@,3i))
goto_if_false @INTRO1_20307
if 
  Char.LocateAnyMeansChar2D(65@(48@,3i), $stattreadstamina_ctr, 130.0, 130.0, False)
goto_if_false @INTRO1_20252
if 
  58@(48@,3i) == 0
goto_if_false @INTRO1_20245
Char.FreezePositionAndDontLoadCollision(65@(48@,3i), False)
Car.FreezePositionAndDontLoadCollision(76@(48@,3i), False)
58@(48@,3i) = 1

:INTRO1_20245
goto @INTRO1_20307

:INTRO1_20252
if 
  58@(48@,3i) == 1
goto_if_false @INTRO1_20307
Char.FreezePositionAndDontLoadCollision(65@(48@,3i), True)
Car.FreezePositionAndDontLoadCollision(76@(48@,3i), True)
58@(48@,3i) = 0

:INTRO1_20307
goto @INTRO1_20351

:INTRO1_20314
Char.ClearTasks(65@(48@,3i))
Task.GoToCoordAnyMeans(65@(48@,3i), 2493.82, -1669.91, 12.8, 7, -1)

:INTRO1_20351
48@ += 1
if 
  is_int_lvar_greater_or_equal_to_int_lvar 48@ >= 107@
goto_if_false @INTRO1_20384
48@ = 0

:INTRO1_20384
TIMERB = 0

:INTRO1_20391
return 

:INTRO1_20393
if or
  75@ == 0
  75@ == 1
goto_if_false @INTRO1_20463
if 
  is_int_lvar_greater_or_equal_to_int_lvar 63@ >= 86@
goto_if_false @INTRO1_20463
if 
  TIMERA > 200
goto_if_false @INTRO1_20463
gosub @INTRO1_20528

:INTRO1_20463
if 
  75@ == 2
goto_if_false @INTRO1_20526
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @INTRO1_20526
75@ = 0
86@ += 1
109@ = 0
Text.ClearPrints
TIMERA = 0

:INTRO1_20526
return 

:INTRO1_20528
if 
  75@ == 0
goto_if_false @INTRO1_20564
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 93@(86@,14i))
75@ = 1

:INTRO1_20564
if 
  75@ == 1
goto_if_false @INTRO1_20622
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @INTRO1_20622
Text.PrintNow($6479(86@,14s), 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
75@ = 2

:INTRO1_20622
return 

:INTRO1_20624
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  92@ == 1
goto_if_false @INTRO1_20764
if 
  115@ == 1
goto_if_false @INTRO1_20764
if 
  64@ == 0
goto_if_false @INTRO1_20689
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20040)

:INTRO1_20689
if 
  64@ == 1
goto_if_false @INTRO1_20714
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20041)

:INTRO1_20714
if 
  64@ == 2
goto_if_false @INTRO1_20739
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20042)

:INTRO1_20739
if 
  64@ == 3
goto_if_false @INTRO1_20764
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20032)

:INTRO1_20764
if 
  92@ == 2
goto_if_false @INTRO1_20900
if 
  115@ == 1
goto_if_false @INTRO1_20900
if 
  64@ == 0
goto_if_false @INTRO1_20825
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20047)

:INTRO1_20825
if 
  64@ == 1
goto_if_false @INTRO1_20850
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20046)

:INTRO1_20850
if 
  64@ == 2
goto_if_false @INTRO1_20875
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20048)

:INTRO1_20875
if 
  64@ == 3
goto_if_false @INTRO1_20900
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20056)

:INTRO1_20900
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
gosub @INTRO1_21706
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
if 
  92@ == 1
goto_if_false @INTRO1_21099
if 
  115@ == 1
goto_if_false @INTRO1_21099
if 
  64@ == 0
goto_if_false @INTRO1_20997
Text.PrintNow('INT1_EA', 3000, 1)

:INTRO1_20997
if 
  64@ == 1
goto_if_false @INTRO1_21031
Text.PrintNow('INT1_EB', 3000, 1)

:INTRO1_21031
if 
  64@ == 2
goto_if_false @INTRO1_21065
Text.PrintNow('INT1_EC', 3000, 1)

:INTRO1_21065
if 
  64@ == 3
goto_if_false @INTRO1_21099
Text.PrintNow('INT1_BD', 3000, 1)

:INTRO1_21099
if 
  92@ == 2
goto_if_false @INTRO1_21271
if 
  115@ == 1
goto_if_false @INTRO1_21271
if 
  64@ == 0
goto_if_false @INTRO1_21169
Text.PrintNow('INT1_EH', 3000, 1)

:INTRO1_21169
if 
  64@ == 1
goto_if_false @INTRO1_21203
Text.PrintNow('INT1_EG', 3000, 1)

:INTRO1_21203
if 
  64@ == 2
goto_if_false @INTRO1_21237
Text.PrintNow('INT1_EI', 3000, 1)

:INTRO1_21237
if 
  64@ == 3
goto_if_false @INTRO1_21271
Text.PrintNow('INT1_FG', 3000, 1)

:INTRO1_21271
gosub @INTRO1_22121
64@ += 1
if 
  64@ > 3
goto_if_false @INTRO1_21310
64@ = 0

:INTRO1_21310
TIMERA = 0
return 

:INTRO1_21319
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  92@ == 2
goto_if_false @INTRO1_21459
if 
  108@ == 1
goto_if_false @INTRO1_21459
if 
  87@ == 0
goto_if_false @INTRO1_21384
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20049)

:INTRO1_21384
if 
  87@ == 1
goto_if_false @INTRO1_21409
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20043)

:INTRO1_21409
if 
  87@ == 2
goto_if_false @INTRO1_21434
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20044)

:INTRO1_21434
if 
  87@ == 3
goto_if_false @INTRO1_21459
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20045)

:INTRO1_21459
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
gosub @INTRO1_21706
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
if 
  92@ == 2
goto_if_false @INTRO1_21658
if 
  108@ == 1
goto_if_false @INTRO1_21658
if 
  87@ == 0
goto_if_false @INTRO1_21556
Text.PrintNow('INT1_EJ', 3000, 1)

:INTRO1_21556
if 
  87@ == 1
goto_if_false @INTRO1_21590
Text.PrintNow('INT1_ED', 3000, 1)

:INTRO1_21590
if 
  87@ == 2
goto_if_false @INTRO1_21624
Text.PrintNow('INT1_EE', 3000, 1)

:INTRO1_21624
if 
  87@ == 3
goto_if_false @INTRO1_21658
Text.PrintNow('INT1_EF', 3000, 1)

:INTRO1_21658
gosub @INTRO1_22121
87@ += 1
if 
  87@ > 3
goto_if_false @INTRO1_21697
87@ = 0

:INTRO1_21697
TIMERA = 0
return 

:INTRO1_21706
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @INTRO1_22119
wait 0
if 
  Car.IsDead(37@)
goto_if_false @INTRO1_21741

:INTRO1_21741
if 
  Char.IsDead(65@)
goto_if_false @INTRO1_21782
Text.PrintNow('INT2_F1', 10000, 1)
45@ = 1
return 

:INTRO1_21782
if 
  Char.IsDead(66@)
goto_if_false @INTRO1_21823
Text.PrintNow('INT2_F3', 10000, 1)
45@ = 1
return 

:INTRO1_21823
if 
  92@ <> 2
goto_if_false @INTRO1_21882
if 
  Char.IsDead(67@)
goto_if_false @INTRO1_21882
Text.PrintNow('INT2_F2', 10000, 1)
45@ = 1
return 

:INTRO1_21882
if 
  92@ == 1
goto_if_false @INTRO1_22003
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_22003
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1644.773, -1051.334, 22.8984, 10.0, 12.0, 20.0, False)
  Char.LocateAnyMeans3D(67@, 1644.773, -1051.334, 22.8984, 10.0, 12.0, 20.0, False)
goto_if_false @INTRO1_22003
return 

:INTRO1_22003
if 
  92@ == 2
goto_if_false @INTRO1_22112
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_22112
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2493.82, -1669.91, 12.8, 4.0, 3.5, 4.0, True)
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 66@, 60.0, 60.0, 20.0, False)
goto_if_false @INTRO1_22112
return 

:INTRO1_22112
goto @INTRO1_21706

:INTRO1_22119
return 

:INTRO1_22121
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @INTRO1_22534
wait 0
if 
  Car.IsDead(37@)
goto_if_false @INTRO1_22156

:INTRO1_22156
if 
  Char.IsDead(65@)
goto_if_false @INTRO1_22197
Text.PrintNow('INT2_F1', 10000, 1)
45@ = 1
return 

:INTRO1_22197
if 
  Char.IsDead(66@)
goto_if_false @INTRO1_22238
Text.PrintNow('INT2_F3', 10000, 1)
45@ = 1
return 

:INTRO1_22238
if 
  92@ <> 2
goto_if_false @INTRO1_22297
if 
  Char.IsDead(67@)
goto_if_false @INTRO1_22297
Text.PrintNow('INT2_F2', 10000, 1)
45@ = 1
return 

:INTRO1_22297
if 
  92@ == 1
goto_if_false @INTRO1_22418
if 
  not Char.IsDead(67@)
goto_if_false @INTRO1_22418
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1644.773, -1051.334, 22.8984, 10.0, 12.0, 20.0, False)
  Char.LocateAnyMeans3D(67@, 1644.773, -1051.334, 22.8984, 10.0, 12.0, 20.0, False)
goto_if_false @INTRO1_22418
return 

:INTRO1_22418
if 
  92@ == 2
goto_if_false @INTRO1_22527
if 
  not Char.IsDead(66@)
goto_if_false @INTRO1_22527
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2493.82, -1669.91, 12.8, 4.0, 3.5, 4.0, True)
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 66@, 60.0, 60.0, 20.0, False)
goto_if_false @INTRO1_22527
return 

:INTRO1_22527
goto @INTRO1_22121

:INTRO1_22534
return 

//-------------Mission 12---------------
// Originally: Ryder

:INTRO2
script_name 'INTRO2'
gosub @INTRO2_908
if 
  has_deatharrest_been_executed 
goto_if_false @INTRO2_38
gosub @INTRO2_13667

:INTRO2_38
gosub @INTRO2_14817
terminate_this_script 

:INTRO2_47
switch_start 40@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @INTRO2_906 {caseNum1} 0 {caseLabel1} @INTRO2_110 {caseNum2} 1 {caseLabel2} @INTRO2_498 {caseNum3} 2 {caseLabel3} @INTRO2_600 {caseNum4} 3 {caseLabel4} @INTRO2_768 {caseNum5} 4 {caseLabel5} @INTRO2_848 {caseNum6} -1 {caseLabel6} @INTRO2_906 {caseNum7} -1 {caseLabel7} @INTRO2_906

:INTRO2_110
set_var_text_label s$6507[0] = 'INT2_CA'
set_var_text_label s$6507[1] = 'INT2_CB'
set_var_text_label s$6507[2] = 'INT2_CC'
set_var_text_label s$6507[3] = 'INT2_CD'
set_var_text_label s$6507[4] = 'INT2_CE'
set_var_text_label s$6507[5] = 'INT2_CF'
set_var_text_label s$6507[6] = 'INT2_CG'
set_var_text_label s$6507[7] = 'INT2_BA'
set_var_text_label s$6507[8] = 'INT2_BB'
set_var_text_label s$6507[9] = 'INT2_BC'
set_var_text_label s$6507[10] = 'INT2_BD'
set_var_text_label s$6507[11] = 'INT2_BE'
set_var_text_label s$6507[12] = 'INT2_BF'
set_var_text_label s$6507[13] = 'INT2_BG'
set_var_text_label s$6507[14] = 'INT2_BH'
set_var_text_label s$6507[15] = 'INT2_BJ'
set_var_text_label s$6507[16] = 'INT2_BK'
set_lvar_int_to_constant 70@ = 20211
set_lvar_int_to_constant 71@ = 20212
set_lvar_int_to_constant 72@ = 20213
set_lvar_int_to_constant 73@ = 20214
set_lvar_int_to_constant 74@ = 20215
set_lvar_int_to_constant 75@ = 20216
set_lvar_int_to_constant 76@ = 20217
set_lvar_int_to_constant 77@ = 20201
set_lvar_int_to_constant 78@ = 20202
set_lvar_int_to_constant 79@ = 20203
set_lvar_int_to_constant 80@ = 20204
set_lvar_int_to_constant 81@ = 20205
set_lvar_int_to_constant 82@ = 20206
set_lvar_int_to_constant 83@ = 20207
set_lvar_int_to_constant 84@ = 20208
set_lvar_int_to_constant 85@ = 20209
set_lvar_int_to_constant 86@ = 20210
50@ = 16
goto @INTRO2_906

:INTRO2_498
set_var_text_label s$6507[0] = 'INT2_FA'
set_var_text_label s$6507[1] = 'INT2_FB'
set_var_text_label s$6507[2] = 'INT2_FC'
set_var_text_label s$6507[3] = 'INT2_FD'
set_lvar_int_to_constant 70@ = 20222
set_lvar_int_to_constant 71@ = 20223
set_lvar_int_to_constant 72@ = 20224
set_lvar_int_to_constant 73@ = 20225
50@ = 3
goto @INTRO2_906

:INTRO2_600
set_var_text_label s$6507[0] = 'INT2_GA'
set_var_text_label s$6507[1] = 'INT2_GB'
set_var_text_label s$6507[2] = 'INT2_GC'
set_var_text_label s$6507[3] = 'INT2_GD'
set_var_text_label s$6507[4] = 'INT2_GE'
set_var_text_label s$6507[5] = 'INT2_GF'
set_var_text_label s$6507[6] = 'INT2_HB'
set_lvar_int_to_constant 70@ = 20226
set_lvar_int_to_constant 71@ = 20227
set_lvar_int_to_constant 72@ = 20228
set_lvar_int_to_constant 73@ = 20229
set_lvar_int_to_constant 74@ = 20230
set_lvar_int_to_constant 75@ = 20231
set_lvar_int_to_constant 76@ = 20233
50@ = 7
goto @INTRO2_906

:INTRO2_768
set_var_text_label s$6507[0] = 'INT2_NB'
set_var_text_label s$6507[1] = 'INT2_NC'
set_var_text_label s$6507[2] = 'INT2_ND'
set_lvar_int_to_constant 70@ = 20246
set_lvar_int_to_constant 71@ = 20247
set_lvar_int_to_constant 72@ = 20248
50@ = 2
goto @INTRO2_906

:INTRO2_848
set_var_text_label s$6507[0] = 'INT2_JA'
set_var_text_label s$6507[1] = 'INT2_JB'
set_lvar_int_to_constant 70@ = 20236
set_lvar_int_to_constant 71@ = 20237
50@ = 1
goto @INTRO2_906

:INTRO2_906
return 

:INTRO2_908
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
36@ = 0
38@ = 0
$keep_offZ = 0
59@ = 0
60@ = 0
$f1_spinrightgo_best_score = 0
44@ = 0
66@ = 0
$emmets_gun = 0
68@ = 0
61@ = 0
69@ = 0
48@ = 0
63@ = 0
57@ = 0
87@ = 0
88@ = 0
89@ = 0
90@ = 0.05
91@ = 0.12
92@ = 0.0
Zone.SetGangStrength('IWD1', GangType.Ballas, 5)
Zone.SetGangStrength('IWD2', GangType.Ballas, 5)
Zone.SetGangStrength('IWD3A', GangType.Ballas, 5)
Zone.SetGangStrength('IWD3B', GangType.Ballas, 5)
Zone.SetGangStrength('IWD4', GangType.Ballas, 5)
Zone.SetGangStrength('IWD5', GangType.Ballas, 5)
wait 0
Text.LoadMissionText('INTRO2')
goto @INTRO2_1204
$shop_door_model_clothes = Char.Create(PedType.Mission1, $main_menu_shops, $players_fat, $players_health, $food_heading)

:INTRO2_1204
Streaming.SetAreaVisible(2)
Cutscene.Load('INTRO2A')

:INTRO2_1219
if 
  not Cutscene.HasLoaded
goto_if_false @INTRO2_1243
wait 0
goto @INTRO2_1219

:INTRO2_1243
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:INTRO2_1252
if 
  not Cutscene.HasFinished
goto_if_false @INTRO2_1276
wait 0
goto @INTRO2_1252

:INTRO2_1276
Camera.DoFade(0, Fade.Out)

:INTRO2_1282
if 
  Camera.GetFadingStatus
goto_if_false @INTRO2_1306
wait 0
goto @INTRO2_1282

:INTRO2_1306
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Streaming.SetAreaVisible(0)
Blip.Remove($flag_ryder_mission_counter)
Streaming.LoadSpecialCharacter(1, 'RYDER2')
Streaming.RequestModel(600)
Streaming.RequestModel(#CIGAR)
Streaming.RequestModel(#CIGAR_GLOW)
Streaming.LoadAllModelsNow

:INTRO2_1352
if or
  not Streaming.HasModelLoaded(600)
  not Streaming.HasModelLoaded(#CIGAR)
  not Streaming.HasModelLoaded(#CIGAR_GLOW)
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @INTRO2_1391
wait 0
goto @INTRO2_1352

:INTRO2_1391
World.SwitchEntryExit('BARBERS', False)
World.SwitchEntryExit('BARBER2', False)
World.SwitchEntryExit('BARBER3', False)
World.SwitchEntryExit('FDPIZA', False)
World.SwitchEntryExit('FDCHICK', False)
World.SwitchEntryExit('FDBURG', False)
Char.ClearTasks($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
CarGenerator.Switch($gen_car10, 0)
World.ClearArea($truth, $catalina, $flag_player_on_ambulance_mission, 6.0, True)
Car.CustomPlateForNextCar(600, "_SHERM__")
$sweet_carH = Car.Create(600, $truth, $catalina, $flag_player_on_ambulance_mission)
Car.SetCanBurstTires($sweet_carH, False)
Car.ChangeColor($sweet_carH, 84, 84)
Car.SetHeading($sweet_carH, 0.0)
Car.SetCanBeVisiblyDamaged($sweet_carH, False)
Audio.SetRadioChannel(RadioChannel.RadioLosSantos)
$sweet_car = Char.Create(PedType.Mission1, 290, 2475.29, -1687.85, 12.51)
67@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetDecisionMaker($sweet_car, 67@)
Char.SetAnimGroup($sweet_car, "GANG1")
Char.SetHeading($stattreadstamina_ctr, 176.0)
Char.SetNeverTargeted($sweet_car, True)
Char.SetHealth($sweet_car, 500)
Char.SetMaxHealth($sweet_car, 500)
Char.SetSuffersCriticalHits($sweet_car, False)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($sweet_car, $sweet_carH, 20000, 0)
Char.SetCantBeDraggedOut($sweet_car, True)
Char.SetStayInCarWhenJacked($sweet_car, True)
Char.SetGetOutUpsideDownCar($sweet_car, False)
37@ = Blip.AddForCar($sweet_carH)
Blip.SetAsFriendly(37@, True)
34@ = Blip.AddForCoord(2074.4, -1800.8, 12.5)
Blip.Remove(34@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 20200)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2464.03, -1687.61, 12.51)
Char.SetHeading($stattreadstamina_ctr, 252.27)
Streaming.SetAreaVisible(0)
Streaming.LoadScene(2464.03, -1687.61, 12.51)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(1000, Fade.In)
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_1851
goto @INTRO2_13667

:INTRO2_1851
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_1874
goto @INTRO2_13667

:INTRO2_1874
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @INTRO2_1978
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_1932
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_1932
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_1971
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_1971
goto @INTRO2_1874

:INTRO2_1978
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('INT2_AA', 10000, 1)

:INTRO2_1998
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @INTRO2_2102
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_2056
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_2056
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_2095
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_2095
goto @INTRO2_1998

:INTRO2_2102
$sweet = 0
49@ = 0
56@ = 0
64@ = 0
40@ = 0
gosub @INTRO2_47
Text.ClearThisPrint('INT2_1')
Text.PrintNow('INT2_6', 6000, 1)
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_2210
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_2210
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_2249
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_2249
$opened_desert_up = 1

:INTRO2_2256
if or
  not Car.Locate3D($sweet_carH, 2077.84, -1792.59, 12.38, 4.0, 4.0, 4.0, $sweet)
  not Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carH)
  not Char.IsInCar($sweet_car, $sweet_carH)
  not Car.IsOnAllWheels($sweet_carH)
goto_if_false @INTRO2_2886
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @INTRO2_2352
goto @INTRO2_13692

:INTRO2_2352
if 
  48@ == 0
goto_if_false @INTRO2_2436
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2077.84, -1792.59, 12.38, 15.0, 15.0, 4.0, False)
goto_if_false @INTRO2_2436
Text.PrintHelp('HELP44B')
48@ = 1

:INTRO2_2436
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_2475
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_2475
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_2521
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667
goto @INTRO2_2724

:INTRO2_2521
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carH)
goto_if_false @INTRO2_2632
if 
  38@ == 0
goto_if_false @INTRO2_2625
Blip.Remove(37@)
Blip.Remove(34@)
34@ = Blip.AddForCoord(2077.84, -1792.59, 12.56)
$sweet = 1
Text.PrintNow('HOOD2_A', 6000, 1)
TIMERB = 0
38@ = 1

:INTRO2_2625
goto @INTRO2_2724

:INTRO2_2632
if 
  38@ == 1
goto_if_false @INTRO2_2724
Blip.Remove(34@)
Blip.Remove(37@)
37@ = Blip.AddForCar($sweet_carH)
Blip.SetAsFriendly(37@, True)
$sweet = 0
gosub @INTRO2_15117
Text.PrintNow('INT2_6', 6000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
38@ = 0

:INTRO2_2724
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_2801
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_2801
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carH)
goto_if_false @INTRO2_2801
if 
  TIMERB > 3000
goto_if_false @INTRO2_2801
gosub @INTRO2_16035

:INTRO2_2801
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_2840
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_2840
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_2879
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_2879
goto @INTRO2_2256

:INTRO2_2886
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Text.ClearHelp
World.SwitchEntryExit('BARBERS', True)
Camera.SetFixedPosition(2086.424, -1783.578, 16.9391, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2085.603, -1784.143, 16.8617, SwitchType.JumpCut)
TIMERB = 0

:INTRO2_2970
if 
  3000 > TIMERB
goto_if_false @INTRO2_3058
wait 0
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_3051
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_3051
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carH)
goto_if_false @INTRO2_3051
gosub @INTRO2_16035

:INTRO2_3051
goto @INTRO2_2970

:INTRO2_3058
skip_cutscene_start_internal @INTRO2_3229
Camera.SetFixedPosition(2075.418, -1794.748, 14.3637, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2074.44, -1794.564, 14.2591, SwitchType.JumpCut)
Text.PrintHelp('INT2_8')
Player.SetControl($statbike_temp, True)
TIMERB = 0

:INTRO2_3141
if 
  3000 > TIMERB
goto_if_false @INTRO2_3229
wait 0
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_3222
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_3222
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carH)
goto_if_false @INTRO2_3222
gosub @INTRO2_16035

:INTRO2_3222
goto @INTRO2_3141

:INTRO2_3229
skip_cutscene_end 
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Blip.Remove(34@)
34@ = Blip.AddForCoord(413.6397, -19.9389, 1000.812)
Blip.SetEntryExit(34@, 2073.042, -1794.563, 20.0)
$keep_offZ = 0

:INTRO2_3298
if or
  $keep_offZ == 0
  not Char.LocateOnFoot3D($stattreadstamina_ctr, 2072.11, -1793.8, 12.56, 10.0, 10.0, 3.0, False)
goto_if_false @INTRO2_3809
wait 0
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_3396
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_3396
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_3435
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_3435
if 
  57@ == 0
goto_if_false @INTRO2_3525
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_3525
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_3525
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carH)
goto_if_false @INTRO2_3518
gosub @INTRO2_16035
goto @INTRO2_3525

:INTRO2_3518
57@ = 1

:INTRO2_3525
58@ = Streaming.GetAreaVisible()
if 
  58@ == 2
goto_if_false @INTRO2_3654
if 
  59@ == 0
goto_if_false @INTRO2_3647
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 411.68, -21.77, 1000.79, 10.0, 10.0, 3.0, False)
goto_if_false @INTRO2_3647
Text.ClearPrints
Text.PrintNow('INT2_9', 5000, 1)
Streaming.RequestAnimation("SHOP")
59@ = 1

:INTRO2_3647
goto @INTRO2_3743

:INTRO2_3654
if 
  59@ == 1
goto_if_false @INTRO2_3743
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2072.11, -1793.8, 12.56, 10.0, 10.0, 3.0, False)
goto_if_false @INTRO2_3743
Text.PrintNow('INT2_8', 10000, 1)
59@ = 0

:INTRO2_3743
if 
  $keep_offZ == 0
goto_if_false @INTRO2_3802
if 
  $2753 == 1
goto_if_false @INTRO2_3802
Text.PrintNow('INT2_14', 10000, 1)
goto @INTRO2_13667

:INTRO2_3802
goto @INTRO2_3298

:INTRO2_3809
Camera.DoFade(0, Fade.Out)
Text.ClearPrints
Blip.Remove(34@)
World.SwitchEntryExit('FDPIZA', True)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
World.ClearArea(2072.04, -1800.92, 12.55, 200.0, True)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Camera.SetNearClip(0.2)
Task.StandStill($stattreadstamina_ctr, 10)

:INTRO2_3898
if 
  not Streaming.HasAnimationLoaded("SHOP")
goto_if_false @INTRO2_3934
wait 0
Camera.DoFade(0, Fade.Out)
goto @INTRO2_3898

:INTRO2_3934
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_4403
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_4373

:INTRO2_3966
if 
  Car.IsWaitingForWorldCollision($sweet_carH)
goto_if_false @INTRO2_4038
wait 0
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_4025
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_4025
Camera.DoFade(0, Fade.Out)
goto @INTRO2_3966

:INTRO2_4038
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_4270
Char.SetCoordinates($stattreadstamina_ctr, 2072.55, -1794.67, 12.56)
Char.SetHeading($stattreadstamina_ctr, 240.55)
Char.ClearTasksImmediately($sweet_car)
if 
  Char.IsInAnyCar($sweet_car)
goto_if_false @INTRO2_4132
Char.WarpFromCarToCoord($sweet_car, 2076.492, -1796.413, 12.5545)
goto @INTRO2_4152

:INTRO2_4132
Char.SetCoordinates($sweet_car, 2076.492, -1796.413, 12.5545)

:INTRO2_4152
Char.SetHeading($sweet_car, 80.0)
Char.SetHealth($sweet_car, 500)
46@ = Object.Create(#CIGAR, 2440.58, -1979.89, 14.2)
Task.PickUpObject($sweet_car, 46@, 0.04, 0.1, -0.02, 5, 16, "NULL", "NULL", -1)
Task.PlayAnim($sweet_car, "SMOKE_RYD", "SHOP", 4.0, True, False, False, False, -1)

:INTRO2_4270
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_4340
World.ClearArea(2078.09, -1796.21, 12.3828, 100.0, True)
Car.SetCoordinates($sweet_carH, 2078.09, -1796.21, 12.3828)
Car.SetHeading($sweet_carH, 176.9536)

:INTRO2_4340
Car.FixDoor($sweet_carH, CarDoor.LeftFrontDoor)
Car.FixDoor($sweet_carH, CarDoor.RightFrontDoor)
Car.CloseAllDoors($sweet_carH)
Car.LockDoors($sweet_carH, CarLock.LockoutPlayerOnly)
goto @INTRO2_4396

:INTRO2_4373
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_4396
goto @INTRO2_4426

:INTRO2_4403
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_4426
TIMERA = 0

:INTRO2_4433
if 
  TIMERA <= 400
goto_if_false @INTRO2_4469
wait 0
Camera.DoFade(0, Fade.Out)
goto @INTRO2_4433

:INTRO2_4469
Text.ClearPrints
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_4535
45@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2075.53, -1796.32, 12.55, MoveState.Walk, 10000)
Char.ClearLookAt(-1)
Task.LookAtChar(-1, $sweet_car, 4500)
Sequence.Close(45@)

:INTRO2_4535
Char.PerformSequence($stattreadstamina_ctr, 45@)
Sequence.Clear(45@)
Camera.SetFixedPosition(2074.866, -1800.882, 13.4518, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2075.067, -1799.903, 13.4124, SwitchType.JumpCut)
Text.ClearPrints
Camera.DoFade(500, Fade.In)
63@ = 0
49@ = 0
56@ = 0
64@ = 0
40@ = 1
gosub @INTRO2_47
TIMERA = 0

:INTRO2_4657
if 
  TIMERA <= 1700
goto_if_false @INTRO2_4694
wait 0
gosub @INTRO2_15726
goto @INTRO2_4657

:INTRO2_4694
if 
  $flag_returned_snapshots == 1
goto_if_false @INTRO2_4719
skip_cutscene_start_internal @INTRO2_6566

:INTRO2_4719
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_4751
Char.ClearLookAt($sweet_car)
Task.LookAtChar($sweet_car, $stattreadstamina_ctr, 2000)

:INTRO2_4751
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_4804
55@ = Particle.CreateOnChar("EXHALE", $sweet_car, 90@, 91@, 92@, 1)
Particle.AttachToCharBone(55@, $sweet_car, 5)

:INTRO2_4804
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_4825
Char.StopFacialTalk($sweet_car)

:INTRO2_4825
if or
  Player.IsWearing($statbike_temp, 1, "TASH")
  Player.IsWearing($statbike_temp, 1, "GOATEE")
  Player.IsWearing($statbike_temp, 1, "BEARD")
  Player.IsWearing($statbike_temp, 1, "PLAYER_FACE")
  Player.IsWearing($statbike_temp, 1, "HIGHFADE")
  Player.IsWearing($statbike_temp, 1, "FLATTOP")
goto_if_false @INTRO2_5442
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 20218)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 20219)
64@ = 0

:INTRO2_4952
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @INTRO2_5021
wait 0
gosub @INTRO2_15726
if 
  64@ == 0
goto_if_false @INTRO2_5014
if 
  56@ == 2
goto_if_false @INTRO2_5014

:INTRO2_5014
goto @INTRO2_4952

:INTRO2_5021
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('INT2_DA', 10000, 1)
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_5065
Char.StartFacialTalk($sweet_car, 2000)

:INTRO2_5065
64@ = 0

:INTRO2_5072
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @INTRO2_5141
wait 0
gosub @INTRO2_15726
if 
  64@ == 0
goto_if_false @INTRO2_5134
if 
  56@ == 2
goto_if_false @INTRO2_5134

:INTRO2_5134
goto @INTRO2_5072

:INTRO2_5141
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_5162
Char.StopFacialTalk($sweet_car)

:INTRO2_5162
Camera.SetFixedPosition(2074.827, -1797.414, 14.233, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2075.432, -1796.664, 13.9678, SwitchType.JumpCut)
wait 1000
64@ = 0

:INTRO2_5225
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @INTRO2_5294
wait 0
gosub @INTRO2_15726
if 
  64@ == 0
goto_if_false @INTRO2_5287
if 
  56@ == 2
goto_if_false @INTRO2_5287

:INTRO2_5287
goto @INTRO2_5225

:INTRO2_5294
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('INT2_DB', 10000, 1)
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_5338
Char.StartFacialTalk($sweet_car, 2000)

:INTRO2_5338
64@ = 0

:INTRO2_5345
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @INTRO2_5414
wait 0
gosub @INTRO2_15726
if 
  64@ == 0
goto_if_false @INTRO2_5407
if 
  56@ == 2
goto_if_false @INTRO2_5407

:INTRO2_5407
goto @INTRO2_5345

:INTRO2_5414
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_5435
Char.StopFacialTalk($sweet_car)

:INTRO2_5435
goto @INTRO2_5731

:INTRO2_5442
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 20221)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 65535)
64@ = 0

:INTRO2_5465
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @INTRO2_5534
wait 0
gosub @INTRO2_15726
if 
  64@ == 0
goto_if_false @INTRO2_5527
if 
  56@ == 2
goto_if_false @INTRO2_5527

:INTRO2_5527
goto @INTRO2_5465

:INTRO2_5534
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('INT2_EA', 10000, 1)
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_5578
Char.StartFacialTalk($sweet_car, 2000)

:INTRO2_5578
64@ = 0

:INTRO2_5585
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @INTRO2_5654
wait 0
gosub @INTRO2_15726
if 
  64@ == 0
goto_if_false @INTRO2_5647
if 
  56@ == 2
goto_if_false @INTRO2_5647

:INTRO2_5647
goto @INTRO2_5585

:INTRO2_5654
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_5675
Char.StopFacialTalk($sweet_car)

:INTRO2_5675
Camera.SetFixedPosition(2075.19, -1797.282, 14.4799, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2075.638, -1796.471, 14.103, SwitchType.JumpCut)
wait 1000

:INTRO2_5731
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_5752
Char.StopFacialTalk($sweet_car)

:INTRO2_5752
TIMERA = 0

:INTRO2_5759
if 
  TIMERA <= 1000
goto_if_false @INTRO2_5796
wait 0
gosub @INTRO2_15726
goto @INTRO2_5759

:INTRO2_5796
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_5817
Char.StopFacialTalk($sweet_car)

:INTRO2_5817
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_5861
Char.ClearLookAt($sweet_car)
Task.LookAtCoord($sweet_car, 2102.0, -1806.0, 14.0, 3000)

:INTRO2_5861
64@ = 0

:INTRO2_5868
if 
  49@ <> 1
goto_if_false @INTRO2_5954
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_5940
if 
  56@ == 2
goto_if_false @INTRO2_5940
64@ = 1

:INTRO2_5940
gosub @INTRO2_15726
goto @INTRO2_5868

:INTRO2_5954
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtCoord($stattreadstamina_ctr, 2102.0, -1806.0, 14.0, 3000)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2074.23, -1795.03, 14.4282, 2074.983, -1798.671, 14.4451, 12000, True)
Camera.SetVectorTrack(2077.167, -1795.729, 14.1884, 2075.973, -1798.734, 14.5649, 12000, True)
64@ = 0

:INTRO2_6073
if 
  49@ <> 2
goto_if_false @INTRO2_6175
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_6161
if 
  56@ == 2
goto_if_false @INTRO2_6161
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_6154

:INTRO2_6154
64@ = 1

:INTRO2_6161
gosub @INTRO2_15726
goto @INTRO2_6073

:INTRO2_6175
TIMERB = 0
64@ = 0

:INTRO2_6189
if 
  49@ <> 3
goto_if_false @INTRO2_6291
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_6277
if 
  56@ == 2
goto_if_false @INTRO2_6277
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_6270

:INTRO2_6270
64@ = 1

:INTRO2_6277
gosub @INTRO2_15726
goto @INTRO2_6189

:INTRO2_6291
64@ = 0

:INTRO2_6298
if 
  49@ <> 4
goto_if_false @INTRO2_6400
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_6386
if 
  56@ == 2
goto_if_false @INTRO2_6386
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_6379

:INTRO2_6379
64@ = 1

:INTRO2_6386
gosub @INTRO2_15726
goto @INTRO2_6298

:INTRO2_6400
if 
  TIMERB <= 18000
goto_if_false @INTRO2_6548
wait 0
if 
  44@ == 0
goto_if_false @INTRO2_6482
if 
  TIMERB > 7500
goto_if_false @INTRO2_6482
Text.PrintHelp('FUDHLP1')
Hud.FlashObject(HudObject.Health)
44@ = 1

:INTRO2_6482
if 
  44@ == 1
goto_if_false @INTRO2_6541
if 
  TIMERB > 13500
goto_if_false @INTRO2_6541
Text.PrintHelp('FUDHLP2')
Hud.FlashObject(-1)
44@ = 2

:INTRO2_6541
goto @INTRO2_6400

:INTRO2_6548
if 
  $flag_returned_snapshots == 1
goto_if_false @INTRO2_6576

:INTRO2_6566
skip_cutscene_end 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)

:INTRO2_6576
Text.ClearHelp
Camera.ResetNewScriptables
Text.PrintNow('HOOD2_B', 10000, 1)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_6634
Car.SetCanBeVisiblyDamaged($sweet_carH, True)

:INTRO2_6634
Blip.Remove(34@)
34@ = Blip.AddForCoord(372.9, -118.8, 1000.57)
Blip.SetEntryExit(34@, 2103.376, -1806.311, 20.0)
59@ = 0
$f1_spinrightgo_best_score = 1
World.SetCarDensityMultiplier(0.5)
World.SetPedDensityMultiplier(0.5)
TIMERB = 0
$sweet = 1

:INTRO2_6721
if or
  not Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX, 1.0, 1.0, 3.0, False)
  $f1_spinrightgo_best_score <> 3
goto_if_false @INTRO2_7480
wait 0
if 
  87@ == 0
goto_if_false @INTRO2_6829
if 
  TIMERB > 2000
goto_if_false @INTRO2_6829
Text.PrintHelp('FUDHLP3')
87@ = 1

:INTRO2_6829
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_6868
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_6868
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_6907
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_6907
gosub @INTRO2_15726
if 
  $f1_spinrightgo_best_score <> 3
goto_if_false @INTRO2_7083
if 
  $player_in_changeroom_clothes == 1
goto_if_false @INTRO2_7083
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @INTRO2_6996
Text.PrintNow('INT2_10', 10000, 1)
goto @INTRO2_13667
goto @INTRO2_7083

:INTRO2_6996
if 
  not Char.IsHealthGreater($shop_door_model_clothes, 99)
goto_if_false @INTRO2_7083
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @INTRO2_7083
Char.GiveWeapon($shop_door_model_clothes, WeaponType.Shotgun, 30)
Char.SetCurrentWeapon($shop_door_model_clothes, WeaponType.Shotgun)
Char.SetRelationship($shop_door_model_clothes, RelationshipType.Hate, PedType.Player1)
wait 1000
Text.PrintNow('INT2_14', 10000, 1)
goto @INTRO2_13667

:INTRO2_7083
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_7209
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_7209
if 
  68@ == 0
goto_if_false @INTRO2_7209
if or
  not Car.Locate3D($sweet_carH, 2078.09, -1796.2, 12.38, 0.2, 0.2, 2.0, False)
  not Char.IsHealthGreater($sweet_car, 499)
goto_if_false @INTRO2_7209
Task.EnterCarAsPassenger($sweet_car, $sweet_carH, 20000, 0)
68@ = 1

:INTRO2_7209
58@ = Streaming.GetAreaVisible()
if 
  58@ == 5
goto_if_false @INTRO2_7405
if 
  59@ == 0
goto_if_false @INTRO2_7309
Streaming.RequestAnimation("GANGS")
Streaming.RequestAnimation("FOOD")
Streaming.RequestModel(346)
Streaming.RequestModel(349)
Streaming.LoadSpecialCharacter(2, 'RYDER3')
Streaming.RequestModel(155)
TIMERA = 0
59@ = 1

:INTRO2_7309
if 
  59@ == 1
goto_if_false @INTRO2_7398
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 372.05, -130.63, 1000.49, 20.0, 20.0, 3.0, False)
goto_if_false @INTRO2_7398
Text.PrintNow('INT2_13', 5000, 1)
59@ = 2

:INTRO2_7398
goto @INTRO2_7432

:INTRO2_7405
if 
  59@ == 2
goto_if_false @INTRO2_7432
Text.ClearPrints
59@ = 1

:INTRO2_7432
if 
  $shop_item_label == 1
goto_if_false @INTRO2_7473
Text.PrintNow('INT2_14', 10000, 1)
goto @INTRO2_13667

:INTRO2_7473
goto @INTRO2_6721

:INTRO2_7480
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Text.ClearPrints
Camera.SetNearClip(0.1)
Particle.Stop(55@)
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Streaming.MarkModelAsNoLongerNeeded(#CIGAR_GLOW)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1828)

:INTRO2_7520
if or
  not Streaming.HasAnimationLoaded("FOOD")
  not Streaming.HasAnimationLoaded("GANGS")
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasModelLoaded(155)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(349)
goto_if_false @INTRO2_7697
wait 0
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_7610
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_7610
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_7649
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_7649
if 
  $shop_item_label == 1
goto_if_false @INTRO2_7690
Text.PrintNow('INT2_14', 10000, 1)
goto @INTRO2_13667

:INTRO2_7690
goto @INTRO2_7520

:INTRO2_7697
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_7816
Char.DropObject($sweet_car, True)
Char.ClearTasksImmediately($sweet_car)
Task.StandStill($sweet_car, 100)
Char.SetCoordinates($sweet_car, 375.7327, -125.2345, 1000.53)
Char.SetHeading($sweet_car, 201.2298)
Char.SetHealth($sweet_car, 500)
Char.SetMaxHealth($sweet_car, 500)
Task.PlayAnim($sweet_car, "ROB_SHIFTY", "SHOP", 4.0, False, False, False, False, -1)

:INTRO2_7816
World.ClearArea(372.9, -118.8, 1000.57, 20.0, True)
World.ClearArea(369.058, -4.92, 1000.883, 20.0, True)
35@ = Char.Create(PedType.Mission1, 155, 373.14, -117.11, 1000.57)
Char.SetHeading(35@, 180.0)
43@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Char.SetDecisionMaker(35@, 43@)
Char.ClearLookAt(35@)
Task.LookAtChar(35@, $stattreadstamina_ctr, 4700)
Task.TurnCharToFaceChar(35@, $stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 372.9, -118.8, 1000.57)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 35@)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
51@ = Sequence.Open()
Task.GoStraightToCoord(-1, 375.2, -119.8, 1000.5, MoveState.Walk, 7000)
Task.PlayAnim(-1, "ROB_STICKUP_IN", "SHOP", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "ROB_LOOP_THREAT", "SHOP", 4.0, True, False, False, False, -1)
Sequence.Close(51@)
49@ = 0
56@ = 0
64@ = 0
40@ = 2
gosub @INTRO2_47
wait 200
if 
  $emmets_gun == 0
goto_if_false @INTRO2_8192
Task.PlayAnim($stattreadstamina_ctr, "EAT_PIZZA", "FOOD", 4.0, False, False, False, False, -1)
goto @INTRO2_8332

:INTRO2_8192
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_var_float 90@ = $x
90@ += 0.355
set_lvar_float_to_var_float 91@ = $y
91@ -= 0.116
set_lvar_float_to_var_float 92@ = $z
92@ -= 0.048
62@ = Particle.Create("PUKE", 90@, 91@, 92@, 1)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "EAT_VOMIT_P", "FOOD", 4.0, False, False, False, False, -1)
$flag_9weapons_open = Char.SetSayContext($stattreadstamina_ctr, 348)

:INTRO2_8332
Camera.DoFade(500, Fade.In)
Audio.SetMusicDoesFade(True)
Camera.SetFixedPosition(376.4939, -126.0317, 1002.396, 0.0, 0.0, 0.0)
Camera.PointAtPoint(375.9087, -125.2215, 1002.361, SwitchType.JumpCut)
wait 4500
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(377.0709, -121.8843, 1000.714, 377.3563, -119.1986, 1002.57, 7000, True)
Camera.SetVectorTrack(376.4134, -122.6288, 1000.598, 376.423, -119.1806, 1002.211, 7000, True)
Char.Delete($sweet_car)
Streaming.UnloadSpecialCharacter(1)
$sweet_car = Char.Create(PedType.Mission1, 291, 376.3327, -125.2345, 1000.53)
Char.SetAnimGroup($sweet_car, "GANG1")
Char.SetNeverTargeted($sweet_car, True)
Char.SetHealth($sweet_car, 500)
Char.SetMaxHealth($sweet_car, 500)
Char.SetSuffersCriticalHits($sweet_car, False)
Char.SetCantBeDraggedOut($sweet_car, True)
Char.SetStayInCarWhenJacked($sweet_car, True)
Char.SetDecisionMaker($sweet_car, 67@)
Char.SetGetOutUpsideDownCar($sweet_car, False)
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_8649
Char.GiveWeapon($sweet_car, WeaponType.Pistol, 30)
Char.SetCurrentWeapon($sweet_car, WeaponType.Pistol)
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_8649
Char.PerformSequence($sweet_car, 51@)
Sequence.Clear(51@)

:INTRO2_8649
41@ = 0
skip_cutscene_start_internal @INTRO2_10954
TIMERA = 0
63@ = 0

:INTRO2_8677
if 
  not Char.LocateAnyMeans3D($sweet_car, 375.2, -119.8, 1000.5, 0.4, 0.6, 2.0, False)
goto_if_false @INTRO2_9124
wait 0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "EAT_VOMIT_P")
goto_if_false @INTRO2_8899
93@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "EAT_VOMIT_P")
if 
  63@ == 0
goto_if_false @INTRO2_8848
if 
  93@ >= 0.463
goto_if_false @INTRO2_8848
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @INTRO2_8841
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1169)

:INTRO2_8841
63@ = 1

:INTRO2_8848
if 
  63@ == 1
goto_if_false @INTRO2_8899
if 
  93@ >= 0.52
goto_if_false @INTRO2_8899
Particle.Play(62@)
63@ = 2

:INTRO2_8899
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_8938
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_8938
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_8977
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_8977
if 
  $shop_item_label == 1
goto_if_false @INTRO2_9018
Text.PrintNow('INT2_14', 10000, 1)
goto @INTRO2_13667

:INTRO2_9018
if 
  69@ == 0
goto_if_false @INTRO2_9117
if 
  TIMERA > 1000
goto_if_false @INTRO2_9117
if 
  $emmets_gun == 0
goto_if_false @INTRO2_9110
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, False, False, False, False, 3000)

:INTRO2_9110
69@ = 1

:INTRO2_9117
goto @INTRO2_8677

:INTRO2_9124
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_9253
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_9253
Char.ClearTasks(35@)
Char.ClearLookAt(35@)
Task.LookAtChar(35@, $sweet_car, 12500)
Task.StandStill($stattreadstamina_ctr, 100)
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $sweet_car, 10000)
Char.SetHeading(35@, 200.0)
Task.PlayAnim(35@, "SHP_ROB_HANDSUP", "SHOP", 4.0, True, False, False, False, -1)

:INTRO2_9253
$tray_offX = 1
64@ = 0

:INTRO2_9267
if 
  49@ <> 1
goto_if_false @INTRO2_9378
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_9371
if 
  56@ == 2
goto_if_false @INTRO2_9371
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_9364
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $sweet_car, 6000)

:INTRO2_9364
64@ = 1

:INTRO2_9371
goto @INTRO2_9267

:INTRO2_9378
64@ = 0

:INTRO2_9385
if 
  49@ <> 2
goto_if_false @INTRO2_9548
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_9541
if 
  56@ == 2
goto_if_false @INTRO2_9541
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_9502
Task.PlayAnim($sweet_car, "ROB_LOOP", "SHOP", 4.0, True, False, False, False, -1)

:INTRO2_9502
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_9534
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, 35@, 6000)

:INTRO2_9534
64@ = 1

:INTRO2_9541
goto @INTRO2_9385

:INTRO2_9548
64@ = 0

:INTRO2_9555
if 
  49@ <> 3
goto_if_false @INTRO2_9778
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_9771
if 
  56@ == 2
goto_if_false @INTRO2_9771
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_9679
Task.PlayAnim($sweet_car, "ROB_LOOP_THREAT", "SHOP", 4.0, True, False, False, False, -1)

:INTRO2_9679
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_9711
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $sweet_car, 6000)

:INTRO2_9711
Camera.ResetNewScriptables
Camera.SetFixedPosition(374.9156, -121.7312, 1002.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(374.7307, -120.7778, 1002.262, SwitchType.JumpCut)
64@ = 1

:INTRO2_9771
goto @INTRO2_9555

:INTRO2_9778
64@ = 0

:INTRO2_9785
if 
  49@ <> 4
goto_if_false @INTRO2_9948
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_9941
if 
  56@ == 2
goto_if_false @INTRO2_9941
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_9882
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, 35@, 6000)

:INTRO2_9882
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_9934
Task.PlayAnim($sweet_car, "ROB_LOOP", "SHOP", 4.0, True, False, False, False, -1)

:INTRO2_9934
64@ = 1

:INTRO2_9941
goto @INTRO2_9785

:INTRO2_9948
42@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "ROB_2IDLE", "SHOP", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, False, False, False, -1)
Sequence.Close(42@)
64@ = 0

:INTRO2_10050
if 
  49@ <> 5
goto_if_false @INTRO2_10289
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_10282
if 
  56@ == 2
goto_if_false @INTRO2_10282
Camera.SetFixedPosition(371.562, -120.1569, 1002.404, 0.0, 0.0, 0.0)
Camera.PointAtPoint(372.4125, -119.6767, 1002.19, SwitchType.JumpCut)
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_10275
Char.ClearTasks($stattreadstamina_ctr)
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $sweet_car, 10000)
Char.ClearTasks($sweet_car)
Char.ClearLookAt($sweet_car)
Task.LookAtChar($sweet_car, $stattreadstamina_ctr, 10000)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $sweet_car)
Task.PlayAnim($stattreadstamina_ctr, "PRTIAL_GNGTLKA", "GANGS", 4.0, False, False, False, False, -1)

:INTRO2_10275
64@ = 1

:INTRO2_10282
goto @INTRO2_10050

:INTRO2_10289
64@ = 0

:INTRO2_10296
if 
  49@ <> 6
goto_if_false @INTRO2_10455
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_10448
if 
  56@ == 2
goto_if_false @INTRO2_10448
Camera.SetFixedPosition(374.6357, -121.6844, 1001.637, 0.0, 0.0, 0.0)
Camera.PointAtPoint(374.5972, -120.6883, 1001.716, SwitchType.JumpCut)
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_10441
Char.PerformSequence($sweet_car, 42@)
Sequence.Clear(42@)

:INTRO2_10441
64@ = 1

:INTRO2_10448
goto @INTRO2_10296

:INTRO2_10455
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_10476
Char.ClearTasks($sweet_car)

:INTRO2_10476
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_10542
Char.SetHeading(35@, 180.0)
Task.PlayAnim(35@, "SHP_GUN_GRAB", "SHOP", 4.0, False, False, False, True, -1)

:INTRO2_10542
wait 500
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_10580
Char.GiveWeapon(35@, WeaponType.Shotgun, 30000)
Char.SetCurrentWeapon(35@, WeaponType.Shotgun)

:INTRO2_10580
wait 500
Camera.SetFixedPosition(373.03, -116.1498, 1002.375, 0.0, 0.0, 0.0)
Camera.PointAtPoint(373.0192, -117.1292, 1002.173, SwitchType.JumpCut)
wait 300
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_10680
Task.ShootAtCoord(35@, 374.2905, -125.681, 1001.308, 2000)

:INTRO2_10680
64@ = 0

:INTRO2_10687
if 
  49@ <> 7
goto_if_false @INTRO2_10947
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_10940
if 
  56@ == 2
goto_if_false @INTRO2_10940
Path.FlushRoute
Path.ExtendRoute(372.0, -120.1, 1000.5)
Path.ExtendRoute(370.5, -132.3, 1000.4)
Task.FollowPointRoute($stattreadstamina_ctr, 6, RouteMode.Once)
Path.FlushRoute
Path.ExtendRoute(376.3, -121.0, 1000.5)
Path.ExtendRoute(375.9, -132.0, 1000.5)
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_10858
Task.FollowPointRoute($sweet_car, 6, RouteMode.Once)

:INTRO2_10858
if and
  not Char.IsDead($sweet_car)
  not Char.IsDead(35@)
goto_if_false @INTRO2_10894
Char.ClearLookAt($sweet_car)
Char.ClearLookAt($stattreadstamina_ctr)
Char.ClearLookAt(35@)

:INTRO2_10894
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_10933
Task.ShootAtCoord(35@, 374.2905, -125.681, 1001.308, 1500)

:INTRO2_10933
64@ = 1

:INTRO2_10940
goto @INTRO2_10687

:INTRO2_10947
41@ = 1

:INTRO2_10954
skip_cutscene_end 
if 
  41@ == 0
goto_if_false @INTRO2_11013
Camera.DoFade(0, Fade.Out)
Text.ClearPrints

:INTRO2_10982
if 
  Camera.GetFadingStatus
goto_if_false @INTRO2_11006
wait 0
goto @INTRO2_10982

:INTRO2_11006
goto @INTRO2_11046

:INTRO2_11013
Camera.DoFade(500, Fade.Out)
Text.ClearPrints

:INTRO2_11022
if 
  Camera.GetFadingStatus
goto_if_false @INTRO2_11046
wait 0
goto @INTRO2_11022

:INTRO2_11046
Camera.ResetNewScriptables
World.ClearArea(372.9, -118.8, 1000.57, 100.0, True)
Streaming.SetAreaVisible(0)
Task.StandStill($stattreadstamina_ctr, 0)
Char.SetCoordinates($stattreadstamina_ctr, 2102.21, -1806.65, 12.4)
Char.SetHeading($stattreadstamina_ctr, 75.0)
Char.SetCantBeDraggedOut($stattreadstamina_ctr, True)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
wait 0
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_11322
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_11322
Char.ClearLookAt($sweet_car)
Char.ClearLookAt($stattreadstamina_ctr)
World.ClearArea(2077.57, -1796.41, 12.38, 100.0, True)
Car.SetCoordinates($sweet_carH, 2077.57, -1796.41, 12.0)
Car.SetHeading($sweet_carH, 180.0)
Car.SetHealth($sweet_carH, 1000)
World.ClearArea(2098.61, -1801.62, 12.39, 100.0, True)
Char.SetCoordinates($sweet_car, 2092.61, -1801.62, 12.39)
Char.SetHeading($sweet_car, 72.0)
Char.SetAreaVisible($sweet_car, 0)
Car.LockDoors($sweet_carH, CarLock.Unlocked)
Char.SetNextDesiredMoveState(MoveState.Run)
Task.EnterCarAsPassenger($sweet_car, $sweet_carH, 40000, 0)

:INTRO2_11322
Weather.Release
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.ClearPrints
Shopping.ClearLoaded
World.ClearExtraColors(False)
Streaming.RemoveAnimation("SHOP")
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("FOOD")
38@ = 0
Text.PrintNow('INT2_6', 10000, 1)
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_11425
goto @INTRO2_13667
goto @INTRO2_11454

:INTRO2_11425
Char.SetHealth($sweet_car, 500)
Char.SetMaxHealth($sweet_car, 500)
47@ = Blip.AddForChar($sweet_car)
Blip.Remove(47@)

:INTRO2_11454
Blip.Remove(34@)
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_11502
Blip.Remove(37@)
37@ = Blip.AddForCar($sweet_carH)
Blip.SetAsFriendly(37@, True)
goto @INTRO2_11509

:INTRO2_11502
goto @INTRO2_13667

:INTRO2_11509
World.SwitchEntryExit('FDPIZA', False)
$sweet = 1
60@ = 0
54@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2102.77, -1806.35, 12.55, MoveState.Run, 4000)
Task.ShootAtCoord(-1, 2092.67, -1803.64, 15.56, 1000)
Sequence.Close(54@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 20232)

:INTRO2_11607
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @INTRO2_11633
wait 0
goto @INTRO2_11607

:INTRO2_11633
Streaming.LoadSceneInDirection(2102.21, -1806.65, 12.4, 75.0)
Camera.DoFade(500, Fade.In)
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_11701
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_11701
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_11740
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_11740
49@ = 0
56@ = 0
64@ = 0
40@ = 4
gosub @INTRO2_47
TIMERA = 0
TIMERB = 0
World.ClearArea(2077.57, -1796.41, 12.38, 20.0, True)

:INTRO2_11813
if or
  not Car.Locate3D($sweet_carH, 2473.88, -1692.81, 12.52, 4.0, 4.0, 4.0, $sweet)
  not Char.IsInCar($sweet_car, $sweet_carH)
  not Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carH)
  not Car.IsOnAllWheels($sweet_carH)
goto_if_false @INTRO2_12919
wait 0
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_11926
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_11926
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_11965
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_11965
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, 2104.62, -1806.54, 12.55, 7.0, 6.0, 3.0, False)
goto_if_false @INTRO2_12304
if 
  66@ == 0
goto_if_false @INTRO2_12187
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_12180
Char.ClearTasks(35@)
Char.ClearTasksImmediately(35@)
Char.SetCoordinates(35@, 2105.32, -1806.24, 12.55)
Char.SetHeading(35@, 90.0)
Char.GiveWeapon(35@, WeaponType.Shotgun, 30000)
Char.SetCurrentWeapon(35@, WeaponType.Shotgun)
Char.SetAccuracy(35@, 30)
Camera.SetNearClip(0.1)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @INTRO2_12153
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('INT2_HA', 2000, 1)

:INTRO2_12153
Char.PerformSequence(35@, 54@)
Sequence.Clear(54@)
TIMERA = 0
66@ = 1

:INTRO2_12180
goto @INTRO2_12304

:INTRO2_12187
if 
  TIMERA > 2000
goto_if_false @INTRO2_12304
if 
  66@ == 1
goto_if_false @INTRO2_12304
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_12304
if 
  Char.LocateOnFoot3D(35@, 2102.77, -1806.35, 12.55, 1.0, 1.0, 3.0, False)
goto_if_false @INTRO2_12304
Char.SetRelationship(35@, RelationshipType.Hate, PedType.Player1)
66@ = 2

:INTRO2_12304
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_12413
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_12413
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carH)
goto_if_false @INTRO2_12413
if 
  Char.IsSittingInCar($sweet_car, $sweet_carH)
goto_if_false @INTRO2_12413
gosub @INTRO2_16035
if 
  88@ == 0
goto_if_false @INTRO2_12413
TIMERB = 0
88@ = 1

:INTRO2_12413
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_12834
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_12811
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carH)
goto_if_false @INTRO2_12712
if 
  Char.IsSittingInCar($sweet_car, $sweet_carH)
goto_if_false @INTRO2_12610
if 
  38@ == 0
goto_if_false @INTRO2_12603
Blip.Remove(47@)
Blip.Remove(37@)
Blip.Remove(34@)
34@ = Blip.AddForCoord(2473.88, -1692.81, 12.52)
$sweet = 1
if 
  88@ == 1
goto_if_false @INTRO2_12603
if 
  TIMERB > 7000
goto_if_false @INTRO2_12603
Text.PrintNow('INT2_O', 10000, 1)
38@ = 1

:INTRO2_12603
goto @INTRO2_12705

:INTRO2_12610
Blip.Remove(37@)
Blip.Remove(34@)
Blip.Remove(47@)
47@ = Blip.AddForChar($sweet_car)
Blip.SetAsFriendly(47@, True)
Text.PrintNow('INT2_5', 1000, 1)
65@ = Char.GetScriptTaskStatus($sweet_car, 1482)
if 
  is_int_lvar_equal_to_constant 65@ == 7
goto_if_false @INTRO2_12698
Task.EnterCarAsPassenger($sweet_car, $sweet_carH, 20000, 0)

:INTRO2_12698
$sweet = 0

:INTRO2_12705
goto @INTRO2_12804

:INTRO2_12712
if 
  38@ == 1
goto_if_false @INTRO2_12804
Blip.Remove(34@)
Blip.Remove(37@)
37@ = Blip.AddForCar($sweet_carH)
Blip.SetAsFriendly(37@, True)
$sweet = 0
gosub @INTRO2_15117
Text.PrintNow('INT2_6', 10000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
38@ = 0

:INTRO2_12804
goto @INTRO2_12834

:INTRO2_12811
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_12834
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_12873
Text.PrintNow('INT2_12', 10000, 1)
goto @INTRO2_13667

:INTRO2_12873
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_12912
Text.PrintNow('INT2_11', 10000, 1)
goto @INTRO2_13667

:INTRO2_12912
goto @INTRO2_11813

:INTRO2_12919
Player.SetControl($statbike_temp, False)
49@ = 0
56@ = 0
64@ = 0
40@ = 3
gosub @INTRO2_47
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_13030
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_13030
Task.LeaveCar($sweet_car, $sweet_carH)
wait 700
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_13030
Task.LeaveCar($stattreadstamina_ctr, $sweet_carH)

:INTRO2_13030
Camera.DoFade(1600, Fade.Out)

:INTRO2_13037
if 
  Camera.GetFadingStatus
goto_if_false @INTRO2_13061
wait 0
goto @INTRO2_13037

:INTRO2_13061
Hud.SwitchWidescreen(True)
Camera.DoFade(1500, Fade.In)
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_13151
if 
  Char.IsInAnyCar($sweet_car)
goto_if_false @INTRO2_13131
Char.WarpFromCarToCoord($sweet_car, 2467.345, -1688.22, 12.5156)
goto @INTRO2_13151

:INTRO2_13131
Char.SetCoordinates($sweet_car, 2467.345, -1688.22, 12.5156)

:INTRO2_13151
Char.SetHeading($sweet_car, 284.0)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @INTRO2_13204
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2468.359, -1687.39, 12.518)
goto @INTRO2_13224

:INTRO2_13204
Char.SetCoordinates($stattreadstamina_ctr, 2468.359, -1687.39, 12.5189)

:INTRO2_13224
Char.SetHeading($stattreadstamina_ctr, 108.0)
Camera.SetFixedPosition(2464.771, -1687.493, 14.2709, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2465.75, -1687.675, 14.1833, SwitchType.JumpCut)
64@ = 0

:INTRO2_13292
if 
  49@ <> 1
goto_if_false @INTRO2_13371
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_13364
if 
  56@ == 2
goto_if_false @INTRO2_13364
64@ = 1

:INTRO2_13364
goto @INTRO2_13292

:INTRO2_13371
64@ = 0

:INTRO2_13378
if 
  49@ <> 2
goto_if_false @INTRO2_13457
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_13450
if 
  56@ == 2
goto_if_false @INTRO2_13450
64@ = 1

:INTRO2_13450
goto @INTRO2_13378

:INTRO2_13457
64@ = 0

:INTRO2_13464
if 
  49@ <> 3
goto_if_false @INTRO2_13584
wait 0
gosub @INTRO2_16035
if 
  64@ == 0
goto_if_false @INTRO2_13577
if 
  56@ == 2
goto_if_false @INTRO2_13577
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_13570
Task.GoStraightToCoord($sweet_car, 2459.79, -1688.18, 12.56, MoveState.Walk, 3000)

:INTRO2_13570
64@ = 1

:INTRO2_13577
goto @INTRO2_13464

:INTRO2_13584
Task.GoStraightToCoord($stattreadstamina_ctr, 2471.58, -1685.73, 12.51, MoveState.Walk, 3000)
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_13630
Char.StopFacialTalk($sweet_car)

:INTRO2_13630
wait 1000
Char.ClearTasks($stattreadstamina_ctr)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Char.Delete($sweet_car)
goto @INTRO2_13692

:INTRO2_13667
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
$flag_returned_snapshots = 1
return 

:INTRO2_13692
Stat.RegisterMissionPassed('INTRO_2')
Text.PrintWithNumberBig('M_PASSR', 3, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(3)
CarGenerator.Switch($gen_car10, 101)
$flag_sweet_mission_counter += 1
Blip.Remove($ryder_blip_icon)
start_new_script @SWEET 
Blip.Remove($intro_contact_blip)
$intro_contact_blip = Blip.AddSpriteForContactPoint($ryderY, $ryderZ, $smokeX, $strap_blip_icon)
Player.ClearWantedLevel($statbike_temp)
World.SwitchEntryExit('BARBERS', True)
World.SwitchEntryExit('BARBER2', True)
World.SwitchEntryExit('BARBER3', True)
World.SwitchEntryExit('FDPIZA', True)
World.SwitchEntryExit('FDCHICK', True)
World.SwitchEntryExit('FDBURG', True)
World.SwitchEntryExit('TATTOO', True)
Blip.Remove($stadium_blip2)
$stadium_blip2 = Blip.AddShortRangeSpriteForCoord(2070.27, -1791.092, 17.1484, RadarSprite.Barbers)
Blip.Remove($stadium_blip3)
$stadium_blip3 = Blip.AddShortRangeSpriteForCoord(2107.624, -1807.516, 21.2114, RadarSprite.Pizza)
Audio.PlayMissionPassedTune(1)
if 
  $advert_f1 == 0
goto_if_false @INTRO2_14811
$2595 = Blip.AddShortRangeSpriteForCoord(822.6, -1590.3, 13.5, RadarSprite.Barbers)
$pizza_blips = Blip.AddShortRangeSpriteForCoord(-2570.1, 245.4, 10.3, RadarSprite.Barbers)
$2597 = Blip.AddShortRangeSpriteForCoord(2726.6, -2026.4, 17.5, RadarSprite.Barbers)
$2598 = Blip.AddShortRangeSpriteForCoord(2080.3, 2119.0, 10.8, RadarSprite.Barbers)
$2599 = Blip.AddShortRangeSpriteForCoord(675.7, -496.6, 16.8, RadarSprite.Barbers)
$2600 = Blip.AddShortRangeSpriteForCoord(-1805.7, 943.2, 24.8, RadarSprite.Pizza)
$2601 = Blip.AddShortRangeSpriteForCoord(2750.9, 2470.9, 11.0, RadarSprite.Pizza)
$2602 = Blip.AddShortRangeSpriteForCoord(2351.8, 2529.0, 10.8, RadarSprite.Pizza)
$2603 = Blip.AddShortRangeSpriteForCoord(2635.5, 1847.4, 11.0, RadarSprite.Pizza)
$burger_blips = Blip.AddShortRangeSpriteForCoord(2083.4, 2221.0, 11.0, RadarSprite.Pizza)
$2605 = Blip.AddShortRangeSpriteForCoord(-1719.1, 1359.4, 8.6, RadarSprite.Pizza)
$2606 = Blip.AddShortRangeSpriteForCoord(2330.2, 75.2, 31.0, RadarSprite.Pizza)
$2607 = Blip.AddShortRangeSpriteForCoord(203.2, -200.4, 6.5, RadarSprite.Pizza)
$2608 = Blip.AddShortRangeSpriteForCoord(812.9, -1616.1, 13.6, RadarSprite.BurgerShot)
$2609 = Blip.AddShortRangeSpriteForCoord(1199.1, -924.0, 43.3, RadarSprite.BurgerShot)
$2610 = Blip.AddShortRangeSpriteForCoord(2362.2, 2069.9, 10.8, RadarSprite.BurgerShot)
$2611 = Blip.AddShortRangeSpriteForCoord(2469.5, 2033.8, 10.8, RadarSprite.BurgerShot)
$2612 = Blip.AddShortRangeSpriteForCoord(2172.9, 2795.7, 10.8, RadarSprite.BurgerShot)
$2613 = Blip.AddShortRangeSpriteForCoord(1875.3, 2072.0, 10.8, RadarSprite.BurgerShot)
$chicken_blips = Blip.AddShortRangeSpriteForCoord(1161.5, 2072.0, 10.8, RadarSprite.BurgerShot)
$2615 = Blip.AddShortRangeSpriteForCoord(-2356.0, 1009.0, 49.0, RadarSprite.BurgerShot)
$2616 = Blip.AddShortRangeSpriteForCoord(-1913.3, 826.2, 36.9, RadarSprite.BurgerShot)
$2617 = Blip.AddShortRangeSpriteForCoord(-2335.6, -165.6, 39.5, RadarSprite.BurgerShot)
$2618 = Blip.AddShortRangeSpriteForCoord(2397.8, -1895.6, 13.7, RadarSprite.Chicken)
$2619 = Blip.AddShortRangeSpriteForCoord(2421.6, -1509.6, 24.1, RadarSprite.Chicken)
$2620 = Blip.AddShortRangeSpriteForCoord(-2671.6, 257.4, 4.6, RadarSprite.Chicken)
$2621 = Blip.AddShortRangeSpriteForCoord(2392.4, 2046.5, 10.8, RadarSprite.Chicken)
$2622 = Blip.AddShortRangeSpriteForCoord(2844.5, 2401.1, 11.0, RadarSprite.Chicken)
$2623 = Blip.AddShortRangeSpriteForCoord(2635.5, 1674.3, 11.0, RadarSprite.Chicken)
$2624 = Blip.AddShortRangeSpriteForCoord(2105.7, 2228.7, 11.0, RadarSprite.Chicken)
$2625 = Blip.AddShortRangeSpriteForCoord(-2154.0, -2461.2, 30.8, RadarSprite.Chicken)
$tattoo_blips = Blip.AddShortRangeSpriteForCoord(-1816.2, 620.8, 37.5, RadarSprite.Chicken)
$2627 = Blip.AddShortRangeSpriteForCoord(-1216.0, 1831.4, 45.3, RadarSprite.Chicken)
$2628 = Blip.AddShortRangeSpriteForCoord(172.73, 1176.76, 13.7, RadarSprite.Chicken)
$2629 = Blip.AddShortRangeSpriteForCoord(932.0, -1353.0, 14.0, RadarSprite.Chicken)
$gym_blips = Blip.AddShortRangeSpriteForCoord(1971.7, -2036.6, 13.5, RadarSprite.Tattoo)
$2631 = Blip.AddShortRangeSpriteForCoord(2071.6, -1779.9, 13.5, RadarSprite.Tattoo)
$clothes_blips = Blip.AddShortRangeSpriteForCoord(2094.6, 2119.0, 10.8, RadarSprite.Tattoo)
$2633 = Blip.AddShortRangeSpriteForCoord(-2490.5, -40.1, 39.3, RadarSprite.Tattoo)
$advert_f1 = 1

:INTRO2_14811
Stat.PlayerMadeProgress(1)
return 

:INTRO2_14817
$weapon_shop1_blip = 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @INTRO2_14852
Char.SetCantBeDraggedOut($stattreadstamina_ctr, False)
Char.ClearLookAt($stattreadstamina_ctr)

:INTRO2_14852
if 
  not Car.IsDead($sweet_carH)
goto_if_false @INTRO2_14875
Car.SetCanBurstTires($sweet_carH, True)

:INTRO2_14875
Streaming.MarkModelAsNoLongerNeeded(155)
Streaming.MarkModelAsNoLongerNeeded(600)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Streaming.MarkModelAsNoLongerNeeded(#CIGAR_GLOW)
Streaming.RemoveAnimation("SHOP")
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("FOOD")
$f1_spinrightgo_best_score = 0
$keep_offZ = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Blip.Remove(47@)
Blip.Remove(34@)
Blip.Remove(37@)
Char.RemoveElegantly($sweet_car)
Char.MarkAsNoLongerNeeded(35@)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
$flag_ryder_mission_counter = Blip.AddShortRangeSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Zone.SetGangStrength('IWD1', GangType.Ballas, 20)
Zone.SetGangStrength('IWD2', GangType.Ballas, 20)
Zone.SetGangStrength('IWD3A', GangType.Ballas, 20)
Zone.SetGangStrength('IWD3B', GangType.Ballas, 20)
Zone.SetGangStrength('IWD4', GangType.Ballas, 20)
Zone.SetGangStrength('IWD5', GangType.Ballas, 20)
$opened_desert_up = 0
Mission.Finish
return 

:INTRO2_15117
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  89@ == 0
goto_if_false @INTRO2_15148
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34200)

:INTRO2_15148
if 
  89@ == 1
goto_if_false @INTRO2_15175
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34201)

:INTRO2_15175
if 
  89@ == 2
goto_if_false @INTRO2_15202
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34202)

:INTRO2_15202
if 
  89@ == 3
goto_if_false @INTRO2_15229
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34203)

:INTRO2_15229
if 
  89@ == 4
goto_if_false @INTRO2_15256
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34204)

:INTRO2_15256
if 
  89@ == 5
goto_if_false @INTRO2_15283
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34205)

:INTRO2_15283
if 
  89@ == 6
goto_if_false @INTRO2_15310
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34206)

:INTRO2_15310
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:INTRO2_15326
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @INTRO2_15388
wait 0
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_15363
return 

:INTRO2_15363
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_15381
return 

:INTRO2_15381
goto @INTRO2_15326

:INTRO2_15388
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
if 
  89@ == 0
goto_if_false @INTRO2_15426
Text.PrintNow('RYDX_AA', 3000, 1)

:INTRO2_15426
if 
  89@ == 1
goto_if_false @INTRO2_15460
Text.PrintNow('RYDX_AB', 3000, 1)

:INTRO2_15460
if 
  89@ == 2
goto_if_false @INTRO2_15494
Text.PrintNow('RYDX_AC', 3000, 1)

:INTRO2_15494
if 
  89@ == 3
goto_if_false @INTRO2_15528
Text.PrintNow('RYDX_AD', 3000, 1)

:INTRO2_15528
if 
  89@ == 4
goto_if_false @INTRO2_15562
Text.PrintNow('RYDX_AE', 3000, 1)

:INTRO2_15562
if 
  89@ == 5
goto_if_false @INTRO2_15596
Text.PrintNow('RYDX_AF', 3000, 1)

:INTRO2_15596
if 
  89@ == 6
goto_if_false @INTRO2_15630
Text.PrintNow('RYDX_AG', 3000, 1)

:INTRO2_15630
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @INTRO2_15692
wait 0
if 
  Car.IsDead($sweet_carH)
goto_if_false @INTRO2_15667
return 

:INTRO2_15667
if 
  Char.IsDead($sweet_car)
goto_if_false @INTRO2_15685
return 

:INTRO2_15685
goto @INTRO2_15630

:INTRO2_15692
89@ += 1
if 
  89@ > 6
goto_if_false @INTRO2_15724
89@ = 0

:INTRO2_15724
return 

:INTRO2_15726
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_16033
if 
  Char.IsPlayingAnim($sweet_car, "SMOKE_RYD")
goto_if_false @INTRO2_16028
93@ = Char.GetAnimCurrentTime($sweet_car, "SMOKE_RYD")
if 
  63@ == 0
goto_if_false @INTRO2_15894
if 
  93@ >= 0.785
goto_if_false @INTRO2_15894
39@ = Object.Create(#CIGAR_GLOW, 2440.58, -1979.89, 14.2)
Object.AttachToObject(39@, 46@, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
63@ = 1

:INTRO2_15894
if 
  63@ == 1
goto_if_false @INTRO2_15960
if and
  93@ >= 0.15
  0.335 > 93@
goto_if_false @INTRO2_15960
Particle.Play(55@)
Object.Delete(39@)
63@ = 2

:INTRO2_15960
if 
  63@ == 2
goto_if_false @INTRO2_16021
if or
  93@ >= 0.335
  0.15 > 93@
goto_if_false @INTRO2_16021
Particle.Stop(55@)
63@ = 0

:INTRO2_16021
goto @INTRO2_16033

:INTRO2_16028
Particle.Stop(55@)

:INTRO2_16033
return 

:INTRO2_16035
if or
  56@ == 0
  56@ == 1
goto_if_false @INTRO2_16105
if 
  is_int_lvar_greater_or_equal_to_int_lvar 50@ >= 49@
goto_if_false @INTRO2_16105
if 
  TIMERA > 200
goto_if_false @INTRO2_16105
gosub @INTRO2_16177

:INTRO2_16105
if 
  56@ == 2
goto_if_false @INTRO2_16175
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @INTRO2_16175
gosub @INTRO2_16526
56@ = 0
49@ += 1
64@ = 0
Text.ClearPrints
TIMERA = 0

:INTRO2_16175
return 

:INTRO2_16177
if 
  56@ == 0
goto_if_false @INTRO2_16213
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 70@(49@,17i))
56@ = 1

:INTRO2_16213
if 
  56@ == 1
goto_if_false @INTRO2_16278
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @INTRO2_16278
Text.PrintNow($6507(49@,17s), 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
gosub @INTRO2_16280
56@ = 2

:INTRO2_16278
return 

:INTRO2_16280
if or
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20227
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20229
goto_if_false @INTRO2_16348
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_16348
Char.ShutUpForScriptedSpeech(35@, True)
Char.StartFacialTalk(35@, 3000)
return 

:INTRO2_16348
if or
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20211
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20215
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20202
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20204
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20206
goto_if_false @INTRO2_16436
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
return 

:INTRO2_16436
if or
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20209
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20230
goto_if_false @INTRO2_16493
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
goto @INTRO2_16524

:INTRO2_16493
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_16524
Char.ShutUpForScriptedSpeech($sweet_car, True)
Char.StartFacialTalk($sweet_car, 3000)

:INTRO2_16524
return 

:INTRO2_16526
if or
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20227
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20229
goto_if_false @INTRO2_16591
if 
  not Char.IsDead(35@)
goto_if_false @INTRO2_16591
Char.ShutUpForScriptedSpeech(35@, False)
Char.StopFacialTalk(35@)
return 

:INTRO2_16591
if or
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20211
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20215
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20202
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20204
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20206
goto_if_false @INTRO2_16676
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
return 

:INTRO2_16676
if or
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20209
  is_int_lvar_equal_to_constant 70@(49@,17i) == 20230
goto_if_false @INTRO2_16730
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
goto @INTRO2_16758

:INTRO2_16730
if 
  not Char.IsDead($sweet_car)
goto_if_false @INTRO2_16758
Char.ShutUpForScriptedSpeech($sweet_car, False)
Char.StopFacialTalk($sweet_car)

:INTRO2_16758
return 

//-------------Mission 13---------------
// Originally: Tagging Up Turf

:SWEET1
script_name 'SWEET1'
gosub @SWEET1_468
if 
  has_deatharrest_been_executed 
goto_if_false @SWEET1_38
gosub @SWEET1_14575

:SWEET1_38
gosub @SWEET1_14838
terminate_this_script 
Char.ClearTasks($stattreadstamina_ctr)

:SWEET1_52
switch_start $6552 {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET1_431 {caseNum1} 0 {caseLabel1} @SWEET1_115 {caseNum2} 1 {caseLabel2} @SWEET1_249 {caseNum3} -1 {caseLabel3} @SWEET1_431 {caseNum4} -1 {caseLabel4} @SWEET1_431 {caseNum5} -1 {caseLabel5} @SWEET1_431 {caseNum6} -1 {caseLabel6} @SWEET1_431 {caseNum7} -1 {caseLabel7} @SWEET1_431

:SWEET1_115
set_var_text_label s$6555[0] = 'SWE1_AA'
set_var_text_label s$6555[1] = 'SWE1_AB'
set_var_text_label s$6555[2] = 'SWE1_AC'
set_var_text_label s$6555[3] = 'SWE1_AD'
set_var_text_label s$6555[4] = 'SWE1_AE'
set_var_int_to_constant $6542[0] = 37400
set_var_int_to_constant $6542[1] = 37401
set_var_int_to_constant $6542[2] = 37402
set_var_int_to_constant $6542[3] = 37403
set_var_int_to_constant $6542[4] = 37404
48@ = 4
goto @SWEET1_431

:SWEET1_249
set_var_text_label s$6555[0] = 'SWE1_BN'
set_var_text_label s$6555[1] = 'SWE1_BO'
set_var_text_label s$6555[2] = 'SWE1_BP'
set_var_text_label s$6555[3] = 'SWE1_BQ'
set_var_text_label s$6555[4] = 'SWE1_BX'
set_var_text_label s$6555[5] = 'SWE1_BT'
set_var_text_label s$6555[6] = 'SWE1_BU'
set_var_int_to_constant $6542[0] = 37435
set_var_int_to_constant $6542[1] = 37436
set_var_int_to_constant $6542[2] = 37437
set_var_int_to_constant $6542[3] = 37438
set_var_int_to_constant $6542[4] = 37443
set_var_int_to_constant $6542[5] = 37441
set_var_int_to_constant $6542[6] = 37442
48@ = 6
goto @SWEET1_431

:SWEET1_431
return 
goto @SWEET1_468
$6541 = Pickup.CreateWithAmmo(365, PickupType.OnStreetSlow, 1000, 2493.52, -1700.83, 14.27)

:SWEET1_468
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
Text.LoadMissionText('SWEET1')
World.ClearArea(2527.9, -1667.7, 14.1, 10.0, True)
Cutscene.Load('SWEET1A')

:SWEET1_527
if 
  not Cutscene.HasLoaded
goto_if_false @SWEET1_551
wait 0
goto @SWEET1_527

:SWEET1_551
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SWEET1_560
if 
  not Cutscene.HasFinished
goto_if_false @SWEET1_584
wait 0
goto @SWEET1_560

:SWEET1_584
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:SWEET1_597
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1_621
wait 0
goto @SWEET1_597

:SWEET1_621
Cutscene.Clear
49@ = 0
50@ = 0
51@ = 0
52@ = 0
53@ = 0
35@ = 0
63@ = 0
71@ = 0
69@ = 0
61@ = 0
34@ = 0
57@ = 0
46@ = 0
58@ = 0
73@ = 0
74@ = 0
75@ = 0
76@ = 0
36@ = 0
38@ = 0
39@ = 0
40@ = 0
$6554 = 0
88@ = 2038.758
89@ = -1624.419
90@ = 2074.503
91@ = -1662.767
92@ = 2345.68
93@ = -1515.79
94@ = 2423.7
95@ = -1393.28
84@ = 2401.6
85@ = -1550.8
86@ = 2396.33
87@ = -1555.12
96@ = 2100.972
97@ = -1646.623
98@ = 2105.264
99@ = -1656.712
Zone.SetGangStrength('IWD1', GangType.Ballas, 10)
Zone.SetGangStrength('IWD2', GangType.Ballas, 10)
Zone.SetGangStrength('IWD3A', GangType.Ballas, 10)
Zone.SetGangStrength('IWD3B', GangType.Ballas, 10)
Zone.SetGangStrength('IWD4', GangType.Ballas, 10)
Zone.SetGangStrength('IWD5', GangType.Ballas, 10)
Zone.SetGangStrength('ELS1A', GangType.Ballas, 10)
Zone.SetGangStrength('ELS1B', GangType.Ballas, 10)
Zone.SetGangStrength('ELS2', GangType.Ballas, 10)
Zone.SetGangStrength('ELS3A', GangType.Ballas, 10)
Zone.SetGangStrength('ELS3B', GangType.Ballas, 10)
Zone.SetGangStrength('ELS4', GangType.Ballas, 10)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.LoadSpecialCharacter(10, 'SMOKE')
Streaming.RequestModel(365)
Streaming.RequestModel(492)
Streaming.RequestModel(102)
Streaming.RequestModel(103)
Streaming.LoadAllModelsNow

:SWEET1_1170
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(10)
goto_if_false @SWEET1_1200
wait 0
goto @SWEET1_1170

:SWEET1_1200
if or
  not Streaming.HasModelLoaded(365)
  not Streaming.HasModelLoaded(492)
  not Streaming.HasModelLoaded(102)
  not Streaming.HasModelLoaded(103)
goto_if_false @SWEET1_1240
wait 0
goto @SWEET1_1200

:SWEET1_1240
$sweet1_chat = 0
$get_in_counter_swee1 = 0
$6553 = 0
$6552 = 0
gosub @SWEET1_52
Char.SetCoordinates($stattreadstamina_ctr, 2516.53, -1671.37, 12.88)
Char.SetHeading($stattreadstamina_ctr, 61.28)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.SprayCan, 30000)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
$big_smoke_car = Char.Create(PedType.Mission1, 290, 2518.07, -1668.82, 12.85)
Char.SetAnimGroup($big_smoke_car, "GANG2")
Char.SetHeading($big_smoke_car, 103.76)
72@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetDecisionMaker($big_smoke_car, 72@)
Char.SetNeverTargeted($big_smoke_car, True)
Char.GiveWeapon($big_smoke_car, WeaponType.SprayCan, 30000)
Char.SetCurrentWeapon($big_smoke_car, WeaponType.SprayCan)
Char.SetSuffersCriticalHits($big_smoke_car, False)
Char.SetHealth($big_smoke_car, 500)
Char.SetMaxHealth($big_smoke_car, 500)
Char.SetCantBeDraggedOut($big_smoke_car, True)
Char.SetStayInCarWhenJacked($big_smoke_car, True)
Char.SetGetOutUpsideDownCar($big_smoke_car, False)
CarGenerator.Switch($gen_car12, 0)
World.ClearArea(2518.07, -1668.82, 12.85, 10.0, True)
Car.CustomPlateForNextCar(492, "GROVE4L_")
$sweet_carZ = Car.Create(492, 2508.16, -1666.47, 13.0)
Car.SetCanBurstTires($sweet_carZ, False)
Car.ChangeColor($sweet_carZ, 59, 34)
Car.SetHeading($sweet_carZ, 16.0)
56@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(56@, True)
Audio.SetRadioChannel(RadioChannel.BounceFM)
$mc_strap = Char.Create(PedType.Mission1, 299, 2520.1, -1669.58, 13.1)
Char.SetAnimGroup($mc_strap, "FATMAN")
Char.SetHeading($mc_strap, 173.99)
Task.GoStraightToCoord($mc_strap, 2518.509, -1676.124, 13.3855, MoveState.Walk, 10000)
World.SetTagStatusInArea(88@, 89@, 90@, 91@, 0)
World.SetTagStatusInArea(92@, 93@, 94@, 95@, 0)
World.SetTagStatusInArea(84@, 85@, 86@, 87@, 0)
World.SetTagStatusInArea(96@, 97@, 98@, 99@, 0)
$emmets_shop_blip = World.GetPercentageTaggedInArea(88@, 89@, 90@, 91@)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
World.ClearArea(2518.07, -1668.82, 12.85, 40.0, True)
Camera.SetNearClip(0.2)
Camera.SetFixedPosition(2512.01, -1671.207, 14.2722, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2512.938, -1670.842, 14.1948, SwitchType.JumpCut)
Streaming.LoadScene(2515.42, -1671.19, 14.46)
Task.GoStraightToCoord($big_smoke_car, 2513.812, -1669.527, 12.5348, MoveState.Walk, 10000)
Task.GoStraightToCoord($stattreadstamina_ctr, 2512.64, -1671.07, 12.5, MoveState.Walk, 10000)
Camera.DoFade(500, Fade.In)

:SWEET1_1887
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1_1911
wait 0
goto @SWEET1_1887

:SWEET1_1911
36@ = 0
skip_cutscene_start_internal @SWEET1_2723

:SWEET1_1925
if 
  $sweet1_chat <> 1
goto_if_false @SWEET1_2052
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_2045
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_2045
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_2038
Char.ClearLookAt($stattreadstamina_ctr)
Char.ClearLookAt($big_smoke_car)
Task.LookAtChar($stattreadstamina_ctr, $big_smoke_car, 8000)
Task.LookAtChar($big_smoke_car, $stattreadstamina_ctr, 8000)

:SWEET1_2038
$6553 = 1

:SWEET1_2045
goto @SWEET1_1925

:SWEET1_2052
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_2076
Task.TurnCharToFaceChar($stattreadstamina_ctr, $big_smoke_car)

:SWEET1_2076
World.ClearArea(2512.26, -1667.83, 12.56, 30.0, True)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2523.417, -1664.991, 15.1254, 2522.961, -1667.46, 15.2254, 13000, True)
Camera.SetVectorTrack(2513.695, -1670.609, 13.8556, 2514.297, -1669.343, 13.9372, 13000, True)

:SWEET1_2184
if 
  $sweet1_chat <> 2
goto_if_false @SWEET1_2279
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_2272
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_2272
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_2265

:SWEET1_2265
$6553 = 1

:SWEET1_2272
goto @SWEET1_2184

:SWEET1_2279
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_2295

:SWEET1_2295
if 
  $sweet1_chat <> 3
goto_if_false @SWEET1_2427
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_2420
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_2420
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_2413
Task.PlayAnim($big_smoke_car, "IDLE_CHAT", "PED", 4.0, True, False, False, False, 6000)

:SWEET1_2413
$6553 = 1

:SWEET1_2420
goto @SWEET1_2295

:SWEET1_2427
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_2443

:SWEET1_2443
if 
  $sweet1_chat <> 4
goto_if_false @SWEET1_2538
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_2531
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_2531
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_2524

:SWEET1_2524
$6553 = 1

:SWEET1_2531
goto @SWEET1_2443

:SWEET1_2538
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_2554

:SWEET1_2554
if 
  $sweet1_chat <> 5
goto_if_false @SWEET1_2711
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_2704
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_2704
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_2697
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_2697
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.GoStraightToCoord($stattreadstamina_ctr, 2510.271, -1669.803, 12.4092, MoveState.Walk, 10000)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($big_smoke_car, $sweet_carZ, 20000, 0)

:SWEET1_2697
$6553 = 1

:SWEET1_2704
goto @SWEET1_2554

:SWEET1_2711
wait 1000
36@ = 1

:SWEET1_2723
skip_cutscene_end 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Char.Delete($mc_strap)
Streaming.UnloadSpecialCharacter(10)
62@ = Blip.AddForCoord(2089.01, -1649.08, 12.8)
Blip.Remove(62@)
if 
  36@ == 0
goto_if_false @SWEET1_2933
Char.SetCoordinates($stattreadstamina_ctr, 2511.68, -1670.33, 12.46)
Char.SetHeading($stattreadstamina_ctr, 62.36)
Char.ClearLookAt($stattreadstamina_ctr)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_2933
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_2933
World.ClearArea(2510.05, -1666.61, 12.57, 1.0, True)
Char.SetCoordinates($big_smoke_car, 2510.05, -1666.61, 12.57)
Char.SetHeading($big_smoke_car, 53.89)
Char.ClearLookAt($big_smoke_car)
Char.ClearTasksImmediately($big_smoke_car)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($big_smoke_car, $sweet_carZ, 20000, 0)

:SWEET1_2933
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_3003
World.ClearArea(2510.05, -1666.61, 12.57, 1.0, True)
Char.SetCoordinates($big_smoke_car, 2510.05, -1666.61, 12.57)
Char.SetHeading($big_smoke_car, 53.89)

:SWEET1_3003
Char.ClearTasks($stattreadstamina_ctr)
Camera.ResetNewScriptables
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Text.PrintNow('SWE1_A', 7000, 1)
45@ = 0
$sweet = 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_3094
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_3094
if or
  not Car.Locate3D($sweet_carZ, 2089.01, -1649.08, 12.54, 4.0, 4.0, 4.0, $sweet)
  not Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carZ)
  not Car.IsOnAllWheels($sweet_carZ)
goto_if_false @SWEET1_3618
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SWEET1_3182
goto @SWEET1_14682

:SWEET1_3182
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_3221
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_3221
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_3262
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_3262
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_3308
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575
goto @SWEET1_3492

:SWEET1_3308
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET1_3412
if 
  34@ == 0
goto_if_false @SWEET1_3405
Blip.Remove(56@)
Blip.Remove(62@)
62@ = Blip.AddForCoord(2089.01, -1649.08, 12.8)
Text.PrintNow('HOOD3_A', 5000, 1)
$sweet = 1
34@ = 1

:SWEET1_3405
goto @SWEET1_3492

:SWEET1_3412
if 
  34@ == 1
goto_if_false @SWEET1_3492
Blip.Remove(56@)
Blip.Remove(62@)
56@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(56@, True)
gosub @SWEET1_15166
Text.PrintNow('SWE1_S', 5000, 1)
$sweet = 0
34@ = 0

:SWEET1_3492
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_3531
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_3531
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_3572
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_3572
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_3611
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_3611
goto @SWEET1_3094

:SWEET1_3618
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(2082.533, -1650.244, 14.8007, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2083.515, -1650.202, 14.6181, SwitchType.JumpCut)
Streaming.RequestAnimation("GRAFFITI")
78@, 79@, 80@ = World.GetNearestTagPosition(2100.84, -1648.71, 12.42)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_3787
66@ = Sequence.Open()
Task.LeaveCar(-1, $sweet_carZ)
Task.GoStraightToCoord(-1, 2100.48, -1649.14, 12.47, MoveState.Walk, 20000)
Task.ShootAtCoord(-1, 78@, 79@, 80@, 15000)
Sequence.Close(66@)

:SWEET1_3787
World.SetTagStatusInArea(88@, 89@, 90@, 91@, 0)
World.SetTagStatusInArea(96@, 97@, 98@, 99@, 0)
$emmets_shop_blip = World.GetPercentageTaggedInArea(88@, 89@, 90@, 91@)
Char.SetAccuracy($big_smoke_car, 90)
Char.SetShootRate($big_smoke_car, 100)
69@ = 0
Hud.SwitchWidescreen(True)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_3901
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_3901
Task.LeaveCar($big_smoke_car, $sweet_carZ)

:SWEET1_3901
wait 600
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_3930
Task.LeaveCar($stattreadstamina_ctr, $sweet_carZ)

:SWEET1_3930
wait 500
Camera.DoFade(1000, Fade.Out)

:SWEET1_3942
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1_3966
wait 0
goto @SWEET1_3942

:SWEET1_3966
if 
  not Streaming.HasAnimationLoaded("GRAFFITI")
goto_if_false @SWEET1_4000
wait 0
goto @SWEET1_3966

:SWEET1_4000
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37444)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37416)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1_4061
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2094.7, -1652.05, 12.65)
goto @SWEET1_4081

:SWEET1_4061
Char.SetCoordinates($stattreadstamina_ctr, 2094.7, -1652.05, 12.65)

:SWEET1_4081
Char.SetHeading($stattreadstamina_ctr, 302.0)
Char.ClearTasks($stattreadstamina_ctr)
Task.GoStraightToCoord($stattreadstamina_ctr, 2099.12, -1651.26, 12.63, MoveState.Walk, 20000)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_4228
if 
  Char.IsInAnyCar($big_smoke_car)
goto_if_false @SWEET1_4180
Char.WarpFromCarToCoord($big_smoke_car, 2095.8, -1649.86, 12.7)
goto @SWEET1_4200

:SWEET1_4180
Char.SetCoordinates($big_smoke_car, 2095.8, -1649.86, 12.7)

:SWEET1_4200
Char.SetHeading($big_smoke_car, 277.0)
Char.ClearTasks($big_smoke_car)
Char.PerformSequence($big_smoke_car, 66@)
Sequence.Clear(66@)

:SWEET1_4228
Camera.SetFixedPosition(2095.531, -1659.485, 13.3156, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2095.742, -1658.519, 13.4672, SwitchType.JumpCut)
World.ClearArea(2094.2, -1652.05, 12.65, 10.0, True)
wait 500
Camera.DoFade(500, Fade.In)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_4347
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $big_smoke_car, 4500)

:SWEET1_4347
36@ = 0
skip_cutscene_start_internal @SWEET1_5959
wait 2000
Camera.SetFixedPosition(2102.11, -1647.672, 13.1493, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2101.369, -1648.315, 13.3438, SwitchType.JumpCut)

:SWEET1_4417
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET1_4521
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_4475
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_4475
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_4514
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_4514
goto @SWEET1_4417

:SWEET1_4521
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE1_AR', 10000, 1)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_4565
Char.StartFacialTalk($big_smoke_car, 3000)

:SWEET1_4565
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET1_4669
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_4623
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_4623
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_4662
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_4662
goto @SWEET1_4565

:SWEET1_4669
Text.ClearPrints
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_4692
Char.StopFacialTalk($big_smoke_car)

:SWEET1_4692
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_4716
64@ = Char.GetSequenceProgress($big_smoke_car)

:SWEET1_4716
if 
  64@ <> 2
goto_if_false @SWEET1_4872
wait 0
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_4779
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_4779
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_4818
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_4818
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_4857
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_4857
64@ = Char.GetSequenceProgress($big_smoke_car)
goto @SWEET1_4716

:SWEET1_4872
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2097.269, -1648.215, 14.4973, 2098.319, -1650.517, 14.3662, 10000, True)
Camera.SetVectorTrack(2101.626, -1649.577, 13.7631, 2101.89, -1647.925, 13.7316, 10000, True)
Text.PrintHelpForever('SWE1_D')
58@ = 1
TIMERA = 0

:SWEET1_4981
if 
  $emmets_shop_blip <> 100
goto_if_false @SWEET1_5226
wait 0
$emmets_shop_blip = World.GetPercentageTaggedInArea(96@, 97@, 98@, 99@)
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_5059
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_5059
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_5098
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_5098
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_5139
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_5139
if 
  58@ == 1
goto_if_false @SWEET1_5219
if 
  TIMERA > 5000
goto_if_false @SWEET1_5208
Text.PrintHelp('SWE1_F')
TIMERA = 0
58@ = 2
goto @SWEET1_5219

:SWEET1_5208
Text.PrintHelpForever('SWE1_D')

:SWEET1_5219
goto @SWEET1_4981

:SWEET1_5226
wait 1000
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_5315
Char.SetHeading($big_smoke_car, 280.0)
Task.PlayAnim($big_smoke_car, "GRAFFITI_CHKOUT", "GRAFFITI", 4.0, False, False, False, False, -1)
77@ = Char.GetScriptTaskStatus($big_smoke_car, 1541)

:SWEET1_5315
if 
  not is_int_lvar_equal_to_constant 77@ == 7
goto_if_false @SWEET1_5554
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_5376
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_5376
77@ = Char.GetScriptTaskStatus($big_smoke_car, 1541)
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_5426
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_5426
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_5467
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_5467
if 
  58@ == 1
goto_if_false @SWEET1_5547
if 
  TIMERA > 5000
goto_if_false @SWEET1_5536
Text.PrintHelp('SWE1_F')
TIMERA = 0
58@ = 2
goto @SWEET1_5547

:SWEET1_5536
Text.PrintHelpForever('SWE1_D')

:SWEET1_5547
goto @SWEET1_5315

:SWEET1_5554
Camera.ResetNewScriptables
Text.ClearHelp
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_5599
Task.GoStraightToCoord($big_smoke_car, 2099.1, -1650.02, 12.57, MoveState.Walk, 20000)

:SWEET1_5599
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_5647
Char.ClearLookAt($big_smoke_car)
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $big_smoke_car, 4500)
Task.LookAtChar($big_smoke_car, $stattreadstamina_ctr, 4500)

:SWEET1_5647
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_5751
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_5705
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_5705
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_5744
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_5744
goto @SWEET1_5647

:SWEET1_5751
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE1_CA', 10000, 1)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_5795
Char.StartFacialTalk($big_smoke_car, 3000)

:SWEET1_5795
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_5899
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_5853
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_5853
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_5892
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_5892
goto @SWEET1_5795

:SWEET1_5899
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_5920
Char.StopFacialTalk($big_smoke_car)

:SWEET1_5920
Text.ClearPrints
Task.GoStraightToCoord($stattreadstamina_ctr, 2097.56, -1651.36, 12.71, MoveState.Walk, 20000)
wait 500
36@ = 1

:SWEET1_5959
skip_cutscene_end 
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37445)
Camera.ResetNewScriptables
if 
  36@ == 0
goto_if_false @SWEET1_6174
Camera.DoFade(500, Fade.Out)

:SWEET1_6007
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1_6031
wait 0
goto @SWEET1_6007

:SWEET1_6031
World.SetTagStatusInArea(96@, 97@, 98@, 99@, 1)
Char.SetCoordinates($stattreadstamina_ctr, 2097.56, -1651.36, 12.71)
Char.SetHeading($stattreadstamina_ctr, 99.0)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_6128
Char.ClearTasksImmediately($big_smoke_car)
Char.SetCoordinates($big_smoke_car, 2099.1, -1650.02, 12.57)
Char.SetHeading($big_smoke_car, 99.0)

:SWEET1_6128
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.DoFade(700, Fade.In)

:SWEET1_6150
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1_6174
wait 0
goto @SWEET1_6150

:SWEET1_6174
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_6219
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_6219
Task.EnterCarAsPassenger($big_smoke_car, $sweet_carZ, 15000, 0)

:SWEET1_6219
Blip.Remove(56@)
Blip.Remove(62@)
Char.ClearLookAt($stattreadstamina_ctr)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Blip.Remove(62@)
42@ = Blip.AddForCoord(2068.31, -1654.0, 14.3)
Blip.ChangeColor(42@, BlipColor.Green)
43@ = Blip.AddForCoord(2047.31, -1634.65, 13.8)
Blip.ChangeColor(43@, BlipColor.Green)
Streaming.RemoveAnimation("GRAFFITI")
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_6343
Car.LockDoors($sweet_carZ, CarLock.LockoutPlayerOnly)

:SWEET1_6343
69@ = 1
$emmets_shop_blip = World.GetPercentageTaggedInArea(88@, 89@, 90@, 91@)
World.SetTagStatusInArea(88@, 89@, 90@, 91@, 0)
65@ = 0

:SWEET1_6390
if 
  $emmets_shop_blip <> 100
goto_if_false @SWEET1_6963
wait 0
if 
  65@ == 0
goto_if_false @SWEET1_6479
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET1_6472
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE1_CB', 2500, 1)
65@ = 1

:SWEET1_6472
goto @SWEET1_6535

:SWEET1_6479
if 
  65@ == 1
goto_if_false @SWEET1_6535
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET1_6535
Text.PrintNow('SWE1_X', 6000, 1)
65@ = 2

:SWEET1_6535
$emmets_shop_blip = World.GetPercentageTaggedInArea(88@, 89@, 90@, 91@)
59@ = World.GetPercentageTaggedInArea(2068.876, -1654.589, 2063.544, -1650.013)
60@ = World.GetPercentageTaggedInArea(2044.836, -1633.986, 2047.145, -1638.957)
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_6641
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_6641
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_6680
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_6680
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_6721
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_6721
if or
  Char.LocateOnFoot2D($stattreadstamina_ctr, 2043.68, -1635.73, 4.0, 4.0, False)
  Char.LocateOnFoot2D($stattreadstamina_ctr, 2067.99, -1652.61, 4.0, 4.0, False)
goto_if_false @SWEET1_6910
if 
  58@ == 0
goto_if_false @SWEET1_6848
if 
  TIMERA > 1000
goto_if_false @SWEET1_6848
Text.PrintHelp('SWE1_D')
TIMERA = 0
58@ = 1

:SWEET1_6848
if 
  58@ == 1
goto_if_false @SWEET1_6910
if 
  TIMERA > 5000
goto_if_false @SWEET1_6910
Text.PrintHelp('SWE1_F')
TIMERA = 0
58@ = 2

:SWEET1_6910
if 
  59@ == 100
goto_if_false @SWEET1_6933
Blip.Remove(42@)

:SWEET1_6933
if 
  60@ == 100
goto_if_false @SWEET1_6956
Blip.Remove(43@)

:SWEET1_6956
goto @SWEET1_6390

:SWEET1_6963
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_7011
Blip.Remove(42@)
Blip.Remove(43@)
56@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(56@, True)
Car.LockDoors($sweet_carZ, CarLock.Unlocked)

:SWEET1_7011
Text.PrintNow('SWE1_S', 6000, 1)
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_7066
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_7066
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37417)

:SWEET1_7075
if 
  not Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET1_7265
wait 0
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_7139
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_7139
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_7178
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_7178
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_7217
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_7217
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_7258
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_7258
goto @SWEET1_7075

:SWEET1_7265
45@ = 0
58@ = 0
TIMERA = 0
$sweet = 1
Blip.Remove(56@)
41@ = Blip.AddForCoord(2338.74, -1500.31, 22.83)

:SWEET1_7318
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_7463
wait 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_7376
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_7376
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_7415
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_7415
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_7456
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_7456
goto @SWEET1_7318

:SWEET1_7463
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE1_AS', 3000, 1)

:SWEET1_7483
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_7628
wait 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_7541
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_7541
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_7580
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_7580
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_7621
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_7621
goto @SWEET1_7483

:SWEET1_7628
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_7667
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_7667
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_7706
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_7706
TIMERA = 0

:SWEET1_7713
if or
  not Car.Locate3D($sweet_carZ, 2338.74, -1500.31, 22.83, 4.0, 4.0, 4.0, $sweet)
  not Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carZ)
  not Car.IsOnAllWheels($sweet_carZ)
goto_if_false @SWEET1_8342
wait 0
if 
  39@ == 0
goto_if_false @SWEET1_7834
if 
  TIMERA > 10000
goto_if_false @SWEET1_7834
Text.PrintHelp('SWE1_Z1')
39@ = 1

:SWEET1_7834
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_7873
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_7873
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_7914
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_7914
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_7960
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575
goto @SWEET1_8156

:SWEET1_7960
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET1_8064
if 
  34@ == 0
goto_if_false @SWEET1_8057
Blip.Remove(41@)
Blip.Remove(56@)
41@ = Blip.AddForCoord(2338.74, -1500.31, 22.83)
Text.PrintNow('HOOD3_B', 5000, 1)
34@ = 1
$sweet = 1

:SWEET1_8057
goto @SWEET1_8156

:SWEET1_8064
if 
  34@ == 1
goto_if_false @SWEET1_8156
Blip.Remove(56@)
Blip.Remove(41@)
56@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(56@, True)
gosub @SWEET1_15166
Text.PrintNow('SWE1_S', 6000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
$sweet = 0
34@ = 0

:SWEET1_8156
if 
  58@ == 0
goto_if_false @SWEET1_8216
if 
  TIMERA > 3000
goto_if_false @SWEET1_8216
Text.PrintNow('HOOD3_B', 5000, 1)
58@ = 1

:SWEET1_8216
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_8255
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_8255
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_8296
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_8296
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_8335
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_8335
goto @SWEET1_7713

:SWEET1_8342
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37420)
Blip.Remove(56@)
Blip.Remove(41@)
43@ = Blip.AddForCoord(2396.21, -1469.8, 24.9)
Blip.ChangeColor(43@, BlipColor.Green)
44@ = Blip.AddForCoord(2353.22, -1506.54, 24.7)
Blip.ChangeColor(44@, BlipColor.Green)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2329.675, -1499.911, 25.8505, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2330.653, -1499.926, 25.644, SwitchType.JumpCut)
Player.SetControl($statbike_temp, False)
wait 100
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_8524
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET1_8524
Task.LeaveCar($stattreadstamina_ctr, $sweet_carZ)

:SWEET1_8524
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_8628
wait 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_8582
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_8582
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_8621
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_8621
goto @SWEET1_8524

:SWEET1_8628
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE1_AV', 10000, 1)

:SWEET1_8648
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_8752
wait 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_8706
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_8706
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_8745
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_8745
goto @SWEET1_8648

:SWEET1_8752
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET1_8814
wait 0
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_8807
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_8807

:SWEET1_8807
goto @SWEET1_8752

:SWEET1_8814
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_8868
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_8868
Car.LockDoors($sweet_carZ, CarLock.LockoutPlayerOnly)
Task.CarDriveWander($big_smoke_car, $sweet_carZ, 20.0, DrivingMode.AvoidCars)

:SWEET1_8868
58@ = 0
39@ = 0
TIMERA = 0
World.SetTagStatusInArea(92@, 93@, 94@, 95@, 0)
$emmets_shop_blip = World.GetPercentageTaggedInArea(92@, 93@, 94@, 95@)
wait 1000
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut

:SWEET1_8942
if 
  $emmets_shop_blip <> 100
goto_if_false @SWEET1_10388
wait 0
if 
  58@ == 0
goto_if_false @SWEET1_9042
if 
  TIMERA > 2500
goto_if_false @SWEET1_9042
Text.PrintNow('SWE1_M', 6000, 1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37423)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37427)
58@ = 1

:SWEET1_9042
$emmets_shop_blip = World.GetPercentageTaggedInArea(92@, 93@, 94@, 95@)
59@ = World.GetPercentageTaggedInArea(2396.21, -1469.8, 2387.95, -1463.55)
60@ = World.GetPercentageTaggedInArea(2353.22, -1506.54, 2354.88, -1511.58)
if 
  61@ == 0
goto_if_false @SWEET1_9343
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2395.61, -1470.52, 50.0, 50.0, False)
goto_if_false @SWEET1_9336
54@ = Char.Create(PedType.Mission1, 102, 2400.45, -1470.39, 22.97)
Char.SetHeading(54@, 82.4)
55@ = Char.Create(PedType.Mission1, 103, 2396.48, -1469.9, 22.99)
Char.SetHeading(55@, 262.64)
Task.ChatWithChar(55@, 54@, False, 1)
Task.ChatWithChar(54@, 55@, True, 1)
47@ = Sequence.Open()
Task.GotoCharOffset(-1, $stattreadstamina_ctr, -1, 0.5, 90.0)
Sequence.SetToRepeat(47@, True)
Sequence.Close(47@)
37@ = Sequence.Open()
Task.GotoCharOffset(-1, $stattreadstamina_ctr, -1, 0.5, 270.0)
Sequence.SetToRepeat(37@, True)
Sequence.Close(37@)
61@ = 1

:SWEET1_9336
goto @SWEET1_10009

:SWEET1_9343
if 
  46@ == 0
goto_if_false @SWEET1_9543
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2395.61, -1470.52, 20.0, 17.0, False)
goto_if_false @SWEET1_9543
if 
  not Char.IsDead(54@)
goto_if_false @SWEET1_9536
if 
  not Char.IsDead(55@)
goto_if_false @SWEET1_9536
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(2400.384, -1472.208, 23.9349, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2399.49, -1471.763, 23.988, SwitchType.JumpCut)
Text.PrintHelp('SWE1_H')
wait 500
skip_cutscene_start_internal @SWEET1_9521
wait 6500

:SWEET1_9521
skip_cutscene_end 
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut

:SWEET1_9536
46@ = 1

:SWEET1_9543
if 
  46@ == 1
goto_if_false @SWEET1_9789
if 
  39@ == 0
goto_if_false @SWEET1_9616
if 
  TIMERA > 2000
goto_if_false @SWEET1_9616
Text.PrintHelp('SWE1_I')
39@ = 1

:SWEET1_9616
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2395.61, -1470.52, 5.0, 5.0, False)
goto_if_false @SWEET1_9789
if 
  not Char.IsDead(54@)
goto_if_false @SWEET1_9697
Char.ShutUpForScriptedSpeech(54@, True)
Task.StandStill(54@, 0)
Char.PerformSequence(54@, 47@)
Sequence.Clear(47@)

:SWEET1_9697
if 
  not Char.IsDead(55@)
goto_if_false @SWEET1_9782
Char.ShutUpForScriptedSpeech(55@, True)
Task.StandStill(55@, 0)
Char.PerformSequence(55@, 37@)
Sequence.Clear(37@)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_9775
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE1_BA', 2000, 1)

:SWEET1_9775
TIMERA = 0

:SWEET1_9782
46@ = 2

:SWEET1_9789
if 
  46@ == 2
goto_if_false @SWEET1_9923
if or
  59@ == 100
  TIMERA > 5000
goto_if_false @SWEET1_9923
if 
  not Char.IsDead(54@)
goto_if_false @SWEET1_9857
Task.KillCharOnFoot(54@, $stattreadstamina_ctr)

:SWEET1_9857
if 
  not Char.IsDead(55@)
goto_if_false @SWEET1_9916
Task.KillCharOnFoot(55@, $stattreadstamina_ctr)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET1_9916
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE1_BE', 2000, 1)

:SWEET1_9916
46@ = 3

:SWEET1_9923
if 
  46@ == 3
goto_if_false @SWEET1_10009
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET1_10009
if 
  not Char.IsDead(54@)
goto_if_false @SWEET1_9979
Char.ShutUpForScriptedSpeech(54@, False)

:SWEET1_9979
if 
  not Char.IsDead(55@)
goto_if_false @SWEET1_10002
Char.ShutUpForScriptedSpeech(55@, False)

:SWEET1_10002
46@ = 4

:SWEET1_10009
if 
  59@ == 100
goto_if_false @SWEET1_10032
Blip.Remove(43@)

:SWEET1_10032
if 
  60@ == 100
goto_if_false @SWEET1_10055
Blip.Remove(44@)

:SWEET1_10055
if and
  Char.LocateOnFoot2D($stattreadstamina_ctr, 2353.3, -1508.18, 3.0, 3.0, False)
  35@ == 0
goto_if_false @SWEET1_10125
Text.PrintHelp('SWE1_G')
TIMERA = 0
35@ = 1

:SWEET1_10125
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_10164
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_10164
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_10203
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_10203
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_10244
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_10244
if 
  38@ == 0
goto_if_false @SWEET1_10381
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_10381
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_10381
if and
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, $sweet_carZ, 30.0, 30.0, 10.0, False)
  not Car.IsOnScreen($sweet_carZ)
goto_if_false @SWEET1_10381
Char.ClearTasks($big_smoke_car)
Car.SetCoordinates($sweet_carZ, 2487.172, -1666.301, -100.3438)
Car.FreezePositionAndDontLoadCollision($sweet_carZ, True)
Char.FreezePositionAndDontLoadCollision($big_smoke_car, True)
38@ = 1

:SWEET1_10381
goto @SWEET1_8942

:SWEET1_10388
Blip.Remove(43@)
Blip.Remove(44@)
Blip.Remove(41@)
41@ = Blip.AddForCoord(2374.0, -1534.1, 23.0)
Text.PrintNow('SWE1_Z', 5000, 1)
World.SetTagStatusInArea(84@, 85@, 86@, 87@, 0)
$emmets_shop_blip = World.GetPercentageTaggedInArea(84@, 85@, 86@, 87@)
Streaming.RequestCarRecording(207)

:SWEET1_10477
if 
  $emmets_shop_blip <> 100
goto_if_false @SWEET1_11272
wait 0
if 
  58@ == 0
goto_if_false @SWEET1_10559
if 
  TIMERA > 2500
goto_if_false @SWEET1_10559
Text.PrintNow('SWE1_M', 6000, 1)
58@ = 1

:SWEET1_10559
$emmets_shop_blip = World.GetPercentageTaggedInArea(84@, 85@, 86@, 87@)
if 
  $emmets_shop_blip == 100
goto_if_false @SWEET1_10599
Blip.Remove(42@)

:SWEET1_10599
if 
  49@ == 0
goto_if_false @SWEET1_10720
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2374.0, -1534.1, 23.0, 1.4, 1.4, 2.0, True)
goto_if_false @SWEET1_10720
Text.PrintHelp('JUMPH1')
Blip.Remove(41@)
Blip.Remove(42@)
42@ = Blip.AddForCoord(2395.43, -1551.69, 26.98)
Blip.ChangeColor(42@, BlipColor.Green)
49@ = 1

:SWEET1_10720
if and
  Char.LocateOnFoot2D($stattreadstamina_ctr, 2352.3, -1552.1, 3.0, 3.0, False)
  49@ == 0
goto_if_false @SWEET1_10783
Text.PrintHelp('JUMPH1')
49@ = 1

:SWEET1_10783
if and
  Char.LocateOnFoot2D($stattreadstamina_ctr, 2420.7, -1572.1, 3.0, 3.0, False)
  49@ == 0
goto_if_false @SWEET1_10846
Text.PrintHelp('JUMPH1')
49@ = 1

:SWEET1_10846
if and
  Char.LocateOnFoot2D($stattreadstamina_ctr, 2373.5, -1547.2, 3.0, 3.0, False)
  50@ == 0
goto_if_false @SWEET1_10909
Text.PrintHelp('RADAR5')
50@ = 1

:SWEET1_10909
if and
  Char.LocateOnFoot2D($stattreadstamina_ctr, 2378.755, -1555.89, 3.0, 3.0, False)
  53@ == 0
goto_if_false @SWEET1_11009
Text.PrintHelp('JUMPH2')
Blip.Remove(41@)
Blip.Remove(42@)
42@ = Blip.AddForCoord(2395.43, -1551.69, 26.98)
Blip.ChangeColor(42@, BlipColor.Green)
53@ = 1

:SWEET1_11009
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_11050
Text.PrintNow('SWE1SPF', 10000, 1)
goto @SWEET1_14575

:SWEET1_11050
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_11089
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_11089
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_11128
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_11128
if 
  38@ == 0
goto_if_false @SWEET1_11265
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_11265
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_11265
if or
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, $sweet_carZ, 100.0, 100.0, 10.0, False)
  not Car.IsOnScreen($sweet_carZ)
goto_if_false @SWEET1_11265
Char.ClearTasks($big_smoke_car)
Car.SetCoordinates($sweet_carZ, 2487.172, -1666.301, -100.3438)
Car.FreezePositionAndDontLoadCollision($sweet_carZ, True)
Char.FreezePositionAndDontLoadCollision($big_smoke_car, True)
38@ = 1

:SWEET1_11265
goto @SWEET1_10477

:SWEET1_11272
Blip.Remove(42@)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_11439
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_11439
if 
  38@ == 1
goto_if_false @SWEET1_11341
Car.FreezePositionAndDontLoadCollision($sweet_carZ, False)
Char.FreezePositionAndDontLoadCollision($big_smoke_car, False)

:SWEET1_11341
Car.SetCoordinates($sweet_carZ, 2337.86, -1467.21, 22.82)
Car.SetHeading($sweet_carZ, 180.0)
wait 100
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_11439
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_11439
Char.ClearTasksImmediately($big_smoke_car)
Task.WarpCharIntoCarAsDriver($big_smoke_car, $sweet_carZ)
Char.SetCanBeShotInVehicle($big_smoke_car, False)
Blip.Remove(41@)
Car.LockDoors($sweet_carZ, CarLock.Unlocked)

:SWEET1_11439
if 
  not Streaming.HasCarRecordingBeenLoaded(207)
goto_if_false @SWEET1_11549
wait 0
Streaming.RequestCarRecording(207)
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_11503
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_11503
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_11542
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_11542
goto @SWEET1_11439

:SWEET1_11549
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_11654
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_11654
if 
  Streaming.HasCarRecordingBeenLoaded(207)
goto_if_false @SWEET1_11654
Char.ClearTasksImmediately($big_smoke_car)
wait 0
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_11646
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_11646
Task.WarpCharIntoCarAsDriver($big_smoke_car, $sweet_carZ)

:SWEET1_11646
Car.StartPlayback($sweet_carZ, 207)

:SWEET1_11654
wait 2000
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_11695
Blip.Remove(56@)
56@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(56@, True)

:SWEET1_11695
Player.SetControl($statbike_temp, False)
Text.ClearHelp
World.ClearArea(2378.323, -1526.153, 23.869, 50.0, True)
Camera.DoFade(300, Fade.Out)

:SWEET1_11735
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1_11759
wait 0
goto @SWEET1_11735

:SWEET1_11759
Streaming.LoadSceneInDirection(2385.444, -1529.335, 24.0351, 82.7482)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2386.444, -1529.313, 24.0696, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2385.444, -1529.335, 24.0351, SwitchType.JumpCut)
Camera.DoFade(300, Fade.In)
TIMERA = 0
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37430)

:SWEET1_11859
if 
  TIMERA <= 3500
goto_if_false @SWEET1_11967
wait 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_11921
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_11921
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_11960
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_11960
goto @SWEET1_11859

:SWEET1_11967
Camera.SetFixedPosition(2386.444, -1529.313, 24.0696, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2385.444, -1529.335, 24.0351, SwitchType.JumpCut)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_12042
Audio.ReportMissionAudioEventAtCar($sweet_carZ, 1147)

:SWEET1_12042
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_12146
wait 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_12100
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_12100
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_12139
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_12139
goto @SWEET1_12042

:SWEET1_12146
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_12170
Audio.ReportMissionAudioEventAtCar($sweet_carZ, 1147)

:SWEET1_12170
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE1_BH', 10000, 1)

:SWEET1_12190
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_12294
wait 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_12248
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_12248
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_12287
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_12287
goto @SWEET1_12190

:SWEET1_12294
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_12341
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_12341
Char.ClearTasksImmediately($big_smoke_car)
Char.WarpIntoCarAsPassenger($big_smoke_car, $sweet_carZ, 0)

:SWEET1_12341
Camera.ResetNewScriptables
if 
  not Char.IsDead(54@)
goto_if_false @SWEET1_12369
Char.ClearTasks(54@)
Task.WanderStandard(54@)

:SWEET1_12369
if 
  not Char.IsDead(55@)
goto_if_false @SWEET1_12395
Char.ClearTasks(55@)
Task.WanderStandard(55@)

:SWEET1_12395
$sweet = 0
34@ = 0
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Text.PrintNow('SWE1_S', 6000, 1)
Blip.Remove(56@)
Blip.Remove(41@)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_12479
56@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(56@, True)

:SWEET1_12479
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 38607)

:SWEET1_12488
if or
  not Car.Locate3D($sweet_carZ, 2504.735, -1672.45, 12.3848, 4.0, 4.0, 4.0, $sweet)
  not Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carZ)
  not Car.IsOnAllWheels($sweet_carZ)
goto_if_false @SWEET1_13006
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_12593
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_12593
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_12639
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575
goto @SWEET1_12921

:SWEET1_12639
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET1_12829
if 
  40@ == 0
goto_if_false @SWEET1_12725
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_12725
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWEX_AH', 3000, 1)
TIMERA = 0
40@ = 1

:SWEET1_12725
if 
  34@ == 0
goto_if_false @SWEET1_12822
Blip.Remove(41@)
Blip.Remove(56@)
41@ = Blip.AddForCoord(2504.735, -1672.45, 12.3848)
if 
  TIMERA > 3000
goto_if_false @SWEET1_12815
Text.PrintNow('SWE1_B', 6000, 1)
34@ = 1

:SWEET1_12815
$sweet = 1

:SWEET1_12822
goto @SWEET1_12921

:SWEET1_12829
if 
  34@ == 1
goto_if_false @SWEET1_12921
Blip.Remove(56@)
Blip.Remove(41@)
56@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(56@, True)
gosub @SWEET1_15166
Text.PrintNow('SWE1_S', 6000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
$sweet = 0
34@ = 0

:SWEET1_12921
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_12960
Text.PrintNow('SWE1_P', 10000, 1)
goto @SWEET1_14575

:SWEET1_12960
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_12999
Text.PrintNow('SWE1_Q', 10000, 1)
goto @SWEET1_14575

:SWEET1_12999
goto @SWEET1_12488

:SWEET1_13006
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:SWEET1_13024
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1_13048
wait 0
goto @SWEET1_13024

:SWEET1_13048
Streaming.RequestAnimation("GANGS")

:SWEET1_13057
if 
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @SWEET1_13088
wait 0
goto @SWEET1_13057

:SWEET1_13088
Camera.SetNearClip(0.2)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_13118
Char.HideWeaponForScriptedCutscene($big_smoke_car, True)

:SWEET1_13118
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_13165
Char.StopFacialTalk($big_smoke_car)
Char.StopFacialTalk($stattreadstamina_ctr)

:SWEET1_13165
$sweet1_chat = 0
$get_in_counter_swee1 = 0
$6553 = 0
$6552 = 1
gosub @SWEET1_52
Camera.SetFixedPosition(2509.95, -1672.095, 13.7315, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2510.891, -1672.419, 13.8204, SwitchType.JumpCut)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2510.153, -1673.551, 14.2267, 2509.997, -1671.866, 13.9831, 18000, True)
Camera.SetVectorTrack(2510.967, -1672.995, 14.0633, 2510.885, -1672.317, 13.896, 18000, True)
Car.MarkAsNoLongerNeeded($sweet_carZ)
World.ClearArea(2511.352, -1672.14, 12.4588, 1.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1_13412
Char.SetCoordinates($stattreadstamina_ctr, 2511.352, -1672.14, 12.4588)
goto @SWEET1_13432

:SWEET1_13412
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2511.352, -1672.14, 12.4588)

:SWEET1_13432
Char.SetHeading($stattreadstamina_ctr, 180.0)
World.ClearArea(2511.352, -1673.14, 12.4588, 1.0, True)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_13560
Char.ClearTasksImmediately($big_smoke_car)
if 
  not Char.IsInAnyCar($big_smoke_car)
goto_if_false @SWEET1_13530
Char.SetCoordinates($big_smoke_car, 2511.352, -1673.14, 12.4588)
goto @SWEET1_13550

:SWEET1_13530
Char.WarpFromCarToCoord($big_smoke_car, 2511.352, -1673.14, 12.4588)

:SWEET1_13550
Char.SetHeading($big_smoke_car, 0.0)

:SWEET1_13560
Camera.DoFade(1000, Fade.In)
wait 700
100@ = 0.0
$6553 = 0

:SWEET1_13589
if 
  $sweet1_chat <> 1
goto_if_false @SWEET1_13700
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_13693
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_13693
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_13686
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $big_smoke_car, 20000)

:SWEET1_13686
$6553 = 1

:SWEET1_13693
goto @SWEET1_13589

:SWEET1_13700
$6553 = 0

:SWEET1_13707
if 
  $sweet1_chat <> 2
goto_if_false @SWEET1_13802
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_13795
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_13795
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_13788

:SWEET1_13788
$6553 = 1

:SWEET1_13795
goto @SWEET1_13707

:SWEET1_13802
$6553 = 0

:SWEET1_13809
if 
  $sweet1_chat <> 3
goto_if_false @SWEET1_13904
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_13897
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_13897
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_13890

:SWEET1_13890
$6553 = 1

:SWEET1_13897
goto @SWEET1_13809

:SWEET1_13904
$6553 = 0

:SWEET1_13911
if 
  $sweet1_chat <> 4
goto_if_false @SWEET1_14043
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_14036
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_14036
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_14029
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, 6000)

:SWEET1_14029
$6553 = 1

:SWEET1_14036
goto @SWEET1_13911

:SWEET1_14043
$6553 = 0

:SWEET1_14050
if 
  $sweet1_chat <> 5
goto_if_false @SWEET1_14145
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_14138
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_14138
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_14131

:SWEET1_14131
$6553 = 1

:SWEET1_14138
goto @SWEET1_14050

:SWEET1_14145
$6553 = 0

:SWEET1_14152
if 
  $sweet1_chat <> 6
goto_if_false @SWEET1_14337
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_14330
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_14330
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_14323
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_14323
Task.PlayAnim($big_smoke_car, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim($stattreadstamina_ctr, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -1)

:SWEET1_14323
$6553 = 1

:SWEET1_14330
goto @SWEET1_14152

:SWEET1_14337
77@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1541)

:SWEET1_14348
if 
  not is_int_lvar_equal_to_constant 77@ == 7
goto_if_false @SWEET1_14388
wait 0
77@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1541)
goto @SWEET1_14348

:SWEET1_14388
$6553 = 0

:SWEET1_14395
if 
  $sweet1_chat <> 7
goto_if_false @SWEET1_14531
wait 0
gosub @SWEET1_15632
if 
  $6553 == 0
goto_if_false @SWEET1_14524
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_14524
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_14517
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $big_smoke_car, 2000)
Task.GoStraightToCoord($big_smoke_car, 2517.397, -1677.352, 13.2548, MoveState.Walk, 20000)

:SWEET1_14517
$6553 = 1

:SWEET1_14524
goto @SWEET1_14395

:SWEET1_14531
wait 1500
Char.ClearLookAt($stattreadstamina_ctr)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Camera.ResetNewScriptables
Char.Delete($big_smoke_car)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
goto @SWEET1_14682

:SWEET1_14575
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
World.SetTagStatusInArea(88@, 89@, 90@, 91@, 0)
World.SetTagStatusInArea(92@, 93@, 94@, 95@, 0)
World.SetTagStatusInArea(84@, 85@, 86@, 87@, 0)
World.SetTagStatusInArea(96@, 97@, 98@, 99@, 0)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_14680
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.SprayCan)

:SWEET1_14680
return 

:SWEET1_14682
$flag_crash_mission_counter += 1
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_14731
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.SprayCan, 1000)
goto @SWEET1_14741

:SWEET1_14731
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.SprayCan, 1000)

:SWEET1_14741
$zero_revenue = 1
Pickup.Remove($6541)
$6541 = Pickup.CreateWithAmmo(365, PickupType.OnStreetSlow, 1000, 2492.505, -1700.825, 1017.8)
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('SWEET_1')
Text.PrintWithNumberBig('M_PASSS', 200, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(3)
Player.AddScore($statbike_temp, 200)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
return 

:SWEET1_14838
Streaming.MarkModelAsNoLongerNeeded(365)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(103)
Char.MarkAsNoLongerNeeded(54@)
Char.MarkAsNoLongerNeeded(55@)
Char.MarkAsNoLongerNeeded($big_smoke_car)
$flag_courier_mission_passed = Clock.GetGameTimer()
CarGenerator.Switch($gen_car12, 101)
Blip.Remove(41@)
Blip.Remove(42@)
Blip.Remove(43@)
Blip.Remove(44@)
Blip.Remove(56@)
Blip.Remove(62@)
Streaming.RemoveAnimation("GRAFFITI")
Streaming.RemoveAnimation("GANGS")
Char.RemoveElegantly($big_smoke_car)
Streaming.RemoveCarRecording(207)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(10)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_14975
Car.SetCanBurstTires($sweet_carZ, True)

:SWEET1_14975
Zone.SetGangStrength('IWD1', GangType.Ballas, 30)
Zone.SetGangStrength('IWD2', GangType.Ballas, 30)
Zone.SetGangStrength('IWD3A', GangType.Ballas, 30)
Zone.SetGangStrength('IWD3B', GangType.Ballas, 30)
Zone.SetGangStrength('IWD4', GangType.Ballas, 30)
Zone.SetGangStrength('IWD5', GangType.Ballas, 30)
Zone.SetGangStrength('ELS1A', GangType.Ballas, 30)
Zone.SetGangStrength('ELS1B', GangType.Ballas, 30)
Zone.SetGangStrength('ELS2', GangType.Ballas, 30)
Zone.SetGangStrength('ELS3A', GangType.Ballas, 30)
Zone.SetGangStrength('ELS3B', GangType.Ballas, 30)
Zone.SetGangStrength('ELS4', GangType.Ballas, 30)
$weapon_shop1_blip = 0
Mission.Finish
return 

:SWEET1_15166
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  $6554 == 0
goto_if_false @SWEET1_15197
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37434)

:SWEET1_15197
if 
  $6554 == 1
goto_if_false @SWEET1_15224
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 38644)

:SWEET1_15224
if 
  $6554 == 2
goto_if_false @SWEET1_15251
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 38641)

:SWEET1_15251
if 
  $6554 == 3
goto_if_false @SWEET1_15278
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37429)

:SWEET1_15278
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:SWEET1_15294
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET1_15376
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_15331
return 

:SWEET1_15331
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_15351
return 

:SWEET1_15351
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_15369
return 

:SWEET1_15369
goto @SWEET1_15294

:SWEET1_15376
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
if 
  $6554 == 0
goto_if_false @SWEET1_15414
Text.PrintNow('SWE1_BM', 3000, 1)

:SWEET1_15414
if 
  $6554 == 1
goto_if_false @SWEET1_15448
Text.PrintNow('SWEX_BS', 3000, 1)

:SWEET1_15448
if 
  $6554 == 2
goto_if_false @SWEET1_15482
Text.PrintNow('SWEX_BP', 3000, 1)

:SWEET1_15482
if 
  $6554 == 3
goto_if_false @SWEET1_15516
Text.PrintNow('SWE1_BG', 3000, 1)

:SWEET1_15516
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET1_15598
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_15553
return 

:SWEET1_15553
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
goto_if_false @SWEET1_15573
return 

:SWEET1_15573
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET1_15591
return 

:SWEET1_15591
goto @SWEET1_15516

:SWEET1_15598
$6554 += 1
if 
  $6554 > 3
goto_if_false @SWEET1_15630
$6554 = 0

:SWEET1_15630
return 

:SWEET1_15632
if or
  $get_in_counter_swee1 == 0
  $get_in_counter_swee1 == 1
goto_if_false @SWEET1_15702
if 
  is_int_lvar_greater_or_equal_to_int_var 48@ >= $sweet1_chat
goto_if_false @SWEET1_15702
if 
  TIMERA > 200
goto_if_false @SWEET1_15702
gosub @SWEET1_15774

:SWEET1_15702
if 
  $get_in_counter_swee1 == 2
goto_if_false @SWEET1_15772
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_15772
gosub @SWEET1_16013
$get_in_counter_swee1 = 0
$sweet1_chat += 1
$6553 = 0
Text.ClearPrints
TIMERA = 0

:SWEET1_15772
return 

:SWEET1_15774
if 
  $get_in_counter_swee1 == 0
goto_if_false @SWEET1_15810
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, $6542($sweet1_chat,8i))
$get_in_counter_swee1 = 1

:SWEET1_15810
if 
  $get_in_counter_swee1 == 1
goto_if_false @SWEET1_15875
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1_15875
Text.PrintNow($6555($sweet1_chat,8s), 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
gosub @SWEET1_15877
$get_in_counter_swee1 = 2

:SWEET1_15875
return 

:SWEET1_15877
if or
  is_int_var_equal_to_constant $6542($sweet1_chat,8i) == 37401
  is_int_var_equal_to_constant $6542($sweet1_chat,8i) == 37404
  is_int_var_equal_to_constant $6542($sweet1_chat,8i) == 37436
  is_int_var_equal_to_constant $6542($sweet1_chat,8i) == 37438
  is_int_var_equal_to_constant $6542($sweet1_chat,8i) == 37443
goto_if_false @SWEET1_15980
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 2000)
goto @SWEET1_16011

:SWEET1_15980
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_16011
Char.ShutUpForScriptedSpeech($big_smoke_car, True)
Char.StartFacialTalk($big_smoke_car, 2000)

:SWEET1_16011
return 

:SWEET1_16013
if or
  is_int_var_equal_to_constant $6542($sweet1_chat,8i) == 37401
  is_int_var_equal_to_constant $6542($sweet1_chat,8i) == 37404
  is_int_var_equal_to_constant $6542($sweet1_chat,8i) == 37436
  is_int_var_equal_to_constant $6542($sweet1_chat,8i) == 37438
  is_int_var_equal_to_constant $6542($sweet1_chat,8i) == 37443
goto_if_false @SWEET1_16113
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
goto @SWEET1_16141

:SWEET1_16113
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET1_16141
Char.ShutUpForScriptedSpeech($big_smoke_car, False)
Char.StopFacialTalk($big_smoke_car)

:SWEET1_16141
return 

//-------------Mission 14---------------
// Originally: Cleaning The Hood

:SWEET1B
script_name 'SWEET1B'
gosub @SWEET1B_1079
if 
  has_deatharrest_been_executed 
goto_if_false @SWEET1B_38
gosub @SWEET1B_15530

:SWEET1B_38
gosub @SWEET1B_16040
terminate_this_script 

:SWEET1B_47
switch_start 87@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @SWEET1B_1077 {caseNum1} 0 {caseLabel1} @SWEET1B_175 {caseNum2} 1 {caseLabel2} @SWEET1B_381 {caseNum3} 2 {caseLabel3} @SWEET1B_563 {caseNum4} 3 {caseLabel4} @SWEET1B_625 {caseNum5} 4 {caseLabel5} @SWEET1B_783 {caseNum6} 5 {caseLabel6} @SWEET1B_845 {caseNum7} 6 {caseLabel7} @SWEET1B_907
switch_continued 7 {caseLabel1} @SWEET1B_969 {caseNum2} -1 {caseLabel2} @SWEET1B_1077 {caseNum3} -1 {caseLabel3} @SWEET1B_1077 {caseNum4} -1 {caseLabel4} @SWEET1B_1077 {caseNum5} -1 {caseLabel5} @SWEET1B_1077 {caseNum6} -1 {caseLabel6} @SWEET1B_1077 {caseNum7} -1 {caseLabel7} @SWEET1B_1077 {caseNum8} -1 {caseLabel8} @SWEET1B_1077 {caseNum9} -1 {caseLabel9} @SWEET1B_1077

:SWEET1B_175
set_var_text_label s$6571[0] = 'SWE1_ZF'
set_var_text_label s$6571[1] = 'SWE1_YA'
set_var_text_label s$6571[2] = 'SWE1_YB'
set_var_text_label s$6571[3] = 'SWE1_YC'
set_var_text_label s$6571[4] = 'SWE1_YD'
set_var_text_label s$6571[5] = 'SWE1_YE'
set_var_text_label s$6571[6] = 'SWE1_YF'
set_var_text_label s$6571[7] = 'SWE1_YG'
set_lvar_int_to_constant 93@ = 37494
set_lvar_int_to_constant 94@ = 37465
set_lvar_int_to_constant 95@ = 37466
set_lvar_int_to_constant 96@ = 37467
set_lvar_int_to_constant 97@ = 37468
set_lvar_int_to_constant 98@ = 37469
set_lvar_int_to_constant 99@ = 37470
set_lvar_int_to_constant 100@ = 37471
91@ = 7
goto @SWEET1B_1077

:SWEET1B_381
set_var_text_label s$6571[0] = 'SWE1_YM'
set_var_text_label s$6571[1] = 'SWE1_YN'
set_var_text_label s$6571[2] = 'SWE1_YO'
set_var_text_label s$6571[3] = 'SWE1_YP'
set_var_text_label s$6571[4] = 'SWE1_YQ'
set_var_text_label s$6571[5] = 'SWE1_YR'
set_var_text_label s$6571[6] = 'SWE1_YS'
set_lvar_int_to_constant 93@ = 37476
set_lvar_int_to_constant 94@ = 37477
set_lvar_int_to_constant 95@ = 37478
set_lvar_int_to_constant 96@ = 37479
set_lvar_int_to_constant 97@ = 37480
set_lvar_int_to_constant 98@ = 37481
set_lvar_int_to_constant 99@ = 37482
91@ = 6
goto @SWEET1B_1077

:SWEET1B_563
set_var_text_label s$6571[0] = 'SWE1_YX'
set_var_text_label s$6571[1] = 'SWE1_YY'
set_lvar_int_to_constant 93@ = 37487
set_lvar_int_to_constant 94@ = 37488
91@ = 1
goto @SWEET1B_1077

:SWEET1B_625
set_var_text_label s$6571[0] = 'SWE1_TA'
set_var_text_label s$6571[1] = 'SWE1_TB'
set_var_text_label s$6571[2] = 'SWE1_TC'
set_var_text_label s$6571[3] = 'SWE1_TD'
set_var_text_label s$6571[4] = 'SWE1_TE'
set_var_text_label s$6571[5] = 'SWE1_TF'
set_lvar_int_to_constant 93@ = 37448
set_lvar_int_to_constant 94@ = 37449
set_lvar_int_to_constant 95@ = 37450
set_lvar_int_to_constant 96@ = 37451
set_lvar_int_to_constant 97@ = 37452
set_lvar_int_to_constant 98@ = 37453
91@ = 5
goto @SWEET1B_1077

:SWEET1B_783
set_var_text_label s$6571[0] = 'SWE1_SA'
set_var_text_label s$6571[1] = 'SWE1_SB'
set_lvar_int_to_constant 93@ = 37446
set_lvar_int_to_constant 94@ = 37447
91@ = 1
goto @SWEET1B_1077

:SWEET1B_845
set_var_text_label s$6571[0] = 'SWE1_YT'
set_var_text_label s$6571[1] = 'SWE1_YU'
set_lvar_int_to_constant 93@ = 37483
set_lvar_int_to_constant 94@ = 37484
91@ = 1
goto @SWEET1B_1077

:SWEET1B_907
set_var_text_label s$6571[0] = 'SWE1_YV'
set_var_text_label s$6571[1] = 'SWE1_YW'
set_lvar_int_to_constant 93@ = 37485
set_lvar_int_to_constant 94@ = 37486
91@ = 1
goto @SWEET1B_1077

:SWEET1B_969
set_var_text_label s$6571[0] = 'SWE1_UA'
set_var_text_label s$6571[1] = 'SWE1_UB'
set_var_text_label s$6571[2] = 'SWE1_UC'
set_var_text_label s$6571[3] = 'SWE1_UD'
set_lvar_int_to_constant 93@ = 37454
set_lvar_int_to_constant 94@ = 37455
set_lvar_int_to_constant 95@ = 37456
set_lvar_int_to_constant 96@ = 20248
91@ = 3
goto @SWEET1B_1077

:SWEET1B_1077
return 

:SWEET1B_1079
Stat.RegisterMissionGiven
55@ = 0
47@ = 0
$weapon_shop1_blip = 1
63@ = 0
52@ = 0
57@ = 0
71@ = 0
72@ = 0
73@ = 0
74@ = 0
77@ = 0
84@ = 0
50@ = 0
43@ = 0
83@ = 0
86@ = 0
102@ = 0
66@ = 0
69@ = 0
51@ = 0
105@ = 0
103@ = 0
60@ = 0
Path.SwitchRoadsOff(2272.922, -1649.556, 14.3311, 2266.101, -1633.219, 14.3505)
Path.SwitchPedRoadsOff(324.1973, 1116.758, 1082.898, 313.1226, 1124.197, 1082.898)
wait 0
Text.LoadMissionText('SWEET1B')
Streaming.SetAreaVisible(1)
Cutscene.Load('SWEET1B')

:SWEET1B_1336
if 
  not Cutscene.HasLoaded
goto_if_false @SWEET1B_1360
wait 0
goto @SWEET1B_1336

:SWEET1B_1360
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SWEET1B_1369
if 
  not Cutscene.HasFinished
goto_if_false @SWEET1B_1393
wait 0
goto @SWEET1B_1369

:SWEET1B_1393
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:SWEET1B_1406
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1B_1430
wait 0
goto @SWEET1B_1406

:SWEET1B_1430
Cutscene.Clear
Streaming.SetAreaVisible(0)
Streaming.RequestModel(336)
Streaming.RequestModel(492)
Streaming.LoadSpecialCharacter(1, 'RYDER2')
75@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Streaming.LoadAllModelsNow

:SWEET1B_1468
if or
  not Streaming.HasModelLoaded(336)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(492)
goto_if_false @SWEET1B_1504
wait 0
goto @SWEET1B_1468

:SWEET1B_1504
Game.EnableAmbientCrime(False)
World.ClearArea(2516.392, -1676.517, 13.0041, 5.0, True)
World.ClearArea(2508.742, -1671.132, 12.3818, 5.0, True)
World.ClearArea(2516.95, -1675.23, 13.05, 2.0, True)
$sweet_car = Char.Create(PedType.Mission1, 290, 2516.392, -1676.517, 13.0041)
Char.SetHeading($sweet_car, 45.7)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Respect, PedType.Player1, PedType.Mission1)
Char.GiveWeapon($sweet_car, WeaponType.BaseballBat, 3000)
Char.SetCurrentWeapon($sweet_car, WeaponType.BaseballBat)
Char.SetDecisionMaker($sweet_car, 75@)
Char.SetOnlyDamagedByPlayer($sweet_car, True)
Char.SetAnimGroup($sweet_car, "GANG1")
Char.SetMaxHealth($sweet_car, 500)
Char.SetHealth($sweet_car, 500)
Char.SetNeverTargeted($sweet_car, True)
Char.SetSuffersCriticalHits($sweet_car, True)
39@ = Blip.AddForChar($sweet_car)
Blip.SetAsFriendly(39@, True)
Blip.Remove(39@)
Char.SetCoordinates($stattreadstamina_ctr, 2516.95, -1675.23, 13.05)
Char.SetHeading($stattreadstamina_ctr, 56.0)
Streaming.LoadScene(2509.81, -1670.89, 12.39)
$flag_cell_nation = Player.GetGroup($statbike_temp)
Group.SetMember($flag_cell_nation, $sweet_car)
Player.SetGroupRecruitment($statbike_temp, False)
Char.ListenToPlayerGroupCommands($sweet_car, False)
Player.SetGroupToFollowAlways($statbike_temp, True)
Game.EnableEntryExitPlayerGroupWarping(2165.72, -1673.14, 10.0, True)
Game.EnableEntryExitPlayerGroupWarping(319.56, 1117.64, 10.0, True)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Char.SetSignalAfterKill($sweet_car, False)
Text.PrintNow('SW1B_A', 10000, 1)
CarGenerator.Switch($gen_car12, 0)
World.ClearArea(2508.16, -1666.47, 12.3983, 6.0, True)
Car.CustomPlateForNextCar(492, "GROVE4L_")
$sweet_carZ = Car.Create(492, 2508.16, -1666.47, 12.3983)
Car.ChangeColor($sweet_carZ, 59, 34)
Car.SetHeading($sweet_carZ, 16.0)
Audio.SetRadioChannel(RadioChannel.RadioLosSantos)
Streaming.MarkModelAsNoLongerNeeded(492)
Player.SetControl($statbike_temp, True)
Camera.DoFade(1200, Fade.In)
38@ = Blip.AddForCoord(2301.07, -1754.4, 12.54)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
$sweet = 1
TIMERA = 0
World.SwitchEntryExit('LACRAK', False)
World.SwitchEntryExit('BAR2', False)
58@ = 0
101@ = 0
92@ = 0
87@ = 0
gosub @SWEET1B_47
World.ClearArea(2301.07, -1754.4, 12.54, 20.0, True)

:SWEET1B_2112
if or
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2301.07, -1754.4, 12.54, 4.0, 4.0, 4.0, $sweet)
  not Char.LocateAnyMeansChar3D($sweet_car, $stattreadstamina_ctr, 30.0, 30.0, 8.0, False)
goto_if_false @SWEET1B_2501
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_2229
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_2229
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SWEET1B_2251
goto @SWEET1B_15955

:SWEET1B_2251
if 
  78@ == 0
goto_if_false @SWEET1B_2393
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_2393
if 
  Char.LocateAnyMeansChar3D($sweet_car, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @SWEET1B_2393
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsOnFoot($sweet_car)
goto_if_false @SWEET1B_2349
gosub @SWEET1B_17064

:SWEET1B_2349
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_2393
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar($sweet_car)
goto_if_false @SWEET1B_2393
gosub @SWEET1B_17064

:SWEET1B_2393
if 
  104@ == 0
goto_if_false @SWEET1B_2448
if 
  TIMERA > 5000
goto_if_false @SWEET1B_2448
Text.PrintHelp('CALLRYD')
104@ = 1

:SWEET1B_2448
gosub @SWEET1B_16361
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_2494
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_2494
goto @SWEET1B_2112

:SWEET1B_2501
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Text.ClearPrints
Camera.SetFixedPosition(2301.918, -1746.505, 14.009, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2301.81, -1747.499, 14.0471, SwitchType.JumpCut)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_2634
if 
  Char.IsInAnyCar($sweet_car)
goto_if_false @SWEET1B_2609
Task.LeaveAnyCar($sweet_car)
goto @SWEET1B_2634

:SWEET1B_2609
Task.GoStraightToCoord($sweet_car, 2298.57, -1775.44, 12.56, MoveState.Walk, 2500)

:SWEET1B_2634
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1B_2667
wait 800
Task.LeaveAnyCar($stattreadstamina_ctr)
goto @SWEET1B_2692

:SWEET1B_2667
Task.GoStraightToCoord($stattreadstamina_ctr, 2298.57, -1775.44, 12.56, MoveState.Walk, 2500)

:SWEET1B_2692
Car.MarkAsNoLongerNeeded($sweet_carZ)
Camera.DoFade(1700, Fade.Out)

:SWEET1B_2704
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1B_2728
wait 0
goto @SWEET1B_2704

:SWEET1B_2728
Streaming.SetAreaVisible(3)
Player.MakeSafeForCutscene($statbike_temp)
Cutscene.Load('SWEET1C')

:SWEET1B_2748
if 
  not Cutscene.HasLoaded
goto_if_false @SWEET1B_2772
wait 0
goto @SWEET1B_2748

:SWEET1B_2772
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SWEET1B_2781
if 
  not Cutscene.HasFinished
goto_if_false @SWEET1B_2805
wait 0
goto @SWEET1B_2781

:SWEET1B_2805
Cutscene.Clear
Camera.DoFade(0, Fade.Out)

:SWEET1B_2813
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1B_2837
wait 0
goto @SWEET1B_2813

:SWEET1B_2837
Streaming.SetAreaVisible(0)
Streaming.RequestModel(28)
Streaming.RequestModel(107)
Streaming.RequestAnimation("DEALER")
Streaming.RequestAnimation("GANGS")
34@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
76@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37472)
Streaming.LoadAllModelsNow

:SWEET1B_2893
if or
  not Streaming.HasModelLoaded(28)
  not Streaming.HasModelLoaded(107)
  not Streaming.HasAnimationLoaded("DEALER")
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @SWEET1B_2942
wait 0
goto @SWEET1B_2893

:SWEET1B_2942
Blip.Remove(38@)
48@ = Char.Create(PedType.Mission2, 107, 2283.656, -1645.599, 14.1598)
Char.SetDecisionMaker(48@, 75@)
35@ = Char.Create(PedType.Mission2, 28, 2284.947, -1645.396, 14.1413)
Char.SetMaxHealth(35@, 120)
Char.SetHealth(35@, 120)
Char.SetHeading(35@, 114.0)
44@ = Blip.AddForChar(35@)
Char.SetDecisionMaker(35@, 75@)
Char.SetShootRate(35@, 75)
Char.ShutUpForScriptedSpeech(35@, True)
Task.TurnCharToFaceChar(35@, 48@)
Task.TurnCharToFaceChar(48@, 35@)
Char.FreezePositionAndDontLoadCollision(35@, True)
Char.FreezePositionAndDontLoadCollision(48@, True)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Char.SetCoordinates($stattreadstamina_ctr, 2300.13, -1763.18, 12.63)
Char.SetHeading($stattreadstamina_ctr, 0.0)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_3178
Char.SetCoordinates($sweet_car, 2298.15, -1762.67, 12.56)
Char.SetHeading($sweet_car, 355.37)

:SWEET1B_3178
Streaming.LoadScene(2300.13, -1763.18, 12.63)
85@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2281.116, -1647.527, 14.2174, MoveState.Run, 10000)
Task.GoStraightToCoord(-1, 2281.133, -1650.709, 14.1714, MoveState.Run, 10000)
Task.GoStraightToCoord(-1, 2238.091, -1661.728, 14.469, MoveState.Run, 10000)
Task.WanderStandard(-1)
Sequence.Close(85@)
42@ = Sequence.Open()
Task.PlayAnim(-1, "DEALER_IDLE", "DEALER", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "DEALER_DEAL", "GANGS", 4.0, False, False, False, False, -1)
Sequence.SetToRepeat(42@, True)
Sequence.Close(42@)
40@ = Sequence.Open()
Task.LookAtChar(-1, 35@, 3000)
Task.LookAbout(-1, 2000)
Task.PlayAnim(-1, "SHOP_PAY", "DEALER", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "DRUGS_BUY", "GANGS", 4.0, False, False, False, False, -1)
Sequence.SetToRepeat(40@, True)
Sequence.Close(40@)
102@ = 1
Camera.DoFade(1000, Fade.In)

:SWEET1B_3499
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1B_3564
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_3557
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_3557
goto @SWEET1B_3499

:SWEET1B_3564
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE1_YH', 3000, 1)

:SWEET1B_3584
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET1B_3649
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_3642
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_3642
goto @SWEET1B_3584

:SWEET1B_3649
Text.PrintNow('SW1B_B', 10000, 1)

:SWEET1B_3665
if 
  not Char.IsDead(35@)
goto_if_false @SWEET1B_5311
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_3724
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_3724
if 
  104@ == 0
goto_if_false @SWEET1B_3779
if 
  TIMERA > 2000
goto_if_false @SWEET1B_3779
Text.PrintHelp('CALLRYD')
104@ = 1

:SWEET1B_3779
if 
  52@ == 0
goto_if_false @SWEET1B_3947
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2284.947, -1645.396, 14.1413, 50.0, 50.0, 8.0, False)
goto_if_false @SWEET1B_3940
if 
  not Char.IsDead(48@)
goto_if_false @SWEET1B_3868
Char.FreezePositionAndDontLoadCollision(48@, False)

:SWEET1B_3868
if 
  not Char.IsDead(35@)
goto_if_false @SWEET1B_3933
Char.FreezePositionAndDontLoadCollision(35@, False)
if 
  not Char.IsDead(48@)
goto_if_false @SWEET1B_3933
Char.PerformSequence(35@, 42@)
Sequence.Clear(42@)
Char.PerformSequence(48@, 40@)
Sequence.Clear(40@)

:SWEET1B_3933
52@ = 1

:SWEET1B_3940
goto @SWEET1B_4213

:SWEET1B_3947
if 
  not Char.IsDead(35@)
goto_if_false @SWEET1B_4213
if 
  52@ == 1
goto_if_false @SWEET1B_4213
if 
  Char.LocateAnyMeansChar3D(35@, $stattreadstamina_ctr, 6.0, 6.0, 8.0, False)
goto_if_false @SWEET1B_4213
Char.ClearTasks(35@)
Task.LookAtChar(35@, $stattreadstamina_ctr, 3000)
Task.TurnCharToFaceChar(35@, $stattreadstamina_ctr)
Char.SetDecisionMaker(35@, 34@)
Task.PlayAnim(35@, "DEALER_IDLE", "DEALER", 4.0, True, False, False, False, -1)
if 
  51@ == 0
goto_if_false @SWEET1B_4164
if 
  not Char.IsDead(48@)
goto_if_false @SWEET1B_4164
Char.FreezePositionAndDontLoadCollision(48@, False)
Char.ClearTasksImmediately(48@)
Char.PerformSequence(48@, 85@)
Sequence.Clear(85@)
Char.SetDecisionMaker(48@, 75@)
51@ = 1

:SWEET1B_4164
58@ = 0
101@ = 0
92@ = 0
87@ = 4
gosub @SWEET1B_47
TIMERA = 0
52@ = 2

:SWEET1B_4213
if 
  52@ == 2
goto_if_false @SWEET1B_4373
if 
  105@ == 0
goto_if_false @SWEET1B_4302
if 
  TIMERA > 2000
goto_if_false @SWEET1B_4302
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1B_4302
Text.PrintHelp('MEL_HLP')
105@ = 1

:SWEET1B_4302
if 
  105@ == 1
goto_if_false @SWEET1B_4373
if 
  TIMERA > 8000
goto_if_false @SWEET1B_4373
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1B_4373
Text.PrintHelp('MELHLP2')
105@ = 2

:SWEET1B_4373
if 
  51@ == 0
goto_if_false @SWEET1B_4678
if 
  Char.IsDead(35@)
goto_if_false @SWEET1B_4470
if 
  not Char.IsDead(48@)
goto_if_false @SWEET1B_4463
Char.FreezePositionAndDontLoadCollision(48@, False)
Char.ClearTasksImmediately(48@)
Char.PerformSequence(48@, 85@)
Sequence.Clear(85@)
Char.SetDecisionMaker(48@, 75@)
51@ = 1

:SWEET1B_4463
goto @SWEET1B_4678

:SWEET1B_4470
if 
  not Char.IsDead(48@)
goto_if_false @SWEET1B_4615
if or
  not Char.IsHealthGreater(35@, 119)
  not Char.IsHealthGreater(48@, 99)
goto_if_false @SWEET1B_4608
Char.FreezePositionAndDontLoadCollision(48@, False)
Char.ClearTasksImmediately(48@)
Char.PerformSequence(48@, 85@)
Sequence.Clear(85@)
Char.SetDecisionMaker(48@, 75@)
if 
  not Char.IsDead(35@)
goto_if_false @SWEET1B_4601
Task.PlayAnim(35@, "DEALER_IDLE", "DEALER", 4.0, True, False, False, False, -1)

:SWEET1B_4601
51@ = 1

:SWEET1B_4608
goto @SWEET1B_4678

:SWEET1B_4615
if 
  not Char.IsDead(35@)
goto_if_false @SWEET1B_4678
Task.PlayAnim(35@, "XPRESSSCRATCH", "PED", 4.0, False, False, False, False, -1)
51@ = 1

:SWEET1B_4678
if 
  90@ == 0
goto_if_false @SWEET1B_4852
if 
  not Char.IsDead(35@)
goto_if_false @SWEET1B_4837
if 
  Char.IsHealthGreater(35@, 119)
goto_if_false @SWEET1B_4780
if 
  Char.LocateAnyMeansChar3D(35@, $stattreadstamina_ctr, 6.0, 6.0, 8.0, False)
goto_if_false @SWEET1B_4773
gosub @SWEET1B_17064

:SWEET1B_4773
goto @SWEET1B_4830

:SWEET1B_4780
Char.GiveWeapon(35@, WeaponType.BaseballBat, 3000)
Char.SetDropsWeaponsWhenDead(35@, False)
Char.ShutUpForScriptedSpeech(35@, False)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Char.ClearTasks(35@)
Task.KillCharOnFoot(35@, $stattreadstamina_ctr)
90@ = 1

:SWEET1B_4830
goto @SWEET1B_4852

:SWEET1B_4837
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
90@ = 1

:SWEET1B_4852
if 
  66@ == 0
goto_if_false @SWEET1B_5258
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2284.947, -1645.396, 14.1413, 20.0, 15.0, 5.0, False)
goto_if_false @SWEET1B_5258
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37474)
Player.SetControl($statbike_temp, False)
wait 1000
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2283.019, -1649.472, 15.0999, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2283.326, -1648.525, 15.1884, SwitchType.JumpCut)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_5208
if 
  Char.LocateAnyMeansChar3D($sweet_car, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @SWEET1B_5203

:SWEET1B_5046
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1B_5111
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_5104
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_5104
goto @SWEET1B_5046

:SWEET1B_5111
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE1_YK', 5000, 1)

:SWEET1B_5131
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET1B_5196
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_5189
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_5189
goto @SWEET1B_5131

:SWEET1B_5196
goto @SWEET1B_5208

:SWEET1B_5203
wait 2000

:SWEET1B_5208
wait 1000
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1B_5234
Task.LeaveAnyCar($stattreadstamina_ctr)

:SWEET1B_5234
Text.ClearPrints
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
66@ = 1

:SWEET1B_5258
gosub @SWEET1B_16361
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_5304
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_5304
goto @SWEET1B_3665

:SWEET1B_5311
Streaming.MarkModelAsNoLongerNeeded(107)
TIMERA = 0
Blip.Remove(44@)

:SWEET1B_5327
if or
  TIMERA <= 2000
  78@ <> 0
goto_if_false @SWEET1B_5403
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_5396
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_5396
goto @SWEET1B_5327

:SWEET1B_5403
Camera.DoFade(500, Fade.Out)

:SWEET1B_5410
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1B_5434
wait 0
goto @SWEET1B_5410

:SWEET1B_5434
Streaming.SetAreaVisible(0)
Char.Delete(48@)
Streaming.MarkModelAsNoLongerNeeded(28)
Streaming.RemoveAnimation("DEALER")
Streaming.LoadScene(2283.0, -1644.4, 14.2)
World.ClearArea(2285.17, -1644.74, 14.08, 4.0, True)
World.ClearAreaOfCars(2288.28, -1648.13, 14.0, 2274.92, -1641.33, 14.31)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_5586
Char.SetAreaVisible($sweet_car, 0)
Char.HideWeaponForScriptedCutscene($sweet_car, True)
Char.RemoveFromGroup($sweet_car)
Char.ClearTasksImmediately($sweet_car)
Char.ClearLookAt($sweet_car)

:SWEET1B_5586
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearLookAt($stattreadstamina_ctr)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
wait 1000
World.ClearArea(2285.17, -1644.74, 14.08, 5.0, True)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1B_5682
Char.SetCoordinates($stattreadstamina_ctr, 2284.462, -1645.925, 14.1362)
goto @SWEET1B_5702

:SWEET1B_5682
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2284.462, -1645.925, 14.1362)

:SWEET1B_5702
Char.SetHeading($stattreadstamina_ctr, 333.0)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_5801
if 
  not Char.IsInAnyCar($sweet_car)
goto_if_false @SWEET1B_5771
Char.SetCoordinates($sweet_car, 2283.27, -1645.8, 14.15)
goto @SWEET1B_5791

:SWEET1B_5771
Char.WarpFromCarToCoord($sweet_car, 2283.27, -1645.8, 14.15)

:SWEET1B_5791
Char.SetHeading($sweet_car, 310.0)

:SWEET1B_5801
108@ = 0
if 
  Char.DoesExist(35@)
goto_if_false @SWEET1B_5847
if 
  Char.IsHeadMissing(35@)
goto_if_false @SWEET1B_5847
108@ = 1

:SWEET1B_5847
Camera.SetFixedPosition(2285.177, -1644.748, 14.0885, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2284.635, -1645.266, 14.7501, SwitchType.JumpCut)
if 
  108@ == 0
goto_if_false @SWEET1B_5923
Player.SetDrunkenness($statbike_temp, 100)

:SWEET1B_5923
58@ = 0
101@ = 0
92@ = 0
87@ = 1
gosub @SWEET1B_47
wait 200
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtCoord($stattreadstamina_ctr, 2285.1, -1644.7, 14.0, 21000)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_6035
Char.ClearLookAt($sweet_car)
Task.LookAtCoord($sweet_car, 2285.1, -1644.7, 14.0, 21000)

:SWEET1B_6035
Char.Delete(35@)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_6177
if 
  not Char.LocateOnFoot3D($sweet_car, 2283.27, -1645.8, 14.15, 0.5, 0.5, 2.0, False)
goto_if_false @SWEET1B_6177
if 
  not Char.IsInAnyCar($sweet_car)
goto_if_false @SWEET1B_6147
Char.SetCoordinates($sweet_car, 2283.27, -1645.8, 14.15)
goto @SWEET1B_6167

:SWEET1B_6147
Char.WarpFromCarToCoord($sweet_car, 2283.27, -1645.8, 14.15)

:SWEET1B_6167
Char.SetHeading($sweet_car, 310.0)

:SWEET1B_6177
wait 200
Camera.DoFade(500, Fade.In)
wait 700
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_6331
if 
  not Char.LocateOnFoot3D($sweet_car, 2283.27, -1645.8, 14.15, 0.5, 0.5, 2.0, False)
goto_if_false @SWEET1B_6331
if 
  not Char.IsInAnyCar($sweet_car)
goto_if_false @SWEET1B_6301
Char.SetCoordinates($sweet_car, 2283.27, -1645.8, 14.15)
goto @SWEET1B_6321

:SWEET1B_6301
Char.WarpFromCarToCoord($sweet_car, 2283.27, -1645.8, 14.15)

:SWEET1B_6321
Char.SetHeading($sweet_car, 310.0)

:SWEET1B_6331
Text.ClearPrints
Text.ClearHelp
if 
  108@ == 0
goto_if_false @SWEET1B_6353

:SWEET1B_6353
skip_cutscene_start_internal @SWEET1B_7364
92@ = 0

:SWEET1B_6367
if 
  58@ == 0
goto_if_false @SWEET1B_6499
wait 0
gosub @SWEET1B_17064
if 
  92@ == 0
goto_if_false @SWEET1B_6492
if 
  101@ == 2
goto_if_false @SWEET1B_6492
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_6492
Task.PlayAnim($sweet_car, "IDLE_CHAT", "PED", 4.0, False, False, False, False, 6000)
92@ = 1

:SWEET1B_6492
goto @SWEET1B_6367

:SWEET1B_6499
92@ = 0

:SWEET1B_6506
if 
  58@ == 1
goto_if_false @SWEET1B_6542
wait 0
gosub @SWEET1B_17064
goto @SWEET1B_6506

:SWEET1B_6542
92@ = 0

:SWEET1B_6549
if 
  58@ == 2
goto_if_false @SWEET1B_6660
wait 0
gosub @SWEET1B_17064
if 
  92@ == 0
goto_if_false @SWEET1B_6653
if 
  101@ == 2
goto_if_false @SWEET1B_6653
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_6653
Char.ClearLookAt($sweet_car)
Task.LookAtChar($sweet_car, $stattreadstamina_ctr, 9000)
92@ = 1

:SWEET1B_6653
goto @SWEET1B_6549

:SWEET1B_6660
if 
  108@ == 0
goto_if_false @SWEET1B_6678

:SWEET1B_6678
92@ = 0

:SWEET1B_6685
if 
  58@ == 3
goto_if_false @SWEET1B_6721
wait 0
gosub @SWEET1B_17064
goto @SWEET1B_6685

:SWEET1B_6721
92@ = 0

:SWEET1B_6728
if 
  58@ == 4
goto_if_false @SWEET1B_6839
wait 0
gosub @SWEET1B_17064
if 
  92@ == 0
goto_if_false @SWEET1B_6832
if 
  101@ == 2
goto_if_false @SWEET1B_6832
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_6832
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $sweet_car, 5000)
92@ = 1

:SWEET1B_6832
goto @SWEET1B_6728

:SWEET1B_6839
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_6871
Char.ClearLookAt($sweet_car)
Task.LookAtChar($sweet_car, $stattreadstamina_ctr, 5000)

:SWEET1B_6871
92@ = 0

:SWEET1B_6878
if 
  58@ == 5
goto_if_false @SWEET1B_7016
wait 0
gosub @SWEET1B_17064
if 
  92@ == 0
goto_if_false @SWEET1B_7009
if 
  101@ == 2
goto_if_false @SWEET1B_7009
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_7009
Task.PlayAnim($sweet_car, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, False, False, False, -1)
92@ = 1

:SWEET1B_7009
goto @SWEET1B_6878

:SWEET1B_7016
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_7070
Task.PlayAnim($sweet_car, "IDLE_STANCE", "PED", 4.0, False, False, False, False, -1)

:SWEET1B_7070
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtCoord($stattreadstamina_ctr, 2285.1, -1644.7, 14.0, 20000)
92@ = 0

:SWEET1B_7105
if 
  58@ == 6
goto_if_false @SWEET1B_7228
wait 0
gosub @SWEET1B_17064
if 
  92@ == 0
goto_if_false @SWEET1B_7221
if 
  101@ == 2
goto_if_false @SWEET1B_7221
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_7221
Char.ClearLookAt($sweet_car)
Task.LookAtCoord($sweet_car, 2285.1, -1644.7, 14.0, 20000)
92@ = 1

:SWEET1B_7221
goto @SWEET1B_7105

:SWEET1B_7228
Char.ClearTasks($stattreadstamina_ctr)
Task.PlayAnim($stattreadstamina_ctr, "FIGHTA_G", "PED", 4.0, False, False, False, False, -1)

:SWEET1B_7268
if 
  0.351 > 110@
goto_if_false @SWEET1B_7344
wait 0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "FIGHTA_G")
goto_if_false @SWEET1B_7337
110@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "FIGHTA_G")

:SWEET1B_7337
goto @SWEET1B_7268

:SWEET1B_7344
Audio.ReportMissionAudioEventAtPosition(2285.177, -1644.748, 14.0885, 1136)

:SWEET1B_7364
skip_cutscene_end 
Char.ClearTasks($stattreadstamina_ctr)
Text.ClearPrints
Audio.SetMusicDoesFade(False)
Camera.DoFade(0, Fade.Out)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_7413
Char.HideWeaponForScriptedCutscene($sweet_car, False)

:SWEET1B_7413
wait 1000
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_7439
Char.ClearLookAt($sweet_car)

:SWEET1B_7439
Char.ClearLookAt($stattreadstamina_ctr)
Streaming.RemoveAnimation("GANGS")
Blip.Remove(38@)
38@ = Blip.AddForCoord(2171.781, -1676.78, 14.0859)
102@ = 2
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_7543
Char.RemoveFromGroup($sweet_car)
$flag_cell_nation = Player.GetGroup($statbike_temp)
Group.SetMember($flag_cell_nation, $sweet_car)
Player.SetGroupRecruitment($statbike_temp, False)
Char.ListenToPlayerGroupCommands($sweet_car, False)
47@ = 1

:SWEET1B_7543
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Camera.ResetNewScriptables
Player.SetDrunkenness($statbike_temp, 0)
Char.SetHeading($stattreadstamina_ctr, 152.235)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
79@ = Pickup.Create(336, PickupType.Once, 2285.743, -1647.309, 14.0782)
Audio.SetMusicDoesFade(True)
Camera.DoFade(1000, Fade.In)
Text.ClearPrints
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.BaseballBat)
goto_if_false @SWEET1B_7851
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37491)
wait 500

:SWEET1B_7655
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET1B_7766
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_7713
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_7713
gosub @SWEET1B_16361
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_7759
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_7759
goto @SWEET1B_7655

:SWEET1B_7766
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE1_ZC', 3000, 1)

:SWEET1B_7786
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET1B_7851
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_7844
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_7844
goto @SWEET1B_7786

:SWEET1B_7851
58@ = 0
101@ = 0
92@ = 0
87@ = 5
gosub @SWEET1B_47
TIMERB = 0
TIMERA = 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_7939
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_7939
Text.PrintNow('SW1B_1', 10000, 1)
World.ClearArea(2171.781, -1676.78, 14.0859, 8.0, True)

:SWEET1B_7979
if or
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2171.781, -1676.78, 14.0859, 3.5, 3.5, 4.0, $sweet)
  not Char.LocateAnyMeansChar3D($sweet_car, $stattreadstamina_ctr, 30.0, 30.0, 8.0, False)
goto_if_false @SWEET1B_8418
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_8096
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_8096
if 
  TIMERB > 5000
goto_if_false @SWEET1B_8223
if 
  Char.LocateAnyMeansChar3D($sweet_car, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @SWEET1B_8223
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsOnFoot($sweet_car)
goto_if_false @SWEET1B_8179
gosub @SWEET1B_17064

:SWEET1B_8179
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_8223
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar($sweet_car)
goto_if_false @SWEET1B_8223
gosub @SWEET1B_17064

:SWEET1B_8223
gosub @SWEET1B_16361
if 
  105@ == 0
goto_if_false @SWEET1B_8301
if 
  TIMERA > 2000
goto_if_false @SWEET1B_8301
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1B_8301
Text.PrintHelp('MEL_HLP')
105@ = 1

:SWEET1B_8301
if 
  105@ == 1
goto_if_false @SWEET1B_8372
if 
  TIMERA > 8000
goto_if_false @SWEET1B_8372
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1B_8372
Text.PrintHelp('MELHLP2')
105@ = 2

:SWEET1B_8372
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_8411
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_8411
goto @SWEET1B_7979

:SWEET1B_8418
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
58@ = 0
101@ = 0
92@ = 0
87@ = 6
gosub @SWEET1B_47
Hud.SwitchWidescreen(True)
World.SwitchEntryExit('LACRAK', True)
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(2177.072, -1682.038, 15.8487, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2176.343, -1681.354, 15.8969, SwitchType.JumpCut)
TIMERB = 0

:SWEET1B_8543
if 
  58@ <> 1
goto_if_false @SWEET1B_8579
wait 0
gosub @SWEET1B_17064
goto @SWEET1B_8543

:SWEET1B_8579
Blip.Remove(38@)
38@ = Blip.AddForCoord(2169.72, -1673.14, 13.01)
102@ = 3
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
110@ = 0.0
TIMERB = 0
106@ = 0

:SWEET1B_8650
if 
  43@ <> 1
goto_if_false @SWEET1B_13672
wait 0
78@ = Streaming.GetAreaVisible()
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SWEET1B_8699
goto @SWEET1B_15955

:SWEET1B_8699
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_8738
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_8738
gosub @SWEET1B_17064
if 
  78@ == 5
goto_if_false @SWEET1B_13008
Game.ActivateInteriorPeds(False)
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 319.15, 1120.89, 1082.87, 20.0, 20.0, 10.0, False)
goto_if_false @SWEET1B_13008
if 
  63@ == 0
goto_if_false @SWEET1B_12598
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
World.ClearArea(319.15, 1120.89, 1082.87, 100.0, True)
Blip.Remove(39@)
Camera.DoFade(0, Fade.Out)
Streaming.RequestModel(102)
Streaming.RequestModel(64)
Streaming.RequestModel(63)
Streaming.RequestModel(28)
Streaming.RequestModel(#CIGAR)
Streaming.RequestAnimation("CRACK")
Streaming.RequestAnimation("BLOWJOBZ")
Streaming.RequestAnimation("BASEBALL")
Streaming.LoadAllModelsNow

:SWEET1B_8934
if or
  not Streaming.HasAnimationLoaded("CRACK")
  not Streaming.HasAnimationLoaded("BLOWJOBZ")
  not Streaming.HasAnimationLoaded("BASEBALL")
goto_if_false @SWEET1B_8995
wait 0
Camera.DoFade(0, Fade.Out)
goto @SWEET1B_8934

:SWEET1B_8995
if or
  not Streaming.HasModelLoaded(102)
  not Streaming.HasModelLoaded(63)
  not Streaming.HasModelLoaded(64)
  not Streaming.HasModelLoaded(#CIGAR)
  not Streaming.HasModelLoaded(28)
goto_if_false @SWEET1B_9043
wait 0
Camera.DoFade(0, Fade.Out)
goto @SWEET1B_8995

:SWEET1B_9043
68@ = Sequence.Open()
Task.GoStraightToCoord(-1, 315.81, 1122.3, 1082.8, MoveState.Run, 10000)
Task.PlayAnim(-1, "BBALBAT_IDLE_01", "CRACK", 4.0, True, False, False, False, -1)
Sequence.Close(68@)
World.SwitchEntryExit('LACRAK', False)
61@ = Char.Create(PedType.CivFemale, 64, 309.77, 1123.5, 1082.87)
Char.SetAreaVisible(61@, 5)
Char.SetHeading(61@, 107.12)
Task.PlayAnimNonInterruptable(61@, "CRCKIDLE4", "CRACK", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(61@, 75@)
36@ = Char.Create(PedType.Mission2, 64, 317.5892, 1124.777, 1082.867)
Char.SetAreaVisible(36@, 5)
Char.SetHeading(36@, 180.0)
Task.PlayAnimNonInterruptable(36@, "CRCKIDLE2", "CRACK", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(36@, 75@)
54@ = Char.Create(PedType.Mission2, 102, 325.0, 1119.975, 1082.875)
Char.SetAreaVisible(54@, 5)
Char.SetHeading(54@, 90.0)
Task.PlayAnimNonInterruptable(54@, "CRCKIDLE1", "CRACK", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(54@, 75@)
80@ = Object.Create(#CIGAR, 2440.58, -1979.89, 1082.2)
Task.PickUpObject(54@, 80@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", -1)
49@ = Char.Create(PedType.Mission2, 102, 320.1898, 1123.292, 1082.875)
Char.SetAreaVisible(49@, 5)
Char.SetHeading(49@, 177.9659)
Task.PlayAnimNonInterruptable(49@, "CRCKIDLE3", "CRACK", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(49@, 75@)
81@ = Object.Create(#CIGAR, 2440.58, -1979.89, 1082.2)
Task.PickUpObject(49@, 81@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", -1)
62@ = Char.Create(PedType.Mission2, 102, 333.63, 1124.51, 1082.88)
Char.SetMaxHealth(62@, 70)
Char.SetHealth(62@, 70)
Char.SetAreaVisible(62@, 5)
Char.SetHeading(62@, 267.96)
Char.SetDecisionMaker(62@, 34@)
Char.SetRelationship(62@, RelationshipType.Dislike, PedType.Player1)
82@ = Object.Create(#CIGAR, 2440.58, -1979.89, 1082.2)
Task.PickUpObject(62@, 82@, 0.0, 0.0, 0.0, 5, 16, "NULL", "NULL", -1)
88@ = Blip.AddForChar(62@)
Blip.SetEntryExit(88@, 2167.835, -1672.923, 2.0)
64@ = Char.Create(PedType.Mission2, 102, 325.0, 1129.213, 1082.883)
Char.SetAreaVisible(64@, 5)
Char.SetHeading(64@, 90.0)
Task.PlayAnim(64@, "BJ_COUCH_LOOP_P", "BLOWJOBZ", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(64@, 34@)
Char.SetRelationship(64@, RelationshipType.Dislike, PedType.Player1)
89@ = Blip.AddForChar(64@)
Blip.SetEntryExit(89@, 2167.835, -1672.923, 2.0)
65@ = Char.Create(PedType.CivFemale, 63, 324.0, 1129.2, 1082.883)
Char.SetAreaVisible(65@, 5)
Char.SetHeading(65@, 270.0)
Task.PlayAnim(65@, "BJ_COUCH_LOOP_W", "BLOWJOBZ", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(65@, 75@)
Char.SetRelationship(65@, RelationshipType.Dislike, PedType.Player1)
59@ = Char.Create(PedType.Mission2, 102, 333.4072, 1124.462, 1082.89)
Char.SetAreaVisible(59@, 5)
Char.SetHeading(59@, 83.6676)
Task.PlayAnimNonInterruptable(59@, "CRCKIDLE3", "CRACK", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(59@, 75@)
81@ = Object.Create(#CIGAR, 2440.58, -1979.89, 1082.2)
Task.PickUpObject(59@, 81@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", -1)
37@ = Char.Create(PedType.Mission2, 28, 306.03, 1121.86, 1082.87)
Char.SetAreaVisible(37@, 5)
Char.SetShootRate(37@, 80)
Char.SetMaxHealth(37@, 150)
Char.SetHealth(37@, 150)
Char.SetHeading(37@, 263.66)
Char.GiveWeapon(37@, WeaponType.BaseballBat, 3000)
Char.SetDecisionMaker(37@, 34@)
Char.SetRelationship(37@, RelationshipType.Dislike, PedType.Player1)
45@ = Blip.AddForChar(37@)
Blip.SetEntryExit(45@, 2167.835, -1672.923, 2.0)
TIMERA = 0
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37487)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37488)

:SWEET1B_10302
if 
  TIMERA <= 1000
goto_if_false @SWEET1B_10338
wait 0
Camera.DoFade(0, Fade.Out)
goto @SWEET1B_10302

:SWEET1B_10338
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_10435
Char.RemoveFromGroup($sweet_car)
Char.ClearTasksImmediately($sweet_car)
Char.ClearLookAt($sweet_car)
Char.SetCoordinates($sweet_car, 320.12, 1118.2, 1082.89)
Char.SetHeading($sweet_car, 7.0)
Char.SetHasUsedEntryExit($sweet_car, 2169.72, -1673.14, 20.0)
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $sweet_car, 6000)

:SWEET1B_10435
Camera.SetFixedPosition(318.297, 1115.438, 1085.054, 0.0, 0.0, 0.0)
Camera.PointAtPoint(318.7138, 1116.318, 1084.827, SwitchType.JumpCut)
wait 300
Camera.DoFade(1000, Fade.In)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_10539
Task.GoStraightToCoord($sweet_car, 320.0, 1122.3, 1082.8, MoveState.Walk, 6000)

:SWEET1B_10539
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1B_10617
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_10610
Text.PrintNow('SW1B_G', 10000, 1)
World.SwitchEntryExit('LACRAK', True)
goto @SWEET1B_15530

:SWEET1B_10610
goto @SWEET1B_10539

:SWEET1B_10617
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE1_YX', 10000, 1)

:SWEET1B_10637
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET1B_10715
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_10708
World.SwitchEntryExit('LACRAK', True)
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_10708
goto @SWEET1B_10637

:SWEET1B_10715
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 4000)
69@ = 0
skip_cutscene_start_internal @SWEET1B_11954

:SWEET1B_10736
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET1B_10814
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_10807
World.SwitchEntryExit('LACRAK', True)
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_10807
goto @SWEET1B_10736

:SWEET1B_10814
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE1_YY', 10000, 1)

:SWEET1B_10834
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET1B_10912
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_10905
World.SwitchEntryExit('LACRAK', True)
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_10905
goto @SWEET1B_10834

:SWEET1B_10912
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 4001)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_11046

:SWEET1B_10935
if 
  not Char.LocateAnyMeans3D($sweet_car, 320.0, 1122.3, 1082.8, 0.9, 0.9, 2.0, False)
goto_if_false @SWEET1B_11046
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_11039
World.SwitchEntryExit('LACRAK', True)
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_11039
goto @SWEET1B_10935

:SWEET1B_11046
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_11232
if 
  not Char.IsDead(49@)
goto_if_false @SWEET1B_11232
Task.PlayAnim($sweet_car, "BAT_4", "BASEBALL", 4.0, False, False, False, False, -1)
TIMERA = 0

:SWEET1B_11122
if 
  TIMERA <= 400
goto_if_false @SWEET1B_11152
wait 0
goto @SWEET1B_11122

:SWEET1B_11152
if 
  not Char.IsDead(49@)
goto_if_false @SWEET1B_11225
Audio.ReportMissionAudioEventAtPosition(320.1898, 1123.292, 1082.875, 1135)
Task.DieNamedAnim(49@, "CRCKDETH3", "CRACK", 4.0, 0)
Char.DropObject(49@, False)

:SWEET1B_11225
92@ = 1

:SWEET1B_11232
if 
  not Char.IsDead(64@)
goto_if_false @SWEET1B_11356
Task.GoStraightToCoord(64@, 323.8, 1124.35, 1082.89, MoveState.Walk, 10000)
if 
  not Char.IsDead(65@)
goto_if_false @SWEET1B_11356
Char.ClearTasks(65@)
Char.SetCoordinates(65@, 325.3923, 1131.888, 1082.883)
Char.SetHeading(65@, 246.147)
Task.PlayAnim(65@, "COWER", "PED", 4.0, True, False, False, False, -1)

:SWEET1B_11356
TIMERA = 0

:SWEET1B_11363
if 
  TIMERA <= 700
goto_if_false @SWEET1B_11445
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_11438
World.SwitchEntryExit('LACRAK', True)
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_11438
goto @SWEET1B_11363

:SWEET1B_11445
if 
  not Char.IsDead(37@)
goto_if_false @SWEET1B_11504
Char.SetCoordinates(37@, 310.1843, 1122.598, 1082.89)
Char.SetHeading(37@, 270.0)
Blip.Remove(38@)
Char.PerformSequence(37@, 68@)

:SWEET1B_11504
Camera.SetFixedPosition(319.2787, 1121.339, 1083.123, 0.0, 0.0, 0.0)
Camera.PointAtPoint(318.3951, 1121.773, 1083.297, SwitchType.JumpCut)
Char.ClearLookAt($stattreadstamina_ctr)
TIMERA = 0

:SWEET1B_11567
if 
  TIMERA <= 2500
goto_if_false @SWEET1B_11649
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_11642
World.SwitchEntryExit('LACRAK', True)
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_11642
goto @SWEET1B_11567

:SWEET1B_11649
if 
  not Char.IsDead(62@)
goto_if_false @SWEET1B_11720
Char.SetCoordinates(62@, 329.29, 1122.13, 1082.88)
Char.SetHeading(62@, 90.0)
Task.GoStraightToCoord(62@, 325.25, 1122.5, 1082.88, MoveState.Run, 10000)

:SWEET1B_11720
Camera.SetFixedPosition(318.6783, 1118.741, 1084.642, 0.0, 0.0, 0.0)
Camera.PointAtPoint(319.4823, 1119.317, 1084.494, SwitchType.JumpCut)

:SWEET1B_11771
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET1B_11849
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_11842
Text.PrintNow('SW1B_G', 10000, 1)
World.SwitchEntryExit('LACRAK', True)
goto @SWEET1B_15530

:SWEET1B_11842
goto @SWEET1B_11771

:SWEET1B_11849
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('BALLA_2', 10000, 1)

:SWEET1B_11869
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET1B_11947
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_11940
World.SwitchEntryExit('LACRAK', True)
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_11940
goto @SWEET1B_11869

:SWEET1B_11947
69@ = 1

:SWEET1B_11954
skip_cutscene_end 
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34223)
if 
  69@ == 0
goto_if_false @SWEET1B_12393
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.Out)

:SWEET1B_11998
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1B_12022
wait 0
goto @SWEET1B_11998

:SWEET1B_12022
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 4000)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34223)
if 
  not Char.IsDead(37@)
goto_if_false @SWEET1B_12105
Char.SetCoordinates(37@, 310.1843, 1122.598, 1082.89)
Char.SetHeading(37@, 270.0)
Blip.Remove(38@)
Char.PerformSequence(37@, 68@)

:SWEET1B_12105
if 
  not Char.IsDead(64@)
goto_if_false @SWEET1B_12259
Char.SetCoordinates(64@, 323.5565, 1124.362, 1082.883)
Char.SetHeading(64@, 132.073)
Task.GoStraightToCoord(64@, 323.8, 1124.35, 1082.89, MoveState.Walk, 10000)
if 
  not Char.IsDead(65@)
goto_if_false @SWEET1B_12259
Char.ClearTasks(65@)
Char.SetCoordinates(65@, 325.3923, 1131.888, 1082.883)
Char.SetHeading(65@, 246.147)
Task.PlayAnim(65@, "COWER", "PED", 4.0, True, False, False, False, -1)

:SWEET1B_12259
if 
  not Char.IsDead(62@)
goto_if_false @SWEET1B_12330
Char.SetCoordinates(62@, 326.96, 1122.52, 1082.89)
Char.SetHeading(62@, 90.0)
Task.GoStraightToCoord(62@, 325.25, 1122.5, 1082.88, MoveState.Walk, 10000)

:SWEET1B_12330
if 
  not Char.IsDead(49@)
goto_if_false @SWEET1B_12376
Task.DieNamedAnim(49@, "CRCKDETH3", "CRACK", 4.0, 0)

:SWEET1B_12376
wait 1000
Char.ClearLookAt($stattreadstamina_ctr)
Camera.DoFade(500, Fade.In)

:SWEET1B_12393
Sequence.Clear(68@)
Streaming.RemoveAnimation("BLOWJOBZ")
Streaming.RemoveAnimation("BASEBALL")
Streaming.RemoveAnimation("DEALER")
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
if 
  not Char.IsDead(64@)
goto_if_false @SWEET1B_12471
Task.KillCharOnFoot(64@, $stattreadstamina_ctr)

:SWEET1B_12471
if 
  not Char.IsDead(62@)
goto_if_false @SWEET1B_12542
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_12542
Task.KillCharOnFoot($sweet_car, 62@)
Task.KillCharOnFoot(62@, $sweet_car)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Respect, PedType.Player1, PedType.Mission1)
Char.DropObject(62@, True)

:SWEET1B_12542
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1B_12577
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('BALLA_1', 2000, 1)

:SWEET1B_12577
TIMERA = 0
63@ = 1
goto @SWEET1B_13008

:SWEET1B_12598
if 
  TIMERA > 2000
goto_if_false @SWEET1B_12677
if 
  103@ == 0
goto_if_false @SWEET1B_12677
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET1B_12677
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('RYDX_BC', 2000, 1)
103@ = 1

:SWEET1B_12677
if 
  TIMERA > 4000
goto_if_false @SWEET1B_12737
if 
  103@ == 1
goto_if_false @SWEET1B_12737
Text.PrintNow('SW1B_B', 6000, 1)
103@ = 2

:SWEET1B_12737
if 
  not Char.IsDead(37@)
goto_if_false @SWEET1B_12911
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1B_12911
if 
  105@ == 0
goto_if_false @SWEET1B_12840
if 
  TIMERA > 3000
goto_if_false @SWEET1B_12840
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1B_12840
Text.PrintHelp('MEL_HLP')
105@ = 1

:SWEET1B_12840
if 
  105@ == 1
goto_if_false @SWEET1B_12911
if 
  TIMERA > 9000
goto_if_false @SWEET1B_12911
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1B_12911
Text.PrintHelp('MELHLP2')
105@ = 2

:SWEET1B_12911
if 
  63@ == 1
goto_if_false @SWEET1B_13008
if or
  Char.IsDead(62@)
  Char.IsDead(37@)
goto_if_false @SWEET1B_13008
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_13008
Char.RemoveFromGroup($sweet_car)
$flag_cell_nation = Player.GetGroup($statbike_temp)
Group.SetMember($flag_cell_nation, $sweet_car)
Player.SetGroupRecruitment($statbike_temp, False)
Char.ListenToPlayerGroupCommands($sweet_car, False)
63@ = 2

:SWEET1B_13008
if 
  63@ > 0
goto_if_false @SWEET1B_13217
if 
  Char.IsDead(37@)
goto_if_false @SWEET1B_13047
Blip.Remove(45@)

:SWEET1B_13047
if 
  Char.IsDead(62@)
goto_if_false @SWEET1B_13068
Blip.Remove(88@)

:SWEET1B_13068
if 
  Char.IsDead(64@)
goto_if_false @SWEET1B_13089
Blip.Remove(89@)

:SWEET1B_13089
if and
  Char.IsDead(64@)
  Char.IsDead(62@)
  Char.IsDead(37@)
goto_if_false @SWEET1B_13122
43@ = 1

:SWEET1B_13122
if 
  60@ == 0
goto_if_false @SWEET1B_13217
if 
  not Char.IsDead(37@)
goto_if_false @SWEET1B_13217
if or
  Char.IsDead(62@)
  Char.IsDead(64@)
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 37@, 2.0, 2.0, 2.0, False)
goto_if_false @SWEET1B_13217
Task.KillCharOnFoot(37@, $stattreadstamina_ctr)
60@ = 1

:SWEET1B_13217
if 
  78@ == 5
goto_if_false @SWEET1B_13619
if 
  not Char.IsDead(36@)
goto_if_false @SWEET1B_13331
if 
  not Char.IsHealthGreater(36@, 80)
goto_if_false @SWEET1B_13331
if 
  71@ == 0
goto_if_false @SWEET1B_13331
Task.DieNamedAnim(36@, "CRCKDETH2", "CRACK", 4.0, 0)
Char.DropObject(36@, True)
71@ = 1

:SWEET1B_13331
if 
  not Char.IsDead(54@)
goto_if_false @SWEET1B_13427
if 
  not Char.IsHealthGreater(54@, 80)
goto_if_false @SWEET1B_13427
if 
  72@ == 0
goto_if_false @SWEET1B_13427
Task.DieNamedAnim(54@, "CRCKDETH1", "CRACK", 4.0, 0)
Char.DropObject(54@, True)
72@ = 1

:SWEET1B_13427
if 
  not Char.IsDead(61@)
goto_if_false @SWEET1B_13523
if 
  not Char.IsHealthGreater(61@, 80)
goto_if_false @SWEET1B_13523
if 
  74@ == 0
goto_if_false @SWEET1B_13523
Task.DieNamedAnim(61@, "CRCKDETH4", "CRACK", 4.0, 0)
Char.DropObject(61@, True)
74@ = 1

:SWEET1B_13523
if 
  not Char.IsDead(59@)
goto_if_false @SWEET1B_13619
if 
  not Char.IsHealthGreater(59@, 80)
goto_if_false @SWEET1B_13619
if 
  70@ == 0
goto_if_false @SWEET1B_13619
Task.DieNamedAnim(59@, "CRCKDETH3", "CRACK", 4.0, 0)
Char.DropObject(59@, True)
70@ = 1

:SWEET1B_13619
gosub @SWEET1B_16361
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_13665
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_13665
goto @SWEET1B_8650

:SWEET1B_13672
wait 2000
World.SwitchEntryExit('LACRAK', True)
Game.EnableEntryExitPlayerGroupWarping(2165.72, -1673.14, 10.0, True)
Game.EnableEntryExitPlayerGroupWarping(319.56, 1117.64, 10.0, True)
Streaming.MarkModelAsNoLongerNeeded(28)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(64)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Game.ActivateInteriorPeds(True)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_13820
Char.ClearTasksImmediately($sweet_car)
Char.RemoveFromGroup($sweet_car)
Char.ClearLookAt($sweet_car)
$flag_cell_nation = Player.GetGroup($statbike_temp)
Group.SetMember($flag_cell_nation, $sweet_car)
Player.SetGroupRecruitment($statbike_temp, False)
Char.ListenToPlayerGroupCommands($sweet_car, False)
47@ = 1

:SWEET1B_13820
Text.PrintNow('SW1B_F', 10000, 1)
Blip.Remove(45@)
Blip.Remove(38@)
38@ = Blip.AddForCoord(2513.33, -1672.12, 12.52)
$sweet = 1
102@ = 4
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_13896

:SWEET1B_13896
107@ = 0
58@ = 0
101@ = 0
92@ = 0
87@ = 3
gosub @SWEET1B_47

:SWEET1B_13938
if or
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2513.3, -1671.9, 12.52, 4.0, 4.0, 4.0, $sweet)
  not Char.LocateAnyMeans3D($sweet_car, 2513.3, -1671.9, 12.52, 4.0, 4.0, 4.0, False)
goto_if_false @SWEET1B_14983
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_14067
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_14067
if 
  107@ == 1
goto_if_false @SWEET1B_14092
gosub @SWEET1B_16361

:SWEET1B_14092
78@ = Streaming.GetAreaVisible()
if 
  78@ == 0
goto_if_false @SWEET1B_14535
if 
  107@ == 0
goto_if_false @SWEET1B_14346
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2167.601, -1672.592, 14.081, 10.0, 10.0, 4.0, False)
goto_if_false @SWEET1B_14346
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_14339
if 
  not Char.LocateAnyMeansChar3D($sweet_car, $stattreadstamina_ctr, 30.0, 30.0, 8.0, False)
goto_if_false @SWEET1B_14339
World.ClearArea(2164.961, -1673.758, 14.0803, 1.0, True)
Char.SetCoordinates($sweet_car, 2164.961, -1673.758, 14.0803)
Char.SetHeading($sweet_car, 280.1246)
Char.SetAreaVisible($sweet_car, 0)
Char.ClearTasksImmediately($sweet_car)
Char.RemoveFromGroup($sweet_car)
Char.ClearLookAt($sweet_car)
$flag_cell_nation = Player.GetGroup($statbike_temp)
Group.SetMember($flag_cell_nation, $sweet_car)
Player.SetGroupRecruitment($statbike_temp, False)
Char.ListenToPlayerGroupCommands($sweet_car, False)

:SWEET1B_14339
107@ = 1

:SWEET1B_14346
if 
  107@ == 1
goto_if_false @SWEET1B_14535
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_14535
if 
  78@ == 0
goto_if_false @SWEET1B_14535
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_14535
if 
  Char.LocateAnyMeansChar3D($sweet_car, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @SWEET1B_14535
World.SwitchEntryExit('LACRAK', False)
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsOnFoot($sweet_car)
goto_if_false @SWEET1B_14491
gosub @SWEET1B_17064

:SWEET1B_14491
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_14535
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar($sweet_car)
goto_if_false @SWEET1B_14535
gosub @SWEET1B_17064

:SWEET1B_14535
if 
  78@ == 5
goto_if_false @SWEET1B_14937
if 
  not Char.IsDead(36@)
goto_if_false @SWEET1B_14649
if 
  not Char.IsHealthGreater(36@, 80)
goto_if_false @SWEET1B_14649
if 
  71@ == 0
goto_if_false @SWEET1B_14649
Task.DieNamedAnim(36@, "CRCKDETH2", "CRACK", 4.0, 0)
Char.DropObject(36@, True)
71@ = 1

:SWEET1B_14649
if 
  not Char.IsDead(54@)
goto_if_false @SWEET1B_14745
if 
  not Char.IsHealthGreater(54@, 80)
goto_if_false @SWEET1B_14745
if 
  72@ == 0
goto_if_false @SWEET1B_14745
Task.DieNamedAnim(54@, "CRCKDETH1", "CRACK", 4.0, 0)
Char.DropObject(54@, True)
72@ = 1

:SWEET1B_14745
if 
  not Char.IsDead(61@)
goto_if_false @SWEET1B_14841
if 
  not Char.IsHealthGreater(61@, 80)
goto_if_false @SWEET1B_14841
if 
  74@ == 0
goto_if_false @SWEET1B_14841
Task.DieNamedAnim(61@, "CRCKDETH4", "CRACK", 4.0, 0)
Char.DropObject(61@, True)
74@ = 1

:SWEET1B_14841
if 
  not Char.IsDead(59@)
goto_if_false @SWEET1B_14937
if 
  not Char.IsHealthGreater(59@, 80)
goto_if_false @SWEET1B_14937
if 
  70@ == 0
goto_if_false @SWEET1B_14937
Task.DieNamedAnim(59@, "CRCKDETH3", "CRACK", 4.0, 0)
Char.DropObject(59@, True)
70@ = 1

:SWEET1B_14937
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_14976
Text.PrintNow('SW1B_G', 10000, 1)
goto @SWEET1B_15530

:SWEET1B_14976
goto @SWEET1B_13938

:SWEET1B_14983
58@ = 0
101@ = 0
92@ = 0
87@ = 7
gosub @SWEET1B_47
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetNearClip(0.2)
wait 500
Camera.DoFade(1000, Fade.Out)

:SWEET1B_15048
if 
  Camera.GetFadingStatus
goto_if_false @SWEET1B_15072
wait 0
goto @SWEET1B_15048

:SWEET1B_15072
Streaming.RequestAnimation("GANGS")

:SWEET1B_15081
if 
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @SWEET1B_15112
wait 0
goto @SWEET1B_15081

:SWEET1B_15112
Camera.SetFixedPosition(2518.491, -1679.401, 14.4781, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2518.086, -1678.499, 14.6304, SwitchType.JumpCut)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET1B_15206
Char.SetCoordinates($stattreadstamina_ctr, 2517.524, -1678.497, 13.3912)
goto @SWEET1B_15226

:SWEET1B_15206
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2517.524, -1678.497, 13.3912)

:SWEET1B_15226
Char.SetHeading($stattreadstamina_ctr, 328.5351)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_15375
Char.ClearTasksImmediately($sweet_car)
Char.RemoveFromGroup($sweet_car)
Char.ClearLookAt($sweet_car)
Char.ClearTasks($sweet_car)
Char.HideWeaponForScriptedCutscene($sweet_car, True)
if 
  not Char.IsInAnyCar($sweet_car)
goto_if_false @SWEET1B_15329
Char.SetCoordinates($sweet_car, 2518.314, -1676.907, 13.3726)
goto @SWEET1B_15349

:SWEET1B_15329
Char.WarpFromCarToCoord($sweet_car, 2518.314, -1676.907, 13.3726)

:SWEET1B_15349
Task.TurnCharToFaceChar($sweet_car, $stattreadstamina_ctr)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $sweet_car)
Char.SetHeading($stattreadstamina_ctr, 180.0)

:SWEET1B_15375
wait 500
Camera.DoFade(1000, Fade.In)

:SWEET1B_15387
if 
  58@ <> 3
goto_if_false @SWEET1B_15423
wait 0
gosub @SWEET1B_17064
goto @SWEET1B_15387

:SWEET1B_15423
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_15464
Task.GoStraightToCoord($sweet_car, 2522.997, -1679.196, 14.497, MoveState.Walk, 4000)

:SWEET1B_15464
if 
  58@ <> 4
goto_if_false @SWEET1B_15500
wait 0
gosub @SWEET1B_17064
goto @SWEET1B_15464

:SWEET1B_15500
wait 1000
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Char.Delete($sweet_car)
goto @SWEET1B_15955

:SWEET1B_15530
78@ = Streaming.GetAreaVisible()
if 
  78@ == 5
goto_if_false @SWEET1B_15566
World.SwitchEntryExit('LACRAK', True)

:SWEET1B_15566
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
78@ = Streaming.GetAreaVisible()
if 
  78@ == 5
goto_if_false @SWEET1B_15953
if 
  63@ == 1
goto_if_false @SWEET1B_15953
if 
  not Char.IsDead(36@)
goto_if_false @SWEET1B_15701
if 
  71@ == 0
goto_if_false @SWEET1B_15701
Task.DieNamedAnim(36@, "CRCKDETH2", "CRACK", 4.0, 0)
Char.DropObject(36@, True)
71@ = 1

:SWEET1B_15701
if 
  not Char.IsDead(54@)
goto_if_false @SWEET1B_15779
if 
  72@ == 0
goto_if_false @SWEET1B_15779
Task.DieNamedAnim(54@, "CRCKDETH1", "CRACK", 4.0, 0)
Char.DropObject(54@, True)
72@ = 1

:SWEET1B_15779
if 
  not Char.IsDead(61@)
goto_if_false @SWEET1B_15857
if 
  74@ == 0
goto_if_false @SWEET1B_15857
Task.DieNamedAnim(61@, "CRCKDETH4", "CRACK", 4.0, 0)
Char.DropObject(61@, True)
74@ = 1

:SWEET1B_15857
if 
  not Char.IsDead(59@)
goto_if_false @SWEET1B_15953
if 
  not Char.IsHealthGreater(59@, 80)
goto_if_false @SWEET1B_15953
if 
  70@ == 0
goto_if_false @SWEET1B_15953
Task.DieNamedAnim(59@, "CRCKDETH3", "CRACK", 4.0, 0)
Char.DropObject(59@, True)
70@ = 1

:SWEET1B_15953
return 

:SWEET1B_15955
$flag_crash_mission_counter += 1
Stat.RegisterMissionPassed('SWEET1B')
Text.PrintWithNumberBig('M_PASSR', 3, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(3)
Zone.SetGangStrength('GAN1', GangType.Grove, 40)
Zone.SetGangStrength('GAN2', GangType.Grove, 40)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.PlayerMadeProgress(1)
return 

:SWEET1B_16040
$bball_r3_is_pressed = 0
$lowrider_game_is_active = 0
set_var_text_label s$lowrider_pscore = 'LACRAK'
start_new_script @ENTEXT 
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SWEET1B_16099
Player.SetDrunkenness($statbike_temp, 0)

:SWEET1B_16099
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Path.SwitchRoadsOn(2272.922, -1649.556, 14.3311, 2266.101, -1633.219, 14.3505)
Path.SwitchPedRoadsOn(324.1973, 1116.758, 1082.898, 313.1226, 1124.197, 1082.898)
Streaming.MarkModelAsNoLongerNeeded(28)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(336)
Streaming.MarkModelAsNoLongerNeeded(107)
Streaming.MarkModelAsNoLongerNeeded(64)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Streaming.MarkModelAsNoLongerNeeded(492)
Game.EnableEntryExitPlayerGroupWarping(2165.72, -1673.14, 10.0, False)
Game.EnableEntryExitPlayerGroupWarping(319.56, 1117.64, 10.0, False)
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("CRACK")
Streaming.RemoveAnimation("BLOWJOBZ")
Streaming.RemoveAnimation("BASEBALL")
Streaming.RemoveAnimation("DEALER")
World.SwitchEntryExit('BAR2', True)
Pickup.Remove(79@)
Blip.Remove(44@)
Blip.Remove(45@)
Blip.Remove(38@)
Blip.Remove(39@)
CarGenerator.Switch($gen_car12, 101)
Char.RemoveElegantly($sweet_car)
Streaming.UnloadSpecialCharacter(1)
Game.EnableAmbientCrime(True)
Mission.Finish
return 

:SWEET1B_16361
78@ = Streaming.GetAreaVisible()
if 
  78@ == 0
goto_if_false @SWEET1B_17062
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_17062
if 
  not Char.LocateAnyMeansChar3D($sweet_car, $stattreadstamina_ctr, 30.0, 30.0, 8.0, False)
goto_if_false @SWEET1B_16574
if 
  47@ == 0
goto_if_false @SWEET1B_16567
if 
  43@ == 0
goto_if_false @SWEET1B_16485
World.SwitchEntryExit('LACRAK', False)

:SWEET1B_16485
Blip.Remove(45@)
Blip.Remove(44@)
Blip.Remove(39@)
Blip.Remove(38@)
39@ = Blip.AddForChar($sweet_car)
Blip.SetAsFriendly(39@, True)
Char.RemoveFromGroup($sweet_car)
Char.ClearTasks($sweet_car)
gosub @SWEET1B_17909
Text.PrintNow('SW1B_H', 6000, 1)
$sweet = 0
47@ = 1

:SWEET1B_16567
goto @SWEET1B_17062

:SWEET1B_16574
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_17062
if 
  Char.LocateAnyMeansChar3D($sweet_car, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @SWEET1B_17062
if 
  47@ == 1
goto_if_false @SWEET1B_17062
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_16700
Blip.Remove(39@)
Char.RemoveFromGroup($sweet_car)
$flag_cell_nation = Player.GetGroup($statbike_temp)
Group.SetMember($flag_cell_nation, $sweet_car)
Player.SetGroupRecruitment($statbike_temp, False)
Char.ListenToPlayerGroupCommands($sweet_car, False)

:SWEET1B_16700
if 
  102@ == 0
goto_if_false @SWEET1B_16759
Blip.Remove(38@)
38@ = Blip.AddForCoord(2301.07, -1754.4, 12.54)
Text.PrintNow('SW1B_A', 7000, 1)

:SWEET1B_16759
if 
  102@ == 1
goto_if_false @SWEET1B_16822
if 
  not Char.IsDead(35@)
goto_if_false @SWEET1B_16806
Blip.Remove(44@)
44@ = Blip.AddForChar(35@)

:SWEET1B_16806
Text.PrintNow('SW1B_B', 7000, 1)

:SWEET1B_16822
if 
  102@ == 2
goto_if_false @SWEET1B_16899
if 
  78@ == 0
goto_if_false @SWEET1B_16883
Blip.Remove(38@)
38@ = Blip.AddForCoord(2171.781, -1676.78, 14.0859)

:SWEET1B_16883
Text.PrintNow('SW1B_1', 7000, 1)

:SWEET1B_16899
if 
  102@ == 3
goto_if_false @SWEET1B_16989
World.SwitchEntryExit('LACRAK', True)
if 
  78@ == 0
goto_if_false @SWEET1B_16973
Blip.Remove(38@)
38@ = Blip.AddForCoord(2169.72, -1673.14, 13.01)

:SWEET1B_16973
Text.PrintNow('SW1B_1', 7000, 1)

:SWEET1B_16989
if 
  102@ == 4
goto_if_false @SWEET1B_17048
Blip.Remove(38@)
38@ = Blip.AddForCoord(2513.33, -1672.12, 12.52)
Text.PrintNow('SW1B_F', 7000, 1)

:SWEET1B_17048
$sweet = 1
47@ = 0

:SWEET1B_17062
return 

:SWEET1B_17064
if or
  101@ == 0
  101@ == 1
goto_if_false @SWEET1B_17134
if 
  is_int_lvar_greater_or_equal_to_int_lvar 91@ >= 58@
goto_if_false @SWEET1B_17134
if 
  TIMERA > 200
goto_if_false @SWEET1B_17134
gosub @SWEET1B_17206

:SWEET1B_17134
if 
  101@ == 2
goto_if_false @SWEET1B_17204
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET1B_17204
gosub @SWEET1B_17615
101@ = 0
58@ += 1
92@ = 0
Text.ClearPrints
TIMERA = 0

:SWEET1B_17204
return 

:SWEET1B_17206
if 
  101@ == 0
goto_if_false @SWEET1B_17242
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 93@(58@,8i))
101@ = 1

:SWEET1B_17242
if 
  101@ == 1
goto_if_false @SWEET1B_17307
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET1B_17307
Text.PrintNow($6571(58@,8s), 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
gosub @SWEET1B_17309
101@ = 2

:SWEET1B_17307
return 

:SWEET1B_17309
if or
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37446
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37447
goto_if_false @SWEET1B_17381
if 
  not Char.IsDead(35@)
goto_if_false @SWEET1B_17381
Char.ShutUpForScriptedSpeech(35@, True)
Char.StartFacialTalk(35@, 3000)
return 

:SWEET1B_17381
if or
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37465
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37467
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37470
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37480
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37482
goto_if_false @SWEET1B_17479
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
return 

:SWEET1B_17479
if or
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37448
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37451
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37483
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37486
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37456
goto_if_false @SWEET1B_17582
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
goto @SWEET1B_17613

:SWEET1B_17582
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_17613
Char.ShutUpForScriptedSpeech($sweet_car, True)
Char.StartFacialTalk($sweet_car, 3000)

:SWEET1B_17613
return 

:SWEET1B_17615
if or
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37446
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37447
goto_if_false @SWEET1B_17684
if 
  not Char.IsDead(35@)
goto_if_false @SWEET1B_17684
Char.ShutUpForScriptedSpeech(35@, False)
Char.StopFacialTalk(35@)
return 

:SWEET1B_17684
if or
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37465
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37467
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37470
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37480
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37482
goto_if_false @SWEET1B_17779
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
return 

:SWEET1B_17779
if or
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37448
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37451
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37483
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37486
  is_int_lvar_equal_to_constant 93@(58@,8i) == 37456
goto_if_false @SWEET1B_17879
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
goto @SWEET1B_17907

:SWEET1B_17879
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET1B_17907
Char.ShutUpForScriptedSpeech($sweet_car, False)
Char.StopFacialTalk($sweet_car)

:SWEET1B_17907
return 

:SWEET1B_17909
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  109@ == 0
goto_if_false @SWEET1B_17940
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34211)

:SWEET1B_17940
if 
  109@ == 1
goto_if_false @SWEET1B_17967
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34212)

:SWEET1B_17967
if 
  109@ == 2
goto_if_false @SWEET1B_17994
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34213)

:SWEET1B_17994
if 
  109@ == 3
goto_if_false @SWEET1B_18021
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34214)

:SWEET1B_18021
if 
  109@ == 4
goto_if_false @SWEET1B_18048
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34215)

:SWEET1B_18048
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:SWEET1B_18064
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET1B_18108
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_18101
return 

:SWEET1B_18101
goto @SWEET1B_18064

:SWEET1B_18108
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
if 
  109@ == 0
goto_if_false @SWEET1B_18146
Text.PrintNow('RYDX_AL', 3000, 1)

:SWEET1B_18146
if 
  109@ == 1
goto_if_false @SWEET1B_18180
Text.PrintNow('RYDX_AM', 3000, 1)

:SWEET1B_18180
if 
  109@ == 2
goto_if_false @SWEET1B_18214
Text.PrintNow('RYDX_AN', 3000, 1)

:SWEET1B_18214
if 
  109@ == 3
goto_if_false @SWEET1B_18248
Text.PrintNow('RYDX_AO', 3000, 1)

:SWEET1B_18248
if 
  109@ == 4
goto_if_false @SWEET1B_18282
Text.PrintNow('RYDX_AP', 3000, 1)

:SWEET1B_18282
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET1B_18326
wait 0
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_18319
return 

:SWEET1B_18319
goto @SWEET1B_18282

:SWEET1B_18326
109@ += 1
if 
  109@ > 4
goto_if_false @SWEET1B_18358
109@ = 0

:SWEET1B_18358
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET1B_18374

:SWEET1B_18374
return 

//-------------Mission 15---------------
// Originally: Drive-Thru

:SWEET3
script_name 'SWEET3'
gosub @SWEET3_1825
if 
  has_deatharrest_been_executed 
goto_if_false @SWEET3_38
gosub @SWEET3_12890

:SWEET3_38
gosub @SWEET3_12979
terminate_this_script 

:SWEET3_47
switch_start 79@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @SWEET3_1823 {caseNum1} 1 {caseLabel1} @SWEET3_175 {caseNum2} 2 {caseLabel2} @SWEET3_477 {caseNum3} 3 {caseLabel3} @SWEET3_779 {caseNum4} 4 {caseLabel4} @SWEET3_1009 {caseNum5} 5 {caseLabel5} @SWEET3_1215 {caseNum6} 6 {caseLabel6} @SWEET3_1445 {caseNum7} 7 {caseLabel7} @SWEET3_1579
switch_continued 8 {caseLabel1} @SWEET3_1689 {caseNum2} -1 {caseLabel2} @SWEET3_1823 {caseNum3} -1 {caseLabel3} @SWEET3_1823 {caseNum4} -1 {caseLabel4} @SWEET3_1823 {caseNum5} -1 {caseLabel5} @SWEET3_1823 {caseNum6} -1 {caseLabel6} @SWEET3_1823 {caseNum7} -1 {caseLabel7} @SWEET3_1823 {caseNum8} -1 {caseLabel8} @SWEET3_1823 {caseNum9} -1 {caseLabel9} @SWEET3_1823

:SWEET3_175
set_var_text_label s$6587[0] = 'SWE2_BA'
set_var_text_label s$6587[1] = 'SWE2_BB'
set_var_text_label s$6587[2] = 'SWE2_BC'
set_var_text_label s$6587[3] = 'SWE2_BD'
set_var_text_label s$6587[4] = 'SWE2_BE'
set_var_text_label s$6587[5] = 'SWE2_BF'
set_var_text_label s$6587[6] = 'SWE2_BG'
set_var_text_label s$6587[7] = 'SWE2_BH'
set_var_text_label s$6587[8] = 'SWE2_BJ'
set_var_text_label s$6587[9] = 'SWE2_BK'
set_var_text_label s$6587[10] = 'SWE2_BL'
set_var_text_label s$6587[11] = 'SWE2_BM'
set_lvar_int_to_constant 66@ = 37601
set_lvar_int_to_constant 67@ = 37602
set_lvar_int_to_constant 68@ = 37603
set_lvar_int_to_constant 69@ = 37604
set_lvar_int_to_constant 70@ = 37605
set_lvar_int_to_constant 71@ = 37606
set_lvar_int_to_constant 72@ = 37607
set_lvar_int_to_constant 73@ = 37608
set_lvar_int_to_constant 74@ = 37609
set_lvar_int_to_constant 75@ = 37610
set_lvar_int_to_constant 76@ = 37611
set_lvar_int_to_constant 77@ = 37612
58@ = 11
goto @SWEET3_1823

:SWEET3_477
set_var_text_label s$6587[0] = 'SWE2_CA'
set_var_text_label s$6587[1] = 'SWE2_CC'
set_var_text_label s$6587[2] = 'SWE2_GA'
set_var_text_label s$6587[3] = 'SWE2_GB'
set_var_text_label s$6587[4] = 'SWE2_GC'
set_var_text_label s$6587[5] = 'SWE2_GD'
set_var_text_label s$6587[6] = 'SWE2_GE'
set_var_text_label s$6587[7] = 'SWE2_HA'
set_var_text_label s$6587[8] = 'SWE2_HB'
set_var_text_label s$6587[9] = 'SWE2_HC'
set_var_text_label s$6587[10] = 'SWE2_HD'
set_var_text_label s$6587[11] = 'SWE2_HE'
set_lvar_int_to_constant 66@ = 37613
set_lvar_int_to_constant 67@ = 37615
set_lvar_int_to_constant 68@ = 37630
set_lvar_int_to_constant 69@ = 37631
set_lvar_int_to_constant 70@ = 37632
set_lvar_int_to_constant 71@ = 37633
set_lvar_int_to_constant 72@ = 37634
set_lvar_int_to_constant 73@ = 37635
set_lvar_int_to_constant 74@ = 37636
set_lvar_int_to_constant 75@ = 37637
set_lvar_int_to_constant 76@ = 37638
set_lvar_int_to_constant 77@ = 37639
58@ = 11
goto @SWEET3_1823

:SWEET3_779
set_var_text_label s$6587[0] = 'SWE2_MA'
set_var_text_label s$6587[1] = 'SWE2_MB'
set_var_text_label s$6587[2] = 'SWE2_MC'
set_var_text_label s$6587[3] = 'SWE2_MD'
set_var_text_label s$6587[4] = 'SWE2_ME'
set_var_text_label s$6587[5] = 'SWE2_MF'
set_var_text_label s$6587[6] = 'SWE2_MG'
set_var_text_label s$6587[7] = 'SWE2_MH'
set_var_text_label s$6587[8] = 'SWE2_MJ'
set_lvar_int_to_constant 66@ = 37651
set_lvar_int_to_constant 67@ = 37652
set_lvar_int_to_constant 68@ = 37653
set_lvar_int_to_constant 69@ = 37654
set_lvar_int_to_constant 70@ = 37655
set_lvar_int_to_constant 71@ = 37656
set_lvar_int_to_constant 72@ = 37657
set_lvar_int_to_constant 73@ = 37658
set_lvar_int_to_constant 74@ = 37659
58@ = 8
goto @SWEET3_1823

:SWEET3_1009
set_var_text_label s$6587[0] = 'SWE2_NA'
set_var_text_label s$6587[1] = 'SWE2_NB'
set_var_text_label s$6587[2] = 'SWE2_NC'
set_var_text_label s$6587[3] = 'SWE2_ND'
set_var_text_label s$6587[4] = 'SWE2_NE'
set_var_text_label s$6587[5] = 'SWE2_NF'
set_var_text_label s$6587[6] = 'SWE2_NG'
set_var_text_label s$6587[7] = 'SWE2_NH'
set_lvar_int_to_constant 66@ = 37660
set_lvar_int_to_constant 67@ = 37661
set_lvar_int_to_constant 68@ = 37662
set_lvar_int_to_constant 69@ = 37663
set_lvar_int_to_constant 70@ = 37664
set_lvar_int_to_constant 71@ = 37665
set_lvar_int_to_constant 72@ = 37666
set_lvar_int_to_constant 73@ = 37667
58@ = 7
goto @SWEET3_1823

:SWEET3_1215
set_var_text_label s$6587[0] = 'SWE2_OA'
set_var_text_label s$6587[1] = 'SWE2_OB'
set_var_text_label s$6587[2] = 'SWE2_OC'
set_var_text_label s$6587[3] = 'SWE2_OD'
set_var_text_label s$6587[4] = 'SWE2_OE'
set_var_text_label s$6587[5] = 'SWE2_OF'
set_var_text_label s$6587[6] = 'SWE2_OG'
set_var_text_label s$6587[7] = 'SWE2_OH'
set_var_text_label s$6587[8] = 'SWE2_OJ'
set_lvar_int_to_constant 66@ = 37668
set_lvar_int_to_constant 67@ = 37669
set_lvar_int_to_constant 68@ = 37670
set_lvar_int_to_constant 69@ = 37671
set_lvar_int_to_constant 70@ = 37672
set_lvar_int_to_constant 71@ = 37673
set_lvar_int_to_constant 72@ = 37674
set_lvar_int_to_constant 73@ = 37675
set_lvar_int_to_constant 74@ = 37676
58@ = 8
goto @SWEET3_1823

:SWEET3_1445
set_var_text_label s$6587[0] = 'SWE2_PA'
set_var_text_label s$6587[1] = 'SWE2_PB'
set_var_text_label s$6587[2] = 'SWE2_PC'
set_var_text_label s$6587[3] = 'SWE2_PD'
set_var_text_label s$6587[4] = 'SWE2_PE'
set_lvar_int_to_constant 66@ = 37677
set_lvar_int_to_constant 67@ = 37678
set_lvar_int_to_constant 68@ = 37679
set_lvar_int_to_constant 69@ = 37680
set_lvar_int_to_constant 70@ = 37681
58@ = 4
goto @SWEET3_1823

:SWEET3_1579
set_var_text_label s$6587[0] = 'SWE2_DA'
set_var_text_label s$6587[1] = 'SWE2_DB'
set_var_text_label s$6587[2] = 'SWE2_DC'
set_var_text_label s$6587[3] = 'SWE2_DD'
set_lvar_int_to_constant 66@ = 37616
set_lvar_int_to_constant 67@ = 37617
set_lvar_int_to_constant 68@ = 37618
set_lvar_int_to_constant 69@ = 37619
58@ = 3
goto @SWEET3_1823

:SWEET3_1689
set_var_text_label s$6587[0] = 'SWE2_EA'
set_var_text_label s$6587[1] = 'SWE2_EB'
set_var_text_label s$6587[2] = 'SWE2_EC'
set_var_text_label s$6587[3] = 'SWE2_ED'
set_var_text_label s$6587[4] = 'SWE2_EE'
set_lvar_int_to_constant 66@ = 37620
set_lvar_int_to_constant 67@ = 37621
set_lvar_int_to_constant 68@ = 37622
set_lvar_int_to_constant 69@ = 37623
set_lvar_int_to_constant 70@ = 37624
58@ = 4
goto @SWEET3_1823

:SWEET3_1823
return 

:SWEET3_1825
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
96@ = 0
97@ = 0
41@ = 0
92@ = 0
83@ = 0
84@ = 0
91@ = 0
101@ = 0
102@ = 0
103@ = 0
59@ = 0
60@ = 0
47@ = 0
98@ = 0
99@ = 0
42@ = 0
56@ = 0
43@ = 0
51@ = 0
set_lvar_int_to_lvar_int 89@ = 45@
set_lvar_int_to_lvar_int 90@ = 46@
wait 0
Text.LoadMissionText('SWEET3')
Streaming.RequestModel(492)

:SWEET3_2003
if 
  not Streaming.HasModelLoaded(492)
goto_if_false @SWEET3_2030
wait 0
goto @SWEET3_2003

:SWEET3_2030
CarGenerator.Switch($gen_car12, 0)
World.ClearArea(2516.636, -1675.691, 13.0101, 15.0, True)
World.ClearArea(2508.795, -1671.707, 12.3892, 15.0, True)
Car.CustomPlateForNextCar(492, "GROVE4L_")
$sweet_carZ = Car.Create(492, 2508.7, -1671.7, 12.3)
Car.SetProofs($sweet_carZ, False, True, False, False, False)
Car.ChangeColor($sweet_carZ, 59, 34)
Car.SetHeading($sweet_carZ, 166.9)
Car.SetCanBurstTires($sweet_carZ, False)
Streaming.MarkModelAsNoLongerNeeded(492)
Cutscene.Load('SWEET2A')

:SWEET3_2180
if 
  not Cutscene.HasLoaded
goto_if_false @SWEET3_2204
wait 0
goto @SWEET3_2180

:SWEET3_2204
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SWEET3_2213
if 
  not Cutscene.HasFinished
goto_if_false @SWEET3_2237
wait 0
goto @SWEET3_2213

:SWEET3_2237
Camera.DoFade(0, Fade.Out)

:SWEET3_2243
if 
  Camera.GetFadingStatus
goto_if_false @SWEET3_2267
wait 0
goto @SWEET3_2243

:SWEET3_2267
Cutscene.Clear
Streaming.LoadSpecialCharacter(1, 'SMOKE')
Streaming.LoadSpecialCharacter(2, 'SWEET')
Streaming.LoadSpecialCharacter(3, 'RYDER2')
Streaming.RequestModel(372)
Streaming.RequestModel(#CIGAR)
Streaming.LoadAllModelsNow

:SWEET3_2319
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasSpecialCharacterLoaded(3)
  not Streaming.HasModelLoaded(372)
goto_if_false @SWEET3_2358
wait 0
goto @SWEET3_2319

:SWEET3_2358
if 
  not Streaming.HasModelLoaded(#CIGAR)
goto_if_false @SWEET3_2384
wait 0
goto @SWEET3_2358

:SWEET3_2384
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_2819
$mc_strap = Char.Create(PedType.Mission1, 290, 2511.514, -1671.464, 12.4607)
Char.SetAnimGroup($mc_strap, "FATMAN")
Char.SetHeading($mc_strap, 84.5)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($mc_strap, $sweet_carZ, 10000, 1)
Char.GiveWeapon($mc_strap, WeaponType.Tec9, 99999)
Char.SetNeverTargeted($mc_strap, True)
Char.SetSuffersCriticalHits($mc_strap, False)
Char.SetHealth($mc_strap, 500)
Char.SetCantBeDraggedOut($mc_strap, True)
Char.SetStayInCarWhenJacked($mc_strap, True)
93@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetDecisionMaker($mc_strap, 93@)
Char.SetGetOutUpsideDownCar($mc_strap, False)
$big_smoke_car = Char.Create(PedType.Mission1, 291, 2507.886, -1667.801, 12.3881)
Char.SetAnimGroup($big_smoke_car, "GANG2")
Char.SetHeading($big_smoke_car, 167.8)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($big_smoke_car, $sweet_carZ, 10000, 2)
Char.GiveWeapon($big_smoke_car, WeaponType.Tec9, 99999)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetSuffersCriticalHits($big_smoke_car, False)
Char.SetHealth($big_smoke_car, 500)
Char.SetCantBeDraggedOut($big_smoke_car, True)
Char.SetStayInCarWhenJacked($big_smoke_car, True)
94@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetDecisionMaker($big_smoke_car, 94@)
Char.SetGetOutUpsideDownCar($big_smoke_car, False)
$sweet_car = Char.Create(PedType.Mission1, 292, 2506.348, -1673.591, 12.3784)
Char.SetAnimGroup($sweet_car, "GANG1")
Char.SetHeading($sweet_car, 346.0)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($sweet_car, $sweet_carZ, 10000, 0)
Char.GiveWeapon($sweet_car, WeaponType.Tec9, 99999)
Char.SetNeverTargeted($sweet_car, True)
Char.SetSuffersCriticalHits($sweet_car, False)
Char.SetHealth($sweet_car, 500)
Char.SetCantBeDraggedOut($sweet_car, True)
Char.SetStayInCarWhenJacked($sweet_car, True)
95@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetDecisionMaker($sweet_car, 95@)
Char.SetGetOutUpsideDownCar($sweet_car, False)
Game.SetRelationship(RelationshipType.Respect, PedType.Gang2, PedType.Mission1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Gang2)

:SWEET3_2819
Audio.SetRadioChannel(RadioChannel.BounceFM)
39@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(39@, True)
Camera.SetFadingColor(0, 0, 0)
World.ClearArea(2516.54, -1671.2, 12.87, 2.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2516.54, -1671.2, 12.87)
Char.SetHeading($stattreadstamina_ctr, 81.2)
Streaming.LoadSceneInDirection(2516.54, -1671.2, 12.87, 81.2)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.DoFade(1000, Fade.In)
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_2967
goto @SWEET3_12890

:SWEET3_2967
TIMERB = 0
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37600)

:SWEET3_2983
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET3_3048
wait 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_3041
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_3041
goto @SWEET3_2983

:SWEET3_3048
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE2_AA', 10000, 1)

:SWEET3_3068
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET3_3133
wait 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_3126
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_3126
goto @SWEET3_3068

:SWEET3_3133
86@ = 0
85@ = 0
87@ = 0
79@ = 1
gosub @SWEET3_47
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_3207
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_3207
Text.PrintNow('TWAR2_A', 6000, 1)
TIMERB = 0
$sweet = 0
59@ = 0

:SWEET3_3244
if or
  not Car.Locate3D($sweet_carZ, 2404.1, -1891.5, 12.3, 4.0, 4.0, 4.0, $sweet)
  not Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carZ)
  not Car.IsOnAllWheels($sweet_carZ)
goto_if_false @SWEET3_4433
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SWEET3_3332
goto @SWEET3_12908

:SWEET3_3332
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_3378
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890
goto @SWEET3_4270

:SWEET3_3378
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_4270
if 
  56@ == 0
goto_if_false @SWEET3_3670
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET3_3583
if 
  59@ == 0
goto_if_false @SWEET3_3511
Blip.Remove(39@)
39@ = Blip.AddForCoord(2404.1, -1891.5, 12.3)
Text.PrintNow('TWAR2_C', 6000, 1)
$sweet = 1
TIMERB = 0
59@ = 1

:SWEET3_3511
if 
  43@ == 0
goto_if_false @SWEET3_3569
if 
  TIMERB > 4000
goto_if_false @SWEET3_3562
gosub @SWEET3_13144
43@ = 1

:SWEET3_3562
goto @SWEET3_3576

:SWEET3_3569
gosub @SWEET3_13144

:SWEET3_3576
goto @SWEET3_3670

:SWEET3_3583
if 
  59@ == 1
goto_if_false @SWEET3_3670
Blip.Remove(39@)
39@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(39@, True)
gosub @SWEET3_15488
Text.PrintNow('TW2_X', 3000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
$sweet = 0
59@ = 0

:SWEET3_3670
if 
  not Car.IsHealthGreater($sweet_carZ, 250)
goto_if_false @SWEET3_4270
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37647)

:SWEET3_3698
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_3880
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_3756
Text.PrintNow('SWE3_E', 2000, 1)
goto @SWEET3_12890

:SWEET3_3756
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET3_3795
Text.PrintNow('SWE3_F', 2000, 1)
goto @SWEET3_12890

:SWEET3_3795
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_3834
Text.PrintNow('SWE3_G', 2000, 1)
goto @SWEET3_12890

:SWEET3_3834
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_3873
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_3873
goto @SWEET3_3698

:SWEET3_3880
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE2_KC', 2000, 1)
if 
  56@ == 0
goto_if_false @SWEET3_4065
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_4065
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET3_3978
Task.LeaveCarImmediately($mc_strap, $sweet_carZ)
Task.SmartFleeChar($mc_strap, $stattreadstamina_ctr, 100.0, 10000)

:SWEET3_3978
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_4018
Task.LeaveCarImmediately($sweet_car, $sweet_carZ)
Task.SmartFleeChar($sweet_car, $stattreadstamina_ctr, 100.0, 10000)

:SWEET3_4018
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_4058
Task.LeaveCarImmediately($big_smoke_car, $sweet_carZ)
Task.SmartFleeChar($big_smoke_car, $stattreadstamina_ctr, 100.0, 10000)

:SWEET3_4058
56@ = 1

:SWEET3_4065
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_4247
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_4123
Text.PrintNow('SWE3_E', 2000, 1)
goto @SWEET3_12890

:SWEET3_4123
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET3_4162
Text.PrintNow('SWE3_F', 2000, 1)
goto @SWEET3_12890

:SWEET3_4162
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_4201
Text.PrintNow('SWE3_G', 2000, 1)
goto @SWEET3_12890

:SWEET3_4201
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_4240
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_4240
goto @SWEET3_4065

:SWEET3_4247
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_4270
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_4309
Text.PrintNow('SWE3_E', 2000, 1)
goto @SWEET3_12890

:SWEET3_4309
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET3_4348
Text.PrintNow('SWE3_F', 2000, 1)
goto @SWEET3_12890

:SWEET3_4348
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_4387
Text.PrintNow('SWE3_G', 2000, 1)
goto @SWEET3_12890

:SWEET3_4387
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_4426
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_4426
goto @SWEET3_3244

:SWEET3_4433
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Text.ClearPrints
Camera.SetFixedPosition(2405.975, -1882.475, 15.2036, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2405.569, -1883.389, 15.2158, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.Out)

:SWEET3_4504
if 
  Camera.GetFadingStatus
goto_if_false @SWEET3_4528
wait 0
goto @SWEET3_4504

:SWEET3_4528
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET3_4571
Char.SetCoordinates($stattreadstamina_ctr, 2364.193, -1914.077, 12.4235)
goto @SWEET3_4591

:SWEET3_4571
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2364.193, -1914.077, 12.4235)

:SWEET3_4591
Char.Delete($mc_strap)
Char.Delete($big_smoke_car)
Char.Delete($sweet_car)
Car.Delete($sweet_carZ)
Streaming.MarkModelAsNoLongerNeeded(107)
Streaming.MarkModelAsNoLongerNeeded(103)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.MarkModelAsNoLongerNeeded(412)
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Streaming.LoadSceneInDirection(2397.644, -1880.276, 23.8686, 160.0)
World.ClearArea(2404.1, -1891.5, 12.3, 120.0, True)
Player.MakeSafeForCutscene($statbike_temp)
Streaming.Switch(False)
Cutscene.Load('SWEET2B')

:SWEET3_4716
if 
  not Cutscene.HasLoaded
goto_if_false @SWEET3_4740
wait 0
goto @SWEET3_4716

:SWEET3_4740
World.ClearArea(2404.1, -1891.5, 12.3, 120.0, True)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SWEET3_4773
if 
  not Cutscene.HasFinished
goto_if_false @SWEET3_4797
wait 0
goto @SWEET3_4773

:SWEET3_4797
Camera.DoFade(0, Fade.Out)

:SWEET3_4803
if 
  Camera.GetFadingStatus
goto_if_false @SWEET3_4827
wait 0
goto @SWEET3_4803

:SWEET3_4827
Cutscene.Clear
Streaming.RequestModel(412)
Streaming.RequestModel(107)
Streaming.RequestModel(106)
Streaming.RequestModel(103)
Streaming.RequestModel(492)
Streaming.LoadSpecialCharacter(1, 'SMOKE')
Streaming.LoadSpecialCharacter(2, 'SWEET')
Streaming.LoadSpecialCharacter(3, 'RYDER2')
Streaming.RequestModel(372)
Streaming.LoadAllModelsNow

:SWEET3_4897
if or
  not Streaming.HasModelLoaded(412)
  not Streaming.HasModelLoaded(107)
  not Streaming.HasModelLoaded(103)
  not Streaming.HasModelLoaded(492)
goto_if_false @SWEET3_4937
wait 0
goto @SWEET3_4897

:SWEET3_4937
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasSpecialCharacterLoaded(3)
  not Streaming.HasModelLoaded(372)
goto_if_false @SWEET3_4976
wait 0
goto @SWEET3_4937

:SWEET3_4976
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Blip.Remove(39@)
65@ = Sequence.Open()
Task.CarDriveToCoord(-1, -1, 2410.739, -1960.027, 12.3906, 13.0, DriveMode.Normal, 412, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 2326.903, -1969.676, 12.3738, 15.0, DriveMode.Normal, 412, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 2235.262, -1891.301, 12.3828, 18.0, DriveMode.Normal, 412, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 2094.307, -1891.856, 12.3738, 18.0, DriveMode.Normal, 412, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 2105.82, -1754.177, 12.3984, 20.0, DriveMode.Normal, 412, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 2321.914, -1736.094, 12.3828, 20.0, DriveMode.Normal, 412, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 2498.32, -1658.28, 12.36, 20.0, DriveMode.Normal, 412, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, -1, 2502.89, -1674.71, 12.37, 15.0, DriveMode.Normal, 412, DrivingMode.AvoidCars)
Sequence.Close(65@)
Car.CustomPlateForNextCar(492, "GROVE4L_")
$sweet_carZ = Car.Create(492, 2396.36, -1917.96, 12.38)
Car.SetProofs($sweet_carZ, False, True, False, False, False)
Car.ChangeColor($sweet_carZ, 59, 34)
Car.SetCanBurstTires($sweet_carZ, False)
Streaming.MarkModelAsNoLongerNeeded(492)
$mc_strap = Char.CreateAsPassenger($sweet_carZ, PedType.Mission1, 290, 2)
Char.SetAnimGroup($mc_strap, "FATMAN")
Char.SetHeading($mc_strap, 84.5)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($mc_strap, $sweet_carZ, 10000, 1)
Char.GiveWeapon($mc_strap, WeaponType.Tec9, 99999)
Char.SetNeverTargeted($mc_strap, True)
Char.SetSuffersCriticalHits($mc_strap, False)
Char.SetHealth($mc_strap, 500)
Char.SetCantBeDraggedOut($mc_strap, True)
Char.SetStayInCarWhenJacked($mc_strap, True)
Char.SetDecisionMaker($mc_strap, 93@)
Char.SetGetOutUpsideDownCar($mc_strap, False)
$big_smoke_car = Char.CreateAsPassenger($sweet_carZ, PedType.Mission1, 291, 1)
Char.SetAnimGroup($big_smoke_car, "GANG2")
Char.SetHeading($big_smoke_car, 167.8)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($big_smoke_car, $sweet_carZ, 10000, 2)
Char.GiveWeapon($big_smoke_car, WeaponType.Tec9, 99999)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetSuffersCriticalHits($big_smoke_car, False)
Char.SetHealth($big_smoke_car, 500)
Char.SetCantBeDraggedOut($big_smoke_car, True)
Char.SetStayInCarWhenJacked($big_smoke_car, True)
Char.SetDecisionMaker($big_smoke_car, 94@)
Char.SetGetOutUpsideDownCar($big_smoke_car, False)
$sweet_car = Char.CreateAsPassenger($sweet_carZ, PedType.Mission1, 292, 0)
Char.SetAnimGroup($sweet_car, "GANG1")
Char.SetHeading($sweet_car, 346.0)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($sweet_car, $sweet_carZ, 10000, 0)
Char.GiveWeapon($sweet_car, WeaponType.Tec9, 99999)
Char.SetNeverTargeted($sweet_car, True)
Char.SetSuffersCriticalHits($sweet_car, False)
Char.SetHealth($sweet_car, 500)
Char.SetCantBeDraggedOut($sweet_car, True)
Char.SetStayInCarWhenJacked($sweet_car, True)
Char.SetDecisionMaker($sweet_car, 95@)
Char.SetGetOutUpsideDownCar($sweet_car, False)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_5792
World.ClearArea(2396.36, -1917.96, 12.38, 10.0, True)
Car.SetCoordinates($sweet_carZ, 2396.36, -1917.96, 12.38)
Car.SetHeading($sweet_carZ, 267.3)
if 
  not Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET3_5792
Char.WarpIntoCar($stattreadstamina_ctr, $sweet_carZ)

:SWEET3_5792
World.ClearArea(2411.31, -1928.837, 12.3906, 10.0, True)
40@ = Car.Create(412, 2411.31, -1928.837, 12.3906)
Car.ChangeColor(40@, 22, 22)
Car.SetCanBurstTires(40@, False)
Car.SetLoadCollisionFlag(40@, False)
Car.SetHealth(40@, 3000)
Car.LockDoors(40@, CarLock.LockoutPlayerOnly)
Car.SetHeading(40@, 178.7106)
52@ = Blip.AddForCar(40@)
89@ = Char.CreateInsideCar(40@, PedType.Mission2, 103)
Char.SetSuffersCriticalHits(89@, False)
Char.GiveWeapon(89@, WeaponType.Tec9, 99999)
Char.SetCurrentWeapon(89@, WeaponType.Tec9)
Char.SetAccuracy(89@, 40)
Char.PerformSequence(89@, 65@)
Sequence.Clear(65@)
90@ = Char.CreateAsPassenger(40@, PedType.Mission2, 103, 0)
Char.SetSuffersCriticalHits(90@, False)
Char.GiveWeapon(90@, WeaponType.Tec9, 99999)
Char.SetCurrentWeapon(90@, WeaponType.Tec9)
Char.SetAccuracy(90@, 40)
Task.DriveBy(90@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 5000.0, DriveByType.Ai, True, 60)
53@ = Char.Create(PedType.Mission1, 106, 2506.45, -1681.02, 12.53)
Char.SetHeading(53@, 80.0)
Char.SetHealth(53@, 30)
Char.GiveWeapon(53@, WeaponType.Tec9, 99999)
Char.SetStayInSamePlace(53@, True)
Char.SetNeverTargeted(53@, True)
54@ = Char.Create(PedType.Mission1, 107, 2507.3, -1680.1, 13.0)
Char.SetHeading(54@, 90.0)
Char.SetHealth(54@, 30)
Char.GiveWeapon(54@, WeaponType.Tec9, 99999)
Char.SetStayInSamePlace(54@, True)
Char.SetNeverTargeted(54@, True)
Task.ChatWithChar(53@, 54@, True, 1)
Task.ChatWithChar(54@, 53@, False, 1)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_6296
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_6296
Car.SetHealth($sweet_carZ, 3100)
if 
  Char.IsInCar($sweet_car, $sweet_carZ)
goto_if_false @SWEET3_6296
Char.SetCurrentWeapon($sweet_car, WeaponType.Tec9)
Task.DriveBy($sweet_car, -1, 40@, 0.0, 0.0, 0.0, 5000.0, DriveByType.Ai, True, 45)

:SWEET3_6296
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_6383
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_6383
if 
  Char.IsInCar($big_smoke_car, $sweet_carZ)
goto_if_false @SWEET3_6383
Task.DriveBy($big_smoke_car, -1, 40@, 0.0, 0.0, 0.0, 5000.0, DriveByType.Ai, False, 45)

:SWEET3_6383
Streaming.MarkModelAsNoLongerNeeded(412)
Streaming.MarkModelAsNoLongerNeeded(107)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
TIMERB = 0
60@ = 0
91@ = 0
59@ = 0
Game.SetRelationship(RelationshipType.Respect, PedType.Gang2, PedType.Mission1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Gang2)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Player1)
Streaming.LoadSceneInDirection(2396.36, -1917.96, 12.38, 267.3)
Camera.DoFade(1000, Fade.In)
86@ = 0
85@ = 0
87@ = 0
79@ = 2
gosub @SWEET3_47
43@ = 0
100@ = 0
Player.ClearWantedLevel($statbike_temp)
Game.EnableAmbientCrime(False)
36@ = 0
37@ = 0
64@ = 0
goto @SWEET3_6579
81@ = Blip.AddForChar(89@)
82@ = Blip.AddForChar(90@)

:SWEET3_6579
if or
  not Char.IsDead(89@)
  not Char.IsDead(90@)
goto_if_false @SWEET3_9366
wait 0
if 
  not Car.IsDead(40@)
goto_if_false @SWEET3_7609
80@ = Streaming.GetAreaVisible()
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @SWEET3_7609
if 
  80@ == 0
goto_if_false @SWEET3_7609
if and
  Car.Locate3D(40@, 2502.89, -1674.71, 12.37, 8.0, 8.0, 5.0, False)
  not Char.IsDead(89@)
  not Char.IsDead(90@)
goto_if_false @SWEET3_7609
Camera.DoFade(500, Fade.Out)

:SWEET3_6724
if 
  Camera.GetFadingStatus
goto_if_false @SWEET3_6748
wait 0
goto @SWEET3_6724

:SWEET3_6748
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
80@ = Streaming.GetAreaVisible()
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET3_6802
62@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.FreezePosition(62@, True)
goto @SWEET3_6809

:SWEET3_6802
Char.FreezePosition($stattreadstamina_ctr, True)

:SWEET3_6809
Streaming.SetAreaVisible(0)
Streaming.RequestCollision(2497.299, -1679.542)
Streaming.LoadSceneInDirection(2513.544, -1682.85, 14.1195, 41.0)
World.ClearArea(2513.544, -1682.85, 14.1195, 70.0, True)
Camera.SetFixedPosition(2514.399, -1683.345, 14.2746, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2513.544, -1682.85, 14.1195, SwitchType.JumpCut)
if 
  not Char.IsDead(89@)
goto_if_false @SWEET3_6989
if 
  not Car.IsDead(40@)
goto_if_false @SWEET3_6989
Task.CarDriveToCoord(89@, 40@, 2386.24, -1658.95, 12.38, 1.0, DriveMode.Straightline, 412, DrivingMode.PloughThrough)

:SWEET3_6989
if 
  not Char.IsDead(90@)
goto_if_false @SWEET3_7010
Char.ClearTasks(90@)

:SWEET3_7010
Camera.DoFade(500, Fade.In)
TIMERA = 0

:SWEET3_7024
if 
  500 > TIMERA
goto_if_false @SWEET3_7054
wait 0
goto @SWEET3_7024

:SWEET3_7054
if 
  not Car.IsDead(40@)
goto_if_false @SWEET3_7182
if 
  not Char.IsDead(54@)
goto_if_false @SWEET3_7175
if 
  not Char.IsDead(90@)
goto_if_false @SWEET3_7175
if 
  Char.IsInCar(90@, 40@)
goto_if_false @SWEET3_7175
Char.ClearTasks(90@)
Char.SetAccuracy(90@, 50)
Char.SetShootRate(90@, 90)
Task.DriveBy(90@, -1, -1, 2507.65, -1681.24, 12.8469, 5000.0, DriveByType.Ai, True, 100)

:SWEET3_7175
goto @SWEET3_7189

:SWEET3_7182
goto @SWEET3_9366

:SWEET3_7189
TIMERA = 0

:SWEET3_7196
if or
  not Char.IsDead(54@)
  not Char.IsDead(53@)
goto_if_false @SWEET3_7308
wait 0
if 
  TIMERA > 2500
goto_if_false @SWEET3_7261
if 
  not Char.IsDead(54@)
goto_if_false @SWEET3_7261
Task.Die(54@)

:SWEET3_7261
if 
  TIMERA > 2000
goto_if_false @SWEET3_7301
if 
  not Char.IsDead(53@)
goto_if_false @SWEET3_7301
Task.Die(53@)

:SWEET3_7301
goto @SWEET3_7196

:SWEET3_7308
if 
  not Char.IsDead(89@)
goto_if_false @SWEET3_7375
if 
  not Car.IsDead(40@)
goto_if_false @SWEET3_7375
Task.CarDriveToCoord(89@, 40@, 2386.24, -1658.95, 12.38, 30.0, DriveMode.Straightline, 412, DrivingMode.PloughThrough)

:SWEET3_7375
TIMERA = 0

:SWEET3_7382
if 
  TIMERA <= 3000
goto_if_false @SWEET3_7412
wait 0
goto @SWEET3_7382

:SWEET3_7412
Camera.DoFade(500, Fade.Out)

:SWEET3_7419
if 
  Camera.GetFadingStatus
goto_if_false @SWEET3_7443
wait 0
goto @SWEET3_7419

:SWEET3_7443
if 
  not Char.IsDead(89@)
goto_if_false @SWEET3_7464
Char.ClearTasksImmediately(89@)

:SWEET3_7464
if 
  not Char.IsDead(90@)
goto_if_false @SWEET3_7485
Char.ClearTasksImmediately(90@)

:SWEET3_7485
Car.Delete(40@)
Char.Delete(89@)
Char.Delete(90@)
Streaming.SetAreaVisible(80@)
107@, 108@, 109@ = Char.GetCoordinates($stattreadstamina_ctr)
Streaming.LoadScene(107@, 108@, 109@)
wait 100
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET3_7595
if 
  not Car.IsDead(62@)
goto_if_false @SWEET3_7588
Car.FreezePosition(62@, False)

:SWEET3_7588
goto @SWEET3_7602

:SWEET3_7595
Char.FreezePosition($stattreadstamina_ctr, False)

:SWEET3_7602
Camera.DoFade(500, Fade.In)

:SWEET3_7609
if 
  Car.IsDead(40@)
goto_if_false @SWEET3_7685
if 
  44@ == 0
goto_if_false @SWEET3_7678
Blip.Remove(52@)
gosub @SWEET3_16169
Text.PrintNow('K_BALLA', 6000, 1)
44@ = 1

:SWEET3_7678
goto @SWEET3_7778

:SWEET3_7685
if 
  not Car.IsHealthGreater(40@, 250)
goto_if_false @SWEET3_7778
if 
  44@ == 0
goto_if_false @SWEET3_7778
Blip.Remove(52@)
gosub @SWEET3_16169
if or
  not Char.IsDead(89@)
  not Char.IsDead(90@)
goto_if_false @SWEET3_7771
Text.PrintNow('K_BALLA', 6000, 1)

:SWEET3_7771
44@ = 1

:SWEET3_7778
if 
  64@ == 0
goto_if_false @SWEET3_8004
if 
  Char.IsDead(89@)
goto_if_false @SWEET3_7900
if 
  not Char.IsDead(90@)
goto_if_false @SWEET3_7856
Blip.Remove(81@)
81@ = Blip.AddForChar(90@)
Task.KillCharOnFoot(90@, $stattreadstamina_ctr)
64@ = 1

:SWEET3_7856
gosub @SWEET3_16169
if or
  not Char.IsDead(89@)
  not Char.IsDead(90@)
goto_if_false @SWEET3_7900
Text.PrintNow('K_BALLA', 6000, 1)

:SWEET3_7900
if 
  Char.IsDead(90@)
goto_if_false @SWEET3_8004
if 
  not Char.IsDead(89@)
goto_if_false @SWEET3_7960
Blip.Remove(82@)
82@ = Blip.AddForChar(89@)
Task.KillCharOnFoot(89@, $stattreadstamina_ctr)
64@ = 1

:SWEET3_7960
gosub @SWEET3_16169
if or
  not Char.IsDead(89@)
  not Char.IsDead(90@)
goto_if_false @SWEET3_8004
Text.PrintNow('K_BALLA', 6000, 1)

:SWEET3_8004
if 
  Char.IsDead(89@)
goto_if_false @SWEET3_8025
Blip.Remove(81@)

:SWEET3_8025
if 
  Char.IsDead(90@)
goto_if_false @SWEET3_8046
Blip.Remove(82@)

:SWEET3_8046
if or
  Char.IsDead(53@)
  Char.IsDead(54@)
goto_if_false @SWEET3_8090
Text.PrintNow('TW2_Y', 6000, 1)
goto @SWEET3_12890

:SWEET3_8090
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_8136
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890
goto @SWEET3_9187

:SWEET3_8136
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_9187
if 
  56@ == 0
goto_if_false @SWEET3_8743
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET3_8658
if 
  59@ == 0
goto_if_false @SWEET3_8264
Blip.Remove(39@)
Blip.Remove(52@)
if 
  not Car.IsDead(40@)
goto_if_false @SWEET3_8241
52@ = Blip.AddForCar(40@)

:SWEET3_8241
Text.PrintNow('SWE3_B', 3000, 1)
59@ = 1

:SWEET3_8264
if 
  36@ == 0
goto_if_false @SWEET3_8308
if 
  TIMERB > 2000
goto_if_false @SWEET3_8308
gosub @SWEET3_13144

:SWEET3_8308
if 
  100@ == 0
goto_if_false @SWEET3_8363
if 
  TIMERB > 6000
goto_if_false @SWEET3_8363
Text.PrintHelp('SWE3_H')
100@ = 1

:SWEET3_8363
34@ = Car.GetHealth($sweet_carZ)
if 
  37@ == 0
goto_if_false @SWEET3_8489
if 
  36@ == 0
goto_if_false @SWEET3_8489
if 
  86@ > 11
goto_if_false @SWEET3_8489
set_lvar_int_to_lvar_int 35@ = 34@
35@ -= 60
86@ = 0
85@ = 0
87@ = 0
79@ = 7
37@ = 1
gosub @SWEET3_47
36@ = 1

:SWEET3_8489
if 
  37@ == 1
goto_if_false @SWEET3_8607
if 
  36@ == 0
goto_if_false @SWEET3_8607
if 
  86@ > 3
goto_if_false @SWEET3_8607
set_lvar_int_to_lvar_int 35@ = 34@
35@ -= 60
86@ = 0
85@ = 0
87@ = 0
79@ = 8
37@ = 2
gosub @SWEET3_47
36@ = 1

:SWEET3_8607
if 
  36@ == 1
goto_if_false @SWEET3_8651
if 
  not Car.IsHealthGreater($sweet_carZ, 35@)
goto_if_false @SWEET3_8651
36@ = 0

:SWEET3_8651
goto @SWEET3_8743

:SWEET3_8658
if 
  59@ == 1
goto_if_false @SWEET3_8743
Blip.Remove(39@)
Blip.Remove(52@)
39@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(39@, True)
gosub @SWEET3_15488
Text.PrintNow('TW2_X', 3000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
59@ = 0

:SWEET3_8743
if 
  not Car.IsHealthGreater($sweet_carZ, 250)
goto_if_false @SWEET3_9187
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37645)

:SWEET3_8771
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_8797
wait 0
goto @SWEET3_8771

:SWEET3_8797
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE2_KA', 2000, 1)
if 
  56@ == 0
goto_if_false @SWEET3_8982
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_8982
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET3_8895
Task.LeaveCarImmediately($mc_strap, $sweet_carZ)
Task.SmartFleeChar($mc_strap, $stattreadstamina_ctr, 100.0, 10000)

:SWEET3_8895
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_8935
Task.LeaveCarImmediately($sweet_car, $sweet_carZ)
Task.SmartFleeChar($sweet_car, $stattreadstamina_ctr, 100.0, 10000)

:SWEET3_8935
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_8975
Task.LeaveCarImmediately($big_smoke_car, $sweet_carZ)
Task.SmartFleeChar($big_smoke_car, $stattreadstamina_ctr, 100.0, 10000)

:SWEET3_8975
56@ = 1

:SWEET3_8982
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_9164
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_9040
Text.PrintNow('SWE3_E', 2000, 1)
goto @SWEET3_12890

:SWEET3_9040
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET3_9079
Text.PrintNow('SWE3_F', 2000, 1)
goto @SWEET3_12890

:SWEET3_9079
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_9118
Text.PrintNow('SWE3_G', 2000, 1)
goto @SWEET3_12890

:SWEET3_9118
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_9157
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_9157
goto @SWEET3_8982

:SWEET3_9164
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_9187
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_9226
Text.PrintNow('SWE3_E', 2000, 1)
goto @SWEET3_12890

:SWEET3_9226
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET3_9265
Text.PrintNow('SWE3_F', 2000, 1)
goto @SWEET3_12890

:SWEET3_9265
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_9304
Text.PrintNow('SWE3_G', 2000, 1)
goto @SWEET3_12890

:SWEET3_9304
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_9343
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_9343
if 
  Car.IsDead(40@)
goto_if_false @SWEET3_9359

:SWEET3_9359
goto @SWEET3_6579

:SWEET3_9366
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_9387
Char.ClearTasks($big_smoke_car)

:SWEET3_9387
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_9408
Char.ClearTasks($sweet_car)

:SWEET3_9408
Blip.Remove(81@)
Blip.Remove(82@)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_9499
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET3_9492
$sweet = 1
Blip.Remove(52@)
52@ = Blip.AddForCoord(2513.33, -1672.12, 12.52)
goto @SWEET3_9499

:SWEET3_9492
$sweet = 0

:SWEET3_9499
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_9538
Text.PrintNow('SWE3_E', 2000, 1)
goto @SWEET3_12890

:SWEET3_9538
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
86@ = 0
85@ = 0
87@ = 0
79@ = 3
gosub @SWEET3_47
TIMERA = 0
43@ = 0
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_9669
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET3_9653
Text.PrintNow('TW2_W', 6000, 1)
goto @SWEET3_9669

:SWEET3_9653
Text.PrintNow('TW2_X', 6000, 1)

:SWEET3_9669
if or
  not Car.Locate3D($sweet_carZ, 2513.3, -1671.9, 12.52, 4.0, 4.0, 4.0, $sweet)
  not Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carZ)
  not Car.IsOnAllWheels($sweet_carZ)
goto_if_false @SWEET3_10709
wait 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_9781
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890
goto @SWEET3_10546

:SWEET3_9781
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_10546
if 
  56@ == 0
goto_if_false @SWEET3_10102
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET3_10010
if 
  59@ == 0
goto_if_false @SWEET3_9919
Blip.Remove(39@)
Blip.Remove(52@)
52@ = Blip.AddForCoord(2513.33, -1672.12, 12.52)
Text.PrintNow('TW2_W', 6000, 1)
$sweet = 1
TIMERA = 0
59@ = 1

:SWEET3_9919
if 
  43@ == 0
goto_if_false @SWEET3_9996
if 
  TIMERA > 4000
goto_if_false @SWEET3_9989
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET3_9989
gosub @SWEET3_13144
43@ = 1

:SWEET3_9989
goto @SWEET3_10003

:SWEET3_9996
gosub @SWEET3_13144

:SWEET3_10003
goto @SWEET3_10102

:SWEET3_10010
if 
  59@ == 1
goto_if_false @SWEET3_10102
Blip.Remove(52@)
Blip.Remove(39@)
39@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(39@, True)
gosub @SWEET3_15488
Text.PrintNow('TW2_X', 6000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
$sweet = 0
59@ = 0

:SWEET3_10102
if 
  not Car.IsHealthGreater($sweet_carZ, 250)
goto_if_false @SWEET3_10546
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37646)

:SWEET3_10130
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_10156
wait 0
goto @SWEET3_10130

:SWEET3_10156
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE2_KB', 2000, 1)
if 
  56@ == 0
goto_if_false @SWEET3_10341
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_10341
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET3_10254
Task.LeaveCarImmediately($mc_strap, $sweet_carZ)
Task.SmartFleeChar($mc_strap, $stattreadstamina_ctr, 100.0, 10000)

:SWEET3_10254
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_10294
Task.LeaveCarImmediately($sweet_car, $sweet_carZ)
Task.SmartFleeChar($sweet_car, $stattreadstamina_ctr, 100.0, 10000)

:SWEET3_10294
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_10334
Task.LeaveCarImmediately($big_smoke_car, $sweet_carZ)
Task.SmartFleeChar($big_smoke_car, $stattreadstamina_ctr, 100.0, 10000)

:SWEET3_10334
56@ = 1

:SWEET3_10341
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_10523
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_10399
Text.PrintNow('SWE3_E', 2000, 1)
goto @SWEET3_12890

:SWEET3_10399
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET3_10438
Text.PrintNow('SWE3_F', 2000, 1)
goto @SWEET3_12890

:SWEET3_10438
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_10477
Text.PrintNow('SWE3_G', 2000, 1)
goto @SWEET3_12890

:SWEET3_10477
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_10516
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_10516
goto @SWEET3_10341

:SWEET3_10523
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_10546
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_10585
Text.PrintNow('SWE3_E', 2000, 1)
goto @SWEET3_12890

:SWEET3_10585
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET3_10624
Text.PrintNow('SWE3_F', 2000, 1)
goto @SWEET3_12890

:SWEET3_10624
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_10663
Text.PrintNow('SWE3_G', 2000, 1)
goto @SWEET3_12890

:SWEET3_10663
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_10702
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_10702
goto @SWEET3_9669

:SWEET3_10709
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(2502.764, -1670.778, 18.432, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2503.673, -1670.851, 18.0218, SwitchType.JumpCut)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
86@ = 0
85@ = 0
87@ = 0
79@ = 4
gosub @SWEET3_47
43@ = 0

:SWEET3_10821
if 
  86@ <> 1
goto_if_false @SWEET3_10857
wait 0
gosub @SWEET3_13144
goto @SWEET3_10821

:SWEET3_10857
38@ = 0
skip_cutscene_start_internal @SWEET3_11206
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_10903
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $sweet_car, 15000)

:SWEET3_10903
if 
  86@ <> 3
goto_if_false @SWEET3_10939
wait 0
gosub @SWEET3_13144
goto @SWEET3_10903

:SWEET3_10939
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2522.371, -1679.26, 15.9361, 2516.479, -1680.764, 17.4286, 17000, True)
Camera.SetVectorTrack(2521.535, -1678.784, 15.6635, 2516.381, -1679.917, 16.9049, 17000, True)

:SWEET3_11023
if 
  86@ <> 8
goto_if_false @SWEET3_11059
wait 0
gosub @SWEET3_13144
goto @SWEET3_11023

:SWEET3_11059
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_11124
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_11124
Task.LeaveCar($big_smoke_car, $sweet_carZ)
Task.GoStraightToCoord($big_smoke_car, 2519.388, -1678.689, 13.707, MoveState.Walk, 5000)

:SWEET3_11124
wait 500
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_11194
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_11194
Task.LeaveCar($sweet_car, $sweet_carZ)
Task.GoStraightToCoord($sweet_car, 2519.388, -1678.689, 13.707, MoveState.Walk, 5000)

:SWEET3_11194
wait 6000
38@ = 1

:SWEET3_11206
skip_cutscene_end 
Char.ClearLookAt($stattreadstamina_ctr)
Text.ClearPrints
if 
  38@ == 0
goto_if_false @SWEET3_11269
Camera.DoFade(500, Fade.Out)

:SWEET3_11240
if 
  Camera.GetFadingStatus
goto_if_false @SWEET3_11264
wait 0
goto @SWEET3_11240

:SWEET3_11264
wait 500

:SWEET3_11269
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.ResetNewScriptables
Char.Delete($sweet_car)
Char.Delete($big_smoke_car)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  38@ == 0
goto_if_false @SWEET3_11351
Camera.DoFade(500, Fade.In)

:SWEET3_11327
if 
  Camera.GetFadingStatus
goto_if_false @SWEET3_11351
wait 0
goto @SWEET3_11327

:SWEET3_11351
86@ = 0
85@ = 0
87@ = 0
79@ = 5
gosub @SWEET3_47
43@ = 0
TIMERA = 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_11439
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_11439
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_11520
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET3_11513
$sweet = 1
Blip.Remove(52@)
52@ = Blip.AddForCoord(2066.465, -1695.444, 12.5547)
goto @SWEET3_11520

:SWEET3_11513
$sweet = 0

:SWEET3_11520
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_11594
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET3_11578
Text.PrintNow('TW2_Z', 6000, 1)
goto @SWEET3_11594

:SWEET3_11578
Text.PrintNow('TW2_X', 6000, 1)

:SWEET3_11594
if or
  not Car.Locate3D($sweet_carZ, 2066.465, -1695.444, 12.5547, 4.0, 3.5, 4.0, $sweet)
  not Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carZ)
  not Car.IsOnAllWheels($sweet_carZ)
goto_if_false @SWEET3_12398
wait 0
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_11706
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890
goto @SWEET3_12313

:SWEET3_11706
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_12313
if 
  56@ == 0
goto_if_false @SWEET3_12027
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET3_11935
if 
  59@ == 0
goto_if_false @SWEET3_11844
Blip.Remove(39@)
Blip.Remove(52@)
52@ = Blip.AddForCoord(2066.465, -1695.444, 12.5547)
Text.PrintNow('TW2_Z', 6000, 1)
$sweet = 1
TIMERA = 0
59@ = 1

:SWEET3_11844
if 
  43@ == 0
goto_if_false @SWEET3_11921
if 
  TIMERA > 4000
goto_if_false @SWEET3_11914
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @SWEET3_11914
gosub @SWEET3_13144
43@ = 1

:SWEET3_11914
goto @SWEET3_11928

:SWEET3_11921
gosub @SWEET3_13144

:SWEET3_11928
goto @SWEET3_12027

:SWEET3_11935
if 
  59@ == 1
goto_if_false @SWEET3_12027
Blip.Remove(52@)
Blip.Remove(39@)
39@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(39@, True)
gosub @SWEET3_15001
Text.PrintNow('TW2_X', 6000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
$sweet = 0
59@ = 0

:SWEET3_12027
if 
  not Car.IsHealthGreater($sweet_carZ, 250)
goto_if_false @SWEET3_12313
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37646)

:SWEET3_12055
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_12081
wait 0
goto @SWEET3_12055

:SWEET3_12081
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE2_KB', 2000, 1)
if 
  56@ == 0
goto_if_false @SWEET3_12186
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_12186
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET3_12179
Task.LeaveCarImmediately($mc_strap, $sweet_carZ)
Task.SmartFleeChar($mc_strap, $stattreadstamina_ctr, 100.0, 10000)

:SWEET3_12179
56@ = 1

:SWEET3_12186
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_12290
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_12244
Text.PrintNow('SWE3_G', 2000, 1)
goto @SWEET3_12890

:SWEET3_12244
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_12283
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_12283
goto @SWEET3_12186

:SWEET3_12290
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_12313
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_12352
Text.PrintNow('SWE3_G', 2000, 1)
goto @SWEET3_12890

:SWEET3_12352
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_12391
Text.PrintNow('SWE3_D', 2000, 1)
goto @SWEET3_12890

:SWEET3_12391
goto @SWEET3_11594

:SWEET3_12398
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
86@ = 0
85@ = 0
87@ = 0
79@ = 6
gosub @SWEET3_47
43@ = 0
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2079.109, -1703.561, 17.6928, 2067.162, -1703.315, 13.4746, 17000, True)
Camera.SetVectorTrack(2078.251, -1703.206, 17.3208, 2067.105, -1702.33, 13.6396, 17000, True)
wait 500
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET3_12580
Char.ClearLookAt($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $mc_strap, 15000)

:SWEET3_12580
38@ = 0
skip_cutscene_start_internal @SWEET3_12743

:SWEET3_12594
if 
  86@ <> 1
goto_if_false @SWEET3_12630
wait 0
gosub @SWEET3_13144
goto @SWEET3_12594

:SWEET3_12630
if 
  86@ <> 5
goto_if_false @SWEET3_12666
wait 0
gosub @SWEET3_13144
goto @SWEET3_12630

:SWEET3_12666
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_12731
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET3_12731
Task.LeaveCar($mc_strap, $sweet_carZ)
Task.GoStraightToCoord($mc_strap, 2058.404, -1697.166, 12.5547, MoveState.Walk, 8000)

:SWEET3_12731
wait 5000
38@ = 1

:SWEET3_12743
skip_cutscene_end 
Char.ClearLookAt($stattreadstamina_ctr)
Text.ClearPrints
if 
  38@ == 0
goto_if_false @SWEET3_12806
Camera.DoFade(500, Fade.Out)

:SWEET3_12777
if 
  Camera.GetFadingStatus
goto_if_false @SWEET3_12801
wait 0
goto @SWEET3_12777

:SWEET3_12801
wait 500

:SWEET3_12806
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Camera.ResetNewScriptables
Char.Delete($mc_strap)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
if 
  38@ == 0
goto_if_false @SWEET3_12883
Camera.DoFade(500, Fade.In)

:SWEET3_12859
if 
  Camera.GetFadingStatus
goto_if_false @SWEET3_12883
wait 0
goto @SWEET3_12859

:SWEET3_12883
goto @SWEET3_12908

:SWEET3_12890
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:SWEET3_12908
Stat.RegisterMissionPassed('SWEET_3')
Text.PrintWithNumberBig('M_PASSS', 200, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(5)
Player.AddScore($statbike_temp, 200)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
$flag_crash_mission_counter += 1
Stat.SetInt(StatId.PassedSweet2, 1)
Stat.PlayerMadeProgress(1)
return 

:SWEET3_12979
Char.RemoveElegantly($mc_strap)
Char.RemoveElegantly($sweet_car)
Char.RemoveElegantly($big_smoke_car)
Blip.Remove(39@)
Blip.Remove(52@)
Blip.Remove(81@)
Blip.Remove(82@)
Game.EnableAmbientCrime(True)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_13041
Car.SetCanBurstTires($sweet_carZ, True)

:SWEET3_13041
Streaming.MarkModelAsNoLongerNeeded(107)
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.MarkModelAsNoLongerNeeded(103)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.MarkModelAsNoLongerNeeded(412)
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Car.MarkAsNoLongerNeeded(40@)
Char.MarkAsNoLongerNeeded(89@)
Char.MarkAsNoLongerNeeded(90@)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
CarGenerator.Switch($gen_car12, 101)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:SWEET3_13144
if or
  85@ == 0
  85@ == 1
goto_if_false @SWEET3_13214
if 
  is_int_lvar_greater_or_equal_to_int_lvar 58@ >= 86@
goto_if_false @SWEET3_13214
if 
  TIMERA > 200
goto_if_false @SWEET3_13214
gosub @SWEET3_13286

:SWEET3_13214
if 
  85@ == 2
goto_if_false @SWEET3_13284
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET3_13284
gosub @SWEET3_14207
85@ = 0
86@ += 1
87@ = 0
Text.ClearPrints
TIMERA = 0

:SWEET3_13284
return 

:SWEET3_13286
if 
  85@ == 0
goto_if_false @SWEET3_13322
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 66@(86@,13i))
85@ = 1

:SWEET3_13322
if 
  85@ == 1
goto_if_false @SWEET3_13387
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET3_13387
Text.PrintNow($6587(86@,13s), 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
gosub @SWEET3_13389
85@ = 2

:SWEET3_13387
return 

:SWEET3_13389
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37601
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37611
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37632
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37654
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37667
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37668
goto_if_false @SWEET3_13501
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
return 

:SWEET3_13501
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37671
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37673
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37676
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37678
goto_if_false @SWEET3_13585
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
return 

:SWEET3_13585
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37612
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37613
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37615
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37637
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37638
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37658
goto_if_false @SWEET3_13713
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_13713
Char.ShutUpForScriptedSpeech($big_smoke_car, True)
Char.StartFacialTalk($big_smoke_car, 3000)
return 

:SWEET3_13713
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37664
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37652
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37653
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37623
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37624
goto_if_false @SWEET3_13827
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_13827
Char.ShutUpForScriptedSpeech($big_smoke_car, True)
Char.StartFacialTalk($big_smoke_car, 3000)
return 

:SWEET3_13827
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37651
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37656
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37657
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37661
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37662
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37622
goto_if_false @SWEET3_13955
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_13955
Char.ShutUpForScriptedSpeech($sweet_car, True)
Char.StartFacialTalk($sweet_car, 3000)
return 

:SWEET3_13955
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37617
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37619
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37620
goto_if_false @SWEET3_14041
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_14041
Char.ShutUpForScriptedSpeech($sweet_car, True)
Char.StartFacialTalk($sweet_car, 3000)
return 

:SWEET3_14041
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37602
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37606
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37607
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37610
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37630
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37635
goto_if_false @SWEET3_14174
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_14167
Char.ShutUpForScriptedSpeech($sweet_car, True)
Char.StartFacialTalk($sweet_car, 3000)

:SWEET3_14167
goto @SWEET3_14205

:SWEET3_14174
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET3_14205
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.StartFacialTalk($mc_strap, 3000)

:SWEET3_14205
return 

:SWEET3_14207
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37601
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37611
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37632
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37654
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37667
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37668
goto_if_false @SWEET3_14316
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
return 

:SWEET3_14316
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37671
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37673
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37676
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37678
goto_if_false @SWEET3_14397
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
return 

:SWEET3_14397
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37612
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37613
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37615
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37637
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37638
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37658
goto_if_false @SWEET3_14522
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_14522
Char.ShutUpForScriptedSpeech($big_smoke_car, False)
Char.StopFacialTalk($big_smoke_car)
return 

:SWEET3_14522
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37664
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37652
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37653
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37623
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37624
goto_if_false @SWEET3_14633
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_14633
Char.ShutUpForScriptedSpeech($big_smoke_car, False)
Char.StopFacialTalk($big_smoke_car)
return 

:SWEET3_14633
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37651
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37656
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37657
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37661
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37662
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37622
goto_if_false @SWEET3_14758
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_14758
Char.ShutUpForScriptedSpeech($sweet_car, False)
Char.StopFacialTalk($sweet_car)
return 

:SWEET3_14758
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37617
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37619
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37620
goto_if_false @SWEET3_14841
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_14841
Char.ShutUpForScriptedSpeech($sweet_car, False)
Char.StopFacialTalk($sweet_car)
return 

:SWEET3_14841
if or
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37602
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37606
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37607
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37610
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37630
  is_int_lvar_equal_to_constant 66@(86@,13i) == 37635
goto_if_false @SWEET3_14971
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_14964
Char.ShutUpForScriptedSpeech($sweet_car, False)
Char.StopFacialTalk($sweet_car)

:SWEET3_14964
goto @SWEET3_14999

:SWEET3_14971
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET3_14999
Char.ShutUpForScriptedSpeech($mc_strap, False)
Char.StopFacialTalk($mc_strap)

:SWEET3_14999
return 

:SWEET3_15001
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  51@ == 0
goto_if_false @SWEET3_15032
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35800)

:SWEET3_15032
if 
  51@ == 1
goto_if_false @SWEET3_15059
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35801)

:SWEET3_15059
if 
  51@ == 2
goto_if_false @SWEET3_15086
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35802)

:SWEET3_15086
if 
  51@ == 3
goto_if_false @SWEET3_15113
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35803)

:SWEET3_15113
if 
  51@ == 4
goto_if_false @SWEET3_15140
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35804)

:SWEET3_15140
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:SWEET3_15156
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_15218
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_15193
return 

:SWEET3_15193
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_15211
return 

:SWEET3_15211
goto @SWEET3_15156

:SWEET3_15218
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
if 
  51@ == 0
goto_if_false @SWEET3_15256
Text.PrintNow('SMOX_AA', 3000, 1)

:SWEET3_15256
if 
  51@ == 1
goto_if_false @SWEET3_15290
Text.PrintNow('SMOX_AB', 3000, 1)

:SWEET3_15290
if 
  51@ == 2
goto_if_false @SWEET3_15324
Text.PrintNow('SMOX_AC', 3000, 1)

:SWEET3_15324
if 
  51@ == 3
goto_if_false @SWEET3_15358
Text.PrintNow('SMOX_AD', 3000, 1)

:SWEET3_15358
if 
  51@ == 4
goto_if_false @SWEET3_15392
Text.PrintNow('SMOX_AE', 3000, 1)

:SWEET3_15392
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_15454
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_15429
return 

:SWEET3_15429
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_15447
return 

:SWEET3_15447
goto @SWEET3_15392

:SWEET3_15454
51@ += 1
if 
  51@ > 4
goto_if_false @SWEET3_15486
51@ = 0

:SWEET3_15486
return 

:SWEET3_15488
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  51@ == 0
goto_if_false @SWEET3_15519
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34205)

:SWEET3_15519
if 
  51@ == 1
goto_if_false @SWEET3_15546
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37434)

:SWEET3_15546
if 
  51@ == 2
goto_if_false @SWEET3_15573
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 38641)

:SWEET3_15573
if 
  51@ == 3
goto_if_false @SWEET3_15600
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34202)

:SWEET3_15600
if 
  51@ == 4
goto_if_false @SWEET3_15627
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 38644)

:SWEET3_15627
if 
  51@ == 5
goto_if_false @SWEET3_15654
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 34203)

:SWEET3_15654
if 
  51@ == 6
goto_if_false @SWEET3_15681
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37429)

:SWEET3_15681
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:SWEET3_15697
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_15795
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_15734
return 

:SWEET3_15734
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET3_15752
return 

:SWEET3_15752
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_15770
return 

:SWEET3_15770
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_15788
return 

:SWEET3_15788
goto @SWEET3_15697

:SWEET3_15795
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
if 
  51@ == 0
goto_if_false @SWEET3_15833
Text.PrintNow('RYDX_AF', 3000, 1)

:SWEET3_15833
if 
  51@ == 1
goto_if_false @SWEET3_15867
Text.PrintNow('SWE1_BM', 3000, 1)

:SWEET3_15867
if 
  51@ == 2
goto_if_false @SWEET3_15901
Text.PrintNow('SWEX_BP', 3000, 1)

:SWEET3_15901
if 
  51@ == 3
goto_if_false @SWEET3_15935
Text.PrintNow('RYDX_AC', 3000, 1)

:SWEET3_15935
if 
  51@ == 4
goto_if_false @SWEET3_15969
Text.PrintNow('SWEX_BS', 3000, 1)

:SWEET3_15969
if 
  51@ == 5
goto_if_false @SWEET3_16003
Text.PrintNow('RYDX_AD', 3000, 1)

:SWEET3_16003
if 
  51@ == 6
goto_if_false @SWEET3_16037
Text.PrintNow('SWE1_BG', 3000, 1)

:SWEET3_16037
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET3_16135
wait 0
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_16074
return 

:SWEET3_16074
if 
  Char.IsDead($sweet_car)
goto_if_false @SWEET3_16092
return 

:SWEET3_16092
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET3_16110
return 

:SWEET3_16110
if 
  Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_16128
return 

:SWEET3_16128
goto @SWEET3_16037

:SWEET3_16135
51@ += 1
if 
  51@ > 6
goto_if_false @SWEET3_16167
51@ = 0

:SWEET3_16167
return 

:SWEET3_16169
if 
  not Char.IsDead(89@)
goto_if_false @SWEET3_16298
Blip.Remove(81@)
81@ = Blip.AddForChar(89@)
Task.KillCharOnFoot(89@, $stattreadstamina_ctr)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SWEET3_16298
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_16298
if 
  Char.IsInCar($sweet_car, $sweet_carZ)
goto_if_false @SWEET3_16298
Char.ClearTasks($sweet_car)
Task.DriveBy($sweet_car, 89@, -1, 0.0, 0.0, 0.0, 5000.0, DriveByType.Ai, True, 70)

:SWEET3_16298
if 
  not Char.IsDead(90@)
goto_if_false @SWEET3_16427
Blip.Remove(82@)
82@ = Blip.AddForChar(90@)
Task.KillCharOnFoot(90@, $stattreadstamina_ctr)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET3_16427
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @SWEET3_16427
if 
  Char.IsInCar($big_smoke_car, $sweet_carZ)
goto_if_false @SWEET3_16427
Char.ClearTasks($big_smoke_car)
Task.DriveBy($big_smoke_car, 90@, -1, 0.0, 0.0, 0.0, 5000.0, DriveByType.Ai, False, 70)

:SWEET3_16427
return 

//-------------Mission 16---------------
// Originally: Nines And AK's

:SWEET2
script_name 'SWEET2'
gosub @SWEET2_1108
if 
  has_deatharrest_been_executed 
goto_if_false @SWEET2_38
gosub @SWEET2_20215

:SWEET2_38
gosub @SWEET2_20732
terminate_this_script 

:SWEET2_47
switch_start 39@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @SWEET2_1106 {caseNum1} 0 {caseLabel1} @SWEET2_110 {caseNum2} 1 {caseLabel2} @SWEET2_340 {caseNum3} 2 {caseLabel3} @SWEET2_690 {caseNum4} 3 {caseLabel4} @SWEET2_872 {caseNum5} -1 {caseLabel5} @SWEET2_1106 {caseNum6} -1 {caseLabel6} @SWEET2_1106 {caseNum7} -1 {caseLabel7} @SWEET2_1106

:SWEET2_110
set_var_text_label s$6613[0] = 'SWE3_AA'
set_var_text_label s$6613[1] = 'SWE3_AB'
set_var_text_label s$6613[2] = 'SWE3_AC'
set_var_text_label s$6613[3] = 'SWE3_AD'
set_var_text_label s$6613[4] = 'SWE3_AE'
set_var_text_label s$6613[5] = 'SWE3_AF'
set_var_text_label s$6613[6] = 'SWE3_AH'
set_var_text_label s$6613[7] = 'SWE3_AJ'
set_var_text_label s$6613[8] = 'SWE3_AK'
set_lvar_int_to_constant 66@ = 37800
set_lvar_int_to_constant 67@ = 37801
set_lvar_int_to_constant 68@ = 37802
set_lvar_int_to_constant 69@ = 37803
set_lvar_int_to_constant 70@ = 37804
set_lvar_int_to_constant 71@ = 37805
set_lvar_int_to_constant 72@ = 37806
set_lvar_int_to_constant 73@ = 37807
set_lvar_int_to_constant 74@ = 37808
48@ = 8
goto @SWEET2_1106

:SWEET2_340
set_var_text_label s$6613[0] = 'SWE3_GA'
set_var_text_label s$6613[1] = 'SWE3_GB'
set_var_text_label s$6613[2] = 'SWE3_GC'
set_var_text_label s$6613[3] = 'SWE3_GD'
set_var_text_label s$6613[4] = 'SWE3_GE'
set_var_text_label s$6613[5] = 'SWE3_GF'
set_var_text_label s$6613[6] = 'SWE3_GG'
set_var_text_label s$6613[7] = 'SWE3_GH'
set_var_text_label s$6613[8] = 'SWE3_GJ'
set_var_text_label s$6613[9] = 'SWE3_GK'
set_var_text_label s$6613[10] = 'SWE3_GL'
set_var_text_label s$6613[11] = 'SWE3_GM'
set_var_text_label s$6613[12] = 'SWE3_GN'
set_var_text_label s$6613[13] = 'SWE3_GO'
set_lvar_int_to_constant 66@ = 37850
set_lvar_int_to_constant 67@ = 37851
set_lvar_int_to_constant 68@ = 37852
set_lvar_int_to_constant 69@ = 37853
set_lvar_int_to_constant 70@ = 37854
set_lvar_int_to_constant 71@ = 37855
set_lvar_int_to_constant 72@ = 37856
set_lvar_int_to_constant 73@ = 37857
set_lvar_int_to_constant 74@ = 37858
set_lvar_int_to_constant 75@ = 37859
set_lvar_int_to_constant 76@ = 37860
set_lvar_int_to_constant 77@ = 37861
set_lvar_int_to_constant 78@ = 37862
set_lvar_int_to_constant 79@ = 37863
48@ = 13
goto @SWEET2_1106

:SWEET2_690
set_var_text_label s$6613[0] = 'SWE3_HA'
set_var_text_label s$6613[1] = 'SWE3_HB'
set_var_text_label s$6613[2] = 'SWE3_HC'
set_var_text_label s$6613[3] = 'SWE3_HD'
set_var_text_label s$6613[4] = 'SWE3_HE'
set_var_text_label s$6613[5] = 'SWE3_HF'
set_var_text_label s$6613[6] = 'SWE3_HG'
set_lvar_int_to_constant 66@ = 37864
set_lvar_int_to_constant 67@ = 37865
set_lvar_int_to_constant 68@ = 37866
set_lvar_int_to_constant 69@ = 37867
set_lvar_int_to_constant 70@ = 37868
set_lvar_int_to_constant 71@ = 37869
set_lvar_int_to_constant 72@ = 37870
48@ = 6
goto @SWEET2_1106

:SWEET2_872
set_var_text_label s$6613[0] = 'MSWE07A'
set_var_text_label s$6613[1] = 'MSWE07B'
set_var_text_label s$6613[2] = 'MSWE07C'
set_var_text_label s$6613[3] = 'MSWE07D'
set_var_text_label s$6613[4] = 'MSWE07E'
set_var_text_label s$6613[5] = 'MSWE07F'
set_var_text_label s$6613[6] = 'MSWE07G'
set_var_text_label s$6613[7] = 'MSWE07H'
set_var_text_label s$6613[8] = 'MSWE07J'
set_var_text_label s$6613[9] = 'MSWE07K'
set_lvar_int_to_constant 66@ = 29066
set_lvar_int_to_constant 67@ = 29067
set_lvar_int_to_constant 68@ = 29068
set_lvar_int_to_constant 69@ = 29069
set_lvar_int_to_constant 70@ = 29070
set_lvar_int_to_constant 71@ = 29071
set_lvar_int_to_constant 72@ = 29072
set_lvar_int_to_constant 73@ = 29073
set_lvar_int_to_constant 74@ = 29074
set_lvar_int_to_constant 75@ = 29075
48@ = 9
goto @SWEET2_1106

:SWEET2_1106
return 

:SWEET2_1108
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
36@ = 0
42@ = 0
38@ = 0
51@ = 0
53@ = 0
62@ = 0
45@ = 0
47@ = 0
56@ = 0
57@ = 0
89@ = 2440.58
94@ = -1979.89
99@ = 14.1
90@ = 2440.14
95@ = -1976.5
100@ = 13.4
91@ = 2440.95
96@ = -1973.76
101@ = 14.2
92@ = 2448.97
97@ = -1973.29
102@ = 13.35
93@ = 2444.35
98@ = -1970.61
103@ = 13.8
wait 0
Text.LoadMissionText('SWEET2')
Streaming.SetAreaVisible(1)
Cutscene.Load('SWEET3A')

:SWEET2_1367
if 
  not Cutscene.HasLoaded
goto_if_false @SWEET2_1391
wait 0
goto @SWEET2_1367

:SWEET2_1391
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SWEET2_1400
if 
  not Cutscene.HasFinished
goto_if_false @SWEET2_1424
wait 0
goto @SWEET2_1400

:SWEET2_1424
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:SWEET2_1437
if 
  Camera.GetFadingStatus
goto_if_false @SWEET2_1461
wait 0
goto @SWEET2_1437

:SWEET2_1461
Cutscene.Clear
Streaming.SetAreaVisible(0)
Weather.Force(WeatherType.SunnyLa)
Streaming.LoadSpecialCharacter(10, 'SMOKE')
Streaming.RequestModel(466)
Streaming.LoadAllModelsNow

:SWEET2_1491
if or
  not Streaming.HasSpecialCharacterLoaded(10)
  not Streaming.HasModelLoaded(466)
goto_if_false @SWEET2_1522
wait 0
goto @SWEET2_1491

:SWEET2_1522
52@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
CarGenerator.Switch($gen_car12, 0)
World.ClearArea(2506.23, -1675.75, 12.37, 6.0, True)
Car.CustomPlateForNextCar(466, "_A2TMFK_")
$sweet_carY = Car.Create(466, 2506.23, -1675.75, 12.37)
Car.ChangeColor($sweet_carY, 98, 14)
Car.SetHeading($sweet_carY, 148.0)
Audio.SetRadioChannel(RadioChannel.BounceFM)
Game.SetRelationship(RelationshipType.Respect, PedType.Gang2, PedType.Mission1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Gang2)
$mc_strap = Char.Create(PedType.Mission1, 299, 2505.869, -1672.723, 12.3778)
Char.SetHeading($mc_strap, 160.0)
Char.SetHealth($mc_strap, 500)
Char.SetNeverTargeted($mc_strap, True)
Char.SetSuffersCriticalHits($mc_strap, False)
Char.SetWeaponSkill($mc_strap, 1)
Char.SetAccuracy($mc_strap, 100)
Char.SetShootRate($mc_strap, 30)
Char.SetOnlyDamagedByPlayer($mc_strap, True)
Char.SetGetOutUpsideDownCar($mc_strap, False)
Char.SetDecisionMaker($mc_strap, 52@)
Char.SetCoordinates($stattreadstamina_ctr, 2515.28, -1673.44, 12.73)
Char.SetHeading($stattreadstamina_ctr, 81.2)
Streaming.LoadScene(2516.54, -1671.2, 12.87)
Camera.DoFade(1000, Fade.In)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Text.PrintNow('SWE2_A', 10000, 1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($mc_strap, $sweet_carY, 5000, 0)
Char.SetCantBeDraggedOut($mc_strap, True)
Char.SetStayInCarWhenJacked($mc_strap, True)
44@ = Blip.AddForCar($sweet_carY)
Blip.SetAsFriendly(44@, True)
35@ = Blip.AddForCoord(2453.07, -2003.96, 12.56)
Blip.Remove(35@)
$sweet = 0
80@ = 0
81@ = 0
82@ = 0
39@ = 0
gosub @SWEET2_47
TIMERB = 0
56@ = 0

:SWEET2_1949
if or
  not Car.Locate3D($sweet_carY, 2453.07, -2003.96, 12.56, 4.0, 4.0, 4.0, $sweet)
  not Char.IsSittingInCar($mc_strap, $sweet_carY)
  not Car.IsOnAllWheels($sweet_carY)
goto_if_false @SWEET2_2420
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SWEET2_2037
goto @SWEET2_20304

:SWEET2_2037
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_2312
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_2282
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carY)
goto_if_false @SWEET2_2183
if 
  45@ == 0
goto_if_false @SWEET2_2150
Blip.Remove(44@)
Blip.Remove(35@)
35@ = Blip.AddForCoord(2453.07, -2003.96, 12.56)
$sweet = 1
45@ = 1

:SWEET2_2150
if 
  TIMERB > 5000
goto_if_false @SWEET2_2176
gosub @SWEET2_21000

:SWEET2_2176
goto @SWEET2_2275

:SWEET2_2183
if 
  45@ == 1
goto_if_false @SWEET2_2275
Blip.Remove(35@)
Blip.Remove(44@)
44@ = Blip.AddForCar($sweet_carY)
Blip.SetAsFriendly(44@, True)
gosub @SWEET2_21245
Text.PrintNow('SWE2_L', 6000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
$sweet = 0
45@ = 0

:SWEET2_2275
goto @SWEET2_2305

:SWEET2_2282
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_2305
goto @SWEET2_2335

:SWEET2_2312
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_2335
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_2374
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_2374
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_2413
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_2413
goto @SWEET2_1949

:SWEET2_2420
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2452.949, -2011.824, 16.3096, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2452.98, -2010.903, 15.9217, SwitchType.JumpCut)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_2642
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_2642
37@ = Sequence.Open()
Task.LeaveCar(-1, $sweet_carY)
Path.FlushRoute
Path.ExtendRoute(2453.515, -1980.771, 12.5547)
Path.ExtendRoute(2450.486, -1981.659, 12.5547)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Sequence.Close(37@)
Char.PerformSequence($mc_strap, 37@)
Sequence.Clear(37@)
wait 800
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_2642
Task.LeaveCar($stattreadstamina_ctr, $sweet_carY)
Task.GoStraightToCoord($stattreadstamina_ctr, 2453.29, -1983.71, 12.54, MoveState.Walk, 5000)

:SWEET2_2642
wait 2000
gosub @SWEET2_22484
Camera.DoFade(1000, Fade.Out)

:SWEET2_2661
if 
  Camera.GetFadingStatus
goto_if_false @SWEET2_2685
wait 0
goto @SWEET2_2661

:SWEET2_2685
Game.SetScriptLimitToGangSize(0)
World.ClearArea(2448.734, -1976.193, 12.5469, 200.0, False)
Player.MakeSafeForCutscene($statbike_temp)
Cutscene.Load('SWEET3B')

:SWEET2_2729
if 
  not Cutscene.HasLoaded
goto_if_false @SWEET2_2753
wait 0
goto @SWEET2_2729

:SWEET2_2753
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SWEET2_2762
if 
  not Cutscene.HasFinished
goto_if_false @SWEET2_2786
wait 0
goto @SWEET2_2762

:SWEET2_2786
Camera.DoFade(0, Fade.Out)

:SWEET2_2792
if 
  Camera.GetFadingStatus
goto_if_false @SWEET2_2816
wait 0
goto @SWEET2_2792

:SWEET2_2816
Cutscene.Clear
Streaming.LoadSpecialCharacter(1, 'EMMET')
Streaming.RequestModel(#DYN_WINE_BIG)
Streaming.RequestAnimation("GANGS")
Streaming.RequestAnimation("CRACK")
Streaming.RequestAnimation("COLT45")
Streaming.RequestAnimation("FAT")
Streaming.RequestModel(346)
Streaming.RequestModel(549)
Streaming.LoadAllModelsNow

:SWEET2_2882
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(#DYN_WINE_BIG)
  not Streaming.HasAnimationLoaded("GANGS")
  not Streaming.HasAnimationLoaded("CRACK")
  not Streaming.HasModelLoaded(346)
  not Streaming.HasAnimationLoaded("COLT45")
goto_if_false @SWEET2_2945
wait 0
goto @SWEET2_2882

:SWEET2_2945
if or
  not Streaming.HasModelLoaded(549)
  not Streaming.HasAnimationLoaded("FAT")
goto_if_false @SWEET2_2979
wait 0
goto @SWEET2_2945

:SWEET2_2979
World.ClearArea(2446.49, -1966.47, 12.54, 4.0, True)
Car.CustomPlateForNextCar(549, "_FELTCH_")
83@ = Car.Create(549, 2446.49, -1965.0, 12.54)
Car.SetHeading(83@, 101.85)
Car.LockDoors(83@, CarLock.Locked)
Car.SetProofs(83@, True, True, True, True, True)
63@ = Char.Create(PedType.Mission1, 290, 2451.834, -1976.811, 12.5469)
Char.SetHeading(63@, 75.6292)
Char.SetHealth(63@, 600)
Char.SetNeverTargeted(63@, True)
Char.SetSuffersCriticalHits(63@, False)
Blip.Remove(35@)
41@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Pistol)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Pistol, 30000)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Pistol)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_3195
Char.GiveWeapon($mc_strap, WeaponType.Pistol, 10000)
Char.SetCurrentWeapon($mc_strap, WeaponType.Pistol)

:SWEET2_3195
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetNearClip(0.2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37811)
Camera.DoFade(1000, Fade.In)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_3282
Char.ClearTasksImmediately($mc_strap)
Char.SetCoordinates($mc_strap, 2450.465, -1980.577, 12.5469)
Char.SetHeading($mc_strap, 79.2792)

:SWEET2_3282
$1758[0] = Object.Create(#DYN_WINE_BIG, 89@, 94@, 99@)
Object.SetHeading($1758[0], 90.0)
Object.MakeTargetable($1758[0], True)
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_3361
Car.SetCoordinates($sweet_carY, 2452.646, -2003.876, 12.554)
Car.SetHeading($sweet_carY, 100.2244)

:SWEET2_3361
Camera.SetFixedPosition(2445.797, -1976.585, 14.8864, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2444.983, -1977.151, 14.7514, SwitchType.JumpCut)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET2_3455
Char.SetCoordinates($stattreadstamina_ctr, 2453.821, -1978.777, 12.5469)
goto @SWEET2_3475

:SWEET2_3455
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2453.821, -1978.777, 12.5469)

:SWEET2_3475
Char.SetHeading($stattreadstamina_ctr, 89.5159)
38@ = 0
wait 2500
Camera.SetFixedPosition(2451.365, -1980.395, 14.288, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2450.365, -1980.363, 14.2636, SwitchType.JumpCut)
62@ = 0
54@ = Sequence.Open()
Task.ShootAtCoord(-1, 89@, 94@, 99@, 1300)
Task.PlayAnim(-1, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, False, False, False, -1)
Task.StandStill(-1, 5000)
Task.PlayAnim(-1, "BBALBAT_IDLE_02", "CRACK", 4.0, False, False, False, False, -1)
Task.StandStill(-1, 5000)
Task.PlayAnim(-1, "PRTIAL_GNGTLKD", "GANGS", 4.0, False, False, False, False, -1)
Task.StandStill(-1, 5000)
Sequence.Close(54@)

:SWEET2_3729
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_3794
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_3787
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_3787
goto @SWEET2_3729

:SWEET2_3794
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE3_BC', 10000, 1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_3845
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.StartFacialTalk($mc_strap, 3000)

:SWEET2_3845
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_3910
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_3903
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_3903
goto @SWEET2_3845

:SWEET2_3910
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_3946
Text.ClearPrints
Char.StopFacialTalk($mc_strap)
Char.PerformSequence($mc_strap, 54@)
Sequence.Clear(54@)

:SWEET2_3946
84@ = 0

:SWEET2_3953
if 
  36@ <> 1
goto_if_false @SWEET2_4810
wait 0
if 
  Object.DoesExist($1758[0])
goto_if_false @SWEET2_4066
if 
  Player.IsTargetingObject($statbike_temp, $1758[0])
goto_if_false @SWEET2_4024
gosub @SWEET2_20902
goto @SWEET2_4031

:SWEET2_4024
gosub @SWEET2_20955

:SWEET2_4031
if 
  Object.HasBeenDamaged($1758[0])
goto_if_false @SWEET2_4066
Object.MakeTargetable($1758[0], False)
Object.Delete($1758[0])
36@ += 1

:SWEET2_4066
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, 2448.96, -1973.545, 13.3074, 13.0, 13.0, 10.0, False)
goto_if_false @SWEET2_4216
if 
  38@ == 0
goto_if_false @SWEET2_4209
Blip.Remove(35@)
35@ = Blip.AddForCoord(2451.95, -1978.93, 12.55)
Text.ClearHelp
Text.PrintNow('SWE2_J', 10000, 1)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Pistol)
goto_if_false @SWEET2_4202
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Pistol, 10)

:SWEET2_4202
38@ = 1

:SWEET2_4209
goto @SWEET2_4364

:SWEET2_4216
if 
  84@ == 0
goto_if_false @SWEET2_4279
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_4279
Char.RemoveAllWeapons($mc_strap)
Char.GiveWeapon($mc_strap, WeaponType.Pistol, 10000)
Char.SetCurrentWeapon($mc_strap, WeaponType.Pistol)
84@ = 1

:SWEET2_4279
if 
  38@ == 1
goto_if_false @SWEET2_4364
Blip.Remove(35@)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Pistol)
goto_if_false @SWEET2_4330
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Pistol, 30000)

:SWEET2_4330
Text.PrintHelpForever('HOOD2A')
Text.PrintNow('SWE2_G', 10000, 1)
38@ = 0

:SWEET2_4364
if 
  62@ == 0
goto_if_false @SWEET2_4686
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_4686
55@ = Char.GetScriptTaskStatus($mc_strap, 1541)
64@ = Char.GetSequenceProgress($mc_strap)
if 
  64@ == 0
goto_if_false @SWEET2_4686
Camera.SetNearClip(0.2)
Camera.SetFixedPosition(2439.859, -1979.678, 14.4278, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2440.833, -1979.794, 14.235, SwitchType.JumpCut)
wait 500
if 
  Object.DoesExist($1758[0])
goto_if_false @SWEET2_4521
Object.Break($1758[0], 1)

:SWEET2_4521
wait 1000
Char.SetCoordinates($stattreadstamina_ctr, 2450.74, -1978.375, 12.5469)
Char.SetHeading($stattreadstamina_ctr, 89.5159)
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_4602
Char.SetCoordinates(63@, 2451.834, -1976.811, 12.5469)
Char.SetHeading(63@, 75.6292)

:SWEET2_4602
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
36@ = 0
Object.Delete($1758[0])
$1758[0] = Object.Create(#DYN_WINE_BIG, 2440.58, -1979.89, 14.2)
Object.SetHeading($1758[0], 90.0)
Object.MakeTargetable($1758[0], True)
Text.PrintHelpForever('HOOD2A')
62@ = 1

:SWEET2_4686
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_4725
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_4725
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_4764
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_4764
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_4803
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_4803
goto @SWEET2_3953

:SWEET2_4810
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37831)

:SWEET2_4819
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_4923
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_4877
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_4877
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_4916
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_4916
goto @SWEET2_4819

:SWEET2_4923
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE3_DC', 10000, 1)
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_5017
Char.ShutUpForScriptedSpeech(63@, True)
Char.StartFacialTalk(63@, 3000)
Task.PlayAnim(63@, "PRTIAL_GNGTLKC", "GANGS", 4.0, False, False, False, True, -1)

:SWEET2_5017
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_5121
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_5075
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_5075
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_5114
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_5114
goto @SWEET2_5017

:SWEET2_5121
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_5149
Char.ClearTasks(63@)
Text.ClearPrints
Char.StopFacialTalk(63@)

:SWEET2_5149
Player.SetControl($statbike_temp, False)
Player.ClearWantedLevel($statbike_temp)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37809)
wait 1000
36@ = 0
wait 1000
Hud.SwitchWidescreen(True)
Camera.SetNearClip(0.2)
Text.ClearHelp
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_5246
Car.SetCoordinates($sweet_carY, 2452.646, -2003.876, 12.554)
Car.SetHeading($sweet_carY, 100.2244)

:SWEET2_5246
$1758[0] = Object.Create(#DYN_WINE_BIG, 89@, 94@, 99@)
Object.SetHeading($1758[0], 90.0)
Object.MakeTargetable($1758[0], True)
$1758[1] = Object.Create(#DYN_WINE_BIG, 90@, 95@, 100@)
Object.SetHeading($1758[1], 90.0)
Object.MakeTargetable($1758[1], True)
$1758[2] = Object.Create(#DYN_WINE_BIG, 91@, 96@, 101@)
Object.SetHeading($1758[2], 90.0)
Object.MakeTargetable($1758[2], True)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET2_5388
Char.SetCoordinates($stattreadstamina_ctr, 2453.821, -1978.777, 12.5469)
goto @SWEET2_5408

:SWEET2_5388
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2453.821, -1978.777, 12.5469)

:SWEET2_5408
Char.SetHeading($stattreadstamina_ctr, 89.5159)
Camera.SetFixedPosition(2447.379, -1977.062, 15.2851, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2446.391, -1977.011, 15.1366, SwitchType.JumpCut)
wait 2500
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2451.388, -1981.104, 14.5206, 2451.738, -1980.585, 14.5765, 8000, True)
Camera.SetVectorTrack(2450.427, -1980.924, 14.3127, 2450.858, -1980.187, 14.318, 8000, True)
Char.SetHeading($stattreadstamina_ctr, 65.0)
38@ = 0
62@ = 0
60@ = Sequence.Open()
Task.PlayAnim(-1, "BBALBAT_IDLE_02", "CRACK", 4.0, False, False, False, False, -1)
Task.StandStill(-1, 5000)
Task.PlayAnim(-1, "PRTIAL_GNGTLKD", "GANGS", 4.0, False, False, False, False, -1)
Task.StandStill(-1, 5000)
Task.PlayAnim(-1, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, False, False, False, -1)
Task.StandStill(-1, 5000)
Sequence.SetToRepeat(60@, True)
Sequence.Close(60@)
54@ = Sequence.Open()
Task.PlayAnim(-1, "COLT45_FIRE", "COLT45", 4.0, False, False, False, True, 2000)
Task.ShootAtCoord(-1, 89@, 94@, 99@, 1300)
Task.ShootAtCoord(-1, 90@, 95@, 100@, 1300)
Task.ShootAtCoord(-1, 91@, 96@, 101@, 1300)
Char.PerformSequence(-1, 60@)
Sequence.Close(54@)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_5882
Char.PerformSequence($mc_strap, 54@)
Sequence.Clear(54@)

:SWEET2_5882
84@ = 0

:SWEET2_5889
if 
  36@ <> 3
goto_if_false @SWEET2_7177
wait 0
if 
  Object.DoesExist($1758(42@,10i))
goto_if_false @SWEET2_6022
if 
  Player.IsTargetingObject($statbike_temp, $1758(42@,10i))
goto_if_false @SWEET2_5968
gosub @SWEET2_20902
goto @SWEET2_5975

:SWEET2_5968
gosub @SWEET2_20955

:SWEET2_5975
if 
  Object.HasBeenDamaged($1758(42@,10i))
goto_if_false @SWEET2_6022
Object.MakeTargetable($1758(42@,10i), False)
Object.Delete($1758(42@,10i))
36@ += 1

:SWEET2_6022
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, 2448.96, -1973.545, 13.3074, 13.0, 13.0, 10.0, False)
goto_if_false @SWEET2_6172
if 
  38@ == 0
goto_if_false @SWEET2_6165
Blip.Remove(35@)
35@ = Blip.AddForCoord(2451.95, -1978.93, 12.55)
Text.ClearHelp
Text.PrintNow('SWE2_J', 10000, 1)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Pistol)
goto_if_false @SWEET2_6158
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Pistol, 10)

:SWEET2_6158
38@ = 1

:SWEET2_6165
goto @SWEET2_6320

:SWEET2_6172
if 
  84@ == 0
goto_if_false @SWEET2_6235
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_6235
Char.RemoveAllWeapons($mc_strap)
Char.GiveWeapon($mc_strap, WeaponType.Pistol, 10000)
Char.SetCurrentWeapon($mc_strap, WeaponType.Pistol)
84@ = 1

:SWEET2_6235
if 
  38@ == 1
goto_if_false @SWEET2_6320
Blip.Remove(35@)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Pistol)
goto_if_false @SWEET2_6286
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Pistol, 30000)

:SWEET2_6286
Text.PrintHelpForever('HOOD2B')
Text.PrintNow('SWE2_H', 10000, 1)
38@ = 0

:SWEET2_6320
if 
  62@ == 0
goto_if_false @SWEET2_7021
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_7021
55@ = Char.GetScriptTaskStatus($mc_strap, 1541)
64@ = Char.GetSequenceProgress($mc_strap)
if 
  64@ == 1
goto_if_false @SWEET2_6419
wait 700
if 
  Object.DoesExist($1758[0])
goto_if_false @SWEET2_6419
Object.Break($1758[0], 1)

:SWEET2_6419
if 
  64@ == 2
goto_if_false @SWEET2_6465
wait 500
if 
  Object.DoesExist($1758[1])
goto_if_false @SWEET2_6465
Object.Break($1758[1], 1)

:SWEET2_6465
if 
  64@ == 3
goto_if_false @SWEET2_7021

:SWEET2_6483
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET2_6548
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_6541
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_6541
goto @SWEET2_6483

:SWEET2_6548
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE3_BA', 10000, 1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_6599
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.StartFacialTalk($mc_strap, 3000)

:SWEET2_6599
wait 500
if 
  Object.DoesExist($1758[2])
goto_if_false @SWEET2_6627
Object.Break($1758[2], 1)

:SWEET2_6627
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET2_6692
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_6685
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_6685
goto @SWEET2_6627

:SWEET2_6692
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_6715
Text.ClearPrints
Char.StopFacialTalk($mc_strap)

:SWEET2_6715
wait 1000
Char.SetCoordinates($stattreadstamina_ctr, 2450.74, -1978.375, 12.5469)
Char.SetHeading($stattreadstamina_ctr, 89.5159)
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_6796
Char.SetCoordinates(63@, 2451.834, -1976.811, 12.5469)
Char.SetHeading(63@, 75.6292)

:SWEET2_6796
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Text.PrintHelpForever('HOOD2B')
36@ = 0
if 
  Object.DoesExist($1758[0])
goto_if_false @SWEET2_6854
Object.MakeTargetable($1758[0], False)

:SWEET2_6854
Object.Delete($1758[0])
$1758[0] = Object.Create(#DYN_WINE_BIG, 89@, 94@, 99@)
Object.SetHeading($1758[0], 90.0)
Object.MakeTargetable($1758[0], True)
if 
  Object.DoesExist($1758[1])
goto_if_false @SWEET2_6915
Object.MakeTargetable($1758[1], False)

:SWEET2_6915
Object.Delete($1758[1])
$1758[1] = Object.Create(#DYN_WINE_BIG, 90@, 95@, 100@)
Object.SetHeading($1758[1], 90.0)
Object.MakeTargetable($1758[1], True)
if 
  Object.DoesExist($1758[2])
goto_if_false @SWEET2_6976
Object.MakeTargetable($1758[2], False)

:SWEET2_6976
Object.Delete($1758[2])
$1758[2] = Object.Create(#DYN_WINE_BIG, 91@, 96@, 101@)
Object.SetHeading($1758[2], 90.0)
Object.MakeTargetable($1758[2], True)
62@ = 1

:SWEET2_7021
42@ += 1
if 
  42@ >= 3
goto_if_false @SWEET2_7053
42@ = 0

:SWEET2_7053
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_7092
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_7092
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_7131
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_7131
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_7170
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_7170
goto @SWEET2_5889

:SWEET2_7177
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37829)

:SWEET2_7186
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_7290
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_7244
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_7244
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_7283
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_7283
goto @SWEET2_7186

:SWEET2_7290
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE3_DA', 10000, 1)
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_7384
Char.ShutUpForScriptedSpeech(63@, True)
Char.StartFacialTalk(63@, 3000)
Task.PlayAnim(63@, "PRTIAL_GNGTLKC", "GANGS", 4.0, False, False, False, True, -1)

:SWEET2_7384
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_7488
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_7442
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_7442
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_7481
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_7481
goto @SWEET2_7384

:SWEET2_7488
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_7516
Char.ClearTasks(63@)
Text.ClearPrints
Char.StopFacialTalk(63@)

:SWEET2_7516
Player.SetControl($statbike_temp, False)
Player.ClearWantedLevel($statbike_temp)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37812)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37813)
wait 1000
36@ = 0
wait 1000
Hud.SwitchWidescreen(True)
Camera.SetNearClip(0.2)
Text.ClearHelp
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_7622
Car.SetCoordinates($sweet_carY, 2452.646, -2003.876, 12.554)
Car.SetHeading($sweet_carY, 100.2244)

:SWEET2_7622
89@ = 2440.58
94@ = -1979.89
99@ = 14.1
90@ = 2440.14
95@ = -1976.5
100@ = 13.4
91@ = 2440.66
96@ = -1973.76
101@ = 14.1
92@ = 2448.97
97@ = -1973.29
102@ = 13.3
93@ = 2444.35
98@ = -1970.61
103@ = 13.7
$1758[0] = Object.Create(#DYN_WINE_BIG, 89@, 94@, 99@)
Object.SetHeading($1758[0], 90.0)
Object.MakeTargetable($1758[0], True)
$1758[1] = Object.Create(#DYN_WINE_BIG, 90@, 95@, 100@)
Object.SetHeading($1758[1], 90.0)
Object.MakeTargetable($1758[1], True)
$1758[2] = Object.Create(#DYN_WINE_BIG, 91@, 96@, 101@)
Object.SetHeading($1758[2], 90.0)
Object.MakeTargetable($1758[2], True)
$1758[3] = Object.Create(#DYN_WINE_BIG, 92@, 97@, 102@)
Object.SetHeading($1758[3], 90.0)
Object.MakeTargetable($1758[3], True)
$1758[4] = Object.Create(#DYN_WINE_BIG, 93@, 98@, 103@)
Object.SetHeading($1758[4], 90.0)
Object.MakeTargetable($1758[4], True)
Camera.SetFixedPosition(2453.755, -1978.959, 15.389, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2452.837, -1978.611, 15.1996, SwitchType.JumpCut)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET2_8031
Char.SetCoordinates($stattreadstamina_ctr, 2453.821, -1978.777, 12.5469)
goto @SWEET2_8051

:SWEET2_8031
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2453.821, -1978.777, 12.5469)

:SWEET2_8051
Char.SetHeading($stattreadstamina_ctr, 89.5159)
wait 2500
Camera.SetFixedPosition(2449.041, -1977.732, 12.9667, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2449.835, -1978.326, 13.0934, SwitchType.JumpCut)
Char.SetHeading($stattreadstamina_ctr, 65.0)
38@ = 0
62@ = 0
Sequence.Clear(60@)
59@ = Sequence.Open()
Task.StandStill(-1, 5000)
Task.PlayAnim(-1, "BBALBAT_IDLE_02", "CRACK", 4.0, False, False, False, False, -1)
Task.StandStill(-1, 5000)
Task.PlayAnim(-1, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, False, False, False, -1)
Task.StandStill(-1, 5000)
Task.PlayAnim(-1, "PRTIAL_GNGTLKD", "GANGS", 4.0, False, False, False, False, -1)
Sequence.SetToRepeat(59@, True)
Sequence.Close(59@)
60@ = Sequence.Open()
Task.AchieveHeading(-1, 77.0)
Task.PlayAnim(-1, "IDLE_TIRED", "FAT", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "IDLE_TIRED", "FAT", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "IDLE_TIRED", "FAT", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "IDLE_TIRED", "FAT", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "IDLE_TIRED", "FAT", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "IDLE_TIRED", "FAT", 4.0, False, False, False, False, -1)
Char.PerformSequence(-1, 59@)
Sequence.Close(60@)
58@ = Sequence.Open()
Task.ToggleDuck(-1, False)
Task.GoStraightToCoord(-1, 2450.48, -1981.65, 12.55, MoveState.Walk, 4000)
Char.PerformSequence(-1, 60@)
Sequence.Close(58@)
54@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "CROUCH_ROLL_R", "PED", 4.0, False, True, True, False, -1)
Task.ShootAtCoord(-1, 89@, 94@, 99@, 1400)
Task.ShootAtCoord(-1, 90@, 95@, 100@, 1400)
Task.ShootAtCoord(-1, 91@, 96@, 101@, 1400)
Task.ShootAtCoord(-1, 92@, 97@, 102@, 1400)
Task.ShootAtCoord(-1, 93@, 98@, 103@, 1400)
Char.PerformSequence(-1, 58@)
Sequence.Close(54@)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_8771
Char.PerformSequence($mc_strap, 54@)
Sequence.Clear(54@)

:SWEET2_8771
40@ = 0
84@ = 0

:SWEET2_8785
if 
  36@ <> 5
goto_if_false @SWEET2_11793
wait 0
if 
  Object.DoesExist($1758(42@,10i))
goto_if_false @SWEET2_8918
if 
  Player.IsTargetingObject($statbike_temp, $1758(42@,10i))
goto_if_false @SWEET2_8864
gosub @SWEET2_20902
goto @SWEET2_8871

:SWEET2_8864
gosub @SWEET2_20955

:SWEET2_8871
if 
  Object.HasBeenDamaged($1758(42@,10i))
goto_if_false @SWEET2_8918
Object.MakeTargetable($1758(42@,10i), False)
Object.Delete($1758(42@,10i))
36@ += 1

:SWEET2_8918
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, 2448.96, -1973.545, 13.3074, 13.0, 13.0, 10.0, False)
goto_if_false @SWEET2_9068
if 
  38@ == 0
goto_if_false @SWEET2_9061
Blip.Remove(35@)
35@ = Blip.AddForCoord(2451.95, -1978.93, 12.55)
Text.ClearHelp
Text.PrintNow('SWE2_J', 10000, 1)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Pistol)
goto_if_false @SWEET2_9054
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Pistol, 10)

:SWEET2_9054
38@ = 1

:SWEET2_9061
goto @SWEET2_9197

:SWEET2_9068
if 
  84@ == 0
goto_if_false @SWEET2_9131
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_9131
Char.RemoveAllWeapons($mc_strap)
Char.GiveWeapon($mc_strap, WeaponType.Pistol, 10000)
Char.SetCurrentWeapon($mc_strap, WeaponType.Pistol)
84@ = 1

:SWEET2_9131
if 
  38@ == 1
goto_if_false @SWEET2_9197
Blip.Remove(35@)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Pistol, 10)
Text.PrintHelpForever('HOOD2F')
Text.PrintNow('SWE2_I', 10000, 1)
38@ = 0

:SWEET2_9197
if 
  62@ == 0
goto_if_false @SWEET2_11637
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_11637
55@ = Char.GetScriptTaskStatus($mc_strap, 1541)
64@ = Char.GetSequenceProgress($mc_strap)
if 
  64@ == 2
goto_if_false @SWEET2_9585
Camera.SetFixedPosition(2452.865, -1977.859, 13.739, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2451.901, -1978.117, 13.6752, SwitchType.JumpCut)
if 
  40@ == 0
goto_if_false @SWEET2_9585

:SWEET2_9337
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_9402
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_9395
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_9395
goto @SWEET2_9337

:SWEET2_9402
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE3_BD', 10000, 1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_9453
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.StartFacialTalk($mc_strap, 3000)

:SWEET2_9453
wait 500
if 
  Object.DoesExist($1758[0])
goto_if_false @SWEET2_9481
Object.Break($1758[0], 1)

:SWEET2_9481
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_9546
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_9539
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_9539
goto @SWEET2_9481

:SWEET2_9546
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_9569
Text.ClearPrints
Char.StopFacialTalk($mc_strap)

:SWEET2_9569
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37814)
40@ = 1

:SWEET2_9585
if 
  64@ == 3
goto_if_false @SWEET2_9928
Camera.SetFixedPosition(2452.979, -1980.734, 13.866, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2452.089, -1980.282, 13.8231, SwitchType.JumpCut)
if 
  40@ == 1
goto_if_false @SWEET2_9928

:SWEET2_9672
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET2_9737
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_9730
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_9730
goto @SWEET2_9672

:SWEET2_9737
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE3_BE', 10000, 1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_9788
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.StartFacialTalk($mc_strap, 3000)

:SWEET2_9788
wait 500
if 
  Object.DoesExist($1758[1])
goto_if_false @SWEET2_9816
Object.Break($1758[1], 1)

:SWEET2_9816
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET2_9881
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_9874
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_9874
goto @SWEET2_9816

:SWEET2_9881
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_9912
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.StartFacialTalk($mc_strap, 3000)

:SWEET2_9912
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37815)
40@ = 2

:SWEET2_9928
if 
  64@ == 4
goto_if_false @SWEET2_10326
Camera.SetFixedPosition(2453.303, -1979.46, 14.432, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2452.354, -1979.243, 14.2053, SwitchType.JumpCut)
if 
  84@ == 1
goto_if_false @SWEET2_10060
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_10060
Char.RemoveAllWeapons($mc_strap)
Char.GiveWeapon($mc_strap, WeaponType.Pistol, 10000)
Char.SetCurrentWeapon($mc_strap, WeaponType.Pistol)
84@ = 2

:SWEET2_10060
if 
  40@ == 2
goto_if_false @SWEET2_10326

:SWEET2_10078
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_10143
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_10136
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_10136
goto @SWEET2_10078

:SWEET2_10143
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE3_BF', 10000, 1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_10194
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.StartFacialTalk($mc_strap, 3000)

:SWEET2_10194
wait 500
if 
  Object.DoesExist($1758[2])
goto_if_false @SWEET2_10222
Object.Break($1758[2], 1)

:SWEET2_10222
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_10287
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_10280
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_10280
goto @SWEET2_10222

:SWEET2_10287
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_10310
Text.ClearPrints
Char.StopFacialTalk($mc_strap)

:SWEET2_10310
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37810)
40@ = 3

:SWEET2_10326
if 
  64@ == 5
goto_if_false @SWEET2_10661
Camera.SetFixedPosition(2449.363, -1971.914, 13.768, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2449.492, -1972.896, 13.6288, SwitchType.JumpCut)
if 
  40@ == 3
goto_if_false @SWEET2_10661

:SWEET2_10413
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET2_10478
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_10471
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_10471
goto @SWEET2_10413

:SWEET2_10478
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE3_BG', 10000, 1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_10529
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.StartFacialTalk($mc_strap, 3000)

:SWEET2_10529
wait 500
if 
  Object.DoesExist($1758[3])
goto_if_false @SWEET2_10557
Object.Break($1758[3], 1)

:SWEET2_10557
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET2_10622
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_10615
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_10615
goto @SWEET2_10557

:SWEET2_10622
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37873)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_10654
Text.ClearPrints
Char.StopFacialTalk($mc_strap)

:SWEET2_10654
40@ = 4

:SWEET2_10661
if 
  64@ == 6
goto_if_false @SWEET2_11637
Camera.SetFixedPosition(2442.503, -1967.336, 14.1262, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2443.092, -1968.133, 13.9918, SwitchType.JumpCut)
if 
  84@ == 2
goto_if_false @SWEET2_10793
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_10793
Char.RemoveAllWeapons($mc_strap)
Char.GiveWeapon($mc_strap, WeaponType.Pistol, 10000)
Char.SetCurrentWeapon($mc_strap, WeaponType.Pistol)
84@ = 3

:SWEET2_10793
if 
  40@ == 4
goto_if_false @SWEET2_11050

:SWEET2_10811
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_10876
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_10869
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_10869
goto @SWEET2_10811

:SWEET2_10876
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE3_BB', 10000, 1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_10927
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.StartFacialTalk($mc_strap, 3000)

:SWEET2_10927
wait 500
if 
  Object.DoesExist($1758[4])
goto_if_false @SWEET2_10955
Object.Break($1758[4], 1)

:SWEET2_10955
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_11020
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_11013
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_11013
goto @SWEET2_10955

:SWEET2_11020
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_11043
Text.ClearPrints
Char.StopFacialTalk($mc_strap)

:SWEET2_11043
40@ = 5

:SWEET2_11050
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET2_11115
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_11108
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_11108
goto @SWEET2_11050

:SWEET2_11115
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE3_ZZ', 10000, 1)

:SWEET2_11135
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET2_11200
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_11193
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_11193
goto @SWEET2_11135

:SWEET2_11200
Text.PrintNow('SWE2_I', 10000, 1)
Char.SetCoordinates($stattreadstamina_ctr, 2450.74, -1978.375, 12.5469)
Char.SetHeading($stattreadstamina_ctr, 89.5159)
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_11292
Char.SetCoordinates(63@, 2451.834, -1976.811, 12.5469)
Char.SetHeading(63@, 75.6292)

:SWEET2_11292
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Text.PrintHelpForever('HOOD2F')
36@ = 0
if 
  Object.DoesExist($1758[0])
goto_if_false @SWEET2_11348
Object.MakeTargetable($1758[0], False)

:SWEET2_11348
Object.Delete($1758[0])
$1758[0] = Object.Create(#DYN_WINE_BIG, 89@, 94@, 99@)
Object.SetHeading($1758[0], 90.0)
Object.MakeTargetable($1758[0], True)
if 
  Object.DoesExist($1758[1])
goto_if_false @SWEET2_11409
Object.MakeTargetable($1758[1], False)

:SWEET2_11409
Object.Delete($1758[1])
$1758[1] = Object.Create(#DYN_WINE_BIG, 90@, 95@, 100@)
Object.SetHeading($1758[1], 90.0)
Object.MakeTargetable($1758[1], True)
if 
  Object.DoesExist($1758[2])
goto_if_false @SWEET2_11470
Object.MakeTargetable($1758[2], False)

:SWEET2_11470
Object.Delete($1758[2])
$1758[2] = Object.Create(#DYN_WINE_BIG, 91@, 96@, 101@)
Object.SetHeading($1758[2], 90.0)
Object.MakeTargetable($1758[2], True)
if 
  Object.DoesExist($1758[3])
goto_if_false @SWEET2_11531
Object.MakeTargetable($1758[3], False)

:SWEET2_11531
Object.Delete($1758[3])
$1758[3] = Object.Create(#DYN_WINE_BIG, 92@, 97@, 102@)
Object.SetHeading($1758[3], 90.0)
Object.MakeTargetable($1758[3], True)
if 
  Object.DoesExist($1758[4])
goto_if_false @SWEET2_11592
Object.MakeTargetable($1758[4], False)

:SWEET2_11592
Object.Delete($1758[4])
$1758[4] = Object.Create(#DYN_WINE_BIG, 93@, 98@, 103@)
Object.SetHeading($1758[4], 90.0)
Object.MakeTargetable($1758[4], True)
62@ = 1

:SWEET2_11637
42@ += 1
if 
  42@ >= 5
goto_if_false @SWEET2_11669
42@ = 0

:SWEET2_11669
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_11708
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_11708
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_11747
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_11747
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_11786
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_11786
goto @SWEET2_8785

:SWEET2_11793
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37835)

:SWEET2_11802
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_11906
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_11860
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_11860
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_11899
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_11899
goto @SWEET2_11802

:SWEET2_11906
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE3_DG', 10000, 1)
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_12000
Char.ShutUpForScriptedSpeech(63@, True)
Char.StartFacialTalk(63@, 3000)
Task.PlayAnim(63@, "PRTIAL_GNGTLKC", "GANGS", 4.0, False, False, False, True, -1)

:SWEET2_12000
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_12104
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_12058
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_12058
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_12097
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_12097
goto @SWEET2_12000

:SWEET2_12104
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_12132
Char.ClearTasks(63@)
Text.ClearPrints
Char.StopFacialTalk(63@)

:SWEET2_12132
Player.ClearWantedLevel($statbike_temp)
Player.SetControl($statbike_temp, False)
wait 1000
36@ = 0
wait 1000
Hud.SwitchWidescreen(True)
Camera.SetNearClip(0.2)
Text.ClearHelp
if 
  not Car.IsDead(83@)
goto_if_false @SWEET2_12271
Car.SetCoordinates(83@, 2446.49, -1966.47, 12.54)
Car.SetHeading(83@, 101.85)
Camera.SetFixedPosition(2447.223, -1971.385, 14.5714, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2447.07, -1970.434, 14.2998, SwitchType.JumpCut)

:SWEET2_12271
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_12317
Char.SetCoordinates(63@, 2452.69, -1980.218, 12.5469)
Char.SetHeading(63@, 44.7926)

:SWEET2_12317
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_12363
Car.SetCoordinates($sweet_carY, 2452.646, -2003.876, 12.554)
Car.SetHeading($sweet_carY, 100.2244)

:SWEET2_12363
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET2_12406
Char.SetCoordinates($stattreadstamina_ctr, 2446.11, -1974.53, 12.54)
goto @SWEET2_12426

:SWEET2_12406
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2446.11, -1974.53, 12.54)

:SWEET2_12426
Char.SetHeading($stattreadstamina_ctr, 349.81)
Text.PrintNow('SWE2_F', 10000, 1)
if 
  not Car.IsDead(83@)
goto_if_false @SWEET2_12529
wait 3000
Camera.SetFixedPosition(2448.249, -1968.608, 13.7351, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2447.919, -1967.707, 13.4528, SwitchType.JumpCut)
wait 2000

:SWEET2_12529
Text.PrintHelpForever('HOOD2C')
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
38@ = 0
62@ = 0

:SWEET2_12569
if 
  not Car.IsDead(83@)
goto_if_false @SWEET2_13089
wait 0
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, 2451.95, -1978.93, 12.55, 13.0, 13.0, 10.0, False)
goto_if_false @SWEET2_12739
if 
  38@ == 0
goto_if_false @SWEET2_12732
Blip.Remove(35@)
35@ = Blip.AddForCoord(2451.95, -1978.93, 12.55)
Text.ClearHelp
Text.PrintNow('SWE2_J', 10000, 1)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Pistol)
goto_if_false @SWEET2_12725
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Pistol, 10)

:SWEET2_12725
38@ = 1

:SWEET2_12732
goto @SWEET2_12824

:SWEET2_12739
if 
  38@ == 1
goto_if_false @SWEET2_12824
Blip.Remove(35@)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Pistol)
goto_if_false @SWEET2_12790
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Pistol, 30000)

:SWEET2_12790
Text.PrintHelpForever('HOOD2C')
Text.PrintNow('SWE2_F', 10000, 1)
38@ = 0

:SWEET2_12824
if 
  62@ == 0
goto_if_false @SWEET2_12965
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_12965
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_12912
Char.SetProofs(63@, False, False, True, False, False)
Char.SetHealth(63@, 600)

:SWEET2_12912
if 
  not Car.IsDead(83@)
goto_if_false @SWEET2_12943
Car.SetProofs(83@, False, False, False, False, False)

:SWEET2_12943
Char.SetProofs($stattreadstamina_ctr, False, False, True, False, False)
62@ = 1

:SWEET2_12965
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_13004
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_13004
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_13043
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_13043
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_13082
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_13082
goto @SWEET2_12569

:SWEET2_13089
Text.ClearHelp
Player.ClearWantedLevel($statbike_temp)
Streaming.MarkModelAsNoLongerNeeded(549)
wait 2000
Player.ClearWantedLevel($statbike_temp)
Camera.DoFade(500, Fade.Out)

:SWEET2_13118
if 
  Camera.GetFadingStatus
goto_if_false @SWEET2_13142
wait 0
goto @SWEET2_13118

:SWEET2_13142
Streaming.LoadSceneInDirection(2450.567, -1975.641, 12.5469, 288.0)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetNearClip(0.2)
Streaming.RequestAnimation("GANGS")

:SWEET2_13213
if 
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @SWEET2_13244
wait 0
goto @SWEET2_13213

:SWEET2_13244
80@ = 0
81@ = 0
82@ = 0
39@ = 1
gosub @SWEET2_47
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET2_13322
Char.SetCoordinates($stattreadstamina_ctr, 2450.567, -1975.641, 12.5469)
goto @SWEET2_13342

:SWEET2_13322
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2450.567, -1975.641, 12.5469)

:SWEET2_13342
Char.SetHeading($stattreadstamina_ctr, 288.25)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_13484
Char.SetCoordinates($mc_strap, 2452.741, -1976.45, 12.5469)
Char.SetHeading($mc_strap, 345.3302)
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_13484
Char.SetHealth(63@, 600)
Char.SetCoordinates(63@, 2452.846, -1975.1, 12.5469)
Char.SetHeading(63@, 160.25)
Task.TurnCharToFaceChar($mc_strap, $stattreadstamina_ctr)
Task.TurnCharToFaceChar(63@, $stattreadstamina_ctr)
Char.ClearLookAt(63@)
Task.LookAtChar(63@, $stattreadstamina_ctr, 30000)

:SWEET2_13484
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_13530
Car.SetCoordinates($sweet_carY, 2452.646, -2003.876, 12.554)
Car.SetHeading($sweet_carY, 100.2244)

:SWEET2_13530
World.ClearArea(2453.029, -2001.059, 12.554, 30.0, True)
Text.ClearHelp
Text.ClearPrints
Camera.DoFade(500, Fade.In)
Camera.SetFixedPosition(2450.107, -1977.553, 14.0919, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2450.777, -1976.838, 13.8915, SwitchType.JumpCut)
82@ = 0

:SWEET2_13623
if 
  80@ <> 1
goto_if_false @SWEET2_13878
wait 0
gosub @SWEET2_21000
if 
  82@ == 0
goto_if_false @SWEET2_13754
if 
  81@ == 2
goto_if_false @SWEET2_13754
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_13754
Task.PlayAnim($mc_strap, "PRTIAL_GNGTLKC", "GANGS", 4.0, False, False, False, True, -1)
82@ = 1

:SWEET2_13754
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_13793
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_13793
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_13832
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_13832
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_13871
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_13871
goto @SWEET2_13623

:SWEET2_13878
88@ = 0
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(2452.646, -2003.876, 12.554, 50.0, True)
skip_cutscene_start_internal @SWEET2_17099
82@ = 0

:SWEET2_13937
if 
  80@ <> 2
goto_if_false @SWEET2_14149
wait 0
gosub @SWEET2_21000
if 
  82@ == 0
goto_if_false @SWEET2_14025
if 
  81@ == 2
goto_if_false @SWEET2_14025
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_14025
82@ = 1

:SWEET2_14025
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_14064
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_14064
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_14103
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_14103
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_14142
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_14142
goto @SWEET2_13937

:SWEET2_14149
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_14170
Char.StopFacialTalk($mc_strap)

:SWEET2_14170
82@ = 0

:SWEET2_14177
if 
  80@ <> 3
goto_if_false @SWEET2_14389
wait 0
gosub @SWEET2_21000
if 
  82@ == 0
goto_if_false @SWEET2_14265
if 
  81@ == 2
goto_if_false @SWEET2_14265
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_14265
82@ = 1

:SWEET2_14265
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_14304
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_14304
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_14343
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_14343
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_14382
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_14382
goto @SWEET2_14177

:SWEET2_14389
82@ = 0

:SWEET2_14396
if 
  80@ <> 4
goto_if_false @SWEET2_14608
wait 0
gosub @SWEET2_21000
if 
  82@ == 0
goto_if_false @SWEET2_14484
if 
  81@ == 2
goto_if_false @SWEET2_14484
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_14484
82@ = 1

:SWEET2_14484
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_14523
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_14523
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_14562
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_14562
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_14601
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_14601
goto @SWEET2_14396

:SWEET2_14608
82@ = 0

:SWEET2_14615
if 
  80@ <> 5
goto_if_false @SWEET2_14827
wait 0
gosub @SWEET2_21000
if 
  82@ == 0
goto_if_false @SWEET2_14703
if 
  81@ == 2
goto_if_false @SWEET2_14703
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_14703
82@ = 1

:SWEET2_14703
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_14742
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_14742
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_14781
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_14781
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_14820
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_14820
goto @SWEET2_14615

:SWEET2_14827
Task.GoStraightToCoord($stattreadstamina_ctr, 2452.642, -1998.219, 12.554, MoveState.Walk, 20000)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_14893
Task.GoStraightToCoord($mc_strap, 2454.951, -1998.658, 12.554, MoveState.Walk, 20000)

:SWEET2_14893
82@ = 0

:SWEET2_14900
if 
  80@ <> 6
goto_if_false @SWEET2_15112
wait 0
gosub @SWEET2_21000
if 
  82@ == 0
goto_if_false @SWEET2_14988
if 
  81@ == 2
goto_if_false @SWEET2_14988
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_14988
82@ = 1

:SWEET2_14988
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_15027
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_15027
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_15066
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_15066
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_15105
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_15105
goto @SWEET2_14900

:SWEET2_15112
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_15165
Task.GoStraightToCoord(63@, 2453.321, -1987.714, 12.5469, MoveState.Walk, 20000)
Char.SetAnimGroup(63@, "GANG1")

:SWEET2_15165
Char.SetCoordinates($stattreadstamina_ctr, 2452.079, -1978.844, 12.5469)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Char.ClearTasks($stattreadstamina_ctr)
Task.GoStraightToCoord($stattreadstamina_ctr, 2452.642, -1998.219, 12.554, MoveState.Walk, 20000)
82@ = 0

:SWEET2_15232
if 
  80@ <> 7
goto_if_false @SWEET2_15444
wait 0
gosub @SWEET2_21000
if 
  82@ == 0
goto_if_false @SWEET2_15320
if 
  81@ == 2
goto_if_false @SWEET2_15320
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_15320
82@ = 1

:SWEET2_15320
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_15359
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_15359
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_15398
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_15398
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_15437
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_15437
goto @SWEET2_15232

:SWEET2_15444
Camera.SetFixedPosition(2453.588, -1992.36, 14.707, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2453.538, -1991.412, 14.3914, SwitchType.JumpCut)
82@ = 0

:SWEET2_15502
if 
  80@ <> 8
goto_if_false @SWEET2_15714
wait 0
gosub @SWEET2_21000
if 
  82@ == 0
goto_if_false @SWEET2_15590
if 
  81@ == 2
goto_if_false @SWEET2_15590
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_15590
82@ = 1

:SWEET2_15590
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_15629
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_15629
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_15668
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_15668
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_15707
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_15707
goto @SWEET2_15502

:SWEET2_15714
82@ = 0

:SWEET2_15721
if 
  80@ <> 9
goto_if_false @SWEET2_15933
wait 0
gosub @SWEET2_21000
if 
  82@ == 0
goto_if_false @SWEET2_15809
if 
  81@ == 2
goto_if_false @SWEET2_15809
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_15809
82@ = 1

:SWEET2_15809
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_15848
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_15848
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_15887
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_15887
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_15926
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_15926
goto @SWEET2_15721

:SWEET2_15933
82@ = 0

:SWEET2_15940
if 
  80@ <> 10
goto_if_false @SWEET2_16195
wait 0
gosub @SWEET2_21000
if 
  82@ == 0
goto_if_false @SWEET2_16071
if 
  81@ == 2
goto_if_false @SWEET2_16071
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_16071
Task.PlayAnim(63@, "PRTIAL_GNGTLKC", "GANGS", 4.0, False, False, False, True, -1)
82@ = 1

:SWEET2_16071
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_16110
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_16110
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_16149
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_16149
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_16188
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_16188
goto @SWEET2_15940

:SWEET2_16195
if 
  80@ <> 11
goto_if_false @SWEET2_16348
wait 0
gosub @SWEET2_21000
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_16263
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_16263
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_16302
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_16302
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_16341
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_16341
goto @SWEET2_16195

:SWEET2_16348
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_16369
Char.ClearTasks(63@)

:SWEET2_16369
World.ClearArea(2453.029, -2001.059, 12.554, 10.0, True)
Camera.SetFixedPosition(2453.569, -1992.405, 16.0824, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2453.603, -1993.318, 15.6741, SwitchType.JumpCut)
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_16512
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_16512
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($mc_strap, $sweet_carY, 50000, 0)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsDriver($stattreadstamina_ctr, $sweet_carY, 50000)

:SWEET2_16512
if 
  80@ <> 12
goto_if_false @SWEET2_16665
wait 0
gosub @SWEET2_21000
if 
  Char.IsDead(63@)
goto_if_false @SWEET2_16580
Text.PrintNow('SWE2_K', 10000, 1)
goto @SWEET2_20215

:SWEET2_16580
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_16619
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_16619
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_16658
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_16658
goto @SWEET2_16512

:SWEET2_16665
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_16813
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_16813

:SWEET2_16697
if or
  not Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carY)
  not Char.IsSittingInCar($mc_strap, $sweet_carY)
goto_if_false @SWEET2_16813
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_16767
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_16767
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_16806
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_16806
goto @SWEET2_16697

:SWEET2_16813
Camera.SetFixedPosition(2456.758, -1999.253, 15.2969, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2456.231, -2000.027, 14.947, SwitchType.JumpCut)

:SWEET2_16864
if 
  80@ <> 13
goto_if_false @SWEET2_16978
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_16925
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_16925
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_16964
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_16964
gosub @SWEET2_21000
goto @SWEET2_16864

:SWEET2_16978
if 
  80@ <> 14
goto_if_false @SWEET2_17092
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_17039
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_17039
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_17078
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_17078
gosub @SWEET2_21000
goto @SWEET2_16978

:SWEET2_17092
88@ = 1

:SWEET2_17099
skip_cutscene_end 
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
if 
  88@ == 0
goto_if_false @SWEET2_17281
Text.ClearPrints
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.Out)

:SWEET2_17150
if 
  Camera.GetFadingStatus
goto_if_false @SWEET2_17174
wait 0
goto @SWEET2_17150

:SWEET2_17174
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Camera.ResetNewScriptables
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_17270
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_17270
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET2_17244
Char.WarpIntoCar($stattreadstamina_ctr, $sweet_carY)

:SWEET2_17244
if 
  not Char.IsInAnyCar($mc_strap)
goto_if_false @SWEET2_17270
Char.WarpIntoCarAsPassenger($mc_strap, $sweet_carY, 0)

:SWEET2_17270
wait 100
Camera.DoFade(500, Fade.In)

:SWEET2_17281
Char.Delete(63@)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Game.SetScriptLimitToGangSize(99)
41@ += 60
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Pistol)
goto_if_false @SWEET2_17340
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Pistol, 41@)

:SWEET2_17340
Text.PrintNow('SWE2_D', 10000, 1)
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_17397
Blip.Remove(35@)
Blip.Remove(44@)
44@ = Blip.AddForCar($sweet_carY)
Blip.SetAsFriendly(44@, True)

:SWEET2_17397
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_17433
46@ = Blip.AddForChar($mc_strap)
Blip.SetAsFriendly(46@, True)
Blip.Remove(46@)

:SWEET2_17433
35@ = Blip.AddForCoord(2066.465, -1695.444, 12.5547)
Blip.Remove(35@)
$sweet = 1
47@ = 0
45@ = 0
38@ = 0
61@ = 0
53@ = 0
TIMERA = 0
TIMERB = 0
80@ = 0
81@ = 0
82@ = 0
39@ = 2
gosub @SWEET2_47
gosub @SWEET2_22741
56@ = 0
Weather.Release
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("CRACK")
Streaming.RemoveAnimation("COLT45")
Streaming.RemoveAnimation("FAT")
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(#DYN_WINE_BIG)
Streaming.MarkModelAsNoLongerNeeded(549)
Streaming.UnloadSpecialCharacter(1)

:SWEET2_17618
if or
  not Car.Locate3D($sweet_carY, 2066.465, -1695.444, 12.5547, 4.0, 4.0, 4.0, $sweet)
  not Char.IsSittingInCar($mc_strap, $sweet_carY)
  not Car.IsOnAllWheels($sweet_carY)
goto_if_false @SWEET2_18388
wait 0
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET2_17893
if 
  TIMERA > 5000
goto_if_false @SWEET2_17762
if 
  53@ == 1
goto_if_false @SWEET2_17762
Text.PrintHelp('HELP53')
TIMERA = 0
53@ = 2

:SWEET2_17762
if 
  TIMERA > 5000
goto_if_false @SWEET2_17824
if 
  53@ == 2
goto_if_false @SWEET2_17824
Text.PrintHelp('HOOD2D')
TIMERA = 0
53@ = 3

:SWEET2_17824
if 
  TIMERA > 5000
goto_if_false @SWEET2_17886
if 
  53@ == 3
goto_if_false @SWEET2_17886
Text.PrintHelp('HOOD2E')
TIMERA = 0
53@ = 4

:SWEET2_17886
goto @SWEET2_17982

:SWEET2_17893
if 
  TIMERA > 2000
goto_if_false @SWEET2_17982
if 
  53@ == 0
goto_if_false @SWEET2_17982
Text.PrintHelp('EMMET_G')
Blip.Remove($minutes)
$minutes = Blip.AddShortRangeSpriteForCoord(2447.364, -1974.496, 12.5469, RadarSprite.EmmetGun)
TIMERA = 0
53@ = 1

:SWEET2_17982
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_18280
if 
  not Car.IsDead($sweet_carY)
goto_if_false @SWEET2_18250
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carY)
goto_if_false @SWEET2_18151
if 
  45@ == 0
goto_if_false @SWEET2_18111
Blip.Remove(44@)
Blip.Remove(35@)
Text.PrintNow('SWE2_D', 6000, 1)
35@ = Blip.AddForCoord(2066.465, -1695.444, 12.5547)
$sweet = 1
45@ = 1

:SWEET2_18111
if 
  TIMERB > 6000
goto_if_false @SWEET2_18144
gosub @SWEET2_21000
56@ = 1

:SWEET2_18144
goto @SWEET2_18243

:SWEET2_18151
if 
  45@ == 1
goto_if_false @SWEET2_18243
Blip.Remove(35@)
Blip.Remove(44@)
44@ = Blip.AddForCar($sweet_carY)
Blip.SetAsFriendly(44@, True)
gosub @SWEET2_21245
Text.PrintNow('SWE2_L', 6000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
$sweet = 0
45@ = 0

:SWEET2_18243
goto @SWEET2_18273

:SWEET2_18250
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_18273
goto @SWEET2_18303

:SWEET2_18280
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_18303
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_18342
Text.PrintNow('SWE2_C', 10000, 1)
goto @SWEET2_20215

:SWEET2_18342
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_18381
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_18381
goto @SWEET2_17618

:SWEET2_18388
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetNearClip(0.2)
Camera.SetFixedPosition(2086.01, -1699.698, 17.7495, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2085.06, -1699.831, 17.4682, SwitchType.JumpCut)
Streaming.RequestModel(330)
wait 1000
Camera.DoFade(1000, Fade.Out)

:SWEET2_18474
if 
  Camera.GetFadingStatus
goto_if_false @SWEET2_18498
wait 0
goto @SWEET2_18474

:SWEET2_18498
if 
  not Streaming.HasModelLoaded(330)
goto_if_false @SWEET2_18525
wait 0
goto @SWEET2_18498

:SWEET2_18525
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_18635
if 
  not Char.IsInAnyCar($mc_strap)
goto_if_false @SWEET2_18584
Char.SetCoordinates($mc_strap, 2071.169, -1703.06, 12.5538)
goto @SWEET2_18604

:SWEET2_18584
Char.WarpFromCarToCoord($mc_strap, 2071.169, -1703.06, 12.5538)

:SWEET2_18604
Char.SetHeading($mc_strap, 162.3527)
Char.ClearTasks($mc_strap)
Char.ClearLookAt($mc_strap)
Task.LookAtChar($mc_strap, $stattreadstamina_ctr, 4000)

:SWEET2_18635
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET2_18678
Char.SetCoordinates($stattreadstamina_ctr, 2071.554, -1704.375, 12.5538)
goto @SWEET2_18698

:SWEET2_18678
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2071.554, -1704.375, 12.5538)

:SWEET2_18698
Char.SetHeading($stattreadstamina_ctr, 12.5041)
Char.ClearTasks($stattreadstamina_ctr)
Camera.SetFixedPosition(2069.607, -1704.63, 14.2313, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2070.475, -1704.174, 14.0353, SwitchType.JumpCut)
wait 1000
Camera.DoFade(1000, Fade.In)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37871)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 37872)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 23000)

:SWEET2_18801
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_18866
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_18859
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_18859
goto @SWEET2_18801

:SWEET2_18866
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SWE3_JA', 10000, 1)
gosub @SWEET2_21732

:SWEET2_18893
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_18958
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_18951
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_18951
goto @SWEET2_18893

:SWEET2_18958
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_18979
Char.ClearLookAt($mc_strap)

:SWEET2_18979
gosub @SWEET2_22114

:SWEET2_18986
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET2_19051
wait 0
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_19044
Text.PrintNow('SWE2_B', 10000, 1)
goto @SWEET2_20215

:SWEET2_19044
goto @SWEET2_18986

:SWEET2_19051
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SWE3_JB', 10000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_19127
Task.GoStraightToCoord($mc_strap, 2065.1, -1703.4, 13.15, MoveState.Walk, 4000)

:SWEET2_19127
wait 1000
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_19173
Task.GoStraightToCoord($stattreadstamina_ctr, 2073.287, -1702.104, 12.5469, MoveState.Walk, 4000)

:SWEET2_19173
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
Text.ClearPrints
wait 1000
Camera.SetFixedPosition(2072.723, -1699.737, 14.1283, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2072.935, -1700.67, 13.8382, SwitchType.JumpCut)
Char.Delete($mc_strap)

:SWEET2_19248
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @SWEET2_19274
wait 0
goto @SWEET2_19248

:SWEET2_19274
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
TIMERA = 0

:SWEET2_19285
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @SWEET2_19337
wait 0
if 
  TIMERA > 1500
goto_if_false @SWEET2_19330
goto @SWEET2_19337

:SWEET2_19330
goto @SWEET2_19285

:SWEET2_19337
80@ = 0
81@ = 0
82@ = 0
39@ = 3
gosub @SWEET2_47
Char.ClearTasks($stattreadstamina_ctr)
Task.UseMobilePhone($stattreadstamina_ctr, True)
wait 1800
85@ = 0
65@ = 0
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("CRACK")
Streaming.RemoveAnimation("COLT45")
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(466)
Streaming.MarkModelAsNoLongerNeeded(#DYN_WINE_BIG)
Streaming.MarkModelAsNoLongerNeeded(549)
Streaming.UnloadSpecialCharacter(10)
Streaming.UnloadSpecialCharacter(1)

:SWEET2_19458
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2246.972, -1660.779, 14.2856, 3.5, 4.0, 4.0, True)
goto_if_false @SWEET2_19706
wait 0
if 
  85@ == 0
goto_if_false @SWEET2_19618
gosub @SWEET2_21000
if 
  80@ > 0
goto_if_false @SWEET2_19618
if or
  80@ == 10
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @SWEET2_19618
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Task.UseMobilePhone($stattreadstamina_ctr, False)
Streaming.MarkModelAsNoLongerNeeded(330)
Text.PrintNow('COLORS', 6000, 1)
85@ = 1

:SWEET2_19618
if 
  65@ == 0
goto_if_false @SWEET2_19699
if 
  80@ > 0
goto_if_false @SWEET2_19699
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Blip.Remove(35@)
35@ = Blip.AddForCoord(2246.972, -1660.779, 14.2856)
65@ = 1

:SWEET2_19699
goto @SWEET2_19458

:SWEET2_19706
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2253.099, -1644.225, 16.6501, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2252.774, -1645.161, 16.5203, SwitchType.JumpCut)
Text.PrintNow('S2HELP1', 6000, 1)
World.SwitchEntryExit('CSCHP', True)
World.SwitchEntryExit('CSSPRT', True)
World.SwitchEntryExit('LACS1', True)
wait 2500
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
87@ = 0

:SWEET2_19848
if 
  87@ <> 2
goto_if_false @SWEET2_20195
wait 0
86@ = Streaming.GetAreaVisible()
if 
  86@ == 15
goto_if_false @SWEET2_20087
if 
  87@ == 0
goto_if_false @SWEET2_20087
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 208.0279, -107.9499, 1004.133, 10.0, 10.0, 5.0, False)
goto_if_false @SWEET2_20087
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearPrints
wait 1500
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(213.0277, -102.9124, 1006.377, 0.0, 0.0, 0.0)
Camera.PointAtPoint(213.7582, -102.2797, 1006.119, SwitchType.JumpCut)
Text.PrintNow('S2HELP2', 6000, 1)
wait 4000
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Text.PrintHelp('HELWARD')
87@ = 1

:SWEET2_20087
if 
  87@ == 1
goto_if_false @SWEET2_20188
if 
  86@ == 0
goto_if_false @SWEET2_20188
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2244.48, -1664.06, 14.469, 10.0, 10.0, 5.0, False)
goto_if_false @SWEET2_20188
Blip.Remove(35@)
wait 2000
87@ = 2

:SWEET2_20188
goto @SWEET2_19848

:SWEET2_20195
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
goto @SWEET2_20304

:SWEET2_20215
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Pistol)
goto_if_false @SWEET2_20258
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Pistol, 5)

:SWEET2_20258
Blip.Remove($minutes)
World.SwitchEntryExit('CSCHP', False)
World.SwitchEntryExit('CSSPRT', False)
World.SwitchEntryExit('LACS1', False)
return 

:SWEET2_20304
$flag_crash_mission_counter += 1
Stat.RegisterMissionPassed('SWEET_2')
Text.PrintWithNumberBig('M_PASSR', 4, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(4)
start_new_script @SMOKE 
Blip.Remove($crash_contact_blip)
$crash_contact_blip = Blip.AddSpriteForContactPoint($strapY, $strapZ, $strap2X, $spray_shop1)
Blip.Remove($kickX)
$kickX = Blip.AddShortRangeSpriteForCoord(2243.807, -1668.567, 20.0313, RadarSprite.Tshirt)
Blip.Remove($minutes)
$minutes = Blip.AddShortRangeSpriteForCoord(2447.364, -1974.496, 12.5469, RadarSprite.EmmetGun)
$LA_hub_activity = Pickup.CreateWithAmmo(346, PickupType.OnStreetSlow, 16, 2447.773, -1975.663, 13.0)
if 
  $pc_door == 0
goto_if_false @SWEET2_20717
World.SwitchEntryExit('CSCHP', True)
World.SwitchEntryExit('CSSPRT', True)
World.SwitchEntryExit('LACS1', True)
$2642 = Blip.AddShortRangeSpriteForCoord(-2376.4, 909.2, 45.4, RadarSprite.Tshirt)
$2643 = Blip.AddShortRangeSpriteForCoord(1654.0, 1733.4, 11.0, RadarSprite.Tshirt)
$2644 = Blip.AddShortRangeSpriteForCoord(2105.7, 2257.4, 11.0, RadarSprite.Tshirt)
$2650 = Blip.AddShortRangeSpriteForCoord(-2371.1, 910.2, 47.2, RadarSprite.Tshirt)
$2645 = Blip.AddShortRangeSpriteForCoord(501.7, -1358.5, 16.4, RadarSprite.Tshirt)
$2646 = Blip.AddShortRangeSpriteForCoord(2818.6, 2401.5, 11.0, RadarSprite.Tshirt)
$2640 = Blip.AddShortRangeSpriteForCoord(2112.8, -1214.7, 23.9, RadarSprite.Tshirt)
$2641 = Blip.AddShortRangeSpriteForCoord(2772.0, 2447.6, 11.0, RadarSprite.Tshirt)
$2652 = Blip.AddShortRangeSpriteForCoord(-2489.0, -26.9, 32.6, RadarSprite.Tshirt)
$pc_door = 1

:SWEET2_20717
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.PlayerMadeProgress(1)
return 

:SWEET2_20732
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Char.RemoveElegantly($mc_strap)
Char.RemoveElegantly(63@)
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("CRACK")
Streaming.RemoveAnimation("COLT45")
Streaming.RemoveAnimation("FAT")
CarGenerator.Switch($gen_car12, 101)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(466)
Streaming.MarkModelAsNoLongerNeeded(#DYN_WINE_BIG)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(549)
gosub @SWEET2_22741
Streaming.UnloadSpecialCharacter(10)
Streaming.UnloadSpecialCharacter(1)
Blip.Remove(35@)
Blip.Remove(44@)
Game.SetScriptLimitToGangSize(99)
Weather.Release
if 
  not Car.IsDead(83@)
goto_if_false @SWEET2_20882
Car.SetProofs(83@, False, False, False, False, False)

:SWEET2_20882
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Text.ClearHelp
Mission.Finish
return 

:SWEET2_20902
if 
  Object.DoesExist($1758(42@,10i))
goto_if_false @SWEET2_20953
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_20953
Task.LookAtObject($mc_strap, $1758(42@,10i), 5000)

:SWEET2_20953
return 

:SWEET2_20955
if 
  Object.DoesExist($1758(42@,10i))
goto_if_false @SWEET2_20996
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_20996
Char.ClearLookAt($mc_strap)

:SWEET2_20996
return 
return 

:SWEET2_21000
if or
  81@ == 0
  81@ == 1
goto_if_false @SWEET2_21070
if 
  is_int_lvar_greater_or_equal_to_int_lvar 48@ >= 80@
goto_if_false @SWEET2_21070
if 
  TIMERA > 200
goto_if_false @SWEET2_21070
gosub @SWEET2_21142

:SWEET2_21070
if 
  81@ == 2
goto_if_false @SWEET2_21140
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_21140
gosub @SWEET2_22114
81@ = 0
80@ += 1
82@ = 0
Text.ClearPrints
TIMERA = 0

:SWEET2_21140
return 

:SWEET2_21142
if 
  81@ == 0
goto_if_false @SWEET2_21178
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 66@(80@,14i))
81@ = 1

:SWEET2_21178
if 
  81@ == 1
goto_if_false @SWEET2_21243
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SWEET2_21243
Text.PrintNow($6613(80@,14s), 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
gosub @SWEET2_21732
81@ = 2

:SWEET2_21243
return 

:SWEET2_21245
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  57@ == 0
goto_if_false @SWEET2_21276
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35800)

:SWEET2_21276
if 
  57@ == 1
goto_if_false @SWEET2_21303
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35801)

:SWEET2_21303
if 
  57@ == 2
goto_if_false @SWEET2_21330
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35802)

:SWEET2_21330
if 
  57@ == 3
goto_if_false @SWEET2_21357
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35803)

:SWEET2_21357
if 
  57@ == 4
goto_if_false @SWEET2_21384
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35804)

:SWEET2_21384
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:SWEET2_21400
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SWEET2_21462
wait 0
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_21437
return 

:SWEET2_21437
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_21455
return 

:SWEET2_21455
goto @SWEET2_21400

:SWEET2_21462
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
if 
  57@ == 0
goto_if_false @SWEET2_21500
Text.PrintNow('SMOX_AA', 3000, 1)

:SWEET2_21500
if 
  57@ == 1
goto_if_false @SWEET2_21534
Text.PrintNow('SMOX_AB', 3000, 1)

:SWEET2_21534
if 
  57@ == 2
goto_if_false @SWEET2_21568
Text.PrintNow('SMOX_AC', 3000, 1)

:SWEET2_21568
if 
  57@ == 3
goto_if_false @SWEET2_21602
Text.PrintNow('SMOX_AD', 3000, 1)

:SWEET2_21602
if 
  57@ == 4
goto_if_false @SWEET2_21636
Text.PrintNow('SMOX_AE', 3000, 1)

:SWEET2_21636
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SWEET2_21698
wait 0
if 
  Car.IsDead($sweet_carY)
goto_if_false @SWEET2_21673
return 

:SWEET2_21673
if 
  Char.IsDead($mc_strap)
goto_if_false @SWEET2_21691
return 

:SWEET2_21691
goto @SWEET2_21636

:SWEET2_21698
57@ += 1
if 
  57@ > 4
goto_if_false @SWEET2_21730
57@ = 0

:SWEET2_21730
return 

:SWEET2_21732
if or
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37800
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37805
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37808
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37862
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37864
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37866
goto_if_false @SWEET2_21844
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
return 

:SWEET2_21844
if or
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37869
  is_int_lvar_equal_to_constant 66@(80@,14i) == 29066
  is_int_lvar_equal_to_constant 66@(80@,14i) == 29068
  is_int_lvar_equal_to_constant 66@(80@,14i) == 29070
  is_int_lvar_equal_to_constant 66@(80@,14i) == 29074
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37872
goto_if_false @SWEET2_21948
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
return 

:SWEET2_21948
if or
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37852
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37856
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37857
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37858
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37859
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37860
goto_if_false @SWEET2_22081
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_22074
Char.ShutUpForScriptedSpeech(63@, True)
Char.StartFacialTalk(63@, 3000)

:SWEET2_22074
goto @SWEET2_22112

:SWEET2_22081
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_22112
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.StartFacialTalk($mc_strap, 3000)

:SWEET2_22112
return 

:SWEET2_22114
if or
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37800
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37805
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37808
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37862
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37864
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37866
goto_if_false @SWEET2_22223
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
return 

:SWEET2_22223
if or
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37869
  is_int_lvar_equal_to_constant 66@(80@,14i) == 29066
  is_int_lvar_equal_to_constant 66@(80@,14i) == 29068
  is_int_lvar_equal_to_constant 66@(80@,14i) == 29070
  is_int_lvar_equal_to_constant 66@(80@,14i) == 29074
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37872
goto_if_false @SWEET2_22324
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
return 

:SWEET2_22324
if or
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37852
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37856
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37857
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37858
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37859
  is_int_lvar_equal_to_constant 66@(80@,14i) == 37860
goto_if_false @SWEET2_22454
if 
  not Char.IsDead(63@)
goto_if_false @SWEET2_22447
Char.ShutUpForScriptedSpeech(63@, False)
Char.StopFacialTalk(63@)

:SWEET2_22447
goto @SWEET2_22482

:SWEET2_22454
if 
  not Char.IsDead($mc_strap)
goto_if_false @SWEET2_22482
Char.ShutUpForScriptedSpeech($mc_strap, False)
Char.StopFacialTalk($mc_strap)

:SWEET2_22482
return 

:SWEET2_22484
Zone.SetGangStrength('ELS1A', GangType.Ballas, 0)
Zone.SetGangStrength('ELS1B', GangType.Ballas, 0)
Zone.SetGangStrength('ELS2', GangType.Ballas, 0)
Zone.SetGangStrength('ELS3A', GangType.Ballas, 0)
Zone.SetGangStrength('ELS3B', GangType.Ballas, 0)
Zone.SetGangStrength('ELS4', GangType.Ballas, 0)
Zone.SetGangStrength('LIND1A', GangType.Ballas, 0)
Zone.SetGangStrength('LIND1B', GangType.Ballas, 0)
Zone.SetGangStrength('LIND2A', GangType.Ballas, 0)
Zone.SetGangStrength('LIND2B', GangType.Ballas, 0)
Zone.SetGangStrength('LIND3', GangType.Ballas, 0)
Zone.SetGangStrength('IWD1', GangType.Ballas, 0)
Zone.SetGangStrength('IWD2', GangType.Ballas, 0)
Zone.SetGangStrength('IWD3A', GangType.Ballas, 0)
Zone.SetGangStrength('IWD3B', GangType.Ballas, 0)
Zone.SetGangStrength('IWD4', GangType.Ballas, 0)
Zone.SetGangStrength('IWD5', GangType.Ballas, 0)
return 

:SWEET2_22741
Zone.SetGangStrength('ELS1A', GangType.Ballas, 30)
Zone.SetGangStrength('ELS1B', GangType.Ballas, 30)
Zone.SetGangStrength('ELS2', GangType.Ballas, 30)
Zone.SetGangStrength('ELS3A', GangType.Ballas, 30)
Zone.SetGangStrength('ELS3B', GangType.Ballas, 30)
Zone.SetGangStrength('ELS4', GangType.Ballas, 30)
Zone.SetGangStrength('LIND1A', GangType.Ballas, 20)
Zone.SetGangStrength('LIND1B', GangType.Ballas, 20)
Zone.SetGangStrength('LIND2A', GangType.Ballas, 20)
Zone.SetGangStrength('LIND2B', GangType.Ballas, 20)
Zone.SetGangStrength('LIND3', GangType.Ballas, 20)
Zone.SetGangStrength('IWD1', GangType.Ballas, 30)
Zone.SetGangStrength('IWD2', GangType.Ballas, 30)
Zone.SetGangStrength('IWD3A', GangType.Ballas, 30)
Zone.SetGangStrength('IWD3B', GangType.Ballas, 30)
Zone.SetGangStrength('IWD4', GangType.Ballas, 30)
Zone.SetGangStrength('IWD5', GangType.Ballas, 30)
return 

//-------------Mission 17---------------
// Originally: Drive-By

:SWEET4
script_name 'SWEET4'
gosub @SWEET4_4512
if 
  has_deatharrest_been_executed 
goto_if_false @SWEET4_38
gosub @SWEET4_23767

:SWEET4_38
gosub @SWEET4_23887
terminate_this_script 

:SWEET4_47
Streaming.RequestModel(492)
Streaming.RequestModel(372)
Streaming.RequestModel(346)
Streaming.LoadSpecialCharacter(10, 'SMOKE')
Streaming.LoadSpecialCharacter(2, 'RYDER2')
Streaming.LoadSpecialCharacter(3, 'SWEET')
Streaming.LoadAllModelsNow

:SWEET4_103
if or
  not Streaming.HasModelLoaded(492)
  not Streaming.HasModelLoaded(372)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasSpecialCharacterLoaded(10)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasSpecialCharacterLoaded(3)
goto_if_false @SWEET4_152
wait 0
goto @SWEET4_103

:SWEET4_152
return 

:SWEET4_154
397@ = 2510.76
398@ = -1665.82
399@ = 12.3835
400@ = 213.1638
World.ClearArea(397@, 398@, 399@, 1.0, True)
394@ = Char.Create(PedType.CivMale, 299, 397@, 398@, 399@)
Char.SetGetOutUpsideDownCar(394@, False)
Char.GiveWeapon(394@, WeaponType.Tec9, $6643)
Char.SetCurrentWeapon(394@, WeaponType.Tec9)
Char.SetHeading(394@, 400@)
Char.SetAccuracy(394@, 90)
Char.SetAnimGroup(394@, "FATMAN")
Char.SetProofs(394@, True, False, False, False, False)
return 

:SWEET4_300
404@ = 2509.39
405@ = -1672.07
406@ = 12.3835
407@ = 59.592
World.ClearArea(404@, 405@, 406@, 1.0, True)
401@ = Char.Create(PedType.CivMale, 291, 404@, 405@, 406@)
Char.SetGetOutUpsideDownCar(401@, False)
Char.GiveWeapon(401@, WeaponType.Tec9, $6643)
Char.SetCurrentWeapon(401@, WeaponType.Tec9)
Char.SetHeading(401@, 407@)
Char.SetAccuracy(401@, 90)
Char.SetAnimGroup(401@, "GANG1")
Char.SetProofs(401@, True, False, False, False, False)
return 
Char.MarkAsNoLongerNeeded(401@)
return 

:SWEET4_452
411@ = 2514.29
412@ = -1670.46
413@ = 12.3835
414@ = 41.1276
World.ClearArea(411@, 412@, 413@, 1.0, True)
408@ = Char.Create(PedType.CivMale, 292, 411@, 412@, 413@)
Char.SetGetOutUpsideDownCar(408@, False)
Char.GiveWeapon(408@, WeaponType.Tec9, $6643)
Char.SetCurrentWeapon(408@, WeaponType.Tec9)
Char.SetHeading(408@, 414@)
Char.SetAccuracy(408@, 90)
Char.SetAnimGroup(408@, "GANG2")
Char.SetProofs(408@, True, False, False, False, False)
return 

:SWEET4_597
Streaming.RequestModel(102)
Streaming.RequestModel(103)
Streaming.RequestModel(346)
Streaming.RequestModel(412)
Streaming.RequestModel(365)
Streaming.LoadAllModelsNow

:SWEET4_622
if or
  not Streaming.HasModelLoaded(102)
  not Streaming.HasModelLoaded(103)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(412)
  not Streaming.HasModelLoaded(365)
goto_if_false @SWEET4_667
wait 0
goto @SWEET4_622

:SWEET4_667
Streaming.RequestAnimation("GANGS")
Streaming.RequestAnimation("GHANDS")
Streaming.RequestAnimation("GHETTO_DB")

:SWEET4_699
if or
  not Streaming.HasAnimationLoaded("GANGS")
  not Streaming.HasAnimationLoaded("GHANDS")
  not Streaming.HasAnimationLoaded("GHETTO_DB")
goto_if_false @SWEET4_753
wait 0
goto @SWEET4_699

:SWEET4_753
42@ = 1
return 
$6662 = Blip.AddForCoord(2075.55, -1831.09, 12.21)
195@ = Char.Create(PedType.Gang1, 102, 465@, 483@, 501@)
326@ = Char.Create(PedType.Gang1, 102, 465@, 483@, 501@)
395@ = Blip.AddForChar(394@)
409@ = Blip.AddForChar(408@)
402@ = Blip.AddForChar(401@)

:SWEET4_842
527@ = 2077.18
531@ = -1362.05
535@ = 23.65
539@ = 180.0
451@ = 2079.42
469@ = -1364.08
487@ = 23.04
505@ = 314.1323
World.ClearArea(527@, 531@, 535@, 0.5, True)
523@ = Car.Create(412, 527@, 531@, 535@)
415@ = Char.CreateInsideCar(523@, PedType.Gang1, 102)
Car.SetHeading(523@, 539@)
CarGenerator.SuppressCarModel(412)
Car.OpenDoor(523@, CarDoor.LeftFrontDoor)
Char.GiveWeapon(415@, WeaponType.Tec9, $6643)
Char.SetAccuracy(415@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_1033
433@ = Blip.AddForChar(415@)

:SWEET4_1033
452@ = 2075.95
470@ = -1365.74
488@ = 24.02
506@ = 315.85
World.ClearArea(452@, 470@, 488@, 0.5, True)
416@ = Char.Create(PedType.Gang1, 103, 452@, 470@, 488@)
Char.GiveWeapon(416@, WeaponType.Pistol, $6643)
Char.SetHeading(416@, 506@)
Char.SetAccuracy(416@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_1161
434@ = Blip.AddForChar(416@)

:SWEET4_1161
453@ = 2079.87
471@ = -1361.88
489@ = 24.02
507@ = 54.15
World.ClearArea(453@, 471@, 489@, 0.5, True)
417@ = Char.Create(PedType.Gang1, 102, 453@, 471@, 489@)
Char.GiveWeapon(417@, WeaponType.Pistol, $6643)
Char.SetHeading(417@, 507@)
Char.SetAccuracy(417@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_1289
435@ = Blip.AddForChar(417@)

:SWEET4_1289
454@ = 2079.34
472@ = -1360.02
490@ = 24.02
508@ = 214.36
World.ClearArea(454@, 472@, 490@, 0.5, True)
418@ = Char.Create(PedType.Gang1, 102, 454@, 472@, 490@)
Char.GiveWeapon(418@, WeaponType.Pistol, $6643)
Char.SetHeading(418@, 508@)
Char.SetAccuracy(418@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_1417
436@ = Blip.AddForChar(418@)

:SWEET4_1417
return 

:SWEET4_1419
528@ = 2101.57
532@ = -1287.65
536@ = 24.17
540@ = 5.0
455@ = 2101.57
473@ = -1287.65
491@ = 24.17
509@ = 5.0
World.ClearArea(455@, 473@, 491@, 0.5, True)
524@ = Car.Create(412, 528@, 532@, 536@)
419@ = Char.CreateInsideCar(524@, PedType.Gang1, 102)
Car.SetHeading(524@, 540@)
Car.PopBoot(524@)
Char.GiveWeapon(419@, WeaponType.Tec9, $6643)
Char.SetAccuracy(419@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_1603
437@ = Blip.AddForChar(419@)

:SWEET4_1603
456@ = 2101.58
474@ = -1291.78
492@ = 24.02
510@ = 182.8706
World.ClearArea(456@, 474@, 492@, 0.5, True)
420@ = Char.Create(PedType.Gang1, 103, 456@, 474@, 492@)
Char.GiveWeapon(420@, WeaponType.Pistol, $6643)
Char.SetHeading(420@, 510@)
Char.SetAccuracy(420@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_1731
438@ = Blip.AddForChar(420@)

:SWEET4_1731
457@ = 2099.3
475@ = -1291.12
493@ = 24.02
511@ = 105.53
World.ClearArea(457@, 475@, 493@, 0.5, True)
421@ = Char.Create(PedType.Gang1, 102, 457@, 475@, 493@)
Char.GiveWeapon(421@, WeaponType.Pistol, $6643)
Char.SetHeading(421@, 511@)
Char.SetAccuracy(421@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_1859
439@ = Blip.AddForChar(421@)

:SWEET4_1859
458@ = 2093.84
476@ = -1290.07
494@ = 23.15
512@ = 58.035
World.ClearArea(458@, 476@, 494@, 0.5, True)
422@ = Char.Create(PedType.Gang1, 103, 458@, 476@, 494@)
Char.GiveWeapon(422@, WeaponType.Pistol, $6643)
Char.SetHeading(422@, 512@)
Char.SetAccuracy(422@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_1987
440@ = Blip.AddForChar(422@)

:SWEET4_1987
return 

:SWEET4_1989
459@ = 2161.07
477@ = -1265.92
495@ = 23.02
513@ = 257.59
World.ClearArea(459@, 477@, 495@, 0.5, True)
423@ = Char.Create(PedType.Gang1, 102, 459@, 477@, 495@)
Char.GiveWeapon(423@, WeaponType.Tec9, $6643)
Char.SetHeading(423@, 513@)
Char.SetAccuracy(423@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_2117
441@ = Blip.AddForChar(423@)

:SWEET4_2117
460@ = 2162.18
478@ = -1264.69
496@ = 23.03
514@ = 238.46
World.ClearArea(460@, 478@, 496@, 0.5, True)
424@ = Char.Create(PedType.Gang1, 102, 460@, 478@, 496@)
Char.GiveWeapon(424@, WeaponType.Pistol, $6643)
Char.SetHeading(424@, 514@)
Char.SetAccuracy(424@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_2245
442@ = Blip.AddForChar(424@)

:SWEET4_2245
461@ = 2162.97
479@ = -1261.92
497@ = 23.02
515@ = 45.33
World.ClearArea(461@, 479@, 497@, 0.5, True)
425@ = Char.Create(PedType.Gang1, 103, 461@, 479@, 497@)
Char.GiveWeapon(425@, WeaponType.Pistol, $6643)
Char.SetHeading(425@, 515@)
Char.SetAccuracy(425@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_2373
443@ = Blip.AddForChar(425@)

:SWEET4_2373
462@ = 2160.12
480@ = -1262.98
498@ = 23.03
516@ = 18.46
World.ClearArea(462@, 480@, 498@, 0.5, True)
426@ = Char.Create(PedType.Gang1, 103, 462@, 480@, 498@)
Char.GiveWeapon(426@, WeaponType.Pistol, $6643)
Char.SetHeading(426@, 516@)
Char.SetAccuracy(426@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_2501
444@ = Blip.AddForChar(426@)

:SWEET4_2501
return 

:SWEET4_2503
463@ = 1983.8
481@ = -1235.98
499@ = 20.17
517@ = 318.72
World.ClearArea(463@, 481@, 499@, 0.5, True)
427@ = Char.Create(PedType.Gang1, 102, 463@, 481@, 499@)
Char.GiveWeapon(427@, WeaponType.Tec9, $6643)
Char.SetHeading(427@, 517@)
Char.SetAccuracy(427@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_2631
445@ = Blip.AddForChar(427@)

:SWEET4_2631
464@ = 1981.3
482@ = -1233.94
500@ = 20.04
518@ = 254.99
World.ClearArea(464@, 482@, 500@, 0.5, True)
428@ = Char.Create(PedType.Gang1, 103, 464@, 482@, 500@)
Char.GiveWeapon(428@, WeaponType.Pistol, $6643)
Char.SetHeading(428@, 518@)
Char.SetAccuracy(428@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_2759
446@ = Blip.AddForChar(428@)

:SWEET4_2759
465@ = 1986.67
483@ = -1239.76
501@ = 19.17
519@ = 98.28
World.ClearArea(465@, 483@, 501@, 0.5, True)
429@ = Char.Create(PedType.Gang1, 102, 465@, 483@, 501@)
Char.GiveWeapon(429@, WeaponType.SprayCan, $6643)
Task.StayInSamePlace(429@, True)
Char.SetHeading(429@, 519@)
Char.SetAccuracy(429@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_2894
447@ = Blip.AddForChar(429@)

:SWEET4_2894
466@ = 1986.54
484@ = -1233.03
502@ = 20.07
520@ = 143.42
World.ClearArea(466@, 484@, 502@, 0.5, True)
430@ = Char.Create(PedType.Gang1, 103, 466@, 484@, 502@)
Char.GiveWeapon(430@, WeaponType.Pistol, $6643)
Char.SetHeading(430@, 520@)
Char.SetAccuracy(430@, $6642)
if 
  $6663 == 0
goto_if_false @SWEET4_3022
448@ = Blip.AddForChar(430@)

:SWEET4_3022
return 

:SWEET4_3024
Char.MarkAsNoLongerNeeded(415@)
Char.MarkAsNoLongerNeeded(416@)
Char.MarkAsNoLongerNeeded(417@)
Char.MarkAsNoLongerNeeded(418@)
Char.MarkAsNoLongerNeeded(419@)
Char.MarkAsNoLongerNeeded(420@)
Char.MarkAsNoLongerNeeded(421@)
Char.MarkAsNoLongerNeeded(422@)
Char.MarkAsNoLongerNeeded(423@)
Char.MarkAsNoLongerNeeded(424@)
Char.MarkAsNoLongerNeeded(425@)
Char.MarkAsNoLongerNeeded(426@)
Char.MarkAsNoLongerNeeded(427@)
Char.MarkAsNoLongerNeeded(428@)
Char.MarkAsNoLongerNeeded(429@)
Char.MarkAsNoLongerNeeded(430@)
return 

:SWEET4_3106
545@ = 2508.16
546@ = -1666.47
547@ = 13.0
548@ = 16.0
CarGenerator.Switch($gen_car12, 0)
Car.CustomPlateForNextCar(492, "GROVE4L_")
World.ClearArea(545@, 546@, 547@, 6.0, True)
543@ = Car.Create(492, 545@, 546@, 547@)
Car.ChangeColor(543@, 59, 34)
Car.SetHeading(543@, 548@)
544@ = Blip.AddForCar(543@)
Blip.SetAsFriendly(544@, True)
Car.SetCanBurstTires(543@, False)
Car.SetHealth(543@, 1450)
Player.AlterWantedLevel($statbike_temp, 0)
return 

:SWEET4_3259
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_3296
if 
  not Car.IsOnScreen(543@)
goto_if_false @SWEET4_3296
Car.Delete(543@)

:SWEET4_3296
Streaming.MarkModelAsNoLongerNeeded(492)
return 

:SWEET4_3303
return 

:SWEET4_3305
return 

:SWEET4_3307
if and
  not Char.IsDead(423@)
  not Char.IsDead(424@)
  not Char.IsDead(425@)
  not Char.IsDead(426@)
goto_if_false @SWEET4_3377
192@ = Group.Create(DefaultTaskAllocator.FollowAnyMeans)
Group.SetLeader(192@, 423@)
Group.SetMember(192@, 424@)
Group.SetMember(192@, 425@)
Group.SetMember(192@, 426@)

:SWEET4_3377
return 

:SWEET4_3379
if and
  not Char.IsDead(427@)
  not Char.IsDead(428@)
  not Char.IsDead(429@)
  not Char.IsDead(430@)
goto_if_false @SWEET4_3449
193@ = Group.Create(DefaultTaskAllocator.FollowAnyMeans)
Group.SetLeader(193@, 427@)
Group.SetMember(193@, 428@)
Group.SetMember(193@, 429@)
Group.SetMember(193@, 430@)

:SWEET4_3449
return 

:SWEET4_3451
if and
  not Car.IsDead(523@)
  not Car.IsDead(543@)
goto_if_false @SWEET4_3502
98@ = Sequence.Open()
Task.LeaveCar(-1, 523@)
Task.StayInSamePlace(-1, True)
Task.DestroyCar(-1, 543@)
Sequence.Close(98@)

:SWEET4_3502
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(543@)
goto_if_false @SWEET4_3580
99@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 2075.15, -1363.85, 23.85, 6, 0.5, 5.0, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, True)
Task.DestroyCar(-1, 543@)
Sequence.Close(99@)

:SWEET4_3580
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_3636
100@ = Sequence.Open()
Task.DiveAndGetUp(-1, 1.0, 1.0, 500)
Task.StayInSamePlace(-1, True)
Task.DestroyCar(-1, 543@)
Sequence.Close(100@)

:SWEET4_3636
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_3746
118@ = Sequence.Open()
Task.PlayAnim(-1, "PRTIAL_GNGTLKG", "GANGS", 4.0, False, False, False, False, 0)
Task.PlayAnim(-1, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, False, False, False, 0)
Sequence.Close(118@)

:SWEET4_3746
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_3785
101@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.DestroyCar(-1, 543@)
Sequence.Close(101@)

:SWEET4_3785
return 

:SWEET4_3787
if and
  not Car.IsDead(524@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_3860
102@ = Sequence.Open()
Task.LeaveCar(-1, 524@)
Task.GoToCoordWhileShooting(-1, 545@, 546@, 547@, 4, 1.0, 5.0, $stattreadstamina_ctr)
Task.DestroyCar(-1, 543@)
Sequence.Close(102@)

:SWEET4_3860
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_3899
103@ = Sequence.Open()
Task.WeaponRoll(-1, True)
Task.DestroyCar(-1, 543@)
Sequence.Close(103@)

:SWEET4_3899
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_3966
104@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 2080.66, -1292.61, 24.02, 6, 0.5, 5.0, $stattreadstamina_ctr)
Task.DestroyCar(-1, 543@)
Sequence.Close(104@)

:SWEET4_3966
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_4033
105@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 2132.0, -1307.0, 24.0, 6, 1.0, 5.0, $stattreadstamina_ctr)
Task.DestroyCar(-1, 543@)
Sequence.Close(105@)

:SWEET4_4033
return 

:SWEET4_4035
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_4136
106@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 2163.0, -1262.0, 24.0, 6, 1.0, 5.0, $stattreadstamina_ctr)
Task.GoToCoordWhileShooting(-1, 2080.0, -1261.0, 24.0, 6, 1.0, 5.0, $stattreadstamina_ctr)
Task.DestroyCar(-1, 543@)
Sequence.Close(106@)

:SWEET4_4136
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_4169
107@ = Sequence.Open()
Task.DestroyCar(-1, 543@)
Sequence.Close(107@)

:SWEET4_4169
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(543@)
goto_if_false @SWEET4_4213
108@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.DestroyCar(-1, 543@)
Sequence.Close(108@)

:SWEET4_4213
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_4314
109@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 2163.0, -1262.0, 24.0, 6, 1.0, 5.0, $stattreadstamina_ctr)
Task.GoToCoordWhileShooting(-1, 2080.0, -1261.0, 24.0, 6, 1.0, 5.0, $stattreadstamina_ctr)
Task.DestroyCar(-1, 543@)
Sequence.Close(109@)

:SWEET4_4314
return 

:SWEET4_4316
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_4377
110@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 545@, 546@, 547@, 4, 1.0, 5.0, $stattreadstamina_ctr)
Task.DestroyCar(-1, 543@)
Sequence.Close(110@)

:SWEET4_4377
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(543@)
goto_if_false @SWEET4_4415
111@ = Sequence.Open()
Task.DestroyCar(-1, 543@)
Sequence.Close(111@)

:SWEET4_4415
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_4477
112@ = Sequence.Open()
Task.ShootAtCoord(-1, 1984.21, -1239.04, 20.5, 6000)
Task.FleeChar(-1, $stattreadstamina_ctr, 50.0, -1)
Sequence.Close(112@)

:SWEET4_4477
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_4510
113@ = Sequence.Open()
Task.DestroyCar(-1, 543@)
Sequence.Close(113@)

:SWEET4_4510
return 

:SWEET4_4512
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
$6641 = 0
43@ = 0
$6642 = 30
$6643 = 30000
$6663 = 0
$6664 = 0
49@ = 0
50@ = 0
51@ = 0
52@ = 0
48@ = 0
396@ = 0
403@ = 0
410@ = 0
$sw4_hood_create = 0
$6666 = 0
$6667 = 0
$6668 = 0
$sw4_text_timer_start = 0
$sw4_text_timer_end = 0
$sw4_text_timer_diff = 0
$sw4_text_timer_flag = 0
77@ = 0
$6644 = 0
$6645 = 0
$6646 = 0
$6647 = 0
$6648 = 0
$6649 = 0
$6650 = 0
$6651 = 0
$6652 = 0
$6653 = 0
$6654 = 0
$6655 = 0
$6656 = 0
$6657 = 0
$sw4_spray_marker = 0
$sw4_blipped = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
34@ = 0
42@ = 0
84@ = 0
94@ = 0
98@ = 1
99@ = 2
100@ = 3
101@ = 4
117@ = 5
116@ = 6
96@ = 7
97@ = 8
118@ = 9
77@ = 0
85@ = 25.0
451@ = 2227.72
469@ = -1315.79
487@ = 24.04
456@ = 2099.8
474@ = -1288.37
492@ = 24.35
461@ = 2184.97
479@ = -1230.92
497@ = 24.02
466@ = 2157.77
484@ = -1345.03
502@ = 24.04
89@ = 2507.0
90@ = -1671.0
91@ = 12.0
119@ = 2500.026
129@ = -1661.18
139@ = 17.763
120@ = 2194.35
130@ = -1380.42
140@ = 24.34
121@ = 2082.42
131@ = -1362.58
141@ = 26.81
122@ = 2078.99
132@ = -1366.22
142@ = 25.09
123@ = 2152.0
133@ = -1339.0
143@ = 30.0
124@ = 2502.16
134@ = -1661.95
144@ = 15.76
125@ = 2509.18
135@ = -1662.81
145@ = 14.07
126@ = 2510.63
136@ = -1665.81
146@ = 13.83
127@ = 2511.89
137@ = -1668.39
147@ = 14.26
128@ = 0.0
138@ = 0.0
148@ = 0.0
54@ = 2132.239
55@ = -1379.652
56@ = 22.8281
455@ = 2101.57
473@ = -1287.65
491@ = 24.17
509@ = 5.0
459@ = 2161.07
477@ = -1265.92
495@ = 23.02
513@ = 257.59
463@ = 1983.8
481@ = -1235.98
499@ = 20.17
517@ = 318.72
391@ = 1
392@ = 2
389@ = 0
393@ = 1
390@ = 0
set_lvar_text_label 204@s = 'SWE4_AA'
set_lvar_text_label 206@s = 'SWE4_AB'
set_lvar_text_label 208@s = 'SWE4_AC'
set_lvar_text_label 210@s = 'SWE4_AD'
set_lvar_text_label 212@s = 'SWE4_AE'
set_lvar_text_label 214@s = 'SWE4_AF'
set_lvar_text_label 216@s = 'SWE4_AG'
set_lvar_text_label 218@s = 'SWE4_AH'
set_lvar_text_label 220@s = 'SWE4_AI'
set_lvar_text_label 222@s = 'SWE4_AJ'
set_lvar_text_label 224@s = 'SWE4_AK'
set_lvar_text_label 226@s = 'SWE4_BA'
set_lvar_text_label 228@s = 'SWE4_BB'
set_lvar_text_label 230@s = 'SWE4_BC'
set_lvar_text_label 232@s = 'SWE4_BD'
set_lvar_text_label 234@s = 'SWE4_BE'
set_lvar_text_label 236@s = 'SWE4_CA'
set_lvar_text_label 238@s = 'SWE4_CB'
set_lvar_text_label 240@s = 'SWE4_CC'
set_lvar_text_label 242@s = 'SWE4_DA'
set_lvar_text_label 244@s = 'SWE4_DB'
set_lvar_text_label 246@s = 'SWE4_DC'
set_lvar_text_label 248@s = 'SWE4_DD'
set_lvar_text_label 250@s = 'SWE4_DE'
set_lvar_text_label 252@s = 'SWE4_DF'
set_lvar_text_label 254@s = 'SWE4_EA'
set_lvar_text_label 256@s = 'SWE4_EB'
set_lvar_text_label 258@s = 'SWE4_EC'
set_lvar_text_label 260@s = 'SWE4_FA'
set_lvar_text_label 262@s = 'SWE4_FB'
set_lvar_text_label 264@s = 'SWE4_FC'
set_lvar_text_label 266@s = 'SWE4_FD'
set_lvar_text_label 268@s = 'SWE4_GA'
set_lvar_text_label 270@s = 'SWE4_GB'
set_lvar_text_label 272@s = 'SWE4_HA'
set_lvar_text_label 274@s = 'SWE4_HB'
set_lvar_text_label 276@s = 'SWE4_KA'
set_lvar_text_label 278@s = 'SWE4_KB'
set_lvar_text_label 280@s = 'SWE4_KC'
set_lvar_text_label 282@s = 'SWE4_KD'
set_lvar_text_label 284@s = 'SWE4_KF'
set_lvar_text_label 286@s = 'SWE4_KG'
set_lvar_text_label 288@s = 'SWE4_KH'
set_lvar_text_label 290@s = 'SWE4_KE'
set_lvar_text_label 292@s = 'SWE4_KI'
set_lvar_text_label 294@s = 'SWE4_LA'
set_lvar_text_label 296@s = 'SWE4_LB'
set_lvar_text_label 298@s = 'SWE4_LC'
set_lvar_text_label 300@s = 'SWE4_MA'
set_lvar_text_label 302@s = 'SWE4_MB'
set_lvar_text_label 304@s = 'SWE4_MC'
set_lvar_text_label 306@s = 'SWE4_MD'
set_lvar_text_label 308@s = 'SWE4_NA'
set_lvar_text_label 310@s = 'SWE4_NB'
set_lvar_text_label 312@s = 'SWE4_NC'
set_lvar_text_label 314@s = 'SWE4_OA'
set_lvar_text_label 316@s = 'SWE4_OB'
set_lvar_text_label 318@s = 'SWE4_OC'
set_lvar_text_label 320@s = 'SWE4_PA'
set_lvar_text_label 322@s = 'SWE4_PB'
set_lvar_text_label 324@s = 'SWE4_PC'
set_lvar_int_to_constant 328@ = 38000
set_lvar_int_to_constant 329@ = 38001
set_lvar_int_to_constant 330@ = 38002
set_lvar_int_to_constant 331@ = 38003
set_lvar_int_to_constant 332@ = 38004
set_lvar_int_to_constant 333@ = 38005
set_lvar_int_to_constant 334@ = 38006
set_lvar_int_to_constant 335@ = 38007
set_lvar_int_to_constant 336@ = 38008
set_lvar_int_to_constant 337@ = 38009
set_lvar_int_to_constant 338@ = 38010
set_lvar_int_to_constant 339@ = 38011
set_lvar_int_to_constant 340@ = 38012
set_lvar_int_to_constant 341@ = 38013
set_lvar_int_to_constant 342@ = 38014
set_lvar_int_to_constant 343@ = 38015
set_lvar_int_to_constant 344@ = 38016
set_lvar_int_to_constant 345@ = 38017
set_lvar_int_to_constant 346@ = 38018
set_lvar_int_to_constant 347@ = 38019
set_lvar_int_to_constant 348@ = 38020
set_lvar_int_to_constant 349@ = 38021
set_lvar_int_to_constant 350@ = 38022
set_lvar_int_to_constant 351@ = 38023
set_lvar_int_to_constant 352@ = 38024
set_lvar_int_to_constant 353@ = 38025
set_lvar_int_to_constant 354@ = 38026
set_lvar_int_to_constant 355@ = 38027
set_lvar_int_to_constant 356@ = 38028
set_lvar_int_to_constant 357@ = 38029
set_lvar_int_to_constant 358@ = 38030
set_lvar_int_to_constant 359@ = 38031
set_lvar_int_to_constant 360@ = 38032
set_lvar_int_to_constant 361@ = 38033
set_lvar_int_to_constant 362@ = 38034
set_lvar_int_to_constant 363@ = 38035
set_lvar_int_to_constant 364@ = 38036
set_lvar_int_to_constant 365@ = 38037
set_lvar_int_to_constant 366@ = 38038
set_lvar_int_to_constant 367@ = 38039
set_lvar_int_to_constant 368@ = 38041
set_lvar_int_to_constant 369@ = 38042
set_lvar_int_to_constant 370@ = 38043
set_lvar_int_to_constant 371@ = 38040
set_lvar_int_to_constant 372@ = 38044
set_lvar_int_to_constant 373@ = 38045
set_lvar_int_to_constant 374@ = 38046
set_lvar_int_to_constant 375@ = 38047
set_lvar_int_to_constant 376@ = 38048
set_lvar_int_to_constant 377@ = 38049
set_lvar_int_to_constant 378@ = 38050
set_lvar_int_to_constant 379@ = 38051
set_lvar_int_to_constant 380@ = 38052
set_lvar_int_to_constant 381@ = 38053
set_lvar_int_to_constant 382@ = 38054
set_lvar_int_to_constant 383@ = 38055
set_lvar_int_to_constant 384@ = 38056
set_lvar_int_to_constant 385@ = 38057
set_lvar_int_to_constant 386@ = 38058
set_lvar_int_to_constant 387@ = 38059
set_lvar_int_to_constant 388@ = 38060
Text.ClearThisPrint('M_FAIL')
Text.LoadMissionText('SWEET4')
World.ClearArea(2518.0, -1673.0, 14.0, 50.0, False)
Camera.DoFade(1000, Fade.Out)

:SWEET4_7087
if 
  Camera.GetFadingStatus
goto_if_false @SWEET4_7111
wait 0
goto @SWEET4_7087

:SWEET4_7111
Cutscene.Load('SWEET4A')
Camera.DoFade(0, Fade.Out)

:SWEET4_7128
if 
  not Cutscene.HasLoaded
goto_if_false @SWEET4_7152
wait 0
goto @SWEET4_7128

:SWEET4_7152
Camera.DoFade(0, Fade.Out)
Cutscene.Start
Camera.DoFade(0, Fade.Out)
Camera.DoFade(1000, Fade.In)

:SWEET4_7173
if 
  not Cutscene.HasFinished
goto_if_false @SWEET4_7197
wait 0
goto @SWEET4_7173

:SWEET4_7197
Camera.DoFade(0, Fade.Out)

:SWEET4_7203
if 
  Camera.GetFadingStatus
goto_if_false @SWEET4_7227
wait 0
goto @SWEET4_7203

:SWEET4_7227
Cutscene.Clear
Audio.SetMusicDoesFade(False)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Audio.SetRadioChannel(RadioChannel.CSR)
Game.SetCreateRandomGangMembers(False)
gosub @SWEET4_47
gosub @SWEET4_154
gosub @SWEET4_300
gosub @SWEET4_452
gosub @SWEET4_3106
if and
  not Char.IsDead(394@)
  not Char.IsDead(401@)
  not Char.IsDead(408@)
  not Car.IsDead(543@)
goto_if_false @SWEET4_7461
Char.SetNextDesiredMoveState(MoveState.Walk)
97@ = Sequence.Open()
Task.StandStill(-1, 1000)
Task.EnterCarAsPassenger(-1, 543@, -1, 0)
Sequence.Close(97@)
Char.PerformSequence(394@, 97@)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(401@, 543@, -1, 1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(408@, 543@, -1, 2)
47@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetDecisionMaker(394@, 47@)
Char.SetDecisionMaker(401@, 47@)
Char.SetDecisionMaker(408@, 47@)
Char.SetCantBeDraggedOut($stattreadstamina_ctr, True)
Char.SetCantBeDraggedOut(394@, True)
Char.SetCantBeDraggedOut(401@, True)
Char.SetCantBeDraggedOut(408@, True)
$sw4_health_display = Clock.GetGameTimer()
$6676 = -1

:SWEET4_7461
53@ = Game.GetMaxWantedLevel()
Game.SetMaxWantedLevel(0)
Game.SetCreateRandomCops(False)
Game.SwitchCopsOnBikes(False)
Camera.SetBehindPlayer
Game.SetWantedMultiplier(0.7)
Player.SetGroupRecruitment($statbike_temp, False)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_7540
Char.SetCoordinates($stattreadstamina_ctr, 2516.92, -1679.45, 13.42)
Char.SetHeading($stattreadstamina_ctr, 27.25)

:SWEET4_7540
gosub @SWEET4_597
Text.PrintNow('SWE4_00', 5000, 1)
61@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 73@ = 67@
sub_int_lvar_from_int_lvar 73@ -= 61@
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.In)

:SWEET4_7599
wait 0
if 
  389@ <> 0
goto_if_false @SWEET4_8083
if 
  390@ == 0
goto_if_false @SWEET4_7667
if 
  Audio.HasMissionAudioLoaded(392@)
goto_if_false @SWEET4_7660
Audio.ClearMissionAudio(392@)

:SWEET4_7660
390@ = 1

:SWEET4_7667
if 
  390@ == 1
goto_if_false @SWEET4_7711
Audio.LoadMissionAudio(391@, 327@(389@,62i))
gosub @SWEET4_24471
390@ = 2

:SWEET4_7711
if 
  390@ == 2
goto_if_false @SWEET4_7820
if 
  Audio.HasMissionAudioLoaded(391@)
goto_if_false @SWEET4_7820
if 
  326@ <> 0
goto_if_false @SWEET4_7794
if 
  not Char.IsDead(326@)
goto_if_false @SWEET4_7794
Char.StartFacialTalk(326@, 10000)
Char.ShutUpForScriptedSpeech(326@, True)

:SWEET4_7794
Audio.PlayMissionAudio(391@)
Text.PrintNow(202@(389@,62s), 10000, 1)
390@ = 3

:SWEET4_7820
if 
  390@ == 3
goto_if_false @SWEET4_8083
if 
  Audio.HasMissionAudioFinished(391@)
goto_if_false @SWEET4_8022
Text.ClearThisPrint(202@(389@,62s))
if 
  326@ <> 0
goto_if_false @SWEET4_7909
if 
  not Char.IsDead(326@)
goto_if_false @SWEET4_7909
Char.StopFacialTalk(326@)
Char.ShutUpForScriptedSpeech(326@, False)

:SWEET4_7909
if 
  391@ == 1
goto_if_false @SWEET4_7948
391@ = 2
392@ = 1
goto @SWEET4_7962

:SWEET4_7948
391@ = 1
392@ = 2

:SWEET4_7962
389@ = 0
390@ = 0
if 
  $6676 == 2
goto_if_false @SWEET4_8008
$6676 = 6
goto @SWEET4_8015

:SWEET4_8008
$6676 += 1

:SWEET4_8015
goto @SWEET4_8083

:SWEET4_8022
if 
  not Audio.HasMissionAudioLoaded(392@)
goto_if_false @SWEET4_8083
if 
  60 > 389@
goto_if_false @SWEET4_8083
set_lvar_int_to_lvar_int 393@ = 389@
393@ += 1
Audio.LoadMissionAudio(392@, 327@(393@,62i))

:SWEET4_8083
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SWEET4_8105
goto @SWEET4_23785

:SWEET4_8105
if or
  8 > $6641
  $6641 == 666
goto_if_false @SWEET4_8180
if or
  Char.IsDead(394@)
  Char.IsDead(401@)
  Char.IsDead(408@)
goto_if_false @SWEET4_8180
Text.PrintNow('SWE4_04', 5000, 1)
goto @SWEET4_23767

:SWEET4_8180
if 
  Car.IsDead(543@)
goto_if_false @SWEET4_8219
Text.PrintNow('SWE4_04', 5000, 1)
goto @SWEET4_23767

:SWEET4_8219
if 
  $6641 == 0
goto_if_false @SWEET4_9178
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_9178
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(394@)
  not Char.IsDead(401@)
  not Char.IsDead(408@)
goto_if_false @SWEET4_9178
if and
  Char.IsInCar($stattreadstamina_ctr, 543@)
  Char.IsInCar(394@, 543@)
  Char.IsInCar(401@, 543@)
  Char.IsInCar(408@, 543@)
goto_if_false @SWEET4_8373
Text.ClearPrints
Char.ClearLookAt(394@)
Blip.Remove(544@)
Blip.Remove(395@)
Blip.Remove(402@)
Blip.Remove(409@)
$sw4_health_display = Clock.GetGameTimer()
$6663 = 0
$6641 = 1

:SWEET4_8373
if 
  Char.IsInCar($stattreadstamina_ctr, 543@)
goto_if_false @SWEET4_9178
if 
  396@ == 0
goto_if_false @SWEET4_8456
if 
  not Char.IsInCar(394@, 543@)
goto_if_false @SWEET4_8456
Blip.Remove(544@)
395@ = Blip.AddForChar(394@)
Blip.SetAsFriendly(395@, True)
396@ = 1

:SWEET4_8456
if 
  396@ == 1
goto_if_false @SWEET4_8570
if 
  not Char.IsInCar(394@, 543@)
goto_if_false @SWEET4_8570
if 
  not Char.LocateOnFootCar2D(394@, 543@, 8.0, 8.0, False)
goto_if_false @SWEET4_8546
Text.PrintNow('SWE4_09', 100, 1)
goto @SWEET4_8570

:SWEET4_8546
Task.EnterCarAsPassenger(394@, 543@, -1, 0)
61@ = Clock.GetGameTimer()
396@ = 2

:SWEET4_8570
if 
  396@ == 2
goto_if_false @SWEET4_8654
67@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 73@ = 67@
sub_int_lvar_from_int_lvar 73@ -= 61@
if 
  73@ > 1000
goto_if_false @SWEET4_8654
if 
  73@ > 3000
goto_if_false @SWEET4_8654
396@ = 1

:SWEET4_8654
if 
  403@ == 0
goto_if_false @SWEET4_8718
if 
  not Char.IsInCar(401@, 543@)
goto_if_false @SWEET4_8718
Blip.Remove(544@)
402@ = Blip.AddForChar(401@)
Blip.SetAsFriendly(402@, True)
403@ = 1

:SWEET4_8718
if 
  403@ == 1
goto_if_false @SWEET4_8832
if 
  not Char.IsInCar(401@, 543@)
goto_if_false @SWEET4_8832
if 
  not Char.LocateOnFootCar2D(401@, 543@, 8.0, 8.0, False)
goto_if_false @SWEET4_8808
Text.PrintNow('SWE4_10', 100, 1)
goto @SWEET4_8832

:SWEET4_8808
Task.EnterCarAsPassenger(401@, 543@, -1, 1)
61@ = Clock.GetGameTimer()
403@ = 2

:SWEET4_8832
if 
  403@ == 2
goto_if_false @SWEET4_8916
67@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 73@ = 67@
sub_int_lvar_from_int_lvar 73@ -= 61@
if 
  73@ > 1000
goto_if_false @SWEET4_8916
if 
  73@ > 3000
goto_if_false @SWEET4_8916
403@ = 1

:SWEET4_8916
if 
  410@ == 0
goto_if_false @SWEET4_8980
if 
  not Char.IsInCar(408@, 543@)
goto_if_false @SWEET4_8980
Blip.Remove(544@)
409@ = Blip.AddForChar(408@)
Blip.SetAsFriendly(409@, True)
410@ = 1

:SWEET4_8980
if 
  410@ == 1
goto_if_false @SWEET4_9094
if 
  not Char.IsInCar(408@, 543@)
goto_if_false @SWEET4_9094
if 
  not Char.LocateOnFootCar2D(408@, 543@, 8.0, 8.0, False)
goto_if_false @SWEET4_9070
Text.PrintNow('SWE4_11', 100, 1)
goto @SWEET4_9094

:SWEET4_9070
Task.EnterCarAsPassenger(408@, 543@, -1, 2)
61@ = Clock.GetGameTimer()
410@ = 2

:SWEET4_9094
if 
  410@ == 2
goto_if_false @SWEET4_9178
67@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 73@ = 67@
sub_int_lvar_from_int_lvar 73@ -= 61@
if 
  73@ > 1000
goto_if_false @SWEET4_9178
if 
  73@ > 3000
goto_if_false @SWEET4_9178
410@ = 1

:SWEET4_9178
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(394@)
  not Char.IsDead(401@)
  not Char.IsDead(408@)
goto_if_false @SWEET4_10149
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_10149
if and
  Char.IsInCar($stattreadstamina_ctr, 543@)
  Char.IsInCar(394@, 543@)
  Char.IsInCar(401@, 543@)
  Char.IsInCar(408@, 543@)
goto_if_false @SWEET4_10149
if 
  $6641 == 1
goto_if_false @SWEET4_9293
$6641 = 2

:SWEET4_9293
if 
  $6641 == 2
goto_if_false @SWEET4_9351
$6664 = 0
World.SetPedDensityMultiplier(0.0)
57@ = Blip.AddForCoord(54@, 55@, 56@)
61@ = Clock.GetGameTimer()
$6641 = 3

:SWEET4_9351
if 
  $6641 == 3
goto_if_false @SWEET4_9509
if 
  43@ == 0
goto_if_false @SWEET4_9439
67@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 73@ = 67@
sub_int_lvar_from_int_lvar 73@ -= 61@
if 
  73@ > 6000
goto_if_false @SWEET4_9439
61@ = Clock.GetGameTimer()
43@ = 1

:SWEET4_9439
if 
  43@ == 1
goto_if_false @SWEET4_9509
67@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 73@ = 67@
sub_int_lvar_from_int_lvar 73@ -= 61@
if 
  73@ > 5000
goto_if_false @SWEET4_9509
61@ = Clock.GetGameTimer()
43@ = 2

:SWEET4_9509
if 
  $6641 == 3
goto_if_false @SWEET4_10149
if and
  $sw4_text_timer_end == 0
  34@ == 0
goto_if_false @SWEET4_10149
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_10149
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 54@, 55@, 56@, 150.0, 150.0, 150.0, False)
goto_if_false @SWEET4_9635
if 
  42@ == 0
goto_if_false @SWEET4_9635
World.SetPedDensityMultiplier(0.0)

:SWEET4_9635
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 54@, 55@, 56@, 4.0, 4.0, 4.0, True)
goto_if_false @SWEET4_10149
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 543@)
goto_if_false @SWEET4_10149
Player.SetControl($statbike_temp, False)
$6676 = 9
Blip.Remove(57@)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.DoFade(300, Fade.Out)
$sw4_health_display = Clock.GetGameTimer()
Task.PlayAnim($stattreadstamina_ctr, "GDB_CAR_PLY", "GHETTO_DB", 4.0, False, False, False, False, 0)
Char.SetCurrentWeapon(394@, WeaponType.Tec9)
Task.PlayAnim(394@, "GDB_CAR_SMO", "GHETTO_DB", 4.0, False, False, False, False, 0)
Char.SetCurrentWeapon(408@, WeaponType.Tec9)
Task.PlayAnim(408@, "GDB_CAR_SWE", "GHETTO_DB", 4.0, False, False, False, False, 0)
Char.SetCurrentWeapon(401@, WeaponType.Tec9)
Task.PlayAnim(401@, "GDB_CAR_RYD", "GHETTO_DB", 4.0, False, False, False, False, 0)
Car.SetCanBeVisiblyDamaged(543@, False)
198@ = Object.Create(#KB_BEER, 2440.58, -1979.89, 14.2)
gosub @SWEET4_842
gosub @SWEET4_3303
gosub @SWEET4_3451
if 
  not Char.IsDead(418@)
goto_if_false @SWEET4_10049
Char.HideWeaponForScriptedCutscene(418@, True)
Task.PickUpObject(418@, 198@, 0.1, 0.1, 0.0, 6, 16, "NULL", "NULL", -1)

:SWEET4_10049
Streaming.RequestModel(#LAEROAD30)

:SWEET4_10053
if 
  Camera.GetFadingStatus
goto_if_false @SWEET4_10077
wait 0
goto @SWEET4_10053

:SWEET4_10077
if 
  not Streaming.HasModelLoaded(#LAEROAD30)
goto_if_false @SWEET4_10103
wait 0
goto @SWEET4_10077

:SWEET4_10103
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_10128
Car.PopPanel(543@, 4, True)

:SWEET4_10128
$6641 = 4
34@ = 1
$sw4_text_timer_start = 1

:SWEET4_10149
if and
  $6641 == 4
  $6664 == 0
goto_if_false @SWEET4_10233
if and
  not Char.IsDead(401@)
  not Char.IsDead(394@)
goto_if_false @SWEET4_10233
if and
  not Car.IsDead(543@)
  not Char.IsDead(408@)
goto_if_false @SWEET4_10233
59@ = Clock.GetGameTimer()
$sw4_health_display = Clock.GetGameTimer()
$6664 = 1

:SWEET4_10233
if 
  $6641 == 4
goto_if_false @SWEET4_11507
if 
  $6664 > 0
goto_if_false @SWEET4_10349
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 2000
goto_if_false @SWEET4_10349
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SWEET4_10349
Text.ClearPrints
$6676 = 14
50@ = 1
$6664 = 4

:SWEET4_10349
if 
  $6664 == 1
goto_if_false @SWEET4_10603
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 300
goto_if_false @SWEET4_10603
if 
  $sw4_text_timer_start == 1
goto_if_false @SWEET4_10603
if 
  not Char.IsDead(401@)
goto_if_false @SWEET4_10603
Camera.SetNearClip(0.1)
120@, 130@, 140@ = Car.GetOffsetInWorldCoords(543@, -0.337, 1.566, 0.657)
122@, 132@, 142@ = Car.GetOffsetInWorldCoords(543@, 0.038, -1.033, 0.088)
Camera.SetFixedPosition(120@, 130@, 140@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(122@, 132@, 142@, SwitchType.JumpCut)
59@ = Clock.GetGameTimer()
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(300, Fade.In)

:SWEET4_10565
if 
  Camera.GetFadingStatus
goto_if_false @SWEET4_10589
wait 0
goto @SWEET4_10565

:SWEET4_10589
$6676 = 9
$6664 = 2

:SWEET4_10603
if 
  $6664 == 2
goto_if_false @SWEET4_10725
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 10700
goto_if_false @SWEET4_10725
if 
  $sw4_text_timer_start == 1
goto_if_false @SWEET4_10725
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(300, Fade.Out)

:SWEET4_10694
if 
  Camera.GetFadingStatus
goto_if_false @SWEET4_10718
wait 0
goto @SWEET4_10694

:SWEET4_10718
$6664 = 31

:SWEET4_10725
if 
  $6664 == 31
goto_if_false @SWEET4_10887
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 11000
goto_if_false @SWEET4_10887
Camera.SetNearClip(0.1)
Camera.SetFadingColor(0, 0, 0)
Camera.SetFixedPosition(2098.139, -1385.882, 30.5735, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2098.952, -1385.364, 30.3086, SwitchType.JumpCut)
Camera.DoFade(300, Fade.In)

:SWEET4_10856
if 
  Camera.GetFadingStatus
goto_if_false @SWEET4_10880
wait 0
goto @SWEET4_10856

:SWEET4_10880
$6664 = 3

:SWEET4_10887
if 
  $6664 == 3
goto_if_false @SWEET4_11146
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 13000
goto_if_false @SWEET4_11146
if 
  $sw4_text_timer_start == 1
goto_if_false @SWEET4_11146
if 
  not Car.IsDead(523@)
goto_if_false @SWEET4_11146
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2098.139, -1385.882, 30.5735, 2075.787, -1369.657, 23.6289, 3500, True)
Camera.SetVectorTrack(2098.952, -1385.364, 30.3086, 2076.316, -1368.814, 23.7227, 3500, True)
if 
  not Char.IsDead(417@)
goto_if_false @SWEET4_11115
Task.PlayAnim(417@, "GSIGN1", "GHANDS", 4.0, False, False, False, False, 0)

:SWEET4_11115
if 
  not Char.IsDead(416@)
goto_if_false @SWEET4_11139
Char.PerformSequence(416@, 118@)

:SWEET4_11139
$6664 = 4

:SWEET4_11146
if 
  $6664 == 4
goto_if_false @SWEET4_11233
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if or
  71@ > 20000
  50@ == 1
goto_if_false @SWEET4_11233
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(300, Fade.Out)
$6664 = 6

:SWEET4_11233
if 
  $6664 == 6
goto_if_false @SWEET4_11507
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if or
  71@ > 21000
  50@ == 1
goto_if_false @SWEET4_11507
Text.ClearPrints
$6676 = 14
Streaming.MarkModelAsNoLongerNeeded(#LAEROAD30)
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(300, Fade.In)
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("GHANDS")
62@ = Clock.GetGameTimer()
63@ = Clock.GetGameTimer()
64@ = Clock.GetGameTimer()
Text.PrintHelp('SWE4_13')
Car.FixPanel(543@, 4)
World.ClearArea(54@, 55@, 56@, 4.0, True)
Car.SetCanBeVisiblyDamaged(543@, True)
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_11486
$6678 = Car.GetHealth(543@)
if 
  $6678 > 250
goto_if_false @SWEET4_11471
$6678 -= 250

:SWEET4_11471
set_var_int_to_var_int $6677 = $6678
$6677 /= 10

:SWEET4_11486
$6663 = 1
50@ = 0
$6641 = 5

:SWEET4_11507
if and
  $6641 == 5
  $6664 >= 6
goto_if_false @SWEET4_12776
70@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 76@ = 70@
sub_int_lvar_from_int_lvar 76@ -= 64@
if 
  76@ > 5000
goto_if_false @SWEET4_11634
if 
  84@ == 0
goto_if_false @SWEET4_11634
Hud.ClearCounter($6677)
Hud.DisplayCounterWithString($6677, CounterDisplay.Bar, 'SWE4_08')
Text.PrintHelp('SWE4_15')
62@ = Clock.GetGameTimer()
84@ = 1

:SWEET4_11634
if and
  $sw4_hood_create == 0
  $sw4_text_timer_start == 1
goto_if_false @SWEET4_11839
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_11839
if and
  not Char.IsDead(415@)
  not Char.IsDead(394@)
goto_if_false @SWEET4_11839
if or
  Car.Locate3D(543@, 451@, 469@, 487@, 85@, 85@, 85@, False)
  Char.IsShooting(394@)
goto_if_false @SWEET4_11839
if and
  not Char.IsDead(416@)
  not Char.IsDead(417@)
  not Char.IsDead(418@)
  not Car.IsDead(523@)
goto_if_false @SWEET4_11839
Object.Delete(198@)
Char.SetCurrentWeapon(418@, WeaponType.Pistol)
Char.PerformSequence(415@, 98@)
Sequence.Clear(98@)
Char.PerformSequence(416@, 99@)
Sequence.Clear(99@)
Char.PerformSequence(417@, 100@)
Sequence.Clear(100@)
Char.PerformSequence(418@, 101@)
Sequence.Clear(101@)
$sw4_hood_create = 1

:SWEET4_11839
if and
  $6666 == 0
  $sw4_text_timer_end == 1
goto_if_false @SWEET4_12032
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_12032
if and
  not Char.IsDead(419@)
  not Char.IsDead(394@)
goto_if_false @SWEET4_12032
if or
  Car.Locate3D(543@, 455@, 473@, 491@, 85@, 85@, 85@, False)
  Char.IsShooting(394@)
goto_if_false @SWEET4_12032
if and
  not Char.IsDead(420@)
  not Char.IsDead(421@)
  not Char.IsDead(422@)
  not Car.IsDead(524@)
goto_if_false @SWEET4_12032
Char.PerformSequence(419@, 102@)
Sequence.Clear(102@)
Char.PerformSequence(420@, 103@)
Sequence.Clear(103@)
Char.PerformSequence(421@, 104@)
Sequence.Clear(104@)
Char.PerformSequence(422@, 105@)
Sequence.Clear(105@)
$6666 = 1

:SWEET4_12032
if and
  $6667 == 0
  $sw4_text_timer_diff == 1
goto_if_false @SWEET4_12220
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_12220
if and
  not Char.IsDead(423@)
  not Char.IsDead(394@)
goto_if_false @SWEET4_12220
if or
  Car.Locate3D(543@, 459@, 477@, 495@, 85@, 85@, 85@, False)
  Char.IsShooting(394@)
goto_if_false @SWEET4_12220
if and
  not Char.IsDead(424@)
  not Char.IsDead(425@)
  not Char.IsDead(426@)
goto_if_false @SWEET4_12220
Char.PerformSequence(423@, 106@)
Sequence.Clear(106@)
Char.PerformSequence(424@, 107@)
Sequence.Clear(107@)
Char.PerformSequence(425@, 108@)
Sequence.Clear(108@)
Char.PerformSequence(426@, 109@)
Sequence.Clear(109@)
$6667 = 1

:SWEET4_12220
if and
  $6668 == 0
  $sw4_text_timer_flag == 1
goto_if_false @SWEET4_12408
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_12408
if and
  not Char.IsDead(427@)
  not Char.IsDead(394@)
goto_if_false @SWEET4_12408
if or
  Car.Locate3D(543@, 463@, 481@, 499@, 85@, 85@, 85@, False)
  Char.IsShooting(394@)
goto_if_false @SWEET4_12408
if and
  not Char.IsDead(428@)
  not Char.IsDead(429@)
  not Char.IsDead(430@)
goto_if_false @SWEET4_12408
Char.PerformSequence(427@, 110@)
Sequence.Clear(110@)
Char.PerformSequence(428@, 111@)
Sequence.Clear(111@)
Char.PerformSequence(429@, 112@)
Sequence.Clear(112@)
Char.PerformSequence(430@, 113@)
Sequence.Clear(113@)
$6668 = 1

:SWEET4_12408
if and
  $sw4_text_timer_end == 0
  34@ == 2
  $6663 == 0
goto_if_false @SWEET4_12552
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_12552
if 
  not Camera.IsPointOnScreen(455@, 473@, 491@, 4.0)
goto_if_false @SWEET4_12552
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 455@, 473@, 491@, 85@, 85@, 85@, False)
goto_if_false @SWEET4_12552
gosub @SWEET4_1419
gosub @SWEET4_3305
gosub @SWEET4_3787
Streaming.MarkModelAsNoLongerNeeded(412)
$sw4_text_timer_end = 1

:SWEET4_12552
if and
  $sw4_text_timer_diff == 0
  34@ == 3
  $6663 == 0
goto_if_false @SWEET4_12664
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_12664
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 459@, 477@, 495@, 85@, 85@, 85@, False)
goto_if_false @SWEET4_12664
gosub @SWEET4_1989
gosub @SWEET4_3307
gosub @SWEET4_4035
$sw4_text_timer_diff = 1

:SWEET4_12664
if and
  $sw4_text_timer_flag == 0
  34@ == 4
  $6663 == 0
goto_if_false @SWEET4_12776
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_12776
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 463@, 481@, 499@, 85@, 85@, 85@, False)
goto_if_false @SWEET4_12776
gosub @SWEET4_2503
gosub @SWEET4_3379
gosub @SWEET4_4316
$sw4_text_timer_flag = 1

:SWEET4_12776
if 
  $6641 > 4
goto_if_false @SWEET4_14711
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(394@)
  not Char.IsDead(401@)
  not Char.IsDead(408@)
goto_if_false @SWEET4_13089
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_13089
if and
  Char.IsInCar($stattreadstamina_ctr, 543@)
  Char.IsInCar(394@, 543@)
  Char.IsInCar(401@, 543@)
  Char.IsInCar(408@, 543@)
goto_if_false @SWEET4_13089
if 
  not Car.IsOnFire(543@)
goto_if_false @SWEET4_13059
if 
  48@ == 1
goto_if_false @SWEET4_12946
Hud.ClearCounter($6677)
Hud.DisplayCounterWithString($6677, CounterDisplay.Bar, 'SWE4_08')
48@ = 0

:SWEET4_12946
$6678 = Car.GetHealth(543@)
$6678 -= 250
set_var_int_to_var_int $6677 = $6678
$6677 /= 12
if 
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, 2067.0, -1831.0, 13.0, 5.0, 5.0, 5.0, False)
goto_if_false @SWEET4_13052
if 
  $6678 == 750
goto_if_false @SWEET4_13052
Car.SetHealth(543@, 1450)

:SWEET4_13052
goto @SWEET4_13089

:SWEET4_13059
if 
  48@ == 0
goto_if_false @SWEET4_13089
Hud.ClearCounter($6677)
48@ = 1

:SWEET4_13089
68@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 74@ = 68@
sub_int_lvar_from_int_lvar 74@ -= 62@
if or
  74@ > 2000
  Char.IsDead(195@)
goto_if_false @SWEET4_13200
set_lvar_int_to_constant 41@ = 8
set_lvar_int_to_lvar_int 194@ = 408@
gosub @SWEET4_24180
set_lvar_int_to_constant 41@ = 8
set_lvar_int_to_lvar_int 194@ = 401@
gosub @SWEET4_24180
set_lvar_int_to_constant 41@ = 8
set_lvar_int_to_lvar_int 194@ = 394@
gosub @SWEET4_24180

:SWEET4_13200
if 
  $sw4_text_timer_start == 1
goto_if_false @SWEET4_13589
if 
  34@ == 1
goto_if_false @SWEET4_13589
if 
  $6644 == 0
goto_if_false @SWEET4_13294
if 
  Char.IsDead(415@)
goto_if_false @SWEET4_13294
Blip.Remove(433@)
Char.MarkAsNoLongerNeeded(415@)
77@ += 1
$6644 = 1

:SWEET4_13294
if 
  $6645 == 0
goto_if_false @SWEET4_13352
if 
  Char.IsDead(416@)
goto_if_false @SWEET4_13352
Blip.Remove(434@)
Char.MarkAsNoLongerNeeded(416@)
77@ += 1
$6645 = 1

:SWEET4_13352
if 
  $6646 == 0
goto_if_false @SWEET4_13410
if 
  Char.IsDead(417@)
goto_if_false @SWEET4_13410
Blip.Remove(435@)
Char.MarkAsNoLongerNeeded(417@)
77@ += 1
$6646 = 1

:SWEET4_13410
if 
  $6647 == 0
goto_if_false @SWEET4_13468
if 
  Char.IsDead(418@)
goto_if_false @SWEET4_13468
Blip.Remove(436@)
Char.MarkAsNoLongerNeeded(418@)
77@ += 1
$6647 = 1

:SWEET4_13468
if 
  35@ == 0
goto_if_false @SWEET4_13589
if and
  $6644 == 1
  $6645 == 1
  $6646 == 1
  $6647 == 1
goto_if_false @SWEET4_13589
if 
  $6663 == 0
goto_if_false @SWEET4_13575
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_13575
389@ = 46

:SWEET4_13575
34@ = 2
35@ = 1

:SWEET4_13589
if 
  $sw4_text_timer_end == 1
goto_if_false @SWEET4_13978
if 
  34@ == 2
goto_if_false @SWEET4_13978
if 
  $6648 == 0
goto_if_false @SWEET4_13683
if 
  Char.IsDead(419@)
goto_if_false @SWEET4_13683
Blip.Remove(437@)
Char.MarkAsNoLongerNeeded(419@)
77@ += 1
$6648 = 1

:SWEET4_13683
if 
  $6649 == 0
goto_if_false @SWEET4_13741
if 
  Char.IsDead(420@)
goto_if_false @SWEET4_13741
Blip.Remove(438@)
Char.MarkAsNoLongerNeeded(420@)
77@ += 1
$6649 = 1

:SWEET4_13741
if 
  $6650 == 0
goto_if_false @SWEET4_13799
if 
  Char.IsDead(421@)
goto_if_false @SWEET4_13799
Blip.Remove(439@)
Char.MarkAsNoLongerNeeded(421@)
77@ += 1
$6650 = 1

:SWEET4_13799
if 
  $6651 == 0
goto_if_false @SWEET4_13857
if 
  Char.IsDead(422@)
goto_if_false @SWEET4_13857
Blip.Remove(440@)
Char.MarkAsNoLongerNeeded(422@)
77@ += 1
$6651 = 1

:SWEET4_13857
if 
  36@ == 0
goto_if_false @SWEET4_13978
if and
  $6648 == 1
  $6649 == 1
  $6650 == 1
  $6651 == 1
goto_if_false @SWEET4_13978
if 
  $6663 == 0
goto_if_false @SWEET4_13964
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_13964
389@ = 47

:SWEET4_13964
34@ = 3
36@ = 1

:SWEET4_13978
if 
  $sw4_text_timer_diff == 1
goto_if_false @SWEET4_14367
if 
  34@ == 3
goto_if_false @SWEET4_14367
if 
  $6652 == 0
goto_if_false @SWEET4_14072
if 
  Char.IsDead(423@)
goto_if_false @SWEET4_14072
Blip.Remove(441@)
Char.MarkAsNoLongerNeeded(423@)
77@ += 1
$6652 = 1

:SWEET4_14072
if 
  $6653 == 0
goto_if_false @SWEET4_14130
if 
  Char.IsDead(424@)
goto_if_false @SWEET4_14130
Blip.Remove(442@)
Char.MarkAsNoLongerNeeded(424@)
77@ += 1
$6653 = 1

:SWEET4_14130
if 
  $6654 == 0
goto_if_false @SWEET4_14188
if 
  Char.IsDead(425@)
goto_if_false @SWEET4_14188
Blip.Remove(443@)
Char.MarkAsNoLongerNeeded(425@)
77@ += 1
$6654 = 1

:SWEET4_14188
if 
  $6655 == 0
goto_if_false @SWEET4_14246
if 
  Char.IsDead(426@)
goto_if_false @SWEET4_14246
Blip.Remove(444@)
Char.MarkAsNoLongerNeeded(426@)
77@ += 1
$6655 = 1

:SWEET4_14246
if 
  37@ == 0
goto_if_false @SWEET4_14367
if and
  $6652 == 1
  $6653 == 1
  $6654 == 1
  $6655 == 1
goto_if_false @SWEET4_14367
if 
  $6663 == 0
goto_if_false @SWEET4_14353
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_14353
389@ = 48

:SWEET4_14353
34@ = 4
37@ = 1

:SWEET4_14367
if 
  $sw4_text_timer_flag == 1
goto_if_false @SWEET4_14711
if 
  34@ == 4
goto_if_false @SWEET4_14711
if 
  $6656 == 0
goto_if_false @SWEET4_14461
if 
  Char.IsDead(427@)
goto_if_false @SWEET4_14461
Blip.Remove(445@)
Char.MarkAsNoLongerNeeded(427@)
77@ += 1
$6656 = 1

:SWEET4_14461
if 
  $6657 == 0
goto_if_false @SWEET4_14519
if 
  Char.IsDead(428@)
goto_if_false @SWEET4_14519
Blip.Remove(446@)
Char.MarkAsNoLongerNeeded(428@)
77@ += 1
$6657 = 1

:SWEET4_14519
if 
  $sw4_spray_marker == 0
goto_if_false @SWEET4_14577
if 
  Char.IsDead(429@)
goto_if_false @SWEET4_14577
Blip.Remove(447@)
Char.MarkAsNoLongerNeeded(429@)
77@ += 1
$sw4_spray_marker = 1

:SWEET4_14577
if 
  $sw4_blipped == 0
goto_if_false @SWEET4_14635
if 
  Char.IsDead(430@)
goto_if_false @SWEET4_14635
Blip.Remove(448@)
Char.MarkAsNoLongerNeeded(430@)
77@ += 1
$sw4_blipped = 1

:SWEET4_14635
if 
  38@ == 0
goto_if_false @SWEET4_14711
if and
  $6656 == 1
  $6657 == 1
  $sw4_spray_marker == 1
  $sw4_blipped == 1
goto_if_false @SWEET4_14711
$sw4_health_display = Clock.GetGameTimer()
34@ = 1
38@ = 0

:SWEET4_14711
if 
  $6641 == 5
goto_if_false @SWEET4_16502
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_16171
if 
  45@ == 0
goto_if_false @SWEET4_15199
if and
  Car.IsStopped(543@)
  Char.IsInCar($stattreadstamina_ctr, 543@)
goto_if_false @SWEET4_15199
59@ = Clock.GetGameTimer()
44@ = Math.RandomIntInRange(0, 5)
$6642 = 50
if 
  not Char.IsDead(415@)
goto_if_false @SWEET4_14832
Char.SetAccuracy(415@, $6642)

:SWEET4_14832
if 
  not Char.IsDead(416@)
goto_if_false @SWEET4_14856
Char.SetAccuracy(416@, $6642)

:SWEET4_14856
if 
  not Char.IsDead(417@)
goto_if_false @SWEET4_14880
Char.SetAccuracy(417@, $6642)

:SWEET4_14880
if 
  not Char.IsDead(418@)
goto_if_false @SWEET4_14904
Char.SetAccuracy(418@, $6642)

:SWEET4_14904
if 
  not Char.IsDead(419@)
goto_if_false @SWEET4_14928
Char.SetAccuracy(419@, $6642)

:SWEET4_14928
if 
  not Char.IsDead(420@)
goto_if_false @SWEET4_14952
Char.SetAccuracy(420@, $6642)

:SWEET4_14952
if 
  not Char.IsDead(421@)
goto_if_false @SWEET4_14976
Char.SetAccuracy(421@, $6642)

:SWEET4_14976
if 
  not Char.IsDead(422@)
goto_if_false @SWEET4_15000
Char.SetAccuracy(422@, $6642)

:SWEET4_15000
if 
  not Char.IsDead(423@)
goto_if_false @SWEET4_15024
Char.SetAccuracy(423@, $6642)

:SWEET4_15024
if 
  not Char.IsDead(424@)
goto_if_false @SWEET4_15048
Char.SetAccuracy(424@, $6642)

:SWEET4_15048
if 
  not Char.IsDead(425@)
goto_if_false @SWEET4_15072
Char.SetAccuracy(425@, $6642)

:SWEET4_15072
if 
  not Char.IsDead(426@)
goto_if_false @SWEET4_15096
Char.SetAccuracy(426@, $6642)

:SWEET4_15096
if 
  not Char.IsDead(427@)
goto_if_false @SWEET4_15120
Char.SetAccuracy(427@, $6642)

:SWEET4_15120
if 
  not Char.IsDead(428@)
goto_if_false @SWEET4_15144
Char.SetAccuracy(428@, $6642)

:SWEET4_15144
if 
  not Char.IsDead(429@)
goto_if_false @SWEET4_15168
Char.SetAccuracy(429@, $6642)

:SWEET4_15168
if 
  not Char.IsDead(430@)
goto_if_false @SWEET4_15192
Char.SetAccuracy(430@, $6642)

:SWEET4_15192
45@ = 1

:SWEET4_15199
if 
  45@ == 1
goto_if_false @SWEET4_15699
69@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 75@ = 69@
sub_int_lvar_from_int_lvar 75@ -= 63@
if 
  75@ > 3000
goto_if_false @SWEET4_15699
if 
  Car.IsStopped(543@)
goto_if_false @SWEET4_15692
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 250
goto_if_false @SWEET4_15685
if 
  44@ == 0
goto_if_false @SWEET4_15375
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_15375
389@ = 20
59@ = Clock.GetGameTimer()
45@ = 2

:SWEET4_15375
if 
  44@ == 1
goto_if_false @SWEET4_15437
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_15437
389@ = 21
59@ = Clock.GetGameTimer()
45@ = 2

:SWEET4_15437
if 
  44@ == 2
goto_if_false @SWEET4_15499
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_15499
389@ = 22
59@ = Clock.GetGameTimer()
45@ = 2

:SWEET4_15499
if 
  44@ == 3
goto_if_false @SWEET4_15561
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_15561
389@ = 23
59@ = Clock.GetGameTimer()
45@ = 2

:SWEET4_15561
if 
  44@ == 4
goto_if_false @SWEET4_15623
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_15623
389@ = 24
59@ = Clock.GetGameTimer()
45@ = 2

:SWEET4_15623
if 
  44@ == 5
goto_if_false @SWEET4_15685
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_15685
389@ = 25
59@ = Clock.GetGameTimer()
45@ = 2

:SWEET4_15685
goto @SWEET4_15699

:SWEET4_15692
45@ = 2

:SWEET4_15699
if 
  45@ == 2
goto_if_false @SWEET4_16171
if 
  not Car.IsStopped(543@)
goto_if_false @SWEET4_16171
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 3100
goto_if_false @SWEET4_15780
45@ = 0

:SWEET4_15780
$6642 = 30
if 
  not Char.IsDead(415@)
goto_if_false @SWEET4_15811
Char.SetAccuracy(415@, $6642)

:SWEET4_15811
if 
  not Char.IsDead(416@)
goto_if_false @SWEET4_15835
Char.SetAccuracy(416@, $6642)

:SWEET4_15835
if 
  not Char.IsDead(417@)
goto_if_false @SWEET4_15859
Char.SetAccuracy(417@, $6642)

:SWEET4_15859
if 
  not Char.IsDead(418@)
goto_if_false @SWEET4_15883
Char.SetAccuracy(418@, $6642)

:SWEET4_15883
if 
  not Char.IsDead(419@)
goto_if_false @SWEET4_15907
Char.SetAccuracy(419@, $6642)

:SWEET4_15907
if 
  not Char.IsDead(420@)
goto_if_false @SWEET4_15931
Char.SetAccuracy(420@, $6642)

:SWEET4_15931
if 
  not Char.IsDead(421@)
goto_if_false @SWEET4_15955
Char.SetAccuracy(421@, $6642)

:SWEET4_15955
if 
  not Char.IsDead(422@)
goto_if_false @SWEET4_15979
Char.SetAccuracy(422@, $6642)

:SWEET4_15979
if 
  not Char.IsDead(423@)
goto_if_false @SWEET4_16003
Char.SetAccuracy(423@, $6642)

:SWEET4_16003
if 
  not Char.IsDead(424@)
goto_if_false @SWEET4_16027
Char.SetAccuracy(424@, $6642)

:SWEET4_16027
if 
  not Char.IsDead(425@)
goto_if_false @SWEET4_16051
Char.SetAccuracy(425@, $6642)

:SWEET4_16051
if 
  not Char.IsDead(426@)
goto_if_false @SWEET4_16075
Char.SetAccuracy(426@, $6642)

:SWEET4_16075
if 
  not Char.IsDead(427@)
goto_if_false @SWEET4_16099
Char.SetAccuracy(427@, $6642)

:SWEET4_16099
if 
  not Char.IsDead(428@)
goto_if_false @SWEET4_16123
Char.SetAccuracy(428@, $6642)

:SWEET4_16123
if 
  not Char.IsDead(429@)
goto_if_false @SWEET4_16147
Char.SetAccuracy(429@, $6642)

:SWEET4_16147
if 
  not Char.IsDead(430@)
goto_if_false @SWEET4_16171
Char.SetAccuracy(430@, $6642)

:SWEET4_16171
if 
  77@ == 16
goto_if_false @SWEET4_16233
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_16233
389@ = 33
82@ = Clock.GetGameTimer()
77@ = 17

:SWEET4_16233
if 
  77@ == 17
goto_if_false @SWEET4_16502
81@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 80@ = 81@
sub_int_lvar_from_int_lvar 80@ -= 82@
if 
  80@ > 3000
goto_if_false @SWEET4_16502
Game.SetFreeResprays(True)
Text.ClearPrints
Game.SetMaxWantedLevel(53@)
if 
  49@ == 0
goto_if_false @SWEET4_16331
Game.SetCreateRandomCops(True)
Player.AlterWantedLevelNoDrop($statbike_temp, 2)

:SWEET4_16331
Car.LockDoors(543@, CarLock.Unlocked)
Hud.ClearCounter($6677)
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
82@ = Clock.GetGameTimer()
World.SetPedDensityMultiplier(0.5)
Blip.Remove(433@)
Blip.Remove(434@)
Blip.Remove(435@)
Blip.Remove(436@)
Blip.Remove(437@)
Blip.Remove(438@)
Blip.Remove(439@)
Blip.Remove(440@)
Blip.Remove(441@)
Blip.Remove(442@)
Blip.Remove(443@)
Blip.Remove(444@)
Blip.Remove(445@)
Blip.Remove(446@)
Blip.Remove(447@)
Blip.Remove(448@)
$sw4_health_display = Clock.GetGameTimer()
$6676 = 14
$6664 = 0
$6641 = 6
Game.SetWantedMultiplier(1.0)
83@ = 0

:SWEET4_16502
if and
  $6641 == 6
  $6676 == 18
goto_if_false @SWEET4_18034
81@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 80@ = 81@
sub_int_lvar_from_int_lvar 80@ -= 82@
if 
  83@ == 0
goto_if_false @SWEET4_16608
if 
  80@ > 500
goto_if_false @SWEET4_16608
Text.PrintHelp('SWE4_07')
Blip.Remove($flag_ryder_mission_counter)
83@ += 1

:SWEET4_16608
if 
  83@ == 1
goto_if_false @SWEET4_16679
if 
  80@ > 1000
goto_if_false @SWEET4_16679
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
83@ += 1

:SWEET4_16679
if 
  83@ == 2
goto_if_false @SWEET4_16728
if 
  80@ > 1500
goto_if_false @SWEET4_16728
Blip.Remove($flag_ryder_mission_counter)
83@ += 1

:SWEET4_16728
if 
  83@ == 3
goto_if_false @SWEET4_16799
if 
  80@ > 2000
goto_if_false @SWEET4_16799
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
83@ += 1

:SWEET4_16799
if 
  83@ == 4
goto_if_false @SWEET4_16848
if 
  80@ > 2500
goto_if_false @SWEET4_16848
Blip.Remove($flag_ryder_mission_counter)
83@ += 1

:SWEET4_16848
if 
  83@ == 5
goto_if_false @SWEET4_16919
if 
  80@ > 3000
goto_if_false @SWEET4_16919
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
83@ += 1

:SWEET4_16919
if 
  83@ == 6
goto_if_false @SWEET4_16968
if 
  80@ > 3500
goto_if_false @SWEET4_16968
Blip.Remove($flag_ryder_mission_counter)
83@ += 1

:SWEET4_16968
if 
  83@ == 7
goto_if_false @SWEET4_17039
if 
  80@ > 4000
goto_if_false @SWEET4_17039
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
83@ += 1

:SWEET4_17039
if 
  83@ == 8
goto_if_false @SWEET4_17088
if 
  80@ > 4500
goto_if_false @SWEET4_17088
Blip.Remove($flag_ryder_mission_counter)
83@ += 1

:SWEET4_17088
if 
  83@ == 9
goto_if_false @SWEET4_17159
if 
  80@ > 5000
goto_if_false @SWEET4_17159
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
83@ += 1

:SWEET4_17159
if 
  83@ == 10
goto_if_false @SWEET4_17208
if 
  80@ > 5500
goto_if_false @SWEET4_17208
Blip.Remove($flag_ryder_mission_counter)
83@ += 1

:SWEET4_17208
if 
  83@ == 11
goto_if_false @SWEET4_17279
if 
  80@ > 6000
goto_if_false @SWEET4_17279
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
83@ += 1

:SWEET4_17279
if 
  83@ == 12
goto_if_false @SWEET4_17328
if 
  80@ > 6500
goto_if_false @SWEET4_17328
Blip.Remove($flag_ryder_mission_counter)
83@ += 1

:SWEET4_17328
if 
  83@ == 13
goto_if_false @SWEET4_17399
if 
  80@ > 7000
goto_if_false @SWEET4_17399
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
83@ += 1

:SWEET4_17399
if 
  83@ == 14
goto_if_false @SWEET4_17448
if 
  80@ > 7500
goto_if_false @SWEET4_17448
Blip.Remove($flag_ryder_mission_counter)
83@ += 1

:SWEET4_17448
if 
  83@ == 15
goto_if_false @SWEET4_17519
if 
  80@ > 8000
goto_if_false @SWEET4_17519
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
83@ += 1

:SWEET4_17519
if 
  83@ == 16
goto_if_false @SWEET4_17568
if 
  80@ > 8500
goto_if_false @SWEET4_17568
Blip.Remove($flag_ryder_mission_counter)
83@ += 1

:SWEET4_17568
if 
  83@ == 17
goto_if_false @SWEET4_17639
if 
  80@ > 9000
goto_if_false @SWEET4_17639
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
83@ += 1

:SWEET4_17639
if 
  83@ == 18
goto_if_false @SWEET4_17688
if 
  80@ > 9500
goto_if_false @SWEET4_17688
Blip.Remove($flag_ryder_mission_counter)
83@ += 1

:SWEET4_17688
if 
  83@ == 19
goto_if_false @SWEET4_17784
if 
  80@ > 10000
goto_if_false @SWEET4_17784
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
Blip.Remove($6662)
$6662 = Blip.AddForCoord(2075.55, -1831.09, 12.21)
83@ += 1

:SWEET4_17784
if 
  $6664 == 0
goto_if_false @SWEET4_17891
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET4_17891
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 2075.55, -1831.09, 12.21, 4.0, 4.0, 4.0, True)
goto_if_false @SWEET4_17891
Text.ClearPrints
Text.PrintHelp('SWE4_06')
Blip.Remove($6662)
$6664 = 1

:SWEET4_17891
if 
  not Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @SWEET4_18034
if or
  Char.LocateInCar3D($stattreadstamina_ctr, 2075.55, -1831.09, 12.21, 20.0, 20.0, 20.0, True)
  Char.LocateInCar3D($stattreadstamina_ctr, 1024.55, -1039.09, 35.21, 20.0, 20.0, 20.0, True)
goto_if_false @SWEET4_18027
Text.ClearHelp
59@ = Clock.GetGameTimer()
Blip.Remove($6662)
$6641 = 7
$6664 = 0
goto @SWEET4_18034

:SWEET4_18027
Player.AlterWantedLevelNoDrop($statbike_temp, 2)

:SWEET4_18034
if 
  $6641 == 7
goto_if_false @SWEET4_18673
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 5000
goto_if_false @SWEET4_18183
if 
  43@ == 2
goto_if_false @SWEET4_18183
Game.SetFreeResprays(False)
Text.PrintHelp('WANT_L')
58@ = Blip.AddForCoord(545@, 546@, 547@)
Blip.Remove($flag_ryder_mission_counter)
$flag_ryder_mission_counter = Blip.AddShortRangeSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
59@ = Clock.GetGameTimer()
$sw4_health_display = Clock.GetGameTimer()
43@ = 3

:SWEET4_18183
if 
  43@ == 3
goto_if_false @SWEET4_18301
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 5000
goto_if_false @SWEET4_18301
if 
  49@ == 0
goto_if_false @SWEET4_18294
$6676 = 18
$sw4_health_display = Clock.GetGameTimer()
Text.PrintNow('SWE4_14', 8000, 1)
49@ = 1

:SWEET4_18294
43@ = 4

:SWEET4_18301
if 
  43@ == 4
goto_if_false @SWEET4_18673
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(543@)
goto_if_false @SWEET4_18673
if 
  Char.IsInCar($stattreadstamina_ctr, 543@)
goto_if_false @SWEET4_18673
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 545@, 546@, 547@, 4.0, 4.0, 4.0, True)
goto_if_false @SWEET4_18673
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 543@)
goto_if_false @SWEET4_18673
Player.SetControl($statbike_temp, False)
Task.CarTempAction($stattreadstamina_ctr, 543@, TempAction.HandbrakeStraight, 2000000)
World.ClearArea(2518.0, -1673.0, 14.0, 50.0, False)
Text.ClearPrints
World.SetPedDensityMultiplier(0.0)
Hud.SwitchWidescreen(True)
Camera.DoFade(300, Fade.Out)
59@ = Clock.GetGameTimer()
$sw4_health_display = Clock.GetGameTimer()
Task.PlayAnim($stattreadstamina_ctr, "GDB_CAR2_PLY", "GHETTO_DB", 4.0, False, False, False, True, 0)
Char.SetCurrentWeapon(394@, WeaponType.Tec9)
Task.PlayAnim(394@, "GDB_CAR2_SMO", "GHETTO_DB", 4.0, False, False, False, False, 0)
Char.SetCurrentWeapon(408@, WeaponType.Tec9)
Task.PlayAnim(408@, "GDB_CAR2_SWE", "GHETTO_DB", 4.0, False, False, False, False, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Car.SetCanBeVisiblyDamaged(543@, False)
$6664 = 0
$6641 = 8

:SWEET4_18673
if 
  $6641 == 8
goto_if_false @SWEET4_19980
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_19980
if 
  $6664 == 0
goto_if_false @SWEET4_19114
if 
  52@ == 0
goto_if_false @SWEET4_19005
if 
  390@ == 0
goto_if_false @SWEET4_19005
if 
  Car.IsStopped(543@)
goto_if_false @SWEET4_19005
if 
  not Char.IsDead(401@)
goto_if_false @SWEET4_18858
Car.PopPanel(543@, 4, True)
Camera.SetFadingColor(0, 0, 0)
117@ = Sequence.Open()
Task.LeaveCar(-1, 543@)
Task.GoStraightToCoord(-1, 2513.79, -1663.09, 14.56, MoveState.Walk, -2)
Sequence.Close(117@)
Char.PerformSequence(401@, 117@)

:SWEET4_18858
120@, 130@, 140@ = Car.GetOffsetInWorldCoords(543@, -0.4, 1.566, 0.657)
122@, 132@, 142@ = Car.GetOffsetInWorldCoords(543@, 0.038, -1.033, 0.088)
Camera.SetFixedPosition(120@, 130@, 140@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(122@, 132@, 142@, SwitchType.JumpCut)
Camera.DoFade(300, Fade.In)

:SWEET4_18962
if 
  Camera.GetFadingStatus
goto_if_false @SWEET4_18986
wait 0
goto @SWEET4_18962

:SWEET4_18986
389@ = 42
59@ = Clock.GetGameTimer()
52@ = 1

:SWEET4_19005
if 
  52@ == 1
goto_if_false @SWEET4_19114
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 1000
goto_if_false @SWEET4_19114
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_19114
389@ = 43
59@ = Clock.GetGameTimer()
52@ = 2
$6664 = 3

:SWEET4_19114
if 
  $6664 == 3
goto_if_false @SWEET4_19453
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 1000
goto_if_false @SWEET4_19239
Char.RemoveElegantly(401@)
if 
  52@ == 2
goto_if_false @SWEET4_19239
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_19239
389@ = 44
59@ = Clock.GetGameTimer()
52@ = 3

:SWEET4_19239
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  52@ == 3
goto_if_false @SWEET4_19341
if 
  71@ > 1000
goto_if_false @SWEET4_19341
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_19341
389@ = 45
59@ = Clock.GetGameTimer()
52@ = 4

:SWEET4_19341
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  not Char.IsDead(408@)
goto_if_false @SWEET4_19453
if 
  71@ > 1000
goto_if_false @SWEET4_19453
410@ = Char.GetScriptTaskStatus(408@, 1541)
if or
  is_int_lvar_equal_to_constant 410@ == 7
  52@ == 4
goto_if_false @SWEET4_19453
Char.PerformSequence(408@, 117@)
59@ = Clock.GetGameTimer()
$6664 = 4

:SWEET4_19453
if 
  $6664 == 4
goto_if_false @SWEET4_19570
if 
  not Char.IsDead(394@)
goto_if_false @SWEET4_19570
396@ = Char.GetScriptTaskStatus(394@, 1541)
if or
  is_int_lvar_equal_to_constant 396@ == 7
  390@ == 0
goto_if_false @SWEET4_19570
Char.PerformSequence(394@, 117@)
wait 100
Char.PerformSequence($stattreadstamina_ctr, 117@)
59@ = Clock.GetGameTimer()
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1500, Fade.Out)
$6664 = 5

:SWEET4_19570
if 
  $6664 == 5
goto_if_false @SWEET4_19837
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 1000
goto_if_false @SWEET4_19837

:SWEET4_19628
if 
  Camera.GetFadingStatus
goto_if_false @SWEET4_19652
wait 0
goto @SWEET4_19628

:SWEET4_19652
Task.PlayAnim($stattreadstamina_ctr, "GDB_CAR2_PLY", "GHETTO_DB", 4.0, False, False, False, False, 1)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET4_19740
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2511.0, -1671.0, 12.5)
goto @SWEET4_19760

:SWEET4_19740
Char.SetCoordinates($stattreadstamina_ctr, 2511.0, -1671.0, 12.5)

:SWEET4_19760
Task.PlayAnim($stattreadstamina_ctr, "GDB_CAR2_PLY", "GHETTO_DB", 4.0, False, False, False, False, 1)
Char.SetHeading($stattreadstamina_ctr, 223.0)
Char.RemoveElegantly(408@)
Char.RemoveElegantly(394@)
59@ = Clock.GetGameTimer()
$6664 = 7

:SWEET4_19837
if 
  $6664 == 7
goto_if_false @SWEET4_19980
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 100
goto_if_false @SWEET4_19980
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_19980
Char.Delete(394@)
Char.Delete(394@)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.DoFade(2000, Fade.In)

:SWEET4_19942
if 
  Camera.GetFadingStatus
goto_if_false @SWEET4_19966
wait 0
goto @SWEET4_19942

:SWEET4_19966
goto @SWEET4_23785
$6664 = 8

:SWEET4_19980
if and
  $6641 > 2
  8 > $6641
goto_if_false @SWEET4_22023
if 
  $6663 == 0
goto_if_false @SWEET4_20710
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(543@)
goto_if_false @SWEET4_20710
if and
  not Char.IsInCar($stattreadstamina_ctr, 543@)
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @SWEET4_20710
Car.CloseAllDoors(543@)
if 
  51@ == 0
goto_if_false @SWEET4_20129
96@ = Sequence.Open()
Task.ShuffleToNextCarSeat(-1, 543@)
Task.CarDriveWander(-1, 543@, 50.0, DrivingMode.AvoidCars)
Sequence.Close(96@)
51@ = 1

:SWEET4_20129
46@ = 0
79@ = 15000
544@ = Blip.AddForCar(543@)
Blip.SetAsFriendly(544@, True)
if 
  $6641 == 3
goto_if_false @SWEET4_20182
Blip.Remove(57@)

:SWEET4_20182
if 
  $6641 == 5
goto_if_false @SWEET4_20645
Hud.ClearCounter($6677)
if 
  34@ == 1
goto_if_false @SWEET4_20315
if 
  $6644 == 0
goto_if_false @SWEET4_20246
Blip.Remove(433@)

:SWEET4_20246
if 
  $6645 == 0
goto_if_false @SWEET4_20269
Blip.Remove(434@)

:SWEET4_20269
if 
  $6646 == 0
goto_if_false @SWEET4_20292
Blip.Remove(435@)

:SWEET4_20292
if 
  $6647 == 0
goto_if_false @SWEET4_20315
Blip.Remove(436@)

:SWEET4_20315
if 
  34@ == 2
goto_if_false @SWEET4_20425
if 
  $6648 == 0
goto_if_false @SWEET4_20356
Blip.Remove(437@)

:SWEET4_20356
if 
  $6649 == 0
goto_if_false @SWEET4_20379
Blip.Remove(438@)

:SWEET4_20379
if 
  $6650 == 0
goto_if_false @SWEET4_20402
Blip.Remove(439@)

:SWEET4_20402
if 
  $6651 == 0
goto_if_false @SWEET4_20425
Blip.Remove(440@)

:SWEET4_20425
if 
  34@ == 3
goto_if_false @SWEET4_20535
if 
  $6652 == 0
goto_if_false @SWEET4_20466
Blip.Remove(441@)

:SWEET4_20466
if 
  $6653 == 0
goto_if_false @SWEET4_20489
Blip.Remove(442@)

:SWEET4_20489
if 
  $6654 == 0
goto_if_false @SWEET4_20512
Blip.Remove(443@)

:SWEET4_20512
if 
  $6655 == 0
goto_if_false @SWEET4_20535
Blip.Remove(444@)

:SWEET4_20535
if 
  34@ == 4
goto_if_false @SWEET4_20645
if 
  $6656 == 0
goto_if_false @SWEET4_20576
Blip.Remove(445@)

:SWEET4_20576
if 
  $6657 == 0
goto_if_false @SWEET4_20599
Blip.Remove(446@)

:SWEET4_20599
if 
  $sw4_spray_marker == 0
goto_if_false @SWEET4_20622
Blip.Remove(447@)

:SWEET4_20622
if 
  $sw4_blipped == 0
goto_if_false @SWEET4_20645
Blip.Remove(448@)

:SWEET4_20645
if 
  $6641 == 6
goto_if_false @SWEET4_20668
Blip.Remove($6662)

:SWEET4_20668
if 
  $6641 == 7
goto_if_false @SWEET4_20691
Blip.Remove(58@)

:SWEET4_20691
Car.LockDoors(543@, CarLock.Unlocked)
61@ = Clock.GetGameTimer()
$6663 = 1

:SWEET4_20710
if 
  $6663 == 1
goto_if_false @SWEET4_22023
if 
  78@ >= 0
goto_if_false @SWEET4_21067
67@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 73@ = 67@
sub_int_lvar_from_int_lvar 73@ -= 61@
79@ = 10000
sub_int_lvar_from_int_lvar 79@ -= 73@
set_lvar_int_to_lvar_int 78@ = 79@
78@ /= 1000
if 
  46@ == 0
goto_if_false @SWEET4_20838
59@ = Clock.GetGameTimer()
44@ = Math.RandomIntInRange(0, 2)
46@ = 1

:SWEET4_20838
if 
  46@ == 1
goto_if_false @SWEET4_21067
65@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 71@ = 65@
sub_int_lvar_from_int_lvar 71@ -= 59@
if 
  71@ > 200
goto_if_false @SWEET4_21067
if 
  44@ == 0
goto_if_false @SWEET4_20953
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_20953
389@ = 26
44@ = 5

:SWEET4_20953
if 
  44@ == 1
goto_if_false @SWEET4_21010
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_21010
389@ = 27
44@ = 5

:SWEET4_21010
if 
  44@ == 2
goto_if_false @SWEET4_21067
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_21067
389@ = 28
44@ = 5

:SWEET4_21067
if and
  100 > 79@
  79@ > 0
goto_if_false @SWEET4_21135
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 543@, 15.0, 15.0, 15.0, False)
goto_if_false @SWEET4_21135
Car.LockDoors(543@, CarLock.Locked)

:SWEET4_21135
if 
  0 > 78@
goto_if_false @SWEET4_21160
78@ = 0

:SWEET4_21160
if 
  78@ == 0
goto_if_false @SWEET4_21297
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 543@, 15.0, 15.0, 15.0, False)
goto_if_false @SWEET4_21297
if 
  not Char.IsDead(394@)
goto_if_false @SWEET4_21297
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_21297
Car.LockDoors(543@, CarLock.Locked)
Char.PerformSequence(394@, 96@)
Text.ClearPrints
389@ = 29
61@ = Clock.GetGameTimer()
Blip.Remove(544@)
$6641 = 666

:SWEET4_21297
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(543@)
goto_if_false @SWEET4_22023
if 
  Char.IsInCar($stattreadstamina_ctr, 543@)
goto_if_false @SWEET4_22023
46@ = 0
Blip.Remove(544@)
if 
  $6641 == 3
goto_if_false @SWEET4_21381
57@ = Blip.AddForCoord(54@, 55@, 56@)

:SWEET4_21381
if 
  $6641 == 5
goto_if_false @SWEET4_21902
if 
  84@ == 1
goto_if_false @SWEET4_21438
Hud.ClearCounter($6677)
Hud.DisplayCounterWithString($6677, CounterDisplay.Bar, 'SWE4_08')

:SWEET4_21438
if 
  not Char.IsDead(415@)
goto_if_false @SWEET4_21467
Blip.Remove(433@)
433@ = Blip.AddForChar(415@)

:SWEET4_21467
if 
  not Char.IsDead(416@)
goto_if_false @SWEET4_21496
Blip.Remove(434@)
434@ = Blip.AddForChar(416@)

:SWEET4_21496
if 
  not Char.IsDead(417@)
goto_if_false @SWEET4_21525
Blip.Remove(435@)
435@ = Blip.AddForChar(417@)

:SWEET4_21525
if 
  not Char.IsDead(418@)
goto_if_false @SWEET4_21554
Blip.Remove(436@)
436@ = Blip.AddForChar(418@)

:SWEET4_21554
if 
  not Char.IsDead(419@)
goto_if_false @SWEET4_21583
Blip.Remove(437@)
437@ = Blip.AddForChar(419@)

:SWEET4_21583
if 
  not Char.IsDead(420@)
goto_if_false @SWEET4_21612
Blip.Remove(438@)
438@ = Blip.AddForChar(420@)

:SWEET4_21612
if 
  not Char.IsDead(421@)
goto_if_false @SWEET4_21641
Blip.Remove(439@)
439@ = Blip.AddForChar(421@)

:SWEET4_21641
if 
  not Char.IsDead(422@)
goto_if_false @SWEET4_21670
Blip.Remove(440@)
440@ = Blip.AddForChar(422@)

:SWEET4_21670
if 
  not Char.IsDead(423@)
goto_if_false @SWEET4_21699
Blip.Remove(441@)
441@ = Blip.AddForChar(423@)

:SWEET4_21699
if 
  not Char.IsDead(424@)
goto_if_false @SWEET4_21728
Blip.Remove(442@)
442@ = Blip.AddForChar(424@)

:SWEET4_21728
if 
  not Char.IsDead(425@)
goto_if_false @SWEET4_21757
Blip.Remove(443@)
443@ = Blip.AddForChar(425@)

:SWEET4_21757
if 
  not Char.IsDead(426@)
goto_if_false @SWEET4_21786
Blip.Remove(444@)
444@ = Blip.AddForChar(426@)

:SWEET4_21786
if 
  not Char.IsDead(427@)
goto_if_false @SWEET4_21815
Blip.Remove(445@)
445@ = Blip.AddForChar(427@)

:SWEET4_21815
if 
  not Char.IsDead(428@)
goto_if_false @SWEET4_21844
Blip.Remove(446@)
446@ = Blip.AddForChar(428@)

:SWEET4_21844
if 
  not Char.IsDead(429@)
goto_if_false @SWEET4_21873
Blip.Remove(447@)
447@ = Blip.AddForChar(429@)

:SWEET4_21873
if 
  not Char.IsDead(430@)
goto_if_false @SWEET4_21902
Blip.Remove(448@)
448@ = Blip.AddForChar(430@)

:SWEET4_21902
if 
  $6641 == 6
goto_if_false @SWEET4_21965
$6676 = 18
82@ = Clock.GetGameTimer()
82@ -= 5000
Blip.Remove($6662)
$6662 = Blip.AddForCoord(2075.55, -1831.09, 12.21)

:SWEET4_21965
if 
  $6641 == 7
goto_if_false @SWEET4_22002
Blip.Remove(58@)
58@ = Blip.AddForCoord(89@, 90@, 91@)

:SWEET4_22002
Text.ClearPrints
78@ = 1
$sw4_health_display = Clock.GetGameTimer()
$6663 = 0

:SWEET4_22023
if 
  $6641 == 666
goto_if_false @SWEET4_22158
67@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 73@ = 67@
sub_int_lvar_from_int_lvar 73@ -= 61@
if 
  73@ > 1000
goto_if_false @SWEET4_22158
if and
  not Char.IsDead(394@)
  not Car.IsDead(543@)
goto_if_false @SWEET4_22158
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_22158
Task.CarDriveWander(394@, 543@, 50.0, DrivingMode.AvoidCars)
389@ = 32
$6641 = 667

:SWEET4_22158
if 
  $6641 == 667
goto_if_false @SWEET4_22257
if 
  not Car.IsDead(543@)
goto_if_false @SWEET4_22257
if or
  not Car.IsOnScreen(543@)
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 543@, 50.0, 50.0, 50.0, False)
goto_if_false @SWEET4_22257
Text.PrintNow('SWE4_05', 5000, 1)
goto @SWEET4_23767

:SWEET4_22257
if 
  $6663 == 0
goto_if_false @SWEET4_23760
if 
  $6641 == 3
goto_if_false @SWEET4_22691
if 
  $6676 == -1
goto_if_false @SWEET4_22398
if 
  390@ == 0
goto_if_false @SWEET4_22344
Text.Print('SWE4_01', 100, 1)

:SWEET4_22344
$sw4_health = Clock.GetGameTimer()
set_var_int_to_var_int $sw5_target = $sw4_health
sub_int_var_from_int_var $sw5_target -= $sw4_health_display
if 
  $sw5_target > 3000
goto_if_false @SWEET4_22398
Text.ClearPrints
$6676 += 1
$sw4_health_display = Clock.GetGameTimer()

:SWEET4_22398
if 
  $6676 == 0
goto_if_false @SWEET4_22448
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_22448
389@ = 1

:SWEET4_22448
if 
  $6676 == 1
goto_if_false @SWEET4_22498
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_22498
389@ = 2

:SWEET4_22498
if 
  $6676 == 2
goto_if_false @SWEET4_22548
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_22548
389@ = 5

:SWEET4_22548
if 
  $6676 == 6
goto_if_false @SWEET4_22598
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_22598
389@ = 9

:SWEET4_22598
if 
  $6676 == 7
goto_if_false @SWEET4_22648
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_22648
389@ = 10

:SWEET4_22648
if 
  $6676 == 8
goto_if_false @SWEET4_22691
if 
  390@ == 0
goto_if_false @SWEET4_22691
389@ = 11

:SWEET4_22691
if 
  $6641 == 4
goto_if_false @SWEET4_23067
if 
  $6676 == 9
goto_if_false @SWEET4_22759
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_22759
389@ = 12

:SWEET4_22759
if 
  $6676 == 10
goto_if_false @SWEET4_22809
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_22809
389@ = 13

:SWEET4_22809
if 
  $6676 == 11
goto_if_false @SWEET4_22859
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_22859
389@ = 14

:SWEET4_22859
if 
  $6676 == 12
goto_if_false @SWEET4_22909
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_22909
389@ = 15

:SWEET4_22909
if 
  $6676 == 13
goto_if_false @SWEET4_23067
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_23067
389@ = 16
if 
  not Char.IsDead(417@)
goto_if_false @SWEET4_23011
Task.PlayAnim(417@, "GSIGN3", "GHANDS", 4.0, False, False, False, False, 0)

:SWEET4_23011
if 
  not Char.IsDead(418@)
goto_if_false @SWEET4_23067
Task.PlayAnim(418@, "DRNKBR_PRTL", "GANGS", 4.0, False, False, False, False, 0)

:SWEET4_23067
if 
  $6641 == 6
goto_if_false @SWEET4_23445
if 
  49@ == 0
goto_if_false @SWEET4_23299
if 
  $6676 == 14
goto_if_false @SWEET4_23188
Text.Print('SWE4_12', 100, 1)
$sw4_health = Clock.GetGameTimer()
set_var_int_to_var_int $sw5_target = $sw4_health
sub_int_var_from_int_var $sw5_target -= $sw4_health_display
if 
  $sw5_target > 4000
goto_if_false @SWEET4_23188
$6676 += 1
$sw4_health_display = Clock.GetGameTimer()

:SWEET4_23188
if 
  $6676 == 15
goto_if_false @SWEET4_23292
Text.Print('SWE4_03', 100, 1)
$sw4_health = Clock.GetGameTimer()
set_var_int_to_var_int $sw5_target = $sw4_health
sub_int_var_from_int_var $sw5_target -= $sw4_health_display
if 
  $sw5_target > 4000
goto_if_false @SWEET4_23292
82@ = Clock.GetGameTimer()
$6676 += 1
$6676 += 1
$6676 += 1
$sw4_health_display = Clock.GetGameTimer()

:SWEET4_23292
goto @SWEET4_23445

:SWEET4_23299
if 
  $6676 == 14
goto_if_false @SWEET4_23349
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_23349
389@ = 55

:SWEET4_23349
if 
  $6676 == 15
goto_if_false @SWEET4_23399
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_23399
389@ = 56

:SWEET4_23399
if 
  $6676 == 16
goto_if_false @SWEET4_23445
Text.Print('SWE4_03', 4000, 1)
$6676 += 1
$sw4_health_display = Clock.GetGameTimer()

:SWEET4_23445
if and
  $6641 == 7
  43@ == 4
goto_if_false @SWEET4_23760
$sw4_health = Clock.GetGameTimer()
set_var_int_to_var_int $sw5_target = $sw4_health
sub_int_var_from_int_var $sw5_target -= $sw4_health_display
if 
  $sw5_target > 6000
goto_if_false @SWEET4_23560
if 
  $6676 == 18
goto_if_false @SWEET4_23560
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_23560
389@ = 37

:SWEET4_23560
if 
  $6676 == 19
goto_if_false @SWEET4_23610
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_23610
389@ = 38

:SWEET4_23610
if 
  $6676 == 20
goto_if_false @SWEET4_23660
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_23660
389@ = 39

:SWEET4_23660
if 
  $6676 == 21
goto_if_false @SWEET4_23710
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_23710
389@ = 40

:SWEET4_23710
if 
  $6676 == 22
goto_if_false @SWEET4_23760
if and
  390@ == 0
  389@ == 0
goto_if_false @SWEET4_23760
389@ = 41

:SWEET4_23760
goto @SWEET4_7599

:SWEET4_23767
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:SWEET4_23785
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player1)
$flag_crash_mission_counter += 1
Stat.RegisterMissionPassed('SWEET_4')
Stat.PlayerMadeProgress(1)
Player.AddScore($statbike_temp, 500)
Stat.AwardPlayerMissionRespect(6)
Text.PrintWithNumberBig('M_PASSS', 500, 5000, TextStyle.Middle)
Audio.PlayMissionPassedTune(1)
start_new_script @RYDER 
Blip.Remove($cesar_contact_blip)
$cesar_contact_blip = Blip.AddSpriteForContactPoint($smokeY, $smokeZ, $strapX, $cesar_blip_icon)
Player.ClearWantedLevel($statbike_temp)
return 

:SWEET4_23887
gosub @SWEET4_3259
gosub @SWEET4_3024
Char.RemoveElegantly(408@)
Char.RemoveElegantly(401@)
Char.RemoveElegantly(394@)
Streaming.UnloadSpecialCharacter(10)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(103)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(412)
Streaming.MarkModelAsNoLongerNeeded(365)
Streaming.RemoveAnimation("GHANDS")
Streaming.RemoveAnimation("GANGS")
Blip.Remove(544@)
Blip.Remove(57@)
Blip.Remove(58@)
Blip.Remove(433@)
Blip.Remove(434@)
Blip.Remove(435@)
Blip.Remove(436@)
Blip.Remove(437@)
Blip.Remove(438@)
Blip.Remove(439@)
Blip.Remove(440@)
Blip.Remove(441@)
Blip.Remove(442@)
Blip.Remove(443@)
Blip.Remove(444@)
Blip.Remove(445@)
Blip.Remove(446@)
Blip.Remove(447@)
Blip.Remove(448@)
Blip.Remove($flag_ryder_mission_counter)
Blip.Remove($6662)
$flag_ryder_mission_counter = Blip.AddShortRangeSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
Game.SetFreeResprays(False)
Game.SetWantedMultiplier(1.0)
Game.SetMaxWantedLevel(53@)
Game.SetCreateRandomCops(True)
Game.SwitchCopsOnBikes(True)
CarGenerator.Switch($gen_car12, 101)
CarGenerator.DontSuppressCarModel(412)
Streaming.RemoveAnimation("GHETTO_DB")
Hud.ClearCounter($6677)
Audio.SetMusicDoesFade(True)
Game.SetCreateRandomGangMembers(True)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

:SWEET4_24180
if 
  not Char.IsDead(194@)
goto_if_false @SWEET4_24210
86@, 87@, 88@ = Char.GetCoordinates(194@)

:SWEET4_24210
195@ = -1
199@ = 99999.9
39@ = 0

:SWEET4_24234
if 
  18 > 39@
goto_if_false @SWEET4_24380
if 
  not Char.IsDead(415@(39@,18i))
goto_if_false @SWEET4_24366
451@(39@,18f), 469@(39@,18f), 487@(39@,18f) = Char.GetCoordinates(415@(39@,18i))
200@ = Math.GetDistanceBetweenCoords2D(86@, 87@, 451@(39@,18f), 469@(39@,18f))
if 
  is_float_lvar_greater_than_float_lvar 199@ > 200@
goto_if_false @SWEET4_24366
set_lvar_float_to_lvar_float 199@ = 200@
set_lvar_int_to_lvar_int 195@ = 415@(39@,18i)

:SWEET4_24366
39@ += 1
goto @SWEET4_24234

:SWEET4_24380
if 
  195@ >= 0
goto_if_false @SWEET4_24464
if and
  not Char.IsDead(195@)
  not Char.IsDead(194@)
goto_if_false @SWEET4_24464
Task.DriveBy(194@, 195@, -1, 0.0, 0.0, 0.0, 40.0, 41@, 40@, 99)
Char.SetCurrentWeapon(194@, WeaponType.Tec9)

:SWEET4_24464
62@ = Clock.GetGameTimer()
return 

:SWEET4_24471
if and
  389@ <= 11
  17 <= 389@
goto_if_false @SWEET4_24503
326@ = 0

:SWEET4_24503
if and
  389@ <= 41
  46 <= 389@
goto_if_false @SWEET4_24535
326@ = 0

:SWEET4_24535
if or
  389@ == 12
  389@ == 14
  389@ == 16
  389@ == 42
  389@ == 43
goto_if_false @SWEET4_24589
set_lvar_int_to_lvar_int 326@ = 408@

:SWEET4_24589
if or
  389@ == 13
  389@ == 44
goto_if_false @SWEET4_24622
set_lvar_int_to_var_int 326@ = $stattreadstamina_ctr

:SWEET4_24622
if 
  389@ == 15
goto_if_false @SWEET4_24648
set_lvar_int_to_lvar_int 326@ = 401@

:SWEET4_24648
if 
  389@ == 45
goto_if_false @SWEET4_24674
set_lvar_int_to_lvar_int 326@ = 394@

:SWEET4_24674
return 

//-------------Mission 18---------------
// Originally: Sweet's Girl

:HOODS5
script_name 'HOODS5'
gosub @HOODS5_251
if 
  has_deatharrest_been_executed 
goto_if_false @HOODS5_38
gosub @HOODS5_15256

:HOODS5_38
gosub @HOODS5_15329
terminate_this_script 
if 
  127@ == 99
goto_if_false @HOODS5_251
50@ = Pickup.CreateWithAmmo(346, PickupType.Once, 20, 2444.895, -1981.524, 13.933)
49@ = Blip.AddSpriteForCoord(2444.895, -1981.524, 13.933, RadarSprite.Ammugun)
48@ = Blip.AddSpriteForCoord(2444.895, -1981.524, 13.933, RadarSprite.Ammugun)
75@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)
43@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)
37@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)
71@ = Blip.AddForChar(75@)
72@ = Blip.AddForChar(75@)
201@ = Blip.AddForChar(75@)
202@ = Blip.AddForChar(75@)
167@ = Blip.AddForPickup(50@)

:HOODS5_251
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
Player.SetGroupToFollowAlways($statbike_temp, True)
154@ = 14
155@ = 15
156@ = 16
157@ = 17
158@ = 18
161@ = 21
148@ = 0
Char.SetRelationship($stattreadstamina_ctr, RelationshipType.Hate, PedType.Mission1)

:HOODS5_325
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @HOODS5_351
goto @HOODS5_15274

:HOODS5_351
if 
is_ps2_keyboard_key_pressed 68
goto_if_false @HOODS5_454
Char.SetCoordinates($stattreadstamina_ctr, 2769.492, -1967.329, 12.3834)
36@ = 0

:HOODS5_393
if 
  6 > 36@
goto_if_false @HOODS5_454
if 
  not Char.IsDead(37@(36@,6i))
goto_if_false @HOODS5_440
Task.Die(37@(36@,6i))

:HOODS5_440
36@ += 1
goto @HOODS5_393

:HOODS5_454
if 
is_ps2_keyboard_key_pressed 70
goto_if_false @HOODS5_476
127@ = 7

:HOODS5_476
switch_start 127@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @HOODS5_737 {caseNum1} 0 {caseLabel1} @HOODS5_604 {caseNum2} 1 {caseLabel2} @HOODS5_625 {caseNum3} 2 {caseLabel3} @HOODS5_639 {caseNum4} 3 {caseLabel4} @HOODS5_653 {caseNum5} 4 {caseLabel5} @HOODS5_667 {caseNum6} 5 {caseLabel6} @HOODS5_681 {caseNum7} 6 {caseLabel7} @HOODS5_695
switch_continued 7 {caseLabel1} @HOODS5_709 {caseNum2} 8 {caseLabel2} @HOODS5_723 {caseNum3} -1 {caseLabel3} @HOODS5_737 {caseNum4} -1 {caseLabel4} @HOODS5_737 {caseNum5} -1 {caseLabel5} @HOODS5_737 {caseNum6} -1 {caseLabel6} @HOODS5_737 {caseNum7} -1 {caseLabel7} @HOODS5_737 {caseNum8} -1 {caseLabel8} @HOODS5_737 {caseNum9} -1 {caseLabel9} @HOODS5_737

:HOODS5_604
gosub @HOODS5_918
127@ = 1
goto @HOODS5_737

:HOODS5_625
gosub @HOODS5_1302
goto @HOODS5_737

:HOODS5_639
gosub @HOODS5_3513
goto @HOODS5_737

:HOODS5_653
gosub @HOODS5_4668
goto @HOODS5_737

:HOODS5_667
gosub @HOODS5_5153
goto @HOODS5_737

:HOODS5_681
gosub @HOODS5_5483
goto @HOODS5_737

:HOODS5_695
gosub @HOODS5_7802
goto @HOODS5_737

:HOODS5_709
gosub @HOODS5_9684
goto @HOODS5_737

:HOODS5_723
goto @HOODS5_15274
goto @HOODS5_737

:HOODS5_737
gosub @HOODS5_792
gosub @HOODS5_890
gosub @HOODS5_13224
if 
  126@ == 1
goto_if_false @HOODS5_783
goto @HOODS5_15256

:HOODS5_783
goto @HOODS5_325
return 

:HOODS5_792
if 
  125@ == 1
goto_if_false @HOODS5_888
if 
  Char.IsDead(75@)
goto_if_false @HOODS5_849
126@ = 1
Text.Print('SW5_L', 4000, 1)

:HOODS5_849
if 
  Char.IsDead(43@)
goto_if_false @HOODS5_888
126@ = 1
Text.Print('SW5_M', 4000, 1)

:HOODS5_888
return 

:HOODS5_890
if 
  Pickup.HasBeenCollected($LA_hub_activity)
goto_if_false @HOODS5_916
Blip.Remove(49@)
Blip.Remove(167@)

:HOODS5_916
return 

:HOODS5_918
World.ClearArea($ryder_carX, $ryder_carY, $ryder_carZ, 5.0, True)
CarGenerator.Switch($gen_car12, 0)
Streaming.RequestModel(330)
Streaming.RequestModel(12)
Streaming.RequestModel(372)
Streaming.RequestModel(405)
Streaming.RequestModel(346)
Streaming.RequestModel(492)
Streaming.RequestModel(105)
Streaming.RequestModel(106)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.LoadAllModelsNow

:HOODS5_995
if or
  not Streaming.HasModelLoaded(330)
  not Streaming.HasModelLoaded(12)
  not Streaming.HasModelLoaded(372)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(405)
goto_if_false @HOODS5_1041
wait 0
goto @HOODS5_995

:HOODS5_1041
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(105)
  not Streaming.HasModelLoaded(106)
  not Streaming.HasModelLoaded(492)
goto_if_false @HOODS5_1080
wait 0
goto @HOODS5_1041

:HOODS5_1080
Streaming.RequestAnimation("SWEET")
Streaming.RequestAnimation("GANGS")

:HOODS5_1098
if or
  not Streaming.HasAnimationLoaded("SWEET")
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @HOODS5_1138
wait 0
goto @HOODS5_1098

:HOODS5_1138
Streaming.RequestCarRecording(153)
Streaming.RequestCarRecording(154)

:HOODS5_1148
if or
  not Streaming.HasCarRecordingBeenLoaded(153)
  not Streaming.HasCarRecordingBeenLoaded(154)
goto_if_false @HOODS5_1180
wait 0
goto @HOODS5_1148

:HOODS5_1180
99@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
100@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
47@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission3, PedType.Mission1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Mission3)
DecisionMakerChar.ClearEventResponse(47@, 12)
DecisionMakerChar.ClearEventResponse(47@, 9)
DecisionMakerChar.ClearEventResponse(47@, 31)
$6679 = 0
$6680 = 0
$sw5_sweet_health = 0
$SWEET6_view_debug = 0
$6683 = 0
$6684 = 0
198@ = 99999.0
199@ = 99999.0
return 

:HOODS5_1302
if 
  148@ > 1
goto_if_false @HOODS5_1379
if 
  166@ == 0
goto_if_false @HOODS5_1379
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @HOODS5_1379
148@ = 7
147@ = 1
355@ = 5
35@ = 0

:HOODS5_1379
if 
  148@ == 0
goto_if_false @HOODS5_1786
Text.LoadMissionText('SWEET5')
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Streaming.SetAreaVisible(1)
Cutscene.Load('SWEET5A')

:HOODS5_1437
if 
  not Cutscene.HasLoaded
goto_if_false @HOODS5_1461
wait 0
goto @HOODS5_1437

:HOODS5_1461
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:HOODS5_1470
if 
  not Cutscene.HasFinished
goto_if_false @HOODS5_1494
wait 0
goto @HOODS5_1470

:HOODS5_1494
Camera.DoFade(0, Fade.Out)

:HOODS5_1500
if 
  Camera.GetFadingStatus
goto_if_false @HOODS5_1524
wait 0
goto @HOODS5_1500

:HOODS5_1524
Cutscene.Clear
Streaming.SetAreaVisible(0)
48@ = Blip.AddForCoord(2775.793, -1942.909, 15.6576)
Blip.SetCoordAppearance(48@, 2)
49@ = Blip.AddSpriteForCoord(2444.895, -1981.524, 13.933, RadarSprite.EmmetGun)
Pickup.Remove($LA_hub_activity)
$LA_hub_activity = Pickup.CreateWithAmmo(346, PickupType.OnStreetSlow, 16, 2447.773, -1975.663, 13.0)
167@ = Blip.AddForPickup($LA_hub_activity)
Blip.ChangeDisplay(167@, BlipDisplay.MarkerOnly)
Streaming.RequestCollision(2770.116, -1915.896)
Char.SetCoordinates($stattreadstamina_ctr, 2770.116, -1915.896, 11.651)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Streaming.LoadScene(2770.116, -1915.896, 11.651)
Camera.SetFixedPosition(2770.897, -1915.951, 12.6746, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2770.337, -1916.334, 13.4091, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.DoFade(1500, Fade.In)
352@ = 29
148@ = 1
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 2000

:HOODS5_1786
if 
  148@ == 1
goto_if_false @HOODS5_1860
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_1860
Task.UseMobilePhone($stattreadstamina_ctr, True)
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 2200
355@ = 3
148@ = 20

:HOODS5_1860
if 
  148@ == 20
goto_if_false @HOODS5_2062
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_2062
if 
  352@ == 0
goto_if_false @HOODS5_2062
75@ = Char.Create(PedType.Mission3, 290, 2752.341, -1948.867, 16.3125)
105@ = Car.Create(492, 2745.545, -1942.74, 12.5394)
Car.SetHeading(105@, 90.0)
Char.SetHeading(75@, 0.0)
43@ = Char.Create(PedType.Mission3, 12, 2751.282, -1948.867, 16.3125)
Char.SetHeading(43@, 0.0)
Char.SetDecisionMaker(43@, 99@)
set_lvar_int_to_lvar_int 399@ = 75@
set_lvar_int_to_lvar_int 400@ = 43@
352@ = 1
354@ = 7
148@ = 2

:HOODS5_2062
if 
  148@ == 2
goto_if_false @HOODS5_2469
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_2469
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_2150
68@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.UseMobilePhone(-1, True)
Sequence.Close(68@)
Char.PerformSequence(75@, 68@)
Sequence.Clear(68@)

:HOODS5_2150
if 
  not Char.IsDead(43@)
goto_if_false @HOODS5_2233
68@ = Sequence.Open()
Task.Pause(-1, 500)
Task.PlayAnim(-1, "DUCK_COWER", "PED", 8.0, False, False, False, False, 16000)
Sequence.Close(68@)
Char.PerformSequence(43@, 68@)
Sequence.Clear(68@)

:HOODS5_2233
37@ = Char.Create(PedType.Mission2, 106, 2751.515, -1973.178, 16.3051)
Char.SetAccuracy(37@, 40)
Char.SetDecisionMaker(37@, 99@)
Char.GiveWeapon(37@, WeaponType.Pistol, 99999)
Task.ToggleDuck(37@, True)
68@ = Sequence.Open()
Task.Pause(-1, 2500)
Task.GoStraightToCoord(-1, 2751.791, -1964.08, 16.3125, MoveState.Walk, -2)
Task.Pause(-1, 3500)
Task.GoStraightToCoord(-1, 2751.791, -1954.08, 16.3125, MoveState.Walk, -2)
Sequence.Close(68@)
Char.PerformSequence(37@, 68@)
Sequence.Clear(68@)
38@ = Char.Create(PedType.Mission2, 105, 2753.197, -1973.946, 16.3051)
Char.SetAccuracy(38@, 40)
Char.GiveWeapon(38@, WeaponType.Pistol, 99999)
Task.ToggleDuck(38@, True)
Task.ShootAtCoord(38@, 2753.15, -1949.642, 16.5866, -2)
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 2000
148@ = 3

:HOODS5_2469
if 
  148@ == 3
goto_if_false @HOODS5_2598
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_2598
if 
  352@ == 3
goto_if_false @HOODS5_2598
Camera.SetFixedPosition(2753.784, -1947.466, 16.489, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2753.255, -1948.292, 16.6835, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 4000
148@ = 4

:HOODS5_2598
if 
  148@ == 4
goto_if_false @HOODS5_2658
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_2658
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 4000
148@ = 5

:HOODS5_2658
if 
  148@ == 5
goto_if_false @HOODS5_2791
if 
  352@ == 7
goto_if_false @HOODS5_2791
Camera.SetFixedPosition(2770.897, -1915.951, 12.6746, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2770.337, -1916.334, 13.4091, SwitchType.JumpCut)
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_2768
Char.SetAccuracy(75@, 100)

:HOODS5_2768
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 4500
148@ = 21

:HOODS5_2791
if 
  148@ == 21
goto_if_false @HOODS5_2858
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_2858
Task.UseMobilePhone($stattreadstamina_ctr, False)
148@ = 6
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 1000

:HOODS5_2858
if 
  148@ == 6
goto_if_false @HOODS5_3111
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_3111
Camera.SetFixedPosition(2756.252, -1949.02, 17.513, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2755.402, -1949.518, 17.3404, SwitchType.JumpCut)
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_3088
Char.ClearTasksImmediately(75@)
Task.ToggleDuck(75@, True)
Char.GiveWeapon(75@, WeaponType.Pistol, 500)
Char.SetCurrentWeapon(75@, WeaponType.Pistol)
Char.SetHeading(75@, 180.0)
68@ = Sequence.Open()
Task.PlayAnim(-1, "CROUCH_ROLL_L", "PED", 8.0, False, True, True, False, -1)
if 
  not Char.IsDead(37@)
goto_if_false @HOODS5_3070
Task.ShootAtChar(-1, 37@, -2)

:HOODS5_3070
Sequence.Close(68@)
Char.PerformSequence(75@, 68@)
Sequence.Clear(68@)

:HOODS5_3088
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 2500
148@ = 7

:HOODS5_3111
if 
  148@ == 7
goto_if_false @HOODS5_3171
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_3171
Text.ClearPrints
166@ = 1
Camera.DoFade(1000, Fade.Out)
148@ = 8

:HOODS5_3171
if 
  148@ == 8
goto_if_false @HOODS5_3345
if 
  not Camera.GetFadingStatus
goto_if_false @HOODS5_3345
Streaming.RequestCollision(2518.789, -1677.22)
Char.SetCoordinates($stattreadstamina_ctr, 2518.448, -1677.224, 13.4109)
Char.SetHeading($stattreadstamina_ctr, 90.691)
Streaming.LoadScene(2510.284, -1674.066, 14.5338)
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 300
148@ = 9
$6685 = 100
170@ = Math.RandomIntInRange(2500, 6000)
add_int_lvar_to_int_lvar 170@ += TIMERA
Hud.DisplayCounterWithString($6685, CounterDisplay.Bar, 'SW5_A3')
170@ = Math.RandomIntInRange(2500, 6000)
add_int_lvar_to_int_lvar 170@ += TIMERA

:HOODS5_3345
if 
  148@ == 9
goto_if_false @HOODS5_3511
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_3511
Camera.DoFade(1500, Fade.In)
Char.Delete(75@)
Char.Delete(37@)
Char.Delete(38@)
Char.Delete(43@)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
34@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1833)
Text.Print('SW5_A2', 6000, 1)
Text.Print('SW5_17', 6000, 1)
Player.SetControl($statbike_temp, True)
Player.MakeGangReappear
Hud.SwitchWidescreen(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Game.SetWantedMultiplier(0.2)
147@ = 1
127@ = 2

:HOODS5_3511
return 

:HOODS5_3513
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 170@
goto_if_false @HOODS5_3616
170@ = Math.RandomIntInRange(2500, 6000)
add_int_lvar_to_int_lvar 170@ += TIMERA
171@ = Math.RandomIntInRange(2, 4)
sub_int_lvar_from_int_var $6685 -= 171@
if 
  0 >= $6685
goto_if_false @HOODS5_3616
$6685 = 0
Text.Print('SW5_L', 4000, 1)
125@ = 1

:HOODS5_3616
if 
  97@ == 0
goto_if_false @HOODS5_4349
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2775.793, -1942.909, 15.6576, 100.0, 100.0, 50.0, False)
goto_if_false @HOODS5_4349
Game.SetCreateRandomGangMembers(False)
97@ = 1
Text.Print('SW5_J', 4000, 1)
106@ = 2761.516
112@ = -1972.028
118@ = 12.5459
set_lvar_int_to_constant 140@ = 105
107@ = 2761.599
113@ = -1955.673
119@ = 12.5469
set_lvar_int_to_constant 141@ = 106
108@ = 2768.451
114@ = -1972.605
120@ = 12.3837
set_lvar_int_to_constant 142@ = 105
109@ = 2761.551
115@ = -1980.099
121@ = 12.5478
set_lvar_int_to_constant 143@ = 106
110@ = 2752.159
116@ = -1979.574
122@ = 14.0469
set_lvar_int_to_constant 144@ = 106
111@ = 2768.451
117@ = -1972.605
123@ = 12.3837
set_lvar_int_to_constant 145@ = 105
172@ = Car.Create(492, 2766.923, -1974.348, 12.3783)
Car.SetHeading(172@, 4.0)
36@ = 0

:HOODS5_3971
if 
  5 > 36@
goto_if_false @HOODS5_4165
37@(36@,6i) = Char.Create(PedType.Mission1, 140@(36@,6i), 106@(36@,6f), 112@(36@,6f), 118@(36@,6f))
Char.SetAccuracy(37@(36@,6i), 65)
if or
  36@ == 0
  36@ == 3
goto_if_false @HOODS5_4087
Char.GiveWeapon(37@(36@,6i), WeaponType.Tec9, 99999)
goto @HOODS5_4103

:HOODS5_4087
Char.GiveWeapon(37@(36@,6i), WeaponType.Pistol, 99999)

:HOODS5_4103
Task.ToggleDuck(37@(36@,6i), True)
Task.ShootAtCoord(37@(36@,6i), 2750.957, -1968.016, 17.9291, -2)
Char.SetKindaStayInSamePlace(37@(36@,6i), True)
36@ += 1
goto @HOODS5_3971

:HOODS5_4165
51@ = Blip.AddForChar(37@)
52@ = Blip.AddForChar(38@)
53@ = Blip.AddForChar(39@)
54@ = Blip.AddForChar(40@)
55@ = Blip.AddForChar(41@)
Blip.Remove(48@)
Char.SetDecisionMaker(37@, 47@)
Char.SetDecisionMaker(38@, 47@)
Char.SetDecisionMaker(39@, 47@)
Char.SetDecisionMaker(40@, 47@)
Char.SetDecisionMaker(41@, 47@)
Char.SetIsTargetPriority(37@, True)
Char.SetIsTargetPriority(38@, True)
Char.SetIsTargetPriority(39@, True)
Char.SetIsTargetPriority(40@, True)
Char.SetIsTargetPriority(41@, True)
Path.SwitchRoadsOff(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)
Path.SwitchPedRoadsOff(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)

:HOODS5_4349
if 
  97@ == 1
goto_if_false @HOODS5_4666
gosub @HOODS5_11951
if 
  146@ == 0
goto_if_false @HOODS5_4474
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2782.693, -1921.125, 11.7984, 2746.098, -1993.905, 16.9599, False)
goto_if_false @HOODS5_4474
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HOODS5_4474
146@ = 1
Text.PrintHelp('SW5_19')

:HOODS5_4474
36@ = 0
57@ = 0

:HOODS5_4488
if 
  5 > 36@
goto_if_false @HOODS5_4587
if 
  Char.IsDead(37@(36@,6i))
goto_if_false @HOODS5_4549
Blip.Remove(51@(36@,6i))
57@ += 1
goto @HOODS5_4573

:HOODS5_4549
Char.SetAccuracy(37@(36@,6i), 173@)
Char.SetShootRate(37@(36@,6i), 173@)

:HOODS5_4573
36@ += 1
goto @HOODS5_4488

:HOODS5_4587
set_lvar_int_to_lvar_int 173@ = 57@
173@ *= 6
173@ += 60
if 
  57@ == 5
goto_if_false @HOODS5_4666
148@ = 0
130@ = 0
131@ = 0
128@ = 0
127@ = 3
Game.SetScriptLimitToGangSize(0)

:HOODS5_4666
return 

:HOODS5_4668
if 
  148@ == 0
goto_if_false @HOODS5_4709
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 1500
148@ = 1

:HOODS5_4709
if 
  148@ == 1
goto_if_false @HOODS5_4781
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_4781
352@ = 29
Hud.ClearCounter($6685)
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 2500
148@ = 2

:HOODS5_4781
if 
  148@ == 2
goto_if_false @HOODS5_4848
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_4848
352@ = 29
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 2500
148@ = 3

:HOODS5_4848
if 
  148@ == 3
goto_if_false @HOODS5_4943
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_4943
if and
  not Char.IsInAir($stattreadstamina_ctr)
  not Char.IsGettingInToACar($stattreadstamina_ctr)
goto_if_false @HOODS5_4943
174@ = 1
Task.UseMobilePhone($stattreadstamina_ctr, True)
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 2500
148@ = 4

:HOODS5_4943
if 
  148@ == 4
goto_if_false @HOODS5_5001
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_5001
148@ = 5
352@ = 8
354@ = 2

:HOODS5_5001
if 
  148@ == 5
goto_if_false @HOODS5_5151
if 
  352@ == 0
goto_if_false @HOODS5_5151
Task.UseMobilePhone($stattreadstamina_ctr, False)
48@ = Blip.AddForCoord(2764.272, -1979.494, 12.5394)
Path.SwitchRoadsBackToOriginal(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)
Path.SwitchPedRoadsBackToOriginal(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)
Text.Print('SW5_14', 5000, 1)
127@ = 4

:HOODS5_5151
return 

:HOODS5_5153
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2764.272, -1979.494, 12.5394, 4.0, 4.0, 4.0, True)
goto_if_false @HOODS5_5481
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HOODS5_5481
59@ = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  not Car.IsDead(59@)
goto_if_false @HOODS5_5481
60@ = Car.GetMaximumNumberOfPassengers(59@)
if 
  2 > 60@
goto_if_false @HOODS5_5315
if 
  61@ == 0
goto_if_false @HOODS5_5308
Text.PrintNow('SW5_G', 5000, 1)
61@ = 1

:HOODS5_5308
goto @HOODS5_5481

:HOODS5_5315
104@ = Car.GetClass(59@)
102@ = Car.GetModel(59@)
if or
  is_int_lvar_equal_to_constant 104@ == 0
  is_int_lvar_equal_to_constant 104@ == 1
  is_int_lvar_equal_to_constant 104@ == 2
  is_int_lvar_equal_to_constant 104@ == 3
  is_int_lvar_equal_to_constant 102@ == 596
  is_int_lvar_equal_to_constant 102@ == 420
goto_if_false @HOODS5_5465
Player.SetControl($statbike_temp, False)
Task.CarTempAction($stattreadstamina_ctr, 59@, TempAction.HandbrakeStraight, 2000000)
Camera.DoFade(800, Fade.Out)

:HOODS5_5415
if 
  Camera.GetFadingStatus
goto_if_false @HOODS5_5439
wait 0
goto @HOODS5_5415

:HOODS5_5439
127@ = 5
148@ = 0
Blip.Remove(48@)
goto @HOODS5_5481

:HOODS5_5465
Text.PrintNow('SW5_16', 1000, 1)

:HOODS5_5481
return 

:HOODS5_5483
if 
  130@ == 0
goto_if_false @HOODS5_5532
130@ = 1
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HOODS5_5532
131@ = 1

:HOODS5_5532
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HOODS5_5648
if 
  131@ == 0
goto_if_false @HOODS5_5641
if and
  not Char.IsDead(75@)
  not Char.IsDead(43@)
goto_if_false @HOODS5_5641
if and
  148@ <> 0
  148@ <> 5
goto_if_false @HOODS5_5641
148@ = 4
35@ = 0
131@ = 1
355@ = 5

:HOODS5_5641
goto @HOODS5_5673

:HOODS5_5648
if 
  131@ == 1
goto_if_false @HOODS5_5673
131@ = 0

:HOODS5_5673
if 
  148@ == 5
goto_if_false @HOODS5_5740
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_5740
Camera.DoFade(800, Fade.In)
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 3000
148@ = 1

:HOODS5_5740
if 
  148@ == 0
goto_if_false @HOODS5_6493
Text.ClearPrints
World.ClearAreaOfCars(2746.504, -2001.611, 10.775, 2789.562, -1927.154, 21.633)
Path.SwitchRoadsOff(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)
Path.SwitchPedRoadsOff(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)
Hud.SwitchWidescreen(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
DecisionMakerChar.ClearEventResponse(47@, 36)
DecisionMakerChar.AddEventResponse(47@, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
75@ = Char.Create(PedType.Mission3, 290, 2752.341, -1948.867, 16.3125)
43@ = Char.Create(PedType.Mission3, 12, 2751.282, -1948.867, 16.3125)
set_lvar_int_to_lvar_int 399@ = 75@
set_lvar_int_to_lvar_int 400@ = 43@
Char.SetSuffersCriticalHits(75@, False)
Char.SetSuffersCriticalHits(43@, False)
Char.SetOnlyDamagedByPlayer(75@, False)
Char.SetOnlyDamagedByPlayer(43@, False)
62@ = Car.Create(405, 2766.665, -1901.943, 10.005)
63@ = Car.Create(405, 2772.638, -1903.127, 10.1479)
Car.SetHeading(62@, 180.0)
Car.SetHeading(63@, 180.0)
Car.SetCanGoAgainstTraffic(62@, True)
Car.SetCanGoAgainstTraffic(63@, True)
Car.StartPlayback(62@, 153)
Car.StartPlayback(63@, 154)
65@ = Char.CreateInsideCar(63@, PedType.Mission1, 105)
64@ = Char.CreateInsideCar(62@, PedType.Mission1, 105)
Char.SetDecisionMaker(64@, 47@)
Char.SetDecisionMaker(65@, 47@)
Char.GiveWeapon(64@, WeaponType.Pistol, 99999)
Char.GiveWeapon(65@, WeaponType.Pistol, 99999)
Car.SetPlaybackSpeed(62@, 0.0)
Car.SetPlaybackSpeed(63@, 0.0)
if 
  not Car.IsDead(59@)
goto_if_false @HOODS5_6293
Car.SetCoordinates(59@, 2763.96, -1978.898, 12.5394)
Car.SetHeading(59@, 0.0)
if 
  not Car.IsPassengerSeatFree(59@, SeatIndex.FrontRight)
goto_if_false @HOODS5_6260
175@ = Car.GetCharInPassengerSeat(59@, 0)
Char.Delete(175@)

:HOODS5_6260
if 
  not Car.IsPassengerSeatFree(59@, SeatIndex.RearLeft)
goto_if_false @HOODS5_6293
175@ = Car.GetCharInPassengerSeat(59@, 1)
Char.Delete(175@)

:HOODS5_6293
Camera.SetFixedPosition(2756.231, -1949.667, 18.0543, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2755.751, -1950.535, 17.9303, SwitchType.JumpCut)
Path.FlushRoute
Path.ExtendRoute(2752.402, -1974.077, 16.3125)
Char.SetCoordinates(43@, 2752.312, -1952.896, 16.3051)
Char.SetHeading(43@, 180.0)
Task.FollowPointRoute(43@, 6, RouteMode.Once)
Char.SetCoordinates(75@, 2752.395, -1950.699, 16.3125)
Char.SetHeading(75@, 180.0)
68@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(68@)
Char.PerformSequence(75@, 68@)
Sequence.Clear(68@)
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 500
148@ = 5

:HOODS5_6493
if 
  148@ == 1
goto_if_false @HOODS5_6771
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_6771
Camera.SetFixedPosition(2764.601, -1986.696, 15.021, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2764.32, -1985.751, 14.8511, SwitchType.JumpCut)
if 
  not Car.IsDead(59@)
goto_if_false @HOODS5_6715
if 
  not Char.IsDead(43@)
goto_if_false @HOODS5_6656
Char.SetCoordinates(43@, 2760.358, -1979.501, 12.5394)
Char.SetHeading(43@, 330.0)
Task.EnterCarAsPassenger(43@, 59@, 5000, 1)

:HOODS5_6656
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_6715
Char.SetCoordinates(75@, 2767.224, -1981.524, 12.381)
Char.SetHeading(75@, 0.0)
Task.EnterCarAsPassenger(75@, 59@, 5000, 0)

:HOODS5_6715
if 
  not Car.IsDead(63@)
goto_if_false @HOODS5_6748
Car.SetPlaybackSpeed(63@, 1.0)
66@ = 1

:HOODS5_6748
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 500
148@ = 2

:HOODS5_6771
if 
  148@ == 2
goto_if_false @HOODS5_6864
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_6864
if 
  not Car.IsDead(62@)
goto_if_false @HOODS5_6841
Car.SetPlaybackSpeed(62@, 1.0)
66@ = 1

:HOODS5_6841
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 2000
148@ = 3

:HOODS5_6864
if 
  148@ == 3
goto_if_false @HOODS5_6931
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_6931
352@ = 12
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 2000
148@ = 4

:HOODS5_6931
if 
  148@ == 4
goto_if_false @HOODS5_7800
if 
  176@ == 0
goto_if_false @HOODS5_7041
if 
  not Car.IsDead(62@)
goto_if_false @HOODS5_7041
if 
  not Car.IsPlaybackGoingOn(62@)
goto_if_false @HOODS5_7041
Car.SetMission(62@, CarMission.BlockPlayerClose)
Car.SetCruiseSpeed(62@, 60.0)
Car.SetHealth(62@, 2500)
Car.SetAirResistanceMultiplier(62@, 0.1)
176@ = 1

:HOODS5_7041
if 
  177@ == 0
goto_if_false @HOODS5_7133
if 
  not Car.IsDead(63@)
goto_if_false @HOODS5_7133
if 
  not Car.IsPlaybackGoingOn(63@)
goto_if_false @HOODS5_7133
Car.SetMission(63@, CarMission.BlockPlayerClose)
Car.SetCruiseSpeed(63@, 60.0)
Car.SetHealth(63@, 2500)
Car.SetAirResistanceMultiplier(63@, 0.1)
177@ = 1

:HOODS5_7133
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_7800
if 
  352@ == 0
goto_if_false @HOODS5_7800
66@ = 1
Path.SwitchRoadsBackToOriginal(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)
Path.SwitchPedRoadsBackToOriginal(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HOODS5_7275
59@ = Char.GetCarIsUsing($stattreadstamina_ctr)
Car.SetAirResistanceMultiplier(59@, 5.0)

:HOODS5_7275
if 
  131@ == 1
goto_if_false @HOODS5_7367
if 
  not Car.IsDead(62@)
goto_if_false @HOODS5_7330
if 
  Car.IsPlaybackGoingOn(62@)
goto_if_false @HOODS5_7330
Car.SkipToEndAndStopPlayback(62@)

:HOODS5_7330
if 
  not Car.IsDead(63@)
goto_if_false @HOODS5_7367
if 
  Car.IsPlaybackGoingOn(63@)
goto_if_false @HOODS5_7367
Car.SkipToEndAndStopPlayback(63@)

:HOODS5_7367
if and
  not Car.IsDead(62@)
  not Car.IsDead(63@)
goto_if_false @HOODS5_7458
Car.SetMission(62@, CarMission.BlockPlayerClose)
Car.SetMission(63@, CarMission.RamPlayerClose)
Car.SetCruiseSpeed(62@, 60.0)
Car.SetCruiseSpeed(63@, 60.0)
Car.SetHealth(62@, 2500)
Car.SetHealth(63@, 2500)
Car.SetAirResistanceMultiplier(62@, 0.1)
Car.SetAirResistanceMultiplier(63@, 0.1)

:HOODS5_7458
73@ = Blip.AddForCoord(2509.062, -1672.527, 12.386)
Blip.SetAsFriendly(73@, True)
if and
  not Char.IsDead(75@)
  not Car.IsDead(59@)
  not Char.IsDead(43@)
goto_if_false @HOODS5_7619
Group.SetMember($flag_cell_nation, 75@)
Group.SetMember($flag_cell_nation, 43@)
Char.ListenToPlayerGroupCommands(75@, False)
Char.ListenToPlayerGroupCommands(43@, False)
Char.GiveWeapon(75@, WeaponType.Pistol, 9999)
if 
  not Char.IsInCar(75@, 59@)
goto_if_false @HOODS5_7585
Char.ClearTasksImmediately(75@)
Char.WarpIntoCarAsPassenger(75@, 59@, 0)

:HOODS5_7585
if 
  not Char.IsInCar(43@, 59@)
goto_if_false @HOODS5_7619
Char.ClearTasksImmediately(43@)
Char.WarpIntoCarAsPassenger(43@, 59@, 1)

:HOODS5_7619
if and
  not Car.IsDead(63@)
  not Char.IsDead(65@)
goto_if_false @HOODS5_7687
68@ = Sequence.Open()
Task.CarTempAction(-1, 63@, TempAction.Wait, 1500)
Task.CarTempAction(-1, 63@, TempAction.ReverseRight, 1000)
Sequence.Close(68@)
Char.PerformSequence(65@, 68@)
Sequence.Clear(68@)

:HOODS5_7687
if and
  not Car.IsDead(62@)
  not Char.IsDead(64@)
goto_if_false @HOODS5_7721
Task.CarTempAction(64@, 62@, TempAction.Wait, 1500)

:HOODS5_7721
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.ClearPrints
Text.Print('SW5_I', 5000, 1)
127@ = 6
125@ = 1
set_lvar_int_to_lvar_int 153@ = TIMERA
153@ += 3000
164@ = 0
Player.MakeGangReappear

:HOODS5_7800
return 

:HOODS5_7802
if 
  152@ == 0
goto_if_false @HOODS5_7938
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HOODS5_7938
149@ = Char.GetCarIsUsing($stattreadstamina_ctr)
150@ = Car.GetHealth(149@)
if 
  900 > 150@
goto_if_false @HOODS5_7938
if 
  352@ == 0
goto_if_false @HOODS5_7938
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 153@
goto_if_false @HOODS5_7938
352@ = 13
152@ = 1
set_lvar_int_to_lvar_int 153@ = TIMERA
153@ += 6000

:HOODS5_7938
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 153@
goto_if_false @HOODS5_8497
if and
  not Car.IsDead(62@)
  not Car.IsDead(63@)
goto_if_false @HOODS5_8349
if or
  Char.LocateInCarCar3D($stattreadstamina_ctr, 62@, 20.0, 20.0, 10.0, False)
  Char.LocateInCarCar3D($stattreadstamina_ctr, 63@, 20.0, 20.0, 10.0, False)
goto_if_false @HOODS5_8194
151@ = Math.RandomIntInRange(0, 5)
165@ = 0

:HOODS5_8055
if 
  154@(151@,7i) == 0
goto_if_false @HOODS5_8148
151@ += 1
165@ += 1
if 
  151@ > 4
goto_if_false @HOODS5_8116
151@ = 0

:HOODS5_8116
if 
  165@ > 4
goto_if_false @HOODS5_8141
goto @HOODS5_8171

:HOODS5_8141
goto @HOODS5_8055

:HOODS5_8148
set_lvar_int_to_lvar_int 352@ = 154@(151@,7i)
154@(151@,7i) = 0

:HOODS5_8171
set_lvar_int_to_lvar_int 153@ = TIMERA
153@ += 7500
goto @HOODS5_8342

:HOODS5_8194
151@ = Math.RandomIntInRange(0, 1)
165@ = 0

:HOODS5_8210
if 
  161@(151@,3i) == 0
goto_if_false @HOODS5_8303
151@ += 1
165@ += 1
if 
  151@ > 1
goto_if_false @HOODS5_8271
151@ = 0

:HOODS5_8271
if 
  165@ > 2
goto_if_false @HOODS5_8296
goto @HOODS5_8481

:HOODS5_8296
goto @HOODS5_8210

:HOODS5_8303
set_lvar_int_to_lvar_int 352@ = 161@(151@,3i)
161@(151@,3i) = 0
set_lvar_int_to_lvar_int 153@ = TIMERA
153@ += 7500

:HOODS5_8342
goto @HOODS5_8497

:HOODS5_8349
151@ = Math.RandomIntInRange(0, 2)
165@ = 0

:HOODS5_8365
if 
  161@(151@,3i) == 0
goto_if_false @HOODS5_8458
151@ += 1
165@ += 1
if 
  151@ > 1
goto_if_false @HOODS5_8426
151@ = 0

:HOODS5_8426
if 
  165@ > 2
goto_if_false @HOODS5_8451
goto @HOODS5_8481

:HOODS5_8451
goto @HOODS5_8365

:HOODS5_8458
set_lvar_int_to_lvar_int 352@ = 161@(151@,3i)
161@(151@,3i) = 0

:HOODS5_8481
set_lvar_int_to_lvar_int 153@ = TIMERA
153@ += 7500

:HOODS5_8497
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_8712
if 
  not Char.IsGroupMember(75@, $flag_cell_nation)
goto_if_false @HOODS5_8712
if 
  69@ == 0
goto_if_false @HOODS5_8609
69@ = 1
Text.Print('SW5_T', 4000, 1)
if 
  not Blip.DoesExist(71@)
goto_if_false @HOODS5_8604
71@ = Blip.AddForChar(75@)
Blip.SetAsFriendly(71@, True)

:HOODS5_8604
Blip.Remove(73@)

:HOODS5_8609
if and
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 75@, 6.0, 6.0, False)
  69@ == 1
goto_if_false @HOODS5_8712
69@ = 0
Group.SetMember($flag_cell_nation, 75@)
Char.ListenToPlayerGroupCommands(75@, False)
Blip.Remove(71@)
if 
  70@ == 0
goto_if_false @HOODS5_8712
73@ = Blip.AddForCoord(2509.062, -1672.527, 12.386)

:HOODS5_8712
if 
  not Char.IsDead(43@)
goto_if_false @HOODS5_8934
if 
  not Char.IsGroupMember(43@, $flag_cell_nation)
goto_if_false @HOODS5_8934
if 
  70@ == 0
goto_if_false @HOODS5_8824
70@ = 1
Text.Print('SW5_U', 4000, 1)
if 
  not Blip.DoesExist(72@)
goto_if_false @HOODS5_8819
72@ = Blip.AddForChar(43@)
Blip.SetAsFriendly(72@, True)

:HOODS5_8819
Blip.Remove(73@)

:HOODS5_8824
if and
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 43@, 6.0, 6.0, False)
  70@ == 1
goto_if_false @HOODS5_8934
70@ = 0
Group.SetMember($flag_cell_nation, 43@)
Char.ListenToPlayerGroupCommands(43@, False)
Blip.Remove(72@)
if 
  69@ == 0
goto_if_false @HOODS5_8934
73@ = Blip.AddForCoord(2509.062, -1672.527, 12.386)
Blip.SetAsFriendly(73@, True)

:HOODS5_8934
if 
  66@ == 1
goto_if_false @HOODS5_9054
if and
  not Car.IsDead(63@)
  not Char.IsDead(65@)
goto_if_false @HOODS5_9054
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 65@, 50.0, 50.0, 20.0, False)
goto_if_false @HOODS5_9054
85@, 86@, 87@ = Char.GetCoordinates($stattreadstamina_ctr)
91@ = Char.GetHeading($stattreadstamina_ctr)
66@ = 2
set_lvar_int_to_lvar_int 67@ = TIMERA
67@ += 800

:HOODS5_9054
if and
  66@ == 2
  103@ == 0
goto_if_false @HOODS5_9284
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 67@
goto_if_false @HOODS5_9284
88@, 89@, 90@ = Path.GetNthClosestCarNode($x, $y, $z, 2)
if 
  not Camera.IsPointOnScreen(85@, 86@, 87@, 8.0)
goto_if_false @HOODS5_9284
if 
  not Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 88@, 89@, 90@, 10.0, 10.0, 10.0, False)
goto_if_false @HOODS5_9284
if and
  not Car.IsDead(63@)
  not Char.IsDead(65@)
goto_if_false @HOODS5_9284
if 
  not Car.IsUpsidedown(63@)
goto_if_false @HOODS5_9284
if 
  Char.IsInCar(65@, 63@)
goto_if_false @HOODS5_9284
Car.SetCoordinates(63@, 85@, 86@, 87@)
Car.SetHeading(63@, 91@)
Car.SetForwardSpeed(63@, 25.0)
66@ = 1

:HOODS5_9284
if and
  not Char.IsDead(75@)
  not Char.IsDead(43@)
goto_if_false @HOODS5_9682
if 
  103@ == 0
goto_if_false @HOODS5_9464
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2509.062, -1672.527, 12.386, 63.0, 63.0, 60.0, False)
goto_if_false @HOODS5_9464
103@ = 1
if 
  not Car.IsDead(62@)
goto_if_false @HOODS5_9421
Car.SetMission(62@, CarMission.Cruise)
Car.SetCruiseSpeed(62@, 20.0)
Car.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(64@)

:HOODS5_9421
if 
  not Car.IsDead(63@)
goto_if_false @HOODS5_9464
Car.SetMission(63@, CarMission.Cruise)
Car.SetCruiseSpeed(63@, 20.0)
Car.MarkAsNoLongerNeeded(63@)
Char.MarkAsNoLongerNeeded(65@)

:HOODS5_9464
if and
  70@ == 0
  69@ == 0
goto_if_false @HOODS5_9682
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2509.062, -1672.527, 12.386, 4.0, 4.0, 4.0, True)
goto_if_false @HOODS5_9682
if and
  Char.LocateAnyMeans3D(75@, 2509.062, -1672.527, 12.386, 8.0, 8.0, 4.0, False)
  Char.LocateAnyMeans3D(43@, 2509.062, -1672.527, 12.386, 8.0, 8.0, 4.0, False)
goto_if_false @HOODS5_9682
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HOODS5_9668
Player.SetControl($statbike_temp, False)
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)

:HOODS5_9668
127@ = 7
148@ = 0

:HOODS5_9682
return 

:HOODS5_9684
if 
  148@ == 0
goto_if_false @HOODS5_9732
125@ = 0
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 600
148@ = 12

:HOODS5_9732
if 
  148@ == 12
goto_if_false @HOODS5_10395
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_10395
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HOODS5_9801
59@ = Char.GetCarIsUsing($stattreadstamina_ctr)
129@ = Car.GetModel(59@)

:HOODS5_9801
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_9832
Char.SetProofs(75@, True, True, True, True, True)

:HOODS5_9832
if 
  not Char.IsDead(43@)
goto_if_false @HOODS5_9863
Char.SetProofs(43@, True, True, True, True, True)

:HOODS5_9863
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
World.ClearAreaOfCars(2472.102, -1646.181, 19.6421, 2517.383, -1691.232, 9.4098)
World.ClearAreaOfChars(2472.102, -1646.181, 19.6421, 2517.383, -1691.232, 9.4098)
if 
  not Car.IsDead(62@)
goto_if_false @HOODS5_9992
if 
  not Char.IsInCar($stattreadstamina_ctr, 62@)
goto_if_false @HOODS5_9992
Car.Delete(62@)

:HOODS5_9992
if 
  not Car.IsDead(63@)
goto_if_false @HOODS5_10032
if 
  not Char.IsInCar($stattreadstamina_ctr, 63@)
goto_if_false @HOODS5_10032
Car.Delete(63@)

:HOODS5_10032
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HOODS5_10099
if 
  not Car.IsDead(59@)
goto_if_false @HOODS5_10099
Task.LeaveAnyCar($stattreadstamina_ctr)
Car.SetCoordinates(59@, 2507.709, -1672.192, 13.458)
Car.SetHeading(59@, 340.0)

:HOODS5_10099
Camera.SetFixedPosition(2514.24, -1679.268, 14.5054, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2513.649, -1678.483, 14.3221, SwitchType.JumpCut)
if 
  not Char.IsDead(43@)
goto_if_false @HOODS5_10246
$stealth_help_flag = Char.GetCarIsUsing(43@)
if 
  $stealth_help_flag == -1
goto_if_false @HOODS5_10246
Char.SetCoordinates(43@, 2509.821, -1675.815, 12.5469)
Char.SetHeading(43@, 337.0)
Task.GoStraightToCoord(43@, 2512.229, -1672.784, 12.4531, MoveState.Walk, -2)

:HOODS5_10246
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_10342
$stealth_help_flag = Char.GetCarIsUsing(75@)
if 
  $stealth_help_flag == -1
goto_if_false @HOODS5_10342
Char.SetCoordinates(75@, 2508.821, -1675.815, 12.5469)
Char.SetHeading(75@, 337.0)
Task.GoStraightToCoord(75@, 2511.229, -1672.784, 12.4531, MoveState.Walk, -2)

:HOODS5_10342
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HOODS5_10388
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 300
148@ = 10
goto @HOODS5_10395

:HOODS5_10388
148@ = 2

:HOODS5_10395
if 
  148@ == 10
goto_if_false @HOODS5_10502
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_10502
if 
  not Char.IsDead(43@)
goto_if_false @HOODS5_10502
$stealth_help_flag = Char.GetCarIsUsing(43@)
if 
  $stealth_help_flag <> -1
goto_if_false @HOODS5_10479
Task.LeaveAnyCar(43@)

:HOODS5_10479
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 400
148@ = 11

:HOODS5_10502
if 
  148@ == 11
goto_if_false @HOODS5_10609
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_10609
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_10609
$stealth_help_flag = Char.GetCarIsUsing(75@)
if 
  $stealth_help_flag <> -1
goto_if_false @HOODS5_10586
Task.LeaveAnyCar(75@)

:HOODS5_10586
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 2000
148@ = 1

:HOODS5_10609
if 
  148@ == 1
goto_if_false @HOODS5_10653
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_10653
148@ = 2

:HOODS5_10653
if 
  148@ == 2
goto_if_false @HOODS5_11132
if 
  not Car.IsDead(59@)
goto_if_false @HOODS5_10694
Car.SetVisible(59@, False)

:HOODS5_10694
Camera.SetFixedPosition(2509.713, -1671.558, 13.5033, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2510.19, -1672.389, 13.8387, SwitchType.JumpCut)
Char.SetCoordinatesNoOffset($stattreadstamina_ctr, 2509.892, -1672.469, 13.5032)
Char.SetHeading($stattreadstamina_ctr, 270.0)
if and
  not Char.IsDead(75@)
  not Char.IsDead(43@)
goto_if_false @HOODS5_11006
Char.Delete(75@)
75@ = Char.Create(PedType.CivMale, 290, 2752.341, -1948.867, 16.3125)
Char.SetCurrentWeapon(75@, WeaponType.Unarmed)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.RemoveFromGroup(75@)
Char.RemoveFromGroup(43@)
Char.ClearTasksImmediately(75@)
Char.ClearTasksImmediately(43@)
Char.SetCoordinatesNoOffset(75@, 2510.792, -1672.469, 13.5032)
Char.SetCoordinatesNoOffset(43@, 2510.792, -1673.469, 13.5032)
Char.SetHeading(75@, 90.0)
Char.SetHeading(43@, 90.0)
Task.PlayAnimNonInterruptable(75@, "SWEET_ASS_SLAP", "SWEET", 4.0, False, False, False, False, -2)
Task.PlayAnimNonInterruptable(43@, "HO_ASS_SLAPPED", "SWEET", 4.0, False, False, False, False, -2)

:HOODS5_11006
set_lvar_int_to_lvar_int 399@ = 75@
$d6_player_in_tunnel = 1
203@ = 23
227@ = 5
207@ = 100
208@ = 1900
209@ = 4200
210@ = 6000
211@ = 8000
217@ = 23
218@ = 24
219@ = 25
220@ = 26
221@ = 27
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 1700
148@ = 3

:HOODS5_11132
if 
  148@ == 3
goto_if_false @HOODS5_11251
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_11251
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_11228
Task.PlayAnimNonInterruptable(75@, "PRTIAL_GNGTLKA", "GANGS", 4.0, False, False, False, False, -2)

:HOODS5_11228
148@ = 4
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 300

:HOODS5_11251
if 
  148@ == 4
goto_if_false @HOODS5_11352
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_11352
if 
  not Char.IsDead(43@)
goto_if_false @HOODS5_11329
Task.FollowPathNodesToCoord(43@, 2516.686, -1675.861, 13.1227, 4, 5500)

:HOODS5_11329
148@ = 5
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 2000

:HOODS5_11352
if 
  148@ == 5
goto_if_false @HOODS5_11503
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_11503
Task.PlayAnim($stattreadstamina_ctr, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -2)
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_11480
Task.PlayAnimNonInterruptable(75@, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, 3400)

:HOODS5_11480
148@ = 7
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 4000

:HOODS5_11503
if 
  148@ == 7
goto_if_false @HOODS5_11691
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_11691
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_11668
Task.PlayAnimNonInterruptable(75@, "SWEET_HNDSHLDR_01", "SWEET", 4.0, False, False, False, False, -2)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PLYR_HNDSHLDR_01", "SWEET", 4.0, False, False, False, False, -2)
if 
  not Char.IsDead(43@)
goto_if_false @HOODS5_11668
Char.Delete(43@)

:HOODS5_11668
148@ = 8
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 3500

:HOODS5_11691
if 
  148@ == 8
goto_if_false @HOODS5_11799
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_11799
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_11776
Char.FreezePosition(75@, False)
Task.FollowPathNodesToCoord(75@, 2516.686, -1675.861, 13.1227, 4, 5500)

:HOODS5_11776
148@ = 9
set_lvar_int_to_lvar_int 35@ = TIMERA
35@ += 1500

:HOODS5_11799
if 
  148@ == 9
goto_if_false @HOODS5_11949
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 35@
goto_if_false @HOODS5_11949
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_11857
Char.Delete(75@)

:HOODS5_11857
if 
  not Char.IsDead(43@)
goto_if_false @HOODS5_11878
Char.Delete(43@)

:HOODS5_11878
if 
  not Car.IsDead(59@)
goto_if_false @HOODS5_11901
Car.SetVisible(59@, True)

:HOODS5_11901
Char.FreezePosition($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Hud.SwitchWidescreen(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.MakeGangReappear
127@ = 8

:HOODS5_11949
return 

:HOODS5_11951
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 179@
goto_if_false @HOODS5_13222
set_lvar_int_to_lvar_int 179@ = TIMERA
179@ += 50
180@ += 1
if 
  180@ == 5
goto_if_false @HOODS5_12017
180@ = 0

:HOODS5_12017
if 
  not Char.IsDead(37@(180@,6i))
goto_if_false @HOODS5_13109
if 
  96@ == 0
goto_if_false @HOODS5_12085
if 
  Char.HasBeenDamagedByChar(37@(180@,6i), $stattreadstamina_ctr)
goto_if_false @HOODS5_12085
96@ = 1

:HOODS5_12085
82@, 83@, 84@ = Char.GetCoordinates(37@(180@,6i))
85@, 86@, 87@ = Char.GetCoordinates($stattreadstamina_ctr)
200@ = Math.GetDistanceBetweenCoords2D(85@, 86@, 82@, 83@)
if 
  not is_int_lvar_equal_to_int_lvar 193@ == 180@
goto_if_false @HOODS5_12211
if 
  is_float_lvar_greater_than_float_lvar 198@ > 200@
goto_if_false @HOODS5_12204
set_lvar_int_to_lvar_int 194@ = 193@
set_lvar_float_to_lvar_float 199@ = 198@
set_lvar_float_to_lvar_float 198@ = 200@
set_lvar_int_to_lvar_int 193@ = 180@

:HOODS5_12204
goto @HOODS5_12219

:HOODS5_12211
set_lvar_float_to_lvar_float 198@ = 200@

:HOODS5_12219
if 
  not is_int_lvar_equal_to_int_lvar 194@ == 180@
goto_if_false @HOODS5_12299
if 
  not is_int_lvar_equal_to_int_lvar 193@ == 180@
goto_if_false @HOODS5_12292
if 
  is_float_lvar_greater_than_float_lvar 199@ > 200@
goto_if_false @HOODS5_12292
set_lvar_int_to_lvar_int 194@ = 180@
set_lvar_float_to_lvar_float 199@ = 200@

:HOODS5_12292
goto @HOODS5_12307

:HOODS5_12299
set_lvar_float_to_lvar_float 199@ = 200@

:HOODS5_12307
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HOODS5_12573
59@ = Char.GetCarIsUsing($stattreadstamina_ctr)
188@ = Car.GetSpeed(59@)
if 
  188@ > 5.0
goto_if_false @HOODS5_12573
197@ = Math.RandomFloatInRange(-0.2, 0.2)
set_lvar_float_to_lvar_float 196@ = 188@
196@ *= 1.6
add_float_lvar_to_float_lvar 196@ += 197@
if 
  is_float_lvar_greater_than_float_lvar 196@ > 200@
goto_if_false @HOODS5_12573
set_lvar_float_to_lvar_float 196@ = 87@
sub_float_lvar_from_float_lvar 196@ -= 84@
196@ = Math.Abs()
if 
  1.0 > 196@
goto_if_false @HOODS5_12573
set_lvar_float_to_lvar_float 195@ = 82@
sub_float_lvar_from_float_lvar 195@ -= 85@
set_lvar_float_to_lvar_float 196@ = 83@
sub_float_lvar_from_float_lvar 196@ -= 86@
190@ = Math.GetHeadingFromVector2D(195@, 196@)
189@ = Car.GetHeading(59@)
set_lvar_float_to_lvar_float 195@ = 190@
sub_float_lvar_from_float_lvar 195@ -= 189@
195@ = Math.Abs()
if 
  5.0 > 195@
goto_if_false @HOODS5_12573
96@ = 1
181@(180@,6i) = 4

:HOODS5_12573
if 
  181@(180@,6i) == 4
goto_if_false @HOODS5_12661
34@ = Char.GetScriptTaskStatus(37@(180@,6i), 1651)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HOODS5_12661
Task.DiveAndGetUp(37@(180@,6i), 1.0, 0.0, 500)
181@(180@,6i) = 5

:HOODS5_12661
if 
  181@(180@,6i) == 5
goto_if_false @HOODS5_12727
34@ = Char.GetScriptTaskStatus(37@(180@,6i), 1651)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HOODS5_12727
181@(180@,6i) = 0

:HOODS5_12727
if 
  181@(180@,6i) == 0
goto_if_false @HOODS5_12805
if 
  96@ == 1
goto_if_false @HOODS5_12805
if or
  is_int_lvar_equal_to_int_lvar 180@ == 193@
  is_int_lvar_equal_to_int_lvar 180@ == 194@
goto_if_false @HOODS5_12805
181@(180@,6i) = 1

:HOODS5_12805
if 
  181@(180@,6i) == 1
goto_if_false @HOODS5_13102
34@ = Char.GetScriptTaskStatus(37@(180@,6i), 1869)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HOODS5_12953
34@ = Char.GetScriptTaskStatus(37@(180@,6i), 1506)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HOODS5_12953
187@ = Math.RandomIntInRange(0, 2)
if 
  187@ == 0
goto_if_false @HOODS5_12941
Task.ShootAtChar(37@(180@,6i), $stattreadstamina_ctr, -2)
goto @HOODS5_12953

:HOODS5_12941
Task.KillCharOnFoot(37@(180@,6i), $stattreadstamina_ctr)

:HOODS5_12953
if and
  not is_int_lvar_equal_to_int_lvar 180@ == 193@
  not is_int_lvar_equal_to_int_lvar 180@ == 194@
goto_if_false @HOODS5_13102
34@ = Char.GetScriptTaskStatus(37@(180@,6i), 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HOODS5_13102
68@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 106@(180@,6f), 112@(180@,6f), 118@(180@,6f), 6, 6000)
Task.ShootAtCoord(-1, 2750.957, -1968.016, 17.9291, -2)
Sequence.Close(68@)
Char.PerformSequence(37@(180@,6i), 68@)
Sequence.Clear(68@)
181@(180@,6i) = 0

:HOODS5_13102
goto @HOODS5_13222

:HOODS5_13109
if 
  96@ == 0
goto_if_false @HOODS5_13134
96@ = 1

:HOODS5_13134
if 
  is_int_lvar_equal_to_int_lvar 180@ == 193@
goto_if_false @HOODS5_13186
set_lvar_int_to_lvar_int 193@ = 194@
set_lvar_float_to_lvar_float 198@ = 199@
194@ = 0
199@ = 99999.0

:HOODS5_13186
if 
  is_int_lvar_equal_to_int_lvar 180@ == 194@
goto_if_false @HOODS5_13222
194@ = 0
199@ = 99999.0

:HOODS5_13222
return 

:HOODS5_13224
if 
  203@ <> 0
goto_if_false @HOODS5_13424
if 
  204@ == 0
goto_if_false @HOODS5_13302
204@ = 1
set_lvar_int_to_lvar_int 205@ = TIMERA
206@ = 0
set_lvar_int_to_lvar_int 408@ = 205@
add_int_lvar_to_int_lvar 408@ += 207@(206@,10i)

:HOODS5_13302
if 
  204@ == 1
goto_if_false @HOODS5_13424
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 408@
goto_if_false @HOODS5_13424
set_lvar_int_to_lvar_int 352@ = 217@(206@,10i)
206@ += 1
227@ -= 1
if 
  227@ == 0
goto_if_false @HOODS5_13404
203@ = 0
204@ = 0
goto @HOODS5_13424

:HOODS5_13404
set_lvar_int_to_lvar_int 408@ = 205@
add_int_lvar_to_int_lvar 408@ += 207@(206@,10i)

:HOODS5_13424
switch_start 355@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @HOODS5_15254 {caseNum1} 0 {caseLabel1} @HOODS5_13487 {caseNum2} 1 {caseLabel2} @HOODS5_14396 {caseNum3} 2 {caseLabel3} @HOODS5_14925 {caseNum4} 3 {caseLabel4} @HOODS5_15001 {caseNum5} 4 {caseLabel5} @HOODS5_15059 {caseNum6} 5 {caseLabel6} @HOODS5_15173 {caseNum7} -1 {caseLabel7} @HOODS5_15254

:HOODS5_13487
set_lvar_text_label 230@s = 'MSWE13A'
set_lvar_int_to_constant 309@ = 29137
set_lvar_text_label 232@s = 'MSWE13B'
set_lvar_int_to_constant 310@ = 29138
set_lvar_text_label 234@s = 'MSWE13C'
set_lvar_int_to_constant 311@ = 29139
set_lvar_text_label 236@s = 'MSWE13D'
set_lvar_int_to_constant 312@ = 29140
set_lvar_text_label 238@s = 'MSWE13E'
set_lvar_int_to_constant 313@ = 29141
set_lvar_text_label 240@s = 'MSWE13F'
set_lvar_int_to_constant 314@ = 29142
set_lvar_text_label 242@s = 'MSWE13G'
set_lvar_int_to_constant 315@ = 29143
set_lvar_text_label 244@s = 'SWE5_FA'
set_lvar_int_to_constant 316@ = 38226
set_lvar_text_label 246@s = 'SWE5_FB'
set_lvar_int_to_constant 317@ = 38227
set_lvar_text_label 248@s = 'SWE5_GH'
set_lvar_int_to_constant 318@ = 38235
set_lvar_text_label 250@s = 'SWE5_CA'
set_lvar_int_to_constant 319@ = 38216
set_lvar_text_label 252@s = 'SWE5_CC'
set_lvar_int_to_constant 320@ = 38218
set_lvar_text_label 254@s = 'SWE5_GA'
set_lvar_int_to_constant 321@ = 38228
set_lvar_text_label 256@s = 'SWE5_GC'
set_lvar_int_to_constant 322@ = 38230
set_lvar_text_label 258@s = 'SWE5_GD'
set_lvar_int_to_constant 323@ = 38231
set_lvar_text_label 260@s = 'SWE5_GE'
set_lvar_int_to_constant 324@ = 38232
set_lvar_text_label 262@s = 'SWE5_GF'
set_lvar_int_to_constant 325@ = 38233
set_lvar_text_label 264@s = 'SWE5_GG'
set_lvar_int_to_constant 326@ = 38234
set_lvar_text_label 266@s = 'SWE5_GJ'
set_lvar_int_to_constant 327@ = 38236
set_lvar_text_label 268@s = 'SWE5_GK'
set_lvar_int_to_constant 328@ = 38237
set_lvar_text_label 270@s = 'SWE5_GB'
set_lvar_int_to_constant 329@ = 38229
set_lvar_text_label 272@s = 'SWE5_GL'
set_lvar_int_to_constant 330@ = 38238
set_lvar_text_label 274@s = 'SWE5_EA'
set_lvar_int_to_constant 331@ = 38221
set_lvar_text_label 276@s = 'SWE5_EB'
set_lvar_int_to_constant 332@ = 38222
set_lvar_text_label 278@s = 'SWE5_EC'
set_lvar_int_to_constant 333@ = 38223
set_lvar_text_label 280@s = 'SWE5_ED'
set_lvar_int_to_constant 334@ = 38224
set_lvar_text_label 282@s = 'SWE5_EE'
set_lvar_int_to_constant 335@ = 38225
set_lvar_text_label 286@s = 'MOBRING'
set_lvar_int_to_constant 337@ = 23000
358@ = 1
359@ = 0
360@ = 0
361@ = 0
362@ = 0
363@ = 1
364@ = 0
365@ = 0
366@ = 0
367@ = 3
368@ = 0
369@ = 0
370@ = 2
371@ = 2
372@ = 2
373@ = 1
374@ = 1
375@ = 1
376@ = 3
377@ = 3
378@ = 2
379@ = 3
380@ = 2
381@ = 2
382@ = 2
383@ = 1
384@ = 2
385@ = 2
386@ = 0
set_lvar_int_to_var_int 398@ = $stattreadstamina_ctr
355@ = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 309@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 310@)
349@ = 1
350@ = 2
goto @HOODS5_15254

:HOODS5_14396
if 
  352@ <> 0
goto_if_false @HOODS5_14918
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 356@
goto_if_false @HOODS5_14918
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @HOODS5_14918
if 
  is_int_lvar_equal_to_int_lvar 349@ == 352@
goto_if_false @HOODS5_14485
351@ = 1
goto @HOODS5_14548

:HOODS5_14485
if 
  is_int_lvar_equal_to_int_lvar 350@ == 352@
goto_if_false @HOODS5_14518
351@ = 2
goto @HOODS5_14548

:HOODS5_14518
351@ = 1
set_lvar_int_to_lvar_int 349@ = 352@
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 308@(352@,40i))

:HOODS5_14548
if 
  Audio.HasMissionAudioLoaded(351@)
goto_if_false @HOODS5_14906
if 
  357@(352@,40i) <> 0
goto_if_false @HOODS5_14679
set_lvar_int_to_lvar_int 405@ = 357@(352@,40i)
set_lvar_int_to_lvar_int 406@ = 397@(405@,7i)
if 
  not Char.IsDead(406@)
goto_if_false @HOODS5_14679
Audio.AttachMissionAudioToChar(351@, 406@)
if 
  not Char.IsTalking(406@)
goto_if_false @HOODS5_14672
404@ = 1
Char.StartFacialTalk(406@, 15000)
goto @HOODS5_14679

:HOODS5_14672
Char.DisableSpeech(406@, False)

:HOODS5_14679
if 
  357@(352@,40i) == 0
goto_if_false @HOODS5_14708
404@ = 1

:HOODS5_14708
if 
  404@ == 1
goto_if_false @HOODS5_14899
Audio.PlayMissionAudio(351@)
Text.ClearPrints
Text.Print(228@(352@,40s), 10000, 1)
355@ += 1
404@ = 0
352@ += 1
set_lvar_int_to_lvar_int 353@ = 352@
if 
  308@(352@,40i) <> 0
goto_if_false @HOODS5_14899
if 
  351@ == 1
goto_if_false @HOODS5_14861
if 
  not is_int_lvar_equal_to_int_lvar 350@ == 352@
goto_if_false @HOODS5_14854
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 308@(352@,40i))
set_lvar_int_to_lvar_int 350@ = 352@

:HOODS5_14854
goto @HOODS5_14899

:HOODS5_14861
if 
  not is_int_lvar_equal_to_int_lvar 349@ == 352@
goto_if_false @HOODS5_14899
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 308@(352@,40i))
set_lvar_int_to_lvar_int 349@ = 352@

:HOODS5_14899
goto @HOODS5_14918

:HOODS5_14906
Audio.LoadMissionAudio(351@, 308@(352@,40i))

:HOODS5_14918
goto @HOODS5_15254

:HOODS5_14925
if 
  Audio.HasMissionAudioFinished(351@)
goto_if_false @HOODS5_14955
355@ += 1
goto @HOODS5_14994

:HOODS5_14955
if 
  Char.DoesExist(406@)
goto_if_false @HOODS5_14994
if 
  Char.IsDead(406@)
goto_if_false @HOODS5_14994
355@ += 1

:HOODS5_14994
goto @HOODS5_15254

:HOODS5_15001
Audio.ClearMissionAudio(351@)
348@(351@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(406@)
goto_if_false @HOODS5_15045
Char.StopFacialTalk(406@)
Char.EnableSpeech(406@)

:HOODS5_15045
355@ += 1
goto @HOODS5_15254

:HOODS5_15059
352@ += 1
if 
  308@(352@,40i) <> 0
goto_if_false @HOODS5_15112
Audio.LoadMissionAudio(351@, 308@(352@,40i))
set_lvar_int_to_lvar_int 348@(351@,3i) = 352@

:HOODS5_15112
354@ -= 1
if 
  354@ <= 0
goto_if_false @HOODS5_15151
352@ = 0
goto @HOODS5_15159

:HOODS5_15151
set_lvar_int_to_lvar_int 352@ = 353@

:HOODS5_15159
355@ = 1
goto @HOODS5_15254

:HOODS5_15173
355@ = 1
352@ = 0
354@ = 0
203@ = 0
227@ = 0
Audio.ClearMissionAudio(351@)
348@(351@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(406@)
goto_if_false @HOODS5_15247
Char.EnableSpeech(406@)

:HOODS5_15247
goto @HOODS5_15254

:HOODS5_15254
return 

:HOODS5_15256
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:HOODS5_15274
$flag_crash_mission_counter += 1
Stat.RegisterMissionPassed('SWEET_5')
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Text.PrintWithNumberBig('M_PASSR', 7, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(7)
return 

:HOODS5_15329
$weapon_shop1_blip = 0
CarGenerator.Switch($gen_car12, 101)
Game.SetScriptLimitToGangSize(99)
if 
  Char.DoesExist(75@)
goto_if_false @HOODS5_15413
if 
  not Char.IsDead(75@)
goto_if_false @HOODS5_15413
Char.SetProofs(75@, False, False, False, False, False)
Char.SetOnlyDamagedByPlayer(75@, False)
Char.SetNeverTargeted(75@, False)
Char.MarkAsNoLongerNeeded(75@)

:HOODS5_15413
if 
  Char.DoesExist(43@)
goto_if_false @HOODS5_15479
if 
  not Char.IsDead(43@)
goto_if_false @HOODS5_15479
Char.SetProofs(43@, False, False, False, False, False)
Char.SetOnlyDamagedByPlayer(43@, False)
Char.SetNeverTargeted(43@, False)
Char.MarkAsNoLongerNeeded(43@)

:HOODS5_15479
36@ = 0

:HOODS5_15486
if 
  5 > 36@
goto_if_false @HOODS5_15527
Char.MarkAsNoLongerNeeded(37@(36@,6i))
36@ += 1
goto @HOODS5_15486

:HOODS5_15527
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HOODS5_15550
Task.UseMobilePhone($stattreadstamina_ctr, False)

:HOODS5_15550
Streaming.RemoveAnimation("SWEET")
Streaming.RemoveAnimation("GANGS")
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(12)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.MarkModelAsNoLongerNeeded(405)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(105)
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveCarRecording(153)
Streaming.RemoveCarRecording(154)
Path.SwitchRoadsBackToOriginal(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)
Path.SwitchPedRoadsBackToOriginal(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)
Path.SwitchRoadsBackToOriginal(2463.375, -1702.695, 17.9193, 2508.735, -1644.574, 10.5835)
if 
  not Car.IsDead(105@)
goto_if_false @HOODS5_15736
Car.MarkAsNoLongerNeeded(105@)

:HOODS5_15736
Hud.ClearCounter($6685)
Char.ClearRelationship($stattreadstamina_ctr, RelationshipType.Hate, PedType.Mission1)
Blip.Remove(51@)
Blip.Remove(52@)
Blip.Remove(53@)
Blip.Remove(54@)
Blip.Remove(55@)
Blip.Remove(48@)
Blip.Remove(73@)
Blip.Remove(49@)
Blip.Remove(71@)
Blip.Remove(72@)
Game.SetWantedMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SwitchEmergencyServices(True)
DecisionMaker.Remove(47@)
DecisionMaker.Remove(99@)
Game.SetCreateRandomGangMembers(True)
Player.SetGroupToFollowAlways($statbike_temp, False)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 19---------------
// Originally: Cesar Vialpando

:SWEET6
script_name 'SWEET6'
gosub @SWEET6_47
if 
  has_deatharrest_been_executed 
goto_if_false @SWEET6_38
gosub @SWEET6_35918

:SWEET6_38
gosub @SWEET6_36157
terminate_this_script 

:SWEET6_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
62@ = 0
63@ = 0
64@ = 0
65@ = 0
TIMERA = 0
TIMERB = 0
66@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
67@ = DecisionMakerChar.Load(DecisionMakerType.Tough)

:SWEET6_147
wait 0
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @SWEET6_173
36@ = 1

:SWEET6_173
39@ += 1
if 
  39@ > 22
goto_if_false @SWEET6_205
39@ = 0

:SWEET6_205
40@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 40@
sub_int_lvar_from_int_lvar 42@ -= 41@
set_lvar_int_to_lvar_int 41@ = 40@
add_int_lvar_to_int_lvar 64@ += 42@
add_int_lvar_to_int_lvar 65@ += 42@
add_int_lvar_to_int_lvar 136@ += 42@
add_int_lvar_to_int_lvar 137@ += 42@
add_int_lvar_to_int_lvar 138@ += 42@
add_int_lvar_to_int_lvar 139@ += 42@
add_int_lvar_to_int_lvar 140@ += 42@
gosub @SWEET6_567
switch_start 34@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @SWEET6_458 {caseNum1} 0 {caseLabel1} @SWEET6_360 {caseNum2} 1 {caseLabel2} @SWEET6_374 {caseNum3} 2 {caseLabel3} @SWEET6_388 {caseNum4} 3 {caseLabel4} @SWEET6_402 {caseNum5} 4 {caseLabel5} @SWEET6_416 {caseNum6} 5 {caseLabel6} @SWEET6_430 {caseNum7} 6 {caseLabel7} @SWEET6_444

:SWEET6_360
gosub @SWEET6_1384
goto @SWEET6_458

:SWEET6_374
gosub @SWEET6_1725
goto @SWEET6_458

:SWEET6_388
gosub @SWEET6_2086
goto @SWEET6_458

:SWEET6_402
gosub @SWEET6_7483
goto @SWEET6_458

:SWEET6_416
gosub @SWEET6_16699
goto @SWEET6_458

:SWEET6_430
gosub @SWEET6_19540
goto @SWEET6_458

:SWEET6_444
gosub @SWEET6_24661
goto @SWEET6_458

:SWEET6_458
gosub @SWEET6_28502

:SWEET6_465
if 
  38@ == 0
goto_if_false @SWEET6_565
if 
  37@ == 0
goto_if_false @SWEET6_549
if 
  36@ == 0
goto_if_false @SWEET6_533
goto @SWEET6_147
goto @SWEET6_542

:SWEET6_533
gosub @SWEET6_35970
return 

:SWEET6_542
goto @SWEET6_558

:SWEET6_549
gosub @SWEET6_35918
return 

:SWEET6_558
goto @SWEET6_567

:SWEET6_565
return 

:SWEET6_567
if 
is_ps2_keyboard_key_just_pressed 88
goto_if_false @SWEET6_658
if 
  68@ == 0
goto_if_false @SWEET6_632
68@ = 1
write_debug "LEVEL_DEBUG_ON"
goto @SWEET6_658

:SWEET6_632
68@ = 0
write_debug "LEVEL_DEBUG_OFF"

:SWEET6_658
if 
  68@ == 1
goto_if_false @SWEET6_1382
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @SWEET6_725
69@ += 1
if 
  69@ > 3
goto_if_false @SWEET6_723
69@ = 0

:SWEET6_723
clear_all_view_variables 

:SWEET6_725
if 
  69@ == 1
goto_if_false @SWEET6_935
set_var_int_to_lvar_int $6686 = 34@
set_var_int_to_lvar_int $6687 = 35@
set_var_int_to_lvar_int $6688 = 62@
set_var_int_to_lvar_int $6689 = 64@
set_var_int_to_lvar_int $sweet6_contact_blip = 63@
set_var_int_to_lvar_int $sw7_kanehealth = 65@
set_var_int_to_lvar_int $sw7_kanefuckedhealth = TIMERA
set_var_int_to_lvar_int $sw7_funeraltimer = TIMERB
view_integer_variable $6686 {_p2} "M_STAGE"
view_integer_variable $6687 {_p2} "M_GOALS"
view_integer_variable $6688 {_p2} "DIALOGUE_FLAG"
view_integer_variable $6689 {_p2} "DIALOGUE_TIMER"
view_integer_variable $sweet6_contact_blip {_p2} "HELP_FLAG"
view_integer_variable $sw7_kanehealth {_p2} "HELP_TIMER"
view_integer_variable $sw7_kanefuckedhealth {_p2} "TIMERA"
view_integer_variable $sw7_funeraltimer {_p2} "TIMERB"

:SWEET6_935
if 
  69@ == 2
goto_if_false @SWEET6_1054
set_var_int_to_lvar_int $6686 = 107@
set_var_int_to_var_int $6687 = $bball_challenge_score
set_var_int_to_lvar_int $sw7_funeraltimer = 130@
view_integer_variable $6686 {_p2} "CAR_HYD_FLAG"
view_integer_variable $6687 {_p2} "SW6_MISSION_ATTEMPTS"
view_integer_variable $sw7_funeraltimer {_p2} "PLAYER_HAS_ATTACKED_MEET"

:SWEET6_1054
if 
  69@ == 3
goto_if_false @SWEET6_1132
set_var_int_to_lvar_int $6686 = 131@
set_var_int_to_lvar_int $6687 = 276@
view_integer_variable $6686 {_p2} "MEETING_IS_LOADED"
view_integer_variable $6687 {_p2} "CURRENT_WAGER"

:SWEET6_1132
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @SWEET6_1154
38@ = 1

:SWEET6_1154
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @SWEET6_1242
if 
  70@ == 0
goto_if_false @SWEET6_1217
70@ = 1
write_debug "LEVEL_PAUSED"
goto @SWEET6_1242

:SWEET6_1217
70@ = 0
write_debug "LEVEL_UNPAUSED"

:SWEET6_1242
if 
  70@ == 1
goto_if_false @SWEET6_1267
goto @SWEET6_465

:SWEET6_1267
if 
is_ps2_keyboard_key_just_pressed 136
goto_if_false @SWEET6_1290
35@ += 1

:SWEET6_1290
if 
is_ps2_keyboard_key_just_pressed 135
goto_if_false @SWEET6_1313
35@ -= 1

:SWEET6_1313
if 
is_ps2_keyboard_key_just_pressed 134
goto_if_false @SWEET6_1336
34@ += 1

:SWEET6_1336
if 
is_ps2_keyboard_key_just_pressed 133
goto_if_false @SWEET6_1359
34@ -= 1

:SWEET6_1359
if 
is_ps2_keyboard_key_just_pressed 146
goto_if_false @SWEET6_1382
35@ = 99

:SWEET6_1382
return 

:SWEET6_1384
if 
  35@ == -1
goto_if_false @SWEET6_1529
72@ = Car.Create(413, 0.0, 0.0, 0.0)
80@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
105@ = Blip.AddForCoord(0.0, 0.0, 0.0)
106@ = Blip.AddForCoord(0.0, 0.0, 0.0)
$bcesar3_mission_flag = Blip.AddForCoord(0.0, 0.0, 0.0)
$total_saved_peds = Blip.AddForCoord(0.0, 0.0, 0.0)

:SWEET6_1529
107@ = 0
43@ = 0

:SWEET6_1543
if 
  22 > 43@
goto_if_false @SWEET6_1586
108@(43@,22i) = 0
43@ += 1
goto @SWEET6_1543

:SWEET6_1586
130@ = 0
131@ = 0
132@ = 0
133@ = 0
135@ = 0
272@ = 0.01
if 
  35@ == -1
goto_if_false @SWEET6_1669
$g_Crash1_counterKM1 = Blip.AddForCoord(0.0, 0.0, 0.0)

:SWEET6_1669
Text.LoadMissionText('SWEET6')
CarGenerator.SuppressCarModel(567)
274@ = 50
275@ = 1000
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
gosub @SWEET6_35860
return 

:SWEET6_1725
if 
  35@ == 0
goto_if_false @SWEET6_1858
Streaming.SetAreaVisible(1)
Cutscene.Load('SWEET6A')

:SWEET6_1758
if 
  not Cutscene.HasLoaded
goto_if_false @SWEET6_1782
wait 0
goto @SWEET6_1758

:SWEET6_1782
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SWEET6_1791
if 
  not Cutscene.HasFinished
goto_if_false @SWEET6_1815
wait 0
goto @SWEET6_1791

:SWEET6_1815
Cutscene.Clear
Camera.DoFade(0, Fade.Out)

:SWEET6_1823
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_1847
wait 0
goto @SWEET6_1823

:SWEET6_1847
Streaming.SetAreaVisible(0)
35@ += 1

:SWEET6_1858
if 
  35@ == 1
goto_if_false @SWEET6_2034
Streaming.LoadScene(2519.575, -1677.88, 13.7661)
Char.SetCoordinates($stattreadstamina_ctr, 2519.575, -1677.88, 13.7661)
Char.SetHeading($stattreadstamina_ctr, 107.8934)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
World.ClearArea(2519.575, -1677.88, 13.7661, 1000.0, True)
Camera.DoFade(500, Fade.In)

:SWEET6_1967
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_1991
wait 0
goto @SWEET6_1967

:SWEET6_1991
Text.Print('S6_01', 10000, 1)
105@ = Blip.AddForCoord(2653.016, -2009.172, 12.5547)
35@ += 1

:SWEET6_2034
if 
  35@ == 2
goto_if_false @SWEET6_2059
35@ = 99

:SWEET6_2059
if 
  35@ == 99
goto_if_false @SWEET6_2084
gosub @SWEET6_35860

:SWEET6_2084
return 

:SWEET6_2086
if 
  35@ == 0
goto_if_false @SWEET6_2354
43@ = 0
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2653.016, -2009.172, 12.5547, 4.0, 4.0, 4.0, True)
goto_if_false @SWEET6_2305
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET6_2213
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsOnAllWheels($stealth_help_flag)
goto_if_false @SWEET6_2213
Player.SetControl($statbike_temp, False)
43@ = 1

:SWEET6_2213
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @SWEET6_2259
if 
  Char.IsStopped($stattreadstamina_ctr)
goto_if_false @SWEET6_2259
Player.SetControl($statbike_temp, False)
43@ = 1

:SWEET6_2259
if 
  43@ == 1
goto_if_false @SWEET6_2305
if 
  Blip.DoesExist(105@)
goto_if_false @SWEET6_2298
Blip.Remove(105@)

:SWEET6_2298
35@ += 1

:SWEET6_2305
if 
  68@ == 1
goto_if_false @SWEET6_2354
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @SWEET6_2354
Char.SetCoordinates($stattreadstamina_ctr, $1755, $1756, $1757)

:SWEET6_2354
if 
  35@ == 1
goto_if_false @SWEET6_2433
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET6_2426
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsStopped($stealth_help_flag)
goto_if_false @SWEET6_2419
35@ += 1

:SWEET6_2419
goto @SWEET6_2433

:SWEET6_2426
35@ += 1

:SWEET6_2433
if 
  35@ == 2
goto_if_false @SWEET6_2957
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:SWEET6_2465
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_2489
wait 0
goto @SWEET6_2465

:SWEET6_2489
Text.ClearPrints
Streaming.RequestCollision(2644.252, -2028.246)
Streaming.LoadScene(2644.252, -2028.246, 12.5547)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2640.362, -2011.104, 14.9634, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2640.959, -2011.886, 14.7846, SwitchType.JumpCut)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Player.MakeGangDisappear
World.ClearArea(2648.941, -2017.247, 12.5625, 15.0, True)
World.ClearArea(2643.875, -2029.439, 12.5547, 15.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2641.743, -2015.496, 12.6446)
Char.SetHeading($stattreadstamina_ctr, 214.4731)
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
$intro_bmx = 1
Streaming.RequestModel(50)
Streaming.RequestModel(567)
Streaming.LoadAllModelsNow

:SWEET6_2699
if or
  not Streaming.HasModelLoaded(50)
  not Streaming.HasModelLoaded(567)
goto_if_false @SWEET6_2730
wait 0
goto @SWEET6_2699

:SWEET6_2730
Streaming.RequestAnimation("CAR")
Streaming.RequestAnimation("GANGS")

:SWEET6_2746
if or
  not Streaming.HasAnimationLoaded("CAR")
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @SWEET6_2784
wait 0
goto @SWEET6_2746

:SWEET6_2784
Streaming.RequestCarRecording(552)

:SWEET6_2789
if 
  not Streaming.HasCarRecordingBeenLoaded(552)
goto_if_false @SWEET6_2816
wait 0
goto @SWEET6_2789

:SWEET6_2816
71@ = Car.Create(567, 2644.252, -2028.246, 12.5547)
Car.SetHeading(71@, 358.8272)
Car.SetHydraulics(71@, True)
Car.SetStraightLineDistance(71@, 40)
Car.SetDrivingStyle(71@, DrivingMode.PloughThrough)
79@ = Char.CreateInsideCar(71@, PedType.CivMale, 50)
Char.SetDecisionMaker(79@, 66@)
Task.LookAtChar($stattreadstamina_ctr, 79@, 99999)
Camera.DoFade(500, Fade.In)

:SWEET6_2910
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_2934
wait 0
goto @SWEET6_2910

:SWEET6_2934
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
35@ += 1

:SWEET6_2957
if and
  35@ > 2
  17 > 35@
goto_if_false @SWEET6_3006
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SWEET6_3006
35@ = 17

:SWEET6_3006
if 
  35@ == 3
goto_if_false @SWEET6_3122
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_3122
Car.FreezePosition(71@, False)
Car.SetForwardSpeed(71@, 2.0)
Car.SetCruiseSpeed(71@, 4.0)
Car.GotoCoordinatesAccurate(71@, 2644.462, -2016.282, 12.5547)
TIMERA = 0
TIMERB = 0
43@ = 0
Car.SetStatus(71@, EntityStatus.Physics)
35@ += 1

:SWEET6_3122
if 
  35@ == 4
goto_if_false @SWEET6_3563
if 
  15000 > TIMERA
goto_if_false @SWEET6_3510
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_3503
if 
  Car.LocateStopped3D(71@, 2644.462, -2017.282, 12.5547, 4.0, 4.0, 4.0, False)
goto_if_false @SWEET6_3278
if 
  Car.DoesHaveHydraulics(71@)
goto_if_false @SWEET6_3264
Car.ControlHydraulics(71@, 0.0, 0.0, 0.0, 0.0)

:SWEET6_3264
35@ += 1
goto @SWEET6_3503

:SWEET6_3278
if 
  2 > 43@
goto_if_false @SWEET6_3470
if and
  1800 > TIMERB
  TIMERB > 1500
goto_if_false @SWEET6_3370
$lowr_perfect_beat_counter = 1.0
$lowr_good_beat_counter = 0.0
$lowr_bad_beat_counter = 1.0
$lowr_overall_state = 0.0
goto @SWEET6_3470

:SWEET6_3370
if 
  TIMERB > 1800
goto_if_false @SWEET6_3470
if 
  2500 > TIMERB
goto_if_false @SWEET6_3455
$lowr_perfect_beat_counter = 0.0
$lowr_good_beat_counter = 0.0
$lowr_bad_beat_counter = 0.0
$lowr_overall_state = 0.0
goto @SWEET6_3470

:SWEET6_3455
TIMERB = 1300
43@ += 1

:SWEET6_3470
if 
  Car.DoesHaveHydraulics(71@)
goto_if_false @SWEET6_3503
Car.ControlHydraulics(71@, $lowr_perfect_beat_counter, $lowr_good_beat_counter, $lowr_bad_beat_counter, $lowr_overall_state)

:SWEET6_3503
goto @SWEET6_3563

:SWEET6_3510
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_3563
Car.SetCoordinates(71@, 2644.462, -2017.282, 12.5547)
Car.SetHeading(71@, 358.5157)
35@ += 1

:SWEET6_3563
if 
  35@ == 5
goto_if_false @SWEET6_3708
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_3708
49@ = Sequence.Open()
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_3625
Task.LeaveCar(-1, 71@)

:SWEET6_3625
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.LookAtChar(-1, $stattreadstamina_ctr, -2)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(79@, 49@)
Sequence.Clear(49@)
TIMERA = 0
35@ += 1

:SWEET6_3708
if 
  35@ == 6
goto_if_false @SWEET6_3800
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_3800
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_3800
if 
  not Char.IsInCar(79@, 71@)
goto_if_false @SWEET6_3800
if 
  Char.IsOnFoot(79@)
goto_if_false @SWEET6_3800
35@ += 1

:SWEET6_3800
if 
  35@ == 7
goto_if_false @SWEET6_4173
Camera.SetFixedPosition(2640.2, -2018.059, 14.3965, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2641.135, -2017.758, 14.2101, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 2642.658, -2015.291, 12.5947)
Char.SetHeading($stattreadstamina_ctr, 181.4479)
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_3955
Char.SetCoordinates(79@, 2641.862, -2018.108, 12.2327)
Char.SetHeading(79@, 353.04)
Task.LookAtChar(79@, $stattreadstamina_ctr, -2)

:SWEET6_3955
Char.ClearTasksImmediately($stattreadstamina_ctr)
49@ = Sequence.Open()
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_4031
Task.LookAtChar(-1, 79@, 99999)
Task.GoStraightToCoord(-1, 2642.391, -2016.581, 12.5947, MoveState.Walk, 5000)
Task.TurnCharToFaceChar(-1, 79@)
goto @SWEET6_4038

:SWEET6_4031
Task.Pause(-1, 1000)

:SWEET6_4038
Sequence.Close(49@)
Char.PerformSequence($stattreadstamina_ctr, 49@)
Sequence.Clear(49@)
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_4151
Char.ClearTasksImmediately(79@)
49@ = Sequence.Open()
Task.LookAtChar(-1, $stattreadstamina_ctr, -2)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(79@, 49@)
Sequence.Clear(49@)

:SWEET6_4151
62@ = 0
TIMERA = 500
35@ += 1

:SWEET6_4173
if 
  35@ == 8
goto_if_false @SWEET6_4597
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_4286
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
56@, 57@, 58@ = Char.GetCoordinates(79@)
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 56@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 57@
$on_footX = Math.GetHeadingFromVector2D(50@, 51@)
Char.SetHeading(79@, $on_footX)

:SWEET6_4286
if and
  $audio_line_terminate_all == 0
  TIMERA > 500
goto_if_false @SWEET6_4597
switch_start 62@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @SWEET6_4597 {caseNum1} 0 {caseLabel1} @SWEET6_4375 {caseNum2} 1 {caseLabel2} @SWEET6_4441 {caseNum3} 2 {caseLabel3} @SWEET6_4507 {caseNum4} 3 {caseLabel4} @SWEET6_4562 {caseNum5} -1 {caseLabel5} @SWEET6_4597 {caseNum6} -1 {caseLabel6} @SWEET6_4597 {caseNum7} -1 {caseLabel7} @SWEET6_4597

:SWEET6_4375
set_var_text_label s$bd_future_time_shown = 'LOWR_KA'
set_var_int_to_constant $bd_x = 22833
start_new_script @AUDIOL 79@ 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 22834)
62@ += 1
goto @SWEET6_4597

:SWEET6_4441
set_var_text_label s$bd_future_time_shown = 'LOWR_KB'
set_var_int_to_constant $bd_x = 22834
start_new_script @AUDIOL 79@ 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 22835)
62@ += 1
goto @SWEET6_4597

:SWEET6_4507
set_var_text_label s$bd_future_time_shown = 'LOWR_KC'
set_var_int_to_constant $bd_x = 22835
start_new_script @AUDIOL 79@ 0 1 1 1 
62@ += 1
goto @SWEET6_4597

:SWEET6_4562
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_4583
Char.ClearTasks(79@)

:SWEET6_4583
35@ += 1
goto @SWEET6_4597

:SWEET6_4597
if 
  35@ == 9
goto_if_false @SWEET6_4750
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_4750
Audio.SetRadioChannel(RadioChannel.PlaybackFM)
Char.ClearLookAt($stattreadstamina_ctr)
49@ = Sequence.Open()
Task.EnterCarAsDriver(-1, 71@, 10000)
Task.PlayAnim(-1, "SIT_RELAXED", "CAR", 4.0, False, False, False, True, -1)
Sequence.Close(49@)
Char.PerformSequence($stattreadstamina_ctr, 49@)
Sequence.Clear(49@)
TIMERA = 0
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_4743
Task.LookAtChar(79@, $stattreadstamina_ctr, -2)

:SWEET6_4743
35@ += 1

:SWEET6_4750
if 
  35@ == 10
goto_if_false @SWEET6_4838
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_4838
if and
  Char.IsInCar($stattreadstamina_ctr, 71@)
  not Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @SWEET6_4838
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_4831
Char.FreezePosition(79@, True)

:SWEET6_4831
35@ += 1

:SWEET6_4838
if 
  35@ == 11
goto_if_false @SWEET6_5129
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_5129
49@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.LookAtChar(-1, $stattreadstamina_ctr, -2)
Task.PlayAnim(-1, "PRTIAL_GNGTLKB", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKG", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(79@, 49@)
Sequence.Clear(49@)
35@ += 1
43@ = 0
TIMERA = 500
TIMERB = 0
$lowr_perfect_beat_counter = 0.0
$lowr_good_beat_counter = 0.0
$lowr_bad_beat_counter = 0.0
$lowr_overall_state = 0.0
62@ = 0
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_5129
Car.SetStatus(71@, EntityStatus.Physics)

:SWEET6_5129
if 
  35@ == 12
goto_if_false @SWEET6_5832
if and
  $audio_line_terminate_all == 0
  TIMERA > 500
goto_if_false @SWEET6_5524
switch_start 62@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @SWEET6_5524 {caseNum1} 0 {caseLabel1} @SWEET6_5236 {caseNum2} 1 {caseLabel2} @SWEET6_5302 {caseNum3} 2 {caseLabel3} @SWEET6_5368 {caseNum4} 3 {caseLabel4} @SWEET6_5434 {caseNum5} 4 {caseLabel5} @SWEET6_5489 {caseNum6} -1 {caseLabel6} @SWEET6_5524 {caseNum7} -1 {caseLabel7} @SWEET6_5524

:SWEET6_5236
set_var_text_label s$bd_future_time_shown = 'LOWR_KD'
set_var_int_to_constant $bd_x = 22836
start_new_script @AUDIOL 79@ 0 1 2 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 22837)
62@ += 1
goto @SWEET6_5524

:SWEET6_5302
set_var_text_label s$bd_future_time_shown = 'LOWR_KE'
set_var_int_to_constant $bd_x = 22837
start_new_script @AUDIOL 79@ 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 22838)
62@ += 1
goto @SWEET6_5524

:SWEET6_5368
set_var_text_label s$bd_future_time_shown = 'LOWR_KF'
set_var_int_to_constant $bd_x = 22838
start_new_script @AUDIOL 79@ 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 22839)
62@ += 1
goto @SWEET6_5524

:SWEET6_5434
set_var_text_label s$bd_future_time_shown = 'LOWR_KG'
set_var_int_to_constant $bd_x = 22839
start_new_script @AUDIOL 79@ 0 1 1 1 
62@ += 1
goto @SWEET6_5524

:SWEET6_5489
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_5510
Char.ClearTasks(79@)

:SWEET6_5510
35@ += 1
goto @SWEET6_5524

:SWEET6_5524
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_5832
if 
  4 > 43@
goto_if_false @SWEET6_5739
if and
  1800 > TIMERB
  TIMERB > 1500
goto_if_false @SWEET6_5632
$lowr_perfect_beat_counter = 1.0
$lowr_good_beat_counter = 0.0
$lowr_bad_beat_counter = 1.0
$lowr_overall_state = 0.0
goto @SWEET6_5732

:SWEET6_5632
if 
  TIMERB > 1800
goto_if_false @SWEET6_5732
if 
  2500 > TIMERB
goto_if_false @SWEET6_5717
$lowr_perfect_beat_counter = 0.0
$lowr_good_beat_counter = 0.0
$lowr_bad_beat_counter = 0.0
$lowr_overall_state = 0.0
goto @SWEET6_5732

:SWEET6_5717
TIMERB = 1300
43@ += 1

:SWEET6_5732
goto @SWEET6_5799

:SWEET6_5739
if 
  43@ == 4
goto_if_false @SWEET6_5799
Task.PlayAnim($stattreadstamina_ctr, "TAP_HAND", "CAR", 4.0, True, False, False, False, -1)
43@ += 1

:SWEET6_5799
if 
  Car.DoesHaveHydraulics(71@)
goto_if_false @SWEET6_5832
Car.ControlHydraulics(71@, $lowr_perfect_beat_counter, $lowr_good_beat_counter, $lowr_bad_beat_counter, $lowr_overall_state)

:SWEET6_5832
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SWEET6_5894
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAP_HAND")
goto_if_false @SWEET6_5894
Char.SetAnimSpeed($stattreadstamina_ctr, "TAP_HAND", 0.5)

:SWEET6_5894
if 
  35@ == 13
goto_if_false @SWEET6_6075
if 
  $bball_challenge_score == 0
goto_if_false @SWEET6_6068
if 
  not Char.IsDead(79@)
goto_if_false @SWEET6_5983
Char.ClearTasks(79@)
Char.FreezePosition(79@, False)
Task.GoStraightToCoord(79@, 2641.231, -2020.621, 12.7578, MoveState.Walk, 5000)

:SWEET6_5983
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_6040
if 
  Car.DoesHaveHydraulics(71@)
goto_if_false @SWEET6_6040
Car.ControlHydraulics(71@, 0.0, 0.0, 0.0, 0.0)

:SWEET6_6040
35@ += 1
TIMERA = 0
TIMERB = 0
goto @SWEET6_6075

:SWEET6_6068
35@ = 17

:SWEET6_6075
if 
  35@ == 14
goto_if_false @SWEET6_6219
if 
  TIMERA > 1000
goto_if_false @SWEET6_6219
Camera.SetFixedPosition(2643.985, -2023.749, 14.95, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2644.091, -2022.8, 14.6533, SwitchType.JumpCut)
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_6219
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, 71@)
Car.StartPlayback(71@, 552)
Car.PausePlayback(71@)
35@ += 1
TIMERA = 0

:SWEET6_6219
if 
  35@ == 15
goto_if_false @SWEET6_6307
if 
  TIMERA > 1000
goto_if_false @SWEET6_6307
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_6307
if 
  Car.IsPlaybackGoingOn(71@)
goto_if_false @SWEET6_6307
Car.UnpausePlayback(71@)
35@ += 1
TIMERA = 0

:SWEET6_6307
if 
  35@ == 16
goto_if_false @SWEET6_6372
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_6372
if or
  not Car.IsOnScreen(71@)
  TIMERA > 3000
goto_if_false @SWEET6_6372
35@ += 1

:SWEET6_6372
if 
  35@ == 17
goto_if_false @SWEET6_6642
Text.ClearPrints
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.RestoreJumpcut
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
$intro_bmx = 0
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_6562
if 
  Car.IsPlaybackGoingOn(71@)
goto_if_false @SWEET6_6451
Car.StopPlayback(71@)

:SWEET6_6451
Car.FreezePosition(71@, False)
if 
  Char.DoesExist(79@)
goto_if_false @SWEET6_6479
Char.Delete(79@)

:SWEET6_6479
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, 71@)
if 
  Car.IsPlaybackGoingOn(71@)
goto_if_false @SWEET6_6513
Car.StopPlayback(71@)

:SWEET6_6513
$on_footX = Car.GetHeading(71@)
Car.SetCoordinates(71@, 2644.258, -2026.526, 12.5469)
Car.SetHeading(71@, 2.3109)
Player.SetControl($statbike_temp, True)
Camera.SetInFrontOfPlayer
Camera.RestoreJumpcut

:SWEET6_6562
Char.Delete(79@)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.RemoveAnimation("CAR")
Streaming.RemoveAnimation("GANGS")
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  $bball_challenge_score <> 0
goto_if_false @SWEET6_6635
35@ = 99
goto @SWEET6_6642

:SWEET6_6635
35@ += 1

:SWEET6_6642
if 
  35@ == 18
goto_if_false @SWEET6_6719
Blip.Remove(105@)
105@ = Blip.AddForCoord(2645.112, -2045.745, 12.607)
Garage.Activate('MODLAST')
Text.PrintNow('S6_38', 7000, 1)
35@ += 1

:SWEET6_6719
if 
  35@ == 19
goto_if_false @SWEET6_6970
if 
  $vomit_cam_point_junkfudX <> 0
goto_if_false @SWEET6_6776
Text.ClearPrints
Blip.Remove(105@)
35@ += 1
goto @SWEET6_6970

:SWEET6_6776
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_6970
if 
  not Char.IsInCar($stattreadstamina_ctr, 71@)
goto_if_false @SWEET6_6886
if 
  Blip.DoesExist(105@)
goto_if_false @SWEET6_6832
Blip.Remove(105@)

:SWEET6_6832
if 
  not Blip.DoesExist(106@)
goto_if_false @SWEET6_6879
106@ = Blip.AddForCar(71@)
Blip.SetAsFriendly(106@, True)
Text.PrintNow('S6_23', 5000, 1)

:SWEET6_6879
goto @SWEET6_6970

:SWEET6_6886
if 
  Blip.DoesExist(106@)
goto_if_false @SWEET6_6918
Blip.Remove(106@)
Text.ClearThisPrint('S6_23')

:SWEET6_6918
if 
  not Blip.DoesExist(105@)
goto_if_false @SWEET6_6970
105@ = Blip.AddForCoord(2645.112, -2045.745, 12.607)
Text.PrintNow('S6_38', 7000, 1)

:SWEET6_6970
if 
  35@ == 20
goto_if_false @SWEET6_7135
if and
  $vomit_cam_point_junkfudX == 3
  $vomit_cam_point_junkfudY == 3
goto_if_false @SWEET6_7065
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_7058
if 
  Char.IsInCar($stattreadstamina_ctr, 71@)
goto_if_false @SWEET6_7058
Car.SetHeading(71@, 0.0)

:SWEET6_7058
35@ = 99

:SWEET6_7065
if 
  $vomit_cam_point_junkfudX == 0
goto_if_false @SWEET6_7135
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_7128
if 
  Char.IsInCar($stattreadstamina_ctr, 71@)
goto_if_false @SWEET6_7128
Car.SetHeading(71@, 0.0)

:SWEET6_7128
35@ = 99

:SWEET6_7135
if 
  35@ > 12
goto_if_false @SWEET6_7367
43@ = 0
if and
  $vomit_cam_point_junkfudX == 3
  $vomit_cam_point_junkfudY == 3
goto_if_false @SWEET6_7192
43@ = 1

:SWEET6_7192
if 
  $vomit_cam_point_junkfudX == 0
goto_if_false @SWEET6_7217
43@ = 1

:SWEET6_7217
if 
  43@ == 1
goto_if_false @SWEET6_7367
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET6_7367
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_7330
if 
  not Char.IsInCar($stattreadstamina_ctr, 71@)
goto_if_false @SWEET6_7323
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.DoesHaveHydraulics($stealth_help_flag)
goto_if_false @SWEET6_7323
Car.MarkAsNoLongerNeeded(71@)
71@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:SWEET6_7323
goto @SWEET6_7367

:SWEET6_7330
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.DoesHaveHydraulics($stealth_help_flag)
goto_if_false @SWEET6_7367
Car.MarkAsNoLongerNeeded(71@)
71@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:SWEET6_7367
if 
  35@ == 99
goto_if_false @SWEET6_7481
Player.MakeGangReappear
$bball_challenge_score += 1
Garage.Activate('MODLAST')
Text.ClearPrints
if 
  Char.DoesExist(79@)
goto_if_false @SWEET6_7428
Char.Delete(79@)

:SWEET6_7428
$intro_bmx = 1
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.RemoveAnimation("CAR")
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveCarRecording(552)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
gosub @SWEET6_35860

:SWEET6_7481
return 

:SWEET6_7483
if 
  35@ == 0
goto_if_false @SWEET6_8701
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_7559
if 
  Char.IsInCar($stattreadstamina_ctr, 71@)
goto_if_false @SWEET6_7559
Text.PrintNow('S6_03', 7000, 1)
goto @SWEET6_7559

:SWEET6_7559
if 
  not Blip.DoesExist(105@)
goto_if_false @SWEET6_7595
105@ = Blip.AddForCoord(1793.068, -1904.254, 12.3989)

:SWEET6_7595
130@ = 0
131@ = 0
141@ = 1796.947
148@ = -1924.376
155@ = 13.2937
162@ = 60.9627
142@ = 1802.865
149@ = -1918.742
156@ = 13.2965
163@ = 357.6195
143@ = 1788.992
150@ = -1924.501
157@ = 13.2937
164@ = 305.5176
144@ = 1784.189
151@ = -1913.44
158@ = 13.2957
165@ = 188.9639
145@ = 1790.964
152@ = -1913.898
159@ = 13.2985
166@ = 266.2616
146@ = 1799.899
153@ = -1906.425
160@ = 13.3025
167@ = 184.4735
147@ = 1785.94
154@ = -1904.839
161@ = 13.297
168@ = 152.5742
169@ = 1798.603
191@ = -1908.26
213@ = 12.4388
235@ = 102.3995
170@ = 1798.887
192@ = -1907.668
214@ = 12.4399
236@ = 174.1189
171@ = 1798.834
193@ = -1911.782
215@ = 12.4374
237@ = 158.2591
172@ = 1799.584
194@ = -1912.795
216@ = 12.4368
238@ = 74.6392
173@ = 1800.902
195@ = -1918.714
217@ = 12.4331
239@ = 256.6391
174@ = 1798.166
196@ = -1920.427
218@ = 12.4321
240@ = 19.6592
175@ = 1796.811
197@ = -1920.426
219@ = 12.4321
241@ = 331.8393
176@ = 1787.78
198@ = -1919.071
220@ = 12.4329
242@ = 331.8393
177@ = 1786.71
199@ = -1917.982
221@ = 12.4332
243@ = 285.8198
178@ = 1786.194
200@ = -1907.356
222@ = 12.4327
244@ = 260.4003
179@ = 1786.898
201@ = -1906.531
223@ = 12.4335
245@ = 141.9807
180@ = 1786.23
202@ = -1908.622
224@ = 12.4328
246@ = 327.1608
181@ = 1789.188
203@ = -1919.665
225@ = 12.4325
247@ = 357.2196
182@ = 1788.103
204@ = -1907.949
226@ = 12.4352
248@ = 200.9411
183@ = 1797.997
205@ = -1912.74
227@ = 12.4368
249@ = 312.2806
184@ = 1796.46
206@ = -1908.882
228@ = 12.4368
250@ = 312.2806
Streaming.RequestModel(114)
Streaming.RequestModel(115)
Streaming.RequestModel(116)
Streaming.RequestModel(63)
Streaming.RequestModel(41)
Streaming.RequestModel(567)
Streaming.RequestModel(534)
Streaming.RequestAnimation("LOWRIDER")
Streaming.LoadAllModelsNow

:SWEET6_8573
if or
  not Streaming.HasModelLoaded(114)
  not Streaming.HasModelLoaded(115)
  not Streaming.HasModelLoaded(116)
  not Streaming.HasModelLoaded(63)
  not Streaming.HasModelLoaded(41)
goto_if_false @SWEET6_8615
wait 0
goto @SWEET6_8573

:SWEET6_8615
if or
  not Streaming.HasModelLoaded(567)
  not Streaming.HasModelLoaded(534)
goto_if_false @SWEET6_8647
wait 0
goto @SWEET6_8615

:SWEET6_8647
if 
  not Streaming.HasAnimationLoaded("LOWRIDER")
goto_if_false @SWEET6_8681
wait 0
goto @SWEET6_8647

:SWEET6_8681
Zone.SwitchAudio('LOWRIDE', True)
35@ += 1

:SWEET6_8701
if 
  35@ == 1
goto_if_false @SWEET6_16330
if 
  68@ == 1
goto_if_false @SWEET6_8800
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @SWEET6_8800
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_8800
Car.SetCoordinates(71@, 1800.978, -1895.775, 12.4046)
Car.SetHeading(71@, 136.3521)

:SWEET6_8800
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_8983
if 
  not Char.IsInCar($stattreadstamina_ctr, 71@)
goto_if_false @SWEET6_8910
if 
  Blip.DoesExist(105@)
goto_if_false @SWEET6_8856
Blip.Remove(105@)

:SWEET6_8856
if 
  not Blip.DoesExist(106@)
goto_if_false @SWEET6_8903
Text.PrintNow('S6_35', 5000, 1)
106@ = Blip.AddForCar(71@)
Blip.SetAsFriendly(106@, True)

:SWEET6_8903
goto @SWEET6_8983

:SWEET6_8910
if 
  not Blip.DoesExist(105@)
goto_if_false @SWEET6_8962
Text.PrintNow('S6_03', 7000, 1)
105@ = Blip.AddForCoord(1793.068, -1904.254, 12.3989)

:SWEET6_8962
if 
  Blip.DoesExist(106@)
goto_if_false @SWEET6_8983
Blip.Remove(106@)

:SWEET6_8983
43@ = 0
if and
  $vomit_cam_point_junkfudX == 3
  $vomit_cam_point_junkfudY == 3
goto_if_false @SWEET6_9022
43@ = 1

:SWEET6_9022
if 
  $vomit_cam_point_junkfudX == 0
goto_if_false @SWEET6_9047
43@ = 1

:SWEET6_9047
if 
  43@ == 1
goto_if_false @SWEET6_9197
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET6_9197
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_9160
if 
  not Char.IsInCar($stattreadstamina_ctr, 71@)
goto_if_false @SWEET6_9153
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.DoesHaveHydraulics($stealth_help_flag)
goto_if_false @SWEET6_9153
Car.MarkAsNoLongerNeeded(71@)
71@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:SWEET6_9153
goto @SWEET6_9197

:SWEET6_9160
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.DoesHaveHydraulics($stealth_help_flag)
goto_if_false @SWEET6_9197
Car.MarkAsNoLongerNeeded(71@)
71@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:SWEET6_9197
if 
  131@ == 0
goto_if_false @SWEET6_10700
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1792.924, -1918.987, 150.0, 150.0, False)
goto_if_false @SWEET6_10693
72@ = Car.Create(534, 0.0, 0.0, 0.0)
73@ = Car.Create(567, 0.0, 0.0, 0.0)
74@ = Car.Create(567, 0.0, 0.0, 0.0)
75@ = Car.Create(567, 0.0, 0.0, 0.0)
Car.ChangeColor(72@, 1, 0)
Car.ChangeColor(73@, 2, 1)
Car.ChangeColor(74@, 3, 2)
Car.ChangeColor(75@, 10, 3)
Car.SetStatus(72@, EntityStatus.Physics)
Car.SetStatus(75@, EntityStatus.Physics)
Car.SetHydraulics(72@, True)
Car.SetHydraulics(75@, True)
Car.SetOnlyDamagedByPlayer(72@, True)
Car.SetOnlyDamagedByPlayer(75@, True)
wait 0
76@ = Car.Create(534, 0.0, 0.0, 0.0)
77@ = Car.Create(567, 0.0, 0.0, 0.0)
78@ = Car.Create(534, 0.0, 0.0, 0.0)
Car.ChangeColor(76@, 9, 4)
Car.ChangeColor(77@, 6, 5)
Car.ChangeColor(78@, 7, 6)
Car.SetStatus(76@, EntityStatus.Physics)
Car.SetHydraulics(76@, True)
Car.SetOnlyDamagedByPlayer(76@, True)
wait 0
43@ = 0

:SWEET6_9555
if 
  7 > 43@
goto_if_false @SWEET6_9664
if 
  not Car.IsDead(72@(43@,7i))
goto_if_false @SWEET6_9650
Car.SetCoordinates(72@(43@,7i), 141@(43@,7f), 148@(43@,7f), 155@(43@,7f))
Car.SetHeading(72@(43@,7i), 162@(43@,7f))
Car.LockDoors(72@(43@,7i), CarLock.LockoutPlayerOnly)

:SWEET6_9650
43@ += 1
goto @SWEET6_9555

:SWEET6_9664
wait 0
80@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
82@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
83@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
85@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
86@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
88@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
89@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
91@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
92@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
wait 0
81@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
84@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
87@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
90@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
wait 0
93@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
94@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
95@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
wait 0
96@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
97@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
98@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
99@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
100@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
101@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
wait 0
43@ = 0

:SWEET6_10219
if 
  16 > 43@
goto_if_false @SWEET6_10337
if 
  Char.DoesExist(80@(43@,22i))
goto_if_false @SWEET6_10323
if 
  not Char.IsDead(80@(43@,22i))
goto_if_false @SWEET6_10323
Char.SetCoordinates(80@(43@,22i), 169@(43@,22f), 191@(43@,22f), 213@(43@,22f))
Char.SetHeading(80@(43@,22i), 235@(43@,22f))

:SWEET6_10323
43@ += 1
goto @SWEET6_10219

:SWEET6_10337
43@ = 0

:SWEET6_10344
if 
  22 > 43@
goto_if_false @SWEET6_10428
if 
  Char.DoesExist(80@(43@,22i))
goto_if_false @SWEET6_10414
if 
  not Char.IsDead(80@(43@,22i))
goto_if_false @SWEET6_10414
Char.SetDecisionMaker(80@(43@,22i), 67@)

:SWEET6_10414
43@ += 4
goto @SWEET6_10344

:SWEET6_10428
if 
  not Char.IsDead(96@)
goto_if_false @SWEET6_10468
if 
  not Car.IsDead(73@)
goto_if_false @SWEET6_10468
Char.WarpIntoCar(96@, 73@)

:SWEET6_10468
if 
  not Char.IsDead(97@)
goto_if_false @SWEET6_10508
if 
  not Car.IsDead(74@)
goto_if_false @SWEET6_10508
Char.WarpIntoCar(97@, 74@)

:SWEET6_10508
if 
  not Char.IsDead(98@)
goto_if_false @SWEET6_10548
if 
  not Car.IsDead(76@)
goto_if_false @SWEET6_10548
Char.WarpIntoCar(98@, 76@)

:SWEET6_10548
if 
  not Char.IsDead(99@)
goto_if_false @SWEET6_10588
if 
  not Car.IsDead(72@)
goto_if_false @SWEET6_10588
Char.WarpIntoCar(99@, 72@)

:SWEET6_10588
if 
  not Char.IsDead(100@)
goto_if_false @SWEET6_10628
if 
  not Car.IsDead(75@)
goto_if_false @SWEET6_10628
Char.WarpIntoCar(100@, 75@)

:SWEET6_10628
if 
  Char.DoesExist(101@)
goto_if_false @SWEET6_10686
if 
  not Char.IsDead(101@)
goto_if_false @SWEET6_10686
if 
  not Car.IsDead(74@)
goto_if_false @SWEET6_10686
Char.WarpIntoCarAsPassenger(101@, 74@, 0)

:SWEET6_10686
131@ = 1

:SWEET6_10693
goto @SWEET6_10841

:SWEET6_10700
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 1792.924, -1918.987, 150.0, 150.0, False)
goto_if_false @SWEET6_10841
43@ = 0

:SWEET6_10745
if 
  7 > 43@
goto_if_false @SWEET6_10786
Car.Delete(72@(43@,7i))
43@ += 1
goto @SWEET6_10745

:SWEET6_10786
43@ = 0

:SWEET6_10793
if 
  22 > 43@
goto_if_false @SWEET6_10834
Char.Delete(80@(43@,22i))
43@ += 1
goto @SWEET6_10793

:SWEET6_10834
131@ = 0

:SWEET6_10841
if 
  131@ == 1
goto_if_false @SWEET6_16065
if 
  130@ == 0
goto_if_false @SWEET6_15797
if 
  300 > 136@
goto_if_false @SWEET6_10943
257@ = 1.0
260@ = 1.0
263@ = 0.0
266@ = 0.0
goto @SWEET6_11016

:SWEET6_10943
if 
  136@ > 500
goto_if_false @SWEET6_10976
136@ = 0
goto @SWEET6_11016

:SWEET6_10976
257@ = 0.0
260@ = 0.0
263@ = 0.0
266@ = 0.0

:SWEET6_11016
if 
  137@ > 2000
goto_if_false @SWEET6_11090
296@ = Math.RandomIntInRange(0, 16)
gosub @SWEET6_28846
set_lvar_float_to_lvar_float 258@ = 294@
set_lvar_float_to_lvar_float 261@ = 292@
set_lvar_float_to_lvar_float 264@ = 295@
set_lvar_float_to_lvar_float 267@ = 293@
137@ = 0

:SWEET6_11090
if 
  138@ > 300
goto_if_false @SWEET6_11164
296@ = Math.RandomIntInRange(0, 16)
gosub @SWEET6_28846
set_lvar_float_to_lvar_float 259@ = 294@
set_lvar_float_to_lvar_float 262@ = 292@
set_lvar_float_to_lvar_float 265@ = 295@
set_lvar_float_to_lvar_float 268@ = 293@
138@ = 0

:SWEET6_11164
if 
  not Car.IsDead(72@)
goto_if_false @SWEET6_11306
if 
  Car.DoesHaveHydraulics(72@)
goto_if_false @SWEET6_11306
Car.ControlHydraulics(72@, 260@, 266@, 257@, 263@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(72@)
set_lvar_float_to_lvar_float 50@ = 141@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 148@
sub_float_var_from_float_lvar 51@ -= $on_footZ
mult_float_lvar_by_float_lvar 50@ *= 272@
mult_float_lvar_by_float_lvar 51@ *= 272@
Car.ApplyForce(72@, 50@, 51@, 0.0, 0.0, 0.0, 0.0)

:SWEET6_11306
if 
  not Car.IsDead(75@)
goto_if_false @SWEET6_11448
if 
  Car.DoesHaveHydraulics(75@)
goto_if_false @SWEET6_11448
Car.ControlHydraulics(75@, 261@, 267@, 258@, 264@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(75@)
set_lvar_float_to_lvar_float 50@ = 144@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 151@
sub_float_var_from_float_lvar 51@ -= $on_footZ
mult_float_lvar_by_float_lvar 50@ *= 272@
mult_float_lvar_by_float_lvar 51@ *= 272@
Car.ApplyForce(75@, 50@, 51@, 0.0, 0.0, 0.0, 0.0)

:SWEET6_11448
if 
  not Car.IsDead(76@)
goto_if_false @SWEET6_11590
if 
  Car.DoesHaveHydraulics(76@)
goto_if_false @SWEET6_11590
Car.ControlHydraulics(76@, 262@, 268@, 259@, 265@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(76@)
set_lvar_float_to_lvar_float 50@ = 145@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 152@
sub_float_var_from_float_lvar 51@ -= $on_footZ
mult_float_lvar_by_float_lvar 50@ *= 272@
mult_float_lvar_by_float_lvar 51@ *= 272@
Car.ApplyForce(76@, 50@, 51@, 0.0, 0.0, 0.0, 0.0)

:SWEET6_11590
switch_start 39@ {numCases} 20 {hasDefaultCase} 0 {defaultLabel} @SWEET6_15790 {caseNum1} 0 {caseLabel1} @SWEET6_11783 {caseNum2} 1 {caseLabel2} @SWEET6_12159 {caseNum3} 2 {caseLabel3} @SWEET6_12535 {caseNum4} 3 {caseLabel4} @SWEET6_12685 {caseNum5} 4 {caseLabel5} @SWEET6_12835 {caseNum6} 5 {caseLabel6} @SWEET6_12950 {caseNum7} 6 {caseLabel7} @SWEET6_13100
switch_continued 7 {caseLabel1} @SWEET6_13250 {caseNum2} 8 {caseLabel2} @SWEET6_13366 {caseNum3} 9 {caseLabel3} @SWEET6_13482 {caseNum4} 10 {caseLabel4} @SWEET6_13858 {caseNum5} 11 {caseLabel5} @SWEET6_14041 {caseNum6} 12 {caseLabel6} @SWEET6_14157 {caseNum7} 13 {caseLabel7} @SWEET6_14273 {caseNum8} 14 {caseLabel8} @SWEET6_14580 {caseNum9} 15 {caseLabel9} @SWEET6_14905
switch_continued 16 {caseLabel1} @SWEET6_15189 {caseNum2} 17 {caseLabel2} @SWEET6_15298 {caseNum3} 18 {caseLabel3} @SWEET6_15407 {caseNum4} 19 {caseLabel4} @SWEET6_15614 {caseNum5} -1 {caseLabel5} @SWEET6_15790 {caseNum6} -1 {caseLabel6} @SWEET6_15790 {caseNum7} -1 {caseLabel7} @SWEET6_15790 {caseNum8} -1 {caseLabel8} @SWEET6_15790 {caseNum9} -1 {caseLabel9} @SWEET6_15790

:SWEET6_11783
if 
  not Char.IsDead(80@)
goto_if_false @SWEET6_12152
43@ = Char.GetScriptTaskStatus(80@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_12057
49@ = Sequence.Open()
if 
  not Car.IsDead(77@)
goto_if_false @SWEET6_11991
if 
  Car.Locate3D(77@, 146@, 153@, 160@, 0.2, 0.2, 1.0, False)
goto_if_false @SWEET6_11943
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
goto @SWEET6_11984

:SWEET6_11943
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:SWEET6_11984
goto @SWEET6_12032

:SWEET6_11991
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:SWEET6_12032
Sequence.Close(49@)
Char.PerformSequence(80@, 49@)
Sequence.Clear(49@)
goto @SWEET6_12152

:SWEET6_12057
if 
  Char.IsPlayingAnim(80@, "M_SMKLEAN_LOOP")
goto_if_false @SWEET6_12152
if 
  not Car.IsDead(77@)
goto_if_false @SWEET6_12152
if 
  not Car.Locate3D(77@, 146@, 153@, 160@, 0.2, 0.2, 1.0, False)
goto_if_false @SWEET6_12152
Char.ClearTasks(80@)

:SWEET6_12152
goto @SWEET6_15790

:SWEET6_12159
if 
  not Char.IsDead(81@)
goto_if_false @SWEET6_12528
43@ = Char.GetScriptTaskStatus(81@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_12433
49@ = Sequence.Open()
if 
  not Car.IsDead(77@)
goto_if_false @SWEET6_12367
if 
  Car.Locate3D(77@, 146@, 153@, 160@, 0.2, 0.2, 1.0, False)
goto_if_false @SWEET6_12319
Task.PlayAnim(-1, "F_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
goto @SWEET6_12360

:SWEET6_12319
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:SWEET6_12360
goto @SWEET6_12408

:SWEET6_12367
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:SWEET6_12408
Sequence.Close(49@)
Char.PerformSequence(81@, 49@)
Sequence.Clear(49@)
goto @SWEET6_12528

:SWEET6_12433
if 
  Char.IsPlayingAnim(81@, "F_SMKLEAN_LOOP")
goto_if_false @SWEET6_12528
if 
  not Car.IsDead(77@)
goto_if_false @SWEET6_12528
if 
  not Car.Locate3D(77@, 146@, 153@, 160@, 0.2, 0.2, 1.0, False)
goto_if_false @SWEET6_12528
Char.ClearTasks(81@)

:SWEET6_12528
goto @SWEET6_15790

:SWEET6_12535
if 
  not Char.IsDead(82@)
goto_if_false @SWEET6_12678
43@ = Char.GetScriptTaskStatus(82@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_12678
49@ = Sequence.Open()
if 
  not Char.IsDead(83@)
goto_if_false @SWEET6_12619
Task.ChatWithChar(-1, 83@, True, 1)
goto @SWEET6_12660

:SWEET6_12619
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:SWEET6_12660
Sequence.Close(49@)
Char.PerformSequence(82@, 49@)
Sequence.Clear(49@)

:SWEET6_12678
goto @SWEET6_15790

:SWEET6_12685
if 
  not Char.IsDead(83@)
goto_if_false @SWEET6_12828
43@ = Char.GetScriptTaskStatus(83@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_12828
49@ = Sequence.Open()
if 
  not Char.IsDead(82@)
goto_if_false @SWEET6_12769
Task.ChatWithChar(-1, 82@, False, 1)
goto @SWEET6_12810

:SWEET6_12769
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:SWEET6_12810
Sequence.Close(49@)
Char.PerformSequence(83@, 49@)
Sequence.Clear(49@)

:SWEET6_12828
goto @SWEET6_15790

:SWEET6_12835
if 
  not Char.IsDead(84@)
goto_if_false @SWEET6_12943
43@ = Char.GetScriptTaskStatus(84@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_12943
49@ = Sequence.Open()
Task.PlayAnim(-1, "CAR_HOOKERTALK", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(84@, 49@)
Sequence.Clear(49@)

:SWEET6_12943
goto @SWEET6_15790

:SWEET6_12950
if 
  not Char.IsDead(85@)
goto_if_false @SWEET6_13093
43@ = Char.GetScriptTaskStatus(85@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_13093
49@ = Sequence.Open()
if 
  not Char.IsDead(86@)
goto_if_false @SWEET6_13034
Task.ChatWithChar(-1, 86@, False, 1)
goto @SWEET6_13075

:SWEET6_13034
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:SWEET6_13075
Sequence.Close(49@)
Char.PerformSequence(85@, 49@)
Sequence.Clear(49@)

:SWEET6_13093
goto @SWEET6_15790

:SWEET6_13100
if 
  not Char.IsDead(86@)
goto_if_false @SWEET6_13243
43@ = Char.GetScriptTaskStatus(86@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_13243
49@ = Sequence.Open()
if 
  not Char.IsDead(85@)
goto_if_false @SWEET6_13184
Task.ChatWithChar(-1, 85@, True, 1)
goto @SWEET6_13225

:SWEET6_13184
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:SWEET6_13225
Sequence.Close(49@)
Char.PerformSequence(86@, 49@)
Sequence.Clear(49@)

:SWEET6_13243
goto @SWEET6_15790

:SWEET6_13250
if 
  not Char.IsDead(87@)
goto_if_false @SWEET6_13359
43@ = Char.GetScriptTaskStatus(87@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_13359
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(87@, 49@)
Sequence.Clear(49@)

:SWEET6_13359
goto @SWEET6_15790

:SWEET6_13366
if 
  not Char.IsDead(88@)
goto_if_false @SWEET6_13475
43@ = Char.GetScriptTaskStatus(88@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_13475
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(88@, 49@)
Sequence.Clear(49@)

:SWEET6_13475
goto @SWEET6_15790

:SWEET6_13482
if 
  not Char.IsDead(89@)
goto_if_false @SWEET6_13851
43@ = Char.GetScriptTaskStatus(89@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_13756
49@ = Sequence.Open()
if 
  not Car.IsDead(78@)
goto_if_false @SWEET6_13690
if 
  Car.Locate3D(78@, 147@, 154@, 161@, 0.2, 0.2, 1.0, False)
goto_if_false @SWEET6_13642
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
goto @SWEET6_13683

:SWEET6_13642
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:SWEET6_13683
goto @SWEET6_13731

:SWEET6_13690
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)

:SWEET6_13731
Sequence.Close(49@)
Char.PerformSequence(89@, 49@)
Sequence.Clear(49@)
goto @SWEET6_13851

:SWEET6_13756
if 
  Char.IsPlayingAnim(89@, "M_SMKLEAN_LOOP")
goto_if_false @SWEET6_13851
if 
  not Car.IsDead(78@)
goto_if_false @SWEET6_13851
if 
  not Car.Locate3D(78@, 147@, 154@, 161@, 0.2, 0.2, 1.0, False)
goto_if_false @SWEET6_13851
Char.ClearTasks(89@)

:SWEET6_13851
goto @SWEET6_15790

:SWEET6_13858
if 
  not Char.IsDead(90@)
goto_if_false @SWEET6_14034
43@ = Char.GetScriptTaskStatus(90@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_14034
49@ = Sequence.Open()
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "FUCKU", "PED", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "WOMAN_IDLESTANCE", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(90@, 49@)
Sequence.Clear(49@)

:SWEET6_14034
goto @SWEET6_15790

:SWEET6_14041
if 
  not Char.IsDead(91@)
goto_if_false @SWEET6_14150
43@ = Char.GetScriptTaskStatus(91@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_14150
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(91@, 49@)
Sequence.Clear(49@)

:SWEET6_14150
goto @SWEET6_15790

:SWEET6_14157
if 
  not Char.IsDead(92@)
goto_if_false @SWEET6_14266
43@ = Char.GetScriptTaskStatus(92@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_14266
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, True, True, False, -1)
Sequence.Close(49@)
Char.PerformSequence(92@, 49@)
Sequence.Clear(49@)

:SWEET6_14266
goto @SWEET6_15790

:SWEET6_14273
if 
  not Char.IsDead(93@)
goto_if_false @SWEET6_14573
43@ = Char.GetScriptTaskStatus(93@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_14573
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1786.719, -1915.878, 12.3942, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1796.179, -1919.465, 12.3928, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1786.719, -1915.878, 12.3942, MoveState.Walk, 60000)
Task.GoStraightToCoord(-1, 182@, 204@, 226@, MoveState.Walk, 60000)
if 
  not Char.IsDead(89@)
goto_if_false @SWEET6_14514
Task.TurnCharToFaceChar(-1, 89@)

:SWEET6_14514
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(93@, 49@)
Sequence.Clear(49@)

:SWEET6_14573
goto @SWEET6_15790

:SWEET6_14580
if 
  not Char.IsDead(94@)
goto_if_false @SWEET6_14898
43@ = Char.GetScriptTaskStatus(94@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_14898
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1800.367, -1917.394, 12.3938, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1789.057, -1917.901, 12.3936, MoveState.Walk, 60000)
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, False, True, True, False, -1)
Task.GoStraightToCoord(-1, 1788.526, -1907.294, 12.3955, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1796.478, -1908.174, 12.3983, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(94@, 49@)
Sequence.Clear(49@)

:SWEET6_14898
goto @SWEET6_15790

:SWEET6_14905
if 
  not Char.IsDead(95@)
goto_if_false @SWEET6_15182
43@ = Char.GetScriptTaskStatus(95@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_15182
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1787.672, -1908.567, 12.3949, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1786.719, -1917.107, 12.3942, MoveState.Walk, 60000)
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 1787.672, -1908.567, 12.3949, MoveState.Walk, 60000)
Task.GoStraightToCoord(-1, 184@, 206@, 228@, MoveState.Walk, 60000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(95@, 49@)
Sequence.Clear(49@)

:SWEET6_15182
goto @SWEET6_15790

:SWEET6_15189
if 
  not Char.IsDead(96@)
goto_if_false @SWEET6_15291
43@ = Char.GetScriptTaskStatus(96@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_15291
49@ = Sequence.Open()
Task.PlayAnim(-1, "TAP_HAND", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(96@, 49@)
Sequence.Clear(49@)

:SWEET6_15291
goto @SWEET6_15790

:SWEET6_15298
if 
  not Char.IsDead(97@)
goto_if_false @SWEET6_15400
43@ = Char.GetScriptTaskStatus(97@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_15400
49@ = Sequence.Open()
Task.PlayAnim(-1, "TAP_HAND", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(97@, 49@)
Sequence.Clear(49@)

:SWEET6_15400
goto @SWEET6_15790

:SWEET6_15407
43@ = 0

:SWEET6_15414
if 
  7 > 43@
goto_if_false @SWEET6_15607
if 
  Car.DoesExist(72@(43@,7i))
goto_if_false @SWEET6_15593
if 
  not Car.IsDead(72@(43@,7i))
goto_if_false @SWEET6_15563
if 
  Car.HasBeenDamagedByChar(72@(43@,7i), $stattreadstamina_ctr)
goto_if_false @SWEET6_15556
44@ = Car.GetHealth(72@(43@,7i))
if 
  950 > 44@
goto_if_false @SWEET6_15556
Text.PrintNow('S6_32', 5000, 1)
130@ = 1
43@ = 7

:SWEET6_15556
goto @SWEET6_15593

:SWEET6_15563
Text.PrintNow('S6_32', 5000, 1)
130@ = 1
43@ = 7

:SWEET6_15593
43@ += 1
goto @SWEET6_15414

:SWEET6_15607
goto @SWEET6_15790

:SWEET6_15614
43@ = 0

:SWEET6_15621
if 
  22 > 43@
goto_if_false @SWEET6_15783
if 
  Char.DoesExist(80@(43@,22i))
goto_if_false @SWEET6_15769
if 
  not Char.IsDead(80@(43@,22i))
goto_if_false @SWEET6_15739
if 
  Char.HasBeenDamagedByChar(80@(43@,22i), $stattreadstamina_ctr)
goto_if_false @SWEET6_15732
Text.PrintNow('S6_04', 5000, 1)
130@ = 1
43@ = 22

:SWEET6_15732
goto @SWEET6_15769

:SWEET6_15739
Text.PrintNow('S6_04', 5000, 1)
130@ = 1
43@ = 22

:SWEET6_15769
43@ += 1
goto @SWEET6_15621

:SWEET6_15783
goto @SWEET6_15790

:SWEET6_15790
goto @SWEET6_16065

:SWEET6_15797
if 
  130@ == 1
goto_if_false @SWEET6_16065
43@ = 0

:SWEET6_15822
if 
  12 > 43@
goto_if_false @SWEET6_15883
if 
  not Char.IsDead(80@(43@,22i))
goto_if_false @SWEET6_15869
Char.ClearTasksImmediately(80@(43@,22i))

:SWEET6_15869
43@ += 1
goto @SWEET6_15822

:SWEET6_15883
43@ = 0

:SWEET6_15890
if 
  22 > 43@
goto_if_false @SWEET6_15955
if 
  not Char.IsDead(80@(43@,22i))
goto_if_false @SWEET6_15941
Char.SetRelationship(80@(43@,22i), RelationshipType.Hate, PedType.Player1)

:SWEET6_15941
43@ += 1
goto @SWEET6_15890

:SWEET6_15955
43@ = 0

:SWEET6_15962
if 
  22 > 43@
goto_if_false @SWEET6_16003
Char.MarkAsNoLongerNeeded(80@(43@,22i))
43@ += 1
goto @SWEET6_15962

:SWEET6_16003
43@ = 0

:SWEET6_16010
if 
  7 > 43@
goto_if_false @SWEET6_16051
Car.MarkAsNoLongerNeeded(72@(43@,7i))
43@ += 1
goto @SWEET6_16010

:SWEET6_16051
37@ = 1
130@ += 1

:SWEET6_16065
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_16330
if 
  Char.IsInCar($stattreadstamina_ctr, 71@)
goto_if_false @SWEET6_16330
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 1793.068, -1904.254, 12.3989, 4.0, 4.0, 4.0, True)
goto_if_false @SWEET6_16323
if 
  Car.IsOnAllWheels(71@)
goto_if_false @SWEET6_16316
43@ = Player.StoreScore($statbike_temp)
if 
  is_int_lvar_greater_or_equal_to_int_lvar 43@ >= 274@
goto_if_false @SWEET6_16220
Player.SetControl($statbike_temp, False)
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
35@ = 99
goto @SWEET6_16316

:SWEET6_16220
if and
  $audio_line_terminate_all == 0
  not Text.IsMessageBeingDisplayed
goto_if_false @SWEET6_16316
if 
  280@ == 0
goto_if_false @SWEET6_16316
set_var_text_label s$bd_future_time_shown = 'LOWR_AK'
set_var_int_to_constant $bd_x = 22806
start_new_script @AUDIOL -1 0 0 1 0 
280@ += 1
Text.PrintHelp('S6_40')

:SWEET6_16316
goto @SWEET6_16330

:SWEET6_16323
280@ = 0

:SWEET6_16330
if 
  281@ == 0
goto_if_false @SWEET6_16453
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 2644.069, -2029.135, 20.0, 20.0, False)
goto_if_false @SWEET6_16446
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @SWEET6_16446
Text.PrintHelp('S6_22')
Blip.Remove($bcesar3_mission_flag)
$bcesar3_mission_flag = Blip.AddShortRangeSpriteForCoord(2644.252, -2028.246, 12.5547, RadarSprite.ModGarage)
281@ += 1

:SWEET6_16446
goto @SWEET6_16632

:SWEET6_16453
if 
  282@ == 0
goto_if_false @SWEET6_16546
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_16539
if 
  Char.IsInCar($stattreadstamina_ctr, 71@)
goto_if_false @SWEET6_16539
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @SWEET6_16539
Text.PrintHelp('S6_36')
282@ += 1

:SWEET6_16539
goto @SWEET6_16632

:SWEET6_16546
if 
  282@ == 1
goto_if_false @SWEET6_16632
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_16632
if 
  Char.IsInCar($stattreadstamina_ctr, 71@)
goto_if_false @SWEET6_16632
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @SWEET6_16632
Text.PrintHelp('S6_41')
282@ += 1

:SWEET6_16632
if 
  35@ == 99
goto_if_false @SWEET6_16697
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SWEET6_16697
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsStopped($stealth_help_flag)
goto_if_false @SWEET6_16697
gosub @SWEET6_35860

:SWEET6_16697
return 

:SWEET6_16699
if 
  35@ == 0
goto_if_false @SWEET6_17323
Camera.DoFade(500, Fade.Out)

:SWEET6_16724
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_16748
wait 0
goto @SWEET6_16724

:SWEET6_16748
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_16769
Car.ResetHydraulics(71@)

:SWEET6_16769
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(1793.068, -1904.254, 12.3989, 30.0, True)
if 
  Blip.DoesExist(105@)
goto_if_false @SWEET6_16828
Blip.Remove(105@)

:SWEET6_16828
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_16874
Car.SetCoordinates(71@, 1793.068, -1904.254, 12.3989)
Car.SetHeading(71@, 171.6728)

:SWEET6_16874
43@ = 0

:SWEET6_16881
if 
  16 > 43@
goto_if_false @SWEET6_16942
if 
  not Char.IsDead(80@(43@,22i))
goto_if_false @SWEET6_16928
Char.ClearTasksImmediately(80@(43@,22i))

:SWEET6_16928
43@ += 1
goto @SWEET6_16881

:SWEET6_16942
43@ = 0

:SWEET6_16949
if 
  22 > 43@
goto_if_false @SWEET6_17013
if 
  not Char.IsDead(80@(43@,22i))
goto_if_false @SWEET6_16999
Char.SetDecisionMaker(80@(43@,22i), 66@)

:SWEET6_16999
43@ += 1
goto @SWEET6_16949

:SWEET6_17013
43@ = 0

:SWEET6_17020
if 
  16 > 43@
goto_if_false @SWEET6_17118
if 
  not Char.IsDead(80@(43@,22i))
goto_if_false @SWEET6_17104
Char.SetCoordinates(80@(43@,22i), 169@(43@,22f), 191@(43@,22f), 213@(43@,22f))
Char.SetHeading(80@(43@,22i), 235@(43@,22f))

:SWEET6_17104
43@ += 1
goto @SWEET6_17020

:SWEET6_17118
43@ = 0

:SWEET6_17125
if 
  7 > 43@
goto_if_false @SWEET6_17223
if 
  not Car.IsDead(72@(43@,7i))
goto_if_false @SWEET6_17209
Car.SetCoordinates(72@(43@,7i), 141@(43@,7f), 148@(43@,7f), 155@(43@,7f))
Car.SetHeading(72@(43@,7i), 162@(43@,7f))

:SWEET6_17209
43@ += 1
goto @SWEET6_17125

:SWEET6_17223
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1796.749, -1916.961, 13.8583, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1796.125, -1916.181, 13.807, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:SWEET6_17292
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_17316
wait 0
goto @SWEET6_17292

:SWEET6_17316
35@ += 1

:SWEET6_17323
if 
  35@ == 1
goto_if_false @SWEET6_17441
if 
  not Char.IsDead(98@)
goto_if_false @SWEET6_17427
49@ = Sequence.Open()
if 
  not Car.IsDead(76@)
goto_if_false @SWEET6_17385
Task.LeaveCar(-1, 76@)

:SWEET6_17385
Task.GoStraightToCoord(-1, 1792.631, -1909.274, 12.4371, MoveState.Walk, 10000)
Sequence.Close(49@)
Char.PerformSequence(98@, 49@)
Sequence.Clear(49@)

:SWEET6_17427
TIMERA = 0
35@ += 1

:SWEET6_17441
if 
  35@ == 2
goto_if_false @SWEET6_17593
if or
  TIMERA > 5000
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SWEET6_17593
if 
  not Char.IsDead(98@)
goto_if_false @SWEET6_17593
Char.ClearTasksImmediately(98@)
Char.SetCoordinates(98@, 1792.631, -1909.274, 12.4371)
Char.SetHeading(98@, 331.0204)
Camera.SetFixedPosition(1793.816, -1910.713, 14.0346, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1793.453, -1909.801, 13.8451, SwitchType.JumpCut)
35@ += 1

:SWEET6_17593
if 
  35@ == 3
goto_if_false @SWEET6_18043
if 
  not Char.IsDead(98@)
goto_if_false @SWEET6_18043
49@ = Sequence.Open()
Task.PlayAnim(-1, "PRTIAL_GNGTLKD", "LOWRIDER", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKE", "LOWRIDER", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKF", "LOWRIDER", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKG", "LOWRIDER", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(98@, 49@)
Sequence.Clear(49@)
43@ = Math.RandomIntInRange(0, 3)
if 
  43@ == 0
goto_if_false @SWEET6_17898
set_var_text_label s$bd_future_time_shown = 'LOWR_BA'
set_var_int_to_constant $bd_x = 22808
start_new_script @AUDIOL 98@ 0 1 1 0 

:SWEET6_17898
if 
  43@ == 1
goto_if_false @SWEET6_17957
set_var_text_label s$bd_future_time_shown = 'LOWR_BB'
set_var_int_to_constant $bd_x = 22809
start_new_script @AUDIOL 98@ 0 1 1 0 

:SWEET6_17957
if 
  43@ == 2
goto_if_false @SWEET6_18016
set_var_text_label s$bd_future_time_shown = 'LOWR_BC'
set_var_int_to_constant $bd_x = 22810
start_new_script @AUDIOL 98@ 0 1 1 0 

:SWEET6_18016
wait 1000
Text.UseCommands(True)
wait 1
TIMERA = 0
35@ += 1

:SWEET6_18043
if 
  35@ == 4
goto_if_false @SWEET6_18138
if or
  $audio_line_terminate_all == 0
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SWEET6_18138
35@ += 1
134@ = 1
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
if 
  not Char.IsDead(98@)
goto_if_false @SWEET6_18138
Char.ClearTasks(98@)

:SWEET6_18138
if 
  35@ == 5
goto_if_false @SWEET6_18260
Hud.SwitchWidescreen(False)
Camera.SetFixedPosition(1793.485, -1907.354, 13.4436, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1793.129, -1908.289, 13.4481, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 276@ = 274@
set_lvar_int_to_lvar_int 43@ = 276@
43@ *= -1
Player.AddScore($statbike_temp, 43@)
Text.PrintHelpForever('S6_37')
35@ += 1

:SWEET6_18260
if 
  35@ == 6
goto_if_false @SWEET6_19223
if and
  Game.HasGameJustReturnedFromFrontend
  Game.HasLanguageChanged
goto_if_false @SWEET6_18306
Text.ClearHelp
Text.PrintHelpForever('S6_37')

:SWEET6_18306
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @SWEET6_18732
if and
  277@ <> 1
  277@ <> -1
goto_if_false @SWEET6_18681
if 
  276@ >= 10000
goto_if_false @SWEET6_18382
273@ = 1000
goto @SWEET6_18486

:SWEET6_18382
if 
  276@ >= 1000
goto_if_false @SWEET6_18415
273@ = 100
goto @SWEET6_18486

:SWEET6_18415
if 
  276@ >= 100
goto_if_false @SWEET6_18447
273@ = 10
goto @SWEET6_18486

:SWEET6_18447
if 
  276@ == 0
goto_if_false @SWEET6_18479
273@ = 2
goto @SWEET6_18486

:SWEET6_18479
273@ = 1

:SWEET6_18486
43@ = Player.StoreScore($statbike_temp)
if 
  is_int_lvar_greater_than_int_lvar 273@ > 43@
goto_if_false @SWEET6_18521
set_lvar_int_to_lvar_int 273@ = 43@

:SWEET6_18521
set_lvar_int_to_lvar_int 43@ = 276@
add_int_lvar_to_int_lvar 43@ += 273@
if 
  is_int_lvar_greater_than_int_lvar 43@ > 275@
goto_if_false @SWEET6_18572
set_lvar_int_to_lvar_int 273@ = 275@
sub_int_lvar_from_int_lvar 273@ -= 276@

:SWEET6_18572
if 
  0 > 273@
goto_if_false @SWEET6_18597
273@ *= -1

:SWEET6_18597
add_int_lvar_to_int_lvar 276@ += 273@
add_int_lvar_to_int_lvar 278@ += 273@
273@ *= -1
Player.AddScore($statbike_temp, 273@)
277@ += 1
if 
  277@ > 1
goto_if_false @SWEET6_18667
277@ = 2
goto @SWEET6_18674

:SWEET6_18667
TIMERA = 0

:SWEET6_18674
goto @SWEET6_18725

:SWEET6_18681
if 
  277@ == 1
goto_if_false @SWEET6_18725
if 
  TIMERA > 500
goto_if_false @SWEET6_18725
277@ = 2

:SWEET6_18725
goto @SWEET6_19123

:SWEET6_18732
if 
  277@ <> 0
goto_if_false @SWEET6_18757
277@ = 0

:SWEET6_18757
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @SWEET6_19098
if 
  279@ <> 1
goto_if_false @SWEET6_19065
if 
  276@ > 10000
goto_if_false @SWEET6_18826
273@ = -1000
goto @SWEET6_18898

:SWEET6_18826
if 
  276@ > 1000
goto_if_false @SWEET6_18859
273@ = -100
goto @SWEET6_18898

:SWEET6_18859
if 
  276@ > 100
goto_if_false @SWEET6_18891
273@ = -10
goto @SWEET6_18898

:SWEET6_18891
273@ = -1

:SWEET6_18898
set_lvar_int_to_lvar_int 43@ = 276@
add_int_lvar_to_int_lvar 276@ += 273@
if 
  is_int_lvar_greater_than_int_lvar 274@ > 276@
goto_if_false @SWEET6_18955
276@ = 0
set_lvar_int_to_lvar_int 273@ = 43@
273@ *= -1

:SWEET6_18955
if 
  is_int_lvar_greater_than_int_lvar 274@ > 276@
goto_if_false @SWEET6_18989
set_lvar_int_to_lvar_int 276@ = 274@
goto @SWEET6_19012

:SWEET6_18989
273@ *= -1
sub_int_lvar_from_int_lvar 278@ -= 273@
Player.AddScore($statbike_temp, 273@)

:SWEET6_19012
279@ += 1
if 
  279@ > 1
goto_if_false @SWEET6_19051
279@ = 2
goto @SWEET6_19058

:SWEET6_19051
TIMERA = 0

:SWEET6_19058
goto @SWEET6_19091

:SWEET6_19065
if 
  TIMERA > 500
goto_if_false @SWEET6_19091
279@ = 2

:SWEET6_19091
goto @SWEET6_19123

:SWEET6_19098
if 
  279@ <> 0
goto_if_false @SWEET6_19123
279@ = 0

:SWEET6_19123
gosub @SWEET6_35405
if 
  134@ == 0
goto_if_false @SWEET6_19199
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SWEET6_19192
cset_lvar_float_to_lvar_int 46@ =# 276@
46@ *= 0.1
Text.ClearHelp
35@ += 1

:SWEET6_19192
goto @SWEET6_19223

:SWEET6_19199
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SWEET6_19223
134@ = 0

:SWEET6_19223
if 
  35@ == 7
goto_if_false @SWEET6_19256
Text.UseCommands(False)
Hud.SwitchWidescreen(True)
35@ += 1

:SWEET6_19256
if 
  35@ == 8
goto_if_false @SWEET6_19304
if 
  not Char.IsDead(98@)
goto_if_false @SWEET6_19304
TIMERA = 0
35@ += 1

:SWEET6_19304
if 
  35@ == 9
goto_if_false @SWEET6_19429
if 
  not Char.IsDead(98@)
goto_if_false @SWEET6_19429
Char.SetNextDesiredMoveState(MoveState.Walk)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1791.433, -1911.414, 12.4371, MoveState.Walk, 10000)
if 
  not Car.IsDead(76@)
goto_if_false @SWEET6_19397
Task.EnterCarAsDriver(-1, 76@, 5000)

:SWEET6_19397
Sequence.Close(49@)
Char.PerformSequence(98@, 49@)
Sequence.Clear(49@)
TIMERA = 0
35@ += 1

:SWEET6_19429
if 
  35@ == 10
goto_if_false @SWEET6_19506
if 
  TIMERA > 2000
goto_if_false @SWEET6_19506
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:SWEET6_19475
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_19499
wait 0
goto @SWEET6_19475

:SWEET6_19499
35@ = 99

:SWEET6_19506
gosub @SWEET6_29776
if 
  35@ == 99
goto_if_false @SWEET6_19538
gosub @SWEET6_35860

:SWEET6_19538
return 

:SWEET6_19540
if 
  35@ == 0
goto_if_false @SWEET6_19646
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearPrints
Camera.SetFixedPosition(1788.107, -1903.804, 13.3553, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1788.944, -1904.343, 13.2601, SwitchType.JumpCut)
Streaming.LoadScene(1788.944, -1904.343, 13.2601)
35@ += 1

:SWEET6_19646
if 
  35@ == 1
goto_if_false @SWEET6_22366
Streaming.RequestModel(114)
Streaming.RequestModel(115)
Streaming.RequestModel(116)
Streaming.RequestModel(63)
Streaming.RequestModel(41)
Streaming.RequestModel(567)
Streaming.RequestModel(534)
Streaming.RequestAnimation("LOWRIDER")
Streaming.LoadAllModelsNow

:SWEET6_19708
if or
  not Streaming.HasModelLoaded(114)
  not Streaming.HasModelLoaded(115)
  not Streaming.HasModelLoaded(116)
  not Streaming.HasModelLoaded(63)
  not Streaming.HasModelLoaded(41)
goto_if_false @SWEET6_19750
wait 0
goto @SWEET6_19708

:SWEET6_19750
if or
  not Streaming.HasModelLoaded(567)
  not Streaming.HasModelLoaded(534)
goto_if_false @SWEET6_19782
wait 0
goto @SWEET6_19750

:SWEET6_19782
if 
  not Streaming.HasAnimationLoaded("LOWRIDER")
goto_if_false @SWEET6_19816
wait 0
goto @SWEET6_19782

:SWEET6_19816
141@ = 1798.203
148@ = -1926.222
155@ = 12.3895
162@ = 73.1404
142@ = 1802.864
149@ = -1918.741
156@ = 12.3931
163@ = 357.6193
143@ = 1784.635
150@ = -1924.968
157@ = 12.3901
164@ = 305.062
144@ = 1784.188
151@ = -1913.439
158@ = 12.3923
165@ = 183.5814
145@ = 1792.318
152@ = -1919.513
159@ = 12.3928
166@ = 8.2504
146@ = 1801.462
153@ = -1905.691
160@ = 12.3995
167@ = 189.9314
147@ = 1787.642
154@ = -1901.136
161@ = 12.3949
168@ = 145.4181
169@ = 1800.0
191@ = -1907.83
213@ = 12.4398
235@ = 73.7198
170@ = 1799.846
192@ = -1912.124
214@ = 12.4582
236@ = 48.2386
171@ = 1800.086
193@ = -1910.434
215@ = 12.4372
237@ = 83.7398
172@ = 1801.321
194@ = -1916.427
216@ = 12.4343
238@ = 83.7398
173@ = 1798.541
195@ = -1922.18
217@ = 12.431
239@ = 46.5794
174@ = 1799.49
196@ = -1920.617
218@ = 12.4322
240@ = 46.5794
175@ = 1787.255
197@ = -1926.597
219@ = 12.4283
241@ = 323.6194
176@ = 1786.442
198@ = -1920.201
220@ = 12.4322
242@ = 306.1995
177@ = 1785.824
199@ = -1919.162
221@ = 12.4324
243@ = 294.6196
178@ = 1786.102
200@ = -1913.833
222@ = 12.4327
244@ = 280.7204
179@ = 1786.806
201@ = -1905.246
223@ = 12.4342
245@ = 262.8214
180@ = 1788.693
202@ = -1902.139
224@ = 12.4348
246@ = 247.161
181@ = 1794.616
203@ = -1899.608
225@ = 12.4398
247@ = 191.0618
182@ = 1799.135
204@ = -1902.488
226@ = 12.4431
248@ = 157.4622
183@ = 1795.674
205@ = -1899.569
227@ = 12.4407
249@ = 162.6424
184@ = 1800.369
206@ = -1907.003
228@ = 12.4403
250@ = 77.6197
185@ = 1800.826
207@ = -1917.325
229@ = 12.434
251@ = 36.1793
186@ = 1785.85
208@ = -1917.955
230@ = 12.4324
252@ = 287.0602
187@ = 1788.538
209@ = -1927.091
231@ = 12.428
253@ = 345.1206
188@ = 1787.323
210@ = -1904.11
232@ = 12.4337
254@ = 263.3813
189@ = 1798.39
211@ = -1901.733
233@ = 12.4429
255@ = 142.4208
272@ = 0.01
43@ = 0

:SWEET6_20953
if 
  7 > 43@
goto_if_false @SWEET6_21014
if 
  Car.DoesExist(72@(43@,7i))
goto_if_false @SWEET6_21000
Car.Delete(72@(43@,7i))

:SWEET6_21000
43@ += 1
goto @SWEET6_20953

:SWEET6_21014
43@ = 0

:SWEET6_21021
if 
  22 > 43@
goto_if_false @SWEET6_21082
if 
  Char.DoesExist(80@(43@,22i))
goto_if_false @SWEET6_21068
Char.Delete(80@(43@,22i))

:SWEET6_21068
43@ += 1
goto @SWEET6_21021

:SWEET6_21082
if 
  not Car.DoesExist(71@)
goto_if_false @SWEET6_21138
71@ = Car.Create(567, 1793.496, -1907.423, 12.3992)
Car.SetHeading(71@, 181.5231)
goto @SWEET6_21184

:SWEET6_21138
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_21184
Car.SetCoordinates(71@, 1793.496, -1907.423, 12.3992)
Car.SetHeading(71@, 181.5231)

:SWEET6_21184
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_21256
Char.WarpIntoCar($stattreadstamina_ctr, 71@)
Task.PlayAnim($stattreadstamina_ctr, "SIT_RELAXED", "LOWRIDER", 4.0, True, False, False, True, -1)

:SWEET6_21256
72@ = Car.Create(534, 0.0, 0.0, 0.0)
73@ = Car.Create(567, 0.0, 0.0, 0.0)
74@ = Car.Create(567, 0.0, 0.0, 0.0)
75@ = Car.Create(567, 0.0, 0.0, 0.0)
76@ = Car.Create(534, 0.0, 0.0, 0.0)
77@ = Car.Create(567, 0.0, 0.0, 0.0)
78@ = Car.Create(534, 0.0, 0.0, 0.0)
Car.ChangeColor(72@, 1, 0)
Car.ChangeColor(73@, 2, 1)
Car.ChangeColor(74@, 3, 2)
Car.ChangeColor(75@, 10, 3)
Car.ChangeColor(76@, 9, 4)
Car.ChangeColor(77@, 6, 5)
Car.ChangeColor(78@, 7, 6)
43@ = 0

:SWEET6_21487
if 
  7 > 43@
goto_if_false @SWEET6_21587
Car.SetCoordinates(72@(43@,7i), 141@(43@,7f), 148@(43@,7f), 155@(43@,7f))
Car.SetHeading(72@(43@,7i), 162@(43@,7f))
Car.FreezePosition(72@(43@,7i), True)
Car.LockDoors(72@(43@,7i), CarLock.LockoutPlayerOnly)
43@ += 1
goto @SWEET6_21487

:SWEET6_21587
Car.FreezePosition(76@, False)
Car.SetStatus(76@, EntityStatus.Physics)
Car.SetHydraulics(76@, True)
Car.SetOnlyDamagedByPlayer(76@, True)
Car.SetProofs(76@, True, True, True, True, True)
80@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
81@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
82@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
83@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
84@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
85@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
86@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
87@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
88@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
89@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
90@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
91@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
92@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
93@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
94@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
95@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
96@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
97@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
98@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
99@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
100@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
101@ = Char.CreateInsideCar(76@, PedType.Mission1, 116)
43@ = 0

:SWEET6_22153
if 
  21 > 43@
goto_if_false @SWEET6_22231
Char.SetCoordinates(80@(43@,22i), 169@(43@,22f), 191@(43@,22f), 213@(43@,22f))
Char.SetHeading(80@(43@,22i), 235@(43@,22f))
43@ += 1
goto @SWEET6_22153

:SWEET6_22231
102@ = Char.Create(PedType.Mission1, 63, 1788.273, -1903.364, 12.4345)
Char.SetHeading(102@, 232.5412)
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_22314
if 
  not Car.IsPassengerSeatFree(71@, SeatIndex.FrontRight)
goto_if_false @SWEET6_22314
283@ = Car.GetCharInPassengerSeat(71@, 0)
Char.Delete(283@)

:SWEET6_22314
Audio.PreloadBeatTrack(0)
43@ = 0

:SWEET6_22325
if 
  not is_int_lvar_equal_to_constant 43@ == 2
goto_if_false @SWEET6_22359
wait 0
43@ = Audio.GetBeatTrackStatus()
goto @SWEET6_22325

:SWEET6_22359
35@ += 1

:SWEET6_22366
if 
  35@ == 2
goto_if_false @SWEET6_22519
Camera.DoFade(500, Fade.In)

:SWEET6_22391
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_22415
wait 0
goto @SWEET6_22391

:SWEET6_22415
if 
  not Char.IsDead(102@)
goto_if_false @SWEET6_22510
Char.SetNextDesiredMoveState(MoveState.Walk)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1791.178, -1905.84, 12.3975, MoveState.Walk, 10000)
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_22492
Task.EnterCarAsPassenger(-1, 71@, 5000, 0)

:SWEET6_22492
Sequence.Close(49@)
Char.PerformSequence(102@, 49@)
Sequence.Clear(49@)

:SWEET6_22510
Text.ClearPrints
35@ += 1

:SWEET6_22519
if 
  35@ == 3
goto_if_false @SWEET6_22640
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SWEET6_22626
if 
  not Char.IsDead(102@)
goto_if_false @SWEET6_22619
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_22619
if 
  Char.IsInCar(102@, 71@)
goto_if_false @SWEET6_22619
35@ += 1
TIMERA = 0

:SWEET6_22619
goto @SWEET6_22640

:SWEET6_22626
35@ += 1
TIMERA = 0

:SWEET6_22640
if 
  35@ == 4
goto_if_false @SWEET6_23234
Camera.DoFade(500, Fade.Out)

:SWEET6_22665
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_22689
wait 0
goto @SWEET6_22665

:SWEET6_22689
Hud.Display(False)
Hud.SwitchWidescreen(False)
Camera.SetFixedPosition(1788.516, -1910.318, 14.8901, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1789.355, -1909.843, 14.6269, SwitchType.JumpCut)
Hud.DisplayRadar(False)
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_22797
Car.LockDoors(71@, CarLock.LockedPlayerInside)
Player.ApplyBrakesToCar($statbike_temp, True)
Car.SetProofs(71@, True, True, True, True, True)

:SWEET6_22797
if 
  not Char.IsDead(102@)
goto_if_false @SWEET6_22862
Char.ClearTasksImmediately(102@)
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_22862
if 
  Car.IsPassengerSeatFree(71@, SeatIndex.FrontRight)
goto_if_false @SWEET6_22862
Char.WarpIntoCarAsPassenger(102@, 71@, 0)

:SWEET6_22862
269@ = 0.62
270@ = 0.31
271@ = -0.167
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_22974
if 
  not Char.IsDead(102@)
goto_if_false @SWEET6_22974
if 
  Car.IsModel(71@, 567)
goto_if_false @SWEET6_22974
Char.ClearTasksImmediately(102@)
Char.AttachToCar(102@, 71@, 269@, 270@, 271@, 0, 0.0, WeaponType.Unarmed)

:SWEET6_22974
49@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "LRGIRL_HAIR", "LOWRIDER", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "LRGIRL_HURRY", "LOWRIDER", 4.0, False, False, False, True, -1)
Sequence.Close(49@)
if 
  not Char.IsDead(102@)
goto_if_false @SWEET6_23109
if 
  Char.IsAttachedToAnyCar(102@)
goto_if_false @SWEET6_23109
Char.PerformSequence(102@, 49@)

:SWEET6_23109
Sequence.Clear(49@)
TIMERA = 0
Text.ClearPrints
$wheel_bl = -1
$wheel_fr = -1
if 
  $bball_challenge_score == 0
goto_if_false @SWEET6_23169
$wheel_br = 2
goto @SWEET6_23194

:SWEET6_23169
if 
  1 > $wheel_br
goto_if_false @SWEET6_23194
$wheel_br = 1

:SWEET6_23194
Camera.DoFade(500, Fade.In)

:SWEET6_23201
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_23225
wait 0
goto @SWEET6_23201

:SWEET6_23225
Audio.PlayBeatTrack
35@ += 1

:SWEET6_23234
if 
  35@ == 5
goto_if_false @SWEET6_23348
Player.SetControl($statbike_temp, True)
start_new_script @BDISPLY 
start_new_script @LOWGAME 71@ 76@ 102@ 
TIMERA = 0
139@ = 0
133@ = 0
Text.ClearPrints
Text.ClearHelp
Text.PrintHelp('S6_39')
65@ = 0
63@ = 0
TIMERA = 0
35@ += 1

:SWEET6_23348
if 
  35@ == 6
goto_if_false @SWEET6_23391
if 
  $lowrider_last_level == 1
goto_if_false @SWEET6_23391
35@ += 1

:SWEET6_23391
if 
  35@ == 7
goto_if_false @SWEET6_24557
if 
  $lowrider_last_level == 1
goto_if_false @SWEET6_24550
if 
  135@ == 0
goto_if_false @SWEET6_23868
if or
  139@ > 5000
  Pad.IsButtonPressed(PadId.Pad1, Button.Select)
goto_if_false @SWEET6_23861
133@ += 1
if 
  133@ >= 5
goto_if_false @SWEET6_23502
133@ = 0

:SWEET6_23502
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_23532
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(71@)

:SWEET6_23532
if 
  133@ == 0
goto_if_false @SWEET6_23595
Camera.SetFixedPosition(1803.978, -1909.369, 15.0671, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:SWEET6_23595
if 
  133@ == 1
goto_if_false @SWEET6_23658
Camera.SetFixedPosition(1795.369, -1900.999, 14.1795, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:SWEET6_23658
if 
  133@ == 2
goto_if_false @SWEET6_23721
Camera.SetFixedPosition(1788.793, -1902.99, 13.7203, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:SWEET6_23721
if 
  133@ == 3
goto_if_false @SWEET6_23784
Camera.SetFixedPosition(1789.377, -1912.195, 14.0671, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:SWEET6_23784
if 
  133@ == 4
goto_if_false @SWEET6_23847
Camera.SetFixedPosition(1796.409, -1912.231, 13.8316, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:SWEET6_23847
135@ += 1
139@ = 0

:SWEET6_23861
goto @SWEET6_23892

:SWEET6_23868
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Select)
goto_if_false @SWEET6_23892
135@ = 0

:SWEET6_23892
if 
is_ps2_keyboard_key_just_pressed 67
goto_if_false @SWEET6_24543
$on_footY, $on_footZ, $in_carX = Camera.GetActiveCoordinates()
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_23956
56@, 57@, 58@ = Car.GetCoordinates(71@)
$on_footX = Car.GetHeading(71@)

:SWEET6_23956
$on_footX *= -1.0
46@ = Math.Cos($on_footX)
47@ = Math.Sin($on_footX)
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 56@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 57@
set_lvar_float_to_var_float 52@ = $in_carX
sub_float_lvar_from_float_lvar 52@ -= 58@
set_lvar_float_to_lvar_float 53@ = 50@
mult_float_lvar_by_float_lvar 53@ *= 46@
set_lvar_float_to_lvar_float 48@ = 51@
mult_float_lvar_by_float_lvar 48@ *= 47@
sub_float_lvar_from_float_lvar 53@ -= 48@
set_lvar_float_to_lvar_float 54@ = 50@
mult_float_lvar_by_float_lvar 54@ *= 47@
set_lvar_float_to_lvar_float 48@ = 51@
mult_float_lvar_by_float_lvar 48@ *= 46@
add_float_lvar_to_float_lvar 54@ += 48@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("FIXED_CAMERA_POSITION - OFFSET FROM CAR = ")
save_float_to_debug_file 53@
save_float_to_debug_file 54@
save_float_to_debug_file 52@
$on_footY, $on_footZ, $in_carX = Camera.GetActivePointAt()
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 56@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 57@
set_lvar_float_to_var_float 52@ = $in_carX
sub_float_lvar_from_float_lvar 52@ -= 58@
set_lvar_float_to_lvar_float 53@ = 50@
mult_float_lvar_by_float_lvar 53@ *= 46@
set_lvar_float_to_lvar_float 48@ = 51@
mult_float_lvar_by_float_lvar 48@ *= 47@
sub_float_lvar_from_float_lvar 53@ -= 48@
set_lvar_float_to_lvar_float 54@ = 50@
mult_float_lvar_by_float_lvar 54@ *= 47@
set_lvar_float_to_lvar_float 48@ = 51@
mult_float_lvar_by_float_lvar 48@ *= 46@
add_float_lvar_to_float_lvar 54@ += 48@
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CAMERA_POINT_AT -       OFFSET FROM CAR = ")
save_float_to_debug_file 53@
save_float_to_debug_file 54@
save_float_to_debug_file 52@

:SWEET6_24543
goto @SWEET6_24557

:SWEET6_24550
35@ += 1

:SWEET6_24557
if 
  35@ == 8
goto_if_false @SWEET6_24627
Player.SetControl($statbike_temp, False)
$beat_display_script_started = 1
Camera.DoFade(500, Fade.Out)

:SWEET6_24596
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_24620
wait 0
goto @SWEET6_24596

:SWEET6_24620
35@ = 99

:SWEET6_24627
gosub @SWEET6_32620
if 
  35@ == 99
goto_if_false @SWEET6_24659
gosub @SWEET6_35860

:SWEET6_24659
return 

:SWEET6_24661
if 
  35@ == 0
goto_if_false @SWEET6_24775
Audio.StopBeatTrack
Text.ClearPrints
Camera.RestoreJumpcut
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(1785.766, -1924.333, 14.4648, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1786.283, -1923.493, 14.3015, SwitchType.JumpCut)
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_24768
Car.ResetHydraulics(71@)

:SWEET6_24768
35@ += 1

:SWEET6_24775
if 
  35@ == 1
goto_if_false @SWEET6_26263
43@ = 0

:SWEET6_24800
if 
  7 > 43@
goto_if_false @SWEET6_24861
if 
  Car.DoesExist(72@(43@,7i))
goto_if_false @SWEET6_24847
Car.Delete(72@(43@,7i))

:SWEET6_24847
43@ += 1
goto @SWEET6_24800

:SWEET6_24861
43@ = 0

:SWEET6_24868
if 
  22 > 43@
goto_if_false @SWEET6_24929
if 
  Char.DoesExist(80@(43@,22i))
goto_if_false @SWEET6_24915
Char.Delete(80@(43@,22i))

:SWEET6_24915
43@ += 1
goto @SWEET6_24868

:SWEET6_24929
if 
  Char.DoesExist(102@)
goto_if_false @SWEET6_24950
Char.Delete(102@)

:SWEET6_24950
if 
  not Car.DoesExist(71@)
goto_if_false @SWEET6_25006
71@ = Car.Create(567, 1793.496, -1907.423, 12.3992)
Car.SetHeading(71@, 181.5231)
goto @SWEET6_25052

:SWEET6_25006
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_25052
Car.SetCoordinates(71@, 1793.496, -1907.423, 12.3992)
Car.SetHeading(71@, 181.5231)

:SWEET6_25052
72@ = Car.Create(534, 0.0, 0.0, 0.0)
73@ = Car.Create(567, 0.0, 0.0, 0.0)
74@ = Car.Create(567, 0.0, 0.0, 0.0)
75@ = Car.Create(567, 0.0, 0.0, 0.0)
76@ = Car.Create(534, 0.0, 0.0, 0.0)
77@ = Car.Create(567, 0.0, 0.0, 0.0)
78@ = Car.Create(534, 0.0, 0.0, 0.0)
Car.ChangeColor(72@, 1, 0)
Car.ChangeColor(73@, 2, 1)
Car.ChangeColor(74@, 3, 2)
Car.ChangeColor(75@, 10, 3)
Car.ChangeColor(76@, 9, 4)
Car.ChangeColor(77@, 6, 5)
Car.ChangeColor(78@, 7, 6)
43@ = 0

:SWEET6_25283
if 
  7 > 43@
goto_if_false @SWEET6_25383
Car.SetCoordinates(72@(43@,7i), 141@(43@,7f), 148@(43@,7f), 155@(43@,7f))
Car.SetHeading(72@(43@,7i), 162@(43@,7f))
Car.FreezePosition(72@(43@,7i), True)
Car.LockDoors(72@(43@,7i), CarLock.LockoutPlayerOnly)
43@ += 1
goto @SWEET6_25283

:SWEET6_25383
Car.FreezePosition(76@, False)
Car.SetStatus(76@, EntityStatus.Physics)
Car.SetHydraulics(76@, True)
Car.SetOnlyDamagedByPlayer(76@, True)
Car.SetProofs(76@, True, True, True, True, True)
80@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
81@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
82@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
83@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
84@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
85@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
86@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
87@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
88@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
89@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
90@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
91@ = Char.Create(PedType.Mission1, 116, 0.0, 0.0, 0.0)
92@ = Char.Create(PedType.Mission1, 114, 0.0, 0.0, 0.0)
93@ = Char.Create(PedType.Mission1, 115, 0.0, 0.0, 0.0)
94@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
95@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
96@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
97@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
98@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
99@ = Char.Create(PedType.Mission1, 63, 0.0, 0.0, 0.0)
100@ = Char.Create(PedType.Mission1, 41, 0.0, 0.0, 0.0)
101@ = Char.CreateInsideCar(76@, PedType.Mission1, 116)
43@ = 0

:SWEET6_25949
if 
  21 > 43@
goto_if_false @SWEET6_26027
Char.SetCoordinates(80@(43@,22i), 169@(43@,22f), 191@(43@,22f), 213@(43@,22f))
Char.SetHeading(80@(43@,22i), 235@(43@,22f))
43@ += 1
goto @SWEET6_25949

:SWEET6_26027
102@ = Char.Create(PedType.Mission1, 63, 1788.273, -1903.364, 12.4345)
Char.SetHeading(102@, 232.5412)
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_26136
43@ = Car.GetNumberOfPassengers(71@)
if 
  43@ > 0
goto_if_false @SWEET6_26110
goto @SWEET6_26136

:SWEET6_26110
if 
  not Char.IsDead(102@)
goto_if_false @SWEET6_26136
Char.WarpIntoCarAsPassenger(102@, 71@, 0)

:SWEET6_26136
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_26208
Char.WarpIntoCar($stattreadstamina_ctr, 71@)
Task.PlayAnim($stattreadstamina_ctr, "SIT_RELAXED", "LOWRIDER", 4.0, True, False, False, True, -1)

:SWEET6_26208
Streaming.LoadScene(1791.574, -1911.437, 12.4378)
Camera.DoFade(1000, Fade.In)

:SWEET6_26232
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_26256
wait 0
goto @SWEET6_26232

:SWEET6_26256
35@ += 1

:SWEET6_26263
if 
  35@ == 2
goto_if_false @SWEET6_26381
if 
  not Char.IsDead(101@)
goto_if_false @SWEET6_26381
49@ = Sequence.Open()
if 
  not Car.IsDead(76@)
goto_if_false @SWEET6_26325
Task.LeaveCar(-1, 76@)

:SWEET6_26325
Task.GoStraightToCoord(-1, 1791.574, -1911.437, 12.4378, MoveState.Walk, 10000)
Sequence.Close(49@)
Char.PerformSequence(101@, 49@)
Sequence.Clear(49@)
TIMERA = 0
35@ += 1

:SWEET6_26381
if 
  35@ == 3
goto_if_false @SWEET6_26604
if 
  TIMERA > 5000
goto_if_false @SWEET6_26604
Camera.SetFixedPosition(1795.43, -1905.018, 13.6653, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1795.145, -1905.968, 13.5431, SwitchType.JumpCut)
if 
  not Char.IsDead(101@)
goto_if_false @SWEET6_26590
Char.ClearTasksImmediately(101@)
Char.SetCoordinates(101@, 1795.968, -1909.333, 12.4389)
Char.SetHeading(101@, 20.3199)
49@ = Sequence.Open()
Task.LookAtChar(-1, $stattreadstamina_ctr, 99999)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(101@, 49@)
Sequence.Clear(49@)

:SWEET6_26590
TIMERA = 0
35@ += 1

:SWEET6_26604
if 
  35@ == 4
goto_if_false @SWEET6_26934
if 
  is_int_var_greater_than_int_var $lowrider_opposition_skill > $wheel_fl
goto_if_false @SWEET6_26778
43@ = Math.RandomIntInRange(0, 2)
if 
  43@ == 0
goto_if_false @SWEET6_26716
set_var_text_label s$bd_future_time_shown = 'LOWR_CA'
set_var_int_to_constant $bd_x = 22811
start_new_script @AUDIOL 101@ 0 1 1 0 
goto @SWEET6_26757

:SWEET6_26716
set_var_text_label s$bd_future_time_shown = 'LOWR_CB'
set_var_int_to_constant $bd_x = 22812
start_new_script @AUDIOL 101@ 0 1 1 0 

:SWEET6_26757
TIMERA = 0
35@ += 1
goto @SWEET6_26929

:SWEET6_26778
$wheel_br -= 1
43@ = Math.RandomIntInRange(0, 2)
if 
  43@ == 0
goto_if_false @SWEET6_26860
set_var_text_label s$bd_future_time_shown = 'LOWR_DA'
set_var_int_to_constant $bd_x = 22813
start_new_script @AUDIOL 101@ 0 1 1 0 
goto @SWEET6_26901

:SWEET6_26860
set_var_text_label s$bd_future_time_shown = 'LOWR_DB'
set_var_int_to_constant $bd_x = 22814
start_new_script @AUDIOL 101@ 0 1 1 0 

:SWEET6_26901
TIMERA = 0
35@ += 2
276@ *= -1
TIMERA = 0

:SWEET6_26929
wait 1000

:SWEET6_26934
if 
  35@ == 5
goto_if_false @SWEET6_27091
if or
  $audio_line_terminate_all == 0
  TIMERA > 3000
goto_if_false @SWEET6_27091
if 
  not Char.IsDead(101@)
goto_if_false @SWEET6_27091
Char.ClearTasks(101@)
Char.ClearLookAt(101@)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1794.299, -1917.246, 12.4339, MoveState.Walk, 10000)
if 
  not Car.IsDead(76@)
goto_if_false @SWEET6_27059
Task.EnterCarAsDriver(-1, 76@, 10000)

:SWEET6_27059
Sequence.Close(49@)
Char.PerformSequence(101@, 49@)
Sequence.Clear(49@)
TIMERA = 0
35@ += 2

:SWEET6_27091
if 
  35@ == 6
goto_if_false @SWEET6_27252
if or
  $audio_line_terminate_all == 0
  TIMERA > 3000
goto_if_false @SWEET6_27252
if 
  not Char.IsDead(101@)
goto_if_false @SWEET6_27252
Char.ClearTasks(101@)
Char.ClearLookAt(101@)
Char.SetNextDesiredMoveState(MoveState.Walk)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1794.299, -1917.246, 12.4339, MoveState.Walk, 10000)
if 
  not Car.IsDead(76@)
goto_if_false @SWEET6_27220
Task.EnterCarAsDriver(-1, 76@, 10000)

:SWEET6_27220
Sequence.Close(49@)
Char.PerformSequence(101@, 49@)
Sequence.Clear(49@)
TIMERA = 0
35@ += 1

:SWEET6_27252
if 
  35@ == 7
goto_if_false @SWEET6_27367
if 
  TIMERA > 3000
goto_if_false @SWEET6_27367
if 
  is_int_var_greater_than_int_var $lowrider_opposition_skill > $wheel_fl
goto_if_false @SWEET6_27329
35@ += 1
TIMERA = 0
goto @SWEET6_27367

:SWEET6_27329
Camera.DoFade(500, Fade.Out)

:SWEET6_27336
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_27360
wait 0
goto @SWEET6_27336

:SWEET6_27360
35@ = 99

:SWEET6_27367
if 
  35@ == 8
goto_if_false @SWEET6_27399
TIMERA = 0
35@ += 1

:SWEET6_27399
if 
  35@ == 9
goto_if_false @SWEET6_27850
Camera.DoFade(500, Fade.Out)

:SWEET6_27424
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_27448
wait 0
goto @SWEET6_27424

:SWEET6_27448
43@ = 0

:SWEET6_27455
if 
  7 > 43@
goto_if_false @SWEET6_27516
if 
  Car.DoesExist(72@(43@,7i))
goto_if_false @SWEET6_27502
Car.Delete(72@(43@,7i))

:SWEET6_27502
43@ += 1
goto @SWEET6_27455

:SWEET6_27516
43@ = 0

:SWEET6_27523
if 
  22 > 43@
goto_if_false @SWEET6_27584
if 
  Char.DoesExist(80@(43@,22i))
goto_if_false @SWEET6_27570
Char.Delete(80@(43@,22i))

:SWEET6_27570
43@ += 1
goto @SWEET6_27523

:SWEET6_27584
if 
  Char.DoesExist(102@)
goto_if_false @SWEET6_27605
Char.Delete(102@)

:SWEET6_27605
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(114)
Streaming.MarkModelAsNoLongerNeeded(115)
Streaming.MarkModelAsNoLongerNeeded(116)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(41)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(534)
Streaming.RemoveAnimation("LOWRIDER")
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_27738
Car.ResetHydraulics(71@)
World.ClearArea(1784.757, -1890.923, 12.399, 25.0, True)
Car.SetCoordinates(71@, 1784.757, -1889.923, 12.399)
Car.SetHeading(71@, 90.0)
Car.FreezePosition(71@, True)

:SWEET6_27738
wait 500
Cutscene.Load('SWEET6B')

:SWEET6_27754
if 
  not Cutscene.HasLoaded
goto_if_false @SWEET6_27778
wait 0
goto @SWEET6_27754

:SWEET6_27778
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SWEET6_27787
if 
  not Cutscene.HasFinished
goto_if_false @SWEET6_27811
wait 0
goto @SWEET6_27787

:SWEET6_27811
Cutscene.Clear
Camera.DoFade(0, Fade.Out)

:SWEET6_27819
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_27843
wait 0
goto @SWEET6_27819

:SWEET6_27843
35@ = 99

:SWEET6_27850
if 
  35@ == 99
goto_if_false @SWEET6_28493
43@ = 0

:SWEET6_27875
if 
  7 > 43@
goto_if_false @SWEET6_27936
if 
  Car.DoesExist(72@(43@,7i))
goto_if_false @SWEET6_27922
Car.Delete(72@(43@,7i))

:SWEET6_27922
43@ += 1
goto @SWEET6_27875

:SWEET6_27936
43@ = 0

:SWEET6_27943
if 
  22 > 43@
goto_if_false @SWEET6_28004
if 
  Char.DoesExist(80@(43@,22i))
goto_if_false @SWEET6_27990
Char.Delete(80@(43@,22i))

:SWEET6_27990
43@ += 1
goto @SWEET6_27943

:SWEET6_28004
if 
  Char.DoesExist(102@)
goto_if_false @SWEET6_28025
Char.Delete(102@)

:SWEET6_28025
Streaming.RequestModel(534)
Streaming.RequestModel(567)
Streaming.RequestModel(114)
Streaming.RequestModel(115)
Streaming.RequestModel(116)

:SWEET6_28047
if or
  not Streaming.HasModelLoaded(534)
  not Streaming.HasModelLoaded(567)
  not Streaming.HasModelLoaded(114)
  not Streaming.HasModelLoaded(115)
  not Streaming.HasModelLoaded(116)
goto_if_false @SWEET6_28091
wait 0
goto @SWEET6_28047

:SWEET6_28091
284@ = Car.Create(534, 1787.266, -1925.162, 12.39)
Car.SetHeading(284@, 24.6517)
285@ = Car.Create(567, 1799.919, -1926.14, 12.3895)
Car.SetHeading(285@, 341.4824)
286@ = Char.CreateInsideCar(284@, PedType.CivMale, 114)
287@ = Char.CreateInsideCar(285@, PedType.CivMale, 114)
288@ = Char.Create(PedType.CivMale, 114, 1796.7, -1915.742, 12.3946)
Char.SetHeading(288@, 80.7)
289@ = Char.Create(PedType.CivMale, 115, 1791.623, -1919.621, 12.3927)
Char.SetHeading(289@, 10.9)
290@ = Char.Create(PedType.CivMale, 116, 1786.067, -1911.462, 12.3937)
Char.SetHeading(290@, 120.0)
Streaming.MarkModelAsNoLongerNeeded(534)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(114)
Streaming.MarkModelAsNoLongerNeeded(115)
Streaming.MarkModelAsNoLongerNeeded(116)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Char.MarkAsNoLongerNeeded(288@)
Char.MarkAsNoLongerNeeded(289@)
Char.MarkAsNoLongerNeeded(290@)
Char.MarkAsNoLongerNeeded(286@)
Char.MarkAsNoLongerNeeded(287@)
Car.MarkAsNoLongerNeeded(284@)
Car.MarkAsNoLongerNeeded(285@)
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_28378
Car.FreezePosition(71@, True)

:SWEET6_28378
Streaming.LoadScene(1793.989, -1908.417, 12.3995)
Camera.DoFade(1500, Fade.In)

:SWEET6_28402
if 
  Camera.GetFadingStatus
goto_if_false @SWEET6_28426
wait 0
goto @SWEET6_28402

:SWEET6_28426
if 
  is_int_var_greater_than_int_var $lowrider_opposition_skill > $wheel_fl
goto_if_false @SWEET6_28459
36@ = 1
goto @SWEET6_28482

:SWEET6_28459
Text.PrintNow('S6_33', 5000, 1)
37@ = 1

:SWEET6_28482
wait 0
gosub @SWEET6_35860

:SWEET6_28493
gosub @SWEET6_32620
return 

:SWEET6_28502
if 
is_ps2_keyboard_key_just_pressed 52
goto_if_false @SWEET6_28527
272@ += 0.01

:SWEET6_28527
if 
is_ps2_keyboard_key_just_pressed 53
goto_if_false @SWEET6_28552
272@ += -0.01

:SWEET6_28552
if 
  Car.DoesExist(71@)
goto_if_false @SWEET6_28607
if 
  Car.IsDead(71@)
goto_if_false @SWEET6_28607
Text.PrintNow('S6_34', 5000, 1)
37@ = 1

:SWEET6_28607
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SWEET6_28784
if 
  34@ > 2
goto_if_false @SWEET6_28784
if 
  291@ == 0
goto_if_false @SWEET6_28725
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1793.068, -1904.254, 125.0, 125.0, False)
goto_if_false @SWEET6_28718
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
291@ = 1

:SWEET6_28718
goto @SWEET6_28784

:SWEET6_28725
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 1793.068, -1904.254, 150.0, 150.0, False)
goto_if_false @SWEET6_28784
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
291@ = 0

:SWEET6_28784
return 
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_28844
if 
  not Char.IsDead(102@)
goto_if_false @SWEET6_28844
Char.AttachToCar(102@, 71@, 269@, 270@, 271@, 0, 0.0, WeaponType.Unarmed)

:SWEET6_28844
return 

:SWEET6_28846
if 
  296@ == 0
goto_if_false @SWEET6_28904
292@ = 0.0
293@ = 0.0
294@ = 0.0
295@ = 0.0

:SWEET6_28904
if 
  296@ == 1
goto_if_false @SWEET6_28962
292@ = 0.0
293@ = 0.0
294@ = 0.0
295@ = 1.0

:SWEET6_28962
if 
  296@ == 2
goto_if_false @SWEET6_29020
292@ = 0.0
293@ = 0.0
294@ = 1.0
295@ = 0.0

:SWEET6_29020
if 
  296@ == 3
goto_if_false @SWEET6_29078
292@ = 0.0
293@ = 0.0
294@ = 1.0
295@ = 1.0

:SWEET6_29078
if 
  296@ == 4
goto_if_false @SWEET6_29136
292@ = 0.0
293@ = 1.0
294@ = 0.0
295@ = 0.0

:SWEET6_29136
if 
  296@ == 5
goto_if_false @SWEET6_29194
292@ = 0.0
293@ = 1.0
294@ = 0.0
295@ = 1.0

:SWEET6_29194
if 
  296@ == 6
goto_if_false @SWEET6_29252
292@ = 0.0
293@ = 1.0
294@ = 1.0
295@ = 0.0

:SWEET6_29252
if 
  296@ == 7
goto_if_false @SWEET6_29310
292@ = 0.0
293@ = 1.0
294@ = 1.0
295@ = 1.0

:SWEET6_29310
if 
  296@ == 8
goto_if_false @SWEET6_29368
292@ = 1.0
293@ = 0.0
294@ = 0.0
295@ = 0.0

:SWEET6_29368
if 
  296@ == 9
goto_if_false @SWEET6_29426
292@ = 1.0
293@ = 0.0
294@ = 0.0
295@ = 1.0

:SWEET6_29426
if 
  296@ == 10
goto_if_false @SWEET6_29484
292@ = 1.0
293@ = 0.0
294@ = 1.0
295@ = 0.0

:SWEET6_29484
if 
  296@ == 11
goto_if_false @SWEET6_29542
292@ = 1.0
293@ = 0.0
294@ = 1.0
295@ = 1.0

:SWEET6_29542
if 
  296@ == 12
goto_if_false @SWEET6_29600
292@ = 1.0
293@ = 1.0
294@ = 0.0
295@ = 0.0

:SWEET6_29600
if 
  296@ == 13
goto_if_false @SWEET6_29658
292@ = 1.0
293@ = 1.0
294@ = 0.0
295@ = 1.0

:SWEET6_29658
if 
  296@ == 14
goto_if_false @SWEET6_29716
292@ = 1.0
293@ = 1.0
294@ = 1.0
295@ = 0.0

:SWEET6_29716
if 
  296@ == 15
goto_if_false @SWEET6_29774
292@ = 1.0
293@ = 1.0
294@ = 1.0
295@ = 1.0

:SWEET6_29774
return 

:SWEET6_29776
if 
  300 > 136@
goto_if_false @SWEET6_29842
257@ = 1.0
260@ = 1.0
263@ = 0.0
266@ = 0.0
goto @SWEET6_29915

:SWEET6_29842
if 
  136@ > 500
goto_if_false @SWEET6_29875
136@ = 0
goto @SWEET6_29915

:SWEET6_29875
257@ = 0.0
260@ = 0.0
263@ = 0.0
266@ = 0.0

:SWEET6_29915
if 
  137@ > 2000
goto_if_false @SWEET6_29989
296@ = Math.RandomIntInRange(0, 16)
gosub @SWEET6_28846
set_lvar_float_to_lvar_float 258@ = 294@
set_lvar_float_to_lvar_float 261@ = 292@
set_lvar_float_to_lvar_float 264@ = 295@
set_lvar_float_to_lvar_float 267@ = 293@
137@ = 0

:SWEET6_29989
if 
  not Car.IsDead(72@)
goto_if_false @SWEET6_30131
if 
  Car.DoesHaveHydraulics(72@)
goto_if_false @SWEET6_30131
Car.ControlHydraulics(72@, 260@, 266@, 257@, 263@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(72@)
set_lvar_float_to_lvar_float 50@ = 141@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 148@
sub_float_var_from_float_lvar 51@ -= $on_footZ
mult_float_lvar_by_float_lvar 50@ *= 272@
mult_float_lvar_by_float_lvar 51@ *= 272@
Car.ApplyForce(72@, 50@, 51@, 0.0, 0.0, 0.0, 0.0)

:SWEET6_30131
if 
  not Car.IsDead(75@)
goto_if_false @SWEET6_30273
if 
  Car.DoesHaveHydraulics(75@)
goto_if_false @SWEET6_30273
Car.ControlHydraulics(75@, 261@, 267@, 258@, 264@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(75@)
set_lvar_float_to_lvar_float 50@ = 144@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 151@
sub_float_var_from_float_lvar 51@ -= $on_footZ
mult_float_lvar_by_float_lvar 50@ *= 272@
mult_float_lvar_by_float_lvar 51@ *= 272@
Car.ApplyForce(75@, 50@, 51@, 0.0, 0.0, 0.0, 0.0)

:SWEET6_30273
switch_start 39@ {numCases} 18 {hasDefaultCase} 0 {defaultLabel} @SWEET6_32618 {caseNum1} 0 {caseLabel1} @SWEET6_30466 {caseNum2} 1 {caseLabel2} @SWEET6_30586 {caseNum3} 2 {caseLabel3} @SWEET6_30706 {caseNum4} 3 {caseLabel4} @SWEET6_30822 {caseNum5} 4 {caseLabel5} @SWEET6_30938 {caseNum6} 5 {caseLabel6} @SWEET6_31053 {caseNum7} 6 {caseLabel7} @SWEET6_31169
switch_continued 7 {caseLabel1} @SWEET6_31285 {caseNum2} 8 {caseLabel2} @SWEET6_31401 {caseNum3} 9 {caseLabel3} @SWEET6_31517 {caseNum4} 10 {caseLabel4} @SWEET6_31637 {caseNum5} 11 {caseLabel5} @SWEET6_31820 {caseNum6} 12 {caseLabel6} @SWEET6_31936 {caseNum7} 13 {caseLabel7} @SWEET6_32052 {caseNum8} 14 {caseLabel8} @SWEET6_32168 {caseNum9} 15 {caseLabel9} @SWEET6_32284
switch_continued 16 {caseLabel1} @SWEET6_32400 {caseNum2} 17 {caseLabel2} @SWEET6_32509 {caseNum3} -1 {caseLabel3} @SWEET6_32618 {caseNum4} -1 {caseLabel4} @SWEET6_32618 {caseNum5} -1 {caseLabel5} @SWEET6_32618 {caseNum6} -1 {caseLabel6} @SWEET6_32618 {caseNum7} -1 {caseLabel7} @SWEET6_32618 {caseNum8} -1 {caseLabel8} @SWEET6_32618 {caseNum9} -1 {caseLabel9} @SWEET6_32618

:SWEET6_30466
if 
  not Char.IsDead(80@)
goto_if_false @SWEET6_30579
43@ = Char.GetScriptTaskStatus(80@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_30579
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(80@, 49@)
Sequence.Clear(49@)

:SWEET6_30579
goto @SWEET6_32618

:SWEET6_30586
if 
  not Char.IsDead(81@)
goto_if_false @SWEET6_30699
43@ = Char.GetScriptTaskStatus(81@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_30699
49@ = Sequence.Open()
Task.PlayAnim(-1, "F_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(81@, 49@)
Sequence.Clear(49@)

:SWEET6_30699
goto @SWEET6_32618

:SWEET6_30706
if 
  not Char.IsDead(82@)
goto_if_false @SWEET6_30815
43@ = Char.GetScriptTaskStatus(82@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_30815
49@ = Sequence.Open()
if 
  not Char.IsDead(83@)
goto_if_false @SWEET6_30790
Task.ChatWithChar(-1, 83@, True, 1)
goto @SWEET6_30797

:SWEET6_30790
Task.Pause(-1, 1000)

:SWEET6_30797
Sequence.Close(49@)
Char.PerformSequence(82@, 49@)
Sequence.Clear(49@)

:SWEET6_30815
goto @SWEET6_32618

:SWEET6_30822
if 
  not Char.IsDead(83@)
goto_if_false @SWEET6_30931
43@ = Char.GetScriptTaskStatus(83@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_30931
49@ = Sequence.Open()
if 
  not Char.IsDead(82@)
goto_if_false @SWEET6_30906
Task.ChatWithChar(-1, 82@, False, 1)
goto @SWEET6_30913

:SWEET6_30906
Task.Pause(-1, 1000)

:SWEET6_30913
Sequence.Close(49@)
Char.PerformSequence(83@, 49@)
Sequence.Clear(49@)

:SWEET6_30931
goto @SWEET6_32618

:SWEET6_30938
if 
  not Char.IsDead(84@)
goto_if_false @SWEET6_31046
43@ = Char.GetScriptTaskStatus(84@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_31046
49@ = Sequence.Open()
Task.PlayAnim(-1, "CAR_HOOKERTALK", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(84@, 49@)
Sequence.Clear(49@)

:SWEET6_31046
goto @SWEET6_32618

:SWEET6_31053
if 
  not Char.IsDead(85@)
goto_if_false @SWEET6_31162
43@ = Char.GetScriptTaskStatus(85@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_31162
49@ = Sequence.Open()
if 
  not Char.IsDead(86@)
goto_if_false @SWEET6_31137
Task.ChatWithChar(-1, 86@, False, 1)
goto @SWEET6_31144

:SWEET6_31137
Task.Pause(-1, 1000)

:SWEET6_31144
Sequence.Close(49@)
Char.PerformSequence(85@, 49@)
Sequence.Clear(49@)

:SWEET6_31162
goto @SWEET6_32618

:SWEET6_31169
if 
  not Char.IsDead(86@)
goto_if_false @SWEET6_31278
43@ = Char.GetScriptTaskStatus(86@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_31278
49@ = Sequence.Open()
if 
  not Char.IsDead(85@)
goto_if_false @SWEET6_31253
Task.ChatWithChar(-1, 85@, True, 1)
goto @SWEET6_31260

:SWEET6_31253
Task.Pause(-1, 1000)

:SWEET6_31260
Sequence.Close(49@)
Char.PerformSequence(86@, 49@)
Sequence.Clear(49@)

:SWEET6_31278
goto @SWEET6_32618

:SWEET6_31285
if 
  not Char.IsDead(87@)
goto_if_false @SWEET6_31394
43@ = Char.GetScriptTaskStatus(87@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_31394
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(87@, 49@)
Sequence.Clear(49@)

:SWEET6_31394
goto @SWEET6_32618

:SWEET6_31401
if 
  not Char.IsDead(88@)
goto_if_false @SWEET6_31510
43@ = Char.GetScriptTaskStatus(88@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_31510
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(88@, 49@)
Sequence.Clear(49@)

:SWEET6_31510
goto @SWEET6_32618

:SWEET6_31517
if 
  not Char.IsDead(89@)
goto_if_false @SWEET6_31630
43@ = Char.GetScriptTaskStatus(89@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_31630
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(89@, 49@)
Sequence.Clear(49@)

:SWEET6_31630
goto @SWEET6_32618

:SWEET6_31637
if 
  not Char.IsDead(90@)
goto_if_false @SWEET6_31813
43@ = Char.GetScriptTaskStatus(90@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_31813
49@ = Sequence.Open()
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "FUCKU", "PED", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "WOMAN_IDLESTANCE", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(90@, 49@)
Sequence.Clear(49@)

:SWEET6_31813
goto @SWEET6_32618

:SWEET6_31820
if 
  not Char.IsDead(91@)
goto_if_false @SWEET6_31929
43@ = Char.GetScriptTaskStatus(91@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_31929
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(91@, 49@)
Sequence.Clear(49@)

:SWEET6_31929
goto @SWEET6_32618

:SWEET6_31936
if 
  not Char.IsDead(92@)
goto_if_false @SWEET6_32045
43@ = Char.GetScriptTaskStatus(92@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_32045
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, True, True, False, -1)
Sequence.Close(49@)
Char.PerformSequence(92@, 49@)
Sequence.Clear(49@)

:SWEET6_32045
goto @SWEET6_32618

:SWEET6_32052
if 
  not Char.IsDead(93@)
goto_if_false @SWEET6_32161
43@ = Char.GetScriptTaskStatus(93@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_32161
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(93@, 49@)
Sequence.Clear(49@)

:SWEET6_32161
goto @SWEET6_32618

:SWEET6_32168
if 
  not Char.IsDead(94@)
goto_if_false @SWEET6_32277
43@ = Char.GetScriptTaskStatus(94@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_32277
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(94@, 49@)
Sequence.Clear(49@)

:SWEET6_32277
goto @SWEET6_32618

:SWEET6_32284
if 
  not Char.IsDead(95@)
goto_if_false @SWEET6_32393
43@ = Char.GetScriptTaskStatus(95@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_32393
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(95@, 49@)
Sequence.Clear(49@)

:SWEET6_32393
goto @SWEET6_32618

:SWEET6_32400
if 
  not Char.IsDead(96@)
goto_if_false @SWEET6_32502
43@ = Char.GetScriptTaskStatus(96@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_32502
49@ = Sequence.Open()
Task.PlayAnim(-1, "TAP_HAND", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(96@, 49@)
Sequence.Clear(49@)

:SWEET6_32502
goto @SWEET6_32618

:SWEET6_32509
if 
  not Char.IsDead(97@)
goto_if_false @SWEET6_32611
43@ = Char.GetScriptTaskStatus(97@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_32611
49@ = Sequence.Open()
Task.PlayAnim(-1, "TAP_HAND", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(97@, 49@)
Sequence.Clear(49@)

:SWEET6_32611
goto @SWEET6_32618

:SWEET6_32618
return 

:SWEET6_32620
switch_start 39@ {numCases} 21 {hasDefaultCase} 0 {defaultLabel} @SWEET6_35277 {caseNum1} 0 {caseLabel1} @SWEET6_32813 {caseNum2} 1 {caseLabel2} @SWEET6_32933 {caseNum3} 2 {caseLabel3} @SWEET6_33049 {caseNum4} 3 {caseLabel4} @SWEET6_33165 {caseNum5} 4 {caseLabel5} @SWEET6_33285 {caseNum6} 5 {caseLabel6} @SWEET6_33405 {caseNum7} 6 {caseLabel7} @SWEET6_33521
switch_continued 7 {caseLabel1} @SWEET6_33641 {caseNum2} 8 {caseLabel2} @SWEET6_33757 {caseNum3} 9 {caseLabel3} @SWEET6_33873 {caseNum4} 10 {caseLabel4} @SWEET6_33993 {caseNum5} 11 {caseLabel5} @SWEET6_34109 {caseNum6} 12 {caseLabel6} @SWEET6_34229 {caseNum7} 13 {caseLabel7} @SWEET6_34349 {caseNum8} 14 {caseLabel8} @SWEET6_34465 {caseNum9} 15 {caseLabel9} @SWEET6_34581
switch_continued 16 {caseLabel1} @SWEET6_34697 {caseNum2} 17 {caseLabel2} @SWEET6_34813 {caseNum3} 18 {caseLabel3} @SWEET6_34929 {caseNum4} 19 {caseLabel4} @SWEET6_35045 {caseNum5} 20 {caseLabel5} @SWEET6_35161 {caseNum6} -1 {caseLabel6} @SWEET6_35277 {caseNum7} -1 {caseLabel7} @SWEET6_35277 {caseNum8} -1 {caseLabel8} @SWEET6_35277 {caseNum9} -1 {caseLabel9} @SWEET6_35277

:SWEET6_32813
if 
  not Char.IsDead(80@)
goto_if_false @SWEET6_32926
43@ = Char.GetScriptTaskStatus(80@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_32926
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(80@, 49@)
Sequence.Clear(49@)

:SWEET6_32926
goto @SWEET6_35277

:SWEET6_32933
if 
  not Char.IsDead(81@)
goto_if_false @SWEET6_33042
43@ = Char.GetScriptTaskStatus(81@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_33042
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(81@, 49@)
Sequence.Clear(49@)

:SWEET6_33042
goto @SWEET6_35277

:SWEET6_33049
if 
  not Char.IsDead(82@)
goto_if_false @SWEET6_33158
43@ = Char.GetScriptTaskStatus(82@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_33158
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(82@, 49@)
Sequence.Clear(49@)

:SWEET6_33158
goto @SWEET6_35277

:SWEET6_33165
if 
  not Char.IsDead(83@)
goto_if_false @SWEET6_33278
43@ = Char.GetScriptTaskStatus(83@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_33278
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKSTND_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(83@, 49@)
Sequence.Clear(49@)

:SWEET6_33278
goto @SWEET6_35277

:SWEET6_33285
if 
  not Char.IsDead(84@)
goto_if_false @SWEET6_33398
43@ = Char.GetScriptTaskStatus(84@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_33398
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKSTND_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(84@, 49@)
Sequence.Clear(49@)

:SWEET6_33398
goto @SWEET6_35277

:SWEET6_33405
if 
  not Char.IsDead(85@)
goto_if_false @SWEET6_33514
43@ = Char.GetScriptTaskStatus(85@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_33514
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(85@, 49@)
Sequence.Clear(49@)

:SWEET6_33514
goto @SWEET6_35277

:SWEET6_33521
if 
  not Char.IsDead(86@)
goto_if_false @SWEET6_33634
43@ = Char.GetScriptTaskStatus(86@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_33634
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKSTND_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(86@, 49@)
Sequence.Clear(49@)

:SWEET6_33634
goto @SWEET6_35277

:SWEET6_33641
if 
  not Char.IsDead(87@)
goto_if_false @SWEET6_33750
43@ = Char.GetScriptTaskStatus(87@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_33750
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(87@, 49@)
Sequence.Clear(49@)

:SWEET6_33750
goto @SWEET6_35277

:SWEET6_33757
if 
  not Char.IsDead(88@)
goto_if_false @SWEET6_33866
43@ = Char.GetScriptTaskStatus(88@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_33866
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(88@, 49@)
Sequence.Clear(49@)

:SWEET6_33866
goto @SWEET6_35277

:SWEET6_33873
if 
  not Char.IsDead(89@)
goto_if_false @SWEET6_33986
43@ = Char.GetScriptTaskStatus(89@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_33986
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(89@, 49@)
Sequence.Clear(49@)

:SWEET6_33986
goto @SWEET6_35277

:SWEET6_33993
if 
  not Char.IsDead(90@)
goto_if_false @SWEET6_34102
43@ = Char.GetScriptTaskStatus(90@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_34102
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(90@, 49@)
Sequence.Clear(49@)

:SWEET6_34102
goto @SWEET6_35277

:SWEET6_34109
if 
  not Char.IsDead(91@)
goto_if_false @SWEET6_34222
43@ = Char.GetScriptTaskStatus(91@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_34222
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(91@, 49@)
Sequence.Clear(49@)

:SWEET6_34222
goto @SWEET6_35277

:SWEET6_34229
if 
  not Char.IsDead(92@)
goto_if_false @SWEET6_34342
43@ = Char.GetScriptTaskStatus(92@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_34342
49@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKSTND_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(92@, 49@)
Sequence.Clear(49@)

:SWEET6_34342
goto @SWEET6_35277

:SWEET6_34349
if 
  not Char.IsDead(93@)
goto_if_false @SWEET6_34458
43@ = Char.GetScriptTaskStatus(93@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_34458
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(93@, 49@)
Sequence.Clear(49@)

:SWEET6_34458
goto @SWEET6_35277

:SWEET6_34465
if 
  not Char.IsDead(94@)
goto_if_false @SWEET6_34574
43@ = Char.GetScriptTaskStatus(94@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_34574
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_B_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(94@, 49@)
Sequence.Clear(49@)

:SWEET6_34574
goto @SWEET6_35277

:SWEET6_34581
if 
  not Char.IsDead(95@)
goto_if_false @SWEET6_34690
43@ = Char.GetScriptTaskStatus(95@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_34690
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(95@, 49@)
Sequence.Clear(49@)

:SWEET6_34690
goto @SWEET6_35277

:SWEET6_34697
if 
  not Char.IsDead(96@)
goto_if_false @SWEET6_34806
43@ = Char.GetScriptTaskStatus(96@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_34806
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_C_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(96@, 49@)
Sequence.Clear(49@)

:SWEET6_34806
goto @SWEET6_35277

:SWEET6_34813
if 
  not Char.IsDead(97@)
goto_if_false @SWEET6_34922
43@ = Char.GetScriptTaskStatus(97@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_34922
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(97@, 49@)
Sequence.Clear(49@)

:SWEET6_34922
goto @SWEET6_35277

:SWEET6_34929
if 
  not Char.IsDead(98@)
goto_if_false @SWEET6_35038
43@ = Char.GetScriptTaskStatus(98@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_35038
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(98@, 49@)
Sequence.Clear(49@)

:SWEET6_35038
goto @SWEET6_35277

:SWEET6_35045
if 
  not Char.IsDead(99@)
goto_if_false @SWEET6_35154
43@ = Char.GetScriptTaskStatus(99@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_35154
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(99@, 49@)
Sequence.Clear(49@)

:SWEET6_35154
goto @SWEET6_35277

:SWEET6_35161
if 
  not Char.IsDead(100@)
goto_if_false @SWEET6_35270
43@ = Char.GetScriptTaskStatus(100@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @SWEET6_35270
49@ = Sequence.Open()
Task.PlayAnim(-1, "RAP_A_LOOP", "LOWRIDER", 4.0, True, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence(100@, 49@)
Sequence.Clear(49@)

:SWEET6_35270
goto @SWEET6_35277

:SWEET6_35277
return 
Text.SetScale(0.9, 2.4)
Text.SetColor(128, 148, 178, 255)
Text.SetCenter(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 
Text.SetScale(0.9, 2.4)
Text.SetColor(81, 25, 29, 255)
Text.SetCenter(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 
Text.SetScale(0.54, 1.44)
Text.SetColor(128, 148, 178, 255)
Text.SetJustify(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 

:SWEET6_35405
switch_start $flag_hhiker_trigger {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @SWEET6_35508 {caseNum1} 3 {caseLabel1} @SWEET6_35468 {caseNum2} -1 {caseLabel2} @SWEET6_35548 {caseNum3} -1 {caseLabel3} @SWEET6_35548 {caseNum4} -1 {caseLabel4} @SWEET6_35548 {caseNum5} -1 {caseLabel5} @SWEET6_35548 {caseNum6} -1 {caseLabel6} @SWEET6_35548 {caseNum7} -1 {caseLabel7} @SWEET6_35548

:SWEET6_35468
Hud.DrawWindow(29.0, 220.0, 173.0, 409.0, 'BJ_TITL', 2)
goto @SWEET6_35548

:SWEET6_35508
Hud.DrawWindow(29.0, 220.0, 157.0, 409.0, 'BJ_TITL', 2)
goto @SWEET6_35548

:SWEET6_35548
gosub @SWEET6_35805
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 240.0, 'WOF_04')
gosub @SWEET6_35805
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 260.0, 'DOLLAR', 276@)
gosub @SWEET6_35805
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 290.0, 'BJ_02')
gosub @SWEET6_35805
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 310.0, 'DOLLAR', 274@)
gosub @SWEET6_35805
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 340.0, 'BJ_03')
gosub @SWEET6_35805
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 360.0, 'DOLLAR', 275@)
return 

:SWEET6_35805
Text.SetColor(180, 180, 180, 255)
Text.SetScale(0.4714, 2.5077)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
return 

:SWEET6_35860
34@ += 1
35@ = 0
62@ = 0
63@ = 0
64@ = 0
65@ = 0
TIMERA = 0
TIMERB = 0
return 

:SWEET6_35918
Blip.Remove($bcesar3_mission_flag)
$intro_bmx = 1
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Garage.Deactivate('MODLAST')
Garage.Deactivate('BODLAWN')
return 

:SWEET6_35970
Zone.SwitchAudio('LOWRIDE', False)
Blip.Remove($bcesar3_mission_flag)
$bcesar3_mission_flag = Blip.AddShortRangeSpriteForCoord(2644.252, -2028.246, 12.5547, RadarSprite.ModGarage)
Blip.Remove($total_saved_peds)
$total_saved_peds = Blip.AddShortRangeSpriteForCoord(1043.4, -1025.3, 34.4, RadarSprite.ModGarage)
Blip.Remove($intro_contact_blip)
Garage.Activate('MODLAST')
Garage.Activate('BODLAWN')
276@ *= 2
Text.PrintWithNumberBig('M_PASS', 276@, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 276@)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.PlayerMadeProgress(1)
Player.ClearWantedLevel($statbike_temp)
$flag_crash_mission_counter += 1
$croupier_help = 1
$intro_bmx = 0
Stat.RegisterMissionPassed('SWEET_6')
CarGenerator.Switch($steal_car_cargen4, 101)
return 

:SWEET6_36157
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Zone.SwitchAudio('LOWRIDE', False)
if 
  Car.DoesExist(71@)
goto_if_false @SWEET6_36309
if 
  not Car.IsDead(71@)
goto_if_false @SWEET6_36309
Car.SetStatus(71@, EntityStatus.Abandoned)
Car.FreezePosition(71@, False)
Car.SetProofs(71@, False, False, False, False, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SWEET6_36270
Player.ApplyBrakesToCar($statbike_temp, False)

:SWEET6_36270
Car.LockDoors(71@, CarLock.Unlocked)
if 
  Char.IsInCar($stattreadstamina_ctr, 71@)
goto_if_false @SWEET6_36309
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, 71@)

:SWEET6_36309
43@ = 0

:SWEET6_36316
if 
  7 > 43@
goto_if_false @SWEET6_36500
if 
  Car.DoesExist(72@(43@,7i))
goto_if_false @SWEET6_36486
if 
  not Car.IsDead(72@(43@,7i))
goto_if_false @SWEET6_36477
if or
  43@ == 0
  43@ == 3
  43@ == 4
goto_if_false @SWEET6_36455
if 
  Car.DoesHaveHydraulics(72@(43@,7i))
goto_if_false @SWEET6_36455
Car.ControlHydraulics(72@(43@,7i), 0.0, 0.0, 0.0, 0.0)

:SWEET6_36455
Car.SetStatus(72@(43@,7i), EntityStatus.Simple)
Car.SetHydraulics(72@(43@,7i), False)

:SWEET6_36477
Car.MarkAsNoLongerNeeded(72@(43@,7i))

:SWEET6_36486
43@ += 1
goto @SWEET6_36316

:SWEET6_36500
43@ = 0

:SWEET6_36507
if 
  22 > 43@
goto_if_false @SWEET6_36588
if 
  Char.DoesExist(80@(43@,22i))
goto_if_false @SWEET6_36574
if 
  not Char.IsDead(80@(43@,22i))
goto_if_false @SWEET6_36565

:SWEET6_36565
Char.MarkAsNoLongerNeeded(80@(43@,22i))

:SWEET6_36574
43@ += 1
goto @SWEET6_36507

:SWEET6_36588
if 
  Char.DoesExist(79@)
goto_if_false @SWEET6_36609
Char.MarkAsNoLongerNeeded(79@)

:SWEET6_36609
if 
  Char.DoesExist(102@)
goto_if_false @SWEET6_36630
Char.MarkAsNoLongerNeeded(102@)

:SWEET6_36630
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(114)
Streaming.MarkModelAsNoLongerNeeded(115)
Streaming.MarkModelAsNoLongerNeeded(116)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(41)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(534)
Streaming.RemoveAnimation("CAR")
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("LOWRIDER")
Blip.Remove(105@)
Blip.Remove(106@)
Hud.ClearCounter($lowrider_opposition_skill)
Hud.ClearCounter($wheel_fl)
Hud.DisplayRadar(True)
43@ = Audio.GetBeatTrackStatus()
if 
  not is_int_lvar_equal_to_constant 43@ == 0
goto_if_false @SWEET6_36746
Audio.StopBeatTrack

:SWEET6_36746
CarGenerator.DontSuppressCarModel(567)
$beat_display_script_started = 1
DecisionMaker.Remove(66@)
DecisionMaker.Remove(67@)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 20---------------
// Originally: Los Sepulcros

:SWEET7
script_name 'SWEET7'
gosub @SWEET7_54
if 
  has_deatharrest_been_executed 
goto_if_false @SWEET7_38
gosub @SWEET7_32478

:SWEET7_38
gosub @SWEET7_32577
terminate_this_script 
546@ = 0

:SWEET7_54
Stat.RegisterMissionGiven
Text.LoadMissionText('SWEET7')
$weapon_shop1_blip = 1
wait 0
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)
Weather.ForceNow(WeatherType.SunnyLa)

:SWEET7_104
if 
  Camera.GetFadingStatus
goto_if_false @SWEET7_128
wait 0
goto @SWEET7_104

:SWEET7_128
Cutscene.Load('SWEET7A')

:SWEET7_139
if 
  not Cutscene.HasLoaded
goto_if_false @SWEET7_163
wait 0
goto @SWEET7_139

:SWEET7_163
World.ClearArea(2508.975, -1671.537, 12.3853, 500.0, True)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SWEET7_196
if 
  not Cutscene.HasFinished
goto_if_false @SWEET7_220
wait 0
goto @SWEET7_196

:SWEET7_220
Camera.DoFade(0, Fade.Out)

:SWEET7_226
if 
  Camera.GetFadingStatus
goto_if_false @SWEET7_250
wait 0
goto @SWEET7_226

:SWEET7_250
Cutscene.Clear
Weather.Release
wait 0
Char.SetCoordinates($stattreadstamina_ctr, 2515.207, -1674.086, 12.7552)
Char.SetHeading($stattreadstamina_ctr, 54.1779)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.RequestModel(492)
Streaming.RequestModel(68)
Streaming.RequestModel(12)
Streaming.RequestModel(445)
Streaming.RequestModel(543)
Streaming.RequestModel(352)
Streaming.RequestModel(346)
Streaming.RequestModel(349)
Streaming.RequestModel(104)
Streaming.RequestModel(103)
Streaming.RequestModel(102)
Streaming.RequestModel(107)
Streaming.RequestModel(106)
Streaming.RequestModel(105)
Streaming.RequestAnimation("GRAVEYARD")
Streaming.RequestAnimation("SMOKING")
Streaming.LoadAllModelsNow

:SWEET7_389
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(68)
  not Streaming.HasModelLoaded(12)
  not Streaming.HasModelLoaded(445)
  not Streaming.HasModelLoaded(543)
goto_if_false @SWEET7_433
wait 0
goto @SWEET7_389

:SWEET7_433
if or
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(492)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(349)
goto_if_false @SWEET7_475
wait 0
goto @SWEET7_433

:SWEET7_475
if or
  not Streaming.HasModelLoaded(104)
  not Streaming.HasModelLoaded(103)
  not Streaming.HasModelLoaded(102)
goto_if_false @SWEET7_509
wait 0
goto @SWEET7_475

:SWEET7_509
if or
  not Streaming.HasModelLoaded(107)
  not Streaming.HasModelLoaded(106)
  not Streaming.HasModelLoaded(105)
  not Streaming.HasAnimationLoaded("GRAVEYARD")
  not Streaming.HasAnimationLoaded("SMOKING")
goto_if_false @SWEET7_567
wait 0
goto @SWEET7_509

:SWEET7_567
wait 500
302@ = 0
286@ = 0
285@ = 0
278@ = 0
279@ = 0
280@ = 0
276@ = 0
277@ = 0
$6697 = 0
275@ = 0
73@ = 0
74@ = 0
274@ = 0
133@ = 0
38@ = 0
37@ = 0
53@ = 0
139@ = 0
54@ = 0
55@ = -13
61@ = 0
56@ = 0
57@ = 0
58@ = 0
62@ = 0
63@ = 0
64@ = 0
303@ = 0
69@ = 0
71@ = 0
132@ = 0
123@ = 0
135@ = 806.4608
136@ = -1129.844
137@ = 952.2434
138@ = -1051.841
141@ = 931.9752
151@ = -1062.447
161@ = 23.6757
171@ = 921.2714
181@ = -1064.736
191@ = 23.327
201@ = 920.3427
211@ = -1061.403
221@ = 23.6757
231@ = 921.269
241@ = -1081.521
251@ = 23.623
142@ = 922.6375
152@ = -1122.282
162@ = 23.0028
143@ = 899.537
153@ = -1114.694
163@ = 23.232
172@ = 913.2869
182@ = -1092.168
192@ = 23.1942
202@ = 911.2869
212@ = -1092.168
222@ = 22.1942
232@ = 914.2869
242@ = -1092.168
252@ = 25.1942
173@ = 886.0813
183@ = -1114.899
193@ = 22.9879
203@ = 883.5623
213@ = -1112.94
223@ = 23.0419
233@ = 881.4856
243@ = -1116.985
253@ = 23.0419
144@ = 907.4198
154@ = -1101.579
164@ = 23.2969
124@ = 0
125@ = 0
126@ = 0
127@ = 0
128@ = 0
129@ = 0
130@ = 0
131@ = 0
$6697 = 240000
Path.SwitchRoadsOff(2297.038, -1664.6, 10.8474, 2324.865, -1652.124, 14.8382)
Path.SwitchPedRoadsOff(2297.038, -1664.6, 10.8474, 2324.865, -1652.124, 14.8382)
35@ = Zone.GetGangStrength('GAN1', GangType.Grove)
36@ = Zone.GetGangStrength('GAN2', GangType.Grove)
Zone.SetGangStrength('GAN1', GangType.Grove, 0)
Zone.SetGangStrength('GAN2', GangType.Grove, 0)
53@ = 0
287@ = Game.GetMaxWantedLevel()
World.ClearArea(954.4976, -1103.594, 22.8015, 10.0, True)
Car.CustomPlateForNextCar(492, "GROVE4L_")
World.ClearArea(2508.084, -1671.19, 12.3794, 500.0, True)
78@ = Car.Create(492, 2508.084, -1671.19, 12.3794)
Car.SetHeading(78@, 354.4729)
Car.SetCanBurstTires(78@, False)
Car.ChangeColor(78@, 59, 34)
Car.OpenDoor(78@, CarDoor.RightFrontDoor)
79@ = Car.Create(445, 925.7109, -1122.968, 22.9909)
Car.SetHeading(79@, 330.8056)
Car.ChangeColor(79@, 59, 34)
Car.SetCanBurstTires(79@, False)
Car.SetProofs(79@, False, False, True, False, False)
Car.SetProofs(79@, True, True, True, True, True)
Car.LockDoors(79@, CarLock.Locked)
Camera.SetFadingColor(0, 0, 0)
Camera.SetBehindPlayer
92@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
93@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
94@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
95@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
105@ = Char.Create(PedType.Mission1, 102, 885.1994, -1075.546, 23.3273)
Char.SetDecisionMaker(105@, 92@)
Char.SetHeading(105@, 170.0)
Char.SetAccuracy(105@, 90)
550@ = Char.GetHealth(105@)
Char.SetHealth(105@, 120)
107@ = Char.Create(PedType.Mission1, 103, 883.2532, -1075.496, 23.3273)
Char.SetDecisionMaker(107@, 92@)
Char.SetHeading(107@, 175.0)
Char.SetAccuracy(107@, 90)
Char.SetHealth(107@, 120)
109@ = Char.Create(PedType.Mission1, 103, 881.4261, -1077.114, 23.3203)
Char.SetDecisionMaker(109@, 92@)
Char.SetHeading(109@, 275.0)
Char.SetAccuracy(109@, 90)
Char.SetHealth(109@, 120)
if 
  not Char.IsDead(105@)
goto_if_false @SWEET7_1917
Char.GiveWeapon(105@, WeaponType.Pistol, 2000)
Task.PlayAnim(105@, "MRNM_LOOP", "GRAVEYARD", 4.0, True, False, False, False, -1)

:SWEET7_1917
if 
  not Char.IsDead(107@)
goto_if_false @SWEET7_1943
Char.GiveWeapon(107@, WeaponType.Pistol, 2000)

:SWEET7_1943
if 
  not Char.IsDead(109@)
goto_if_false @SWEET7_2011
Char.GiveWeapon(109@, WeaponType.Pistol, 2000)
Task.PlayAnim(109@, "MRNM_LOOP", "GRAVEYARD", 10.0, True, False, False, False, -1)

:SWEET7_2011
134@ = Object.CreateNoOffset(#CASKET_LAW, 885.6575, -1077.412, 23.3188)
96@ = Char.Create(PedType.CivMale, 68, 886.6391, -1079.179, 23.3136)
Task.PlayAnim(96@, "PRST_LOOPA", "GRAVEYARD", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(96@, 93@)
Char.SetHeading(96@, 24.0)
Streaming.MarkModelAsNoLongerNeeded(68)
97@ = Char.Create(PedType.CivFemale, 12, 884.9761, -1079.983, 23.3133)
Task.PlayAnim(97@, "MRNF_LOOP", "GRAVEYARD", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(97@, 93@)
Char.SetHeading(97@, 4.0)
Streaming.MarkModelAsNoLongerNeeded(12)
World.ClearArea(2297.971, -1628.015, 13.7028, 20.0, True)
263@ = Char.Create(PedType.Gang2, 105, 2509.418, -1663.134, 12.5872)
Char.SetHeading(263@, 214.5012)
Char.SetDecisionMaker(263@, 93@)
Char.SetSuffersCriticalHits(263@, False)
Char.SetCantBeDraggedOut(263@, True)
Char.SetStayInCarWhenJacked(263@, True)
Char.SetGetOutUpsideDownCar(263@, False)
Task.PlayAnim(263@, "M_SMKLEAN_LOOP", "SMOKING", 4.0, True, False, False, False, -1)
264@ = Char.Create(PedType.Gang2, 106, 2504.471, -1675.764, 12.3709)
Char.SetHeading(264@, 277.5012)
Char.SetDecisionMaker(264@, 93@)
Char.SetSuffersCriticalHits(264@, False)
Char.SetCantBeDraggedOut(264@, True)
Char.SetStayInCarWhenJacked(264@, True)
Char.SetGetOutUpsideDownCar(264@, False)
Task.PlayAnim(264@, "M_SMKSTND_LOOP", "SMOKING", 4.0, True, False, False, False, -1)
Path.SwitchRoadsOff(135@, 136@, 0.0, 137@, 138@, 60.0)
Path.SwitchPedRoadsOff(135@, 136@, 0.0, 137@, 138@, 60.0)
281@ = Stat.GetInt(StatId.Respect)
301@ = Game.FindMaxNumberOfGroupMembers()
if 
  301@ > 1
goto_if_false @SWEET7_2695
55@ = 3
$big_smoke_car = Char.Create(PedType.Mission2, 290, 2509.59, -1672.237, 12.3934)
Char.SetHeading($big_smoke_car, 239.0)
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_2614
Car.LockDoors(78@, CarLock.LockoutPlayerOnly)
Car.FreezePosition(78@, True)

:SWEET7_2614
Char.GiveWeapon($big_smoke_car, WeaponType.MicroUzi, 99999)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetSuffersCriticalHits($big_smoke_car, False)
Char.SetHealth($big_smoke_car, 1000)
Char.SetMaxHealth($big_smoke_car, 1000)
Char.SetCantBeDraggedOut($big_smoke_car, True)
Char.SetStayInCarWhenJacked($big_smoke_car, True)
Char.SetGetOutUpsideDownCar($big_smoke_car, False)
Audio.SetRadioChannel(RadioChannel.CSR)
TIMERA = 0
goto @SWEET7_3089

:SWEET7_2695
$big_smoke_car = Char.Create(PedType.Mission2, 290, 2511.343, -1674.936, 12.5473)
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_2750
Car.LockDoors(78@, CarLock.LockoutPlayerOnly)
Car.FreezePosition(78@, True)

:SWEET7_2750
Char.SetMaxHealth($big_smoke_car, 1000)
Char.SetCantBeDraggedOut($big_smoke_car, True)
Char.GiveWeapon($big_smoke_car, WeaponType.MicroUzi, 99999)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetSuffersCriticalHits($big_smoke_car, False)
Char.SetHealth($big_smoke_car, 1000)
Char.SetMaxHealth($big_smoke_car, 1000)
Char.SetCantBeDraggedOut($big_smoke_car, True)
Char.SetStayInCarWhenJacked($big_smoke_car, True)
Char.SetGetOutUpsideDownCar($big_smoke_car, False)
289@ = Char.Create(PedType.Gang1, 102, 2262.797, -1348.54, 22.985)
Char.GiveWeapon(289@, WeaponType.MicroUzi, 2000)
Char.SetDecisionMaker(289@, 93@)
290@ = Char.Create(PedType.Gang1, 103, 2263.582, -1346.651, 22.9838)
Char.SetHeading(290@, 140.0)
Char.GiveWeapon(290@, WeaponType.Pistol, 2000)
Char.SetDecisionMaker(290@, 93@)
Task.ChatWithChar(289@, 290@, True, 1)
Task.ChatWithChar(290@, 289@, False, 1)
291@ = Char.Create(PedType.Gang1, 104, 2261.85, -1345.101, 22.9864)
Char.SetHeading(291@, 224.0)
Char.GiveWeapon(291@, WeaponType.MicroUzi, 2000)
Char.SetDecisionMaker(291@, 93@)
Task.PlayAnim(291@, "MRNM_LOOP", "GRAVEYARD", 10.0, True, False, False, False, -1)
Streaming.UnloadSpecialCharacter(1)
292@ = Blip.AddForChar(289@)
293@ = Blip.AddForChar(290@)
294@ = Blip.AddForChar(291@)
55@ = 0
282@ = -10
TIMERB = 0

:SWEET7_3089
Task.TurnCharToFaceChar($stattreadstamina_ctr, $big_smoke_car)
TIMERA = 0
Streaming.MarkModelAsNoLongerNeeded(543)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
World.ClearArea(2508.16, -1666.47, 13.0, 10.0, True)
Camera.DoFade(1000, Fade.In)
260@ = Player.GetGroup($statbike_temp)
Game.SetRelationship(RelationshipType.Respect, PedType.Gang2, PedType.Player1)
Player.SetGroupRecruitment($statbike_temp, False)
Group.SetFollowStatus(260@, True)
if 
  274@ == 13
goto_if_false @SWEET7_3259
40@ = Blip.AddForChar($stattreadstamina_ctr)
78@ = Car.Create(492, 2508.975, -1671.537, 12.3853)
43@ = Blip.AddForCar(78@)
98@ = Char.Create(PedType.Mission1, 102, 885.1994, -1075.546, 23.3273)

:SWEET7_3259
304@ = 0
532@ = 1
533@ = 2
534@ = 0
535@ = 1
536@ = 0
537@ = 0
set_lvar_text_label 312@s = 'SWE7_AA'
set_lvar_text_label 314@s = 'SWE7_AB'
set_lvar_text_label 316@s = 'SWE7_AC'
set_lvar_text_label 318@s = 'SWE7_AD'
set_lvar_text_label 320@s = 'SWE7_AE'
set_lvar_text_label 322@s = 'SWE7_AF'
set_lvar_text_label 324@s = 'SWE7_AG'
set_lvar_text_label 326@s = 'SWE7_AH'
set_lvar_text_label 328@s = 'SWE7_BA'
set_lvar_text_label 330@s = 'SWE7_BB'
set_lvar_text_label 332@s = 'SWE7_BC'
set_lvar_text_label 334@s = 'SWE7_BD'
set_lvar_text_label 336@s = 'SWE7_BE'
set_lvar_text_label 338@s = 'SWE7_CA'
set_lvar_text_label 340@s = 'SWE7_CB'
set_lvar_text_label 342@s = 'SWE7_CC'
set_lvar_text_label 344@s = 'SWE7_DA'
set_lvar_text_label 346@s = 'SWE7_DB'
set_lvar_text_label 348@s = 'SWE7_DC'
set_lvar_text_label 350@s = 'SWE7_DD'
set_lvar_text_label 352@s = 'SWE7_DE'
set_lvar_text_label 354@s = 'SWE7_EA'
set_lvar_text_label 356@s = 'SWE7_EB'
set_lvar_text_label 358@s = 'SWE7_EC'
set_lvar_text_label 360@s = 'SWE7_ED'
set_lvar_text_label 362@s = 'SWE7_EE'
set_lvar_text_label 364@s = 'SWE7_EF'
set_lvar_text_label 366@s = 'SWE7_EG'
set_lvar_text_label 368@s = 'SWE7_EH'
set_lvar_text_label 370@s = 'SWE7_EJ'
set_lvar_text_label 372@s = 'SWE7_EK'
set_lvar_text_label 374@s = 'SWE7_FA'
set_lvar_text_label 376@s = 'SWE7_FB'
set_lvar_text_label 378@s = 'SWE7_GA'
set_lvar_text_label 380@s = 'SWE7_GB'
set_lvar_text_label 382@s = 'SWE7_GC'
set_lvar_text_label 384@s = 'SWE7_HA'
set_lvar_text_label 386@s = 'SWE7_HB'
set_lvar_text_label 388@s = 'SWE7_HC'
set_lvar_text_label 390@s = 'SWE7_JA'
set_lvar_text_label 392@s = 'SWE7_JB'
set_lvar_text_label 394@s = 'SWE7_JC'
set_lvar_text_label 396@s = 'SWE7_KA'
set_lvar_text_label 398@s = 'SWE7_KB'
set_lvar_text_label 400@s = 'SWE7_KC'
set_lvar_text_label 402@s = 'SWE7_LA'
set_lvar_text_label 404@s = 'SWE7_LB'
set_lvar_text_label 406@s = 'SWE7_LC'
set_lvar_text_label 408@s = 'SWE7_MA'
set_lvar_text_label 410@s = 'SWE7_MB'
set_lvar_text_label 412@s = 'SWE7_MC'
set_lvar_text_label 414@s = 'SWE7_MD'
set_lvar_text_label 416@s = 'SWE7_NA'
set_lvar_text_label 418@s = 'SWE7_NB'
set_lvar_text_label 420@s = 'SWE7_OA'
set_lvar_text_label 422@s = 'SWE7_OB'
set_lvar_text_label 424@s = 'SWE7_PA'
set_lvar_text_label 426@s = 'SWE7_PB'
set_lvar_text_label 428@s = 'SWE7_PC'
set_lvar_text_label 430@s = 'SWE7_PD'
set_lvar_text_label 432@s = 'SWE7_QA'
set_lvar_text_label 434@s = 'SWE7_QB'
set_lvar_text_label 436@s = 'SWE7_QC'
set_lvar_text_label 438@s = 'SWE7_RA'
set_lvar_text_label 440@s = 'SWE7_RB'
set_lvar_text_label 442@s = 'SWE7_RC'
set_lvar_text_label 444@s = 'SWE7_SA'
set_lvar_text_label 446@s = 'SWE7_SB'
set_lvar_text_label 448@s = 'SWE7_SC'
set_lvar_text_label 450@s = 'SWE7_TA'
set_lvar_text_label 452@s = 'SWE7_TB'
set_lvar_text_label 454@s = 'SWE7_TC'
set_lvar_int_to_constant 459@ = 38400
set_lvar_int_to_constant 460@ = 38401
set_lvar_int_to_constant 461@ = 38402
set_lvar_int_to_constant 462@ = 38403
set_lvar_int_to_constant 463@ = 38404
set_lvar_int_to_constant 464@ = 38405
set_lvar_int_to_constant 465@ = 38406
set_lvar_int_to_constant 466@ = 38407
set_lvar_int_to_constant 467@ = 38408
set_lvar_int_to_constant 468@ = 38409
set_lvar_int_to_constant 469@ = 38410
set_lvar_int_to_constant 470@ = 38411
set_lvar_int_to_constant 471@ = 38412
set_lvar_int_to_constant 472@ = 38413
set_lvar_int_to_constant 473@ = 38414
set_lvar_int_to_constant 474@ = 38415
set_lvar_int_to_constant 475@ = 38416
set_lvar_int_to_constant 476@ = 38417
set_lvar_int_to_constant 477@ = 38418
set_lvar_int_to_constant 478@ = 38419
set_lvar_int_to_constant 479@ = 38420
set_lvar_int_to_constant 480@ = 38421
set_lvar_int_to_constant 481@ = 38422
set_lvar_int_to_constant 482@ = 38423
set_lvar_int_to_constant 483@ = 38424
set_lvar_int_to_constant 484@ = 38425
set_lvar_int_to_constant 485@ = 38426
set_lvar_int_to_constant 486@ = 38427
set_lvar_int_to_constant 487@ = 38428
set_lvar_int_to_constant 488@ = 38429
set_lvar_int_to_constant 489@ = 38430
set_lvar_int_to_constant 490@ = 38431
set_lvar_int_to_constant 491@ = 38432
set_lvar_int_to_constant 492@ = 38433
set_lvar_int_to_constant 493@ = 38434
set_lvar_int_to_constant 494@ = 38435
set_lvar_int_to_constant 495@ = 38436
set_lvar_int_to_constant 496@ = 38437
set_lvar_int_to_constant 497@ = 38438
set_lvar_int_to_constant 498@ = 38439
set_lvar_int_to_constant 499@ = 38440
set_lvar_int_to_constant 500@ = 38441
set_lvar_int_to_constant 501@ = 38442
set_lvar_int_to_constant 502@ = 38443
set_lvar_int_to_constant 503@ = 38444
set_lvar_int_to_constant 504@ = 38445
set_lvar_int_to_constant 505@ = 38446
set_lvar_int_to_constant 506@ = 38447
set_lvar_int_to_constant 507@ = 38448
set_lvar_int_to_constant 508@ = 38449
set_lvar_int_to_constant 509@ = 38450
set_lvar_int_to_constant 510@ = 38451
set_lvar_int_to_constant 511@ = 38452
set_lvar_int_to_constant 512@ = 38453
set_lvar_int_to_constant 513@ = 38454
set_lvar_int_to_constant 514@ = 38455
set_lvar_int_to_constant 515@ = 38456
set_lvar_int_to_constant 516@ = 38457
set_lvar_int_to_constant 517@ = 38458
set_lvar_int_to_constant 518@ = 38459
set_lvar_int_to_constant 519@ = 38460
set_lvar_int_to_constant 520@ = 38461
set_lvar_int_to_constant 521@ = 38462
set_lvar_int_to_constant 522@ = 38463
set_lvar_int_to_constant 523@ = 38464
set_lvar_int_to_constant 524@ = 38465
set_lvar_int_to_constant 525@ = 38466
set_lvar_int_to_constant 526@ = 38467
set_lvar_int_to_constant 527@ = 38468
set_lvar_int_to_constant 528@ = 38469
set_lvar_int_to_constant 529@ = 38470
set_lvar_int_to_constant 530@ = 38471

:SWEET7_5036
wait 0
if 
  304@ == 0
goto_if_false @SWEET7_5072
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 22600)
304@ = 1

:SWEET7_5072
if 
  304@ == 1
goto_if_false @SWEET7_5112
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @SWEET7_5112
304@ = 2

:SWEET7_5112
if 
  304@ == 2
goto_if_false @SWEET7_5207
if 
  not Char.IsDead(97@)
goto_if_false @SWEET7_5207
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 97@, 200.0, 200.0, False)
goto_if_false @SWEET7_5207
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot3, 884.9761, -1079.983, 23.3133)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
304@ = 3

:SWEET7_5207
if 
  534@ <> 0
goto_if_false @SWEET7_5560
if 
  536@ == 0
goto_if_false @SWEET7_5278
if 
  Audio.HasMissionAudioLoaded(533@)
goto_if_false @SWEET7_5264
Audio.ClearMissionAudio(533@)

:SWEET7_5264
536@ = 1
537@ = 1

:SWEET7_5278
if 
  536@ == 1
goto_if_false @SWEET7_5315
Audio.LoadMissionAudio(532@, 458@(534@,74i))
536@ = 2

:SWEET7_5315
if 
  536@ == 2
goto_if_false @SWEET7_5375
if 
  Audio.HasMissionAudioLoaded(532@)
goto_if_false @SWEET7_5375
Audio.PlayMissionAudio(532@)
Text.PrintNow(310@(534@,74s), 10000, 1)
536@ = 3

:SWEET7_5375
if 
  536@ == 3
goto_if_false @SWEET7_5560
if 
  Audio.HasMissionAudioFinished(532@)
goto_if_false @SWEET7_5499
Text.ClearThisPrint(310@(534@,74s))
if 
  532@ == 1
goto_if_false @SWEET7_5457
532@ = 2
533@ = 1
goto @SWEET7_5471

:SWEET7_5457
532@ = 1
533@ = 2

:SWEET7_5471
534@ = 0
536@ = 0
537@ = 0
goto @SWEET7_5560

:SWEET7_5499
if 
  not Audio.HasMissionAudioLoaded(533@)
goto_if_false @SWEET7_5560
if 
  72 > 534@
goto_if_false @SWEET7_5560
set_lvar_int_to_lvar_int 535@ = 534@
535@ += 1
Audio.LoadMissionAudio(533@, 458@(535@,74i))

:SWEET7_5560
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SWEET7_5582
goto @SWEET7_32496

:SWEET7_5582
if 
is_ps2_keyboard_key_pressed 87
goto_if_false @SWEET7_5633
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_5633
Car.SetCoordinates(78@, 794.203, -1059.185, 23.6844)

:SWEET7_5633
262@, 261@ = Group.GetSize(260@)
if 
  1 > 53@
goto_if_false @SWEET7_5768
if 
  1 > $6697
goto_if_false @SWEET7_5711
Hud.ClearTimer($6697)
Text.ClearPrints
540@ = Math.RandomIntInRange(0, 2)
539@ = 31
53@ = 999

:SWEET7_5711
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_5768
if 
  Car.IsOnFire(78@)
goto_if_false @SWEET7_5768
Text.ClearPrints
Text.PrintNow('TWAR664', 6000, 1)
goto @SWEET7_32478

:SWEET7_5768
281@ = Stat.GetInt(StatId.Respect)
if 
  55@ == 0
goto_if_false @SWEET7_7130
if 
  0 > 282@
goto_if_false @SWEET7_6146
if 
  537@ == 0
goto_if_false @SWEET7_6146
switch_start 282@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @SWEET7_6146 {caseNum1} -10 {caseLabel1} @SWEET7_5957 {caseNum2} -9 {caseLabel2} @SWEET7_5978 {caseNum3} -8 {caseLabel3} @SWEET7_5999 {caseNum4} -7 {caseLabel4} @SWEET7_6020 {caseNum5} -6 {caseLabel5} @SWEET7_6041 {caseNum6} -5 {caseLabel6} @SWEET7_6062 {caseNum7} -4 {caseLabel7} @SWEET7_6083
switch_continued -3 {caseLabel1} @SWEET7_6104 {caseNum2} -2 {caseLabel2} @SWEET7_6125 {caseNum3} -1 {caseLabel3} @SWEET7_6146 {caseNum4} -1 {caseLabel4} @SWEET7_6146 {caseNum5} -1 {caseLabel5} @SWEET7_6146 {caseNum6} -1 {caseLabel6} @SWEET7_6146 {caseNum7} -1 {caseLabel7} @SWEET7_6146 {caseNum8} -1 {caseLabel8} @SWEET7_6146 {caseNum9} -1 {caseLabel9} @SWEET7_6146

:SWEET7_5957
534@ = 1
282@ = -9
goto @SWEET7_6146

:SWEET7_5978
534@ = 2
282@ = -8
goto @SWEET7_6146

:SWEET7_5999
534@ = 3
282@ = -7
goto @SWEET7_6146

:SWEET7_6020
534@ = 4
282@ = -6
goto @SWEET7_6146

:SWEET7_6041
534@ = 5
282@ = -5
goto @SWEET7_6146

:SWEET7_6062
534@ = 6
282@ = -4
goto @SWEET7_6146

:SWEET7_6083
534@ = 7
282@ = -3
goto @SWEET7_6146

:SWEET7_6104
534@ = 8
282@ = -2
goto @SWEET7_6146

:SWEET7_6125
534@ = 0
282@ = 0
goto @SWEET7_6146

:SWEET7_6146
if 
  537@ == 0
goto_if_false @SWEET7_6271
if 
  282@ == 0
goto_if_false @SWEET7_6214
Text.ClearPrints
Text.PrintNow('TWAR612', 6000, 1)
282@ = 1
TIMERB = 0

:SWEET7_6214
if 
  282@ == 1
goto_if_false @SWEET7_6271
if 
  TIMERB > 7000
goto_if_false @SWEET7_6271
Text.ClearPrints
Text.PrintHelp('HELP101')
282@ = 2

:SWEET7_6271
if 
  284@ == 0
goto_if_false @SWEET7_6360
if 
  TIMERA > 3000
goto_if_false @SWEET7_6360
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_6360
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_6360
Char.ClearTasks($big_smoke_car)
Task.TurnCharToFaceChar($big_smoke_car, $stattreadstamina_ctr)
TIMERA = 0

:SWEET7_6360
if 
  Char.DoesExist($big_smoke_car)
goto_if_false @SWEET7_6420
if 
  Char.HasBeenDamagedByChar($big_smoke_car, $stattreadstamina_ctr)
goto_if_false @SWEET7_6420
Text.ClearPrints
Text.PrintNow('TWAR618', 6000, 1)
goto @SWEET7_32478

:SWEET7_6420
if 
  295@ == 0
goto_if_false @SWEET7_6480
if 
  Char.DoesExist(289@)
goto_if_false @SWEET7_6480
if 
  Char.HasBeenDamagedByChar(289@, $stattreadstamina_ctr)
goto_if_false @SWEET7_6480
295@ = 1

:SWEET7_6480
if 
  295@ == 0
goto_if_false @SWEET7_6540
if 
  Char.DoesExist(290@)
goto_if_false @SWEET7_6540
if 
  Char.HasBeenDamagedByChar(290@, $stattreadstamina_ctr)
goto_if_false @SWEET7_6540
295@ = 1

:SWEET7_6540
if 
  295@ == 0
goto_if_false @SWEET7_6600
if 
  Char.DoesExist(291@)
goto_if_false @SWEET7_6600
if 
  Char.HasBeenDamagedByChar(291@, $stattreadstamina_ctr)
goto_if_false @SWEET7_6600
295@ = 1

:SWEET7_6600
if 
  295@ == 1
goto_if_false @SWEET7_6712
if 
  not Char.IsDead(289@)
goto_if_false @SWEET7_6647
Char.ClearTasks(289@)
Task.KillCharOnFoot(289@, $stattreadstamina_ctr)

:SWEET7_6647
if 
  not Char.IsDead(290@)
goto_if_false @SWEET7_6676
Char.ClearTasks(290@)
Task.KillCharOnFoot(290@, $stattreadstamina_ctr)

:SWEET7_6676
if 
  not Char.IsDead(291@)
goto_if_false @SWEET7_6705
Char.ClearTasks(291@)
Task.KillCharOnFoot(291@, $stattreadstamina_ctr)

:SWEET7_6705
295@ = 2

:SWEET7_6712
if 
  296@ == 0
goto_if_false @SWEET7_6771
if 
  Char.IsDead(289@)
goto_if_false @SWEET7_6771
Stat.IncrementInt(StatId.Respect, 35)
Blip.Remove(292@)
281@ = Stat.GetInt(StatId.Respect)
296@ = 1

:SWEET7_6771
if 
  297@ == 0
goto_if_false @SWEET7_6830
if 
  Char.IsDead(290@)
goto_if_false @SWEET7_6830
Stat.IncrementInt(StatId.Respect, 35)
Blip.Remove(293@)
281@ = Stat.GetInt(StatId.Respect)
297@ = 1

:SWEET7_6830
if 
  298@ == 0
goto_if_false @SWEET7_6889
if 
  Char.IsDead(291@)
goto_if_false @SWEET7_6889
Stat.IncrementInt(StatId.Respect, 35)
Blip.Remove(294@)
281@ = Stat.GetInt(StatId.Respect)
298@ = 1

:SWEET7_6889
if 
  Char.IsDead(289@)
goto_if_false @SWEET7_6969
if 
  Char.IsDead(290@)
goto_if_false @SWEET7_6969
if 
  Char.IsDead(291@)
goto_if_false @SWEET7_6969
281@ = Stat.GetInt(StatId.Respect)
if 
  100 > 281@
goto_if_false @SWEET7_6969
Stat.SetInt(StatId.Respect, 200)

:SWEET7_6969
301@ = Game.FindMaxNumberOfGroupMembers()
if 
  301@ > 1
goto_if_false @SWEET7_7130
Char.MarkAsNoLongerNeeded(289@)
Char.MarkAsNoLongerNeeded(290@)
Char.MarkAsNoLongerNeeded(291@)
Blip.Remove(292@)
Blip.Remove(293@)
Blip.Remove(294@)
Text.ClearPrints
Text.PrintNow('TWAR617', 6000, 1)
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_7130
Car.LockDoors(78@, CarLock.LockoutPlayerOnly)
55@ = 1
284@ = 1
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_7130
Char.ClearTasks($big_smoke_car)
Task.EnterCarAsPassenger($big_smoke_car, 78@, 20000, 0)
41@ = Blip.AddForCar(78@)
Audio.SetRadioChannel(RadioChannel.CSR)
Blip.SetAsFriendly(41@, True)

:SWEET7_7130
if 
  55@ == 1
goto_if_false @SWEET7_7356
if 
  284@ == 1
goto_if_false @SWEET7_7245
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_7245
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_7245
if 
  Char.IsSittingInCar($big_smoke_car, 78@)
goto_if_false @SWEET7_7245
Car.FreezePosition(78@, False)
Car.LockDoors(78@, CarLock.Unlocked)
Car.OpenDoor(78@, CarDoor.LeftFrontDoor)
284@ = 2

:SWEET7_7245
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_7356
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 78@)
goto_if_false @SWEET7_7356
Blip.Remove(41@)
281@ = Stat.GetInt(StatId.Respect)
267@ = Blip.AddForCoord(2460.499, -1656.57, 12.3125)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_7335
Char.ShutUpForScriptedSpeech($big_smoke_car, True)

:SWEET7_7335
55@ = 2
44@ = 0
539@ = 1

:SWEET7_7356
if 
  55@ == 2
goto_if_false @SWEET7_8568
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_8568
if 
  Char.IsInCar($stattreadstamina_ctr, 78@)
goto_if_false @SWEET7_7652
if 
  539@ > 0
goto_if_false @SWEET7_7652
if 
  537@ == 0
goto_if_false @SWEET7_7652
switch_start 539@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @SWEET7_7652 {caseNum1} 1 {caseLabel1} @SWEET7_7508 {caseNum2} 2 {caseLabel2} @SWEET7_7529 {caseNum3} 3 {caseLabel3} @SWEET7_7550 {caseNum4} 4 {caseLabel4} @SWEET7_7571 {caseNum5} 5 {caseLabel5} @SWEET7_7592 {caseNum6} -1 {caseLabel6} @SWEET7_7652 {caseNum7} -1 {caseLabel7} @SWEET7_7652

:SWEET7_7508
534@ = 10
539@ = 2
goto @SWEET7_7652

:SWEET7_7529
534@ = 11
539@ = 3
goto @SWEET7_7652

:SWEET7_7550
534@ = 12
539@ = 4
goto @SWEET7_7652

:SWEET7_7571
534@ = 13
539@ = 5
goto @SWEET7_7652

:SWEET7_7592
534@ = 0
Text.PrintNow('TWAR650', 6000, 1)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_7638
Char.ShutUpForScriptedSpeech($big_smoke_car, False)

:SWEET7_7638
539@ = 0
goto @SWEET7_7652

:SWEET7_7652
if 
  541@ > 0
goto_if_false @SWEET7_7875
if 
  537@ == 0
goto_if_false @SWEET7_7875
switch_start 541@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_7875 {caseNum1} 1 {caseLabel1} @SWEET7_7751 {caseNum2} 2 {caseLabel2} @SWEET7_7815 {caseNum3} -1 {caseLabel3} @SWEET7_7875 {caseNum4} -1 {caseLabel4} @SWEET7_7875 {caseNum5} -1 {caseLabel5} @SWEET7_7875 {caseNum6} -1 {caseLabel6} @SWEET7_7875 {caseNum7} -1 {caseLabel7} @SWEET7_7875

:SWEET7_7751
if 
  540@ == 0
goto_if_false @SWEET7_7776
534@ = 24

:SWEET7_7776
if 
  540@ == 1
goto_if_false @SWEET7_7801
534@ = 26

:SWEET7_7801
541@ = 2
goto @SWEET7_7875

:SWEET7_7815
534@ = 0
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_7845
Char.ShutUpForScriptedSpeech($big_smoke_car, False)

:SWEET7_7845
Text.PrintNow('TWAR645', 6000, 1)
541@ = 0
goto @SWEET7_7875

:SWEET7_7875
if 
  542@ > 0
goto_if_false @SWEET7_8050
if 
  537@ == 0
goto_if_false @SWEET7_8050
switch_start 542@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_8050 {caseNum1} 1 {caseLabel1} @SWEET7_7974 {caseNum2} 2 {caseLabel2} @SWEET7_8013 {caseNum3} -1 {caseLabel3} @SWEET7_8050 {caseNum4} -1 {caseLabel4} @SWEET7_8050 {caseNum5} -1 {caseLabel5} @SWEET7_8050 {caseNum6} -1 {caseLabel6} @SWEET7_8050 {caseNum7} -1 {caseLabel7} @SWEET7_8050

:SWEET7_7974
if 
  540@ == 0
goto_if_false @SWEET7_7999
534@ = 25

:SWEET7_7999
542@ = 2
goto @SWEET7_8050

:SWEET7_8013
534@ = 0
Text.PrintNow('TWAR650', 6000, 1)
542@ = 0
goto @SWEET7_8050

:SWEET7_8050
281@ = Stat.GetInt(StatId.Respect)
if 
  44@ == 0
goto_if_false @SWEET7_8150
if 
  not Char.IsInCar($stattreadstamina_ctr, 78@)
goto_if_false @SWEET7_8150
41@ = Blip.AddForCar(78@)
Audio.SetRadioChannel(RadioChannel.CSR)
Blip.SetAsFriendly(41@, True)
Blip.Remove(267@)
Text.ClearPrints
44@ = 1
539@ = 0
541@ = 1
540@ = Math.RandomIntInRange(0, 2)

:SWEET7_8150
if 
  44@ == 1
goto_if_false @SWEET7_8244
if 
  Char.IsInCar($stattreadstamina_ctr, 78@)
goto_if_false @SWEET7_8244
Blip.Remove(41@)
267@ = Blip.AddForCoord(2460.499, -1656.57, 12.3125)
Text.ClearPrints
44@ = 0
539@ = 0
542@ = 1
540@ = Math.RandomIntInRange(0, 1)

:SWEET7_8244
34@ = Streaming.GetAreaVisible()
if 
  34@ == 0
goto_if_false @SWEET7_8287
if 
  not Game.IsMinigameInProgress
goto_if_false @SWEET7_8287
Player.SetControl($statbike_temp, True)

:SWEET7_8287
if 
  Char.IsInCar($stattreadstamina_ctr, 78@)
goto_if_false @SWEET7_8568
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 2460.499, -1656.57, 12.3125, 4.0, 4.0, 4.0, True)
goto_if_false @SWEET7_8568
Player.SetControl($statbike_temp, False)
if 
  Car.IsStopped(78@)
goto_if_false @SWEET7_8568
Car.FreezePosition(78@, True)
World.ClearArea(2268.039, -1670.695, 14.3594, 10.0, True)
Streaming.RemoveAnimation("SMOKING")
Text.ClearPrints
539@ = 1
Player.SetControl($statbike_temp, True)
Game.SetRelationship(RelationshipType.Respect, PedType.Gang2, PedType.Player1)
Player.SetGroupRecruitment($statbike_temp, True)
Blip.Remove(267@)
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_8568
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_8568
265@ = Blip.AddForChar(263@)
Blip.SetAsFriendly(265@, True)
268@ = 1
266@ = Blip.AddForChar(264@)
Blip.SetAsFriendly(266@, True)
269@ = 1
285@ = 1
TIMERA = 0
55@ = 4
270@ = 1
540@ = Math.RandomIntInRange(0, 3)

:SWEET7_8568
if 
  55@ == 3
goto_if_false @SWEET7_8772
Car.FreezePosition(78@, True)
World.ClearArea(2268.039, -1670.695, 14.3594, 10.0, True)
Streaming.RemoveAnimation("SMOKING")
Text.ClearPrints
539@ = 1
Player.SetControl($statbike_temp, True)
Game.SetRelationship(RelationshipType.Respect, PedType.Gang2, PedType.Player1)
Player.SetGroupRecruitment($statbike_temp, True)
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_8772
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_8772
265@ = Blip.AddForChar(263@)
Blip.SetAsFriendly(265@, True)
268@ = 1
266@ = Blip.AddForChar(264@)
Blip.SetAsFriendly(266@, True)
269@ = 1
285@ = 1
TIMERA = 0
55@ = 4
270@ = 1
540@ = Math.RandomIntInRange(0, 3)

:SWEET7_8772
if 
  285@ == 1
goto_if_false @SWEET7_8838
if 
  TIMERA > 8000
goto_if_false @SWEET7_8838
Text.ClearThisPrint('TWAR652')
Text.PrintHelp('TWAR660')
285@ = 2

:SWEET7_8838
if 
  270@ == 1
goto_if_false @SWEET7_9614
if 
  268@ == 1
goto_if_false @SWEET7_8921
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_8921
if 
  Char.IsGroupMember(263@, 260@)
goto_if_false @SWEET7_8921
Blip.Remove(265@)
268@ = 0

:SWEET7_8921
if 
  269@ == 1
goto_if_false @SWEET7_8986
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_8986
if 
  Char.IsGroupMember(264@, 260@)
goto_if_false @SWEET7_8986
Blip.Remove(266@)
269@ = 0

:SWEET7_8986
if 
  268@ == 0
goto_if_false @SWEET7_9073
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_9073
if 
  not Char.IsGroupMember(263@, 260@)
goto_if_false @SWEET7_9073
Blip.Remove(41@)
55@ = 4
265@ = Blip.AddForChar(263@)
Blip.SetAsFriendly(265@, True)
268@ = 1

:SWEET7_9073
if 
  269@ == 0
goto_if_false @SWEET7_9160
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_9160
if 
  not Char.IsGroupMember(264@, 260@)
goto_if_false @SWEET7_9160
Blip.Remove(41@)
55@ = 4
266@ = Blip.AddForChar(264@)
Blip.SetAsFriendly(266@, True)
269@ = 1

:SWEET7_9160
262@, 261@ = Group.GetSize(260@)
if 
  261@ > 1
goto_if_false @SWEET7_9558
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_9273
if 
  not Char.IsGroupMember(263@, 260@)
goto_if_false @SWEET7_9273
Text.ClearHelp
Text.PrintHelpForever('TWAR662')
if 
  11 > 543@
goto_if_false @SWEET7_9273
Text.ClearPrints
540@ = Math.RandomIntInRange(0, 2)
543@ = 11

:SWEET7_9273
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_9357
if 
  not Char.IsGroupMember(264@, 260@)
goto_if_false @SWEET7_9357
Text.ClearHelp
Text.PrintHelpForever('TWAR662')
if 
  11 > 543@
goto_if_false @SWEET7_9357
Text.ClearPrints
540@ = Math.RandomIntInRange(0, 2)
543@ = 11

:SWEET7_9357
if 
  543@ > 10
goto_if_false @SWEET7_9558
if 
  537@ == 0
goto_if_false @SWEET7_9558
switch_start 543@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_9558 {caseNum1} 11 {caseLabel1} @SWEET7_9456 {caseNum2} 12 {caseLabel2} @SWEET7_9520 {caseNum3} -1 {caseLabel3} @SWEET7_9558 {caseNum4} -1 {caseLabel4} @SWEET7_9558 {caseNum5} -1 {caseLabel5} @SWEET7_9558 {caseNum6} -1 {caseLabel6} @SWEET7_9558 {caseNum7} -1 {caseLabel7} @SWEET7_9558

:SWEET7_9456
if 
  540@ == 0
goto_if_false @SWEET7_9481
534@ = 20

:SWEET7_9481
if 
  540@ == 1
goto_if_false @SWEET7_9506
534@ = 21

:SWEET7_9506
543@ = 12
goto @SWEET7_9558

:SWEET7_9520
534@ = 0
Text.PrintNow('TWAR659', 6000, 1)
543@ = 999
goto @SWEET7_9558

:SWEET7_9558
if 
  2 > 261@
goto_if_false @SWEET7_9614
if 
  285@ == 2
goto_if_false @SWEET7_9614
Text.ClearHelp
Text.PrintHelpForever('TWAR660')
543@ = 0

:SWEET7_9614
if 
  55@ == 4
goto_if_false @SWEET7_10273
if 
  539@ > 0
goto_if_false @SWEET7_10085
if 
  537@ == 0
goto_if_false @SWEET7_10085
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_10085 {caseNum1} 1 {caseLabel1} @SWEET7_9731 {caseNum2} 2 {caseLabel2} @SWEET7_9994 {caseNum3} -1 {caseLabel3} @SWEET7_10085 {caseNum4} -1 {caseLabel4} @SWEET7_10085 {caseNum5} -1 {caseLabel5} @SWEET7_10085 {caseNum6} -1 {caseLabel6} @SWEET7_10085 {caseNum7} -1 {caseLabel7} @SWEET7_10085

:SWEET7_9731
if 
  540@ == 0
goto_if_false @SWEET7_9814
534@ = 1
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_9814
Char.ClearTasks($big_smoke_car)
Task.PlayAnim($big_smoke_car, "ENDCHAT_01", "PED", 4.0, True, False, False, False, -1)

:SWEET7_9814
if 
  540@ == 1
goto_if_false @SWEET7_9897
534@ = 1
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_9897
Char.ClearTasks($big_smoke_car)
Task.PlayAnim($big_smoke_car, "ENDCHAT_01", "PED", 4.0, True, False, False, False, -1)

:SWEET7_9897
if 
  540@ == 2
goto_if_false @SWEET7_9980
534@ = 1
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_9980
Char.ClearTasks($big_smoke_car)
Task.PlayAnim($big_smoke_car, "ENDCHAT_01", "PED", 4.0, True, False, False, False, -1)

:SWEET7_9980
539@ = 2
goto @SWEET7_10085

:SWEET7_9994
534@ = 0
Text.PrintNow('TWAR652', 6000, 1)
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_10071
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_10071
Char.ClearTasks($big_smoke_car)
Task.EnterCarAsPassenger($big_smoke_car, 78@, 20000, 0)
Audio.SetRadioChannel(RadioChannel.CSR)

:SWEET7_10071
539@ = 0
goto @SWEET7_10085

:SWEET7_10085
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_10273
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_10273
if 
  Char.IsGroupMember(263@, 260@)
goto_if_false @SWEET7_10273
if 
  Char.IsGroupMember(264@, 260@)
goto_if_false @SWEET7_10273
Text.ClearHelp
Text.ClearPrints
Text.PrintNow('TWAR654', 5500, 1)
286@ = 1
TIMERB = 0
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_10266
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_10266
if 
  Char.IsSittingInCar($big_smoke_car, 78@)
goto_if_false @SWEET7_10266
Car.LockDoors(78@, CarLock.Unlocked)
41@ = Blip.AddForCar(78@)
Blip.SetAsFriendly(41@, True)
Audio.SetRadioChannel(RadioChannel.CSR)

:SWEET7_10266
55@ = 10

:SWEET7_10273
if 
  286@ == 1
goto_if_false @SWEET7_10317
if 
  TIMERB > 6000
goto_if_false @SWEET7_10317
286@ = 2

:SWEET7_10317
if 
  55@ == 10
goto_if_false @SWEET7_10629
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_10629
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_10629
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_10629
if 
  Char.IsSittingInCar(263@, 78@)
goto_if_false @SWEET7_10629
if 
  Char.IsSittingInCar(264@, 78@)
goto_if_false @SWEET7_10629
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 78@)
goto_if_false @SWEET7_10629
Car.FreezePosition(78@, False)
Text.ClearHelp
Text.ClearPrints
Camera.SetBehindPlayer
if 
  302@ == 0
goto_if_false @SWEET7_10537
Hud.DisplayTimerWithString($6697, TimerDirection.Down, 'TWAR620')
Zone.SetGangStrength('GAN1', GangType.Grove, 35@)
Zone.SetGangStrength('GAN2', GangType.Grove, 36@)
Streaming.RemoveAnimation("SMOKING")
302@ = 1

:SWEET7_10537
Blip.Remove(41@)
42@ = Blip.AddForCoord(799.0102, -1074.032, 23.0115)
270@ = 1
44@ = 0
539@ = 1
55@ = 20
TIMERA = 0
Path.SwitchRoadsOff(772.243, -1050.323, 10.2931, 806.2723, -1130.195, 23.8359)

:SWEET7_10629
if 
  37@ == 1
goto_if_false @SWEET7_10696
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SWEET7_10696
if 
  10 > 53@
goto_if_false @SWEET7_10696
53@ = 10
37@ = 0

:SWEET7_10696
if 
  38@ == 1
goto_if_false @SWEET7_10738
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SWEET7_10738
133@ = 15

:SWEET7_10738
if 
  Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_10779
Text.ClearPrints
Text.PrintNow('TWAR638', 10000, 1)
goto @SWEET7_32478

:SWEET7_10779
if 
  Car.IsDead(79@)
goto_if_false @SWEET7_10852
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_10852
if 
  not Char.IsInAnyCar($big_smoke_car)
goto_if_false @SWEET7_10852
Text.ClearPrints
Text.PrintNow('TWAR648', 6000, 1)
goto @SWEET7_32478

:SWEET7_10852
if 
  53@ == 0
goto_if_false @SWEET7_12758
if 
  55@ == 20
goto_if_false @SWEET7_12758
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_12758
if 
  Char.IsInCar($stattreadstamina_ctr, 78@)
goto_if_false @SWEET7_11177
if 
  278@ == 0
goto_if_false @SWEET7_10978
if 
  TIMERA > 20000
goto_if_false @SWEET7_10978
Text.PrintHelp('TWAR656')
278@ = 1

:SWEET7_10978
if 
  539@ > 0
goto_if_false @SWEET7_11177
if 
  537@ == 0
goto_if_false @SWEET7_11177
switch_start 539@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @SWEET7_11177 {caseNum1} 1 {caseLabel1} @SWEET7_11077 {caseNum2} 2 {caseLabel2} @SWEET7_11098 {caseNum3} 3 {caseLabel3} @SWEET7_11119 {caseNum4} 4 {caseLabel4} @SWEET7_11140 {caseNum5} -1 {caseLabel5} @SWEET7_11177 {caseNum6} -1 {caseLabel6} @SWEET7_11177 {caseNum7} -1 {caseLabel7} @SWEET7_11177

:SWEET7_11077
534@ = 23
539@ = 2
goto @SWEET7_11177

:SWEET7_11098
534@ = 35
539@ = 3
goto @SWEET7_11177

:SWEET7_11119
534@ = 36
539@ = 4
goto @SWEET7_11177

:SWEET7_11140
534@ = 0
Text.PrintNow('TWAR631', 6000, 1)
539@ = 0
goto @SWEET7_11177

:SWEET7_11177
if 
  541@ > 0
goto_if_false @SWEET7_11377
if 
  537@ == 0
goto_if_false @SWEET7_11377
switch_start 541@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_11377 {caseNum1} 1 {caseLabel1} @SWEET7_11276 {caseNum2} 2 {caseLabel2} @SWEET7_11340 {caseNum3} -1 {caseLabel3} @SWEET7_11377 {caseNum4} -1 {caseLabel4} @SWEET7_11377 {caseNum5} -1 {caseLabel5} @SWEET7_11377 {caseNum6} -1 {caseLabel6} @SWEET7_11377 {caseNum7} -1 {caseLabel7} @SWEET7_11377

:SWEET7_11276
if 
  540@ == 0
goto_if_false @SWEET7_11301
534@ = 24

:SWEET7_11301
if 
  540@ == 1
goto_if_false @SWEET7_11326
534@ = 26

:SWEET7_11326
541@ = 2
goto @SWEET7_11377

:SWEET7_11340
534@ = 0
Text.PrintNow('TWAR632', 6000, 1)
541@ = 0
goto @SWEET7_11377

:SWEET7_11377
if 
  542@ > 0
goto_if_false @SWEET7_11552
if 
  537@ == 0
goto_if_false @SWEET7_11552
switch_start 542@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_11552 {caseNum1} 1 {caseLabel1} @SWEET7_11476 {caseNum2} 2 {caseLabel2} @SWEET7_11515 {caseNum3} -1 {caseLabel3} @SWEET7_11552 {caseNum4} -1 {caseLabel4} @SWEET7_11552 {caseNum5} -1 {caseLabel5} @SWEET7_11552 {caseNum6} -1 {caseLabel6} @SWEET7_11552 {caseNum7} -1 {caseLabel7} @SWEET7_11552

:SWEET7_11476
if 
  540@ == 0
goto_if_false @SWEET7_11501
534@ = 25

:SWEET7_11501
542@ = 2
goto @SWEET7_11552

:SWEET7_11515
534@ = 0
Text.PrintNow('TWAR631', 6000, 1)
542@ = 0
goto @SWEET7_11552

:SWEET7_11552
if 
  44@ == 0
goto_if_false @SWEET7_11645
if 
  not Char.IsInCar($stattreadstamina_ctr, 78@)
goto_if_false @SWEET7_11645
41@ = Blip.AddForCar(78@)
Audio.SetRadioChannel(RadioChannel.CSR)
Blip.SetAsFriendly(41@, True)
Blip.Remove(42@)
Text.ClearPrints
44@ = 1
539@ = 0
541@ = 1
540@ = Math.RandomIntInRange(0, 2)

:SWEET7_11645
if 
  44@ == 1
goto_if_false @SWEET7_11809
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_11809
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_11809
if 
  Char.IsInCar($stattreadstamina_ctr, 78@)
goto_if_false @SWEET7_11809
if 
  Char.IsSittingInCar(263@, 78@)
goto_if_false @SWEET7_11809
if 
  Char.IsSittingInCar(264@, 78@)
goto_if_false @SWEET7_11809
Blip.Remove(41@)
42@ = Blip.AddForCoord(799.0102, -1074.032, 23.0115)
Text.ClearPrints
44@ = 0
539@ = 0
542@ = 1
540@ = Math.RandomIntInRange(0, 1)

:SWEET7_11809
34@ = Streaming.GetAreaVisible()
if 
  34@ == 0
goto_if_false @SWEET7_11852
if 
  not Game.IsMinigameInProgress
goto_if_false @SWEET7_11852
Player.SetControl($statbike_temp, True)

:SWEET7_11852
if 
  44@ == 0
goto_if_false @SWEET7_12758
if 
  Char.IsInCar($stattreadstamina_ctr, 78@)
goto_if_false @SWEET7_12758
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 799.0102, -1074.032, 23.0115, 3.8, 3.8, 4.0, True)
goto_if_false @SWEET7_12758
Player.SetControl($statbike_temp, False)
if 
  Car.IsStopped(78@)
goto_if_false @SWEET7_12758
Blip.Remove(42@)
Player.SetControl($statbike_temp, False)
Hud.ClearTimer($6697)
Camera.DoFade(500, Fade.Out)

:SWEET7_11984
if 
  Camera.GetFadingStatus
goto_if_false @SWEET7_12008
wait 0
goto @SWEET7_11984

:SWEET7_12008
Camera.SetFixedPosition(790.7784, -1072.139, 26.2131, 0.0, 0.0, 0.0)
Camera.PointAtPoint(791.6847, -1072.378, 25.8645, SwitchType.JumpCut)
Streaming.LoadScene(803.5742, -1075.752, 23.3957)
wait 0
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_12103
Car.FreezePosition(78@, True)

:SWEET7_12103
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.DoFade(1000, Fade.In)

:SWEET7_12121
if 
  Camera.GetFadingStatus
goto_if_false @SWEET7_12145
wait 0
goto @SWEET7_12121

:SWEET7_12145
Hud.ClearTimer($6697)
Camera.DoFade(1000, Fade.In)

:SWEET7_12157
if 
  Camera.GetFadingStatus
goto_if_false @SWEET7_12181
wait 0
goto @SWEET7_12157

:SWEET7_12181
270@ = 0
53@ = 1
133@ = 1
TIMERA = 0
if 
  537@ == 0
goto_if_false @SWEET7_12234
534@ = 29

:SWEET7_12234
if 
  53@ == -999
goto_if_false @SWEET7_12407
81@ = Char.Create(PedType.Mission2, 106, 820.7578, -1078.671, 22.9313)
Char.SetHeading(81@, 258.1012)
Char.SetDecisionMaker(81@, 93@)
Char.SetHealth(81@, 500)
Char.SetMaxHealth(81@, 500)
Char.SetNeverTargeted(81@, True)
Char.GiveWeapon(81@, WeaponType.MicroUzi, 99999)
82@ = Char.Create(PedType.Mission2, 106, 820.2401, -1075.763, 23.0894)
Char.SetHeading(82@, 200.7)
Char.SetDecisionMaker(82@, 93@)
Char.SetHealth(82@, 500)
Char.SetMaxHealth(82@, 500)
Char.SetNeverTargeted(82@, True)
Char.GiveWeapon(82@, WeaponType.MicroUzi, 99999)

:SWEET7_12407
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.MarkModelAsNoLongerNeeded(107)
Streaming.MarkModelAsNoLongerNeeded(105)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_12528
Char.SetDecisionMaker($big_smoke_car, 93@)
Char.ClearTasks($big_smoke_car)
39@ = Blip.AddForChar($big_smoke_car)
Blip.SetAsFriendly(39@, True)
83@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 804.576, -1075.795, 23.3946, MoveState.Walk, 10000)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(83@)
Char.PerformSequence($big_smoke_car, 83@)
Sequence.Clear(83@)
TIMERA = 0

:SWEET7_12528
if 
  1000 > TIMERA
goto_if_false @SWEET7_12558
wait 0
goto @SWEET7_12528

:SWEET7_12558
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_12643
Char.SetDecisionMaker(263@, 93@)
Char.RemoveFromGroup(263@)
Char.ClearTasks(263@)
272@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 804.8553, -1074.422, 23.4385, MoveState.Walk, 10000)
Sequence.Close(272@)
Char.PerformSequence(263@, 272@)
Sequence.Clear(272@)

:SWEET7_12643
if 
  1750 > TIMERA
goto_if_false @SWEET7_12673
wait 0
goto @SWEET7_12643

:SWEET7_12673
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_12758
Char.SetDecisionMaker(264@, 93@)
Char.RemoveFromGroup(264@)
Char.ClearTasks(264@)
273@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 805.1254, -1072.344, 23.5187, MoveState.Run, 10000)
Sequence.Close(273@)
Char.PerformSequence(264@, 273@)
Sequence.Clear(273@)

:SWEET7_12758
if 
  133@ == 1
goto_if_false @SWEET7_12809
if 
  TIMERA > 500
goto_if_false @SWEET7_12809
133@ = 4
TIMERA = 0

:SWEET7_12809
if 
  133@ == 4
goto_if_false @SWEET7_13196
if 
  TIMERA > 1000
goto_if_false @SWEET7_12878
if 
  303@ == 0
goto_if_false @SWEET7_12878
38@ = 1
303@ = 1

:SWEET7_12878
if 
  TIMERA > 3000
goto_if_false @SWEET7_13196
World.ClearArea(804.576, -1075.795, 23.3946, 5.0, True)
Camera.SetFixedPosition(813.1065, -1071.708, 27.3524, 0.0, 0.0, 0.0)
Camera.PointAtPoint(812.2476, -1072.201, 27.2129, SwitchType.JumpCut)
133@ = 5
if 
  537@ == 0
goto_if_false @SWEET7_12997

:SWEET7_12997
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SWEET7_13078
Char.ClearTasks($stattreadstamina_ctr)
549@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 803.7976, -1075.882, 23.3933, MoveState.Run, 10000)
Task.AchieveHeading(-1, 272.0)
Sequence.Close(549@)
Char.PerformSequence($stattreadstamina_ctr, 549@)
Sequence.Clear(549@)

:SWEET7_13078
TIMERA = 0
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_13196
Char.ClearTasks(264@)
Char.SetCoordinates(264@, 805.1254, -1072.344, 23.5187)
Char.SetHeading(264@, 230.0)
273@ = Sequence.Open()
Task.Climb(-1, True)
Task.GoStraightToCoord(-1, 820.4114, -1076.603, 23.0623, MoveState.Run, 10000)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(273@)
Char.PerformSequence(264@, 273@)
Sequence.Clear(273@)

:SWEET7_13196
if 
  133@ == 5
goto_if_false @SWEET7_13351
if 
  TIMERA > 200
goto_if_false @SWEET7_13351
World.ClearArea(804.576, -1075.795, 23.3946, 5.0, True)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_13337
Char.ClearTasks($big_smoke_car)
Char.SetCoordinates($big_smoke_car, 804.576, -1075.795, 23.3946)
Char.SetHeading($big_smoke_car, 271.0)
83@ = Sequence.Open()
Task.Climb(-1, True)
Sequence.Close(83@)
Char.PerformSequence($big_smoke_car, 83@)
Sequence.Clear(83@)

:SWEET7_13337
TIMERA = 0
133@ = 6

:SWEET7_13351
if 
  133@ == 6
goto_if_false @SWEET7_13513
if 
  TIMERA > 1000
goto_if_false @SWEET7_13513
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_13499
Char.ClearTasks(263@)
Char.SetCoordinates(263@, 804.8553, -1074.422, 23.4385)
Char.SetHeading(263@, 262.0)
272@ = Sequence.Open()
Task.Climb(-1, True)
Task.GoStraightToCoord(-1, 818.4114, -1076.603, 23.0623, MoveState.Run, 10000)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(272@)
Char.PerformSequence(263@, 272@)
Sequence.Clear(272@)

:SWEET7_13499
133@ = 10
TIMERA = 0

:SWEET7_13513
if 
  133@ == 10
goto_if_false @SWEET7_13635
if 
  TIMERA > 2000
goto_if_false @SWEET7_13635
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_13596
Char.ClearTasks($big_smoke_car)
Task.GoStraightToCoord($big_smoke_car, 818.4114, -1076.603, 23.0623, MoveState.Run, 10000)

:SWEET7_13596
if 
  537@ == 0
goto_if_false @SWEET7_13621
534@ = 31

:SWEET7_13621
133@ = 13
TIMERA = 0

:SWEET7_13635
if 
  133@ == 13
goto_if_false @SWEET7_13697
if 
  537@ == 0
goto_if_false @SWEET7_13697
if 
  TIMERA > 2000
goto_if_false @SWEET7_13697
133@ = 15

:SWEET7_13697
if 
  133@ == 15
goto_if_false @SWEET7_13930
38@ = 0
Char.ClearTasks($stattreadstamina_ctr)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Text.ClearPrints
Player.SetControl($statbike_temp, True)
133@ = 20
Text.ClearPrints
Text.PrintNow('TWAR635', 6000, 1)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_13828
Char.ClearTasksImmediately($big_smoke_car)
Char.SetCoordinates($big_smoke_car, 818.4114, -1076.603, 23.0623)
Char.SetHeading($big_smoke_car, 279.0)
Task.TurnCharToFaceChar($big_smoke_car, $stattreadstamina_ctr)

:SWEET7_13828
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_13879
Char.ClearTasksImmediately(263@)
Char.SetCoordinates(263@, 816.0391, -1072.607, 23.71)
Char.SetHeading(263@, 248.0)

:SWEET7_13879
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_13930
Char.ClearTasksImmediately(264@)
Char.SetCoordinates(264@, 815.9681, -1073.723, 23.5666)
Char.SetHeading(264@, 253.0)

:SWEET7_13930
if 
  53@ == 1
goto_if_false @SWEET7_14228
if 
  55@ == 20
goto_if_false @SWEET7_14228
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_14228
if 
  68@ == 0
goto_if_false @SWEET7_14137
if 
  Char.LocateAnyMeans3D($big_smoke_car, 818.4114, -1076.603, 23.0623, 4.0, 4.0, 4.0, False)
goto_if_false @SWEET7_14137
Char.FreezePosition($big_smoke_car, True)
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 3.0, 3.0, False)
goto_if_false @SWEET7_14137
Char.ClearTasks($big_smoke_car)
if 
  not Char.IsDead(82@)
goto_if_false @SWEET7_14107

:SWEET7_14107
if 
  not Char.IsDead(81@)
goto_if_false @SWEET7_14123

:SWEET7_14123
68@ = 1
Char.FreezePosition($big_smoke_car, False)

:SWEET7_14137
if 
  Char.LocateAnyMeans3D($big_smoke_car, 818.4114, -1076.603, 23.0623, 2.0, 2.0, 2.0, False)
goto_if_false @SWEET7_14228
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 2.0, 2.0, False)
goto_if_false @SWEET7_14228
53@ = 4
Blip.Remove(39@)

:SWEET7_14228
if 
  1 > 53@
goto_if_false @SWEET7_14287
if 
  Car.IsDead(78@)
goto_if_false @SWEET7_14287
Text.ClearPrints
Text.PrintNow('TWAR633', 8000, 1)
goto @SWEET7_32478

:SWEET7_14287
if 
  5 > 53@
goto_if_false @SWEET7_15636
if 
  Char.DoesExist(263@)
goto_if_false @SWEET7_14363
if 
  Char.IsDead(263@)
goto_if_false @SWEET7_14363
Text.ClearPrints
540@ = Math.RandomIntInRange(0, 3)
539@ = 21
53@ = 999

:SWEET7_14363
if 
  Char.DoesExist(264@)
goto_if_false @SWEET7_14421
if 
  Char.IsDead(264@)
goto_if_false @SWEET7_14421
Text.ClearPrints
540@ = Math.RandomIntInRange(0, 3)
539@ = 21
53@ = 999

:SWEET7_14421
if 
  Char.DoesExist(105@)
goto_if_false @SWEET7_14664
if 
  69@ == 0
goto_if_false @SWEET7_14664
if 
  Char.HasBeenDamagedByChar(105@, $stattreadstamina_ctr)
goto_if_false @SWEET7_14664
69@ = 1
if 
  not Char.IsDead(105@)
goto_if_false @SWEET7_14510
Char.ClearTasks(105@)
Task.KillCharOnFoot(105@, $stattreadstamina_ctr)

:SWEET7_14510
if 
  not Char.IsDead(107@)
goto_if_false @SWEET7_14539
Char.ClearTasks(107@)
Task.KillCharOnFoot(107@, $stattreadstamina_ctr)

:SWEET7_14539
if 
  not Char.IsDead(109@)
goto_if_false @SWEET7_14568
Char.ClearTasks(109@)
Task.KillCharOnFoot(109@, $stattreadstamina_ctr)

:SWEET7_14568
if 
  not Char.IsDead(97@)
goto_if_false @SWEET7_14604
Char.ClearTasks(97@)
Task.SmartFleeChar(97@, $stattreadstamina_ctr, 100.0, -1)

:SWEET7_14604
if 
  not Char.IsDead(96@)
goto_if_false @SWEET7_14640
Char.ClearTasks(96@)
Task.SmartFleeChar(96@, $stattreadstamina_ctr, 100.0, -1)

:SWEET7_14640
540@ = Math.RandomIntInRange(0, 3)
539@ = 41
53@ = 999

:SWEET7_14664
if 
  69@ == 0
goto_if_false @SWEET7_14907
if 
  Char.DoesExist(107@)
goto_if_false @SWEET7_14907
if 
  Char.HasBeenDamagedByChar(107@, $stattreadstamina_ctr)
goto_if_false @SWEET7_14907
69@ = 1
if 
  not Char.IsDead(107@)
goto_if_false @SWEET7_14753
Char.ClearTasks(107@)
Task.KillCharOnFoot(107@, $stattreadstamina_ctr)

:SWEET7_14753
if 
  not Char.IsDead(105@)
goto_if_false @SWEET7_14782
Char.ClearTasks(105@)
Task.KillCharOnFoot(105@, $stattreadstamina_ctr)

:SWEET7_14782
if 
  not Char.IsDead(109@)
goto_if_false @SWEET7_14811
Char.ClearTasks(109@)
Task.KillCharOnFoot(109@, $stattreadstamina_ctr)

:SWEET7_14811
if 
  not Char.IsDead(97@)
goto_if_false @SWEET7_14847
Char.ClearTasks(97@)
Task.SmartFleeChar(97@, $stattreadstamina_ctr, 100.0, -1)

:SWEET7_14847
if 
  not Char.IsDead(96@)
goto_if_false @SWEET7_14883
Char.ClearTasks(96@)
Task.SmartFleeChar(96@, $stattreadstamina_ctr, 100.0, -1)

:SWEET7_14883
540@ = Math.RandomIntInRange(0, 3)
539@ = 41
53@ = 999

:SWEET7_14907
if 
  69@ == 0
goto_if_false @SWEET7_15150
if 
  Char.DoesExist(109@)
goto_if_false @SWEET7_15150
if 
  Char.HasBeenDamagedByChar(109@, $stattreadstamina_ctr)
goto_if_false @SWEET7_15150
69@ = 1
if 
  not Char.IsDead(109@)
goto_if_false @SWEET7_14996
Char.ClearTasks(109@)
Task.KillCharOnFoot(109@, $stattreadstamina_ctr)

:SWEET7_14996
if 
  not Char.IsDead(105@)
goto_if_false @SWEET7_15025
Char.ClearTasks(105@)
Task.KillCharOnFoot(105@, $stattreadstamina_ctr)

:SWEET7_15025
if 
  not Char.IsDead(107@)
goto_if_false @SWEET7_15054
Char.ClearTasks(107@)
Task.KillCharOnFoot(107@, $stattreadstamina_ctr)

:SWEET7_15054
if 
  not Char.IsDead(97@)
goto_if_false @SWEET7_15090
Char.ClearTasks(97@)
Task.SmartFleeChar(97@, $stattreadstamina_ctr, 100.0, -1)

:SWEET7_15090
if 
  not Char.IsDead(96@)
goto_if_false @SWEET7_15126
Char.ClearTasks(96@)
Task.SmartFleeChar(96@, $stattreadstamina_ctr, 100.0, -1)

:SWEET7_15126
540@ = Math.RandomIntInRange(0, 3)
539@ = 41
53@ = 999

:SWEET7_15150
if 
  69@ == 0
goto_if_false @SWEET7_15393
if 
  Char.DoesExist(96@)
goto_if_false @SWEET7_15393
if 
  Char.HasBeenDamagedByChar(96@, $stattreadstamina_ctr)
goto_if_false @SWEET7_15393
69@ = 1
if 
  not Char.IsDead(105@)
goto_if_false @SWEET7_15239
Char.ClearTasks(105@)
Task.KillCharOnFoot(105@, $stattreadstamina_ctr)

:SWEET7_15239
if 
  not Char.IsDead(107@)
goto_if_false @SWEET7_15268
Char.ClearTasks(107@)
Task.KillCharOnFoot(107@, $stattreadstamina_ctr)

:SWEET7_15268
if 
  not Char.IsDead(109@)
goto_if_false @SWEET7_15297
Char.ClearTasks(109@)
Task.KillCharOnFoot(109@, $stattreadstamina_ctr)

:SWEET7_15297
if 
  not Char.IsDead(97@)
goto_if_false @SWEET7_15333
Char.ClearTasks(97@)
Task.SmartFleeChar(97@, $stattreadstamina_ctr, 100.0, -1)

:SWEET7_15333
if 
  not Char.IsDead(96@)
goto_if_false @SWEET7_15369
Char.ClearTasks(96@)
Task.SmartFleeChar(96@, $stattreadstamina_ctr, 100.0, -1)

:SWEET7_15369
540@ = Math.RandomIntInRange(0, 3)
539@ = 41
53@ = 999

:SWEET7_15393
if 
  69@ == 0
goto_if_false @SWEET7_15636
if 
  Char.DoesExist(97@)
goto_if_false @SWEET7_15636
if 
  Char.HasBeenDamagedByChar(97@, $stattreadstamina_ctr)
goto_if_false @SWEET7_15636
69@ = 1
if 
  not Char.IsDead(105@)
goto_if_false @SWEET7_15482
Char.ClearTasks(105@)
Task.KillCharOnFoot(105@, $stattreadstamina_ctr)

:SWEET7_15482
if 
  not Char.IsDead(107@)
goto_if_false @SWEET7_15511
Char.ClearTasks(107@)
Task.KillCharOnFoot(107@, $stattreadstamina_ctr)

:SWEET7_15511
if 
  not Char.IsDead(109@)
goto_if_false @SWEET7_15540
Char.ClearTasks(109@)
Task.KillCharOnFoot(109@, $stattreadstamina_ctr)

:SWEET7_15540
if 
  not Char.IsDead(97@)
goto_if_false @SWEET7_15576
Char.ClearTasks(97@)
Task.SmartFleeChar(97@, $stattreadstamina_ctr, 100.0, -1)

:SWEET7_15576
if 
  not Char.IsDead(96@)
goto_if_false @SWEET7_15612
Char.ClearTasks(96@)
Task.SmartFleeChar(96@, $stattreadstamina_ctr, 100.0, -1)

:SWEET7_15612
540@ = Math.RandomIntInRange(0, 3)
539@ = 41
53@ = 999

:SWEET7_15636
if 
  53@ == 999
goto_if_false @SWEET7_16593
if and
  539@ > 20
  30 > 539@
goto_if_false @SWEET7_15894
if 
  537@ == 0
goto_if_false @SWEET7_15894
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_15894 {caseNum1} 21 {caseLabel1} @SWEET7_15761 {caseNum2} 22 {caseLabel2} @SWEET7_15850 {caseNum3} -1 {caseLabel3} @SWEET7_15894 {caseNum4} -1 {caseLabel4} @SWEET7_15894 {caseNum5} -1 {caseLabel5} @SWEET7_15894 {caseNum6} -1 {caseLabel6} @SWEET7_15894 {caseNum7} -1 {caseLabel7} @SWEET7_15894

:SWEET7_15761
if 
  540@ == 0
goto_if_false @SWEET7_15786
534@ = 17

:SWEET7_15786
if 
  540@ == 1
goto_if_false @SWEET7_15811
534@ = 18

:SWEET7_15811
if 
  540@ == 2
goto_if_false @SWEET7_15836
534@ = 19

:SWEET7_15836
539@ = 22
goto @SWEET7_15894

:SWEET7_15850
534@ = 0
Text.PrintNow('TWAR658', 6000, 1)
539@ = 0
goto @SWEET7_32478
goto @SWEET7_15894

:SWEET7_15894
if and
  539@ > 30
  40 > 539@
goto_if_false @SWEET7_16108
if 
  537@ == 0
goto_if_false @SWEET7_16108
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_16108 {caseNum1} 31 {caseLabel1} @SWEET7_16000 {caseNum2} 32 {caseLabel2} @SWEET7_16064 {caseNum3} -1 {caseLabel3} @SWEET7_16108 {caseNum4} -1 {caseLabel4} @SWEET7_16108 {caseNum5} -1 {caseLabel5} @SWEET7_16108 {caseNum6} -1 {caseLabel6} @SWEET7_16108 {caseNum7} -1 {caseLabel7} @SWEET7_16108

:SWEET7_16000
if 
  540@ == 0
goto_if_false @SWEET7_16025
534@ = 27

:SWEET7_16025
if 
  540@ == 1
goto_if_false @SWEET7_16050
534@ = 28

:SWEET7_16050
539@ = 32
goto @SWEET7_16108

:SWEET7_16064
534@ = 0
Text.PrintNow('TWAR619', 6000, 1)
539@ = 0
goto @SWEET7_32478
goto @SWEET7_16108

:SWEET7_16108
if and
  539@ > 40
  50 > 539@
goto_if_false @SWEET7_16347
if 
  537@ == 0
goto_if_false @SWEET7_16347
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_16347 {caseNum1} 41 {caseLabel1} @SWEET7_16214 {caseNum2} 42 {caseLabel2} @SWEET7_16303 {caseNum3} -1 {caseLabel3} @SWEET7_16347 {caseNum4} -1 {caseLabel4} @SWEET7_16347 {caseNum5} -1 {caseLabel5} @SWEET7_16347 {caseNum6} -1 {caseLabel6} @SWEET7_16347 {caseNum7} -1 {caseLabel7} @SWEET7_16347

:SWEET7_16214
if 
  540@ == 0
goto_if_false @SWEET7_16239
534@ = 37

:SWEET7_16239
if 
  540@ == 1
goto_if_false @SWEET7_16264
534@ = 38

:SWEET7_16264
if 
  540@ == 1
goto_if_false @SWEET7_16289
534@ = 39

:SWEET7_16289
539@ = 42
goto @SWEET7_16347

:SWEET7_16303
534@ = 0
Text.PrintNow('TWAR625', 6000, 1)
539@ = 0
goto @SWEET7_32478
goto @SWEET7_16347

:SWEET7_16347
if and
  539@ > 60
  70 > 539@
goto_if_false @SWEET7_16593
if 
  537@ == 0
goto_if_false @SWEET7_16593
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_16593 {caseNum1} 61 {caseLabel1} @SWEET7_16453 {caseNum2} 62 {caseLabel2} @SWEET7_16542 {caseNum3} -1 {caseLabel3} @SWEET7_16593 {caseNum4} -1 {caseLabel4} @SWEET7_16593 {caseNum5} -1 {caseLabel5} @SWEET7_16593 {caseNum6} -1 {caseLabel6} @SWEET7_16593 {caseNum7} -1 {caseLabel7} @SWEET7_16593

:SWEET7_16453
if 
  540@ == 0
goto_if_false @SWEET7_16478
534@ = 61

:SWEET7_16478
if 
  540@ == 1
goto_if_false @SWEET7_16503
534@ = 62

:SWEET7_16503
if 
  540@ == 2
goto_if_false @SWEET7_16528
534@ = 63

:SWEET7_16528
539@ = 62
goto @SWEET7_16593

:SWEET7_16542
534@ = 0
Text.ClearPrints
Text.PrintNow('TWAR627', 8000, 1)
Char.Delete(98@)
539@ = 0
goto @SWEET7_32478
goto @SWEET7_16593

:SWEET7_16593
if 
  53@ == 4
goto_if_false @SWEET7_17101
53@ = 5
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_16658
Car.CloseAllDoors(78@)
Car.FreezePosition(78@, False)
Car.LockDoors(78@, CarLock.LockoutPlayerOnly)
Car.MarkAsNoLongerNeeded(78@)

:SWEET7_16658
World.ClearArea(894.0744, -1073.497, 23.3203, 125.0, True)
Player.SetControl($statbike_temp, False)
76@ = Car.Create(445, 897.3787, -1073.502, 23.3203)
Car.SetHeading(76@, 90.2)
Car.ChangeColor(76@, 25, 40)
Car.LockDoors(76@, CarLock.LockoutPlayerOnly)
Car.SetProofs(76@, True, True, True, True, True)
Streaming.MarkModelAsNoLongerNeeded(445)
98@ = Char.CreateAsPassenger(76@, PedType.Mission1, 104, 0)
101@ = Char.CreateInsideCar(76@, PedType.Mission1, 103)
Char.GiveWeapon(101@, WeaponType.MicroUzi, 2000)
Char.SetDecisionMaker(98@, 92@)
Char.SetDecisionMaker(101@, 92@)
Char.SetHealth(98@, 260)
Char.SetMaxHealth(98@, 300)
Char.SetAccuracy(98@, 100)
Char.AddArmor(98@, 100)
Char.SetOnlyDamagedByPlayer(98@, True)
Char.SetSuffersCriticalHits(98@, False)
Char.SetCanBeShotInVehicle(98@, False)
Char.SetAllowedToDuck(98@, False)
111@ = Char.Create(PedType.Mission1, 103, 876.4128, -1068.866, 23.3745)
Char.SetDecisionMaker(111@, 93@)
Char.SetHeading(111@, 166.6)
Char.GiveWeapon(111@, WeaponType.MicroUzi, 2000)
Char.SetOnlyDamagedByPlayer(111@, True)
Char.SetAccuracy(111@, 90)
Char.SetHealth(111@, 120)
112@ = Char.Create(PedType.Mission1, 103, 922.7446, -1066.214, 23.3203)
Char.SetDecisionMaker(112@, 93@)
Char.SetHeading(112@, 66.6)
Char.GiveWeapon(112@, WeaponType.MicroUzi, 2000)
Char.SetShootRate(112@, 15)
Char.SetOnlyDamagedByPlayer(112@, True)
Char.SetAccuracy(112@, 90)
Char.SetHealth(112@, 120)
113@ = Char.Create(PedType.Mission1, 103, 922.4503, -1117.908, 23.0517)
Char.SetDecisionMaker(113@, 93@)
Char.SetHeading(113@, 357.6)
Char.GiveWeapon(113@, WeaponType.MicroUzi, 2000)
Char.SetShootRate(113@, 15)
Char.SetOnlyDamagedByPlayer(113@, True)
Char.SetAccuracy(113@, 90)
Char.SetHealth(113@, 120)

:SWEET7_17101
if 
  71@ == 0
goto_if_false @SWEET7_17633
if and
  53@ > 4
  999 > 53@
goto_if_false @SWEET7_17633
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_17184
$6696 = Char.GetHealth(98@)
set_var_int_to_var_int $Crash1_view_debug = $6696
$Crash1_view_debug /= 3

:SWEET7_17184
if 
  132@ == 0
goto_if_false @SWEET7_17579
if 
  Char.IsDead(98@)
goto_if_false @SWEET7_17579
Blip.Remove(40@)
53@ = 1352
gosub @SWEET7_31352
Text.ClearPrints
71@ = 1
62@ = 99
63@ = 99
64@ = 99
539@ = 1
if 
  not Car.IsDead(79@)
goto_if_false @SWEET7_17385
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_17385
Car.LockDoors(79@, CarLock.Unlocked)
Car.LockDoors(79@, CarLock.LockoutPlayerOnly)
Char.ClearTasks($big_smoke_car)
87@ = Sequence.Open()
Task.GoStraightToCoord(-1, 930.8062, -1114.459, 23.094, MoveState.Run, 10000)
Task.EnterCarAsPassenger(-1, 79@, 30000, -1)
Sequence.Close(87@)
Char.PerformSequence($big_smoke_car, 87@)
Sequence.Clear(87@)

:SWEET7_17385
if 
  not Char.IsDead(81@)
goto_if_false @SWEET7_17482
Char.ClearTasks(81@)
300@ = Sequence.Open()
Task.GoStraightToCoord(-1, 945.3914, -1100.376, 23.2999, MoveState.Run, -1)
Task.AimGunAtCoord(-1, 969.3931, -1098.341, 22.877, 120000)
Task.StayInSamePlace(-1, True)
Sequence.Close(300@)
Char.PerformSequence(81@, 300@)
Sequence.Clear(300@)

:SWEET7_17482
if 
  not Char.IsDead(82@)
goto_if_false @SWEET7_17579
Char.ClearTasks(82@)
299@ = Sequence.Open()
Task.GoStraightToCoord(-1, 944.9411, -1106.773, 23.2539, MoveState.Run, -1)
Task.AimGunAtCoord(-1, 970.9636, -1107.962, 22.8672, 120000)
Task.StayInSamePlace(-1, True)
Sequence.Close(299@)
Char.PerformSequence(82@, 299@)
Sequence.Clear(299@)

:SWEET7_17579
if 
  132@ > 0
goto_if_false @SWEET7_17633
if 
  Char.IsDead(98@)
goto_if_false @SWEET7_17633
Blip.Remove(40@)
53@ = 1352
71@ = 4

:SWEET7_17633
if 
  71@ == 4
goto_if_false @SWEET7_17795
if 
  not Car.IsDead(79@)
goto_if_false @SWEET7_17795
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_17795
if 
  Char.IsSittingInCar($big_smoke_car, 79@)
goto_if_false @SWEET7_17795
Car.LockDoors(79@, CarLock.Unlocked)
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 79@)
goto_if_false @SWEET7_17795
276@ = 1
Char.ClearTasks($big_smoke_car)
Blip.Remove(43@)
271@ = Blip.AddForCoord(2501.634, -1674.131, 12.3689)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Camera.SetBehindPlayer
71@ = 8
44@ = 0
539@ = 1

:SWEET7_17795
if 
  71@ == 8
goto_if_false @SWEET7_18588
if 
  132@ == 0
goto_if_false @SWEET7_17988
if 
  539@ > 0
goto_if_false @SWEET7_17988
if 
  537@ == 0
goto_if_false @SWEET7_17988
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_17988 {caseNum1} 1 {caseLabel1} @SWEET7_17930 {caseNum2} 2 {caseLabel2} @SWEET7_17951 {caseNum3} -1 {caseLabel3} @SWEET7_17988 {caseNum4} -1 {caseLabel4} @SWEET7_17988 {caseNum5} -1 {caseLabel5} @SWEET7_17988 {caseNum6} -1 {caseLabel6} @SWEET7_17988 {caseNum7} -1 {caseLabel7} @SWEET7_17988

:SWEET7_17930
534@ = 69
539@ = 2
goto @SWEET7_17988

:SWEET7_17951
534@ = 0
Text.PrintNow('TWAR646', 6000, 1)
539@ = 0
goto @SWEET7_17988

:SWEET7_17988
if 
  132@ > 0
goto_if_false @SWEET7_18207
if 
  539@ > 0
goto_if_false @SWEET7_18207
if 
  537@ == 0
goto_if_false @SWEET7_18207
switch_start 539@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @SWEET7_18207 {caseNum1} 1 {caseLabel1} @SWEET7_18105 {caseNum2} 2 {caseLabel2} @SWEET7_18126 {caseNum3} 3 {caseLabel3} @SWEET7_18147 {caseNum4} 4 {caseLabel4} @SWEET7_18168 {caseNum5} -1 {caseLabel5} @SWEET7_18207 {caseNum6} -1 {caseLabel6} @SWEET7_18207 {caseNum7} -1 {caseLabel7} @SWEET7_18207

:SWEET7_18105
534@ = 64
539@ = 2
goto @SWEET7_18207

:SWEET7_18126
534@ = 65
539@ = 3
goto @SWEET7_18207

:SWEET7_18147
534@ = 66
539@ = 4
goto @SWEET7_18207

:SWEET7_18168
534@ = 0
Text.ClearPrints
Text.PrintNow('TWAR646', 6000, 1)
539@ = 0
goto @SWEET7_18207

:SWEET7_18207
if 
  not Car.IsDead(79@)
goto_if_false @SWEET7_18588
if 
  44@ == 0
goto_if_false @SWEET7_18312
if 
  not Char.IsInCar($stattreadstamina_ctr, 79@)
goto_if_false @SWEET7_18312
539@ = 0
43@ = Blip.AddForCar(79@)
Blip.SetAsFriendly(43@, True)
Blip.Remove(271@)
Text.ClearPrints
Text.PrintNow('TWAR645', 6000, 1)
44@ = 1

:SWEET7_18312
if 
  44@ == 1
goto_if_false @SWEET7_18406
if 
  Char.IsInCar($stattreadstamina_ctr, 79@)
goto_if_false @SWEET7_18406
Blip.Remove(43@)
271@ = Blip.AddForCoord(2501.634, -1674.131, 12.3689)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Text.ClearPrints
Text.PrintNow('TWAR647', 8000, 1)
44@ = 0

:SWEET7_18406
34@ = Streaming.GetAreaVisible()
if 
  34@ == 0
goto_if_false @SWEET7_18449
if 
  not Game.IsMinigameInProgress
goto_if_false @SWEET7_18449
Player.SetControl($statbike_temp, True)

:SWEET7_18449
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_18588
if 
  Char.IsSittingInCar($big_smoke_car, 79@)
goto_if_false @SWEET7_18588
if 
  Char.IsInCar($stattreadstamina_ctr, 79@)
goto_if_false @SWEET7_18588
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 2501.634, -1674.131, 12.3689, 4.0, 4.0, 4.0, True)
goto_if_false @SWEET7_18588
Player.SetControl($statbike_temp, False)
if 
  Car.IsStopped(79@)
goto_if_false @SWEET7_18588
Blip.Remove(271@)
Text.ClearPrints
71@ = 74

:SWEET7_18588
if 
  71@ == 74
goto_if_false @SWEET7_18801
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
World.ClearArea(2501.634, -1674.131, 12.3689, 5.0, True)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2499.582, -1682.395, 15.2226, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2499.969, -1681.485, 15.079, SwitchType.JumpCut)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_18773
85@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2516.634, -1673.847, 13.9671, MoveState.Walk, 20000)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(85@)
Char.PerformSequence($big_smoke_car, 85@)
Sequence.Clear(85@)

:SWEET7_18773
TIMERB = 0
539@ = 1
71@ = 77
288@ = 1

:SWEET7_18801
if 
  288@ == 1
goto_if_false @SWEET7_19023
71@ = 77
if 
  539@ > 0
goto_if_false @SWEET7_19023
if 
  537@ == 0
goto_if_false @SWEET7_19023
switch_start 539@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @SWEET7_19023 {caseNum1} 1 {caseLabel1} @SWEET7_18925 {caseNum2} 2 {caseLabel2} @SWEET7_18946 {caseNum3} 3 {caseLabel3} @SWEET7_18967 {caseNum4} 4 {caseLabel4} @SWEET7_18988 {caseNum5} -1 {caseLabel5} @SWEET7_19023 {caseNum6} -1 {caseLabel6} @SWEET7_19023 {caseNum7} -1 {caseLabel7} @SWEET7_19023

:SWEET7_18925
534@ = 70
539@ = 2
goto @SWEET7_19023

:SWEET7_18946
534@ = 71
539@ = 3
goto @SWEET7_19023

:SWEET7_18967
534@ = 72
539@ = 4
goto @SWEET7_19023

:SWEET7_18988
534@ = 0
71@ = 80
288@ = 2
539@ = 0
goto @SWEET7_19023

:SWEET7_19023
if 
  288@ == 2
goto_if_false @SWEET7_19077
Camera.SetBehindPlayer
Char.Delete($big_smoke_car)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Text.ClearPrints
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
goto @SWEET7_32496

:SWEET7_19077
if 
  53@ == 5
goto_if_false @SWEET7_19377
Player.SetControl($statbike_temp, False)
wait 0
Camera.DoFade(1500, Fade.Out)

:SWEET7_19113
if 
  Camera.GetFadingStatus
goto_if_false @SWEET7_19137
wait 0
goto @SWEET7_19113

:SWEET7_19137
Player.SetControl($statbike_temp, False)
if 
  not Char.IsDead(81@)
goto_if_false @SWEET7_19167
Char.SetSuffersCriticalHits(81@, False)

:SWEET7_19167
if 
  not Char.IsDead(82@)
goto_if_false @SWEET7_19190
Char.SetSuffersCriticalHits(82@, False)

:SWEET7_19190
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_19211
Char.ClearTasks($big_smoke_car)

:SWEET7_19211
Hud.SwitchWidescreen(True)
Char.SetCoordinates($stattreadstamina_ctr, 816.8154, -1075.383, 23.3516)
Char.SetHeading($stattreadstamina_ctr, 277.0)
Camera.SetFixedPosition(822.0925, -1077.878, 23.6895, 0.0, 0.0, 0.0)
Camera.PointAtPoint(821.1437, -1077.566, 23.7335, SwitchType.JumpCut)
Streaming.LoadScene(803.9182, -1078.626, 23.3515)
wait 1000
Camera.DoFade(1000, Fade.In)

:SWEET7_19325
if 
  Camera.GetFadingStatus
goto_if_false @SWEET7_19349
wait 0
goto @SWEET7_19325

:SWEET7_19349
53@ = 6
539@ = 1
TIMERA = 0
TIMERB = 0

:SWEET7_19377
if 
  53@ == 6
goto_if_false @SWEET7_20203
if 
  539@ > 0
goto_if_false @SWEET7_19627
if 
  537@ == 0
goto_if_false @SWEET7_19627
switch_start 539@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @SWEET7_19627 {caseNum1} 1 {caseLabel1} @SWEET7_19494 {caseNum2} 2 {caseLabel2} @SWEET7_19508 {caseNum3} 3 {caseLabel3} @SWEET7_19567 {caseNum4} 4 {caseLabel4} @SWEET7_19588 {caseNum5} -1 {caseLabel5} @SWEET7_19627 {caseNum6} -1 {caseLabel6} @SWEET7_19627 {caseNum7} -1 {caseLabel7} @SWEET7_19627

:SWEET7_19494
539@ = 2
goto @SWEET7_19627

:SWEET7_19508
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_19553
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_19553
Char.ClearTasks($big_smoke_car)
Task.TurnCharToFaceChar($big_smoke_car, 98@)

:SWEET7_19553
539@ = 3
goto @SWEET7_19627

:SWEET7_19567
534@ = 34
539@ = 4
goto @SWEET7_19627

:SWEET7_19588
534@ = 0
Text.PrintHelp('TWAR661')
546@ = 1
539@ = 0
goto @SWEET7_19627

:SWEET7_19627
if 
  TIMERB > 10000
goto_if_false @SWEET7_19691
if 
  546@ == 1
goto_if_false @SWEET7_19691
Text.ClearHelp
Text.PrintHelp('TWAR662')
546@ = 2
TIMERB = 0

:SWEET7_19691
if 
  546@ == 2
goto_if_false @SWEET7_20203
if 
  TIMERB > 8000
goto_if_false @SWEET7_20203
Text.ClearHelp
Camera.SetFixedPosition(891.9803, -1068.343, 23.6669, 0.0, 0.0, 0.0)
Camera.PointAtPoint(891.3828, -1069.141, 23.7373, SwitchType.JumpCut)
37@ = 1
if 
  75@ == 0
goto_if_false @SWEET7_19904
if 
  not Car.IsDead(76@)
goto_if_false @SWEET7_19904
if 
  not Char.IsDead(101@)
goto_if_false @SWEET7_19904
Task.CarDriveToCoord(101@, 76@, 875.3232, -1073.502, 23.3364, 10.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
if 
  537@ == 0
goto_if_false @SWEET7_19897
534@ = 40

:SWEET7_19897
75@ = 1

:SWEET7_19904
if 
  not Car.IsDead(76@)
goto_if_false @SWEET7_20203
if 
  not Char.IsDead(101@)
goto_if_false @SWEET7_20203
if 
  Car.Locate3D(76@, 875.3232, -1071.941, 23.3364, 3.0, 3.0, 3.0, False)
goto_if_false @SWEET7_20203
if 
  Car.IsStopped(76@)
goto_if_false @SWEET7_20203
53@ = 7
if 
  537@ == 0
goto_if_false @SWEET7_20032
545@ = 0

:SWEET7_20032
Camera.SetFixedPosition(871.9701, -1069.503, 25.6673, 0.0, 0.0, 0.0)
Camera.PointAtPoint(872.7517, -1070.042, 25.353, SwitchType.JumpCut)
Car.LockDoors(76@, CarLock.Unlocked)
Car.SetProofs(76@, False, False, False, False, False)
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_20196
99@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 869.1639, -1071.619, 25.2208, MoveState.Walk, 10000)
Task.GoStraightToCoord(-1, 892.7105, -1077.929, 23.2684, MoveState.Walk, 10000)
Sequence.Close(99@)
Char.PerformSequence(98@, 99@)
Sequence.Clear(99@)

:SWEET7_20196
TIMERA = 0

:SWEET7_20203
if 
  53@ == 7
goto_if_false @SWEET7_20347
if 
  TIMERA > 2000
goto_if_false @SWEET7_20347
if 
  not Char.IsDead(101@)
goto_if_false @SWEET7_20331
102@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 873.9978, -1077.988, 23.3203, MoveState.Walk, 10000)
Task.GoStraightToCoord(-1, 833.1347, -1095.187, 22.8281, MoveState.Walk, 10000)
Sequence.Close(102@)
Char.PerformSequence(101@, 102@)
Sequence.Clear(102@)

:SWEET7_20331
Text.ClearPrints
53@ = 8
539@ = 1

:SWEET7_20347
if 
  53@ == 8
goto_if_false @SWEET7_20553
if 
  539@ > 0
goto_if_false @SWEET7_20527
if 
  537@ == 0
goto_if_false @SWEET7_20527
switch_start 539@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @SWEET7_20527 {caseNum1} 1 {caseLabel1} @SWEET7_20464 {caseNum2} 2 {caseLabel2} @SWEET7_20485 {caseNum3} 3 {caseLabel3} @SWEET7_20506 {caseNum4} -1 {caseLabel4} @SWEET7_20527 {caseNum5} -1 {caseLabel5} @SWEET7_20527 {caseNum6} -1 {caseLabel6} @SWEET7_20527 {caseNum7} -1 {caseLabel7} @SWEET7_20527

:SWEET7_20464
534@ = 41
539@ = 2
goto @SWEET7_20527

:SWEET7_20485
534@ = 42
539@ = 3
goto @SWEET7_20527

:SWEET7_20506
534@ = 0
539@ = 0
goto @SWEET7_20527

:SWEET7_20527
if 
  TIMERA > 8000
goto_if_false @SWEET7_20553
53@ = 10

:SWEET7_20553
if 
  53@ == 10
goto_if_false @SWEET7_21196
37@ = 0
539@ = 0
270@ = 99
Char.SetCoordinates($stattreadstamina_ctr, 817.3972, -1076.164, 23.1065)
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_20658
Char.SetCoordinates(263@, 820.5947, -1074.517, 23.1755)
Char.SetHeading(263@, 176.0)

:SWEET7_20658
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_20704
Char.SetCoordinates(264@, 818.3846, -1079.001, 22.929)
Char.SetHeading(264@, 291.0)

:SWEET7_20704
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_20807
Char.ClearTasksImmediately(98@)
if 
  not Char.IsInAnyCar(98@)
goto_if_false @SWEET7_20761
Char.SetCoordinates(98@, 890.4531, -1063.368, 23.7342)

:SWEET7_20761
if 
  Char.IsInAnyCar(98@)
goto_if_false @SWEET7_20797
Char.WarpFromCarToCoord(98@, 890.4531, -1063.368, 23.7342)

:SWEET7_20797
Task.AchieveHeading(98@, 84.0)

:SWEET7_20807
Char.SetHeading($stattreadstamina_ctr, 255.0)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Streaming.RemoveAnimation("SMOKING")
Streaming.RemoveAnimation("GRAVEYARD")
if 
  not Char.IsDead(101@)
goto_if_false @SWEET7_20917
Char.ClearTasksImmediately(101@)
Char.SetCoordinates(101@, 844.5107, -1101.66, 22.8516)
Task.AchieveHeading(101@, 135.0)
Char.GiveWeapon(101@, WeaponType.Pistol, 2000)
Char.AddArmor(101@, 50)

:SWEET7_20917
if 
  not Car.IsDead(76@)
goto_if_false @SWEET7_20985
Car.SetCoordinates(76@, 875.3232, -1073.502, 23.3364)
Car.SetHeading(76@, 89.0)
Car.LockDoors(76@, CarLock.Unlocked)
Car.SetProofs(76@, False, False, False, False, False)

:SWEET7_20985
Player.SetControl($statbike_temp, True)
Group.SetFollowStatus(260@, True)
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_21049
if 
  not Char.IsGroupMember(263@, 260@)
goto_if_false @SWEET7_21049
Group.SetMember(260@, 263@)
Char.SetNeverLeavesGroup(263@, True)

:SWEET7_21049
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_21099
if 
  not Char.IsGroupMember(264@, 260@)
goto_if_false @SWEET7_21099
Group.SetMember(260@, 264@)
Char.SetNeverLeavesGroup(264@, True)

:SWEET7_21099
if 
  not Char.IsDead(101@)
goto_if_false @SWEET7_21128
Char.SetDecisionMaker(101@, 93@)
Char.ClearTasks(101@)

:SWEET7_21128
Task.StayInSamePlace(101@, True)
53@ = 15
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_21173
40@ = Blip.AddForChar(98@)
Blip.ChangeColor(40@, BlipColor.Red)

:SWEET7_21173
if 
  not Car.IsDead(78@)
goto_if_false @SWEET7_21194
Car.Delete(78@)

:SWEET7_21194
Text.ClearHelp

:SWEET7_21196
if 
  53@ == 15
goto_if_false @SWEET7_21746
Game.SetPoliceIgnorePlayer($statbike_temp, True)
if 
  not Char.IsDead(101@)
goto_if_false @SWEET7_21652
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_21347
84@ = Sequence.Open()
Task.GoStraightToCoord(-1, 832.3179, -1081.627, 22.9332, MoveState.Run, 10000)
Task.GoToCoordWhileShooting(-1, 833.9351, -1101.966, 22.8281, 6, 100.0, 1.0, 101@)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 101@)
Sequence.Close(84@)
Char.PerformSequence($big_smoke_car, 84@)
Sequence.Clear(84@)

:SWEET7_21347
if 
  not Char.IsDead(81@)
goto_if_false @SWEET7_21462
Char.ClearTasks(81@)
88@ = Sequence.Open()
Task.GoStraightToCoord(-1, 828.6603, -1080.408, 23.03, MoveState.Sprint, 10000)
Task.GoToCoordWhileShooting(-1, 832.5559, -1104.067, 22.8281, 7, 100.0, 1.0, 101@)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 101@)
Sequence.Close(88@)
Char.PerformSequence(81@, 88@)
Sequence.Clear(88@)

:SWEET7_21462
if 
  not Char.IsDead(82@)
goto_if_false @SWEET7_21577
Char.ClearTasks(82@)
90@ = Sequence.Open()
Task.GoStraightToCoord(-1, 832.2366, -1077.225, 23.1896, MoveState.Sprint, 10000)
Task.GoToCoordWhileShooting(-1, 835.7187, -1097.325, 22.8784, 7, 100.0, 1.0, 101@)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 101@)
Sequence.Close(90@)
Char.PerformSequence(82@, 90@)
Sequence.Clear(90@)

:SWEET7_21577
gosub @SWEET7_30582
if 
  not Char.IsDead(101@)
goto_if_false @SWEET7_21652
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_21652
104@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $big_smoke_car)
Sequence.Close(104@)
Char.PerformSequence(101@, 104@)
Sequence.Clear(104@)

:SWEET7_21652
if 
  54@ == 1
goto_if_false @SWEET7_21712
if 
  not Char.IsDead(97@)
goto_if_false @SWEET7_21691
Char.Delete(97@)

:SWEET7_21691
if 
  not Char.IsDead(96@)
goto_if_false @SWEET7_21712
Char.Delete(96@)

:SWEET7_21712
TIMERB = 0
61@ = 1
539@ = 1
540@ = Math.RandomIntInRange(0, 3)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:SWEET7_21746
if 
  61@ == 1
goto_if_false @SWEET7_22342
if 
  539@ > 0
goto_if_false @SWEET7_21989
if 
  537@ == 0
goto_if_false @SWEET7_21989
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_21989 {caseNum1} 1 {caseLabel1} @SWEET7_21863 {caseNum2} 2 {caseLabel2} @SWEET7_21952 {caseNum3} -1 {caseLabel3} @SWEET7_21989 {caseNum4} -1 {caseLabel4} @SWEET7_21989 {caseNum5} -1 {caseLabel5} @SWEET7_21989 {caseNum6} -1 {caseLabel6} @SWEET7_21989 {caseNum7} -1 {caseLabel7} @SWEET7_21989

:SWEET7_21863
if 
  540@ == 0
goto_if_false @SWEET7_21888
534@ = 43

:SWEET7_21888
if 
  540@ == 1
goto_if_false @SWEET7_21913
534@ = 44

:SWEET7_21913
if 
  540@ == 1
goto_if_false @SWEET7_21938
534@ = 45

:SWEET7_21938
539@ = 2
goto @SWEET7_21989

:SWEET7_21952
Text.PrintNow('TWAR636', 8000, 1)
534@ = 0
539@ = 0
goto @SWEET7_21989

:SWEET7_21989
if 
  TIMERB > 6000
goto_if_false @SWEET7_22102
if 
  70@ == 0
goto_if_false @SWEET7_22102
if 
  not Char.IsDead(101@)
goto_if_false @SWEET7_22102
Char.ClearTasks(101@)
Task.PlayAnim(101@, "KO_SHOT_FACE", "PED", 8.0, False, False, False, True, -1)
Char.SetHealth(101@, 0)
70@ = 1
Text.ClearPrints

:SWEET7_22102
if 
  TIMERB > 7000
goto_if_false @SWEET7_22342
if 
  not Char.IsDead(101@)
goto_if_false @SWEET7_22147
Char.ClearTasks(101@)
Task.Die(101@)

:SWEET7_22147
if 
  71@ == 0
goto_if_false @SWEET7_22221
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_22221
Char.ClearTasks($big_smoke_car)
Path.FlushRoute
Path.ExtendRoute(872.7859, -1100.792, 22.8437)
65@ = 1
Task.FollowPointRoute($big_smoke_car, 6, RouteMode.Once)

:SWEET7_22221
if 
  not Char.IsDead(81@)
goto_if_false @SWEET7_22277
Char.ClearTasks(81@)
Path.FlushRoute
Path.ExtendRoute(882.445, -1102.041, 22.8281)
66@ = 1
Task.FollowPointRoute(81@, 7, RouteMode.Once)

:SWEET7_22277
if 
  not Char.IsDead(82@)
goto_if_false @SWEET7_22333
Char.ClearTasks(82@)
Path.FlushRoute
Path.ExtendRoute(888.5107, -1099.935, 21.8918)
67@ = 1
Task.FollowPointRoute(82@, 7, RouteMode.Once)

:SWEET7_22333
61@ = 2
Text.ClearPrints

:SWEET7_22342
if 
  71@ == 0
goto_if_false @SWEET7_22479
if 
  65@ == 1
goto_if_false @SWEET7_22479
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_22479
if 
  Char.LocateAnyMeans3D($big_smoke_car, 872.7859, -1100.792, 22.8437, 3.0, 3.0, 3.0, False)
goto_if_false @SWEET7_22479
Char.ClearTasks($big_smoke_car)
Task.GoStraightToCoord($big_smoke_car, 875.9534, -1079.515, 23.3203, MoveState.Run, 10000)
65@ = 2

:SWEET7_22479
if 
  66@ == 1
goto_if_false @SWEET7_22598
if 
  not Char.IsDead(81@)
goto_if_false @SWEET7_22598
if 
  Char.LocateAnyMeans3D(81@, 882.445, -1102.041, 22.8281, 5.0, 5.0, 3.0, False)
goto_if_false @SWEET7_22598
Char.ClearTasks(81@)
Task.GoStraightToCoord(81@, 881.3811, -1088.896, 23.1974, MoveState.Run, 10000)
66@ = 2

:SWEET7_22598
if 
  67@ == 1
goto_if_false @SWEET7_22717
if 
  not Char.IsDead(82@)
goto_if_false @SWEET7_22717
if 
  Char.LocateAnyMeans3D(82@, 888.5107, -1099.935, 21.8918, 5.0, 5.0, 3.0, False)
goto_if_false @SWEET7_22717
Char.ClearTasks(82@)
Task.GoStraightToCoord(82@, 893.6727, -1077.295, 23.2759, MoveState.Sprint, 10000)
67@ = 2

:SWEET7_22717
if 
  61@ > 0
goto_if_false @SWEET7_23191
if 
  71@ == 0
goto_if_false @SWEET7_22899
if 
  64@ == 0
goto_if_false @SWEET7_22899
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_22899
if 
  Char.LocateAnyMeans3D($big_smoke_car, 875.9534, -1079.515, 23.3203, 2.0, 2.0, 3.0, False)
goto_if_false @SWEET7_22899
Char.ClearTasks($big_smoke_car)
if 
  not Char.IsDead(105@)
goto_if_false @SWEET7_22892
86@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.KillCharOnFoot(-1, 105@)
Sequence.Close(86@)
Char.PerformSequence($big_smoke_car, 86@)
Sequence.Clear(86@)

:SWEET7_22892
64@ = 1

:SWEET7_22899
if 
  62@ == 0
goto_if_false @SWEET7_23045
if 
  not Char.IsDead(81@)
goto_if_false @SWEET7_23045
if 
  Char.LocateAnyMeans3D(81@, 881.3811, -1088.896, 23.1974, 5.0, 5.0, 3.0, False)
goto_if_false @SWEET7_23045
Char.ClearTasks(81@)
if 
  not Char.IsDead(107@)
goto_if_false @SWEET7_23038
89@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.KillCharOnFoot(-1, 107@)
Sequence.Close(89@)
Char.PerformSequence(81@, 89@)
Sequence.Clear(89@)

:SWEET7_23038
62@ = 1

:SWEET7_23045
if 
  63@ == 0
goto_if_false @SWEET7_23191
if 
  not Char.IsDead(82@)
goto_if_false @SWEET7_23191
if 
  Char.LocateAnyMeans3D(82@, 893.6727, -1077.295, 23.2759, 5.0, 5.0, 3.0, False)
goto_if_false @SWEET7_23191
Char.ClearTasks(82@)
if 
  not Char.IsDead(109@)
goto_if_false @SWEET7_23184
91@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.KillCharOnFoot(-1, 109@)
Sequence.Close(91@)
Char.PerformSequence(82@, 91@)
Sequence.Clear(91@)

:SWEET7_23184
63@ = 1

:SWEET7_23191
if 
  62@ == 1
goto_if_false @SWEET7_23277
if 
  Char.IsDead(107@)
goto_if_false @SWEET7_23277
if 
  not Char.IsDead(111@)
goto_if_false @SWEET7_23270
if 
  not Char.IsDead(81@)
goto_if_false @SWEET7_23270
Char.ClearTasks(81@)
Task.KillCharOnFoot(81@, 111@)

:SWEET7_23270
62@ = 2

:SWEET7_23277
if 
  63@ == 1
goto_if_false @SWEET7_23363
if 
  Char.IsDead(109@)
goto_if_false @SWEET7_23356
if 
  not Char.IsDead(112@)
goto_if_false @SWEET7_23356
if 
  not Char.IsDead(82@)
goto_if_false @SWEET7_23356
Char.ClearTasks(82@)
Task.KillCharOnFoot(82@, 112@)

:SWEET7_23356
63@ = 2

:SWEET7_23363
if 
  71@ == 0
goto_if_false @SWEET7_23485
if 
  132@ == 0
goto_if_false @SWEET7_23485
if 
  64@ == 1
goto_if_false @SWEET7_23485
if 
  Char.IsDead(105@)
goto_if_false @SWEET7_23485
if 
  not Char.IsDead(113@)
goto_if_false @SWEET7_23478
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_23478
Char.ClearTasks($big_smoke_car)
Task.KillCharOnFoot($big_smoke_car, 113@)

:SWEET7_23478
64@ = 2

:SWEET7_23485
if 
  62@ == 2
goto_if_false @SWEET7_23571
if 
  Char.IsDead(111@)
goto_if_false @SWEET7_23571
if 
  not Char.IsDead(81@)
goto_if_false @SWEET7_23571
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_23564
Char.ClearTasks(81@)
Task.KillCharOnFoot(81@, 98@)

:SWEET7_23564
62@ = 3

:SWEET7_23571
if 
  63@ == 2
goto_if_false @SWEET7_23657
if 
  Char.IsDead(112@)
goto_if_false @SWEET7_23657
if 
  not Char.IsDead(82@)
goto_if_false @SWEET7_23657
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_23650
Char.ClearTasks(82@)
Task.KillCharOnFoot(82@, 98@)

:SWEET7_23650
63@ = 3

:SWEET7_23657
if 
  71@ == 0
goto_if_false @SWEET7_23779
if 
  132@ == 0
goto_if_false @SWEET7_23779
if 
  64@ == 2
goto_if_false @SWEET7_23779
if 
  Char.IsDead(113@)
goto_if_false @SWEET7_23779
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_23779
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_23772
Char.ClearTasks($big_smoke_car)
Task.KillCharOnFoot($big_smoke_car, 98@)

:SWEET7_23772
64@ = 3

:SWEET7_23779
if 
  59@ == 1
goto_if_false @SWEET7_23987
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_23987
if 
  Char.LocateAnyMeans3D(98@, 140@(139@,10f), 150@(139@,10f), 160@(139@,10f), 5.0, 5.0, 5.0, False)
goto_if_false @SWEET7_23901
Char.SetAllowedToDuck(98@, True)
Char.ClearTasks(98@)
Task.KillCharOnFootWhileDucking(98@, $stattreadstamina_ctr, 4, 3000, 50)
59@ = 2

:SWEET7_23901
if 
  60@ == 1
goto_if_false @SWEET7_23987
if 
  Char.LocateAnyMeans3D(98@, 140@(139@,10f), 150@(139@,10f), 160@(139@,10f), 20.0, 20.0, 5.0, False)
goto_if_false @SWEET7_23987
gosub @SWEET7_30280
60@ = 2

:SWEET7_23987
if 
  59@ == 3
goto_if_false @SWEET7_24224
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_24224
if 
  Char.LocateAnyMeans3D(98@, 140@(139@,10f), 150@(139@,10f), 160@(139@,10f), 5.0, 5.0, 5.0, False)
goto_if_false @SWEET7_24138
Char.ClearTasks(98@)
Task.KillCharOnFootWhileDucking(98@, $stattreadstamina_ctr, 4, 3000, 50)
if 
  not Char.IsDead(112@)
goto_if_false @SWEET7_24131
Char.ClearTasks(112@)
Task.KillCharOnFootWhileDucking(112@, $stattreadstamina_ctr, 4, 3000, 50)

:SWEET7_24131
59@ = 4

:SWEET7_24138
if 
  60@ == 2
goto_if_false @SWEET7_24224
if 
  Char.LocateAnyMeans3D(98@, 140@(139@,10f), 150@(139@,10f), 160@(139@,10f), 20.0, 20.0, 5.0, False)
goto_if_false @SWEET7_24224
gosub @SWEET7_30280
60@ = 3

:SWEET7_24224
if 
  59@ == 5
goto_if_false @SWEET7_24339
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_24339
if 
  Char.LocateAnyMeans3D(98@, 140@(139@,10f), 150@(139@,10f), 160@(139@,10f), 5.0, 5.0, 5.0, False)
goto_if_false @SWEET7_24339
Char.ClearTasks(98@)
Task.KillCharOnFootWhileDucking(98@, $stattreadstamina_ctr, 4, 3000, 50)
59@ = 6

:SWEET7_24339
if 
  59@ == 7
goto_if_false @SWEET7_24454
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_24454
if 
  Char.LocateAnyMeans3D(98@, 140@(139@,10f), 150@(139@,10f), 160@(139@,10f), 5.0, 5.0, 5.0, False)
goto_if_false @SWEET7_24454
Char.ClearTasks(98@)
Task.StayInSamePlace(98@, False)
Task.KillCharOnFoot(98@, $stattreadstamina_ctr)
59@ = 8

:SWEET7_24454
if 
  53@ == 20
goto_if_false @SWEET7_24964
if 
  53@ <> 25
goto_if_false @SWEET7_24579
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_24579
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 98@, 20.0, 20.0, False)
goto_if_false @SWEET7_24579
53@ = 25
139@ += 1
gosub @SWEET7_30200
59@ = 1
60@ = 1
TIMERA = 0

:SWEET7_24579
if 
  53@ <> 25
goto_if_false @SWEET7_24667
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_24667
if 
  Char.HasBeenDamagedByChar(98@, $stattreadstamina_ctr)
goto_if_false @SWEET7_24667
53@ = 25
139@ += 1
gosub @SWEET7_30200
59@ = 1
60@ = 1

:SWEET7_24667
if 
  53@ <> 25
goto_if_false @SWEET7_24743
if 
  Char.IsDead(105@)
goto_if_false @SWEET7_24743
56@ = 1
53@ = 25
139@ += 1
gosub @SWEET7_30200
59@ = 1
60@ = 1

:SWEET7_24743
if 
  53@ <> 25
goto_if_false @SWEET7_24819
if 
  Char.IsDead(107@)
goto_if_false @SWEET7_24819
57@ = 1
53@ = 25
139@ += 1
gosub @SWEET7_30200
59@ = 1
60@ = 1

:SWEET7_24819
if 
  53@ <> 25
goto_if_false @SWEET7_24895
if 
  Char.IsDead(109@)
goto_if_false @SWEET7_24895
58@ = 1
53@ = 25
139@ += 1
gosub @SWEET7_30200
59@ = 1
60@ = 1

:SWEET7_24895
if 
  53@ <> 25
goto_if_false @SWEET7_24964
if 
  Char.IsDead(111@)
goto_if_false @SWEET7_24964
53@ = 25
139@ += 1
gosub @SWEET7_30200
59@ = 1
60@ = 1

:SWEET7_24964
if 
  53@ == 25
goto_if_false @SWEET7_25188
if 
  59@ == 2
goto_if_false @SWEET7_25188
if 
  53@ <> 30
goto_if_false @SWEET7_25100
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_25100
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 98@, 20.0, 20.0, False)
goto_if_false @SWEET7_25100
53@ = 30
139@ += 1
gosub @SWEET7_30200
59@ = 3
60@ = 2

:SWEET7_25100
if 
  53@ <> 30
goto_if_false @SWEET7_25188
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_25188
if 
  Char.HasBeenDamagedByChar(98@, $stattreadstamina_ctr)
goto_if_false @SWEET7_25188
53@ = 30
139@ += 1
gosub @SWEET7_30200
59@ = 3
60@ = 2

:SWEET7_25188
if 
  53@ == 30
goto_if_false @SWEET7_25398
if 
  59@ == 4
goto_if_false @SWEET7_25398
if 
  53@ <> 35
goto_if_false @SWEET7_25317
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_25317
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 98@, 20.0, 20.0, False)
goto_if_false @SWEET7_25317
53@ = 35
139@ += 1
gosub @SWEET7_30200
59@ = 5

:SWEET7_25317
if 
  53@ <> 35
goto_if_false @SWEET7_25398
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_25398
if 
  Char.HasBeenDamagedByChar(98@, $stattreadstamina_ctr)
goto_if_false @SWEET7_25398
53@ = 35
139@ += 1
gosub @SWEET7_30200
59@ = 5

:SWEET7_25398
if 
  53@ == 35
goto_if_false @SWEET7_25622
if 
  59@ == 6
goto_if_false @SWEET7_25622
if 
  53@ <> 40
goto_if_false @SWEET7_25534
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_25534
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 98@, 10.0, 10.0, False)
goto_if_false @SWEET7_25534
53@ = 40
139@ += 1
gosub @SWEET7_30200
59@ = 7
53@ = 50

:SWEET7_25534
if 
  53@ <> 40
goto_if_false @SWEET7_25622
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_25622
if 
  Char.HasBeenDamagedByChar(98@, $stattreadstamina_ctr)
goto_if_false @SWEET7_25622
53@ = 40
139@ += 1
gosub @SWEET7_30200
59@ = 7
53@ = 50

:SWEET7_25622
if 
  53@ == 50
goto_if_false @SWEET7_25887
77@ = Car.Create(492, 960.0995, -1032.099, 29.0858)
Car.SetHeading(77@, 180.4729)
Car.ChangeColor(77@, 0, 2)
Car.SetCanBurstTires(77@, False)
122@ = Char.CreateInsideCar(77@, PedType.CivMale, 103)
Char.SetSuffersCriticalHits(122@, False)
Char.SetDecisionMaker(122@, 93@)
117@ = Char.CreateAsPassenger(77@, PedType.Mission1, 103, 1)
Char.SetDecisionMaker(117@, 93@)
Char.GiveWeapon(117@, WeaponType.Shotgun, 2000)
Char.SetShootRate(117@, 15)
119@ = Char.CreateAsPassenger(77@, PedType.Mission1, 102, 2)
Char.SetDecisionMaker(119@, 93@)
Char.GiveWeapon(119@, WeaponType.MicroUzi, 2000)
Char.SetShootRate(119@, 15)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(103)
Car.LockDoors(77@, CarLock.LockoutPlayerOnly)
if 
  not Char.IsDead(122@)
goto_if_false @SWEET7_25887
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_25887
Task.CarDriveToCoord(122@, 77@, 955.9623, -1100.14, 22.7516, 10.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
53@ = 55

:SWEET7_25887
if 
  277@ == 0
goto_if_false @SWEET7_25983
if and
  53@ > 50
  999 > 53@
goto_if_false @SWEET7_25983
if 
  Char.IsDead(122@)
goto_if_false @SWEET7_25983
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_25976
Char.ClearTasks(98@)
Task.KillCharOnFoot(98@, $stattreadstamina_ctr)

:SWEET7_25976
277@ = 1

:SWEET7_25983
if 
  53@ == 55
goto_if_false @SWEET7_26170
if 
  not Char.IsDead(122@)
goto_if_false @SWEET7_26170
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_26170
if 
  Car.Locate3D(77@, 955.9623, -1100.14, 22.7516, 3.0, 3.0, 3.0, False)
goto_if_false @SWEET7_26170
if 
  not Char.IsDead(122@)
goto_if_false @SWEET7_26170
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_26170
Task.CarDriveToCoord(122@, 77@, 929.9791, -1103.645, 22.8506, 10.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
53@ = 60
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_26170

:SWEET7_26170
if 
  53@ == 60
goto_if_false @SWEET7_26528
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_26528
if 
  Car.Locate3D(77@, 929.9791, -1103.645, 22.8506, 5.0, 5.0, 3.0, False)
goto_if_false @SWEET7_26528
if 
  Car.IsStopped(77@)
goto_if_false @SWEET7_26528
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_26356
Char.ClearTasks(98@)
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_26356
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_26356
539@ = 1
540@ = Math.RandomIntInRange(0, 3)
Task.EnterCarAsPassenger(98@, 77@, -2, 0)
53@ = 65

:SWEET7_26356
if 
  not Char.IsDead(117@)
goto_if_false @SWEET7_26442
Char.ClearTasks(117@)
118@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 916.3773, -1107.937, 23.1694, MoveState.Run, 10000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(118@)
Char.PerformSequence(117@, 118@)
Sequence.Clear(118@)
53@ = 65

:SWEET7_26442
if 
  not Char.IsDead(119@)
goto_if_false @SWEET7_26528
Char.ClearTasks(119@)
120@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 918.4471, -1094.806, 23.4897, MoveState.Run, 10000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(120@)
Char.PerformSequence(119@, 120@)
Sequence.Clear(120@)
53@ = 65

:SWEET7_26528
if 
  53@ == 65
goto_if_false @SWEET7_27139
if 
  539@ > 0
goto_if_false @SWEET7_26771
if 
  537@ == 0
goto_if_false @SWEET7_26771
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_26771 {caseNum1} 1 {caseLabel1} @SWEET7_26645 {caseNum2} 2 {caseLabel2} @SWEET7_26734 {caseNum3} -1 {caseLabel3} @SWEET7_26771 {caseNum4} -1 {caseLabel4} @SWEET7_26771 {caseNum5} -1 {caseLabel5} @SWEET7_26771 {caseNum6} -1 {caseLabel6} @SWEET7_26771 {caseNum7} -1 {caseLabel7} @SWEET7_26771

:SWEET7_26645
if 
  540@ == 0
goto_if_false @SWEET7_26670
534@ = 46

:SWEET7_26670
if 
  540@ == 1
goto_if_false @SWEET7_26695
534@ = 47

:SWEET7_26695
if 
  540@ == 2
goto_if_false @SWEET7_26720
534@ = 48

:SWEET7_26720
539@ = 2
goto @SWEET7_26771

:SWEET7_26734
534@ = 0
Text.PrintNow('TWAR626', 6000, 1)
539@ = 0
goto @SWEET7_26771

:SWEET7_26771
if 
  Char.IsDead(98@)
goto_if_false @SWEET7_26865
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_26865
if 
  not Char.IsDead(122@)
goto_if_false @SWEET7_26865
Char.ClearTasks(122@)
103@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(103@)
Char.PerformSequence(122@, 103@)
Sequence.Clear(103@)
53@ = 90

:SWEET7_26865
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_27139
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_27139
if 
  not Char.IsDead(122@)
goto_if_false @SWEET7_27139
if 
  Char.IsSittingInCar(98@, 77@)
goto_if_false @SWEET7_27139
Blip.Remove(40@)
Car.SetTempAction(77@, TempAction.Reverse, 6000)
Car.LockDoors(77@, CarLock.LockoutPlayerOnly)
Char.SetCantBeDraggedOut(98@, True)
Char.SetCantBeDraggedOut(98@, True)
Char.SetStayInCarWhenJacked(98@, True)
53@ = 70
TIMERA = 0
Text.ClearPrints
539@ = 11
540@ = Math.RandomIntInRange(0, 4)
if 
  not Car.IsDead(79@)
goto_if_false @SWEET7_27037
Car.LockDoors(79@, CarLock.Unlocked)
Car.LockDoors(79@, CarLock.LockoutPlayerOnly)

:SWEET7_27037
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_27139
39@ = Blip.AddForChar($big_smoke_car)
Blip.SetAsFriendly(39@, True)
Char.ClearTasks($big_smoke_car)
121@ = Sequence.Open()
Task.GoStraightToCoord(-1, 930.8062, -1114.459, 23.094, MoveState.Run, 10000)
Task.EnterCarAsPassenger(-1, 79@, 30000, -1)
Sequence.Close(121@)
Char.PerformSequence($big_smoke_car, 121@)
Sequence.Clear(121@)
132@ = 1

:SWEET7_27139
if 
  53@ == 70
goto_if_false @SWEET7_27501
if 
  539@ > 10
goto_if_false @SWEET7_27407
if 
  537@ == 0
goto_if_false @SWEET7_27407
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_27407 {caseNum1} 11 {caseLabel1} @SWEET7_27256 {caseNum2} 12 {caseLabel2} @SWEET7_27370 {caseNum3} -1 {caseLabel3} @SWEET7_27407 {caseNum4} -1 {caseLabel4} @SWEET7_27407 {caseNum5} -1 {caseLabel5} @SWEET7_27407 {caseNum6} -1 {caseLabel6} @SWEET7_27407 {caseNum7} -1 {caseLabel7} @SWEET7_27407

:SWEET7_27256
if 
  540@ == 0
goto_if_false @SWEET7_27281
534@ = 49

:SWEET7_27281
if 
  540@ == 1
goto_if_false @SWEET7_27306
534@ = 50

:SWEET7_27306
if 
  540@ == 2
goto_if_false @SWEET7_27331
534@ = 51

:SWEET7_27331
if 
  540@ == 3
goto_if_false @SWEET7_27356
534@ = 52

:SWEET7_27356
539@ = 12
goto @SWEET7_27407

:SWEET7_27370
534@ = 0
Text.PrintNow('TWAR629', 6000, 1)
539@ = 0
goto @SWEET7_27407

:SWEET7_27407
if 
  TIMERA > 5000
goto_if_false @SWEET7_27501
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_27501
if 
  not Char.IsDead(122@)
goto_if_false @SWEET7_27501
Task.CarDriveToCoord(122@, 77@, 1952.432, -1136.238, 24.621, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Text.ClearPrints
53@ = 75

:SWEET7_27501
if 
  53@ == 75
goto_if_false @SWEET7_28040
if 
  539@ > 10
goto_if_false @SWEET7_27771
if 
  537@ == 0
goto_if_false @SWEET7_27771
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_27771 {caseNum1} 11 {caseLabel1} @SWEET7_27618 {caseNum2} 12 {caseLabel2} @SWEET7_27732 {caseNum3} -1 {caseLabel3} @SWEET7_27771 {caseNum4} -1 {caseLabel4} @SWEET7_27771 {caseNum5} -1 {caseLabel5} @SWEET7_27771 {caseNum6} -1 {caseLabel6} @SWEET7_27771 {caseNum7} -1 {caseLabel7} @SWEET7_27771

:SWEET7_27618
if 
  540@ == 0
goto_if_false @SWEET7_27643
534@ = 49

:SWEET7_27643
if 
  540@ == 1
goto_if_false @SWEET7_27668
534@ = 50

:SWEET7_27668
if 
  540@ == 2
goto_if_false @SWEET7_27693
534@ = 51

:SWEET7_27693
if 
  540@ == 3
goto_if_false @SWEET7_27718
534@ = 52

:SWEET7_27718
539@ = 12
goto @SWEET7_27771

:SWEET7_27732
534@ = 0
Text.ClearPrints
Text.PrintNow('TWAR629', 6000, 1)
539@ = 0
goto @SWEET7_27771

:SWEET7_27771
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_28040
if 
  Char.LocateAnyMeans3D(98@, 1952.432, -1136.238, 24.621, 5.0, 5.0, 5.0, False)
goto_if_false @SWEET7_27894
53@ = 80
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_27894
if 
  not Char.IsDead(122@)
goto_if_false @SWEET7_27894
Char.ClearTasks(122@)
Task.CarDriveWander(122@, 77@, 30.0, DrivingMode.AvoidCars)

:SWEET7_27894
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_28040
if 
  not Char.IsInCar(98@, 77@)
goto_if_false @SWEET7_27967
if 
  73@ == 0
goto_if_false @SWEET7_27967
Char.ClearTasks(98@)
Task.KillCharOnFoot(98@, $stattreadstamina_ctr)
73@ = 1

:SWEET7_27967
if 
  not Char.IsDead(122@)
goto_if_false @SWEET7_28040
if 
  not Char.IsInCar(122@, 77@)
goto_if_false @SWEET7_28040
if 
  74@ == 0
goto_if_false @SWEET7_28040
Char.ClearTasks(122@)
Task.KillCharOnFoot(122@, $stattreadstamina_ctr)
74@ = 1

:SWEET7_28040
if 
  53@ == 80
goto_if_false @SWEET7_28312
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_28312
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_28312
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 98@, 50.0, 50.0, 50.0, False)
goto_if_false @SWEET7_28166
if 
  not Car.IsOnScreen(77@)
goto_if_false @SWEET7_28166
540@ = Math.RandomIntInRange(0, 3)
539@ = 61
53@ = 999

:SWEET7_28166
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_28239
if 
  not Char.IsInCar(98@, 77@)
goto_if_false @SWEET7_28239
if 
  73@ == 0
goto_if_false @SWEET7_28239
Char.ClearTasks(98@)
Task.KillCharOnFoot(98@, $stattreadstamina_ctr)
73@ = 1

:SWEET7_28239
if 
  not Char.IsDead(122@)
goto_if_false @SWEET7_28312
if 
  not Char.IsInCar(122@, 77@)
goto_if_false @SWEET7_28312
if 
  74@ == 0
goto_if_false @SWEET7_28312
Char.ClearTasks(122@)
Task.KillCharOnFoot(122@, $stattreadstamina_ctr)
74@ = 1

:SWEET7_28312
if 
  71@ == 1
goto_if_false @SWEET7_28646
gosub @SWEET7_31828
if 
  539@ > 0
goto_if_false @SWEET7_28515
if 
  537@ == 0
goto_if_false @SWEET7_28515
switch_start 539@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @SWEET7_28515 {caseNum1} 1 {caseLabel1} @SWEET7_28436 {caseNum2} 2 {caseLabel2} @SWEET7_28457 {caseNum3} 3 {caseLabel3} @SWEET7_28478 {caseNum4} -1 {caseLabel4} @SWEET7_28515 {caseNum5} -1 {caseLabel5} @SWEET7_28515 {caseNum6} -1 {caseLabel6} @SWEET7_28515 {caseNum7} -1 {caseLabel7} @SWEET7_28515

:SWEET7_28436
534@ = 67
539@ = 2
goto @SWEET7_28515

:SWEET7_28457
534@ = 68
539@ = 3
goto @SWEET7_28515

:SWEET7_28478
534@ = 0
Text.PrintNow('TWAR628', 6000, 1)
539@ = 0
goto @SWEET7_28515

:SWEET7_28515
if 
  123@ == 0
goto_if_false @SWEET7_28646
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_28646
if 
  not Car.IsDead(79@)
goto_if_false @SWEET7_28646
43@ = Blip.AddForCar(79@)
Blip.SetAsFriendly(43@, True)
Text.ClearPrints
Text.PrintNow('TWAR644', 6000, 1)
if 
  Char.IsSittingInCar($big_smoke_car, 79@)
goto_if_false @SWEET7_28624
Car.LockDoors(79@, CarLock.Unlocked)

:SWEET7_28624
Car.SetProofs(79@, False, False, False, False, False)
71@ = 4

:SWEET7_28646
if 
  132@ == 1
goto_if_false @SWEET7_28755
if 
  not Car.IsDead(79@)
goto_if_false @SWEET7_28755
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_28755
if 
  Char.IsSittingInCar($big_smoke_car, 79@)
goto_if_false @SWEET7_28755
Text.ClearPrints
539@ = 1
540@ = Math.RandomIntInRange(0, 2)
Car.LockDoors(79@, CarLock.Unlocked)
Car.SetHealth(79@, 1000)
132@ = 2

:SWEET7_28755
if 
  132@ == 2
goto_if_false @SWEET7_29114
if 
  539@ > 0
goto_if_false @SWEET7_28975
if 
  537@ == 0
goto_if_false @SWEET7_28975
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_28975 {caseNum1} 1 {caseLabel1} @SWEET7_28872 {caseNum2} 2 {caseLabel2} @SWEET7_28936 {caseNum3} -1 {caseLabel3} @SWEET7_28975 {caseNum4} -1 {caseLabel4} @SWEET7_28975 {caseNum5} -1 {caseLabel5} @SWEET7_28975 {caseNum6} -1 {caseLabel6} @SWEET7_28975 {caseNum7} -1 {caseLabel7} @SWEET7_28975

:SWEET7_28872
if 
  540@ == 0
goto_if_false @SWEET7_28897
534@ = 53

:SWEET7_28897
if 
  540@ == 1
goto_if_false @SWEET7_28922
534@ = 54

:SWEET7_28922
539@ = 2
goto @SWEET7_28975

:SWEET7_28936
534@ = 0
Text.ClearPrints
Text.PrintNow('TWAR640', 6000, 1)
539@ = 0
goto @SWEET7_28975

:SWEET7_28975
if 
  not Car.IsDead(79@)
goto_if_false @SWEET7_29114
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 79@)
goto_if_false @SWEET7_29114
Car.SetProofs(79@, False, False, False, False, False)
Car.LockDoors(79@, CarLock.Unlocked)
Blip.Remove(39@)
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_29086
40@ = Blip.AddForChar(98@)
Text.ClearPrints
539@ = 1
540@ = Math.RandomIntInRange(0, 2)
44@ = 0

:SWEET7_29086
276@ = 1
132@ = 3
275@ = 1
544@ = 1

:SWEET7_29114
if 
  132@ == 3
goto_if_false @SWEET7_29554
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_29554
if 
  not Car.IsDead(79@)
goto_if_false @SWEET7_29554
if 
  Char.IsInCar($stattreadstamina_ctr, 79@)
goto_if_false @SWEET7_29383
if 
  539@ > 0
goto_if_false @SWEET7_29383
if 
  537@ == 0
goto_if_false @SWEET7_29383
switch_start 539@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_29383 {caseNum1} 1 {caseLabel1} @SWEET7_29282 {caseNum2} 2 {caseLabel2} @SWEET7_29346 {caseNum3} -1 {caseLabel3} @SWEET7_29383 {caseNum4} -1 {caseLabel4} @SWEET7_29383 {caseNum5} -1 {caseLabel5} @SWEET7_29383 {caseNum6} -1 {caseLabel6} @SWEET7_29383 {caseNum7} -1 {caseLabel7} @SWEET7_29383

:SWEET7_29282
if 
  540@ == 0
goto_if_false @SWEET7_29307
534@ = 55

:SWEET7_29307
if 
  540@ == 1
goto_if_false @SWEET7_29332
534@ = 56

:SWEET7_29332
539@ = 2
goto @SWEET7_29383

:SWEET7_29346
534@ = 0
Text.PrintNow('TWAR641', 6000, 1)
539@ = 0
goto @SWEET7_29383

:SWEET7_29383
if 
  44@ == 0
goto_if_false @SWEET7_29465
if 
  not Char.IsInCar($stattreadstamina_ctr, 79@)
goto_if_false @SWEET7_29465
43@ = Blip.AddForCar(79@)
Blip.SetAsFriendly(43@, True)
Blip.Remove(40@)
Text.ClearPrints
Text.PrintNow('TWAR643', 6000, 1)
44@ = 1

:SWEET7_29465
if 
  44@ == 1
goto_if_false @SWEET7_29554
if 
  Char.IsInCar($stattreadstamina_ctr, 79@)
goto_if_false @SWEET7_29554
Blip.Remove(43@)
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_29547
40@ = Blip.AddForChar(98@)
Text.PrintNow('TWAR641', 6000, 1)

:SWEET7_29547
44@ = 0

:SWEET7_29554
if 
  275@ == 1
goto_if_false @SWEET7_29699
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_29699
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_29699
if 
  Char.LocateAnyMeansChar2D($big_smoke_car, 98@, 30.0, 30.0, False)
goto_if_false @SWEET7_29699
Char.ClearTasks($big_smoke_car)
Task.DriveBy($big_smoke_car, 98@, -1, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 90)
275@ = 2
544@ = 1
540@ = Math.RandomIntInRange(0, 4)

:SWEET7_29699
if 
  275@ == 2
goto_if_false @SWEET7_30042
if 
  544@ > 0
goto_if_false @SWEET7_29967
if 
  537@ == 0
goto_if_false @SWEET7_29967
switch_start 544@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SWEET7_29967 {caseNum1} 1 {caseLabel1} @SWEET7_29816 {caseNum2} 2 {caseLabel2} @SWEET7_29930 {caseNum3} -1 {caseLabel3} @SWEET7_29967 {caseNum4} -1 {caseLabel4} @SWEET7_29967 {caseNum5} -1 {caseLabel5} @SWEET7_29967 {caseNum6} -1 {caseLabel6} @SWEET7_29967 {caseNum7} -1 {caseLabel7} @SWEET7_29967

:SWEET7_29816
if 
  540@ == 0
goto_if_false @SWEET7_29841
534@ = 57

:SWEET7_29841
if 
  540@ == 1
goto_if_false @SWEET7_29866
534@ = 58

:SWEET7_29866
if 
  540@ == 2
goto_if_false @SWEET7_29891
534@ = 59

:SWEET7_29891
if 
  540@ == 3
goto_if_false @SWEET7_29916
534@ = 60

:SWEET7_29916
544@ = 2
goto @SWEET7_29967

:SWEET7_29930
534@ = 0
Text.PrintNow('TWAR649', 6000, 1)
544@ = 0
goto @SWEET7_29967

:SWEET7_29967
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @SWEET7_30042
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_30042
if 
  not Char.LocateAnyMeansChar2D($big_smoke_car, 98@, 40.0, 40.0, False)
goto_if_false @SWEET7_30042
Char.ClearTasks($big_smoke_car)
275@ = 1

:SWEET7_30042
if 
  276@ == 1
goto_if_false @SWEET7_30122
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 875.3232, -1071.941, 23.3364, 400.0, 400.0, 100.0, False)
goto_if_false @SWEET7_30122
gosub @SWEET7_32254
276@ = 2

:SWEET7_30122
if 
  279@ == 1
goto_if_false @SWEET7_30193
if 
  TIMERB > 6000
goto_if_false @SWEET7_30193
Text.ClearHelp
Text.PrintHelp('TWAR801')
279@ = 2
280@ = 1
TIMERB = 0

:SWEET7_30193
goto @SWEET7_5036

:SWEET7_30200
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_30278
100@ = Sequence.Open()
Task.TogglePedThreatScanner(-1, False, False, False)
Task.GoStraightToCoord(-1, 140@(139@,10f), 150@(139@,10f), 160@(139@,10f), MoveState.Sprint, -2)
Sequence.Close(100@)
Char.PerformSequence(98@, 100@)
Sequence.Clear(100@)

:SWEET7_30278
return 

:SWEET7_30280
if 
  not Char.IsDead(105@)
goto_if_false @SWEET7_30372
106@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 170@(139@,10f), 180@(139@,10f), 190@(139@,10f), 6, 100.0, 1.0, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, False)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(106@)
Char.PerformSequence(105@, 106@)
Sequence.Clear(106@)

:SWEET7_30372
if 
  not Char.IsDead(107@)
goto_if_false @SWEET7_30478
108@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 200@(139@,10f), 210@(139@,10f), 220@(139@,10f), 6, 100.0, 1.0, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, False)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 5000, 70)
Sequence.Close(108@)
Char.PerformSequence(107@, 108@)
Sequence.Clear(108@)

:SWEET7_30478
if 
  not Char.IsDead(109@)
goto_if_false @SWEET7_30580
Char.SetFollowNodeThresholdDistance(109@, 150.0)
110@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 230@(139@,10f), 240@(139@,10f), 250@(139@,10f), 6, 100.0, 1.0, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, False)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(110@)
Char.PerformSequence(109@, 110@)
Sequence.Clear(110@)

:SWEET7_30580
return 

:SWEET7_30582
53@ = 20
54@ = 1
279@ = 1
TIMERB = 0
if 
  not Char.IsDead(105@)
goto_if_false @SWEET7_30636
Char.GiveWeapon(105@, WeaponType.Pistol, 2000)

:SWEET7_30636
if 
  not Char.IsDead(107@)
goto_if_false @SWEET7_30662
Char.GiveWeapon(107@, WeaponType.Pistol, 2000)

:SWEET7_30662
if 
  not Char.IsDead(109@)
goto_if_false @SWEET7_30688
Char.GiveWeapon(109@, WeaponType.Pistol, 2000)

:SWEET7_30688
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_30714
Char.GiveWeapon(98@, WeaponType.Pistol, 2000)

:SWEET7_30714
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_30855
100@ = Sequence.Open()
if 
  139@ == 3
goto_if_false @SWEET7_30776
Task.GoStraightToCoord(-1, 889.4055, -1057.06, 24.0241, MoveState.Sprint, -2)

:SWEET7_30776
if 
  3 > 139@
goto_if_false @SWEET7_30817
Task.GoStraightToCoord(-1, 889.4055, -1057.06, 24.0241, MoveState.Sprint, -2)

:SWEET7_30817
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 3000, 50)
Sequence.Close(100@)
Char.PerformSequence(98@, 100@)
Sequence.Clear(100@)

:SWEET7_30855
if 
  not Char.IsDead(105@)
goto_if_false @SWEET7_30951
Char.SetFollowNodeThresholdDistance(105@, 150.0)
106@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 884.8275, -1057.997, 24.8115, 6, 100.0, 1.0, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(106@)
Char.PerformSequence(105@, 106@)
Sequence.Clear(106@)

:SWEET7_30951
if 
  not Char.IsDead(107@)
goto_if_false @SWEET7_31061
Char.SetFollowNodeThresholdDistance(107@, 150.0)
108@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 880.5971, -1057.468, 25.9345, 6, 100.0, 1.0, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 5000, 70)
Sequence.Close(108@)
Char.PerformSequence(107@, 108@)
Sequence.Clear(108@)

:SWEET7_31061
if 
  not Char.IsDead(109@)
goto_if_false @SWEET7_31157
Char.SetFollowNodeThresholdDistance(109@, 150.0)
110@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 881.8948, -1061.774, 24.2952, 6, 100.0, 1.0, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(110@)
Char.PerformSequence(109@, 110@)
Sequence.Clear(110@)

:SWEET7_31157
if 
  not Char.IsDead(111@)
goto_if_false @SWEET7_31226
Char.SetFollowNodeThresholdDistance(111@, 150.0)
114@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 5000, 70)
Sequence.Close(114@)
Char.PerformSequence(111@, 114@)
Sequence.Clear(114@)

:SWEET7_31226
if 
  not Char.IsDead(112@)
goto_if_false @SWEET7_31288
Char.SetFollowNodeThresholdDistance(112@, 150.0)
115@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(115@)
Char.PerformSequence(112@, 115@)
Sequence.Clear(115@)

:SWEET7_31288
if 
  not Char.IsDead(113@)
goto_if_false @SWEET7_31350
Char.SetFollowNodeThresholdDistance(113@, 150.0)
116@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(116@)
Char.PerformSequence(113@, 116@)
Sequence.Clear(116@)

:SWEET7_31350
return 

:SWEET7_31352
if 
  not Char.IsDead(105@)
goto_if_false @SWEET7_31397
45@ = Blip.AddForChar(105@)
Blip.ChangeScale(45@, 2)
123@ += 1
124@ = 1

:SWEET7_31397
if 
  not Char.IsDead(107@)
goto_if_false @SWEET7_31442
46@ = Blip.AddForChar(107@)
Blip.ChangeScale(46@, 2)
123@ += 1
125@ = 1

:SWEET7_31442
if 
  not Char.IsDead(109@)
goto_if_false @SWEET7_31487
47@ = Blip.AddForChar(109@)
Blip.ChangeScale(47@, 2)
123@ += 1
126@ = 1

:SWEET7_31487
if 
  not Char.IsDead(111@)
goto_if_false @SWEET7_31532
48@ = Blip.AddForChar(111@)
Blip.ChangeScale(48@, 2)
123@ += 1
127@ = 1

:SWEET7_31532
if 
  not Char.IsDead(112@)
goto_if_false @SWEET7_31577
49@ = Blip.AddForChar(112@)
Blip.ChangeScale(49@, 2)
123@ += 1
128@ = 1

:SWEET7_31577
if 
  not Char.IsDead(113@)
goto_if_false @SWEET7_31622
50@ = Blip.AddForChar(113@)
Blip.ChangeScale(50@, 2)
123@ += 1
129@ = 1

:SWEET7_31622
if 
  not Char.IsDead(117@)
goto_if_false @SWEET7_31706
Char.ClearTasks(117@)
118@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(118@)
Char.PerformSequence(117@, 118@)
Sequence.Clear(118@)
51@ = Blip.AddForChar(117@)
Blip.ChangeScale(51@, 2)
123@ += 1
130@ = 1

:SWEET7_31706
if 
  not Char.IsDead(119@)
goto_if_false @SWEET7_31790
Char.ClearTasks(119@)
120@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(120@)
Char.PerformSequence(119@, 120@)
Sequence.Clear(120@)
52@ = Blip.AddForChar(119@)
Blip.ChangeScale(52@, 2)
123@ += 1
131@ = 1

:SWEET7_31790
if 
  not Char.IsDead(122@)
goto_if_false @SWEET7_31826
Char.ClearTasks(122@)
Task.SmartFleeChar(122@, $stattreadstamina_ctr, 100.0, -1)

:SWEET7_31826
return 

:SWEET7_31828
if 
  124@ == 1
goto_if_false @SWEET7_31881
if 
  Char.IsDead(105@)
goto_if_false @SWEET7_31881
Blip.Remove(45@)
123@ -= 1
124@ = 2

:SWEET7_31881
if 
  125@ == 1
goto_if_false @SWEET7_31934
if 
  Char.IsDead(107@)
goto_if_false @SWEET7_31934
Blip.Remove(46@)
123@ -= 1
125@ = 2

:SWEET7_31934
if 
  126@ == 1
goto_if_false @SWEET7_31987
if 
  Char.IsDead(109@)
goto_if_false @SWEET7_31987
Blip.Remove(47@)
123@ -= 1
126@ = 2

:SWEET7_31987
if 
  127@ == 1
goto_if_false @SWEET7_32040
if 
  Char.IsDead(111@)
goto_if_false @SWEET7_32040
Blip.Remove(48@)
123@ -= 1
127@ = 2

:SWEET7_32040
if 
  128@ == 1
goto_if_false @SWEET7_32093
if 
  Char.IsDead(112@)
goto_if_false @SWEET7_32093
123@ -= 1
Blip.Remove(49@)
128@ = 2

:SWEET7_32093
if 
  129@ == 1
goto_if_false @SWEET7_32146
if 
  Char.IsDead(113@)
goto_if_false @SWEET7_32146
Blip.Remove(50@)
123@ -= 1
129@ = 2

:SWEET7_32146
if 
  130@ == 1
goto_if_false @SWEET7_32199
if 
  Char.IsDead(117@)
goto_if_false @SWEET7_32199
Blip.Remove(51@)
123@ -= 1
130@ = 2

:SWEET7_32199
if 
  131@ == 1
goto_if_false @SWEET7_32252
if 
  Char.IsDead(119@)
goto_if_false @SWEET7_32252
Blip.Remove(52@)
123@ -= 1
131@ = 2

:SWEET7_32252
return 

:SWEET7_32254
if 
  not Car.IsDead(79@)
goto_if_false @SWEET7_32350
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_32310
if 
  not Char.IsSittingInCar(263@, 79@)
goto_if_false @SWEET7_32310
Char.MarkAsNoLongerNeeded(263@)

:SWEET7_32310
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_32350
if 
  not Char.IsSittingInCar(264@, 79@)
goto_if_false @SWEET7_32350
Char.MarkAsNoLongerNeeded(264@)

:SWEET7_32350
if 
  not Char.IsDead(98@)
goto_if_false @SWEET7_32406
if 
  not Car.IsDead(77@)
goto_if_false @SWEET7_32406
if 
  not Char.IsSittingInCar(98@, 77@)
goto_if_false @SWEET7_32406
Car.MarkAsNoLongerNeeded(77@)

:SWEET7_32406
Char.MarkAsNoLongerNeeded(81@)
Char.MarkAsNoLongerNeeded(82@)
Char.MarkAsNoLongerNeeded(117@)
Char.MarkAsNoLongerNeeded(119@)
Char.MarkAsNoLongerNeeded(96@)
Char.MarkAsNoLongerNeeded(97@)
Char.MarkAsNoLongerNeeded(105@)
Char.MarkAsNoLongerNeeded(107@)
Char.MarkAsNoLongerNeeded(109@)
Char.MarkAsNoLongerNeeded(111@)
Char.MarkAsNoLongerNeeded(112@)
Char.MarkAsNoLongerNeeded(113@)
Car.MarkAsNoLongerNeeded(76@)
Car.MarkAsNoLongerNeeded(78@)
return 

:SWEET7_32478
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:SWEET7_32496
281@ = Stat.GetInt(StatId.Respect)
281@ = Stat.GetInt(StatId.Respect)
Stat.RegisterMissionPassed('SWEET_7')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSR', 10, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(10)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
$flag_crash_mission_counter += 1
Blip.Remove($intro_contact_blip)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
return 

:SWEET7_32577
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Path.SwitchRoadsOn(2297.038, -1664.6, 10.8474, 2324.865, -1652.124, 14.8382)
Path.SwitchPedRoadsOn(2297.038, -1664.6, 10.8474, 2324.865, -1652.124, 14.8382)
Zone.SetGangStrength('GAN1', GangType.Grove, 35@)
Zone.SetGangStrength('GAN2', GangType.Grove, 36@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Text.ClearHelp
$flag_courier_mission_passed = Clock.GetGameTimer()
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Player.ClearWantedLevel($statbike_temp)
Char.RemoveElegantly($big_smoke_car)
Weather.Release
Streaming.UnloadSpecialCharacter(1)
if 
  not Char.IsDead(263@)
goto_if_false @SWEET7_32749
Char.SetSuffersCriticalHits(263@, True)
Char.SetHealth(263@, 100)
Char.MarkAsNoLongerNeeded(263@)

:SWEET7_32749
if 
  not Char.IsDead(264@)
goto_if_false @SWEET7_32784
Char.SetSuffersCriticalHits(264@, True)
Char.SetHealth(264@, 100)
Char.MarkAsNoLongerNeeded(264@)

:SWEET7_32784
Blip.Remove(40@)
Blip.Remove(39@)
Blip.Remove(41@)
Blip.Remove(42@)
Blip.Remove(43@)
Blip.Remove(45@)
Blip.Remove(46@)
Blip.Remove(47@)
Blip.Remove(48@)
Blip.Remove(49@)
Blip.Remove(50@)
Blip.Remove(51@)
Blip.Remove(52@)
Blip.Remove(267@)
Blip.Remove(265@)
Blip.Remove(266@)
Blip.Remove(292@)
Blip.Remove(293@)
Blip.Remove(294@)
Blip.Remove(271@)
Hud.ClearTimer($6697)
Streaming.RemoveAnimation("GRAVEYARD")
Streaming.RemoveAnimation("SMOKING")
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(445)
Streaming.MarkModelAsNoLongerNeeded(543)
Streaming.MarkModelAsNoLongerNeeded(107)
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.MarkModelAsNoLongerNeeded(105)
Streaming.MarkModelAsNoLongerNeeded(68)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(103)
Streaming.MarkModelAsNoLongerNeeded(104)
Streaming.MarkModelAsNoLongerNeeded(12)
Path.SwitchRoadsOn(772.243, -1050.323, 10.2931, 806.2723, -1130.195, 23.8359)
Path.SwitchRoadsOn(135@, 136@, 0.0, 137@, 138@, 60.0)
Path.SwitchPedRoadsOn(135@, 136@, 0.0, 137@, 138@, 60.0)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 21---------------
// Originally: Doberman

:CRASH4
script_name 'CRASH4'
gosub @CRASH4_47
if 
  has_deatharrest_been_executed 
goto_if_false @CRASH4_38
gosub @CRASH4_6189

:CRASH4_38
gosub @CRASH4_6788
terminate_this_script 

:CRASH4_47
$weapon_shop1_blip = 1
$2580 = 1
49@ = 0
50@ = 0
46@ = 0
36@ = 0
37@ = 0
38@ = 0
42@ = 0
42@ = 0
44@ = 0
56@ = 0.0
57@ = 0.0
59@ = 0
58@ = 0
61@ = 0
62@ = 0
63@ = 0
64@ = 0
65@ = 0
66@ = 0
67@ = 0
68@ = 0
70@ = 0
$2579 = 0
71@ = 0
72@ = 0
73@ = 0
74@ = 0
Stat.RegisterMissionGiven
wait 0
Text.ClearThisPrintBigNow(TextStyle.Middle)
wait 1000
Text.LoadMissionText('CRASH2')
Zone.SetGangStrength('GLN1', GangType.Ballas, 40)
Zone.SetGangStrength('GLN1', GangType.Grove, 0)
71@ = Zone.GetGangStrength('GLN1', GangType.Vagos)
72@ = Zone.GetGangStrength('GLN1', GangType.Aztecas)
Zone.SetGangStrength('GLN1', GangType.Vagos, 0)
Zone.SetGangStrength('GLN1', GangType.Aztecas, 0)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
43@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Streaming.RequestModel(102)
Streaming.RequestModel(103)
Streaming.RequestModel(372)
Streaming.RequestAnimation("GANGS")
Streaming.RequestAnimation("SMOKING")
Streaming.RequestModel(#CIGAR)
Streaming.RequestModel(106)
Streaming.RequestModel(107)
Streaming.LoadAllModelsNow

:CRASH4_442
if or
  not Streaming.HasModelLoaded(103)
  not Streaming.HasModelLoaded(372)
  not Streaming.HasModelLoaded(102)
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @CRASH4_486
wait 0
goto @CRASH4_442

:CRASH4_486
if or
  not Streaming.HasAnimationLoaded("SMOKING")
  not Streaming.HasModelLoaded(#CIGAR)
  not Streaming.HasModelLoaded(106)
  not Streaming.HasModelLoaded(107)
goto_if_false @CRASH4_531
wait 0
goto @CRASH4_486

:CRASH4_531
World.SetPedDensityMultiplier(0.0)
World.ClearArea(1363.689, -1280.441, 12.5469, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 1363.689, -1280.441, 12.5469)
Streaming.LoadScene(1363.689, -1280.441, 12.5469)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.MakeGangDisappear
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
World.ClearArea(1350.177, -1264.921, 14.7166, 1.0, True)
Camera.SetFixedPosition(1350.177, -1264.921, 14.7166, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1350.987, -1265.499, 14.8167, SwitchType.JumpCut)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1500, Fade.In)

:CRASH4_730
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_754
wait 0
goto @CRASH4_730

:CRASH4_754
Text.PrintNow('AMUHLP', 10000, 1)
skip_cutscene_start_internal @CRASH4_814
TIMERA = 0

:CRASH4_784
if 
  5000 > TIMERA
goto_if_false @CRASH4_814
wait 0
goto @CRASH4_784

:CRASH4_814
skip_cutscene_end 
Text.ClearThisPrint('AMUHLP')
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CRASH4_842
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_866
wait 0
goto @CRASH4_842

:CRASH4_866
Streaming.RequestModel(#LAEJEFFERSALPHA)
Streaming.RequestModel(#LAELODPARK02)
Streaming.RequestModel(#LAEMACPARK02)

:CRASH4_881
if or
  not Streaming.HasModelLoaded(#LAEJEFFERSALPHA)
  not Streaming.HasModelLoaded(#LAELODPARK02)
  not Streaming.HasModelLoaded(#LAEMACPARK02)
goto_if_false @CRASH4_918
wait 0
goto @CRASH4_881

:CRASH4_918
Streaming.LoadAllModelsNow
Hud.SwitchWidescreen(True)
if 
  $cost_menu_shops == 1
goto_if_false @CRASH4_949
skip_cutscene_start_internal @CRASH4_2106

:CRASH4_949
Char.SetCoordinates($stattreadstamina_ctr, 1859.931, -1137.139, 22.946)
Streaming.LoadSceneInDirection(1859.931, -1137.139, 22.946, 89.9)
if 
  62@ == 0
goto_if_false @CRASH4_1343
World.ClearArea(1924.632, -1126.623, 24.135, 30.0, True)
53@ = Char.Create(PedType.Mission1, 103, 1924.632, -1126.623, 24.135)
Char.SetOnlyDamagedByPlayer(53@, True)
Char.SetHeading(53@, 180.0)
60@ = Object.Create(#CIGAR, 1924.632, -1126.623, 24.135)
Task.PickUpObject(53@, 60@, 0.04, 0.1, -0.02, 5, 16, "NULL", "NULL", -1)
Task.PlayAnimNonInterruptable(53@, "M_SMKLEAN_LOOP", "SMOKING", 4.0, True, False, False, False, -1)
54@ = Char.Create(PedType.Mission1, 102, 1921.157, -1127.438, 24.048)
Char.SetOnlyDamagedByPlayer(54@, True)
Char.SetHeading(54@, 270.0)
Task.PlayAnimNonInterruptable(54@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
55@ = Char.Create(PedType.Mission1, 103, 1922.157, -1127.438, 24.048)
Char.SetOnlyDamagedByPlayer(55@, True)
Char.SetHeading(55@, 90.0)
Task.PlayAnimNonInterruptable(55@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
62@ = 1

:CRASH4_1343
Camera.SetFixedPosition(1858.909, -1136.102, 26.7903, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1859.867, -1136.38, 26.725, SwitchType.JumpCut)
World.SetPedDensityMultiplier(0.0)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:CRASH4_1416
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_1440
wait 0
goto @CRASH4_1416

:CRASH4_1440
Text.PrintNow('CM2_10', 20000, 1)
TIMERA = 0

:CRASH4_1463
if 
  10000 > TIMERA
goto_if_false @CRASH4_1493
wait 0
goto @CRASH4_1463

:CRASH4_1493
Text.ClearThisPrint('CM2_10')
Camera.SetFixedPosition(1916.77, -1130.479, 26.9978, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1917.738, -1130.27, 26.8593, SwitchType.JumpCut)
Text.PrintNow('CM2_11', 20000, 1)
TIMERA = 0

:CRASH4_1578
if 
  10000 > TIMERA
goto_if_false @CRASH4_1778
wait 0
if 
  49@ == 0
goto_if_false @CRASH4_1771
if 
  TIMERA > 7000
goto_if_false @CRASH4_1771
if 
  not Char.IsDead(54@)
goto_if_false @CRASH4_1771
if 
  not Char.IsDead(55@)
goto_if_false @CRASH4_1771
Task.PlayAnimNonInterruptable(54@, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -1)
56@ = 0.0
Task.PlayAnimNonInterruptable(55@, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -1)
57@ = 0.0
49@ = 1

:CRASH4_1771
goto @CRASH4_1578

:CRASH4_1778
Text.ClearThisPrint('CM2_11')
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CRASH4_1804
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_1828
wait 0
goto @CRASH4_1804

:CRASH4_1828
Streaming.MarkModelAsNoLongerNeeded(#LAEJEFFERSALPHA)
Streaming.MarkModelAsNoLongerNeeded(#LAELODPARK02)
Streaming.MarkModelAsNoLongerNeeded(#LAEMACPARK02)
Text.ClearThisPrint('CM2_2')
Streaming.RequestCollision(1363.689, -1280.441)
World.ClearArea(1363.689, -1280.441, 12.5469, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 1363.689, -1280.441, 12.5469)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Streaming.LoadSceneInDirection(1363.689, -1280.441, 12.5469, 90.0)
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("SMOKING")
if 
  62@ == 1
goto_if_false @CRASH4_2000
Char.Delete(53@)
Char.Delete(54@)
Char.Delete(55@)
Object.Delete(60@)

:CRASH4_2000
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
World.SetPedDensityMultiplier(1.0)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1500, Fade.In)

:CRASH4_2036
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_2060
wait 0
goto @CRASH4_2036

:CRASH4_2060
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
if 
  $cost_menu_shops == 1
goto_if_false @CRASH4_2409
44@ = 1

:CRASH4_2106
skip_cutscene_end 
if 
  44@ == 0
goto_if_false @CRASH4_2409
Text.ClearPrints
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CRASH4_2143
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_2167
wait 0
goto @CRASH4_2143

:CRASH4_2167
World.SetPedDensityMultiplier(1.0)
Streaming.RequestCollision(1363.689, -1280.441)
World.ClearArea(1363.689, -1280.441, 12.5469, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 1363.689, -1280.441, 12.5469)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Streaming.LoadSceneInDirection(1363.689, -1280.441, 12.5469, 90.0)
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("SMOKING")
Streaming.MarkModelAsNoLongerNeeded(#LAEJEFFERSALPHA)
Streaming.MarkModelAsNoLongerNeeded(#LAELODPARK02)
Streaming.MarkModelAsNoLongerNeeded(#LAEMACPARK02)
if 
  62@ == 1
goto_if_false @CRASH4_2335
Char.Delete(53@)
Char.Delete(54@)
Char.Delete(55@)
Object.Delete(60@)

:CRASH4_2335
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1500, Fade.In)

:CRASH4_2369
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_2393
wait 0
goto @CRASH4_2369

:CRASH4_2393
Camera.SetBehindPlayer
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, False)

:CRASH4_2409
$cost_menu_shops = 1
52@ = Blip.AddSpriteForCoord(1362.895, -1281.008, 12.586, RadarSprite.Ammugun)
World.SwitchEntryExit('AMMUN1', True)
Zone.SetGangStrength('GLN1', GangType.Ballas, 40)
Zone.SetGangStrength('GLN1', GangType.Grove, 0)
Game.SetOnlyCreateGangMembers(True)
Game.SetGangWarsTrainingMission(True)
Zone.SetForGangWarsTraining('GLN1')
Game.SetWantedMultiplier(0.5)
Game.CanTriggerGangWarWhenOnAMission(True)
Game.SetGangWarsActive(True)
$2581 = 1
Text.PrintNow('CM2_3', 8000, 1)
45@ = Blip.AddSpriteForCoord(1932.351, -1189.647, 19.063, RadarSprite.GangG)

:CRASH4_2560
if 
  not Player.IsInInfoZone($statbike_temp, 'GLN1')
goto_if_false @CRASH4_2812
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CRASH4_2611
goto @CRASH4_6345

:CRASH4_2611
if 
  67@ == 0
goto_if_false @CRASH4_2718
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2444.895, -1981.524, 13.933, 880.0, 880.0, 100.0, False)
goto_if_false @CRASH4_2718
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @CRASH4_2718
Text.PrintHelp('CM2_18')
TIMERB = 0
67@ = 1

:CRASH4_2718
if 
  67@ == 1
goto_if_false @CRASH4_2789
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @CRASH4_2789
if 
  TIMERB > 5000
goto_if_false @CRASH4_2789
Text.PrintHelp('CM2_19')
67@ = 2

:CRASH4_2789
47@ = Zone.GetGangStrength('GLN1', GangType.Ballas)
goto @CRASH4_2560

:CRASH4_2812
Blip.Remove(52@)
Text.PrintNow('CM2_5', 8000, 1)
TIMERA = 0

:CRASH4_2840
if 
  not Game.IsGangWarGoingOn
goto_if_false @CRASH4_3104
wait 0
if 
  not Player.IsInInfoZone($statbike_temp, 'GLN1')
goto_if_false @CRASH4_2930
if 
  46@ == 0
goto_if_false @CRASH4_2923
Text.PrintNow('CM2_6', 8000, 1)
46@ = 1

:CRASH4_2923
goto @CRASH4_2982

:CRASH4_2930
if 
  46@ == 1
goto_if_false @CRASH4_2982
Text.ClearThisPrint('CM2_6')
Text.PrintNow('CM2_5', 8000, 1)
46@ = 0

:CRASH4_2982
if 
  73@ == 0
goto_if_false @CRASH4_3044
if 
  TIMERA >= 60000
goto_if_false @CRASH4_3044
Text.PrintNow('CM2_5', 8000, 1)
73@ = 1

:CRASH4_3044
if 
  73@ == 1
goto_if_false @CRASH4_3097
if 
  TIMERA >= 70000
goto_if_false @CRASH4_3097
TIMERA = 0
73@ = 0

:CRASH4_3097
goto @CRASH4_2840

:CRASH4_3104
Text.ClearThisPrint('CM2_5')
TIMERA = 0

:CRASH4_3122
if 
  47@ <> 0
goto_if_false @CRASH4_3464
wait 0
47@ = Zone.GetGangStrength('GLN1', GangType.Ballas)
74@ = Zone.GetGangStrength('GLN1', GangType.Grove)
if 
  not Player.IsInInfoZone($statbike_temp, 'GLN1')
goto_if_false @CRASH4_3335
if 
  46@ == 0
goto_if_false @CRASH4_3242
Text.PrintNow('CM2_6', 8000, 1)
46@ = 1

:CRASH4_3242
if 
  not Game.IsGangWarGoingOn
goto_if_false @CRASH4_3321
if 
  74@ == 0
goto_if_false @CRASH4_3314
if 
  66@ == 0
goto_if_false @CRASH4_3314
Text.PrintNow('CM2_17', 8000, 1)
66@ = 1

:CRASH4_3314
goto @CRASH4_3328

:CRASH4_3321
66@ = 0

:CRASH4_3328
goto @CRASH4_3457

:CRASH4_3335
if 
  46@ == 1
goto_if_false @CRASH4_3371
Text.ClearThisPrint('CM2_6')
46@ = 0

:CRASH4_3371
if 
  not Game.IsGangWarGoingOn
goto_if_false @CRASH4_3450
if 
  74@ == 0
goto_if_false @CRASH4_3443
if 
  65@ == 0
goto_if_false @CRASH4_3443
Text.PrintNow('CM2_16', 8000, 1)
65@ = 1

:CRASH4_3443
goto @CRASH4_3457

:CRASH4_3450
65@ = 0

:CRASH4_3457
goto @CRASH4_3122

:CRASH4_3464
Blip.Remove(45@)
Text.ClearThisPrint('CM2_16')
Text.ClearThisPrint('CM2_17')
Text.ClearThisPrint('CM2_6')
Text.ClearThisPrint('CM2_5')
Zone.SetGangStrength('GLN1', GangType.Ballas, 0)
Game.CanTriggerGangWarWhenOnAMission(False)
wait 5000
Game.SetOnlyCreateGangMembers(False)
ENTEXT_63()

:CRASH4_3548
if 
  $played_scipted_airscript_cut <> 1
goto_if_false @CRASH4_3584
wait 0
ENTEXT_63()
goto @CRASH4_3548

:CRASH4_3584
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CRASH4_3622
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_3646
wait 0
goto @CRASH4_3622

:CRASH4_3646
World.SetPedDensityMultiplier(0.0)
Player.MakeGangDisappear
Hud.SwitchWidescreen(True)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CRASH4_3753
World.ClearArea(1859.931, -1137.139, 22.946, 2.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 1859.931, -1137.139, 22.946)
Char.SetHeading($stattreadstamina_ctr, 284.0)
Streaming.LoadScene(1859.931, -1137.139, 22.946)
goto @CRASH4_3859

:CRASH4_3753
75@ = Char.StoreCarIsIn($stattreadstamina_ctr)
World.ClearArea(1859.931, -1137.139, 22.946, 2.0, True)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1859.931, -1137.139, 22.946)

:CRASH4_3805
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CRASH4_3832
wait 0
goto @CRASH4_3805

:CRASH4_3832
Char.SetHeading($stattreadstamina_ctr, 284.0)
Streaming.LoadScene(1859.931, -1137.139, 22.946)

:CRASH4_3859
Camera.SetFixedPosition(1859.828, -1136.18, 33.7679, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1860.751, -1136.463, 33.508, SwitchType.JumpCut)
if 
  63@ == 0
goto_if_false @CRASH4_4089
53@ = Char.Create(PedType.Mission1, 106, 1910.336, -1154.475, 22.699)
Char.SetHeading(53@, 131.345)
Char.SetOnlyDamagedByPlayer(53@, True)
Task.PlayAnimNonInterruptable(53@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
54@ = Char.Create(PedType.Mission1, 107, 1907.99, -1157.554, 22.932)
Char.SetHeading(54@, 318.746)
Char.SetOnlyDamagedByPlayer(54@, True)
Task.PlayAnimNonInterruptable(54@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
63@ = 1

:CRASH4_4089
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:CRASH4_4104
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_4128
wait 0
goto @CRASH4_4104

:CRASH4_4128
if 
  $cost_menu_drawn_shops == 1
goto_if_false @CRASH4_4153
skip_cutscene_start_internal @CRASH4_4683

:CRASH4_4153
Text.PrintNow('CM2_12', 20000, 1)
TIMERA = 0

:CRASH4_4176
if 
  10000 > TIMERA
goto_if_false @CRASH4_4206
wait 0
goto @CRASH4_4176

:CRASH4_4206
Text.ClearThisPrint('CM2_12')
Camera.SetFixedPosition(1891.889, -1163.394, 25.5792, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1892.865, -1163.187, 25.5167, SwitchType.JumpCut)
Text.PrintNow('CM2_13', 20000, 1)
TIMERA = 0

:CRASH4_4291
if 
  10000 > TIMERA
goto_if_false @CRASH4_4321
wait 0
goto @CRASH4_4291

:CRASH4_4321
Text.ClearThisPrint('CM2_13')
Text.PrintNow('CM2_14', 20000, 1)
TIMERA = 0

:CRASH4_4355
if 
  10000 > TIMERA
goto_if_false @CRASH4_4385
wait 0
goto @CRASH4_4355

:CRASH4_4385
Text.ClearThisPrint('CM2_14')
Camera.SetFixedPosition(1859.828, -1136.18, 33.7679, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1860.751, -1136.463, 33.508, SwitchType.JumpCut)
Text.PrintNow('CM2_15', 20000, 1)
TIMERA = 0

:CRASH4_4470
if 
  10000 > TIMERA
goto_if_false @CRASH4_4500
wait 0
goto @CRASH4_4470

:CRASH4_4500
Text.ClearThisPrint('CM2_15')
Text.PrintNow('CM2_20', 20000, 1)
TIMERA = 0

:CRASH4_4534
if 
  10000 > TIMERA
goto_if_false @CRASH4_4564
wait 0
goto @CRASH4_4534

:CRASH4_4564
Text.ClearThisPrint('CM2_20')
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CRASH4_4590
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_4614
wait 0
goto @CRASH4_4590

:CRASH4_4614
Text.ClearPrints
if 
  63@ == 1
goto_if_false @CRASH4_4644
Char.Delete(53@)
Char.Delete(54@)

:CRASH4_4644
World.SetPedDensityMultiplier(1.0)
if 
  $cost_menu_drawn_shops == 1
goto_if_false @CRASH4_4779
61@ = 1
$cost_menu_drawn_shops = 1

:CRASH4_4683
skip_cutscene_end 
if 
  61@ == 0
goto_if_false @CRASH4_4779
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CRASH4_4718
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_4742
wait 0
goto @CRASH4_4718

:CRASH4_4742
Text.ClearPrints
World.SetPedDensityMultiplier(1.0)
if 
  63@ == 1
goto_if_false @CRASH4_4779
Char.Delete(53@)
Char.Delete(54@)

:CRASH4_4779
$cost_menu_drawn_shops = 1
Camera.SetFixedPosition(1914.107, -1130.994, 27.8685, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1914.841, -1130.332, 27.7162, SwitchType.JumpCut)
if 
  $flag_otb_robbing_peds_panic == 0
goto_if_false @CRASH4_4869
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 10830)
goto @CRASH4_4926

:CRASH4_4869
if 
  $flag_otb_robbing_peds_panic == 1
goto_if_false @CRASH4_4901
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 10831)
goto @CRASH4_4926

:CRASH4_4901
if 
  $flag_otb_robbing_peds_panic == 2
goto_if_false @CRASH4_4926
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 10832)

:CRASH4_4926
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CRASH4_4952
wait 0
goto @CRASH4_4926

:CRASH4_4952
World.ClearArea(1922.439, -1118.043, 25.125, 10.0, False)
34@ = Char.Create(PedType.Mission2, 103, 1922.439, -1118.043, 25.125)
Char.SetHeading(34@, 180.0)
Char.SetOnlyDamagedByPlayer(34@, True)
Char.GiveWeapon(34@, WeaponType.Tec9, 30000)
Char.SetProofs(34@, True, True, True, True, True)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)
if 
  not Char.IsDead(34@)
goto_if_false @CRASH4_5104
Task.GoStraightToCoord(34@, 1922.328, -1127.938, 24.078, MoveState.Run, -1)
goto @CRASH4_5111

:CRASH4_5104
38@ = 1

:CRASH4_5111
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_5135
wait 0
goto @CRASH4_5111

:CRASH4_5135
if 
  not Char.IsDead(34@)
goto_if_false @CRASH4_5323
Char.ShutUpForScriptedSpeech(34@, True)
if 
  $flag_otb_robbing_peds_panic == 0
goto_if_false @CRASH4_5213
Text.PrintNow('CRA2_ZA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk(34@, 999999)
goto @CRASH4_5316

:CRASH4_5213
if 
  $flag_otb_robbing_peds_panic == 1
goto_if_false @CRASH4_5268
Text.PrintNow('CRA2_ZB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk(34@, 999999)
goto @CRASH4_5316

:CRASH4_5268
if 
  $flag_otb_robbing_peds_panic == 2
goto_if_false @CRASH4_5316
Text.PrintNow('CRA2_ZC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk(34@, 999999)

:CRASH4_5316
goto @CRASH4_5363

:CRASH4_5323
Text.ClearThisPrint('CRA2_ZA')
Text.ClearThisPrint('CRA2_ZB')
Text.ClearThisPrint('CRA2_ZC')
38@ = 1

:CRASH4_5363
skip_cutscene_start_internal @CRASH4_5757
TIMERA = 0

:CRASH4_5377
if 
  2000 > TIMERA
goto_if_false @CRASH4_5555
wait 0
if 
  38@ == 0
goto_if_false @CRASH4_5548
if 
  Char.IsDead(34@)
goto_if_false @CRASH4_5500
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CRASH4_5453
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:CRASH4_5453
Text.ClearThisPrint('CRA2_ZA')
Text.ClearThisPrint('CRA2_ZB')
Text.ClearThisPrint('CRA2_ZC')
38@ = 1
goto @CRASH4_5548

:CRASH4_5500
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CRASH4_5548
Text.ClearThisPrint('CRA2_ZA')
Text.ClearThisPrint('CRA2_ZB')
Text.ClearThisPrint('CRA2_ZC')

:CRASH4_5548
goto @CRASH4_5377

:CRASH4_5555
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CRASH4_5603
Text.ClearThisPrint('CRA2_ZA')
Text.ClearThisPrint('CRA2_ZB')
Text.ClearThisPrint('CRA2_ZC')

:CRASH4_5603
if 
  not Char.IsDead(34@)
goto_if_false @CRASH4_5638
Char.StopFacialTalk(34@)
Char.ShutUpForScriptedSpeech(34@, False)
goto @CRASH4_5645

:CRASH4_5638
38@ = 1

:CRASH4_5645
Player.MakeGangReappear
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
if 
  not Char.IsDead(34@)
goto_if_false @CRASH4_5738
Char.SetDecisionMaker(34@, 43@)
35@ = Blip.AddForChar(34@)
Task.KillCharOnFoot(34@, $stattreadstamina_ctr)
Char.SetProofs(34@, False, False, False, False, False)
goto @CRASH4_5750

:CRASH4_5738
Blip.Remove(35@)
38@ = 1

:CRASH4_5750
64@ = 1

:CRASH4_5757
skip_cutscene_end 
if 
  64@ == 0
goto_if_false @CRASH4_6048
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CRASH4_5792
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_5816
wait 0
goto @CRASH4_5792

:CRASH4_5816
Player.MakeGangReappear
if 
  not Char.IsDead(34@)
goto_if_false @CRASH4_5907
World.ClearArea(1922.903, -1128.477, 24.092, 2.0, False)
Char.SetCoordinates(34@, 1922.903, -1128.477, 24.092)
Char.SetHeading(34@, 180.0)
Char.StopFacialTalk(34@)
Char.ShutUpForScriptedSpeech(34@, False)
goto @CRASH4_5914

:CRASH4_5907
38@ = 1

:CRASH4_5914
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:CRASH4_5937
if 
  Camera.GetFadingStatus
goto_if_false @CRASH4_5961
wait 0
goto @CRASH4_5937

:CRASH4_5961
Player.SetControl($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
if 
  not Char.IsDead(34@)
goto_if_false @CRASH4_6036
35@ = Blip.AddForChar(34@)
Task.KillCharOnFoot(34@, $stattreadstamina_ctr)
Char.SetProofs(34@, False, False, False, False, False)
goto @CRASH4_6048

:CRASH4_6036
Blip.Remove(35@)
38@ = 1

:CRASH4_6048
$flag_otb_robbing_peds_panic += 1
if 
  $flag_otb_robbing_peds_panic > 2
goto_if_false @CRASH4_6080
$flag_otb_robbing_peds_panic = 0

:CRASH4_6080
Text.PrintNow('CM2_8', 8000, 1)

:CRASH4_6096
if 
  38@ <> 1
goto_if_false @CRASH4_6182
wait 0
if 
  38@ == 0
goto_if_false @CRASH4_6175
if 
  Char.IsDead(34@)
goto_if_false @CRASH4_6175
Text.ClearThisPrint('CM2_7')
Blip.Remove(35@)
38@ = 1

:CRASH4_6175
goto @CRASH4_6096

:CRASH4_6182
goto @CRASH4_6345

:CRASH4_6189
Zone.SetGangStrength('GLN1', GangType.Ballas, 40)
Zone.SetGangStrength('GLN1', GangType.Grove, 0)
Zone.SetGangStrength('GLN1', GangType.Vagos, 71@)
Zone.SetGangStrength('GLN1', GangType.Aztecas, 72@)
World.SwitchEntryExit('AMMUN1', False)
World.SwitchEntryExit('AMMUN2', False)
World.SwitchEntryExit('AMMUN3', False)
World.SwitchEntryExit('AMMUN4', False)
World.SwitchEntryExit('AMMUN5', False)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Game.SetGangWarsActive(False)
$2581 = 0
return 

:CRASH4_6345
$flag_crash_mission_counter += 1
Stat.RegisterMissionPassed('CRASH_2')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSR', 40, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(40)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Blip.Remove($intro_contact_blip)
$intro_contact_blip = Blip.AddSpriteForContactPoint($ryderY, $ryderZ, $smokeX, $strap_blip_icon)
$flag_cat_mission1_passed = Pickup.CreateProtection(2502.1, -1686.38, 13.0, 10000, $flag_cat_mission3_passed)
start_new_script @TCASH 
World.SwitchEntryExit('AMMUN1', True)
World.SwitchEntryExit('AMMUN2', True)
World.SwitchEntryExit('AMMUN3', True)
World.SwitchEntryExit('AMMUN4', True)
World.SwitchEntryExit('AMMUN5', True)
if 
  $player_z == 0
goto_if_false @CRASH4_6786
$bcesar2_mission_flag = Blip.AddShortRangeSpriteForCoord(1372.9, -1278.8, 12.5, RadarSprite.Ammugun)
$2582 = Blip.AddShortRangeSpriteForCoord(2400.5, -1978.4, 13.5, RadarSprite.Ammugun)
$2583 = Blip.AddShortRangeSpriteForCoord(-2626.6, 209.4, 4.9, RadarSprite.Ammugun)
$2584 = Blip.AddShortRangeSpriteForCoord(2535.9, 2083.5, 10.8, RadarSprite.Ammugun)
$2585 = Blip.AddShortRangeSpriteForCoord(2156.5, 943.2, 10.8, RadarSprite.Ammugun)
$2586 = Blip.AddShortRangeSpriteForCoord(779.7, 1874.3, 4.9, RadarSprite.Ammugun)
$2587 = Blip.AddShortRangeSpriteForCoord(-2092.7, -2463.8, 30.6, RadarSprite.Ammugun)
$mod_garage_blips = Blip.AddShortRangeSpriteForCoord(240.0, -178.2, 2.0, RadarSprite.Ammugun)
$2589 = Blip.AddShortRangeSpriteForCoord(-1509.4, 2611.8, 58.5, RadarSprite.Ammugun)
$2590 = Blip.AddShortRangeSpriteForCoord(-315.67, 829.87, 13.43, RadarSprite.Ammugun)
$barbers_blips = Blip.AddShortRangeSpriteForCoord(2332.9, 63.6, 31.0, RadarSprite.Ammugun)
$player_z = 1

:CRASH4_6786
return 

:CRASH4_6788
Streaming.MarkModelAsNoLongerNeeded(#LAEJEFFERSALPHA)
Streaming.MarkModelAsNoLongerNeeded(#LAELODPARK02)
Streaming.MarkModelAsNoLongerNeeded(#LAEMACPARK02)
World.SetPedDensityMultiplier(1.0)
Game.SetOnlyCreateGangMembers(False)
$weapon_shop1_blip = 0
$2580 = 0
Blip.Remove(45@)
Blip.Remove(35@)
Blip.Remove(52@)
Game.CanTriggerGangWarWhenOnAMission(False)
$flag_courier_mission_passed = Clock.GetGameTimer()
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(103)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.MarkModelAsNoLongerNeeded(107)
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("SMOKING")
Object.Delete(60@)
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Char.Delete(53@)
Char.Delete(54@)
Char.Delete(55@)
DecisionMaker.Remove(43@)
Mission.Finish
return 

//-------------Mission 22---------------
// Originally: Burning Desire

:CRASH1
script_name 'CRASH1'
gosub @CRASH1_47
if 
  has_deatharrest_been_executed 
goto_if_false @CRASH1_38
gosub @CRASH1_41227

:CRASH1_38
gosub @CRASH1_41349
terminate_this_script 

:CRASH1_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
39@ = 0
40@ = 0
45@ = 0
46@ = 0
TIMERA = 0
TIMERB = 0
47@ = 1
48@ = 0
49@ = 0
50@ = 0
51@ = -1
52@ = 0
53@ = 0
55@ = 0
54@ = 0
56@ = 1
213@ = 0

:CRASH1_210
57@(213@,3i) = 0
213@ += 1
  213@ >= 3
goto_if_false @CRASH1_210
355@ = 0
356@ = 0
357@ = 0
358@ = 0
359@ = 0
360@ = 0
361@ = 0
198@ = 0
314@ = 0
315@ = 0
316@ = 0
323@ = 0
322@ = 0
313@ = 0
317@ = 0
325@ = 0
353@ = 0
354@ = 0
336@ = 0
340@ = 0
342@ = 0
345@ = 0
346@ = 1
347@ = 1
348@ = 0
349@ = 0
350@ = 0
210@ = 0
if 
  34@ == -99
goto_if_false @CRASH1_1160
write_debug "SHOULD_NEVER_BE_IN_FAKE_ENTITY_CREATION"
98@ = Car.Create(412, 0.0, 0.0, 0.0)
99@ = Car.Create(412, 0.0, 0.0, 0.0)
100@ = Car.Create(596, 0.0, 0.0, 0.0)
213@ = 0

:CRASH1_575
87@(213@,5i) = Char.Create(PedType.Gang8, 110, 0.0, 0.0, 0.0)
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_575
213@ = 0

:CRASH1_631
92@(213@,2i) = Char.Create(PedType.Gang8, 110, 0.0, 0.0, 0.0)
213@ += 1
  213@ >= 2
goto_if_false @CRASH1_631
94@ = Char.Create(PedType.Gang8, 109, 0.0, 0.0, 0.0)
95@ = Char.Create(PedType.CivFemale, 195, 0.0, 0.0, 0.0)
96@ = Char.Create(PedType.Gang8, 109, 0.0, 0.0, 0.0)
97@ = Char.Create(PedType.Gang8, 109, 0.0, 0.0, 0.0)
213@ = 0

:CRASH1_784
101@(213@,8i) = Object.CreateNoOffset(#BD_WINDOW, 0.0, 0.0, 0.0)
213@ += 1
  213@ >= 8
goto_if_false @CRASH1_784
114@ = Object.Create(#CR1_DOOR, 0.0, 0.0, 0.0)
119@ = Object.Create(#BREAK_WALL_1B, 0.0, 0.0, 0.0)
120@ = Object.Create(#BREAK_WALL_2B, 0.0, 0.0, 0.0)
121@ = Object.Create(#BREAK_WALL_3B, 0.0, 0.0, 0.0)
119@ = Object.Create(#BD_FIRE1_O, 0.0, 0.0, 0.0)
138@ = ScriptFire.CreateCharFire(94@)
139@ = ScriptFire.CreateCharFire(95@)
140@ = ScriptFire.CreateCharFire(96@)
141@ = ScriptFire.CreateCharFire(97@)
213@ = 0

:CRASH1_985
142@(213@,21i) = ScriptFire.Start(0.0, 0.0, 0.0, 0, 1)
213@ += 1
  213@ >= 21
goto_if_false @CRASH1_985
213@ = 0

:CRASH1_1041
163@(213@,4i) = ScriptFire.Start(0.0, 0.0, 0.0, 0, 1)
213@ += 1
  213@ >= 4
goto_if_false @CRASH1_1041
135@ = Pickup.CreateWithAmmo(366, PickupType.Once, 0, 0.0, 0.0, 0.0)
132@ = Pickup.CreateWithAmmo(344, PickupType.Once, 0, 0.0, 0.0, 0.0)
131@ = Blip.AddForChar(95@)
128@ = Blip.AddForPickup(132@)

:CRASH1_1160
Text.LoadMissionText('CRASH1')
gosub @CRASH1_38857
180@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
181@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
gosub @CRASH1_39065

:CRASH1_1199
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CRASH1_1232
36@ = 1
goto @CRASH1_1651

:CRASH1_1232
gosub @CRASH1_36706
gosub @CRASH1_37130
if or
  38@ == 1
  39@ == 1
goto_if_false @CRASH1_1278
goto @CRASH1_1651

:CRASH1_1278
gosub @CRASH1_38228
gosub @CRASH1_38262
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @CRASH1_1322
37@ = 1
goto @CRASH1_1651

:CRASH1_1322
if 
  34@ == 0
goto_if_false @CRASH1_1380
write_debug "STAGE_SHOULD_NEVER_BE_0_IN_MAIN_LOOP"

:CRASH1_1380
if 
  34@ == 1
goto_if_false @CRASH1_1405
gosub @CRASH1_1838

:CRASH1_1405
if 
  34@ == 2
goto_if_false @CRASH1_1430
gosub @CRASH1_2345

:CRASH1_1430
if 
  34@ == 3
goto_if_false @CRASH1_1455
gosub @CRASH1_3600

:CRASH1_1455
if 
  34@ == 4
goto_if_false @CRASH1_1480
gosub @CRASH1_5983

:CRASH1_1480
if 
  34@ == 5
goto_if_false @CRASH1_1505
gosub @CRASH1_8432

:CRASH1_1505
if 
  34@ == 6
goto_if_false @CRASH1_1530
gosub @CRASH1_10291

:CRASH1_1530
if 
  34@ == 7
goto_if_false @CRASH1_1555
gosub @CRASH1_13180

:CRASH1_1555
if 
  34@ == 8
goto_if_false @CRASH1_1580
36@ = 1

:CRASH1_1580
if 
  34@ == 50
goto_if_false @CRASH1_1605
gosub @CRASH1_15449

:CRASH1_1605
if 
  34@ == 51
goto_if_false @CRASH1_1630
38@ = 1

:CRASH1_1630
gosub @CRASH1_38301
gosub @CRASH1_38357
gosub @CRASH1_32145

:CRASH1_1651
if 
  38@ == 0
goto_if_false @CRASH1_1834
if 
  37@ == 0
goto_if_false @CRASH1_1735
if 
  36@ == 0
goto_if_false @CRASH1_1719
goto @CRASH1_1199
goto @CRASH1_1728

:CRASH1_1719
gosub @CRASH1_41291
return 

:CRASH1_1728
goto @CRASH1_1827

:CRASH1_1735
gosub @CRASH1_41227
if or
  314@ == 1
  Char.IsInArea3D($stattreadstamina_ctr, 2350.405, -1181.907, 26.8553, 2353.484, -1170.524, 30.0687, False)
goto_if_false @CRASH1_1825
34@ = 50
35@ = 0
37@ = 0
goto @CRASH1_1199

:CRASH1_1825
return 

:CRASH1_1827
goto @CRASH1_1836

:CRASH1_1834
return 

:CRASH1_1836
return 

:CRASH1_1838
if 
  35@ == 0
goto_if_false @CRASH1_1900
Text.PrintNow('CRA1_00', 15000, 1)
gosub @CRASH1_16457
349@ = 0
204@ = 0
35@ += 1

:CRASH1_1900
if 
  35@ == 1
goto_if_false @CRASH1_1969
if 
  Pickup.HasBeenCollected(132@)
goto_if_false @CRASH1_1969
Blip.Remove(128@)
349@ = 0
set_lvar_int_to_lvar_int 204@ = 45@
204@ += 5000
35@ += 1

:CRASH1_1969
if 
  35@ == 2
goto_if_false @CRASH1_1994
35@ += 1

:CRASH1_1994
if 
  35@ == 3
goto_if_false @CRASH1_2055
Text.PrintNow('CRA1_01', 5000, 1)
122@ = Blip.AddForCoord(2351.904, -1170.826, 28.5)
35@ += 1

:CRASH1_2055
if 
  35@ == 4
goto_if_false @CRASH1_2146
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2350.168, -1164.938, 300.0, 300.0, False)
goto_if_false @CRASH1_2146
gosub @CRASH1_39609
gosub @CRASH1_39708
gosub @CRASH1_40373
gosub @CRASH1_40881
35@ += 1

:CRASH1_2146
if 
  35@ == 5
goto_if_false @CRASH1_2245
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2337.666, -1180.994, 31.7513, 38.1099, 31.5599, 8.75, False)
goto_if_false @CRASH1_2245
Blip.Remove(122@)
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
348@ = 1
35@ = 99

:CRASH1_2245
if 
  349@ == 0
goto_if_false @CRASH1_2318
if 
  204@ <> 0
goto_if_false @CRASH1_2318
if 
  is_int_lvar_greater_than_int_lvar 45@ > 204@
goto_if_false @CRASH1_2318
Text.PrintHelp('MOLOTOV')
349@ = 1

:CRASH1_2318
if 
  35@ == 99
goto_if_false @CRASH1_2343
gosub @CRASH1_38827

:CRASH1_2343
return 

:CRASH1_2345
if 
  35@ == 0
goto_if_false @CRASH1_2476
297@ = 0
298@ = 0
299@ = 0
300@ = 0
301@ = 0
313@ = 0
332@ = 0
333@ = 0
209@ = 0
187@ = -1
205@ = 0
gosub @CRASH1_18730
gosub @CRASH1_19322
Game.SwitchEmergencyServices(False)
Game.SetWantedMultiplier(0.3)
Game.SetMaxFireGenerations(1)
35@ += 1

:CRASH1_2476
if 
  35@ == 1
goto_if_false @CRASH1_2533
Text.PrintNow('CRA1_02', 6000, 1)
set_lvar_int_to_lvar_int 204@ = 45@
204@ += 7000
35@ += 1

:CRASH1_2533
if 
  35@ == 2
goto_if_false @CRASH1_2631
213@ = 0

:CRASH1_2558
set_lvar_int_to_lvar_int 217@ = 213@
gosub @CRASH1_20309
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_2558
if 
  is_int_lvar_greater_than_int_lvar 45@ > 204@
goto_if_false @CRASH1_2631
Text.PrintHelp('WINDOWS')
35@ += 1

:CRASH1_2631
if 
  35@ == 3
goto_if_false @CRASH1_2733
213@ = 0

:CRASH1_2656
set_lvar_int_to_lvar_int 217@ = 213@
gosub @CRASH1_20309
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_2656
if 
  209@ == 5
goto_if_false @CRASH1_2733
Text.PrintNow('CRA1_04', 3000, 1)
35@ = 99

:CRASH1_2733
213@ = 0

:CRASH1_2740
set_lvar_int_to_lvar_int 216@ = 213@
gosub @CRASH1_16525
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_2740
if 
  313@ == 1
goto_if_false @CRASH1_2808
gosub @CRASH1_21015
goto @CRASH1_2815

:CRASH1_2808
gosub @CRASH1_20662

:CRASH1_2815
gosub @CRASH1_21168
if 
  205@ <> 0
goto_if_false @CRASH1_3150
if 
  is_int_lvar_greater_than_int_lvar 45@ > 205@
goto_if_false @CRASH1_3150
205@ = 0
214@ = 0
213@ = 0

:CRASH1_2880
if 
  302@(213@,5i) == 1
goto_if_false @CRASH1_2909
214@ += 1

:CRASH1_2909
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_2880
209@ += 1
if 
  not is_int_lvar_equal_to_int_lvar 214@ == 209@
goto_if_false @CRASH1_3006
if 
  is_int_lvar_greater_than_int_lvar 209@ > 214@
goto_if_false @CRASH1_2990
set_lvar_int_to_lvar_int 209@ = 214@
goto @CRASH1_3006

:CRASH1_2990
set_lvar_int_to_lvar_int 205@ = 45@
205@ += 500

:CRASH1_3006
if 
  5 > 209@
goto_if_false @CRASH1_3031
gosub @CRASH1_20473

:CRASH1_3031
351@ = 0
213@ = 0

:CRASH1_3045
if 
  351@ == 0
goto_if_false @CRASH1_3129
if and
  302@(213@,5i) == 1
  307@(213@,5i) == 0
goto_if_false @CRASH1_3129
set_lvar_int_to_lvar_int 191@ = 213@
gosub @CRASH1_23203
307@(213@,5i) = 1
351@ = 1

:CRASH1_3129
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_3045

:CRASH1_3150
if 
  297@ == 0
goto_if_false @CRASH1_3410
289@ = 2337.666
289@ -= 31.0
291@ = -1180.994
291@ -= 38.0
293@ = 31.7513
293@ -= 8.0
290@ = 2337.666
290@ += 31.0
292@ = -1180.994
292@ += 38.0
294@ = 31.7513
294@ += 8.0
if 
  332@ == 0
goto_if_false @CRASH1_3344
if 
  World.IsProjectileInArea(289@, 291@, 293@, 290@, 292@, 294@)
goto_if_false @CRASH1_3344
332@ = 1

:CRASH1_3344
if 
  333@ == 0
goto_if_false @CRASH1_3410
214@ = World.GetNumberOfFiresInArea(289@, 291@, 293@, 290@, 292@, 294@)
if 
  214@ > 0
goto_if_false @CRASH1_3410
333@ = 1

:CRASH1_3410
if 
  348@ == 1
goto_if_false @CRASH1_3504
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2337.666, -1180.994, 31.7513, 48.1099, 41.5599, 18.75, False)
goto_if_false @CRASH1_3497
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
348@ = 0

:CRASH1_3497
goto @CRASH1_3573

:CRASH1_3504
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2337.666, -1180.994, 31.7513, 38.1099, 31.5599, 8.75, False)
goto_if_false @CRASH1_3573
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
348@ = 1

:CRASH1_3573
if 
  35@ == 99
goto_if_false @CRASH1_3598
gosub @CRASH1_38827

:CRASH1_3598
return 

:CRASH1_3600
if 
  35@ == 0
goto_if_false @CRASH1_3751
191@ = 5
gosub @CRASH1_23203
192@ = 0
gosub @CRASH1_24873
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 3000
329@ = 0
334@ = 0
335@ = 0
352@ = 0
353@ = 0
354@ = 0
337@ = 0
347@ = 1
206@ = 0
Game.SetWantedMultiplier(0.0)
Player.ClearWantedLevel($statbike_temp)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 6603)
35@ += 1

:CRASH1_3751
if 
  359@ == 1
goto_if_false @CRASH1_3794
if 
  Char.IsDead(95@)
goto_if_false @CRASH1_3794
37@ = 1
return 

:CRASH1_3794
if 
  35@ == 1
goto_if_false @CRASH1_3903
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_3903
Camera.DoFade(400, Fade.Out)
Player.SetControl($statbike_temp, False)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 2500
gosub @CRASH1_26362
gosub @CRASH1_26452
341@ = 0
50@ = 1
gosub @CRASH1_32981
35@ += 1

:CRASH1_3903
if 
  35@ == 2
goto_if_false @CRASH1_4000
if 
  354@ == 1
goto_if_false @CRASH1_3953
35@ += 1
goto @CRASH1_4000

:CRASH1_3953
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_4000
gosub @CRASH1_23105
329@ = 1
352@ = 1
35@ += 1

:CRASH1_4000
if 
  35@ == 3
goto_if_false @CRASH1_4087
if 
  354@ == 1
goto_if_false @CRASH1_4050
35@ += 1
goto @CRASH1_4087

:CRASH1_4050
if and
  is_int_lvar_greater_than_int_lvar 45@ > 200@
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @CRASH1_4087
gosub @CRASH1_26665
35@ += 1

:CRASH1_4087
if 
  35@ == 4
goto_if_false @CRASH1_4229
if 
  354@ == 1
goto_if_false @CRASH1_4137
35@ += 1
goto @CRASH1_4229

:CRASH1_4137
if and
  Char.IsDead(94@)
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_4175
gosub @CRASH1_26924
35@ += 1

:CRASH1_4175
set_lvar_int_to_lvar_int 219@ = 200@
219@ += 8000
if and
  not Char.IsDead(94@)
  is_int_lvar_greater_than_int_lvar 45@ > 219@
goto_if_false @CRASH1_4229
gosub @CRASH1_26924
35@ += 1

:CRASH1_4229
if 
  35@ == 5
goto_if_false @CRASH1_4411
if 
  354@ == 1
goto_if_false @CRASH1_4279
35@ += 1
goto @CRASH1_4411

:CRASH1_4279
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_4411
if 
  Object.DoesExist(106@)
goto_if_false @CRASH1_4337
if 
  not Object.HasBeenDamaged(106@)
goto_if_false @CRASH1_4337
Object.Break(106@, 1)

:CRASH1_4337
197@ = 4
gosub @CRASH1_25459
335@ = 1
56@ = 0
gosub @CRASH1_33143
Text.PrintNow('CRA1_05', 4600, 1)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 4300
35@ += 1

:CRASH1_4411
if 
  35@ == 6
goto_if_false @CRASH1_4524
if 
  354@ == 1
goto_if_false @CRASH1_4461
35@ += 1
goto @CRASH1_4524

:CRASH1_4461
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_4524
Camera.DoFade(300, Fade.Out)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 1000
gosub @CRASH1_18650
gosub @CRASH1_23025
35@ += 1

:CRASH1_4524
if 
  35@ == 7
goto_if_false @CRASH1_4688
if 
  354@ == 1
goto_if_false @CRASH1_4574
35@ += 1
goto @CRASH1_4688

:CRASH1_4574
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_4688
gosub @CRASH1_26993
282@ = 2352.037
283@ = -1170.318
284@ = 26.9702
122@ = Blip.AddForCoord(282@, 283@, 284@)
192@ = 2
gosub @CRASH1_24873
Camera.DoFade(200, Fade.In)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 200
35@ += 1

:CRASH1_4688
if 
  35@ == 8
goto_if_false @CRASH1_4824
if 
  354@ == 1
goto_if_false @CRASH1_4738
35@ = 50
goto @CRASH1_4824

:CRASH1_4738
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_4824
329@ = 0
352@ = 0
Player.SetControl($statbike_temp, True)
gosub @CRASH1_28246
set_lvar_int_to_lvar_int 206@ = 45@
206@ += 9000
Text.Print('CRA1_06', 4000, 1)
35@ += 1

:CRASH1_4824
if 
  35@ == 9
goto_if_false @CRASH1_5086
if 
  314@ == 1
goto_if_false @CRASH1_5036
Blip.Remove(122@)
341@ = 0
206@ = 0
if 
  not Char.IsDead(95@)
goto_if_false @CRASH1_4968
Char.SetHasUsedEntryExit(95@, 2352.114, -1170.61, 8.0)
282@, 283@, 284@ = Char.GetCoordinates(95@)
284@ += 999.0
Char.SetCoordinates(95@, 282@, 283@, 284@)
131@ = Blip.AddForChar(95@)
Blip.SetAsFriendly(131@, True)

:CRASH1_4968
ScriptFire.Remove(138@)
192@ = 4
gosub @CRASH1_24873
197@ = 6
gosub @CRASH1_25459
gosub @CRASH1_26123
gosub @CRASH1_26184
gosub @CRASH1_40944
35@ = 99
goto @CRASH1_5086

:CRASH1_5036
213@ = 0

:CRASH1_5043
set_lvar_int_to_lvar_int 216@ = 213@
gosub @CRASH1_16525
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_5043
gosub @CRASH1_21168

:CRASH1_5086
if and
  352@ == 1
  Pad.IsSkipCutsceneButtonPressed
  354@ == 0
goto_if_false @CRASH1_5120
354@ = 1

:CRASH1_5120
if 
  35@ == 50
goto_if_false @CRASH1_5175
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 500
353@ = 1
35@ += 1

:CRASH1_5175
if 
  35@ == 51
goto_if_false @CRASH1_5249
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_5249
gosub @CRASH1_16094
Camera.DoFade(1500, Fade.In)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 1500
35@ += 1

:CRASH1_5249
if 
  35@ == 52
goto_if_false @CRASH1_5367
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_5367
353@ = 0
354@ = 0
329@ = 0
352@ = 0
Player.SetControl($statbike_temp, True)
gosub @CRASH1_28246
set_lvar_int_to_lvar_int 206@ = 45@
206@ += 9000
Text.Print('CRA1_06', 4000, 1)
35@ = 9

:CRASH1_5367
gosub @CRASH1_27063
if 
  353@ == 0
goto_if_false @CRASH1_5435
213@ = 0

:CRASH1_5399
set_lvar_int_to_lvar_int 216@ = 213@
gosub @CRASH1_16525
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_5399

:CRASH1_5435
if 
  353@ == 0
goto_if_false @CRASH1_5460
gosub @CRASH1_21168

:CRASH1_5460
if 
  337@ == 1
goto_if_false @CRASH1_5485
gosub @CRASH1_28317

:CRASH1_5485
if 
  206@ > 0
goto_if_false @CRASH1_5536
if 
  is_int_lvar_greater_than_int_lvar 45@ > 206@
goto_if_false @CRASH1_5536
206@ = 0
341@ = 1

:CRASH1_5536
if 
  347@ == 1
goto_if_false @CRASH1_5602
World.ClearArea(2345.907, -1171.659, 30.9688, 1.5, False)
World.ClearArea(2345.907, -1171.659, 1030.969, 1.5, False)

:CRASH1_5602
if and
  not is_local_var_bit_set_const 54@ {n} 3
  341@ == 1
goto_if_false @CRASH1_5793
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2340.262, -1170.539, 24.9859, 2351.095, -1164.287, 28.2183, False)
goto_if_false @CRASH1_5793
if or
  49@ == 2
  49@ == 1
goto_if_false @CRASH1_5727
if 
  48@ == 2
goto_if_false @CRASH1_5720
return 

:CRASH1_5720
gosub @CRASH1_33172

:CRASH1_5727
if 
  49@ == 0
goto_if_false @CRASH1_5761
50@ = 3
gosub @CRASH1_32981
return 

:CRASH1_5761
if and
  49@ == 3
  48@ <> 2
goto_if_false @CRASH1_5793
gosub @CRASH1_33143

:CRASH1_5793
if 
  348@ == 1
goto_if_false @CRASH1_5887
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2337.666, -1180.994, 31.7513, 48.1099, 41.5599, 18.75, False)
goto_if_false @CRASH1_5880
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
348@ = 0

:CRASH1_5880
goto @CRASH1_5956

:CRASH1_5887
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2337.666, -1180.994, 31.7513, 38.1099, 31.5599, 8.75, False)
goto_if_false @CRASH1_5956
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
348@ = 1

:CRASH1_5956
if 
  35@ == 99
goto_if_false @CRASH1_5981
gosub @CRASH1_38827

:CRASH1_5981
return 

:CRASH1_5983
if 
  35@ == 0
goto_if_false @CRASH1_6083
gosub @CRASH1_28623
327@ = 0
330@ = 0
352@ = 0
353@ = 0
354@ = 0
338@ = 0
339@ = 0
350@ = 0
190@ = -1
Streaming.MarkModelAsNoLongerNeeded(#CR_AMMOBOX)
35@ += 1

:CRASH1_6083
if 
  Char.IsDead(95@)
goto_if_false @CRASH1_6108
37@ = 1
return 

:CRASH1_6108
if 
  35@ == 1
goto_if_false @CRASH1_6133
35@ += 1

:CRASH1_6133
if 
  35@ == 2
goto_if_false @CRASH1_6513
289@ = 2344.751
289@ -= 1.5
291@ = -1181.161
291@ -= 1.5
293@ = 1030.961
293@ -= 0.5
290@ = 2344.751
290@ += 1.5
292@ = -1181.161
292@ += 1.5
294@ = 1030.961
294@ += 1.5
if 
  Char.IsInArea3D($stattreadstamina_ctr, 289@, 291@, 293@, 290@, 292@, 294@, False)
goto_if_false @CRASH1_6513
Blip.Remove(131@)
347@ = 0
Char.SetProofs(95@, False, False, False, False, False)
350@ = 1
if 
  not Pickup.HasBeenCollected(135@)
goto_if_false @CRASH1_6506
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 550
Player.SetControl($statbike_temp, False)
285@ = 180.0
Char.SetHeading(95@, 285@)
282@, 283@, 284@ = Char.GetCoordinates(95@)
284@ = 1030.969
Char.SetCoordinates(95@, 282@, 283@, 284@)
211@ = 99
201@ = 0
330@ = 1
352@ = 1
gosub @CRASH1_33172
50@ = 5
gosub @CRASH1_32981
35@ += 1
goto @CRASH1_6513

:CRASH1_6506
35@ = 10

:CRASH1_6513
if 
  35@ == 3
goto_if_false @CRASH1_6679
if 
  354@ == 1
goto_if_false @CRASH1_6563
35@ += 1
goto @CRASH1_6679

:CRASH1_6563
if 
  49@ <> 5
goto_if_false @CRASH1_6595
50@ = 5
gosub @CRASH1_32981

:CRASH1_6595
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_6679
122@ = Blip.AddForPickup(135@)
Blip.SetEntryExit(122@, 2352.114, -1170.61, 3.0)
gosub @CRASH1_28934
Camera.DoFade(500, Fade.In)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 550
35@ += 1

:CRASH1_6679
if 
  35@ == 4
goto_if_false @CRASH1_6801
if 
  354@ == 1
goto_if_false @CRASH1_6729
35@ += 1
goto @CRASH1_6801

:CRASH1_6729
if 
  49@ <> 5
goto_if_false @CRASH1_6761
50@ = 5
gosub @CRASH1_32981

:CRASH1_6761
if and
  is_int_lvar_greater_than_int_lvar 45@ > 200@
  49@ == 5
goto_if_false @CRASH1_6801
gosub @CRASH1_33143
35@ += 1

:CRASH1_6801
if 
  35@ == 5
goto_if_false @CRASH1_6876
if 
  354@ == 1
goto_if_false @CRASH1_6851
35@ += 1
goto @CRASH1_6876

:CRASH1_6851
if 
  is_local_var_bit_set_const 54@ {n} 5
goto_if_false @CRASH1_6876
35@ += 1

:CRASH1_6876
if 
  35@ == 6
goto_if_false @CRASH1_6972
if 
  354@ == 1
goto_if_false @CRASH1_6926
35@ += 1
goto @CRASH1_6972

:CRASH1_6926
if 
  49@ <> 6
goto_if_false @CRASH1_6965
50@ = 6
gosub @CRASH1_32981
goto @CRASH1_6972

:CRASH1_6965
35@ += 1

:CRASH1_6972
if 
  35@ == 7
goto_if_false @CRASH1_7087
if 
  354@ == 1
goto_if_false @CRASH1_7022
35@ += 1
goto @CRASH1_7087

:CRASH1_7022
Camera.SetFixedPosition(2329.68, -1172.025, 1030.137, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2328.868, -1172.534, 1029.854, SwitchType.JumpCut)
gosub @CRASH1_33143
35@ += 1

:CRASH1_7087
if 
  35@ == 8
goto_if_false @CRASH1_7198
if 
  354@ == 1
goto_if_false @CRASH1_7137
35@ = 50
goto @CRASH1_7198

:CRASH1_7137
if 
  is_local_var_bit_set_const 54@ {n} 6
goto_if_false @CRASH1_7198
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
330@ = 0
352@ = 0
35@ += 1

:CRASH1_7198
if 
  35@ == 9
goto_if_false @CRASH1_7262
50@ = 7
gosub @CRASH1_32981
if 
  49@ == 7
goto_if_false @CRASH1_7262
gosub @CRASH1_33143
35@ += 1

:CRASH1_7262
if 
  35@ == 10
goto_if_false @CRASH1_7362
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Extinguisher)
goto_if_false @CRASH1_7362
Blip.Remove(122@)
if 
  not Char.IsDead(95@)
goto_if_false @CRASH1_7334
131@ = Blip.AddForChar(95@)
Blip.SetAsFriendly(131@, True)

:CRASH1_7334
gosub @CRASH1_33172
50@ = 8
gosub @CRASH1_32981
35@ += 1

:CRASH1_7362
if 
  35@ == 11
goto_if_false @CRASH1_7679
289@ = 2344.751
289@ -= 1.5
291@ = -1181.161
291@ -= 1.5
293@ = 1030.961
293@ -= 0.5
290@ = 2344.751
290@ += 1.5
292@ = -1181.161
292@ += 1.5
294@ = 1030.961
294@ += 1.5
if 
  Char.IsInArea3D($stattreadstamina_ctr, 289@, 291@, 293@, 290@, 292@, 294@, False)
goto_if_false @CRASH1_7679
if 
  49@ <> 8
goto_if_false @CRASH1_7568
50@ = 8
gosub @CRASH1_32981

:CRASH1_7568
if 
  49@ == 8
goto_if_false @CRASH1_7679
gosub @CRASH1_33143
285@ = 180.0
Char.SetHeading(95@, 285@)
282@, 283@, 284@ = Char.GetCoordinates(95@)
284@ = 1030.969
Char.SetCoordinates(95@, 282@, 283@, 284@)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 3000
211@ = 99
35@ += 1

:CRASH1_7679
if 
  35@ == 12
goto_if_false @CRASH1_7802
if 
  200@ > 0
goto_if_false @CRASH1_7752
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_7752
200@ = 0
Text.PrintHelp('CRA1_35')

:CRASH1_7752
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 95@, 6.0, 6.0, 1.0, False)
goto_if_false @CRASH1_7802
Char.SetHealth(95@, 100)
35@ = 99

:CRASH1_7802
if and
  352@ == 1
  Pad.IsSkipCutsceneButtonPressed
  354@ == 0
goto_if_false @CRASH1_7836
354@ = 1

:CRASH1_7836
if 
  35@ == 50
goto_if_false @CRASH1_7918
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
211@ = 0
353@ = 0
354@ = 0
330@ = 0
352@ = 0
35@ = 10

:CRASH1_7918
gosub @CRASH1_27063
gosub @CRASH1_28317
if and
  314@ == 0
  315@ == 1
goto_if_false @CRASH1_7971
338@ = 1
315@ = 0

:CRASH1_7971
if 
  338@ == 1
goto_if_false @CRASH1_8016
if 
  Camera.GetFadingStatus
goto_if_false @CRASH1_8016
338@ = 0
339@ = 1

:CRASH1_8016
if 
  339@ == 1
goto_if_false @CRASH1_8070
if 
  not Camera.GetFadingStatus
goto_if_false @CRASH1_8070
339@ = 0
Text.PrintNow('CRA1_10', 5000, 1)

:CRASH1_8070
World.ClearArea(255@, 256@, 257@, 3.0, False)
if 
  327@ == 0
goto_if_false @CRASH1_8158
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Extinguisher)
goto_if_false @CRASH1_8158
327@ = 1
Text.PrintNow('CRA1_09', 4000, 1)
Text.PrintHelp('FIRE_EX')

:CRASH1_8158
if 
  347@ == 1
goto_if_false @CRASH1_8224
World.ClearArea(2345.907, -1171.659, 30.9688, 1.5, False)
World.ClearArea(2345.907, -1171.659, 1030.969, 1.5, False)

:CRASH1_8224
if 
  314@ == 0
goto_if_false @CRASH1_8405
if 
  348@ == 1
goto_if_false @CRASH1_8336
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2337.666, -1180.994, 31.7513, 48.1099, 41.5599, 18.75, False)
goto_if_false @CRASH1_8329
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
348@ = 0

:CRASH1_8329
goto @CRASH1_8405

:CRASH1_8336
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2337.666, -1180.994, 31.7513, 38.1099, 31.5599, 8.75, False)
goto_if_false @CRASH1_8405
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
348@ = 1

:CRASH1_8405
if 
  35@ == 99
goto_if_false @CRASH1_8430
gosub @CRASH1_38827

:CRASH1_8430
return 

:CRASH1_8432
if 
  35@ == 0
goto_if_false @CRASH1_8840
346@ = 1
if 
  ScriptFire.IsExtinguished(163@)
goto_if_false @CRASH1_8480
346@ = 0

:CRASH1_8480
Player.SetControl($statbike_temp, False)
gosub @CRASH1_29056
Streaming.MarkModelAsNoLongerNeeded(109)
if 
  not Car.IsDead(98@)
goto_if_false @CRASH1_8526
Car.OpenDoorABit(98@, CarDoor.Hood, 0.0)

:CRASH1_8526
322@ = 0
196@ = 0
192@ = 3
gosub @CRASH1_24873
Hud.ClearCounter($6698)
194@ = 3
195@ = 3
282@ = 2319.717
283@ = -1178.556
284@ = 1030.969
122@ = Blip.AddForCoord(282@, 283@, 284@)
Blip.SetEntryExit(122@, 2352.114, -1170.61, 3.0)
324@ = 1
352@ = 0
353@ = 0
354@ = 0
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 6602)
Char.FreezePosition(95@, False)
Task.GoStraightToCoord(95@, 2345.627, -1175.844, 1030.969, MoveState.Run, -2)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 95@)
Camera.SetFixedPosition(2349.768, -1177.159, 1031.791, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2348.849, -1176.765, 1031.828, SwitchType.JumpCut)
if 
  346@ == 1
goto_if_false @CRASH1_8794
192@ = 4
gosub @CRASH1_24873

:CRASH1_8794
191@ = 1
gosub @CRASH1_24064
Hud.SwitchWidescreen(True)
352@ = 1
353@ = 0
354@ = 0
35@ += 1

:CRASH1_8840
if 
  35@ == 1
goto_if_false @CRASH1_8952
if 
  354@ == 1
goto_if_false @CRASH1_8890
35@ += 1
goto @CRASH1_8952

:CRASH1_8890
50@ = 9
gosub @CRASH1_32981
if 
  49@ == 9
goto_if_false @CRASH1_8952
gosub @CRASH1_33143
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 500
35@ += 1

:CRASH1_8952
if 
  35@ == 2
goto_if_false @CRASH1_9073
if 
  354@ == 1
goto_if_false @CRASH1_9002
35@ += 1
goto @CRASH1_9073

:CRASH1_9002
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_9073
40@ = Char.GetScriptTaskStatus(95@, 1491)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_9073
Task.TurnCharToFaceChar($stattreadstamina_ctr, 95@)
Task.TurnCharToFaceChar(95@, $stattreadstamina_ctr)
35@ += 1

:CRASH1_9073
if 
  35@ == 3
goto_if_false @CRASH1_9178
if 
  354@ == 1
goto_if_false @CRASH1_9123
35@ += 1
goto @CRASH1_9178

:CRASH1_9123
if and
  is_local_var_bit_set_const 54@ {n} 9
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @CRASH1_9178
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
193@ = 1
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 100
35@ += 1

:CRASH1_9178
if 
  35@ == 4
goto_if_false @CRASH1_9319
if 
  354@ == 1
goto_if_false @CRASH1_9228
35@ += 1
goto @CRASH1_9319

:CRASH1_9228
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_9319
Camera.SetFixedPosition(2347.942, -1179.954, 1031.858, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2346.95, -1179.89, 1031.961, SwitchType.JumpCut)
50@ = 10
gosub @CRASH1_32981
35@ += 1

:CRASH1_9319
if 
  35@ == 5
goto_if_false @CRASH1_9450
if 
  354@ == 1
goto_if_false @CRASH1_9369
35@ += 1
goto @CRASH1_9450

:CRASH1_9369
if 
  49@ <> 10
goto_if_false @CRASH1_9401
50@ = 10
gosub @CRASH1_32981

:CRASH1_9401
Camera.Shake(40)
if and
  193@ == 5
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @CRASH1_9450
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 500
35@ += 1

:CRASH1_9450
if 
  35@ == 6
goto_if_false @CRASH1_9639
if 
  354@ == 1
goto_if_false @CRASH1_9500
35@ += 1
goto @CRASH1_9639

:CRASH1_9500
if 
  49@ <> 10
goto_if_false @CRASH1_9532
50@ = 10
gosub @CRASH1_32981

:CRASH1_9532
if and
  is_int_lvar_greater_than_int_lvar 45@ > 200@
  49@ == 10
goto_if_false @CRASH1_9639
Camera.SetFixedPosition(2348.495, -1176.45, 1031.486, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2347.538, -1176.732, 1031.558, SwitchType.JumpCut)
gosub @CRASH1_33143
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 3000
35@ += 1

:CRASH1_9639
if 
  35@ == 7
goto_if_false @CRASH1_9757
if 
  354@ == 1
goto_if_false @CRASH1_9689
35@ += 1
goto @CRASH1_9757

:CRASH1_9689
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_9757
if 
  346@ == 0
goto_if_false @CRASH1_9750
Task.GoStraightToCoord($stattreadstamina_ctr, 2344.738, -1180.853, 1030.977, MoveState.Walk, -2)

:CRASH1_9750
35@ += 1

:CRASH1_9757
if 
  35@ == 8
goto_if_false @CRASH1_9854
if 
  354@ == 1
goto_if_false @CRASH1_9807
35@ = 50
goto @CRASH1_9854

:CRASH1_9807
if 
  is_local_var_bit_set_const 54@ {n} 10
goto_if_false @CRASH1_9854
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
352@ = 0
35@ += 1

:CRASH1_9854
if 
  35@ == 9
goto_if_false @CRASH1_9879
35@ = 99

:CRASH1_9879
if and
  352@ == 1
  Pad.IsSkipCutsceneButtonPressed
  354@ == 0
goto_if_false @CRASH1_9913
354@ = 1

:CRASH1_9913
if 
  35@ == 50
goto_if_false @CRASH1_9968
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 500
353@ = 1
35@ += 1

:CRASH1_9968
if 
  35@ == 51
goto_if_false @CRASH1_10192
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_10192
if 
  not is_local_var_bit_set_const 54@ {n} 9
goto_if_false @CRASH1_10037
gosub @CRASH1_33172
set_local_var_bit_const 54@ {n} 10

:CRASH1_10037
if 
  not is_local_var_bit_set_const 54@ {n} 10
goto_if_false @CRASH1_10062
gosub @CRASH1_33172

:CRASH1_10062
if 
  5 > 193@
goto_if_false @CRASH1_10147
if 
  Object.IsPlayingAnim(119@, "BD_FIRE1")
goto_if_false @CRASH1_10140
Object.SetAnimCurrentTime(119@, "BD_FIRE1", 1.0)
193@ = 3
goto @CRASH1_10147

:CRASH1_10140
193@ = 4

:CRASH1_10147
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Camera.DoFade(1500, Fade.In)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 1500
35@ += 1

:CRASH1_10192
if 
  35@ == 52
goto_if_false @CRASH1_10257
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_10257
353@ = 0
354@ = 0
352@ = 0
35@ = 9

:CRASH1_10257
gosub @CRASH1_31027
if 
  35@ == 99
goto_if_false @CRASH1_10289
gosub @CRASH1_38827

:CRASH1_10289
return 

:CRASH1_10291
if 
  Char.IsDead(95@)
goto_if_false @CRASH1_10316
37@ = 1
return 

:CRASH1_10316
if 
  35@ == 0
goto_if_false @CRASH1_10369
352@ = 0
353@ = 0
354@ = 0
331@ = 0
35@ += 1

:CRASH1_10369
if 
  35@ == 1
goto_if_false @CRASH1_10394
35@ += 1

:CRASH1_10394
if 
  35@ == 2
goto_if_false @CRASH1_10419
35@ += 1

:CRASH1_10419
if 
  35@ == 3
goto_if_false @CRASH1_10476
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 5000
set_lvar_int_to_lvar_int 207@ = 200@
207@ -= 3000
35@ += 1

:CRASH1_10476
if 
  35@ == 4
goto_if_false @CRASH1_10595
if 
  207@ <> 0
goto_if_false @CRASH1_10545
if 
  is_int_lvar_greater_than_int_lvar 45@ > 207@
goto_if_false @CRASH1_10545
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 6600)
207@ = 0

:CRASH1_10545
if and
  is_int_lvar_greater_than_int_lvar 45@ > 200@
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @CRASH1_10595
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 2000
35@ += 1

:CRASH1_10595
if 
  35@ == 5
goto_if_false @CRASH1_10682
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_10678
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 5000
set_lvar_int_to_lvar_int 207@ = 200@
207@ -= 3000
35@ += 1
goto @CRASH1_10682

:CRASH1_10678
Camera.Shake(80)

:CRASH1_10682
if 
  35@ == 6
goto_if_false @CRASH1_10801
if 
  207@ <> 0
goto_if_false @CRASH1_10751
if 
  is_int_lvar_greater_than_int_lvar 45@ > 207@
goto_if_false @CRASH1_10751
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 6601)
207@ = 0

:CRASH1_10751
if and
  is_int_lvar_greater_than_int_lvar 45@ > 200@
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @CRASH1_10801
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 1500
35@ += 1

:CRASH1_10801
if 
  35@ == 7
goto_if_false @CRASH1_10856
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_10852
35@ += 1
goto @CRASH1_10856

:CRASH1_10852
Camera.Shake(40)

:CRASH1_10856
if 
  35@ == 8
goto_if_false @CRASH1_11024
if 
  322@ == 1
goto_if_false @CRASH1_11024
World.ClearArea(2351.762, -1178.75, 26.9753, 15.0, True)
Char.SetCoordinates(95@, 2352.262, -1176.75, 26.9753)
Char.SetHeading(95@, 0.0)
Char.SetHasUsedEntryExit(95@, 2352.114, -1170.61, 8.0)
Char.SetAreaVisible(95@, 0)
Char.ClearTasksImmediately(95@)
World.SwitchEntryExit('GANG', False)
Blip.Remove(122@)
gosub @CRASH1_33172
50@ = 12
gosub @CRASH1_32981
35@ += 1

:CRASH1_11024
if 
  35@ == 9
goto_if_false @CRASH1_11274
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
Camera.SetFixedPosition(2354.589, -1166.262, 27.87, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2353.826, -1166.89, 28.0181, SwitchType.JumpCut)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
220@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2351.97, -1169.26, 27.013, MoveState.Walk, -2)
Task.AchieveHeading(-1, 180.0)
Sequence.Close(220@)
Char.PerformSequence($stattreadstamina_ctr, 220@)
Sequence.Clear(220@)
220@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2351.97, -1170.26, 27.013, MoveState.Run, -2)
Task.AchieveHeading(-1, 0.0)
Sequence.Close(220@)
Char.PerformSequence(95@, 220@)
Sequence.Clear(220@)
Streaming.RequestModel(407)
Streaming.RequestModel(277)
Streaming.LoadAllModelsNow
331@ = 1
352@ = 1
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 500
35@ += 1

:CRASH1_11274
if 
  35@ == 10
goto_if_false @CRASH1_11456
if 
  354@ == 1
goto_if_false @CRASH1_11324
35@ = 50
goto @CRASH1_11456

:CRASH1_11324
if 
  49@ <> 12
goto_if_false @CRASH1_11356
50@ = 12
gosub @CRASH1_32981

:CRASH1_11356
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_11456
if 
  49@ == 12
goto_if_false @CRASH1_11456
40@ = Char.GetScriptTaskStatus(95@, -1)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_11456
40@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, -1)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_11456
35@ += 1

:CRASH1_11456
if 
  35@ == 11
goto_if_false @CRASH1_11675
if 
  354@ == 1
goto_if_false @CRASH1_11506
35@ = 50
goto @CRASH1_11675

:CRASH1_11506
Task.CharSlideToCoordAndPlayAnim(95@, 2351.97, -1170.26, 27.013, 0.0, 0.2, "GRLFRD_KISS_03", "BD_FIRE", 4.0, False, False, False, False, -1)
Task.CharSlideToCoordAndPlayAnim($stattreadstamina_ctr, 2351.97, -1169.26, 27.013, 180.0, 0.2, "PLAYA_KISS_03", "BD_FIRE", 4.0, False, False, False, False, -1)
gosub @CRASH1_33143
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 1000
35@ += 1

:CRASH1_11675
if 
  35@ == 12
goto_if_false @CRASH1_11871
if 
  354@ == 1
goto_if_false @CRASH1_11725
35@ = 50
goto @CRASH1_11871

:CRASH1_11725
if and
  not Char.IsPlayingAnim(95@, "GRLFRD_KISS_03")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_03")
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_11871
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, 95@)
Char.SetNeverLeavesGroup(95@, True)
Char.ListenToPlayerGroupCommands(95@, False)
Task.FollowFootsteps(95@, $stattreadstamina_ctr)
Player.SetGroupToFollowAlways($statbike_temp, True)
331@ = 0
352@ = 0
World.ClearAllScriptFireFlags
35@ += 1

:CRASH1_11871
if 
  35@ == 13
goto_if_false @CRASH1_11917
if and
  Streaming.HasModelLoaded(407)
  Streaming.HasModelLoaded(277)
goto_if_false @CRASH1_11917
35@ = 99

:CRASH1_11917
if and
  352@ == 1
  Pad.IsSkipCutsceneButtonPressed
  354@ == 0
goto_if_false @CRASH1_11951
354@ = 1

:CRASH1_11951
if 
  35@ == 50
goto_if_false @CRASH1_12161
if 
  Char.IsPlayingAnim(95@, "GRLFRD_KISS_03")
goto_if_false @CRASH1_12027
Char.SetAnimCurrentTime(95@, "GRLFRD_KISS_03", 1.0)

:CRASH1_12027
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_03")
goto_if_false @CRASH1_12083
Char.SetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_03", 1.0)

:CRASH1_12083
if 
  not is_local_var_bit_set_const 54@ {n} 12
goto_if_false @CRASH1_12108
gosub @CRASH1_33172

:CRASH1_12108
Char.ClearTasksImmediately(95@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
set_lvar_int_to_lvar_int 200@ = 45@
353@ = 0
354@ = 0
331@ = 0
352@ = 0
35@ = 12

:CRASH1_12161
if 
  331@ == 0
goto_if_false @CRASH1_12186
gosub @CRASH1_29132

:CRASH1_12186
gosub @CRASH1_31027
gosub @CRASH1_31470
gosub @CRASH1_31657
289@ = 2319.994
289@ -= 1.5
291@ = -1179.218
291@ -= 1.5
293@ = 1030.977
293@ -= 1.2
290@ = 2319.994
290@ += 1.5
292@ = -1179.218
292@ += 1.5
294@ = 1030.977
294@ += 1.2
if and
  Char.IsInArea3D($stattreadstamina_ctr, 289@, 291@, 293@, 290@, 292@, 294@, False)
  324@ == 1
goto_if_false @CRASH1_12446
Blip.Remove(122@)
282@ = 2353.085
283@ = -1181.1
284@ = 1026.97
122@ = Blip.AddForCoord(282@, 283@, 284@)
Blip.SetEntryExit(122@, 2352.114, -1170.61, 3.0)
324@ = 0

:CRASH1_12446
World.ClearArea(255@, 256@, 257@, 3.0, False)
if and
  314@ == 0
  315@ == 1
goto_if_false @CRASH1_12536
315@ = 0
Player.SetControl($statbike_temp, False)
Char.RemoveFromGroup(95@)
Task.StandStill(95@, -2)
Char.FreezePosition(95@, True)
323@ = 1
336@ = 0

:CRASH1_12536
if and
  314@ == 0
  323@ == 1
goto_if_false @CRASH1_12765
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2351.575, -1166.19, 26.4524, 4.0, 4.0, 4.0, False)
goto_if_false @CRASH1_12765
if 
  not Camera.GetFadingStatus
goto_if_false @CRASH1_12765
if or
  Char.IsInArea3D(95@, 2340.097, -1188.51, 1025.577, 2352.977, -1179.882, 1028.184, False)
  Char.IsInArea3D(95@, 2344.22, -1179.892, 1025.577, 2349.831, -1171.664, 1028.184, False)
goto_if_false @CRASH1_12735
322@ = 1
323@ = 0
Char.FreezePosition(95@, False)
goto @CRASH1_12765

:CRASH1_12735
Text.PrintNow('CRA1_10', 8000, 1)
Player.SetControl($statbike_temp, True)
336@ = 1

:CRASH1_12765
if and
  314@ == 1
  336@ == 1
goto_if_false @CRASH1_12844
336@ = 0
Char.FreezePosition(95@, False)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, 95@)
Char.SetNeverLeavesGroup(95@, True)
Char.ListenToPlayerGroupCommands(95@, False)
Player.SetGroupToFollowAlways($statbike_temp, True)
190@ = 2

:CRASH1_12844
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Extinguisher)
goto_if_false @CRASH1_12901
214@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Extinguisher)
if 
  500 > 214@
goto_if_false @CRASH1_12901
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Extinguisher, 30000)

:CRASH1_12901
if 
  342@ == 1
goto_if_false @CRASH1_12972
clear_local_var_bit_const 54@ {n} 11
50@ = 11
gosub @CRASH1_32981
if 
  49@ == 11
goto_if_false @CRASH1_12972
gosub @CRASH1_33143
342@ = 0

:CRASH1_12972
if 
  314@ == 0
goto_if_false @CRASH1_13153
if 
  348@ == 1
goto_if_false @CRASH1_13084
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2337.666, -1180.994, 31.7513, 48.1099, 41.5599, 18.75, False)
goto_if_false @CRASH1_13077
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
348@ = 0

:CRASH1_13077
goto @CRASH1_13153

:CRASH1_13084
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2337.666, -1180.994, 31.7513, 38.1099, 31.5599, 8.75, False)
goto_if_false @CRASH1_13153
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
348@ = 1

:CRASH1_13153
if 
  35@ == 99
goto_if_false @CRASH1_13178
gosub @CRASH1_38827

:CRASH1_13178
return 

:CRASH1_13180
if 
  35@ == 0
goto_if_false @CRASH1_13324
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
gosub @CRASH1_31844
258@ = 2402.307
259@ = -1727.53
260@ = 12.3906
122@ = Blip.AddForCoord(258@, 259@, 260@)
Blip.Remove(131@)
325@ = 0
326@ = 0
336@ = 0
50@ = 13
gosub @CRASH1_32981
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech(95@, True)
35@ += 1

:CRASH1_13324
if 
  Char.IsDead(95@)
goto_if_false @CRASH1_13367
if 
  326@ == 0
goto_if_false @CRASH1_13367
37@ = 1
return 

:CRASH1_13367
if 
  35@ == 1
goto_if_false @CRASH1_13449
if 
  49@ <> 13
goto_if_false @CRASH1_13417
50@ = 13
gosub @CRASH1_32981

:CRASH1_13417
if 
  49@ == 13
goto_if_false @CRASH1_13449
gosub @CRASH1_33143
35@ += 1

:CRASH1_13449
if 
  35@ == 2
goto_if_false @CRASH1_13773
351@ = 0
if 
  Char.LocateAnyMeans3D(95@, 258@, 259@, 260@, 3.0, 3.0, 3.0, True)
goto_if_false @CRASH1_13580
351@ = 1
Player.SetControl($statbike_temp, False)
if 
  Char.IsInAnyCar(95@)
goto_if_false @CRASH1_13580
$stealth_help_flag = Char.StoreCarIsInNoSave(95@)
if 
  not Char.IsInCar($stattreadstamina_ctr, $stealth_help_flag)
goto_if_false @CRASH1_13580
351@ = 0

:CRASH1_13580
if 
  351@ == 1
goto_if_false @CRASH1_13773
Char.RemoveFromGroup(95@)
Blip.Remove(122@)
Blip.Remove(131@)
326@ = 1
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
World.ClearArea(2401.52, -1722.074, 12.6072, 8.0, True)
if 
  Char.IsInAnyCar(95@)
goto_if_false @CRASH1_13715
$stealth_help_flag = Char.StoreCarIsInNoSave(95@)
282@, 283@, 284@ = Car.GetCoordinates($stealth_help_flag)
World.ClearArea(282@, 283@, 284@, 5.0, True)

:CRASH1_13715
Camera.SetFixedPosition(2392.542, -1727.949, 14.991, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2393.458, -1727.558, 14.9067, SwitchType.JumpCut)
35@ += 1

:CRASH1_13773
if 
  35@ == 3
goto_if_false @CRASH1_13861
50@ = 16
gosub @CRASH1_32981
if 
  49@ == 16
goto_if_false @CRASH1_13861
gosub @CRASH1_33143
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CRASH1_13854
Task.TurnCharToFaceChar($stattreadstamina_ctr, 95@)

:CRASH1_13854
35@ += 1

:CRASH1_13861
if 
  35@ == 4
goto_if_false @CRASH1_13904
if 
  is_local_var_bit_set_const 54@ {n} 16
goto_if_false @CRASH1_13904
35@ += 1

:CRASH1_13904
if 
  35@ == 5
goto_if_false @CRASH1_13968
50@ = 17
gosub @CRASH1_32981
if 
  49@ == 17
goto_if_false @CRASH1_13968
gosub @CRASH1_33143
35@ += 1

:CRASH1_13968
if 
  35@ == 6
goto_if_false @CRASH1_14028
if 
  Char.IsInAnyCar(95@)
goto_if_false @CRASH1_14021
Task.LeaveAnyCar(95@)
35@ += 1
goto @CRASH1_14028

:CRASH1_14021
35@ = 8

:CRASH1_14028
if 
  35@ == 7
goto_if_false @CRASH1_14082
40@ = Char.GetScriptTaskStatus(95@, 1587)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_14082
35@ += 1

:CRASH1_14082
if 
  35@ == 8
goto_if_false @CRASH1_14155
Task.GoStraightToCoord(95@, 2402.052, -1719.716, 12.6181, MoveState.Run, -2)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CRASH1_14148
Task.TurnCharToFaceChar($stattreadstamina_ctr, 95@)

:CRASH1_14148
35@ += 1

:CRASH1_14155
if 
  35@ == 9
goto_if_false @CRASH1_14400
40@ = Char.GetScriptTaskStatus(95@, 1491)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_14400
282@, 283@, 284@ = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_lvar_float 290@ = 282@
set_lvar_float_to_lvar_float 292@ = 283@
282@, 283@, 284@ = Char.GetCoordinates(95@)
set_lvar_float_to_lvar_float 289@ = 282@
set_lvar_float_to_lvar_float 291@ = 283@
set_lvar_float_to_lvar_float 282@ = 289@
sub_float_lvar_from_float_lvar 282@ -= 290@
set_lvar_float_to_lvar_float 283@ = 291@
sub_float_lvar_from_float_lvar 283@ -= 292@
285@ = Math.GetHeadingFromVector2D(282@, 283@)
Task.CharSlideToCoordAndPlayAnim(95@, 2402.052, -1719.716, 12.6181, 285@, 0.2, "BD_GF_WAVE", "BD_FIRE", 4.0, False, False, False, False, -1)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CRASH1_14393
Task.TurnCharToFaceChar($stattreadstamina_ctr, 95@)

:CRASH1_14393
35@ += 1

:CRASH1_14400
if 
  35@ == 10
goto_if_false @CRASH1_14464
50@ = 18
gosub @CRASH1_32981
if 
  49@ == 18
goto_if_false @CRASH1_14464
gosub @CRASH1_33143
35@ += 1

:CRASH1_14464
if 
  35@ == 11
goto_if_false @CRASH1_14582
if 
  Char.IsPlayingAnim(95@, "BD_GF_WAVE")
goto_if_false @CRASH1_14582
295@ = Char.GetAnimCurrentTime(95@, "BD_GF_WAVE")
if 
  295@ == 1.0
goto_if_false @CRASH1_14582
Task.GoStraightToCoord(95@, 2401.857, -1717.01, 12.6334, MoveState.Run, -2)
35@ += 1

:CRASH1_14582
if 
  35@ == 12
goto_if_false @CRASH1_14656
40@ = Char.GetScriptTaskStatus(95@, 1491)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_14656
Char.Delete(95@)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
35@ += 1

:CRASH1_14656
if 
  35@ == 13
goto_if_false @CRASH1_14699
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetAllCarsCanBeDamaged(True)
35@ = 99

:CRASH1_14699
if 
  326@ == 0
goto_if_false @CRASH1_14803
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CRASH1_14770
if 
  325@ == 0
goto_if_false @CRASH1_14763
325@ = 1
Char.ClearTasksImmediately(95@)

:CRASH1_14763
goto @CRASH1_14803

:CRASH1_14770
if 
  325@ == 1
goto_if_false @CRASH1_14803
325@ = 0
Task.FollowFootsteps(95@, $stattreadstamina_ctr)

:CRASH1_14803
if 
  not Char.IsDead(95@)
goto_if_false @CRASH1_15122
214@ = Char.GetAreaVisible($stattreadstamina_ctr)
215@ = Char.GetAreaVisible(95@)
if 
  is_int_lvar_equal_to_int_lvar 214@ == 215@
goto_if_false @CRASH1_15122
282@, 283@, 284@ = Char.GetCoordinates(95@)
286@, 287@, 288@ = Char.GetCoordinates($stattreadstamina_ctr)
296@ = Math.GetDistanceBetweenCoords3D(282@, 283@, 284@, 286@, 287@, 288@)
if 
  336@ == 1
goto_if_false @CRASH1_15041
if 
  20.0 > 296@
goto_if_false @CRASH1_15034
336@ = 0
Char.ClearTasks(95@)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, 95@)
Char.SetNeverLeavesGroup(95@, True)
Char.ListenToPlayerGroupCommands(95@, False)
Player.SetGroupToFollowAlways($statbike_temp, True)
if 
  325@ == 0
goto_if_false @CRASH1_15015
Task.FollowFootsteps(95@, $stattreadstamina_ctr)

:CRASH1_15015
122@ = Blip.AddForCoord(258@, 259@, 260@)
Blip.Remove(131@)

:CRASH1_15034
goto @CRASH1_15122

:CRASH1_15041
if 
  296@ > 50.0
goto_if_false @CRASH1_15122
336@ = 1
Text.PrintNow('CRA1_12', 7000, 1)
Char.RemoveFromGroup(95@)
Char.ClearTasksImmediately(95@)
Task.StandStill(95@, -2)
Blip.Remove(122@)
131@ = Blip.AddForChar(95@)
Blip.SetAsFriendly(131@, True)

:CRASH1_15122
if and
  not Char.IsDead(95@)
  326@ == 0
goto_if_false @CRASH1_15262
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar(95@)
goto_if_false @CRASH1_15262
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if and
  Char.IsInCar(95@, $stealth_help_flag)
  not Car.IsStopped($stealth_help_flag)
goto_if_false @CRASH1_15262
if and
  not is_local_var_bit_set_const 54@ {n} 14
  49@ == 0
goto_if_false @CRASH1_15262
50@ = 14
gosub @CRASH1_32981
if 
  49@ == 14
goto_if_false @CRASH1_15262
gosub @CRASH1_33143

:CRASH1_15262
if and
  not Char.IsDead(95@)
  326@ == 0
goto_if_false @CRASH1_15422
if and
  not is_local_var_bit_set_const 54@ {n} 15
  49@ <> 15
goto_if_false @CRASH1_15422
if 
  Char.LocateAnyMeans3D(95@, 258@, 259@, 260@, 30.0, 30.0, 20.0, False)
goto_if_false @CRASH1_15422
gosub @CRASH1_33172
50@ = 15
gosub @CRASH1_32981
if 
  49@ == 15
goto_if_false @CRASH1_15398
gosub @CRASH1_33143

:CRASH1_15398
World.ClearArea(2401.52, -1722.074, 12.6072, 8.0, True)

:CRASH1_15422
if 
  35@ == 99
goto_if_false @CRASH1_15447
gosub @CRASH1_38827

:CRASH1_15447
return 

:CRASH1_15449
if 
  35@ == 0
goto_if_false @CRASH1_15512
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Player.SetControl($statbike_temp, False)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 1000
35@ += 1

:CRASH1_15512
if 
  35@ == 1
goto_if_false @CRASH1_15587
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_15587
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 500
35@ += 1

:CRASH1_15587
if 
  35@ == 2
goto_if_false @CRASH1_15849
if and
  not Camera.GetFadingStatus
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_15849
if 
  314@ == 0
goto_if_false @CRASH1_15693
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CRASH1_15693
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2351.733, -1179.042, 26.9753)
Car.Delete($stealth_help_flag)

:CRASH1_15693
Streaming.SetAreaVisible(0)
World.ClearArea(2351.961, -1172.073, 26.9765, 8.0, True)
Streaming.LoadScene(2351.961, -1172.073, 26.9765)
Char.SetCoordinates($stattreadstamina_ctr, 2351.961, -1172.073, 26.9765)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Camera.SetFixedPosition(2345.044, -1170.015, 32.0063, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2345.8, -1169.822, 31.381, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 1000
35@ += 1

:CRASH1_15849
if 
  35@ == 3
goto_if_false @CRASH1_15940
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_15940
Camera.DoFade(500, Fade.In)
Task.GoStraightToCoord($stattreadstamina_ctr, 2351.928, -1166.08, 26.4593, MoveState.Run, -2)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 500
35@ += 1

:CRASH1_15940
if 
  35@ == 4
goto_if_false @CRASH1_16045
if 
  is_int_lvar_greater_than_int_lvar 45@ > 200@
goto_if_false @CRASH1_16045
40@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1491)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_16045
Char.SetCoordinates($stattreadstamina_ctr, 2351.928, -1166.08, 26.4593)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetBehindPlayer
35@ = 99

:CRASH1_16045
if 
  35@ == 99
goto_if_false @CRASH1_16092
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Player.SetControl($statbike_temp, True)
gosub @CRASH1_38827

:CRASH1_16092
return 

:CRASH1_16094
if 
  334@ == 0
goto_if_false @CRASH1_16169
Object.SetProofs(114@, False, False, False, False, False)
Object.SetCollisionDamageEffect(114@, True)
Object.SetDynamic(114@, True)
Object.Break(114@, 1)
197@ = 0
gosub @CRASH1_25459
goto @CRASH1_16183

:CRASH1_16169
192@ = 2
gosub @CRASH1_24873

:CRASH1_16183
if 
  not Char.IsDead(94@)
goto_if_false @CRASH1_16244
Char.SetCoordinates(94@, 2352.181, -1164.893, 26.4392)
138@ = ScriptFire.CreateCharFire(94@)
Char.SetHealth(94@, 1)
Char.ClearTasksImmediately(94@)
Task.Die(94@)

:CRASH1_16244
if 
  Object.DoesExist(106@)
goto_if_false @CRASH1_16265
Object.Delete(106@)

:CRASH1_16265
if 
  335@ == 0
goto_if_false @CRASH1_16297
197@ = 4
gosub @CRASH1_25459

:CRASH1_16297
Blip.Remove(122@)
282@ = 2352.037
283@ = -1170.318
284@ = 26.9702
122@ = Blip.AddForCoord(282@, 283@, 284@)
gosub @CRASH1_26993
216@ = 0

:CRASH1_16360
if 
  not Char.IsDead(87@(216@,5i))
goto_if_false @CRASH1_16409
if 
  182@(216@,5i) == 6
goto_if_false @CRASH1_16409
gosub @CRASH1_18650

:CRASH1_16409
216@ += 1
  216@ >= 5
goto_if_false @CRASH1_16360
if 
  187@ == 5
goto_if_false @CRASH1_16455
gosub @CRASH1_23025

:CRASH1_16455
return 

:CRASH1_16457
282@ = 1785.698
283@ = -1222.105
284@ = 16.9119
214@ = 0
132@ = Pickup.CreateWithAmmo(344, PickupType.Once, 20, 282@, 283@, 284@)
128@ = Blip.AddForPickup(132@)
return 

:CRASH1_16525
if 
  Char.IsDead(87@(216@,5i))
goto_if_false @CRASH1_16554
299@ = 1
return 

:CRASH1_16554
switch_start 182@(216@,5i) {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @CRASH1_16802 {caseNum1} -1 {caseLabel1} @CRASH1_16686 {caseNum2} 0 {caseLabel2} @CRASH1_16711 {caseNum3} 1 {caseLabel3} @CRASH1_16725 {caseNum4} 2 {caseLabel4} @CRASH1_16739 {caseNum5} 3 {caseLabel5} @CRASH1_16753 {caseNum6} 4 {caseLabel6} @CRASH1_16760 {caseNum7} 5 {caseLabel7} @CRASH1_16774
switch_continued 6 {caseLabel1} @CRASH1_16788 {caseNum2} -1 {caseLabel2} @CRASH1_16802 {caseNum3} -1 {caseLabel3} @CRASH1_16802 {caseNum4} -1 {caseLabel4} @CRASH1_16802 {caseNum5} -1 {caseLabel5} @CRASH1_16802 {caseNum6} -1 {caseLabel6} @CRASH1_16802 {caseNum7} -1 {caseLabel7} @CRASH1_16802 {caseNum8} -1 {caseLabel8} @CRASH1_16802 {caseNum9} -1 {caseLabel9} @CRASH1_16802

:CRASH1_16686
gosub @CRASH1_16804
182@(216@,5i) = 0
goto @CRASH1_16802

:CRASH1_16711
gosub @CRASH1_17015
goto @CRASH1_16802

:CRASH1_16725
gosub @CRASH1_17569
goto @CRASH1_16802

:CRASH1_16739
gosub @CRASH1_18020
goto @CRASH1_16802

:CRASH1_16753
goto @CRASH1_16802

:CRASH1_16760
gosub @CRASH1_17664
goto @CRASH1_16802

:CRASH1_16774
gosub @CRASH1_18158
goto @CRASH1_16802

:CRASH1_16788
gosub @CRASH1_18210
goto @CRASH1_16802

:CRASH1_16802
return 

:CRASH1_16804
switch_start 216@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @CRASH1_16964 {caseNum1} 0 {caseLabel1} @CRASH1_16867 {caseNum2} 1 {caseLabel2} @CRASH1_16916 {caseNum3} -1 {caseLabel3} @CRASH1_17013 {caseNum4} -1 {caseLabel4} @CRASH1_17013 {caseNum5} -1 {caseLabel5} @CRASH1_17013 {caseNum6} -1 {caseLabel6} @CRASH1_17013 {caseNum7} -1 {caseLabel7} @CRASH1_17013

:CRASH1_16867
Task.PlayAnimNonInterruptable(87@(216@,5i), "WASH_UP", "BD_FIRE", 1.0, True, False, False, False, -1)
goto @CRASH1_17013

:CRASH1_16916
Task.PlayAnim(87@(216@,5i), "PHONE_TALK", "PED", 1.0, True, False, False, False, -1)
goto @CRASH1_17013

:CRASH1_16964
Task.PlayAnim(87@(216@,5i), "M_SMKLEAN_LOOP", "BD_FIRE", 1.0, True, False, False, False, -1)

:CRASH1_17013
return 

:CRASH1_17015
if 
  301@ == 1
goto_if_false @CRASH1_17042
gosub @CRASH1_17618
return 

:CRASH1_17042
if and
  332@ == 1
  333@ == 1
goto_if_false @CRASH1_17076
gosub @CRASH1_17618
return 

:CRASH1_17076
if 
  298@ == 1
goto_if_false @CRASH1_17103
gosub @CRASH1_17848
return 

:CRASH1_17103
if 
  299@ == 1
goto_if_false @CRASH1_17130
gosub @CRASH1_17618
return 

:CRASH1_17130
if 
  Char.HasBeenDamagedByChar(87@(216@,5i), $stattreadstamina_ctr)
goto_if_false @CRASH1_17169
gosub @CRASH1_17618
299@ = 1
return 

:CRASH1_17169
if 
  297@ == 1
goto_if_false @CRASH1_17189
return 

:CRASH1_17189
switch_start 216@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CRASH1_17497 {caseNum1} 0 {caseLabel1} @CRASH1_17252 {caseNum2} 1 {caseLabel2} @CRASH1_17301 {caseNum3} 2 {caseLabel3} @CRASH1_17350 {caseNum4} 3 {caseLabel4} @CRASH1_17399 {caseNum5} 4 {caseLabel5} @CRASH1_17448 {caseNum6} -1 {caseLabel6} @CRASH1_17497 {caseNum7} -1 {caseLabel7} @CRASH1_17497

:CRASH1_17252
if 
  Char.LocateAnyMeansChar2D(87@(216@,5i), $stattreadstamina_ctr, 3.0, 3.0, False)
goto_if_false @CRASH1_17294
gosub @CRASH1_17499

:CRASH1_17294
goto @CRASH1_17497

:CRASH1_17301
if 
  Char.LocateAnyMeansChar2D(87@(216@,5i), $stattreadstamina_ctr, 3.0, 3.0, False)
goto_if_false @CRASH1_17343
gosub @CRASH1_17499

:CRASH1_17343
goto @CRASH1_17497

:CRASH1_17350
if 
  Char.LocateAnyMeansChar2D(87@(216@,5i), $stattreadstamina_ctr, 3.0, 3.0, False)
goto_if_false @CRASH1_17392
gosub @CRASH1_17499

:CRASH1_17392
goto @CRASH1_17497

:CRASH1_17399
if 
  Char.LocateAnyMeansChar2D(87@(216@,5i), $stattreadstamina_ctr, 3.0, 3.0, False)
goto_if_false @CRASH1_17441
gosub @CRASH1_17499

:CRASH1_17441
goto @CRASH1_17497

:CRASH1_17448
if 
  Char.LocateAnyMeansChar2D(87@(216@,5i), $stattreadstamina_ctr, 3.0, 3.0, False)
goto_if_false @CRASH1_17490
gosub @CRASH1_17499

:CRASH1_17490
goto @CRASH1_17497

:CRASH1_17497
return 

:CRASH1_17499
221@ = Char.SetSayContext(87@(216@,5i), 2)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CRASH1_17549
Task.GotoChar(87@(216@,5i), $stattreadstamina_ctr, 5000, 3.0)

:CRASH1_17549
182@(216@,5i) = 1
297@ = 1
return 

:CRASH1_17569
40@ = Char.GetScriptTaskStatus(87@(216@,5i), 1497)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_17616
298@ = 1
gosub @CRASH1_17618

:CRASH1_17616
return 

:CRASH1_17618
Char.ClearTasksImmediately(87@(216@,5i))
Char.SetDecisionMaker(87@(216@,5i), 181@)
Task.KillCharOnFoot(87@(216@,5i), $stattreadstamina_ctr)
182@(216@,5i) = 4
return 

:CRASH1_17664
if 
  329@ == 1
goto_if_false @CRASH1_17695
182@(216@,5i) = 5
return 

:CRASH1_17695
282@, 283@, 284@ = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_lvar_float 289@ = 282@
set_lvar_float_to_lvar_float 291@ = 283@
282@, 283@, 284@ = Char.GetCoordinates(87@(216@,5i))
set_lvar_float_to_lvar_float 290@ = 282@
set_lvar_float_to_lvar_float 292@ = 283@
295@ = Math.GetDistanceBetweenCoords2D(289@, 291@, 290@, 292@)
if 
  295@ > 38.0
goto_if_false @CRASH1_17806
gosub @CRASH1_17848
return 

:CRASH1_17806
40@ = Char.GetScriptTaskStatus(87@(216@,5i), 1506)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_17846
gosub @CRASH1_17618

:CRASH1_17846
return 

:CRASH1_17848
if 
  329@ == 1
goto_if_false @CRASH1_17879
182@(216@,5i) = 5
return 

:CRASH1_17879
Char.ClearTasksImmediately(87@(216@,5i))
282@, 283@, 284@ = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_lvar_float 289@ = 282@
set_lvar_float_to_lvar_float 291@ = 283@
282@, 283@, 284@ = Char.GetCoordinates(87@(216@,5i))
set_lvar_float_to_lvar_float 290@ = 282@
set_lvar_float_to_lvar_float 292@ = 283@
set_lvar_float_to_lvar_float 282@ = 289@
sub_float_lvar_from_float_lvar 282@ -= 290@
set_lvar_float_to_lvar_float 283@ = 291@
sub_float_lvar_from_float_lvar 283@ -= 292@
285@ = Math.GetHeadingFromVector2D(282@, 283@)
Task.AchieveHeading(87@(216@,5i), 285@)
182@(216@,5i) = 2
return 

:CRASH1_18020
282@, 283@, 284@ = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_lvar_float 289@ = 282@
set_lvar_float_to_lvar_float 291@ = 283@
282@, 283@, 284@ = Char.GetCoordinates(87@(216@,5i))
set_lvar_float_to_lvar_float 290@ = 282@
set_lvar_float_to_lvar_float 292@ = 283@
295@ = Math.GetDistanceBetweenCoords2D(289@, 291@, 290@, 292@)
if 
  35.0 > 295@
goto_if_false @CRASH1_18131
gosub @CRASH1_17618
return 

:CRASH1_18131
if 
  300@ == 1
goto_if_false @CRASH1_18156
gosub @CRASH1_17848

:CRASH1_18156
return 

:CRASH1_18158
gosub @CRASH1_18329
Char.ClearTasksImmediately(87@(216@,5i))
Char.SetDecisionMaker(87@(216@,5i), 180@)
Task.StandStill(87@(216@,5i), -2)
182@(216@,5i) = 6
return 

:CRASH1_18210
if 
  329@ == 1
goto_if_false @CRASH1_18283
40@ = Char.GetScriptTaskStatus(87@(216@,5i), 1466)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_18281
Char.ClearTasksImmediately(87@(216@,5i))
Task.StandStill(87@(216@,5i), -2)

:CRASH1_18281
return 

:CRASH1_18283
Char.ClearTasksImmediately(87@(216@,5i))
Char.SetDecisionMaker(87@(216@,5i), 181@)
Task.KillCharOnFoot(87@(216@,5i), $stattreadstamina_ctr)
182@(216@,5i) = 4
return 

:CRASH1_18329
261@(216@,5f), 266@(216@,5f), 271@(216@,5f) = Char.GetCoordinates(87@(216@,5i))
switch_start 210@ {numCases} 7 {hasDefaultCase} 1 {defaultLabel} @CRASH1_18639 {caseNum1} 0 {caseLabel1} @CRASH1_18422 {caseNum2} 1 {caseLabel2} @CRASH1_18453 {caseNum3} 2 {caseLabel3} @CRASH1_18484 {caseNum4} 3 {caseLabel4} @CRASH1_18515 {caseNum5} 4 {caseLabel5} @CRASH1_18546 {caseNum6} 5 {caseLabel6} @CRASH1_18577 {caseNum7} 6 {caseLabel7} @CRASH1_18608

:CRASH1_18422
Char.SetCoordinates(87@(216@,5i), 2319.314, -1202.897, 26.9609)
goto @CRASH1_18641

:CRASH1_18453
Char.SetCoordinates(87@(216@,5i), 2315.977, -1204.658, 26.9609)
goto @CRASH1_18641

:CRASH1_18484
Char.SetCoordinates(87@(216@,5i), 2318.991, -1207.222, 26.9615)
goto @CRASH1_18641

:CRASH1_18515
Char.SetCoordinates(87@(216@,5i), 2315.745, -1210.296, 26.9609)
goto @CRASH1_18641

:CRASH1_18546
Char.SetCoordinates(87@(216@,5i), 2318.09, -1212.916, 26.9609)
goto @CRASH1_18641

:CRASH1_18577
Char.SetCoordinates(87@(216@,5i), 2314.109, -1215.641, 26.9609)
goto @CRASH1_18641

:CRASH1_18608
Char.SetCoordinates(87@(216@,5i), 2316.042, -1219.501, 26.9609)
goto @CRASH1_18641

:CRASH1_18639
return 

:CRASH1_18641
210@ += 1
return 

:CRASH1_18650
213@ = 0

:CRASH1_18657
if 
  not Char.IsDead(87@(213@,5i))
goto_if_false @CRASH1_18707
Char.SetCoordinates(87@(213@,5i), 261@(213@,5f), 266@(213@,5f), 271@(213@,5f))

:CRASH1_18707
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_18657
return 

:CRASH1_18730
282@ = 2346.047
283@ = -1189.661
284@ = 27.9709
214@ = 0
109@(214@,5i) = Object.Create(#CR_AMMOBOX, 282@, 283@, 284@)
Object.SetVisible(109@(214@,5i), False)
Object.SetCollision(109@(214@,5i), False)
123@(214@,5i) = Blip.AddForObject(109@(214@,5i))
Blip.ChangeColor(123@(214@,5i), BlipColor.Red)
Object.SetHealth(109@(214@,5i), 1)
282@ = 2336.045
283@ = -1189.661
284@ = 27.9709
214@ += 1
109@(214@,5i) = Object.Create(#CR_AMMOBOX, 282@, 283@, 284@)
Object.SetVisible(109@(214@,5i), False)
Object.SetCollision(109@(214@,5i), False)
123@(214@,5i) = Blip.AddForObject(109@(214@,5i))
Blip.ChangeColor(123@(214@,5i), BlipColor.Red)
Object.SetHealth(109@(214@,5i), 1)
282@ = 2326.409
283@ = -1189.661
284@ = 27.9709
214@ += 1
109@(214@,5i) = Object.Create(#CR_AMMOBOX, 282@, 283@, 284@)
Object.SetVisible(109@(214@,5i), False)
Object.SetCollision(109@(214@,5i), False)
123@(214@,5i) = Blip.AddForObject(109@(214@,5i))
Blip.ChangeColor(123@(214@,5i), BlipColor.Red)
Object.SetHealth(109@(214@,5i), 1)
282@ = 2345.898
283@ = -1170.044
284@ = 27.9709
214@ += 1
109@(214@,5i) = Object.Create(#CR_AMMOBOX, 282@, 283@, 284@)
Object.SetVisible(109@(214@,5i), False)
Object.SetCollision(109@(214@,5i), False)
123@(214@,5i) = Blip.AddForObject(109@(214@,5i))
Blip.ChangeColor(123@(214@,5i), BlipColor.Red)
Object.SetHealth(109@(214@,5i), 1)
282@ = 2326.407
283@ = -1170.044
284@ = 27.9709
214@ += 1
109@(214@,5i) = Object.Create(#CR_AMMOBOX, 282@, 283@, 284@)
Object.SetVisible(109@(214@,5i), False)
Object.SetCollision(109@(214@,5i), False)
123@(214@,5i) = Blip.AddForObject(109@(214@,5i))
Blip.ChangeColor(123@(214@,5i), BlipColor.Red)
Object.SetHealth(109@(214@,5i), 1)
return 

:CRASH1_19322
214@ = 0
222@(214@,5f) = 2345.979
222@(214@,5f) -= 2.1
227@(214@,5f) = 2345.979
227@(214@,5f) += 2.1
232@(214@,5f) = -1188.8
232@(214@,5f) -= 0.8
237@(214@,5f) = -1188.8
237@(214@,5f) += 0.8
242@(214@,5f) = 28.8649
242@(214@,5f) -= 1.2
247@(214@,5f) = 28.8649
247@(214@,5f) += 1.2
302@(214@,5i) = 0
307@(214@,5i) = 0
214@ += 1
222@(214@,5f) = 2336.188
222@(214@,5f) -= 2.1
227@(214@,5f) = 2336.188
227@(214@,5f) += 2.1
232@(214@,5f) = -1188.8
232@(214@,5f) -= 0.8
237@(214@,5f) = -1188.8
237@(214@,5f) += 0.8
242@(214@,5f) = 28.8649
242@(214@,5f) -= 1.2
247@(214@,5f) = 28.8649
247@(214@,5f) += 1.2
302@(214@,5i) = 0
307@(214@,5i) = 0
214@ += 1
222@(214@,5f) = 2326.255
222@(214@,5f) -= 2.1
227@(214@,5f) = 2326.255
227@(214@,5f) += 2.1
232@(214@,5f) = -1188.8
232@(214@,5f) -= 0.8
237@(214@,5f) = -1188.8
237@(214@,5f) += 0.8
242@(214@,5f) = 28.8649
242@(214@,5f) -= 1.2
247@(214@,5f) = 28.8649
247@(214@,5f) += 1.2
302@(214@,5i) = 0
307@(214@,5i) = 0
214@ += 1
222@(214@,5f) = 2346.116
222@(214@,5f) -= 2.1
227@(214@,5f) = 2346.116
227@(214@,5f) += 2.1
232@(214@,5f) = -1171.0
232@(214@,5f) -= 0.8
237@(214@,5f) = -1171.0
237@(214@,5f) += 0.8
242@(214@,5f) = 28.8649
242@(214@,5f) -= 1.2
247@(214@,5f) = 28.8649
247@(214@,5f) += 1.2
302@(214@,5i) = 0
307@(214@,5i) = 0
214@ += 1
222@(214@,5f) = 2326.255
222@(214@,5f) -= 2.1
227@(214@,5f) = 2326.255
227@(214@,5f) += 2.1
232@(214@,5f) = -1171.0
232@(214@,5f) -= 0.8
237@(214@,5f) = -1171.0
237@(214@,5f) += 0.8
242@(214@,5f) = 28.8649
242@(214@,5f) -= 1.2
247@(214@,5f) = 28.8649
247@(214@,5f) += 1.2
302@(214@,5i) = 0
307@(214@,5i) = 0
return 

:CRASH1_20309
if 
  302@(217@,5i) == 1
goto_if_false @CRASH1_20333
return 

:CRASH1_20333
if 
  World.IsProjectileInArea(222@(217@,5f), 232@(217@,5f), 242@(217@,5f), 227@(217@,5f), 237@(217@,5f), 247@(217@,5f))
goto_if_false @CRASH1_20471
if 
  not Object.HasBeenDamaged(101@(217@,8i))
goto_if_false @CRASH1_20419
Object.Break(101@(217@,8i), 1)

:CRASH1_20419
302@(217@,5i) = 1
301@ = 1
Object.Delete(109@(217@,5i))
Blip.Remove(123@(217@,5i))
set_lvar_int_to_lvar_int 205@ = 45@
205@ += 500

:CRASH1_20471
return 

:CRASH1_20473
214@ = Math.RandomIntInRange(0, 5)
switch_start 214@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CRASH1_20660 {caseNum1} 0 {caseLabel1} @CRASH1_20545 {caseNum2} 1 {caseLabel2} @CRASH1_20568 {caseNum3} 2 {caseLabel3} @CRASH1_20591 {caseNum4} 3 {caseLabel4} @CRASH1_20614 {caseNum5} 4 {caseLabel5} @CRASH1_20637 {caseNum6} -1 {caseLabel6} @CRASH1_20660 {caseNum7} -1 {caseLabel7} @CRASH1_20660

:CRASH1_20545
Text.PrintNow('CRA1_30', 4000, 1)
goto @CRASH1_20660

:CRASH1_20568
Text.PrintNow('CRA1_31', 4000, 1)
goto @CRASH1_20660

:CRASH1_20591
Text.PrintNow('CRA1_32', 4000, 1)
goto @CRASH1_20660

:CRASH1_20614
Text.PrintNow('CRA1_33', 4000, 1)
goto @CRASH1_20660

:CRASH1_20637
Text.PrintNow('CRA1_34', 4000, 1)
goto @CRASH1_20660

:CRASH1_20660
return 

:CRASH1_20662
218@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Molotov)
if and
  218@ == 0
  5 > 209@
goto_if_false @CRASH1_21013
if 
  345@ == 0
goto_if_false @CRASH1_20740
set_lvar_int_to_lvar_int 208@ = 45@
208@ += 3000
345@ = 1
return 

:CRASH1_20740
if 
  not is_int_lvar_greater_than_int_lvar 45@ > 208@
goto_if_false @CRASH1_20761
return 

:CRASH1_20761
208@ = 0
345@ = 0
282@ = 2337.602
283@ = -1169.369
284@ = 28.2207
214@ = 0
133@(214@,2i) = Pickup.CreateWithAmmo(344, PickupType.Once, 20, 282@, 283@, 284@)
129@(214@,2i) = Blip.AddForPickup(133@(214@,2i))
282@ = 2334.129
283@ = -1200.438
284@ = 28.1609
214@ += 1
133@(214@,2i) = Pickup.CreateWithAmmo(344, PickupType.Once, 20, 282@, 283@, 284@)
129@(214@,2i) = Blip.AddForPickup(133@(214@,2i))
213@ = 0

:CRASH1_20938
if 
  302@(213@,5i) == 0
goto_if_false @CRASH1_20969
Blip.Remove(123@(213@,5i))

:CRASH1_20969
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_20938
Text.PrintNow('CRA1_03', 5000, 1)
313@ = 1

:CRASH1_21013
return 

:CRASH1_21015
if or
  Pickup.HasBeenCollected(133@)
  Pickup.HasBeenCollected(134@)
goto_if_false @CRASH1_21166
213@ = 0

:CRASH1_21043
Pickup.Remove(133@(213@,2i))
Blip.Remove(129@(213@,2i))
213@ += 1
  213@ >= 2
goto_if_false @CRASH1_21043
213@ = 0

:CRASH1_21089
if 
  302@(213@,5i) == 0
goto_if_false @CRASH1_21138
123@(213@,5i) = Blip.AddForObject(109@(213@,5i))
Blip.ChangeColor(123@(213@,5i), BlipColor.Red)

:CRASH1_21138
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_21089
313@ = 0

:CRASH1_21166
return 

:CRASH1_21168
switch_start 187@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @CRASH1_21329 {caseNum1} -1 {caseLabel1} @CRASH1_21231 {caseNum2} 0 {caseLabel2} @CRASH1_21245 {caseNum3} 1 {caseLabel3} @CRASH1_21259 {caseNum4} 2 {caseLabel4} @CRASH1_21273 {caseNum5} 3 {caseLabel5} @CRASH1_21287 {caseNum6} 4 {caseLabel6} @CRASH1_21301 {caseNum7} 5 {caseLabel7} @CRASH1_21315

:CRASH1_21231
gosub @CRASH1_21331
goto @CRASH1_21329

:CRASH1_21245
gosub @CRASH1_21609
goto @CRASH1_21329

:CRASH1_21259
gosub @CRASH1_21703
goto @CRASH1_21329

:CRASH1_21273
gosub @CRASH1_21766
goto @CRASH1_21329

:CRASH1_21287
gosub @CRASH1_21874
goto @CRASH1_21329

:CRASH1_21301
gosub @CRASH1_22007
goto @CRASH1_21329

:CRASH1_21315
gosub @CRASH1_22347
goto @CRASH1_21329

:CRASH1_21329
return 

:CRASH1_21331
if 
  209@ <> 2
goto_if_false @CRASH1_21351
return 

:CRASH1_21351
282@ = 2370.792
283@ = -1250.899
284@ = 22.8451
285@ = 358.0048
World.ClearArea(282@, 283@, 284@, 10.0, False)
99@ = Car.Create(412, 282@, 283@, 284@)
Car.SetHeading(99@, 285@)
Car.SetCruiseSpeed(99@, 100.0)
Car.SetDrivingStyle(99@, DrivingMode.AvoidCars)
214@ = 0
92@(214@,2i) = Char.CreateInsideCar(99@, PedType.Gang8, 109)
Char.GiveWeapon(92@(214@,2i), WeaponType.Pistol, 999)
Char.SetIsTargetPriority(92@(214@,2i), True)
214@ += 1
92@(214@,2i) = Char.CreateAsPassenger(99@, PedType.Gang8, 108, 0)
Char.GiveWeapon(92@(214@,2i), WeaponType.Pistol, 999)
Char.SetIsTargetPriority(92@(214@,2i), True)
252@ = 2370.792
253@ = -1185.662
254@ = 26.4297
Car.GotoCoordinates(99@, 252@, 253@, 254@)
187@ = 0
357@ = 1
return 

:CRASH1_21609
if 
  Car.IsDead(99@)
goto_if_false @CRASH1_21634
187@ = 2
return 

:CRASH1_21634
if 
  Car.Locate2D(99@, 252@, 253@, 6.0, 6.0, False)
goto_if_false @CRASH1_21701
Car.SetTempAction(99@, TempAction.TurnLeft, 500)
set_lvar_int_to_lvar_int 199@ = 45@
199@ += 350
187@ = 1

:CRASH1_21701
return 

:CRASH1_21703
if 
  Car.IsDead(99@)
goto_if_false @CRASH1_21728
187@ = 2
return 

:CRASH1_21728
if 
  is_int_lvar_greater_than_int_lvar 45@ > 199@
goto_if_false @CRASH1_21764
Car.SetTempAction(99@, TempAction.HandbrakeTurnLeft, 5000)
187@ = 2

:CRASH1_21764
return 

:CRASH1_21766
if or
  Car.IsDead(99@)
  Car.IsStopped(99@)
goto_if_false @CRASH1_21872
216@ = 0
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_21826
Task.LeaveCar(92@(216@,2i), 99@)

:CRASH1_21826
216@ += 1
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_21865
Task.LeaveCar(92@(216@,2i), 99@)

:CRASH1_21865
187@ = 3

:CRASH1_21872
return 

:CRASH1_21874
216@ = 0
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_21936
40@ = Char.GetScriptTaskStatus(92@(216@,2i), 1485)
if 
  not is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_21936
return 

:CRASH1_21936
216@ += 1
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_21998
40@ = Char.GetScriptTaskStatus(92@(216@,2i), 1485)
if 
  not is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_21998
return 

:CRASH1_21998
187@ = 4
return 

:CRASH1_22007
if 
  329@ == 1
goto_if_false @CRASH1_22159
216@ = 0
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_22084
Char.ClearTasksImmediately(92@(216@,2i))
Char.SetDecisionMaker(92@(216@,2i), 180@)
Task.StandStill(92@(216@,2i), -2)

:CRASH1_22084
216@ += 1
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_22143
Char.ClearTasksImmediately(92@(216@,2i))
Char.SetDecisionMaker(92@(216@,2i), 180@)
Task.StandStill(92@(216@,2i), -2)

:CRASH1_22143
gosub @CRASH1_22656
187@ = 5
return 

:CRASH1_22159
216@ = 0
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_22252
40@ = Char.GetScriptTaskStatus(92@(216@,2i), 1506)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_22252
Char.ClearTasksImmediately(92@(216@,2i))
Char.SetDecisionMaker(92@(216@,2i), 181@)
Task.KillCharOnFoot(92@(216@,2i), $stattreadstamina_ctr)

:CRASH1_22252
216@ += 1
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_22345
40@ = Char.GetScriptTaskStatus(92@(216@,2i), 1506)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_22345
Char.ClearTasksImmediately(92@(216@,2i))
Char.SetDecisionMaker(92@(216@,2i), 181@)
Task.KillCharOnFoot(92@(216@,2i), $stattreadstamina_ctr)

:CRASH1_22345
return 

:CRASH1_22347
if 
  329@ == 1
goto_if_false @CRASH1_22527
216@ = 0
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_22445
40@ = Char.GetScriptTaskStatus(92@(216@,2i), 1466)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_22445
Char.ClearTasksImmediately(92@(216@,2i))
Task.StandStill(92@(216@,2i), -2)

:CRASH1_22445
216@ += 1
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_22525
40@ = Char.GetScriptTaskStatus(92@(216@,2i), 1466)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_22525
Char.ClearTasksImmediately(92@(216@,2i))
Task.StandStill(92@(216@,2i), -2)

:CRASH1_22525
return 

:CRASH1_22527
216@ = 0
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_22587
Char.ClearTasksImmediately(92@(216@,2i))
Char.SetDecisionMaker(92@(216@,2i), 181@)
Task.KillCharOnFoot(92@(216@,2i), $stattreadstamina_ctr)

:CRASH1_22587
216@ += 1
if 
  not Char.IsDead(92@(216@,2i))
goto_if_false @CRASH1_22647
Char.ClearTasksImmediately(92@(216@,2i))
Char.SetDecisionMaker(92@(216@,2i), 181@)
Task.KillCharOnFoot(92@(216@,2i), $stattreadstamina_ctr)

:CRASH1_22647
187@ = 4
return 

:CRASH1_22656
213@ = 0

:CRASH1_22663
if 
  not Char.IsDead(92@(213@,2i))
goto_if_false @CRASH1_23002
276@(213@,2f), 278@(213@,2f), 280@(213@,2f) = Char.GetCoordinates(92@(213@,2i))
switch_start 210@ {numCases} 7 {hasDefaultCase} 1 {defaultLabel} @CRASH1_22993 {caseNum1} 0 {caseLabel1} @CRASH1_22776 {caseNum2} 1 {caseLabel2} @CRASH1_22807 {caseNum3} 2 {caseLabel3} @CRASH1_22838 {caseNum4} 3 {caseLabel4} @CRASH1_22869 {caseNum5} 4 {caseLabel5} @CRASH1_22900 {caseNum6} 5 {caseLabel6} @CRASH1_22931 {caseNum7} 6 {caseLabel7} @CRASH1_22962

:CRASH1_22776
Char.SetCoordinates(92@(213@,2i), 2319.314, -1202.897, 26.9609)
goto @CRASH1_22995

:CRASH1_22807
Char.SetCoordinates(92@(213@,2i), 2315.977, -1204.658, 26.9609)
goto @CRASH1_22995

:CRASH1_22838
Char.SetCoordinates(92@(213@,2i), 2318.991, -1207.222, 26.9615)
goto @CRASH1_22995

:CRASH1_22869
Char.SetCoordinates(92@(213@,2i), 2315.745, -1210.296, 26.9609)
goto @CRASH1_22995

:CRASH1_22900
Char.SetCoordinates(92@(213@,2i), 2318.09, -1212.916, 26.9609)
goto @CRASH1_22995

:CRASH1_22931
Char.SetCoordinates(92@(213@,2i), 2314.109, -1215.641, 26.9609)
goto @CRASH1_22995

:CRASH1_22962
Char.SetCoordinates(92@(213@,2i), 2316.042, -1219.501, 26.9609)
goto @CRASH1_22995

:CRASH1_22993
return 

:CRASH1_22995
210@ += 1

:CRASH1_23002
213@ += 1
  213@ >= 2
goto_if_false @CRASH1_22663
return 

:CRASH1_23025
213@ = 0

:CRASH1_23032
if 
  not Char.IsDead(92@(213@,2i))
goto_if_false @CRASH1_23082
Char.SetCoordinates(92@(213@,2i), 276@(213@,2f), 278@(213@,2f), 280@(213@,2f))

:CRASH1_23082
213@ += 1
  213@ >= 2
goto_if_false @CRASH1_23032
return 

:CRASH1_23105
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
Camera.SetFixedPosition(2335.339, -1159.13, 30.4689, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2336.154, -1159.707, 30.42, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 1500
return 

:CRASH1_23203
if 
  191@ == 5
goto_if_false @CRASH1_23223
World.RemoveAllScriptFires

:CRASH1_23223
if or
  191@ == 5
  191@ == 3
goto_if_false @CRASH1_23384
214@ = Math.RandomIntInRange(2, 4)
142@ = ScriptFire.Start(2346.355, -1172.734, 27.2957, 1, 214@)
214@ = Math.RandomIntInRange(1, 4)
143@ = ScriptFire.Start(2345.484, -1171.842, 27.2957, 0, 214@)
214@ = Math.RandomIntInRange(2, 4)
144@ = ScriptFire.Start(2348.171, -1173.493, 27.2957, 0, 214@)
214@ = Math.RandomIntInRange(2, 4)
145@ = ScriptFire.Start(2348.387, -1172.34, 27.2957, 1, 214@)

:CRASH1_23384
if or
  191@ == 5
  191@ == 0
goto_if_false @CRASH1_23545
214@ = Math.RandomIntInRange(1, 4)
146@ = ScriptFire.Start(2347.983, -1187.069, 27.2891, 0, 214@)
214@ = Math.RandomIntInRange(1, 4)
147@ = ScriptFire.Start(2347.792, -1186.253, 27.2891, 1, 214@)
214@ = Math.RandomIntInRange(2, 4)
148@ = ScriptFire.Start(2346.15, -1186.639, 27.2891, 0, 214@)
214@ = Math.RandomIntInRange(1, 4)
149@ = ScriptFire.Start(2345.988, -1188.301, 27.2891, 1, 214@)

:CRASH1_23545
if or
  191@ == 5
  191@ == 1
goto_if_false @CRASH1_23706
214@ = Math.RandomIntInRange(1, 4)
150@ = ScriptFire.Start(2334.972, -1187.806, 27.082, 1, 214@)
214@ = Math.RandomIntInRange(1, 4)
151@ = ScriptFire.Start(2334.182, -1188.269, 27.008, 0, 214@)
214@ = Math.RandomIntInRange(2, 4)
152@ = ScriptFire.Start(2335.786, -1188.25, 27.7429, 1, 214@)
214@ = Math.RandomIntInRange(1, 4)
153@ = ScriptFire.Start(2335.467, -1187.143, 27.5372, 0, 214@)

:CRASH1_23706
if or
  191@ == 5
  191@ == 2
goto_if_false @CRASH1_23901
214@ = Math.RandomIntInRange(2, 4)
154@ = ScriptFire.Start(2323.431, -1185.613, 27.2891, 1, 214@)
214@ = Math.RandomIntInRange(1, 4)
155@ = ScriptFire.Start(2324.549, -1186.614, 27.2891, 0, 214@)
214@ = Math.RandomIntInRange(1, 4)
156@ = ScriptFire.Start(2325.371, -1184.383, 27.2891, 1, 214@)
214@ = Math.RandomIntInRange(2, 4)
157@ = ScriptFire.Start(2324.762, -1187.462, 27.2891, 0, 214@)
214@ = Math.RandomIntInRange(1, 3)
158@ = ScriptFire.Start(2324.716, -1188.478, 30.58, 1, 214@)

:CRASH1_23901
if or
  191@ == 5
  191@ == 4
goto_if_false @CRASH1_24062
214@ = Math.RandomIntInRange(2, 4)
159@ = ScriptFire.Start(2322.239, -1172.971, 27.1409, 0, 214@)
214@ = Math.RandomIntInRange(1, 4)
160@ = ScriptFire.Start(2322.22, -1174.752, 27.2031, 0, 214@)
214@ = Math.RandomIntInRange(1, 4)
161@ = ScriptFire.Start(2323.696, -1174.429, 27.2131, 1, 214@)
214@ = Math.RandomIntInRange(2, 4)
162@ = ScriptFire.Start(2325.159, -1172.793, 27.1539, 1, 214@)

:CRASH1_24062
return 

:CRASH1_24064
if 
  191@ == 0
goto_if_false @CRASH1_24084
World.RemoveAllScriptFires

:CRASH1_24084
if 
  191@ == 1
goto_if_false @CRASH1_24139
213@ = 0

:CRASH1_24109
ScriptFire.Remove(142@(213@,21i))
213@ += 1
  213@ >= 8
goto_if_false @CRASH1_24109

:CRASH1_24139
214@ = Math.RandomIntInRange(1, 3)
142@ = ScriptFire.Start(2345.646, -1178.38, 1027.153, 1, 214@)
214@ = Math.RandomIntInRange(1, 3)
143@ = ScriptFire.Start(2344.558, -1178.334, 1027.125, 0, 214@)
214@ = Math.RandomIntInRange(1, 4)
144@ = ScriptFire.Start(2345.027, -1177.208, 1027.165, 0, 214@)
214@ = Math.RandomIntInRange(1, 3)
145@ = ScriptFire.Start(2347.865, -1173.929, 1027.224, 1, 214@)
214@ = Math.RandomIntInRange(1, 3)
146@ = ScriptFire.Start(2349.136, -1187.914, 1027.259, 0, 214@)
214@ = Math.RandomIntInRange(1, 4)
147@ = ScriptFire.Start(2348.798, -1186.306, 1027.281, 1, 214@)
214@ = Math.RandomIntInRange(1, 3)
148@ = ScriptFire.Start(2347.625, -1187.324, 1027.268, 0, 214@)
214@ = Math.RandomIntInRange(1, 4)
149@ = ScriptFire.Start(2347.587, -1184.596, 1027.134, 1, 214@)
if 
  191@ == 0
goto_if_false @CRASH1_24871
214@ = Math.RandomIntInRange(1, 3)
150@ = ScriptFire.Start(2334.972, -1187.806, 1027.182, 1, 214@)
214@ = Math.RandomIntInRange(1, 3)
151@ = ScriptFire.Start(2334.182, -1188.269, 1027.108, 0, 214@)
214@ = Math.RandomIntInRange(1, 3)
152@ = ScriptFire.Start(2335.786, -1188.25, 1027.743, 1, 214@)
214@ = Math.RandomIntInRange(1, 4)
153@ = ScriptFire.Start(2335.467, -1187.143, 1027.537, 0, 214@)
214@ = Math.RandomIntInRange(1, 3)
154@ = ScriptFire.Start(2321.82, -1179.514, 1027.767, 1, 214@)
214@ = Math.RandomIntInRange(1, 3)
155@ = ScriptFire.Start(2321.454, -1181.044, 1027.224, 0, 214@)
214@ = Math.RandomIntInRange(1, 4)
156@ = ScriptFire.Start(2322.789, -1181.093, 1027.172, 1, 214@)
214@ = Math.RandomIntInRange(1, 3)
157@ = ScriptFire.Start(2321.852, -1183.062, 1027.112, 0, 214@)
214@ = Math.RandomIntInRange(1, 4)
158@ = ScriptFire.Start(2322.611, -1184.014, 1027.133, 0, 214@)
214@ = Math.RandomIntInRange(1, 3)
159@ = ScriptFire.Start(2322.239, -1172.971, 1027.141, 0, 214@)
214@ = Math.RandomIntInRange(1, 3)
160@ = ScriptFire.Start(2322.22, -1174.752, 1027.203, 0, 214@)
214@ = Math.RandomIntInRange(1, 4)
161@ = ScriptFire.Start(2323.696, -1174.429, 1027.213, 1, 214@)
214@ = Math.RandomIntInRange(1, 3)
162@ = ScriptFire.Start(2325.159, -1172.793, 1027.154, 1, 214@)

:CRASH1_24871
return 

:CRASH1_24873
switch_start 192@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @CRASH1_25457 {caseNum1} 0 {caseLabel1} @CRASH1_24936 {caseNum2} 1 {caseLabel2} @CRASH1_24967 {caseNum3} 2 {caseLabel3} @CRASH1_24998 {caseNum4} 3 {caseLabel4} @CRASH1_25010 {caseNum5} 4 {caseLabel5} @CRASH1_25089 {caseNum6} 5 {caseLabel6} @CRASH1_25125 {caseNum7} 6 {caseLabel7} @CRASH1_25222

:CRASH1_24936
163@ = ScriptFire.Start(2345.464, -1174.033, 31.1, 0, 3)
goto @CRASH1_25457

:CRASH1_24967
164@ = ScriptFire.Start(2352.1, -1171.25, 26.97, 0, 2)
goto @CRASH1_25457

:CRASH1_24998
ScriptFire.Remove(164@)
goto @CRASH1_25457

:CRASH1_25010
164@ = ScriptFire.Start(2340.365, -1184.928, 1031.1, 0, 3)
165@ = ScriptFire.Start(2332.483, -1180.889, 1031.1, 0, 3)
166@ = ScriptFire.Start(2326.081, -1178.825, 1027.2, 0, 3)
goto @CRASH1_25457

:CRASH1_25089
ScriptFire.Remove(163@)
163@ = ScriptFire.Start(2344.884, -1178.697, 1031.1, 0, 3)
goto @CRASH1_25457

:CRASH1_25125
213@ = 0

:CRASH1_25132
318@(213@,4i) = 1
if 
  ScriptFire.DoesExist(163@(213@,4i))
goto_if_false @CRASH1_25194
if 
  ScriptFire.IsExtinguished(163@(213@,4i))
goto_if_false @CRASH1_25194
318@(213@,4i) = 0

:CRASH1_25194
213@ += 1
  213@ >= 4
goto_if_false @CRASH1_25132
goto @CRASH1_25457

:CRASH1_25222
214@ = 3
if 
  318@ == 0
goto_if_false @CRASH1_25254
214@ = 1

:CRASH1_25254
163@ = ScriptFire.Start(2344.884, -1178.697, 1031.1, 0, 214@)
214@ = 3
if 
  319@ == 0
goto_if_false @CRASH1_25311
214@ = 1

:CRASH1_25311
164@ = ScriptFire.Start(2340.365, -1184.928, 1031.1, 0, 214@)
214@ = 3
if 
  320@ == 0
goto_if_false @CRASH1_25368
214@ = 1

:CRASH1_25368
165@ = ScriptFire.Start(2332.483, -1180.889, 1031.1, 0, 214@)
214@ = 3
if 
  321@ == 0
goto_if_false @CRASH1_25425
214@ = 1

:CRASH1_25425
166@ = ScriptFire.Start(2326.081, -1178.825, 1027.2, 0, 214@)
goto @CRASH1_25457

:CRASH1_25457
return 

:CRASH1_25459
switch_start 197@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @CRASH1_26121 {caseNum1} 0 {caseLabel1} @CRASH1_25522 {caseNum2} 1 {caseLabel2} @CRASH1_25603 {caseNum3} 2 {caseLabel3} @CRASH1_25620 {caseNum4} 3 {caseLabel4} @CRASH1_25970 {caseNum5} 4 {caseLabel5} @CRASH1_26014 {caseNum6} 5 {caseLabel6} @CRASH1_26059 {caseNum7} 6 {caseLabel7} @CRASH1_26071

:CRASH1_25522
177@ = Particle.Create("TEARGASAD", 2351.718, -1170.982, 26.7609, 1)
Particle.Play(177@)
179@ = Particle.Create("TEARGAS", 2351.813, -1181.29, 1029.783, 1)
Particle.Play(179@)
goto @CRASH1_26121

:CRASH1_25603
Particle.Kill(177@)
Particle.Kill(179@)
goto @CRASH1_26121

:CRASH1_25620
168@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 0.0, 0.0, 2.0, 1)
169@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 0.0, 2.0, 1.8, 1)
170@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 0.0, -2.0, 2.0, 1)
171@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 1.0, 5.0, 1.5, 1)
172@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, -1.0, 8.0, 1.8, 1)
173@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 2.0, 0.0, 1.5, 1)
174@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, -2.0, 0.0, 1.5, 1)
175@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, -2.0, 2.0, 1.5, 1)
176@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 2.0, 2.0, 1.5, 1)
213@ = 0

:CRASH1_25933
Particle.Play(168@(213@,9i))
213@ += 1
  213@ >= 9
goto_if_false @CRASH1_25933
goto @CRASH1_26121

:CRASH1_25970
213@ = 0

:CRASH1_25977
Particle.Kill(168@(213@,9i))
213@ += 1
  213@ >= 9
goto_if_false @CRASH1_25977
goto @CRASH1_26121

:CRASH1_26014
178@ = Particle.Create("TEARGASAD", 2345.007, -1171.812, 33.996, 1)
Particle.Play(178@)
goto @CRASH1_26121

:CRASH1_26059
Particle.Kill(178@)
goto @CRASH1_26121

:CRASH1_26071
Particle.Kill(177@)
177@ = Particle.Create("TEARGASAD", 2351.718, -1175.129, 26.7609, 1)
Particle.Play(177@)
goto @CRASH1_26121

:CRASH1_26121
return 

:CRASH1_26123
255@ = 2322.639
256@ = -1176.537
257@ = 1027.757
135@ = Pickup.CreateWithAmmo(366, PickupType.Once, 30000, 255@, 256@, 257@)
317@ = 1
return 

:CRASH1_26184
115@ = Object.CreateNoOffset(#CR1_DOOR, 2342.708, -1177.826, 1031.002)
116@ = Object.CreateNoOffset(#CR1_DOOR, 2338.402, -1177.832, 1030.985)
117@ = Object.CreateNoOffset(#CR1_DOOR, 2333.665, -1173.932, 1030.977)
118@ = Object.CreateNoOffset(#CR1_DOOR, 2335.968, -1179.435, 1030.969)
Object.SetHeading(118@, 89.3975)
213@ = 0

:CRASH1_26289
Object.SetAreaVisible(115@(213@,4i), 5)
213@ += 1
  213@ >= 4
goto_if_false @CRASH1_26289
213@ = 0

:CRASH1_26328
Object.SetCollisionDamageEffect(115@(213@,4i), False)
213@ += 1
  213@ >= 4
goto_if_false @CRASH1_26328
return 

:CRASH1_26362
282@ = 2352.325
283@ = -1179.79
284@ = 26.9766
285@ = 2.8064
94@ = Char.Create(PedType.Gang8, 110, 282@, 283@, 284@)
Char.SetAreaVisible(94@, 5)
Char.SetHeading(94@, 285@)
Char.SetDecisionMaker(94@, 180@)
358@ = 1
return 

:CRASH1_26452
282@ = 2345.907
283@ = -1171.659
284@ = 30.9688
285@ = 359.0737
95@ = Char.Create(PedType.CivFemale, 195, 282@, 283@, 284@)
Char.SetAreaVisible(95@, 5)
Char.SetHeading(95@, 285@)
Char.SetHealth(95@, 100)
Char.SetNeverTargeted(95@, True)
Char.SetProofs(95@, False, True, True, False, False)
Char.SetRelationship(95@, RelationshipType.Respect, PedType.Player1)
Char.FreezePosition(95@, True)
Task.PlayAnimNonInterruptable(95@, "BD_PANIC_LOOP", "BD_FIRE", 4.0, True, False, False, False, -1)
211@ = 0
214@ = Math.RandomIntInRange(500, 2000)
set_lvar_int_to_lvar_int 201@ = 45@
add_int_lvar_to_int_lvar 201@ += 214@
Char.DisableSpeech(95@, False)
359@ = 1
return 

:CRASH1_26665
Object.SetProofs(114@, False, False, False, False, False)
Object.SetCollisionDamageEffect(114@, True)
Object.SetDynamic(114@, True)
Object.SetVelocity(114@, 0.0, 15.0, 0.0)
Object.Break(114@, 1)
167@ = Particle.Create("EXPLOSION_DOOR", 2351.918, -1171.014, 28.1817, 1)
Particle.PlayAndKill(167@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
197@ = 0
gosub @CRASH1_25459
192@ = 1
gosub @CRASH1_24873
334@ = 1
if 
  Char.IsDead(94@)
goto_if_false @CRASH1_26821
return 

:CRASH1_26821
220@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2352.181, -1164.893, 26.4392, MoveState.Run, -2)
Task.Die(-1)
Sequence.Close(220@)
Char.PerformSequence(94@, 220@)
Sequence.Clear(220@)
Char.SetProofs(94@, False, True, False, False, False)
ScriptFire.Remove(138@)
138@ = ScriptFire.CreateCharFire(94@)
Char.SetHealth(94@, 55)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 4000
return 

:CRASH1_26924
Camera.SetFixedPosition(2343.56, -1168.507, 32.4408, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2344.391, -1169.01, 32.6753, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 200@ = 45@
200@ += 200
return 

:CRASH1_26993
World.SwitchEntryExit('GANG', True)
282@, 283@, 284@ = Char.GetCoordinates($stattreadstamina_ctr)
Streaming.LoadScene(282@, 283@, 284@)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Streaming.SetAreaVisible(0)
return 

:CRASH1_27063
if or
  Char.IsDead(95@)
  211@ == 99
goto_if_false @CRASH1_27088
return 

:CRASH1_27088
if 
  is_int_lvar_greater_than_int_lvar 201@ > 45@
goto_if_false @CRASH1_27109
return 

:CRASH1_27109
if 
  211@ == 0
goto_if_false @CRASH1_27186
if 
  350@ == 1
goto_if_false @CRASH1_27170
set_lvar_int_to_lvar_int 201@ = 45@
201@ += 120000
goto @CRASH1_27179

:CRASH1_27170
211@ = Math.RandomIntInRange(1, 5)

:CRASH1_27179
goto @CRASH1_27544

:CRASH1_27186
295@ = 1.0
switch_start 211@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @CRASH1_27487 {caseNum1} 1 {caseLabel1} @CRASH1_27259 {caseNum2} 2 {caseLabel2} @CRASH1_27316 {caseNum3} 3 {caseLabel3} @CRASH1_27373 {caseNum4} 4 {caseLabel4} @CRASH1_27430 {caseNum5} -1 {caseLabel5} @CRASH1_27487 {caseNum6} -1 {caseLabel6} @CRASH1_27487 {caseNum7} -1 {caseLabel7} @CRASH1_27487

:CRASH1_27259
if 
  Char.IsPlayingAnim(95@, "BD_PANIC_01")
goto_if_false @CRASH1_27309
295@ = Char.GetAnimCurrentTime(95@, "BD_PANIC_01")

:CRASH1_27309
goto @CRASH1_27487

:CRASH1_27316
if 
  Char.IsPlayingAnim(95@, "BD_PANIC_02")
goto_if_false @CRASH1_27366
295@ = Char.GetAnimCurrentTime(95@, "BD_PANIC_02")

:CRASH1_27366
goto @CRASH1_27487

:CRASH1_27373
if 
  Char.IsPlayingAnim(95@, "BD_PANIC_03")
goto_if_false @CRASH1_27423
295@ = Char.GetAnimCurrentTime(95@, "BD_PANIC_03")

:CRASH1_27423
goto @CRASH1_27487

:CRASH1_27430
if 
  Char.IsPlayingAnim(95@, "BD_PANIC_04")
goto_if_false @CRASH1_27480
295@ = Char.GetAnimCurrentTime(95@, "BD_PANIC_04")

:CRASH1_27480
goto @CRASH1_27487

:CRASH1_27487
if 
  295@ <> 1.0
goto_if_false @CRASH1_27510
return 

:CRASH1_27510
211@ = 0
214@ = Math.RandomIntInRange(500, 2000)
set_lvar_int_to_lvar_int 201@ = 45@
add_int_lvar_to_int_lvar 201@ += 214@

:CRASH1_27544
switch_start 211@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CRASH1_27885 {caseNum1} 0 {caseLabel1} @CRASH1_27607 {caseNum2} 1 {caseLabel2} @CRASH1_27689 {caseNum3} 2 {caseLabel3} @CRASH1_27738 {caseNum4} 3 {caseLabel4} @CRASH1_27787 {caseNum5} 4 {caseLabel5} @CRASH1_27836 {caseNum6} -1 {caseLabel6} @CRASH1_27885 {caseNum7} -1 {caseLabel7} @CRASH1_27885

:CRASH1_27607
if 
  not Char.IsPlayingAnim(95@, "BD_PANIC_LOOP")
goto_if_false @CRASH1_27682
Task.PlayAnimNonInterruptable(95@, "BD_PANIC_LOOP", "BD_FIRE", 4.0, True, False, False, False, -1)

:CRASH1_27682
goto @CRASH1_27885

:CRASH1_27689
Task.PlayAnimNonInterruptable(95@, "BD_PANIC_01", "BD_FIRE", 1.0, False, False, False, False, -1)
goto @CRASH1_27885

:CRASH1_27738
Task.PlayAnimNonInterruptable(95@, "BD_PANIC_02", "BD_FIRE", 1.0, False, False, False, False, -1)
goto @CRASH1_27885

:CRASH1_27787
Task.PlayAnimNonInterruptable(95@, "BD_PANIC_03", "BD_FIRE", 1.0, False, False, False, False, -1)
goto @CRASH1_27885

:CRASH1_27836
Task.PlayAnimNonInterruptable(95@, "BD_PANIC_04", "BD_FIRE", 1.0, False, False, False, False, -1)
goto @CRASH1_27885

:CRASH1_27885
if 
  341@ == 0
goto_if_false @CRASH1_27905
return 

:CRASH1_27905
if and
  49@ <> 1
  49@ <> 2
  49@ <> 0
goto_if_false @CRASH1_27939
return 

:CRASH1_27939
if 
  211@ == 0
goto_if_false @CRASH1_28132
if or
  is_local_var_bit_set_const 54@ {n} 1
  is_local_var_bit_set_const 54@ {n} 2
goto_if_false @CRASH1_27996
clear_local_var_bit_const 54@ {n} 1
clear_local_var_bit_const 54@ {n} 2

:CRASH1_27996
if 
  49@ == 0
goto_if_false @CRASH1_28130
214@ = Math.RandomIntInRange(0, 3)
switch_start 214@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @CRASH1_28128 {caseNum1} 0 {caseLabel1} @CRASH1_28086 {caseNum2} 1 {caseLabel2} @CRASH1_28107 {caseNum3} -1 {caseLabel3} @CRASH1_28130 {caseNum4} -1 {caseLabel4} @CRASH1_28130 {caseNum5} -1 {caseLabel5} @CRASH1_28130 {caseNum6} -1 {caseLabel6} @CRASH1_28130 {caseNum7} -1 {caseLabel7} @CRASH1_28130

:CRASH1_28086
50@ = 1
gosub @CRASH1_32981
goto @CRASH1_28130

:CRASH1_28107
50@ = 2
gosub @CRASH1_32981
goto @CRASH1_28130

:CRASH1_28128
return 

:CRASH1_28130
return 

:CRASH1_28132
if and
  211@ >= 1
  4 >= 211@
goto_if_false @CRASH1_28244
if and
  48@ == 1
  Char.IsInArea3D($stattreadstamina_ctr, 2327.242, -1175.052, 24.6005, 2361.952, -1149.091, 28.2697, False)
goto_if_false @CRASH1_28244
if 
  49@ == 2
goto_if_false @CRASH1_28237
56@ = 0

:CRASH1_28237
gosub @CRASH1_33143

:CRASH1_28244
return 

:CRASH1_28246
Text.PrintNow('CRA1_07', 5000, 1)
$6698 = 100
set_lvar_int_to_lvar_int 202@ = 45@
202@ += 3000
Hud.DisplayCounterWithString($6698, CounterDisplay.Bar, 'CRA1_70')
337@ = 1
Char.SetHealth(95@, 100)
return 

:CRASH1_28317
if 
  Char.IsDead(95@)
goto_if_false @CRASH1_28335
return 

:CRASH1_28335
214@ = Char.GetHealth(95@)
if 
  is_int_lvar_greater_than_int_lvar 45@ > 202@
goto_if_false @CRASH1_28465
214@ -= 1
282@, 283@, 284@ = Char.GetCoordinates(95@)
215@ = World.GetNumberOfFiresInRange(282@, 283@, 284@, 1.2)
if and
  215@ > 0
  314@ == 1
goto_if_false @CRASH1_28449
set_lvar_int_to_lvar_int 202@ = 45@
202@ += 100
goto @CRASH1_28465

:CRASH1_28449
set_lvar_int_to_lvar_int 202@ = 45@
202@ += 3000

:CRASH1_28465
if 
  0 > 214@
goto_if_false @CRASH1_28490
214@ = 0

:CRASH1_28490
if 
  214@ == 0
goto_if_false @CRASH1_28605
Char.ClearTasksImmediately(95@)
ScriptFire.Remove(139@)
139@ = ScriptFire.CreateCharFire(95@)
Char.SetHealth(95@, 20)
Task.Die(95@)
Char.FreezePosition(95@, False)
211@ = 99
Hud.ClearCounter($6698)
Text.PrintNow('CRA1_50', 5000, 1)
340@ = 1
285@ = 180.0
Char.SetHeading(95@, 285@)
goto @CRASH1_28613

:CRASH1_28605
Char.SetHealth(95@, 214@)

:CRASH1_28613
set_var_int_to_lvar_int $6698 = 214@
return 

:CRASH1_28623
282@ = 2342.742
283@ = -1184.731
284@ = 1026.977
285@ = 274.3023
96@ = Char.Create(PedType.Gang8, 110, 282@, 283@, 284@)
Char.SetHasUsedEntryExit(96@, 2352.114, -1170.61, 2.0)
Char.SetAreaVisible(96@, 5)
Char.SetHeading(96@, 285@)
Char.SetDecisionMaker(96@, 180@)
Char.SetHealth(96@, 20)
Char.SetMaxHealth(96@, 100)
Char.SetRelationship(96@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(96@, 5)
140@ = ScriptFire.CreateCharFire(96@)
Task.Dead(96@)
188@ = 0
282@ = 2322.563
283@ = -1185.218
284@ = 1026.977
285@ = 292.9689
97@ = Char.Create(PedType.Gang8, 108, 282@, 283@, 284@)
Char.SetHasUsedEntryExit(97@, 2352.114, -1170.61, 2.0)
Char.SetAreaVisible(97@, 5)
Char.SetHeading(97@, 285@)
Char.SetDecisionMaker(97@, 180@)
Char.SetHealth(97@, 20)
Char.SetMaxHealth(97@, 100)
Char.SetRelationship(97@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(97@, 5)
141@ = ScriptFire.CreateCharFire(97@)
Task.Dead(97@)
189@ = 0
360@ = 1
return 

:CRASH1_28934
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Char.SetCoordinates($stattreadstamina_ctr, 2344.535, -1181.745, 1030.961)
Char.SetHeading($stattreadstamina_ctr, 359.8736)
Camera.SetFixedPosition(2344.624, -1185.354, 1033.783, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2344.695, -1184.373, 1033.602, SwitchType.JumpCut)
192@ = 4
gosub @CRASH1_24873
191@ = 1
gosub @CRASH1_24064
return 

:CRASH1_29056
213@ = 0

:CRASH1_29063
Char.RemoveElegantly(87@(213@,5i))
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_29063
213@ = 0

:CRASH1_29100
Char.RemoveElegantly(92@(213@,2i))
213@ += 1
  213@ >= 2
goto_if_false @CRASH1_29100
return 

:CRASH1_29132
switch_start 190@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CRASH1_29657 {caseNum1} -1 {caseLabel1} @CRASH1_29195 {caseNum2} 0 {caseLabel2} @CRASH1_29250 {caseNum3} 1 {caseLabel3} @CRASH1_29382 {caseNum4} 2 {caseLabel4} @CRASH1_29466 {caseNum5} 3 {caseLabel5} @CRASH1_29492 {caseNum6} -1 {caseLabel6} @CRASH1_29657 {caseNum7} -1 {caseLabel7} @CRASH1_29657

:CRASH1_29195
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, 95@)
Char.SetNeverLeavesGroup(95@, True)
Char.ListenToPlayerGroupCommands(95@, False)
Task.FollowFootsteps(95@, $stattreadstamina_ctr)
Player.SetGroupToFollowAlways($statbike_temp, True)
190@ = 0
goto @CRASH1_29657

:CRASH1_29250
328@ = 0
if 
  314@ == 1
goto_if_false @CRASH1_29375
gosub @CRASH1_29659
if 
  328@ == 1
goto_if_false @CRASH1_29333
342@ = 1
Char.ClearTasksImmediately(95@)
Task.StandStill(95@, -2)
190@ = 1
goto @CRASH1_29375

:CRASH1_29333
40@ = Char.GetScriptTaskStatus(95@, 2128)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @CRASH1_29375
Char.ClearTasksImmediately(95@)
Task.FollowFootsteps(95@, $stattreadstamina_ctr)

:CRASH1_29375
goto @CRASH1_29657

:CRASH1_29382
328@ = 0
if 
  314@ == 1
goto_if_false @CRASH1_29459
gosub @CRASH1_29659
if 
  328@ == 0
goto_if_false @CRASH1_29459
Char.ClearTasksImmediately(95@)
Task.FollowFootsteps(95@, $stattreadstamina_ctr)
342@ = 0
190@ = 0

:CRASH1_29459
goto @CRASH1_29657

:CRASH1_29466
Char.ClearTasksImmediately(95@)
Task.StandStill(95@, -2)
190@ = 3
goto @CRASH1_29657

:CRASH1_29492
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 95@, 6.0, 6.0, 1.0, False)
goto_if_false @CRASH1_29650
328@ = 0
if 
  314@ == 1
goto_if_false @CRASH1_29650
gosub @CRASH1_29659
if 
  328@ == 0
goto_if_false @CRASH1_29600
Task.FollowFootsteps(95@, $stattreadstamina_ctr)
190@ = 0
goto @CRASH1_29650

:CRASH1_29600
220@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.StandStill(-1, -2)
Sequence.Close(220@)
Char.PerformSequence(95@, 220@)
Sequence.Clear(220@)
342@ = 1
190@ = 1

:CRASH1_29650
goto @CRASH1_29657

:CRASH1_29657
return 

:CRASH1_29659
switch_start 196@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CRASH1_31025 {caseNum1} 0 {caseLabel1} @CRASH1_29722 {caseNum2} 1 {caseLabel2} @CRASH1_29952 {caseNum3} 2 {caseLabel3} @CRASH1_30182 {caseNum4} 3 {caseLabel4} @CRASH1_30412 {caseNum5} 4 {caseLabel5} @CRASH1_30642 {caseNum6} -1 {caseLabel6} @CRASH1_31025 {caseNum7} -1 {caseLabel7} @CRASH1_31025

:CRASH1_29722
289@ = 2345.5
289@ -= 2.0
291@ = -1177.122
291@ -= 2.0
293@ = 1030.969
293@ -= 0.5
290@ = 2345.5
290@ += 2.0
292@ = -1177.122
292@ += 2.0
294@ = 1030.969
294@ += 1.5
if 
  Char.IsInArea3D(95@, 289@, 291@, 293@, 290@, 292@, 294@, False)
goto_if_false @CRASH1_29945
if 
  ScriptFire.DoesExist(163@)
goto_if_false @CRASH1_29938
if 
  ScriptFire.IsExtinguished(163@)
goto_if_false @CRASH1_29924
196@ += 1
goto @CRASH1_29931

:CRASH1_29924
328@ = 1

:CRASH1_29931
goto @CRASH1_29945

:CRASH1_29938
196@ += 1

:CRASH1_29945
goto @CRASH1_31025

:CRASH1_29952
289@ = 2342.795
289@ -= 2.0
291@ = -1184.971
291@ -= 2.0
293@ = 1030.969
293@ -= 0.5
290@ = 2342.795
290@ += 2.0
292@ = -1184.971
292@ += 2.0
294@ = 1030.969
294@ += 1.5
if 
  Char.IsInArea3D(95@, 289@, 291@, 293@, 290@, 292@, 294@, False)
goto_if_false @CRASH1_30175
if 
  ScriptFire.DoesExist(164@)
goto_if_false @CRASH1_30168
if 
  ScriptFire.IsExtinguished(164@)
goto_if_false @CRASH1_30154
196@ += 1
goto @CRASH1_30161

:CRASH1_30154
328@ = 1

:CRASH1_30161
goto @CRASH1_30175

:CRASH1_30168
196@ += 1

:CRASH1_30175
goto @CRASH1_31025

:CRASH1_30182
289@ = 2334.445
289@ -= 2.0
291@ = -1181.463
291@ -= 2.0
293@ = 1030.969
293@ -= 0.5
290@ = 2334.445
290@ += 2.0
292@ = -1181.463
292@ += 2.0
294@ = 1030.969
294@ += 1.5
if 
  Char.IsInArea3D(95@, 289@, 291@, 293@, 290@, 292@, 294@, False)
goto_if_false @CRASH1_30405
if 
  ScriptFire.DoesExist(165@)
goto_if_false @CRASH1_30398
if 
  ScriptFire.IsExtinguished(165@)
goto_if_false @CRASH1_30384
196@ += 1
goto @CRASH1_30391

:CRASH1_30384
328@ = 1

:CRASH1_30391
goto @CRASH1_30405

:CRASH1_30398
196@ += 1

:CRASH1_30405
goto @CRASH1_31025

:CRASH1_30412
289@ = 2325.854
289@ -= 2.5
291@ = -1182.636
291@ -= 2.5
293@ = 1026.984
293@ -= 0.5
290@ = 2325.854
290@ += 2.5
292@ = -1182.636
292@ += 2.5
294@ = 1026.984
294@ += 1.5
if 
  Char.IsInArea3D(95@, 289@, 291@, 293@, 290@, 292@, 294@, False)
goto_if_false @CRASH1_30635
if 
  ScriptFire.DoesExist(166@)
goto_if_false @CRASH1_30628
if 
  ScriptFire.IsExtinguished(166@)
goto_if_false @CRASH1_30614
196@ += 1
goto @CRASH1_30621

:CRASH1_30614
328@ = 1

:CRASH1_30621
goto @CRASH1_30635

:CRASH1_30628
196@ += 1

:CRASH1_30635
goto @CRASH1_31025

:CRASH1_30642
289@ = 2342.961
289@ -= 2.0
291@ = -1176.906
291@ -= 2.0
293@ = 1026.977
293@ -= 0.5
290@ = 2342.961
290@ += 2.0
292@ = -1176.906
292@ += 2.0
294@ = 1026.977
294@ += 1.5
if 
  Char.IsInArea3D(95@, 289@, 291@, 293@, 290@, 292@, 294@, False)
goto_if_false @CRASH1_31018
289@ = 2344.99
291@ = -1178.398
293@ = 1026.977
213@ = 0

:CRASH1_30835
if 
  ScriptFire.DoesExist(142@(213@,21i))
goto_if_false @CRASH1_30946
if 
  not ScriptFire.IsExtinguished(142@(213@,21i))
goto_if_false @CRASH1_30946
290@, 292@, 294@ = ScriptFire.GetCoords(142@(213@,21i))
295@ = Math.GetDistanceBetweenCoords3D(289@, 291@, 293@, 290@, 292@, 294@)
if 
  3.0 >= 295@
goto_if_false @CRASH1_30946
328@ = 1
return 

:CRASH1_30946
213@ += 1
  213@ >= 21
goto_if_false @CRASH1_30835
214@ = World.GetNumberOfFiresInRange(289@, 291@, 293@, 3.0)
if 
  214@ <> 0
goto_if_false @CRASH1_31011
328@ = 1

:CRASH1_31011
196@ += 1

:CRASH1_31018
goto @CRASH1_31025

:CRASH1_31025
return 

:CRASH1_31027
214@ = 0
switch_start 193@(214@,3i) {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @CRASH1_31468 {caseNum1} 0 {caseLabel1} @CRASH1_31101 {caseNum2} 1 {caseLabel2} @CRASH1_31108 {caseNum3} 2 {caseLabel3} @CRASH1_31213 {caseNum4} 3 {caseLabel4} @CRASH1_31317 {caseNum5} 4 {caseLabel5} @CRASH1_31378 {caseNum6} 5 {caseLabel6} @CRASH1_31461 {caseNum7} -1 {caseLabel7} @CRASH1_31468

:CRASH1_31101
goto @CRASH1_31468

:CRASH1_31108
Object.Delete(119@(214@,3i))
Streaming.MarkModelAsNoLongerNeeded(#BREAK_WALL_1A)
282@ = 2338.0
283@ = -1180.0
284@ = 1030.5
285@ = 90.0
119@(214@,3i) = Object.CreateNoOffset(#BD_FIRE1_O, 282@, 283@, 284@)
Object.SetHeading(119@(214@,3i), 285@)
193@(214@,3i) = 2
goto @CRASH1_31468

:CRASH1_31213
if 
  Object.DoesExist(119@(214@,3i))
goto_if_false @CRASH1_31310
if 
Object.PlayAnim(119@(214@,3i), "BD_FIRE1", "BD_FIRE", 1000.0, False, True)
goto_if_false @CRASH1_31299
193@(214@,3i) = 3
goto @CRASH1_31310

:CRASH1_31299
193@(214@,3i) = 4

:CRASH1_31310
goto @CRASH1_31468

:CRASH1_31317
295@ = Object.GetAnimCurrentTime(119@(214@,3i), "BD_FIRE1")
if 
  295@ == 1.0
goto_if_false @CRASH1_31371
193@(214@,3i) = 4

:CRASH1_31371
goto @CRASH1_31468

:CRASH1_31378
Object.Delete(119@(214@,3i))
Streaming.MarkModelAsNoLongerNeeded(#BD_FIRE1_O)
282@ = 2338.126
283@ = -1181.917
284@ = 1033.188
119@(214@,3i) = Object.CreateNoOffset(#BREAK_WALL_1B, 282@, 283@, 284@)
193@(214@,3i) = 5
goto @CRASH1_31468

:CRASH1_31461
goto @CRASH1_31468

:CRASH1_31468
return 

:CRASH1_31470
214@ = 1
switch_start 193@(214@,3i) {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CRASH1_31655 {caseNum1} 0 {caseLabel1} @CRASH1_31544 {caseNum2} 1 {caseLabel2} @CRASH1_31551 {caseNum3} 2 {caseLabel3} @CRASH1_31558 {caseNum4} 3 {caseLabel4} @CRASH1_31565 {caseNum5} 4 {caseLabel5} @CRASH1_31648 {caseNum6} -1 {caseLabel6} @CRASH1_31655 {caseNum7} -1 {caseLabel7} @CRASH1_31655

:CRASH1_31544
goto @CRASH1_31655

:CRASH1_31551
goto @CRASH1_31655

:CRASH1_31558
goto @CRASH1_31655

:CRASH1_31565
Object.Delete(119@(214@,3i))
Streaming.MarkModelAsNoLongerNeeded(#BREAK_WALL_2A)
282@ = 2330.402
283@ = -1179.15
284@ = 1030.55
119@(214@,3i) = Object.CreateNoOffset(#BREAK_WALL_2B, 282@, 283@, 284@)
193@(214@,3i) = 4
goto @CRASH1_31655

:CRASH1_31648
goto @CRASH1_31655

:CRASH1_31655
return 

:CRASH1_31657
214@ = 2
switch_start 193@(214@,3i) {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CRASH1_31842 {caseNum1} 0 {caseLabel1} @CRASH1_31731 {caseNum2} 1 {caseLabel2} @CRASH1_31738 {caseNum3} 2 {caseLabel3} @CRASH1_31745 {caseNum4} 3 {caseLabel4} @CRASH1_31752 {caseNum5} 4 {caseLabel5} @CRASH1_31835 {caseNum6} -1 {caseLabel6} @CRASH1_31842 {caseNum7} -1 {caseLabel7} @CRASH1_31842

:CRASH1_31731
goto @CRASH1_31842

:CRASH1_31738
goto @CRASH1_31842

:CRASH1_31745
goto @CRASH1_31842

:CRASH1_31752
Object.Delete(119@(214@,3i))
Streaming.MarkModelAsNoLongerNeeded(#BREAK_WALL_3A)
282@ = 2340.293
283@ = -1182.294
284@ = 1026.957
119@(214@,3i) = Object.CreateNoOffset(#BREAK_WALL_3B, 282@, 283@, 284@)
193@(214@,3i) = 4
goto @CRASH1_31842

:CRASH1_31835
goto @CRASH1_31842

:CRASH1_31842
return 

:CRASH1_31844
World.CreateEmergencyServicesCar(407, 2340.637, -1152.722, 25.9686)
return 

:CRASH1_31866
213@ = 0

:CRASH1_31873
if 
  343@(213@,2i) == 0
goto_if_false @CRASH1_31910
set_lvar_int_to_lvar_int 212@ = 213@
gosub @CRASH1_31933

:CRASH1_31910
213@ += 1
  213@ >= 2
goto_if_false @CRASH1_31873
return 

:CRASH1_31933
if 
  343@(212@,2i) == 1
goto_if_false @CRASH1_31957
return 

:CRASH1_31957
switch_start 212@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @CRASH1_32114 {caseNum1} 0 {caseLabel1} @CRASH1_32020 {caseNum2} 1 {caseLabel2} @CRASH1_32067 {caseNum3} -1 {caseLabel3} @CRASH1_32143 {caseNum4} -1 {caseLabel4} @CRASH1_32143 {caseNum5} -1 {caseLabel5} @CRASH1_32143 {caseNum6} -1 {caseLabel6} @CRASH1_32143 {caseNum7} -1 {caseLabel7} @CRASH1_32143

:CRASH1_32020
136@(212@,2i) = Pickup.CreateMoney(2338.551, -1186.939, 1027.977, 500, True)
343@(212@,2i) = 1
goto @CRASH1_32143

:CRASH1_32067
136@(212@,2i) = Pickup.CreateMoney(2348.184, -1173.164, 1031.977, 500, True)
343@(212@,2i) = 1
goto @CRASH1_32143

:CRASH1_32114
write_debug_with_int "ILLEGAL_CASH_PICKUP_ID" {_p2} 212@

:CRASH1_32143
return 

:CRASH1_32145
switch_start 48@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @CRASH1_32229 {caseNum1} 0 {caseLabel1} @CRASH1_32208 {caseNum2} 1 {caseLabel2} @CRASH1_32208 {caseNum3} 2 {caseLabel3} @CRASH1_32215 {caseNum4} 3 {caseLabel4} @CRASH1_32208 {caseNum5} 4 {caseLabel5} @CRASH1_32208 {caseNum6} -1 {caseLabel6} @CRASH1_32265 {caseNum7} -1 {caseLabel7} @CRASH1_32265

:CRASH1_32208
goto @CRASH1_32265

:CRASH1_32215
gosub @CRASH1_32405
goto @CRASH1_32265

:CRASH1_32229
write_debug "UNKNOWN_CONVERSATION_STATUS_ID"
return 

:CRASH1_32265
return 

:CRASH1_32267
if 
  is_int_lvar_equal_to_int_lvar 53@ == 52@
goto_if_false @CRASH1_32288
return 

:CRASH1_32288
214@ = 1
57@(214@,3i) = 1
Audio.LoadMissionAudio(214@, 60@(53@,9i))
53@ += 1
if 
  is_int_lvar_equal_to_int_lvar 53@ == 52@
goto_if_false @CRASH1_32346
return 

:CRASH1_32346
214@ += 1
if 
  214@ > 2
goto_if_false @CRASH1_32373
return 

:CRASH1_32373
57@(214@,3i) = 1
Audio.LoadMissionAudio(214@, 60@(53@,9i))
53@ += 1
return 

:CRASH1_32405
gosub @CRASH1_33674
if 
  48@ == 3
goto_if_false @CRASH1_32439
gosub @CRASH1_32673
return 

:CRASH1_32439
switch_start 57@(47@,3i) {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @CRASH1_32640 {caseNum1} 0 {caseLabel1} @CRASH1_32506 {caseNum2} 1 {caseLabel2} @CRASH1_32515 {caseNum3} 2 {caseLabel3} @CRASH1_32551 {caseNum4} 3 {caseLabel4} @CRASH1_32608 {caseNum5} -1 {caseLabel5} @CRASH1_32671 {caseNum6} -1 {caseLabel6} @CRASH1_32671 {caseNum7} -1 {caseLabel7} @CRASH1_32671

:CRASH1_32506
return 
goto @CRASH1_32671

:CRASH1_32515
if 
  not Audio.HasMissionAudioLoaded(47@)
goto_if_false @CRASH1_32533
return 

:CRASH1_32533
57@(47@,3i) = 2
goto @CRASH1_32671

:CRASH1_32551
Audio.PlayMissionAudio(47@)
if 
  56@ == 1
goto_if_false @CRASH1_32588
Text.PrintNow(69@(51@,9s), 10000, 1)

:CRASH1_32588
57@(47@,3i) = 3
return 
goto @CRASH1_32671

:CRASH1_32608
if 
  not Audio.HasMissionAudioFinished(47@)
goto_if_false @CRASH1_32626
return 

:CRASH1_32626
gosub @CRASH1_32726
goto @CRASH1_32671

:CRASH1_32640
write_debug "UNKNOWN_AUDIO_SLOT_STATUS"
return 

:CRASH1_32671
return 

:CRASH1_32673
214@ = 1

:CRASH1_32680
if 
  2 >= 214@
goto_if_false @CRASH1_32717
Audio.ClearMissionAudio(214@)
214@ += 1
goto @CRASH1_32680

:CRASH1_32717
gosub @CRASH1_32855
return 

:CRASH1_32726
57@(47@,3i) = 0
51@ += 1
if 
  is_int_lvar_equal_to_int_lvar 51@ == 52@
goto_if_false @CRASH1_32772
gosub @CRASH1_32855
return 

:CRASH1_32772
if 
  is_int_lvar_greater_than_int_lvar 52@ > 53@
goto_if_false @CRASH1_32821
57@(47@,3i) = 1
Audio.LoadMissionAudio(47@, 60@(53@,9i))
53@ += 1

:CRASH1_32821
47@ += 1
if 
  47@ > 2
goto_if_false @CRASH1_32853
47@ = 1

:CRASH1_32853
return 

:CRASH1_32855
set_local_var_bit_lvar 54@ {var_n} 49@
49@ = 0
48@ = 0
50@ = 0
47@ = 1
51@ = 0
52@ = 0
53@ = 0
214@ = 1

:CRASH1_32919
if 
  2 > 214@
goto_if_false @CRASH1_32962
57@(214@,3i) = 0
214@ += 1
goto @CRASH1_32919

:CRASH1_32962
Text.ClearSmallPrints
set_lvar_int_to_lvar_int 55@ = 45@
55@ += 120
return 

:CRASH1_32981
if 
  48@ <> 0
goto_if_false @CRASH1_33006
gosub @CRASH1_33172

:CRASH1_33006
if 
  is_int_lvar_greater_than_int_lvar 55@ > 45@
goto_if_false @CRASH1_33027
return 

:CRASH1_33027
55@ = 0
set_lvar_int_to_lvar_int 49@ = 50@
50@ = 0
47@ = 1
51@ = 0
52@ = 0
53@ = 0
56@ = 1
214@ = 1

:CRASH1_33091
if 
  2 > 214@
goto_if_false @CRASH1_33134
57@(214@,3i) = 0
214@ += 1
goto @CRASH1_33091

:CRASH1_33134
gosub @CRASH1_33201
return 

:CRASH1_33143
if 
  48@ <> 1
goto_if_false @CRASH1_33163
return 

:CRASH1_33163
48@ = 2
return 

:CRASH1_33172
if 
  48@ == 0
goto_if_false @CRASH1_33192
return 

:CRASH1_33192
gosub @CRASH1_32673
return 

:CRASH1_33201
switch_start 49@ {numCases} 17 {hasDefaultCase} 1 {defaultLabel} @CRASH1_33632 {caseNum1} 1 {caseLabel1} @CRASH1_33394 {caseNum2} 2 {caseLabel2} @CRASH1_33408 {caseNum3} 3 {caseLabel3} @CRASH1_33422 {caseNum4} 5 {caseLabel4} @CRASH1_33436 {caseNum5} 6 {caseLabel5} @CRASH1_33450 {caseNum6} 7 {caseLabel6} @CRASH1_33464 {caseNum7} 8 {caseLabel7} @CRASH1_33478
switch_continued 9 {caseLabel1} @CRASH1_33492 {caseNum2} 10 {caseLabel2} @CRASH1_33506 {caseNum3} 11 {caseLabel3} @CRASH1_33520 {caseNum4} 12 {caseLabel4} @CRASH1_33534 {caseNum5} 13 {caseLabel5} @CRASH1_33548 {caseNum6} 14 {caseLabel6} @CRASH1_33562 {caseNum7} 15 {caseLabel7} @CRASH1_33576 {caseNum8} 16 {caseLabel8} @CRASH1_33590 {caseNum9} 17 {caseLabel9} @CRASH1_33604
switch_continued 18 {caseLabel1} @CRASH1_33618 {caseNum2} -1 {caseLabel2} @CRASH1_33658 {caseNum3} -1 {caseLabel3} @CRASH1_33658 {caseNum4} -1 {caseLabel4} @CRASH1_33658 {caseNum5} -1 {caseLabel5} @CRASH1_33658 {caseNum6} -1 {caseLabel6} @CRASH1_33658 {caseNum7} -1 {caseLabel7} @CRASH1_33658 {caseNum8} -1 {caseLabel8} @CRASH1_33658 {caseNum9} -1 {caseLabel9} @CRASH1_33658

:CRASH1_33394
gosub @CRASH1_34116
goto @CRASH1_33658

:CRASH1_33408
gosub @CRASH1_34523
goto @CRASH1_33658

:CRASH1_33422
gosub @CRASH1_34749
goto @CRASH1_33658

:CRASH1_33436
gosub @CRASH1_34888
goto @CRASH1_33658

:CRASH1_33450
gosub @CRASH1_35028
goto @CRASH1_33658

:CRASH1_33464
gosub @CRASH1_35059
goto @CRASH1_33658

:CRASH1_33478
gosub @CRASH1_35090
goto @CRASH1_33658

:CRASH1_33492
gosub @CRASH1_35230
goto @CRASH1_33658

:CRASH1_33506
gosub @CRASH1_35261
goto @CRASH1_33658

:CRASH1_33520
gosub @CRASH1_35401
goto @CRASH1_33658

:CRASH1_33534
gosub @CRASH1_35866
goto @CRASH1_33658

:CRASH1_33548
gosub @CRASH1_35897
goto @CRASH1_33658

:CRASH1_33562
gosub @CRASH1_36074
goto @CRASH1_33658

:CRASH1_33576
gosub @CRASH1_36473
goto @CRASH1_33658

:CRASH1_33590
gosub @CRASH1_36504
goto @CRASH1_33658

:CRASH1_33604
gosub @CRASH1_36644
goto @CRASH1_33658

:CRASH1_33618
gosub @CRASH1_36675
goto @CRASH1_33658

:CRASH1_33632
write_debug "UNKNOWN_CONVERSATION"
return 

:CRASH1_33658
gosub @CRASH1_32267
48@ = 1
return 

:CRASH1_33674
switch_start 49@ {numCases} 15 {hasDefaultCase} 0 {defaultLabel} @CRASH1_33834 {caseNum1} 3 {caseLabel1} @CRASH1_33802 {caseNum2} 5 {caseLabel2} @CRASH1_33802 {caseNum3} 6 {caseLabel3} @CRASH1_33802 {caseNum4} 7 {caseLabel4} @CRASH1_33802 {caseNum5} 8 {caseLabel5} @CRASH1_33802 {caseNum6} 9 {caseLabel6} @CRASH1_33802 {caseNum7} 10 {caseLabel7} @CRASH1_33802
switch_continued 11 {caseLabel1} @CRASH1_33802 {caseNum2} 12 {caseLabel2} @CRASH1_33802 {caseNum3} 13 {caseLabel3} @CRASH1_33802 {caseNum4} 14 {caseLabel4} @CRASH1_33802 {caseNum5} 15 {caseLabel5} @CRASH1_33802 {caseNum6} 16 {caseLabel6} @CRASH1_33802 {caseNum7} 17 {caseLabel7} @CRASH1_33802 {caseNum8} 18 {caseLabel8} @CRASH1_33802 {caseNum9} -1 {caseLabel9} @CRASH1_33834

:CRASH1_33802
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @CRASH1_33827
48@ = 3
return 

:CRASH1_33827
goto @CRASH1_33834

:CRASH1_33834
switch_start 49@ {numCases} 16 {hasDefaultCase} 0 {defaultLabel} @CRASH1_33994 {caseNum1} 1 {caseLabel1} @CRASH1_33962 {caseNum2} 2 {caseLabel2} @CRASH1_33962 {caseNum3} 5 {caseLabel3} @CRASH1_33962 {caseNum4} 6 {caseLabel4} @CRASH1_33962 {caseNum5} 7 {caseLabel5} @CRASH1_33962 {caseNum6} 8 {caseLabel6} @CRASH1_33962 {caseNum7} 9 {caseLabel7} @CRASH1_33962
switch_continued 10 {caseLabel1} @CRASH1_33962 {caseNum2} 11 {caseLabel2} @CRASH1_33962 {caseNum3} 12 {caseLabel3} @CRASH1_33962 {caseNum4} 13 {caseLabel4} @CRASH1_33962 {caseNum5} 14 {caseLabel5} @CRASH1_33962 {caseNum6} 15 {caseLabel6} @CRASH1_33962 {caseNum7} 16 {caseLabel7} @CRASH1_33962 {caseNum8} 17 {caseLabel8} @CRASH1_33962 {caseNum9} 18 {caseLabel9} @CRASH1_33962

:CRASH1_33962
if 
  Char.IsDead(95@)
goto_if_false @CRASH1_33987
48@ = 3
return 

:CRASH1_33987
goto @CRASH1_33994

:CRASH1_33994
switch_start 49@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @CRASH1_34114 {caseNum1} 14 {caseLabel1} @CRASH1_34057 {caseNum2} -1 {caseLabel2} @CRASH1_34114 {caseNum3} -1 {caseLabel3} @CRASH1_34114 {caseNum4} -1 {caseLabel4} @CRASH1_34114 {caseNum5} -1 {caseLabel5} @CRASH1_34114 {caseNum6} -1 {caseLabel6} @CRASH1_34114 {caseNum7} -1 {caseLabel7} @CRASH1_34114

:CRASH1_34057
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CRASH1_34082
48@ = 3
return 

:CRASH1_34082
if 
  not Char.IsInAnyCar(95@)
goto_if_false @CRASH1_34107
48@ = 3
return 

:CRASH1_34107
goto @CRASH1_34114

:CRASH1_34114
return 

:CRASH1_34116
214@ = Math.RandomIntInRange(0, 9)
switch_start 214@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @CRASH1_34514 {caseNum1} 0 {caseLabel1} @CRASH1_34253 {caseNum2} 1 {caseLabel2} @CRASH1_34282 {caseNum3} 2 {caseLabel3} @CRASH1_34311 {caseNum4} 3 {caseLabel4} @CRASH1_34340 {caseNum5} 4 {caseLabel5} @CRASH1_34369 {caseNum6} 5 {caseLabel6} @CRASH1_34398 {caseNum7} 6 {caseLabel7} @CRASH1_34427
switch_continued 7 {caseLabel1} @CRASH1_34456 {caseNum2} 8 {caseLabel2} @CRASH1_34485 {caseNum3} -1 {caseLabel3} @CRASH1_34514 {caseNum4} -1 {caseLabel4} @CRASH1_34514 {caseNum5} -1 {caseLabel5} @CRASH1_34514 {caseNum6} -1 {caseLabel6} @CRASH1_34514 {caseNum7} -1 {caseLabel7} @CRASH1_34514 {caseNum8} -1 {caseLabel8} @CRASH1_34514 {caseNum9} -1 {caseLabel9} @CRASH1_34514

:CRASH1_34253
set_lvar_int_to_constant 60@ = 10600
set_lvar_text_label 69@s = 'CRA1_AA'
goto @CRASH1_34514

:CRASH1_34282
set_lvar_int_to_constant 60@ = 10601
set_lvar_text_label 69@s = 'CRA1_AB'
goto @CRASH1_34514

:CRASH1_34311
set_lvar_int_to_constant 60@ = 10602
set_lvar_text_label 69@s = 'CRA1_AC'
goto @CRASH1_34514

:CRASH1_34340
set_lvar_int_to_constant 60@ = 10603
set_lvar_text_label 69@s = 'CRA1_AD'
goto @CRASH1_34514

:CRASH1_34369
set_lvar_int_to_constant 60@ = 10604
set_lvar_text_label 69@s = 'CRA1_AE'
goto @CRASH1_34514

:CRASH1_34398
set_lvar_int_to_constant 60@ = 10605
set_lvar_text_label 69@s = 'CRA1_AF'
goto @CRASH1_34514

:CRASH1_34427
set_lvar_int_to_constant 60@ = 10606
set_lvar_text_label 69@s = 'CRA1_AG'
goto @CRASH1_34514

:CRASH1_34456
set_lvar_int_to_constant 60@ = 10607
set_lvar_text_label 69@s = 'CRA1_AH'
goto @CRASH1_34514

:CRASH1_34485
set_lvar_int_to_constant 60@ = 10609
set_lvar_text_label 69@s = 'CRA1_AJ'
goto @CRASH1_34514

:CRASH1_34514
52@ = 1
return 

:CRASH1_34523
214@ = Math.RandomIntInRange(0, 5)
switch_start 214@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CRASH1_34740 {caseNum1} 0 {caseLabel1} @CRASH1_34595 {caseNum2} 1 {caseLabel2} @CRASH1_34624 {caseNum3} 2 {caseLabel3} @CRASH1_34653 {caseNum4} 3 {caseLabel4} @CRASH1_34682 {caseNum5} 4 {caseLabel5} @CRASH1_34711 {caseNum6} -1 {caseLabel6} @CRASH1_34740 {caseNum7} -1 {caseLabel7} @CRASH1_34740

:CRASH1_34595
set_lvar_int_to_constant 60@ = 10610
set_lvar_text_label 69@s = 'CRA1_BA'
goto @CRASH1_34740

:CRASH1_34624
set_lvar_int_to_constant 60@ = 10611
set_lvar_text_label 69@s = 'CRA1_BB'
goto @CRASH1_34740

:CRASH1_34653
set_lvar_int_to_constant 60@ = 10612
set_lvar_text_label 69@s = 'CRA1_BC'
goto @CRASH1_34740

:CRASH1_34682
set_lvar_int_to_constant 60@ = 10613
set_lvar_text_label 69@s = 'CRA1_BD'
goto @CRASH1_34740

:CRASH1_34711
set_lvar_int_to_constant 60@ = 10614
set_lvar_text_label 69@s = 'CRA1_BE'
goto @CRASH1_34740

:CRASH1_34740
52@ = 1
return 

:CRASH1_34749
214@ = Math.RandomIntInRange(0, 2)
switch_start 214@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @CRASH1_34879 {caseNum1} 0 {caseLabel1} @CRASH1_34821 {caseNum2} 1 {caseLabel2} @CRASH1_34850 {caseNum3} -1 {caseLabel3} @CRASH1_34879 {caseNum4} -1 {caseLabel4} @CRASH1_34879 {caseNum5} -1 {caseLabel5} @CRASH1_34879 {caseNum6} -1 {caseLabel6} @CRASH1_34879 {caseNum7} -1 {caseLabel7} @CRASH1_34879

:CRASH1_34821
set_lvar_int_to_constant 60@ = 10620
set_lvar_text_label 69@s = 'CRA1_CA'
goto @CRASH1_34879

:CRASH1_34850
set_lvar_int_to_constant 60@ = 10621
set_lvar_text_label 69@s = 'CRA1_CB'
goto @CRASH1_34879

:CRASH1_34879
52@ = 1
return 

:CRASH1_34888
214@ = 0
set_lvar_int_to_constant 60@(214@,9i) = 10626
set_lvar_text_label 69@(214@,9s) = 'CRA1_EA'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10627
set_lvar_text_label 69@(214@,9s) = 'CRA1_EB'
214@ += 1
if 
  214@ > 9
goto_if_false @CRASH1_35018
write_debug "TOO_MANY_CONVERSATION_LINES"

:CRASH1_35018
set_lvar_int_to_lvar_int 52@ = 214@
return 

:CRASH1_35028
set_lvar_int_to_constant 60@ = 10628
set_lvar_text_label 69@s = 'CRA1_EC'
52@ = 1
return 

:CRASH1_35059
set_lvar_int_to_constant 60@ = 10629
set_lvar_text_label 69@s = 'CRA1_ED'
52@ = 1
return 

:CRASH1_35090
214@ = 0
set_lvar_int_to_constant 60@(214@,9i) = 10630
set_lvar_text_label 69@(214@,9s) = 'CRA1_FA'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10631
set_lvar_text_label 69@(214@,9s) = 'CRA1_FB'
214@ += 1
if 
  214@ > 9
goto_if_false @CRASH1_35220
write_debug "TOO_MANY_CONVERSATION_LINES"

:CRASH1_35220
set_lvar_int_to_lvar_int 52@ = 214@
return 

:CRASH1_35230
set_lvar_int_to_constant 60@ = 10632
set_lvar_text_label 69@s = 'CRA1_GA'
52@ = 1
return 

:CRASH1_35261
214@ = 0
set_lvar_int_to_constant 60@(214@,9i) = 10633
set_lvar_text_label 69@(214@,9s) = 'CRA1_GB'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10634
set_lvar_text_label 69@(214@,9s) = 'CRA1_GC'
214@ += 1
if 
  214@ > 9
goto_if_false @CRASH1_35391
write_debug "TOO_MANY_CONVERSATION_LINES"

:CRASH1_35391
set_lvar_int_to_lvar_int 52@ = 214@
return 

:CRASH1_35401
214@ = Math.RandomIntInRange(0, 11)
switch_start 214@ {numCases} 11 {hasDefaultCase} 0 {defaultLabel} @CRASH1_35857 {caseNum1} 0 {caseLabel1} @CRASH1_35538 {caseNum2} 1 {caseLabel2} @CRASH1_35567 {caseNum3} 2 {caseLabel3} @CRASH1_35596 {caseNum4} 3 {caseLabel4} @CRASH1_35625 {caseNum5} 4 {caseLabel5} @CRASH1_35654 {caseNum6} 5 {caseLabel6} @CRASH1_35683 {caseNum7} 6 {caseLabel7} @CRASH1_35712
switch_continued 7 {caseLabel1} @CRASH1_35741 {caseNum2} 8 {caseLabel2} @CRASH1_35770 {caseNum3} 9 {caseLabel3} @CRASH1_35799 {caseNum4} 10 {caseLabel4} @CRASH1_35828 {caseNum5} -1 {caseLabel5} @CRASH1_35857 {caseNum6} -1 {caseLabel6} @CRASH1_35857 {caseNum7} -1 {caseLabel7} @CRASH1_35857 {caseNum8} -1 {caseLabel8} @CRASH1_35857 {caseNum9} -1 {caseLabel9} @CRASH1_35857

:CRASH1_35538
set_lvar_int_to_constant 60@ = 10635
set_lvar_text_label 69@s = 'CRA1_HA'
goto @CRASH1_35857

:CRASH1_35567
set_lvar_int_to_constant 60@ = 10636
set_lvar_text_label 69@s = 'CRA1_HB'
goto @CRASH1_35857

:CRASH1_35596
set_lvar_int_to_constant 60@ = 10637
set_lvar_text_label 69@s = 'CRA1_HC'
goto @CRASH1_35857

:CRASH1_35625
set_lvar_int_to_constant 60@ = 10638
set_lvar_text_label 69@s = 'CRA1_HD'
goto @CRASH1_35857

:CRASH1_35654
set_lvar_int_to_constant 60@ = 10639
set_lvar_text_label 69@s = 'CRA1_HE'
goto @CRASH1_35857

:CRASH1_35683
set_lvar_int_to_constant 60@ = 10640
set_lvar_text_label 69@s = 'CRA1_HF'
goto @CRASH1_35857

:CRASH1_35712
set_lvar_int_to_constant 60@ = 10641
set_lvar_text_label 69@s = 'CRA1_HG'
goto @CRASH1_35857

:CRASH1_35741
set_lvar_int_to_constant 60@ = 10642
set_lvar_text_label 69@s = 'CRA1_HH'
goto @CRASH1_35857

:CRASH1_35770
set_lvar_int_to_constant 60@ = 10643
set_lvar_text_label 69@s = 'CRA1_HJ'
goto @CRASH1_35857

:CRASH1_35799
set_lvar_int_to_constant 60@ = 10644
set_lvar_text_label 69@s = 'CRA1_HK'
goto @CRASH1_35857

:CRASH1_35828
set_lvar_int_to_constant 60@ = 10645
set_lvar_text_label 69@s = 'CRA1_HL'
goto @CRASH1_35857

:CRASH1_35857
52@ = 1
return 

:CRASH1_35866
set_lvar_int_to_constant 60@ = 10646
set_lvar_text_label 69@s = 'CRA1_JA'
52@ = 1
return 

:CRASH1_35897
214@ = 0
set_lvar_int_to_constant 60@(214@,9i) = 10647
set_lvar_text_label 69@(214@,9s) = 'CRA1_JB'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10648
set_lvar_text_label 69@(214@,9s) = 'CRA1_JC'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10649
set_lvar_text_label 69@(214@,9s) = 'CRA1_JD'
214@ += 1
if 
  214@ > 9
goto_if_false @CRASH1_36064
write_debug "TOO_MANY_CONVERSATION_LINES"

:CRASH1_36064
set_lvar_int_to_lvar_int 52@ = 214@
return 

:CRASH1_36074
214@ = 0
set_lvar_int_to_constant 60@(214@,9i) = 10650
set_lvar_text_label 69@(214@,9s) = 'CRA1_KA'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10651
set_lvar_text_label 69@(214@,9s) = 'CRA1_KB'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10652
set_lvar_text_label 69@(214@,9s) = 'CRA1_KC'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10653
set_lvar_text_label 69@(214@,9s) = 'CRA1_KD'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10654
set_lvar_text_label 69@(214@,9s) = 'CRA1_KE'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10655
set_lvar_text_label 69@(214@,9s) = 'CRA1_KF'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10656
set_lvar_text_label 69@(214@,9s) = 'CRA1_KG'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10657
set_lvar_text_label 69@(214@,9s) = 'CRA1_KH'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10658
set_lvar_text_label 69@(214@,9s) = 'CRA1_KJ'
214@ += 1
if 
  214@ > 9
goto_if_false @CRASH1_36463
write_debug "TOO_MANY_CONVERSATION_LINES"

:CRASH1_36463
set_lvar_int_to_lvar_int 52@ = 214@
return 

:CRASH1_36473
set_lvar_int_to_constant 60@ = 10659
set_lvar_text_label 69@s = 'CRA1_LA'
52@ = 1
return 

:CRASH1_36504
214@ = 0
set_lvar_int_to_constant 60@(214@,9i) = 10660
set_lvar_text_label 69@(214@,9s) = 'CRA1_MA'
214@ += 1
set_lvar_int_to_constant 60@(214@,9i) = 10661
set_lvar_text_label 69@(214@,9s) = 'CRA1_MB'
214@ += 1
if 
  214@ > 9
goto_if_false @CRASH1_36634
write_debug "TOO_MANY_CONVERSATION_LINES"

:CRASH1_36634
set_lvar_int_to_lvar_int 52@ = 214@
return 

:CRASH1_36644
set_lvar_int_to_constant 60@ = 10662
set_lvar_text_label 69@s = 'CRA1_MC'
52@ = 1
return 

:CRASH1_36675
set_lvar_int_to_constant 60@ = 10663
set_lvar_text_label 69@s = 'CRA1_MD'
52@ = 1
return 

:CRASH1_36706
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @CRASH1_36755
46@ += 1
if 
  46@ > 2
goto_if_false @CRASH1_36753
46@ = 0

:CRASH1_36753
clear_all_view_variables 

:CRASH1_36755
214@ = Char.GetHealth($stattreadstamina_ctr)
if 
  not Char.IsDead(95@)
goto_if_false @CRASH1_36787
215@ = Char.GetHealth(95@)

:CRASH1_36787
if 
  46@ == 1
goto_if_false @CRASH1_37000
set_var_int_to_lvar_int $6699 = 34@
set_var_int_to_lvar_int $6700 = 35@
set_var_int_to_lvar_int $6701 = 45@
set_var_int_to_lvar_int $6702 = 214@
set_var_int_to_lvar_int $tripskip_c3flag = 215@
set_var_int_to_lvar_int $ryd1_time_to_daylight = 190@
$ryd1_noise_bar = 0
$ryd1_text = 0
view_integer_variable $ryd1_noise_bar {_p2} "IGNORE"
view_integer_variable $ryd1_text {_p2} "IGNORE"
view_integer_variable $6699 {_p2} "M_STAGE"
view_integer_variable $6700 {_p2} "M_GOALS"
view_integer_variable $6701 {_p2} "M_MISSION_TIMER"
view_integer_variable $6702 {_p2} "PLAYER_HEALTH"
view_integer_variable $tripskip_c3flag {_p2} "COOCHIE_HEALTH"
view_integer_variable $ryd1_time_to_daylight {_p2} "AICOOCHIE"

:CRASH1_37000
if 
  46@ == 2
goto_if_false @CRASH1_37018

:CRASH1_37018
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @CRASH1_37040
38@ = 1

:CRASH1_37040
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @CRASH1_37128
if 
  39@ == 0
goto_if_false @CRASH1_37103
39@ = 1
write_debug "LEVEL_PAUSED"
goto @CRASH1_37128

:CRASH1_37103
39@ = 0
write_debug "LEVEL_UNPAUSED"

:CRASH1_37128
return 

:CRASH1_37130
if 
  not is_ps2_keyboard_key_just_pressed 74
goto_if_false @CRASH1_37147
return 

:CRASH1_37147
if and
  34@ == 1
  3 > 35@
goto_if_false @CRASH1_37294
World.ClearArea(2311.234, -1150.613, 25.8027, 0.5, False)
Streaming.LoadScene(2311.234, -1150.613, 25.8027)
Char.SetHeading($stattreadstamina_ctr, 266.3994)
Char.SetCoordinates($stattreadstamina_ctr, 2311.234, -1150.613, 25.8027)
Camera.SetBehindPlayer
Blip.Remove(122@)
Blip.Remove(128@)
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Molotov)
goto_if_false @CRASH1_37287
Pickup.Remove(132@)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Molotov, 20)

:CRASH1_37287
35@ = 3

:CRASH1_37294
if 
  34@ == 2
goto_if_false @CRASH1_37707
213@ = 0

:CRASH1_37319
if 
  302@(213@,5i) == 0
goto_if_false @CRASH1_37412
if 
  not Object.HasBeenDamaged(101@(213@,8i))
goto_if_false @CRASH1_37372
Object.Break(101@(213@,8i), 1)

:CRASH1_37372
302@(213@,5i) = 1
307@(213@,5i) = 1
Object.Delete(109@(213@,5i))
Blip.Remove(123@(213@,5i))

:CRASH1_37412
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_37319
209@ = 5
if 
  313@ == 1
goto_if_false @CRASH1_37504
213@ = 0

:CRASH1_37465
Pickup.Remove(133@(213@,2i))
Blip.Remove(129@(213@,2i))
213@ += 1
  213@ >= 2
goto_if_false @CRASH1_37465

:CRASH1_37504
if 
  312@ == 1
goto_if_false @CRASH1_37532
Pickup.Remove(132@)
Blip.Remove(128@)

:CRASH1_37532
if 
  355@ == 1
goto_if_false @CRASH1_37616
213@ = 0

:CRASH1_37557
if 
  not Char.IsDead(87@(213@,5i))
goto_if_false @CRASH1_37595
Char.ClearTasksImmediately(87@(213@,5i))
Task.Die(87@(213@,5i))

:CRASH1_37595
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_37557

:CRASH1_37616
if 
  357@ == 1
goto_if_false @CRASH1_37700
213@ = 0

:CRASH1_37641
if 
  not Char.IsDead(92@(213@,2i))
goto_if_false @CRASH1_37679
Char.ClearTasksImmediately(92@(213@,2i))
Task.Die(92@(213@,2i))

:CRASH1_37679
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_37641

:CRASH1_37700
gosub @CRASH1_38827

:CRASH1_37707
if and
  34@ == 4
  10 > 35@
goto_if_false @CRASH1_37896
327@ = 1
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Extinguisher)
goto_if_false @CRASH1_37772
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Extinguisher, 30000)
Blip.Remove(122@)

:CRASH1_37772
World.ClearArea(2336.51, -1181.342, 1030.969, 0.5, False)
Char.SetHeading($stattreadstamina_ctr, 279.3672)
Char.SetCoordinates($stattreadstamina_ctr, 2336.51, -1181.342, 1030.969)
Camera.SetBehindPlayer
347@ = 0
Char.SetProofs(95@, False, False, False, False, False)
if 
  49@ <> 0
goto_if_false @CRASH1_37875
gosub @CRASH1_33172

:CRASH1_37875
50@ = 8
gosub @CRASH1_32981
35@ = 11

:CRASH1_37896
if and
  34@ == 6
  8 > 35@
goto_if_false @CRASH1_38059
Blip.Remove(122@)
World.ClearArea(2350.36, -1180.56, 1026.977, 0.5, False)
Char.SetHeading($stattreadstamina_ctr, 266.3335)
Char.SetCoordinates($stattreadstamina_ctr, 2350.36, -1180.56, 1026.977)
Camera.SetBehindPlayer
if 
  not Char.IsDead(95@)
goto_if_false @CRASH1_38052
World.ClearArea(2349.07, -1181.505, 1026.983, 0.5, False)
Char.SetHeading(95@, 266.6129)
Char.SetCoordinates(95@, 2349.07, -1181.505, 1026.983)

:CRASH1_38052
35@ = 8

:CRASH1_38059
if and
  34@ == 7
  35@ == 2
goto_if_false @CRASH1_38226
World.ClearArea(2423.539, -1721.212, 12.9061, 0.5, False)
Char.SetHeading($stattreadstamina_ctr, 154.9302)
Char.SetCoordinates($stattreadstamina_ctr, 2423.539, -1721.212, 12.9061)
Camera.SetBehindPlayer
if 
  not Char.IsDead(95@)
goto_if_false @CRASH1_38226
if 
  not Char.IsInAnyCar(95@)
goto_if_false @CRASH1_38226
World.ClearArea(2419.168, -1718.171, 12.7866, 0.5, False)
Char.SetHeading(95@, 75.9556)
Char.SetCoordinates(95@, 2419.168, -1718.171, 12.7866)

:CRASH1_38226
return 

:CRASH1_38228
41@ += 1
if 
  41@ > 9
goto_if_false @CRASH1_38260
41@ = 0

:CRASH1_38260
return 

:CRASH1_38262
42@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 44@ = 42@
sub_int_lvar_from_int_lvar 44@ -= 43@
set_lvar_int_to_lvar_int 43@ = 42@
add_int_lvar_to_int_lvar 45@ += 44@
return 

:CRASH1_38301
219@ = Clock.GetGameTimer()
300@ = 0
if 
  is_int_lvar_greater_than_int_lvar 219@ > 198@
goto_if_false @CRASH1_38355
300@ = 1
set_lvar_int_to_lvar_int 198@ = 219@
198@ += 3000

:CRASH1_38355
return 

:CRASH1_38357
if 
  314@ == 1
goto_if_false @CRASH1_38489
214@ = Streaming.GetAreaVisible()
if 
  214@ <> 5
goto_if_false @CRASH1_38487
314@ = 0
316@ = 1
Player.DisableSprint($statbike_temp, False)
197@ = 3
gosub @CRASH1_25459
Weather.SetHeathazeEffect(False)
if 
  34@ == 5
goto_if_false @CRASH1_38469
192@ = 5
gosub @CRASH1_24873

:CRASH1_38469
191@ = 5
gosub @CRASH1_23203
Hud.SetRadarZoom(0)

:CRASH1_38487
return 

:CRASH1_38489
if 
  314@ == 0
goto_if_false @CRASH1_38825
214@ = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  316@ == 1
goto_if_false @CRASH1_38567
if 
  214@ == 5
goto_if_false @CRASH1_38560
return 
goto @CRASH1_38567

:CRASH1_38560
316@ = 0

:CRASH1_38567
if 
  214@ == 5
goto_if_false @CRASH1_38825
v$fDanceCameraX = Char.GetNameOfEntryExitUsed($stattreadstamina_ctr)
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "GANG"
goto_if_false @CRASH1_38825
314@ = 1
315@ = 1
323@ = 0
203@ = 0
Player.DisableSprint($statbike_temp, True)
197@ = 2
gosub @CRASH1_25459
Weather.SetHeathazeEffect(True)
set_char_fire_damage_multiplier $stattreadstamina_ctr {_p2} 0.3
Path.SwitchPedRoadsOn(2300.0, -1200.0, 1000.0, 2370.0, -1160.0, 1050.0)
191@ = 0
gosub @CRASH1_24064
if 
  34@ == 4
goto_if_false @CRASH1_38756
192@ = 4
gosub @CRASH1_24873

:CRASH1_38756
if 
  34@ == 5
goto_if_false @CRASH1_38788
192@ = 6
gosub @CRASH1_24873

:CRASH1_38788
gosub @CRASH1_31866
Hud.SetRadarZoom(50)
Game.ShowBlipsOnAllLevels(True)
Text.ClearThisPrint('CRA1_06')
Text.ClearThisPrint('CRA1_10')

:CRASH1_38825
return 

:CRASH1_38827
34@ += 1
35@ = 0
TIMERA = 0
TIMERB = 0
return 

:CRASH1_38857
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CRASH1_38872
if 
  Camera.GetFadingStatus
goto_if_false @CRASH1_38896
wait 0
goto @CRASH1_38872

:CRASH1_38896
Streaming.SetAreaVisible(17)
Char.SetCoordinates($stattreadstamina_ctr, 1038.17, -1335.221, 12.5493)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Cutscene.Load('CRASH1A')

:CRASH1_38941
if 
  not Cutscene.HasLoaded
goto_if_false @CRASH1_38965
wait 0
goto @CRASH1_38941

:CRASH1_38965
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:CRASH1_38982
if 
  not Cutscene.HasFinished
goto_if_false @CRASH1_39006
wait 0
goto @CRASH1_38982

:CRASH1_39006
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:CRASH1_39020
if 
  Camera.GetFadingStatus
goto_if_false @CRASH1_39044
wait 0
goto @CRASH1_39020

:CRASH1_39044
Cutscene.Clear
Streaming.SetAreaVisible(0)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
return 

:CRASH1_39065
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @CRASH1_39092
wait 0
goto @CRASH1_39065

:CRASH1_39092
gosub @CRASH1_39285
gosub @CRASH1_39563
World.ClearArea(1038.17, -1335.221, 12.5493, 0.5, False)
Streaming.LoadScene(1038.17, -1335.221, 12.5493)
Char.SetCoordinates($stattreadstamina_ctr, 1038.17, -1335.221, 12.5493)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetBehindPlayer
100@ = Car.Create(596, 1032.438, -1330.931, 12.3864)
Car.SetHeading(100@, 270.0)
Car.LockDoors(100@, CarLock.Unlocked)
Car.MarkAsNoLongerNeeded(100@)
World.SwitchEntryExit('GANG', False)
Object.Delete($trapdoor_a51)
Group.Remove($flag_cell_nation)
Player.SetGroupRecruitment($statbike_temp, False)
$cs1_race_is_go = 1
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)
gosub @CRASH1_38827
return 

:CRASH1_39285
Streaming.RequestModel(412)
Streaming.RequestModel(596)
Streaming.RequestModel(108)
Streaming.RequestModel(109)
Streaming.RequestModel(110)
Streaming.RequestModel(195)
Streaming.RequestModel(346)
Streaming.RequestModel(344)
Streaming.RequestModel(366)
Streaming.RequestModel(#BREAK_WALL_1A)
Streaming.RequestModel(#BREAK_WALL_2A)
Streaming.RequestModel(#BREAK_WALL_3A)
Streaming.RequestModel(#BREAK_WALL_1B)
Streaming.RequestModel(#BREAK_WALL_2B)
Streaming.RequestModel(#BREAK_WALL_3B)
Streaming.RequestModel(#BD_FIRE1_O)
Streaming.RequestModel(#CR_AMMOBOX)
Streaming.LoadAllModelsNow

:CRASH1_39369
if or
  not Streaming.HasModelLoaded(412)
  not Streaming.HasModelLoaded(596)
goto_if_false @CRASH1_39401
wait 0
goto @CRASH1_39369

:CRASH1_39401
if or
  not Streaming.HasModelLoaded(108)
  not Streaming.HasModelLoaded(109)
  not Streaming.HasModelLoaded(110)
  not Streaming.HasModelLoaded(195)
goto_if_false @CRASH1_39440
wait 0
goto @CRASH1_39401

:CRASH1_39440
if or
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(344)
  not Streaming.HasModelLoaded(366)
goto_if_false @CRASH1_39477
wait 0
goto @CRASH1_39440

:CRASH1_39477
if or
  not Streaming.HasModelLoaded(#BREAK_WALL_1B)
  not Streaming.HasModelLoaded(#BREAK_WALL_2B)
  not Streaming.HasModelLoaded(#BREAK_WALL_3B)
  not Streaming.HasModelLoaded(#BD_FIRE1_O)
goto_if_false @CRASH1_39519
wait 0
goto @CRASH1_39477

:CRASH1_39519
if or
  not Streaming.HasModelLoaded(#CR_AMMOBOX)
  not Streaming.HasModelLoaded(#BREAK_WALL_1A)
  not Streaming.HasModelLoaded(#BREAK_WALL_2A)
  not Streaming.HasModelLoaded(#BREAK_WALL_3A)
goto_if_false @CRASH1_39561
wait 0
goto @CRASH1_39519

:CRASH1_39561
return 

:CRASH1_39563
Streaming.RequestAnimation("BD_FIRE")

:CRASH1_39574
if 
  not Streaming.HasAnimationLoaded("BD_FIRE")
goto_if_false @CRASH1_39607
wait 0
goto @CRASH1_39574

:CRASH1_39607
return 

:CRASH1_39609
282@ = 2351.237
283@ = -1161.075
284@ = 27.4175
285@ = 268.343
World.ClearArea(282@, 283@, 284@, 10.0, False)
98@ = Car.Create(412, 282@, 283@, 284@)
Car.SetHeading(98@, 285@)
Car.OpenDoor(98@, CarDoor.Hood)
356@ = 1
return 

:CRASH1_39708
282@ = 2354.26
283@ = -1161.106
284@ = 26.4678
285@ = 80.3034
214@ = 0
87@(214@,5i) = Char.Create(PedType.Gang8, 110, 282@, 283@, 284@)
Char.SetHeading(87@(214@,5i), 285@)
Char.GiveWeapon(87@(214@,5i), WeaponType.Pistol, 999)
Char.SetIsTargetPriority(87@(214@,5i), True)
Char.SetDecisionMaker(87@(214@,5i), 180@)
182@(214@,5i) = -1
282@ = 2349.739
283@ = -1165.192
284@ = 26.3933
285@ = 65.0946
214@ += 1
87@(214@,5i) = Char.Create(PedType.Gang8, 109, 282@, 283@, 284@)
Char.SetHeading(87@(214@,5i), 285@)
Char.GiveWeapon(87@(214@,5i), WeaponType.Pistol, 999)
Char.SetIsTargetPriority(87@(214@,5i), True)
Char.SetDecisionMaker(87@(214@,5i), 180@)
182@(214@,5i) = -1
282@ = 2354.245
283@ = -1170.401
284@ = 26.9609
285@ = 1.1416
214@ += 1
87@(214@,5i) = Char.Create(PedType.Gang8, 108, 282@, 283@, 284@)
Char.SetHeading(87@(214@,5i), 285@)
Char.GiveWeapon(87@(214@,5i), WeaponType.Pistol, 999)
Char.SetIsTargetPriority(87@(214@,5i), True)
Char.SetDecisionMaker(87@(214@,5i), 180@)
182@(214@,5i) = -1
282@ = 2315.006
283@ = -1189.825
284@ = 27.0045
285@ = 52.4876
214@ += 1
87@(214@,5i) = Char.Create(PedType.Gang8, 109, 282@, 283@, 284@)
Char.SetHeading(87@(214@,5i), 285@)
Char.GiveWeapon(87@(214@,5i), WeaponType.Pistol, 999)
Char.SetIsTargetPriority(87@(214@,5i), True)
Char.SetDecisionMaker(87@(214@,5i), 180@)
Char.SetAccuracy(87@(214@,5i), 15)
182@(214@,5i) = -1
282@ = 2349.953
283@ = -1204.126
284@ = 26.9609
285@ = 348.4
214@ += 1
87@(214@,5i) = Char.Create(PedType.Gang8, 108, 282@, 283@, 284@)
Char.SetHeading(87@(214@,5i), 285@)
Char.GiveWeapon(87@(214@,5i), WeaponType.Pistol, 999)
Char.SetIsTargetPriority(87@(214@,5i), True)
Char.SetDecisionMaker(87@(214@,5i), 180@)
182@(214@,5i) = -1
355@ = 1
return 

:CRASH1_40373
282@ = 2345.914
283@ = -1188.633
284@ = 28.969
214@ = 0
101@(214@,8i) = Object.CreateNoOffset(#BD_WINDOW, 282@, 283@, 284@)
282@ = 2336.023
283@ = -1188.633
284@ = 28.969
214@ += 1
101@(214@,8i) = Object.CreateNoOffset(#BD_WINDOW, 282@, 283@, 284@)
282@ = 2326.164
283@ = -1188.633
284@ = 28.969
214@ += 1
101@(214@,8i) = Object.CreateNoOffset(#BD_WINDOW, 282@, 283@, 284@)
282@ = 2345.977
283@ = -1170.977
284@ = 28.969
214@ += 1
101@(214@,8i) = Object.CreateNoOffset(#BD_WINDOW, 282@, 283@, 284@)
Object.SetHeading(101@(214@,8i), 180.0)
282@ = 2326.57
283@ = -1170.984
284@ = 28.953
214@ += 1
101@(214@,8i) = Object.CreateNoOffset(#BD_WINDOW, 282@, 283@, 284@)
Object.SetHeading(101@(214@,8i), 180.0)
282@ = 2345.977
283@ = -1170.977
284@ = 32.953
214@ += 1
101@(214@,8i) = Object.CreateNoOffset(#BD_WINDOW_SHATTER, 282@, 283@, 284@)
Object.SetHeading(101@(214@,8i), 180.0)
282@ = 2336.023
283@ = -1188.633
284@ = 32.961
214@ += 1
101@(214@,8i) = Object.CreateNoOffset(#BD_WINDOW, 282@, 283@, 284@)
282@ = 2345.914
283@ = -1188.633
284@ = 32.961
214@ += 1
101@(214@,8i) = Object.CreateNoOffset(#BD_WINDOW, 282@, 283@, 284@)
return 

:CRASH1_40881
114@ = Object.Create(#CR1_DOOR, 2352.851, -1171.027, 26.9669)
Object.SetHeading(114@, 90.0)
Object.SetDynamic(114@, False)
Object.SetCollisionDamageEffect(114@, False)
Object.SetProofs(114@, True, True, True, True, True)
return 

:CRASH1_40944
282@ = 2338.126
283@ = -1181.917
284@ = 1033.188
214@ = 0
119@(214@,3i) = Object.CreateNoOffset(#BREAK_WALL_1A, 282@, 283@, 284@)
Object.SetHeading(119@(214@,3i), 90.0)
193@(214@,3i) = 0
282@ = 2330.402
283@ = -1179.15
284@ = 1030.55
214@ += 1
119@(214@,3i) = Object.CreateNoOffset(#BREAK_WALL_2A, 282@, 283@, 284@)
193@(214@,3i) = 0
282@ = 2340.293
283@ = -1182.294
284@ = 1026.963
214@ += 1
119@(214@,3i) = Object.CreateNoOffset(#BREAK_WALL_3A, 282@, 283@, 284@)
Object.SetHeading(119@(214@,3i), 90.0)
193@(214@,3i) = 0
213@ = 0

:CRASH1_41186
Object.SetAreaVisible(119@(213@,3i), 5)
213@ += 1
  213@ >= 3
goto_if_false @CRASH1_41186
361@ = 1
return 

:CRASH1_41227
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if and
  340@ == 0
  359@ == 1
  Char.IsDead(95@)
goto_if_false @CRASH1_41289
Text.PrintNow('CRA1_51', 5000, 1)

:CRASH1_41289
return 

:CRASH1_41291
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('CRASH_1')
Stat.PlayerMadeProgress(1)
$introY += 1
set_global_var_bit_const $spray_help {n} 0
return 

:CRASH1_41349
if 
  355@ == 1
goto_if_false @CRASH1_41411
213@ = 0

:CRASH1_41374
Char.MarkAsNoLongerNeeded(87@(213@,5i))
213@ += 1
  213@ >= 5
goto_if_false @CRASH1_41374
355@ = 0

:CRASH1_41411
if 
  356@ == 1
goto_if_false @CRASH1_41441
Car.MarkAsNoLongerNeeded(98@)
356@ = 0

:CRASH1_41441
if 
  313@ == 1
goto_if_false @CRASH1_41512
213@ = 0

:CRASH1_41466
Pickup.Remove(133@(213@,2i))
Blip.Remove(129@(213@,2i))
213@ += 1
  213@ >= 2
goto_if_false @CRASH1_41466
313@ = 0

:CRASH1_41512
213@ = 0

:CRASH1_41519
Pickup.Remove(136@(213@,2i))
213@ += 1
  213@ >= 2
goto_if_false @CRASH1_41519
if 
  357@ == 1
goto_if_false @CRASH1_41616
Car.MarkAsNoLongerNeeded(99@)
213@ = 0

:CRASH1_41579
Char.MarkAsNoLongerNeeded(92@(213@,2i))
213@ += 1
  213@ >= 2
goto_if_false @CRASH1_41579
357@ = 0

:CRASH1_41616
if 
  358@ == 1
goto_if_false @CRASH1_41651
Char.MarkAsNoLongerNeeded(94@)
ScriptFire.Remove(138@)
358@ = 0

:CRASH1_41651
if 
  359@ == 1
goto_if_false @CRASH1_41696
Char.MarkAsNoLongerNeeded(95@)
Blip.Remove(131@)
Hud.ClearCounter($6698)
ScriptFire.Remove(139@)
359@ = 1

:CRASH1_41696
if 
  360@ == 1
goto_if_false @CRASH1_41731
Char.RemoveElegantly(96@)
Char.RemoveElegantly(97@)
360@ = 0

:CRASH1_41731
if 
  317@ == 1
goto_if_false @CRASH1_41761
Pickup.Remove(135@)
317@ = 0

:CRASH1_41761
Blip.Remove(122@)
Blip.Remove(128@)
Streaming.RemoveAnimation("BD_FIRE")
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRASH1_41843
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Molotov)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Extinguisher)
set_char_fire_damage_multiplier $stattreadstamina_ctr {_p2} 1.0
Player.DisableSprint($statbike_temp, False)
Player.SetGroupToFollowAlways($statbike_temp, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:CRASH1_41843
if 
  314@ == 1
goto_if_false @CRASH1_41875
197@ = 3
gosub @CRASH1_25459

:CRASH1_41875
197@ = 1
gosub @CRASH1_25459
197@ = 5
gosub @CRASH1_25459
Streaming.MarkModelAsNoLongerNeeded(412)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(407)
Streaming.MarkModelAsNoLongerNeeded(108)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(195)
Streaming.MarkModelAsNoLongerNeeded(277)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(344)
Streaming.MarkModelAsNoLongerNeeded(366)
Streaming.MarkModelAsNoLongerNeeded(#BREAK_WALL_1A)
Streaming.MarkModelAsNoLongerNeeded(#BREAK_WALL_2A)
Streaming.MarkModelAsNoLongerNeeded(#BREAK_WALL_3A)
Streaming.MarkModelAsNoLongerNeeded(#BREAK_WALL_1B)
Streaming.MarkModelAsNoLongerNeeded(#BREAK_WALL_2B)
Streaming.MarkModelAsNoLongerNeeded(#BREAK_WALL_3B)
Streaming.MarkModelAsNoLongerNeeded(#BD_FIRE1_O)
Streaming.MarkModelAsNoLongerNeeded(#CR_AMMOBOX)
Weather.SetHeathazeEffect(False)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
Hud.SetRadarZoom(0)
Player.DisableSprint($statbike_temp, False)
Game.SwitchEmergencyServices(True)
World.SwitchEntryExit('GANG', False)
Player.SetGroupRecruitment($statbike_temp, True)
$cs1_race_is_go = 0
$trapdoor_a51 = Object.Create(#CR1_DOOR, 2352.851, -1171.027, 26.9669)
Object.SetHeading($trapdoor_a51, 90.0)
Object.SetDynamic($trapdoor_a51, False)
Object.SetCollisionDamageEffect($trapdoor_a51, False)
Object.SetProofs($trapdoor_a51, True, True, True, True, True)
Object.DontRemove($trapdoor_a51)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 23---------------
// Originally: Gray Imports

:DRUGS3
script_name 'DRUGS3'
gosub @DRUGS3_47
if 
  has_deatharrest_been_executed 
goto_if_false @DRUGS3_38
gosub @DRUGS3_19343

:DRUGS3_38
gosub @DRUGS3_19417
terminate_this_script 

:DRUGS3_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('CRASH3')
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
World.ClearArea(1036.86, -1336.49, 20.0, 20.0, False)
Cutscene.Load('CRASH3A')

:DRUGS3_116
if 
  not Cutscene.HasLoaded
goto_if_false @DRUGS3_140
wait 0
goto @DRUGS3_116

:DRUGS3_140
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DRUGS3_149
if 
  not Cutscene.HasFinished
goto_if_false @DRUGS3_173
wait 0
goto @DRUGS3_149

:DRUGS3_173
Camera.DoFade(0, Fade.Out)

:DRUGS3_179
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS3_203
wait 0
goto @DRUGS3_179

:DRUGS3_203
Cutscene.Clear
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Streaming.RequestModel(530)
Streaming.RequestModel(414)
Streaming.RequestModel(353)
Streaming.RequestModel(#SEC_KEYPAD)
Streaming.RequestModel(#KMB_RAMP)
Streaming.RequestModel(429)
Streaming.RequestModel(461)
Streaming.RequestCarRecording(342)
Streaming.LoadAllModelsNow

:DRUGS3_260
if or
  not Streaming.HasModelLoaded(530)
  not Streaming.HasModelLoaded(414)
  not Streaming.HasCarRecordingBeenLoaded(342)
goto_if_false @DRUGS3_297
wait 0
goto @DRUGS3_260

:DRUGS3_297
if or
  not Streaming.HasModelLoaded(#SEC_KEYPAD)
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(#KMB_RAMP)
  not Streaming.HasModelLoaded(429)
  not Streaming.HasModelLoaded(461)
goto_if_false @DRUGS3_344
wait 0
goto @DRUGS3_297

:DRUGS3_344
Game.SetWantedMultiplier(0.1)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
52@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.ClearEventResponse(52@, 7)
DecisionMakerChar.AddEventResponse(52@, 7, 1000, 50.0, 50.0, 50.0, 50.0, True, True)
53@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
Char.SetCoordinates($stattreadstamina_ctr, 1038.0, -1339.0, 12.8)
Char.SetHeading($stattreadstamina_ctr, 1.0)
Camera.SetBehindPlayer
Streaming.LoadSceneInDirection(1038.0, -1340.99, 13.94, 1.0)
Camera.DoFade(1500, Fade.In)
141@ = 0
142@ = 0
143@ = 0
144@ = 0
145@ = 0
146@ = 0
147@ = 0
148@ = 0
149@ = 0
150@ = 0
151@ = 0
152@ = 0
153@ = 0
154@ = 0
155@ = 0
156@ = 0
157@ = 0
158@ = 0
159@ = 0
160@ = 0
161@ = 0
162@ = 0
163@ = 0
164@ = 0
165@ = 0
166@ = 0
167@ = 0
168@ = 0
169@ = 0
170@ = 0
171@ = 0
172@ = 0
173@ = 0
174@ = 0
175@ = 0
176@ = 0
177@ = 0
178@ = 0
179@ = 0
180@ = 0
181@ = 0
182@ = 0
183@ = 0
184@ = 0
185@ = 0
186@ = 0
187@ = 0
if 
  $6707 > 0
goto_if_false @DRUGS3_850
Skip.SetUp(2263.378, -2226.33, 12.4, 47.416)

:DRUGS3_850
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DRUGS3_876
goto @DRUGS3_19361

:DRUGS3_876
if 
  141@ == 0
goto_if_false @DRUGS3_937
137@ = Blip.AddForCoord(2247.639, -2202.144, 12.59)
Text.PrintNow('CSH3_1', 7000, 1)
141@ = 1

:DRUGS3_937
if 
  141@ == 1
goto_if_false @DRUGS3_3398
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2247.639, -2202.144, 3.0, 3.0, True)
goto_if_false @DRUGS3_3398
if 
  $6707 == 0
goto_if_false @DRUGS3_1018
$6707 = 1

:DRUGS3_1018
Skip.Clear
Player.SetControl($statbike_temp, False)
Game.SwitchEmergencyServices(False)
Camera.DoFade(500, Fade.Out)

:DRUGS3_1038
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS3_1062
wait 0
goto @DRUGS3_1038

:DRUGS3_1062
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @DRUGS3_1126
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Car.SetProofs($stealth_help_flag, False, True, True, False, False)
Car.SetHeading($stealth_help_flag, 128.0)
Car.SetHealth($stealth_help_flag, 2000)
goto @DRUGS3_1136

:DRUGS3_1126
Char.SetHeading($stattreadstamina_ctr, 128.0)

:DRUGS3_1136
World.ClearArea(2174.896, -2258.914, 150.0, 150.0, True)
Streaming.RequestModel(#IMCMPTRKDRL_LAS)
Streaming.RequestModel(#IMCMPTRKDRR_LAS)
Streaming.RequestModel(#IMCOMPMOVEDR1_LAS)
Streaming.RequestModel(50)
Streaming.RequestModel(346)
Streaming.RequestModel(#BARREL4)
Streaming.RequestCarRecording(310)
Streaming.RequestCarRecording(328)
Streaming.RequestCarRecording(329)
Streaming.RequestCarRecording(309)
Streaming.RequestCarRecording(347)
Streaming.LoadAllModelsNow

:DRUGS3_1216
if or
  not Streaming.HasModelLoaded(50)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(#BARREL4)
goto_if_false @DRUGS3_1252
wait 0
goto @DRUGS3_1216

:DRUGS3_1252
if or
  not Streaming.HasCarRecordingBeenLoaded(310)
  not Streaming.HasCarRecordingBeenLoaded(328)
  not Streaming.HasCarRecordingBeenLoaded(329)
  not Streaming.HasCarRecordingBeenLoaded(309)
goto_if_false @DRUGS3_1294
wait 0
goto @DRUGS3_1252

:DRUGS3_1294
if or
  not Streaming.HasCarRecordingBeenLoaded(347)
  not Streaming.HasModelLoaded(#IMCMPTRKDRL_LAS)
  not Streaming.HasModelLoaded(#IMCMPTRKDRR_LAS)
  not Streaming.HasModelLoaded(#IMCOMPMOVEDR1_LAS)
goto_if_false @DRUGS3_1336
wait 0
goto @DRUGS3_1294

:DRUGS3_1336
Streaming.LoadScene(2212.02, -2225.45, 12.24)
34@ = Object.Create(#IMCMPTRKDRL_LAS, 2192.925, -2231.824, 14.205)
35@ = Object.Create(#IMCMPTRKDRR_LAS, 2195.072, -2229.589, 14.205)
Object.SetHeading(34@, 135.0)
Object.SetHeading(35@, 85.0)
36@ = Object.Create(#IMCMPTRKDRL_LAS, 2200.184, -2224.419, 14.205)
37@ = Object.Create(#IMCMPTRKDRR_LAS, 2202.432, -2222.266, 14.205)
Object.SetHeading(36@, 135.0)
Object.SetHeading(37@, 85.0)
38@ = Object.Create(#IMCMPTRKDRL_LAS, 2207.766, -2217.281, 14.205)
39@ = Object.Create(#IMCMPTRKDRR_LAS, 2210.014, -2215.058, 14.205)
Object.SetHeading(38@, 135.0)
Object.SetHeading(39@, 85.0)
40@ = Object.Create(#IMCMPTRKDRL_LAS, 2215.096, -2210.761, 14.205)
41@ = Object.Create(#IMCMPTRKDRR_LAS, 2217.344, -2208.537, 14.205)
Object.SetHeading(40@, 135.0)
Object.SetHeading(41@, 85.0)
42@ = Object.CreateNoOffset(#KMB_RAMP, 2193.418, -2231.352, 14.183)
43@ = Object.CreateNoOffset(#KMB_RAMP, 2194.642, -2230.128, 14.183)
44@ = Object.CreateNoOffset(#KMB_RAMP, 2200.686, -2224.019, 14.183)
45@ = Object.CreateNoOffset(#KMB_RAMP, 2201.91, -2222.795, 14.183)
46@ = Object.CreateNoOffset(#KMB_RAMP, 2208.243, -2216.833, 14.183)
47@ = Object.CreateNoOffset(#KMB_RAMP, 2209.468, -2215.609, 14.183)
48@ = Object.CreateNoOffset(#KMB_RAMP, 2215.489, -2210.406, 14.183)
49@ = Object.CreateNoOffset(#KMB_RAMP, 2216.713, -2209.182, 14.183)
Object.SetRotation(42@, 0.0, 0.0, 45.0)
Object.SetRotation(43@, 0.0, 0.0, 45.0)
Object.SetRotation(44@, 0.0, 0.0, 45.0)
Object.SetRotation(45@, 0.0, 0.0, 45.0)
Object.SetRotation(46@, 0.0, 0.0, 45.0)
Object.SetRotation(47@, 0.0, 0.0, 45.0)
Object.SetRotation(48@, 0.0, 0.0, 45.0)
Object.SetRotation(49@, 0.0, 0.0, 45.0)
50@ = Object.CreateNoOffset(#IMCOMPMOVEDR1_LAS, 2178.073, -2254.384, 15.9)
Object.SetHeading(50@, 224.0)
51@ = Object.Create(#SEC_KEYPAD, 2174.896, -2258.914, 15.0)
Object.FreezePosition(51@, True)
Object.SetHeading(51@, 35.23)
Object.SetHealth(51@, 10)
Object.SetOnlyDamagedByPlayer(51@, True)
73@ = Object.Create(#BARREL4, 2187.538, -2255.581, 12.51)
Object.SetOnlyDamagedByPlayer(73@, True)
58@ = Car.Create(414, 2175.94, -2268.1, 12.66)
Car.SetHeading(58@, 48.24)
Car.SetHealth(58@, 450)
59@ = Car.Create(414, 2159.395, -2295.29, 12.688)
Car.SetHeading(59@, 44.51)
Car.SetHealth(59@, 450)
60@ = Car.Create(530, 2174.87, -2289.22, 12.06)
Car.SetHeading(60@, 321.59)
62@ = Char.CreateInsideCar(60@, PedType.Mission1, 50)
Car.SetStraightLineDistance(60@, 150)
Char.SetDecisionMaker(62@, 52@)
61@ = Car.Create(530, 2193.25, -2256.4, 12.25)
Car.SetHeading(61@, 266.92)
63@ = Char.CreateInsideCar(61@, PedType.Mission1, 50)
Car.SetStraightLineDistance(61@, 150)
Char.SetDecisionMaker(63@, 52@)
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_2503
if 
  not Char.IsDead(62@)
goto_if_false @DRUGS3_2503
if 
  Char.IsSittingInCar(62@, 60@)
goto_if_false @DRUGS3_2503
71@ = Object.Create(#BARREL4, 2179.18, -2270.92, -14.0)
Object.SetOnlyDamagedByPlayer(71@, True)
72@ = Object.Create(#BARREL4, 2179.18, -2270.92, -10.0)
Object.SetOnlyDamagedByPlayer(72@, True)
Object.AttachToCar(71@, 60@, 0.5, 0.3, 0.3, 0.0, 0.0, 0.0)
Object.AttachToCar(72@, 60@, -0.5, 0.3, 0.3, 0.0, 0.0, 0.0)
Task.CarDriveToCoord(62@, 60@, 2179.49, -2280.46, 14.03, 5.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)

:DRUGS3_2503
if 
  not Car.IsDead(61@)
goto_if_false @DRUGS3_2724
if 
  not Char.IsDead(63@)
goto_if_false @DRUGS3_2724
if 
  Char.IsInCar(63@, 61@)
goto_if_false @DRUGS3_2724
69@ = Object.Create(#BARREL4, 2179.18, -2270.92, -14.0)
Object.SetOnlyDamagedByPlayer(69@, True)
70@ = Object.Create(#BARREL4, 2179.18, -2270.92, -10.0)
Object.SetOnlyDamagedByPlayer(70@, True)
Object.AttachToCar(69@, 61@, 0.5, 0.3, 0.3, 0.0, 0.0, 0.0)
Object.AttachToCar(70@, 61@, -0.5, 0.3, 0.3, 0.0, 0.0, 0.0)
Task.CarDriveToCoord(63@, 61@, 2209.1, -2253.64, 12.25, 6.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)

:DRUGS3_2724
54@ = Car.Create(429, 2207.7, -2246.157, 12.597)
83@ = Char.CreateInsideCar(54@, PedType.Mission1, 50)
Char.SetDecisionMaker(83@, 52@)
55@ = Car.Create(461, 2212.9, -2241.6, 12.59)
84@ = Char.CreateInsideCar(55@, PedType.Mission1, 50)
Char.SetDecisionMaker(84@, 52@)
56@ = Car.Create(429, 2218.87, -2234.29, 12.6)
85@ = Char.CreateInsideCar(56@, PedType.Mission1, 50)
Char.SetDecisionMaker(85@, 52@)
57@ = Car.Create(461, 2224.3, -2228.19, 12.597)
86@ = Char.CreateInsideCar(57@, PedType.Mission1, 50)
Char.SetDecisionMaker(86@, 52@)
64@ = Char.Create(PedType.Mission1, 50, 2181.97, -2252.695, 13.82)
Char.SetHeading(64@, 231.26)
Char.GiveWeapon(64@, WeaponType.Mp5, 99999)
Char.SetDecisionMaker(64@, 52@)
Char.SetAccuracy(64@, 30)
65@ = Char.Create(PedType.Mission1, 50, 2189.65, -2250.05, 12.597)
Char.SetHeading(65@, 229.24)
Char.SetDecisionMaker(65@, 52@)
Char.GiveWeapon(65@, WeaponType.Pistol, 9999)
Char.SetAccuracy(65@, 30)
66@ = Char.Create(PedType.Mission1, 50, 2193.126, -2233.95, 12.59)
Char.SetHeading(66@, 249.77)
Char.SetDecisionMaker(66@, 52@)
Char.GiveWeapon(66@, WeaponType.Mp5, 9999)
Char.SetAccuracy(66@, 30)
67@ = Char.Create(PedType.Mission1, 50, 2199.71, -2257.841, 12.597)
Char.SetHeading(67@, 347.22)
Char.SetDecisionMaker(67@, 52@)
Char.GiveWeapon(67@, WeaponType.Pistol, 9999)
Char.SetAccuracy(67@, 30)
68@ = Char.Create(PedType.Mission1, 50, 2200.2, -2256.49, 12.597)
Char.SetHeading(68@, 168.1)
Task.ChatWithChar(67@, 68@, True, 1)
Char.SetDecisionMaker(68@, 52@)
Char.GiveWeapon(68@, WeaponType.Mp5, 9999)
Char.SetAccuracy(68@, 30)
Task.ChatWithChar(68@, 67@, False, 1)
Camera.SetFixedPosition(2256.623, -2213.522, 23.0389, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2255.702, -2213.833, 22.8027, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Camera.DoFade(500, Fade.In)
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_3391
if 
  not Car.IsDead(55@)
goto_if_false @DRUGS3_3391
if 
  not Car.IsDead(56@)
goto_if_false @DRUGS3_3391
if 
  not Car.IsDead(57@)
goto_if_false @DRUGS3_3391
Car.StartPlayback(55@, 310)
Car.StartPlayback(56@, 328)
Car.StartPlayback(57@, 329)
Car.StartPlayback(54@, 309)
Text.PrintNow('CSH3_2', 5000, 1)

:DRUGS3_3391
141@ = 2

:DRUGS3_3398
if 
  141@ == 2
goto_if_false @DRUGS3_3490
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_3483
if 
  Car.IsPlaybackGoingOn(54@)
goto_if_false @DRUGS3_3483
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_3483
Car.PausePlayback(54@)
TIMERA = 0
141@ = 3

:DRUGS3_3483
skip_cutscene_start_internal @DRUGS3_5144

:DRUGS3_3490
if 
  141@ == 3
goto_if_false @DRUGS3_3679
if 
  TIMERA > 5499
goto_if_false @DRUGS3_3679
Camera.SetFixedPosition(2207.014, -2244.207, 13.7376, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2206.333, -2243.486, 13.613, SwitchType.JumpCut)
if 
  not Char.IsDead(66@)
goto_if_false @DRUGS3_3628
Task.PlayAnim(66@, "HANDSUP", "PED", 4.0, False, False, False, False, -1)

:DRUGS3_3628
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_3679
if 
  Car.IsPlaybackGoingOn(54@)
goto_if_false @DRUGS3_3679
Car.UnpausePlayback(54@)
TIMERA = 0
141@ = 4

:DRUGS3_3679
if 
  141@ == 4
goto_if_false @DRUGS3_3833
if 
  TIMERA > 1799
goto_if_false @DRUGS3_3833
Camera.SetFixedPosition(2205.371, -2235.253, 14.1153, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2204.374, -2235.265, 14.0397, SwitchType.JumpCut)
if 
  not Char.IsDead(66@)
goto_if_false @DRUGS3_3819
Task.PlayAnim(66@, "ROADCROSS", "PED", 4.0, False, False, False, False, -1)

:DRUGS3_3819
TIMERA = 0
141@ = 5

:DRUGS3_3833
if 
  141@ == 5
goto_if_false @DRUGS3_4088
if 
  TIMERA > 3150
goto_if_false @DRUGS3_4088
Text.PrintNow('CSH3_3', 7000, 2)
Camera.SetFixedPosition(2210.3, -2254.067, 16.7105, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2209.311, -2254.181, 16.6143, SwitchType.JumpCut)
if 
  not Char.IsDead(68@)
goto_if_false @DRUGS3_3989
Task.PlayAnim(68@, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)

:DRUGS3_3989
if 
  not Char.IsDead(62@)
goto_if_false @DRUGS3_4074
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_4074
if 
  not Char.IsSittingInCar(62@, 60@)
goto_if_false @DRUGS3_4074
Task.CarDriveToCoord(62@, 60@, 2187.88, -2265.11, 12.6, 6.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)

:DRUGS3_4074
TIMERA = 0
141@ = 6

:DRUGS3_4088
if 
  TIMERA > 2999
goto_if_false @DRUGS3_5126
if 
  141@ == 6
goto_if_false @DRUGS3_5126
87@ = Char.Create(PedType.Mission1, 50, 2177.95, -2261.002, 13.818)
Char.SetHeading(87@, 45.4)
Char.SetDecisionMaker(87@, 52@)
Camera.SetFixedPosition(2187.079, -2255.27, 15.5563, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2186.082, -2255.316, 15.5002, SwitchType.JumpCut)
75@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2175.29, -2259.22, 14.8, MoveState.Run, -1)
Task.PlayAnim(-1, "ATM", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(75@)
Char.PerformSequence(87@, 75@)
Sequence.Clear(75@)
if 
  not Char.IsDead(64@)
goto_if_false @DRUGS3_4345
Task.PlayAnim(64@, "ROADCROSS", "PED", 4.0, False, False, False, False, -1)

:DRUGS3_4345
if 
  142@ <> 6
goto_if_false @DRUGS3_5119
wait 0
if 
  142@ == 0
goto_if_false @DRUGS3_4453
if 
  not Char.IsDead(87@)
goto_if_false @DRUGS3_4453
if 
  Char.LocateStoppedOnFoot2D(87@, 2175.29, -2259.22, 3.0, 3.0, False)
goto_if_false @DRUGS3_4453
TIMERB = 0
142@ = 1

:DRUGS3_4453
if 
  142@ == 1
goto_if_false @DRUGS3_4583
if 
  not Char.IsDead(87@)
goto_if_false @DRUGS3_4583
if 
  Char.LocateStoppedOnFoot2D(87@, 2175.29, -2259.22, 3.0, 3.0, False)
goto_if_false @DRUGS3_4583
if 
  TIMERB > 1000
goto_if_false @DRUGS3_4583
Task.AchieveHeading(87@, 308.1)
Audio.ReportMissionAudioEventAtObject(50@, 1035)
TIMERB = 0
159@ = 1
142@ = 2

:DRUGS3_4583
if 
  159@ == 1
goto_if_false @DRUGS3_4686
if 
  not Char.IsDead(87@)
goto_if_false @DRUGS3_4686
77@ = Char.GetScriptTaskStatus(87@, 1492)
if or
  is_int_lvar_equal_to_constant 77@ == 7
  TIMERB > 1000
goto_if_false @DRUGS3_4686
Task.GoStraightToCoord(87@, 2179.523, -2256.364, 14.81, MoveState.Run, 5000)
159@ = 2

:DRUGS3_4686
if 
  142@ == 2
goto_if_false @DRUGS3_4799
if 
  not Char.IsDead(87@)
goto_if_false @DRUGS3_4799
if 
  Object.DoesExist(50@)
goto_if_false @DRUGS3_4799
if 
  Object.Slide(50@, 2178.073, -2254.384, 19.7, 0.0, 0.0, 0.15, False)
goto_if_false @DRUGS3_4799
Audio.ReportMissionAudioEventAtObject(50@, 1036)
142@ = 3

:DRUGS3_4799
if 
  142@ == 3
goto_if_false @DRUGS3_4903
if 
  not Char.IsDead(87@)
goto_if_false @DRUGS3_4903
if 
  Char.LocateOnFoot2D(87@, 2179.522, -2256.364, 1.0, 1.0, False)
goto_if_false @DRUGS3_4903
Task.GoStraightToCoord(87@, 2173.5, -2250.35, 14.81, MoveState.Run, 5000)
142@ = 4

:DRUGS3_4903
if 
  142@ == 4
goto_if_false @DRUGS3_5015
if 
  not Char.IsDead(87@)
goto_if_false @DRUGS3_5015
if 
  Char.LocateOnFoot2D(87@, 2174.31, -2251.09, 1.0, 1.0, False)
goto_if_false @DRUGS3_5015
Task.GoStraightToCoord(87@, 2168.66, -2254.904, 14.59, MoveState.Run, 5000)
Audio.ReportMissionAudioEventAtObject(50@, 1035)
142@ = 5

:DRUGS3_5015
if 
  142@ == 5
goto_if_false @DRUGS3_5112
if 
  Object.DoesExist(50@)
goto_if_false @DRUGS3_5112
if 
  Object.Slide(50@, 2178.073, -2254.384, 15.9, 0.0, 0.0, 0.15, False)
goto_if_false @DRUGS3_5112
Audio.ReportMissionAudioEventAtObject(50@, 1036)
142@ = 6

:DRUGS3_5112
goto @DRUGS3_4345

:DRUGS3_5119
141@ = 7

:DRUGS3_5126
if 
  141@ == 7
goto_if_false @DRUGS3_6312

:DRUGS3_5144
skip_cutscene_end 
Camera.DoFade(500, Fade.Out)

:DRUGS3_5153
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS3_5177
wait 0
goto @DRUGS3_5153

:DRUGS3_5177
Audio.ReportMissionAudioEventAtObject(50@, 1036)
159@ = 0
Car.StopPlayback(54@)
Car.StopPlayback(55@)
Car.StopPlayback(56@)
Car.StopPlayback(57@)
Object.Delete(50@)
Object.Delete(42@)
Object.Delete(43@)
Object.Delete(44@)
Object.Delete(45@)
Object.Delete(46@)
Object.Delete(47@)
Object.Delete(48@)
Object.Delete(49@)
Object.Delete(34@)
Object.Delete(35@)
Object.Delete(36@)
Object.Delete(37@)
Object.Delete(38@)
Object.Delete(39@)
Object.Delete(40@)
Object.Delete(41@)
Car.Delete(54@)
Car.Delete(55@)
Car.Delete(56@)
Car.Delete(57@)
Car.Delete(60@)
Car.Delete(61@)
Char.Delete(62@)
Char.Delete(63@)
Object.Delete(69@)
Object.Delete(70@)
Object.Delete(71@)
Object.Delete(72@)
Char.Delete(83@)
Char.Delete(84@)
Char.Delete(85@)
Char.Delete(86@)
Char.Delete(87@)
World.ClearArea(2192.925, -2231.824, 100.0, 100.0, False)
34@ = Object.Create(#IMCMPTRKDRL_LAS, 2192.925, -2231.824, 14.205)
35@ = Object.Create(#IMCMPTRKDRR_LAS, 2195.072, -2229.589, 14.205)
Object.SetHeading(34@, 315.0)
Object.SetHeading(35@, 315.0)
36@ = Object.Create(#IMCMPTRKDRL_LAS, 2200.184, -2224.419, 14.205)
37@ = Object.Create(#IMCMPTRKDRR_LAS, 2202.432, -2222.266, 14.205)
Object.SetHeading(36@, 315.0)
Object.SetHeading(37@, 315.0)
38@ = Object.Create(#IMCMPTRKDRL_LAS, 2207.766, -2217.281, 14.205)
39@ = Object.Create(#IMCMPTRKDRR_LAS, 2210.014, -2215.058, 14.205)
Object.SetHeading(38@, 315.0)
Object.SetHeading(39@, 315.0)
40@ = Object.Create(#IMCMPTRKDRL_LAS, 2215.096, -2210.761, 14.205)
41@ = Object.Create(#IMCMPTRKDRR_LAS, 2217.344, -2208.537, 14.205)
Object.SetHeading(40@, 315.0)
Object.SetHeading(41@, 315.0)
50@ = Object.CreateNoOffset(#IMCOMPMOVEDR1_LAS, 2178.073, -2254.384, 15.9)
Object.SetHeading(50@, 224.0)
60@ = Car.Create(530, 2176.89, -2291.75, 12.25)
Car.SetHeading(60@, 321.59)
62@ = Char.CreateInsideCar(60@, PedType.Mission1, 50)
Char.GiveWeapon(62@, WeaponType.Pistol, 9999)
Char.SetAccuracy(62@, 30)
Car.SetStraightLineDistance(60@, 150)
Char.SetDecisionMaker(62@, 52@)
Car.SetHealth(60@, 600)
Car.SetOnlyDamagedByPlayer(60@, True)
61@ = Car.Create(530, 2210.81, -2253.72, 12.598)
Car.SetHeading(61@, 71.09)
63@ = Char.CreateInsideCar(61@, PedType.Mission1, 50)
Char.GiveWeapon(63@, WeaponType.Pistol, 9999)
Char.SetAccuracy(63@, 30)
Car.SetStraightLineDistance(61@, 150)
Char.SetDecisionMaker(63@, 52@)
Car.SetOnlyDamagedByPlayer(61@, True)
Car.SetHealth(61@, 600)
69@ = Object.Create(#BARREL4, 2179.18, -2270.92, -14.0)
70@ = Object.Create(#BARREL4, 2179.18, -2270.92, -10.0)
Object.SetOnlyDamagedByPlayer(69@, True)
Object.SetOnlyDamagedByPlayer(70@, True)
Object.AttachToCar(69@, 61@, 0.5, 0.3, 0.3, 0.0, 0.0, 0.0)
Object.AttachToCar(70@, 61@, -0.5, 0.3, 0.3, 0.0, 0.0, 0.0)
133@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2186.507, -2244.993, 15.81)
134@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2146.559, -2244.46, 13.58)
135@ = Pickup.Create(#HEALTH, PickupType.Once, 2158.82, -2232.747, 13.59)
Streaming.RequestModel(102)
Streaming.RequestModel(#IMY_BBOX)
Streaming.RequestAnimation("SWAT")
Streaming.RequestAnimation("DODGE")
Streaming.RequestCarRecording(347)
Streaming.LoadSpecialCharacter(1, 'ANDRE')
Streaming.LoadAllModelsNow

:DRUGS3_6144
if or
  not Streaming.HasModelLoaded(102)
  not Streaming.HasAnimationLoaded("SWAT")
  not Streaming.HasModelLoaded(#IMY_BBOX)
  not Streaming.HasCarRecordingBeenLoaded(347)
goto_if_false @DRUGS3_6188
wait 0
goto @DRUGS3_6144

:DRUGS3_6188
if or
  not Streaming.HasAnimationLoaded("DODGE")
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @DRUGS3_6223
wait 0
goto @DRUGS3_6188

:DRUGS3_6223
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Text.ClearPrints
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Blip.Remove(137@)
137@ = Blip.AddForCoord(2178.38, -2254.89, 13.81)
Camera.DoFade(500, Fade.In)
111@ = Object.CreateNoOffset(#IMY_LA_DOOR, 2118.088, -2274.635, 20.867)
Object.SetHeading(111@, 225.0)
141@ = 8

:DRUGS3_6312
if 
  141@ == 8
goto_if_false @DRUGS3_9925
if 
  149@ == 0
goto_if_false @DRUGS3_6434
if 
  Object.DoesExist(51@)
goto_if_false @DRUGS3_6434
if 
  not Object.HasBeenDamaged(51@)
goto_if_false @DRUGS3_6434
if 
  Char.LocateAnyMeansObject3D($stattreadstamina_ctr, 51@, 15.0, 15.0, 4.0, False)
goto_if_false @DRUGS3_6434
Text.PrintHelp('CSH3_7')
149@ = 1

:DRUGS3_6434
if 
  149@ == 1
goto_if_false @DRUGS3_6538
if 
  Object.DoesExist(51@)
goto_if_false @DRUGS3_6538
if 
  not Object.HasBeenDamaged(51@)
goto_if_false @DRUGS3_6538
if 
  Char.LocateAnyMeansObject3D($stattreadstamina_ctr, 51@, 5.0, 5.0, 4.0, False)
goto_if_false @DRUGS3_6538
Text.PrintHelp('CSH3_7')
149@ = 2

:DRUGS3_6538
if 
  149@ == 2
goto_if_false @DRUGS3_6631
if 
  Object.DoesExist(51@)
goto_if_false @DRUGS3_6631
if 
  not Object.HasBeenDamaged(51@)
goto_if_false @DRUGS3_6631
if 
  not Char.LocateAnyMeansObject3D($stattreadstamina_ctr, 51@, 5.0, 5.0, 4.0, False)
goto_if_false @DRUGS3_6631
149@ = 1

:DRUGS3_6631
if 
  Object.DoesExist(51@)
goto_if_false @DRUGS3_6672
if 
  Object.HasBeenDamaged(51@)
goto_if_false @DRUGS3_6672
Text.ClearPrints
141@ = 9

:DRUGS3_6672
if 
  147@ == 0
goto_if_false @DRUGS3_9007
if 
  144@ == 0
goto_if_false @DRUGS3_6783
if 
  145@ == 0
goto_if_false @DRUGS3_6783
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 2198.686, -2180.832, 2116.212, -2263.317, 82.0, False)
goto_if_false @DRUGS3_6783
144@ = 1
145@ = 1

:DRUGS3_6783
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 2172.36, -2207.176, 2116.212, -2263.317, 82.0, False)
goto_if_false @DRUGS3_6849
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRUGS3_6849
147@ = 1

:DRUGS3_6849
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 2198.686, -2180.832, 2116.212, -2263.317, 82.0, False)
goto_if_false @DRUGS3_6938
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @DRUGS3_6915
147@ = 1

:DRUGS3_6915
if 
  Player.IsTargetingAnything($statbike_temp)
goto_if_false @DRUGS3_6938
147@ = 1

:DRUGS3_6938
if 
  Char.DoesExist(62@)
goto_if_false @DRUGS3_6980
if 
  Char.HasBeenDamagedByChar(62@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_6980
147@ = 1

:DRUGS3_6980
if 
  Char.DoesExist(63@)
goto_if_false @DRUGS3_7022
if 
  Char.HasBeenDamagedByChar(62@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_7022
147@ = 1

:DRUGS3_7022
if 
  Char.DoesExist(64@)
goto_if_false @DRUGS3_7064
if 
  Char.HasBeenDamagedByChar(64@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_7064
147@ = 1

:DRUGS3_7064
if 
  Char.DoesExist(65@)
goto_if_false @DRUGS3_7106
if 
  Char.HasBeenDamagedByChar(65@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_7106
147@ = 1

:DRUGS3_7106
if 
  Char.DoesExist(66@)
goto_if_false @DRUGS3_7148
if 
  Char.HasBeenDamagedByChar(66@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_7148
147@ = 1

:DRUGS3_7148
if 
  Char.DoesExist(67@)
goto_if_false @DRUGS3_7190
if 
  Char.HasBeenDamagedByChar(67@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_7190
147@ = 1

:DRUGS3_7190
if 
  Char.DoesExist(68@)
goto_if_false @DRUGS3_7232
if 
  Char.HasBeenDamagedByChar(68@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_7232
147@ = 1

:DRUGS3_7232
if 
  145@ == 1
goto_if_false @DRUGS3_7350
if 
  not Char.IsDead(66@)
goto_if_false @DRUGS3_7350
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 2198.686, -2180.832, 2116.212, -2263.317, 82.0, False)
goto_if_false @DRUGS3_7350
Task.GotoCharOffset(66@, $stattreadstamina_ctr, -1, 1.5, 0.0)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 11008)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 11010)
145@ = 2

:DRUGS3_7350
if 
  145@ == 2
goto_if_false @DRUGS3_7436
if 
  not Char.IsDead(66@)
goto_if_false @DRUGS3_7436
if 
  Char.LocateAnyMeansChar2D(66@, $stattreadstamina_ctr, 5.0, 5.0, False)
goto_if_false @DRUGS3_7436
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot1, 66@)
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot2, 66@)
145@ = 3

:DRUGS3_7436
if 
  145@ == 3
goto_if_false @DRUGS3_7512
if 
  not Char.IsDead(66@)
goto_if_false @DRUGS3_7512
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS3_7512
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('CRA3_EA', 3000, 1)
145@ = 4

:DRUGS3_7512
if 
  145@ == 4
goto_if_false @DRUGS3_7609
if 
  not Char.IsDead(66@)
goto_if_false @DRUGS3_7609
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS3_7609
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS3_7609
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('CRA3_EC', 3000, 1)
145@ = 5

:DRUGS3_7609
if 
  145@ == 5
goto_if_false @DRUGS3_7658
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS3_7658
Text.ClearPrints
147@ = 1
145@ = 6

:DRUGS3_7658
if 
  144@ == 1
goto_if_false @DRUGS3_7784
if 
  not Car.IsDead(61@)
goto_if_false @DRUGS3_7784
if 
  not Char.IsDead(63@)
goto_if_false @DRUGS3_7784
if 
  Char.IsInCar(63@, 61@)
goto_if_false @DRUGS3_7784
if 
  Car.IsOnScreen(61@)
goto_if_false @DRUGS3_7784
Task.CarDriveToCoord(63@, 61@, 2195.84, -2251.522, 12.598, 5.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
144@ = 2

:DRUGS3_7784
if 
  144@ == 2
goto_if_false @DRUGS3_7965
if 
  not Char.IsDead(63@)
goto_if_false @DRUGS3_7965
if 
  not Car.IsDead(61@)
goto_if_false @DRUGS3_7965
if 
  Char.IsInCar(63@, 61@)
goto_if_false @DRUGS3_7965
if 
  Car.LocateStopped2D(61@, 2195.84, -2251.522, 3.0, 3.0, False)
goto_if_false @DRUGS3_7965
if 
  not Char.IsDead(63@)
goto_if_false @DRUGS3_7965
if 
  not Char.IsDead(65@)
goto_if_false @DRUGS3_7958
Task.LookAtChar(63@, 65@, 30000)
Task.GoStraightToCoord(65@, 2197.896, -2249.251, 12.59, MoveState.Walk, -1)

:DRUGS3_7958
144@ = 3

:DRUGS3_7965
if 
  144@ == 3
goto_if_false @DRUGS3_8097
if 
  not Char.IsDead(63@)
goto_if_false @DRUGS3_8097
if 
  Char.IsSittingInAnyCar(63@)
goto_if_false @DRUGS3_8097
if 
  not Char.IsDead(65@)
goto_if_false @DRUGS3_8097
if 
  Char.LocateStoppedOnFoot2D(65@, 2197.896, -2249.251, 3.0, 3.0, False)
goto_if_false @DRUGS3_8097
Task.TurnCharToFaceChar(65@, 63@)
Task.LookAtChar(63@, 65@, 60000)
144@ = 4

:DRUGS3_8097
if 
  144@ == 4
goto_if_false @DRUGS3_8244
if 
  not Char.IsDead(63@)
goto_if_false @DRUGS3_8244
if 
  Char.IsSittingInAnyCar(63@)
goto_if_false @DRUGS3_8244
if 
  not Char.IsDead(65@)
goto_if_false @DRUGS3_8244
if 
  Char.LocateStoppedOnFoot2D(65@, 2197.896, -2249.251, 3.0, 3.0, False)
goto_if_false @DRUGS3_8244
Task.PlayAnim(65@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
144@ = 5

:DRUGS3_8244
if 
  143@ == 0
goto_if_false @DRUGS3_8320
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_8320
if 
  not Char.IsDead(62@)
goto_if_false @DRUGS3_8320
if 
  Char.IsSittingInCar(62@, 60@)
goto_if_false @DRUGS3_8320
143@ = 1

:DRUGS3_8320
if 
  143@ == 1
goto_if_false @DRUGS3_8563
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_8563
if 
  not Char.IsDead(62@)
goto_if_false @DRUGS3_8563
if 
  Char.IsSittingInCar(62@, 60@)
goto_if_false @DRUGS3_8563
if 
  Streaming.HasCarRecordingBeenLoaded(347)
goto_if_false @DRUGS3_8563
Car.StartPlaybackLooped(60@, 347)
71@ = Object.Create(#BARREL4, 2179.18, -2270.92, -14.0)
72@ = Object.Create(#BARREL4, 2179.18, -2270.92, -10.0)
Object.AttachToCar(71@, 60@, 0.5, 0.3, 0.3, 0.0, 0.0, 0.0)
Object.AttachToCar(72@, 60@, -0.5, 0.3, 0.3, 0.0, 0.0, 0.0)
Object.SetOnlyDamagedByPlayer(71@, True)
Object.SetOnlyDamagedByPlayer(72@, True)
146@ = 1
143@ = 2

:DRUGS3_8563
if 
  143@ == 2
goto_if_false @DRUGS3_8662
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_8662
if 
  not Char.IsDead(62@)
goto_if_false @DRUGS3_8662
if 
  Char.IsSittingInCar(62@, 60@)
goto_if_false @DRUGS3_8662
if 
  not Car.IsPlaybackGoingOn(60@)
goto_if_false @DRUGS3_8662
TIMERA = 0
143@ = 3

:DRUGS3_8662
if 
  143@ == 3
goto_if_false @DRUGS3_8757
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_8757
if 
  not Char.IsDead(62@)
goto_if_false @DRUGS3_8757
if 
  Char.IsInCar(62@, 60@)
goto_if_false @DRUGS3_8757
if 
  TIMERA > 500
goto_if_false @DRUGS3_8757
143@ = 0

:DRUGS3_8757
if 
  146@ == 1
goto_if_false @DRUGS3_8881
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_8881
if 
  not Char.IsDead(62@)
goto_if_false @DRUGS3_8881
if 
  Char.IsSittingInCar(62@, 60@)
goto_if_false @DRUGS3_8881
if 
  Car.Locate2D(60@, 2179.18, -2270.92, 2.0, 2.0, False)
goto_if_false @DRUGS3_8881
Object.Delete(71@)
Object.Delete(72@)
146@ = 0

:DRUGS3_8881
if 
  4 > 143@
goto_if_false @DRUGS3_9007
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_8995
if 
  not Char.IsDead(62@)
goto_if_false @DRUGS3_8976
if 
  Char.IsSittingInCar(62@, 60@)
goto_if_false @DRUGS3_8957
goto @DRUGS3_8969

:DRUGS3_8957
Car.StopPlayback(60@)
143@ = 4

:DRUGS3_8969
goto @DRUGS3_8988

:DRUGS3_8976
Car.StopPlayback(60@)
143@ = 4

:DRUGS3_8988
goto @DRUGS3_9007

:DRUGS3_8995
Car.StopPlayback(60@)
143@ = 4

:DRUGS3_9007
if 
  147@ == 1
goto_if_false @DRUGS3_9461
if 
  not Char.IsDead(67@)
goto_if_false @DRUGS3_9086
set_lvar_int_to_lvar_int 112@ = 67@
116@ = 2203.12
117@ = -2264.767
118@ = 14.0
gosub @DRUGS3_18833

:DRUGS3_9086
if 
  not Char.IsDead(68@)
goto_if_false @DRUGS3_9147
set_lvar_int_to_lvar_int 112@ = 68@
116@ = 2188.586
117@ = -2258.273
118@ = 14.0
gosub @DRUGS3_18706

:DRUGS3_9147
if 
  not Char.IsDead(65@)
goto_if_false @DRUGS3_9208
set_lvar_int_to_lvar_int 112@ = 65@
116@ = 2207.985
117@ = -2244.51
118@ = 14.0
gosub @DRUGS3_18833

:DRUGS3_9208
if 
  not Char.IsDead(66@)
goto_if_false @DRUGS3_9232
Task.KillCharOnFoot(66@, $stattreadstamina_ctr)

:DRUGS3_9232
if 
  not Char.IsDead(64@)
goto_if_false @DRUGS3_9263
set_lvar_int_to_lvar_int 112@ = 64@
gosub @DRUGS3_18882

:DRUGS3_9263
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_9361
if 
  not Char.IsDead(62@)
goto_if_false @DRUGS3_9361
if 
  Char.IsSittingInCar(62@, 60@)
goto_if_false @DRUGS3_9361
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_9361
Car.StopPlayback(60@)
Task.CarMission(62@, 60@, -1, CarMission.RamPlayerFaraway, 6.0, DrivingMode.PloughThrough)
185@ = 1

:DRUGS3_9361
if 
  not Car.IsDead(61@)
goto_if_false @DRUGS3_9454
if 
  not Char.IsDead(63@)
goto_if_false @DRUGS3_9454
if 
  Char.IsSittingInCar(63@, 61@)
goto_if_false @DRUGS3_9454
if 
  not Car.IsDead(61@)
goto_if_false @DRUGS3_9454
Task.CarMission(63@, 61@, -1, CarMission.RamPlayerFaraway, 5.0, DrivingMode.PloughThrough)
186@ = 1

:DRUGS3_9454
147@ = 2

:DRUGS3_9461
if 
  185@ == 1
goto_if_false @DRUGS3_9569
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_9569
if 
  not Char.IsDead(62@)
goto_if_false @DRUGS3_9569
if 
  Char.IsSittingInCar(62@, 60@)
goto_if_false @DRUGS3_9569
if 
  Char.IsTouchingChar(62@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_9569
Task.CarTempAction(62@, 60@, TempAction.Reverse, 2000)
185@ = 2

:DRUGS3_9569
if 
  185@ == 2
goto_if_false @DRUGS3_9693
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_9693
if 
  not Char.IsDead(62@)
goto_if_false @DRUGS3_9693
if 
  Char.IsSittingInCar(62@, 60@)
goto_if_false @DRUGS3_9693
132@ = Char.GetScriptTaskStatus(62@, 1735)
if 
  is_int_lvar_equal_to_constant 132@ == 7
goto_if_false @DRUGS3_9693
Task.CarMission(62@, 60@, -1, CarMission.RamPlayerFaraway, 6.0, DrivingMode.PloughThrough)
185@ = 1

:DRUGS3_9693
if 
  186@ == 1
goto_if_false @DRUGS3_9801
if 
  not Car.IsDead(61@)
goto_if_false @DRUGS3_9801
if 
  not Char.IsDead(63@)
goto_if_false @DRUGS3_9801
if 
  Char.IsSittingInCar(63@, 61@)
goto_if_false @DRUGS3_9801
if 
  Char.IsTouchingChar(63@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_9801
Task.CarTempAction(63@, 61@, TempAction.Reverse, 2000)
186@ = 2

:DRUGS3_9801
if 
  186@ == 2
goto_if_false @DRUGS3_9925
if 
  not Car.IsDead(61@)
goto_if_false @DRUGS3_9925
if 
  not Char.IsDead(63@)
goto_if_false @DRUGS3_9925
if 
  Char.IsSittingInCar(63@, 61@)
goto_if_false @DRUGS3_9925
132@ = Char.GetScriptTaskStatus(63@, 1735)
if 
  is_int_lvar_equal_to_constant 132@ == 7
goto_if_false @DRUGS3_9925
Task.CarMission(63@, 61@, -1, CarMission.RamPlayerFaraway, 6.0, DrivingMode.PloughThrough)
186@ = 1

:DRUGS3_9925
if 
  141@ == 9
goto_if_false @DRUGS3_10758
if 
  150@ == 0
goto_if_false @DRUGS3_10758
Text.PrintNow('CSH3_13', 5000, 1)
Object.Delete(51@)
Streaming.MarkModelAsNoLongerNeeded(#SEC_KEYPAD)
Sound.AddOneOffSound(2181.127, -2251.999, 14.036, 65535)
add_continuous_sound 2181.127 {_p2} -2251.999 {_p3} 14.036 {_p4} 65535 {_p5} 76@
Blip.Remove(137@)
Game.SetMaxFireGenerations(0)
101@ = Char.Create(PedType.Special, 290, 2125.8, -2274.24, 19.67)
Char.SetHeading(101@, 221.579)
Char.SetDecisionMaker(101@, 52@)
Char.SetHealth(101@, 1000)
Char.SetMaxHealth(101@, 1000)
Char.SetMoney(101@, 3000)
Char.SetSuffersCriticalHits(101@, False)
Char.SetUsesUpperbodyDamageAnimsOnly(101@, True)
138@ = Blip.AddForChar(101@)
109@ = Char.Create(PedType.Mission1, 102, 2129.217, -2281.78, 19.6719)
Char.SetHeading(109@, 314.7061)
Char.SetDecisionMaker(109@, 52@)
Char.GiveWeapon(109@, WeaponType.Pistol, 99999)
Char.SetWeaponSkill(109@, 2)
Char.SetAccuracy(109@, 20)
Char.SetHealth(109@, 50)
110@ = Char.Create(PedType.Mission1, 102, 2124.154, -2277.243, 19.6719)
Char.SetHeading(110@, 241.1202)
Char.SetDecisionMaker(110@, 52@)
Char.GiveWeapon(110@, WeaponType.Pistol, 99999)
Char.SetWeaponSkill(110@, 2)
Char.SetAccuracy(110@, 20)
Char.SetHealth(110@, 50)
179@ = 1
83@ = Char.Create(PedType.Mission1, 50, 2172.73, -2249.83, 12.6)
Char.SetHeading(83@, 227.0)
Char.SetDecisionMaker(83@, 52@)
Char.GiveWeapon(83@, WeaponType.Pistol, 99999)
Char.SetAccuracy(83@, 20)
Char.SetHealth(83@, 30)
84@ = Char.Create(PedType.Mission1, 50, 2168.42, -2252.714, 12.59)
Char.SetHeading(84@, 250.942)
Char.SetDecisionMaker(84@, 52@)
Char.GiveWeapon(84@, WeaponType.Pistol, 99999)
Char.SetAccuracy(84@, 20)
Char.SetShootRate(84@, 30)
Char.SetHealth(84@, 20)
85@ = Char.Create(PedType.Mission1, 50, 2174.66, -2248.6, 12.6)
Char.SetHeading(85@, 227.0)
Char.SetDecisionMaker(85@, 52@)
Char.GiveWeapon(85@, WeaponType.Mp5, 99999)
Char.SetAllowedToDuck(85@, False)
Char.SetAccuracy(85@, 20)
87@ = Char.Create(PedType.Mission1, 50, 2163.072, -2246.027, 12.59)
Char.SetHeading(87@, 224.58)
Char.SetDecisionMaker(87@, 52@)
Char.GiveWeapon(87@, WeaponType.Mp5, 99999)
Char.SetAccuracy(87@, 20)
88@ = Char.Create(PedType.Mission1, 50, 2158.03, -2233.23, 12.59)
Char.SetHeading(88@, 230.37)
Char.SetDecisionMaker(88@, 52@)
Char.GiveWeapon(88@, WeaponType.Pistol, 99999)
Char.SetAccuracy(88@, 20)
if 
  155@ == 0
goto_if_false @DRUGS3_10671
if 
  not Char.IsDead(83@)
goto_if_false @DRUGS3_10671
Task.KillCharOnFoot(83@, $stattreadstamina_ctr)
155@ = 1

:DRUGS3_10671
if 
  157@ == 0
goto_if_false @DRUGS3_10720
if 
  not Char.IsDead(85@)
goto_if_false @DRUGS3_10720
Task.KillCharOnFoot(85@, $stattreadstamina_ctr)
157@ = 1

:DRUGS3_10720
if 
  Object.DoesExist(50@)
goto_if_false @DRUGS3_10744
Audio.ReportMissionAudioEventAtObject(50@, 1035)

:DRUGS3_10744
150@ = 1
141@ = 10

:DRUGS3_10758
if 
  150@ == 1
goto_if_false @DRUGS3_10855
if 
  Object.DoesExist(50@)
goto_if_false @DRUGS3_10855
if 
  Object.Slide(50@, 2178.073, -2254.384, 19.7, 0.0, 0.0, 0.1, False)
goto_if_false @DRUGS3_10855
Audio.ReportMissionAudioEventAtObject(50@, 1036)
150@ = 2

:DRUGS3_10855
if 
  141@ == 10
goto_if_false @DRUGS3_11049
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 2167.955, -2253.054, 2175.023, -2245.327, -11.5, False)
goto_if_false @DRUGS3_10923
141@ = 11

:DRUGS3_10923
if 
  Char.DoesExist(83@)
goto_if_false @DRUGS3_10965
if 
  Char.HasBeenDamagedByChar(83@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_10965
141@ = 11

:DRUGS3_10965
if 
  Char.DoesExist(84@)
goto_if_false @DRUGS3_11007
if 
  Char.HasBeenDamagedByChar(84@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_11007
141@ = 11

:DRUGS3_11007
if 
  Char.DoesExist(85@)
goto_if_false @DRUGS3_11049
if 
  Char.HasBeenDamagedByChar(85@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_11049
141@ = 11

:DRUGS3_11049
if 
  141@ == 11
goto_if_false @DRUGS3_18446
if 
  178@ == 0
goto_if_false @DRUGS3_11176
if 
  TIMERA > 0
goto_if_false @DRUGS3_11176
if 
  Char.IsDead(83@)
goto_if_false @DRUGS3_11176
if 
  Char.IsDead(85@)
goto_if_false @DRUGS3_11176
if 
  Char.IsDead(87@)
goto_if_false @DRUGS3_11176
Text.PrintHelp('CSH3_10')
TIMERA = 0
178@ = 1

:DRUGS3_11176
if 
  178@ == 1
goto_if_false @DRUGS3_11238
if 
  TIMERA > 8000
goto_if_false @DRUGS3_11238
Text.PrintHelp('CSH3_11')
TIMERA = 0
178@ = 2

:DRUGS3_11238
if 
  178@ == 2
goto_if_false @DRUGS3_11300
if 
  TIMERA > 8000
goto_if_false @DRUGS3_11300
Text.PrintHelp('CSH3_12')
TIMERA = 0
178@ = 3

:DRUGS3_11300
if 
  178@ == 3
goto_if_false @DRUGS3_11362
if 
  TIMERA > 8000
goto_if_false @DRUGS3_11362
Text.PrintHelp('CSH3_52')
TIMERA = 0
178@ = 4

:DRUGS3_11362
if 
  178@ == 4
goto_if_false @DRUGS3_11417
if 
  TIMERA > 8000
goto_if_false @DRUGS3_11417
Text.PrintHelp('CSH3_51')
178@ = 5

:DRUGS3_11417
if 
  151@ == 0
goto_if_false @DRUGS3_11761
if 
  156@ == 0
goto_if_false @DRUGS3_11491
if 
  not Char.IsDead(84@)
goto_if_false @DRUGS3_11491
set_lvar_int_to_lvar_int 112@ = 84@
gosub @DRUGS3_18882
156@ = 1

:DRUGS3_11491
if 
  159@ == 0
goto_if_false @DRUGS3_11547
if 
  not Char.IsDead(87@)
goto_if_false @DRUGS3_11547
set_lvar_int_to_lvar_int 112@ = 87@
gosub @DRUGS3_19119
159@ = 1

:DRUGS3_11547
if 
  159@ == 1
goto_if_false @DRUGS3_11654
if 
  not Char.IsDead(87@)
goto_if_false @DRUGS3_11642
if or
  Char.HasBeenDamagedByChar(87@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar2D(87@, $stattreadstamina_ctr, 3.0, 3.0, False)
goto_if_false @DRUGS3_11635
Task.KillCharOnFoot(87@, $stattreadstamina_ctr)
159@ = 2

:DRUGS3_11635
goto @DRUGS3_11654

:DRUGS3_11642
Char.MarkAsNoLongerNeeded(87@)
159@ = 2

:DRUGS3_11654
if 
  160@ == 0
goto_if_false @DRUGS3_11761
if 
  not Char.IsDead(88@)
goto_if_false @DRUGS3_11761
if or
  Char.IsInAngledArea2D($stattreadstamina_ctr, 2161.927, -2243.252, 2168.71, -2237.79, 10.0, False)
  Char.HasBeenDamagedByChar(88@, $stattreadstamina_ctr)
goto_if_false @DRUGS3_11761
set_lvar_int_to_lvar_int 112@ = 88@
gosub @DRUGS3_19036
160@ = 1

:DRUGS3_11761
if 
  152@ == 0
goto_if_false @DRUGS3_12231
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 2160.659, -2244.409, 2168.71, -2237.79, 12.0, False)
goto_if_false @DRUGS3_12231
Streaming.MarkModelAsNoLongerNeeded(414)
Streaming.MarkModelAsNoLongerNeeded(#SEC_KEYPAD)
Streaming.MarkModelAsNoLongerNeeded(#KMB_RAMP)
Car.MarkAsNoLongerNeeded(60@)
Car.MarkAsNoLongerNeeded(61@)
Char.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(63@)
Object.MarkAsNoLongerNeeded(69@)
Object.MarkAsNoLongerNeeded(70@)
Object.MarkAsNoLongerNeeded(71@)
Object.MarkAsNoLongerNeeded(72@)
Object.MarkAsNoLongerNeeded(73@)
Char.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(63@)
Char.MarkAsNoLongerNeeded(64@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(67@)
Char.MarkAsNoLongerNeeded(68@)
Car.MarkAsNoLongerNeeded(58@)
Car.MarkAsNoLongerNeeded(59@)
89@ = Char.Create(PedType.Mission1, 50, 2149.249, -2243.958, 12.6)
Char.SetHeading(89@, 312.4132)
Char.SetDecisionMaker(89@, 52@)
Char.GiveWeapon(89@, WeaponType.Mp5, 99999)
Char.SetAccuracy(89@, 20)
Char.SetHealth(89@, 50)
90@ = Char.Create(PedType.Mission1, 50, 2156.04, -2250.73, 12.59)
Char.SetHeading(90@, 46.763)
Char.SetDecisionMaker(90@, 52@)
Char.GiveWeapon(90@, WeaponType.Pistol, 99999)
Char.SetAccuracy(90@, 20)
69@ = Object.Create(#BARREL4, 2149.725, -2249.85, 12.35)
70@ = Object.Create(#BARREL4, 2162.399, -2259.433, 12.35)
71@ = Object.Create(#BARREL4, 2152.317, -2270.389, 12.35)
72@ = Object.Create(#BARREL4, 2139.31, -2270.019, 14.7)
Object.SetOnlyDamagedByPlayer(69@, True)
Object.SetOnlyDamagedByPlayer(70@, True)
Object.SetOnlyDamagedByPlayer(71@, True)
Object.SetOnlyDamagedByPlayer(72@, True)
102@ = Object.Create(#IMY_BBOX, 2140.91, -2260.2, 18.1)
Object.SetHeading(102@, 317.068)
Object.SetHealth(102@, 1000)
Object.SetOnlyDamagedByPlayer(102@, True)
152@ = 1

:DRUGS3_12231
if 
  152@ == 1
goto_if_false @DRUGS3_12498
if 
  161@ == 0
goto_if_false @DRUGS3_12305
if 
  not Char.IsDead(89@)
goto_if_false @DRUGS3_12305
set_lvar_int_to_lvar_int 112@ = 89@
gosub @DRUGS3_19119
161@ = 1

:DRUGS3_12305
if 
  161@ == 1
goto_if_false @DRUGS3_12412
if 
  not Char.IsDead(89@)
goto_if_false @DRUGS3_12400
if or
  Char.HasBeenDamagedByChar(89@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar2D(89@, $stattreadstamina_ctr, 3.0, 3.0, False)
goto_if_false @DRUGS3_12393
Task.KillCharOnFoot(89@, $stattreadstamina_ctr)
161@ = 2

:DRUGS3_12393
goto @DRUGS3_12412

:DRUGS3_12400
Char.MarkAsNoLongerNeeded(89@)
161@ = 2

:DRUGS3_12412
if 
  162@ == 0
goto_if_false @DRUGS3_12498
if 
  not Char.IsDead(90@)
goto_if_false @DRUGS3_12498
set_lvar_int_to_lvar_int 112@ = 90@
116@ = 2152.019
117@ = -2246.949
118@ = 12.595
gosub @DRUGS3_18964
162@ = 1

:DRUGS3_12498
if 
  153@ == 0
goto_if_false @DRUGS3_13164
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 2157.47, -2246.72, 2152.737, -2251.857, -10.0, False)
goto_if_false @DRUGS3_13164
92@ = Char.Create(PedType.Mission1, 50, 2164.943, -2259.275, 12.594)
Char.SetHeading(92@, 46.776)
Char.SetDecisionMaker(92@, 52@)
Char.GiveWeapon(92@, WeaponType.Mp5, 99999)
Char.SetAccuracy(92@, 30)
Char.SetShootRate(92@, 20)
93@ = Char.Create(PedType.Mission1, 50, 2159.296, -2256.66, 12.59)
Char.SetHeading(93@, 46.776)
Char.SetDecisionMaker(93@, 52@)
Char.GiveWeapon(93@, WeaponType.Mp5, 99999)
Char.SetAccuracy(93@, 20)
Char.SetAllowedToDuck(93@, False)
Char.SetShootRate(93@, 20)
94@ = Char.Create(PedType.Mission1, 50, 2137.578, -2262.216, 12.59)
Char.SetHeading(94@, 211.9)
Char.SetDecisionMaker(94@, 52@)
Char.GiveWeapon(94@, WeaponType.Mp5, 99999)
Char.SetAccuracy(94@, 10)
95@ = Char.Create(PedType.Mission1, 50, 2138.008, -2253.369, 12.59)
Char.SetHeading(95@, 139.993)
Char.SetDecisionMaker(95@, 52@)
Char.GiveWeapon(95@, WeaponType.Pistol, 99999)
Char.SetAccuracy(95@, 10)
96@ = Char.Create(PedType.Mission1, 50, 2151.545, -2279.607, 13.82)
Char.SetHeading(96@, 46.63)
Char.SetDecisionMaker(96@, 52@)
Char.GiveWeapon(96@, WeaponType.Mp5, 99999)
Char.SetAccuracy(96@, 10)
97@ = Char.Create(PedType.Mission1, 50, 2140.695, -2259.877, 12.5547)
Char.SetHeading(97@, 259.7427)
Char.SetDecisionMaker(97@, 52@)
Char.GiveWeapon(97@, WeaponType.Mp5, 99999)
Char.SetAccuracy(97@, 10)
Char.SetShootRate(97@, 20)
98@ = Char.Create(PedType.Mission1, 50, 2141.763, -2261.277, 12.5547)
Char.SetHeading(98@, 259.742)
Char.SetDecisionMaker(98@, 52@)
Char.GiveWeapon(98@, WeaponType.Mp5, 99999)
Char.SetAccuracy(98@, 10)
Char.SetShootRate(98@, 20)
99@ = Char.Create(PedType.Mission1, 102, 2131.561, -2279.424, 19.712)
Char.SetHeading(99@, 313.176)
Char.SetDecisionMaker(99@, 52@)
Char.GiveWeapon(99@, WeaponType.Pistol, 99999)
Char.SetAccuracy(99@, 10)
Char.SetShootRate(99@, 20)
100@ = Char.Create(PedType.Mission1, 102, 2128.952, -2282.271, 19.712)
Char.SetHeading(100@, 313.176)
Char.SetDecisionMaker(100@, 52@)
Char.GiveWeapon(100@, WeaponType.Pistol, 99999)
Char.SetAccuracy(100@, 10)
Char.SetShootRate(100@, 20)
153@ = 1

:DRUGS3_13164
if 
  153@ == 1
goto_if_false @DRUGS3_13294
if 
  164@ == 0
goto_if_false @DRUGS3_13238
if 
  not Char.IsDead(92@)
goto_if_false @DRUGS3_13238
set_lvar_int_to_lvar_int 112@ = 92@
gosub @DRUGS3_18882
164@ = 1

:DRUGS3_13238
if 
  165@ == 0
goto_if_false @DRUGS3_13294
if 
  not Char.IsDead(93@)
goto_if_false @DRUGS3_13294
set_lvar_int_to_lvar_int 112@ = 93@
gosub @DRUGS3_18882
165@ = 1

:DRUGS3_13294
if 
  154@ == 0
goto_if_false @DRUGS3_14045
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 2160.728, -2254.586, 2152.4, -2263.3, 10.0, False)
goto_if_false @DRUGS3_14045
if 
  166@ == 0
goto_if_false @DRUGS3_13464
if 
  Object.DoesExist(102@)
goto_if_false @DRUGS3_13389

:DRUGS3_13389
if 
  not Char.IsDead(94@)
goto_if_false @DRUGS3_13464
set_lvar_int_to_lvar_int 112@ = 94@
116@ = 2148.945
117@ = -2273.314
118@ = 13.595
Char.SetAllowedToDuck(94@, False)
gosub @DRUGS3_18706
166@ = 1

:DRUGS3_13464
if 
  167@ == 0
goto_if_false @DRUGS3_13587
if 
  not Char.IsDead(95@)
goto_if_false @DRUGS3_13587
set_lvar_int_to_lvar_int 112@ = 95@
116@ = 2133.613
117@ = -2258.067
118@ = 12.59
119@ = 2143.387
120@ = -2267.5
121@ = 13.595
Task.ToggleDuck(95@, True)
gosub @DRUGS3_18761
167@ = 1

:DRUGS3_13587
if 
  168@ == 0
goto_if_false @DRUGS3_13680
if 
  not Char.IsDead(96@)
goto_if_false @DRUGS3_13680
set_lvar_int_to_lvar_int 112@ = 96@
116@ = 2140.375
117@ = -2269.66
118@ = 13.59
Task.ToggleDuck(96@, True)
gosub @DRUGS3_18706
168@ = 1

:DRUGS3_13680
if 
  171@ == 0
goto_if_false @DRUGS3_13803
if 
  not Char.IsDead(99@)
goto_if_false @DRUGS3_13803
set_lvar_int_to_lvar_int 112@ = 99@
116@ = 2134.504
117@ = -2276.708
118@ = 19.712
119@ = 2130.845
120@ = -2272.55
121@ = 19.71
Char.SetAllowedToDuck(99@, False)
gosub @DRUGS3_18761
171@ = 1

:DRUGS3_13803
if 
  172@ == 0
goto_if_false @DRUGS3_13926
if 
  not Char.IsDead(100@)
goto_if_false @DRUGS3_13926
set_lvar_int_to_lvar_int 112@ = 100@
116@ = 2134.788
117@ = -2275.941
118@ = 19.712
119@ = 2139.879
120@ = -2270.926
121@ = 18.0
Char.SetAllowedToDuck(100@, False)
gosub @DRUGS3_18761
172@ = 1

:DRUGS3_13926
if 
  169@ == 0
goto_if_false @DRUGS3_13982
if 
  not Char.IsDead(97@)
goto_if_false @DRUGS3_13982
set_lvar_int_to_lvar_int 112@ = 97@
gosub @DRUGS3_18882
169@ = 1

:DRUGS3_13982
if 
  170@ == 0
goto_if_false @DRUGS3_14038
if 
  not Char.IsDead(98@)
goto_if_false @DRUGS3_14038
set_lvar_int_to_lvar_int 112@ = 98@
gosub @DRUGS3_18882
170@ = 1

:DRUGS3_14038
154@ = 1

:DRUGS3_14045
if 
  173@ == 0
goto_if_false @DRUGS3_14209
if 
  Char.IsInAngledArea3D($stattreadstamina_ctr, 2136.48, -2266.78, 28.0, 2145.55, -2275.04, 18.0, -20.0, False)
goto_if_false @DRUGS3_14209
Streaming.MarkModelAsNoLongerNeeded(#IMCMPTRKDRL_LAS)
Streaming.MarkModelAsNoLongerNeeded(#IMCMPTRKDRR_LAS)
Streaming.MarkModelAsNoLongerNeeded(#IMCOMPMOVEDR1_LAS)
Text.PrintNow('CSH3_53', 7000, 1)
if 
  not Char.IsDead(109@)
goto_if_false @DRUGS3_14178
set_lvar_int_to_lvar_int 112@ = 109@
gosub @DRUGS3_18882

:DRUGS3_14178
if 
  not Char.IsDead(110@)
goto_if_false @DRUGS3_14202
Task.KillCharOnFoot(110@, $stattreadstamina_ctr)

:DRUGS3_14202
173@ = 1

:DRUGS3_14209
if 
  179@ == 1
goto_if_false @DRUGS3_14250
if 
  Char.IsDead(101@)
goto_if_false @DRUGS3_14250
179@ = 2

:DRUGS3_14250
if 
  179@ == 2
goto_if_false @DRUGS3_14275
goto @DRUGS3_19361

:DRUGS3_14275
if 
  Char.IsDead(101@)
goto_if_false @DRUGS3_14312
if 
  Blip.DoesExist(138@)
goto_if_false @DRUGS3_14312
Blip.Remove(138@)

:DRUGS3_14312
if 
  174@ == 0
goto_if_false @DRUGS3_14467
if 
  Object.DoesExist(102@)
goto_if_false @DRUGS3_14467
103@ = Object.GetHealth(102@)
if 
  1000 > 103@
goto_if_false @DRUGS3_14467
Object.SetProofs(102@, True, True, True, True, True)
if 
  not Char.IsDead(98@)
goto_if_false @DRUGS3_14453
Char.SetHeading(98@, 200.025)
Task.PlayAnimNonInterruptable(98@, "CRUSH_JUMP", "DODGE", 1000.0, False, True, True, True, -1)

:DRUGS3_14453
TIMERB = 0
174@ = 1

:DRUGS3_14467
if 
  174@ == 1
goto_if_false @DRUGS3_14647
if 
  TIMERB > 1500
goto_if_false @DRUGS3_14647
if 
  Object.DoesExist(102@)
goto_if_false @DRUGS3_14647
Object.SetCoordinates(102@, 2140.91, -2260.2, 18.1)
Object.SetDynamic(102@, True)
Object.SetCollision(102@, True)
Object.AddToVelocity(102@, 0.0, 0.0, -2.0)
if 
  not Char.IsDead(97@)
goto_if_false @DRUGS3_14633
Char.SetCollision(97@, False)
Task.PlayAnimNonInterruptable(97@, "CRUSHED", "DODGE", 1000.0, False, True, True, True, -1)

:DRUGS3_14633
TIMERB = 0
174@ = 2

:DRUGS3_14647
if 
  174@ == 2
goto_if_false @DRUGS3_14742
if 
  TIMERB > 600
goto_if_false @DRUGS3_14742
if 
  not Char.IsDead(97@)
goto_if_false @DRUGS3_14712
Char.SetNeverTargeted(97@, True)
Char.RemoveElegantly(97@)

:DRUGS3_14712
if 
  not Char.IsDead(98@)
goto_if_false @DRUGS3_14735
Char.SetNeverTargeted(98@, True)

:DRUGS3_14735
174@ = 3

:DRUGS3_14742
if 
  155@ == 1
goto_if_false @DRUGS3_14788
if 
  Char.IsDead(83@)
goto_if_false @DRUGS3_14788
Char.MarkAsNoLongerNeeded(83@)
155@ = 2

:DRUGS3_14788
if 
  156@ == 1
goto_if_false @DRUGS3_14834
if 
  Char.IsDead(84@)
goto_if_false @DRUGS3_14834
Char.MarkAsNoLongerNeeded(84@)
156@ = 2

:DRUGS3_14834
if 
  157@ == 1
goto_if_false @DRUGS3_14880
if 
  Char.IsDead(85@)
goto_if_false @DRUGS3_14880
Char.MarkAsNoLongerNeeded(85@)
157@ = 2

:DRUGS3_14880
if 
  159@ > 0
goto_if_false @DRUGS3_14944
if 
  3 > 159@
goto_if_false @DRUGS3_14944
if 
  Char.IsDead(87@)
goto_if_false @DRUGS3_14944
Char.MarkAsNoLongerNeeded(87@)
159@ = 2

:DRUGS3_14944
if 
  160@ == 1
goto_if_false @DRUGS3_14990
if 
  Char.IsDead(88@)
goto_if_false @DRUGS3_14990
Char.MarkAsNoLongerNeeded(88@)
160@ = 2

:DRUGS3_14990
if 
  161@ > 0
goto_if_false @DRUGS3_15054
if 
  3 > 161@
goto_if_false @DRUGS3_15054
if 
  Char.IsDead(89@)
goto_if_false @DRUGS3_15054
Char.MarkAsNoLongerNeeded(89@)
161@ = 3

:DRUGS3_15054
if 
  162@ == 1
goto_if_false @DRUGS3_15100
if 
  Char.IsDead(90@)
goto_if_false @DRUGS3_15100
Char.MarkAsNoLongerNeeded(90@)
162@ = 2

:DRUGS3_15100
if 
  164@ == 1
goto_if_false @DRUGS3_15146
if 
  Char.IsDead(92@)
goto_if_false @DRUGS3_15146
Char.MarkAsNoLongerNeeded(92@)
164@ = 2

:DRUGS3_15146
if 
  165@ == 1
goto_if_false @DRUGS3_15192
if 
  Char.IsDead(93@)
goto_if_false @DRUGS3_15192
Char.MarkAsNoLongerNeeded(93@)
165@ = 2

:DRUGS3_15192
if 
  166@ == 1
goto_if_false @DRUGS3_15238
if 
  Char.IsDead(94@)
goto_if_false @DRUGS3_15238
Char.MarkAsNoLongerNeeded(94@)
166@ = 2

:DRUGS3_15238
if 
  167@ == 1
goto_if_false @DRUGS3_15284
if 
  Char.IsDead(95@)
goto_if_false @DRUGS3_15284
Char.MarkAsNoLongerNeeded(95@)
167@ = 2

:DRUGS3_15284
if 
  168@ == 1
goto_if_false @DRUGS3_15330
if 
  Char.IsDead(96@)
goto_if_false @DRUGS3_15330
Char.MarkAsNoLongerNeeded(96@)
168@ = 2

:DRUGS3_15330
if 
  171@ == 1
goto_if_false @DRUGS3_15376
if 
  Char.IsDead(99@)
goto_if_false @DRUGS3_15376
Char.MarkAsNoLongerNeeded(99@)
171@ = 2

:DRUGS3_15376
if 
  172@ == 1
goto_if_false @DRUGS3_15422
if 
  Char.IsDead(100@)
goto_if_false @DRUGS3_15422
Char.MarkAsNoLongerNeeded(100@)
172@ = 2

:DRUGS3_15422
if 
  173@ == 1
goto_if_false @DRUGS3_16461
if 
  Char.IsInAngledArea3D($stattreadstamina_ctr, 2125.14, -2270.97, 27.0, 2121.09, -2275.33, 19.0, 14.0, False)
goto_if_false @DRUGS3_16461
Char.MarkAsNoLongerNeeded(83@)
Char.MarkAsNoLongerNeeded(84@)
Char.MarkAsNoLongerNeeded(85@)
Char.MarkAsNoLongerNeeded(86@)
Char.MarkAsNoLongerNeeded(87@)
Char.MarkAsNoLongerNeeded(88@)
Char.MarkAsNoLongerNeeded(89@)
Char.MarkAsNoLongerNeeded(90@)
Char.RemoveElegantly(83@)
Char.RemoveElegantly(84@)
Char.RemoveElegantly(85@)
Char.RemoveElegantly(86@)
Char.RemoveElegantly(87@)
Char.RemoveElegantly(88@)
Char.RemoveElegantly(89@)
Char.RemoveElegantly(90@)
Car.Delete(54@)
Car.Delete(55@)
Car.Delete(60@)
World.ClearArea(2185.53, -2271.95, 50.0, 50.0, False)
Streaming.MarkModelAsNoLongerNeeded(102)
74@ = Object.Create(#BARREL4, 2170.366, -2337.439, 12.54)
Object.SetOnlyDamagedByPlayer(74@, True)
60@ = Car.Create(530, 2122.092, -2307.141, 12.5693)
Car.SetHeading(60@, 265.9861)
Car.SetCanBurstTires(60@, False)
54@ = Car.Create(429, 2190.07, -2269.8, 12.5693)
Car.SetHeading(54@, 308.99)
Car.SetHealth(54@, 1000)
55@ = Car.Create(461, 2175.75, -2280.57, 12.5693)
Car.SetHeading(55@, 315.41)
Car.SetCanBurstTires(55@, False)
136@ = Pickup.CreateWithAmmo(353, PickupType.Once, 250, 2175.614, -2282.959, 13.54)
83@ = Char.Create(PedType.Mission1, 50, 2132.698, -2303.37, 13.699)
Char.SetHeading(83@, 826.228)
Char.SetDecisionMaker(83@, 52@)
Char.GiveWeapon(83@, WeaponType.Mp5, 99999)
Char.SetAccuracy(83@, 30)
set_lvar_int_to_lvar_int 112@ = 83@
gosub @DRUGS3_18882
84@ = Char.Create(PedType.Mission1, 50, 2138.06, -2308.614, 19.7)
Char.SetHeading(84@, 60.478)
Char.SetDecisionMaker(84@, 52@)
Char.GiveWeapon(84@, WeaponType.Mp5, 99999)
Char.SetAccuracy(84@, 30)
set_lvar_int_to_lvar_int 112@ = 84@
gosub @DRUGS3_18926
85@ = Char.Create(PedType.Mission1, 50, 2144.007, -2295.194, 19.676)
Char.SetHeading(85@, 119.8487)
Char.SetDecisionMaker(85@, 52@)
Char.GiveWeapon(85@, WeaponType.Pistol, 99999)
Char.SetAllowedToDuck(85@, False)
Char.SetHealth(85@, 50)
Char.SetAccuracy(85@, 30)
set_lvar_int_to_lvar_int 112@ = 85@
gosub @DRUGS3_18926
86@ = Char.Create(PedType.Mission1, 50, 2131.56, -2313.6, 12.5719)
Char.SetHeading(86@, 265.9861)
Char.SetDecisionMaker(86@, 52@)
Char.GiveWeapon(86@, WeaponType.Mp5, 99999)
Char.SetAllowedToDuck(86@, False)
Char.SetAccuracy(86@, 30)
set_lvar_int_to_lvar_int 112@ = 86@
gosub @DRUGS3_18882
88@ = Char.Create(PedType.Mission1, 50, 2183.367, -2293.234, 12.5)
Char.SetHeading(88@, 148.671)
Char.SetDecisionMaker(88@, 52@)
Char.GiveWeapon(88@, WeaponType.Mp5, 99999)
Task.KillCharOnFoot(88@, $stattreadstamina_ctr)
Char.SetHealth(88@, 50)
set_lvar_int_to_lvar_int 112@ = 88@
gosub @DRUGS3_18926
89@ = Char.Create(PedType.Mission1, 50, 2165.737, -2324.289, 17.515)
Char.SetHeading(89@, 224.6632)
Char.SetDecisionMaker(89@, 52@)
Char.GiveWeapon(89@, WeaponType.Mp5, 99999)
Char.SetHealth(89@, 70)
Char.SetAccuracy(89@, 30)
set_lvar_int_to_lvar_int 112@ = 89@
gosub @DRUGS3_18926
90@ = Char.Create(PedType.Mission1, 50, 2170.07, -2334.498, 12.547)
Char.SetHeading(90@, 89.2721)
Char.SetDecisionMaker(90@, 52@)
Char.GiveWeapon(90@, WeaponType.Mp5, 99999)
Char.SetHealth(90@, 50)
set_lvar_int_to_lvar_int 112@ = 90@
gosub @DRUGS3_18926
if 
  Object.DoesExist(111@)
goto_if_false @DRUGS3_16396
Object.SetHeading(111@, 90.0)
goto @DRUGS3_16401

:DRUGS3_16396
Object.Delete(111@)

:DRUGS3_16401
if 
  not Char.IsDead(101@)
goto_if_false @DRUGS3_16454
Task.PlayAnim(101@, "IDLE_CHAT", "PED", 4.0, False, False, False, False, 2000)

:DRUGS3_16454
173@ = 2

:DRUGS3_16461
if 
  173@ == 2
goto_if_false @DRUGS3_16689
if 
  not Char.IsDead(101@)
goto_if_false @DRUGS3_16689
if or
  TIMERA > 750
  Char.HasBeenDamagedByChar(101@, $stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, 101@)
goto_if_false @DRUGS3_16689
87@ = Char.Create(PedType.Mission1, 50, 2135.46, -2296.64, 12.9)
Char.SetHeading(87@, 337.5533)
Char.SetDecisionMaker(87@, 52@)
Char.GiveWeapon(87@, WeaponType.Pistol, 99999)
Task.KillCharOnFoot(87@, $stattreadstamina_ctr)
set_lvar_int_to_lvar_int 112@ = 87@
gosub @DRUGS3_18926
113@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2128.43, -2292.01, 13.75, 6, 350000)
Task.FollowPathNodesToCoord(-1, 2185.5, -2274.8, 13.75, 7, 350000)
Sequence.Close(113@)
Char.PerformSequence(101@, 113@)
Sequence.Clear(113@)
173@ = 3

:DRUGS3_16689
if 
  173@ == 3
goto_if_false @DRUGS3_16773
if 
  not Char.IsDead(101@)
goto_if_false @DRUGS3_16773
if 
  Char.LocateAnyMeans2D(101@, 2185.5, -2274.8, 10.0, 10.0, False)
goto_if_false @DRUGS3_16773
Char.MarkAsNoLongerNeeded(86@)
173@ = 4

:DRUGS3_16773
if 
  not Char.IsDead(101@)
goto_if_false @DRUGS3_18210
if 
  173@ == 4
goto_if_false @DRUGS3_17553
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 101@, 200.0, 200.0, False)
goto_if_false @DRUGS3_16877
if 
  not Char.IsOnScreen(101@)
goto_if_false @DRUGS3_16877
Text.PrintNow('CSH3_55', 5000, 1)
goto @DRUGS3_19343

:DRUGS3_16877
if 
  2 > 182@
goto_if_false @DRUGS3_17553
if 
  182@ == 1
goto_if_false @DRUGS3_16970
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_16970
$stealth_help_flag = Char.GetCarIsUsing($stattreadstamina_ctr)
if 
  is_int_var_equal_to_int_lvar $stealth_help_flag == 54@
goto_if_false @DRUGS3_16970
gosub @DRUGS3_18627
182@ = 2

:DRUGS3_16970
if 
  182@ == 0
goto_if_false @DRUGS3_17185
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_17171
if 
  Car.Locate2D(54@, 2190.07, -2269.8, 6.0, 6.0, False)
goto_if_false @DRUGS3_17150
if 
  not Char.IsInCar($stattreadstamina_ctr, 54@)
goto_if_false @DRUGS3_17129
if 
  184@ == 0
goto_if_false @DRUGS3_17108
Char.ClearTasks(101@)
Task.EnterCarAsDriver(101@, 54@, -2)
182@ = 1
goto @DRUGS3_17122

:DRUGS3_17108
gosub @DRUGS3_18627
182@ = 2

:DRUGS3_17122
goto @DRUGS3_17143

:DRUGS3_17129
gosub @DRUGS3_18627
182@ = 2

:DRUGS3_17143
goto @DRUGS3_17164

:DRUGS3_17150
gosub @DRUGS3_18627
182@ = 2

:DRUGS3_17164
goto @DRUGS3_17185

:DRUGS3_17171
gosub @DRUGS3_18627
182@ = 2

:DRUGS3_17185
if 
  182@ == 1
goto_if_false @DRUGS3_17421
if 
  184@ == 0
goto_if_false @DRUGS3_17407
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_17400
if 
  Char.IsInCar(101@, 54@)
goto_if_false @DRUGS3_17400
if 
  Char.LocateAnyMeansChar2D(101@, $stattreadstamina_ctr, 60.0, 60.0, False)
goto_if_false @DRUGS3_17400
Text.PrintNow('CSH3_54', 5000, 1)
Char.SetHealth(101@, 100)
Char.SetSuffersCriticalHits(101@, True)
Car.GotoCoordinates(54@, 2246.61, -2204.78, 13.65)
Car.SetCruiseSpeed(54@, 20.0)
Car.SetDrivingStyle(54@, DrivingMode.AvoidCars)
Path.SwitchRoadsOff(2203.8, -2174.63, 0.0, 2279.2, -2234.63, 18.21)
183@ = 1
182@ = 2

:DRUGS3_17400
goto @DRUGS3_17421

:DRUGS3_17407
gosub @DRUGS3_18627
182@ = 2

:DRUGS3_17421
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_17539
if 
  184@ == 0
goto_if_false @DRUGS3_17488
if 
  Char.IsInCar($stattreadstamina_ctr, 54@)
goto_if_false @DRUGS3_17488
gosub @DRUGS3_18627
184@ = 1

:DRUGS3_17488
if 
  184@ == 1
goto_if_false @DRUGS3_17532
if 
  not Char.IsInCar($stattreadstamina_ctr, 54@)
goto_if_false @DRUGS3_17532
184@ = 0

:DRUGS3_17532
goto @DRUGS3_17553

:DRUGS3_17539
gosub @DRUGS3_18627
182@ = 2

:DRUGS3_17553
if 
  183@ == 1
goto_if_false @DRUGS3_17649
if 
  not Char.IsSittingInAnyCar(101@)
goto_if_false @DRUGS3_17649
Task.SmartFleeChar(101@, $stattreadstamina_ctr, 300.0, 500000)
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_17642
if 
  Car.IsPlaybackGoingOn(54@)
goto_if_false @DRUGS3_17642
Car.StopPlayback(54@)

:DRUGS3_17642
183@ = 2

:DRUGS3_17649
if 
  182@ == 2
goto_if_false @DRUGS3_17854
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_17854
if 
  Char.IsSittingInCar(101@, 54@)
goto_if_false @DRUGS3_17854
if 
  Car.Locate2D(54@, 2246.61, -2204.78, 10.0, 10.0, False)
goto_if_false @DRUGS3_17854
Char.MarkAsNoLongerNeeded(83@)
Char.MarkAsNoLongerNeeded(84@)
Char.MarkAsNoLongerNeeded(85@)
Char.MarkAsNoLongerNeeded(86@)
Char.MarkAsNoLongerNeeded(87@)
Char.MarkAsNoLongerNeeded(88@)
Char.MarkAsNoLongerNeeded(89@)
Char.MarkAsNoLongerNeeded(90@)
Car.MarkAsNoLongerNeeded(60@)
Car.SetIdle(54@)
Car.StartPlaybackUsingAi(54@, 342)
Car.SetPlaybackSpeed(54@, 0.85)
Path.SwitchRoadsOff(2203.8, -2174.63, 0.0, 2279.2, -2234.63, 18.21)
187@ = 1
182@ = 3

:DRUGS3_17854
if 
  182@ == 3
goto_if_false @DRUGS3_18071
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_18071
if 
  Char.IsSittingInCar(101@, 54@)
goto_if_false @DRUGS3_18071
if 
  187@ == 1
goto_if_false @DRUGS3_17989
if 
  Car.IsPlaybackGoingOn(54@)
goto_if_false @DRUGS3_17989
if 
  not Char.LocateAnyMeansChar2D(101@, $stattreadstamina_ctr, 40.0, 40.0, False)
goto_if_false @DRUGS3_17989
Car.SetPlaybackSpeed(54@, 0.4)
187@ = 2

:DRUGS3_17989
if 
  187@ == 2
goto_if_false @DRUGS3_18071
if 
  Car.IsPlaybackGoingOn(54@)
goto_if_false @DRUGS3_18071
if 
  Char.LocateAnyMeansChar2D(101@, $stattreadstamina_ctr, 40.0, 40.0, False)
goto_if_false @DRUGS3_18071
Car.SetPlaybackSpeed(54@, 0.85)
187@ = 1

:DRUGS3_18071
if 
  182@ == 3
goto_if_false @DRUGS3_18210
if 
  not Car.IsDead(54@)
goto_if_false @DRUGS3_18210
if 
  Char.IsSittingInCar(101@, 54@)
goto_if_false @DRUGS3_18210
if 
  Car.Locate2D(54@, 1440.92, -1594.59, 20.0, 20.0, False)
goto_if_false @DRUGS3_18210
if 
  Car.IsPlaybackGoingOn(54@)
goto_if_false @DRUGS3_18188
Car.StopPlayback(54@)
Car.SetIdle(54@)

:DRUGS3_18188
Task.CarDriveWander(101@, 54@, 25.0, DrivingMode.AvoidCars)
182@ = 4

:DRUGS3_18210
if 
  173@ > 1
goto_if_false @DRUGS3_18446
if 
  not Char.IsDead(101@)
goto_if_false @DRUGS3_18446
gosub @DRUGS3_18495
if 
  180@ == 0
goto_if_false @DRUGS3_18316
if 
  181@ == 0
goto_if_false @DRUGS3_18316
set_lvar_int_to_constant 80@ = 11004
set_lvar_text_label 81@s = 'CRA3_DB'
gosub @DRUGS3_18453

:DRUGS3_18316
if 
  180@ == 1
goto_if_false @DRUGS3_18381
if 
  181@ == 0
goto_if_false @DRUGS3_18381
set_lvar_int_to_constant 80@ = 11005
set_lvar_text_label 81@s = 'CRA3_DC'
gosub @DRUGS3_18453

:DRUGS3_18381
if 
  180@ == 2
goto_if_false @DRUGS3_18446
if 
  181@ == 0
goto_if_false @DRUGS3_18446
set_lvar_int_to_constant 80@ = 11006
set_lvar_text_label 81@s = 'CRA3_DD'
gosub @DRUGS3_18453

:DRUGS3_18446
goto @DRUGS3_850

:DRUGS3_18453
if 
  181@ == 0
goto_if_false @DRUGS3_18493
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 80@)
set_lvar_text_label 78@s = 81@s
181@ = 1

:DRUGS3_18493
return 

:DRUGS3_18495
if 
  181@ == 1
goto_if_false @DRUGS3_18572
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS3_18572
Text.PrintNow(78@s, 4000, 1)
if 
  not Char.IsDead(101@)
goto_if_false @DRUGS3_18561
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot1, 101@)

:DRUGS3_18561
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
181@ = 2

:DRUGS3_18572
if 
  181@ == 2
goto_if_false @DRUGS3_18625
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS3_18625
180@ += 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
181@ = 0

:DRUGS3_18625
return 

:DRUGS3_18627
Char.SetHealth(101@, 100)
Char.SetMaxHealth(101@, 100)
114@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2191.422, -2183.429, 13.55, 6, -2)
Task.SmartFleeChar(-1, $stattreadstamina_ctr, 300.0, 500000)
Sequence.Close(114@)
Char.PerformSequence(101@, 114@)
Sequence.Clear(114@)
return 

:DRUGS3_18706
124@ = Sequence.Open()
Task.GoStraightToCoord(-1, 116@, 117@, 118@, MoveState.Run, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(124@)
Char.PerformSequence(112@, 124@)
Sequence.Clear(124@)
return 

:DRUGS3_18761
125@ = Sequence.Open()
Task.GoStraightToCoord(-1, 116@, 117@, 118@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 119@, 120@, 121@, MoveState.Run, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(125@)
Char.PerformSequence(112@, 125@)
Sequence.Clear(125@)
return 

:DRUGS3_18833
123@ = Sequence.Open()
Task.GoStraightToCoord(-1, 116@, 117@, 118@, MoveState.Run, -1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(123@)
Char.PerformSequence(112@, 123@)
Sequence.Clear(123@)
return 

:DRUGS3_18882
122@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(122@)
Char.PerformSequence(112@, 122@)
Sequence.Clear(122@)
return 

:DRUGS3_18926
129@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(129@)
Char.PerformSequence(112@, 129@)
Sequence.Clear(129@)
return 

:DRUGS3_18964
128@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 116@, 117@, 118@, 6, 0.5, 1.0, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(128@)
Char.PerformSequence(112@, 128@)
Sequence.Clear(128@)
return 

:DRUGS3_19036
127@ = Sequence.Open()
Task.PlayAnim(-1, "CROUCH_ROLL_R", "PED", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(127@)
Char.PerformSequence(112@, 127@)
Sequence.Clear(127@)
return 

:DRUGS3_19119
126@ = Sequence.Open()
Task.PlayAnim(-1, "SWT_WLLPK_L", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SWT_WLLSHOOT_IN_L", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 1500)
Task.StayInSamePlace(-1, False)
Task.PlayAnim(-1, "SWT_WLLSHOOT_OUT_L", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnim(-1, "SWT_WLLPK_L_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(126@, True)
Sequence.Close(126@)
Char.PerformSequence(112@, 126@)
Sequence.Clear(126@)
return 

:DRUGS3_19343
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:DRUGS3_19361
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('CRASH_3')
$introY += 1
Blip.Remove($sweet_blip_icon)
return 

:DRUGS3_19417
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @DRUGS3_19448
Car.SetProofs($stealth_help_flag, False, False, False, False, False)

:DRUGS3_19448
if 
  Object.DoesExist(50@)
goto_if_false @DRUGS3_19469
Object.Delete(50@)

:DRUGS3_19469
if 
  Object.DoesExist(34@)
goto_if_false @DRUGS3_19490
Object.Delete(35@)

:DRUGS3_19490
if 
  Object.DoesExist(36@)
goto_if_false @DRUGS3_19511
Object.Delete(37@)

:DRUGS3_19511
if 
  Object.DoesExist(38@)
goto_if_false @DRUGS3_19532
Object.Delete(39@)

:DRUGS3_19532
if 
  Object.DoesExist(40@)
goto_if_false @DRUGS3_19553
Object.Delete(41@)

:DRUGS3_19553
if 
  Object.DoesExist(50@)
goto_if_false @DRUGS3_19574
Object.Delete(50@)

:DRUGS3_19574
if 
  Object.DoesExist(51@)
goto_if_false @DRUGS3_19595
Object.Delete(51@)

:DRUGS3_19595
Path.SwitchRoadsOn(2203.8, -2174.63, 0.0, 2279.2, -2234.63, 18.21)
Blip.Remove(137@)
Blip.Remove(138@)
Streaming.RemoveAnimation("SWAT")
Streaming.RemoveAnimation("DODGE")
Pickup.Remove(133@)
Pickup.Remove(134@)
Pickup.Remove(135@)
Object.Delete(102@)
Car.MarkAsNoLongerNeeded(58@)
Car.MarkAsNoLongerNeeded(59@)
Car.MarkAsNoLongerNeeded(60@)
Car.MarkAsNoLongerNeeded(61@)
Pickup.Remove(136@)
Char.RemoveElegantly(83@)
Char.RemoveElegantly(84@)
Char.RemoveElegantly(85@)
Char.RemoveElegantly(86@)
Char.RemoveElegantly(87@)
Char.RemoveElegantly(88@)
Char.RemoveElegantly(89@)
Char.RemoveElegantly(90@)
Char.RemoveElegantly(92@)
Char.RemoveElegantly(93@)
Char.RemoveElegantly(94@)
Char.RemoveElegantly(95@)
Char.RemoveElegantly(96@)
Char.RemoveElegantly(97@)
Char.RemoveElegantly(98@)
Game.SetWantedMultiplier(1.0)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(#BARREL4)
Streaming.MarkModelAsNoLongerNeeded(530)
Streaming.MarkModelAsNoLongerNeeded(414)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(#SEC_KEYPAD)
Streaming.MarkModelAsNoLongerNeeded(#KMB_RAMP)
Streaming.MarkModelAsNoLongerNeeded(429)
Streaming.MarkModelAsNoLongerNeeded(461)
Streaming.MarkModelAsNoLongerNeeded(#IMCMPTRKDRL_LAS)
Streaming.MarkModelAsNoLongerNeeded(#IMCMPTRKDRR_LAS)
Streaming.MarkModelAsNoLongerNeeded(#IMCOMPMOVEDR1_LAS)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(#IMY_BBOX)
Streaming.MarkModelAsNoLongerNeeded(461)
Streaming.UnloadSpecialCharacter(1)
if 
  not Car.IsDead(55@)
goto_if_false @DRUGS3_19886
Car.SetCanBurstTires(55@, True)

:DRUGS3_19886
if 
  not Car.IsDead(60@)
goto_if_false @DRUGS3_19909
Car.SetCanBurstTires(60@, True)

:DRUGS3_19909
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @DRUGS3_19940
Car.SetProofs($stealth_help_flag, False, False, True, False, False)

:DRUGS3_19940
$flag_courier_mission_passed = Clock.GetGameTimer()
Game.SwitchEmergencyServices(True)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 24---------------
// Originally: Home Invasion

:GUNS1
script_name 'GUNS1'
gosub @GUNS1_47
if 
  has_deatharrest_been_executed 
goto_if_false @GUNS1_38
gosub @GUNS1_40642

:GUNS1_38
gosub @GUNS1_40737
terminate_this_script 

:GUNS1_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:GUNS1_75
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_99
wait 0
goto @GUNS1_75

:GUNS1_99
Weather.Force(WeatherType.SunnyLa)
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @GUNS1_148
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)

:GUNS1_148
Text.LoadMissionText('RYDER1')
Cutscene.Load('RYDER1A')

:GUNS1_170
if 
  not Cutscene.HasLoaded
goto_if_false @GUNS1_194
wait 0
goto @GUNS1_170

:GUNS1_194
World.ClearArea(2464.0, -1714.0, 14.0, 100.0, True)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:GUNS1_227
if 
  not Cutscene.HasFinished
goto_if_false @GUNS1_251
wait 0
goto @GUNS1_227

:GUNS1_251
Camera.DoFade(0, Fade.Out)

:GUNS1_257
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_281
wait 0
goto @GUNS1_257

:GUNS1_281
Weather.Release
Cutscene.Clear
Player.SetControl($statbike_temp, False)
39@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
41@ = DecisionMakerChar.Copy(39@)
40@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Garage.ChangeType('BURG_LK', GarageType.ForScriptToOpenAndClose)
42@ = DecisionMakerGroup.Load(0)
Group.SetDecisionMaker($flag_cell_nation, 42@)
DecisionMakerGroup.ClearEventResponse(42@, 54)
DecisionMakerGroup.ClearEventResponse(42@, 55)
51@ = 0
52@ = 0
53@ = 0
54@ = 0
55@ = 0
56@ = 0
58@ = 0
59@ = 0
35@ = 0
60@ = 0
61@ = 0
62@ = 0
63@ = 0
64@ = 0
65@ = 0
66@ = 0
67@ = 0
34@ = 0
94@ = 0
$6709 = 0
96@ = 0
68@ = 0
69@ = 0
36@ = 0
38@ = 0
70@ = 0
71@ = 0
72@ = 0
73@ = 0
74@ = 0
75@ = 0
76@ = 0
43@ = 0
44@ = 0
46@ = 0
77@ = 0
95@ = 0
167@ = 0.0
166@ = 0.0
47@ = 0
48@ = 2
50@ = 0
78@ = 0
88@ = 0
89@ = 0
90@ = 0
91@ = 0
92@ = 0
93@ = 0
97@ = 0
79@ = 0
80@ = 0
$6708 = 0
132@ = 2809.0
139@ = -1168.0
146@ = 1024.572
133@ = 2820.033
140@ = -1165.836
147@ = 1024.696
134@ = 2819.54
141@ = -1170.556
148@ = 1028.297
135@ = 2817.021
142@ = -1165.202
149@ = 1028.305
136@ = 2812.656
143@ = -1168.58
150@ = 1028.297
137@ = 2812.611
144@ = -1172.732
151@ = 1024.695
138@ = 2803.68
145@ = -1161.312
152@ = 1028.305
81@ = 0
82@ = 0
83@ = 0
84@ = 0
85@ = 0
86@ = 0
87@ = 0
171@ = 0
if 
  52@ == 999999
goto_if_false @GUNS1_1040
108@ = Blip.AddForCoord(0.0, 0.0, 0.0)

:GUNS1_1040
254@ = 0
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0
264@ = 0
265@ = 0
266@ = 0
267@ = 0
268@ = 0
269@ = 0
270@ = 0
271@ = 0
272@ = 0
set_var_text_label s$6710[1] = 'RYD1_AA'
set_var_text_label s$6710[2] = 'RYD1_AB'
set_var_text_label s$6710[3] = 'RYD1_AC'
set_var_text_label s$6710[4] = 'RYD1_AD'
set_var_text_label s$6710[5] = 'RYD1_AE'
set_var_text_label s$6710[6] = 'RYD1_AF'
set_var_text_label s$6710[7] = 'RYD1_AG'
set_var_text_label s$6710[8] = 'RYD1_AH'
set_var_text_label s$6710[9] = 'RYD1_AJ'
set_var_text_label s$6710[10] = 'RYD1_BA'
set_var_text_label s$6710[11] = 'RYD1_BB'
set_var_text_label s$6710[12] = 'RYD1_BC'
set_var_text_label s$6710[13] = 'RYD1_BD'
set_var_text_label s$6710[14] = 'RYD1_BE'
set_var_text_label s$6710[15] = 'RYD1_BF'
set_var_text_label s$6710[16] = 'RYD1_CA'
set_var_text_label s$6710[17] = 'RYD1_CB'
set_var_text_label s$6710[18] = 'RYD1_CC'
set_var_text_label s$6710[19] = 'RYD1_CD'
set_var_text_label s$6710[20] = 'RYD1_CE'
set_var_text_label s$6710[21] = 'RYD1_CF'
set_var_text_label s$6710[22] = 'RYD1_ZA'
set_var_text_label s$6710[23] = 'RYD1_ZB'
set_var_text_label s$6710[24] = 'RYD1_ZC'
set_var_text_label s$6710[25] = 'RYD1_ZD'
set_var_text_label s$6710[26] = 'RYD1_ZE'
set_var_text_label s$6710[27] = 'RYD1_ZF'
set_var_text_label s$6710[28] = 'RYD1_ZG'
set_var_text_label s$6710[29] = 'RYD1_ZH'
set_var_text_label s$6710[30] = 'RYD1_ZJ'
set_var_text_label s$6710[31] = 'RYD1_ZK'
set_var_text_label s$6710[32] = 'RYD1_ZL'
set_var_text_label s$6710[33] = 'RYD1_ZM'
set_var_text_label s$6710[34] = 'RYD1_ZN'
set_var_text_label s$6710[35] = 'RYD1_DA'
set_var_text_label s$6710[36] = 'RYD1_DB'
set_var_text_label s$6710[37] = 'RYD1_DC'
set_var_text_label s$6710[38] = 'RYD1_DD'
set_var_text_label s$6710[39] = 'RYD1_DE'
set_var_text_label s$6710[40] = 'RYD1_DF'
set_var_text_label s$6710[41] = 'RYD1_DG'
set_var_text_label s$6710[42] = 'RYD1_DH'
set_var_text_label s$6710[43] = 'RYD1_DJ'
set_var_text_label s$6710[44] = 'RYD1_DK'
set_var_text_label s$6710[45] = 'RYD1_DL'
set_var_text_label s$6710[46] = 'RYD1_EA'
set_var_text_label s$6710[47] = 'RYD1_EB'
set_var_text_label s$6710[48] = 'RYD1_EC'
set_var_text_label s$6710[49] = 'RYD1_ED'
set_var_text_label s$6710[50] = 'RYD1_FA'
set_var_text_label s$6710[51] = 'RYD1_FB'
set_var_text_label s$6710[52] = 'RYD1_FC'
set_var_text_label s$6710[53] = 'RYD1_GA'
set_var_text_label s$6710[54] = 'RYD1_GB'
set_var_text_label s$6710[55] = 'RYD1_GC'
set_var_text_label s$6710[56] = 'RYD1_GD'
set_var_text_label s$6710[57] = 'RYD1_GE'
set_var_text_label s$6710[58] = 'RYD1_GF'
set_var_text_label s$6710[59] = 'RYD1_GG'
set_var_text_label s$6710[60] = 'RYD1_GH'
set_var_text_label s$6710[61] = 'RYD1_GJ'
set_var_text_label s$6710[62] = 'RYD1_GK'
set_var_text_label s$6710[63] = 'RYD1_GL'
set_var_text_label s$6710[64] = 'RYD1_HA'
set_var_text_label s$6710[65] = 'RYD1_HB'
set_var_text_label s$6710[66] = 'RYD1_JA'
set_var_text_label s$6710[67] = 'RYD1_JB'
set_var_text_label s$6710[68] = 'RYD1_KA'
set_var_text_label s$6710[69] = 'RYD1_KB'
set_var_text_label s$6710[70] = 'RYD1_KC'
set_var_text_label s$6710[71] = 'RYD1_KD'
set_var_text_label s$6710[72] = 'RYD1_KE'
set_var_text_label s$6710[73] = 'RYD1_KF'
set_var_text_label s$6710[74] = 'RYD1_KG'
set_var_text_label s$6710[75] = 'RYD1_KH'
set_var_text_label s$6710[76] = 'RYDX_AC'
set_var_text_label s$6710[77] = 'RYD1_LA'
set_var_text_label s$6710[78] = 'RYD1_LB'
set_var_text_label s$6710[79] = 'RYD1_LC'
set_var_text_label s$6710[80] = 'RYDX_BG'
set_var_text_label s$6710[81] = 'RYDX_BI'
set_lvar_int_to_constant 173@ = 33600
set_lvar_int_to_constant 174@ = 33601
set_lvar_int_to_constant 175@ = 33602
set_lvar_int_to_constant 176@ = 33603
set_lvar_int_to_constant 177@ = 33604
set_lvar_int_to_constant 178@ = 33605
set_lvar_int_to_constant 179@ = 33606
set_lvar_int_to_constant 180@ = 33607
set_lvar_int_to_constant 181@ = 33608
set_lvar_int_to_constant 182@ = 33609
set_lvar_int_to_constant 183@ = 33610
set_lvar_int_to_constant 184@ = 33611
set_lvar_int_to_constant 185@ = 33612
set_lvar_int_to_constant 186@ = 33613
set_lvar_int_to_constant 187@ = 33614
set_lvar_int_to_constant 188@ = 33615
set_lvar_int_to_constant 189@ = 33616
set_lvar_int_to_constant 190@ = 33617
set_lvar_int_to_constant 191@ = 33618
set_lvar_int_to_constant 192@ = 33619
set_lvar_int_to_constant 193@ = 33620
set_lvar_int_to_constant 194@ = 33664
set_lvar_int_to_constant 195@ = 33665
set_lvar_int_to_constant 196@ = 33666
set_lvar_int_to_constant 197@ = 33667
set_lvar_int_to_constant 198@ = 33668
set_lvar_int_to_constant 199@ = 33669
set_lvar_int_to_constant 200@ = 33670
set_lvar_int_to_constant 201@ = 33671
set_lvar_int_to_constant 202@ = 33672
set_lvar_int_to_constant 203@ = 33673
set_lvar_int_to_constant 204@ = 33674
set_lvar_int_to_constant 205@ = 33675
set_lvar_int_to_constant 206@ = 33676
set_lvar_int_to_constant 207@ = 65535
set_lvar_int_to_constant 208@ = 33621
set_lvar_int_to_constant 209@ = 33622
set_lvar_int_to_constant 210@ = 33623
set_lvar_int_to_constant 211@ = 33624
set_lvar_int_to_constant 212@ = 33625
set_lvar_int_to_constant 213@ = 33626
set_lvar_int_to_constant 214@ = 33627
set_lvar_int_to_constant 215@ = 33628
set_lvar_int_to_constant 216@ = 33629
set_lvar_int_to_constant 217@ = 33630
set_lvar_int_to_constant 218@ = 33631
set_lvar_int_to_constant 219@ = 33632
set_lvar_int_to_constant 220@ = 33633
set_lvar_int_to_constant 221@ = 33634
set_lvar_int_to_constant 222@ = 33635
set_lvar_int_to_constant 223@ = 33636
set_lvar_int_to_constant 224@ = 33637
set_lvar_int_to_constant 225@ = 33638
set_lvar_int_to_constant 226@ = 33639
set_lvar_int_to_constant 227@ = 33640
set_lvar_int_to_constant 228@ = 33641
set_lvar_int_to_constant 229@ = 33642
set_lvar_int_to_constant 230@ = 33643
set_lvar_int_to_constant 231@ = 33644
set_lvar_int_to_constant 232@ = 33645
set_lvar_int_to_constant 233@ = 33646
set_lvar_int_to_constant 234@ = 33647
set_lvar_int_to_constant 235@ = 33648
set_lvar_int_to_constant 236@ = 33649
set_lvar_int_to_constant 237@ = 33650
set_lvar_int_to_constant 238@ = 33651
set_lvar_int_to_constant 239@ = 33652
set_lvar_int_to_constant 240@ = 33653
set_lvar_int_to_constant 241@ = 33654
set_lvar_int_to_constant 242@ = 33655
set_lvar_int_to_constant 243@ = 33656
set_lvar_int_to_constant 244@ = 33657
set_lvar_int_to_constant 245@ = 33658
set_lvar_int_to_constant 246@ = 33659
set_lvar_int_to_constant 247@ = 33660
set_lvar_int_to_constant 248@ = 34202
set_lvar_int_to_constant 249@ = 33661
set_lvar_int_to_constant 250@ = 33662
set_lvar_int_to_constant 251@ = 33663
set_lvar_int_to_constant 252@ = 34227
set_lvar_int_to_constant 253@ = 34229
set_lvar_int_to_constant 274@ = 19600
set_lvar_int_to_constant 275@ = 41800
set_lvar_int_to_constant 276@ = 19601
277@ = 0
278@ = 0
279@ = 0
$cs1_race_is_go = 1
if 
  51@ == 0
goto_if_false @GUNS1_4925
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
77@ = 1
Clock.SetTimeOfDay(22, 0)
World.SwitchEntryExit('BURHOUS', False)
Streaming.RequestModel(609)
Streaming.RequestAnimation("CAR_CHAT")
Streaming.LoadSpecialCharacter(1, 'RYDER2')

:GUNS1_3253
if or
  not Streaming.HasModelLoaded(609)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @GUNS1_3296
wait 0
goto @GUNS1_3253

:GUNS1_3296
World.ClearArea(2470.656, -1689.649, 12.5198, 100.0, True)
Car.CustomPlateForNextCar(609, "__SWAG__")
102@ = Car.Create(609, 2476.682, -1679.566, 12.3451)
Car.SetHeading(102@, 48.737)
98@ = Char.Create(PedType.Special, 290, 2475.168, -1686.483, 12.5007)
Char.SetCantBeDraggedOut(98@, True)
Char.SetDecisionMaker(98@, 39@)
DecisionMakerChar.ClearEventResponse(39@, 9)
DecisionMakerChar.ClearEventResponse(39@, 79)
DecisionMakerChar.ClearEventResponse(39@, 43)
DecisionMakerChar.ClearEventResponse(39@, 73)
DecisionMakerChar.ClearEventResponse(39@, 41)
DecisionMakerChar.AddEventResponse(39@, 9, 251, 0.0, 100.0, 0.0, 0.0, True, True)
Char.SetAnimGroup(98@, "GANG1")
Char.SetNeverTargeted(98@, True)
Char.SetHealth(98@, 200)
Char.SetSuffersCriticalHits(98@, False)
Car.SetHeading(102@, 30.0)
if 
  77@ == 999
goto_if_false @GUNS1_3555
104@ = Blip.AddForCar(102@)
Blip.SetAsFriendly(104@, True)

:GUNS1_3555
Text.ClearPrints
55@ = 1
59@ = 1
53@ = 1
51@ = 1
Streaming.LoadScene(2475.0, -1699.0, 15.0)
Camera.RestoreJumpcut
Char.SetCoordinates($stattreadstamina_ctr, 2473.483, -1686.599, 12.5154)
Char.SetHeading($stattreadstamina_ctr, 14.9748)
129@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2473.527, -1680.036, 12.3551, MoveState.Walk, 6000)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsDriver(-1, 102@, 5000)
Sequence.Close(129@)
Char.PerformSequence($stattreadstamina_ctr, 129@)
Sequence.Clear(129@)
Char.SetHeading(98@, 349.379)
129@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2480.925, -1682.348, 12.3381, MoveState.Run, 6000)
Task.GoStraightToCoord(-1, 2478.305, -1677.06, 12.3478, MoveState.Run, 6000)
Task.EnterCarAsPassenger(-1, 102@, 3000, 0)
Sequence.Close(129@)
Char.PerformSequence(98@, 129@)
Sequence.Clear(129@)
Camera.SetFixedPosition(2470.383, -1675.816, 13.2161, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2471.166, -1676.424, 13.347, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
World.ClearArea(2470.656, -1689.649, 12.5198, 100.0, True)
Clock.SetTimeOfDay(22, 0)
Camera.DoFade(1000, Fade.In)

:GUNS1_3880
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_3904
wait 0
goto @GUNS1_3880

:GUNS1_3904
skip_cutscene_start_internal @GUNS1_4448
TIMERA = 0
52@ = 0
254@ = 76
255@ = 1
256@ = 2
257@ = 0
263@ = 0

:GUNS1_3960
if 
  52@ == 0
goto_if_false @GUNS1_4448
if 
  254@ <> 0
goto_if_false @GUNS1_4317
if 
  257@ == 0
goto_if_false @GUNS1_4042
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_4035
Audio.ClearMissionAudio(256@)

:GUNS1_4035
257@ = 1

:GUNS1_4042
if 
  257@ == 1
goto_if_false @GUNS1_4079
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_4079
if 
  257@ == 2
goto_if_false @GUNS1_4139
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_4139
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_4139
if 
  257@ == 3
goto_if_false @GUNS1_4317
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_4256
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_4221
255@ = 2
256@ = 1
goto @GUNS1_4235

:GUNS1_4221
255@ = 1
256@ = 2

:GUNS1_4235
254@ = 0
257@ = 0
goto @GUNS1_4317

:GUNS1_4256
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_4317
if 
  76 > 254@
goto_if_false @GUNS1_4317
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_4317
if 
  TIMERA > 15000
goto_if_false @GUNS1_4343
52@ = 1

:GUNS1_4343
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_4430
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_4416
if and
  Char.IsSittingInCar(98@, 102@)
  Char.IsSittingInCar($stattreadstamina_ctr, 102@)
goto_if_false @GUNS1_4409
52@ = 1

:GUNS1_4409
goto @GUNS1_4423

:GUNS1_4416
52@ = 1

:GUNS1_4423
goto @GUNS1_4437

:GUNS1_4430
52@ = 1

:GUNS1_4437
wait 0
goto @GUNS1_3960

:GUNS1_4448
skip_cutscene_end 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
if 
  77@ == 1
goto_if_false @GUNS1_4766
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Audio.ClearMissionAudio(255@)
Audio.ClearMissionAudio(256@)
Text.ClearPrints
Hud.FreezeTimer(False)
254@ = 0
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0
Camera.DoFade(1000, Fade.Out)

:GUNS1_4578
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_4602
wait 0
goto @GUNS1_4578

:GUNS1_4602
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_4690
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_4690
if 
  not Char.IsInCar(98@, 102@)
goto_if_false @GUNS1_4663
Char.WarpIntoCarAsPassenger(98@, 102@, 0)

:GUNS1_4663
if 
  not Char.IsInCar($stattreadstamina_ctr, 102@)
goto_if_false @GUNS1_4690
Char.WarpIntoCar($stattreadstamina_ctr, 102@)

:GUNS1_4690
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
Game.MakeRoomInPlayerGangForMissionPeds(1)
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_4766
if 
  not Char.IsGroupMember(98@, $flag_cell_nation)
goto_if_false @GUNS1_4766
Game.SetScriptLimitToGangSize(1)
Group.SetMember($flag_cell_nation, 98@)
Group.SetFollowStatus($flag_cell_nation, False)
Char.ListenToPlayerGroupCommands(98@, False)

:GUNS1_4766
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Text.ClearPrints
Clock.SetTimeOfDay(22, 0)
Streaming.RemoveAnimation("CAR_CHAT")
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Player.StoreClothesState
88@ = 1
Player.GiveClothesOutsideShop($statbike_temp, "BALACLAVA", "BALACLAVA", BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Text.ClearThisBigPrint('BOXBURG')
Text.Print('GUNS130', 5000, 1)
Camera.DoFade(1000, Fade.In)

:GUNS1_4876
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_4900
wait 0
goto @GUNS1_4876

:GUNS1_4900
Player.SetControl($statbike_temp, True)
if 
  $2884 == 1
goto_if_false @GUNS1_4925

:GUNS1_4925
wait 0
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @GUNS1_4975
goto @GUNS1_40660
99@ = Char.Create(PedType.Mission1, 62, 2817.269, -1169.875, 28.272)

:GUNS1_4975
if 
is_ps2_keyboard_key_pressed 49
goto_if_false @GUNS1_5010
Char.SetCoordinates($stattreadstamina_ctr, 2834.0, -1182.0, 25.0)

:GUNS1_5010
if 
is_ps2_keyboard_key_pressed 50
goto_if_false @GUNS1_5045
Char.SetCoordinates($stattreadstamina_ctr, 2492.0, -1666.0, 12.0)

:GUNS1_5045
if 
is_ps2_keyboard_key_pressed 52
goto_if_false @GUNS1_5067
35@ = 4

:GUNS1_5067
if 
is_ps2_keyboard_key_pressed 51
goto_if_false @GUNS1_5089
51@ = 8

:GUNS1_5089
if 
is_ps2_keyboard_key_pressed 99
goto_if_false @GUNS1_5114
$6708 = 6000000

:GUNS1_5114
if 
is_ps2_keyboard_key_pressed 48
goto_if_false @GUNS1_5137
$6708 = 5000

:GUNS1_5137
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @GUNS1_5159
goto @GUNS1_40660

:GUNS1_5159
if 
  53@ == 1
goto_if_false @GUNS1_5564
if 
  Char.IsDead(98@)
goto_if_false @GUNS1_5325
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @GUNS1_5302
Camera.DoFade(1000, Fade.Out)

:GUNS1_5231
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_5255
wait 0
goto @GUNS1_5231

:GUNS1_5255
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:GUNS1_5278
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_5302
wait 0
goto @GUNS1_5278

:GUNS1_5302
Text.Print('GUNS125', 5000, 1)
goto @GUNS1_40642

:GUNS1_5325
if 
  Car.IsDead(102@)
goto_if_false @GUNS1_5471
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @GUNS1_5448
Camera.DoFade(1000, Fade.Out)

:GUNS1_5377
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_5401
wait 0
goto @GUNS1_5377

:GUNS1_5401
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:GUNS1_5424
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_5448
wait 0
goto @GUNS1_5424

:GUNS1_5448
Text.Print('GUNS122', 5000, 1)
goto @GUNS1_40642

:GUNS1_5471
37@ = Streaming.GetAreaVisible()
if 
  37@ == 0
goto_if_false @GUNS1_5564
if 
  8 > 51@
goto_if_false @GUNS1_5564
if 
  not Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @GUNS1_5564
Text.Print('RYD1_37', 5000, 1)
goto @GUNS1_40642

:GUNS1_5564
if and
  51@ == 1
  not Car.IsDead(102@)
goto_if_false @GUNS1_5670
if 
  Char.IsInCar($stattreadstamina_ctr, 102@)
goto_if_false @GUNS1_5670
Blip.Remove(104@)
55@ = 0
Text.ClearPrints
105@ = Blip.AddForCoord(2819.9, -1181.7, 25.15)
Text.Print('GUNS130', 5000, 1)
56@ = 1
51@ = 2

:GUNS1_5670
if 
  51@ == 2
goto_if_false @GUNS1_8410
if and
  not Car.IsDead(102@)
  not Char.IsDead(98@)
goto_if_false @GUNS1_6720
if 
  not Char.IsInCar($stattreadstamina_ctr, 102@)
goto_if_false @GUNS1_6272
if 
  55@ == 0
goto_if_false @GUNS1_5934
if 
  59@ == 0
goto_if_false @GUNS1_5794
if 
  57@ == 1
goto_if_false @GUNS1_5794
Blip.Remove(108@)
57@ = 0

:GUNS1_5794
Blip.Remove(105@)
if 
  57@ == 1
goto_if_false @GUNS1_5829
Blip.Remove(108@)
57@ = 0

:GUNS1_5829
56@ = 0
if 
  Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_5856
44@ = 1

:GUNS1_5856
Text.ClearPrints
Text.Print('GUNS128', 5000, 1)
254@ = 76
257@ = 0
Audio.ClearMissionAudio(255@)
Audio.ClearMissionAudio(256@)
Player.SetGroupToFollowNever($statbike_temp, True)
104@ = Blip.AddForCar(102@)
Blip.SetAsFriendly(104@, True)
55@ = 1
goto @GUNS1_6265

:GUNS1_5934
if 
  254@ <> 0
goto_if_false @GUNS1_6265
if 
  257@ == 0
goto_if_false @GUNS1_5998
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_5991
Audio.ClearMissionAudio(256@)

:GUNS1_5991
257@ = 1

:GUNS1_5998
if 
  257@ == 1
goto_if_false @GUNS1_6035
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_6035
if 
  257@ == 2
goto_if_false @GUNS1_6096
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_6096
Audio.AttachMissionAudioToChar(255@, 98@)
Audio.PlayMissionAudio(255@)
43@ += 1
257@ = 3

:GUNS1_6096
if 
  257@ == 3
goto_if_false @GUNS1_6265
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_6204
if 
  255@ == 1
goto_if_false @GUNS1_6169
255@ = 2
256@ = 1
goto @GUNS1_6183

:GUNS1_6169
255@ = 1
256@ = 2

:GUNS1_6183
254@ = 0
257@ = 0
goto @GUNS1_6265

:GUNS1_6204
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_6265
if 
  76 > 254@
goto_if_false @GUNS1_6265
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_6265
goto @GUNS1_6416

:GUNS1_6272
if 
  59@ == 1
goto_if_false @GUNS1_6379
if 
  56@ == 0
goto_if_false @GUNS1_6372
Player.SetGroupToFollowNever($statbike_temp, False)
Blip.Remove(104@)
55@ = 0
Text.ClearPrints
Text.Print('GUNS130', 5000, 1)
105@ = Blip.AddForCoord(2819.9, -1181.7, 25.15)
56@ = 1

:GUNS1_6372
goto @GUNS1_6416

:GUNS1_6379
if 
  55@ == 1
goto_if_false @GUNS1_6416
Player.SetGroupToFollowNever($statbike_temp, False)
Blip.Remove(104@)
55@ = 0

:GUNS1_6416
if 
  Char.IsInCar(98@, 102@)
goto_if_false @GUNS1_6511
if 
  59@ == 0
goto_if_false @GUNS1_6504
if 
  57@ == 1
goto_if_false @GUNS1_6483
Blip.Remove(108@)
57@ = 0

:GUNS1_6483
59@ = 1
58@ = 0
59@ = 1

:GUNS1_6504
goto @GUNS1_6720

:GUNS1_6511
if 
  59@ == 1
goto_if_false @GUNS1_6536
59@ = 0

:GUNS1_6536
if and
  57@ == 0
  55@ == 0
goto_if_false @GUNS1_6633
Blip.Remove(105@)
56@ = 0
108@ = Blip.AddForChar(98@)
Blip.SetAsFriendly(108@, True)
if 
  Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_6608
44@ = 1

:GUNS1_6608
Text.ClearPrints
Text.Print('GUNS143', 5000, 1)
57@ = 1

:GUNS1_6633
if 
  58@ == 0
goto_if_false @GUNS1_6677
Task.EnterCarAsPassenger(98@, 102@, -2, 0)
58@ = 1
goto @GUNS1_6720

:GUNS1_6677
38@ = Char.GetScriptTaskStatus(98@, 1482)
if and
  not is_int_lvar_equal_to_constant 38@ == 0
  not is_int_lvar_equal_to_constant 38@ == 1
goto_if_false @GUNS1_6720
58@ = 0

:GUNS1_6720
if and
  59@ == 1
  56@ == 1
goto_if_false @GUNS1_8248
if 
  44@ == 1
goto_if_false @GUNS1_6836
if 
  8 > 43@
goto_if_false @GUNS1_6836
Text.Print('GUNS135', 4000, 1)
43@ -= 1
if 
  0 > 43@
goto_if_false @GUNS1_6829
43@ = 0

:GUNS1_6829
44@ = 0

:GUNS1_6836
if 
  44@ == 0
goto_if_false @GUNS1_8248
if 
  258@ == 0
goto_if_false @GUNS1_8248
if 
  254@ <> 0
goto_if_false @GUNS1_7218
if 
  257@ == 0
goto_if_false @GUNS1_6936
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_6929
Audio.ClearMissionAudio(256@)

:GUNS1_6929
257@ = 1

:GUNS1_6936
if 
  257@ == 1
goto_if_false @GUNS1_6973
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_6973
if 
  257@ == 2
goto_if_false @GUNS1_7040
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_7040
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
43@ += 1
257@ = 3

:GUNS1_7040
if 
  257@ == 3
goto_if_false @GUNS1_7218
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_7157
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_7122
255@ = 2
256@ = 1
goto @GUNS1_7136

:GUNS1_7122
255@ = 1
256@ = 2

:GUNS1_7136
254@ = 0
257@ = 0
goto @GUNS1_7218

:GUNS1_7157
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_7218
if 
  76 > 254@
goto_if_false @GUNS1_7218
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_7218
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_8248
switch_start 259@ {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @GUNS1_8125 {caseNum1} 0 {caseLabel1} @GUNS1_7359 {caseNum2} 1 {caseLabel2} @GUNS1_7441 {caseNum3} 2 {caseLabel3} @GUNS1_7525 {caseNum4} 3 {caseLabel4} @GUNS1_7633 {caseNum5} 4 {caseLabel5} @GUNS1_7741 {caseNum6} 5 {caseLabel6} @GUNS1_7825 {caseNum7} 6 {caseLabel7} @GUNS1_7933
switch_continued 7 {caseLabel1} @GUNS1_8017 {caseNum2} -1 {caseLabel2} @GUNS1_8248 {caseNum3} -1 {caseLabel3} @GUNS1_8248 {caseNum4} -1 {caseLabel4} @GUNS1_8248 {caseNum5} -1 {caseLabel5} @GUNS1_8248 {caseNum6} -1 {caseLabel6} @GUNS1_8248 {caseNum7} -1 {caseLabel7} @GUNS1_8248 {caseNum8} -1 {caseLabel8} @GUNS1_8248 {caseNum9} -1 {caseLabel9} @GUNS1_8248

:GUNS1_7359
if 
  257@ == 0
goto_if_false @GUNS1_7434
254@ = 2
259@ = 1
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_7429
Char.StartFacialTalk(98@, 5000)
Char.ShutUpForScriptedSpeech(98@, True)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:GUNS1_7429
262@ = Clock.GetGameTimer()

:GUNS1_7434
goto @GUNS1_8248

:GUNS1_7441
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_7518
if 
  257@ == 0
goto_if_false @GUNS1_7518
254@ = 3
259@ = 2
262@ = Clock.GetGameTimer()

:GUNS1_7518
goto @GUNS1_8248

:GUNS1_7525
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_7626
if 
  257@ == 0
goto_if_false @GUNS1_7626
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_7607
Char.StartFacialTalk(98@, 4000)

:GUNS1_7607
254@ = 4
259@ = 3
262@ = Clock.GetGameTimer()

:GUNS1_7626
goto @GUNS1_8248

:GUNS1_7633
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_7734
if 
  257@ == 0
goto_if_false @GUNS1_7734
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_7715
Char.StartFacialTalk(98@, 4000)

:GUNS1_7715
254@ = 5
259@ = 4
262@ = Clock.GetGameTimer()

:GUNS1_7734
goto @GUNS1_8248

:GUNS1_7741
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_7818
if 
  257@ == 0
goto_if_false @GUNS1_7818
254@ = 6
259@ = 5
262@ = Clock.GetGameTimer()

:GUNS1_7818
goto @GUNS1_8248

:GUNS1_7825
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_7926
if 
  257@ == 0
goto_if_false @GUNS1_7926
254@ = 7
259@ = 6
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_7921
Char.StartFacialTalk(98@, 3000)

:GUNS1_7921
262@ = Clock.GetGameTimer()

:GUNS1_7926
goto @GUNS1_8248

:GUNS1_7933
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_8010
if 
  257@ == 0
goto_if_false @GUNS1_8010
254@ = 8
259@ = 7
262@ = Clock.GetGameTimer()

:GUNS1_8010
goto @GUNS1_8248

:GUNS1_8017
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_8118
if 
  257@ == 0
goto_if_false @GUNS1_8118
254@ = 9
259@ = 8
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_8113
Char.StartFacialTalk(98@, 3000)

:GUNS1_8113
262@ = Clock.GetGameTimer()

:GUNS1_8118
goto @GUNS1_8248

:GUNS1_8125
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_8241
if 
  257@ == 0
goto_if_false @GUNS1_8241
258@ = 1
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_8225
Char.ShutUpForScriptedSpeech(98@, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk(98@)

:GUNS1_8225
Text.Print('GUNS130', 5000, 1)

:GUNS1_8241
goto @GUNS1_8248

:GUNS1_8248
if and
  59@ == 1
  56@ == 1
goto_if_false @GUNS1_8410
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 2819.9, -1181.7, 25.15, 4.0, 4.0, 2.5, True)
goto_if_false @GUNS1_8410
Player.SetControl($statbike_temp, False)
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)
Blip.Remove(105@)
56@ = 0
44@ = 0
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Text.ClearPrints
World.ClearArea(2819.9, -1181.7, 25.15, 30.0, True)
51@ = 3

:GUNS1_8410
if and
  4 > 51@
  80@ == 1
goto_if_false @GUNS1_8590
if 
  $6708 == 0
goto_if_false @GUNS1_8590
Text.ClearPrints
Char.ClearTasks($stattreadstamina_ctr)
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @GUNS1_8567
Camera.DoFade(1000, Fade.Out)

:GUNS1_8496
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_8520
wait 0
goto @GUNS1_8496

:GUNS1_8520
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:GUNS1_8543
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_8567
wait 0
goto @GUNS1_8543

:GUNS1_8567
Text.Print('RYD1_35', 5000, 1)
goto @GUNS1_40642

:GUNS1_8590
if 
  51@ == 3
goto_if_false @GUNS1_11412
if 
  $2884 == 0
goto_if_false @GUNS1_8633
$2884 = 1

:GUNS1_8633
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Hud.FreezeTimer(True)
skip_cutscene_start_internal @GUNS1_10796
Camera.SetFixedPosition(2798.645, -1190.165, 31.8647, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2799.488, -1189.684, 31.6214, SwitchType.JumpCut)
Text.ClearPrints
254@ = 0
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0

:GUNS1_8778
wait 0
if 
  258@ == 0
goto_if_false @GUNS1_10796
if 
  254@ <> 0
goto_if_false @GUNS1_9139
if 
  257@ == 0
goto_if_false @GUNS1_8864
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_8857
Audio.ClearMissionAudio(256@)

:GUNS1_8857
257@ = 1

:GUNS1_8864
if 
  257@ == 1
goto_if_false @GUNS1_8901
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_8901
if 
  257@ == 2
goto_if_false @GUNS1_8961
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_8961
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_8961
if 
  257@ == 3
goto_if_false @GUNS1_9139
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_9078
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_9043
255@ = 2
256@ = 1
goto @GUNS1_9057

:GUNS1_9043
255@ = 1
256@ = 2

:GUNS1_9057
254@ = 0
257@ = 0
goto @GUNS1_9139

:GUNS1_9078
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_9139
if 
  76 > 254@
goto_if_false @GUNS1_9139
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_9139
switch_start 259@ {numCases} 7 {hasDefaultCase} 1 {defaultLabel} @GUNS1_10717 {caseNum1} 0 {caseLabel1} @GUNS1_9202 {caseNum2} 1 {caseLabel2} @GUNS1_9320 {caseNum3} 2 {caseLabel3} @GUNS1_9483 {caseNum4} 3 {caseLabel4} @GUNS1_9619 {caseNum5} 4 {caseLabel5} @GUNS1_10172 {caseNum6} 5 {caseLabel6} @GUNS1_10395 {caseNum7} 6 {caseLabel7} @GUNS1_10583

:GUNS1_9202
if 
  257@ == 0
goto_if_false @GUNS1_9313
254@ = 10
259@ = 1
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_9308
Char.StartFacialTalk(98@, 4000)
125@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2809.281, -1181.609, 24.6181, MoveState.Walk, -1)
Sequence.Close(125@)
Char.PerformSequence(98@, 125@)
Sequence.Clear(125@)

:GUNS1_9308
262@ = Clock.GetGameTimer()

:GUNS1_9313
goto @GUNS1_10789

:GUNS1_9320
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_9476
if 
  257@ == 0
goto_if_false @GUNS1_9476
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_9407
Char.StopFacialTalk(98@)
Char.StartFacialTalk($stattreadstamina_ctr, 5000)

:GUNS1_9407
124@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2808.119, -1182.255, 24.6181, MoveState.Walk, -1)
Sequence.Close(124@)
Char.PerformSequence($stattreadstamina_ctr, 124@)
Sequence.Clear(124@)
254@ = 11
259@ = 2
262@ = Clock.GetGameTimer()

:GUNS1_9476
goto @GUNS1_10789

:GUNS1_9483
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_9612
if 
  257@ == 0
goto_if_false @GUNS1_9612
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_9570
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk(98@, 4000)

:GUNS1_9570
254@ = 12
Streaming.RequestAnimation("ON_LOOKERS")
Streaming.RequestAnimation("GANGS")
259@ = 3
262@ = Clock.GetGameTimer()

:GUNS1_9612
goto @GUNS1_10789

:GUNS1_9619
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_10165
if 
  257@ == 0
goto_if_false @GUNS1_10165

:GUNS1_9677
if or
  not Streaming.HasAnimationLoaded("ON_LOOKERS")
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @GUNS1_9722
wait 0
goto @GUNS1_9677

:GUNS1_9722
if 
  73@ == 0
goto_if_false @GUNS1_9949
if and
  not Car.IsDead(102@)
  not Char.IsDead(98@)
goto_if_false @GUNS1_9949
if and
  not Char.IsInCar($stattreadstamina_ctr, 102@)
  not Char.IsInCar(98@, 102@)
goto_if_false @GUNS1_9949
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately(98@)
Char.SetCoordinates($stattreadstamina_ctr, 2808.119, -1182.255, 24.3693)
Char.SetHeading($stattreadstamina_ctr, 353.059)
Char.SetCoordinates(98@, 2809.281, -1181.609, 24.3693)
Char.SetHeading(98@, 30.6396)
Camera.SetFixedPosition(2804.06, -1181.834, 25.8646, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2804.96, -1181.406, 25.9365, SwitchType.JumpCut)
Car.CloseAllDoors(102@)
Car.LockDoors(102@, CarLock.Locked)
Car.FixDoor(102@, CarDoor.LeftFrontDoor)
Car.FixDoor(102@, CarDoor.RightFrontDoor)
Car.FreezePosition(102@, True)
73@ = 1

:GUNS1_9949
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_10122
126@ = Sequence.Open()
Task.PlayAnim(-1, "SHOUT_IN", "ON_LOOKERS", 1000.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_LOOP", "ON_LOOKERS", 1000.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_OUT", "ON_LOOKERS", 1000.0, False, False, False, False, -1)
Sequence.Close(126@)
Char.PerformSequence(98@, 126@)
Sequence.Clear(126@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 98@)

:GUNS1_10122
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_10146
Char.StartFacialTalk(98@, 4000)

:GUNS1_10146
254@ = 13
259@ = 4
262@ = Clock.GetGameTimer()

:GUNS1_10165
goto @GUNS1_10789

:GUNS1_10172
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_10388
if 
  257@ == 0
goto_if_false @GUNS1_10388
Streaming.RequestAnimation("GANGS")

:GUNS1_10239
if 
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @GUNS1_10270
wait 0
goto @GUNS1_10239

:GUNS1_10270
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_10299
Char.StopFacialTalk(98@)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)

:GUNS1_10299
254@ = 14
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_10376
Task.LookAtChar($stattreadstamina_ctr, 98@, 5000)
Task.PlayAnim($stattreadstamina_ctr, "PRTIAL_GNGTLKC", "GANGS", 4.0, False, False, False, False, -1)

:GUNS1_10376
259@ = 5
262@ = Clock.GetGameTimer()

:GUNS1_10388
goto @GUNS1_10789

:GUNS1_10395
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_10576
if 
  257@ == 0
goto_if_false @GUNS1_10576
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_10482
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk(98@, 4000)

:GUNS1_10482
254@ = 15
Char.ClearTasks($stattreadstamina_ctr)
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_10564
Task.LookAtChar(98@, $stattreadstamina_ctr, 3000)
Task.PlayAnim(98@, "PRTIAL_GNGTLKB", "GANGS", 4.0, False, False, False, False, -1)

:GUNS1_10564
259@ = 6
262@ = Clock.GetGameTimer()

:GUNS1_10576
goto @GUNS1_10789

:GUNS1_10583
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_10710
if 
  257@ == 0
goto_if_false @GUNS1_10710
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_10665
Char.StartFacialTalk(98@, 4000)

:GUNS1_10665
254@ = 16
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_10698
Char.ClearLookAt(98@)
Task.ShakeFist(98@)

:GUNS1_10698
259@ = 7
262@ = Clock.GetGameTimer()

:GUNS1_10710
goto @GUNS1_10789

:GUNS1_10717
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_10782
if 
  257@ == 0
goto_if_false @GUNS1_10782
258@ = 1

:GUNS1_10782
goto @GUNS1_10789

:GUNS1_10789
goto @GUNS1_8778

:GUNS1_10796
skip_cutscene_end 
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_10824
Char.StopFacialTalk(98@)
Char.StopFacialTalk($stattreadstamina_ctr)

:GUNS1_10824
Audio.ClearMissionAudio(255@)
Audio.ClearMissionAudio(256@)
Hud.FreezeTimer(False)
if 
  73@ == 0
goto_if_false @GUNS1_11073
if and
  not Car.IsDead(102@)
  not Char.IsDead(98@)
goto_if_false @GUNS1_11073
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately(98@)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GUNS1_10930
Char.SetCoordinates($stattreadstamina_ctr, 2808.119, -1182.255, 24.3693)
goto @GUNS1_10950

:GUNS1_10930
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2808.119, -1182.255, 24.3693)

:GUNS1_10950
Char.SetHeading($stattreadstamina_ctr, 10.3905)
if 
  not Char.IsInAnyCar(98@)
goto_if_false @GUNS1_11003
Char.SetCoordinatesNoOffset(98@, 2809.281, -1181.609, 24.6181)
goto @GUNS1_11023

:GUNS1_11003
Char.WarpFromCarToCoord(98@, 2809.281, -1181.609, 24.6181)

:GUNS1_11023
Char.SetHeading(98@, 30.6396)
Car.CloseAllDoors(102@)
Car.LockDoors(102@, CarLock.Locked)
Car.FixDoor(102@, CarDoor.LeftFrontDoor)
Car.FixDoor(102@, CarDoor.RightFrontDoor)
Car.FreezePosition(102@, True)
73@ = 1

:GUNS1_11073
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_11099
Char.ClearTasksImmediately(98@)
Char.ClearLookAt(98@)

:GUNS1_11099
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearLookAt($stattreadstamina_ctr)
Streaming.RemoveAnimation("ON_LOOKERS")
Text.ClearPrints
Camera.RestoreJumpcut
World.SwitchEntryExit('BURHOUS', True)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
109@ = Blip.AddForCoord(2808.0, -1177.0, 26.0)
Text.Print('RYD1_39', 5000, 1)
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_11405
if 
  Char.IsGroupMember(98@, $flag_cell_nation)
goto_if_false @GUNS1_11227
Char.RemoveFromGroup(98@)

:GUNS1_11227
128@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2829.412, -1187.152, 23.8422, MoveState.Walk, -2)
Task.LookAtCoord(-1, 2833.251, -1197.908, 23.3976, 2500)
Task.LookAtCoord(-1, 2831.166, -1169.792, 23.9627, 2500)
Task.StandStill(-1, 5000)
Task.GoStraightToCoord(-1, 2811.438, -1185.982, 24.2707, MoveState.Walk, -2)
Task.LookAtCoord(-1, 2808.122, -1190.884, 24.3397, 2500)
Task.LookAtCoord(-1, 2808.43, -1177.409, 24.3621, 2500)
Task.StandStill(-1, 5000)
Sequence.SetToRepeat(128@, True)
Sequence.Close(128@)
Char.PerformSequence(98@, 128@)
Sequence.Clear(128@)

:GUNS1_11405
51@ = 4

:GUNS1_11412
if 
  51@ == 4
goto_if_false @GUNS1_12539
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2808.0, -1170.0, 1026.0, 10.0, 10.0, 10.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2807.96, -1176.236, 24.3824, 1.2, 1.2, 3.0, False)
goto_if_false @GUNS1_12539
Text.ClearPrints
Blip.Remove(109@)
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:GUNS1_11536
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_11560
wait 0
goto @GUNS1_11536

:GUNS1_11560
Text.ClearPrints
Text.ClearHelp
Hud.DisplayRadar(False)
Hud.Display(False)
Camera.SetFixedPosition(2806.792, -1168.75, 1025.883, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2807.339, -1169.587, 1025.903, SwitchType.JumpCut)
Hud.SetRadarZoom(90)
Hud.SwitchWidescreen(True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Streaming.SetAreaVisible(8)
Streaming.LoadScene(2807.62, -1169.88, 1024.578)
Streaming.SetAreaVisible(8)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2807.96, -1176.236, 20.0)
Char.SetCoordinates($stattreadstamina_ctr, 2807.62, -1171.9, 1024.578)
Char.SetHeading($stattreadstamina_ctr, 0.0)
167@ = 0.0
$6709 = 0
Streaming.SetAreaVisible(8)
Path.SwitchPedRoadsOff(2775.0, -1196.4, 0.0, 2840.0, -1141.0, 40.0)
World.ClearArea(2808.73, -1168.32, 1024.6, 100.0, True)
Streaming.LoadScene(2808.73, -1168.32, 1024.6)
Camera.RestoreJumpcut
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_11828
Char.ClearTasks(98@)

:GUNS1_11828
Streaming.RequestModel(#DB_AMMO)

:GUNS1_11833
if 
  not Streaming.HasModelLoaded(#DB_AMMO)
goto_if_false @GUNS1_11860
wait 0
goto @GUNS1_11833

:GUNS1_11860
34@ = 0

:GUNS1_11867
if 
  7 > 34@
goto_if_false @GUNS1_12073
117@(34@,7i) = Object.Create(#DB_AMMO, 132@(34@,7f), 139@(34@,7f), 146@(34@,7f))
110@(34@,7i) = Blip.AddForObject(117@(34@,7i))
163@, 164@, 165@ = Object.GetCoordinates(117@(34@,7i))
if 
  165@ > 700.0
goto_if_false @GUNS1_11997
Blip.SetEntryExit(110@(34@,7i), 2807.844, -1176.985, 10.0)

:GUNS1_11997
81@(34@,7i) = 1
Object.SetAreaVisible(117@(34@,7i), 8)
Object.SetAsStealable(117@(34@,7i), True)
Object.SetCollision(117@(34@,7i), True)
Object.SetDynamic(117@(34@,7i), True)
47@ += 1
34@ += 1
goto @GUNS1_11867

:GUNS1_12073
Streaming.RequestAnimation("INT_HOUSE")
Streaming.RequestAnimation("GANGS")

:GUNS1_12095
if or
  not Streaming.HasAnimationLoaded("INT_HOUSE")
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @GUNS1_12139
wait 0
goto @GUNS1_12095

:GUNS1_12139
Streaming.RequestModel(62)
Streaming.RequestModel(349)

:GUNS1_12148
if or
  not Streaming.HasModelLoaded(62)
  not Streaming.HasModelLoaded(349)
goto_if_false @GUNS1_12179
wait 0
goto @GUNS1_12148

:GUNS1_12179
99@ = Char.Create(PedType.Mission1, 62, 2816.857, -1169.075, 1028.172)
Char.SetAreaVisible(99@, 8)
Char.SetSuffersCriticalHits(99@, True)
World.SetCharUsesCollisionClosestObjectOfType(2816.857, -1169.075, 1028.172, 4.0, #MED_BED_8, False, 99@)
Char.SetDecisionMaker(99@, 40@)
Char.SetCoordinates(99@, 2816.857, -1169.075, 1028.172)
Char.SetHeading(99@, 90.0)
Char.GiveWeapon(99@, WeaponType.Shotgun, 3000)
Char.SetCurrentWeapon(99@, WeaponType.Unarmed)
Task.PlayAnim(99@, "BED_LOOP_R", "INT_HOUSE", 4.0, True, False, False, False, -1)
Camera.SetFixedPosition(2806.792, -1168.75, 1025.883, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2807.339, -1169.587, 1025.903, SwitchType.JumpCut)
if 
  95@ == 0
goto_if_false @GUNS1_12459
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
World.ClearArea(2819.9, -1181.7, 1025.15, 50.0, True)
95@ = 1

:GUNS1_12459
61@ = 1
35@ += 1
Blip.Remove(110@)
81@ = 0
Object.Delete(117@)
47@ -= 1
Camera.DoFade(500, Fade.In)

:GUNS1_12504
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_12528
wait 0
goto @GUNS1_12504

:GUNS1_12528
Hud.Display(True)
51@ = 5

:GUNS1_12539
if 
  7 > 51@
goto_if_false @GUNS1_12774
if 
  80@ == 0
goto_if_false @GUNS1_12767
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if 
  $player_is_completely_safe > 21
goto_if_false @GUNS1_12667
49@ = 24
sub_int_var_from_int_lvar 49@ -= $player_is_completely_safe
49@ += 6
49@ *= 60000
set_var_int_to_lvar_int $6708 = 49@
49@ = 60000
sub_int_var_from_int_lvar 49@ -= $player_is_completely_safe_for_mobile
add_int_var_to_int_var $6708 += $player_is_completely_safe_for_mobile

:GUNS1_12667
if 
  5 > $player_is_completely_safe
goto_if_false @GUNS1_12744
49@ = 6
sub_int_var_from_int_lvar 49@ -= $player_is_completely_safe
49@ *= 60000
set_var_int_to_lvar_int $6708 = 49@
49@ = 60000
sub_int_var_from_int_lvar 49@ -= $player_is_completely_safe_for_mobile
add_int_var_to_int_var $6708 += $player_is_completely_safe_for_mobile

:GUNS1_12744
Hud.DisplayTimerWithString($6708, TimerDirection.Down, 'RYD1_41')
80@ = 1

:GUNS1_12767
goto @GUNS1_12804

:GUNS1_12774
if 
  80@ == 1
goto_if_false @GUNS1_12804
Hud.ClearTimer($6708)
80@ = 0

:GUNS1_12804
if 
  51@ == 5
goto_if_false @GUNS1_14412
World.ClearArea(2819.9, -1181.7, 1025.15, 50.0, True)
Hud.FreezeTimer(True)
skip_cutscene_start_internal @GUNS1_13763
Text.ClearHelp
Text.PrintHelpForever('RYD1_92')

:GUNS1_12870
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GUNS1_12894
wait 0
goto @GUNS1_12870

:GUNS1_12894
TIMERA = 0
52@ = 0

:GUNS1_12908
if 
  52@ == 0
goto_if_false @GUNS1_12968
if or
  TIMERA > 4000
  not Player.IsPlaying($statbike_temp)
goto_if_false @GUNS1_12957
52@ = 1

:GUNS1_12957
wait 0
goto @GUNS1_12908

:GUNS1_12968
Text.ClearHelp
Text.PrintHelpForever('RYD1_93')

:GUNS1_12981
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GUNS1_13005
wait 0
goto @GUNS1_12981

:GUNS1_13005
TIMERA = 0
52@ = 0

:GUNS1_13019
if 
  52@ == 0
goto_if_false @GUNS1_13079
if or
  TIMERA > 4000
  not Player.IsPlaying($statbike_temp)
goto_if_false @GUNS1_13068
52@ = 1

:GUNS1_13068
wait 0
goto @GUNS1_13019

:GUNS1_13079
Camera.SetFixedPosition(2815.59, -1169.15, 1029.45, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2820.48, -1173.33, 1028.01, SwitchType.JumpCut)
Text.ClearHelp
Text.PrintHelpForever('RYD1_94')

:GUNS1_13143
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GUNS1_13167
wait 0
goto @GUNS1_13143

:GUNS1_13167
TIMERA = 0
52@ = 0
277@ = 3
278@ = 0
279@ = 0

:GUNS1_13202
if 
  52@ == 0
goto_if_false @GUNS1_13451
if 
  277@ <> 0
goto_if_false @GUNS1_13409
if 
  278@ == 0
goto_if_false @GUNS1_13282
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @GUNS1_13275
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:GUNS1_13275
278@ = 1

:GUNS1_13282
if 
  278@ == 1
goto_if_false @GUNS1_13318
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 273@(277@,4i))
278@ = 2

:GUNS1_13318
if 
  278@ == 2
goto_if_false @GUNS1_13362
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @GUNS1_13362
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
278@ = 3

:GUNS1_13362
if 
  278@ == 3
goto_if_false @GUNS1_13409
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @GUNS1_13409
277@ = 0
278@ = 0

:GUNS1_13409
if or
  TIMERA > 4000
  not Player.IsPlaying($statbike_temp)
goto_if_false @GUNS1_13440
52@ = 1

:GUNS1_13440
wait 0
goto @GUNS1_13202

:GUNS1_13451
Text.PrintHelpForever('RYD1_95')

:GUNS1_13462
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GUNS1_13486
wait 0
goto @GUNS1_13462

:GUNS1_13486
TIMERA = 0
52@ = 0
277@ = 3
278@ = 0

:GUNS1_13514
if 
  52@ == 0
goto_if_false @GUNS1_13763
if 
  277@ <> 0
goto_if_false @GUNS1_13721
if 
  278@ == 0
goto_if_false @GUNS1_13594
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @GUNS1_13587
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:GUNS1_13587
278@ = 1

:GUNS1_13594
if 
  278@ == 1
goto_if_false @GUNS1_13630
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 273@(277@,4i))
278@ = 2

:GUNS1_13630
if 
  278@ == 2
goto_if_false @GUNS1_13674
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @GUNS1_13674
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
278@ = 3

:GUNS1_13674
if 
  278@ == 3
goto_if_false @GUNS1_13721
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @GUNS1_13721
277@ = 0
278@ = 0

:GUNS1_13721
if or
  TIMERA > 4000
  not Player.IsPlaying($statbike_temp)
goto_if_false @GUNS1_13752
52@ = 1

:GUNS1_13752
wait 0
goto @GUNS1_13514

:GUNS1_13763
skip_cutscene_end 
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Hud.FreezeTimer(False)
Text.ClearHelp
Text.ClearPrints
if and
  not Car.IsDead(102@)
  not Char.IsDead(98@)
goto_if_false @GUNS1_14191
World.ClearArea(2812.9, -1181.13, 1024.396, 100.0, True)
Car.SetCoordinates(102@, 2811.846, -1183.291, 24.2764)
Car.SetHeading(102@, 246.9816)
Car.OpenDoor(102@, CarDoor.LeftRearDoor)
Car.OpenDoor(102@, CarDoor.RightRearDoor)
Char.ClearTasks(98@)
154@, 155@, 156@ = Car.GetOffsetInWorldCoords(102@, -1.5, -4.0, 0.0)
153@ = Car.GetHeading(102@)
153@ -= 180.0
if 
  180.0 > 153@
goto_if_false @GUNS1_13949
153@ += 360.0

:GUNS1_13949
Char.ClearTasksImmediately(98@)
Char.SetCoordinates(98@, 2811.122, -1186.549, 24.2718)
Char.SetHeading(98@, 17.5866)
154@, 155@, 156@ = Car.GetOffsetInWorldCoords(102@, 0.0, -4.0, 0.0)
128@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2829.412, -1187.152, 23.8422, MoveState.Walk, -2)
Task.LookAtCoord(-1, 2833.251, -1197.908, 23.3976, 2500)
Task.LookAtCoord(-1, 2831.166, -1169.792, 23.9627, 2500)
Task.StandStill(-1, 5000)
Task.GoStraightToCoord(-1, 2811.438, -1185.982, 24.2707, MoveState.Walk, -2)
Task.LookAtCoord(-1, 2808.122, -1190.884, 24.3397, 2500)
Task.LookAtCoord(-1, 2808.43, -1177.409, 24.3621, 2500)
Task.StandStill(-1, 5000)
Sequence.SetToRepeat(128@, True)
Sequence.Close(128@)
Char.PerformSequence(98@, 128@)
Sequence.Clear(128@)

:GUNS1_14191
Char.ClearTasksImmediately($stattreadstamina_ctr)
Camera.RestoreJumpcut
Streaming.RemoveAnimation("GANGS")
167@ = 0.0
$6709 = 0
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
if 
  94@ == 0
goto_if_false @GUNS1_14311
167@ = 0.0
$6709 = 0
$6709 = 0
Hud.DisplayCounterWithString($6709, CounterDisplay.Bar, 'GUNS1_5')
Hud.DisplayRadar(False)
94@ = 1
TIMERB = 0

:GUNS1_14311
95@ = 1
254@ = 0
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0
51@ = 6
$6709 = 0
167@ = 0.0

:GUNS1_14412
if and
  96@ == 0
  7 > 51@
goto_if_false @GUNS1_16262
if 
  91@ == 0
goto_if_false @GUNS1_14535
if 
  51@ == 6
goto_if_false @GUNS1_14535
if 
  TIMERB > 2500
goto_if_false @GUNS1_14535
Text.ClearPrints
Text.Print('RYD1_40', 5000, 1)
Text.PrintWithNumber('RYD1_97', 3, 5000, 1)
91@ = 1

:GUNS1_14535
if 
  95@ == 0
goto_if_false @GUNS1_16262
if 
  94@ == 0
goto_if_false @GUNS1_16262
37@ = Streaming.GetAreaVisible()
if 
  37@ == 8
goto_if_false @GUNS1_14736
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2807.62, -1171.9, 1024.578, 50.0, 50.0, 50.0, False)
goto_if_false @GUNS1_14729
if 
  96@ == 0
goto_if_false @GUNS1_14729
$6709 = 0
167@ = 0.0
if 
  94@ == 0
goto_if_false @GUNS1_14729
Hud.DisplayCounterWithString($6709, CounterDisplay.Bar, 'GUNS1_5')
Hud.SetCounterFlashWhenFirstDisplayed($6709, False)
Hud.DisplayRadar(False)
94@ = 1

:GUNS1_14729
goto @GUNS1_16262

:GUNS1_14736
if 
  $6708 == 0
goto_if_false @GUNS1_16262
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_14857
Char.ClearTasks(99@)
Char.SetCoordinates(99@, 2806.996, -1169.809, 1024.612)
Char.SetHeading(99@, 193.7598)
Char.SetDecisionMaker(99@, 39@)
DecisionMaker.Remove(40@)
Char.SetRelationship(99@, RelationshipType.Hate, PedType.Player1)
127@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(127@)
Char.PerformSequence(99@, 127@)
Sequence.Clear(127@)

:GUNS1_14857
49@ = 0

:GUNS1_14864
if 
  7 > 49@
goto_if_false @GUNS1_14969
if 
  Object.DoesExist(117@(49@,7i))
goto_if_false @GUNS1_14913
Object.SetAsStealable(117@(49@,7i), False)

:GUNS1_14913
if 
  81@(49@,7i) == 1
goto_if_false @GUNS1_14955
Blip.Remove(110@(49@,7i))
81@(49@,7i) = 0

:GUNS1_14955
49@ += 1
goto @GUNS1_14864

:GUNS1_14969
Hud.ClearTimer($6708)
Hud.ClearCounter($6709)
Hud.DisplayRadar(True)
if 
  35@ > 3
goto_if_false @GUNS1_15020
Hud.ClearTimer($6708)
51@ = 7
goto @GUNS1_16255

:GUNS1_15020
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @GUNS1_16109
if and
  not Car.IsDead(102@)
  not Char.IsDead(98@)
goto_if_false @GUNS1_16109
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearHelp
Text.ClearPrints
Car.LockDoors(102@, CarLock.Unlocked)
Car.FreezePosition(102@, False)
Streaming.LoadScene(2807.858, -1188.103, 25.4725)
Camera.SetFixedPosition(2807.858, -1188.103, 25.4725, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2808.792, -1187.748, 25.4449, SwitchType.JumpCut)
Path.FlushRoute
Path.ExtendRoute(2832.257, -1182.708, 23.7924)
Path.ExtendRoute(2840.811, -1211.145, 22.6279)
127@ = Sequence.Open()
if 
  51@ > 5
goto_if_false @GUNS1_15246
Task.GoStraightToCoord(-1, 2812.091, -1186.198, 24.2658, MoveState.Run, 10000)

:GUNS1_15246
Task.EnterCarAsDriver(-1, 102@, 20000)
Task.DrivePointRouteAdvanced(-1, 102@, 25.0, DriveMode.Accurate, 0, DrivingMode.SlowDownForCars)
Sequence.Close(127@)
Char.PerformSequence(98@, 127@)
Sequence.Clear(127@)
254@ = 0
255@ = 1
256@ = 2
257@ = 0
263@ = 0
259@ = 0
52@ = 0
TIMERA = 0

:GUNS1_15348
if 
  52@ == 0
goto_if_false @GUNS1_16109
if 
  254@ <> 0
goto_if_false @GUNS1_15705
if 
  257@ == 0
goto_if_false @GUNS1_15430
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_15423
Audio.ClearMissionAudio(256@)

:GUNS1_15423
257@ = 1

:GUNS1_15430
if 
  257@ == 1
goto_if_false @GUNS1_15467
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_15467
if 
  257@ == 2
goto_if_false @GUNS1_15527
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_15527
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_15527
if 
  257@ == 3
goto_if_false @GUNS1_15705
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_15644
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_15609
255@ = 2
256@ = 1
goto @GUNS1_15623

:GUNS1_15609
255@ = 1
256@ = 2

:GUNS1_15623
254@ = 0
257@ = 0
goto @GUNS1_15705

:GUNS1_15644
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_15705
if 
  76 > 254@
goto_if_false @GUNS1_15705
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_15705
switch_start 259@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @GUNS1_15949 {caseNum1} 0 {caseLabel1} @GUNS1_15768 {caseNum2} 1 {caseLabel2} @GUNS1_15836 {caseNum3} -1 {caseLabel3} @GUNS1_16019 {caseNum4} -1 {caseLabel4} @GUNS1_16019 {caseNum5} -1 {caseLabel5} @GUNS1_16019 {caseNum6} -1 {caseLabel6} @GUNS1_16019 {caseNum7} -1 {caseLabel7} @GUNS1_16019

:GUNS1_15768
if 
  257@ == 0
goto_if_false @GUNS1_15829
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_15810
Char.StartFacialTalk(98@, 5000)

:GUNS1_15810
254@ = 81
259@ = 1
262@ = Clock.GetGameTimer()

:GUNS1_15829
goto @GUNS1_16019

:GUNS1_15836
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_15942
if 
  257@ == 0
goto_if_false @GUNS1_15942
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_15915
Char.StopFacialTalk(98@)

:GUNS1_15915
Char.StartFacialTalk($stattreadstamina_ctr, 5000)
254@ = 77
259@ = 2
262@ = Clock.GetGameTimer()

:GUNS1_15942
goto @GUNS1_16019

:GUNS1_15949
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_16012
if 
  257@ == 0
goto_if_false @GUNS1_16012
Char.StopFacialTalk($stattreadstamina_ctr)

:GUNS1_16012
goto @GUNS1_16019

:GUNS1_16019
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_16053
38@ = Char.GetScriptTaskStatus(98@, 1560)
goto @GUNS1_16060

:GUNS1_16053
52@ = 1

:GUNS1_16060
if or
  TIMERA > 15000
  is_int_lvar_equal_to_constant 38@ == 7
goto_if_false @GUNS1_16098
Char.StopFacialTalk($stattreadstamina_ctr)
52@ = 1

:GUNS1_16098
wait 0
goto @GUNS1_15348

:GUNS1_16109
Text.ClearPrints
Char.ClearTasks($stattreadstamina_ctr)
Camera.RestoreJumpcut
Player.AlterWantedLevel($statbike_temp, 2)
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @GUNS1_16232
Camera.DoFade(1000, Fade.Out)

:GUNS1_16161
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_16185
wait 0
goto @GUNS1_16161

:GUNS1_16185
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:GUNS1_16208
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_16232
wait 0
goto @GUNS1_16208

:GUNS1_16232
Text.Print('RYD1_96', 5000, 1)
goto @GUNS1_40642

:GUNS1_16255
94@ = 0

:GUNS1_16262
if 
  7 > 51@
goto_if_false @GUNS1_16395
160@, 161@, 162@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  162@ > 900.0
goto_if_false @GUNS1_16370
if 
  92@ == 0
goto_if_false @GUNS1_16363
37@ = Streaming.GetAreaVisible()
if 
  37@ == 8
goto_if_false @GUNS1_16363
92@ = 1

:GUNS1_16363
goto @GUNS1_16395

:GUNS1_16370
if 
  92@ == 1
goto_if_false @GUNS1_16395
92@ = 0

:GUNS1_16395
if 
  51@ > 2
goto_if_false @GUNS1_23696
if 
  7 > 51@
goto_if_false @GUNS1_23696
if 
  94@ == 1
goto_if_false @GUNS1_23696
if 
  96@ == 0
goto_if_false @GUNS1_23696
37@ = Streaming.GetAreaVisible()
if 
  37@ == 0
goto_if_false @GUNS1_16731
if 
  95@ == 1
goto_if_false @GUNS1_16634
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
277@ = 3
278@ = 0
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
if 
  60@ == 1
goto_if_false @GUNS1_16589
if 
  Object.DoesExist(117@(36@,7i))
goto_if_false @GUNS1_16589
Object.SetAreaVisible(117@(36@,7i), 0)

:GUNS1_16589
if 
  94@ == 1
goto_if_false @GUNS1_16623
Hud.ClearCounter($6709)
Hud.DisplayRadar(True)
94@ = 0

:GUNS1_16623
95@ = 0
Hud.SetRadarZoom(0)

:GUNS1_16634
if 
  $6709 > 11
goto_if_false @GUNS1_16714
$6709 -= 10
if 
  167@ > 11.0
goto_if_false @GUNS1_16697
167@ -= 10.0
goto @GUNS1_16707

:GUNS1_16697
167@ = 0.0

:GUNS1_16707
goto @GUNS1_16731

:GUNS1_16714
167@ = 0.0
$6709 = 0

:GUNS1_16731
if 
  37@ == 8
goto_if_false @GUNS1_17507
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2809.0, -1169.0, 1026.0, 30.0, 30.0, 30.0, False)
goto_if_false @GUNS1_17507
if 
  277@ <> 0
goto_if_false @GUNS1_17023
if 
  278@ == 0
goto_if_false @GUNS1_16859
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @GUNS1_16852
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:GUNS1_16852
278@ = 1

:GUNS1_16859
if 
  278@ == 1
goto_if_false @GUNS1_16895
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 273@(277@,4i))
278@ = 2

:GUNS1_16895
if 
  278@ == 2
goto_if_false @GUNS1_16962
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @GUNS1_16962
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_16955
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot3, 99@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:GUNS1_16955
278@ = 3

:GUNS1_16962
if 
  278@ == 3
goto_if_false @GUNS1_17016
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @GUNS1_17016
277@ = 0
278@ = 0
TIMERA = 0

:GUNS1_17016
goto @GUNS1_17049

:GUNS1_17023
if 
  TIMERA > 3000
goto_if_false @GUNS1_17049
277@ = 3

:GUNS1_17049
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_17173
160@, 161@, 162@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  79@ == 1
goto_if_false @GUNS1_17130
166@ = World.GetSoundLevelAtCoords(-1, 160@, 161@, 162@)
166@ *= 1.6
goto @GUNS1_17173

:GUNS1_17130
if 
  TIMERB > 500
goto_if_false @GUNS1_17156
79@ = 1

:GUNS1_17156
$6709 = 0
167@ = 0.0

:GUNS1_17173
if 
  95@ == 0
goto_if_false @GUNS1_17289
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
World.ClearArea(2819.9, -1181.7, 1025.15, 50.0, True)
if 
  60@ == 1
goto_if_false @GUNS1_17278
if 
  Object.DoesExist(117@(36@,7i))
goto_if_false @GUNS1_17278
Object.SetAreaVisible(117@(36@,7i), 8)

:GUNS1_17278
Hud.SetRadarZoom(90)
95@ = 1

:GUNS1_17289
if 
  166@ > 20.0
goto_if_false @GUNS1_17328
166@ -= 20.0
add_float_lvar_to_float_lvar 167@ += 166@

:GUNS1_17328
167@ *= 0.99
cset_var_int_to_lvar_float $6709 =# 167@
if 
  $6709 >= 100
goto_if_false @GUNS1_17408
$6709 = 100
if 
  171@ == 0
goto_if_false @GUNS1_17401
169@ = Clock.GetGameTimer()
171@ = 1

:GUNS1_17401
goto @GUNS1_17433

:GUNS1_17408
if 
  0 > $6709
goto_if_false @GUNS1_17433
$6709 = 0

:GUNS1_17433
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_17507
if or
  Char.HasBeenDamagedByChar(99@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 99@, 1.0, 1.0, 2.0, False)
goto_if_false @GUNS1_17507
171@ = 2
$6709 = 100

:GUNS1_17507
if 
  171@ == 1
goto_if_false @GUNS1_18421
168@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 170@ = 168@
sub_int_lvar_from_int_lvar 170@ -= 169@
if 
  170@ > 1500
goto_if_false @GUNS1_18421
if 
  93@ == 0
goto_if_false @GUNS1_18414
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
277@ = 0
278@ = 0
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2816.096, -1169.522, 1029.081, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2817.093, -1169.588, 1029.055, SwitchType.JumpCut)
254@ = 0
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0

:GUNS1_17735
wait 0
if 
  258@ == 0
goto_if_false @GUNS1_18340
if 
  254@ <> 0
goto_if_false @GUNS1_18096
if 
  257@ == 0
goto_if_false @GUNS1_17821
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_17814
Audio.ClearMissionAudio(256@)

:GUNS1_17814
257@ = 1

:GUNS1_17821
if 
  257@ == 1
goto_if_false @GUNS1_17858
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_17858
if 
  257@ == 2
goto_if_false @GUNS1_17918
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_17918
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_17918
if 
  257@ == 3
goto_if_false @GUNS1_18096
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_18035
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_18000
255@ = 2
256@ = 1
goto @GUNS1_18014

:GUNS1_18000
255@ = 1
256@ = 2

:GUNS1_18014
254@ = 0
257@ = 0
goto @GUNS1_18096

:GUNS1_18035
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_18096
if 
  76 > 254@
goto_if_false @GUNS1_18096
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_18096
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_18333
switch_start 259@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @GUNS1_18240 {caseNum1} 0 {caseLabel1} @GUNS1_18172 {caseNum2} -1 {caseLabel2} @GUNS1_18333 {caseNum3} -1 {caseLabel3} @GUNS1_18333 {caseNum4} -1 {caseLabel4} @GUNS1_18333 {caseNum5} -1 {caseLabel5} @GUNS1_18333 {caseNum6} -1 {caseLabel6} @GUNS1_18333 {caseNum7} -1 {caseLabel7} @GUNS1_18333

:GUNS1_18172
if 
  257@ == 0
goto_if_false @GUNS1_18233
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_18214
Char.StartFacialTalk(99@, 5000)

:GUNS1_18214
254@ = 36
259@ = 1
262@ = Clock.GetGameTimer()

:GUNS1_18233
goto @GUNS1_18333

:GUNS1_18240
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_18326
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_18301
Char.StopFacialTalk(99@)

:GUNS1_18301
if 
  257@ == 0
goto_if_false @GUNS1_18326
258@ = 1

:GUNS1_18326
goto @GUNS1_18333

:GUNS1_18333
goto @GUNS1_17735

:GUNS1_18340
Text.Print('GUNS134', 3000, 1)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
171@ = 0
$6709 = 0
167@ = 0.0
93@ = 1
277@ = 3
goto @GUNS1_18421

:GUNS1_18414
171@ = 2

:GUNS1_18421
if or
  171@ == 2
  $6708 == 0
goto_if_false @GUNS1_23336
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
278@ = 0
277@ = 0
49@ = 0

:GUNS1_18471
if 
  7 > 49@
goto_if_false @GUNS1_18576
if 
  Object.DoesExist(117@(49@,7i))
goto_if_false @GUNS1_18520
Object.SetAsStealable(117@(49@,7i), False)

:GUNS1_18520
if 
  81@(49@,7i) == 1
goto_if_false @GUNS1_18562
Blip.Remove(110@(49@,7i))
81@(49@,7i) = 0

:GUNS1_18562
49@ += 1
goto @GUNS1_18471

:GUNS1_18576
if 
  37@ == 8
goto_if_false @GUNS1_21937
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_21930
49@ = Char.GetHealth(99@)
if 
  20 > 49@
goto_if_false @GUNS1_18643
Char.SetHealth(99@, 20)

:GUNS1_18643
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Char.ClearTasksImmediately(99@)
Char.FreezePositionAndDontLoadCollision(99@, False)
157@, 158@, 159@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.0, 1.0, 0.0)
World.ClearArea(2808.123, -1172.823, 1024.612, 10.0, True)
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 99@, 1.0, 1.0, 2.0, False)
goto_if_false @GUNS1_18778
Char.SetCoordinates($stattreadstamina_ctr, 2817.229, -1166.11, 1028.172)
Char.SetHeading($stattreadstamina_ctr, 94.7698)

:GUNS1_18778
Char.SetCoordinates(99@, 2815.961, -1169.392, 1028.172)
Char.SetHeading(99@, 14.1)
Camera.SetFixedPosition(2816.242, -1168.358, 1029.485, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2815.674, -1169.144, 1029.729, SwitchType.JumpCut)
127@ = Sequence.Open()
Task.ScratchHead(-1)
Task.ShakeFist(-1)
Sequence.Close(127@)
Char.PerformSequence(99@, 127@)
Sequence.Clear(127@)
Player.SetControl($statbike_temp, False)
Char.ClearTasks($stattreadstamina_ctr)
Hud.SwitchWidescreen(True)
Text.ClearPrints
Text.ClearHelp
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
if 
  4 > 35@
goto_if_false @GUNS1_18973
Char.SetCoordinates($stattreadstamina_ctr, 2807.525, -1167.076, 1024.578)
Char.SetHeading($stattreadstamina_ctr, 169.2411)

:GUNS1_18973
Char.SetCurrentWeapon(99@, WeaponType.Shotgun)
skip_cutscene_start_internal @GUNS1_19768
Text.ClearPrints
if 
  $6708 > 0
goto_if_false @GUNS1_19054
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_19047
Char.StopFacialTalk(99@)
Char.StartFacialTalk(99@, 4000)
254@ = 39

:GUNS1_19047
goto @GUNS1_19084

:GUNS1_19054
Text.Print('RYD1_36', 4000, 1)
278@ = 0
277@ = 1

:GUNS1_19084
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
52@ = 0
TIMERA = 0

:GUNS1_19154
if 
  52@ == 0
goto_if_false @GUNS1_19768
if 
  277@ <> 0
goto_if_false @GUNS1_19373
if 
  278@ == 0
goto_if_false @GUNS1_19234
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @GUNS1_19227
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:GUNS1_19227
278@ = 1

:GUNS1_19234
if 
  278@ == 1
goto_if_false @GUNS1_19270
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 273@(277@,4i))
278@ = 2

:GUNS1_19270
if 
  278@ == 2
goto_if_false @GUNS1_19314
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @GUNS1_19314
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
278@ = 3

:GUNS1_19314
if 
  278@ == 3
goto_if_false @GUNS1_19373
if or
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
  TIMERA > 3000
goto_if_false @GUNS1_19373
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
277@ = 0
278@ = 0

:GUNS1_19373
if 
  254@ <> 0
goto_if_false @GUNS1_19665
if 
  257@ == 0
goto_if_false @GUNS1_19437
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_19430
Audio.ClearMissionAudio(256@)

:GUNS1_19430
257@ = 1

:GUNS1_19437
if 
  257@ == 1
goto_if_false @GUNS1_19474
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_19474
if 
  257@ == 2
goto_if_false @GUNS1_19534
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_19534
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_19534
if 
  257@ == 3
goto_if_false @GUNS1_19665
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_19665
Text.ClearThisPrint($6710(254@,82s))
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_19598
Char.StopFacialTalk(99@)

:GUNS1_19598
if 
  255@ == 1
goto_if_false @GUNS1_19637
255@ = 2
256@ = 1
goto @GUNS1_19651

:GUNS1_19637
255@ = 1
256@ = 2

:GUNS1_19651
254@ = 0
257@ = 0

:GUNS1_19665
if 
  Char.IsDead(99@)
goto_if_false @GUNS1_19695
52@ = 1
goto @GUNS1_19731

:GUNS1_19695
38@ = Char.GetScriptTaskStatus(99@, 1560)
if 
  is_int_lvar_equal_to_constant 38@ == 7
goto_if_false @GUNS1_19731
52@ = 1

:GUNS1_19731
if 
  TIMERA > 15000
goto_if_false @GUNS1_19757
52@ = 1

:GUNS1_19757
wait 0
goto @GUNS1_19154

:GUNS1_19768
skip_cutscene_end 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Text.ClearPrints
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Streaming.RemoveAnimation("GANGS")
60@ = 0
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_20085
Char.StopFacialTalk(99@)
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2811.882, -1167.57, 1029.22, 9.1, 7.2, 5.0, False)
  162@ > 1029.0
goto_if_false @GUNS1_19947
127@ = Sequence.Open()
Task.LookAtChar(-1, $stattreadstamina_ctr, 5000)
Task.GotoChar(-1, $stattreadstamina_ctr, -1, 5.0)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(127@)
Char.PerformSequence(99@, 127@)
Sequence.Clear(127@)
goto @GUNS1_20085

:GUNS1_19947
Char.SetCoordinates(99@, 2804.325, -1162.254, 1028.18)
Char.SetHeading(99@, 180.0)
127@ = Sequence.Open()
Task.LookAtChar(-1, $stattreadstamina_ctr, 10000)
Task.GoToCoordWhileShooting(-1, 2803.977, -1168.157, 1025.375, 6, 0.5, 0.0, $stattreadstamina_ctr)
Task.GoToCoordWhileShooting(-1, 2806.996, -1169.809, 1024.612, 6, 0.5, 0.0, $stattreadstamina_ctr)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(127@)
Char.PerformSequence(99@, 127@)
Sequence.Clear(127@)

:GUNS1_20085
Char.ClearTasks($stattreadstamina_ctr)
Char.ClearLookAt($stattreadstamina_ctr)
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_20121
Char.ClearTasks(98@)
Char.ClearLookAt(98@)

:GUNS1_20121
World.ClearArea(2806.996, -1169.209, 1024.612, 50.0, True)
if and
  not Char.IsDead(98@)
  not Car.IsDead(102@)
goto_if_false @GUNS1_20284
Char.ClearTasks(98@)
154@, 155@, 156@ = Car.GetOffsetInWorldCoords(102@, -1.5, -4.0, 0.0)
153@ = Car.GetHeading(102@)
153@ -= 180.0
if 
  180.0 > 153@
goto_if_false @GUNS1_20249
153@ += 360.0

:GUNS1_20249
Char.ClearTasksImmediately(98@)
Char.SetCoordinates(98@, 2811.122, -1186.549, 24.2718)
Char.SetHeading(98@, 17.5866)

:GUNS1_20284
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_20330
Char.SetDecisionMaker(99@, 39@)
DecisionMaker.Remove(40@)
Char.SetRelationship(99@, RelationshipType.Hate, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)

:GUNS1_20330
Streaming.RemoveAnimation("INT_HOUSE")
if 
  35@ > 3
goto_if_false @GUNS1_20465
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_20407
127@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(127@)
Char.PerformSequence(99@, 127@)
Sequence.Clear(127@)

:GUNS1_20407
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Text.Print('RYD1_44', 4000, 1)
43@ = 0
goto @GUNS1_21930

:GUNS1_20465
254@ = 0
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0

:GUNS1_20535
wait 0
if 
  258@ == 0
goto_if_false @GUNS1_20996
if 
  254@ <> 0
goto_if_false @GUNS1_20835
if 
  257@ == 0
goto_if_false @GUNS1_20621
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_20614
Audio.ClearMissionAudio(256@)

:GUNS1_20614
257@ = 1

:GUNS1_20621
if 
  257@ == 1
goto_if_false @GUNS1_20658
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_20658
if 
  257@ == 2
goto_if_false @GUNS1_20718
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_20718
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_20718
if 
  257@ == 3
goto_if_false @GUNS1_20835
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_20835
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_20800
255@ = 2
256@ = 1
goto @GUNS1_20814

:GUNS1_20800
255@ = 1
256@ = 2

:GUNS1_20814
254@ = 0
257@ = 0
258@ = 1

:GUNS1_20835
if 
  257@ == 0
goto_if_false @GUNS1_20989
if 
  258@ == 0
goto_if_false @GUNS1_20989
254@ = 38
Char.SetCoordinates($stattreadstamina_ctr, 2807.525, -1167.076, 1024.578)
Char.SetHeading($stattreadstamina_ctr, 169.2411)
Task.GoStraightToCoord($stattreadstamina_ctr, 2807.626, -1178.272, 1024.578, MoveState.Run, 6000)
Sequence.Clear(127@)
Camera.SetFixedPosition(2809.671, -1173.223, 1025.994, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2808.816, -1172.714, 1025.891, SwitchType.JumpCut)

:GUNS1_20989
goto @GUNS1_20535

:GUNS1_20996
52@ = 0
TIMERA = 0

:GUNS1_21010
if 
  52@ == 0
goto_if_false @GUNS1_21120
38@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1491)
if or
  TIMERA > 10000
  is_int_lvar_equal_to_constant 38@ == 7
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2807.626, -1174.272, 1024.578, 1.3, 1.3, 3.0, False)
goto_if_false @GUNS1_21109
52@ = 1

:GUNS1_21109
wait 0
goto @GUNS1_21010

:GUNS1_21120
Camera.DoFade(1500, Fade.Out)

:GUNS1_21127
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_21151
wait 0
goto @GUNS1_21127

:GUNS1_21151
Char.ClearTasks($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2808.784, -1178.054, 24.3559)
Char.SetHeading($stattreadstamina_ctr, 231.7034)
Streaming.SetAreaVisible(0)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2807.776, -1174.782, 20.0)
Camera.SetFixedPosition(2807.473, -1176.315, 25.8373, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2808.318, -1176.847, 25.8125, SwitchType.JumpCut)
Streaming.RequestCollision(2808.784, -1178.054)
Streaming.LoadScene(2808.784, -1178.054, 24.0)
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_21311
Car.Delete(102@)

:GUNS1_21311
Car.MarkAsNoLongerNeeded(102@)
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_21337
Char.Delete(98@)

:GUNS1_21337
Char.MarkAsNoLongerNeeded(98@)
127@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2814.974, -1181.695, 24.2639, MoveState.Run, 10000)
Task.ScratchHead(-1)
Sequence.Close(127@)
Char.PerformSequence($stattreadstamina_ctr, 127@)
Sequence.Clear(127@)
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @GUNS1_21438
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)

:GUNS1_21438
Camera.DoFade(1000, Fade.In)

:GUNS1_21445
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_21469
wait 0
goto @GUNS1_21445

:GUNS1_21469
254@ = 78
255@ = 1
256@ = 2
257@ = 0
263@ = 0
52@ = 0
TIMERA = 0

:GUNS1_21518
if 
  52@ == 0
goto_if_false @GUNS1_21930
if 
  254@ <> 0
goto_if_false @GUNS1_21875
if 
  257@ == 0
goto_if_false @GUNS1_21600
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_21593
Audio.ClearMissionAudio(256@)

:GUNS1_21593
257@ = 1

:GUNS1_21600
if 
  257@ == 1
goto_if_false @GUNS1_21637
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_21637
if 
  257@ == 2
goto_if_false @GUNS1_21697
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_21697
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_21697
if 
  257@ == 3
goto_if_false @GUNS1_21875
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_21814
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_21779
255@ = 2
256@ = 1
goto @GUNS1_21793

:GUNS1_21779
255@ = 1
256@ = 2

:GUNS1_21793
254@ = 0
257@ = 0
goto @GUNS1_21875

:GUNS1_21814
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_21875
if 
  76 > 254@
goto_if_false @GUNS1_21875
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_21875
38@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if or
  TIMERA > 10000
  is_int_lvar_equal_to_constant 38@ == 7
goto_if_false @GUNS1_21919
52@ = 1

:GUNS1_21919
wait 0
goto @GUNS1_21518

:GUNS1_21930
goto @GUNS1_23100

:GUNS1_21937
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_23100
Char.ClearTasks(99@)
Char.SetCoordinates(99@, 2806.996, -1169.809, 1024.612)
Char.SetHeading(99@, 193.7598)
Char.SetDecisionMaker(99@, 39@)
DecisionMaker.Remove(40@)
Char.SetRelationship(99@, RelationshipType.Hate, PedType.Player1)
127@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(127@)
Char.PerformSequence(99@, 127@)
Sequence.Clear(127@)
if 
  35@ <= 3
goto_if_false @GUNS1_23100
if and
  not Car.IsDead(102@)
  not Char.IsDead(98@)
goto_if_false @GUNS1_23100
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearPrints
Text.ClearHelp
Car.LockDoors(102@, CarLock.Unlocked)
Car.FreezePosition(102@, False)
Camera.SetFixedPosition(2807.858, -1188.103, 25.4725, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2808.792, -1187.748, 25.4449, SwitchType.JumpCut)
Path.FlushRoute
Path.ExtendRoute(2832.257, -1182.708, 23.7924)
Path.ExtendRoute(2840.811, -1211.145, 22.6279)
127@ = Sequence.Open()
if 
  51@ > 5
goto_if_false @GUNS1_22242
Task.GoStraightToCoord(-1, 2816.727, -1185.688, 24.2433, MoveState.Run, 10000)

:GUNS1_22242
Task.EnterCarAsDriver(-1, 102@, 20000)
Task.DrivePointRouteAdvanced(-1, 102@, 25.0, DriveMode.Accurate, 0, DrivingMode.SlowDownForCars)
Sequence.Close(127@)
Char.PerformSequence(98@, 127@)
Sequence.Clear(127@)
254@ = 0
255@ = 1
256@ = 2
257@ = 0
263@ = 0
259@ = 0
52@ = 0
TIMERA = 0

:GUNS1_22344
if 
  52@ == 0
goto_if_false @GUNS1_23100
if 
  254@ <> 0
goto_if_false @GUNS1_22701
if 
  257@ == 0
goto_if_false @GUNS1_22426
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_22419
Audio.ClearMissionAudio(256@)

:GUNS1_22419
257@ = 1

:GUNS1_22426
if 
  257@ == 1
goto_if_false @GUNS1_22463
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_22463
if 
  257@ == 2
goto_if_false @GUNS1_22523
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_22523
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_22523
if 
  257@ == 3
goto_if_false @GUNS1_22701
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_22640
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_22605
255@ = 2
256@ = 1
goto @GUNS1_22619

:GUNS1_22605
255@ = 1
256@ = 2

:GUNS1_22619
254@ = 0
257@ = 0
goto @GUNS1_22701

:GUNS1_22640
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_22701
if 
  76 > 254@
goto_if_false @GUNS1_22701
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_22701
switch_start 259@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @GUNS1_22945 {caseNum1} 0 {caseLabel1} @GUNS1_22764 {caseNum2} 1 {caseLabel2} @GUNS1_22832 {caseNum3} -1 {caseLabel3} @GUNS1_23015 {caseNum4} -1 {caseLabel4} @GUNS1_23015 {caseNum5} -1 {caseLabel5} @GUNS1_23015 {caseNum6} -1 {caseLabel6} @GUNS1_23015 {caseNum7} -1 {caseLabel7} @GUNS1_23015

:GUNS1_22764
if 
  257@ == 0
goto_if_false @GUNS1_22825
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_22806
Char.StartFacialTalk(98@, 5000)

:GUNS1_22806
254@ = 80
259@ = 1
262@ = Clock.GetGameTimer()

:GUNS1_22825
goto @GUNS1_23015

:GUNS1_22832
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_22938
if 
  257@ == 0
goto_if_false @GUNS1_22938
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_22911
Char.StopFacialTalk(98@)

:GUNS1_22911
Char.StartFacialTalk($stattreadstamina_ctr, 5000)
254@ = 77
259@ = 2
262@ = Clock.GetGameTimer()

:GUNS1_22938
goto @GUNS1_23015

:GUNS1_22945
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_23008
if 
  257@ == 0
goto_if_false @GUNS1_23008
Char.StopFacialTalk($stattreadstamina_ctr)

:GUNS1_23008
goto @GUNS1_23015

:GUNS1_23015
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_23049
38@ = Char.GetScriptTaskStatus(98@, 1560)
goto @GUNS1_23056

:GUNS1_23049
52@ = 1

:GUNS1_23056
if or
  TIMERA > 15000
  is_int_lvar_equal_to_constant 38@ == 7
goto_if_false @GUNS1_23089
52@ = 1

:GUNS1_23089
wait 0
goto @GUNS1_22344

:GUNS1_23100
Hud.ClearTimer($6708)
Hud.ClearCounter($6709)
Hud.DisplayRadar(True)
94@ = 0
96@ = 1
if 
  35@ > 3
goto_if_false @GUNS1_23172
Hud.ClearTimer($6708)
96@ = 1
51@ = 7
goto @GUNS1_23329

:GUNS1_23172
Text.ClearPrints
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Char.ClearTasks($stattreadstamina_ctr)
Player.AlterWantedLevel($statbike_temp, 2)
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @GUNS1_23306
Camera.DoFade(1000, Fade.Out)

:GUNS1_23235
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_23259
wait 0
goto @GUNS1_23235

:GUNS1_23259
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:GUNS1_23282
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_23306
wait 0
goto @GUNS1_23282

:GUNS1_23306
Text.Print('RYD1_96', 5000, 1)
goto @GUNS1_40642

:GUNS1_23329
goto @GUNS1_23696

:GUNS1_23336
set_lvar_int_to_lvar_int 45@ = 46@
sub_int_var_from_int_lvar 45@ -= $6709
set_lvar_int_to_var_int 46@ = $6709
if and
  $6709 > 30
  60 > $6709
goto_if_false @GUNS1_23525
if 
  0 > 45@
goto_if_false @GUNS1_23464
if 
  44@ == 0
goto_if_false @GUNS1_23457
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_23457
Text.Print('GUNS134', 4000, 1)
44@ = 1

:GUNS1_23457
goto @GUNS1_23525

:GUNS1_23464
if 
  44@ == 1
goto_if_false @GUNS1_23525
if and
  not Text.IsMessageBeingDisplayed
  44@ <> 2
goto_if_false @GUNS1_23525
Text.Print('GUNS134', 3000, 1)
44@ = 2

:GUNS1_23525
if 
  $6709 > 59
goto_if_false @GUNS1_23678
if 
  0 > 45@
goto_if_false @GUNS1_23624
if 
  44@ == 1
goto_if_false @GUNS1_23617
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_23617
Text.ClearPrints
Text.Print('GUNS1_7', 4000, 1)
44@ = 3

:GUNS1_23617
goto @GUNS1_23678

:GUNS1_23624
if 
  44@ == 2
goto_if_false @GUNS1_23678
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_23678
Text.Print('GUNS1_7', 4000, 1)
44@ = 3

:GUNS1_23678
if 
  51 > $6709
goto_if_false @GUNS1_23696

:GUNS1_23696
if 
  51@ == 6
goto_if_false @GUNS1_25675
49@ = 0

:GUNS1_23721
if 
  7 > 49@
goto_if_false @GUNS1_23952
if 
  60@ == 0
goto_if_false @GUNS1_23896
if 
  Object.DoesExist(117@(49@,7i))
goto_if_false @GUNS1_23889
if 
  81@(49@,7i) == 0
goto_if_false @GUNS1_23889
110@(49@,7i) = Blip.AddForObject(117@(49@,7i))
163@, 164@, 165@ = Object.GetCoordinates(117@(49@,7i))
if 
  165@ > 700.0
goto_if_false @GUNS1_23878
Blip.SetEntryExit(110@(49@,7i), 2807.844, -1176.985, 10.0)

:GUNS1_23878
81@(49@,7i) = 1

:GUNS1_23889
goto @GUNS1_23938

:GUNS1_23896
if 
  81@(49@,7i) == 1
goto_if_false @GUNS1_23938
Blip.Remove(110@(49@,7i))
81@(49@,7i) = 0

:GUNS1_23938
49@ += 1
goto @GUNS1_23721

:GUNS1_23952
if 
  254@ <> 0
goto_if_false @GUNS1_24319
if 
  257@ == 0
goto_if_false @GUNS1_24016
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_24009
Audio.ClearMissionAudio(256@)

:GUNS1_24009
257@ = 1

:GUNS1_24016
if 
  257@ == 1
goto_if_false @GUNS1_24053
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_24053
if 
  257@ == 2
goto_if_false @GUNS1_24113
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_24113
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_24113
if 
  257@ == 3
goto_if_false @GUNS1_24319
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_24319
Text.ClearThisPrint($6710(254@,82s))
if 
  47@ > 0
goto_if_false @GUNS1_24231
if 
  97@ == 0
goto_if_false @GUNS1_24215
Text.PrintNow('GUNS147', 5000, 1)
goto @GUNS1_24231

:GUNS1_24215
Text.PrintNow('RYD1_2', 5000, 1)

:GUNS1_24231
if 
  255@ == 1
goto_if_false @GUNS1_24270
255@ = 2
256@ = 1
goto @GUNS1_24284

:GUNS1_24270
255@ = 1
256@ = 2

:GUNS1_24284
254@ = 0
257@ = 0
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_24319
Char.StopFacialTalk(98@)

:GUNS1_24319
if 
  97@ == 1
goto_if_false @GUNS1_25609
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_25602
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 102@)
goto_if_false @GUNS1_25602
Car.FreezePosition(102@, False)
Car.CloseAllDoors(102@)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2810.199, -1187.979, 25.1092, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2811.069, -1187.504, 25.2425, SwitchType.JumpCut)
Text.ClearPrints
Text.ClearHelp
World.ClearArea(154@, 155@, 156@, 25.0, True)
Object.Delete(117@(36@,7i))
Hud.ClearCounter($6709)
Hud.DisplayRadar(True)
94@ = 0
Blip.Remove(104@)
55@ = 0
Char.RemoveElegantly(99@)
Blip.Remove(110@)
Blip.Remove(111@)
Blip.Remove(112@)
Blip.Remove(113@)
Blip.Remove(114@)
Blip.Remove(115@)
Blip.Remove(116@)
Object.Delete(117@)
Object.Delete(118@)
Object.Delete(119@)
Object.Delete(120@)
Object.Delete(121@)
Object.Delete(122@)
Object.Delete(123@)
Char.MarkAsNoLongerNeeded(99@)
Streaming.MarkModelAsNoLongerNeeded(62)
Streaming.MarkModelAsNoLongerNeeded(#DB_AMMO)
Streaming.MarkModelAsNoLongerNeeded(349)
Object.MarkAsNoLongerNeeded(117@)
Object.MarkAsNoLongerNeeded(118@)
Object.MarkAsNoLongerNeeded(119@)
Object.MarkAsNoLongerNeeded(120@)
Object.MarkAsNoLongerNeeded(121@)
Object.MarkAsNoLongerNeeded(122@)
Object.MarkAsNoLongerNeeded(123@)
Streaming.RemoveAnimation("INT_HOUSE")
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_24726
128@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2812.091, -1186.198, 24.2658, MoveState.Run, 10000)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, 102@, 4000, 0)
Sequence.Close(128@)
Char.PerformSequence(98@, 128@)
Sequence.Clear(128@)

:GUNS1_24726
World.SwitchEntryExit('BURHOUS', False)
254@ = 38
257@ = 0
255@ = 1
256@ = 2
TIMERB = 0
52@ = 0

:GUNS1_24781
if 
  52@ == 0
goto_if_false @GUNS1_25343
if 
  254@ <> 0
goto_if_false @GUNS1_25138
if 
  257@ == 0
goto_if_false @GUNS1_24863
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_24856
Audio.ClearMissionAudio(256@)

:GUNS1_24856
257@ = 1

:GUNS1_24863
if 
  257@ == 1
goto_if_false @GUNS1_24900
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_24900
if 
  257@ == 2
goto_if_false @GUNS1_24960
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_24960
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_24960
if 
  257@ == 3
goto_if_false @GUNS1_25138
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_25077
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_25042
255@ = 2
256@ = 1
goto @GUNS1_25056

:GUNS1_25042
255@ = 1
256@ = 2

:GUNS1_25056
254@ = 0
257@ = 0
goto @GUNS1_25138

:GUNS1_25077
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_25138
if 
  76 > 254@
goto_if_false @GUNS1_25138
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_25138
if and
  not Char.IsDead(98@)
  not Car.IsDead(102@)
goto_if_false @GUNS1_25192
if 
  Char.IsSittingInCar(98@, 102@)
goto_if_false @GUNS1_25185
52@ = 1

:GUNS1_25185
goto @GUNS1_25306

:GUNS1_25192
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @GUNS1_25299
Camera.DoFade(1000, Fade.Out)

:GUNS1_25228
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_25252
wait 0
goto @GUNS1_25228

:GUNS1_25252
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:GUNS1_25275
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_25299
wait 0
goto @GUNS1_25275

:GUNS1_25299
goto @GUNS1_40642

:GUNS1_25306
if 
  TIMERB > 15000
goto_if_false @GUNS1_25332
52@ = 1

:GUNS1_25332
wait 0
goto @GUNS1_24781

:GUNS1_25343
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_25404
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_25404
if 
  not Char.IsInCar(98@, 102@)
goto_if_false @GUNS1_25404
Char.WarpIntoCarAsPassenger(98@, 102@, 0)

:GUNS1_25404
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
58@ = 0
57@ = 0
55@ = 0
254@ = 0
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0
264@ = 1
51@ = 8
43@ = 0
44@ = 0
Game.SetPoliceIgnorePlayer($statbike_temp, False)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Text.ClearPrints
Text.Print('GUNS124', 10000, 1)
107@ = Blip.AddForCoord(2742.0, -2008.0, 13.0)
68@ = 1

:GUNS1_25602
goto @GUNS1_25675

:GUNS1_25609
if 
  97@ == 0
goto_if_false @GUNS1_25675
if 
  35@ > 3
goto_if_false @GUNS1_25675
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_25675
Car.LockDoors(102@, CarLock.Unlocked)
97@ = 1

:GUNS1_25675
if and
  51@ == 6
  60@ == 0
goto_if_false @GUNS1_26447
76@ = 0
34@ = 0
if 
  is_int_lvar_greater_than_int_lvar 48@ > 47@
goto_if_false @GUNS1_25872
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @GUNS1_25842
Camera.DoFade(1000, Fade.Out)

:GUNS1_25771
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_25795
wait 0
goto @GUNS1_25771

:GUNS1_25795
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:GUNS1_25818
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_25842
wait 0
goto @GUNS1_25818

:GUNS1_25842
Text.Print('RYD1_32', 5000, 1)
goto @GUNS1_40642
goto @GUNS1_25897

:GUNS1_25872
if 
  47@ == 0
goto_if_false @GUNS1_25897
51@ = 7

:GUNS1_25897
if 
  7 > 34@
goto_if_false @GUNS1_26420
if 
  61@(34@,7i) == 0
goto_if_false @GUNS1_26080
if 
  Object.DoesExist(117@(34@,7i))
goto_if_false @GUNS1_26053
if 
  Object.IsInWater(117@(34@,7i))
goto_if_false @GUNS1_26046
Object.MarkAsNoLongerNeeded(117@(34@,7i))
if 
  81@(34@,7i) == 1
goto_if_false @GUNS1_26028
Blip.Remove(110@(34@,7i))
81@(34@,7i) = 0

:GUNS1_26028
61@(34@,7i) = 1
47@ -= 1

:GUNS1_26046
goto @GUNS1_26080

:GUNS1_26053
Object.MarkAsNoLongerNeeded(117@(34@,7i))
61@(34@,7i) = 1
47@ -= 1

:GUNS1_26080
if and
  61@(34@,7i) == 0
  60@ == 0
goto_if_false @GUNS1_26406
if 
  Char.LocateOnFootObject3D($stattreadstamina_ctr, 117@(34@,7i), 1.5, 1.5, 1.5, False)
goto_if_false @GUNS1_26406
76@ = 1
if 
  75@ == 0
goto_if_false @GUNS1_26217
if 
  90@ == 0
goto_if_false @GUNS1_26210
Text.PrintHelpForever('GUNS118')
90@ = 1

:GUNS1_26210
75@ = 1

:GUNS1_26217
if 
  Object.DoesExist(117@(34@,7i))
goto_if_false @GUNS1_26406
if 
  Char.IsHoldingObject($stattreadstamina_ctr, 117@(34@,7i))
goto_if_false @GUNS1_26406
Text.ClearHelp
75@ = 0
set_lvar_int_to_lvar_int 36@ = 34@
if and
  not Char.IsDead(98@)
  55@ == 0
goto_if_false @GUNS1_26388
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_26388
56@ = 0
104@ = Blip.AddForCar(102@)
Blip.SetAsFriendly(104@, True)
Text.ClearPrints
if 
  89@ == 0
goto_if_false @GUNS1_26381
Text.Print('GUNS146', 10000, 1)
89@ = 1

:GUNS1_26381
55@ = 1

:GUNS1_26388
61@(34@,7i) = 1
60@ = 1

:GUNS1_26406
34@ += 1
goto @GUNS1_25897

:GUNS1_26420
if 
  76@ == 0
goto_if_false @GUNS1_26447
Text.ClearHelp
75@ = 0

:GUNS1_26447
if 
  60@ == 1
goto_if_false @GUNS1_26636
if 
  Object.DoesExist(117@(36@,7i))
goto_if_false @GUNS1_26636
if 
  Char.IsHoldingObject($stattreadstamina_ctr, 117@(36@,7i))
goto_if_false @GUNS1_26515
goto @GUNS1_26636

:GUNS1_26515
61@(36@,7i) = 0
60@ = 0
Blip.Remove(104@)
55@ = 0
if and
  56@ == 0
  35@ <> 5
goto_if_false @GUNS1_26636
Text.ClearPrints
if 
  97@ == 0
goto_if_false @GUNS1_26613
Text.Print('RYD1_40', 5000, 1)
goto @GUNS1_26629

:GUNS1_26613
Text.Print('RYD1_2', 5000, 1)

:GUNS1_26629
56@ = 1

:GUNS1_26636
if and
  60@ == 1
  51@ == 6
goto_if_false @GUNS1_28121
if and
  not Car.IsDead(102@)
  not Char.IsDead(98@)
goto_if_false @GUNS1_28121
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 154@, 155@, 24.0, 1.5, 1.5, 2.0, False)
goto_if_false @GUNS1_28112
if 
  75@ == 0
goto_if_false @GUNS1_26816
128@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2811.438, -1185.982, 24.2707, MoveState.Walk, 10000)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(128@)
Char.PerformSequence(98@, 128@)
Sequence.Clear(128@)
Text.PrintHelpForever('RYD1_30')
75@ = 1

:GUNS1_26816
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @GUNS1_28105
Text.ClearHelp
Text.ClearPrints
75@ = 0
35@ += 1
50@ += 50
72@ = 0
48@ -= 1
47@ -= 1
if 
  47@ == 0
goto_if_false @GUNS1_26960
if 
  257@ == 0
goto_if_false @GUNS1_26946
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_26939
Char.StartFacialTalk(98@, 4000)

:GUNS1_26939
254@ = 33

:GUNS1_26946
51@ = 7
goto @GUNS1_27501

:GUNS1_26960
switch_start 35@ {numCases} 7 {hasDefaultCase} 1 {defaultLabel} @GUNS1_27445 {caseNum1} 2 {caseLabel1} @GUNS1_27023 {caseNum2} 3 {caseLabel2} @GUNS1_27079 {caseNum3} 4 {caseLabel3} @GUNS1_27135 {caseNum4} 5 {caseLabel4} @GUNS1_27221 {caseNum5} 6 {caseLabel5} @GUNS1_27277 {caseNum6} 7 {caseLabel6} @GUNS1_27333 {caseNum7} 8 {caseLabel7} @GUNS1_27389

:GUNS1_27023
if 
  257@ == 0
goto_if_false @GUNS1_27072
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_27065
Char.StartFacialTalk(98@, 4000)

:GUNS1_27065
254@ = 22

:GUNS1_27072
goto @GUNS1_27501

:GUNS1_27079
if 
  257@ == 0
goto_if_false @GUNS1_27128
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_27121
Char.StartFacialTalk(98@, 4000)

:GUNS1_27121
254@ = 23

:GUNS1_27128
goto @GUNS1_27501

:GUNS1_27135
if 
  257@ == 0
goto_if_false @GUNS1_27214
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_27177
Char.StartFacialTalk(98@, 4000)

:GUNS1_27177
97@ = 1
254@ = 31
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_27214
Car.LockDoors(102@, CarLock.Unlocked)

:GUNS1_27214
goto @GUNS1_27501

:GUNS1_27221
if 
  257@ == 0
goto_if_false @GUNS1_27270
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_27263
Char.StartFacialTalk(98@, 4000)

:GUNS1_27263
254@ = 25

:GUNS1_27270
goto @GUNS1_27501

:GUNS1_27277
if 
  257@ == 0
goto_if_false @GUNS1_27326
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_27319
Char.StartFacialTalk(98@, 4000)

:GUNS1_27319
254@ = 27

:GUNS1_27326
goto @GUNS1_27501

:GUNS1_27333
if 
  257@ == 0
goto_if_false @GUNS1_27382
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_27375
Char.StartFacialTalk(98@, 4000)

:GUNS1_27375
254@ = 24

:GUNS1_27382
goto @GUNS1_27501

:GUNS1_27389
if 
  257@ == 0
goto_if_false @GUNS1_27438
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_27431
Char.StartFacialTalk(98@, 4000)

:GUNS1_27431
254@ = 32

:GUNS1_27438
goto @GUNS1_27501

:GUNS1_27445
if 
  257@ == 0
goto_if_false @GUNS1_27494
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_27487
Char.StartFacialTalk(98@, 4000)

:GUNS1_27487
254@ = 26

:GUNS1_27494
goto @GUNS1_27501

:GUNS1_27501
Char.ClearTasks(98@)
Task.ShakeFist(98@)
128@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2829.412, -1187.152, 23.8422, MoveState.Walk, -2)
Task.LookAtCoord(-1, 2833.251, -1197.908, 23.3976, 2500)
Task.LookAtCoord(-1, 2831.166, -1169.792, 23.9627, 2500)
Task.StandStill(-1, 5000)
Task.GoStraightToCoord(-1, 2811.438, -1185.982, 24.2707, MoveState.Walk, -2)
Task.LookAtCoord(-1, 2808.122, -1190.884, 24.3397, 2500)
Task.LookAtCoord(-1, 2808.43, -1177.409, 24.3621, 2500)
Task.StandStill(-1, 5000)
Sequence.SetToRepeat(128@, True)
Sequence.Close(128@)
Char.PerformSequence(98@, 128@)
Sequence.Clear(128@)
60@ = 0
if 
  97@ <> 1
goto_if_false @GUNS1_27726
Blip.Remove(104@)
55@ = 0

:GUNS1_27726
if and
  35@ > 1
  72@ == 0
goto_if_false @GUNS1_27902
52@ = 0
TIMERB = 0
if 
  Object.DoesExist(117@(36@,7i))
goto_if_false @GUNS1_27902

:GUNS1_27785
if 
  52@ == 0
goto_if_false @GUNS1_27857
if or
  not Char.IsHoldingObject($stattreadstamina_ctr, 117@(36@,7i))
  Char.IsDead($stattreadstamina_ctr)
  TIMERB > 5000
goto_if_false @GUNS1_27846
52@ = 1

:GUNS1_27846
wait 0
goto @GUNS1_27785

:GUNS1_27857
Object.MarkAsNoLongerNeeded(117@(36@,7i))
Object.Delete(117@(36@,7i))
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
72@ = 1

:GUNS1_27902
if and
  56@ == 0
  47@ > 0
goto_if_false @GUNS1_28105
49@ = 0

:GUNS1_27934
if 
  7 > 49@
goto_if_false @GUNS1_28098
if 
  Object.DoesExist(117@(49@,7i))
goto_if_false @GUNS1_28084
if 
  81@(49@,7i) == 0
goto_if_false @GUNS1_28084
110@(49@,7i) = Blip.AddForObject(117@(49@,7i))
163@, 164@, 165@ = Object.GetCoordinates(117@(49@,7i))
if 
  165@ > 700.0
goto_if_false @GUNS1_28073
Blip.SetEntryExit(110@(49@,7i), 2807.844, -1176.985, 10.0)

:GUNS1_28073
81@(49@,7i) = 1

:GUNS1_28084
49@ += 1
goto @GUNS1_27934

:GUNS1_28098
56@ = 1

:GUNS1_28105
goto @GUNS1_28121

:GUNS1_28112
Text.ClearHelp
75@ = 0

:GUNS1_28121
if 
  51@ == 7
goto_if_false @GUNS1_32228
37@ = Streaming.GetAreaVisible()
if 
  37@ == 0
goto_if_false @GUNS1_31628
44@ = 0
43@ = 0
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Player.SetControl($statbike_temp, False)
Text.ClearPrints
Camera.DoFade(1000, Fade.Out)

:GUNS1_28206
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_28230
wait 0
goto @GUNS1_28206

:GUNS1_28230
Camera.RestoreJumpcut
Hud.SetRadarZoom(0)
Text.ClearPrints
Hud.SwitchWidescreen(True)
Text.ClearPrints
Text.ClearHelp
World.ClearArea(154@, 155@, 156@, 25.0, True)
Object.Delete(117@(36@,7i))
if 
  96@ == 0
goto_if_false @GUNS1_28307
Hud.ClearCounter($6709)
Hud.DisplayRadar(True)
94@ = 0

:GUNS1_28307
Blip.Remove(104@)
55@ = 0
Char.RemoveElegantly(99@)
Object.Delete(117@)
Object.Delete(118@)
Object.Delete(119@)
Object.Delete(120@)
Object.Delete(121@)
Object.Delete(122@)
Object.Delete(123@)
Char.MarkAsNoLongerNeeded(99@)
Streaming.MarkModelAsNoLongerNeeded(62)
Streaming.MarkModelAsNoLongerNeeded(#DB_AMMO)
Streaming.MarkModelAsNoLongerNeeded(349)
Object.MarkAsNoLongerNeeded(117@)
Object.MarkAsNoLongerNeeded(118@)
Object.MarkAsNoLongerNeeded(119@)
Object.MarkAsNoLongerNeeded(120@)
Object.MarkAsNoLongerNeeded(121@)
Object.MarkAsNoLongerNeeded(122@)
Object.MarkAsNoLongerNeeded(123@)
Streaming.RemoveAnimation("INT_HOUSE")
if and
  not Char.IsDead(98@)
  not Car.IsDead(102@)
goto_if_false @GUNS1_28710
Char.ClearTasks(98@)
154@, 155@, 156@ = Car.GetOffsetInWorldCoords(102@, -1.5, -4.0, 0.0)
153@ = Car.GetHeading(102@)
153@ -= 180.0
if 
  180.0 > 153@
goto_if_false @GUNS1_28530
153@ += 360.0

:GUNS1_28530
Char.ClearTasksImmediately(98@)
Char.SetCoordinates(98@, 2811.122, -1186.549, 24.2718)
Char.SetHeading(98@, 17.5866)
154@, 155@, 156@ = Char.GetOffsetInWorldCoords(98@, 1.0, 1.0, 0.0)
Char.SetCoordinates($stattreadstamina_ctr, 154@, 155@, 156@)
Char.SetCoordinates($stattreadstamina_ctr, 2806.928, -1178.878, 24.4038)
Char.SetHeading($stattreadstamina_ctr, 260.0)
154@, 155@, 156@ = Car.GetOffsetInWorldCoords(102@, 3.5, 0.0, 0.0)
157@, 158@, 159@ = Car.GetOffsetInWorldCoords(102@, -3.5, 0.0, 0.0)
Car.LockDoors(102@, CarLock.Unlocked)
Car.FreezePosition(102@, False)

:GUNS1_28710
if 
  96@ == 1
goto_if_false @GUNS1_30743
Streaming.RequestModel(346)
Streaming.RequestModel(280)
Streaming.RequestModel(596)

:GUNS1_28743
if or
  not Streaming.HasModelLoaded(280)
  not Streaming.HasModelLoaded(596)
  not Streaming.HasModelLoaded(346)
goto_if_false @GUNS1_28780
wait 0
goto @GUNS1_28743

:GUNS1_28780
Car.CustomPlateForNextCar(596, "TH3_P1G5")
103@ = Car.Create(596, 2841.16, -1237.64, 21.56)
Car.SwitchSiren(103@, True)
Car.SetHeading(103@, 10.0)
100@ = Char.CreateInsideCar(103@, PedType.Cop, 280)
Char.GiveWeapon(100@, WeaponType.Pistol, 3000)
101@ = Char.CreateAsPassenger(103@, PedType.Cop, 280, 0)
Char.GiveWeapon(101@, WeaponType.Pistol, 3000)
if and
  not Car.IsDead(102@)
  not Car.IsDead(103@)
  not Char.IsDead(100@)
goto_if_false @GUNS1_29041
130@ = Sequence.Open()
Task.CarDriveToCoord(-1, 103@, 2833.26, -1186.69, 23.8, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.LeaveCar(-1, 103@)
Task.AimGunAtChar(-1, $stattreadstamina_ctr, 2000)
Task.ShootAtCoord(-1, 154@, 155@, 156@, 10000)
Sequence.Close(130@)
Char.PerformSequence(100@, 130@)
Sequence.Clear(130@)
131@ = Sequence.Open()
Task.LeaveCar(-1, 103@)
Task.AimGunAtChar(-1, $stattreadstamina_ctr, 2000)
Task.ShootAtCoord(-1, 157@, 158@, 159@, 10000)
Sequence.Close(131@)

:GUNS1_29041
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_29062
Car.CloseAllDoors(102@)

:GUNS1_29062
Camera.SetFixedPosition(2835.015, -1176.018, 25.3376, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2834.264, -1176.677, 25.3009, SwitchType.JumpCut)
Streaming.RequestCollision(2835.015, -1176.018)
Streaming.LoadScene(2835.015, -1176.018, 25.3376)
Camera.DoFade(1000, Fade.In)

:GUNS1_29149
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_29173
wait 0
goto @GUNS1_29149

:GUNS1_29173
TIMERA = 0
52@ = 0
254@ = 0
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0

:GUNS1_29257
wait 0
if 
  258@ == 0
goto_if_false @GUNS1_30604
if 
  254@ <> 0
goto_if_false @GUNS1_29618
if 
  257@ == 0
goto_if_false @GUNS1_29343
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_29336
Audio.ClearMissionAudio(256@)

:GUNS1_29336
257@ = 1

:GUNS1_29343
if 
  257@ == 1
goto_if_false @GUNS1_29380
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_29380
if 
  257@ == 2
goto_if_false @GUNS1_29440
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_29440
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_29440
if 
  257@ == 3
goto_if_false @GUNS1_29618
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_29557
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_29522
255@ = 2
256@ = 1
goto @GUNS1_29536

:GUNS1_29522
255@ = 1
256@ = 2

:GUNS1_29536
254@ = 0
257@ = 0
goto @GUNS1_29618

:GUNS1_29557
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_29618
if 
  76 > 254@
goto_if_false @GUNS1_29618
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_29618
switch_start 259@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @GUNS1_30384 {caseNum1} 0 {caseLabel1} @GUNS1_29681 {caseNum2} 1 {caseLabel2} @GUNS1_29776 {caseNum3} 2 {caseLabel3} @GUNS1_29860 {caseNum4} 3 {caseLabel4} @GUNS1_30300 {caseNum5} -1 {caseLabel5} @GUNS1_30597 {caseNum6} -1 {caseLabel6} @GUNS1_30597 {caseNum7} -1 {caseLabel7} @GUNS1_30597

:GUNS1_29681
if 
  257@ == 0
goto_if_false @GUNS1_29769
Camera.SetFixedPosition(2835.015, -1176.018, 25.3376, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2834.264, -1176.677, 25.3009, SwitchType.JumpCut)
254@ = 43
259@ = 1
262@ = Clock.GetGameTimer()

:GUNS1_29769
goto @GUNS1_30597

:GUNS1_29776
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_29853
if 
  257@ == 0
goto_if_false @GUNS1_29853
254@ = 44
259@ = 2
262@ = Clock.GetGameTimer()

:GUNS1_29853
goto @GUNS1_30597

:GUNS1_29860
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_30293
if 
  not Char.IsDead(100@)
goto_if_false @GUNS1_30293
38@ = Char.GetScriptTaskStatus(100@, 1560)
if 
  is_int_lvar_equal_to_constant 38@ == 1
goto_if_false @GUNS1_30293
38@ = Char.GetSequenceProgress(100@)
if or
  38@ == 1
  TIMERA > 10000
goto_if_false @GUNS1_30293
if 
  70@ == 0
goto_if_false @GUNS1_30293
if 
  not Char.IsDead(101@)
goto_if_false @GUNS1_30293
if 
  not Car.IsDead(103@)
goto_if_false @GUNS1_30293
if 
  257@ == 0
goto_if_false @GUNS1_30293
254@ = 45
259@ = 3
262@ = Clock.GetGameTimer()
Char.PerformSequence(101@, 131@)
Sequence.Clear(131@)
Camera.SetFixedPosition(2807.873, -1178.356, 24.8046, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2808.721, -1178.87, 24.9362, SwitchType.JumpCut)
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_30286
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_30286
129@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2814.042, -1181.376, 24.2701, MoveState.Run, 6000)
Char.SetNextDesiredMoveState(MoveState.Run)
Task.EnterCarAsDriver(-1, 102@, 5000)
Sequence.Close(129@)
Char.PerformSequence($stattreadstamina_ctr, 129@)
Sequence.Clear(129@)
128@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2812.091, -1186.198, 24.2658, MoveState.Run, 6000)
Char.SetNextDesiredMoveState(MoveState.Run)
Task.EnterCarAsPassenger(-1, 102@, 3000, 0)
Sequence.Close(128@)
Char.PerformSequence(98@, 128@)
Sequence.Clear(128@)

:GUNS1_30286
70@ = 1

:GUNS1_30293
goto @GUNS1_30597

:GUNS1_30300
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_30377
if 
  257@ == 0
goto_if_false @GUNS1_30377
254@ = 46
259@ = 4
262@ = Clock.GetGameTimer()

:GUNS1_30377
goto @GUNS1_30597

:GUNS1_30384
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_30590
if 
  257@ == 0
goto_if_false @GUNS1_30590
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(102@)
goto_if_false @GUNS1_30495
if 
  not Char.IsInCar($stattreadstamina_ctr, 102@)
goto_if_false @GUNS1_30495
Char.ClearTasks($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, 102@)

:GUNS1_30495
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_30583
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_30583
if 
  not Char.IsInCar(98@, 102@)
goto_if_false @GUNS1_30556
Char.WarpIntoCarAsPassenger(98@, 102@, 0)

:GUNS1_30556
if 
  not Char.IsInCar($stattreadstamina_ctr, 102@)
goto_if_false @GUNS1_30583
Char.WarpIntoCar($stattreadstamina_ctr, 102@)

:GUNS1_30583
258@ = 1

:GUNS1_30590
goto @GUNS1_30597

:GUNS1_30597
goto @GUNS1_29257

:GUNS1_30604
264@ = 0
Text.Print('GUNS123', 10000, 1)
106@ = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
71@ = 1
69@ = 1
if 
  not Player.IsWantedLevelGreater($statbike_temp, 1)
goto_if_false @GUNS1_30688
Player.AlterWantedLevel($statbike_temp, 2)

:GUNS1_30688
if 
  not Char.IsDead(100@)
goto_if_false @GUNS1_30712
Task.KillCharOnFoot(100@, $stattreadstamina_ctr)

:GUNS1_30712
if 
  not Char.IsDead(101@)
goto_if_false @GUNS1_30736
Task.KillCharOnFoot(101@, $stattreadstamina_ctr)

:GUNS1_30736
goto @GUNS1_31333

:GUNS1_30743
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_30764
Car.CloseAllDoors(102@)

:GUNS1_30764
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.SetFixedPosition(2818.67, -1182.264, 24.8706, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2817.702, -1182.449, 25.0366, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)
Streaming.RequestCollision(2814.042, -1181.376)
Streaming.LoadScene(2814.042, -1181.376, 24.2701)

:GUNS1_30867
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_30891
wait 0
goto @GUNS1_30867

:GUNS1_30891
if and
  not Car.IsDead(102@)
  not Char.IsDead(98@)
goto_if_false @GUNS1_31036
129@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2814.042, -1181.376, 24.2701, MoveState.Walk, 6000)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsDriver(-1, 102@, 6000)
Sequence.Close(129@)
Char.PerformSequence($stattreadstamina_ctr, 129@)
Sequence.Clear(129@)
128@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2812.091, -1186.198, 24.2658, MoveState.Walk, 6000)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, 102@, 4000, 0)
Sequence.Close(128@)
Char.PerformSequence(98@, 128@)
Sequence.Clear(128@)

:GUNS1_31036
264@ = 1
TIMERB = 0
52@ = 0

:GUNS1_31057
if 
  52@ == 0
goto_if_false @GUNS1_31288
if and
  not Char.IsDead(98@)
  not Car.IsDead(102@)
goto_if_false @GUNS1_31137
if and
  Char.IsSittingInCar(98@, 102@)
  Char.IsSittingInCar($stattreadstamina_ctr, 102@)
goto_if_false @GUNS1_31130
52@ = 1

:GUNS1_31130
goto @GUNS1_31251

:GUNS1_31137
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @GUNS1_31244
Camera.DoFade(1000, Fade.Out)

:GUNS1_31173
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_31197
wait 0
goto @GUNS1_31173

:GUNS1_31197
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:GUNS1_31220
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_31244
wait 0
goto @GUNS1_31220

:GUNS1_31244
goto @GUNS1_40642

:GUNS1_31251
if 
  TIMERB > 10000
goto_if_false @GUNS1_31277
52@ = 1

:GUNS1_31277
wait 0
goto @GUNS1_31057

:GUNS1_31288
Text.ClearPrints
Text.Print('GUNS124', 10000, 1)
107@ = Blip.AddForCoord(2742.0, -2008.0, 13.0)
68@ = 1

:GUNS1_31333
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_31421
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_31421
if 
  not Char.IsInCar(98@, 102@)
goto_if_false @GUNS1_31394
Char.WarpIntoCarAsPassenger(98@, 102@, 0)

:GUNS1_31394
if 
  not Char.IsInCar($stattreadstamina_ctr, 102@)
goto_if_false @GUNS1_31421
Char.WarpIntoCar($stattreadstamina_ctr, 102@)

:GUNS1_31421
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_31495
if 
  not Char.IsGroupMember(98@, $flag_cell_nation)
goto_if_false @GUNS1_31495
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, 98@)
Group.SetFollowStatus($flag_cell_nation, False)
Char.ListenToPlayerGroupCommands(98@, False)

:GUNS1_31495
Game.SetPoliceIgnorePlayer($statbike_temp, False)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
58@ = 0
57@ = 0
55@ = 0
254@ = 0
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0
51@ = 8
43@ = 0
goto @GUNS1_32228

:GUNS1_31628
if 
  254@ <> 0
goto_if_false @GUNS1_31899
if 
  257@ == 0
goto_if_false @GUNS1_31692
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_31685
Audio.ClearMissionAudio(256@)

:GUNS1_31685
257@ = 1

:GUNS1_31692
if 
  257@ == 1
goto_if_false @GUNS1_31729
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_31729
if 
  257@ == 2
goto_if_false @GUNS1_31789
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_31789
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_31789
if 
  257@ == 3
goto_if_false @GUNS1_31899
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_31899
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_31871
255@ = 2
256@ = 1
goto @GUNS1_31885

:GUNS1_31871
255@ = 1
256@ = 2

:GUNS1_31885
254@ = 0
257@ = 0

:GUNS1_31899
if and
  not Char.IsDead(98@)
  3 > 43@
goto_if_false @GUNS1_32149
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_32142
if 
  43@ == 0
goto_if_false @GUNS1_32000
if 
  257@ == 0
goto_if_false @GUNS1_31993
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
254@ = 38
43@ = 1

:GUNS1_31993
goto @GUNS1_32142

:GUNS1_32000
if 
  43@ == 1
goto_if_false @GUNS1_32086
if 
  257@ == 0
goto_if_false @GUNS1_32079
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_32065
Char.StartFacialTalk(99@, 4000)
Char.StopFacialTalk($stattreadstamina_ctr)

:GUNS1_32065
254@ = 36
43@ = 2

:GUNS1_32079
goto @GUNS1_32142

:GUNS1_32086
if 
  257@ == 0
goto_if_false @GUNS1_32142
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_32128
Char.StartFacialTalk(98@, 4000)

:GUNS1_32128
254@ = 37
43@ = 3

:GUNS1_32142
goto @GUNS1_32167

:GUNS1_32149
Text.ClearPrints
Text.Print('RYD1_44', 4000, 1)

:GUNS1_32167
if 
  55@ == 0
goto_if_false @GUNS1_32228
Blip.Remove(104@)
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_32228
104@ = Blip.AddForCar(102@)
Blip.SetAsFriendly(104@, True)
55@ = 1

:GUNS1_32228
if 
  51@ == 8
goto_if_false @GUNS1_40633
if 
  254@ <> 0
goto_if_false @GUNS1_32535
if 
  257@ == 0
goto_if_false @GUNS1_32310
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_32303
Audio.ClearMissionAudio(256@)

:GUNS1_32303
257@ = 1

:GUNS1_32310
if 
  257@ == 1
goto_if_false @GUNS1_32347
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_32347
if 
  257@ == 2
goto_if_false @GUNS1_32425
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_32425
Audio.PlayMissionAudio(255@)
if 
  254@ <> 76
goto_if_false @GUNS1_32418
Text.PrintNow($6710(254@,82s), 10000, 1)

:GUNS1_32418
257@ = 3

:GUNS1_32425
if 
  257@ == 3
goto_if_false @GUNS1_32535
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_32535
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_32507
255@ = 2
256@ = 1
goto @GUNS1_32521

:GUNS1_32507
255@ = 1
256@ = 2

:GUNS1_32521
254@ = 0
257@ = 0

:GUNS1_32535
if 
  264@ == 0
goto_if_false @GUNS1_33075
if 
  266@ == 0
goto_if_false @GUNS1_33068
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_33068
switch_start 265@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @GUNS1_32966 {caseNum1} 0 {caseLabel1} @GUNS1_32647 {caseNum2} 1 {caseLabel2} @GUNS1_32714 {caseNum3} 2 {caseLabel3} @GUNS1_32798 {caseNum4} 3 {caseLabel4} @GUNS1_32882 {caseNum5} -1 {caseLabel5} @GUNS1_33068 {caseNum6} -1 {caseLabel6} @GUNS1_33068 {caseNum7} -1 {caseLabel7} @GUNS1_33068

:GUNS1_32647
if 
  257@ == 0
goto_if_false @GUNS1_32707
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_32695
Char.ShutUpForScriptedSpeech(98@, True)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:GUNS1_32695
265@ = 1
262@ = Clock.GetGameTimer()

:GUNS1_32707
goto @GUNS1_33068

:GUNS1_32714
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_32791
if 
  257@ == 0
goto_if_false @GUNS1_32791
254@ = 47
265@ = 2
262@ = Clock.GetGameTimer()

:GUNS1_32791
goto @GUNS1_33068

:GUNS1_32798
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_32875
if 
  257@ == 0
goto_if_false @GUNS1_32875
254@ = 48
265@ = 3
262@ = Clock.GetGameTimer()

:GUNS1_32875
goto @GUNS1_33068

:GUNS1_32882
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_32959
if 
  257@ == 0
goto_if_false @GUNS1_32959
254@ = 49
265@ = 4
262@ = Clock.GetGameTimer()

:GUNS1_32959
goto @GUNS1_33068

:GUNS1_32966
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_33061
if 
  257@ == 0
goto_if_false @GUNS1_33061
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_33054
Char.ShutUpForScriptedSpeech(98@, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:GUNS1_33054
266@ = 1

:GUNS1_33061
goto @GUNS1_33068

:GUNS1_33068
goto @GUNS1_35104

:GUNS1_33075
if 
  264@ == 1
goto_if_false @GUNS1_33545
if 
  268@ == 0
goto_if_false @GUNS1_33538
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_33538
switch_start 267@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @GUNS1_33429 {caseNum1} 0 {caseLabel1} @GUNS1_33187 {caseNum2} 1 {caseLabel2} @GUNS1_33261 {caseNum3} 2 {caseLabel3} @GUNS1_33345 {caseNum4} -1 {caseLabel4} @GUNS1_33538 {caseNum5} -1 {caseLabel5} @GUNS1_33538 {caseNum6} -1 {caseLabel6} @GUNS1_33538 {caseNum7} -1 {caseLabel7} @GUNS1_33538

:GUNS1_33187
if 
  257@ == 0
goto_if_false @GUNS1_33254
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_33235
Char.ShutUpForScriptedSpeech(98@, True)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:GUNS1_33235
254@ = 50
267@ = 1
262@ = Clock.GetGameTimer()

:GUNS1_33254
goto @GUNS1_33538

:GUNS1_33261
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_33338
if 
  257@ == 0
goto_if_false @GUNS1_33338
254@ = 51
267@ = 2
262@ = Clock.GetGameTimer()

:GUNS1_33338
goto @GUNS1_33538

:GUNS1_33345
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_33422
if 
  257@ == 0
goto_if_false @GUNS1_33422
254@ = 52
267@ = 3
262@ = Clock.GetGameTimer()

:GUNS1_33422
goto @GUNS1_33538

:GUNS1_33429
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_33531
if 
  257@ == 0
goto_if_false @GUNS1_33531
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_33517
Char.ShutUpForScriptedSpeech(98@, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:GUNS1_33517
268@ = 1
264@ = 3

:GUNS1_33531
goto @GUNS1_33538

:GUNS1_33538
goto @GUNS1_35104

:GUNS1_33545
if 
  264@ == 2
goto_if_false @GUNS1_33911
if 
  272@ == 0
goto_if_false @GUNS1_33904
switch_start 271@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @GUNS1_33802 {caseNum1} 0 {caseLabel1} @GUNS1_33644 {caseNum2} 1 {caseLabel2} @GUNS1_33718 {caseNum3} -1 {caseLabel3} @GUNS1_33904 {caseNum4} -1 {caseLabel4} @GUNS1_33904 {caseNum5} -1 {caseLabel5} @GUNS1_33904 {caseNum6} -1 {caseLabel6} @GUNS1_33904 {caseNum7} -1 {caseLabel7} @GUNS1_33904

:GUNS1_33644
if 
  257@ == 0
goto_if_false @GUNS1_33711
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_33692
Char.ShutUpForScriptedSpeech(98@, True)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:GUNS1_33692
254@ = 64
271@ = 1
262@ = Clock.GetGameTimer()

:GUNS1_33711
goto @GUNS1_33904

:GUNS1_33718
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_33795
if 
  257@ == 0
goto_if_false @GUNS1_33795
254@ = 65
271@ = 2
262@ = Clock.GetGameTimer()

:GUNS1_33795
goto @GUNS1_33904

:GUNS1_33802
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_33897
if 
  257@ == 0
goto_if_false @GUNS1_33897
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_33890
Char.ShutUpForScriptedSpeech(98@, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:GUNS1_33890
272@ = 1

:GUNS1_33897
goto @GUNS1_33904

:GUNS1_33904
goto @GUNS1_35104

:GUNS1_33911
if 
  264@ == 3
goto_if_false @GUNS1_35104
if 
  270@ == 0
goto_if_false @GUNS1_35104
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_35104
switch_start 269@ {numCases} 11 {hasDefaultCase} 1 {defaultLabel} @GUNS1_35002 {caseNum1} 0 {caseLabel1} @GUNS1_34088 {caseNum2} 1 {caseLabel2} @GUNS1_34162 {caseNum3} 2 {caseLabel3} @GUNS1_34246 {caseNum4} 3 {caseLabel4} @GUNS1_34330 {caseNum5} 4 {caseLabel5} @GUNS1_34414 {caseNum6} 5 {caseLabel6} @GUNS1_34498 {caseNum7} 6 {caseLabel7} @GUNS1_34582
switch_continued 7 {caseLabel1} @GUNS1_34666 {caseNum2} 8 {caseLabel2} @GUNS1_34750 {caseNum3} 9 {caseLabel3} @GUNS1_34834 {caseNum4} 10 {caseLabel4} @GUNS1_34918 {caseNum5} -1 {caseLabel5} @GUNS1_35104 {caseNum6} -1 {caseLabel6} @GUNS1_35104 {caseNum7} -1 {caseLabel7} @GUNS1_35104 {caseNum8} -1 {caseLabel8} @GUNS1_35104 {caseNum9} -1 {caseLabel9} @GUNS1_35104

:GUNS1_34088
if 
  257@ == 0
goto_if_false @GUNS1_34155
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_34136
Char.ShutUpForScriptedSpeech(98@, True)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:GUNS1_34136
254@ = 53
269@ = 1
262@ = Clock.GetGameTimer()

:GUNS1_34155
goto @GUNS1_35104

:GUNS1_34162
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_34239
if 
  257@ == 0
goto_if_false @GUNS1_34239
254@ = 54
269@ = 2
262@ = Clock.GetGameTimer()

:GUNS1_34239
goto @GUNS1_35104

:GUNS1_34246
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_34323
if 
  257@ == 0
goto_if_false @GUNS1_34323
254@ = 55
269@ = 3
262@ = Clock.GetGameTimer()

:GUNS1_34323
goto @GUNS1_35104

:GUNS1_34330
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_34407
if 
  257@ == 0
goto_if_false @GUNS1_34407
254@ = 56
269@ = 4
262@ = Clock.GetGameTimer()

:GUNS1_34407
goto @GUNS1_35104

:GUNS1_34414
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_34491
if 
  257@ == 0
goto_if_false @GUNS1_34491
254@ = 57
269@ = 5
262@ = Clock.GetGameTimer()

:GUNS1_34491
goto @GUNS1_35104

:GUNS1_34498
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_34575
if 
  257@ == 0
goto_if_false @GUNS1_34575
254@ = 58
269@ = 6
262@ = Clock.GetGameTimer()

:GUNS1_34575
goto @GUNS1_35104

:GUNS1_34582
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_34659
if 
  257@ == 0
goto_if_false @GUNS1_34659
254@ = 59
269@ = 7
262@ = Clock.GetGameTimer()

:GUNS1_34659
goto @GUNS1_35104

:GUNS1_34666
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_34743
if 
  257@ == 0
goto_if_false @GUNS1_34743
254@ = 60
269@ = 8
262@ = Clock.GetGameTimer()

:GUNS1_34743
goto @GUNS1_35104

:GUNS1_34750
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_34827
if 
  257@ == 0
goto_if_false @GUNS1_34827
254@ = 61
269@ = 9
262@ = Clock.GetGameTimer()

:GUNS1_34827
goto @GUNS1_35104

:GUNS1_34834
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_34911
if 
  257@ == 0
goto_if_false @GUNS1_34911
254@ = 62
269@ = 10
262@ = Clock.GetGameTimer()

:GUNS1_34911
goto @GUNS1_35104

:GUNS1_34918
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_34995
if 
  257@ == 0
goto_if_false @GUNS1_34995
254@ = 63
269@ = 11
262@ = Clock.GetGameTimer()

:GUNS1_34995
goto @GUNS1_35104

:GUNS1_35002
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_35097
if 
  257@ == 0
goto_if_false @GUNS1_35097
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_35090
Char.ShutUpForScriptedSpeech(98@, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:GUNS1_35090
270@ = 1

:GUNS1_35097
goto @GUNS1_35104

:GUNS1_35104
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_35742
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_35742
if 
  not Char.IsInCar($stattreadstamina_ctr, 102@)
goto_if_false @GUNS1_35375
54@ = 0
if 
  55@ == 0
goto_if_false @GUNS1_35368
if 
  68@ == 1
goto_if_false @GUNS1_35210
Blip.Remove(107@)
68@ = 0

:GUNS1_35210
if 
  69@ == 1
goto_if_false @GUNS1_35240
Blip.Remove(106@)
69@ = 0

:GUNS1_35240
if 
  57@ == 1
goto_if_false @GUNS1_35270
Blip.Remove(108@)
57@ = 0

:GUNS1_35270
if 
  Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_35290
44@ = 1

:GUNS1_35290
Text.ClearPrints
Text.Print('GUNS128', 2000, 1)
Player.SetGroupToFollowNever($statbike_temp, True)
104@ = Blip.AddForCar(102@)
Blip.SetAsFriendly(104@, True)
55@ = 1
254@ = 76
257@ = 0
Audio.ClearMissionAudio(255@)
Audio.ClearMissionAudio(256@)
264@ = 99

:GUNS1_35368
goto @GUNS1_35742

:GUNS1_35375
54@ = 1
if 
  55@ == 1
goto_if_false @GUNS1_35433
Player.SetGroupToFollowNever($statbike_temp, False)
Blip.Remove(104@)
264@ = 3
55@ = 0
goto @GUNS1_35742

:GUNS1_35433
if 
  not Char.IsInCar(98@, 102@)
goto_if_false @GUNS1_35698
59@ = 0
if 
  57@ == 0
goto_if_false @GUNS1_35604
if 
  68@ == 1
goto_if_false @GUNS1_35507
Blip.Remove(107@)
68@ = 0

:GUNS1_35507
if 
  69@ == 1
goto_if_false @GUNS1_35537
Blip.Remove(106@)
69@ = 0

:GUNS1_35537
if 
  Text.IsMessageBeingDisplayed
goto_if_false @GUNS1_35557
44@ = 1

:GUNS1_35557
Text.ClearPrints
Text.Print('GUNS143', 2000, 1)
108@ = Blip.AddForChar(98@)
Blip.SetAsFriendly(108@, True)
264@ = 99
57@ = 1

:GUNS1_35604
if 
  58@ == 0
goto_if_false @GUNS1_35648
Task.EnterCarAsPassenger(98@, 102@, -2, 0)
58@ = 1
goto @GUNS1_35691

:GUNS1_35648
38@ = Char.GetScriptTaskStatus(98@, 1482)
if and
  not is_int_lvar_equal_to_constant 38@ == 0
  not is_int_lvar_equal_to_constant 38@ == 1
goto_if_false @GUNS1_35691
58@ = 0

:GUNS1_35691
goto @GUNS1_35742

:GUNS1_35698
if 
  57@ == 1
goto_if_false @GUNS1_35735
Blip.Remove(108@)
57@ = 0
264@ = 3

:GUNS1_35735
59@ = 1

:GUNS1_35742
if and
  59@ == 1
  54@ == 1
goto_if_false @GUNS1_40633
if 
  68@ == 1
goto_if_false @GUNS1_39819
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 2742.0, -2008.0, 13.0, 15.0, 15.0, 4.0, False)
goto_if_false @GUNS1_39749
Text.ClearPrints
Text.Print('RYD1_34', 3000, 1)
if 
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, 2741.241, -2011.274, 13.5869, 2.9, 3.2, 5.0, False)
goto_if_false @GUNS1_39672
Player.SetControl($statbike_temp, False)
Text.ClearPrints
Camera.DoFade(1500, Fade.Out)

:GUNS1_35915
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_35939
wait 0
goto @GUNS1_35915

:GUNS1_35939
World.ClearArea(2741.241, -2011.274, 13.5869, 10.0, True)
Hud.SwitchWidescreen(True)
Blip.Remove(107@)
Text.ClearPrints
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_36014
if 
  Char.IsGroupMember(98@, $flag_cell_nation)
goto_if_false @GUNS1_36014
Char.RemoveFromGroup(98@)

:GUNS1_36014
Streaming.LoadScene(2745.47, -2003.59, 15.53)
Camera.SetFixedPosition(2745.47, -2003.59, 15.53, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2737.34, -2002.24, 11.65, SwitchType.JumpCut)
if 
  88@ == 1
goto_if_false @GUNS1_36123
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
88@ = 0

:GUNS1_36123
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GUNS1_36166
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2741.0, -2007.14, 13.0)
goto @GUNS1_36186

:GUNS1_36166
Char.SetCoordinates($stattreadstamina_ctr, 2741.0, -2008.14, 13.0)

:GUNS1_36186
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_36265
if 
  Char.IsInAnyCar(98@)
goto_if_false @GUNS1_36245
Char.WarpFromCarToCoord(98@, 2740.0, -2008.14, 13.0)
goto @GUNS1_36265

:GUNS1_36245
Char.SetCoordinates(98@, 2740.0, -2007.14, 13.0)

:GUNS1_36265
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_36291
Car.Delete(102@)
Car.MarkAsNoLongerNeeded(102@)

:GUNS1_36291
World.ClearArea(2741.0, -2005.0, 14.14, 50.0, True)
254@ = 0
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0

:GUNS1_36385
wait 0
if 
  258@ == 0
goto_if_false @GUNS1_37564
if 
  254@ <> 0
goto_if_false @GUNS1_36746
if 
  257@ == 0
goto_if_false @GUNS1_36471
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_36464
Audio.ClearMissionAudio(256@)

:GUNS1_36464
257@ = 1

:GUNS1_36471
if 
  257@ == 1
goto_if_false @GUNS1_36508
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_36508
if 
  257@ == 2
goto_if_false @GUNS1_36568
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_36568
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_36568
if 
  257@ == 3
goto_if_false @GUNS1_36746
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_36685
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_36650
255@ = 2
256@ = 1
goto @GUNS1_36664

:GUNS1_36650
255@ = 1
256@ = 2

:GUNS1_36664
254@ = 0
257@ = 0
goto @GUNS1_36746

:GUNS1_36685
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_36746
if 
  76 > 254@
goto_if_false @GUNS1_36746
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_36746
switch_start 259@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @GUNS1_37459 {caseNum1} 0 {caseLabel1} @GUNS1_36809 {caseNum2} 1 {caseLabel2} @GUNS1_37122 {caseNum3} 2 {caseLabel3} @GUNS1_37249 {caseNum4} -1 {caseLabel4} @GUNS1_37557 {caseNum5} -1 {caseLabel5} @GUNS1_37557 {caseNum6} -1 {caseLabel6} @GUNS1_37557 {caseNum7} -1 {caseLabel7} @GUNS1_37557

:GUNS1_36809
if 
  257@ == 0
goto_if_false @GUNS1_37115
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_36858
Char.StartFacialTalk(98@, 4000)
Char.ShutUpForScriptedSpeech(98@, True)

:GUNS1_36858
254@ = 66
259@ = 1
262@ = Clock.GetGameTimer()
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_37084
129@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2741.0, -2005.0, 14.14, MoveState.Walk, 6000)
Task.GoStraightToCoord(-1, 2741.0, -2001.0, 14.14, MoveState.Walk, 6000)
Task.TurnCharToFaceChar(-1, 98@)
Sequence.Close(129@)
Char.PerformSequence($stattreadstamina_ctr, 129@)
Sequence.Clear(129@)
129@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2740.0, -2005.0, 14.14, MoveState.Walk, 6000)
Task.GoStraightToCoord(-1, 2740.0, -2001.0, 14.14, MoveState.Walk, 6000)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(129@)
Char.PerformSequence(98@, 129@)
Sequence.Clear(129@)

:GUNS1_37084
Camera.DoFade(1500, Fade.In)

:GUNS1_37091
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_37115
wait 0
goto @GUNS1_37091

:GUNS1_37115
goto @GUNS1_37557

:GUNS1_37122
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_37242
if 
  257@ == 0
goto_if_false @GUNS1_37242
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_37209
Char.StartFacialTalk($stattreadstamina_ctr, 4000)
Char.StopFacialTalk(98@)

:GUNS1_37209
254@ = 67
52@ = 0
TIMERA = 0
259@ = 2
262@ = Clock.GetGameTimer()

:GUNS1_37242
goto @GUNS1_37557

:GUNS1_37249
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_37452
if 
  257@ == 0
goto_if_false @GUNS1_37452
38@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if or
  is_int_lvar_equal_to_constant 38@ == 7
  TIMERA > 8000
goto_if_false @GUNS1_37452
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_37360

:GUNS1_37360
Garage.Close('BURG_LK')

:GUNS1_37371
if 
  not Garage.IsClosed('BURG_LK')
goto_if_false @GUNS1_37404
wait 0
goto @GUNS1_37371

:GUNS1_37404
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_37433
Char.StartFacialTalk(98@, 5000)
Char.StopFacialTalk($stattreadstamina_ctr)

:GUNS1_37433
254@ = 68
259@ = 3
262@ = Clock.GetGameTimer()

:GUNS1_37452
goto @GUNS1_37557

:GUNS1_37459
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_37550
if 
  257@ == 0
goto_if_false @GUNS1_37550
Char.ClearTasks($stattreadstamina_ctr)
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_37543
Char.ClearTasks(98@)

:GUNS1_37543
258@ = 1

:GUNS1_37550
goto @GUNS1_37557

:GUNS1_37557
goto @GUNS1_36385

:GUNS1_37564
Camera.DoFade(1000, Fade.Out)

:GUNS1_37571
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_37595
wait 0
goto @GUNS1_37571

:GUNS1_37595
Char.SetCoordinates($stattreadstamina_ctr, 2161.0, -1664.0, 22.0)
Camera.SetFixedPosition(2168.155, -1686.374, 15.6932, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2168.094, -1685.377, 15.7351, SwitchType.JumpCut)
Streaming.RequestCollision(2168.155, -1686.374)
Streaming.LoadScene(2168.155, -1686.374, 15.6932)
Camera.DoFade(1000, Fade.In)

:GUNS1_37702
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_37726
wait 0
goto @GUNS1_37702

:GUNS1_37726
Text.ClearHelp
Text.PrintHelpForever('RYD1_88')

:GUNS1_37739
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GUNS1_37763
wait 0
goto @GUNS1_37739

:GUNS1_37763
TIMERA = 0
52@ = 0

:GUNS1_37777
if 
  52@ == 0
goto_if_false @GUNS1_37837
if or
  TIMERA > 4000
  not Player.IsPlaying($statbike_temp)
goto_if_false @GUNS1_37826
52@ = 1

:GUNS1_37826
wait 0
goto @GUNS1_37777

:GUNS1_37837
Text.ClearHelp
Text.PrintHelpForever('RYD1_90')

:GUNS1_37850
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GUNS1_37874
wait 0
goto @GUNS1_37850

:GUNS1_37874
TIMERA = 0
52@ = 0

:GUNS1_37888
if 
  52@ == 0
goto_if_false @GUNS1_37948
if or
  TIMERA > 4000
  not Player.IsPlaying($statbike_temp)
goto_if_false @GUNS1_37937
52@ = 1

:GUNS1_37937
wait 0
goto @GUNS1_37888

:GUNS1_37948
Text.ClearHelp
Camera.DoFade(1000, Fade.Out)

:GUNS1_37957
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_37981
wait 0
goto @GUNS1_37957

:GUNS1_37981
Char.SetCoordinates($stattreadstamina_ctr, 2272.0, -1792.0, 14.0)
Camera.SetFixedPosition(2255.539, -1783.703, 13.6049, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2254.882, -1784.445, 13.7333, SwitchType.JumpCut)
Streaming.RequestCollision(2254.208, -1790.233)
Streaming.LoadScene(2254.208, -1790.233, 13.1057)
CarGenerator.Switch($gen_car22, 0)
World.ClearArea(2251.028, -1788.661, 12.7625, 10.0, True)
102@ = Car.Create(609, 2251.028, -1788.661, 12.9625)
Car.SetHeading(102@, 358.9591)
Camera.DoFade(1000, Fade.In)

:GUNS1_38152
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_38176
wait 0
goto @GUNS1_38152

:GUNS1_38176
Text.PrintHelpForever('RYD1_89')

:GUNS1_38187
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GUNS1_38211
wait 0
goto @GUNS1_38187

:GUNS1_38211
TIMERA = 0
52@ = 0

:GUNS1_38225
if 
  52@ == 0
goto_if_false @GUNS1_38285
if or
  TIMERA > 4000
  not Player.IsPlaying($statbike_temp)
goto_if_false @GUNS1_38274
52@ = 1

:GUNS1_38274
wait 0
goto @GUNS1_38225

:GUNS1_38285
Text.ClearHelp
Text.PrintHelpForever('RYD1_91')

:GUNS1_38298
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GUNS1_38322
wait 0
goto @GUNS1_38298

:GUNS1_38322
TIMERA = 0
52@ = 0

:GUNS1_38336
if 
  52@ == 0
goto_if_false @GUNS1_38396
if or
  TIMERA > 4000
  not Player.IsPlaying($statbike_temp)
goto_if_false @GUNS1_38385
52@ = 1

:GUNS1_38385
wait 0
goto @GUNS1_38336

:GUNS1_38396
Text.ClearHelp
Camera.DoFade(1000, Fade.Out)

:GUNS1_38405
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_38429
wait 0
goto @GUNS1_38405

:GUNS1_38429
if 
  not Car.IsDead(102@)
goto_if_false @GUNS1_38455
Car.Delete(102@)
Car.MarkAsNoLongerNeeded(102@)

:GUNS1_38455
Char.SetCoordinates($stattreadstamina_ctr, 2741.0, -2001.0, 12.5547)
Char.SetHeading($stattreadstamina_ctr, 80.0)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2745.47, -2003.59, 15.53, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2737.34, -2002.24, 11.65, SwitchType.JumpCut)
Streaming.RequestCollision(2745.47, -2003.59)
Streaming.LoadScene(2745.47, -2003.59, 15.53)
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_38631
Char.SetCoordinates(98@, 2740.0, -2001.0, 12.5547)
Char.SetHeading(98@, 230.0)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 98@)
Task.TurnCharToFaceChar(98@, $stattreadstamina_ctr)

:GUNS1_38631
Camera.DoFade(1000, Fade.In)

:GUNS1_38638
if 
  Camera.GetFadingStatus
goto_if_false @GUNS1_38662
wait 0
goto @GUNS1_38638

:GUNS1_38662
254@ = 0
255@ = 1
256@ = 2
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0

:GUNS1_38732
wait 0
if 
  258@ == 0
goto_if_false @GUNS1_39558
if 
  254@ <> 0
goto_if_false @GUNS1_39093
if 
  257@ == 0
goto_if_false @GUNS1_38818
if 
  Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_38811
Audio.ClearMissionAudio(256@)

:GUNS1_38811
257@ = 1

:GUNS1_38818
if 
  257@ == 1
goto_if_false @GUNS1_38855
Audio.LoadMissionAudio(255@, 172@(254@,82i))
257@ = 2

:GUNS1_38855
if 
  257@ == 2
goto_if_false @GUNS1_38915
if 
  Audio.HasMissionAudioLoaded(255@)
goto_if_false @GUNS1_38915
Audio.PlayMissionAudio(255@)
Text.PrintNow($6710(254@,82s), 10000, 1)
257@ = 3

:GUNS1_38915
if 
  257@ == 3
goto_if_false @GUNS1_39093
if 
  Audio.HasMissionAudioFinished(255@)
goto_if_false @GUNS1_39032
Text.ClearThisPrint($6710(254@,82s))
if 
  255@ == 1
goto_if_false @GUNS1_38997
255@ = 2
256@ = 1
goto @GUNS1_39011

:GUNS1_38997
255@ = 1
256@ = 2

:GUNS1_39011
254@ = 0
257@ = 0
goto @GUNS1_39093

:GUNS1_39032
if 
  not Audio.HasMissionAudioLoaded(256@)
goto_if_false @GUNS1_39093
if 
  76 > 254@
goto_if_false @GUNS1_39093
set_lvar_int_to_lvar_int 263@ = 254@
263@ += 1
Audio.LoadMissionAudio(256@, 172@(263@,82i))

:GUNS1_39093
switch_start 259@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @GUNS1_39453 {caseNum1} 0 {caseLabel1} @GUNS1_39156 {caseNum2} 1 {caseLabel2} @GUNS1_39265 {caseNum3} -1 {caseLabel3} @GUNS1_39551 {caseNum4} -1 {caseLabel4} @GUNS1_39551 {caseNum5} -1 {caseLabel5} @GUNS1_39551 {caseNum6} -1 {caseLabel6} @GUNS1_39551 {caseNum7} -1 {caseLabel7} @GUNS1_39551

:GUNS1_39156
if 
  257@ == 0
goto_if_false @GUNS1_39258
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_39203
Char.StartFacialTalk($stattreadstamina_ctr, 5000)
Char.StopFacialTalk(98@)

:GUNS1_39203
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
254@ = 74
259@ = 1
262@ = Clock.GetGameTimer()

:GUNS1_39258
goto @GUNS1_39551

:GUNS1_39265
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_39446
if 
  257@ == 0
goto_if_false @GUNS1_39446
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_39357
Char.StartFacialTalk(98@, 5000)
Char.StopFacialTalk($stattreadstamina_ctr)
Char.ClearTasks($stattreadstamina_ctr)

:GUNS1_39357
254@ = 75
259@ = 2
TIMERA = 0
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_39441
129@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2761.0, -2002.0, 14.0, MoveState.Walk, 10000)
Sequence.Close(129@)
Char.PerformSequence(98@, 129@)
Sequence.Clear(129@)

:GUNS1_39441
262@ = Clock.GetGameTimer()

:GUNS1_39446
goto @GUNS1_39551

:GUNS1_39453
261@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 260@ = 261@
sub_int_lvar_from_int_lvar 260@ -= 262@
if 
  260@ > 1000
goto_if_false @GUNS1_39544
if 
  257@ == 0
goto_if_false @GUNS1_39544
if 
  not Char.IsDead(98@)
goto_if_false @GUNS1_39537
Char.StopFacialTalk(98@)
Char.StopFacialTalk($stattreadstamina_ctr)

:GUNS1_39537
258@ = 1

:GUNS1_39544
goto @GUNS1_39551

:GUNS1_39551
goto @GUNS1_38732

:GUNS1_39558
52@ = 0

:GUNS1_39565
if 
  52@ == 0
goto_if_false @GUNS1_39638
38@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if or
  is_int_lvar_equal_to_constant 38@ == 7
  TIMERA > 6000
goto_if_false @GUNS1_39627
52@ = 1

:GUNS1_39627
wait 0
goto @GUNS1_39565

:GUNS1_39638
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
goto @GUNS1_40660
goto @GUNS1_39742

:GUNS1_39672
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2741.0, -2010.0, 13.5, 4.0, 4.0, 5.0, True)
if 
  not Garage.IsOpen('BURG_LK')
goto_if_false @GUNS1_39742
Garage.Open('BURG_LK')

:GUNS1_39742
goto @GUNS1_39819

:GUNS1_39749
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2742.0, -2000.0, 13.0, 4.0, 4.0, 5.0, True)
if 
  not Garage.IsClosed('BURG_LK')
goto_if_false @GUNS1_39819
Garage.Close('BURG_LK')

:GUNS1_39819
if 
  Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @GUNS1_40234
268@ = 0
if 
  96@ == 1
goto_if_false @GUNS1_40091
if 
  Char.LocateInCar2D($stattreadstamina_ctr, 2067.4, -1831.2, 15.0, 15.0, False)
goto_if_false @GUNS1_39999
if and
  71@ == 1
  74@ == 0
goto_if_false @GUNS1_39992
if and
  not Char.IsDead(100@)
  not Car.IsDead(103@)
  not Car.IsDead(102@)
goto_if_false @GUNS1_39978
Car.SwitchSiren(103@, False)
Task.CarMission(100@, 103@, 102@, CarMission.EmergencyVehicleStop, 20.0, DrivingMode.StopForCars)

:GUNS1_39978
74@ = 1
71@ = 0

:GUNS1_39992
goto @GUNS1_40091

:GUNS1_39999
if and
  74@ == 1
  71@ == 0
goto_if_false @GUNS1_40091
if and
  not Char.IsDead(100@)
  not Car.IsDead(103@)
  not Car.IsDead(102@)
goto_if_false @GUNS1_40077
Car.SwitchSiren(103@, True)
Task.CarMission(100@, 103@, 102@, CarMission.RamPlayerClose, 33.0, DrivingMode.PloughThrough)

:GUNS1_40077
74@ = 0
71@ = 1

:GUNS1_40091
if 
  69@ == 0
goto_if_false @GUNS1_40227
if 
  68@ == 1
goto_if_false @GUNS1_40148
Blip.Remove(107@)
Text.ClearPrints
264@ = 2
68@ = 0

:GUNS1_40148
106@ = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
69@ = 1
Text.ClearPrints
Text.Print('GUNS123', 5000, 1)
if 
  78@ == 1
goto_if_false @GUNS1_40227
264@ = 2
78@ = 0

:GUNS1_40227
goto @GUNS1_40633

:GUNS1_40234
272@ = 0
if 
  44@ == 1
goto_if_false @GUNS1_40332
if 
  11 > 43@
goto_if_false @GUNS1_40332
Text.Print('GUNS135', 4000, 1)
43@ -= 1
if 
  0 > 43@
goto_if_false @GUNS1_40325
43@ = 0

:GUNS1_40325
44@ = 0

:GUNS1_40332
if 
  68@ == 0
goto_if_false @GUNS1_40548
if 
  69@ == 1
goto_if_false @GUNS1_40380
Blip.Remove(106@)
69@ = 0

:GUNS1_40380
Text.ClearPrints
if 
  Char.LocateInCar2D($stattreadstamina_ctr, 2067.4, -1831.2, 15.0, 15.0, False)
goto_if_false @GUNS1_40448
wait 3000
Text.Print('GUNS124', 5000, 1)
goto @GUNS1_40464

:GUNS1_40448
Text.Print('GUNS124', 5000, 1)

:GUNS1_40464
if 
  78@ == 0
goto_if_false @GUNS1_40514
if 
  96@ == 1
goto_if_false @GUNS1_40507
264@ = 1

:GUNS1_40507
goto @GUNS1_40521

:GUNS1_40514
264@ = 3

:GUNS1_40521
107@ = Blip.AddForCoord(2742.0, -2008.0, 13.0)
68@ = 1

:GUNS1_40548
if and
  71@ == 1
  74@ == 0
goto_if_false @GUNS1_40633
if and
  not Char.IsDead(100@)
  not Car.IsDead(103@)
  not Car.IsDead(102@)
goto_if_false @GUNS1_40633
Car.SwitchSiren(103@, False)
Task.CarMission(100@, 103@, 102@, CarMission.Cruise, 20.0, DrivingMode.AvoidCars)
71@ = 0

:GUNS1_40633
goto @GUNS1_4925
return 

:GUNS1_40642
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:GUNS1_40660
set_lvar_int_to_lvar_int 50@ = 35@
50@ *= 50
Text.PrintWithNumberBig('M_PASSR', 3, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(3)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('RYDER_1')
$flag_cesar_mission_counter += 1
return 

:GUNS1_40737
$weapon_shop1_blip = 0
$cs1_race_is_go = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
CarGenerator.Switch($gen_car22, 101)
Hud.SetRadarZoom(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GUNS1_40790
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:GUNS1_40790
Game.SetPoliceIgnorePlayer($statbike_temp, False)
World.SwitchEntryExit('BURHOUS', True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Blip.Remove(108@)
Blip.Remove(105@)
Blip.Remove(104@)
Blip.Remove(109@)
Blip.Remove(106@)
Blip.Remove(107@)
Blip.Remove(110@)
Blip.Remove(111@)
Blip.Remove(112@)
Blip.Remove(113@)
Blip.Remove(114@)
Blip.Remove(115@)
Blip.Remove(116@)
Hud.ClearCounter($6709)
Hud.DisplayRadar(True)
Hud.Display(True)
Hud.ClearTimer($6708)
Streaming.MarkModelAsNoLongerNeeded(609)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(62)
Streaming.MarkModelAsNoLongerNeeded(280)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(#DB_AMMO)
Streaming.RemoveAnimation("CARRY")
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("POLICE")
Streaming.RemoveAnimation("INT_HOUSE")
Streaming.RemoveAnimation("ON_LOOKERS")
Streaming.RemoveAnimation("CAR_CHAT")
Char.RemoveElegantly(98@)
Char.MarkAsNoLongerNeeded(99@)
Char.MarkAsNoLongerNeeded(100@)
Char.MarkAsNoLongerNeeded(101@)
Car.MarkAsNoLongerNeeded(103@)
Car.MarkAsNoLongerNeeded(102@)
Object.MarkAsNoLongerNeeded(117@)
Object.MarkAsNoLongerNeeded(118@)
Object.MarkAsNoLongerNeeded(119@)
Object.MarkAsNoLongerNeeded(120@)
Object.MarkAsNoLongerNeeded(121@)
Object.MarkAsNoLongerNeeded(122@)
Object.MarkAsNoLongerNeeded(123@)
if 
  not Char.IsDead(99@)
goto_if_false @GUNS1_41099
Char.SetDecisionMaker(99@, 41@)
Char.SetRelationship(99@, RelationshipType.Hate, PedType.Player1)

:GUNS1_41099
Streaming.UnloadSpecialCharacter(1)
DecisionMaker.Remove(39@)
DecisionMaker.Remove(40@)
DecisionMaker.Remove(41@)
DecisionMaker.Remove(42@)
Path.SwitchPedRoadsBackToOriginal(2775.0, -1196.4, 20.0, 2840.0, -1141.0, 35.0)
Mission.Finish
return 

//-------------Mission 25---------------
// Originally: Catalyst

:RYDER3
script_name 'RYDER3'
gosub @RYDER3_47
if 
  has_deatharrest_been_executed 
goto_if_false @RYDER3_38
gosub @RYDER3_18057

:RYDER3_38
gosub @RYDER3_18237
terminate_this_script 

:RYDER3_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
Game.MakeRoomInPlayerGangForMissionPeds(1)
89@ = 0
$throw_power_bar = 0
95@ = 2
102@ = 0
Text.LoadMissionText('RYDER3')
72@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
105@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
World.SetCarDensityMultiplier(0.5)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:RYDER3_135
if 
  Camera.GetFadingStatus
goto_if_false @RYDER3_159
wait 0
goto @RYDER3_135

:RYDER3_159
Streaming.SetAreaVisible(2)
Cutscene.Load('RYDER3A')

:RYDER3_174
if 
  not Cutscene.HasLoaded
goto_if_false @RYDER3_198
wait 0
goto @RYDER3_174

:RYDER3_198
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:RYDER3_215
if 
  not Cutscene.HasFinished
goto_if_false @RYDER3_239
wait 0
goto @RYDER3_215

:RYDER3_239
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:RYDER3_253
if 
  Camera.GetFadingStatus
goto_if_false @RYDER3_277
wait 0
goto @RYDER3_253

:RYDER3_277
Cutscene.Clear
Text.ClearPrints
Hud.SwitchWidescreen(False)
Streaming.SetAreaVisible(0)
CarGenerator.Switch($gen_car10, 0)
Streaming.RequestModel(600)
Streaming.RequestModel(352)
Streaming.RequestModel(346)
Streaming.RequestModel(#CR_GUNCRATE)
Streaming.RequestModel(#CR_AMMOBOX)
Streaming.RequestModel(105)
Streaming.RequestAnimation("BOX")
Streaming.RequestAnimation("RYDER")
Streaming.RequestAnimation("SWAT")
Streaming.RequestModel(108)
Streaming.RequestModel(109)
Streaming.RequestModel(110)
Streaming.RequestModel(537)
Streaming.RequestModel(569)
Streaming.RequestModel(492)
Streaming.RequestModel(105)
Streaming.RequestModel(106)
Streaming.LoadSpecialCharacter(1, 'RYDER2')
Streaming.LoadAllModelsNow

:RYDER3_399
if or
  not Streaming.HasModelLoaded(600)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(#CR_GUNCRATE)
  not Streaming.HasModelLoaded(#CR_AMMOBOX)
goto_if_false @RYDER3_446
wait 0
goto @RYDER3_399

:RYDER3_446
if or
  not Streaming.HasModelLoaded(105)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasAnimationLoaded("BOX")
  not Streaming.HasAnimationLoaded("RYDER")
goto_if_false @RYDER3_492
wait 0
goto @RYDER3_446

:RYDER3_492
if or
  not Streaming.HasModelLoaded(108)
  not Streaming.HasModelLoaded(109)
  not Streaming.HasModelLoaded(110)
  not Streaming.HasModelLoaded(537)
  not Streaming.HasModelLoaded(569)
goto_if_false @RYDER3_536
wait 0
goto @RYDER3_492

:RYDER3_536
if or
  not Streaming.HasModelLoaded(492)
  not Streaming.HasModelLoaded(105)
  not Streaming.HasModelLoaded(106)
  not Streaming.HasAnimationLoaded("SWAT")
goto_if_false @RYDER3_579
wait 0
goto @RYDER3_536

:RYDER3_579
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_2059
gosub @RYDER3_18935
Player.SetControl($statbike_temp, False)
51@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_R", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 2000)
Task.StayInSamePlace(-1, False)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_OUT_R", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(51@, True)
Sequence.Close(51@)
52@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_L", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 2000)
Task.StayInSamePlace(-1, False)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_OUT_L", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(52@, True)
Sequence.Close(52@)
76@ = Sequence.Open()
Task.PlayAnim(-1, "COWER", "PED", 4.0, False, False, False, True, -1)
Task.Pause(-1, 2000)
Sequence.Close(76@)
75@ = Sequence.Open()
Task.PlayAnim(-1, "RYD_BECKON_01", "RYDER", 1.0, False, False, False, False, -1)
Task.Pause(-1, 20000)
Sequence.SetToRepeat(75@, True)
Sequence.Close(75@)
40@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.GoToCoordAnyMeans(-1, 2290.584, -1142.411, 25.7144, 6, -1)
Task.GoToCoordAnyMeans(-1, 2288.539, -1133.753, 25.7076, 6, -1)
Task.AchieveHeading(-1, 253.83)
Task.StayInSamePlace(-1, True)
Sequence.Close(40@)
66@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 2289.092, -1117.049, 25.9062, 6, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(66@)
67@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 2285.11, -1117.117, 25.9062, 6, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(67@)
World.ClearArea(2477.135, -1683.116, 12.3782, 10.0, True)
World.ClearArea(2469.224, -1672.496, 12.484, 10.0, True)
World.ClearArea(2472.783, -1685.696, 12.5153, 0.5, False)
Streaming.LoadScene(2472.783, -1685.696, 12.5153)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_1446
Char.SetCoordinates($stattreadstamina_ctr, 2472.783, -1685.696, 12.5153)
Char.SetHeading($stattreadstamina_ctr, 336.6331)
Camera.SetBehindPlayer

:RYDER3_1446
Car.SetModelComponents(600, 4, 4)
Car.CustomPlateForNextCar(600, "_SHERM__")
108@ = Car.Create(600, 2476.035, -1678.379, 12.3457)
Car.SetCanBurstTires(108@, False)
Car.SetHeading(108@, 43.9007)
Car.SetHealth(108@, 2000)
99@ = Blip.AddForCar(108@)
Blip.SetAsFriendly(99@, True)
Car.SetOnlyDamagedByPlayer(108@, True)
Car.ChangeColor(108@, 84, 84)
Car.SetCruiseSpeed(108@, 5.0)
Blip.ChangeDisplay(99@, BlipDisplay.Neither)
Car.SetStraightLineDistance(108@, 250)
$sweet_car = Char.CreateAsPassenger(108@, PedType.Mission1, 290, 0)
Char.SetGetOutUpsideDownCar($sweet_car, False)
Streaming.UnloadSpecialCharacter(1)
Char.SetHeading($sweet_car, 121.9883)
Task.StayInSamePlace($sweet_car, True)
Char.SetHealth($sweet_car, 800)
Char.SetMaxHealth($sweet_car, 800)
Char.SetSuffersCriticalHits($sweet_car, False)
Char.SetNeverTargeted($sweet_car, True)
Char.GiveWeapon($sweet_car, WeaponType.MicroUzi, 9999)
Char.SetCantBeDraggedOut($sweet_car, True)
Char.SetAnimGroup($sweet_car, "GANG1")
Char.SetRelationship($sweet_car, RelationshipType.Like, PedType.Player1)
Char.SetDecisionMaker($sweet_car, 72@)
Game.SetRelationship(RelationshipType.Like, PedType.Mission1, PedType.Mission1)
Game.SetRelationship(RelationshipType.Like, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Like, PedType.Mission2, PedType.Mission2)
109@ = 0

:RYDER3_1724
if 
  10 > 109@
goto_if_false @RYDER3_1767
110@(109@,10i) = -1
109@ += 1
goto @RYDER3_1724

:RYDER3_1767
109@ = 0
$ry2_view_debug = 0
$6876 = 10
122@ = 0
123@ = -1
124@ = 5
if 
  $weapon_shop1_blip == 0
goto_if_false @RYDER3_1848
110@(109@,10i) = Object.CreateNoOffset(#GUNBOX, $on_footY, $on_footZ, $in_carX)

:RYDER3_1848
89@ = 0
Path.SwitchRoadsOff(2284.0, -1151.0, 10.0, 2288.0, -1147.0, 30.0)
Path.SwitchRoadsOff(2287.321, -1132.571, 10.0, 2360.839, -1177.134, 40.0)
Path.SwitchRoadsOff(2311.676, -1375.397, 10.0, 2292.365, -1303.102, 40.0)
Path.SwitchRoadsOff(2268.695, -1138.541, 10.0, 2282.362, -1159.604, 40.0)
Path.SwitchRoadsOff(2307.537, -1162.624, 10.0, 2266.351, -1136.99, 40.0)
Game.SwitchRandomTrains(False)
Game.SetCreateRandomGangMembers(False)
125@ = 0
126@ = 0
127@ = -153
TIMERA = 0
Game.SetWantedMultiplier(0.0)

:RYDER3_2059
128@ = Object.CreateNoOffset(#TMP_BIN, 2295.391, -1129.812, 26.4)
Object.SetHeading(128@, 187.2863)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_2119
Task.EnterCarAsDriver($stattreadstamina_ctr, 108@, 5000)

:RYDER3_2119
Camera.SetFixedPosition(2473.642, -1674.005, 13.6679, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2473.833, -1674.969, 13.4843, SwitchType.JumpCut)
gosub @RYDER3_19028
Text.PrintNow('RYD3_Z', 6000, 1)
TIMERB = 0

:RYDER3_2200
if 
  4000 > TIMERB
goto_if_false @RYDER3_2247
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @RYDER3_2240

:RYDER3_2240
goto @RYDER3_2200

:RYDER3_2247
gosub @RYDER3_18963

:RYDER3_2254
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_18050
wait 0
gosub @RYDER3_19061
gosub @RYDER3_20131
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @RYDER3_2310
goto @RYDER3_18136

:RYDER3_2310
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2290.65, -1148.723, 25.7508, 275.0, 275.0, 200.0, False)
goto_if_false @RYDER3_2372
World.SetCarDensityMultiplier(0.0)
goto @RYDER3_2397

:RYDER3_2372
if 
  10 > 89@
goto_if_false @RYDER3_2397
World.SetCarDensityMultiplier(1.0)

:RYDER3_2397
if 
  102@ == 0
goto_if_false @RYDER3_3444
if and
  Streaming.HasModelLoaded(537)
  Streaming.HasModelLoaded(569)
goto_if_false @RYDER3_3444
129@ = Train.Create(10, 2278.177, -1144.882, 27.5107, True)
Car.LockDoors(129@, CarLock.Locked)
Train.SetSpeed(129@, 0.0)
Train.SetCruiseSpeed(129@, 0.0)
Car.FreezePosition(129@, True)
163@ = Train.GetCaboose(129@)
74@ = Object.Create(#AMMOTRN_OBJ, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(74@, 163@, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
91@ = Object.Create(#CR_GUNCRATE, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(91@, 163@, 0.5, -5.5, -0.8, 0.0, 0.0, 145.0)
92@ = Object.Create(#CR_GUNCRATE, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(92@, 163@, 0.5, 6.0, -0.8, 0.0, 0.0, 60.0)
93@ = Object.Create(#CR_GUNCRATE, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(93@, 163@, -0.5, 8.0, -0.8, 0.0, 0.0, 130.0)
61@ = Object.Create(#CR_GUNCRATE, 2287.744, -1131.75, 25.7431)
Object.SetHeading(61@, 85.7739)
62@ = Object.Create(#CR_GUNCRATE, 2287.358, -1131.091, 25.7449)
Object.SetHeading(62@, 209.4727)
63@ = Object.Create(#CR_GUNCRATE, 2287.665, -1127.056, 25.8118)
Object.SetHeading(63@, 97.4572)
64@ = Object.Create(#CR_GUNCRATE, 2287.431, -1125.586, 25.8256)
Object.SetHeading(64@, 176.9109)
102@ = 1
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Mission1)
142@ = Char.Create(PedType.CivMale, 106, 2291.969, -1131.63, 25.7468)
Char.SetHeading(142@, 188.6236)
Task.PlayAnimNonInterruptable(142@, "KO_SHOT_FRONT", "PED", 2.0, False, False, False, True, -1)
Char.SetCollision(142@, False)
Char.SetNeverTargeted(142@, True)
Char.SetDecisionMaker(142@, 105@)
143@ = Char.Create(PedType.CivMale, 108, 2290.66, -1146.023, 25.7507)
Char.SetHeading(143@, 180.7254)
Task.PlayAnimNonInterruptable(143@, "KO_SHOT_FRONT", "PED", 2.0, False, False, False, True, -1)
Char.SetCollision(143@, False)
Char.SetNeverTargeted(143@, True)
Char.SetDecisionMaker(143@, 105@)
130@ = Char.Create(PedType.Mission2, 108, 2295.683, -1128.682, 25.8647)
Char.SetHeading(130@, 175.3117)
Task.StayInSamePlace(130@, True)
Char.SetIsTargetPriority(130@, True)
131@ = Char.Create(PedType.Mission2, 109, 2289.14, -1131.133, 25.7539)
Char.SetHeading(131@, 190.007)
Task.StayInSamePlace(131@, True)
Char.SetIsTargetPriority(131@, True)
132@ = Char.Create(PedType.Mission2, 109, 2293.741, -1130.343, 25.8004)
Char.SetHeading(132@, 178.0093)
Task.ToggleDuck(132@, True)
Task.StayInSamePlace(132@, True)
Char.SetIsTargetPriority(132@, True)
133@ = Char.Create(PedType.Mission2, 110, 2285.522, -1135.369, 28.0)
Char.SetHeading(133@, 202.6963)
Char.SetOnlyDamagedByPlayer(133@, True)
Task.StayInSamePlace(133@, True)
Char.SetIsTargetPriority(133@, True)
144@ = Char.Create(PedType.Mission1, 105, 2296.282, -1158.184, 25.6529)
Char.SetHeading(144@, 9.002)
Task.ToggleDuck(144@, True)
Task.StayInSamePlace(144@, True)
145@ = Char.Create(PedType.Mission1, 106, 2287.524, -1150.041, 25.7574)
Char.SetHeading(145@, 347.622)
Task.StayInSamePlace(145@, True)
Task.ToggleDuck(145@, True)
146@ = Char.Create(PedType.Mission1, 105, 2301.257, -1157.372, 25.597)
Char.SetHeading(146@, 9.002)
Task.StayInSamePlace(146@, True)

:RYDER3_3444
if and
  not Car.IsDead(108@)
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_3561
if and
  Char.IsInCar($stattreadstamina_ctr, 108@)
  89@ == 0
goto_if_false @RYDER3_3561
TIMERB = 0
Audio.SetRadioChannel(RadioChannel.RadioLosSantos)
Game.SwitchRandomTrains(False)
122@ = 4
89@ += 1
Blip.ChangeDisplay(99@, BlipDisplay.Neither)
34@ = Blip.AddForCoord(2278.177, -1144.882, 27.5107)
Blip.SetCoordAppearance(34@, 0)
101@ = 1

:RYDER3_3561
if or
  89@ == 1
  89@ == 2
goto_if_false @RYDER3_4014
if and
  not Car.IsDead(108@)
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_4014
if 
  Char.IsInCar($stattreadstamina_ctr, 108@)
goto_if_false @RYDER3_3688
if 
  101@ <> 1
goto_if_false @RYDER3_3681
Blip.ChangeDisplay(99@, BlipDisplay.Neither)
Blip.ChangeDisplay(34@, BlipDisplay.Both)
Text.PrintNow('RYD3_Z', 6000, 1)
101@ = 1

:RYDER3_3681
goto @RYDER3_4014

:RYDER3_3688
if 
  101@ == 1
goto_if_false @RYDER3_3959
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_3729
Char.ShutUpForScriptedSpeech($sweet_car, False)

:RYDER3_3729
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_3752
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:RYDER3_3752
Blip.ChangeDisplay(34@, BlipDisplay.Neither)
Blip.ChangeDisplay(99@, BlipDisplay.Both)
$throw_power_bar = Math.RandomIntInRange(0, 3)
switch_start $throw_power_bar {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @RYDER3_3952 {caseNum1} 0 {caseLabel1} @RYDER3_3838 {caseNum2} 1 {caseLabel2} @RYDER3_3876 {caseNum3} 2 {caseLabel3} @RYDER3_3914 {caseNum4} -1 {caseLabel4} @RYDER3_3952 {caseNum5} -1 {caseLabel5} @RYDER3_3952 {caseNum6} -1 {caseLabel6} @RYDER3_3952 {caseNum7} -1 {caseLabel7} @RYDER3_3952

:RYDER3_3838
set_lvar_text_label 106@s = 'RYD3_NA'
set_lvar_int_to_constant 96@ = 34062
gosub @RYDER3_20111
goto @RYDER3_3952

:RYDER3_3876
set_lvar_text_label 106@s = 'RYD3_NB'
set_lvar_int_to_constant 96@ = 34063
gosub @RYDER3_20111
goto @RYDER3_3952

:RYDER3_3914
set_lvar_text_label 106@s = 'RYD3_NC'
set_lvar_int_to_constant 96@ = 34064
gosub @RYDER3_20111
goto @RYDER3_3952

:RYDER3_3952
101@ = 2

:RYDER3_3959
if and
  95@ == 2
  101@ == 2
goto_if_false @RYDER3_4007
Text.PrintNow('RYD3_Q', 4000, 1)
101@ = 0

:RYDER3_4007
87@ = 1

:RYDER3_4014
if 
  89@ == 1
goto_if_false @RYDER3_5344
if 
  87@ == 0
goto_if_false @RYDER3_4772
if and
  95@ == 2
  85@ == 0
goto_if_false @RYDER3_4159
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_4098
Char.ShutUpForScriptedSpeech($sweet_car, True)

:RYDER3_4098
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_4121
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:RYDER3_4121
set_lvar_text_label 106@s = 'RYD3_AD'
set_lvar_int_to_constant 96@ = 34003
gosub @RYDER3_20111
85@ = 1

:RYDER3_4159
if and
  95@ == 2
  85@ == 1
goto_if_false @RYDER3_4222
set_lvar_text_label 106@s = 'RYD3_AE'
set_lvar_int_to_constant 96@ = 34004
gosub @RYDER3_20111
85@ = 2

:RYDER3_4222
if and
  95@ == 2
  85@ == 2
goto_if_false @RYDER3_4285
set_lvar_text_label 106@s = 'RYD3_BA'
set_lvar_int_to_constant 96@ = 34005
gosub @RYDER3_20111
85@ = 3

:RYDER3_4285
if and
  95@ == 2
  85@ == 3
goto_if_false @RYDER3_4348
set_lvar_text_label 106@s = 'RYD3_BB'
set_lvar_int_to_constant 96@ = 34006
gosub @RYDER3_20111
85@ = 4

:RYDER3_4348
if and
  95@ == 2
  85@ == 4
goto_if_false @RYDER3_4411
set_lvar_text_label 106@s = 'RYD3_BC'
set_lvar_int_to_constant 96@ = 34007
gosub @RYDER3_20111
85@ = 5

:RYDER3_4411
if and
  95@ == 2
  85@ == 5
goto_if_false @RYDER3_4474
set_lvar_text_label 106@s = 'RYD3_BD'
set_lvar_int_to_constant 96@ = 34008
gosub @RYDER3_20111
85@ = 6

:RYDER3_4474
if and
  95@ == 2
  85@ == 6
goto_if_false @RYDER3_4537
set_lvar_text_label 106@s = 'RYD3_BE'
set_lvar_int_to_constant 96@ = 34009
gosub @RYDER3_20111
85@ = 7

:RYDER3_4537
if and
  95@ == 2
  85@ == 7
goto_if_false @RYDER3_4600
set_lvar_text_label 106@s = 'RYD3_BG'
set_lvar_int_to_constant 96@ = 34011
gosub @RYDER3_20111
85@ = 8

:RYDER3_4600
if and
  95@ == 2
  85@ == 8
goto_if_false @RYDER3_4663
set_lvar_text_label 106@s = 'RYD3_BH'
set_lvar_int_to_constant 96@ = 34012
gosub @RYDER3_20111
85@ = 9

:RYDER3_4663
if and
  95@ == 2
  85@ == 9
goto_if_false @RYDER3_4772
set_lvar_text_label 106@s = 'RYD3_BJ'
set_lvar_int_to_constant 96@ = 34013
gosub @RYDER3_20111
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_4742
Char.ShutUp($sweet_car, False)

:RYDER3_4742
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_4765
Char.ShutUp($stattreadstamina_ctr, False)

:RYDER3_4765
85@ = 10

:RYDER3_4772
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2290.65, -1148.723, 25.7508, 200.0, 200.0, 200.0, False)
  102@ == 1
goto_if_false @RYDER3_5275
36@ = 0

:RYDER3_4834
if 
  not Char.IsDead(130@(36@,6i))
goto_if_false @RYDER3_4997
Task.StayInSamePlace(130@(36@,6i), True)
136@(36@,6i) = Blip.AddForChar(130@(36@,6i))
if or
  36@ == 3
  36@ == 0
goto_if_false @RYDER3_4938
Char.SetWeaponSkill(130@(36@,6i), 2)
Char.GiveWeapon(130@(36@,6i), WeaponType.Pistol, 9999)
goto @RYDER3_4963

:RYDER3_4938
Char.GiveWeapon(130@(36@,6i), WeaponType.MicroUzi, 9999)
Char.SetCurrentWeapon(130@(36@,6i), WeaponType.MicroUzi)

:RYDER3_4963
Char.SetShootRate(130@(36@,6i), 50)
Char.SetAccuracy(130@(36@,6i), 50)
Char.SetDecisionMaker(130@(36@,6i), 72@)

:RYDER3_4997
36@ += 1
  36@ >= 4
goto_if_false @RYDER3_4834
36@ = 0

:RYDER3_5025
if 
  not Char.IsDead(144@(36@,4i))
goto_if_false @RYDER3_5247
Char.SetNeverTargeted(144@(36@,4i), True)
Task.StayInSamePlace(144@(36@,4i), True)
if 
  36@ == 1
goto_if_false @RYDER3_5116
Char.SetHealth(144@(36@,4i), 200)
Char.SetMaxHealth(144@(36@,4i), 200)
goto @RYDER3_5138

:RYDER3_5116
Char.SetHealth(144@(36@,4i), 50)
Char.SetMaxHealth(144@(36@,4i), 50)

:RYDER3_5138
if 
  36@ == 1
goto_if_false @RYDER3_5188
Char.SetWeaponSkill(144@(36@,4i), 2)
Char.GiveWeapon(144@(36@,4i), WeaponType.Pistol, 9999)
goto @RYDER3_5213

:RYDER3_5188
Char.GiveWeapon(144@(36@,4i), WeaponType.MicroUzi, 9999)
Char.SetCurrentWeapon(144@(36@,4i), WeaponType.MicroUzi)

:RYDER3_5213
Char.SetShootRate(144@(36@,4i), 70)
Char.SetAccuracy(144@(36@,4i), 70)
Char.SetDecisionMaker(144@(36@,4i), 72@)

:RYDER3_5247
36@ += 1
  36@ >= 3
goto_if_false @RYDER3_5025
102@ = 2

:RYDER3_5275
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2290.65, -1148.723, 25.7508, 100.0, 100.0, 200.0, False)
goto_if_false @RYDER3_5344
89@ += 1
TIMERB = 0
85@ = 0

:RYDER3_5344
if 
  89@ == 2
goto_if_false @RYDER3_6821
36@ = 0

:RYDER3_5369
if and
  Char.IsDead(130@(36@,6i))
  130@(36@,6i) <> 0
goto_if_false @RYDER3_5449
if 
  Blip.DoesExist(136@(36@,6i))
goto_if_false @RYDER3_5449
Blip.Remove(136@(36@,6i))
136@(36@,6i) = 0
Char.MarkAsNoLongerNeeded(130@(36@,6i))

:RYDER3_5449
36@ += 1
  36@ >= 4
goto_if_false @RYDER3_5369
if and
  not Car.IsDead(108@)
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_5524
if 
  Char.IsInCar($stattreadstamina_ctr, 108@)
goto_if_false @RYDER3_5517
goto @RYDER3_5524

:RYDER3_5517
88@ = 1

:RYDER3_5524
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2290.65, -1148.723, 25.7508, 100.0, 100.0, 100.0, False)
  86@ == 0
goto_if_false @RYDER3_6120
if 
  not Char.IsDead(145@)
goto_if_false @RYDER3_5756
149@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.ToggleDuck(-1, True)
Task.GoStraightToCoord(-1, 2291.724, -1138.648, 25.6745, MoveState.Run, -2)
Task.StayInSamePlace(-1, True)
if 
  not Char.IsDead(130@)
goto_if_false @RYDER3_5664
Task.KillCharOnFoot(-1, 130@)

:RYDER3_5664
if 
  not Char.IsDead(131@)
goto_if_false @RYDER3_5687
Task.KillCharOnFoot(-1, 131@)

:RYDER3_5687
if 
  not Char.IsDead(132@)
goto_if_false @RYDER3_5710
Task.KillCharOnFoot(-1, 132@)

:RYDER3_5710
if 
  not Char.IsDead(133@)
goto_if_false @RYDER3_5733
Task.KillCharOnFoot(-1, 133@)

:RYDER3_5733
Sequence.Close(149@)
Char.ClearTasksImmediately(145@)
Char.PerformSequence(145@, 149@)
Sequence.Clear(149@)

:RYDER3_5756
if 
  not Char.IsDead(144@)
goto_if_false @RYDER3_5933
149@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.ToggleDuck(-1, True)
Task.GoStraightToCoord(-1, 2297.533, -1137.578, 25.8778, MoveState.Run, -2)
Task.StayInSamePlace(-1, True)
if 
  not Char.IsDead(130@)
goto_if_false @RYDER3_5841
Task.KillCharOnFoot(-1, 130@)

:RYDER3_5841
if 
  not Char.IsDead(131@)
goto_if_false @RYDER3_5864
Task.KillCharOnFoot(-1, 131@)

:RYDER3_5864
if 
  not Char.IsDead(132@)
goto_if_false @RYDER3_5887
Task.KillCharOnFoot(-1, 132@)

:RYDER3_5887
if 
  not Char.IsDead(133@)
goto_if_false @RYDER3_5910
Task.KillCharOnFoot(-1, 133@)

:RYDER3_5910
Sequence.Close(149@)
Char.ClearTasksImmediately(144@)
Char.PerformSequence(144@, 149@)
Sequence.Clear(149@)

:RYDER3_5933
if 
  not Char.IsDead(146@)
goto_if_false @RYDER3_6106
149@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.ToggleDuck(-1, True)
Task.GoStraightToCoord(-1, 2290.118, -1141.78, 25.7024, MoveState.Run, -2)
Path.FlushRoute
if 
  not Char.IsDead(130@)
goto_if_false @RYDER3_6014
Task.KillCharOnFoot(-1, 130@)

:RYDER3_6014
if 
  not Char.IsDead(131@)
goto_if_false @RYDER3_6037
Task.KillCharOnFoot(-1, 131@)

:RYDER3_6037
if 
  not Char.IsDead(132@)
goto_if_false @RYDER3_6060
Task.KillCharOnFoot(-1, 132@)

:RYDER3_6060
if 
  not Char.IsDead(133@)
goto_if_false @RYDER3_6083
Task.KillCharOnFoot(-1, 133@)

:RYDER3_6083
Sequence.Close(149@)
Char.ClearTasksImmediately(146@)
Char.PerformSequence(146@, 149@)
Sequence.Clear(149@)

:RYDER3_6106
86@ = 1
TIMERB = 0

:RYDER3_6120
if and
  88@ == 0
  86@ == 1
goto_if_false @RYDER3_6271
if and
  95@ == 2
  85@ == 0
goto_if_false @RYDER3_6208
set_lvar_text_label 106@s = 'RYD3_CA'
set_lvar_int_to_constant 96@ = 34014
gosub @RYDER3_20111
85@ = 1

:RYDER3_6208
if and
  95@ == 2
  85@ == 1
goto_if_false @RYDER3_6271
set_lvar_text_label 106@s = 'RYD3_CB'
set_lvar_int_to_constant 96@ = 34015
gosub @RYDER3_20111
85@ = 2

:RYDER3_6271
if and
  not Car.IsDead(108@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_6436
if 
  not Char.IsInCar($stattreadstamina_ctr, 108@)
goto_if_false @RYDER3_6379
Text.PrintNow('RYD3_Q', 5000, 1)
if 
  39@ == 0
goto_if_false @RYDER3_6372
Blip.Remove(34@)
34@ = Blip.AddForCar(108@)
Blip.SetAsFriendly(34@, True)
39@ = 1

:RYDER3_6372
goto @RYDER3_6436

:RYDER3_6379
if 
  39@ == 1
goto_if_false @RYDER3_6436
Blip.Remove(34@)
34@ = Blip.AddForCoord(2278.177, -1144.882, 27.5107)
Blip.SetCoordAppearance(34@, 0)
39@ = 0

:RYDER3_6436
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(108@)
goto_if_false @RYDER3_6821
if 
  Car.LocateStopped3D(108@, 2289.591, -1135.625, 25.6863, 40.0, 40.0, 40.0, False)
goto_if_false @RYDER3_6821
Blip.Remove(34@)
if 
  Blip.DoesExist(99@)
goto_if_false @RYDER3_6533
Blip.ChangeDisplay(99@, BlipDisplay.Neither)

:RYDER3_6533
if or
  not Char.IsDead(130@)
  not Char.IsDead(131@)
  not Char.IsDead(132@)
  not Char.IsDead(133@)
goto_if_false @RYDER3_6595
set_lvar_text_label 106@s = 'RYD3_CC'
set_lvar_int_to_constant 96@ = 34016
gosub @RYDER3_20111

:RYDER3_6595
TIMERA = 0
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_6814
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_6814
if 
  Char.IsInCar($sweet_car, 108@)
goto_if_false @RYDER3_6814
148@ = Sequence.Open()
Task.LeaveCar(-1, 108@)
Task.ToggleDuck(-1, True)
Task.GoToCoordAnyMeans(-1, 2295.104, -1148.029, 25.7612, 6, -1)
Task.TogglePedThreatScanner(-1, True, True, True)
if 
  not Char.IsDead(130@)
goto_if_false @RYDER3_6727
Task.KillCharOnFoot(-1, 130@)

:RYDER3_6727
if 
  not Char.IsDead(131@)
goto_if_false @RYDER3_6750
Task.KillCharOnFoot(-1, 131@)

:RYDER3_6750
if 
  not Char.IsDead(132@)
goto_if_false @RYDER3_6773
Task.KillCharOnFoot(-1, 132@)

:RYDER3_6773
if 
  not Char.IsDead(133@)
goto_if_false @RYDER3_6796
Task.KillCharOnFoot(-1, 133@)

:RYDER3_6796
Sequence.Close(148@)
Char.ClearTasks($sweet_car)
Char.PerformSequence($sweet_car, 148@)

:RYDER3_6814
89@ += 1

:RYDER3_6821
if and
  89@ == 3
  TIMERA > 4000
goto_if_false @RYDER3_6924
if 
  not Char.IsDead(131@)
goto_if_false @RYDER3_6870
Task.StayInSamePlace(131@, False)

:RYDER3_6870
if or
  not Char.IsDead(130@)
  not Char.IsDead(131@)
  not Char.IsDead(132@)
  not Char.IsDead(133@)
goto_if_false @RYDER3_6917
Text.PrintNow('RYD3_M', 5000, 1)

:RYDER3_6917
89@ += 1

:RYDER3_6924
if 
  89@ == 4
goto_if_false @RYDER3_7170
36@ = 0

:RYDER3_6949
if and
  Char.IsDead(130@(36@,6i))
  130@(36@,6i) <> 0
goto_if_false @RYDER3_7029
if 
  Blip.DoesExist(136@(36@,6i))
goto_if_false @RYDER3_7029
Blip.Remove(136@(36@,6i))
136@(36@,6i) = 0
Char.MarkAsNoLongerNeeded(130@(36@,6i))

:RYDER3_7029
36@ += 1
  36@ >= 4
goto_if_false @RYDER3_6949
if and
  Char.IsDead(130@)
  Char.IsDead(131@)
  Char.IsDead(132@)
  Char.IsDead(133@)
goto_if_false @RYDER3_7113
if 
  84@ == 0
goto_if_false @RYDER3_7113
TIMERA = 0
84@ = 1

:RYDER3_7113
if and
  84@ == 1
  TIMERA > 2000
goto_if_false @RYDER3_7170
89@ += 1
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_7170
Char.PerformSequence($sweet_car, 40@)

:RYDER3_7170
if 
  89@ == 5
goto_if_false @RYDER3_7202
TIMERA = 0
89@ += 1

:RYDER3_7202
if 
  89@ == 6
goto_if_false @RYDER3_8266
gosub @RYDER3_18995
Streaming.RequestModel(492)
Streaming.RequestModel(352)
Streaming.RequestModel(102)
Streaming.RequestModel(104)
Streaming.RequestModel(346)

:RYDER3_7250
if or
  not Streaming.HasModelLoaded(492)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(102)
  not Streaming.HasModelLoaded(104)
  not Streaming.HasModelLoaded(346)
goto_if_false @RYDER3_7295
wait 0
goto @RYDER3_7250

:RYDER3_7295
150@ = Car.Create(492, 2340.055, -1151.432, 25.9546)
Car.SetHeading(150@, 92.6857)
Car.GotoCoordinates(150@, 2313.414, -1150.093, 25.7997)
Car.SetDrivingStyle(150@, DrivingMode.PloughThrough)
Car.SetCruiseSpeed(150@, 25.0)
151@ = Char.CreateInsideCar(150@, PedType.Mission2, 102)
Char.SetHeading(151@, 227.7265)
152@ = Char.CreateAsPassenger(150@, PedType.Mission2, 104, 0)
Char.SetHeading(152@, 301.1901)
153@ = Char.CreateAsPassenger(150@, PedType.Mission2, 102, 1)
Char.SetHeading(153@, 82.8733)
Char.SetOnlyDamagedByPlayer(153@, True)
154@ = Char.CreateAsPassenger(150@, PedType.Mission2, 104, 2)
Char.SetHeading(154@, 82.8733)
Char.SetOnlyDamagedByPlayer(154@, True)
36@ = 0

:RYDER3_7480
155@(36@,4i) = Blip.AddForChar(151@(36@,4i))
if 
  36@ == 3
goto_if_false @RYDER3_7546
Char.SetWeaponSkill(151@(36@,4i), 2)
Char.GiveWeapon(151@(36@,4i), WeaponType.Pistol, 9999)
goto @RYDER3_7571

:RYDER3_7546
Char.GiveWeapon(151@(36@,4i), WeaponType.MicroUzi, 9999)
Char.SetCurrentWeapon(151@(36@,4i), WeaponType.MicroUzi)

:RYDER3_7571
Char.SetHealth(151@(36@,4i), 200)
Char.SetMaxHealth(151@(36@,4i), 200)
Char.SetShootRate(151@(36@,4i), 40)
Char.SetAccuracy(151@(36@,4i), 40)
Char.SetDecisionMaker(151@(36@,4i), 72@)
Char.SetIsTargetPriority(151@(36@,4i), True)
36@ += 1
  36@ >= 4
goto_if_false @RYDER3_7480
gosub @RYDER3_18935
Streaming.LoadSceneInDirection(2287.296, -1140.38, 25.6779, 252.6459)
Camera.SetFixedPosition(2283.145, -1135.652, 28.6919, 0.0, 0.0, 0.0)
if 
  not Car.IsDead(150@)
goto_if_false @RYDER3_7747
Camera.PointAtCar(150@, CameraMode.Fixed, SwitchType.JumpCut)

:RYDER3_7747
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_7799
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @RYDER3_7799
Task.TurnCharToFaceCoord($stattreadstamina_ctr, 2313.414, -1150.093, 25.7997)

:RYDER3_7799
36@ = 0

:RYDER3_7806
if 
  not Char.IsDead(144@(36@,4i))
goto_if_false @RYDER3_7881
if 
  not Char.IsInAnyCar(144@(36@,4i))
goto_if_false @RYDER3_7881
Task.TurnCharToFaceCoord(144@(36@,4i), 2313.414, -1150.093, 25.7997)
Task.StayInSamePlace(144@(36@,4i), True)

:RYDER3_7881
36@ += 1
  36@ >= 3
goto_if_false @RYDER3_7806
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_8102
159@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.GoStraightToCoord(-1, 2295.693, -1142.469, 25.8392, MoveState.Run, -2)
Task.TurnCharToFaceCoord(-1, 2313.414, -1150.093, 25.7997)
if 
  not Char.IsDead(151@)
goto_if_false @RYDER3_7994
Task.KillCharOnFoot(-1, 151@)

:RYDER3_7994
if 
  not Char.IsDead(152@)
goto_if_false @RYDER3_8017
Task.KillCharOnFoot(-1, 152@)

:RYDER3_8017
if 
  not Char.IsDead(153@)
goto_if_false @RYDER3_8040
Task.KillCharOnFoot(-1, 153@)

:RYDER3_8040
if 
  not Char.IsDead(154@)
goto_if_false @RYDER3_8063
Task.KillCharOnFoot(-1, 154@)

:RYDER3_8063
Sequence.Close(159@)
if 
  not Char.IsInAnyCar($sweet_car)
goto_if_false @RYDER3_8097
Char.ClearTasksImmediately($sweet_car)
Char.PerformSequence($sweet_car, 159@)

:RYDER3_8097
Sequence.Clear(159@)

:RYDER3_8102
gosub @RYDER3_19028
Text.PrintNow('RYD3_2', 3000, 1)
wait 1000
TIMERB = 0

:RYDER3_8137
if 
  3000 > TIMERB
goto_if_false @RYDER3_8191
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @RYDER3_8184
goto @RYDER3_8191

:RYDER3_8184
goto @RYDER3_8137

:RYDER3_8191
gosub @RYDER3_18963
Text.PrintNow('RYD3_DA', 3000, 1)
set_lvar_text_label 106@s = 'RYD3_DA'
set_lvar_int_to_constant 96@ = 34018
gosub @RYDER3_20111
85@ = 0
TIMERB = 0
89@ += 1

:RYDER3_8266
if 
  89@ == 7
goto_if_false @RYDER3_8350
if 
  not Car.IsDead(150@)
goto_if_false @RYDER3_8350
if 
  Car.LocateStopped2D(150@, 2304.182, -1142.619, 15.0, 15.0, False)
goto_if_false @RYDER3_8350
Car.TaskEveryoneLeave(150@)
89@ += 1

:RYDER3_8350
if 
  89@ == 8
goto_if_false @RYDER3_9092
36@ = 0

:RYDER3_8375
if and
  Char.IsDead(151@(36@,4i))
  151@(36@,4i) <> 0
goto_if_false @RYDER3_8455
if 
  Blip.DoesExist(155@(36@,4i))
goto_if_false @RYDER3_8455
Blip.Remove(155@(36@,4i))
155@(36@,4i) = 0
Char.MarkAsNoLongerNeeded(151@(36@,4i))

:RYDER3_8455
36@ += 1
  36@ >= 4
goto_if_false @RYDER3_8375
if and
  TIMERB > 3000
  85@ == 0
goto_if_false @RYDER3_8700
set_lvar_text_label 106@s = 'RYD3_DB'
set_lvar_int_to_constant 96@ = 34019
gosub @RYDER3_20111
if 
  not Char.IsDead(151@)
goto_if_false @RYDER3_8573
Task.GoToCoordAnyMeans(151@, 2299.284, -1133.929, 27.3281, 6, -1)

:RYDER3_8573
if 
  not Char.IsDead(152@)
goto_if_false @RYDER3_8613
Task.GoToCoordAnyMeans(152@, 2291.226, -1140.169, 25.6912, 6, -1)

:RYDER3_8613
if 
  not Char.IsDead(153@)
goto_if_false @RYDER3_8653
Task.GoToCoordAnyMeans(153@, 2298.09, -1144.036, 25.919, 6, -1)

:RYDER3_8653
if 
  not Char.IsDead(154@)
goto_if_false @RYDER3_8693
Task.GoToCoordAnyMeans(154@, 2291.842, -1129.22, 25.7756, 6, -1)

:RYDER3_8693
85@ = 1

:RYDER3_8700
if and
  95@ == 2
  85@ == 1
goto_if_false @RYDER3_8763
set_lvar_text_label 106@s = 'RYD3_DC'
set_lvar_int_to_constant 96@ = 34020
gosub @RYDER3_20111
85@ = 2

:RYDER3_8763
if and
  Char.IsDead(151@)
  Char.IsDead(152@)
  Char.IsDead(153@)
  Char.IsDead(154@)
goto_if_false @RYDER3_9092
89@ += 1
68@ = Blip.AddForCoord(2287.147, -1121.702, 25.8903)
Blip.SetCoordAppearance(68@, 0)
set_lvar_text_label 106@s = 'RYD3_EA'
set_lvar_int_to_constant 96@ = 34021
gosub @RYDER3_20111
85@ = 0
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_9085
161@ = Sequence.Open()
Task.AchieveHeading(-1, 77.6187)
Task.PlayAnim(-1, "IDLE_ARMED", "PED", 1.0, False, False, False, False, -1)
Task.Pause(-1, 2000)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "RYD_BECKON_01", "RYDER", 1.0, False, False, False, False, -1)
Sequence.SetToRepeat(161@, True)
Sequence.Close(161@)
160@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2294.854, -1143.85, 25.814, MoveState.Run, -2)
Task.GoStraightToCoord(-1, 2290.716, -1122.997, 25.8774, MoveState.Run, -2)
Char.PerformSequence(-1, 161@)
Sequence.Close(160@)
Char.ClearTasksImmediately($sweet_car)
Char.PerformSequence($sweet_car, 160@)
Sequence.Clear(161@)
Sequence.Clear(160@)

:RYDER3_9085
TIMERB = 0

:RYDER3_9092
if 
  89@ == 9
goto_if_false @RYDER3_10641
if and
  TIMERB > 4000
  85@ == 0
goto_if_false @RYDER3_9159
Text.PrintNow('RYD3_1', 4000, 1)
85@ = 1

:RYDER3_9159
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2287.147, -1121.702, 25.8903, 1.2, 1.2, 3.0, True)
goto_if_false @RYDER3_10641
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_9230
Player.SetControl($statbike_temp, False)

:RYDER3_9230
if 
  Blip.DoesExist(68@)
goto_if_false @RYDER3_9251
Blip.Remove(68@)

:RYDER3_9251
gosub @RYDER3_18935
Char.Delete(133@)
Pad.SetPlayerDisplayVitalStatsButton($statbike_temp, False)
Camera.SetFixedPosition(2288.881, -1117.758, 28.0044, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2288.3, -1118.549, 27.8136, SwitchType.JumpCut)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_9396
Char.SetCoordinates($stattreadstamina_ctr, 2287.147, -1121.702, 25.8903)
Char.SetHeading($stattreadstamina_ctr, 91.8747)
Task.Climb($stattreadstamina_ctr, True)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)

:RYDER3_9396
wait 1000
gosub @RYDER3_18995
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_9502
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @RYDER3_9472
Char.SetCoordinates($stattreadstamina_ctr, 2284.766, -1121.5, 27.386)
goto @RYDER3_9492

:RYDER3_9472
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2284.766, -1121.5, 27.386)

:RYDER3_9492
Char.SetHeading($stattreadstamina_ctr, 220.0)

:RYDER3_9502
Streaming.RequestCarRecording(486)
Streaming.RequestCarRecording(490)

:RYDER3_9512
if or
  not Streaming.HasCarRecordingBeenLoaded(486)
  not Streaming.HasCarRecordingBeenLoaded(490)
goto_if_false @RYDER3_9544
wait 0
goto @RYDER3_9512

:RYDER3_9544
World.ClearArea(2284.732, -1121.916, 27.0, 50.0, True)
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_9711
162@ = Char.Create(PedType.Mission1, 105, 2294.554, -1156.382, 25.6646)
Char.SetHeading(162@, 9.002)
if 
  not Char.IsDead(162@)
goto_if_false @RYDER3_9661
if 
  not Char.IsInCar(162@, 108@)
goto_if_false @RYDER3_9661
Char.WarpIntoCar(162@, 108@)

:RYDER3_9661
if 
  Char.IsDead(162@)
goto_if_false @RYDER3_9706
162@ = Char.CreateInsideCar(108@, PedType.Mission1, 105)
Char.SetNeverTargeted(162@, True)
Char.GiveWeapon(162@, WeaponType.MicroUzi, 9999)

:RYDER3_9706
Car.CloseAllDoors(108@)

:RYDER3_9711
if and
  not Car.IsDead(108@)
  not Char.IsDead(162@)
goto_if_false @RYDER3_9763
70@ = Blip.AddForCar(108@)
Blip.SetAsFriendly(70@, True)
Car.SetHealth(108@, 5000)
Char.SetHealth(162@, 500)

:RYDER3_9763
Char.Delete($sweet_car)
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_9798
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(108@)

:RYDER3_9798
$sweet_car = Char.Create(PedType.Mission1, 290, $on_footY, $on_footZ, $in_carX)
Char.SetHealth($sweet_car, 500)
Char.ClearAllRelationships($sweet_car, RelationshipType.Hate)
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_9880
Char.AttachToCar($sweet_car, 108@, 0.0, -0.85, 0.65, 1, 360.0, WeaponType.MicroUzi)

:RYDER3_9880
Char.SetProofs($sweet_car, True, True, False, True, True)
Task.TogglePedThreatScanner($sweet_car, False, False, False)
if 
  not Char.IsDead(162@)
goto_if_false @RYDER3_9941
Task.TogglePedThreatScanner(162@, False, False, False)
Char.SetDecisionMaker(162@, 105@)

:RYDER3_9941
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_9970
Car.StartPlayback(108@, 486)
Car.PausePlayback(108@)

:RYDER3_9970
wait 800
if 
  not Car.IsDead(129@)
goto_if_false @RYDER3_10006
Car.FreezePosition(129@, False)
Car.StartPlayback(129@, 490)

:RYDER3_10006
Object.Delete(61@)
Object.Delete(62@)
Object.Delete(63@)
Object.Delete(64@)
36@ = 0

:RYDER3_10033
Char.Delete(144@(36@,4i))
36@ += 1
  36@ >= 3
goto_if_false @RYDER3_10033
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Streaming.LoadSceneInDirection(2288.516, -1136.404, 28.5557, 149.2199)
Camera.SetFixedPosition(2288.516, -1136.404, 28.5557, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2288.295, -1137.368, 28.41, SwitchType.JumpCut)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_10201
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2284.766, -1121.5, 27.386)
Char.SetHeading($stattreadstamina_ctr, 0.0)

:RYDER3_10201
wait 200
if and
  not Car.IsDead(108@)
  Car.IsPlaybackGoingOn(108@)
goto_if_false @RYDER3_10232
Car.UnpausePlayback(108@)

:RYDER3_10232
gosub @RYDER3_19028
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 34022)

:RYDER3_10266
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_10292
wait 0
goto @RYDER3_10266

:RYDER3_10292
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('RYD3_FA', 2000, 1)
wait 2000
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 34023)

:RYDER3_10330
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_10356
wait 0
goto @RYDER3_10330

:RYDER3_10356
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('RYD3_FB', 4000, 1)
wait 4000
if 
  not Car.IsDead(129@)
goto_if_false @RYDER3_10474
Player.SetHeadingForAttached($statbike_temp, 225.0, 225.0)
163@ = Train.GetCaboose(129@)
Char.AttachToCar($stattreadstamina_ctr, 163@, 0.0, -8.0, 0.9, 0, 360.0, WeaponType.Unarmed)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Char.SetCollision($stattreadstamina_ctr, False)

:RYDER3_10474
gosub @RYDER3_18963
World.SetCarDensityMultiplier(0.0)
Hud.DrawCrosshair(True)
set_lvar_text_label 106@s = 'RYD3_GA'
set_lvar_int_to_constant 96@ = 34024
gosub @RYDER3_20111
TIMERB = 0
85@ = 0
$6877 = 90000
Hud.DisplayTimerWithString($6877, TimerDirection.Down, 'RYD3_3')
$6878 = 0
122@ = 0
Hud.DisplayNthCounterWithString($6878, CounterDisplay.Bar, 1, 'RYD3_E')
Hud.DisplayNthCounterWithString($6876, CounterDisplay.Number, 2, 'RYD3_F')
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_10634
Char.ClearTasks($sweet_car)

:RYDER3_10634
89@ += 1

:RYDER3_10641
if 
  89@ == 10
goto_if_false @RYDER3_13809
if and
  TIMERB > 5000
  85@ == 0
goto_if_false @RYDER3_10703
Text.PrintHelpForever('RYD3_D')
85@ = 1

:RYDER3_10703
if 
  TIMERA > 8000
goto_if_false @RYDER3_10969
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_10962
Char.ClearTasks($sweet_car)
$throw_power_bar = Math.RandomIntInRange(0, 3)
switch_start $throw_power_bar {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @RYDER3_10962 {caseNum1} 0 {caseLabel1} @RYDER3_10815 {caseNum2} 1 {caseLabel2} @RYDER3_10864 {caseNum3} 2 {caseLabel3} @RYDER3_10913 {caseNum4} -1 {caseLabel4} @RYDER3_10962 {caseNum5} -1 {caseLabel5} @RYDER3_10962 {caseNum6} -1 {caseLabel6} @RYDER3_10962 {caseNum7} -1 {caseLabel7} @RYDER3_10962

:RYDER3_10815
Task.PlayAnim($sweet_car, "RYD_BECKON_01", "RYDER", 1.0, False, False, False, False, -1)
goto @RYDER3_10962

:RYDER3_10864
Task.PlayAnim($sweet_car, "RYD_BECKON_02", "RYDER", 1.0, False, False, False, False, -1)
goto @RYDER3_10962

:RYDER3_10913
Task.PlayAnim($sweet_car, "RYD_BECKON_03", "RYDER", 1.0, False, False, False, False, -1)
goto @RYDER3_10962

:RYDER3_10962
TIMERA = 0

:RYDER3_10969
if 
  not Car.IsDead(163@)
goto_if_false @RYDER3_13746
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_11064
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
44@, 45@, 46@ = Char.GetCoordinates($sweet_car)
sub_float_lvar_from_float_var $on_footY -= 44@
sub_float_lvar_from_float_var $on_footZ -= 45@
$on_footX = Math.GetHeadingFromVector2D($on_footY, $on_footZ)
Char.SetHeading($sweet_car, $on_footX)

:RYDER3_11064
if 
  $ry2_view_debug <> 10
goto_if_false @RYDER3_11529
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @RYDER3_11184
add_int_lvar_to_int_var $6878 += 124@
if 
  $6878 > 100
goto_if_false @RYDER3_11138
$6878 = 100

:RYDER3_11138
if 
  0 > $6878
goto_if_false @RYDER3_11170
$6878 = 0
124@ = 50

:RYDER3_11170
164@ += 1
goto @RYDER3_11529

:RYDER3_11184
if 
  164@ > 0
goto_if_false @RYDER3_11529
if 
  $6878 > 20
goto_if_false @RYDER3_11515
cset_lvar_float_to_var_int 165@ =# $6878
165@ /= 2.0
$on_footY, $on_footZ, $in_carX = Camera.GetActiveCoordinates()
44@, 45@, 46@ = Camera.GetActivePointAt()
if 
  Object.DoesExist(110@(109@,10i))
goto_if_false @RYDER3_11289
Object.Delete(110@(109@,10i))

:RYDER3_11289
110@(109@,10i) = Object.CreateNoOffset(127@, 44@, 45@, 46@)
Object.SetRecordsCollisions(110@(109@,10i), True)
set_lvar_int_to_lvar_int 166@(109@,10i) = 127@
sub_float_var_from_float_lvar 44@ -= $on_footY
sub_float_var_from_float_lvar 45@ -= $on_footZ
sub_float_var_from_float_lvar 46@ -= $in_carX
mult_float_lvar_by_float_lvar 44@ *= 165@
mult_float_lvar_by_float_lvar 45@ *= 165@
mult_float_lvar_by_float_lvar 46@ *= 165@
Object.SetDynamic(110@(109@,10i), True)
Object.SetCollision(110@(109@,10i), True)
$on_footY, $on_footZ, $in_carX = Car.GetSpeedVector(163@)
set_lvar_float_to_var_float 47@ = $on_footY
add_float_lvar_to_float_lvar 47@ += 44@
set_lvar_float_to_var_float 48@ = $on_footZ
add_float_lvar_to_float_lvar 48@ += 45@
set_lvar_float_to_var_float 49@ = $in_carX
add_float_lvar_to_float_lvar 49@ += 46@
Object.SetVelocity(110@(109@,10i), 47@, 48@, 49@)
109@ += 1
if 
  109@ == 10
goto_if_false @RYDER3_11515
109@ = 0

:RYDER3_11515
164@ = 0
$6878 = 0

:RYDER3_11529
176@ = 0

:RYDER3_11536
if 
  10 > 176@
goto_if_false @RYDER3_13746
if and
  Object.DoesExist(110@(176@,10i))
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_13732
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords($sweet_car, 0.0, 1.0, 0.5)
if 
  Object.Locate3D(110@(176@,10i), $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 1.0, False)
goto_if_false @RYDER3_12488
if and
  122@ == 0
  not Char.IsDead($sweet_car)
  $ry2_view_debug <> 10
goto_if_false @RYDER3_12481
Object.SetCollision(110@(176@,10i), False)
Task.PickUpObject($sweet_car, 110@(176@,10i), 0.0, 0.3, 0.0, 6, 16, "CATCH_BOX", "BOX", 0)
TIMERA = 0
$throw_power_bar = Math.RandomIntInRange(0, 2)
switch_start $ry2_view_debug {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @RYDER3_12331 {caseNum1} 1 {caseLabel1} @RYDER3_11823 {caseNum2} 3 {caseLabel2} @RYDER3_11917 {caseNum3} 5 {caseLabel3} @RYDER3_12011 {caseNum4} 7 {caseLabel4} @RYDER3_12105 {caseNum5} 8 {caseLabel5} @RYDER3_12199 {caseNum6} 9 {caseLabel6} @RYDER3_12293 {caseNum7} -1 {caseLabel7} @RYDER3_12331

:RYDER3_11823
if 
  $throw_power_bar == 0
goto_if_false @RYDER3_11879
set_lvar_text_label 106@s = 'RYD3_HA'
set_lvar_int_to_constant 96@ = 34027
gosub @RYDER3_20111
goto @RYDER3_11910

:RYDER3_11879
set_lvar_text_label 106@s = 'RYD3_HB'
set_lvar_int_to_constant 96@ = 34028
gosub @RYDER3_20111

:RYDER3_11910
goto @RYDER3_12331

:RYDER3_11917
if 
  $throw_power_bar == 0
goto_if_false @RYDER3_11973
set_lvar_text_label 106@s = 'RYD3_HC'
set_lvar_int_to_constant 96@ = 34029
gosub @RYDER3_20111
goto @RYDER3_12004

:RYDER3_11973
set_lvar_text_label 106@s = 'RYD3_HD'
set_lvar_int_to_constant 96@ = 34030
gosub @RYDER3_20111

:RYDER3_12004
goto @RYDER3_12331

:RYDER3_12011
if 
  $throw_power_bar == 0
goto_if_false @RYDER3_12067
set_lvar_text_label 106@s = 'RYD3_HE'
set_lvar_int_to_constant 96@ = 34031
gosub @RYDER3_20111
goto @RYDER3_12098

:RYDER3_12067
set_lvar_text_label 106@s = 'RYD3_HF'
set_lvar_int_to_constant 96@ = 34032
gosub @RYDER3_20111

:RYDER3_12098
goto @RYDER3_12331

:RYDER3_12105
if 
  $throw_power_bar == 0
goto_if_false @RYDER3_12161
set_lvar_text_label 106@s = 'RYD3_HG'
set_lvar_int_to_constant 96@ = 34033
gosub @RYDER3_20111
goto @RYDER3_12192

:RYDER3_12161
set_lvar_text_label 106@s = 'RYD3_HH'
set_lvar_int_to_constant 96@ = 34034
gosub @RYDER3_20111

:RYDER3_12192
goto @RYDER3_12331

:RYDER3_12199
if 
  $throw_power_bar == 0
goto_if_false @RYDER3_12255
set_lvar_text_label 106@s = 'RYD3_HJ'
set_lvar_int_to_constant 96@ = 34035
gosub @RYDER3_20111
goto @RYDER3_12286

:RYDER3_12255
set_lvar_text_label 106@s = 'RYD3_HK'
set_lvar_int_to_constant 96@ = 34036
gosub @RYDER3_20111

:RYDER3_12286
goto @RYDER3_12331

:RYDER3_12293
set_lvar_text_label 106@s = 'RYD3_HM'
set_lvar_int_to_constant 96@ = 34038
gosub @RYDER3_20111
goto @RYDER3_12331

:RYDER3_12331
set_lvar_int_to_lvar_int 123@ = 176@
$ry2_view_debug += 1
if 
  $6876 > 0
goto_if_false @RYDER3_12371
$6876 -= 1

:RYDER3_12371
if 
  $ry2_view_debug == 5
goto_if_false @RYDER3_12445
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_12413
Char.SetHealth($sweet_car, 5000)

:RYDER3_12413
if 
  not Char.IsDead(162@)
goto_if_false @RYDER3_12437
Char.SetHealth(162@, 5000)

:RYDER3_12437
127@ = -137

:RYDER3_12445
if 
  $ry2_view_debug == 10
goto_if_false @RYDER3_12474
Hud.DrawCrosshair(False)
World.SetCarDensityMultiplier(1.0)

:RYDER3_12474
122@ += 1

:RYDER3_12481
goto @RYDER3_13064

:RYDER3_12488
if and
  166@(176@,10i) == -137
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_13064
if 
  Char.HasBeenDamagedByWeapon($sweet_car, WeaponType.Explosion)
goto_if_false @RYDER3_12839
$throw_power_bar = Math.RandomIntInRange(0, 6)
switch_start $throw_power_bar {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @RYDER3_12834 {caseNum1} 0 {caseLabel1} @RYDER3_12606 {caseNum2} 1 {caseLabel2} @RYDER3_12644 {caseNum3} 2 {caseLabel3} @RYDER3_12682 {caseNum4} 3 {caseLabel4} @RYDER3_12720 {caseNum5} 4 {caseLabel5} @RYDER3_12758 {caseNum6} 5 {caseLabel6} @RYDER3_12796 {caseNum7} -1 {caseLabel7} @RYDER3_12834

:RYDER3_12606
set_lvar_text_label 106@s = 'RYD3_JA'
set_lvar_int_to_constant 96@ = 34040
gosub @RYDER3_20111
goto @RYDER3_12834

:RYDER3_12644
set_lvar_text_label 106@s = 'RYD3_JB'
set_lvar_int_to_constant 96@ = 34041
gosub @RYDER3_20111
goto @RYDER3_12834

:RYDER3_12682
set_lvar_text_label 106@s = 'RYD3_JC'
set_lvar_int_to_constant 96@ = 34042
gosub @RYDER3_20111
goto @RYDER3_12834

:RYDER3_12720
set_lvar_text_label 106@s = 'RYD3_JD'
set_lvar_int_to_constant 96@ = 34043
gosub @RYDER3_20111
goto @RYDER3_12834

:RYDER3_12758
set_lvar_text_label 106@s = 'RYD3_JE'
set_lvar_int_to_constant 96@ = 34044
gosub @RYDER3_20111
goto @RYDER3_12834

:RYDER3_12796
set_lvar_text_label 106@s = 'RYD3_JF'
set_lvar_int_to_constant 96@ = 34045
gosub @RYDER3_20111
goto @RYDER3_12834

:RYDER3_12834
Char.ClearLastWeaponDamage($sweet_car)

:RYDER3_12839
if 
  Object.HasCollidedWithAnything(110@(176@,10i))
goto_if_false @RYDER3_13057
126@ += 1
if 
  126@ > 4
goto_if_false @RYDER3_13050
if and
  not Char.IsDead($sweet_car)
  not Char.IsDead(162@)
goto_if_false @RYDER3_13050
if 
  not Char.IsTouchingObject($sweet_car, 110@(176@,10i))
goto_if_false @RYDER3_13050
if 
  not Char.IsTouchingObject(162@, 110@(176@,10i))
goto_if_false @RYDER3_13050
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(110@(176@,10i))
Object.Break(110@(176@,10i), 1)
Audio.ReportMissionAudioEventAtObject(110@(176@,10i), 1159)
100@ = Particle.Create("EXPLOSION_SMALL", $on_footY, $on_footZ, $in_carX, 1)
Particle.PlayAndKill(100@)
Object.MarkAsNoLongerNeeded(110@(176@,10i))
110@(176@,10i) = 0

:RYDER3_13050
goto @RYDER3_13064

:RYDER3_13057
126@ = 0

:RYDER3_13064
if 
  Object.DoesExist(110@(176@,10i))
goto_if_false @RYDER3_13139
if 
  not Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 110@(176@,10i), 100.0, 100.0, False)
goto_if_false @RYDER3_13139
Object.MarkAsNoLongerNeeded(110@(176@,10i))
110@(176@,10i) = 0

:RYDER3_13139
if 
  122@ == 1
goto_if_false @RYDER3_13732
if and
  not Char.IsDead($sweet_car)
  not Char.IsDead(162@)
goto_if_false @RYDER3_13189
$chickY = Char.GetScriptTaskStatus($sweet_car, 1802)

:RYDER3_13189
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @RYDER3_13732
if 
  123@ > -1
goto_if_false @RYDER3_13725
switch_start 82@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @RYDER3_13642 {caseNum1} 0 {caseLabel1} @RYDER3_13288 {caseNum2} 2 {caseLabel2} @RYDER3_13363 {caseNum3} 4 {caseLabel3} @RYDER3_13438 {caseNum4} 6 {caseLabel4} @RYDER3_13506 {caseNum5} 8 {caseLabel5} @RYDER3_13574 {caseNum6} -1 {caseLabel6} @RYDER3_13642 {caseNum7} -1 {caseLabel7} @RYDER3_13642

:RYDER3_13288
79@ = Object.Create(#CR_GUNCRATE, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(79@, 108@, 0.4, -2.1, -0.1, 0.0, 0.0, 15.0)
Object.SetCollision(79@, False)
goto @RYDER3_13642

:RYDER3_13363
77@ = Object.Create(#CR_GUNCRATE, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(77@, 108@, -0.5, -2.1, -0.1, 0.0, 0.0, 30.0)
Object.SetCollision(77@, False)
goto @RYDER3_13642

:RYDER3_13438
78@ = Object.Create(#CR_GUNCRATE, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(78@, 108@, 0.4, -2.1, 0.3, 0.0, 30.0, 0.0)
goto @RYDER3_13642

:RYDER3_13506
80@ = Object.Create(#CR_AMMOBOX, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(80@, 108@, -0.6, -2.1, 0.3, 0.0, 0.0, 15.0)
goto @RYDER3_13642

:RYDER3_13574
81@ = Object.Create(#CR_AMMOBOX, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(81@, 108@, -0.1, -2.1, 0.3, 0.0, 0.0, 15.0)
goto @RYDER3_13642

:RYDER3_13642
82@ += 1
if 
  82@ >= 10
goto_if_false @RYDER3_13696
Hud.ClearCounter($6876)
Hud.ClearCounter($6878)
Hud.ClearTimer($6877)
89@ += 1
goto @RYDER3_13725

:RYDER3_13696
if 
  Object.DoesExist(110@(123@,10i))
goto_if_false @RYDER3_13725
Object.Delete(110@(123@,10i))

:RYDER3_13725
122@ = 0

:RYDER3_13732
176@ += 1
goto @RYDER3_11536

:RYDER3_13746
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_13809
if 
  10 > $6877
goto_if_false @RYDER3_13809
Hud.ClearCounter($6876)
Hud.ClearCounter($6878)
Hud.ClearTimer($6877)
125@ = 1
89@ += 1

:RYDER3_13809
if and
  89@ == 11
  95@ == 2
goto_if_false @RYDER3_14621
gosub @RYDER3_18995
World.SetCarDensityMultiplier(1.0)
Text.ClearHelp
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_13871
Car.StopPlayback(108@)

:RYDER3_13871
if 
  not Car.IsDead(163@)
goto_if_false @RYDER3_14078
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(163@)
177@ = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(163@, -2.0, -1.0, -1.0)
44@, 45@, 46@ = Car.GetOffsetInWorldCoords(163@, 0.0, -4.0, -1.0)
47@, 48@, 49@ = Car.GetOffsetInWorldCoords(163@, 0.0, 10.0, -0.5)
179@, 180@, 181@ = Car.GetOffsetInWorldCoords(163@, 0.0, -50.0, 0.0)
$on_footX = Car.GetHeading(163@)
178@ = Car.GetHeading(163@)
$on_footX -= 50.0
if 
  not Car.IsDead(129@)
goto_if_false @RYDER3_14078
Car.StopPlayback(129@)

:RYDER3_14078
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_14128
Char.SetCollision($stattreadstamina_ctr, True)
Char.DetachFromCar($stattreadstamina_ctr)
Streaming.RemoveAnimation("BOX")
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)

:RYDER3_14128
World.DeleteMissionTrains
Object.Delete(74@)
Object.Delete(91@)
Object.Delete(92@)
Object.Delete(93@)
Pad.SetPlayerDisplayVitalStatsButton($statbike_temp, True)
if and
  not Car.IsDead(108@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_14235
Car.FreezePosition(108@, False)
Car.SetCoordinates(108@, $on_footY, $on_footZ, 177@)
Car.SetHeading(108@, $on_footX)
Char.SetCoordinates($stattreadstamina_ctr, 44@, 45@, 177@)
Car.SetStatus(108@, EntityStatus.Player)
Car.LockDoors(108@, CarLock.Unlocked)

:RYDER3_14235
gosub @RYDER3_18935
Camera.SetFixedPosition(47@, 48@, 49@, 0.0, 0.0, 0.0)
Streaming.LoadSceneInDirection(47@, 48@, 49@, 178@)
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_14356
Camera.PointAtCar(108@, CameraMode.Fixed, SwitchType.JumpCut)
Char.Delete(162@)
162@ = Char.CreateAsPassenger(108@, PedType.Mission1, 105, 0)
Char.SetHealth(162@, 800)
Char.SetMaxHealth(162@, 800)
Char.SetSuffersCriticalHits(162@, False)
Char.SetNeverTargeted(162@, True)

:RYDER3_14356
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_14409
Char.DetachFromCar($sweet_car)
Char.AttachToCar($sweet_car, 108@, 0.0, -1.3, 0.8, 2, 15.0, WeaponType.MicroUzi)

:RYDER3_14409
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(108@)
goto_if_false @RYDER3_14441
Task.EnterCarAsDriver($stattreadstamina_ctr, 108@, 4000)

:RYDER3_14441
gosub @RYDER3_19028
if 
  125@ == 1
goto_if_false @RYDER3_14532
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 34046)

:RYDER3_14479
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_14505
wait 0
goto @RYDER3_14479

:RYDER3_14505
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('RYD3_JG', 2000, 1)
goto @RYDER3_14591

:RYDER3_14532
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 34039)

:RYDER3_14545
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_14571
wait 0
goto @RYDER3_14545

:RYDER3_14571
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('RYD3_HN', 2000, 1)

:RYDER3_14591
wait 4000
gosub @RYDER3_18963
Hud.DrawCrosshair(False)
TIMERA = 0
89@ = 35

:RYDER3_14621
if 
  89@ == 12
goto_if_false @RYDER3_14685
if 
  125@ == 1
goto_if_false @RYDER3_14678
89@ = 35
69@ = 1
goto @RYDER3_14685

:RYDER3_14678
89@ = 35

:RYDER3_14685
if 
  89@ == 35
goto_if_false @RYDER3_15113
if 
  Blip.DoesExist(70@)
goto_if_false @RYDER3_14724
Blip.Remove(70@)

:RYDER3_14724
if 
  125@ == 1
goto_if_false @RYDER3_14938
gosub @RYDER3_18995
if 
  not Car.IsDead(129@)
goto_if_false @RYDER3_14770
Car.Delete(129@)

:RYDER3_14770
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_14791
Char.Delete($sweet_car)

:RYDER3_14791
if 
  not Char.IsDead(162@)
goto_if_false @RYDER3_14812
Char.Delete(162@)

:RYDER3_14812
if and
  not Car.IsDead(108@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_14860
if 
  not Char.IsInCar($stattreadstamina_ctr, 108@)
goto_if_false @RYDER3_14860
Char.WarpIntoCar($stattreadstamina_ctr, 108@)

:RYDER3_14860
176@ = 0

:RYDER3_14867
if 
  10 > 176@
goto_if_false @RYDER3_14908
Object.Delete(110@(176@,10i))
176@ += 1
goto @RYDER3_14867

:RYDER3_14908
gosub @RYDER3_19028
Text.PrintNow('RYD3_T', 4000, 1)
goto @RYDER3_18057

:RYDER3_14938
if and
  not Char.IsDead($sweet_car)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_14994
Char.SetRelationship($sweet_car, RelationshipType.Hate, PedType.Cop)
Task.StayInSamePlace($sweet_car, True)
Task.TogglePedThreatScanner($sweet_car, True, True, True)
Char.SetDecisionMaker($sweet_car, 72@)

:RYDER3_14994
set_lvar_text_label 106@s = 'RYD3_KA'
set_lvar_int_to_constant 96@ = 34047
gosub @RYDER3_20111
TIMERB = 0
85@ = 0
Blip.Remove(34@)
34@ = Blip.AddForCoord(2067.463, -1831.67, 12.5527)
Blip.SetCoordAppearance(34@, 0)
Game.SetWantedMultiplier(1.0)
Player.AlterWantedLevel($statbike_temp, 3)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
89@ += 1
TIMERA = 0

:RYDER3_15113
if and
  89@ == 36
  TIMERA > 4000
goto_if_false @RYDER3_15192
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_15162
Task.ToggleDuck($sweet_car, True)

:RYDER3_15162
Text.PrintNow('RYD3_13', 7000, 1)
89@ += 1
39@ = 0

:RYDER3_15192
if 
  89@ == 37
goto_if_false @RYDER3_17965
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_15466
if 
  not Char.IsInCar($stattreadstamina_ctr, 108@)
goto_if_false @RYDER3_15313
Text.PrintNow('RYD3_Q', 5000, 1)
if 
  39@ == 0
goto_if_false @RYDER3_15306
Blip.Remove(34@)
34@ = Blip.AddForCar(108@)
Blip.SetAsFriendly(34@, True)
39@ = 1

:RYDER3_15306
goto @RYDER3_15415

:RYDER3_15313
if 
  39@ == 1
goto_if_false @RYDER3_15415
Blip.Remove(34@)
if 
  103@ == 1
goto_if_false @RYDER3_15381
34@ = Blip.AddForCoord(2446.887, -1661.962, 12.3047)
goto @RYDER3_15401

:RYDER3_15381
34@ = Blip.AddForCoord(2067.463, -1831.67, 12.5527)

:RYDER3_15401
Blip.SetCoordAppearance(34@, 0)
39@ = 0

:RYDER3_15415
if and
  Car.IsUpsidedown(108@)
  97@ == 0
goto_if_false @RYDER3_15466
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_15459
Task.Die($sweet_car)

:RYDER3_15459
97@ = 1

:RYDER3_15466
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_15956
if and
  Char.IsShooting($sweet_car)
  TIMERB > 10000
  not Text.IsMessageBeingDisplayed
goto_if_false @RYDER3_15956
TIMERB = 0
$throw_power_bar = Math.RandomIntInRange(0, 8)
switch_start $throw_power_bar {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @RYDER3_15956 {caseNum1} 0 {caseLabel1} @RYDER3_15652 {caseNum2} 1 {caseLabel2} @RYDER3_15690 {caseNum3} 2 {caseLabel3} @RYDER3_15728 {caseNum4} 3 {caseLabel4} @RYDER3_15766 {caseNum5} 4 {caseLabel5} @RYDER3_15804 {caseNum6} 5 {caseLabel6} @RYDER3_15842 {caseNum7} 6 {caseLabel7} @RYDER3_15880
switch_continued 7 {caseLabel1} @RYDER3_15918 {caseNum2} -1 {caseLabel2} @RYDER3_15956 {caseNum3} -1 {caseLabel3} @RYDER3_15956 {caseNum4} -1 {caseLabel4} @RYDER3_15956 {caseNum5} -1 {caseLabel5} @RYDER3_15956 {caseNum6} -1 {caseLabel6} @RYDER3_15956 {caseNum7} -1 {caseLabel7} @RYDER3_15956 {caseNum8} -1 {caseLabel8} @RYDER3_15956 {caseNum9} -1 {caseLabel9} @RYDER3_15956

:RYDER3_15652
set_lvar_text_label 106@s = 'RYD3_LA'
set_lvar_int_to_constant 96@ = 34049
gosub @RYDER3_20111
goto @RYDER3_15956

:RYDER3_15690
set_lvar_text_label 106@s = 'RYD3_LB'
set_lvar_int_to_constant 96@ = 34050
gosub @RYDER3_20111
goto @RYDER3_15956

:RYDER3_15728
set_lvar_text_label 106@s = 'RYD3_LC'
set_lvar_int_to_constant 96@ = 34051
gosub @RYDER3_20111
goto @RYDER3_15956

:RYDER3_15766
set_lvar_text_label 106@s = 'RYD3_LD'
set_lvar_int_to_constant 96@ = 34052
gosub @RYDER3_20111
goto @RYDER3_15956

:RYDER3_15804
set_lvar_text_label 106@s = 'RYD3_LE'
set_lvar_int_to_constant 96@ = 34053
gosub @RYDER3_20111
goto @RYDER3_15956

:RYDER3_15842
set_lvar_text_label 106@s = 'RYD3_LF'
set_lvar_int_to_constant 96@ = 34054
gosub @RYDER3_20111
goto @RYDER3_15956

:RYDER3_15880
set_lvar_text_label 106@s = 'RYD3_LG'
set_lvar_int_to_constant 96@ = 34055
gosub @RYDER3_20111
goto @RYDER3_15956

:RYDER3_15918
set_lvar_text_label 106@s = 'RYD3_LH'
set_lvar_int_to_constant 96@ = 34056
gosub @RYDER3_20111
goto @RYDER3_15956

:RYDER3_15956
if and
  not Car.IsDead(108@)
  not Char.IsDead($stattreadstamina_ctr)
  39@ == 0
goto_if_false @RYDER3_17965
if and
  not Char.IsDead($sweet_car)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_16318
if 
  not Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @RYDER3_16184
if and
  103@ == 0
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_16177
Char.ClearTasksImmediately($sweet_car)
Char.ClearAllRelationships($sweet_car, RelationshipType.Hate)
Char.SetDecisionMaker($sweet_car, 105@)
Task.StayInSamePlace($sweet_car, True)
Task.TogglePedThreatScanner($sweet_car, False, False, False)
Task.ToggleDuck($sweet_car, True)
if 
  Blip.DoesExist(34@)
goto_if_false @RYDER3_16112
Blip.Remove(34@)

:RYDER3_16112
set_lvar_text_label 106@s = 'RYD3_KB'
set_lvar_int_to_constant 96@ = 34048
gosub @RYDER3_20111
TIMERA = 0
34@ = Blip.AddForCoord(2451.38, -1661.609, 12.3047)
103@ = 1

:RYDER3_16177
goto @RYDER3_16318

:RYDER3_16184
if and
  103@ == 1
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_16318
if 
  Blip.DoesExist(34@)
goto_if_false @RYDER3_16228
Blip.Remove(34@)

:RYDER3_16228
Char.ClearTasksImmediately($sweet_car)
Char.SetRelationship($sweet_car, RelationshipType.Hate, PedType.Cop)
Task.StayInSamePlace($sweet_car, True)
Task.TogglePedThreatScanner($sweet_car, True, True, True)
Char.SetDecisionMaker($sweet_car, 72@)
Task.ToggleDuck($sweet_car, True)
Text.PrintNow('RYD3_I', 7000, 1)
34@ = Blip.AddForCoord(2067.463, -1831.67, 12.5527)
103@ = 0

:RYDER3_16318
if and
  not Player.IsWantedLevelGreater($statbike_temp, 0)
  TIMERA > 4000
  104@ == 0
goto_if_false @RYDER3_16374
Text.PrintNow('RYD3101', 7000, 1)
104@ = 1

:RYDER3_16374
if 
  not Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @RYDER3_17965
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2446.887, -1661.962, 12.3047, 4.0, 4.0, 4.0, True)
  Char.IsInCar($stattreadstamina_ctr, 108@)
goto_if_false @RYDER3_17965
Player.ClearWantedLevel($statbike_temp)
World.ClearArea(2483.618, -1666.093, 12.3594, 50.0, True)
gosub @RYDER3_18995
if and
  not Char.IsDead($sweet_car)
  not Car.IsDead(108@)
goto_if_false @RYDER3_16542
Char.DetachFromCar($sweet_car)
Char.AttachToCar($sweet_car, 108@, 0.0, -1.3, 0.8, 0, 15.0, WeaponType.MicroUzi)

:RYDER3_16542
Blip.Remove(34@)
Streaming.RequestCarRecording(104)
Streaming.RequestAnimation("GANGS")

:RYDER3_16560
if or
  not Streaming.HasCarRecordingBeenLoaded(104)
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @RYDER3_16595
wait 0
goto @RYDER3_16560

:RYDER3_16595
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(108@)
goto_if_false @RYDER3_16662
if 
  not Char.IsInCar($stattreadstamina_ctr, 108@)
goto_if_false @RYDER3_16645
Char.WarpIntoCarAsPassenger($stattreadstamina_ctr, 108@, 0)

:RYDER3_16645
Car.StartPlayback(108@, 104)
Car.SkipInPlayback(108@, 1.0)

:RYDER3_16662
gosub @RYDER3_18935
Camera.SetFixedPosition(2444.796, -1650.005, 24.6868, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2445.629, -1650.483, 24.4081, SwitchType.JumpCut)
Char.Delete(162@)
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_16752
Task.TogglePedThreatScanner($sweet_car, False, False, False)

:RYDER3_16752
gosub @RYDER3_19028
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 34057)

:RYDER3_16772
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_16798
wait 0
goto @RYDER3_16772

:RYDER3_16798
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('RYD3_MA', 8000, 1)
TIMERB = 0

:RYDER3_16825
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_16851
wait 0
goto @RYDER3_16825

:RYDER3_16851
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 34058)

:RYDER3_16866
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_16892
wait 0
goto @RYDER3_16866

:RYDER3_16892
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('RYD3_MB', 8000, 1)
TIMERB = 0

:RYDER3_16919
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_16945
wait 0
goto @RYDER3_16919

:RYDER3_16945
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 34059)

:RYDER3_16960
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_16986
wait 0
goto @RYDER3_16960

:RYDER3_16986
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('RYD3_MC', 8000, 1)
TIMERB = 0

:RYDER3_17013
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_17039
wait 0
goto @RYDER3_17013

:RYDER3_17039
Text.ClearPrints
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_17098
Camera.SetFixedPosition(2472.576, -1675.462, 14.0837, 0.0, 0.0, 0.0)
Camera.PointAtCar(108@, CameraMode.Fixed, SwitchType.JumpCut)

:RYDER3_17098
wait 5000
if 
  69@ == 0
goto_if_false @RYDER3_17965
if and
  not Car.IsDead(108@)
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_17224
Char.ClearTasks($sweet_car)
Task.ToggleDuck($sweet_car, False)
Car.StopPlayback(108@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(108@, 0.0, 10.0, 0.0)
Task.GoStraightToCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, MoveState.Walk, -2)
Task.GoStraightToCoord($sweet_car, $on_footY, $on_footZ, $in_carX, MoveState.Walk, -2)

:RYDER3_17224
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 34060)

:RYDER3_17237
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_17263
wait 0
goto @RYDER3_17237

:RYDER3_17263
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('RYD3_MD', 8000, 1)
TIMERB = 0

:RYDER3_17290
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_17316
wait 0
goto @RYDER3_17290

:RYDER3_17316
Text.ClearPrints
wait 1500
if 
  Streaming.HasAnimationLoaded("GANGS")
goto_if_false @RYDER3_17944
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_17466
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @RYDER3_17402
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2471.343, -1684.306, 12.5159)
goto @RYDER3_17422

:RYDER3_17402
Char.SetCoordinates($stattreadstamina_ctr, 2471.343, -1684.306, 12.5159)

:RYDER3_17422
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetHeading($stattreadstamina_ctr, 238.6571)
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, -1.0)

:RYDER3_17466
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_17780
if 
  Char.IsInAnyCar($sweet_car)
goto_if_false @RYDER3_17524
Char.DetachFromCar($sweet_car)
Char.WarpFromCarToCoord($sweet_car, $on_footY, $on_footZ, $in_carX)
goto @RYDER3_17538

:RYDER3_17524
Char.SetCoordinates($sweet_car, $on_footY, $on_footZ, $in_carX)

:RYDER3_17538
50@ = 238.6571
50@ -= 180.0
Char.ClearTasksImmediately($sweet_car)
Char.SetHeading($sweet_car, 50@)
35@ = Sequence.Open()
Task.CharSlideToCoordAndPlayAnim(-1, 2471.343, -1684.306, 12.5159, 238.6571, 0.4, "PRTIAL_HNDSHK_01", "GANGS", 4.0, False, False, False, False, -1)
Task.LookAtChar(-1, $sweet_car, 3000)
Sequence.Close(35@)
Char.PerformSequence($stattreadstamina_ctr, 35@)
Sequence.Clear(35@)
35@ = Sequence.Open()
Task.CharSlideToCoordAndPlayAnim(-1, $on_footY, $on_footZ, $in_carX, 50@, 0.4, "PRTIAL_HNDSHK_01", "GANGS", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 2465.728, -1687.025, 12.5184, MoveState.Walk, -2)
Sequence.Close(35@)
Char.PerformSequence($sweet_car, 35@)
Sequence.Clear(35@)

:RYDER3_17780
Camera.SetFixedPosition(2472.521, -1683.47, 14.0526, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2472.001, -1684.324, 14.0313, SwitchType.JumpCut)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 34061)

:RYDER3_17844
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_17870
wait 0
goto @RYDER3_17844

:RYDER3_17870
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('RYD3_ME', 8000, 1)
TIMERB = 0

:RYDER3_17897
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @RYDER3_17923
wait 0
goto @RYDER3_17897

:RYDER3_17923
Text.ClearPrints
wait 1000
gosub @RYDER3_18995
goto @RYDER3_17953

:RYDER3_17944
Streaming.RequestAnimation("GANGS")

:RYDER3_17953
Char.Delete($sweet_car)
goto @RYDER3_18136

:RYDER3_17965
if 
  Car.IsDead(108@)
goto_if_false @RYDER3_18004
Text.PrintNow('RYD3_14', 5000, 1)
goto @RYDER3_18057

:RYDER3_18004
if 
  Char.IsDead($sweet_car)
goto_if_false @RYDER3_18043
Text.PrintNow('RYD3_B', 5000, 1)
goto @RYDER3_18057

:RYDER3_18043
goto @RYDER3_2254

:RYDER3_18050
goto @RYDER3_18057

:RYDER3_18057
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_18080
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:RYDER3_18080
Game.SetWantedMultiplier(1.0)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_18118
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)

:RYDER3_18118
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:RYDER3_18136
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_18159
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:RYDER3_18159
gosub @RYDER3_18963
Game.SetWantedMultiplier(1.0)
Camera.SetBehindPlayer
gosub @RYDER3_19028
Text.PrintWithNumberBig('M_PASSR', 7, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(7)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
$flag_cesar_mission_counter += 1
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('RYDER_3')
return 

:RYDER3_18237
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_18260
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:RYDER3_18260
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_18281
Char.RemoveElegantly($sweet_car)

:RYDER3_18281
Hud.DrawCrosshair(False)
Game.SetWantedMultiplier(1.0)
Pad.SetPlayerDisplayVitalStatsButton($statbike_temp, True)
Streaming.RemoveCarRecording(490)
Streaming.RemoveCarRecording(486)
Streaming.RemoveCarRecording(104)
if 
  not Char.IsDead(142@)
goto_if_false @RYDER3_18334
Char.Delete(142@)

:RYDER3_18334
if 
  not Char.IsDead(143@)
goto_if_false @RYDER3_18355
Char.Delete(143@)

:RYDER3_18355
36@ = 0

:RYDER3_18362
if 
  Blip.DoesExist(155@(36@,4i))
goto_if_false @RYDER3_18391
Blip.Remove(155@(36@,4i))

:RYDER3_18391
if 
  Blip.DoesExist(136@(36@,6i))
goto_if_false @RYDER3_18420
Blip.Remove(136@(36@,6i))

:RYDER3_18420
36@ += 1
  36@ >= 4
goto_if_false @RYDER3_18362
if 
  Blip.DoesExist(70@)
goto_if_false @RYDER3_18462
Blip.Remove(70@)

:RYDER3_18462
if 
  Blip.DoesExist(34@)
goto_if_false @RYDER3_18483
Blip.Remove(34@)

:RYDER3_18483
if 
  Blip.DoesExist(68@)
goto_if_false @RYDER3_18504
Blip.Remove(68@)

:RYDER3_18504
if 
  Blip.DoesExist(99@)
goto_if_false @RYDER3_18525
Blip.Remove(99@)

:RYDER3_18525
Object.Delete(61@)
Object.Delete(62@)
Object.Delete(63@)
Object.Delete(64@)
Object.Delete(91@)
Object.Delete(92@)
Object.Delete(93@)
Object.Delete(81@)
Object.Delete(77@)
Object.Delete(78@)
Object.Delete(79@)
Object.Delete(80@)
Game.SetCreateRandomGangMembers(True)
Hud.ClearCounter($6876)
Hud.ClearCounter($6878)
Hud.ClearTimer($6877)
Char.DetachFromCar($sweet_car)
Char.DetachFromCar($stattreadstamina_ctr)
Game.SwitchRandomTrains(True)
Streaming.MarkModelAsNoLongerNeeded(600)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(#CR_GUNCRATE)
Streaming.MarkModelAsNoLongerNeeded(#CR_AMMOBOX)
Streaming.MarkModelAsNoLongerNeeded(105)
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.MarkModelAsNoLongerNeeded(108)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(537)
Streaming.MarkModelAsNoLongerNeeded(569)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(104)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.RemoveAnimation("BOX")
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("RYDER")
Streaming.RemoveAnimation("SWAT")
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Streaming.UnloadSpecialCharacter(1)
Path.SwitchRoadsBackToOriginal(2284.0, -1151.0, 10.0, 2288.0, -1147.0, 30.0)
Path.SwitchRoadsBackToOriginal(2287.321, -1132.571, 10.0, 2360.839, -1177.134, 40.0)
Path.SwitchRoadsBackToOriginal(2311.676, -1375.397, 10.0, 2292.365, -1303.102, 40.0)
Path.SwitchRoadsBackToOriginal(2268.695, -1138.541, 10.0, 2282.362, -1159.604, 40.0)
Path.SwitchRoadsBackToOriginal(2307.537, -1162.624, 10.0, 2266.351, -1136.99, 40.0)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(1.0)
Mission.Finish
return 

:RYDER3_18935
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
Text.ClearPrints
Text.ClearHelp
return 

:RYDER3_18963
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.ClearHelp
Text.ClearPrints
return 

:RYDER3_18995
Camera.DoFade(500, Fade.Out)

:RYDER3_19002
if 
  Camera.GetFadingStatus
goto_if_false @RYDER3_19026
wait 0
goto @RYDER3_19002

:RYDER3_19026
return 

:RYDER3_19028
Camera.DoFade(500, Fade.In)

:RYDER3_19035
if 
  Camera.GetFadingStatus
goto_if_false @RYDER3_19059
wait 0
goto @RYDER3_19035

:RYDER3_19059
return 

:RYDER3_19061
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @RYDER3_19177
Streaming.RequestModel(600)

:RYDER3_19081
if 
  not Streaming.HasModelLoaded(600)
goto_if_false @RYDER3_19108
wait 0
goto @RYDER3_19081

:RYDER3_19108
182@ = Car.Create(600, 2298.39, -1149.012, 25.7656)
Car.SetHeading(182@, 45.766)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_19165
Char.WarpIntoCar($stattreadstamina_ctr, 182@)

:RYDER3_19165
Streaming.MarkModelAsNoLongerNeeded(600)
89@ = 50

:RYDER3_19177
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @RYDER3_19265
Streaming.RequestCarRecording(486)
Streaming.RequestCarRecording(490)

:RYDER3_19202
if or
  not Streaming.HasCarRecordingBeenLoaded(486)
  not Streaming.HasCarRecordingBeenLoaded(490)
goto_if_false @RYDER3_19234
wait 0
goto @RYDER3_19202

:RYDER3_19234
if 
  not Car.IsDead(129@)
goto_if_false @RYDER3_19265
Car.FreezePosition(129@, False)
Car.StartPlayback(129@, 490)

:RYDER3_19265
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @RYDER3_19430
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Streaming.RequestModel(537)
Streaming.RequestModel(569)
Streaming.RequestModel(492)
Streaming.RequestCarRecording(106)

:RYDER3_19313
if 
  not Streaming.HasCarRecordingBeenLoaded(106)
goto_if_false @RYDER3_19339
wait 0
goto @RYDER3_19313

:RYDER3_19339
if or
  not Streaming.HasModelLoaded(537)
  not Streaming.HasModelLoaded(569)
  not Streaming.HasModelLoaded(492)
goto_if_false @RYDER3_19376
wait 0
goto @RYDER3_19339

:RYDER3_19376
183@ = Train.Create(10, 2278.177, -1144.882, 27.5107, True)
Streaming.MarkModelAsNoLongerNeeded(537)
Streaming.MarkModelAsNoLongerNeeded(569)
Train.SetSpeed(183@, 0.0)
Train.SetCruiseSpeed(183@, 0.0)

:RYDER3_19430
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @RYDER3_19503
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER3_19503
Task.PlayAnim($sweet_car, "RYD_BECKON_01", "RYDER", 1.0, False, False, False, False, -1)

:RYDER3_19503
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @RYDER3_19525
$ry2_view_debug = 9

:RYDER3_19525
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @RYDER3_19688
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RYDER3_19688
Streaming.RequestAnimation("CARRY")

:RYDER3_19565
if 
  not Streaming.HasAnimationLoaded("CARRY")
goto_if_false @RYDER3_19596
wait 0
goto @RYDER3_19565

:RYDER3_19596
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
110@ = Object.CreateNoOffset(127@, $on_footY, $on_footZ, $in_carX)
Object.SetCollision(110@, False)
Task.PickUpObject($stattreadstamina_ctr, 110@, 0.0, 0.3, 0.0, 6, 16, "CATCH_BOX", "BOX", 0)
Streaming.RemoveAnimation("CARRY")

:RYDER3_19688
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @RYDER3_19759
Streaming.RequestCarRecording(486)

:RYDER3_19708
if 
  not Streaming.HasCarRecordingBeenLoaded(486)
goto_if_false @RYDER3_19735
wait 0
goto @RYDER3_19708

:RYDER3_19735
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_19759
Car.StartPlayback(108@, 486)

:RYDER3_19759
if 
is_ps2_keyboard_key_just_pressed 73
goto_if_false @RYDER3_20109
if 
  not Car.IsDead(108@)
goto_if_false @RYDER3_20109
79@ = Object.Create(#CR_GUNCRATE, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(79@, 108@, 0.4, -2.1, -0.1, 0.0, 0.0, 15.0)
Object.SetCollision(79@, False)
77@ = Object.Create(#CR_GUNCRATE, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(77@, 108@, -0.5, -2.1, -0.1, 0.0, 0.0, 30.0)
Object.SetCollision(77@, False)
78@ = Object.Create(#CR_GUNCRATE, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(78@, 108@, 0.4, -2.1, 0.3, 0.0, 30.0, 0.0)
80@ = Object.Create(#CR_AMMOBOX, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(80@, 108@, -0.6, -2.1, 0.3, 0.0, 0.0, 15.0)
81@ = Object.Create(#CR_AMMOBOX, 2278.177, -1144.882, 27.5107)
Object.AttachToCar(81@, 108@, -0.1, -2.1, 0.3, 0.0, 0.0, 15.0)

:RYDER3_20109
return 

:RYDER3_20111
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 96@)
95@ = 0
return 

:RYDER3_20131
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  95@ == 0
goto_if_false @RYDER3_20174
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(106@s, 10000, 1)
95@ = 1

:RYDER3_20174
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  95@ == 1
goto_if_false @RYDER3_20212
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(106@s)
95@ = 2

:RYDER3_20212
return 

//-------------Mission 26---------------
// Originally: Robbing Uncle Sam

:RYDER2
script_name 'RYDER2'
gosub @RYDER2_47
if 
  has_deatharrest_been_executed 
goto_if_false @RYDER2_38
gosub @RYDER2_41371

:RYDER2_38
gosub @RYDER2_41489
terminate_this_script 

:RYDER2_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
34@ = 0
35@ = 0
36@ = 0
37@ = 0
49@ = 0
50@ = 0

:RYDER2_98
wait 0
38@ += 1
if 
  38@ > 9
goto_if_false @RYDER2_134
38@ = 0

:RYDER2_134
39@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 41@ = 39@
sub_int_lvar_from_int_lvar 41@ -= 40@
set_lvar_int_to_lvar_int 40@ = 39@
add_int_lvar_to_int_lvar 141@ += 41@
add_int_lvar_to_int_lvar 142@ += 41@
add_int_lvar_to_int_lvar 144@ += 41@
42@ = 0

:RYDER2_194
if 
  9 > 42@
goto_if_false @RYDER2_238
add_int_lvar_to_int_lvar 181@(42@,9i) += 41@
42@ += 1
goto @RYDER2_194

:RYDER2_238
add_int_lvar_to_int_lvar 51@ += 41@
add_int_lvar_to_int_lvar 52@ += 41@
add_int_lvar_to_int_lvar 53@ += 41@
add_int_lvar_to_int_lvar 54@ += 41@
add_int_lvar_to_int_lvar 55@ += 41@
add_int_lvar_to_int_lvar 56@ += 41@
add_int_lvar_to_int_lvar 57@ += 41@
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @RYDER2_316
36@ = 1

:RYDER2_316
gosub @RYDER2_988

:RYDER2_323
switch_start 34@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @RYDER2_563 {caseNum1} 0 {caseLabel1} @RYDER2_451 {caseNum2} 1 {caseLabel2} @RYDER2_465 {caseNum3} 2 {caseLabel3} @RYDER2_479 {caseNum4} 3 {caseLabel4} @RYDER2_493 {caseNum5} 4 {caseLabel5} @RYDER2_507 {caseNum6} 5 {caseLabel6} @RYDER2_521 {caseNum7} 6 {caseLabel7} @RYDER2_535
switch_continued 7 {caseLabel1} @RYDER2_549 {caseNum2} -1 {caseLabel2} @RYDER2_563 {caseNum3} -1 {caseLabel3} @RYDER2_563 {caseNum4} -1 {caseLabel4} @RYDER2_563 {caseNum5} -1 {caseLabel5} @RYDER2_563 {caseNum6} -1 {caseLabel6} @RYDER2_563 {caseNum7} -1 {caseLabel7} @RYDER2_563 {caseNum8} -1 {caseLabel8} @RYDER2_563 {caseNum9} -1 {caseLabel9} @RYDER2_563

:RYDER2_451
gosub @RYDER2_1573
goto @RYDER2_563

:RYDER2_465
gosub @RYDER2_3425
goto @RYDER2_563

:RYDER2_479
gosub @RYDER2_6998
goto @RYDER2_563

:RYDER2_493
gosub @RYDER2_11724
goto @RYDER2_563

:RYDER2_507
gosub @RYDER2_12859
goto @RYDER2_563

:RYDER2_521
gosub @RYDER2_14158
goto @RYDER2_563

:RYDER2_535
gosub @RYDER2_18224
goto @RYDER2_563

:RYDER2_549
gosub @RYDER2_30303
goto @RYDER2_563

:RYDER2_563
gosub @RYDER2_32060
if 
  203@ == 1
goto_if_false @RYDER2_602
203@ = 0
goto @RYDER2_323

:RYDER2_602
if 
  37@ == 0
goto_if_false @RYDER2_668
if 
  36@ == 0
goto_if_false @RYDER2_652
goto @RYDER2_98
goto @RYDER2_661

:RYDER2_652
gosub @RYDER2_41389
return 

:RYDER2_661
goto @RYDER2_677

:RYDER2_668
gosub @RYDER2_41371
return 

:RYDER2_677
goto @RYDER2_988
$sweet_car = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
282@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
281@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
308@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
313@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
96@ = Car.Create(413, 0.0, 0.0, 0.0)
97@ = Car.Create(413, 0.0, 0.0, 0.0)
119@ = Blip.AddForCoord(0.0, 0.0, 0.0)
120@ = Blip.AddForCoord(0.0, 0.0, 0.0)
121@ = Blip.AddForCoord(0.0, 0.0, 0.0)
122@ = Blip.AddForCoord(0.0, 0.0, 0.0)
123@ = Blip.AddForCoord(0.0, 0.0, 0.0)
93@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
340@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)

:RYDER2_988
if 
is_ps2_keyboard_key_just_pressed 88
goto_if_false @RYDER2_1102
if 
  58@ == 0
goto_if_false @RYDER2_1076
58@ = 1
write_debug "LEVEL_DEBUG_ON"
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_1069
Char.SetOnlyDamagedByPlayer($sweet_car, True)

:RYDER2_1069
goto @RYDER2_1102

:RYDER2_1076
58@ = 0
write_debug "LEVEL_DEBUG_OFF"

:RYDER2_1102
if 
  58@ == 1
goto_if_false @RYDER2_1571
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @RYDER2_1169
59@ += 1
if 
  59@ > 2
goto_if_false @RYDER2_1167
59@ = 0

:RYDER2_1167
clear_all_view_variables 

:RYDER2_1169
if 
  59@ == 1
goto_if_false @RYDER2_1409
set_var_int_to_lvar_int $6879 = 34@
set_var_int_to_lvar_int $6880 = 35@
set_var_int_to_lvar_int $6881 = 134@
set_var_int_to_lvar_int $6882 = 132@
set_var_float_to_lvar_float $ryder_health = 253@
set_var_int_to_lvar_int $6884 = 49@
set_var_int_to_lvar_int $6885 = 50@
set_var_int_to_var_int $6886 = $audio_line_terminate_all
view_integer_variable $6879 {_p2} "M_STAGE"
view_integer_variable $6880 {_p2} "M_GOALS"
view_integer_variable $6881 {_p2} "RYDER_STAGE"
view_integer_variable $6882 {_p2} "WAREHOUSE_OPENED"
view_float_variable $ryder_health {_p2} "GATE2_TARGET_Z"
view_integer_variable $6884 {_p2} "DIALOGUE_FLAG"
view_integer_variable $6885 {_p2} "DIALOGUE_FLAG2"
view_integer_variable $6886 {_p2} "AUDIO_LINE_IS_ACTIVE"

:RYDER2_1409
if 
  59@ == 2
goto_if_false @RYDER2_1571
set_var_int_to_lvar_int $6879 = 279@
set_var_int_to_lvar_int $6880 = 127@
set_var_int_to_lvar_int $6881 = 336@
set_var_int_to_lvar_int $6882 = TIMERA
set_var_int_to_lvar_int $ry2_view_debug_f = 51@
view_integer_variable $6879 {_p2} "RYDER_GET_BOX_FLAG"
view_integer_variable $6880 {_p2} "LOADED_BOXES"
view_integer_variable $6881 {_p2} "SPAWN_THIS_MANY_GUARDS"
view_integer_variable $6882 {_p2} "TIMERA"
view_integer_variable $ry2_view_debug_f {_p2} "SPAWN_TIMER"

:RYDER2_1571
return 

:RYDER2_1573
if 
  35@ == 0
goto_if_false @RYDER2_3246
$sweet_car = 0
95@ = 0
99@ = 0
124@ = 0
125@ = 0
126@ = 0
127@ = 0
128@ = 0
129@ = 0
130@ = 0
131@ = 0
132@ = 0
133@ = 0
134@ = 0
135@ = 0
136@ = 0
137@ = 0
138@ = 0
139@ = 0
$s2_meet_z = 0
140@ = 0
143@ = 0
145@ = 0
146@ = 0
198@ = 0
199@ = 0
203@ = 0
42@ = 0

:RYDER2_1787
if 
  9 > 42@
goto_if_false @RYDER2_1830
172@(42@,9i) = 0
42@ += 1
goto @RYDER2_1787

:RYDER2_1830
120@ = 0
193@ = 0
196@ = 0
197@ = 0
307@ = 0
202@ = 0
200@ = 6
242@ = 2720.623
243@ = -2405.432
244@ = 13.989
245@ = 2774.361
246@ = -2417.829
247@ = 14.675
347@ = 2721.0
357@ = -2380.0
367@ = 16.3507
377@ = 173.3713
387@ = 2721.601
397@ = -2384.638
407@ = 16.3403
417@ = 2732.873
427@ = -2385.677
437@ = 12.625
447@ = 2763.692
457@ = -2411.258
467@ = 12.6276
348@ = 2729.35
358@ = -2451.07
368@ = 16.6007
378@ = 247.5382
388@ = 2734.908
398@ = -2451.32
408@ = 16.5938
418@ = 2735.176
428@ = -2437.915
438@ = 12.6362
448@ = 2763.772
458@ = -2428.203
468@ = 12.4725
349@ = 2748.555
359@ = -2453.049
369@ = 12.8623
379@ = 347.9489
389@ = 2748.595
399@ = -2446.587
409@ = 12.6432
419@ = 2757.586
429@ = -2434.761
439@ = 12.4876
449@ = 2766.158
459@ = -2432.014
469@ = 12.6485
350@ = 2793.516
360@ = -2394.284
370@ = 12.8623
380@ = 178.5569
390@ = 2793.473
400@ = -2398.662
410@ = 12.6323
420@ = 2799.573
430@ = -2403.292
440@ = 12.6308
450@ = 2799.251
460@ = -2410.985
470@ = 12.6309
351@ = 2721.0
361@ = -2380.0
371@ = 16.3507
381@ = 186.1396
391@ = 2721.502
401@ = -2383.609
411@ = 16.3403
421@ = 2733.744
431@ = -2386.227
441@ = 12.625
451@ = 2754.885
461@ = -2409.502
471@ = 12.5104
352@ = 2729.35
362@ = -2451.07
372@ = 16.6007
382@ = 246.8993
392@ = 2734.468
402@ = -2450.824
412@ = 16.5938
422@ = 2735.573
432@ = -2436.667
442@ = 12.6361
452@ = 2759.36
462@ = -2420.356
472@ = 12.4948
353@ = 2748.551
363@ = -2452.828
373@ = 12.8623
383@ = 339.2833
393@ = 2750.67
403@ = -2442.944
413@ = 12.6432
423@ = 2758.147
433@ = -2440.491
443@ = 12.4936
453@ = 2769.029
463@ = -2430.337
473@ = 12.6485
354@ = 2793.638
364@ = -2395.227
374@ = 12.8623
384@ = 170.3273
394@ = 2793.903
404@ = -2399.063
414@ = 12.6322
424@ = 2799.384
434@ = -2403.474
444@ = 12.6309
454@ = 2799.41
464@ = -2414.336
474@ = 12.6309
355@ = 2799.764
365@ = -2433.002
375@ = 12.6308
385@ = 358.8697
395@ = 2799.902
405@ = -2425.694
415@ = 12.6307
425@ = 2796.654
435@ = -2420.463
445@ = 12.6315
455@ = 2786.01
465@ = -2414.445
475@ = 12.6341
356@ = 2800.008
366@ = -2432.285
376@ = 12.6307
386@ = 2.0796
396@ = 2800.023
406@ = -2426.153
416@ = 12.6307
426@ = 2790.801
436@ = -2421.917
446@ = 12.633
456@ = 2786.337
466@ = -2421.433
476@ = 12.634
35@ += 1

:RYDER2_3246
if 
  35@ == 1
goto_if_false @RYDER2_3282
Text.LoadMissionText('RYDER2')
35@ += 1

:RYDER2_3282
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
237@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
236@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
235@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
238@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1823)

:RYDER2_3333
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @RYDER2_3359
wait 0
goto @RYDER2_3333

:RYDER2_3359
if 
  35@ == 2
goto_if_false @RYDER2_3391
Game.SetWantedMultiplier(0.2)
35@ = 99

:RYDER2_3391
if 
  35@ == 99
goto_if_false @RYDER2_3423
34@ += 1
35@ = 0

:RYDER2_3423
return 

:RYDER2_3425
if 
  35@ == 0
goto_if_false @RYDER2_3581
World.ClearArea(2463.475, -1713.428, 12.5025, 20.0, True)
Cutscene.Load('RYDER2A')

:RYDER2_3478
if 
  not Cutscene.HasLoaded
goto_if_false @RYDER2_3502
wait 0
goto @RYDER2_3478

:RYDER2_3502
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:RYDER2_3511
if 
  not Cutscene.HasFinished
goto_if_false @RYDER2_3535
wait 0
goto @RYDER2_3511

:RYDER2_3535
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:RYDER2_3548
if 
  Camera.GetFadingStatus
goto_if_false @RYDER2_3572
wait 0
goto @RYDER2_3548

:RYDER2_3572
Cutscene.Clear
35@ += 1

:RYDER2_3581
if 
  35@ == 1
goto_if_false @RYDER2_4528
CarGenerator.Switch($gen_car10, 0)
World.ClearArea(2472.81, -1690.97, 12.53, 5.0, True)
Streaming.RequestModel(414)
Streaming.LoadSpecialCharacter(1, 'RYDER2')
Streaming.RequestModel(346)

:RYDER2_3653
if or
  not Streaming.HasModelLoaded(414)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(346)
goto_if_false @RYDER2_3689
wait 0
goto @RYDER2_3653

:RYDER2_3689
Player.SetGroupToFollowAlways($statbike_temp, True)
Car.SetModelComponents(414, -1, -1)
95@ = Car.Create(414, 2475.908, -1679.621, 12.3447)
Car.SetHeading(95@, 69.0573)
Blip.Remove(119@)
119@ = Blip.AddForCar(95@)
Blip.SetAsFriendly(119@, True)
Car.SetCanBurstTires(95@, False)
Car.DoesProvideCover(95@, False)
CarGenerator.SuppressCarModel(414)
$sweet_car = Char.CreateAsPassenger(95@, PedType.Mission2, 290, 0)
Char.SetGetOutUpsideDownCar($sweet_car, False)
Char.GiveWeapon($sweet_car, WeaponType.Pistol, 99999)
Char.SetAccuracy($sweet_car, 70)
Char.SetMaxHealth($sweet_car, 500)
Char.SetHealth($sweet_car, 500)
Task.TogglePedThreatScanner($sweet_car, False, False, False)
Char.SetNeverTargeted($sweet_car, True)
Char.SetSuffersCriticalHits($sweet_car, False)
Char.SetAnimGroup($sweet_car, "GANG1")
Char.SetDecisionMaker($sweet_car, 235@)
DecisionMakerChar.ClearEventResponse(235@, 79)
Task.LookAtChar($sweet_car, $stattreadstamina_ctr, 999999)
Text.PrintNow('RY2_03', 7000, 1)
49@ = 0
Char.SetCantBeDraggedOut($sweet_car, True)
Char.SetAnimGroup($sweet_car, "MAN")
Char.SetCoordinates($stattreadstamina_ctr, 2474.87, -1698.465, 12.521)
Char.SetHeading($stattreadstamina_ctr, 4.8941)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(0, Fade.In)

:RYDER2_3979
if 
  Camera.GetFadingStatus
goto_if_false @RYDER2_4003
wait 0
goto @RYDER2_3979

:RYDER2_4003
Player.SetControl($statbike_temp, True)
TIMERA = 0
240@ = Object.CreateNoOffset(#KMB_FRONTGATE, 242@, 243@, 244@)
248@, 249@, 250@ = Object.GetOffsetInWorldCoords(240@, 0.0, 10.0, 0.0)
241@ = Object.CreateNoOffset(#WAREHOUSE_DOOR2B, 245@, 246@, 247@)
251@, 252@, 253@ = Object.GetOffsetInWorldCoords(241@, 0.0, 0.0, 4.0)
257@ = Object.CreateNoOffset(#KMB_FRONTGATE, 2720.623, -2504.023, 13.989)
254@, 255@, 256@ = Object.GetOffsetInWorldCoords(257@, 0.0, 10.0, 0.0)
258@ = Object.CreateNoOffset(#WAREHOUSE_DOOR2B, 2774.361, -2493.922, 14.675)
259@ = Object.CreateNoOffset(#WAREHOUSE_DOOR2B, 2774.361, -2455.925, 14.675)
87@ = Object.CreateNoOffset(#WAREHOUSE_DOOR1, 2799.75, -2405.394, 14.58)
88@ = Object.CreateNoOffset(#WAREHOUSE_DOOR1, 2799.75, -2430.215, 14.58)
89@ = Object.CreateNoOffset(#WAREHOUSE_DOOR1, 2799.75, -2443.487, 14.58)
90@ = Object.CreateNoOffset(#WAREHOUSE_DOOR1, 2799.75, -2468.254, 14.58)
91@ = Object.CreateNoOffset(#WAREHOUSE_DOOR1, 2799.75, -2481.711, 14.58)
92@ = Object.CreateNoOffset(#WAREHOUSE_DOOR1, 2799.75, -2506.313, 14.58)
42@ = 0

:RYDER2_4352
if 
  6 > 42@
goto_if_false @RYDER2_4395
Object.FreezePosition(87@(42@,6i), True)
42@ += 1
goto @RYDER2_4352

:RYDER2_4395
60@ = Object.Create(#SEC_KEYPAD, 2720.475, -2411.856, 13.8768)
Object.SetHeading(60@, 90.0)
Object.SetHealth(60@, 10)
Object.FreezePosition(60@, True)
Object.SetCollision(60@, False)
61@ = Object.Create(#SEC_KEYPAD, 2774.148, -2423.23, 14.2684)
Object.SetHeading(61@, 270.0)
Object.SetHealth(61@, 10)
Object.FreezePosition(61@, True)
Object.SetCollision(61@, False)
Audio.SetRadioChannel(RadioChannel.RadioLosSantos)
49@ = 0
TIMERA = 0
35@ += 1

:RYDER2_4528
if 
  35@ == 2
goto_if_false @RYDER2_4689
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_4689
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_4689
if 
  Char.IsInCar($stattreadstamina_ctr, 95@)
goto_if_false @RYDER2_4689
Blip.Remove(120@)
120@ = Blip.AddForCoord(2699.293, -2395.013, 12.6172)
Text.PrintNow('RY2_02', 7000, 1)
54@ = 0
35@ += 1
49@ = 0
50@ = 0
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_4689
Char.ClearLookAt($sweet_car)

:RYDER2_4689
if 
  35@ == 3
goto_if_false @RYDER2_6394
if 
  58@ == 1
goto_if_false @RYDER2_4762
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @RYDER2_4762
Char.SetCoordinates($stattreadstamina_ctr, 2699.293, -2395.013, 12.6172)

:RYDER2_4762
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_4919
if 
  Blip.DoesExist(120@)
goto_if_false @RYDER2_4919
if 
  Car.Locate3D(95@, 2699.293, -2395.013, 12.6172, 4.0, 4.0, 4.0, True)
goto_if_false @RYDER2_4919
if 
  Char.IsInCar($stattreadstamina_ctr, 95@)
goto_if_false @RYDER2_4919
if 
  Car.IsOnAllWheels(95@)
goto_if_false @RYDER2_4919
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)
Player.SetControl($statbike_temp, False)
Blip.Remove(120@)
35@ = 99

:RYDER2_4919
if 
  54@ > 7500
goto_if_false @RYDER2_6394
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_6394
if 
  Char.IsInAnyCar($sweet_car)
goto_if_false @RYDER2_6394
$stealth_help_flag = Char.StoreCarIsIn($sweet_car)
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @RYDER2_6394
if 
  Char.IsInCar($stattreadstamina_ctr, $stealth_help_flag)
goto_if_false @RYDER2_6394
if 
  TIMERB > 1000
goto_if_false @RYDER2_6394
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_6394
switch_start 50@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @RYDER2_6394 {caseNum1} 0 {caseLabel1} @RYDER2_5178 {caseNum2} 1 {caseLabel2} @RYDER2_5255 {caseNum3} 2 {caseLabel3} @RYDER2_5383 {caseNum4} 3 {caseLabel4} @RYDER2_5511 {caseNum5} 4 {caseLabel5} @RYDER2_5639 {caseNum6} 5 {caseLabel6} @RYDER2_5767 {caseNum7} 6 {caseLabel7} @RYDER2_5895
switch_continued 7 {caseLabel1} @RYDER2_6023 {caseNum2} 8 {caseLabel2} @RYDER2_6151 {caseNum3} 9 {caseLabel3} @RYDER2_6279 {caseNum4} -1 {caseLabel4} @RYDER2_6394 {caseNum5} -1 {caseLabel5} @RYDER2_6394 {caseNum6} -1 {caseLabel6} @RYDER2_6394 {caseNum7} -1 {caseLabel7} @RYDER2_6394 {caseNum8} -1 {caseLabel8} @RYDER2_6394 {caseNum9} -1 {caseLabel9} @RYDER2_6394

:RYDER2_5178
set_var_text_label s$bd_future_time_shown = 'RYD2_AA'
set_var_int_to_constant $bd_x = 33800
start_new_script @AUDIOL $sweet_car 0 0 2 0 
50@ += 1
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33805)
goto @RYDER2_6394

:RYDER2_5255
set_var_text_label s$bd_future_time_shown = 'RYD2_CA'
set_var_int_to_constant $bd_x = 33805
if 
  49@ == 0
goto_if_false @RYDER2_5323
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 1 
goto @RYDER2_5349

:RYDER2_5323
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 0 
49@ = 0

:RYDER2_5349
50@ += 1
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33806)
goto @RYDER2_6394

:RYDER2_5383
set_var_text_label s$bd_future_time_shown = 'RYD2_CB'
set_var_int_to_constant $bd_x = 33806
if 
  49@ == 0
goto_if_false @RYDER2_5451
start_new_script @AUDIOL $sweet_car 0 0 2 1 
goto @RYDER2_5477

:RYDER2_5451
start_new_script @AUDIOL $sweet_car 0 0 2 0 
49@ = 0

:RYDER2_5477
50@ += 1
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33807)
goto @RYDER2_6394

:RYDER2_5511
set_var_text_label s$bd_future_time_shown = 'RYD2_CC'
set_var_int_to_constant $bd_x = 33807
if 
  49@ == 0
goto_if_false @RYDER2_5579
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 1 
goto @RYDER2_5605

:RYDER2_5579
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 0 
49@ = 0

:RYDER2_5605
50@ += 1
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33808)
goto @RYDER2_6394

:RYDER2_5639
set_var_text_label s$bd_future_time_shown = 'RYD2_CD'
set_var_int_to_constant $bd_x = 33808
if 
  49@ == 0
goto_if_false @RYDER2_5707
start_new_script @AUDIOL $sweet_car 0 0 2 1 
goto @RYDER2_5733

:RYDER2_5707
start_new_script @AUDIOL $sweet_car 0 0 2 0 
49@ = 0

:RYDER2_5733
50@ += 1
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33809)
goto @RYDER2_6394

:RYDER2_5767
set_var_text_label s$bd_future_time_shown = 'RYD2_CE'
set_var_int_to_constant $bd_x = 33809
if 
  49@ == 0
goto_if_false @RYDER2_5835
start_new_script @AUDIOL $sweet_car 0 0 1 1 
goto @RYDER2_5861

:RYDER2_5835
start_new_script @AUDIOL $sweet_car 0 0 1 0 
49@ = 0

:RYDER2_5861
50@ += 1
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33810)
goto @RYDER2_6394

:RYDER2_5895
set_var_text_label s$bd_future_time_shown = 'RYD2_CF'
set_var_int_to_constant $bd_x = 33810
if 
  49@ == 0
goto_if_false @RYDER2_5963
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 2 1 
goto @RYDER2_5989

:RYDER2_5963
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 2 0 
49@ = 0

:RYDER2_5989
50@ += 1
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33811)
goto @RYDER2_6394

:RYDER2_6023
set_var_text_label s$bd_future_time_shown = 'RYD2_CG'
set_var_int_to_constant $bd_x = 33811
if 
  49@ == 0
goto_if_false @RYDER2_6091
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 1 
goto @RYDER2_6117

:RYDER2_6091
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 0 
49@ = 0

:RYDER2_6117
50@ += 1
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33812)
goto @RYDER2_6394

:RYDER2_6151
set_var_text_label s$bd_future_time_shown = 'RYD2_CH'
set_var_int_to_constant $bd_x = 33812
if 
  49@ == 0
goto_if_false @RYDER2_6219
start_new_script @AUDIOL $sweet_car 0 0 2 1 
goto @RYDER2_6245

:RYDER2_6219
start_new_script @AUDIOL $sweet_car 0 0 2 0 
49@ = 0

:RYDER2_6245
50@ += 1
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33813)
goto @RYDER2_6394

:RYDER2_6279
set_var_text_label s$bd_future_time_shown = 'RYD2_CJ'
set_var_int_to_constant $bd_x = 33813
if 
  49@ == 0
goto_if_false @RYDER2_6347
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 1 
goto @RYDER2_6373

:RYDER2_6347
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 0 
49@ = 0

:RYDER2_6373
50@ += 1
TIMERB = 0
goto @RYDER2_6394

:RYDER2_6394
if 
  35@ == 99
goto_if_false @RYDER2_6426
35@ = 0
34@ += 1

:RYDER2_6426
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_6996
if 
  not Char.IsInCar($stattreadstamina_ctr, 95@)
goto_if_false @RYDER2_6913
if 
  not Blip.DoesExist(119@)
goto_if_false @RYDER2_6539
Blip.Remove(119@)
119@ = Blip.AddForCar(95@)
Blip.SetAsFriendly(119@, True)
Blip.Remove(120@)
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_6531
Task.LookAtChar($sweet_car, $stattreadstamina_ctr, 999999)

:RYDER2_6531
TIMERA = 20001

:RYDER2_6539
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_6906
if 
  TIMERA > 60000
goto_if_false @RYDER2_6608
Text.PrintNow('RY2_03', 7000, 1)
49@ = 0
TIMERA = 0

:RYDER2_6608
if 
  35@ > 2
goto_if_false @RYDER2_6906
if 
  TIMERA > 5000
goto_if_false @RYDER2_6906
if 
  49@ == 0
goto_if_false @RYDER2_6906
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_6906
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $sweet_car, 15.0, 15.0, 15.0, False)
goto_if_false @RYDER2_6906
42@ = Math.RandomIntInRange(0, 3)
switch_start 42@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @RYDER2_6880 {caseNum1} 0 {caseLabel1} @RYDER2_6787 {caseNum2} 1 {caseLabel2} @RYDER2_6818 {caseNum3} 2 {caseLabel3} @RYDER2_6849 {caseNum4} -1 {caseLabel4} @RYDER2_6880 {caseNum5} -1 {caseLabel5} @RYDER2_6880 {caseNum6} -1 {caseLabel6} @RYDER2_6880 {caseNum7} -1 {caseLabel7} @RYDER2_6880

:RYDER2_6787
set_var_text_label s$bd_future_time_shown = 'RYD2_BA'
set_var_int_to_constant $bd_x = 33802
goto @RYDER2_6880

:RYDER2_6818
set_var_text_label s$bd_future_time_shown = 'RYD2_BB'
set_var_int_to_constant $bd_x = 33803
goto @RYDER2_6880

:RYDER2_6849
set_var_text_label s$bd_future_time_shown = 'RYD2_BC'
set_var_int_to_constant $bd_x = 33804
goto @RYDER2_6880

:RYDER2_6880
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ += 1

:RYDER2_6906
goto @RYDER2_6996

:RYDER2_6913
if 
  Blip.DoesExist(119@)
goto_if_false @RYDER2_6996
Blip.Remove(119@)
if 
  not Blip.DoesExist(120@)
goto_if_false @RYDER2_6996
Blip.Remove(120@)
120@ = Blip.AddForCoord(2699.293, -2395.013, 12.6172)
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_6996
Char.ClearLookAt($sweet_car)

:RYDER2_6996
return 

:RYDER2_6998
if 
  35@ == 0
goto_if_false @RYDER2_7039
Text.ClearPrints
Player.SetControl($statbike_temp, False)
49@ = -1
35@ += 1

:RYDER2_7039
if 
  35@ == 1
goto_if_false @RYDER2_7096
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_7096
if 
  Car.IsStopped(95@)
goto_if_false @RYDER2_7096
35@ += 1

:RYDER2_7096
if 
  35@ == 2
goto_if_false @RYDER2_8829
Camera.DoFade(500, Fade.Out)

:RYDER2_7121
if 
  Camera.GetFadingStatus
goto_if_false @RYDER2_7145
wait 0
goto @RYDER2_7121

:RYDER2_7145
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_7191
Car.SetCoordinates(95@, 2699.623, -2394.787, 12.6172)
Car.SetHeading(95@, 267.9095)

:RYDER2_7191
World.ClearArea(2720.611, -2405.38, 12.4609, 30.0, True)
World.ClearArea(2768.74, -2413.788, 12.6172, 30.0, True)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2688.57, -2394.186, 17.6992, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2689.455, -2394.599, 17.4888, SwitchType.JumpCut)
Streaming.RequestModel(#CJ_CARDBRD_PICKUP)
Streaming.RequestModel(287)
Streaming.RequestModel(346)
Streaming.RequestModel(530)
Streaming.LoadAllModelsNow

:RYDER2_7316
if or
  not Streaming.HasModelLoaded(#CJ_CARDBRD_PICKUP)
  not Streaming.HasModelLoaded(287)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(530)
goto_if_false @RYDER2_7358
wait 0
goto @RYDER2_7316

:RYDER2_7358
66@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2796.875, -2417.142, 13.23)
67@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2798.009, -2417.107, 13.23)
68@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2796.9, -2418.31, 13.23)
69@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2798.013, -2418.325, 13.23)
73@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2799.886, -2381.203, 13.23)
74@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2799.958, -2379.72, 13.23)
75@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2763.531, -2401.935, 13.23)
76@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2802.75, -2449.835, 13.23)
77@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2802.915, -2448.575, 13.23)
78@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2802.906, -2446.827, 13.23)
79@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2788.932, -2431.271, 13.23)
80@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2790.398, -2431.336, 13.23)
81@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2778.698, -2442.433, 13.23)
82@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2763.565, -2400.641, 13.23)
83@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2780.851, -2392.737, 13.23)
84@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2795.094, -2469.49, 13.23)
85@ = Object.CreateNoOffset(#CJ_CARDBRD_PICKUP, 2803.067, -2428.38, 13.23)
Object.SetHeading(66@, 91.9411)
Object.SetHeading(67@, 0.032)
Object.SetHeading(68@, 89.8612)
Object.SetHeading(69@, 1.6342)
Object.SetHeading(73@, 6.8174)
Object.SetHeading(74@, 19.1807)
Object.SetHeading(75@, 339.113)
Object.SetHeading(76@, 352.3154)
Object.SetHeading(77@, 2.8386)
Object.SetHeading(78@, 3.2099)
Object.SetHeading(79@, 266.6248)
Object.SetHeading(80@, 4.6663)
Object.SetHeading(81@, 175.8277)
Object.SetHeading(82@, 344.0064)
Object.SetHeading(83@, 355.9493)
Object.SetHeading(84@, 1.9283)
Object.SetHeading(85@, 358.0803)
42@ = 0

:RYDER2_7926
if 
  25 > 42@
goto_if_false @RYDER2_8042
wait 0
if 
  Object.DoesExist(62@(42@,25i))
goto_if_false @RYDER2_8028
Object.SetDynamic(62@(42@,25i), True)
43@ = Math.RandomIntInRange(1, 8)
Object.SetMass(62@(42@,25i), 1000.0)
Object.SetTurnMass(62@(42@,25i), 1000.0)
set_lvar_int_to_lvar_int 147@(42@,25i) = 43@

:RYDER2_8028
42@ += 1
goto @RYDER2_7926

:RYDER2_8042
102@ = Char.Create(PedType.Mission1, 287, 2773.722, -2423.388, 12.6311)
Char.SetHeading(102@, 68.8849)
204@, 205@, 206@ = Char.GetOffsetInWorldCoords(102@, 0.0, 1.5, 0.0)
103@ = Char.Create(PedType.Mission1, 287, 2721.944, -2411.565, 12.6198)
Char.SetHeading(103@, 0.0)
104@ = Char.Create(PedType.Mission1, 287, 2789.524, -2416.372, 12.6333)
Char.SetHeading(104@, 202.4407)
105@ = Char.Create(PedType.Mission1, 287, 2790.231, -2418.837, 12.6331)
Char.SetHeading(105@, 23.3411)
106@ = Char.Create(PedType.Mission1, 287, 2774.911, -2404.303, 12.6311)
Char.SetHeading(106@, 77.8711)
239@ = Group.Create(DefaultTaskAllocator.StandStill)
42@ = 0

:RYDER2_8260
if 
  5 > 42@
goto_if_false @RYDER2_8452
Char.GiveWeapon(102@(42@,9i), WeaponType.Pistol, 99999)
Char.SetAccuracy(102@(42@,9i), 35)
Char.SetHealth(102@(42@,9i), 100)
Task.TogglePedThreatScanner(102@(42@,9i), False, False, False)
Char.SetDecisionMaker(102@(42@,9i), 236@)
Char.SetSenseRange(102@(42@,9i), 100.0)
if 
  42@ == 0
goto_if_false @RYDER2_8390
Group.SetLeader(239@, 102@)
goto @RYDER2_8427

:RYDER2_8390
if and
  42@ <> 2
  42@ <> 3
goto_if_false @RYDER2_8427
Group.SetMember(239@, 102@(42@,9i))

:RYDER2_8427
Char.SetNeverLeavesGroup(102@(42@,9i), True)
42@ += 1
goto @RYDER2_8260

:RYDER2_8452
if 
  not Char.IsDead(104@)
goto_if_false @RYDER2_8476
Char.SetDecisionMaker(104@, 237@)

:RYDER2_8476
if 
  not Char.IsDead(105@)
goto_if_false @RYDER2_8500
Char.SetDecisionMaker(105@, 237@)

:RYDER2_8500
99@ = Car.Create(530, 2791.426, -2418.577, 12.66)
Car.SetHeading(99@, 90.0)
Streaming.MarkModelAsNoLongerNeeded(530)
Car.SetProofs(99@, True, False, False, False, False)
Car.SetCoordinates(99@, 2758.241, -2372.314, 12.6172)
Car.SetHeading(99@, 180.3774)
Car.SetCanBurstTires(99@, False)
Car.SetHealth(99@, 3000)
112@ = Char.CreateInsideCar(99@, PedType.Mission1, 287)
Streaming.RequestModel(500)

:RYDER2_8616
if 
  not Streaming.HasModelLoaded(500)
goto_if_false @RYDER2_8643
wait 0
goto @RYDER2_8616

:RYDER2_8643
98@ = Car.Create(500, 2688.963, -2407.676, 12.4609)
Car.SetHeading(98@, 270.0)
111@ = Char.CreateInsideCar(98@, PedType.Mission1, 287)
Car.GotoCoordinatesAccurate(98@, 2712.854, -2407.825, 12.4684)
Streaming.MarkModelAsNoLongerNeeded(500)
Car.ChangeColor(98@, 37, 37)
if 
  not Char.IsDead(106@)
goto_if_false @RYDER2_8784
Path.FlushRoute
Path.ExtendRoute(2776.531, -2401.042, 12.625)
Path.ExtendRoute(2798.933, -2400.343, 12.631)
Task.FollowPointRoute(106@, 4, RouteMode.Loop)

:RYDER2_8784
Camera.DoFade(500, Fade.In)

:RYDER2_8791
if 
  Camera.GetFadingStatus
goto_if_false @RYDER2_8815
wait 0
goto @RYDER2_8791

:RYDER2_8815
TIMERA = 0
35@ += 1

:RYDER2_8829
if 
  35@ == 3
goto_if_false @RYDER2_9099
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_9099
if 
  not Car.IsDead(98@)
goto_if_false @RYDER2_9099
if 
  Car.Locate3D(98@, 2712.854, -2407.825, 12.4684, 15.0, 15.0, 15.0, False)
goto_if_false @RYDER2_9099
Camera.SetFixedPosition(2700.626, -2392.21, 14.9203, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2701.092, -2393.088, 14.8109, SwitchType.JumpCut)
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_9024
Car.GotoCoordinatesAccurate(99@, 2768.74, -2413.788, 12.6172)
Car.SetStraightLineDistance(99@, 200)

:RYDER2_9024
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_9078
if 
  not Car.IsDead(98@)
goto_if_false @RYDER2_9078
Task.LookAtVehicle($sweet_car, 98@, 5000)
Task.LookAtVehicle($stattreadstamina_ctr, 98@, 6000)

:RYDER2_9078
TIMERA = 0
49@ += 1
35@ += 1

:RYDER2_9099
if 
  35@ == 4
goto_if_false @RYDER2_9219
if 
  not Car.IsDead(98@)
goto_if_false @RYDER2_9219
if 
  Car.LocateStopped3D(98@, 2712.854, -2407.825, 12.4684, 4.0, 4.0, 4.0, False)
goto_if_false @RYDER2_9219
35@ += 1
if 
  Object.DoesExist(240@)
goto_if_false @RYDER2_9212
Audio.ReportMissionAudioEventAtObject(240@, 1126)

:RYDER2_9212
TIMERA = 0

:RYDER2_9219
if 
  35@ == 5
goto_if_false @RYDER2_9310
if 
  Object.DoesExist(240@)
goto_if_false @RYDER2_9310
if 
  Object.Slide(240@, 248@, 249@, 250@, 0.0, 0.2, 0.0, False)
goto_if_false @RYDER2_9310
35@ += 1
Audio.ReportMissionAudioEventAtObject(240@, 1127)

:RYDER2_9310
if 
  35@ == 6
goto_if_false @RYDER2_9484
if 
  not Car.IsDead(98@)
goto_if_false @RYDER2_9484
Camera.SetFixedPosition(2723.094, -2413.245, 14.2659, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2722.548, -2412.414, 14.1704, SwitchType.JumpCut)
Car.GotoCoordinates(98@, 2758.492, -2454.51, 12.4766)
if 
  not Char.IsDead(102@)
goto_if_false @RYDER2_9441
Char.SetHeading(102@, 275.0)

:RYDER2_9441
if 
  not Char.IsDead(103@)
goto_if_false @RYDER2_9470
Task.LookAtVehicle(103@, 98@, 999999)

:RYDER2_9470
35@ += 1
TIMERA = 0

:RYDER2_9484
if 
  35@ == 7
goto_if_false @RYDER2_9593
if 
  TIMERA > 2500
goto_if_false @RYDER2_9593
Camera.SetFixedPosition(2770.979, -2426.933, 13.3413, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2771.185, -2425.977, 13.5536, SwitchType.JumpCut)
TIMERA = 0
201@ = 0
35@ += 1

:RYDER2_9593
if 
  35@ == 8
goto_if_false @RYDER2_9875
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_9810
if 
  Car.LocateStopped3D(99@, 2768.74, -2413.788, 12.6172, 4.0, 4.0, 4.0, False)
goto_if_false @RYDER2_9810
if 
  not Char.IsDead(102@)
goto_if_false @RYDER2_9810
48@ = Sequence.Open()
Task.TurnCharToFaceCoord(-1, 2774.267, -2423.22, 14.3429)
Task.PlayAnim(-1, "ATM", "PED", 4.0, False, False, False, False, 1000)
Task.GoStraightToCoord(-1, 2773.722, -2423.388, 12.6311, MoveState.Walk, 5000)
Task.AchieveHeading(-1, 90.0)
Sequence.Close(48@)
Char.PerformSequence(102@, 48@)
Sequence.Clear(48@)
TIMERA = 0
35@ += 1

:RYDER2_9810
if 
  TIMERA > 10000
goto_if_false @RYDER2_9875
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_9875
Car.SetCoordinates(99@, 2768.74, -2413.788, 12.6172)
Car.SetHeading(99@, 225.6142)

:RYDER2_9875
if 
  35@ == 9
goto_if_false @RYDER2_10105
if 
  not Char.IsDead(102@)
goto_if_false @RYDER2_10105
if 
  Char.IsPlayingAnim(102@, "ATM")
goto_if_false @RYDER2_10030
if 
  201@ == 0
goto_if_false @RYDER2_9962
TIMERB = 0
201@ += 1

:RYDER2_9962
if 
  201@ == 1
goto_if_false @RYDER2_10030
if 
  TIMERB > 500
goto_if_false @RYDER2_10030
if 
  Object.DoesExist(61@)
goto_if_false @RYDER2_10030
Audio.ReportMissionAudioEventAtObject(61@, 1028)
201@ += 1

:RYDER2_10030
42@ = Char.GetScriptTaskStatus(102@, 1560)
if or
  is_int_lvar_equal_to_constant 42@ == 7
  TIMERA > 4000
goto_if_false @RYDER2_10105
TIMERA = 0
if 
  Object.DoesExist(241@)
goto_if_false @RYDER2_10098
Audio.ReportMissionAudioEventAtObject(241@, 1035)

:RYDER2_10098
35@ += 1

:RYDER2_10105
if 
  35@ == 10
goto_if_false @RYDER2_10239
if 
  Object.DoesExist(241@)
goto_if_false @RYDER2_10239
if 
  Object.Slide(241@, 251@, 252@, 253@, 0.0, 0.0, 0.1, False)
goto_if_false @RYDER2_10239
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_10239
Car.GotoCoordinates(99@, 2785.354, -2416.744, 12.6187)
TIMERA = 0
Audio.ReportMissionAudioEventAtObject(241@, 1036)
35@ += 1

:RYDER2_10239
if 
  35@ == 11
goto_if_false @RYDER2_10307
if 
  TIMERA > 4000
goto_if_false @RYDER2_10307
if 
  Object.DoesExist(241@)
goto_if_false @RYDER2_10300
Audio.ReportMissionAudioEventAtObject(241@, 1035)

:RYDER2_10300
35@ += 1

:RYDER2_10307
if 
  35@ == 12
goto_if_false @RYDER2_10398
if 
  Object.DoesExist(241@)
goto_if_false @RYDER2_10398
if 
  Object.Slide(241@, 245@, 246@, 247@, 0.0, 0.0, 0.2, False)
goto_if_false @RYDER2_10398
Audio.ReportMissionAudioEventAtObject(241@, 1036)
35@ += 1

:RYDER2_10398
if 
  35@ == 13
goto_if_false @RYDER2_10449
if and
  TIMERA > 2000
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_10449
35@ = 99

:RYDER2_10449
if 
  TIMERB > 1000
goto_if_false @RYDER2_11105
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_11105
switch_start 49@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @RYDER2_11105 {caseNum1} 0 {caseLabel1} @RYDER2_10614 {caseNum2} 1 {caseLabel2} @RYDER2_10691 {caseNum3} 2 {caseLabel3} @RYDER2_10712 {caseNum4} 3 {caseLabel4} @RYDER2_10789 {caseNum5} 4 {caseLabel5} @RYDER2_10866 {caseNum6} 5 {caseLabel6} @RYDER2_10943 {caseNum7} 6 {caseLabel7} @RYDER2_11020
switch_continued 7 {caseLabel1} @RYDER2_11041 {caseNum2} -1 {caseLabel2} @RYDER2_11105 {caseNum3} -1 {caseLabel3} @RYDER2_11105 {caseNum4} -1 {caseLabel4} @RYDER2_11105 {caseNum5} -1 {caseLabel5} @RYDER2_11105 {caseNum6} -1 {caseLabel6} @RYDER2_11105 {caseNum7} -1 {caseLabel7} @RYDER2_11105 {caseNum8} -1 {caseLabel8} @RYDER2_11105 {caseNum9} -1 {caseLabel9} @RYDER2_11105

:RYDER2_10614
set_var_text_label s$bd_future_time_shown = 'RYD2_DA'
set_var_int_to_constant $bd_x = 33814
start_new_script @AUDIOL $sweet_car 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33815)
49@ += 1
TIMERB = 0
goto @RYDER2_11105

:RYDER2_10691
49@ += 1
TIMERB = 0
goto @RYDER2_11105

:RYDER2_10712
set_var_text_label s$bd_future_time_shown = 'RYD2_DB'
set_var_int_to_constant $bd_x = 33815
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33816)
49@ += 1
TIMERB = 0
goto @RYDER2_11105

:RYDER2_10789
set_var_text_label s$bd_future_time_shown = 'RYD2_DC'
set_var_int_to_constant $bd_x = 33816
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33817)
49@ += 1
TIMERB = 0
goto @RYDER2_11105

:RYDER2_10866
set_var_text_label s$bd_future_time_shown = 'RYD2_DD'
set_var_int_to_constant $bd_x = 33817
start_new_script @AUDIOL $sweet_car 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33818)
49@ += 1
TIMERB = 0
goto @RYDER2_11105

:RYDER2_10943
set_var_text_label s$bd_future_time_shown = 'RYD2_DE'
set_var_int_to_constant $bd_x = 33818
start_new_script @AUDIOL $sweet_car 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33819)
49@ += 1
TIMERB = 0
goto @RYDER2_11105

:RYDER2_11020
49@ += 1
TIMERB = 0
goto @RYDER2_11105

:RYDER2_11041
set_var_text_label s$bd_future_time_shown = 'RYD2_DF'
set_var_int_to_constant $bd_x = 33819
start_new_script @AUDIOL $sweet_car 0 1 2 1 
49@ += 1
TIMERB = 0
goto @RYDER2_11105

:RYDER2_11105
if 
  35@ > 2
goto_if_false @RYDER2_11147
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @RYDER2_11147
35@ = 99

:RYDER2_11147
if 
  35@ == 99
goto_if_false @RYDER2_11722
Camera.DoFade(250, Fade.Out)

:RYDER2_11172
if 
  Camera.GetFadingStatus
goto_if_false @RYDER2_11196
wait 0
goto @RYDER2_11172

:RYDER2_11196
if 
  Object.DoesExist(240@)
goto_if_false @RYDER2_11220
Audio.ReportMissionAudioEventAtObject(240@, 1127)

:RYDER2_11220
if 
  Object.DoesExist(241@)
goto_if_false @RYDER2_11244
Audio.ReportMissionAudioEventAtObject(241@, 1036)

:RYDER2_11244
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_11334
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2700.758, -2392.45, 12.6172)
Char.SetHeading($stattreadstamina_ctr, 236.0759)
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_11334
Char.ClearTasksImmediately($sweet_car)
Char.WarpIntoCar($sweet_car, 95@)

:RYDER2_11334
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_11380
Car.SetCoordinates(99@, 2791.426, -2418.31, 13.66)
Car.SetHeading(99@, 270.0)

:RYDER2_11380
if 
  not Char.IsDead(112@)
goto_if_false @RYDER2_11401
Char.Delete(112@)

:RYDER2_11401
if 
  not Car.IsDead(98@)
goto_if_false @RYDER2_11447
Car.SetCoordinates(98@, 2748.055, -2394.427, 12.6419)
Car.SetHeading(98@, 174.3167)

:RYDER2_11447
if 
  not Char.IsDead(111@)
goto_if_false @RYDER2_11468
Char.Delete(111@)

:RYDER2_11468
Object.SetCoordinates(240@, 242@, 243@, 244@)
Object.SetCoordinates(241@, 245@, 246@, 247@)
42@ = 0

:RYDER2_11503
if 
  25 > 42@
goto_if_false @RYDER2_11612
if 
  Object.DoesExist(62@(42@,25i))
goto_if_false @RYDER2_11598
Object.FreezePosition(62@(42@,25i), False)
Object.SetVelocity(62@(42@,25i), 0.0, 0.0, 0.0)
Object.SetDynamic(62@(42@,25i), False)
Object.SetCollision(62@(42@,25i), True)

:RYDER2_11598
42@ += 1
goto @RYDER2_11503

:RYDER2_11612
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_11637
Car.PopDoor(95@, CarDoor.Trunk, False)

:RYDER2_11637
if 
  not Char.IsDead(103@)
goto_if_false @RYDER2_11658
Char.ClearLookAt(103@)

:RYDER2_11658
Game.SwitchEmergencyServices(False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(250, Fade.In)

:RYDER2_11677
if 
  Camera.GetFadingStatus
goto_if_false @RYDER2_11701
wait 0
goto @RYDER2_11677

:RYDER2_11701
Player.SetControl($statbike_temp, True)
35@ = 0
34@ += 1

:RYDER2_11722
return 

:RYDER2_11724
if 
  35@ == 0
goto_if_false @RYDER2_11944
if 
  Object.DoesExist(60@)
goto_if_false @RYDER2_11779
Object.SetCollision(60@, True)
Object.MakeTargetable(60@, False)
Object.FreezePosition(60@, True)

:RYDER2_11779
if 
  Object.DoesExist(61@)
goto_if_false @RYDER2_11816
Object.SetCollision(61@, True)
Object.MakeTargetable(61@, False)
Object.FreezePosition(61@, True)

:RYDER2_11816
Text.Print('RY2_59', 7000, 1)
Blip.Remove(122@)
122@ = Blip.AddForCoord(2722.075, -2411.271, 12.6198)
Blip.ChangeColor(122@, BlipColor.Red)
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_11894
Car.FreezePosition(95@, True)
Car.LockDoors(95@, CarLock.LockoutPlayerOnly)

:RYDER2_11894
191@ = 0
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_11930
Task.LookAtChar($sweet_car, $stattreadstamina_ctr, 99999)

:RYDER2_11930
142@ = 0
35@ += 1

:RYDER2_11944
if 
  35@ == 1
goto_if_false @RYDER2_12542
if 
  133@ == 2
goto_if_false @RYDER2_12139
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_12132
Blip.Remove(122@)
Streaming.RequestCarRecording(523)

:RYDER2_12006
if 
  not Streaming.HasCarRecordingBeenLoaded(523)
goto_if_false @RYDER2_12033
wait 0
goto @RYDER2_12006

:RYDER2_12033
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_12057
Car.StartPlayback(95@, 523)

:RYDER2_12057
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_12078
Char.ClearLookAt($sweet_car)

:RYDER2_12078
set_var_text_label s$bd_future_time_shown = 'RYD2_GA'
set_var_int_to_constant $bd_x = 33823
start_new_script @AUDIOL $sweet_car 0 1 1 0 
wait 100
35@ = 99

:RYDER2_12132
goto @RYDER2_12542

:RYDER2_12139
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_12401
if 
  Char.LocateOnFootCar3D($stattreadstamina_ctr, 95@, 5.0, 5.0, 3.0, False)
goto_if_false @RYDER2_12401
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @RYDER2_12401
if 
  190@ == 0
goto_if_false @RYDER2_12308
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_12294
set_var_text_label s$bd_future_time_shown = 'RYD2_EA'
set_var_int_to_constant $bd_x = 33820
start_new_script @AUDIOL $sweet_car 0 1 1 0 
142@ = 0

:RYDER2_12294
190@ += 1
goto @RYDER2_12401

:RYDER2_12308
if 
  190@ == 1
goto_if_false @RYDER2_12401
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_12394
set_var_text_label s$bd_future_time_shown = 'RYD2_EB'
set_var_int_to_constant $bd_x = 33821
start_new_script @AUDIOL $sweet_car 0 1 1 0 
142@ = 0

:RYDER2_12394
190@ = 0

:RYDER2_12401
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_12542
if 
  Char.LocateAnyMeansChar3D($sweet_car, $stattreadstamina_ctr, 20.0, 20.0, 20.0, False)
goto_if_false @RYDER2_12542
if 
  142@ > 40000
goto_if_false @RYDER2_12542
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_12542
set_var_text_label s$bd_future_time_shown = 'RYD2_FA'
set_var_int_to_constant $bd_x = 33822
start_new_script @AUDIOL $sweet_car 0 1 1 0 
142@ = 0

:RYDER2_12542
if 
  35@ <> 99
goto_if_false @RYDER2_12811
if 
  38@ == 9
goto_if_false @RYDER2_12811
if and
  132@ <> 0
  133@ == 0
goto_if_false @RYDER2_12698
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2785.89, -2417.98, 14.36, 20.0, 20.0, 5.0, False)
goto_if_false @RYDER2_12691
if 
  51@ > 30000
goto_if_false @RYDER2_12691
336@ = 3
gosub @RYDER2_39981
51@ = 0

:RYDER2_12691
goto @RYDER2_12811

:RYDER2_12698
if and
  133@ == 0
  132@ == 0
goto_if_false @RYDER2_12811
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2785.89, -2417.98, 14.36, 20.0, 20.0, 5.0, False)
goto_if_false @RYDER2_12811
if 
  51@ > 30000
goto_if_false @RYDER2_12811
336@ = 3
gosub @RYDER2_39981
51@ = 0

:RYDER2_12811
if 
  35@ == 99
goto_if_false @RYDER2_12857
34@ += 1
35@ = 0
191@ = 0
336@ = 0

:RYDER2_12857
return 

:RYDER2_12859
if 
  35@ == 0
goto_if_false @RYDER2_13006
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_13006
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_13006
if 
  132@ == 0
goto_if_false @RYDER2_12999
123@ = Blip.AddForCoord(2773.101, -2423.418, 12.6269)
Blip.ChangeColor(123@, BlipColor.Red)
Text.Print('RY2_60', 7000, 1)
54@ = 0
49@ = 0
35@ += 1
goto @RYDER2_13006

:RYDER2_12999
35@ += 1

:RYDER2_13006
if 
  35@ == 1
goto_if_false @RYDER2_13092
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_13092
if 
  not Car.IsPlaybackGoingOn(95@)
goto_if_false @RYDER2_13092
Car.FreezePosition(95@, True)
49@ = 0
54@ = 20000
35@ += 1
TIMERA = 0

:RYDER2_13092
if 
  35@ == 2
goto_if_false @RYDER2_13577
if 
  132@ <> 0
goto_if_false @RYDER2_13233
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_13226
Blip.Remove(123@)
Streaming.RequestCarRecording(524)

:RYDER2_13154
if 
  not Streaming.HasCarRecordingBeenLoaded(524)
goto_if_false @RYDER2_13181
wait 0
goto @RYDER2_13154

:RYDER2_13181
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_13205
Car.StartPlayback(95@, 524)

:RYDER2_13205
TIMERA = 0
49@ = 0
35@ += 1

:RYDER2_13226
goto @RYDER2_13577

:RYDER2_13233
if 
  54@ > 20000
goto_if_false @RYDER2_13577
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_13577
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $sweet_car, 15.0, 15.0, 15.0, False)
goto_if_false @RYDER2_13577
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_13577
switch_start 49@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @RYDER2_13577 {caseNum1} 0 {caseLabel1} @RYDER2_13385 {caseNum2} 1 {caseLabel2} @RYDER2_13449 {caseNum3} 2 {caseLabel3} @RYDER2_13513 {caseNum4} -1 {caseLabel4} @RYDER2_13577 {caseNum5} -1 {caseLabel5} @RYDER2_13577 {caseNum6} -1 {caseLabel6} @RYDER2_13577 {caseNum7} -1 {caseLabel7} @RYDER2_13577

:RYDER2_13385
set_var_text_label s$bd_future_time_shown = 'RYD2_GB'
set_var_int_to_constant $bd_x = 33824
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ += 1
54@ = 0
goto @RYDER2_13577

:RYDER2_13449
set_var_text_label s$bd_future_time_shown = 'RYD2_LA'
set_var_int_to_constant $bd_x = 33833
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ += 1
54@ = 0
goto @RYDER2_13577

:RYDER2_13513
set_var_text_label s$bd_future_time_shown = 'RYD2_LE'
set_var_int_to_constant $bd_x = 33837
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ = 0
54@ = 0
goto @RYDER2_13577

:RYDER2_13577
if 
  35@ == 3
goto_if_false @RYDER2_13754
49@ = 0
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_13754
42@ = Math.RandomIntInRange(0, 2)
if 
  42@ == 0
goto_if_false @RYDER2_13704
set_var_text_label s$bd_future_time_shown = 'RYD2_HA'
set_var_int_to_constant $bd_x = 33825
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
35@ += 1
goto @RYDER2_13754

:RYDER2_13704
set_var_text_label s$bd_future_time_shown = 'RYD2_HB'
set_var_int_to_constant $bd_x = 33826
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
35@ += 1

:RYDER2_13754
if 
  35@ == 4
goto_if_false @RYDER2_13842
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_13842
if 
  not Car.IsPlaybackGoingOn(95@)
goto_if_false @RYDER2_13818
35@ = 99
goto @RYDER2_13842

:RYDER2_13818
if 
  TIMERA > 10600
goto_if_false @RYDER2_13842
Car.StopPlayback(95@)

:RYDER2_13842
if 
  35@ == 99
goto_if_false @RYDER2_13904
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_13890
Car.FreezePosition(95@, True)
Car.SetIsConsideredByPlayer(95@, False)

:RYDER2_13890
35@ = 0
34@ += 1

:RYDER2_13904
if 
  191@ == 0
goto_if_false @RYDER2_14026
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_14026
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_14026
if 
  not Char.IsInCar($sweet_car, 95@)
goto_if_false @RYDER2_14026
if 
  Car.IsPlaybackGoingOn(95@)
goto_if_false @RYDER2_14001
Car.PausePlayback(95@)
Car.FreezePosition(95@, True)

:RYDER2_14001
Task.EnterCarAsDriver($sweet_car, 95@, 10000)
TIMERA = 0
191@ += 1

:RYDER2_14026
if 
  191@ == 1
goto_if_false @RYDER2_14156
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_14130
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_14130
if 
  Char.IsInCar($sweet_car, 95@)
goto_if_false @RYDER2_14130
if 
  Car.IsPlaybackGoingOn(95@)
goto_if_false @RYDER2_14123
Car.UnpausePlayback(95@)
Car.FreezePosition(95@, False)

:RYDER2_14123
191@ = 0

:RYDER2_14130
if 
  TIMERA > 10000
goto_if_false @RYDER2_14156
191@ = 0

:RYDER2_14156
return 

:RYDER2_14158
if 
  58@ == 1
goto_if_false @RYDER2_14201
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @RYDER2_14201
set_lvar_int_to_lvar_int 127@ = 200@

:RYDER2_14201
if 
  35@ == 0
goto_if_false @RYDER2_14623
Streaming.RequestAnimation("RYDER")

:RYDER2_14228
if 
  not Streaming.HasAnimationLoaded("RYDER")
goto_if_false @RYDER2_14259
wait 0
goto @RYDER2_14228

:RYDER2_14259
266@ = 0
set_var_int_to_lvar_int $s2_random_int = 200@
Hud.DisplayNthCounterWithString($s2_random_int, CounterDisplay.Number, 2, 'RY2_21')
Hud.DisplayNthCounterWithString($s2_meet_z, CounterDisplay.Bar, 1, 'RY2_19')
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_14432
if 
  Car.IsModel(95@, 414)
goto_if_false @RYDER2_14403
260@, 261@, 262@ = Car.GetOffsetInWorldCoords(95@, 0.0, -5.5, 0.6)
263@, 264@, 265@ = Car.GetOffsetInWorldCoords(95@, 3.0, 5.5, 0.6)

:RYDER2_14403
Car.SetHeavy(95@, True)
Car.SetStrong(95@, True)
Car.SetHealth(95@, 2500)
Car.LockDoors(95@, CarLock.LockoutPlayerOnly)

:RYDER2_14432
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_14505
DecisionMakerChar.ClearEventResponse(235@, 12)
Char.SetRelationship($sweet_car, RelationshipType.Respect, PedType.Player1)
Char.SetRelationship($sweet_car, RelationshipType.Hate, PedType.Mission1)
Task.TogglePedThreatScanner($sweet_car, True, True, True)
if 
  Blip.DoesExist(119@)
goto_if_false @RYDER2_14505
Blip.Remove(119@)

:RYDER2_14505
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_14576
if 
  not Char.IsInCar($stattreadstamina_ctr, 99@)
goto_if_false @RYDER2_14576
Text.Print('RY2_55', 5000, 1)
Blip.Remove(119@)
119@ = Blip.AddForCar(99@)
Blip.SetAsFriendly(119@, True)

:RYDER2_14576
197@ = 1
267@ = 0
54@ = -4000
49@ = 0
TIMERA = 0
wait 0
35@ += 1

:RYDER2_14623
if 
  267@ == 0
goto_if_false @RYDER2_14703
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_14703
if 
  Char.IsOnFoot($sweet_car)
goto_if_false @RYDER2_14703
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_14703
Car.FreezePosition(95@, True)
267@ = 1

:RYDER2_14703
if 
  266@ == 0
goto_if_false @RYDER2_14807
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_14800
set_var_text_label s$bd_future_time_shown = 'RYD2_KB'
set_var_int_to_constant $bd_x = 33831
start_new_script @AUDIOL $sweet_car 0 1 1 0 
266@ = 1
TIMERA = 0

:RYDER2_14800
goto @RYDER2_14869

:RYDER2_14807
if 
  266@ == 1
goto_if_false @RYDER2_14869
if 
  TIMERA > 1000
goto_if_false @RYDER2_14869
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_14869
266@ = 2

:RYDER2_14869
if 
  35@ == 1
goto_if_false @RYDER2_15031
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_15031
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_15031
if and
  Char.IsInCar($stattreadstamina_ctr, 99@)
  266@ == 2
goto_if_false @RYDER2_14994
if 
  1 > 268@
goto_if_false @RYDER2_14969
268@ = 1

:RYDER2_14969
35@ += 1
TIMERA = 0
wait 0
goto @RYDER2_15031

:RYDER2_14994
if 
  Char.IsInCar($stattreadstamina_ctr, 99@)
goto_if_false @RYDER2_15031
Text.ClearThisPrint('RY2_55')
268@ = 1

:RYDER2_15031
if and
  268@ > 0
  5 > 268@
goto_if_false @RYDER2_15239
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_15239
if 
  Char.IsInCar($stattreadstamina_ctr, 99@)
goto_if_false @RYDER2_15237
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_15230
switch_start 268@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @RYDER2_15223 {caseNum1} 1 {caseLabel1} @RYDER2_15169 {caseNum2} 2 {caseLabel2} @RYDER2_15187 {caseNum3} 3 {caseLabel3} @RYDER2_15205 {caseNum4} -1 {caseLabel4} @RYDER2_15223 {caseNum5} -1 {caseLabel5} @RYDER2_15223 {caseNum6} -1 {caseLabel6} @RYDER2_15223 {caseNum7} -1 {caseLabel7} @RYDER2_15223

:RYDER2_15169
Text.PrintHelp('RY2_69')
goto @RYDER2_15223

:RYDER2_15187
Text.PrintHelp('RY2_68')
goto @RYDER2_15223

:RYDER2_15205
Text.PrintHelp('RY2_71')
goto @RYDER2_15223

:RYDER2_15223
268@ += 1

:RYDER2_15230
goto @RYDER2_15239

:RYDER2_15237
Text.ClearHelp

:RYDER2_15239
if 
  35@ == 2
goto_if_false @RYDER2_15264
35@ += 3

:RYDER2_15264
if 
  35@ == 5
goto_if_false @RYDER2_15482
if and
  not Text.IsHelpMessageBeingDisplayed
  not Text.IsMessageBeingDisplayed
goto_if_false @RYDER2_15482
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_15482
if 
  54@ > 1000
goto_if_false @RYDER2_15482
switch_start 49@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @RYDER2_15482 {caseNum1} 0 {caseLabel1} @RYDER2_15397 {caseNum2} 1 {caseLabel2} @RYDER2_15461 {caseNum3} -1 {caseLabel3} @RYDER2_15482 {caseNum4} -1 {caseLabel4} @RYDER2_15482 {caseNum5} -1 {caseLabel5} @RYDER2_15482 {caseNum6} -1 {caseLabel6} @RYDER2_15482 {caseNum7} -1 {caseLabel7} @RYDER2_15482

:RYDER2_15397
set_var_text_label s$bd_future_time_shown = 'RYD2_KA'
set_var_int_to_constant $bd_x = 33830
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ += 1
54@ = 0
goto @RYDER2_15482

:RYDER2_15461
49@ = 0
35@ += 1
goto @RYDER2_15482

:RYDER2_15482
if 
  35@ == 6
goto_if_false @RYDER2_15573
if 
  54@ > 1000
goto_if_false @RYDER2_15573
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_15573
51@ = 0
TIMERB = 30000
142@ = 0
TIMERA = 0
35@ += 1

:RYDER2_15573
if and
  35@ > 5
  51@ > 30000
goto_if_false @RYDER2_15613
336@ = 1
51@ = 0

:RYDER2_15613
if 
  35@ == 8
goto_if_false @RYDER2_16040
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_16040
if and
  not Text.IsHelpMessageBeingDisplayed
  not Text.IsMessageBeingDisplayed
goto_if_false @RYDER2_16040
192@ = 1
if 
  142@ > 30000
goto_if_false @RYDER2_16040
switch_start 143@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @RYDER2_16001 {caseNum1} 0 {caseLabel1} @RYDER2_15751 {caseNum2} 1 {caseLabel2} @RYDER2_15801 {caseNum3} 2 {caseLabel3} @RYDER2_15851 {caseNum4} 3 {caseLabel4} @RYDER2_15901 {caseNum5} 4 {caseLabel5} @RYDER2_15951 {caseNum6} -1 {caseLabel6} @RYDER2_16001 {caseNum7} -1 {caseLabel7} @RYDER2_16001

:RYDER2_15751
set_var_text_label s$bd_future_time_shown = 'RYD2_LA'
set_var_int_to_constant $bd_x = 33833
start_new_script @AUDIOL $sweet_car 0 0 1 0 
goto @RYDER2_16001

:RYDER2_15801
set_var_text_label s$bd_future_time_shown = 'RYD2_LB'
set_var_int_to_constant $bd_x = 33834
start_new_script @AUDIOL $sweet_car 0 0 1 0 
goto @RYDER2_16001

:RYDER2_15851
set_var_text_label s$bd_future_time_shown = 'RYD2_LC'
set_var_int_to_constant $bd_x = 33835
start_new_script @AUDIOL $sweet_car 0 0 1 0 
goto @RYDER2_16001

:RYDER2_15901
set_var_text_label s$bd_future_time_shown = 'RYD2_LD'
set_var_int_to_constant $bd_x = 33836
start_new_script @AUDIOL $sweet_car 0 0 1 0 
goto @RYDER2_16001

:RYDER2_15951
set_var_text_label s$bd_future_time_shown = 'RYD2_LE'
set_var_int_to_constant $bd_x = 33837
start_new_script @AUDIOL $sweet_car 0 0 1 0 
goto @RYDER2_16001

:RYDER2_16001
143@ += 1
if 
  143@ > 4
goto_if_false @RYDER2_16033
143@ = 0

:RYDER2_16033
142@ = 0

:RYDER2_16040
if 
  Blip.DoesExist(119@)
goto_if_false @RYDER2_16114
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_16107
if 
  Char.IsInCar($stattreadstamina_ctr, 99@)
goto_if_false @RYDER2_16107
Text.ClearThisPrint('RY2_55')
Blip.Remove(119@)

:RYDER2_16107
goto @RYDER2_16283

:RYDER2_16114
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_16283
if 
  not Char.IsInCar($stattreadstamina_ctr, 99@)
goto_if_false @RYDER2_16213
Blip.Remove(119@)
119@ = Blip.AddForCar(99@)
Blip.SetAsFriendly(119@, True)
if 
  Blip.DoesExist(120@)
goto_if_false @RYDER2_16190
Blip.Remove(120@)

:RYDER2_16190
Text.Print('RY2_55', 5000, 1)
goto @RYDER2_16283

:RYDER2_16213
if 
  35@ >= 1
goto_if_false @RYDER2_16283
if 
  not Blip.DoesExist(120@)
goto_if_false @RYDER2_16283
Blip.Remove(120@)
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_16283
120@ = Blip.AddForCar(95@)
Blip.SetAsFriendly(120@, True)

:RYDER2_16283
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_17245
if 
  134@ == 0
goto_if_false @RYDER2_16555
42@ = Char.GetScriptTaskStatus($sweet_car, 1560)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_16555

:RYDER2_16346
if 
  not Streaming.HasAnimationLoaded("COLT45")
goto_if_false @RYDER2_16388
Streaming.RequestAnimation("COLT45")
wait 0
goto @RYDER2_16346

:RYDER2_16388
48@ = Sequence.Open()
Task.GoStraightToCoord(-1, 263@, 264@, 265@, MoveState.Walk, -2)
Task.AchieveHeading(-1, 90.0)
Task.StayInSamePlace(-1, True)
Task.PlayAnim(-1, "ROADCROSS", "PED", 4.0, False, True, True, False, -1)
Task.PlayAnim(-1, "ROADCROSS", "PED", 4.0, False, True, True, False, -1)
Task.PlayAnim(-1, "COLT45_RELOAD", "COLT45", 4.0, False, True, True, False, -1)
Sequence.Close(48@)
Char.PerformSequence($sweet_car, 48@)
Sequence.Clear(48@)

:RYDER2_16555
42@ = 0

:RYDER2_16562
if 
  25 > 42@
goto_if_false @RYDER2_16841
if 
  Object.DoesExist(62@(42@,25i))
goto_if_false @RYDER2_16827
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_16827
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(95@, 0.0, -2.61, 1.04)
if 
  Object.Locate3D(62@(42@,25i), $on_footY, $on_footZ, $in_carX, 0.71, 1.0, 1.12, False)
goto_if_false @RYDER2_16827
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_16827
if 
  Char.IsInCar($stattreadstamina_ctr, 99@)
goto_if_false @RYDER2_16827
if 
  not Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @RYDER2_16827
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 99@)
goto_if_false @RYDER2_16827
if 
  270@ == 0
goto_if_false @RYDER2_16786
270@ = 1

:RYDER2_16786
if 
  56@ > 500
goto_if_false @RYDER2_16827
set_lvar_int_to_lvar_int 272@ = 42@
271@ += 1
56@ = 0

:RYDER2_16827
42@ += 1
goto @RYDER2_16562

:RYDER2_16841
if 
  270@ == 0
goto_if_false @RYDER2_16866
56@ = 0

:RYDER2_16866
if 
  271@ <> 0
goto_if_false @RYDER2_17245
switch_start 271@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @RYDER2_17245 {caseNum1} 1 {caseLabel1} @RYDER2_16947 {caseNum2} 2 {caseLabel2} @RYDER2_17070 {caseNum3} 3 {caseLabel3} @RYDER2_17110 {caseNum4} 4 {caseLabel4} @RYDER2_17195 {caseNum5} -1 {caseLabel5} @RYDER2_17245 {caseNum6} -1 {caseLabel6} @RYDER2_17245 {caseNum7} -1 {caseLabel7} @RYDER2_17245

:RYDER2_16947
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_16976
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, 99@)

:RYDER2_16976
Hud.SwitchWidescreen(True)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(2767.481, -2410.593, 14.7201, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2768.133, -2411.346, 14.6336, SwitchType.JumpCut)
Object.Delete(62@(272@,25i))
127@ += 1
271@ += 1
goto @RYDER2_17245

:RYDER2_17070
if 
  56@ > 1000
goto_if_false @RYDER2_17103
56@ = 0
271@ += 1

:RYDER2_17103
goto @RYDER2_17245

:RYDER2_17110
if 
  56@ > 1000
goto_if_false @RYDER2_17143
271@ += 1
goto @RYDER2_17188

:RYDER2_17143
if 
  500 > 56@
goto_if_false @RYDER2_17188
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_17188
Car.SetForwardSpeed(99@, -5.0)

:RYDER2_17188
goto @RYDER2_17245

:RYDER2_17195
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
270@ = 0
271@ = 0
56@ = 0
269@ = 1
goto @RYDER2_17245

:RYDER2_17245
if 
  38@ == 7
goto_if_false @RYDER2_17614
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_17614
if and
  Char.HasBeenDamagedByWeapon($sweet_car, WeaponType.Pistol)
  57@ > 40000
goto_if_false @RYDER2_17614
273@ += 1
if 
  273@ > 4
goto_if_false @RYDER2_17339
273@ = 1

:RYDER2_17339
switch_start 273@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @RYDER2_17602 {caseNum1} 1 {caseLabel1} @RYDER2_17402 {caseNum2} 2 {caseLabel2} @RYDER2_17452 {caseNum3} 3 {caseLabel3} @RYDER2_17502 {caseNum4} 4 {caseLabel4} @RYDER2_17552 {caseNum5} -1 {caseLabel5} @RYDER2_17602 {caseNum6} -1 {caseLabel6} @RYDER2_17602 {caseNum7} -1 {caseLabel7} @RYDER2_17602

:RYDER2_17402
set_var_text_label s$bd_future_time_shown = 'RYD2_MA'
set_var_int_to_constant $bd_x = 33842
start_new_script @AUDIOL $sweet_car 0 1 1 0 
goto @RYDER2_17602

:RYDER2_17452
set_var_text_label s$bd_future_time_shown = 'RYD2_MC'
set_var_int_to_constant $bd_x = 33844
start_new_script @AUDIOL $sweet_car 0 1 1 0 
goto @RYDER2_17602

:RYDER2_17502
set_var_text_label s$bd_future_time_shown = 'RYD2_MD'
set_var_int_to_constant $bd_x = 33845
start_new_script @AUDIOL $sweet_car 0 1 1 0 
goto @RYDER2_17602

:RYDER2_17552
set_var_text_label s$bd_future_time_shown = 'RYD2_ME'
set_var_int_to_constant $bd_x = 33846
start_new_script @AUDIOL $sweet_car 0 1 1 0 
goto @RYDER2_17602

:RYDER2_17602
Char.ClearLastWeaponDamage($sweet_car)
57@ = 0

:RYDER2_17614
if and
  is_int_lvar_greater_or_equal_to_int_lvar 127@ >= 200@
  271@ == 0
goto_if_false @RYDER2_17736
Hud.ClearCounter($s2_random_int)
if 
  328@ <> -1
goto_if_false @RYDER2_17729
if 
  Object.DoesExist(62@(328@,25i))
goto_if_false @RYDER2_17729
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_17729
if 
  Char.IsHoldingObject($sweet_car, 62@(328@,25i))
goto_if_false @RYDER2_17729
Char.DropObject($sweet_car, True)

:RYDER2_17729
35@ = 99

:RYDER2_17736
if and
  55@ > 30000
  35@ <> 99
  1 > 202@
goto_if_false @RYDER2_18161
if and
  $audio_line_terminate_all == 0
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_18161
if 
  38@ == 5
goto_if_false @RYDER2_18161
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2775.781, -2406.821, 10.638, 2801.433, -2429.618, 15.3143, False)
goto_if_false @RYDER2_18161
42@ = 0
43@ = 0

:RYDER2_17871
if 
  25 > 42@
goto_if_false @RYDER2_18009
if 
  Object.DoesExist(62@(42@,25i))
goto_if_false @RYDER2_17995
if 
  not Object.HasBeenDamaged(62@(42@,25i))
goto_if_false @RYDER2_17995
if 
  Object.IsInArea3D(62@(42@,25i), 2774.308, -2405.28, 12.6803, 2801.607, -2430.073, 15.3896, False)
goto_if_false @RYDER2_17995
43@ += 1
42@ = 25

:RYDER2_17995
42@ += 1
goto @RYDER2_17871

:RYDER2_18009
if 
  43@ == 0
goto_if_false @RYDER2_18161
42@ = Math.RandomIntInRange(0, 2)
if 
  42@ == 0
goto_if_false @RYDER2_18104
set_var_text_label s$bd_future_time_shown = 'RYD2_LH'
set_var_int_to_constant $bd_x = 33840
start_new_script @AUDIOL $sweet_car 0 1 1 0 
goto @RYDER2_18147

:RYDER2_18104
set_var_text_label s$bd_future_time_shown = 'RYD2_LJ'
set_var_int_to_constant $bd_x = 33841
start_new_script @AUDIOL $sweet_car 0 1 1 0 

:RYDER2_18147
55@ = 0
202@ += 1

:RYDER2_18161
if 
  35@ == 99
goto_if_false @RYDER2_18200
203@ = 1
35@ = 0
34@ += 1

:RYDER2_18200
gosub @RYDER2_39981
set_lvar_int_to_lvar_int 306@ = 127@
gosub @RYDER2_36940
return 

:RYDER2_18224
if 
  35@ == 0
goto_if_false @RYDER2_18386
278@ = 0
279@ = 0
280@ = 0
281@ = 0
42@ = 0

:RYDER2_18277
if 
  10 > 42@
goto_if_false @RYDER2_18320
282@(42@,10i) = 0
42@ += 1
goto @RYDER2_18277

:RYDER2_18320
292@ = 0
293@ = 0
304@ = 4
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_18365
Char.SetDecisionMaker($sweet_car, 237@)

:RYDER2_18365
49@ = 0
292@ = 0
35@ += 1

:RYDER2_18386
if 
  35@ == 1
goto_if_false @RYDER2_18674
296@ = 2765.999
297@ = -2419.777
298@ = 12.6396
World.ClearArea(296@, 297@, 298@, 1.5, True)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2761.119, -2421.157, 14.5289, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2762.002, -2420.691, 14.4766, SwitchType.JumpCut)
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_18599
Char.SetProofs($sweet_car, True, True, True, True, True)
Char.ClearTasksImmediately($sweet_car)
Char.SetCoordinates($sweet_car, 296@, 297@, 298@)
Char.SetHeading($sweet_car, 270.0)
Task.GoStraightToCoord($sweet_car, 2771.352, -2418.073, 12.644, MoveState.Run, 5000)

:RYDER2_18599
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_18660
set_var_text_label s$bd_future_time_shown = 'RYD2_ND'
set_var_int_to_constant $bd_x = 33851
start_new_script @AUDIOL $sweet_car 0 1 1 0 

:RYDER2_18660
TIMERA = 0
35@ += 1

:RYDER2_18674
if 
  35@ == 2
goto_if_false @RYDER2_18732
if and
  TIMERA > 2500
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_18732
35@ += 1
TIMERA = 0

:RYDER2_18732
if 
  35@ == 3
goto_if_false @RYDER2_19177
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_19069
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_19069
Char.ClearTasksImmediately($sweet_car)
Char.AttachToCar($sweet_car, 95@, 0.0, -3.0, 0.9, 2, 180.0, WeaponType.Unarmed)
Hud.ClearCounter($s2_meet_z)
Char.SetMaxHealth($sweet_car, 350)
Char.SetHealth($sweet_car, 350)
94@ = Object.Create(#NF_PED_COLL, 0.0, 0.0, 0.0)
Object.AttachToCar(94@, 95@, -0.5, -2.0, 0.0, 0.0, 0.0, 0.0)
Char.SetProofs($sweet_car, True, True, True, True, True)
Object.SetScale(94@, 0.5)
Object.SetProofs(94@, False, True, True, True, False)
299@ = 1000
292@ = 1
293@ = 1
48@ = Sequence.Open()
Task.LookAtChar(-1, $stattreadstamina_ctr, 2000)
Task.PlayAnimNonInterruptable(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, True, 2000)
Task.PlayAnimNonInterruptable(-1, "VAN_STAND", "RYDER", 4.0, False, False, False, True, -1)
Sequence.Close(48@)
Char.PerformSequence($sweet_car, 48@)
Sequence.Clear(48@)

:RYDER2_19069
Camera.SetFixedPosition(2774.323, -2420.589, 14.8944, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2773.441, -2420.132, 14.7784, SwitchType.JumpCut)
set_var_text_label s$bd_future_time_shown = 'RYD2_NB'
set_var_int_to_constant $bd_x = 33849
start_new_script @AUDIOL $sweet_car 0 1 1 0 
TIMERA = 0
35@ += 1

:RYDER2_19177
if 
  35@ == 4
goto_if_false @RYDER2_19374
if and
  TIMERA > 2500
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_19374
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.PrintNow('RY2_67', 5000, 1)
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_19329
Blip.Remove(119@)
Blip.Remove(119@)
119@ = Blip.AddForCar(95@)
Blip.SetAsFriendly(119@, True)
Car.SetProofs(95@, False, False, True, False, False)
Car.FreezePosition(95@, False)
Car.SetIsConsideredByPlayer(95@, True)
Car.LockDoors(95@, CarLock.Unlocked)

:RYDER2_19329
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_19360
Char.SetProofs($sweet_car, False, False, False, False, False)

:RYDER2_19360
35@ += 1
TIMERA = 0

:RYDER2_19374
if 
  35@ == 5
goto_if_false @RYDER2_19786
43@ = 0
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_19747
if 
  Char.IsInCar($stattreadstamina_ctr, 95@)
goto_if_false @RYDER2_19452
43@ = 1
Camera.SetPlayerInCarMode(3)
goto @RYDER2_19747

:RYDER2_19452
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_19747
if 
  49@ == 0
goto_if_false @RYDER2_19747
if or
  TIMERA > 30000
  43@ == 1
goto_if_false @RYDER2_19747
42@ = Math.RandomIntInRange(0, 3)
switch_start 42@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @RYDER2_19733 {caseNum1} 0 {caseLabel1} @RYDER2_19583 {caseNum2} 1 {caseLabel2} @RYDER2_19633 {caseNum3} 2 {caseLabel3} @RYDER2_19683 {caseNum4} -1 {caseLabel4} @RYDER2_19733 {caseNum5} -1 {caseLabel5} @RYDER2_19733 {caseNum6} -1 {caseLabel6} @RYDER2_19733 {caseNum7} -1 {caseLabel7} @RYDER2_19733

:RYDER2_19583
set_var_text_label s$bd_future_time_shown = 'RYD2_NA'
set_var_int_to_constant $bd_x = 33848
start_new_script @AUDIOL $sweet_car 0 1 1 0 
goto @RYDER2_19733

:RYDER2_19633
set_var_text_label s$bd_future_time_shown = 'RYD2_NC'
set_var_int_to_constant $bd_x = 33850
start_new_script @AUDIOL $sweet_car 0 1 1 0 
goto @RYDER2_19733

:RYDER2_19683
set_var_text_label s$bd_future_time_shown = 'RYD2_ND'
set_var_int_to_constant $bd_x = 33851
start_new_script @AUDIOL $sweet_car 0 1 1 0 
goto @RYDER2_19733

:RYDER2_19733
49@ = 1
TIMERA = 0

:RYDER2_19747
if 
  43@ == 1
goto_if_false @RYDER2_19786
TIMERA = 0
54@ = 0
35@ += 1

:RYDER2_19786
if 
  35@ == 6
goto_if_false @RYDER2_20804
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_20804
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_20804
if 
  Char.IsInCar($stattreadstamina_ctr, 95@)
goto_if_false @RYDER2_20439
Car.FreezePosition(95@, False)
if 
  Blip.DoesExist(119@)
goto_if_false @RYDER2_19889
Blip.Remove(119@)

:RYDER2_19889
Blip.Remove(120@)
if 
  not Blip.DoesExist(120@)
goto_if_false @RYDER2_19946
120@ = Blip.AddForCoord(2454.626, -1972.534, 12.5617)
Text.PrintNow('RY2_66', 6000, 1)

:RYDER2_19946
TIMERA = 0
Streaming.RequestModel(470)
Streaming.RequestModel(287)

:RYDER2_19963
if or
  not Streaming.HasModelLoaded(470)
  not Streaming.HasModelLoaded(287)
goto_if_false @RYDER2_19995
wait 0
goto @RYDER2_19963

:RYDER2_19995
96@ = Car.Create(470, 2780.718, -2456.103, 12.6354)
Car.SetHeading(96@, 90.0)
Car.SetHeavy(96@, True)
Car.LockDoors(96@, CarLock.LockoutPlayerOnly)
Car.SetProofs(96@, True, True, True, True, True)
97@ = Car.Create(470, 2780.557, -2493.346, 12.6287)
Car.SetHeading(97@, 90.0)
Car.SetHeavy(97@, True)
Car.LockDoors(97@, CarLock.LockoutPlayerOnly)
Car.SetProofs(97@, True, True, True, True, True)
if 
  not Car.IsDead(96@)
goto_if_false @RYDER2_20260
113@ = Char.CreateInsideCar(96@, PedType.Mission1, 287)
Task.TogglePedThreatScanner(113@, False, False, False)
Car.SetDrivingStyle(96@, DrivingMode.AvoidCars)
Car.SetCruiseSpeed(96@, 50.0)
Car.SetProofs(96@, False, False, False, False, False)
Car.SetTraction(96@, 2.0)
Car.SetHeavy(96@, True)
Car.SetHealth(96@, 1300)
117@ = Char.CreateAsPassenger(96@, PedType.Mission1, 287, 0)
Char.SetRelationship(117@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(117@, 237@)
Char.GiveWeapon(117@, WeaponType.Pistol, 999999)

:RYDER2_20260
if 
  not Car.IsDead(97@)
goto_if_false @RYDER2_20401
114@ = Char.CreateInsideCar(97@, PedType.Mission1, 287)
Task.TogglePedThreatScanner(114@, False, False, False)
Car.SetDrivingStyle(97@, DrivingMode.AvoidCars)
Car.SetCruiseSpeed(97@, 50.0)
Car.SetProofs(97@, False, False, False, False, False)
Car.SetTraction(97@, 2.0)
Car.SetHeavy(97@, True)
Car.SetHealth(97@, 1300)
118@ = Char.CreateAsPassenger(97@, PedType.Mission1, 287, 0)
Char.SetRelationship(118@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(118@, 237@)
Char.GiveWeapon(118@, WeaponType.Pistol, 999999)

:RYDER2_20401
Streaming.MarkModelAsNoLongerNeeded(470)
Streaming.MarkModelAsNoLongerNeeded(287)
54@ = 0
49@ = 0
35@ += 1
goto @RYDER2_20804

:RYDER2_20439
if 
  54@ > 20000
goto_if_false @RYDER2_20804
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_20804
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_20804
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $sweet_car, 5.0, 5.0, 3.0, False)
goto_if_false @RYDER2_20804
42@ = Math.RandomIntInRange(0, 4)
switch_start 42@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @RYDER2_20797 {caseNum1} 0 {caseLabel1} @RYDER2_20597 {caseNum2} 1 {caseLabel2} @RYDER2_20647 {caseNum3} 2 {caseLabel3} @RYDER2_20697 {caseNum4} 3 {caseLabel4} @RYDER2_20747 {caseNum5} -1 {caseLabel5} @RYDER2_20797 {caseNum6} -1 {caseLabel6} @RYDER2_20797 {caseNum7} -1 {caseLabel7} @RYDER2_20797

:RYDER2_20597
set_var_text_label s$bd_future_time_shown = 'RYD2_NA'
set_var_int_to_constant $bd_x = 33848
start_new_script @AUDIOL $sweet_car 1 0 1 0 
goto @RYDER2_20797

:RYDER2_20647
set_var_text_label s$bd_future_time_shown = 'RYD2_NB'
set_var_int_to_constant $bd_x = 33849
start_new_script @AUDIOL $sweet_car 1 0 1 0 
goto @RYDER2_20797

:RYDER2_20697
set_var_text_label s$bd_future_time_shown = 'RYD2_NC'
set_var_int_to_constant $bd_x = 33850
start_new_script @AUDIOL $sweet_car 1 0 1 0 
goto @RYDER2_20797

:RYDER2_20747
set_var_text_label s$bd_future_time_shown = 'RYD2_ND'
set_var_int_to_constant $bd_x = 33851
start_new_script @AUDIOL $sweet_car 1 0 1 0 
goto @RYDER2_20797

:RYDER2_20797
54@ = 0

:RYDER2_20804
if 
  35@ == 7
goto_if_false @RYDER2_20918
248@, 249@, 250@ = Object.GetOffsetInWorldCoords(258@, 0.0, 0.0, 4.0)
251@, 252@, 253@ = Object.GetOffsetInWorldCoords(259@, 0.0, 0.0, 4.0)
if 
  Object.DoesExist(258@)
goto_if_false @RYDER2_20904
Audio.ReportMissionAudioEventAtObject(258@, 1035)

:RYDER2_20904
TIMERA = 0
35@ += 1

:RYDER2_20918
if 
  35@ == 8
goto_if_false @RYDER2_21059
if 
  TIMERA > 1000
goto_if_false @RYDER2_21059
if and
  Object.Slide(258@, 248@, 249@, 250@, 0.0, 0.0, 0.2, False)
  Object.Slide(259@, 251@, 252@, 253@, 0.0, 0.0, 0.15, False)
goto_if_false @RYDER2_21059
if 
  Object.DoesExist(258@)
goto_if_false @RYDER2_21052
Audio.ReportMissionAudioEventAtObject(258@, 1036)

:RYDER2_21052
35@ += 1

:RYDER2_21059
if 
  35@ == 9
goto_if_false @RYDER2_21387
if 
  not Car.IsDead(96@)
goto_if_false @RYDER2_21103
Car.SetForwardSpeed(96@, 20.0)

:RYDER2_21103
if 
  not Car.IsDead(97@)
goto_if_false @RYDER2_21129
Car.SetForwardSpeed(97@, 20.0)

:RYDER2_21129
49@ = 0
50@ = 0
54@ = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33854)
if 
  not Car.IsDead(96@)
goto_if_false @RYDER2_21231
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_21231
if 
  not Char.IsDead(113@)
goto_if_false @RYDER2_21231
Task.CarMission(113@, 96@, 95@, CarMission.RamPlayerFaraway, 50.0, DrivingMode.AvoidCars)

:RYDER2_21231
if 
  not Car.IsDead(97@)
goto_if_false @RYDER2_21299
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_21299
if 
  not Char.IsDead(114@)
goto_if_false @RYDER2_21299
Task.CarMission(114@, 97@, 95@, CarMission.BlockPlayerFaraway, 50.0, DrivingMode.AvoidCars)

:RYDER2_21299
if 
  not Car.IsDead(96@)
goto_if_false @RYDER2_21373
if 
  not Car.IsDead(97@)
goto_if_false @RYDER2_21373
StuckCarCheck.AddWithWarp(96@, 1.0, 2000, True, True, True, -1)
StuckCarCheck.AddWithWarp(97@, 1.0, 2000, True, True, True, -1)

:RYDER2_21373
35@ += 1
TIMERA = 0

:RYDER2_21387
if 
  35@ == 10
goto_if_false @RYDER2_21554
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_21554
42@ = Math.RandomIntInRange(0, 2)
if 
  42@ == 0
goto_if_false @RYDER2_21497
set_var_text_label s$bd_future_time_shown = 'RYD2_OA'
set_var_int_to_constant $bd_x = 33852
start_new_script @AUDIOL $sweet_car 0 1 2 0 
goto @RYDER2_21540

:RYDER2_21497
set_var_text_label s$bd_future_time_shown = 'RYD2_OB'
set_var_int_to_constant $bd_x = 33853
start_new_script @AUDIOL $sweet_car 0 1 2 0 

:RYDER2_21540
TIMERA = 0
35@ += 1

:RYDER2_21554
if 
  35@ == 11
goto_if_false @RYDER2_22311
if 
  TIMERA > 1000
goto_if_false @RYDER2_22311
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_22311
if 
  Char.IsInCar($stattreadstamina_ctr, 95@)
goto_if_false @RYDER2_22311
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_22311
if 
  54@ > 1000
goto_if_false @RYDER2_22311
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_22311
switch_start 50@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @RYDER2_22304 {caseNum1} 0 {caseLabel1} @RYDER2_21806 {caseNum2} 1 {caseLabel2} @RYDER2_21876 {caseNum3} 2 {caseLabel3} @RYDER2_21946 {caseNum4} 3 {caseLabel4} @RYDER2_22016 {caseNum5} 4 {caseLabel5} @RYDER2_22086 {caseNum6} 5 {caseLabel6} @RYDER2_22163 {caseNum7} 6 {caseLabel7} @RYDER2_22233
switch_continued 7 {caseLabel1} @RYDER2_22290 {caseNum2} -1 {caseLabel2} @RYDER2_22304 {caseNum3} -1 {caseLabel3} @RYDER2_22304 {caseNum4} -1 {caseLabel4} @RYDER2_22304 {caseNum5} -1 {caseLabel5} @RYDER2_22304 {caseNum6} -1 {caseLabel6} @RYDER2_22304 {caseNum7} -1 {caseLabel7} @RYDER2_22304 {caseNum8} -1 {caseLabel8} @RYDER2_22304 {caseNum9} -1 {caseLabel9} @RYDER2_22304

:RYDER2_21806
set_var_text_label s$bd_future_time_shown = 'RYD2_PA'
set_var_int_to_constant $bd_x = 33854
start_new_script @AUDIOL $sweet_car 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33855)
50@ += 1
goto @RYDER2_22304

:RYDER2_21876
set_var_text_label s$bd_future_time_shown = 'RYD2_PB'
set_var_int_to_constant $bd_x = 33855
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33856)
50@ += 1
goto @RYDER2_22304

:RYDER2_21946
set_var_text_label s$bd_future_time_shown = 'RYD2_PC'
set_var_int_to_constant $bd_x = 33856
start_new_script @AUDIOL $sweet_car 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33857)
50@ += 1
goto @RYDER2_22304

:RYDER2_22016
set_var_text_label s$bd_future_time_shown = 'RYD2_PD'
set_var_int_to_constant $bd_x = 33857
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33858)
50@ += 1
goto @RYDER2_22304

:RYDER2_22086
set_var_text_label s$bd_future_time_shown = 'RYD2_PE'
set_var_int_to_constant $bd_x = 33858
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33859)
50@ += 1
279@ += 1
goto @RYDER2_22304

:RYDER2_22163
set_var_text_label s$bd_future_time_shown = 'RYD2_PF'
set_var_int_to_constant $bd_x = 33859
start_new_script @AUDIOL $sweet_car 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33860)
50@ += 1
goto @RYDER2_22304

:RYDER2_22233
set_var_text_label s$bd_future_time_shown = 'RYD2_PG'
set_var_int_to_constant $bd_x = 33860
start_new_script @AUDIOL $sweet_car 0 1 1 1 
50@ += 1
goto @RYDER2_22304

:RYDER2_22290
35@ += 1
goto @RYDER2_22304

:RYDER2_22304
54@ = 0

:RYDER2_22311
if 
  35@ == 12
goto_if_false @RYDER2_22336
35@ += 1

:RYDER2_22336
if 
  35@ == 13
goto_if_false @RYDER2_22414
Text.PrintHelp('RY2_72')
293@ = 0
TIMERA = 0
193@ = 0
194@ = 0
195@ = 0
49@ = 0
35@ += 1

:RYDER2_22414
if 
  35@ == 14
goto_if_false @RYDER2_24516
if 
  193@ == 0
goto_if_false @RYDER2_22499
if 
  TIMERA > 10000
goto_if_false @RYDER2_22499
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_22499
Car.SetCanBurstTires(95@, True)
193@ = 1

:RYDER2_22499
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_22617
if 
  Char.IsInCar($stattreadstamina_ctr, 95@)
goto_if_false @RYDER2_22617
if 
  Car.Locate3D(95@, 2454.626, -1972.534, 12.5617, 4.0, 4.0, 4.0, True)
goto_if_false @RYDER2_22617
if 
  Car.IsOnAllWheels(95@)
goto_if_false @RYDER2_22617
Player.SetControl($statbike_temp, False)
Blip.Remove(120@)
35@ = 99

:RYDER2_22617
if 
is_ps2_keyboard_key_pressed 137
goto_if_false @RYDER2_22669
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_22669
Car.SetCoordinates(95@, 2454.626, -1972.534, 12.5617)

:RYDER2_22669
if 
  195@ == 0
goto_if_false @RYDER2_22832
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_22832
if 
  Car.Locate2D(95@, 2454.626, -1972.534, 40.0, 40.0, False)
goto_if_false @RYDER2_22832
if 
  Car.DoesExist(96@)
goto_if_false @RYDER2_22762
Car.MarkAsNoLongerNeeded(96@)

:RYDER2_22762
if 
  Char.DoesExist(113@)
goto_if_false @RYDER2_22783
Char.MarkAsNoLongerNeeded(113@)

:RYDER2_22783
if 
  Car.DoesExist(97@)
goto_if_false @RYDER2_22804
Car.MarkAsNoLongerNeeded(97@)

:RYDER2_22804
if 
  Char.DoesExist(114@)
goto_if_false @RYDER2_22825
Char.MarkAsNoLongerNeeded(114@)

:RYDER2_22825
195@ += 1

:RYDER2_22832
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_24310
if 
  TIMERA > 20000
goto_if_false @RYDER2_24310
if 
  194@ <> 99
goto_if_false @RYDER2_24310
if 
  54@ > 1000
goto_if_false @RYDER2_24310
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_24310
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_24310
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $sweet_car, 15.0, 15.0, 5.0, False)
goto_if_false @RYDER2_24310
switch_start 194@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @RYDER2_24310 {caseNum1} 0 {caseLabel1} @RYDER2_23101 {caseNum2} 1 {caseLabel2} @RYDER2_23178 {caseNum3} 2 {caseLabel3} @RYDER2_23306 {caseNum4} 3 {caseLabel4} @RYDER2_23434 {caseNum5} 4 {caseLabel5} @RYDER2_23562 {caseNum6} 5 {caseLabel6} @RYDER2_23690 {caseNum7} 6 {caseLabel7} @RYDER2_23818
switch_continued 7 {caseLabel1} @RYDER2_23946 {caseNum2} 8 {caseLabel2} @RYDER2_24074 {caseNum3} 9 {caseLabel3} @RYDER2_24202 {caseNum4} -1 {caseLabel4} @RYDER2_24310 {caseNum5} -1 {caseLabel5} @RYDER2_24310 {caseNum6} -1 {caseLabel6} @RYDER2_24310 {caseNum7} -1 {caseLabel7} @RYDER2_24310 {caseNum8} -1 {caseLabel8} @RYDER2_24310 {caseNum9} -1 {caseLabel9} @RYDER2_24310

:RYDER2_23101
set_var_text_label s$bd_future_time_shown = 'RYD2_SA'
set_var_int_to_constant $bd_x = 33866
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33867)
194@ += 1
54@ = 0
goto @RYDER2_24310

:RYDER2_23178
set_var_text_label s$bd_future_time_shown = 'RYD2_SB'
set_var_int_to_constant $bd_x = 33867
if 
  49@ == 0
goto_if_false @RYDER2_23246
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
goto @RYDER2_23272

:RYDER2_23246
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 0 
49@ = 0

:RYDER2_23272
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33868)
194@ += 1
54@ = 0
goto @RYDER2_24310

:RYDER2_23306
set_var_text_label s$bd_future_time_shown = 'RYD2_SC'
set_var_int_to_constant $bd_x = 33868
if 
  49@ == 0
goto_if_false @RYDER2_23374
start_new_script @AUDIOL $sweet_car 0 1 1 1 
goto @RYDER2_23400

:RYDER2_23374
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ = 0

:RYDER2_23400
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33869)
194@ += 1
54@ = 0
goto @RYDER2_24310

:RYDER2_23434
set_var_text_label s$bd_future_time_shown = 'RYD2_SD'
set_var_int_to_constant $bd_x = 33869
if 
  49@ == 0
goto_if_false @RYDER2_23502
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
goto @RYDER2_23528

:RYDER2_23502
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 0 
49@ = 0

:RYDER2_23528
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33870)
194@ += 1
54@ = 0
goto @RYDER2_24310

:RYDER2_23562
set_var_text_label s$bd_future_time_shown = 'RYD2_SE'
set_var_int_to_constant $bd_x = 33870
if 
  49@ == 0
goto_if_false @RYDER2_23630
start_new_script @AUDIOL $sweet_car 0 1 1 1 
goto @RYDER2_23656

:RYDER2_23630
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ = 0

:RYDER2_23656
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33871)
194@ += 1
54@ = 0
goto @RYDER2_24310

:RYDER2_23690
set_var_text_label s$bd_future_time_shown = 'RYD2_SF'
set_var_int_to_constant $bd_x = 33871
if 
  49@ == 0
goto_if_false @RYDER2_23758
start_new_script @AUDIOL $sweet_car 0 1 2 1 
goto @RYDER2_23784

:RYDER2_23758
start_new_script @AUDIOL $sweet_car 0 1 2 0 
49@ = 0

:RYDER2_23784
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33872)
194@ += 1
54@ = 0
goto @RYDER2_24310

:RYDER2_23818
set_var_text_label s$bd_future_time_shown = 'RYD2_SG'
set_var_int_to_constant $bd_x = 33872
if 
  49@ == 0
goto_if_false @RYDER2_23886
start_new_script @AUDIOL $sweet_car 0 1 1 1 
goto @RYDER2_23912

:RYDER2_23886
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ = 0

:RYDER2_23912
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33873)
194@ += 1
54@ = 0
goto @RYDER2_24310

:RYDER2_23946
set_var_text_label s$bd_future_time_shown = 'RYD2_SH'
set_var_int_to_constant $bd_x = 33873
if 
  49@ == 0
goto_if_false @RYDER2_24014
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
goto @RYDER2_24040

:RYDER2_24014
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 0 
49@ = 0

:RYDER2_24040
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33874)
194@ += 1
54@ = 0
goto @RYDER2_24310

:RYDER2_24074
set_var_text_label s$bd_future_time_shown = 'RYD2_SJ'
set_var_int_to_constant $bd_x = 33874
if 
  49@ == 0
goto_if_false @RYDER2_24142
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
goto @RYDER2_24168

:RYDER2_24142
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
49@ = 0

:RYDER2_24168
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33875)
194@ += 1
54@ = 0
goto @RYDER2_24310

:RYDER2_24202
set_var_text_label s$bd_future_time_shown = 'RYD2_SK'
set_var_int_to_constant $bd_x = 33875
if 
  49@ == 0
goto_if_false @RYDER2_24270
start_new_script @AUDIOL $sweet_car 0 1 2 1 
goto @RYDER2_24296

:RYDER2_24270
start_new_script @AUDIOL $sweet_car 0 1 2 0 
49@ = 0

:RYDER2_24296
194@ = 99
goto @RYDER2_24310

:RYDER2_24310
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_24516
if and
  194@ <= 0
  99 < 194@
goto_if_false @RYDER2_24516
if 
  304@ == 0
goto_if_false @RYDER2_24516
293@ = 1
42@ = Math.RandomIntInRange(0, 2)
if 
  42@ == 0
goto_if_false @RYDER2_24459
set_var_text_label s$bd_future_time_shown = 'RYD2_RA'
set_var_int_to_constant $bd_x = 33864
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ = 1
goto @RYDER2_24509

:RYDER2_24459
set_var_text_label s$bd_future_time_shown = 'RYD2_RB'
set_var_int_to_constant $bd_x = 33865
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ = 1

:RYDER2_24509
304@ -= 1

:RYDER2_24516
if 
  35@ == 99
goto_if_false @RYDER2_24580
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_24580
if 
  Car.IsStopped(95@)
goto_if_false @RYDER2_24580
35@ = 0
34@ += 1

:RYDER2_24580
gosub @RYDER2_36940
if 
  Object.DoesExist(94@)
goto_if_false @RYDER2_24861
42@ = Object.GetHealth(94@)
if 
  is_int_lvar_greater_than_int_lvar 299@ > 42@
goto_if_false @RYDER2_24848
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_24848
42@ = Char.GetHealth($sweet_car)
42@ += -17
if 
  1 > 42@
goto_if_false @RYDER2_24686
42@ = 1

:RYDER2_24686
Char.SetHealth($sweet_car, 42@)
if 
  42@ == 1
goto_if_false @RYDER2_24717
Task.Die($sweet_car)

:RYDER2_24717
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords($sweet_car, 0.5, 0.2, 0.4)
207@ = Math.RandomFloatInRange(-1.0, 1.0)
208@ = Math.RandomFloatInRange(-1.0, 1.0)
209@ = Math.RandomFloatInRange(-1.0, 1.0)
if 
  Char.DoesExist($sweet_car)
goto_if_false @RYDER2_24848
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_24848
Fx.AddBlood($on_footY, $on_footZ, $in_carX, 207@, 208@, 209@, 20, $sweet_car)

:RYDER2_24848
Object.ClearLastWeaponDamage(94@)
299@ = Object.GetHealth(94@)

:RYDER2_24861
if 
  292@ == 1
goto_if_false @RYDER2_27193
if 
  293@ == 0
goto_if_false @RYDER2_25018
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_25018
if 
  280@ == 0
goto_if_false @RYDER2_24994
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Leftshock)
goto_if_false @RYDER2_24987
280@ = 1
if or
  279@ == 0
  279@ == 3
goto_if_false @RYDER2_24987
279@ += 1

:RYDER2_24987
goto @RYDER2_25018

:RYDER2_24994
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Leftshock)
goto_if_false @RYDER2_25018
280@ = 0

:RYDER2_25018
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_25084
$on_footX = Car.GetHeading(95@)
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_25076
$on_footX += 180.0
Char.SetHeading($sweet_car, $on_footX)

:RYDER2_25076
274@ = Car.GetRoll(95@)

:RYDER2_25084
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_25108
275@ = Car.GetHeading(95@)

:RYDER2_25108
set_lvar_float_to_lvar_float 277@ = 275@
sub_float_lvar_from_float_lvar 277@ -= 276@
if 
  -180.0 > 277@
goto_if_false @RYDER2_25155
277@ += 360.0

:RYDER2_25155
if 
  277@ > 180.0
goto_if_false @RYDER2_25186
277@ += -360.0

:RYDER2_25186
set_lvar_float_to_lvar_float 276@ = 275@
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_27193
if 
  279@ == 0
goto_if_false @RYDER2_25850
if 
  -60.0 > 274@
goto_if_false @RYDER2_25320
if 
  278@ <> 1
goto_if_false @RYDER2_25313
Task.PlayAnimNonInterruptable($sweet_car, "VAN_FALL_L", "RYDER", 4.0, False, False, False, True, -1)
278@ = 1

:RYDER2_25313
goto @RYDER2_25843

:RYDER2_25320
if 
  274@ > 60.0
goto_if_false @RYDER2_25412
if 
  278@ <> 2
goto_if_false @RYDER2_25405
Task.PlayAnimNonInterruptable($sweet_car, "VAN_FALL_R", "RYDER", 4.0, False, False, False, True, -1)
278@ = 2

:RYDER2_25405
goto @RYDER2_25843

:RYDER2_25412
if 
  -5.0 > 274@
goto_if_false @RYDER2_25504
if 
  278@ <> 3
goto_if_false @RYDER2_25497
Task.PlayAnimNonInterruptable($sweet_car, "VAN_LEAN_L", "RYDER", 4.0, False, False, False, True, -1)
278@ = 3

:RYDER2_25497
goto @RYDER2_25843

:RYDER2_25504
if 
  274@ > 5.0
goto_if_false @RYDER2_25596
if 
  278@ <> 4
goto_if_false @RYDER2_25589
Task.PlayAnimNonInterruptable($sweet_car, "VAN_LEAN_R", "RYDER", 4.0, False, False, False, True, -1)
278@ = 4

:RYDER2_25589
goto @RYDER2_25843

:RYDER2_25596
if 
  -2.0 > 277@
goto_if_false @RYDER2_25688
if 
  278@ <> 4
goto_if_false @RYDER2_25681
Task.PlayAnimNonInterruptable($sweet_car, "VAN_LEAN_R", "RYDER", 4.0, False, False, False, True, -1)
278@ = 4

:RYDER2_25681
goto @RYDER2_25843

:RYDER2_25688
if 
  277@ > 2.0
goto_if_false @RYDER2_25780
if 
  278@ <> 3
goto_if_false @RYDER2_25773
Task.PlayAnimNonInterruptable($sweet_car, "VAN_LEAN_L", "RYDER", 4.0, False, False, False, True, -1)
278@ = 3

:RYDER2_25773
goto @RYDER2_25843

:RYDER2_25780
if 
  278@ <> 0
goto_if_false @RYDER2_25843
Task.PlayAnimNonInterruptable($sweet_car, "VAN_STAND", "RYDER", 4.0, False, False, False, True, -1)
278@ = 0

:RYDER2_25843
goto @RYDER2_27193

:RYDER2_25850
if 
  279@ == 1
goto_if_false @RYDER2_26070
if 
  278@ <> 5
goto_if_false @RYDER2_25941
Task.PlayAnimNonInterruptable($sweet_car, "VAN_PICKUP_S", "RYDER", 1000.0, False, False, False, False, -1)
278@ = 5
goto @RYDER2_26070

:RYDER2_25941
42@ = Char.GetScriptTaskStatus($sweet_car, 2066)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_26070
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($sweet_car)
281@ = Object.Create(#CM_BOX, $on_footY, $on_footZ, $in_carX)
Task.PickUpObject($sweet_car, 281@, -0.096, 0.246, 0.142, 6, 16, "NULL", "NULL", 1)
Object.SetCollision(281@, False)
306@ -= 1
304@ -= 1
279@ += 1

:RYDER2_26070
if 
  279@ == 2
goto_if_false @RYDER2_26197
if 
  278@ <> 6
goto_if_false @RYDER2_26161
Task.PlayAnimNonInterruptable($sweet_car, "VAN_PICKUP_E", "RYDER", 1000.0, False, False, False, False, -1)
278@ = 6
goto @RYDER2_26197

:RYDER2_26161
42@ = Char.GetScriptTaskStatus($sweet_car, 2066)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_26197
279@ += 1

:RYDER2_26197
if 
  279@ == 3
goto_if_false @RYDER2_26868
if 
  -60.0 > 274@
goto_if_false @RYDER2_26321
if 
  278@ <> 1
goto_if_false @RYDER2_26314
gosub @RYDER2_39790
Task.PlayAnimNonInterruptable($sweet_car, "VAN_FALL_L", "RYDER", 4.0, False, False, False, True, -1)
278@ = 1
279@ = 0

:RYDER2_26314
goto @RYDER2_26868

:RYDER2_26321
if 
  274@ > 60.0
goto_if_false @RYDER2_26427
if 
  278@ <> 2
goto_if_false @RYDER2_26420
gosub @RYDER2_39790
Task.PlayAnimNonInterruptable($sweet_car, "VAN_FALL_R", "RYDER", 4.0, False, False, False, True, -1)
278@ = 2
279@ = 0

:RYDER2_26420
goto @RYDER2_26868

:RYDER2_26427
if 
  -5.0 > 274@
goto_if_false @RYDER2_26520
if 
  278@ <> 7
goto_if_false @RYDER2_26513
Task.PlayAnimNonInterruptable($sweet_car, "VAN_CRATE_R", "RYDER", 4.0, False, False, False, True, -1)
278@ = 7

:RYDER2_26513
goto @RYDER2_26868

:RYDER2_26520
if 
  274@ > 5.0
goto_if_false @RYDER2_26613
if 
  278@ <> 8
goto_if_false @RYDER2_26606
Task.PlayAnimNonInterruptable($sweet_car, "VAN_CRATE_L", "RYDER", 4.0, False, False, False, True, -1)
278@ = 8

:RYDER2_26606
goto @RYDER2_26868

:RYDER2_26613
if 
  -2.0 > 277@
goto_if_false @RYDER2_26706
if 
  278@ <> 7
goto_if_false @RYDER2_26699
Task.PlayAnimNonInterruptable($sweet_car, "VAN_CRATE_R", "RYDER", 4.0, False, False, False, True, -1)
278@ = 7

:RYDER2_26699
goto @RYDER2_26868

:RYDER2_26706
if 
  277@ > 2.0
goto_if_false @RYDER2_26799
if 
  278@ <> 8
goto_if_false @RYDER2_26792
Task.PlayAnimNonInterruptable($sweet_car, "VAN_CRATE_L", "RYDER", 4.0, False, False, False, True, -1)
278@ = 8

:RYDER2_26792
goto @RYDER2_26868

:RYDER2_26799
if 
  278@ <> 9
goto_if_false @RYDER2_26868
Task.PlayAnimNonInterruptable($sweet_car, "VAN_STAND_CRATE", "RYDER", 4.0, False, False, False, True, -1)
278@ = 9

:RYDER2_26868
if 
  279@ == 4
goto_if_false @RYDER2_27037
if 
  278@ <> 10
goto_if_false @RYDER2_26956
Task.PlayAnimNonInterruptable($sweet_car, "VAN_THROW", "RYDER", 1000.0, False, False, False, False, -1)
278@ = 10
goto @RYDER2_27037

:RYDER2_26956
if 
  Char.IsPlayingAnim($sweet_car, "VAN_THROW")
goto_if_false @RYDER2_27037
45@ = Char.GetAnimCurrentTime($sweet_car, "VAN_THROW")
if 
  45@ > 0.292
goto_if_false @RYDER2_27037
gosub @RYDER2_39790
279@ += 1

:RYDER2_27037
if 
  279@ == 5
goto_if_false @RYDER2_27193
42@ = Char.GetScriptTaskStatus($sweet_car, 2066)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_27193
if 
  278@ <> 0
goto_if_false @RYDER2_27147
Task.PlayAnimNonInterruptable($sweet_car, "VAN_STAND", "RYDER", 1000.0, False, False, False, True, -1)
278@ = 0

:RYDER2_27147
if 
  304@ > 0
goto_if_false @RYDER2_27179
279@ = 1
goto @RYDER2_27193

:RYDER2_27179
279@ = 0
293@ = 1

:RYDER2_27193
if 
  292@ <> 0
goto_if_false @RYDER2_27270
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_27270
42@ = Char.GetHealth($sweet_car)
if 
  100 > 42@
goto_if_false @RYDER2_27270
Char.DetachFromCar($sweet_car)
Task.Die($sweet_car)
292@ = 0

:RYDER2_27270
42@ = 0

:RYDER2_27277
if 
  5 > 42@
goto_if_false @RYDER2_27634
if 
  Object.DoesExist(282@(42@,10i))
goto_if_false @RYDER2_27620
if 
  Object.DoesExist(282@(42@,10i))
goto_if_false @RYDER2_27414
if 
  not Car.IsDead(96@)
goto_if_false @RYDER2_27414
if 
  Car.IsTouchingObject(96@, 282@(42@,10i))
goto_if_false @RYDER2_27414
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(282@(42@,10i))
Object.Delete(282@(42@,10i))
Fx.AddExplosion($on_footY, $on_footZ, $in_carX, ExplosionType.Small)

:RYDER2_27414
if 
  Object.DoesExist(282@(42@,10i))
goto_if_false @RYDER2_27513
if 
  not Car.IsDead(97@)
goto_if_false @RYDER2_27513
if 
  Car.IsTouchingObject(97@, 282@(42@,10i))
goto_if_false @RYDER2_27513
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(282@(42@,10i))
Object.Delete(282@(42@,10i))
Fx.AddExplosion($on_footY, $on_footZ, $in_carX, ExplosionType.Small)

:RYDER2_27513
if 
  Object.DoesExist(282@(42@,10i))
goto_if_false @RYDER2_27620
43@ = Object.GetHealth(282@(42@,10i))
if 
  950 > 43@
goto_if_false @RYDER2_27620
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_27620
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(282@(42@,10i))
Object.Delete(282@(42@,10i))
Fx.AddExplosion($on_footY, $on_footZ, $in_carX, ExplosionType.Grenade)

:RYDER2_27620
42@ += 1
goto @RYDER2_27277

:RYDER2_27634
if 
  35@ > 4
goto_if_false @RYDER2_27803
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_27803
if 
  Char.IsInCar($stattreadstamina_ctr, 95@)
goto_if_false @RYDER2_27751
if 
  Blip.DoesExist(119@)
goto_if_false @RYDER2_27708
Blip.Remove(119@)

:RYDER2_27708
if 
  not Blip.DoesExist(120@)
goto_if_false @RYDER2_27744
120@ = Blip.AddForCoord(2454.626, -1972.534, 12.5617)

:RYDER2_27744
goto @RYDER2_27803

:RYDER2_27751
if 
  not Blip.DoesExist(119@)
goto_if_false @RYDER2_27782
119@ = Blip.AddForCar(95@)
Blip.SetAsFriendly(119@, True)

:RYDER2_27782
if 
  Blip.DoesExist(120@)
goto_if_false @RYDER2_27803
Blip.Remove(120@)

:RYDER2_27803
if 
  35@ >= 13
goto_if_false @RYDER2_28235
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_28235
if 
  not Char.IsInCar($stattreadstamina_ctr, 95@)
goto_if_false @RYDER2_28235
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_28235
if and
  194@ <= 0
  99 < 194@
goto_if_false @RYDER2_28235
if 
  54@ > 15000
goto_if_false @RYDER2_28235
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_28235
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_28235
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $sweet_car, 5.0, 5.0, 5.0, False)
goto_if_false @RYDER2_28235
42@ = Math.RandomIntInRange(0, 3)
switch_start 42@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @RYDER2_28228 {caseNum1} 0 {caseLabel1} @RYDER2_28057 {caseNum2} 1 {caseLabel2} @RYDER2_28114 {caseNum3} 2 {caseLabel3} @RYDER2_28171 {caseNum4} -1 {caseLabel4} @RYDER2_28228 {caseNum5} -1 {caseLabel5} @RYDER2_28228 {caseNum6} -1 {caseLabel6} @RYDER2_28228 {caseNum7} -1 {caseLabel7} @RYDER2_28228

:RYDER2_28057
set_var_text_label s$bd_future_time_shown = 'RYD2_QA'
set_var_int_to_constant $bd_x = 33861
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ = 1
goto @RYDER2_28228

:RYDER2_28114
set_var_text_label s$bd_future_time_shown = 'RYD2_QB'
set_var_int_to_constant $bd_x = 33862
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ = 1
goto @RYDER2_28228

:RYDER2_28171
set_var_text_label s$bd_future_time_shown = 'RYD2_QC'
set_var_int_to_constant $bd_x = 33863
start_new_script @AUDIOL $sweet_car 0 1 1 0 
49@ = 1
goto @RYDER2_28228

:RYDER2_28228
54@ = 0

:RYDER2_28235
if 
  38@ == 4
goto_if_false @RYDER2_28788
if 
  Car.DoesExist(96@)
goto_if_false @RYDER2_28788
if 
  not Car.IsDead(96@)
goto_if_false @RYDER2_28788
if 
  not Char.IsDead(113@)
goto_if_false @RYDER2_28357
if 
  not Char.IsInCar(113@, 96@)
goto_if_false @RYDER2_28357
42@ = Char.GetScriptTaskStatus(113@, 1506)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_28357
Task.KillCharOnFoot(113@, $stattreadstamina_ctr)

:RYDER2_28357
if 
  not Char.IsDead(117@)
goto_if_false @RYDER2_28788
if 
  Char.IsInCar(117@, 96@)
goto_if_false @RYDER2_28751
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_28744
if 
  Char.IsInCar($stattreadstamina_ctr, 95@)
goto_if_false @RYDER2_28580
45@ = Car.GetSpeed(95@)
if 
  5.0 > 45@
goto_if_false @RYDER2_28573
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_28573
if 
  Char.LocateAnyMeansChar3D(117@, $sweet_car, 40.0, 40.0, 20.0, False)
goto_if_false @RYDER2_28573
42@ = Char.GetScriptTaskStatus(117@, 1811)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_28573
Task.DriveBy(117@, -1, 95@, 0.0, 0.0, 0.0, 100.0, DriveByType.Ai, True, 40)

:RYDER2_28573
goto @RYDER2_28744

:RYDER2_28580
if 
  not Char.IsInCar($stattreadstamina_ctr, 96@)
goto_if_false @RYDER2_28707
if 
  Char.LocateAnyMeansChar3D(117@, $stattreadstamina_ctr, 40.0, 40.0, 20.0, False)
goto_if_false @RYDER2_28700
42@ = Char.GetScriptTaskStatus(117@, 1811)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_28700
Task.DriveBy(117@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 100.0, DriveByType.Ai, True, 40)

:RYDER2_28700
goto @RYDER2_28744

:RYDER2_28707
42@ = Char.GetScriptTaskStatus(117@, 1506)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_28744
Task.KillCharOnFoot(117@, $stattreadstamina_ctr)

:RYDER2_28744
goto @RYDER2_28788

:RYDER2_28751
42@ = Char.GetScriptTaskStatus(117@, 1506)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_28788
Task.KillCharOnFoot(117@, $stattreadstamina_ctr)

:RYDER2_28788
if 
  38@ == 8
goto_if_false @RYDER2_29341
if 
  Car.DoesExist(97@)
goto_if_false @RYDER2_29341
if 
  not Car.IsDead(97@)
goto_if_false @RYDER2_29341
if 
  not Char.IsDead(114@)
goto_if_false @RYDER2_28910
if 
  not Char.IsInCar(114@, 97@)
goto_if_false @RYDER2_28910
42@ = Char.GetScriptTaskStatus(114@, 1506)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_28910
Task.KillCharOnFoot(114@, $stattreadstamina_ctr)

:RYDER2_28910
if 
  not Char.IsDead(118@)
goto_if_false @RYDER2_29341
if 
  Char.IsInCar(118@, 97@)
goto_if_false @RYDER2_29304
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_29297
if 
  Char.IsInCar($stattreadstamina_ctr, 95@)
goto_if_false @RYDER2_29133
45@ = Car.GetSpeed(95@)
if 
  5.0 > 45@
goto_if_false @RYDER2_29126
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_29126
if 
  Char.LocateAnyMeansChar3D(118@, $sweet_car, 40.0, 40.0, 20.0, False)
goto_if_false @RYDER2_29126
42@ = Char.GetScriptTaskStatus(118@, 1811)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_29126
Task.DriveBy(118@, -1, 95@, 0.0, 0.0, 0.0, 100.0, DriveByType.Ai, True, 60)

:RYDER2_29126
goto @RYDER2_29297

:RYDER2_29133
if 
  not Char.IsInCar($stattreadstamina_ctr, 97@)
goto_if_false @RYDER2_29260
if 
  Char.LocateAnyMeansChar3D(118@, $stattreadstamina_ctr, 40.0, 40.0, 20.0, False)
goto_if_false @RYDER2_29253
42@ = Char.GetScriptTaskStatus(118@, 1811)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_29253
Task.DriveBy(118@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 100.0, DriveByType.Ai, True, 60)

:RYDER2_29253
goto @RYDER2_29297

:RYDER2_29260
42@ = Char.GetScriptTaskStatus(118@, 1506)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_29297
Task.KillCharOnFoot(118@, $stattreadstamina_ctr)

:RYDER2_29297
goto @RYDER2_29341

:RYDER2_29304
42@ = Char.GetScriptTaskStatus(118@, 1506)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @RYDER2_29341
Task.KillCharOnFoot(118@, $stattreadstamina_ctr)

:RYDER2_29341
if and
  38@ == 0
  35@ > 10
goto_if_false @RYDER2_29821
if 
  Car.DoesExist(96@)
goto_if_false @RYDER2_29821
if 
  not Car.IsDead(96@)
goto_if_false @RYDER2_29821
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_29821
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(95@, 0.0, -20.0, 0.0)
if 
  not Car.Locate2D(96@, $on_footY, $on_footZ, 40.0, 40.0, False)
goto_if_false @RYDER2_29821
if 
  not Car.IsOnScreen(96@)
goto_if_false @RYDER2_29821
42@ = 1
43@ = 0

:RYDER2_29507
if 
  43@ == 0
goto_if_false @RYDER2_29706
207@, 208@, 209@ = Path.GetNthClosestCarNode($on_footY, $on_footZ, $in_carX, 42@)
if and
  not Camera.IsPointOnScreen(207@, 208@, 209@, 5.0)
  not World.IsPointObscuredByAMissionEntity(207@, 208@, 209@, 5.0, 5.0, 5.0)
goto_if_false @RYDER2_29667
45@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 207@, 208@)
if 
  45@ > 30.0
goto_if_false @RYDER2_29653
43@ = -1
goto @RYDER2_29660

:RYDER2_29653
43@ = 1

:RYDER2_29660
goto @RYDER2_29699

:RYDER2_29667
42@ += 1
if 
  42@ > 10
goto_if_false @RYDER2_29699
43@ = -1

:RYDER2_29699
goto @RYDER2_29507

:RYDER2_29706
if 
  43@ == 1
goto_if_false @RYDER2_29821
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(95@)
set_lvar_float_to_var_float 294@ = $on_footY
sub_float_lvar_from_float_lvar 294@ -= 207@
set_lvar_float_to_var_float 295@ = $on_footZ
sub_float_lvar_from_float_lvar 295@ -= 208@
$on_footX = Math.GetHeadingFromVector2D(294@, 295@)
World.ClearArea(207@, 208@, 209@, 5.0, True)
Car.SetCoordinates(96@, 207@, 208@, 209@)
Car.SetHeading(96@, $on_footX)

:RYDER2_29821
if and
  38@ == 1
  35@ > 10
goto_if_false @RYDER2_30301
if 
  Car.DoesExist(97@)
goto_if_false @RYDER2_30301
if 
  not Car.IsDead(97@)
goto_if_false @RYDER2_30301
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_30301
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(95@, 0.0, -20.0, 0.0)
if 
  not Car.Locate2D(97@, $on_footY, $on_footZ, 40.0, 40.0, False)
goto_if_false @RYDER2_30301
if 
  not Car.IsOnScreen(97@)
goto_if_false @RYDER2_30301
42@ = 1
43@ = 0

:RYDER2_29987
if 
  43@ == 0
goto_if_false @RYDER2_30186
207@, 208@, 209@ = Path.GetNthClosestCarNode($on_footY, $on_footZ, $in_carX, 42@)
if and
  not Camera.IsPointOnScreen(207@, 208@, 209@, 5.0)
  not World.IsPointObscuredByAMissionEntity(207@, 208@, 209@, 5.0, 5.0, 5.0)
goto_if_false @RYDER2_30147
45@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 207@, 208@)
if 
  45@ > 30.0
goto_if_false @RYDER2_30133
43@ = -1
goto @RYDER2_30140

:RYDER2_30133
43@ = 1

:RYDER2_30140
goto @RYDER2_30179

:RYDER2_30147
42@ += 1
if 
  42@ > 10
goto_if_false @RYDER2_30179
43@ = -1

:RYDER2_30179
goto @RYDER2_29987

:RYDER2_30186
if 
  43@ == 1
goto_if_false @RYDER2_30301
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(95@)
set_lvar_float_to_var_float 294@ = $on_footY
sub_float_lvar_from_float_lvar 294@ -= 207@
set_lvar_float_to_var_float 295@ = $on_footZ
sub_float_lvar_from_float_lvar 295@ -= 208@
$on_footX = Math.GetHeadingFromVector2D(294@, 295@)
World.ClearArea(207@, 208@, 209@, 5.0, True)
Car.SetCoordinates(97@, 207@, 208@, 209@)
Car.SetHeading(97@, $on_footX)

:RYDER2_30301
return 

:RYDER2_30303
if 
  35@ == 0
goto_if_false @RYDER2_31011
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:RYDER2_30335
if 
  Camera.GetFadingStatus
goto_if_false @RYDER2_30359
wait 0
goto @RYDER2_30335

:RYDER2_30359
Streaming.RequestModel(105)
Streaming.RequestModel(106)

:RYDER2_30367
if or
  not Streaming.HasModelLoaded(105)
  not Streaming.HasModelLoaded(106)
goto_if_false @RYDER2_30397
wait 0
goto @RYDER2_30367

:RYDER2_30397
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_30443
Car.SetCoordinates(95@, 2455.708, -1972.858, 12.5469)
Car.SetHeading(95@, 343.4514)

:RYDER2_30443
Hud.SwitchWidescreen(True)
Camera.SetNearClip(0.1)
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_30475
Char.ClearTasks($sweet_car)

:RYDER2_30475
World.ClearArea(2447.901, -1980.542, 12.8338, 20.0, True)
Camera.SetFixedPosition(2447.901, -1980.542, 12.8338, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2448.484, -1979.735, 12.929, SwitchType.JumpCut)
if 
  not Char.IsDead(113@)
goto_if_false @RYDER2_30571
Char.Delete(113@)

:RYDER2_30571
if 
  not Char.IsDead(114@)
goto_if_false @RYDER2_30592
Char.Delete(114@)

:RYDER2_30592
if 
  not Car.IsDead(96@)
goto_if_false @RYDER2_30613
Car.Delete(96@)

:RYDER2_30613
if 
  not Car.IsDead(97@)
goto_if_false @RYDER2_30634
Car.Delete(97@)

:RYDER2_30634
115@ = Char.Create(PedType.CivMale, 105, 2448.476, -1980.751, 12.5947)
116@ = Char.Create(PedType.CivMale, 106, 2447.553, -1979.883, 12.5947)
Char.SetHeading(115@, 316.4611)
Char.SetHeading(116@, 319.2614)
Char.SetDecisionMaker(115@, 237@)
Char.SetDecisionMaker(116@, 237@)
Streaming.MarkModelAsNoLongerNeeded(105)
Streaming.MarkModelAsNoLongerNeeded(106)
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_30872
Char.DetachFromCar($sweet_car)
Char.ClearTasksImmediately($sweet_car)
if 
  Object.DoesExist(281@)
goto_if_false @RYDER2_30773
Object.Delete(281@)

:RYDER2_30773
Char.SetCoordinates($sweet_car, 2453.002, -1976.576, 12.5469)
Char.SetHeading($sweet_car, 5.1526)
Char.SetAnimGroup($sweet_car, "GANG1")
48@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2452.702, -1972.939, 12.5469, MoveState.Walk, 10000)
Task.LookAtChar(-1, $stattreadstamina_ctr, 3000)
Sequence.Close(48@)
Char.PerformSequence($sweet_car, 48@)
Sequence.Clear(48@)

:RYDER2_30872
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2452.29, -1971.682, 12.5469)
Char.SetHeading($stattreadstamina_ctr, 153.4741)
if 
  not Char.IsDead(115@)
goto_if_false @RYDER2_30934
Task.LookAtChar($stattreadstamina_ctr, 115@, 4000)

:RYDER2_30934
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
$audio_line_terminate_all = 0
Text.ClearPrints
49@ = 0
54@ = 1000
TIMERA = 0
Camera.DoFade(500, Fade.In)

:RYDER2_30980
if 
  Camera.GetFadingStatus
goto_if_false @RYDER2_31004
wait 0
goto @RYDER2_30980

:RYDER2_31004
35@ += 1

:RYDER2_31011
if 
  35@ > 0
goto_if_false @RYDER2_31740
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_31740
if 
  54@ > 1000
goto_if_false @RYDER2_31740
switch_start 49@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @RYDER2_31740 {caseNum1} 0 {caseLabel1} @RYDER2_31129 {caseNum2} 1 {caseLabel2} @RYDER2_31288 {caseNum3} 2 {caseLabel3} @RYDER2_31365 {caseNum4} 3 {caseLabel4} @RYDER2_31579 {caseNum5} -1 {caseLabel5} @RYDER2_31740 {caseNum6} -1 {caseLabel6} @RYDER2_31740 {caseNum7} -1 {caseLabel7} @RYDER2_31740

:RYDER2_31129
set_var_text_label s$bd_future_time_shown = 'RYD2_TA'
set_var_int_to_constant $bd_x = 33876
start_new_script @AUDIOL $sweet_car 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33877)
49@ += 1
54@ = 0
if 
  not Char.IsDead(115@)
goto_if_false @RYDER2_31240
Task.GoStraightToCoord(115@, 2451.915, -1977.506, 12.5947, MoveState.Walk, 10000)

:RYDER2_31240
if 
  not Char.IsDead(116@)
goto_if_false @RYDER2_31281
Task.GoStraightToCoord(116@, 2450.546, -1976.361, 12.5947, MoveState.Walk, 10000)

:RYDER2_31281
goto @RYDER2_31740

:RYDER2_31288
set_var_text_label s$bd_future_time_shown = 'RYD2_TB'
set_var_int_to_constant $bd_x = 33877
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33878)
49@ += 1
54@ = 0
goto @RYDER2_31740

:RYDER2_31365
Camera.SetFixedPosition(2450.046, -1966.412, 15.1296, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2450.561, -1967.251, 14.9539, SwitchType.JumpCut)
set_var_text_label s$bd_future_time_shown = 'RYD2_TC'
set_var_int_to_constant $bd_x = 33878
start_new_script @AUDIOL $sweet_car 0 1 1 1 
49@ += 1
54@ = 0
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_31572
48@ = Sequence.Open()
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, True, True, False, 2000)
Task.GoStraightToCoord(-1, 2452.239, -1980.224, 12.5469, MoveState.Walk, 10000)
Sequence.Close(48@)
Char.PerformSequence($sweet_car, 48@)
Sequence.Clear(48@)

:RYDER2_31572
goto @RYDER2_31740

:RYDER2_31579
if 
  not Char.IsDead(115@)
goto_if_false @RYDER2_31649
48@ = Sequence.Open()
Task.Pause(-1, 2000)
Task.GoStraightToCoord(-1, 2452.951, -1982.921, 12.5469, MoveState.Walk, 10000)
Sequence.Close(48@)
Char.PerformSequence(115@, 48@)
Sequence.Clear(48@)

:RYDER2_31649
if 
  not Char.IsDead(116@)
goto_if_false @RYDER2_31719
48@ = Sequence.Open()
Task.Pause(-1, 1500)
Task.GoStraightToCoord(-1, 2452.006, -1983.186, 12.5469, MoveState.Walk, 10000)
Sequence.Close(48@)
Char.PerformSequence(116@, 48@)
Sequence.Clear(48@)

:RYDER2_31719
49@ += 1
54@ = 0
goto @RYDER2_31740

:RYDER2_31740
if 
  35@ == 1
goto_if_false @RYDER2_31844
if and
  49@ > 3
  54@ > 5000
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_31820
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @RYDER2_31813
35@ += 1

:RYDER2_31813
goto @RYDER2_31844

:RYDER2_31820
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @RYDER2_31844
35@ += 1

:RYDER2_31844
if 
  35@ == 2
goto_if_false @RYDER2_32058
Camera.DoFade(1000, Fade.Out)

:RYDER2_31869
if 
  Camera.GetFadingStatus
goto_if_false @RYDER2_31893
wait 0
goto @RYDER2_31869

:RYDER2_31893
Char.Delete(115@)
Char.Delete(116@)
Char.Delete($sweet_car)
42@ = 0

:RYDER2_31915
if 
  5 > 42@
goto_if_false @RYDER2_31976
if 
  Object.DoesExist(308@(42@,5i))
goto_if_false @RYDER2_31962
Object.Delete(308@(42@,5i))

:RYDER2_31962
42@ += 1
goto @RYDER2_31915

:RYDER2_31976
if 
  Object.DoesExist(313@)
goto_if_false @RYDER2_31997
Object.Delete(313@)

:RYDER2_31997
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(1000, Fade.In)

:RYDER2_32020
if 
  Camera.GetFadingStatus
goto_if_false @RYDER2_32044
wait 0
goto @RYDER2_32020

:RYDER2_32044
Player.SetControl($statbike_temp, True)
36@ = 1

:RYDER2_32058
return 

:RYDER2_32060
if 
  Char.DoesExist($sweet_car)
goto_if_false @RYDER2_32115
if 
  Char.IsDead($sweet_car)
goto_if_false @RYDER2_32115
37@ = 1
Text.PrintNow('RY2_22', 5000, 1)

:RYDER2_32115
if 
  Car.DoesExist(95@)
goto_if_false @RYDER2_32209
if 
  Car.IsDead(95@)
goto_if_false @RYDER2_32209
if 
  292@ == 1
goto_if_false @RYDER2_32186
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_32186
Task.Die($sweet_car)

:RYDER2_32186
37@ = 1
Text.PrintNow('RY2_25', 5000, 1)

:RYDER2_32209
if 
  6 > 34@
goto_if_false @RYDER2_32328
if 
  Car.DoesExist(99@)
goto_if_false @RYDER2_32328
if 
  Car.IsDead(99@)
goto_if_false @RYDER2_32289
37@ = 1
Text.PrintNow('RY2_40', 5000, 1)
goto @RYDER2_32328

:RYDER2_32289
if 
  Car.IsInWater(99@)
goto_if_false @RYDER2_32328
37@ = 1
Text.PrintNow('RY2_40', 5000, 1)

:RYDER2_32328
if and
  34@ > 2
  6 > 34@
goto_if_false @RYDER2_32677
if 
  38@ == 6
goto_if_false @RYDER2_32677
42@ = 0
43@ = 0

:RYDER2_32385
if 
  25 > 42@
goto_if_false @RYDER2_32510
if 
  Object.DoesExist(62@(42@,25i))
goto_if_false @RYDER2_32496
if 
  not Object.IsInWater(62@(42@,25i))
goto_if_false @RYDER2_32496
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(62@(42@,25i))
if 
  $in_carX > 0.0
goto_if_false @RYDER2_32489
43@ += 1

:RYDER2_32489
goto @RYDER2_32496

:RYDER2_32496
42@ += 1
goto @RYDER2_32385

:RYDER2_32510
if 
  is_int_var_greater_than_int_lvar $s2_random_int > 43@
goto_if_false @RYDER2_32677
42@ = Math.RandomIntInRange(0, 2)
if 
  42@ == 0
goto_if_false @RYDER2_32606
set_var_text_label s$bd_future_time_shown = 'RYD2_LF'
set_var_int_to_constant $bd_x = 33838
start_new_script @AUDIOL $sweet_car 0 1 1 0 
goto @RYDER2_32649

:RYDER2_32606
set_var_text_label s$bd_future_time_shown = 'RYD2_LE'
set_var_int_to_constant $bd_x = 33837
start_new_script @AUDIOL $sweet_car 0 1 1 0 

:RYDER2_32649
wait 4000
Text.PrintNow('RY2_58', 5000, 1)
37@ = 1

:RYDER2_32677
if 
  34@ >= 3
goto_if_false @RYDER2_33146
if 
  133@ == 0
goto_if_false @RYDER2_32793
if 
  Object.DoesExist(60@)
goto_if_false @RYDER2_32786
if 
  Object.HasBeenDamaged(60@)
goto_if_false @RYDER2_32786
133@ += 1
Text.ClearPrints
Audio.ReportMissionAudioEventAtObject(60@, 1107)
if 
  Object.DoesExist(240@)
goto_if_false @RYDER2_32786
Audio.ReportMissionAudioEventAtObject(240@, 1126)

:RYDER2_32786
goto @RYDER2_32884

:RYDER2_32793
if 
  133@ == 1
goto_if_false @RYDER2_32884
if 
  Object.DoesExist(240@)
goto_if_false @RYDER2_32884
if 
  Object.Slide(240@, 248@, 249@, 250@, 0.0, 0.2, 0.0, False)
goto_if_false @RYDER2_32884
Audio.ReportMissionAudioEventAtObject(240@, 1127)
133@ += 1

:RYDER2_32884
if 
  132@ == 0
goto_if_false @RYDER2_33024
if 
  Object.DoesExist(61@)
goto_if_false @RYDER2_33017
if 
  Object.HasBeenDamaged(61@)
goto_if_false @RYDER2_33017
if 
  Object.DoesExist(87@)
goto_if_false @RYDER2_32955
Object.Delete(87@)

:RYDER2_32955
if 
  Object.DoesExist(88@)
goto_if_false @RYDER2_32976
Object.Delete(88@)

:RYDER2_32976
Audio.ReportMissionAudioEventAtObject(61@, 1107)
if 
  Object.DoesExist(241@)
goto_if_false @RYDER2_33008
Audio.ReportMissionAudioEventAtObject(241@, 1035)

:RYDER2_33008
Text.ClearPrints
132@ += 1

:RYDER2_33017
goto @RYDER2_33146

:RYDER2_33024
if 
  132@ == 1
goto_if_false @RYDER2_33146
if 
  Object.DoesExist(241@)
goto_if_false @RYDER2_33146
if 
  Object.Slide(241@, 251@, 252@, 253@, 0.1, 0.1, 0.1, False)
goto_if_false @RYDER2_33146
Audio.ReportMissionAudioEventAtObject(241@, 1036)
if 
  133@ <> 0
goto_if_false @RYDER2_33131
Blip.Remove(120@)

:RYDER2_33131
132@ += 1
144@ = 30000

:RYDER2_33146
if 
  38@ == 0
goto_if_false @RYDER2_33241
if 
  Char.IsInArea2D($stattreadstamina_ctr, 2721.0, -2329.852, 2810.548, -2565.934, False)
goto_if_false @RYDER2_33234
if 
  126@ == 0
goto_if_false @RYDER2_33227
126@ = 1

:RYDER2_33227
goto @RYDER2_33241

:RYDER2_33234
126@ = 0

:RYDER2_33241
set_var_int_to_lvar_int $s2_random_int = 200@
sub_int_lvar_from_int_var $s2_random_int -= 127@
if 
  0 > $s2_random_int
goto_if_false @RYDER2_33282
$s2_random_int = 0

:RYDER2_33282
if 
  124@ == 1
goto_if_false @RYDER2_33395
if 
  131@ == 0
goto_if_false @RYDER2_33395
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_33395
Char.SetRelationship($sweet_car, RelationshipType.Hate, PedType.Mission1)
Task.TogglePedThreatScanner($sweet_car, False, True, False)
DecisionMakerChar.AddEventResponse(235@, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
131@ = 1

:RYDER2_33395
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_33486
$s2_meet_z = Char.GetHealth($sweet_car)
cset_lvar_float_to_var_int 45@ =# $s2_meet_z
45@ /= 500.0
45@ *= 100.0
if 
  45@ > 100.0
goto_if_false @RYDER2_33478
45@ = 100.0

:RYDER2_33478
cset_var_int_to_lvar_float $s2_meet_z =# 45@

:RYDER2_33486
if 
  124@ == 0
goto_if_false @RYDER2_34287
if 
  38@ == 1
goto_if_false @RYDER2_34280
42@ = 0

:RYDER2_33529
if 
  5 > 42@
goto_if_false @RYDER2_33623
if 
  not Char.IsDead(102@(42@,9i))
goto_if_false @RYDER2_33609
if or
  Char.HasBeenDamagedByChar(102@(42@,9i), $stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, 102@(42@,9i))
goto_if_false @RYDER2_33609
124@ = 1

:RYDER2_33609
42@ += 1
goto @RYDER2_33529

:RYDER2_33623
if 
  124@ == 0
goto_if_false @RYDER2_34212
42@ = 0

:RYDER2_33648
if 
  5 > 42@
goto_if_false @RYDER2_34212
if 
  not Char.IsDead(102@(42@,9i))
goto_if_false @RYDER2_34198
if 
  172@(42@,9i) == 0
goto_if_false @RYDER2_33950
if 
  126@ == 1
goto_if_false @RYDER2_33950
if 
  Char.HasSpottedChar(102@(42@,9i), $stattreadstamina_ctr)
goto_if_false @RYDER2_33865
Task.AimGunAtChar(102@(42@,9i), $stattreadstamina_ctr, 10000)
if 
  300@ == 0
goto_if_false @RYDER2_33836
set_var_text_label s$bd_future_time_shown = 'RYD2_VA'
set_var_int_to_constant $bd_x = 33883
start_new_script @AUDIOL 102@(42@,9i) 0 1 1 0 
300@ += 1

:RYDER2_33836
181@(42@,9i) = 0
172@(42@,9i) += 1
goto @RYDER2_33950

:RYDER2_33865
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 102@(42@,9i), 5.0, 5.0, 2.0, False)
goto_if_false @RYDER2_33950
43@ = Char.GetScriptTaskStatus(102@(42@,9i), 1593)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @RYDER2_33950
Task.TurnCharToFaceChar(102@(42@,9i), $stattreadstamina_ctr)

:RYDER2_33950
if 
  172@(42@,9i) == 1
goto_if_false @RYDER2_34198
if 
  181@(42@,9i) > 8000
goto_if_false @RYDER2_34162
if 
  126@ == 1
goto_if_false @RYDER2_34155
43@ = Math.RandomIntInRange(0, 2)
if 
  42@ == 0
goto_if_false @RYDER2_34094
set_var_text_label s$bd_future_time_shown = 'RYD2_VB'
set_var_int_to_constant $bd_x = 33884
start_new_script @AUDIOL 102@(42@,9i) 0 1 1 0 
goto @RYDER2_34141

:RYDER2_34094
set_var_text_label s$bd_future_time_shown = 'RYD2_VG'
set_var_int_to_constant $bd_x = 33889
start_new_script @AUDIOL 102@(42@,9i) 0 1 1 0 

:RYDER2_34141
124@ = 1
42@ = 5

:RYDER2_34155
goto @RYDER2_34198

:RYDER2_34162
if 
  126@ == 0
goto_if_false @RYDER2_34198
172@(42@,9i) = 0
300@ = 0

:RYDER2_34198
42@ += 1
goto @RYDER2_33648

:RYDER2_34212
if 
  124@ == 1
goto_if_false @RYDER2_34280
42@ = 0

:RYDER2_34237
if 
  9 > 42@
goto_if_false @RYDER2_34280
172@(42@,9i) = 0
42@ += 1
goto @RYDER2_34237

:RYDER2_34280
goto @RYDER2_35168

:RYDER2_34287
if 
  9 > 38@
goto_if_false @RYDER2_35168
if 
  not Char.IsDead(102@(38@,9i))
goto_if_false @RYDER2_35168
switch_start 38@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @RYDER2_35094 {caseNum1} 1 {caseLabel1} @RYDER2_34388 {caseNum2} 2 {caseLabel2} @RYDER2_34468 {caseNum3} 3 {caseLabel3} @RYDER2_34698 {caseNum4} 4 {caseLabel4} @RYDER2_34921 {caseNum5} -1 {caseLabel5} @RYDER2_35168 {caseNum6} -1 {caseLabel6} @RYDER2_35168 {caseNum7} -1 {caseLabel7} @RYDER2_35168

:RYDER2_34388
if 
  172@(38@,9i) == 0
goto_if_false @RYDER2_34461
48@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(48@)
Char.PerformSequence(102@(38@,9i), 48@)
Sequence.Clear(48@)
172@(38@,9i) += 1

:RYDER2_34461
goto @RYDER2_35168

:RYDER2_34468
if 
  132@ == 1
goto_if_false @RYDER2_34691
if 
  174@ == 0
goto_if_false @RYDER2_34622
Char.SetRelationship(104@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(104@, RelationshipType.Hate, PedType.Mission2)
Task.TogglePedThreatScanner(104@, False, False, False)
48@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2785.752, -2413.019, 12.6316, MoveState.Run, -2)
Task.SetCharDecisionMaker(-1, 236@)
Task.TogglePedThreatScanner(-1, True, True, False)
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.KindaStayInSamePlace(-1, True)
Sequence.Close(48@)
Char.PerformSequence(104@, 48@)
Sequence.Clear(48@)
174@ += 1

:RYDER2_34622
if 
  174@ == 1
goto_if_false @RYDER2_34691
if 
  Char.LocateAnyMeansChar3D(104@, $stattreadstamina_ctr, 5.0, 5.0, 5.0, False)
goto_if_false @RYDER2_34691
Task.KillCharOnFoot(104@, $stattreadstamina_ctr)
174@ += 1

:RYDER2_34691
goto @RYDER2_35168

:RYDER2_34698
if 
  132@ == 1
goto_if_false @RYDER2_34914
if 
  175@ == 0
goto_if_false @RYDER2_34845
Char.SetRelationship(105@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(105@, RelationshipType.Hate, PedType.Mission2)
Task.TogglePedThreatScanner(105@, False, False, False)
48@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2786.663, -2422.235, 12.634, MoveState.Run, -2)
Task.SetCharDecisionMaker(-1, 236@)
Task.TogglePedThreatScanner(-1, True, True, False)
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.KindaStayInSamePlace(-1, True)
Sequence.Close(48@)
Char.PerformSequence(105@, 48@)
Sequence.Clear(48@)

:RYDER2_34845
if 
  175@ == 1
goto_if_false @RYDER2_34914
if 
  Char.LocateAnyMeansChar3D(105@, $stattreadstamina_ctr, 5.0, 5.0, 5.0, False)
goto_if_false @RYDER2_34914
Task.KillCharOnFoot(105@, $stattreadstamina_ctr)
175@ += 1

:RYDER2_34914
goto @RYDER2_35168

:RYDER2_34921
if 
  176@ == 0
goto_if_false @RYDER2_35018
48@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2764.928, -2402.124, 12.625, MoveState.Run, -2)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 1, 3000, 90)
Task.StayInSamePlace(-1, True)
Sequence.Close(48@)
Char.PerformSequence(106@, 48@)
Sequence.Clear(48@)
176@ += 1

:RYDER2_35018
if 
  176@ == 1
goto_if_false @RYDER2_35087
if 
  Char.LocateAnyMeansChar3D(106@, $stattreadstamina_ctr, 5.0, 5.0, 5.0, False)
goto_if_false @RYDER2_35087
Task.KillCharOnFoot(106@, $stattreadstamina_ctr)
176@ += 1

:RYDER2_35087
goto @RYDER2_35168

:RYDER2_35094
if 
  172@(38@,9i) == 0
goto_if_false @RYDER2_35161
48@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(48@)
Char.PerformSequence(102@(38@,9i), 48@)
Sequence.Clear(48@)
172@(38@,9i) += 1

:RYDER2_35161
goto @RYDER2_35168

:RYDER2_35168
if 
  38@ == 2
goto_if_false @RYDER2_35667
42@ = 0

:RYDER2_35193
if 
  25 > 42@
goto_if_false @RYDER2_35667
if 
  Object.DoesExist(62@(42@,25i))
goto_if_false @RYDER2_35653
if 
  Object.HasBeenDamaged(62@(42@,25i))
goto_if_false @RYDER2_35653
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(62@(42@,25i))
if 
  Object.IsAttached(62@(42@,25i))
goto_if_false @RYDER2_35296
goto @RYDER2_35637

:RYDER2_35296
if 
  147@(42@,25i) == 1
goto_if_false @RYDER2_35350
210@(42@,25i) = Pickup.CreateWithAmmo(346, PickupType.Once, 30, $on_footY, $on_footZ, $in_carX)
goto @RYDER2_35637

:RYDER2_35350
if 
  147@(42@,25i) == 2
goto_if_false @RYDER2_35401
210@(42@,25i) = Pickup.Create(#BODYARMOUR, PickupType.Once, $on_footY, $on_footZ, $in_carX)
goto @RYDER2_35637

:RYDER2_35401
if 
  147@(42@,25i) == 3
goto_if_false @RYDER2_35455
210@(42@,25i) = Pickup.CreateWithAmmo(342, PickupType.Once, 6, $on_footY, $on_footZ, $in_carX)
goto @RYDER2_35637

:RYDER2_35455
if 
  147@(42@,25i) == 4
goto_if_false @RYDER2_35507
210@(42@,25i) = Pickup.Create(#HEALTH, PickupType.Once, $on_footY, $on_footZ, $in_carX)
goto @RYDER2_35637

:RYDER2_35507
if 
  147@(42@,25i) == 5
goto_if_false @RYDER2_35536
goto @RYDER2_35637

:RYDER2_35536
if 
  147@(42@,25i) == 6
goto_if_false @RYDER2_35590
210@(42@,25i) = Pickup.CreateWithAmmo(352, PickupType.Once, 30, $on_footY, $on_footZ, $in_carX)
goto @RYDER2_35637

:RYDER2_35590
if 
  147@(42@,25i) == 7
goto_if_false @RYDER2_35637
210@(42@,25i) = Pickup.CreateWithAmmo(349, PickupType.Once, 30, $on_footY, $on_footZ, $in_carX)

:RYDER2_35637
145@ += 1
Object.Delete(62@(42@,25i))

:RYDER2_35653
42@ += 1
goto @RYDER2_35193

:RYDER2_35667
if 
  197@ == 1
goto_if_false @RYDER2_36077
if 
  196@ == 0
goto_if_false @RYDER2_35912
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_35905
if 
  Char.IsInCar($stattreadstamina_ctr, 99@)
goto_if_false @RYDER2_35905
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_35905
if 
  not Car.IsPlaybackGoingOn(95@)
goto_if_false @RYDER2_35905
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_35905
if 
  not Char.IsInCar($sweet_car, 95@)
goto_if_false @RYDER2_35905
if 
  Car.IsStopped(95@)
goto_if_false @RYDER2_35905
196@ = 1
Car.FreezePosition(95@, True)
Car.SetCollision(95@, False)
if 
  not Object.DoesExist(93@)
goto_if_false @RYDER2_35905
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(95@)
$on_footX = Car.GetHeading(95@)
93@ = Object.CreateNoOffset(#FAKE_MULE_COL, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(93@, $on_footX)

:RYDER2_35905
goto @RYDER2_36077

:RYDER2_35912
if 
  271@ == 0
goto_if_false @RYDER2_36077
if 
  not Car.IsDead(99@)
goto_if_false @RYDER2_35979
if 
  not Char.IsInCar($stattreadstamina_ctr, 99@)
goto_if_false @RYDER2_35972
196@ = 0

:RYDER2_35972
goto @RYDER2_35986

:RYDER2_35979
196@ = 0

:RYDER2_35986
if 
  196@ == 0
goto_if_false @RYDER2_36077
if 
  Object.DoesExist(93@)
goto_if_false @RYDER2_36047
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(93@)
$on_footX = Object.GetHeading(93@)
Object.Delete(93@)

:RYDER2_36047
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_36077
Car.SetCollision(95@, True)
Car.FreezePosition(95@, False)

:RYDER2_36077
if and
  38@ == 3
  34@ >= 3
goto_if_false @RYDER2_36430
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_36430
if 
  Object.DoesExist(60@)
goto_if_false @RYDER2_36277
if 
  not Object.HasBeenDamaged(60@)
goto_if_false @RYDER2_36277
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2722.114, -2412.055, 12.6198, 2.0, 2.0, 2.0, False)
goto_if_false @RYDER2_36252
if 
  301@ == 0
goto_if_false @RYDER2_36245
Text.PrintNow('RY2_61', 5000, 1)
301@ += 1

:RYDER2_36245
goto @RYDER2_36277

:RYDER2_36252
if 
  301@ <> 0
goto_if_false @RYDER2_36277
301@ = 0

:RYDER2_36277
if 
  Object.DoesExist(61@)
goto_if_false @RYDER2_36430
if 
  not Object.HasBeenDamaged(61@)
goto_if_false @RYDER2_36430
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2773.101, -2423.418, 12.6269, 2.0, 2.0, 2.0, False)
goto_if_false @RYDER2_36405
if 
  302@ == 0
goto_if_false @RYDER2_36398
Text.PrintNow('RY2_62', 5000, 1)
302@ += 1

:RYDER2_36398
goto @RYDER2_36430

:RYDER2_36405
if 
  302@ <> 0
goto_if_false @RYDER2_36430
302@ = 0

:RYDER2_36430
if 
  38@ == 4
goto_if_false @RYDER2_36848
if 
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_36848
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_36848
if 
  Car.IsPlaybackGoingOn(95@)
goto_if_false @RYDER2_36848
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(95@, 0.0, 10.0, 0.0)
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 4.0, 4.0, 4.0, False)
goto_if_false @RYDER2_36823
if 
  303@ == 0
goto_if_false @RYDER2_36816
42@ = Math.RandomIntInRange(0, 3)
switch_start 42@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @RYDER2_36809 {caseNum1} 0 {caseLabel1} @RYDER2_36659 {caseNum2} 1 {caseLabel2} @RYDER2_36709 {caseNum3} 2 {caseLabel3} @RYDER2_36759 {caseNum4} -1 {caseLabel4} @RYDER2_36809 {caseNum5} -1 {caseLabel5} @RYDER2_36809 {caseNum6} -1 {caseLabel6} @RYDER2_36809 {caseNum7} -1 {caseLabel7} @RYDER2_36809

:RYDER2_36659
set_var_text_label s$bd_future_time_shown = 'RYD2_JA'
set_var_int_to_constant $bd_x = 33827
start_new_script @AUDIOL $sweet_car 0 0 1 0 
goto @RYDER2_36809

:RYDER2_36709
set_var_text_label s$bd_future_time_shown = 'RYD2_JB'
set_var_int_to_constant $bd_x = 33828
start_new_script @AUDIOL $sweet_car 0 0 1 0 
goto @RYDER2_36809

:RYDER2_36759
set_var_text_label s$bd_future_time_shown = 'RYD2_JC'
set_var_int_to_constant $bd_x = 33829
start_new_script @AUDIOL $sweet_car 0 0 1 0 
goto @RYDER2_36809

:RYDER2_36809
303@ += 1

:RYDER2_36816
goto @RYDER2_36848

:RYDER2_36823
if 
  303@ <> 0
goto_if_false @RYDER2_36848
303@ = 0

:RYDER2_36848
if 
  145@ == 3
goto_if_false @RYDER2_36938
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
goto_if_false @RYDER2_36938
set_var_text_label s$bd_future_time_shown = 'RYD2_LG'
set_var_int_to_constant $bd_x = 33839
start_new_script @AUDIOL $sweet_car 0 1 1 0 
145@ += 1

:RYDER2_36938
return 

:RYDER2_36940
if 
  306@ == 6
goto_if_false @RYDER2_36972
307@ = 1
306@ = 5

:RYDER2_36972
if 
  307@ == 1
goto_if_false @RYDER2_37097
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_37090
if 
  not Object.DoesExist(313@)
goto_if_false @RYDER2_37090
313@ = Object.Create(#CM_BOX, 0.0, 0.0, 0.0)
Object.SetCollision(313@, False)
Object.AttachToCar(313@, 95@, 0.6223, -2.3101, 0.2002, 0.0, 0.0, 317.0214)

:RYDER2_37090
goto @RYDER2_37118

:RYDER2_37097
if 
  Object.DoesExist(313@)
goto_if_false @RYDER2_37118
Object.Delete(313@)

:RYDER2_37118
switch_start 306@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @RYDER2_39063 {caseNum1} 0 {caseLabel1} @RYDER2_37181 {caseNum2} 1 {caseLabel2} @RYDER2_37256 {caseNum3} 2 {caseLabel3} @RYDER2_37431 {caseNum4} 3 {caseLabel4} @RYDER2_37706 {caseNum5} 4 {caseLabel5} @RYDER2_38081 {caseNum6} 5 {caseLabel6} @RYDER2_38556 {caseNum7} -1 {caseLabel7} @RYDER2_39063

:RYDER2_37181
314@ = 0

:RYDER2_37188
if 
  5 > 314@
goto_if_false @RYDER2_37249
if 
  Object.DoesExist(308@(314@,5i))
goto_if_false @RYDER2_37235
Object.Delete(308@(314@,5i))

:RYDER2_37235
314@ += 1
goto @RYDER2_37188

:RYDER2_37249
goto @RYDER2_39063

:RYDER2_37256
if 
  not Object.DoesExist(308@)
goto_if_false @RYDER2_37356
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_37356
308@ = Object.Create(#CJ_CARDBRD_PICKUP, 0.0, 0.0, 0.0)
Object.SetCollision(308@, False)
Object.AttachToCar(308@, 95@, -0.4928, -0.1684, 0.3614, 0.0, 0.0, 0.0)

:RYDER2_37356
314@ = 1

:RYDER2_37363
if 
  5 > 314@
goto_if_false @RYDER2_37424
if 
  Object.DoesExist(308@(314@,5i))
goto_if_false @RYDER2_37410
Object.Delete(308@(314@,5i))

:RYDER2_37410
314@ += 1
goto @RYDER2_37363

:RYDER2_37424
goto @RYDER2_39063

:RYDER2_37431
if 
  not Object.DoesExist(309@)
goto_if_false @RYDER2_37531
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_37531
309@ = Object.Create(#CJ_CARDBRD_PICKUP, 0.0, 0.0, 0.0)
Object.SetCollision(309@, False)
Object.AttachToCar(309@, 95@, 0.4835, -0.2148, 0.3614, 0.0, 0.0, 0.0)

:RYDER2_37531
if 
  not Object.DoesExist(308@)
goto_if_false @RYDER2_37631
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_37631
308@ = Object.Create(#CJ_CARDBRD_PICKUP, 0.0, 0.0, 0.0)
Object.SetCollision(308@, False)
Object.AttachToCar(308@, 95@, -0.4928, -0.1684, 0.3614, 0.0, 0.0, 0.0)

:RYDER2_37631
314@ = 2

:RYDER2_37638
if 
  5 > 314@
goto_if_false @RYDER2_37699
if 
  Object.DoesExist(308@(314@,5i))
goto_if_false @RYDER2_37685
Object.Delete(308@(314@,5i))

:RYDER2_37685
314@ += 1
goto @RYDER2_37638

:RYDER2_37699
goto @RYDER2_39063

:RYDER2_37706
if 
  not Object.DoesExist(310@)
goto_if_false @RYDER2_37806
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_37806
310@ = Object.Create(#CARDBOARDBOX2, 0.0, 0.0, 0.0)
Object.SetCollision(310@, False)
Object.AttachToCar(310@, 95@, -0.2585, -0.3195, 1.1567, 0.0, 0.0, 23.47)

:RYDER2_37806
if 
  not Object.DoesExist(309@)
goto_if_false @RYDER2_37906
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_37906
309@ = Object.Create(#CJ_CARDBRD_PICKUP, 0.0, 0.0, 0.0)
Object.SetCollision(309@, False)
Object.AttachToCar(309@, 95@, 0.4835, -0.2148, 0.3614, 0.0, 0.0, 0.0)

:RYDER2_37906
if 
  not Object.DoesExist(308@)
goto_if_false @RYDER2_38006
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_38006
308@ = Object.Create(#CJ_CARDBRD_PICKUP, 0.0, 0.0, 0.0)
Object.SetCollision(308@, False)
Object.AttachToCar(308@, 95@, -0.4928, -0.1684, 0.3614, 0.0, 0.0, 0.0)

:RYDER2_38006
314@ = 3

:RYDER2_38013
if 
  5 > 314@
goto_if_false @RYDER2_38074
if 
  Object.DoesExist(308@(314@,5i))
goto_if_false @RYDER2_38060
Object.Delete(308@(314@,5i))

:RYDER2_38060
314@ += 1
goto @RYDER2_38013

:RYDER2_38074
goto @RYDER2_39063

:RYDER2_38081
if 
  not Object.DoesExist(311@)
goto_if_false @RYDER2_38181
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_38181
311@ = Object.Create(#CARDBOARDBOX2, 0.0, 0.0, 0.0)
Object.SetCollision(311@, False)
Object.AttachToCar(311@, 95@, -0.4009, -1.7762, 0.2292, 0.0, 0.0, 342.0102)

:RYDER2_38181
if 
  not Object.DoesExist(310@)
goto_if_false @RYDER2_38281
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_38281
310@ = Object.Create(#CARDBOARDBOX2, 0.0, 0.0, 0.0)
Object.SetCollision(310@, False)
Object.AttachToCar(310@, 95@, -0.2585, -0.3195, 1.1567, 0.0, 0.0, 23.47)

:RYDER2_38281
if 
  not Object.DoesExist(309@)
goto_if_false @RYDER2_38381
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_38381
309@ = Object.Create(#CJ_CARDBRD_PICKUP, 0.0, 0.0, 0.0)
Object.SetCollision(309@, False)
Object.AttachToCar(309@, 95@, 0.4835, -0.2148, 0.3614, 0.0, 0.0, 0.0)

:RYDER2_38381
if 
  not Object.DoesExist(308@)
goto_if_false @RYDER2_38481
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_38481
308@ = Object.Create(#CJ_CARDBRD_PICKUP, 0.0, 0.0, 0.0)
Object.SetCollision(308@, False)
Object.AttachToCar(308@, 95@, -0.4928, -0.1684, 0.3614, 0.0, 0.0, 0.0)

:RYDER2_38481
314@ = 4

:RYDER2_38488
if 
  5 > 314@
goto_if_false @RYDER2_38549
if 
  Object.DoesExist(308@(314@,5i))
goto_if_false @RYDER2_38535
Object.Delete(308@(314@,5i))

:RYDER2_38535
314@ += 1
goto @RYDER2_38488

:RYDER2_38549
goto @RYDER2_39063

:RYDER2_38556
if 
  not Object.DoesExist(312@)
goto_if_false @RYDER2_38656
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_38656
312@ = Object.Create(#CARDBOARDBOX2, 0.0, 0.0, 0.0)
Object.SetCollision(312@, False)
Object.AttachToCar(312@, 95@, -0.4374, -1.7451, 0.9021, 0.0, 0.0, 210.1588)

:RYDER2_38656
if 
  not Object.DoesExist(311@)
goto_if_false @RYDER2_38756
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_38756
311@ = Object.Create(#CARDBOARDBOX2, 0.0, 0.0, 0.0)
Object.SetCollision(311@, False)
Object.AttachToCar(311@, 95@, -0.4009, -1.7762, 0.2292, 0.0, 0.0, 342.0102)

:RYDER2_38756
if 
  not Object.DoesExist(310@)
goto_if_false @RYDER2_38856
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_38856
310@ = Object.Create(#CARDBOARDBOX2, 0.0, 0.0, 0.0)
Object.SetCollision(310@, False)
Object.AttachToCar(310@, 95@, -0.2585, -0.3195, 1.1567, 0.0, 0.0, 23.47)

:RYDER2_38856
if 
  not Object.DoesExist(309@)
goto_if_false @RYDER2_38956
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_38956
309@ = Object.Create(#CJ_CARDBRD_PICKUP, 0.0, 0.0, 0.0)
Object.SetCollision(309@, False)
Object.AttachToCar(309@, 95@, 0.4835, -0.2148, 0.3614, 0.0, 0.0, 0.0)

:RYDER2_38956
if 
  not Object.DoesExist(308@)
goto_if_false @RYDER2_39056
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_39056
308@ = Object.Create(#CJ_CARDBRD_PICKUP, 0.0, 0.0, 0.0)
Object.SetCollision(308@, False)
Object.AttachToCar(308@, 95@, -0.4928, -0.1684, 0.3614, 0.0, 0.0, 0.0)

:RYDER2_39056
goto @RYDER2_39063

:RYDER2_39063
return 

:RYDER2_39065
316@ = -1
315@ = 0

:RYDER2_39079
if 
  10 > 315@
goto_if_false @RYDER2_39146
if 
  not Object.DoesExist(282@(315@,10i))
goto_if_false @RYDER2_39132
set_lvar_int_to_lvar_int 316@ = 315@
315@ = 10

:RYDER2_39132
315@ += 1
goto @RYDER2_39079

:RYDER2_39146
if 
  316@ <> -1
goto_if_false @RYDER2_39201
set_lvar_int_to_lvar_int 282@(316@,10i) = 281@
53@ = 0
Object.SetRecordsCollisions(282@(316@,10i), True)
127@ -= 1

:RYDER2_39201
return 

:RYDER2_39203
if 
  318@ == -999
goto_if_false @RYDER2_39246
317@ = Char.Create(PedType.Mission1, 7, 0.0, 0.0, 0.0)

:RYDER2_39246
if 
  not Char.IsDead(317@)
goto_if_false @RYDER2_39440
Char.GiveWeapon(317@, WeaponType.Pistol, 99999)
Char.SetAccuracy(317@, 32)
Char.SetHealth(317@, 100)
Char.SetDecisionMaker(317@, 236@)
Char.SetRelationship(317@, RelationshipType.Hate, PedType.Player1)
if 
  133@ <> 0
goto_if_false @RYDER2_39332
Char.SetRelationship(317@, RelationshipType.Hate, PedType.Mission2)

:RYDER2_39332
Task.TogglePedThreatScanner(317@, True, True, True)
Char.SetSenseRange(317@, 100.0)
if 
  not Group.DoesExist(239@)
goto_if_false @RYDER2_39381
Group.Remove(239@)
239@ = Group.Create(DefaultTaskAllocator.StandStill)

:RYDER2_39381
318@, 319@ = Group.GetSize(239@)
if 
  318@ == 0
goto_if_false @RYDER2_39425
Group.SetLeader(239@, 317@)
goto @RYDER2_39433

:RYDER2_39425
Group.SetMember(239@, 317@)

:RYDER2_39433
Char.SetNeverLeavesGroup(317@, True)

:RYDER2_39440
return 
320@ = 999999.0
321@ = -1
322@ = 0.0
323@ = 0.0
324@ = 0.0
42@ = 0

:RYDER2_39496
if 
  25 > 42@
goto_if_false @RYDER2_39756
if 
  Object.DoesExist(62@(42@,25i))
goto_if_false @RYDER2_39742
if 
  not Char.IsHoldingObject($stattreadstamina_ctr, 62@(42@,25i))
goto_if_false @RYDER2_39742
if 
  not Object.IsAttached(62@(42@,25i))
goto_if_false @RYDER2_39742
if 
  not Object.HasBeenDamaged(62@(42@,25i))
goto_if_false @RYDER2_39742
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_39627
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($sweet_car)

:RYDER2_39627
325@, 326@, 327@ = Object.GetCoordinates(62@(42@,25i))
45@ = Math.GetDistanceBetweenCoords2D(325@, 326@, $on_footY, $on_footZ)
if 
  6.0 > 45@
goto_if_false @RYDER2_39742
if 
  is_float_lvar_greater_than_float_lvar 320@ > 45@
goto_if_false @RYDER2_39742
set_lvar_float_to_lvar_float 320@ = 45@
set_lvar_int_to_lvar_int 321@ = 42@
set_lvar_float_to_lvar_float 322@ = 325@
set_lvar_float_to_lvar_float 323@ = 326@
set_lvar_float_to_lvar_float 324@ = 327@

:RYDER2_39742
42@ += 1
goto @RYDER2_39496

:RYDER2_39756
set_lvar_int_to_lvar_int 328@ = 321@
set_lvar_float_to_lvar_float 325@ = 322@
set_lvar_float_to_lvar_float 326@ = 323@
set_lvar_float_to_lvar_float 327@ = 324@
return 

:RYDER2_39790
329@, 330@, 331@ = Object.GetCoordinates(281@)
332@, 333@, 334@, 335@ = Object.GetQuaternion(281@)
Char.DropObject($sweet_car, True)
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_39860
294@ = Car.GetForwardX(95@)
295@ = Car.GetForwardY(95@)

:RYDER2_39860
294@ *= -10.0
295@ *= -10.0
Object.SetCoordinates(281@, 329@, 330@, 331@)
Object.SetQuaternion(281@, 332@, 333@, 334@, 335@)
Object.SetDynamic(281@, True)
Object.SetCollision(281@, True)
Object.AddToVelocity(281@, 294@, 295@, 0.0)
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_39965
Object.SortOutCollisionWithCar(281@, 95@)

:RYDER2_39965
gosub @RYDER2_39065
281@ = 0
return 

:RYDER2_39981
if 
  336@ > 0
goto_if_false @RYDER2_40761
switch_start 339@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @RYDER2_40754 {caseNum1} 0 {caseLabel1} @RYDER2_40062 {caseNum2} 1 {caseLabel2} @RYDER2_40104 {caseNum3} 2 {caseLabel3} @RYDER2_40279 {caseNum4} 3 {caseLabel4} @RYDER2_40545 {caseNum5} -1 {caseLabel5} @RYDER2_40754 {caseNum6} -1 {caseLabel6} @RYDER2_40754 {caseNum7} -1 {caseLabel7} @RYDER2_40754

:RYDER2_40062
if 
  not Streaming.HasModelLoaded(287)
goto_if_false @RYDER2_40090
Streaming.RequestModel(287)
goto @RYDER2_40097

:RYDER2_40090
339@ += 1

:RYDER2_40097
goto @RYDER2_40754

:RYDER2_40104
345@ = -1
346@ = 0

:RYDER2_40118
if 
  5 > 346@
goto_if_false @RYDER2_40247
if 
  Char.DoesExist(340@(346@,5i))
goto_if_false @RYDER2_40218
if 
  Char.IsDead(340@(346@,5i))
goto_if_false @RYDER2_40211
Char.MarkAsNoLongerNeeded(340@(346@,5i))
340@(346@,5i) = 0
set_lvar_int_to_lvar_int 345@ = 346@
346@ = 5

:RYDER2_40211
goto @RYDER2_40233

:RYDER2_40218
set_lvar_int_to_lvar_int 345@ = 346@
346@ = 5

:RYDER2_40233
346@ += 1
goto @RYDER2_40118

:RYDER2_40247
if 
  345@ <> -1
goto_if_false @RYDER2_40272
339@ += 1

:RYDER2_40272
goto @RYDER2_40754

:RYDER2_40279
if or
  338@ == 3
  338@ == 7
  338@ == 8
  338@ == 9
goto_if_false @RYDER2_40332
338@ += 1
goto @RYDER2_40279

:RYDER2_40332
if 
  338@ > 9
goto_if_false @RYDER2_40357
338@ = 0

:RYDER2_40357
if 
  not is_int_lvar_equal_to_int_lvar 338@ == 337@
goto_if_false @RYDER2_40506
if 
  not Camera.IsPointOnScreen(347@(338@,10f), 357@(338@,10f), 367@(338@,10f), 2.0)
goto_if_false @RYDER2_40492
if 
  not World.IsPointObscuredByAMissionEntity(347@(338@,10f), 357@(338@,10f), 367@(338@,10f), 1.5, 1.5, 2.0)
goto_if_false @RYDER2_40478
339@ += 1
goto @RYDER2_40485

:RYDER2_40478
338@ += 1

:RYDER2_40485
goto @RYDER2_40499

:RYDER2_40492
338@ += 1

:RYDER2_40499
goto @RYDER2_40513

:RYDER2_40506
338@ += 1

:RYDER2_40513
if 
  338@ > 9
goto_if_false @RYDER2_40538
338@ = 0

:RYDER2_40538
goto @RYDER2_40754

:RYDER2_40545
340@(345@,5i) = Char.Create(PedType.Mission1, 287, 347@(338@,10f), 357@(338@,10f), 367@(338@,10f))
set_lvar_int_to_lvar_int 317@ = 340@(345@,5i)
gosub @RYDER2_39203
48@ = Sequence.Open()
Task.TogglePedThreatScanner(-1, True, True, True)
Task.GoStraightToCoord(-1, 387@(338@,10f), 397@(338@,10f), 407@(338@,10f), MoveState.Run, -2)
Task.GoStraightToCoord(-1, 417@(338@,10f), 427@(338@,10f), 437@(338@,10f), MoveState.Run, -2)
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_40703
Task.GotoChar(-1, $sweet_car, 20000, 25.0)

:RYDER2_40703
Sequence.Close(48@)
Char.PerformSequence(340@(345@,5i), 48@)
Sequence.Clear(48@)
set_lvar_int_to_lvar_int 337@ = 338@
336@ += -1
339@ = 0
goto @RYDER2_40754

:RYDER2_40754
goto @RYDER2_40768

:RYDER2_40761
339@ = 0

:RYDER2_40768
return 
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @RYDER2_40841
477@ += 1
if 
  477@ > 24
goto_if_false @RYDER2_40817
477@ = 0

:RYDER2_40817
write_debug_with_int "ADJUST_BOX_NUMBER" {_p2} 477@

:RYDER2_40841
if 
  Object.DoesExist(62@(477@,25i))
goto_if_false @RYDER2_40938
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(62@(477@,25i))
$on_footX = Object.GetHeading(62@(477@,25i))
$in_carX += 1.0
Fx.DrawCorona($on_footY, $on_footZ, $in_carX, 0.2, CoronaType.Moon, FlareType.None, 255, 0, 0)
$in_carX += -1.0

:RYDER2_40938
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @RYDER2_40964
$on_footZ += 0.1

:RYDER2_40964
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @RYDER2_40990
$on_footZ += -0.1

:RYDER2_40990
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @RYDER2_41016
$on_footY += 0.1

:RYDER2_41016
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @RYDER2_41042
$on_footY += -0.1

:RYDER2_41042
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @RYDER2_41068
$in_carX += 0.01

:RYDER2_41068
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @RYDER2_41094
$in_carX += -0.01

:RYDER2_41094
if 
is_ps2_keyboard_key_just_pressed 141
goto_if_false @RYDER2_41120
$on_footX += 1.0

:RYDER2_41120
if 
is_ps2_keyboard_key_just_pressed 143
goto_if_false @RYDER2_41146
$on_footX += -1.0

:RYDER2_41146
if 
  Object.DoesExist(62@(477@,25i))
goto_if_false @RYDER2_41196
Object.SetCoordinates(62@(477@,25i), $on_footY, $on_footZ, $in_carX)
Object.SetHeading(62@(477@,25i), $on_footX)

:RYDER2_41196
if 
is_ps2_keyboard_key_just_pressed 137
goto_if_false @RYDER2_41369
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BOX COORDS = ")
save_int_to_debug_file 477@
save_float_to_debug_file $on_footY
save_float_to_debug_file $on_footZ
save_float_to_debug_file $in_carX
save_float_to_debug_file $on_footX

:RYDER2_41369
return 

:RYDER2_41371
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:RYDER2_41389
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('RYDER_2')
Text.PrintWithNumberBig('M_PASSR', 10, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(5)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.PlayerMadeProgress(1)
if 
  $total_roulette_tables == 0
goto_if_false @RYDER2_41468
Gang.SetWeapons(GangType.Grove, WeaponType.Pistol, WeaponType.Tec9, WeaponType.Unarmed)

:RYDER2_41468
Blip.Remove($cesar_contact_blip)
Stat.SetInt(StatId.PassedRyder2, 1)
$flag_cesar_mission_counter += 1
return 

:RYDER2_41489
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @RYDER2_41512
Player.SetGroupToFollowAlways($statbike_temp, False)

:RYDER2_41512
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_41542
Car.FreezePosition(95@, False)
Car.SetIsConsideredByPlayer(95@, True)

:RYDER2_41542
Camera.SetPlayerInCarMode(2)
if 
  not Car.IsDead(98@)
goto_if_false @RYDER2_41567
Car.MarkAsNoLongerNeeded(98@)

:RYDER2_41567
if 
  124@ == 1
goto_if_false @RYDER2_41767
42@ = 0

:RYDER2_41592
if 
  9 > 42@
goto_if_false @RYDER2_41676
if 
  Char.DoesExist(102@(42@,9i))
goto_if_false @RYDER2_41662
if 
  not Char.IsDead(102@(42@,9i))
goto_if_false @RYDER2_41662
Task.KillCharOnFoot(102@(42@,9i), $stattreadstamina_ctr)

:RYDER2_41662
42@ += 1
goto @RYDER2_41592

:RYDER2_41676
42@ = 0

:RYDER2_41683
if 
  5 > 42@
goto_if_false @RYDER2_41767
if 
  Char.DoesExist(340@(42@,5i))
goto_if_false @RYDER2_41753
if 
  not Char.IsDead(340@(42@,5i))
goto_if_false @RYDER2_41753
Task.KillCharOnFoot(340@(42@,5i), $stattreadstamina_ctr)

:RYDER2_41753
42@ += 1
goto @RYDER2_41683

:RYDER2_41767
if 
  not Char.IsDead($sweet_car)
goto_if_false @RYDER2_41788
Char.RemoveElegantly($sweet_car)

:RYDER2_41788
Object.MarkAsNoLongerNeeded(240@)
Object.MarkAsNoLongerNeeded(241@)
Object.MarkAsNoLongerNeeded(257@)
Object.MarkAsNoLongerNeeded(258@)
Object.MarkAsNoLongerNeeded(259@)
42@ = 0

:RYDER2_41820
if 
  25 > 42@
goto_if_false @RYDER2_41903
Object.MarkAsNoLongerNeeded(62@(42@,25i))
if 
  210@(42@,25i) <> 0
goto_if_false @RYDER2_41889
Pickup.Remove(210@(42@,25i))
210@(42@,25i) = 0

:RYDER2_41889
42@ += 1
goto @RYDER2_41820

:RYDER2_41903
42@ = 0

:RYDER2_41910
if 
  5 > 42@
goto_if_false @RYDER2_41942
42@ += 1
goto @RYDER2_41910

:RYDER2_41942
Blip.Remove(119@)
Blip.Remove(120@)
Blip.Remove(121@)
Blip.Remove(122@)
Blip.Remove(123@)
42@ = 0

:RYDER2_41974
if 
  5 > 42@
goto_if_false @RYDER2_42035
if 
  Object.DoesExist(308@(42@,5i))
goto_if_false @RYDER2_42021
Object.Delete(308@(42@,5i))

:RYDER2_42021
42@ += 1
goto @RYDER2_41974

:RYDER2_42035
if 
  Object.DoesExist(313@)
goto_if_false @RYDER2_42056
Object.Delete(313@)

:RYDER2_42056
if 
  Object.DoesExist(93@)
goto_if_false @RYDER2_42077
Object.Delete(93@)

:RYDER2_42077
if 
  Car.DoesExist(95@)
goto_if_false @RYDER2_42123
if 
  not Car.IsDead(95@)
goto_if_false @RYDER2_42123
Car.FreezePosition(95@, False)
Car.SetCollision(95@, True)

:RYDER2_42123
Game.SwitchEmergencyServices(True)
DecisionMaker.Remove(237@)
DecisionMaker.Remove(236@)
DecisionMaker.Remove(235@)
DecisionMaker.Remove(238@)
CarGenerator.DontSuppressCarModel(414)
Hud.ClearCounter($s2_random_int)
Hud.ClearCounter($s2_meet_z)
Streaming.MarkModelAsNoLongerNeeded(287)
Streaming.MarkModelAsNoLongerNeeded(414)
Streaming.MarkModelAsNoLongerNeeded(470)
Streaming.MarkModelAsNoLongerNeeded(500)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(#CJ_CARDBRD_PICKUP)
Streaming.MarkModelAsNoLongerNeeded(105)
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.RemoveAnimation("RYDER")
Streaming.RemoveAnimation("COLT45")
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 27---------------
// Originally: OG Loc

:TWAR7
script_name 'TWAR7'
gosub @TWAR7_47
if 
  has_deatharrest_been_executed 
goto_if_false @TWAR7_38
gosub @TWAR7_23165

:TWAR7_38
gosub @TWAR7_23270
terminate_this_script 

:TWAR7_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('SMOKE1')
if 
  $weapon_shop1_blip == 0
goto_if_false @TWAR7_130
$sweet_carX = Char.Create(PedType.Mission2, 292, 1543.2, -1687.0, 12.5)
66@ = Blip.AddForCoord(2454.4, -1284.5, 22.7)

:TWAR7_130
Text.ClearPrints
wait 0
67@ = 0
68@ = 0
69@ = 0
70@ = 0
85@ = 0
71@ = 0
72@ = 0
73@ = 0
79@ = 0
80@ = 0
133@ = 0.0
134@ = 0.0
135@ = 0.0
136@ = 0.0
137@ = 0.0
138@ = 0.0
139@ = 0.0
140@ = 0.0
83@ = 0
84@ = 0
85@ = 0
125@ = 0
126@ = 0
127@ = 0
128@ = 0
129@ = 0
130@ = 0
131@ = 0
132@ = 0
141@ = 0.0
142@ = 0.0
143@ = 0.0
144@ = 0.0
74@ = 0
75@ = 0
76@ = 0
77@ = 0
78@ = 0
81@ = 0
82@ = 0.0
Player.MakeGangDisappear
World.ClearArea(2072.3, -1695.2, 12.5, 80.0, True)
65@ = Object.Create(#LAE_SMOKECUTSCENE, 2055.0, -1695.0, 12.5)
Cutscene.Load('SMOKE1A')

:TWAR7_515
if 
  not Cutscene.HasLoaded
goto_if_false @TWAR7_539
wait 0
goto @TWAR7_515

:TWAR7_539
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:TWAR7_548
if 
  not Cutscene.HasFinished
goto_if_false @TWAR7_572
wait 0
goto @TWAR7_548

:TWAR7_572
Camera.DoFade(0, Fade.Out)

:TWAR7_578
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_602
wait 0
goto @TWAR7_578

:TWAR7_602
Cutscene.Clear
Object.Delete(65@)
Player.MakeGangReappear
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
wait 0
Streaming.RequestModel(466)
Streaming.LoadSpecialCharacter(1, 'SMOKE')
Streaming.LoadSpecialCharacter(2, 'SWEET')
Streaming.LoadAllModelsNow
Group.Remove($flag_cell_nation)
Player.SetGroupRecruitment($statbike_temp, False)
Player.SetGroupToFollowAlways($statbike_temp, True)
Hud.SwitchWidescreen(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Player.MakeGangDisappear
Camera.SetFixedPosition(2073.87, -1682.701, 14.1963, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2073.698, -1683.686, 14.1768, SwitchType.JumpCut)
148@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
149@ = DecisionMakerChar.Copy(65542)
146@ = DecisionMakerGroup.Load(0)
DecisionMakerGroup.ClearEventResponse(146@, 54)
DecisionMakerGroup.AddEventResponse(146@, 54, 1513, 100.0, 100.0, 100.0, 100.0, True, True)
DecisionMakerGroup.ClearEventResponse(146@, 36)
DecisionMakerGroup.AddEventResponse(146@, 36, 1510, 0.0, 100.0, 0.0, 0.0, True, False)
DecisionMakerGroup.ClearEventResponse(146@, 71)
DecisionMakerGroup.ClearEventResponse(146@, 9)
Group.SetDecisionMaker($flag_cell_nation, 146@)
World.ClearArea(2075.0, -1688.5, 12.29, 10.0, True)
Car.CustomPlateForNextCar(466, "_A2TMFK_")
37@ = Car.Create(466, 2075.0, -1688.5, 12.29)
Car.SetHeading(37@, 359.74)
Car.ChangeColor(37@, 98, 14)
Car.SetCanRespray(37@, False)
Audio.SetRadioChannel(RadioChannel.BounceFM)
World.ClearArea(2077.0, -1691.1, 12.5, 1.0, True)
$mc_strap = Char.Create(PedType.Mission2, 290, 2077.0, -1691.1, 12.5)
Char.SetGetOutUpsideDownCar($mc_strap, False)
Char.SetHeading($mc_strap, 255.7)
Char.SetNeverTargeted($mc_strap, True)
Char.SetCantBeDraggedOut($mc_strap, True)
Char.SetAnimGroup($mc_strap, "FATMAN")
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($mc_strap, 37@, -2, 0)
Char.SetDecisionMaker($mc_strap, 149@)
World.ClearArea(2075.3, -1693.4, 12.5, 1.0, True)
$big_smoke_car = Char.Create(PedType.Mission2, 291, 2075.3, -1693.4, 12.5)
Char.SetGetOutUpsideDownCar($big_smoke_car, False)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetCantBeDraggedOut($big_smoke_car, True)
Char.SetAnimGroup($big_smoke_car, "GANG2")
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($big_smoke_car, 37@, -2, 2)
Char.SetDecisionMaker($big_smoke_car, 149@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(2072.9, -1690.6, 12.5, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2072.9, -1690.6, 12.5)
Char.SetHeading($stattreadstamina_ctr, 33.0)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsDriver($stattreadstamina_ctr, 37@, -2)
Game.SwitchRandomTrains(False)
World.DeleteAllTrains
Game.EnableAmbientCrime(False)
World.SwitchEntryExit('LAHS1A', False)
Camera.DoFade(500, Fade.In)
69@ = 1
skip_cutscene_start_internal @TWAR7_1756

:TWAR7_1306
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @TWAR7_1332
goto @TWAR7_23183

:TWAR7_1332
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_1364
goto @TWAR7_23165

:TWAR7_1364
if or
  67@ == 0
  67@ == 1
goto_if_false @TWAR7_1674
if 
  81@ == 1
goto_if_false @TWAR7_1674
if 
  Skip.IsWaitingForScriptToFadeIn
goto_if_false @TWAR7_1674
Player.SetControl($statbike_temp, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($big_smoke_car, False)
Char.ShutUpForScriptedSpeech($mc_strap, False)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
83@ = 0
if 
  Char.IsDead($sweet_carX)
goto_if_false @TWAR7_1598
Streaming.RequestAnimation("CAR_CHAT")
Streaming.LoadSpecialCharacter(3, 'OGLOC')
Streaming.LoadAllModelsNow
$sweet_carX = Char.Create(PedType.Mission2, 292, 1543.2, -1687.0, 12.5)
Char.SetGetOutUpsideDownCar($sweet_carX, False)
Char.SetHeading($sweet_carX, 97.2)
Char.SetNeverTargeted($sweet_carX, True)
Char.SetCantBeDraggedOut($sweet_carX, True)
Char.SetSuffersCriticalHits($sweet_carX, False)
Char.SetOnlyDamagedByPlayer($sweet_carX, True)
Char.WarpIntoCarAsPassenger($sweet_carX, 37@, -1)
Char.SetSenseRange($sweet_carX, 80.0)

:TWAR7_1598
Blip.Remove(66@)
66@ = Blip.AddForCoord(2454.4, -1284.5, 22.7)
Text.PrintNow('SMK1_10', 7000, 1)
Player.SetControl($statbike_temp, True)
Camera.DoFade(1000, Fade.In)
85@ = 2
68@ = 2
67@ = 1

:TWAR7_1674
if 
  67@ == 0
goto_if_false @TWAR7_2248
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_2248
if 
  Char.IsInCar($mc_strap, 37@)
goto_if_false @TWAR7_2248
if 
  Char.IsInCar($big_smoke_car, 37@)
goto_if_false @TWAR7_2248
69@ = 0

:TWAR7_1756
skip_cutscene_end 
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_1790
goto @TWAR7_23165

:TWAR7_1790
if 
  69@ == 1
goto_if_false @TWAR7_1914
Camera.DoFade(500, Fade.Out)

:TWAR7_1815
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_1839
wait 0
goto @TWAR7_1815

:TWAR7_1839
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_1871
goto @TWAR7_23165

:TWAR7_1871
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, 37@)
Char.ClearTasksImmediately($mc_strap)
Char.WarpIntoCarAsPassenger($mc_strap, 37@, 0)
Char.ClearTasksImmediately($big_smoke_car)
Char.WarpIntoCarAsPassenger($big_smoke_car, 37@, 2)

:TWAR7_1914
if 
  $2708 == 1
goto_if_false @TWAR7_2009
Skip.SetUpForSpecificVehicle(1526.9, -1654.5, 12.1, 180.0, 37@)
if 
  $2709 == 0
goto_if_false @TWAR7_1993
Text.PrintHelp('SKIP_1')
$2709 = 1

:TWAR7_1993
Text.PrintNow('SMK1_02', 7000, 1)

:TWAR7_2009
if 
  $2708 == 2
goto_if_false @TWAR7_2095
Skip.SetUpForVehicleFinishedByScript(2453.8, -1305.0, 22.5, 0.0, 37@)
if 
  $2709 == 0
goto_if_false @TWAR7_2088
Text.PrintHelp('SKIP_1')
$2709 = 1

:TWAR7_2088
81@ = 1

:TWAR7_2095
66@ = Blip.AddForCoord(1532.8, -1672.9, 12.4)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Player.MakeGangReappear
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
if 
  69@ == 1
goto_if_false @TWAR7_2220
Camera.DoFade(500, Fade.In)

:TWAR7_2164
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_2188
wait 0
goto @TWAR7_2164

:TWAR7_2188
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_2220
goto @TWAR7_23165

:TWAR7_2220
TIMERB = 0
68@ = 0
71@ = 1
67@ = 1

:TWAR7_2248
if 
  67@ == 1
goto_if_false @TWAR7_4048
if 
  68@ == 0
goto_if_false @TWAR7_2624
if 
  83@ == 0
goto_if_false @TWAR7_2388
if 
  85@ == 0
goto_if_false @TWAR7_2388
if 
  TIMERB > 7000
goto_if_false @TWAR7_2388
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.ShutUpForScriptedSpeech($big_smoke_car, True)
83@ = 1
84@ = 0
gosub @TWAR7_29790
85@ = 1

:TWAR7_2388
if 
  85@ == 1
goto_if_false @TWAR7_2452
if 
  83@ == 0
goto_if_false @TWAR7_2452
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($mc_strap, False)
Char.ShutUpForScriptedSpeech($big_smoke_car, False)
85@ = 2

:TWAR7_2452
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TWAR7_2503
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @TWAR7_2503
Char.SetCoordinates($stattreadstamina_ctr, 1531.4, -1693.7, 12.4)

:TWAR7_2503
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_2624
if 
  Char.IsInCar($mc_strap, 37@)
goto_if_false @TWAR7_2624
if 
  Char.IsInCar($big_smoke_car, 37@)
goto_if_false @TWAR7_2624
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 1532.8, -1672.9, 12.4, 4.0, 4.0, 4.0, True)
goto_if_false @TWAR7_2624
Text.ClearHelp
Player.SetControl($statbike_temp, False)
68@ = 1

:TWAR7_2624
if 
  68@ == 1
goto_if_false @TWAR7_3598
Player.SetControl($statbike_temp, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($mc_strap, False)
Char.ShutUpForScriptedSpeech($big_smoke_car, False)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
83@ = 0
if 
  $2708 == 0
goto_if_false @TWAR7_2712
$2708 = 1

:TWAR7_2712
Skip.Clear
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:TWAR7_2729
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_2753
wait 0
goto @TWAR7_2729

:TWAR7_2753
Player.MakeSafeForCutscene($statbike_temp)
Streaming.Switch(False)
World.ClearArea(1532.8, -1672.9, 12.4, 300.0, True)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1496.5, -1672.6, 13.2)
Char.Delete($mc_strap)
Char.Delete($big_smoke_car)
Car.Delete(37@)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.MarkModelAsNoLongerNeeded(466)
Txd.LoadDictionary('LD_BUM')
Txd.LoadSprite(1, "BUM2")
Txd.LoadSprite(2, "BLKDOT")
Streaming.LoadAllModelsNow
Text.UseCommands(True)
Cutscene.Load('SMOKE1B')

:TWAR7_2903
if 
  not Cutscene.HasLoaded
goto_if_false @TWAR7_2927
wait 0
goto @TWAR7_2903

:TWAR7_2927
Cutscene.Start
Camera.DoFade(1000, Fade.In)
TIMERA = 0

:TWAR7_2943
if 
  not Cutscene.HasFinished
goto_if_false @TWAR7_2967
wait 0
goto @TWAR7_2943

:TWAR7_2967
Cutscene.Clear
Camera.DoFade(0, Fade.Out)

:TWAR7_2975
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_2999
wait 0
goto @TWAR7_2975

:TWAR7_2999
Text.UseCommands(False)
Txd.Remove
Streaming.RequestModel(466)
Streaming.RequestAnimation("CAR_CHAT")
Streaming.LoadSpecialCharacter(1, 'SMOKE')
Streaming.LoadSpecialCharacter(2, 'SWEET')
Streaming.LoadSpecialCharacter(3, 'OGLOC')
Streaming.LoadAllModelsNow
Car.CustomPlateForNextCar(466, "_A2TMFK_")
37@ = Car.Create(466, 1532.8, -1672.9, 12.4)
Car.SetHeading(37@, 184.0)
Car.ChangeColor(37@, 98, 14)
Car.SetCanRespray(37@, False)
Char.WarpIntoCar($stattreadstamina_ctr, 37@)
Audio.SetRadioChannel(RadioChannel.BounceFM)
$mc_strap = Char.Create(PedType.Mission2, 290, 2072.3, -1697.2, 12.5)
Char.SetGetOutUpsideDownCar($mc_strap, False)
Char.SetHeading($mc_strap, 255.7)
Char.SetNeverTargeted($mc_strap, True)
Char.SetCantBeDraggedOut($mc_strap, True)
Char.SetAnimGroup($mc_strap, "FATMAN")
Task.EnterCarAsPassenger($mc_strap, 37@, -2, 0)
Char.SetDecisionMaker($mc_strap, 149@)
Char.WarpIntoCarAsPassenger($mc_strap, 37@, -1)
$big_smoke_car = Char.Create(PedType.Mission2, 291, 2072.3, -1696.2, 12.5)
Char.SetGetOutUpsideDownCar($big_smoke_car, False)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetCantBeDraggedOut($big_smoke_car, True)
Char.SetAnimGroup($big_smoke_car, "GANG2")
Task.EnterCarAsPassenger($big_smoke_car, 37@, -2, 2)
Char.SetDecisionMaker($big_smoke_car, 149@)
Char.WarpIntoCarAsPassenger($big_smoke_car, 37@, -1)
$sweet_carX = Char.Create(PedType.Mission2, 292, 1543.2, -1687.0, 12.5)
Char.SetGetOutUpsideDownCar($sweet_carX, False)
Char.SetHeading($sweet_carX, 97.2)
Char.SetNeverTargeted($sweet_carX, True)
Char.SetCantBeDraggedOut($sweet_carX, True)
Char.SetSuffersCriticalHits($sweet_carX, False)
Char.SetOnlyDamagedByPlayer($sweet_carX, True)
Char.WarpIntoCarAsPassenger($sweet_carX, 37@, -1)
Char.SetSenseRange($sweet_carX, 80.0)
DecisionMakerChar.ClearEventResponse(148@, 79)
DecisionMakerChar.ClearEventResponse(148@, 36)
DecisionMakerChar.AddEventResponse(148@, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, True)
Char.SetDecisionMaker($sweet_carX, 148@)
Blip.Remove(66@)
66@ = Blip.AddForCoord(2454.4, -1284.5, 22.7)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_3554
goto @TWAR7_23165

:TWAR7_3554
Camera.DoFade(1000, Fade.In)
Text.PrintNow('SMK1_10', 7000, 1)
TIMERB = 0
85@ = 0
68@ = 2

:TWAR7_3598
if 
  68@ == 2
goto_if_false @TWAR7_4048
if 
  83@ == 0
goto_if_false @TWAR7_3727
if 
  85@ == 0
goto_if_false @TWAR7_3727
if 
  TIMERB > 7000
goto_if_false @TWAR7_3727
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.ShutUpForScriptedSpeech($big_smoke_car, True)
Char.ShutUpForScriptedSpeech($sweet_carX, True)
83@ = 2
84@ = 0
gosub @TWAR7_29790
85@ = 1

:TWAR7_3727
if 
  85@ == 1
goto_if_false @TWAR7_3798
if 
  83@ == 0
goto_if_false @TWAR7_3798
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($mc_strap, False)
Char.ShutUpForScriptedSpeech($big_smoke_car, False)
Char.ShutUpForScriptedSpeech($sweet_carX, False)
85@ = 2

:TWAR7_3798
if 
  Char.IsInAnyCar($sweet_carX)
goto_if_false @TWAR7_3897
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TWAR7_3897
if 
  Char.IsInAnyCar($mc_strap)
goto_if_false @TWAR7_3897
if 
  Char.IsInAnyCar($big_smoke_car)
goto_if_false @TWAR7_3897
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @TWAR7_3897
Char.SetCoordinates($stattreadstamina_ctr, 2454.7, -1294.5, 22.7)

:TWAR7_3897
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_4048
if 
  Char.IsInCar($mc_strap, 37@)
goto_if_false @TWAR7_4048
if 
  Char.IsInCar($big_smoke_car, 37@)
goto_if_false @TWAR7_4048
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 2454.4, -1284.5, 22.7, 4.0, 4.0, 4.0, True)
goto_if_false @TWAR7_4048
if 
  $2708 == 1
goto_if_false @TWAR7_4027
$2708 = 2

:TWAR7_4027
85@ = 0
68@ = 0
67@ = 2

:TWAR7_4048
if 
  67@ == 2
goto_if_false @TWAR7_5665
if 
  68@ == 0
goto_if_false @TWAR7_4312
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
83@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Game.ShutAllCharsUp(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.SetFixedPosition(2451.2, -1295.1, 24.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2459.7, -1284.6, 26.5, SwitchType.JumpCut)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($mc_strap, False)
Char.ShutUpForScriptedSpeech($big_smoke_car, False)
Char.ShutUpForScriptedSpeech($sweet_carX, False)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
83@ = 0
69@ = 1
skip_cutscene_start_internal @TWAR7_4925
Task.PlayAnim($sweet_carX, "CAR_SC1_BR", "CAR_CHAT", 6.0, False, False, False, False, -1)
83@ = 3
84@ = 0
gosub @TWAR7_29790
TIMERA = 0
68@ = 1

:TWAR7_4312
if 
  68@ == 1
goto_if_false @TWAR7_4439
if 
  84@ == 1
goto_if_false @TWAR7_4439
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC1_FL", "CAR_CHAT", 6.0, False, False, False, True, -1)
Task.PlayAnim($big_smoke_car, "CAR_SC1_BL", "CAR_CHAT", 6.0, False, False, False, False, -1)
68@ = 2

:TWAR7_4439
if 
  68@ == 2
goto_if_false @TWAR7_4524
if 
  84@ == 4
goto_if_false @TWAR7_4524
Task.PlayAnim($mc_strap, "CAR_SC1_FR", "CAR_CHAT", 6.0, False, False, False, False, -1)
68@ = 3

:TWAR7_4524
if 
  68@ == 3
goto_if_false @TWAR7_4711
Sphere.Draw(2468.8, -1278.2, 29.1, 1.2)
if 
  83@ == 0
goto_if_false @TWAR7_4711
if 
  Car.IsStopped(37@)
goto_if_false @TWAR7_4711
145@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2457.4, -1286.1, 23.0, MoveState.Run, 60000)
Sequence.Close(145@)
Char.PerformSequence($stattreadstamina_ctr, 145@)
Sequence.Clear(145@)
145@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2458.4, -1287.8, 23.0, MoveState.Run, 60000)
Sequence.Close(145@)
Char.PerformSequence($sweet_carX, 145@)
Sequence.Clear(145@)
68@ = 4

:TWAR7_4711
if 
  68@ == 4
goto_if_false @TWAR7_4860
Sphere.Draw(2468.8, -1278.2, 29.1, 1.2)
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @TWAR7_4860
if 
  Char.IsInAnyCar($mc_strap)
goto_if_false @TWAR7_4816
Char.WarpFromCarToCoord($mc_strap, 2472.8, -1277.9, 28.9)

:TWAR7_4816
Char.WarpIntoCar($mc_strap, 37@)
Car.LockDoors(37@, CarLock.Locked)
Task.CarDriveWander($mc_strap, 37@, 15.0, DrivingMode.AvoidCars)
TIMERA = 0
68@ = 5

:TWAR7_4860
if 
  68@ == 5
goto_if_false @TWAR7_5665
Sphere.Draw(2468.8, -1278.2, 29.1, 1.2)
if 
  TIMERA > 0
goto_if_false @TWAR7_5665
69@ = 0

:TWAR7_4925
skip_cutscene_end 
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_4959
goto @TWAR7_23165

:TWAR7_4959
if 
  69@ == 1
goto_if_false @TWAR7_5339
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
83@ = 0
Camera.DoFade(500, Fade.Out)

:TWAR7_5001
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_5069
Sphere.Draw(2468.8, -1278.2, 29.1, 1.2)
wait 0
Sphere.Draw(2468.8, -1278.2, 29.1, 1.2)
goto @TWAR7_5001

:TWAR7_5069
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_5101
goto @TWAR7_23165

:TWAR7_5101
World.ClearArea(2457.4, -1286.1, 23.0, 1.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2457.4, -1286.1, 23.0)
Char.SetHeading($stattreadstamina_ctr, 230.2)
World.ClearArea(2458.4, -1287.8, 23.0, 1.0, True)
Char.ClearTasksImmediately($sweet_carX)
Char.SetCoordinates($sweet_carX, 2458.4, -1287.8, 23.0)
Char.SetHeading($sweet_carX, 230.2)
World.ClearArea(2452.4, -1267.6, 23.8, 5.0, True)
Car.SetCoordinates(37@, 2452.4, -1267.6, 23.8)
Car.SetHeading(37@, 0.0)
if 
  Char.IsInAnyCar($mc_strap)
goto_if_false @TWAR7_5309
Char.WarpFromCarToCoord($mc_strap, 2472.8, -1277.9, 28.9)

:TWAR7_5309
Char.WarpIntoCar($mc_strap, 37@)
Car.LockDoors(37@, CarLock.Locked)
Task.CarDriveWander($mc_strap, 37@, 15.0, DrivingMode.AvoidCars)

:TWAR7_5339
145@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2463.5, -1286.9, 25.2, MoveState.Run, -2)
Task.GoStraightToCoord(-1, 2463.9, -1278.4, 29.0, MoveState.Run, -2)
Task.GoStraightToCoord(-1, 2467.8, -1277.1, 28.9, MoveState.Run, -2)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(145@)
Char.PerformSequence($sweet_carX, 145@)
Sequence.Clear(145@)
Streaming.RemoveAnimation("CAR_CHAT")
Blip.Remove(66@)
66@ = Blip.AddForCoord(2468.8, -1278.4, 28.9)
Blip.SetAsFriendly(66@, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Player.MakeGangReappear
Hud.SwitchWidescreen(False)
Game.ShutAllCharsUp(False)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.ClearPrints
Text.PrintNow('SMK1_03', 7000, 1)
if 
  69@ == 1
goto_if_false @TWAR7_5651
Camera.DoFade(500, Fade.In)

:TWAR7_5551
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_5619
Sphere.Draw(2468.8, -1278.2, 29.1, 1.2)
wait 0
Sphere.Draw(2468.8, -1278.2, 29.1, 1.2)
goto @TWAR7_5551

:TWAR7_5619
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_5651
goto @TWAR7_23165

:TWAR7_5651
68@ = 0
67@ = 3

:TWAR7_5665
if 
  67@ == 3
goto_if_false @TWAR7_8884
if 
  68@ == 0
goto_if_false @TWAR7_5756
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 2468.8, -1278.2, 29.1, 1.2, 1.2, 3.0, True)
goto_if_false @TWAR7_5756
68@ = 1

:TWAR7_5756
if 
  68@ == 1
goto_if_false @TWAR7_6760
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
83@ = 0
Camera.DoFade(500, Fade.Out)

:TWAR7_5802
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_5826
wait 0
goto @TWAR7_5802

:TWAR7_5826
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_5858
goto @TWAR7_23165

:TWAR7_5858
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Game.ShutAllCharsUp(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Streaming.RequestModel(461)
Streaming.RequestModel(372)
Streaming.RequestModel(109)
Streaming.RequestModel(352)
Streaming.RequestAnimation("CRIB")
Streaming.RequestAnimation("MISC")
Streaming.RequestAnimation("GANGS")
Streaming.RequestAnimation("RAPPING")
Txd.LoadDictionary('LD_BUM')
Txd.LoadSprite(1, "BUM1")
Txd.LoadSprite(2, "BLKDOT")
Streaming.LoadAllModelsNow
Text.UseCommands(True)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1817)

:TWAR7_5983
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @TWAR7_6009
wait 0
goto @TWAR7_5983

:TWAR7_6009
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_6041
goto @TWAR7_23165

:TWAR7_6041
Streaming.LoadAllModelsNow
World.ClearArea(2471.0, -1285.1, 28.3, 30.0, True)
36@ = Car.Create(461, 2471.0, -1285.1, 28.3)
Car.SetHeading(36@, 272.5)
Car.SetCanBurstTires(36@, False)
World.ClearArea(2488.2, -1279.9, 30.0, 30.0, True)
35@ = Car.Create(461, 2488.2, -1279.9, 30.0)
Car.SetOnlyDamagedByPlayer(35@, True)
Car.SetHeading(35@, 286.4)
Car.SetAlwaysCreateSkids(35@, True)
Car.SetCanBurstTires(35@, False)
Car.SetProofs(35@, True, True, True, True, True)
World.ClearArea(2483.9, -1280.2, 29.4, 30.0, True)
34@ = Char.Create(PedType.Mission1, 109, 2483.9, -1280.2, 29.4)
Char.ShutUpForScriptedSpeech(34@, True)
Char.SetMoney(34@, 500)
Char.SetHeading(34@, 261.6)
Char.GiveWeapon(34@, WeaponType.Tec9, 30000)
Char.SetSuffersCriticalHits(34@, False)
Char.SetOnlyDamagedByPlayer(34@, True)
Char.SetCanBeKnockedOffBike(34@, True)
Char.SetStayInSamePlace(34@, True)
Char.SetProofs(34@, True, True, False, True, True)
Char.SetShootRate(34@, 20)
Char.SetDecisionMaker(34@, 149@)
147@ = Sequence.Open()
Task.DriveBy(-1, 34@, -1, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, False, 100)
Sequence.Close(147@)
Group.SetSequence($flag_cell_nation, 147@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($sweet_carX)
World.ClearArea(2468.0, -1278.5, 29.1, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2468.0, -1278.5, 29.1)
Char.SetHeading($stattreadstamina_ctr, 269.4)
World.ClearArea(2467.4, -1275.8, 28.8, 1.0, True)
Char.SetCoordinates($sweet_carX, 2467.4, -1275.8, 28.8)
Char.SetHeading($sweet_carX, 282.8)
145@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2469.2, -1278.7, 29.3, MoveState.Walk, 60000)
Task.AchieveHeading(-1, 262.0)
Task.PlayAnim(-1, "CRIB_USE_SWITCH", "CRIB", 4.0, False, False, False, False, 800)
Task.LookAtChar(-1, $sweet_carX, 7000)
Sequence.Close(145@)
Char.PerformSequence($stattreadstamina_ctr, 145@)
Sequence.Clear(145@)
69@ = 1
skip_cutscene_start_internal @TWAR7_8172
Text.ClearPrints
Camera.SetFixedPosition(2461.7, -1273.7, 30.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2470.1, -1277.1, 30.7, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:TWAR7_6697
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_6721
wait 0
goto @TWAR7_6697

:TWAR7_6721
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_6753
goto @TWAR7_23165

:TWAR7_6753
68@ = 2

:TWAR7_6760
if 
  68@ == 2
goto_if_false @TWAR7_6884
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CRIB_USE_SWITCH")
goto_if_false @TWAR7_6884
82@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CRIB_USE_SWITCH")
if 
  82@ > 0.65
goto_if_false @TWAR7_6884
Audio.ReportMissionAudioEventAtPosition(2469.2, -1278.7, 29.3, 1102)
68@ = 3

:TWAR7_6884
if 
  68@ == 3
goto_if_false @TWAR7_7086
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @TWAR7_7086
145@ = Sequence.Open()
Task.PlayAnim(-1, "PRTIAL_GNGTLKE", "GANGS", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, 2467.8, -1274.4, 28.8, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 2468.6, -1273.3, 28.8, MoveState.Walk, -2)
Task.AchieveHeading(-1, 278.7)
Sequence.Close(145@)
Char.PerformSequence($sweet_carX, 145@)
Sequence.Clear(145@)
83@ = 4
84@ = 0
130@ = 5
gosub @TWAR7_29790
68@ = 4

:TWAR7_7086
if 
  68@ == 4
goto_if_false @TWAR7_7198
if 
  84@ > 2
goto_if_false @TWAR7_7198
145@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $sweet_carX)
Task.PlayAnim(-1, "PLYR_SHKHEAD", "MISC", 4.0, False, False, False, False, -1)
Sequence.Close(145@)
Char.PerformSequence($stattreadstamina_ctr, 145@)
Sequence.Clear(145@)
68@ = 5

:TWAR7_7198
if 
  68@ == 5
goto_if_false @TWAR7_7402
if 
  83@ == 0
goto_if_false @TWAR7_7402
145@ = Sequence.Open()
Task.PlayAnim(-1, "BNG_WNDW", "MISC", 4.0, False, False, False, False, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(145@)
Char.PerformSequence($sweet_carX, 145@)
Sequence.Clear(145@)
145@ = Sequence.Open()
Task.PlayAnim(-1, "LAUGH_01", "RAPPING", 4.0, False, False, False, False, -1)
Sequence.Close(145@)
Char.PerformSequence($stattreadstamina_ctr, 145@)
Sequence.Clear(145@)
83@ = 4
84@ = 5
130@ = 9
gosub @TWAR7_29790
TIMERA = 0
68@ = 6

:TWAR7_7402
if 
  68@ == 6
goto_if_false @TWAR7_7512
if 
  Char.IsPlayingAnim($sweet_carX, "BNG_WNDW")
goto_if_false @TWAR7_7512
82@ = Char.GetAnimCurrentTime($sweet_carX, "BNG_WNDW")
if 
  82@ > 0.4
goto_if_false @TWAR7_7512
Audio.ReportMissionAudioEventAtPosition(2468.6, -1273.3, 28.8, 1103)
68@ = 7

:TWAR7_7512
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_8884
if 
  not Car.IsDead(35@)
goto_if_false @TWAR7_8884
if 
  68@ == 7
goto_if_false @TWAR7_7698
if 
  83@ == 0
goto_if_false @TWAR7_7698
145@ = Sequence.Open()
Task.EnterCarAsDriver(-1, 35@, -1)
Sequence.Close(145@)
Char.PerformSequence(34@, 145@)
Sequence.Clear(145@)
83@ = 4
84@ = 9
130@ = 10
gosub @TWAR7_29790
Camera.SetFixedPosition(2495.4, -1282.3, 32.6, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2479.2, -1272.5, 30.5, SwitchType.JumpCut)
68@ = 8

:TWAR7_7698
if 
  68@ == 8
goto_if_false @TWAR7_7756
if 
  Char.IsInCar(34@, 35@)
goto_if_false @TWAR7_7756
Car.StartPlayback(35@, 30)
TIMERA = 0
68@ = 9

:TWAR7_7756
if 
  68@ == 9
goto_if_false @TWAR7_8070
if 
  TIMERA > 2000
goto_if_false @TWAR7_8070
if 
  not Car.IsDead(36@)
goto_if_false @TWAR7_8070
World.ClearArea(2468.4, -1282.4, 28.8, 1.0, True)
Char.SetCoordinates($sweet_carX, 2468.4, -1282.4, 28.8)
Char.SetHeading($sweet_carX, 171.7)
Char.SetNextDesiredMoveState(MoveState.Run)
145@ = Sequence.Open()
Task.EnterCarAsPassenger(-1, 36@, -2, -1)
Sequence.Close(145@)
Char.PerformSequence($sweet_carX, 145@)
Sequence.Clear(145@)
World.ClearArea(2467.4, -1281.2, 28.8, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2467.4, -1281.2, 28.8)
Char.SetHeading($stattreadstamina_ctr, 171.7)
Char.SetNextDesiredMoveState(MoveState.Run)
145@ = Sequence.Open()
Task.EnterCarAsDriver(-1, 36@, -2)
Sequence.Close(145@)
Char.PerformSequence($stattreadstamina_ctr, 145@)
Sequence.Clear(145@)
Camera.SetFixedPosition(2460.9, -1283.7, 30.6, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2472.6, -1284.4, 31.1, SwitchType.JumpCut)
83@ = 5
84@ = 0
gosub @TWAR7_29790
68@ = 10

:TWAR7_8070
if 
  68@ == 10
goto_if_false @TWAR7_8884
if 
  83@ == 0
goto_if_false @TWAR7_8884
if 
  not Char.IsDead($sweet_carX)
goto_if_false @TWAR7_8884
if 
  not Car.IsDead(36@)
goto_if_false @TWAR7_8884
if and
  Char.IsInCar($stattreadstamina_ctr, 36@)
  Char.IsInCar($sweet_carX, 36@)
goto_if_false @TWAR7_8884
69@ = 0

:TWAR7_8172
skip_cutscene_end 
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_8206
goto @TWAR7_23165

:TWAR7_8206
if 
  69@ == 1
goto_if_false @TWAR7_8454
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
83@ = 0
Camera.DoFade(500, Fade.Out)

:TWAR7_8252
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_8276
wait 0
goto @TWAR7_8252

:TWAR7_8276
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_8308
goto @TWAR7_23165

:TWAR7_8308
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_8372
if 
  not Car.IsDead(35@)
goto_if_false @TWAR7_8372
Char.ClearTasks(34@)
if 
  not Char.IsInCar(34@, 35@)
goto_if_false @TWAR7_8372
Char.WarpIntoCar(34@, 35@)

:TWAR7_8372
if 
  not Car.IsDead(36@)
goto_if_false @TWAR7_8454
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($sweet_carX)
if 
  not Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TWAR7_8425
Char.WarpIntoCar($stattreadstamina_ctr, 36@)

:TWAR7_8425
if 
  not Char.IsInCar($sweet_carX, 36@)
goto_if_false @TWAR7_8454
Task.WarpCharIntoCarAsPassenger($sweet_carX, 36@, -1)

:TWAR7_8454
Player.EnsureHasDriveByWeapon($statbike_temp, 78)
Char.GiveWeapon($sweet_carX, WeaponType.Tec9, 30000)
Char.SetCurrentWeapon($sweet_carX, WeaponType.Tec9)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $sweet_carX)
72@ = 1
71@ = 1
Char.SetRelationship($sweet_carX, RelationshipType.Hate, PedType.Mission1)
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_8596
if 
  not Car.IsDead(35@)
goto_if_false @TWAR7_8596
if 
  Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_8566
Car.StopPlayback(35@)

:TWAR7_8566
Car.SetCoordinates(35@, 2521.2, -1359.0, 27.3)
Car.SetHeading(35@, 295.2)

:TWAR7_8596
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Streaming.RemoveAnimation("CRIB")
Streaming.RemoveAnimation("MISC")
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("RAPPING")
Text.ClearHelp
Text.PrintNow('SMK1_04', 7000, 1)
Blip.Remove(66@)
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_8690
66@ = Blip.AddForChar(34@)
Blip.SetAsFriendly(66@, False)

:TWAR7_8690
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Game.ShutAllCharsUp(False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
if 
  69@ == 1
goto_if_false @TWAR7_8797
Camera.DoFade(500, Fade.In)

:TWAR7_8741
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_8765
wait 0
goto @TWAR7_8741

:TWAR7_8765
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_8797
goto @TWAR7_23165

:TWAR7_8797
Text.UseCommands(False)
Txd.Remove
Char.Delete($mc_strap)
Char.Delete($big_smoke_car)
Car.Delete(37@)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.MarkModelAsNoLongerNeeded(466)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
if or
  Car.IsDead(35@)
  Car.IsDead(36@)
goto_if_false @TWAR7_8863
goto @TWAR7_23165

:TWAR7_8863
85@ = 0
68@ = 0
67@ = 4

:TWAR7_8884
if 
  67@ > 3
goto_if_false @TWAR7_18503
if 
  15 > 67@
goto_if_false @TWAR7_18503
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_18369
if 
  not Car.IsDead(35@)
goto_if_false @TWAR7_18228
if 
  67@ == 4
goto_if_false @TWAR7_9847
if 
  85@ == 0
goto_if_false @TWAR7_9084
if 
  83@ == 0
goto_if_false @TWAR7_9084
if or
  Char.HasSpottedChar($sweet_carX, 34@)
  Char.HasSpottedChar(34@, $sweet_carX)
goto_if_false @TWAR7_9084
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_9077
83@ = 6
84@ = 0
130@ = 1
gosub @TWAR7_29790

:TWAR7_9077
85@ = 1

:TWAR7_9084
if 
  73@ == 0
goto_if_false @TWAR7_9300
Path.SwitchRoadsOff(2563.7, -1435.0, 10.0, 2580.3, -1266.4, 100.6)
Path.SwitchRoadsOff(2635.0, -1434.4, 10.0, 2652.0, -1263.6, 100.0)
Path.SwitchRoadsOff(2714.9, -1501.6, 10.0, 2746.1, -1266.4, 100.0)
40@ = Char.CreateRandom(2579.8, -1348.3, 35.5)
Task.Die(40@)
41@ = Char.CreateRandom(2578.8, -1348.3, 35.5)
Char.SetHeading(41@, 260.0)
Task.PlayAnim(41@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
73@ = 1

:TWAR7_9300
if 
  73@ == 1
goto_if_false @TWAR7_9395
if 
  Car.Locate2D(35@, 2582.6, -1351.8, 5.0, 5.0, False)
goto_if_false @TWAR7_9395
Path.SwitchRoadsOn(2563.7, -1435.0, 10.0, 2580.3, -1266.4, 100.6)
73@ = 2

:TWAR7_9395
if 
  73@ == 2
goto_if_false @TWAR7_9490
if 
  Car.Locate2D(35@, 2653.0, -1329.8, 5.0, 5.0, False)
goto_if_false @TWAR7_9490
Path.SwitchRoadsOn(2635.0, -1434.4, 10.0, 2652.0, -1263.6, 100.0)
73@ = 3

:TWAR7_9490
if 
  73@ == 3
goto_if_false @TWAR7_9585
if 
  Car.Locate2D(35@, 2748.3, -1320.3, 5.0, 5.0, False)
goto_if_false @TWAR7_9585
Path.SwitchRoadsOn(2714.9, -1501.6, 10.0, 2746.1, -1266.4, 100.0)
73@ = 4

:TWAR7_9585
if 
  68@ == 0
goto_if_false @TWAR7_9668
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 30.0, 30.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
goto_if_false @TWAR7_9668
Car.StartPlayback(35@, 31)
Streaming.RemoveCarRecording(30)
68@ = 1

:TWAR7_9668
if 
  68@ == 1
goto_if_false @TWAR7_9833
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_9833
Path.SwitchRoadsOn(2563.7, -1435.0, 10.0, 2580.3, -1266.4, 100.6)
Path.SwitchRoadsOn(2635.0, -1434.4, 10.0, 2652.0, -1263.6, 100.0)
Path.SwitchRoadsOn(2714.9, -1501.6, 10.0, 2746.1, -1266.4, 100.0)
TIMERA = 0
85@ = 0
68@ = 0
73@ = 0
67@ = 5

:TWAR7_9833
gosub @TWAR7_25463
gosub @TWAR7_25201

:TWAR7_9847
if 
  67@ == 5
goto_if_false @TWAR7_10859
if 
  85@ == 0
goto_if_false @TWAR7_9986
if or
  Char.HasSpottedChar($sweet_carX, 34@)
  Char.HasSpottedChar(34@, $sweet_carX)
goto_if_false @TWAR7_9961
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_9954
83@ = 6
84@ = 1
130@ = 2
gosub @TWAR7_29790

:TWAR7_9954
85@ = 1

:TWAR7_9961
if 
  68@ == 1
goto_if_false @TWAR7_9986
85@ = 1

:TWAR7_9986
if 
  73@ == 0
goto_if_false @TWAR7_10171
Path.SwitchRoadsOff(2713.9, -1499.3, 10.0, 2746.6, -1266.3, 100.0)
Path.SwitchRoadsOff(2714.6, -1249.9, 10.0, 2744.7, -1332.9, 100.0)
Path.SwitchRoadsOff(2634.6, -1396.6, 10.0, 2651.0, -1264.2, 100.0)
Path.SwitchRoadsOff(2635.1, -1248.0, 10.0, 2651.0, -1055.3, 100.0)
Path.SwitchRoadsOff(2651.5, -1263.8, 10.0, 2579.5, -1248.7, 100.0)
73@ = 1

:TWAR7_10171
if 
  73@ == 1
goto_if_false @TWAR7_10298
if 
  Car.Locate2D(35@, 2712.7, -1265.7, 5.0, 5.0, False)
goto_if_false @TWAR7_10298
Path.SwitchRoadsOn(2713.9, -1499.3, 10.0, 2746.6, -1266.3, 100.0)
Path.SwitchRoadsOn(2714.6, -1249.9, 10.0, 2744.7, -1332.9, 100.0)
73@ = 2

:TWAR7_10298
if 
  73@ == 2
goto_if_false @TWAR7_10457
if 
  Car.Locate2D(35@, 2630.5, -1248.3, 5.0, 5.0, False)
goto_if_false @TWAR7_10457
Path.SwitchRoadsOn(2634.6, -1396.6, 10.0, 2651.0, -1264.2, 100.0)
Path.SwitchRoadsOn(2635.1, -1248.0, 10.0, 2651.0, -1055.3, 100.0)
Path.SwitchRoadsOn(2651.5, -1263.8, 10.0, 2579.5, -1248.7, 100.0)
73@ = 3

:TWAR7_10457
if 
  68@ == 0
goto_if_false @TWAR7_10606
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 30.0, 30.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
  TIMERA > 4000
goto_if_false @TWAR7_10606
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_10561
Char.SetProofs(34@, False, False, False, False, False)

:TWAR7_10561
if 
  not Car.IsDead(35@)
goto_if_false @TWAR7_10592
Car.SetProofs(35@, False, False, False, False, False)

:TWAR7_10592
Car.StartPlayback(35@, 32)
68@ = 1

:TWAR7_10606
if 
  68@ == 1
goto_if_false @TWAR7_10845
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_10845
Char.MarkAsNoLongerNeeded(41@)
Char.MarkAsNoLongerNeeded(40@)
Path.SwitchRoadsOn(2713.9, -1499.3, 10.0, 2746.6, -1266.3, 100.0)
Path.SwitchRoadsOn(2714.6, -1249.9, 10.0, 2744.7, -1332.9, 100.0)
Path.SwitchRoadsOn(2634.6, -1396.6, 10.0, 2651.0, -1264.2, 100.0)
Path.SwitchRoadsOn(2635.1, -1248.0, 10.0, 2651.0, -1055.3, 100.0)
Path.SwitchRoadsOn(2651.5, -1263.8, 10.0, 2579.5, -1248.7, 100.0)
TIMERA = 0
85@ = 0
73@ = 0
68@ = 0
67@ = 6

:TWAR7_10845
gosub @TWAR7_25463
gosub @TWAR7_25201

:TWAR7_10859
if 
  67@ == 6
goto_if_false @TWAR7_11888
if 
  85@ == 0
goto_if_false @TWAR7_11025
if or
  Char.HasSpottedChar($sweet_carX, 34@)
  Char.HasSpottedChar(34@, $sweet_carX)
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 35.0, 35.0, False)
goto_if_false @TWAR7_11000
TIMERB = 0
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_10993
83@ = 6
84@ = 2
130@ = 3
gosub @TWAR7_29790

:TWAR7_10993
85@ = 1

:TWAR7_11000
if 
  68@ == 1
goto_if_false @TWAR7_11025
85@ = 1

:TWAR7_11025
if 
  73@ == 0
goto_if_false @TWAR7_11210
Path.SwitchRoadsOff(2563.7, -1248.6, 10.0, 2578.9, -1192.2, 100.0)
Path.SwitchRoadsOff(2443.7, -1249.2, 10.0, 2459.1, -1191.9, 100.0)
Path.SwitchRoadsOff(2363.5, -1253.4, 10.0, 2378.7, -1145.5, 100.0)
Path.SwitchRoadsOff(2311.2, -1144.7, 10.0, 2379.1, -1162.1, 100.0)
Path.SwitchRoadsOff(2239.9, -1130.0, 10.0, 2017.6, -928.3, 100.0)
73@ = 1

:TWAR7_11210
if 
  73@ == 1
goto_if_false @TWAR7_11305
if 
  Car.Locate2D(35@, 2563.2, -1191.8, 5.0, 5.0, False)
goto_if_false @TWAR7_11305
Path.SwitchRoadsOn(2563.7, -1248.6, 10.0, 2578.9, -1192.2, 100.6)
73@ = 2

:TWAR7_11305
if 
  73@ == 2
goto_if_false @TWAR7_11400
if 
  Car.Locate2D(35@, 2442.4, -1191.4, 5.0, 5.0, False)
goto_if_false @TWAR7_11400
Path.SwitchRoadsOn(2443.7, -1249.2, 10.0, 2459.1, -1191.9, 100.0)
73@ = 3

:TWAR7_11400
if 
  73@ == 3
goto_if_false @TWAR7_11495
if 
  Car.Locate2D(35@, 2360.1, -1164.8, 5.0, 5.0, False)
goto_if_false @TWAR7_11495
Path.SwitchRoadsOn(2363.5, -1253.4, 10.0, 2378.7, -1145.5, 100.0)
73@ = 4

:TWAR7_11495
if 
  73@ == 4
goto_if_false @TWAR7_11590
if 
  Car.Locate2D(35@, 2315.0, -1145.9, 5.0, 5.0, False)
goto_if_false @TWAR7_11590
Path.SwitchRoadsOn(2311.2, -1144.7, 10.0, 2379.1, -1162.1, 100.0)
73@ = 5

:TWAR7_11590
if 
  68@ == 0
goto_if_false @TWAR7_11677
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 30.0, 30.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
  TIMERA > 4000
goto_if_false @TWAR7_11677
Car.StartPlayback(35@, 33)
68@ = 1

:TWAR7_11677
if 
  68@ == 1
goto_if_false @TWAR7_11874
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_11874
Path.SwitchRoadsOn(2563.7, -1248.6, 10.0, 2578.9, -1192.2, 100.6)
Path.SwitchRoadsOn(2443.7, -1249.2, 10.0, 2459.1, -1191.9, 100.0)
Path.SwitchRoadsOn(2363.5, -1253.4, 10.0, 2378.7, -1145.5, 100.0)
Path.SwitchRoadsOn(2311.2, -1144.7, 10.0, 2379.1, -1162.1, 100.0)
TIMERA = 0
85@ = 0
73@ = 0
68@ = 0
67@ = 7

:TWAR7_11874
gosub @TWAR7_25463
gosub @TWAR7_25201

:TWAR7_11888
if 
  67@ == 7
goto_if_false @TWAR7_12388
if 
  85@ == 0
goto_if_false @TWAR7_12034
if or
  Char.HasSpottedChar($sweet_carX, 34@)
  Char.HasSpottedChar(34@, $sweet_carX)
goto_if_false @TWAR7_12009
TIMERB = 0
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_12002
83@ = 6
84@ = 3
130@ = 4
gosub @TWAR7_29790

:TWAR7_12002
85@ = 1

:TWAR7_12009
if 
  68@ == 1
goto_if_false @TWAR7_12034
85@ = 1

:TWAR7_12034
if 
  73@ == 0
goto_if_false @TWAR7_12091
Path.SwitchRoadsOff(1930.6, -1031.9, 10.0, 1574.4, -879.9, 100.0)
73@ = 1

:TWAR7_12091
if 
  73@ == 1
goto_if_false @TWAR7_12186
if 
  Car.Locate2D(35@, 2149.8, -996.1, 5.0, 5.0, False)
goto_if_false @TWAR7_12186
Path.SwitchRoadsOn(2239.9, -1130.0, 10.0, 2017.6, -928.3, 100.0)
73@ = 2

:TWAR7_12186
if 
  68@ == 0
goto_if_false @TWAR7_12273
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 30.0, 30.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
  TIMERA > 4000
goto_if_false @TWAR7_12273
Car.StartPlayback(35@, 34)
68@ = 1

:TWAR7_12273
if 
  68@ == 1
goto_if_false @TWAR7_12374
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_12374
Path.SwitchRoadsOn(2239.9, -1130.0, 10.0, 2017.6, -928.3, 100.0)
TIMERA = 0
85@ = 0
73@ = 0
68@ = 0
67@ = 8

:TWAR7_12374
gosub @TWAR7_25463
gosub @TWAR7_25201

:TWAR7_12388
if 
  67@ == 8
goto_if_false @TWAR7_13968
if 
  85@ == 0
goto_if_false @TWAR7_12527
if or
  Char.HasSpottedChar($sweet_carX, 34@)
  Char.HasSpottedChar(34@, $sweet_carX)
goto_if_false @TWAR7_12502
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_12495
83@ = 6
84@ = 4
130@ = 5
gosub @TWAR7_29790

:TWAR7_12495
85@ = 1

:TWAR7_12502
if 
  68@ == 1
goto_if_false @TWAR7_12527
85@ = 1

:TWAR7_12527
if 
  73@ == 0
goto_if_false @TWAR7_12584
Path.SwitchRoadsOff(1879.6, -1024.3, 10.0, 1600.0, -1521.7, 100.0)
73@ = 1

:TWAR7_12584
if 
  73@ == 1
goto_if_false @TWAR7_12679
if 
  Car.Locate2D(35@, 1819.4, -1034.0, 5.0, 5.0, False)
goto_if_false @TWAR7_12679
Path.SwitchRoadsOn(1930.6, -1031.9, 10.0, 1574.4, -879.9, 100.0)
73@ = 2

:TWAR7_12679
if 
  73@ == 2
goto_if_false @TWAR7_12774
if 
  Car.Locate2D(35@, 1755.3, -1489.1, 5.0, 5.0, False)
goto_if_false @TWAR7_12774
Path.SwitchRoadsOn(1879.6, -1024.3, 10.0, 1552.0, -1521.7, 100.0)
73@ = 3

:TWAR7_12774
if 
  68@ == 0
goto_if_false @TWAR7_13714
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 30.0, 30.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
  TIMERA > 4000
goto_if_false @TWAR7_13714
set_lvar_int_to_constant 78@ = 410
gosub @TWAR7_26168
42@ = Car.Create(410, 1688.5, -1111.7, 58.5)
52@ = Char.CreateRandomAsDriver(42@)
Car.SetLoadCollisionFlag(42@, True)
Car.SetHeading(42@, 322.3)
Car.StartPlayback(42@, 50)
set_lvar_int_to_constant 78@ = 410
gosub @TWAR7_26168
43@ = Car.Create(410, 1679.7, -1131.6, 59.7)
53@ = Char.CreateRandomAsDriver(43@)
Car.SetLoadCollisionFlag(43@, True)
Car.SetHeading(43@, 321.2)
Car.StartPlayback(43@, 51)
44@ = Car.Create(461, 1644.8, -1177.5, 54.3)
54@ = Char.CreateRandomAsDriver(44@)
Car.SetLoadCollisionFlag(44@, True)
Car.SetHeading(44@, 320.8)
Car.StartPlayback(44@, 52)
set_lvar_int_to_constant 78@ = 410
gosub @TWAR7_26168
45@ = Car.Create(410, 1637.0, -1203.8, 51.5)
55@ = Char.CreateRandomAsDriver(45@)
Car.SetLoadCollisionFlag(45@, True)
Car.SetHeading(45@, 350.3)
Car.StartPlayback(45@, 53)
74@, 75@ = Streaming.GetRandomCarModelInMemory(True)
if 
  74@ >= 0
goto_if_false @TWAR7_13210
set_lvar_int_to_lvar_int 78@ = 74@
gosub @TWAR7_26168
46@ = Car.Create(74@, 1618.2, -1306.4, 35.6)
Car.SetHeading(46@, 343.7)
Car.SetLoadCollisionFlag(46@, True)
56@ = Char.CreateRandomAsDriver(46@)
Car.StartPlayback(46@, 54)

:TWAR7_13210
74@, 75@ = Streaming.GetRandomCarModelInMemory(True)
if 
  74@ >= 0
goto_if_false @TWAR7_13308
set_lvar_int_to_lvar_int 78@ = 74@
gosub @TWAR7_26168
47@ = Car.Create(74@, 1621.8, -1317.9, 33.0)
Car.SetHeading(47@, 348.7)
Car.SetLoadCollisionFlag(47@, True)
57@ = Char.CreateRandomAsDriver(47@)
Car.StartPlayback(47@, 55)

:TWAR7_13308
74@, 75@ = Streaming.GetRandomCarModelInMemory(True)
if 
  74@ >= 0
goto_if_false @TWAR7_13406
set_lvar_int_to_lvar_int 78@ = 74@
gosub @TWAR7_26168
48@ = Car.Create(74@, 1615.6, -1327.7, 31.5)
Car.SetHeading(48@, 352.1)
Car.SetLoadCollisionFlag(48@, True)
58@ = Char.CreateRandomAsDriver(48@)
Car.StartPlayback(48@, 56)

:TWAR7_13406
74@, 75@ = Streaming.GetRandomCarModelInMemory(True)
if 
  74@ >= 0
goto_if_false @TWAR7_13504
set_lvar_int_to_lvar_int 78@ = 74@
gosub @TWAR7_26168
49@ = Car.Create(74@, 1612.3, -1394.0, 27.6)
Car.SetHeading(49@, 353.6)
Car.SetLoadCollisionFlag(49@, True)
59@ = Char.CreateRandomAsDriver(49@)
Car.StartPlayback(49@, 57)

:TWAR7_13504
74@, 75@ = Streaming.GetRandomCarModelInMemory(True)
if 
  74@ >= 0
goto_if_false @TWAR7_13602
set_lvar_int_to_lvar_int 78@ = 74@
gosub @TWAR7_26168
50@ = Car.Create(74@, 1612.3, -1462.2, 27.1)
Car.SetHeading(50@, 357.2)
Car.SetLoadCollisionFlag(50@, True)
60@ = Char.CreateRandomAsDriver(50@)
Car.StartPlayback(50@, 58)

:TWAR7_13602
74@, 75@ = Streaming.GetRandomCarModelInMemory(True)
if 
  74@ >= 0
goto_if_false @TWAR7_13700
set_lvar_int_to_lvar_int 78@ = 74@
gosub @TWAR7_26168
51@ = Car.Create(74@, 1663.4, -1457.0, 24.3)
Car.SetHeading(51@, 51.9)
Car.SetLoadCollisionFlag(51@, True)
61@ = Char.CreateRandomAsDriver(51@)
Car.StartPlayback(51@, 60)

:TWAR7_13700
Car.StartPlayback(35@, 35)
68@ = 1

:TWAR7_13714
if 
  68@ == 1
goto_if_false @TWAR7_13821
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_13755
68@ = 2

:TWAR7_13755
if 
  not Car.IsDead(51@)
goto_if_false @TWAR7_13821
if 
  Car.Locate2D(51@, 1601.4, -1389.5, 5.0, 5.0, False)
goto_if_false @TWAR7_13821
Car.StopPlayback(51@)
68@ = 2

:TWAR7_13821
if 
  68@ == 2
goto_if_false @TWAR7_13954
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_13954
Path.SwitchRoadsOn(1930.6, -1031.9, 10.0, 1574.4, -879.9, 100.0)
Path.SwitchRoadsOn(1879.6, -1024.3, 10.0, 1552.0, -1521.7, 100.0)
TIMERA = 0
73@ = 0
85@ = 0
68@ = 0
67@ = 9

:TWAR7_13954
gosub @TWAR7_25463
gosub @TWAR7_25201

:TWAR7_13968
if 
  67@ == 9
goto_if_false @TWAR7_14628
if 
  85@ == 0
goto_if_false @TWAR7_14114
if or
  Char.HasSpottedChar($sweet_carX, 34@)
  Char.HasSpottedChar(34@, $sweet_carX)
goto_if_false @TWAR7_14089
TIMERB = 0
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_14082
83@ = 6
84@ = 5
130@ = 6
gosub @TWAR7_29790

:TWAR7_14082
85@ = 1

:TWAR7_14089
if 
  68@ == 1
goto_if_false @TWAR7_14114
85@ = 1

:TWAR7_14114
if 
  73@ == 0
goto_if_false @TWAR7_14171
Path.SwitchRoadsOff(1725.8, -1433.3, 10.0, 1838.0, -1459.4, 100.0)
73@ = 1

:TWAR7_14171
if 
  73@ == 1
goto_if_false @TWAR7_14266
if 
  Car.Locate2D(35@, 1781.3, -1437.9, 5.0, 5.0, False)
goto_if_false @TWAR7_14266
Path.SwitchRoadsOn(1725.8, -1433.3, 10.0, 1838.0, -1459.4, 100.0)
73@ = 2

:TWAR7_14266
if 
  68@ == 0
goto_if_false @TWAR7_14513
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 30.0, 30.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
  TIMERA > 4000
goto_if_false @TWAR7_14513
Car.MarkAsNoLongerNeeded(42@)
Car.MarkAsNoLongerNeeded(43@)
Car.MarkAsNoLongerNeeded(44@)
Car.MarkAsNoLongerNeeded(45@)
Car.MarkAsNoLongerNeeded(46@)
Car.MarkAsNoLongerNeeded(47@)
Car.MarkAsNoLongerNeeded(48@)
Car.MarkAsNoLongerNeeded(49@)
Car.MarkAsNoLongerNeeded(50@)
Car.MarkAsNoLongerNeeded(51@)
Char.MarkAsNoLongerNeeded(52@)
Char.MarkAsNoLongerNeeded(53@)
Char.MarkAsNoLongerNeeded(54@)
Char.MarkAsNoLongerNeeded(55@)
Char.MarkAsNoLongerNeeded(56@)
Char.MarkAsNoLongerNeeded(57@)
Char.MarkAsNoLongerNeeded(58@)
Char.MarkAsNoLongerNeeded(59@)
Char.MarkAsNoLongerNeeded(60@)
Char.MarkAsNoLongerNeeded(61@)
38@ = Char.CreateRandom(1778.4, -1343.1, 14.7)
Char.SetHeading(38@, 180.0)
39@ = Char.CreateRandom(1778.4, -1344.1, 14.7)
Char.SetHeading(39@, 0.0)
Car.StartPlayback(35@, 36)
68@ = 1

:TWAR7_14513
if 
  68@ == 1
goto_if_false @TWAR7_14614
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_14614
Path.SwitchRoadsOn(1725.8, -1433.3, 10.0, 1838.0, -1459.4, 100.0)
TIMERA = 0
73@ = 0
85@ = 0
68@ = 0
67@ = 10

:TWAR7_14614
gosub @TWAR7_25463
gosub @TWAR7_25201

:TWAR7_14628
if 
  67@ == 10
goto_if_false @TWAR7_15329
if 
  85@ == 0
goto_if_false @TWAR7_14774
if or
  Char.HasSpottedChar($sweet_carX, 34@)
  Char.HasSpottedChar(34@, $sweet_carX)
goto_if_false @TWAR7_14749
TIMERB = 0
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_14742
83@ = 6
84@ = 6
130@ = 7
gosub @TWAR7_29790

:TWAR7_14742
85@ = 1

:TWAR7_14749
if 
  68@ == 1
goto_if_false @TWAR7_14774
85@ = 1

:TWAR7_14774
if 
  73@ == 0
goto_if_false @TWAR7_14895
Path.SwitchRoadsOff(1838.4, -1453.6, 10.0, 1853.7, -1303.4, 100.0)
Path.SwitchRoadsOff(1979.3, -1468.7, 10.0, 1853.5, -1452.5, 100.0)
Path.SwitchRoadsOff(2334.0, -1556.1, 10.0, 2350.5, -1489.7, 100.0)
73@ = 1

:TWAR7_14895
if 
  73@ == 1
goto_if_false @TWAR7_14990
if 
  Car.Locate2D(35@, 1855.7, -1379.0, 5.0, 5.0, False)
goto_if_false @TWAR7_14990
Path.SwitchRoadsOn(1838.4, -1453.6, 10.0, 1853.7, -1303.4, 100.0)
73@ = 2

:TWAR7_14990
if 
  73@ == 2
goto_if_false @TWAR7_15085
if 
  Car.Locate2D(35@, 1971.5, -1474.6, 5.0, 5.0, False)
goto_if_false @TWAR7_15085
Path.SwitchRoadsOn(1979.3, -1468.7, 10.0, 1853.5, -1452.5, 100.0)
73@ = 3

:TWAR7_15085
if 
  68@ == 0
goto_if_false @TWAR7_15172
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 30.0, 30.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
  TIMERA > 4000
goto_if_false @TWAR7_15172
Car.StartPlayback(35@, 37)
68@ = 1

:TWAR7_15172
if 
  68@ == 1
goto_if_false @TWAR7_15315
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_15315
Char.MarkAsNoLongerNeeded(38@)
Char.MarkAsNoLongerNeeded(39@)
Path.SwitchRoadsOn(1838.4, -1453.6, 10.0, 1853.7, -1303.4, 100.0)
Path.SwitchRoadsOn(1979.3, -1468.7, 10.0, 1853.5, -1452.5, 100.0)
TIMERA = 0
73@ = 0
85@ = 0
68@ = 0
67@ = 11

:TWAR7_15315
gosub @TWAR7_25463
gosub @TWAR7_25201

:TWAR7_15329
if 
  67@ == 11
goto_if_false @TWAR7_15893
if 
  85@ == 0
goto_if_false @TWAR7_15475
if or
  Char.HasSpottedChar($sweet_carX, 34@)
  Char.HasSpottedChar(34@, $sweet_carX)
goto_if_false @TWAR7_15450
TIMERB = 0
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_15443
83@ = 6
84@ = 7
130@ = 8
gosub @TWAR7_29790

:TWAR7_15443
85@ = 1

:TWAR7_15450
if 
  68@ == 1
goto_if_false @TWAR7_15475
85@ = 1

:TWAR7_15475
if 
  73@ == 0
goto_if_false @TWAR7_15532
Path.SwitchRoadsOff(2350.1, -1516.0, 10.0, 2423.9, -1532.5, 100.0)
73@ = 1

:TWAR7_15532
if 
  73@ == 1
goto_if_false @TWAR7_15659
if 
  Car.Locate2D(35@, 2394.8, -1508.7, 5.0, 5.0, False)
goto_if_false @TWAR7_15659
Path.SwitchRoadsOn(2350.1, -1516.0, 10.0, 2423.9, -1532.5, 100.0)
Path.SwitchRoadsOn(2334.0, -1556.1, 10.0, 2350.5, -1489.7, 100.0)
73@ = 2

:TWAR7_15659
if 
  68@ == 0
goto_if_false @TWAR7_15746
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 30.0, 30.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
  TIMERA > 4000
goto_if_false @TWAR7_15746
Car.StartPlayback(35@, 38)
68@ = 1

:TWAR7_15746
if 
  68@ == 1
goto_if_false @TWAR7_15879
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_15879
Path.SwitchRoadsOn(2350.1, -1516.0, 10.0, 2423.9, -1532.5, 100.0)
Path.SwitchRoadsOn(2334.0, -1556.1, 10.0, 2350.5, -1489.7, 100.0)
TIMERA = 0
73@ = 0
85@ = 0
68@ = 0
67@ = 12

:TWAR7_15879
gosub @TWAR7_25463
gosub @TWAR7_25201

:TWAR7_15893
if 
  67@ == 12
goto_if_false @TWAR7_16393
if 
  85@ == 0
goto_if_false @TWAR7_16039
if or
  Char.HasSpottedChar($sweet_carX, 34@)
  Char.HasSpottedChar(34@, $sweet_carX)
goto_if_false @TWAR7_16014
TIMERB = 0
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_16007
83@ = 6
84@ = 8
130@ = 9
gosub @TWAR7_29790

:TWAR7_16007
85@ = 1

:TWAR7_16014
if 
  68@ == 1
goto_if_false @TWAR7_16039
85@ = 1

:TWAR7_16039
if 
  73@ == 0
goto_if_false @TWAR7_16096
Path.SwitchRoadsOff(2379.8, -1373.3, 10.0, 2423.7, -1452.6, 100.0)
73@ = 1

:TWAR7_16096
if 
  73@ == 1
goto_if_false @TWAR7_16191
if 
  Car.Locate2D(35@, 2398.6, -1432.4, 5.0, 5.0, False)
goto_if_false @TWAR7_16191
Path.SwitchRoadsOn(2379.8, -1373.3, 10.0, 2423.7, -1452.6, 100.0)
73@ = 2

:TWAR7_16191
if 
  68@ == 0
goto_if_false @TWAR7_16278
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 30.0, 30.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
  TIMERA > 4000
goto_if_false @TWAR7_16278
Car.StartPlayback(35@, 39)
68@ = 1

:TWAR7_16278
if 
  68@ == 1
goto_if_false @TWAR7_16379
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_16379
Path.SwitchRoadsOn(2379.8, -1373.3, 10.0, 2423.7, -1452.6, 100.0)
TIMERA = 0
73@ = 0
85@ = 0
68@ = 0
67@ = 13

:TWAR7_16379
gosub @TWAR7_25463
gosub @TWAR7_25201

:TWAR7_16393
if 
  67@ == 13
goto_if_false @TWAR7_17814
gosub @TWAR7_25463
gosub @TWAR7_25201
if 
  85@ == 0
goto_if_false @TWAR7_16553
if or
  Char.HasSpottedChar($sweet_carX, 34@)
  Char.HasSpottedChar(34@, $sweet_carX)
goto_if_false @TWAR7_16528
TIMERB = 0
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_16521
83@ = 6
84@ = 9
130@ = 10
gosub @TWAR7_29790

:TWAR7_16521
85@ = 1

:TWAR7_16528
if 
  68@ == 1
goto_if_false @TWAR7_16553
85@ = 1

:TWAR7_16553
if 
  73@ == 0
goto_if_false @TWAR7_16706
Path.SwitchRoadsOff(2363.5, -1291.7, 10.0, 2379.5, -1181.2, 100.0)
Path.SwitchRoadsOff(2295.9, -1291.5, 10.0, 2311.5, -1162.3, 100.0)
Path.SwitchRoadsOff(2333.9, -1392.1, 10.0, 2220.2, -1377.1, 100.0)
Path.SwitchRoadsOff(2334.6, -1493.6, 10.0, 2219.8, -1475.2, 100.0)
73@ = 1

:TWAR7_16706
if 
  73@ == 1
goto_if_false @TWAR7_16801
if 
  Car.Locate2D(35@, 2362.8, -1259.3, 5.0, 5.0, False)
goto_if_false @TWAR7_16801
Path.SwitchRoadsOn(2363.5, -1291.7, 10.0, 2379.5, -1181.2, 100.0)
73@ = 2

:TWAR7_16801
if 
  73@ == 2
goto_if_false @TWAR7_16896
if 
  Car.Locate2D(35@, 2294.5, -1263.5, 5.0, 5.0, False)
goto_if_false @TWAR7_16896
Path.SwitchRoadsOn(2295.9, -1291.5, 10.0, 2311.5, -1162.3, 100.0)
73@ = 3

:TWAR7_16896
if 
  73@ == 3
goto_if_false @TWAR7_16991
if 
  Car.Locate2D(35@, 2284.2, -1393.8, 5.0, 5.0, False)
goto_if_false @TWAR7_16991
Path.SwitchRoadsOn(2333.9, -1392.1, 10.0, 2220.2, -1377.1, 100.0)
73@ = 4

:TWAR7_16991
if 
  73@ == 4
goto_if_false @TWAR7_17086
if 
  Car.Locate2D(35@, 2293.8, -1491.7, 5.0, 5.0, False)
goto_if_false @TWAR7_17086
Path.SwitchRoadsOn(2334.6, -1493.6, 10.0, 2219.8, -1475.2, 100.0)
73@ = 5

:TWAR7_17086
if 
  68@ == 0
goto_if_false @TWAR7_17395
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 30.0, 30.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
  TIMERA > 4000
goto_if_false @TWAR7_17395
if 
  Streaming.HasModelLoaded(110)
goto_if_false @TWAR7_17233
62@ = Char.Create(PedType.Mission2, 110, 2301.9, -1504.1, 24.3)
Char.SetHeading(62@, 358.5)
Char.GiveWeapon(62@, WeaponType.Tec9, 30000)
Char.SetKindaStayInSamePlace(62@, True)
Char.SetDecisionMaker(62@, 149@)

:TWAR7_17233
if 
  Streaming.HasModelLoaded(110)
goto_if_false @TWAR7_17307
63@ = Char.Create(PedType.Mission2, 110, 2302.5, -1502.3, 24.3)
Char.SetHeading(63@, 18.5)
Char.GiveWeapon(63@, WeaponType.Tec9, 30000)
Char.SetKindaStayInSamePlace(63@, True)
Char.SetDecisionMaker(63@, 149@)

:TWAR7_17307
if 
  Streaming.HasModelLoaded(110)
goto_if_false @TWAR7_17381
64@ = Char.Create(PedType.Mission2, 110, 2300.6, -1503.9, 24.3)
Char.SetHeading(64@, 5.9)
Char.GiveWeapon(64@, WeaponType.Tec9, 30000)
Char.SetKindaStayInSamePlace(64@, True)
Char.SetDecisionMaker(64@, 149@)

:TWAR7_17381
Car.StartPlayback(35@, 40)
68@ = 1

:TWAR7_17395
if 
  68@ == 1
goto_if_false @TWAR7_17646
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_17646
Path.SwitchRoadsOn(2363.5, -1291.7, 10.0, 2379.5, -1181.2, 100.0)
Path.SwitchRoadsOn(2295.9, -1291.5, 10.0, 2311.5, -1162.3, 100.0)
Path.SwitchRoadsOn(2333.9, -1392.1, 10.0, 2220.2, -1377.1, 100.0)
Path.SwitchRoadsOn(2334.6, -1493.6, 10.0, 2219.8, -1475.2, 100.0)
145@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2300.3, -1502.8, 24.3, MoveState.Run, -1)
Task.AchieveHeading(-1, 205.1)
Sequence.Close(145@)
Char.PerformSequence(34@, 145@)
Sequence.Clear(145@)
if 
  not Car.IsDead(35@)
goto_if_false @TWAR7_17639
Car.SetAlwaysCreateSkids(35@, False)

:TWAR7_17639
68@ = 2

:TWAR7_17646
if 
  68@ == 2
goto_if_false @TWAR7_17814
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 30.0, 30.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
goto_if_false @TWAR7_17814
if 
  Char.IsGroupMember($sweet_carX, $flag_cell_nation)
goto_if_false @TWAR7_17735
Char.RemoveFromGroup($sweet_carX)

:TWAR7_17735
Char.IgnoreHeightDifferenceFollowingNodes($sweet_carX, True)
Char.SetFollowNodeThresholdDistance($sweet_carX, 50.0)
145@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, 34@)
Sequence.Close(145@)
Char.PerformSequence($sweet_carX, 145@)
Sequence.Clear(145@)
85@ = 0
73@ = 0
68@ = 0
67@ = 14

:TWAR7_17814
if 
  67@ == 14
goto_if_false @TWAR7_18221
if 
  85@ == 0
goto_if_false @TWAR7_17912
if or
  Char.HasSpottedChar($sweet_carX, 34@)
  Char.HasSpottedChar(34@, $sweet_carX)
goto_if_false @TWAR7_17912
83@ = 7
84@ = 0
gosub @TWAR7_29790
TIMERB = 0
85@ = 1

:TWAR7_17912
if 
  85@ == 1
goto_if_false @TWAR7_17976
if 
  83@ == 0
goto_if_false @TWAR7_17976
83@ = 17
84@ = 0
gosub @TWAR7_29790
85@ = 2

:TWAR7_17976
if 
  68@ == 0
goto_if_false @TWAR7_18221
Blip.Remove(66@)
66@ = Blip.AddForChar(34@)
Char.SetOnlyDamagedByPlayer(34@, False)
145@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.TurnCharToFaceChar(-1, $sweet_carX)
Task.KillCharOnFoot(-1, $sweet_carX)
Sequence.Close(145@)
Char.PerformSequence(34@, 145@)
Sequence.Clear(145@)
if 
  not Char.IsDead(62@)
goto_if_false @TWAR7_18108
$chickY = Char.GetScriptTaskStatus(62@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @TWAR7_18108
Task.KillCharOnFoot(62@, $stattreadstamina_ctr)

:TWAR7_18108
if 
  not Char.IsDead(63@)
goto_if_false @TWAR7_18161
$chickY = Char.GetScriptTaskStatus(63@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @TWAR7_18161
Task.KillCharOnFoot(63@, $stattreadstamina_ctr)

:TWAR7_18161
if 
  not Char.IsDead(64@)
goto_if_false @TWAR7_18214
$chickY = Char.GetScriptTaskStatus(64@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @TWAR7_18214
Task.KillCharOnFoot(64@, $stattreadstamina_ctr)

:TWAR7_18214
68@ = 1

:TWAR7_18221
goto @TWAR7_18362

:TWAR7_18228
Blip.Remove(66@)
if 
  not Char.IsDead(62@)
goto_if_false @TWAR7_18264
Task.FleeChar(62@, $stattreadstamina_ctr, 20.0, -2)

:TWAR7_18264
if 
  not Char.IsDead(63@)
goto_if_false @TWAR7_18295
Task.FleeChar(63@, $stattreadstamina_ctr, 20.0, -2)

:TWAR7_18295
if 
  not Char.IsDead(64@)
goto_if_false @TWAR7_18326
Task.FleeChar(64@, $stattreadstamina_ctr, 20.0, -2)

:TWAR7_18326
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
TIMERA = 0
68@ = 0
85@ = 0
67@ = 15

:TWAR7_18362
goto @TWAR7_18503

:TWAR7_18369
Blip.Remove(66@)
if 
  not Char.IsDead(62@)
goto_if_false @TWAR7_18405
Task.FleeChar(62@, $stattreadstamina_ctr, 20.0, -2)

:TWAR7_18405
if 
  not Char.IsDead(63@)
goto_if_false @TWAR7_18436
Task.FleeChar(63@, $stattreadstamina_ctr, 20.0, -2)

:TWAR7_18436
if 
  not Char.IsDead(64@)
goto_if_false @TWAR7_18467
Task.FleeChar(64@, $stattreadstamina_ctr, 20.0, -2)

:TWAR7_18467
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
TIMERA = 0
68@ = 0
85@ = 0
67@ = 15

:TWAR7_18503
if 
  67@ == 15
goto_if_false @TWAR7_21068
if 
  68@ == 0
goto_if_false @TWAR7_19984
if 
  TIMERA > 2000
goto_if_false @TWAR7_19984
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @TWAR7_19984
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:TWAR7_18592
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_18616
wait 0
goto @TWAR7_18592

:TWAR7_18616
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_18648
goto @TWAR7_23165

:TWAR7_18648
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
83@ = 0
Char.Delete(62@)
Char.Delete(63@)
Char.Delete(64@)
Path.SwitchRoadsBackToOriginal(2563.7, -1435.0, 10.0, 2580.3, -1266.4, 100.6)
Path.SwitchRoadsBackToOriginal(2635.0, -1434.4, 10.0, 2652.0, -1263.6, 100.0)
Path.SwitchRoadsBackToOriginal(2714.9, -1501.6, 10.0, 2746.1, -1266.4, 100.0)
Path.SwitchRoadsBackToOriginal(2713.9, -1499.3, 10.0, 2746.6, -1266.3, 100.0)
Path.SwitchRoadsBackToOriginal(2714.6, -1249.9, 10.0, 2744.7, -1332.9, 100.0)
Path.SwitchRoadsBackToOriginal(2634.6, -1396.6, 10.0, 2651.0, -1264.2, 100.0)
Path.SwitchRoadsBackToOriginal(2635.1, -1248.0, 10.0, 2651.0, -1055.3, 100.0)
Path.SwitchRoadsBackToOriginal(2651.5, -1263.8, 10.0, 2579.5, -1248.7, 100.0)
Path.SwitchRoadsBackToOriginal(2563.7, -1248.6, 10.0, 2578.9, -1192.2, 100.6)
Path.SwitchRoadsBackToOriginal(2443.7, -1249.2, 10.0, 2459.1, -1191.9, 100.0)
Path.SwitchRoadsBackToOriginal(2363.5, -1253.4, 10.0, 2378.7, -1145.5, 100.0)
Path.SwitchRoadsBackToOriginal(2311.2, -1144.7, 10.0, 2379.1, -1162.1, 100.0)
Path.SwitchRoadsBackToOriginal(2239.9, -1130.0, 10.0, 2017.6, -928.3, 100.0)
Path.SwitchRoadsBackToOriginal(1930.6, -1031.9, 10.0, 1574.4, -879.9, 100.0)
Path.SwitchRoadsBackToOriginal(1879.6, -1024.3, 10.0, 1552.0, -1521.7, 100.0)
Path.SwitchRoadsBackToOriginal(1725.8, -1433.3, 10.0, 1838.0, -1459.4, 100.0)
Path.SwitchRoadsBackToOriginal(1838.4, -1453.6, 10.0, 1853.7, -1303.4, 100.0)
Path.SwitchRoadsBackToOriginal(1979.3, -1468.7, 10.0, 1853.5, -1452.5, 100.0)
Path.SwitchRoadsBackToOriginal(2334.0, -1556.1, 10.0, 2350.5, -1489.7, 100.0)
Path.SwitchRoadsBackToOriginal(2350.1, -1516.0, 10.0, 2423.9, -1532.5, 100.0)
Path.SwitchRoadsBackToOriginal(2379.8, -1373.3, 10.0, 2423.7, -1452.6, 100.0)
Path.SwitchRoadsBackToOriginal(2363.5, -1291.7, 10.0, 2379.5, -1181.2, 100.0)
Path.SwitchRoadsBackToOriginal(2295.9, -1291.5, 10.0, 2311.5, -1162.3, 100.0)
Path.SwitchRoadsBackToOriginal(2333.9, -1392.1, 10.0, 2220.2, -1377.1, 100.0)
Path.SwitchRoadsBackToOriginal(2334.6, -1493.6, 10.0, 2219.8, -1475.2, 100.0)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(35@)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(461)
Streaming.RequestAnimation("MISC")
Streaming.LoadAllModelsNow
Streaming.RequestCollision(2293.4, -1490.2)
Streaming.LoadSceneInDirection(2293.4, -1490.2, 22.2, 90.0)
World.ClearArea(2293.4, -1490.2, 22.2, 20.0, True)
World.SetPedDensityMultiplier(0.0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Game.ShutAllCharsUp(True)
Player.MakeGangDisappear
if 
  not Car.IsDead(35@)
goto_if_false @TWAR7_19616
Car.SetAlwaysCreateSkids(35@, False)

:TWAR7_19616
Char.ClearTasksImmediately($stattreadstamina_ctr)
141@, 142@, 143@ = Char.GetCoordinates($stattreadstamina_ctr)
144@ = Char.GetHeading($stattreadstamina_ctr)
Char.RemoveFromGroup($sweet_carX)
Char.ClearTasksImmediately($sweet_carX)
World.ClearArea(2290.4, -1490.2, 22.3, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2290.4, -1490.2, 22.3)
Char.SetHeading($stattreadstamina_ctr, 265.8)
Task.GoStraightToCoord($stattreadstamina_ctr, 2295.6, -1490.5, 21.3, MoveState.Walk, -1)
76@ = Char.GetCurrentWeapon($stattreadstamina_ctr)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.ClearTasksImmediately($sweet_carX)
World.ClearArea(2295.3, -1491.3, 22.3, 1.0, True)
Char.SetCoordinates($sweet_carX, 2295.3, -1491.3, 22.3)
Char.SetHeading($sweet_carX, 268.4)
Task.AimGunAtCoord($sweet_carX, 2299.3, -1490.6, 22.8, 10000)
Camera.SetFixedPosition(2299.3, -1490.6, 22.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2255.6, -1493.3, 38.3, SwitchType.JumpCut)
83@ = 8
84@ = 0
gosub @TWAR7_29790
68@ = 1
Camera.DoFade(1500, Fade.In)

:TWAR7_19914
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_19938
wait 0
goto @TWAR7_19914

:TWAR7_19938
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_19970
goto @TWAR7_23165

:TWAR7_19970
69@ = 1
skip_cutscene_start_internal @TWAR7_20578

:TWAR7_19984
if 
  68@ == 1
goto_if_false @TWAR7_20115
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1491)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @TWAR7_20115
Task.TurnCharToFaceChar($sweet_carX, $stattreadstamina_ctr)
145@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $sweet_carX)
Task.PlayAnim(-1, "IDLE_CHAT_02", "MISC", 4.0, True, False, False, False, -1)
Sequence.Close(145@)
Char.PerformSequence($stattreadstamina_ctr, 145@)
Sequence.Clear(145@)
68@ = 2

:TWAR7_20115
if 
  68@ == 2
goto_if_false @TWAR7_20199
if 
  84@ > 2
goto_if_false @TWAR7_20199
Char.ClearTasks($stattreadstamina_ctr)
Task.PlayAnim($sweet_carX, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
68@ = 3

:TWAR7_20199
if 
  68@ == 3
goto_if_false @TWAR7_20283
if 
  84@ > 3
goto_if_false @TWAR7_20283
Char.ClearTasks($sweet_carX)
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
68@ = 4

:TWAR7_20283
if 
  68@ == 4
goto_if_false @TWAR7_20367
if 
  84@ > 4
goto_if_false @TWAR7_20367
Char.ClearTasks($stattreadstamina_ctr)
Task.PlayAnim($sweet_carX, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
68@ = 5

:TWAR7_20367
if 
  68@ == 5
goto_if_false @TWAR7_20451
if 
  84@ > 5
goto_if_false @TWAR7_20451
Char.ClearTasks($sweet_carX)
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
68@ = 6

:TWAR7_20451
if 
  68@ == 6
goto_if_false @TWAR7_20535
if 
  84@ > 6
goto_if_false @TWAR7_20535
Char.ClearTasks($stattreadstamina_ctr)
Task.PlayAnim($sweet_carX, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
68@ = 7

:TWAR7_20535
if 
  68@ == 7
goto_if_false @TWAR7_21068
if 
  83@ == 0
goto_if_false @TWAR7_21068
69@ = 0

:TWAR7_20578
skip_cutscene_end 
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_20612
goto @TWAR7_23165

:TWAR7_20612
Char.ClearTasks($sweet_carX)
if 
  69@ == 1
goto_if_false @TWAR7_20652
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
83@ = 0

:TWAR7_20652
Camera.DoFade(500, Fade.Out)

:TWAR7_20659
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_20683
wait 0
goto @TWAR7_20659

:TWAR7_20683
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_20715
goto @TWAR7_23165

:TWAR7_20715
Char.ClearTasksImmediately($stattreadstamina_ctr)
143@ -= 1.0
World.ClearArea(141@, 142@, 143@, 1.0, True)
Streaming.RequestCollision(141@, 142@)
Streaming.LoadAllModelsNow
Char.SetCoordinates($stattreadstamina_ctr, 141@, 142@, 143@)
Char.SetHeading($stattreadstamina_ctr, 144@)
Char.SetCurrentWeapon($stattreadstamina_ctr, 76@)
Char.ClearTasksImmediately($sweet_carX)
137@, 138@, 139@ = Path.GetClosestCharNode(141@, 142@, 143@)
Streaming.RequestCollision(137@, 138@)
Streaming.LoadAllModelsNow
139@ += 2.0
143@ = World.GetGroundZFor3DCoord(137@, 138@, 139@)
World.ClearArea(137@, 138@, 143@, 1.0, True)
Char.SetCoordinates($sweet_carX, 137@, 138@, 143@)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $sweet_carX)
72@ = 1
Streaming.LoadScene(141@, 142@, 143@)
Streaming.RemoveAnimation("MISC")
World.SetPedDensityMultiplier(1.0)
Blip.Remove(66@)
66@ = Blip.AddForCoord(783.2, -1630.3, 12.2)
Blip.SetAsFriendly(66@, True)
Hud.SwitchWidescreen(False)
Game.ShutAllCharsUp(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(1500, Fade.In)

:TWAR7_20984
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_21008
wait 0
goto @TWAR7_20984

:TWAR7_21008
gosub @TWAR7_24265
if 
  70@ == 1
goto_if_false @TWAR7_21040
goto @TWAR7_23165

:TWAR7_21040
68@ = 0
85@ = 0
67@ = 16
TIMERB = 0

:TWAR7_21068
if 
  67@ == 16
goto_if_false @TWAR7_21370
if 
  83@ == 0
goto_if_false @TWAR7_21150
if 
  85@ == 0
goto_if_false @TWAR7_21150
83@ = 9
84@ = 0
gosub @TWAR7_29790
85@ = 1

:TWAR7_21150
if 
  83@ == 0
goto_if_false @TWAR7_21209
if 
  85@ == 1
goto_if_false @TWAR7_21209
Text.PrintNow('SMK1_13', 8500, 1)
85@ = 2

:TWAR7_21209
if 
  68@ == 0
goto_if_false @TWAR7_21363
if 
  Char.IsGroupMember($sweet_carX, $flag_cell_nation)
goto_if_false @TWAR7_21363
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 783.2, -1630.3, 12.2, 4.0, 4.0, 4.0, True)
goto_if_false @TWAR7_21363
if 
  Char.LocateAnyMeans3D($sweet_carX, 783.2, -1630.3, 12.2, 4.0, 4.0, 4.0, False)
goto_if_false @TWAR7_21363
Player.SetControl($statbike_temp, False)
68@ = 0
67@ = 17

:TWAR7_21363
gosub @TWAR7_25201

:TWAR7_21370
if 
  67@ == 17
goto_if_false @TWAR7_21765
if 
  68@ == 0
goto_if_false @TWAR7_21629
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
83@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Game.ShutAllCharsUp(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.RemoveFromGroup($sweet_carX)
145@ = Sequence.Open()
Task.Pause(-1, 1500)
Task.LeaveAnyCar(-1)
Task.TurnCharToFaceChar(-1, $sweet_carX)
Sequence.Close(145@)
Char.PerformSequence($stattreadstamina_ctr, 145@)
Sequence.Clear(145@)
145@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 792.1, -1626.0, 12.4, MoveState.Walk, -2)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(145@)
Char.PerformSequence($sweet_carX, 145@)
Sequence.Clear(145@)
83@ = 10
84@ = 0
gosub @TWAR7_29790
Camera.SetFixedPosition(776.7145, -1637.248, 14.084, 0.0, 0.0, 0.0)
Camera.PointAtPoint(777.5906, -1636.769, 14.1398, SwitchType.JumpCut)
68@ = 1

:TWAR7_21629
if 
  68@ == 1
goto_if_false @TWAR7_21765
if 
  83@ == 0
goto_if_false @TWAR7_21765
Camera.DoFade(500, Fade.Out)

:TWAR7_21672
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_21696
wait 0
goto @TWAR7_21672

:TWAR7_21696
Char.Delete($sweet_carX)
Blip.Remove(66@)
Game.ShutAllCharsUp(False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(500, Fade.In)

:TWAR7_21734
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_21758
wait 0
goto @TWAR7_21734

:TWAR7_21758
goto @TWAR7_23183

:TWAR7_21765
if 
  67@ > 3
goto_if_false @TWAR7_21882
if 
  14 > 67@
goto_if_false @TWAR7_21882
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_21882
$chickY = Char.GetScriptTaskStatus(34@, 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @TWAR7_21882
Task.DriveBy(34@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, False, 100)

:TWAR7_21882
if 
  67@ > 3
goto_if_false @TWAR7_21995
if 
  15 > 67@
goto_if_false @TWAR7_21995
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_21995
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 34@, 250.0, 250.0, False)
goto_if_false @TWAR7_21995
if 
  not Char.IsOnScreen(34@)
goto_if_false @TWAR7_21995
68@ = 0
67@ = 20

:TWAR7_21995
if 
  67@ == 20
goto_if_false @TWAR7_22472
if 
  68@ == 0
goto_if_false @TWAR7_22273
if 
  not Char.IsDead($sweet_carX)
goto_if_false @TWAR7_22201
if 
  not Car.IsDead(36@)
goto_if_false @TWAR7_22201
if 
  Char.IsInCar($sweet_carX, 36@)
goto_if_false @TWAR7_22201
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
83@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Text.PrintNow('SMK1_12', 4000, 1)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TWAR7_22151
Player.ApplyBrakesToCar($statbike_temp, True)

:TWAR7_22151
Char.RemoveFromGroup($sweet_carX)
145@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.WanderStandard(-1)
Sequence.Close(145@)
Char.PerformSequence($sweet_carX, 145@)
Sequence.Clear(145@)
TIMERA = 0
68@ = 1

:TWAR7_22201
if 
  Car.IsDead(36@)
goto_if_false @TWAR7_22224
68@ = 2

:TWAR7_22224
if 
  Char.IsDead($sweet_carX)
goto_if_false @TWAR7_22247
68@ = 2

:TWAR7_22247
if 
  not Char.IsInCar($sweet_carX, 36@)
goto_if_false @TWAR7_22273
68@ = 2

:TWAR7_22273
if 
  68@ == 1
goto_if_false @TWAR7_22429
if 
  TIMERA > 3000
goto_if_false @TWAR7_22429
Camera.DoFade(500, Fade.Out)

:TWAR7_22317
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_22341
wait 0
goto @TWAR7_22317

:TWAR7_22341
Char.Delete($sweet_carX)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TWAR7_22369
Player.ApplyBrakesToCar($statbike_temp, False)

:TWAR7_22369
Blip.Remove(66@)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(500, Fade.In)

:TWAR7_22398
if 
  Camera.GetFadingStatus
goto_if_false @TWAR7_22422
wait 0
goto @TWAR7_22398

:TWAR7_22422
68@ = 2

:TWAR7_22429
if 
  68@ == 2
goto_if_false @TWAR7_22472
Text.ClearPrints
Text.PrintNow('SMK1_12', 4000, 1)
goto @TWAR7_23165

:TWAR7_22472
if 
  67@ == 3
goto_if_false @TWAR7_22528
if 
  not Streaming.HasCarRecordingBeenLoaded(30)
goto_if_false @TWAR7_22509
Streaming.RequestCarRecording(30)

:TWAR7_22509
if 
  not Streaming.HasCarRecordingBeenLoaded(31)
goto_if_false @TWAR7_22528
Streaming.RequestCarRecording(31)

:TWAR7_22528
if 
  67@ == 4
goto_if_false @TWAR7_22565
if 
  not Streaming.HasCarRecordingBeenLoaded(32)
goto_if_false @TWAR7_22565
Streaming.RequestCarRecording(32)

:TWAR7_22565
if 
  67@ == 5
goto_if_false @TWAR7_22602
if 
  not Streaming.HasCarRecordingBeenLoaded(33)
goto_if_false @TWAR7_22602
Streaming.RequestCarRecording(33)

:TWAR7_22602
if 
  67@ == 6
goto_if_false @TWAR7_22639
if 
  not Streaming.HasCarRecordingBeenLoaded(34)
goto_if_false @TWAR7_22639
Streaming.RequestCarRecording(34)

:TWAR7_22639
if 
  67@ == 7
goto_if_false @TWAR7_22871
if 
  not Streaming.HasCarRecordingBeenLoaded(35)
goto_if_false @TWAR7_22676
Streaming.RequestCarRecording(35)

:TWAR7_22676
if 
  not Streaming.HasCarRecordingBeenLoaded(50)
goto_if_false @TWAR7_22695
Streaming.RequestCarRecording(50)

:TWAR7_22695
if 
  not Streaming.HasCarRecordingBeenLoaded(51)
goto_if_false @TWAR7_22714
Streaming.RequestCarRecording(51)

:TWAR7_22714
if 
  not Streaming.HasCarRecordingBeenLoaded(52)
goto_if_false @TWAR7_22733
Streaming.RequestCarRecording(52)

:TWAR7_22733
if 
  not Streaming.HasCarRecordingBeenLoaded(53)
goto_if_false @TWAR7_22752
Streaming.RequestCarRecording(53)

:TWAR7_22752
if 
  not Streaming.HasCarRecordingBeenLoaded(54)
goto_if_false @TWAR7_22771
Streaming.RequestCarRecording(54)

:TWAR7_22771
if 
  not Streaming.HasCarRecordingBeenLoaded(55)
goto_if_false @TWAR7_22790
Streaming.RequestCarRecording(55)

:TWAR7_22790
if 
  not Streaming.HasCarRecordingBeenLoaded(56)
goto_if_false @TWAR7_22809
Streaming.RequestCarRecording(56)

:TWAR7_22809
if 
  not Streaming.HasCarRecordingBeenLoaded(57)
goto_if_false @TWAR7_22828
Streaming.RequestCarRecording(57)

:TWAR7_22828
if 
  not Streaming.HasCarRecordingBeenLoaded(58)
goto_if_false @TWAR7_22847
Streaming.RequestCarRecording(58)

:TWAR7_22847
if 
  not Streaming.HasCarRecordingBeenLoaded(35)
goto_if_false @TWAR7_22866
Streaming.RequestCarRecording(60)

:TWAR7_22866
Streaming.RequestModel(410)

:TWAR7_22871
if 
  67@ == 8
goto_if_false @TWAR7_22908
if 
  not Streaming.HasCarRecordingBeenLoaded(36)
goto_if_false @TWAR7_22908
Streaming.RequestCarRecording(36)

:TWAR7_22908
if 
  67@ == 9
goto_if_false @TWAR7_22950
Streaming.MarkModelAsNoLongerNeeded(410)
if 
  not Streaming.HasCarRecordingBeenLoaded(37)
goto_if_false @TWAR7_22950
Streaming.RequestCarRecording(37)

:TWAR7_22950
if 
  67@ == 10
goto_if_false @TWAR7_22987
if 
  not Streaming.HasCarRecordingBeenLoaded(38)
goto_if_false @TWAR7_22987
Streaming.RequestCarRecording(38)

:TWAR7_22987
if 
  67@ == 11
goto_if_false @TWAR7_23024
if 
  not Streaming.HasCarRecordingBeenLoaded(39)
goto_if_false @TWAR7_23024
Streaming.RequestCarRecording(39)

:TWAR7_23024
if 
  67@ == 12
goto_if_false @TWAR7_23065
if 
  not Streaming.HasCarRecordingBeenLoaded(40)
goto_if_false @TWAR7_23061
Streaming.RequestCarRecording(40)

:TWAR7_23061
Streaming.RequestModel(110)

:TWAR7_23065
if 
  67@ > 0
goto_if_false @TWAR7_23108
if 
  3 > 67@
goto_if_false @TWAR7_23108
gosub @TWAR7_24682

:TWAR7_23108
if 
  67@ > 3
goto_if_false @TWAR7_23151
if 
  14 > 67@
goto_if_false @TWAR7_23151
gosub @TWAR7_24891

:TWAR7_23151
gosub @TWAR7_27399
goto @TWAR7_1306

:TWAR7_23165
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:TWAR7_23183
Text.ClearPrints
Text.PrintWithNumberBig('M_PASSR', 5, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(5)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('SMOKE_1')
Stat.PlayerMadeProgress(1)
$flag_la1fin1_mission_counter += 1
start_new_script @STRAP 
Blip.Remove($intro_blip_icon)
$intro_blip_icon = Blip.AddSpriteForContactPoint($strap2Y, $strap2Z, $crashX, $spray_shop2)
return 

:TWAR7_23270
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @TWAR7_23288
Camera.RestoreJumpcut

:TWAR7_23288
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TWAR7_23311
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:TWAR7_23311
Game.ShutAllCharsUp(False)
Blip.Remove(66@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Streaming.MarkModelAsNoLongerNeeded(410)
Streaming.MarkModelAsNoLongerNeeded(461)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(466)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.RemoveAnimation("CAR_CHAT")
Streaming.RemoveAnimation("CRIB")
Streaming.RemoveAnimation("MISC")
Streaming.RemoveAnimation("RAPPING")
Path.SwitchRoadsBackToOriginal(2563.7, -1435.0, 10.0, 2580.3, -1266.4, 100.6)
Path.SwitchRoadsBackToOriginal(2635.0, -1434.4, 10.0, 2652.0, -1263.6, 100.0)
Path.SwitchRoadsBackToOriginal(2714.9, -1501.6, 10.0, 2746.1, -1266.4, 100.0)
Path.SwitchRoadsBackToOriginal(2713.9, -1499.3, 10.0, 2746.6, -1266.3, 100.0)
Path.SwitchRoadsBackToOriginal(2714.6, -1249.9, 10.0, 2744.7, -1332.9, 100.0)
Path.SwitchRoadsBackToOriginal(2634.6, -1396.6, 10.0, 2651.0, -1264.2, 100.0)
Path.SwitchRoadsBackToOriginal(2635.1, -1248.0, 10.0, 2651.0, -1055.3, 100.0)
Path.SwitchRoadsBackToOriginal(2651.5, -1263.8, 10.0, 2579.5, -1248.7, 100.0)
Path.SwitchRoadsBackToOriginal(2563.7, -1248.6, 10.0, 2578.9, -1192.2, 100.6)
Path.SwitchRoadsBackToOriginal(2443.7, -1249.2, 10.0, 2459.1, -1191.9, 100.0)
Path.SwitchRoadsBackToOriginal(2363.5, -1253.4, 10.0, 2378.7, -1145.5, 100.0)
Path.SwitchRoadsBackToOriginal(2311.2, -1144.7, 10.0, 2379.1, -1162.1, 100.0)
Path.SwitchRoadsBackToOriginal(2239.9, -1130.0, 10.0, 2017.6, -928.3, 100.0)
Path.SwitchRoadsBackToOriginal(1930.6, -1031.9, 10.0, 1574.4, -879.9, 100.0)
Path.SwitchRoadsBackToOriginal(1879.6, -1024.3, 10.0, 1552.0, -1521.7, 100.0)
Path.SwitchRoadsBackToOriginal(1725.8, -1433.3, 10.0, 1838.0, -1459.4, 100.0)
Path.SwitchRoadsBackToOriginal(1838.4, -1453.6, 10.0, 1853.7, -1303.4, 100.0)
Path.SwitchRoadsBackToOriginal(1979.3, -1468.7, 10.0, 1853.5, -1452.5, 100.0)
Path.SwitchRoadsBackToOriginal(2334.0, -1556.1, 10.0, 2350.5, -1489.7, 100.0)
Path.SwitchRoadsBackToOriginal(2350.1, -1516.0, 10.0, 2423.9, -1532.5, 100.0)
Path.SwitchRoadsBackToOriginal(2379.8, -1373.3, 10.0, 2423.7, -1452.6, 100.0)
Path.SwitchRoadsBackToOriginal(2363.5, -1291.7, 10.0, 2379.5, -1181.2, 100.0)
Path.SwitchRoadsBackToOriginal(2295.9, -1291.5, 10.0, 2311.5, -1162.3, 100.0)
Path.SwitchRoadsBackToOriginal(2333.9, -1392.1, 10.0, 2220.2, -1377.1, 100.0)
Path.SwitchRoadsBackToOriginal(2334.6, -1493.6, 10.0, 2219.8, -1475.2, 100.0)
World.SwitchEntryExit('LAHS1A', True)
Game.SwitchRandomTrains(True)
Char.RemoveElegantly($mc_strap)
Char.RemoveElegantly($big_smoke_car)
Char.RemoveElegantly($sweet_carX)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Game.EnableAmbientCrime(True)
Sequence.Clear(147@)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:TWAR7_24265
if 
  4 > 67@
goto_if_false @TWAR7_24406
if 
  Char.IsDead($mc_strap)
goto_if_false @TWAR7_24324
Text.ClearPrints
Text.PrintNow('SMK1_06', 7000, 1)
70@ = 1

:TWAR7_24324
if 
  Char.IsDead($big_smoke_car)
goto_if_false @TWAR7_24365
Text.ClearPrints
Text.PrintNow('SMK1_07', 7000, 1)
70@ = 1

:TWAR7_24365
if 
  Car.IsDead(37@)
goto_if_false @TWAR7_24406
Text.ClearPrints
Text.PrintNow('SMK1_08', 7000, 1)
70@ = 1

:TWAR7_24406
if 
  67@ == 1
goto_if_false @TWAR7_24467
if 
  68@ == 1
goto_if_false @TWAR7_24467
if 
  70@ == 1
goto_if_false @TWAR7_24467
70@ = 0

:TWAR7_24467
if 
  67@ == 1
goto_if_false @TWAR7_24544
if 
  68@ == 2
goto_if_false @TWAR7_24544
if 
  Char.IsDead($sweet_carX)
goto_if_false @TWAR7_24544
Text.ClearPrints
Text.PrintNow('SMK1_05', 7000, 1)
70@ = 1

:TWAR7_24544
if 
  67@ > 1
goto_if_false @TWAR7_24603
if 
  Char.IsDead($sweet_carX)
goto_if_false @TWAR7_24603
Text.ClearPrints
Text.PrintNow('SMK1_05', 7000, 1)
70@ = 1

:TWAR7_24603
if 
  67@ > 3
goto_if_false @TWAR7_24680
if 
  15 > 67@
goto_if_false @TWAR7_24680
if 
  Car.IsDead(36@)
goto_if_false @TWAR7_24680
Text.ClearPrints
Text.PrintNow('SMK1_14', 7000, 1)
70@ = 1

:TWAR7_24680
return 

:TWAR7_24682
if 
  71@ == 0
goto_if_false @TWAR7_24825
if 
  Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_24825
Text.ClearThisPrint('SMK1_01')
Blip.Remove(66@)
if 
  67@ == 1
goto_if_false @TWAR7_24818
if 
  68@ == 0
goto_if_false @TWAR7_24798
66@ = Blip.AddForCoord(1532.8, -1672.9, 12.4)
goto @TWAR7_24818

:TWAR7_24798
66@ = Blip.AddForCoord(2454.4, -1284.5, 22.7)

:TWAR7_24818
71@ = 1

:TWAR7_24825
if 
  71@ == 1
goto_if_false @TWAR7_24889
if 
  not Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_24889
Blip.Remove(66@)
66@ = Blip.AddForCar(37@)
Blip.SetAsFriendly(66@, True)
71@ = 0

:TWAR7_24889
return 

:TWAR7_24891
if 
  72@ == 1
goto_if_false @TWAR7_25199
if 
  67@ > 3
goto_if_false @TWAR7_25199
if 
  14 > 67@
goto_if_false @TWAR7_25199
if 
  71@ == 0
goto_if_false @TWAR7_25072
if 
  not Car.IsDead(36@)
goto_if_false @TWAR7_25072
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TWAR7_25072
Text.ClearThisPrint(86@(84@,13s))
Text.ClearThisPrint('SMK1_11')
Text.ClearThisPrint('SMK1_04')
Text.PrintNow('SMK1_04', 7000, 1)
Blip.Remove(66@)
66@ = Blip.AddForChar(34@)
Blip.SetAsFriendly(66@, False)
71@ = 1

:TWAR7_25072
if 
  71@ == 1
goto_if_false @TWAR7_25199
if 
  not Car.IsDead(36@)
goto_if_false @TWAR7_25199
if 
  not Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TWAR7_25199
Text.ClearThisPrint(86@(84@,13s))
Text.ClearThisPrint('SMK1_11')
Text.ClearThisPrint('SMK1_04')
Text.PrintNow('SMK1_11', 7000, 1)
Blip.Remove(66@)
66@ = Blip.AddForCar(36@)
Blip.SetAsFriendly(66@, True)
71@ = 0

:TWAR7_25199
return 

:TWAR7_25201
if 
  72@ == 1
goto_if_false @TWAR7_25265
if 
  not Char.IsGroupMember($sweet_carX, $flag_cell_nation)
goto_if_false @TWAR7_25265
Blip.Remove(66@)
66@ = Blip.AddForChar($sweet_carX)
Blip.SetAsFriendly(66@, True)
72@ = 0

:TWAR7_25265
if 
  72@ == 0
goto_if_false @TWAR7_25461
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $sweet_carX, 8.0, 8.0, 8.0, False)
goto_if_false @TWAR7_25461
if 
  not Char.IsGroupMember($sweet_carX, $flag_cell_nation)
goto_if_false @TWAR7_25350
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $sweet_carX)

:TWAR7_25350
if 
  16 > 67@
goto_if_false @TWAR7_25429
Blip.Remove(66@)
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TWAR7_25407
66@ = Blip.AddForChar(34@)
goto @TWAR7_25422

:TWAR7_25407
66@ = Blip.AddForCar(36@)
Blip.SetAsFriendly(66@, True)

:TWAR7_25422
goto @TWAR7_25454

:TWAR7_25429
Blip.Remove(66@)
66@ = Blip.AddForCoord(783.2, -1630.3, 12.2)

:TWAR7_25454
72@ = 1

:TWAR7_25461
return 

:TWAR7_25463
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_26129
if 
  not Car.IsDead(35@)
goto_if_false @TWAR7_26122
if 
  Char.IsInCar(34@, 35@)
goto_if_false @TWAR7_26085
if 
  80@ == 0
goto_if_false @TWAR7_25574
if or
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Car.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
goto_if_false @TWAR7_25574
Car.SetHealth(35@, 350)
80@ = 1

:TWAR7_25574
133@, 134@, 137@ = Char.GetCoordinates($stattreadstamina_ctr)
135@, 136@, 137@ = Car.GetCoordinates(35@)
137@ = Math.GetDistanceBetweenCoords2D(133@, 134@, 135@, 136@)
if 
  21.0 > 137@
goto_if_false @TWAR7_25683
137@ /= 20.0
set_lvar_float_to_lvar_float 138@ = 137@
137@ = 2.0
sub_float_lvar_from_float_lvar 137@ -= 138@
goto @TWAR7_25729

:TWAR7_25683
137@ -= 20.0
137@ /= 90.0
set_lvar_float_to_lvar_float 138@ = 137@
137@ = 1.0
sub_float_lvar_from_float_lvar 137@ -= 138@

:TWAR7_25729
set_lvar_float_to_lvar_float 140@ = 137@
if 
  140@ > 2.0
goto_if_false @TWAR7_25768
140@ = 2.0

:TWAR7_25768
if 
  0.5 > 140@
goto_if_false @TWAR7_25799
140@ = 0.5

:TWAR7_25799
if 
  Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_25823
Car.SetPlaybackSpeed(35@, 140@)

:TWAR7_25823
if 
  67@ == 8
goto_if_false @TWAR7_26051
if 
  10 > 79@
goto_if_false @TWAR7_26044
if 
  not Car.IsDead(42@(79@,10i))
goto_if_false @TWAR7_26030
if 
  not Char.IsDead(52@(79@,10i))
goto_if_false @TWAR7_26001
if 
  Char.IsInCar(52@(79@,10i), 42@(79@,10i))
goto_if_false @TWAR7_25965
if 
  Car.IsPlaybackGoingOn(42@(79@,10i))
goto_if_false @TWAR7_25958
Car.SetPlaybackSpeed(42@(79@,10i), 140@)

:TWAR7_25958
goto @TWAR7_25994

:TWAR7_25965
if 
  Car.IsPlaybackGoingOn(42@(79@,10i))
goto_if_false @TWAR7_25994
Car.StopPlayback(42@(79@,10i))

:TWAR7_25994
goto @TWAR7_26030

:TWAR7_26001
if 
  Car.IsPlaybackGoingOn(42@(79@,10i))
goto_if_false @TWAR7_26030
Car.StopPlayback(42@(79@,10i))

:TWAR7_26030
79@ += 1
goto @TWAR7_26051

:TWAR7_26044
79@ = 0

:TWAR7_26051
if 
  not Char.IsInCar(34@, 35@)
goto_if_false @TWAR7_26078
Char.WarpIntoCar(34@, 35@)

:TWAR7_26078
goto @TWAR7_26122

:TWAR7_26085
if 
  not Car.IsDead(35@)
goto_if_false @TWAR7_26122
if 
  Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_26122
Car.StopPlayback(35@)

:TWAR7_26122
goto @TWAR7_26166

:TWAR7_26129
if 
  not Car.IsDead(35@)
goto_if_false @TWAR7_26166
if 
  Car.IsPlaybackGoingOn(35@)
goto_if_false @TWAR7_26166
Car.StopPlayback(35@)

:TWAR7_26166
return 

:TWAR7_26168
77@ = Math.RandomIntInRange(1, 37)
if 
  77@ == 1
goto_if_false @TWAR7_26210
Car.CustomPlateForNextCar(78@, "GOT_M00_")

:TWAR7_26210
if 
  77@ == 2
goto_if_false @TWAR7_26243
Car.CustomPlateForNextCar(78@, "M00TV_4U")

:TWAR7_26243
if 
  77@ == 3
goto_if_false @TWAR7_26276
Car.CustomPlateForNextCar(78@, "MATHEW_2")

:TWAR7_26276
if 
  77@ == 4
goto_if_false @TWAR7_26309
Car.CustomPlateForNextCar(78@, "D4_DEW0R")

:TWAR7_26309
if 
  77@ == 5
goto_if_false @TWAR7_26342
Car.CustomPlateForNextCar(78@, "D0DE_777")

:TWAR7_26342
if 
  77@ == 6
goto_if_false @TWAR7_26375
Car.CustomPlateForNextCar(78@, "DAM0_666")

:TWAR7_26375
if 
  77@ == 7
goto_if_false @TWAR7_26408
Car.CustomPlateForNextCar(78@, "C0NEY_88")

:TWAR7_26408
if 
  77@ == 8
goto_if_false @TWAR7_26441
Car.CustomPlateForNextCar(78@, "PRE4CHER")

:TWAR7_26441
if 
  77@ == 9
goto_if_false @TWAR7_26474
Car.CustomPlateForNextCar(78@, "DBP_4NDY")

:TWAR7_26474
if 
  77@ == 10
goto_if_false @TWAR7_26507
Car.CustomPlateForNextCar(78@, "EV1L_SLY")

:TWAR7_26507
if 
  77@ == 11
goto_if_false @TWAR7_26540
Car.CustomPlateForNextCar(78@, "N1_R4V3N")

:TWAR7_26540
if 
  77@ == 12
goto_if_false @TWAR7_26573
Car.CustomPlateForNextCar(78@, "D1VX_Z00")

:TWAR7_26573
if 
  77@ == 13
goto_if_false @TWAR7_26605
Car.CustomPlateForNextCar(78@, "MR_B3NN")

:TWAR7_26605
if 
  77@ == 14
goto_if_false @TWAR7_26638
Car.CustomPlateForNextCar(78@, "R3D_R4SP")

:TWAR7_26638
if 
  77@ == 15
goto_if_false @TWAR7_26671
Car.CustomPlateForNextCar(78@, "LA_B0MBA")

:TWAR7_26671
if 
  77@ == 16
goto_if_false @TWAR7_26704
Car.CustomPlateForNextCar(78@, "L3337_0G")

:TWAR7_26704
if 
  77@ == 17
goto_if_false @TWAR7_26737
Car.CustomPlateForNextCar(78@, "BUDD4H_X")

:TWAR7_26737
if 
  77@ == 18
goto_if_false @TWAR7_26770
Car.CustomPlateForNextCar(78@, "T3H_BUCK")

:TWAR7_26770
if 
  77@ == 19
goto_if_false @TWAR7_26803
Car.CustomPlateForNextCar(78@, "CHUNKY_1")

:TWAR7_26803
if 
  77@ == 20
goto_if_false @TWAR7_26836
Car.CustomPlateForNextCar(78@, "EV1L_BNZ")

:TWAR7_26836
if 
  77@ == 21
goto_if_false @TWAR7_26869
Car.CustomPlateForNextCar(78@, "S4ND_M4N")

:TWAR7_26869
if 
  77@ == 22
goto_if_false @TWAR7_26902
Car.CustomPlateForNextCar(78@, "RKK_DBP1")

:TWAR7_26902
if 
  77@ == 23
goto_if_false @TWAR7_26935
Car.CustomPlateForNextCar(78@, "RE1_K0KU")

:TWAR7_26935
if 
  77@ == 24
goto_if_false @TWAR7_26968
Car.CustomPlateForNextCar(78@, "S3XY_JUD")

:TWAR7_26968
if 
  77@ == 25
goto_if_false @TWAR7_27001
Car.CustomPlateForNextCar(78@, "SUNRA_93")

:TWAR7_27001
if 
  77@ == 26
goto_if_false @TWAR7_27034
Car.CustomPlateForNextCar(78@, "UG_FUX69")

:TWAR7_27034
if 
  77@ == 27
goto_if_false @TWAR7_27067
Car.CustomPlateForNextCar(78@, "LI0N_CUM")

:TWAR7_27067
if 
  77@ == 28
goto_if_false @TWAR7_27100
Car.CustomPlateForNextCar(78@, "RKK_PWND")

:TWAR7_27100
if 
  77@ == 29
goto_if_false @TWAR7_27133
Car.CustomPlateForNextCar(78@, "HAZE_B0B")

:TWAR7_27133
if 
  77@ == 30
goto_if_false @TWAR7_27166
Car.CustomPlateForNextCar(78@, "T3H_FLUF")

:TWAR7_27166
if 
  77@ == 31
goto_if_false @TWAR7_27199
Car.CustomPlateForNextCar(78@, "BM_4NDY_")

:TWAR7_27199
if 
  77@ == 32
goto_if_false @TWAR7_27232
Car.CustomPlateForNextCar(78@, "BM_D34N_")

:TWAR7_27232
if 
  77@ == 33
goto_if_false @TWAR7_27265
Car.CustomPlateForNextCar(78@, "BM_L4C3Y")

:TWAR7_27265
if 
  77@ == 34
goto_if_false @TWAR7_27298
Car.CustomPlateForNextCar(78@, "BM_D3V__")

:TWAR7_27298
if 
  77@ == 35
goto_if_false @TWAR7_27331
Car.CustomPlateForNextCar(78@, "NU_SK00L")

:TWAR7_27331
if 
  77@ == 36
goto_if_false @TWAR7_27364
Car.CustomPlateForNextCar(78@, "G4L_AVET")

:TWAR7_27364
if 
  77@ == 37
goto_if_false @TWAR7_27397
Car.CustomPlateForNextCar(78@, "M0J0_J0J")

:TWAR7_27397
return 

:TWAR7_27399
if 
  67@ == 1
goto_if_false @TWAR7_28418
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_27688
if or
  83@ == 1
  83@ == 2
goto_if_false @TWAR7_27688
if 
  is_int_lvar_greater_than_int_lvar 125@ > 84@
goto_if_false @TWAR7_27681
gosub @TWAR7_32112
gosub @TWAR7_32219
if 
  68@ == 0
goto_if_false @TWAR7_27578
if or
  not Char.IsDead($mc_strap)
  not Char.IsDead($big_smoke_car)
goto_if_false @TWAR7_27547
gosub @TWAR7_32373
goto @TWAR7_27578

:TWAR7_27547
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
126@ = 0
127@ = 0

:TWAR7_27578
if or
  68@ == 1
  68@ == 2
goto_if_false @TWAR7_27674
if or
  not Char.IsDead($mc_strap)
  not Char.IsDead($big_smoke_car)
  not Char.IsDead($sweet_carX)
goto_if_false @TWAR7_27643
gosub @TWAR7_32373
goto @TWAR7_27674

:TWAR7_27643
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
126@ = 0
127@ = 0

:TWAR7_27674
goto @TWAR7_27688

:TWAR7_27681
83@ = 0

:TWAR7_27688
if 
  not Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_27824
if 
  11 > 83@
goto_if_false @TWAR7_27824
if 
  is_int_lvar_greater_than_int_lvar 125@ > 84@
goto_if_false @TWAR7_27751
84@ += 1

:TWAR7_27751
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Text.ClearThisPrint(86@(84@,13s))
set_lvar_int_to_lvar_int 132@ = 83@
set_lvar_int_to_lvar_int 131@ = 84@
83@ = 11
84@ = Math.RandomIntInRange(0, 5)
set_lvar_int_to_lvar_int 130@ = 84@
130@ += 1
gosub @TWAR7_29790

:TWAR7_27824
if 
  83@ == 11
goto_if_false @TWAR7_28149
if 
  not Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_28097
if 
  is_int_lvar_greater_than_int_lvar 125@ > 84@
goto_if_false @TWAR7_28074
gosub @TWAR7_32112
gosub @TWAR7_32219
if 
  68@ == 0
goto_if_false @TWAR7_27978
if or
  not Char.IsDead($mc_strap)
  not Char.IsDead($big_smoke_car)
goto_if_false @TWAR7_27947
gosub @TWAR7_32373
goto @TWAR7_27978

:TWAR7_27947
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
126@ = 0
127@ = 0

:TWAR7_27978
if 
  68@ == 1
goto_if_false @TWAR7_28067
if or
  not Char.IsDead($mc_strap)
  not Char.IsDead($big_smoke_car)
  not Char.IsDead($sweet_carX)
goto_if_false @TWAR7_28036
gosub @TWAR7_32373
goto @TWAR7_28067

:TWAR7_28036
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
126@ = 0
127@ = 0

:TWAR7_28067
goto @TWAR7_28097

:TWAR7_28074
Text.PrintNow('SMK1_01', 11000, 1)
83@ = 12

:TWAR7_28097
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_28149
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
83@ = 13
84@ = 0
Text.ClearPrints

:TWAR7_28149
if 
  83@ == 12
goto_if_false @TWAR7_28202
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_28202
83@ = 13
84@ = 0
Text.ClearPrints

:TWAR7_28202
if 
  83@ == 13
goto_if_false @TWAR7_28418
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_28344
TIMERB = 0
set_lvar_int_to_lvar_int 83@ = 132@
set_lvar_int_to_lvar_int 84@ = 131@
gosub @TWAR7_29790
if 
  132@ == 0
goto_if_false @TWAR7_28344
if 
  68@ == 0
goto_if_false @TWAR7_28328
Text.PrintNow('SMK1_02', 7000, 1)
goto @TWAR7_28344

:TWAR7_28328
Text.PrintNow('SMK1_10', 7000, 1)

:TWAR7_28344
if 
  not Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @TWAR7_28418
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
83@ = 11
84@ = Math.RandomIntInRange(0, 5)
set_lvar_int_to_lvar_int 130@ = 84@
130@ += 1
gosub @TWAR7_29790

:TWAR7_28418
if or
  83@ == 3
  83@ == 4
  83@ == 5
  83@ == 8
  83@ == 10
goto_if_false @TWAR7_28518
if 
  is_int_lvar_greater_than_int_lvar 125@ > 84@
goto_if_false @TWAR7_28511
gosub @TWAR7_32112
gosub @TWAR7_32219
gosub @TWAR7_32373
goto @TWAR7_28518

:TWAR7_28511
83@ = 0

:TWAR7_28518
if 
  67@ > 3
goto_if_false @TWAR7_29524
if or
  14 > 67@
  67@ == 16
goto_if_false @TWAR7_29524
if 
  Char.IsGroupMember($sweet_carX, $flag_cell_nation)
goto_if_false @TWAR7_28917
if 
  Char.LocateAnyMeansChar3D($sweet_carX, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @TWAR7_28910
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsOnFoot($sweet_carX)
goto_if_false @TWAR7_28763
if 
  83@ == 9
goto_if_false @TWAR7_28763
if 
  is_int_lvar_greater_than_int_lvar 125@ > 84@
goto_if_false @TWAR7_28756
gosub @TWAR7_32112
gosub @TWAR7_32219
if 
  not Char.IsDead($sweet_carX)
goto_if_false @TWAR7_28718
gosub @TWAR7_32373
goto @TWAR7_28749

:TWAR7_28718
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
126@ = 0
127@ = 0

:TWAR7_28749
goto @TWAR7_28763

:TWAR7_28756
83@ = 0

:TWAR7_28763
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar($sweet_carX)
goto_if_false @TWAR7_28910
if 
  83@ == 9
goto_if_false @TWAR7_28910
if 
  is_int_lvar_greater_than_int_lvar 125@ > 84@
goto_if_false @TWAR7_28903
gosub @TWAR7_32112
gosub @TWAR7_32219
if 
  not Char.IsDead($sweet_carX)
goto_if_false @TWAR7_28865
gosub @TWAR7_32373
goto @TWAR7_28896

:TWAR7_28865
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
126@ = 0
127@ = 0

:TWAR7_28896
goto @TWAR7_28910

:TWAR7_28903
83@ = 0

:TWAR7_28910
goto @TWAR7_29034

:TWAR7_28917
if 
  14 > 83@
goto_if_false @TWAR7_29034
if 
  is_int_lvar_greater_than_int_lvar 125@ > 84@
goto_if_false @TWAR7_28961
84@ += 1

:TWAR7_28961
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
Text.ClearPrints
set_lvar_int_to_lvar_int 132@ = 83@
set_lvar_int_to_lvar_int 131@ = 84@
83@ = 14
84@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 130@ = 84@
130@ += 1
gosub @TWAR7_29790

:TWAR7_29034
if 
  83@ == 14
goto_if_false @TWAR7_29225
if 
  not Char.IsGroupMember($sweet_carX, $flag_cell_nation)
goto_if_false @TWAR7_29202
if 
  is_int_lvar_greater_than_int_lvar 125@ > 84@
goto_if_false @TWAR7_29172
gosub @TWAR7_32112
gosub @TWAR7_32219
if 
  not Char.IsDead($sweet_carX)
goto_if_false @TWAR7_29134
gosub @TWAR7_32373
goto @TWAR7_29165

:TWAR7_29134
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
126@ = 0
127@ = 0

:TWAR7_29165
goto @TWAR7_29195

:TWAR7_29172
Text.PrintNow('SMK1_09', 7000, 1)
83@ = 15

:TWAR7_29195
goto @TWAR7_29225

:TWAR7_29202
Text.PrintNow('SMK1_09', 7000, 1)
83@ = 15

:TWAR7_29225
if 
  83@ == 15
goto_if_false @TWAR7_29278
if 
  Char.IsGroupMember($sweet_carX, $flag_cell_nation)
goto_if_false @TWAR7_29278
83@ = 16
84@ = 0
Text.ClearPrints

:TWAR7_29278
if 
  83@ == 16
goto_if_false @TWAR7_29524
if 
  Char.IsGroupMember($sweet_carX, $flag_cell_nation)
goto_if_false @TWAR7_29469
TIMERB = 0
set_lvar_int_to_lvar_int 83@ = 132@
set_lvar_int_to_lvar_int 84@ = 131@
gosub @TWAR7_29790
if 
  132@ == 0
goto_if_false @TWAR7_29462
if 
  14 > 67@
goto_if_false @TWAR7_29446
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TWAR7_29423
Text.PrintNow('SMK1_04', 7000, 1)
goto @TWAR7_29439

:TWAR7_29423
Text.PrintNow('SMK1_11', 7000, 1)

:TWAR7_29439
goto @TWAR7_29462

:TWAR7_29446
Text.PrintNow('SMK1_13', 8500, 1)

:TWAR7_29462
goto @TWAR7_29524

:TWAR7_29469
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
83@ = 14
84@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 130@ = 84@
130@ += 1
gosub @TWAR7_29790

:TWAR7_29524
if or
  83@ == 6
  83@ == 7
goto_if_false @TWAR7_29657
if 
  is_int_lvar_greater_than_int_lvar 125@ > 84@
goto_if_false @TWAR7_29650
gosub @TWAR7_32112
gosub @TWAR7_32219
if 
  not Char.IsDead(34@)
goto_if_false @TWAR7_29612
gosub @TWAR7_32373
goto @TWAR7_29643

:TWAR7_29612
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
126@ = 0
127@ = 0

:TWAR7_29643
goto @TWAR7_29657

:TWAR7_29650
83@ = 0

:TWAR7_29657
if 
  83@ == 17
goto_if_false @TWAR7_29788
if 
  is_int_lvar_greater_than_int_lvar 125@ > 84@
goto_if_false @TWAR7_29781
gosub @TWAR7_32112
gosub @TWAR7_32219
if and
  not Char.IsDead(34@)
  not Char.IsDead($sweet_carX)
goto_if_false @TWAR7_29743
gosub @TWAR7_32373
goto @TWAR7_29774

:TWAR7_29743
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(86@(84@,13s))
126@ = 0
127@ = 0

:TWAR7_29774
goto @TWAR7_29788

:TWAR7_29781
83@ = 0

:TWAR7_29788
return 

:TWAR7_29790
if 
  83@ == 1
goto_if_false @TWAR7_30007
set_lvar_text_label 86@s = 'SMO1_AA'
set_lvar_text_label 88@s = 'SMO1_AC'
set_lvar_text_label 90@s = 'SMO1_AD'
set_lvar_text_label 92@s = 'SMO1_AE'
set_lvar_text_label 94@s = 'SMO1_AF'
set_lvar_text_label 96@s = 'SMO1_AG'
set_lvar_text_label 98@s = 'SMO1_AH'
set_lvar_text_label 100@s = 'SMO1_AJ'
set_lvar_int_to_constant 112@ = 35000
set_lvar_int_to_constant 113@ = 35001
set_lvar_int_to_constant 114@ = 35002
set_lvar_int_to_constant 115@ = 35003
set_lvar_int_to_constant 116@ = 35004
set_lvar_int_to_constant 117@ = 35005
set_lvar_int_to_constant 118@ = 35006
set_lvar_int_to_constant 119@ = 35007
125@ = 8

:TWAR7_30007
if 
  83@ == 2
goto_if_false @TWAR7_30200
set_lvar_text_label 86@s = 'SMO1_BA'
set_lvar_text_label 88@s = 'SMO1_BB'
set_lvar_text_label 90@s = 'SMO1_BC'
set_lvar_text_label 92@s = 'SMO1_BD'
set_lvar_text_label 94@s = 'SMO1_BE'
set_lvar_text_label 96@s = 'SMO1_BF'
set_lvar_text_label 98@s = 'SMO1_BG'
set_lvar_int_to_constant 112@ = 35008
set_lvar_int_to_constant 113@ = 35009
set_lvar_int_to_constant 114@ = 35010
set_lvar_int_to_constant 115@ = 35011
set_lvar_int_to_constant 116@ = 35012
set_lvar_int_to_constant 117@ = 35013
set_lvar_int_to_constant 118@ = 35014
125@ = 7

:TWAR7_30200
if 
  83@ == 3
goto_if_false @TWAR7_30393
set_lvar_text_label 86@s = 'SMO1_CA'
set_lvar_text_label 88@s = 'SMO1_CB'
set_lvar_text_label 90@s = 'SMO1_CC'
set_lvar_text_label 92@s = 'SMO1_CD'
set_lvar_text_label 94@s = 'SMO1_CE'
set_lvar_text_label 96@s = 'SMO1_CF'
set_lvar_text_label 98@s = 'SMO1_CG'
set_lvar_int_to_constant 112@ = 35015
set_lvar_int_to_constant 113@ = 35016
set_lvar_int_to_constant 114@ = 35017
set_lvar_int_to_constant 115@ = 35018
set_lvar_int_to_constant 116@ = 35019
set_lvar_int_to_constant 117@ = 35020
set_lvar_int_to_constant 118@ = 35021
125@ = 7

:TWAR7_30393
if 
  83@ == 4
goto_if_false @TWAR7_30659
set_lvar_text_label 86@s = 'SMO1_CH'
set_lvar_text_label 88@s = 'SMO1_DB'
set_lvar_text_label 90@s = 'SMO1_CJ'
set_lvar_text_label 92@s = 'SMO1_CK'
set_lvar_text_label 94@s = 'SMO1_CL'
set_lvar_text_label 96@s = 'SMO1_CM'
set_lvar_text_label 98@s = 'SMO1_CN'
set_lvar_text_label 100@s = 'SMO1_CO'
set_lvar_text_label 102@s = 'SMO1_CP'
set_lvar_text_label 104@s = 'SMO1_DA'
set_lvar_int_to_constant 112@ = 35022
set_lvar_int_to_constant 113@ = 35031
set_lvar_int_to_constant 114@ = 35023
set_lvar_int_to_constant 115@ = 35024
set_lvar_int_to_constant 116@ = 35025
set_lvar_int_to_constant 117@ = 35026
set_lvar_int_to_constant 118@ = 35027
set_lvar_int_to_constant 119@ = 35028
set_lvar_int_to_constant 120@ = 35029
set_lvar_int_to_constant 121@ = 35030
set_lvar_int_to_lvar_int 125@ = 130@

:TWAR7_30659
if 
  83@ == 5
goto_if_false @TWAR7_30732
set_lvar_text_label 86@s = 'SMO1_EA'
set_lvar_text_label 88@s = 'SMO1_EB'
set_lvar_int_to_constant 112@ = 35033
set_lvar_int_to_constant 113@ = 35034
125@ = 2

:TWAR7_30732
if 
  83@ == 6
goto_if_false @TWAR7_30998
set_lvar_text_label 86@s = 'SMO1_FA'
set_lvar_text_label 88@s = 'SMO1_FB'
set_lvar_text_label 90@s = 'SMO1_FC'
set_lvar_text_label 92@s = 'SMO1_FD'
set_lvar_text_label 94@s = 'SMO1_FE'
set_lvar_text_label 96@s = 'SMO1_FF'
set_lvar_text_label 98@s = 'SMO1_FG'
set_lvar_text_label 100@s = 'SMO1_FH'
set_lvar_text_label 102@s = 'SMO1_FJ'
set_lvar_text_label 104@s = 'SMO1_FK'
set_lvar_int_to_constant 112@ = 35035
set_lvar_int_to_constant 113@ = 35036
set_lvar_int_to_constant 114@ = 35037
set_lvar_int_to_constant 115@ = 35038
set_lvar_int_to_constant 116@ = 35039
set_lvar_int_to_constant 117@ = 35040
set_lvar_int_to_constant 118@ = 35041
set_lvar_int_to_constant 119@ = 35042
set_lvar_int_to_constant 120@ = 35043
set_lvar_int_to_constant 121@ = 35044
set_lvar_int_to_lvar_int 125@ = 130@

:TWAR7_30998
if 
  83@ == 7
goto_if_false @TWAR7_31071
set_lvar_text_label 86@s = 'SMO1_GA'
set_lvar_text_label 88@s = 'SMO1_GB'
set_lvar_int_to_constant 112@ = 35047
set_lvar_int_to_constant 113@ = 35048
125@ = 2

:TWAR7_31071
if 
  83@ == 8
goto_if_false @TWAR7_31288
set_lvar_text_label 86@s = 'SMO1_HA'
set_lvar_text_label 88@s = 'SMO1_HB'
set_lvar_text_label 90@s = 'SMO1_HC'
set_lvar_text_label 92@s = 'SMO1_HD'
set_lvar_text_label 94@s = 'SMO1_HE'
set_lvar_text_label 96@s = 'SMO1_HF'
set_lvar_text_label 98@s = 'SMO1_HG'
set_lvar_text_label 100@s = 'SMO1_HH'
set_lvar_int_to_constant 112@ = 35053
set_lvar_int_to_constant 113@ = 35054
set_lvar_int_to_constant 114@ = 35055
set_lvar_int_to_constant 115@ = 35056
set_lvar_int_to_constant 116@ = 35057
set_lvar_int_to_constant 117@ = 35058
set_lvar_int_to_constant 118@ = 35059
set_lvar_int_to_constant 119@ = 35060
125@ = 8

:TWAR7_31288
if 
  83@ == 9
goto_if_false @TWAR7_31553
set_lvar_text_label 86@s = 'SMO1_JA'
set_lvar_text_label 88@s = 'SMO1_JB'
set_lvar_text_label 90@s = 'SMO1_JC'
set_lvar_text_label 92@s = 'SMO1_JD'
set_lvar_text_label 94@s = 'SMO1_JG'
set_lvar_text_label 96@s = 'SMO1_JM'
set_lvar_text_label 98@s = 'SMO1_JH'
set_lvar_text_label 100@s = 'SMO1_JJ'
set_lvar_text_label 102@s = 'SMO1_JK'
set_lvar_text_label 104@s = 'SMO1_JL'
set_lvar_int_to_constant 112@ = 35061
set_lvar_int_to_constant 113@ = 35062
set_lvar_int_to_constant 114@ = 35063
set_lvar_int_to_constant 115@ = 35064
set_lvar_int_to_constant 116@ = 35065
set_lvar_int_to_constant 117@ = 35070
set_lvar_int_to_constant 118@ = 35066
set_lvar_int_to_constant 119@ = 35067
set_lvar_int_to_constant 120@ = 35068
set_lvar_int_to_constant 121@ = 35069
125@ = 10

:TWAR7_31553
if 
  83@ == 10
goto_if_false @TWAR7_31698
set_lvar_text_label 86@s = 'SMO1_KA'
set_lvar_text_label 88@s = 'SMO1_KB'
set_lvar_text_label 90@s = 'SMO1_KC'
set_lvar_text_label 92@s = 'SMO1_KD'
set_lvar_text_label 94@s = 'SMO1_KE'
set_lvar_int_to_constant 112@ = 35071
set_lvar_int_to_constant 113@ = 35072
set_lvar_int_to_constant 114@ = 35073
set_lvar_int_to_constant 115@ = 35074
set_lvar_int_to_constant 116@ = 35075
125@ = 5

:TWAR7_31698
if 
  83@ == 11
goto_if_false @TWAR7_31868
set_lvar_text_label 86@s = 'SMOX_AA'
set_lvar_text_label 88@s = 'SMOX_AB'
set_lvar_text_label 90@s = 'SMOX_AC'
set_lvar_text_label 92@s = 'SMOX_AD'
set_lvar_text_label 94@s = 'SMOX_AE'
set_lvar_text_label 96@s = 'SMOX_AF'
set_lvar_int_to_constant 112@ = 35800
set_lvar_int_to_constant 113@ = 35801
set_lvar_int_to_constant 114@ = 35802
set_lvar_int_to_constant 115@ = 35803
set_lvar_int_to_constant 116@ = 35804
set_lvar_int_to_constant 117@ = 35805
set_lvar_int_to_lvar_int 125@ = 130@

:TWAR7_31868
if 
  83@ == 14
goto_if_false @TWAR7_31960
set_lvar_text_label 86@s = 'LOCX_AA'
set_lvar_text_label 88@s = 'LOCX_AB'
set_lvar_text_label 90@s = 'LOCX_AC'
set_lvar_int_to_constant 112@ = 22400
set_lvar_int_to_constant 113@ = 22401
set_lvar_int_to_constant 114@ = 22402
set_lvar_int_to_lvar_int 125@ = 130@

:TWAR7_31960
if 
  83@ == 17
goto_if_false @TWAR7_32081
set_lvar_text_label 86@s = 'SMO1_GC'
set_lvar_text_label 88@s = 'SMO1_GD'
set_lvar_text_label 90@s = 'SMO1_GE'
set_lvar_text_label 92@s = 'SMO1_GF'
set_lvar_int_to_constant 112@ = 35049
set_lvar_int_to_constant 113@ = 35050
set_lvar_int_to_constant 114@ = 35051
set_lvar_int_to_constant 115@ = 35052
125@ = 4

:TWAR7_32081
set_lvar_int_to_lvar_int 128@ = 84@
126@ = 0
127@ = 0
129@ = 1
return 

:TWAR7_32112
if 
  is_int_lvar_greater_than_int_lvar 125@ > 128@
goto_if_false @TWAR7_32217
if 
  126@ == 0
goto_if_false @TWAR7_32174
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 112@(128@,13i))
128@ += 1
126@ = 1

:TWAR7_32174
if 
  127@ == 0
goto_if_false @TWAR7_32217
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 112@(128@,13i))
128@ += 1
127@ = 1

:TWAR7_32217
return 

:TWAR7_32219
if 
  129@ == 1
goto_if_false @TWAR7_32295
if 
  126@ == 1
goto_if_false @TWAR7_32295
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TWAR7_32295
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(86@(84@,13s), 4500, 1)
126@ = 2

:TWAR7_32295
if 
  129@ == 2
goto_if_false @TWAR7_32371
if 
  127@ == 1
goto_if_false @TWAR7_32371
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @TWAR7_32371
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(86@(84@,13s), 4500, 1)
127@ = 2

:TWAR7_32371
return 

:TWAR7_32373
if 
  126@ == 2
goto_if_false @TWAR7_32436
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TWAR7_32436
Text.ClearThisPrint(86@(84@,13s))
84@ += 1
129@ = 2
126@ = 0

:TWAR7_32436
if 
  127@ == 2
goto_if_false @TWAR7_32499
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @TWAR7_32499
Text.ClearThisPrint(86@(84@,13s))
84@ += 1
129@ = 1
127@ = 0

:TWAR7_32499
return 

//-------------Mission 28---------------
// Originally: Running Dog

:SMOKE2
script_name 'SMOKE2'
gosub @SMOKE2_47
if 
  has_deatharrest_been_executed 
goto_if_false @SMOKE2_38
gosub @SMOKE2_11327

:SMOKE2_38
gosub @SMOKE2_11407
terminate_this_script 

:SMOKE2_47
Stat.RegisterMissionGiven
Text.LoadMissionText('SMOKE2')
$weapon_shop1_blip = 1
wait 0
36@ = 2068.42
37@ = -1694.87
38@ = 13.3
39@ = 270.0
$smokehealth_s4 = 2514.34
$smokeshoot_s4flag = -1411.93
$bikehealth_s4 = 27.41
162@ = 0
163@ = 0
164@ = 0
165@ = 0
166@ = 0
167@ = 0
168@ = 0
169@ = 0
170@ = 0
171@ = 0
172@ = 0
173@ = 0
174@ = 0
175@ = 0
46@ = 22
47@ = 2459.8
69@ = -1402.19
91@ = 24.06
48@ = 2442.07
70@ = -1370.23
92@ = 24.06
49@ = 2414.49
71@ = -1369.36
93@ = 24.76
50@ = 2410.19
72@ = -1364.03
94@ = 24.75
51@ = 2399.68
73@ = -1358.24
95@ = 24.93
52@ = 2381.88
74@ = -1354.88
96@ = 24.08
53@ = 2343.29
75@ = -1351.41
97@ = 24.06
54@ = 2336.29
76@ = -1310.99
98@ = 24.29
55@ = 2257.07
77@ = -1291.85
99@ = 24.01
56@ = 2241.61
78@ = -1281.61
100@ = 24.42
57@ = 2241.61
79@ = -1264.68
101@ = 24.37
58@ = 2239.48
80@ = -1260.91
102@ = 23.98
59@ = 2241.18
81@ = -1257.88
103@ = 23.99
60@ = 2241.18
82@ = -1254.46
104@ = 24.46
61@ = 2241.18
83@ = -1238.3
105@ = 25.21
62@ = 2221.54
84@ = -1235.75
106@ = 24.62
63@ = 2202.27
85@ = -1236.72
107@ = 24.0
64@ = 2202.21
86@ = -1257.05
108@ = 23.91
65@ = 2199.57
87@ = -1263.15
109@ = 23.92
66@ = 2199.08
88@ = -1279.44
110@ = 24.57
67@ = 2182.07
89@ = -1280.2
111@ = 24.68
68@ = 2175.18
90@ = -1282.82
112@ = 24.02
126@ = 2117.86
127@ = -1071.42
128@ = 24.64
129@ = 0
176@ = 0
177@ = 0
178@ = 0
179@ = 0
180@ = 0
157@ = 0
158@ = 0
160@ = 0
182@ = 0
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:SMOKE2_1021
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE2_1045
wait 0
goto @SMOKE2_1021

:SMOKE2_1045
World.ClearArea(2069.9, -1702.73, 12.59, 100.0, False)
Streaming.RequestModel(#LAE_SMOKECUTSCENE)

:SMOKE2_1074
if 
  not Streaming.HasModelLoaded(#LAE_SMOKECUTSCENE)
goto_if_false @SMOKE2_1101
wait 0
goto @SMOKE2_1074

:SMOKE2_1101
187@ = Object.CreateNoOffset(#LAE_SMOKECUTSCENE, 2055.0, -1695.0, 15.0)
Cutscene.Load('SMOKE2A')

:SMOKE2_1135
if 
  not Cutscene.HasLoaded
goto_if_false @SMOKE2_1159
wait 0
goto @SMOKE2_1135

:SMOKE2_1159
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SMOKE2_1168
if 
  not Cutscene.HasFinished
goto_if_false @SMOKE2_1192
wait 0
goto @SMOKE2_1168

:SMOKE2_1192
Camera.DoFade(0, Fade.Out)

:SMOKE2_1198
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE2_1222
wait 0
goto @SMOKE2_1198

:SMOKE2_1222
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Streaming.MarkModelAsNoLongerNeeded(#LAE_SMOKECUTSCENE)
Object.Delete(187@)
Streaming.LoadSpecialCharacter(1, 'SMOKE')
Streaming.RequestModel(466)
Streaming.RequestModel(346)
Streaming.LoadAllModelsNow

:SMOKE2_1266
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(466)
  not Streaming.HasModelLoaded(346)
goto_if_false @SMOKE2_1302
wait 0
goto @SMOKE2_1266

:SMOKE2_1302
gosub @SMOKE2_5382
Streaming.LoadScene(2069.9, -1702.73, 12.59)
World.ClearArea(2069.9, -1702.73, 12.59, 100.0, False)
World.ClearArea($smokehealth_s4, $smokeshoot_s4flag, $bikehealth_s4, 100.0, False)
Path.SwitchRoadsOff(2488.0, -1431.93, 25.41, 2528.0, -1391.93, 29.41)
Path.SwitchRoadsOff(2252.89, -1286.37, 22.25, 2258.89, -1280.37, 28.25)
Audio.SetRadioChannel(RadioChannel.BounceFM)
Char.SetCoordinates($stattreadstamina_ctr, 2070.87, -1703.01, 12.55)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetFadingColor(0, 0, 0)
wait 500
Camera.DoFade(1500, Fade.In)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
if 
  182@ == 1
goto_if_false @SMOKE2_1678
34@ = Car.Create(466, 0.0, 0.0, -100.0)
183@ = Blip.AddForCar(34@)
35@ = Char.Create(PedType.Mission1, 290, 0.0, 0.0, -100.0)
41@ = Char.Create(PedType.Mission2, 108, 0.0, 0.0, -100.0)
42@ = Car.Create(405, 0.0, 0.0, -100.0)
43@ = Char.CreateInsideCar(42@, PedType.Mission2, 109)
44@ = Char.Create(PedType.Mission2, 109, 0.0, 0.0, -100.0)
45@ = Char.Create(PedType.Mission2, 110, 0.0, 0.0, -100.0)

:SMOKE2_1678
Path.SwitchPedRoadsOff(2458.5, -1410.63, 24.06, 2504.27, -1395.83, 28.55)
115@ = Sequence.Open()
Task.GoStraightToCoord(-1, 47@, 69@, 91@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 48@, 70@, 92@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 49@, 71@, 93@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 50@, 72@, 94@, MoveState.Run, -1)
Task.Climb(-1, True)
Task.GoStraightToCoord(-1, 51@, 73@, 95@, MoveState.Run, -1)
Task.Climb(-1, True)
Task.GoStraightToCoord(-1, 52@, 74@, 96@, MoveState.Run, -1)
Sequence.Close(115@)
116@ = Sequence.Open()
Task.Climb(-1, True)
Task.GoStraightToCoord(-1, 53@, 75@, 97@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 54@, 76@, 98@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 55@, 77@, 99@, MoveState.Sprint, -1)
Task.GoStraightToCoord(-1, 2254.09, -1283.83, 25.18, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 56@, 78@, 100@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 57@, 79@, 101@, MoveState.Run, -1)
Task.Climb(-1, True)
Sequence.Close(116@)
117@ = Sequence.Open()
Task.GoStraightToCoord(-1, 58@, 80@, 102@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 59@, 81@, 103@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 60@, 82@, 104@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 61@, 83@, 105@, MoveState.Run, -1)
Task.AchieveHeading(-1, 90.0)
Task.Climb(-1, True)
Task.GoStraightToCoord(-1, 62@, 84@, 106@, MoveState.Run, -1)
Task.Climb(-1, True)
Sequence.Close(117@)
118@ = Sequence.Open()
Task.GoStraightToCoord(-1, 63@, 85@, 107@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 64@, 86@, 108@, MoveState.Run, -1)
Task.Climb(-1, True)
Task.GoStraightToCoord(-1, 65@, 87@, 109@, MoveState.Run, -1)
Task.Climb(-1, True)
Task.GoStraightToCoord(-1, 66@, 88@, 110@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 67@, 89@, 111@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 68@, 90@, 112@, MoveState.Run, -1)
Sequence.Close(118@)
114@ = Sequence.Open()
Char.PerformSequence(-1, 115@)
Char.PerformSequence(-1, 116@)
Char.PerformSequence(-1, 117@)
Char.PerformSequence(-1, 118@)
Sequence.Close(114@)
Text.PrintNow('SMK2_1', 10000, 0)

:SMOKE2_2258
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SMOKE2_2284
goto @SMOKE2_11352

:SMOKE2_2284
if and
  162@ <> 1
  not Char.IsDead(35@)
  not Car.IsDead(34@)
goto_if_false @SMOKE2_2436
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @SMOKE2_2436
Blip.Remove(183@)
184@ = Blip.AddForCoord($smokehealth_s4, $smokeshoot_s4flag, $bikehealth_s4)
162@ = 1
163@ = 1
Text.PrintNow('SMK2_2', 11000, 0)
40@ = Pickup.CreateWithAmmo(346, PickupType.Once, 100, 2444.895, -1981.524, 13.933)
186@ = Blip.AddSpriteForCoord(2444.895, -1981.524, 13.933, RadarSprite.EmmetGun)
TIMERA = 0

:SMOKE2_2436
if and
  162@ == 1
  166@ <> 1
  not Char.IsDead(35@)
  not Car.IsDead(34@)
goto_if_false @SMOKE2_3206
if 
  167@ <> 1
goto_if_false @SMOKE2_2517
if 
  Pickup.HasBeenCollected(40@)
goto_if_false @SMOKE2_2517
Blip.Remove(186@)
167@ = 1

:SMOKE2_2517
if and
  163@ == 1
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @SMOKE2_2743
Blip.Remove(184@)
183@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(183@, True)
gosub @SMOKE2_10751
if 
  Char.IsDead(35@)
goto_if_false @SMOKE2_2613
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMK2_7', 4000, 0)
goto @SMOKE2_11327

:SMOKE2_2613
if 
  Car.IsDead(34@)
goto_if_false @SMOKE2_2652
Text.PrintNow('SMK2_12', 5000, 0)
goto @SMOKE2_11327

:SMOKE2_2652
if or
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 2444.895, -1981.524, 20.0, 20.0, False)
  167@ == 1
goto_if_false @SMOKE2_2720
Text.PrintNow('SMK2_3', 5000, 0)
goto @SMOKE2_2736

:SMOKE2_2720
Text.PrintNow('SMK2_16', 5000, 0)

:SMOKE2_2736
163@ = 0

:SMOKE2_2743
if and
  163@ == 0
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @SMOKE2_2829
Blip.Remove(183@)
184@ = Blip.AddForCoord($smokehealth_s4, $smokeshoot_s4flag, $bikehealth_s4)
if 
  165@ == 1
goto_if_false @SMOKE2_2822
Text.PrintNow('SMK2_15', 5000, 0)

:SMOKE2_2822
163@ = 1

:SMOKE2_2829
if 
  163@ == 1
goto_if_false @SMOKE2_3005
if and
  164@ <> 1
  TIMERA > 10000
goto_if_false @SMOKE2_2917
161@ = 2
gosub @SMOKE2_9893
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_2910
Char.ShutUpForScriptedSpeech(35@, True)

:SMOKE2_2910
164@ = 1

:SMOKE2_2917
if and
  164@ == 1
  165@ <> 1
goto_if_false @SMOKE2_3005
if 
  is_int_lvar_greater_than_int_lvar 159@ > 158@
goto_if_false @SMOKE2_2975
gosub @SMOKE2_10520
goto @SMOKE2_3005

:SMOKE2_2975
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_2998
Char.ShutUpForScriptedSpeech(35@, False)

:SMOKE2_2998
165@ = 1

:SMOKE2_3005
if 
  163@ == 1
goto_if_false @SMOKE2_3206
if 
  Char.LocateInCar3D($stattreadstamina_ctr, $smokehealth_s4, $smokeshoot_s4flag, $bikehealth_s4, 4.0, 4.0, 2.0, True)
goto_if_false @SMOKE2_3206
Player.SetControl($statbike_temp, False)
166@ = 1
Blip.Remove(184@)
Blip.Remove(186@)
Path.SwitchRoadsBackToOriginal(2488.0, -1431.93, 25.41, 2528.0, -1391.93, 29.41)
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_3144
Char.ShutUpForScriptedSpeech(35@, False)

:SMOKE2_3144
gosub @SMOKE2_5582
Path.SwitchRoadsOff(2164.51, -1287.88, 20.0, 2170.88, -1267.88, 30.0)
Text.PrintNow('SMK2_17', 10000, 0)
TIMERA = 0

:SMOKE2_3206
if 
  166@ == 1
goto_if_false @SMOKE2_5048
if and
  168@ <> 1
  TIMERA > 10000
goto_if_false @SMOKE2_3275
Text.PrintHelpForever('SMK2_H1')
168@ = 1
TIMERA = 0

:SMOKE2_3275
if and
  168@ == 1
  169@ <> 1
  TIMERA > 10000
goto_if_false @SMOKE2_3333
Text.PrintHelpForever('SMK2_H2')
169@ = 1
TIMERA = 0

:SMOKE2_3333
if and
  169@ == 1
  170@ <> 1
  TIMERA > 10000
goto_if_false @SMOKE2_3391
Text.PrintHelpForever('SPRSTAM')
170@ = 1
TIMERA = 0

:SMOKE2_3391
if and
  170@ == 1
  171@ <> 1
  TIMERA > 10000
goto_if_false @SMOKE2_3433
Text.ClearHelp
171@ = 1

:SMOKE2_3433
if 
  173@ <> 1
goto_if_false @SMOKE2_3673
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_3549
if and
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 35@, 5.0, 5.0, False)
  172@ <> 1
goto_if_false @SMOKE2_3549
161@ = 1
gosub @SMOKE2_9893
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_3542
Char.ShutUpForScriptedSpeech(35@, True)

:SMOKE2_3542
172@ = 1

:SMOKE2_3549
if and
  172@ == 1
  161@ == 1
goto_if_false @SMOKE2_3673
if 
  is_int_lvar_greater_than_int_lvar 159@ > 158@
goto_if_false @SMOKE2_3643
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_3623
gosub @SMOKE2_10520
goto @SMOKE2_3636

:SMOKE2_3623
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
173@ = 1

:SMOKE2_3636
goto @SMOKE2_3673

:SMOKE2_3643
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_3666
Char.ShutUpForScriptedSpeech(35@, False)

:SMOKE2_3666
173@ = 1

:SMOKE2_3673
if 
  174@ <> 1
goto_if_false @SMOKE2_3806
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2354.11, -1355.54, 15.0, 15.0, False)
goto_if_false @SMOKE2_3806
113@ = 0

:SMOKE2_3736
if 
  2 > 113@
goto_if_false @SMOKE2_3799
if 
  not Char.IsDead(44@(113@,2i))
goto_if_false @SMOKE2_3785
Char.SetKindaStayInSamePlace(44@(113@,2i), False)

:SMOKE2_3785
113@ += 1
goto @SMOKE2_3736

:SMOKE2_3799
174@ = 1

:SMOKE2_3806
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_4137
if 
  175@ <> 1
goto_if_false @SMOKE2_3912
122@ = Char.GetScriptTaskStatus(41@, 1952)
if 
  is_int_lvar_equal_to_constant 122@ == 1
goto_if_false @SMOKE2_3912
119@, 120@ = Char.GetSequenceProgressRecursive(41@)
if and
  119@ == 1
  120@ == 4
goto_if_false @SMOKE2_3912
175@ = 1

:SMOKE2_3912
if 
  175@ <> 1
goto_if_false @SMOKE2_4037
if 
  Char.IsPlayingAnim(41@, "RUN_GANG1")
goto_if_false @SMOKE2_3978
Char.SetAnimSpeed(41@, "RUN_GANG1", 1.5)

:SMOKE2_3978
if 
  Char.IsPlayingAnim(41@, "SPRINT_CIVI")
goto_if_false @SMOKE2_4030
Char.SetAnimSpeed(41@, "SPRINT_CIVI", 1.5)

:SMOKE2_4030
goto @SMOKE2_4137

:SMOKE2_4037
if 
  Char.IsPlayingAnim(41@, "RUN_GANG1")
goto_if_false @SMOKE2_4085
Char.SetAnimSpeed(41@, "RUN_GANG1", 1.2)

:SMOKE2_4085
if 
  Char.IsPlayingAnim(41@, "SPRINT_CIVI")
goto_if_false @SMOKE2_4137
Char.SetAnimSpeed(41@, "SPRINT_CIVI", 1.2)

:SMOKE2_4137
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_5041
if 
  176@ <> 1
goto_if_false @SMOKE2_4314
set_lvar_int_to_lvar_int 113@ = 46@
113@ -= 1
122@ = Char.GetScriptTaskStatus(41@, 1952)
if and
  is_int_lvar_equal_to_constant 122@ == 7
  Char.LocateAnyMeans3D(41@, 47@(113@,22f), 69@(113@,22f), 91@(113@,22f), 10.0, 10.0, 10.0, False)
goto_if_false @SMOKE2_4314
176@ = 1
if and
  not Car.IsDead(42@)
  not Char.IsDead(43@)
goto_if_false @SMOKE2_4314
if 
  not Car.IsOnFire(42@)
goto_if_false @SMOKE2_4314
Task.EnterCarAsPassenger(41@, 42@, -2, 0)

:SMOKE2_4314
if 
  180@ <> 1
goto_if_false @SMOKE2_4384
if and
  not Char.IsDead(43@)
  not Car.IsDead(42@)
goto_if_false @SMOKE2_4384
if 
  Car.IsOnFire(42@)
goto_if_false @SMOKE2_4384
Task.KillCharOnFoot(43@, $stattreadstamina_ctr)
180@ = 1

:SMOKE2_4384
if and
  176@ == 1
  177@ <> 1
goto_if_false @SMOKE2_5034
if 
  178@ <> 1
goto_if_false @SMOKE2_4743
if and
  not Car.IsDead(42@)
  not Char.IsDead(43@)
goto_if_false @SMOKE2_4631
if 
  Char.IsInCar(41@, 42@)
goto_if_false @SMOKE2_4631
178@ = 1
Task.CarDriveWander(43@, 42@, 30.0, DrivingMode.AvoidCars)
Char.GiveWeapon(41@, WeaponType.MicroUzi, 99999)
Task.DriveBy(41@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 1000.0, DriveByType.Ai, False, 60)
Path.SwitchRoadsBackToOriginal(2164.51, -1287.88, 20.0, 2170.88, -1267.88, 30.0)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE2_4608
Text.PrintNow('SMK2_9', 10000, 0)
goto @SMOKE2_4624

:SMOKE2_4608
Text.PrintNow('SMK2_8', 10000, 0)

:SMOKE2_4624
TIMERA = 0

:SMOKE2_4631
if 
  178@ <> 1
goto_if_false @SMOKE2_4743
if or
  Car.IsDead(42@)
  Char.IsDead(43@)
goto_if_false @SMOKE2_4702
Task.SmartFleeChar(41@, $stattreadstamina_ctr, 1000.0, 9999999)
177@ = 1
goto @SMOKE2_4743

:SMOKE2_4702
if 
  Car.IsOnFire(42@)
goto_if_false @SMOKE2_4743
Task.SmartFleeChar(41@, $stattreadstamina_ctr, 1000.0, 9999999)
177@ = 1

:SMOKE2_4743
if 
  178@ == 1
goto_if_false @SMOKE2_5034
if 
  177@ <> 1
goto_if_false @SMOKE2_4889
if 
  not Car.IsDead(42@)
goto_if_false @SMOKE2_4889
125@ = Car.GetDriver(42@)
if or
  Car.IsOnFire(42@)
  125@ == -1
goto_if_false @SMOKE2_4889
Task.SmartFleeChar(41@, $stattreadstamina_ctr, 1000.0, 9999999)
if and
  not Char.IsDead(43@)
  180@ <> 1
goto_if_false @SMOKE2_4882
Task.KillCharOnFoot(43@, $stattreadstamina_ctr)
180@ = 1

:SMOKE2_4882
177@ = 1

:SMOKE2_4889
if 
  177@ <> 1
goto_if_false @SMOKE2_5034
if and
  179@ <> 1
  TIMERA > 180000
goto_if_false @SMOKE2_5034
if and
  not Car.IsDead(42@)
  not Char.IsDead(43@)
goto_if_false @SMOKE2_5034
if and
  Char.IsInCar(43@, 42@)
  Char.IsInCar(41@, 42@)
goto_if_false @SMOKE2_5034
Task.CarDriveToCoord(43@, 42@, 126@, 127@, 128@, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
179@ = 1
Text.PrintNow('SMK2_10', 7000, 0)

:SMOKE2_5034
goto @SMOKE2_5048

:SMOKE2_5041
goto @SMOKE2_11352

:SMOKE2_5048
if 
  Char.IsDead(35@)
goto_if_false @SMOKE2_5087
Text.PrintNow('SMK2_7', 4000, 0)
goto @SMOKE2_11327

:SMOKE2_5087
if and
  166@ <> 1
  Car.IsDead(34@)
goto_if_false @SMOKE2_5133
Text.PrintNow('SMK2_12', 5000, 0)
goto @SMOKE2_11327

:SMOKE2_5133
if and
  176@ == 1
  not Char.IsDead(41@)
goto_if_false @SMOKE2_5210
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 41@, 300.0, 300.0, False)
goto_if_false @SMOKE2_5210
Text.PrintNow('SMK2_11', 4000, 0)
goto @SMOKE2_11327

:SMOKE2_5210
if and
  179@ == 1
  177@ <> 1
  not Char.IsDead(41@)
  not Char.IsDead(43@)
  not Car.IsDead(42@)
goto_if_false @SMOKE2_5375
if and
  Char.IsInCar(41@, 42@)
  Char.IsInCar(43@, 42@)
  Car.Locate3D(42@, 126@, 127@, 128@, 6.0, 6.0, 4.0, False)
goto_if_false @SMOKE2_5375
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @SMOKE2_5347
gosub @SMOKE2_8283
goto @SMOKE2_5352

:SMOKE2_5347
Char.RemoveElegantly(41@)

:SMOKE2_5352
Text.PrintNow('SMK2_11', 4000, 0)
goto @SMOKE2_11327

:SMOKE2_5375
goto @SMOKE2_2258

:SMOKE2_5382
Car.CustomPlateForNextCar(466, "_A2TMFK_")
34@ = Car.Create(466, 36@, 37@, 38@)
Car.SetHeading(34@, 39@)
Car.ChangeColor(34@, 98, 14)
183@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(183@, True)
35@ = Char.CreateAsPassenger(34@, PedType.Mission1, 290, 0)
Char.SetHealth(35@, 500)
Char.SetMaxHealth(35@, 500)
Char.GiveWeapon(35@, WeaponType.Pistol, 99999)
Char.SetOnlyDamagedByPlayer(35@, True)
Char.SetNeverTargeted(35@, True)
Char.SetSuffersCriticalHits(35@, False)
Char.SetAnimGroup(35@, "FATMAN")
Char.SetCantBeDraggedOut(35@, True)
Char.SetStayInCarWhenJacked(35@, True)
Char.SetGetOutUpsideDownCar(35@, False)
124@ = DecisionMakerChar.Copy(-1)
DecisionMakerChar.ClearEventResponse(124@, 79)
Char.SetDecisionMaker(35@, 124@)
Char.ClearAllRelationships(35@, RelationshipType.Dislike)
Char.ClearAllRelationships(35@, RelationshipType.Hate)
return 

:SMOKE2_5582
Camera.DoFade(1000, Fade.Out)

:SMOKE2_5589
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE2_5613
wait 0
goto @SMOKE2_5589

:SMOKE2_5613
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
World.ClearArea($smokehealth_s4, $smokeshoot_s4flag, $bikehealth_s4, 150.0, True)
Path.SwitchRoadsOff(2441.38, -1405.59, 15.0, 2460.42, -1368.34, 40.0)
Path.SwitchPedRoadsOff(2441.38, -1405.59, 15.0, 2460.42, -1368.34, 40.0)
World.SetCarDensityMultiplier(0.0)
192@, 193@ = Streaming.GetRandomCarModelInMemory(True)
if 
  192@ <> -1
goto_if_false @SMOKE2_5822
188@ = Car.Create(192@, 2448.31, -1392.34, 23.68)
190@ = Char.CreateRandomAsDriver(188@)
Car.SetHeading(188@, 180.0)
189@ = Car.Create(192@, 2453.7, -1408.14, 23.68)
191@ = Char.CreateRandomAsDriver(189@)
Car.SetHeading(189@, 0.0)

:SMOKE2_5822
if 
  not Car.IsDead(34@)
goto_if_false @SMOKE2_5932
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @SMOKE2_5877
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2473.6, -1420.86, 27.88)

:SMOKE2_5877
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_5932
if 
  Char.IsInCar(35@, 34@)
goto_if_false @SMOKE2_5932
Char.WarpFromCarToCoord(35@, 2470.6, -1420.86, 27.88)

:SMOKE2_5932
Car.Delete(34@)
Player.SetControl($statbike_temp, False)
Player.MakeSafeForCutscene($statbike_temp)
Cutscene.Load('SMOKE2B')

:SMOKE2_5960
if 
  not Cutscene.HasLoaded
goto_if_false @SMOKE2_5984
wait 0
goto @SMOKE2_5960

:SMOKE2_5984
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SMOKE2_5993
if 
  not Cutscene.HasFinished
goto_if_false @SMOKE2_6017
wait 0
goto @SMOKE2_5993

:SMOKE2_6017
Camera.DoFade(0, Fade.Out)

:SMOKE2_6023
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE2_6047
wait 0
goto @SMOKE2_6023

:SMOKE2_6047
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
World.SetCarDensityMultiplier(1.0)
Streaming.RequestModel(108)
Streaming.RequestModel(109)
Streaming.RequestModel(110)
Streaming.RequestModel(405)
Streaming.RequestModel(352)
Streaming.LoadAllModelsNow

:SMOKE2_6091
if or
  not Streaming.HasModelLoaded(108)
  not Streaming.HasModelLoaded(109)
  not Streaming.HasModelLoaded(110)
  not Streaming.HasModelLoaded(405)
  not Streaming.HasModelLoaded(352)
goto_if_false @SMOKE2_6135
wait 0
goto @SMOKE2_6091

:SMOKE2_6135
set_lvar_text_label 130@s = 'SMO2B11'
set_lvar_int_to_constant 148@ = 35200
$m1_random_int = Math.RandomIntInRange(0, 3)
if 
  $m1_random_int == 0
goto_if_false @SMOKE2_6210
set_lvar_text_label 132@s = 'SMO2_CA'
set_lvar_int_to_constant 149@ = 35214

:SMOKE2_6210
if 
  $m1_random_int == 1
goto_if_false @SMOKE2_6252
set_lvar_text_label 132@s = 'SMO2_CB'
set_lvar_int_to_constant 149@ = 35215

:SMOKE2_6252
if 
  $m1_random_int == 2
goto_if_false @SMOKE2_6294
set_lvar_text_label 132@s = 'SMO2_CC'
set_lvar_int_to_constant 149@ = 35216

:SMOKE2_6294
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 148@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 149@)

:SMOKE2_6308
if or
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SMOKE2_6338
wait 0
goto @SMOKE2_6308

:SMOKE2_6338
Streaming.LoadScene(2471.99, -1402.32, 27.82)
41@ = Char.Create(PedType.Mission2, 108, 2471.99, -1402.32, 27.82)
Char.SetHeading(41@, 90.0)
Char.SetHealth(41@, 200)
Char.SetMaxHealth(41@, 200)
Char.SetMoney(41@, 500)
Char.SetOnlyDamagedByPlayer(41@, True)
Char.GiveWeapon(41@, WeaponType.Pistol, 99999)
Char.SetAccuracy(41@, 5)
Char.SetStayInSamePlace(41@, True)
Char.ClearAllRelationships(41@, RelationshipType.Dislike)
Char.ClearAllRelationships(41@, RelationshipType.Hate)
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_6484
Char.PerformSequence(41@, 114@)

:SMOKE2_6484
Char.SetCoordinates($stattreadstamina_ctr, 2473.99, -1402.32, 27.82)
Char.SetHeading($stattreadstamina_ctr, 90.0)
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_6560
Char.SetCoordinates(35@, 2474.99, -1402.32, 27.82)
Char.SetHeading(35@, 90.0)

:SMOKE2_6560
Camera.SetFixedPosition(2460.993, -1400.991, 24.5671, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2461.876, -1401.406, 24.7836, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:SMOKE2_6618
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE2_6642
wait 0
goto @SMOKE2_6618

:SMOKE2_6642
181@ = 1
skip_cutscene_start_internal @SMOKE2_7459
wait 2000
Path.FlushRoute
Path.ExtendRoute(47@, 69@, 91@)
Path.ExtendRoute(48@, 70@, 92@)
Task.FollowPointRoute($stattreadstamina_ctr, 6, RouteMode.Once)
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_6786
121@ = Sequence.Open()
Task.GoStraightToCoord(-1, 47@, 69@, 91@, MoveState.Run, -1)
Task.PlayAnim(-1, "IDLE_TIRED", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(121@)
Char.PerformSequence(35@, 121@)
Sequence.Clear(121@)

:SMOKE2_6786
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(130@s, 10000, 1)
wait 4000
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
if 
  192@ <> -1
goto_if_false @SMOKE2_6884
if and
  not Char.IsDead(190@)
  not Car.IsDead(188@)
goto_if_false @SMOKE2_6884
Task.CarDriveToCoord(190@, 188@, 2448.31, -1429.92, 23.68, 10.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)

:SMOKE2_6884
Camera.SetFixedPosition(2459.716, -1406.529, 23.4481, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2459.658, -1405.536, 23.553, SwitchType.JumpCut)
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_7070
122@ = Char.GetScriptTaskStatus(35@, 1560)
if 
  is_int_lvar_equal_to_constant 122@ == 1
goto_if_false @SMOKE2_7070
119@ = Char.GetSequenceProgress(35@)

:SMOKE2_6988
if 
  0 >= 119@
goto_if_false @SMOKE2_7070
wait 0
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_7063
122@ = Char.GetScriptTaskStatus(35@, 1560)
if 
  is_int_lvar_equal_to_constant 122@ == 1
goto_if_false @SMOKE2_7063
119@ = Char.GetSequenceProgress(35@)

:SMOKE2_7063
goto @SMOKE2_6988

:SMOKE2_7070
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(132@s, 10000, 1)

:SMOKE2_7084
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SMOKE2_7110
wait 0
goto @SMOKE2_7084

:SMOKE2_7110
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
wait 1000
World.ClearArea(49@, 71@, 93@, 35.0, False)
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_7193
Char.SetCoordinates(41@, 49@, 71@, 23.74)
Char.SetHeading(41@, 45.0)
Char.PerformSequenceFromProgress(41@, 114@, 0, 3)

:SMOKE2_7193
Camera.SetFixedPosition(2406.65, -1358.0, 25.33, 0.0, 0.0, 0.0)
Camera.PointAtPoint(50@, 72@, 94@, SwitchType.JumpCut)
wait 1000
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_7391
122@ = Char.GetScriptTaskStatus(41@, 1952)
if 
  is_int_lvar_equal_to_constant 122@ == 1
goto_if_false @SMOKE2_7391
119@, 120@ = Char.GetSequenceProgressRecursive(41@)

:SMOKE2_7299
if and
  119@ == 0
  3 >= 120@
goto_if_false @SMOKE2_7391
wait 0
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_7384
122@ = Char.GetScriptTaskStatus(41@, 1952)
if 
  is_int_lvar_equal_to_constant 122@ == 1
goto_if_false @SMOKE2_7384
119@, 120@ = Char.GetSequenceProgressRecursive(41@)

:SMOKE2_7384
goto @SMOKE2_7299

:SMOKE2_7391
wait 2200
Camera.SetFixedPosition(2404.81, -1354.37, 25.71, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2401.4, -1356.79, 25.31, SwitchType.JumpCut)
wait 4500
181@ = 0

:SMOKE2_7459
skip_cutscene_end 
if 
  181@ == 1
goto_if_false @SMOKE2_7665
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE2_7597
if 
  Char.IsInAnyCar(35@)
goto_if_false @SMOKE2_7534
Char.WarpFromCarToCoord(35@, 47@, 69@, 23.06)
goto @SMOKE2_7550

:SMOKE2_7534
Char.SetCoordinates(35@, 47@, 69@, 23.06)

:SMOKE2_7550
Char.SetHeading(35@, 90.0)
Task.PlayAnim(35@, "IDLE_TIRED", "PED", 4.0, True, False, False, False, -1)

:SMOKE2_7597
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_7655
Char.SetCoordinates(41@, 2390.73, -1355.69, 23.74)
Char.SetHeading(41@, 81.47)
Char.PerformSequenceFromProgress(41@, 114@, 0, 7)

:SMOKE2_7655
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints

:SMOKE2_7665
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_7767
123@ = DecisionMakerChar.Copy(-1)
DecisionMakerChar.ClearEventResponse(123@, 79)
DecisionMakerChar.ClearEventResponse(123@, 9)
DecisionMakerChar.ClearEventResponse(123@, 15)
DecisionMakerChar.ClearEventResponse(123@, 31)
DecisionMakerChar.ClearEventResponse(123@, 43)
DecisionMakerChar.ClearEventResponse(123@, 36)
DecisionMakerChar.ClearEventResponse(123@, 37)
DecisionMakerChar.ClearEventResponse(123@, 11)
DecisionMakerChar.ClearEventResponse(123@, 20)
Char.SetDecisionMaker(41@, 123@)
185@ = Blip.AddForChar(41@)

:SMOKE2_7767
World.ClearArea(2170.68, -1282.01, 23.7, 100.0, False)
42@ = Car.Create(405, 2170.68, -1282.01, 23.7)
43@ = Char.CreateInsideCar(42@, PedType.Mission2, 109)
Car.SetHeading(42@, 357.03)
Car.SetOnlyDamagedByPlayer(42@, True)
Car.SetCanBurstTires(42@, False)
Car.LockDoors(42@, CarLock.LockoutPlayerOnly)
Char.SetOnlyDamagedByPlayer(43@, True)
Char.GiveWeapon(43@, WeaponType.Pistol, 99999)
World.ClearArea(2353.86, -1356.92, 23.41, 5.0, False)
44@ = Char.Create(PedType.Mission2, 109, 2353.86, -1356.92, 23.41)
45@ = Char.Create(PedType.Mission2, 110, 2354.11, -1355.54, 23.41)
Char.SetHeading(44@, 90.0)
Char.SetHeading(45@, 270.0)
113@ = 0

:SMOKE2_7975
if 
  2 > 113@
goto_if_false @SMOKE2_8090
Char.SetOnlyDamagedByPlayer(44@(113@,2i), True)
Char.GiveWeapon(44@(113@,2i), WeaponType.Pistol, 99999)
Char.SetAccuracy(44@(113@,2i), 50)
Char.ClearAllRelationships(44@(113@,2i), RelationshipType.Dislike)
Char.ClearAllRelationships(44@(113@,2i), RelationshipType.Hate)
Char.SetKindaStayInSamePlace(44@(113@,2i), True)
Task.KillCharOnFoot(44@(113@,2i), $stattreadstamina_ctr)
113@ += 1
goto @SMOKE2_7975

:SMOKE2_8090
Streaming.MarkModelAsNoLongerNeeded(110)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE2_8133
Char.WarpFromCarToCoord($stattreadstamina_ctr, 48@, 70@, 23.05)
goto @SMOKE2_8149

:SMOKE2_8133
Char.SetCoordinates($stattreadstamina_ctr, 48@, 70@, 23.05)

:SMOKE2_8149
Char.SetHeading($stattreadstamina_ctr, 90.0)
Path.SwitchRoadsBackToOriginal(2441.38, -1405.59, 15.0, 2460.42, -1368.34, 40.0)
Path.SwitchPedRoadsBackToOriginal(2441.38, -1405.59, 15.0, 2460.42, -1368.34, 40.0)
if 
  192@ <> -1
goto_if_false @SMOKE2_8261
Car.MarkAsNoLongerNeeded(188@)
Char.MarkAsNoLongerNeeded(190@)
Car.MarkAsNoLongerNeeded(189@)
Char.MarkAsNoLongerNeeded(191@)

:SMOKE2_8261
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Char.ClearTasks($stattreadstamina_ctr)
return 

:SMOKE2_8283
Player.SetControl($statbike_temp, False)
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_8321
Char.SetProofs(41@, True, True, True, True, True)

:SMOKE2_8321
if 
  not Char.IsDead(43@)
goto_if_false @SMOKE2_8352
Char.SetProofs(43@, True, True, True, True, True)

:SMOKE2_8352
if 
  not Car.IsDead(42@)
goto_if_false @SMOKE2_8383
Car.SetProofs(42@, True, True, True, True, True)

:SMOKE2_8383
Camera.DoFade(1000, Fade.Out)

:SMOKE2_8390
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE2_8414
wait 0
goto @SMOKE2_8390

:SMOKE2_8414
World.ClearArea(126@, 127@, 128@, 100.0, False)
Path.SwitchRoadsOff(2108.5, -1080.59, 4.73, 2128.5, -1060.59, 44.73)
Path.SwitchPedRoadsOff(2108.5, -1080.59, 4.73, 2128.5, -1060.59, 44.73)
195@, 196@, 197@ = Char.GetCoordinates($stattreadstamina_ctr)
198@ = Char.GetHeading($stattreadstamina_ctr)
200@ = World.GetWaterHeightAtCoords(195@, 196@, False)
199@ = World.GetGroundZFor3DCoord(195@, 196@, 197@)
if 
  is_float_lvar_greater_than_float_lvar 200@ > 199@
goto_if_false @SMOKE2_8572
set_lvar_float_to_lvar_float 199@ = 200@

:SMOKE2_8572
Streaming.RequestCollision(126@, 127@)
Streaming.LoadScene(126@, 127@, 128@)
Path.SwitchRoadsOff(2082.91, -1107.01, 4.53, 2102.91, -1087.01, 44.53)
Path.SwitchPedRoadsOff(2082.91, -1107.01, 4.53, 2102.91, -1087.01, 44.53)
World.ClearArea(2092.91, -1097.01, 24.53, 20.0, False)
Char.SetCoordinates($stattreadstamina_ctr, 2092.91, -1097.01, -100.0)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE2_8733
194@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetHeading(194@, 242.86)

:SMOKE2_8733
if 
  not Car.IsDead(42@)
goto_if_false @SMOKE2_8907
Car.SetCoordinates(42@, 126@, 127@, -100.0)
Car.SetHeading(42@, 50.74)
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_8842
Char.ClearTasksImmediately(41@)
if 
  Char.IsInAnyCar(41@)
goto_if_false @SMOKE2_8832
Char.WarpFromCarToCoord(41@, 2115.98, -1059.43, 24.75)

:SMOKE2_8832
Char.WarpIntoCarAsPassenger(41@, 42@, 0)

:SMOKE2_8842
if 
  not Char.IsDead(43@)
goto_if_false @SMOKE2_8907
Char.ClearTasksImmediately(43@)
if 
  Char.IsInAnyCar(43@)
goto_if_false @SMOKE2_8899
Char.WarpFromCarToCoord(43@, 2117.04, -1061.53, 24.53)

:SMOKE2_8899
Char.WarpIntoCar(43@, 42@)

:SMOKE2_8907
wait 1000
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2110.56, -1067.61, 25.27, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2114.84, -1067.77, 25.63, SwitchType.JumpCut)
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_9105
Path.FlushRoute
Path.ExtendRoute(2121.0, -1068.03, 23.82)
Path.ExtendRoute(2127.23, -1061.17, 28.33)
Path.ExtendRoute(2139.74, -1066.82, 34.06)
Path.ExtendRoute(2143.63, -1066.27, 34.06)
Path.ExtendRoute(2157.15, -1072.39, 39.48)
201@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(201@)
Char.PerformSequence(41@, 201@)
Sequence.Clear(201@)

:SMOKE2_9105
Camera.DoFade(500, Fade.In)

:SMOKE2_9112
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE2_9200
wait 0
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_9193
if 
  Char.IsPlayingAnim(41@, "RUN_GANG1")
goto_if_false @SMOKE2_9193
Char.SetAnimSpeed(41@, "RUN_GANG1", 1.0)

:SMOKE2_9193
goto @SMOKE2_9112

:SMOKE2_9200
202@ = 0
203@ = 0
181@ = 1
skip_cutscene_start_internal @SMOKE2_9525

:SMOKE2_9228
if 
  203@ <> 1
goto_if_false @SMOKE2_9518
wait 0
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_9511
if 
  Char.IsPlayingAnim(41@, "RUN_GANG1")
goto_if_false @SMOKE2_9314
Char.SetAnimSpeed(41@, "RUN_GANG1", 1.0)

:SMOKE2_9314
if 
  202@ <> 1
goto_if_false @SMOKE2_9438
if 
  Char.LocateOnFoot3D(41@, 2143.63, -1066.27, 34.06, 4.0, 4.0, 4.0, False)
goto_if_false @SMOKE2_9438
Camera.SetFixedPosition(2131.97, -1067.61, 33.57, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2137.38, -1068.03, 34.43, SwitchType.JumpCut)
202@ = 1

:SMOKE2_9438
if 
  203@ <> 1
goto_if_false @SMOKE2_9511
if 
  Char.LocateOnFoot3D(41@, 2157.15, -1072.39, 39.48, 6.0, 6.0, 4.0, False)
goto_if_false @SMOKE2_9511
203@ = 1

:SMOKE2_9511
goto @SMOKE2_9228

:SMOKE2_9518
181@ = 0

:SMOKE2_9525
skip_cutscene_end 
Camera.DoFade(1000, Fade.Out)

:SMOKE2_9534
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE2_9622
wait 0
if 
  not Char.IsDead(41@)
goto_if_false @SMOKE2_9615
if 
  Char.IsPlayingAnim(41@, "RUN_GANG1")
goto_if_false @SMOKE2_9615
Char.SetAnimSpeed(41@, "RUN_GANG1", 1.0)

:SMOKE2_9615
goto @SMOKE2_9534

:SMOKE2_9622
Streaming.RequestCollision(195@, 196@)
Streaming.LoadScene(195@, 196@, 199@)
Char.SetCoordinates($stattreadstamina_ctr, 195@, 196@, 199@)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE2_9694
194@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetHeading(194@, 198@)
goto @SMOKE2_9702

:SMOKE2_9694
Char.SetHeading($stattreadstamina_ctr, 198@)

:SMOKE2_9702
Char.Delete(41@)
Char.Delete(43@)
Car.Delete(42@)
Path.SwitchRoadsBackToOriginal(2108.5, -1080.59, 4.73, 2128.5, -1060.59, 44.73)
Path.SwitchPedRoadsBackToOriginal(2108.5, -1080.59, 4.73, 2128.5, -1060.59, 44.73)
Path.SwitchRoadsBackToOriginal(2082.91, -1107.01, 4.53, 2102.91, -1087.01, 44.53)
Path.SwitchPedRoadsBackToOriginal(2082.91, -1107.01, 4.53, 2102.91, -1087.01, 44.53)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(1000, Fade.In)

:SMOKE2_9867
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE2_9891
wait 0
goto @SMOKE2_9867

:SMOKE2_9891
return 

:SMOKE2_9893
switch_start 161@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @SMOKE2_10484 {caseNum1} 0 {caseLabel1} @SMOKE2_9956 {caseNum2} 1 {caseLabel2} @SMOKE2_10105 {caseNum3} 2 {caseLabel3} @SMOKE2_10254 {caseNum4} -1 {caseLabel4} @SMOKE2_10491 {caseNum5} -1 {caseLabel5} @SMOKE2_10491 {caseNum6} -1 {caseLabel6} @SMOKE2_10491 {caseNum7} -1 {caseLabel7} @SMOKE2_10491

:SMOKE2_9956
$m1_random_int = Math.RandomIntInRange(0, 3)
if 
  $m1_random_int == 0
goto_if_false @SMOKE2_10007
set_lvar_text_label 130@s = 'SMO2_CA'
set_lvar_int_to_constant 148@ = 35214

:SMOKE2_10007
if 
  $m1_random_int == 1
goto_if_false @SMOKE2_10049
set_lvar_text_label 130@s = 'SMO2_CB'
set_lvar_int_to_constant 148@ = 35215

:SMOKE2_10049
if 
  $m1_random_int == 2
goto_if_false @SMOKE2_10091
set_lvar_text_label 130@s = 'SMO2_CC'
set_lvar_int_to_constant 148@ = 35216

:SMOKE2_10091
159@ = 1
goto @SMOKE2_10491

:SMOKE2_10105
$m1_random_int = Math.RandomIntInRange(0, 3)
if 
  $m1_random_int == 0
goto_if_false @SMOKE2_10156
set_lvar_text_label 130@s = 'SMO2_DA'
set_lvar_int_to_constant 148@ = 35217

:SMOKE2_10156
if 
  $m1_random_int == 1
goto_if_false @SMOKE2_10198
set_lvar_text_label 130@s = 'SMO2_DB'
set_lvar_int_to_constant 148@ = 35218

:SMOKE2_10198
if 
  $m1_random_int == 2
goto_if_false @SMOKE2_10240
set_lvar_text_label 130@s = 'SMO2_DC'
set_lvar_int_to_constant 148@ = 35219

:SMOKE2_10240
159@ = 1
goto @SMOKE2_10491

:SMOKE2_10254
set_lvar_text_label 130@s = 'SMO2_BA'
set_lvar_int_to_constant 148@ = 35203
set_lvar_text_label 132@s = 'SMO2_BB'
set_lvar_int_to_constant 149@ = 35204
set_lvar_text_label 134@s = 'SMO2_BC'
set_lvar_int_to_constant 150@ = 35205
set_lvar_text_label 136@s = 'SMO2_BD'
set_lvar_int_to_constant 151@ = 35206
set_lvar_text_label 138@s = 'SMO2_BE'
set_lvar_int_to_constant 152@ = 35207
set_lvar_text_label 140@s = 'SMO2_BF'
set_lvar_int_to_constant 153@ = 35208
set_lvar_text_label 142@s = 'SMO2_BG'
set_lvar_int_to_constant 154@ = 35209
set_lvar_text_label 144@s = 'SMO2_BH'
set_lvar_int_to_constant 155@ = 35210
set_lvar_text_label 146@s = 'SMO2_BJ'
set_lvar_int_to_constant 156@ = 35211
159@ = 9
goto @SMOKE2_10491

:SMOKE2_10484
goto @SMOKE2_10491

:SMOKE2_10491
157@ = 0
158@ = 0
160@ = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
return 

:SMOKE2_10520
if or
  157@ == 0
  157@ == 1
goto_if_false @SMOKE2_10590
if 
  is_int_lvar_greater_than_int_lvar 159@ > 158@
goto_if_false @SMOKE2_10590
if 
  TIMERB > 200
goto_if_false @SMOKE2_10590
gosub @SMOKE2_10655

:SMOKE2_10590
if 
  157@ == 2
goto_if_false @SMOKE2_10653
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SMOKE2_10653
157@ = 0
158@ += 1
160@ = 0
Text.ClearPrints
TIMERB = 0

:SMOKE2_10653
return 

:SMOKE2_10655
if 
  157@ == 0
goto_if_false @SMOKE2_10691
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 148@(158@,9i))
157@ = 1

:SMOKE2_10691
if 
  157@ == 1
goto_if_false @SMOKE2_10749
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SMOKE2_10749
Text.PrintNow(130@(158@,9s), 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
157@ = 2

:SMOKE2_10749
return 

:SMOKE2_10751
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
switch_start 129@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @SMOKE2_10898 {caseNum1} 0 {caseLabel1} @SMOKE2_10818 {caseNum2} 1 {caseLabel2} @SMOKE2_10834 {caseNum3} 2 {caseLabel3} @SMOKE2_10850 {caseNum4} 3 {caseLabel4} @SMOKE2_10866 {caseNum5} 4 {caseLabel5} @SMOKE2_10882 {caseNum6} -1 {caseLabel6} @SMOKE2_10905 {caseNum7} -1 {caseLabel7} @SMOKE2_10905

:SMOKE2_10818
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35800)
goto @SMOKE2_10905

:SMOKE2_10834
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35801)
goto @SMOKE2_10905

:SMOKE2_10850
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35802)
goto @SMOKE2_10905

:SMOKE2_10866
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35803)
goto @SMOKE2_10905

:SMOKE2_10882
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35804)
goto @SMOKE2_10905

:SMOKE2_10898
goto @SMOKE2_10905

:SMOKE2_10905
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:SMOKE2_10914
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SMOKE2_11009
wait 0
if or
  Char.IsDead(35@)
  Car.IsDead(34@)
goto_if_false @SMOKE2_10956
return 

:SMOKE2_10956
if 
  167@ <> 1
goto_if_false @SMOKE2_11002
if 
  Pickup.HasBeenCollected(40@)
goto_if_false @SMOKE2_11002
Blip.Remove(186@)
167@ = 1

:SMOKE2_11002
goto @SMOKE2_10914

:SMOKE2_11009
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
switch_start 129@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @SMOKE2_11191 {caseNum1} 0 {caseLabel1} @SMOKE2_11076 {caseNum2} 1 {caseLabel2} @SMOKE2_11099 {caseNum3} 2 {caseLabel3} @SMOKE2_11122 {caseNum4} 3 {caseLabel4} @SMOKE2_11145 {caseNum5} 4 {caseLabel5} @SMOKE2_11168 {caseNum6} -1 {caseLabel6} @SMOKE2_11198 {caseNum7} -1 {caseLabel7} @SMOKE2_11198

:SMOKE2_11076
Text.PrintNow('SMOX_AA', 3000, 1)
goto @SMOKE2_11198

:SMOKE2_11099
Text.PrintNow('SMOX_AB', 3000, 1)
goto @SMOKE2_11198

:SMOKE2_11122
Text.PrintNow('SMOX_AC', 3000, 1)
goto @SMOKE2_11198

:SMOKE2_11145
Text.PrintNow('SMOX_AD', 3000, 1)
goto @SMOKE2_11198

:SMOKE2_11168
Text.PrintNow('SMOX_AE', 3000, 1)
goto @SMOKE2_11198

:SMOKE2_11191
goto @SMOKE2_11198

:SMOKE2_11198
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SMOKE2_11293
wait 0
if or
  Char.IsDead(35@)
  Car.IsDead(34@)
goto_if_false @SMOKE2_11240
return 

:SMOKE2_11240
if 
  167@ <> 1
goto_if_false @SMOKE2_11286
if 
  Pickup.HasBeenCollected(40@)
goto_if_false @SMOKE2_11286
Blip.Remove(186@)
167@ = 1

:SMOKE2_11286
goto @SMOKE2_11198

:SMOKE2_11293
129@ += 1
if 
  129@ > 4
goto_if_false @SMOKE2_11325
129@ = 0

:SMOKE2_11325
return 

:SMOKE2_11327
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
$swim_stamina_check_main = 1
return 

:SMOKE2_11352
$flag_la1fin1_mission_counter += 1
Stat.RegisterMissionPassed('SMOKE_2')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSR', 3, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(3)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
return 

:SMOKE2_11407
Streaming.MarkModelAsNoLongerNeeded(108)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(466)
Streaming.MarkModelAsNoLongerNeeded(405)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.UnloadSpecialCharacter(1)
Char.RemoveElegantly(35@)
Pickup.Remove(40@)
Blip.Remove(186@)
Blip.Remove(183@)
Blip.Remove(184@)
Blip.Remove(185@)
Sequence.Clear(114@)
Sequence.Clear(115@)
Sequence.Clear(116@)
Sequence.Clear(117@)
Sequence.Clear(118@)
Sequence.Clear(121@)
Sequence.Clear(201@)
Text.ClearHelp
DecisionMaker.Remove(123@)
DecisionMaker.Remove(124@)
Path.SwitchPedRoadsBackToOriginal(2458.5, -1410.63, 24.06, 2504.27, -1395.83, 28.55)
Path.SwitchRoadsBackToOriginal(2488.0, -1431.93, 25.41, 2528.0, -1391.93, 29.41)
Path.SwitchRoadsBackToOriginal(2252.89, -1286.37, 22.25, 2258.89, -1280.37, 28.25)
Path.SwitchRoadsBackToOriginal(2164.51, -1287.88, 20.0, 2170.88, -1267.88, 30.0)
Path.SwitchRoadsBackToOriginal(2108.5, -1080.59, 4.73, 2128.5, -1060.59, 44.73)
Path.SwitchPedRoadsBackToOriginal(2108.5, -1080.59, 4.73, 2128.5, -1060.59, 44.73)
Path.SwitchRoadsBackToOriginal(2082.91, -1107.01, 4.53, 2102.91, -1087.01, 44.53)
Path.SwitchPedRoadsBackToOriginal(2082.91, -1107.01, 4.53, 2102.91, -1087.01, 44.53)
Path.SwitchRoadsBackToOriginal(2441.38, -1405.59, 15.0, 2460.42, -1368.34, 40.0)
Path.SwitchPedRoadsBackToOriginal(2441.38, -1405.59, 15.0, 2460.42, -1368.34, 40.0)
World.SetCarDensityMultiplier(1.0)
Path.FlushRoute
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 29---------------
// Originally: Wrong Side of the Tracks

:SMOKE3
script_name 'SMOKE3'
gosub @SMOKE3_47
if 
  has_deatharrest_been_executed 
goto_if_false @SMOKE3_38
gosub @SMOKE3_20097

:SMOKE3_38
gosub @SMOKE3_20170
terminate_this_script 

:SMOKE3_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
Text.LoadMissionText('SMOKE3')
Weather.ForceNow(WeatherType.SunnyLa)
World.ClearArea(2077.58, -1695.929, 150.0, 150.0, True)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:SMOKE3_114
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE3_138
wait 0
goto @SMOKE3_114

:SMOKE3_138
Streaming.RequestModel(#LAE_SMOKECUTSCENE)

:SMOKE3_143
if 
  not Streaming.HasModelLoaded(#LAE_SMOKECUTSCENE)
goto_if_false @SMOKE3_170
wait 0
goto @SMOKE3_143

:SMOKE3_170
131@ = Object.CreateNoOffset(#LAE_SMOKECUTSCENE, 2055.0, -1695.0, 15.0)
Cutscene.Load('SMOKE3A')

:SMOKE3_204
if 
  not Cutscene.HasLoaded
goto_if_false @SMOKE3_228
wait 0
goto @SMOKE3_204

:SMOKE3_228
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SMOKE3_237
if 
  not Cutscene.HasFinished
goto_if_false @SMOKE3_261
wait 0
goto @SMOKE3_237

:SMOKE3_261
Camera.DoFade(0, Fade.Out)

:SMOKE3_267
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE3_291
wait 0
goto @SMOKE3_267

:SMOKE3_291
Cutscene.Clear
Weather.Release
Streaming.MarkModelAsNoLongerNeeded(#LAE_SMOKECUTSCENE)
Object.Delete(131@)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1500, Fade.In)
Camera.DoFade(1000, Fade.Out)

:SMOKE3_338
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE3_362
wait 0
goto @SMOKE3_338

:SMOKE3_362
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Streaming.RequestModel(538)
Streaming.RequestModel(570)
Streaming.RequestModel(#IMMMCRAN)
Streaming.RequestModel(466)
Streaming.RequestModel(372)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35400)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35803)
Streaming.LoadSpecialCharacter(1, 'SMOKE')
Streaming.LoadAllModelsNow

:SMOKE3_437
if or
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_467
wait 0
goto @SMOKE3_437

:SMOKE3_467
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @SMOKE3_493
wait 0
goto @SMOKE3_467

:SMOKE3_493
if or
  not Streaming.HasModelLoaded(538)
  not Streaming.HasModelLoaded(570)
  not Streaming.HasModelLoaded(#IMMMCRAN)
  not Streaming.HasModelLoaded(372)
  not Streaming.HasModelLoaded(466)
goto_if_false @SMOKE3_540
wait 0
goto @SMOKE3_493

:SMOKE3_540
74@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
76@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.ClearEventResponse(76@, 9)
75@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.ClearEventResponse(75@, 9)
DecisionMakerChar.ClearEventResponse(75@, 12)
DecisionMakerChar.ClearEventResponse(75@, 56)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
World.ClearArea(1682.618, -1957.88, 150.0, 150.0, False)
Game.SwitchRandomTrains(False)
World.DeleteAllTrains
40@ = Train.Create(11, 1725.55, -1953.278, 12.5, False)
Train.SetSpeed(40@, 0.0)
Train.SetCruiseSpeed(40@, 0.0)
43@ = Train.GetCarriage(40@, 1)
44@ = Train.GetCarriage(40@, 2)
Car.SetProofs(40@, True, True, True, True, True)
Train.SetForcedToSlowDown(40@, False)
Car.LockDoors(40@, CarLock.Locked)
Car.LockDoors(43@, CarLock.Locked)
Car.LockDoors(44@, CarLock.Locked)
Car.SetProofs(43@, True, True, True, True, True)
Car.SetProofs(44@, True, True, True, True, True)
World.ClearArea(2077.58, -1695.929, 150.0, 150.0, True)
Car.CustomPlateForNextCar(466, "_A2TMFK_")
78@ = Car.Create(466, 2058.86, -1694.612, 12.297)
Car.ChangeColor(78@, 98, 14)
Car.SetHeading(78@, 271.822)
Car.SetHealth(78@, 1000)
$mc_strap = Char.CreateAsPassenger(78@, PedType.Special, 290, 0)
Char.SetGetOutUpsideDownCar($mc_strap, False)
Char.SetHealth($mc_strap, 500)
Char.SetOnlyDamagedByPlayer($mc_strap, True)
Char.SetSuffersCriticalHits($mc_strap, False)
Char.SetNeverTargeted($mc_strap, True)
Char.SetDecisionMaker($mc_strap, 74@)
Char.SetCantBeDraggedOut($mc_strap, True)
Char.SetStayInCarWhenJacked($mc_strap, True)
Game.SetMaxFireGenerations(1)
Audio.SetRadioChannel(RadioChannel.RadioLosSantos)
Char.WarpIntoCar($stattreadstamina_ctr, 78@)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
World.SetRailtrackResistanceMult(0.3)
Camera.DoFade(500, Fade.In)
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
80@ = 0
81@ = 0
82@ = 0
83@ = 0
84@ = 0
85@ = 0
86@ = 0
87@ = 0
88@ = 0
89@ = 0
90@ = 0
91@ = 0
92@ = 0
93@ = 0
94@ = 0
96@ = 0
95@ = 0
99@ = 0
100@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
97@ = 0
107@ = 0
105@ = 0
106@ = 0
108@ = 0
109@ = 0
110@ = 0
111@ = 0
112@ = 0
114@ = 0
115@ = 0
116@ = 0
117@ = 0
if 
  80@ == 0
goto_if_false @SMOKE3_1289
118@ = Blip.AddForCoord(1783.211, -1933.133, 12.597)
103@ = 1
80@ = 1

:SMOKE3_1289
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SMOKE3_1315
goto @SMOKE3_20115

:SMOKE3_1315
if 
  80@ == 1
goto_if_false @SMOKE3_1625
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_1625
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_1625
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 78@)
goto_if_false @SMOKE3_1625
if 
  103@ == 1
goto_if_false @SMOKE3_1429
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SMO3_AA', 5000, 1)
103@ = 2

:SMOKE3_1429
if 
  103@ == 2
goto_if_false @SMOKE3_1484
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_1484
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35401)
103@ = 3

:SMOKE3_1484
if 
  103@ == 3
goto_if_false @SMOKE3_1563
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 78@)
goto_if_false @SMOKE3_1563
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_1563
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SMO3_AB', 5000, 1)
103@ = 4

:SMOKE3_1563
if 
  103@ == 4
goto_if_false @SMOKE3_1625
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_1625
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SMK3_1', 5000, 1)
103@ = 5

:SMOKE3_1625
if 
  94@ == 0
goto_if_false @SMOKE3_1907
if or
  80@ == 1
  80@ == 10
goto_if_false @SMOKE3_1907
if 
  92@ == 0
goto_if_false @SMOKE3_1781
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_1781
if 
  not Char.IsSittingInCar($stattreadstamina_ctr, 78@)
goto_if_false @SMOKE3_1781
123@ = Blip.AddForCar(78@)
Blip.SetAsFriendly(123@, True)
Blip.Remove(118@)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMOX_AD', 2000, 1)
80@ = 10
92@ = 1

:SMOKE3_1781
if 
  92@ == 1
goto_if_false @SMOKE3_1907
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_1907
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 78@)
goto_if_false @SMOKE3_1907
Blip.Remove(123@)
118@ = Blip.AddForCoord(1783.211, -1933.133, 12.597)
if 
  103@ == 5
goto_if_false @SMOKE3_1893
Text.PrintNow('SMK3_1', 12000, 1)

:SMOKE3_1893
80@ = 1
92@ = 0

:SMOKE3_1907
if or
  80@ == 1
  80@ == 10
goto_if_false @SMOKE3_1971
if 
  Char.IsDead($mc_strap)
goto_if_false @SMOKE3_1971
Text.PrintNow('SMK3_21', 5000, 1)
goto @SMOKE3_20097

:SMOKE3_1971
if 
  80@ == 1
goto_if_false @SMOKE3_10214
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_10214
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_2820
if 
  81@ == 0
goto_if_false @SMOKE3_2820
if 
  Char.IsSittingInCar($mc_strap, 78@)
goto_if_false @SMOKE3_2820
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 78@)
goto_if_false @SMOKE3_2820
if 
  Car.Locate2D(78@, 1783.211, -1933.133, 4.2, 4.2, True)
goto_if_false @SMOKE3_2820
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:SMOKE3_2133
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE3_2157
wait 0
goto @SMOKE3_2133

:SMOKE3_2157
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_2203
Car.SetCoordinates(78@, 1783.418, -1933.055, 12.3862)
Car.SetHeading(78@, 178.4615)

:SMOKE3_2203
Streaming.RequestModel(108)
Streaming.RequestModel(109)
Streaming.RequestModel(110)
Streaming.RequestModel(353)
Streaming.RequestModel(468)
Streaming.RequestModel(#TRNTRK8_LAS)
Streaming.RequestAnimation("TRAIN")
Streaming.RequestAnimation("GANGS")
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35412)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35413)
Streaming.LoadSpecialCharacter(1, 'SMOKE')
Streaming.RequestAnimation("GANGS")
Streaming.RequestAnimation("TRAIN")
Streaming.LoadAllModelsNow

:SMOKE3_2307
if or
  not Streaming.HasAnimationLoaded("GANGS")
  not Streaming.HasAnimationLoaded("TRAIN")
goto_if_false @SMOKE3_2347
wait 0
goto @SMOKE3_2307

:SMOKE3_2347
if or
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_2377
wait 0
goto @SMOKE3_2347

:SMOKE3_2377
if or
  not Streaming.HasModelLoaded(108)
  not Streaming.HasModelLoaded(109)
  not Streaming.HasModelLoaded(110)
  not Streaming.HasModelLoaded(468)
  not Streaming.HasModelLoaded(353)
goto_if_false @SMOKE3_2421
wait 0
goto @SMOKE3_2377

:SMOKE3_2421
Streaming.LoadScene(1684.53, -1948.48, 20.66)
World.ClearArea(1682.618, -1957.88, 150.0, 150.0, False)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
94@ = 1
Blip.Remove(118@)
World.ClearArea(1699.31, -1938.799, 100.0, 100.0, False)
52@ = Object.CreateNoOffset(#IMMMCRAN, 2194.438, -1912.756, 11.907)
Object.SetHeading(52@, 0.0)
34@ = Char.Create(PedType.Mission1, 108, 1682.546, -1959.222, 20.99)
Char.SetHeading(34@, 0.0)
Char.SetFollowNodeThresholdDistance(34@, 500.0)
Char.SetProofs(34@, True, True, True, True, True)
Char.SetDecisionMaker(34@, 75@)
35@ = Char.Create(PedType.Mission1, 110, 1682.546, -1958.222, 20.99)
Char.SetHeading(35@, 180.0)
Char.SetFollowNodeThresholdDistance(35@, 500.0)
Char.SetProofs(35@, True, True, True, True, True)
Char.SetDecisionMaker(35@, 75@)
36@ = Char.Create(PedType.Mission1, 109, 1681.038, -1958.03, 20.99)
Char.SetHeading(36@, 182.467)
Char.SetFollowNodeThresholdDistance(36@, 500.0)
Char.SetProofs(36@, True, True, True, True, True)
Char.SetDecisionMaker(36@, 75@)
37@ = Char.Create(PedType.Mission1, 110, 1681.129, -1959.63, 20.99)
Char.SetHeading(37@, 6.22)
Char.SetFollowNodeThresholdDistance(37@, 500.0)
Char.SetProofs(37@, True, True, True, True, True)
Char.SetDecisionMaker(37@, 75@)
81@ = 1

:SMOKE3_2820
if 
  81@ == 1
goto_if_false @SMOKE3_3049
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SMOKE3_3049
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_3049
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_3049
World.ClearArea(1682.618, -1957.88, 150.0, 150.0, False)
Camera.SetFixedPosition(1780.729, -1937.955, 13.443, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1781.311, -1937.148, 13.3475, SwitchType.JumpCut)
Streaming.LoadScene(1687.04, -1946.6, 21.79)
Streaming.LoadSceneInDirection(1735.16, -1945.29, 14.44, 88.46)
Camera.DoFade(750, Fade.In)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
Text.PrintNow('SMO3_BA', 5000, 1)
TIMERA = 0
81@ = 2

:SMOKE3_3049
if 
  81@ == 2
goto_if_false @SMOKE3_3272
if 
  TIMERA > 1000
goto_if_false @SMOKE3_3272
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_3272
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_3272
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_3272
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35414)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Char.StartFacialTalk($mc_strap, 10000)
Text.PrintNow('SMO3_BB', 5000, 1)
101@ = 0
skip_cutscene_start_internal @SMOKE3_8003
Task.LeaveCar($mc_strap, 78@)
wait 100
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_3234
Task.LookAtChar($mc_strap, $stattreadstamina_ctr, 3500)

:SMOKE3_3234
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_3258
Task.LeaveCar($stattreadstamina_ctr, 78@)

:SMOKE3_3258
TIMERA = 0
81@ = 3

:SMOKE3_3272
if 
  81@ == 3
goto_if_false @SMOKE3_3545
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SMOKE3_3545
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_3545
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_3545
if 
  not Char.IsInAnyCar($mc_strap)
goto_if_false @SMOKE3_3545
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE3_3545
Camera.SetFixedPosition(1778.61, -1938.675, 12.9064, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1779.275, -1937.944, 13.0581, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 1783.92, -1936.33, 12.6)
Char.SetHeading($stattreadstamina_ctr, 117.0)
Task.GoStraightToCoord($mc_strap, 1775.3, -1939.23, 12.9, MoveState.Walk, -1)
64@ = Sequence.Open()
Task.LookAtChar(-1, $mc_strap, 10000)
Task.GoStraightToCoord(-1, 1776.63, -1940.18, 13.66, MoveState.Walk, -1)
Sequence.Close(64@)
Char.PerformSequence($stattreadstamina_ctr, 64@)
Sequence.Clear(64@)
TIMERA = 0
81@ = 4

:SMOKE3_3545
if 
  81@ == 4
goto_if_false @SMOKE3_3955
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SMOKE3_3955
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_3955
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_3955
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_3955
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_3955
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_3955
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_3955
if 
  not Char.IsSittingInAnyCar($mc_strap)
goto_if_false @SMOKE3_3955
if 
  not Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE3_3955
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_3955
if 
  TIMERA > 3000
goto_if_false @SMOKE3_3955
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
Text.PrintNow('SMO3_BC', 5000, 1)
Camera.SetFixedPosition(1732.47, -1945.045, 12.9171, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1731.492, -1945.129, 13.1107, SwitchType.JumpCut)
Char.SetCoordinates($mc_strap, 1737.2, -1944.2, 12.6)
Char.SetHeading($mc_strap, 88.5)
Char.SetCoordinates($stattreadstamina_ctr, 1737.2, -1945.7, 12.6)
Char.SetHeading($stattreadstamina_ctr, 88.5)
Task.GoStraightToCoord($mc_strap, 1718.04, -1944.2, 13.6, MoveState.Walk, -1)
Task.GoStraightToCoord($stattreadstamina_ctr, 1718.04, -1945.7, 13.6, MoveState.Walk, -1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35415)
TIMERA = 0
81@ = 5

:SMOKE3_3955
if 
  81@ == 5
goto_if_false @SMOKE3_4043
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_4043
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35416)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
Text.PrintNow('SMO3_BD', 5000, 1)
81@ = 6

:SMOKE3_4043
if 
  81@ == 6
goto_if_false @SMOKE3_4154
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_4154
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35417)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_4140
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk($mc_strap, 3000)
Text.PrintNow('SMO3_BE', 5000, 1)

:SMOKE3_4140
TIMERA = 0
81@ = 7

:SMOKE3_4154
if 
  81@ == 7
goto_if_false @SMOKE3_4615
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_4615
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_4615
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_4615
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_4615
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_4615
if 
  TIMERA > 1500
goto_if_false @SMOKE3_4615
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_4615
Camera.SetFixedPosition(1726.028, -1944.924, 13.9132, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1725.059, -1945.168, 13.9694, SwitchType.JumpCut)
Task.PlayAnim(35@, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(34@, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(37@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
Task.PlayAnim(36@, "PRTIAL_GNGTLKG", "GANGS", 4.0, True, False, False, False, -1)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1724.08, -1946.27, 12.5)
Char.SetHeading($stattreadstamina_ctr, 86.93)
Char.ClearTasksImmediately($mc_strap)
Char.SetCoordinates($mc_strap, 1723.93, -1944.52, 12.5)
Char.SetHeading($mc_strap, 93.27)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
Text.PrintNow('SMO3_BF', 5000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35418)
TIMERA = 0
81@ = 8

:SMOKE3_4615
if 
  81@ == 8
goto_if_false @SMOKE3_4834
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_4834
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_4834
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_4834
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_4834
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_4834
38@ = Char.GetScriptTaskStatus(34@, 1541)
if or
  is_int_lvar_equal_to_constant 38@ == 7
  TIMERA > 1750
goto_if_false @SMOKE3_4834
Task.LookAtChar(34@, $mc_strap, 10000)
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_4788
Task.LookAtChar(35@, $stattreadstamina_ctr, 10000)

:SMOKE3_4788
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_4815
Task.LookAtChar(36@, $stattreadstamina_ctr, 10000)

:SMOKE3_4815
Char.ClearTasksImmediately($stattreadstamina_ctr)
TIMERA = 0
81@ = 9

:SMOKE3_4834
if 
  81@ == 9
goto_if_false @SMOKE3_5140
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_5140
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_5140
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_5140
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_5140
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_5140
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_5140
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_5140
if 
  TIMERA > 0
goto_if_false @SMOKE3_5140
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35419)
Camera.SetFixedPosition(1721.344, -1943.875, 13.8732, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1722.211, -1944.373, 13.8443, SwitchType.JumpCut)
Task.LookAtChar($stattreadstamina_ctr, $mc_strap, 10000)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk($mc_strap, 3000)
Text.PrintNow('SMO3_BG', 5000, 1)
Task.PlayAnim($mc_strap, "PRTIAL_GNGTLKC", "GANGS", 4.0, False, False, False, False, -1)
TIMERB = 0
81@ = 10

:SMOKE3_5140
if 
  81@ == 10
goto_if_false @SMOKE3_5820
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_5820
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_5820
Text.ClearPrints
54@ = Car.Create(468, 1778.624, -1939.905, 12.5598)
Car.SetHeading(54@, 176.7993)
Car.SetHealth(54@, 10000)
Car.SetCanBurstTires(54@, False)
Car.SetProofs(54@, True, True, True, True, True)
Car.ChangeColor(54@, 6, 6)
114@ = 1
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_5301
Car.SetHealth(78@, 10000)
Car.SetCanBurstTires(78@, False)

:SMOKE3_5301
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_5379
Char.ClearTasksImmediately(34@)
Char.SetCoordinates(34@, 1682.254, -1953.64, 20.985)
Char.SetHeading(34@, 266.36)
Task.GoStraightToCoord(34@, 1799.49, -1953.73, 12.23, MoveState.Run, 50000)

:SMOKE3_5379
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_5457
Char.ClearTasksImmediately(35@)
Char.SetCoordinates(35@, 1679.256, -1953.635, 20.985)
Char.SetHeading(35@, 266.36)
Task.GoStraightToCoord(35@, 1799.49, -1953.73, 12.23, MoveState.Run, 50000)

:SMOKE3_5457
wait 250
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_5540
Char.ClearTasksImmediately(36@)
Char.SetCoordinates(36@, 1676.74, -1953.59, 20.985)
Char.SetHeading(36@, 266.36)
Task.GoStraightToCoord(36@, 1799.49, -1953.73, 12.23, MoveState.Run, 50000)

:SMOKE3_5540
wait 250
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_5623
Char.ClearTasksImmediately(37@)
Char.SetCoordinates(37@, 1675.3, -1953.67, 20.985)
Char.SetHeading(37@, 266.389)
Task.GoStraightToCoord(37@, 1799.49, -1953.73, 12.23, MoveState.Run, 50000)

:SMOKE3_5623
if 
  not Car.IsDead(40@)
goto_if_false @SMOKE3_5656
Train.SetCruiseSpeed(40@, 15.0)
86@ = 1

:SMOKE3_5656
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(1703.548, -1951.496, 16.9714, 1750.548, -1951.496, 16.9714, 10000, True)
Camera.SetVectorTrack(1702.549, -1951.514, 16.9159, 1702.549, -1951.514, 16.9159, 10000, True)
TIMERB = 0
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_5813
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($mc_strap)
Char.SetCoordinates($stattreadstamina_ctr, 1715.0, -1946.79, 12.6)
Char.SetCoordinates($mc_strap, 1712.36, -1944.47, 12.6)

:SMOKE3_5813
81@ = 11

:SMOKE3_5820
if 
  81@ > 10
goto_if_false @SMOKE3_6761
if 
  14 > 81@
goto_if_false @SMOKE3_6761
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_6761
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_6761
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_6761
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_6761
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_6761
if 
  not Car.IsDead(43@)
goto_if_false @SMOKE3_6761
if 
  not Car.IsDead(44@)
goto_if_false @SMOKE3_6761
46@, 47@, 48@ = Car.GetOffsetInWorldCoords(43@, 0.0, 9.84, 3.0)
49@, 50@, 51@ = Car.GetOffsetInWorldCoords(44@, 0.0, 9.84, 3.0)
if 
  81@ <= 11
goto_if_false @SMOKE3_6073
$x, $y, $z = Char.GetCoordinates(35@)
Camera.PointAtPoint($x, $y, 18.0, SwitchType.JumpCut)

:SMOKE3_6073
if 
  82@ == 0
goto_if_false @SMOKE3_6187
if 
  Char.LocateAnyMeans3D(34@, 49@, 50@, 51@, 2.0, 2.0, 2.0, False)
goto_if_false @SMOKE3_6187
Task.PlayAnim($stattreadstamina_ctr, "FUCKU", "PED", 4.0, False, False, False, False, -1)
set_lvar_int_to_lvar_int 61@ = 34@
gosub @SMOKE3_19945
82@ = 1

:SMOKE3_6187
if 
  82@ == 1
goto_if_false @SMOKE3_6269
if 
  Char.LocateAnyMeans3D(34@, 46@, 47@, 48@, 2.0, 2.0, 2.0, False)
goto_if_false @SMOKE3_6269
set_lvar_int_to_lvar_int 61@ = 34@
gosub @SMOKE3_19945
82@ = 2

:SMOKE3_6269
if 
  83@ == 0
goto_if_false @SMOKE3_6351
if 
  Char.LocateAnyMeans3D(35@, 49@, 50@, 51@, 2.0, 2.0, 2.0, False)
goto_if_false @SMOKE3_6351
set_lvar_int_to_lvar_int 61@ = 35@
gosub @SMOKE3_19945
83@ = 1

:SMOKE3_6351
if 
  83@ == 1
goto_if_false @SMOKE3_6433
if 
  Char.LocateAnyMeans3D(35@, 46@, 47@, 48@, 2.0, 2.0, 2.0, False)
goto_if_false @SMOKE3_6433
set_lvar_int_to_lvar_int 61@ = 35@
gosub @SMOKE3_19945
83@ = 2

:SMOKE3_6433
if 
  84@ == 0
goto_if_false @SMOKE3_6515
if 
  Char.LocateAnyMeans3D(36@, 49@, 50@, 51@, 2.0, 2.0, 2.0, False)
goto_if_false @SMOKE3_6515
set_lvar_int_to_lvar_int 61@ = 36@
gosub @SMOKE3_19945
84@ = 1

:SMOKE3_6515
if 
  84@ == 1
goto_if_false @SMOKE3_6597
if 
  Char.LocateAnyMeans3D(36@, 46@, 47@, 48@, 2.0, 2.0, 2.0, False)
goto_if_false @SMOKE3_6597
set_lvar_int_to_lvar_int 61@ = 36@
gosub @SMOKE3_19945
84@ = 2

:SMOKE3_6597
if 
  85@ == 0
goto_if_false @SMOKE3_6679
if 
  Char.LocateAnyMeans3D(37@, 49@, 50@, 51@, 2.0, 2.0, 2.0, False)
goto_if_false @SMOKE3_6679
set_lvar_int_to_lvar_int 61@ = 37@
gosub @SMOKE3_19945
85@ = 1

:SMOKE3_6679
if 
  85@ == 1
goto_if_false @SMOKE3_6761
if 
  Char.LocateAnyMeans3D(37@, 46@, 47@, 48@, 2.0, 2.0, 2.0, False)
goto_if_false @SMOKE3_6761
set_lvar_int_to_lvar_int 61@ = 37@
gosub @SMOKE3_19945
85@ = 2

:SMOKE3_6761
if 
  81@ == 11
goto_if_false @SMOKE3_6895
if 
  TIMERB > 4200
goto_if_false @SMOKE3_6895
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_6895
Task.GoStraightToCoord($mc_strap, 1765.99, -1944.25, 13.75, MoveState.Run, 100000)
Task.GoStraightToCoord($stattreadstamina_ctr, 1771.1, -1946.12, 13.75, MoveState.Run, 100000)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMO3_BH', 5000, 1)
81@ = 12

:SMOKE3_6895
if 
  81@ == 12
goto_if_false @SMOKE3_6941
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_6941
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
81@ = 13

:SMOKE3_6941
if 
  81@ == 13
goto_if_false @SMOKE3_7016
if 
  TIMERB > 8000
goto_if_false @SMOKE3_7016
Camera.DoFade(500, Fade.Out)

:SMOKE3_6985
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE3_7009
wait 0
goto @SMOKE3_6985

:SMOKE3_7009
81@ = 14

:SMOKE3_7016
if 
  81@ == 14
goto_if_false @SMOKE3_7962
if 
  not Car.IsDead(40@)
goto_if_false @SMOKE3_7962
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_7962
Train.SetCoordinates(40@, 1880.06, -1953.67, 12.44)
Train.SetCruiseSpeed(40@, 10.0)
Char.Delete(34@)
Char.Delete(35@)
Char.Delete(36@)
Char.Delete(37@)
34@ = Char.Create(PedType.Mission1, 108, 1682.618, -1957.88, 20.9453)
set_lvar_int_to_lvar_int 61@ = 34@
gosub @SMOKE3_20002
Char.SetSuffersCriticalHits(34@, False)
35@ = Char.Create(PedType.Mission1, 110, 1682.99, -1947.17, 20.03)
set_lvar_int_to_lvar_int 61@ = 35@
gosub @SMOKE3_20002
Char.SetSuffersCriticalHits(35@, False)
36@ = Char.Create(PedType.Mission1, 110, 1681.618, -1957.88, 20.9453)
set_lvar_int_to_lvar_int 61@ = 36@
gosub @SMOKE3_20002
Char.SetSuffersCriticalHits(36@, False)
37@ = Char.Create(PedType.Mission4, 110, 1682.5, -1945.17, 20.033)
set_lvar_int_to_lvar_int 61@ = 37@
gosub @SMOKE3_20002
Char.SetSuffersCriticalHits(37@, False)
Char.SetProofs(34@, False, False, True, False, False)
Char.SetProofs(35@, False, False, True, False, False)
Char.SetProofs(36@, False, False, True, False, False)
Char.AttachToCar(34@, 40@, 0.0, 5.0, 3.0, 0, 360.0, WeaponType.Mp5)
Char.AttachToCar(35@, 40@, 0.0, 2.0, 3.0, 0, 360.0, WeaponType.Mp5)
Char.AttachToCar(36@, 40@, 0.0, -3.0, 3.0, 0, 360.0, WeaponType.Mp5)
Char.AttachToCar(37@, 40@, 0.0, -6.1, 3.0, 0, 360.0, WeaponType.Mp5)
Char.SetDecisionMaker(34@, 75@)
Char.SetDecisionMaker(35@, 75@)
Char.SetDecisionMaker(36@, 75@)
Char.SetDecisionMaker(37@, 76@)
Char.SetAccuracy(34@, 10)
Char.SetAccuracy(35@, 10)
Char.SetAccuracy(36@, 10)
Char.SetAccuracy(37@, 10)
Char.SetShootRate(34@, 20)
Char.SetShootRate(35@, 20)
Char.SetShootRate(36@, 30)
Char.SetShootRate(37@, 20)
if 
  98@ == 0
goto_if_false @SMOKE3_7627
Char.SetMaxHealth(34@, 500)
Char.SetMaxHealth(35@, 500)
Char.SetMaxHealth(36@, 500)
Char.SetHealth(34@, 500)
Char.SetHealth(35@, 500)
Char.SetHealth(36@, 500)

:SMOKE3_7627
if 
  98@ == 1
goto_if_false @SMOKE3_7693
Char.SetMaxHealth(34@, 480)
Char.SetMaxHealth(35@, 500)
Char.SetMaxHealth(36@, 450)
Char.SetHealth(34@, 480)
Char.SetHealth(35@, 500)
Char.SetHealth(36@, 450)

:SMOKE3_7693
if 
  98@ == 2
goto_if_false @SMOKE3_7759
Char.SetMaxHealth(34@, 450)
Char.SetMaxHealth(35@, 450)
Char.SetMaxHealth(36@, 450)
Char.SetHealth(34@, 450)
Char.SetHealth(35@, 450)
Char.SetHealth(36@, 450)

:SMOKE3_7759
if 
  98@ == 3
goto_if_false @SMOKE3_7825
Char.SetMaxHealth(34@, 350)
Char.SetMaxHealth(35@, 350)
Char.SetMaxHealth(36@, 350)
Char.SetHealth(34@, 350)
Char.SetHealth(35@, 350)
Char.SetHealth(36@, 350)

:SMOKE3_7825
if 
  98@ > 3
goto_if_false @SMOKE3_7891
Char.SetMaxHealth(34@, 300)
Char.SetMaxHealth(35@, 300)
Char.SetMaxHealth(36@, 300)
Char.SetHealth(34@, 300)
Char.SetHealth(35@, 300)
Char.SetHealth(36@, 300)

:SMOKE3_7891
Char.SetProofs(37@, True, True, True, True, True)
119@ = Blip.AddForChar(34@)
120@ = Blip.AddForChar(35@)
121@ = Blip.AddForChar(36@)
122@ = Blip.AddForChar(37@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($mc_strap)
TIMERA = 0
81@ = 15

:SMOKE3_7962
if 
  81@ == 15
goto_if_false @SMOKE3_10214
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_10214
101@ = 1

:SMOKE3_8003
skip_cutscene_end 
if 
  101@ == 0
goto_if_false @SMOKE3_9413
Camera.DoFade(0, Fade.Out)

:SMOKE3_8029
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE3_8053
wait 0
goto @SMOKE3_8029

:SMOKE3_8053
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Char.Delete(34@)
Char.Delete(35@)
Char.Delete(36@)
Char.Delete(37@)
Blip.Remove(119@)
Blip.Remove(120@)
Blip.Remove(121@)
Blip.Remove(122@)
World.DeleteMissionTrains
Object.Delete(52@)
52@ = Object.CreateNoOffset(#IMMMCRAN, 2194.438, -1912.756, 11.907)
Object.SetHeading(52@, 0.0)
40@ = Train.Create(11, 1880.06, -1953.67, 12.44, False)
Train.SetForcedToSlowDown(40@, False)
Train.SetSpeed(40@, 10.0)
Train.SetCruiseSpeed(40@, 10.0)
43@ = Train.GetCarriage(40@, 1)
44@ = Train.GetCarriage(40@, 2)
Car.SetProofs(40@, True, True, True, True, True)
Car.LockDoors(40@, CarLock.Locked)
Car.LockDoors(43@, CarLock.Locked)
Car.LockDoors(44@, CarLock.Locked)
Car.SetProofs(43@, True, True, True, True, True)
Car.SetProofs(44@, True, True, True, True, True)
34@ = Char.Create(PedType.Mission1, 108, 1682.618, -1957.88, 20.9453)
set_lvar_int_to_lvar_int 61@ = 34@
gosub @SMOKE3_20002
Char.SetSuffersCriticalHits(34@, False)
35@ = Char.Create(PedType.Mission1, 110, 1682.99, -1947.17, 20.03)
set_lvar_int_to_lvar_int 61@ = 35@
gosub @SMOKE3_20002
Char.SetSuffersCriticalHits(35@, False)
36@ = Char.Create(PedType.Mission1, 110, 1681.618, -1957.88, 20.9453)
set_lvar_int_to_lvar_int 61@ = 36@
gosub @SMOKE3_20002
Char.SetSuffersCriticalHits(36@, False)
37@ = Char.Create(PedType.Mission4, 110, 1682.5, -1945.17, 20.033)
set_lvar_int_to_lvar_int 61@ = 37@
gosub @SMOKE3_20002
Char.SetSuffersCriticalHits(37@, False)
Char.SetProofs(34@, False, False, True, False, False)
Char.SetProofs(35@, False, False, True, False, False)
Char.SetProofs(36@, False, False, True, False, False)
Char.AttachToCar(34@, 40@, 0.0, 5.0, 3.0, 0, 360.0, WeaponType.Mp5)
Char.AttachToCar(35@, 40@, 0.0, 2.0, 3.0, 0, 360.0, WeaponType.Mp5)
Char.AttachToCar(36@, 40@, 0.0, -3.0, 3.0, 0, 360.0, WeaponType.Mp5)
Char.AttachToCar(37@, 40@, 0.0, -6.1, 3.0, 0, 360.0, WeaponType.Mp5)
Char.SetDecisionMaker(34@, 75@)
Char.SetDecisionMaker(35@, 75@)
Char.SetDecisionMaker(36@, 75@)
Char.SetDecisionMaker(37@, 76@)
Char.SetAccuracy(34@, 10)
Char.SetAccuracy(35@, 10)
Char.SetAccuracy(36@, 10)
Char.SetAccuracy(37@, 10)
Char.SetShootRate(34@, 20)
Char.SetShootRate(35@, 20)
Char.SetShootRate(36@, 30)
Char.SetShootRate(37@, 20)
if 
  98@ == 0
goto_if_false @SMOKE3_8791
Char.SetMaxHealth(34@, 500)
Char.SetMaxHealth(35@, 500)
Char.SetMaxHealth(36@, 500)
Char.SetHealth(34@, 500)
Char.SetHealth(35@, 500)
Char.SetHealth(36@, 500)

:SMOKE3_8791
if 
  98@ == 1
goto_if_false @SMOKE3_8857
Char.SetMaxHealth(34@, 480)
Char.SetMaxHealth(35@, 500)
Char.SetMaxHealth(36@, 450)
Char.SetHealth(34@, 480)
Char.SetHealth(35@, 500)
Char.SetHealth(36@, 450)

:SMOKE3_8857
if 
  98@ == 2
goto_if_false @SMOKE3_8923
Char.SetMaxHealth(34@, 450)
Char.SetMaxHealth(35@, 450)
Char.SetMaxHealth(36@, 450)
Char.SetHealth(34@, 450)
Char.SetHealth(35@, 450)
Char.SetHealth(36@, 450)

:SMOKE3_8923
if 
  98@ == 3
goto_if_false @SMOKE3_8989
Char.SetMaxHealth(34@, 300)
Char.SetMaxHealth(35@, 350)
Char.SetMaxHealth(36@, 350)
Char.SetHealth(34@, 300)
Char.SetHealth(35@, 350)
Char.SetHealth(36@, 350)

:SMOKE3_8989
if 
  98@ > 3
goto_if_false @SMOKE3_9055
Char.SetMaxHealth(34@, 300)
Char.SetMaxHealth(35@, 300)
Char.SetMaxHealth(36@, 300)
Char.SetHealth(34@, 300)
Char.SetHealth(35@, 300)
Char.SetHealth(36@, 300)

:SMOKE3_9055
119@ = Blip.AddForChar(34@)
120@ = Blip.AddForChar(35@)
121@ = Blip.AddForChar(36@)
122@ = Blip.AddForChar(37@)
if 
  114@ == 0
goto_if_false @SMOKE3_9177
54@ = Car.Create(468, 1778.624, -1939.905, 12.5598)
Car.SetHeading(54@, 176.7993)
Car.SetHealth(54@, 10000)
Car.SetProofs(54@, True, True, True, True, True)
Car.SetCanBurstTires(54@, False)
Car.ChangeColor(54@, 6, 6)

:SMOKE3_9177
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_9208
Car.SetHealth(78@, 10000)
Car.SetCanBurstTires(78@, False)

:SMOKE3_9208
Char.SetProofs(37@, True, True, True, True, True)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_9322
if 
  Char.IsInAnyCar($mc_strap)
goto_if_false @SMOKE3_9292
Char.WarpFromCarToCoord($mc_strap, 1772.918, -1941.495, 12.567)
Char.SetHeading($mc_strap, 269.216)
goto @SMOKE3_9322

:SMOKE3_9292
Char.SetCoordinates($mc_strap, 1772.918, -1941.495, 12.567)
Char.SetHeading($mc_strap, 269.216)

:SMOKE3_9322
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE3_9375
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1774.065, -1943.003, 12.558)
Char.SetHeading($stattreadstamina_ctr, 263.195)
goto @SMOKE3_9405

:SMOKE3_9375
Char.SetCoordinates($stattreadstamina_ctr, 1774.065, -1943.003, 12.558)
Char.SetHeading($stattreadstamina_ctr, 263.195)

:SMOKE3_9405
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)

:SMOKE3_9413
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_9720
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(1)
Char.SetCoordinates($stattreadstamina_ctr, 1774.065, -1943.003, 12.558)
Char.SetHeading($stattreadstamina_ctr, 263.195)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_9516
Char.SetCoordinates($mc_strap, 1772.918, -1941.495, 12.567)
Char.SetHeading($mc_strap, 269.216)

:SMOKE3_9516
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($mc_strap)
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $mc_strap)
Group.SetSeparationRange($flag_cell_nation, 30.0)
77@ = DecisionMakerGroup.Load(0)
DecisionMakerGroup.ClearEventResponse(77@, 9)
DecisionMakerGroup.ClearEventResponse(77@, 41)
DecisionMakerGroup.ClearEventResponse(77@, 36)
Group.SetDecisionMaker($flag_cell_nation, 77@)
Char.SetRelationship($mc_strap, RelationshipType.Hate, PedType.Mission1)
Char.SetDecisionMaker($mc_strap, 74@)
Task.TogglePedThreatScanner($mc_strap, False, True, False)
DecisionMakerGroup.AddEventResponse(77@, 36, 1510, 0.0, 100.0, 0.0, 0.0, True, False)
DecisionMakerChar.AddEventResponse(74@, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
Player.SetGroupToFollowAlways($statbike_temp, True)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
World.SetCarDensityMultiplier(0.5)
World.SetPedDensityMultiplier(0.5)

:SMOKE3_9720
Text.ClearPrints
if 
  not Car.IsDead(54@)
goto_if_false @SMOKE3_9753
125@ = Blip.AddForCar(54@)
Blip.SetAsFriendly(125@, True)

:SMOKE3_9753
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_9791
Char.SetAccuracy(37@, 20)
set_lvar_int_to_lvar_int 61@ = 37@
gosub @SMOKE3_20043

:SMOKE3_9791
Path.SwitchRoadsOff(2261.14, -1141.45, 18.0, 2308.19, -1156.38, 35.0)
Path.SwitchRoadsOff(2270.69, -1391.75, 20.28, 2315.81, -1375.58, 26.88)
Path.SwitchRoadsOff(2257.3, -1491.95, 20.63, 2299.7, -1477.32, 26.12)
Path.SwitchRoadsOff(2235.25, -1656.59, 12.68, 2176.75, -1629.89, 15.0)
Path.SwitchRoadsOff(2221.43, -1721.07, 10.09, 2174.01, -172.72, 15.73)
Path.SwitchRoadsOff(2234.09, -1723.3, 14.0, 2178.22, -1742.47, 10.0)
Path.SwitchRoadsOff(2261.14, -1141.45, 18.0, 2308.19, -1156.38, 35.0)
Path.SwitchRoadsOff(1956.91, -1936.01, 10.07, 1965.61, -1978.99, 14.45)
Path.SwitchRoadsOff(2181.3, -1892.0, 10.0, 2222.36, -1897.71, 15.0)
Text.PrintNow('SMK3_2', 7000, 1)
Streaming.RemoveAnimation("GANGS")
Streaming.MarkModelAsNoLongerNeeded(109)
96@ = 1
80@ = 2
98@ += 1
102@ = 1
DecisionMakerChar.AddEventResponse(75@, 36, 1000, 0.0, 100.0, 0.0, 0.0, False, True)
Camera.DoFade(1000, Fade.In)
Car.MarkAsNoLongerNeeded(78@)
Camera.SetVehicleTweak(468, 1.0, 1.0, 0.12)
Streaming.MarkModelAsNoLongerNeeded(#TRNTRK8_LAS)
81@ = 14

:SMOKE3_10214
if 
  102@ == 1
goto_if_false @SMOKE3_10302
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_10302
if 
  Char.IsSittingInAnyCar($mc_strap)
goto_if_false @SMOKE3_10302
Blip.Remove(125@)
Char.GiveWeapon($mc_strap, WeaponType.Tec9, 99999)
Char.SetCurrentWeapon($mc_strap, WeaponType.Tec9)
Char.SetAccuracy($mc_strap, 70)
102@ = 2

:SMOKE3_10302
if 
  81@ == 14
goto_if_false @SMOKE3_10370
if 
  112@ == 0
goto_if_false @SMOKE3_10370
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE3_10370
Blip.Remove(125@)
Camera.SetPlayerInCarMode(3)
112@ = 1

:SMOKE3_10370
if 
  80@ == 2
goto_if_false @SMOKE3_16921
if 
  2 > 93@
goto_if_false @SMOKE3_10629
if 
  93@ == 0
goto_if_false @SMOKE3_10551
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2272.57, -1494.89, 40.0, 40.0, False)
goto_if_false @SMOKE3_10551
56@ = Car.Create(466, 2295.777, -1481.268, 22.91)
60@ = Char.CreateInsideCar(56@, PedType.CivMale, 108)
Car.SetHeading(56@, 88.47)
Car.GotoCoordinatesAccurate(56@, 2280.45, -1480.961, 22.483)
Car.SetCruiseSpeed(56@, 6.5)
Car.SetDrivingStyle(56@, DrivingMode.StopForCars)
93@ = 1

:SMOKE3_10551
if 
  93@ == 1
goto_if_false @SMOKE3_10629
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 2280.45, -1480.961, 50.0, 50.0, False)
goto_if_false @SMOKE3_10629
Car.MarkAsNoLongerNeeded(56@)
Char.MarkAsNoLongerNeeded(60@)
Streaming.MarkModelAsNoLongerNeeded(466)
93@ = 2

:SMOKE3_10629
if 
  not Car.IsDead(40@)
goto_if_false @SMOKE3_13944
if 
  96@ == 1
goto_if_false @SMOKE3_10785
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 40@, 50.0, 50.0, False)
goto_if_false @SMOKE3_10785
if 
  97@ == 1
goto_if_false @SMOKE3_10722
Train.SetCruiseSpeed(40@, 15.0)

:SMOKE3_10722
if 
  97@ > 1
goto_if_false @SMOKE3_10750
Train.SetCruiseSpeed(40@, 18.0)

:SMOKE3_10750
if 
  97@ == 0
goto_if_false @SMOKE3_10778
Train.SetCruiseSpeed(40@, 10.0)

:SMOKE3_10778
96@ = 2

:SMOKE3_10785
if 
  96@ == 2
goto_if_false @SMOKE3_10876
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 40@, 45.0, 45.0, False)
goto_if_false @SMOKE3_10876
if 
  97@ == 0
goto_if_false @SMOKE3_10859
97@ = 1

:SMOKE3_10859
Train.SetCruiseSpeed(40@, 28.0)
96@ = 1

:SMOKE3_10876
if 
  96@ == 1
goto_if_false @SMOKE3_10977
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 40@, 20.0, 20.0, False)
goto_if_false @SMOKE3_10977
if 
  97@ > 1
goto_if_false @SMOKE3_10960
Train.SetCruiseSpeed(40@, 32.5)
goto @SMOKE3_10970

:SMOKE3_10960
Train.SetCruiseSpeed(40@, 30.0)

:SMOKE3_10970
96@ = 3

:SMOKE3_10977
if 
  96@ == 3
goto_if_false @SMOKE3_11033
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 40@, 20.0, 20.0, False)
goto_if_false @SMOKE3_11033
96@ = 2

:SMOKE3_11033
if 
  15 > 91@
goto_if_false @SMOKE3_11773
if 
  91@ == 0
goto_if_false @SMOKE3_11250
if 
  Car.Locate2D(40@, 2282.12, -1439.76, 20.0, 20.0, False)
goto_if_false @SMOKE3_11250
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 2289.69, -1034.14, 20.0, 20.0, False)
goto_if_false @SMOKE3_11243
41@ = Train.Create(11, 2289.69, -1034.14, 26.29, True)
Train.SetSpeed(41@, 30.0)
Train.SetCruiseSpeed(41@, 15.0)
53@ = Object.Create(#IMY_TRACK_BARRIER, 2151.289, -664.906, 52.1)
Object.SetHeading(53@, 50.36)
97@ = 2
91@ = 1
goto @SMOKE3_11250

:SMOKE3_11243
91@ = 15

:SMOKE3_11250
if 
  91@ == 1
goto_if_false @SMOKE3_11339
if 
  not Car.IsDead(41@)
goto_if_false @SMOKE3_11339
if 
  Car.Locate2D(41@, 2288.31, -1408.91, 20.0, 20.0, False)
goto_if_false @SMOKE3_11339
Train.SetCruiseSpeed(41@, 0.0)
91@ = 2

:SMOKE3_11339
if 
  91@ == 2
goto_if_false @SMOKE3_11432
if 
  not Car.IsDead(41@)
goto_if_false @SMOKE3_11432
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 41@, 40.0, 40.0, False)
goto_if_false @SMOKE3_11432
if 
  not Car.IsOnScreen(41@)
goto_if_false @SMOKE3_11432
Train.Delete(41@)
91@ = 3

:SMOKE3_11432
if 
  91@ == 3
goto_if_false @SMOKE3_11591
if 
  Car.Locate2D(40@, 2176.87, -689.51, 20.0, 20.0, False)
goto_if_false @SMOKE3_11591
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 2283.36, -336.9, 30.0, 30.0, False)
goto_if_false @SMOKE3_11584
41@ = Train.Create(11, 2283.36, -336.9, 37.27, True)
Train.SetSpeed(41@, 30.0)
Train.SetCruiseSpeed(41@, 15.0)
91@ = 4
goto @SMOKE3_11591

:SMOKE3_11584
91@ = 15

:SMOKE3_11591
if 
  91@ == 4
goto_if_false @SMOKE3_11680
if 
  not Car.IsDead(41@)
goto_if_false @SMOKE3_11680
if 
  Car.Locate2D(41@, 2052.08, -583.31, 20.0, 20.0, False)
goto_if_false @SMOKE3_11680
Train.SetCruiseSpeed(41@, 0.0)
91@ = 5

:SMOKE3_11680
if 
  91@ == 5
goto_if_false @SMOKE3_11773
if 
  not Car.IsDead(41@)
goto_if_false @SMOKE3_11773
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 41@, 40.0, 40.0, False)
goto_if_false @SMOKE3_11773
if 
  not Car.IsOnScreen(41@)
goto_if_false @SMOKE3_11773
Train.Delete(41@)
91@ = 6

:SMOKE3_11773
if 
  104@ == 0
goto_if_false @SMOKE3_12085
if 
  Car.Locate2D(40@, 2198.0, -1913.0, 12.0, 12.0, False)
goto_if_false @SMOKE3_12085
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_11852
Task.Duck(34@, -1)

:SMOKE3_11852
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_11875
Task.Duck(35@, -1)

:SMOKE3_11875
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_11898
Task.Duck(36@, -1)

:SMOKE3_11898
57@ = Car.Create(466, 2200.07, -1731.94, 12.28)
Car.SetHeading(57@, 277.116)
58@ = Char.Create(PedType.Mission3, 7, 2201.55, -1728.59, 12.43)
Char.SetHeading(58@, 285.1)
59@ = Char.Create(PedType.Mission3, 7, 2202.93, -1728.36, 12.43)
Char.SetHeading(59@, 393.56)
Task.PlayAnim(58@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
Task.PlayAnim(59@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
97@ = 1
104@ = 1

:SMOKE3_12085
if 
  104@ == 1
goto_if_false @SMOKE3_12241
if 
  not Car.Locate2D(40@, 2198.0, -1913.0, 12.0, 12.0, False)
goto_if_false @SMOKE3_12241
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_12172
set_lvar_int_to_lvar_int 61@ = 34@
gosub @SMOKE3_20002

:SMOKE3_12172
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_12203
set_lvar_int_to_lvar_int 61@ = 35@
gosub @SMOKE3_20002

:SMOKE3_12203
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_12234
set_lvar_int_to_lvar_int 61@ = 36@
gosub @SMOKE3_20002

:SMOKE3_12234
104@ = 2

:SMOKE3_12241
if 
  104@ == 2
goto_if_false @SMOKE3_12373
if 
  Car.Locate2D(40@, 2285.58, -1353.75, 20.0, 20.0, False)
goto_if_false @SMOKE3_12373
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_12320
Task.Duck(34@, -1)

:SMOKE3_12320
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_12343
Task.Duck(35@, -1)

:SMOKE3_12343
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_12366
Task.Duck(36@, -1)

:SMOKE3_12366
104@ = 3

:SMOKE3_12373
if 
  104@ == 3
goto_if_false @SMOKE3_12582
if 
  not Car.Locate2D(40@, 2285.58, -1353.75, 20.0, 20.0, False)
goto_if_false @SMOKE3_12582
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_12460
set_lvar_int_to_lvar_int 61@ = 34@
gosub @SMOKE3_20002

:SMOKE3_12460
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_12491
set_lvar_int_to_lvar_int 61@ = 35@
gosub @SMOKE3_20002

:SMOKE3_12491
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_12522
set_lvar_int_to_lvar_int 61@ = 36@
gosub @SMOKE3_20002

:SMOKE3_12522
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_12543
Task.Die(37@)

:SMOKE3_12543
Object.Delete(52@)
Streaming.MarkModelAsNoLongerNeeded(#IMMMCRAN)
Car.MarkAsNoLongerNeeded(57@)
Char.MarkAsNoLongerNeeded(58@)
Char.MarkAsNoLongerNeeded(59@)
105@ = 1
104@ = 4

:SMOKE3_12582
if 
  104@ == 4
goto_if_false @SMOKE3_12691
if 
  Car.Locate2D(40@, 2121.0, -361.0, 18.0, 18.0, False)
goto_if_false @SMOKE3_12691
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_12661
Task.Duck(34@, -1)

:SMOKE3_12661
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_12684
Task.Duck(36@, -1)

:SMOKE3_12684
104@ = 5

:SMOKE3_12691
if 
  104@ == 5
goto_if_false @SMOKE3_12816
if 
  not Car.Locate2D(40@, 2121.0, -361.0, 18.0, 18.0, False)
goto_if_false @SMOKE3_12816
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_12778
set_lvar_int_to_lvar_int 61@ = 34@
gosub @SMOKE3_20002

:SMOKE3_12778
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_12809
set_lvar_int_to_lvar_int 61@ = 36@
gosub @SMOKE3_20002

:SMOKE3_12809
104@ = 6

:SMOKE3_12816
if 
  104@ == 6
goto_if_false @SMOKE3_12886
if 
  not Car.Locate2D(40@, 2121.0, -361.0, 18.0, 18.0, False)
goto_if_false @SMOKE3_12886
97@ = 3
104@ = 7

:SMOKE3_12886
if 
  105@ == 1
goto_if_false @SMOKE3_12973
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_12973
if 
  Car.Locate2D(40@, 2285.53, -1120.59, 20.0, 20.0, False)
goto_if_false @SMOKE3_12973
Char.SetDecisionMaker(35@, 76@)
105@ = 2

:SMOKE3_12973
if 
  105@ == 2
goto_if_false @SMOKE3_13098
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_13098
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 40@, 30.0, 30.0, False)
goto_if_false @SMOKE3_13098
Task.PlayAnimNonInterruptable(35@, "TRAN_STMB", "TRAIN", 4.0, False, False, False, True, -1)
Char.SetProofs(35@, True, True, True, True, True)
105@ = 3

:SMOKE3_13098
if 
  105@ == 3
goto_if_false @SMOKE3_13250
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_13250
if 
  Char.IsPlayingAnim(35@, "TRAN_STMB")
goto_if_false @SMOKE3_13250
39@ = Char.GetAnimCurrentTime(35@, "TRAN_STMB")
if 
  39@ == 1.0
goto_if_false @SMOKE3_13250
Task.PlayAnimNonInterruptable(35@, "TRAN_HNG", "TRAIN", 4.0, True, False, False, False, -1)
TIMERA = 0
105@ = 4

:SMOKE3_13250
if 
  105@ == 4
goto_if_false @SMOKE3_13348
if 
  TIMERA > 10000
goto_if_false @SMOKE3_13348
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_13348
Task.PlayAnimNonInterruptable(35@, "TRAN_GTUP", "TRAIN", 4.0, False, False, False, False, -1)
105@ = 5

:SMOKE3_13348
if 
  105@ == 5
goto_if_false @SMOKE3_13503
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_13503
if 
  Char.IsPlayingAnim(35@, "TRAN_GTUP")
goto_if_false @SMOKE3_13503
39@ = Char.GetAnimCurrentTime(35@, "TRAN_GTUP")
if 
  39@ == 1.0
goto_if_false @SMOKE3_13503
Char.SetDecisionMaker(35@, 75@)
set_lvar_int_to_lvar_int 61@ = 35@
gosub @SMOKE3_20002
Streaming.RemoveAnimation("TRAIN")
Char.SetProofs(35@, False, False, False, False, False)
105@ = 6

:SMOKE3_13503
if 
  105@ > 0
goto_if_false @SMOKE3_13571
if 
  6 > 105@
goto_if_false @SMOKE3_13571
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_13571
45@ = Car.GetHeading(40@)
Char.SetHeading(35@, 45@)

:SMOKE3_13571
if 
  106@ == 0
goto_if_false @SMOKE3_13819
if 
  Object.DoesExist(52@)
goto_if_false @SMOKE3_13788
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_13781
if 
  Char.LocateAnyMeans2D(37@, 2197.53, -1913.39, 3.0, 3.0, False)
goto_if_false @SMOKE3_13781
Task.TogglePedThreatScanner(37@, False, False, False)
Char.DetachFromCar(37@)
Char.SetCollision(37@, False)
Char.AttachToObject(37@, 52@, 2.85, -0.7, 5.9, 0, 360.0, WeaponType.Unarmed)
Char.SetHeading(37@, 0.0)
Task.PlayAnimNonInterruptable(37@, "TRAN_OUCH", "TRAIN", 4.0, False, False, False, True, -1)
90@ = 1
106@ = 1
Blip.Remove(122@)

:SMOKE3_13781
goto @SMOKE3_13819

:SMOKE3_13788
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_13819
Char.SetProofs(37@, False, False, False, False, False)

:SMOKE3_13819
if 
  106@ == 1
goto_if_false @SMOKE3_13944
if 
  Object.DoesExist(52@)
goto_if_false @SMOKE3_13885
45@ = Object.GetHeading(52@)
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_13885
Char.SetHeading(37@, 45@)

:SMOKE3_13885
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_13944
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 37@, 50.0, 50.0, False)
goto_if_false @SMOKE3_13944
Char.RemoveElegantly(37@)
106@ = 2

:SMOKE3_13944
if 
  87@ == 0
goto_if_false @SMOKE3_14013
if 
  Char.IsDead(34@)
goto_if_false @SMOKE3_14013
87@ = 1
116@ += 1
if 
  Blip.DoesExist(119@)
goto_if_false @SMOKE3_14013
Blip.Remove(119@)

:SMOKE3_14013
if 
  88@ == 0
goto_if_false @SMOKE3_14082
if 
  Char.IsDead(35@)
goto_if_false @SMOKE3_14082
88@ = 1
116@ += 1
if 
  Blip.DoesExist(120@)
goto_if_false @SMOKE3_14082
Blip.Remove(120@)

:SMOKE3_14082
if 
  89@ == 0
goto_if_false @SMOKE3_14151
if 
  Char.IsDead(36@)
goto_if_false @SMOKE3_14151
89@ = 1
116@ += 1
if 
  Blip.DoesExist(121@)
goto_if_false @SMOKE3_14151
Blip.Remove(121@)

:SMOKE3_14151
if 
  90@ == 0
goto_if_false @SMOKE3_14220
if 
  Char.IsDead(37@)
goto_if_false @SMOKE3_14220
90@ = 1
116@ += 1
if 
  Blip.DoesExist(122@)
goto_if_false @SMOKE3_14220
Blip.Remove(122@)

:SMOKE3_14220
if 
  108@ == 0
goto_if_false @SMOKE3_14285
if 
  not Car.IsDead(57@)
goto_if_false @SMOKE3_14285
if 
  Car.HasBeenDamagedByCar(57@, 40@)
goto_if_false @SMOKE3_14285
Car.Explode(57@)
108@ = 1

:SMOKE3_14285
if 
  108@ == 1
goto_if_false @SMOKE3_14315
Car.MarkAsNoLongerNeeded(57@)
108@ = 2

:SMOKE3_14315
if 
  87@ == 1
goto_if_false @SMOKE3_14907
if 
  88@ == 1
goto_if_false @SMOKE3_14907
if 
  89@ == 1
goto_if_false @SMOKE3_14907
if 
  90@ == 1
goto_if_false @SMOKE3_14907
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_14507
if 
  Char.IsGroupMember($mc_strap, $flag_cell_nation)
goto_if_false @SMOKE3_14484
124@ = Blip.AddForCoord(2061.68, -1694.71, 12.554)
107@ = 1
109@ = 1
110@ = 0
111@ = 0
115@ = 1
goto @SMOKE3_14507

:SMOKE3_14484
115@ = 2
Text.PrintNow('SMK3_18', 5000, 1)

:SMOKE3_14507
World.SetRailtrackResistanceMult(-1.0)
Char.MarkAsNoLongerNeeded(34@)
Char.MarkAsNoLongerNeeded(35@)
Char.MarkAsNoLongerNeeded(36@)
Char.MarkAsNoLongerNeeded(37@)
Streaming.MarkModelAsNoLongerNeeded(108)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(538)
Streaming.MarkModelAsNoLongerNeeded(570)
Train.MarkAsNoLongerNeeded(40@)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Path.SwitchRoadsOn(2261.14, -1141.45, 18.0, 2308.19, -1156.38, 35.0)
Path.SwitchRoadsOn(2270.69, -1391.75, 20.28, 2315.81, -1375.58, 26.88)
Path.SwitchRoadsOn(2268.75, -1390.8, 20.86, 2330.03, -1375.53, 23.1)
Path.SwitchRoadsOn(2257.3, -1491.95, 20.63, 2299.7, -1477.32, 26.12)
Path.SwitchRoadsOn(2235.25, -1656.59, 12.68, 2176.75, -1629.89, 15.0)
Path.SwitchRoadsOn(2221.43, -1721.07, 10.09, 2174.01, -172.72, 15.73)
Path.SwitchRoadsOn(2234.09, -1723.3, 14.0, 2178.22, -1742.47, 10.0)
Path.SwitchRoadsOn(2261.14, -1141.45, 18.0, 2308.19, -1156.38, 35.0)
Path.SwitchRoadsOn(1956.91, -1936.01, 10.07, 1965.61, -1978.99, 14.45)
Path.SwitchRoadsOn(2181.3, -1892.0, 10.0, 2222.36, -1897.71, 15.0)
80@ = 3

:SMOKE3_14907
if 
  Char.IsDead($mc_strap)
goto_if_false @SMOKE3_14946
Text.PrintNow('SMK3_21', 5000, 1)
goto @SMOKE3_20097

:SMOKE3_14946
if 
  80@ == 2
goto_if_false @SMOKE3_15587
if 
  97@ == 0
goto_if_false @SMOKE3_15009
$on_footY = 320.0
$on_footZ = 320.0
goto @SMOKE3_15029

:SMOKE3_15009
$on_footY = 200.0
$on_footZ = 200.0

:SMOKE3_15029
if 
  not Car.IsDead(40@)
goto_if_false @SMOKE3_15587
if 
  not Car.IsOnScreen(40@)
goto_if_false @SMOKE3_15587
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 40@, $on_footY, $on_footZ, False)
goto_if_false @SMOKE3_15587
if or
  not Char.IsDead(34@)
  not Char.IsDead(35@)
  not Char.IsDead(36@)
  not Char.IsDead(37@)
goto_if_false @SMOKE3_15587
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
79@ = Streaming.GetAreaVisible()
if 
  79@ <> 0
goto_if_false @SMOKE3_15289
Camera.DoFade(250, Fade.Out)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_15191
Char.SetProofs($mc_strap, True, True, True, True, True)

:SMOKE3_15191
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE3_15215
wait 0
goto @SMOKE3_15191

:SMOKE3_15215
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_15289
Streaming.SetAreaVisible(0)
Char.FreezePosition($stattreadstamina_ctr, True)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($mc_strap)
Char.SetProofs($mc_strap, True, True, True, True, True)
Streaming.LoadScene($on_footY, $on_footZ, $in_carX)
Camera.DoFade(250, Fade.In)

:SMOKE3_15289
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_15364
109@ = 1
Camera.SetInFrontOfChar($mc_strap)
Task.WanderStandard($mc_strap)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($mc_strap)
World.ClearArea($on_footY, $on_footZ, 100.0, 100.0, False)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)

:SMOKE3_15364
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35451)

:SMOKE3_15373
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_15399
wait 0
goto @SMOKE3_15373

:SMOKE3_15399
Text.PrintNow('SMO3_MC', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)

:SMOKE3_15419
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_15445
wait 0
goto @SMOKE3_15419

:SMOKE3_15445
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  79@ <> 0
goto_if_false @SMOKE3_15544
Camera.DoFade(500, Fade.Out)

:SMOKE3_15476
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE3_15500
wait 0
goto @SMOKE3_15476

:SMOKE3_15500
Streaming.SetAreaVisible(79@)
Char.FreezePosition($stattreadstamina_ctr, False)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
Streaming.LoadScene($on_footY, $on_footZ, $in_carX)
Camera.DoFade(250, Fade.In)

:SMOKE3_15544
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Char.Delete($mc_strap)
Text.PrintNow('SMK3_13', 5000, 1)
goto @SMOKE3_20097

:SMOKE3_15587
if 
  80@ == 2
goto_if_false @SMOKE3_16048
if 
  not Car.IsDead(40@)
goto_if_false @SMOKE3_16048
if 
  Car.Locate2D(40@, 2790.52, 223.63, 15.0, 15.0, False)
goto_if_false @SMOKE3_16048
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Train.SetSpeed(40@, 20.0)
Train.SetCruiseSpeed(40@, 20.0)
Camera.SetFixedPosition(2796.839, 222.9677, 10.7646, 0.0, 0.0, 0.0)
Camera.PointAtCar(40@, CameraMode.Fixed, SwitchType.JumpCut)
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE3_15802
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Car.SetCoordinates($stealth_help_flag, 2814.828, 154.135, 17.2)
Car.SetHeading($stealth_help_flag, 9.0)
Car.SetCruiseSpeed($stealth_help_flag, 0.0)
goto @SMOKE3_15832

:SMOKE3_15802
Char.SetCoordinates($stattreadstamina_ctr, 2814.828, 154.135, 17.2)
Char.SetHeading($stattreadstamina_ctr, 9.0)

:SMOKE3_15832
wait 3000
Camera.RestoreJumpcut
wait 0
109@ = 1
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_15890
Camera.SetInFrontOfChar($mc_strap)
Task.WanderStandard($mc_strap)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($mc_strap)

:SMOKE3_15890
World.ClearArea($on_footY, $on_footZ, 100.0, 100.0, False)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35451)

:SMOKE3_15927
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_15953
wait 0
goto @SMOKE3_15927

:SMOKE3_15953
Text.PrintNow('SMO3_MC', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)

:SMOKE3_15973
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_15999
wait 0
goto @SMOKE3_15973

:SMOKE3_15999
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Char.Delete($mc_strap)
Text.PrintNow('SMK3_20', 10000, 1)
goto @SMOKE3_20097

:SMOKE3_16048
if 
  109@ == 0
goto_if_false @SMOKE3_16921
if 
  Char.IsGroupMember($mc_strap, $flag_cell_nation)
goto_if_false @SMOKE3_16921
if 
  Char.IsSittingInAnyCar($mc_strap)
goto_if_false @SMOKE3_16921
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE3_16921
gosub @SMOKE3_19795
if 
  110@ == 0
goto_if_false @SMOKE3_16198
if 
  111@ == 0
goto_if_false @SMOKE3_16198
set_lvar_int_to_constant 128@ = 35420
set_lvar_text_label 129@s = 'SMO3_CA'
gosub @SMOKE3_19753
TIMERB = 0

:SMOKE3_16198
if 
  110@ == 1
goto_if_false @SMOKE3_16291
if 
  111@ == 0
goto_if_false @SMOKE3_16291
if 
  TIMERB > 4000
goto_if_false @SMOKE3_16291
set_lvar_int_to_constant 128@ = 35429
set_lvar_text_label 129@s = 'SMO3_EB'
gosub @SMOKE3_19753
TIMERB = 0

:SMOKE3_16291
if 
  110@ == 2
goto_if_false @SMOKE3_16412
if 
  111@ == 0
goto_if_false @SMOKE3_16412
if 
  not Car.IsDead(40@)
goto_if_false @SMOKE3_16412
if 
  Char.LocateAnyMeansCar2D($mc_strap, 40@, 50.0, 50.0, False)
goto_if_false @SMOKE3_16412
set_lvar_int_to_constant 128@ = 35428
set_lvar_text_label 129@s = 'SMO3_EA'
117@ = 1
gosub @SMOKE3_19753

:SMOKE3_16412
if 
  110@ == 3
goto_if_false @SMOKE3_16526
if 
  111@ == 0
goto_if_false @SMOKE3_16526
if 
  not Car.IsDead(41@)
goto_if_false @SMOKE3_16526
if 
  Char.LocateAnyMeansCar2D($mc_strap, 41@, 165.0, 165.0, False)
goto_if_false @SMOKE3_16526
set_lvar_int_to_constant 128@ = 35431
set_lvar_text_label 129@s = 'SMO3_FA'
gosub @SMOKE3_19753

:SMOKE3_16526
if 
  110@ == 4
goto_if_false @SMOKE3_16631
if 
  111@ == 0
goto_if_false @SMOKE3_16631
if 
  Char.LocateAnyMeans2D($mc_strap, 2180.22, -689.43, 60.0, 60.0, False)
goto_if_false @SMOKE3_16631
set_lvar_int_to_constant 128@ = 35437
set_lvar_text_label 129@s = 'SMO3_HA'
gosub @SMOKE3_19753

:SMOKE3_16631
if 
  110@ == 5
goto_if_false @SMOKE3_16752
if 
  111@ == 0
goto_if_false @SMOKE3_16752
if 
  not Car.IsDead(41@)
goto_if_false @SMOKE3_16752
if 
  Char.LocateAnyMeansCar2D($mc_strap, 41@, 100.0, 100.0, False)
goto_if_false @SMOKE3_16752
set_lvar_int_to_constant 128@ = 35433
set_lvar_text_label 129@s = 'SMO3_FC'
gosub @SMOKE3_19753
TIMERB = 0

:SMOKE3_16752
if 
  110@ == 6
goto_if_false @SMOKE3_16921
if 
  111@ == 0
goto_if_false @SMOKE3_16921
if 
  TIMERB > 11000
goto_if_false @SMOKE3_16921
set_lvar_int_to_constant 128@ = 35430
set_lvar_text_label 129@s = 'SMO3_EC'
if 
  Object.DoesExist(53@)
goto_if_false @SMOKE3_16868
if 
  not Object.IsOnScreen(53@)
goto_if_false @SMOKE3_16868
Object.Delete(53@)

:SMOKE3_16868
Streaming.MarkModelAsNoLongerNeeded(#IMY_TRACK_BARRIER)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_16914
if 
  3 > 116@
goto_if_false @SMOKE3_16914
Char.SetAccuracy($mc_strap, 85)

:SMOKE3_16914
gosub @SMOKE3_19753

:SMOKE3_16921
if 
  80@ == 3
goto_if_false @SMOKE3_18401
if 
  115@ == 1
goto_if_false @SMOKE3_18401
if 
  113@ == 0
goto_if_false @SMOKE3_17005
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35460)
Object.MarkAsNoLongerNeeded(53@)
Streaming.MarkModelAsNoLongerNeeded(#IMY_TRACK_BARRIER)
113@ = 1

:SMOKE3_17005
if 
  113@ == 1
goto_if_false @SMOKE3_17065
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_17065
Text.PrintNow('SMO3_PC', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
113@ = 2

:SMOKE3_17065
if 
  113@ == 2
goto_if_false @SMOKE3_17118
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_17118
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
113@ = 3
TIMERB = 0

:SMOKE3_17118
if 
  113@ == 3
goto_if_false @SMOKE3_17185
if 
  TIMERB > 500
goto_if_false @SMOKE3_17185
Text.PrintNow('SMK3_22', 6000, 1)
TIMERB = 0
113@ = 4

:SMOKE3_17185
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_17839
if 
  113@ == 4
goto_if_false @SMOKE3_17839
if 
  Char.IsGroupMember($mc_strap, $flag_cell_nation)
goto_if_false @SMOKE3_17839
if 
  Char.IsSittingInAnyCar($mc_strap)
goto_if_false @SMOKE3_17839
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE3_17839
gosub @SMOKE3_19795
if 
  110@ == 0
goto_if_false @SMOKE3_17370
if 
  111@ == 0
goto_if_false @SMOKE3_17370
if 
  TIMERB > 7000
goto_if_false @SMOKE3_17370
set_lvar_int_to_constant 128@ = 35477
set_lvar_text_label 129@s = 'SMO3_RA'
gosub @SMOKE3_19753
TIMERB = 0

:SMOKE3_17370
if 
  110@ == 1
goto_if_false @SMOKE3_17437
if 
  111@ == 0
goto_if_false @SMOKE3_17437
set_lvar_int_to_constant 128@ = 35478
set_lvar_text_label 129@s = 'SMO3_RB'
gosub @SMOKE3_19753

:SMOKE3_17437
if 
  110@ == 2
goto_if_false @SMOKE3_17504
if 
  111@ == 0
goto_if_false @SMOKE3_17504
set_lvar_int_to_constant 128@ = 35479
set_lvar_text_label 129@s = 'SMO3_RC'
gosub @SMOKE3_19753

:SMOKE3_17504
if 
  110@ == 3
goto_if_false @SMOKE3_17571
if 
  111@ == 0
goto_if_false @SMOKE3_17571
set_lvar_int_to_constant 128@ = 35480
set_lvar_text_label 129@s = 'SMO3_RD'
gosub @SMOKE3_19753

:SMOKE3_17571
if 
  110@ == 4
goto_if_false @SMOKE3_17638
if 
  111@ == 0
goto_if_false @SMOKE3_17638
set_lvar_int_to_constant 128@ = 35481
set_lvar_text_label 129@s = 'SMO3_RE'
gosub @SMOKE3_19753

:SMOKE3_17638
if 
  110@ == 5
goto_if_false @SMOKE3_17705
if 
  111@ == 0
goto_if_false @SMOKE3_17705
set_lvar_int_to_constant 128@ = 35482
set_lvar_text_label 129@s = 'SMO3_RF'
gosub @SMOKE3_19753

:SMOKE3_17705
if 
  110@ == 6
goto_if_false @SMOKE3_17772
if 
  111@ == 0
goto_if_false @SMOKE3_17772
set_lvar_int_to_constant 128@ = 35483
set_lvar_text_label 129@s = 'SMO3_RG'
gosub @SMOKE3_19753

:SMOKE3_17772
if 
  110@ == 7
goto_if_false @SMOKE3_17839
if 
  111@ == 0
goto_if_false @SMOKE3_17839
set_lvar_int_to_constant 128@ = 35484
set_lvar_text_label 129@s = 'SMO3_RH'
gosub @SMOKE3_19753

:SMOKE3_17839
if 
  107@ == 1
goto_if_false @SMOKE3_18362
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_18362
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2061.68, -1694.71, 4.0, 4.0, True)
goto_if_false @SMOKE3_18362
if 
  Char.LocateAnyMeans2D($mc_strap, 2061.68, -1694.71, 4.0, 4.0, False)
goto_if_false @SMOKE3_18362
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)
Hud.SwitchWidescreen(True)
113@ = 5
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)

:SMOKE3_17982
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE3_18006
wait 0
goto @SMOKE3_17982

:SMOKE3_18006
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_18051
Char.RemoveFromGroup($mc_strap)
Char.ClearTasksImmediately($mc_strap)
Char.SetCurrentWeapon($mc_strap, WeaponType.Unarmed)

:SMOKE3_18051
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SMOKE3_18104
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2060.325, -1694.805, 12.5547)
Char.SetHeading($stattreadstamina_ctr, 91.3046)
goto @SMOKE3_18134

:SMOKE3_18104
Char.SetCoordinates($stattreadstamina_ctr, 2060.325, -1694.805, 12.5547)
Char.SetHeading($stattreadstamina_ctr, 91.3046)

:SMOKE3_18134
if 
  Char.IsInAnyCar($mc_strap)
goto_if_false @SMOKE3_18187
Char.WarpFromCarToCoord($mc_strap, 2057.75, -1694.79, 12.554)
Char.SetHeading($mc_strap, 273.188)
goto @SMOKE3_18217

:SMOKE3_18187
Char.SetCoordinates($mc_strap, 2057.75, -1694.79, 12.554)
Char.SetHeading($mc_strap, 273.188)

:SMOKE3_18217
World.ClearArea(2057.75, -1694.79, 100.0, 100.0, True)
if 
  not Car.IsDead(54@)
goto_if_false @SMOKE3_18287
Car.SetCoordinates(54@, 2060.3, -1697.975, 9.0)
Car.SetHeading(54@, 88.04)

:SMOKE3_18287
Streaming.RequestAnimation("GANGS")
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35485)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35486)
Streaming.LoadAllModelsNow

:SMOKE3_18316
if or
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @SMOKE3_18355
wait 0
goto @SMOKE3_18316

:SMOKE3_18355
80@ = 4

:SMOKE3_18362
if 
  Char.IsDead($mc_strap)
goto_if_false @SMOKE3_18401
Text.PrintNow('SMK3_21', 5000, 1)
goto @SMOKE3_20097

:SMOKE3_18401
if 
  80@ == 4
goto_if_false @SMOKE3_19143
Camera.SetFixedPosition(2061.814, -1692.773, 13.1148, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2061.089, -1693.453, 13.2238, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_18564
Task.PlayAnim($mc_strap, "PRTIAL_GNGTLKC", "GANGS", 4.0, False, False, False, False, -1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk($mc_strap, 10000)
Text.PrintNow('SMO3_SA', 4000, 1)

:SMOKE3_18564
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_18590
wait 0
goto @SMOKE3_18564

:SMOKE3_18590
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35487)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMO3_SB', 4000, 1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_18677
Task.PlayAnim($mc_strap, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)

:SMOKE3_18677
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_18703
wait 0
goto @SMOKE3_18677

:SMOKE3_18703
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_18729
Char.ClearTasks($mc_strap)
Char.StopFacialTalk($mc_strap)

:SMOKE3_18729
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35488)
Camera.SetFixedPosition(2055.851, -1692.644, 14.0837, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2056.581, -1693.324, 14.0171, SwitchType.JumpCut)

:SMOKE3_18795
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_18821
wait 0
goto @SMOKE3_18795

:SMOKE3_18821
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SMO3_SC', 5000, 1)
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)

:SMOKE3_18877
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_18903
wait 0
goto @SMOKE3_18877

:SMOKE3_18903
Text.ClearPrints

:SMOKE3_18905
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_18931
wait 0
goto @SMOKE3_18905

:SMOKE3_18931
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMO3_SD', 5000, 1)

:SMOKE3_18951
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SMOKE3_18977
wait 0
goto @SMOKE3_18951

:SMOKE3_18977
Camera.DoFade(1500, Fade.Out)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_19048
Task.GoStraightToCoord($mc_strap, 2058.027, -1697.166, 13.55, MoveState.Walk, -1)
Task.GoStraightToCoord($stattreadstamina_ctr, 2072.723, -1694.359, 13.55, MoveState.Walk, -1)

:SMOKE3_19048
if 
  Camera.GetFadingStatus
goto_if_false @SMOKE3_19072
wait 0
goto @SMOKE3_19048

:SMOKE3_19072
Char.Delete($mc_strap)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2072.723, -1694.359, 12.54)
Char.SetHeading($stattreadstamina_ctr, 272.637)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Camera.DoFade(500, Fade.In)
Text.ClearPrints
goto @SMOKE3_20115

:SMOKE3_19143
if or
  80@ == 2
  80@ == 3
goto_if_false @SMOKE3_19746
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_19746
if 
  95@ == 0
goto_if_false @SMOKE3_19327
if 
  not Char.IsGroupMember($mc_strap, $flag_cell_nation)
goto_if_false @SMOKE3_19327
Text.PrintNow('SMK3_18', 5000, 1)
118@ = Blip.AddForChar($mc_strap)
Blip.SetAsFriendly(118@, True)
if 
  80@ == 2
goto_if_false @SMOKE3_19290
Blip.Remove(119@)
Blip.Remove(120@)
Blip.Remove(121@)
Blip.Remove(122@)

:SMOKE3_19290
if 
  80@ == 3
goto_if_false @SMOKE3_19320
Blip.Remove(124@)
107@ = 0

:SMOKE3_19320
95@ = 1

:SMOKE3_19327
if 
  95@ == 1
goto_if_false @SMOKE3_19746
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $mc_strap, 10.0, 10.0, 8.0, False)
goto_if_false @SMOKE3_19746
if 
  Char.IsOnScreen($mc_strap)
goto_if_false @SMOKE3_19746
if 
  not Char.IsGroupMember($mc_strap, $flag_cell_nation)
goto_if_false @SMOKE3_19434
Group.SetMember($flag_cell_nation, $mc_strap)
Group.SetSeparationRange($flag_cell_nation, 30.0)

:SMOKE3_19434
Blip.Remove(118@)
if 
  80@ == 2
goto_if_false @SMOKE3_19569
if 
  not Char.IsDead(34@)
goto_if_false @SMOKE3_19481
119@ = Blip.AddForChar(34@)

:SMOKE3_19481
if 
  not Char.IsDead(35@)
goto_if_false @SMOKE3_19505
120@ = Blip.AddForChar(35@)

:SMOKE3_19505
if 
  not Char.IsDead(36@)
goto_if_false @SMOKE3_19529
121@ = Blip.AddForChar(36@)

:SMOKE3_19529
if 
  not Char.IsDead(37@)
goto_if_false @SMOKE3_19553
122@ = Blip.AddForChar(37@)

:SMOKE3_19553
Text.PrintNow('SMK3_3', 5000, 1)

:SMOKE3_19569
if 
  80@ == 3
goto_if_false @SMOKE3_19648
if 
  115@ == 1
goto_if_false @SMOKE3_19648
Text.PrintNow('SMK3_22', 5000, 1)
124@ = Blip.AddForCoord(2061.68, -1694.71, 12.554)
107@ = 1

:SMOKE3_19648
if 
  115@ == 2
goto_if_false @SMOKE3_19739
if 
  80@ == 3
goto_if_false @SMOKE3_19739
124@ = Blip.AddForCoord(2061.68, -1694.71, 12.554)
107@ = 1
109@ = 1
110@ = 0
111@ = 0
115@ = 1

:SMOKE3_19739
95@ = 0

:SMOKE3_19746
goto @SMOKE3_1289

:SMOKE3_19753
if 
  111@ == 0
goto_if_false @SMOKE3_19793
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 128@)
set_lvar_text_label 126@s = 129@s
111@ = 1

:SMOKE3_19793
return 

:SMOKE3_19795
if 
  111@ == 1
goto_if_false @SMOKE3_19849
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_19849
Text.PrintNow(126@s, 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
111@ = 2

:SMOKE3_19849
if 
  111@ == 2
goto_if_false @SMOKE3_19943
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SMOKE3_19943
110@ += 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
if 
  117@ == 1
goto_if_false @SMOKE3_19936
Text.PrintNow('SMK3_25', 6000, 1)
117@ = 2

:SMOKE3_19936
111@ = 0

:SMOKE3_19943
return 

:SMOKE3_19945
62@ = Sequence.Open()
Task.Jump(-1, True)
Task.GoStraightToCoord(-1, 1799.49, -1953.73, 12.23, MoveState.Run, 50000)
Sequence.Close(62@)
Char.PerformSequence(61@, 62@)
Sequence.Clear(62@)
return 

:SMOKE3_20002
63@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.TogglePedThreatScanner(-1, True, False, False)
Sequence.Close(63@)
Char.PerformSequence(61@, 63@)
Sequence.Clear(63@)
return 

:SMOKE3_20043
65@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
if 
  not Char.IsDead($mc_strap)
goto_if_false @SMOKE3_20077
Task.KillCharOnFoot(-1, $mc_strap)

:SMOKE3_20077
Sequence.Close(65@)
Char.PerformSequence(61@, 65@)
Sequence.Clear(65@)
return 

:SMOKE3_20097
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:SMOKE3_20115
$flag_la1fin1_mission_counter += 1
Stat.RegisterMissionPassed('SMOKE_3')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSR', 5, 5000, TextStyle.Middle)
Audio.PlayMissionPassedTune(1)
Stat.AwardPlayerMissionRespect(5)
Player.ClearWantedLevel($statbike_temp)
return 

:SMOKE3_20170
$weapon_shop1_blip = 0
Camera.RestoreJumpcut
Camera.SetPlayerInCarMode(2)
Object.MarkAsNoLongerNeeded(53@)
Object.MarkAsNoLongerNeeded(52@)
Streaming.MarkModelAsNoLongerNeeded(#IMY_TRACK_BARRIER)
World.SetRailtrackResistanceMult(-1.0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SMOKE3_20232
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)

:SMOKE3_20232
if 
  not Car.IsDead(54@)
goto_if_false @SMOKE3_20255
Car.SetCanBurstTires(54@, True)

:SMOKE3_20255
Streaming.MarkMissionTrainsAsNoLongerNeeded
Game.SwitchRandomTrains(True)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Char.RemoveElegantly(34@)
Char.RemoveElegantly(35@)
Char.RemoveElegantly(36@)
Char.RemoveElegantly(37@)
Char.RemoveElegantly($mc_strap)
Path.SwitchRoadsOn(2261.14, -1141.45, 18.0, 2308.19, -1156.38, 35.0)
Path.SwitchRoadsOn(2270.69, -1391.75, 20.28, 2315.81, -1375.58, 26.88)
Path.SwitchRoadsOn(2268.75, -1390.8, 20.86, 2330.03, -1375.53, 23.1)
Path.SwitchRoadsOn(2257.3, -1491.95, 20.63, 2299.7, -1477.32, 26.12)
Path.SwitchRoadsOn(2235.25, -1656.59, 12.68, 2176.75, -1629.89, 15.0)
Path.SwitchRoadsOn(2221.43, -1721.07, 10.09, 2174.01, -172.72, 15.73)
Path.SwitchRoadsOn(2234.09, -1723.3, 14.0, 2178.22, -1742.47, 10.0)
Path.SwitchRoadsOn(2261.14, -1141.45, 18.0, 2308.19, -1156.38, 35.0)
Path.SwitchRoadsOn(1956.91, -1936.01, 10.07, 1965.61, -1978.99, 14.45)
Path.SwitchRoadsOn(2181.3, -1892.0, 10.0, 2222.36, -1897.71, 15.0)
Streaming.MarkModelAsNoLongerNeeded(108)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(538)
Streaming.MarkModelAsNoLongerNeeded(570)
Streaming.MarkModelAsNoLongerNeeded(#IMMMCRAN)
Streaming.MarkModelAsNoLongerNeeded(419)
Streaming.MarkModelAsNoLongerNeeded(466)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.MarkModelAsNoLongerNeeded(#TRNTRK8_LAS)
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveAnimation("TRAIN")
Streaming.RemoveAnimation("GANGS")
Blip.Remove(118@)
Blip.Remove(119@)
Blip.Remove(120@)
Blip.Remove(121@)
Blip.Remove(122@)
Blip.Remove(123@)
Blip.Remove(124@)
Blip.Remove(125@)
if 
  not Car.IsDead(40@)
goto_if_false @SMOKE3_20767
Train.SetForcedToSlowDown(40@, True)

:SMOKE3_20767
Camera.ResetVehicleTweak
if 
  not Car.IsDead(54@)
goto_if_false @SMOKE3_20822
Car.SetHealth(54@, 1000)
Car.SetCanBurstTires(54@, True)
Car.SetProofs(54@, False, False, False, False, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:SMOKE3_20822
Weather.Release
if 
  not Car.IsDead(78@)
goto_if_false @SMOKE3_20855
Car.SetHealth(78@, 1000)
Car.SetCanBurstTires(78@, True)

:SMOKE3_20855
Car.MarkAsNoLongerNeeded(54@)
Car.MarkAsNoLongerNeeded(78@)
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 30---------------
// Originally: Just Business

:DRUGS1
script_name 'DRUGS1'
gosub @DRUGS1_47
if 
  has_deatharrest_been_executed 
goto_if_false @DRUGS1_38
gosub @DRUGS1_52025

:DRUGS1_38
gosub @DRUGS1_52103
terminate_this_script 

:DRUGS1_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
Text.LoadMissionText('SMOKE4')
World.ClearArea(2060.0, -1694.0, 50.0, 50.0, True)
Weather.ForceNow(WeatherType.SunnyLa)
Streaming.RequestModel(#LAE_SMOKECUTSCENE)

:DRUGS1_104
if 
  not Streaming.HasModelLoaded(#LAE_SMOKECUTSCENE)
goto_if_false @DRUGS1_131
wait 0
goto @DRUGS1_104

:DRUGS1_131
290@ = Object.CreateNoOffset(#LAE_SMOKECUTSCENE, 2055.0, -1695.0, 15.0)
Cutscene.Load('SMOKE4A')

:DRUGS1_165
if 
  not Cutscene.HasLoaded
goto_if_false @DRUGS1_189
wait 0
goto @DRUGS1_165

:DRUGS1_189
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DRUGS1_198
if 
  not Cutscene.HasFinished
goto_if_false @DRUGS1_222
wait 0
goto @DRUGS1_198

:DRUGS1_222
Camera.DoFade(0, Fade.Out)

:DRUGS1_228
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS1_252
wait 0
goto @DRUGS1_228

:DRUGS1_252
Cutscene.Clear
Streaming.MarkModelAsNoLongerNeeded(#LAE_SMOKECUTSCENE)
Object.Delete(290@)
Camera.SetFadingColor(0, 0, 0)
wait 500
Streaming.RequestModel(466)
Streaming.RequestModel(91)
Streaming.RequestModel(93)
Streaming.RequestModel(111)
Streaming.RequestModel(112)
Streaming.LoadSpecialCharacter(1, 'SMOKE')
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35802)
Streaming.LoadAllModelsNow

:DRUGS1_322
if or
  not Streaming.HasModelLoaded(466)
  not Streaming.HasModelLoaded(111)
  not Streaming.HasModelLoaded(111)
  not Streaming.HasModelLoaded(91)
  not Streaming.HasModelLoaded(93)
goto_if_false @DRUGS1_365
wait 0
goto @DRUGS1_322

:DRUGS1_365
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_395
wait 0
goto @DRUGS1_365

:DRUGS1_395
90@ = 0
$tripskip_s2flag = 0
91@ = 0
92@ = 0
93@ = 0
94@ = 0
95@ = 0
96@ = 0
97@ = 0
98@ = 0
99@ = 0
100@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
105@ = 0
106@ = 0
107@ = 0
108@ = 0
109@ = 0
110@ = 0
111@ = 0
112@ = 0
113@ = 0
114@ = 0
115@ = 0
116@ = 0
117@ = 0
118@ = 0
119@ = 0
120@ = 0
121@ = 0
122@ = 0
123@ = 0
124@ = 0
125@ = 0
126@ = 0
282@ = 0
283@ = 0
127@ = 0
128@ = 0
129@ = 0
242@ = 0
243@ = 0
244@ = 0
245@ = 0
246@ = 0
247@ = 0
248@ = 0
249@ = 0
250@ = 0
251@ = 0
252@ = 0
253@ = 0
254@ = 0
255@ = 0
256@ = 0
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0
264@ = 0
265@ = 0
266@ = 0
267@ = 0
268@ = 0
269@ = 0
270@ = 0
271@ = 0
272@ = 0
273@ = 0
274@ = 0
275@ = 0
276@ = 0
277@ = 0
278@ = 0
279@ = 0
280@ = 0
281@ = 0
284@ = 0
285@ = 0
286@ = 0
287@ = 0
35@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
36@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.AddEventResponse(36@, 49, 311, 0.0, 100.0, 100.0, 100.0, False, True)
World.ClearArea(2077.58, -1695.929, 150.0, 150.0, True)
Car.CustomPlateForNextCar(466, "_A2TMFK_")
34@ = Car.Create(466, 2058.86, -1694.612, 12.297)
Audio.SetRadioChannel(RadioChannel.RadioLosSantos)
Car.ChangeColor(34@, 98, 14)
Car.SetHeading(34@, 271.822)
Car.SetHealth(34@, 1000)
$mc_strap = Char.CreateAsPassenger(34@, PedType.Special, 290, 0)
Char.SetGetOutUpsideDownCar($mc_strap, False)
Char.SetSignalAfterKill($mc_strap, False)
Char.SetHealth($mc_strap, 500)
Char.SetSuffersCriticalHits($mc_strap, False)
Char.SetNeverTargeted($mc_strap, True)
Char.SetDecisionMaker($mc_strap, 35@)
Char.SetCantBeDraggedOut($mc_strap, True)
Char.SetStayInCarWhenJacked($mc_strap, True)
Game.SetMaxFireGenerations(1)
Char.WarpIntoCar($stattreadstamina_ctr, 34@)
Game.SetWantedMultiplier(0.0)
Game.SwitchEmergencyServices(False)
Camera.DoFade(1500, Fade.In)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Char.ShutUp($stattreadstamina_ctr, True)
Path.SwitchRoadsOff(1694.12, -1604.33, 5.0, 1805.94, -1593.12, 15.0)
Text.PrintNow('DGS1_1', 6000, 1)
TIMERB = 0
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
Char.ShutUpForScriptedSpeech($mc_strap, True)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:DRUGS1_1348
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DRUGS1_1374
goto @DRUGS1_52043

:DRUGS1_1374
if 
  280@ <= 7
goto_if_false @DRUGS1_1431
if 
  Char.IsDead($mc_strap)
goto_if_false @DRUGS1_1431
Text.PrintNow('DGS1_60', 7000, 1)
goto @DRUGS1_52025

:DRUGS1_1431
if 
  123@ == 0
goto_if_false @DRUGS1_9251
if 
  90@ == 11
goto_if_false @DRUGS1_1567
if 
  6 > $tripskip_s2flag
goto_if_false @DRUGS1_1567
if 
  not Char.IsInArea2D($stattreadstamina_ctr, 1744.2, -1686.68, 1698.34, -1616.4, False)
goto_if_false @DRUGS1_1567
if 
  not Char.IsOnScreen($mc_strap)
goto_if_false @DRUGS1_1567
Char.ExplodeHead($mc_strap)
Text.PrintNow('DGS1_3', 7000, 1)
goto @DRUGS1_52025

:DRUGS1_1567
if 
  90@ == 0
goto_if_false @DRUGS1_1698
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_1698
if 
  not Car.IsDead(34@)
goto_if_false @DRUGS1_1698
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @DRUGS1_1698
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @DRUGS1_1698
88@ = Blip.AddForCoord(1722.568, -1597.92, 12.405)
Text.PrintNow('DGS1_1', 10000, 1)
90@ = 1

:DRUGS1_1698
if 
  92@ == 0
goto_if_false @DRUGS1_1986
if or
  90@ == 1
  90@ == 100
goto_if_false @DRUGS1_1986
if 
  91@ == 0
goto_if_false @DRUGS1_1854
if 
  not Car.IsDead(34@)
goto_if_false @DRUGS1_1854
if 
  not Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @DRUGS1_1854
87@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(87@, True)
Blip.Remove(88@)
90@ = 100
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMOX_AC', 2000, 1)
91@ = 1

:DRUGS1_1854
if 
  91@ == 1
goto_if_false @DRUGS1_1986
if 
  not Car.IsDead(34@)
goto_if_false @DRUGS1_1986
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @DRUGS1_1986
Blip.Remove(87@)
88@ = Blip.AddForCoord(1722.568, -1597.92, 12.405)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  282@ > 12
goto_if_false @DRUGS1_1972
Text.PrintNow('DGS1_1', 5000, 1)

:DRUGS1_1972
90@ = 1
91@ = 0

:DRUGS1_1986
if 
  90@ == 1
goto_if_false @DRUGS1_2968
gosub @DRUGS1_51642
if 
  282@ == 0
goto_if_false @DRUGS1_2097
if 
  283@ == 0
goto_if_false @DRUGS1_2097
if 
  TIMERB > 6500
goto_if_false @DRUGS1_2097
set_lvar_int_to_constant 239@ = 35600
set_lvar_text_label 240@s = 'SMO4_AA'
gosub @DRUGS1_51600

:DRUGS1_2097
if 
  282@ == 1
goto_if_false @DRUGS1_2164
if 
  283@ == 0
goto_if_false @DRUGS1_2164
set_lvar_int_to_constant 239@ = 35601
set_lvar_text_label 240@s = 'SMO4_AB'
gosub @DRUGS1_51600

:DRUGS1_2164
if 
  282@ == 2
goto_if_false @DRUGS1_2231
if 
  283@ == 0
goto_if_false @DRUGS1_2231
set_lvar_int_to_constant 239@ = 35602
set_lvar_text_label 240@s = 'SMO4_AC'
gosub @DRUGS1_51600

:DRUGS1_2231
if 
  282@ == 3
goto_if_false @DRUGS1_2298
if 
  283@ == 0
goto_if_false @DRUGS1_2298
set_lvar_int_to_constant 239@ = 35603
set_lvar_text_label 240@s = 'SMO4_AD'
gosub @DRUGS1_51600

:DRUGS1_2298
if 
  282@ == 4
goto_if_false @DRUGS1_2365
if 
  283@ == 0
goto_if_false @DRUGS1_2365
set_lvar_int_to_constant 239@ = 35604
set_lvar_text_label 240@s = 'SMO4_AE'
gosub @DRUGS1_51600

:DRUGS1_2365
if 
  282@ == 5
goto_if_false @DRUGS1_2432
if 
  283@ == 0
goto_if_false @DRUGS1_2432
set_lvar_int_to_constant 239@ = 35605
set_lvar_text_label 240@s = 'SMO4_AF'
gosub @DRUGS1_51600

:DRUGS1_2432
if 
  282@ == 6
goto_if_false @DRUGS1_2499
if 
  283@ == 0
goto_if_false @DRUGS1_2499
set_lvar_int_to_constant 239@ = 35606
set_lvar_text_label 240@s = 'SMO4_AG'
gosub @DRUGS1_51600

:DRUGS1_2499
if 
  282@ == 7
goto_if_false @DRUGS1_2566
if 
  283@ == 0
goto_if_false @DRUGS1_2566
set_lvar_int_to_constant 239@ = 35607
set_lvar_text_label 240@s = 'SMO4_AH'
gosub @DRUGS1_51600

:DRUGS1_2566
if 
  282@ == 7
goto_if_false @DRUGS1_2633
if 
  283@ == 0
goto_if_false @DRUGS1_2633
set_lvar_int_to_constant 239@ = 35608
set_lvar_text_label 240@s = 'SMO4_AJ'
gosub @DRUGS1_51600

:DRUGS1_2633
if 
  282@ == 8
goto_if_false @DRUGS1_2700
if 
  283@ == 0
goto_if_false @DRUGS1_2700
set_lvar_int_to_constant 239@ = 35609
set_lvar_text_label 240@s = 'SMO4_AK'
gosub @DRUGS1_51600

:DRUGS1_2700
if 
  282@ == 9
goto_if_false @DRUGS1_2767
if 
  283@ == 0
goto_if_false @DRUGS1_2767
set_lvar_int_to_constant 239@ = 35610
set_lvar_text_label 240@s = 'SMO4_AL'
gosub @DRUGS1_51600

:DRUGS1_2767
if 
  282@ == 10
goto_if_false @DRUGS1_2834
if 
  283@ == 0
goto_if_false @DRUGS1_2834
set_lvar_int_to_constant 239@ = 35611
set_lvar_text_label 240@s = 'SMO4_AM'
gosub @DRUGS1_51600

:DRUGS1_2834
if 
  282@ == 11
goto_if_false @DRUGS1_2901
if 
  283@ == 0
goto_if_false @DRUGS1_2901
set_lvar_int_to_constant 239@ = 35612
set_lvar_text_label 240@s = 'SMO4_AN'
gosub @DRUGS1_51600

:DRUGS1_2901
if 
  282@ == 12
goto_if_false @DRUGS1_2968
if 
  283@ == 0
goto_if_false @DRUGS1_2968
set_lvar_int_to_constant 239@ = 35613
set_lvar_text_label 240@s = 'SMO4_AO'
gosub @DRUGS1_51600

:DRUGS1_2968
if 
  90@ == 1
goto_if_false @DRUGS1_5137
if 
  not Car.IsDead(34@)
goto_if_false @DRUGS1_5137
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_5137
if 
  Char.IsSittingInCar($mc_strap, 34@)
goto_if_false @DRUGS1_5137
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @DRUGS1_5137
if 
  Car.Locate3D(34@, 1722.568, -1597.92, 12.45, 4.0, 4.0, 5.0, True)
goto_if_false @DRUGS1_5137
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
World.DisableAllEntryExits(True)
Game.SetMaxWantedLevel(0)
122@ = 0
World.ClearArea(1722.568, -1597.92, 300.0, 300.0, True)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Camera.SetFixedPosition(1711.449, -1576.924, 30.3531, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1711.628, -1577.821, 29.9486, SwitchType.JumpCut)
Task.LeaveAnyCar($mc_strap)
Task.LeaveAnyCar($stattreadstamina_ctr)
Camera.DoFade(2000, Fade.Out)

:DRUGS1_3236
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS1_3260
wait 0
goto @DRUGS1_3236

:DRUGS1_3260
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Streaming.RequestModel(352)
Streaming.RequestModel(346)
Streaming.RequestModel(353)
Streaming.RequestAnimation("JST_BUISNESS")
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35614)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35615)
Streaming.LoadAllModelsNow

:DRUGS1_3326
if or
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(353)
  not Streaming.HasAnimationLoaded("JST_BUISNESS")
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_3382
wait 0
goto @DRUGS1_3326

:DRUGS1_3382
if 
  not Streaming.HasModelLoaded(353)
goto_if_false @DRUGS1_3409
wait 0
goto @DRUGS1_3382

:DRUGS1_3409
37@ = Char.Create(PedType.Mission1, 93, 1718.283, -1633.178, 19.2035)
Char.ShutUp(37@, True)
Char.SetHeading(37@, 59.5412)
Task.PlayAnimNonInterruptable(37@, "SEAT_IDLE", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(37@, 35@)
Char.ShutUp(37@, True)
38@ = Char.Create(PedType.Mission1, 93, 1717.72, -1633.952, 19.2029)
Char.SetHeading(38@, 313.3566)
Char.ShutUp(38@, True)
Task.PlayAnimNonInterruptable(38@, "SEAT_IDLE", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(38@, 35@)
Char.ShutUp(38@, True)
39@ = Char.Create(PedType.Mission1, 93, 1712.811, -1629.454, 19.201)
Char.SetHeading(39@, 48.5227)
Char.ShutUp(39@, True)
Task.PlayAnimNonInterruptable(39@, "SEAT_IDLE", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(39@, 35@)
Char.ShutUp(39@, True)
40@ = Char.Create(PedType.Mission1, 93, 1712.146, -1630.165, 19.2003)
Char.SetHeading(40@, 322.1413)
Char.ShutUp(40@, True)
Task.PlayAnimNonInterruptable(40@, "SEAT_IDLE", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(40@, 35@)
Char.ShutUp(40@, True)
41@ = Char.Create(PedType.Mission1, 93, 1732.528, -1627.45, 19.2044)
Char.SetHeading(41@, 275.6598)
Char.ShutUp(41@, True)
Task.PlayAnimNonInterruptable(41@, "SEAT_IDLE", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(41@, 35@)
Char.ShutUp(41@, True)
42@ = Char.Create(PedType.Mission1, 111, 1729.973, -1649.115, 19.274)
Char.SetHeading(42@, 11.051)
Char.SetDecisionMaker(42@, 35@)
Char.GiveWeapon(42@, WeaponType.Mp5, 9999)
Char.SetAreaVisible(42@, 18)
Char.SetHealth(42@, 35)
214@ = Blip.AddForChar(42@)
Blip.ChangeDisplay(214@, BlipDisplay.BlipOnly)
Blip.ChangeScale(214@, 2)
Char.SetKeepTask(42@, True)
43@ = Char.Create(PedType.Mission1, 112, 1729.971, -1657.139, 19.278)
Char.SetHeading(43@, 21.106)
Char.SetHealth(43@, 10)
Char.SetDecisionMaker(43@, 35@)
Char.SetWeaponSkill(43@, 2)
Char.GiveWeapon(43@, WeaponType.Pistol, 9999)
Char.SetAccuracy(43@, 60)
Char.SetAreaVisible(43@, 18)
215@ = Blip.AddForChar(43@)
Blip.ChangeDisplay(215@, BlipDisplay.BlipOnly)
Blip.ChangeScale(215@, 2)
Char.SetKeepTask(43@, True)
Char.SetShootRate(43@, 50)
44@ = Char.Create(PedType.Mission1, 112, 1722.311, -1658.636, 19.108)
Char.SetHeading(44@, 352.526)
Char.SetDecisionMaker(44@, 36@)
Char.SetWeaponSkill(44@, 2)
Char.GiveWeapon(44@, WeaponType.Pistol, 9999)
Char.SetAreaVisible(44@, 18)
216@ = Blip.AddForChar(44@)
Blip.ChangeDisplay(216@, BlipDisplay.BlipOnly)
Blip.ChangeScale(216@, 2)
Char.SetKeepTask(44@, True)
45@ = Char.Create(PedType.Mission1, 111, 1712.399, -1657.463, 19.26)
Char.SetHealth(45@, 150)
Char.SetHeading(45@, 323.108)
Char.SetDecisionMaker(45@, 36@)
Char.SetWeaponSkill(45@, 2)
Char.GiveWeapon(45@, WeaponType.Pistol, 9999)
Char.SetAreaVisible(45@, 18)
Char.SetAccuracy(45@, 50)
217@ = Blip.AddForChar(45@)
Blip.ChangeDisplay(217@, BlipDisplay.BlipOnly)
Blip.ChangeScale(217@, 2)
Char.SetKeepTask(45@, True)
Char.SetMaxHealth(45@, 150)
Char.SetHealth(45@, 150)
Char.SetShootRate(45@, 50)
46@ = Char.Create(PedType.Mission1, 111, 1712.763, -1664.816, 19.273)
Char.SetHeading(46@, 329.331)
Char.SetDecisionMaker(46@, 36@)
Char.GiveWeapon(46@, WeaponType.Mp5, 9999)
Char.SetAccuracy(46@, 50)
Char.SetMaxHealth(46@, 150)
Char.SetHealth(46@, 150)
Char.SetAreaVisible(46@, 18)
218@ = Blip.AddForChar(46@)
Blip.ChangeDisplay(218@, BlipDisplay.BlipOnly)
Blip.ChangeScale(218@, 2)
Char.SetKeepTask(46@, True)
47@ = Char.Create(PedType.Mission1, 111, 1718.711, -1655.182, 19.108)
Char.SetHeading(47@, 327.782)
Char.SetDecisionMaker(47@, 35@)
Char.SetWeaponSkill(47@, 2)
Char.GiveWeapon(47@, WeaponType.Pistol, 9999)
Char.SetAreaVisible(47@, 18)
Char.SetAccuracy(47@, 60)
219@ = Blip.AddForChar(47@)
Blip.ChangeDisplay(219@, BlipDisplay.BlipOnly)
Blip.ChangeScale(219@, 2)
Char.SetKeepTask(47@, True)
48@ = Char.Create(PedType.Mission1, 112, 1701.8, -1650.28, 19.26)
Char.SetHeading(48@, 265.623)
Char.SetDecisionMaker(48@, 35@)
Char.SetWeaponSkill(48@, 2)
Char.GiveWeapon(48@, WeaponType.Pistol, 9999)
Char.SetMaxHealth(48@, 150)
Char.SetHealth(48@, 150)
Char.SetAreaVisible(48@, 18)
220@ = Blip.AddForChar(48@)
Blip.ChangeDisplay(220@, BlipDisplay.BlipOnly)
Blip.ChangeScale(220@, 2)
Char.SetKeepTask(48@, True)
Char.SetShootRate(48@, 50)
51@ = Char.Create(PedType.Mission1, 112, 1719.6, -1671.764, 22.741)
Char.SetHealth(51@, 5)
Char.SetHeading(51@, 11.45)
Char.SetDecisionMaker(51@, 35@)
Char.GiveWeapon(51@, WeaponType.Mp5, 9999)
Char.SetAllowedToDuck(51@, False)
Char.SetAreaVisible(51@, 18)
223@ = Blip.AddForChar(51@)
Blip.ChangeDisplay(223@, BlipDisplay.BlipOnly)
Blip.ChangeScale(223@, 2)
Char.SetKeepTask(51@, True)
52@ = Char.Create(PedType.Mission1, 112, 1701.897, -1668.039, 19.23)
Char.SetHeading(52@, 276.178)
Char.SetDecisionMaker(52@, 35@)
Char.SetWeaponSkill(52@, 2)
Char.GiveWeapon(52@, WeaponType.Pistol, 9999)
Char.SetAreaVisible(52@, 18)
Char.SetAccuracy(52@, 60)
224@ = Blip.AddForChar(52@)
Blip.ChangeDisplay(224@, BlipDisplay.BlipOnly)
Blip.ChangeScale(224@, 2)
Char.SetKeepTask(52@, True)
Char.SetMaxHealth(52@, 150)
Char.SetHealth(52@, 150)
53@ = Char.Create(PedType.Mission1, 111, 1725.037, -1672.69, 22.735)
Char.SetHeading(53@, 127.283)
Char.SetDecisionMaker(53@, 35@)
Char.SetWeaponSkill(53@, 2)
Char.GiveWeapon(53@, WeaponType.Pistol, 9999)
Char.SetAccuracy(53@, 60)
Char.SetAreaVisible(53@, 18)
225@ = Blip.AddForChar(53@)
Blip.ChangeDisplay(225@, BlipDisplay.BlipOnly)
Blip.ChangeScale(225@, 2)
Char.SetKeepTask(53@, True)
Char.SetShootRate(53@, 50)
54@ = Char.Create(PedType.Mission1, 111, 1733.358, -1664.599, 22.747)
Char.SetHeading(54@, 141.981)
Char.SetDecisionMaker(54@, 35@)
Char.SetWeaponSkill(54@, 2)
Char.GiveWeapon(54@, WeaponType.Pistol, 9999)
Char.SetAccuracy(54@, 50)
Char.SetAreaVisible(54@, 18)
226@ = Blip.AddForChar(54@)
Blip.ChangeDisplay(226@, BlipDisplay.BlipOnly)
Blip.ChangeScale(226@, 2)
Char.SetKeepTask(54@, True)
Char.SetMaxHealth(54@, 150)
Char.SetHealth(54@, 150)
Streaming.LoadSceneInDirection(1726.993, -1628.007, 20.2, 8.98)
Streaming.LoadSceneInDirection(1726.993, -1628.007, 20.2, 169.7)
90@ = 2

:DRUGS1_5137
if 
  90@ == 2
goto_if_false @DRUGS1_5401
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_5401
if 
  not Char.IsInAnyCar($mc_strap)
goto_if_false @DRUGS1_5401
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRUGS1_5401
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($mc_strap)
Char.SetCoordinates($stattreadstamina_ctr, 1726.04, -1632.521, 19.18)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Char.SetCoordinates($mc_strap, 1726.815, -1633.001, 19.18)
Char.SetHeading($mc_strap, 180.0)
63@ = Char.Create(PedType.Mission1, 91, 1727.757, -1632.918, 19.18)
Char.SetHeading(63@, 270.0)
Char.SetDecisionMaker(63@, 35@)
Char.ShutUp(63@, True)
TIMERB = 0
Camera.SetFixedPosition(1728.489, -1633.539, 20.16, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1726.404, -1632.053, 20.279, SwitchType.JumpCut)
TIMERA = 0
99@ = 1
90@ = 8

:DRUGS1_5401
if 
  90@ == 8
goto_if_false @DRUGS1_6890
if 
  99@ == 1
goto_if_false @DRUGS1_5472
if 
  TIMERA > 1000
goto_if_false @DRUGS1_5472
Text.ClearPrints
Camera.DoFade(500, Fade.In)
99@ = 2

:DRUGS1_5472
if 
  99@ == 2
goto_if_false @DRUGS1_5710
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_5710
if 
  not Char.IsDead(63@)
goto_if_false @DRUGS1_5710
Char.SetCollision(63@, False)
Char.SetCollision($mc_strap, False)
Char.SetCollision($stattreadstamina_ctr, False)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PLAYER_01", "JST_BUISNESS", 1000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable($mc_strap, "SMOKE_01", "JST_BUISNESS", 1000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(63@, "GIRL_01", "JST_BUISNESS", 1000.0, False, False, False, True, -1)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
TIMERB = 0
93@ = 0
skip_cutscene_start_internal @DRUGS1_6960
99@ = 3

:DRUGS1_5710
if 
  99@ == 3
goto_if_false @DRUGS1_5849
if 
  TIMERB > 2066
goto_if_false @DRUGS1_5849
Camera.SetFixedPosition(1726.35, -1630.824, 20.7289, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1726.411, -1631.822, 20.7195, SwitchType.JumpCut)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_5826
Char.StartFacialTalk($mc_strap, 10000)

:DRUGS1_5826
Text.PrintNow('SMO4_BA', 5000, 1)
99@ = 4

:DRUGS1_5849
if 
  99@ == 4
goto_if_false @DRUGS1_6023
if 
  TIMERB > 4999
goto_if_false @DRUGS1_6023
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_6023
Camera.SetFixedPosition(1726.37, -1633.38, 20.6705, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1726.416, -1632.381, 20.6667, SwitchType.JumpCut)
Text.ClearPrints
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_5979
Char.StopFacialTalk($mc_strap)

:DRUGS1_5979
Text.PrintNow('SMO4_BB', 5000, 1)
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35616)
99@ = 5

:DRUGS1_6023
if 
  99@ == 5
goto_if_false @DRUGS1_6140
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_6140
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_6140
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_6104
Char.StartFacialTalk($mc_strap, 10000)

:DRUGS1_6104
Text.PrintNow('SMO4_BC', 5000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35617)
99@ = 6

:DRUGS1_6140
if 
  99@ == 6
goto_if_false @DRUGS1_6224
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_6224
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_6224
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMO4_BD', 5000, 1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35618)
99@ = 7

:DRUGS1_6224
if 
  99@ == 7
goto_if_false @DRUGS1_6468
if 
  TIMERB > 9999
goto_if_false @DRUGS1_6468
if 
  not Char.IsDead(63@)
goto_if_false @DRUGS1_6468
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_6468
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_6468
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_6328
Char.StopFacialTalk($mc_strap)

:DRUGS1_6328
Char.ClearTasksImmediately(63@)
Char.SetCoordinates(63@, 1732.785, -1633.043, 19.2)
Char.SetHeading(63@, 0.0)
Task.PlayAnimNonInterruptable(63@, "GIRL_02", "JST_BUISNESS", 1000.0, False, False, False, True, -1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SMO4_BE', 3000, 1)
Camera.SetNearClip(0.09)
Char.StartFacialTalk($stattreadstamina_ctr, 2000)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35619)
129@ = 1
99@ = 8

:DRUGS1_6468
if 
  129@ == 1
goto_if_false @DRUGS1_6513
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_6513
Char.StopFacialTalk($stattreadstamina_ctr)
129@ = 2

:DRUGS1_6513
if 
  99@ == 8
goto_if_false @DRUGS1_6678
if 
  TIMERB > 18500
goto_if_false @DRUGS1_6678
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_6678
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_6678
Camera.SetFixedPosition(1725.094, -1632.446, 20.7074, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1726.091, -1632.391, 20.6711, SwitchType.JumpCut)
Camera.SetNearClip(0.1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMO4_BF', 3000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35620)
99@ = 9

:DRUGS1_6678
if 
  99@ == 9
goto_if_false @DRUGS1_6758
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_6758
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_6758
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SMO4_BG', 5000, 1)
99@ = 10

:DRUGS1_6758
if 
  99@ == 10
goto_if_false @DRUGS1_6890
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_6890
Text.ClearPrints
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_6890
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYER_01")
goto_if_false @DRUGS1_6890
62@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYER_01")
if 
  62@ == 1.0
goto_if_false @DRUGS1_6890
90@ = 10
99@ = 11

:DRUGS1_6890
if 
  90@ == 10
goto_if_false @DRUGS1_9251
if 
  TIMERA > 2000
goto_if_false @DRUGS1_9251
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_9251
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
93@ = 1

:DRUGS1_6960
skip_cutscene_end 
Camera.DoFade(1000, Fade.Out)

:DRUGS1_6969
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS1_6993
wait 0
goto @DRUGS1_6969

:DRUGS1_6993
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Streaming.SetAreaVisible(18)
Streaming.LoadScene(1722.81, -1658.54, 20.19)
if 
  93@ == 0
goto_if_false @DRUGS1_8359
Text.ClearPrints
Char.Delete(37@)
Char.Delete(38@)
Char.Delete(39@)
Char.Delete(40@)
Char.Delete(41@)
Char.Delete(42@)
Char.Delete(43@)
Char.Delete(44@)
Char.Delete(45@)
Char.Delete(46@)
Char.Delete(47@)
Char.Delete(48@)
Char.Delete(51@)
Char.Delete(52@)
Char.Delete(53@)
Char.Delete(54@)
Streaming.MarkModelAsNoLongerNeeded(91)
Streaming.MarkModelAsNoLongerNeeded(93)
Car.Delete(34@)
Streaming.MarkModelAsNoLongerNeeded(466)
42@ = Char.Create(PedType.Mission1, 111, 1729.973, -1649.115, 19.274)
Char.SetHeading(42@, 11.051)
Char.SetDecisionMaker(42@, 35@)
Char.GiveWeapon(42@, WeaponType.Mp5, 9999)
Char.SetAreaVisible(42@, 18)
Char.SetHealth(42@, 35)
214@ = Blip.AddForChar(42@)
Blip.ChangeDisplay(214@, BlipDisplay.BlipOnly)
Blip.ChangeScale(214@, 2)
Char.SetKeepTask(42@, True)
43@ = Char.Create(PedType.Mission1, 112, 1729.971, -1657.139, 19.278)
Char.SetHealth(43@, 10)
Char.SetHeading(43@, 21.106)
Char.SetDecisionMaker(43@, 35@)
Char.SetWeaponSkill(43@, 2)
Char.GiveWeapon(43@, WeaponType.Pistol, 9999)
Char.SetAccuracy(43@, 60)
Char.SetAreaVisible(43@, 18)
215@ = Blip.AddForChar(43@)
Blip.ChangeDisplay(215@, BlipDisplay.BlipOnly)
Blip.ChangeScale(215@, 2)
Char.SetShootRate(43@, 50)
Char.SetKeepTask(43@, True)
44@ = Char.Create(PedType.Mission1, 112, 1722.311, -1658.636, 19.108)
Char.SetHeading(44@, 352.526)
Char.SetDecisionMaker(44@, 36@)
Char.SetWeaponSkill(44@, 2)
Char.GiveWeapon(44@, WeaponType.Pistol, 9999)
Char.SetAreaVisible(44@, 18)
216@ = Blip.AddForChar(44@)
Blip.ChangeDisplay(216@, BlipDisplay.BlipOnly)
Blip.ChangeScale(216@, 2)
Char.SetKeepTask(44@, True)
45@ = Char.Create(PedType.Mission1, 111, 1712.399, -1657.463, 19.26)
Char.SetHealth(45@, 150)
Char.SetHeading(45@, 323.108)
Char.SetDecisionMaker(45@, 36@)
Char.SetWeaponSkill(45@, 2)
Char.GiveWeapon(45@, WeaponType.Pistol, 9999)
Char.SetAreaVisible(45@, 18)
217@ = Blip.AddForChar(45@)
Blip.ChangeDisplay(217@, BlipDisplay.BlipOnly)
Blip.ChangeScale(217@, 2)
Char.SetAccuracy(45@, 60)
Char.SetKeepTask(45@, True)
Char.SetMaxHealth(45@, 150)
Char.SetHealth(45@, 150)
Char.SetShootRate(45@, 50)
46@ = Char.Create(PedType.Mission1, 111, 1712.763, -1664.816, 19.273)
Char.SetHeading(46@, 329.331)
Char.SetDecisionMaker(46@, 36@)
Char.GiveWeapon(46@, WeaponType.Mp5, 9999)
Char.SetAccuracy(46@, 70)
Char.SetMaxHealth(46@, 150)
Char.SetHealth(46@, 150)
Char.SetAreaVisible(46@, 18)
218@ = Blip.AddForChar(46@)
Blip.ChangeDisplay(218@, BlipDisplay.BlipOnly)
Blip.ChangeScale(218@, 2)
Char.SetKeepTask(46@, True)
47@ = Char.Create(PedType.Mission1, 111, 1718.711, -1655.182, 19.108)
Char.SetHeading(47@, 327.782)
Char.SetDecisionMaker(47@, 35@)
Char.SetWeaponSkill(47@, 2)
Char.GiveWeapon(47@, WeaponType.Pistol, 9999)
Char.SetAreaVisible(47@, 18)
219@ = Blip.AddForChar(47@)
Blip.ChangeDisplay(219@, BlipDisplay.BlipOnly)
Blip.ChangeScale(219@, 2)
Char.SetAccuracy(47@, 60)
Char.SetKeepTask(47@, True)
48@ = Char.Create(PedType.Mission1, 112, 1701.8, -1650.28, 19.26)
Char.SetHeading(48@, 265.623)
Char.SetDecisionMaker(48@, 35@)
Char.SetWeaponSkill(48@, 2)
Char.GiveWeapon(48@, WeaponType.Pistol, 9999)
Char.SetMaxHealth(48@, 150)
Char.SetHealth(48@, 150)
Char.SetAreaVisible(48@, 18)
220@ = Blip.AddForChar(48@)
Blip.ChangeDisplay(220@, BlipDisplay.BlipOnly)
Blip.ChangeScale(220@, 2)
Char.SetKeepTask(48@, True)
Char.SetShootRate(48@, 60)
51@ = Char.Create(PedType.Mission1, 112, 1719.6, -1671.764, 22.741)
Char.SetHealth(51@, 5)
Char.SetHeading(51@, 11.45)
Char.SetDecisionMaker(51@, 35@)
Char.GiveWeapon(51@, WeaponType.Mp5, 9999)
Char.SetAllowedToDuck(51@, False)
Char.SetAreaVisible(51@, 18)
223@ = Blip.AddForChar(51@)
Blip.ChangeDisplay(223@, BlipDisplay.BlipOnly)
Blip.ChangeScale(223@, 2)
Char.SetKeepTask(51@, True)
52@ = Char.Create(PedType.Mission1, 112, 1701.897, -1668.039, 19.23)
Char.SetHeading(52@, 276.178)
Char.SetDecisionMaker(52@, 35@)
Char.SetWeaponSkill(52@, 2)
Char.GiveWeapon(52@, WeaponType.Pistol, 9999)
Char.SetAreaVisible(52@, 18)
Char.SetAccuracy(52@, 60)
224@ = Blip.AddForChar(52@)
Blip.ChangeDisplay(224@, BlipDisplay.BlipOnly)
Blip.ChangeScale(224@, 2)
Char.SetKeepTask(52@, True)
Char.SetMaxHealth(52@, 150)
Char.SetHealth(52@, 150)
53@ = Char.Create(PedType.Mission1, 111, 1725.037, -1672.69, 22.735)
Char.SetHeading(53@, 127.283)
Char.SetDecisionMaker(53@, 35@)
Char.SetWeaponSkill(53@, 2)
Char.GiveWeapon(53@, WeaponType.Pistol, 9999)
Char.SetAccuracy(53@, 60)
Char.SetAreaVisible(53@, 18)
225@ = Blip.AddForChar(53@)
Blip.ChangeDisplay(225@, BlipDisplay.BlipOnly)
Blip.ChangeScale(225@, 2)
Char.SetKeepTask(53@, True)
Char.SetShootRate(53@, 50)
54@ = Char.Create(PedType.Mission1, 111, 1733.358, -1664.599, 22.747)
Char.SetHeading(54@, 141.981)
Char.SetDecisionMaker(54@, 35@)
Char.SetWeaponSkill(54@, 2)
Char.GiveWeapon(54@, WeaponType.Pistol, 9999)
Char.SetAccuracy(54@, 65)
Char.SetAreaVisible(54@, 18)
226@ = Blip.AddForChar(54@)
Blip.ChangeDisplay(226@, BlipDisplay.BlipOnly)
Blip.ChangeScale(226@, 2)
Char.SetKeepTask(54@, True)
Char.SetMaxHealth(54@, 150)
Char.SetHealth(54@, 150)

:DRUGS1_8359
if 
  $tripskip_s2flag == 0
goto_if_false @DRUGS1_8626
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_8626
Char.ClearTasksImmediately($mc_strap)
Char.SetCollision($mc_strap, True)
Char.SetCollision($stattreadstamina_ctr, True)
Char.StopFacialTalk($mc_strap)
Char.StopFacialTalk($stattreadstamina_ctr)
Char.SetCoordinates($mc_strap, 1727.884, -1641.127, 19.2323)
Char.SetHeading($mc_strap, 182.5173)
Char.SetHasUsedEntryExit($mc_strap, 1727.009, -1635.826, 1.0)
89@ = Blip.AddForChar($mc_strap)
Char.SetAccuracy($mc_strap, 100)
Char.SetAreaVisible($mc_strap, 18)
Blip.SetAsFriendly(89@, True)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 1727.009, -1635.826, 1.0)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Streaming.LoadScene(1727.884, -1641.127, 19.2323)
Char.GiveWeapon($mc_strap, WeaponType.MicroUzi, 99999)
Char.SetMaxHealth($mc_strap, 500)
Char.SetHealth($mc_strap, 500)
$m1_random_int2 = Char.GetHealth($mc_strap)
Char.SetShootRate($mc_strap, 55)
$m1_random_int2 /= 5
Hud.DisplayCounterWithString($m1_random_int2, CounterDisplay.Bar, 'DGS1_58')
Task.ToggleDuck($mc_strap, True)
$tripskip_s2flag = 1

:DRUGS1_8626
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35624)
Hud.SwitchWidescreen(True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1725.933, -1638.374, 19.2232)
Char.SetHeading($stattreadstamina_ctr, 174.7897)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_8709
Char.SetProofs($mc_strap, True, True, True, True, True)

:DRUGS1_8709
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_8735
wait 0
goto @DRUGS1_8709

:DRUGS1_8735
Camera.DoFade(250, Fade.In)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_8777
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SMO4_BL', 2500, 1)

:DRUGS1_8777
if 
  not Char.IsDead(42@)
goto_if_false @DRUGS1_8832
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_8832
set_lvar_int_to_lvar_int 79@ = 42@
set_lvar_int_to_var_int 80@ = $mc_strap
gosub @DRUGS1_51943

:DRUGS1_8832
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS1_8887
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_8887
set_lvar_int_to_lvar_int 79@ = 44@
set_lvar_int_to_var_int 80@ = $mc_strap
gosub @DRUGS1_51987

:DRUGS1_8887
Camera.SetFixedPosition(1726.528, -1637.829, 21.257, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1726.477, -1638.779, 20.9496, SwitchType.JumpCut)
Task.ToggleDuck($stattreadstamina_ctr, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 1724.626, -1640.693, 20.2245, MoveState.Walk, -1)
TIMERA = 0

:DRUGS1_8976
if or
  not Char.LocateStoppedAnyMeans2D($stattreadstamina_ctr, 1724.626, -1640.693, 1.5, 1.5, False)
  TIMERA <= 1500
goto_if_false @DRUGS1_9033
wait 0
goto @DRUGS1_8976

:DRUGS1_9033
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_9050
Text.ClearPrints

:DRUGS1_9050
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi, 120)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Hud.SwitchWidescreen(False)
Char.SetCollision($stattreadstamina_ctr, True)
Streaming.RemoveAnimation("JST_BUISNESS")
Blip.Remove(88@)
Char.Delete(37@)
Char.Delete(38@)
Char.Delete(39@)
Char.Delete(40@)
Streaming.MarkModelAsNoLongerNeeded(93)
Streaming.MarkModelAsNoLongerNeeded(91)
Char.Delete(63@)
Car.Delete(34@)
Streaming.MarkModelAsNoLongerNeeded(466)
Player.SetControl($statbike_temp, True)
Task.ToggleDuck($stattreadstamina_ctr, True)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_9198
Char.SetProofs($mc_strap, False, False, False, False, False)

:DRUGS1_9198
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
123@ = 1
282@ = 0
283@ = 0
125@ = 1
90@ = 11
TIMERA = 0
128@ = 2

:DRUGS1_9251
if 
  90@ == 11
goto_if_false @DRUGS1_15741
if 
  128@ == 2
goto_if_false @DRUGS1_15741
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_9318
$m1_random_int2 = Char.GetHealth($mc_strap)
$m1_random_int2 /= 5

:DRUGS1_9318
if 
  126@ == 0
goto_if_false @DRUGS1_13730
if 
  $tripskip_s2flag == 1
goto_if_false @DRUGS1_9811
if 
  not Char.IsDead(43@)
goto_if_false @DRUGS1_9393
set_lvar_int_to_lvar_int 79@ = 43@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51987

:DRUGS1_9393
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS1_9432
set_lvar_int_to_lvar_int 79@ = 45@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51943

:DRUGS1_9432
if 
  not Char.IsDead(46@)
goto_if_false @DRUGS1_9487
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_9487
set_lvar_int_to_lvar_int 79@ = 46@
set_lvar_int_to_var_int 80@ = $mc_strap
gosub @DRUGS1_51987

:DRUGS1_9487
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS1_9526
set_lvar_int_to_lvar_int 79@ = 47@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51943

:DRUGS1_9526
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS1_9565
set_lvar_int_to_lvar_int 79@ = 51@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51987

:DRUGS1_9565
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS1_9664
set_lvar_int_to_lvar_int 79@ = 53@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
81@ = 1728.416
82@ = -1669.709
83@ = 22.84935
84@ = 1721.637
85@ = -1662.946
86@ = 20.27
gosub @DRUGS1_51806

:DRUGS1_9664
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_9797
122@ = 1
69@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
if 
  not Char.IsDead(42@)
goto_if_false @DRUGS1_9727
Task.KillCharOnFoot(-1, 42@)

:DRUGS1_9727
if 
  not Char.IsDead(43@)
goto_if_false @DRUGS1_9750
Task.KillCharOnFoot(-1, 43@)

:DRUGS1_9750
Task.StayInSamePlace(-1, False)
Task.GoStraightToCoord(-1, 1727.717, -1658.271, 20.277, MoveState.Run, -1)
Sequence.Close(69@)
Char.PerformSequence($mc_strap, 69@)
Sequence.Clear(69@)

:DRUGS1_9797
TIMERA = 0
$tripskip_s2flag = 2

:DRUGS1_9811
if 
  $tripskip_s2flag == 2
goto_if_false @DRUGS1_10022
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_10022
77@ = Char.GetScriptTaskStatus($mc_strap, 1560)
if 
  is_int_lvar_equal_to_constant 77@ == 7
goto_if_false @DRUGS1_10022
Char.SetAccuracy($mc_strap, 50)
70@ = Sequence.Open()
122@ = 2
Task.StayInSamePlace(-1, True)
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS1_9922
Task.KillCharOnFoot(-1, 44@)

:DRUGS1_9922
if 
  not Char.IsDead(52@)
goto_if_false @DRUGS1_9945
Task.KillCharOnFoot(-1, 52@)

:DRUGS1_9945
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS1_9968
Task.KillCharOnFoot(-1, 53@)

:DRUGS1_9968
Task.StayInSamePlace(-1, False)
Task.FollowPathNodesToCoord(-1, 1719.854, -1666.667, 20.271, 6, -1)
Sequence.Close(70@)
Char.PerformSequence($mc_strap, 70@)
Sequence.Clear(70@)
$tripskip_s2flag = 3

:DRUGS1_10022
if 
  $tripskip_s2flag == 3
goto_if_false @DRUGS1_10226
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_10226
77@ = Char.GetScriptTaskStatus($mc_strap, 1560)
if 
  is_int_lvar_equal_to_constant 77@ == 7
goto_if_false @DRUGS1_10226
122@ = 3
71@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
if 
  not Char.IsDead(46@)
goto_if_false @DRUGS1_10126
Task.KillCharOnFoot(-1, 46@)

:DRUGS1_10126
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS1_10149
Task.KillCharOnFoot(-1, 47@)

:DRUGS1_10149
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS1_10172
Task.KillCharOnFoot(-1, 48@)

:DRUGS1_10172
Task.StayInSamePlace(-1, False)
Task.FollowPathNodesToCoord(-1, 1713.96, -1668.24, 19.27, 6, -1)
Sequence.Close(71@)
Char.PerformSequence($mc_strap, 71@)
Sequence.Clear(71@)
$tripskip_s2flag = 4

:DRUGS1_10226
if 
  $tripskip_s2flag == 4
goto_if_false @DRUGS1_10407
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_10407
77@ = Char.GetScriptTaskStatus($mc_strap, 1560)
if 
  is_int_lvar_equal_to_constant 77@ == 7
goto_if_false @DRUGS1_10407
122@ = 4
72@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS1_10336
Task.KillCharOnFoot(-1, 45@)

:DRUGS1_10336
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS1_10359
Task.KillCharOnFoot(-1, 51@)

:DRUGS1_10359
if 
  not Char.IsDead(54@)
goto_if_false @DRUGS1_10382
Task.KillCharOnFoot(-1, 54@)

:DRUGS1_10382
Sequence.Close(72@)
Char.PerformSequence($mc_strap, 72@)
Sequence.Clear(72@)
$tripskip_s2flag = 5

:DRUGS1_10407
if 
  $tripskip_s2flag == 5
goto_if_false @DRUGS1_10542
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_10542
77@ = Char.GetScriptTaskStatus($mc_strap, 1560)
if 
  is_int_lvar_equal_to_constant 77@ == 7
goto_if_false @DRUGS1_10542
122@ = 5
73@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.FollowPathNodesToCoord(-1, 1704.45, -1667.71, 19.68, 6, -1)
Task.StayInSamePlace(-1, True)
Sequence.Close(73@)
Char.PerformSequence($mc_strap, 73@)
Sequence.Clear(73@)
$tripskip_s2flag = 6

:DRUGS1_10542
if 
  94@ == 0
goto_if_false @DRUGS1_10617
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS1_10617
if 
  Char.HasBeenDamagedByChar(44@, $stattreadstamina_ctr)
goto_if_false @DRUGS1_10617
Task.StayInSamePlace(44@, False)
Task.KillCharOnFoot(44@, $stattreadstamina_ctr)
94@ = 1

:DRUGS1_10617
if 
  95@ == 0
goto_if_false @DRUGS1_10732
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1727.0, -1637.0, 20.0, 3.0, 3.0, 5.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1700.19, -1667.58, 20.0, 6.5, 6.5, 5.0, False)
goto_if_false @DRUGS1_10732
Char.RemoveElegantly(41@)
95@ = 1

:DRUGS1_10732
if 
  96@ == 0
goto_if_false @DRUGS1_11010
if 
  Char.DoesExist(48@)
goto_if_false @DRUGS1_11010
if or
  Char.IsInArea3D($stattreadstamina_ctr, 1707.16, -1643.73, 17.0, 1735.9, -1653.46, 22.0, False)
  Char.HasBeenDamagedByChar(48@, $stattreadstamina_ctr)
  Char.IsDead(44@)
goto_if_false @DRUGS1_11010
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS1_10904
set_lvar_int_to_lvar_int 79@ = 48@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
81@ = 1725.069
82@ = -1649.467
83@ = 19.27
Char.SetMoney(48@, 250)
gosub @DRUGS1_51894

:DRUGS1_10904
if 
  not Char.IsDead(52@)
goto_if_false @DRUGS1_11003
set_lvar_int_to_lvar_int 79@ = 52@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
81@ = 1717.0
82@ = -1667.75
83@ = 20.27
84@ = 1715.609
85@ = -1657.258
86@ = 20.271
gosub @DRUGS1_51806

:DRUGS1_11003
96@ = 1

:DRUGS1_11010
if 
  98@ == 0
goto_if_false @DRUGS1_11211
if 
  Char.DoesExist(54@)
goto_if_false @DRUGS1_11211
if or
  Char.IsInArea3D($stattreadstamina_ctr, 1738.42, -1651.07, 17.0, 1698.7, -1659.61, 22.0, False)
  Char.HasBeenDamagedByChar(54@, $stattreadstamina_ctr)
  Char.IsDead(45@)
goto_if_false @DRUGS1_11211
if 
  not Char.IsDead(54@)
goto_if_false @DRUGS1_11204
set_lvar_int_to_lvar_int 79@ = 54@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
81@ = 1729.928
82@ = -1667.75
83@ = 22.85
84@ = 1725.52
85@ = -1663.737
86@ = 20.5
gosub @DRUGS1_51806

:DRUGS1_11204
98@ = 1

:DRUGS1_11211
if 
  7 > $tripskip_s2flag
goto_if_false @DRUGS1_11867
if 
  102@ == 0
goto_if_false @DRUGS1_11287
if 
  Char.IsDead(42@)
goto_if_false @DRUGS1_11287
Char.MarkAsNoLongerNeeded(42@)
Blip.Remove(214@)
124@ += 1
102@ = 1

:DRUGS1_11287
if 
  103@ == 0
goto_if_false @DRUGS1_11345
if 
  Char.IsDead(43@)
goto_if_false @DRUGS1_11345
Char.MarkAsNoLongerNeeded(43@)
Blip.Remove(215@)
124@ += 1
103@ = 1

:DRUGS1_11345
if 
  104@ == 0
goto_if_false @DRUGS1_11403
if 
  Char.IsDead(44@)
goto_if_false @DRUGS1_11403
Char.MarkAsNoLongerNeeded(44@)
Blip.Remove(216@)
124@ += 1
104@ = 1

:DRUGS1_11403
if 
  105@ == 0
goto_if_false @DRUGS1_11461
if 
  Char.IsDead(45@)
goto_if_false @DRUGS1_11461
Char.MarkAsNoLongerNeeded(45@)
Blip.Remove(217@)
124@ += 1
105@ = 1

:DRUGS1_11461
if 
  106@ == 0
goto_if_false @DRUGS1_11519
if 
  Char.IsDead(46@)
goto_if_false @DRUGS1_11519
Char.MarkAsNoLongerNeeded(46@)
Blip.Remove(218@)
124@ += 1
106@ = 1

:DRUGS1_11519
if 
  107@ == 0
goto_if_false @DRUGS1_11577
if 
  Char.IsDead(47@)
goto_if_false @DRUGS1_11577
Char.MarkAsNoLongerNeeded(47@)
Blip.Remove(219@)
124@ += 1
107@ = 1

:DRUGS1_11577
if 
  108@ == 0
goto_if_false @DRUGS1_11635
if 
  Char.IsDead(48@)
goto_if_false @DRUGS1_11635
Char.MarkAsNoLongerNeeded(48@)
Blip.Remove(220@)
124@ += 1
108@ = 1

:DRUGS1_11635
if 
  111@ == 0
goto_if_false @DRUGS1_11693
if 
  Char.IsDead(51@)
goto_if_false @DRUGS1_11693
Char.MarkAsNoLongerNeeded(51@)
Blip.Remove(223@)
124@ += 1
111@ = 1

:DRUGS1_11693
if 
  112@ == 0
goto_if_false @DRUGS1_11751
if 
  Char.IsDead(52@)
goto_if_false @DRUGS1_11751
Char.MarkAsNoLongerNeeded(52@)
Blip.Remove(224@)
124@ += 1
112@ = 1

:DRUGS1_11751
if 
  113@ == 0
goto_if_false @DRUGS1_11809
if 
  Char.IsDead(53@)
goto_if_false @DRUGS1_11809
Char.MarkAsNoLongerNeeded(53@)
Blip.Remove(225@)
124@ += 1
113@ = 1

:DRUGS1_11809
if 
  114@ == 0
goto_if_false @DRUGS1_11867
if 
  Char.IsDead(54@)
goto_if_false @DRUGS1_11867
Char.MarkAsNoLongerNeeded(54@)
Blip.Remove(226@)
124@ += 1
114@ = 1

:DRUGS1_11867
if 
  90@ == 11
goto_if_false @DRUGS1_12510
if 
  126@ == 0
goto_if_false @DRUGS1_12510
gosub @DRUGS1_51642
if 
  282@ == 0
goto_if_false @DRUGS1_11977
if 
  283@ == 0
goto_if_false @DRUGS1_11977
set_lvar_int_to_constant 239@ = 35627
set_lvar_text_label 240@s = 'SMO4_BO'
gosub @DRUGS1_51600

:DRUGS1_11977
if 
  282@ == 1
goto_if_false @DRUGS1_12044
if 
  283@ == 0
goto_if_false @DRUGS1_12044
set_lvar_int_to_constant 239@ = 35654
set_lvar_text_label 240@s = 'SMO4_EK'
gosub @DRUGS1_51600

:DRUGS1_12044
if 
  282@ == 2
goto_if_false @DRUGS1_12111
if 
  283@ == 0
goto_if_false @DRUGS1_12111
set_lvar_int_to_constant 239@ = 35637
set_lvar_text_label 240@s = 'SMO4_DA'
gosub @DRUGS1_51600

:DRUGS1_12111
if 
  282@ == 3
goto_if_false @DRUGS1_12178
if 
  283@ == 0
goto_if_false @DRUGS1_12178
set_lvar_int_to_constant 239@ = 35626
set_lvar_text_label 240@s = 'SMO4_BN'
gosub @DRUGS1_51600

:DRUGS1_12178
if 
  282@ == 4
goto_if_false @DRUGS1_12245
if 
  283@ == 0
goto_if_false @DRUGS1_12245
set_lvar_int_to_constant 239@ = 35628
set_lvar_text_label 240@s = 'SMO4_BP'
gosub @DRUGS1_51600

:DRUGS1_12245
if 
  282@ == 5
goto_if_false @DRUGS1_12312
if 
  283@ == 0
goto_if_false @DRUGS1_12312
set_lvar_int_to_constant 239@ = 35651
set_lvar_text_label 240@s = 'SMO4_EG'
gosub @DRUGS1_51600

:DRUGS1_12312
if 
  282@ == 6
goto_if_false @DRUGS1_12379
if 
  283@ == 0
goto_if_false @DRUGS1_12379
set_lvar_int_to_constant 239@ = 35653
set_lvar_text_label 240@s = 'SMO4_EJ'
gosub @DRUGS1_51600

:DRUGS1_12379
if 
  127@ == 0
goto_if_false @DRUGS1_12443
if or
  $tripskip_s2flag == 6
  124@ == 11
goto_if_false @DRUGS1_12443
283@ = 0
282@ = 12
127@ = 1

:DRUGS1_12443
if 
  282@ == 12
goto_if_false @DRUGS1_12510
if 
  283@ == 0
goto_if_false @DRUGS1_12510
set_lvar_int_to_constant 239@ = 35644
set_lvar_text_label 240@s = 'SMO4_DJ'
gosub @DRUGS1_51600

:DRUGS1_12510
if 
  125@ == 1
goto_if_false @DRUGS1_12553
Text.PrintHelp('DGS1_63')
TIMERB = 0
125@ = 2

:DRUGS1_12553
if 
  125@ == 2
goto_if_false @DRUGS1_12615
if 
  TIMERB > 10000
goto_if_false @DRUGS1_12615
Text.PrintHelp('DGS1_2')
TIMERB = 0
125@ = 3

:DRUGS1_12615
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_13730
if 
  Char.LocateOnFoot3D($mc_strap, 1704.45, -1667.71, 19.68, 6.0, 6.0, 4.0, False)
goto_if_false @DRUGS1_13730
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 1700.49, -1667.87, 19.46, 8.5, 8.5, 4.0, False)
goto_if_false @DRUGS1_13730
if or
  $tripskip_s2flag == 6
  124@ == 11
goto_if_false @DRUGS1_13730
Char.SetProofs($mc_strap, True, True, True, True, True)
Camera.DoFade(500, Fade.Out)

:DRUGS1_12774
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS1_12798
wait 0
goto @DRUGS1_12774

:DRUGS1_12798
Player.SetControl($statbike_temp, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_12909
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($mc_strap, 0)
Char.ClearTasksImmediately($mc_strap)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Char.SetCoordinates($mc_strap, 1696.229, -1669.133, 19.23)
Char.SetHeading($mc_strap, 86.7366)
Char.SetCoordinates($stattreadstamina_ctr, 1696.339, -1666.897, 19.2)
Char.SetHeading($stattreadstamina_ctr, 85.4)

:DRUGS1_12909
49@ = Char.Create(PedType.Mission1, 112, 1682.685, -1671.516, 19.24)
Char.SetHeading(49@, 289.407)
Char.SetDecisionMaker(49@, 35@)
Char.SetWeaponSkill(49@, 2)
Char.GiveWeapon(49@, WeaponType.Pistol, 9999)
Char.SetAccuracy(49@, 50)
Char.SetHealth(49@, 150)
214@ = Blip.AddForChar(49@)
Blip.ChangeDisplay(214@, BlipDisplay.BlipOnly)
Blip.ChangeScale(214@, 2)
Char.SetKeepTask(49@, True)
55@ = Char.Create(PedType.Mission1, 111, 1676.529, -1676.516, 20.47)
Char.SetHeading(55@, 299.59)
Char.SetDecisionMaker(55@, 35@)
Char.GiveWeapon(55@, WeaponType.Mp5, 9999)
Char.SetAccuracy(55@, 30)
Char.SetHealth(55@, 150)
Char.SetAllowedToDuck(55@, False)
215@ = Blip.AddForChar(55@)
Blip.ChangeDisplay(215@, BlipDisplay.BlipOnly)
Blip.ChangeScale(215@, 2)
Char.SetKeepTask(55@, True)
56@ = Char.Create(PedType.Mission1, 111, 1645.896, -1667.693, 20.472)
Char.SetHeading(56@, 270.18)
Char.SetDecisionMaker(56@, 35@)
Char.SetWeaponSkill(56@, 2)
Char.GiveWeapon(56@, WeaponType.Pistol, 9999)
Char.SetAccuracy(56@, 60)
Char.SetHealth(56@, 150)
216@ = Blip.AddForChar(56@)
Blip.ChangeDisplay(216@, BlipDisplay.BlipOnly)
Blip.ChangeScale(216@, 2)
Char.SetKeepTask(56@, True)
57@ = Char.Create(PedType.Mission1, 111, 1663.022, -1685.541, 20.469)
Char.SetHeading(57@, 301.304)
Char.SetDecisionMaker(57@, 35@)
Char.GiveWeapon(57@, WeaponType.Mp5, 9999)
Char.SetAccuracy(57@, 50)
Char.SetHealth(57@, 125)
217@ = Blip.AddForChar(57@)
Blip.ChangeDisplay(217@, BlipDisplay.BlipOnly)
Blip.ChangeScale(217@, 2)
Char.SetKeepTask(57@, True)
58@ = Char.Create(PedType.Mission1, 111, 1663.079, -1676.61, 20.468)
Char.SetHeading(58@, 268.5)
Char.SetDecisionMaker(58@, 35@)
Char.GiveWeapon(58@, WeaponType.Mp5, 9999)
Char.SetAccuracy(58@, 60)
Char.SetMaxHealth(58@, 125)
Char.SetHealth(58@, 125)
Char.SetAllowedToDuck(58@, False)
218@ = Blip.AddForChar(58@)
Blip.ChangeDisplay(218@, BlipDisplay.BlipOnly)
Blip.ChangeScale(218@, 2)
Char.SetKeepTask(58@, True)
59@ = Char.Create(PedType.Mission1, 111, 1662.793, -1670.124, 20.463)
Char.SetHeading(59@, 268.5)
Char.SetDecisionMaker(59@, 35@)
Char.GiveWeapon(59@, WeaponType.Mp5, 9999)
Char.SetOnlyDamagedByPlayer(59@, True)
Char.SetAccuracy(59@, 60)
Char.SetMaxHealth(59@, 150)
Char.SetHealth(59@, 150)
219@ = Blip.AddForChar(59@)
Blip.ChangeDisplay(219@, BlipDisplay.BlipOnly)
Blip.ChangeScale(219@, 2)
Char.SetKeepTask(59@, True)
50@ = Char.Create(PedType.Mission1, 111, 1698.51, -1678.459, 19.233)
Char.SetHeading(50@, 99.699)
Char.SetDecisionMaker(50@, 35@)
Char.SetWeaponSkill(50@, 2)
Char.GiveWeapon(50@, WeaponType.Pistol, 9999)
Char.SetAccuracy(50@, 30)
Char.SetHealth(50@, 150)
220@ = Blip.AddForChar(50@)
Blip.ChangeDisplay(220@, BlipDisplay.BlipOnly)
Blip.ChangeScale(220@, 2)
Char.SetKeepTask(50@, True)
Task.ToggleDuck($stattreadstamina_ctr, True)
wait 500
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_13679
Char.SetProofs($mc_strap, False, False, False, False, False)

:DRUGS1_13679
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Camera.DoFade(750, Fade.In)
124@ = 0
$tripskip_s2flag = 6
282@ = 0
283@ = 0
126@ = 1

:DRUGS1_13730
if 
  126@ == 1
goto_if_false @DRUGS1_15741
if 
  $tripskip_s2flag == 6
goto_if_false @DRUGS1_13923
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_13923
Char.SetAccuracy($mc_strap, 80)
74@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.GoStraightToCoord(-1, 1690.24, -1669.363, 21.46, MoveState.Run, -1)
Task.StayInSamePlace(-1, True)
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS1_13852
Task.KillCharOnFoot(-1, 49@)

:DRUGS1_13852
if 
  not Char.IsDead(55@)
goto_if_false @DRUGS1_13875
Task.KillCharOnFoot(-1, 55@)

:DRUGS1_13875
if 
  not Char.IsDead(56@)
goto_if_false @DRUGS1_13898
Task.KillCharOnFoot(-1, 56@)

:DRUGS1_13898
Sequence.Close(74@)
Char.PerformSequence($mc_strap, 74@)
Sequence.Clear(74@)
$tripskip_s2flag = 7

:DRUGS1_13923
if 
  $tripskip_s2flag == 7
goto_if_false @DRUGS1_14121
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_14121
77@ = Char.GetScriptTaskStatus($mc_strap, 1560)
if 
  is_int_lvar_equal_to_constant 77@ == 7
goto_if_false @DRUGS1_14121
Char.SetAccuracy($mc_strap, 60)
75@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 1669.82, -1671.917, 21.43, 6, -1)
Task.StayInSamePlace(-1, True)
if 
  not Char.IsDead(58@)
goto_if_false @DRUGS1_14050
Task.KillCharOnFoot(-1, 58@)

:DRUGS1_14050
if 
  not Char.IsDead(56@)
goto_if_false @DRUGS1_14073
Task.KillCharOnFoot(-1, 56@)

:DRUGS1_14073
if 
  not Char.IsDead(59@)
goto_if_false @DRUGS1_14096
Task.KillCharOnFoot(-1, 59@)

:DRUGS1_14096
Sequence.Close(75@)
Char.PerformSequence($mc_strap, 75@)
Sequence.Clear(75@)
$tripskip_s2flag = 8

:DRUGS1_14121
if 
  $tripskip_s2flag == 8
goto_if_false @DRUGS1_14266
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_14266
77@ = Char.GetScriptTaskStatus($mc_strap, 1560)
if 
  is_int_lvar_equal_to_constant 77@ == 7
goto_if_false @DRUGS1_14266
76@ = Sequence.Open()
Task.ToggleDuck(-1, True)
if 
  not Char.IsDead(50@)
goto_if_false @DRUGS1_14218
Task.KillCharOnFoot(-1, 50@)

:DRUGS1_14218
if 
  not Char.IsDead(57@)
goto_if_false @DRUGS1_14241
Task.KillCharOnFoot(-1, 57@)

:DRUGS1_14241
Sequence.Close(76@)
Char.PerformSequence($mc_strap, 76@)
Sequence.Clear(76@)
$tripskip_s2flag = 9

:DRUGS1_14266
if 
  $tripskip_s2flag == 9
goto_if_false @DRUGS1_14357
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_14357
77@ = Char.GetScriptTaskStatus($mc_strap, 1560)
if or
  is_int_lvar_equal_to_constant 77@ == 7
  124@ == 7
goto_if_false @DRUGS1_14357
TIMERB = 0
284@ = 1
90@ = 12

:DRUGS1_14357
if 
  124@ == 7
goto_if_false @DRUGS1_14396
TIMERB = 0
284@ = 1
90@ = 12

:DRUGS1_14396
if 
  100@ == 0
goto_if_false @DRUGS1_14680
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_14680
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS1_14485
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_14485
set_lvar_int_to_lvar_int 79@ = 49@
set_lvar_int_to_var_int 80@ = $mc_strap
gosub @DRUGS1_51987

:DRUGS1_14485
if 
  not Char.IsDead(55@)
goto_if_false @DRUGS1_14524
set_lvar_int_to_lvar_int 79@ = 55@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51987

:DRUGS1_14524
if 
  not Char.IsDead(57@)
goto_if_false @DRUGS1_14579
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_14579
set_lvar_int_to_lvar_int 79@ = 57@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51943

:DRUGS1_14579
if 
  not Char.IsDead(58@)
goto_if_false @DRUGS1_14618
set_lvar_int_to_lvar_int 79@ = 58@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51987

:DRUGS1_14618
if 
  not Char.IsDead(59@)
goto_if_false @DRUGS1_14673
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_14673
set_lvar_int_to_lvar_int 79@ = 59@
set_lvar_int_to_var_int 80@ = $mc_strap
gosub @DRUGS1_51943

:DRUGS1_14673
100@ = 1

:DRUGS1_14680
if 
  101@ == 0
goto_if_false @DRUGS1_14859
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_14859
if 
  not Char.IsDead(50@)
goto_if_false @DRUGS1_14783
set_lvar_int_to_lvar_int 79@ = 50@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
81@ = 1669.863
82@ = -1679.125
83@ = 20.47
gosub @DRUGS1_51751

:DRUGS1_14783
if 
  not Char.IsDead(56@)
goto_if_false @DRUGS1_14852
set_lvar_int_to_lvar_int 79@ = 56@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
81@ = 1675.149
82@ = -1667.818
83@ = 20.47
gosub @DRUGS1_51751

:DRUGS1_14852
101@ = 1

:DRUGS1_14859
if 
  282@ == 0
goto_if_false @DRUGS1_14926
if 
  283@ == 0
goto_if_false @DRUGS1_14926
set_lvar_int_to_constant 239@ = 35646
set_lvar_text_label 240@s = 'SMO4_EB'
gosub @DRUGS1_51600

:DRUGS1_14926
if 
  282@ == 1
goto_if_false @DRUGS1_14993
if 
  283@ == 0
goto_if_false @DRUGS1_14993
set_lvar_int_to_constant 239@ = 35625
set_lvar_text_label 240@s = 'SMO4_BM'
gosub @DRUGS1_51600

:DRUGS1_14993
if 
  282@ == 2
goto_if_false @DRUGS1_15060
if 
  283@ == 0
goto_if_false @DRUGS1_15060
set_lvar_int_to_constant 239@ = 35642
set_lvar_text_label 240@s = 'SMO4_DG'
gosub @DRUGS1_51600

:DRUGS1_15060
if 
  282@ == 3
goto_if_false @DRUGS1_15127
if 
  283@ == 0
goto_if_false @DRUGS1_15127
set_lvar_int_to_constant 239@ = 35620
set_lvar_text_label 240@s = 'SMO4_BG'
gosub @DRUGS1_51600

:DRUGS1_15127
if 
  282@ == 4
goto_if_false @DRUGS1_15194
if 
  283@ == 0
goto_if_false @DRUGS1_15194
set_lvar_int_to_constant 239@ = 35648
set_lvar_text_label 240@s = 'SMO4_ED'
gosub @DRUGS1_51600

:DRUGS1_15194
if 
  282@ == 5
goto_if_false @DRUGS1_15261
if 
  283@ == 0
goto_if_false @DRUGS1_15261
set_lvar_int_to_constant 239@ = 35650
set_lvar_text_label 240@s = 'SMO4_EF'
gosub @DRUGS1_51600

:DRUGS1_15261
if 
  282@ == 6
goto_if_false @DRUGS1_15328
if 
  283@ == 0
goto_if_false @DRUGS1_15328
set_lvar_int_to_constant 239@ = 35652
set_lvar_text_label 240@s = 'SMO4_EH'
gosub @DRUGS1_51600

:DRUGS1_15328
gosub @DRUGS1_51642
if 
  109@ == 0
goto_if_false @DRUGS1_15393
if 
  Char.IsDead(49@)
goto_if_false @DRUGS1_15393
Char.MarkAsNoLongerNeeded(49@)
Blip.Remove(214@)
124@ += 1
109@ = 1

:DRUGS1_15393
if 
  115@ == 0
goto_if_false @DRUGS1_15451
if 
  Char.IsDead(55@)
goto_if_false @DRUGS1_15451
Char.MarkAsNoLongerNeeded(55@)
Blip.Remove(215@)
124@ += 1
115@ = 1

:DRUGS1_15451
if 
  116@ == 0
goto_if_false @DRUGS1_15509
if 
  Char.IsDead(56@)
goto_if_false @DRUGS1_15509
Char.MarkAsNoLongerNeeded(56@)
Blip.Remove(216@)
124@ += 1
116@ = 1

:DRUGS1_15509
if 
  117@ == 0
goto_if_false @DRUGS1_15567
if 
  Char.IsDead(57@)
goto_if_false @DRUGS1_15567
Char.MarkAsNoLongerNeeded(57@)
Blip.Remove(217@)
124@ += 1
117@ = 1

:DRUGS1_15567
if 
  118@ == 0
goto_if_false @DRUGS1_15625
if 
  Char.IsDead(58@)
goto_if_false @DRUGS1_15625
Char.MarkAsNoLongerNeeded(58@)
Blip.Remove(218@)
124@ += 1
118@ = 1

:DRUGS1_15625
if 
  119@ == 0
goto_if_false @DRUGS1_15683
if 
  Char.IsDead(59@)
goto_if_false @DRUGS1_15683
Char.MarkAsNoLongerNeeded(59@)
Blip.Remove(219@)
124@ += 1
119@ = 1

:DRUGS1_15683
if 
  110@ == 0
goto_if_false @DRUGS1_15741
if 
  Char.IsDead(50@)
goto_if_false @DRUGS1_15741
Char.MarkAsNoLongerNeeded(50@)
Blip.Remove(220@)
124@ += 1
110@ = 1

:DRUGS1_15741
if 
  284@ == 1
goto_if_false @DRUGS1_15785
if 
  TIMERB > 2000
goto_if_false @DRUGS1_15785
284@ = 2

:DRUGS1_15785
if 
  284@ == 2
goto_if_false @DRUGS1_17081
if 
  90@ == 12
goto_if_false @DRUGS1_16282
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_16282
Text.ClearPrints
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Pad.SetPlayerEnterCarButton($statbike_temp, False)
World.ClearArea(1672.321, -1697.259, 200.0, 200.0, False)
Camera.SetFixedPosition(1672.321, -1697.259, 20.6216, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1672.069, -1696.5, 21.2228, SwitchType.JumpCut)
Hud.ClearCounter($m1_random_int2)
Blip.Remove(89@)
Char.ClearTasksImmediately($mc_strap)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($mc_strap, 1668.756, -1689.291, 20.869)
Char.SetHeading($mc_strap, 203.5)
Char.SetCoordinates($stattreadstamina_ctr, 1667.26, -1683.5, 20.869)
Char.SetHeading($stattreadstamina_ctr, 203.5)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(112)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35658)
Streaming.RequestCarRecording(250)
Streaming.RequestCarRecording(251)
Streaming.RequestCarRecording(252)
Streaming.RequestModel(581)
wait 100
Streaming.LoadAllModelsNow

:DRUGS1_16065
if or
  not Streaming.HasCarRecordingBeenLoaded(250)
  not Streaming.HasCarRecordingBeenLoaded(251)
  not Streaming.HasCarRecordingBeenLoaded(252)
  not Streaming.HasModelLoaded(581)
goto_if_false @DRUGS1_16107
wait 0
goto @DRUGS1_16065

:DRUGS1_16107
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_16133
wait 0
goto @DRUGS1_16107

:DRUGS1_16133
Char.Delete(63@)
World.ClearArea(1668.67, -1694.68, 19.97, 200.0, False)
Car.CustomPlateForNextCar(581, "_IMY_AK")
161@ = Car.Create(581, 1671.791, -1695.106, 19.48)
Car.SetHeading(161@, 117.5347)
Car.SetProofs(161@, False, True, True, True, True)
Camera.SetInterpolationParameters(0.0, 3000)
Car.SetCanBurstTires(161@, False)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi, 99999)
Car.SetHealth(161@, 2000)
Car.SetCanBurstTires(161@, False)
TIMERA = 0
90@ = 13

:DRUGS1_16282
if 
  90@ == 13
goto_if_false @DRUGS1_16397
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_16397
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_16397
Camera.SetFixedPosition(1672.321, -1697.259, 20.6216, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1672.069, -1696.5, 20.6212, SwitchType.Interpolation)
TIMERA = 0
90@ = 14

:DRUGS1_16397
if 
  90@ == 14
goto_if_false @DRUGS1_16528
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_16528
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_16528
if 
  TIMERA > 900
goto_if_false @DRUGS1_16528
Task.EnterCarAsDriver($mc_strap, 161@, 5000)
Task.EnterCarAsPassenger($stattreadstamina_ctr, 161@, 5000, 0)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMO4_EO', 5000, 1)
127@ = 2
90@ = 15

:DRUGS1_16528
if 
  90@ == 15
goto_if_false @DRUGS1_16737
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_16737
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_16737
if 
  Char.IsSittingInCar($mc_strap, 161@)
goto_if_false @DRUGS1_16737
Camera.SetFixedPosition(1672.983, -1692.091, 19.8891, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1672.57, -1692.999, 19.9589, SwitchType.JumpCut)
Camera.PointAtCar(161@, CameraMode.Fixed, SwitchType.JumpCut)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1674.371, -1695.097, 19.814)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Task.EnterCarAsPassenger($stattreadstamina_ctr, 161@, 5000, 0)
Task.LookAtChar($mc_strap, $stattreadstamina_ctr, 2000)
Char.SetCanBeKnockedOffBike($stattreadstamina_ctr, True)
Char.SetCanBeKnockedOffBike($mc_strap, True)
90@ = 16

:DRUGS1_16737
if 
  90@ == 16
goto_if_false @DRUGS1_16837
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_16837
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_16837
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 161@)
goto_if_false @DRUGS1_16837
Audio.SetRadioChannel(RadioChannel.RadioX)
Char.ClearLookAt($mc_strap)
Car.StartPlayback(161@, 250)
TIMERA = 0
90@ = 17

:DRUGS1_16837
if 
  90@ == 17
goto_if_false @DRUGS1_17030
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_17030
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_17030
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 161@)
goto_if_false @DRUGS1_17030
if 
  TIMERA > 1600
goto_if_false @DRUGS1_17030
Camera.SetFixedPosition(1623.331, -1705.448, 19.7991, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1624.331, -1705.475, 19.7991, SwitchType.JumpCut)
Car.StopPlayback(161@)
wait 0
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_17009
Car.StartPlayback(161@, 251)

:DRUGS1_17009
TIMERA = 0
284@ = 3
90@ = 18

:DRUGS1_17030
if 
  127@ == 2
goto_if_false @DRUGS1_17081
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_17081
Text.ClearThisPrint('SMO4_EO')
127@ = 3

:DRUGS1_17081
if or
  243@ == 0
  243@ == 1
  243@ == 2
  243@ == 3
goto_if_false @DRUGS1_17303
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_17303
if 
  280@ <= 3
goto_if_false @DRUGS1_17303
$x_hud_pos = Car.GetHealth(161@)
$x_hud_pos -= 1000
if 
  0 >= $x_hud_pos
goto_if_false @DRUGS1_17296
$x_hud_pos = 0
Car.SetProofs(161@, False, False, False, False, False)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_17261
Char.SetProofs($mc_strap, False, False, False, False, False)
Task.Die($mc_strap)

:DRUGS1_17261
Car.Explode(161@)
Text.PrintNow('DGS1_60', 7000, 1)
goto @DRUGS1_52025
goto @DRUGS1_17303

:DRUGS1_17296
$x_hud_pos /= 10

:DRUGS1_17303
if 
  243@ == 0
goto_if_false @DRUGS1_23435
if 
  90@ == 18
goto_if_false @DRUGS1_18642
if 
  TIMERA > 700
goto_if_false @DRUGS1_18642
$in_carX = 19.7991
Streaming.RequestCarRecording(253)
Streaming.RequestCarRecording(254)
Streaming.RequestCarRecording(255)
Streaming.RequestCarRecording(256)
Streaming.RequestCarRecording(257)
Streaming.RequestModel(560)
Streaming.RequestModel(#KMB_SKIP)
Streaming.RequestModel(516)
Streaming.RequestModel(437)
Streaming.RequestModel(443)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35663)
Streaming.LoadAllModelsNow

:DRUGS1_17433
if or
  not Streaming.HasCarRecordingBeenLoaded(253)
  not Streaming.HasCarRecordingBeenLoaded(254)
  not Streaming.HasCarRecordingBeenLoaded(255)
  not Streaming.HasCarRecordingBeenLoaded(256)
  not Streaming.HasCarRecordingBeenLoaded(257)
goto_if_false @DRUGS1_17480
wait 0
goto @DRUGS1_17433

:DRUGS1_17480
if or
  not Streaming.HasModelLoaded(560)
  not Streaming.HasModelLoaded(#KMB_SKIP)
  not Streaming.HasModelLoaded(516)
  not Streaming.HasModelLoaded(437)
  not Streaming.HasModelLoaded(443)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_17531
wait 0
goto @DRUGS1_17480

:DRUGS1_17531
162@ = Object.Create(#KMB_SKIP, 1563.603, -1437.107, 12.347)
Object.SetHeading(162@, 90.4568)
Object.FreezePosition(162@, True)
163@ = Car.Create(437, 1552.209, -1437.3, 12.3828)
Car.SetHeading(163@, 90.2081)
Car.FreezePosition(163@, True)
164@ = Car.Create(437, 1539.759, -1437.34, 12.3906)
Car.SetHeading(164@, 90.2081)
Car.FreezePosition(164@, True)
165@ = Car.Create(516, 1680.473, -1589.874, 13.23)
Car.SetHeading(165@, 87.883)
Car.ChangeColor(165@, 3, 3)
177@ = Char.CreateInsideCar(165@, PedType.Mission1, 7)
Char.SetDecisionMaker(177@, 35@)
166@ = Car.Create(516, 1594.553, -1595.039, 13.243)
Car.SetHeading(166@, 271.189)
Car.ChangeColor(166@, 8, 8)
178@ = Char.CreateInsideCar(166@, PedType.Mission1, 7)
Char.SetDecisionMaker(178@, 35@)
167@ = Car.Create(516, 1655.527, -1550.667, 13.226)
Car.SetHeading(167@, 180.735)
Car.ChangeColor(167@, 51, 51)
179@ = Char.CreateInsideCar(167@, PedType.Mission1, 7)
Char.SetDecisionMaker(179@, 35@)
168@ = Car.Create(516, 1655.391, -1463.511, 13.22)
Car.SetHeading(168@, 180.735)
Car.ChangeColor(168@, 4, 4)
Car.SetHeavy(168@, True)
180@ = Char.CreateInsideCar(168@, PedType.Mission1, 7)
Char.SetDecisionMaker(180@, 35@)
169@ = Car.Create(516, 1660.788, -1563.222, 13.23)
Car.SetHeading(169@, 358.832)
Car.ChangeColor(169@, 73, 73)
181@ = Char.CreateInsideCar(169@, PedType.Mission1, 7)
Char.SetDecisionMaker(181@, 35@)
170@ = Car.Create(516, 1660.594, -1522.353, 13.225)
Car.SetHeading(170@, 358.832)
Car.ChangeColor(170@, 99, 99)
182@ = Char.CreateInsideCar(170@, PedType.Mission1, 7)
Char.SetDecisionMaker(182@, 35@)
171@ = Car.Create(516, 1693.236, -1589.973, 13.224)
Car.SetHeading(171@, 91.298)
Car.ChangeColor(171@, 2, 2)
Car.SetHeavy(171@, True)
183@ = Char.CreateInsideCar(171@, PedType.Mission1, 7)
Char.SetDecisionMaker(183@, 35@)
188@ = Car.Create(443, 1590.891, -1590.689, 13.09)
Car.SetPetrolTankWeakpoint(188@, False)
Car.SetHeading(188@, 273.516)
Car.SetHealth(188@, 3000)
Car.SetOnlyDamagedByPlayer(188@, True)
42@ = Char.CreateInsideCar(188@, PedType.Mission1, 111)
Char.SetDecisionMaker(42@, 35@)
Char.SetCanBeShotInVehicle(42@, False)
209@ = Blip.AddForCar(188@)
Blip.ChangeDisplay(209@, BlipDisplay.BlipOnly)
Blip.ChangeScale(209@, 2)
Car.SetProofs(188@, False, True, True, True, True)
275@ = 1
TIMERA = 0

:DRUGS1_18232
if 
  $in_carX > 13.8442
goto_if_false @DRUGS1_18635
wait 0
sub_timed_val_from_float_var $in_carX -=@ 0.02
Camera.SetFixedPosition(1623.331, -1705.448, $in_carX, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1624.331, -1705.475, $in_carX, SwitchType.JumpCut)
if 
  271@ == 0
goto_if_false @DRUGS1_18628
if 
  TIMERA > 1000
goto_if_false @DRUGS1_18628
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_18628
if 
  not Car.IsPlaybackGoingOn(161@)
goto_if_false @DRUGS1_18628
189@ = Car.Create(581, 1665.25, -1716.98, 12.75)
Car.SetPetrolTankWeakpoint(189@, False)
Car.SetHeading(189@, 84.0)
Car.SetHealth(189@, 800)
43@ = Char.CreateInsideCar(189@, PedType.Mission1, 111)
Char.SetDecisionMaker(43@, 35@)
Char.SetHealth(43@, 10)
Char.SetOnlyDamagedByPlayer(43@, True)
44@ = Char.CreateAsPassenger(189@, PedType.Mission1, 111, 0)
Char.GiveWeapon(44@, WeaponType.MicroUzi, 99999)
Char.SetDecisionMaker(44@, 35@)
Char.SetHealth(44@, 10)
Char.SetOnlyDamagedByPlayer(44@, True)
214@ = Blip.AddForCar(189@)
Blip.ChangeDisplay(214@, BlipDisplay.BlipOnly)
Blip.ChangeScale(214@, 2)
247@ = 1
260@ = 1
wait 0
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_18587
Car.StartPlayback(161@, 252)
Car.SetPlaybackSpeed(161@, 0.9)

:DRUGS1_18587
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_18621
Car.StartPlayback(189@, 256)
Car.SetPlaybackSpeed(189@, 0.9)

:DRUGS1_18621
271@ = 1

:DRUGS1_18628
goto @DRUGS1_18232

:DRUGS1_18635
90@ = 19

:DRUGS1_18642
if 
  90@ == 19
goto_if_false @DRUGS1_19044
if 
  TIMERA > 8500
goto_if_false @DRUGS1_19044
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_19044
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_19044
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi, 99999)
Task.DriveBy($stattreadstamina_ctr, -1, -1, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 100)
Player.SetHeadingForAttached($statbike_temp, 95.5, 200.0)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Hud.DisplayCounterWithString($x_hud_pos, CounterDisplay.Bar, 'DGS1_59')
288@ += 1
if 
  288@ > 1
goto_if_false @DRUGS1_18843
289@ = 30
goto @DRUGS1_18850

:DRUGS1_18843
289@ = 92

:DRUGS1_18850
if 
  not Char.IsDead(43@)
goto_if_false @DRUGS1_18915
Char.GiveWeapon(43@, WeaponType.MicroUzi, 99999)
Task.DriveBy(43@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)

:DRUGS1_18915
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS1_18967
Task.DriveBy(44@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)

:DRUGS1_18967
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Char.SetProofs($mc_strap, True, True, True, True, True)
Text.PrintHelp('DGS1_64')
282@ = 0
283@ = 0
TIMERB = 0
122@ = 200
90@ = 20

:DRUGS1_19044
if 
  122@ == 200
goto_if_false @DRUGS1_19084
if 
  Text.IsHelpMessageBeingDisplayed
goto_if_false @DRUGS1_19084
122@ = 201

:DRUGS1_19084
if 
  122@ == 201
goto_if_false @DRUGS1_19135
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @DRUGS1_19135
Text.PrintHelp('DGS1_65')
122@ = 202

:DRUGS1_19135
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_23435
if 
  242@ == 0
goto_if_false @DRUGS1_19427
if 
  Car.Locate2D(161@, 1620.59, -1612.14, 7.0, 7.0, False)
goto_if_false @DRUGS1_19427
if 
  not Car.IsDead(165@)
goto_if_false @DRUGS1_19270
Car.GotoCoordinates(165@, 1571.424, -1590.02, 13.23)
Car.SetCruiseSpeed(165@, 13.5)
Car.SetForwardSpeed(165@, 13.5)
Car.SetDrivingStyle(165@, DrivingMode.StopForCarsIgnoreLights)

:DRUGS1_19270
if 
  not Car.IsDead(166@)
goto_if_false @DRUGS1_19333
Car.GotoCoordinates(166@, 1681.473, -1595.059, 13.22)
Car.SetCruiseSpeed(166@, 13.5)
Car.SetForwardSpeed(166@, 4.5)
Car.SetDrivingStyle(166@, DrivingMode.StopForCarsIgnoreLights)

:DRUGS1_19333
if 
  not Car.IsDead(171@)
goto_if_false @DRUGS1_19386
Car.GotoCoordinates(171@, 1582.411, -1590.115, 13.228)
Car.SetCruiseSpeed(171@, 9.0)
Car.SetDrivingStyle(171@, DrivingMode.StopForCarsIgnoreLights)

:DRUGS1_19386
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS1_19420
Car.StartPlayback(188@, 255)
Car.SetPlaybackSpeed(188@, 0.9)

:DRUGS1_19420
242@ = 1

:DRUGS1_19427
if 
  242@ == 1
goto_if_false @DRUGS1_19732
if 
  Car.Locate2D(161@, 1654.1, -1589.48, 10.0, 10.0, False)
goto_if_false @DRUGS1_19732
if 
  not Car.IsDead(167@)
goto_if_false @DRUGS1_19536
Car.GotoCoordinates(167@, 1655.839, -1576.842, 13.226)
Car.SetCruiseSpeed(167@, 9.0)
Car.SetDrivingStyle(167@, DrivingMode.StopForCarsIgnoreLights)

:DRUGS1_19536
if 
  not Car.IsDead(168@)
goto_if_false @DRUGS1_19599
Car.GotoCoordinates(168@, 1655.593, -1559.511, 13.227)
Car.SetCruiseSpeed(168@, 9.0)
Car.SetForwardSpeed(168@, 9.0)
Car.SetDrivingStyle(168@, DrivingMode.StopForCarsIgnoreLights)

:DRUGS1_19599
if 
  not Car.IsDead(169@)
goto_if_false @DRUGS1_19662
Car.GotoCoordinates(169@, 1702.0, -1444.0, 13.0)
Car.SetCruiseSpeed(169@, 9.0)
Car.SetForwardSpeed(169@, 10.8)
Car.SetDrivingStyle(169@, DrivingMode.StopForCarsIgnoreLights)

:DRUGS1_19662
if 
  not Car.IsDead(170@)
goto_if_false @DRUGS1_19725
Car.GotoCoordinates(170@, 1702.0, -1444.0, 13.0)
Car.SetCruiseSpeed(170@, 9.0)
Car.SetForwardSpeed(170@, 9.0)
Car.SetDrivingStyle(170@, DrivingMode.StopForCarsIgnoreLights)

:DRUGS1_19725
242@ = 2

:DRUGS1_19732
if 
  242@ == 2
goto_if_false @DRUGS1_20099
if 
  Car.Locate2D(161@, 1657.56, -1537.29, 10.0, 10.0, False)
goto_if_false @DRUGS1_20099
194@ = Car.Create(581, 1702.127, -1496.87, 12.95)
Car.SetPetrolTankWeakpoint(194@, False)
Car.SetHeading(194@, 26.5)
Car.SetHealth(194@, 800)
49@ = Char.CreateInsideCar(194@, PedType.Mission1, 111)
Char.SetDecisionMaker(49@, 35@)
Char.SetOnlyDamagedByPlayer(49@, True)
Char.SetHealth(49@, 10)
50@ = Char.CreateAsPassenger(194@, PedType.Mission1, 111, 0)
Char.GiveWeapon(50@, WeaponType.MicroUzi, 99999)
Char.SetOnlyDamagedByPlayer(50@, True)
Char.SetDecisionMaker(50@, 35@)
Char.SetHealth(50@, 10)
215@ = Blip.AddForCar(194@)
Blip.ChangeDisplay(215@, BlipDisplay.BlipOnly)
Blip.ChangeScale(215@, 2)
248@ = 1
261@ = 1
172@ = Car.Create(516, 1622.005, -1443.498, 13.229)
Car.SetHeading(172@, 266.928)
Car.ChangeColor(172@, 115, 115)
Car.SetHeavy(172@, True)
184@ = Char.CreateInsideCar(172@, PedType.Mission1, 7)
Char.SetDecisionMaker(184@, 35@)
173@ = Car.Create(516, 1536.288, -1443.049, 13.224)
Car.SetHeading(173@, 269.939)
Car.ChangeColor(173@, 122, 122)
Car.SetHeavy(173@, True)
185@ = Char.CreateInsideCar(173@, PedType.Mission1, 7)
Char.SetDecisionMaker(185@, 35@)
242@ = 3

:DRUGS1_20099
if 
  242@ == 3
goto_if_false @DRUGS1_20452
if 
  Car.Locate2D(161@, 1657.94, -1468.93, 15.0, 15.0, False)
goto_if_false @DRUGS1_20452
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_20179
Car.StartPlayback(194@, 257)

:DRUGS1_20179
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS1_20262
if 
  3 > 288@
goto_if_false @DRUGS1_20262
Char.GiveWeapon(49@, WeaponType.MicroUzi, 99999)
Task.DriveBy(49@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)

:DRUGS1_20262
if 
  not Char.IsDead(50@)
goto_if_false @DRUGS1_20314
Task.DriveBy(50@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)

:DRUGS1_20314
Car.Delete(165@)
Car.Delete(166@)
Car.Delete(171@)
if 
  not Car.IsDead(172@)
goto_if_false @DRUGS1_20382
Car.GotoCoordinates(172@, 1720.037, -1444.137, 13.222)
Car.SetCruiseSpeed(172@, 9.0)
Car.SetDrivingStyle(172@, DrivingMode.StopForCarsIgnoreLights)

:DRUGS1_20382
if 
  not Car.IsDead(173@)
goto_if_false @DRUGS1_20445
Car.GotoCoordinates(173@, 1654.817, -1492.993, 13.22)
Car.SetCruiseSpeed(173@, 13.5)
Car.SetForwardSpeed(173@, 20.0)
Car.SetDrivingStyle(173@, DrivingMode.StopForCarsIgnoreLights)

:DRUGS1_20445
242@ = 4

:DRUGS1_20452
if 
  242@ == 4
goto_if_false @DRUGS1_20515
if 
  Car.Locate2D(161@, 1631.77, -1441.31, 12.0, 12.0, False)
goto_if_false @DRUGS1_20515
242@ = 5

:DRUGS1_20515
if 
  242@ == 5
goto_if_false @DRUGS1_20677
if 
  Car.Locate2D(161@, 1545.68, -1437.35, 10.0, 10.0, False)
goto_if_false @DRUGS1_20677
175@ = Car.Create(516, 1394.751, -1427.224, 13.24)
Car.SetHeading(175@, 184.525)
Car.ChangeColor(175@, 99, 99)
Car.GotoCoordinates(175@, 1441.028, -1443.271, 13.234)
Car.SetCruiseSpeed(175@, 13.5)
Car.SetDrivingStyle(175@, DrivingMode.StopForCarsIgnoreLights)
181@ = Char.CreateInsideCar(175@, PedType.Mission1, 7)
Char.SetDecisionMaker(181@, 35@)
242@ = 6

:DRUGS1_20677
if 
  242@ == 6
goto_if_false @DRUGS1_21513
if 
  Car.Locate2D(161@, 1508.7, -1440.86, 10.0, 10.0, False)
goto_if_false @DRUGS1_21513
Car.Delete(172@)
Car.Delete(167@)
Car.Delete(168@)
176@ = Car.Create(437, 1457.689, -1371.728, 13.235)
Car.SetHeading(176@, 177.712)
Car.StartPlayback(176@, 253)
Car.SetPlaybackSpeed(176@, 0.9)
190@ = Car.Create(560, 1374.507, -1394.312, 13.272)
Car.SetHealth(190@, 400)
Car.SetHeading(190@, 193.922)
52@ = Char.CreateAsPassenger(190@, PedType.Mission1, 111, 0)
Char.GiveWeapon(52@, WeaponType.MicroUzi, 99999)
Char.SetDecisionMaker(52@, 35@)
Task.DriveBy(52@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 70)
230@ = Blip.AddForCar(190@)
Blip.ChangeDisplay(230@, BlipDisplay.BlipOnly)
Blip.ChangeScale(230@, 2)
191@ = Car.Create(560, 1374.577, -1401.141, 13.102)
Car.SetHeading(191@, 349.825)
Car.ChangeColor(191@, 0, 0)
Car.SetHealth(191@, 500)
192@ = Car.Create(560, 1374.362, -1407.883, 13.239)
Car.SetHeading(192@, 194.852)
Car.SetHealth(192@, 500)
228@ = Blip.AddForCar(192@)
Blip.ChangeDisplay(228@, BlipDisplay.BlipOnly)
Blip.ChangeScale(228@, 2)
193@ = Car.Create(560, 1401.058, -1430.891, 12.3905)
Car.SetHeading(193@, 10.385)
Car.SetHealth(193@, 500)
229@ = Blip.AddForCar(193@)
Blip.ChangeDisplay(229@, BlipDisplay.BlipOnly)
Blip.ChangeScale(229@, 2)
Car.OpenDoor(193@, CarDoor.LeftFrontDoor)
Car.OpenDoor(193@, CarDoor.RightFrontDoor)
53@ = Char.Create(PedType.Mission1, 111, 1399.464, -1431.604, 12.3905)
Char.SetDecisionMaker(53@, 35@)
Char.GiveWeapon(53@, WeaponType.MicroUzi, 99999)
Char.SetHealth(53@, 100)
set_lvar_int_to_lvar_int 79@ = 53@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51987
235@ = Blip.AddForChar(53@)
Blip.ChangeDisplay(235@, BlipDisplay.BlipOnly)
Blip.ChangeScale(235@, 2)
61@ = Char.Create(PedType.Mission1, 111, 1401.466, -1427.389, 12.3905)
Char.SetDecisionMaker(61@, 35@)
Char.GiveWeapon(61@, WeaponType.MicroUzi, 99999)
Char.SetHealth(61@, 100)
set_lvar_int_to_lvar_int 79@ = 61@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51987
236@ = Blip.AddForChar(61@)
Blip.ChangeDisplay(236@, BlipDisplay.BlipOnly)
Blip.ChangeScale(236@, 2)
54@ = Char.Create(PedType.Mission1, 111, 1374.992, -1397.639, 12.438)
Char.SetDecisionMaker(54@, 35@)
Char.GiveWeapon(54@, WeaponType.MicroUzi, 99999)
Char.SetHealth(54@, 100)
set_lvar_int_to_lvar_int 79@ = 54@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51943
226@ = Blip.AddForChar(54@)
Blip.ChangeDisplay(226@, BlipDisplay.BlipOnly)
Blip.ChangeScale(226@, 2)
55@ = Char.Create(PedType.Mission1, 111, 1374.543, -1404.678, 12.425)
Char.SetDecisionMaker(55@, 35@)
Char.GiveWeapon(55@, WeaponType.MicroUzi, 99999)
Char.SetHealth(55@, 100)
set_lvar_int_to_lvar_int 79@ = 55@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51943
227@ = Blip.AddForChar(55@)
Blip.ChangeDisplay(227@, BlipDisplay.BlipOnly)
Blip.ChangeScale(227@, 2)
242@ = 7

:DRUGS1_21513
if 
  242@ == 7
goto_if_false @DRUGS1_21811
if 
  not Car.IsPlaybackGoingOn(161@)
goto_if_false @DRUGS1_21811
if 
  Car.Locate2D(161@, 1395.844, -1408.105, 5.0, 5.0, False)
goto_if_false @DRUGS1_21811
Car.FreezePosition(161@, True)
Blip.Remove(209@)
Car.StopPlayback(189@)
Blip.Remove(214@)
Car.StopPlayback(194@)
Blip.Remove(215@)
Char.MarkAsNoLongerNeeded(177@)
Char.MarkAsNoLongerNeeded(178@)
Char.MarkAsNoLongerNeeded(179@)
Char.MarkAsNoLongerNeeded(180@)
Char.MarkAsNoLongerNeeded(181@)
Char.MarkAsNoLongerNeeded(182@)
Char.MarkAsNoLongerNeeded(183@)
Char.MarkAsNoLongerNeeded(184@)
Char.MarkAsNoLongerNeeded(185@)
Car.MarkAsNoLongerNeeded(165@)
Car.MarkAsNoLongerNeeded(166@)
Car.MarkAsNoLongerNeeded(167@)
Car.MarkAsNoLongerNeeded(168@)
Car.MarkAsNoLongerNeeded(171@)
Car.MarkAsNoLongerNeeded(172@)
Car.MarkAsNoLongerNeeded(175@)
Car.MarkAsNoLongerNeeded(176@)
Car.Delete(169@)
Car.Delete(170@)
Car.Delete(173@)
Streaming.MarkModelAsNoLongerNeeded(437)
Streaming.MarkModelAsNoLongerNeeded(#KMB_SKIP)
Streaming.MarkModelAsNoLongerNeeded(516)
Object.Delete(162@)
Car.Delete(163@)
Car.Delete(164@)
Car.MarkAsNoLongerNeeded(176@)
Car.Delete(194@)
Char.Delete(49@)
Char.Delete(50@)
Car.Delete(189@)
Car.Delete(188@)
Char.Delete(42@)
Char.Delete(43@)
Char.Delete(44@)
Car.MarkAsNoLongerNeeded(175@)
TIMERA = 0
242@ = 8

:DRUGS1_21811
if 
  242@ > 7
goto_if_false @DRUGS1_21918
if 
  244@ == 0
goto_if_false @DRUGS1_21918
if 
  not Camera.IsPointOnScreen(1400.41, -1447.12, 12.3, 10.0)
goto_if_false @DRUGS1_21918
World.ClearArea(1400.41, -1447.12, 12.3, 50.0, False)
244@ = 1
  9 > 242@

:DRUGS1_21918
if 
  242@ == 8
goto_if_false @DRUGS1_21998
Streaming.RequestCarRecording(258)
Streaming.RequestCarRecording(259)
Streaming.RequestCarRecording(260)
Streaming.RequestCarRecording(261)
Streaming.RequestCarRecording(262)
Streaming.RequestCarRecording(263)
Streaming.RequestCarRecording(264)
Streaming.RequestCarRecording(265)
Streaming.RequestCarRecording(266)
Streaming.RequestCarRecording(267)
Streaming.RequestCarRecording(268)
242@ = 9

:DRUGS1_21998
if 
  242@ == 9
goto_if_false @DRUGS1_22225
if 
  TIMERA > 10000
goto_if_false @DRUGS1_22225
if 
  Streaming.HasCarRecordingBeenLoaded(258)
goto_if_false @DRUGS1_22225
if 
  Streaming.HasCarRecordingBeenLoaded(259)
goto_if_false @DRUGS1_22225
if 
  Streaming.HasCarRecordingBeenLoaded(260)
goto_if_false @DRUGS1_22225
if 
  Streaming.HasCarRecordingBeenLoaded(261)
goto_if_false @DRUGS1_22225
if 
  Streaming.HasCarRecordingBeenLoaded(262)
goto_if_false @DRUGS1_22225
if 
  Streaming.HasCarRecordingBeenLoaded(263)
goto_if_false @DRUGS1_22225
if 
  Streaming.HasCarRecordingBeenLoaded(264)
goto_if_false @DRUGS1_22225
if 
  Streaming.HasCarRecordingBeenLoaded(265)
goto_if_false @DRUGS1_22225
if 
  Streaming.HasCarRecordingBeenLoaded(266)
goto_if_false @DRUGS1_22225
if 
  Streaming.HasCarRecordingBeenLoaded(267)
goto_if_false @DRUGS1_22225
if 
  Streaming.HasCarRecordingBeenLoaded(268)
goto_if_false @DRUGS1_22225
243@ = 1
242@ = 10

:DRUGS1_22225
if 
  275@ == 1
goto_if_false @DRUGS1_22271
if 
  Car.IsDead(188@)
goto_if_false @DRUGS1_22271
Car.StopPlayback(188@)
275@ = 2

:DRUGS1_22271
if 
  247@ == 1
goto_if_false @DRUGS1_22519
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_22519
if 
  not Char.IsDead(43@)
goto_if_false @DRUGS1_22328
goto @DRUGS1_22519

:DRUGS1_22328
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS1_22477
if 
  Char.IsInCar(44@, 189@)
goto_if_false @DRUGS1_22470
205@ = Car.GetDriver(189@)
if 
  205@ == -1
goto_if_false @DRUGS1_22470
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(44@, $x, $y, -10.0)
Char.WarpIntoCar(44@, 189@)
Task.DriveBy(44@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
247@ = 2

:DRUGS1_22470
goto @DRUGS1_22519

:DRUGS1_22477
Car.SetForwardSpeed(189@, 18.0)
Car.StopPlayback(189@)
Car.SetRotationVelocity(189@, 3.5, 7.3999, 8.1003)
247@ = 2

:DRUGS1_22519
if 
  247@ == 2
goto_if_false @DRUGS1_22611
if 
  Char.IsDead(44@)
goto_if_false @DRUGS1_22611
Car.StopPlayback(189@)
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_22604
Car.SetForwardSpeed(189@, 18.0)
Car.SetRotationVelocity(189@, 3.5, 7.3999, 8.1003)

:DRUGS1_22604
247@ = 3

:DRUGS1_22611
if 
  260@ == 1
goto_if_false @DRUGS1_22698
if 
  Char.IsDead(43@)
goto_if_false @DRUGS1_22698
if or
  Char.IsDead(44@)
  Car.IsDead(189@)
goto_if_false @DRUGS1_22698
Car.StopPlayback(189@)
Blip.Remove(214@)
Car.MarkAsNoLongerNeeded(189@)
Char.MarkAsNoLongerNeeded(43@)
Char.MarkAsNoLongerNeeded(44@)
260@ = 2

:DRUGS1_22698
if 
  248@ == 1
goto_if_false @DRUGS1_22946
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_22946
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS1_22755
goto @DRUGS1_22946

:DRUGS1_22755
if 
  not Char.IsDead(50@)
goto_if_false @DRUGS1_22904
if 
  Char.IsInCar(50@, 194@)
goto_if_false @DRUGS1_22897
205@ = Car.GetDriver(194@)
if 
  205@ == -1
goto_if_false @DRUGS1_22897
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(50@, $x, $y, -10.0)
Char.WarpIntoCar(50@, 194@)
Task.DriveBy(50@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
248@ = 2

:DRUGS1_22897
goto @DRUGS1_22946

:DRUGS1_22904
Car.SetForwardSpeed(194@, 15.0)
Car.StopPlayback(194@)
Car.SetRotationVelocity(194@, 3.5, 7.3999, 8.1003)
248@ = 2

:DRUGS1_22946
if 
  248@ == 2
goto_if_false @DRUGS1_23038
if 
  Char.IsDead(50@)
goto_if_false @DRUGS1_23038
Car.StopPlayback(194@)
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_23031
Car.SetForwardSpeed(194@, 15.0)
Car.SetRotationVelocity(194@, 3.5, 7.3999, 8.1003)

:DRUGS1_23031
248@ = 3

:DRUGS1_23038
if 
  261@ == 1
goto_if_false @DRUGS1_23125
if 
  Char.IsDead(49@)
goto_if_false @DRUGS1_23125
if or
  Char.IsDead(50@)
  Car.IsDead(194@)
goto_if_false @DRUGS1_23125
Car.StopPlayback(194@)
Blip.Remove(215@)
Car.MarkAsNoLongerNeeded(194@)
Char.MarkAsNoLongerNeeded(49@)
Char.MarkAsNoLongerNeeded(50@)
261@ = 2

:DRUGS1_23125
if 
  Char.IsDead(54@)
goto_if_false @DRUGS1_23162
if 
  Blip.DoesExist(226@)
goto_if_false @DRUGS1_23162
Blip.Remove(226@)

:DRUGS1_23162
if 
  Char.IsDead(55@)
goto_if_false @DRUGS1_23199
if 
  Blip.DoesExist(227@)
goto_if_false @DRUGS1_23199
Blip.Remove(227@)

:DRUGS1_23199
if 
  Car.IsDead(190@)
goto_if_false @DRUGS1_23236
if 
  Blip.DoesExist(230@)
goto_if_false @DRUGS1_23236
Blip.Remove(230@)

:DRUGS1_23236
if 
  Car.IsDead(192@)
goto_if_false @DRUGS1_23273
if 
  Blip.DoesExist(228@)
goto_if_false @DRUGS1_23273
Blip.Remove(228@)

:DRUGS1_23273
if 
  286@ == 0
goto_if_false @DRUGS1_23354
if 
  not Car.IsDead(169@)
goto_if_false @DRUGS1_23354
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS1_23354
if 
  Car.HasBeenDamagedByCar(169@, 188@)
goto_if_false @DRUGS1_23354
Car.Explode(169@)
286@ = 1

:DRUGS1_23354
if 
  287@ == 0
goto_if_false @DRUGS1_23435
if 
  not Car.IsDead(170@)
goto_if_false @DRUGS1_23435
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS1_23435
if 
  Car.HasBeenDamagedByCar(170@, 188@)
goto_if_false @DRUGS1_23435
Car.Explode(170@)
287@ = 1

:DRUGS1_23435
if or
  90@ == 20
  243@ == 1
goto_if_false @DRUGS1_25482
if 
  3 > 245@
goto_if_false @DRUGS1_25482
if 
  282@ == 0
goto_if_false @DRUGS1_23545
if 
  283@ == 0
goto_if_false @DRUGS1_23545
set_lvar_int_to_constant 239@ = 35664
set_lvar_text_label 240@s = 'SMO4_FB'
gosub @DRUGS1_51600

:DRUGS1_23545
if 
  282@ == 1
goto_if_false @DRUGS1_23612
if 
  283@ == 0
goto_if_false @DRUGS1_23612
set_lvar_int_to_constant 239@ = 35662
set_lvar_text_label 240@s = 'SMO4_ES'
gosub @DRUGS1_51600

:DRUGS1_23612
if 
  285@ == 0
goto_if_false @DRUGS1_23675
if 
  Car.Locate2D(161@, 1659.49, -1580.97, 50.0, 50.0, False)
goto_if_false @DRUGS1_23675
285@ = 1

:DRUGS1_23675
if 
  282@ == 2
goto_if_false @DRUGS1_23760
if 
  283@ == 0
goto_if_false @DRUGS1_23760
if 
  285@ == 1
goto_if_false @DRUGS1_23760
set_lvar_int_to_constant 239@ = 35666
set_lvar_text_label 240@s = 'SMO4_FD'
gosub @DRUGS1_51600

:DRUGS1_23760
if 
  282@ == 3
goto_if_false @DRUGS1_23827
if 
  283@ == 0
goto_if_false @DRUGS1_23827
set_lvar_int_to_constant 239@ = 35667
set_lvar_text_label 240@s = 'SMO4_FE'
gosub @DRUGS1_51600

:DRUGS1_23827
if 
  282@ == 4
goto_if_false @DRUGS1_23894
if 
  283@ == 0
goto_if_false @DRUGS1_23894
set_lvar_int_to_constant 239@ = 35668
set_lvar_text_label 240@s = 'SMO4_FF'
gosub @DRUGS1_51600

:DRUGS1_23894
if 
  282@ == 5
goto_if_false @DRUGS1_23961
if 
  283@ == 0
goto_if_false @DRUGS1_23961
set_lvar_int_to_constant 239@ = 35669
set_lvar_text_label 240@s = 'SMO4_FG'
gosub @DRUGS1_51600

:DRUGS1_23961
if 
  285@ == 1
goto_if_false @DRUGS1_24024
if 
  Car.Locate2D(161@, 1638.05, -1440.64, 60.0, 60.0, False)
goto_if_false @DRUGS1_24024
285@ = 2

:DRUGS1_24024
if 
  282@ == 6
goto_if_false @DRUGS1_24109
if 
  283@ == 0
goto_if_false @DRUGS1_24109
if 
  285@ == 2
goto_if_false @DRUGS1_24109
set_lvar_int_to_constant 239@ = 35665
set_lvar_text_label 240@s = 'SMO4_FC'
gosub @DRUGS1_51600

:DRUGS1_24109
if 
  285@ == 2
goto_if_false @DRUGS1_24172
if 
  Car.Locate2D(161@, 1579.33, -1438.05, 55.0, 55.0, False)
goto_if_false @DRUGS1_24172
285@ = 3

:DRUGS1_24172
if 
  282@ == 7
goto_if_false @DRUGS1_24257
if 
  283@ == 0
goto_if_false @DRUGS1_24257
if 
  285@ == 3
goto_if_false @DRUGS1_24257
set_lvar_int_to_constant 239@ = 35671
set_lvar_text_label 240@s = 'SMO4_FJ'
gosub @DRUGS1_51600

:DRUGS1_24257
if 
  282@ == 8
goto_if_false @DRUGS1_24324
if 
  283@ == 0
goto_if_false @DRUGS1_24324
set_lvar_int_to_constant 239@ = 35672
set_lvar_text_label 240@s = 'SMO4_FK'
gosub @DRUGS1_51600

:DRUGS1_24324
if 
  285@ == 3
goto_if_false @DRUGS1_24424
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS1_24410
if 
  Car.Locate2D(161@, 1432.61, -1438.66, 12.0, 12.0, False)
goto_if_false @DRUGS1_24403
285@ = 4

:DRUGS1_24403
goto @DRUGS1_24424

:DRUGS1_24410
285@ = 4
282@ = 12

:DRUGS1_24424
if 
  282@ == 9
goto_if_false @DRUGS1_24509
if 
  283@ == 0
goto_if_false @DRUGS1_24509
if 
  285@ == 4
goto_if_false @DRUGS1_24509
set_lvar_int_to_constant 239@ = 35673
set_lvar_text_label 240@s = 'SMO4_FL'
gosub @DRUGS1_51600

:DRUGS1_24509
if 
  282@ == 10
goto_if_false @DRUGS1_24576
if 
  283@ == 0
goto_if_false @DRUGS1_24576
set_lvar_int_to_constant 239@ = 35674
set_lvar_text_label 240@s = 'SMO4_FM'
gosub @DRUGS1_51600

:DRUGS1_24576
if 
  285@ == 4
goto_if_false @DRUGS1_24639
if 
  Car.Locate2D(161@, 1406.73, -1393.15, 10.0, 10.0, False)
goto_if_false @DRUGS1_24639
285@ = 5

:DRUGS1_24639
if 
  282@ == 11
goto_if_false @DRUGS1_24724
if 
  283@ == 0
goto_if_false @DRUGS1_24724
if 
  285@ == 5
goto_if_false @DRUGS1_24724
set_lvar_int_to_constant 239@ = 35675
set_lvar_text_label 240@s = 'SMO4_GA'
gosub @DRUGS1_51600

:DRUGS1_24724
if 
  282@ == 12
goto_if_false @DRUGS1_24791
if 
  283@ == 0
goto_if_false @DRUGS1_24791
set_lvar_int_to_constant 239@ = 35676
set_lvar_text_label 240@s = 'SMO4_GB'
gosub @DRUGS1_51600

:DRUGS1_24791
if 
  282@ == 13
goto_if_false @DRUGS1_24858
if 
  283@ == 0
goto_if_false @DRUGS1_24858
set_lvar_int_to_constant 239@ = 35677
set_lvar_text_label 240@s = 'SMO4_GD'
gosub @DRUGS1_51600

:DRUGS1_24858
if 
  282@ == 14
goto_if_false @DRUGS1_24925
if 
  283@ == 0
goto_if_false @DRUGS1_24925
set_lvar_int_to_constant 239@ = 35678
set_lvar_text_label 240@s = 'SMO4_GE'
gosub @DRUGS1_51600

:DRUGS1_24925
if 
  282@ == 15
goto_if_false @DRUGS1_24992
if 
  283@ == 0
goto_if_false @DRUGS1_24992
set_lvar_int_to_constant 239@ = 35679
set_lvar_text_label 240@s = 'SMO4_GF'
gosub @DRUGS1_51600

:DRUGS1_24992
if 
  282@ == 16
goto_if_false @DRUGS1_25059
if 
  283@ == 0
goto_if_false @DRUGS1_25059
set_lvar_int_to_constant 239@ = 35680
set_lvar_text_label 240@s = 'SMO4_GG'
gosub @DRUGS1_51600

:DRUGS1_25059
if 
  282@ == 17
goto_if_false @DRUGS1_25126
if 
  283@ == 0
goto_if_false @DRUGS1_25126
set_lvar_int_to_constant 239@ = 35681
set_lvar_text_label 240@s = 'SMO4_GH'
gosub @DRUGS1_51600

:DRUGS1_25126
if 
  282@ == 18
goto_if_false @DRUGS1_25193
if 
  283@ == 0
goto_if_false @DRUGS1_25193
set_lvar_int_to_constant 239@ = 35682
set_lvar_text_label 240@s = 'SMO4_GJ'
gosub @DRUGS1_51600

:DRUGS1_25193
if 
  282@ == 19
goto_if_false @DRUGS1_25260
if 
  283@ == 0
goto_if_false @DRUGS1_25260
set_lvar_int_to_constant 239@ = 35661
set_lvar_text_label 240@s = 'SMO4_ER'
gosub @DRUGS1_51600

:DRUGS1_25260
if 
  285@ == 5
goto_if_false @DRUGS1_25323
if 
  Car.Locate2D(161@, 1362.39, -1590.12, 15.0, 15.0, False)
goto_if_false @DRUGS1_25323
285@ = 6

:DRUGS1_25323
if 
  282@ == 20
goto_if_false @DRUGS1_25408
if 
  283@ == 0
goto_if_false @DRUGS1_25408
if 
  285@ == 6
goto_if_false @DRUGS1_25408
set_lvar_int_to_constant 239@ = 35683
set_lvar_text_label 240@s = 'SMO4_GK'
gosub @DRUGS1_51600

:DRUGS1_25408
if 
  282@ == 21
goto_if_false @DRUGS1_25475
if 
  283@ == 0
goto_if_false @DRUGS1_25475
set_lvar_int_to_constant 239@ = 35655
set_lvar_text_label 240@s = 'SMO4_EL'
gosub @DRUGS1_51600

:DRUGS1_25475
gosub @DRUGS1_51642

:DRUGS1_25482
if 
  243@ == 1
goto_if_false @DRUGS1_32582
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_32582
if 
  245@ == 0
goto_if_false @DRUGS1_26818
189@ = Car.Create(581, 1446.923, -1429.569, 12.1)
Car.SetPetrolTankWeakpoint(189@, False)
Car.SetHeading(189@, 174.719)
42@ = Char.CreateInsideCar(189@, PedType.Mission1, 111)
Char.SetDecisionMaker(42@, 35@)
Char.SetHealth(42@, 10)
Char.SetOnlyDamagedByPlayer(42@, True)
43@ = Char.CreateAsPassenger(189@, PedType.Mission1, 111, 0)
Char.GiveWeapon(43@, WeaponType.MicroUzi, 99999)
Char.SetHealth(43@, 10)
Char.SetOnlyDamagedByPlayer(43@, True)
Char.SetDecisionMaker(43@, 35@)
214@ = Blip.AddForCar(189@)
Blip.ChangeDisplay(214@, BlipDisplay.BlipOnly)
Blip.ChangeScale(214@, 2)
247@ = 1
260@ = 1
194@ = Car.Create(581, 1377.421, -1571.321, 12.1)
Car.SetPetrolTankWeakpoint(194@, False)
Car.SetHeading(194@, 166.577)
44@ = Char.CreateInsideCar(194@, PedType.Mission1, 111)
Char.SetDecisionMaker(44@, 35@)
Char.SetHealth(44@, 10)
Char.SetOnlyDamagedByPlayer(44@, True)
45@ = Char.CreateAsPassenger(194@, PedType.Mission1, 111, 0)
Char.GiveWeapon(45@, WeaponType.MicroUzi, 99999)
Char.SetHealth(45@, 10)
Char.SetOnlyDamagedByPlayer(45@, True)
Char.SetDecisionMaker(45@, 35@)
215@ = Blip.AddForCar(194@)
Blip.ChangeDisplay(215@, BlipDisplay.BlipOnly)
Blip.ChangeScale(215@, 2)
248@ = 1
261@ = 1
195@ = Car.Create(581, 1361.086, -1665.478, 12.62)
Car.SetPetrolTankWeakpoint(195@, False)
Car.SetHeading(195@, 187.657)
46@ = Char.CreateInsideCar(195@, PedType.Mission1, 111)
Char.SetDecisionMaker(46@, 35@)
Char.SetHealth(46@, 50)
47@ = Char.CreateAsPassenger(195@, PedType.Mission1, 111, 0)
Char.GiveWeapon(47@, WeaponType.MicroUzi, 99999)
Char.SetDecisionMaker(47@, 35@)
Char.SetHealth(47@, 10)
216@ = Blip.AddForCar(195@)
Blip.ChangeDisplay(216@, BlipDisplay.BlipOnly)
Blip.ChangeScale(216@, 2)
249@ = 1
262@ = 1
196@ = Car.Create(581, 1365.219, -1420.908, 12.104)
Car.SetPetrolTankWeakpoint(196@, False)
Car.SetHeading(196@, 353.946)
56@ = Char.CreateInsideCar(196@, PedType.Mission1, 111)
Char.SetDecisionMaker(56@, 35@)
Char.SetHealth(56@, 10)
Char.SetOnlyDamagedByPlayer(56@, True)
57@ = Char.CreateAsPassenger(196@, PedType.Mission1, 111, 0)
Char.GiveWeapon(57@, WeaponType.MicroUzi, 99999)
Char.SetHealth(57@, 10)
Char.SetOnlyDamagedByPlayer(57@, True)
Char.SetDecisionMaker(57@, 35@)
217@ = Blip.AddForCar(196@)
Blip.ChangeDisplay(217@, BlipDisplay.BlipOnly)
Blip.ChangeScale(217@, 2)
250@ = 1
263@ = 1
165@ = Car.Create(560, 1374.372, -1665.108, 12.91)
Car.SetPetrolTankWeakpoint(165@, False)
Car.SetHeading(165@, 176.22)
48@ = Char.CreateInsideCar(165@, PedType.Mission1, 111)
Char.SetDecisionMaker(48@, 35@)
49@ = Char.CreateAsPassenger(165@, PedType.Mission1, 111, 0)
Char.GiveWeapon(49@, WeaponType.MicroUzi, 99999)
Char.SetHealth(49@, 10)
Char.SetDecisionMaker(49@, 35@)
210@ = Blip.AddForCar(165@)
Blip.ChangeDisplay(210@, BlipDisplay.BlipOnly)
Blip.ChangeScale(210@, 2)
265@ = 1
255@ = 1
166@ = Car.Create(560, 1373.704, -1633.619, 12.935)
Car.SetPetrolTankWeakpoint(166@, False)
Car.SetHeading(166@, 176.22)
50@ = Char.CreateInsideCar(166@, PedType.Mission1, 111)
Char.SetDecisionMaker(50@, 35@)
51@ = Char.CreateAsPassenger(166@, PedType.Mission1, 111, 0)
Char.GiveWeapon(51@, WeaponType.MicroUzi, 99999)
Char.SetDecisionMaker(51@, 35@)
Char.SetHealth(51@, 10)
211@ = Blip.AddForCar(166@)
Blip.ChangeDisplay(211@, BlipDisplay.BlipOnly)
Blip.ChangeScale(211@, 2)
266@ = 1
256@ = 1
wait 0
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_26461
Car.FreezePosition(161@, False)
Car.StartPlayback(161@, 258)

:DRUGS1_26461
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_26636
if 
  not Char.IsDead(42@)
goto_if_false @DRUGS1_26636
Car.StartPlayback(189@, 259)
if 
  not Char.IsDead(42@)
goto_if_false @DRUGS1_26584
if 
  2 > 288@
goto_if_false @DRUGS1_26584
Char.GiveWeapon(42@, WeaponType.MicroUzi, 99999)
Task.DriveBy(42@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)

:DRUGS1_26584
if 
  not Char.IsDead(43@)
goto_if_false @DRUGS1_26636
Task.DriveBy(43@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)

:DRUGS1_26636
if 
  not Car.IsDead(196@)
goto_if_false @DRUGS1_26811
if 
  not Char.IsDead(56@)
goto_if_false @DRUGS1_26676
Car.StartPlayback(196@, 264)

:DRUGS1_26676
if 
  not Char.IsDead(56@)
goto_if_false @DRUGS1_26759
if 
  3 > 288@
goto_if_false @DRUGS1_26759
Char.GiveWeapon(56@, WeaponType.MicroUzi, 99999)
Task.DriveBy(56@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)

:DRUGS1_26759
if 
  not Char.IsDead(57@)
goto_if_false @DRUGS1_26811
Task.DriveBy(57@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 90)

:DRUGS1_26811
245@ = 1

:DRUGS1_26818
if 
  245@ == 1
goto_if_false @DRUGS1_27125
if 
  Car.Locate2D(161@, 1374.62, -1549.64, 10.0, 10.0, False)
goto_if_false @DRUGS1_27125
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_27033
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS1_26981
Car.StartPlayback(194@, 260)
if 
  2 > 288@
goto_if_false @DRUGS1_26981
Char.GiveWeapon(44@, WeaponType.MicroUzi, 99999)
Task.DriveBy(44@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)

:DRUGS1_26981
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS1_27033
Task.DriveBy(45@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)

:DRUGS1_27033
Car.Delete(176@)
Car.Delete(190@)
Car.Delete(191@)
Car.Delete(192@)
Car.Delete(193@)
Char.Delete(52@)
Char.Delete(53@)
Char.Delete(54@)
Char.Delete(55@)
Char.Delete(61@)
Blip.Remove(235@)
Blip.Remove(226@)
Blip.Remove(227@)
Blip.Remove(236@)
Blip.Remove(230@)
Blip.Remove(228@)
Blip.Remove(229@)
245@ = 2

:DRUGS1_27125
if 
  245@ == 2
goto_if_false @DRUGS1_27464
if 
  Car.Locate2D(161@, 1361.086, -1665.478, 10.0, 10.0, False)
goto_if_false @DRUGS1_27464
if 
  not Car.IsDead(195@)
goto_if_false @DRUGS1_27221
if 
  not Char.IsDead(46@)
goto_if_false @DRUGS1_27221
Car.StartPlayback(195@, 261)

:DRUGS1_27221
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS1_27273
Task.DriveBy(47@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)

:DRUGS1_27273
if 
  not Car.IsDead(165@)
goto_if_false @DRUGS1_27313
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS1_27313
Car.StartPlayback(165@, 262)

:DRUGS1_27313
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS1_27365
Task.DriveBy(49@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 10)

:DRUGS1_27365
if 
  not Car.IsDead(166@)
goto_if_false @DRUGS1_27405
if 
  not Char.IsDead(50@)
goto_if_false @DRUGS1_27405
Car.StartPlayback(166@, 263)

:DRUGS1_27405
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS1_27457
Task.DriveBy(51@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 10)

:DRUGS1_27457
245@ = 3

:DRUGS1_27464
if 
  245@ == 3
goto_if_false @DRUGS1_28454
if 
  Car.Locate2D(161@, 1530.0, -1742.0, 10.0, 10.0, True)
goto_if_false @DRUGS1_28454
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_27562
Car.SetProofs(161@, True, True, True, True, True)

:DRUGS1_27562
$SHOPS_TEXT_SCALEX = 0.2
204@ = 0.0
Camera.AttachToVehicle(161@, 0.0, -2.0, $SHOPS_TEXT_SCALEX, 0.0, 0.0, 204@, 0.0, SwitchType.JumpCut)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.WarpIntoCarAsPassenger($stattreadstamina_ctr, 161@, 0)
Car.StopPlayback(189@)
Car.Delete(189@)
Blip.Remove(214@)
Char.Delete(42@)
Char.Delete(43@)
Car.StopPlayback(194@)
Car.Delete(194@)
Blip.Remove(215@)
Char.Delete(44@)
Char.Delete(45@)
Car.StopPlayback(195@)
Car.Delete(195@)
Blip.Remove(216@)
Char.Delete(46@)
Char.Delete(47@)
Car.StopPlayback(196@)
Car.Delete(196@)
Blip.Remove(217@)
Char.Delete(56@)
Char.Delete(57@)
Car.StopPlayback(165@)
Car.Delete(165@)
Blip.Remove(210@)
Char.Delete(48@)
Char.Delete(49@)
Car.StopPlayback(166@)
Car.Delete(166@)
Blip.Remove(211@)
Char.Delete(50@)
Char.Delete(51@)
189@ = Car.Create(581, 1505.103, -1733.09, 3.05)
Car.SetPetrolTankWeakpoint(189@, False)
Car.SetHeading(189@, 258.539)
42@ = Char.CreateInsideCar(189@, PedType.Mission1, 111)
Char.SetDecisionMaker(42@, 35@)
Char.SetHealth(42@, 10)
43@ = Char.CreateAsPassenger(189@, PedType.Mission1, 111, 0)
Char.GiveWeapon(43@, WeaponType.MicroUzi, 99999)
Char.SetHealth(43@, 10)
Char.SetDecisionMaker(43@, 35@)
194@ = Car.Create(581, 1487.213, -1734.792, 3.25)
Car.SetPetrolTankWeakpoint(194@, False)
Car.SetHeading(194@, 250.829)
44@ = Char.CreateInsideCar(194@, PedType.Mission1, 111)
Char.SetDecisionMaker(44@, 35@)
Char.SetHealth(44@, 10)
45@ = Char.CreateAsPassenger(194@, PedType.Mission1, 111, 0)
Char.GiveWeapon(45@, WeaponType.MicroUzi, 99999)
Char.SetHealth(45@, 20)
Char.SetDecisionMaker(45@, 35@)
165@ = Car.Create(560, 1496.864, -1731.303, 6.3)
Car.SetPetrolTankWeakpoint(165@, False)
Car.SetHeading(165@, 255.305)
48@ = Char.CreateInsideCar(165@, PedType.Mission1, 111)
Char.SetDecisionMaker(48@, 35@)
49@ = Char.CreateAsPassenger(165@, PedType.Mission1, 111, 0)
Char.GiveWeapon(49@, WeaponType.MicroUzi, 99999)
Char.SetDecisionMaker(49@, 35@)
Char.SetHealth(49@, 10)
188@ = Car.Create(443, 1550.873, -1737.122, 14.1055)
Car.SetPetrolTankWeakpoint(188@, False)
Car.SetHeading(188@, 245.14)
197@ = Char.CreateInsideCar(188@, PedType.Mission1, 111)
Char.SetCanBeShotInVehicle(197@, False)
Car.SetProofs(188@, True, True, True, True, True)
Char.SetProofs(197@, True, True, True, True, True)
Char.SetDecisionMaker(197@, 35@)
198@ = Char.CreateAsPassenger(188@, PedType.Mission1, 111, 0)
Char.GiveWeapon(198@, WeaponType.MicroUzi, 99999)
Char.SetDecisionMaker(198@, 35@)
208@ = Car.Create(560, 1550.873, -1737.122, -14.1055)
Car.SetPetrolTankWeakpoint(208@, False)
Car.SetHeading(208@, 256.415)
Car.SetProofs(208@, True, True, True, True, True)
Car.AttachToCar(208@, 188@, 0.0, -4.6, 0.65, 15.0, 0.0, 0.0)
269@ = 0
207@ = Car.Create(560, 1550.873, -1737.122, 14.1055)
Car.SetPetrolTankWeakpoint(207@, False)
Car.SetHeading(207@, 256.415)
Car.SetProofs(207@, True, True, True, True, True)
Car.AttachToCar(207@, 188@, 0.0, 1.15, 2.4, 15.0, 0.0, 0.0)
270@ = 0
TIMERA = 0
246@ = 1
245@ = 4

:DRUGS1_28454
if 
  246@ == 1
goto_if_false @DRUGS1_28613
if 
  Car.Locate2D(161@, 1550.52, -1749.19, 10.0, 10.0, True)
goto_if_false @DRUGS1_28613
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS1_28534
Car.StartPlayback(188@, 265)

:DRUGS1_28534
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_28558
Car.StartPlayback(189@, 266)

:DRUGS1_28558
if 
  not Car.IsDead(165@)
goto_if_false @DRUGS1_28582
Car.StartPlayback(165@, 267)

:DRUGS1_28582
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_28606
Car.StartPlayback(194@, 268)

:DRUGS1_28606
246@ = 2

:DRUGS1_28613
if 
  245@ == 4
goto_if_false @DRUGS1_28743
if 
  TIMERA > 250
goto_if_false @DRUGS1_28743
if 
  0.8 > $SHOPS_TEXT_SCALEX
goto_if_false @DRUGS1_28736
add_timed_val_to_float_var $SHOPS_TEXT_SCALEX +=@ 0.008
add_timed_val_to_float_lvar 204@ +=@ 0.008
Camera.AttachToVehicle(161@, 0.0, -2.0, $SHOPS_TEXT_SCALEX, 0.0, 0.0, 204@, 0.0, SwitchType.JumpCut)
goto @DRUGS1_28743

:DRUGS1_28736
245@ = 5

:DRUGS1_28743
if 
  245@ == 5
goto_if_false @DRUGS1_28866
if 
  TIMERA > 2500
goto_if_false @DRUGS1_28866
Camera.SetFixedPosition(1605.591, -1766.793, 3.3342, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1604.774, -1766.255, 3.5404, SwitchType.JumpCut)
Clock.SetTimeScale(0.9)
TIMERA = 0
TIMERB = 0
276@ = 1
245@ = 6

:DRUGS1_28866
if 
  245@ == 6
goto_if_false @DRUGS1_28920
if 
  TIMERA > 800
goto_if_false @DRUGS1_28920
$in_carX = 0.3
245@ = 7

:DRUGS1_28920
if 
  245@ == 7
goto_if_false @DRUGS1_29024
if 
  0.6 > $in_carX
goto_if_false @DRUGS1_28981
$in_carX += 0.001
Clock.SetTimeScale($in_carX)
goto @DRUGS1_29024

:DRUGS1_28981
if or
  TIMERA > 2500
  $in_carX > 0.6
goto_if_false @DRUGS1_29024
245@ = 7
Clock.SetTimeScale(0.5)

:DRUGS1_29024
if 
  245@ == 7
goto_if_false @DRUGS1_29104
if 
  TIMERA > 2000
goto_if_false @DRUGS1_29104
Camera.PointAtPoint(1605.783, -1765.834, 3.5404, SwitchType.Interpolation)
$in_carX = 0.5
TIMERA = 0
245@ = 8

:DRUGS1_29104
if 
  245@ == 8
goto_if_false @DRUGS1_29215
if 
  1.0 > $in_carX
goto_if_false @DRUGS1_29165
$in_carX += 0.01
Clock.SetTimeScale($in_carX)
goto @DRUGS1_29215

:DRUGS1_29165
if or
  TIMERA > 1000
  $in_carX > 0.9
goto_if_false @DRUGS1_29215
245@ = 9
TIMERA = 0
Clock.SetTimeScale(1.0)

:DRUGS1_29215
if 
  245@ == 9
goto_if_false @DRUGS1_29266
if 
  TIMERA > 2800
goto_if_false @DRUGS1_29266
243@ = 2
245@ = 10

:DRUGS1_29266
if 
  276@ == 1
goto_if_false @DRUGS1_29378
if 
  TIMERB > 1242
goto_if_false @DRUGS1_29378
Fx.AddSparks(1580.85, -1752.32, 12.91, 0.0, 0.0, 1.0, 60)
Fx.AddSparks(1580.75, -1749.51, 12.92, 0.0, 0.0, 1.0, 100)
276@ = 2

:DRUGS1_29378
if 
  276@ == 2
goto_if_false @DRUGS1_29490
if 
  TIMERB > 1400
goto_if_false @DRUGS1_29490
Fx.AddSparks(1580.74, -1752.68, 12.87, 0.0, 0.0, 1.0, 100)
Fx.AddSparks(1580.85, -1749.75, 12.91, 0.0, 0.0, 1.0, 60)
276@ = 3

:DRUGS1_29490
if 
  276@ == 3
goto_if_false @DRUGS1_29602
if 
  TIMERB > 1500
goto_if_false @DRUGS1_29602
Fx.AddSparks(1580.85, -1752.32, 12.91, 0.0, 0.0, 1.0, 100)
Fx.AddSparks(1580.85, -1752.32, 12.91, 0.0, 0.0, 1.0, 80)
276@ = 4

:DRUGS1_29602
if 
  276@ == 4
goto_if_false @DRUGS1_29714
if 
  TIMERB > 1600
goto_if_false @DRUGS1_29714
Fx.AddSparks(1580.85, -1752.32, 12.91, 0.0, 0.0, 1.0, 100)
Fx.AddSparks(1580.75, -1749.51, 12.92, 0.0, 0.0, 1.0, 60)
276@ = 5

:DRUGS1_29714
if 
  276@ == 5
goto_if_false @DRUGS1_29826
if 
  TIMERB > 1700
goto_if_false @DRUGS1_29826
Fx.AddSparks(1580.74, -1752.68, 12.87, 0.0, 0.0, 1.0, 80)
Fx.AddSparks(1580.85, -1749.75, 12.91, 0.0, 0.0, 1.0, 100)
276@ = 6

:DRUGS1_29826
if 
  276@ == 6
goto_if_false @DRUGS1_29938
if 
  TIMERB > 1800
goto_if_false @DRUGS1_29938
Fx.AddSparks(1580.85, -1752.32, 12.91, 0.0, 0.0, 1.0, 60)
Fx.AddSparks(1580.85, -1752.32, 12.91, 0.0, 0.0, 1.0, 80)
276@ = 7

:DRUGS1_29938
if 
  276@ == 7
goto_if_false @DRUGS1_30016
if 
  TIMERB > 2404
goto_if_false @DRUGS1_30016
Fx.AddSparks(1599.28, -1757.56, 3.11, 0.0, 0.0, 1.0, 60)
276@ = 8

:DRUGS1_30016
if 
  276@ == 8
goto_if_false @DRUGS1_30128
if 
  TIMERB > 3418
goto_if_false @DRUGS1_30128
Fx.AddSparks(1599.76, 1757.96, 3.14, 0.0, 0.0, 1.0, 100)
Fx.AddSparks(1601.69, -1758.73, 3.18, 0.0, 0.0, 1.0, 60)
276@ = 9

:DRUGS1_30128
if 
  276@ == 9
goto_if_false @DRUGS1_30206
if 
  TIMERB > 3598
goto_if_false @DRUGS1_30206
Fx.AddSparks(1605.46, -1763.14, 3.18, 0.0, 0.0, 1.0, 100)
276@ = 10

:DRUGS1_30206
if 
  276@ == 10
goto_if_false @DRUGS1_30284
if 
  TIMERB > 3600
goto_if_false @DRUGS1_30284
Fx.AddSparks(1605.46, -1763.14, 3.18, 0.0, 0.0, 1.0, 80)
276@ = 11

:DRUGS1_30284
if 
  4 > 245@
goto_if_false @DRUGS1_32582
if 
  247@ == 1
goto_if_false @DRUGS1_30550
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_30550
if 
  not Char.IsDead(42@)
goto_if_false @DRUGS1_30359
goto @DRUGS1_30550

:DRUGS1_30359
if 
  not Char.IsDead(43@)
goto_if_false @DRUGS1_30508
if 
  Char.IsInCar(43@, 189@)
goto_if_false @DRUGS1_30501
205@ = Car.GetDriver(189@)
if 
  205@ == -1
goto_if_false @DRUGS1_30501
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(43@, $x, $y, -10.0)
Char.WarpIntoCar(43@, 189@)
Task.DriveBy(43@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
247@ = 2

:DRUGS1_30501
goto @DRUGS1_30550

:DRUGS1_30508
Car.SetForwardSpeed(189@, 18.0)
Car.StopPlayback(189@)
Car.SetRotationVelocity(189@, 1.5, 3.3999, 4.1003)
247@ = 2

:DRUGS1_30550
if 
  247@ == 2
goto_if_false @DRUGS1_30642
if 
  Char.IsDead(43@)
goto_if_false @DRUGS1_30642
Car.StopPlayback(189@)
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_30635
Car.SetForwardSpeed(189@, 18.0)
Car.SetRotationVelocity(189@, 1.5, 3.3999, 4.1003)

:DRUGS1_30635
247@ = 3

:DRUGS1_30642
if 
  260@ == 1
goto_if_false @DRUGS1_30729
if 
  Char.IsDead(42@)
goto_if_false @DRUGS1_30729
if or
  Char.IsDead(43@)
  Car.IsDead(189@)
goto_if_false @DRUGS1_30729
Car.StopPlayback(189@)
Blip.Remove(214@)
Car.MarkAsNoLongerNeeded(189@)
Char.MarkAsNoLongerNeeded(42@)
Char.MarkAsNoLongerNeeded(43@)
260@ = 2

:DRUGS1_30729
if 
  248@ == 1
goto_if_false @DRUGS1_30977
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_30977
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS1_30786
goto @DRUGS1_30977

:DRUGS1_30786
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS1_30935
if 
  Char.IsInCar(45@, 194@)
goto_if_false @DRUGS1_30928
205@ = Car.GetDriver(194@)
if 
  205@ == -1
goto_if_false @DRUGS1_30928
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(45@, $x, $y, -10.0)
Char.WarpIntoCar(45@, 194@)
Task.DriveBy(45@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
248@ = 2

:DRUGS1_30928
goto @DRUGS1_30977

:DRUGS1_30935
Car.SetForwardSpeed(194@, 15.0)
Car.StopPlayback(194@)
Car.SetRotationVelocity(194@, 5.5, 3.3999, 5.1003)
248@ = 2

:DRUGS1_30977
if 
  248@ == 2
goto_if_false @DRUGS1_31069
if 
  Char.IsDead(45@)
goto_if_false @DRUGS1_31069
Car.StopPlayback(194@)
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_31062
Car.SetForwardSpeed(194@, 15.0)
Car.SetRotationVelocity(194@, 5.5, 3.3999, 5.1003)

:DRUGS1_31062
248@ = 3

:DRUGS1_31069
if 
  261@ == 1
goto_if_false @DRUGS1_31156
if 
  Char.IsDead(44@)
goto_if_false @DRUGS1_31156
if or
  Char.IsDead(45@)
  Car.IsDead(194@)
goto_if_false @DRUGS1_31156
Car.StopPlayback(194@)
Blip.Remove(215@)
Car.MarkAsNoLongerNeeded(194@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
261@ = 2

:DRUGS1_31156
if 
  249@ == 1
goto_if_false @DRUGS1_31405
if 
  not Car.IsDead(195@)
goto_if_false @DRUGS1_31405
if 
  not Char.IsDead(46@)
goto_if_false @DRUGS1_31213
goto @DRUGS1_31405

:DRUGS1_31213
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS1_31363
if 
  Char.IsInCar(47@, 195@)
goto_if_false @DRUGS1_31356
205@ = Car.GetDriver(195@)
if 
  205@ == -1
goto_if_false @DRUGS1_31356
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(47@, $x, $y, -10.0)
Char.WarpIntoCar(47@, 195@)
Task.DriveBy(47@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)
249@ = 2

:DRUGS1_31356
goto @DRUGS1_31405

:DRUGS1_31363
Car.SetForwardSpeed(195@, 15.0)
Car.StopPlayback(195@)
Car.SetRotationVelocity(195@, 1.5, 4.3999, 5.1003)
249@ = 2

:DRUGS1_31405
if 
  249@ == 2
goto_if_false @DRUGS1_31497
if 
  Char.IsDead(47@)
goto_if_false @DRUGS1_31497
Car.StopPlayback(195@)
if 
  not Car.IsDead(195@)
goto_if_false @DRUGS1_31490
Car.SetForwardSpeed(195@, 15.0)
Car.SetRotationVelocity(195@, 1.5, 4.3999, 5.1003)

:DRUGS1_31490
249@ = 3

:DRUGS1_31497
if 
  262@ == 1
goto_if_false @DRUGS1_31584
if 
  Char.IsDead(46@)
goto_if_false @DRUGS1_31584
if or
  Char.IsDead(47@)
  Car.IsDead(195@)
goto_if_false @DRUGS1_31584
Car.StopPlayback(195@)
Blip.Remove(216@)
Car.MarkAsNoLongerNeeded(195@)
Char.MarkAsNoLongerNeeded(46@)
Char.MarkAsNoLongerNeeded(47@)
262@ = 2

:DRUGS1_31584
if 
  250@ == 1
goto_if_false @DRUGS1_31833
if 
  not Car.IsDead(196@)
goto_if_false @DRUGS1_31833
if 
  not Char.IsDead(56@)
goto_if_false @DRUGS1_31641
goto @DRUGS1_31833

:DRUGS1_31641
if 
  not Char.IsDead(57@)
goto_if_false @DRUGS1_31791
if 
  Char.IsInCar(57@, 196@)
goto_if_false @DRUGS1_31784
205@ = Car.GetDriver(196@)
if 
  205@ == -1
goto_if_false @DRUGS1_31784
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(57@, $x, $y, -10.0)
Char.WarpIntoCar(57@, 196@)
Task.DriveBy(57@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)
250@ = 2

:DRUGS1_31784
goto @DRUGS1_31833

:DRUGS1_31791
Car.SetForwardSpeed(196@, 15.0)
Car.StopPlayback(196@)
Car.SetRotationVelocity(196@, 2.5, 3.3999, 3.1003)
250@ = 2

:DRUGS1_31833
if 
  250@ == 2
goto_if_false @DRUGS1_31925
if 
  Char.IsDead(57@)
goto_if_false @DRUGS1_31925
Car.StopPlayback(196@)
if 
  not Car.IsDead(196@)
goto_if_false @DRUGS1_31918
Car.SetForwardSpeed(196@, 15.0)
Car.SetRotationVelocity(196@, 2.5, 3.3999, 3.1003)

:DRUGS1_31918
250@ = 3

:DRUGS1_31925
if 
  263@ == 1
goto_if_false @DRUGS1_32012
if 
  Char.IsDead(56@)
goto_if_false @DRUGS1_32012
if or
  Char.IsDead(57@)
  Car.IsDead(196@)
goto_if_false @DRUGS1_32012
Car.StopPlayback(196@)
Blip.Remove(217@)
Car.MarkAsNoLongerNeeded(196@)
Char.MarkAsNoLongerNeeded(56@)
Char.MarkAsNoLongerNeeded(57@)
263@ = 2

:DRUGS1_32012
if 
  265@ == 1
goto_if_false @DRUGS1_32164
if 
  not Car.IsDead(165@)
goto_if_false @DRUGS1_32164
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS1_32069
goto @DRUGS1_32164

:DRUGS1_32069
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS1_32152
if 
  Char.IsInCar(49@, 165@)
goto_if_false @DRUGS1_32145
205@ = Car.GetDriver(165@)
if 
  205@ == -1
goto_if_false @DRUGS1_32145
Task.ShuffleToNextCarSeat(49@, 165@)
265@ = 2

:DRUGS1_32145
goto @DRUGS1_32164

:DRUGS1_32152
Car.StopPlayback(165@)
265@ = 2

:DRUGS1_32164
if 
  265@ == 2
goto_if_false @DRUGS1_32210
if 
  Char.IsDead(49@)
goto_if_false @DRUGS1_32210
Car.StopPlayback(165@)
265@ = 3

:DRUGS1_32210
if 
  255@ == 1
goto_if_false @DRUGS1_32297
if 
  Char.IsDead(48@)
goto_if_false @DRUGS1_32297
if or
  Char.IsDead(49@)
  Car.IsDead(165@)
goto_if_false @DRUGS1_32297
Car.StopPlayback(165@)
Blip.Remove(210@)
Car.MarkAsNoLongerNeeded(165@)
Char.MarkAsNoLongerNeeded(48@)
Char.MarkAsNoLongerNeeded(49@)
255@ = 2

:DRUGS1_32297
if 
  266@ == 1
goto_if_false @DRUGS1_32449
if 
  not Car.IsDead(166@)
goto_if_false @DRUGS1_32449
if 
  not Char.IsDead(50@)
goto_if_false @DRUGS1_32354
goto @DRUGS1_32449

:DRUGS1_32354
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS1_32437
if 
  Char.IsInCar(51@, 166@)
goto_if_false @DRUGS1_32430
205@ = Car.GetDriver(166@)
if 
  205@ == -1
goto_if_false @DRUGS1_32430
Task.ShuffleToNextCarSeat(51@, 166@)
266@ = 2

:DRUGS1_32430
goto @DRUGS1_32449

:DRUGS1_32437
Car.StopPlayback(166@)
266@ = 2

:DRUGS1_32449
if 
  266@ == 2
goto_if_false @DRUGS1_32495
if 
  Char.IsDead(51@)
goto_if_false @DRUGS1_32495
Car.StopPlayback(166@)
266@ = 3

:DRUGS1_32495
if 
  256@ == 1
goto_if_false @DRUGS1_32582
if 
  Char.IsDead(50@)
goto_if_false @DRUGS1_32582
if or
  Char.IsDead(51@)
  Car.IsDead(166@)
goto_if_false @DRUGS1_32582
Car.StopPlayback(166@)
Car.MarkAsNoLongerNeeded(166@)
Char.MarkAsNoLongerNeeded(50@)
Char.MarkAsNoLongerNeeded(51@)
Blip.Remove(211@)
256@ = 2

:DRUGS1_32582
if 
  243@ == 2
goto_if_false @DRUGS1_42323
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_42323
if 
  272@ == 0
goto_if_false @DRUGS1_34556
Camera.DoFade(0, Fade.Out)
Car.StopPlayback(189@)
Car.Delete(189@)
Char.Delete(42@)
Char.Delete(43@)
Car.StopPlayback(194@)
Car.Delete(194@)
Char.Delete(44@)
Char.Delete(45@)
Car.StopPlayback(165@)
Car.Delete(165@)
Char.Delete(48@)
Char.Delete(49@)
Car.Delete(208@)
Car.Delete(207@)
Car.StopPlayback(188@)
Car.Delete(188@)
Char.Delete(197@)
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_32746
Car.StopPlayback(161@)

:DRUGS1_32746
Streaming.RequestCarRecording(269)
Streaming.RequestCarRecording(270)
Streaming.RequestCarRecording(271)
Streaming.RequestCarRecording(272)
Streaming.RequestCarRecording(273)
Streaming.RequestCarRecording(274)
Streaming.RequestCarRecording(275)
Streaming.RequestCarRecording(276)
Streaming.RequestCarRecording(277)
Streaming.RequestCarRecording(278)
Streaming.RequestCarRecording(279)
Streaming.RequestCarRecording(280)
Streaming.RequestCarRecording(281)
Streaming.LoadAllModelsNow

:DRUGS1_32813
if or
  not Streaming.HasCarRecordingBeenLoaded(273)
  not Streaming.HasCarRecordingBeenLoaded(274)
  not Streaming.HasCarRecordingBeenLoaded(275)
  not Streaming.HasCarRecordingBeenLoaded(276)
  not Streaming.HasCarRecordingBeenLoaded(277)
goto_if_false @DRUGS1_32860
wait 0
goto @DRUGS1_32813

:DRUGS1_32860
if or
  not Streaming.HasCarRecordingBeenLoaded(278)
  not Streaming.HasCarRecordingBeenLoaded(279)
  not Streaming.HasCarRecordingBeenLoaded(280)
  not Streaming.HasCarRecordingBeenLoaded(281)
goto_if_false @DRUGS1_32902
wait 0
goto @DRUGS1_32860

:DRUGS1_32902
if or
  not Streaming.HasCarRecordingBeenLoaded(269)
  not Streaming.HasCarRecordingBeenLoaded(270)
  not Streaming.HasCarRecordingBeenLoaded(271)
  not Streaming.HasCarRecordingBeenLoaded(272)
goto_if_false @DRUGS1_32944
wait 0
goto @DRUGS1_32902

:DRUGS1_32944
188@ = Car.Create(443, 1601.915, -1755.917, 4.6)
Car.SetPetrolTankWeakpoint(188@, False)
Car.SetHeading(188@, 256.415)
197@ = Char.CreateInsideCar(188@, PedType.Mission1, 111)
Char.SetCanBeShotInVehicle(197@, False)
Car.SetProofs(188@, True, True, True, True, True)
Char.SetProofs(197@, True, True, True, True, True)
Char.SetDecisionMaker(197@, 35@)
Char.SetOnlyDamagedByPlayer(197@, True)
209@ = Blip.AddForCar(188@)
Blip.ChangeDisplay(209@, BlipDisplay.BlipOnly)
Blip.ChangeScale(209@, 2)
208@ = Car.Create(560, 1550.873, -1737.122, -14.1055)
Car.SetPetrolTankWeakpoint(208@, False)
Car.SetHeading(208@, 256.415)
Car.SetProofs(208@, True, True, True, True, True)
Car.AttachToCar(208@, 188@, 0.0, -4.6, 0.65, 15.0, 0.0, 0.0)
273@ = 1
207@ = Car.Create(560, 1550.873, -1737.122, 14.1055)
Car.SetPetrolTankWeakpoint(207@, False)
Car.SetHeading(207@, 256.415)
Car.SetProofs(207@, True, True, True, True, True)
Car.AttachToCar(207@, 188@, 0.0, 1.15, 2.4, 15.0, 0.0, 0.0)
274@ = 1
189@ = Car.Create(581, 1505.103, -1733.09, 3.05)
Car.SetPetrolTankWeakpoint(189@, False)
Car.SetHeading(189@, 258.539)
Car.SetProofs(189@, False, True, True, True, False)
42@ = Char.CreateInsideCar(189@, PedType.Mission1, 111)
Char.SetHealth(42@, 10)
Char.SetOnlyDamagedByPlayer(42@, 10)
Char.SetDecisionMaker(42@, 35@)
Char.SetOnlyDamagedByPlayer(42@, True)
43@ = Char.CreateAsPassenger(189@, PedType.Mission1, 111, 0)
Char.GiveWeapon(43@, WeaponType.MicroUzi, 99999)
Char.SetHealth(43@, 10)
Char.SetOnlyDamagedByPlayer(43@, 10)
Char.SetDecisionMaker(43@, 35@)
Char.SetOnlyDamagedByPlayer(43@, True)
247@ = 1
260@ = 1
214@ = Blip.AddForCar(189@)
Blip.ChangeDisplay(214@, BlipDisplay.BlipOnly)
Blip.ChangeScale(214@, 2)
194@ = Car.Create(581, 1487.213, -1734.792, 3.25)
Car.SetPetrolTankWeakpoint(194@, False)
Car.SetHeading(194@, 258.716)
Car.SetProofs(194@, False, True, True, True, False)
44@ = Char.CreateInsideCar(194@, PedType.Mission1, 111)
Char.SetDecisionMaker(44@, 35@)
Char.SetOnlyDamagedByPlayer(44@, True)
Char.SetHealth(44@, 20)
45@ = Char.CreateAsPassenger(194@, PedType.Mission1, 111, 0)
Char.GiveWeapon(45@, WeaponType.MicroUzi, 99999)
Char.SetDecisionMaker(45@, 35@)
Char.SetOnlyDamagedByPlayer(45@, True)
Char.SetHealth(45@, 30)
248@ = 1
261@ = 1
215@ = Blip.AddForCar(194@)
Blip.ChangeDisplay(215@, BlipDisplay.BlipOnly)
Blip.ChangeScale(215@, 2)
165@ = Car.Create(560, 1496.864, -1731.303, 6.3)
Car.SetPetrolTankWeakpoint(165@, False)
Car.SetHeading(165@, 257.724)
46@ = Char.CreateInsideCar(165@, PedType.Mission1, 111)
Char.SetDecisionMaker(46@, 35@)
Char.SetCanBeShotInVehicle(46@, False)
Char.SetOnlyDamagedByPlayer(46@, True)
47@ = Char.CreateAsPassenger(165@, PedType.Mission1, 111, 0)
Char.GiveWeapon(47@, WeaponType.MicroUzi, 99999)
Char.SetOnlyDamagedByPlayer(47@, True)
Char.SetDecisionMaker(47@, 35@)
Char.SetHealth(47@, 10)
265@ = 1
255@ = 1
210@ = Blip.AddForCar(165@)
Blip.ChangeDisplay(210@, BlipDisplay.BlipOnly)
Blip.ChangeScale(210@, 2)
Car.SetHealth(165@, 1000)
wait 0
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS1_33824
Car.StartPlayback(188@, 269)

:DRUGS1_33824
if 
  not Car.IsDead(208@)
goto_if_false @DRUGS1_33848
Car.StartPlayback(208@, 270)

:DRUGS1_33848
if 
  not Car.IsDead(207@)
goto_if_false @DRUGS1_33872
Car.StartPlayback(207@, 271)

:DRUGS1_33872
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_33896
Car.StartPlayback(161@, 272)

:DRUGS1_33896
if 
  not Car.IsDead(208@)
goto_if_false @DRUGS1_33934
Car.Detach(208@, 20.0, 180.0, 0.0, False)

:DRUGS1_33934
if 
  not Car.IsDead(207@)
goto_if_false @DRUGS1_33972
Car.Detach(207@, 20.0, 180.0, 0.0, False)

:DRUGS1_33972
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_33996
Car.StartPlayback(189@, 273)

:DRUGS1_33996
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_34020
Car.StartPlayback(194@, 274)

:DRUGS1_34020
if 
  not Car.IsDead(165@)
goto_if_false @DRUGS1_34044
Car.StartPlayback(165@, 275)

:DRUGS1_34044
Task.DriveBy($stattreadstamina_ctr, -1, -1, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 100)
Player.SetHeadingForAttached($statbike_temp, 346.2, 359.0)
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_34138
Car.SetProofs(161@, False, True, True, True, True)

:DRUGS1_34138
Camera.DoFade(250, Fade.In)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
285@ = 0
282@ = 0
283@ = 0
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_34220
Char.SetProofs($mc_strap, True, True, True, True, True)

:DRUGS1_34220
TIMERB = 0
if 
  not Char.IsDead(43@)
goto_if_false @DRUGS1_34279
Task.DriveBy(43@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 90)

:DRUGS1_34279
if 
  not Char.IsDead(42@)
goto_if_false @DRUGS1_34362
if 
  3 > 288@
goto_if_false @DRUGS1_34362
Char.GiveWeapon(42@, WeaponType.MicroUzi, 99999)
Task.DriveBy(42@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)

:DRUGS1_34362
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS1_34445
if 
  2 > 288@
goto_if_false @DRUGS1_34445
Char.GiveWeapon(44@, WeaponType.MicroUzi, 99999)
Task.DriveBy(44@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)

:DRUGS1_34445
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS1_34497
Task.DriveBy(45@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 90)

:DRUGS1_34497
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS1_34549
Task.DriveBy(47@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 90)

:DRUGS1_34549
272@ = 1

:DRUGS1_34556
if 
  272@ == 1
goto_if_false @DRUGS1_35101
if 
  Car.Locate2D(161@, 1905.28, -1831.57, 12.0, 12.0, False)
goto_if_false @DRUGS1_35101
166@ = Car.Create(560, 2002.102, -1890.368, 8.108)
Car.SetPetrolTankWeakpoint(166@, False)
Car.SetHeading(166@, 44.1)
Car.StartPlayback(166@, 276)
48@ = Char.CreateInsideCar(166@, PedType.Mission1, 111)
Char.SetDecisionMaker(48@, 35@)
Char.SetCanBeShotInVehicle(48@, False)
Char.SetOnlyDamagedByPlayer(48@, True)
49@ = Char.CreateAsPassenger(166@, PedType.Mission1, 111, 0)
Char.GiveWeapon(49@, WeaponType.MicroUzi, 99999)
Char.SetOnlyDamagedByPlayer(49@, True)
Char.SetDecisionMaker(49@, 35@)
Char.SetHealth(49@, 10)
266@ = 1
256@ = 1
211@ = Blip.AddForCar(166@)
Blip.ChangeDisplay(211@, BlipDisplay.BlipOnly)
Blip.ChangeScale(211@, 2)
Car.SetHealth(166@, 1100)
Car.SetProofs(166@, False, True, False, False, False)
167@ = Car.Create(560, 2008.843, -1897.323, 8.1)
Car.SetPetrolTankWeakpoint(167@, False)
Car.SetHeading(167@, 44.1)
Car.StartPlayback(167@, 277)
Car.SetProofs(167@, False, True, True, True, False)
Car.SetOnlyDamagedByPlayer(167@, True)
50@ = Char.CreateInsideCar(167@, PedType.Mission1, 111)
Char.SetDecisionMaker(50@, 35@)
Char.SetOnlyDamagedByPlayer(50@, True)
51@ = Char.CreateAsPassenger(167@, PedType.Mission1, 111, 0)
Char.GiveWeapon(51@, WeaponType.MicroUzi, 99999)
Char.SetOnlyDamagedByPlayer(51@, True)
Char.SetDecisionMaker(51@, 35@)
Char.SetHealth(51@, 10)
267@ = 1
257@ = 1
212@ = Blip.AddForCar(167@)
Blip.ChangeDisplay(212@, BlipDisplay.BlipOnly)
Blip.ChangeScale(212@, 2)
Car.SetHealth(167@, 700)
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS1_35042
Task.DriveBy(49@, -1, 161@, 0.0, 0.0, 0.0, 250.0, DriveByType.Ai, True, 10)

:DRUGS1_35042
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS1_35094
Task.DriveBy(51@, -1, 161@, 0.0, 0.0, 0.0, 250.0, DriveByType.Ai, True, 10)

:DRUGS1_35094
272@ = 2

:DRUGS1_35101
if 
  272@ == 2
goto_if_false @DRUGS1_35810
if 
  Car.Locate2D(161@, 2101.55, -1850.81, 12.0, 12.0, False)
goto_if_false @DRUGS1_35810
196@ = Car.Create(581, 2093.446, -1836.207, 12.72)
Car.SetPetrolTankWeakpoint(196@, False)
Car.SetHeading(196@, 267.18)
Car.SetProofs(196@, False, True, True, True, False)
52@ = Char.CreateInsideCar(196@, PedType.Mission1, 111)
Char.SetHealth(52@, 50)
Char.SetDecisionMaker(52@, 35@)
Char.SetOnlyDamagedByPlayer(52@, True)
53@ = Char.CreateAsPassenger(196@, PedType.Mission1, 111, 0)
Char.GiveWeapon(53@, WeaponType.MicroUzi, 99999)
Char.SetDecisionMaker(53@, 35@)
Char.SetOnlyDamagedByPlayer(53@, True)
Char.SetHealth(53@, 10)
250@ = 1
263@ = 1
217@ = Blip.AddForCar(196@)
Blip.ChangeDisplay(217@, BlipDisplay.BlipOnly)
Blip.ChangeScale(217@, 2)
Car.StartPlayback(196@, 279)
195@ = Car.Create(581, 2018.735, -1900.925, 8.108)
Car.SetPetrolTankWeakpoint(195@, False)
Car.SetHeading(195@, 258.716)
Car.SetProofs(195@, False, True, True, True, False)
54@ = Char.CreateInsideCar(195@, PedType.Mission1, 111)
Char.SetDecisionMaker(54@, 35@)
Char.SetOnlyDamagedByPlayer(54@, True)
55@ = Char.CreateAsPassenger(195@, PedType.Mission1, 111, 0)
Char.GiveWeapon(55@, WeaponType.MicroUzi, 99999)
Char.SetDecisionMaker(55@, 35@)
Char.SetOnlyDamagedByPlayer(55@, True)
Char.SetHealth(54@, 10)
Char.SetOnlyDamagedByPlayer(54@, 10)
Char.SetHealth(55@, 30)
Char.SetOnlyDamagedByPlayer(55@, 10)
249@ = 1
262@ = 1
216@ = Blip.AddForCar(195@)
Blip.ChangeDisplay(216@, BlipDisplay.BlipOnly)
Blip.ChangeScale(216@, 2)
Car.StartPlayback(195@, 278)
if 
  not Char.IsDead(52@)
goto_if_false @DRUGS1_35616
if 
  4 > 288@
goto_if_false @DRUGS1_35616
Char.GiveWeapon(52@, WeaponType.MicroUzi, 99999)
Task.DriveBy(52@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)

:DRUGS1_35616
if 
  not Char.IsDead(54@)
goto_if_false @DRUGS1_35699
if 
  4 > 288@
goto_if_false @DRUGS1_35699
Char.GiveWeapon(54@, WeaponType.MicroUzi, 99999)
Task.DriveBy(54@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)

:DRUGS1_35699
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS1_35751
Task.DriveBy(53@, -1, 161@, 0.0, 0.0, 0.0, 250.0, DriveByType.Ai, True, 100)

:DRUGS1_35751
if 
  not Char.IsDead(55@)
goto_if_false @DRUGS1_35803
Task.DriveBy(55@, -1, 161@, 0.0, 0.0, 0.0, 250.0, DriveByType.Ai, True, 100)

:DRUGS1_35803
272@ = 3

:DRUGS1_35810
if 
  272@ == 3
goto_if_false @DRUGS1_36241
if 
  Car.Locate2D(161@, 2425.93, -1874.76, 10.0, 10.0, False)
goto_if_false @DRUGS1_36241
Car.Delete(208@)
Car.Delete(207@)
Car.Delete(189@)
Car.Delete(194@)
Char.Delete(42@)
Char.Delete(43@)
Char.Delete(44@)
Char.Delete(45@)
Car.Delete(165@)
Car.Delete(166@)
Char.Delete(46@)
Char.Delete(47@)
Char.Delete(48@)
Char.Delete(49@)
206@ = Car.Create(581, 2417.1, -1876.578, 12.92)
Car.SetPetrolTankWeakpoint(206@, False)
Car.SetHeading(206@, 271.4)
Car.StartPlayback(206@, 280)
Car.SetProofs(206@, False, True, True, True, False)
56@ = Char.CreateInsideCar(206@, PedType.Mission1, 111)
Char.SetDecisionMaker(56@, 35@)
Char.SetOnlyDamagedByPlayer(56@, True)
57@ = Char.CreateAsPassenger(206@, PedType.Mission1, 111, 0)
Char.GiveWeapon(57@, WeaponType.MicroUzi, 99999)
Char.SetDecisionMaker(57@, 35@)
Char.SetOnlyDamagedByPlayer(57@, True)
Char.SetHealth(56@, 10)
Char.SetHealth(57@, 10)
251@ = 1
264@ = 1
218@ = Blip.AddForCar(206@)
Blip.ChangeDisplay(218@, BlipDisplay.BlipOnly)
Blip.ChangeScale(218@, 2)
if 
  not Char.IsDead(57@)
goto_if_false @DRUGS1_36169
Task.DriveBy(57@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 90)

:DRUGS1_36169
if 
  not Char.IsDead(56@)
goto_if_false @DRUGS1_36234
Char.GiveWeapon(56@, WeaponType.MicroUzi, 99999)
Task.DriveBy(56@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 289@)

:DRUGS1_36234
272@ = 4

:DRUGS1_36241
if 
  272@ == 4
goto_if_false @DRUGS1_36524
if 
  Car.Locate2D(161@, 2499.36, -1871.699, 10.0, 10.0, False)
goto_if_false @DRUGS1_36524
168@ = Car.Create(560, 2529.256, -1892.9, 13.24)
Car.SetPetrolTankWeakpoint(168@, False)
Car.SetHeading(168@, 269.177)
Car.StartPlayback(168@, 281)
Car.SetHealth(168@, 600)
58@ = Char.CreateInsideCar(168@, PedType.Mission1, 111)
Char.SetDecisionMaker(58@, 35@)
Char.SetOnlyDamagedByPlayer(58@, True)
59@ = Char.CreateAsPassenger(168@, PedType.Mission1, 111, 0)
Char.GiveWeapon(59@, WeaponType.MicroUzi, 99999)
Char.SetOnlyDamagedByPlayer(59@, True)
Char.SetDecisionMaker(59@, 35@)
268@ = 1
258@ = 1
213@ = Blip.AddForCar(168@)
Blip.ChangeDisplay(213@, BlipDisplay.BlipOnly)
Blip.ChangeScale(213@, 2)
Car.SetHealth(168@, 800)
if 
  not Char.IsDead(59@)
goto_if_false @DRUGS1_36517
Task.DriveBy(59@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 90)

:DRUGS1_36517
272@ = 5

:DRUGS1_36524
if 
  272@ == 5
goto_if_false @DRUGS1_36588
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS1_36588
if 
  not is_recording_going_on_for_car 188@
goto_if_false @DRUGS1_36588
Car.FreezePosition(188@, True)
272@ = 6

:DRUGS1_36588
if 
  272@ == 6
goto_if_false @DRUGS1_36656
if 
  279@ == 0
goto_if_false @DRUGS1_36656
if 
  243@ == 2
goto_if_false @DRUGS1_36656
279@ = 1
277@ = 1

:DRUGS1_36656
if 
  273@ == 1
goto_if_false @DRUGS1_36810
if 
  not Car.IsDead(165@)
goto_if_false @DRUGS1_36810
if 
  not Car.IsDead(208@)
goto_if_false @DRUGS1_36810
if 
  TIMERB > 26250
goto_if_false @DRUGS1_36810
if or
  265@ <> 3
  255@ <> 2
goto_if_false @DRUGS1_36810
Car.SetProofs(208@, False, False, False, False, False)
Car.StopPlayback(208@)
Car.SetHealth(208@, 200)
Car.SetRotationVelocity(208@, 1.5, -2.3999, 4.1003)
Car.Explode(208@)
273@ = 2

:DRUGS1_36810
if 
  273@ == 2
goto_if_false @DRUGS1_36875
if 
  not Car.IsDead(165@)
goto_if_false @DRUGS1_36875
if 
  TIMERB > 26900
goto_if_false @DRUGS1_36875
Car.Explode(165@)
273@ = 3

:DRUGS1_36875
if 
  274@ == 1
goto_if_false @DRUGS1_36976
if 
  not Car.IsDead(166@)
goto_if_false @DRUGS1_36976
if 
  not Car.IsDead(207@)
goto_if_false @DRUGS1_36976
if 
  TIMERB > 35647
goto_if_false @DRUGS1_36976
Car.SetProofs(207@, False, False, False, False, False)
Car.SetHealth(207@, 500)
274@ = 2

:DRUGS1_36976
if 
  274@ == 2
goto_if_false @DRUGS1_37043
if 
  TIMERB > 35800
goto_if_false @DRUGS1_37043
if 
  not Car.IsDead(207@)
goto_if_false @DRUGS1_37043
Car.Explode(207@)
274@ = 3

:DRUGS1_37043
if 
  274@ == 3
goto_if_false @DRUGS1_37110
if 
  TIMERB > 36500
goto_if_false @DRUGS1_37110
if 
  not Car.IsDead(166@)
goto_if_false @DRUGS1_37110
Car.Explode(166@)
274@ = 4

:DRUGS1_37110
if 
  247@ == 1
goto_if_false @DRUGS1_37358
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_37358
if 
  not Char.IsDead(42@)
goto_if_false @DRUGS1_37167
goto @DRUGS1_37358

:DRUGS1_37167
if 
  not Char.IsDead(43@)
goto_if_false @DRUGS1_37316
if 
  Char.IsInCar(43@, 189@)
goto_if_false @DRUGS1_37309
205@ = Car.GetDriver(189@)
if 
  205@ == -1
goto_if_false @DRUGS1_37309
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(43@, $x, $y, -10.0)
Char.WarpIntoCar(43@, 189@)
Task.DriveBy(43@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
247@ = 2

:DRUGS1_37309
goto @DRUGS1_37358

:DRUGS1_37316
Car.SetForwardSpeed(189@, 18.0)
Car.StopPlayback(189@)
Car.SetRotationVelocity(189@, 3.5, 7.3999, 8.1003)
247@ = 2

:DRUGS1_37358
if 
  247@ == 2
goto_if_false @DRUGS1_37450
if 
  Char.IsDead(43@)
goto_if_false @DRUGS1_37450
Car.StopPlayback(189@)
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_37443
Car.SetForwardSpeed(189@, 18.0)
Car.SetRotationVelocity(189@, 3.5, 7.3999, 8.1003)

:DRUGS1_37443
247@ = 3

:DRUGS1_37450
if 
  260@ == 1
goto_if_false @DRUGS1_37537
if 
  Char.IsDead(42@)
goto_if_false @DRUGS1_37537
if or
  Char.IsDead(43@)
  Car.IsDead(189@)
goto_if_false @DRUGS1_37537
Car.StopPlayback(189@)
Blip.Remove(214@)
Car.MarkAsNoLongerNeeded(189@)
Char.MarkAsNoLongerNeeded(42@)
Char.MarkAsNoLongerNeeded(43@)
260@ = 2

:DRUGS1_37537
if 
  248@ == 1
goto_if_false @DRUGS1_37785
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_37785
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS1_37594
goto @DRUGS1_37785

:DRUGS1_37594
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS1_37743
if 
  Char.IsInCar(45@, 194@)
goto_if_false @DRUGS1_37736
205@ = Car.GetDriver(194@)
if 
  205@ == -1
goto_if_false @DRUGS1_37736
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(45@, $x, $y, -10.0)
Char.WarpIntoCar(45@, 194@)
Task.DriveBy(45@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
248@ = 2

:DRUGS1_37736
goto @DRUGS1_37785

:DRUGS1_37743
Car.SetForwardSpeed(194@, 18.0)
Car.StopPlayback(194@)
Car.SetRotationVelocity(194@, 3.5, 7.3999, 8.1003)
248@ = 2

:DRUGS1_37785
if 
  248@ == 2
goto_if_false @DRUGS1_37877
if 
  Char.IsDead(45@)
goto_if_false @DRUGS1_37877
Car.StopPlayback(194@)
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_37870
Car.SetForwardSpeed(194@, 18.0)
Car.SetRotationVelocity(194@, 3.5, 7.3999, 8.1003)

:DRUGS1_37870
248@ = 3

:DRUGS1_37877
if 
  261@ == 1
goto_if_false @DRUGS1_37964
if 
  Char.IsDead(44@)
goto_if_false @DRUGS1_37964
if or
  Char.IsDead(45@)
  Car.IsDead(194@)
goto_if_false @DRUGS1_37964
Car.StopPlayback(194@)
Blip.Remove(215@)
Car.MarkAsNoLongerNeeded(194@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
261@ = 2

:DRUGS1_37964
if 
  265@ == 1
goto_if_false @DRUGS1_38116
if 
  not Car.IsDead(165@)
goto_if_false @DRUGS1_38116
if 
  not Char.IsDead(46@)
goto_if_false @DRUGS1_38021
goto @DRUGS1_38116

:DRUGS1_38021
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS1_38104
if 
  Char.IsInCar(47@, 165@)
goto_if_false @DRUGS1_38097
205@ = Car.GetDriver(165@)
if 
  205@ == -1
goto_if_false @DRUGS1_38097
Task.ShuffleToNextCarSeat(47@, 165@)
265@ = 2

:DRUGS1_38097
goto @DRUGS1_38116

:DRUGS1_38104
Car.StopPlayback(165@)
265@ = 2

:DRUGS1_38116
if 
  265@ == 2
goto_if_false @DRUGS1_38183
if 
  Char.IsDead(47@)
goto_if_false @DRUGS1_38183
Car.StopPlayback(165@)
if 
  not Car.IsDead(165@)
goto_if_false @DRUGS1_38176
Car.SetIdle(165@)

:DRUGS1_38176
265@ = 3

:DRUGS1_38183
if 
  255@ == 1
goto_if_false @DRUGS1_38291
if 
  Char.IsDead(46@)
goto_if_false @DRUGS1_38291
if or
  Char.IsDead(47@)
  Car.IsDead(165@)
goto_if_false @DRUGS1_38291
Car.StopPlayback(165@)
if 
  not Car.IsDead(165@)
goto_if_false @DRUGS1_38264
Car.SetIdle(165@)

:DRUGS1_38264
Blip.Remove(210@)
Car.MarkAsNoLongerNeeded(165@)
Char.MarkAsNoLongerNeeded(46@)
Char.MarkAsNoLongerNeeded(47@)
255@ = 2

:DRUGS1_38291
if 
  266@ == 1
goto_if_false @DRUGS1_38443
if 
  not Car.IsDead(166@)
goto_if_false @DRUGS1_38443
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS1_38348
goto @DRUGS1_38443

:DRUGS1_38348
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS1_38431
if 
  Char.IsInCar(49@, 166@)
goto_if_false @DRUGS1_38424
205@ = Car.GetDriver(166@)
if 
  205@ == -1
goto_if_false @DRUGS1_38424
Task.ShuffleToNextCarSeat(49@, 166@)
266@ = 2

:DRUGS1_38424
goto @DRUGS1_38443

:DRUGS1_38431
Car.StopPlayback(166@)
266@ = 2

:DRUGS1_38443
if 
  266@ == 2
goto_if_false @DRUGS1_38510
if 
  Char.IsDead(49@)
goto_if_false @DRUGS1_38510
Car.StopPlayback(166@)
if 
  not Car.IsDead(166@)
goto_if_false @DRUGS1_38503
Car.SetIdle(166@)

:DRUGS1_38503
266@ = 3

:DRUGS1_38510
if 
  256@ == 1
goto_if_false @DRUGS1_38618
if 
  Char.IsDead(48@)
goto_if_false @DRUGS1_38618
if or
  Char.IsDead(49@)
  Car.IsDead(166@)
goto_if_false @DRUGS1_38618
Car.StopPlayback(166@)
if 
  not Car.IsDead(166@)
goto_if_false @DRUGS1_38591
Car.SetIdle(166@)

:DRUGS1_38591
Blip.Remove(211@)
Car.MarkAsNoLongerNeeded(166@)
Char.MarkAsNoLongerNeeded(48@)
Char.MarkAsNoLongerNeeded(49@)
256@ = 2

:DRUGS1_38618
if 
  267@ == 1
goto_if_false @DRUGS1_38770
if 
  not Car.IsDead(167@)
goto_if_false @DRUGS1_38770
if 
  not Char.IsDead(50@)
goto_if_false @DRUGS1_38675
goto @DRUGS1_38770

:DRUGS1_38675
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS1_38758
if 
  Char.IsInCar(51@, 167@)
goto_if_false @DRUGS1_38751
205@ = Car.GetDriver(167@)
if 
  205@ == -1
goto_if_false @DRUGS1_38751
Task.ShuffleToNextCarSeat(51@, 167@)
267@ = 2

:DRUGS1_38751
goto @DRUGS1_38770

:DRUGS1_38758
Car.StopPlayback(167@)
267@ = 2

:DRUGS1_38770
if 
  267@ == 2
goto_if_false @DRUGS1_38837
if 
  Char.IsDead(51@)
goto_if_false @DRUGS1_38837
Car.StopPlayback(167@)
if 
  not Car.IsDead(167@)
goto_if_false @DRUGS1_38830
Car.SetIdle(167@)

:DRUGS1_38830
267@ = 3

:DRUGS1_38837
if 
  257@ == 1
goto_if_false @DRUGS1_38945
if 
  Char.IsDead(50@)
goto_if_false @DRUGS1_38945
if or
  Char.IsDead(51@)
  Car.IsDead(167@)
goto_if_false @DRUGS1_38945
Car.StopPlayback(167@)
Blip.Remove(212@)
if 
  not Car.IsDead(167@)
goto_if_false @DRUGS1_38923
Car.SetIdle(167@)

:DRUGS1_38923
Car.MarkAsNoLongerNeeded(167@)
Char.MarkAsNoLongerNeeded(50@)
Char.MarkAsNoLongerNeeded(51@)
257@ = 2

:DRUGS1_38945
if 
  250@ == 1
goto_if_false @DRUGS1_39193
if 
  not Car.IsDead(196@)
goto_if_false @DRUGS1_39193
if 
  not Char.IsDead(52@)
goto_if_false @DRUGS1_39002
goto @DRUGS1_39193

:DRUGS1_39002
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS1_39151
if 
  Char.IsInCar(53@, 196@)
goto_if_false @DRUGS1_39144
205@ = Car.GetDriver(196@)
if 
  205@ == -1
goto_if_false @DRUGS1_39144
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(53@, $x, $y, -10.0)
Char.WarpIntoCar(53@, 196@)
Task.DriveBy(53@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
250@ = 2

:DRUGS1_39144
goto @DRUGS1_39193

:DRUGS1_39151
Car.SetForwardSpeed(196@, 18.0)
Car.StopPlayback(196@)
Car.SetRotationVelocity(196@, 3.5, 7.3999, 8.1003)
250@ = 2

:DRUGS1_39193
if 
  250@ == 2
goto_if_false @DRUGS1_39285
if 
  Char.IsDead(53@)
goto_if_false @DRUGS1_39285
Car.StopPlayback(196@)
if 
  not Car.IsDead(196@)
goto_if_false @DRUGS1_39278
Car.SetForwardSpeed(196@, 18.0)
Car.SetRotationVelocity(196@, 3.5, 7.3999, 8.1003)

:DRUGS1_39278
250@ = 3

:DRUGS1_39285
if 
  263@ == 1
goto_if_false @DRUGS1_39372
if 
  Char.IsDead(52@)
goto_if_false @DRUGS1_39372
if or
  Char.IsDead(53@)
  Car.IsDead(196@)
goto_if_false @DRUGS1_39372
Car.StopPlayback(196@)
Blip.Remove(217@)
Car.MarkAsNoLongerNeeded(196@)
Char.MarkAsNoLongerNeeded(52@)
Char.MarkAsNoLongerNeeded(53@)
263@ = 2

:DRUGS1_39372
if 
  249@ == 1
goto_if_false @DRUGS1_39620
if 
  not Car.IsDead(195@)
goto_if_false @DRUGS1_39620
if 
  not Char.IsDead(54@)
goto_if_false @DRUGS1_39429
goto @DRUGS1_39620

:DRUGS1_39429
if 
  not Char.IsDead(55@)
goto_if_false @DRUGS1_39578
if 
  Char.IsInCar(55@, 195@)
goto_if_false @DRUGS1_39571
205@ = Car.GetDriver(195@)
if 
  205@ == -1
goto_if_false @DRUGS1_39571
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(55@, $x, $y, -10.0)
Char.WarpIntoCar(55@, 195@)
Task.DriveBy(55@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
249@ = 2

:DRUGS1_39571
goto @DRUGS1_39620

:DRUGS1_39578
Car.SetForwardSpeed(195@, 18.0)
Car.StopPlayback(195@)
Car.SetRotationVelocity(195@, 3.5, 7.3999, 8.1003)
249@ = 2

:DRUGS1_39620
if 
  249@ == 2
goto_if_false @DRUGS1_39712
if 
  Char.IsDead(55@)
goto_if_false @DRUGS1_39712
Car.StopPlayback(195@)
if 
  not Car.IsDead(195@)
goto_if_false @DRUGS1_39705
Car.SetForwardSpeed(195@, 18.0)
Car.SetRotationVelocity(195@, 3.5, 7.3999, 8.1003)

:DRUGS1_39705
249@ = 3

:DRUGS1_39712
if 
  262@ == 1
goto_if_false @DRUGS1_39799
if 
  Char.IsDead(54@)
goto_if_false @DRUGS1_39799
if or
  Char.IsDead(55@)
  Car.IsDead(195@)
goto_if_false @DRUGS1_39799
Car.StopPlayback(195@)
Blip.Remove(216@)
Car.MarkAsNoLongerNeeded(195@)
Char.MarkAsNoLongerNeeded(54@)
Char.MarkAsNoLongerNeeded(55@)
262@ = 2

:DRUGS1_39799
if 
  251@ == 1
goto_if_false @DRUGS1_40047
if 
  not Car.IsDead(206@)
goto_if_false @DRUGS1_40047
if 
  not Char.IsDead(56@)
goto_if_false @DRUGS1_39856
goto @DRUGS1_40047

:DRUGS1_39856
if 
  not Char.IsDead(57@)
goto_if_false @DRUGS1_40005
if 
  Char.IsInCar(57@, 206@)
goto_if_false @DRUGS1_39998
205@ = Car.GetDriver(206@)
if 
  205@ == -1
goto_if_false @DRUGS1_39998
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(57@, $x, $y, -10.0)
Char.WarpIntoCar(57@, 206@)
Task.DriveBy(57@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
251@ = 2

:DRUGS1_39998
goto @DRUGS1_40047

:DRUGS1_40005
Car.SetForwardSpeed(206@, 18.0)
Car.StopPlayback(206@)
Car.SetRotationVelocity(206@, 3.5, 7.3999, 8.1003)
251@ = 2

:DRUGS1_40047
if 
  251@ == 2
goto_if_false @DRUGS1_40139
if 
  Char.IsDead(57@)
goto_if_false @DRUGS1_40139
Car.StopPlayback(206@)
if 
  not Car.IsDead(206@)
goto_if_false @DRUGS1_40132
Car.SetForwardSpeed(206@, 18.0)
Car.SetRotationVelocity(206@, 3.5, 7.3999, 8.1003)

:DRUGS1_40132
251@ = 3

:DRUGS1_40139
if 
  264@ == 1
goto_if_false @DRUGS1_40226
if 
  Char.IsDead(56@)
goto_if_false @DRUGS1_40226
if or
  Char.IsDead(57@)
  Car.IsDead(206@)
goto_if_false @DRUGS1_40226
Car.StopPlayback(206@)
Blip.Remove(218@)
Car.MarkAsNoLongerNeeded(206@)
Char.MarkAsNoLongerNeeded(56@)
Char.MarkAsNoLongerNeeded(57@)
264@ = 2

:DRUGS1_40226
if 
  268@ == 1
goto_if_false @DRUGS1_40378
if 
  not Car.IsDead(168@)
goto_if_false @DRUGS1_40378
if 
  not Char.IsDead(58@)
goto_if_false @DRUGS1_40283
goto @DRUGS1_40378

:DRUGS1_40283
if 
  not Char.IsDead(59@)
goto_if_false @DRUGS1_40366
if 
  Char.IsInCar(59@, 168@)
goto_if_false @DRUGS1_40359
205@ = Car.GetDriver(168@)
if 
  205@ == -1
goto_if_false @DRUGS1_40359
Task.ShuffleToNextCarSeat(59@, 168@)
268@ = 2

:DRUGS1_40359
goto @DRUGS1_40378

:DRUGS1_40366
Car.StopPlayback(168@)
268@ = 2

:DRUGS1_40378
if 
  268@ == 2
goto_if_false @DRUGS1_40445
if 
  Char.IsDead(59@)
goto_if_false @DRUGS1_40445
Car.StopPlayback(168@)
if 
  not Car.IsDead(168@)
goto_if_false @DRUGS1_40438
Car.SetIdle(168@)

:DRUGS1_40438
268@ = 3

:DRUGS1_40445
if 
  258@ == 1
goto_if_false @DRUGS1_40553
if 
  Char.IsDead(58@)
goto_if_false @DRUGS1_40553
if or
  Char.IsDead(59@)
  Car.IsDead(168@)
goto_if_false @DRUGS1_40553
Car.StopPlayback(168@)
if 
  not Car.IsDead(168@)
goto_if_false @DRUGS1_40526
Car.SetIdle(168@)

:DRUGS1_40526
Blip.Remove(213@)
Car.MarkAsNoLongerNeeded(168@)
Char.MarkAsNoLongerNeeded(58@)
Char.MarkAsNoLongerNeeded(59@)
258@ = 2

:DRUGS1_40553
if 
  272@ > 0
goto_if_false @DRUGS1_42323
if 
  282@ == 0
goto_if_false @DRUGS1_40638
if 
  283@ == 0
goto_if_false @DRUGS1_40638
set_lvar_int_to_constant 239@ = 35689
set_lvar_text_label 240@s = 'SMO4_HA'
gosub @DRUGS1_51600

:DRUGS1_40638
if 
  282@ == 1
goto_if_false @DRUGS1_40705
if 
  283@ == 0
goto_if_false @DRUGS1_40705
set_lvar_int_to_constant 239@ = 35690
set_lvar_text_label 240@s = 'SMO4_HB'
gosub @DRUGS1_51600

:DRUGS1_40705
if 
  282@ == 2
goto_if_false @DRUGS1_40772
if 
  283@ == 0
goto_if_false @DRUGS1_40772
set_lvar_int_to_constant 239@ = 35691
set_lvar_text_label 240@s = 'SMO4_HC'
gosub @DRUGS1_51600

:DRUGS1_40772
if 
  282@ == 3
goto_if_false @DRUGS1_40839
if 
  283@ == 0
goto_if_false @DRUGS1_40839
set_lvar_int_to_constant 239@ = 35692
set_lvar_text_label 240@s = 'SMO4_HD'
gosub @DRUGS1_51600

:DRUGS1_40839
if 
  282@ == 4
goto_if_false @DRUGS1_40906
if 
  283@ == 0
goto_if_false @DRUGS1_40906
set_lvar_int_to_constant 239@ = 35693
set_lvar_text_label 240@s = 'SMO4_HE'
gosub @DRUGS1_51600

:DRUGS1_40906
if 
  282@ == 5
goto_if_false @DRUGS1_40973
if 
  283@ == 0
goto_if_false @DRUGS1_40973
set_lvar_int_to_constant 239@ = 35694
set_lvar_text_label 240@s = 'SMO4_HF'
gosub @DRUGS1_51600

:DRUGS1_40973
if 
  282@ == 6
goto_if_false @DRUGS1_41040
if 
  283@ == 0
goto_if_false @DRUGS1_41040
set_lvar_int_to_constant 239@ = 35695
set_lvar_text_label 240@s = 'SMO4_HH'
gosub @DRUGS1_51600

:DRUGS1_41040
if 
  282@ == 7
goto_if_false @DRUGS1_41107
if 
  283@ == 0
goto_if_false @DRUGS1_41107
set_lvar_int_to_constant 239@ = 35696
set_lvar_text_label 240@s = 'SMO4_HJ'
gosub @DRUGS1_51600

:DRUGS1_41107
if 
  282@ == 8
goto_if_false @DRUGS1_41174
if 
  283@ == 0
goto_if_false @DRUGS1_41174
set_lvar_int_to_constant 239@ = 35661
set_lvar_text_label 240@s = 'SMO4_ER'
gosub @DRUGS1_51600

:DRUGS1_41174
if 
  285@ == 0
goto_if_false @DRUGS1_41237
if 
  Car.Locate2D(161@, 2047.59, -1850.32, 12.0, 12.0, False)
goto_if_false @DRUGS1_41237
285@ = 1

:DRUGS1_41237
if 
  282@ == 9
goto_if_false @DRUGS1_41322
if 
  283@ == 0
goto_if_false @DRUGS1_41322
if 
  285@ == 1
goto_if_false @DRUGS1_41322
set_lvar_int_to_constant 239@ = 35700
set_lvar_text_label 240@s = 'SMO4_HN'
gosub @DRUGS1_51600

:DRUGS1_41322
if 
  285@ == 1
goto_if_false @DRUGS1_41385
if 
  Car.Locate2D(161@, 2121.17, -1853.67, 12.0, 12.0, False)
goto_if_false @DRUGS1_41385
285@ = 2

:DRUGS1_41385
if 
  282@ == 10
goto_if_false @DRUGS1_41470
if 
  283@ == 0
goto_if_false @DRUGS1_41470
if 
  285@ == 2
goto_if_false @DRUGS1_41470
set_lvar_int_to_constant 239@ = 35685
set_lvar_text_label 240@s = 'SMO4_GM'
gosub @DRUGS1_51600

:DRUGS1_41470
if 
  282@ == 11
goto_if_false @DRUGS1_41537
if 
  283@ == 0
goto_if_false @DRUGS1_41537
set_lvar_int_to_constant 239@ = 35688
set_lvar_text_label 240@s = 'SMO4_GP'
gosub @DRUGS1_51600

:DRUGS1_41537
if 
  285@ == 2
goto_if_false @DRUGS1_41600
if 
  Car.Locate2D(161@, 2216.75, -1854.73, 12.0, 12.0, False)
goto_if_false @DRUGS1_41600
285@ = 3

:DRUGS1_41600
if 
  282@ == 12
goto_if_false @DRUGS1_41685
if 
  283@ == 0
goto_if_false @DRUGS1_41685
if 
  285@ == 3
goto_if_false @DRUGS1_41685
set_lvar_int_to_constant 239@ = 35702
set_lvar_text_label 240@s = 'SMO4_HP'
gosub @DRUGS1_51600

:DRUGS1_41685
if 
  282@ == 13
goto_if_false @DRUGS1_41752
if 
  283@ == 0
goto_if_false @DRUGS1_41752
set_lvar_int_to_constant 239@ = 35705
set_lvar_text_label 240@s = 'SMO4_HS'
gosub @DRUGS1_51600

:DRUGS1_41752
if 
  282@ == 14
goto_if_false @DRUGS1_41819
if 
  283@ == 0
goto_if_false @DRUGS1_41819
set_lvar_int_to_constant 239@ = 35706
set_lvar_text_label 240@s = 'SMO4_HT'
gosub @DRUGS1_51600

:DRUGS1_41819
if 
  285@ == 3
goto_if_false @DRUGS1_41882
if 
  Car.Locate2D(161@, 2435.94, -1874.57, 12.0, 12.0, False)
goto_if_false @DRUGS1_41882
285@ = 4

:DRUGS1_41882
if 
  282@ == 15
goto_if_false @DRUGS1_41967
if 
  283@ == 0
goto_if_false @DRUGS1_41967
if 
  285@ == 4
goto_if_false @DRUGS1_41967
set_lvar_int_to_constant 239@ = 35684
set_lvar_text_label 240@s = 'SMO4_GL'
gosub @DRUGS1_51600

:DRUGS1_41967
if 
  282@ == 16
goto_if_false @DRUGS1_42034
if 
  283@ == 0
goto_if_false @DRUGS1_42034
set_lvar_int_to_constant 239@ = 35686
set_lvar_text_label 240@s = 'SMO4_GN'
gosub @DRUGS1_51600

:DRUGS1_42034
if 
  285@ == 4
goto_if_false @DRUGS1_42097
if 
  Car.Locate2D(161@, 2539.11, -1865.31, 12.0, 12.0, False)
goto_if_false @DRUGS1_42097
285@ = 5

:DRUGS1_42097
if 
  282@ == 17
goto_if_false @DRUGS1_42182
if 
  283@ == 0
goto_if_false @DRUGS1_42182
if 
  285@ == 4
goto_if_false @DRUGS1_42182
set_lvar_int_to_constant 239@ = 35709
set_lvar_text_label 240@s = 'SMO4_JA'
gosub @DRUGS1_51600

:DRUGS1_42182
if 
  282@ == 18
goto_if_false @DRUGS1_42249
if 
  283@ == 0
goto_if_false @DRUGS1_42249
set_lvar_int_to_constant 239@ = 35710
set_lvar_text_label 240@s = 'SMO4_JB'
gosub @DRUGS1_51600

:DRUGS1_42249
if 
  282@ == 19
goto_if_false @DRUGS1_42316
if 
  283@ == 0
goto_if_false @DRUGS1_42316
set_lvar_int_to_constant 239@ = 35711
set_lvar_text_label 240@s = 'SMO4_JC'
gosub @DRUGS1_51600

:DRUGS1_42316
gosub @DRUGS1_51642

:DRUGS1_42323
if 
  279@ == 1
goto_if_false @DRUGS1_44336
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_44336
if 
  277@ == 1
goto_if_false @DRUGS1_43285
if 
  Car.Locate2D(161@, 2565.98, -1747.12, 12.0, 12.0, False)
goto_if_false @DRUGS1_43285
Camera.DoFade(0, Fade.Out)
Streaming.RequestCarRecording(282)
Streaming.RequestCarRecording(283)
Streaming.RequestCarRecording(284)
Streaming.RequestCarRecording(285)
Streaming.RequestCarRecording(286)
Streaming.RequestModel(#STORM_DRAIN_COVER)
Streaming.RequestModel(#BARREL4)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Car.SetProofs(161@, True, True, True, True, True)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_42511
Char.SetProofs($mc_strap, True, True, True, True, True)

:DRUGS1_42511
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS1_42549
Car.OpenDoor(188@, CarDoor.LeftFrontDoor)

:DRUGS1_42549
130@ = 2569.144
131@ = -1676.185
132@ = 2.915
133@ = 2569.512
134@ = -1677.113
135@ = 2.8487
Camera.SetFixedPosition(2578.406, -1668.328, 1.3204, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2577.853, -1669.157, 1.4051, SwitchType.JumpCut)
Car.StopPlayback(189@)
Car.Delete(189@)
Char.Delete(42@)
Char.Delete(43@)
Car.StopPlayback(194@)
Car.Delete(194@)
Char.Delete(44@)
Char.Delete(45@)
Car.StopPlayback(165@)
Car.Delete(165@)
Char.Delete(46@)
Char.Delete(47@)
Car.StopPlayback(166@)
Car.Delete(166@)
Char.Delete(48@)
Char.Delete(49@)
Car.StopPlayback(167@)
Car.Delete(167@)
Char.Delete(50@)
Char.Delete(51@)
Car.StopPlayback(196@)
Car.Delete(196@)
Char.Delete(52@)
Char.Delete(53@)
Car.StopPlayback(195@)
Car.Delete(195@)
Char.Delete(54@)
Char.Delete(55@)
Car.StopPlayback(206@)
Car.Delete(206@)
Char.Delete(56@)
Char.Delete(57@)
Car.StopPlayback(168@)
Car.Delete(168@)
Char.Delete(58@)
Char.Delete(59@)
165@ = Car.Create(560, 2575.871, -1676.557, 0.7246)
Car.SetHeading(165@, 85.0235)
Car.SetProofs(165@, True, False, False, False, False)
166@ = Car.Create(560, 2567.348, -1675.912, 0.7398)
Car.SetHeading(166@, 263.7667)
Car.SetProofs(166@, True, False, False, False, False)
37@ = Char.Create(PedType.Mission1, 111, 2578.022, -1674.761, 0.7667)
Char.SetHeading(37@, 162.2371)
Char.SetDecisionMaker(37@, 35@)
Char.GiveWeapon(37@, WeaponType.MicroUzi, 9999)
Task.ShootAtCoord(37@, 2574.87, -1686.48, 2.02, 3000)
38@ = Char.Create(PedType.Mission1, 111, 2574.336, -1674.478, 0.7734)
Char.SetHeading(38@, 162.2371)
Char.SetDecisionMaker(38@, 35@)
Char.GiveWeapon(38@, WeaponType.MicroUzi, 9999)
Task.ShootAtCoord(38@, 2572.21, -1686.56, 3.13, 3000)
Task.ToggleDuck(38@, True)
39@ = Char.Create(PedType.Mission1, 111, 2569.295, -1674.4, 0.7752)
Char.SetHeading(39@, 170.9985)
Char.SetDecisionMaker(39@, 35@)
Char.GiveWeapon(39@, WeaponType.MicroUzi, 9999)
Task.ShootAtCoord(39@, 2566.95, -1686.14, 2.5, 3000)
40@ = Char.Create(PedType.Mission1, 111, 2565.314, -1673.921, 0.7864)
Char.SetHeading(40@, 170.9985)
Char.SetDecisionMaker(40@, 35@)
Char.GiveWeapon(40@, WeaponType.MicroUzi, 9999)
Task.ToggleDuck(40@, True)
Task.ShootAtCoord(40@, 2564.35, -1786.51, 2.18, 3000)
if 
  Car.IsPlaybackGoingOn(161@)
goto_if_false @DRUGS1_43271
Car.StopPlayback(161@)

:DRUGS1_43271
243@ = 3
277@ = 2

:DRUGS1_43285
if 
  277@ == 2
goto_if_false @DRUGS1_43422
if 
  Streaming.HasCarRecordingBeenLoaded(282)
goto_if_false @DRUGS1_43422
if 
  Streaming.HasCarRecordingBeenLoaded(283)
goto_if_false @DRUGS1_43422
if 
  Streaming.HasCarRecordingBeenLoaded(284)
goto_if_false @DRUGS1_43422
if 
  Streaming.HasCarRecordingBeenLoaded(285)
goto_if_false @DRUGS1_43422
if 
  Streaming.HasCarRecordingBeenLoaded(286)
goto_if_false @DRUGS1_43422
if 
  Streaming.HasModelLoaded(#STORM_DRAIN_COVER)
goto_if_false @DRUGS1_43422
if 
  Streaming.HasModelLoaded(#BARREL4)
goto_if_false @DRUGS1_43422
277@ = 3

:DRUGS1_43422
switch_start 277@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DRUGS1_43747 {caseNum1} 3 {caseLabel1} @DRUGS1_43485 {caseNum2} 7 {caseLabel2} @DRUGS1_43580 {caseNum3} 8 {caseLabel3} @DRUGS1_43636 {caseNum4} -1 {caseLabel4} @DRUGS1_43747 {caseNum5} -1 {caseLabel5} @DRUGS1_43747 {caseNum6} -1 {caseLabel6} @DRUGS1_43747 {caseNum7} -1 {caseLabel7} @DRUGS1_43747

:DRUGS1_43485
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_43573
TIMERA = 0
Car.StartPlayback(161@, 282)
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS1_43540
Car.SetHealth(188@, 300)

:DRUGS1_43540
$in_carX = 1.0
277@ = 7
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_43573

:DRUGS1_43573
goto @DRUGS1_43747

:DRUGS1_43580
277@ = 8
Camera.DoFade(250, Fade.In)
TIMERA = 0
TIMERB = 0
151@ = 0
159@ = 0
160@ = 0
goto @DRUGS1_43747

:DRUGS1_43636
gosub @DRUGS1_50496
gosub @DRUGS1_50750
gosub @DRUGS1_51225
if 
  TIMERA > 1800
goto_if_false @DRUGS1_43740
if 
  278@ == 0
goto_if_false @DRUGS1_43701
278@ = 1

:DRUGS1_43701
Camera.SetFixedPosition(130@, 131@, 132@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(133@, 134@, 135@, SwitchType.JumpCut)

:DRUGS1_43740
goto @DRUGS1_43747

:DRUGS1_43747
if 
  278@ == 1
goto_if_false @DRUGS1_43928
if 
  not Char.IsDead(37@)
goto_if_false @DRUGS1_43804
set_lvar_int_to_lvar_int 79@ = 37@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51943

:DRUGS1_43804
if 
  not Char.IsDead(38@)
goto_if_false @DRUGS1_43843
set_lvar_int_to_lvar_int 79@ = 38@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51987

:DRUGS1_43843
if 
  not Char.IsDead(39@)
goto_if_false @DRUGS1_43882
set_lvar_int_to_lvar_int 79@ = 39@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51943

:DRUGS1_43882
if 
  not Char.IsDead(40@)
goto_if_false @DRUGS1_43921
set_lvar_int_to_lvar_int 79@ = 40@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51987

:DRUGS1_43921
278@ = 2

:DRUGS1_43928
if 
  278@ == 2
goto_if_false @DRUGS1_43972
if 
  TIMERB > 3400
goto_if_false @DRUGS1_43972
278@ = 3

:DRUGS1_43972
if 
  278@ == 3
goto_if_false @DRUGS1_44082
if 
  TIMERB > 3480
goto_if_false @DRUGS1_44082
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS1_44082
Car.FreezePosition(188@, False)
Car.Explode(188@)
Fx.AddExplosion(2570.228, -1684.949, 2.2595, ExplosionType.Grenade)
Fx.AddExplosion(2570.228, -1684.949, 2.2595, ExplosionType.Molotov)
278@ = 4

:DRUGS1_44082
if 
  278@ == 4
goto_if_false @DRUGS1_44166
if 
  TIMERB > 3550
goto_if_false @DRUGS1_44166
if 
  not Car.IsDead(165@)
goto_if_false @DRUGS1_44159
Car.Explode(165@)
Fx.AddExplosion(2575.269, -1677.076, 1.0414, ExplosionType.Molotov)

:DRUGS1_44159
278@ = 5

:DRUGS1_44166
if 
  278@ == 5
goto_if_false @DRUGS1_44250
if 
  not Car.IsDead(166@)
goto_if_false @DRUGS1_44250
if 
  TIMERB > 3625
goto_if_false @DRUGS1_44250
Car.Explode(166@)
Fx.AddExplosion(2568.749, -1676.139, 1.209, ExplosionType.Rocket)
278@ = 6

:DRUGS1_44250
if 
  277@ > 7
goto_if_false @DRUGS1_44336
if 
  TIMERB > 4599
goto_if_false @DRUGS1_44336
Task.DriveBy($stattreadstamina_ctr, -1, -1, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 100)
279@ = 2
277@ = 10

:DRUGS1_44336
if 
  279@ == 2
goto_if_false @DRUGS1_50489
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_50489
if 
  280@ == 0
goto_if_false @DRUGS1_45931
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Player.SetHeadingForAttached($statbike_temp, 263.0, 350.0)
Camera.RestoreJumpcut
Car.SetProofs(161@, False, True, True, True, True)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_44462
Char.SetProofs($mc_strap, True, True, True, True, True)

:DRUGS1_44462
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
152@ = Object.CreateNoOffset(#STORM_DRAIN_COVER, 2631.852, -1482.75, 18.109)
281@ = 1
282@ = 0
283@ = 0
285@ = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35713)
Object.SetHealth(152@, 150)
153@ = Object.Create(#BARREL4, 2786.521, -1416.051, 15.31)
154@ = Object.Create(#BARREL4, 2787.548, -1418.323, 15.31)
155@ = Object.Create(#BARREL4, 2824.324, -1418.704, 15.31)
156@ = Object.Create(#BARREL4, 2822.16, -1419.988, 15.31)
157@ = Object.Create(#BARREL4, 2823.05, -1418.747, 15.3)
Streaming.MarkModelAsNoLongerNeeded(443)
168@ = Car.Create(560, 2601.689, -1600.107, 3.1106)
Car.SetHeading(168@, 61.4469)
258@ = 1
169@ = Car.Create(560, 2595.717, -1558.29, 8.4514)
Car.SetHeading(169@, 287.8971)
259@ = 1
48@ = Char.Create(PedType.Mission1, 111, 2601.441, -1597.461, 3.2207)
Char.SetHeading(48@, 135.3988)
Char.SetHealth(48@, 20)
Char.SetDecisionMaker(48@, 35@)
Char.GiveWeapon(48@, WeaponType.MicroUzi, 3000)
231@ = Blip.AddForChar(48@)
Blip.ChangeDisplay(231@, BlipDisplay.BlipOnly)
Blip.ChangeScale(231@, 2)
49@ = Char.Create(PedType.Mission1, 111, 2596.765, -1559.589, 8.277)
Char.SetHeading(49@, 201.1592)
Char.SetHealth(49@, 20)
Char.SetDecisionMaker(49@, 35@)
Char.GiveWeapon(49@, WeaponType.MicroUzi, 3000)
232@ = Blip.AddForChar(49@)
Blip.ChangeDisplay(232@, BlipDisplay.BlipOnly)
Blip.ChangeScale(232@, 2)
50@ = Char.Create(PedType.Mission1, 111, 2596.941, -1555.855, 8.9717)
Char.SetHeading(50@, 201.1592)
Char.SetHealth(50@, 20)
Char.SetDecisionMaker(50@, 35@)
Char.GiveWeapon(50@, WeaponType.MicroUzi, 3000)
233@ = Blip.AddForChar(50@)
Blip.ChangeDisplay(233@, BlipDisplay.BlipOnly)
Blip.ChangeScale(233@, 2)
51@ = Char.Create(PedType.Mission1, 111, 2624.819, -1494.002, 15.4086)
Char.SetHeading(51@, 145.1087)
Char.SetHealth(51@, 10)
Char.SetDecisionMaker(51@, 35@)
Char.GiveWeapon(51@, WeaponType.MicroUzi, 3000)
234@ = Blip.AddForChar(51@)
Blip.ChangeDisplay(234@, BlipDisplay.BlipOnly)
Blip.ChangeScale(234@, 2)
53@ = Char.Create(PedType.Mission1, 111, 2625.413, -1496.587, 15.3563)
Char.SetHeading(53@, 153.8693)
Char.SetHealth(53@, 10)
Char.SetDecisionMaker(53@, 35@)
Char.GiveWeapon(53@, WeaponType.MicroUzi, 3000)
235@ = Blip.AddForChar(53@)
Blip.ChangeDisplay(235@, BlipDisplay.BlipOnly)
Blip.ChangeScale(235@, 2)
189@ = Car.Create(581, 2539.344, -1712.77, 12.4719)
Car.SetHeading(189@, 287.1995)
42@ = Char.CreateInsideCar(189@, PedType.Mission1, 111)
Char.SetDecisionMaker(42@, 35@)
43@ = Char.CreateAsPassenger(189@, PedType.Mission1, 111, 0)
Char.GiveWeapon(43@, WeaponType.MicroUzi, 9999)
Char.SetDecisionMaker(43@, 35@)
214@ = Blip.AddForCar(189@)
Blip.ChangeDisplay(214@, BlipDisplay.BlipOnly)
Blip.ChangeScale(214@, 2)
Char.SetHealth(42@, 10)
Char.SetOnlyDamagedByPlayer(42@, 10)
Char.SetHealth(43@, 10)
Char.SetOnlyDamagedByPlayer(43@, 10)
247@ = 1
260@ = 1
194@ = Car.Create(581, 2533.568, -1714.569, 12.4874)
Car.SetPetrolTankWeakpoint(194@, False)
Car.SetHeading(194@, 287.5564)
44@ = Char.CreateInsideCar(194@, PedType.Mission1, 111)
Char.SetDecisionMaker(44@, 35@)
45@ = Char.CreateAsPassenger(194@, PedType.Mission1, 111, 0)
Char.GiveWeapon(45@, WeaponType.MicroUzi, 9999)
Char.SetDecisionMaker(45@, 35@)
215@ = Blip.AddForCar(194@)
Blip.ChangeDisplay(215@, BlipDisplay.BlipOnly)
Blip.ChangeScale(215@, 2)
Char.SetHealth(44@, 50)
Char.SetHealth(45@, 50)
248@ = 1
261@ = 1
195@ = Car.Create(581, 2529.683, -1715.803, 12.4991)
Car.SetPetrolTankWeakpoint(195@, False)
Car.SetHeading(195@, 287.7722)
46@ = Char.CreateInsideCar(195@, PedType.Mission1, 111)
Char.SetDecisionMaker(46@, 35@)
47@ = Char.CreateAsPassenger(195@, PedType.Mission1, 111, 0)
Char.GiveWeapon(47@, WeaponType.MicroUzi, 9999)
Char.SetDecisionMaker(47@, 35@)
216@ = Blip.AddForCar(195@)
Blip.ChangeDisplay(216@, BlipDisplay.BlipOnly)
Blip.ChangeScale(216@, 2)
Char.SetHealth(46@, 30)
Char.SetOnlyDamagedByPlayer(46@, 10)
Char.SetHealth(47@, 30)
Char.SetOnlyDamagedByPlayer(47@, 10)
249@ = 1
262@ = 1
196@ = Car.Create(581, 2524.542, -1717.461, 12.5175)
Car.SetPetrolTankWeakpoint(196@, False)
Car.SetHeading(196@, 287.8176)
56@ = Char.CreateInsideCar(196@, PedType.Mission1, 111)
Char.SetDecisionMaker(56@, 35@)
57@ = Char.CreateAsPassenger(196@, PedType.Mission1, 111, 0)
Char.GiveWeapon(57@, WeaponType.MicroUzi, 9999)
Char.SetDecisionMaker(57@, 35@)
217@ = Blip.AddForCar(196@)
Blip.ChangeDisplay(217@, BlipDisplay.BlipOnly)
Blip.ChangeScale(217@, 2)
250@ = 1
263@ = 1
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS1_45768
set_lvar_int_to_lvar_int 79@ = 48@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51943

:DRUGS1_45768
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS1_45807
set_lvar_int_to_lvar_int 79@ = 49@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51987

:DRUGS1_45807
if 
  not Char.IsDead(50@)
goto_if_false @DRUGS1_45846
set_lvar_int_to_lvar_int 79@ = 50@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51943

:DRUGS1_45846
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS1_45885
set_lvar_int_to_lvar_int 79@ = 51@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51987

:DRUGS1_45885
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS1_45924
set_lvar_int_to_lvar_int 79@ = 53@
set_lvar_int_to_var_int 80@ = $stattreadstamina_ctr
gosub @DRUGS1_51987

:DRUGS1_45924
280@ = 1

:DRUGS1_45931
if 
  280@ == 1
goto_if_false @DRUGS1_46339
if 
  Car.Locate2D(161@, 2580.74, -1621.47, 15.0, 15.0, False)
goto_if_false @DRUGS1_46339
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_46011
Car.StartPlayback(189@, 283)

:DRUGS1_46011
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_46035
Car.StartPlayback(194@, 284)

:DRUGS1_46035
if 
  not Car.IsDead(195@)
goto_if_false @DRUGS1_46059
Car.StartPlayback(195@, 285)

:DRUGS1_46059
if 
  not Car.IsDead(196@)
goto_if_false @DRUGS1_46083
Car.StartPlayback(196@, 286)

:DRUGS1_46083
if 
  not Char.IsDead(43@)
goto_if_false @DRUGS1_46135
Task.DriveBy(43@, -1, 161@, 0.0, 0.0, 0.0, 200.0, DriveByType.Ai, True, 90)

:DRUGS1_46135
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS1_46188
Task.DriveBy(45@, -1, 161@, 0.0, 0.0, 0.0, 200.0, DriveByType.Ai, True, 289@)

:DRUGS1_46188
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS1_46240
Task.DriveBy(47@, -1, 161@, 0.0, 0.0, 0.0, 200.0, DriveByType.Ai, True, 90)

:DRUGS1_46240
if 
  not Char.IsDead(57@)
goto_if_false @DRUGS1_46292
Task.DriveBy(57@, -1, 161@, 0.0, 0.0, 0.0, 200.0, DriveByType.Ai, True, 90)

:DRUGS1_46292
Car.MarkAsNoLongerNeeded(165@)
Car.MarkAsNoLongerNeeded(188@)
Char.MarkAsNoLongerNeeded(197@)
Car.MarkAsNoLongerNeeded(166@)
Char.MarkAsNoLongerNeeded(37@)
Char.MarkAsNoLongerNeeded(38@)
Char.MarkAsNoLongerNeeded(39@)
Char.MarkAsNoLongerNeeded(40@)
280@ = 2

:DRUGS1_46339
if 
  280@ == 2
goto_if_false @DRUGS1_46480
if 
  Car.Locate2D(161@, 2676.96, -1432.1, 12.0, 12.0, False)
goto_if_false @DRUGS1_46480
Char.Delete(48@)
Char.Delete(49@)
Char.Delete(50@)
Car.Delete(168@)
Car.Delete(169@)
Car.Delete(188@)
Char.MarkAsNoLongerNeeded(51@)
Char.MarkAsNoLongerNeeded(53@)
Blip.Remove(231@)
Blip.Remove(232@)
Blip.Remove(233@)
Blip.Remove(234@)
Blip.Remove(235@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35726)
280@ = 3

:DRUGS1_46480
if 
  280@ == 3
goto_if_false @DRUGS1_46682
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_46682
if 
  Car.Locate2D(161@, 2825.37, -1538.43, 7.0, 7.0, False)
goto_if_false @DRUGS1_46682
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(2823.755, -1537.138, 10.0736, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2823.25, -1537.966, 10.3176, SwitchType.JumpCut)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35727)

:DRUGS1_46629
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_46655
wait 0
goto @DRUGS1_46629

:DRUGS1_46655
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMO4_JS', 5000, 1)
280@ = 4

:DRUGS1_46682
if 
  280@ == 4
goto_if_false @DRUGS1_46940
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_46940
if 
  Car.LocateStopped2D(161@, 2825.37, -1538.43, 5.0, 5.0, False)
goto_if_false @DRUGS1_46940
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_46940
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_46940
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_46940
Text.ClearPrints
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SMO4_KA', 5000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35729)
Char.Delete(43@)
Char.Delete(44@)
Car.Delete(189@)
Blip.Remove(214@)
Char.Delete(45@)
Char.Delete(46@)
Car.Delete(194@)
Blip.Remove(215@)
Char.Delete(47@)
Char.Delete(48@)
Car.Delete(195@)
Blip.Remove(216@)
Char.Delete(56@)
Char.Delete(57@)
Car.Delete(196@)
Blip.Remove(217@)
Task.LookAtChar($mc_strap, $stattreadstamina_ctr, 10000)
TIMERA = 0
280@ = 5

:DRUGS1_46940
if 
  280@ == 5
goto_if_false @DRUGS1_47149
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_47149
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_47149
Camera.SetFixedPosition(2819.666, -1542.108, 10.2063, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2820.401, -1541.444, 10.3396, SwitchType.JumpCut)
Text.ClearPrints
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_47065
Char.StartFacialTalk($mc_strap, 10000)

:DRUGS1_47065
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMO4_KC', 5000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35730)
Char.SetCanBeKnockedOffBike($stattreadstamina_ctr, False)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi, 80)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRUGS1_47142
Task.LeaveAnyCar($stattreadstamina_ctr)

:DRUGS1_47142
280@ = 6

:DRUGS1_47149
if 
  280@ == 6
goto_if_false @DRUGS1_47228
if 
  not Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @DRUGS1_47228
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_47228
Task.LookAtChar($stattreadstamina_ctr, $mc_strap, 15000)
Task.LookAtChar($mc_strap, $stattreadstamina_ctr, 15000)
280@ = 7

:DRUGS1_47228
if 
  280@ == 7
goto_if_false @DRUGS1_47318
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_47318
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_47318
Text.ClearPrints
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SMO4_KD', 5000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35731)
280@ = 8

:DRUGS1_47318
if 
  280@ == 8
goto_if_false @DRUGS1_47437
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_47437
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_47437
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_47387
Char.StopFacialTalk($mc_strap)

:DRUGS1_47387
Text.ClearPrints
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMO4_KE', 5000, 1)
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 35732)
280@ = 9

:DRUGS1_47437
if 
  280@ == 9
goto_if_false @DRUGS1_47534
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_47534
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_47534
Text.ClearPrints
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SMO4_KF', 5000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35733)
TIMERA = 0
280@ = 10

:DRUGS1_47534
if 
  280@ == 10
goto_if_false @DRUGS1_47738
if 
  not Car.IsDead(161@)
goto_if_false @DRUGS1_47738
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_47738
if 
  TIMERA > 3000
goto_if_false @DRUGS1_47738
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_47738
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_47738
Char.StopFacialTalk($stattreadstamina_ctr)
Car.SetStraightLineDistance(161@, 200)
Task.CarDriveToCoord($mc_strap, 161@, 2804.5, -1538.95, 10.38, 6.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMO4_KG', 2500, 1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_47724
Char.StartFacialTalk($mc_strap, 10000)

:DRUGS1_47724
TIMERA = 0
280@ = 11

:DRUGS1_47738
if 
  280@ == 11
goto_if_false @DRUGS1_47857
if 
  TIMERA > 2000
goto_if_false @DRUGS1_47857
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS1_47857
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_47811
Char.StopFacialTalk($mc_strap)

:DRUGS1_47811
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Car.Delete(161@)
Char.Delete($mc_strap)
Hud.ClearCounter($x_hud_pos)
Text.ClearPrints
goto @DRUGS1_52043
280@ = 12

:DRUGS1_47857
if 
  281@ == 1
goto_if_false @DRUGS1_47984
if 
  World.HasObjectOfTypeBeenSmashed(2631.852, -1482.75, 18.109, 10.0, #STORM_DRAIN_COVER)
goto_if_false @DRUGS1_47984
if 
  Object.HasBeenDamagedByWeapon(152@, WeaponType.MicroUzi)
goto_if_false @DRUGS1_47945
Text.ClearPrints
281@ = 2
goto @DRUGS1_47984

:DRUGS1_47945
$x_hud_pos = Car.GetHealth(161@)
$x_hud_pos -= 100
Car.SetHealth(161@, $x_hud_pos)
$x_hud_pos /= 10
Text.ClearPrints
281@ = 3

:DRUGS1_47984
if 
  280@ > 0
goto_if_false @DRUGS1_48651
if 
  4 > 280@
goto_if_false @DRUGS1_48651
if 
  282@ == 0
goto_if_false @DRUGS1_48087
if 
  283@ == 0
goto_if_false @DRUGS1_48087
set_lvar_int_to_constant 239@ = 35713
set_lvar_text_label 240@s = 'SMO4_JE'
gosub @DRUGS1_51600

:DRUGS1_48087
if 
  282@ == 1
goto_if_false @DRUGS1_48154
if 
  283@ == 0
goto_if_false @DRUGS1_48154
set_lvar_int_to_constant 239@ = 35714
set_lvar_text_label 240@s = 'SMO4_JF'
gosub @DRUGS1_51600

:DRUGS1_48154
if 
  282@ == 2
goto_if_false @DRUGS1_48221
if 
  283@ == 0
goto_if_false @DRUGS1_48221
set_lvar_int_to_constant 239@ = 35715
set_lvar_text_label 240@s = 'SMO4_JG'
gosub @DRUGS1_51600

:DRUGS1_48221
if 
  282@ == 3
goto_if_false @DRUGS1_48362
if 
  283@ == 0
goto_if_false @DRUGS1_48362
if 
  281@ == 2
goto_if_false @DRUGS1_48313
set_lvar_int_to_constant 239@ = 35716
set_lvar_text_label 240@s = 'SMO4_JH'
gosub @DRUGS1_51600
goto @DRUGS1_48362

:DRUGS1_48313
if 
  281@ == 3
goto_if_false @DRUGS1_48362
set_lvar_int_to_constant 239@ = 35717
set_lvar_text_label 240@s = 'SMO4_JJ'
gosub @DRUGS1_51600

:DRUGS1_48362
if 
  285@ == 0
goto_if_false @DRUGS1_48425
if 
  Car.Locate2D(161@, 2647.31, -1457.67, 10.0, 10.0, False)
goto_if_false @DRUGS1_48425
285@ = 1

:DRUGS1_48425
if 
  282@ == 4
goto_if_false @DRUGS1_48510
if 
  283@ == 0
goto_if_false @DRUGS1_48510
if 
  285@ == 1
goto_if_false @DRUGS1_48510
set_lvar_int_to_constant 239@ = 35718
set_lvar_text_label 240@s = 'SMO4_JK'
gosub @DRUGS1_51600

:DRUGS1_48510
if 
  282@ == 5
goto_if_false @DRUGS1_48577
if 
  283@ == 0
goto_if_false @DRUGS1_48577
set_lvar_int_to_constant 239@ = 35719
set_lvar_text_label 240@s = 'SMO4_JL'
gosub @DRUGS1_51600

:DRUGS1_48577
if 
  282@ == 6
goto_if_false @DRUGS1_48644
if 
  283@ == 0
goto_if_false @DRUGS1_48644
set_lvar_int_to_constant 239@ = 35723
set_lvar_text_label 240@s = 'SMO4_JP'
gosub @DRUGS1_51600

:DRUGS1_48644
gosub @DRUGS1_51642

:DRUGS1_48651
if 
  258@ == 1
goto_if_false @DRUGS1_48716
if 
  not Car.IsDead(168@)
goto_if_false @DRUGS1_48716
if 
  Car.HasBeenDamagedByChar(168@, $stattreadstamina_ctr)
goto_if_false @DRUGS1_48716
Car.Explode(168@)
258@ = 2

:DRUGS1_48716
if 
  259@ == 1
goto_if_false @DRUGS1_48781
if 
  not Car.IsDead(169@)
goto_if_false @DRUGS1_48781
if 
  Car.HasBeenDamagedByChar(169@, $stattreadstamina_ctr)
goto_if_false @DRUGS1_48781
Car.Explode(169@)
259@ = 2

:DRUGS1_48781
if 
  247@ == 1
goto_if_false @DRUGS1_49029
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_49029
if 
  not Char.IsDead(42@)
goto_if_false @DRUGS1_48838
goto @DRUGS1_49029

:DRUGS1_48838
if 
  not Char.IsDead(43@)
goto_if_false @DRUGS1_48987
if 
  Char.IsInCar(43@, 189@)
goto_if_false @DRUGS1_48980
205@ = Car.GetDriver(189@)
if 
  205@ == -1
goto_if_false @DRUGS1_48980
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(43@, $x, $y, -10.0)
Char.WarpIntoCar(43@, 189@)
Task.DriveBy(43@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
247@ = 2

:DRUGS1_48980
goto @DRUGS1_49029

:DRUGS1_48987
Car.SetForwardSpeed(189@, 18.0)
Car.StopPlayback(189@)
Car.SetRotationVelocity(189@, 3.5, 7.3999, 8.1003)
247@ = 2

:DRUGS1_49029
if 
  247@ == 2
goto_if_false @DRUGS1_49121
if 
  Char.IsDead(43@)
goto_if_false @DRUGS1_49121
Car.StopPlayback(189@)
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS1_49114
Car.SetForwardSpeed(189@, 18.0)
Car.SetRotationVelocity(189@, 3.5, 7.3999, 8.1003)

:DRUGS1_49114
247@ = 3

:DRUGS1_49121
if 
  260@ == 1
goto_if_false @DRUGS1_49208
if 
  Char.IsDead(42@)
goto_if_false @DRUGS1_49208
if or
  Char.IsDead(43@)
  Car.IsDead(189@)
goto_if_false @DRUGS1_49208
Car.StopPlayback(189@)
Blip.Remove(214@)
Car.MarkAsNoLongerNeeded(189@)
Char.MarkAsNoLongerNeeded(42@)
Char.MarkAsNoLongerNeeded(43@)
260@ = 2

:DRUGS1_49208
if 
  248@ == 1
goto_if_false @DRUGS1_49456
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_49456
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS1_49265
goto @DRUGS1_49456

:DRUGS1_49265
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS1_49414
if 
  Char.IsInCar(45@, 194@)
goto_if_false @DRUGS1_49407
205@ = Car.GetDriver(194@)
if 
  205@ == -1
goto_if_false @DRUGS1_49407
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(45@, $x, $y, -10.0)
Char.WarpIntoCar(45@, 194@)
Task.DriveBy(45@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
248@ = 2

:DRUGS1_49407
goto @DRUGS1_49456

:DRUGS1_49414
Car.SetForwardSpeed(194@, 18.0)
Car.StopPlayback(194@)
Car.SetRotationVelocity(194@, 3.5, 7.3999, 8.1003)
248@ = 2

:DRUGS1_49456
if 
  248@ == 2
goto_if_false @DRUGS1_49548
if 
  Char.IsDead(45@)
goto_if_false @DRUGS1_49548
Car.StopPlayback(194@)
if 
  not Car.IsDead(194@)
goto_if_false @DRUGS1_49541
Car.SetForwardSpeed(194@, 18.0)
Car.SetRotationVelocity(194@, 3.5, 7.3999, 8.1003)

:DRUGS1_49541
248@ = 3

:DRUGS1_49548
if 
  261@ == 1
goto_if_false @DRUGS1_49635
if 
  Char.IsDead(44@)
goto_if_false @DRUGS1_49635
if or
  Char.IsDead(45@)
  Car.IsDead(194@)
goto_if_false @DRUGS1_49635
Car.StopPlayback(194@)
Blip.Remove(215@)
Car.MarkAsNoLongerNeeded(194@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
261@ = 2

:DRUGS1_49635
if 
  249@ == 1
goto_if_false @DRUGS1_49883
if 
  not Car.IsDead(195@)
goto_if_false @DRUGS1_49883
if 
  not Char.IsDead(46@)
goto_if_false @DRUGS1_49692
goto @DRUGS1_49883

:DRUGS1_49692
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS1_49841
if 
  Char.IsInCar(47@, 195@)
goto_if_false @DRUGS1_49834
205@ = Car.GetDriver(195@)
if 
  205@ == -1
goto_if_false @DRUGS1_49834
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(47@, $x, $y, -10.0)
Char.WarpIntoCar(47@, 195@)
Task.DriveBy(47@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
249@ = 2

:DRUGS1_49834
goto @DRUGS1_49883

:DRUGS1_49841
Car.SetForwardSpeed(195@, 18.0)
Car.StopPlayback(195@)
Car.SetRotationVelocity(195@, 3.5, 7.3999, 8.1003)
249@ = 2

:DRUGS1_49883
if 
  249@ == 2
goto_if_false @DRUGS1_49975
if 
  Char.IsDead(47@)
goto_if_false @DRUGS1_49975
Car.StopPlayback(195@)
if 
  not Car.IsDead(195@)
goto_if_false @DRUGS1_49968
Car.SetForwardSpeed(195@, 18.0)
Car.SetRotationVelocity(195@, 3.5, 7.3999, 8.1003)

:DRUGS1_49968
249@ = 3

:DRUGS1_49975
if 
  262@ == 1
goto_if_false @DRUGS1_50062
if 
  Char.IsDead(46@)
goto_if_false @DRUGS1_50062
if or
  Char.IsDead(47@)
  Car.IsDead(195@)
goto_if_false @DRUGS1_50062
Car.StopPlayback(195@)
Blip.Remove(216@)
Car.MarkAsNoLongerNeeded(195@)
Char.MarkAsNoLongerNeeded(46@)
Char.MarkAsNoLongerNeeded(47@)
262@ = 2

:DRUGS1_50062
if 
  250@ == 1
goto_if_false @DRUGS1_50310
if 
  not Car.IsDead(196@)
goto_if_false @DRUGS1_50310
if 
  not Char.IsDead(56@)
goto_if_false @DRUGS1_50119
goto @DRUGS1_50310

:DRUGS1_50119
if 
  not Char.IsDead(57@)
goto_if_false @DRUGS1_50268
if 
  Char.IsInCar(57@, 196@)
goto_if_false @DRUGS1_50261
205@ = Car.GetDriver(196@)
if 
  205@ == -1
goto_if_false @DRUGS1_50261
$x, $y, $z = Car.GetCoordinates(161@)
Char.WarpFromCarToCoord(57@, $x, $y, -10.0)
Char.WarpIntoCar(57@, 196@)
Task.DriveBy(57@, -1, 161@, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
250@ = 2

:DRUGS1_50261
goto @DRUGS1_50310

:DRUGS1_50268
Car.SetForwardSpeed(196@, 18.0)
Car.StopPlayback(196@)
Car.SetRotationVelocity(196@, 3.5, 7.3999, 8.1003)
250@ = 2

:DRUGS1_50310
if 
  250@ == 2
goto_if_false @DRUGS1_50402
if 
  Char.IsDead(57@)
goto_if_false @DRUGS1_50402
Car.StopPlayback(196@)
if 
  not Car.IsDead(196@)
goto_if_false @DRUGS1_50395
Car.SetForwardSpeed(196@, 18.0)
Car.SetRotationVelocity(196@, 3.5, 7.3999, 8.1003)

:DRUGS1_50395
250@ = 3

:DRUGS1_50402
if 
  263@ == 1
goto_if_false @DRUGS1_50489
if 
  Char.IsDead(56@)
goto_if_false @DRUGS1_50489
if or
  Char.IsDead(57@)
  Car.IsDead(196@)
goto_if_false @DRUGS1_50489
Car.StopPlayback(196@)
Blip.Remove(217@)
Car.MarkAsNoLongerNeeded(196@)
Char.MarkAsNoLongerNeeded(56@)
Char.MarkAsNoLongerNeeded(57@)
263@ = 2

:DRUGS1_50489
goto @DRUGS1_1348

:DRUGS1_50496
switch_start 151@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DRUGS1_50748 {caseNum1} 0 {caseLabel1} @DRUGS1_50559 {caseNum2} 1 {caseLabel2} @DRUGS1_50590 {caseNum3} 2 {caseLabel3} @DRUGS1_50669 {caseNum4} -1 {caseLabel4} @DRUGS1_50748 {caseNum5} -1 {caseLabel5} @DRUGS1_50748 {caseNum6} -1 {caseLabel6} @DRUGS1_50748 {caseNum7} -1 {caseLabel7} @DRUGS1_50748

:DRUGS1_50559
Clock.SetTimeScale(0.8)
158@ = 0.8
151@ += 1
goto @DRUGS1_50748

:DRUGS1_50590
if 
  TIMERB > 3200
goto_if_false @DRUGS1_50662
sub_timed_val_from_float_lvar 158@ -=@ 0.05
if 
  0.3 > 158@
goto_if_false @DRUGS1_50657
158@ = 0.3
151@ += 1

:DRUGS1_50657
Clock.SetTimeScale(158@)

:DRUGS1_50662
goto @DRUGS1_50748

:DRUGS1_50669
if 
  TIMERB > 4000
goto_if_false @DRUGS1_50741
add_timed_val_to_float_lvar 158@ +=@ 0.05
if 
  158@ > 1.0
goto_if_false @DRUGS1_50736
158@ = 1.0
151@ += 1

:DRUGS1_50736
Clock.SetTimeScale(158@)

:DRUGS1_50741
goto @DRUGS1_50748

:DRUGS1_50748
return 

:DRUGS1_50750
switch_start 159@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DRUGS1_51223 {caseNum1} 0 {caseLabel1} @DRUGS1_50813 {caseNum2} 1 {caseLabel2} @DRUGS1_50983 {caseNum3} 2 {caseLabel3} @DRUGS1_51108 {caseNum4} -1 {caseLabel4} @DRUGS1_51223 {caseNum5} -1 {caseLabel5} @DRUGS1_51223 {caseNum6} -1 {caseLabel6} @DRUGS1_51223 {caseNum7} -1 {caseLabel7} @DRUGS1_51223

:DRUGS1_50813
133@, 134@, 135@ = Car.GetCoordinates(161@)
130@, 131@, 132@ = Car.GetOffsetInWorldCoords(161@, 1.0, -2.5, 0.0)
130@ = 2563.28
131@ = -1737.328
132@ = 1.1412
133@ = 2562.65
134@ = -1734.725
135@ = 1.1991
136@ = 0.001
137@ = 3E-12
139@ = 0.03
140@ = 0.1
148@ = 0.47
141@ = 0.003
159@ += 1

:DRUGS1_50983
if 
  2900 > TIMERB
goto_if_false @DRUGS1_51091
add_timed_float_lvar_to_float_lvar 139@ +=@ 136@
add_timed_float_lvar_to_float_lvar 137@ +=@ 137@
add_timed_float_lvar_to_float_lvar 140@ +=@ 137@
if 
  is_float_lvar_greater_than_float_lvar 140@ > 148@
goto_if_false @DRUGS1_51053
set_lvar_float_to_lvar_float 140@ = 148@

:DRUGS1_51053
add_timed_float_lvar_to_float_lvar 130@ +=@ 139@
add_timed_float_lvar_to_float_lvar 131@ +=@ 140@
add_timed_float_lvar_to_float_lvar 132@ +=@ 141@
goto @DRUGS1_51223
goto @DRUGS1_51108

:DRUGS1_51091
136@ = -0.01
159@ += 1

:DRUGS1_51108
if 
  4000 > TIMERB
goto_if_false @DRUGS1_51216
add_timed_float_lvar_to_float_lvar 139@ +=@ 136@
add_timed_float_lvar_to_float_lvar 137@ +=@ 137@
add_timed_float_lvar_to_float_lvar 140@ +=@ 137@
if 
  is_float_lvar_greater_than_float_lvar 140@ > 148@
goto_if_false @DRUGS1_51178
set_lvar_float_to_lvar_float 140@ = 148@

:DRUGS1_51178
add_timed_float_lvar_to_float_lvar 130@ +=@ 139@
add_timed_float_lvar_to_float_lvar 131@ +=@ 140@
add_timed_float_lvar_to_float_lvar 132@ +=@ 141@
goto @DRUGS1_51223
goto @DRUGS1_51223

:DRUGS1_51216
159@ += 1

:DRUGS1_51223
return 

:DRUGS1_51225
switch_start 160@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DRUGS1_51598 {caseNum1} 0 {caseLabel1} @DRUGS1_51288 {caseNum2} 1 {caseLabel2} @DRUGS1_51365 {caseNum3} 2 {caseLabel3} @DRUGS1_51464 {caseNum4} -1 {caseLabel4} @DRUGS1_51598 {caseNum5} -1 {caseLabel5} @DRUGS1_51598 {caseNum6} -1 {caseLabel6} @DRUGS1_51598 {caseNum7} -1 {caseLabel7} @DRUGS1_51598

:DRUGS1_51288
143@ = 0.007
144@ = 0.012
145@ = 0.045
146@ = 0.06
149@ = 0.32
147@ = 0.005
150@ = 0.1
160@ += 1

:DRUGS1_51365
if 
  2800 > TIMERB
goto_if_false @DRUGS1_51457
add_timed_float_lvar_to_float_lvar 146@ +=@ 143@
if 
  is_float_lvar_greater_than_float_lvar 146@ > 149@
goto_if_false @DRUGS1_51419
set_lvar_float_to_lvar_float 146@ = 149@

:DRUGS1_51419
add_timed_float_lvar_to_float_lvar 133@ +=@ 145@
add_timed_float_lvar_to_float_lvar 134@ +=@ 146@
add_timed_float_lvar_to_float_lvar 135@ +=@ 147@
goto @DRUGS1_51598
goto @DRUGS1_51464

:DRUGS1_51457
160@ += 1

:DRUGS1_51464
if 
  3600 > TIMERB
goto_if_false @DRUGS1_51584
add_timed_float_lvar_to_float_lvar 146@ +=@ 143@
if 
  is_float_lvar_greater_than_float_lvar 146@ > 149@
goto_if_false @DRUGS1_51518
set_lvar_float_to_lvar_float 146@ = 149@

:DRUGS1_51518
add_timed_float_lvar_to_float_lvar 147@ +=@ 144@
if 
  is_float_lvar_greater_than_float_lvar 147@ > 150@
goto_if_false @DRUGS1_51553
set_lvar_float_to_lvar_float 147@ = 150@

:DRUGS1_51553
add_timed_float_lvar_to_float_lvar 133@ +=@ 145@
add_timed_float_lvar_to_float_lvar 134@ +=@ 146@
add_timed_float_lvar_to_float_lvar 135@ +=@ 147@
goto @DRUGS1_51591

:DRUGS1_51584
160@ += 1

:DRUGS1_51591
goto @DRUGS1_51598

:DRUGS1_51598
return 

:DRUGS1_51600
if 
  283@ == 0
goto_if_false @DRUGS1_51640
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 239@)
set_lvar_text_label 237@s = 240@s
283@ = 1

:DRUGS1_51640
return 

:DRUGS1_51642
if 
  283@ == 1
goto_if_false @DRUGS1_51696
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_51696
Text.PrintNow(237@s, 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
283@ = 2

:DRUGS1_51696
if 
  283@ == 2
goto_if_false @DRUGS1_51749
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS1_51749
282@ += 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
283@ = 0

:DRUGS1_51749
return 

:DRUGS1_51751
78@ = Sequence.Open()
Task.GoStraightToCoord(-1, 81@, 82@, 83@, MoveState.Run, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 80@)
Sequence.Close(78@)
Char.PerformSequence(79@, 78@)
Sequence.Clear(78@)
return 

:DRUGS1_51806
65@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 81@, 82@, 83@, 6, 0.5, 1.0, $stattreadstamina_ctr)
Task.GoToCoordWhileShooting(-1, 84@, 85@, 86@, 6, 0.5, 1.0, $stattreadstamina_ctr)
Task.KillCharOnFoot(-1, 80@)
Sequence.Close(65@)
Char.PerformSequence(79@, 65@)
Sequence.Clear(65@)
return 

:DRUGS1_51894
66@ = Sequence.Open()
Task.GoStraightToCoord(-1, 81@, 82@, 83@, MoveState.Run, -1)
Task.KillCharOnFoot(-1, 80@)
Sequence.Close(66@)
Char.PerformSequence(79@, 66@)
Sequence.Clear(66@)
return 

:DRUGS1_51943
67@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, 80@)
Sequence.Close(67@)
Char.PerformSequence(79@, 67@)
Sequence.Clear(67@)
return 

:DRUGS1_51987
68@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 80@)
Sequence.Close(68@)
Char.PerformSequence(79@, 68@)
Sequence.Clear(68@)
return 

:DRUGS1_52025
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:DRUGS1_52043
$flag_la1fin1_mission_counter += 1
Blip.Remove($crash_contact_blip)
Stat.RegisterMissionPassed('SMOKE_4')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSR', 10, 5000, TextStyle.Middle)
Audio.PlayMissionPassedTune(1)
Stat.AwardPlayerMissionRespect(10)
Player.ClearWantedLevel($statbike_temp)
return 

:DRUGS1_52103
$weapon_shop1_blip = 0
Path.SwitchRoadsOn(1694.12, -1604.33, 5.0, 1805.94, -1593.12, 15.0)
Char.RemoveElegantly($mc_strap)
Streaming.UnloadSpecialCharacter(1)
World.DisableAllEntryExits(False)
Blip.Remove(87@)
Blip.Remove(88@)
Blip.Remove(89@)
Blip.Remove(209@)
Blip.Remove(210@)
Blip.Remove(211@)
Blip.Remove(212@)
Blip.Remove(213@)
Blip.Remove(214@)
Blip.Remove(215@)
Blip.Remove(216@)
Blip.Remove(217@)
Blip.Remove(218@)
Blip.Remove(219@)
Blip.Remove(220@)
Blip.Remove(229@)
Blip.Remove(223@)
Blip.Remove(224@)
Blip.Remove(225@)
Blip.Remove(226@)
Blip.Remove(227@)
Blip.Remove(228@)
Blip.Remove(229@)
Blip.Remove(230@)
Blip.Remove(231@)
Blip.Remove(232@)
Blip.Remove(233@)
Blip.Remove(234@)
Blip.Remove(235@)
Blip.Remove(226@)
Blip.Remove(227@)
Blip.Remove(236@)
Player.SetGroupRecruitment($statbike_temp, True)
Game.SetScriptLimitToGangSize(99)
Streaming.MarkModelAsNoLongerNeeded(466)
Streaming.MarkModelAsNoLongerNeeded(91)
Streaming.MarkModelAsNoLongerNeeded(93)
Streaming.MarkModelAsNoLongerNeeded(111)
Streaming.MarkModelAsNoLongerNeeded(112)
Streaming.MarkModelAsNoLongerNeeded(581)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.RemoveAnimation("JST_BUISNESS")
Streaming.MarkModelAsNoLongerNeeded(560)
Streaming.MarkModelAsNoLongerNeeded(#KMB_SKIP)
Streaming.MarkModelAsNoLongerNeeded(516)
Streaming.MarkModelAsNoLongerNeeded(437)
Streaming.MarkModelAsNoLongerNeeded(443)
Streaming.MarkModelAsNoLongerNeeded(#STORM_DRAIN_COVER)
Streaming.MarkModelAsNoLongerNeeded(#BARREL4)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
Game.SetMaxWantedLevel(4)
Hud.ClearCounter($m1_random_int2)
Hud.ClearCounter($x_hud_pos)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DRUGS1_52497
Char.ShutUp($stattreadstamina_ctr, False)
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Char.SetCanBeKnockedOffBike($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:DRUGS1_52497
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS1_52520
Char.SetCanBeKnockedOffBike($mc_strap, False)

:DRUGS1_52520
Weather.Release
Char.DetachFromCar($stattreadstamina_ctr)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Game.SwitchEmergencyServices(True)
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DRUGS1_52905
if 
  not Char.IsDead(42@)
goto_if_false @DRUGS1_52593
Task.KillCharOnFoot(42@, $stattreadstamina_ctr)

:DRUGS1_52593
if 
  not Char.IsDead(43@)
goto_if_false @DRUGS1_52617
Task.KillCharOnFoot(43@, $stattreadstamina_ctr)

:DRUGS1_52617
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS1_52641
Task.KillCharOnFoot(44@, $stattreadstamina_ctr)

:DRUGS1_52641
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS1_52665
Task.KillCharOnFoot(45@, $stattreadstamina_ctr)

:DRUGS1_52665
if 
  not Char.IsDead(46@)
goto_if_false @DRUGS1_52689
Task.KillCharOnFoot(46@, $stattreadstamina_ctr)

:DRUGS1_52689
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS1_52713
Task.KillCharOnFoot(47@, $stattreadstamina_ctr)

:DRUGS1_52713
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS1_52737
Task.KillCharOnFoot(48@, $stattreadstamina_ctr)

:DRUGS1_52737
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS1_52761
Task.KillCharOnFoot(49@, $stattreadstamina_ctr)

:DRUGS1_52761
if 
  not Char.IsDead(50@)
goto_if_false @DRUGS1_52785
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)

:DRUGS1_52785
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS1_52809
Task.KillCharOnFoot(51@, $stattreadstamina_ctr)

:DRUGS1_52809
if 
  not Char.IsDead(52@)
goto_if_false @DRUGS1_52833
Task.KillCharOnFoot(52@, $stattreadstamina_ctr)

:DRUGS1_52833
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS1_52857
Task.KillCharOnFoot(53@, $stattreadstamina_ctr)

:DRUGS1_52857
if 
  not Char.IsDead(54@)
goto_if_false @DRUGS1_52881
Task.KillCharOnFoot(54@, $stattreadstamina_ctr)

:DRUGS1_52881
if 
  not Char.IsDead(55@)
goto_if_false @DRUGS1_52905
Task.KillCharOnFoot(55@, $stattreadstamina_ctr)

:DRUGS1_52905
return 

//-------------Mission 31---------------
// Originally: Life's a Beach

:MUSIC1
script_name 'MUSIC1'
gosub @MUSIC1_47
if 
  has_deatharrest_been_executed 
goto_if_false @MUSIC1_38
gosub @MUSIC1_15556

:MUSIC1_38
gosub @MUSIC1_15629
terminate_this_script 

:MUSIC1_47
Stat.RegisterMissionGiven
Text.LoadMissionText('STRAP1')
$weapon_shop1_blip = 1
wait 0
34@ = 526.84
35@ = -1885.19
36@ = 2.4
set_lvar_float_to_lvar_float 39@ = 34@
39@ += 2.5
set_lvar_float_to_lvar_float 40@ = 35@
40@ += 3.5
41@ = 2.79
set_lvar_float_to_lvar_float 42@ = 34@
42@ -= 7.0
set_lvar_float_to_lvar_float 43@ = 35@
43@ -= 9.8
44@ = 2.06
set_lvar_float_to_lvar_float 48@ = 39@
48@ += 9.0
set_lvar_float_to_lvar_float 49@ = 40@
49@ += 4.0
set_lvar_float_to_lvar_float 50@ = 41@
51@ = 340.0
52@ = 1643.42
53@ = -1524.69
54@ = 12.61
set_lvar_float_to_lvar_float 56@ = 48@
56@ -= 1.08
set_lvar_float_to_lvar_float 57@ = 49@
57@ -= 3.05
set_lvar_float_to_lvar_float 58@ = 56@
58@ -= 0.54
set_lvar_float_to_lvar_float 59@ = 57@
59@ -= 1.53
60@ = 3.14
61@ = 21
set_lvar_float_to_lvar_float 83@ = 39@
83@ += 10.0
set_lvar_float_to_lvar_float 104@ = 40@
104@ -= 6.0
125@ = 300.0
set_lvar_float_to_lvar_float 84@ = 83@
84@ += 3.0
set_lvar_float_to_lvar_float 105@ = 104@
set_lvar_float_to_lvar_float 126@ = 125@
126@ += 120.0
set_lvar_float_to_lvar_float 85@ = 83@
85@ += 3.0
set_lvar_float_to_lvar_float 106@ = 104@
106@ += 3.0
set_lvar_float_to_lvar_float 127@ = 125@
127@ += 240.0
set_lvar_float_to_lvar_float 86@ = 34@
86@ += 17.5
set_lvar_float_to_lvar_float 107@ = 35@
107@ += 3.0
128@ = 270.0
set_lvar_float_to_lvar_float 87@ = 86@
87@ += 1.0
set_lvar_float_to_lvar_float 108@ = 107@
set_lvar_float_to_lvar_float 129@ = 128@
129@ -= 180.0
set_lvar_float_to_lvar_float 88@ = 39@
88@ -= 2.0
set_lvar_float_to_lvar_float 109@ = 40@
109@ -= 8.0
130@ = 315.0
set_lvar_float_to_lvar_float 89@ = 88@
89@ += 2.5
set_lvar_float_to_lvar_float 110@ = 109@
set_lvar_float_to_lvar_float 131@ = 130@
131@ += 90.0
set_lvar_float_to_lvar_float 90@ = 88@
90@ += 2.5
set_lvar_float_to_lvar_float 111@ = 109@
111@ += 2.5
set_lvar_float_to_lvar_float 132@ = 130@
132@ += 180.0
set_lvar_float_to_lvar_float 91@ = 88@
set_lvar_float_to_lvar_float 112@ = 109@
112@ += 2.5
set_lvar_float_to_lvar_float 133@ = 130@
133@ += 270.0
set_lvar_float_to_lvar_float 92@ = 34@
92@ += 12.0
set_lvar_float_to_lvar_float 113@ = 35@
113@ -= 9.5
134@ = 0.0
set_lvar_float_to_lvar_float 93@ = 92@
93@ -= 0.5
set_lvar_float_to_lvar_float 114@ = 113@
114@ += 1.5
set_lvar_float_to_lvar_float 135@ = 134@
135@ += 180.0
set_lvar_float_to_lvar_float 94@ = 42@
set_lvar_float_to_lvar_float 115@ = 43@
115@ += 5.0
136@ = 200.0
set_lvar_float_to_lvar_float 95@ = 42@
95@ += 3.0
set_lvar_float_to_lvar_float 116@ = 43@
116@ += 3.5
137@ = 170.0
set_lvar_float_to_lvar_float 96@ = 42@
96@ += 4.0
set_lvar_float_to_lvar_float 117@ = 43@
138@ = 0.0
set_lvar_float_to_lvar_float 97@ = 42@
97@ += 5.0
set_lvar_float_to_lvar_float 118@ = 43@
118@ += 2.0
139@ = 270.0
set_lvar_float_to_lvar_float 98@ = 39@
98@ += 1.0
set_lvar_float_to_lvar_float 119@ = 40@
119@ += 6.0
140@ = 270.0
set_lvar_float_to_lvar_float 99@ = 98@
99@ += 1.5
set_lvar_float_to_lvar_float 120@ = 119@
120@ += 1.5
set_lvar_float_to_lvar_float 141@ = 140@
141@ -= 90.0
set_lvar_float_to_lvar_float 100@ = 98@
100@ += 3.0
set_lvar_float_to_lvar_float 121@ = 119@
set_lvar_float_to_lvar_float 142@ = 140@
142@ -= 180.0
set_lvar_float_to_lvar_float 101@ = 98@
101@ += 1.5
set_lvar_float_to_lvar_float 122@ = 119@
122@ -= 1.5
set_lvar_float_to_lvar_float 143@ = 140@
143@ -= 270.0
set_lvar_float_to_lvar_float 102@ = 48@
102@ -= 3.0
set_lvar_float_to_lvar_float 123@ = 49@
123@ -= 1.0
144@ = 0.0
set_lvar_float_to_lvar_float 103@ = 102@
set_lvar_float_to_lvar_float 124@ = 123@
124@ += 1.0
set_lvar_float_to_lvar_float 145@ = 144@
145@ += 180.0
162@ = 20.0
set_lvar_float_to_lvar_float 163@ = 162@
163@ *= 4.0
146@ = 7
gosub @MUSIC1_13984
187@ = 0
188@ = 0
190@ = 0
192@ = 0
193@ = 0
194@ = 0
195@ = 0
197@ = 0
198@ = 0
199@ = 0
200@ = 0
201@ = 0
202@ = 0
203@ = 0
204@ = 0
207@ = 0
208@ = 0
205@ = 0
206@ = 0
209@ = 0
267@ = 0
268@ = 0
269@ = 0
231@ = 0
170@ = 0

:MUSIC1_1557
if 
  is_int_lvar_greater_than_int_lvar 61@ > 170@
goto_if_false @MUSIC1_1653
210@(170@,21i) = 0
232@(170@,21i) = 0
if 
  is_int_lvar_greater_than_int_lvar 146@ > 170@
goto_if_false @MUSIC1_1639
253@(170@,7i) = 0
260@(170@,7i) = 0

:MUSIC1_1639
170@ += 1
goto @MUSIC1_1557

:MUSIC1_1653
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:MUSIC1_1668
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC1_1692
wait 0
goto @MUSIC1_1668

:MUSIC1_1692
World.ClearArea(809.5818, -1630.573, 12.5469, 100.0, False)
Streaming.LoadScene(809.5818, -1630.573, 12.5469)
Player.MakeGangDisappear
Cutscene.Load('STRAP1A')

:MUSIC1_1746
if 
  not Cutscene.HasLoaded
goto_if_false @MUSIC1_1770
wait 0
goto @MUSIC1_1746

:MUSIC1_1770
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MUSIC1_1779
if 
  not Cutscene.HasFinished
goto_if_false @MUSIC1_1803
wait 0
goto @MUSIC1_1779

:MUSIC1_1803
Camera.DoFade(0, Fade.Out)

:MUSIC1_1809
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC1_1833
wait 0
goto @MUSIC1_1809

:MUSIC1_1833
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Player.MakeGangReappear
Streaming.RequestModel(412)
Streaming.RequestModel(419)
Streaming.RequestModel(467)
Streaming.RequestModel(413)
Streaming.RequestModel(353)
Streaming.RequestModel(13)
Streaming.RequestModel(93)
Streaming.RequestModel(22)
Streaming.RequestModel(99)
Streaming.RequestModel(211)
Streaming.RequestModel(101)
Streaming.RequestModel(217)
Streaming.RequestModel(19)
Streaming.RequestModel(91)
Streaming.RequestModel(55)
Streaming.RequestVehicleMod(#WHEEL_OR1)
StreamedScript.Stream(35)
Streaming.LoadAllModelsNow

:MUSIC1_1922
if or
  not Streaming.HasModelLoaded(412)
  not Streaming.HasModelLoaded(419)
  not Streaming.HasModelLoaded(467)
  not Streaming.HasModelLoaded(413)
  not Streaming.HasModelLoaded(353)
goto_if_false @MUSIC1_1969
wait 0
goto @MUSIC1_1922

:MUSIC1_1969
if 
  not Streaming.HasModelLoaded(13)
goto_if_false @MUSIC1_1995
wait 0
goto @MUSIC1_1969

:MUSIC1_1995
if or
  not Streaming.HasModelLoaded(93)
  not Streaming.HasModelLoaded(22)
  not Streaming.HasModelLoaded(99)
  not Streaming.HasModelLoaded(211)
  not Streaming.HasModelLoaded(101)
  not Streaming.HasModelLoaded(217)
goto_if_false @MUSIC1_2043
wait 0
goto @MUSIC1_1995

:MUSIC1_2043
if or
  not Streaming.HasModelLoaded(19)
  not Streaming.HasModelLoaded(91)
  not Streaming.HasModelLoaded(55)
goto_if_false @MUSIC1_2077
wait 0
goto @MUSIC1_2043

:MUSIC1_2077
if or
  not Streaming.HasVehicleModLoaded(#WHEEL_OR1)
  not StreamedScript.HasLoaded(35)
goto_if_false @MUSIC1_2108
wait 0
goto @MUSIC1_2077

:MUSIC1_2108
Garage.ChangeType('MUL_LAN', GarageType.ForScriptToOpenAndClose)
Path.SwitchPedRoadsOff(502.15, -1913.39, -5.0, 558.86, -1838.87, 10.0)
Streaming.LoadScene(809.5818, -1630.573, 12.5469)
Weather.ForceNow(WeatherType.SunnyLa)
Char.SetCoordinates($stattreadstamina_ctr, 809.5818, -1630.573, 12.5469)
Char.SetHeading($stattreadstamina_ctr, 176.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.SetFadingColor(0, 0, 0)
wait 500
Camera.DoFade(1500, Fade.In)
Player.SetControl($statbike_temp, True)
271@ = Blip.AddForCoord(58@, 59@, 60@)
Text.PrintNow('MUS1_5', 10000, 0)
if 
  192@ == 1
goto_if_false @MUSIC1_2489
47@ = Car.Create(413, 0.0, 0.0, -100.0)
272@ = Blip.AddForCar(47@)
55@ = Char.Create(PedType.Mission1, 13, 0.0, 0.0, -100.0)
181@ = Sequence.Open()
Task.StandStill(-1, -2)
Sequence.Close(181@)
170@ = 0

:MUSIC1_2361
if 
  is_int_lvar_greater_than_int_lvar 61@ > 170@
goto_if_false @MUSIC1_2422
62@(170@,21i) = Char.Create(PedType.Mission1, 13, 0.0, 0.0, -100.0)
170@ += 1
goto @MUSIC1_2361

:MUSIC1_2422
170@ = 0

:MUSIC1_2429
if 
  is_int_lvar_greater_than_int_lvar 146@ > 170@
goto_if_false @MUSIC1_2489
147@(170@,7i) = Car.Create(412, 0.0, 0.0, -100.0)
170@ += 1
goto @MUSIC1_2429

:MUSIC1_2489
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @MUSIC1_2515
goto @MUSIC1_15574

:MUSIC1_2515
Weather.ForceNow(WeatherType.SunnyLa)
if 
  193@ <> 1
goto_if_false @MUSIC1_2925
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 34@, 35@, 200.0, 200.0, False)
goto_if_false @MUSIC1_2925
World.ClearArea(34@, 35@, 36@, 100.0, False)
gosub @MUSIC1_6819
set_lvar_float_to_lvar_float 274@ = 39@
274@ += 0.15
set_lvar_float_to_lvar_float 275@ = 40@
275@ += 0.15
45@ = Object.CreateNoOffset(#DYN_WOODPILE2, 274@, 275@, 2.6)
set_lvar_float_to_lvar_float 274@ = 42@
274@ += 0.15
set_lvar_float_to_lvar_float 275@ = 43@
275@ += 0.15
46@ = Object.CreateNoOffset(#DYN_WOODPILE2, 274@, 275@, 2.31)
Object.SetScale(45@, 0.5)
Object.SetScale(46@, 0.5)
Object.SetCollisionDamageEffect(45@, False)
Object.SetCollisionDamageEffect(46@, False)
Zone.SwitchAudio('BEACH', True)
wait 1500
gosub @MUSIC1_8085
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC1_2788
Char.FreezePosition(55@, True)

:MUSIC1_2788
if 
  not Car.IsDead(47@)
goto_if_false @MUSIC1_2811
Car.FreezePosition(47@, True)

:MUSIC1_2811
if 
  Object.DoesExist(45@)
goto_if_false @MUSIC1_2834
Object.FreezePosition(45@, True)

:MUSIC1_2834
if 
  Object.DoesExist(46@)
goto_if_false @MUSIC1_2857
Object.FreezePosition(46@, True)

:MUSIC1_2857
37@ = Particle.Create("FIRE", 39@, 40@, 41@, 1)
38@ = Particle.Create("FIRE", 42@, 43@, 44@, 1)
Particle.Play(37@)
Particle.Play(38@)
270@ = 1
193@ = 1

:MUSIC1_2925
if 
  193@ == 1
goto_if_false @MUSIC1_6812
175@, 176@ = Clock.GetTimeOfDay()
if and
  175@ >= 6
  22 > 175@
goto_if_false @MUSIC1_3018
if 
  270@ == 1
goto_if_false @MUSIC1_3011
Particle.Stop(37@)
Particle.Stop(38@)
270@ = 0

:MUSIC1_3011
goto @MUSIC1_3053

:MUSIC1_3018
if 
  270@ == 0
goto_if_false @MUSIC1_3053
Particle.Play(37@)
Particle.Play(38@)
270@ = 1

:MUSIC1_3053
if and
  194@ <> 1
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 34@, 35@, 50.0, 50.0, False)
goto_if_false @MUSIC1_3108
gosub @MUSIC1_14856
194@ = 1

:MUSIC1_3108
if 
  203@ == 0
goto_if_false @MUSIC1_6025
if and
  195@ <> 1
  197@ <> 1
  199@ <> 1
goto_if_false @MUSIC1_3314
if and
  not Char.IsDead(55@)
  Char.LocateOnFoot3D($stattreadstamina_ctr, 58@, 59@, 60@, 1.2, 1.2, 2.0, True)
goto_if_false @MUSIC1_3314
Blip.Remove(271@)
Char.ClearTasks(55@)
Char.SetHeading(55@, 110.0)
gosub @MUSIC1_12841
Text.PrintHelp('TALK_1')
195@ = 1
196@ = 0
Player.SetControl($statbike_temp, False)
Char.SetCoordinates($stattreadstamina_ctr, 58@, 59@, 2.3)
Char.SetHeading($stattreadstamina_ctr, 290.0)
Camera.SetPositionUnfixed(0.031, -2.152)
wait 1000
Player.SetControl($statbike_temp, True)

:MUSIC1_3314
if and
  195@ == 1
  197@ <> 1
goto_if_false @MUSIC1_4324
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC1_4324
if 
  Conversation.IsAtNode(55@, 287@s)
goto_if_false @MUSIC1_4018
Player.SetControl($statbike_temp, False)
if 
  not StreamedScript.HasLoaded(35)
goto_if_false @MUSIC1_3400
StreamedScript.Stream(35)

:MUSIC1_3400
Camera.DoFade(1000, Fade.Out)

:MUSIC1_3407
if or
  Camera.GetFadingStatus
  not StreamedScript.HasLoaded(35)
goto_if_false @MUSIC1_3435
wait 0
goto @MUSIC1_3407

:MUSIC1_3435
Text.ClearHelp
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MUSIC1_3480
Char.WarpFromCarToCoord($stattreadstamina_ctr, 533.81, -1891.64, -100.0)
goto @MUSIC1_3500

:MUSIC1_3480
Char.SetCoordinates($stattreadstamina_ctr, 533.81, -1891.64, -100.0)

:MUSIC1_3500
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
World.ClearArea(533.81, -1891.64, 2.27, 10.0, False)
170@ = 0

:MUSIC1_3538
if 
  is_int_lvar_greater_than_int_lvar 146@ > 170@
goto_if_false @MUSIC1_3668
if 
  not Car.IsDead(147@(170@,7i))
goto_if_false @MUSIC1_3645
if 
  Car.Locate3D(147@(170@,7i), 533.81, -1891.64, 2.27, 10.0, 10.0, 10.0, False)
goto_if_false @MUSIC1_3638
Car.Delete(147@(170@,7i))

:MUSIC1_3638
goto @MUSIC1_3654

:MUSIC1_3645
Car.Delete(147@(170@,7i))

:MUSIC1_3654
170@ += 1
goto @MUSIC1_3538

:MUSIC1_3668
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC1_3774
Conversation.ClearForChar(55@)
Char.ClearTasksImmediately(55@)
Char.SetHeading(55@, 110.0)
182@ = Sequence.Open()
Task.PlayAnim(-1, "DAN_LOOP_A", "DANCING", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(182@, True)
Sequence.Close(182@)
Char.PerformSequence(55@, 182@)
Sequence.Clear(182@)

:MUSIC1_3774
Zone.SwitchAudio('BEACH', False)
if 
  not Char.IsDead(65@)
goto_if_false @MUSIC1_3808
Char.ClearTasksImmediately(65@)

:MUSIC1_3808
if 
  not Char.IsDead(66@)
goto_if_false @MUSIC1_3829
Char.ClearTasksImmediately(66@)

:MUSIC1_3829
Text.ClearPrints
Text.PrintNow('MUS1_4', 10000, 0)
170@ = 0

:MUSIC1_3854
if 
  5 > 170@
goto_if_false @MUSIC1_3970
$5319(170@,5f) = 531.18
$5324(170@,5f) = -1893.8
$5329(170@,5f) = 3.45
$5334(170@,5f) = 533.94
$5339(170@,5f) = -1891.82
$5344(170@,5f) = 3.44
170@ += 1
goto @MUSIC1_3854

:MUSIC1_3970
set_global_var_bit_const $txtCURR_DANCE_MOVE {n} 31
StreamedScript.StartNew(35, 533.81, -1891.64, -100.0, 51@, 1, -1)
197@ = 1
goto @MUSIC1_4324

:MUSIC1_4018
if 
  196@ <> 1
goto_if_false @MUSIC1_4215
if or
  Conversation.IsAtNode(55@, 285@s)
  Conversation.IsAtNode(55@, 289@s)
goto_if_false @MUSIC1_4077
196@ = 1
goto @MUSIC1_4208

:MUSIC1_4077
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 55@, 5.0, 5.0, False)
goto_if_false @MUSIC1_4122
TIMERB = 0
goto @MUSIC1_4208

:MUSIC1_4122
if 
  TIMERB > 3000
goto_if_false @MUSIC1_4208
Conversation.ClearForChar(55@)
Text.ClearHelp
Char.SetCoordinates(55@, 56@, 57@, -100.0)
Char.SetHeading(55@, 51@)
Char.PerformSequence(55@, 181@)
195@ = 0
196@ = 0
271@ = Blip.AddForCoord(58@, 59@, 60@)

:MUSIC1_4208
goto @MUSIC1_4324

:MUSIC1_4215
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, 58@, 59@, 60@, 1.2, 1.2, 2.0, False)
goto_if_false @MUSIC1_4324
196@ = 0
Conversation.ClearForChar(55@)
Text.ClearHelp
Char.SetCoordinates(55@, 56@, 57@, -100.0)
Char.SetHeading(55@, 51@)
Char.PerformSequence(55@, 181@)
195@ = 0
271@ = Blip.AddForCoord(58@, 59@, 60@)

:MUSIC1_4324
if and
  197@ == 1
  199@ <> 1
goto_if_false @MUSIC1_4626
if and
  not is_global_var_bit_set_const $txtCURR_DANCE_MOVE {n} 31
  198@ <> 1
goto_if_false @MUSIC1_4510
Player.SetControl($statbike_temp, True)
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC1_4402
Char.ClearTasksImmediately(55@)

:MUSIC1_4402
Text.ClearPrints
if 
  $5300 >= 2500
goto_if_false @MUSIC1_4482
Zone.SwitchAudio('BEACH', True)
gosub @MUSIC1_13655
Text.PrintHelp('TALK_1')
199@ = 1
200@ = 1
196@ = 0
goto @MUSIC1_4510

:MUSIC1_4482
191@ = 1
gosub @MUSIC1_15131
TIMERA = 0
198@ = 1

:MUSIC1_4510
if 
  198@ == 1
goto_if_false @MUSIC1_4626
if and
  is_int_lvar_greater_than_int_lvar 189@ > 188@
  191@ == 1
goto_if_false @MUSIC1_4584
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC1_4577
gosub @MUSIC1_15302

:MUSIC1_4577
goto @MUSIC1_4626

:MUSIC1_4584
if 
  TIMERA > 1000
goto_if_false @MUSIC1_4626
Text.PrintNow('MUS1_8', 5000, 0)
goto @MUSIC1_15556

:MUSIC1_4626
if and
  199@ == 1
  201@ <> 1
goto_if_false @MUSIC1_5227
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC1_5227
if 
  200@ <> 1
goto_if_false @MUSIC1_4786
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 58@, 59@, 60@, 1.2, 1.2, 2.0, True)
goto_if_false @MUSIC1_4779
Blip.Remove(271@)
Char.ClearTasks(55@)
Char.SetHeading(55@, 110.0)
gosub @MUSIC1_13655
Text.PrintHelp('TALK_1')
200@ = 1
196@ = 0

:MUSIC1_4779
goto @MUSIC1_5227

:MUSIC1_4786
if or
  Conversation.IsAtNode(55@, 'VYES1')
  Conversation.IsAtNode(55@, 'VYES2')
goto_if_false @MUSIC1_4923
if 
  not Car.IsDead(47@)
goto_if_false @MUSIC1_4916
Conversation.ClearForChar(55@)
Text.ClearHelp
Char.SetNextDesiredMoveState(MoveState.Walk)
Char.FreezePosition(55@, False)
Task.EnterCarAsPassenger(55@, 47@, -1, 0)
272@ = Blip.AddForCar(47@)
Blip.SetAsFriendly(272@, True)
200@ = 0
201@ = 1
Text.Print('MUS1_7', 10000, 0)

:MUSIC1_4916
goto @MUSIC1_5227

:MUSIC1_4923
if 
  196@ <> 1
goto_if_false @MUSIC1_5118
if 
  Conversation.IsAtNode(55@, 'VLATE')
goto_if_false @MUSIC1_4980
196@ = 1
goto @MUSIC1_5111

:MUSIC1_4980
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 55@, 5.0, 5.0, False)
goto_if_false @MUSIC1_5025
TIMERB = 0
goto @MUSIC1_5111

:MUSIC1_5025
if 
  TIMERB > 3000
goto_if_false @MUSIC1_5111
Conversation.ClearForChar(55@)
Text.ClearHelp
Char.SetCoordinates(55@, 56@, 57@, -100.0)
Char.SetHeading(55@, 51@)
Char.PerformSequence(55@, 181@)
200@ = 0
196@ = 0
271@ = Blip.AddForCoord(58@, 59@, 60@)

:MUSIC1_5111
goto @MUSIC1_5227

:MUSIC1_5118
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, 58@, 59@, 60@, 1.2, 1.2, 2.0, False)
goto_if_false @MUSIC1_5227
196@ = 0
Conversation.ClearForChar(55@)
Text.ClearHelp
Char.SetCoordinates(55@, 56@, 57@, -100.0)
Char.SetHeading(55@, 51@)
Char.PerformSequence(55@, 181@)
200@ = 0
271@ = Blip.AddForCoord(58@, 59@, 60@)

:MUSIC1_5227
if and
  201@ == 1
  202@ <> 1
  not Char.IsDead(55@)
  not Car.IsDead(47@)
goto_if_false @MUSIC1_5330
if 
  Char.IsInCar(55@, 47@)
goto_if_false @MUSIC1_5330
Car.LockDoors(47@, CarLock.Unlocked)
Car.ControlDoor(47@, CarDoor.LeftRearDoor, 1, -1.0)
Car.ControlDoor(47@, CarDoor.RightRearDoor, 1, -1.0)
Car.SetCanBeVisiblyDamaged(47@, True)
202@ = 1

:MUSIC1_5330
if 
  268@ <> 1
goto_if_false @MUSIC1_5770
if and
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 34@, 35@, 162@, 162@, False)
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @MUSIC1_5397
268@ = 1
goto @MUSIC1_5571

:MUSIC1_5397
if 
  Char.IsDead(55@)
goto_if_false @MUSIC1_5427
268@ = 1
goto @MUSIC1_5460

:MUSIC1_5427
if or
  Char.HasBeenDamagedByChar(55@, $stattreadstamina_ctr)
  Char.IsRespondingToEvent(55@, 31)
goto_if_false @MUSIC1_5460
268@ = 1

:MUSIC1_5460
170@ = 0

:MUSIC1_5467
if and
  is_int_lvar_greater_than_int_lvar 61@ > 170@
  268@ <> 1
goto_if_false @MUSIC1_5571
if 
  Char.IsDead(62@(170@,21i))
goto_if_false @MUSIC1_5527
268@ = 1
goto @MUSIC1_5557

:MUSIC1_5527
if 
  Char.HasBeenDamagedByChar(62@(170@,21i), $stattreadstamina_ctr)
goto_if_false @MUSIC1_5557
268@ = 1

:MUSIC1_5557
170@ += 1
goto @MUSIC1_5467

:MUSIC1_5571
if 
  268@ == 1
goto_if_false @MUSIC1_5738
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
if 
  202@ <> 1
goto_if_false @MUSIC1_5634
gosub @MUSIC1_10052
gosub @MUSIC1_10452
goto @MUSIC1_5718

:MUSIC1_5634
if 
  209@ <> 1
goto_if_false @MUSIC1_5666
gosub @MUSIC1_10726
209@ = 1

:MUSIC1_5666
if and
  not Char.IsDead(55@)
  231@ <> 1
goto_if_false @MUSIC1_5718
Char.SetCurrentWeapon(55@, WeaponType.Mp5)
Task.KillCharOnFoot(55@, $stattreadstamina_ctr)
231@ = 1
Char.SetKeepTask(55@, True)

:MUSIC1_5718
Zone.SwitchAudio('BEACH', False)
goto @MUSIC1_5770

:MUSIC1_5738
if or
  197@ <> 1
  199@ == 1
goto_if_false @MUSIC1_5770
gosub @MUSIC1_9958

:MUSIC1_5770
if and
  202@ == 1
  268@ == 1
goto_if_false @MUSIC1_5827
if and
  209@ == 1
  269@ <> 1
goto_if_false @MUSIC1_5827
gosub @MUSIC1_11354

:MUSIC1_5827
if and
  207@ <> 1
  not Car.IsDead(47@)
goto_if_false @MUSIC1_5927
if 
  Char.IsInCar($stattreadstamina_ctr, 47@)
goto_if_false @MUSIC1_5927
Blip.Remove(272@)
207@ = 1
208@ = 1
Car.FreezePosition(47@, False)
Camera.SetBehindPlayer
Text.PrintNow('MUS1_19', 7000, 0)
273@ = Blip.AddForCoord(52@, 53@, 54@)

:MUSIC1_5927
if 
  207@ == 1
goto_if_false @MUSIC1_6025
gosub @MUSIC1_14690
if 
  not Car.IsDead(47@)
goto_if_false @MUSIC1_6025
if 
  not Car.Locate2D(47@, 34@, 35@, 162@, 162@, False)
goto_if_false @MUSIC1_6025
Car.SetOnlyDamagedByPlayer(47@, False)
203@ = 1
Zone.SwitchAudio('BEACH', False)

:MUSIC1_6025
if 
  203@ == 1
goto_if_false @MUSIC1_6555
if and
  204@ <> 1
  not Char.IsDead(55@)
  not Car.IsDead(47@)
goto_if_false @MUSIC1_6115
177@ = Sequence.Open()
Task.LeaveCarImmediately(-1, 47@)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(177@)
Char.PerformSequence(55@, 177@)
Sequence.Clear(177@)
204@ = 1

:MUSIC1_6115
if and
  204@ == 1
  not Char.IsDead(55@)
  205@ <> 1
goto_if_false @MUSIC1_6228
178@ = Char.GetScriptTaskStatus(55@, 1560)
if 
  not is_int_lvar_equal_to_constant 178@ == 7
goto_if_false @MUSIC1_6228
179@ = Char.GetSequenceProgress(55@)
if 
  179@ >= 0
goto_if_false @MUSIC1_6228
191@ = 0
gosub @MUSIC1_15131
Char.SetCurrentWeapon(55@, WeaponType.Mp5)
205@ = 1

:MUSIC1_6228
if and
  205@ == 1
  206@ <> 1
goto_if_false @MUSIC1_6336
if and
  is_int_lvar_greater_than_int_lvar 189@ > 188@
  191@ == 0
goto_if_false @MUSIC1_6329
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC1_6309
gosub @MUSIC1_15302
goto @MUSIC1_6322

:MUSIC1_6309
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
206@ = 1

:MUSIC1_6322
goto @MUSIC1_6336

:MUSIC1_6329
206@ = 1

:MUSIC1_6336
if 
  209@ <> 1
goto_if_false @MUSIC1_6368
gosub @MUSIC1_10726
209@ = 1

:MUSIC1_6368
if 
  269@ <> 1
goto_if_false @MUSIC1_6393
gosub @MUSIC1_11354

:MUSIC1_6393
if and
  209@ == 1
  267@ <> 1
goto_if_false @MUSIC1_6462
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 34@, 35@, 163@, 163@, False)
goto_if_false @MUSIC1_6462
gosub @MUSIC1_10228
267@ = 1

:MUSIC1_6462
if and
  209@ == 1
  not Car.IsDead(47@)
  269@ <> 1
goto_if_false @MUSIC1_6548
if and
  Char.IsInCar($stattreadstamina_ctr, 47@)
  Char.LocateInCar2D($stattreadstamina_ctr, 52@, 53@, 50.0, 50.0, False)
goto_if_false @MUSIC1_6548
gosub @MUSIC1_11771
269@ = 1

:MUSIC1_6548
gosub @MUSIC1_14690

:MUSIC1_6555
if 
  202@ <> 1
goto_if_false @MUSIC1_6664
if 
  Char.IsDead(55@)
goto_if_false @MUSIC1_6621
Text.ClearPrints
Text.PrintNow('MUS1_18', 5000, 0)
goto @MUSIC1_15556
goto @MUSIC1_6664

:MUSIC1_6621
if 
  268@ == 1
goto_if_false @MUSIC1_6664
Text.ClearPrints
Text.PrintNow('MUS1_21', 5000, 0)
goto @MUSIC1_15556

:MUSIC1_6664
if 
  Car.IsDead(47@)
goto_if_false @MUSIC1_6712
Text.ClearPrints
Text.PrintNow('MUS1_20', 5000, 0)
goto @MUSIC1_15556
goto @MUSIC1_6812

:MUSIC1_6712
if 
  207@ == 1
goto_if_false @MUSIC1_6812
if 
  Char.IsInCar($stattreadstamina_ctr, 47@)
goto_if_false @MUSIC1_6812
if 
  Car.Locate3D(47@, 52@, 53@, 54@, 4.0, 4.0, 2.0, True)
goto_if_false @MUSIC1_6812
Player.SetControl($statbike_temp, False)
gosub @MUSIC1_11889
goto @MUSIC1_15574

:MUSIC1_6812
goto @MUSIC1_2489

:MUSIC1_6819
170@ = 0
164@ = -30.0

:MUSIC1_6836
if 
  is_int_lvar_greater_than_int_lvar 146@ > 170@
goto_if_false @MUSIC1_7108
165@ = Math.Cos(164@)
166@ = Math.Sin(164@)
mult_float_lvar_by_float_lvar 165@ *= 162@
mult_float_lvar_by_float_lvar 166@ *= 162@
add_float_lvar_to_float_lvar 165@ += 34@
add_float_lvar_to_float_lvar 166@ += 35@
if or
  170@ == 0
  170@ == 3
  170@ == 6
goto_if_false @MUSIC1_6965
147@(170@,7i) = Car.Create(412, 165@, 166@, -100.0)
goto @MUSIC1_7043

:MUSIC1_6965
if or
  170@ == 1
  170@ == 7
goto_if_false @MUSIC1_7020
147@(170@,7i) = Car.Create(467, 165@, 166@, -100.0)
goto @MUSIC1_7043

:MUSIC1_7020
147@(170@,7i) = Car.Create(419, 165@, 166@, -100.0)

:MUSIC1_7043
168@ = 90.0
add_float_lvar_to_float_lvar 168@ += 164@
Car.SetHeading(147@(170@,7i), 168@)
Car.LockDoors(147@(170@,7i), CarLock.Locked)
164@ += 37.0
170@ += 1
goto @MUSIC1_6836

:MUSIC1_7108
Car.SetModelComponents(413, 0, 0)
47@ = Car.Create(413, 48@, 49@, 50@)
276@ = Car.AddMod(47@, #WHEEL_OR1)
Car.SetHeading(47@, 51@)
Car.SetIdle(47@)
Car.SetOnlyDamagedByPlayer(47@, True)
Car.SetHealth(47@, 5000)
Car.ChangeColor(47@, 4, 4)
Car.SetCanBurstTires(47@, False)
Car.SetTraction(47@, 2.0)
Car.OpenDoor(47@, CarDoor.LeftRearDoor)
Car.OpenDoor(47@, CarDoor.RightRearDoor)
Car.LockDoors(47@, CarLock.LockoutPlayerOnly)
Car.SetCanBeVisiblyDamaged(47@, False)
wait 1000
55@ = Char.Create(PedType.Mission1, 13, 56@, 57@, -100.0)
Char.SetHeading(55@, 51@)
Char.SetOnlyDamagedByPlayer(55@, True)
Char.GiveWeapon(55@, WeaponType.Mp5, 99999)
Char.SetCurrentWeapon(55@, WeaponType.Unarmed)
231@ = 0
180@ = DecisionMakerChar.Copy(65542)
DecisionMakerChar.AddEventResponse(180@, 31, 413, 100.0, 100.0, 100.0, 100.0, False, True)
Char.SetDecisionMaker(55@, 180@)
170@ = 0

:MUSIC1_7352
if 
  is_int_lvar_greater_than_int_lvar 61@ > 170@
goto_if_false @MUSIC1_8025
if or
  170@ == 0
  170@ == 4
  170@ == 7
  170@ == 11
goto_if_false @MUSIC1_7449
62@(170@,21i) = Char.Create(PedType.Mission1, 22, 83@(170@,21f), 104@(170@,21f), -100.0)
goto @MUSIC1_7945

:MUSIC1_7449
if or
  170@ == 6
  170@ == 3
  170@ == 2
goto_if_false @MUSIC1_7520
62@(170@,21i) = Char.Create(PedType.Mission1, 101, 83@(170@,21f), 104@(170@,21f), -100.0)
goto @MUSIC1_7945

:MUSIC1_7520
if or
  170@ == 9
  170@ == 14
  170@ == 17
  170@ == 19
goto_if_false @MUSIC1_7599
62@(170@,21i) = Char.Create(PedType.Mission1, 211, 83@(170@,21f), 104@(170@,21f), -100.0)
goto @MUSIC1_7945

:MUSIC1_7599
if 
  170@ == 12
goto_if_false @MUSIC1_7656
62@(170@,21i) = Char.Create(PedType.Mission1, 99, 83@(170@,21f), 104@(170@,21f), -100.0)
goto @MUSIC1_7945

:MUSIC1_7656
if or
  170@ == 16
  170@ == 10
goto_if_false @MUSIC1_7720
62@(170@,21i) = Char.Create(PedType.Mission1, 93, 83@(170@,21f), 104@(170@,21f), -100.0)
goto @MUSIC1_7945

:MUSIC1_7720
if or
  170@ == 5
  170@ == 15
goto_if_false @MUSIC1_7785
62@(170@,21i) = Char.Create(PedType.Mission1, 217, 83@(170@,21f), 104@(170@,21f), -100.0)
goto @MUSIC1_7945

:MUSIC1_7785
if or
  170@ == 8
  170@ == 13
goto_if_false @MUSIC1_7849
62@(170@,21i) = Char.Create(PedType.Mission1, 19, 83@(170@,21f), 104@(170@,21f), -100.0)
goto @MUSIC1_7945

:MUSIC1_7849
if or
  170@ == 1
  170@ == 20
goto_if_false @MUSIC1_7913
62@(170@,21i) = Char.Create(PedType.Mission1, 55, 83@(170@,21f), 104@(170@,21f), -100.0)
goto @MUSIC1_7945

:MUSIC1_7913
62@(170@,21i) = Char.Create(PedType.Mission1, 91, 83@(170@,21f), 104@(170@,21f), -100.0)

:MUSIC1_7945
Char.SetHeading(62@(170@,21i), 125@(170@,21f))
Char.GiveWeapon(62@(170@,21i), WeaponType.Mp5, 99999)
Char.SetCurrentWeapon(62@(170@,21i), WeaponType.Unarmed)
Char.SetDecisionMaker(62@(170@,21i), 180@)
210@(170@,21i) = 0
170@ += 1
goto @MUSIC1_7352

:MUSIC1_8025
Streaming.MarkModelAsNoLongerNeeded(412)
Streaming.MarkModelAsNoLongerNeeded(419)
Streaming.MarkModelAsNoLongerNeeded(467)
Streaming.MarkModelAsNoLongerNeeded(93)
Streaming.MarkModelAsNoLongerNeeded(22)
Streaming.MarkModelAsNoLongerNeeded(99)
Streaming.MarkModelAsNoLongerNeeded(211)
Streaming.MarkModelAsNoLongerNeeded(101)
Streaming.MarkModelAsNoLongerNeeded(217)
Streaming.MarkModelAsNoLongerNeeded(19)
Streaming.MarkModelAsNoLongerNeeded(91)
Streaming.MarkModelAsNoLongerNeeded(55)
Streaming.MarkVehicleModAsNoLongerNeeded(#WHEEL_OR1)
return 

:MUSIC1_8085
Streaming.RequestAnimation("BAR")
Streaming.RequestAnimation("DANCING")
Streaming.RequestAnimation("BEACH")
Streaming.RequestAnimation("SCRATCHING")

:MUSIC1_8126
if or
  not Streaming.HasAnimationLoaded("BAR")
  not Streaming.HasAnimationLoaded("DANCING")
  not Streaming.HasAnimationLoaded("BEACH")
  not Streaming.HasAnimationLoaded("SCRATCHING")
goto_if_false @MUSIC1_8189
wait 0
goto @MUSIC1_8126

:MUSIC1_8189
181@ = Sequence.Open()
Task.PlayAnim(-1, "SCLNG_R", "SCRATCHING", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(181@, True)
Sequence.Close(181@)
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC1_8270
Char.PerformSequence(55@, 181@)

:MUSIC1_8270
if 
  not Char.IsDead(62@)
goto_if_false @MUSIC1_8354
183@ = Sequence.Open()
Task.PlayAnim(-1, "DNCE_M_A", "DANCING", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(62@, 183@)
Sequence.Clear(183@)

:MUSIC1_8354
if 
  not Char.IsDead(63@)
goto_if_false @MUSIC1_8438
183@ = Sequence.Open()
Task.PlayAnim(-1, "DNCE_M_B", "DANCING", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(63@, 183@)
Sequence.Clear(183@)

:MUSIC1_8438
if 
  not Char.IsDead(64@)
goto_if_false @MUSIC1_8522
183@ = Sequence.Open()
Task.PlayAnim(-1, "DNCE_M_D", "DANCING", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(64@, 183@)
Sequence.Clear(183@)

:MUSIC1_8522
if and
  not Char.IsDead(65@)
  not Char.IsDead(66@)
goto_if_false @MUSIC1_8567
Task.ChatWithChar(65@, 66@, True, 1)
Task.ChatWithChar(66@, 65@, False, 1)

:MUSIC1_8567
if 
  not Char.IsDead(67@)
goto_if_false @MUSIC1_8653
183@ = Sequence.Open()
Task.PlayAnim(-1, "LAY_BAC_LOOP", "BEACH", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(67@, 183@)
Sequence.Clear(183@)

:MUSIC1_8653
if 
  not Char.IsDead(68@)
goto_if_false @MUSIC1_8741
183@ = Sequence.Open()
Task.PlayAnim(-1, "PARKSIT_M_LOOP", "BEACH", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(68@, 183@)
Sequence.Clear(183@)

:MUSIC1_8741
if 
  not Char.IsDead(69@)
goto_if_false @MUSIC1_8827
183@ = Sequence.Open()
Task.PlayAnim(-1, "LAY_BAC_LOOP", "BEACH", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(69@, 183@)
Sequence.Clear(183@)

:MUSIC1_8827
if 
  not Char.IsDead(70@)
goto_if_false @MUSIC1_8915
183@ = Sequence.Open()
Task.PlayAnim(-1, "PARKSIT_M_LOOP", "BEACH", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(70@, 183@)
Sequence.Clear(183@)

:MUSIC1_8915
if 
  not Char.IsDead(71@)
goto_if_false @MUSIC1_9003
183@ = Sequence.Open()
Task.PlayAnim(-1, "PARKSIT_W_LOOP", "BEACH", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(71@, 183@)
Sequence.Clear(183@)

:MUSIC1_9003
if 
  not Char.IsDead(72@)
goto_if_false @MUSIC1_9091
183@ = Sequence.Open()
Task.PlayAnim(-1, "PARKSIT_M_LOOP", "BEACH", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(72@, 183@)
Sequence.Clear(183@)

:MUSIC1_9091
if 
  not Char.IsDead(73@)
goto_if_false @MUSIC1_9179
183@ = Sequence.Open()
Task.PlayAnim(-1, "PARKSIT_M_LOOP", "BEACH", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(73@, 183@)
Sequence.Clear(183@)

:MUSIC1_9179
if 
  not Char.IsDead(74@)
goto_if_false @MUSIC1_9265
183@ = Sequence.Open()
Task.PlayAnim(-1, "LAY_BAC_LOOP", "BEACH", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(74@, 183@)
Sequence.Clear(183@)

:MUSIC1_9265
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC1_9345
183@ = Sequence.Open()
Task.PlayAnim(-1, "BATHER", "BEACH", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(75@, 183@)
Sequence.Clear(183@)

:MUSIC1_9345
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC1_9434
183@ = Sequence.Open()
Task.PlayAnim(-1, "SITNWAIT_LOOP_W", "BEACH", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(76@, 183@)
Sequence.Clear(183@)

:MUSIC1_9434
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC1_9518
183@ = Sequence.Open()
Task.PlayAnim(-1, "DNCE_M_B", "DANCING", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(77@, 183@)
Sequence.Clear(183@)

:MUSIC1_9518
if 
  not Char.IsDead(78@)
goto_if_false @MUSIC1_9602
183@ = Sequence.Open()
Task.PlayAnim(-1, "DNCE_M_C", "DANCING", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(78@, 183@)
Sequence.Clear(183@)

:MUSIC1_9602
if 
  not Char.IsDead(79@)
goto_if_false @MUSIC1_9686
183@ = Sequence.Open()
Task.PlayAnim(-1, "DNCE_M_D", "DANCING", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(79@, 183@)
Sequence.Clear(183@)

:MUSIC1_9686
if 
  not Char.IsDead(80@)
goto_if_false @MUSIC1_9770
183@ = Sequence.Open()
Task.PlayAnim(-1, "DNCE_M_E", "DANCING", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(183@, True)
Sequence.Close(183@)
Char.PerformSequence(80@, 183@)
Sequence.Clear(183@)

:MUSIC1_9770
if 
  not Char.IsDead(81@)
goto_if_false @MUSIC1_9863
173@ = Sequence.Open()
Task.PlayAnim(-1, "DNK_STNDF_LOOP", "BAR", 4.0, False, False, False, True, -1)
Task.Pause(-1, 4000)
Sequence.SetToRepeat(173@, True)
Sequence.Close(173@)
Char.PerformSequence(81@, 173@)
Sequence.Clear(173@)

:MUSIC1_9863
if 
  not Char.IsDead(82@)
goto_if_false @MUSIC1_9956
174@ = Sequence.Open()
Task.PlayAnim(-1, "DNK_STNDF_LOOP", "BAR", 4.0, False, False, False, True, -1)
Task.Pause(-1, 2200)
Sequence.SetToRepeat(174@, True)
Sequence.Close(174@)
Char.PerformSequence(82@, 174@)
Sequence.Clear(174@)

:MUSIC1_9956
return 

:MUSIC1_9958
if and
  not Char.IsDead(65@)
  not Char.IsDead(66@)
goto_if_false @MUSIC1_10050
277@ = Char.GetScriptTaskStatus(65@, 1655)
278@ = Char.GetScriptTaskStatus(66@, 1655)
if and
  is_int_lvar_equal_to_constant 277@ == 7
  is_int_lvar_equal_to_constant 278@ == 7
goto_if_false @MUSIC1_10050
Task.ChatWithChar(65@, 66@, True, 1)
Task.ChatWithChar(66@, 65@, False, 1)

:MUSIC1_10050
return 

:MUSIC1_10052
170@ = 5

:MUSIC1_10059
if 
  8 >= 170@
goto_if_false @MUSIC1_10167
if and
  not Char.IsDead(62@(170@,21i))
  210@(170@,21i) == 0
goto_if_false @MUSIC1_10153
Char.SetCurrentWeapon(62@(170@,21i), WeaponType.Mp5)
Task.KillCharOnFoot(62@(170@,21i), $stattreadstamina_ctr)
210@(170@,21i) = 1
Char.SetKeepTask(62@(170@,21i), True)

:MUSIC1_10153
170@ += 1
goto @MUSIC1_10059

:MUSIC1_10167
if and
  not Char.IsDead(55@)
  231@ == 0
goto_if_false @MUSIC1_10226
Char.SetCurrentWeapon(55@, WeaponType.Mp5)
Char.FreezePosition(55@, False)
Task.KillCharOnFoot(55@, $stattreadstamina_ctr)
231@ = 1
Char.SetKeepTask(55@, True)

:MUSIC1_10226
return 

:MUSIC1_10228
170@ = 0

:MUSIC1_10235
if 
  is_int_lvar_greater_than_int_lvar 61@ > 170@
goto_if_false @MUSIC1_10339
if 
  232@(170@,21i) <> 1
goto_if_false @MUSIC1_10325
if 
  not Char.IsDead(62@(170@,21i))
goto_if_false @MUSIC1_10325
if 
  not Char.IsOnScreen(62@(170@,21i))
goto_if_false @MUSIC1_10325
Char.Delete(62@(170@,21i))

:MUSIC1_10325
170@ += 1
goto @MUSIC1_10235

:MUSIC1_10339
170@ = 0

:MUSIC1_10346
if 
  is_int_lvar_greater_than_int_lvar 146@ > 170@
goto_if_false @MUSIC1_10450
if 
  253@(170@,7i) <> 1
goto_if_false @MUSIC1_10436
if 
  not Car.IsDead(147@(170@,7i))
goto_if_false @MUSIC1_10436
if 
  not Car.IsOnScreen(147@(170@,7i))
goto_if_false @MUSIC1_10436
Car.Delete(147@(170@,7i))

:MUSIC1_10436
170@ += 1
goto @MUSIC1_10346

:MUSIC1_10450
return 

:MUSIC1_10452
170@ = 0

:MUSIC1_10459
if 
  is_int_lvar_greater_than_int_lvar 61@ > 170@
goto_if_false @MUSIC1_10570
if 
  not Char.IsDead(62@(170@,21i))
goto_if_false @MUSIC1_10556
if or
  5 > 170@
  170@ > 8
goto_if_false @MUSIC1_10556
Task.SmartFleeChar(62@(170@,21i), $stattreadstamina_ctr, 400.0, 9999999)
Char.SetKeepTask(62@(170@,21i), True)

:MUSIC1_10556
170@ += 1
goto @MUSIC1_10459

:MUSIC1_10570
if 
  not Car.IsDead(148@)
goto_if_false @MUSIC1_10647
Car.LockDoors(148@, CarLock.LockoutPlayerOnly)
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC1_10619
Task.EnterCarAsDriver(77@, 148@, -1)

:MUSIC1_10619
if 
  not Char.IsDead(78@)
goto_if_false @MUSIC1_10647
Task.EnterCarAsPassenger(78@, 148@, -1, 0)

:MUSIC1_10647
if 
  not Car.IsDead(149@)
goto_if_false @MUSIC1_10724
Car.LockDoors(149@, CarLock.LockoutPlayerOnly)
if 
  not Char.IsDead(79@)
goto_if_false @MUSIC1_10696
Task.EnterCarAsDriver(79@, 149@, -1)

:MUSIC1_10696
if 
  not Char.IsDead(80@)
goto_if_false @MUSIC1_10724
Task.EnterCarAsPassenger(80@, 149@, -1, 0)

:MUSIC1_10724
return 

:MUSIC1_10726
if 
  not Car.IsDead(47@)
goto_if_false @MUSIC1_11352
169@ = 0
172@ = 0

:MUSIC1_10756
if 
  is_int_lvar_greater_than_int_lvar 146@ > 172@
goto_if_false @MUSIC1_11063
if 
  not Car.IsDead(147@(172@,7i))
goto_if_false @MUSIC1_11049
161@ = Car.GetDriver(147@(172@,7i))
if and
  161@ == -1
  253@(172@,7i) <> 1
  2 > 169@
goto_if_false @MUSIC1_11049
171@ = 0

:MUSIC1_10850
if 
  is_int_lvar_greater_than_int_lvar 61@ > 171@
goto_if_false @MUSIC1_11049
if and
  not Char.IsDead(62@(171@,21i))
  232@(171@,21i) <> 1
goto_if_false @MUSIC1_11035
Car.LockDoors(147@(172@,7i), CarLock.LockoutPlayerOnly)
Task.CarMission(62@(171@,21i), 147@(172@,7i), -1, CarMission.RamPlayerFaraway, 30.0, DrivingMode.AvoidCars)
set_lvar_int_to_lvar_int 154@(172@,7i) = 62@(171@,21i)
260@(172@,7i) = 1
Car.SetHeavy(147@(172@,7i), True)
Car.SetStrong(147@(172@,7i), True)
Car.SetOnlyDamagedByPlayer(147@(172@,7i), True)
232@(171@,21i) = 1
253@(172@,7i) = 1
169@ += 1
set_lvar_int_to_lvar_int 171@ = 61@

:MUSIC1_11035
171@ += 1
goto @MUSIC1_10850

:MUSIC1_11049
172@ += 1
goto @MUSIC1_10756

:MUSIC1_11063
DecisionMaker.Remove(180@)
180@ = DecisionMakerChar.Copy(-1)
DecisionMakerChar.ClearEventResponse(180@, 7)
170@ = 0

:MUSIC1_11089
if 
  is_int_lvar_greater_than_int_lvar 61@ > 170@
goto_if_false @MUSIC1_11328
if 
  not Char.IsDead(62@(170@,21i))
goto_if_false @MUSIC1_11314
if 
  232@(170@,21i) <> 1
goto_if_false @MUSIC1_11291
if and
  170@ >= 5
  8 >= 170@
goto_if_false @MUSIC1_11251
Char.SetStayInSamePlace(62@(170@,21i), True)
Char.SetCurrentWeapon(62@(170@,21i), WeaponType.Mp5)
Task.KillCharOnFoot(62@(170@,21i), $stattreadstamina_ctr)
210@(170@,21i) = 1
Char.SetKeepTask(62@(170@,21i), True)
Char.SetRelationship(62@(170@,21i), RelationshipType.Hate, PedType.Player1)
goto @MUSIC1_11284

:MUSIC1_11251
Task.SmartFleeChar(62@(170@,21i), $stattreadstamina_ctr, 400.0, 9999999)
Char.SetKeepTask(62@(170@,21i), True)

:MUSIC1_11284
goto @MUSIC1_11302

:MUSIC1_11291
Char.SetKeepTask(62@(170@,21i), False)

:MUSIC1_11302
Char.SetDecisionMaker(62@(170@,21i), 180@)

:MUSIC1_11314
170@ += 1
goto @MUSIC1_11089

:MUSIC1_11328
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC1_11352
Char.SetDecisionMaker(55@, 180@)

:MUSIC1_11352
return 

:MUSIC1_11354
if 
  not Car.IsDead(47@)
goto_if_false @MUSIC1_11586
172@ = 0

:MUSIC1_11377
if 
  is_int_lvar_greater_than_int_lvar 146@ > 172@
goto_if_false @MUSIC1_11586
if and
  not Car.IsDead(147@(172@,7i))
  253@(172@,7i) == 1
goto_if_false @MUSIC1_11572
if 
  not Char.IsDead(154@(172@,7i))
goto_if_false @MUSIC1_11572
if and
  not Char.IsInCar(154@(172@,7i), 147@(172@,7i))
  260@(172@,7i) == 0
goto_if_false @MUSIC1_11523
Task.CarMission(154@(172@,7i), 147@(172@,7i), -1, CarMission.RamPlayerFaraway, 30.0, DrivingMode.AvoidCars)
260@(172@,7i) = 1

:MUSIC1_11523
if and
  Char.IsInCar(154@(172@,7i), 147@(172@,7i))
  260@(172@,7i) == 1
goto_if_false @MUSIC1_11572
260@(172@,7i) = 0

:MUSIC1_11572
172@ += 1
goto @MUSIC1_11377

:MUSIC1_11586
return 
170@ = 0

:MUSIC1_11595
if 
  is_int_lvar_greater_than_int_lvar 146@ > 170@
goto_if_false @MUSIC1_11769
if and
  not Car.IsDead(147@(170@,7i))
  253@(170@,7i) == 1
goto_if_false @MUSIC1_11755
161@ = Car.GetDriver(147@(170@,7i))
if and
  not Car.IsOnScreen(147@(170@,7i))
  161@ <> -1
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 147@(170@,7i), 100.0, 100.0, False)
goto_if_false @MUSIC1_11755
165@, 166@, 167@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, -10.0, -1.0)
Car.SetCoordinates(147@(170@,7i), 165@, 166@, 167@)

:MUSIC1_11755
170@ += 1
goto @MUSIC1_11595

:MUSIC1_11769
return 

:MUSIC1_11771
172@ = 0

:MUSIC1_11778
if 
  is_int_lvar_greater_than_int_lvar 146@ > 172@
goto_if_false @MUSIC1_11887
if and
  not Car.IsDead(147@(172@,7i))
  not Char.IsDead(154@(172@,7i))
  253@(172@,7i) == 1
goto_if_false @MUSIC1_11873
Task.CarDriveToCoord(154@(172@,7i), 147@(172@,7i), 34@, 35@, 36@, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:MUSIC1_11873
172@ += 1
goto @MUSIC1_11778

:MUSIC1_11887
return 

:MUSIC1_11889
Camera.DoFade(1000, Fade.Out)

:MUSIC1_11896
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC1_11920
wait 0
goto @MUSIC1_11896

:MUSIC1_11920
Garage.Open('MUL_LAN')

:MUSIC1_11931
if 
  not Garage.IsOpen('MUL_LAN')
goto_if_false @MUSIC1_11964
wait 0
goto @MUSIC1_11931

:MUSIC1_11964
if 
  Car.IsDead(47@)
goto_if_false @MUSIC1_12005
Text.ClearPrints
Text.PrintNow('MUS1_20', 5000, 0)
goto @MUSIC1_15556

:MUSIC1_12005
World.ClearArea(52@, 53@, 54@, 50.0, False)
172@ = 0

:MUSIC1_12030
if 
  is_int_lvar_greater_than_int_lvar 146@ > 172@
goto_if_false @MUSIC1_12103
if 
  253@(172@,7i) == 1
goto_if_false @MUSIC1_12089
Char.Delete(154@(172@,7i))
Car.Delete(147@(172@,7i))

:MUSIC1_12089
172@ += 1
goto @MUSIC1_12030

:MUSIC1_12103
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
if 
  not Car.IsDead(47@)
goto_if_false @MUSIC1_12185
Car.SetCoordinates(47@, 52@, 53@, 54@)
Car.SetHeading(47@, 0.0)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MUSIC1_12185
Char.WarpIntoCar($stattreadstamina_ctr, 47@)

:MUSIC1_12185
wait 500
Camera.SetFixedPosition(1640.75, -1528.1, 14.25, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1642.49, -1522.89, 14.11, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:MUSIC1_12248
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC1_12272
wait 0
goto @MUSIC1_12248

:MUSIC1_12272
if 
  Car.IsDead(47@)
goto_if_false @MUSIC1_12313
Text.ClearPrints
Text.PrintNow('MUS1_20', 5000, 0)
goto @MUSIC1_15556

:MUSIC1_12313
279@ = 1
skip_cutscene_start_internal @MUSIC1_12579
if 
  not Car.IsDead(47@)
goto_if_false @MUSIC1_12452
280@ = Sequence.Open()
Task.CarDriveToCoord(-1, 47@, 1643.48, -1515.73, 13.82, 5.0, DriveMode.Accurate, 0, DrivingMode.AvoidCars)
Task.LeaveCar(-1, 47@)
Task.GoStraightToCoord(-1, 1641.91, -1517.64, 12.62, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 1641.91, -1522.36, 12.61, MoveState.Walk, -1)
Sequence.Close(280@)
Char.PerformSequence($stattreadstamina_ctr, 280@)
Sequence.Clear(280@)

:MUSIC1_12452
wait 1000
178@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  not is_int_lvar_equal_to_constant 178@ == 7
goto_if_false @MUSIC1_12567
179@ = Char.GetSequenceProgress($stattreadstamina_ctr)

:MUSIC1_12494
if and
  1 >= 179@
  not is_int_lvar_equal_to_constant 178@ == 7
goto_if_false @MUSIC1_12567
wait 0
178@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  not is_int_lvar_equal_to_constant 178@ == 7
goto_if_false @MUSIC1_12560
179@ = Char.GetSequenceProgress($stattreadstamina_ctr)

:MUSIC1_12560
goto @MUSIC1_12494

:MUSIC1_12567
wait 2000
279@ = 0

:MUSIC1_12579
skip_cutscene_end 
if 
  279@ == 1
goto_if_false @MUSIC1_12599

:MUSIC1_12599
Camera.DoFade(500, Fade.Out)

:MUSIC1_12606
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC1_12630
wait 0
goto @MUSIC1_12606

:MUSIC1_12630
Garage.Close('MUL_LAN')

:MUSIC1_12641
if 
  not Garage.IsClosed('MUL_LAN')
goto_if_false @MUSIC1_12674
wait 0
goto @MUSIC1_12641

:MUSIC1_12674
if 
  Car.IsDead(47@)
goto_if_false @MUSIC1_12715
Text.ClearPrints
Text.PrintNow('MUS1_20', 5000, 0)
goto @MUSIC1_15556

:MUSIC1_12715
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MUSIC1_12764
Char.WarpFromCarToCoord($stattreadstamina_ctr, 52@, 53@, 54@)
goto @MUSIC1_12778

:MUSIC1_12764
Char.SetCoordinates($stattreadstamina_ctr, 52@, 53@, 54@)

:MUSIC1_12778
Char.SetHeading($stattreadstamina_ctr, 180.0)
Car.Delete(47@)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(500, Fade.In)

:MUSIC1_12815
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC1_12839
wait 0
goto @MUSIC1_12815

:MUSIC1_12839
return 

:MUSIC1_12841
Conversation.StartSettingUp(55@)
$6904 = Math.RandomIntInRange(0, 2)
$6905 = Math.RandomIntInRange(0, 3)
if 
  $6904 == 0
goto_if_false @MUSIC1_13094
switch_start $6905 {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @MUSIC1_13080 {caseNum1} 0 {caseLabel1} @MUSIC1_12945 {caseNum2} 1 {caseLabel2} @MUSIC1_12990 {caseNum3} 2 {caseLabel3} @MUSIC1_13035 {caseNum4} -1 {caseLabel4} @MUSIC1_13087 {caseNum5} -1 {caseLabel5} @MUSIC1_13087 {caseNum6} -1 {caseLabel6} @MUSIC1_13087 {caseNum7} -1 {caseLabel7} @MUSIC1_13087

:MUSIC1_12945
set_lvar_text_label 281@s = 'HI1'
set_lvar_int_to_constant 291@ = 21420
set_lvar_int_to_constant 292@ = 21422
set_lvar_int_to_constant 293@ = 21421
goto @MUSIC1_13087

:MUSIC1_12990
set_lvar_text_label 281@s = 'HI3'
set_lvar_int_to_constant 291@ = 21426
set_lvar_int_to_constant 292@ = 21428
set_lvar_int_to_constant 293@ = 21427
goto @MUSIC1_13087

:MUSIC1_13035
set_lvar_text_label 281@s = 'HI5'
set_lvar_int_to_constant 291@ = 21432
set_lvar_int_to_constant 292@ = 21434
set_lvar_int_to_constant 293@ = 21433
goto @MUSIC1_13087

:MUSIC1_13080
goto @MUSIC1_13087

:MUSIC1_13087
goto @MUSIC1_13299

:MUSIC1_13094
switch_start $6905 {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @MUSIC1_13292 {caseNum1} 0 {caseLabel1} @MUSIC1_13157 {caseNum2} 1 {caseLabel2} @MUSIC1_13202 {caseNum3} 2 {caseLabel3} @MUSIC1_13247 {caseNum4} -1 {caseLabel4} @MUSIC1_13299 {caseNum5} -1 {caseLabel5} @MUSIC1_13299 {caseNum6} -1 {caseLabel6} @MUSIC1_13299 {caseNum7} -1 {caseLabel7} @MUSIC1_13299

:MUSIC1_13157
set_lvar_text_label 281@s = 'HI2'
set_lvar_int_to_constant 291@ = 21423
set_lvar_int_to_constant 292@ = 21425
set_lvar_int_to_constant 293@ = 21424
goto @MUSIC1_13299

:MUSIC1_13202
set_lvar_text_label 281@s = 'HI4'
set_lvar_int_to_constant 291@ = 21429
set_lvar_int_to_constant 292@ = 21431
set_lvar_int_to_constant 293@ = 21430
goto @MUSIC1_13299

:MUSIC1_13247
set_lvar_text_label 281@s = 'HI6'
set_lvar_int_to_constant 291@ = 21435
set_lvar_int_to_constant 292@ = 21437
set_lvar_int_to_constant 293@ = 21436
goto @MUSIC1_13299

:MUSIC1_13292
goto @MUSIC1_13299

:MUSIC1_13299
$6904 = Math.RandomIntInRange(0, 2)
if 
  $6904 == 0
goto_if_false @MUSIC1_13371
set_lvar_text_label 283@s = 'DOFFE1'
set_lvar_int_to_constant 294@ = 21404
set_lvar_int_to_constant 295@ = 21406
set_lvar_int_to_constant 296@ = 21405
goto @MUSIC1_13409

:MUSIC1_13371
set_lvar_text_label 283@s = 'DOFFE3'
set_lvar_int_to_constant 294@ = 21410
set_lvar_int_to_constant 295@ = 21412
set_lvar_int_to_constant 296@ = 21411

:MUSIC1_13409
$6904 = Math.RandomIntInRange(0, 2)
if 
  $6904 == 0
goto_if_false @MUSIC1_13465
set_lvar_text_label 285@s = 'BEXIT1'
set_lvar_int_to_constant 297@ = 21400
goto @MUSIC1_13487

:MUSIC1_13465
set_lvar_text_label 285@s = 'BEXIT2'
set_lvar_int_to_constant 297@ = 21401

:MUSIC1_13487
set_lvar_text_label 287@s = 'DSTAR2'
set_lvar_int_to_constant 298@ = 21417
$6904 = Math.RandomIntInRange(0, 2)
if 
  $6904 == 0
goto_if_false @MUSIC1_13565
set_lvar_text_label 289@s = 'GEXIT1'
set_lvar_int_to_constant 299@ = 21418
goto @MUSIC1_13587

:MUSIC1_13565
set_lvar_text_label 289@s = 'GEXIT2'
set_lvar_int_to_constant 299@ = 21419

:MUSIC1_13587
Conversation.SetUpNodeWithScriptedSpeech(281@s, 283@s, 285@s, 291@, 292@, 293@)
Conversation.SetUpEndNodeWithScriptedSpeech(285@s, 297@)
Conversation.SetUpNodeWithScriptedSpeech(283@s, 287@s, 289@s, 294@, 295@, 296@)
Conversation.SetUpEndNodeWithScriptedSpeech(287@s, 298@)
Conversation.SetUpEndNodeWithScriptedSpeech(289@s, 299@)
Conversation.FinishSettingUp
return 

:MUSIC1_13655
Conversation.StartSettingUp(55@)
$6904 = Math.RandomIntInRange(0, 2)
if 
  $6904 == 0
goto_if_false @MUSIC1_13732
set_lvar_text_label 300@s = 'VOFFE1'
set_lvar_int_to_constant 304@ = 21443
set_lvar_int_to_constant 305@ = 21445
set_lvar_int_to_constant 306@ = 21444
goto @MUSIC1_13770

:MUSIC1_13732
set_lvar_text_label 300@s = 'VOFFE2'
set_lvar_int_to_constant 304@ = 21446
set_lvar_int_to_constant 305@ = 21448
set_lvar_int_to_constant 306@ = 21447

:MUSIC1_13770
$6904 = Math.RandomIntInRange(0, 2)
if 
  $6904 == 0
goto_if_false @MUSIC1_13842
set_lvar_text_label 302@s = 'VSURE1'
set_lvar_int_to_constant 307@ = 21449
set_lvar_int_to_constant 308@ = 21451
set_lvar_int_to_constant 309@ = 21450
goto @MUSIC1_13880

:MUSIC1_13842
set_lvar_text_label 302@s = 'VSURE2'
set_lvar_int_to_constant 307@ = 21452
set_lvar_int_to_constant 308@ = 21454
set_lvar_int_to_constant 309@ = 21453

:MUSIC1_13880
Conversation.SetUpNodeWithScriptedSpeech(300@s, 'VYES2', 302@s, 304@, 305@, 306@)
Conversation.SetUpEndNodeWithScriptedSpeech('VYES2', 21456)
Conversation.SetUpNodeWithScriptedSpeech(302@s, 'VLATE', 'VYES1', 307@, 308@, 309@)
Conversation.SetUpEndNodeWithScriptedSpeech('VLATE', 21442)
Conversation.SetUpEndNodeWithScriptedSpeech('VYES1', 21455)
Conversation.FinishSettingUp
return 

:MUSIC1_13984
set_lvar_float_to_lvar_float 310@ = 39@
sub_float_lvar_from_float_lvar 310@ -= 34@
set_lvar_float_to_lvar_float 311@ = 40@
sub_float_lvar_from_float_lvar 311@ -= 35@
gosub @MUSIC1_14436
set_lvar_float_to_lvar_float 39@ = 312@
set_lvar_float_to_lvar_float 40@ = 313@
41@ = 2.68
set_lvar_float_to_lvar_float 310@ = 42@
sub_float_lvar_from_float_lvar 310@ -= 34@
set_lvar_float_to_lvar_float 311@ = 43@
sub_float_lvar_from_float_lvar 311@ -= 35@
gosub @MUSIC1_14436
set_lvar_float_to_lvar_float 42@ = 312@
set_lvar_float_to_lvar_float 43@ = 313@
44@ = 2.39
set_lvar_float_to_lvar_float 310@ = 48@
sub_float_lvar_from_float_lvar 310@ -= 34@
set_lvar_float_to_lvar_float 311@ = 49@
sub_float_lvar_from_float_lvar 311@ -= 35@
gosub @MUSIC1_14436
set_lvar_float_to_lvar_float 48@ = 312@
set_lvar_float_to_lvar_float 49@ = 313@
50@ = 3.42
51@ -= 51.0
set_lvar_float_to_lvar_float 310@ = 56@
sub_float_lvar_from_float_lvar 310@ -= 34@
set_lvar_float_to_lvar_float 311@ = 57@
sub_float_lvar_from_float_lvar 311@ -= 35@
gosub @MUSIC1_14436
set_lvar_float_to_lvar_float 56@ = 312@
set_lvar_float_to_lvar_float 57@ = 313@
set_lvar_float_to_lvar_float 310@ = 58@
sub_float_lvar_from_float_lvar 310@ -= 34@
set_lvar_float_to_lvar_float 311@ = 59@
sub_float_lvar_from_float_lvar 311@ -= 35@
gosub @MUSIC1_14436
set_lvar_float_to_lvar_float 58@ = 312@
set_lvar_float_to_lvar_float 59@ = 313@
60@ = 2.31
170@ = 0

:MUSIC1_14316
if 
  is_int_lvar_greater_than_int_lvar 61@ > 170@
goto_if_false @MUSIC1_14434
set_lvar_float_to_lvar_float 310@ = 83@(170@,21f)
sub_float_lvar_from_float_lvar 310@ -= 34@
set_lvar_float_to_lvar_float 311@ = 104@(170@,21f)
sub_float_lvar_from_float_lvar 311@ -= 35@
gosub @MUSIC1_14436
set_lvar_float_to_lvar_float 83@(170@,21f) = 312@
set_lvar_float_to_lvar_float 104@(170@,21f) = 313@
125@(170@,21f) -= 51.0
170@ += 1
goto @MUSIC1_14316

:MUSIC1_14434
return 

:MUSIC1_14436
set_lvar_float_to_lvar_float 314@ = 310@
mult_float_lvar_by_float_lvar 314@ *= 310@
set_lvar_float_to_lvar_float 315@ = 311@
mult_float_lvar_by_float_lvar 315@ *= 311@
set_lvar_float_to_lvar_float 317@ = 314@
add_float_lvar_to_float_lvar 317@ += 315@
316@ = Math.Sqrt(317@)
set_lvar_float_to_lvar_float 318@ = 311@
div_float_lvar_by_float_lvar 318@ /= 316@
set_lvar_float_to_lvar_float 319@ = 310@
div_float_lvar_by_float_lvar 319@ /= 316@
320@ = Math.Cos(51.0)
321@ = Math.Sin(51.0)
set_lvar_float_to_lvar_float 322@ = 318@
mult_float_lvar_by_float_lvar 322@ *= 320@
set_lvar_float_to_lvar_float 323@ = 319@
mult_float_lvar_by_float_lvar 323@ *= 321@
set_lvar_float_to_lvar_float 324@ = 319@
mult_float_lvar_by_float_lvar 324@ *= 320@
set_lvar_float_to_lvar_float 325@ = 318@
mult_float_lvar_by_float_lvar 325@ *= 321@
set_lvar_float_to_lvar_float 326@ = 322@
sub_float_lvar_from_float_lvar 326@ -= 323@
set_lvar_float_to_lvar_float 327@ = 324@
add_float_lvar_to_float_lvar 327@ += 325@
set_lvar_float_to_lvar_float 312@ = 316@
mult_float_lvar_by_float_lvar 312@ *= 327@
set_lvar_float_to_lvar_float 313@ = 316@
mult_float_lvar_by_float_lvar 313@ *= 326@
add_float_lvar_to_float_lvar 312@ += 34@
add_float_lvar_to_float_lvar 313@ += 35@
return 

:MUSIC1_14690
if 
  not Car.IsDead(47@)
goto_if_false @MUSIC1_14854
if 
  208@ == 1
goto_if_false @MUSIC1_14793
if 
  not Char.IsInCar($stattreadstamina_ctr, 47@)
goto_if_false @MUSIC1_14786
Blip.Remove(273@)
272@ = Blip.AddForCar(47@)
Blip.SetAsFriendly(272@, True)
Text.PrintNow('MUS1_6', 7000, 0)
208@ = 0

:MUSIC1_14786
goto @MUSIC1_14854

:MUSIC1_14793
if 
  Char.IsInCar($stattreadstamina_ctr, 47@)
goto_if_false @MUSIC1_14854
Blip.Remove(272@)
273@ = Blip.AddForCoord(52@, 53@, 54@)
Text.PrintNow('MUS1_19', 7000, 0)
208@ = 1

:MUSIC1_14854
return 

:MUSIC1_14856
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearPrints
Text.PrintNow('MUS1_2', 10000, 0)
Camera.SetFixedPosition(532.87, -1893.69, 3.29, 0.0, 0.0, 0.0)
Camera.PointAtPoint(533.97, -1892.67, 3.3, SwitchType.JumpCut)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, $x, $y, -100.0)
set_lvar_float_to_lvar_float 328@ = 34@
sub_float_var_from_float_lvar 328@ -= $x
set_lvar_float_to_lvar_float 329@ = 35@
sub_float_var_from_float_lvar 329@ -= $y
$on_footX = Math.GetHeadingFromVector2D(328@, 329@)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MUSIC1_15040
Char.SetHeading($stattreadstamina_ctr, $on_footX)
goto @MUSIC1_15061

:MUSIC1_15040
330@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Car.SetIdle(330@)
Car.SetHeading(330@, $on_footX)

:MUSIC1_15061
wait 2000
279@ = 1
skip_cutscene_start_internal @MUSIC1_15092
wait 8000
279@ = 0

:MUSIC1_15092
skip_cutscene_end 
if 
  279@ == 1
goto_if_false @MUSIC1_15112

:MUSIC1_15112
Text.ClearPrints
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
return 

:MUSIC1_15131
switch_start 191@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MUSIC1_15266 {caseNum1} 0 {caseLabel1} @MUSIC1_15194 {caseNum2} 1 {caseLabel2} @MUSIC1_15230 {caseNum3} -1 {caseLabel3} @MUSIC1_15273 {caseNum4} -1 {caseLabel4} @MUSIC1_15273 {caseNum5} -1 {caseLabel5} @MUSIC1_15273 {caseNum6} -1 {caseLabel6} @MUSIC1_15273 {caseNum7} -1 {caseLabel7} @MUSIC1_15273

:MUSIC1_15194
set_lvar_text_label 184@s = 'LOC1_YT'
set_lvar_int_to_constant 186@ = 21656
189@ = 1
goto @MUSIC1_15273

:MUSIC1_15230
set_lvar_text_label 184@s = 'DNCEF1'
set_lvar_int_to_constant 186@ = 21402
189@ = 1
goto @MUSIC1_15273

:MUSIC1_15266
goto @MUSIC1_15273

:MUSIC1_15273
187@ = 0
188@ = 0
190@ = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
return 

:MUSIC1_15302
if or
  187@ == 0
  187@ == 1
goto_if_false @MUSIC1_15372
if 
  is_int_lvar_greater_than_int_lvar 189@ > 188@
goto_if_false @MUSIC1_15372
if 
  TIMERA > 1000
goto_if_false @MUSIC1_15372
gosub @MUSIC1_15430

:MUSIC1_15372
if 
  187@ == 2
goto_if_false @MUSIC1_15428
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MUSIC1_15428
187@ = 0
188@ += 1
Text.ClearPrints
TIMERA = 0

:MUSIC1_15428
return 

:MUSIC1_15430
if 
  187@ == 0
goto_if_false @MUSIC1_15466
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 186@(188@,1i))
187@ = 1

:MUSIC1_15466
if 
  187@ == 1
goto_if_false @MUSIC1_15554
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MUSIC1_15554
Text.PrintNow(184@(188@,1s), 10000, 1)
if and
  191@ == 1
  not Char.IsDead(55@)
goto_if_false @MUSIC1_15543
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot1, 55@)

:MUSIC1_15543
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
187@ = 2

:MUSIC1_15554
return 

:MUSIC1_15556
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:MUSIC1_15574
$introX += 1
Stat.RegisterMissionPassed('STRAP_1')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSR', 3, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(3)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
return 

:MUSIC1_15629
Streaming.MarkModelAsNoLongerNeeded(412)
Streaming.MarkModelAsNoLongerNeeded(419)
Streaming.MarkModelAsNoLongerNeeded(467)
Streaming.MarkModelAsNoLongerNeeded(413)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(13)
Streaming.MarkModelAsNoLongerNeeded(93)
Streaming.MarkModelAsNoLongerNeeded(22)
Streaming.MarkModelAsNoLongerNeeded(99)
Streaming.MarkModelAsNoLongerNeeded(211)
Streaming.MarkModelAsNoLongerNeeded(101)
Streaming.MarkModelAsNoLongerNeeded(217)
Streaming.MarkModelAsNoLongerNeeded(19)
Streaming.MarkModelAsNoLongerNeeded(91)
Streaming.MarkModelAsNoLongerNeeded(55)
Streaming.MarkVehicleModAsNoLongerNeeded(#WHEEL_OR1)
Object.MarkAsNoLongerNeeded(45@)
Object.MarkAsNoLongerNeeded(46@)
StreamedScript.MarkAsNoLongerNeeded(35)
Streaming.RemoveAnimation("BAR")
Streaming.RemoveAnimation("DANCING")
Streaming.RemoveAnimation("BEACH")
Streaming.RemoveAnimation("SCRATCHING")
Blip.Remove(271@)
Blip.Remove(272@)
Blip.Remove(273@)
Particle.Kill(37@)
Particle.Kill(38@)
Sequence.Clear(173@)
Sequence.Clear(174@)
Sequence.Clear(177@)
Sequence.Clear(280@)
Sequence.Clear(181@)
Sequence.Clear(182@)
Sequence.Clear(183@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MUSIC1_15839
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)

:MUSIC1_15839
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC1_15867
Conversation.ClearForChar(55@)
Char.FreezePosition(55@, False)

:MUSIC1_15867
if 
  not Car.IsDead(47@)
goto_if_false @MUSIC1_15890
Car.SetCanBeVisiblyDamaged(47@, True)

:MUSIC1_15890
DecisionMaker.Remove(180@)
Text.ClearHelp
Zone.SwitchAudio('BEACH', False)
Path.SwitchPedRoadsBackToOriginal(502.15, -1913.39, -5.0, 558.86, -1838.87, 10.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 32---------------
// Originally: Madd Dogg's Rhymes

:MUSIC2
script_name 'MUSIC2'
gosub @MUSIC2_47
if 
  has_deatharrest_been_executed 
goto_if_false @MUSIC2_38
gosub @MUSIC2_10533

:MUSIC2_38
gosub @MUSIC2_10606
terminate_this_script 

:MUSIC2_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('STRAP2')
Camera.SetFadingColor(0, 0, 0)
Streaming.SetAreaVisible(10)
Camera.DoFade(2000, Fade.Out)

:MUSIC2_86
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC2_110
wait 0
goto @MUSIC2_86

:MUSIC2_110
Cutscene.Load('STRAP2A')

:MUSIC2_121
if 
  not Cutscene.HasLoaded
goto_if_false @MUSIC2_145
wait 0
goto @MUSIC2_121

:MUSIC2_145
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MUSIC2_154
if 
  not Cutscene.HasFinished
goto_if_false @MUSIC2_178
wait 0
goto @MUSIC2_154

:MUSIC2_178
Cutscene.Clear
Camera.DoFade(0, Fade.Out)

:MUSIC2_186
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC2_210
wait 0
goto @MUSIC2_186

:MUSIC2_210
Streaming.SetAreaVisible(0)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Streaming.RequestModel(579)
Streaming.RequestModel(580)
Streaming.RequestModel(#KMB_RHYMESBOOK)
Streaming.RequestModel(#CJ_JUICE_CAN)
Streaming.RequestModel(347)
Streaming.RequestModel(510)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 21803)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 21804)
Streaming.LoadAllModelsNow

:MUSIC2_281
if or
  not Streaming.HasModelLoaded(579)
  not Streaming.HasModelLoaded(580)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @MUSIC2_321
wait 0
goto @MUSIC2_281

:MUSIC2_321
if or
  not Streaming.HasModelLoaded(#KMB_RHYMESBOOK)
  not Streaming.HasModelLoaded(#CJ_JUICE_CAN)
  not Streaming.HasModelLoaded(347)
  not Streaming.HasModelLoaded(510)
goto_if_false @MUSIC2_363
wait 0
goto @MUSIC2_321

:MUSIC2_363
61@ = Blip.AddForCoord(1239.032, -741.106, 94.76)
Char.SetCoordinates($stattreadstamina_ctr, 790.0, -1626.0, 12.5)
Streaming.LoadScene(790.0, -1626.0, 12.5)
Camera.SetBehindPlayer
Char.SetHeading($stattreadstamina_ctr, 356.0)
45@ = DecisionMakerChar.Load(DecisionMakerType.Steal)
46@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Mission1)
World.SwitchEntryExit('MDDOGS', True)
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
World.ClearArea(790.54, -1627.91, 2.0, 2.0, False)
Camera.DoFade(1500, Fade.In)
70@ = 0
71@ = 0
72@ = 0
73@ = 0
74@ = 0
75@ = 0
76@ = 0
77@ = 0
78@ = 0
79@ = 0
80@ = 0
81@ = 0
82@ = 0
83@ = 0
84@ = 0
85@ = 0
86@ = 0
87@ = 0
88@ = 0
89@ = 0
90@ = 0
91@ = 0
92@ = 0
93@ = 0
94@ = 0
95@ = 0
96@ = 0
97@ = 0
Text.PrintNow('STP2_1', 10000, 1)
if 
  $6906 > 0
goto_if_false @MUSIC2_769
Skip.SetUp(1242.659, -748.503, 94.33, 191.586)

:MUSIC2_769
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @MUSIC2_795
goto @MUSIC2_10551

:MUSIC2_795
if 
  70@ == 0
goto_if_false @MUSIC2_997
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 1222.799, -735.563, 1348.407, -759.322, -100.0, False)
goto_if_false @MUSIC2_997
if 
  $6906 == 0
goto_if_false @MUSIC2_881
$6906 = 1

:MUSIC2_881
Skip.Clear
Blip.Remove(61@)
61@ = Blip.AddForCoord(1298.66, -795.58, 83.84)
Text.PrintNow('STP2_2', 5000, 1)
35@ = Car.Create(579, 1243.154, -805.76, 83.188)
Car.SetHeading(35@, 1.533)
36@ = Car.Create(580, 1255.024, -804.587, 83.934)
Car.SetHeading(36@, 182.9)
70@ = 1

:MUSIC2_997
if 
  70@ == 1
goto_if_false @MUSIC2_1856
34@ = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  34@ == 5
goto_if_false @MUSIC2_1856
Game.SetWantedMultiplier(0.0)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1256.623, -801.0125, 1084.091, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1255.93, -801.7316, 1084.044, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 1299.352, -792.6416, 1083.008)
Char.SetHeading($stattreadstamina_ctr, 0.0)
World.ClearArea(1299.352, -792.6416, 200.0, 200.0, False)
Streaming.RequestAnimation("CRIB")
Streaming.RequestAnimation("VENDING")
Streaming.RequestModel(335)
Streaming.RequestModel(24)
Streaming.RequestModel(25)
Streaming.RequestModel(352)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 23600)
Streaming.LoadAllModelsNow
Streaming.LoadScene(1256.623, -801.0125, 1084.091)

:MUSIC2_1220
if or
  not Streaming.HasAnimationLoaded("CRIB")
  not Streaming.HasAnimationLoaded("VENDING")
  not Streaming.HasModelLoaded(335)
  not Streaming.HasModelLoaded(24)
Streaming.RequestModel(25)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @MUSIC2_1278
wait 0
goto @MUSIC2_1220

:MUSIC2_1278
Player.SetControl($statbike_temp, False)
Hud.SetRadarZoom(100)
Blip.Remove(61@)
37@ = Char.Create(PedType.Mission1, 24, 1301.98, -785.31, 1083.05)
Char.SetHasUsedEntryExit(37@, 1298.78, -798.2, 1.0)
Char.SetFollowNodeThresholdDistance(37@, 2.0)
Char.SetHeading(37@, 358.83)
Char.SetDecisionMaker(37@, 45@)
62@ = Blip.AddForChar(37@)
Blip.ChangeDisplay(62@, BlipDisplay.BlipOnly)
Char.GiveWeapon(37@, WeaponType.MicroUzi, 9999)
Char.SetAccuracy(37@, 90)
Char.SetDropsWeaponsWhenDead(37@, False)
Char.SetAreaVisible(37@, 5)
Text.PrintNow('STP2_3', 7000, 1)
wait 2000
skip_cutscene_start_internal @MUSIC2_1725
wait 1000
38@ = Char.Create(PedType.Mission1, 25, 1249.063, -769.8262, 1083.023)
Char.SetHasUsedEntryExit(38@, 1298.78, -798.2, 1.0)
Char.SetAreaVisible(38@, 5)
Char.SetHeading(38@, 270.552)
Char.SetFollowNodeThresholdDistance(38@, 5.0)
Char.SetDecisionMaker(38@, 45@)
wait 3500
if 
  not Char.IsDead(38@)
goto_if_false @MUSIC2_1569
Task.GoStraightToCoord(38@, 1262.056, -769.9772, 1083.988, MoveState.Walk, -1)

:MUSIC2_1569
wait 500
Camera.SetFixedPosition(1260.744, -769.5749, 1085.258, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1259.781, -769.5841, 1084.988, SwitchType.JumpCut)
Text.PrintNow('STP2_39', 7000, 1)
wait 7000
Camera.SetNearClip(0.1)
Camera.SetFixedPosition(1299.504, -793.3958, 1084.693, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1299.589, -792.3994, 1084.685, SwitchType.JumpCut)
Text.PrintNow('STP2_5', 7000, 1)
wait 7000

:MUSIC2_1725
skip_cutscene_end 
Char.Delete(38@)
59@ = Pickup.Create(#KMB_RHYMESBOOK, PickupType.Once, 1256.871, -801.048, 1084.063)
61@ = Blip.AddForPickup(59@)
Blip.SetEntryExit(61@, 1298.78, -798.2, 1.0)
World.DisableAllEntryExits(True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Knife, 1)
Pad.SetPlayerCycleWeaponButton($statbike_temp, False)
Car.Delete(35@)
Streaming.MarkModelAsNoLongerNeeded(579)
Streaming.MarkModelAsNoLongerNeeded(580)
Car.Delete(36@)
Text.ClearPrints
TIMERA = 0
70@ = 2

:MUSIC2_1856
if 
  85@ == 0
goto_if_false @MUSIC2_6634
if 
  70@ == 2
goto_if_false @MUSIC2_6634
if 
  71@ == 0
goto_if_false @MUSIC2_1946
Text.PrintHelp('STP2_7')
Hud.FlashObject(HudObject.Radar)
TIMERA = 0
TIMERB = 0
71@ = 1

:MUSIC2_1946
if 
  79@ == 0
goto_if_false @MUSIC2_1994
if 
  TIMERB > 5000
goto_if_false @MUSIC2_1994
Hud.FlashObject(-1)
79@ = 1

:MUSIC2_1994
if 
  not Char.IsDead(37@)
goto_if_false @MUSIC2_2325
if 
  71@ == 1
goto_if_false @MUSIC2_2076
if 
  TIMERA > 5000
goto_if_false @MUSIC2_2076
Text.PrintHelp('STP2_9')
Hud.FlashObject(-1)
TIMERA = 0
71@ = 2

:MUSIC2_2076
if 
  71@ == 2
goto_if_false @MUSIC2_2163
if 
  not Char.IsDead(37@)
goto_if_false @MUSIC2_2163
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 37@, 5.0, 5.0, False)
  TIMERA > 9500
goto_if_false @MUSIC2_2163
TIMERA = 0
71@ = 3

:MUSIC2_2163
if 
  71@ == 3
goto_if_false @MUSIC2_2252
if or
  TIMERA > 10000
  Char.IsPlayingAnim($stattreadstamina_ctr, "KILL_PARTIAL")
  Player.IsTargetingChar($statbike_temp, 37@)
goto_if_false @MUSIC2_2252
Text.PrintHelp('STP2_10')
TIMERA = 0
71@ = 4

:MUSIC2_2252
if 
  71@ == 4
goto_if_false @MUSIC2_2325
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "KILL_PARTIAL")
goto_if_false @MUSIC2_2325
Text.PrintHelp('STP2_11')
TIMERA = 0
71@ = 5

:MUSIC2_2325
if 
  72@ == 0
goto_if_false @MUSIC2_3060
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1290.907, -781.423, 1083.59, 4.3, 4.3, 6.0, False)
goto_if_false @MUSIC2_3060
if 
  Char.IsDucking($stattreadstamina_ctr)
goto_if_false @MUSIC2_2414
96@ = 1

:MUSIC2_2414
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Camera.SetNearClip(0.1)
World.ClearArea(1290.907, -781.423, 100.0, 100.0, False)
38@ = Char.Create(PedType.Mission1, 25, 1290.667, -778.9339, 1083.012)
Char.SetHasUsedEntryExit(38@, 1298.78, -798.2, 1.0)
Char.SetAreaVisible(38@, 5)
Char.SetHeading(38@, 350.151)
Char.SetFollowNodeThresholdDistance(38@, 5.0)
Char.SetDecisionMaker(38@, 45@)
63@ = Blip.AddForChar(38@)
Blip.ChangeDisplay(63@, BlipDisplay.BlipOnly)
Char.GiveWeapon(38@, WeaponType.MicroUzi, 9999)
Char.SetAccuracy(38@, 90)
Char.SetDropsWeaponsWhenDead(38@, False)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(1289.988, -766.581, 1084.063, "NONE", "NONE")
Path.ExtendPatrolRoute(1270.314, -766.564, 1084.063, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(1270.074, -782.155, 1084.063, "NONE", "NONE")
Path.ExtendPatrolRoute(1290.246, -782.463, 1084.056, "ROADCROSS", "PED")
Task.FollowPatrolRoute(38@, 4, RouteMode.Loop)
Char.SetCoordinates($stattreadstamina_ctr, 1297.599, -781.234, 1083.048)
Char.SetHeading($stattreadstamina_ctr, 89.58)
Camera.SetFixedPosition(1291.055, -784.506, 1084.514, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1290.55, -783.6482, 1084.417, SwitchType.JumpCut)
if 
  not Char.IsDead(37@)
goto_if_false @MUSIC2_2934
Char.Delete(37@)
37@ = Char.Create(PedType.Mission1, 24, 1304.189, -785.871, 1084.048)
Char.SetHasUsedEntryExit(37@, 1298.78, -798.2, 1.0)
Char.SetAreaVisible(37@, 5)
Char.SetFollowNodeThresholdDistance(37@, 2.0)
Char.SetHeading(37@, 311.2134)
Char.SetDecisionMaker(37@, 45@)
62@ = Blip.AddForChar(37@)
Blip.ChangeDisplay(62@, BlipDisplay.BlipOnly)
Char.GiveWeapon(37@, WeaponType.MicroUzi, 9999)
Char.SetAccuracy(37@, 90)
Char.SetDropsWeaponsWhenDead(37@, False)

:MUSIC2_2934
Text.PrintNow('STP2_13', 6000, 1)
wait 2000
skip_cutscene_start_internal @MUSIC2_2967
wait 4000

:MUSIC2_2967
skip_cutscene_end 
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
if 
  96@ == 1
goto_if_false @MUSIC2_3005
Task.ToggleDuck($stattreadstamina_ctr, True)

:MUSIC2_3005
96@ = 0
Hud.SwitchWidescreen(False)
Text.PrintNow('STP2_14', 5000, 1)
TIMERA = 0
TIMERB = 0
72@ = 1
71@ = 6

:MUSIC2_3060
if 
  71@ == 6
goto_if_false @MUSIC2_3104
if 
  TIMERA > 5000
goto_if_false @MUSIC2_3104
71@ = 7

:MUSIC2_3104
if 
  73@ == 0
goto_if_false @MUSIC2_4112
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1260.104, -769.51, 1083.06, 5.0, 5.0, 6.0, False)
goto_if_false @MUSIC2_4112
if 
  Char.IsDucking($stattreadstamina_ctr)
goto_if_false @MUSIC2_3193
96@ = 1

:MUSIC2_3193
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Text.ClearPrints
World.ClearArea(1260.104, -769.51, 100.0, 100.0, False)
39@ = Char.Create(PedType.Mission1, 25, 1249.598, -780.06, 1083.063)
Char.SetHasUsedEntryExit(39@, 1298.78, -798.2, 1.0)
Char.SetAreaVisible(39@, 5)
Char.SetAccuracy(39@, 90)
Char.SetHeading(39@, 355.188)
Char.SetFollowNodeThresholdDistance(39@, 5.0)
Char.SetDecisionMaker(39@, 45@)
Task.GoStraightToCoord(39@, 1250.092, -769.277, 1083.064, MoveState.Walk, -1)
Camera.SetFixedPosition(1249.856, -766.8402, 1084.777, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1249.814, -767.8293, 1084.637, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 1266.494, -769.705, 1083.06)
Char.SetHeading($stattreadstamina_ctr, 92.259)
if 
  not Char.IsDead(38@)
goto_if_false @MUSIC2_3693
Char.Delete(38@)
38@ = Char.Create(PedType.Mission1, 25, 1290.667, -778.9339, 1083.012)
Char.SetHasUsedEntryExit(38@, 1298.78, -798.2, 1.0)
Char.SetHeading(38@, 350.151)
Char.SetFollowNodeThresholdDistance(38@, 2.0)
Char.SetDecisionMaker(38@, 45@)
63@ = Blip.AddForChar(38@)
Blip.ChangeDisplay(63@, BlipDisplay.BlipOnly)
Char.GiveWeapon(38@, WeaponType.MicroUzi, 9999)
Char.SetAccuracy(38@, 90)
Char.SetDropsWeaponsWhenDead(38@, False)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(1289.988, -766.581, 1084.063, "NONE", "NONE")
Path.ExtendPatrolRoute(1270.314, -766.564, 1084.063, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(1270.074, -782.155, 1084.063, "NONE", "NONE")
Path.ExtendPatrolRoute(1290.246, -782.463, 1084.056, "ROADCROSS", "PED")
Task.FollowPatrolRoute(38@, 4, RouteMode.Loop)

:MUSIC2_3693
Text.PrintNow('STP2_15', 3000, 1)
wait 2000
skip_cutscene_start_internal @MUSIC2_3868
wait 1000
Text.PrintNow('STP2_16', 4000, 1)
Camera.SetFixedPosition(1267.405, -769.6973, 1084.667, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1266.412, -769.6685, 1084.551, SwitchType.JumpCut)
if 
  not Char.IsDead(39@)
goto_if_false @MUSIC2_3839
Char.SetCoordinates(39@, 1249.598, -780.06, 1083.063)
Char.SetHeading(39@, 355.188)

:MUSIC2_3839
wait 2000
Camera.PointAtPoint(1266.912, -770.5618, 1084.569, SwitchType.Interpolation)
wait 2000

:MUSIC2_3868
skip_cutscene_end 
Char.Delete(39@)
39@ = Char.Create(PedType.Mission1, 25, 1249.634, -781.405, 1083.5)
Char.SetHasUsedEntryExit(39@, 1298.78, -798.2, 1.0)
Char.SetAreaVisible(39@, 5)
Char.SetHeading(39@, 357.273)
64@ = Blip.AddForChar(39@)
Blip.ChangeDisplay(64@, BlipDisplay.BlipOnly)
Char.SetFollowNodeThresholdDistance(39@, 5.0)
Char.SetDecisionMaker(39@, 45@)
58@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 1267.96, -769.792, 1084.06, 4, -2)
Sequence.SetToRepeat(58@, True)
Sequence.Close(58@)
Char.PerformSequence(39@, 58@)
Sequence.Clear(58@)
Char.GiveWeapon(39@, WeaponType.MicroUzi, 50)
Char.SetAccuracy(39@, 90)
Char.SetDropsWeaponsWhenDead(39@, False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
if 
  96@ == 1
goto_if_false @MUSIC2_4085
Task.ToggleDuck($stattreadstamina_ctr, True)

:MUSIC2_4085
96@ = 0
Text.ClearPrints
Text.PrintHelp('STP2_41')
73@ = 1

:MUSIC2_4112
if 
  74@ == 0
goto_if_false @MUSIC2_6092
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1249.466, -789.487, 1083.063, 7.5, 7.5, 6.0, False)
goto_if_false @MUSIC2_6092
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @MUSIC2_4216
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot3, 1276.31, -793.92, 1084.12)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:MUSIC2_4216
if 
  Char.IsDucking($stattreadstamina_ctr)
goto_if_false @MUSIC2_4239
96@ = 1

:MUSIC2_4239
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(1249.466, -789.487, 100.0, 100.0, False)
Char.SetCoordinates($stattreadstamina_ctr, 1249.825, -780.682, 1083.06)
Char.SetHeading($stattreadstamina_ctr, 180.659)
Text.ClearPrints
40@ = Char.Create(PedType.Mission1, 25, 1258.271, -793.395, 1083.289)
Char.SetHasUsedEntryExit(40@, 1298.78, -798.2, 1.0)
Char.SetAreaVisible(40@, 5)
Char.SetHeading(40@, 354.328)
65@ = Blip.AddForChar(40@)
Blip.ChangeDisplay(65@, BlipDisplay.BlipOnly)
Char.SetFollowNodeThresholdDistance(40@, 5.0)
Char.SetDecisionMaker(40@, 45@)
Char.SetDropsWeaponsWhenDead(40@, False)
47@ = Object.CreateNoOffset(#CJ_JUICE_CAN, 1258.25, -792.64, 1084.16)
$on_footY, $on_footZ, $in_carX, $on_footY, $on_footZ, $in_carX = Streaming.GetModelDimensions(#CJ_JUICE_CAN)
$on_footZ /= 2.0
$on_footZ += 0.027
41@ = Char.Create(PedType.Mission1, 24, 1276.795, -792.368, 1083.055)
Char.SetHasUsedEntryExit(41@, 1298.78, -798.2, 1.0)
Char.SetAccuracy(41@, 100)
Char.SetAreaVisible(41@, 5)
Char.SetHeading(41@, 180.0)
Char.SetDecisionMaker(41@, 45@)
if 
  not Char.IsDead(40@)
goto_if_false @MUSIC2_4692
49@ = Sequence.Open()
Task.PickUpObject(-1, 47@, 0.062, $on_footZ, 0.0, 5, 16, "VEND_USE_PT2", "VENDING", 0)
Task.PickUpObject(-1, 47@, 0.062, $on_footZ, 0.0, 5, 16, "VEND_DRINK2_P", "VENDING", 0)
Sequence.Close(49@)
Char.PerformSequence(40@, 49@)
Sequence.Clear(49@)

:MUSIC2_4692
Camera.SetFixedPosition(1251.82, -788.354, 1084.502, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1252.463, -789.1154, 1084.42, SwitchType.JumpCut)
Text.PrintNow('STP2_19', 5000, 1)
if 
  not Char.IsDead(38@)
goto_if_false @MUSIC2_5026
Char.Delete(38@)
38@ = Char.Create(PedType.Mission1, 25, 1290.667, -778.9339, 1083.012)
Char.SetHasUsedEntryExit(38@, 1298.78, -798.2, 1.0)
Char.SetHeading(38@, 350.151)
Char.SetFollowNodeThresholdDistance(38@, 2.0)
Char.SetDecisionMaker(38@, 45@)
63@ = Blip.AddForChar(38@)
Blip.ChangeDisplay(63@, BlipDisplay.BlipOnly)
Char.GiveWeapon(38@, WeaponType.MicroUzi, 9999)
Char.SetAccuracy(38@, 100)
Char.SetDropsWeaponsWhenDead(38@, False)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(1289.988, -766.581, 1084.063, "NONE", "NONE")
Path.ExtendPatrolRoute(1270.314, -766.564, 1084.063, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(1270.074, -782.155, 1084.063, "NONE", "NONE")
Path.ExtendPatrolRoute(1290.246, -782.463, 1084.056, "ROADCROSS", "PED")
Task.FollowPatrolRoute(38@, 4, RouteMode.Loop)

:MUSIC2_5026
if 
  not Char.IsDead(39@)
goto_if_false @MUSIC2_5157
Char.Delete(39@)
39@ = Char.Create(PedType.Mission1, 25, 1267.96, -769.792, 1084.06)
Char.SetHasUsedEntryExit(39@, 1298.78, -798.2, 1.0)
Char.SetHeading(39@, 0.141)
64@ = Blip.AddForChar(39@)
Blip.ChangeDisplay(64@, BlipDisplay.BlipOnly)
Char.SetFollowNodeThresholdDistance(39@, 5.0)
Char.SetDecisionMaker(39@, 45@)
Char.GiveWeapon(39@, WeaponType.MicroUzi, 50)
Char.SetAccuracy(39@, 100)
Char.SetDropsWeaponsWhenDead(39@, False)

:MUSIC2_5157
wait 1750
skip_cutscene_start_internal @MUSIC2_5567
wait 2000
if 
  not Char.IsDead(41@)
goto_if_false @MUSIC2_5242
Task.PlayAnim(41@, "PED_CONSOLE_LOOP", "CRIB", 4.0, True, False, False, False, -1)
Char.StartFacialTalk(41@, 10000)

:MUSIC2_5242
wait 500
Camera.SetFixedPosition(1274.983, -790.5506, 1084.063, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1275.575, -791.356, 1084.035, SwitchType.JumpCut)
Text.PrintNow('LOC2_BA', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:MUSIC2_5318
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MUSIC2_5344
wait 0
goto @MUSIC2_5318

:MUSIC2_5344
Camera.SetFixedPosition(1276.301, -794.5306, 1084.231, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1276.292, -793.5345, 1084.143, SwitchType.JumpCut)
Text.PrintNow('LOC2_BB', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
if 
  not Char.IsDead(41@)
goto_if_false @MUSIC2_5541
50@ = Sequence.Open()
Task.PlayAnim(-1, "PED_CONSOLE_LOOSE", "CRIB", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PED_CONSOLE_LOOP", "CRIB", 4.0, True, False, False, False, -1)
Sequence.Close(50@)
Char.PerformSequence(41@, 50@)
Sequence.Clear(50@)

:MUSIC2_5541
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @MUSIC2_5567
wait 0
goto @MUSIC2_5541

:MUSIC2_5567
skip_cutscene_end 
Char.Delete(40@)
Char.Delete(41@)
40@ = Char.Create(PedType.Mission1, 25, 1258.271, -793.395, 1083.289)
Char.SetHasUsedEntryExit(40@, 1298.78, -798.2, 1.0)
Char.SetHeading(40@, 354.328)
Task.PlayAnim(40@, "ATM", "PED", 4.0, True, False, False, False, -1)
65@ = Blip.AddForChar(40@)
Blip.ChangeDisplay(65@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(40@, 45@)
Char.SetDropsWeaponsWhenDead(40@, False)
Char.GiveWeapon(40@, WeaponType.MicroUzi, 5000)
Char.SetAccuracy(40@, 100)
Char.SetInformRespectedFriends(40@, 5.0, 1)
41@ = Char.Create(PedType.Mission1, 24, 1276.795, -792.368, 1083.055)
Char.SetHasUsedEntryExit(41@, 1298.78, -798.2, 1.0)
Char.SetHeading(41@, 180.0)
Char.SetDecisionMaker(41@, 45@)
Char.SetDropsWeaponsWhenDead(41@, False)
Char.GiveWeapon(41@, WeaponType.MicroUzi, 5000)
66@ = Blip.AddForChar(41@)
Blip.ChangeDisplay(66@, BlipDisplay.BlipOnly)
Char.SetAccuracy(41@, 100)
Char.SetInformRespectedFriends(41@, 5.0, 1)
43@ = Char.Create(PedType.Mission1, 25, 1262.533, -805.139, 1083.056)
Char.SetHasUsedEntryExit(43@, 1298.78, -798.2, 1.0)
Char.SetHeading(43@, 359.265)
Char.SetDecisionMaker(43@, 45@)
68@ = Blip.AddForChar(43@)
Blip.ChangeDisplay(68@, BlipDisplay.BlipOnly)
Char.SetDropsWeaponsWhenDead(43@, False)
Char.GiveWeapon(43@, WeaponType.MicroUzi, 5555)
Char.SetAccuracy(43@, 100)
if 
  not Char.IsDead(41@)
goto_if_false @MUSIC2_5996
Task.PlayAnim(41@, "PED_CONSOLE_LOOP", "CRIB", 4.0, True, False, False, False, -1)

:MUSIC2_5996
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
if 
  96@ == 1
goto_if_false @MUSIC2_6046
Task.ToggleDuck($stattreadstamina_ctr, True)

:MUSIC2_6046
96@ = 0
TIMERA = 0
TIMERB = 0
71@ = 9
Text.PrintHelp('STP2_36')
74@ = 1

:MUSIC2_6092
if 
  74@ == 1
goto_if_false @MUSIC2_6284
$on_footY = Char.GetSpeed($stattreadstamina_ctr)
if 
  not Char.IsDead(40@)
goto_if_false @MUSIC2_6284
if or
  Char.IsInArea3D($stattreadstamina_ctr, 1246.77, -785.08, 1083.26, 1255.87, -797.69, 1090.0, False)
  $on_footY > 0.0
goto_if_false @MUSIC2_6284
Char.SetHeading(40@, 168.503)
51@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1256.29, -795.6, 1084.289, MoveState.Walk, -1)
Task.PlayAnim(-1, "ATM", "PED", 4.0, True, False, False, False, -1)
Sequence.Close(51@)
Char.PerformSequence(40@, 51@)
Sequence.Clear(51@)
74@ = 2

:MUSIC2_6284
if 
  Pickup.HasBeenCollected(59@)
goto_if_false @MUSIC2_6412
Blip.Remove(61@)
61@ = Blip.AddForCoord(1298.74, -797.46, 1083.4)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MUSIC2_6348
Pad.SetPlayerCycleWeaponButton($statbike_temp, True)

:MUSIC2_6348
Blip.SetEntryExit(61@, 1298.78, -798.2, 1.0)
Text.PrintNow('STP2_40', 7000, 1)
TIMERA = 0
TIMERB = 0
70@ = 3
85@ = 1

:MUSIC2_6412
if 
  Char.IsDead(37@)
goto_if_false @MUSIC2_6449
if 
  Blip.DoesExist(62@)
goto_if_false @MUSIC2_6449
Blip.Remove(62@)

:MUSIC2_6449
if 
  Char.IsDead(38@)
goto_if_false @MUSIC2_6486
if 
  Blip.DoesExist(63@)
goto_if_false @MUSIC2_6486
Blip.Remove(63@)

:MUSIC2_6486
if 
  Char.IsDead(39@)
goto_if_false @MUSIC2_6523
if 
  Blip.DoesExist(64@)
goto_if_false @MUSIC2_6523
Blip.Remove(64@)

:MUSIC2_6523
if 
  Char.IsDead(40@)
goto_if_false @MUSIC2_6560
if 
  Blip.DoesExist(65@)
goto_if_false @MUSIC2_6560
Blip.Remove(65@)

:MUSIC2_6560
if 
  Char.IsDead(41@)
goto_if_false @MUSIC2_6597
if 
  Blip.DoesExist(66@)
goto_if_false @MUSIC2_6597
Blip.Remove(66@)

:MUSIC2_6597
if 
  Char.IsDead(43@)
goto_if_false @MUSIC2_6634
if 
  Blip.DoesExist(68@)
goto_if_false @MUSIC2_6634
Blip.Remove(68@)

:MUSIC2_6634
if 
  70@ == 3
goto_if_false @MUSIC2_8723
if 
  85@ == 1
goto_if_false @MUSIC2_8035
World.DisableAllEntryExits(False)
60@ = Pickup.CreateWithAmmo(347, PickupType.Once, 30, 1237.418, -808.5872, 1084.09)
Char.Delete(37@)
Char.Delete(38@)
Char.Delete(39@)
37@ = Char.Create(PedType.Mission1, 24, 1243.53, -812.19, 1083.04)
Char.SetHasUsedEntryExit(37@, 1298.78, -798.2, 1.0)
Char.SetHeading(37@, 270.948)
Char.SetDecisionMaker(37@, 45@)
62@ = Blip.AddForChar(37@)
Blip.ChangeDisplay(62@, BlipDisplay.BlipOnly)
Char.GiveWeapon(37@, WeaponType.PistolSilenced, 99999)
Char.SetFollowNodeThresholdDistance(37@, 2.0)
Task.FollowPathNodesToCoord(37@, 1270.694, -802.518, 1084.05, 4, -2)
Char.SetInformRespectedFriends(37@, 10.0, 1)
Char.SetAccuracy(37@, 100)
38@ = Char.Create(PedType.Mission1, 25, 1280.02, -789.01, 1083.05)
Char.SetHasUsedEntryExit(38@, 1298.78, -798.2, 1.0)
Char.SetHeading(38@, 91.837)
Char.SetDecisionMaker(38@, 45@)
63@ = Blip.AddForChar(38@)
Blip.ChangeDisplay(63@, BlipDisplay.BlipOnly)
Char.GiveWeapon(38@, WeaponType.PistolSilenced, 99999)
Char.SetInformRespectedFriends(38@, 5.0, 1)
Char.SetAccuracy(38@, 100)
42@ = Char.Create(PedType.Mission1, 24, 1249.768, -780.616, 1084.063)
Char.SetHasUsedEntryExit(42@, 1298.78, -798.2, 1.0)
Char.SetHeading(42@, 3.43)
67@ = Blip.AddForChar(42@)
Blip.ChangeDisplay(67@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(42@, 45@)
Char.GiveWeapon(42@, WeaponType.PistolSilenced, 99999)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(1249.799, -769.679, 1084.063, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(1267.62, -769.651, 1084.06, "NONE", "NONE")
Path.ExtendPatrolRoute(1249.799, -769.679, 1084.063, "NONE", "NONE")
Path.ExtendPatrolRoute(1249.768, -780.616, 1084.063, "NONE", "NONE")
Task.FollowPatrolRoute(42@, 4, RouteMode.Loop)
Char.SetInformRespectedFriends(42@, 15.0, 2)
if 
  not Char.IsDead(41@)
goto_if_false @MUSIC2_7371
Char.Delete(41@)
41@ = Char.Create(PedType.Mission1, 24, 1276.795, -792.368, 1083.055)
Char.SetHasUsedEntryExit(41@, 1298.78, -798.2, 1.0)
Char.SetHeading(41@, 180.0)
Char.SetDecisionMaker(41@, 46@)
Char.GiveWeapon(41@, WeaponType.PistolSilenced, 99999)
66@ = Blip.AddForChar(41@)
Blip.ChangeDisplay(66@, BlipDisplay.BlipOnly)
Task.PlayAnim(41@, "PED_CONSOLE_LOOP", "CRIB", 4.0, True, False, False, False, -1)
Char.SetInformRespectedFriends(41@, 20.0, 1)
goto @MUSIC2_7487

:MUSIC2_7371
Char.RemoveElegantly(41@)
41@ = Char.Create(PedType.Mission1, 24, 1270.616, -792.298, 1084.047)
Char.SetHasUsedEntryExit(41@, 1298.78, -798.2, 1.0)
Char.SetHeading(41@, 186.126)
Char.SetDecisionMaker(41@, 46@)
Char.GiveWeapon(41@, WeaponType.PistolSilenced, 99999)
66@ = Blip.AddForChar(41@)
Blip.ChangeDisplay(66@, BlipDisplay.BlipOnly)
Task.SitDown(41@, 400000)
Char.SetInformRespectedFriends(41@, 20.0, 1)

:MUSIC2_7487
if 
  not Char.IsDead(40@)
goto_if_false @MUSIC2_7646
Char.Delete(40@)
40@ = Char.Create(PedType.Mission1, 25, 1256.492, -795.662, 1084.282)
Char.SetHasUsedEntryExit(40@, 1298.78, -798.2, 1.0)
Char.SetHeading(40@, 186.842)
Task.PlayAnim(40@, "ATM", "PED", 4.0, True, False, False, False, -1)
65@ = Blip.AddForChar(40@)
Blip.ChangeDisplay(65@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(40@, 46@)
Char.GiveWeapon(40@, WeaponType.PistolSilenced, 99999)
Char.SetInformRespectedFriends(40@, 10.0, 1)
goto @MUSIC2_7782

:MUSIC2_7646
Char.RemoveElegantly(40@)
40@ = Char.Create(PedType.Mission1, 25, 1252.99, -795.461, 1083.282)
Char.SetHasUsedEntryExit(40@, 1298.78, -798.2, 1.0)
Char.SetHeading(40@, 186.842)
Task.PlayAnim(40@, "ATM", "PED", 4.0, True, False, False, False, -1)
65@ = Blip.AddForChar(40@)
Blip.ChangeDisplay(65@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(40@, 46@)
Char.GiveWeapon(40@, WeaponType.PistolSilenced, 99999)
Char.SetInformRespectedFriends(40@, 10.0, 1)

:MUSIC2_7782
44@ = Char.Create(PedType.Mission1, 25, 1290.667, -778.9339, 1083.012)
Char.SetHasUsedEntryExit(44@, 1298.78, -798.2, 1.0)
Char.SetHeading(44@, 350.151)
Char.SetFollowNodeThresholdDistance(44@, 5.0)
Char.SetDecisionMaker(44@, 46@)
69@ = Blip.AddForChar(44@)
Blip.ChangeDisplay(69@, BlipDisplay.BlipOnly)
Char.GiveWeapon(44@, WeaponType.PistolSilenced, 5000)
Char.SetAccuracy(44@, 100)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(1289.988, -766.581, 1084.063, "NONE", "NONE")
Path.ExtendPatrolRoute(1270.314, -766.564, 1084.063, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(1270.074, -782.155, 1084.063, "NONE", "NONE")
Path.ExtendPatrolRoute(1290.246, -782.463, 1084.056, "ROADCROSS", "PED")
Task.FollowPatrolRoute(44@, 4, RouteMode.Loop)
78@ = 0
85@ = 2

:MUSIC2_8035
if 
  94@ == 0
goto_if_false @MUSIC2_8156
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1282.61, -787.389, 1084.063, 6.0, 6.0, 6.0, False)
goto_if_false @MUSIC2_8156
if 
  not Char.IsDead(40@)
goto_if_false @MUSIC2_8125
Char.SetDecisionMaker(40@, 45@)

:MUSIC2_8125
if 
  not Char.IsDead(41@)
goto_if_false @MUSIC2_8149
Char.SetDecisionMaker(41@, 45@)

:MUSIC2_8149
94@ = 1

:MUSIC2_8156
if 
  78@ == 0
goto_if_false @MUSIC2_8253
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 1249.61, -772.86, 1083.46, 7.0, 7.0, 5.0, False)
goto_if_false @MUSIC2_8253
if 
  not Char.IsDead(44@)
goto_if_false @MUSIC2_8253
Char.SetDecisionMaker(44@, 45@)
78@ = 1

:MUSIC2_8253
if 
  85@ > 0
goto_if_false @MUSIC2_8326
if 
  71@ == 9
goto_if_false @MUSIC2_8326
if 
  TIMERA > 8500
goto_if_false @MUSIC2_8326
Text.PrintHelp('STP2_33')
71@ = 10

:MUSIC2_8326
34@ = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  34@ == 0
goto_if_false @MUSIC2_8427
Blip.Remove(61@)

:MUSIC2_8357
if 
  not Camera.GetFadingStatus
goto_if_false @MUSIC2_8381
wait 0
goto @MUSIC2_8357

:MUSIC2_8381
Char.SetCoordinates($stattreadstamina_ctr, 1299.664, -800.546, 83.148)
Char.SetHeading($stattreadstamina_ctr, 271.284)
Camera.SetBehindPlayer
85@ = 2
70@ = 4

:MUSIC2_8427
if 
  Char.IsDead(37@)
goto_if_false @MUSIC2_8464
if 
  Blip.DoesExist(62@)
goto_if_false @MUSIC2_8464
Blip.Remove(62@)

:MUSIC2_8464
if 
  Char.IsDead(38@)
goto_if_false @MUSIC2_8501
if 
  Blip.DoesExist(63@)
goto_if_false @MUSIC2_8501
Blip.Remove(63@)

:MUSIC2_8501
if 
  Char.IsDead(39@)
goto_if_false @MUSIC2_8538
if 
  Blip.DoesExist(64@)
goto_if_false @MUSIC2_8538
Blip.Remove(64@)

:MUSIC2_8538
if 
  Char.IsDead(40@)
goto_if_false @MUSIC2_8575
if 
  Blip.DoesExist(65@)
goto_if_false @MUSIC2_8575
Blip.Remove(65@)

:MUSIC2_8575
if 
  Char.IsDead(41@)
goto_if_false @MUSIC2_8612
if 
  Blip.DoesExist(66@)
goto_if_false @MUSIC2_8612
Blip.Remove(66@)

:MUSIC2_8612
if 
  Char.IsDead(42@)
goto_if_false @MUSIC2_8649
if 
  Blip.DoesExist(67@)
goto_if_false @MUSIC2_8649
Blip.Remove(67@)

:MUSIC2_8649
if 
  Char.IsDead(43@)
goto_if_false @MUSIC2_8686
if 
  Blip.DoesExist(68@)
goto_if_false @MUSIC2_8686
Blip.Remove(68@)

:MUSIC2_8686
if 
  Char.IsDead(44@)
goto_if_false @MUSIC2_8723
if 
  Blip.DoesExist(69@)
goto_if_false @MUSIC2_8723
Blip.Remove(69@)

:MUSIC2_8723
if 
  85@ == 2
goto_if_false @MUSIC2_9012
if 
  70@ == 4
goto_if_false @MUSIC2_9012
61@ = Blip.AddForCoord(790.0, -1631.0, 12.43)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
53@ = Car.Create(510, 1306.718, -797.24, 83.66)
Car.SetHeading(53@, 206.253)
Char.Delete(37@)
Char.Delete(38@)
Char.Delete(39@)
Char.Delete(40@)
Char.Delete(41@)
Char.Delete(42@)
Char.Delete(43@)
Blip.Remove(62@)
Blip.Remove(63@)
Blip.Remove(64@)
Blip.Remove(65@)
Blip.Remove(66@)
Blip.Remove(67@)
Blip.Remove(68@)
Streaming.MarkModelAsNoLongerNeeded(24)
Streaming.MarkModelAsNoLongerNeeded(25)
Streaming.MarkModelAsNoLongerNeeded(579)
Streaming.MarkModelAsNoLongerNeeded(580)
Streaming.MarkModelAsNoLongerNeeded(#KMB_RHYMESBOOK)
Streaming.MarkModelAsNoLongerNeeded(#CJ_JUICE_CAN)
Streaming.MarkModelAsNoLongerNeeded(347)
Streaming.RemoveAnimation("CRIB")
Streaming.RemoveAnimation("VENDING")
Streaming.MarkModelAsNoLongerNeeded(335)
Hud.SetRadarZoom(0)
Blip.Remove(62@)
Blip.Remove(63@)
Blip.Remove(64@)
Blip.Remove(65@)
Blip.Remove(66@)
Blip.Remove(67@)
Blip.Remove(68@)
Text.PrintNow('STP2_30', 7000, 1)
70@ = 5
TIMERA = 0

:MUSIC2_9012
if 
  97@ == 0
goto_if_false @MUSIC2_9072
if 
  not Car.IsDead(53@)
goto_if_false @MUSIC2_9072
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 53@)
goto_if_false @MUSIC2_9072
97@ = 1

:MUSIC2_9072
if 
  70@ == 5
goto_if_false @MUSIC2_9606
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 788.05, -1630.31, 12.42, 2.0, 2.0, 5.0, True)
goto_if_false @MUSIC2_9606
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.DoFade(1000, Fade.Out)

:MUSIC2_9156
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC2_9180
wait 0
goto @MUSIC2_9156

:MUSIC2_9180
World.ClearArea(-1095.489, -1630.609, 50.0, 50.0, True)
Car.MarkAsNoLongerNeeded(53@)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MUSIC2_9300
$stealth_help_flag = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetCoordinates($stealth_help_flag, 784.686, -1613.7, 12.22)
Car.SetHeading($stealth_help_flag, 353.08)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 785.75, -1632.84, 12.43)
Char.SetHeading($stattreadstamina_ctr, 316.0)
goto @MUSIC2_9330

:MUSIC2_9300
Char.SetCoordinates($stattreadstamina_ctr, 785.75, -1632.84, 12.43)
Char.SetHeading($stattreadstamina_ctr, 316.0)

:MUSIC2_9330
Streaming.RequestAnimation("GANGS")
Streaming.LoadSpecialCharacter(1, 'OGLOC')
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 21805)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 21806)
Streaming.LoadAllModelsNow

:MUSIC2_9376
if or
  not Streaming.HasAnimationLoaded("GANGS")
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @MUSIC2_9415
wait 0
goto @MUSIC2_9376

:MUSIC2_9415
52@ = Char.Create(PedType.Special, 290, 792.72, -1626.6, 12.43)
Char.SetHeading(52@, 114.71)
Char.SetDecisionMaker(52@, 46@)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.ShutUp(52@, True)
Char.ShutUp($stattreadstamina_ctr, True)
Camera.DoFade(2000, Fade.In)
95@ = 1
Camera.SetFixedPosition(785.7997, -1635.43, 13.4579, 0.0, 0.0, 0.0)
Camera.PointAtPoint(786.2913, -1634.565, 13.3583, SwitchType.JumpCut)
Task.GoStraightToCoord($stattreadstamina_ctr, 788.98, -1629.61, 12.59, MoveState.Walk, -1)
Task.GoStraightToCoord(52@, 788.98, -1629.61, 12.59, MoveState.Walk, -1)
TIMERA = 0
70@ = 6

:MUSIC2_9606
if 
  70@ == 6
goto_if_false @MUSIC2_9861
if 
  TIMERA > 2440
goto_if_false @MUSIC2_9861
if 
  not Char.IsDead(52@)
goto_if_false @MUSIC2_9861
Camera.SetFixedPosition(788.2733, -1628.832, 13.9503, 0.0, 0.0, 0.0)
Camera.PointAtPoint(788.473, -1629.811, 13.9214, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 787.973, -1630.274, 12.42)
Char.SetHeading($stattreadstamina_ctr, 310.378)
Char.SetCoordinates(52@, 788.7348, -1629.626, 12.42)
Char.SetHeading(52@, 130.378)
Char.ClearTasksImmediately(52@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.PlayAnim(52@, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim($stattreadstamina_ctr, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -1)
70@ = 7

:MUSIC2_9861
if 
  70@ > 4
goto_if_false @MUSIC2_10526
if 
  not Char.IsDead(52@)
goto_if_false @MUSIC2_10526
if 
  95@ == 1
goto_if_false @MUSIC2_9948
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
Text.PrintNow('LOC2_CA', 5000, 1)
95@ = 2

:MUSIC2_9948
if 
  95@ == 2
goto_if_false @MUSIC2_10006
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MUSIC2_10006
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 21807)
95@ = 3

:MUSIC2_10006
if 
  95@ == 3
goto_if_false @MUSIC2_10059
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('LOC2_CB', 5000, 1)
Char.StartFacialTalk(52@, 10000)
95@ = 4

:MUSIC2_10059
if 
  95@ == 4
goto_if_false @MUSIC2_10117
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @MUSIC2_10117
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Char.StopFacialTalk(52@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 21808)
95@ = 5

:MUSIC2_10117
if 
  95@ == 5
goto_if_false @MUSIC2_10185
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MUSIC2_10185
Text.PrintNow('LOC2_CC', 5000, 1)
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
95@ = 6

:MUSIC2_10185
if 
  95@ == 6
goto_if_false @MUSIC2_10232
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MUSIC2_10232
Text.ClearPrints
Char.StopFacialTalk($stattreadstamina_ctr)
95@ = 7

:MUSIC2_10232
if 
  95@ == 7
goto_if_false @MUSIC2_10390
Camera.SetFixedPosition(773.2047, -1633.066, 17.7324, 0.0, 0.0, 0.0)
Camera.PointAtPoint(774.1813, -1632.908, 17.5877, SwitchType.JumpCut)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('LOC2_DC', 5000, 1)
Char.StartFacialTalk(52@, 4000)
Task.GoStraightToCoord($stattreadstamina_ctr, 806.1331, -1630.219, 12.3906, MoveState.Walk, 60000)
Task.GoStraightToCoord(52@, 793.8177, -1625.155, 12.3828, MoveState.Walk, 60000)
95@ = 8

:MUSIC2_10390
if 
  95@ == 8
goto_if_false @MUSIC2_10526
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @MUSIC2_10526
Camera.DoFade(1000, Fade.Out)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)

:MUSIC2_10436
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC2_10460
wait 0
goto @MUSIC2_10436

:MUSIC2_10460
Char.SetCoordinates($stattreadstamina_ctr, 808.299, -1630.424, 12.42)
Char.SetHeading($stattreadstamina_ctr, 254.602)
Camera.DoFade(1000, Fade.In)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
goto @MUSIC2_10551
95@ = 9

:MUSIC2_10526
goto @MUSIC2_769

:MUSIC2_10533
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:MUSIC2_10551
Stat.RegisterMissionPassed('STRAP_2')
Text.PrintWithNumberBig('M_PASSR', 4, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(4)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.PlayerMadeProgress(1)
$introX += 1
return 

:MUSIC2_10606
Game.SetScriptLimitToGangSize(99)
Char.RemoveElegantly(52@)
Pickup.Remove(60@)
World.SwitchEntryExit('MADDOGS', False)
World.SwitchEntryExit('MDDOGS', False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MUSIC2_10676
Pad.SetPlayerCycleWeaponButton($statbike_temp, True)
Player.SetGroupRecruitment($statbike_temp, True)

:MUSIC2_10676
Game.SetWantedMultiplier(1.0)
Hud.SetRadarZoom(0)
Char.ShutUp($stattreadstamina_ctr, False)
Blip.Remove(61@)
Blip.Remove(62@)
Blip.Remove(63@)
Blip.Remove(64@)
Blip.Remove(65@)
Blip.Remove(66@)
Blip.Remove(67@)
Blip.Remove(68@)
Pickup.Remove(59@)
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveAnimation("GANGS")
Streaming.MarkModelAsNoLongerNeeded(510)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(24)
Streaming.MarkModelAsNoLongerNeeded(25)
Streaming.MarkModelAsNoLongerNeeded(579)
Streaming.MarkModelAsNoLongerNeeded(580)
Streaming.MarkModelAsNoLongerNeeded(#KMB_RHYMESBOOK)
Streaming.MarkModelAsNoLongerNeeded(#CJ_JUICE_CAN)
Streaming.MarkModelAsNoLongerNeeded(347)
Streaming.RemoveAnimation("CRIB")
Streaming.RemoveAnimation("VENDING")
Streaming.MarkModelAsNoLongerNeeded(335)
$weapon_shop1_blip = 0
World.DisableAllEntryExits(False)
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 33---------------
// Originally: Management Issues

:MUSIC3
script_name 'MUSIC3'
gosub @MUSIC3_47
if 
  has_deatharrest_been_executed 
goto_if_false @MUSIC3_38
gosub @MUSIC3_15522

:MUSIC3_38
gosub @MUSIC3_15626
terminate_this_script 

:MUSIC3_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('STRAP3')
if 
  $weapon_shop1_blip == 0
goto_if_false @MUSIC3_805
90@ = Object.Create(#DYN_ROADBARRIER_2, 1024.5, -1123.2, 22.9)
91@ = Object.Create(#DYN_ROADBARRIER_2, 1024.5, -1127.2, 22.9)
92@ = Object.Create(#DYN_ROADBARRIER_2, 1024.5, -1131.2, 22.9)
93@ = Object.Create(#DYN_ROADBARRIER_2, 1020.5, -1123.2, 22.9)
94@ = Object.Create(#DYN_ROADBARRIER_2, 1020.5, -1127.2, 22.9)
95@ = Object.Create(#DYN_ROADBARRIER_2, 1020.5, -1131.2, 22.9)
96@ = Object.Create(#DYN_ROADBARRIER_2, 1016.5, -1133.2, 22.9)
97@ = Object.Create(#DYN_ROADBARRIER_2, 1012.5, -1133.2, 22.9)
98@ = Object.Create(#DYN_ROADBARRIER_2, 1008.5, -1133.2, 22.9)
99@ = Object.Create(#DYN_ROADBARRIER_2, 1028.5, -1133.2, 22.9)
100@ = Object.Create(#DYN_ROADBARRIER_2, 1032.5, -1133.2, 22.9)
101@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
78@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
79@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
80@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
81@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
82@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
83@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
84@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
85@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
86@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
87@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
88@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
89@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
113@ = Blip.AddForCoord(1118.3, -1140.9, 22.2)
63@ = Char.Create(PedType.Mission2, 280, 1023.4, -1121.0, 22.9)
70@ = Char.Create(PedType.Mission2, 280, 1023.4, -1121.0, 22.9)
67@ = Car.Create(507, 1174.1, -926.8, 43.6)
65@ = Char.Create(PedType.Mission2, 280, 1023.4, -1121.0, 22.9)
64@ = Char.Create(PedType.Mission2, 280, 1023.4, -1121.0, 22.9)
111@ = Char.Create(PedType.Mission2, 280, 1023.4, -1121.0, 22.9)

:MUSIC3_805
Text.ClearPrints
wait 0
122@ = 0
123@ = 0
124@ = 0
125@ = 0
175@ = 0
126@ = 0
$on_footY = 0.0
$on_footZ = 0.0
$in_carX = 0.0
140@ = 0
127@ = 0
128@ = 0
129@ = 0
130@ = 0
131@ = 0
132@ = 0
133@ = 0
134@ = 0
set_lvar_int_to_constant 136@ = 24
141@ = 0
142@ = 0
225@ = 0.0
226@ = 0.0
227@ = 0.0
228@ = 0.0
229@ = 0.0
230@ = 0.0
143@ = 0
144@ = 0
145@ = 0
146@ = 0
147@ = 0
148@ = 0
149@ = 0
$player_is_completely_safe_for_mobile = 0
150@ = 0
157@ = 0.0
152@ = 0
153@ = 0
154@ = 0
155@ = 0
159@ = 0
160@ = 0
161@ = 0
162@ = 0
174@ = 0
175@ = 0
176@ = 0
177@ = 0
220@ = 0
221@ = 0
222@ = 0
223@ = 0
224@ = 0
163@ = 0
164@ = 0
165@ = 0
166@ = 0
167@ = 0
168@ = 0
169@ = 0
156@ = 0
170@ = 0
171@ = 0
Player.MakeGangDisappear
Streaming.SetAreaVisible(10)
Camera.SetFadingColor(0, 0, 0)
Cutscene.Load('STRAP3A')

:MUSIC3_1314
if 
  not Cutscene.HasLoaded
goto_if_false @MUSIC3_1338
wait 0
goto @MUSIC3_1314

:MUSIC3_1338
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MUSIC3_1347
if 
  not Cutscene.HasFinished
goto_if_false @MUSIC3_1371
wait 0
goto @MUSIC3_1347

:MUSIC3_1371
Camera.DoFade(0, Fade.Out)

:MUSIC3_1377
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_1401
wait 0
goto @MUSIC3_1377

:MUSIC3_1401
Streaming.SetAreaVisible(0)
Cutscene.Clear
Player.MakeGangReappear
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
wait 0
Streaming.RequestModel(24)
Streaming.RequestModel(507)
Streaming.RequestModel(346)
Streaming.RequestModel(330)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 24600)
Streaming.LoadAllModelsNow
Group.Remove($flag_cell_nation)
Player.SetGroupRecruitment($statbike_temp, False)
233@ = DecisionMakerChar.Copy(65542)
234@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
World.ClearArea(1214.8, -921.7, 41.7, 5.0, True)
set_lvar_int_to_constant 169@ = 507
gosub @MUSIC3_23348
73@ = Car.Create(507, 1214.8, -921.7, 41.7)
Car.SetHeading(73@, 169.3)
Car.ChangeColor(73@, 0, 0)
Car.SetCanRespray(73@, False)
Car.SetOnlyDamagedByPlayer(73@, True)
Car.LockDoors(73@, CarLock.Unlocked)
Car.SetOnlyDamagedByPlayer(73@, True)
Car.SetCanBurstTires(73@, False)
113@ = Blip.AddForCar(73@)
76@ = Char.CreateInsideCar(73@, PedType.Mission2, 24)
Char.GiveWeapon(76@, WeaponType.Pistol, 3000)
Char.SetDecisionMaker(76@, 234@)
World.ClearArea(1297.6, -1137.2, 22.5, 5.0, True)
set_lvar_int_to_constant 169@ = 507
gosub @MUSIC3_23348
72@ = Car.Create(507, 1297.6, -1137.2, 22.5)
Car.SetHeading(72@, 90.0)
Car.SetOnlyDamagedByPlayer(72@, True)
Car.ChangeColor(72@, 0, 0)
Car.MarkAsConvoyCar(72@, True)
Car.LockDoors(72@, CarLock.LockoutPlayerOnly)
Car.FreezePositionAndDontLoadCollision(72@, True)
Car.SetCanBurstTires(72@, False)
World.ClearArea(1316.5, -1137.2, 22.5, 5.0, True)
set_lvar_int_to_constant 169@ = 507
gosub @MUSIC3_23348
74@ = Car.Create(507, 1316.5, -1137.2, 22.5)
Car.SetHeading(74@, 90.0)
Car.SetOnlyDamagedByPlayer(74@, True)
Car.ChangeColor(74@, 0, 0)
Car.MarkAsConvoyCar(74@, True)
Car.LockDoors(74@, CarLock.LockoutPlayerOnly)
Car.SetDrivingStyle(74@, DrivingMode.SlowDownForCars)
Car.FreezePositionAndDontLoadCollision(74@, True)
Car.SetCanBurstTires(74@, False)
Car.SetStraightLineDistance(74@, 50)
Car.SetCanBeVisiblyDamaged(74@, False)
Path.MarkRoadNodeAsDontWander(76.6, -1527.6, 4.1)
Path.MarkRoadNodeAsDontWander(162.2, -1394.6, 46.8)
Path.MarkRoadNodeAsDontWander(273.2, -980.9, 47.4)
Path.MarkRoadNodeAsDontWander(362.8, -1147.8, 77.0)
Path.MarkRoadNodeAsDontWander(378.1, -1147.4, 77.0)
Path.MarkRoadNodeAsDontWander(1536.4, -994.8, 41.5)
Path.MarkRoadNodeAsDontWander(1638.7, -1177.5, 54.1)
Path.MarkRoadNodeAsDontWander(1873.9, -1009.4, 35.0)
Path.MarkRoadNodeAsDontWander(2887.8, -1121.4, 9.8)
Path.MarkRoadNodeAsDontWander(165.8, -1185.3, 51.8)
Path.MarkRoadNodeAsDontWander(695.7, -995.6, 51.0)
Path.MarkRoadNodeAsDontWander(794.8, -1033.6, 23.7)
Path.MarkRoadNodeAsDontWander(1311.1, -701.7, 91.7)
Path.MarkRoadNodeAsDontWander(2838.7, -1024.2, 21.5)
Text.PrintNow('STP3_01', 7000, 1)
Text.Print('STP3_02', 7000, 1)
World.ClearArea(794.6, -1597.1, 12.5, 1.0, True)
Streaming.LoadScene(794.6, -1597.1, 12.5)
Char.SetCoordinates($stattreadstamina_ctr, 794.6, -1597.1, 12.5)
Char.SetHeading($stattreadstamina_ctr, 45.0)
Clock.SetTimeOfDay(16, 0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.EnableAmbientCrime(False)
TIMERB = 0
Camera.DoFade(500, Fade.In)

:MUSIC3_2268
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @MUSIC3_2294
goto @MUSIC3_15540

:MUSIC3_2294
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_2326
goto @MUSIC3_15522

:MUSIC3_2326
144@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 143@ = 144@
sub_int_lvar_from_int_lvar 143@ -= 145@
set_lvar_int_to_lvar_int 145@ = 144@
sub_int_lvar_from_int_lvar 146@ -= 143@
add_int_lvar_to_int_lvar 159@ += 143@
149@, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if 
  122@ == 0
goto_if_false @MUSIC3_4538
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @MUSIC3_2442
Char.SetCoordinates($stattreadstamina_ctr, 1179.5, -920.3, 42.2)
Char.SetHeading($stattreadstamina_ctr, 99.7)

:MUSIC3_2442
if 
  175@ == 0
goto_if_false @MUSIC3_2593
if or
  123@ == 1
  123@ == 2
goto_if_false @MUSIC3_2593
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 73@, 25.0, 25.0, 25.0, False)
goto_if_false @MUSIC3_2593
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_2579
if 
  Char.IsInCar(76@, 73@)
goto_if_false @MUSIC3_2572
Text.Print('STP3_19', 7000, 1)

:MUSIC3_2572
goto @MUSIC3_2586

:MUSIC3_2579
175@ = 2

:MUSIC3_2586
175@ = 1

:MUSIC3_2593
if 
  175@ == 1
goto_if_false @MUSIC3_2753
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_2746
if 
  not Char.IsSittingInCar(76@, 73@)
goto_if_false @MUSIC3_2739
Text.ClearThisPrint('STP3_19')
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 76@, 15.0, 15.0, 15.0, False)
goto_if_false @MUSIC3_2732
if 
  174@ == 0
goto_if_false @MUSIC3_2732
174@ = 1
176@ = 0
gosub @MUSIC3_24579

:MUSIC3_2732
175@ = 2

:MUSIC3_2739
goto @MUSIC3_2753

:MUSIC3_2746
175@ = 2

:MUSIC3_2753
if 
  175@ == 2
goto_if_false @MUSIC3_2872
if 
  174@ == 0
goto_if_false @MUSIC3_2872
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_2872
if 
  not Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_2865
Text.ClearThisPrint('STP3_19')
Text.Print('STP3_11', 7000, 1)
175@ = 3
goto @MUSIC3_2872

:MUSIC3_2865
175@ = 3

:MUSIC3_2872
if 
  123@ == 0
goto_if_false @MUSIC3_3325
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_3325
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 76@, 250.0, 250.0, False)
  149@ > 17
goto_if_false @MUSIC3_3325
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @MUSIC3_3318
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MUSIC3_3097
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
174@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
174@ = 7
176@ = 0
177@ = 1
gosub @MUSIC3_24579
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
124@ = 1
skip_cutscene_start_internal @MUSIC3_3486
Task.UseMobilePhone($stattreadstamina_ctr, True)
TIMERA = 0
167@ = 1
123@ = 1
goto @MUSIC3_3311

:MUSIC3_3097
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_3262
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_3262
232@ = Sequence.Open()
Task.EnterCarAsDriver(-1, 73@, -1)
Task.CarDriveToCoord(-1, 73@, 1211.0, -932.3, 41.9, 15.0, DriveMode.Normal, 1, DrivingMode.StopForCars)
Task.CarDriveToCoord(-1, 73@, 1160.8, -1027.5, 31.4, 15.0, DriveMode.Normal, 1, DrivingMode.StopForCars)
Task.CarDriveWander(-1, 73@, 15.0, DrivingMode.StopForCars)
Sequence.Close(232@)
Char.PerformSequence(76@, 232@)
Sequence.Clear(232@)
StuckCarCheck.AddWithWarp(73@, 0.5, 4000, True, True, True, 7)

:MUSIC3_3262
174@ = 7
176@ = 0
177@ = 5
gosub @MUSIC3_24579
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
167@ = 3
123@ = 1

:MUSIC3_3311
goto @MUSIC3_3325

:MUSIC3_3318
123@ = 1

:MUSIC3_3325
if 
  167@ == 1
goto_if_false @MUSIC3_3415
if 
  TIMERA > 2000
goto_if_false @MUSIC3_3415
if 
  174@ == 0
goto_if_false @MUSIC3_3415
174@ = 7
176@ = 1
177@ = 2
gosub @MUSIC3_24579
167@ = 2

:MUSIC3_3415
if 
  167@ == 2
goto_if_false @MUSIC3_3703
if 
  174@ == 0
goto_if_false @MUSIC3_3703
174@ = 7
176@ = 2
177@ = 5
gosub @MUSIC3_24579
124@ = 0

:MUSIC3_3486
skip_cutscene_end 
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_3520
goto @MUSIC3_15522

:MUSIC3_3520
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_3685
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_3685
232@ = Sequence.Open()
Task.EnterCarAsDriver(-1, 73@, -1)
Task.CarDriveToCoord(-1, 73@, 1211.0, -932.3, 41.9, 15.0, DriveMode.Normal, 1, DrivingMode.StopForCars)
Task.CarDriveToCoord(-1, 73@, 1160.8, -1027.5, 31.4, 15.0, DriveMode.Normal, 1, DrivingMode.StopForCars)
Task.CarDriveWander(-1, 73@, 15.0, DrivingMode.StopForCars)
Sequence.Close(232@)
Char.PerformSequence(76@, 232@)
Sequence.Clear(232@)
StuckCarCheck.AddWithWarp(73@, 0.5, 4000, True, True, True, 7)

:MUSIC3_3685
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
167@ = 3

:MUSIC3_3703
if 
  167@ == 3
goto_if_false @MUSIC3_3873
if 
  174@ == 0
goto_if_false @MUSIC3_3789
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1833)
if 
  is_int_var_equal_to_constant $chickY == 1
goto_if_false @MUSIC3_3775
Task.UseMobilePhone($stattreadstamina_ctr, False)

:MUSIC3_3775
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
167@ = 4

:MUSIC3_3789
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @MUSIC3_3873
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
174@ = 0
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1833)
if 
  is_int_var_equal_to_constant $chickY == 1
goto_if_false @MUSIC3_3859
Task.UseMobilePhone($stattreadstamina_ctr, False)

:MUSIC3_3859
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
167@ = 4

:MUSIC3_3873
if 
  123@ == 1
goto_if_false @MUSIC3_3985
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_3985
if 
  Char.IsInCar(76@, 73@)
goto_if_false @MUSIC3_3985
if 
  149@ > 20
goto_if_false @MUSIC3_3985
Task.CarDriveToCoord(76@, 73@, 1316.4, -1136.5, 22.9, 15.0, DriveMode.Normal, 1, DrivingMode.AvoidCars)
123@ = 2

:MUSIC3_3985
if 
  123@ == 2
goto_if_false @MUSIC3_4106
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_4106
if 
  Char.IsInCar(76@, 73@)
goto_if_false @MUSIC3_4106
if 
  Car.Locate2D(73@, 1316.4, -1136.5, 5.0, 5.0, False)
goto_if_false @MUSIC3_4106
Text.PrintNow('STP3_03', 4000, 1)
150@ = 1
122@ = 9

:MUSIC3_4106
if 
  123@ > 0
goto_if_false @MUSIC3_4339
if 
  3 > 123@
goto_if_false @MUSIC3_4339
if 
  Car.HasBeenDamagedByChar(73@, $stattreadstamina_ctr)
goto_if_false @MUSIC3_4223
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_4211
232@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(232@)
Char.PerformSequence(76@, 232@)
Sequence.Clear(232@)

:MUSIC3_4211
StuckCarCheck.Remove(73@)
123@ = 3

:MUSIC3_4223
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_4327
if 
  not Char.IsInCar(76@, 73@)
goto_if_false @MUSIC3_4320
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_4308
232@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(232@)
Char.PerformSequence(76@, 232@)
Sequence.Clear(232@)

:MUSIC3_4308
StuckCarCheck.Remove(73@)
123@ = 3

:MUSIC3_4320
goto @MUSIC3_4339

:MUSIC3_4327
StuckCarCheck.Remove(73@)
123@ = 3

:MUSIC3_4339
if 
  149@ > 21
goto_if_false @MUSIC3_4371
150@ = 0
122@ = 9

:MUSIC3_4371
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 73@, 60.0, 60.0, False)
goto_if_false @MUSIC3_4416
Car.SetOnlyDamagedByPlayer(73@, False)
goto @MUSIC3_4423

:MUSIC3_4416
Car.SetOnlyDamagedByPlayer(73@, True)

:MUSIC3_4423
if 
  123@ == 3
goto_if_false @MUSIC3_4538
if 
  Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_4538
Blip.Remove(113@)
113@ = Blip.AddForCoord(1306.4, -1137.5, 22.5)
Text.ClearThisPrint('STP3_11')
Text.Print('STP3_33', 7000, 1)
Streaming.MarkModelAsNoLongerNeeded(330)
175@ = 0
123@ = 0
122@ = 1

:MUSIC3_4538
if 
  122@ == 1
goto_if_false @MUSIC3_5519
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @MUSIC3_4601
Char.SetCoordinates($stattreadstamina_ctr, 1306.4, -1137.5, 22.5)
Car.SetHeading(73@, 90.0)

:MUSIC3_4601
if 
  149@ > 21
goto_if_false @MUSIC3_4633
150@ = 0
122@ = 9

:MUSIC3_4633
if 
  123@ == 0
goto_if_false @MUSIC3_4899
if 
  Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_4899
if or
  not Car.IsHealthGreater(73@, 700)
  Car.IsVisiblyDamaged(73@)
goto_if_false @MUSIC3_4773
Text.ClearThisPrint('STP3_33')
if 
  175@ == 0
goto_if_false @MUSIC3_4773
Blip.Remove($flag_smoke_mission_counter)
$flag_smoke_mission_counter = Blip.AddSpriteForCoord(488.0, -1734.0, 34.4, RadarSprite.Spray)
Text.Print('STP3_22', 11000, 1)
175@ = 1

:MUSIC3_4773
if 
  Car.IsHealthGreater(73@, 700)
goto_if_false @MUSIC3_4899
if 
  not Car.IsVisiblyDamaged(73@)
goto_if_false @MUSIC3_4899
Text.ClearThisPrint('STP3_22')
Blip.Remove($flag_smoke_mission_counter)
$flag_smoke_mission_counter = Blip.AddShortRangeSpriteForCoord(488.0, -1734.0, 34.4, RadarSprite.Spray)
Blip.Remove(113@)
113@ = Blip.AddForCoord(1306.4, -1137.5, 22.5)
160@ = 0
159@ = 0
175@ = 0
123@ = 1

:MUSIC3_4899
if 
  160@ == 0
goto_if_false @MUSIC3_4959
if 
  159@ > 4000
goto_if_false @MUSIC3_4959
Text.Print('STP3_33', 7000, 1)
160@ = 1

:MUSIC3_4959
if 
  123@ == 1
goto_if_false @MUSIC3_5408
if 
  Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_5408
if 
  Car.Locate3D(73@, 1306.4, -1137.5, 22.5, 4.0, 4.0, 4.0, True)
goto_if_false @MUSIC3_5217
157@ = Car.GetHeading(73@)
if 
  157@ > 95.0
goto_if_false @MUSIC3_5110
if 
  360.0 >= 157@
goto_if_false @MUSIC3_5110
Text.PrintNow('STP3_25', 7000, 1)

:MUSIC3_5110
if 
  85.0 > 157@
goto_if_false @MUSIC3_5168
if 
  157@ >= 0.0
goto_if_false @MUSIC3_5168
Text.PrintNow('STP3_25', 7000, 1)

:MUSIC3_5168
if 
  157@ >= 85.0
goto_if_false @MUSIC3_5217
if 
  95.0 >= 157@
goto_if_false @MUSIC3_5217
123@ = 2

:MUSIC3_5217
if 
  161@ == 0
goto_if_false @MUSIC3_5327
if 
  Car.Locate3D(73@, 1306.4, -1137.5, 22.5, 15.0, 30.0, 30.0, False)
goto_if_false @MUSIC3_5327
if or
  Car.IsOnScreen(72@)
  Car.IsOnScreen(74@)
goto_if_false @MUSIC3_5327
Text.PrintNow('STP3_25', 7000, 1)
161@ = 1

:MUSIC3_5327
if or
  not Car.IsHealthGreater(73@, 700)
  Car.IsVisiblyDamaged(73@)
goto_if_false @MUSIC3_5408
Blip.Remove(113@)
Blip.Remove($flag_smoke_mission_counter)
$flag_smoke_mission_counter = Blip.AddSpriteForCoord(488.0, -1734.0, 34.4, RadarSprite.Spray)
Text.ClearPrints
Text.Print('STP3_22', 11000, 1)
123@ = 0

:MUSIC3_5408
if 
  Car.IsHealthGreater(73@, 700)
goto_if_false @MUSIC3_5512
if 
  not Car.IsVisiblyDamaged(73@)
goto_if_false @MUSIC3_5512
if 
  123@ == 2
goto_if_false @MUSIC3_5512
Player.SetControl($statbike_temp, False)
Char.MarkAsNoLongerNeeded(76@)
Blip.Remove(113@)
Blip.Remove($flag_smoke_mission_counter)
$flag_smoke_mission_counter = Blip.AddShortRangeSpriteForCoord(488.0, -1734.0, 34.4, RadarSprite.Spray)
122@ = 2

:MUSIC3_5512
gosub @MUSIC3_20743

:MUSIC3_5519
if 
  122@ == 9
goto_if_false @MUSIC3_5551
123@ = 0
122@ = 10

:MUSIC3_5551
if 
  122@ == 10
goto_if_false @MUSIC3_7206
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @MUSIC3_6507
if 
  123@ == 0
goto_if_false @MUSIC3_6507
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:MUSIC3_5621
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_5645
wait 0
goto @MUSIC3_5621

:MUSIC3_5645
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
174@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.ShutAllCharsUp(True)
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1306.4, -1137.5, 20.0, 20.0, False)
goto_if_false @MUSIC3_5766
World.ClearArea(1247.1, -1156.0, 22.7, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 1247.1, -1156.0, 22.7)

:MUSIC3_5766
Streaming.LoadScene(1305.5, -1131.7, 22.6)
Car.Delete(72@)
Car.MarkAsNoLongerNeeded(73@)
Char.Delete(76@)
Car.Delete(74@)
Audio.SetRadioChannel(RadioChannel.UserTracks)
World.ClearArea(1303.5, -1131.5, 22.6, 5.0, True)
75@ = Char.Create(PedType.Mission2, 24, 1303.5, -1131.5, 22.6)
Char.SetHeading(75@, 168.1)
Char.SetDecisionMaker(75@, 233@)
World.ClearArea(1297.6, -1137.2, 22.5, 5.0, True)
set_lvar_int_to_constant 169@ = 507
gosub @MUSIC3_23348
72@ = Car.Create(507, 1297.6, -1137.2, 22.5)
Car.SetHeading(72@, 90.0)
Car.ChangeColor(72@, 0, 0)
Car.MarkAsConvoyCar(72@, True)
Task.EnterCarAsDriver(75@, 72@, -1)
World.ClearArea(1305.5, -1131.7, 22.6, 5.0, True)
77@ = Char.Create(PedType.Mission2, 24, 1305.5, -1131.7, 22.6)
Char.SetHeading(77@, 168.1)
Char.SetDecisionMaker(77@, 233@)
World.ClearArea(1316.5, -1137.2, 22.5, 5.0, True)
set_lvar_int_to_constant 169@ = 507
gosub @MUSIC3_23348
74@ = Car.Create(507, 1316.5, -1137.2, 22.5)
Car.SetHeading(74@, 90.0)
Car.ChangeColor(74@, 0, 0)
Car.MarkAsConvoyCar(74@, True)
Car.SetStraightLineDistance(74@, 50)
if 
  150@ == 1
goto_if_false @MUSIC3_6278
World.ClearArea(1306.4, -1137.5, 22.5, 5.0, True)
set_lvar_int_to_constant 169@ = 507
gosub @MUSIC3_23348
73@ = Car.Create(507, 1306.4, -1137.5, 22.5)
Car.SetHeading(73@, 90.0)
Car.ChangeColor(73@, 0, 0)
Car.MarkAsConvoyCar(74@, True)
Car.SetStraightLineDistance(73@, 50)
140@ = Math.RandomIntInRange(0, 3)
76@ = Char.CreateInsideCar(73@, PedType.Mission2, 135@(140@,5i))
goto @MUSIC3_6352

:MUSIC3_6278
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_6352
if 
  Car.Locate2D(73@, 1306.4, -1137.5, 20.0, 20.0, False)
goto_if_false @MUSIC3_6352
Car.SetCoordinates(73@, 1247.5, -1151.8, 22.6)

:MUSIC3_6352
Camera.SetFixedPosition(1292.8, -1143.5, 24.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1302.3, -1136.2, 24.0, SwitchType.JumpCut)
Text.ClearPrints
if 
  150@ == 0
goto_if_false @MUSIC3_6446
Text.PrintNow('STP3_20', 8000, 1)
goto @MUSIC3_6462

:MUSIC3_6446
Text.PrintNow('STP3_21', 8000, 1)

:MUSIC3_6462
Camera.DoFade(500, Fade.In)

:MUSIC3_6469
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_6493
wait 0
goto @MUSIC3_6469

:MUSIC3_6493
TIMERA = 0
123@ = 1

:MUSIC3_6507
if 
  123@ == 1
goto_if_false @MUSIC3_6593
if 
  TIMERA > 1000
goto_if_false @MUSIC3_6593
if 
  not Car.IsDead(74@)
goto_if_false @MUSIC3_6586
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_6586
Task.EnterCarAsDriver(77@, 74@, -1)

:MUSIC3_6586
123@ = 2

:MUSIC3_6593
if 
  123@ == 2
goto_if_false @MUSIC3_6959
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_6959
$chickY = Char.GetScriptTaskStatus(77@, 1483)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @MUSIC3_6959
if 
  not Car.IsDead(72@)
goto_if_false @MUSIC3_6744
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC3_6744
231@ = Sequence.Open()
Task.CarDriveToCoord(-1, 72@, 1103.3, -1140.9, 22.7, 15.0, DriveMode.Accurate, 1, DrivingMode.AvoidCars)
Sequence.Close(231@)
Char.PerformSequence(75@, 231@)
Sequence.Clear(231@)

:MUSIC3_6744
if 
  not Car.IsDead(74@)
goto_if_false @MUSIC3_6839
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_6839
231@ = Sequence.Open()
Task.Pause(-1, 500)
Task.CarDriveToCoord(-1, 74@, 1103.3, -1140.9, 22.7, 15.0, DriveMode.Accurate, 1, DrivingMode.AvoidCars)
Sequence.Close(231@)
Char.PerformSequence(77@, 231@)
Sequence.Clear(231@)

:MUSIC3_6839
if 
  150@ == 1
goto_if_false @MUSIC3_6952
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_6952
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_6952
231@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.CarDriveToCoord(-1, 73@, 1103.3, -1140.9, 22.7, 15.0, DriveMode.Accurate, 1, DrivingMode.AvoidCars)
Sequence.Close(231@)
Char.PerformSequence(76@, 231@)
Sequence.Clear(231@)

:MUSIC3_6952
123@ = 3

:MUSIC3_6959
if 
  123@ == 3
goto_if_false @MUSIC3_7206
if 
  not Car.IsDead(72@)
goto_if_false @MUSIC3_7206
if 
  not Car.IsOnScreen(72@)
goto_if_false @MUSIC3_7206
Camera.DoFade(500, Fade.Out)

:MUSIC3_7016
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_7040
wait 0
goto @MUSIC3_7016

:MUSIC3_7040
Game.ShutAllCharsUp(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
225@, 226@, 227@ = Char.GetCoordinates($stattreadstamina_ctr)
Streaming.LoadScene(225@, 226@, 227@)
Text.ClearPrints
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  150@ == 0
goto_if_false @MUSIC3_7152
Text.PrintNow('STP3_20', 5500, 1)
goto @MUSIC3_7168

:MUSIC3_7152
Text.PrintNow('STP3_21', 5500, 1)

:MUSIC3_7168
Camera.DoFade(500, Fade.In)

:MUSIC3_7175
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_7199
wait 0
goto @MUSIC3_7175

:MUSIC3_7199
goto @MUSIC3_15522

:MUSIC3_7206
if 
  122@ == 2
goto_if_false @MUSIC3_9825
if 
  126@ == 0
goto_if_false @MUSIC3_7589
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
174@ = 0
Zone.SwitchAudio('AWARDS', True)
Game.ShutAllCharsUp(True)
Player.ClearWantedLevel($statbike_temp)
World.ClearArea(1303.5, -1131.5, 22.6, 5.0, True)
75@ = Char.Create(PedType.Mission2, 24, 1303.5, -1131.5, 22.6)
Char.SetHeading(75@, 168.1)
Char.GiveWeapon(75@, WeaponType.Pistol, 3000)
Char.SetDecisionMaker(75@, 233@)
World.ClearArea(1305.5, -1131.7, 22.6, 5.0, True)
77@ = Char.Create(PedType.Mission2, 24, 1305.5, -1131.7, 22.6)
Char.SetHeading(77@, 168.1)
Char.GiveWeapon(77@, WeaponType.Pistol, 3000)
Char.SetDecisionMaker(77@, 233@)
World.ClearArea(1306.4, -1137.5, 22.5, 5.0, True)
Car.SetCoordinates(73@, 1306.4, -1137.5, 22.5)
Car.SetHeading(73@, 90.0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.SetFixedPosition(1288.6, -1146.2, 28.9, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1301.0, -1137.2, 23.3, SwitchType.JumpCut)
Car.FreezePositionAndDontLoadCollision(72@, False)
Task.EnterCarAsDriver(75@, 72@, -1)
TIMERA = 0
126@ = 1

:MUSIC3_7589
if 
  126@ == 1
goto_if_false @MUSIC3_7680
if 
  TIMERA > 1000
goto_if_false @MUSIC3_7680
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_7659
Car.FreezePositionAndDontLoadCollision(74@, False)
Task.EnterCarAsDriver(77@, 74@, -1)

:MUSIC3_7659
124@ = 1
skip_cutscene_start_internal @MUSIC3_8918
126@ = 2

:MUSIC3_7680
if 
  126@ == 2
goto_if_false @MUSIC3_7778
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_7778
$chickY = Char.GetScriptTaskStatus(77@, 1483)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @MUSIC3_7778
174@ = 8
176@ = 0
177@ = 2
gosub @MUSIC3_24579
126@ = 3

:MUSIC3_7778
if 
  126@ == 3
goto_if_false @MUSIC3_8154
if 
  174@ == 0
goto_if_false @MUSIC3_8154
Camera.DoFade(500, Fade.Out)

:MUSIC3_7821
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_7845
wait 0
goto @MUSIC3_7821

:MUSIC3_7845
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_7877
goto @MUSIC3_15522

:MUSIC3_7877
Streaming.RequestModel(20)
Streaming.RequestModel(91)
Streaming.RequestModel(367)
Streaming.RequestModel(409)
Streaming.RequestModel(280)
Streaming.RequestModel(#DYN_ROADBARRIER_2)
Streaming.LoadAllModelsNow
Audio.SetRadioChannel(RadioChannel.UserTracks)

:MUSIC3_7911
if 
  130@ == 0
goto_if_false @MUSIC3_7947
wait 0
gosub @MUSIC3_16559
goto @MUSIC3_7911

:MUSIC3_7947
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_7979
goto @MUSIC3_15522

:MUSIC3_7979
Clock.SetTimeOfDay(22, 0)
World.ClearArea(1022.2, -1133.2, 24.0, 80.0, True)
Streaming.LoadScene(1022.2, -1133.2, 24.0)
Camera.SetFixedPosition(996.6, -1144.4, 29.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1018.9, -1133.7, 23.5, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:MUSIC3_8084
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_8108
wait 0
goto @MUSIC3_8084

:MUSIC3_8108
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_8140
goto @MUSIC3_15522

:MUSIC3_8140
126@ = 4
TIMERA = 0

:MUSIC3_8154
if 
  126@ == 4
goto_if_false @MUSIC3_8322
if 
  not Car.IsDead(66@)
goto_if_false @MUSIC3_8315
if 
  not Char.IsDead(69@)
goto_if_false @MUSIC3_8315
$chickY = Char.GetScriptTaskStatus(69@, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @MUSIC3_8315
225@, 226@, $in_carX = Car.GetOffsetInWorldCoords(66@, 1.7, 1.5, 0.0)
231@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 225@, 226@, 227@, MoveState.Walk, -1)
Task.AchieveHeading(-1, 0.0)
Sequence.Close(231@)
Char.PerformSequence(69@, 231@)
Sequence.Clear(231@)

:MUSIC3_8315
126@ = 5

:MUSIC3_8322
if 
  126@ == 5
goto_if_false @MUSIC3_8445
gosub @MUSIC3_20291
if 
  TIMERA > 4000
goto_if_false @MUSIC3_8445
Camera.SetFixedPosition(1026.3, -1123.6, 24.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1023.6, -1123.8, 24.3, SwitchType.JumpCut)
174@ = 11
176@ = 0
gosub @MUSIC3_24579
126@ = 6

:MUSIC3_8445
if 
  126@ == 6
goto_if_false @MUSIC3_8561
if 
  174@ == 0
goto_if_false @MUSIC3_8561
174@ = 12
176@ = 0
gosub @MUSIC3_24579
if 
  not Char.IsDead(65@)
goto_if_false @MUSIC3_8554
Task.PlayAnim(65@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)

:MUSIC3_8554
126@ = 7

:MUSIC3_8561
if 
  126@ == 7
goto_if_false @MUSIC3_8875
gosub @MUSIC3_20291
if 
  174@ == 0
goto_if_false @MUSIC3_8875
if 
  174@ == 0
goto_if_false @MUSIC3_8875
Camera.DoFade(500, Fade.Out)

:MUSIC3_8629
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_8653
wait 0
goto @MUSIC3_8629

:MUSIC3_8653
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_8685
goto @MUSIC3_15522

:MUSIC3_8685
World.ClearArea(1305.5, -1131.7, 22.6, 60.0, True)
Streaming.LoadScene(1305.5, -1131.7, 22.6)
Camera.SetFixedPosition(1288.6, -1146.2, 28.9, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1301.0, -1137.2, 23.3, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:MUSIC3_8784
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_8808
wait 0
goto @MUSIC3_8784

:MUSIC3_8808
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_8840
goto @MUSIC3_15522

:MUSIC3_8840
174@ = 8
176@ = 2
177@ = 4
gosub @MUSIC3_24579
126@ = 8

:MUSIC3_8875
if 
  126@ == 8
goto_if_false @MUSIC3_9825
if 
  174@ == 0
goto_if_false @MUSIC3_9825
124@ = 0

:MUSIC3_8918
skip_cutscene_end 
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_8952
goto @MUSIC3_15522

:MUSIC3_8952
if 
  124@ == 1
goto_if_false @MUSIC3_9507
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
174@ = 0
Camera.DoFade(500, Fade.Out)

:MUSIC3_8994
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_9018
wait 0
goto @MUSIC3_8994

:MUSIC3_9018
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_9050
goto @MUSIC3_15522

:MUSIC3_9050
Car.FreezePositionAndDontLoadCollision(72@, False)
if 
  Char.IsDead(75@)
goto_if_false @MUSIC3_9141
World.ClearArea(1303.5, -1131.5, 22.6, 5.0, True)
75@ = Char.Create(PedType.Mission2, 24, 1303.5, -1131.5, 22.6)
Char.SetHeading(75@, 168.1)
Char.GiveWeapon(75@, WeaponType.Pistol, 3000)

:MUSIC3_9141
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC3_9184
if 
  not Char.IsInCar(75@, 72@)
goto_if_false @MUSIC3_9184
Char.WarpIntoCar(75@, 72@)

:MUSIC3_9184
Car.FreezePositionAndDontLoadCollision(74@, False)
if 
  Char.IsDead(77@)
goto_if_false @MUSIC3_9311
140@ = Math.RandomIntInRange(0, 3)
World.ClearArea(1305.5, -1131.7, 22.6, 5.0, True)
77@ = Char.Create(PedType.Mission2, 24, 1305.5, -1131.7, 22.6)
Char.SetHeading(77@, 168.1)
Char.GiveWeapon(77@, WeaponType.Pistol, 3000)
if 
  not Char.IsInCar(77@, 74@)
goto_if_false @MUSIC3_9311
Char.WarpIntoCar(77@, 74@)

:MUSIC3_9311
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_9354
if 
  not Char.IsInCar(77@, 74@)
goto_if_false @MUSIC3_9354
Char.WarpIntoCar(77@, 74@)

:MUSIC3_9354
World.ClearArea(1306.4, -1137.5, 22.5, 5.0, True)
Car.SetCoordinates(73@, 1306.4, -1137.5, 22.5)
Car.SetHeading(73@, 90.0)
Streaming.RequestModel(20)
Streaming.RequestModel(91)
Streaming.RequestModel(367)
Streaming.RequestModel(409)
Streaming.RequestModel(280)
Streaming.LoadAllModelsNow

:MUSIC3_9433
if 
  130@ == 0
goto_if_false @MUSIC3_9469
wait 0
gosub @MUSIC3_16559
goto @MUSIC3_9433

:MUSIC3_9469
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_9501
goto @MUSIC3_15522

:MUSIC3_9501
Clock.SetTimeOfDay(22, 0)

:MUSIC3_9507
Car.MarkAsConvoyCar(72@, True)
Car.MarkAsConvoyCar(73@, True)
Car.MarkAsConvoyCar(74@, True)
Char.Delete(65@)
Char.Delete(64@)
Char.Delete(111@)
Char.Delete(69@)
Char.Delete(70@)
Car.Delete(66@)
Car.Delete(67@)
Streaming.MarkModelAsNoLongerNeeded(20)
Streaming.MarkModelAsNoLongerNeeded(91)
Streaming.MarkModelAsNoLongerNeeded(409)
Car.LockDoors(73@, CarLock.Locked)
Game.ShutAllCharsUp(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.Print('STP3_06', 7000, 1)
if 
  124@ == 1
goto_if_false @MUSIC3_9708
Camera.DoFade(500, Fade.In)

:MUSIC3_9652
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_9676
wait 0
goto @MUSIC3_9652

:MUSIC3_9676
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_9708
goto @MUSIC3_15522

:MUSIC3_9708
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC3_9758
Task.CarDriveToCoord(75@, 72@, 1015.1, -1139.2, 22.7, 15.0, DriveMode.Accurate, 1, DrivingMode.AvoidCars)

:MUSIC3_9758
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_9804
Car.SetFollowCar(74@, 72@, 27.0)
Car.SetCruiseSpeed(74@, 15.0)
Car.SetDrivingStyle(74@, DrivingMode.SlowDownForCars)

:MUSIC3_9804
175@ = 0
123@ = 0
122@ = 3

:MUSIC3_9825
if 
  122@ == 3
goto_if_false @MUSIC3_10359
if 
  175@ == 0
goto_if_false @MUSIC3_9934
if 
  Car.Locate2D(72@, 1094.8, -1142.6, 3.0, 3.0, False)
goto_if_false @MUSIC3_9934
174@ = 8
176@ = 4
177@ = 5
gosub @MUSIC3_24579
175@ = 1

:MUSIC3_9934
if 
  123@ == 0
goto_if_false @MUSIC3_10045
if 
  Car.Locate2D(72@, 1015.1, -1139.2, 3.0, 3.0, False)
goto_if_false @MUSIC3_10045
225@, 226@, $in_carX = Car.GetOffsetInWorldCoords(72@, 0.0, -12.0, 0.0)
Blip.Remove(113@)
113@ = Blip.AddForCoord(225@, 226@, 227@)
123@ = 1

:MUSIC3_10045
if 
  123@ == 1
goto_if_false @MUSIC3_10217
if 
  Car.Locate2D(73@, 225@, 226@, 9.0, 9.0, False)
goto_if_false @MUSIC3_10120
Text.PrintNow('STP3_32', 7000, 1)
goto @MUSIC3_10122

:MUSIC3_10120
Text.ClearPrints

:MUSIC3_10122
if and
  Car.LocateStopped2D(73@, 225@, 226@, 10.0, 10.0, False)
  Char.IsSittingInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_10217
Car.LockDoors(73@, CarLock.LockedPlayerInside)
Blip.Remove(113@)
Text.ClearPrints
123@ = 0
if 
  129@ == 0
goto_if_false @MUSIC3_10217
175@ = 0
122@ = 4

:MUSIC3_10217
gosub @MUSIC3_20994
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_10284
if 
  not Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_10284
Text.ClearPrints
Text.PrintNow('STP3_12', 4000, 1)
goto @MUSIC3_15522

:MUSIC3_10284
gosub @MUSIC3_21468
if 
  130@ == 1
goto_if_false @MUSIC3_10359
gosub @MUSIC3_18955
if 
  129@ == 4
goto_if_false @MUSIC3_10359
Text.ClearPrints
Text.PrintNow('STP3_24', 4000, 1)
goto @MUSIC3_15522

:MUSIC3_10359
if 
  122@ == 4
goto_if_false @MUSIC3_13210
if 
  123@ == 0
goto_if_false @MUSIC3_12006
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:MUSIC3_10411
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_10435
wait 0
goto @MUSIC3_10411

:MUSIC3_10435
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_10467
goto @MUSIC3_15522

:MUSIC3_10467
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
174@ = 0
Game.ShutAllCharsUp(True)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Audio.SetRadioChannel(RadioChannel.UserTracks)
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_10520
Car.LockDoors(73@, CarLock.Unlocked)

:MUSIC3_10520
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Streaming.RequestModel(20)
Streaming.RequestModel(40)
Streaming.LoadAllModelsNow
DecisionMakerChar.ClearEventResponse(233@, 13)
World.ClearArea(1021.0, -1122.0, 22.9, 50.0, True)
104@ = Char.Create(PedType.Mission2, 24, 1021.0, -1122.0, 22.9)
Char.SetHeading(104@, 180.0)
Char.SetAnimGroup(104@, "GANG2")
Char.SetDecisionMaker(104@, 233@)
Char.SetOnlyDamagedByPlayer(104@, True)
Char.GiveWeapon(104@, WeaponType.Pistol, 3000)
232@ = Sequence.Open()
Task.Pause(-1, 120)
Task.GoStraightToCoord(-1, 1021.0, -1133.7, 22.9, MoveState.Walk, -1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, 72@, -1, 0)
Sequence.Close(232@)
Char.PerformSequence(104@, 232@)
Sequence.Clear(232@)
105@ = Char.Create(PedType.Mission2, 24, 1022.2, -1122.0, 22.9)
Char.SetHeading(105@, 180.0)
Char.SetAnimGroup(104@, "GANG1")
Char.SetDecisionMaker(105@, 233@)
Char.SetOnlyDamagedByPlayer(105@, True)
Char.GiveWeapon(105@, WeaponType.Pistol, 3000)
232@ = Sequence.Open()
Task.Pause(-1, 100)
Task.GoStraightToCoord(-1, 1022.2, -1133.7, 22.9, MoveState.Walk, -1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, 72@, -1, 1)
Sequence.Close(232@)
Char.PerformSequence(105@, 232@)
Sequence.Clear(232@)
106@ = Char.Create(PedType.Mission2, 24, 1023.4, -1122.0, 22.9)
Char.GiveWeapon(106@, WeaponType.Pistol, 3000)
Char.SetHeading(106@, 180.0)
Char.SetDecisionMaker(106@, 233@)
Char.SetOnlyDamagedByPlayer(106@, True)
232@ = Sequence.Open()
Task.Pause(-1, 100)
Task.GoStraightToCoord(-1, 1023.4, -1133.7, 22.9, MoveState.Walk, -1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, 72@, -1, 2)
Sequence.Close(232@)
Char.PerformSequence(106@, 232@)
Sequence.Clear(232@)
102@ = Char.Create(PedType.Gang9, 20, 1021.6, -1123.2, 22.9)
Char.ShutUpForScriptedSpeech(102@, True)
Char.SetGetOutUpsideDownCar(102@, False)
Char.SetAnimGroup(104@, "GANG2")
Char.SetHeading(102@, 187.9)
Char.SetDecisionMaker(102@, 233@)
Blip.Remove(113@)
Char.SetForceDieInCar(102@, True)
Char.SetOnlyDamagedByPlayer(102@, True)
232@ = Sequence.Open()
Task.Pause(-1, 100)
Task.GoStraightToCoord(-1, 1021.6, -1134.9, 22.9, MoveState.Walk, -1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, 73@, -1, 1)
Sequence.Close(232@)
Char.PerformSequence(102@, 232@)
Sequence.Clear(232@)
103@ = Char.Create(PedType.Gang9, 40, 1022.8, -1123.2, 22.9)
Char.SetGetOutUpsideDownCar(103@, False)
Char.SetHeading(103@, 187.9)
Char.SetDecisionMaker(103@, 233@)
Char.SetOnlyDamagedByPlayer(103@, True)
Char.SetForceDieInCar(103@, True)
232@ = Sequence.Open()
Task.Pause(-1, 100)
Task.GoStraightToCoord(-1, 1022.8, -1134.9, 22.9, MoveState.Walk, -1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, 73@, -1, 2)
Sequence.Close(232@)
Char.PerformSequence(103@, 232@)
Sequence.Clear(232@)
Task.LookAtChar($stattreadstamina_ctr, 103@, -2)
108@ = Char.Create(PedType.Mission2, 24, 1022.2, -1124.4, 22.9)
Char.GiveWeapon(108@, WeaponType.Pistol, 3000)
Char.SetAnimGroup(104@, "GANG1")
Char.SetHeading(108@, 180.0)
Char.SetDecisionMaker(108@, 233@)
Char.SetOnlyDamagedByPlayer(108@, True)
232@ = Sequence.Open()
Task.Pause(-1, 50)
Task.GoStraightToCoord(-1, 1022.2, -1136.1, 22.9, MoveState.Walk, -1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, 74@, -1, 0)
Sequence.Close(232@)
Char.PerformSequence(108@, 232@)
Sequence.Clear(232@)
109@ = Char.Create(PedType.Mission2, 24, 1023.4, -1124.4, 22.9)
Char.GiveWeapon(109@, WeaponType.Pistol, 3000)
Char.SetHeading(109@, 180.0)
Char.SetDecisionMaker(109@, 233@)
Char.SetOnlyDamagedByPlayer(109@, True)
232@ = Sequence.Open()
Task.Pause(-1, 50)
Task.GoStraightToCoord(-1, 1023.4, -1136.1, 22.9, MoveState.Walk, -1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, 74@, -1, 1)
Sequence.Close(232@)
Char.PerformSequence(109@, 232@)
Sequence.Clear(232@)
110@ = Char.Create(PedType.Mission2, 24, 1021.4, -1125.6, 22.9)
Char.GiveWeapon(110@, WeaponType.Pistol, 3000)
Char.SetHeading(110@, 180.0)
Char.SetDecisionMaker(110@, 233@)
Char.SetOnlyDamagedByPlayer(110@, True)
232@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1021.4, -1137.3, 22.9, MoveState.Walk, -1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, 74@, -1, 2)
Sequence.Close(232@)
Char.PerformSequence(110@, 232@)
Sequence.Clear(232@)
if 
  not Car.IsDead(72@)
goto_if_false @MUSIC3_11724
World.ClearArea(1015.1, -1139.2, 22.9, 50.0, True)
Car.SetCoordinates(72@, 1015.1, -1139.2, 22.9)
Car.SetHeading(72@, 90.0)

:MUSIC3_11724
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_11794
World.ClearArea(1025.1, -1139.2, 22.9, 50.0, True)
Car.SetCoordinates(73@, 1025.1, -1139.2, 22.9)
Car.SetHeading(73@, 90.0)

:MUSIC3_11794
if 
  not Car.IsDead(74@)
goto_if_false @MUSIC3_11864
World.ClearArea(1035.1, -1139.2, 22.9, 50.0, True)
Car.SetCoordinates(74@, 1035.1, -1139.2, 22.9)
Car.SetHeading(74@, 90.0)

:MUSIC3_11864
Car.LockDoors(73@, CarLock.Unlocked)
Camera.SetFixedPosition(1021.4, -1135.3, 23.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1021.7, -1124.1, 25.2, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:MUSIC3_11929
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_11953
wait 0
goto @MUSIC3_11929

:MUSIC3_11953
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_11985
goto @MUSIC3_15522

:MUSIC3_11985
124@ = 1
skip_cutscene_start_internal @MUSIC3_12331
123@ = 1

:MUSIC3_12006
if 
  123@ == 1
goto_if_false @MUSIC3_12136
if 
  not Char.IsDead(102@)
goto_if_false @MUSIC3_12136
if 
  Char.IsInArea2D(102@, 1019.7, -1130.2, 1025.7, -1135.0, False)
goto_if_false @MUSIC3_12136
Camera.SetFixedPosition(1024.7, -1141.7, 24.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1024.6, -1138.7, 23.9, SwitchType.JumpCut)
123@ = 2

:MUSIC3_12136
if 
  123@ == 2
goto_if_false @MUSIC3_12244
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_12244
if 
  not Char.IsDead(102@)
goto_if_false @MUSIC3_12244
if 
  Char.IsInCar(102@, 73@)
goto_if_false @MUSIC3_12244
Audio.SetRadioChannel(RadioChannel.CSR)
174@ = 2
176@ = 0
gosub @MUSIC3_24579
TIMERA = 0
123@ = 3

:MUSIC3_12244
if 
  123@ == 3
goto_if_false @MUSIC3_12291
if 
  174@ == 0
goto_if_false @MUSIC3_12291
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
123@ = 4

:MUSIC3_12291
if 
  123@ == 4
goto_if_false @MUSIC3_13203
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @MUSIC3_13203
124@ = 0

:MUSIC3_12331
skip_cutscene_end 
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_12365
goto @MUSIC3_15522

:MUSIC3_12365
if 
  124@ == 1
goto_if_false @MUSIC3_12847
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
174@ = 0
Camera.DoFade(500, Fade.Out)

:MUSIC3_12407
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_12431
wait 0
goto @MUSIC3_12407

:MUSIC3_12431
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_12463
goto @MUSIC3_15522

:MUSIC3_12463
if 
  not Car.IsDead(72@)
goto_if_false @MUSIC3_12605
if 
  not Char.IsDead(104@)
goto_if_false @MUSIC3_12521
if 
  not Char.IsInAnyCar(104@)
goto_if_false @MUSIC3_12521
Char.WarpIntoCarAsPassenger(104@, 72@, 0)

:MUSIC3_12521
if 
  not Char.IsDead(105@)
goto_if_false @MUSIC3_12563
if 
  not Char.IsInAnyCar(105@)
goto_if_false @MUSIC3_12563
Char.WarpIntoCarAsPassenger(105@, 72@, 1)

:MUSIC3_12563
if 
  not Char.IsDead(106@)
goto_if_false @MUSIC3_12605
if 
  not Char.IsInAnyCar(106@)
goto_if_false @MUSIC3_12605
Char.WarpIntoCarAsPassenger(106@, 72@, 2)

:MUSIC3_12605
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_12705
if 
  not Char.IsDead(102@)
goto_if_false @MUSIC3_12663
if 
  not Char.IsInAnyCar(102@)
goto_if_false @MUSIC3_12663
Char.WarpIntoCarAsPassenger(102@, 73@, 1)

:MUSIC3_12663
if 
  not Char.IsDead(103@)
goto_if_false @MUSIC3_12705
if 
  not Char.IsInAnyCar(103@)
goto_if_false @MUSIC3_12705
Char.WarpIntoCarAsPassenger(103@, 73@, 2)

:MUSIC3_12705
if 
  not Car.IsDead(74@)
goto_if_false @MUSIC3_12847
if 
  not Char.IsDead(108@)
goto_if_false @MUSIC3_12763
if 
  not Char.IsInAnyCar(108@)
goto_if_false @MUSIC3_12763
Char.WarpIntoCarAsPassenger(108@, 74@, 0)

:MUSIC3_12763
if 
  not Char.IsDead(109@)
goto_if_false @MUSIC3_12805
if 
  not Char.IsInAnyCar(109@)
goto_if_false @MUSIC3_12805
Char.WarpIntoCarAsPassenger(109@, 74@, 1)

:MUSIC3_12805
if 
  not Char.IsDead(110@)
goto_if_false @MUSIC3_12847
if 
  not Char.IsInAnyCar(110@)
goto_if_false @MUSIC3_12847
Char.WarpIntoCarAsPassenger(110@, 74@, 2)

:MUSIC3_12847
if 
  not Car.IsDead(72@)
goto_if_false @MUSIC3_12968
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC3_12968
232@ = Sequence.Open()
Task.CarDriveToCoord(-1, 72@, 964.6, -1055.1, 27.6, 15.0, DriveMode.Accurate, 1, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 72@, 965.0, -1036.4, 29.0, 15.0, DriveMode.Accurate, 1, DrivingMode.AvoidCars)
Sequence.Close(232@)
Char.PerformSequence(75@, 232@)
Sequence.Clear(232@)

:MUSIC3_12968
Char.ClearLookAt($stattreadstamina_ctr)
Text.ClearPrints
Text.Print('STP3_08', 7000, 1)
Text.Print('STP3_09', 7000, 1)
Blip.Remove(113@)
113@ = Blip.AddForCoord(836.9, -2041.5, 11.8)
DecisionMakerChar.AddEventResponse(233@, 13, 917, 0.0, 100.0, 0.0, 0.0, False, True)
Car.LockDoors(73@, CarLock.Locked)
Game.ShutAllCharsUp(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
if 
  124@ == 1
goto_if_false @MUSIC3_13182
Camera.DoFade(500, Fade.In)

:MUSIC3_13126
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC3_13150
wait 0
goto @MUSIC3_13126

:MUSIC3_13150
gosub @MUSIC3_16203
if 
  125@ == 1
goto_if_false @MUSIC3_13182
goto @MUSIC3_15522

:MUSIC3_13182
TIMERA = 0
123@ = 0
122@ = 5

:MUSIC3_13203
gosub @MUSIC3_20291

:MUSIC3_13210
if 
  122@ == 5
goto_if_false @MUSIC3_14714
gosub @MUSIC3_22332
if 
  123@ == 0
goto_if_false @MUSIC3_13721
if 
  175@ == 0
goto_if_false @MUSIC3_13318
if 
  TIMERA > 14000
goto_if_false @MUSIC3_13318
174@ = 3
176@ = 0
gosub @MUSIC3_24579
175@ = 1

:MUSIC3_13318
if 
  175@ == 1
goto_if_false @MUSIC3_13382
if 
  174@ == 0
goto_if_false @MUSIC3_13382
174@ = 4
176@ = 0
gosub @MUSIC3_24579
175@ = 2

:MUSIC3_13382
if 
  175@ == 2
goto_if_false @MUSIC3_13446
if 
  174@ == 0
goto_if_false @MUSIC3_13446
174@ = 5
176@ = 0
gosub @MUSIC3_24579
175@ = 3

:MUSIC3_13446
if 
  175@ == 3
goto_if_false @MUSIC3_13605
if 
  Char.IsInArea3D($stattreadstamina_ctr, 789.4, -1798.8, 10.0, 896.9, -1763.6, 20.0, False)
goto_if_false @MUSIC3_13605
if 
  174@ == 5
goto_if_false @MUSIC3_13605
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
174@ = 0
Text.ClearPrints
174@ = 10
176@ = 0
gosub @MUSIC3_24579
175@ = 4
if 
  not Char.IsDead(102@)
goto_if_false @MUSIC3_13598
Char.ShutUpForScriptedSpeech(102@, False)

:MUSIC3_13598
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:MUSIC3_13605
if 
  not Char.IsDead(103@)
goto_if_false @MUSIC3_13721
if 
  not Char.IsTalking(103@)
goto_if_false @MUSIC3_13721
if 
  175@ == 0
goto_if_false @MUSIC3_13685
if 
  10000 > TIMERA
goto_if_false @MUSIC3_13685
151@ = Char.SetSayContext(103@, 341)

:MUSIC3_13685
if or
  175@ == 3
  175@ == 4
goto_if_false @MUSIC3_13721
151@ = Char.SetSayContext(103@, 341)

:MUSIC3_13721
if 
  123@ == 0
goto_if_false @MUSIC3_14222
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_13981
if 
  Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_13981
if 
  163@ == 0
goto_if_false @MUSIC3_13863
if 
  Char.IsInArea3D($stattreadstamina_ctr, 853.7, -1810.1, 10.0, 818.5, -1874.0, 20.0, False)
goto_if_false @MUSIC3_13863
Text.PrintNow('STP3_35', 7000, 1)
163@ = 1

:MUSIC3_13863
if 
  163@ == 1
goto_if_false @MUSIC3_13981
158@ = Car.GetSpeed(73@)
if 
  158@ > 10.0
goto_if_false @MUSIC3_13981
if 
  Char.IsInArea3D($stattreadstamina_ctr, 820.0, -2004.0, 10.0, 852.4, -2068.0, 20.0, False)
goto_if_false @MUSIC3_13981
Text.PrintNow('STP3_34', 7000, 1)
163@ = 2

:MUSIC3_13981
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_14180
if 
  not Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_14180
if 
  Car.IsInArea3D(73@, 855.6, -2067.9, 5.0, 812.6, -2085.9, 20.0, False)
goto_if_false @MUSIC3_14180
Clock.SetTimeScale(0.3)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
174@ = 0
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Camera.SetFixedPosition(813.5, -2128.9, 2.2, 0.0, 0.0, 0.0)
Camera.PointAtPoint(847.6, -2068.1, 11.7, SwitchType.JumpCut)
gosub @MUSIC3_22132
175@ = 0
TIMERA = 0
123@ = 1

:MUSIC3_14180
if 
  Car.IsInWater(73@)
goto_if_false @MUSIC3_14222
Blip.Remove(113@)
gosub @MUSIC3_22132
174@ = 0
123@ = 2

:MUSIC3_14222
if 
  123@ == 1
goto_if_false @MUSIC3_14331
if 
  175@ == 0
goto_if_false @MUSIC3_14286
174@ = 6
176@ = 0
gosub @MUSIC3_24579
175@ = 1

:MUSIC3_14286
if or
  Car.IsInWater(73@)
  TIMERA > 10000
goto_if_false @MUSIC3_14331
Clock.SetTimeScale(1.0)
TIMERA = 0
123@ = 2

:MUSIC3_14331
if 
  123@ == 2
goto_if_false @MUSIC3_14463
if 
  TIMERA > 500
goto_if_false @MUSIC3_14463
if 
  174@ == 0
goto_if_false @MUSIC3_14463
if 
  155@ == 0
goto_if_false @MUSIC3_14425
TIMERA = 0
122@ = 7
goto @MUSIC3_14463

:MUSIC3_14425
Player.SetControl($statbike_temp, True)
Player.MakeGangReappear
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
123@ = 0
TIMERB = 0
122@ = 6

:MUSIC3_14463
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  TIMERA > 11000
goto_if_false @MUSIC3_14490
Text.ClearHelp

:MUSIC3_14490
if 
  4 > 129@
goto_if_false @MUSIC3_14515
gosub @MUSIC3_18955

:MUSIC3_14515
if 
  3 > 164@
goto_if_false @MUSIC3_14540
gosub @MUSIC3_19586

:MUSIC3_14540
if 
  123@ == 0
goto_if_false @MUSIC3_14714
if 
  not Car.IsInWater(73@)
goto_if_false @MUSIC3_14714
if 
  Char.IsDead(102@)
goto_if_false @MUSIC3_14615
Text.ClearPrints
Text.PrintNow('STP3_31', 4000, 1)
goto @MUSIC3_15522

:MUSIC3_14615
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_14714
if 
  not Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_14714
if 
  Car.IsStopped(73@)
goto_if_false @MUSIC3_14714
Task.LeaveCarAndFlee(102@, 73@, 2316.4, -1519.2, 24.3)
Text.ClearPrints
Text.PrintNow('STP3_18', 4000, 1)
goto @MUSIC3_15522

:MUSIC3_14714
if 
  122@ == 6
goto_if_false @MUSIC3_15345
gosub @MUSIC3_22332
if 
  123@ == 0
goto_if_false @MUSIC3_15016
if 
  155@ == 0
goto_if_false @MUSIC3_14796
TIMERA = 0
122@ = 7
goto @MUSIC3_15016

:MUSIC3_14796
Blip.Remove(113@)
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC3_14825
114@ = Blip.AddForChar(75@)

:MUSIC3_14825
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_14849
115@ = Blip.AddForChar(77@)

:MUSIC3_14849
if 
  not Char.IsDead(104@)
goto_if_false @MUSIC3_14873
116@ = Blip.AddForChar(104@)

:MUSIC3_14873
if 
  not Char.IsDead(105@)
goto_if_false @MUSIC3_14897
117@ = Blip.AddForChar(105@)

:MUSIC3_14897
if 
  not Char.IsDead(106@)
goto_if_false @MUSIC3_14921
118@ = Blip.AddForChar(106@)

:MUSIC3_14921
if 
  not Char.IsDead(108@)
goto_if_false @MUSIC3_14945
119@ = Blip.AddForChar(108@)

:MUSIC3_14945
if 
  not Char.IsDead(109@)
goto_if_false @MUSIC3_14969
120@ = Blip.AddForChar(109@)

:MUSIC3_14969
if 
  not Char.IsDead(110@)
goto_if_false @MUSIC3_14993
121@ = Blip.AddForChar(110@)

:MUSIC3_14993
Text.PrintNow('STP3_26', 11000, 1)
123@ = 1

:MUSIC3_15016
if 
  123@ == 1
goto_if_false @MUSIC3_15345
if 
  Char.IsDead(75@)
goto_if_false @MUSIC3_15055
Blip.Remove(114@)

:MUSIC3_15055
if 
  Char.IsDead(77@)
goto_if_false @MUSIC3_15076
Blip.Remove(115@)

:MUSIC3_15076
if 
  Char.IsDead(104@)
goto_if_false @MUSIC3_15097
Blip.Remove(116@)

:MUSIC3_15097
if 
  Char.IsDead(105@)
goto_if_false @MUSIC3_15118
Blip.Remove(117@)

:MUSIC3_15118
if 
  Char.IsDead(106@)
goto_if_false @MUSIC3_15139
Blip.Remove(118@)

:MUSIC3_15139
if 
  Char.IsDead(108@)
goto_if_false @MUSIC3_15160
Blip.Remove(119@)

:MUSIC3_15160
if 
  Char.IsDead(109@)
goto_if_false @MUSIC3_15181
Blip.Remove(120@)

:MUSIC3_15181
if 
  Char.IsDead(110@)
goto_if_false @MUSIC3_15202
Blip.Remove(121@)

:MUSIC3_15202
if 
  Char.IsDead(75@)
goto_if_false @MUSIC3_15345
if 
  Char.IsDead(77@)
goto_if_false @MUSIC3_15345
if 
  Char.IsDead(104@)
goto_if_false @MUSIC3_15345
if 
  Char.IsDead(105@)
goto_if_false @MUSIC3_15345
if 
  Char.IsDead(106@)
goto_if_false @MUSIC3_15345
if 
  Char.IsDead(108@)
goto_if_false @MUSIC3_15345
if 
  Char.IsDead(109@)
goto_if_false @MUSIC3_15345
if 
  Char.IsDead(110@)
goto_if_false @MUSIC3_15345
TIMERA = 2000
122@ = 7

:MUSIC3_15345
if 
  122@ == 7
goto_if_false @MUSIC3_15406
if 
  TIMERA > 3000
goto_if_false @MUSIC3_15406
Player.SetControl($statbike_temp, True)
Player.MakeGangReappear
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
goto @MUSIC3_15540

:MUSIC3_15406
if 
  162@ == 0
goto_if_false @MUSIC3_15508
if or
  122@ == 0
  122@ == 1
goto_if_false @MUSIC3_15508
if 
  149@ == 21
goto_if_false @MUSIC3_15508
if 
  $player_is_completely_safe_for_mobile > 30
goto_if_false @MUSIC3_15508
Text.Print('STP3_28', 7000, 1)
162@ = 1

:MUSIC3_15508
gosub @MUSIC3_25817
goto @MUSIC3_2268

:MUSIC3_15522
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:MUSIC3_15540
$introX += 1
Text.ClearPrints
Stat.SetInt(StatId.PassedStrap3, 1)
Text.PrintWithNumberBig('M_PASSR', 5, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(5)
Stat.RegisterMissionPassed('STRAP_3')
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Blip.Remove($intro_blip_icon)
$intro_blip_icon = Blip.AddSpriteForContactPoint($strap2Y, $strap2Z, $crashX, $spray_shop2)
Stat.PlayerMadeProgress(1)
return 

:MUSIC3_15626
Zone.SwitchAudio('AWARDS', False)
Clock.SetTimeScale(1.0)
Hud.SwitchWidescreen(False)
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @MUSIC3_15668
Camera.RestoreJumpcut

:MUSIC3_15668
Blip.Remove(113@)
Blip.Remove($flag_smoke_mission_counter)
$flag_smoke_mission_counter = Blip.AddShortRangeSpriteForCoord(488.0, -1734.0, 34.4, RadarSprite.Spray)
Char.RemoveElegantly(102@)
Char.RemoveElegantly(103@)
if 
  not Car.IsDead(72@)
goto_if_false @MUSIC3_15733
Car.ImproveByCheating(72@, False)

:MUSIC3_15733
if 
  not Car.IsDead(74@)
goto_if_false @MUSIC3_15756
Car.ImproveByCheating(74@, False)

:MUSIC3_15756
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_15779
Car.LockDoors(73@, CarLock.Unlocked)

:MUSIC3_15779
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MUSIC3_15802
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:MUSIC3_15802
Game.ShutAllCharsUp(False)
Streaming.MarkModelAsNoLongerNeeded(24)
Streaming.MarkModelAsNoLongerNeeded(280)
Streaming.MarkModelAsNoLongerNeeded(20)
Streaming.MarkModelAsNoLongerNeeded(91)
Streaming.MarkModelAsNoLongerNeeded(20)
Streaming.MarkModelAsNoLongerNeeded(40)
Streaming.MarkModelAsNoLongerNeeded(409)
Streaming.MarkModelAsNoLongerNeeded(507)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(367)
Streaming.MarkModelAsNoLongerNeeded(#DYN_ROADBARRIER_2)
Streaming.MarkModelAsNoLongerNeeded(330)
Path.UnmarkAllRoadNodesAsDontWander
Path.SwitchRoadsBackToOriginal(802.1, -1150.2, 10.0, 1156.9, -1131.2, 50.0)
Path.SwitchPedRoadsBackToOriginal(802.1, -1150.2, 10.0, 1156.9, -1131.2, 50.0)
Path.SwitchRoadsBackToOriginal(1053.2, -1146.1, 10.0, 1072.5, -1215.5, 50.0)
Path.SwitchPedRoadsBackToOriginal(1053.2, -1146.1, 10.0, 1072.5, -1215.5, 50.0)
Path.SwitchRoadsBackToOriginal(932.9, -1154.4, 10.0, 951.8, -1215.4, 50.0)
Path.SwitchPedRoadsBackToOriginal(932.9, -1154.4, 10.0, 951.8, -1215.4, 50.0)
Path.SwitchRoadsBackToOriginal(972.1, -1135.4, 10.0, 952.9, -1044.3, 50.0)
Path.SwitchPedRoadsBackToOriginal(972.1, -1135.4, 10.0, 952.9, -1044.3, 50.0)
Path.SwitchRoadsBackToOriginal(1072.8, -1135.0, 10.0, 1092.4, -1045.5, 50.0)
Path.SwitchPedRoadsBackToOriginal(1072.8, -1135.0, 10.0, 1092.4, -1045.5, 50.0)
Game.EnableAmbientCrime(True)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:MUSIC3_16203
if 
  5 > 122@
goto_if_false @MUSIC3_16262
if 
  Car.IsDead(73@)
goto_if_false @MUSIC3_16262
Text.ClearPrints
Text.PrintNow('STP3_10', 4000, 1)
125@ = 1

:MUSIC3_16262
if 
  5 > 122@
goto_if_false @MUSIC3_16362
if 
  Car.IsDead(72@)
goto_if_false @MUSIC3_16321
Text.ClearPrints
Text.PrintNow('STP3_10', 4000, 1)
125@ = 1

:MUSIC3_16321
if 
  Car.IsDead(74@)
goto_if_false @MUSIC3_16362
Text.ClearPrints
Text.PrintNow('STP3_10', 4000, 1)
125@ = 1

:MUSIC3_16362
if 
  122@ == 3
goto_if_false @MUSIC3_16439
if 
  4 > 123@
goto_if_false @MUSIC3_16439
if 
  Char.IsDead(63@)
goto_if_false @MUSIC3_16439
Text.ClearPrints
Text.PrintNow('STP3_16', 4000, 1)
125@ = 1

:MUSIC3_16439
if 
  122@ > 2
goto_if_false @MUSIC3_16557
if 
  5 > 122@
goto_if_false @MUSIC3_16557
if 
  Char.IsDead(75@)
goto_if_false @MUSIC3_16516
Text.ClearPrints
Text.PrintNow('STP3_17', 4000, 1)
125@ = 1

:MUSIC3_16516
if 
  Char.IsDead(77@)
goto_if_false @MUSIC3_16557
Text.ClearPrints
Text.PrintNow('STP3_17', 4000, 1)
125@ = 1

:MUSIC3_16557
return 

:MUSIC3_16559
if 
  20 > 132@
goto_if_false @MUSIC3_18946
if 
  132@ == 0
goto_if_false @MUSIC3_18713
65@ = Char.Create(PedType.CivMale, 20, 1023.4, -1123.6, 22.9)
Char.SetHeading(65@, 267.1)
Char.SetLoadCollisionFlag(65@, True)
Char.SetDecisionMaker(65@, 233@)
64@ = Char.Create(PedType.CivFemale, 91, 1023.1, -1124.6, 22.9)
Char.SetHeading(64@, 296.3)
Char.SetLoadCollisionFlag(64@, True)
Char.SetDecisionMaker(64@, 233@)
111@ = Char.Create(PedType.CivFemale, 91, 1025.0, -1124.6, 22.9)
Char.SetHeading(111@, 90.0)
Char.SetLoadCollisionFlag(111@, True)
Char.SetDecisionMaker(111@, 233@)
78@ = Object.Create(#DYN_ROADBARRIER_2, 1092.7, -1144.2, 22.7)
Object.SetHeading(78@, 0.0)
Object.SetCollision(78@, True)
79@ = Object.Create(#DYN_ROADBARRIER_2, 1092.7, -1148.8, 22.7)
Object.SetHeading(79@, 90.0)
Object.SetCollision(79@, True)
Path.SwitchRoadsOff(802.1, -1150.2, 10.0, 1156.9, -1131.2, 50.0)
Path.SwitchPedRoadsOff(802.1, -1150.2, 10.0, 1156.9, -1131.2, 50.0)
80@ = Object.Create(#DYN_ROADBARRIER_2, 1062.5, -1159.4, 22.6)
Object.SetHeading(80@, 180.0)
Object.SetCollision(80@, True)
81@ = Object.Create(#DYN_ROADBARRIER_2, 1054.4, -1159.4, 22.6)
Object.SetHeading(81@, 180.0)
Object.SetCollision(81@, True)
Path.SwitchRoadsOff(1053.2, -1146.1, 10.0, 1072.5, -1215.5, 50.0)
Path.SwitchPedRoadsOff(1053.2, -1146.1, 10.0, 1072.5, -1215.5, 50.0)
82@ = Object.Create(#DYN_ROADBARRIER_2, 944.5, -1159.4, 22.6)
Object.SetHeading(82@, 180.0)
Object.SetCollision(82@, True)
83@ = Object.Create(#DYN_ROADBARRIER_2, 940.0, -1159.4, 22.6)
Object.SetHeading(83@, 180.0)
Object.SetCollision(83@, True)
Path.SwitchRoadsOff(932.9, -1154.4, 10.0, 951.8, -1215.4, 50.0)
Path.SwitchPedRoadsOff(932.9, -1154.4, 10.0, 951.8, -1215.4, 50.0)
84@ = Object.Create(#DYN_ROADBARRIER_2, 931.3, -1148.8, 22.7)
Object.SetHeading(84@, 90.0)
Object.SetCollision(84@, True)
85@ = Object.Create(#DYN_ROADBARRIER_2, 931.3, -1139.9, 22.7)
Object.SetHeading(85@, 90.0)
Object.SetCollision(85@, True)
86@ = Object.Create(#DYN_ROADBARRIER_2, 960.2, -1130.4, 22.7)
Object.SetHeading(86@, 180.0)
Object.SetCollision(86@, True)
87@ = Object.Create(#DYN_ROADBARRIER_2, 967.4, -1130.4, 22.7)
Object.SetHeading(87@, 90.0)
Object.SetCollision(87@, True)
Path.SwitchRoadsOff(972.1, -1135.4, 10.0, 952.9, -1044.3, 50.0)
Path.SwitchPedRoadsOff(972.1, -1135.4, 10.0, 952.9, -1044.3, 50.0)
88@ = Object.Create(#DYN_ROADBARRIER_2, 1080.6, -1130.7, 22.7)
Object.SetHeading(88@, 180.0)
Object.SetCollision(88@, True)
89@ = Object.Create(#DYN_ROADBARRIER_2, 1085.5, -1130.6, 22.7)
Object.SetHeading(89@, 180.0)
Object.SetCollision(89@, True)
Path.SwitchRoadsOff(1072.8, -1135.0, 10.0, 1092.4, -1045.5, 50.0)
Path.SwitchPedRoadsOff(1072.8, -1135.0, 10.0, 1092.4, -1045.5, 50.0)
90@ = Object.Create(#DYN_ROADBARRIER_2, 1024.5, -1123.2, 22.9)
Object.SetHeading(90@, 90.0)
Object.SetCollision(90@, False)
91@ = Object.Create(#DYN_ROADBARRIER_2, 1024.5, -1127.2, 22.9)
Object.SetHeading(91@, 90.0)
Object.SetCollision(91@, False)
92@ = Object.Create(#DYN_ROADBARRIER_2, 1024.5, -1131.2, 22.9)
Object.SetHeading(92@, 90.0)
Object.SetCollision(92@, False)
93@ = Object.Create(#DYN_ROADBARRIER_2, 1020.5, -1123.2, 22.9)
Object.SetHeading(93@, 90.0)
Object.SetCollision(93@, False)
94@ = Object.Create(#DYN_ROADBARRIER_2, 1020.5, -1127.2, 22.9)
Object.SetHeading(94@, 90.0)
Object.SetCollision(94@, False)
95@ = Object.Create(#DYN_ROADBARRIER_2, 1020.5, -1131.2, 22.9)
Object.SetHeading(95@, 90.0)
Object.SetCollision(95@, False)
96@ = Object.Create(#DYN_ROADBARRIER_2, 1016.5, -1133.2, 22.9)
Object.SetHeading(96@, 180.0)
Object.SetCollision(96@, False)
97@ = Object.Create(#DYN_ROADBARRIER_2, 1012.5, -1133.2, 22.9)
Object.SetHeading(97@, 180.0)
Object.SetCollision(97@, False)
98@ = Object.Create(#DYN_ROADBARRIER_2, 1008.5, -1133.2, 22.9)
Object.SetHeading(98@, 180.0)
Object.SetCollision(98@, False)
99@ = Object.Create(#DYN_ROADBARRIER_2, 1028.5, -1133.2, 22.9)
Object.SetHeading(99@, 180.0)
Object.SetCollision(99@, False)
100@ = Object.Create(#DYN_ROADBARRIER_2, 1032.5, -1133.2, 22.9)
Object.SetHeading(100@, 180.0)
Object.SetCollision(100@, False)
101@ = Object.Create(#DYN_ROADBARRIER_2, 1036.5, -1133.2, 22.9)
Object.SetHeading(101@, 180.0)
Object.SetCollision(101@, False)
55@ = Char.Create(PedType.Mission2, 280, 1025.3, -1124.9, 22.9)
Char.GiveWeapon(55@, WeaponType.Pistol, 3000)
Char.SetHeading(55@, 276.6)
Char.SetLoadCollisionFlag(55@, True)
56@ = Char.Create(PedType.Mission2, 280, 1024.7, -1129.1, 22.9)
Char.GiveWeapon(56@, WeaponType.Pistol, 3000)
Char.SetHeading(56@, 276.6)
Char.SetLoadCollisionFlag(56@, True)
57@ = Char.Create(PedType.Mission2, 280, 1024.7, -1133.8, 22.9)
Char.GiveWeapon(57@, WeaponType.Pistol, 3000)
Char.SetHeading(57@, 276.6)
Char.SetLoadCollisionFlag(57@, True)
58@ = Char.Create(PedType.Mission2, 280, 1020.4, -1125.2, 22.9)
Char.GiveWeapon(58@, WeaponType.Pistol, 3000)
Char.SetHeading(58@, 92.2)
Char.SetLoadCollisionFlag(58@, True)
59@ = Char.Create(PedType.Mission2, 280, 1020.4, -1129.1, 22.9)
Char.GiveWeapon(59@, WeaponType.Pistol, 3000)
Char.SetHeading(59@, 92.2)
Char.SetLoadCollisionFlag(59@, True)
60@ = Char.Create(PedType.Mission2, 280, 1020.4, -1133.5, 22.9)
Char.GiveWeapon(60@, WeaponType.Pistol, 3000)
Char.SetHeading(60@, 92.2)
Char.SetLoadCollisionFlag(60@, True)
61@ = Char.Create(PedType.Mission2, 280, 1032.6, -1115.5, 22.9)
Char.GiveWeapon(61@, WeaponType.Pistol, 3000)
Char.SetHeading(61@, 173.9)
Char.SetLoadCollisionFlag(61@, True)
62@ = Char.Create(PedType.Mission2, 280, 1012.0, -1115.8, 22.9)
Char.GiveWeapon(62@, WeaponType.Pistol, 3000)
Char.SetHeading(62@, 187.9)
Char.SetLoadCollisionFlag(62@, True)
66@ = Car.Create(409, 1031.4, -1138.6, 22.7)
69@ = Char.CreateInsideCar(66@, PedType.Mission2, 24)
Car.SetHeading(66@, 90.0)
Char.SetLoadCollisionFlag(69@, True)
231@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.CarDriveToCoord(-1, 66@, 1023.3, -1138.6, 22.7, 15.0, DriveMode.Accurate, 1, DrivingMode.AvoidCars)
Sequence.Close(231@)
Char.PerformSequence(69@, 231@)
Sequence.Clear(231@)
67@ = Car.Create(409, 1042.8, -1138.6, 22.7)
70@ = Char.CreateInsideCar(67@, PedType.Mission2, 24)
Car.SetHeading(67@, 90.0)
Char.SetLoadCollisionFlag(70@, True)
63@ = Char.Create(PedType.Mission2, 280, 1093.7, -1145.2, 22.7)
Char.GiveWeapon(63@, WeaponType.Pistol, 3000)
Char.SetHeading(63@, 274.6)
Char.SetLoadCollisionFlag(63@, True)
Char.SetDecisionMaker(63@, 233@)
112@ = Char.CreateRandom(1023.6, -1122.3, 22.9)
Char.SetVisible(112@, False)
Char.SetCollision(112@, False)
Char.SetDecisionMaker(112@, 233@)
Char.SetStayInSamePlace(112@, True)

:MUSIC3_18713
gosub @MUSIC3_20071
34@(132@,21i) = Char.CreateRandom(225@, 226@, 22.9)
Char.SetHeading(34@(132@,21i), $on_footX)
Char.SetSenseRange(34@(132@,21i), 0.0)
Char.SetStayInSamePlace(34@(132@,21i), True)
Char.GiveWeapon(34@(132@,21i), WeaponType.Camera, 30000)
Char.SetDecisionMaker(34@(132@,21i), 233@)
Char.SetLoadCollisionFlag(34@(132@,21i), True)
if 
  5 > 132@
goto_if_false @MUSIC3_18921
232@ = Sequence.Open()
152@ = Math.RandomIntInRange(500, 2000)
if 
  not Char.IsDead(112@)
goto_if_false @MUSIC3_18874
Task.KillCharOnFootTimed(-1, 112@, 152@)

:MUSIC3_18874
152@ = Math.RandomIntInRange(1500, 4000)
Task.Pause(-1, 152@)
Sequence.SetToRepeat(232@, True)
Sequence.Close(232@)
Char.PerformSequence(34@(132@,21i), 232@)
Sequence.Clear(232@)

:MUSIC3_18921
Char.SetLoadCollisionFlag(34@(132@,21i), True)
132@ += 1
goto @MUSIC3_18953

:MUSIC3_18946
130@ = 1

:MUSIC3_18953
return 

:MUSIC3_18955
if 
  129@ == 0
goto_if_false @MUSIC3_19205
if 
  20 > 131@
goto_if_false @MUSIC3_19082
if 
  Char.IsDead(34@(131@,21i))
goto_if_false @MUSIC3_19018
129@ = 1

:MUSIC3_19018
if 
  not Char.IsDead(34@(131@,21i))
goto_if_false @MUSIC3_19068
if 
  Char.HasBeenDamagedByChar(34@(131@,21i), $stattreadstamina_ctr)
goto_if_false @MUSIC3_19068
129@ = 1

:MUSIC3_19068
131@ += 1
goto @MUSIC3_19089

:MUSIC3_19082
131@ = 0

:MUSIC3_19089
if 
  8 > 141@
goto_if_false @MUSIC3_19198
if 
  Char.IsDead(55@(141@,9i))
goto_if_false @MUSIC3_19134
129@ = 1

:MUSIC3_19134
if 
  not Char.IsDead(55@(141@,9i))
goto_if_false @MUSIC3_19184
if 
  Char.HasBeenDamagedByChar(55@(141@,9i), $stattreadstamina_ctr)
goto_if_false @MUSIC3_19184
129@ = 1

:MUSIC3_19184
141@ += 1
goto @MUSIC3_19205

:MUSIC3_19198
141@ = 0

:MUSIC3_19205
if 
  129@ == 1
goto_if_false @MUSIC3_19244
131@ = 0
141@ = 0
129@ = 2

:MUSIC3_19244
if 
  129@ == 2
goto_if_false @MUSIC3_19451
if 
  20 > 131@
goto_if_false @MUSIC3_19444
if 
  not Char.IsDead(34@(131@,21i))
goto_if_false @MUSIC3_19430
$chickY = Char.GetScriptTaskStatus(34@(131@,21i), 1499)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @MUSIC3_19366
Char.SetKeepTask(34@(131@,21i), True)
Task.FleeChar(34@(131@,21i), $stattreadstamina_ctr, 80.0, 10000000)

:MUSIC3_19366
if 
  not Char.LocateAnyMeansChar2D(34@(131@,21i), $stattreadstamina_ctr, 80.0, 80.0, False)
goto_if_false @MUSIC3_19430
if 
  not Char.IsOnScreen(34@(131@,21i))
goto_if_false @MUSIC3_19430
Char.MarkAsNoLongerNeeded(34@(131@,21i))

:MUSIC3_19430
131@ += 1
goto @MUSIC3_19451

:MUSIC3_19444
129@ = 3

:MUSIC3_19451
if 
  129@ == 3
goto_if_false @MUSIC3_19584
if 
  8 > 141@
goto_if_false @MUSIC3_19577
if 
  not Char.IsDead(55@(141@,9i))
goto_if_false @MUSIC3_19563
$chickY = Char.GetScriptTaskStatus(55@(141@,9i), 1764)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @MUSIC3_19563
Char.SetKeepTask(55@(141@,9i), True)
Task.CharArrestChar(55@(141@,9i), $stattreadstamina_ctr)

:MUSIC3_19563
141@ += 1
goto @MUSIC3_19584

:MUSIC3_19577
129@ = 4

:MUSIC3_19584
return 

:MUSIC3_19586
if 
  164@ == 0
goto_if_false @MUSIC3_19727
if 
  8 > 165@
goto_if_false @MUSIC3_19720
if 
  not Char.IsDead(55@(165@,9i))
goto_if_false @MUSIC3_19706
if 
  not Char.LocateAnyMeansChar2D(55@(165@,9i), $stattreadstamina_ctr, 80.0, 80.0, False)
goto_if_false @MUSIC3_19706
if 
  not Char.IsOnScreen(55@(165@,9i))
goto_if_false @MUSIC3_19706
Char.MarkAsNoLongerNeeded(55@(165@,9i))

:MUSIC3_19706
165@ += 1
goto @MUSIC3_19727

:MUSIC3_19720
164@ = 1

:MUSIC3_19727
if 
  164@ == 1
goto_if_false @MUSIC3_19868
if 
  8 > 166@
goto_if_false @MUSIC3_19861
if 
  not Char.IsDead(55@(166@,9i))
goto_if_false @MUSIC3_19847
if 
  not Char.LocateAnyMeansChar2D(55@(166@,9i), $stattreadstamina_ctr, 80.0, 80.0, False)
goto_if_false @MUSIC3_19847
if 
  not Char.IsOnScreen(55@(166@,9i))
goto_if_false @MUSIC3_19847
Char.MarkAsNoLongerNeeded(55@(166@,9i))

:MUSIC3_19847
166@ += 1
goto @MUSIC3_19868

:MUSIC3_19861
164@ = 2

:MUSIC3_19868
if 
  164@ == 2
goto_if_false @MUSIC3_20069
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 1015.1, -1139.2, 80.0, 80.0, False)
goto_if_false @MUSIC3_20069
Object.MarkAsNoLongerNeeded(90@)
Object.MarkAsNoLongerNeeded(91@)
Object.MarkAsNoLongerNeeded(92@)
Object.MarkAsNoLongerNeeded(93@)
Object.MarkAsNoLongerNeeded(94@)
Object.MarkAsNoLongerNeeded(95@)
Object.MarkAsNoLongerNeeded(96@)
Object.MarkAsNoLongerNeeded(97@)
Object.MarkAsNoLongerNeeded(98@)
Object.MarkAsNoLongerNeeded(99@)
Object.MarkAsNoLongerNeeded(100@)
Object.MarkAsNoLongerNeeded(101@)
Object.MarkAsNoLongerNeeded(78@)
Object.MarkAsNoLongerNeeded(79@)
Object.MarkAsNoLongerNeeded(80@)
Object.MarkAsNoLongerNeeded(81@)
Object.MarkAsNoLongerNeeded(82@)
Object.MarkAsNoLongerNeeded(83@)
Object.MarkAsNoLongerNeeded(84@)
Object.MarkAsNoLongerNeeded(85@)
Object.MarkAsNoLongerNeeded(86@)
Object.MarkAsNoLongerNeeded(87@)
Object.MarkAsNoLongerNeeded(88@)
Object.MarkAsNoLongerNeeded(89@)
Streaming.MarkModelAsNoLongerNeeded(#DYN_ROADBARRIER_2)
Zone.SwitchAudio('AWARDS', False)
164@ = 3

:MUSIC3_20069
return 

:MUSIC3_20071
225@ = Math.RandomFloatInRange(1016.2, 1030.8)
226@ = Math.RandomFloatInRange(-1122.3, -1133.7)
if 
  1020.0 > 225@
goto_if_false @MUSIC3_20139
$on_footX = 280.1
goto @MUSIC3_20149

:MUSIC3_20139
$on_footX = 96.5

:MUSIC3_20149
if and
  1027.4 > 225@
  225@ > 1019.8
goto_if_false @MUSIC3_20187
goto @MUSIC3_20071

:MUSIC3_20187
if 
  is_int_lvar_greater_than_int_lvar 133@ > 134@
goto_if_false @MUSIC3_20289
wait 0
if 
  not Char.IsDead(34@(134@,21i))
goto_if_false @MUSIC3_20275
if 
  Char.LocateAnyMeans2D(34@(134@,21i), 225@, 226@, 1.0, 1.0, False)
goto_if_false @MUSIC3_20275
goto @MUSIC3_20071

:MUSIC3_20275
134@ += 1
goto @MUSIC3_20187

:MUSIC3_20289
return 

:MUSIC3_20291
if 
  127@ == 0
goto_if_false @MUSIC3_20323
gosub @MUSIC3_20549
goto @MUSIC3_20419

:MUSIC3_20323
if 
  is_int_lvar_greater_than_int_lvar 170@ > 127@
goto_if_false @MUSIC3_20356
127@ += 1
goto @MUSIC3_20419

:MUSIC3_20356
Fx.DrawLightWithRange(225@, 226@, 227@, 255, 255, 255, 200.0)
172@ = Particle.Create("CAMFLASH", 225@, 226@, 227@, 1)
Particle.PlayAndKill(172@)
127@ = 0

:MUSIC3_20419
if 
  128@ == 0
goto_if_false @MUSIC3_20451
gosub @MUSIC3_20549
goto @MUSIC3_20547

:MUSIC3_20451
if 
  is_int_lvar_greater_than_int_lvar 171@ > 128@
goto_if_false @MUSIC3_20484
128@ += 1
goto @MUSIC3_20547

:MUSIC3_20484
Fx.DrawLightWithRange(228@, 229@, 230@, 255, 255, 255, 200.0)
173@ = Particle.Create("CAMFLASH", 228@, 229@, 230@, 1)
Particle.PlayAndKill(173@)
128@ = 0

:MUSIC3_20547
return 

:MUSIC3_20549
if 
  127@ == 0
goto_if_false @MUSIC3_20645
170@ = Math.RandomIntInRange(1, 10)
133@ = Math.RandomIntInRange(0, 20)
if 
  not Char.IsDead(34@(133@,21i))
goto_if_false @MUSIC3_20645
225@, 226@, $in_carX = Char.GetOffsetInWorldCoords(34@(133@,21i), 0.0, 0.3, 0.5)
127@ += 1

:MUSIC3_20645
if 
  128@ == 0
goto_if_false @MUSIC3_20741
171@ = Math.RandomIntInRange(1, 10)
133@ = Math.RandomIntInRange(0, 20)
if 
  not Char.IsDead(34@(133@,21i))
goto_if_false @MUSIC3_20741
228@, 229@, 230@ = Char.GetOffsetInWorldCoords(34@(133@,21i), 0.0, 0.3, 0.5)
128@ += 1

:MUSIC3_20741
return 

:MUSIC3_20743
if 
  142@ == 0
goto_if_false @MUSIC3_20882
if 
  Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_20882
Blip.Remove(113@)
Text.ClearThisPrint('STP3_13')
if 
  123@ == 0
goto_if_false @MUSIC3_20821
175@ = 0

:MUSIC3_20821
if 
  123@ == 1
goto_if_false @MUSIC3_20875
113@ = Blip.AddForCoord(1306.4, -1137.5, 22.5)
Text.Print('STP3_33', 7000, 1)

:MUSIC3_20875
142@ = 1

:MUSIC3_20882
if 
  142@ == 1
goto_if_false @MUSIC3_20992
if 
  not Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_20992
Blip.Remove(113@)
113@ = Blip.AddForCar(73@)
Blip.SetAsFriendly(113@, True)
if 
  TIMERB > 7000
goto_if_false @MUSIC3_20985
Text.ClearThisPrint('STP3_33')
Text.Print('STP3_13', 7000, 1)

:MUSIC3_20985
142@ = 0

:MUSIC3_20992
return 

:MUSIC3_20994
if 
  147@ == 0
goto_if_false @MUSIC3_21058
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 72@, 35.0, 35.0, False)
goto_if_false @MUSIC3_21051
146@ = 5000

:MUSIC3_21051
147@ = 1

:MUSIC3_21058
if 
  147@ == 1
goto_if_false @MUSIC3_21466
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 72@, 35.0, 35.0, False)
goto_if_false @MUSIC3_21437
if 
  146@ > 4000
goto_if_false @MUSIC3_21152
148@ = 5
Text.PrintWithNumberNow('STP3_14', 148@, 4000, 1)

:MUSIC3_21152
if 
  4000 > 146@
goto_if_false @MUSIC3_21216
if 
  146@ > 3000
goto_if_false @MUSIC3_21216
148@ = 4
Text.PrintWithNumberNow('STP3_14', 148@, 4000, 1)

:MUSIC3_21216
if 
  3000 > 146@
goto_if_false @MUSIC3_21280
if 
  146@ > 2000
goto_if_false @MUSIC3_21280
148@ = 3
Text.PrintWithNumberNow('STP3_14', 148@, 4000, 1)

:MUSIC3_21280
if 
  2000 > 146@
goto_if_false @MUSIC3_21344
if 
  146@ > 1000
goto_if_false @MUSIC3_21344
148@ = 2
Text.PrintWithNumberNow('STP3_14', 148@, 4000, 1)

:MUSIC3_21344
if 
  1000 > 146@
goto_if_false @MUSIC3_21389
148@ = 1
Text.PrintWithNumberNow('STP3_15', 148@, 4000, 1)

:MUSIC3_21389
if 
  0 > 146@
goto_if_false @MUSIC3_21430
Text.PrintNow('STP3_07', 4000, 1)
125@ = 1

:MUSIC3_21430
goto @MUSIC3_21466

:MUSIC3_21437
Text.ClearThisPrint('STP3_14')
Text.ClearThisPrint('STP3_15')
147@ = 0

:MUSIC3_21466
return 

:MUSIC3_21468
if 
  175@ == 0
goto_if_false @MUSIC3_21570
if 
  not Car.IsHealthGreater(72@, 950)
goto_if_false @MUSIC3_21528
Text.PrintNow('STP3_30', 4000, 1)
175@ = 1

:MUSIC3_21528
if 
  not Car.IsHealthGreater(74@, 950)
goto_if_false @MUSIC3_21570
Text.PrintNow('STP3_30', 4000, 1)
175@ = 1

:MUSIC3_21570
if 
  175@ == 1
goto_if_false @MUSIC3_21676
if 
  not Car.IsHealthGreater(72@, 850)
goto_if_false @MUSIC3_21632
Text.ClearPrints
Text.Print('STP3_23', 4000, 1)
175@ = 2

:MUSIC3_21632
if 
  not Car.IsHealthGreater(74@, 850)
goto_if_false @MUSIC3_21676
Text.ClearPrints
Text.Print('STP3_23', 4000, 1)
175@ = 2

:MUSIC3_21676
if 
  175@ == 2
goto_if_false @MUSIC3_21756
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC3_21718
Task.KillCharOnFoot(75@, $stattreadstamina_ctr)

:MUSIC3_21718
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_21742
Task.KillCharOnFoot(77@, $stattreadstamina_ctr)

:MUSIC3_21742
TIMERA = 0
175@ = 3

:MUSIC3_21756
if 
  175@ == 3
goto_if_false @MUSIC3_21800
if 
  TIMERA > 3000
goto_if_false @MUSIC3_21800
125@ = 1

:MUSIC3_21800
return 

:MUSIC3_21802
if 
  not Char.IsDead(104@)
goto_if_false @MUSIC3_21859
232@ = Sequence.Open()
Task.Pause(-1, 150)
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(232@)
Char.PerformSequence(104@, 232@)
Sequence.Clear(232@)

:MUSIC3_21859
if 
  not Char.IsDead(105@)
goto_if_false @MUSIC3_21909
232@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(232@)
Char.PerformSequence(105@, 232@)
Sequence.Clear(232@)

:MUSIC3_21909
if 
  not Char.IsDead(106@)
goto_if_false @MUSIC3_21965
232@ = Sequence.Open()
Task.Pause(-1, 100)
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(232@)
Char.PerformSequence(106@, 232@)
Sequence.Clear(232@)

:MUSIC3_21965
return 

:MUSIC3_21967
if 
  not Char.IsDead(108@)
goto_if_false @MUSIC3_22024
232@ = Sequence.Open()
Task.Pause(-1, 150)
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(232@)
Char.PerformSequence(108@, 232@)
Sequence.Clear(232@)

:MUSIC3_22024
if 
  not Char.IsDead(109@)
goto_if_false @MUSIC3_22074
232@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(232@)
Char.PerformSequence(109@, 232@)
Sequence.Clear(232@)

:MUSIC3_22074
if 
  not Char.IsDead(110@)
goto_if_false @MUSIC3_22130
232@ = Sequence.Open()
Task.Pause(-1, 100)
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(232@)
Char.PerformSequence(110@, 232@)
Sequence.Clear(232@)

:MUSIC3_22130
return 

:MUSIC3_22132
if 
  not Car.IsDead(72@)
goto_if_false @MUSIC3_22186
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 72@, 160.0, 160.0, False)
goto_if_false @MUSIC3_22186
155@ += 1

:MUSIC3_22186
if 
  not Car.IsDead(74@)
goto_if_false @MUSIC3_22240
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 74@, 160.0, 160.0, False)
goto_if_false @MUSIC3_22240
155@ += 1

:MUSIC3_22240
if 
  not Car.IsDead(72@)
goto_if_false @MUSIC3_22285
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC3_22285
Task.CarTempAction(75@, 72@, TempAction.HandbrakeStraight, 3000)

:MUSIC3_22285
if 
  not Car.IsDead(74@)
goto_if_false @MUSIC3_22330
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_22330
Task.CarTempAction(77@, 74@, TempAction.HandbrakeStraight, 3000)

:MUSIC3_22330
return 

:MUSIC3_22332
if 
  153@ == 0
goto_if_false @MUSIC3_22484
if 
  not Car.IsDead(72@)
goto_if_false @MUSIC3_22484
if 
  not Char.LocateInCarCar2D($stattreadstamina_ctr, 72@, 15.0, 15.0, False)
goto_if_false @MUSIC3_22484
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC3_22484
Car.ImproveByCheating(72@, True)
Car.SetCruiseSpeed(72@, 100.0)
Car.MarkAsConvoyCar(72@, False)
StuckCarCheck.AddWithWarp(72@, 0.5, 4000, True, True, True, 7)
Task.CarMission(75@, 72@, -1, CarMission.BlockPlayerFaraway, 35.0, DrivingMode.AvoidCars)
153@ = 1

:MUSIC3_22484
if 
  122@ == 6
goto_if_false @MUSIC3_22839
if 
  TIMERB > 1000
goto_if_false @MUSIC3_22839
if 
  153@ == 1
goto_if_false @MUSIC3_22642
if 
  not Car.IsDead(72@)
goto_if_false @MUSIC3_22642
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC3_22642
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 72@, 20.0, 20.0, False)
goto_if_false @MUSIC3_22635
Task.CarMission(75@, 72@, -1, CarMission.BlockPlayerFaraway, 35.0, DrivingMode.AvoidCars)
153@ = 2
goto @MUSIC3_22642

:MUSIC3_22635
153@ = 2

:MUSIC3_22642
if 
  153@ == 2
goto_if_false @MUSIC3_22839
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MUSIC3_22839
if 
  not Car.IsDead(72@)
goto_if_false @MUSIC3_22839
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC3_22818
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 72@, 20.0, 20.0, False)
goto_if_false @MUSIC3_22811
Char.ClearTasks(75@)
232@ = Sequence.Open()
Task.CarTempAction(-1, 72@, TempAction.HandbrakeStraight, 3000)
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(232@)
Char.PerformSequence(75@, 232@)
Sequence.Clear(232@)
gosub @MUSIC3_21802
Car.LockDoors(72@, CarLock.Unlocked)
153@ = 3

:MUSIC3_22811
goto @MUSIC3_22839

:MUSIC3_22818
gosub @MUSIC3_21802
Car.LockDoors(72@, CarLock.Unlocked)
153@ = 3

:MUSIC3_22839
if 
  154@ == 0
goto_if_false @MUSIC3_22991
if 
  not Car.IsDead(74@)
goto_if_false @MUSIC3_22991
if 
  not Char.LocateInCarCar2D($stattreadstamina_ctr, 74@, 15.0, 15.0, False)
goto_if_false @MUSIC3_22991
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_22991
Car.ImproveByCheating(74@, True)
Car.SetCruiseSpeed(74@, 100.0)
Car.MarkAsConvoyCar(74@, False)
StuckCarCheck.AddWithWarp(74@, 0.5, 4000, True, True, True, 7)
Task.CarMission(77@, 74@, -1, CarMission.BlockPlayerFaraway, 35.0, DrivingMode.AvoidCars)
154@ = 1

:MUSIC3_22991
if 
  122@ == 6
goto_if_false @MUSIC3_23346
if 
  TIMERB > 1000
goto_if_false @MUSIC3_23346
if 
  154@ == 1
goto_if_false @MUSIC3_23149
if 
  not Car.IsDead(74@)
goto_if_false @MUSIC3_23149
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_23149
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 74@, 20.0, 20.0, False)
goto_if_false @MUSIC3_23142
Task.CarMission(77@, 74@, -1, CarMission.BlockPlayerFaraway, 35.0, DrivingMode.AvoidCars)
154@ = 2
goto @MUSIC3_23149

:MUSIC3_23142
154@ = 2

:MUSIC3_23149
if 
  154@ == 2
goto_if_false @MUSIC3_23346
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MUSIC3_23346
if 
  not Car.IsDead(74@)
goto_if_false @MUSIC3_23346
if 
  not Char.IsDead(77@)
goto_if_false @MUSIC3_23325
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 74@, 15.0, 15.0, False)
goto_if_false @MUSIC3_23318
Char.ClearTasks(77@)
232@ = Sequence.Open()
Task.CarTempAction(-1, 74@, TempAction.HandbrakeStraight, 3000)
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(232@)
Char.PerformSequence(77@, 232@)
Sequence.Clear(232@)
gosub @MUSIC3_21967
Car.LockDoors(74@, CarLock.Unlocked)
154@ = 3

:MUSIC3_23318
goto @MUSIC3_23346

:MUSIC3_23325
gosub @MUSIC3_21967
Car.LockDoors(74@, CarLock.Unlocked)
154@ = 3

:MUSIC3_23346
return 

:MUSIC3_23348
168@ = Math.RandomIntInRange(1, 37)
if 
  168@ == 1
goto_if_false @MUSIC3_23390
Car.CustomPlateForNextCar(169@, "GOT_M00_")

:MUSIC3_23390
if 
  168@ == 2
goto_if_false @MUSIC3_23423
Car.CustomPlateForNextCar(169@, "M00TV_4U")

:MUSIC3_23423
if 
  168@ == 3
goto_if_false @MUSIC3_23456
Car.CustomPlateForNextCar(169@, "MATHEW_2")

:MUSIC3_23456
if 
  168@ == 4
goto_if_false @MUSIC3_23489
Car.CustomPlateForNextCar(169@, "D4_DEW0R")

:MUSIC3_23489
if 
  168@ == 5
goto_if_false @MUSIC3_23522
Car.CustomPlateForNextCar(169@, "D0DE_777")

:MUSIC3_23522
if 
  168@ == 6
goto_if_false @MUSIC3_23555
Car.CustomPlateForNextCar(169@, "DAM0_666")

:MUSIC3_23555
if 
  168@ == 7
goto_if_false @MUSIC3_23588
Car.CustomPlateForNextCar(169@, "C0NEY_88")

:MUSIC3_23588
if 
  168@ == 8
goto_if_false @MUSIC3_23621
Car.CustomPlateForNextCar(169@, "PRE4CHER")

:MUSIC3_23621
if 
  168@ == 9
goto_if_false @MUSIC3_23654
Car.CustomPlateForNextCar(169@, "DBP_4NDY")

:MUSIC3_23654
if 
  168@ == 10
goto_if_false @MUSIC3_23687
Car.CustomPlateForNextCar(169@, "EV1L_SLY")

:MUSIC3_23687
if 
  168@ == 11
goto_if_false @MUSIC3_23720
Car.CustomPlateForNextCar(169@, "N1_R4V3N")

:MUSIC3_23720
if 
  168@ == 12
goto_if_false @MUSIC3_23753
Car.CustomPlateForNextCar(169@, "D1VX_Z00")

:MUSIC3_23753
if 
  168@ == 13
goto_if_false @MUSIC3_23785
Car.CustomPlateForNextCar(169@, "MR_B3NN")

:MUSIC3_23785
if 
  168@ == 14
goto_if_false @MUSIC3_23818
Car.CustomPlateForNextCar(169@, "R3D_R4SP")

:MUSIC3_23818
if 
  168@ == 15
goto_if_false @MUSIC3_23851
Car.CustomPlateForNextCar(169@, "LA_B0MBA")

:MUSIC3_23851
if 
  168@ == 16
goto_if_false @MUSIC3_23884
Car.CustomPlateForNextCar(169@, "L3337_0G")

:MUSIC3_23884
if 
  168@ == 17
goto_if_false @MUSIC3_23917
Car.CustomPlateForNextCar(169@, "BUDD4H_X")

:MUSIC3_23917
if 
  168@ == 18
goto_if_false @MUSIC3_23950
Car.CustomPlateForNextCar(169@, "T3H_BUCK")

:MUSIC3_23950
if 
  168@ == 19
goto_if_false @MUSIC3_23983
Car.CustomPlateForNextCar(169@, "CHUNKY_1")

:MUSIC3_23983
if 
  168@ == 20
goto_if_false @MUSIC3_24016
Car.CustomPlateForNextCar(169@, "EV1L_BNZ")

:MUSIC3_24016
if 
  168@ == 21
goto_if_false @MUSIC3_24049
Car.CustomPlateForNextCar(169@, "S4ND_M4N")

:MUSIC3_24049
if 
  168@ == 22
goto_if_false @MUSIC3_24082
Car.CustomPlateForNextCar(169@, "RKK_DBP1")

:MUSIC3_24082
if 
  168@ == 23
goto_if_false @MUSIC3_24115
Car.CustomPlateForNextCar(169@, "RE1_K0KU")

:MUSIC3_24115
if 
  168@ == 24
goto_if_false @MUSIC3_24148
Car.CustomPlateForNextCar(169@, "S3XY_JUD")

:MUSIC3_24148
if 
  168@ == 25
goto_if_false @MUSIC3_24181
Car.CustomPlateForNextCar(169@, "SUNRA_93")

:MUSIC3_24181
if 
  168@ == 26
goto_if_false @MUSIC3_24214
Car.CustomPlateForNextCar(169@, "UG_FUX69")

:MUSIC3_24214
if 
  168@ == 27
goto_if_false @MUSIC3_24247
Car.CustomPlateForNextCar(169@, "LI0N_CUM")

:MUSIC3_24247
if 
  168@ == 28
goto_if_false @MUSIC3_24280
Car.CustomPlateForNextCar(169@, "RKK_PWND")

:MUSIC3_24280
if 
  168@ == 29
goto_if_false @MUSIC3_24313
Car.CustomPlateForNextCar(169@, "HAZE_B0B")

:MUSIC3_24313
if 
  168@ == 30
goto_if_false @MUSIC3_24346
Car.CustomPlateForNextCar(169@, "T3H_FLUF")

:MUSIC3_24346
if 
  168@ == 31
goto_if_false @MUSIC3_24379
Car.CustomPlateForNextCar(169@, "BM_4NDY_")

:MUSIC3_24379
if 
  168@ == 32
goto_if_false @MUSIC3_24412
Car.CustomPlateForNextCar(169@, "BM_D34N_")

:MUSIC3_24412
if 
  168@ == 33
goto_if_false @MUSIC3_24445
Car.CustomPlateForNextCar(169@, "BM_L4C3Y")

:MUSIC3_24445
if 
  168@ == 34
goto_if_false @MUSIC3_24478
Car.CustomPlateForNextCar(169@, "BM_D3V__")

:MUSIC3_24478
if 
  168@ == 35
goto_if_false @MUSIC3_24511
Car.CustomPlateForNextCar(169@, "NU_SK00L")

:MUSIC3_24511
if 
  168@ == 36
goto_if_false @MUSIC3_24544
Car.CustomPlateForNextCar(169@, "G4L_AVET")

:MUSIC3_24544
if 
  168@ == 37
goto_if_false @MUSIC3_24577
Car.CustomPlateForNextCar(169@, "M0J0_J0J")

:MUSIC3_24577
return 

:MUSIC3_24579
if 
  174@ == 1
goto_if_false @MUSIC3_24626
set_lvar_text_label 178@s = 'LOC3_AA'
set_lvar_int_to_constant 206@ = 22000
220@ = 1

:MUSIC3_24626
if 
  174@ == 2
goto_if_false @MUSIC3_24761
set_lvar_text_label 178@s = 'LOC3_BA'
set_lvar_text_label 180@s = 'LOC3_BB'
set_lvar_text_label 182@s = 'LOC3_BC'
set_lvar_text_label 184@s = 'LOC3_BD'
set_lvar_text_label 186@s = 'LOC3_BE'
set_lvar_int_to_constant 206@ = 22001
set_lvar_int_to_constant 207@ = 22002
set_lvar_int_to_constant 208@ = 22003
set_lvar_int_to_constant 209@ = 22004
set_lvar_int_to_constant 210@ = 22005
220@ = 5

:MUSIC3_24761
if 
  174@ == 3
goto_if_false @MUSIC3_24830
set_lvar_text_label 178@s = 'LOC3_CA'
set_lvar_text_label 180@s = 'LOC3_CB'
set_lvar_int_to_constant 206@ = 22006
set_lvar_int_to_constant 207@ = 22007
220@ = 2

:MUSIC3_24830
if 
  174@ == 4
goto_if_false @MUSIC3_24965
set_lvar_text_label 178@s = 'LOC3_DA'
set_lvar_text_label 180@s = 'LOC3_DB'
set_lvar_text_label 182@s = 'LOC3_DC'
set_lvar_text_label 184@s = 'LOC3_DD'
set_lvar_text_label 186@s = 'LOC3_EA'
set_lvar_int_to_constant 206@ = 22008
set_lvar_int_to_constant 207@ = 22009
set_lvar_int_to_constant 208@ = 22010
set_lvar_int_to_constant 209@ = 22011
set_lvar_int_to_constant 210@ = 22012
220@ = 5

:MUSIC3_24965
if 
  174@ == 5
goto_if_false @MUSIC3_25210
set_lvar_text_label 178@s = 'LOC3_EB'
set_lvar_text_label 180@s = 'LOC3_EC'
set_lvar_text_label 182@s = 'LOC3_ED'
set_lvar_text_label 184@s = 'LOC3_EE'
set_lvar_text_label 186@s = 'LOC3_EF'
set_lvar_text_label 188@s = 'LOC3_EG'
set_lvar_text_label 190@s = 'LOC3_EH'
set_lvar_text_label 192@s = 'LOC3_EJ'
set_lvar_text_label 194@s = 'LOC3_EK'
set_lvar_text_label 196@s = 'LOC3_EL'
set_lvar_int_to_constant 206@ = 22013
set_lvar_int_to_constant 207@ = 22014
set_lvar_int_to_constant 208@ = 22015
set_lvar_int_to_constant 209@ = 22016
set_lvar_int_to_constant 210@ = 22017
set_lvar_int_to_constant 211@ = 22018
set_lvar_int_to_constant 212@ = 22019
set_lvar_int_to_constant 213@ = 22020
set_lvar_int_to_constant 214@ = 22021
set_lvar_int_to_constant 215@ = 22022
220@ = 10

:MUSIC3_25210
if 
  174@ == 6
goto_if_false @MUSIC3_25257
set_lvar_text_label 178@s = 'LOC3_EO'
set_lvar_int_to_constant 206@ = 22025
220@ = 1

:MUSIC3_25257
if 
  174@ == 7
goto_if_false @MUSIC3_25393
set_lvar_text_label 178@s = 'MOBRING'
set_lvar_text_label 180@s = 'MLOC04A'
set_lvar_text_label 182@s = 'MLOC04B'
set_lvar_text_label 184@s = 'MLOC04C'
set_lvar_text_label 186@s = 'MLOC04D'
set_lvar_int_to_constant 206@ = 23000
set_lvar_int_to_constant 207@ = 27419
set_lvar_int_to_constant 208@ = 27420
set_lvar_int_to_constant 209@ = 27421
set_lvar_int_to_constant 210@ = 27422
set_lvar_int_to_lvar_int 220@ = 177@

:MUSIC3_25393
if 
  174@ == 8
goto_if_false @MUSIC3_25529
set_lvar_text_label 178@s = 'LOC3_FA'
set_lvar_text_label 180@s = 'LOC3_FB'
set_lvar_text_label 182@s = 'LOC3_FC'
set_lvar_text_label 184@s = 'LOC3_FE'
set_lvar_text_label 186@s = 'LOC3_FF'
set_lvar_int_to_constant 206@ = 22026
set_lvar_int_to_constant 207@ = 22027
set_lvar_int_to_constant 208@ = 22028
set_lvar_int_to_constant 209@ = 22030
set_lvar_int_to_constant 210@ = 22031
set_lvar_int_to_lvar_int 220@ = 177@

:MUSIC3_25529
if 
  174@ == 9
goto_if_false @MUSIC3_25643
set_lvar_text_label 178@s = 'LOC3_GA'
set_lvar_text_label 180@s = 'LOC3_GB'
set_lvar_text_label 182@s = 'LOC3_GC'
set_lvar_text_label 184@s = 'LOC3_GD'
set_lvar_int_to_constant 206@ = 22032
set_lvar_int_to_constant 207@ = 22033
set_lvar_int_to_constant 208@ = 22034
set_lvar_int_to_constant 209@ = 22035
set_lvar_int_to_lvar_int 220@ = 177@

:MUSIC3_25643
if 
  174@ == 10
goto_if_false @MUSIC3_25692
set_lvar_text_label 178@s = 'RYD1_BE'
set_lvar_int_to_constant 206@ = 33613
220@ = 1

:MUSIC3_25692
if 
  174@ == 11
goto_if_false @MUSIC3_25739
set_lvar_text_label 178@s = 'LOC3_JA'
set_lvar_int_to_constant 206@ = 22038
220@ = 1

:MUSIC3_25739
if 
  174@ == 12
goto_if_false @MUSIC3_25786
set_lvar_text_label 178@s = 'LOC3_JB'
set_lvar_int_to_constant 206@ = 22039
220@ = 1

:MUSIC3_25786
set_lvar_int_to_lvar_int 223@ = 176@
221@ = 0
222@ = 0
224@ = 1
return 

:MUSIC3_25817
if 
  174@ == 1
goto_if_false @MUSIC3_25943
if 
  is_int_lvar_greater_than_int_lvar 220@ > 176@
goto_if_false @MUSIC3_25936
gosub @MUSIC3_26583
gosub @MUSIC3_26690
if 
  not Char.IsDead(76@)
goto_if_false @MUSIC3_25898
gosub @MUSIC3_26844
goto @MUSIC3_25929

:MUSIC3_25898
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(178@(176@,14s))
221@ = 0
222@ = 0

:MUSIC3_25929
goto @MUSIC3_25943

:MUSIC3_25936
174@ = 0

:MUSIC3_25943
if or
  174@ == 7
  174@ == 2
  174@ == 6
  174@ == 11
  174@ == 12
goto_if_false @MUSIC3_26043
if 
  is_int_lvar_greater_than_int_lvar 220@ > 176@
goto_if_false @MUSIC3_26036
gosub @MUSIC3_26583
gosub @MUSIC3_26690
gosub @MUSIC3_26844
goto @MUSIC3_26043

:MUSIC3_26036
174@ = 0

:MUSIC3_26043
if 
  122@ == 5
goto_if_false @MUSIC3_26337
if 
  123@ == 0
goto_if_false @MUSIC3_26337
if or
  174@ == 3
  174@ == 4
  174@ == 5
  174@ == 10
goto_if_false @MUSIC3_26337
if 
  is_int_lvar_greater_than_int_lvar 220@ > 176@
goto_if_false @MUSIC3_26330
gosub @MUSIC3_26583
gosub @MUSIC3_26690
if 
  not Char.IsDead(102@)
goto_if_false @MUSIC3_26292
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_26254
if 
  Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_26216
gosub @MUSIC3_26844
goto @MUSIC3_26247

:MUSIC3_26216
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(178@(176@,14s))
221@ = 0
222@ = 0

:MUSIC3_26247
goto @MUSIC3_26285

:MUSIC3_26254
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(178@(176@,14s))
221@ = 0
222@ = 0

:MUSIC3_26285
goto @MUSIC3_26323

:MUSIC3_26292
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(178@(176@,14s))
221@ = 0
222@ = 0

:MUSIC3_26323
goto @MUSIC3_26337

:MUSIC3_26330
174@ = 0

:MUSIC3_26337
if or
  174@ == 8
  174@ == 9
goto_if_false @MUSIC3_26581
if 
  is_int_lvar_greater_than_int_lvar 220@ > 176@
goto_if_false @MUSIC3_26574
gosub @MUSIC3_26583
gosub @MUSIC3_26690
if 
  not Char.IsDead(75@)
goto_if_false @MUSIC3_26536
if 
  not Car.IsDead(73@)
goto_if_false @MUSIC3_26498
if 
  Char.IsInCar($stattreadstamina_ctr, 73@)
goto_if_false @MUSIC3_26460
gosub @MUSIC3_26844
goto @MUSIC3_26491

:MUSIC3_26460
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(178@(176@,14s))
221@ = 0
222@ = 0

:MUSIC3_26491
goto @MUSIC3_26529

:MUSIC3_26498
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(178@(176@,14s))
221@ = 0
222@ = 0

:MUSIC3_26529
goto @MUSIC3_26567

:MUSIC3_26536
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(178@(176@,14s))
221@ = 0
222@ = 0

:MUSIC3_26567
goto @MUSIC3_26581

:MUSIC3_26574
174@ = 0

:MUSIC3_26581
return 

:MUSIC3_26583
if 
  is_int_lvar_greater_than_int_lvar 220@ > 223@
goto_if_false @MUSIC3_26688
if 
  221@ == 0
goto_if_false @MUSIC3_26645
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 206@(223@,14i))
223@ += 1
221@ = 1

:MUSIC3_26645
if 
  222@ == 0
goto_if_false @MUSIC3_26688
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 206@(223@,14i))
223@ += 1
222@ = 1

:MUSIC3_26688
return 

:MUSIC3_26690
if 
  224@ == 1
goto_if_false @MUSIC3_26766
if 
  221@ == 1
goto_if_false @MUSIC3_26766
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MUSIC3_26766
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(178@(176@,14s), 4500, 1)
221@ = 2

:MUSIC3_26766
if 
  224@ == 2
goto_if_false @MUSIC3_26842
if 
  222@ == 1
goto_if_false @MUSIC3_26842
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @MUSIC3_26842
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(178@(176@,14s), 4500, 1)
222@ = 2

:MUSIC3_26842
return 

:MUSIC3_26844
if 
  221@ == 2
goto_if_false @MUSIC3_26907
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MUSIC3_26907
Text.ClearThisPrint(178@(176@,14s))
176@ += 1
224@ = 2
221@ = 0

:MUSIC3_26907
if 
  222@ == 2
goto_if_false @MUSIC3_26970
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @MUSIC3_26970
Text.ClearThisPrint(178@(176@,14s))
176@ += 1
224@ = 1
222@ = 0

:MUSIC3_26970
return 

//-------------Mission 34---------------
// Originally: House Party

:MUSIC5
script_name 'MUSIC5'
gosub @MUSIC5_47
if 
  has_deatharrest_been_executed 
goto_if_false @MUSIC5_38
gosub @MUSIC5_15871

:MUSIC5_38
gosub @MUSIC5_16040
terminate_this_script 

:MUSIC5_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('STRAP4')
Text.ClearPrints
wait 0
$weekday = 1
80@ = 0
81@ = 0
82@ = 0
83@ = 0
106@ = 0
84@ = 0
85@ = 0
86@ = 0
87@ = 0
88@ = 0
set_lvar_int_to_constant 89@ = 106
set_lvar_int_to_constant 90@ = 107
set_lvar_int_to_constant 91@ = 107
set_lvar_int_to_constant 92@ = 103
set_lvar_int_to_constant 93@ = 103
set_lvar_int_to_constant 94@ = 104
95@ = 0
96@ = 0
105@ = 0
107@ = 0
108@ = 0
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0.0
142@ = 0.0
143@ = 0.0
97@ = 0
98@ = 0
99@ = 0
100@ = 0
101@ = 0
104@ = 75
CarGenerator.Switch($gen_car10, 0)
CarGenerator.Switch($gen_car12, 0)
CarGenerator.Switch($gen_car15, 0)
World.ClearArea(791.7, -1627.0, 12.3, 10.0, True)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Player.MakeGangDisappear
Camera.SetFadingColor(0, 0, 0)
if 
  $1943 == 0
goto_if_false @MUSIC5_609
World.ClearArea(782.5, -1619.3, 12.0, 5.0, False)
102@, 103@ = Streaming.GetRandomCarModelInMemory(True)
if 
  102@ >= 0
goto_if_false @MUSIC5_506
64@ = Car.Create(102@, 782.5, -1619.3, 12.0)
Car.SetHeading(64@, 270.0)

:MUSIC5_506
World.ClearArea(782.5, -1604.8, 12.0, 5.0, False)
102@, 103@ = Streaming.GetRandomCarModelInMemory(True)
if 
  102@ >= 0
goto_if_false @MUSIC5_591
65@ = Car.Create(102@, 782.5, -1604.8, 12.0)
Car.SetHeading(65@, 270.0)

:MUSIC5_591
Cutscene.Load('STRAP4A')
goto @MUSIC5_673

:MUSIC5_609
if 
  97@ == 0
goto_if_false @MUSIC5_673
World.ClearArea(2484.9, -1649.2, 12.5, 160.0, False)
Streaming.SetAreaVisible(3)
Cutscene.Load('STRP4B1')
97@ = 1

:MUSIC5_673
if 
  not Cutscene.HasLoaded
goto_if_false @MUSIC5_697
wait 0
goto @MUSIC5_673

:MUSIC5_697
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MUSIC5_706
if 
  not Cutscene.HasFinished
goto_if_false @MUSIC5_730
wait 0
goto @MUSIC5_706

:MUSIC5_730
Camera.DoFade(0, Fade.Out)

:MUSIC5_736
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_760
wait 0
goto @MUSIC5_736

:MUSIC5_760
Car.MarkAsNoLongerNeeded(64@)
Car.MarkAsNoLongerNeeded(65@)
Cutscene.Clear
Player.SetControl($statbike_temp, False)
if 
  97@ == 1
goto_if_false @MUSIC5_1053
if 
  not Cutscene.WasSkipped
goto_if_false @MUSIC5_1053
World.ClearArea(2484.9, -1649.2, 12.5, 160.0, False)
Camera.SetFadingColor(0, 0, 0)
Streaming.RequestModel(492)
Streaming.LoadAllModelsNow
World.ClearArea(2503.0, -1658.8, 12.3, 5.0, True)
Car.CustomPlateForNextCar(492, "GROVE4L_")
34@ = Car.Create(492, 2503.0, -1658.8, 13.0)
Car.ChangeColor(34@, 59, 34)
Car.SetHeading(34@, 234.0)
Streaming.SetAreaVisible(0)
Cutscene.Load('STRP4B2')

:MUSIC5_945
if 
  not Cutscene.HasLoaded
goto_if_false @MUSIC5_969
wait 0
goto @MUSIC5_945

:MUSIC5_969
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MUSIC5_978
if 
  not Cutscene.HasFinished
goto_if_false @MUSIC5_1002
wait 0
goto @MUSIC5_978

:MUSIC5_1002
Camera.DoFade(0, Fade.Out)

:MUSIC5_1008
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_1032
wait 0
goto @MUSIC5_1008

:MUSIC5_1032
Cutscene.Clear
Car.Delete(34@)
Player.SetControl($statbike_temp, False)
97@ = 0

:MUSIC5_1053
Player.MakeGangReappear
Camera.SetFadingColor(0, 0, 0)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
wait 0
if 
  $1943 == 0
goto_if_false @MUSIC5_1112
Camera.DoFade(0, Fade.In)
goto @MUSIC5_15889

:MUSIC5_1112
Streaming.RequestModel(106)
Streaming.RequestModel(107)
Streaming.RequestModel(103)
Streaming.RequestModel(104)
Streaming.RequestModel(492)
Streaming.RequestModel(566)
Streaming.RequestModel(412)
Streaming.RequestModel(344)
Streaming.RequestModel(372)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.LoadSpecialCharacter(2, 'RYDER2')
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 19800)

:MUSIC5_1186
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @MUSIC5_1212
wait 0
goto @MUSIC5_1186

:MUSIC5_1212
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot3, 2482.0, -1646.3, 12.8)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Streaming.LoadAllModelsNow
Group.Remove($flag_cell_nation)
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Mission1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission3, PedType.Mission1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission2, PedType.Mission3)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission3, PedType.Mission2)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission2, PedType.Player1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission3, PedType.Player1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Mission1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission2, PedType.Mission2)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission3, PedType.Mission3)
147@ = Player.GetGroup($statbike_temp)
Group.SetSeparationRange(147@, 1000.0)
151@ = DecisionMakerGroup.Load(0)
DecisionMakerGroup.ClearEventResponse(151@, 55)
DecisionMakerGroup.ClearEventResponse(151@, 54)
DecisionMakerGroup.AddEventResponse(151@, 15, 1502, 0.0, 100.0, 0.0, 0.0, False, True)
Group.SetDecisionMaker(147@, 151@)
Group.SetDefaultTaskAllocator(147@, DefaultTaskAllocator.StandStill)
145@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
146@ = DecisionMakerChar.Copy(65542)
DecisionMakerChar.ClearEventResponse(146@, 13)
DecisionMakerChar.ClearEventResponse(145@, 13)
$big_smoke_car = Char.Create(PedType.Mission3, 290, 2485.5, -1647.7, 13.3)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetHeading($big_smoke_car, 196.6)
Char.SetOnlyDamagedByPlayer($big_smoke_car, True)
Char.SetStayInSamePlace($big_smoke_car, True)
Char.GiveWeapon($big_smoke_car, WeaponType.Tec9, 3000)
Char.AddArmor($big_smoke_car, 100)
Char.SetOnlyDamagedByPlayer($big_smoke_car, True)
Char.SetDecisionMaker($big_smoke_car, 146@)
World.ClearArea(2503.0, -1658.8, 12.3, 5.0, True)
Car.CustomPlateForNextCar(492, "GROVE4L_")
34@ = Car.Create(492, 2503.0, -1658.8, 13.0)
Car.ChangeColor(34@, 59, 34)
Car.SetHeading(34@, 234.0)
Car.LockDoors(34@, CarLock.LockoutPlayerOnly)
Car.SetHeavy(34@, True)
Car.SetProofs(34@, True, True, False, False, False)
95@ = Math.RandomIntInRange(0, 3)
63@ = Char.Create(PedType.Mission3, 89@(95@,6i), 2487.1, -1647.7, 13.3)
Char.SetNeverTargeted(63@, True)
Char.SetHeading(63@, 158.9)
Char.SetOnlyDamagedByPlayer(63@, True)
Char.SetStayInSamePlace(63@, True)
Char.GiveWeapon(63@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(63@, 146@)
World.ClearArea(2496.7, -1683.4, 13.0, 5.0, True)
set_lvar_int_to_constant 99@ = 412
gosub @MUSIC5_16445
35@ = Car.Create(412, 2496.7, -1683.4, 13.0)
Car.SetHeading(35@, 272.5)
Car.LockDoors(35@, CarLock.LockoutPlayerOnly)
Car.SetHeavy(35@, True)
Car.SetProofs(35@, True, True, False, False, False)
$sweet_car = Char.Create(PedType.Mission3, 291, 2484.1, -1641.2, 13.5)
Char.SetStayInSamePlace($sweet_car, True)
Char.SetNeverTargeted($sweet_car, True)
Char.SetHeading($sweet_car, 180.0)
Char.GiveWeapon($sweet_car, WeaponType.Tec9, 3000)
Char.SetDecisionMaker($sweet_car, 146@)
95@ = Math.RandomIntInRange(0, 3)
36@ = Char.Create(PedType.Mission2, 89@(95@,6i), 2486.2, -1642.2, 13.5)
Char.SetStayInSamePlace(36@, True)
Char.SetNeverTargeted(36@, True)
Char.SetHeading(36@, 180.0)
Char.GiveWeapon(36@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(36@, 146@)
95@ = Math.RandomIntInRange(0, 3)
37@ = Char.Create(PedType.Mission2, 89@(95@,6i), 2486.2, -1641.2, 13.5)
Char.SetStayInSamePlace(37@, True)
Char.SetNeverTargeted(37@, True)
Char.SetHeading(37@, 180.0)
Char.GiveWeapon(37@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(37@, 146@)
95@ = Math.RandomIntInRange(0, 3)
39@ = Char.Create(PedType.Mission2, 89@(95@,6i), 2486.2, -1639.2, 13.5)
Char.SetStayInSamePlace(39@, True)
Char.SetNeverTargeted(39@, True)
Char.SetHeading(39@, 180.0)
Char.GiveWeapon(39@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(39@, 146@)
set_lvar_int_to_constant 99@ = 566
gosub @MUSIC5_16445
43@ = Car.Create(566, 2227.6, -1667.8, 13.7)
Car.SetHeading(43@, 342.3)
Car.SetProofs(43@, True, True, False, False, False)
Car.LockDoors(43@, CarLock.LockoutPlayerOnly)
95@ = Math.RandomIntInRange(3, 6)
47@ = Char.CreateInsideCar(43@, PedType.Mission1, 89@(95@,6i))
Char.SetKindaStayInSamePlace(47@, True)
Char.GiveWeapon(47@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(47@, 146@)
149@ = Group.Create(DefaultTaskAllocator.StandStill)
Group.SetSeparationRange(149@, 300.0)
Group.SetDecisionMaker(149@, 151@)
Group.SetLeader(149@, 47@)
Char.SetAccuracy(47@, 104@)
95@ = Math.RandomIntInRange(3, 6)
48@ = Char.CreateAsPassenger(43@, PedType.Mission1, 89@(95@,6i), 0)
Char.GiveWeapon(48@, WeaponType.Tec9, 3000)
Char.SetKindaStayInSamePlace(48@, True)
Char.SetDecisionMaker(48@, 146@)
Group.SetMember(149@, 48@)
Char.SetAccuracy(48@, 104@)
95@ = Math.RandomIntInRange(3, 6)
49@ = Char.CreateAsPassenger(43@, PedType.Mission1, 89@(95@,6i), 1)
Char.SetOnlyDamagedByPlayer(49@, True)
Char.SetSuffersCriticalHits(49@, False)
Char.AddArmor(49@, 100)
Char.GiveWeapon(49@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(49@, 146@)
Char.SetAccuracy(49@, 104@)
95@ = Math.RandomIntInRange(3, 6)
50@ = Char.CreateAsPassenger(43@, PedType.Mission1, 89@(95@,6i), 2)
Char.GiveWeapon(50@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(50@, 146@)
Group.SetMember(149@, 50@)
Char.SetAccuracy(50@, 104@)
set_lvar_int_to_constant 99@ = 566
gosub @MUSIC5_16445
44@ = Car.Create(566, 2224.6, -1677.9, 13.2)
Car.SetHeading(44@, 342.3)
Car.SetProofs(44@, True, True, False, False, False)
Car.LockDoors(44@, CarLock.LockoutPlayerOnly)
95@ = Math.RandomIntInRange(3, 6)
51@ = Char.CreateInsideCar(44@, PedType.Mission1, 89@(95@,6i))
Char.GiveWeapon(51@, WeaponType.Tec9, 3000)
Char.SetKindaStayInSamePlace(51@, True)
Char.SetDecisionMaker(51@, 146@)
Group.SetMember(149@, 51@)
Char.SetAccuracy(51@, 104@)
95@ = Math.RandomIntInRange(3, 6)
52@ = Char.CreateAsPassenger(44@, PedType.Mission1, 89@(95@,6i), 0)
Char.GiveWeapon(52@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(52@, 146@)
Group.SetMember(149@, 52@)
Char.SetAccuracy(52@, 104@)
95@ = Math.RandomIntInRange(3, 6)
53@ = Char.CreateAsPassenger(44@, PedType.Mission1, 89@(95@,6i), 1)
Char.GiveWeapon(53@, WeaponType.Tec9, 3000)
Char.SetKindaStayInSamePlace(53@, True)
Char.SetDecisionMaker(53@, 146@)
Group.SetMember(149@, 53@)
Char.SetAccuracy(53@, 104@)
95@ = Math.RandomIntInRange(3, 6)
54@ = Char.CreateAsPassenger(44@, PedType.Mission1, 89@(95@,6i), 2)
Char.GiveWeapon(54@, WeaponType.Tec9, 3000)
Char.SetKindaStayInSamePlace(54@, True)
Char.SetDecisionMaker(54@, 146@)
Group.SetMember(149@, 54@)
Char.SetAccuracy(54@, 104@)
Streaming.SetAreaVisible(0)
Streaming.LoadScene(2484.9, -1649.2, 12.5)
World.ClearArea(2484.9, -1649.2, 12.5, 160.0, False)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.SetMaxFireGenerations(1)
Streaming.RequestCarRecording(22)
Streaming.RequestCarRecording(23)
World.ClearArea(2492.4, -1632.0, 12.4, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2492.4, -1632.0, 12.4)
Camera.SetFixedPosition(2483.0, -1649.8, 12.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2494.3, -1650.3, 16.6, SwitchType.JumpCut)
Game.ShutAllCharsUp(True)
Game.EnableAmbientCrime(False)

:MUSIC5_3034
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @MUSIC5_3060
goto @MUSIC5_15889

:MUSIC5_3060
Player.AlterWantedLevel($statbike_temp, 0)
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_3099
goto @MUSIC5_15871

:MUSIC5_3099
if 
  80@ == 0
goto_if_false @MUSIC5_7138
if 
  81@ == 0
goto_if_false @MUSIC5_4059
if 
  not Car.IsDead(34@)
goto_if_false @MUSIC5_3206
144@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2498.5, -1652.3, 12.5, 6, -1)
Task.EnterCarAsDriver(-1, 34@, -1)
Sequence.Close(144@)
Char.PerformSequence($big_smoke_car, 144@)
Sequence.Clear(144@)

:MUSIC5_3206
if 
  not Char.IsDead(63@)
goto_if_false @MUSIC5_3293
if 
  not Car.IsDead(35@)
goto_if_false @MUSIC5_3293
144@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2487.4, -1657.9, 12.3, 6, -1)
Task.EnterCarAsDriver(-1, 35@, -1)
Sequence.Close(144@)
Char.PerformSequence(63@, 144@)
Sequence.Clear(144@)

:MUSIC5_3293
if 
  not Char.IsDead($sweet_car)
goto_if_false @MUSIC5_3431
144@ = Sequence.Open()
Task.Pause(-1, 500)
Task.GoStraightToCoord(-1, 2486.1, -1646.7, 12.9, MoveState.Walk, 1)
Task.GoStraightToCoord(-1, 2485.1, -1652.7, 12.3, MoveState.Run, -1)
Task.FollowPathNodesToCoord(-1, 2478.4, -1649.1, 12.5, 6, -1)
Task.FollowPathNodesToCoord(-1, 2478.2, -1631.4, 12.5, 6, -1)
Sequence.Close(144@)
Char.PerformSequence($sweet_car, 144@)
Sequence.Clear(144@)

:MUSIC5_3431
if 
  not Char.IsDead(36@)
goto_if_false @MUSIC5_3624
144@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.GoStraightToCoord(-1, 2487.1, -1646.7, 12.9, MoveState.Walk, 1)
Task.GoStraightToCoord(-1, 2487.1, -1654.7, 12.3, MoveState.Run, -1)
Task.FollowPathNodesToCoord(-1, 2472.3, -1652.8, 12.5, 6, -1)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Pause(-1, 9000)
Task.FollowPathNodesToCoord(-1, 2466.3, -1660.7, 12.2, 6, -1)
Task.AchieveHeading(-1, 88.6)
Sequence.Close(144@)
Char.PerformSequence(36@, 144@)
Sequence.Clear(144@)

:MUSIC5_3624
if 
  not Char.IsDead(37@)
goto_if_false @MUSIC5_3793
144@ = Sequence.Open()
Task.Pause(-1, 1500)
Task.GoStraightToCoord(-1, 2486.1, -1646.7, 12.9, MoveState.Walk, 1)
Task.GoStraightToCoord(-1, 2486.1, -1654.7, 12.3, MoveState.Run, -1)
Task.FollowPathNodesToCoord(-1, 2467.6, -1649.2, 12.5, 6, -1)
Task.AchieveHeading(-1, 110.0)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.ToggleDuck(-1, True)
Sequence.Close(144@)
Char.PerformSequence(37@, 144@)
Sequence.Clear(144@)

:MUSIC5_3793
if 
  not Char.IsDead(39@)
goto_if_false @MUSIC5_3986
144@ = Sequence.Open()
Task.Pause(-1, 3000)
Task.GoStraightToCoord(-1, 2486.1, -1646.7, 12.9, MoveState.Walk, 1)
Task.GoStraightToCoord(-1, 2486.1, -1654.7, 12.3, MoveState.Run, -1)
Task.FollowPathNodesToCoord(-1, 2473.4, -1652.7, 12.5, 6, -1)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Pause(-1, 9000)
Task.FollowPathNodesToCoord(-1, 2463.8, -1663.6, 12.2, 6, -1)
Task.AchieveHeading(-1, 116.3)
Sequence.Close(144@)
Char.PerformSequence(39@, 144@)
Sequence.Clear(144@)

:MUSIC5_3986
Camera.DoFade(1000, Fade.In)
105@ = 1
107@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 108@ = 107@
108@ += 1
gosub @MUSIC5_17676
82@ = 1
skip_cutscene_start_internal @MUSIC5_5676
TIMERA = 0
81@ = 1

:MUSIC5_4059
if 
  81@ == 1
goto_if_false @MUSIC5_4205
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MUSIC5_4205
if 
  TIMERA > 3000
goto_if_false @MUSIC5_4205
105@ = 2
107@ = 0
108@ = 2
gosub @MUSIC5_17676
Camera.SetFixedPosition(2501.5, -1650.5, 13.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2498.9, -1682.1, 16.3, SwitchType.JumpCut)
TIMERA = 0
81@ = 2

:MUSIC5_4205
if 
  81@ == 2
goto_if_false @MUSIC5_5334
if 
  86@ == 0
goto_if_false @MUSIC5_4491
if 
  TIMERA > 6000
goto_if_false @MUSIC5_4491
if 
  not Car.IsDead(43@)
goto_if_false @MUSIC5_4372
if 
  not Char.IsDead(47@)
goto_if_false @MUSIC5_4372
144@ = Sequence.Open()
Task.CarDriveToCoord(-1, 43@, 2435.3, -1661.1, 12.2, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarTempAction(-1, 43@, TempAction.TurnRight, 200)
Task.CarTempAction(-1, 43@, TempAction.HandbrakeStraight, 400)
Sequence.Close(144@)
Char.PerformSequence(47@, 144@)
Sequence.Clear(144@)

:MUSIC5_4372
if 
  not Car.IsDead(44@)
goto_if_false @MUSIC5_4484
if 
  not Char.IsDead(51@)
goto_if_false @MUSIC5_4484
144@ = Sequence.Open()
Task.CarDriveToCoord(-1, 44@, 2440.8, -1656.9, 12.2, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarTempAction(-1, 44@, TempAction.TurnLeft, 200)
Task.CarTempAction(-1, 44@, TempAction.HandbrakeStraight, 400)
Sequence.Close(144@)
Char.PerformSequence(51@, 144@)
Sequence.Clear(144@)

:MUSIC5_4484
86@ = 1

:MUSIC5_4491
if or
  2 > 84@
  2 > 85@
goto_if_false @MUSIC5_5264
if 
  not Car.IsDead(34@)
goto_if_false @MUSIC5_5014
if 
  84@ == 0
goto_if_false @MUSIC5_4800
if 
  Char.IsInCar($big_smoke_car, 34@)
goto_if_false @MUSIC5_4793
Camera.DoFade(500, Fade.Out)

:MUSIC5_4576
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_4600
wait 0
goto @MUSIC5_4576

:MUSIC5_4600
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_4632
goto @MUSIC5_15871

:MUSIC5_4632
Streaming.LoadScene(2459.275, -1653.263, 13.0938)
Camera.SetFixedPosition(2459.275, -1653.263, 13.0938, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2460.089, -1653.843, 13.1158, SwitchType.JumpCut)
if 
  not Car.IsDead(34@)
goto_if_false @MUSIC5_4723
Car.StartPlayback(34@, 22)

:MUSIC5_4723
Camera.DoFade(500, Fade.In)

:MUSIC5_4730
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_4754
wait 0
goto @MUSIC5_4730

:MUSIC5_4754
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_4786
goto @MUSIC5_15871

:MUSIC5_4786
84@ = 1

:MUSIC5_4793
goto @MUSIC5_5014

:MUSIC5_4800
if 
  not Car.IsDead(34@)
goto_if_false @MUSIC5_5014
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @MUSIC5_5014
if 
  84@ == 1
goto_if_false @MUSIC5_5014
144@ = Sequence.Open()
Task.Pause(-1, 2000)
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2458.9, -1665.6, 12.2, MoveState.Run, -2)
Task.GoStraightToCoord(-1, 2465.0, -1666.4, 12.2, MoveState.Run, -2)
Task.FollowPathNodesToCoord(-1, 2465.3, -1654.6, 12.2, 6, -2)
Task.AchieveHeading(-1, 107.0)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.ToggleDuck(-1, True)
Sequence.Close(144@)
Char.PerformSequence($big_smoke_car, 144@)
Sequence.Clear(144@)
84@ = 2

:MUSIC5_5014
if 
  not Char.IsDead(63@)
goto_if_false @MUSIC5_5257
if 
  not Car.IsDead(35@)
goto_if_false @MUSIC5_5257
if 
  85@ == 0
goto_if_false @MUSIC5_5104
if 
  Char.IsInCar(63@, 35@)
goto_if_false @MUSIC5_5097
Car.StartPlayback(35@, 23)
85@ = 1

:MUSIC5_5097
goto @MUSIC5_5257

:MUSIC5_5104
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @MUSIC5_5257
if 
  85@ == 1
goto_if_false @MUSIC5_5257
144@ = Sequence.Open()
Task.Pause(-1, 2000)
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2458.2, -1655.0, 12.2, MoveState.Run, -2)
Task.GoStraightToCoord(-1, 2461.1, -1650.8, 12.2, MoveState.Run, -2)
Task.FollowPathNodesToCoord(-1, 2467.4, -1657.7, 12.2, 6, -2)
Task.AchieveHeading(-1, 110.0)
Sequence.Close(144@)
Char.PerformSequence(63@, 144@)
Sequence.Clear(144@)
85@ = 2

:MUSIC5_5257
goto @MUSIC5_5334

:MUSIC5_5264
Camera.DoFade(500, Fade.Out)

:MUSIC5_5271
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_5295
wait 0
goto @MUSIC5_5271

:MUSIC5_5295
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_5327
goto @MUSIC5_15871

:MUSIC5_5327
81@ = 3

:MUSIC5_5334
if 
  81@ == 3
goto_if_false @MUSIC5_5607
Streaming.LoadScene(2404.5, -1672.3, 15.8)
set_lvar_int_to_constant 99@ = 566
gosub @MUSIC5_16445
61@ = Car.Create(566, 2485.0, -1682.5, 15.0)
Car.LockDoors(61@, CarLock.LockoutPlayerOnly)
Car.SetHeavy(61@, True)
Car.SetProofs(61@, True, True, False, False, False)
Car.SetHeading(61@, 90.0)
Camera.ResetNewScriptables
Camera.PersistPos(True)
Camera.PersistTrack(True)
Camera.SetVectorMove(2404.5, -1672.3, 15.8, 2408.6, -1672.7, 15.9, 5000, True)
Camera.SetVectorTrack(2384.8, -1665.4, 13.4, 2416.5, -1665.3, 13.9, 5000, True)
Camera.DoFade(500, Fade.In)

:MUSIC5_5537
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_5561
wait 0
goto @MUSIC5_5537

:MUSIC5_5561
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_5593
goto @MUSIC5_15871

:MUSIC5_5593
TIMERA = 0
81@ = 4

:MUSIC5_5607
if 
  81@ == 4
goto_if_false @MUSIC5_5651
if 
  TIMERA > 5800
goto_if_false @MUSIC5_5651
81@ = 5

:MUSIC5_5651
if 
  81@ == 5
goto_if_false @MUSIC5_7138
82@ = 0

:MUSIC5_5676
skip_cutscene_end 
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_5710
goto @MUSIC5_15871

:MUSIC5_5710
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
105@ = 0
Camera.DoFade(500, Fade.Out)

:MUSIC5_5734
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_5758
wait 0
goto @MUSIC5_5734

:MUSIC5_5758
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_5790
goto @MUSIC5_15871

:MUSIC5_5790
Camera.ResetNewScriptables
if 
  82@ == 1
goto_if_false @MUSIC5_5904
if 
  not Car.IsDead(43@)
goto_if_false @MUSIC5_5856
Car.SetCoordinates(43@, 2453.1, -1663.0, 12.3)
Car.SetHeading(43@, 217.2)

:MUSIC5_5856
if 
  not Car.IsDead(44@)
goto_if_false @MUSIC5_5902
Car.SetCoordinates(44@, 2452.2, -1651.9, 12.3)
Car.SetHeading(44@, 314.2)

:MUSIC5_5902
Text.ClearPrints

:MUSIC5_5904
if 
  Car.IsDead(61@)
goto_if_false @MUSIC5_5997
set_lvar_int_to_constant 99@ = 566
gosub @MUSIC5_16445
61@ = Car.Create(566, 2485.0, -1682.5, 15.0)
Car.LockDoors(61@, CarLock.LockoutPlayerOnly)
Car.SetHeavy(61@, True)
Car.SetProofs(61@, True, True, False, False, False)
Car.SetHeading(61@, 90.0)

:MUSIC5_5997
if 
  not Car.IsDead(34@)
goto_if_false @MUSIC5_6064
if 
  Car.IsPlaybackGoingOn(34@)
goto_if_false @MUSIC5_6034
Car.StopPlayback(34@)

:MUSIC5_6034
Car.SetCoordinates(34@, 2462.3, -1662.4, 12.1)
Car.SetHeading(34@, 325.8)

:MUSIC5_6064
if 
  not Car.IsDead(35@)
goto_if_false @MUSIC5_6131
if 
  Car.IsPlaybackGoingOn(35@)
goto_if_false @MUSIC5_6101
Car.StopPlayback(35@)

:MUSIC5_6101
Car.SetCoordinates(35@, 2463.4, -1656.1, 12.0)
Car.SetHeading(35@, 50.5)

:MUSIC5_6131
Char.ClearTasksImmediately($big_smoke_car)
World.ClearArea(2465.3, -1654.6, 12.2, 1.0, True)
Char.SetCoordinates($big_smoke_car, 2465.3, -1654.6, 12.2)
Char.SetHeading($big_smoke_car, 107.0)
Char.SetDecisionMaker($big_smoke_car, 145@)
148@ = Group.Create(DefaultTaskAllocator.StandStill)
Group.SetDecisionMaker(148@, 151@)
Group.SetLeader(148@, $big_smoke_car)
144@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 1000.0, False, False, False, True, -1)
Task.ToggleDuck(-1, True)
Sequence.Close(144@)
Char.PerformSequence($big_smoke_car, 144@)
Sequence.Clear(144@)
if 
  not Char.IsDead(63@)
goto_if_false @MUSIC5_6380
Char.ClearTasksImmediately(63@)
World.ClearArea(2467.4, -1657.7, 12.2, 1.0, True)
Char.SetCoordinates(63@, 2467.4, -1657.7, 12.2)
Char.SetHeading(63@, 107.0)
Char.SetDecisionMaker(63@, 145@)
Group.SetMember(148@, 63@)

:MUSIC5_6380
if 
  not Char.IsDead(36@)
goto_if_false @MUSIC5_6539
Char.ClearTasksImmediately(36@)
World.ClearArea(2466.3, -1660.7, 12.2, 1.0, True)
Char.SetCoordinates(36@, 2466.3, -1660.7, 12.2)
Char.SetHeading(36@, 88.6)
Char.SetDecisionMaker(36@, 145@)
Group.SetMember(147@, 36@)
144@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 1000.0, False, False, False, True, -1)
Sequence.Close(144@)
Char.PerformSequence(36@, 144@)
Sequence.Clear(144@)

:MUSIC5_6539
if 
  not Char.IsDead(37@)
goto_if_false @MUSIC5_6698
Char.ClearTasksImmediately(37@)
World.ClearArea(2467.6, -1649.2, 12.5, 1.0, True)
Char.SetCoordinates(37@, 2467.6, -1649.2, 12.5)
Char.SetHeading(37@, 110.0)
Char.SetDecisionMaker(37@, 145@)
Group.SetMember(147@, 37@)
144@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 1000.0, False, False, False, True, -1)
Sequence.Close(144@)
Char.PerformSequence(37@, 144@)
Sequence.Clear(144@)

:MUSIC5_6698
if 
  not Char.IsDead(39@)
goto_if_false @MUSIC5_6857
Char.ClearTasksImmediately(39@)
World.ClearArea(2462.3, -1665.7, 12.2, 1.0, True)
Char.SetCoordinates(39@, 2462.3, -1665.7, 12.2)
Char.SetHeading(39@, 76.9)
Char.SetDecisionMaker(39@, 145@)
Group.SetMember(147@, 39@)
144@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 1000.0, False, False, False, True, -1)
Sequence.Close(144@)
Char.PerformSequence(39@, 144@)
Sequence.Clear(144@)

:MUSIC5_6857
Streaming.LoadScene(2487.3, -1650.7, 12.5)
World.ClearArea(2469.7, -1657.0, 12.3, 1.0, True)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2469.7, -1657.0, 12.3)
Char.SetHeading($stattreadstamina_ctr, 90.0)
62@ = Pickup.CreateWithAmmo(372, PickupType.OnStreet, 120, 2466.0, -1656.1, 13.3)
DecisionMakerChar.AddEventResponse(145@, 13, 917, 0.0, 100.0, 0.0, 0.0, False, True)
Char.Delete($sweet_car)
Streaming.UnloadSpecialCharacter(2)
105@ = 2
107@ = 2
108@ = 4
gosub @MUSIC5_17676
Game.ShutAllCharsUp(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(1500, Fade.In)

:MUSIC5_7061
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_7085
wait 0
goto @MUSIC5_7061

:MUSIC5_7085
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_7117
goto @MUSIC5_15871

:MUSIC5_7117
TIMERA = 0
81@ = 0
80@ = 1

:MUSIC5_7138
if 
  80@ == 1
goto_if_false @MUSIC5_8230
if 
  106@ == 0
goto_if_false @MUSIC5_7215
if 
  105@ == 0
goto_if_false @MUSIC5_7215
Text.Print('STP4_02', 11000, 1)
106@ = 1

:MUSIC5_7215
if 
  81@ == 0
goto_if_false @MUSIC5_7861
if 
  not Char.IsDead(47@)
goto_if_false @MUSIC5_7305
144@ = Sequence.Open()
Task.Pause(-1, 1200)
Task.LeaveAnyCar(-1)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(47@, 144@)
Sequence.Clear(144@)
66@ = Blip.AddForChar(47@)
Blip.ChangeScale(66@, 1)

:MUSIC5_7305
if 
  not Char.IsDead(48@)
goto_if_false @MUSIC5_7386
144@ = Sequence.Open()
Task.Pause(-1, 500)
Task.LeaveAnyCar(-1)
Task.AchieveHeading(-1, 295.1)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(48@, 144@)
Sequence.Clear(144@)
67@ = Blip.AddForChar(48@)
Blip.ChangeScale(67@, 1)

:MUSIC5_7386
if 
  not Char.IsDead(49@)
goto_if_false @MUSIC5_7458
144@ = Sequence.Open()
Task.Pause(-1, 2200)
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(49@, 144@)
Sequence.Clear(144@)
68@ = Blip.AddForChar(49@)
Blip.ChangeScale(68@, 1)

:MUSIC5_7458
if 
  not Char.IsDead(50@)
goto_if_false @MUSIC5_7530
144@ = Sequence.Open()
Task.Pause(-1, 2000)
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(50@, 144@)
Sequence.Clear(144@)
69@ = Blip.AddForChar(50@)
Blip.ChangeScale(69@, 1)

:MUSIC5_7530
if 
  not Char.IsDead(51@)
goto_if_false @MUSIC5_7611
144@ = Sequence.Open()
Task.Pause(-1, 1800)
Task.LeaveAnyCar(-1)
Task.AchieveHeading(-1, 245.3)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(51@, 144@)
Sequence.Clear(144@)
70@ = Blip.AddForChar(51@)
Blip.ChangeScale(70@, 1)

:MUSIC5_7611
if 
  not Char.IsDead(52@)
goto_if_false @MUSIC5_7692
144@ = Sequence.Open()
Task.Pause(-1, 2300)
Task.LeaveAnyCar(-1)
Task.AchieveHeading(-1, 268.6)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(52@, 144@)
Sequence.Clear(144@)
71@ = Blip.AddForChar(52@)
Blip.ChangeScale(71@, 1)

:MUSIC5_7692
if 
  not Char.IsDead(53@)
goto_if_false @MUSIC5_7773
144@ = Sequence.Open()
Task.Pause(-1, 2100)
Task.LeaveAnyCar(-1)
Task.AchieveHeading(-1, 225.8)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(53@, 144@)
Sequence.Clear(144@)
72@ = Blip.AddForChar(53@)
Blip.ChangeScale(72@, 1)

:MUSIC5_7773
if 
  not Char.IsDead(54@)
goto_if_false @MUSIC5_7854
144@ = Sequence.Open()
Task.Pause(-1, 1200)
Task.LeaveAnyCar(-1)
Task.AchieveHeading(-1, 236.0)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(54@, 144@)
Sequence.Clear(144@)
73@ = Blip.AddForChar(54@)
Blip.ChangeScale(73@, 1)

:MUSIC5_7854
81@ = 1

:MUSIC5_7861
if 
  81@ == 1
goto_if_false @MUSIC5_8162
if 
  Char.IsDead(47@)
goto_if_false @MUSIC5_8162
if 
  Char.IsDead(48@)
goto_if_false @MUSIC5_8162
if 
  Char.IsDead(49@)
goto_if_false @MUSIC5_8162
if 
  Char.IsDead(50@)
goto_if_false @MUSIC5_8162
if 
  Char.IsDead(51@)
goto_if_false @MUSIC5_8162
if 
  Char.IsDead(52@)
goto_if_false @MUSIC5_8162
if 
  Char.IsDead(53@)
goto_if_false @MUSIC5_8162
if 
  Char.IsDead(54@)
goto_if_false @MUSIC5_8162
if 
  Char.IsDead(55@)
goto_if_false @MUSIC5_8162
if 
  Char.IsDead(56@)
goto_if_false @MUSIC5_8162
Char.MarkAsNoLongerNeeded(47@)
Char.MarkAsNoLongerNeeded(48@)
Char.MarkAsNoLongerNeeded(49@)
Char.MarkAsNoLongerNeeded(50@)
Char.MarkAsNoLongerNeeded(51@)
Char.MarkAsNoLongerNeeded(52@)
Char.MarkAsNoLongerNeeded(53@)
Char.MarkAsNoLongerNeeded(54@)
Char.MarkAsNoLongerNeeded(55@)
Char.MarkAsNoLongerNeeded(56@)
Blip.Remove(66@)
Blip.Remove(67@)
Blip.Remove(68@)
Blip.Remove(69@)
Blip.Remove(70@)
Blip.Remove(71@)
Blip.Remove(72@)
Blip.Remove(73@)
Blip.Remove(74@)
Blip.Remove(75@)
Text.ClearPrints
TIMERA = 0
81@ = 0
80@ = 2

:MUSIC5_8162
if 
  10 > 88@
goto_if_false @MUSIC5_8223
if 
  Char.IsDead(47@(88@,14i))
goto_if_false @MUSIC5_8209
Blip.Remove(66@(88@,14i))

:MUSIC5_8209
88@ += 1
goto @MUSIC5_8230

:MUSIC5_8223
88@ = 0

:MUSIC5_8230
if 
  80@ == 2
goto_if_false @MUSIC5_9775
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @MUSIC5_9291
if 
  81@ == 0
goto_if_false @MUSIC5_9291
if 
  TIMERA > 2000
goto_if_false @MUSIC5_9291
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
105@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.ShutAllCharsUp(True)
World.ClearArea(2425.8, -1636.6, 26.2, 5.0, True)
set_lvar_int_to_constant 99@ = 566
gosub @MUSIC5_16445
45@ = Car.Create(566, 2425.8, -1636.6, 26.2)
Car.SetHeading(45@, 166.8)
World.ClearArea(2441.6, -1658.6, 25.2, 5.0, True)
47@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2441.6, -1658.6, 25.2)
Char.SetAccuracy(47@, 104@)
Char.SetHeading(47@, 262.7)
Char.SetOnlyDamagedByPlayer(47@, True)
Char.GiveWeapon(47@, WeaponType.Tec9, 3000)
Char.SetStayInSamePlace(47@, True)
150@ = Group.Create(DefaultTaskAllocator.StandStill)
Group.SetSeparationRange(150@, 300.0)
Char.SetHealth(47@, 10)
Char.SetDecisionMaker(47@, 146@)
Group.SetDecisionMaker(150@, 151@)
Group.SetLeader(150@, 47@)
66@ = Blip.AddForChar(47@)
Blip.ChangeScale(66@, 1)
144@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.Pause(-1, 500)
Task.Climb(-1, False)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(47@, 144@)
Sequence.Clear(144@)
World.ClearArea(2441.6, -1660.2, 25.1, 5.0, True)
48@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2441.6, -1660.2, 25.1)
Char.SetAccuracy(48@, 104@)
Char.SetHeading(48@, 265.9)
Char.SetOnlyDamagedByPlayer(48@, True)
Char.GiveWeapon(48@, WeaponType.Tec9, 3000)
Char.SetHealth(48@, 10)
Char.SetStayInSamePlace(48@, True)
Char.SetDecisionMaker(48@, 146@)
Group.SetMember(150@, 48@)
67@ = Blip.AddForChar(48@)
Blip.ChangeScale(67@, 1)
144@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.Pause(-1, 600)
Task.Climb(-1, False)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(48@, 144@)
Sequence.Clear(144@)
World.ClearArea(2441.6, -1665.2, 24.6, 5.0, True)
49@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2441.6, -1665.2, 24.6)
Char.SetAccuracy(49@, 104@)
Char.SetHeading(49@, 273.6)
Char.SetOnlyDamagedByPlayer(49@, True)
Char.SetHealth(49@, 10)
Char.GiveWeapon(49@, WeaponType.Tec9, 3000)
Char.SetStayInSamePlace(49@, True)
Char.SetDecisionMaker(49@, 146@)
Group.SetMember(150@, 49@)
68@ = Blip.AddForChar(49@)
Blip.ChangeScale(68@, 1)
144@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.Pause(-1, 1700)
Task.Climb(-1, False)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(49@, 144@)
Sequence.Clear(144@)
World.ClearArea(2441.6, -1655.4, 25.6, 5.0, True)
50@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2441.6, -1655.4, 25.6)
Char.SetAccuracy(50@, 104@)
Char.SetHeading(50@, 280.0)
Char.SetOnlyDamagedByPlayer(50@, True)
Char.GiveWeapon(50@, WeaponType.Tec9, 3000)
Char.SetHealth(50@, 10)
Char.SetStayInSamePlace(50@, True)
Char.SetDecisionMaker(50@, 146@)
Group.SetMember(150@, 50@)
69@ = Blip.AddForChar(50@)
Blip.ChangeScale(69@, 1)
144@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.Pause(-1, 2000)
Task.Climb(-1, False)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(50@, 144@)
Sequence.Clear(144@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 50@)
Camera.SetFixedPosition(2474.3, -1660.9, 14.1, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2449.8, -1657.2, 19.1, SwitchType.JumpCut)
105@ = 2
107@ = 5
108@ = 6
gosub @MUSIC5_17676
skip_cutscene_start_internal @MUSIC5_9328
TIMERA = 0
TIMERB = 0
81@ = 1

:MUSIC5_9291
if 
  81@ == 1
goto_if_false @MUSIC5_9498
if 
  TIMERA > 3000
goto_if_false @MUSIC5_9498

:MUSIC5_9328
skip_cutscene_end 
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_9362
goto @MUSIC5_15871

:MUSIC5_9362
if 
  82@ == 1
goto_if_false @MUSIC5_9397
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
105@ = 0

:MUSIC5_9397
if 
  not Char.IsDead(37@)
goto_if_false @MUSIC5_9435
Task.ShootAtCoord(37@, 2443.9, -1659.9, 24.6, -2)

:MUSIC5_9435
if 
  not Char.IsDead(39@)
goto_if_false @MUSIC5_9456
Char.ExplodeHead(39@)

:MUSIC5_9456
Game.ShutAllCharsUp(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
106@ = 0
81@ = 2

:MUSIC5_9498
if 
  81@ == 2
goto_if_false @MUSIC5_9707
if 
  106@ == 0
goto_if_false @MUSIC5_9575
if 
  105@ == 0
goto_if_false @MUSIC5_9575
Text.Print('STP4_03', 11000, 1)
106@ = 1

:MUSIC5_9575
if 
  Char.IsDead(47@)
goto_if_false @MUSIC5_9707
if 
  Char.IsDead(48@)
goto_if_false @MUSIC5_9707
if 
  Char.IsDead(49@)
goto_if_false @MUSIC5_9707
if 
  Char.IsDead(50@)
goto_if_false @MUSIC5_9707
Car.MarkAsNoLongerNeeded(45@)
Char.MarkAsNoLongerNeeded(47@)
Char.MarkAsNoLongerNeeded(48@)
Char.MarkAsNoLongerNeeded(49@)
Char.MarkAsNoLongerNeeded(50@)
Blip.Remove(66@)
Blip.Remove(67@)
Blip.Remove(68@)
Blip.Remove(69@)
Text.ClearPrints
TIMERA = 0
81@ = 0
80@ = 3

:MUSIC5_9707
if 
  4 > 88@
goto_if_false @MUSIC5_9768
if 
  Char.IsDead(47@(88@,14i))
goto_if_false @MUSIC5_9754
Blip.Remove(66@(88@,14i))

:MUSIC5_9754
88@ += 1
goto @MUSIC5_9775

:MUSIC5_9768
88@ = 0

:MUSIC5_9775
if 
  80@ == 3
goto_if_false @MUSIC5_14610
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @MUSIC5_11429
if 
  81@ == 0
goto_if_false @MUSIC5_11429
if 
  TIMERA > 2000
goto_if_false @MUSIC5_11429
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:MUSIC5_9864
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_9888
wait 0
goto @MUSIC5_9864

:MUSIC5_9888
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_9920
goto @MUSIC5_15871

:MUSIC5_9920
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
105@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Game.ShutAllCharsUp(True)
DecisionMakerChar.ClearEventResponse(146@, 13)
DecisionMakerChar.ClearEventResponse(145@, 13)
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2473.5, -1655.2, 12.1, 5.0, 5.0, 5.0, False)
goto_if_false @MUSIC5_10058
World.ClearArea(2475.8, -1663.6, 12.3, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2475.8, -1663.6, 12.3)

:MUSIC5_10058
if 
  not Car.IsDead(35@)
goto_if_false @MUSIC5_10135
World.ClearArea(2473.5, -1655.2, 12.1, 5.0, True)
Car.SetCoordinates(35@, 2473.5, -1655.2, 12.1)
Car.SetHeading(35@, 267.2)
goto @MUSIC5_10236

:MUSIC5_10135
World.ClearArea(2473.5, -1655.2, 12.1, 5.0, True)
set_lvar_int_to_constant 99@ = 412
gosub @MUSIC5_16445
35@ = Car.Create(412, 2473.5, -1655.2, 12.1)
Car.SetHeading(35@, 267.2)
Car.LockDoors(35@, CarLock.LockoutPlayerOnly)
Car.SetHeavy(35@, True)
Car.SetProofs(35@, True, True, False, False, False)

:MUSIC5_10236
World.ClearArea(2480.7, -1729.2, 12.2, 5.0, True)
set_lvar_int_to_constant 99@ = 566
gosub @MUSIC5_16445
46@ = Car.Create(566, 2480.7, -1729.2, 12.2)
Car.SetHeading(46@, 105.1)
Car.LockDoors(46@, CarLock.LockoutPlayerOnly)
World.ClearArea(2481.2, -1718.2, 12.5, 5.0, True)
47@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2481.2, -1718.2, 12.5)
Char.SetAccuracy(47@, 104@)
Char.SetHeading(47@, 353.4)
Char.GiveWeapon(47@, WeaponType.Tec9, 3000)
Char.SetStayInSamePlace(47@, True)
Char.SetDecisionMaker(47@, 146@)
150@ = Group.Create(DefaultTaskAllocator.StandStill)
Group.SetSeparationRange(150@, 300.0)
Group.SetDecisionMaker(150@, 151@)
Group.SetLeader(150@, 47@)
66@ = Blip.AddForChar(47@)
Blip.ChangeScale(66@, 1)
144@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2481.2, -1688.1, 12.5, MoveState.Run, -1)
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.ShootAtCoord(-1, 2480.2, -1680.1, 12.5, 10000)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(47@, 144@)
Sequence.Clear(144@)
World.ClearArea(2482.1, -1720.2, 12.5, 5.0, True)
48@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2482.1, -1720.2, 12.5)
Char.SetAccuracy(48@, 104@)
Char.SetHeading(48@, 352.8)
Char.GiveWeapon(48@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(48@, 146@)
Group.SetMember(150@, 48@)
67@ = Blip.AddForChar(48@)
Blip.ChangeScale(67@, 1)
144@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2482.1, -1689.8, 12.5, MoveState.Run, -1)
Task.ShootAtCoord(-1, 2480.2, -1680.1, 13.5, 4000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(48@, 144@)
Sequence.Clear(144@)
World.ClearArea(2481.0, -1718.2, 12.5, 5.0, True)
49@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2481.0, -1718.2, 12.5)
Char.SetAccuracy(49@, 104@)
Char.SetHeading(49@, 352.8)
Char.GiveWeapon(49@, WeaponType.Tec9, 3000)
Char.SetStayInSamePlace(49@, True)
Char.SetDecisionMaker(49@, 146@)
Group.SetMember(150@, 49@)
68@ = Blip.AddForChar(49@)
Blip.ChangeScale(68@, 1)
144@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2481.0, -1687.8, 12.5, MoveState.Run, -1)
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.ShootAtCoord(-1, 2480.2, -1680.1, 13.5, 10000)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(49@, 144@)
Sequence.Clear(144@)
World.ClearArea(2480.3, -1719.2, 12.5, 5.0, True)
50@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2480.3, -1719.2, 12.5)
Char.SetAccuracy(50@, 104@)
Char.SetHeading(50@, 352.8)
Char.GiveWeapon(50@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(50@, 146@)
Group.SetMember(150@, 50@)
69@ = Blip.AddForChar(50@)
Blip.ChangeScale(69@, 1)
144@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2480.3, -1689.7, 12.5, MoveState.Run, -1)
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.ShootAtCoord(-1, 2480.2, -1680.1, 13.5, 4000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(50@, 144@)
Sequence.Clear(144@)
Streaming.LoadSceneInDirection(2478.8, -1708.1, 12.9, 190.0)
Camera.SetFixedPosition(2481.0, -1682.5, 12.9, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2487.4, -1700.0, 16.7, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:MUSIC5_11317
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_11341
wait 0
goto @MUSIC5_11317

:MUSIC5_11341
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_11373
goto @MUSIC5_15871

:MUSIC5_11373
105@ = 2
107@ = 6
108@ = 7
gosub @MUSIC5_17676
82@ = 1
skip_cutscene_start_internal @MUSIC5_11473
TIMERA = 0
81@ = 1

:MUSIC5_11429
if 
  81@ == 1
goto_if_false @MUSIC5_13449
if 
  TIMERA > 3000
goto_if_false @MUSIC5_13449
82@ = 0

:MUSIC5_11473
skip_cutscene_end 
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_11507
goto @MUSIC5_15871

:MUSIC5_11507
if 
  82@ == 1
goto_if_false @MUSIC5_11542
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
105@ = 0

:MUSIC5_11542
Camera.DoFade(500, Fade.Out)

:MUSIC5_11549
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_11573
wait 0
goto @MUSIC5_11549

:MUSIC5_11573
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_11605
goto @MUSIC5_15871

:MUSIC5_11605
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetHeading($stattreadstamina_ctr, 215.5)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MUSIC5_11768
Char.ClearTasksImmediately($big_smoke_car)
World.ClearArea(2472.5, -1666.2, 12.3, 1.0, True)
Char.SetCoordinates($big_smoke_car, 2472.5, -1666.2, 12.3)
Char.SetHeading($big_smoke_car, 234.4)
Char.SetStayInSamePlace($big_smoke_car, False)
144@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 146@)
Task.ToggleDuck(-1, False)
Task.GoStraightToCoord(-1, 2476.1, -1673.4, 12.5, MoveState.Walk, -1)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence($big_smoke_car, 144@)
Sequence.Clear(144@)

:MUSIC5_11768
if 
  not Char.IsDead(63@)
goto_if_false @MUSIC5_11862
Char.ClearTasksImmediately(63@)
Char.SetStayInSamePlace(63@, False)
144@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 146@)
Task.ToggleDuck(-1, False)
Task.GoStraightToCoord(-1, 2478.2, -1673.7, 12.5, MoveState.Run, -1)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(63@, 144@)
Sequence.Clear(144@)

:MUSIC5_11862
if 
  not Char.IsDead(36@)
goto_if_false @MUSIC5_11956
Char.ClearTasksImmediately(36@)
Char.SetStayInSamePlace(36@, False)
144@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 146@)
Task.ToggleDuck(-1, False)
Task.GoStraightToCoord(-1, 2481.2, -1682.9, 12.5, MoveState.Run, -1)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(36@, 144@)
Sequence.Clear(144@)

:MUSIC5_11956
if 
  not Char.IsDead(37@)
goto_if_false @MUSIC5_12050
Char.ClearTasksImmediately(37@)
Char.SetStayInSamePlace(37@, False)
144@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 146@)
Task.ToggleDuck(-1, False)
Task.GoStraightToCoord(-1, 2482.2, -1682.9, 12.5, MoveState.Run, -1)
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(37@, 144@)
Sequence.Clear(144@)

:MUSIC5_12050
DecisionMakerChar.AddEventResponse(145@, 13, 917, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerGroup.AddEventResponse(151@, 15, 1502, 0.0, 100.0, 0.0, 0.0, False, True)
if 
  not Char.IsDead(47@)
goto_if_false @MUSIC5_12169
Char.ClearTasksImmediately(47@)
144@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(47@, 144@)
Sequence.Clear(144@)

:MUSIC5_12169
if 
  not Char.IsDead(48@)
goto_if_false @MUSIC5_12220
Char.ClearTasksImmediately(48@)
144@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(48@, 144@)
Sequence.Clear(144@)

:MUSIC5_12220
if 
  not Char.IsDead(49@)
goto_if_false @MUSIC5_12271
Char.ClearTasksImmediately(49@)
144@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(49@, 144@)
Sequence.Clear(144@)

:MUSIC5_12271
if 
  not Char.IsDead(50@)
goto_if_false @MUSIC5_12376
Char.ClearTasksImmediately(50@)
World.ClearArea(2489.6, -1683.3, 12.5, 1.0, True)
Char.SetCoordinates(50@, 2489.6, -1683.3, 12.5)
Char.SetHeading(50@, 45.5)
144@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 145@)
Sequence.Close(144@)
Char.PerformSequence(50@, 144@)
Sequence.Clear(144@)

:MUSIC5_12376
World.ClearArea(2469.4, -1708.9, 12.5, 5.0, True)
51@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2469.4, -1708.9, 12.5)
Char.SetAccuracy(51@, 104@)
Char.SetHeading(51@, 352.8)
Char.GiveWeapon(51@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(51@, 145@)
Group.SetMember(150@, 51@)
70@ = Blip.AddForChar(51@)
Blip.ChangeScale(70@, 1)
144@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(51@, 144@)
Sequence.Clear(144@)
World.ClearArea(2467.1, -1710.8, 12.5, 5.0, True)
52@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2467.1, -1710.8, 12.5)
Char.SetAccuracy(52@, 104@)
Char.SetHeading(52@, 352.8)
Char.GiveWeapon(52@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(52@, 145@)
Group.SetMember(150@, 52@)
71@ = Blip.AddForChar(52@)
Blip.ChangeScale(71@, 1)
144@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(52@, 144@)
Sequence.Clear(144@)
World.ClearArea(2529.3, -1691.6, 12.5, 5.0, True)
53@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2529.3, -1691.6, 12.5)
Char.SetAccuracy(53@, 104@)
Char.SetHeading(53@, 352.8)
Char.GiveWeapon(53@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(53@, 145@)
Group.SetMember(150@, 53@)
72@ = Blip.AddForChar(53@)
Blip.ChangeScale(72@, 1)
144@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(53@, 144@)
Sequence.Clear(144@)
World.ClearArea(2529.7, -1690.1, 12.5, 5.0, True)
54@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2529.7, -1690.1, 12.5)
Char.SetAccuracy(54@, 104@)
Char.SetHeading(54@, 352.8)
Char.GiveWeapon(54@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(54@, 145@)
Group.SetMember(150@, 54@)
73@ = Blip.AddForChar(54@)
Blip.ChangeScale(73@, 1)
144@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(54@, 144@)
Sequence.Clear(144@)
World.ClearArea(2478.7, -1645.7, 12.5, 5.0, True)
55@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2478.7, -1645.7, 12.5)
Char.SetAccuracy(55@, 104@)
Char.SetHeading(55@, 180.0)
Char.GiveWeapon(55@, WeaponType.Tec9, 3000)
Char.SetStayInSamePlace(55@, True)
Char.SetDecisionMaker(55@, 146@)
World.ClearArea(2477.7, -1645.7, 12.5, 5.0, True)
56@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2477.7, -1645.7, 12.5)
Char.SetAccuracy(56@, 104@)
Char.SetHeading(56@, 180.0)
Char.GiveWeapon(56@, WeaponType.Tec9, 3000)
Char.SetStayInSamePlace(56@, True)
Char.SetDecisionMaker(56@, 146@)
World.ClearArea(2478.7, -1644.7, 12.5, 5.0, True)
57@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2478.7, -1644.7, 12.5)
Char.SetAccuracy(57@, 104@)
Char.SetHeading(57@, 180.0)
Char.GiveWeapon(57@, WeaponType.Tec9, 3000)
Char.SetStayInSamePlace(57@, True)
Char.SetDecisionMaker(57@, 146@)
World.ClearArea(2477.7, -1644.7, 12.5, 5.0, True)
58@ = Char.Create(PedType.Mission1, 89@(95@,6i), 2477.7, -1644.7, 12.5)
Char.SetAccuracy(58@, 104@)
Char.SetHeading(58@, 180.0)
Char.GiveWeapon(58@, WeaponType.Tec9, 3000)
Char.SetStayInSamePlace(58@, True)
Char.SetDecisionMaker(58@, 146@)
Game.ShutAllCharsUp(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.Print('STP4_04', 11000, 1)
Camera.DoFade(500, Fade.In)

:MUSIC5_13379
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_13403
wait 0
goto @MUSIC5_13379

:MUSIC5_13403
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_13435
goto @MUSIC5_15871

:MUSIC5_13435
TIMERA = 0
81@ = 2

:MUSIC5_13449
if 
  81@ == 2
goto_if_false @MUSIC5_14542
if 
  96@ == 0
goto_if_false @MUSIC5_13811
if 
  Char.IsDead(47@)
goto_if_false @MUSIC5_13572
if 
  Char.IsDead(48@)
goto_if_false @MUSIC5_13572
if 
  Char.IsDead(49@)
goto_if_false @MUSIC5_13572
if 
  Char.IsDead(54@)
goto_if_false @MUSIC5_13572
if 
  Char.IsDead(55@)
goto_if_false @MUSIC5_13572
96@ = 1

:MUSIC5_13572
if 
  TIMERA > 10000
goto_if_false @MUSIC5_13598
96@ = 1

:MUSIC5_13598
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2478.5, -1646.2, 7.0, 7.0, False)
goto_if_false @MUSIC5_13643
96@ = 1

:MUSIC5_13643
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC5_13685
if 
  Char.HasBeenDamagedByChar(55@, $stattreadstamina_ctr)
goto_if_false @MUSIC5_13685
96@ = 1

:MUSIC5_13685
if 
  not Char.IsDead(56@)
goto_if_false @MUSIC5_13727
if 
  Char.HasBeenDamagedByChar(56@, $stattreadstamina_ctr)
goto_if_false @MUSIC5_13727
96@ = 1

:MUSIC5_13727
if 
  not Char.IsDead(57@)
goto_if_false @MUSIC5_13769
if 
  Char.HasBeenDamagedByChar(57@, $stattreadstamina_ctr)
goto_if_false @MUSIC5_13769
96@ = 1

:MUSIC5_13769
if 
  not Char.IsDead(58@)
goto_if_false @MUSIC5_13811
if 
  Char.HasBeenDamagedByChar(58@, $stattreadstamina_ctr)
goto_if_false @MUSIC5_13811
96@ = 1

:MUSIC5_13811
if 
  96@ == 1
goto_if_false @MUSIC5_14207
if 
  not Char.IsDead(55@)
goto_if_false @MUSIC5_13916
149@ = Group.Create(DefaultTaskAllocator.StandStill)
Group.SetSeparationRange(149@, 300.0)
Char.SetDecisionMaker(55@, 145@)
Group.SetDecisionMaker(149@, 151@)
Group.SetLeader(149@, 55@)
74@ = Blip.AddForChar(55@)
Blip.ChangeScale(74@, 1)
Char.SetStayInSamePlace(55@, False)
Task.KillCharOnFoot(55@, $stattreadstamina_ctr)

:MUSIC5_13916
if 
  not Char.IsDead(56@)
goto_if_false @MUSIC5_13978
Char.SetDecisionMaker(56@, 145@)
Group.SetMember(149@, 56@)
75@ = Blip.AddForChar(56@)
Blip.ChangeScale(75@, 1)
Char.SetStayInSamePlace(56@, False)
Task.KillCharOnFoot(56@, $stattreadstamina_ctr)

:MUSIC5_13978
if 
  not Char.IsDead(57@)
goto_if_false @MUSIC5_14108
Char.SetDecisionMaker(57@, 145@)
Group.SetMember(149@, 57@)
76@ = Blip.AddForChar(57@)
Blip.ChangeScale(76@, 1)
Char.SetStayInSamePlace(57@, False)
144@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2477.3, -1651.4, 12.5, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 2464.0, -1653.4, 12.5, MoveState.Run, -1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(57@, 144@)
Sequence.Clear(144@)

:MUSIC5_14108
if 
  not Char.IsDead(58@)
goto_if_false @MUSIC5_14170
Char.SetDecisionMaker(58@, 145@)
Group.SetMember(149@, 58@)
77@ = Blip.AddForChar(58@)
Blip.ChangeScale(77@, 1)
Char.SetStayInSamePlace(58@, False)
Task.KillCharOnFoot(58@, $big_smoke_car)

:MUSIC5_14170
Text.ClearPrints
105@ = 2
107@ = 7
108@ = 8
gosub @MUSIC5_17676
96@ = 2

:MUSIC5_14207
if 
  Char.IsDead(47@)
goto_if_false @MUSIC5_14542
if 
  Char.IsDead(48@)
goto_if_false @MUSIC5_14542
if 
  Char.IsDead(49@)
goto_if_false @MUSIC5_14542
if 
  Char.IsDead(50@)
goto_if_false @MUSIC5_14542
if 
  Char.IsDead(51@)
goto_if_false @MUSIC5_14542
if 
  Char.IsDead(52@)
goto_if_false @MUSIC5_14542
if 
  Char.IsDead(53@)
goto_if_false @MUSIC5_14542
if 
  Char.IsDead(54@)
goto_if_false @MUSIC5_14542
if 
  Char.IsDead(55@)
goto_if_false @MUSIC5_14542
if 
  Char.IsDead(56@)
goto_if_false @MUSIC5_14542
if 
  Char.IsDead(57@)
goto_if_false @MUSIC5_14542
if 
  Char.IsDead(58@)
goto_if_false @MUSIC5_14542
Char.MarkAsNoLongerNeeded(47@)
Char.MarkAsNoLongerNeeded(48@)
Char.MarkAsNoLongerNeeded(49@)
Char.MarkAsNoLongerNeeded(50@)
Char.MarkAsNoLongerNeeded(51@)
Char.MarkAsNoLongerNeeded(52@)
Char.MarkAsNoLongerNeeded(53@)
Char.MarkAsNoLongerNeeded(54@)
Char.MarkAsNoLongerNeeded(55@)
Char.MarkAsNoLongerNeeded(56@)
Char.MarkAsNoLongerNeeded(57@)
Char.MarkAsNoLongerNeeded(58@)
Blip.Remove(66@)
Blip.Remove(67@)
Blip.Remove(68@)
Blip.Remove(69@)
Blip.Remove(70@)
Blip.Remove(71@)
Blip.Remove(72@)
Blip.Remove(73@)
Blip.Remove(74@)
Blip.Remove(75@)
Blip.Remove(76@)
Blip.Remove(77@)
Text.ClearPrints
TIMERA = 0
81@ = 0
80@ = 4

:MUSIC5_14542
if 
  12 > 88@
goto_if_false @MUSIC5_14603
if 
  Char.IsDead(47@(88@,14i))
goto_if_false @MUSIC5_14589
Blip.Remove(66@(88@,14i))

:MUSIC5_14589
88@ += 1
goto @MUSIC5_14610

:MUSIC5_14603
88@ = 0

:MUSIC5_14610
if 
  80@ == 4
goto_if_false @MUSIC5_15794
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @MUSIC5_15451
if 
  81@ == 0
goto_if_false @MUSIC5_15451
if 
  TIMERA > 2000
goto_if_false @MUSIC5_15451
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:MUSIC5_14699
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_14723
wait 0
goto @MUSIC5_14699

:MUSIC5_14723
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_14755
goto @MUSIC5_15871

:MUSIC5_14755
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
105@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
if 
  $returned_respect <> 0
goto_if_false @MUSIC5_14819
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:MUSIC5_14819
Game.ShutAllCharsUp(True)
World.ClearArea(2484.9, -1649.2, 12.5, 160.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2484.2, -1666.2, 12.3)
Char.SetHeading($stattreadstamina_ctr, 336.7)
144@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2486.7, -1650.1, 12.3, MoveState.Walk, -1)
Task.Pause(-1, 1000)
Task.GoStraightToCoord(-1, 2486.7, -1646.0, 12.5, MoveState.Walk, -1)
Sequence.Close(144@)
Char.PerformSequence($stattreadstamina_ctr, 144@)
Sequence.Clear(144@)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MUSIC5_15064
Char.ClearTasksImmediately($big_smoke_car)
Char.SetCoordinates($big_smoke_car, 2487.2, -1666.1, 12.3)
Char.SetHeading($big_smoke_car, 4.3)
144@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2486.7, -1645.1, 12.3, MoveState.Walk, -1)
Task.AchieveHeading(-1, 178.8)
Sequence.Close(144@)
Char.PerformSequence($big_smoke_car, 144@)
Sequence.Clear(144@)

:MUSIC5_15064
if 
  not Char.IsDead(63@)
goto_if_false @MUSIC5_15115
Char.ClearTasksImmediately(63@)
Char.SetCoordinates(63@, 2488.9, -1649.0, 12.5)
Char.SetHeading(63@, 177.2)

:MUSIC5_15115
if 
  not Char.IsDead(36@)
goto_if_false @MUSIC5_15212
Char.ClearTasksImmediately(36@)
Char.SetCoordinates(36@, 2484.2, -1669.1, 12.3)
Char.SetHeading(36@, 177.2)
144@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2488.4, -1650.8, 12.3, MoveState.Walk, -1)
Sequence.Close(144@)
Char.PerformSequence(36@, 144@)
Sequence.Clear(144@)

:MUSIC5_15212
if 
  not Char.IsDead(37@)
goto_if_false @MUSIC5_15309
Char.ClearTasksImmediately(37@)
Char.SetCoordinates(37@, 2485.2, -1669.1, 12.3)
Char.SetHeading(37@, 177.2)
144@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2489.4, -1650.7, 12.3, MoveState.Walk, -1)
Sequence.Close(144@)
Char.PerformSequence(37@, 144@)
Sequence.Clear(144@)

:MUSIC5_15309
105@ = 3
107@ = 0
gosub @MUSIC5_17676
Camera.SetFixedPosition(2480.7, -1660.5, 13.1, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2498.7, -1656.6, 17.9, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:MUSIC5_15388
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_15412
wait 0
goto @MUSIC5_15388

:MUSIC5_15412
gosub @MUSIC5_16402
if 
  83@ == 1
goto_if_false @MUSIC5_15444
goto @MUSIC5_15871

:MUSIC5_15444
81@ = 1

:MUSIC5_15451
if 
  81@ == 1
goto_if_false @MUSIC5_15545
if 
  107@ == 4
goto_if_false @MUSIC5_15545
Camera.SetFixedPosition(2471.554, -1656.167, 18.379, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2472.425, -1655.676, 18.402, SwitchType.JumpCut)
81@ = 2

:MUSIC5_15545
if 
  81@ == 2
goto_if_false @MUSIC5_15595
if 
  105@ == 0
goto_if_false @MUSIC5_15595
TIMERA = 0
81@ = 3

:MUSIC5_15595
if 
  81@ == 3
goto_if_false @MUSIC5_15794
if 
  TIMERA > 1000
goto_if_false @MUSIC5_15794
Camera.DoFade(2500, Fade.Out)

:MUSIC5_15639
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_15663
wait 0
goto @MUSIC5_15639

:MUSIC5_15663
100@, 101@ = Clock.GetTimeOfDay()
100@ += 6
Clock.SetTimeOfDay(100@, 101@)
Char.Delete($big_smoke_car)
Streaming.UnloadSpecialCharacter(1)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2486.6, -1649.9, 12.5)
Char.SetHeading($stattreadstamina_ctr, 177.8)
Game.ShutAllCharsUp(False)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
wait 2000
Camera.DoFade(2500, Fade.In)

:MUSIC5_15763
if 
  Camera.GetFadingStatus
goto_if_false @MUSIC5_15787
wait 0
goto @MUSIC5_15763

:MUSIC5_15787
goto @MUSIC5_15889

:MUSIC5_15794
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 2484.9, -1663.5, 300.0, 300.0, False)
goto_if_false @MUSIC5_15857
Text.ClearPrints
Text.PrintNow('STP4_06', 7000, 1)
goto @MUSIC5_15871

:MUSIC5_15857
gosub @MUSIC5_18136
goto @MUSIC5_3034

:MUSIC5_15871
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:MUSIC5_15889
if 
  $1943 == 0
goto_if_false @MUSIC5_15973
Blip.Remove($intro_blip_icon)
$intro_blip_icon = Blip.AddSpriteForContactPoint($crashY, $crashZ, $cesarX, $spray_shop2)
Camera.DoFade(500, Fade.In)
Text.PrintNow('STP4_07', 11000, 1)
$introX += 1
$1943 = 1
goto @MUSIC5_16038

:MUSIC5_15973
Stat.SetInt(StatId.PassedStrap4, 1)
Text.PrintWithNumberBig('M_PASSR', 10, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(10)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('STRAP_4')
Stat.PlayerMadeProgress(1)
$introX += 1
Blip.Remove($intro_blip_icon)

:MUSIC5_16038
return 

:MUSIC5_16040
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @MUSIC5_16058
Camera.RestoreJumpcut

:MUSIC5_16058
if 
  not Car.IsDead(34@)
goto_if_false @MUSIC5_16103
Car.LockDoors(34@, CarLock.Unlocked)
Car.SetProofs(34@, False, False, False, False, False)
Car.SetHeavy(34@, False)

:MUSIC5_16103
if 
  not Car.IsDead(35@)
goto_if_false @MUSIC5_16148
Car.LockDoors(35@, CarLock.Unlocked)
Car.SetProofs(35@, False, False, False, False, False)
Car.SetHeavy(35@, False)

:MUSIC5_16148
if 
  not Car.IsDead(61@)
goto_if_false @MUSIC5_16193
Car.LockDoors(61@, CarLock.Unlocked)
Car.SetProofs(61@, False, False, False, False, False)
Car.SetHeavy(61@, False)

:MUSIC5_16193
Blip.Remove(66@)
Blip.Remove(67@)
Blip.Remove(68@)
Blip.Remove(69@)
Blip.Remove(70@)
Blip.Remove(71@)
Blip.Remove(72@)
Blip.Remove(73@)
Blip.Remove(74@)
Blip.Remove(75@)
Blip.Remove(76@)
Blip.Remove(77@)
Blip.Remove(78@)
Blip.Remove(79@)
$weekday = 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MUSIC5_16293
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:MUSIC5_16293
Game.ShutAllCharsUp(False)
Char.RemoveElegantly($big_smoke_car)
Char.RemoveElegantly($sweet_car)
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.MarkModelAsNoLongerNeeded(107)
Streaming.MarkModelAsNoLongerNeeded(103)
Streaming.MarkModelAsNoLongerNeeded(104)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(566)
Streaming.MarkModelAsNoLongerNeeded(412)
Streaming.MarkModelAsNoLongerNeeded(344)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
CarGenerator.Switch($gen_car10, 101)
CarGenerator.Switch($gen_car12, 101)
CarGenerator.Switch($gen_car15, 101)
Pickup.Remove(62@)
Game.EnableAmbientCrime(True)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:MUSIC5_16402
if 
  Char.IsDead($big_smoke_car)
goto_if_false @MUSIC5_16443
Text.ClearPrints
Text.PrintNow('STP4_05', 7000, 1)
83@ = 1

:MUSIC5_16443
return 

:MUSIC5_16445
98@ = Math.RandomIntInRange(1, 37)
if 
  98@ == 1
goto_if_false @MUSIC5_16487
Car.CustomPlateForNextCar(99@, "GOT_M00_")

:MUSIC5_16487
if 
  98@ == 2
goto_if_false @MUSIC5_16520
Car.CustomPlateForNextCar(99@, "M00TV_4U")

:MUSIC5_16520
if 
  98@ == 3
goto_if_false @MUSIC5_16553
Car.CustomPlateForNextCar(99@, "MATHEW_2")

:MUSIC5_16553
if 
  98@ == 4
goto_if_false @MUSIC5_16586
Car.CustomPlateForNextCar(99@, "D4_DEW0R")

:MUSIC5_16586
if 
  98@ == 5
goto_if_false @MUSIC5_16619
Car.CustomPlateForNextCar(99@, "D0DE_777")

:MUSIC5_16619
if 
  98@ == 6
goto_if_false @MUSIC5_16652
Car.CustomPlateForNextCar(99@, "DAM0_666")

:MUSIC5_16652
if 
  98@ == 7
goto_if_false @MUSIC5_16685
Car.CustomPlateForNextCar(99@, "C0NEY_88")

:MUSIC5_16685
if 
  98@ == 8
goto_if_false @MUSIC5_16718
Car.CustomPlateForNextCar(99@, "PRE4CHER")

:MUSIC5_16718
if 
  98@ == 9
goto_if_false @MUSIC5_16751
Car.CustomPlateForNextCar(99@, "DBP_4NDY")

:MUSIC5_16751
if 
  98@ == 10
goto_if_false @MUSIC5_16784
Car.CustomPlateForNextCar(99@, "EV1L_SLY")

:MUSIC5_16784
if 
  98@ == 11
goto_if_false @MUSIC5_16817
Car.CustomPlateForNextCar(99@, "N1_R4V3N")

:MUSIC5_16817
if 
  98@ == 12
goto_if_false @MUSIC5_16850
Car.CustomPlateForNextCar(99@, "D1VX_Z00")

:MUSIC5_16850
if 
  98@ == 13
goto_if_false @MUSIC5_16882
Car.CustomPlateForNextCar(99@, "MR_B3NN")

:MUSIC5_16882
if 
  98@ == 14
goto_if_false @MUSIC5_16915
Car.CustomPlateForNextCar(99@, "R3D_R4SP")

:MUSIC5_16915
if 
  98@ == 15
goto_if_false @MUSIC5_16948
Car.CustomPlateForNextCar(99@, "LA_B0MBA")

:MUSIC5_16948
if 
  98@ == 16
goto_if_false @MUSIC5_16981
Car.CustomPlateForNextCar(99@, "L3337_0G")

:MUSIC5_16981
if 
  98@ == 17
goto_if_false @MUSIC5_17014
Car.CustomPlateForNextCar(99@, "BUDD4H_X")

:MUSIC5_17014
if 
  98@ == 18
goto_if_false @MUSIC5_17047
Car.CustomPlateForNextCar(99@, "T3H_BUCK")

:MUSIC5_17047
if 
  98@ == 19
goto_if_false @MUSIC5_17080
Car.CustomPlateForNextCar(99@, "CHUNKY_1")

:MUSIC5_17080
if 
  98@ == 20
goto_if_false @MUSIC5_17113
Car.CustomPlateForNextCar(99@, "EV1L_BNZ")

:MUSIC5_17113
if 
  98@ == 21
goto_if_false @MUSIC5_17146
Car.CustomPlateForNextCar(99@, "S4ND_M4N")

:MUSIC5_17146
if 
  98@ == 22
goto_if_false @MUSIC5_17179
Car.CustomPlateForNextCar(99@, "RKK_DBP1")

:MUSIC5_17179
if 
  98@ == 23
goto_if_false @MUSIC5_17212
Car.CustomPlateForNextCar(99@, "RE1_K0KU")

:MUSIC5_17212
if 
  98@ == 24
goto_if_false @MUSIC5_17245
Car.CustomPlateForNextCar(99@, "S3XY_JUD")

:MUSIC5_17245
if 
  98@ == 25
goto_if_false @MUSIC5_17278
Car.CustomPlateForNextCar(99@, "SUNRA_93")

:MUSIC5_17278
if 
  98@ == 26
goto_if_false @MUSIC5_17311
Car.CustomPlateForNextCar(99@, "UG_FUX69")

:MUSIC5_17311
if 
  98@ == 27
goto_if_false @MUSIC5_17344
Car.CustomPlateForNextCar(99@, "LI0N_CUM")

:MUSIC5_17344
if 
  98@ == 28
goto_if_false @MUSIC5_17377
Car.CustomPlateForNextCar(99@, "RKK_PWND")

:MUSIC5_17377
if 
  98@ == 29
goto_if_false @MUSIC5_17410
Car.CustomPlateForNextCar(99@, "HAZE_B0B")

:MUSIC5_17410
if 
  98@ == 30
goto_if_false @MUSIC5_17443
Car.CustomPlateForNextCar(99@, "T3H_FLUF")

:MUSIC5_17443
if 
  98@ == 31
goto_if_false @MUSIC5_17476
Car.CustomPlateForNextCar(99@, "BM_4NDY_")

:MUSIC5_17476
if 
  98@ == 32
goto_if_false @MUSIC5_17509
Car.CustomPlateForNextCar(99@, "BM_D34N_")

:MUSIC5_17509
if 
  98@ == 33
goto_if_false @MUSIC5_17542
Car.CustomPlateForNextCar(99@, "BM_L4C3Y")

:MUSIC5_17542
if 
  98@ == 34
goto_if_false @MUSIC5_17575
Car.CustomPlateForNextCar(99@, "BM_D3V__")

:MUSIC5_17575
if 
  98@ == 35
goto_if_false @MUSIC5_17608
Car.CustomPlateForNextCar(99@, "NU_SK00L")

:MUSIC5_17608
if 
  98@ == 36
goto_if_false @MUSIC5_17641
Car.CustomPlateForNextCar(99@, "G4L_AVET")

:MUSIC5_17641
if 
  98@ == 37
goto_if_false @MUSIC5_17674
Car.CustomPlateForNextCar(99@, "M0J0_J0J")

:MUSIC5_17674
return 

:MUSIC5_17676
if 
  105@ == 1
goto_if_false @MUSIC5_17768
set_lvar_text_label 109@s = 'LOC4_CA'
set_lvar_text_label 111@s = 'LOC4_CB'
set_lvar_text_label 113@s = 'LOC4_CC'
set_lvar_int_to_constant 127@ = 22215
set_lvar_int_to_constant 128@ = 22216
set_lvar_int_to_constant 129@ = 22217
set_lvar_int_to_lvar_int 136@ = 108@

:MUSIC5_17768
if 
  105@ == 2
goto_if_false @MUSIC5_17948
set_lvar_text_label 109@s = 'LOC4_AA'
set_lvar_text_label 111@s = 'LOC4_AB'
set_lvar_text_label 113@s = 'LOC4_AC'
set_lvar_text_label 115@s = 'LOC4_AE'
set_lvar_text_label 119@s = 'LOC4_AF'
set_lvar_text_label 121@s = 'LOC4_AG'
set_lvar_text_label 123@s = 'LOC4_AH'
set_lvar_int_to_constant 127@ = 22200
set_lvar_int_to_constant 128@ = 22201
set_lvar_int_to_constant 129@ = 22202
set_lvar_int_to_constant 130@ = 22204
set_lvar_int_to_constant 132@ = 22205
set_lvar_int_to_constant 133@ = 22206
set_lvar_int_to_constant 134@ = 22207
set_lvar_int_to_lvar_int 136@ = 108@

:MUSIC5_17948
if 
  105@ == 3
goto_if_false @MUSIC5_18105
set_lvar_text_label 109@s = 'LOC4_BA'
set_lvar_text_label 111@s = 'LOC4_BB'
set_lvar_text_label 113@s = 'LOC4_BC'
set_lvar_text_label 115@s = 'LOC4_BD'
set_lvar_text_label 117@s = 'LOC4_BE'
set_lvar_text_label 119@s = 'LOC4_BG'
set_lvar_int_to_constant 127@ = 22208
set_lvar_int_to_constant 128@ = 22209
set_lvar_int_to_constant 129@ = 22210
set_lvar_int_to_constant 130@ = 22211
set_lvar_int_to_constant 131@ = 22212
set_lvar_int_to_constant 132@ = 22214
136@ = 6

:MUSIC5_18105
set_lvar_int_to_lvar_int 139@ = 107@
137@ = 0
138@ = 0
140@ = 1
return 

:MUSIC5_18136
if 
  105@ == 2
goto_if_false @MUSIC5_18262
if 
  is_int_lvar_greater_than_int_lvar 136@ > 107@
goto_if_false @MUSIC5_18255
gosub @MUSIC5_18343
gosub @MUSIC5_18450
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MUSIC5_18217
gosub @MUSIC5_18604
goto @MUSIC5_18248

:MUSIC5_18217
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(109@(107@,9s))
137@ = 0
138@ = 0

:MUSIC5_18248
goto @MUSIC5_18262

:MUSIC5_18255
105@ = 0

:MUSIC5_18262
if or
  105@ == 1
  105@ == 3
goto_if_false @MUSIC5_18341
if 
  is_int_lvar_greater_than_int_lvar 136@ > 107@
goto_if_false @MUSIC5_18334
gosub @MUSIC5_18343
gosub @MUSIC5_18450
gosub @MUSIC5_18604
goto @MUSIC5_18341

:MUSIC5_18334
105@ = 0

:MUSIC5_18341
return 

:MUSIC5_18343
if 
  is_int_lvar_greater_than_int_lvar 136@ > 139@
goto_if_false @MUSIC5_18448
if 
  137@ == 0
goto_if_false @MUSIC5_18405
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 127@(139@,9i))
139@ += 1
137@ = 1

:MUSIC5_18405
if 
  138@ == 0
goto_if_false @MUSIC5_18448
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 127@(139@,9i))
139@ += 1
138@ = 1

:MUSIC5_18448
return 

:MUSIC5_18450
if 
  140@ == 1
goto_if_false @MUSIC5_18526
if 
  137@ == 1
goto_if_false @MUSIC5_18526
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MUSIC5_18526
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(109@(107@,9s), 4500, 1)
137@ = 2

:MUSIC5_18526
if 
  140@ == 2
goto_if_false @MUSIC5_18602
if 
  138@ == 1
goto_if_false @MUSIC5_18602
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @MUSIC5_18602
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(109@(107@,9s), 4500, 1)
138@ = 2

:MUSIC5_18602
return 

:MUSIC5_18604
if 
  137@ == 2
goto_if_false @MUSIC5_18667
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MUSIC5_18667
Text.ClearThisPrint(109@(107@,9s))
107@ += 1
140@ = 2
137@ = 0

:MUSIC5_18667
if 
  138@ == 2
goto_if_false @MUSIC5_18730
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @MUSIC5_18730
Text.ClearThisPrint(109@(107@,9s))
107@ += 1
140@ = 1
138@ = 0

:MUSIC5_18730
return 

//-------------Mission 35---------------
// Originally: Race Tournament / 8-track / Dirt Track

:CPRACE
gosub @CPRACE_159
if 
  has_deatharrest_been_executed 
goto_if_false @CPRACE_43
Text.PrintNow('RACES25', 5000, 1)
goto @CPRACE_150

:CPRACE_43
if or
  53@ == 0
  53@ == 3
goto_if_false @CPRACE_103
Camera.DoFade(2000, Fade.Out)
set_deatharrest_state 0

:CPRACE_79
if 
  Camera.GetFadingStatus
goto_if_false @CPRACE_103
wait 0
goto @CPRACE_79

:CPRACE_103
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_150
if or
  $356 == 7
  $356 == 8
goto_if_false @CPRACE_150
Game.SetAllCarsCanBeDamaged(False)

:CPRACE_150
gosub @CPRACE_51446
terminate_this_script 

:CPRACE_159
$weapon_shop1_blip = 1
$cs1_race_is_go = 1
script_name 'CPRACE'
wait 0
World.DisableAllEntryExits(True)
Text.LoadMissionText('RACETOR')
if 
  $chat_help1_flag == 1
goto_if_false @CPRACE_419
set_lvar_int_to_constant 49@ = 1
53@ = 0
if 
  $2213 == 0
goto_if_false @CPRACE_267
50@ = 0
51@ = 8

:CPRACE_267
if 
  $2213 == 1
goto_if_false @CPRACE_299
50@ = 9
51@ = 14

:CPRACE_299
if 
  $2213 == 2
goto_if_false @CPRACE_331
50@ = 15
51@ = 18

:CPRACE_331
if 
  $2213 == 3
goto_if_false @CPRACE_363
50@ = 19
51@ = 24

:CPRACE_363
if or
  is_int_lvar_greater_than_int_var 50@ > $356
  is_int_var_greater_than_int_lvar $356 > 51@
goto_if_false @CPRACE_398
set_var_int_to_lvar_int $356 = 50@

:CPRACE_398
52@ = 0
gosub @CPRACE_47093
goto @CPRACE_472

:CPRACE_419
set_lvar_int_to_constant 49@ = 2
if or
  $356 == 25
  $356 == 26
goto_if_false @CPRACE_465
53@ = 3
goto @CPRACE_472

:CPRACE_465
53@ = 2

:CPRACE_472
if 
  is_int_lvar_equal_to_constant 49@ == 10
goto_if_false @CPRACE_1286
54@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
449@ = Checkpoint.Create(205@, $on_footY, $on_footZ, $in_carX, $on_footY, $on_footZ, $in_carX, 6.0)

:CPRACE_535
363@(253@,16f) += 3.0
363@(253@,16f) = World.GetGroundZFor3DCoord(331@(253@,16f), 347@(253@,16f), 363@(253@,16f))
if 
  0.0 > 363@(253@,16f)
goto_if_false @CPRACE_638
if 
  Streaming.IsThisModelABoat(716@(253@,16i))
goto_if_false @CPRACE_638
363@(253@,16f) = 0.0

:CPRACE_638
379@(253@,16i) = Car.Create(716@(253@,16i), 331@(253@,16f), 347@(253@,16f), 363@(253@,16f))
Car.SetHeading(379@(253@,16i), $on_footX)
Car.SetAreaVisible(379@(253@,16i), 221@)
Car.LockDoors(379@(253@,16i), CarLock.LockoutPlayerOnly)
if 
  $356 == 25
goto_if_false @CPRACE_740
Car.SetHealth(379@(253@,16i), 2200)

:CPRACE_740
if 
  $356 == 26
goto_if_false @CPRACE_789
Car.SetHealth(379@(253@,16i), 10000)
Car.SetProofs(379@(253@,16i), False, False, False, True, False)

:CPRACE_789
if 
  221@ == 0
goto_if_false @CPRACE_980
Car.SetProofs(379@(253@,16i), False, True, False, False, False)
Car.SetStrong(379@(253@,16i), True)
Car.SetOnlyDamagedByPlayer(379@(253@,16i), True)
if 
  is_int_lvar_equal_to_constant 49@ == 6
goto_if_false @CPRACE_962

:CPRACE_866
if 
  Car.IsWaitingForWorldCollision(379@(253@,16i))
goto_if_false @CPRACE_962
wait 0
if 
  Car.IsDead(379@(253@,16i))
goto_if_false @CPRACE_955
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_953
if 
  $356 == 0
goto_if_false @CPRACE_953
$1850 = 1

:CPRACE_953
return 

:CPRACE_955
goto @CPRACE_866

:CPRACE_962
Car.SetLoadCollisionFlag(379@(253@,16i), False)
goto @CPRACE_991

:CPRACE_980
Car.SetLoadCollisionFlag(379@(253@,16i), True)

:CPRACE_991
if 
  209@ <> -1
goto_if_false @CPRACE_1032
Car.ChangeColor(379@(253@,16i), 209@(253@,6i), 215@(253@,6i))

:CPRACE_1032
if 
  Streaming.IsThisModelABoat(716@(253@,16i))
goto_if_false @CPRACE_1084
Car.SetStraightLineDistance(379@(253@,16i), 40)
Boat.SetCruiseSpeed(379@(253@,16i), 50.0)
goto @CPRACE_1284

:CPRACE_1084
if 
  Streaming.IsThisModelAHeli(716@(253@,16i))
goto_if_false @CPRACE_1136
Car.FreezePosition(379@(253@,16i), True)
Car.SetForwardSpeed(379@(253@,16i), 10.0)
goto @CPRACE_1284

:CPRACE_1136
if 
  Streaming.IsThisModelAPlane(716@(253@,16i))
goto_if_false @CPRACE_1188
Car.FreezePosition(379@(253@,16i), True)
Car.SetForwardSpeed(379@(253@,16i), 10.0)
goto @CPRACE_1284

:CPRACE_1188
Car.SetWatertight(379@(253@,16i), True)
Car.SetCanBurstTires(379@(253@,16i), False)
if 
  221@ == 0
goto_if_false @CPRACE_1239
Car.SetUpsidedownNotDamaged(379@(253@,16i), True)

:CPRACE_1239
Car.SetStraightLineDistance(379@(253@,16i), 5)
Car.SetDrivingStyle(379@(253@,16i), DrivingMode.AvoidCars)
Car.SetCruiseSpeed(379@(253@,16i), 50.0)
Car.SetIdle(379@(253@,16i))

:CPRACE_1284
return 

:CPRACE_1286
$6907 = 70.3919
$6921 = 154.6278
$6935 = 0.6617
$6949 = 2.5845
$6922 = 203.8119
$6936 = 0.7208
$6950 = 2.5114
$6923 = 228.9919
$6937 = 0.7377
$6951 = 2.2364
$6924 = 279.6367
$6926 = 333.4643
$6927 = 358.6443
$6928 = 25.18
55@ = 2357.239
56@ = 1321.193
57@ = 3300.968
58@ = 3646.799
59@ = 3880.677
60@ = 4216.273
61@ = 8410.458
62@ = 4817.636
63@ = 4817.636
64@ = 3203.229
65@ = 3265.028
66@ = 1901.285
67@ = 2644.297
68@ = 8372.679
69@ = 10760.5
70@ = 7806.103
71@ = 4307.65
72@ = 4696.661
73@ = 5960.28
74@ = 6826.647
75@ = 12299.14
76@ = 17384.62
77@ = 4922.472
78@ = 4398.5
79@ = 4970.742
80@ = 0.0
81@ = 0.0
82@ = 0.0
83@ = 0.0
84@ = 0.0
set_lvar_text_label 85@s = 'RACE00'
set_lvar_text_label 87@s = 'RACE01'
set_lvar_text_label 89@s = 'RACE02'
set_lvar_text_label 91@s = 'RACE03'
set_lvar_text_label 93@s = 'RACE04'
set_lvar_text_label 95@s = 'RACE05'
set_lvar_text_label 97@s = 'RACE06'
set_lvar_text_label 99@s = 'RACE07'
set_lvar_text_label 101@s = 'RACE08'
set_lvar_text_label 103@s = 'RACE09'
set_lvar_text_label 105@s = 'RACE10'
set_lvar_text_label 107@s = 'RACE11'
set_lvar_text_label 109@s = 'RACE12'
set_lvar_text_label 111@s = 'RACE13'
set_lvar_text_label 113@s = 'RACE14'
set_lvar_text_label 115@s = 'RACE15'
set_lvar_text_label 117@s = 'RACE16'
set_lvar_text_label 119@s = 'RACE17'
set_lvar_text_label 121@s = 'RACE18'
set_lvar_text_label 123@s = 'RACE19'
set_lvar_text_label 125@s = 'RACE20'
set_lvar_text_label 127@s = 'RACE21'
set_lvar_text_label 129@s = 'RACE22'
set_lvar_text_label 131@s = 'RACE23'
set_lvar_text_label 133@s = 'RACE24'
set_lvar_int_to_constant 145@ = 259
set_lvar_int_to_constant 146@ = 261
set_lvar_int_to_constant 147@ = 263
set_lvar_int_to_constant 148@ = 265
set_lvar_int_to_constant 149@ = 267
set_lvar_int_to_constant 150@ = 269
set_lvar_int_to_constant 151@ = 271
set_lvar_int_to_constant 152@ = 273
set_lvar_int_to_constant 153@ = 275
set_lvar_int_to_constant 154@ = 277
set_lvar_int_to_constant 155@ = 279
set_lvar_int_to_constant 156@ = 281
set_lvar_int_to_constant 157@ = 283
set_lvar_int_to_constant 158@ = 285
set_lvar_int_to_constant 159@ = 287
set_lvar_int_to_constant 160@ = 289
set_lvar_int_to_constant 161@ = 291
set_lvar_int_to_constant 162@ = 293
set_lvar_int_to_constant 163@ = 295
set_lvar_int_to_constant 164@ = 296
set_lvar_int_to_constant 165@ = 297
set_lvar_int_to_constant 166@ = 298
set_lvar_int_to_constant 167@ = 299
set_lvar_int_to_constant 168@ = 300
set_lvar_int_to_constant 169@ = 301
set_lvar_int_to_constant 170@ = 48
set_lvar_int_to_constant 171@ = 220
set_lvar_int_to_constant 175@ = 258
set_lvar_int_to_constant 176@ = 260
set_lvar_int_to_constant 177@ = 262
set_lvar_int_to_constant 178@ = 264
set_lvar_int_to_constant 179@ = 266
set_lvar_int_to_constant 180@ = 268
set_lvar_int_to_constant 181@ = 270
set_lvar_int_to_constant 182@ = 272
set_lvar_int_to_constant 183@ = 274
set_lvar_int_to_constant 184@ = 276
set_lvar_int_to_constant 185@ = 278
set_lvar_int_to_constant 186@ = 280
set_lvar_int_to_constant 187@ = 282
set_lvar_int_to_constant 188@ = 284
set_lvar_int_to_constant 189@ = 286
set_lvar_int_to_constant 190@ = 288
set_lvar_int_to_constant 191@ = 290
set_lvar_int_to_constant 192@ = 292
set_lvar_int_to_constant 193@ = 294
set_lvar_int_to_constant 200@ = 172
set_lvar_int_to_constant 201@ = 221
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
Restart.SetRespawnPointForDurationOfMission($on_footY, $on_footZ, $in_carX)
set_lvar_int_to_constant 205@ = 0
Text.UseCommands(True)
Text.SetMessageFormatting(True, 355, 370)
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetAllCarsCanBeDamaged(False)
Hud.DisplayRadar(False)
206@ = 0
207@ = 0
208@ = 25
209@ = -1
221@ = 0
222@ = 0
223@ = 0
224@ = 1
225@ = 0
226@ = 0
227@ = 0
if 
is_ps2_keyboard_key_pressed 82
goto_if_false @CPRACE_2674
$LA_ShootZ = 0
$carhealth_f1 = 0
view_integer_variable $carhealth_f1 {_p2} "COORDS"
Player.SetControl($statbike_temp, True)
set_lvar_int_to_constant 49@ = 0
228@ = 1
goto @CPRACE_2681

:CPRACE_2674
$LA_ShootZ = -1

:CPRACE_2681
wait 0
$RStickY = Clock.GetGameTimer()
if 
  13 > 49@
goto_if_false @CPRACE_2715
229@ = 0

:CPRACE_2715
253@ = 0
switch_start 49@ {numCases} 15 {hasDefaultCase} 0 {defaultLabel} @CPRACE_20924 {caseNum1} 0 {caseLabel1} @CPRACE_2850 {caseNum2} 1 {caseLabel2} @CPRACE_5883 {caseNum3} 2 {caseLabel3} @CPRACE_7493 {caseNum4} 3 {caseLabel4} @CPRACE_7696 {caseNum5} 4 {caseLabel5} @CPRACE_8043 {caseNum6} 5 {caseLabel6} @CPRACE_8779 {caseNum7} 6 {caseLabel7} @CPRACE_8891
switch_continued 7 {caseLabel1} @CPRACE_11339 {caseNum2} 8 {caseLabel2} @CPRACE_11416 {caseNum3} 9 {caseLabel3} @CPRACE_11501 {caseNum4} 10 {caseLabel4} @CPRACE_11586 {caseNum5} 11 {caseLabel5} @CPRACE_12470 {caseNum6} 12 {caseLabel6} @CPRACE_12470 {caseNum7} 13 {caseLabel7} @CPRACE_19700 {caseNum8} 14 {caseLabel8} @CPRACE_20207 {caseNum9} -1 {caseLabel9} @CPRACE_20924

:CPRACE_2850
if 
  $LA_ShootZ > -1
goto_if_false @CPRACE_4499
if 
is_ps2_keyboard_key_pressed 82
goto_if_false @CPRACE_4492
if 
  228@ == 0
goto_if_false @CPRACE_4485
if 
  $LA_ShootZ == 0
goto_if_false @CPRACE_2956
$carhealth_f1 += 1
Text.PrintNow('CHEATON', 800, 1)
$LA_ShootZ = 1
goto @CPRACE_4478

:CPRACE_2956
if 
is_ps2_keyboard_key_pressed 151
goto_if_false @CPRACE_4448
224@ = 1
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TOTAL_LAPS = 1")
256@ = 6
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TOTAL_RACERS = 6")
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
save_newline_to_debug_file 
252@ = 0

:CPRACE_3305
if 
  is_int_lvar_greater_than_int_lvar 256@ > 252@
goto_if_false @CPRACE_3605
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("RACER_MODEL[")
save_int_to_debug_file 252@
Debugger.SaveStringToDebugFile("] = MALE01")
252@ += 1
goto @CPRACE_3305

:CPRACE_3605
set_lvar_int_to_lvar_int 716@ = 230@
set_lvar_int_to_lvar_int 717@ = 230@
set_lvar_int_to_lvar_int 718@ = 230@
set_lvar_int_to_lvar_int 719@ = 230@
set_lvar_int_to_lvar_int 720@ = 230@
set_lvar_int_to_lvar_int 721@ = 230@
save_newline_to_debug_file 
252@ = 0

:CPRACE_3662
if 
  is_int_lvar_greater_than_int_lvar 256@ > 252@
goto_if_false @CPRACE_3967
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("RACERS_CAR_MODEL[")
save_int_to_debug_file 252@
Debugger.SaveStringToDebugFile("] = ")
save_int_to_debug_file 230@
252@ += 1
goto @CPRACE_3662

:CPRACE_3967
set_var_float_to_lvar_float $on_footY = 454@
set_var_float_to_lvar_float $on_footZ = 536@
set_var_float_to_lvar_float $in_carX = 618@
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CHECKPOINTS_X[0] = ")
save_float_to_debug_file $on_footY
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CHECKPOINTS_Y[0] = ")
save_float_to_debug_file $on_footZ
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CHECKPOINTS_Z[0] = ")
save_float_to_debug_file $in_carX
Text.PrintNow('LABEL', 1000, 1)
49@ = 3
$carhealth_f1 = 0
$LA_ShootZ = 0
goto @CPRACE_4478

:CPRACE_4448
$carhealth_f1 = 0
Text.PrintNow('CHEATOF', 800, 1)
$LA_ShootZ = 0

:CPRACE_4478
228@ = 1

:CPRACE_4485
goto @CPRACE_4499

:CPRACE_4492
228@ = 0

:CPRACE_4499
if 
  $LA_ShootZ == 1
goto_if_false @CPRACE_5876
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CPRACE_5876
if 
  $carhealth_f1 == 0
goto_if_false @CPRACE_4614
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @CPRACE_4607
if 
  235@ == 0
goto_if_false @CPRACE_4600
$carhealth_f1 += 1
235@ = 1

:CPRACE_4600
goto @CPRACE_4614

:CPRACE_4607
235@ = 0

:CPRACE_4614
if 
  $carhealth_f1 > 0
goto_if_false @CPRACE_5876
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CPRACE_5876
443@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
230@ = Car.GetModel(443@)
if or
  Streaming.IsThisModelAPlane(230@)
  Streaming.IsThisModelAHeli(230@)
goto_if_false @CPRACE_4703
$on_footY, $on_footZ, $in_carX = Camera.GetDebugCoordinates()
goto @CPRACE_4717

:CPRACE_4703
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)

:CPRACE_4717
$heading = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 231@, 232@, 233@)
cset_lvar_int_to_var_float 234@ =# $heading
gosub @CPRACE_47713
Text.SetDropshadow(2, 0, 0, 0, 255)
Text.SetScale(0.8, 2.0)
Text.DisplayWithNumber(30.0, 145.0, 'RACES00', 234@)
if or
  $heading > 200.0
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @CPRACE_5869
if 
  235@ == 0
goto_if_false @CPRACE_5862
Text.PrintNow('TEXXYZ4', 800, 1)
$carhealth_f1 -= 1
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CHECKPOINTS_X[")
save_int_to_debug_file $carhealth_f1
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $on_footY
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CHECKPOINTS_Y[")
save_int_to_debug_file $carhealth_f1
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $on_footZ
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CHECKPOINTS_Z[")
save_int_to_debug_file $carhealth_f1
Debugger.SaveStringToDebugFile("] = ")
if 
  Streaming.IsThisModelABoat(230@)
goto_if_false @CPRACE_5706
goto @CPRACE_5766

:CPRACE_5706
if 
  Streaming.IsThisModelAHeli(230@)
goto_if_false @CPRACE_5729
goto @CPRACE_5766

:CPRACE_5729
if 
  Streaming.IsThisModelAPlane(230@)
goto_if_false @CPRACE_5752
goto @CPRACE_5766

:CPRACE_5752
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)

:CPRACE_5766
save_float_to_debug_file $in_carX
save_newline_to_debug_file 
set_lvar_float_to_var_float 454@($carhealth_f1,82f) = $on_footY
set_lvar_float_to_var_float 536@($carhealth_f1,82f) = $on_footZ
set_lvar_float_to_var_float 618@($carhealth_f1,82f) = $in_carX
set_lvar_float_to_var_float 231@ = $on_footY
set_lvar_float_to_var_float 232@ = $on_footZ
set_lvar_float_to_var_float 233@ = $in_carX
$carhealth_f1 += 1
set_lvar_int_to_var_int 250@ = $carhealth_f1
$carhealth_f1 += 1
235@ = 1

:CPRACE_5862
goto @CPRACE_5876

:CPRACE_5869
235@ = 0

:CPRACE_5876
goto @CPRACE_20924

:CPRACE_5883
Hud.Display(False)
Hud.DisplayRadar(False)
$flag_hhiker_trigger = Game.GetCurrentLanguage()
if 
is_xbox_version 
goto_if_false @CPRACE_5951
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @CPRACE_5939
Text.SetHelpMessageBoxSize(250)
goto @CPRACE_5944

:CPRACE_5939
Text.SetHelpMessageBoxSize(300)

:CPRACE_5944
goto @CPRACE_5986

:CPRACE_5951
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @CPRACE_5981
Text.SetHelpMessageBoxSize(200)
goto @CPRACE_5986

:CPRACE_5981
Text.SetHelpMessageBoxSize(250)

:CPRACE_5986
Text.PrintHelpForever('RACES33')
236@, 237@, 238@, 239@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  -100 > 237@
  236@ > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @CPRACE_6130
if 
  240@ == 0
goto_if_false @CPRACE_6123
if 
  is_int_lvar_greater_than_int_var 51@ > $356
goto_if_false @CPRACE_6101
$356 += 1
goto @CPRACE_6109

:CPRACE_6101
set_var_int_to_lvar_int $356 = 50@

:CPRACE_6109
gosub @CPRACE_47093
240@ = 1

:CPRACE_6123
goto @CPRACE_6137

:CPRACE_6130
240@ = 0

:CPRACE_6137
if or
  237@ > 100
  -100 > 236@
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @CPRACE_6254
if 
  241@ == 0
goto_if_false @CPRACE_6247
if 
  is_int_var_greater_than_int_lvar $356 > 50@
goto_if_false @CPRACE_6225
$356 -= 1
goto @CPRACE_6233

:CPRACE_6225
set_var_int_to_lvar_int $356 = 51@

:CPRACE_6233
gosub @CPRACE_47093
241@ = 1

:CPRACE_6247
goto @CPRACE_6261

:CPRACE_6254
241@ = 0

:CPRACE_6261
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CPRACE_6331
if 
  242@ == 0
goto_if_false @CPRACE_6324
Txd.Remove
Hud.Display(True)
Hud.DisplayRadar(True)
Text.ClearHelp
53@ = 1
return 
242@ = 1

:CPRACE_6324
goto @CPRACE_6338

:CPRACE_6331
242@ = 0

:CPRACE_6338
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CPRACE_6419
if 
  243@ == 0
goto_if_false @CPRACE_6412
if 
  $356 > -1
goto_if_false @CPRACE_6405
Camera.DoFade(500, Fade.Out)
49@ = 2

:CPRACE_6405
243@ = 1

:CPRACE_6412
goto @CPRACE_6426

:CPRACE_6419
243@ = 0

:CPRACE_6426
Hud.DrawWindow(53.0, 130.0, 597.0, 410.0, 'RACES_0', 3)
gosub @CPRACE_47713
Text.SetWrapX(320.0)
Text.SetScale($6935, $6949)
Text.Display($6907, $6921, 85@($356,30s))
gosub @CPRACE_47713
Text.SetScale($6936, $6950)
Text.Display($6907, $6922, 'RACES36')
gosub @CPRACE_47713
Text.SetColor(180, 180, 180, 255)
Text.SetScale($6937, $6951)
set_var_float_to_var_float $6923 = $6922
add_float_var_to_float_var $6923 += $6928
if 
  Game.AreMeasurementsInMeters
goto_if_false @CPRACE_6726
set_lvar_float_to_lvar_float 244@ = 55@($356,30f)
244@ /= 1000.0
cset_lvar_int_to_lvar_float 246@ =# 244@
cset_lvar_float_to_lvar_int 47@ =# 246@
set_lvar_float_to_lvar_float 245@ = 244@
sub_float_lvar_from_float_lvar 245@ -= 47@
cset_lvar_int_to_lvar_float 247@ =# 245@
if 
  10 > 247@
goto_if_false @CPRACE_6696
Text.DisplayWith2Numbers($6907, $6923, 'RACES35', 246@, 247@)
goto @CPRACE_6719

:CPRACE_6696
Text.DisplayWith2Numbers($6907, $6923, 'RACES34', 246@, 247@)

:CPRACE_6719
goto @CPRACE_6869

:CPRACE_6726
set_lvar_float_to_lvar_float 248@ = 55@($356,30f)
248@ /= 1609.0
cset_lvar_int_to_lvar_float 246@ =# 248@
cset_lvar_float_to_lvar_int 47@ =# 246@
set_lvar_float_to_lvar_float 245@ = 248@
sub_float_lvar_from_float_lvar 245@ -= 47@
245@ *= 100.0
cset_lvar_int_to_lvar_float 247@ =# 245@
if 
  10 > 247@
goto_if_false @CPRACE_6846
Text.DisplayWith2Numbers($6907, $6923, 'RACES47', 246@, 247@)
goto @CPRACE_6869

:CPRACE_6846
Text.DisplayWith2Numbers($6907, $6923, 'RACES46', 246@, 247@)

:CPRACE_6869
gosub @CPRACE_47713
Text.SetScale($6936, $6950)
Text.Display($6907, $6924, 'RACES38')
gosub @CPRACE_47713
Text.SetColor(180, 180, 180, 255)
Text.SetScale($6937, $6951)
set_var_float_to_var_float $6925 = $6924
add_float_var_to_float_var $6925 += $6928
if 
  $2244($356,30i) == 999999999
goto_if_false @CPRACE_6995
Text.Display($6907, $6925, 'RACES45')
goto @CPRACE_7120

:CPRACE_6995
set_lvar_int_to_var_int 452@ = $2244($356,30i)
452@ /= 60
set_lvar_int_to_lvar_int 36@ = 452@
36@ *= 60
set_lvar_int_to_var_int 453@ = $2244($356,30i)
sub_int_lvar_from_int_lvar 453@ -= 36@
if 
  10 > 453@
goto_if_false @CPRACE_7097
Text.DisplayWith2Numbers($6907, $6925, 'RACES40', 452@, 453@)
goto @CPRACE_7120

:CPRACE_7097
Text.DisplayWith2Numbers($6907, $6925, 'RACES39', 452@, 453@)

:CPRACE_7120
if 
  $2213 <> 3
goto_if_false @CPRACE_7434
gosub @CPRACE_47713
Text.SetScale($6936, $6950)
Text.Display($6907, $6926, 'RACES37')
gosub @CPRACE_47713
Text.SetColor(180, 180, 180, 255)
Text.SetScale($6937, $6951)
set_var_float_to_var_float $6927 = $6926
add_float_var_to_float_var $6927 += $6928
if 
  $2214($356,30i) == 1
goto_if_false @CPRACE_7261
Text.Display($6907, $6927, 'RACES41')
goto @CPRACE_7434

:CPRACE_7261
if 
  $2214($356,30i) == 2
goto_if_false @CPRACE_7307
Text.Display($6907, $6927, 'RACES42')
goto @CPRACE_7434

:CPRACE_7307
if 
  $2214($356,30i) == 3
goto_if_false @CPRACE_7353
Text.Display($6907, $6927, 'RACES43')
goto @CPRACE_7434

:CPRACE_7353
if and
  $2214($356,30i) > 3
  100 > $2214($356,30i)
goto_if_false @CPRACE_7417
Text.DisplayWithNumber($6907, $6927, 'RACES44', $2214($356,30i))
goto @CPRACE_7434

:CPRACE_7417
Text.Display($6907, $6927, 'RACES45')

:CPRACE_7434
set_lvar_int_to_var_int 36@ = $356
36@ += 1
Hud.DrawSprite(36@, 454.98, 268.18, 256.0, 256.0, 180, 180, 180, 255)
goto @CPRACE_20924

:CPRACE_7493
if 
  not Camera.GetFadingStatus
goto_if_false @CPRACE_7689
Text.SetHelpMessageBoxSize(200)
Txd.Remove
Text.ClearHelp
gosub @CPRACE_20931
Hud.DisplayCarNames(False)
Hud.Display(True)
if 
  221@ == 0
goto_if_false @CPRACE_7559
Hud.DisplayRadar(True)
goto @CPRACE_7577

:CPRACE_7559
Game.SetIsInStadium(True)
Hud.DisplayZoneNames(False)
Game.HideAllFrontendBlips(True)
World.SetExtraColors(2, False)

:CPRACE_7577
$cammy_off_Z = 1
if 
is_xbox_version 
goto_if_false @CPRACE_7601
Hud.DisplayZoneNames(False)

:CPRACE_7601
if 
  $2304($356,30i) == 0
goto_if_false @CPRACE_7657
if and
  $356 == 0
  $chat_help1_flag == 0
goto_if_false @CPRACE_7655
goto @CPRACE_7657

:CPRACE_7655
Stat.RegisterMissionGiven

:CPRACE_7657
if 
  $356 == 23
goto_if_false @CPRACE_7682
CarGenerator.Switch($5193[1], 0)

:CPRACE_7682
49@ = 3

:CPRACE_7689
goto @CPRACE_20924

:CPRACE_7696
set_lvar_int_to_lvar_int 249@ = 250@
249@ -= 1
set_lvar_int_to_lvar_int 251@ = 224@
251@ -= 1
252@ = 0
253@ = 0
254@ = 0
255@ = 0

:CPRACE_7754
if 
  is_int_lvar_greater_than_int_lvar 256@ > 253@
goto_if_false @CPRACE_7831
257@(253@,16i) = 0
273@(253@,16i) = 0
289@(253@,16i) = 0
305@(253@,16i) = 0
253@ += 1
goto @CPRACE_7754

:CPRACE_7831
253@ = 0
321@ = -1
49@ = 4
if 
  is_int_lvar_equal_to_constant 205@ == 3
goto_if_false @CPRACE_7996
if or
  $356 == 22
  $356 == 23
  $356 == 24
goto_if_false @CPRACE_7949
322@ = 12.0
323@ = 12.0
324@ = 12.0
325@ = 6.0
goto @CPRACE_7989

:CPRACE_7949
322@ = 25.0
323@ = 25.0
324@ = 25.0
325@ = 12.0

:CPRACE_7989
goto @CPRACE_8036

:CPRACE_7996
322@ = 12.0
323@ = 12.0
324@ = 7.0
325@ = 6.0

:CPRACE_8036
goto @CPRACE_20924

:CPRACE_8043
252@ = 0

:CPRACE_8050
if 
  is_int_lvar_greater_than_int_lvar 256@ > 252@
goto_if_false @CPRACE_8273
if 
  is_int_lvar_equal_to_constant 700@(252@,16i) == 290
goto_if_false @CPRACE_8218
if 
  $356 == 0
goto_if_false @CPRACE_8136
Streaming.LoadSpecialCharacter(1, 'CESAR')
Streaming.LoadSpecialCharacter(2, 'KENDL')

:CPRACE_8136
if 
  $356 == 7
goto_if_false @CPRACE_8167
Streaming.LoadSpecialCharacter(1, 'WUZIMU')

:CPRACE_8167
if 
  $356 == 8
goto_if_false @CPRACE_8211
Streaming.LoadSpecialCharacter(1, 'WUZIMU')
Streaming.LoadSpecialCharacter(2, 'CAT')

:CPRACE_8211
goto @CPRACE_8227

:CPRACE_8218
Streaming.RequestModel(700@(252@,16i))

:CPRACE_8227
if 
  $356 == 8
goto_if_false @CPRACE_8250
Streaming.RequestVehicleMod(#WHEEL_OR1)

:CPRACE_8250
Streaming.RequestModel(716@(252@,16i))
252@ += 1
goto @CPRACE_8050

:CPRACE_8273
Streaming.RequestAnimation("CAR")
Streaming.RequestAnimation("RIOT")
Streaming.LoadAllModelsNow
326@ = 0

:CPRACE_8297
if 
  326@ == 0
goto_if_false @CPRACE_8765
wait 0
326@ = 1
252@ = 0

:CPRACE_8333
if 
  is_int_lvar_greater_than_int_lvar 256@ > 252@
goto_if_false @CPRACE_8758
if 
  is_int_lvar_equal_to_constant 700@(252@,16i) == 290
goto_if_false @CPRACE_8617
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @CPRACE_8504
if 
  $356 == 0
goto_if_false @CPRACE_8428
Streaming.LoadSpecialCharacter(1, 'CESAR')
326@ = 0

:CPRACE_8428
if 
  $356 == 7
goto_if_false @CPRACE_8466
Streaming.LoadSpecialCharacter(1, 'WUZIMU')
326@ = 0

:CPRACE_8466
if 
  $356 == 8
goto_if_false @CPRACE_8504
Streaming.LoadSpecialCharacter(1, 'WUZIMU')
326@ = 0

:CPRACE_8504
if 
  $356 == 0
goto_if_false @CPRACE_8557
if 
  not Streaming.HasSpecialCharacterLoaded(2)
goto_if_false @CPRACE_8557
Streaming.LoadSpecialCharacter(2, 'KENDL')
326@ = 0

:CPRACE_8557
if 
  $356 == 8
goto_if_false @CPRACE_8610
if 
  not Streaming.HasSpecialCharacterLoaded(2)
goto_if_false @CPRACE_8610
Streaming.LoadSpecialCharacter(2, 'CAT')
326@ = 0

:CPRACE_8610
goto @CPRACE_8653

:CPRACE_8617
if 
  not Streaming.HasModelLoaded(700@(252@,16i))
goto_if_false @CPRACE_8653
Streaming.RequestModel(700@(252@,16i))
326@ = 0

:CPRACE_8653
if 
  $356 == 8
goto_if_false @CPRACE_8699
if 
  not Streaming.HasVehicleModLoaded(#WHEEL_OR1)
goto_if_false @CPRACE_8699
Streaming.RequestVehicleMod(#WHEEL_OR1)
326@ = 0

:CPRACE_8699
if 
  not Streaming.HasModelLoaded(716@(252@,16i))
goto_if_false @CPRACE_8744
Streaming.RequestModel(700@(252@,16i))
Streaming.RequestModel(716@(252@,16i))
326@ = 0

:CPRACE_8744
252@ += 1
goto @CPRACE_8333

:CPRACE_8758
goto @CPRACE_8297

:CPRACE_8765
49@ = 5
goto @CPRACE_20924

:CPRACE_8779
World.SetCarDensityMultiplier(0.0)
World.ClearArea(454@, 536@, 618@, 30.0, False)
if 
  $chat_help1_flag == 1
goto_if_false @CPRACE_8827
Char.ClearTasksImmediately($stattreadstamina_ctr)

:CPRACE_8827
Char.SetCoordinates($stattreadstamina_ctr, 454@, 536@, 618@)
Char.SetAreaVisible($stattreadstamina_ctr, 221@)
Streaming.SetAreaVisible(221@)
Streaming.RequestCollision(454@, 536@)
Camera.RestoreJumpcut
Streaming.LoadScene(454@, 536@, 618@)
Weather.SetToAppropriateTypeNow
49@ = 6
goto @CPRACE_20924

:CPRACE_8891
if and
  Streaming.HasAnimationLoaded("CAR")
  Streaming.HasAnimationLoaded("RIOT")
goto_if_false @CPRACE_11317
443@ = Car.Create(716@, 454@, 536@, 618@)
Car.TurnToFaceCoord(443@, 455@, 537@)
set_lvar_int_to_lvar_int 36@ = 256@
36@ -= 1
253@ = 0

:CPRACE_8967
if 
  is_int_lvar_greater_than_int_lvar 256@ > 253@
goto_if_false @CPRACE_11292
if 
  256@ > 1
goto_if_false @CPRACE_9384
329@, 330@, $in_carX, 327@, 328@, $in_carX = Streaming.GetModelDimensions(716@)
329@ *= -1.0
add_float_lvar_to_float_lvar 327@ += 329@
if 
  2.0 > 327@
goto_if_false @CPRACE_9076
327@ = 2.0

:CPRACE_9076
set_lvar_float_to_lvar_float 329@ = 327@
329@ *= -1.0
330@ *= -1.0
add_float_lvar_to_float_lvar 328@ += 330@
set_lvar_int_to_lvar_int 254@ = 253@
254@ /= 2
254@ *= 2
if 
  is_int_lvar_equal_to_int_lvar 254@ == 253@
goto_if_false @CPRACE_9202
set_var_float_to_lvar_float $on_footY = 327@
cset_lvar_float_to_lvar_int 47@ =# 253@
mult_float_lvar_by_float_lvar 47@ *= 328@
47@ *= -1.0
set_var_float_to_lvar_float $on_footZ = 47@
goto @CPRACE_9259

:CPRACE_9202
set_var_float_to_lvar_float $on_footY = 329@
set_lvar_int_to_lvar_int 255@ = 253@
255@ -= 1
cset_lvar_float_to_lvar_int 47@ =# 255@
mult_float_lvar_by_float_lvar 47@ *= 328@
47@ *= -1.0
set_var_float_to_lvar_float $on_footZ = 47@

:CPRACE_9259
if 
  Car.IsDead(443@)
goto_if_false @CPRACE_9320
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_9318
if 
  $356 == 0
goto_if_false @CPRACE_9318
$1850 = 1

:CPRACE_9318
return 

:CPRACE_9320
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, $on_footY, $on_footZ, 0.0)
$on_footX = Car.GetHeading(443@)
set_lvar_float_to_var_float 331@(253@,16f) = $on_footY
set_lvar_float_to_var_float 347@(253@,16f) = $on_footZ
goto @CPRACE_9448

:CPRACE_9384
$on_footX = Car.GetHeading(443@)
set_var_float_to_lvar_float $on_footY = 331@(253@,16f)
set_var_float_to_lvar_float $on_footZ = 347@(253@,16f)
set_lvar_float_to_lvar_float 331@(253@,16f) = 454@
set_lvar_float_to_lvar_float 347@(253@,16f) = 536@
set_var_float_to_lvar_float $in_carX = 618@

:CPRACE_9448
if 
  not Streaming.IsThisModelABoat(716@(253@,16i))
goto_if_false @CPRACE_9522
if 
  not Streaming.IsThisModelAPlane(716@(253@,16i))
goto_if_false @CPRACE_9522
if 
  not Streaming.IsThisModelAHeli(716@(253@,16i))
goto_if_false @CPRACE_9522
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)

:CPRACE_9522
set_lvar_float_to_var_float 363@(253@,16f) = $in_carX
if 
  is_int_lvar_greater_than_int_lvar 36@ > 253@
goto_if_false @CPRACE_9875
gosub @CPRACE_535
395@(253@,16i) = Char.CreateInsideCar(379@(253@,16i), PedType.CivMale, 700@(253@,16i))
if 
  is_int_lvar_equal_to_constant 700@(253@,16i) == 290
goto_if_false @CPRACE_9671
if or
  $356 == 0
  $356 == 8
goto_if_false @CPRACE_9652
411@ = Char.CreateAsPassenger(379@(253@,16i), PedType.CivFemale, 291, 0)

:CPRACE_9652
Car.SetProofs(379@(253@,16i), True, True, True, False, True)

:CPRACE_9671
if 
  221@ > 0
goto_if_false @CPRACE_9733
if 
  321@ == -1
goto_if_false @CPRACE_9721
321@ = DecisionMakerChar.Copy(-1)
DecisionMakerChar.ClearEventResponse(321@, 79)

:CPRACE_9721
Char.SetDecisionMaker(395@(253@,16i), 321@)

:CPRACE_9733
Char.SetAreaVisible(395@(253@,16i), 221@)
Char.SetCanBeShotInVehicle(395@(253@,16i), False)
Char.SetSuffersCriticalHits(395@(253@,16i), False)
Char.SetNeverTargeted(395@(253@,16i), True)
Char.SetOnlyDamagedByPlayer(395@(253@,16i), True)
Char.SetCantBeDraggedOut(395@(253@,16i), False)
Char.SetDrownsInWater(395@(253@,16i), False)
Char.SetHealth(395@(253@,16i), 500)
if 
  221@ == 0
goto_if_false @CPRACE_9857
412@(253@,16i) = Blip.AddForChar(395@(253@,16i))

:CPRACE_9857
Blip.ChangeDisplay(412@(253@,16i), BlipDisplay.MarkerOnly)
goto @CPRACE_11278

:CPRACE_9875
if 
  not Streaming.IsThisModelABoat(716@(253@,16i))
goto_if_false @CPRACE_10873
if 
  not Streaming.IsThisModelAPlane(716@(253@,16i))
goto_if_false @CPRACE_10873
if 
  not Streaming.IsThisModelAHeli(716@(253@,16i))
goto_if_false @CPRACE_10873
if 
  221@ == 0
goto_if_false @CPRACE_10873
428@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, -4.0435, 6.5755, -0.8)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
429@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Char.SetKeepTask(429@, True)
Char.SetDecisionMaker(429@, 428@)
Task.TurnCharToFaceCoord(429@, 454@, 536@, 618@)
430@ = Object.CreateNoOffset(#KMB_GOFLAG, $on_footY, $on_footZ, $in_carX)
Task.PickUpObject(429@, 430@, 0.062, 0.027, -0.15, 5, 16, "FLAG_DROP", "CAR", 0)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, -5.6392, 2.9435, -0.8)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
431@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, -6.0071, -2.0778, 2.5)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
432@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, -7.6039, -5.0807, 2.5)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
433@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, -7.0724, -6.4057, 2.5)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
434@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, -5.9988, -13.553, 2.5)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
435@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, 6.073, -15.2059, 2.5)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
436@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, 7.2639, -12.9933, 2.5)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
437@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, 5.8429, -7.7069, 2.5)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
438@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, 8.4135, -3.7971, 2.5)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
439@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, 6.2507, 0.3634, 2.5)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
440@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(443@, 8.6397, 2.419, 2.5)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
441@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
252@ = 0

:CPRACE_10742
if 
  11 > 252@
goto_if_false @CPRACE_10873
Char.SetDecisionMaker(431@(252@,11i), 428@)
Char.SetKeepTask(431@(252@,11i), True)
38@ = Sequence.Open()
gosub @CPRACE_50767
Sequence.SetToRepeat(38@, True)
Sequence.Close(38@)
37@ = Sequence.Open()
Task.TurnCharToFaceCoord(-1, 454@, 536@, 618@)
Char.PerformSequence(-1, 38@)
Sequence.Close(37@)
Char.PerformSequence(431@(252@,11i), 37@)
Sequence.Clear(38@)
Sequence.Clear(37@)
252@ += 1
goto @CPRACE_10742

:CPRACE_10873
Car.Delete(443@)
set_lvar_int_to_var_int 395@(253@,16i) = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 442@ = 253@
363@(442@,16f) += 3.0
363@(442@,16f) = World.GetGroundZFor3DCoord(331@(442@,16f), 347@(442@,16f), 363@(442@,16f))
if 
  0.0 > 363@(442@,16f)
goto_if_false @CPRACE_11001
if 
  Streaming.IsThisModelABoat(716@(442@,16i))
goto_if_false @CPRACE_11001
363@(442@,16f) = 0.0

:CPRACE_11001
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CPRACE_11066
379@(442@,16i) = Char.GetCarIsUsing($stattreadstamina_ctr)
Car.SetCoordinates(379@(442@,16i), 331@(442@,16f), 347@(442@,16f), 363@(442@,16f))
goto @CPRACE_11189

:CPRACE_11066
379@(442@,16i) = Car.Create(716@(442@,16i), 331@(442@,16f), 347@(442@,16f), 363@(442@,16f))
if 
  $356 == 8
goto_if_false @CPRACE_11136
36@ = Car.AddMod(379@(442@,16i), #WHEEL_OR1)

:CPRACE_11136
if 
  209@ <> -1
goto_if_false @CPRACE_11177
Car.ChangeColor(379@(442@,16i), 209@(442@,6i), 215@(442@,6i))

:CPRACE_11177
Char.WarpIntoCar($stattreadstamina_ctr, 379@(442@,16i))

:CPRACE_11189
Car.SetAreaVisible(379@(442@,16i), 221@)
Car.SetHeading(379@(442@,16i), $on_footX)
if or
  Streaming.IsThisModelAPlane(716@(442@,16i))
  Streaming.IsThisModelAHeli(716@(442@,16i))
goto_if_false @CPRACE_11267
Car.FreezePosition(379@(442@,16i), True)
Car.SetForwardSpeed(379@(442@,16i), 10.0)

:CPRACE_11267
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(500, Fade.In)

:CPRACE_11278
253@ += 1
goto @CPRACE_8967

:CPRACE_11292
Player.SetControl($statbike_temp, False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
49@ = 7
goto @CPRACE_11332

:CPRACE_11317
Streaming.RequestAnimation("CAR")
Streaming.RequestAnimation("RIOT")

:CPRACE_11332
goto @CPRACE_20924

:CPRACE_11339
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetAllCarsCanBeDamaged(False)
Text.PrintBig('RACES_4', 1100, TextStyle.MiddleSmaller)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1056)
set_var_int_to_var_int $l1f2_sweet_health = $RStickY
$l1f2_sweet_health += 999
49@ = 8
goto @CPRACE_20924

:CPRACE_11416
if 
  is_int_var_greater_than_int_var $RStickY > $l1f2_sweet_health
goto_if_false @CPRACE_11494
Text.PrintBig('RACES_5', 1100, TextStyle.MiddleSmaller)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1056)
set_var_int_to_var_int $l1f2_sweet_health = $RStickY
$l1f2_sweet_health += 999
49@ = 9

:CPRACE_11494
goto @CPRACE_20924

:CPRACE_11501
if 
  is_int_var_greater_than_int_var $RStickY > $l1f2_sweet_health
goto_if_false @CPRACE_11579
Text.PrintBig('RACES_6', 1100, TextStyle.MiddleSmaller)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1056)
set_var_int_to_var_int $l1f2_sweet_health = $RStickY
$l1f2_sweet_health += 999
49@ = 10

:CPRACE_11579
goto @CPRACE_20924

:CPRACE_11586
if 
  is_int_var_greater_than_int_var $RStickY > $l1f2_sweet_health
goto_if_false @CPRACE_12463
Text.PrintBig('RACES_7', 800, TextStyle.MiddleSmaller)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1057)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetAllCarsCanBeDamaged(True)
253@ = 0

:CPRACE_11666
if 
  11 > 253@
goto_if_false @CPRACE_11707
Char.MarkAsNoLongerNeeded(431@(253@,11i))
253@ += 1
goto @CPRACE_11666

:CPRACE_11707
Char.MarkAsNoLongerNeeded(429@)
Streaming.RemoveAnimation("CAR")
253@ = 0

:CPRACE_11726
if 
  is_int_lvar_greater_than_int_lvar 256@ > 253@
goto_if_false @CPRACE_11948
if 
  not Car.IsDead(379@(253@,16i))
goto_if_false @CPRACE_11934
Car.SetOnlyDamagedByPlayer(379@(253@,16i), False)
if 
  not Streaming.IsThisModelABoat(716@(253@,16i))
goto_if_false @CPRACE_11934
if 
  not Streaming.IsThisModelAPlane(716@(253@,16i))
goto_if_false @CPRACE_11923
if 
  not Streaming.IsThisModelAHeli(716@(253@,16i))
goto_if_false @CPRACE_11905
if 
  not is_int_lvar_equal_to_int_lvar 253@ == 442@
goto_if_false @CPRACE_11898
if 
  221@ == 0
goto_if_false @CPRACE_11898
StuckCarCheck.AddWithWarp(379@(253@,16i), 3.0, 4000, True, True, True, -1)

:CPRACE_11898
goto @CPRACE_11916

:CPRACE_11905
Car.FreezePosition(379@(253@,16i), False)

:CPRACE_11916
goto @CPRACE_11934

:CPRACE_11923
Car.FreezePosition(379@(253@,16i), False)

:CPRACE_11934
253@ += 1
goto @CPRACE_11726

:CPRACE_11948
World.SetCarDensityMultiplier(1.0)
$6907 = 582.7242
$6921 = 356.2812
$6935 = 52.2072
$6949 = 52.2072
$6908 = 584.0833
$6922 = 329.3647
$6936 = 0.4943
$6950 = 2.097
$6909 = 570.6411
$6923 = 323.5937
$6937 = 0.9127
$6951 = 4.8106
$6910 = 585.941
$6924 = 345.6341
$6938 = 0.4197
$6952 = 1.8511
$6911 = 582.7242
$6925 = 359.0323
$6939 = 0.4993
$6953 = 2.637
$6912 = 582.7242
$6926 = 356.2812
$6940 = 56.2072
$6954 = 56.2072
$6913 = 582.7242
$6927 = 356.2812
$6941 = 58.2072
$6955 = 58.2072
$6914 = 582.7242
$6928 = 400.7518
$6942 = 58.2072
$6956 = 32.7789
$6915 = 582.7242
$6929 = 400.2518
$6943 = 56.2072
$6957 = 31.7789
$6916 = 582.7242
$6930 = 399.2518
$6944 = 52.2072
$6958 = 29.7789
$y_hud_pos = 560.4862
$x_hud_scale = 384.5027
$y_hud_scale = 0.5
$coords = 1.5393
set_var_int_to_var_int $l1f2_sweet_health = $RStickY
set_lvar_int_to_var_int 206@ = $RStickY
if 
  256@ == 1
goto_if_false @CPRACE_12452
$l1f2_sweet_health = 0
Hud.DisplayTimerWithString($l1f2_sweet_health, TimerDirection.Up, 'TIMER')

:CPRACE_12452
Text.ClearThisPrintBigNow(TextStyle.BottomRight)
49@ = 11

:CPRACE_12463
goto @CPRACE_20924

:CPRACE_12470
if 
  is_int_lvar_greater_than_int_lvar 256@ > 253@
goto_if_false @CPRACE_18709
if 
  not Char.IsDead(395@(253@,16i))
goto_if_false @CPRACE_18242
if 
  13 > 49@
goto_if_false @CPRACE_12851
if 
  not is_int_var_equal_to_int_lvar $stattreadstamina_ctr == 395@(253@,16i)
goto_if_false @CPRACE_12851
if 
  is_int_lvar_greater_than_int_lvar 273@(253@,16i) > 273@(442@,16i)
goto_if_false @CPRACE_12591
229@ += 1
goto @CPRACE_12851

:CPRACE_12591
if 
  is_int_lvar_equal_to_int_lvar 273@(442@,16i) == 273@(253@,16i)
goto_if_false @CPRACE_12851
if 
  is_int_lvar_greater_than_int_lvar 257@(253@,16i) > 257@(442@,16i)
goto_if_false @CPRACE_12659
229@ += 1
goto @CPRACE_12851

:CPRACE_12659
if 
  is_int_lvar_greater_than_int_lvar 257@(253@,16i) > 249@
goto_if_false @CPRACE_12696
229@ += 1
goto @CPRACE_12851

:CPRACE_12696
if 
  is_int_lvar_equal_to_int_lvar 257@(442@,16i) == 257@(253@,16i)
goto_if_false @CPRACE_12851
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(395@(253@,16i))
444@ = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f))
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
445@ = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f))
if 
  is_float_lvar_greater_than_float_lvar 445@ > 444@
goto_if_false @CPRACE_12851
229@ += 1

:CPRACE_12851
if 
  49@ == 12
goto_if_false @CPRACE_15617
if 
  is_int_var_equal_to_int_lvar $stattreadstamina_ctr == 395@(253@,16i)
goto_if_false @CPRACE_14240
if 
  not Car.IsDead(379@(442@,16i))
goto_if_false @CPRACE_13867
if 
  Char.IsInCar($stattreadstamina_ctr, 379@(442@,16i))
goto_if_false @CPRACE_13478
if 
  207@ == 1
goto_if_false @CPRACE_13471
Text.ClearThisPrint('RACES21')
Blip.Remove(54@)
363@(253@,16f) -= 1000.0
if 
  221@ == 0
goto_if_false @CPRACE_13464
254@ = 0
set_lvar_int_to_lvar_int 36@ = 256@
36@ -= 1

:CPRACE_13023
if 
  is_int_lvar_greater_than_int_lvar 36@ > 254@
goto_if_false @CPRACE_13103
if 
  not Char.IsDead(395@(254@,16i))
goto_if_false @CPRACE_13089
412@(254@,16i) = Blip.AddForChar(395@(254@,16i))
Blip.ChangeDisplay(412@(254@,16i), BlipDisplay.MarkerOnly)

:CPRACE_13089
254@ += 1
goto @CPRACE_13023

:CPRACE_13103
54@ = Blip.AddForCoord(331@(253@,16f), 347@(253@,16f), 363@(253@,16f))
Blip.ChangeColor(54@, BlipColor.Red)
Blip.ChangeDisplay(54@, BlipDisplay.BlipOnly)
Blip.ChangeScale(54@, 3)
if and
  is_int_lvar_equal_to_int_lvar 257@(253@,16i) == 249@
  is_int_lvar_equal_to_int_lvar 273@(253@,16i) == 251@
goto_if_false @CPRACE_13362
if 
  is_int_lvar_equal_to_constant 205@ == 3
goto_if_false @CPRACE_13307
set_lvar_int_to_lvar_int 36@ = 257@(253@,16i)
36@ -= 1
if 
  0 > 36@
goto_if_false @CPRACE_13247
36@ = 0

:CPRACE_13247
449@ = Checkpoint.Create(205@, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 454@(36@,82f), 536@(36@,82f), 618@(36@,82f), 325@)
goto @CPRACE_13355

:CPRACE_13307
449@ = Checkpoint.Create(CheckpointType.TubeEnd, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 0.0, 0.0, 0.0, 6.0)

:CPRACE_13355
goto @CPRACE_13464

:CPRACE_13362
set_lvar_int_to_lvar_int 36@ = 257@(253@,16i)
36@ += 1
if 
  is_int_lvar_equal_to_int_lvar 257@(253@,16i) == 249@
goto_if_false @CPRACE_13411
36@ = 1

:CPRACE_13411
449@ = Checkpoint.Create(205@, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 454@(36@,82f), 536@(36@,82f), 618@(36@,82f), 325@)

:CPRACE_13464
207@ = 0

:CPRACE_13471
goto @CPRACE_13860

:CPRACE_13478
if 
  207@ == 0
goto_if_false @CPRACE_13626
Checkpoint.Delete(449@)
Blip.Remove(54@)
254@ = 0
set_lvar_int_to_lvar_int 36@ = 256@
36@ -= 1

:CPRACE_13528
if 
  is_int_lvar_greater_than_int_lvar 36@ > 254@
goto_if_false @CPRACE_13570
Blip.Remove(412@(254@,16i))
254@ += 1
goto @CPRACE_13528

:CPRACE_13570
54@ = Blip.AddForCar(379@(442@,16i))
Blip.SetAsFriendly(54@, True)
363@(253@,16f) += 1000.0
set_lvar_int_to_var_int 446@ = $RStickY
446@ += 25400
207@ = 1

:CPRACE_13626
set_lvar_int_to_lvar_int 453@ = 446@
sub_int_var_from_int_lvar 453@ -= $RStickY
453@ /= 1000
if 
  1 > 453@
goto_if_false @CPRACE_13675
453@ = 0

:CPRACE_13675
if 
  is_int_var_greater_than_int_lvar $RStickY > 446@
goto_if_false @CPRACE_13789
Text.PrintNow('RACES20', 5000, 1)
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_13744
Text.PrintBig('M_FAIL', 3000, TextStyle.Middle)

:CPRACE_13744
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_13787
if 
  $356 == 0
goto_if_false @CPRACE_13787
$1850 = 1

:CPRACE_13787
return 

:CPRACE_13789
if 
  453@ == 1
goto_if_false @CPRACE_13837
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('RACE_21', 453@, 200, 1)
goto @CPRACE_13860

:CPRACE_13837
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('RACES21', 453@, 200, 1)

:CPRACE_13860
goto @CPRACE_14233

:CPRACE_13867
if 
  Car.IsInWater(379@(442@,16i))
goto_if_false @CPRACE_14138
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CPRACE_14036
443@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not is_int_lvar_equal_to_int_lvar 443@ == 379@(442@,16i)
goto_if_false @CPRACE_14029
Text.PrintNow('RACES24', 5000, 1)
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_13984
Text.PrintBig('M_FAIL', 3000, TextStyle.Middle)

:CPRACE_13984
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_14027
if 
  $356 == 0
goto_if_false @CPRACE_14027
$1850 = 1

:CPRACE_14027
return 

:CPRACE_14029
goto @CPRACE_14131

:CPRACE_14036
Text.PrintNow('RACES24', 5000, 1)
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_14086
Text.PrintBig('M_FAIL', 3000, TextStyle.Middle)

:CPRACE_14086
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_14129
if 
  $356 == 0
goto_if_false @CPRACE_14129
$1850 = 1

:CPRACE_14129
return 

:CPRACE_14131
goto @CPRACE_14233

:CPRACE_14138
Text.PrintNow('RACES24', 5000, 1)
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_14188
Text.PrintBig('M_FAIL', 3000, TextStyle.Middle)

:CPRACE_14188
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_14231
if 
  $356 == 0
goto_if_false @CPRACE_14231
$1850 = 1

:CPRACE_14231
return 

:CPRACE_14233
goto @CPRACE_15617

:CPRACE_14240
if 
  is_int_lvar_greater_than_int_lvar 250@ > 257@(253@,16i)
goto_if_false @CPRACE_15617
if 
  Char.IsInAnyCar(395@(253@,16i))
goto_if_false @CPRACE_14531
if 
  221@ == 0
goto_if_false @CPRACE_14524
set_lvar_int_to_lvar_int 36@ = 257@(442@,16i)
36@ += 4
443@ = Char.StoreCarIsInNoSave(395@(253@,16i))
if 
  is_int_lvar_greater_than_int_lvar 257@(253@,16i) > 36@
goto_if_false @CPRACE_14372
Car.SetCruiseSpeed(443@, 25.0)
goto @CPRACE_14431

:CPRACE_14372
if or
  $356 == 7
  $356 == 8
  $356 == 0
goto_if_false @CPRACE_14421
Car.SetCruiseSpeed(443@, 35.0)
goto @CPRACE_14431

:CPRACE_14421
Car.SetCruiseSpeed(443@, 50.0)

:CPRACE_14431
if 
  $356 == 8
goto_if_false @CPRACE_14524
if or
  Car.Locate2D(443@, -882.9833, -47.9468, 24.61, 25.64, False)
  Car.Locate2D(443@, -843.0954, -141.9169, 24.59, -29.24, False)
goto_if_false @CPRACE_14524
Car.SetCruiseSpeed(443@, 30.0)

:CPRACE_14524
goto @CPRACE_15052

:CPRACE_14531
if 
  $356 == 25
goto_if_false @CPRACE_14563
goto @CPRACE_18260
goto @CPRACE_15052

:CPRACE_14563
if 
  305@(253@,16i) == 0
goto_if_false @CPRACE_14609
set_lvar_int_to_var_int 305@(253@,16i) = $RStickY
305@(253@,16i) += 8000

:CPRACE_14609
if 
  is_int_var_greater_than_int_lvar $RStickY > 305@(253@,16i)
goto_if_false @CPRACE_15052
if 
  not is_int_lvar_equal_to_int_lvar 257@(253@,16i) == 257@(442@,16i)
goto_if_false @CPRACE_15052
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 395@(253@,16i), 30.0, 30.0, False)
goto_if_false @CPRACE_15041
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 331@(253@,16f), 347@(253@,16f), 30.0, 30.0, False)
goto_if_false @CPRACE_15023
if 
  not World.IsPointObscuredByAMissionEntity(331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 4.0, 4.0, 3.0)
goto_if_false @CPRACE_15005
if 
  not Char.IsOnScreen(395@(253@,16i))
goto_if_false @CPRACE_14987
if 
  not Camera.IsPointOnScreen(331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 4.0)
goto_if_false @CPRACE_14969
Car.MarkAsNoLongerNeeded(379@(253@,16i))
gosub @CPRACE_535
Char.WarpIntoCar(395@(253@,16i), 379@(253@,16i))
set_lvar_int_to_lvar_int 36@ = 257@(253@,16i)
36@ += 1
if 
  is_int_lvar_greater_than_int_lvar 250@ > 36@
goto_if_false @CPRACE_14951
Car.TurnToFaceCoord(379@(253@,16i), 454@(36@,82f), 536@(36@,82f))
Car.SetForwardSpeed(379@(253@,16i), 20.0)

:CPRACE_14951
305@(253@,16i) = 0
goto @CPRACE_14980

:CPRACE_14969
305@(253@,16i) = 0

:CPRACE_14980
goto @CPRACE_14998

:CPRACE_14987
305@(253@,16i) = 0

:CPRACE_14998
goto @CPRACE_15016

:CPRACE_15005
305@(253@,16i) = 0

:CPRACE_15016
goto @CPRACE_15034

:CPRACE_15023
305@(253@,16i) = 0

:CPRACE_15034
goto @CPRACE_15052

:CPRACE_15041
305@(253@,16i) = 0

:CPRACE_15052
if 
  221@ == 0
goto_if_false @CPRACE_15617
252@ = 0
255@ = 0

:CPRACE_15084
if 
  is_int_lvar_greater_than_int_lvar 256@ > 252@
goto_if_false @CPRACE_15166
set_lvar_int_to_lvar_int 447@ = 257@(252@,16i)
447@ -= 4
if 
  is_int_lvar_greater_than_int_lvar 447@ > 257@(253@,16i)
goto_if_false @CPRACE_15152
255@ += 1

:CPRACE_15152
252@ += 1
goto @CPRACE_15084

:CPRACE_15166
if 
  255@ > 0
goto_if_false @CPRACE_15617
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 395@(253@,16i), 150.0, 150.0, False)
goto_if_false @CPRACE_15617
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 331@(253@,16f), 347@(253@,16f), 150.0, 150.0, False)
goto_if_false @CPRACE_15617
if 
  not Char.LocateAnyMeans2D(395@(253@,16i), 331@(253@,16f), 347@(253@,16f), 40.0, 40.0, False)
goto_if_false @CPRACE_15617
if 
  not World.IsPointObscuredByAMissionEntity(331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 4.0, 4.0, 3.0)
goto_if_false @CPRACE_15617
if 
  not Char.IsOnScreen(395@(253@,16i))
goto_if_false @CPRACE_15617
if 
  not Camera.IsPointOnScreen(331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 4.0)
goto_if_false @CPRACE_15617
if 
  Char.IsSittingInAnyCar(395@(253@,16i))
goto_if_false @CPRACE_15510
Char.SetCoordinates(395@(253@,16i), 331@(253@,16f), 347@(253@,16f), 363@(253@,16f))
set_lvar_int_to_lvar_int 36@ = 257@(253@,16i)
36@ += 1
Car.TurnToFaceCoord(443@, 454@(36@,82f), 536@(36@,82f))
goto @CPRACE_15617

:CPRACE_15510
Car.MarkAsNoLongerNeeded(379@(253@,16i))
gosub @CPRACE_535
Char.WarpIntoCar(395@(253@,16i), 379@(253@,16i))
set_lvar_int_to_lvar_int 36@ = 257@(253@,16i)
36@ += 1
if 
  is_int_lvar_greater_than_int_lvar 250@ > 36@
goto_if_false @CPRACE_15617
Car.TurnToFaceCoord(379@(253@,16i), 454@(36@,82f), 536@(36@,82f))
Car.SetForwardSpeed(379@(253@,16i), 20.0)

:CPRACE_15617
36@ = 0
if 
  Char.LocateInCar3D(395@(253@,16i), 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 322@, 323@, 324@, False)
goto_if_false @CPRACE_15690
36@ = 1
goto @CPRACE_15819

:CPRACE_15690
if 
  is_int_lvar_equal_to_int_var 395@(253@,16i) == $stattreadstamina_ctr
goto_if_false @CPRACE_15819
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CPRACE_15819
Streaming.RequestCollision(331@(253@,16f), 347@(253@,16f))
Streaming.LoadScene(331@(253@,16f), 347@(253@,16f), 363@(253@,16f))
set_var_float_to_lvar_float $on_footY = 363@(253@,16f)
$on_footY += 1.0
Char.SetCoordinates(395@(253@,16i), 331@(253@,16f), 347@(253@,16f), 363@(253@,16f))

:CPRACE_15819
if 
  36@ == 1
goto_if_false @CPRACE_18235
if 
  49@ == 11
goto_if_false @CPRACE_15862
49@ = 12

:CPRACE_15862
if 
  is_int_var_equal_to_int_lvar $stattreadstamina_ctr == 395@(253@,16i)
goto_if_false @CPRACE_15928
if 
  221@ == 0
goto_if_false @CPRACE_15928
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
Blip.Remove(54@)

:CPRACE_15928
257@(253@,16i) += 1
if 
  is_int_lvar_greater_than_int_lvar 250@ > 257@(253@,16i)
goto_if_false @CPRACE_16029
set_lvar_int_to_lvar_int 36@ = 257@(253@,16i)
set_lvar_float_to_lvar_float 331@(253@,16f) = 454@(36@,82f)
set_lvar_float_to_lvar_float 347@(253@,16f) = 536@(36@,82f)
set_lvar_float_to_lvar_float 363@(253@,16f) = 618@(36@,82f)
goto @CPRACE_17067

:CPRACE_16029
if 
  is_int_lvar_greater_than_int_lvar 224@ > 273@(253@,16i)
goto_if_false @CPRACE_16063
273@(253@,16i) += 1

:CPRACE_16063
if 
  is_int_lvar_equal_to_int_lvar 273@(253@,16i) == 224@
goto_if_false @CPRACE_16739
if 
  is_int_lvar_equal_to_int_var 395@(253@,16i) == $stattreadstamina_ctr
goto_if_false @CPRACE_16328
if 
  224@ > 1
goto_if_false @CPRACE_16238
set_lvar_int_to_var_int 448@ = $RStickY
sub_int_lvar_from_int_lvar 448@ -= 206@
448@ /= 1000
if 
  is_int_var_greater_than_int_lvar $2274($356,30i) > 448@
goto_if_false @CPRACE_16238
set_var_int_to_lvar_int $2274($356,30i) = 448@
if 
  $356 == 25
goto_if_false @CPRACE_16212
Stat.RegisterFastestTime(StatId.BestLapTimeHotring, 448@)

:CPRACE_16212
if 
  $356 == 26
goto_if_false @CPRACE_16238
Stat.RegisterFastestTime(StatId.BestLapTimeDirttrack, 448@)

:CPRACE_16238
Checkpoint.Delete(449@)
Blip.Remove(54@)
49@ = 13
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_16307
if 
  229@ > 0
goto_if_false @CPRACE_16307
Text.PrintBig('M_FAIL', 3000, TextStyle.Middle)

:CPRACE_16307
363@(253@,16f) = 99999.0
goto @CPRACE_16732

:CPRACE_16328
if 
  not Car.IsDead(379@(253@,16i))
goto_if_false @CPRACE_16357
StuckCarCheck.Remove(379@(253@,16i))

:CPRACE_16357
if 
  221@ == 0
goto_if_false @CPRACE_16667
$chickY = Char.GetScriptTaskStatus(395@(253@,16i), 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CPRACE_16660
37@ = Sequence.Open()
47@ = Char.GetSpeed(395@(253@,16i))
cset_lvar_int_to_lvar_float 36@ =# 47@
36@ *= -100
36@ += 4000
if 
  10 > 36@
goto_if_false @CPRACE_16473
36@ = 10

:CPRACE_16473
Task.CarTempAction(-1, -1, TempAction.GoForward, 36@)
36@ = Math.RandomIntInRange(0, 5)
if or
  36@ == 0
  36@ == 1
goto_if_false @CPRACE_16549
Task.CarTempAction(-1, -1, TempAction.TurnLeft, 200)
Task.CarTempAction(-1, -1, TempAction.HandbrakeTurnLeft, 250000)
goto @CPRACE_16573

:CPRACE_16549
Task.CarTempAction(-1, -1, TempAction.TurnRight, 200)
Task.CarTempAction(-1, -1, TempAction.HandbrakeTurnRight, 250000)

:CPRACE_16573
Task.CarTempAction(-1, -1, TempAction.HandbrakeStraight, 250000)
Task.CarTempAction(-1, -1, TempAction.HandbrakeStraight, 250000)
Task.CarTempAction(-1, -1, TempAction.HandbrakeStraight, 250000)
Task.CarTempAction(-1, -1, TempAction.HandbrakeStraight, 250000)
Task.CarDriveWander(-1, -1, 100.0, DrivingMode.AvoidCars)
Sequence.Close(37@)
Char.PerformSequence(395@(253@,16i), 37@)
Sequence.Clear(37@)

:CPRACE_16660
goto @CPRACE_16718

:CPRACE_16667
$chickY = Char.GetScriptTaskStatus(395@(253@,16i), 1490)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CPRACE_16718
Task.CarDriveWander(395@(253@,16i), -1, 100.0, DrivingMode.AvoidCars)

:CPRACE_16718
363@(253@,16f) = 99999.0

:CPRACE_16732
goto @CPRACE_17067

:CPRACE_16739
if 
  is_int_var_equal_to_int_lvar $stattreadstamina_ctr == 395@(253@,16i)
goto_if_false @CPRACE_16996
set_lvar_int_to_var_int 448@ = $RStickY
sub_int_lvar_from_int_lvar 448@ -= 206@
448@ /= 1000
if 
  is_int_var_greater_than_int_lvar $2274($356,30i) > 448@
goto_if_false @CPRACE_16988
set_var_int_to_lvar_int $2274($356,30i) = 448@
if 
  $356 == 25
goto_if_false @CPRACE_16847
Stat.RegisterFastestTime(StatId.BestLapTimeHotring, 448@)

:CPRACE_16847
if 
  $356 == 26
goto_if_false @CPRACE_16873
Stat.RegisterFastestTime(StatId.BestLapTimeDirttrack, 448@)

:CPRACE_16873
set_lvar_int_to_lvar_int 452@ = 448@
452@ /= 60
set_lvar_int_to_lvar_int 36@ = 452@
36@ *= 60
set_lvar_int_to_lvar_int 453@ = 448@
sub_int_lvar_from_int_lvar 453@ -= 36@
if 
  10 > 453@
goto_if_false @CPRACE_16966
Text.PrintWith2NumbersNow('LAPTIM0', 452@, 453@, 5000, TextStyle.Middle)
goto @CPRACE_16988

:CPRACE_16966
Text.PrintWith2NumbersNow('LAPTIME', 452@, 453@, 5000, TextStyle.Middle)

:CPRACE_16988
set_lvar_int_to_var_int 206@ = $RStickY

:CPRACE_16996
257@(253@,16i) = 0
set_lvar_int_to_lvar_int 36@ = 257@(253@,16i)
set_lvar_float_to_lvar_float 331@(253@,16f) = 454@(36@,82f)
set_lvar_float_to_lvar_float 347@(253@,16f) = 536@(36@,82f)
set_lvar_float_to_lvar_float 363@(253@,16f) = 618@(36@,82f)

:CPRACE_17067
if 
  is_int_var_equal_to_int_lvar $stattreadstamina_ctr == 395@(253@,16i)
goto_if_false @CPRACE_17524
if 
  363@(253@,16f) <> 99999.0
goto_if_false @CPRACE_17517
if 
  221@ == 0
goto_if_false @CPRACE_17185
54@ = Blip.AddForCoord(331@(253@,16f), 347@(253@,16f), 363@(253@,16f))
Blip.ChangeColor(54@, BlipColor.Red)
Blip.ChangeDisplay(54@, BlipDisplay.BlipOnly)
Blip.ChangeScale(54@, 3)
Checkpoint.Delete(449@)

:CPRACE_17185
if and
  is_int_lvar_equal_to_int_lvar 257@(253@,16i) == 249@
  is_int_lvar_equal_to_int_lvar 273@(253@,16i) == 251@
goto_if_false @CPRACE_17397
if 
  is_int_lvar_equal_to_constant 205@ == 3
goto_if_false @CPRACE_17342
set_lvar_int_to_lvar_int 36@ = 257@(253@,16i)
36@ -= 1
if 
  0 > 36@
goto_if_false @CPRACE_17282
36@ = 0

:CPRACE_17282
449@ = Checkpoint.Create(205@, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 454@(36@,82f), 536@(36@,82f), 618@(36@,82f), 325@)
goto @CPRACE_17390

:CPRACE_17342
449@ = Checkpoint.Create(CheckpointType.TubeEnd, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 0.0, 0.0, 0.0, 6.0)

:CPRACE_17390
goto @CPRACE_17517

:CPRACE_17397
if 
  221@ == 0
goto_if_false @CPRACE_17517
set_lvar_int_to_lvar_int 36@ = 257@(253@,16i)
36@ += 1
if 
  is_int_lvar_equal_to_int_lvar 257@(253@,16i) == 249@
goto_if_false @CPRACE_17464
36@ = 1

:CPRACE_17464
449@ = Checkpoint.Create(205@, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 454@(36@,82f), 536@(36@,82f), 618@(36@,82f), 325@)

:CPRACE_17517
goto @CPRACE_18235

:CPRACE_17524
if 
  363@(253@,16f) <> 99999.0
goto_if_false @CPRACE_18235
if 
  Char.IsInAnyHeli(395@(253@,16i))
goto_if_false @CPRACE_17779
if 
  not Car.IsDead(379@(253@,16i))
goto_if_false @CPRACE_17722
if 
  Char.IsInCar(395@(253@,16i), 379@(253@,16i))
goto_if_false @CPRACE_17665
Heli.GotoCoords(379@(253@,16i), 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 0.0, 363@(253@,16f))
goto @CPRACE_17715

:CPRACE_17665
443@ = Char.StoreCarIsInNoSave(395@(253@,16i))
Heli.GotoCoords(443@, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 0.0, 363@(253@,16f))

:CPRACE_17715
goto @CPRACE_17772

:CPRACE_17722
443@ = Char.StoreCarIsInNoSave(395@(253@,16i))
Heli.GotoCoords(443@, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 0.0, 363@(253@,16f))

:CPRACE_17772
goto @CPRACE_18235

:CPRACE_17779
if 
  Char.IsInAnyPlane(395@(253@,16i))
goto_if_false @CPRACE_18009
if 
  not Car.IsDead(379@(253@,16i))
goto_if_false @CPRACE_17952
if 
  Char.IsInCar(395@(253@,16i), 379@(253@,16i))
goto_if_false @CPRACE_17895
Plane.GotoCoords(379@(253@,16i), 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 0.0, 363@(253@,16f))
goto @CPRACE_17945

:CPRACE_17895
443@ = Char.StoreCarIsInNoSave(395@(253@,16i))
Plane.GotoCoords(443@, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 0.0, 363@(253@,16f))

:CPRACE_17945
goto @CPRACE_18002

:CPRACE_17952
443@ = Char.StoreCarIsInNoSave(395@(253@,16i))
Plane.GotoCoords(443@, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 0.0, 363@(253@,16f))

:CPRACE_18002
goto @CPRACE_18235

:CPRACE_18009
$chickY = Char.GetScriptTaskStatus(395@(253@,16i), 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CPRACE_18235
$chickY = Char.GetScriptTaskStatus(395@(253@,16i), 1490)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CPRACE_18235
if 
  not Car.IsDead(379@(253@,16i))
goto_if_false @CPRACE_18187
Task.CarDriveToCoord(395@(253@,16i), 379@(253@,16i), 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 50.0, DriveMode.Racing, 716@(253@,16i), DrivingMode.AvoidCars)
if 
  is_int_lvar_greater_than_int_lvar 257@(253@,16i) > 250@
goto_if_false @CPRACE_18180
StuckCarCheck.Remove(379@(253@,16i))

:CPRACE_18180
goto @CPRACE_18235

:CPRACE_18187
Task.CarDriveToCoord(395@(253@,16i), -1, 331@(253@,16f), 347@(253@,16f), 363@(253@,16f), 50.0, DriveMode.Racing, 716@(253@,16i), DrivingMode.AvoidCars)

:CPRACE_18235
goto @CPRACE_18695

:CPRACE_18242
if 
  221@ > 0
goto_if_false @CPRACE_18545

:CPRACE_18260
if 
  not is_int_var_equal_to_int_lvar $stattreadstamina_ctr == 395@(253@,16i)
goto_if_false @CPRACE_18538
if 
  not World.IsPointObscuredByAMissionEntity(732@, 733@, 734@, 2.5, 2.5, 2.5)
goto_if_false @CPRACE_18538
257@(253@,16i) = 1
Blip.Remove(412@(253@,16i))
Car.MarkAsNoLongerNeeded(379@(253@,16i))
Char.MarkAsNoLongerNeeded(395@(253@,16i))
set_lvar_float_to_lvar_float 331@(253@,16f) = 732@
set_lvar_float_to_lvar_float 347@(253@,16f) = 733@
set_lvar_float_to_lvar_float 363@(253@,16f) = 734@
set_var_float_to_lvar_float $on_footX = 735@
gosub @CPRACE_535
395@(253@,16i) = Char.CreateInsideCar(379@(253@,16i), PedType.CivMale, 700@(253@,16i))
Char.SetAreaVisible(395@(253@,16i), 221@)
Char.SetCanBeShotInVehicle(395@(253@,16i), False)
Char.SetSuffersCriticalHits(395@(253@,16i), False)
Char.SetNeverTargeted(395@(253@,16i), True)
Char.SetOnlyDamagedByPlayer(395@(253@,16i), True)
Char.SetCantBeDraggedOut(395@(253@,16i), False)
Char.SetDrownsInWater(395@(253@,16i), False)
Char.SetHealth(395@(253@,16i), 500)
Car.SetForwardSpeed(379@(253@,16i), 25.0)

:CPRACE_18538
goto @CPRACE_18695

:CPRACE_18545
if 
  not is_int_var_equal_to_int_lvar $stattreadstamina_ctr == 395@(253@,16i)
goto_if_false @CPRACE_18695
if 
  13 > 49@
goto_if_false @CPRACE_18648
if or
  is_int_lvar_equal_to_int_lvar 257@(442@,16i) == 257@(253@,16i)
  is_int_lvar_greater_than_int_lvar 257@(253@,16i) > 257@(442@,16i)
  is_int_lvar_greater_than_int_lvar 257@(253@,16i) > 249@
goto_if_false @CPRACE_18648
229@ += 1

:CPRACE_18648
if 
  not Char.IsInWater(395@(253@,16i))
goto_if_false @CPRACE_18695
Blip.Remove(412@(253@,16i))
Char.MarkAsNoLongerNeeded(395@(253@,16i))
Car.MarkAsNoLongerNeeded(379@(253@,16i))

:CPRACE_18695
253@ += 1
goto @CPRACE_12470

:CPRACE_18709
if 
  256@ > 1
goto_if_false @CPRACE_19636
Hud.DrawRect($6913, $6927, $6941, $6955, 0, 0, 0, 255)
Hud.DrawRect($6912, $6926, $6940, $6954, 134, 155, 184, 255)
Hud.DrawRect($6907, $6921, $6935, $6949, 0, 0, 0, 255)
if 
  224@ > 1
goto_if_false @CPRACE_19069
Hud.DrawRect($6914, $6928, $6942, $6956, 0, 0, 0, 255)
Hud.DrawRect($6915, $6929, $6943, $6957, 134, 155, 184, 255)
Hud.DrawRect($6916, $6930, $6944, $6958, 0, 0, 0, 255)
set_lvar_int_to_lvar_int 36@ = 273@(442@,16i)
36@ += 1
if 
  is_int_lvar_greater_than_int_lvar 36@ > 224@
goto_if_false @CPRACE_18935
set_lvar_int_to_lvar_int 36@ = 224@

:CPRACE_18935
gosub @CPRACE_47713
$flag_hhiker_trigger = Game.GetCurrentLanguage()
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @CPRACE_18982
$y_hud_scale = 0.4235
goto @CPRACE_19027

:CPRACE_18982
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @CPRACE_19017
$y_hud_scale = 0.3786
goto @CPRACE_19027

:CPRACE_19017
$y_hud_scale = 0.5

:CPRACE_19027
Text.SetScale($y_hud_scale, $coords)
Text.SetJustify(True)
Text.SetWrapX(600.0)
Text.DisplayWith2Numbers($y_hud_pos, $x_hud_scale, 'RACES32', 36@, 224@)

:CPRACE_19069
set_lvar_int_to_lvar_int 450@ = 229@
450@ += 1
gosub @CPRACE_47713
if 
  223@ == 1
goto_if_false @CPRACE_19121
Text.SetColor(180, 25, 29, 255)

:CPRACE_19121
Text.SetScale($6936, $6950)
if 
  450@ == 1
goto_if_false @CPRACE_19164
Text.Display($6908, $6922, 'ST')

:CPRACE_19164
if 
  450@ == 2
goto_if_false @CPRACE_19199
Text.Display($6908, $6922, 'ND')

:CPRACE_19199
if 
  450@ == 3
goto_if_false @CPRACE_19234
Text.Display($6908, $6922, 'RD')

:CPRACE_19234
if 
  450@ > 3
goto_if_false @CPRACE_19269
Text.Display($6908, $6922, 'TH')

:CPRACE_19269
gosub @CPRACE_47713
if 
  223@ == 1
goto_if_false @CPRACE_19306
Text.SetColor(180, 25, 29, 255)

:CPRACE_19306
Text.SetScale($6937, $6951)
Text.SetCenter(True)
Text.DisplayWithNumber($6909, $6923, 'NUMBER', 450@)
gosub @CPRACE_47713
if 
  223@ == 1
goto_if_false @CPRACE_19375
Text.SetColor(180, 25, 29, 255)

:CPRACE_19375
Text.SetScale($6938, $6952)
Text.DisplayWithNumber($6910, $6924, 'OUT_OF', 256@)
if 
  13 > 49@
goto_if_false @CPRACE_19445
set_lvar_int_to_var_int 451@ = $RStickY
sub_int_var_from_int_lvar 451@ -= $l1f2_sweet_health
451@ /= 1000

:CPRACE_19445
set_lvar_int_to_lvar_int 452@ = 451@
452@ /= 60
if 
  452@ > 99
goto_if_false @CPRACE_19485
452@ = 99

:CPRACE_19485
set_lvar_int_to_lvar_int 36@ = 452@
36@ *= 60
set_lvar_int_to_lvar_int 453@ = 451@
sub_int_lvar_from_int_lvar 453@ -= 36@
gosub @CPRACE_47713
if 
  222@ == 1
goto_if_false @CPRACE_19553
Text.SetColor(180, 25, 29, 255)

:CPRACE_19553
Text.SetCenter(True)
Text.SetScale($6939, $6953)
if 
  453@ > 9
goto_if_false @CPRACE_19613
Text.DisplayWith2Numbers($6911, $6925, 'TIME', 452@, 453@)
goto @CPRACE_19636

:CPRACE_19613
Text.DisplayWith2Numbers($6911, $6925, 'TIME_0', 452@, 453@)

:CPRACE_19636
if 
  $356 == 7
goto_if_false @CPRACE_19661
gosub @CPRACE_46383

:CPRACE_19661
if or
  $356 == 25
  $356 == 26
goto_if_false @CPRACE_19693
gosub @CPRACE_51099

:CPRACE_19693
goto @CPRACE_20924

:CPRACE_19700
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_19885
if 
  450@ == 1
goto_if_false @CPRACE_19837
if or
  $356 == 7
  $356 == 8
goto_if_false @CPRACE_19768
$bcrashZ += 1

:CPRACE_19768
if 
  $356 == 0
goto_if_false @CPRACE_19825
Text.PrintWithNumberBig('M_PASS', 1000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 1000)
Blip.Remove($crash_blip_icon)
$introZ += 1

:CPRACE_19825
Player.ClearWantedLevel($statbike_temp)
goto @CPRACE_19885

:CPRACE_19837
if or
  $356 == 0
  $356 == 7
  $356 == 8
goto_if_false @CPRACE_19885
Text.PrintBig('M_FAIL', 3000, TextStyle.Middle)

:CPRACE_19885
Hud.ClearTimer($l1f2_sweet_health)
if 
  is_int_var_greater_than_int_lvar $2244($356,30i) > 451@
goto_if_false @CPRACE_19978
if 
  256@ == 1
goto_if_false @CPRACE_19947
set_lvar_int_to_var_int 451@ = $l1f2_sweet_health
451@ /= 1000

:CPRACE_19947
set_var_int_to_lvar_int $2244($356,30i) = 451@
Stat.RegisterFastestTime(145@($356,30i), 451@)
222@ = 1

:CPRACE_19978
if 
  256@ > 1
goto_if_false @CPRACE_20050
if 
  is_int_var_greater_than_int_lvar $2214($356,30i) > 450@
goto_if_false @CPRACE_20050
set_var_int_to_lvar_int $2214($356,30i) = 450@
Stat.RegisterBestPosition(175@($356,30i), 450@)
223@ = 1

:CPRACE_20050
$6907 = 208.0665
$6921 = 297.9241
$6935 = 474.2788
$6949 = 383.4714
$6908 = 229.648
$6922 = 313.8785
$6936 = 0.5858
$6950 = 2.5296
$6909 = 455.3051
$6937 = 0.4116
$6924 = 339.1096
$6938 = 0.5858
gosub @CPRACE_48704
set_var_int_to_var_int $l1f2_sweet_health = $RStickY
$l1f2_sweet_health += 8000
49@ = 14
goto @CPRACE_20924

:CPRACE_20207
$flag_hhiker_trigger = Game.GetCurrentLanguage()
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @CPRACE_20245
set_var_float_to_var_float $6936 = $6938
goto @CPRACE_20253

:CPRACE_20245
set_var_float_to_var_float $6936 = $6937

:CPRACE_20253
if 
  256@ == 1
goto_if_false @CPRACE_20321
set_var_float_to_var_float $on_footZ = $6921
$on_footZ += 25.0
Hud.DrawWindow($6907, $on_footZ, $6935, $6949, 'DUMMY', 3)
goto @CPRACE_20396

:CPRACE_20321
if 
  450@ == 1
goto_if_false @CPRACE_20371
Hud.DrawWindow($6907, $6921, $6935, $6949, 'RACES18', 3)
goto @CPRACE_20396

:CPRACE_20371
Hud.DrawWindow($6907, $6921, $6935, $6949, 'RACES_8', 3)

:CPRACE_20396
if 
  256@ > 1
goto_if_false @CPRACE_20668
gosub @CPRACE_47713
Text.SetJustify(True)
Text.SetScale($6936, $6950)
if 
  223@ == 1
goto_if_false @CPRACE_20475
Text.Display($6908, $6922, 'TOP_POS')
goto @CPRACE_20492

:CPRACE_20475
Text.Display($6908, $6922, 'RACES30')

:CPRACE_20492
gosub @CPRACE_47713
Text.SetRightJustify(True)
Text.SetScale($6936, $6950)
Text.SetColor(180, 180, 180, 255)
if 
  450@ == 1
goto_if_false @CPRACE_20560
Text.Display($6909, $6922, 'RACES26')

:CPRACE_20560
if 
  450@ == 2
goto_if_false @CPRACE_20595
Text.Display($6909, $6922, 'RACES27')

:CPRACE_20595
if 
  450@ == 3
goto_if_false @CPRACE_20630
Text.Display($6909, $6922, 'RACES28')

:CPRACE_20630
if 
  450@ > 3
goto_if_false @CPRACE_20668
Text.DisplayWithNumber($6909, $6922, 'RACES29', 450@)

:CPRACE_20668
gosub @CPRACE_47713
Text.SetJustify(True)
Text.SetScale($6936, $6950)
if 
  222@ == 1
goto_if_false @CPRACE_20729
Text.Display($6908, $6924, 'TOPTIME')
goto @CPRACE_20746

:CPRACE_20729
Text.Display($6908, $6924, 'RACES31')

:CPRACE_20746
set_lvar_int_to_lvar_int 452@ = 451@
452@ /= 60
set_lvar_int_to_lvar_int 36@ = 452@
36@ *= 60
set_lvar_int_to_lvar_int 453@ = 451@
sub_int_lvar_from_int_lvar 453@ -= 36@
gosub @CPRACE_47713
Text.SetRightJustify(True)
Text.SetScale($6936, $6950)
Text.SetColor(180, 180, 180, 255)
if 
  453@ > 9
goto_if_false @CPRACE_20873
Text.DisplayWith2Numbers($6909, $6924, 'TIME', 452@, 453@)
goto @CPRACE_20896

:CPRACE_20873
Text.DisplayWith2Numbers($6909, $6924, 'TIME_0', 452@, 453@)

:CPRACE_20896
if 
  is_int_var_greater_than_int_var $RStickY > $l1f2_sweet_health
goto_if_false @CPRACE_20917
return 

:CPRACE_20917
goto @CPRACE_20924

:CPRACE_20924
goto @CPRACE_2681

:CPRACE_20931
switch_start $356 {numCases} 27 {hasDefaultCase} 0 {defaultLabel} @CPRACE_46381 {caseNum1} 0 {caseLabel1} @CPRACE_21189 {caseNum2} 1 {caseLabel2} @CPRACE_21735 {caseNum3} 2 {caseLabel3} @CPRACE_22177 {caseNum4} 3 {caseLabel4} @CPRACE_22859 {caseNum5} 4 {caseLabel5} @CPRACE_23541 {caseNum6} 5 {caseLabel6} @CPRACE_24283 {caseNum7} 6 {caseLabel7} @CPRACE_25235
switch_continued 7 {caseLabel1} @CPRACE_26157 {caseNum2} 8 {caseLabel2} @CPRACE_27211 {caseNum3} 9 {caseLabel3} @CPRACE_28325 {caseNum4} 10 {caseLabel4} @CPRACE_29013 {caseNum5} 11 {caseLabel5} @CPRACE_29731 {caseNum6} 12 {caseLabel6} @CPRACE_30323 {caseNum7} 13 {caseLabel7} @CPRACE_30921 {caseNum8} 14 {caseLabel8} @CPRACE_32269 {caseNum9} 15 {caseLabel9} @CPRACE_33647
switch_continued 16 {caseLabel1} @CPRACE_34575 {caseNum2} 17 {caseLabel2} @CPRACE_35437 {caseNum3} 18 {caseLabel3} @CPRACE_36359 {caseNum4} 19 {caseLabel4} @CPRACE_37101 {caseNum5} 20 {caseLabel5} @CPRACE_38239 {caseNum6} 21 {caseLabel6} @CPRACE_40187 {caseNum7} 22 {caseLabel7} @CPRACE_42375 {caseNum8} 23 {caseLabel8} @CPRACE_43273 {caseNum9} 24 {caseLabel9} @CPRACE_44171
switch_continued 25 {caseLabel1} @CPRACE_45099 {caseNum2} 26 {caseLabel2} @CPRACE_45648 {caseNum3} -1 {caseLabel3} @CPRACE_46381 {caseNum4} -1 {caseLabel4} @CPRACE_46381 {caseNum5} -1 {caseLabel5} @CPRACE_46381 {caseNum6} -1 {caseLabel6} @CPRACE_46381 {caseNum7} -1 {caseLabel7} @CPRACE_46381 {caseNum8} -1 {caseLabel8} @CPRACE_46381 {caseNum9} -1 {caseLabel9} @CPRACE_46381

:CPRACE_21189
454@ = 1492.407
536@ = -1872.365
618@ = 15.8
455@ = 1384.263
537@ = -1872.015
619@ = 12.3828
456@ = 1075.442
538@ = -1851.978
620@ = 12.391
457@ = 647.3663
539@ = -1734.185
621@ = 12.4844
458@ = 627.2474
540@ = -1228.55
622@ = 16.9893
459@ = 497.0043
541@ = -1282.818
623@ = 14.6513
460@ = 500.412
542@ = -1326.649
624@ = 14.8178
461@ = 401.0033
543@ = -1404.457
625@ = 32.8973
462@ = 420.3067
544@ = -1450.714
626@ = 29.5842
463@ = 329.1244
545@ = -1631.112
627@ = 32.1247
464@ = 366.4376
546@ = -1647.349
628@ = 31.7176
465@ = 369.98
547@ = -2030.34
629@ = 5.55
250@ = 12
256@ = 6
set_lvar_int_to_constant 700@ = 133
set_lvar_int_to_constant 701@ = 217
set_lvar_int_to_constant 702@ = 157
set_lvar_int_to_constant 703@ = 248
set_lvar_int_to_constant 704@ = 290
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 517
set_lvar_int_to_constant 717@ = 534
set_lvar_int_to_constant 718@ = 517
set_lvar_int_to_constant 719@ = 536
set_lvar_int_to_constant 720@ = 567
set_lvar_int_to_constant 721@ = 536
209@ = 6
215@ = 0
210@ = 8
216@ = 0
211@ = 2
217@ = 1
212@ = 0
218@ = 0
213@ = 3
219@ = 3
goto @CPRACE_46381

:CPRACE_21735
454@ = 2875.192
536@ = -1458.85
618@ = 10.5892
455@ = 2875.362
537@ = -1404.768
619@ = 10.7143
456@ = 2797.037
538@ = -1291.152
620@ = 41.389
457@ = 2609.984
539@ = -1256.458
621@ = 47.9322
458@ = 2371.282
540@ = -1280.477
622@ = 23.6341
459@ = 2450.557
541@ = -1444.24
623@ = 23.6318
460@ = 2618.436
542@ = -1444.826
624@ = 31.6234
461@ = 2657.3
543@ = -1404.327
625@ = 30.0795
462@ = 2680.506
544@ = -1489.556
626@ = 30.2098
463@ = 2755.952
545@ = -1488.515
627@ = 29.3812
set_lvar_float_to_lvar_float 464@ = 454@
set_lvar_float_to_lvar_float 546@ = 536@
set_lvar_float_to_lvar_float 628@ = 618@
250@ = 11
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 461
set_lvar_int_to_constant 717@ = 521
set_lvar_int_to_constant 718@ = 522
set_lvar_int_to_constant 719@ = 461
set_lvar_int_to_constant 720@ = 521
set_lvar_int_to_constant 721@ = 522
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_22177
454@ = 261.7816
536@ = -1243.111
618@ = 71.8851
455@ = 312.9973
537@ = -1206.853
619@ = 74.9057
456@ = 440.3485
538@ = -1186.672
620@ = 67.2076
457@ = 623.8817
539@ = -1109.967
621@ = 45.6186
458@ = 745.0934
540@ = -951.0351
622@ = 53.766
459@ = 873.6384
541@ = -860.0975
623@ = 76.5242
460@ = 1053.818
542@ = -777.5837
624@ = 104.7803
461@ = 1248.368
543@ = -731.3474
625@ = 93.7346
462@ = 1372.402
544@ = -675.6946
626@ = 92.6217
463@ = 1328.011
545@ = -583.8703
627@ = 93.4113
464@ = 1167.315
546@ = -633.0795
628@ = 102.7501
465@ = 968.4116
547@ = -646.252
629@ = 120.7201
466@ = 791.077
548@ = -800.4396
630@ = 65.0537
467@ = 620.9355
549@ = -905.8031
631@ = 62.1261
468@ = 454.9853
550@ = -1013.546
632@ = 92.0091
469@ = 276.8912
551@ = -1104.159
633@ = 80.0612
470@ = 141.6012
552@ = -1247.267
634@ = 43.792
471@ = 192.4688
553@ = -1380.597
635@ = 47.6608
set_lvar_float_to_lvar_float 472@ = 454@
set_lvar_float_to_lvar_float 554@ = 536@
set_lvar_float_to_lvar_float 636@ = 618@
250@ = 19
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 461
set_lvar_int_to_constant 717@ = 521
set_lvar_int_to_constant 718@ = 522
set_lvar_int_to_constant 719@ = 461
set_lvar_int_to_constant 720@ = 521
set_lvar_int_to_constant 721@ = 521
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_22859
454@ = 1927.48
536@ = -1515.516
618@ = 2.2978
455@ = 2018.401
537@ = -1515.405
619@ = 2.4054
456@ = 2179.006
538@ = -1559.661
620@ = 1.1797
457@ = 2370.138
539@ = -1619.553
621@ = 7.3323
458@ = 2570.841
540@ = -1619.056
622@ = 17.6841
459@ = 2756.846
541@ = -1657.173
623@ = 11.5191
460@ = 2915.178
542@ = -1534.362
624@ = 9.875
461@ = 2916.228
543@ = -1333.491
625@ = 9.875
462@ = 2819.331
544@ = -1142.638
626@ = 15.7018
463@ = 2622.646
545@ = -1152.872
627@ = 50.4181
464@ = 2423.186
546@ = -1154.169
628@ = 30.5642
465@ = 2167.046
547@ = -1101.915
629@ = 24.3864
466@ = 2006.077
548@ = -1027.839
630@ = 34.3152
467@ = 1835.824
549@ = -991.5906
631@ = 35.8824
468@ = 1636.313
550@ = -1005.15
632@ = 49.8831
469@ = 1617.024
551@ = -1215.833
633@ = 51.0566
470@ = 1577.972
552@ = -1417.831
634@ = 27.6154
471@ = 1722.823
553@ = -1525.932
635@ = 18.3927
set_lvar_float_to_lvar_float 472@ = 454@
set_lvar_float_to_lvar_float 554@ = 536@
set_lvar_float_to_lvar_float 636@ = 618@
250@ = 19
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 461
set_lvar_int_to_constant 717@ = 521
set_lvar_int_to_constant 718@ = 522
set_lvar_int_to_constant 719@ = 461
set_lvar_int_to_constant 720@ = 521
set_lvar_int_to_constant 721@ = 521
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_23541
454@ = 1357.656
536@ = -1361.671
618@ = 12.3828
455@ = 1357.689
537@ = -1186.404
619@ = 20.2744
456@ = 1369.741
538@ = -1000.526
620@ = 27.02
457@ = 1505.818
539@ = -868.7814
621@ = 61.0462
458@ = 1452.794
540@ = -711.5325
622@ = 89.8766
459@ = 1253.572
541@ = -729.2587
623@ = 93.4292
460@ = 1059.306
542@ = -775.9847
624@ = 105.3241
461@ = 878.665
543@ = -858.1913
625@ = 76.8826
462@ = 721.7916
544@ = -980.4561
626@ = 51.9555
463@ = 571.0251
545@ = -1045.203
627@ = 72.2876
464@ = 373.2952
546@ = -1075.644
628@ = 72.8049
465@ = 288.4963
547@ = -1249.747
629@ = 72.721
466@ = 481.2224
548@ = -1240.976
630@ = 19.3512
467@ = 518.334
549@ = -1377.603
631@ = 14.9457
468@ = 448.0064
550@ = -1540.832
632@ = 27.8796
469@ = 487.4595
551@ = -1661.575
633@ = 20.74
470@ = 687.2253
552@ = -1673.48
634@ = 10.7959
471@ = 866.4786
553@ = -1584.698
635@ = 12.3828
472@ = 1066.729
554@ = -1572.305
636@ = 12.375
473@ = 1261.214
555@ = -1572.243
637@ = 12.3906
set_lvar_float_to_lvar_float 474@ = 454@
set_lvar_float_to_lvar_float 556@ = 536@
set_lvar_float_to_lvar_float 638@ = 618@
250@ = 21
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 558
set_lvar_int_to_constant 717@ = 555
set_lvar_int_to_constant 718@ = 496
set_lvar_int_to_constant 719@ = 555
set_lvar_int_to_constant 720@ = 405
set_lvar_int_to_constant 721@ = 550
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_24283
454@ = 852.0544
536@ = -1405.622
618@ = 12.217
455@ = 1102.789
537@ = -1405.766
619@ = 12.428
456@ = 1353.038
538@ = -1405.544
620@ = 12.3251
457@ = 1600.965
539@ = -1440.852
621@ = 12.3828
458@ = 1850.622
540@ = -1461.777
622@ = 12.3984
454@ = 831.7679
536@ = -1405.588
618@ = 12.3849
455@ = 1031.822
537@ = -1405.615
619@ = 12.0966
456@ = 1232.144
538@ = -1405.732
620@ = 12.0633
457@ = 1429.508
539@ = -1439.091
621@ = 12.3828
458@ = 1630.18
540@ = -1440.858
622@ = 12.3828
459@ = 1829.527
541@ = -1460.804
623@ = 12.3448
460@ = 2029.979
542@ = -1463.381
624@ = 14.4553
461@ = 2175.823
543@ = -1384.403
625@ = 22.8281
462@ = 2342.427
544@ = -1442.324
626@ = 22.8281
463@ = 2191.875
545@ = -1545.934
627@ = 1.1724
464@ = 1997.078
546@ = -1499.951
628@ = 2.3804
465@ = 1797.065
547@ = -1500.874
629@ = 6.8307
466@ = 1641.002
548@ = -1439.345
630@ = 27.0747
467@ = 1627.555
549@ = -1280.703
631@ = 41.885
468@ = 1683.507
550@ = -1089.012
632@ = 55.7917
469@ = 1566.054
551@ = -927.5945
633@ = 42.7541
470@ = 1366.105
552@ = -933.6759
634@ = 33.1953
471@ = 1166.087
553@ = -941.9011
635@ = 41.8697
472@ = 966.715
554@ = -962.2038
636@ = 38.1905
473@ = 784.2582
555@ = -1043.979
637@ = 23.6177
474@ = 677.2552
556@ = -1164.128
638@ = 14.164
475@ = 627.7037
557@ = -1337.904
639@ = 12.4227
set_lvar_float_to_lvar_float 476@ = 454@
set_lvar_float_to_lvar_float 558@ = 536@
set_lvar_float_to_lvar_float 640@ = 618@
250@ = 23
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 429
set_lvar_int_to_constant 717@ = 541
set_lvar_int_to_constant 718@ = 402
set_lvar_int_to_constant 719@ = 429
set_lvar_int_to_constant 720@ = 541
set_lvar_int_to_constant 721@ = 506
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_25235
454@ = 1331.926
536@ = -2280.51
618@ = 13.1732
455@ = 1331.775
537@ = -2541.682
619@ = 13.1765
456@ = 1544.309
538@ = -2684.983
620@ = 7.5074
457@ = 1945.947
539@ = -2685.131
621@ = 6.5549
458@ = 2175.141
540@ = -2557.994
622@ = 13.173
459@ = 2352.719
541@ = -2222.223
623@ = 13.1737
460@ = 2740.522
542@ = -2168.782
624@ = 10.7349
461@ = 2844.832
543@ = -1812.965
625@ = 10.6737
462@ = 2926.094
544@ = -1421.263
626@ = 10.657
463@ = 2888.946
545@ = -1022.685
627@ = 10.6607
464@ = 2896.483
546@ = -621.0989
628@ = 10.63
465@ = 2718.623
547@ = -273.2495
629@ = 27.6705
466@ = 2774.299
548@ = 119.9424
630@ = 22.8712
467@ = 2612.82
549@ = 327.3945
631@ = 25.6764
468@ = 2213.983
550@ = 324.9601
632@ = 32.5307
469@ = 1817.184
551@ = 278.3323
633@ = 21.5314
470@ = 1621.185
552@ = 312.8743
634@ = 20.8534
471@ = 1608.029
553@ = 372.27
635@ = 26.4284
472@ = 1658.672
554@ = 317.3336
636@ = 30.0474
473@ = 1651.536
555@ = -68.8376
637@ = 35.9156
474@ = 1668.653
556@ = -369.1116
638@ = 34.3923
475@ = 1699.785
557@ = -665.8258
639@ = 43.3311
476@ = 1640.03
558@ = -1062.329
640@ = 60.8035
477@ = 1594.408
559@ = -1457.834
641@ = 28.3679
478@ = 1622.355
560@ = -1856.505
642@ = 25.4707
479@ = 1452.159
561@ = -2117.271
643@ = 13.1726
set_lvar_float_to_lvar_float 480@ = 454@
set_lvar_float_to_lvar_float 562@ = 536@
set_lvar_float_to_lvar_float 644@ = 618@
250@ = 27
256@ = 4
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 451
set_lvar_int_to_constant 717@ = 429
set_lvar_int_to_constant 718@ = 415
set_lvar_int_to_constant 719@ = 541
set_lvar_int_to_constant 720@ = 451
set_lvar_int_to_constant 721@ = 411
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_26157
454@ = 1559.983
536@ = 17.468
618@ = 26.1563
455@ = 1556.426
537@ = -94.0345
619@ = 19.4957
456@ = 1434.738
538@ = -214.9645
620@ = 7.3527
457@ = 1321.254
539@ = -195.8984
621@ = 15.7447
458@ = 1211.007
540@ = -102.6927
622@ = 39.3603
459@ = 892.2923
541@ = -88.1123
623@ = 22.4405
460@ = 789.9247
542@ = -124.3171
624@ = 21.3365
461@ = 659.6545
543@ = -196.7497
625@ = 11.7663
462@ = 419.4744
544@ = -302.5507
626@ = 6.446
463@ = 289.8085
545@ = -380.3828
627@ = 7.8753
464@ = 207.4451
546@ = -298.923
628@ = 0.4375
465@ = 182.497
547@ = -217.8004
629@ = 0.4216
466@ = 22.0727
548@ = -207.7681
630@ = 0.5827
467@ = -114.231
549@ = -132.3417
631@ = 2.1236
468@ = -38.4818
550@ = 140.8613
632@ = 2.1234
469@ = -141.4718
551@ = 187.6611
633@ = 6.2406
470@ = -329.7878
552@ = 173.921
634@ = 5.403
471@ = -507.6872
553@ = 221.0444
635@ = 8.7633
472@ = -661.1096
554@ = 226.3879
636@ = 16.7064
473@ = -618.4406
555@ = -67.8995
637@ = 62.3489
474@ = -507.8417
556@ = -45.9077
638@ = 59.2556
475@ = -520.6511
557@ = 79.6011
639@ = 32.2117
476@ = -715.4454
558@ = 225.1288
640@ = 0.2899
477@ = -770.0811
559@ = 130.1324
641@ = 9.4651
478@ = -738.1151
560@ = 25.555
642@ = 32.2336
479@ = -885.785
561@ = -41.3927
643@ = 33.2347
480@ = -716.4521
562@ = 5.1206
644@ = 59.1055
481@ = -759.2693
563@ = -92.0455
645@ = 64.8686
482@ = -826.881
564@ = -167.7603
646@ = 64.99
483@ = -728.9467
565@ = -173.5218
647@ = 65.1248
484@ = -544.8638
566@ = -189.4458
648@ = 77.8383
250@ = 31
256@ = 4
set_lvar_int_to_constant 700@ = 101
set_lvar_int_to_constant 701@ = 23
set_lvar_int_to_constant 702@ = 290
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 716@ = 439
set_lvar_int_to_constant 717@ = 475
set_lvar_int_to_constant 718@ = 526
set_lvar_int_to_constant 719@ = 475
209@ = 4
215@ = 80
210@ = 3
216@ = 80
211@ = 5
217@ = 80
goto @CPRACE_46381

:CPRACE_27211
454@ = -544.8638
536@ = -189.4458
618@ = 81.8383
455@ = -728.9467
537@ = -173.5218
619@ = 65.1248
456@ = -826.881
538@ = -167.7603
620@ = 64.99
457@ = -759.2693
539@ = -92.0455
621@ = 64.8686
458@ = -716.4521
540@ = 5.1206
622@ = 59.1055
459@ = -885.785
541@ = -41.3927
623@ = 33.2347
460@ = -738.1151
542@ = 25.555
624@ = 32.2336
461@ = -770.0811
543@ = 130.1324
625@ = 9.4651
462@ = -715.4454
544@ = 225.1288
626@ = 0.2899
463@ = -624.6024
545@ = 187.2405
627@ = 15.4381
464@ = -520.6511
546@ = 79.6011
628@ = 32.2117
465@ = -507.8417
547@ = -45.9077
629@ = 59.2556
466@ = -618.4406
548@ = -67.8995
630@ = 62.3489
467@ = -658.3503
549@ = 146.4855
631@ = 28.2693
468@ = -507.6872
550@ = 221.0444
632@ = 8.7633
469@ = -329.7878
551@ = 173.921
633@ = 5.5
470@ = -149.4881
552@ = 189.6471
634@ = 7.2644
471@ = -38.4818
553@ = 140.8613
635@ = 2.1234
472@ = -114.231
554@ = -132.3417
636@ = 2.1236
473@ = 22.0727
555@ = -207.7681
637@ = 0.5827
474@ = 182.497
556@ = -217.8004
638@ = 0.4216
475@ = 207.4451
557@ = -298.923
639@ = 0.4375
476@ = 279.6441
558@ = -378.3416
640@ = 7.9003
477@ = 419.4744
559@ = -302.5507
641@ = 6.446
478@ = 573.52
560@ = -202.8494
642@ = 13.7118
479@ = 748.4567
561@ = -150.8298
643@ = 18.3722
480@ = 820.4231
562@ = -111.5991
644@ = 23.2476
481@ = 1000.325
563@ = -80.3516
645@ = 21.0326
482@ = 1187.393
564@ = -83.879
646@ = 35.2576
483@ = 1265.847
565@ = -153.0857
647@ = 36.8097
484@ = 1434.738
566@ = -214.9645
648@ = 7.3527
485@ = 1548.963
567@ = -146.2702
649@ = 16.4932
486@ = 1559.983
568@ = 17.468
650@ = 23.1563
250@ = 33
256@ = 4
set_lvar_int_to_constant 700@ = 101
set_lvar_int_to_constant 701@ = 23
set_lvar_int_to_constant 702@ = 290
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 716@ = 477
set_lvar_int_to_constant 717@ = 560
set_lvar_int_to_constant 718@ = 562
set_lvar_int_to_constant 719@ = 477
209@ = 4
215@ = 80
210@ = 3
216@ = 80
211@ = 5
217@ = 80
goto @CPRACE_46381

:CPRACE_28325
454@ = -796.8273
536@ = -2468.529
618@ = 83.6549
455@ = -938.5198
537@ = -2364.511
619@ = 57.0608
456@ = -1065.656
538@ = -2379.436
620@ = 46.5486
457@ = -1247.823
539@ = -2313.528
621@ = 19.8007
458@ = -1356.137
540@ = -2180.365
622@ = 21.3467
459@ = -1541.303
541@ = -2154.782
623@ = 5.8607
460@ = -1674.876
542@ = -2235.132
624@ = 33.8691
461@ = -1839.937
543@ = -2349.368
625@ = 31.9587
462@ = -1841.037
544@ = -2454.4
626@ = 27.4044
463@ = -1702.044
545@ = -2587.976
627@ = 26.1706
464@ = -1508.332
546@ = -2634.733
628@ = 46.8766
465@ = -1310.905
547@ = -2637.832
629@ = 12.808
466@ = -1122.617
548@ = -2652.592
630@ = 15.4117
467@ = -934.2363
549@ = -2668.473
631@ = 80.3479
468@ = -753.5882
550@ = -2672.785
632@ = 84.0788
469@ = -668.018
551@ = -2496.988
633@ = 37.5787
470@ = -550.4019
552@ = -2334.539
634@ = 26.8502
471@ = -366.3848
553@ = -2257.25
635@ = 41.7144
472@ = -276.1146
554@ = -2189.364
636@ = 27.7264
250@ = 19
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 468
set_lvar_int_to_constant 717@ = 468
set_lvar_int_to_constant 718@ = 468
set_lvar_int_to_constant 719@ = 468
set_lvar_int_to_constant 720@ = 468
set_lvar_int_to_constant 721@ = 468
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_29013
454@ = -1936.791
536@ = -2452.235
618@ = 29.6377
455@ = -1862.54
537@ = -2379.437
619@ = 30.1425
456@ = -1690.144
538@ = -2303.846
620@ = 43.3626
457@ = -1676.317
539@ = -2132.699
621@ = 35.2082
458@ = -1855.421
540@ = -2087.117
622@ = 58.3697
459@ = -1919.802
541@ = -1937.457
623@ = 78.5313
460@ = -1749.334
542@ = -1899.519
624@ = 95.8199
461@ = -1571.292
543@ = -1904.166
625@ = 84.3076
462@ = -1483.784
544@ = -1783.286
626@ = 49.8768
463@ = -1429.878
545@ = -1915.641
627@ = 25.1751
464@ = -1301.801
546@ = -2084.054
628@ = 22.9116
465@ = -1269.913
547@ = -2248.736
629@ = 21.3152
466@ = -1146.514
548@ = -2371.508
630@ = 27.0467
467@ = -959.5773
549@ = -2306.27
631@ = 56.1859
468@ = -867.9595
550@ = -2180.891
632@ = 25.6567
469@ = -843.4177
551@ = -2018.734
633@ = 20.9828
470@ = -767.7295
552@ = -1865.533
634@ = 11.4149
471@ = -666.3682
553@ = -1996.276
635@ = 23.9143
472@ = -486.6196
554@ = -2025.765
636@ = 48.245
473@ = -323.4612
555@ = -1914.206
637@ = 11.1951
250@ = 20
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 568
set_lvar_int_to_constant 717@ = 568
set_lvar_int_to_constant 718@ = 568
set_lvar_int_to_constant 719@ = 568
set_lvar_int_to_constant 720@ = 568
set_lvar_int_to_constant 721@ = 568
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_29731
454@ = -2728.309
536@ = -310.8731
618@ = 6.0391
455@ = -2668.671
537@ = -251.6207
619@ = 5.4984
456@ = -2655.978
538@ = -104.6751
620@ = 2.9982
457@ = -2460.835
539@ = -69.9766
621@ = 31.2
458@ = -2421.263
540@ = 55.6089
622@ = 34.0156
459@ = -2545.26
541@ = 137.9111
623@ = 15.2177
460@ = -2604.136
542@ = 136.8579
624@ = 3.1797
461@ = -2558.661
543@ = 245.625
625@ = 10.7931
462@ = -2578.504
544@ = 345.8331
626@ = 7.2168
463@ = -2706.282
545@ = 317.6024
627@ = 3.1797
464@ = -2809.244
546@ = 232.3965
628@ = 6.0313
465@ = -2757.749
547@ = 138.2248
629@ = 5.9033
466@ = -2758.39
548@ = -43.991
630@ = 6.1263
467@ = -2756.892
549@ = -184.0135
631@ = 5.8843
468@ = -2812.464
550@ = -299.5974
632@ = 6.039
set_lvar_float_to_lvar_float 469@ = 454@
set_lvar_float_to_lvar_float 551@ = 536@
set_lvar_float_to_lvar_float 633@ = 618@
250@ = 16
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 571
set_lvar_int_to_constant 717@ = 571
set_lvar_int_to_constant 718@ = 571
set_lvar_int_to_constant 719@ = 571
set_lvar_int_to_constant 720@ = 571
set_lvar_int_to_constant 721@ = 571
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_30323
454@ = -2657.164
536@ = 1153.872
618@ = 34.7396
455@ = -2593.221
537@ = 1217.854
619@ = 34.7402
456@ = -2312.288
538@ = 1176.387
620@ = 49.608
457@ = -2157.193
539@ = 1268.197
621@ = 26.0127
458@ = -1959.526
540@ = 1287.205
622@ = 6.7514
459@ = -1741.076
541@ = 1325.298
623@ = 6.083
460@ = -1759.865
542@ = 1269.147
624@ = 8.8598
461@ = -1884.242
543@ = 1160.691
625@ = 45.0107
462@ = -1897.101
544@ = 960.1686
626@ = 34.7366
463@ = -1998.178
545@ = 841.1865
627@ = 45.0219
464@ = -2189.259
546@ = 808.5273
628@ = 56.0602
465@ = -2389.186
547@ = 808.6409
629@ = 34.7495
466@ = -2589.692
548@ = 808.5219
630@ = 49.5411
467@ = -2711.488
549@ = 812.8809
631@ = 48.9309
468@ = -2750.894
550@ = 890.6993
632@ = 65.8952
469@ = -2653.912
551@ = 1157.345
633@ = 34.7386
250@ = 16
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 559
set_lvar_int_to_constant 717@ = 589
set_lvar_int_to_constant 718@ = 559
set_lvar_int_to_constant 719@ = 565
set_lvar_int_to_constant 720@ = 558
set_lvar_int_to_constant 721@ = 602
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_30921
454@ = -1584.141
536@ = 1053.439
618@ = 6.8392
455@ = -1584.128
537@ = 1150.261
619@ = 6.8387
456@ = -1699.077
538@ = 1312.02
620@ = 6.8293
457@ = -1875.891
539@ = 1352.059
621@ = 6.8322
458@ = -2060.741
540@ = 1274.452
622@ = 8.0659
459@ = -2258.306
541@ = 1257.682
623@ = 42.6038
460@ = -2143.281
542@ = 1075.652
624@ = 79.1249
461@ = -2143.141
543@ = 896.6196
625@ = 79.6432
462@ = -2143.084
544@ = 696.6971
626@ = 67.6451
463@ = -2146.737
545@ = 532.8465
627@ = 34.8181
464@ = -2055.564
546@ = 504.0781
628@ = 34.8168
465@ = -1968.175
547@ = 605.5881
629@ = 34.8199
466@ = -1820.393
548@ = 475.0548
630@ = 23.4295
467@ = -1876.903
549@ = 288.4981
631@ = 32.6699
468@ = -1897.585
550@ = 87.7896
632@ = 37.9384
469@ = -1911.151
551@ = -214.2394
633@ = 38.032
470@ = -1910.974
552@ = -515.5727
634@ = 38.0323
471@ = -1910.675
553@ = -816.3037
635@ = 44.7432
472@ = -1910.658
554@ = -1117.409
636@ = 38.0214
473@ = -1907.276
555@ = -1317.626
637@ = 39.3164
474@ = -1996.896
556@ = -1289.264
638@ = 37.3518
475@ = -2153.53
557@ = -1031.597
639@ = 32.3638
476@ = -2205.567
558@ = -859.1885
640@ = 54.6872
477@ = -2202.666
559@ = -759.2505
641@ = 62.3413
478@ = -2352.255
560@ = -775.5399
642@ = 95.1597
479@ = -2421.544
561@ = -610.6656
643@ = 132.3493
480@ = -2627.138
562@ = -496.4363
644@ = 70.09
481@ = -2351.247
563@ = -460.0875
645@ = 79.9485
482@ = -2599.996
564@ = -372.7368
646@ = 43.7794
483@ = -2702.314
565@ = -530.1367
647@ = 12.4366
484@ = -2699.197
566@ = -401.205
648@ = 7.7008
485@ = -2210.255
567@ = -348.0724
649@ = 36.8384
486@ = -1897.734
568@ = -314.4976
650@ = 48.9384
487@ = -1890.36
569@ = -45.4288
651@ = 38.0312
488@ = -1886.557
570@ = 55.293
652@ = 38.0326
489@ = -1848.039
571@ = 242.5393
653@ = 30.825
490@ = -1736.635
572@ = 316.5836
654@ = 6.039
491@ = -1682.981
573@ = 367.1342
655@ = 6.028
492@ = -1559.293
574@ = 528.332
656@ = 6.8409
493@ = -1535.552
575@ = 827.4427
657@ = 6.8401
494@ = -1584.129
576@ = 1115.601
658@ = 6.8376
250@ = 41
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 402
set_lvar_int_to_constant 717@ = 560
set_lvar_int_to_constant 718@ = 506
set_lvar_int_to_constant 719@ = 506
set_lvar_int_to_constant 720@ = 477
set_lvar_int_to_constant 721@ = 603
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_32269
454@ = -1761.655
536@ = -606.3881
618@ = 15.8961
455@ = -1760.54
537@ = -686.4133
619@ = 24.2389
456@ = -1502.876
538@ = -820.2545
620@ = 61.3357
457@ = -1219.332
539@ = -759.4814
621@ = 62.0285
458@ = -1096.152
540@ = -489.1358
622@ = 32.7156
459@ = -911.5416
541@ = -455.9558
623@ = 26.7166
460@ = -621.3364
542@ = -393.158
624@ = 22.1878
461@ = -395.5605
543@ = -533.522
625@ = 17.6561
462@ = -372.2669
544@ = -819.4839
626@ = 28.1926
463@ = -584.5377
545@ = -1160.572
627@ = 21.8153
464@ = -659.3533
546@ = -1548.814
628@ = 22.1495
465@ = -717.1517
547@ = -1697.205
629@ = 48.2586
466@ = -714.6181
548@ = -1395.094
630@ = 60.5799
467@ = -764.046
549@ = -1385.027
631@ = 82.2146
468@ = -762.7014
550@ = -1685.041
632@ = 96.9103
469@ = -945.4141
551@ = -1903.227
633@ = 81.3436
470@ = -1104.541
552@ = -2155.325
634@ = 34.6761
471@ = -1186.201
553@ = -2444.541
635@ = 54.4532
472@ = -982.3237
554@ = -2611.624
636@ = 86.253
473@ = -713.2529
555@ = -2336.617
637@ = 36.4201
474@ = -512.3461
556@ = -2166.417
638@ = 53.5212
475@ = -258.5978
557@ = -2074.872
639@ = 36.648
476@ = -260.1367
558@ = -1777.191
640@ = 7.5735
477@ = -57.3444
559@ = -1601.375
641@ = 1.3776
478@ = -124.296
560@ = -1466.575
642@ = 2.4045
479@ = -143.4815
561@ = -1270.317
643@ = 2.404
480@ = -113.7683
562@ = -998.821
644@ = 23.9178
481@ = -377.3843
563@ = -838.2166
645@ = 47.1444
482@ = -626.0056
564@ = -989.012
646@ = 66.0268
483@ = -877.4561
565@ = -1097.426
647@ = 96.1699
484@ = -925.9376
566@ = -1391.353
648@ = 126.2905
485@ = -1219.141
567@ = -1347.249
649@ = 122.5235
486@ = -1407.723
568@ = -1414.45
650@ = 104.9232
487@ = -1577.013
569@ = -1168.802
651@ = 102.3586
488@ = -1626.067
570@ = -882.9627
652@ = 97.5243
489@ = -1744.303
571@ = -853.2858
653@ = 77.1834
490@ = -1684.612
572@ = -1143.291
654@ = 72.4364
491@ = -1549.538
573@ = -1286.347
655@ = 57.1135
492@ = -1525.757
574@ = -1383.531
656@ = 45.1796
493@ = -1626.142
575@ = -1375.587
657@ = 45.2062
494@ = -1800.174
576@ = -1016.79
658@ = 51.6322
495@ = -1817.478
577@ = -617.6195
659@ = 15.9507
250@ = 42
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 451
set_lvar_int_to_constant 717@ = 415
set_lvar_int_to_constant 718@ = 411
set_lvar_int_to_constant 719@ = 451
set_lvar_int_to_constant 720@ = 429
set_lvar_int_to_constant 721@ = 541
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_33647
454@ = -2001.856
536@ = 1076.302
618@ = 54.5637
455@ = -2302.386
537@ = 1076.754
619@ = 54.5859
456@ = -2596.785
538@ = 1136.728
620@ = 54.4297
457@ = -2673.767
539@ = 1427.293
621@ = 54.4271
458@ = -2673.775
540@ = 1728.239
622@ = 66.8937
459@ = -2673.807
541@ = 2028.896
623@ = 57.2377
460@ = -2731.742
542@ = 2323.183
624@ = 67.5411
461@ = -2622.094
543@ = 2602.597
625@ = 68.7
462@ = -2322.772
544@ = 2637.1
626@ = 53.2135
463@ = -2027.122
545@ = 2585.865
627@ = 53.9804
464@ = -1885.621
546@ = 2321.522
628@ = 38.5395
465@ = -1675.296
547@ = 2107.697
629@ = 17.3995
466@ = -1629.976
548@ = 1810.828
630@ = 11.059
467@ = -1347.988
549@ = 1705.67
631@ = 4.8179
468@ = -1125.87
550@ = 1504.095
632@ = 22.1877
469@ = -1010.766
551@ = 1227.044
633@ = 31.1773
470@ = -908.7908
552@ = 944.9431
634@ = 17.337
471@ = -744.0402
553@ = 694.0286
635@ = 16.9982
472@ = -469.1425
554@ = 573.061
636@ = 16.0649
473@ = -168.3162
555@ = 562.0268
637@ = 14.9046
474@ = 110.1296
556@ = 673.4105
638@ = 4.6336
475@ = 400.681
557@ = 749.8367
639@ = 5.0607
476@ = 686.3097
558@ = 656.6995
640@ = 7.8963
477@ = 975.3585
559@ = 738.1249
641@ = 9.6719
478@ = 1242.045
560@ = 876.267
642@ = 13.1519
479@ = 1226.81
561@ = 1169.877
643@ = 5.8125
480@ = 1226.664
562@ = 1469.936
644@ = 5.742
250@ = 27
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 451
set_lvar_int_to_constant 717@ = 415
set_lvar_int_to_constant 718@ = 411
set_lvar_int_to_constant 719@ = 451
set_lvar_int_to_constant 720@ = 429
set_lvar_int_to_constant 721@ = 429
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_34575
454@ = -878.0113
536@ = 1947.484
618@ = 59.1845
455@ = -857.6418
537@ = 1873.25
619@ = 59.183
456@ = -1030.689
538@ = 1853.546
620@ = 58.8558
457@ = -1093.182
539@ = 1748.023
621@ = 31.6318
458@ = -902.488
540@ = 1687.666
622@ = 26.267
459@ = -847.1951
541@ = 1495.581
623@ = 17.5443
460@ = -782.4052
542@ = 1305.811
624@ = 12.6016
461@ = -616.3677
543@ = 1193.645
625@ = 9.2126
462@ = -474.1805
544@ = 1052.086
626@ = 10.0313
463@ = -319.1918
545@ = 925.6066
627@ = 10.3099
464@ = -267.4492
546@ = 825.0159
628@ = 13.2739
465@ = -188.4539
547@ = 1007.19
629@ = 18.5885
466@ = -164.8873
548@ = 1198.263
630@ = 18.5938
467@ = -142.1028
549@ = 1250.022
631@ = 18.5869
468@ = -341.5205
550@ = 1265.695
632@ = 22.1515
469@ = -440.031
551@ = 1439.669
633@ = 32.334
470@ = -438.1716
552@ = 1639.673
634@ = 34.6319
471@ = -381.6811
553@ = 1831.026
635@ = 49.8567
472@ = -433.4627
554@ = 1883.992
636@ = 59.8611
473@ = -465.4392
555@ = 1768.532
637@ = 71.9576
474@ = -464.5399
556@ = 1968.423
638@ = 81.2536
475@ = -411.0666
557@ = 2074.596
639@ = 60.6433
476@ = -610.1716
558@ = 2050.887
640@ = 59.1798
477@ = -790.69
559@ = 2053.91
641@ = 59.1798
set_lvar_float_to_lvar_float 478@ = 454@
set_lvar_float_to_lvar_float 560@ = 536@
set_lvar_float_to_lvar_float 642@ = 618@
250@ = 25
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 461
set_lvar_int_to_constant 717@ = 521
set_lvar_int_to_constant 718@ = 522
set_lvar_int_to_constant 719@ = 461
set_lvar_int_to_constant 720@ = 521
set_lvar_int_to_constant 721@ = 522
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_35437
454@ = -375.6397
536@ = 2204.217
618@ = 41.0938
455@ = -388.8497
537@ = 2258.056
619@ = 40.9952
456@ = -410.6823
538@ = 2455.747
620@ = 42.9124
457@ = -608.4162
539@ = 2447.19
621@ = 71.7551
458@ = -715.864
540@ = 2536.594
622@ = 72.7592
459@ = -713.7043
541@ = 2697.466
623@ = 53.2852
460@ = -912.5499
542@ = 2721.987
624@ = 44.8627
461@ = -1112.755
543@ = 2698.651
625@ = 44.875
462@ = -1238.171
544@ = 2679.861
626@ = 45.9321
463@ = -1359.55
545@ = 2659.557
627@ = 50.4683
464@ = -1545.773
546@ = 2732.354
628@ = 61.3062
465@ = -1746.036
547@ = 2727.448
629@ = 59.0648
466@ = -1860.247
548@ = 2563.043
630@ = 48.8929
467@ = -2002.133
549@ = 2422.603
631@ = 32.9752
468@ = -1961.463
550@ = 2227.891
632@ = 10.7077
469@ = -1807.124
551@ = 2100.1
633@ = 7.4268
470@ = -1782.09
552@ = 1901.775
634@ = 14.7248
471@ = -1591.908
553@ = 1837.29
635@ = 24.8515
472@ = -1392.057
554@ = 1852.968
636@ = 35.4945
473@ = -1199.365
555@ = 1799.638
637@ = 40.4346
474@ = -1008.306
556@ = 1855.604
638@ = 61.6784
475@ = -857.7028
557@ = 1874.014
639@ = 59.1758
476@ = -758.5721
558@ = 2048.232
640@ = 59.1866
477@ = -563.1158
559@ = 2005.574
641@ = 59.2474
478@ = -468.9791
560@ = 2056.811
642@ = 59.875
479@ = -392.3245
561@ = 2154.448
643@ = 42.1847
set_lvar_float_to_lvar_float 480@ = 454@
set_lvar_float_to_lvar_float 562@ = 536@
set_lvar_float_to_lvar_float 644@ = 618@
250@ = 27
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 461
set_lvar_int_to_constant 717@ = 521
set_lvar_int_to_constant 718@ = 522
set_lvar_int_to_constant 719@ = 461
set_lvar_int_to_constant 720@ = 521
set_lvar_int_to_constant 721@ = 521
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_36359
454@ = 1446.426
536@ = 834.0658
618@ = 5.8125
455@ = 1747.259
537@ = 834.025
619@ = 8.6815
456@ = 2047.335
538@ = 834.1916
620@ = 5.7422
457@ = 2348.722
539@ = 834.1481
621@ = 5.7422
458@ = 2637.92
540@ = 915.6277
622@ = 5.7498
459@ = 2726.824
541@ = 1202.266
623@ = 5.7422
460@ = 2726.698
542@ = 1502.967
624@ = 5.7422
461@ = 2726.958
543@ = 1804.343
625@ = 5.7393
462@ = 2726.579
544@ = 2125.796
626@ = 5.7269
463@ = 2705.172
545@ = 2405.567
627@ = 5.7277
464@ = 2489.267
546@ = 2614.273
628@ = 4.1679
465@ = 2188.479
547@ = 2609.629
629@ = 5.8164
466@ = 1898.309
548@ = 2529.155
630@ = 5.8125
467@ = 1603.524
549@ = 2473.083
631@ = 5.8516
468@ = 1305.181
550@ = 2439.19
632@ = 5.7422
469@ = 1208.232
551@ = 2154.514
633@ = 5.7422
470@ = 1208.38
552@ = 1853.837
634@ = 5.7422
471@ = 1208.322
553@ = 1553.025
635@ = 5.7422
472@ = 1208.126
554@ = 1252.557
636@ = 5.7498
473@ = 1229.187
555@ = 952.9079
637@ = 5.8125
set_lvar_float_to_lvar_float 474@ = 454@
set_lvar_float_to_lvar_float 556@ = 536@
set_lvar_float_to_lvar_float 638@ = 618@
250@ = 21
256@ = 6
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 716@ = 451
set_lvar_int_to_constant 717@ = 562
set_lvar_int_to_constant 718@ = 415
set_lvar_int_to_constant 719@ = 411
set_lvar_int_to_constant 720@ = 562
set_lvar_int_to_constant 721@ = 451
gosub @CPRACE_47781
goto @CPRACE_46381

:CPRACE_37101
454@ = 1796.901
536@ = -2593.329
618@ = 12.5982
455@ = 1596.915
537@ = -2592.123
619@ = 25.9969
456@ = 1425.429
538@ = -2549.107
620@ = 37.8234
457@ = 1280.556
539@ = -2394.586
621@ = 52.2127
458@ = 1296.165
540@ = -2194.131
622@ = 72.3519
459@ = 1317.012
541@ = -1995.026
623@ = 77.657
460@ = 1385.216
542@ = -1807.25
624@ = 64.6153
461@ = 1501.202
543@ = -1642.892
625@ = 78.2774
462@ = 1597.783
544@ = -1466.853
626@ = 87.9007
463@ = 1621.693
545@ = -1267.59
627@ = 84.5704
464@ = 1592.626
546@ = -1069.313
628@ = 87.8825
465@ = 1477.096
547@ = -905.3071
629@ = 103.4455
466@ = 1388.884
548@ = -725.4239
630@ = 125.9394
467@ = 1320.715
549@ = -536.3066
631@ = 127.73
468@ = 1233.948
550@ = -356.5205
632@ = 103.7008
469@ = 1235.221
551@ = -155.8231
633@ = 83.5
470@ = 1362.454
552@ = -2.0532
634@ = 70.1118
471@ = 1562.073
553@ = -27.0897
635@ = 64.6716
472@ = 1670.313
554@ = -196.5335
636@ = 77.4671
473@ = 1698.697
555@ = -394.7666
637@ = 84.513
474@ = 1841.239
556@ = -535.4985
638@ = 105.1396
475@ = 1999.777
557@ = -658.853
639@ = 125.3019
476@ = 2117.771
558@ = -819.4944
640@ = 144.8639
477@ = 2200.181
559@ = -1001.27
641@ = 129.4889
478@ = 2265.805
560@ = -1184.584
642@ = 83.0669
479@ = 2296.145
561@ = -1383.394
643@ = 62.1655
480@ = 2321.608
562@ = -1582.03
644@ = 63.1144
481@ = 2400.442
563@ = -1766.227
645@ = 56.7954
482@ = 2525.256
564@ = -1922.68
646@ = 52.2529
483@ = 2593.726
565@ = -2111.734
647@ = 53.1139
484@ = 2575.049
566@ = -2313.631
648@ = 53.9683
485@ = 2455.397
567@ = -2476.633
649@ = 54.8922
486@ = 2264.071
568@ = -2548.592
650@ = 55.7578
487@ = 2065.285
569@ = -2571.635
651@ = 56.5966
488@ = 1862.502
570@ = -2582.099
652@ = 54.6357
250@ = 35
256@ = 1
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 716@ = 476
set_lvar_int_to_constant 717@ = 476
set_lvar_int_to_constant 718@ = 476
set_lvar_int_to_constant 719@ = 476
set_lvar_int_to_constant 205@ = 3
goto @CPRACE_46381

:CPRACE_38239
454@ = -1582.67
536@ = -89.9953
618@ = 13.1683
455@ = -1439.187
537@ = 53.2109
619@ = 30.0
456@ = -1286.686
538@ = 185.0573
620@ = 32.9885
457@ = -1091.876
539@ = 137.3885
621@ = 46.7629
458@ = -1042.169
540@ = -59.4087
622@ = 43.603
459@ = -1047.567
541@ = -259.0437
623@ = 23.8409
460@ = -1126.559
542@ = -445.5607
624@ = 28.0502
461@ = -1261.24
543@ = -598.8228
625@ = 37.4576
462@ = -1444.803
544@ = -690.5997
626@ = 52.7263
463@ = -1649.008
545@ = -681.264
627@ = 60.8852
464@ = -1845.585
546@ = -636.4395
628@ = 61.1217
465@ = -2044.818
547@ = -658.4432
629@ = 71.2804
466@ = -2206.165
548@ = -778.5996
630@ = 85.9739
467@ = -2240.928
549@ = -976.7443
631@ = 75.2422
468@ = -2139.48
550@ = -1148.617
632@ = 61.3795
469@ = -2028.634
551@ = -1315.712
633@ = 40.653
470@ = -1884.623
552@ = -1459.337
634@ = 37.0927
471@ = -1725.283
553@ = -1581.193
635@ = 51.3609
472@ = -1548.501
554@ = -1676.223
636@ = 63.2502
473@ = -1368.613
555@ = -1769.197
637@ = 52.099
474@ = -1327.042
556@ = -1980.883
638@ = 35.4768
475@ = -1462.659
557@ = -2110.34
639@ = 22.6174
476@ = -1551.068
558@ = -2287.276
640@ = 56.7071
477@ = -1624.645
559@ = -2464.302
641@ = 115.5442
478@ = -1735.012
560@ = -2633.092
642@ = 101.7228
479@ = -1673.618
561@ = -2817.32
643@ = 50.492
480@ = -1529.398
562@ = -2958.864
644@ = 35.2493
481@ = -1331.87
563@ = -3016.815
645@ = 36.5563
482@ = -1140.517
564@ = -2957.838
646@ = 35.4633
483@ = -1133.483
565@ = -2757.115
647@ = 30.2641
484@ = -1219.593
566@ = -2575.6
648@ = 35.8018
485@ = -1227.193
567@ = -2375.099
649@ = 31.7209
486@ = -1172.746
568@ = -2182.804
650@ = 45.2393
487@ = -1144.312
569@ = -1988.018
651@ = 83.1497
488@ = -1021.386
570@ = -1832.821
652@ = 115.2484
489@ = -943.5054
571@ = -1647.992
653@ = 133.3276
490@ = -900.7032
572@ = -1450.585
654@ = 142.0757
491@ = -884.4996
573@ = -1249.642
655@ = 148.1781
492@ = -880.2889
574@ = -1048.99
656@ = 158.8745
493@ = -936.6008
575@ = -855.3414
657@ = 160.157
494@ = -972.9082
576@ = -660.9503
658@ = 116.3043
495@ = -980.3859
577@ = -464.2646
659@ = 79.1644
496@ = -818.388
578@ = -348.3954
660@ = 51.4388
497@ = -617.8265
579@ = -330.2328
661@ = 37.1987
498@ = -415.4925
580@ = -339.8519
662@ = 28.2761
499@ = -248.3391
581@ = -451.8987
663@ = 18.5819
500@ = -192.9961
582@ = -643.989
664@ = 8.889
501@ = -128.7125
583@ = -835.6478
665@ = 24.9195
502@ = 63.3296
584@ = -892.0873
666@ = 40.4431
503@ = 236.1952
585@ = -791.0125
667@ = 46.7307
504@ = 298.5167
586@ = -600.2706
668@ = 53.5437
505@ = 326.4258
587@ = -400.9587
669@ = 50.4641
506@ = 308.5928
588@ = -201.9229
670@ = 40.3219
507@ = 244.4628
589@ = -8.211
671@ = 31.0744
508@ = 129.2121
590@ = 155.3022
672@ = 27.6231
509@ = -37.7018
591@ = 268.3331
673@ = 26.3544
510@ = -224.3873
592@ = 341.0904
674@ = 28.1078
511@ = -420.1607
593@ = 382.1896
675@ = 29.8681
512@ = -622.4773
594@ = 381.915
676@ = 31.6354
513@ = -822.824
595@ = 370.0051
677@ = 33.4142
514@ = -1012.349
596@ = 300.3856
678@ = 35.7468
515@ = -1193.1
597@ = 214.7394
679@ = 38.0629
250@ = 62
256@ = 1
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 716@ = 513
set_lvar_int_to_constant 717@ = 513
set_lvar_int_to_constant 718@ = 513
set_lvar_int_to_constant 719@ = 513
set_lvar_int_to_constant 205@ = 3
goto @CPRACE_46381

:CPRACE_40187
454@ = 366.982
536@ = 2502.595
618@ = 15.5571
455@ = 116.652
537@ = 2502.902
619@ = 47.5682
456@ = -133.6242
538@ = 2524.392
620@ = 55.1281
457@ = -377.8474
539@ = 2588.068
621@ = 67.6866
458@ = -604.1302
540@ = 2694.639
622@ = 84.7931
459@ = -838.685
541@ = 2779.901
623@ = 69.2036
460@ = -1045.629
542@ = 2639.279
624@ = 69.0984
461@ = -984.3267
543@ = 2395.508
625@ = 64.5187
462@ = -873.4733
544@ = 2171.186
626@ = 64.5549
463@ = -770.134
545@ = 1943.248
627@ = 70.927
464@ = -653.4092
546@ = 1720.47
628@ = 47.6015
465@ = -578.5898
547@ = 1481.972
629@ = 21.5084
466@ = -521.8337
548@ = 1238.437
630@ = 11.6736
467@ = -469.9443
549@ = 995.721
631@ = 51.4066
468@ = -525.42
550@ = 750.7462
632@ = 44.2215
469@ = -664.0441
551@ = 541.0659
633@ = 15.9243
470@ = -914.7918
552@ = 536.2426
634@ = 11.804
471@ = -1131.918
553@ = 661.8135
635@ = 13.6564
472@ = -1309.833
554@ = 839.316
636@ = 10.7039
473@ = -1449.372
555@ = 1045.777
637@ = 31.9947
474@ = -1603.122
556@ = 1243.21
638@ = 38.6648
475@ = -1813.101
557@ = 1379.44
639@ = 28.4044
476@ = -2061.489
558@ = 1418.549
640@ = 22.0099
477@ = -2312.469
559@ = 1430.699
641@ = 42.3744
478@ = -2522.745
560@ = 1564.194
642@ = 75.9034
479@ = -2689.238
561@ = 1753.745
643@ = 99.5865
480@ = -2759.371
562@ = 1994.265
644@ = 110.8744
481@ = -2682.772
563@ = 2233.097
645@ = 113.4608
482@ = -2493.907
564@ = 2397.506
646@ = 102.0156
483@ = -2245.109
565@ = 2418.773
647@ = 83.5877
484@ = -1994.605
566@ = 2407.942
648@ = 87.4376
485@ = -1751.471
567@ = 2349.74
649@ = 90.2881
486@ = -1535.099
568@ = 2217.656
650@ = 75.7349
487@ = -1305.302
569@ = 2118.716
651@ = 74.7752
488@ = -1064.807
570@ = 2187.768
652@ = 66.2415
489@ = -814.3556
571@ = 2195.872
653@ = 56.1521
490@ = -563.2742
572@ = 2203.33
654@ = 60.9129
491@ = -313.3741
573@ = 2229.26
655@ = 73.2015
492@ = -66.3647
574@ = 2178.082
656@ = 71.9294
493@ = 186.4198
575@ = 2211.213
657@ = 71.6732
494@ = 390.8383
576@ = 2356.514
658@ = 65.1402
495@ = 639.1594
577@ = 2385.26
659@ = 47.4816
496@ = 857.994
578@ = 2510.157
660@ = 50.2583
497@ = 929.9869
579@ = 2748.352
661@ = 77.8011
498@ = 760.5828
580@ = 2935.73
662@ = 91.5673
499@ = 512.0109
581@ = 2901.74
663@ = 93.8596
500@ = 309.843
582@ = 2752.892
664@ = 93.5908
501@ = 153.0242
583@ = 2560.321
665@ = 64.3547
502@ = 18.2657
584@ = 2347.904
666@ = 66.4087
503@ = -99.4455
585@ = 2126.343
667@ = 75.4819
504@ = -257.6325
586@ = 1931.184
668@ = 75.4922
505@ = -392.7389
587@ = 1720.594
669@ = 94.1061
506@ = -499.7809
588@ = 1492.545
670@ = 58.172
507@ = -687.7847
589@ = 1327.026
671@ = 45.0028
508@ = -881.8704
590@ = 1169.769
672@ = 68.6343
509@ = -1075.92
591@ = 1008.155
673@ = 61.9286
510@ = -1272.957
592@ = 852.6403
674@ = 61.1137
511@ = -1457.539
593@ = 680.1183
675@ = 69.2464
512@ = -1634.648
594@ = 496.5454
676@ = 79.7593
513@ = -1839.814
595@ = 342.0907
677@ = 77.0974
514@ = -2063.729
596@ = 218.3637
678@ = 74.2748
515@ = -2305.257
597@ = 145.857
679@ = 72.5908
516@ = -2554.304
598@ = 126.6046
680@ = 96.9355
517@ = -2745.509
599@ = -33.5993
681@ = 80.174
518@ = -2863.942
600@ = -255.546
682@ = 62.7643
519@ = -2912.281
601@ = -500.7706
683@ = 51.8291
520@ = -2947.388
602@ = -759.2774
684@ = 44.0041
521@ = -2962.423
603@ = -1011.333
685@ = 42.2517
522@ = -2955.506
604@ = -1276.023
686@ = 45.302
523@ = -3000.904
605@ = -1528.563
687@ = 51.004
250@ = 70
256@ = 1
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 716@ = 520
set_lvar_int_to_constant 717@ = 520
set_lvar_int_to_constant 718@ = 520
set_lvar_int_to_constant 719@ = 520
set_lvar_int_to_constant 205@ = 3
goto @CPRACE_46381

:CPRACE_42375
454@ = 381.9952
536@ = 2542.088
618@ = 15.6876
455@ = 304.6997
537@ = 2547.057
619@ = 37.975
456@ = -97.4654
538@ = 2554.841
620@ = 32.4746
457@ = -102.6455
539@ = 2699.236
621@ = 63.5945
458@ = -221.948
540@ = 2718.08
622@ = 82.385
459@ = -418.3279
541@ = 2691.081
623@ = 78.5077
460@ = -392.2611
542@ = 2492.193
624@ = 84.257
461@ = -360.1944
543@ = 2294.638
625@ = 79.344
462@ = -238.1485
544@ = 2230.007
626@ = 81.9684
463@ = -287.1143
545@ = 2091.03
627@ = 70.2663
464@ = -481.0875
546@ = 2051.74
628@ = 76.2466
465@ = -665.1192
547@ = 2131.252
629@ = 77.2696
466@ = -845.4529
548@ = 2218.861
630@ = 80.0327
467@ = -1044.866
549@ = 2207.615
631@ = 67.0078
468@ = -1234.234
550@ = 2142.393
632@ = 66.1648
469@ = -1424.931
551@ = 2205.699
633@ = 70.8862
470@ = -1571.237
552@ = 2247.766
634@ = 65.1073
471@ = -1745.637
553@ = 2292.511
635@ = 49.3695
472@ = -1945.602
554@ = 2285.913
636@ = 44.2433
473@ = -1953.881
555@ = 2484.877
637@ = 63.2602
474@ = -1895.095
556@ = 2633.034
638@ = 74.4549
475@ = -1706.873
557@ = 2703.232
639@ = 72.8798
476@ = -1505.724
558@ = 2721.034
640@ = 69.9706
477@ = -1305.595
559@ = 2708.321
641@ = 66.4619
478@ = -1105.89
560@ = 2731.611
642@ = 62.9933
479@ = -905.1519
561@ = 2728.83
643@ = 64.0124
480@ = -704.1036
562@ = 2733.898
644@ = 66.2347
250@ = 27
256@ = 1
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 716@ = 487
set_lvar_int_to_constant 717@ = 487
set_lvar_int_to_constant 718@ = 487
set_lvar_int_to_constant 719@ = 487
set_lvar_int_to_constant 205@ = 3
goto @CPRACE_46381

:CPRACE_43273
454@ = -1962.871
536@ = 628.0812
618@ = 150.2844
455@ = -1848.341
537@ = 531.9294
619@ = 86.1743
456@ = -1827.913
538@ = 399.3668
620@ = 29.91
457@ = -1751.361
539@ = 326.9781
621@ = 25.4958
458@ = -1647.958
540@ = 412.8291
622@ = 26.6578
459@ = -1560.513
541@ = 532.7433
623@ = 18.6913
460@ = -1572.197
542@ = 638.3369
624@ = 25.3806
461@ = -1700.555
543@ = 706.7762
625@ = 53.3757
462@ = -1715.507
544@ = 777.6501
626@ = 45.9312
463@ = -1715.978
545@ = 978.3165
627@ = 51.989
464@ = -1714.958
546@ = 1178.562
628@ = 54.9734
465@ = -1912.922
547@ = 1146.255
629@ = 56.3473
466@ = -2003.248
548@ = 982.3228
630@ = 58.819
467@ = -2006.168
549@ = 810.2207
631@ = 54.1756
468@ = -1959.234
550@ = 713.3063
632@ = 75.2571
469@ = -1793.007
551@ = 730.7606
633@ = 44.6388
470@ = -1593.731
552@ = 732.4928
634@ = 20.5721
471@ = -1533.424
553@ = 923.6081
635@ = 29.4493
472@ = -1489.172
554@ = 1118.737
636@ = 17.2211
473@ = -1605.045
555@ = 1284.044
637@ = 27.5543
474@ = -1787.921
556@ = 1365.81
638@ = 32.2595
475@ = -1986.429
557@ = 1319.338
639@ = 23.0384
476@ = -2185.997
558@ = 1345.112
640@ = 19.4206
477@ = -2384.599
559@ = 1380.588
641@ = 17.9485
478@ = -2537.759
560@ = 1369.641
642@ = 23.8562
479@ = -2719.315
561@ = 1345.675
643@ = 32.2039
480@ = -2875.142
562@ = 1245.782
644@ = 20.7763
250@ = 27
256@ = 1
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 716@ = 488
set_lvar_int_to_constant 717@ = 488
set_lvar_int_to_constant 718@ = 488
set_lvar_int_to_constant 719@ = 488
set_lvar_int_to_constant 205@ = 3
goto @CPRACE_46381

:CPRACE_44171
454@ = 1765.609
536@ = -2285.911
618@ = 25.9621
455@ = 1764.294
537@ = -2084.371
619@ = 26.0431
456@ = 1649.402
538@ = -1920.231
620@ = 40.6173
457@ = 1552.024
539@ = -1745.273
621@ = 30.0462
458@ = 1419.031
540@ = -1595.618
622@ = 25.4285
459@ = 1402.089
541@ = -1441.622
623@ = 18.2271
460@ = 1545.335
542@ = -1431.194
624@ = 36.437
461@ = 1653.446
543@ = -1305.841
625@ = 49.6078
462@ = 1786.094
544@ = -1276.766
626@ = 22.6321
463@ = 1901.04
545@ = -1221.949
627@ = 34.699
464@ = 1848.224
546@ = -1097.652
628@ = 46.0898
465@ = 1649.377
547@ = -1085.296
629@ = 36.7768
466@ = 1487.205
548@ = -970.0334
630@ = 60.1281
467@ = 1304.22
549@ = -1038.929
631@ = 39.8547
468@ = 1215.798
550@ = -1218.862
632@ = 27.923
469@ = 1302.613
551@ = -1399.127
633@ = 26.3812
470@ = 1437.015
552@ = -1321.431
634@ = 45.396
471@ = 1609.09
553@ = -1299.497
635@ = 25.0714
472@ = 1791.421
554@ = -1381.364
636@ = 35.17
473@ = 1827.021
555@ = -1567.279
637@ = 22.9243
474@ = 1628.196
556@ = -1600.6
638@ = 38.8226
475@ = 1450.909
557@ = -1694.839
639@ = 25.2192
476@ = 1389.812
558@ = -1852.984
640@ = 24.997
477@ = 1206.609
559@ = -1933.723
641@ = 57.1028
478@ = 1053.461
560@ = -2063.933
642@ = 70.7254
479@ = 1048.698
561@ = -2265.503
643@ = 47.2394
480@ = 1224.402
562@ = -2359.494
644@ = 28.5888
481@ = 1425.61
563@ = -2360.047
645@ = 28.3338
250@ = 28
256@ = 1
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 716@ = 425
set_lvar_int_to_constant 717@ = 425
set_lvar_int_to_constant 718@ = 425
set_lvar_int_to_constant 719@ = 425
set_lvar_int_to_constant 205@ = 3
goto @CPRACE_46381

:CPRACE_45099
454@ = -1398.355
536@ = -197.2079
618@ = 1043.119
455@ = -1398.988
537@ = -188.7892
619@ = 1043.202
456@ = -1465.939
538@ = -134.0836
620@ = 1046.011
457@ = -1530.138
539@ = -193.3988
621@ = 1050.756
458@ = -1415.686
540@ = -274.1765
622@ = 1051.149
459@ = -1305.178
541@ = -143.5283
623@ = 1050.125
460@ = -1302.774
542@ = -268.6358
624@ = 1048.487
set_lvar_float_to_lvar_float 461@ = 454@
set_lvar_float_to_lvar_float 543@ = 536@
set_lvar_float_to_lvar_float 625@ = 618@
732@ = -1406.327
733@ = -265.7914
734@ = 1042.656
735@ = 346.3297
250@ = 8
221@ = 7
224@ = 12
256@ = 12
set_lvar_int_to_constant 700@ = 7
set_lvar_int_to_constant 701@ = 7
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 7
set_lvar_int_to_constant 704@ = 7
set_lvar_int_to_constant 705@ = 7
set_lvar_int_to_constant 706@ = 7
set_lvar_int_to_constant 707@ = 7
set_lvar_int_to_constant 708@ = 7
set_lvar_int_to_constant 709@ = 7
set_lvar_int_to_constant 710@ = 7
set_lvar_int_to_constant 711@ = 7
set_lvar_int_to_constant 712@ = 7
set_lvar_int_to_constant 713@ = 7
set_lvar_int_to_constant 714@ = 7
set_lvar_int_to_constant 715@ = 7
set_lvar_int_to_constant 716@ = 503
set_lvar_int_to_constant 717@ = 502
set_lvar_int_to_constant 718@ = 494
set_lvar_int_to_constant 719@ = 503
set_lvar_int_to_constant 720@ = 502
set_lvar_int_to_constant 721@ = 494
set_lvar_int_to_constant 722@ = 502
set_lvar_int_to_constant 723@ = 494
set_lvar_int_to_constant 724@ = 503
set_lvar_int_to_constant 725@ = 494
set_lvar_int_to_constant 726@ = 503
set_lvar_int_to_constant 727@ = 503
set_lvar_int_to_constant 728@ = 494
set_lvar_int_to_constant 729@ = 502
set_lvar_int_to_constant 730@ = 494
set_lvar_int_to_constant 731@ = 502
goto @CPRACE_46381

:CPRACE_45648
454@ = -1354.358
536@ = -590.5628
618@ = 1055.453
455@ = -1431.177
537@ = -588.3124
619@ = 1054.512
456@ = -1516.874
538@ = -635.0942
620@ = 1050.275
457@ = -1500.678
539@ = -719.0175
621@ = 1051.643
458@ = -1387.502
540@ = -743.1501
622@ = 1051.016
459@ = -1295.54
541@ = -705.3506
623@ = 1055.255
460@ = -1365.312
542@ = -666.0998
624@ = 1055.058
461@ = -1486.5
543@ = -636.4586
625@ = 1052.225
462@ = -1447.86
544@ = -690.3426
626@ = 1052.834
463@ = -1389.908
545@ = -720.9943
627@ = 1055.119
464@ = -1370.685
546@ = -687.8977
628@ = 1053.783
465@ = -1399.136
547@ = -635.8359
629@ = 1051.043
466@ = -1308.639
548@ = -649.4201
630@ = 1054.972
set_lvar_float_to_lvar_float 467@ = 454@
set_lvar_float_to_lvar_float 549@ = 536@
set_lvar_float_to_lvar_float 631@ = 618@
732@ = -1344.163
733@ = -598.8836
734@ = 1051.829
735@ = 103.3822
250@ = 14
221@ = 4
224@ = 6
256@ = 12
set_lvar_int_to_constant 700@ = 100
set_lvar_int_to_constant 701@ = 133
set_lvar_int_to_constant 702@ = 7
set_lvar_int_to_constant 703@ = 181
set_lvar_int_to_constant 704@ = 60
set_lvar_int_to_constant 705@ = 34
set_lvar_int_to_constant 706@ = 198
set_lvar_int_to_constant 707@ = 250
set_lvar_int_to_constant 708@ = 7
set_lvar_int_to_constant 709@ = 100
set_lvar_int_to_constant 710@ = 34
set_lvar_int_to_constant 711@ = 7
set_lvar_int_to_constant 712@ = 7
set_lvar_int_to_constant 713@ = 7
set_lvar_int_to_constant 714@ = 7
set_lvar_int_to_constant 715@ = 7
set_lvar_int_to_constant 716@ = 468
set_lvar_int_to_constant 717@ = 468
set_lvar_int_to_constant 718@ = 468
set_lvar_int_to_constant 719@ = 468
set_lvar_int_to_constant 720@ = 468
set_lvar_int_to_constant 721@ = 468
set_lvar_int_to_constant 722@ = 468
set_lvar_int_to_constant 723@ = 468
set_lvar_int_to_constant 724@ = 468
set_lvar_int_to_constant 725@ = 468
set_lvar_int_to_constant 726@ = 468
set_lvar_int_to_constant 727@ = 468
set_lvar_int_to_constant 728@ = 468
set_lvar_int_to_constant 729@ = 468
set_lvar_int_to_constant 730@ = 468
set_lvar_int_to_constant 731@ = 468
goto @CPRACE_46381

:CPRACE_46381
return 

:CPRACE_46383
if 
  736@ == 0
goto_if_false @CPRACE_46456
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -148.2144, 87.3396, 2.1234, 280.0, 280.0, 30.0, False)
goto_if_false @CPRACE_46456
736@ = 1

:CPRACE_46456
if 
  736@ == 1
goto_if_false @CPRACE_46490
736@ = 2
Streaming.RequestModel(532)
Streaming.RequestModel(82)

:CPRACE_46490
if 
  736@ == 2
goto_if_false @CPRACE_46644
if and
  Streaming.HasModelLoaded(532)
  Streaming.HasModelLoaded(82)
goto_if_false @CPRACE_46644
736@ = 3
738@ = Car.Create(532, -128.2144, 80.3396, 2.1234)
Car.SetHeading(738@, 250.5799)
740@ = Char.CreateInsideCar(738@, PedType.CivMale, 82)
Streaming.MarkModelAsNoLongerNeeded(532)
Streaming.MarkModelAsNoLongerNeeded(82)
Path.FlushRoute
Path.ExtendRoute(-95.8304, 68.27, 3.4764)
Path.ExtendRoute(-77.3806, 70.3096, 3.5478)
Task.DrivePointRouteAdvanced(740@, 738@, 7.5, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:CPRACE_46644
if 
  736@ == 3
goto_if_false @CPRACE_46740
if 
  not Char.IsDead(740@)
goto_if_false @CPRACE_46740
742@ = Char.GetScriptTaskStatus(740@, 2023)
if 
  is_int_lvar_equal_to_constant 742@ == 7
goto_if_false @CPRACE_46740
736@ = 4
if 
  not Car.IsDead(738@)
goto_if_false @CPRACE_46735
Car.MarkAsNoLongerNeeded(738@)

:CPRACE_46735
Char.MarkAsNoLongerNeeded(740@)

:CPRACE_46740
if 
  737@ == 0
goto_if_false @CPRACE_46813
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -542.1076, 230.7356, 11.6475, 320.0, 320.0, 30.0, False)
goto_if_false @CPRACE_46813
737@ = 1

:CPRACE_46813
if 
  737@ == 1
goto_if_false @CPRACE_46847
737@ = 2
Streaming.RequestModel(478)
Streaming.RequestModel(82)

:CPRACE_46847
if 
  737@ == 2
goto_if_false @CPRACE_46980
if and
  Streaming.HasModelLoaded(478)
  Streaming.HasModelLoaded(82)
goto_if_false @CPRACE_46980
737@ = 3
739@ = Car.Create(478, -542.1076, 230.7356, 11.6475)
Car.SetHeading(739@, 262.8685)
741@ = Char.CreateInsideCar(739@, PedType.CivMale, 82)
Streaming.MarkModelAsNoLongerNeeded(478)
Streaming.MarkModelAsNoLongerNeeded(82)
Task.CarDriveToCoord(741@, 739@, -270.5629, 199.0073, 6.99, 11.5, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:CPRACE_46980
if 
  737@ == 3
goto_if_false @CPRACE_47091
if 
  not Char.IsDead(741@)
goto_if_false @CPRACE_47091
742@ = Char.GetScriptTaskStatus(741@, 1489)
if 
  is_int_lvar_equal_to_constant 742@ == 7
goto_if_false @CPRACE_47091
737@ = 4
if 
  not Car.IsDead(739@)
goto_if_false @CPRACE_47086
Task.CarDriveWander(741@, 739@, 11.5, DrivingMode.AvoidCars)
Car.MarkAsNoLongerNeeded(739@)

:CPRACE_47086
Char.MarkAsNoLongerNeeded(741@)

:CPRACE_47091
return 

:CPRACE_47093
if 
  6 > $356
goto_if_false @CPRACE_47223
if 
  52@ <> 1
goto_if_false @CPRACE_47223
Txd.Remove
Txd.LoadDictionary('LD_RCE1')
Txd.LoadSprite(1, "RACE00")
Txd.LoadSprite(2, "RACE01")
Txd.LoadSprite(3, "RACE02")
Txd.LoadSprite(4, "RACE03")
Txd.LoadSprite(5, "RACE04")
Txd.LoadSprite(6, "RACE05")
52@ = 1
return 

:CPRACE_47223
if and
  $356 > 5
  12 > $356
goto_if_false @CPRACE_47360
if 
  52@ <> 2
goto_if_false @CPRACE_47360
Txd.Remove
Txd.LoadDictionary('LD_RCE2')
Txd.LoadSprite(7, "RACE06")
Txd.LoadSprite(8, "RACE07")
Txd.LoadSprite(9, "RACE08")
Txd.LoadSprite(10, "RACE09")
Txd.LoadSprite(11, "RACE10")
Txd.LoadSprite(12, "RACE11")
52@ = 2
return 

:CPRACE_47360
if and
  $356 > 11
  18 > $356
goto_if_false @CPRACE_47497
if 
  52@ <> 3
goto_if_false @CPRACE_47497
Txd.Remove
Txd.LoadDictionary('LD_RCE3')
Txd.LoadSprite(13, "RACE12")
Txd.LoadSprite(14, "RACE13")
Txd.LoadSprite(15, "RACE14")
Txd.LoadSprite(16, "RACE15")
Txd.LoadSprite(17, "RACE16")
Txd.LoadSprite(18, "RACE17")
52@ = 3
return 

:CPRACE_47497
if and
  $356 > 17
  24 > $356
goto_if_false @CPRACE_47634
if 
  52@ <> 4
goto_if_false @CPRACE_47634
Txd.Remove
Txd.LoadDictionary('LD_RCE4')
Txd.LoadSprite(19, "RACE18")
Txd.LoadSprite(20, "RACE19")
Txd.LoadSprite(21, "RACE20")
Txd.LoadSprite(22, "RACE21")
Txd.LoadSprite(23, "RACE22")
Txd.LoadSprite(24, "RACE23")
52@ = 4
return 

:CPRACE_47634
if and
  $356 > 23
  30 > $356
goto_if_false @CPRACE_47711
if 
  52@ <> 5
goto_if_false @CPRACE_47711
Txd.Remove
Txd.LoadDictionary('LD_RCE5')
Txd.LoadSprite(25, "RACE24")
52@ = 5
return 

:CPRACE_47711
return 

:CPRACE_47713
Text.SetColor(134, 155, 184, 255)
Text.SetScale(0.6146, 2.4961)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
Text.SetDropshadow(2, 0, 0, 0, 255)
return 

:CPRACE_47781
254@ = 0
set_lvar_int_to_lvar_int 255@ = 256@
255@ -= 1

:CPRACE_47803
if 
  is_int_lvar_greater_than_int_lvar 255@ > 254@
goto_if_false @CPRACE_48702
253@ = Math.RandomIntInRange(0, 32)
switch_start 253@ {numCases} 32 {hasDefaultCase} 0 {defaultLabel} @CPRACE_48688 {caseNum1} 0 {caseLabel1} @CPRACE_48089 {caseNum2} 1 {caseLabel2} @CPRACE_48107 {caseNum3} 2 {caseLabel3} @CPRACE_48125 {caseNum4} 3 {caseLabel4} @CPRACE_48143 {caseNum5} 4 {caseLabel5} @CPRACE_48161 {caseNum6} 5 {caseLabel6} @CPRACE_48179 {caseNum7} 6 {caseLabel7} @CPRACE_48197
switch_continued 7 {caseLabel1} @CPRACE_48215 {caseNum2} 8 {caseLabel2} @CPRACE_48233 {caseNum3} 9 {caseLabel3} @CPRACE_48251 {caseNum4} 10 {caseLabel4} @CPRACE_48270 {caseNum5} 11 {caseLabel5} @CPRACE_48289 {caseNum6} 12 {caseLabel6} @CPRACE_48308 {caseNum7} 13 {caseLabel7} @CPRACE_48327 {caseNum8} 14 {caseLabel8} @CPRACE_48346 {caseNum9} 15 {caseLabel9} @CPRACE_48365
switch_continued 16 {caseLabel1} @CPRACE_48384 {caseNum2} 17 {caseLabel2} @CPRACE_48403 {caseNum3} 18 {caseLabel3} @CPRACE_48422 {caseNum4} 19 {caseLabel4} @CPRACE_48441 {caseNum5} 20 {caseLabel5} @CPRACE_48460 {caseNum6} 21 {caseLabel6} @CPRACE_48479 {caseNum7} 22 {caseLabel7} @CPRACE_48498 {caseNum8} 23 {caseLabel8} @CPRACE_48517 {caseNum9} 24 {caseLabel9} @CPRACE_48536
switch_continued 25 {caseLabel1} @CPRACE_48555 {caseNum2} 26 {caseLabel2} @CPRACE_48574 {caseNum3} 27 {caseLabel3} @CPRACE_48593 {caseNum4} 28 {caseLabel4} @CPRACE_48612 {caseNum5} 29 {caseLabel5} @CPRACE_48631 {caseNum6} 30 {caseLabel6} @CPRACE_48650 {caseNum7} 31 {caseLabel7} @CPRACE_48669 {caseNum8} -1 {caseLabel8} @CPRACE_48688 {caseNum9} -1 {caseLabel9} @CPRACE_48688

:CPRACE_48089
set_lvar_int_to_constant 700@(254@,16i) = 34
goto @CPRACE_48688

:CPRACE_48107
set_lvar_int_to_constant 700@(254@,16i) = 60
goto @CPRACE_48688

:CPRACE_48125
set_lvar_int_to_constant 700@(254@,16i) = 69
goto @CPRACE_48688

:CPRACE_48143
set_lvar_int_to_constant 700@(254@,16i) = 96
goto @CPRACE_48688

:CPRACE_48161
set_lvar_int_to_constant 700@(254@,16i) = 100
goto @CPRACE_48688

:CPRACE_48179
set_lvar_int_to_constant 700@(254@,16i) = 101
goto @CPRACE_48688

:CPRACE_48197
set_lvar_int_to_constant 700@(254@,16i) = 112
goto @CPRACE_48688

:CPRACE_48215
set_lvar_int_to_constant 700@(254@,16i) = 122
goto @CPRACE_48688

:CPRACE_48233
set_lvar_int_to_constant 700@(254@,16i) = 125
goto @CPRACE_48688

:CPRACE_48251
set_lvar_int_to_constant 700@(254@,16i) = 128
goto @CPRACE_48688

:CPRACE_48270
set_lvar_int_to_constant 700@(254@,16i) = 131
goto @CPRACE_48688

:CPRACE_48289
set_lvar_int_to_constant 700@(254@,16i) = 133
goto @CPRACE_48688

:CPRACE_48308
set_lvar_int_to_constant 700@(254@,16i) = 140
goto @CPRACE_48688

:CPRACE_48327
set_lvar_int_to_constant 700@(254@,16i) = 142
goto @CPRACE_48688

:CPRACE_48346
set_lvar_int_to_constant 700@(254@,16i) = 151
goto @CPRACE_48688

:CPRACE_48365
set_lvar_int_to_constant 700@(254@,16i) = 157
goto @CPRACE_48688

:CPRACE_48384
set_lvar_int_to_constant 700@(254@,16i) = 170
goto @CPRACE_48688

:CPRACE_48403
set_lvar_int_to_constant 700@(254@,16i) = 181
goto @CPRACE_48688

:CPRACE_48422
set_lvar_int_to_constant 700@(254@,16i) = 183
goto @CPRACE_48688

:CPRACE_48441
set_lvar_int_to_constant 700@(254@,16i) = 186
goto @CPRACE_48688

:CPRACE_48460
set_lvar_int_to_constant 700@(254@,16i) = 192
goto @CPRACE_48688

:CPRACE_48479
set_lvar_int_to_constant 700@(254@,16i) = 198
goto @CPRACE_48688

:CPRACE_48498
set_lvar_int_to_constant 700@(254@,16i) = 201
goto @CPRACE_48688

:CPRACE_48517
set_lvar_int_to_constant 700@(254@,16i) = 206
goto @CPRACE_48688

:CPRACE_48536
set_lvar_int_to_constant 700@(254@,16i) = 211
goto @CPRACE_48688

:CPRACE_48555
set_lvar_int_to_constant 700@(254@,16i) = 217
goto @CPRACE_48688

:CPRACE_48574
set_lvar_int_to_constant 700@(254@,16i) = 220
goto @CPRACE_48688

:CPRACE_48593
set_lvar_int_to_constant 700@(254@,16i) = 223
goto @CPRACE_48688

:CPRACE_48612
set_lvar_int_to_constant 700@(254@,16i) = 233
goto @CPRACE_48688

:CPRACE_48631
set_lvar_int_to_constant 700@(254@,16i) = 246
goto @CPRACE_48688

:CPRACE_48650
set_lvar_int_to_constant 700@(254@,16i) = 248
goto @CPRACE_48688

:CPRACE_48669
set_lvar_int_to_constant 700@(254@,16i) = 250
goto @CPRACE_48688

:CPRACE_48688
254@ += 1
goto @CPRACE_47803

:CPRACE_48702
return 

:CPRACE_48704
if or
  450@ == 1
  256@ == 1
goto_if_false @CPRACE_50662
Audio.PlayMissionPassedTune(1)
switch_start $356 {numCases} 27 {hasDefaultCase} 0 {defaultLabel} @CPRACE_50662 {caseNum1} 0 {caseLabel1} @CPRACE_48991 {caseNum2} 1 {caseLabel2} @CPRACE_49079 {caseNum3} 2 {caseLabel3} @CPRACE_49138 {caseNum4} 3 {caseLabel4} @CPRACE_49197 {caseNum5} 4 {caseLabel5} @CPRACE_49256 {caseNum6} 5 {caseLabel6} @CPRACE_49315 {caseNum7} 6 {caseLabel7} @CPRACE_49374
switch_continued 7 {caseLabel1} @CPRACE_49433 {caseNum2} 8 {caseLabel2} @CPRACE_49507 {caseNum3} 9 {caseLabel3} @CPRACE_49559 {caseNum4} 10 {caseLabel4} @CPRACE_49618 {caseNum5} 11 {caseLabel5} @CPRACE_49677 {caseNum6} 12 {caseLabel6} @CPRACE_49736 {caseNum7} 13 {caseLabel7} @CPRACE_49795 {caseNum8} 14 {caseLabel8} @CPRACE_49854 {caseNum9} 15 {caseLabel9} @CPRACE_49913
switch_continued 16 {caseLabel1} @CPRACE_49972 {caseNum2} 17 {caseLabel2} @CPRACE_50031 {caseNum3} 18 {caseLabel3} @CPRACE_50090 {caseNum4} 19 {caseLabel4} @CPRACE_50149 {caseNum5} 20 {caseLabel5} @CPRACE_50208 {caseNum6} 21 {caseLabel6} @CPRACE_50267 {caseNum7} 22 {caseLabel7} @CPRACE_50326 {caseNum8} 23 {caseLabel8} @CPRACE_50385 {caseNum9} 24 {caseLabel9} @CPRACE_50444
switch_continued 25 {caseLabel1} @CPRACE_50503 {caseNum2} 26 {caseLabel2} @CPRACE_50586 {caseNum3} -1 {caseLabel3} @CPRACE_50662 {caseNum4} -1 {caseLabel4} @CPRACE_50662 {caseNum5} -1 {caseLabel5} @CPRACE_50662 {caseNum6} -1 {caseLabel6} @CPRACE_50662 {caseNum7} -1 {caseLabel7} @CPRACE_50662 {caseNum8} -1 {caseLabel8} @CPRACE_50662 {caseNum9} -1 {caseLabel9} @CPRACE_50662

:CPRACE_48991
if 
  $2304[0] == 0
goto_if_false @CPRACE_49072
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
if 
  $chat_help1_flag == 0
goto_if_false @CPRACE_49056
Stat.RegisterMissionPassed('CESAR_1')
goto @CPRACE_49065

:CPRACE_49056
Stat.RegisterMissionPassed(85@($356,30s))

:CPRACE_49065
$2304[0] = 1

:CPRACE_49072
goto @CPRACE_50662

:CPRACE_49079
if 
  $2304[1] == 0
goto_if_false @CPRACE_49131
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[1] = 1

:CPRACE_49131
goto @CPRACE_50662

:CPRACE_49138
if 
  $2304[2] == 0
goto_if_false @CPRACE_49190
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[2] = 1

:CPRACE_49190
goto @CPRACE_50662

:CPRACE_49197
if 
  $2304[3] == 0
goto_if_false @CPRACE_49249
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[3] = 1

:CPRACE_49249
goto @CPRACE_50662

:CPRACE_49256
if 
  $2304[4] == 0
goto_if_false @CPRACE_49308
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[4] = 1

:CPRACE_49308
goto @CPRACE_50662

:CPRACE_49315
if 
  $2304[5] == 0
goto_if_false @CPRACE_49367
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[5] = 1

:CPRACE_49367
goto @CPRACE_50662

:CPRACE_49374
if 
  $2304[6] == 0
goto_if_false @CPRACE_49426
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[6] = 1

:CPRACE_49426
goto @CPRACE_50662

:CPRACE_49433
if 
  $2304[7] == 0
goto_if_false @CPRACE_49500
Stat.PlayerMadeProgress(1)
start_new_script @CASHWIN 5000 5000 
Player.AddScore($statbike_temp, 5000)
$cat_otb_banter += 1
Stat.RegisterMissionPassed(85@($356,30s))
$2304[7] = 1

:CPRACE_49500
goto @CPRACE_50662

:CPRACE_49507
if 
  $2304[8] == 0
goto_if_false @CPRACE_49552
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
Stat.RegisterMissionPassed(85@($356,30s))
$2304[8] = 1

:CPRACE_49552
goto @CPRACE_50662

:CPRACE_49559
if 
  $2304[9] == 0
goto_if_false @CPRACE_49611
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[9] = 1

:CPRACE_49611
goto @CPRACE_50662

:CPRACE_49618
if 
  $2304[10] == 0
goto_if_false @CPRACE_49670
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[10] = 1

:CPRACE_49670
goto @CPRACE_50662

:CPRACE_49677
if 
  $2304[11] == 0
goto_if_false @CPRACE_49729
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[11] = 1

:CPRACE_49729
goto @CPRACE_50662

:CPRACE_49736
if 
  $2304[12] == 0
goto_if_false @CPRACE_49788
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[12] = 1

:CPRACE_49788
goto @CPRACE_50662

:CPRACE_49795
if 
  $2304[13] == 0
goto_if_false @CPRACE_49847
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[13] = 1

:CPRACE_49847
goto @CPRACE_50662

:CPRACE_49854
if 
  $2304[14] == 0
goto_if_false @CPRACE_49906
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[14] = 1

:CPRACE_49906
goto @CPRACE_50662

:CPRACE_49913
if 
  $2304[15] == 0
goto_if_false @CPRACE_49965
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[15] = 1

:CPRACE_49965
goto @CPRACE_50662

:CPRACE_49972
if 
  $2304[16] == 0
goto_if_false @CPRACE_50024
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[16] = 1

:CPRACE_50024
goto @CPRACE_50662

:CPRACE_50031
if 
  $2304[17] == 0
goto_if_false @CPRACE_50083
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[17] = 1

:CPRACE_50083
goto @CPRACE_50662

:CPRACE_50090
if 
  $2304[18] == 0
goto_if_false @CPRACE_50142
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[18] = 1

:CPRACE_50142
goto @CPRACE_50662

:CPRACE_50149
if 
  $2304[19] == 0
goto_if_false @CPRACE_50201
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[19] = 1

:CPRACE_50201
goto @CPRACE_50662

:CPRACE_50208
if 
  $2304[20] == 0
goto_if_false @CPRACE_50260
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[20] = 1

:CPRACE_50260
goto @CPRACE_50662

:CPRACE_50267
if 
  $2304[21] == 0
goto_if_false @CPRACE_50319
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[21] = 1

:CPRACE_50319
goto @CPRACE_50662

:CPRACE_50326
if 
  $2304[22] == 0
goto_if_false @CPRACE_50378
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[22] = 1

:CPRACE_50378
goto @CPRACE_50662

:CPRACE_50385
if 
  $2304[23] == 0
goto_if_false @CPRACE_50437
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[23] = 1

:CPRACE_50437
goto @CPRACE_50662

:CPRACE_50444
if 
  $2304[24] == 0
goto_if_false @CPRACE_50496
Stat.PlayerMadeProgress(1)
$cat_otb_banter += 1
gosub @CPRACE_50664
Stat.RegisterMissionPassed(85@($356,30s))
$2304[24] = 1

:CPRACE_50496
goto @CPRACE_50662

:CPRACE_50503
if 
  $2304[25] == 0
goto_if_false @CPRACE_50579
start_new_script @CASHWIN 10000 5000 
Player.AddScore($statbike_temp, 10000)
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('STAD_03')
CarGenerator.Switch($steal_car_cargen1, 101)
CarGenerator.Switch($steal_car_cargen2, 101)
$2304[25] = 1

:CPRACE_50579
goto @CPRACE_50662

:CPRACE_50586
if 
  $2304[26] == 0
goto_if_false @CPRACE_50655
start_new_script @CASHWIN 25000 5000 
Player.AddScore($statbike_temp, 25000)
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('STAD_01')
CarGenerator.Switch($steal_car_cargen3, 101)
$2304[26] = 1

:CPRACE_50655
goto @CPRACE_50662

:CPRACE_50662
return 

:CPRACE_50664
if 
  is_int_var_equal_to_int_lvar $cat_otb_banter == 208@
goto_if_false @CPRACE_50743
if 
  $hm5_car_gen == 0
goto_if_false @CPRACE_50736
start_new_script @CASHWIN 1000000 5000 45 
Player.AddScore($statbike_temp, 1000000)
$hm5_car_gen = 1

:CPRACE_50736
goto @CPRACE_50765

:CPRACE_50743
start_new_script @CASHWIN 10000 5000 
Player.AddScore($statbike_temp, 10000)

:CPRACE_50765
return 

:CPRACE_50767
254@ = 0

:CPRACE_50774
255@ = Math.RandomIntInRange(0, 5)
switch_start 255@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CPRACE_51076 {caseNum1} 0 {caseLabel1} @CPRACE_50846 {caseNum2} 1 {caseLabel2} @CPRACE_50891 {caseNum3} 2 {caseLabel3} @CPRACE_50940 {caseNum4} 3 {caseLabel4} @CPRACE_50985 {caseNum5} 4 {caseLabel5} @CPRACE_51029 {caseNum6} -1 {caseLabel6} @CPRACE_51076 {caseNum7} -1 {caseLabel7} @CPRACE_51076

:CPRACE_50846
Task.PlayAnim(-1, "RIOT_CHANT", "RIOT", 4.0, True, False, False, False, 2700)
goto @CPRACE_51076

:CPRACE_50891
Task.PlayAnim(-1, "RIOT_CHALLENGE", "RIOT", 4.0, True, False, False, False, 2000)
goto @CPRACE_51076

:CPRACE_50940
Task.PlayAnim(-1, "RIOT_SHOUT", "RIOT", 4.0, True, False, False, False, 2000)
goto @CPRACE_51076

:CPRACE_50985
Task.PlayAnim(-1, "RIOT_FUKU", "RIOT", 4.0, True, False, False, False, 3000)
goto @CPRACE_51076

:CPRACE_51029
Task.PlayAnim(-1, "RIOT_PUNCHES", "RIOT", 4.0, True, False, False, False, 2200)
goto @CPRACE_51076

:CPRACE_51076
254@ += 1
  254@ >= 7
goto_if_false @CPRACE_50774
return 

:CPRACE_51099
if 
  225@ == 0
goto_if_false @CPRACE_51296
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @CPRACE_51296
if 
  is_int_var_greater_than_int_lvar $RStickY > 226@
goto_if_false @CPRACE_51296
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
227@ = Math.RandomIntInRange(0, 4)
switch_start 227@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @CPRACE_51289 {caseNum1} 0 {caseLabel1} @CPRACE_51227 {caseNum2} 1 {caseLabel2} @CPRACE_51243 {caseNum3} 2 {caseLabel3} @CPRACE_51259 {caseNum4} 3 {caseLabel4} @CPRACE_51275 {caseNum5} -1 {caseLabel5} @CPRACE_51289 {caseNum6} -1 {caseLabel6} @CPRACE_51289 {caseNum7} -1 {caseLabel7} @CPRACE_51289

:CPRACE_51227
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 36200)
goto @CPRACE_51289

:CPRACE_51243
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 36202)
goto @CPRACE_51289

:CPRACE_51259
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 36205)
goto @CPRACE_51289

:CPRACE_51275
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1827)
goto @CPRACE_51289

:CPRACE_51289
225@ += 1

:CPRACE_51296
if 
  225@ == 1
goto_if_false @CPRACE_51404
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @CPRACE_51404
if 
  227@ == 3
goto_if_false @CPRACE_51374
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1164)
goto @CPRACE_51378

:CPRACE_51374
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)

:CPRACE_51378
226@ = Math.RandomIntInRange(2000, 10000)
add_int_var_to_int_lvar 226@ += $RStickY
225@ = 0

:CPRACE_51404
return 
return 
return 
47@ = 0.0
47@ = 0.0
47@ = 0.0
return 
return 
return 

:CPRACE_51446
if or
  53@ == 0
  53@ == 1
  53@ == 3
goto_if_false @CPRACE_51970
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CPRACE_51970
if 
  53@ == 3
goto_if_false @CPRACE_51635
if 
  $356 == 25
goto_if_false @CPRACE_51570
$on_footY = 2693.184
$on_footZ = -1699.655
$in_carX = 9.3891
$on_footX = 34.2987

:CPRACE_51570
if 
  $356 == 26
goto_if_false @CPRACE_51628
$on_footY = 1101.781
$on_footZ = 1604.578
$in_carX = 11.5506
$on_footX = 353.1771

:CPRACE_51628
goto @CPRACE_51882

:CPRACE_51635
if 
  $2213 == 0
goto_if_false @CPRACE_51697
set_var_float_to_var_float $on_footY = $traceY($2213,4f)
set_var_float_to_var_float $on_footZ = $traceZ($2213,4f)
$on_footZ += 4.0
$on_footX = 180.0

:CPRACE_51697
if 
  $2213 == 1
goto_if_false @CPRACE_51759
set_var_float_to_var_float $on_footY = $traceY($2213,4f)
$on_footY += 4.0
set_var_float_to_var_float $on_footZ = $traceZ($2213,4f)
$on_footX = 90.0

:CPRACE_51759
if or
  $2213 == 2
  $2213 == 3
goto_if_false @CPRACE_51828
set_var_float_to_var_float $on_footY = $traceY($2213,4f)
$on_footY += 4.0
set_var_float_to_var_float $on_footZ = $traceZ($2213,4f)
$on_footX = 90.0

:CPRACE_51828
if 
  53@ <> 1
goto_if_false @CPRACE_51870
set_var_float_to_var_float $on_footY = $traceY($2213,4f)
set_var_float_to_var_float $on_footZ = $traceZ($2213,4f)

:CPRACE_51870
set_var_float_to_var_float $in_carX = $scrashX($2213,4f)

:CPRACE_51882
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)
Char.SetHeading($stattreadstamina_ctr, $on_footX)
World.ClearArea($on_footY, $on_footZ, $in_carX, 0.5, False)
Streaming.RequestCollision($on_footY, $on_footZ)
Streaming.LoadScene($on_footY, $on_footZ, $in_carX)
Weather.SetToAppropriateTypeNow
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(2000, Fade.In)
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:CPRACE_51970
253@ = 0

:CPRACE_51977
if 
  is_int_lvar_greater_than_int_lvar 256@ > 253@
goto_if_false @CPRACE_52097
if 
  not is_int_lvar_equal_to_int_lvar 253@ == 442@
goto_if_false @CPRACE_52056
if 
  not is_int_lvar_equal_to_int_var 395@(253@,16i) == $stattreadstamina_ctr
goto_if_false @CPRACE_52056
Car.MarkAsNoLongerNeeded(379@(253@,16i))
Char.MarkAsNoLongerNeeded(395@(253@,16i))

:CPRACE_52056
Streaming.MarkModelAsNoLongerNeeded(700@(253@,16i))
Streaming.MarkModelAsNoLongerNeeded(716@(253@,16i))
Blip.Remove(412@(253@,16i))
253@ += 1
goto @CPRACE_51977

:CPRACE_52097
Char.RemoveElegantly(411@)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
if 
  $flag_returned_shoehorses > 0
goto_if_false @CPRACE_52135
$flag_returned_shoehorses = 6

:CPRACE_52135
Char.MarkAsNoLongerNeeded(411@)
Char.MarkAsNoLongerNeeded(429@)
253@ = 0

:CPRACE_52152
if 
  11 > 253@
goto_if_false @CPRACE_52189
Char.MarkAsNoLongerNeeded(441@)
253@ += 1
goto @CPRACE_52152

:CPRACE_52189
if 
  $356 == 23
goto_if_false @CPRACE_52232
if 
  $d5_bronze_generator_unlocked == 1
goto_if_false @CPRACE_52232
CarGenerator.Switch($5193[1], 101)

:CPRACE_52232
Blip.Remove(54@)
Checkpoint.Delete(449@)
Object.Delete(430@)
Hud.ClearTimer($l1f2_sweet_health)
Streaming.RemoveAnimation("RIOT")
Streaming.RemoveAnimation("CAR")
Text.UseCommands(False)
Text.SetMessageFormatting(False, 380, 464)
World.SetCarDensityMultiplier(1.0)
World.DisableAllEntryExits(False)
Hud.DisplayRadar(True)
Hud.DisplayCarNames(True)
Hud.DisplayZoneNames(True)
Game.HideAllFrontendBlips(False)
Game.SetIsInStadium(False)
Hud.Display(True)
World.ClearExtraColors(False)
Text.SetHelpMessageBoxSize(200)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CPRACE_52348
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:CPRACE_52348
$cammy_off_Z = 0
$cs1_race_is_go = 0
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 36---------------
// Originally: Lowrider (High Stakes)

:CESAR1
script_name 'CESAR1'
gosub @CESAR1_1165
if 
  has_deatharrest_been_executed 
goto_if_false @CESAR1_38
gosub @CESAR1_4957

:CESAR1_38
gosub @CESAR1_5008
terminate_this_script 

:CESAR1_47
Streaming.RequestModel(114)
Streaming.RequestModel(534)
Streaming.RequestModel(517)
Streaming.RequestModel(567)
Streaming.RequestModel(536)
Streaming.LoadAllModelsNow

:CESAR1_73
if or
  not Streaming.HasModelLoaded(114)
  not Streaming.HasModelLoaded(534)
  not Streaming.HasModelLoaded(517)
  not Streaming.HasModelLoaded(567)
  not Streaming.HasModelLoaded(536)
goto_if_false @CESAR1_119
wait 0
goto @CESAR1_73

:CESAR1_119
Streaming.LoadSpecialCharacter(1, 'CESAR')
Streaming.LoadSpecialCharacter(2, 'KENDL')
Streaming.LoadAllModelsNow

:CESAR1_147
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
goto_if_false @CESAR1_177
wait 0
goto @CESAR1_147

:CESAR1_177
return 
116@ = Blip.AddForCar($flag_bikeschool_passed_1stime)
return 
42@ = Blip.AddForCoord($bcrash_contact_blip, $bcesar_contact_blip, $truth_contact_blip)

:CESAR1_203
Streaming.RequestCarRecording(172)

:CESAR1_208
if 
  not Streaming.HasCarRecordingBeenLoaded(172)
goto_if_false @CESAR1_235
wait 0
goto @CESAR1_208

:CESAR1_235
128@ = 1793.687
129@ = -2138.686
130@ = 12.5547
131@ = 0.1899
World.ClearArea(128@, 129@, 130@, 20.5, True)
Car.CustomPlateForNextCar(567, "_LVA4L__")
125@ = Car.Create(567, 128@, 129@, 130@)
Car.SetLoadCollisionFlag(125@, False)
CarGenerator.SuppressCarModel(567)
Car.ChangeColor(125@, 3, 3)
123@ = Char.CreateInsideCar(125@, PedType.CivMale, 290)
127@ = Char.CreateAsPassenger(125@, PedType.CivFemale, 291, 0)
Car.SetHeading(125@, 131@)
Car.SetCruiseSpeed(125@, 35.0)
Car.SetDrivingStyle(125@, DrivingMode.PloughThrough)
Car.SetHeavy(125@, True)
Car.LockDoors(125@, CarLock.LockoutPlayerOnly)
Car.SetProofs(125@, True, True, True, True, True)
Car.SetCanBurstTires(125@, False)
Char.SetProofs(123@, True, True, True, True, True)
Char.SetProofs(127@, True, True, True, True, True)
Char.SetCanBeShotInVehicle(123@, False)
Char.SetCanBeShotInVehicle(127@, False)
return 
126@ = Blip.AddForCar(125@)

:CESAR1_489
142@ = 1492.304
146@ = -1869.023
150@ = 12.3828
154@ = 90.0
World.ClearArea(142@, 146@, 150@, 2.5, True)
138@ = Car.Create(517, 142@, 146@, 150@)
Car.SetLoadCollisionFlag(138@, False)
Car.ChangeColor(138@, 6, 0)
Car.SetHeading(138@, 154@)
134@ = Char.CreateInsideCar(138@, PedType.Gang8, 114)
Char.SetProofs(134@, True, True, True, True, True)
Car.SetCruiseSpeed(138@, 35.0)
Car.SetDrivingStyle(138@, DrivingMode.PloughThrough)
Car.LockDoors(138@, CarLock.LockoutPlayerOnly)
Car.SetProofs(138@, True, True, True, False, True)
Car.SetCanBurstTires(138@, False)
143@ = 1492.304
147@ = -1875.023
151@ = 12.3828
155@ = 90.0
World.ClearArea(143@, 147@, 151@, 2.5, True)
139@ = Car.Create(534, 143@, 147@, 151@)
Car.SetLoadCollisionFlag(139@, False)
CarGenerator.SuppressCarModel(534)
Car.ChangeColor(139@, 8, 0)
Car.SetHeading(139@, 155@)
135@ = Char.CreateInsideCar(139@, PedType.Gang8, 114)
Char.SetProofs(135@, True, True, True, True, True)
Car.SetCruiseSpeed(139@, 35.0)
Car.SetDrivingStyle(139@, DrivingMode.PloughThrough)
Car.LockDoors(139@, CarLock.LockoutPlayerOnly)
Car.SetProofs(139@, True, True, True, True, True)
Car.SetCanBurstTires(139@, False)
144@ = 1504.304
148@ = -1869.023
152@ = 12.3828
156@ = 90.0
World.ClearArea(144@, 148@, 152@, 2.5, True)
140@ = Car.Create(517, 144@, 148@, 152@)
Car.SetLoadCollisionFlag(140@, False)
CarGenerator.SuppressCarModel(517)
Car.ChangeColor(140@, 2, 1)
Car.SetHeading(140@, 156@)
136@ = Char.CreateInsideCar(140@, PedType.Gang8, 114)
Char.SetProofs(136@, True, True, True, True, True)
Car.SetCruiseSpeed(140@, 35.0)
Car.SetDrivingStyle(140@, DrivingMode.PloughThrough)
Car.LockDoors(140@, CarLock.LockoutPlayerOnly)
Car.SetProofs(140@, True, True, True, True, True)
Car.SetCanBurstTires(140@, False)
145@ = 1504.304
149@ = -1875.023
153@ = 12.3828
157@ = 90.0
World.ClearArea(145@, 149@, 153@, 2.5, True)
141@ = Car.Create(536, 145@, 149@, 153@)
Car.SetLoadCollisionFlag(141@, False)
Car.SetHeading(141@, 157@)
137@ = Char.CreateInsideCar(141@, PedType.Gang8, 114)
Car.SetCruiseSpeed(141@, 35.0)
Car.SetDrivingStyle(141@, DrivingMode.PloughThrough)
Car.LockDoors(141@, CarLock.LockoutPlayerOnly)
Car.SetProofs(141@, True, True, True, True, True)
Car.SetCanBurstTires(141@, False)
return 

:CESAR1_1165
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
Text.LoadMissionText('CESAR1')
Player.SetGroupRecruitment($statbike_temp, False)
34@ = 0
35@ = 0
36@ = -1
$hitchX = 0
39@ = 2
38@ = 0
111@ = 0
115@ = 1
113@ = 1
114@ = 2
112@ = 0
40@ = 0
41@ = 4
50@ = 1820.44
51@ = -2117.32
52@ = 13.09
56@ = 1518.304
57@ = -1875.023
58@ = 12.3828
53@ = 1518.304
54@ = -1869.023
55@ = 12.3828
set_lvar_text_label 61@s = 'CES1_AA'
set_lvar_text_label 63@s = 'CES1_AB'
set_lvar_text_label 65@s = 'CES1_AC'
set_lvar_text_label 67@s = 'CES1_AD'
set_lvar_text_label 69@s = 'CES1_BA'
set_lvar_text_label 71@s = 'CES1_BB'
set_lvar_text_label 73@s = 'CES1_BC'
set_lvar_text_label 75@s = 'CES1_BD'
set_lvar_text_label 77@s = 'CES1_CA'
set_lvar_text_label 79@s = 'CES1_CB'
set_lvar_text_label 81@s = 'CES1_CC'
set_lvar_text_label 83@s = 'CES1_CD'
set_lvar_text_label 85@s = 'CES1_CE'
set_lvar_text_label 87@s = 'CES1_CF'
set_lvar_int_to_constant 95@ = 10000
set_lvar_int_to_constant 96@ = 10001
set_lvar_int_to_constant 97@ = 10002
set_lvar_int_to_constant 98@ = 10003
set_lvar_int_to_constant 99@ = 10004
set_lvar_int_to_constant 100@ = 10005
set_lvar_int_to_constant 101@ = 10006
set_lvar_int_to_constant 102@ = 10007
set_lvar_int_to_constant 103@ = 10008
set_lvar_int_to_constant 104@ = 10009
set_lvar_int_to_constant 105@ = 10010
set_lvar_int_to_constant 106@ = 10011
set_lvar_int_to_constant 107@ = 10012
set_lvar_int_to_constant 108@ = 10013
World.SetCarDensityMultiplier(0.0)
$flag_bikeschool_passed_1stime = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetCoordinates($flag_bikeschool_passed_1stime, $bcrash_contact_blip, $bcesar_contact_blip, $truth_contact_blip)
Car.SetHeading($flag_bikeschool_passed_1stime, 270.0)
World.ClearArea(1796.0, -2118.0, 14.0, 25.0, True)
Cutscene.Load('CESAR1A')

:CESAR1_1759
if 
  not Cutscene.HasLoaded
goto_if_false @CESAR1_1783
wait 0
goto @CESAR1_1759

:CESAR1_1783
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CESAR1_1792
if 
  not Cutscene.HasFinished
goto_if_false @CESAR1_1816
wait 0
goto @CESAR1_1792

:CESAR1_1816
Camera.DoFade(0, Fade.Out)

:CESAR1_1822
if 
  Camera.GetFadingStatus
goto_if_false @CESAR1_1846
wait 0
goto @CESAR1_1822

:CESAR1_1846
Cutscene.Clear
World.ClearArea(1796.0, -2118.0, 14.0, 15.0, True)
World.SetCarDensityMultiplier(0.5)
gosub @CESAR1_47
Camera.SetFadingColor(0, 0, 0)
46@ = Clock.GetGameTimer()
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, False)

:CESAR1_1908
wait 0
if 
  111@ <> 0
goto_if_false @CESAR1_2251
if 
  112@ == 0
goto_if_false @CESAR1_1976
if 
  Audio.HasMissionAudioLoaded(114@)
goto_if_false @CESAR1_1969
Audio.ClearMissionAudio(114@)

:CESAR1_1969
112@ = 1

:CESAR1_1976
if 
  112@ == 1
goto_if_false @CESAR1_2013
Audio.LoadMissionAudio(113@, 94@(111@,17i))
112@ = 2

:CESAR1_2013
if 
  112@ == 2
goto_if_false @CESAR1_2073
if 
  Audio.HasMissionAudioLoaded(113@)
goto_if_false @CESAR1_2073
Audio.PlayMissionAudio(113@)
Text.PrintNow(59@(111@,17s), 10000, 1)
112@ = 3

:CESAR1_2073
if 
  112@ == 3
goto_if_false @CESAR1_2251
if 
  Audio.HasMissionAudioFinished(113@)
goto_if_false @CESAR1_2190
Text.ClearThisPrint(59@(111@,17s))
if 
  113@ == 1
goto_if_false @CESAR1_2155
113@ = 2
114@ = 1
goto @CESAR1_2169

:CESAR1_2155
113@ = 1
114@ = 2

:CESAR1_2169
111@ = 0
112@ = 0
goto @CESAR1_2251

:CESAR1_2190
if 
  not Audio.HasMissionAudioLoaded(114@)
goto_if_false @CESAR1_2251
if 
  60 > 111@
goto_if_false @CESAR1_2251
set_lvar_int_to_lvar_int 115@ = 111@
115@ += 1
Audio.LoadMissionAudio(114@, 94@(115@,17i))

:CESAR1_2251
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CESAR1_2280
$introZ += 1
goto @CESAR1_4999

:CESAR1_2280
if 
  34@ > 0
goto_if_false @CESAR1_2305
gosub @CESAR1_5106

:CESAR1_2305
if and
  34@ > 0
  666 > 34@
goto_if_false @CESAR1_2370
if 
  Car.IsDead(125@)
goto_if_false @CESAR1_2370
Text.PrintNow('CES1_09', 7000, 1)
goto @CESAR1_4957

:CESAR1_2370
if 
  34@ == 0
goto_if_false @CESAR1_3200
if 
  36@ == -1
goto_if_false @CESAR1_2481
if and
  not Car.IsDead($flag_bikeschool_passed_1stime)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CESAR1_2481
Char.WarpIntoCar($stattreadstamina_ctr, $flag_bikeschool_passed_1stime)
Text.ClearPrints
43@ = Clock.GetGameTimer()
gosub @CESAR1_203
Hud.SwitchWidescreen(True)
Camera.DoFade(500, Fade.In)
Camera.DoFade(500, Fade.In)
Camera.DoFade(500, Fade.In)
36@ = 0

:CESAR1_2481
if 
  36@ == 0
goto_if_false @CESAR1_2736
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead($flag_bikeschool_passed_1stime)
goto_if_false @CESAR1_2736
if 
  Char.IsInCar($stattreadstamina_ctr, $flag_bikeschool_passed_1stime)
goto_if_false @CESAR1_2736
if and
  not Char.IsDead(123@)
  not Car.IsDead(125@)
goto_if_false @CESAR1_2736
44@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 45@ = 44@
sub_int_lvar_from_int_lvar 45@ -= 43@
if and
  not Char.IsDead(123@)
  not Char.IsDead(127@)
goto_if_false @CESAR1_2736
Char.SetProofs(123@, True, True, True, True, True)
Char.SetProofs(127@, True, True, True, True, True)
Char.SetCanBeShotInVehicle(123@, False)
Char.SetCanBeShotInVehicle(127@, False)
if 
  not Car.IsDead(125@)
goto_if_false @CESAR1_2670
Car.StartPlayback(125@, 172)

:CESAR1_2670
Camera.SetFixedPosition(1786.331, -2120.066, 12.8592, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1787.309, -2120.129, 13.0548, SwitchType.JumpCut)
117@ = Car.GetHealth($flag_bikeschool_passed_1stime)
36@ = 2

:CESAR1_2736
if and
  not Char.IsDead(123@)
  not Car.IsDead(125@)
goto_if_false @CESAR1_3200
if 
  36@ == 1
goto_if_false @CESAR1_2881
if 
  Char.LocateInCar3D(123@, 1802.126, -2110.103, 12.3902, 4.0, 4.0, 4.0, False)
goto_if_false @CESAR1_2881
Camera.SetFixedPosition(1825.202, -2100.55, 18.3156, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1824.693, -2101.373, 18.0676, SwitchType.JumpCut)
36@ = 2

:CESAR1_2881
if 
  36@ == 2
goto_if_false @CESAR1_3168
if 
  not Car.IsDead(125@)
goto_if_false @CESAR1_3168
if 
  Char.IsInCar(123@, 125@)
goto_if_false @CESAR1_3168
if 
  Char.LocateInCar3D(123@, 50@, 51@, 52@, 25.0, 25.0, 25.0, False)
goto_if_false @CESAR1_3168
if 
  not Car.IsPlaybackGoingOn(125@)
goto_if_false @CESAR1_3168
49@ = Sequence.Open()
Task.CarDriveToCoord(-1, 125@, 1533.008, -1877.243, 12.3828, 20.0, DriveMode.Accurate, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 125@, 53@, 54@, 55@, 12.0, DriveMode.Accurate, 0, DrivingMode.AvoidCars)
Sequence.Close(49@)
Char.PerformSequence(123@, 49@)
StuckCarCheck.AddWithWarp(125@, 1.0, 2000, True, True, True, 2)
Blip.Remove(126@)
126@ = Blip.AddForCar(125@)
Blip.SetAsFriendly(126@, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
35@ = 1
Text.PrintNow('CES1_04', 5000, 2)
39@ = 2
46@ = Clock.GetGameTimer()
36@ = 3

:CESAR1_3168
if 
  36@ == 3
goto_if_false @CESAR1_3200
gosub @CESAR1_489
34@ = 1

:CESAR1_3200
if 
  34@ == 1
goto_if_false @CESAR1_4924
if 
  36@ == 3
goto_if_false @CESAR1_3340
46@ = Clock.GetGameTimer()
if 
  not Char.IsDead(134@)
goto_if_false @CESAR1_3264
Char.SetCanBeShotInVehicle(134@, False)

:CESAR1_3264
if 
  not Char.IsDead(135@)
goto_if_false @CESAR1_3287
Char.SetCanBeShotInVehicle(135@, False)

:CESAR1_3287
if 
  not Char.IsDead(136@)
goto_if_false @CESAR1_3310
Char.SetCanBeShotInVehicle(136@, False)

:CESAR1_3310
if 
  not Char.IsDead(137@)
goto_if_false @CESAR1_3333
Char.SetCanBeShotInVehicle(137@, False)

:CESAR1_3333
36@ = 4

:CESAR1_3340
if 
  36@ == 4
goto_if_false @CESAR1_4776
if 
  not Car.IsDead($flag_bikeschool_passed_1stime)
goto_if_false @CESAR1_4776
if and
  not Char.IsDead(123@)
  not Car.IsDead(125@)
goto_if_false @CESAR1_3883
37@ = Char.GetScriptTaskStatus(123@, 1489)
if 
  is_int_lvar_equal_to_constant 37@ == 7
goto_if_false @CESAR1_3445
if 
  Car.DoesHaveStuckCarCheck(125@)
goto_if_false @CESAR1_3445
StuckCarCheck.Remove(125@)

:CESAR1_3445
if 
  not Char.LocateInCar3D(123@, 53@, 54@, 55@, 20.0, 20.0, 20.0, False)
goto_if_false @CESAR1_3627
119@, 120@, 121@ = Car.GetCoordinates($flag_bikeschool_passed_1stime)
128@, 129@, 130@ = Car.GetCoordinates(125@)
132@ = Math.GetDistanceBetweenCoords2D(119@, 120@, 128@, 129@)
133@ = 1000.0
div_float_lvar_by_float_lvar 133@ /= 132@
if 
  133@ > 30.0
goto_if_false @CESAR1_3581
133@ = 30.0

:CESAR1_3581
if 
  12.0 > 133@
goto_if_false @CESAR1_3612
133@ = 12.0

:CESAR1_3612
Car.SetCruiseSpeed(125@, 133@)
goto @CESAR1_3637

:CESAR1_3627
Car.SetCruiseSpeed(125@, 12.0)

:CESAR1_3637
if 
  38@ == 0
goto_if_false @CESAR1_3746
if 
  Char.LocateInCar3D(123@, 53@, 54@, 55@, 10.0, 10.0, 10.0, False)
goto_if_false @CESAR1_3746
Blip.Remove(126@)
124@ = Blip.AddForCoord(56@, 57@, 58@)
Text.PrintNow('CES1_05', 10000, 1)
39@ = 5
38@ = 1

:CESAR1_3746
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 123@, 15.0, 15.0, 15.0, False)
goto_if_false @CESAR1_3883
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 123@, 10.0, 10.0, 10.0, False)
goto_if_false @CESAR1_3883
if 
  39@ == 0
goto_if_false @CESAR1_3883
if 
  4 > 40@
goto_if_false @CESAR1_3883
46@ = Clock.GetGameTimer()
39@ = 1
Text.ClearPrints
set_var_int_to_lvar_int $bc1_stage = 40@
40@ += 1

:CESAR1_3883
118@ = Car.GetHealth($flag_bikeschool_passed_1stime)
if 
  is_int_lvar_greater_than_int_lvar 117@ > 118@
goto_if_false @CESAR1_4053
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 123@, 15.0, 15.0, 15.0, False)
goto_if_false @CESAR1_4053
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 123@, 10.0, 10.0, 10.0, False)
goto_if_false @CESAR1_4053
if 
  39@ == 0
goto_if_false @CESAR1_4053
if 
  8 > 41@
goto_if_false @CESAR1_4053
set_lvar_int_to_lvar_int 117@ = 118@
46@ = Clock.GetGameTimer()
39@ = 1
set_var_int_to_lvar_int $bc1_stage = 41@
41@ += 1

:CESAR1_4053
if 
  39@ == 1
goto_if_false @CESAR1_4652
if 
  $bc1_stage == 0
goto_if_false @CESAR1_4133
if and
  112@ == 0
  111@ == 0
goto_if_false @CESAR1_4133
111@ = 1
46@ = Clock.GetGameTimer()
39@ = 2

:CESAR1_4133
if 
  $bc1_stage == 1
goto_if_false @CESAR1_4195
if and
  112@ == 0
  111@ == 0
goto_if_false @CESAR1_4195
111@ = 2
46@ = Clock.GetGameTimer()
39@ = 2

:CESAR1_4195
if 
  $bc1_stage == 2
goto_if_false @CESAR1_4257
if and
  112@ == 0
  111@ == 0
goto_if_false @CESAR1_4257
111@ = 3
46@ = Clock.GetGameTimer()
39@ = 2

:CESAR1_4257
if 
  $bc1_stage == 3
goto_if_false @CESAR1_4319
if and
  112@ == 0
  111@ == 0
goto_if_false @CESAR1_4319
111@ = 4
46@ = Clock.GetGameTimer()
39@ = 2

:CESAR1_4319
if 
  $bc1_stage == 4
goto_if_false @CESAR1_4381
if and
  112@ == 0
  111@ == 0
goto_if_false @CESAR1_4381
111@ = 5
46@ = Clock.GetGameTimer()
39@ = 2

:CESAR1_4381
if 
  $bc1_stage == 5
goto_if_false @CESAR1_4443
if and
  112@ == 0
  111@ == 0
goto_if_false @CESAR1_4443
111@ = 6
46@ = Clock.GetGameTimer()
39@ = 2

:CESAR1_4443
if 
  $bc1_stage == 6
goto_if_false @CESAR1_4505
if and
  112@ == 0
  111@ == 0
goto_if_false @CESAR1_4505
111@ = 7
46@ = Clock.GetGameTimer()
39@ = 2

:CESAR1_4505
if 
  $bc1_stage == 7
goto_if_false @CESAR1_4567
if and
  112@ == 0
  111@ == 0
goto_if_false @CESAR1_4567
111@ = 8
46@ = Clock.GetGameTimer()
39@ = 2

:CESAR1_4567
if 
  $bc1_stage == 8
goto_if_false @CESAR1_4652
Text.PrintNow('CES1_04', 100, 1)
47@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 48@ = 47@
sub_int_lvar_from_int_lvar 48@ -= 46@
if 
  48@ > 5000
goto_if_false @CESAR1_4652
46@ = Clock.GetGameTimer()
39@ = 2

:CESAR1_4652
if 
  39@ == 2
goto_if_false @CESAR1_4776
47@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 48@ = 47@
sub_int_lvar_from_int_lvar 48@ -= 46@
if 
  48@ > 6000
goto_if_false @CESAR1_4776
if and
  not Car.IsDead(138@)
  not Car.IsDead(139@)
  not Car.IsDead(140@)
  not Car.IsDead(141@)
goto_if_false @CESAR1_4769
Car.FreezePosition(138@, True)
Car.FreezePosition(139@, True)
Car.FreezePosition(140@, True)
Car.FreezePosition(141@, True)

:CESAR1_4769
39@ = 0

:CESAR1_4776
if and
  not Car.IsDead(125@)
  not Char.IsDead(123@)
goto_if_false @CESAR1_4924
if and
  not Car.IsDead($flag_bikeschool_passed_1stime)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CESAR1_4924
if 
  Char.IsInCar($stattreadstamina_ctr, $flag_bikeschool_passed_1stime)
goto_if_false @CESAR1_4924
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 56@, 57@, 58@, 4.0, 4.0, 4.0, True)
goto_if_false @CESAR1_4924
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:CESAR1_4893
if 
  Camera.GetFadingStatus
goto_if_false @CESAR1_4917
wait 0
goto @CESAR1_4893

:CESAR1_4917
goto @CESAR1_4999

:CESAR1_4924
if 
  34@ == 666
goto_if_false @CESAR1_4950
goto @CESAR1_4957

:CESAR1_4950
goto @CESAR1_1908

:CESAR1_4957
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(114)
Streaming.MarkModelAsNoLongerNeeded(517)
Streaming.MarkModelAsNoLongerNeeded(534)
Streaming.MarkModelAsNoLongerNeeded(536)
return 

:CESAR1_4999
$hitchX = 1
return 

:CESAR1_5008
Blip.Remove(116@)
Blip.Remove(126@)
Blip.Remove(124@)
Blip.Remove(42@)
Streaming.MarkModelAsNoLongerNeeded(114)
Car.Delete(125@)
Car.Delete(138@)
Car.Delete(139@)
Car.Delete(140@)
Car.Delete(141@)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
if 
  34@ <> 666
goto_if_false @CESAR1_5104
Camera.DoFade(0, Fade.Out)

:CESAR1_5104
return 

:CESAR1_5106
if 
  Car.IsDead($flag_bikeschool_passed_1stime)
goto_if_false @CESAR1_5146
Text.PrintNow('CES1_08', 5000, 1)
34@ = 666

:CESAR1_5146
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead($flag_bikeschool_passed_1stime)
goto_if_false @CESAR1_5518
if 
  35@ == 1
goto_if_false @CESAR1_5302
if 
  not Char.IsInCar($stattreadstamina_ctr, $flag_bikeschool_passed_1stime)
goto_if_false @CESAR1_5302
if 
  34@ == 1
goto_if_false @CESAR1_5302
if 
  38@ == 0
goto_if_false @CESAR1_5245
Blip.Remove(126@)

:CESAR1_5245
if 
  38@ == 1
goto_if_false @CESAR1_5268
Blip.Remove(124@)

:CESAR1_5268
39@ = 10
Blip.Remove(116@)
116@ = Blip.AddForCar($flag_bikeschool_passed_1stime)
Blip.SetAsFriendly(116@, True)
35@ = 0

:CESAR1_5302
if 
  35@ == 0
goto_if_false @CESAR1_5518
if 
  34@ == 1
goto_if_false @CESAR1_5353
Text.PrintNow('CES1_06', 100, 1)

:CESAR1_5353
if 
  Char.IsInCar($stattreadstamina_ctr, $flag_bikeschool_passed_1stime)
goto_if_false @CESAR1_5518
Text.ClearPrints
if 
  34@ == 1
goto_if_false @CESAR1_5518
if 
  38@ == 0
goto_if_false @CESAR1_5446
if 
  not Car.IsDead(125@)
goto_if_false @CESAR1_5446
Blip.Remove(126@)
126@ = Blip.AddForCar(125@)
Blip.SetAsFriendly(126@, True)

:CESAR1_5446
if 
  38@ == 1
goto_if_false @CESAR1_5499
Blip.Remove(124@)
124@ = Blip.AddForCoord(56@, 57@, 58@)
Text.PrintNow('CES1_05', 10000, 1)

:CESAR1_5499
Blip.Remove(116@)
39@ = 0
35@ = 1

:CESAR1_5518
return 

//-------------Mission 37---------------
// Originally: Reuniting The Families

:DRUGS4
script_name 'DRUGS4'
gosub @DRUGS4_47
if 
  has_deatharrest_been_executed 
goto_if_false @DRUGS4_38
gosub @DRUGS4_67705

:DRUGS4_38
gosub @DRUGS4_67827
terminate_this_script 

:DRUGS4_47
Stat.RegisterMissionGiven
Text.LoadMissionText('LAFIN1')
$weapon_shop1_blip = 1
wait 0
Streaming.SetAreaVisible(1)
Cutscene.Load('FINAL1A')

:DRUGS4_86
if 
  not Cutscene.HasLoaded
goto_if_false @DRUGS4_110
wait 0
goto @DRUGS4_86

:DRUGS4_110
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DRUGS4_119
if 
  not Cutscene.HasFinished
goto_if_false @DRUGS4_143
wait 0
goto @DRUGS4_119

:DRUGS4_143
Cutscene.Clear
Camera.DoFade(0, Fade.Out)

:DRUGS4_151
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS4_175
wait 0
goto @DRUGS4_151

:DRUGS4_175
Streaming.SetAreaVisible(0)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetFadingColor(0, 0, 0)
wait 0
Streaming.LoadScene(2517.237, -1671.341, 12.9)
Weather.ForceNow(WeatherType.SunnyLa)
Streaming.RequestModel(492)
Streaming.RequestModel(107)
Streaming.RequestModel(106)
Streaming.RequestModel(349)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.LoadSpecialCharacter(2, 'SMOKE')
Streaming.LoadSpecialCharacter(3, 'RYDER2')
Streaming.RequestCarRecording(350)
Streaming.RequestModel(353)
Streaming.RequestModel(346)
Streaming.RequestModel(285)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 35803)
Streaming.RequestCarRecording(352)
Streaming.RequestCarRecording(353)
Streaming.LoadAllModelsNow

:DRUGS4_321
if or
  not Streaming.HasModelLoaded(492)
  not Streaming.HasModelLoaded(107)
  not Streaming.HasModelLoaded(106)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_360
wait 0
goto @DRUGS4_321

:DRUGS4_360
if or
  not Streaming.HasModelLoaded(349)
  not Streaming.HasCarRecordingBeenLoaded(350)
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(285)
goto_if_false @DRUGS4_407
wait 0
goto @DRUGS4_360

:DRUGS4_407
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasSpecialCharacterLoaded(3)
  not Streaming.HasCarRecordingBeenLoaded(352)
  not Streaming.HasCarRecordingBeenLoaded(353)
goto_if_false @DRUGS4_451
wait 0
goto @DRUGS4_407

:DRUGS4_451
Game.SetScriptLimitToGangSize(0)
128@ = 0
129@ = 0
130@ = 0
131@ = 0
132@ = 0
133@ = 0
134@ = 0
135@ = 0
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0
143@ = 0
144@ = 0
145@ = 0
146@ = 0
147@ = 0
148@ = 0
149@ = 0
150@ = 0
152@ = 0
153@ = 0
154@ = 0
155@ = 0
156@ = 0
157@ = 0
158@ = 0
159@ = 0
160@ = 0
161@ = 0
162@ = 0
163@ = 0
164@ = 0
165@ = 0
166@ = 0
167@ = 0
168@ = 0
169@ = 0
170@ = 0
171@ = 0
172@ = 0
173@ = 0
174@ = 0
175@ = 0
176@ = 0
177@ = 0
178@ = 0
179@ = 0
180@ = 0
181@ = 0
182@ = 0
151@ = 0
294@ = 0
295@ = 0
296@ = 0
297@ = 0
298@ = 0
299@ = 0
300@ = 0
301@ = 0
302@ = 0
303@ = 0
304@ = 0
305@ = 0
306@ = 0
307@ = 0
308@ = 0
309@ = 0
310@ = 0
311@ = 0
312@ = 0
313@ = 0
314@ = 0
315@ = 0
316@ = 0
317@ = 0
318@ = 0
319@ = 0
320@ = 0
321@ = 0
322@ = 0
323@ = 0
324@ = 0
325@ = 0
326@ = 0
327@ = 0
328@ = 0
329@ = 0
330@ = 0
331@ = 0
55@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.ClearEventResponse(55@, 12)
56@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
57@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
World.ClearArea(2514.316, -1673.395, 150.0, 150.0, True)
Clock.SetTimeOfDay(19, 30)
Char.SetCoordinates($stattreadstamina_ctr, 2517.237, -1671.341, 12.9)
Char.SetHeading($stattreadstamina_ctr, 63.048)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Car.CustomPlateForNextCar(492, "GROVE4L_")
$sweet_carZ = Car.Create(492, 2508.07, -1672.114, 12.0957)
Car.SetCanBeVisiblyDamaged($sweet_carZ, False)
Car.SetHeading($sweet_carZ, 167.195)
Car.SetOnlyDamagedByPlayer($sweet_carZ, True)
183@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(183@, True)
Car.ChangeColor($sweet_carZ, 59, 34)
$big_smoke_car = Char.Create(PedType.Special, 290, 2511.005, -1672.268, 12.493)
Char.SetHeading($big_smoke_car, 62.083)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetOnlyDamagedByPlayer($big_smoke_car, True)
Task.EnterCarAsPassenger($big_smoke_car, $sweet_carZ, 5000, 1)
Char.SetCantBeDraggedOut($big_smoke_car, True)
Char.SetStayInCarWhenJacked($big_smoke_car, True)
Char.SetDecisionMaker($big_smoke_car, 55@)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetSuffersCriticalHits($big_smoke_car, False)
Char.SetGetOutUpsideDownCar($big_smoke_car, False)
$mc_strap = Char.Create(PedType.Special, 291, 2505.318, -1674.747, 12.376)
Char.SetHeading($mc_strap, 356.374)
Char.SetNeverTargeted($mc_strap, True)
Char.SetOnlyDamagedByPlayer($mc_strap, True)
Task.EnterCarAsPassenger($mc_strap, $sweet_carZ, 5000, 0)
Char.SetCantBeDraggedOut($mc_strap, True)
Char.SetStayInCarWhenJacked($mc_strap, True)
Char.SetDecisionMaker($mc_strap, 55@)
Char.SetNeverTargeted($mc_strap, True)
Char.SetSuffersCriticalHits($mc_strap, False)
Char.SetGetOutUpsideDownCar($mc_strap, False)
$sweet_car = Char.Create(PedType.Special, 292, 2506.57, -1667.753, 12.376)
Char.SetHeading($sweet_car, 171.457)
Char.SetNeverTargeted($sweet_car, True)
Char.SetOnlyDamagedByPlayer($sweet_car, True)
Task.EnterCarAsPassenger($sweet_car, $sweet_carZ, 5000, 2)
Char.SetCantBeDraggedOut($sweet_car, True)
Char.SetStayInCarWhenJacked($sweet_car, True)
Char.SetDecisionMaker($sweet_car, 55@)
Char.SetNeverTargeted($sweet_car, True)
Char.SetSuffersCriticalHits($sweet_car, False)
Char.SetGetOutUpsideDownCar($sweet_car, False)
Text.PrintNow('LAF1_1', 10000, 1)
Char.ShutUp($stattreadstamina_ctr, True)
Game.SetWantedMultiplier(0.0)
Game.SetMaxFireGenerations(1)
Path.SwitchRoadsOff(2180.18, -1130.28, 21.2, 2276.82, -1151.26, 28.0)
Path.SwitchPedRoadsOff(2180.18, -1130.28, 21.2, 2276.82, -1151.26, 28.0)
Game.SwitchEmergencyServices(False)
Camera.DoFade(500, Fade.In)

:DRUGS4_1708
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DRUGS4_1734
goto @DRUGS4_67765

:DRUGS4_1734
if 
  129@ == 0
goto_if_false @DRUGS4_1978
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_1978
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_1978
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_1978
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_1978
if 
  Char.IsSittingInCar($big_smoke_car, $sweet_carZ)
goto_if_false @DRUGS4_1978
if 
  Char.IsSittingInCar($sweet_car, $sweet_carZ)
goto_if_false @DRUGS4_1978
if 
  Char.IsSittingInCar($mc_strap, $sweet_carZ)
goto_if_false @DRUGS4_1978
if 
  Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @DRUGS4_1978
Blip.Remove(183@)
184@ = Blip.AddForCoord(2256.239, -1146.909, 25.121)
Audio.SetRadioChannel(RadioChannel.CSR)
Text.PrintNow('LAF1_3', 7000, 1)
World.SwitchEntryExit('MOTEL2', False)
TIMERA = 0
130@ = 1
128@ = 1
129@ = 1

:DRUGS4_1978
if 
  128@ == 1
goto_if_false @DRUGS4_3127
gosub @DRUGS4_66554
if 
  178@ == 0
goto_if_false @DRUGS4_2087
if 
  179@ == 0
goto_if_false @DRUGS4_2087
if 
  TIMERA > 7000
goto_if_false @DRUGS4_2087
set_lvar_int_to_constant 106@ = 15826
set_lvar_text_label 107@s = 'FIN1_GA'
gosub @DRUGS4_66512

:DRUGS4_2087
if 
  178@ == 1
goto_if_false @DRUGS4_2152
if 
  179@ == 0
goto_if_false @DRUGS4_2152
set_lvar_int_to_constant 106@ = 15827
set_lvar_text_label 107@s = 'FIN1_GB'
gosub @DRUGS4_66512

:DRUGS4_2152
if 
  178@ == 2
goto_if_false @DRUGS4_2217
if 
  179@ == 0
goto_if_false @DRUGS4_2217
set_lvar_int_to_constant 106@ = 15828
set_lvar_text_label 107@s = 'FIN1_GC'
gosub @DRUGS4_66512

:DRUGS4_2217
if 
  178@ == 3
goto_if_false @DRUGS4_2282
if 
  179@ == 0
goto_if_false @DRUGS4_2282
set_lvar_int_to_constant 106@ = 15829
set_lvar_text_label 107@s = 'FIN1_GD'
gosub @DRUGS4_66512

:DRUGS4_2282
if 
  178@ == 4
goto_if_false @DRUGS4_2347
if 
  179@ == 0
goto_if_false @DRUGS4_2347
set_lvar_int_to_constant 106@ = 15830
set_lvar_text_label 107@s = 'FIN1_GE'
gosub @DRUGS4_66512

:DRUGS4_2347
if 
  178@ == 5
goto_if_false @DRUGS4_2412
if 
  179@ == 0
goto_if_false @DRUGS4_2412
set_lvar_int_to_constant 106@ = 15832
set_lvar_text_label 107@s = 'FIN1_GG'
gosub @DRUGS4_66512

:DRUGS4_2412
if 
  178@ == 6
goto_if_false @DRUGS4_2477
if 
  179@ == 0
goto_if_false @DRUGS4_2477
set_lvar_int_to_constant 106@ = 15834
set_lvar_text_label 107@s = 'FIN1_GI'
gosub @DRUGS4_66512

:DRUGS4_2477
if 
  178@ == 7
goto_if_false @DRUGS4_2542
if 
  179@ == 0
goto_if_false @DRUGS4_2542
set_lvar_int_to_constant 106@ = 15835
set_lvar_text_label 107@s = 'FIN1_GJ'
gosub @DRUGS4_66512

:DRUGS4_2542
if 
  178@ == 8
goto_if_false @DRUGS4_2607
if 
  179@ == 0
goto_if_false @DRUGS4_2607
set_lvar_int_to_constant 106@ = 15836
set_lvar_text_label 107@s = 'FIN1_GK'
gosub @DRUGS4_66512

:DRUGS4_2607
if 
  178@ == 9
goto_if_false @DRUGS4_2672
if 
  179@ == 0
goto_if_false @DRUGS4_2672
set_lvar_int_to_constant 106@ = 15837
set_lvar_text_label 107@s = 'FIN1_GL'
gosub @DRUGS4_66512

:DRUGS4_2672
if 
  178@ == 10
goto_if_false @DRUGS4_2737
if 
  179@ == 0
goto_if_false @DRUGS4_2737
set_lvar_int_to_constant 106@ = 15838
set_lvar_text_label 107@s = 'FIN1_GM'
gosub @DRUGS4_66512

:DRUGS4_2737
if 
  178@ == 11
goto_if_false @DRUGS4_2802
if 
  179@ == 0
goto_if_false @DRUGS4_2802
set_lvar_int_to_constant 106@ = 15839
set_lvar_text_label 107@s = 'FIN1_GN'
gosub @DRUGS4_66512

:DRUGS4_2802
if 
  178@ == 12
goto_if_false @DRUGS4_2867
if 
  179@ == 0
goto_if_false @DRUGS4_2867
set_lvar_int_to_constant 106@ = 15840
set_lvar_text_label 107@s = 'FIN1_GO'
gosub @DRUGS4_66512

:DRUGS4_2867
if 
  178@ == 13
goto_if_false @DRUGS4_2932
if 
  179@ == 0
goto_if_false @DRUGS4_2932
set_lvar_int_to_constant 106@ = 15841
set_lvar_text_label 107@s = 'FIN1_GP'
gosub @DRUGS4_66512

:DRUGS4_2932
if 
  178@ == 14
goto_if_false @DRUGS4_2997
if 
  179@ == 0
goto_if_false @DRUGS4_2997
set_lvar_int_to_constant 106@ = 15842
set_lvar_text_label 107@s = 'FIN1_GQ'
gosub @DRUGS4_66512

:DRUGS4_2997
if 
  178@ == 15
goto_if_false @DRUGS4_3062
if 
  179@ == 0
goto_if_false @DRUGS4_3062
set_lvar_int_to_constant 106@ = 15843
set_lvar_text_label 107@s = 'FIN1_GR'
gosub @DRUGS4_66512

:DRUGS4_3062
if 
  178@ == 16
goto_if_false @DRUGS4_3127
if 
  179@ == 0
goto_if_false @DRUGS4_3127
set_lvar_int_to_constant 106@ = 15844
set_lvar_text_label 107@s = 'FIN1_GS'
gosub @DRUGS4_66512

:DRUGS4_3127
if or
  128@ == 1
  128@ == 100
goto_if_false @DRUGS4_3375
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_3375
if 
  130@ == 1
goto_if_false @DRUGS4_3259
if 
  not Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @DRUGS4_3259
Blip.Remove(184@)
183@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(183@, True)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SMOX_AD', 2000, 1)
128@ = 100
130@ = 0

:DRUGS4_3259
if 
  130@ == 0
goto_if_false @DRUGS4_3375
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @DRUGS4_3375
Blip.Remove(183@)
184@ = Blip.AddForCoord(2256.239, -1146.909, 25.121)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  178@ > 16
goto_if_false @DRUGS4_3361
Text.PrintNow('LAF1_3', 5000, 1)

:DRUGS4_3361
128@ = 1
130@ = 1

:DRUGS4_3375
if or
  128@ == 0
  128@ == 1
  128@ == 100
goto_if_false @DRUGS4_3495
if or
  Char.IsDead($big_smoke_car)
  Char.IsDead($mc_strap)
  Char.IsDead($sweet_car)
goto_if_false @DRUGS4_3456
Text.PrintNow('LAF1_71', 5000, 1)
goto @DRUGS4_67705

:DRUGS4_3456
if 
  Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_3495
Text.PrintNow('LAF1_72', 5000, 1)
goto @DRUGS4_67705

:DRUGS4_3495
if 
  128@ == 1
goto_if_false @DRUGS4_3712
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_3712
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_3712
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_3712
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_3712
if 
  Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @DRUGS4_3712
if 
  Car.Locate2D($sweet_carZ, 2256.239, -1146.909, 4.4, 4.4, True)
goto_if_false @DRUGS4_3712
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Player.SetControl($statbike_temp, False)
Game.SetMaxWantedLevel(0)
Player.ClearWantedLevel($statbike_temp)
World.ClearArea(2223.769, -1141.832, 200.0, 200.0, True)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Game.SetWantedMultiplier(0.0)
Text.ClearPrints
128@ = 2

:DRUGS4_3712
if 
  128@ == 2
goto_if_false @DRUGS4_4462
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_4462
World.ClearArea(2223.971, -1149.75, 200.0, 200.0, False)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:DRUGS4_3788
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS4_3812
wait 0
goto @DRUGS4_3788

:DRUGS4_3812
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15848)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15849)
Streaming.RequestModel(497)
Streaming.RequestModel(427)
Streaming.RequestAnimation("CAR_CHAT")
Streaming.LoadAllModelsNow

:DRUGS4_3858
if or
  not Streaming.HasModelLoaded(497)
  not Streaming.HasModelLoaded(427)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @DRUGS4_3910
wait 0
goto @DRUGS4_3858

:DRUGS4_3910
34@ = Char.Create(PedType.Mission3, 107, 2220.37, -1160.318, 24.7265)
Char.SetHeading(34@, 272.7973)
Task.PlayAnim(34@, "IDLE_CHAT", "PED", 8.0, True, False, False, False, -1)
Char.SetDecisionMaker(34@, 55@)
Char.SetNeverTargeted(34@, True)
wait 250
35@ = Char.Create(PedType.Mission3, 106, 2221.564, -1160.359, 24.7265)
Char.SetHeading(35@, 85.7682)
Task.PlayAnim(35@, "IDLE_CHAT", "PED", 8.0, True, False, False, False, -1)
Char.SetDecisionMaker(35@, 55@)
Char.SetNeverTargeted(35@, True)
36@ = Char.Create(PedType.Mission3, 106, 2227.224, -1172.07, 24.7265)
Char.SetHeading(36@, 359.1032)
Char.SetDecisionMaker(36@, 55@)
Char.SetNeverTargeted(36@, True)
37@ = Char.Create(PedType.Mission3, 107, 2226.389, -1171.688, 24.7265)
Char.SetHeading(37@, 278.7767)
Task.PlayAnim(37@, "IDLE_CHAT", "PED", 8.0, True, False, False, False, -1)
Char.SetDecisionMaker(37@, 55@)
Char.SetNeverTargeted(37@, True)
Streaming.LoadSceneInDirection(2236.146, -1146.359, 25.4346, 34.0)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_4326
Car.SetIdle($sweet_carZ)
Car.SetCoordinates($sweet_carZ, 2278.411, -1147.018, 25.5)
Car.SetHeading($sweet_carZ, 80.53)
Camera.ResetNewScriptables
Camera.SetFixedPosition(2236.146, -1146.359, 25.4346, 0.0, 0.0, 0.0)

:DRUGS4_4326
Streaming.LoadScene(2226.389, -1171.688, 24.7265)
Camera.DoFade(250, Fade.In)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_4374
Car.StartPlayback($sweet_carZ, 350)

:DRUGS4_4374
Camera.SetVectorMove(2236.146, -1146.359, 25.4346, 2236.146, -1146.359, 25.4346, 2500, True)
Camera.SetVectorTrack(2235.937, -1145.381, 25.444, 2235.365, -1145.735, 25.444, 2500, True)
TIMERA = 0
128@ = 3

:DRUGS4_4462
if 
  128@ == 3
goto_if_false @DRUGS4_4603
if 
  TIMERA > 2500
goto_if_false @DRUGS4_4603
142@ = 0
skip_cutscene_start_internal @DRUGS4_11249
Camera.SetFixedPosition(2220.675, -1161.401, 26.4187, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2220.948, -1160.44, 26.3852, SwitchType.JumpCut)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_4589
Car.PopPanel($sweet_carZ, 4, False)

:DRUGS4_4589
TIMERA = 0
128@ = 4

:DRUGS4_4603
if 
  128@ == 4
goto_if_false @DRUGS4_5171
if 
  TIMERA > 2750
goto_if_false @DRUGS4_5171
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_5171
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_5171
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_5171
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_5171
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_5171
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_5171
if 
  Car.IsPlaybackGoingOn($sweet_carZ)
goto_if_false @DRUGS4_4755
Car.StopPlayback($sweet_carZ)

:DRUGS4_4755
Camera.SetNearClip(0.1)
Car.SetCoordinates($sweet_carZ, 2224.357, -1149.741, 24.8342)
Car.SetHeading($sweet_carZ, 180.1644)
Camera.SetFixedPosition(2224.384, -1150.745, 26.0663, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2224.389, -1149.749, 25.9763, SwitchType.JumpCut)
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC1_FL", "CAR_CHAT", 6.0, False, False, False, False, -1)
Task.PlayAnim($big_smoke_car, "CAR_SC1_BL", "CAR_CHAT", 6.0, False, False, False, False, -1)
Task.PlayAnim($mc_strap, "CAR_SC1_FR", "CAR_CHAT", 6.0, False, False, False, False, -1)
Task.PlayAnim($sweet_car, "CAR_SC1_BR", "CAR_CHAT", 6.0, False, False, False, False, -1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_HA', 5000, 1)
Char.StartFacialTalk($big_smoke_car, 10000)

:DRUGS4_5039
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_5065
wait 0
goto @DRUGS4_5039

:DRUGS4_5065
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_5092
Char.StopFacialTalk($big_smoke_car)

:DRUGS4_5092
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15850)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('FIN1_HB', 5000, 1)
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:DRUGS4_5127
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_5153
wait 0
goto @DRUGS4_5127

:DRUGS4_5153
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Char.StopFacialTalk($stattreadstamina_ctr)
128@ = 5

:DRUGS4_5171
if 
  128@ == 5
goto_if_false @DRUGS4_5322
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_5322
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_5322
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_HC', 5000, 1)
Char.StartFacialTalk($big_smoke_car, 10000)

:DRUGS4_5248
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_5274
wait 0
goto @DRUGS4_5248

:DRUGS4_5274
Text.ClearPrints
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_5297
Char.StopFacialTalk($big_smoke_car)

:DRUGS4_5297
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15851)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15852)
128@ = 6

:DRUGS4_5322
if 
  128@ == 6
goto_if_false @DRUGS4_5438
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_5438
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_5438
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_5438
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_5438
if 
  Char.IsInCar($big_smoke_car, $sweet_carZ)
goto_if_false @DRUGS4_5438
Task.LeaveCar($big_smoke_car, $sweet_carZ)
128@ = 7

:DRUGS4_5438
if 
  128@ == 7
goto_if_false @DRUGS4_5698
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_5698
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_5698
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_5698
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_5698
if 
  not Char.IsSittingInCar($big_smoke_car, $sweet_carZ)
goto_if_false @DRUGS4_5698
Camera.SetNearClip(0.2)
Camera.SetFixedPosition(2223.625, -1146.995, 26.1711, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2224.356, -1147.677, 26.2099, SwitchType.JumpCut)
Path.FlushRoute
Path.ExtendRoute(2230.81, -1159.59, 24.4)
Path.ExtendRoute(2233.75, -1159.83, 25.29)
Task.FollowPointRoute($big_smoke_car, 6, RouteMode.Once)
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC2_FL", "CAR_CHAT", 8.0, False, False, False, True, -1)
TIMERA = 0
128@ = 8

:DRUGS4_5698
if 
  128@ == 8
goto_if_false @DRUGS4_5855
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_5855
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_5855
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_5855
if 
  Char.LocateOnFoot2D($big_smoke_car, 2233.75, -1159.83, 2.8, 2.8, False)
goto_if_false @DRUGS4_5816
128@ = 9
goto @DRUGS4_5855

:DRUGS4_5816
if 
  TIMERA > 10000
goto_if_false @DRUGS4_5855
Char.SetCoordinates($big_smoke_car, 2233.75, -1159.83, 25.29)

:DRUGS4_5855
if 
  128@ == 9
goto_if_false @DRUGS4_6227
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_6227
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_6227
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_6227
Camera.SetNearClip(0.1)
Camera.SetFixedPosition(2225.06, -1148.192, 26.0902, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2224.447, -1148.98, 26.0466, SwitchType.JumpCut)
Char.Delete($big_smoke_car)
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC3_FL", "CAR_CHAT", 4.0, False, False, False, False, -1)
Task.PlayAnim($mc_strap, "CAR_SC3_FR", "CAR_CHAT", 4.0, False, False, False, False, -1)
Task.PlayAnim($sweet_car, "CAR_SC3_BR", "CAR_CHAT", 4.0, False, False, False, False, -1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_HD', 5000, 1)
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_6153
Char.StartFacialTalk($sweet_car, 10000)

:DRUGS4_6153
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_6179
wait 0
goto @DRUGS4_6153

:DRUGS4_6179
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_6200
Char.StopFacialTalk($sweet_car)

:DRUGS4_6200
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15854)
TIMERA = 0
128@ = 10

:DRUGS4_6227
if 
  128@ == 10
goto_if_false @DRUGS4_6418
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_6418
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_6418
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_6418
Camera.SetFixedPosition(2224.392, -1148.606, 25.9857, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2224.396, -1149.605, 25.955, SwitchType.JumpCut)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('FIN1_HE', 5000, 1)
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:DRUGS4_6371
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_6397
wait 0
goto @DRUGS4_6371

:DRUGS4_6397
Text.ClearPrints
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15855)
128@ = 11

:DRUGS4_6418
if 
  128@ == 11
goto_if_false @DRUGS4_6693
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_6693
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_6693
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_6693
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_HG', 5000, 1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_6527
Char.StartFacialTalk($mc_strap, 10000)

:DRUGS4_6527
40@ = Car.Create(497, 2227.03, -1130.199, 25.305)
Car.StartPlayback(40@, 352)
if 
  Car.IsPlaybackGoingOn(40@)
goto_if_false @DRUGS4_6579
Car.PausePlayback(40@)

:DRUGS4_6579
44@ = Char.CreateInsideCar(40@, PedType.Mission4, 285)
Char.SetCanBeShotInVehicle(44@, False)
Car.LockDoors(40@, CarLock.Locked)
Char.SetCantBeDraggedOut(44@, True)
Char.SetDecisionMaker(44@, 55@)
Heli.SetBladesFullSpeed(40@)

:DRUGS4_6626
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_6652
wait 0
goto @DRUGS4_6626

:DRUGS4_6652
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_6673
Char.StopFacialTalk($mc_strap)

:DRUGS4_6673
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15856)
128@ = 12

:DRUGS4_6693
if 
  128@ == 12
goto_if_false @DRUGS4_6835
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_6835
if 
  Car.IsPlaybackGoingOn(40@)
goto_if_false @DRUGS4_6835
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_6835
Camera.SetNearClip(0.2)
Car.UnpausePlayback(40@)
Camera.SetFixedPosition(2182.522, -1083.687, 61.5308, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2182.996, -1084.463, 61.115, SwitchType.JumpCut)
TIMERA = 0
128@ = 13

:DRUGS4_6835
if 
  128@ == 13
goto_if_false @DRUGS4_7098
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_7098
if 
  TIMERA > 3000
goto_if_false @DRUGS4_7098
TIMERA = 0
Camera.SetFixedPosition(2232.178, -1149.902, 33.2809, 0.0, 0.0, 0.0)
Camera.PointAtCar(40@, CameraMode.Fixed, SwitchType.JumpCut)
58@ = Searchlight.CreateOnVehicle(40@, 0.0, 1.0, -0.5, 2228.36, -1171.48, 25.82, 5.0, 0.4)
Searchlight.MoveBetweenCoords(58@, 2228.36, -1171.48, 25.82, 2215.41, -1142.51, 25.5, 0.5)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('FIN1_HH', 5000, 1)

:DRUGS4_7044
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_7070
wait 0
goto @DRUGS4_7044

:DRUGS4_7070
Text.ClearPrints
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15816)
Streaming.RemoveAnimation("CAR_CHAT")
128@ = 14

:DRUGS4_7098
if 
  128@ == 14
goto_if_false @DRUGS4_7325
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_7325
if 
  Car.IsPlaybackGoingOn(40@)
goto_if_false @DRUGS4_7325
if 
  TIMERA > 3000
goto_if_false @DRUGS4_7325
Car.StopPlayback(40@)
Camera.SetFixedPosition(2226.998, -1144.541, 25.3493, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2226.594, -1145.45, 25.4594, SwitchType.JumpCut)
Car.StartPlayback(40@, 353)
if 
  not Char.IsDead(36@)
goto_if_false @DRUGS4_7271
Task.GoStraightToCoord(36@, 2219.71, -1178.52, 25.34, MoveState.Run, -1)

:DRUGS4_7271
if 
  not Char.IsDead(37@)
goto_if_false @DRUGS4_7311
Task.GoStraightToCoord(37@, 2206.65, -1172.63, 25.08, MoveState.Run, -1)

:DRUGS4_7311
TIMERA = 0
128@ = 15

:DRUGS4_7325
if 
  128@ == 15
goto_if_false @DRUGS4_7528
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_7528
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_7528
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRUGS4_7528
if 
  TIMERA > 2000
goto_if_false @DRUGS4_7528
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_7528
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_HI', 5000, 1)
Task.LeaveAnyCar($stattreadstamina_ctr)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_7514
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_7514
Char.ClearLookAt($mc_strap)
Char.ClearLookAt($sweet_car)
Task.LookAtChar($mc_strap, $stattreadstamina_ctr, 15000)
Task.LookAtChar($sweet_car, $stattreadstamina_ctr, 15000)

:DRUGS4_7514
TIMERA = 0
128@ = 16

:DRUGS4_7528
if 
  128@ == 16
goto_if_false @DRUGS4_8140
if 
  TIMERA > 2000
goto_if_false @DRUGS4_8140
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_8140
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_8140
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead(36@)
goto_if_false @DRUGS4_7641
Task.GoStraightToCoord(36@, 2203.25, -1178.87, 25.44, MoveState.Run, -1)

:DRUGS4_7641
if 
  not Char.IsDead(37@)
goto_if_false @DRUGS4_7681
Task.GoStraightToCoord(37@, 2204.15, -1153.74, 25.58, MoveState.Run, -1)

:DRUGS4_7681
Camera.SetFixedPosition(2224.067, -1162.707, 40.9275, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2223.842, -1163.226, 40.103, SwitchType.JumpCut)
Clock.SetTimeScale(0.5)
47@ = Char.CreateSwatRope(PedType.Mission4, 285, 2223.56, -1168.05, 32.28)
Char.GiveWeapon(47@, WeaponType.Mp5, 9999)
Char.SetAccuracy(47@, 30)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('FIN1_CI', 3000, 1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15857)
wait 100
48@ = Char.CreateSwatRope(PedType.Mission4, 285, 2222.63, -1166.01, 32.25)
Char.GiveWeapon(48@, WeaponType.Mp5, 9999)
Char.SetAccuracy(48@, 30)
wait 50
49@ = Char.CreateSwatRope(PedType.Mission4, 285, 2221.58, -1168.9, 32.27)
Char.GiveWeapon(49@, WeaponType.Mp5, 9999)
Char.SetAccuracy(49@, 30)
wait 100
50@ = Char.CreateSwatRope(PedType.Mission4, 285, 2220.74, -1167.28, 32.22)
Char.GiveWeapon(50@, WeaponType.Mp5, 9999)
Char.SetAccuracy(50@, 30)
wait 500
if 
  not Char.IsDead(36@)
goto_if_false @DRUGS4_7985
Char.GiveWeapon(36@, WeaponType.Pistol, 9999)
Task.Duck(36@, 10000)

:DRUGS4_7985
if 
  not Char.IsDead(37@)
goto_if_false @DRUGS4_8036
Char.GiveWeapon(37@, WeaponType.Pistol, 9999)
Task.GoStraightToCoord(37@, 2221.179, -1177.662, 25.767, MoveState.Run, 5000)

:DRUGS4_8036
Camera.SetFixedPosition(2222.396, -1165.563, 24.9959, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2222.316, -1165.83, 25.9562, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 2226.144, -1149.997, 24.8496)
Char.SetHeading($stattreadstamina_ctr, 102.7208)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Shotgun, 60)
TIMERA = 0
128@ = 17

:DRUGS4_8140
if 
  128@ == 17
goto_if_false @DRUGS4_8537
if 
  TIMERA > 1500
goto_if_false @DRUGS4_8537
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_8537
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_8537
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15858)
Clock.SetTimeScale(1.0)
Camera.SetFixedPosition(2222.594, -1150.71, 26.1976, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2223.403, -1150.139, 26.0591, SwitchType.JumpCut)
TIMERA = 0
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_HJ', 5000, 1)
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_8329
Char.StartFacialTalk($sweet_car, 10000)

:DRUGS4_8329
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_8355
wait 0
goto @DRUGS4_8329

:DRUGS4_8355
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_8387
Char.StopFacialTalk($sweet_car)
Task.LookAtChar($stattreadstamina_ctr, $sweet_car, 3000)

:DRUGS4_8387
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15859)

:DRUGS4_8400
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_8426
wait 0
goto @DRUGS4_8400

:DRUGS4_8426
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('FIN1_HK', 5000, 1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_8470
Char.StartFacialTalk($mc_strap, 10000)

:DRUGS4_8470
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_8496
wait 0
goto @DRUGS4_8470

:DRUGS4_8496
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_8517
Char.StopFacialTalk($mc_strap)

:DRUGS4_8517
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15860)
128@ = 18

:DRUGS4_8537
if 
  128@ == 18
goto_if_false @DRUGS4_9140
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS4_9140
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS4_9140
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS4_9140
if 
  not Char.IsDead(50@)
goto_if_false @DRUGS4_9140
if 
  138@ == 0
goto_if_false @DRUGS4_8698
59@ = Char.GetScriptTaskStatus(47@, 1283)
if 
  is_int_lvar_equal_to_constant 59@ == 7
goto_if_false @DRUGS4_8698
Task.GoStraightToCoord(47@, 2226.43, -1155.37, 25.33, MoveState.Run, 5000)
138@ = 1

:DRUGS4_8698
if 
  139@ == 0
goto_if_false @DRUGS4_8777
60@ = Char.GetScriptTaskStatus(48@, 1283)
if 
  is_int_lvar_equal_to_constant 60@ == 7
goto_if_false @DRUGS4_8777
Task.GoStraightToCoord(48@, 2230.52, -1165.15, 25.63, MoveState.Run, 5000)
139@ = 1

:DRUGS4_8777
if 
  140@ == 0
goto_if_false @DRUGS4_8856
61@ = Char.GetScriptTaskStatus(49@, 1283)
if 
  is_int_lvar_equal_to_constant 61@ == 7
goto_if_false @DRUGS4_8856
Task.GoStraightToCoord(49@, 2217.53, -1163.18, 25.27, MoveState.Run, 5000)
140@ = 1

:DRUGS4_8856
if 
  141@ == 0
goto_if_false @DRUGS4_8935
62@ = Char.GetScriptTaskStatus(50@, 1283)
if 
  is_int_lvar_equal_to_constant 62@ == 7
goto_if_false @DRUGS4_8935
Task.GoStraightToCoord(50@, 2226.25, -1167.0, 25.04, MoveState.Run, 5000)
141@ = 1

:DRUGS4_8935
if 
  is_int_lvar_equal_to_constant 59@ == 7
goto_if_false @DRUGS4_9014
if 
  is_int_lvar_equal_to_constant 60@ == 7
goto_if_false @DRUGS4_9014
if 
  is_int_lvar_equal_to_constant 61@ == 7
goto_if_false @DRUGS4_9014
if 
  is_int_lvar_equal_to_constant 62@ == 7
goto_if_false @DRUGS4_9014
128@ = 21

:DRUGS4_9014
if 
  TIMERA > 3000
goto_if_false @DRUGS4_9140
Task.GoStraightToCoord(47@, 2226.43, -1155.37, 25.33, MoveState.Run, 5000)
Task.GoStraightToCoord(48@, 2230.52, -1165.15, 25.63, MoveState.Run, 5000)
Task.GoStraightToCoord(49@, 2217.53, -1163.18, 25.27, MoveState.Run, 5000)
Task.GoStraightToCoord(50@, 2226.25, -1167.0, 25.04, MoveState.Run, 5000)
128@ = 19

:DRUGS4_9140
if 
  128@ == 19
goto_if_false @DRUGS4_9561
if 
  TIMERA > 3000
goto_if_false @DRUGS4_9561
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_9561
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_9561
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_9561
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_9561
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_9561
Streaming.RequestCarRecording(354)
Streaming.RequestCarRecording(355)
Streaming.RequestCarRecording(356)
Task.ShuffleToNextCarSeat($mc_strap, $sweet_carZ)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_HL', 5000, 1)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DRUGS4_9322
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:DRUGS4_9322
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_9348
wait 0
goto @DRUGS4_9322

:DRUGS4_9348
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DRUGS4_9369
Char.StopFacialTalk($stattreadstamina_ctr)

:DRUGS4_9369
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:DRUGS4_9375
if or
  not Streaming.HasCarRecordingBeenLoaded(354)
  not Streaming.HasCarRecordingBeenLoaded(355)
  not Streaming.HasCarRecordingBeenLoaded(356)
goto_if_false @DRUGS4_9412
wait 0
goto @DRUGS4_9375

:DRUGS4_9412
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_9436
Car.StartPlayback($sweet_carZ, 356)

:DRUGS4_9436
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('FIN1_HM', 3000, 1)
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_9480
Char.StartFacialTalk($sweet_car, 10000)

:DRUGS4_9480
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_9547
if 
  Car.IsPlaybackGoingOn(40@)
goto_if_false @DRUGS4_9517
Car.StopPlayback(40@)

:DRUGS4_9517
Heli.GotoCoords(40@, 2217.58, -1167.67, 34.61, 10.0, 10.0)

:DRUGS4_9547
TIMERA = 0
128@ = 20

:DRUGS4_9561
if 
  128@ == 20
goto_if_false @DRUGS4_10307
if 
  TIMERA > 2000
goto_if_false @DRUGS4_10307
42@ = Car.Create(427, 2217.236, -1019.97, 30.7)
Car.SetHeading(42@, 176.5)
Car.SwitchSiren(42@, True)
Car.StartPlayback(42@, 354)
45@ = Char.CreateInsideCar(42@, PedType.Mission4, 285)
Char.GiveWeapon(45@, WeaponType.Mp5, 3000)
Char.SetAccuracy(45@, 30)
51@ = Char.CreateAsPassenger(42@, PedType.Mission4, 285, 1)
Char.GiveWeapon(51@, WeaponType.Mp5, 3000)
Char.SetAccuracy(51@, 30)
43@ = Car.Create(427, 2253.89, -1144.77, 26.47)
Car.SetHeading(43@, 89.947)
Car.SwitchSiren(43@, True)
Car.StartPlayback(43@, 355)
46@ = Char.CreateInsideCar(43@, PedType.Mission4, 285)
Char.SetAccuracy(46@, 30)
Char.GiveWeapon(46@, WeaponType.Mp5, 3000)
53@ = Char.CreateAsPassenger(43@, PedType.Mission4, 285, 1)
Char.SetAccuracy(53@, 30)
Char.GiveWeapon(53@, WeaponType.Mp5, 3000)
if 
  not Char.IsDead(34@)
goto_if_false @DRUGS4_9851
Char.SetRelationship(34@, RelationshipType.Hate, PedType.Mission4)
Char.SetDecisionMaker(34@, 57@)

:DRUGS4_9851
if 
  not Char.IsDead(35@)
goto_if_false @DRUGS4_9884
Char.SetRelationship(35@, RelationshipType.Hate, PedType.Mission4)
Char.SetDecisionMaker(35@, 57@)

:DRUGS4_9884
if 
  not Char.IsDead(36@)
goto_if_false @DRUGS4_9917
Char.SetRelationship(36@, RelationshipType.Hate, PedType.Mission4)
Char.SetDecisionMaker(36@, 57@)

:DRUGS4_9917
if 
  not Char.IsDead(37@)
goto_if_false @DRUGS4_9950
Char.SetRelationship(37@, RelationshipType.Hate, PedType.Mission4)
Char.SetDecisionMaker(37@, 57@)

:DRUGS4_9950
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS4_9992
Char.SetRelationship(47@, RelationshipType.Hate, PedType.Mission3)
Char.SetRelationship(47@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(47@, 57@)

:DRUGS4_9992
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS4_10034
Char.SetRelationship(48@, RelationshipType.Hate, PedType.Mission3)
Char.SetRelationship(48@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(48@, 57@)

:DRUGS4_10034
if 
  not Char.IsDead(49@)
goto_if_false @DRUGS4_10076
Char.SetRelationship(49@, RelationshipType.Hate, PedType.Mission3)
Char.SetRelationship(49@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(49@, 57@)

:DRUGS4_10076
if 
  not Char.IsDead(50@)
goto_if_false @DRUGS4_10109
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Mission3)
Char.SetDecisionMaker(50@, 57@)

:DRUGS4_10109
Camera.SetFixedPosition(2203.163, -1178.891, 31.8778, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2203.897, -1178.225, 31.7493, SwitchType.JumpCut)
Task.ToggleDuck($stattreadstamina_ctr, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 2231.569, -1155.75, 25.85, MoveState.Walk, -1)
if 
  not Char.IsDead(34@)
goto_if_false @DRUGS4_10242
Char.GiveWeapon(34@, WeaponType.Pistol, 9999)
Task.GoStraightToCoord(34@, 2228.421, -1164.66, 25.766, MoveState.Run, 5000)

:DRUGS4_10242
if 
  not Char.IsDead(35@)
goto_if_false @DRUGS4_10293
Char.GiveWeapon(35@, WeaponType.Pistol, 9999)
Task.GoStraightToCoord(35@, 2221.47, -1164.66, 25.766, MoveState.Run, 5000)

:DRUGS4_10293
TIMERB = 0
128@ = 21

:DRUGS4_10307
if 
  128@ == 21
goto_if_false @DRUGS4_10450
if 
  not Car.IsDead(42@)
goto_if_false @DRUGS4_10450
if 
  not Car.IsPlaybackGoingOn(42@)
goto_if_false @DRUGS4_10450
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS4_10400
if 
  Char.IsInCar(51@, 42@)
goto_if_false @DRUGS4_10400
Task.LeaveCar(51@, 42@)

:DRUGS4_10400
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS4_10443
if 
  Char.IsInCar(45@, 42@)
goto_if_false @DRUGS4_10443
Task.LeaveCar(45@, 42@)

:DRUGS4_10443
128@ = 22

:DRUGS4_10450
if 
  128@ == 22
goto_if_false @DRUGS4_10751
if 
  not Car.IsDead(43@)
goto_if_false @DRUGS4_10751
if 
  not Car.IsPlaybackGoingOn(43@)
goto_if_false @DRUGS4_10751
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS4_10543
if 
  Char.IsInCar(53@, 43@)
goto_if_false @DRUGS4_10543
Task.LeaveCar(53@, 43@)

:DRUGS4_10543
if 
  not Char.IsDead(46@)
goto_if_false @DRUGS4_10586
if 
  Char.IsInCar(46@, 43@)
goto_if_false @DRUGS4_10586
Task.LeaveCar(46@, 43@)

:DRUGS4_10586
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS4_10628
Char.SetRelationship(45@, RelationshipType.Hate, PedType.Mission3)
Char.SetRelationship(45@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(45@, 57@)

:DRUGS4_10628
if 
  not Char.IsDead(46@)
goto_if_false @DRUGS4_10661
Char.SetRelationship(46@, RelationshipType.Hate, PedType.Mission3)
Char.SetDecisionMaker(46@, 57@)

:DRUGS4_10661
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS4_10694
Char.SetRelationship(51@, RelationshipType.Hate, PedType.Mission3)
Char.SetDecisionMaker(51@, 57@)

:DRUGS4_10694
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS4_10727
Char.SetRelationship(53@, RelationshipType.Hate, PedType.Mission3)
Char.SetDecisionMaker(53@, 57@)

:DRUGS4_10727
Char.SetHeading($stattreadstamina_ctr, 150.0)
TIMERA = 0
128@ = 23

:DRUGS4_10751
if 
  128@ == 23
goto_if_false @DRUGS4_11205
if 
  131@ == 0
goto_if_false @DRUGS4_10834
if 
  not Char.IsDead(45@)
goto_if_false @DRUGS4_10834
if 
  not Char.IsInAnyCar(45@)
goto_if_false @DRUGS4_10834
Task.Duck(45@, 5000)
131@ = 1

:DRUGS4_10834
if 
  132@ == 0
goto_if_false @DRUGS4_10916
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS4_10916
if 
  not Char.IsInAnyCar(51@)
goto_if_false @DRUGS4_10916
Task.GoStraightToCoord(51@, 2203.77, -1156.44, 25.31, MoveState.Run, 5000)
132@ = 1

:DRUGS4_10916
if 
  134@ == 0
goto_if_false @DRUGS4_11052
if 
  not Char.IsDead(46@)
goto_if_false @DRUGS4_11052
if 
  not Char.IsInAnyCar(46@)
goto_if_false @DRUGS4_11052
Path.FlushRoute
Path.ExtendRoute(2215.4, -1146.19, 25.85)
Path.ExtendRoute(2214.67, -1149.71, 25.47)
Path.ExtendRoute(2204.83, -1157.04, 25.88)
Path.ExtendRoute(2209.01, -1166.46, 25.89)
Task.FollowPointRoute(46@, 6, RouteMode.Once)
134@ = 1

:DRUGS4_11052
if 
  135@ == 0
goto_if_false @DRUGS4_11205
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS4_11205
if 
  not Char.IsInAnyCar(53@)
goto_if_false @DRUGS4_11205
Path.FlushRoute
Path.ExtendRoute(2222.47, -1146.52, 25.43)
Path.ExtendRoute(2215.4, -1146.19, 25.85)
Path.ExtendRoute(2204.83, -1157.04, 25.88)
Path.ExtendRoute(2206.61, -1168.51, 25.89)
Path.ExtendRoute(2211.0, -1171.72, 25.55)
Task.FollowPointRoute(53@, 6, RouteMode.Once)
135@ = 1

:DRUGS4_11205
if 
  128@ == 23
goto_if_false @DRUGS4_13313
if 
  TIMERA > 1000
goto_if_false @DRUGS4_13313
142@ = 1

:DRUGS4_11249
skip_cutscene_end 
if 
  142@ == 0
goto_if_false @DRUGS4_13179
Camera.DoFade(500, Fade.Out)

:DRUGS4_11276
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS4_11300
wait 0
goto @DRUGS4_11276

:DRUGS4_11300
Camera.ResetNewScriptables
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRUGS4_11355
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2231.569, -1155.75, 24.85)
Char.SetHeading($stattreadstamina_ctr, 150.0)
goto @DRUGS4_11385

:DRUGS4_11355
Char.SetCoordinates($stattreadstamina_ctr, 2231.569, -1155.75, 24.85)
Char.SetHeading($stattreadstamina_ctr, 150.0)

:DRUGS4_11385
Char.Delete($big_smoke_car)
Char.Delete($mc_strap)
Char.Delete($sweet_car)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Streaming.RequestModel(492)
Streaming.RequestModel(107)
Streaming.RequestModel(106)
Streaming.RequestModel(353)
Streaming.RequestModel(346)
Streaming.RequestModel(285)
Streaming.RequestModel(497)
Streaming.RequestModel(427)
Streaming.LoadAllModelsNow

:DRUGS4_11448
if or
  not Streaming.HasModelLoaded(492)
  not Streaming.HasModelLoaded(107)
  not Streaming.HasModelLoaded(106)
goto_if_false @DRUGS4_11483
wait 0
goto @DRUGS4_11448

:DRUGS4_11483
if or
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(285)
  not Streaming.HasModelLoaded(497)
  not Streaming.HasModelLoaded(427)
goto_if_false @DRUGS4_11530
wait 0
goto @DRUGS4_11483

:DRUGS4_11530
Char.Delete(44@)
Char.Delete(45@)
Char.Delete(46@)
Char.Delete(47@)
Char.Delete(48@)
Char.Delete(49@)
Char.Delete(50@)
Char.Delete(51@)
Char.Delete(53@)
Char.Delete(34@)
Char.Delete(35@)
Char.Delete(36@)
Char.Delete(37@)
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_11632
if 
  Car.IsPlaybackGoingOn(40@)
goto_if_false @DRUGS4_11632
Car.StopPlayback(40@)

:DRUGS4_11632
if 
  not Car.IsDead(42@)
goto_if_false @DRUGS4_11669
if 
  Car.IsPlaybackGoingOn(42@)
goto_if_false @DRUGS4_11669
Car.StopPlayback(42@)

:DRUGS4_11669
if 
  not Car.IsDead(43@)
goto_if_false @DRUGS4_11706
if 
  Car.IsPlaybackGoingOn(43@)
goto_if_false @DRUGS4_11706
Car.StopPlayback(43@)

:DRUGS4_11706
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_11743
if 
  Car.IsPlaybackGoingOn($sweet_carZ)
goto_if_false @DRUGS4_11743
Car.StopPlayback($sweet_carZ)

:DRUGS4_11743
Car.Delete(40@)
Car.Delete(42@)
Car.Delete(43@)
Car.Delete($sweet_carZ)
Searchlight.Delete(58@)
42@ = Car.Create(427, 2210.24, -1159.976, 24.7265)
Car.SetHeading(42@, 191.9611)
Car.SwitchSiren(42@, True)
43@ = Car.Create(427, 2218.788, -1140.993, 24.7814)
Car.SetHeading(43@, 78.1047)
Car.SwitchSiren(43@, True)
40@ = Car.Create(497, 2276.22, -1140.87, 60.0)
44@ = Char.CreateInsideCar(40@, PedType.Mission4, 285)
Char.SetCanBeShotInVehicle(44@, False)
Char.SetCanBeShotInVehicle(44@, False)
Car.LockDoors(40@, CarLock.Locked)
Char.SetCantBeDraggedOut(44@, True)
Heli.SetBladesFullSpeed(40@)
Car.SetForwardSpeed(40@, 10.0)
Heli.GotoCoords(40@, 2217.58, -1167.67, 34.61, 10.0, 10.0)
Car.SetCoordinates(40@, 2217.58, -1167.67, 34.61)
58@ = Searchlight.CreateOnVehicle(40@, 0.0, 1.0, -0.5, 2228.36, -1171.48, 25.82, 5.0, 0.4)
Searchlight.MoveBetweenCoords(58@, 2228.36, -1171.48, 25.82, 2215.41, -1142.51, 25.5, 0.5)
46@ = Char.Create(PedType.Mission4, 285, 2209.01, -1166.46, 24.89)
Char.GiveWeapon(46@, WeaponType.Mp5, 3000)
Task.TurnCharToFaceCoord(46@, 2217.87, -1162.6, 25.33)
Char.SetAccuracy(46@, 30)
45@ = Char.Create(PedType.Mission4, 285, 2213.52, -1161.97, 24.77)
Char.GiveWeapon(45@, WeaponType.Mp5, 3000)
Task.TurnCharToFaceCoord(45@, 2217.87, -1162.6, 25.33)
Char.SetAccuracy(45@, 30)
51@ = Char.Create(PedType.Mission4, 285, 2203.77, -1156.44, 24.31)
Char.GiveWeapon(51@, WeaponType.Mp5, 3000)
Task.TurnCharToFaceCoord(51@, 2217.87, -1162.6, 25.33)
Char.SetAccuracy(51@, 30)
53@ = Char.Create(PedType.Mission4, 285, 2212.95, -1179.16, 24.31)
Char.GiveWeapon(53@, WeaponType.Mp5, 3000)
Task.TurnCharToFaceCoord(53@, 2217.87, -1162.6, 25.33)
Char.SetAccuracy(53@, 30)
47@ = Char.Create(PedType.Mission4, 285, 2226.43, -1155.37, 24.33)
Char.GiveWeapon(47@, WeaponType.Mp5, 3000)
Task.TurnCharToFaceCoord(47@, 2217.87, -1162.6, 25.33)
Char.SetAccuracy(47@, 30)
48@ = Char.Create(PedType.Mission4, 285, 2230.52, -1165.15, 24.63)
Char.GiveWeapon(48@, WeaponType.Mp5, 3000)
Task.TurnCharToFaceCoord(48@, 2217.87, -1162.6, 25.33)
Char.SetAccuracy(48@, 30)
49@ = Char.Create(PedType.Mission4, 285, 2217.53, -1163.18, 24.27)
Char.GiveWeapon(49@, WeaponType.Mp5, 3000)
Task.TurnCharToFaceCoord(49@, 2217.87, -1162.6, 25.33)
Char.SetAccuracy(49@, 30)
50@ = Char.Create(PedType.Mission4, 285, 2226.25, -1167.0, 24.04)
Char.GiveWeapon(50@, WeaponType.Mp5, 3000)
Task.TurnCharToFaceCoord(50@, 2217.87, -1162.6, 25.33)
Char.SetAccuracy(50@, 30)
34@ = Char.Create(PedType.Mission3, 107, 2228.421, -1164.66, 24.766)
Task.TurnCharToFaceCoord(34@, 2217.87, -1162.6, 25.33)
Char.SetDecisionMaker(34@, 57@)
Char.GiveWeapon(34@, WeaponType.Pistol, 9999)
Char.SetAccuracy(34@, 30)
Char.SetNeverTargeted(34@, True)
35@ = Char.Create(PedType.Mission3, 107, 2221.47, -1164.66, 24.766)
Task.TurnCharToFaceCoord(35@, 2217.87, -1162.6, 25.33)
Char.SetDecisionMaker(35@, 57@)
Char.GiveWeapon(35@, WeaponType.Pistol, 9999)
Char.SetAccuracy(35@, 40)
Char.SetNeverTargeted(35@, True)
36@ = Char.Create(PedType.Mission3, 106, 2227.224, -1172.07, 24.7265)
Task.TurnCharToFaceCoord(36@, 2217.87, -1162.6, 25.33)
Char.SetDecisionMaker(36@, 57@)
Char.GiveWeapon(36@, WeaponType.Pistol, 9999)
Char.SetAccuracy(36@, 30)
Char.SetNeverTargeted(36@, True)
37@ = Char.Create(PedType.Mission3, 106, 2221.179, -1177.662, 24.767)
Task.TurnCharToFaceCoord(37@, 2217.87, -1162.6, 25.33)
Char.SetDecisionMaker(37@, 57@)
Char.GiveWeapon(37@, WeaponType.Pistol, 9999)
Char.SetAccuracy(37@, 40)
Char.SetNeverTargeted(37@, True)
Char.SetRelationship(34@, RelationshipType.Hate, PedType.Mission4)
Char.SetDecisionMaker(34@, 57@)
Char.SetRelationship(35@, RelationshipType.Hate, PedType.Mission4)
Char.SetDecisionMaker(35@, 57@)
Char.SetRelationship(36@, RelationshipType.Hate, PedType.Mission4)
Char.SetDecisionMaker(36@, 57@)
Char.SetRelationship(37@, RelationshipType.Hate, PedType.Mission4)
Char.SetDecisionMaker(37@, 57@)
Char.SetRelationship(45@, RelationshipType.Hate, PedType.Mission3)
Char.SetRelationship(45@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(45@, 57@)
Char.SetRelationship(46@, RelationshipType.Hate, PedType.Mission3)
Char.SetRelationship(46@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(46@, 57@)
Char.SetRelationship(47@, RelationshipType.Hate, PedType.Mission3)
Char.SetRelationship(47@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(47@, 57@)
Char.SetRelationship(48@, RelationshipType.Hate, PedType.Mission3)
Char.SetRelationship(48@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(48@, 57@)
Char.SetRelationship(49@, RelationshipType.Hate, PedType.Mission3)
Char.SetRelationship(49@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(49@, 57@)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Mission3)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(50@, 57@)
Char.SetRelationship(51@, RelationshipType.Hate, PedType.Mission3)
Char.SetDecisionMaker(51@, 57@)
Char.SetRelationship(53@, RelationshipType.Hate, PedType.Mission3)
Char.SetDecisionMaker(53@, 57@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Clock.SetTimeScale(1.0)
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Shotgun, 60)
Char.SetHeading($stattreadstamina_ctr, 192.0)
Player.SetControl($statbike_temp, True)
Camera.DoFade(1500, Fade.In)

:DRUGS4_13179
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_13203
Car.SetHealth(40@, 700)

:DRUGS4_13203
Char.Delete($mc_strap)
Char.Delete($sweet_car)
Car.Delete($sweet_carZ)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Streaming.RemoveAnimation("CAR_CHAT")
Text.ClearPrints
Camera.RestoreJumpcut
Blip.Remove(184@)
Blip.Remove(183@)
184@ = Blip.AddForCoord(2235.3, -1159.67, 25.94)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Text.PrintNow('LAF1_17', 10000, 1)
128@ = 24

:DRUGS4_13313
if 
  128@ == 24
goto_if_false @DRUGS4_15336
if 
  143@ == 0
goto_if_false @DRUGS4_13382
if 
  Car.IsDead(40@)
goto_if_false @DRUGS4_13382
Streaming.MarkModelAsNoLongerNeeded(497)
Searchlight.Delete(58@)
143@ = 1

:DRUGS4_13382
if 
  144@ == 0
goto_if_false @DRUGS4_13428
if 
  Car.IsDead(42@)
goto_if_false @DRUGS4_13428
Car.MarkAsNoLongerNeeded(42@)
144@ = 1

:DRUGS4_13428
if 
  145@ == 0
goto_if_false @DRUGS4_13474
if 
  Car.IsDead(43@)
goto_if_false @DRUGS4_13474
Car.MarkAsNoLongerNeeded(43@)
145@ = 1

:DRUGS4_13474
if 
  144@ == 1
goto_if_false @DRUGS4_13529
if 
  145@ == 1
goto_if_false @DRUGS4_13529
Streaming.MarkModelAsNoLongerNeeded(427)
144@ = 2
145@ = 2

:DRUGS4_13529
64@ = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  64@ == 15
goto_if_false @DRUGS4_15336
Char.Delete(44@)
Char.Delete(45@)
Char.Delete(46@)
Char.Delete(47@)
Char.Delete(48@)
Char.Delete(49@)
Char.Delete(50@)
Char.Delete(51@)
Char.Delete(53@)
Char.Delete(34@)
Char.Delete(35@)
Char.Delete(36@)
Char.Delete(37@)
Car.Delete(40@)
Car.Delete(42@)
Car.Delete(43@)
Searchlight.Delete(58@)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(497)
Streaming.MarkModelAsNoLongerNeeded(427)
132@ = 0
133@ = 0
135@ = 0
136@ = 0
138@ = 0
138@ = 0
Player.SetControl($statbike_temp, False)
Blip.Remove(184@)
Streaming.RemoveAnimation("CAR_CHAT")
34@ = Char.Create(PedType.Mission1, 106, 2229.566, -1150.495, 1029.0)
Char.SetHasUsedEntryExit(34@, 2232.41, -1160.04, 20.0)
Char.SetHeading(34@, 86.6836)
Char.SetNeverTargeted(34@, True)
Char.SetDecisionMaker(34@, 55@)
Char.SetOnlyDamagedByPlayer(34@, 55@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15863)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15805)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 32401)
Streaming.RequestAnimation("SWAT")
Streaming.RequestModel(63)
Streaming.RequestModel(#IMY_SKYLIGHT)
Streaming.RequestModel(#KMB_TROLLEY)
Streaming.RequestAnimation("KISSING")
Streaming.LoadAllModelsNow

:DRUGS4_13854
if or
  not Streaming.HasAnimationLoaded("SWAT")
  not Streaming.HasModelLoaded(63)
  not Streaming.HasModelLoaded(#IMY_SKYLIGHT)
  not Streaming.HasAnimationLoaded("KISSING")
  not Streaming.HasModelLoaded(#KMB_TROLLEY)
goto_if_false @DRUGS4_13909
wait 0
goto @DRUGS4_13854

:DRUGS4_13909
if or
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DRUGS4_13943
wait 0
goto @DRUGS4_13909

:DRUGS4_13943
127@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2240.686, -1187.269, 1033.836)
93@ = Object.CreateNoOffset(#IMY_SKYLIGHT, 2246.07, -1191.242, 1037.234)
84@ = Object.CreateNoOffset(#LXR_MOTEL_DOORSIM, 2239.432, -1170.749, 1029.997)
Object.SetHeading(84@, 270.0)
85@ = Object.CreateNoOffset(#LXR_MOTELVENT, 2217.072, -1188.664, 1032.276)
Object.SetHeading(85@, 180.0)
86@ = Object.Create(#LXR_MOTELVENT, 2193.188, -1164.511, 1032.276)
Object.SetHeading(86@, 90.0)
Object.FreezePosition(85@, True)
Object.FreezePosition(86@, True)
82@ = Char.Create(PedType.Mission1, 63, 2227.16, -1148.02, 1029.0)
Char.SetHasUsedEntryExit(82@, 2232.41, -1160.04, 20.0)
Char.SetNeverTargeted(82@, True)
Char.SetDecisionMaker(82@, 55@)
Char.SetOnlyDamagedByPlayer(82@, True)
$big_smoke_car = Char.Create(PedType.Special, 290, 2202.23, -1156.914, 1029.852)
Char.SetHasUsedEntryExit($big_smoke_car, 2232.41, -1160.04, 3.0)
Char.SetAreaVisible($big_smoke_car, 15)
Char.SetSuffersCriticalHits($big_smoke_car, False)
Char.SetHeading($big_smoke_car, 62.083)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetOnlyDamagedByPlayer($big_smoke_car, True)
Char.SetDecisionMaker($big_smoke_car, 55@)
183@ = Blip.AddForChar($big_smoke_car)
Blip.SetAsFriendly(183@, True)
Char.SetHealth($big_smoke_car, 1000)
Char.GiveWeapon($big_smoke_car, WeaponType.Mp5, 9999)
Char.SetProofs($big_smoke_car, False, True, True, True, True)
66@ = Char.Create(PedType.Mission1, 106, 2220.524, -1137.826, 1026.798)
Char.SetHasUsedEntryExit(66@, 2232.41, -1160.04, 20.0)
Char.SetHeading(66@, 181.8677)
Task.PlayAnimNonInterruptable(66@, "GNSTWALL_INJURD", "SWAT", 8.0, True, False, False, False, -1)
Char.SetProofs(66@, True, True, True, True, True)
Char.SetNeverTargeted(66@, True)
Char.SetDecisionMaker(66@, 55@)
Char.SetBleeding(66@, True)
Char.SetOnlyDamagedByPlayer(66@, True)
35@ = Char.Create(PedType.Mission1, 106, 2234.92, -1149.63, 1029.0)
Char.SetDecisionMaker(35@, 55@)
Char.SetHasUsedEntryExit(35@, 2232.41, -1160.04, 20.0)
52@ = Char.Create(PedType.Mission2, 285, 2239.309, -1151.724, 1028.779)
Char.SetHeading(52@, 177.9528)
Char.GiveWeapon(52@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(52@, 55@)
Char.SetOnlyDamagedByPlayer(52@, True)
Char.SetHealth(52@, 100)
Char.SetHasUsedEntryExit(52@, 2232.41, -1160.04, 20.0)
83@ = Char.Create(PedType.Mission1, 63, 2234.99, -1159.55, 1029.84)
Char.SetHeading(83@, 267.0618)
Char.SetNeverTargeted(83@, True)
Char.SetDecisionMaker(83@, 55@)
Char.SetOnlyDamagedByPlayer(83@, True)
Char.SetHasUsedEntryExit(83@, 2232.41, -1160.04, 20.0)
Char.SetProofs(83@, False, True, False, False, False)
53@ = Char.Create(PedType.Mission2, 285, 2238.817, -1170.598, 1028.813)
Char.SetHeading(53@, 272.0738)
Char.GiveWeapon(53@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(53@, 55@)
Char.SetOnlyDamagedByPlayer(53@, True)
Char.SetHealth(53@, 150)
Char.SetShootRate(53@, 80)
Char.SetHasUsedEntryExit(53@, 2232.41, -1160.04, 20.0)
36@ = Char.Create(PedType.Mission3, 106, 2244.5, -1189.627, 1028.8)
Char.SetHeading(36@, 88.196)
Char.SetOnlyDamagedByPlayer(36@, True)
Char.GiveWeapon(36@, WeaponType.Pistol, 9999)
Char.SetNeverTargeted(36@, True)
Char.SetAccuracy(36@, 10)
Char.SetRelationship(36@, RelationshipType.Hate, PedType.Mission4)
Char.SetDecisionMaker(36@, 55@)
Char.SetHasUsedEntryExit(36@, 2232.41, -1160.04, 20.0)
37@ = Char.Create(PedType.Mission3, 107, 2241.05, -1192.373, 1028.798)
Char.SetHeading(37@, 358.2577)
Char.SetOnlyDamagedByPlayer(37@, True)
Char.GiveWeapon(37@, WeaponType.Pistol, 9999)
Char.SetAccuracy(37@, 10)
Char.SetNeverTargeted(37@, True)
Char.SetDecisionMaker(37@, 55@)
Char.SetHasUsedEntryExit(37@, 2232.41, -1160.04, 20.0)
38@ = Char.Create(PedType.Mission1, 106, 2240.156, -1186.704, 1028.798)
Char.SetHeading(38@, 90.1792)
Char.SetOnlyDamagedByPlayer(38@, True)
Char.GiveWeapon(38@, WeaponType.Mp5, 9999)
Char.SetNeverTargeted(38@, True)
Char.SetDecisionMaker(38@, 55@)
Char.SetHasUsedEntryExit(38@, 2232.41, -1160.04, 20.0)
67@ = Char.Create(PedType.Mission1, 107, 2234.84, -1191.202, 1029.845)
Char.SetHeading(67@, 272.171)
Char.SetOnlyDamagedByPlayer(67@, True)
Char.SetNeverTargeted(67@, True)
Task.PlayAnimNonInterruptable(67@, "GNSTWALL_INJURD", "SWAT", 8.0, True, False, False, False, -1)
Char.SetBleeding(67@, True)
Char.SetDecisionMaker(67@, 55@)
Char.SetHasUsedEntryExit(67@, 2232.41, -1160.04, 20.0)
65@ = Particle.Create("EXPLOSION_DOOR", 2239.51, -1170.77, 1029.84, 1)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2232.41, -1160.04, 20.0)
Char.SetCoordinates($stattreadstamina_ctr, 2216.34, -1150.509, 1024.85)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
World.SwitchEntryExit('MOTEL1', False)
Text.PrintHelp('LAF1_7')
Text.PrintNow('LAF1_6', 5000, 1)
178@ = 0
179@ = 0
128@ = 25
146@ = 1

:DRUGS4_15336
if 
  172@ == 0
goto_if_false @DRUGS4_29398
if 
  146@ == 1
goto_if_false @DRUGS4_29398
if 
  147@ == 0
goto_if_false @DRUGS4_15980
Text.ClearPrints
97@ = Object.CreateNoOffset(#KMB_TROLLEY, 2242.433, -1166.712, 1029.304)
Object.SetHealth(97@, 150)
Object.SetOnlyDamagedByPlayer(97@, True)
98@ = Object.CreateNoOffset(#KMB_TROLLEY, 2240.11, -1174.919, 1029.304)
Object.SetHealth(98@, 250)
99@ = Object.CreateNoOffset(#KMB_TROLLEY, 2229.87, -1189.845, 1029.304)
Object.SetHeading(99@, 90.0)
Object.SetHealth(99@, 150)
Object.SetOnlyDamagedByPlayer(99@, True)
100@ = Object.CreateNoOffset(#KMB_TROLLEY, 2217.569, -1187.528, 1029.304)
Object.SetHeading(100@, 90.0)
Object.SetHealth(100@, 250)
Object.SetOnlyDamagedByPlayer(100@, True)
101@ = Object.CreateNoOffset(#KMB_TROLLEY, 2204.649, -1187.544, 1029.304)
Object.SetHeading(101@, 90.0)
Object.SetHealth(101@, 150)
Object.SetOnlyDamagedByPlayer(101@, True)
102@ = Object.CreateNoOffset(#KMB_TROLLEY, 2194.345, -1171.269, 1029.304)
Object.SetHealth(102@, 250)
103@ = Object.CreateNoOffset(#KMB_TROLLEY, 2192.079, -1166.364, 1029.304)
Object.SetHealth(103@, 150)
Object.SetOnlyDamagedByPlayer(103@, True)
if 
  not Char.IsDead(82@)
goto_if_false @DRUGS4_15853
Char.SetHealth(82@, 1)
109@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2227.25, -1139.12, 1029.84)
Path.ExtendRoute(2221.17, -1139.09, 1027.84)
Path.ExtendRoute(2221.64, -1145.11, 1025.84)
Path.ExtendRoute(2224.556, -1145.901, 1025.85)
Path.ExtendRoute(2224.465, -1142.276, 1025.85)
Task.FollowPointRoute(-1, 7, RouteMode.Once)
Task.PlayAnim(-1, "COWER", "PED", 8.0, True, False, False, False, -1)
Task.SetCharDecisionMaker(-1, 56@)
Sequence.Close(109@)
Char.PerformSequence(82@, 109@)
Sequence.Clear(109@)

:DRUGS4_15853
if 
  not Char.IsDead(34@)
goto_if_false @DRUGS4_15910
Task.PlayAnimWithFlags(34@, "RAIL_FALL", "SWAT", 8.0, False, False, False, True, -1, False, True)

:DRUGS4_15910
if 
  not Char.IsDead(34@)
goto_if_false @DRUGS4_15973
if 
  not Char.IsDead(52@)
goto_if_false @DRUGS4_15973
set_lvar_int_to_lvar_int 118@ = 52@
set_lvar_int_to_lvar_int 119@ = 34@
set_lvar_int_to_var_int 120@ = $stattreadstamina_ctr
gosub @DRUGS4_67005

:DRUGS4_15973
147@ = 1

:DRUGS4_15980
if 
  147@ == 1
goto_if_false @DRUGS4_16131
if 
  not Char.IsDead(34@)
goto_if_false @DRUGS4_16131
if 
  Char.IsPlayingAnim(34@, "RAIL_FALL")
goto_if_false @DRUGS4_16131
96@ = Char.GetAnimCurrentTime(34@, "RAIL_FALL")
if 
  96@ == 1.0
goto_if_false @DRUGS4_16131
Task.PlayAnimNonInterruptable(34@, "RAIL_FALL_CRAWL", "SWAT", 1000.0, False, False, False, True, -1)
147@ = 2

:DRUGS4_16131
if 
  149@ == 0
goto_if_false @DRUGS4_16527
if 
  not Char.IsDead(66@)
goto_if_false @DRUGS4_16527
if 
  Char.LocateAnyMeansChar3D(66@, $stattreadstamina_ctr, 4.5, 4.5, 3.5, False)
goto_if_false @DRUGS4_16527
51@ = Char.Create(PedType.Mission2, 285, 2229.462, -1150.524, 1028.845)
Char.SetHasUsedEntryExit(51@, 2232.41, -1160.04, 20.0)
Char.SetHeading(51@, 358.795)
Char.GiveWeapon(51@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(51@, 55@)
Char.SetAccuracy(51@, 50)
Char.SetOnlyDamagedByPlayer(51@, True)
Char.SetHealth(51@, 150)
Char.SetMaxHealth(51@, 150)
Char.Delete(52@)
52@ = Char.Create(PedType.Mission2, 285, 2239.309, -1151.724, 1029.279)
Char.SetHasUsedEntryExit(52@, 2232.41, -1160.04, 20.0)
Char.SetHeading(52@, 177.9528)
Char.GiveWeapon(52@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(52@, 55@)
Char.SetOnlyDamagedByPlayer(52@, True)
Char.SetAccuracy(52@, 80)
if 
  133@ == 0
goto_if_false @DRUGS4_16520
if 
  not Char.IsDead(52@)
goto_if_false @DRUGS4_16520
set_lvar_int_to_lvar_int 118@ = 52@
if 
  not Char.IsDead(38@)
goto_if_false @DRUGS4_16520
set_lvar_int_to_lvar_int 119@ = 38@
161@ = 1
122@ = 2241.78
123@ = -1194.52
124@ = 1031.38
gosub @DRUGS4_67216
161@ = 0
133@ = 1

:DRUGS4_16520
149@ = 1

:DRUGS4_16527
if 
  148@ == 0
goto_if_false @DRUGS4_19414
if 
  150@ == 0
goto_if_false @DRUGS4_16591
if 
  not Char.IsDead(35@)
goto_if_false @DRUGS4_16591
Char.ExplodeHead(35@)
150@ = 1

:DRUGS4_16591
if 
  132@ == 0
goto_if_false @DRUGS4_16703
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS4_16703
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2229.591, -1150.647, 1028.798, 7.2, 7.2, 1.5, False)
  Char.HasBeenDamagedByChar(51@, $stattreadstamina_ctr)
goto_if_false @DRUGS4_16703
set_lvar_int_to_lvar_int 118@ = 51@
gosub @DRUGS4_67133
132@ = 1

:DRUGS4_16703
if 
  133@ == 1
goto_if_false @DRUGS4_16803
if 
  not Char.IsDead(52@)
goto_if_false @DRUGS4_16803
if or
  Char.HasBeenDamagedByChar(52@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(52@, $stattreadstamina_ctr, 4.0, 4.0, 3.0, False)
goto_if_false @DRUGS4_16803
Char.SetAccuracy(52@, 50)
Task.KillCharOnFoot(52@, $stattreadstamina_ctr)
133@ = 2

:DRUGS4_16803
if 
  137@ == 0
goto_if_false @DRUGS4_17207
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2243.8, -1147.93, 1025.16, 2238.74, -1162.62, 1033.79, False)
goto_if_false @DRUGS4_17207
152@ = 1
if 
  180@ == 0
goto_if_false @DRUGS4_16987
if 
  not Char.IsDead(83@)
goto_if_false @DRUGS4_16987
Char.SetHealth(83@, 150)
126@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2249.355, -1159.683, 1029.797, MoveState.Sprint, 10000)
Task.AchieveHeading(-1, 87.888)
Task.StayInSamePlace(-1, True)
Sequence.Close(126@)
Char.PerformSequence(83@, 126@)
Sequence.Clear(126@)
180@ = 1

:DRUGS4_16987
69@ = Char.Create(PedType.Mission1, 285, 2228.607, -1189.721, 1028.798)
Char.SetHasUsedEntryExit(69@, 2232.41, -1160.04, 20.0)
Char.SetHeading(69@, 266.5963)
Char.GiveWeapon(69@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(69@, 55@)
Char.SetOnlyDamagedByPlayer(69@, True)
Char.SetHealth(69@, 150)
Char.SetMaxHealth(69@, 150)
Char.SetUsesUpperbodyDamageAnimsOnly(69@, True)
70@ = Char.Create(PedType.Mission1, 285, 2225.796, -1186.783, 1028.798)
Char.SetHasUsedEntryExit(70@, 2232.41, -1160.04, 20.0)
Char.SetHeading(70@, 273.6395)
Char.GiveWeapon(70@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(70@, 55@)
Char.SetOnlyDamagedByPlayer(70@, True)
Char.SetAccuracy(70@, 80)
Char.SetHealth(70@, 150)
Char.SetMaxHealth(70@, 150)
TIMERB = 0
137@ = 1

:DRUGS4_17207
if 
  137@ == 1
goto_if_false @DRUGS4_17280
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2243.0, -1154.3, 1025.16, 2238.74, -1170.62, 1033.79, False)
goto_if_false @DRUGS4_17280
137@ = 2

:DRUGS4_17280
if 
  137@ == 2
goto_if_false @DRUGS4_17710
71@ = Char.Create(PedType.Mission1, 285, 2187.48, -1186.9, 1033.3)
Char.SetHasUsedEntryExit(71@, 2232.41, -1160.04, 20.0)
Char.SetHeading(71@, 274.247)
Char.GiveWeapon(71@, WeaponType.Mp5, 99999)
Char.SetDecisionMaker(71@, 55@)
Char.SetOnlyDamagedByPlayer(71@, True)
Char.SetAccuracy(71@, 80)
Char.SetHealth(71@, 150)
Char.SetMaxHealth(71@, 150)
72@ = Char.Create(PedType.Mission1, 285, 2186.611, -1183.962, 1033.837)
Char.SetHasUsedEntryExit(72@, 2232.41, -1160.04, 20.0)
Char.SetHeading(72@, 286.2857)
Char.GiveWeapon(72@, WeaponType.Mp5, 99999)
Char.SetDecisionMaker(72@, 55@)
Char.SetOnlyDamagedByPlayer(72@, True)
Char.SetHealth(72@, 150)
Char.SetMaxHealth(72@, 150)
Char.SetUsesUpperbodyDamageAnimsOnly(72@, True)
73@ = Char.Create(PedType.Mission1, 285, 2190.157, -1182.068, 1033.829)
Char.SetHasUsedEntryExit(73@, 2232.41, -1160.04, 20.0)
Char.SetHeading(73@, 183.8877)
Char.GiveWeapon(73@, WeaponType.Mp5, 99999)
Char.SetDecisionMaker(73@, 55@)
Char.SetOnlyDamagedByPlayer(73@, True)
Char.SetHealth(73@, 150)
Char.SetMaxHealth(73@, 150)
74@ = Char.Create(PedType.Mission1, 285, 2188.579, -1184.78, 1028.798)
Char.SetHasUsedEntryExit(74@, 2232.41, -1160.04, 20.0)
Char.SetHeading(74@, 246.3679)
Char.GiveWeapon(74@, WeaponType.Mp5, 99999)
Char.SetDecisionMaker(74@, 55@)
Char.SetOnlyDamagedByPlayer(74@, True)
Char.SetHealth(74@, 150)
Char.SetUsesUpperbodyDamageAnimsOnly(74@, True)
137@ = 3

:DRUGS4_17710
if 
  137@ == 3
goto_if_false @DRUGS4_17888
if 
  135@ == 0
goto_if_false @DRUGS4_17888
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS4_17888
if 
  Object.DoesExist(84@)
goto_if_false @DRUGS4_17792
Object.SetCollision(84@, False)
Object.Break(84@, 1)

:DRUGS4_17792
if 
  181@ == 0
goto_if_false @DRUGS4_17821
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
181@ = 1

:DRUGS4_17821
Particle.PlayAndKill(65@)
Task.PlayAnim(53@, "SWT_BREACH_01", "SWAT", 1000.0, False, True, True, False, -1)
135@ = 1
TIMERB = 0
137@ = 4

:DRUGS4_17888
if 
  137@ == 4
goto_if_false @DRUGS4_18100
if 
  136@ == 0
goto_if_false @DRUGS4_18100
if 
  TIMERB > 667
goto_if_false @DRUGS4_18100
54@ = Char.Create(PedType.Mission2, 285, 2238.317, -1170.598, 1028.813)
Char.SetHeading(54@, 272.0738)
Char.GiveWeapon(54@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(54@, 55@)
Char.SetOnlyDamagedByPlayer(54@, True)
Char.SetHealth(54@, 150)
Char.SetShootRate(54@, 80)
Char.SetHasUsedEntryExit(54@, 2232.41, -1160.04, 20.0)
Task.PlayAnim(54@, "SWT_BREACH_02", "SWAT", 1000.0, False, True, True, False, -1)
TIMERB = 0
136@ = 1
137@ = 5

:DRUGS4_18100
if 
  137@ == 5
goto_if_false @DRUGS4_18305
if 
  154@ == 0
goto_if_false @DRUGS4_18305
if 
  TIMERB > 333
goto_if_false @DRUGS4_18305
68@ = Char.Create(PedType.Mission2, 285, 2237.818, -1170.598, 1028.813)
Char.SetHeading(68@, 272.0738)
Char.GiveWeapon(68@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(68@, 55@)
Char.SetOnlyDamagedByPlayer(68@, True)
Char.SetHealth(68@, 150)
Char.SetShootRate(68@, 80)
Char.SetHasUsedEntryExit(68@, 2232.41, -1160.04, 20.0)
Task.PlayAnim(68@, "SWT_BREACH_03", "SWAT", 1000.0, False, True, True, False, -1)
154@ = 1
137@ = 6

:DRUGS4_18305
if 
  135@ == 1
goto_if_false @DRUGS4_18425
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS4_18425
87@ = Char.GetScriptTaskStatus(53@, 1541)
if or
  is_int_lvar_equal_to_constant 87@ == 7
  Char.LocateAnyMeansChar2D(53@, $stattreadstamina_ctr, 6.0, 6.0, False)
goto_if_false @DRUGS4_18425
Char.SetUsesUpperbodyDamageAnimsOnly(53@, True)
set_lvar_int_to_lvar_int 118@ = 53@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66916
135@ = 2

:DRUGS4_18425
if 
  136@ == 1
goto_if_false @DRUGS4_18554
if 
  not Char.IsDead(54@)
goto_if_false @DRUGS4_18554
88@ = Char.GetScriptTaskStatus(54@, 1541)
if or
  is_int_lvar_equal_to_constant 88@ == 7
  Char.LocateAnyMeansChar2D(54@, $stattreadstamina_ctr, 4.5, 4.5, False)
goto_if_false @DRUGS4_18554
if 
  not Char.IsDead(37@)
goto_if_false @DRUGS4_18547
set_lvar_int_to_lvar_int 118@ = 54@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66916

:DRUGS4_18547
136@ = 2

:DRUGS4_18554
if 
  154@ == 1
goto_if_false @DRUGS4_18667
if 
  not Char.IsDead(68@)
goto_if_false @DRUGS4_18667
89@ = Char.GetScriptTaskStatus(68@, 1541)
if or
  is_int_lvar_equal_to_constant 89@ == 7
  Char.LocateAnyMeansChar2D(68@, $stattreadstamina_ctr, 3.5, 3.5, False)
goto_if_false @DRUGS4_18667
set_lvar_int_to_lvar_int 118@ = 68@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66916
154@ = 2

:DRUGS4_18667
if 
  180@ == 1
goto_if_false @DRUGS4_19182
if 
  not Char.IsDead(83@)
goto_if_false @DRUGS4_19182
if 
  Char.LocateStoppedOnFoot3D(83@, 2249.35, -1159.683, 1028.79, 3.0, 3.0, 3.0, False)
goto_if_false @DRUGS4_19182
if 
  not Char.HasBeenDamagedByChar(83@, $stattreadstamina_ctr)
goto_if_false @DRUGS4_19182
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2248.35, -1159.683, 1028.79, 3.0, 3.0, 3.0, False)
goto_if_false @DRUGS4_19182
World.ClearArea(2248.35, -1159.683, 20.0, 20.0, False)
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2247.047, -1157.281, 1030.581, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2247.618, -1158.029, 1030.244, SwitchType.JumpCut)
Char.ClearTasksImmediately(83@)
Char.SetCoordinates(83@, 2249.35, -1159.683, 1028.79)
Char.SetHeading(83@, 87.888)
Char.SetCoordinates($stattreadstamina_ctr, 2248.35, -1159.683, 1028.79)
Char.SetHeading($stattreadstamina_ctr, 267.888)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
if 
  179@ <> 0
goto_if_false @DRUGS4_19010
179@ = 0
178@ += 1

:DRUGS4_19010
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15823)

:DRUGS4_19017
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_19043
wait 0
goto @DRUGS4_19017

:DRUGS4_19043
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_DC', 3000, 1)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PLAYA_KISS_03", "KISSING", 4.0, False, False, False, False, -1)
if 
  not Char.IsDead(83@)
goto_if_false @DRUGS4_19168
Task.PlayAnimNonInterruptable(83@, "GRLFRD_KISS_03", "KISSING", 4.0, False, False, False, False, -1)

:DRUGS4_19168
Char.SetHealth($stattreadstamina_ctr, 100)
180@ = 2

:DRUGS4_19182
if 
  180@ == 2
goto_if_false @DRUGS4_19286
if 
  not Char.IsDead(83@)
goto_if_false @DRUGS4_19286
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_03")
goto_if_false @DRUGS4_19286
if 
  Char.IsPlayingAnim(83@, "GRLFRD_KISS_03")
goto_if_false @DRUGS4_19286
180@ = 3

:DRUGS4_19286
if 
  180@ == 3
goto_if_false @DRUGS4_19414
if 
  not Char.IsDead(83@)
goto_if_false @DRUGS4_19414
if 
  not Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_03")
goto_if_false @DRUGS4_19414
if 
  not Char.IsPlayingAnim(83@, "GRLFRD_KISS_03")
goto_if_false @DRUGS4_19414
Char.SetHealth(83@, 5)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.ClearPrints
180@ = 4

:DRUGS4_19414
if 
  152@ == 1
goto_if_false @DRUGS4_19699
if 
  not Char.IsDead(36@)
goto_if_false @DRUGS4_19493
set_lvar_int_to_lvar_int 118@ = 36@
122@ = 2232.41
123@ = -1188.66
124@ = 1030.26
gosub @DRUGS4_66788

:DRUGS4_19493
if 
  not Char.IsDead(37@)
goto_if_false @DRUGS4_19554
set_lvar_int_to_lvar_int 118@ = 37@
122@ = 2233.35
123@ = -1187.99
124@ = 1030.4
gosub @DRUGS4_66788

:DRUGS4_19554
if 
  not Char.IsDead(38@)
goto_if_false @DRUGS4_19653
set_lvar_int_to_lvar_int 118@ = 38@
if 
  not Char.IsDead(69@)
goto_if_false @DRUGS4_19653
set_lvar_int_to_lvar_int 119@ = 69@
122@ = 2186.49
123@ = -1189.18
124@ = 1030.97
161@ = 1
gosub @DRUGS4_67216
161@ = 0

:DRUGS4_19653
if 
  not Char.IsDead(69@)
goto_if_false @DRUGS4_19692
set_lvar_int_to_lvar_int 118@ = 69@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66916

:DRUGS4_19692
152@ = 2

:DRUGS4_19699
if 
  152@ == 2
goto_if_false @DRUGS4_20607
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2235.48, -1188.77, 10.0, 10.0, False)
goto_if_false @DRUGS4_20607
if 
  not Char.IsDead(70@)
goto_if_false @DRUGS4_19786
set_lvar_int_to_lvar_int 118@ = 70@
gosub @DRUGS4_67481

:DRUGS4_19786
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(82@)
Char.MarkAsNoLongerNeeded(34@)
Char.MarkAsNoLongerNeeded(51@)
Char.MarkAsNoLongerNeeded(35@)
Char.MarkAsNoLongerNeeded(52@)
Char.RemoveElegantly(83@)
if 
  Char.IsDead(53@)
goto_if_false @DRUGS4_19842
Char.MarkAsNoLongerNeeded(53@)

:DRUGS4_19842
if 
  Char.IsDead(54@)
goto_if_false @DRUGS4_19863
Char.MarkAsNoLongerNeeded(54@)

:DRUGS4_19863
if 
  Char.IsDead(68@)
goto_if_false @DRUGS4_19884
Char.MarkAsNoLongerNeeded(68@)

:DRUGS4_19884
75@ = Char.Create(PedType.Mission1, 285, 2216.605, -1188.611, 1032.27)
Char.SetHasUsedEntryExit(75@, 2232.41, -1160.04, 20.0)
Char.SetHeading(75@, 264.4329)
Char.GiveWeapon(75@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(75@, 55@)
Char.SetOnlyDamagedByPlayer(75@, True)
Char.SetHealth(75@, 150)
Char.SetAccuracy(75@, 80)
76@ = Char.Create(PedType.Mission1, 285, 2216.131, -1188.611, 1032.27)
Char.SetHasUsedEntryExit(76@, 2232.41, -1160.04, 20.0)
Char.SetHeading(76@, 264.4329)
Char.GiveWeapon(76@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(76@, 55@)
Char.SetOnlyDamagedByPlayer(76@, True)
Char.SetHealth(76@, 150)
Char.SetAccuracy(76@, 80)
77@ = Char.Create(PedType.Mission1, 285, 2193.129, -1164.661, 1032.269)
Char.SetHasUsedEntryExit(77@, 2232.41, -1160.04, 20.0)
Char.SetHeading(77@, 4.98)
Char.GiveWeapon(77@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(77@, 55@)
Char.SetOnlyDamagedByPlayer(77@, True)
Char.SetNeverTargeted(77@, True)
Char.SetHealth(77@, 1000)
78@ = Char.Create(PedType.Mission1, 285, 2195.489, -1172.941, 1029.859)
Char.SetHasUsedEntryExit(78@, 2232.41, -1160.04, 20.0)
Char.SetHeading(78@, 181.323)
Char.GiveWeapon(78@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(78@, 55@)
Char.SetOnlyDamagedByPlayer(78@, True)
Char.SetHealth(78@, 120)
79@ = Char.Create(PedType.Mission1, 285, 2191.987, -1165.214, 1029.852)
Char.SetHasUsedEntryExit(79@, 2232.41, -1160.04, 20.0)
Char.SetHeading(79@, 181.323)
Char.GiveWeapon(79@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(79@, 55@)
Char.SetOnlyDamagedByPlayer(79@, True)
Char.SetHealth(79@, 150)
Char.SetMaxHealth(79@, 150)
80@ = Char.Create(PedType.Mission1, 285, 2190.698, -1156.633, 1029.859)
Char.SetHasUsedEntryExit(80@, 2232.41, -1160.04, 20.0)
Char.SetHeading(80@, 189.575)
Char.GiveWeapon(80@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(80@, 55@)
Char.SetOnlyDamagedByPlayer(80@, True)
Char.SetAccuracy(80@, 30)
81@ = Char.Create(PedType.Mission1, 285, 2194.593, -1156.995, 1029.852)
Char.SetHasUsedEntryExit(81@, 2232.41, -1160.04, 20.0)
Char.SetHeading(81@, 275.754)
Char.GiveWeapon(81@, WeaponType.Mp5, 9999)
Char.SetDecisionMaker(81@, 55@)
Char.SetOnlyDamagedByPlayer(81@, True)
82@ = Char.Create(PedType.Mission1, 63, 2192.91, -1182.15, 1029.35)
Char.SetHasUsedEntryExit(82@, 2232.41, -1160.04, 20.0)
Char.SetNeverTargeted(82@, True)
Char.SetDecisionMaker(82@, 55@)
Char.SetProofs(82@, False, True, False, False, False)
152@ = 3
153@ = 1

:DRUGS4_20607
if 
  173@ == 0
goto_if_false @DRUGS4_20710
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2241.34, -1186.11, 1029.76, 6.6, 6.6, 3.0, False)
goto_if_false @DRUGS4_20710
if 
  Object.DoesExist(93@)
goto_if_false @DRUGS4_20696
Object.Break(93@, 1)

:DRUGS4_20696
Char.ShutUp($stattreadstamina_ctr, True)
173@ = 1

:DRUGS4_20710
if 
  173@ == 1
goto_if_false @DRUGS4_20928
47@ = Char.CreateSwatRope(PedType.Mission4, 285, 2246.42, -1192.88, 1039.5)
Char.GiveWeapon(47@, WeaponType.Mp5, 9999)
Char.SetRelationship(47@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(47@, RelationshipType.Hate, PedType.Mission3)
Char.SetDecisionMaker(47@, 57@)
Char.SetOnlyDamagedByPlayer(47@, True)
Char.SetHealth(47@, 150)
Char.SetMaxHealth(47@, 150)
Char.SetAccuracy(47@, 80)
if 
  not Char.IsDead(37@)
goto_if_false @DRUGS4_20859
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS4_20859
Task.KillCharOnFoot(37@, 47@)

:DRUGS4_20859
if 
  not Char.IsDead(36@)
goto_if_false @DRUGS4_20914
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS4_20914
set_lvar_int_to_lvar_int 118@ = 36@
set_lvar_int_to_lvar_int 119@ = 47@
gosub @DRUGS4_66916

:DRUGS4_20914
TIMERA = 0
173@ = 2

:DRUGS4_20928
if 
  173@ == 2
goto_if_false @DRUGS4_21212
if 
  TIMERA > 1000
goto_if_false @DRUGS4_21212
48@ = Char.CreateSwatRope(PedType.Mission4, 285, 2246.11, -1189.55, 1038.09)
Char.GiveWeapon(48@, WeaponType.Mp5, 9999)
Char.SetRelationship(48@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(48@, RelationshipType.Hate, PedType.Mission3)
Char.SetDecisionMaker(48@, 57@)
Char.SetOnlyDamagedByPlayer(48@, True)
Char.SetHealth(48@, 125)
Char.SetMaxHealth(48@, 125)
Char.SetAccuracy(48@, 80)
if 
  not Char.IsDead(36@)
goto_if_false @DRUGS4_21179
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS4_21140
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS4_21133
set_lvar_int_to_lvar_int 118@ = 36@
set_lvar_int_to_lvar_int 119@ = 47@
set_lvar_int_to_lvar_int 120@ = 48@
gosub @DRUGS4_67005

:DRUGS4_21133
goto @DRUGS4_21179

:DRUGS4_21140
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS4_21179
set_lvar_int_to_lvar_int 118@ = 36@
set_lvar_int_to_lvar_int 119@ = 48@
gosub @DRUGS4_66916

:DRUGS4_21179
if 
  not Char.IsDead(37@)
goto_if_false @DRUGS4_21200
Task.Die(37@)

:DRUGS4_21200
Streaming.MarkModelAsNoLongerNeeded(#IMY_SKYLIGHT)
173@ = 3

:DRUGS4_21212
if 
  173@ > 2
goto_if_false @DRUGS4_21430
if 
  138@ == 0
goto_if_false @DRUGS4_21337
if 
  not Char.IsDead(47@)
goto_if_false @DRUGS4_21337
59@ = Char.GetScriptTaskStatus(47@, 1283)
if or
  is_int_lvar_equal_to_constant 59@ == 7
  Char.HasBeenDamagedByChar(47@, $stattreadstamina_ctr)
goto_if_false @DRUGS4_21337
Task.KillCharOnFoot(47@, $stattreadstamina_ctr)
if 
  not Char.IsDead(37@)
goto_if_false @DRUGS4_21330
Char.ExplodeHead(37@)

:DRUGS4_21330
138@ = 1

:DRUGS4_21337
if 
  139@ == 0
goto_if_false @DRUGS4_21430
if 
  not Char.IsDead(48@)
goto_if_false @DRUGS4_21430
60@ = Char.GetScriptTaskStatus(48@, 1283)
if or
  is_int_lvar_equal_to_constant 60@ == 7
  Char.HasBeenDamagedByChar(48@, $stattreadstamina_ctr)
goto_if_false @DRUGS4_21430
Task.KillCharOnFoot(48@, $stattreadstamina_ctr)
Char.SetOnlyDamagedByPlayer(48@, False)
139@ = 1

:DRUGS4_21430
if 
  153@ == 1
goto_if_false @DRUGS4_28756
if 
  163@ == 0
goto_if_false @DRUGS4_21635
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2232.7, -1188.84, 1029.4, 5.0, 5.0, 3.5, False)
  Char.IsDead(69@)
  Char.IsDead(70@)
goto_if_false @DRUGS4_21635
Char.ShutUp($stattreadstamina_ctr, False)
if 
  Object.DoesExist(85@)
goto_if_false @DRUGS4_21585
Object.FreezePosition(85@, False)
Object.SetRotationVelocity(85@, 0.0, 0.6, 0.0)
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot3, 85@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:DRUGS4_21585
if 
  not Char.IsDead(36@)
goto_if_false @DRUGS4_21606
Char.ClearTasks(36@)

:DRUGS4_21606
if 
  181@ == 3
goto_if_false @DRUGS4_21628
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)

:DRUGS4_21628
163@ = 1

:DRUGS4_21635
if 
  163@ == 1
goto_if_false @DRUGS4_21729
if 
  not Char.IsDead(75@)
goto_if_false @DRUGS4_21729
Task.PlayAnimNonInterruptable(75@, "SWT_VENT_01", "SWAT", 1000.0, False, False, False, False, -1)
TIMERB = 0
163@ = 2
164@ = 1

:DRUGS4_21729
if 
  163@ == 2
goto_if_false @DRUGS4_21914
if 
  not Char.IsDead(75@)
goto_if_false @DRUGS4_21914
if 
  Char.IsPlayingAnim(75@, "SWT_VENT_01")
goto_if_false @DRUGS4_21914
90@ = Char.GetAnimCurrentTime(75@, "SWT_VENT_01")
if 
  90@ == 1.0
goto_if_false @DRUGS4_21914
Char.SetCoordinates(75@, 2217.85, -1188.86, 1028.93)
set_lvar_int_to_lvar_int 118@ = 75@
122@ = 2220.538
123@ = -1189.594
124@ = 1029.845
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66848
163@ = 3

:DRUGS4_21914
if 
  164@ == 1
goto_if_false @DRUGS4_22013
if 
  TIMERB > 3166
goto_if_false @DRUGS4_22013
if 
  not Char.IsDead(76@)
goto_if_false @DRUGS4_22013
Task.PlayAnimNonInterruptable(76@, "SWT_VENT_02", "SWAT", 1000.0, False, False, False, False, -1)
164@ = 2

:DRUGS4_22013
if 
  164@ == 2
goto_if_false @DRUGS4_22153
if 
  not Char.IsDead(76@)
goto_if_false @DRUGS4_22153
if 
  Char.IsPlayingAnim(76@, "SWT_VENT_02")
goto_if_false @DRUGS4_22153
91@ = Char.GetAnimCurrentTime(76@, "SWT_VENT_02")
if 
  91@ == 1.0
goto_if_false @DRUGS4_22153
Char.SetCoordinates(76@, 2217.85, -1188.86, 1028.93)
Task.KillCharOnFoot(76@, $stattreadstamina_ctr)
164@ = 3

:DRUGS4_22153
if 
  174@ == 1
goto_if_false @DRUGS4_22336
if 
  not Char.IsDead(82@)
goto_if_false @DRUGS4_22336
Char.SetHealth(82@, 150)
121@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2193.064, -1188.77, 1029.845, MoveState.Sprint, 10000)
Task.GoStraightToCoord(-1, 2206.833, -1188.83, 1029.845, MoveState.Sprint, 10000)
Task.GoStraightToCoord(-1, 2209.588, -1190.2, 1029.845, MoveState.Sprint, 10000)
Task.GoStraightToCoord(-1, 2209.7, -1197.323, 1029.845, MoveState.Sprint, 10000)
Task.AchieveHeading(-1, 358.428)
Task.StayInSamePlace(-1, True)
Sequence.Close(121@)
Char.PerformSequence(82@, 121@)
Sequence.Clear(121@)
174@ = 2

:DRUGS4_22336
if 
  174@ == 2
goto_if_false @DRUGS4_22884
if 
  not Char.IsDead(82@)
goto_if_false @DRUGS4_22884
if 
  Char.LocateStoppedOnFoot3D(82@, 2209.7, -1197.323, 1029.845, 3.0, 3.0, 3.0, False)
goto_if_false @DRUGS4_22884
if 
  not Char.HasBeenDamagedByChar(82@, $stattreadstamina_ctr)
goto_if_false @DRUGS4_22884
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2209.7, -1197.323, 1029.845, 3.0, 3.0, 3.0, False)
goto_if_false @DRUGS4_22884
World.ClearArea(2209.7, -1197.323, 10.0, 10.0, False)
if 
  not Char.IsDead(36@)
goto_if_false @DRUGS4_22537
Char.RemoveElegantly(36@)
goto @DRUGS4_22542

:DRUGS4_22537
Char.MarkAsNoLongerNeeded(36@)

:DRUGS4_22542
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2207.529, -1195.725, 1031.273, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2208.273, -1196.114, 1030.731, SwitchType.JumpCut)
Char.ClearTasksImmediately(82@)
Char.SetCoordinates(82@, 2209.8, -1197.338, 1028.845)
Char.SetHeading(82@, 359.354)
Char.SetCoordinates($stattreadstamina_ctr, 2209.8, -1196.338, 1028.845)
Char.SetHeading($stattreadstamina_ctr, 178.62)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
if 
  179@ <> 0
goto_if_false @DRUGS4_22712
179@ = 0
178@ += 1

:DRUGS4_22712
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15821)

:DRUGS4_22719
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_22745
wait 0
goto @DRUGS4_22719

:DRUGS4_22745
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_DA', 3000, 1)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_03", "KISSING", 4.0, False, False, False, False, -1)
if 
  not Char.IsDead(82@)
goto_if_false @DRUGS4_22870
Task.PlayAnim(82@, "GRLFRD_KISS_03", "KISSING", 4.0, False, False, False, False, -1)

:DRUGS4_22870
Char.SetHealth($stattreadstamina_ctr, 100)
174@ = 3

:DRUGS4_22884
if 
  174@ == 3
goto_if_false @DRUGS4_22988
if 
  not Char.IsDead(82@)
goto_if_false @DRUGS4_22988
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_03")
goto_if_false @DRUGS4_22988
if 
  Char.IsPlayingAnim(82@, "GRLFRD_KISS_03")
goto_if_false @DRUGS4_22988
174@ = 4

:DRUGS4_22988
if 
  174@ == 4
goto_if_false @DRUGS4_23116
if 
  not Char.IsDead(82@)
goto_if_false @DRUGS4_23116
if 
  not Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_03")
goto_if_false @DRUGS4_23116
if 
  not Char.IsPlayingAnim(82@, "GRLFRD_KISS_03")
goto_if_false @DRUGS4_23116
Char.SetHealth(82@, 5)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.ClearPrints
174@ = 5

:DRUGS4_23116
if 
  162@ == 0
goto_if_false @DRUGS4_23217
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2240.8, -1182.4, 1029.41, 4.0, 4.0, 2.5, False)
goto_if_false @DRUGS4_23217
if 
  not Char.IsDead(38@)
goto_if_false @DRUGS4_23210
Char.SetOnlyDamagedByPlayer(38@, False)
Char.ExplodeHead(38@)

:DRUGS4_23210
162@ = 1

:DRUGS4_23217
if 
  156@ == 0
goto_if_false @DRUGS4_23317
if 
  not Char.IsDead(70@)
goto_if_false @DRUGS4_23317
if or
  Char.HasBeenDamagedByChar(70@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(70@, $stattreadstamina_ctr, 2.5, 2.5, 3.0, False)
goto_if_false @DRUGS4_23317
Char.SetAccuracy(70@, 30)
Task.KillCharOnFoot(70@, $stattreadstamina_ctr)
156@ = 1

:DRUGS4_23317
if 
  157@ == 0
goto_if_false @DRUGS4_23422
if 
  158@ == 0
goto_if_false @DRUGS4_23422
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2204.65, -1188.62, 1029.44, 5.0, 5.0, 3.5, False)
goto_if_false @DRUGS4_23422
157@ = 1
158@ = 1
174@ = 1

:DRUGS4_23422
if 
  157@ == 1
goto_if_false @DRUGS4_23486
if 
  not Char.IsDead(71@)
goto_if_false @DRUGS4_23486
set_lvar_int_to_lvar_int 118@ = 71@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66967
157@ = 2

:DRUGS4_23486
if 
  158@ == 1
goto_if_false @DRUGS4_23606
if 
  not Char.IsDead(72@)
goto_if_false @DRUGS4_23606
Path.FlushRoute
Path.ExtendRoute(2186.67, -1192.4, 1031.867)
Path.ExtendRoute(2188.44, -1193.95, 1031.27)
Path.ExtendRoute(2193.31, -1193.57, 1030.34)
Path.ExtendRoute(2196.239, -1191.459, 1029.85)
Task.FollowPointRoute(72@, 6, RouteMode.Once)
158@ = 2

:DRUGS4_23606
if 
  158@ == 2
goto_if_false @DRUGS4_23716
if 
  not Char.IsDead(72@)
goto_if_false @DRUGS4_23716
if or
  Char.LocateStoppedAnyMeans2D(72@, 2196.239, -1191.459, 2.0, 2.0, False)
  Char.HasBeenDamagedByChar(72@, $stattreadstamina_ctr)
goto_if_false @DRUGS4_23716
set_lvar_int_to_lvar_int 118@ = 72@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66967
158@ = 3

:DRUGS4_23716
if 
  159@ == 0
goto_if_false @DRUGS4_23780
if 
  not Char.IsDead(73@)
goto_if_false @DRUGS4_23780
set_lvar_int_to_lvar_int 118@ = 73@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66967
159@ = 1

:DRUGS4_23780
if 
  160@ == 0
goto_if_false @DRUGS4_23844
if 
  not Char.IsDead(74@)
goto_if_false @DRUGS4_23844
set_lvar_int_to_lvar_int 118@ = 74@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66967
160@ = 1

:DRUGS4_23844
if 
  166@ == 0
goto_if_false @DRUGS4_23948
if 
  not Char.IsDead(78@)
goto_if_false @DRUGS4_23948
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2193.41, -1176.12, 1029.42, 4.0, 4.0, 3.5, False)
goto_if_false @DRUGS4_23948
set_lvar_int_to_lvar_int 118@ = 78@
gosub @DRUGS4_67050
166@ = 1

:DRUGS4_23948
if 
  167@ == 0
goto_if_false @DRUGS4_24012
if 
  not Char.IsDead(79@)
goto_if_false @DRUGS4_24012
set_lvar_int_to_lvar_int 118@ = 79@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66916
167@ = 1

:DRUGS4_24012
if 
  165@ == 0
goto_if_false @DRUGS4_24174
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2193.4, -1173.53, 1029.69, 3.0, 3.0, 3.0, False)
  Char.IsDead(79@)
goto_if_false @DRUGS4_24174
Char.RemoveElegantly(36@)
Char.RemoveElegantly(37@)
Char.RemoveElegantly(38@)
Char.RemoveElegantly(67@)
Char.RemoveElegantly(47@)
Char.RemoveElegantly(48@)
if 
  Object.DoesExist(86@)
goto_if_false @DRUGS4_24167
Object.FreezePosition(86@, False)
Object.SetRotationVelocity(86@, 0.0, 0.8, 0.0)
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot3, 86@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:DRUGS4_24167
165@ = 1

:DRUGS4_24174
if 
  165@ == 1
goto_if_false @DRUGS4_24257
if 
  not Char.IsDead(77@)
goto_if_false @DRUGS4_24257
Task.PlayAnimNonInterruptable(77@, "SWT_VNT_SHT_IN", "SWAT", 1000.0, False, False, False, True, -1)
165@ = 2

:DRUGS4_24257
if 
  165@ == 2
goto_if_false @DRUGS4_24517
if 
  not Char.IsDead(77@)
goto_if_false @DRUGS4_24517
if 
  Char.IsPlayingAnim(77@, "SWT_VNT_SHT_IN")
goto_if_false @DRUGS4_24517
92@ = Char.GetAnimCurrentTime(77@, "SWT_VNT_SHT_IN")
if 
  92@ == 1.0
goto_if_false @DRUGS4_24517
Task.PlayAnimNonInterruptable(77@, "SWT_VNT_SHT_LOOP", "SWAT", 1000.0, False, False, False, True, -1)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
World.FireSingleBullet(2193.268, -1165.441, 1031.124, $x, $y, $z, 1)
Audio.ReportMissionAudioEventAtChar(77@, 1157)
Fx.AddBigGunFlash(2193.268, -1165.441, 1031.124, $x, $y, $z)
Char.SetNeverTargeted(77@, False)
Char.SetIsTargetPriority(77@, True)
TIMERB = 1000
165@ = 3

:DRUGS4_24517
if 
  165@ == 3
goto_if_false @DRUGS4_24788
if 
  TIMERB > 1000
goto_if_false @DRUGS4_24788
if 
  not Char.IsDead(77@)
goto_if_false @DRUGS4_24788
if 
  Char.IsPlayingAnim(77@, "SWT_VNT_SHT_LOOP")
goto_if_false @DRUGS4_24788
92@ = Char.GetAnimCurrentTime(77@, "SWT_VNT_SHT_LOOP")
if 
  92@ == 1.0
goto_if_false @DRUGS4_24788
Task.PlayAnimNonInterruptable(77@, "SWT_VNT_SHT_LOOP", "SWAT", 1000.0, False, False, False, True, -1)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
$z += 0.5
World.FireSingleBullet(2193.46, -1165.83, 1031.55, $x, $y, $z, 3)
Audio.ReportMissionAudioEventAtChar(77@, 1157)
Fx.AddBigGunFlash(2193.268, -1165.441, 1031.124, $x, $y, $z)
TIMERB = 0

:DRUGS4_24788
if 
  4 > 165@
goto_if_false @DRUGS4_24978
if 
  not Char.IsDead(77@)
goto_if_false @DRUGS4_24978
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2193.12, -1161.86, 1029.61, 2.8, 2.8, 3.0, False)
  Char.HasBeenDamagedByChar(77@, $stattreadstamina_ctr)
goto_if_false @DRUGS4_24978
if 
  Char.DoesExist(77@)
goto_if_false @DRUGS4_24971
Char.SetCollision(77@, False)
Char.SetCoordinates(77@, 2193.129, -1164.661, 1032.269)
Task.PlayAnimNonInterruptable(77@, "SWT_VNT_SHT_DIE", "SWAT", 1000.0, False, False, False, True, -1)
Char.SetNeverTargeted(77@, True)

:DRUGS4_24971
165@ = 4

:DRUGS4_24978
if 
  165@ == 4
goto_if_false @DRUGS4_25098
if 
  not Char.IsDead(77@)
goto_if_false @DRUGS4_25098
if 
  Char.IsPlayingAnim(77@, "SWT_VNT_SHT_DIE")
goto_if_false @DRUGS4_25098
92@ = Char.GetAnimCurrentTime(77@, "SWT_VNT_SHT_DIE")
if 
  92@ == 1.0
goto_if_false @DRUGS4_25098
165@ = 5

:DRUGS4_25098
if 
  165@ == 5
goto_if_false @DRUGS4_25180
if 
  not Char.IsDead(77@)
goto_if_false @DRUGS4_25180
if or
  not Char.IsOnScreen(77@)
  Char.LocateAnyMeansChar2D(77@, $stattreadstamina_ctr, 5.0, 5.0, False)
goto_if_false @DRUGS4_25180
Char.RemoveElegantly(77@)
165@ = 6

:DRUGS4_25180
if 
  168@ == 0
goto_if_false @DRUGS4_25284
if 
  not Char.IsDead(80@)
goto_if_false @DRUGS4_25284
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2193.19, -1160.67, 1029.54, 4.0, 4.0, 3.5, False)
goto_if_false @DRUGS4_25284
set_lvar_int_to_lvar_int 118@ = 80@
gosub @DRUGS4_67133
168@ = 1

:DRUGS4_25284
if 
  169@ == 0
goto_if_false @DRUGS4_25364
if 
  not Char.IsDead(81@)
goto_if_false @DRUGS4_25364
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_25364
set_lvar_int_to_lvar_int 118@ = 81@
set_lvar_int_to_var_int 119@ = $big_smoke_car
gosub @DRUGS4_66916
169@ = 1

:DRUGS4_25364
if 
  170@ == 0
goto_if_false @DRUGS4_25444
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_25444
if 
  not Char.IsDead(81@)
goto_if_false @DRUGS4_25444
set_lvar_int_to_var_int 118@ = $big_smoke_car
set_lvar_int_to_lvar_int 119@ = 81@
gosub @DRUGS4_66967
170@ = 1

:DRUGS4_25444
if 
  163@ == 3
goto_if_false @DRUGS4_25490
if 
  Char.IsDead(75@)
goto_if_false @DRUGS4_25490
Char.MarkAsNoLongerNeeded(75@)
163@ = 4

:DRUGS4_25490
if 
  164@ == 3
goto_if_false @DRUGS4_25536
if 
  Char.IsDead(76@)
goto_if_false @DRUGS4_25536
Char.MarkAsNoLongerNeeded(76@)
163@ = 4

:DRUGS4_25536
if 
  162@ == 1
goto_if_false @DRUGS4_25582
if 
  Char.IsDead(38@)
goto_if_false @DRUGS4_25582
Char.MarkAsNoLongerNeeded(38@)
162@ = 2

:DRUGS4_25582
if 
  156@ == 1
goto_if_false @DRUGS4_25628
if 
  Char.IsDead(70@)
goto_if_false @DRUGS4_25628
Char.MarkAsNoLongerNeeded(70@)
156@ = 2

:DRUGS4_25628
if 
  157@ == 2
goto_if_false @DRUGS4_25674
if 
  Char.IsDead(71@)
goto_if_false @DRUGS4_25674
Char.MarkAsNoLongerNeeded(71@)
157@ = 3

:DRUGS4_25674
if 
  158@ == 2
goto_if_false @DRUGS4_25720
if 
  Char.IsDead(72@)
goto_if_false @DRUGS4_25720
Char.MarkAsNoLongerNeeded(72@)
158@ = 4

:DRUGS4_25720
if 
  159@ == 1
goto_if_false @DRUGS4_25766
if 
  Char.IsDead(73@)
goto_if_false @DRUGS4_25766
Char.MarkAsNoLongerNeeded(73@)
159@ = 2

:DRUGS4_25766
if 
  160@ == 1
goto_if_false @DRUGS4_25812
if 
  Char.IsDead(74@)
goto_if_false @DRUGS4_25812
Char.MarkAsNoLongerNeeded(74@)
160@ = 2

:DRUGS4_25812
if 
  166@ == 1
goto_if_false @DRUGS4_25858
if 
  Char.IsDead(78@)
goto_if_false @DRUGS4_25858
Char.MarkAsNoLongerNeeded(78@)
166@ = 2

:DRUGS4_25858
if 
  167@ == 1
goto_if_false @DRUGS4_25904
if 
  Char.IsDead(79@)
goto_if_false @DRUGS4_25904
Char.MarkAsNoLongerNeeded(79@)
167@ = 2

:DRUGS4_25904
if 
  165@ == 4
goto_if_false @DRUGS4_25950
if 
  Char.IsDead(77@)
goto_if_false @DRUGS4_25950
Char.MarkAsNoLongerNeeded(77@)
165@ = 5

:DRUGS4_25950
if 
  168@ == 1
goto_if_false @DRUGS4_25996
if 
  Char.IsDead(80@)
goto_if_false @DRUGS4_25996
Char.MarkAsNoLongerNeeded(80@)
168@ = 2

:DRUGS4_25996
if 
  169@ == 1
goto_if_false @DRUGS4_26042
if 
  Char.IsDead(81@)
goto_if_false @DRUGS4_26042
Char.MarkAsNoLongerNeeded(81@)
169@ = 2

:DRUGS4_26042
if 
  174@ > 5
goto_if_false @DRUGS4_26099
if 
  not Char.IsDead(82@)
goto_if_false @DRUGS4_26099
Char.MarkAsNoLongerNeeded(82@)
Streaming.RemoveAnimation("KISSING")
174@ = 6

:DRUGS4_26099
if 
  171@ == 0
goto_if_false @DRUGS4_26568
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_26568
if 
  Char.LocateAnyMeansChar3D($big_smoke_car, $stattreadstamina_ctr, 3.5, 3.5, 3.5, False)
goto_if_false @DRUGS4_26568
if 
  Char.IsDead(80@)
goto_if_false @DRUGS4_26552
if 
  Char.IsDead(81@)
goto_if_false @DRUGS4_26529
63@ = Char.GetCurrentWeapon($stattreadstamina_ctr)
Camera.DoFade(250, Fade.Out)
Player.SetControl($statbike_temp, False)
Char.SetOnlyDamagedByPlayer($big_smoke_car, False)
Streaming.RemoveAnimation("KISSING")
Streaming.MarkModelAsNoLongerNeeded(107)
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.MarkModelAsNoLongerNeeded(#LXR_MOTEL_DOORSIM)
Streaming.MarkModelAsNoLongerNeeded(#LXR_MOTELVENT)
Streaming.MarkModelAsNoLongerNeeded(#IMY_SKYLIGHT)
Streaming.MarkModelAsNoLongerNeeded(#KMB_TROLLEY)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(346)
Char.RemoveElegantly(34@)
Char.RemoveElegantly(35@)
Char.RemoveElegantly(36@)
Char.RemoveElegantly(37@)
Char.RemoveElegantly(38@)
Char.RemoveElegantly(47@)
Char.RemoveElegantly(48@)
Char.RemoveElegantly(51@)
Char.RemoveElegantly(52@)
Char.RemoveElegantly(53@)
Char.RemoveElegantly(54@)
Char.RemoveElegantly(66@)
Char.RemoveElegantly(67@)
Char.RemoveElegantly(68@)
Char.RemoveElegantly(69@)
Char.RemoveElegantly(70@)
Char.RemoveElegantly(71@)
Char.RemoveElegantly(72@)
Char.RemoveElegantly(73@)
Char.RemoveElegantly(74@)
Char.RemoveElegantly(75@)
Char.RemoveElegantly(76@)
Char.RemoveElegantly(77@)
Char.RemoveElegantly(78@)
Char.RemoveElegantly(79@)
Char.RemoveElegantly(80@)
Char.RemoveElegantly(81@)
Char.RemoveElegantly(82@)
Char.RemoveElegantly(83@)
Object.Delete(84@)
Object.Delete(85@)
Object.Delete(86@)
Particle.Kill(65@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15868)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15869)
Streaming.RequestAnimation("GANGS")
Streaming.LoadAllModelsNow

:DRUGS4_26476
if or
  not Streaming.HasAnimationLoaded("GANGS")
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_26515
wait 0
goto @DRUGS4_26476

:DRUGS4_26515
171@ = 2
goto @DRUGS4_26545

:DRUGS4_26529
Text.PrintNow('LAF1_21', 1000, 1)

:DRUGS4_26545
goto @DRUGS4_26568

:DRUGS4_26552
Text.PrintNow('LAF1_21', 1000, 1)

:DRUGS4_26568
if 
  171@ == 2
goto_if_false @DRUGS4_27175
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_27175
Hud.SwitchWidescreen(True)
World.ClearArea(2223.971, -1149.75, 200.0, 200.0, False)
Camera.SetNearClip(0.1)
Camera.DoFade(500, Fade.In)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($big_smoke_car)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.SetCurrentWeapon($big_smoke_car, WeaponType.Unarmed)
Char.RemoveWeapon($big_smoke_car, WeaponType.Pistol)
Camera.SetFixedPosition(2197.487, -1157.675, 1030.356, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2198.383, -1157.24, 1030.261, SwitchType.JumpCut)
Char.SetCoordinates($big_smoke_car, 2202.188, -1156.93, 1028.844)
Char.SetHeading($big_smoke_car, 85.6456)
Task.PlayAnim($big_smoke_car, "PRTIAL_GNGTLKH", "GANGS", 8.0, False, False, False, False, -1)
Char.SetCoordinates($stattreadstamina_ctr, 2197.2, -1156.929, 1028.844)
Char.SetHeading($stattreadstamina_ctr, 269.764)
Task.GoStraightToCoord($stattreadstamina_ctr, 2201.188, -1156.93, 1028.844, MoveState.Walk, -1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_JH', 5000, 1)
Char.StartFacialTalk($big_smoke_car, 10000)

:DRUGS4_26881
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_26907
wait 0
goto @DRUGS4_26881

:DRUGS4_26907
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_26934
Char.StopFacialTalk($big_smoke_car)

:DRUGS4_26934
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15871)
Camera.SetFixedPosition(2201.234, -1157.545, 1030.373, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2201.804, -1156.723, 1030.406, SwitchType.JumpCut)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_27133
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($big_smoke_car)
Char.SetCoordinates($stattreadstamina_ctr, 2201.188, -1156.93, 1028.844)
Char.SetHeading($stattreadstamina_ctr, 270.0)
Task.PlayAnim($big_smoke_car, "HNDSHKFA_SWT", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim($stattreadstamina_ctr, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -1)
TIMERA = 0

:DRUGS4_27133
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('FIN1_JI', 2000, 1)
Char.StartFacialTalk($stattreadstamina_ctr, 2000)
skip_cutscene_start_internal @DRUGS4_27696
171@ = 3

:DRUGS4_27175
if 
  171@ > 2
goto_if_false @DRUGS4_27317
if 
  6 > 171@
goto_if_false @DRUGS4_27317
if 
  182@ == 0
goto_if_false @DRUGS4_27317
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_27317
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_27317
Text.ClearPrints
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_27294
Char.StartFacialTalk($big_smoke_car, 10000)

:DRUGS4_27294
Text.PrintNow('FIN1_JK', 2000, 1)
182@ = 1

:DRUGS4_27317
if 
  182@ == 1
goto_if_false @DRUGS4_27378
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_27378
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_27378
Char.StopFacialTalk($big_smoke_car)
182@ = 2

:DRUGS4_27378
if 
  171@ == 3
goto_if_false @DRUGS4_27619
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_27619
94@ = Char.GetScriptTaskStatus($big_smoke_car, 1541)
if 
  is_int_lvar_equal_to_constant 94@ == 7
goto_if_false @DRUGS4_27619
95@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1541)
if 
  is_int_lvar_equal_to_constant 95@ == 7
goto_if_false @DRUGS4_27619
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_27619
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_27619
TIMERA = 0
Camera.SetFixedPosition(2202.409, -1157.19, 1030.515, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2201.414, -1157.129, 1030.438, SwitchType.JumpCut)
Path.FlushRoute
Path.ExtendRoute(2193.09, -1157.16, 1029.84)
Path.ExtendRoute(2193.379, -1145.899, 1029.84)
Task.FollowPointRoute($stattreadstamina_ctr, 4, RouteMode.Once)
Task.FollowPointRoute($big_smoke_car, 4, RouteMode.Once)
171@ = 4

:DRUGS4_27619
if 
  171@ == 4
goto_if_false @DRUGS4_27644
171@ = 5

:DRUGS4_27644
if 
  171@ == 5
goto_if_false @DRUGS4_28756
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_28756
if 
  TIMERA > 1500
goto_if_false @DRUGS4_28756

:DRUGS4_27696
skip_cutscene_end 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_27727
Char.StopFacialTalk($big_smoke_car)

:DRUGS4_27727
Camera.DoFade(250, Fade.Out)

:DRUGS4_27734
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS4_27758
wait 0
goto @DRUGS4_27734

:DRUGS4_27758
Char.SetCurrentWeapon($stattreadstamina_ctr, 63@)
World.ClearArea(2192.194, -1153.241, 100.0, 100.0, True)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_28056
Char.StopFacialTalk($big_smoke_car)
Char.StopFacialTalk($stattreadstamina_ctr)
World.SwitchEntryExit('MOTEL1', True)
Char.SetHasUsedEntryExit($big_smoke_car, 2214.41, -1150.48, 3.0)
Char.SetProofs($big_smoke_car, True, True, True, True, True)
Char.ClearTasksImmediately($big_smoke_car)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($big_smoke_car, 2192.194, -1153.241, 32.56)
Char.SetHeading($big_smoke_car, 180.359)
Char.SetCoordinates($stattreadstamina_ctr, 2193.99, -1153.14, 33.56)
Char.SetHeading($stattreadstamina_ctr, 180.359)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Char.SetAreaVisible($big_smoke_car, 0)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2214.38, -1150.45, 1.0)
Char.SetHasUsedEntryExit($big_smoke_car, 2214.38, -1150.45, 1.0)
Streaming.SetAreaVisible(0)
Camera.SetFixedPosition(2201.644, -1164.351, 38.3367, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2201.008, -1163.641, 38.0327, SwitchType.JumpCut)
World.SwitchEntryExit('MOTEL1', False)

:DRUGS4_28056
Streaming.RemoveAnimation("GANGS")
Streaming.RequestModel(497)
Streaming.RequestCarRecording(349)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15800)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15872)
Streaming.LoadAllModelsNow

:DRUGS4_28091
if or
  not Streaming.HasModelLoaded(497)
  not Streaming.HasCarRecordingBeenLoaded(349)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_28131
wait 0
goto @DRUGS4_28091

:DRUGS4_28131
Task.GoStraightToCoord($stattreadstamina_ctr, 2193.86, -1157.682, 33.563, MoveState.Walk, -1)
wait 500
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_28200
Task.GoStraightToCoord($big_smoke_car, 2192.25, -1158.078, 33.56, MoveState.Walk, -1)

:DRUGS4_28200
40@ = Car.Create(497, 2249.51, -1111.52, 56.1)
Car.SetPetrolTankWeakpoint(40@, False)
Car.SetOnlyDamagedByPlayer(40@, True)
Car.SetHealth(40@, 2000)
44@ = Char.CreateInsideCar(40@, PedType.Mission2, 285)
Char.SetCanBeShotInVehicle(44@, False)
Car.LockDoors(40@, CarLock.Locked)
Char.SetCantBeDraggedOut(44@, True)
Car.SetForwardSpeed(40@, 30.0)
Char.SetDecisionMaker(44@, 55@)
Heli.SetBladesFullSpeed(40@)
51@ = Char.Create(PedType.Mission4, 285, 2161.84, -1154.26, 25.09)
Char.SetRelationship(51@, RelationshipType.Hate, PedType.Special)
Char.SetRelationship(51@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(51@, 57@)
52@ = Char.Create(PedType.Mission4, 285, 2159.84, -1154.26, 25.09)
Char.SetRelationship(52@, RelationshipType.Hate, PedType.Special)
Char.SetDecisionMaker(52@, 57@)
53@ = Char.Create(PedType.Mission4, 285, 2159.84, -1154.26, -5.09)
Char.SetRelationship(53@, RelationshipType.Hate, PedType.Special)
Char.SetRelationship(53@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(53@, 57@)
54@ = Char.Create(PedType.Mission4, 285, 2159.84, -1154.26, -8.09)
Char.SetRelationship(54@, RelationshipType.Hate, PedType.Special)
Char.SetDecisionMaker(54@, 57@)
132@ = 0
133@ = 0
135@ = 0
136@ = 0
Char.AttachToCar(51@, 40@, 1.4, 1.3, -0.1, 3, 190.0, WeaponType.Mp5)
Char.SetHealth(51@, 150)
Char.SetShootRate(51@, 70)
Char.AttachToCar(52@, 40@, 1.4, -0.8, -0.1, 3, 190.0, WeaponType.Mp5)
Char.SetHealth(52@, 150)
Char.SetShootRate(52@, 70)
Char.AttachToCar(53@, 40@, -1.4, 1.3, -0.1, 1, 190.0, WeaponType.Mp5)
Char.SetHealth(53@, 150)
Char.SetShootRate(53@, 70)
Char.AttachToCar(54@, 40@, -1.4, -0.8, -0.1, 1, 190.0, WeaponType.Mp5)
Char.SetHealth(54@, 150)
Streaming.SetAreaVisible(0)
Streaming.LoadScene(2193.86, -1157.682, 33.563)
Clock.SetTimeOfDay(2, 30)
World.ClearExtraColors(False)
Camera.DoFade(500, Fade.In)
TIMERB = 0
171@ = 6
172@ = 1

:DRUGS4_28756
if 
  Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_28795
Text.PrintNow('LAF1_70', 5000, 1)
goto @DRUGS4_67705

:DRUGS4_28795
if 
  171@ == 0
goto_if_false @DRUGS4_29398
gosub @DRUGS4_66554
if 
  178@ == 0
goto_if_false @DRUGS4_28903
if 
  179@ == 0
goto_if_false @DRUGS4_28903
if 
  149@ == 1
goto_if_false @DRUGS4_28903
set_lvar_int_to_constant 106@ = 15863
set_lvar_text_label 107@s = 'FIN1_JC'
gosub @DRUGS4_66512

:DRUGS4_28903
if 
  178@ == 1
goto_if_false @DRUGS4_28993
if 
  179@ == 0
goto_if_false @DRUGS4_28993
if 
  149@ == 1
goto_if_false @DRUGS4_28993
151@ = 1
set_lvar_int_to_constant 106@ = 15864
set_lvar_text_label 107@s = 'FIN1_JD'
gosub @DRUGS4_66512

:DRUGS4_28993
if 
  173@ > 0
goto_if_false @DRUGS4_29076
if 
  178@ == 2
goto_if_false @DRUGS4_29076
if 
  179@ == 0
goto_if_false @DRUGS4_29076
set_lvar_int_to_constant 106@ = 15866
set_lvar_text_label 107@s = 'FIN1_JF'
gosub @DRUGS4_66512

:DRUGS4_29076
if 
  157@ > 0
goto_if_false @DRUGS4_29159
if 
  178@ == 3
goto_if_false @DRUGS4_29159
if 
  179@ == 0
goto_if_false @DRUGS4_29159
set_lvar_int_to_constant 106@ = 15807
set_lvar_text_label 107@s = 'FIN1_BD'
gosub @DRUGS4_66512

:DRUGS4_29159
if 
  165@ > 0
goto_if_false @DRUGS4_29242
if 
  178@ == 4
goto_if_false @DRUGS4_29242
if 
  179@ == 0
goto_if_false @DRUGS4_29242
set_lvar_int_to_constant 106@ = 15818
set_lvar_text_label 107@s = 'FIN1_CK'
gosub @DRUGS4_66512

:DRUGS4_29242
if 
  178@ == 5
goto_if_false @DRUGS4_29307
if 
  179@ == 0
goto_if_false @DRUGS4_29307
set_lvar_int_to_constant 106@ = 15808
set_lvar_text_label 107@s = 'FIN1_BE'
gosub @DRUGS4_66512

:DRUGS4_29307
if 
  181@ == 1
goto_if_false @DRUGS4_29358
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_29358
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15803)
181@ = 2

:DRUGS4_29358
if 
  181@ == 2
goto_if_false @DRUGS4_29398
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_29398
181@ = 3

:DRUGS4_29398
if 
  172@ == 1
goto_if_false @DRUGS4_32115
if 
  171@ == 6
goto_if_false @DRUGS4_29673
if 
  TIMERB > 2000
goto_if_false @DRUGS4_29673
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_29477
Car.StartPlayback(40@, 349)

:DRUGS4_29477
Camera.SetFixedPosition(2195.099, -1157.921, 34.0291, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2194.103, -1157.979, 33.9628, SwitchType.JumpCut)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_29673
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS4_29673
wait 200
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS4_29592
Task.LookAtChar($stattreadstamina_ctr, 44@, 3000)

:DRUGS4_29592
wait 100
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS4_29639
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_29639
Task.LookAtChar($big_smoke_car, 44@, 3000)

:DRUGS4_29639
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_AA', 3000, 1)
TIMERB = 0
171@ = 7

:DRUGS4_29673
if 
  171@ == 7
goto_if_false @DRUGS4_30159
if 
  TIMERB > 2500
goto_if_false @DRUGS4_30159
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_30159
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_30159
175@ = 0
skip_cutscene_start_internal @DRUGS4_30860
Camera.SetFixedPosition(2176.641, -1179.425, 38.9175, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2177.136, -1178.588, 38.6847, SwitchType.JumpCut)
if 
  not Char.IsDead(51@)
goto_if_false @DRUGS4_29871
if 
  132@ == 0
goto_if_false @DRUGS4_29871
set_lvar_int_to_lvar_int 118@ = 51@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66916
132@ = 1

:DRUGS4_29871
if 
  not Char.IsDead(52@)
goto_if_false @DRUGS4_29951
if 
  133@ == 0
goto_if_false @DRUGS4_29951
set_lvar_int_to_lvar_int 118@ = 52@
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_29937
set_lvar_int_to_var_int 119@ = $big_smoke_car

:DRUGS4_29937
gosub @DRUGS4_66967
133@ = 1

:DRUGS4_29951
if 
  not Char.IsDead(53@)
goto_if_false @DRUGS4_30031
if 
  135@ == 0
goto_if_false @DRUGS4_30031
set_lvar_int_to_lvar_int 118@ = 53@
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_30017
set_lvar_int_to_var_int 119@ = $big_smoke_car

:DRUGS4_30017
gosub @DRUGS4_66967
135@ = 1

:DRUGS4_30031
if 
  not Char.IsDead(54@)
goto_if_false @DRUGS4_30095
if 
  136@ == 0
goto_if_false @DRUGS4_30095
set_lvar_int_to_lvar_int 118@ = 54@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66967
136@ = 1

:DRUGS4_30095
Task.GoStraightToCoord($big_smoke_car, 2192.683, -1168.586, 33.56, MoveState.Run, 5000)
Task.GoStraightToCoord($stattreadstamina_ctr, 2198.424, -1158.32, 33.56, MoveState.Run, 5000)
TIMERB = 0
171@ = 8

:DRUGS4_30159
if 
  171@ == 8
goto_if_false @DRUGS4_30458
if 
  TIMERB > 1500
goto_if_false @DRUGS4_30458
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_30458
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_30458
if 
  Car.IsPlaybackGoingOn(40@)
goto_if_false @DRUGS4_30249
Car.StopPlayback(40@)

:DRUGS4_30249
Camera.SetFixedPosition(2196.338, -1157.223, 32.9594, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2195.762, -1158.032, 33.0705, SwitchType.JumpCut)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2195.914, -1159.764, 32.563)
Char.SetHeading($stattreadstamina_ctr, 181.0915)
Task.PlayAnim($stattreadstamina_ctr, "SWT_WLLPK_L", "SWAT", 8.0, False, False, False, True, -1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('FIN1_JL', 3000, 1)
Car.SetCoordinates(40@, 2185.43, -1172.69, 37.05)
Heli.GotoCoords(40@, 2194.97, -1182.27, 37.0, 7.0, 7.0)
TIMERB = 0
171@ = 9

:DRUGS4_30458
if 
  171@ == 9
goto_if_false @DRUGS4_30654
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_30654
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "SWT_WLLPK_L")
goto_if_false @DRUGS4_30654
96@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "SWT_WLLPK_L")
if 
  96@ == 1.0
goto_if_false @DRUGS4_30654
Task.PlayAnim($stattreadstamina_ctr, "SWT_WLLSHOOT_IN_L", "SWAT", 8.0, False, True, True, False, -1)
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS4_30647
set_lvar_int_to_var_int 118@ = $big_smoke_car
set_lvar_int_to_lvar_int 119@ = 44@
gosub @DRUGS4_66967

:DRUGS4_30647
171@ = 10

:DRUGS4_30654
if 
  171@ == 10
goto_if_false @DRUGS4_32058
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_32058
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "SWT_WLLSHOOT_IN_L")
goto_if_false @DRUGS4_32058
96@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "SWT_WLLSHOOT_IN_L")
if 
  96@ == 1.0
goto_if_false @DRUGS4_32058
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_30848
58@ = Searchlight.CreateOnVehicle(40@, 0.0, 1.0, -0.5, 2193.73, -1166.85, 34.06, 4.0, 0.4)
Searchlight.PointAtChar(58@, $big_smoke_car, 0.2)

:DRUGS4_30848
Char.ClearTasksImmediately($stattreadstamina_ctr)
175@ = 1

:DRUGS4_30860
skip_cutscene_end 
if 
  175@ == 0
goto_if_false @DRUGS4_31753
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:DRUGS4_30889
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS4_30913
wait 0
goto @DRUGS4_30889

:DRUGS4_30913
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_30958
if 
  Car.IsPlaybackGoingOn(40@)
goto_if_false @DRUGS4_30958
Car.StopPlayback(40@)

:DRUGS4_30958
Car.Delete(40@)
Char.Delete(51@)
Char.Delete(52@)
Char.Delete(53@)
Char.Delete(54@)
Streaming.RequestModel(497)
Streaming.RequestModel(285)
Streaming.RequestModel(353)
Streaming.LoadAllModelsNow

:DRUGS4_31000
if or
  not Streaming.HasModelLoaded(497)
  not Streaming.HasModelLoaded(285)
  not Streaming.HasModelLoaded(353)
goto_if_false @DRUGS4_31037
wait 0
goto @DRUGS4_31000

:DRUGS4_31037
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_31070
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($big_smoke_car)
Char.SetOnlyDamagedByPlayer($big_smoke_car, False)

:DRUGS4_31070
40@ = Car.Create(497, 2249.51, -1111.52, 56.1)
Car.SetPetrolTankWeakpoint(40@, False)
Car.SetOnlyDamagedByPlayer(40@, True)
Car.SetForwardSpeed(40@, 30.0)
Car.SetHealth(40@, 2000)
58@ = Searchlight.CreateOnVehicle(40@, 0.0, 1.0, -0.5, 2193.73, -1166.85, 34.06, 3.0, 0.4)
Searchlight.PointAtChar(58@, $big_smoke_car, 0.2)
44@ = Char.CreateInsideCar(40@, PedType.Mission2, 285)
Char.SetCanBeShotInVehicle(44@, False)
Car.LockDoors(40@, CarLock.Locked)
Char.SetCantBeDraggedOut(44@, True)
Char.SetCanBeShotInVehicle(44@, False)
Char.SetDecisionMaker(44@, 55@)
Heli.SetBladesFullSpeed(40@)
Car.SetCoordinates(40@, 2188.28, -1176.54, 39.54)
Car.SetHeading(40@, 210.0)
51@ = Char.Create(PedType.Mission4, 285, 2161.84, -1154.26, 25.09)
Char.SetRelationship(51@, RelationshipType.Hate, PedType.Special)
Char.SetRelationship(51@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(51@, 57@)
52@ = Char.Create(PedType.Mission4, 285, 2159.84, -1154.26, 25.09)
Char.SetRelationship(52@, RelationshipType.Hate, PedType.Special)
Char.SetDecisionMaker(52@, 57@)
53@ = Char.Create(PedType.Mission4, 285, 2159.84, -1154.26, -5.09)
Char.SetRelationship(53@, RelationshipType.Hate, PedType.Special)
Char.SetRelationship(53@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(53@, 57@)
54@ = Char.Create(PedType.Mission4, 285, 2159.84, -1154.26, -8.09)
Char.SetRelationship(54@, RelationshipType.Hate, PedType.Special)
Char.SetDecisionMaker(54@, 57@)
132@ = 0
133@ = 0
135@ = 0
136@ = 0
Char.AttachToCar(51@, 40@, 1.4, 1.3, -0.1, 3, 190.0, WeaponType.Mp5)
Char.SetHealth(51@, 150)
Char.SetShootRate(51@, 70)
Char.AttachToCar(52@, 40@, 1.4, -0.8, -0.1, 3, 190.0, WeaponType.Mp5)
Char.SetHealth(52@, 150)
Char.SetShootRate(52@, 70)
Char.AttachToCar(53@, 40@, -1.4, 1.3, -0.1, 1, 190.0, WeaponType.Mp5)
Char.SetHealth(53@, 150)
Char.SetShootRate(53@, 70)
Char.AttachToCar(54@, 40@, -1.4, -0.8, -0.1, 1, 190.0, WeaponType.Mp5)
Char.SetHealth(54@, 150)
Streaming.LoadScene(2193.86, -1157.682, 33.563)
Char.SetCoordinates($stattreadstamina_ctr, 2194.53, -1159.24, 32.563)
Char.SetHeading($stattreadstamina_ctr, 173.208)
Char.SetCoordinates($big_smoke_car, 2192.638, -1169.202, 32.563)
Char.SetHeading($big_smoke_car, 180.668)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Camera.DoFade(750, Fade.In)

:DRUGS4_31753
132@ = 0
133@ = 0
135@ = 0
136@ = 0
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_31863
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS4_31863
Char.SetProofs($big_smoke_car, False, True, True, True, False)
Char.GiveWeapon($big_smoke_car, WeaponType.Mp5, 99999)
set_lvar_int_to_var_int 118@ = $big_smoke_car
set_lvar_int_to_lvar_int 119@ = 44@
gosub @DRUGS4_66967

:DRUGS4_31863
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_31894
Heli.SetReachedTargetDistance(40@, 3)
185@ = Blip.AddForCar(40@)

:DRUGS4_31894
Char.SetHealth($stattreadstamina_ctr, 100)
DecisionMaker.Remove(56@)
TIMERA = 0
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_31962
Char.SetOnlyDamagedByPlayer($big_smoke_car, False)
Char.SetHealth($big_smoke_car, 500)
$bc1_in_water = 100

:DRUGS4_31962
Streaming.RemoveAnimation("SWAT")
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.DisplayCounterWithString($bc1_in_water, CounterDisplay.Bar, 'LAF1_20')
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15873)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15819)
178@ = 0
179@ = 0
Text.PrintNow('LAF1_5', 5000, 1)
172@ = 2
171@ = 11

:DRUGS4_32058
if 
  11 > 171@
goto_if_false @DRUGS4_32115
if 
  Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_32115
Text.PrintNow('LAF1_70', 5000, 1)
goto @DRUGS4_67705

:DRUGS4_32115
if 
  172@ == 2
goto_if_false @DRUGS4_33686
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_32171
$bc1_in_water = Char.GetHealth($big_smoke_car)
$bc1_in_water /= 5
goto @DRUGS4_32194

:DRUGS4_32171
Text.PrintNow('LAF1_70', 5000, 1)
goto @DRUGS4_67705

:DRUGS4_32194
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_33686
if 
  171@ == 11
goto_if_false @DRUGS4_32278
if 
  TIMERA > 4000
goto_if_false @DRUGS4_32278
Task.GoStraightToCoord($big_smoke_car, 2193.199, -1179.67, 33.56, MoveState.Run, -1)
171@ = 12

:DRUGS4_32278
if 
  171@ == 12
goto_if_false @DRUGS4_32472
if 
  Char.LocateAnyMeans3D($big_smoke_car, 2193.199, -1179.67, 33.56, 1.5, 1.5, 2.5, False)
goto_if_false @DRUGS4_32472
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS4_32383
set_lvar_int_to_var_int 118@ = $big_smoke_car
set_lvar_int_to_lvar_int 119@ = 44@
gosub @DRUGS4_66967

:DRUGS4_32383
TIMERA = 0
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_32465
Heli.GotoCoords(40@, 2193.199, -1179.67, 40.5, 10.0, 10.0)
if 
  Searchlight.DoesExist(58@)
goto_if_false @DRUGS4_32465
Searchlight.PointAtChar(58@, $stattreadstamina_ctr, 0.2)

:DRUGS4_32465
171@ = 13

:DRUGS4_32472
if 
  171@ == 13
goto_if_false @DRUGS4_32592
if 
  TIMERA > 10000
goto_if_false @DRUGS4_32592
Task.GoStraightToCoord($big_smoke_car, 2200.652, -1188.776, 32.563, MoveState.Run, -1)
if 
  Searchlight.DoesExist(58@)
goto_if_false @DRUGS4_32562
Searchlight.PointAtChar(58@, $big_smoke_car, 0.2)

:DRUGS4_32562
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_32585
Car.SetOnlyDamagedByPlayer(40@, False)

:DRUGS4_32585
171@ = 14

:DRUGS4_32592
if 
  171@ == 14
goto_if_false @DRUGS4_32757
if 
  Char.LocateAnyMeans3D($big_smoke_car, 2200.652, -1188.776, 32.563, 1.5, 1.5, 3.5, False)
goto_if_false @DRUGS4_32757
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS4_32697
set_lvar_int_to_var_int 118@ = $big_smoke_car
set_lvar_int_to_lvar_int 119@ = 44@
gosub @DRUGS4_66967

:DRUGS4_32697
TIMERA = 0
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_32750
Heli.GotoCoords(40@, 2212.41, -1168.54, 42.0, 20.0, 20.0)

:DRUGS4_32750
171@ = 15

:DRUGS4_32757
if 
  171@ == 15
goto_if_false @DRUGS4_32854
if 
  TIMERA > 12000
goto_if_false @DRUGS4_32854
Task.GoStraightToCoord($big_smoke_car, 2209.474, -1185.644, 33.56, MoveState.Run, -1)
if 
  Searchlight.DoesExist(58@)
goto_if_false @DRUGS4_32847
Searchlight.PointAtChar(58@, $stattreadstamina_ctr, 0.2)

:DRUGS4_32847
171@ = 16

:DRUGS4_32854
if 
  171@ == 16
goto_if_false @DRUGS4_33019
if 
  Char.LocateAnyMeans3D($big_smoke_car, 2209.474, -1185.644, 33.56, 1.5, 1.5, 3.5, False)
goto_if_false @DRUGS4_33019
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS4_32959
set_lvar_int_to_var_int 118@ = $big_smoke_car
set_lvar_int_to_lvar_int 119@ = 44@
gosub @DRUGS4_66967

:DRUGS4_32959
TIMERA = 0
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_33012
Heli.GotoCoords(40@, 2223.66, -1169.4, 42.83, 20.0, 20.0)

:DRUGS4_33012
171@ = 17

:DRUGS4_33019
if 
  171@ == 17
goto_if_false @DRUGS4_33116
if 
  TIMERA > 5000
goto_if_false @DRUGS4_33116
Task.GoStraightToCoord($big_smoke_car, 2219.186, -1188.8, 33.563, MoveState.Run, -1)
if 
  Searchlight.DoesExist(58@)
goto_if_false @DRUGS4_33109
Searchlight.PointAtChar(58@, $big_smoke_car, 0.2)

:DRUGS4_33109
171@ = 18

:DRUGS4_33116
if 
  171@ == 18
goto_if_false @DRUGS4_33281
if 
  Char.LocateAnyMeans3D($big_smoke_car, 2219.186, -1188.8, 33.563, 1.5, 1.5, 3.5, False)
goto_if_false @DRUGS4_33281
if 
  not Char.IsDead(44@)
goto_if_false @DRUGS4_33221
set_lvar_int_to_var_int 118@ = $big_smoke_car
set_lvar_int_to_lvar_int 119@ = 44@
gosub @DRUGS4_66967

:DRUGS4_33221
TIMERA = 0
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_33274
Heli.GotoCoords(40@, 2242.91, -1178.87, 42.0, 10.0, 10.0)

:DRUGS4_33274
171@ = 19

:DRUGS4_33281
if 
  132@ == 0
goto_if_false @DRUGS4_33327
if 
  Char.IsDead(51@)
goto_if_false @DRUGS4_33327
Char.DetachFromCar(51@)
132@ = 1

:DRUGS4_33327
if 
  133@ == 0
goto_if_false @DRUGS4_33373
if 
  Char.IsDead(52@)
goto_if_false @DRUGS4_33373
Char.DetachFromCar(52@)
133@ = 1

:DRUGS4_33373
if 
  135@ == 0
goto_if_false @DRUGS4_33419
if 
  Char.IsDead(53@)
goto_if_false @DRUGS4_33419
Char.DetachFromCar(53@)
135@ = 1

:DRUGS4_33419
if 
  136@ == 0
goto_if_false @DRUGS4_33465
if 
  Char.IsDead(54@)
goto_if_false @DRUGS4_33465
Char.DetachFromCar(54@)
136@ = 1

:DRUGS4_33465
if 
  171@ > 10
goto_if_false @DRUGS4_33686
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_33651
41@ = Car.GetHealth(40@)
if 
  1250 > 41@
goto_if_false @DRUGS4_33644
Char.SetProofs($stattreadstamina_ctr, False, False, True, False, False)
Blip.Remove(185@)
Heli.GotoCoords(40@, 2220.44, -1128.29, 43.31, 30.0, 30.0)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_33595
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)

:DRUGS4_33595
Searchlight.Delete(58@)
TIMERA = 0
176@ = 1
Text.PrintNow('LAF1_69', 5000, 1)
172@ = 3
171@ = 20

:DRUGS4_33644
goto @DRUGS4_33686

:DRUGS4_33651
Text.PrintNow('LAF1_69', 1000, 1)
Searchlight.Delete(58@)
172@ = 3
171@ = 20

:DRUGS4_33686
if 
  172@ == 3
goto_if_false @DRUGS4_34636
if 
  23 > 171@
goto_if_false @DRUGS4_34636
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_33760
$bc1_in_water = Char.GetHealth($big_smoke_car)
$bc1_in_water /= 5
goto @DRUGS4_33783

:DRUGS4_33760
Text.PrintNow('LAF1_70', 5000, 1)
goto @DRUGS4_67705

:DRUGS4_33783
if 
  171@ == 20
goto_if_false @DRUGS4_33900
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_33900
Task.FollowPathNodesToCoord($big_smoke_car, 2235.36, -1188.68, 33.82, 6, 35000)
TIMERB = 0
178@ = 0
179@ = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
World.ClearArea(2197.78, -1194.0, 30.0, 30.0, True)
171@ = 21

:DRUGS4_33900
if 
  171@ == 21
goto_if_false @DRUGS4_34125
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_34125
if 
  Char.LocateAnyMeansChar3D($big_smoke_car, $stattreadstamina_ctr, 4.0, 4.0, 3.5, False)
goto_if_false @DRUGS4_34066
if 
  Char.IsOnScreen($big_smoke_car)
goto_if_false @DRUGS4_34059
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Task.FollowPathNodesToCoord($big_smoke_car, 2197.78, -1194.0, 26.17, 6, 35000)
World.ClearArea(2197.78, -1194.0, 100.0, 100.0, False)
171@ = 22

:DRUGS4_34059
goto @DRUGS4_34125

:DRUGS4_34066
if 
  TIMERB > 3500
goto_if_false @DRUGS4_34125
Text.PrintNow('LAF1_69', 1000, 1)
World.ClearArea(2197.78, -1194.0, 100.0, 100.0, False)

:DRUGS4_34125
if 
  176@ == 1
goto_if_false @DRUGS4_34231
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_34231
if 
  Car.Locate3D(40@, 2220.44, -1128.29, 43.31, 15.0, 15.0, 15.0, False)
goto_if_false @DRUGS4_34231
Car.Explode(40@)
Car.Explode(40@)
TIMERA = 0
176@ = 2

:DRUGS4_34231
if 
  176@ == 2
goto_if_false @DRUGS4_34285
if 
  TIMERA > 3000
goto_if_false @DRUGS4_34285
Car.MarkAsNoLongerNeeded(40@)
Car.Delete(40@)
176@ = 3

:DRUGS4_34285
if 
  171@ == 22
goto_if_false @DRUGS4_34636
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_34636
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2197.78, -1194.0, 26.17, 5.0, 5.0, 3.5, False)
goto_if_false @DRUGS4_34499
Camera.DoFade(250, Fade.Out)
Player.SetControl($statbike_temp, False)
Char.SetProofs($big_smoke_car, True, True, True, True, True)

:DRUGS4_34396
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS4_34420
wait 0
goto @DRUGS4_34396

:DRUGS4_34420
Car.MarkAsNoLongerNeeded(40@)
World.ClearArea(2197.78, -1194.0, 100.0, 100.0, True)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_34485
Char.SetCoordinates($big_smoke_car, 2197.78, -1194.0, 25.0)

:DRUGS4_34485
171@ = 23
goto @DRUGS4_34636

:DRUGS4_34499
if 
  Char.LocateOnFoot3D($big_smoke_car, 2197.78, -1194.0, 26.17, 5.0, 5.0, 3.5, False)
goto_if_false @DRUGS4_34636
Car.MarkAsNoLongerNeeded(40@)
World.ClearArea(2197.78, -1194.0, 100.0, 100.0, True)
Camera.DoFade(250, Fade.Out)
Player.SetControl($statbike_temp, False)
Char.SetProofs($big_smoke_car, True, True, True, True, True)

:DRUGS4_34605
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS4_34629
wait 0
goto @DRUGS4_34605

:DRUGS4_34629
171@ = 23

:DRUGS4_34636
if 
  172@ > 1
goto_if_false @DRUGS4_35063
if 
  4 > 172@
goto_if_false @DRUGS4_35063
if 
  23 > 171@
goto_if_false @DRUGS4_35063
gosub @DRUGS4_66554
if 
  172@ == 2
goto_if_false @DRUGS4_34962
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_34962
if 
  178@ == 0
goto_if_false @DRUGS4_34814
if 
  179@ == 0
goto_if_false @DRUGS4_34814
if 
  171@ > 11
goto_if_false @DRUGS4_34814
set_lvar_int_to_constant 106@ = 15873
set_lvar_text_label 107@s = 'FIN1_JM'
gosub @DRUGS4_66512

:DRUGS4_34814
if 
  178@ == 1
goto_if_false @DRUGS4_34879
if 
  179@ == 0
goto_if_false @DRUGS4_34879
set_lvar_int_to_constant 106@ = 15811
set_lvar_text_label 107@s = 'FIN1_BY'
gosub @DRUGS4_66512

:DRUGS4_34879
if 
  178@ == 2
goto_if_false @DRUGS4_34962
if 
  179@ == 0
goto_if_false @DRUGS4_34962
if 
  171@ > 14
goto_if_false @DRUGS4_34962
set_lvar_int_to_constant 106@ = 15872
set_lvar_text_label 107@s = 'FIN1_JL'
gosub @DRUGS4_66512

:DRUGS4_34962
if 
  172@ == 3
goto_if_false @DRUGS4_35063
if 
  171@ > 21
goto_if_false @DRUGS4_35063
if 
  178@ == 0
goto_if_false @DRUGS4_35063
if 
  179@ == 0
goto_if_false @DRUGS4_35063
set_lvar_int_to_constant 106@ = 15874
set_lvar_text_label 107@s = 'FIN1_JN'
gosub @DRUGS4_66512

:DRUGS4_35063
if 
  171@ == 23
goto_if_false @DRUGS4_36772
if 
  294@ == 0
goto_if_false @DRUGS4_36772
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_36772
Clock.SetTimeOfDay(3, 15)
Char.SetCurrentWeapon($big_smoke_car, WeaponType.Unarmed)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(346)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Hud.SwitchWidescreen(True)
World.ClearArea(2223.971, -1149.75, 200.0, 200.0, False)
Player.SetControl($statbike_temp, False)
Camera.SetNearClip(0.1)
Camera.SetFixedPosition(2190.325, -1194.562, 25.4553, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2189.376, -1194.54, 25.1403, SwitchType.JumpCut)
Char.ClearTasksImmediately($big_smoke_car)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($big_smoke_car, 2192.65, -1194.78, 24.2)
Char.SetHeading($big_smoke_car, 78.5405)
Char.SetCoordinates($stattreadstamina_ctr, 2192.0, -1193.78, 24.2)
Char.SetHeading($stattreadstamina_ctr, 85.0874)
143@ = 0
DecisionMaker.Remove(57@)
Streaming.MarkModelAsNoLongerNeeded(285)
Hud.ClearCounter($bc1_in_water)
Streaming.RequestModel(596)
Streaming.RequestModel(280)
Streaming.RequestModel(355)
Streaming.RequestModel(538)
Streaming.RequestModel(492)
Streaming.RequestModel(497)
Streaming.RequestAnimation("GANGS")
Streaming.RequestAnimation("CAR_CHAT")
Streaming.LoadSpecialCharacter(2, 'SMOKE')
Streaming.LoadSpecialCharacter(3, 'RYDER2')
Streaming.RequestCarRecording(330)
Streaming.RequestCarRecording(332)
Streaming.RequestCarRecording(333)
Streaming.RequestCarRecording(334)
Streaming.RequestCarRecording(335)
Streaming.RequestCarRecording(336)
Streaming.RequestCarRecording(337)
Streaming.RequestCarRecording(338)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15876)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15877)
Streaming.LoadAllModelsNow

:DRUGS4_35463
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasSpecialCharacterLoaded(3)
  not Streaming.HasAnimationLoaded("GANGS")
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @DRUGS4_35518
wait 0
goto @DRUGS4_35463

:DRUGS4_35518
if or
  not Streaming.HasModelLoaded(596)
  not Streaming.HasModelLoaded(280)
  not Streaming.HasModelLoaded(355)
goto_if_false @DRUGS4_35555
wait 0
goto @DRUGS4_35518

:DRUGS4_35555
if or
  not Streaming.HasModelLoaded(538)
  not Streaming.HasModelLoaded(492)
  not Streaming.HasModelLoaded(497)
goto_if_false @DRUGS4_35592
wait 0
goto @DRUGS4_35555

:DRUGS4_35592
if or
  not Streaming.HasCarRecordingBeenLoaded(330)
  not Streaming.HasCarRecordingBeenLoaded(332)
  not Streaming.HasCarRecordingBeenLoaded(333)
  not Streaming.HasCarRecordingBeenLoaded(334)
  not Streaming.HasCarRecordingBeenLoaded(335)
goto_if_false @DRUGS4_35639
wait 0
goto @DRUGS4_35592

:DRUGS4_35639
if or
  not Streaming.HasCarRecordingBeenLoaded(336)
  not Streaming.HasCarRecordingBeenLoaded(337)
  not Streaming.HasCarRecordingBeenLoaded(338)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_35684
wait 0
goto @DRUGS4_35639

:DRUGS4_35684
Car.Delete(40@)
Char.Delete(44@)
Char.Delete(51@)
Char.Delete(52@)
Char.Delete(53@)
Char.Delete(54@)
World.ClearArea(2192.65, -1194.78, 100.0, 100.0, True)
40@ = Car.Create(497, 2130.004, -1196.324, 28.198)
Car.SetPetrolTankWeakpoint(40@, False)
Car.SetHeading(40@, 336.905)
44@ = Char.CreateInsideCar(40@, PedType.Mission1, 280)
Char.SetDecisionMaker(44@, 55@)
Char.SetSuffersCriticalHits(44@, False)
Char.SetCanBeShotInVehicle(44@, False)
Char.SetOnlyDamagedByPlayer(44@, True)
Car.SetOnlyDamagedByPlayer(40@, True)
Car.SetProofs(40@, False, True, True, False, False)
Heli.SetBladesFullSpeed(40@)
Car.SetVisible(40@, False)
$sweet_carZ = Car.Create(492, 2203.498, -1217.624, 23.579)
Audio.SetRadioChannel(RadioChannel.RadioLosSantos)
Car.SetCanBeVisiblyDamaged($sweet_carZ, False)
Car.SetHeading($sweet_carZ, 90.386)
$mc_strap = Char.CreateInsideCar($sweet_carZ, PedType.Special, 291)
Char.SetDecisionMaker($mc_strap, 55@)
$sweet_car = Char.CreateAsPassenger($sweet_carZ, PedType.Special, 292, 0)
Char.SetDecisionMaker($sweet_car, 55@)
Car.ChangeColor($sweet_carZ, 59, 34)
Car.SetProofs($sweet_carZ, False, True, True, True, True)
Car.SetHealth($sweet_carZ, 6000)
Car.SetCanBurstTires($sweet_carZ, False)
186@ = Car.Create(596, 2169.194, -1270.059, 22.8203)
Car.SetPetrolTankWeakpoint(186@, False)
Car.SetHeading(186@, 357.0326)
Car.SetOnlyDamagedByPlayer(186@, True)
Car.SetHealth(186@, 750)
195@ = Char.CreateInsideCar(186@, PedType.Mission1, 280)
Char.SetDecisionMaker(195@, 55@)
Char.SetHealth(195@, 100)
Char.SetSuffersCriticalHits(195@, False)
Char.SetOnlyDamagedByPlayer(195@, True)
196@ = Char.CreateAsPassenger(186@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(196@, 55@)
Char.SetHealth(196@, 200)
Char.SetOnlyDamagedByPlayer(196@, True)
Char.GiveWeapon(196@, WeaponType.Mp5, 99999)
Char.SetSuffersCriticalHits(196@, False)
Car.SetIdle(186@)
Car.SetVisible(186@, False)
187@ = Car.Create(596, 2172.526, -1280.734, 22.9766)
Car.SetPetrolTankWeakpoint(187@, False)
Car.SetHeading(187@, 0.9448)
Car.SetOnlyDamagedByPlayer(187@, True)
Car.SetHealth(187@, 500)
197@ = Char.CreateInsideCar(187@, PedType.Mission1, 280)
Car.SetProofs(187@, False, True, True, True, True)
Char.SetOnlyDamagedByPlayer(197@, True)
Char.SetHealth(197@, 100)
Char.SetDecisionMaker(197@, 55@)
198@ = Char.CreateAsPassenger(187@, PedType.Mission1, 280, 0)
Char.SetOnlyDamagedByPlayer(198@, True)
Char.SetDecisionMaker(198@, 55@)
Char.SetHealth(198@, 200)
Char.SetSuffersCriticalHits(198@, False)
Char.GiveWeapon(198@, WeaponType.Mp5, 99999)
Car.SetIdle(187@)
Car.SetVisible(187@, False)
188@ = Car.Create(596, 2223.11, -1150.118, 24.92)
Car.SetPetrolTankWeakpoint(188@, False)
199@ = Char.CreateInsideCar(188@, PedType.Mission1, 280)
Char.SetCanBeShotInVehicle(199@, False)
Car.SetOnlyDamagedByPlayer(188@, True)
Car.SetHealth(188@, 1000)
Char.SetDecisionMaker(199@, 55@)
Char.SetOnlyDamagedByPlayer(199@, True)
Char.SetSuffersCriticalHits(199@, False)
200@ = Char.CreateAsPassenger(188@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(200@, 55@)
Char.SetOnlyDamagedByPlayer(200@, True)
Char.SetHealth(200@, 200)
Char.SetSuffersCriticalHits(200@, False)
Char.GiveWeapon(200@, WeaponType.Mp5, 99999)
Car.SetIdle(188@)
189@ = Car.Create(596, 2388.808, -1259.431, 22.94)
Car.SetHeading(189@, 89.36)
Car.SetPetrolTankWeakpoint(189@, False)
Car.SetOnlyDamagedByPlayer(189@, True)
Car.SetHealth(189@, 900)
201@ = Char.CreateInsideCar(189@, PedType.Mission1, 280)
Char.SetOnlyDamagedByPlayer(201@, True)
Char.SetDecisionMaker(201@, 55@)
Char.SetSuffersCriticalHits(201@, False)
Char.SetHealth(201@, 100)
202@ = Char.CreateAsPassenger(189@, PedType.Mission1, 280, 0)
Char.SetOnlyDamagedByPlayer(202@, True)
Char.SetHealth(202@, 150)
Char.SetDecisionMaker(202@, 55@)
Char.GiveWeapon(202@, WeaponType.Mp5, 9999)
Char.SetSuffersCriticalHits(202@, False)
Car.SetIdle(189@)
Game.SwitchRandomTrains(False)
World.DeleteAllTrains
211@ = Train.Create(15, 2284.991, -1186.053, 24.756, False)
Train.SetSpeed(211@, 0.0)
Train.SetCruiseSpeed(211@, 0.0)
Car.SetProofs(211@, True, True, True, True, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 2183.567, -1193.851, 23.2419, MoveState.Run, 5000)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_36758
Task.GoStraightToCoord($big_smoke_car, 2183.531, -1195.074, 23.2266, MoveState.Run, 5000)

:DRUGS4_36758
Camera.DoFade(250, Fade.In)
294@ = 1

:DRUGS4_36772
if 
  294@ == 1
goto_if_false @DRUGS4_36947
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_36947
if 
  Char.LocateAnyMeans2D($big_smoke_car, 2183.531, -1195.074, 1.5, 1.5, False)
goto_if_false @DRUGS4_36947
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2183.567, -1193.851, 2.0, 2.0, False)
goto_if_false @DRUGS4_36947
Camera.SetFixedPosition(2183.617, -1193.088, 24.8301, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2183.54, -1194.085, 24.8217, SwitchType.JumpCut)
TIMERA = 0
294@ = 2

:DRUGS4_36947
if 
  294@ == 2
goto_if_false @DRUGS4_37136
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_37136
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_37136
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_37136
if 
  TIMERA > 1500
goto_if_false @DRUGS4_37136
Task.LookAtChar($stattreadstamina_ctr, $mc_strap, 3000)
Car.StartPlayback($sweet_carZ, 330)
Task.PlayAnim($big_smoke_car, "PRTIAL_GNGTLKE", "GANGS", 1000.0, False, True, True, True, -1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_KA', 2500, 1)
Char.StartFacialTalk($big_smoke_car, 2000)
TIMERA = 0
294@ = 3

:DRUGS4_37136
if 
  294@ == 3
goto_if_false @DRUGS4_37271
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_37271
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_37271
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_37271
if 
  TIMERA > 500
goto_if_false @DRUGS4_37271
Task.PlayAnim($stattreadstamina_ctr, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, True, True, False, -1)
294@ = 4

:DRUGS4_37271
if 
  294@ == 4
goto_if_false @DRUGS4_37517
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_37517
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_37517
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_37517
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_37517
Task.LookAtChar($big_smoke_car, $mc_strap, 5000)
Text.ClearPrints
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Char.StartFacialTalk($stattreadstamina_ctr, 2000)
Text.PrintNow('FIN1_KB', 3000, 1)
Char.StopFacialTalk($big_smoke_car)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15878)
Task.GoStraightToCoord($stattreadstamina_ctr, 2181.53, -1193.81, 23.67, MoveState.Walk, 5000)
Task.GoStraightToCoord($big_smoke_car, 2181.41, -1195.67, 23.74, MoveState.Walk, 5000)
Camera.SetFixedPosition(2177.919, -1190.952, 24.4917, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2178.372, -1191.815, 24.2692, SwitchType.JumpCut)
294@ = 5

:DRUGS4_37517
if 
  294@ == 5
goto_if_false @DRUGS4_37940
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_37940
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_37940
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_37940
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_37940
if 
  not Car.IsPlaybackGoingOn($sweet_carZ)
goto_if_false @DRUGS4_37940
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_37940
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_37940
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15879)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk($mc_strap, 1000)
Text.PrintNow('FIN1_KC', 2000, 1)
Camera.SetFixedPosition(2177.919, -1190.952, 24.4917, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2178.372, -1191.815, 24.2692, SwitchType.JumpCut)
Task.LookAtChar($stattreadstamina_ctr, $mc_strap, 5000)
Car.SetIdle($sweet_carZ)
Task.PlayAnim($mc_strap, "CAR_SC4_FL", "CAR_CHAT", 1000.0, False, False, False, False, -1)
Task.PlayAnim($sweet_car, "CAR_SC4_FR", "CAR_CHAT", 1000.0, False, False, False, False, -1)
Task.EnterCarAsPassenger($stattreadstamina_ctr, $sweet_carZ, 5000, 2)
Task.GoStraightToCoord($big_smoke_car, 2181.51, -1201.97, 24.0, MoveState.Run, 5000)
if 
  not Car.IsDead(186@)
goto_if_false @DRUGS4_37903
Car.SwitchSiren(186@, True)

:DRUGS4_37903
if 
  not Car.IsDead(187@)
goto_if_false @DRUGS4_37926
Car.SwitchSiren(187@, True)

:DRUGS4_37926
TIMERA = 0
294@ = 6

:DRUGS4_37940
if 
  294@ == 6
goto_if_false @DRUGS4_38146
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_38146
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_38146
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_38146
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_38146
if 
  TIMERA > 2000
goto_if_false @DRUGS4_38146
Char.SetCoordinates($big_smoke_car, 2176.78, -1196.64, 23.18)
Task.EnterCarAsPassenger($big_smoke_car, $sweet_carZ, 6000, 1)
Char.StopFacialTalk($mc_strap)
Car.PopPanel($sweet_carZ, 4, False)
Camera.SetFixedPosition(2178.881, -1194.196, 24.3172, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2178.866, -1195.196, 24.2959, SwitchType.JumpCut)
294@ = 7

:DRUGS4_38146
if 
  294@ == 7
goto_if_false @DRUGS4_38252
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DRUGS4_38252
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @DRUGS4_38252
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC4_BR", "CAR_CHAT", 6.0, False, False, False, False, -1)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
294@ = 8

:DRUGS4_38252
if 
  294@ == 8
goto_if_false @DRUGS4_38687
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_38687
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_38687
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_38687
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_38687
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_38687
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_38687
if 
  Char.IsSittingInCar($big_smoke_car, $sweet_carZ)
goto_if_false @DRUGS4_38658
Task.PlayAnim($big_smoke_car, "CAR_SC4_BL", "CAR_CHAT", 8.0, False, False, False, False, -1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Char.StartFacialTalk($big_smoke_car, 1000)
Text.PrintNow('FIN1_KE', 2000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15880)
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_38502
Car.SetVisible(40@, True)
Heli.FollowEntity(40@, $stattreadstamina_ctr, -1, 20.0)

:DRUGS4_38502
if 
  not Car.IsDead(186@)
goto_if_false @DRUGS4_38570
Car.SetVisible(186@, True)
Car.StartPlayback(186@, 333)
285@ = Blip.AddForCar(186@)
Blip.ChangeDisplay(285@, BlipDisplay.BlipOnly)
Car.SetHealth(186@, 1000)
297@ = 1
313@ = 1

:DRUGS4_38570
if 
  not Car.IsDead(187@)
goto_if_false @DRUGS4_38630
Car.SetVisible(187@, True)
Car.StartPlayback(187@, 334)
286@ = Blip.AddForCar(187@)
Blip.ChangeDisplay(286@, BlipDisplay.BlipOnly)
298@ = 1
314@ = 1

:DRUGS4_38630
TIMERA = 0
TIMERB = 0
294@ = 9
goto @DRUGS4_38687

:DRUGS4_38658
if 
  TIMERA > 5000
goto_if_false @DRUGS4_38687
Char.WarpIntoCarAsPassenger($big_smoke_car, $sweet_carZ, 1)

:DRUGS4_38687
if 
  294@ == 9
goto_if_false @DRUGS4_38802
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_38802
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_38802
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_38802
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_38802
if 
  TIMERA > 500
goto_if_false @DRUGS4_38802
TIMERA = 0
294@ = 10

:DRUGS4_38802
if 
  294@ == 10
goto_if_false @DRUGS4_38954
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_38954
if 
  TIMERB > 2800
goto_if_false @DRUGS4_38954
Car.StartPlayback($sweet_carZ, 332)
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_38940
58@ = Searchlight.CreateOnVehicle(40@, 0.0, 1.0, -0.5, 2193.73, -1166.85, 34.06, 3.0, 0.5)
Searchlight.PointAtChar(58@, $stattreadstamina_ctr, 0.8)

:DRUGS4_38940
TIMERB = 0
294@ = 11

:DRUGS4_38954
if 
  294@ == 11
goto_if_false @DRUGS4_39093
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_39093
if 
  TIMERB > 3500
goto_if_false @DRUGS4_39093
Camera.SetFixedPosition(2178.987, -1140.643, 25.902, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2178.951, -1141.642, 25.8765, SwitchType.JumpCut)
326@ = 1
178@ = 0
179@ = 0
TIMERB = 0
294@ = 12

:DRUGS4_39093
if 
  294@ == 12
goto_if_false @DRUGS4_39624
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_39624
if or
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2178.987, -1140.643, 1.3, 1.3, False)
  TIMERB > 2250
goto_if_false @DRUGS4_39624
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2178.8, -1161.187, 10.0)
Char.AttachToCar($stattreadstamina_ctr, $sweet_carZ, 0.0, -0.5, 0.8, 2, 360.0, WeaponType.Ak47)
Player.SetHeadingForAttached($statbike_temp, 90.0, 180.0)
Camera.Restore
Char.SetProofs($stattreadstamina_ctr, False, True, True, False, False)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
TIMERA = 0
TIMERB = 0
Char.Delete($big_smoke_car)
Char.Delete($mc_strap)
Char.Delete($sweet_car)
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("CAR_CHAT")
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
293@ += 1
if 
  not Char.IsDead(196@)
goto_if_false @DRUGS4_39450
if 
  293@ > 1
goto_if_false @DRUGS4_39414
Task.DriveBy(196@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 40)
goto @DRUGS4_39450

:DRUGS4_39414
Task.DriveBy(196@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 75)

:DRUGS4_39450
if 
  not Char.IsDead(198@)
goto_if_false @DRUGS4_39502
Task.DriveBy(198@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 60)

:DRUGS4_39502
Car.SetHealth($sweet_carZ, 6000)
$bc1_cut = Car.GetHealth($sweet_carZ)
$bc1_cut /= 60
Hud.DisplayCounterWithString($bc1_cut, CounterDisplay.Bar, 'LAF1_38')
Pad.SetPlayerDuckButton($statbike_temp, False)
Text.PrintHelp('LAF1_50')
Car.SetProofs($sweet_carZ, False, True, True, True, True)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
331@ = 1
312@ = 1
295@ = 1
296@ = 1
294@ = 13

:DRUGS4_39624
if 
  295@ > 0
goto_if_false @DRUGS4_39789
if 
  5 > 325@
goto_if_false @DRUGS4_39789
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_39789
$bc1_cut = Car.GetHealth($sweet_carZ)
$bc1_cut -= 1000
if 
  0 >= $bc1_cut
goto_if_false @DRUGS4_39782
$bc1_cut = 0
Car.SetProofs($sweet_carZ, False, False, False, False, False)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Car.Explode($sweet_carZ)
Text.PrintNow('LAF1_4', 5000, 1)
goto @DRUGS4_67705
goto @DRUGS4_39789

:DRUGS4_39782
$bc1_cut /= 50

:DRUGS4_39789
if 
  295@ == 1
goto_if_false @DRUGS4_43440
if 
  331@ == 1
goto_if_false @DRUGS4_39845
if 
  Text.IsHelpMessageBeingDisplayed
goto_if_false @DRUGS4_39845
331@ = 2

:DRUGS4_39845
if 
  331@ == 2
goto_if_false @DRUGS4_39894
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @DRUGS4_39894
Text.PrintHelp('LAF1_51')
331@ = 3

:DRUGS4_39894
if 
  294@ == 13
goto_if_false @DRUGS4_40009
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_40009
if 
  Car.Locate2D($sweet_carZ, 2261.95, -1142.2, 5.0, 5.0, False)
goto_if_false @DRUGS4_40009
if 
  not Car.IsDead(211@)
goto_if_false @DRUGS4_40009
Train.SetSpeed(211@, 10.0)
Train.SetCruiseSpeed(211@, 10.0)
294@ = 14

:DRUGS4_40009
if 
  294@ == 14
goto_if_false @DRUGS4_40110
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS4_40110
if 
  Car.Locate2D(188@, 2284.98, -1146.61, 3.0, 3.0, False)
goto_if_false @DRUGS4_40110
TIMERB = 0
327@ = 1
Car.SetHealth(188@, 750)
294@ = 15

:DRUGS4_40110
if 
  294@ == 15
goto_if_false @DRUGS4_40175
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS4_40175
if 
  TIMERB > 1100
goto_if_false @DRUGS4_40175
Car.Explode(188@)
294@ = 16

:DRUGS4_40175
if 
  296@ == 1
goto_if_false @DRUGS4_40359
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_40359
if 
  Car.Locate2D($sweet_carZ, 2223.11, -1150.118, 20.0, 20.0, False)
goto_if_false @DRUGS4_40359
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS4_40352
Car.StartPlayback(188@, 335)
287@ = Blip.AddForCar(188@)
Blip.ChangeDisplay(287@, BlipDisplay.BlipOnly)
315@ = 1
299@ = 1
if 
  not Char.IsDead(200@)
goto_if_false @DRUGS4_40352
Task.DriveBy(200@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 40)

:DRUGS4_40352
296@ = 2

:DRUGS4_40359
if 
  296@ == 2
goto_if_false @DRUGS4_40845
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_40845
if 
  Car.Locate2D($sweet_carZ, 2352.54, -1271.86, 10.1, 10.1, False)
goto_if_false @DRUGS4_40845
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS4_40838
Car.StartPlayback(189@, 336)
288@ = Blip.AddForCar(189@)
Blip.ChangeDisplay(288@, BlipDisplay.BlipOnly)
300@ = 1
316@ = 1
if 
  not Char.IsDead(202@)
goto_if_false @DRUGS4_40536
Task.DriveBy(202@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 75)

:DRUGS4_40536
Train.Delete(211@)
World.DeleteMissionTrains
Streaming.MarkModelAsNoLongerNeeded(538)
190@ = Car.Create(596, 2500.697, -1443.776, 28.28)
Car.SetPetrolTankWeakpoint(190@, False)
Car.SetHeading(190@, 90.4588)
Car.SetOnlyDamagedByPlayer(190@, True)
Car.SetHealth(190@, 750)
203@ = Char.CreateInsideCar(190@, PedType.Mission1, 280)
Char.SetOnlyDamagedByPlayer(203@, True)
Char.SetDecisionMaker(203@, 55@)
Char.SetSuffersCriticalHits(203@, False)
Char.SetHealth(203@, 200)
204@ = Char.CreateAsPassenger(190@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(204@, 55@)
Char.SetOnlyDamagedByPlayer(204@, True)
Char.SetHealth(204@, 100)
Char.GiveWeapon(204@, WeaponType.Mp5, 9999)
Char.SetSuffersCriticalHits(204@, False)
Car.SetIdle(190@)
192@ = Car.Create(596, 2478.223, -1321.966, 28.252)
Car.SetHeading(192@, 356.585)
Car.SetOnlyDamagedByPlayer(192@, True)
Car.SetHealth(192@, 280)
Car.SetIdle(192@)
205@ = Char.CreateInsideCar(192@, PedType.Mission1, 280)
Char.SetOnlyDamagedByPlayer(205@, True)
Char.SetDecisionMaker(205@, 55@)
206@ = Char.CreateAsPassenger(192@, PedType.Mission1, 280, 0)
Char.SetOnlyDamagedByPlayer(206@, True)
Char.SetDecisionMaker(206@, 55@)
Char.SetSuffersCriticalHits(206@, False)
Char.GiveWeapon(206@, WeaponType.Mp5, 9999)
Car.SetIdle(192@)

:DRUGS4_40838
296@ = 3

:DRUGS4_40845
if 
  296@ == 3
goto_if_false @DRUGS4_41306
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_41306
if 
  Car.Locate2D($sweet_carZ, 2394.67, -1442.43, 10.1, 10.1, False)
goto_if_false @DRUGS4_41306
if 
  not Car.IsDead(190@)
goto_if_false @DRUGS4_41299
301@ = 1
317@ = 1
Car.StartPlayback(190@, 337)
289@ = Blip.AddForCar(190@)
Blip.ChangeDisplay(289@, BlipDisplay.BlipOnly)
Car.SwitchSiren(190@, True)
if 
  not Char.IsDead(204@)
goto_if_false @DRUGS4_41090
if 
  293@ > 1
goto_if_false @DRUGS4_41054
Task.DriveBy(204@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 30)
goto @DRUGS4_41090

:DRUGS4_41054
Task.DriveBy(204@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 75)

:DRUGS4_41090
World.DeleteAllTrains
191@ = Car.Create(596, 2447.036, -1370.772, 22.64)
Car.SetHeading(191@, 270.267)
Car.SetIdle(191@)
Car.SetHealth(191@, 250)
Car.SetOnlyDamagedByPlayer(191@, True)
290@ = Blip.AddForCar(191@)
Blip.ChangeDisplay(290@, BlipDisplay.BlipOnly)
207@ = Char.Create(PedType.Mission1, 280, 2448.77, -1368.898, 23.6)
Char.SetDecisionMaker(207@, 55@)
Char.GiveWeapon(207@, WeaponType.Mp5, 999)
set_lvar_int_to_lvar_int 118@ = 207@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66967
208@ = Char.Create(PedType.Mission1, 280, 2444.387, -1369.356, 24.02)
Char.SetDecisionMaker(208@, 55@)
Char.GiveWeapon(208@, WeaponType.Mp5, 999)
set_lvar_int_to_lvar_int 118@ = 208@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66967
302@ = 1

:DRUGS4_41299
296@ = 4

:DRUGS4_41306
if 
  296@ == 4
goto_if_false @DRUGS4_41497
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_41497
if 
  Car.Locate2D($sweet_carZ, 2448.94, -1311.15, 30.1, 30.1, False)
goto_if_false @DRUGS4_41497
if 
  not Car.IsDead(192@)
goto_if_false @DRUGS4_41490
Car.StartPlayback(192@, 338)
Car.SwitchSiren(192@, True)
303@ = 1
319@ = 1
if 
  not Char.IsDead(205@)
goto_if_false @DRUGS4_41475
Task.DriveBy(205@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 60)

:DRUGS4_41475
291@ = Blip.AddForCar(192@)
Blip.ChangeDisplay(291@, BlipDisplay.BlipOnly)

:DRUGS4_41490
296@ = 5

:DRUGS4_41497
if 
  313@ == 1
goto_if_false @DRUGS4_41649
if 
  not Car.IsDead(186@)
goto_if_false @DRUGS4_41649
if 
  not Char.IsDead(195@)
goto_if_false @DRUGS4_41554
goto @DRUGS4_41649

:DRUGS4_41554
if 
  not Char.IsDead(196@)
goto_if_false @DRUGS4_41637
if 
  Char.IsInCar(196@, 186@)
goto_if_false @DRUGS4_41630
284@ = Car.GetDriver(186@)
if 
  284@ == -1
goto_if_false @DRUGS4_41630
Task.ShuffleToNextCarSeat(196@, 186@)
313@ = 2

:DRUGS4_41630
goto @DRUGS4_41649

:DRUGS4_41637
Car.StopPlayback(186@)
313@ = 2

:DRUGS4_41649
if 
  313@ == 2
goto_if_false @DRUGS4_41695
if 
  Char.IsDead(196@)
goto_if_false @DRUGS4_41695
Car.StopPlayback(186@)
313@ = 3

:DRUGS4_41695
if 
  297@ == 1
goto_if_false @DRUGS4_41811
if 
  not Car.IsDead(186@)
goto_if_false @DRUGS4_41779
if 
  not Car.IsPlaybackGoingOn(186@)
goto_if_false @DRUGS4_41772
Car.MarkAsNoLongerNeeded(186@)
Char.MarkAsNoLongerNeeded(195@)
Char.MarkAsNoLongerNeeded(196@)
Blip.Remove(285@)
297@ = 2

:DRUGS4_41772
goto @DRUGS4_41811

:DRUGS4_41779
Car.StopPlayback(186@)
Char.MarkAsNoLongerNeeded(195@)
Char.MarkAsNoLongerNeeded(196@)
Car.MarkAsNoLongerNeeded(186@)
Blip.Remove(285@)
297@ = 2

:DRUGS4_41811
if 
  314@ == 1
goto_if_false @DRUGS4_41963
if 
  not Car.IsDead(187@)
goto_if_false @DRUGS4_41963
if 
  not Char.IsDead(197@)
goto_if_false @DRUGS4_41868
goto @DRUGS4_41963

:DRUGS4_41868
if 
  not Char.IsDead(198@)
goto_if_false @DRUGS4_41951
if 
  Char.IsInCar(198@, 187@)
goto_if_false @DRUGS4_41944
284@ = Car.GetDriver(187@)
if 
  284@ == -1
goto_if_false @DRUGS4_41944
Task.ShuffleToNextCarSeat(198@, 187@)
314@ = 2

:DRUGS4_41944
goto @DRUGS4_41963

:DRUGS4_41951
Car.StopPlayback(187@)
314@ = 2

:DRUGS4_41963
if 
  314@ == 2
goto_if_false @DRUGS4_42009
if 
  Char.IsDead(198@)
goto_if_false @DRUGS4_42009
Car.StopPlayback(187@)
314@ = 3

:DRUGS4_42009
if 
  298@ == 1
goto_if_false @DRUGS4_42125
if 
  not Car.IsDead(187@)
goto_if_false @DRUGS4_42093
if 
  not Car.IsPlaybackGoingOn(187@)
goto_if_false @DRUGS4_42086
Car.MarkAsNoLongerNeeded(187@)
Char.MarkAsNoLongerNeeded(197@)
Char.MarkAsNoLongerNeeded(198@)
Blip.Remove(286@)
298@ = 2

:DRUGS4_42086
goto @DRUGS4_42125

:DRUGS4_42093
Car.StopPlayback(187@)
Char.MarkAsNoLongerNeeded(197@)
Char.MarkAsNoLongerNeeded(198@)
Car.MarkAsNoLongerNeeded(187@)
Blip.Remove(286@)
298@ = 2

:DRUGS4_42125
if 
  299@ == 1
goto_if_false @DRUGS4_42261
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS4_42219
if 
  not Car.IsPlaybackGoingOn(188@)
goto_if_false @DRUGS4_42212
Car.MarkAsNoLongerNeeded(188@)
Char.MarkAsNoLongerNeeded(199@)
Char.MarkAsNoLongerNeeded(200@)
Blip.Remove(287@)
Car.MarkAsNoLongerNeeded(211@)
Streaming.MarkModelAsNoLongerNeeded(538)
299@ = 2

:DRUGS4_42212
goto @DRUGS4_42261

:DRUGS4_42219
Car.StopPlayback(188@)
Char.MarkAsNoLongerNeeded(199@)
Char.MarkAsNoLongerNeeded(200@)
Car.MarkAsNoLongerNeeded(188@)
Car.MarkAsNoLongerNeeded(211@)
Streaming.MarkModelAsNoLongerNeeded(538)
Blip.Remove(287@)
299@ = 2

:DRUGS4_42261
if 
  316@ == 1
goto_if_false @DRUGS4_42413
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS4_42413
if 
  not Char.IsDead(201@)
goto_if_false @DRUGS4_42318
goto @DRUGS4_42413

:DRUGS4_42318
if 
  not Char.IsDead(202@)
goto_if_false @DRUGS4_42401
if 
  Char.IsInCar(202@, 189@)
goto_if_false @DRUGS4_42394
284@ = Car.GetDriver(189@)
if 
  284@ == -1
goto_if_false @DRUGS4_42394
Task.ShuffleToNextCarSeat(202@, 189@)
316@ = 2

:DRUGS4_42394
goto @DRUGS4_42413

:DRUGS4_42401
Car.StopPlayback(189@)
316@ = 2

:DRUGS4_42413
if 
  316@ == 2
goto_if_false @DRUGS4_42459
if 
  Char.IsDead(202@)
goto_if_false @DRUGS4_42459
Car.StopPlayback(189@)
316@ = 3

:DRUGS4_42459
if 
  300@ == 1
goto_if_false @DRUGS4_42575
if 
  not Car.IsDead(189@)
goto_if_false @DRUGS4_42543
if 
  not Car.IsPlaybackGoingOn(189@)
goto_if_false @DRUGS4_42536
Car.MarkAsNoLongerNeeded(189@)
Char.MarkAsNoLongerNeeded(201@)
Char.MarkAsNoLongerNeeded(202@)
Blip.Remove(288@)
300@ = 2

:DRUGS4_42536
goto @DRUGS4_42575

:DRUGS4_42543
Car.StopPlayback(189@)
Char.MarkAsNoLongerNeeded(201@)
Char.MarkAsNoLongerNeeded(202@)
Car.MarkAsNoLongerNeeded(189@)
Blip.Remove(288@)
300@ = 2

:DRUGS4_42575
if 
  317@ == 1
goto_if_false @DRUGS4_42727
if 
  not Car.IsDead(190@)
goto_if_false @DRUGS4_42727
if 
  not Char.IsDead(203@)
goto_if_false @DRUGS4_42632
goto @DRUGS4_42727

:DRUGS4_42632
if 
  not Char.IsDead(204@)
goto_if_false @DRUGS4_42715
if 
  Char.IsInCar(204@, 190@)
goto_if_false @DRUGS4_42708
284@ = Car.GetDriver(190@)
if 
  284@ == -1
goto_if_false @DRUGS4_42708
Task.ShuffleToNextCarSeat(204@, 190@)
317@ = 2

:DRUGS4_42708
goto @DRUGS4_42727

:DRUGS4_42715
Car.StopPlayback(190@)
317@ = 2

:DRUGS4_42727
if 
  317@ == 2
goto_if_false @DRUGS4_42773
if 
  Char.IsDead(204@)
goto_if_false @DRUGS4_42773
Car.StopPlayback(190@)
317@ = 3

:DRUGS4_42773
if 
  301@ == 1
goto_if_false @DRUGS4_42889
if 
  not Car.IsDead(190@)
goto_if_false @DRUGS4_42857
if 
  not Car.IsPlaybackGoingOn(190@)
goto_if_false @DRUGS4_42850
Car.MarkAsNoLongerNeeded(190@)
Char.MarkAsNoLongerNeeded(203@)
Char.MarkAsNoLongerNeeded(204@)
Blip.Remove(289@)
301@ = 2

:DRUGS4_42850
goto @DRUGS4_42889

:DRUGS4_42857
Car.StopPlayback(190@)
Char.MarkAsNoLongerNeeded(203@)
Char.MarkAsNoLongerNeeded(204@)
Car.MarkAsNoLongerNeeded(190@)
Blip.Remove(289@)
301@ = 2

:DRUGS4_42889
if 
  302@ == 1
goto_if_false @DRUGS4_42950
if 
  Car.IsDead(191@)
goto_if_false @DRUGS4_42950
Char.MarkAsNoLongerNeeded(207@)
Char.MarkAsNoLongerNeeded(208@)
Car.MarkAsNoLongerNeeded(191@)
Blip.Remove(290@)
302@ = 2

:DRUGS4_42950
if 
  319@ == 1
goto_if_false @DRUGS4_43102
if 
  not Car.IsDead(192@)
goto_if_false @DRUGS4_43102
if 
  not Char.IsDead(205@)
goto_if_false @DRUGS4_43007
goto @DRUGS4_43102

:DRUGS4_43007
if 
  not Char.IsDead(206@)
goto_if_false @DRUGS4_43090
if 
  Char.IsInCar(206@, 192@)
goto_if_false @DRUGS4_43083
284@ = Car.GetDriver(192@)
if 
  284@ == -1
goto_if_false @DRUGS4_43083
Task.ShuffleToNextCarSeat(206@, 192@)
319@ = 2

:DRUGS4_43083
goto @DRUGS4_43102

:DRUGS4_43090
Car.StopPlayback(192@)
319@ = 2

:DRUGS4_43102
if 
  319@ == 2
goto_if_false @DRUGS4_43148
if 
  Char.IsDead(206@)
goto_if_false @DRUGS4_43148
Car.StopPlayback(192@)
319@ = 3

:DRUGS4_43148
if 
  303@ == 1
goto_if_false @DRUGS4_43264
if 
  not Car.IsDead(192@)
goto_if_false @DRUGS4_43232
if 
  not Car.IsPlaybackGoingOn(192@)
goto_if_false @DRUGS4_43225
Car.MarkAsNoLongerNeeded(192@)
Char.MarkAsNoLongerNeeded(205@)
Char.MarkAsNoLongerNeeded(206@)
Blip.Remove(291@)
303@ = 2

:DRUGS4_43225
goto @DRUGS4_43264

:DRUGS4_43232
Car.StopPlayback(192@)
Char.MarkAsNoLongerNeeded(205@)
Char.MarkAsNoLongerNeeded(206@)
Car.MarkAsNoLongerNeeded(192@)
Blip.Remove(291@)
303@ = 2

:DRUGS4_43264
if 
  143@ == 0
goto_if_false @DRUGS4_43320
if 
  Car.IsDead(40@)
goto_if_false @DRUGS4_43320
Car.MarkAsNoLongerNeeded(40@)
Char.MarkAsNoLongerNeeded(44@)
Searchlight.Delete(58@)
143@ = 1

:DRUGS4_43320
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2555.85, -1257.43, 5.0, 5.0, False)
goto_if_false @DRUGS4_43440
326@ = 2
Camera.DoFade(100, Fade.Out)

:DRUGS4_43371
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS4_43395
wait 0
goto @DRUGS4_43371

:DRUGS4_43395
Player.SetControl($statbike_temp, False)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_43433
Car.SetProofs($sweet_carZ, True, True, True, True, True)

:DRUGS4_43433
295@ = 2

:DRUGS4_43440
if 
  326@ == 1
goto_if_false @DRUGS4_44958
gosub @DRUGS4_66554
if 
  178@ == 0
goto_if_false @DRUGS4_43530
if 
  179@ == 0
goto_if_false @DRUGS4_43530
set_lvar_int_to_constant 106@ = 15880
set_lvar_text_label 107@s = 'FIN1_KF'
gosub @DRUGS4_66512

:DRUGS4_43530
if 
  178@ == 1
goto_if_false @DRUGS4_43595
if 
  179@ == 0
goto_if_false @DRUGS4_43595
set_lvar_int_to_constant 106@ = 15881
set_lvar_text_label 107@s = 'FIN1_KG'
gosub @DRUGS4_66512

:DRUGS4_43595
if 
  178@ == 2
goto_if_false @DRUGS4_43660
if 
  179@ == 0
goto_if_false @DRUGS4_43660
set_lvar_int_to_constant 106@ = 15882
set_lvar_text_label 107@s = 'FIN1_KH'
gosub @DRUGS4_66512

:DRUGS4_43660
if 
  178@ == 3
goto_if_false @DRUGS4_43725
if 
  179@ == 0
goto_if_false @DRUGS4_43725
set_lvar_int_to_constant 106@ = 15883
set_lvar_text_label 107@s = 'FIN1_KI'
gosub @DRUGS4_66512

:DRUGS4_43725
if 
  178@ == 4
goto_if_false @DRUGS4_43790
if 
  179@ == 0
goto_if_false @DRUGS4_43790
set_lvar_int_to_constant 106@ = 15884
set_lvar_text_label 107@s = 'FIN1_KJ'
gosub @DRUGS4_66512

:DRUGS4_43790
if 
  178@ == 5
goto_if_false @DRUGS4_43855
if 
  179@ == 0
goto_if_false @DRUGS4_43855
set_lvar_int_to_constant 106@ = 15949
set_lvar_text_label 107@s = 'FIN1_ZC'
gosub @DRUGS4_66512

:DRUGS4_43855
if 
  178@ == 6
goto_if_false @DRUGS4_43938
if 
  179@ == 0
goto_if_false @DRUGS4_43938
if 
  327@ == 1
goto_if_false @DRUGS4_43938
set_lvar_int_to_constant 106@ = 15887
set_lvar_text_label 107@s = 'FIN1_KM'
gosub @DRUGS4_66512

:DRUGS4_43938
if 
  178@ == 7
goto_if_false @DRUGS4_44003
if 
  179@ == 0
goto_if_false @DRUGS4_44003
set_lvar_int_to_constant 106@ = 15886
set_lvar_text_label 107@s = 'FIN1_KL'
gosub @DRUGS4_66512

:DRUGS4_44003
if 
  178@ == 8
goto_if_false @DRUGS4_44091
if 
  179@ == 0
goto_if_false @DRUGS4_44091
if 
  Searchlight.DoesExist(58@)
goto_if_false @DRUGS4_44062
Searchlight.SetClipIfColliding(58@, True)

:DRUGS4_44062
set_lvar_int_to_constant 106@ = 15888
set_lvar_text_label 107@s = 'FIN1_KO'
gosub @DRUGS4_66512

:DRUGS4_44091
if 
  178@ == 9
goto_if_false @DRUGS4_44156
if 
  179@ == 0
goto_if_false @DRUGS4_44156
set_lvar_int_to_constant 106@ = 15889
set_lvar_text_label 107@s = 'FIN1_KP'
gosub @DRUGS4_66512

:DRUGS4_44156
if 
  327@ == 1
goto_if_false @DRUGS4_44219
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2372.35, -1283.33, 15.0, 15.0, False)
goto_if_false @DRUGS4_44219
327@ = 2

:DRUGS4_44219
if 
  178@ == 10
goto_if_false @DRUGS4_44302
if 
  327@ == 2
goto_if_false @DRUGS4_44302
if 
  179@ == 0
goto_if_false @DRUGS4_44302
set_lvar_int_to_constant 106@ = 15892
set_lvar_text_label 107@s = 'FIN1_KS'
gosub @DRUGS4_66512

:DRUGS4_44302
if 
  178@ == 11
goto_if_false @DRUGS4_44390
if 
  179@ == 0
goto_if_false @DRUGS4_44390
if 
  Searchlight.DoesExist(58@)
goto_if_false @DRUGS4_44361
Searchlight.SetClipIfColliding(58@, False)

:DRUGS4_44361
set_lvar_int_to_constant 106@ = 15893
set_lvar_text_label 107@s = 'FIN1_KT'
gosub @DRUGS4_66512

:DRUGS4_44390
if 
  178@ == 12
goto_if_false @DRUGS4_44455
if 
  179@ == 0
goto_if_false @DRUGS4_44455
set_lvar_int_to_constant 106@ = 15894
set_lvar_text_label 107@s = 'FIN1_KU'
gosub @DRUGS4_66512

:DRUGS4_44455
if 
  178@ == 13
goto_if_false @DRUGS4_44520
if 
  179@ == 0
goto_if_false @DRUGS4_44520
set_lvar_int_to_constant 106@ = 15812
set_lvar_text_label 107@s = 'FIN1_CB'
gosub @DRUGS4_66512

:DRUGS4_44520
if 
  327@ == 2
goto_if_false @DRUGS4_44583
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2424.42, -1446.57, 15.0, 15.0, False)
goto_if_false @DRUGS4_44583
327@ = 3

:DRUGS4_44583
if 
  178@ == 14
goto_if_false @DRUGS4_44666
if 
  327@ == 3
goto_if_false @DRUGS4_44666
if 
  179@ == 0
goto_if_false @DRUGS4_44666
set_lvar_int_to_constant 106@ = 15902
set_lvar_text_label 107@s = 'FIN1_LD'
gosub @DRUGS4_66512

:DRUGS4_44666
if 
  327@ == 3
goto_if_false @DRUGS4_44729
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2453.78, -1333.3, 10.0, 10.0, False)
goto_if_false @DRUGS4_44729
327@ = 4

:DRUGS4_44729
if 
  178@ == 15
goto_if_false @DRUGS4_44812
if 
  327@ == 3
goto_if_false @DRUGS4_44812
if 
  179@ == 0
goto_if_false @DRUGS4_44812
set_lvar_int_to_constant 106@ = 15950
set_lvar_text_label 107@s = 'FIN1_ZD'
gosub @DRUGS4_66512

:DRUGS4_44812
if 
  327@ == 4
goto_if_false @DRUGS4_44875
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2454.1, -1313.02, 10.0, 10.0, False)
goto_if_false @DRUGS4_44875
327@ = 5

:DRUGS4_44875
if 
  178@ == 16
goto_if_false @DRUGS4_44958
if 
  179@ == 0
goto_if_false @DRUGS4_44958
if 
  327@ == 5
goto_if_false @DRUGS4_44958
set_lvar_int_to_constant 106@ = 15897
set_lvar_text_label 107@s = 'FIN1_KX'
gosub @DRUGS4_66512

:DRUGS4_44958
if 
  295@ == 2
goto_if_false @DRUGS4_47216
Player.SetControl($statbike_temp, False)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_45014
Car.SetProofs($sweet_carZ, True, True, True, True, True)

:DRUGS4_45014
Hud.SwitchWidescreen(True)
Camera.SetNearClip(0.1)
Car.StopPlayback(186@)
Car.Delete(186@)
Blip.Remove(285@)
Car.StopPlayback(187@)
Car.Delete(187@)
Blip.Remove(286@)
Car.StopPlayback(188@)
Car.Delete(188@)
Blip.Remove(287@)
Car.StopPlayback(189@)
Car.Delete(189@)
Blip.Remove(288@)
Car.StopPlayback(190@)
Car.Delete(190@)
Blip.Remove(289@)
Car.Delete(191@)
Blip.Remove(290@)
Car.StopPlayback(192@)
Car.Delete(192@)
Blip.Remove(291@)
Char.Delete(195@)
Char.Delete(196@)
Char.Delete(197@)
Char.Delete(198@)
Char.Delete(199@)
Char.Delete(200@)
Char.Delete(201@)
Char.Delete(202@)
Char.Delete(203@)
Char.Delete(204@)
Char.Delete(205@)
Char.Delete(206@)
Char.Delete(207@)
Char.Delete(208@)
296@ = 0
297@ = 0
298@ = 0
299@ = 0
300@ = 0
301@ = 0
302@ = 0
303@ = 0
304@ = 0
313@ = 0
314@ = 0
315@ = 0
316@ = 0
317@ = 0
318@ = 0
319@ = 0
320@ = 0
Streaming.RequestCarRecording(331)
Streaming.RequestModel(#DYN_SCAFFOLD_4B)
Streaming.RequestCarRecording(339)
Streaming.RequestAnimation("MD_CHASE")
Streaming.RequestCarRecording(373)
Streaming.RequestCarRecording(374)
Streaming.RequestCarRecording(375)
Streaming.RequestCarRecording(376)
Streaming.RequestCarRecording(377)
Streaming.RequestCarRecording(371)
Streaming.RequestCarRecording(372)
Streaming.RequestCarRecording(378)
Streaming.RequestCarRecording(380)
Streaming.RequestCarRecording(381)
Streaming.RequestModel(#MUNCH_DONUT)
Streaming.LoadSpecialCharacter(2, 'SMOKE')
Streaming.LoadSpecialCharacter(3, 'RYDER2')
Streaming.RequestModel(#CHOPCOP_ARMR)
Streaming.RequestModel(#CHOPCOP_LEGR)
Streaming.RequestModel(#CHOPCOP_HEAD)
Streaming.RequestModel(#CHOPCOP_TORSO)
Streaming.RequestModel(#WD_FENCE_ANIM)
Streaming.RequestModel(284)
Streaming.RequestModel(523)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15903)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15904)
Streaming.RequestModel(#MD_POSTER)
Streaming.LoadAllModelsNow

:DRUGS4_45477
if or
  not Streaming.HasCarRecordingBeenLoaded(331)
  not Streaming.HasModelLoaded(#DYN_SCAFFOLD_4B)
  not Streaming.HasCarRecordingBeenLoaded(339)
  not Streaming.HasAnimationLoaded("MD_CHASE")
  not Streaming.HasModelLoaded(284)
  not Streaming.HasModelLoaded(523)
goto_if_false @DRUGS4_45536
wait 0
goto @DRUGS4_45477

:DRUGS4_45536
if or
  not Streaming.HasCarRecordingBeenLoaded(373)
  not Streaming.HasCarRecordingBeenLoaded(374)
  not Streaming.HasCarRecordingBeenLoaded(375)
  not Streaming.HasCarRecordingBeenLoaded(376)
  not Streaming.HasCarRecordingBeenLoaded(377)
goto_if_false @DRUGS4_45583
wait 0
goto @DRUGS4_45536

:DRUGS4_45583
if or
  not Streaming.HasCarRecordingBeenLoaded(371)
  not Streaming.HasCarRecordingBeenLoaded(372)
  not Streaming.HasCarRecordingBeenLoaded(378)
  not Streaming.HasCarRecordingBeenLoaded(380)
goto_if_false @DRUGS4_45625
wait 0
goto @DRUGS4_45583

:DRUGS4_45625
if or
  not Streaming.HasModelLoaded(#MUNCH_DONUT)
  not Streaming.HasCarRecordingBeenLoaded(381)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasSpecialCharacterLoaded(3)
goto_if_false @DRUGS4_45665
wait 0
goto @DRUGS4_45625

:DRUGS4_45665
if or
  not Streaming.HasModelLoaded(#CHOPCOP_ARMR)
  not Streaming.HasModelLoaded(#CHOPCOP_LEGR)
  not Streaming.HasModelLoaded(#CHOPCOP_HEAD)
  not Streaming.HasModelLoaded(#WD_FENCE_ANIM)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_45715
wait 0
goto @DRUGS4_45665

:DRUGS4_45715
212@ = Car.Create(523, 2571.39, -1248.083, 45.2)
Car.SetPetrolTankWeakpoint(212@, False)
Car.SetHeading(212@, 181.089)
213@ = Car.Create(523, 2569.95, -1248.083, 45.2)
Car.SetPetrolTankWeakpoint(213@, False)
Car.SetHeading(213@, 181.089)
214@ = Car.Create(523, 2586.339, -1351.697, 35.174)
Car.SetPetrolTankWeakpoint(214@, False)
Car.SetHeading(214@, 87.221)
Car.ForceLights(214@, CarLights.ForceOn)
Car.ForceLights(212@, CarLights.ForceOff)
Car.ForceLights(213@, CarLights.ForceOff)
216@ = Char.CreateInsideCar(212@, PedType.Mission1, 284)
Char.SetDecisionMaker(216@, 55@)
217@ = Char.CreateInsideCar(213@, PedType.Mission1, 284)
Char.SetDecisionMaker(217@, 55@)
186@ = Car.Create(596, 2505.736, -1256.742, 33.64)
Car.SetPetrolTankWeakpoint(186@, False)
Car.SetHeading(186@, 268.42)
195@ = Char.CreateInsideCar(186@, PedType.Mission1, 280)
Char.SetDecisionMaker(195@, 55@)
Char.SetSuffersCriticalHits(195@, False)
Char.SetCanBeShotInVehicle(195@, False)
Char.SetOnlyDamagedByPlayer(195@, True)
230@ = Object.Create(#MUNCH_DONUT, 2570.59, -1247.66, 44.88)
Camera.SetFixedPosition(2570.636, -1245.94, 45.3765, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2570.625, -1246.931, 45.2422, SwitchType.JumpCut)
Camera.DoFade(250, Fade.In)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_46129
if 
  Car.IsPlaybackGoingOn($sweet_carZ)
goto_if_false @DRUGS4_46117
Car.StopPlayback($sweet_carZ)
Car.SetIdle($sweet_carZ)
Car.FreezePosition($sweet_carZ, True)
goto @DRUGS4_46129

:DRUGS4_46117
Car.SetIdle($sweet_carZ)
Car.FreezePosition($sweet_carZ, True)

:DRUGS4_46129
237@ = Particle.Create("CARWASHSPRAY", 2451.04, -1460.79, 23.0, 1)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_46250
Char.DetachFromCar($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2585.74, -1264.16, 46.2)
$mc_strap = Char.CreateInsideCar($sweet_carZ, PedType.Special, 291)
Char.SetDecisionMaker($mc_strap, 55@)
$sweet_car = Char.CreateAsPassenger($sweet_carZ, PedType.Special, 292, 0)
Char.SetDecisionMaker($sweet_car, 55@)

:DRUGS4_46250
218@ = Char.Create(PedType.Mission1, 284, 0.0, 0.0, 0.0)
Char.SetDecisionMaker(218@, 55@)
Char.SetSuffersCriticalHits(218@, False)
Char.SetOnlyDamagedByPlayer(218@, True)
Car.SetProofs(214@, True, True, True, True, True)
Task.PlayAnimNonInterruptable(218@, "MD_BIKE_JMP_F", "MD_CHASE", 4.0, False, False, False, True, -1)
Char.AttachToCar(218@, 214@, 0.0, -0.401, 0.47, 0, 360.0, WeaponType.Unarmed)
Char.SetHealth(218@, 1000)
308@ = 1
222@ = Object.Create(#DYN_SCAFFOLD_4B, 2563.232, -1322.392, 40.3)
Object.SetHeading(222@, 170.0)
223@ = Object.Create(#DYN_SCAFFOLD_4B, 2563.232, -1322.392, 42.5)
Object.SetHeading(223@, 170.0)
224@ = Object.Create(#DYN_SCAFFOLD_4B, 2563.232, -1322.392, 44.7)
Object.SetHeading(224@, 170.0)
225@ = Object.Create(#DYN_SCAFFOLD_4B, 2565.882, -1322.392, 40.3)
Object.SetHeading(225@, 170.0)
226@ = Object.Create(#DYN_SCAFFOLD_4B, 2565.882, -1322.392, 42.5)
Object.SetHeading(226@, 170.0)
227@ = Object.Create(#DYN_SCAFFOLD_4B, 2565.882, -1322.392, 44.7)
Object.SetHeading(227@, 170.0)
305@ = 1
187@ = Car.Create(596, 2520.49, -1485.04, 22.84)
Car.SetPetrolTankWeakpoint(187@, False)
Car.SetHeading(187@, 1.33)
Car.SetHealth(187@, 750)
Car.SetOnlyDamagedByPlayer(187@, True)
196@ = Char.CreateInsideCar(187@, PedType.Mission1, 280)
Char.SetDecisionMaker(196@, 55@)
Char.SetHealth(196@, 100)
Char.SetOnlyDamagedByPlayer(196@, True)
197@ = Char.CreateAsPassenger(187@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(197@, 55@)
Char.SetHealth(197@, 100)
Char.SetOnlyDamagedByPlayer(197@, True)
Char.GiveWeapon(197@, WeaponType.Mp5, 9999)
Char.SetSuffersCriticalHits(197@, False)
Car.SetIdle(187@)
188@ = Car.Create(596, 2532.98, -1502.372, 23.67)
Car.SetPetrolTankWeakpoint(188@, False)
Car.SetHeading(188@, 266.9)
Car.SetHealth(188@, 600)
Car.SetOnlyDamagedByPlayer(188@, True)
198@ = Char.CreateInsideCar(188@, PedType.Mission1, 280)
Char.SetDecisionMaker(198@, 55@)
Char.SetSuffersCriticalHits(198@, False)
Char.SetHealth(198@, 100)
Char.SetOnlyDamagedByPlayer(198@, True)
199@ = Char.CreateAsPassenger(188@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(199@, 55@)
Char.SetHealth(199@, 100)
Char.SetOnlyDamagedByPlayer(199@, True)
Char.GiveWeapon(199@, WeaponType.Mp5, 9999)
Char.SetSuffersCriticalHits(199@, False)
Car.SetIdle(188@)
193@ = Car.Create(596, 2510.967, -1448.138, 28.398)
Car.SetPetrolTankWeakpoint(193@, False)
Car.SetHeading(193@, 72.49)
Car.SetHealth(193@, 325)
Car.SetOnlyDamagedByPlayer(193@, True)
201@ = Char.CreateInsideCar(193@, PedType.Mission1, 280)
Char.SetDecisionMaker(201@, 55@)
Char.SetSuffersCriticalHits(201@, False)
Char.SetOnlyDamagedByPlayer(201@, True)
202@ = Char.CreateAsPassenger(193@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(202@, 55@)
Char.SetOnlyDamagedByPlayer(202@, True)
Char.GiveWeapon(202@, WeaponType.Mp5, 9999)
Char.SetSuffersCriticalHits(202@, False)
Car.SetIdle(193@)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_47209
if 
  not Car.IsDead(186@)
goto_if_false @DRUGS4_47209
if 
  not Car.IsDead(213@)
goto_if_false @DRUGS4_47209
if 
  not Car.IsDead(214@)
goto_if_false @DRUGS4_47209
Car.FreezePosition($sweet_carZ, False)
Car.StartPlayback($sweet_carZ, 331)
Car.StartPlayback(186@, 339)
Car.StartPlayback(213@, 371)
Car.StartPlayback(214@, 372)
Car.SwitchSiren(214@, True)
308@ = 2
285@ = Blip.AddForCar(186@)
Blip.ChangeDisplay(285@, BlipDisplay.BlipOnly)
297@ = 1
Car.SwitchSiren(186@, True)
TIMERA = 0

:DRUGS4_47209
295@ = 3

:DRUGS4_47216
if 
  295@ == 3
goto_if_false @DRUGS4_47331
if 
  TIMERA > 1100
goto_if_false @DRUGS4_47331
if 
  Object.DoesExist(230@)
goto_if_false @DRUGS4_47304
Object.PlayAnim(230@, "DONUTDROP", "MD_CHASE", 4.0, False, True)

:DRUGS4_47304
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_LE', 2250, 1)
295@ = 4

:DRUGS4_47331
if 
  295@ == 4
goto_if_false @DRUGS4_47508
if 
  TIMERA > 3800
goto_if_false @DRUGS4_47508
if 
  not Car.IsDead(212@)
goto_if_false @DRUGS4_47508
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('FIN1_LF', 2000, 1)
Car.GotoCoordinates(212@, 2604.02, -1256.38, 48.84)
Car.SetCruiseSpeed(212@, 25.0)
Car.SetDrivingStyle(212@, DrivingMode.AvoidCars)
if 
  not Car.IsDead(212@)
goto_if_false @DRUGS4_47471
Car.ForceLights(212@, CarLights.ForceOn)
Car.SwitchSiren(212@, True)

:DRUGS4_47471
if 
  not Car.IsDead(213@)
goto_if_false @DRUGS4_47501
Car.ForceLights(213@, CarLights.ForceOn)
Car.SwitchSiren(213@, True)

:DRUGS4_47501
295@ = 5

:DRUGS4_47508
if 
  295@ == 5
goto_if_false @DRUGS4_47613
if 
  TIMERA > 4500
goto_if_false @DRUGS4_47613
Camera.SetFixedPosition(2569.743, -1287.646, 46.8949, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2569.825, -1286.652, 46.8238, SwitchType.JumpCut)
Char.SetHeading($stattreadstamina_ctr, 180.0)
295@ = 6

:DRUGS4_47613
if 
  295@ == 6
goto_if_false @DRUGS4_47914
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_47914
if or
  Car.Locate2D($sweet_carZ, 2569.743, -1287.646, 1.2, 1.2, False)
  TIMERB > 50800
goto_if_false @DRUGS4_47914
Car.Delete(212@)
Char.Delete(216@)
Object.Delete(230@)
Char.Delete($mc_strap)
Char.Delete($sweet_car)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_47791
Char.AttachToCar($stattreadstamina_ctr, $sweet_carZ, 0.0, -0.5, 0.8, 2, 360.0, WeaponType.Ak47)
Player.SetHeadingForAttached($statbike_temp, 75.0, 75.0)

:DRUGS4_47791
Camera.Restore
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Car.SetProofs($sweet_carZ, False, True, True, True, True)
Char.SetProofs($stattreadstamina_ctr, False, True, True, False, False)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
if 
  not Char.IsDead(217@)
goto_if_false @DRUGS4_47872
Char.SetCanBeKnockedOffBike(217@, 3)

:DRUGS4_47872
328@ = 3
327@ = 0
178@ = 0
179@ = 0
296@ = 1
295@ = 7

:DRUGS4_47914
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_50000
if 
  295@ > 2
goto_if_false @DRUGS4_50000
if 
  308@ == 2
goto_if_false @DRUGS4_48089
if 
  not Char.IsDead(218@)
goto_if_false @DRUGS4_48089
if 
  Char.IsPlayingAnim(218@, "MD_BIKE_JMP_F")
goto_if_false @DRUGS4_48089
228@ = Char.GetAnimCurrentTime(218@, "MD_BIKE_JMP_F")
if 
  228@ > 0.0
goto_if_false @DRUGS4_48089
Char.SetAnimSpeed(218@, "MD_BIKE_JMP_F", 0.0)
308@ = 3

:DRUGS4_48089
if 
  308@ == 3
goto_if_false @DRUGS4_48226
if 
  TIMERA > 12600
goto_if_false @DRUGS4_48226
if 
  not Char.IsDead(218@)
goto_if_false @DRUGS4_48226
Task.PlayAnimNonInterruptable(218@, "MD_BIKE_JMP_F", "MD_CHASE", 1000.0, False, False, False, True, -1)
Char.SetAnimSpeed(218@, "MD_BIKE_JMP_F", 1.0)
327@ = 1
308@ = 4

:DRUGS4_48226
if 
  308@ == 4
goto_if_false @DRUGS4_48620
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_48620
if 
  not Char.IsDead(218@)
goto_if_false @DRUGS4_48620
if 
  Char.IsPlayingAnim(218@, "MD_BIKE_JMP_F")
goto_if_false @DRUGS4_48620
228@ = Char.GetAnimCurrentTime(218@, "MD_BIKE_JMP_F")
if 
  228@ == 1.0
goto_if_false @DRUGS4_48620
if 
  309@ == 1
goto_if_false @DRUGS4_48432
Task.PlayAnim(218@, "MD_BIKE_LND_DIE_F", "MD_CHASE", 1000.0, False, False, False, True, -1)
308@ = 100
goto @DRUGS4_48491

:DRUGS4_48432
Task.PlayAnimNonInterruptable(218@, "MD_BIKE_LND_F", "MD_CHASE", 1000.0, False, False, False, True, -1)
TIMERA = 0
308@ = 5

:DRUGS4_48491
wait 0
if 
  not Char.IsDead(218@)
goto_if_false @DRUGS4_48564
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_48564
Char.DetachFromCar(218@)
Char.AttachToCar(218@, $sweet_carZ, 0.0, 3.0, 0.3, 2, 360.0, WeaponType.Unarmed)

:DRUGS4_48564
if 
  not Car.IsDead(214@)
goto_if_false @DRUGS4_48620
Car.StopPlayback(214@)
Car.SetRotationVelocity(214@, -3.0, -2.0, 0.2003)
Car.MarkAsNoLongerNeeded(214@)
Car.MarkAsNoLongerNeeded(213@)
Char.MarkAsNoLongerNeeded(217@)

:DRUGS4_48620
if 
  308@ == 5
goto_if_false @DRUGS4_48799
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_48799
if 
  not Char.IsDead(218@)
goto_if_false @DRUGS4_48799
if 
  Char.IsPlayingAnim(218@, "MD_BIKE_LND_F")
goto_if_false @DRUGS4_48799
228@ = Char.GetAnimCurrentTime(218@, "MD_BIKE_LND_F")
if 
  228@ == 1.0
goto_if_false @DRUGS4_48799
Task.PlayAnimNonInterruptable(218@, "MD_BIKE_PUNCH_F", "MD_CHASE", 8.0, True, False, False, False, -1)
308@ = 6

:DRUGS4_48799
if 
  308@ > 0
goto_if_false @DRUGS4_48883
if 
  5 > 308@
goto_if_false @DRUGS4_48883
if 
  not Car.IsDead(214@)
goto_if_false @DRUGS4_48883
if 
  not Char.IsDead(218@)
goto_if_false @DRUGS4_48883
221@ = Car.GetHeading(214@)
Char.SetHeading(218@, 221@)

:DRUGS4_48883
if 
  308@ > 4
goto_if_false @DRUGS4_48951
if 
  101 > 308@
goto_if_false @DRUGS4_48951
if 
  not Char.IsDead(218@)
goto_if_false @DRUGS4_48951
221@ = Car.GetHeading($sweet_carZ)
Char.SetHeading(218@, 221@)

:DRUGS4_48951
if 
  not Char.IsDead(218@)
goto_if_false @DRUGS4_49106
if 
  Char.IsPlayingAnim(218@, "MD_BIKE_PUNCH_F")
goto_if_false @DRUGS4_49106
229@ = Char.GetAnimCurrentTime(218@, "MD_BIKE_PUNCH_F")
if 
  229@ > 0.2
goto_if_false @DRUGS4_49099
if 
  308@ == 6
goto_if_false @DRUGS4_49092
Camera.DoBump(-2.2, 1.7)
Char.Damage($stattreadstamina_ctr, 10, True)
308@ = 7

:DRUGS4_49092
goto @DRUGS4_49106

:DRUGS4_49099
308@ = 6

:DRUGS4_49106
if 
  not Char.IsDead(218@)
goto_if_false @DRUGS4_49171
232@ = Char.GetHealth(218@)
if 
  901 > 232@
goto_if_false @DRUGS4_49171
Char.SetProofs(218@, True, True, True, True, True)
309@ = 1

:DRUGS4_49171
if 
  308@ == 100
goto_if_false @DRUGS4_49392
if 
  Char.IsPlayingAnim(218@, "MD_BIKE_LND_DIE_F")
goto_if_false @DRUGS4_49392
228@ = Char.GetAnimCurrentTime(218@, "MD_BIKE_LND_DIE_F")
if 
  228@ == 1.0
goto_if_false @DRUGS4_49392
Char.DetachFromCar(218@)
$x, $y, $z = Car.GetCoordinates($sweet_carZ)
$x += 1.433
$y += 1.763
$z += 0.0
Char.SetCoordinates(218@, $x, $y, $z)
Task.PlayAnimNonInterruptable(218@, "MD_BIKE_LND_ROLL_F", "MD_CHASE", 1000.0, False, False, False, True, -1)
308@ = 101

:DRUGS4_49392
if 
  308@ == 101
goto_if_false @DRUGS4_49507
if 
  Char.IsPlayingAnim(218@, "MD_BIKE_LND_ROLL_F")
goto_if_false @DRUGS4_49507
228@ = Char.GetAnimCurrentTime(218@, "MD_BIKE_LND_ROLL_F")
if 
  228@ == 1.0
goto_if_false @DRUGS4_49507
Char.RemoveElegantly(218@)
308@ = 102

:DRUGS4_49507
if 
  308@ > 4
goto_if_false @DRUGS4_49577
if 
  8 > 308@
goto_if_false @DRUGS4_49577
if or
  309@ == 1
  TIMERA > 15000
goto_if_false @DRUGS4_49577
308@ = 200

:DRUGS4_49577
if 
  308@ == 200
goto_if_false @DRUGS4_49666
if 
  not Char.IsDead(218@)
goto_if_false @DRUGS4_49666
Task.PlayAnimNonInterruptable(218@, "MD_BIKE_SHOT_F", "MD_CHASE", 1000.0, False, False, False, True, -1)
308@ = 201

:DRUGS4_49666
if 
  308@ == 201
goto_if_false @DRUGS4_49883
if 
  Char.IsPlayingAnim(218@, "MD_BIKE_SHOT_F")
goto_if_false @DRUGS4_49883
228@ = Char.GetAnimCurrentTime(218@, "MD_BIKE_SHOT_F")
if 
  228@ == 1.0
goto_if_false @DRUGS4_49883
Char.DetachFromCar(218@)
$x, $y, $z = Car.GetCoordinates($sweet_carZ)
$x += 1.433
$y += 1.763
$z += 0.0
Char.SetCoordinates(218@, $x, $y, $z)
Task.PlayAnimNonInterruptable(218@, "MD_BIKE_LND_ROLL_F", "MD_CHASE", 1000.0, False, False, False, True, -1)
308@ = 202

:DRUGS4_49883
if 
  308@ == 201
goto_if_false @DRUGS4_50000
if 
  Char.IsPlayingAnim(218@, "MD_BIKE_LND_ROLL_F")
goto_if_false @DRUGS4_50000
228@ = Char.GetAnimCurrentTime(218@, "MD_BIKE_LND_ROLL_F")
if 
  228@ == 1.0
goto_if_false @DRUGS4_50000
Char.Delete(218@)
308@ = 202

:DRUGS4_50000
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_61917
if 
  295@ == 7
goto_if_false @DRUGS4_61917
gosub @DRUGS4_66554
if 
  178@ == 0
goto_if_false @DRUGS4_50106
if 
  179@ == 0
goto_if_false @DRUGS4_50106
set_lvar_int_to_constant 106@ = 15899
set_lvar_text_label 107@s = 'FIN1_LA'
gosub @DRUGS4_66512

:DRUGS4_50106
if 
  328@ == 0
goto_if_false @DRUGS4_50187
if 
  TIMERB > 53000
goto_if_false @DRUGS4_50187
if 
  not Char.IsDead(217@)
goto_if_false @DRUGS4_50180
Task.Die(217@)
328@ = 1
goto @DRUGS4_50187

:DRUGS4_50180
328@ = 1

:DRUGS4_50187
if 
  328@ == 3
goto_if_false @DRUGS4_50268
if 
  TIMERB > 58900
goto_if_false @DRUGS4_50268
if 
  not Car.IsDead(186@)
goto_if_false @DRUGS4_50261
Car.Explode(186@)
328@ = 4
goto @DRUGS4_50268

:DRUGS4_50261
328@ = 4

:DRUGS4_50268
if 
  328@ == 4
goto_if_false @DRUGS4_50349
if 
  TIMERB > 85200
goto_if_false @DRUGS4_50349
if 
  not Car.IsDead(187@)
goto_if_false @DRUGS4_50342
Car.Explode(187@)
328@ = 5
goto @DRUGS4_50349

:DRUGS4_50342
328@ = 5

:DRUGS4_50349
if 
  327@ == 1
goto_if_false @DRUGS4_50432
if 
  178@ == 1
goto_if_false @DRUGS4_50432
if 
  179@ == 0
goto_if_false @DRUGS4_50432
set_lvar_int_to_constant 106@ = 15809
set_lvar_text_label 107@s = 'FIN1_BK'
gosub @DRUGS4_66512

:DRUGS4_50432
if 
  178@ == 2
goto_if_false @DRUGS4_50497
if 
  179@ == 0
goto_if_false @DRUGS4_50497
set_lvar_int_to_constant 106@ = 15885
set_lvar_text_label 107@s = 'FIN1_KK'
gosub @DRUGS4_66512

:DRUGS4_50497
if 
  178@ == 3
goto_if_false @DRUGS4_50562
if 
  179@ == 0
goto_if_false @DRUGS4_50562
set_lvar_int_to_constant 106@ = 15891
set_lvar_text_label 107@s = 'FIN1_KR'
gosub @DRUGS4_66512

:DRUGS4_50562
if 
  327@ == 1
goto_if_false @DRUGS4_50625
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2545.15, -1460.3, 15.0, 15.0, False)
goto_if_false @DRUGS4_50625
327@ = 2

:DRUGS4_50625
if 
  327@ == 2
goto_if_false @DRUGS4_50708
if 
  178@ == 4
goto_if_false @DRUGS4_50708
if 
  179@ == 0
goto_if_false @DRUGS4_50708
set_lvar_int_to_constant 106@ = 15948
set_lvar_text_label 107@s = 'FIN1_ZB'
gosub @DRUGS4_66512

:DRUGS4_50708
if 
  178@ == 5
goto_if_false @DRUGS4_50773
if 
  179@ == 0
goto_if_false @DRUGS4_50773
set_lvar_int_to_constant 106@ = 15910
set_lvar_text_label 107@s = 'FIN1_LL'
gosub @DRUGS4_66512

:DRUGS4_50773
if 
  178@ == 6
goto_if_false @DRUGS4_50838
if 
  179@ == 0
goto_if_false @DRUGS4_50838
set_lvar_int_to_constant 106@ = 15907
set_lvar_text_label 107@s = 'FIN1_LI'
gosub @DRUGS4_66512

:DRUGS4_50838
if 
  327@ == 2
goto_if_false @DRUGS4_50901
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2451.92, -1461.5, 12.0, 12.0, False)
goto_if_false @DRUGS4_50901
327@ = 4

:DRUGS4_50901
if 
  327@ == 4
goto_if_false @DRUGS4_50984
if 
  178@ == 7
goto_if_false @DRUGS4_50984
if 
  179@ == 0
goto_if_false @DRUGS4_50984
set_lvar_int_to_constant 106@ = 15914
set_lvar_text_label 107@s = 'FIN1_LP'
gosub @DRUGS4_66512

:DRUGS4_50984
if 
  178@ == 8
goto_if_false @DRUGS4_51049
if 
  179@ == 0
goto_if_false @DRUGS4_51049
set_lvar_int_to_constant 106@ = 15933
set_lvar_text_label 107@s = 'FIN1_MK'
gosub @DRUGS4_66512

:DRUGS4_51049
if 
  178@ == 9
goto_if_false @DRUGS4_51114
if 
  179@ == 0
goto_if_false @DRUGS4_51114
set_lvar_int_to_constant 106@ = 15908
set_lvar_text_label 107@s = 'FIN1_LJ'
gosub @DRUGS4_66512

:DRUGS4_51114
if 
  327@ == 4
goto_if_false @DRUGS4_51177
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2344.98, -1382.22, 18.0, 18.0, False)
goto_if_false @DRUGS4_51177
327@ = 5

:DRUGS4_51177
if 
  327@ == 5
goto_if_false @DRUGS4_51260
if 
  178@ == 10
goto_if_false @DRUGS4_51260
if 
  179@ == 0
goto_if_false @DRUGS4_51260
set_lvar_int_to_constant 106@ = 15892
set_lvar_text_label 107@s = 'FIN1_KS'
gosub @DRUGS4_66512

:DRUGS4_51260
if 
  327@ == 5
goto_if_false @DRUGS4_51323
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2305.51, -1370.01, 18.0, 18.0, False)
goto_if_false @DRUGS4_51323
327@ = 6

:DRUGS4_51323
if 
  178@ == 11
goto_if_false @DRUGS4_51388
if 
  179@ == 0
goto_if_false @DRUGS4_51388
set_lvar_int_to_constant 106@ = 15915
set_lvar_text_label 107@s = 'FIN1_LQ'
gosub @DRUGS4_66512

:DRUGS4_51388
if 
  178@ == 12
goto_if_false @DRUGS4_51453
if 
  179@ == 0
goto_if_false @DRUGS4_51453
set_lvar_int_to_constant 106@ = 15918
set_lvar_text_label 107@s = 'FIN1_LT'
gosub @DRUGS4_66512

:DRUGS4_51453
if 
  178@ == 13
goto_if_false @DRUGS4_51518
if 
  179@ == 0
goto_if_false @DRUGS4_51518
set_lvar_int_to_constant 106@ = 15920
set_lvar_text_label 107@s = 'FIN1_LV'
gosub @DRUGS4_66512

:DRUGS4_51518
if 
  327@ == 7
goto_if_false @DRUGS4_51601
if 
  178@ == 14
goto_if_false @DRUGS4_51601
if 
  179@ == 0
goto_if_false @DRUGS4_51601
set_lvar_int_to_constant 106@ = 15810
set_lvar_text_label 107@s = 'FIN1_BL'
gosub @DRUGS4_66512

:DRUGS4_51601
if 
  178@ == 15
goto_if_false @DRUGS4_51666
if 
  179@ == 0
goto_if_false @DRUGS4_51666
set_lvar_int_to_constant 106@ = 15921
set_lvar_text_label 107@s = 'FIN1_LW'
gosub @DRUGS4_66512

:DRUGS4_51666
if 
  178@ == 16
goto_if_false @DRUGS4_51731
if 
  179@ == 0
goto_if_false @DRUGS4_51731
set_lvar_int_to_constant 106@ = 15922
set_lvar_text_label 107@s = 'FIN1_LX'
gosub @DRUGS4_66512

:DRUGS4_51731
if 
  178@ == 17
goto_if_false @DRUGS4_51796
if 
  179@ == 0
goto_if_false @DRUGS4_51796
set_lvar_int_to_constant 106@ = 15947
set_lvar_text_label 107@s = 'FIN1_ZA'
gosub @DRUGS4_66512

:DRUGS4_51796
if 
  178@ == 18
goto_if_false @DRUGS4_51861
if 
  179@ == 0
goto_if_false @DRUGS4_51861
set_lvar_int_to_constant 106@ = 15949
set_lvar_text_label 107@s = 'FIN1_ZC'
gosub @DRUGS4_66512

:DRUGS4_51861
if 
  327@ == 8
goto_if_false @DRUGS4_51944
if 
  179@ == 0
goto_if_false @DRUGS4_51944
if 
  178@ == 20
goto_if_false @DRUGS4_51944
set_lvar_int_to_constant 106@ = 15923
set_lvar_text_label 107@s = 'FIN1_MA'
gosub @DRUGS4_66512

:DRUGS4_51944
if 
  179@ == 0
goto_if_false @DRUGS4_52009
if 
  178@ == 21
goto_if_false @DRUGS4_52009
set_lvar_int_to_constant 106@ = 15924
set_lvar_text_label 107@s = 'FIN1_MB'
gosub @DRUGS4_66512

:DRUGS4_52009
if 
  179@ == 0
goto_if_false @DRUGS4_52074
if 
  178@ == 22
goto_if_false @DRUGS4_52074
set_lvar_int_to_constant 106@ = 15926
set_lvar_text_label 107@s = 'FIN1_MD'
gosub @DRUGS4_66512

:DRUGS4_52074
if 
  179@ == 0
goto_if_false @DRUGS4_52139
if 
  178@ == 23
goto_if_false @DRUGS4_52139
set_lvar_int_to_constant 106@ = 15927
set_lvar_text_label 107@s = 'FIN1_ME'
gosub @DRUGS4_66512

:DRUGS4_52139
if 
  179@ == 0
goto_if_false @DRUGS4_52204
if 
  178@ == 24
goto_if_false @DRUGS4_52204
set_lvar_int_to_constant 106@ = 15824
set_lvar_text_label 107@s = 'FIN1_EA'
gosub @DRUGS4_66512

:DRUGS4_52204
if 
  179@ == 0
goto_if_false @DRUGS4_52269
if 
  178@ == 25
goto_if_false @DRUGS4_52269
set_lvar_int_to_constant 106@ = 15930
set_lvar_text_label 107@s = 'FIN1_MH'
gosub @DRUGS4_66512

:DRUGS4_52269
if 
  179@ == 0
goto_if_false @DRUGS4_52334
if 
  178@ == 26
goto_if_false @DRUGS4_52334
set_lvar_int_to_constant 106@ = 15931
set_lvar_text_label 107@s = 'FIN1_MI'
gosub @DRUGS4_66512

:DRUGS4_52334
if 
  179@ == 0
goto_if_false @DRUGS4_52399
if 
  178@ == 27
goto_if_false @DRUGS4_52399
set_lvar_int_to_constant 106@ = 15942
set_lvar_text_label 107@s = 'FIN1_MT'
gosub @DRUGS4_66512

:DRUGS4_52399
if 
  179@ == 0
goto_if_false @DRUGS4_52464
if 
  178@ == 28
goto_if_false @DRUGS4_52464
set_lvar_int_to_constant 106@ = 15934
set_lvar_text_label 107@s = 'FIN1_ML'
gosub @DRUGS4_66512

:DRUGS4_52464
if 
  179@ == 0
goto_if_false @DRUGS4_52529
if 
  178@ == 29
goto_if_false @DRUGS4_52529
set_lvar_int_to_constant 106@ = 15940
set_lvar_text_label 107@s = 'FIN1_MR'
gosub @DRUGS4_66512

:DRUGS4_52529
if 
  179@ == 0
goto_if_false @DRUGS4_52594
if 
  178@ == 30
goto_if_false @DRUGS4_52594
set_lvar_int_to_constant 106@ = 15941
set_lvar_text_label 107@s = 'FIN1_MS'
gosub @DRUGS4_66512

:DRUGS4_52594
if 
  305@ == 1
goto_if_false @DRUGS4_52719
if 
  not Car.IsDead(186@)
goto_if_false @DRUGS4_52719
if 
  Car.Locate2D(186@, 2566.12, -1322.35, 1.5, 1.5, False)
goto_if_false @DRUGS4_52719
if 
  Object.DoesExist(223@)
goto_if_false @DRUGS4_52689
Object.Break(223@, 1)

:DRUGS4_52689
if 
  Object.DoesExist(224@)
goto_if_false @DRUGS4_52712
Object.Break(224@, 1)

:DRUGS4_52712
305@ = 2

:DRUGS4_52719
if 
  296@ == 1
goto_if_false @DRUGS4_53224
if 
  Car.Locate2D($sweet_carZ, 2564.68, -1442.47, 15.0, 15.0, False)
goto_if_false @DRUGS4_53224
if 
  not Car.IsDead(187@)
goto_if_false @DRUGS4_52835
Car.StartPlayback(187@, 373)
286@ = Blip.AddForCar(187@)
Blip.ChangeDisplay(286@, BlipDisplay.BlipOnly)
Car.SwitchSiren(187@, True)
298@ = 1
314@ = 1

:DRUGS4_52835
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS4_52895
Car.StartPlayback(188@, 374)
287@ = Blip.AddForCar(188@)
Blip.ChangeDisplay(287@, BlipDisplay.BlipOnly)
Car.SwitchSiren(188@, True)
299@ = 1
315@ = 1

:DRUGS4_52895
if 
  not Car.IsDead(193@)
goto_if_false @DRUGS4_52955
Car.StartPlayback(193@, 380)
292@ = Blip.AddForCar(193@)
Blip.ChangeDisplay(292@, BlipDisplay.BlipOnly)
Car.SwitchSiren(193@, True)
304@ = 1
320@ = 1

:DRUGS4_52955
if 
  not Char.IsDead(197@)
goto_if_false @DRUGS4_53007
Task.DriveBy(197@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 500.0, DriveByType.Ai, True, 40)

:DRUGS4_53007
if 
  not Char.IsDead(199@)
goto_if_false @DRUGS4_53120
if 
  293@ > 1
goto_if_false @DRUGS4_53084
Task.DriveBy(199@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 500.0, DriveByType.Ai, True, 30)
goto @DRUGS4_53120

:DRUGS4_53084
Task.DriveBy(199@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 500.0, DriveByType.Ai, True, 75)

:DRUGS4_53120
if 
  not Char.IsDead(202@)
goto_if_false @DRUGS4_53172
Task.DriveBy(202@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 500.0, DriveByType.Ai, True, 40)

:DRUGS4_53172
Particle.Play(237@)
Object.Delete(222@)
Object.Delete(223@)
Object.Delete(224@)
Object.Delete(225@)
Object.Delete(226@)
Object.Delete(227@)
Streaming.MarkModelAsNoLongerNeeded(#DYN_SCAFFOLD_4B)
Streaming.MarkModelAsNoLongerNeeded(#MUNCH_DONUT)
296@ = 2

:DRUGS4_53224
if 
  296@ == 2
goto_if_false @DRUGS4_53831
if 
  Car.Locate2D($sweet_carZ, 2344.12, -1384.48, 12.0, 12.0, False)
goto_if_false @DRUGS4_53831
215@ = Car.Create(523, 2254.042, -1308.15, 23.02)
Car.SetPetrolTankWeakpoint(215@, False)
Car.SetHeading(215@, 261.999)
Car.ForceLights(215@, CarLights.ForceOn)
Car.SwitchSiren(215@, True)
310@ = 0
219@ = Char.Create(PedType.Mission1, 284, 0.0, 0.0, 0.0)
Task.PlayAnimNonInterruptable(219@, "MD_BIKE_JMP_BL", "MD_CHASE", 4.0, False, False, False, True, -1)
Char.AttachToCar(219@, 215@, 0.0, -0.401, 0.47, 0, 360.0, WeaponType.Unarmed)
Char.SetHealth(219@, 1000)
307@ = 1
Char.SetDecisionMaker(219@, 55@)
Char.SetSuffersCriticalHits(219@, False)
Char.SetOnlyDamagedByPlayer(219@, True)
Car.SetOnlyDamagedByPlayer(215@, True)
Car.SetProofs(215@, True, True, True, True, True)
190@ = Car.Create(596, 2222.98, -1303.52, 22.654)
Car.SetPetrolTankWeakpoint(190@, False)
Car.SetHeading(190@, 269.409)
Car.SetHealth(190@, 850)
Car.SetOnlyDamagedByPlayer(190@, True)
203@ = Char.CreateInsideCar(190@, PedType.Mission1, 280)
Char.SetDecisionMaker(203@, 55@)
Char.SetSuffersCriticalHits(203@, False)
Char.SetHealth(203@, 100)
Char.SetOnlyDamagedByPlayer(203@, True)
204@ = Char.CreateAsPassenger(190@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(204@, 55@)
Char.SetHealth(204@, 100)
Char.SetOnlyDamagedByPlayer(204@, True)
Char.GiveWeapon(204@, WeaponType.Mp5, 9999)
Char.SetSuffersCriticalHits(204@, False)
Car.SetIdle(190@)
191@ = Car.Create(596, 2250.63, -1380.995, 22.65)
Car.SetPetrolTankWeakpoint(191@, False)
Car.SetHeading(191@, 268.1)
Car.SetHealth(191@, 800)
Car.SetProofs(191@, False, False, True, False, False)
Car.SetOnlyDamagedByPlayer(191@, True)
206@ = Char.CreateInsideCar(191@, PedType.Mission1, 280)
Char.SetDecisionMaker(206@, 55@)
Char.SetSuffersCriticalHits(206@, False)
Char.SetOnlyDamagedByPlayer(206@, True)
207@ = Char.CreateAsPassenger(191@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(207@, 55@)
Char.SetHealth(207@, 200)
Char.SetOnlyDamagedByPlayer(207@, True)
Char.GiveWeapon(207@, WeaponType.Mp5, 9999)
Char.SetSuffersCriticalHits(207@, False)
Car.SetIdle(191@)
296@ = 3

:DRUGS4_53831
if 
  296@ == 3
goto_if_false @DRUGS4_54011
if 
  Car.Locate2D($sweet_carZ, 2304.185, -1364.711, 20.0, 20.0, False)
goto_if_false @DRUGS4_54011
if 
  not Car.IsDead(191@)
goto_if_false @DRUGS4_53947
Car.StartPlayback(191@, 377)
290@ = Blip.AddForCar(191@)
Blip.ChangeDisplay(290@, BlipDisplay.BlipOnly)
Car.SwitchSiren(191@, True)
302@ = 1
318@ = 1

:DRUGS4_53947
if 
  not Char.IsDead(207@)
goto_if_false @DRUGS4_53999
Task.DriveBy(207@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 500.0, DriveByType.Ai, True, 30)

:DRUGS4_53999
Particle.Kill(237@)
296@ = 4

:DRUGS4_54011
if 
  296@ == 4
goto_if_false @DRUGS4_54245
if 
  Car.Locate2D($sweet_carZ, 2289.817, -1319.51, 25.0, 25.0, False)
goto_if_false @DRUGS4_54245
if 
  not Car.IsDead(215@)
goto_if_false @DRUGS4_54121
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_54121
Car.StartPlayback(215@, 375)
TIMERA = 0
307@ = 3

:DRUGS4_54121
if 
  not Car.IsDead(190@)
goto_if_false @DRUGS4_54181
Car.StartPlayback(190@, 376)
289@ = Blip.AddForCar(190@)
Blip.ChangeDisplay(289@, BlipDisplay.BlipOnly)
Car.SwitchSiren(190@, True)
301@ = 1
317@ = 1

:DRUGS4_54181
if 
  not Char.IsDead(204@)
goto_if_false @DRUGS4_54233
Task.DriveBy(204@, -1, $sweet_carZ, 0.0, 0.0, 0.0, 500.0, DriveByType.Ai, True, 40)

:DRUGS4_54233
Char.Delete(218@)
296@ = 5

:DRUGS4_54245
if 
  296@ == 5
goto_if_false @DRUGS4_54841
if 
  Car.Locate2D($sweet_carZ, 2221.81, -1260.26, 5.5, 5.5, False)
goto_if_false @DRUGS4_54841
234@ = Char.Create(PedType.Mission1, 280, 2127.116, -1381.61, 23.88)
Char.SetHeading(234@, 84.93)
Char.SetDecisionMaker(234@, 55@)
Char.SetProofs(234@, True, True, True, True, True)
Char.SetOnlyDamagedByPlayer(234@, True)
Char.GiveWeapon(234@, WeaponType.Mp5, 9999)
Char.SetSuffersCriticalHits(234@, False)
Char.SetAccuracy(234@, 5)
set_lvar_int_to_lvar_int 118@ = 234@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66967
233@ = Char.Create(PedType.Mission1, 284, 2127.09, -1382.81, 23.32)
Char.SetDecisionMaker(233@, 55@)
Char.SetProofs(233@, True, True, True, True, True)
Char.SetOnlyDamagedByPlayer(233@, True)
Char.GiveWeapon(233@, WeaponType.Mp5, 9999)
Char.SetSuffersCriticalHits(233@, False)
Char.SetAccuracy(233@, 5)
set_lvar_int_to_lvar_int 118@ = 233@
set_lvar_int_to_var_int 119@ = $stattreadstamina_ctr
gosub @DRUGS4_66967
235@ = Car.Create(596, 2129.865, -1386.89, 22.65)
Car.SetHeading(235@, 7.63)
Car.SetIdle(235@)
Car.SetIdle(235@)
TIMERB = 0
if 
  311@ == 0
goto_if_false @DRUGS4_54636
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_54636
Heli.GotoCoords(40@, 2168.0, -1508.0, 33.29, 30.0, 30.0)
311@ = 1

:DRUGS4_54636
249@ = Object.CreateNoOffset(#WD_FENCE_ANIM, 2167.763, -1470.354, 25.328)
Object.SetHeading(249@, 90.0)
250@ = Object.CreateNoOffset(#WD_FENCE_ANIM, 2167.763, -1465.688, 25.328)
Object.SetHeading(250@, 90.0)
251@ = Object.CreateNoOffset(#WD_FENCE_ANIM, 2167.763, -1461.021, 25.328)
Object.SetHeading(251@, 90.0)
261@ = Object.CreateNoOffset(#WD_FENCE_ANIM, 2174.328, -1470.354, 25.328)
Object.SetHeading(261@, 270.0)
262@ = Object.CreateNoOffset(#WD_FENCE_ANIM, 2174.328, -1465.688, 25.328)
Object.SetHeading(262@, 270.0)
263@ = Object.CreateNoOffset(#WD_FENCE_ANIM, 2174.328, -1461.021, 25.328)
Object.SetHeading(263@, 270.0)
296@ = 6

:DRUGS4_54841
if 
  296@ == 6
goto_if_false @DRUGS4_54928
if 
  Car.Locate2D($sweet_carZ, 2081.93, -1261.68, 6.0, 6.0, False)
goto_if_false @DRUGS4_54928
if 
  not Car.IsDead(191@)
goto_if_false @DRUGS4_54921
Car.SetHealth(191@, 249)

:DRUGS4_54921
296@ = 7

:DRUGS4_54928
if 
  296@ == 7
goto_if_false @DRUGS4_55018
if 
  TIMERB > 3000
goto_if_false @DRUGS4_55018
if 
  not Char.IsDead(234@)
goto_if_false @DRUGS4_55018
if 
  not Char.IsDead(233@)
goto_if_false @DRUGS4_55018
Char.FreezePosition(234@, True)
Char.FreezePosition(233@, True)
296@ = 8

:DRUGS4_55018
if 
  323@ == 0
goto_if_false @DRUGS4_55145
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2074.18, -1372.28, 7.0, 7.0, False)
goto_if_false @DRUGS4_55145
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 32402)
Player.SetHeadingForAttached($statbike_temp, 174.0, 8.0)
Car.Delete(215@)
Streaming.MarkModelAsNoLongerNeeded(523)
Pad.SetPlayerFireButton($statbike_temp, False)
327@ = 8
179@ = 0
178@ = 20
323@ = 1

:DRUGS4_55145
if 
  323@ == 1
goto_if_false @DRUGS4_55295
if 
  Player.IsAttachedHeadingAchieved($statbike_temp)
goto_if_false @DRUGS4_55295
Char.SetHeadingLimitForAttached($stattreadstamina_ctr, 0, 60.0)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_55222
Car.SetProofs($sweet_carZ, True, True, True, True, True)

:DRUGS4_55222
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Object.Delete($2663)
$2663 = Object.CreateNoOffset(#MD_POSTER, 2167.82, -1518.193, 20.237)
Object.SetHeading($2663, 0.0)
Object.SetCollisionDamageEffect($2663, False)
Object.FreezePosition($2663, True)
323@ = 2

:DRUGS4_55295
if 
  296@ == 8
goto_if_false @DRUGS4_55624
if 
  not Char.IsDead(234@)
goto_if_false @DRUGS4_55624
if 
  not Char.IsDead(233@)
goto_if_false @DRUGS4_55624
if or
  Char.IsTouchingVehicle(234@, $sweet_carZ)
  Char.IsTouchingVehicle(233@, $sweet_carZ)
goto_if_false @DRUGS4_55624
322@ = 1
321@ = 1
296@ = 9
Car.Delete(40@)
Char.MarkAsNoLongerNeeded(44@)
Searchlight.Delete(58@)
40@ = Car.Create(497, 2170.27, -1523.73, 24.76)
44@ = Char.CreateInsideCar(40@, PedType.Mission1, 280)
Heli.SetBladesFullSpeed(40@)
Car.StartPlayback(40@, 381)
TIMERA = 0
TIMERB = 0
Char.SetDecisionMaker(44@, 55@)
Char.SetSuffersCriticalHits(44@, False)
Char.SetCanBeShotInVehicle(44@, False)
Char.SetOnlyDamagedByPlayer(44@, True)
Car.SetOnlyDamagedByPlayer(40@, True)
Car.SetProofs(40@, True, True, True, True, True)
240@ = Particle.Create("BLOOD_HELI", 2170.74, -1445.63, 25.12, 1)
241@ = Particle.Create("BLOOD_HELI", 2170.92, -1450.5, 25.0, 1)
242@ = Particle.Create("BLOOD_HELI", 2171.11, -1447.04, 25.13, 1)

:DRUGS4_55624
if 
  296@ == 9
goto_if_false @DRUGS4_57661
if 
  324@ == 0
goto_if_false @DRUGS4_55764
if 
  TIMERA > 14099
goto_if_false @DRUGS4_55764
Object.PlayAnim(249@, "FEN_CHOPPA_R1", "MD_CHASE", 1000.0, False, True)
Object.PlayAnim(261@, "FEN_CHOPPA_L2", "MD_CHASE", 1000.0, False, True)
324@ = 1

:DRUGS4_55764
if 
  324@ == 1
goto_if_false @DRUGS4_55886
if 
  TIMERA > 14899
goto_if_false @DRUGS4_55886
Object.PlayAnim(250@, "FEN_CHOPPA_R2", "MD_CHASE", 1000.0, False, True)
Object.PlayAnim(262@, "FEN_CHOPPA_L3", "MD_CHASE", 1000.0, False, True)
324@ = 2

:DRUGS4_55886
if 
  324@ == 2
goto_if_false @DRUGS4_56008
if 
  TIMERA > 15532
goto_if_false @DRUGS4_56008
Object.PlayAnim(251@, "FEN_CHOPPA_R3", "MD_CHASE", 1000.0, False, True)
Object.PlayAnim(263@, "FEN_CHOPPA_L1", "MD_CHASE", 1000.0, False, True)
324@ = 3

:DRUGS4_56008
if 
  322@ == 1
goto_if_false @DRUGS4_56133
if 
  not Char.IsDead(234@)
goto_if_false @DRUGS4_56133
Char.FreezePosition(234@, False)
Char.AttachToCar(234@, $sweet_carZ, -0.5, 3.0, 0.3, 0, 360.0, WeaponType.Unarmed)
Task.PlayAnimNonInterruptable(234@, "CARHIT_TUMBLE", "MD_CHASE", 1000.0, False, False, False, True, -1)
322@ = 2

:DRUGS4_56133
if 
  322@ == 2
goto_if_false @DRUGS4_56333
if 
  not Char.IsDead(234@)
goto_if_false @DRUGS4_56333
if 
  Char.IsPlayingAnim(234@, "CARHIT_TUMBLE")
goto_if_false @DRUGS4_56333
228@ = Char.GetAnimCurrentTime(234@, "CARHIT_TUMBLE")
if 
  228@ > 0.7
goto_if_false @DRUGS4_56333
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_56333
Char.DetachFromCar(234@)
$x, $y, $z = Car.GetCoordinates($sweet_carZ)
$x += 0.0
$y += -1.763
$z += -0.05
Char.SetCoordinates(234@, $x, $y, $z)
Char.RemoveElegantly(234@)
322@ = 3

:DRUGS4_56333
if 
  not Char.IsDead(234@)
goto_if_false @DRUGS4_56365
239@ = Car.GetHeading($sweet_carZ)
Char.SetHeading(234@, 239@)

:DRUGS4_56365
if 
  321@ == 1
goto_if_false @DRUGS4_56490
if 
  not Char.IsDead(233@)
goto_if_false @DRUGS4_56490
Char.FreezePosition(233@, False)
Char.AttachToCar(233@, $sweet_carZ, 0.5, 3.0, 0.3, 0, 360.0, WeaponType.Unarmed)
Task.PlayAnimNonInterruptable(233@, "CARHIT_HANGON", "MD_CHASE", 1000.0, False, False, False, True, -1)
321@ = 2

:DRUGS4_56490
if 
  321@ == 2
goto_if_false @DRUGS4_56654
if 
  not Char.IsDead(233@)
goto_if_false @DRUGS4_56654
if 
  Char.IsPlayingAnim(233@, "CARHIT_HANGON")
goto_if_false @DRUGS4_56654
228@ = Char.GetAnimCurrentTime(233@, "CARHIT_HANGON")
if 
  228@ == 1.0
goto_if_false @DRUGS4_56654
Task.PlayAnimNonInterruptable(233@, "HANGON_STUN_LOOP", "MD_CHASE", 1000.0, True, False, False, False, -1)
321@ = 3

:DRUGS4_56654
if 
  not Char.IsDead(233@)
goto_if_false @DRUGS4_56686
238@ = Car.GetHeading($sweet_carZ)
Char.SetHeading(233@, 238@)

:DRUGS4_56686
if 
  325@ == 0
goto_if_false @DRUGS4_56774
if 
  TIMERB > 10499
goto_if_false @DRUGS4_56774
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_56774
if 
  Car.IsPlaybackGoingOn($sweet_carZ)
goto_if_false @DRUGS4_56774
Car.PausePlayback($sweet_carZ)
TIMERB = 0
325@ = 1

:DRUGS4_56774
if 
  325@ == 1
goto_if_false @DRUGS4_56914
if 
  TIMERB > 3000
goto_if_false @DRUGS4_56914
if 
  321@ == 3
goto_if_false @DRUGS4_56907
if 
  not Char.IsDead(233@)
goto_if_false @DRUGS4_56907
Task.PlayAnimNonInterruptable(233@, "HANGON_STUN_TURN", "MD_CHASE", 1000.0, False, False, False, True, -1)
TIMERB = 0
321@ = 4

:DRUGS4_56907
325@ = 2

:DRUGS4_56914
if 
  325@ == 2
goto_if_false @DRUGS4_57019
if 
  TIMERB > 2000
goto_if_false @DRUGS4_57019
if 
  Car.IsPlaybackGoingOn($sweet_carZ)
goto_if_false @DRUGS4_57019
Car.UnpausePlayback($sweet_carZ)
Car.Delete(235@)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(280)
Streaming.MarkModelAsNoLongerNeeded(284)
Streaming.MarkModelAsNoLongerNeeded(523)
Streaming.MarkModelAsNoLongerNeeded(497)
Streaming.MarkModelAsNoLongerNeeded(353)
Char.Delete(234@)
325@ = 3

:DRUGS4_57019
if 
  325@ == 3
goto_if_false @DRUGS4_57194
if 
  TIMERB > 4300
goto_if_false @DRUGS4_57194
Camera.DoBump(0.0, -1.0)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DRUGS4_57087
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:DRUGS4_57087
Particle.PlayAndKill(240@)
243@ = Object.Create(#CHOPCOP_TORSO, 2170.35, -1445.99, 25.49)
Object.SetDynamic(243@, True)
244@ = Object.Create(#CHOPCOP_LEGR, 2170.5, -1447.65, 25.06)
Object.SetDynamic(244@, True)
Char.Delete(233@)
Object.Delete(249@)
Object.Delete(262@)
Object.Delete(263@)
Object.Delete(261@)
Object.Delete(262@)
Object.Delete(263@)
325@ = 4

:DRUGS4_57194
if 
  325@ == 4
goto_if_false @DRUGS4_57456
if 
  TIMERB > 4800
goto_if_false @DRUGS4_57456
327@ = 9
Particle.PlayAndKill(241@)
245@ = Object.Create(#CHOPCOP_LEGR, 2170.99, -1448.51, 25.08)
Object.SetDynamic(245@, True)
246@ = Object.Create(#CHOPCOP_ARMR, 2170.96, -1450.36, 25.2)
Object.SetDynamic(246@, True)
Object.SetRotation(246@, 0.2, 0.2, 0.2)
247@ = Object.Create(#CHOPCOP_ARMR, 2171.16, -1451.11, 25.12)
Object.SetDynamic(247@, True)
Object.SetRotation(247@, -0.1, 0.05, 0.1)
248@ = Object.Create(#CHOPCOP_HEAD, 2171.1, -1453.09, 25.4)
Object.SetDynamic(248@, True)
Object.SetRotation(248@, 0.5, 0.2, -0.1)
Particle.PlayAndKill(242@)
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_57449
Car.StopPlayback(40@)

:DRUGS4_57449
325@ = 5

:DRUGS4_57456
if 
  325@ == 5
goto_if_false @DRUGS4_57661
if 
  TIMERB > 5800
goto_if_false @DRUGS4_57661
Camera.SetFixedPosition(2169.899, -1543.497, 38.744, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2169.894, -1542.551, 38.4204, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Char.DetachFromCar($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2184.87, -1500.83, 23.55)
Player.SetControl($statbike_temp, False)
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_57647
Car.SetCoordinates(40@, 2172.56, -1420.69, 30.0)
Car.Explode(40@)
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_57642
Car.Explode(40@)

:DRUGS4_57642
Char.Delete(44@)

:DRUGS4_57647
TIMERB = 0
325@ = 6

:DRUGS4_57661
if 
  311@ == 1
goto_if_false @DRUGS4_57717
if 
  not Car.IsDead(40@)
goto_if_false @DRUGS4_57717
Car.MarkAsNoLongerNeeded(40@)
Char.MarkAsNoLongerNeeded(44@)
Searchlight.Delete(58@)
311@ = 2

:DRUGS4_57717
if 
  297@ == 1
goto_if_false @DRUGS4_57823
if 
  not Car.IsDead(186@)
goto_if_false @DRUGS4_57796
if 
  not Car.IsPlaybackGoingOn(186@)
goto_if_false @DRUGS4_57789
Car.MarkAsNoLongerNeeded(186@)
Char.MarkAsNoLongerNeeded(195@)
Blip.Remove(285@)
297@ = 2

:DRUGS4_57789
goto @DRUGS4_57823

:DRUGS4_57796
Car.StopPlayback(186@)
Char.MarkAsNoLongerNeeded(195@)
Car.MarkAsNoLongerNeeded(186@)
Blip.Remove(285@)
297@ = 2

:DRUGS4_57823
if 
  314@ == 1
goto_if_false @DRUGS4_57975
if 
  not Car.IsDead(187@)
goto_if_false @DRUGS4_57975
if 
  not Char.IsDead(196@)
goto_if_false @DRUGS4_57880
goto @DRUGS4_57975

:DRUGS4_57880
if 
  not Char.IsDead(197@)
goto_if_false @DRUGS4_57963
if 
  Char.IsInCar(197@, 187@)
goto_if_false @DRUGS4_57956
284@ = Car.GetDriver(187@)
if 
  284@ == -1
goto_if_false @DRUGS4_57956
Task.ShuffleToNextCarSeat(197@, 187@)
314@ = 2

:DRUGS4_57956
goto @DRUGS4_57975

:DRUGS4_57963
Car.StopPlayback(187@)
314@ = 2

:DRUGS4_57975
if 
  314@ == 2
goto_if_false @DRUGS4_58021
if 
  Char.IsDead(197@)
goto_if_false @DRUGS4_58021
Car.StopPlayback(187@)
314@ = 3

:DRUGS4_58021
if 
  298@ == 1
goto_if_false @DRUGS4_58137
if 
  not Car.IsDead(187@)
goto_if_false @DRUGS4_58105
if 
  not Car.IsPlaybackGoingOn(187@)
goto_if_false @DRUGS4_58098
Car.MarkAsNoLongerNeeded(187@)
Char.MarkAsNoLongerNeeded(196@)
Char.MarkAsNoLongerNeeded(197@)
Blip.Remove(286@)
298@ = 2

:DRUGS4_58098
goto @DRUGS4_58137

:DRUGS4_58105
Car.StopPlayback(187@)
Char.MarkAsNoLongerNeeded(196@)
Char.MarkAsNoLongerNeeded(197@)
Car.MarkAsNoLongerNeeded(187@)
Blip.Remove(286@)
298@ = 2

:DRUGS4_58137
if 
  315@ == 1
goto_if_false @DRUGS4_58289
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS4_58289
if 
  not Char.IsDead(198@)
goto_if_false @DRUGS4_58194
goto @DRUGS4_58289

:DRUGS4_58194
if 
  not Char.IsDead(199@)
goto_if_false @DRUGS4_58277
if 
  Char.IsInCar(199@, 188@)
goto_if_false @DRUGS4_58270
284@ = Car.GetDriver(188@)
if 
  284@ == -1
goto_if_false @DRUGS4_58270
Task.ShuffleToNextCarSeat(199@, 188@)
315@ = 2

:DRUGS4_58270
goto @DRUGS4_58289

:DRUGS4_58277
Car.StopPlayback(188@)
315@ = 2

:DRUGS4_58289
if 
  315@ == 2
goto_if_false @DRUGS4_58335
if 
  Char.IsDead(199@)
goto_if_false @DRUGS4_58335
Car.StopPlayback(188@)
315@ = 3

:DRUGS4_58335
if 
  299@ == 1
goto_if_false @DRUGS4_58451
if 
  not Car.IsDead(188@)
goto_if_false @DRUGS4_58419
if 
  not Car.IsPlaybackGoingOn(188@)
goto_if_false @DRUGS4_58412
Car.MarkAsNoLongerNeeded(188@)
Char.MarkAsNoLongerNeeded(198@)
Char.MarkAsNoLongerNeeded(199@)
Blip.Remove(287@)
299@ = 2

:DRUGS4_58412
goto @DRUGS4_58451

:DRUGS4_58419
Car.StopPlayback(188@)
Char.MarkAsNoLongerNeeded(198@)
Char.MarkAsNoLongerNeeded(199@)
Car.MarkAsNoLongerNeeded(188@)
Blip.Remove(287@)
299@ = 2

:DRUGS4_58451
if 
  300@ == 1
goto_if_false @DRUGS4_58507
if 
  Car.IsDead(189@)
goto_if_false @DRUGS4_58507
Blip.Remove(288@)
Char.MarkAsNoLongerNeeded(200@)
Car.MarkAsNoLongerNeeded(189@)
300@ = 2

:DRUGS4_58507
if 
  317@ == 1
goto_if_false @DRUGS4_58659
if 
  not Car.IsDead(190@)
goto_if_false @DRUGS4_58659
if 
  not Char.IsDead(203@)
goto_if_false @DRUGS4_58564
goto @DRUGS4_58659

:DRUGS4_58564
if 
  not Char.IsDead(204@)
goto_if_false @DRUGS4_58647
if 
  Char.IsInCar(204@, 190@)
goto_if_false @DRUGS4_58640
284@ = Car.GetDriver(190@)
if 
  284@ == -1
goto_if_false @DRUGS4_58640
Task.ShuffleToNextCarSeat(204@, 190@)
317@ = 2

:DRUGS4_58640
goto @DRUGS4_58659

:DRUGS4_58647
Car.StopPlayback(190@)
317@ = 2

:DRUGS4_58659
if 
  317@ == 2
goto_if_false @DRUGS4_58705
if 
  Char.IsDead(204@)
goto_if_false @DRUGS4_58705
Car.StopPlayback(190@)
317@ = 3

:DRUGS4_58705
if 
  301@ == 1
goto_if_false @DRUGS4_58821
if 
  not Car.IsDead(190@)
goto_if_false @DRUGS4_58789
if 
  not Car.IsPlaybackGoingOn(190@)
goto_if_false @DRUGS4_58782
Car.MarkAsNoLongerNeeded(190@)
Char.MarkAsNoLongerNeeded(203@)
Char.MarkAsNoLongerNeeded(204@)
Blip.Remove(289@)
301@ = 2

:DRUGS4_58782
goto @DRUGS4_58821

:DRUGS4_58789
Car.StopPlayback(190@)
Char.MarkAsNoLongerNeeded(203@)
Char.MarkAsNoLongerNeeded(204@)
Car.MarkAsNoLongerNeeded(190@)
Blip.Remove(289@)
301@ = 2

:DRUGS4_58821
if 
  318@ == 1
goto_if_false @DRUGS4_58973
if 
  not Car.IsDead(191@)
goto_if_false @DRUGS4_58973
if 
  not Char.IsDead(206@)
goto_if_false @DRUGS4_58878
goto @DRUGS4_58973

:DRUGS4_58878
if 
  not Char.IsDead(207@)
goto_if_false @DRUGS4_58961
if 
  Char.IsInCar(207@, 191@)
goto_if_false @DRUGS4_58954
284@ = Car.GetDriver(191@)
if 
  284@ == -1
goto_if_false @DRUGS4_58954
Task.ShuffleToNextCarSeat(207@, 191@)
318@ = 2

:DRUGS4_58954
goto @DRUGS4_58973

:DRUGS4_58961
Car.StopPlayback(191@)
318@ = 2

:DRUGS4_58973
if 
  318@ == 2
goto_if_false @DRUGS4_59019
if 
  Char.IsDead(207@)
goto_if_false @DRUGS4_59019
Car.StopPlayback(191@)
318@ = 3

:DRUGS4_59019
if 
  302@ == 1
goto_if_false @DRUGS4_59135
if 
  not Car.IsDead(191@)
goto_if_false @DRUGS4_59103
if 
  not Car.IsPlaybackGoingOn(191@)
goto_if_false @DRUGS4_59096
Car.MarkAsNoLongerNeeded(191@)
Char.MarkAsNoLongerNeeded(206@)
Char.MarkAsNoLongerNeeded(207@)
Blip.Remove(290@)
302@ = 2

:DRUGS4_59096
goto @DRUGS4_59135

:DRUGS4_59103
Car.StopPlayback(191@)
Char.MarkAsNoLongerNeeded(206@)
Char.MarkAsNoLongerNeeded(207@)
Car.MarkAsNoLongerNeeded(191@)
Blip.Remove(290@)
302@ = 2

:DRUGS4_59135
if 
  320@ == 1
goto_if_false @DRUGS4_59287
if 
  not Car.IsDead(193@)
goto_if_false @DRUGS4_59287
if 
  not Char.IsDead(201@)
goto_if_false @DRUGS4_59192
goto @DRUGS4_59287

:DRUGS4_59192
if 
  not Char.IsDead(202@)
goto_if_false @DRUGS4_59275
if 
  Char.IsInCar(202@, 193@)
goto_if_false @DRUGS4_59268
284@ = Car.GetDriver(193@)
if 
  284@ == -1
goto_if_false @DRUGS4_59268
Task.ShuffleToNextCarSeat(202@, 193@)
320@ = 2

:DRUGS4_59268
goto @DRUGS4_59287

:DRUGS4_59275
Car.StopPlayback(193@)
320@ = 2

:DRUGS4_59287
if 
  320@ == 2
goto_if_false @DRUGS4_59333
if 
  Char.IsDead(202@)
goto_if_false @DRUGS4_59333
Car.StopPlayback(193@)
320@ = 3

:DRUGS4_59333
if 
  304@ == 1
goto_if_false @DRUGS4_59561
if 
  not Car.IsDead(193@)
goto_if_false @DRUGS4_59473
if 
  not Car.IsPlaybackGoingOn(193@)
goto_if_false @DRUGS4_59466
Car.MarkAsNoLongerNeeded(193@)
Char.MarkAsNoLongerNeeded(201@)
Char.MarkAsNoLongerNeeded(202@)
Blip.Remove(292@)
if 
  300@ == 1
goto_if_false @DRUGS4_59459
if 
  Car.IsDead(189@)
goto_if_false @DRUGS4_59459
Blip.Remove(288@)
Char.MarkAsNoLongerNeeded(200@)
Car.MarkAsNoLongerNeeded(193@)
300@ = 2

:DRUGS4_59459
304@ = 2

:DRUGS4_59466
goto @DRUGS4_59561

:DRUGS4_59473
Car.StopPlayback(193@)
Char.MarkAsNoLongerNeeded(201@)
Char.MarkAsNoLongerNeeded(202@)
Car.MarkAsNoLongerNeeded(193@)
Blip.Remove(292@)
if 
  300@ == 1
goto_if_false @DRUGS4_59554
if 
  Car.IsDead(189@)
goto_if_false @DRUGS4_59554
Blip.Remove(288@)
Char.MarkAsNoLongerNeeded(200@)
Car.MarkAsNoLongerNeeded(193@)
300@ = 2

:DRUGS4_59554
304@ = 2

:DRUGS4_59561
if 
  307@ == 1
goto_if_false @DRUGS4_59721
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_59721
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_59721
if 
  Char.IsPlayingAnim(219@, "MD_BIKE_JMP_BL")
goto_if_false @DRUGS4_59721
228@ = Char.GetAnimCurrentTime(219@, "MD_BIKE_JMP_BL")
if 
  228@ == 0.0
goto_if_false @DRUGS4_59721
Char.SetAnimSpeed(219@, "MD_BIKE_JMP_BL", 0.0)
307@ = 2

:DRUGS4_59721
if 
  307@ == 3
goto_if_false @DRUGS4_59860
if 
  TIMERA > 3200
goto_if_false @DRUGS4_59860
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_59860
Task.PlayAnimNonInterruptable(219@, "MD_BIKE_JMP_BL", "MD_CHASE", 1.0, False, False, False, True, -1)
Char.SetAnimSpeed(219@, "MD_BIKE_JMP_BL", 1.0)
327@ = 7
307@ = 4

:DRUGS4_59860
if 
  307@ == 4
goto_if_false @DRUGS4_60239
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_60239
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_60239
if 
  Char.IsPlayingAnim(219@, "MD_BIKE_JMP_BL")
goto_if_false @DRUGS4_60239
228@ = Char.GetAnimCurrentTime(219@, "MD_BIKE_JMP_BL")
if 
  228@ == 1.0
goto_if_false @DRUGS4_60239
Char.DetachFromCar(219@)
if 
  310@ == 1
goto_if_false @DRUGS4_60106
Char.AttachToCar(219@, $sweet_carZ, -0.23, -4.0, 0.3, 2, 360.0, WeaponType.Unarmed)
Task.PlayAnim(219@, "MD_BIKE_LND_DIE_BL", "MD_CHASE", 8.0, False, False, False, True, -1)
307@ = 100
goto @DRUGS4_60198

:DRUGS4_60106
Task.PlayAnimNonInterruptable(219@, "MD_BIKE_LND_BL", "MD_CHASE", 1000.0, False, False, False, True, -1)
Char.AttachToCar(219@, $sweet_carZ, -0.23, -4.0, 0.3, 0, 360.0, WeaponType.Unarmed)
TIMERA = 0
307@ = 5

:DRUGS4_60198
if 
  not Car.IsDead(215@)
goto_if_false @DRUGS4_60239
Car.StopPlayback(215@)
Car.SetRotationVelocity(215@, -2.0, 3.0, 0.2003)

:DRUGS4_60239
if 
  307@ == 5
goto_if_false @DRUGS4_60418
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_60418
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_60418
if 
  Char.IsPlayingAnim(219@, "MD_BIKE_LND_BL")
goto_if_false @DRUGS4_60418
228@ = Char.GetAnimCurrentTime(219@, "MD_BIKE_LND_BL")
if 
  228@ > 0.037
goto_if_false @DRUGS4_60418
Task.PlayAnimNonInterruptable(219@, "MD_BIKE_PUNCH", "MD_CHASE", 8.0, True, False, False, False, -1)
307@ = 6

:DRUGS4_60418
if 
  307@ > 0
goto_if_false @DRUGS4_60502
if 
  4 > 307@
goto_if_false @DRUGS4_60502
if 
  not Car.IsDead(215@)
goto_if_false @DRUGS4_60502
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_60502
220@ = Car.GetHeading(215@)
Char.SetHeading(219@, 220@)

:DRUGS4_60502
if 
  307@ == 4
goto_if_false @DRUGS4_60684
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_60684
if 
  Char.IsPlayingAnim(219@, "MD_BIKE_JMP_BL")
goto_if_false @DRUGS4_60684
228@ = Char.GetAnimCurrentTime(219@, "MD_BIKE_JMP_BL")
if 
  228@ > 0.66
goto_if_false @DRUGS4_60652
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_60645
220@ = Car.GetHeading($sweet_carZ)
Char.SetHeading(219@, 220@)

:DRUGS4_60645
goto @DRUGS4_60684

:DRUGS4_60652
if 
  not Car.IsDead(215@)
goto_if_false @DRUGS4_60684
220@ = Car.GetHeading(215@)
Char.SetHeading(219@, 220@)

:DRUGS4_60684
if 
  307@ > 4
goto_if_false @DRUGS4_60750
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_60750
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_60750
220@ = Car.GetHeading($sweet_carZ)
Char.SetHeading(219@, 220@)

:DRUGS4_60750
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_60901
if 
  Char.IsPlayingAnim(219@, "MD_BIKE_PUNCH")
goto_if_false @DRUGS4_60901
229@ = Char.GetAnimCurrentTime(219@, "MD_BIKE_PUNCH")
if 
  229@ > 0.2
goto_if_false @DRUGS4_60894
if 
  307@ == 6
goto_if_false @DRUGS4_60887
Camera.DoBump(-2.2, 1.7)
Char.Damage($stattreadstamina_ctr, 10, True)
307@ = 7

:DRUGS4_60887
goto @DRUGS4_60901

:DRUGS4_60894
307@ = 6

:DRUGS4_60901
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_60966
231@ = Char.GetHealth(219@)
if 
  901 > 231@
goto_if_false @DRUGS4_60966
Char.SetProofs(219@, True, True, True, True, True)
310@ = 1

:DRUGS4_60966
if 
  307@ == 100
goto_if_false @DRUGS4_61129
if 
  Char.IsPlayingAnim(219@, "MD_BIKE_LND_DIE_BL")
goto_if_false @DRUGS4_61129
228@ = Char.GetAnimCurrentTime(219@, "MD_BIKE_LND_DIE_BL")
if 
  228@ == 1.0
goto_if_false @DRUGS4_61129
Char.DetachFromCar(219@)
Task.PlayAnimNonInterruptable(219@, "MD_BIKE_LND_ROLL", "MD_CHASE", 8.0, False, False, False, True, -1)
307@ = 101

:DRUGS4_61129
if 
  307@ == 101
goto_if_false @DRUGS4_61240
if 
  Char.IsPlayingAnim(219@, "MD_BIKE_LND_ROLL")
goto_if_false @DRUGS4_61240
228@ = Char.GetAnimCurrentTime(219@, "MD_BIKE_LND_ROLL")
if 
  228@ == 1.0
goto_if_false @DRUGS4_61240
Char.RemoveElegantly(219@)
307@ = 102

:DRUGS4_61240
if 
  307@ > 4
goto_if_false @DRUGS4_61310
if 
  8 > 307@
goto_if_false @DRUGS4_61310
if or
  310@ == 1
  TIMERA > 12000
goto_if_false @DRUGS4_61310
307@ = 200

:DRUGS4_61310
if 
  307@ == 200
goto_if_false @DRUGS4_61406
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_61406
Task.PlayAnimNonInterruptable(219@, "MD_BIKE_2_HANG", "MD_CHASE", 8.0, False, False, False, True, -1)
TIMERA = 0
307@ = 201

:DRUGS4_61406
if 
  307@ == 201
goto_if_false @DRUGS4_61570
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_61570
if 
  Char.IsPlayingAnim(219@, "MD_BIKE_2_HANG")
goto_if_false @DRUGS4_61570
228@ = Char.GetAnimCurrentTime(219@, "MD_BIKE_2_HANG")
if 
  228@ == 1.0
goto_if_false @DRUGS4_61570
Task.PlayAnimNonInterruptable(219@, "MD_HANG_LOOP", "MD_CHASE", 8.0, True, False, False, False, -1)
307@ = 202

:DRUGS4_61570
if 
  307@ == 202
goto_if_false @DRUGS4_61665
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_61665
if 
  Char.IsPlayingAnim(219@, "MD_BIKE_2_HANG")
goto_if_false @DRUGS4_61665
Char.SetProofs(219@, False, False, False, False, False)
Char.ClearLastDamageEntity(219@)
307@ = 203

:DRUGS4_61665
if 
  307@ == 203
goto_if_false @DRUGS4_61788
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_61788
if or
  Char.HasBeenDamagedByChar(219@, $stattreadstamina_ctr)
  TIMERA > 5000
goto_if_false @DRUGS4_61788
Char.DetachFromCar(219@)
Task.PlayAnimNonInterruptable(219@, "MD_HANG_LND_ROLL", "MD_CHASE", 8.0, False, False, False, True, -1)
307@ = 204

:DRUGS4_61788
if 
  307@ == 204
goto_if_false @DRUGS4_61917
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_61917
if 
  Char.IsPlayingAnim(219@, "MD_HANG_LND_ROLL")
goto_if_false @DRUGS4_61917
228@ = Char.GetAnimCurrentTime(219@, "MD_HANG_LND_ROLL")
if 
  228@ == 1.0
goto_if_false @DRUGS4_61917
Char.Delete(219@)
307@ = 205

:DRUGS4_61917
if 
  325@ == 6
goto_if_false @DRUGS4_62687
if 
  TIMERB > 3000
goto_if_false @DRUGS4_62687
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_62687
Car.Delete(40@)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(280)
Streaming.MarkModelAsNoLongerNeeded(284)
Streaming.MarkModelAsNoLongerNeeded(523)
Streaming.MarkModelAsNoLongerNeeded(497)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_ARML)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_ARMR)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_LEGL)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_LEGR)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_HEAD)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_TORSO)
Object.Delete(243@)
Object.Delete(244@)
Object.Delete(245@)
Object.Delete(246@)
Object.Delete(247@)
Object.Delete(248@)
Object.Delete(249@)
Object.Delete(262@)
Object.Delete(263@)
Object.Delete(261@)
Object.Delete(262@)
Object.Delete(263@)
Car.Delete(40@)
Particle.Kill(237@)
Particle.Kill(240@)
Particle.Kill(241@)
Particle.Kill(242@)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Ak47)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.RemoveAnimation("MD_CHASE")
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Text.ClearPrints
Streaming.RequestCarRecording(351)
Streaming.RequestCarRecording(382)
Streaming.RequestCarRecording(383)
Streaming.RequestCarRecording(384)
Streaming.RequestModel(514)
Streaming.RequestModel(584)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.LoadSpecialCharacter(2, 'SMOKE')
Streaming.LoadSpecialCharacter(3, 'RYDER2')
Streaming.RequestAnimation("MD_END")
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15943)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15944)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 32400)
Streaming.LoadAllModelsNow
Camera.SetFixedPosition(2177.307, -1535.901, 17.7635, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2176.855, -1535.143, 18.2324, SwitchType.JumpCut)

:DRUGS4_62311
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasSpecialCharacterLoaded(3)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_62353
wait 0
goto @DRUGS4_62311

:DRUGS4_62353
if or
  not Streaming.HasModelLoaded(514)
  not Streaming.HasModelLoaded(584)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DRUGS4_62389
wait 0
goto @DRUGS4_62353

:DRUGS4_62389
if or
  not Streaming.HasCarRecordingBeenLoaded(351)
  not Streaming.HasCarRecordingBeenLoaded(382)
  not Streaming.HasCarRecordingBeenLoaded(383)
  not Streaming.HasCarRecordingBeenLoaded(384)
  not Streaming.HasAnimationLoaded("MD_END")
goto_if_false @DRUGS4_62441
wait 0
goto @DRUGS4_62389

:DRUGS4_62441
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_62462
Car.StopPlayback($sweet_carZ)

:DRUGS4_62462
274@ = Car.Create(514, 2078.002, -1524.349, 2.49)
Car.SetHeading(274@, 254.103)
Car.SetHealth(274@, 5000)
Car.SetProofs(274@, True, True, True, True, True)
273@ = Car.Create(584, 2070.05, -1522.059, 3.668)
Car.SetHeading(273@, 254.0)
Car.SetHealth(273@, 5000)
Car.SetProofs(273@, True, True, True, True, True)
275@ = Car.Create(492, 2060.05, -1520.059, 3.668)
Car.SetHealth(275@, 5000)
Car.SetProofs(275@, True, True, True, True, True)
Car.ChangeColor(275@, 5, 5)
Path.SwitchPedRoadsOff(2184.44, -1557.18, -5.481, 2169.22, -1560.63, 5.91)
World.SetCarDensityMultiplier(1.0)
Hud.ClearCounter($bc1_cut)
TIMERB = 0
325@ = 7

:DRUGS4_62687
if 
  325@ > 6
goto_if_false @DRUGS4_62790
if 
  329@ == 0
goto_if_false @DRUGS4_62790
if 
  TIMERB > 1989
goto_if_false @DRUGS4_62790
if 
  Object.DoesExist($2663)
goto_if_false @DRUGS4_62783
Object.FreezePosition($2663, False)
Object.SetCollisionDamageEffect($2663, True)
Object.Break($2663, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:DRUGS4_62783
329@ = 1

:DRUGS4_62790
if 
  325@ == 7
goto_if_false @DRUGS4_62911
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_62911
if 
  not Car.IsDead(274@)
goto_if_false @DRUGS4_62911
if 
  not Car.IsDead(273@)
goto_if_false @DRUGS4_62911
Car.StartPlayback($sweet_carZ, 351)
Car.StartPlayback(274@, 382)
Car.StartPlayback(273@, 383)
if 
  not Car.IsDead(275@)
goto_if_false @DRUGS4_62904
Car.StartPlayback(275@, 384)

:DRUGS4_62904
325@ = 8

:DRUGS4_62911
if 
  325@ == 8
goto_if_false @DRUGS4_63041
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_63041
if 
  Car.Locate2D($sweet_carZ, 2170.2, -1518.04, 5.0, 5.0, False)
goto_if_false @DRUGS4_63041
Clock.SetTimeScale(0.3)
Camera.PointAtCar($sweet_carZ, CameraMode.Fixed, SwitchType.Interpolation)
Car.OpenDoor($sweet_carZ, CarDoor.LeftFrontDoor)
Car.OpenDoor($sweet_carZ, CarDoor.LeftRearDoor)
Car.OpenDoor($sweet_carZ, CarDoor.RightRearDoor)
Car.OpenDoor($sweet_carZ, CarDoor.Hood)
TIMERA = 0
325@ = 9

:DRUGS4_63041
if 
  325@ == 9
goto_if_false @DRUGS4_63194
if 
  TIMERA > 500
goto_if_false @DRUGS4_63194
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_63194
Car.PopPanel($sweet_carZ, 6, True)
Car.SetProofs($sweet_carZ, True, True, True, True, True)
if 
  not Car.IsDead(273@)
goto_if_false @DRUGS4_63149
Car.SetProofs(273@, True, True, True, True, True)

:DRUGS4_63149
if 
  not Car.IsDead(274@)
goto_if_false @DRUGS4_63180
Car.SetProofs(274@, True, True, True, True, True)

:DRUGS4_63180
TIMERA = 0
325@ = 10

:DRUGS4_63194
if 
  325@ == 10
goto_if_false @DRUGS4_63590
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_63590
if or
  Car.Locate3D($sweet_carZ, 2169.24, -1553.91, 2.5, 10.0, 10.0, 6.0, False)
  TIMERA > 4000
goto_if_false @DRUGS4_63590
Car.SetHealth($sweet_carZ, 300)
Clock.SetTimeScale(0.7)
Car.PopPanel($sweet_carZ, 5, True)
Clock.SetTimeOfDay(7, 15)
Camera.SetFixedPosition(2204.804, -1568.276, 1.9452, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2203.861, -1567.951, 1.8744, SwitchType.JumpCut)
Camera.SetNearClip(0.1)
$big_smoke_car = Char.Create(PedType.Special, 290, 2168.479, -1506.067, 24.0)
Char.SetHeading($big_smoke_car, 135.0)
Char.SetDecisionMaker($big_smoke_car, 55@)
Char.SetProofs($big_smoke_car, True, True, True, True, True)
$mc_strap = Char.Create(PedType.Special, 291, 2168.992, -1508.601, 24.0)
Char.SetHeading($mc_strap, 45.0)
Char.SetDecisionMaker($mc_strap, 55@)
Char.SetProofs($mc_strap, True, True, True, True, True)
$sweet_car = Char.Create(PedType.Special, 292, 2167.054, -1507.7, 24.0)
Char.SetHeading($sweet_car, 290.0)
Char.SetDecisionMaker($sweet_car, 55@)
Char.SetProofs($sweet_car, True, True, True, True, True)
Char.SetCoordinates($stattreadstamina_ctr, 2166.952, -1506.237, 24.0)
Char.SetHeading($stattreadstamina_ctr, 225.0)
TIMERA = 0
325@ = 11

:DRUGS4_63590
if 
  325@ == 11
goto_if_false @DRUGS4_63863
if 
  not Car.IsDead(273@)
goto_if_false @DRUGS4_63863
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_63863
if 
  not Car.IsDead(274@)
goto_if_false @DRUGS4_63863
if or
  Car.IsTouchingCar($sweet_carZ, 274@)
  TIMERB > 4350
goto_if_false @DRUGS4_63863
$x, $y, $z = Car.GetCoordinates($sweet_carZ)
Fx.AddExplosion($x, $y, $z, ExplosionType.Grenade)
Car.Explode($sweet_carZ)
Car.Explode(273@)
Car.SetProofs(274@, True, True, True, True, True)
Fx.AddExplosion(2180.27, -1564.66, 3.23, ExplosionType.Car)
Fx.AddExplosion(2182.25, -1565.23, 2.88, ExplosionType.Grenade)
Fx.AddExplosion(2166.34, -1559.97, 6.28, ExplosionType.Rocket)
Fx.AddExplosion(2173.52, -1560.03, 5.0, ExplosionType.Car)
Fx.AddExplosion(2182.65, -1565.14, 4.01, ExplosionType.Rocket)
Fx.AddExplosion(2183.8, -1564.48, 4.05, ExplosionType.Grenade)
TIMERA = 0
325@ = 12

:DRUGS4_63863
if 
  325@ == 12
goto_if_false @DRUGS4_63964
if 
  TIMERA > 250
goto_if_false @DRUGS4_63964
Fx.AddExplosion(2187.94, -1562.73, 2.85, ExplosionType.Grenade)
Fx.AddExplosion(2172.99, -1561.51, 4.88, ExplosionType.Grenade)
Fx.AddExplosion(2172.9, -1561.64, 2.7, ExplosionType.Car)
325@ = 13

:DRUGS4_63964
if 
  325@ == 13
goto_if_false @DRUGS4_64380
if 
  TIMERA > 750
goto_if_false @DRUGS4_64380
281@ = ScriptFire.Start(2180.27, -1564.66, 1.93, 1, 3)
282@ = ScriptFire.Start(2182.25, -1565.23, 1.88, 1, 3)
283@ = ScriptFire.Start(2187.94, -1562.73, 1.36, 1, 3)
278@ = ScriptFire.Start(2204.804, -1568.476, 1.95, 1, 1)
279@ = ScriptFire.Start(2201.11, -1565.77, 1.36, 1, 1)
280@ = ScriptFire.Start(2202.82, -1565.01, 1.35, 1, 3)
Fx.AddExplosion(2175.12, -1562.63, 5.93, ExplosionType.Car)
Fx.AddExplosion(2179.24, -1563.66, 6.42, ExplosionType.Grenade)
Fx.AddExplosion(2170.39, -1560.61, 5.91, ExplosionType.Car)
Fx.AddExplosion(2187.94, -1562.73, 2.85, ExplosionType.Car)
Fx.AddExplosion(2180.27, -1564.66, 3.23, ExplosionType.Car)
Fx.AddExplosion(2172.9, -1561.64, 2.7, ExplosionType.Car)
Fx.AddExplosion(2171.73, -1562.22, 5.92, ExplosionType.Car)
Fx.AddExplosion(2179.3, -1563.32, 6.12, ExplosionType.Rocket)
Fx.AddExplosion(2177.35, -1562.66, 5.73, ExplosionType.Grenade)
Fx.AddExplosion(2174.04, -1562.21, 6.56, ExplosionType.Grenade)
Fx.AddExplosion(2178.27, -1564.89, 6.58, ExplosionType.Rocket)
Fx.AddExplosion(2177.53, -1564.16, 6.96, ExplosionType.Car)
325@ = 14

:DRUGS4_64380
if 
  325@ == 14
goto_if_false @DRUGS4_64500
if 
  TIMERA > 1250
goto_if_false @DRUGS4_64500
Fx.AddExplosion(2166.34, -1559.97, 6.28, ExplosionType.Rocket)
Fx.AddExplosion(2173.52, -1560.03, 5.0, ExplosionType.Car)
Fx.AddExplosion(2182.65, -1565.14, 4.01, ExplosionType.Rocket)
Fx.AddExplosion(2183.8, -1564.48, 4.05, ExplosionType.Grenade)
325@ = 15

:DRUGS4_64500
if 
  325@ == 15
goto_if_false @DRUGS4_64783
if 
  TIMERA > 1750
goto_if_false @DRUGS4_64783
Fx.AddExplosion(2175.12, -1562.63, 5.93, ExplosionType.Car)
Fx.AddExplosion(2179.24, -1563.66, 6.42, ExplosionType.Grenade)
Fx.AddExplosion(2170.39, -1560.61, 5.91, ExplosionType.Car)
if 
  not Car.IsDead(273@)
goto_if_false @DRUGS4_64630
Car.SetProofs(273@, False, False, False, False, False)
Car.Explode(273@)

:DRUGS4_64630
if 
  not Car.IsDead(274@)
goto_if_false @DRUGS4_64671
Car.SetProofs(274@, False, False, False, False, False)
Car.StopPlayback(274@)
Car.Explode(274@)

:DRUGS4_64671
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @DRUGS4_64719
Car.SetProofs($sweet_carZ, False, False, False, False, False)
Car.StopPlayback($sweet_carZ)
Car.SetHealth($sweet_carZ, 100)
Car.Explode($sweet_carZ)

:DRUGS4_64719
Fx.AddExplosion(2187.94, -1562.73, 2.85, ExplosionType.Car)
Fx.AddExplosion(2180.27, -1564.66, 3.23, ExplosionType.Car)
Fx.AddExplosion(2172.9, -1561.64, 2.7, ExplosionType.Car)
325@ = 16

:DRUGS4_64783
if 
  325@ == 16
goto_if_false @DRUGS4_65227
if 
  TIMERA > 4500
goto_if_false @DRUGS4_65227
279@ = ScriptFire.Start(2201.11, -1565.77, 1.36, 1, 1)
Streaming.RemoveAnimation("MD_CHASE")
Streaming.MarkModelAsNoLongerNeeded(514)
Streaming.MarkModelAsNoLongerNeeded(584)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(497)
Clock.SetTimeScale(1.0)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_64940
Task.PlayAnimNonInterruptable($big_smoke_car, "END_SC1_SWE", "MD_END", 1000.0, False, False, False, True, -1)

:DRUGS4_64940
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_64997
Task.PlayAnimNonInterruptable($sweet_car, "END_SC1_RYD", "MD_END", 1000.0, False, False, False, True, -1)

:DRUGS4_64997
Task.PlayAnim($stattreadstamina_ctr, "END_SC1_PLY", "MD_END", 1000.0, False, False, False, True, -1)
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_65103
Task.PlayAnim($mc_strap, "END_SC1_SMO", "MD_END", 1000.0, False, False, False, True, -1)
Char.StartFacialTalk($mc_strap, 5000)

:DRUGS4_65103
wait 100
Camera.SetFixedPosition(2171.519, -1521.437, 23.7949, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2171.287, -1520.465, 23.8322, SwitchType.JumpCut)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_MU', 5000, 1)
Car.Delete(275@)
Car.StopPlayback(273@)
Car.StopPlayback(275@)
Car.Delete(273@)
Car.Delete($sweet_carZ)
Car.Delete(274@)
Car.Delete(40@)
330@ = 1
325@ = 17

:DRUGS4_65227
if 
  325@ > 16
goto_if_false @DRUGS4_65414
if 
  330@ == 1
goto_if_false @DRUGS4_65414
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_65414
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_65414
Camera.SetFixedPosition(2171.519, -1521.437, 23.7949, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2171.287, -1520.465, 23.8322, SwitchType.JumpCut)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Char.StopFacialTalk($mc_strap)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15945)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('FIN1_MV', 4000, 1)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_65407
Char.StartFacialTalk($big_smoke_car, 5000)

:DRUGS4_65407
330@ = 2

:DRUGS4_65414
if 
  330@ == 2
goto_if_false @DRUGS4_65547
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_65547
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_65547
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_65547
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_65547
Text.ClearPrints
Char.StopFacialTalk($big_smoke_car)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('FIN1_MW', 5000, 1)
Char.StartFacialTalk($sweet_car, 5000)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 15946)
330@ = 3

:DRUGS4_65547
if 
  330@ == 3
goto_if_false @DRUGS4_65667
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_65667
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_65667
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_65667
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_65667
Char.StopFacialTalk($sweet_car)
Char.StartFacialTalk($big_smoke_car, 5000)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('FIN1_MX', 5000, 1)
330@ = 4

:DRUGS4_65667
if 
  330@ == 4
goto_if_false @DRUGS4_65730
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DRUGS4_65730
Text.ClearPrints
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_65723
Char.StopFacialTalk($big_smoke_car)

:DRUGS4_65723
330@ = 5

:DRUGS4_65730
if 
  325@ == 17
goto_if_false @DRUGS4_66089
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_66089
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_66089
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_66089
if 
  Char.IsPlayingAnim($mc_strap, "END_SC1_SMO")
goto_if_false @DRUGS4_66089
277@ = Char.GetAnimCurrentTime($mc_strap, "END_SC1_SMO")
if 
  277@ == 1.0
goto_if_false @DRUGS4_66089
Task.PlayAnimNonInterruptable($big_smoke_car, "END_SC2_SWE", "MD_END", 1000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable($mc_strap, "END_SC2_SMO", "MD_END", 1000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable($sweet_car, "END_SC2_RYD", "MD_END", 1000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "END_SC2_PLY", "MD_END", 1000.0, False, False, False, False, -1)
Camera.SetFixedPosition(2168.117, -1510.165, 24.3268, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2168.124, -1509.166, 24.294, SwitchType.JumpCut)
325@ = 18

:DRUGS4_66089
if 
  325@ == 18
goto_if_false @DRUGS4_66378
if 
  not Char.IsDead($mc_strap)
goto_if_false @DRUGS4_66378
if 
  330@ == 5
goto_if_false @DRUGS4_66378
Camera.SetFixedPosition(2175.271, -1537.773, 24.5856, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2175.078, -1536.796, 24.6842, SwitchType.JumpCut)
Task.GoStraightToCoord($mc_strap, 2172.19, -1498.48, 23.55, MoveState.Walk, -1)
Char.SetFollowNodeThresholdDistance($mc_strap, 100.0)
wait 150
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @DRUGS4_66281
Task.GoStraightToCoord($big_smoke_car, 2170.77, -1492.05, 23.65, MoveState.Walk, -1)
Char.SetFollowNodeThresholdDistance($big_smoke_car, 100.0)

:DRUGS4_66281
wait 100
if 
  not Char.IsDead($sweet_car)
goto_if_false @DRUGS4_66335
Task.GoStraightToCoord($sweet_car, 2163.65, -1506.92, 23.01, MoveState.Walk, -1)
Char.SetFollowNodeThresholdDistance($sweet_car, 100.0)

:DRUGS4_66335
Camera.DoFade(4000, Fade.Out)

:DRUGS4_66342
if 
  Camera.GetFadingStatus
goto_if_false @DRUGS4_66366
wait 0
goto @DRUGS4_66342

:DRUGS4_66366
Car.Delete(40@)
325@ = 19

:DRUGS4_66378
if 
  325@ == 19
goto_if_false @DRUGS4_66505
Char.Delete($mc_strap)
Char.Delete($sweet_car)
Char.Delete($big_smoke_car)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2170.935, -1500.675, 22.9)
Char.SetHeading($stattreadstamina_ctr, 355.56)
Char.SetCoordinates($stattreadstamina_ctr, 2170.596, -1515.468, 22.89)
Char.SetHeading($stattreadstamina_ctr, 356.495)
Camera.RestoreJumpcut
Camera.SetInFrontOfPlayer
Hud.SwitchWidescreen(False)
Camera.DoFade(2000, Fade.In)
goto @DRUGS4_67765
325@ = 20

:DRUGS4_66505
goto @DRUGS4_1708

:DRUGS4_66512
if 
  179@ == 0
goto_if_false @DRUGS4_66552
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 106@)
set_lvar_text_label 104@s = 107@s
179@ = 1

:DRUGS4_66552
return 

:DRUGS4_66554
if 
  179@ == 1
goto_if_false @DRUGS4_66733
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_66733
Text.PrintNow(104@s, 4000, 1)
Text.ClearThisPrint('FIN1_BD')
Text.ClearThisPrint('FIN1_CK')
Text.ClearThisPrint('FIN1_BE')
Text.ClearThisPrint('FIN1_BY')
Text.ClearThisPrint('FIN1_CB')
Text.ClearThisPrint('FIN1_BK')
Text.ClearThisPrint('FIN1_BL')
if 
  151@ == 1
goto_if_false @DRUGS4_66722
if 
  not Char.IsDead(66@)
goto_if_false @DRUGS4_66722
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot1, 66@)
151@ = 2

:DRUGS4_66722
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
179@ = 2

:DRUGS4_66733
if 
  179@ == 2
goto_if_false @DRUGS4_66786
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRUGS4_66786
178@ += 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
179@ = 0

:DRUGS4_66786
return 

:DRUGS4_66788
125@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.ShootAtCoord(-1, 122@, 123@, 124@, 15000)
Sequence.SetToRepeat(125@, True)
Sequence.Close(125@)
Char.PerformSequence(118@, 125@)
Sequence.Clear(125@)
return 

:DRUGS4_66848
110@ = Sequence.Open()
Task.GoStraightToCoord(-1, 122@, 123@, 124@, MoveState.Run, -1)
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFootWhileDucking(-1, 119@, 4, 5000, 80)
Sequence.Close(110@)
Char.PerformSequence(118@, 110@)
Sequence.Clear(110@)
return 

:DRUGS4_66916
111@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootWhileDucking(-1, 119@, 1, 5000, 50)
Sequence.Close(111@)
Char.PerformSequence(118@, 111@)
Sequence.Clear(111@)
return 

:DRUGS4_66967
112@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 119@)
Sequence.Close(112@)
Char.PerformSequence(118@, 112@)
Sequence.Clear(112@)
return 

:DRUGS4_67005
113@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 119@)
Task.KillCharOnFoot(-1, 120@)
Sequence.Close(113@)
Char.PerformSequence(118@, 113@)
Sequence.Clear(113@)
return 

:DRUGS4_67050
114@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "CROUCH_ROLL_R", "PED", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(114@)
Char.PerformSequence(118@, 114@)
Sequence.Clear(114@)
return 

:DRUGS4_67133
115@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "CROUCH_ROLL_L", "PED", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(115@)
Char.PerformSequence(118@, 115@)
Sequence.Clear(115@)
return 

:DRUGS4_67216
116@ = Sequence.Open()
Task.PlayAnim(-1, "SWT_WLLPK_R", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SWT_WLLSHOOT_IN_R", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
if 
  161@ == 0
goto_if_false @DRUGS4_67344
Task.KillCharOnFootTimed(-1, 119@, 1500)
goto @DRUGS4_67360

:DRUGS4_67344
Task.ShootAtCoord(-1, 122@, 123@, 124@, 1500)

:DRUGS4_67360
Task.StayInSamePlace(-1, False)
Task.PlayAnim(-1, "SWT_WLLSHOOT_OUT_R", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnim(-1, "SWT_WLLPK_R_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(116@, True)
Sequence.Close(116@)
Char.PerformSequence(118@, 116@)
Sequence.Clear(116@)
return 

:DRUGS4_67481
117@ = Sequence.Open()
Task.PlayAnim(-1, "SWT_WLLPK_L", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SWT_WLLSHOOT_IN_L", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 1500)
Task.StayInSamePlace(-1, False)
Task.PlayAnim(-1, "SWT_WLLSHOOT_OUT_L", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnim(-1, "SWT_WLLPK_L_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(117@, True)
Sequence.Close(117@)
Char.PerformSequence(118@, 117@)
Sequence.Clear(117@)
return 

:DRUGS4_67705
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Object.Delete($2663)
$2663 = Object.CreateNoOffset(#MD_POSTER, 2167.82, -1518.193, 20.237)
Object.SetHeading($2663, 0.0)
Object.DontRemove($2663)
return 

:DRUGS4_67765
Stat.RegisterMissionPassed('LA1FIN1')
Stat.SetInt(StatId.PassedLafin1, 1)
Text.PrintWithNumberBig('M_PASSR', 15, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(15)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.PlayerMadeProgress(1)
$sweetX += 1
return 

:DRUGS4_67827
$weapon_shop1_blip = 0
Hud.ClearCounter($bc1_cut)
Game.SetScriptLimitToGangSize(99)
Path.SwitchRoadsOn(2180.18, -1130.28, 21.2, 2276.82, -1151.26, 28.0)
Path.SwitchPedRoadsOn(2180.18, -1130.28, 21.2, 2276.82, -1151.26, 28.0)
Path.SwitchPedRoadsOn(2184.44, -1557.18, -5.481, 2169.22, -1560.63, 5.91)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Char.RemoveElegantly($big_smoke_car)
Char.RemoveElegantly($sweet_car)
Char.RemoveElegantly($mc_strap)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(107)
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(285)
Streaming.MarkModelAsNoLongerNeeded(497)
Streaming.MarkModelAsNoLongerNeeded(427)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.RemoveAnimation("SWAT")
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(#IMY_SKYLIGHT)
Streaming.MarkModelAsNoLongerNeeded(#KMB_TROLLEY)
Streaming.RemoveAnimation("KISSING")
Streaming.RemoveAnimation("GANGS")
Blip.Remove(185@)
Blip.Remove(183@)
Blip.Remove(184@)
Hud.ClearCounter($bc1_in_water)
Particle.Kill(65@)
Pickup.Remove(127@)
Path.FlushRoute
Streaming.MarkModelAsNoLongerNeeded(#MD_POSTER)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(280)
Streaming.MarkModelAsNoLongerNeeded(284)
Streaming.MarkModelAsNoLongerNeeded(523)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(538)
Streaming.RemoveAnimation("GANGS")
Streaming.MarkModelAsNoLongerNeeded(#DYN_SCAFFOLD_3B)
Streaming.MarkModelAsNoLongerNeeded(#DYN_SCAFFOLD_4B)
Streaming.RemoveAnimation("MD_CHASE")
Streaming.MarkModelAsNoLongerNeeded(#MUNCH_DONUT)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_ARML)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_ARMR)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_LEGL)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_LEGR)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_HEAD)
Streaming.MarkModelAsNoLongerNeeded(#CHOPCOP_TORSO)
Streaming.MarkModelAsNoLongerNeeded(#WD_FENCE_ANIM)
Streaming.RemoveAnimation("CAR_CHAT")
Streaming.RemoveAnimation("MD_END")
Streaming.MarkModelAsNoLongerNeeded(514)
Streaming.MarkModelAsNoLongerNeeded(584)
Game.SetMaxWantedLevel(4)
Car.Delete(40@)
Blip.Remove(285@)
Blip.Remove(286@)
Blip.Remove(287@)
Blip.Remove(288@)
Blip.Remove(289@)
Blip.Remove(290@)
Blip.Remove(291@)
Blip.Remove(292@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DRUGS4_68306
Pad.SetPlayerDuckButton($statbike_temp, True)
Pad.SetPlayerFireButton($statbike_temp, True)
Char.ShutUp($stattreadstamina_ctr, False)

:DRUGS4_68306
if 
  not Char.IsDead(218@)
goto_if_false @DRUGS4_68327
Char.RemoveElegantly(218@)

:DRUGS4_68327
if 
  not Char.IsDead(219@)
goto_if_false @DRUGS4_68348
Char.RemoveElegantly(219@)

:DRUGS4_68348
Char.DetachFromCar($stattreadstamina_ctr)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
World.RemoveAllScriptFires
Particle.Kill(237@)
Particle.Kill(240@)
Particle.Kill(241@)
Particle.Kill(242@)
World.SwitchEntryExit('MOTEL1', True)
Game.SetWantedMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SwitchEmergencyServices(True)
Weather.Release
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 38---------------
// Originally: The Green Sabre

:LA1FIN2
script_name 'LA1FIN2'
gosub @LA1FIN2_339
if 
  has_deatharrest_been_executed 
goto_if_false @LA1FIN2_38
gosub @LA1FIN2_19511

:LA1FIN2_38
gosub @LA1FIN2_22057
terminate_this_script 
if 
  100@ == 99
goto_if_false @LA1FIN2_339
36@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)
238@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)
243@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)
235@ = Car.Create(401, 1650.115, -1055.243, 22.8984)
233@ = Car.Create(475, 1643.983, -1069.01, 22.8984)
280@ = Car.Create(475, 1643.983, -1069.01, 22.8984)
41@ = Car.Create(475, 1643.983, -1069.01, 22.8984)
231@ = DecisionMakerChar.Copy(65539)
232@ = DecisionMakerChar.Copy(65539)
51@ = Blip.AddForChar(36@)
50@ = Blip.AddForCoord(1648.714, -1050.094, 22.9141)
122@ = Car.Create(475, 1643.983, -1069.01, 22.8984)
124@ = Car.Create(596, 0.0, 0.0, 0.0)
125@ = Char.CreateInsideCar(122@, PedType.CivMale, 280)

:LA1FIN2_339
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
84@ = 1
494@ = 1
Game.SetScriptLimitToGangSize(0)

:LA1FIN2_366
wait 0
if 
is_ps2_keyboard_key_pressed 72
goto_if_false @LA1FIN2_390
save_int_to_debug_file 100@

:LA1FIN2_390
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @LA1FIN2_412
goto @LA1FIN2_19528

:LA1FIN2_412
if 
is_ps2_keyboard_key_pressed 70
goto_if_false @LA1FIN2_461
Char.SetCoordinates($stattreadstamina_ctr, 1650.456, -1039.614, 22.8984)
100@ = 4
101@ = 0

:LA1FIN2_461
if 
is_ps2_keyboard_key_just_pressed 71
goto_if_false @LA1FIN2_625
100@ = 7
267@ = 0

:LA1FIN2_490
if 
  6 > 267@
goto_if_false @LA1FIN2_551
if 
  not Char.IsDead(243@(267@,6i))
goto_if_false @LA1FIN2_537
Task.Die(243@(267@,6i))

:LA1FIN2_537
267@ += 1
goto @LA1FIN2_490

:LA1FIN2_551
if 
  not Car.IsDead(122@)
goto_if_false @LA1FIN2_572
Car.Delete(122@)

:LA1FIN2_572
if 
  not Car.IsDead(123@)
goto_if_false @LA1FIN2_593
Car.Delete(123@)

:LA1FIN2_593
if 
  not Car.IsDead(124@)
goto_if_false @LA1FIN2_614
Car.Delete(124@)

:LA1FIN2_614
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)

:LA1FIN2_625
if 
is_ps2_keyboard_key_pressed 68
goto_if_false @LA1FIN2_660
Char.SetCoordinates($stattreadstamina_ctr, 1624.537, -1863.438, 12.5549)

:LA1FIN2_660
switch_start 100@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @LA1FIN2_928 {caseNum1} 0 {caseLabel1} @LA1FIN2_788 {caseNum2} 1 {caseLabel2} @LA1FIN2_809 {caseNum3} 2 {caseLabel3} @LA1FIN2_830 {caseNum4} 3 {caseLabel4} @LA1FIN2_844 {caseNum5} 4 {caseLabel5} @LA1FIN2_858 {caseNum6} 5 {caseLabel6} @LA1FIN2_872 {caseNum7} 6 {caseLabel7} @LA1FIN2_886
switch_continued 7 {caseLabel1} @LA1FIN2_900 {caseNum2} 8 {caseLabel2} @LA1FIN2_914 {caseNum3} -1 {caseLabel3} @LA1FIN2_928 {caseNum4} -1 {caseLabel4} @LA1FIN2_928 {caseNum5} -1 {caseLabel5} @LA1FIN2_928 {caseNum6} -1 {caseLabel6} @LA1FIN2_928 {caseNum7} -1 {caseLabel7} @LA1FIN2_928 {caseNum8} -1 {caseLabel8} @LA1FIN2_928 {caseNum9} -1 {caseLabel9} @LA1FIN2_928

:LA1FIN2_788
gosub @LA1FIN2_1257
100@ = 1
goto @LA1FIN2_928

:LA1FIN2_809
gosub @LA1FIN2_1314
100@ = 2
goto @LA1FIN2_928

:LA1FIN2_830
gosub @LA1FIN2_1795
goto @LA1FIN2_928

:LA1FIN2_844
gosub @LA1FIN2_2441
goto @LA1FIN2_928

:LA1FIN2_858
gosub @LA1FIN2_2993
goto @LA1FIN2_928

:LA1FIN2_872
gosub @LA1FIN2_3931
goto @LA1FIN2_928

:LA1FIN2_886
gosub @LA1FIN2_6195
goto @LA1FIN2_928

:LA1FIN2_900
gosub @LA1FIN2_9533
goto @LA1FIN2_928

:LA1FIN2_914
goto @LA1FIN2_19528
goto @LA1FIN2_928

:LA1FIN2_928
gosub @LA1FIN2_983
gosub @LA1FIN2_1044
gosub @LA1FIN2_17187
if 
  34@ == 1
goto_if_false @LA1FIN2_974
goto @LA1FIN2_19511

:LA1FIN2_974
goto @LA1FIN2_366
return 

:LA1FIN2_983
if 
  35@ == 1
goto_if_false @LA1FIN2_1040
if 
  Char.IsDead(36@)
goto_if_false @LA1FIN2_1040
34@ = 1
Text.Print('LA1_16', 4000, 1)

:LA1FIN2_1040
return 
return 

:LA1FIN2_1044
if 
  100@ > 1
goto_if_false @LA1FIN2_1255
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1650.645, -1059.435, 25.4852, 100.0, 100.0, 100.0, False)
goto_if_false @LA1FIN2_1131
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
goto @LA1FIN2_1145

:LA1FIN2_1131
World.SetPedDensityMultiplier(0.6)
World.SetCarDensityMultiplier(0.6)

:LA1FIN2_1145
set_lvar_int_to_lvar_int 280@ = 233@
85@ = 0
gosub @LA1FIN2_16318
set_lvar_int_to_lvar_int 280@ = 234@
85@ = 1
gosub @LA1FIN2_16318
set_lvar_int_to_lvar_int 280@ = 237@
85@ = 2
gosub @LA1FIN2_16318
set_lvar_int_to_lvar_int 280@ = 235@
85@ = 3
gosub @LA1FIN2_16318
set_lvar_int_to_lvar_int 280@ = 236@
85@ = 4
gosub @LA1FIN2_16318

:LA1FIN2_1255
return 

:LA1FIN2_1257
103@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
104@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.ClearEventResponse(104@, 36)
DecisionMakerChar.AddEventResponse(104@, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
return 

:LA1FIN2_1314
Text.LoadMissionText('LAFIN2')
Streaming.SetAreaVisible(1)
Cutscene.Load('FINAL2A')

:LA1FIN2_1340
if 
  not Cutscene.HasLoaded
goto_if_false @LA1FIN2_1364
wait 0
goto @LA1FIN2_1340

:LA1FIN2_1364
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:LA1FIN2_1373
if 
  not Cutscene.HasFinished
goto_if_false @LA1FIN2_1397
wait 0
goto @LA1FIN2_1373

:LA1FIN2_1397
Camera.DoFade(0, Fade.Out)

:LA1FIN2_1403
if 
  Camera.GetFadingStatus
goto_if_false @LA1FIN2_1427
wait 0
goto @LA1FIN2_1403

:LA1FIN2_1427
Cutscene.Clear
Streaming.SetAreaVisible(0)
Streaming.LoadScene(2518.789, -1677.22, 13.5079)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Char.SetCoordinates($stattreadstamina_ctr, 2519.825, -1677.714, 13.7425)
Char.SetHeading($stattreadstamina_ctr, 67.0)
Streaming.RequestModel(401)
Streaming.RequestModel(330)

:LA1FIN2_1494
if or
  not Streaming.HasModelLoaded(401)
  not Streaming.HasModelLoaded(330)
goto_if_false @LA1FIN2_1526
wait 0
goto @LA1FIN2_1494

:LA1FIN2_1526
40@ = Car.Create(401, 1625.087, -1857.438, 12.5549)
Car.ChangeColor(40@, 32, 1)
Car.FreezePosition(40@, True)
Car.SetProofs(40@, True, True, True, True, True)
Car.SetHeading(40@, 180.0)
wait 500
if 
  $g_VB_BIG_LIFT == 1
goto_if_false @LA1FIN2_1635
Skip.SetUp(1642.299, -1869.643, 12.3906, 90.0)

:LA1FIN2_1635
Camera.DoFade(500, Fade.In)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2513.498, -1671.741, 13.2117, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2513.943, -1672.628, 13.3312, SwitchType.JumpCut)
Player.SetControl($statbike_temp, False)
131@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2514.989, -1674.08, 12.7225, MoveState.Walk, -1)
Task.Pause(-1, 1000)
Task.UseMobilePhone(-1, True)
Sequence.Close(131@)
Char.PerformSequence($stattreadstamina_ctr, 131@)
Sequence.Clear(131@)
437@ = 17
set_lvar_int_to_lvar_int 120@ = TIMERA
120@ += 3500
113@ = 1
return 

:LA1FIN2_1795
if 
  113@ == 1
goto_if_false @LA1FIN2_1880
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 120@
goto_if_false @LA1FIN2_1880
if 
  437@ == 0
goto_if_false @LA1FIN2_1880
437@ = 18
set_lvar_int_to_lvar_int 120@ = TIMERA
120@ += 2500
113@ = 2

:LA1FIN2_1880
if 
  113@ == 2
goto_if_false @LA1FIN2_1968
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 120@
goto_if_false @LA1FIN2_1968
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
436@ = 1
437@ = 19
438@ = 11
113@ = 3

:LA1FIN2_1968
if 
  113@ == 3
goto_if_false @LA1FIN2_2131
if 
  437@ <> 0
goto_if_false @LA1FIN2_2035
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @LA1FIN2_2035
437@ = 0
436@ = 5

:LA1FIN2_2035
if 
  437@ == 0
goto_if_false @LA1FIN2_2131
if 
  436@ == 1
goto_if_false @LA1FIN2_2131
Task.UseMobilePhone($stattreadstamina_ctr, False)
Streaming.MarkModelAsNoLongerNeeded(330)
113@ = 0
Text.Print('LA1_33', 7000, 1)
Blip.Remove(50@)
50@ = Blip.AddForCoord(1631.791, -1867.288, 12.5381)

:LA1FIN2_2131
if 
  101@ == 0
goto_if_false @LA1FIN2_2316
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1631.791, -1867.288, 12.5381, 4.0, 4.0, 4.0, True)
goto_if_false @LA1FIN2_2316
Skip.Clear
$g_VB_BIG_LIFT = 1
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @LA1FIN2_2252
Player.SetControl($statbike_temp, False)
114@ = 1
set_lvar_int_to_lvar_int 115@ = TIMERA
115@ += 1500

:LA1FIN2_2252
Blip.Remove(50@)
if 
  not Car.IsDead(40@)
goto_if_false @LA1FIN2_2293
Blip.Remove(50@)
50@ = Blip.AddForCar(40@)
Blip.SetAsFriendly(50@, True)

:LA1FIN2_2293
Text.Print('LA1_35', 4000, 1)
101@ = 1

:LA1FIN2_2316
if 
  114@ == 1
goto_if_false @LA1FIN2_2372
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 115@
goto_if_false @LA1FIN2_2372
Task.LeaveAnyCar($stattreadstamina_ctr)
Player.SetControl($statbike_temp, True)
114@ = 2

:LA1FIN2_2372
if 
  101@ == 1
goto_if_false @LA1FIN2_2439
if 
  not Car.IsDead(40@)
goto_if_false @LA1FIN2_2439
if 
  Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @LA1FIN2_2439
Blip.Remove(50@)
Text.ClearPrints
100@ = 3

:LA1FIN2_2439
return 

:LA1FIN2_2441
Streaming.MarkModelAsNoLongerNeeded(401)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:LA1FIN2_2461
if 
  Camera.GetFadingStatus
goto_if_false @LA1FIN2_2485
wait 0
goto @LA1FIN2_2461

:LA1FIN2_2485
if 
  not Car.IsDead(40@)
goto_if_false @LA1FIN2_2508
Car.SetVisible(40@, False)

:LA1FIN2_2508
World.ClearAreaOfCars(1626.633, -1876.4, 16.8284, 1601.112, -1902.103, 10.6931)
World.ClearAreaOfChars(1626.633, -1876.4, 16.8284, 1601.112, -1902.103, 10.6931)
Blip.Remove(50@)
Player.MakeSafeForCutscene($statbike_temp)
Streaming.Switch(False)
Cutscene.Load('FINAL2B')

:LA1FIN2_2597
if 
  not Cutscene.HasLoaded
goto_if_false @LA1FIN2_2621
wait 0
goto @LA1FIN2_2597

:LA1FIN2_2621
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:LA1FIN2_2630
if 
  not Cutscene.HasFinished
goto_if_false @LA1FIN2_2654
wait 0
goto @LA1FIN2_2630

:LA1FIN2_2654
Camera.DoFade(0, Fade.Out)

:LA1FIN2_2660
if 
  Camera.GetFadingStatus
goto_if_false @LA1FIN2_2684
wait 0
goto @LA1FIN2_2660

:LA1FIN2_2684
Cutscene.Clear
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
if 
  not Car.IsDead(40@)
goto_if_false @LA1FIN2_2747
Car.SetVisible(40@, True)
Car.FreezePosition(40@, False)
Car.SetProofs(40@, False, False, False, False, False)
Car.MarkAsNoLongerNeeded(40@)

:LA1FIN2_2747
Blip.Remove(50@)
50@ = Blip.AddForCoord(1648.714, -1050.094, 22.9141)
Text.Print('LA1_8', 5000, 1)
$bc1_route = 100
116@ = 1
117@ = Math.RandomIntInRange(4000, 8000)
add_int_lvar_to_int_lvar 117@ += TIMERA
Hud.DisplayCounterWithString($bc1_route, CounterDisplay.Bar, 'LA1_4')
117@ = Math.RandomIntInRange(4000, 8000)
add_int_lvar_to_int_lvar 117@ += TIMERA
Camera.DoFade(500, Fade.In)
if 
  not Car.IsDead(40@)
goto_if_false @LA1FIN2_2964
if 
  not Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @LA1FIN2_2964
118@ = Car.GetDriver(40@)
if 
  not is_int_lvar_equal_to_int_var 118@ == $stattreadstamina_ctr
goto_if_false @LA1FIN2_2946
if 
  not Char.IsDead(118@)
goto_if_false @LA1FIN2_2946
Char.Delete(118@)

:LA1FIN2_2946
Char.WarpIntoCar($stattreadstamina_ctr, 40@)
Car.MarkAsNoLongerNeeded(40@)
Streaming.MarkModelAsNoLongerNeeded(401)

:LA1FIN2_2964
Task.LeaveAnyCar($stattreadstamina_ctr)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
100@ = 4
101@ = 0
Game.SwitchEmergencyServices(False)
return 

:LA1FIN2_2993
gosub @LA1FIN2_13802
gosub @LA1FIN2_15327
if 
  119@ == 0
goto_if_false @LA1FIN2_3113
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  $y > -1800.0
goto_if_false @LA1FIN2_3113
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @LA1FIN2_3113
437@ = 10
438@ = 2
119@ = 1
set_lvar_int_to_lvar_int 120@ = TIMERA
120@ += 6000

:LA1FIN2_3113
if 
  119@ == 1
goto_if_false @LA1FIN2_3187
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @LA1FIN2_3187
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 120@
goto_if_false @LA1FIN2_3187
437@ = 12
438@ = 5
119@ = 2

:LA1FIN2_3187
if and
  119@ > 0
  3 > 119@
goto_if_false @LA1FIN2_3256
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @LA1FIN2_3256
494@ = 0
437@ = 0
438@ = 0
119@ = 3

:LA1FIN2_3256
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 117@
goto_if_false @LA1FIN2_3440
if 
  not Char.IsDead(238@)
goto_if_false @LA1FIN2_3332
if 
  84@ == 1
goto_if_false @LA1FIN2_3324
Char.SetHealth(238@, $bc1_route)
84@ = 0

:LA1FIN2_3324
$bc1_route = Char.GetHealth(238@)

:LA1FIN2_3332
117@ = Math.RandomIntInRange(4000, 8000)
add_int_lvar_to_int_lvar 117@ += TIMERA
121@ = Math.RandomIntInRange(4, 8)
sub_int_lvar_from_int_var $bc1_route -= 121@
if 
  0 >= $bc1_route
goto_if_false @LA1FIN2_3416
$bc1_route = 0
Text.Print('LA1_16', 4000, 1)
34@ = 1

:LA1FIN2_3416
if 
  not Char.IsDead(238@)
goto_if_false @LA1FIN2_3440
Char.SetHealth(238@, $bc1_route)

:LA1FIN2_3440
if 
  101@ == 0
goto_if_false @LA1FIN2_3664
if 
  255@ == 2
goto_if_false @LA1FIN2_3664
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1648.714, -1050.094, 22.9141, 4.0, 4.0, 4.0, True)
goto_if_false @LA1FIN2_3577
if 
  not Char.IsDead(238@)
goto_if_false @LA1FIN2_3570
Char.SetProofs(238@, True, True, True, True, True)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)

:LA1FIN2_3570
101@ = 1

:LA1FIN2_3577
if 
  99@ == 6
goto_if_false @LA1FIN2_3664
if 
  not Char.IsDead(238@)
goto_if_false @LA1FIN2_3641
Char.SetProofs(238@, True, True, True, True, True)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)

:LA1FIN2_3641
101@ = 1
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 2000

:LA1FIN2_3664
if 
  101@ == 1
goto_if_false @LA1FIN2_3727
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_3727
Blip.Remove(50@)
Player.SetControl($statbike_temp, False)
Camera.DoFade(800, Fade.Out)
101@ = 2

:LA1FIN2_3727
if 
  101@ == 2
goto_if_false @LA1FIN2_3929
if 
  not Camera.GetFadingStatus
goto_if_false @LA1FIN2_3929
100@ = 5
101@ = 0
set_lvar_int_to_lvar_int 481@ = 238@
286@ = 1
310@ = 9
290@ = 2440
291@ = 5629
292@ = 7974
293@ = 10516
294@ = 13463
295@ = 16047
296@ = 19236
297@ = 21747
298@ = 24483
300@ = 1
301@ = 2
302@ = 3
303@ = 4
304@ = 5
305@ = 6
306@ = 7
307@ = 8
308@ = 9

:LA1FIN2_3929
return 

:LA1FIN2_3931
gosub @LA1FIN2_15327
if 
  101@ > 2
goto_if_false @LA1FIN2_4010
if 
  not Camera.GetFadingStatus
goto_if_false @LA1FIN2_4010
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @LA1FIN2_4010
gosub @LA1FIN2_11419
101@ = 10
102@ = 0
436@ = 5

:LA1FIN2_4010
if 
  101@ == 0
goto_if_false @LA1FIN2_5066
101@ = 1
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1646.703, -1046.744, 25.6308, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1646.621, -1047.711, 25.3892, SwitchType.JumpCut)
Streaming.RequestAnimation("SWEET")
Camera.SetNearClip(0.1)
if 
  not Car.IsDead(235@)
goto_if_false @LA1FIN2_4214
if 
  Car.Locate3D(235@, 1647.249, -1053.482, 23.8804, 10.0, 10.0, 10.0, False)
goto_if_false @LA1FIN2_4214
Car.SetCoordinates(235@, 1649.555, -1055.767, 22.8984)
Car.SetHeading(235@, 329.5791)
Car.FreezePosition(235@, True)

:LA1FIN2_4214
if 
  not Car.IsDead(236@)
goto_if_false @LA1FIN2_4315
if 
  Car.Locate3D(236@, 1647.249, -1053.482, 23.8804, 10.0, 10.0, 10.0, False)
goto_if_false @LA1FIN2_4315
Car.SetCoordinates(236@, 1644.42, -1057.843, 22.9062)
Car.SetHeading(236@, 227.8)
Car.FreezePosition(236@, True)

:LA1FIN2_4315
if 
  not Car.IsDead(237@)
goto_if_false @LA1FIN2_4416
if 
  Car.Locate3D(237@, 1647.249, -1053.482, 23.8804, 10.0, 10.0, 10.0, False)
goto_if_false @LA1FIN2_4416
Car.SetCoordinates(237@, 1643.845, -1051.736, 22.9219)
Car.SetHeading(237@, 149.9008)
Car.FreezePosition(237@, True)

:LA1FIN2_4416
if 
  not Car.IsDead(233@)
goto_if_false @LA1FIN2_4510
if 
  Car.Locate3D(233@, 1647.249, -1053.482, 23.8804, 10.0, 10.0, 10.0, False)
goto_if_false @LA1FIN2_4510
Car.SetCoordinates(233@, 1640.603, -1071.537, 22.9141)
Car.SetHeading(233@, 61.7966)

:LA1FIN2_4510
if 
  not Car.IsDead(234@)
goto_if_false @LA1FIN2_4604
if 
  Car.Locate3D(234@, 1647.249, -1053.482, 23.8804, 10.0, 10.0, 10.0, False)
goto_if_false @LA1FIN2_4604
Car.SetCoordinates(234@, 1660.943, -1059.201, 22.9141)
Car.SetHeading(234@, 148.6633)

:LA1FIN2_4604
if 
  not Char.IsDead(238@)
goto_if_false @LA1FIN2_4628
Char.SetDecisionMaker(238@, 103@)

:LA1FIN2_4628
if 
  not Char.IsDead(239@)
goto_if_false @LA1FIN2_4703
Char.SetDecisionMaker(239@, 231@)
Char.SetCoordinates(239@, 1646.283, -1057.209, 22.8984)
Char.SetHeading(239@, 147.187)
Char.SetKindaStayInSamePlace(239@, False)
Char.SetStayInSamePlace(239@, True)
Task.ToggleDuck(239@, True)

:LA1FIN2_4703
if 
  not Char.IsDead(240@)
goto_if_false @LA1FIN2_4778
Char.SetDecisionMaker(240@, 231@)
Char.SetCoordinates(240@, 1644.102, -1055.319, 22.9062)
Char.SetHeading(240@, 117.4901)
Char.SetKindaStayInSamePlace(240@, False)
Char.SetStayInSamePlace(240@, True)
Task.ToggleDuck(240@, True)

:LA1FIN2_4778
if 
  not Char.IsDead(241@)
goto_if_false @LA1FIN2_4846
Char.SetDecisionMaker(241@, 231@)
Char.SetCoordinates(241@, 1646.229, -1051.182, 23.9257)
Char.SetHeading(241@, 90.0187)
Char.SetKindaStayInSamePlace(241@, False)
Char.SetStayInSamePlace(241@, True)

:LA1FIN2_4846
if 
  not Char.IsDead(243@)
goto_if_false @LA1FIN2_4890
Char.SetCoordinates(243@, 1622.276, -1044.679, 22.8984)
Task.TurnCharToFaceChar(243@, $stattreadstamina_ctr)

:LA1FIN2_4890
if 
  not Char.IsDead(244@)
goto_if_false @LA1FIN2_4934
Char.SetCoordinates(244@, 1631.523, -1060.417, 23.011)
Task.TurnCharToFaceChar(244@, $stattreadstamina_ctr)

:LA1FIN2_4934
if 
  not Char.IsDead(245@)
goto_if_false @LA1FIN2_4978
Char.SetCoordinates(245@, 1638.76, -1072.36, 22.8984)
Task.TurnCharToFaceChar(245@, $stattreadstamina_ctr)

:LA1FIN2_4978
if 
  not Char.IsDead(246@)
goto_if_false @LA1FIN2_5022
Char.SetCoordinates(246@, 1649.349, -1077.868, 22.9062)
Task.TurnCharToFaceChar(246@, $stattreadstamina_ctr)

:LA1FIN2_5022
if 
  not Char.IsDead(247@)
goto_if_false @LA1FIN2_5066
Char.SetCoordinates(247@, 1663.619, -1058.419, 22.8984)
Task.TurnCharToFaceChar(247@, $stattreadstamina_ctr)

:LA1FIN2_5066
if 
  101@ == 1
goto_if_false @LA1FIN2_5118
if 
  Streaming.HasAnimationLoaded("SWEET")
goto_if_false @LA1FIN2_5118
Camera.DoFade(1000, Fade.In)
101@ = 2

:LA1FIN2_5118
if 
  101@ == 2
goto_if_false @LA1FIN2_5456
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @LA1FIN2_5179
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1648.034, -1053.956, 22.9)
goto @LA1FIN2_5199

:LA1FIN2_5179
Char.SetCoordinates($stattreadstamina_ctr, 1648.034, -1053.956, 22.9)

:LA1FIN2_5199
Char.SetHeading($stattreadstamina_ctr, 150.0)
Char.SetCollision($stattreadstamina_ctr, False)
87@ = Char.GetCurrentWeapon($stattreadstamina_ctr)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
if 
  not Char.IsDead(238@)
goto_if_false @LA1FIN2_5341
Char.SetCoordinates(238@, 1647.71, -1054.517, 22.9)
Char.SetHeading(238@, -30.0)
Char.RemoveAllWeapons(238@)
Char.SetCurrentWeapon(238@, WeaponType.Unarmed)
Char.SetCollision(238@, False)
Char.ClearTasksImmediately(238@)
Task.PlayAnimNonInterruptable(238@, "LAFIN_SWEET", "SWEET", 4.0, False, False, False, True, -2)

:LA1FIN2_5341
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "LAFIN_PLAYER", "SWEET", 4.0, False, False, False, True, -2)
Camera.SetFixedPosition(1647.577, -1048.104, 25.4666, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1647.281, -1048.998, 25.1312, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 2500
101@ = 4

:LA1FIN2_5456
if 
  101@ == 4
goto_if_false @LA1FIN2_5590
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_5590
if 
  not Char.IsDead(238@)
goto_if_false @LA1FIN2_5516
Char.SetBleeding(238@, True)

:LA1FIN2_5516
Camera.SetFixedPosition(1649.2, -1053.592, 23.6475, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1648.279, -1053.97, 23.7426, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 3700
101@ = 5

:LA1FIN2_5590
if 
  101@ == 5
goto_if_false @LA1FIN2_5650
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_5650
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 7800
101@ = 6

:LA1FIN2_5650
if 
  101@ == 6
goto_if_false @LA1FIN2_5710
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_5710
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 5000
101@ = 7

:LA1FIN2_5710
if 
  101@ == 7
goto_if_false @LA1FIN2_5770
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_5770
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 2000
101@ = 8

:LA1FIN2_5770
if 
  101@ == 8
goto_if_false @LA1FIN2_5795
gosub @LA1FIN2_11419

:LA1FIN2_5795
if 
  101@ == 9
goto_if_false @LA1FIN2_5924
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_5924
Camera.SetFixedPosition(1651.996, -1051.222, 26.061, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1651.089, -1051.534, 25.778, SwitchType.JumpCut)
Char.SetCurrentWeapon($stattreadstamina_ctr, 87@)
Char.SetHeading($stattreadstamina_ctr, 90.0)
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 6500
101@ = 10

:LA1FIN2_5924
if 
  101@ == 10
goto_if_false @LA1FIN2_6193
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_6193
Char.SetCurrentWeapon($stattreadstamina_ctr, 87@)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Char.SetCollision($stattreadstamina_ctr, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Hud.ClearCounter($bc1_route)
if 
  not Char.IsDead(238@)
goto_if_false @LA1FIN2_6092
Task.PlayAnimNonInterruptable(238@, "SWEET_INJUREDLOOP", "SWEET", 1000.0, True, False, False, False, -2)
Char.SetCollision(238@, True)
Char.FreezePosition(238@, True)

:LA1FIN2_6092
if 
  not Car.IsDead(235@)
goto_if_false @LA1FIN2_6115
Car.FreezePosition(235@, False)

:LA1FIN2_6115
if 
  not Car.IsDead(236@)
goto_if_false @LA1FIN2_6138
Car.FreezePosition(236@, False)

:LA1FIN2_6138
if 
  not Car.IsDead(237@)
goto_if_false @LA1FIN2_6161
Car.FreezePosition(237@, False)

:LA1FIN2_6161
100@ = 6
101@ = 0
Text.ClearPrints
Text.Print('LA1_31', 5000, 1)

:LA1FIN2_6193
return 

:LA1FIN2_6195
gosub @LA1FIN2_13802
gosub @LA1FIN2_15327
if 
  101@ == 0
goto_if_false @LA1FIN2_6257
if 
  99@ == 4
goto_if_false @LA1FIN2_6257
Streaming.RequestModel(413)
101@ = 1

:LA1FIN2_6257
if 
  101@ == 1
goto_if_false @LA1FIN2_6737
if 
  Streaming.HasModelLoaded(413)
goto_if_false @LA1FIN2_6737
46@ = Car.Create(413, 1553.697, -1046.83, 22.7992)
Text.ClearPrints
Text.Print('LA1_36', 5000, 1)
269@ = 0

:LA1FIN2_6339
if 
  not Char.IsDead(243@(269@,6i))
goto_if_false @LA1FIN2_6373
269@ += 1
goto @LA1FIN2_6339

:LA1FIN2_6373
243@(269@,6i) = Char.CreateInsideCar(46@, PedType.Mission2, 102)
set_lvar_int_to_lvar_int 86@ = 243@(269@,6i)
set_lvar_int_to_lvar_int 37@ = 269@
gosub @LA1FIN2_15226
Char.SetOnlyDamagedByPlayer(243@(269@,6i), True)
Car.SetHeading(46@, 270.0)
105@ = Sequence.Open()
Task.CarDriveToCoord(-1, 46@, 1614.755, -1050.441, 22.9141, 25.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 46@, 1630.534, -1067.925, 22.9141, 25.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Sequence.Close(105@)
Char.PerformSequence(243@(269@,6i), 105@)
Sequence.Clear(105@)
Car.SetForwardSpeed(46@, 20.0)
269@ += 1

:LA1FIN2_6547
if 
  not Char.IsDead(243@(269@,6i))
goto_if_false @LA1FIN2_6581
269@ += 1
goto @LA1FIN2_6547

:LA1FIN2_6581
243@(269@,6i) = Char.CreateAsPassenger(46@, PedType.Mission2, 102, 0)
set_lvar_int_to_lvar_int 86@ = 243@(269@,6i)
set_lvar_int_to_lvar_int 38@ = 269@
gosub @LA1FIN2_15226
Char.SetOnlyDamagedByPlayer(243@(269@,6i), True)
269@ += 1

:LA1FIN2_6644
if 
  not Char.IsDead(243@(269@,6i))
goto_if_false @LA1FIN2_6678
269@ += 1
goto @LA1FIN2_6644

:LA1FIN2_6678
243@(269@,6i) = Char.CreateAsPassenger(46@, PedType.Mission2, 102, 1)
set_lvar_int_to_lvar_int 86@ = 243@(269@,6i)
set_lvar_int_to_lvar_int 39@ = 269@
gosub @LA1FIN2_15226
101@ = 2
99@ -= 3

:LA1FIN2_6737
if 
  101@ == 2
goto_if_false @LA1FIN2_7627
if 
  97@ == 0
goto_if_false @LA1FIN2_6842
if 
  not Car.IsDead(46@)
goto_if_false @LA1FIN2_6842
81@ = Car.GetHealth(46@)
if 
  980 > 81@
goto_if_false @LA1FIN2_6842
if 
  Car.HasBeenDamagedByChar(46@, $stattreadstamina_ctr)
goto_if_false @LA1FIN2_6842
97@ = 1

:LA1FIN2_6842
if 
  97@ == 1
goto_if_false @LA1FIN2_7045
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 95@
goto_if_false @LA1FIN2_7045
if and
  not Car.IsDead(46@)
  not Char.IsDead(243@(37@,6i))
goto_if_false @LA1FIN2_7045
270@, 271@, 272@ = Car.GetCoordinates(46@)
276@ = Car.GetHeading(46@)
set_lvar_float_to_lvar_float 277@ = 276@
277@ -= 20.0
276@ -= 90.0
111@ = Math.Cos(276@)
112@ = Math.Sin(276@)
111@ *= 20.0
112@ *= 20.0
sub_float_lvar_from_float_lvar 270@ -= 112@
add_float_lvar_to_float_lvar 271@ += 111@
Task.CarDriveToCoord(243@(37@,6i), 46@, 270@, 271@, 272@, 30.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
97@ = 2

:LA1FIN2_7045
if 
  97@ == 2
goto_if_false @LA1FIN2_7129
if 
  not Car.IsDead(46@)
goto_if_false @LA1FIN2_7129
276@ = Car.GetHeading(46@)
if 
  is_float_lvar_greater_than_float_lvar 277@ > 276@
goto_if_false @LA1FIN2_7129
97@ = 3
set_lvar_int_to_lvar_int 95@ = TIMERA
95@ += 800

:LA1FIN2_7129
if 
  97@ == 3
goto_if_false @LA1FIN2_7225
if 
  not Car.IsDead(46@)
goto_if_false @LA1FIN2_7183
Car.AddToRotationVelocity(46@, 0.0, -0.35, 0.2)

:LA1FIN2_7183
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 95@
goto_if_false @LA1FIN2_7225
97@ = 4
set_lvar_int_to_lvar_int 95@ = TIMERA
95@ += 1000

:LA1FIN2_7225
if 
  97@ == 4
goto_if_false @LA1FIN2_7307
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 95@
goto_if_false @LA1FIN2_7307
if 
  not Char.IsDead(243@(37@,6i))
goto_if_false @LA1FIN2_7307
Char.ClearTasks(243@(37@,6i))
Task.LeaveAnyCar(243@(37@,6i))
97@ = 5

:LA1FIN2_7307
if 
  94@ == 0
goto_if_false @LA1FIN2_7377
if 
  not Car.IsDead(46@)
goto_if_false @LA1FIN2_7377
276@ = Car.GetSpeed(46@)
if 
  0.5 > 276@
goto_if_false @LA1FIN2_7377
94@ = 1

:LA1FIN2_7377
if 
  94@ == 1
goto_if_false @LA1FIN2_7604
if 
  not Car.IsDead(46@)
goto_if_false @LA1FIN2_7604
if 
  not Char.IsDead(243@(37@,6i))
goto_if_false @LA1FIN2_7473
Char.SetStayInSamePlace(243@(37@,6i), False)
Char.SetKindaStayInSamePlace(243@(37@,6i), False)
Task.LeaveAnyCar(243@(37@,6i))
75@(37@,6i) = 0

:LA1FIN2_7473
if 
  not Char.IsDead(243@(38@,6i))
goto_if_false @LA1FIN2_7535
Char.SetStayInSamePlace(243@(38@,6i), False)
Char.SetKindaStayInSamePlace(243@(38@,6i), False)
Task.LeaveAnyCar(243@(38@,6i))
75@(38@,6i) = 0

:LA1FIN2_7535
if 
  not Char.IsDead(243@(39@,6i))
goto_if_false @LA1FIN2_7597
Char.SetStayInSamePlace(243@(39@,6i), False)
Char.SetKindaStayInSamePlace(243@(39@,6i), False)
Task.LeaveAnyCar(243@(39@,6i))
75@(39@,6i) = 0

:LA1FIN2_7597
101@ = 3

:LA1FIN2_7604
if 
  Car.IsDead(46@)
goto_if_false @LA1FIN2_7627
101@ = 3

:LA1FIN2_7627
if 
  101@ == 3
goto_if_false @LA1FIN2_7987
if 
  75@(37@,6i) == 1
goto_if_false @LA1FIN2_7742
if 
  not Char.IsDead(243@(37@,6i))
goto_if_false @LA1FIN2_7742
85@ = Char.GetScriptTaskStatus(243@(37@,6i), 1491)
if 
  is_int_lvar_equal_to_constant 85@ == 7
goto_if_false @LA1FIN2_7742
75@(37@,6i) = 0
Char.SetKindaStayInSamePlace(243@(37@,6i), True)

:LA1FIN2_7742
if 
  75@(38@,6i) == 1
goto_if_false @LA1FIN2_7839
if 
  not Char.IsDead(243@(38@,6i))
goto_if_false @LA1FIN2_7839
85@ = Char.GetScriptTaskStatus(243@(38@,6i), 1491)
if 
  is_int_lvar_equal_to_constant 85@ == 7
goto_if_false @LA1FIN2_7839
75@(38@,6i) = 0
Char.SetKindaStayInSamePlace(243@(38@,6i), True)

:LA1FIN2_7839
if 
  75@(39@,6i) == 1
goto_if_false @LA1FIN2_7936
if 
  not Char.IsDead(243@(39@,6i))
goto_if_false @LA1FIN2_7936
85@ = Char.GetScriptTaskStatus(243@(39@,6i), 1491)
if 
  is_int_lvar_equal_to_constant 85@ == 7
goto_if_false @LA1FIN2_7936
75@(39@,6i) = 0
Char.SetKindaStayInSamePlace(243@(39@,6i), True)

:LA1FIN2_7936
if and
  75@(38@,6i) == 0
  75@(39@,6i) == 0
  75@(37@,6i) == 0
goto_if_false @LA1FIN2_7987
101@ = 4

:LA1FIN2_7987
if 
  101@ == 4
goto_if_false @LA1FIN2_8476
if 
  99@ >= 4
goto_if_false @LA1FIN2_8476
47@ = Car.Create(413, 1525.366, -1022.267, 22.9105)
Text.ClearPrints
Text.Print('LA1_37', 5000, 1)
269@ = 0

:LA1FIN2_8071
if 
  not Char.IsDead(243@(269@,6i))
goto_if_false @LA1FIN2_8105
269@ += 1
goto @LA1FIN2_8071

:LA1FIN2_8105
243@(269@,6i) = Char.CreateInsideCar(47@, PedType.Mission2, 102)
set_lvar_int_to_lvar_int 86@ = 243@(269@,6i)
set_lvar_int_to_lvar_int 37@ = 269@
gosub @LA1FIN2_15226
Car.SetHeading(47@, 270.0)
105@ = Sequence.Open()
Task.CarDriveToCoord(-1, 47@, 1637.666, -1021.644, 22.9141, 25.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 47@, 1651.127, -1028.523, 22.9141, 25.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Sequence.Close(105@)
Char.PerformSequence(243@(269@,6i), 105@)
Sequence.Clear(105@)
Car.SetForwardSpeed(47@, 20.0)
269@ += 1

:LA1FIN2_8268
if 
  not Char.IsDead(243@(269@,6i))
goto_if_false @LA1FIN2_8302
269@ += 1
goto @LA1FIN2_8268

:LA1FIN2_8302
243@(269@,6i) = Char.CreateAsPassenger(47@, PedType.Mission2, 102, 0)
set_lvar_int_to_lvar_int 86@ = 243@(269@,6i)
set_lvar_int_to_lvar_int 38@ = 269@
gosub @LA1FIN2_15226
Char.SetOnlyDamagedByPlayer(243@(269@,6i), True)
269@ += 1

:LA1FIN2_8365
if 
  not Char.IsDead(243@(269@,6i))
goto_if_false @LA1FIN2_8399
269@ += 1
goto @LA1FIN2_8365

:LA1FIN2_8399
243@(269@,6i) = Char.CreateAsPassenger(47@, PedType.Mission2, 102, 1)
set_lvar_int_to_lvar_int 86@ = 243@(269@,6i)
set_lvar_int_to_lvar_int 39@ = 269@
gosub @LA1FIN2_15226
Char.SetOnlyDamagedByPlayer(243@(269@,6i), True)
94@ = 0
101@ = 5
99@ -= 3

:LA1FIN2_8476
if 
  101@ == 5
goto_if_false @LA1FIN2_8871
if 
  94@ == 0
goto_if_false @LA1FIN2_8564
if 
  not Car.IsDead(47@)
goto_if_false @LA1FIN2_8564
276@ = Car.GetSpeed(47@)
if 
  0.5 > 276@
goto_if_false @LA1FIN2_8564
94@ = 1

:LA1FIN2_8564
if 
  94@ == 1
goto_if_false @LA1FIN2_8848
if 
  not Car.IsDead(47@)
goto_if_false @LA1FIN2_8848
if 
  not Char.IsDead(243@(37@,6i))
goto_if_false @LA1FIN2_8679
Task.GoStraightToCoord(243@(37@,6i), 1654.968, -1041.372, 22.8984, MoveState.Run, -2)
Char.SetStayInSamePlace(243@(37@,6i), False)
Char.SetKindaStayInSamePlace(243@(37@,6i), False)
75@(37@,6i) = 1

:LA1FIN2_8679
if 
  not Char.IsDead(243@(38@,6i))
goto_if_false @LA1FIN2_8760
Task.GoStraightToCoord(243@(38@,6i), 1650.469, -1041.517, 22.8984, MoveState.Run, -2)
Char.SetStayInSamePlace(243@(38@,6i), False)
Char.SetKindaStayInSamePlace(243@(38@,6i), False)
75@(38@,6i) = 1

:LA1FIN2_8760
if 
  not Char.IsDead(243@(39@,6i))
goto_if_false @LA1FIN2_8841
Task.GoStraightToCoord(243@(39@,6i), 1640.806, -1041.555, 22.8984, MoveState.Run, -2)
Char.SetStayInSamePlace(243@(39@,6i), False)
Char.SetKindaStayInSamePlace(243@(39@,6i), False)
75@(39@,6i) = 1

:LA1FIN2_8841
101@ = 6

:LA1FIN2_8848
if 
  Car.IsDead(47@)
goto_if_false @LA1FIN2_8871
101@ = 6

:LA1FIN2_8871
if 
  101@ == 6
goto_if_false @LA1FIN2_9231
if 
  75@(37@,6i) == 1
goto_if_false @LA1FIN2_8986
if 
  not Char.IsDead(243@(37@,6i))
goto_if_false @LA1FIN2_8986
85@ = Char.GetScriptTaskStatus(243@(37@,6i), 1491)
if 
  is_int_lvar_equal_to_constant 85@ == 7
goto_if_false @LA1FIN2_8986
75@(37@,6i) = 0
Char.SetKindaStayInSamePlace(243@(37@,6i), True)

:LA1FIN2_8986
if 
  75@(38@,6i) == 1
goto_if_false @LA1FIN2_9083
if 
  not Char.IsDead(243@(38@,6i))
goto_if_false @LA1FIN2_9083
85@ = Char.GetScriptTaskStatus(243@(38@,6i), 1491)
if 
  is_int_lvar_equal_to_constant 85@ == 7
goto_if_false @LA1FIN2_9083
75@(38@,6i) = 0
Char.SetKindaStayInSamePlace(243@(38@,6i), True)

:LA1FIN2_9083
if 
  75@(39@,6i) == 1
goto_if_false @LA1FIN2_9180
if 
  not Char.IsDead(243@(39@,6i))
goto_if_false @LA1FIN2_9180
85@ = Char.GetScriptTaskStatus(243@(39@,6i), 1491)
if 
  is_int_lvar_equal_to_constant 85@ == 7
goto_if_false @LA1FIN2_9180
75@(39@,6i) = 0
Char.SetKindaStayInSamePlace(243@(39@,6i), True)

:LA1FIN2_9180
if and
  75@(38@,6i) == 0
  75@(39@,6i) == 0
  75@(37@,6i) == 0
goto_if_false @LA1FIN2_9231
101@ = 8

:LA1FIN2_9231
if 
  101@ == 8
goto_if_false @LA1FIN2_9339
if 
  99@ >= 3
goto_if_false @LA1FIN2_9339
Text.ClearPrints
Text.Print('LA1_38', 5000, 1)
gosub @LA1FIN2_12018
99@ -= 3
101@ = 9
75@(38@,6i) = 1
75@(39@,6i) = 1
75@(37@,6i) = 1

:LA1FIN2_9339
if 
  101@ == 9
goto_if_false @LA1FIN2_9478
gosub @LA1FIN2_13126
269@ = 0
99@ = 0

:LA1FIN2_9378
if 
  6 > 269@
goto_if_false @LA1FIN2_9437
if 
  Char.IsDead(243@(269@,6i))
goto_if_false @LA1FIN2_9423
99@ += 1

:LA1FIN2_9423
269@ += 1
goto @LA1FIN2_9378

:LA1FIN2_9437
if 
  99@ >= 6
goto_if_false @LA1FIN2_9478
101@ = 10
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 1500

:LA1FIN2_9478
if 
  101@ == 10
goto_if_false @LA1FIN2_9531
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_9531
101@ = 0
100@ = 7
Text.ClearHelp

:LA1FIN2_9531
return 

:LA1FIN2_9533
267@ = 0

:LA1FIN2_9540
if 
  3 > 267@
goto_if_false @LA1FIN2_9755
if 
  128@(267@,3i) == 1
goto_if_false @LA1FIN2_9741
if 
  not Car.IsDead(122@(267@,3i))
goto_if_false @LA1FIN2_9741
if 
  not Car.IsPlaybackGoingOn(122@(267@,3i))
goto_if_false @LA1FIN2_9741
if 
  not Char.IsDead(125@(267@,3i))
goto_if_false @LA1FIN2_9741
131@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.AimGunAtCoord(-1, 1646.332, -1053.721, 23.385, 10000)
Sequence.Close(131@)
Char.PerformSequence(125@(267@,3i), 131@)
Sequence.Clear(131@)
128@(267@,3i) = 2
132@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1476)
if 
  is_int_lvar_equal_to_constant 132@ == 7
goto_if_false @LA1FIN2_9741
Task.HandsUp($stattreadstamina_ctr, 15000)

:LA1FIN2_9741
267@ += 1
goto @LA1FIN2_9540

:LA1FIN2_9755
if 
  101@ == 0
goto_if_false @LA1FIN2_9874
Game.SetRelationship(RelationshipType.Like, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Like, PedType.Mission3, PedType.Mission1)
Game.SetRelationship(RelationshipType.Like, PedType.Mission3, PedType.Player1)
Camera.DoFade(500, Fade.Out)
Streaming.RequestCarRecording(162)
Streaming.RequestCarRecording(163)
Streaming.RequestCarRecording(650)
Streaming.RequestModel(596)
Streaming.RequestModel(280)
Streaming.RequestModel(346)
Streaming.RequestAnimation("POLICE")
101@ = 1
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 2000
35@ = 0

:LA1FIN2_9874
if 
  101@ == 1
goto_if_false @LA1FIN2_9996
if 
  not Camera.GetFadingStatus
goto_if_false @LA1FIN2_9996
if and
  Streaming.HasCarRecordingBeenLoaded(162)
  Streaming.HasCarRecordingBeenLoaded(163)
  Streaming.HasCarRecordingBeenLoaded(650)
goto_if_false @LA1FIN2_9996
if and
  Streaming.HasModelLoaded(596)
  Streaming.HasModelLoaded(280)
  Streaming.HasModelLoaded(346)
  Streaming.HasAnimationLoaded("POLICE")
goto_if_false @LA1FIN2_9996
Streaming.LoadSceneInDirection(1584.291, -1143.877, 23.8226, 180.0)
101@ = 2

:LA1FIN2_9996
if 
  101@ == 2
goto_if_false @LA1FIN2_10040
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_10040
101@ = 3

:LA1FIN2_10040
if 
  101@ == 3
goto_if_false @LA1FIN2_10380
122@ = Car.Create(596, 0.0, 0.0, 0.0)
123@ = Car.Create(596, 0.0, 0.0, 0.0)
124@ = Car.Create(596, 0.0, 0.0, 0.0)
125@ = Char.CreateInsideCar(122@, PedType.CivMale, 280)
126@ = Char.CreateInsideCar(123@, PedType.CivMale, 280)
127@ = Char.CreateInsideCar(124@, PedType.CivMale, 280)
Char.GiveWeapon(125@, WeaponType.Pistol, 99999)
Char.GiveWeapon(126@, WeaponType.Pistol, 99999)
Char.GiveWeapon(127@, WeaponType.Pistol, 99999)
Car.SwitchSiren(122@, True)
Car.SwitchSiren(123@, True)
Car.SwitchSiren(124@, True)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(1584.291, -1143.877, 23.8226, 1584.291, -1143.877, 23.8226, 3000, True)
Camera.SetVectorTrack(1583.904, -1144.799, 23.802, 1585.228, -1144.223, 23.802, 3000, True)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Char.SetCoordinates($stattreadstamina_ctr, 1647.222, -1053.363, 22.9815)
Car.StartPlayback(122@, 162)
101@ = 4
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 300

:LA1FIN2_10380
if 
  101@ == 4
goto_if_false @LA1FIN2_10553
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_10553
Camera.DoFade(600, Fade.In)
if and
  not Car.IsDead(123@)
  not Car.IsDead(124@)
goto_if_false @LA1FIN2_10530
if and
  Streaming.HasCarRecordingBeenLoaded(162)
  Streaming.HasCarRecordingBeenLoaded(163)
  Streaming.HasCarRecordingBeenLoaded(650)
goto_if_false @LA1FIN2_10515
Car.StartPlayback(123@, 163)
Car.StartPlayback(124@, 650)
128@ = 1
129@ = 1
130@ = 1
goto @LA1FIN2_10530

:LA1FIN2_10515
Streaming.RequestCarRecording(162)
Streaming.RequestCarRecording(163)
Streaming.RequestCarRecording(650)

:LA1FIN2_10530
101@ = 5
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 2700

:LA1FIN2_10553
if 
  101@ == 5
goto_if_false @LA1FIN2_11069
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_11069
133@ = Char.Create(PedType.Mission3, 102, 1648.907, -1063.17, 22.99)
134@ = Char.Create(PedType.Mission3, 102, 1639.755, -1067.994, 22.9478)
135@ = Char.Create(PedType.Mission3, 102, 1632.445, -1058.078, 23.0987)
136@ = Char.Create(PedType.Mission3, 102, 1640.3, -1069.299, 22.9448)
Task.FleePoint(133@, 1646.332, -1053.721, 23.385, 100.0, 15000)
Task.FleePoint(134@, 1646.332, -1053.721, 23.385, 100.0, 15000)
Task.FleePoint(135@, 1646.332, -1053.721, 23.385, 100.0, 15000)
Task.FleePoint(136@, 1646.332, -1053.721, 23.385, 100.0, 15000)
if 
  not Char.IsDead(239@)
goto_if_false @LA1FIN2_10881
Char.ClearTasksImmediately(239@)
Char.SetStayInSamePlace(239@, False)
Char.SetKindaStayInSamePlace(239@, False)
Char.SetCoordinates(239@, 1649.465, -1059.308, 22.8984)
Task.FleePoint(239@, 1646.332, -1053.721, 23.385, 100.0, 15000)

:LA1FIN2_10881
if 
  not Char.IsDead(240@)
goto_if_false @LA1FIN2_10964
Char.ClearTasksImmediately(240@)
Char.SetStayInSamePlace(240@, False)
Char.SetKindaStayInSamePlace(240@, False)
Char.SetCoordinates(240@, 1642.081, -1057.882, 22.9062)
Task.FleePoint(240@, 1646.332, -1053.721, 23.385, 100.0, 15000)

:LA1FIN2_10964
if 
  not Char.IsDead(241@)
goto_if_false @LA1FIN2_11047
Char.ClearTasksImmediately(241@)
Char.SetStayInSamePlace(241@, False)
Char.SetKindaStayInSamePlace(241@, False)
Char.SetCoordinates(241@, 1640.84, -1051.631, 22.9062)
Task.FleePoint(241@, 1646.332, -1053.721, 23.385, 100.0, 15000)

:LA1FIN2_11047
101@ = 6
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 100

:LA1FIN2_11069
if 
  101@ == 6
goto_if_false @LA1FIN2_11182
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_11182
Camera.ResetNewScriptables
Camera.SetFixedPosition(1648.645, -1049.357, 26.0388, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1648.533, -1050.337, 25.8716, SwitchType.JumpCut)
101@ = 8
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 6500

:LA1FIN2_11182
if 
  101@ == 8
goto_if_false @LA1FIN2_11326
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_11326
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(1648.645, -1049.357, 26.0388, 1662.257, -1029.206, 46.3953, 7500, True)
Camera.SetVectorTrack(1648.533, -1050.337, 25.8716, 1661.88, -1029.896, 45.7777, 7500, True)
set_lvar_int_to_lvar_int 102@ = TIMERA
102@ += 6000
101@ = 9

:LA1FIN2_11326
if 
  101@ == 9
goto_if_false @LA1FIN2_11377
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 102@
goto_if_false @LA1FIN2_11377
Camera.DoFade(1500, Fade.Out)
101@ = 10

:LA1FIN2_11377
if 
  101@ == 10
goto_if_false @LA1FIN2_11417
if 
  not Camera.GetFadingStatus
goto_if_false @LA1FIN2_11417
100@ = 8
Camera.ResetNewScriptables

:LA1FIN2_11417
return 

:LA1FIN2_11419
Char.Delete(243@)
243@ = Char.Create(PedType.Mission2, 102, 1613.231, -1053.684, 22.8984)
Char.SetHeading(243@, 271.724)
set_lvar_int_to_lvar_int 86@ = 243@
269@ = 0
gosub @LA1FIN2_15226
Char.SetOnlyDamagedByPlayer(243@, True)
Task.ToggleDuck(243@, True)
Task.GoStraightToCoord(243@, 1622.541, -1045.008, 22.8984, MoveState.Run, -2)
Char.Delete(244@)
244@ = Char.Create(PedType.Mission2, 102, 1612.707, -1054.2, 22.8984)
Char.SetHeading(244@, 285.7294)
set_lvar_int_to_lvar_int 86@ = 244@
269@ = 1
gosub @LA1FIN2_15226
Char.SetOnlyDamagedByPlayer(244@, True)
Task.ToggleDuck(244@, True)
Task.GoStraightToCoord(244@, 1631.471, -1059.379, 22.9623, MoveState.Run, -2)
Char.Delete(245@)
245@ = Char.Create(PedType.Mission2, 102, 1617.219, -1057.973, 22.8984)
Char.SetHeading(245@, 265.7294)
set_lvar_int_to_lvar_int 86@ = 245@
269@ = 2
gosub @LA1FIN2_15226
Char.SetOnlyDamagedByPlayer(245@, True)
Task.ToggleDuck(245@, True)
Task.GoStraightToCoord(245@, 1633.035, -1064.716, 22.9162, MoveState.Run, -2)
if 
  Char.IsDead(246@)
goto_if_false @LA1FIN2_11826
246@ = Char.Create(PedType.Mission2, 102, 1670.707, -1082.179, 22.9062)
Char.SetHeading(246@, 25.7294)
set_lvar_int_to_lvar_int 86@ = 246@
269@ = 3
gosub @LA1FIN2_15226
Char.SetOnlyDamagedByPlayer(246@, True)
Task.ToggleDuck(246@, True)
Task.GoStraightToCoord(246@, 1659.903, -1067.094, 23.0077, MoveState.Run, -2)

:LA1FIN2_11826
if 
  Char.IsDead(247@)
goto_if_false @LA1FIN2_11936
247@ = Char.Create(PedType.Mission2, 102, 1665.267, -1090.467, 22.9062)
Char.SetHeading(247@, 25.7294)
set_lvar_int_to_lvar_int 86@ = 247@
269@ = 4
gosub @LA1FIN2_15226
Char.SetOnlyDamagedByPlayer(247@, True)
Task.ToggleDuck(247@, True)
Task.GoStraightToCoord(247@, 1649.499, -1077.795, 22.9062, MoveState.Run, -2)

:LA1FIN2_11936
101@ = 9
269@ = 0
99@ = 0

:LA1FIN2_11957
if 
  6 > 269@
goto_if_false @LA1FIN2_12016
if 
  Char.IsDead(243@(269@,6i))
goto_if_false @LA1FIN2_12002
99@ += 1

:LA1FIN2_12002
269@ += 1
goto @LA1FIN2_11957

:LA1FIN2_12016
return 

:LA1FIN2_12018
182@ = 1609.194
183@ = 1619.722
184@ = 1633.494
185@ = 1656.44
186@ = 1665.51
187@ = 1667.756
188@ = 1665.79
189@ = 1654.977
190@ = 1651.206
191@ = 1640.057
192@ = 1623.256
193@ = 1662.567
194@ = 1643.706
195@ = 1627.394
196@ = 1627.083
197@ = 1634.311
198@ = 1650.963
199@ = 1664.305
200@ = 1670.273
201@ = 1625.144
202@ = 1639.764
203@ = 1657.49
204@ = 1672.007
205@ = -1047.464
206@ = -1036.524
207@ = -1031.437
208@ = -1034.01
209@ = -1043.593
210@ = -1045.496
211@ = -1049.248
212@ = -1058.438
213@ = -1068.169
214@ = -1079.37
215@ = -1071.975
216@ = -1048.286
217@ = -1046.566
218@ = -1052.399
219@ = -1051.446
220@ = -1057.18
221@ = -1067.062
222@ = -1071.117
223@ = -1061.623
224@ = -1063.712
225@ = -1066.03
226@ = -1071.223
227@ = -1063.609
137@ = 0
147@ = 5
138@ = 6
148@ = 10
139@ = 11
149@ = 13
140@ = 14
150@ = 18
141@ = 19
151@ = 22
142@ = 5
152@ = 0
143@ = 10
153@ = 6
144@ = 13
154@ = 11
145@ = 18
155@ = 14
146@ = 22
156@ = 19
157@ = 1
167@ = 9
158@ = 0
168@ = 7
159@ = 6
169@ = 4
160@ = 5
170@ = 2
161@ = 2
171@ = 5
162@ = 6
172@ = 3
163@ = 8
173@ = 5
164@ = 5
174@ = 9
165@ = 0
175@ = 6
166@ = 7
176@ = 0
48@ = Car.Create(405, 1582.131, -1043.669, 22.9141)
Car.SetHeading(48@, 270.0)
Car.SetHeavy(48@, True)
Car.SetForwardSpeed(48@, 20.0)
269@ = 0

:LA1FIN2_12815
if 
  not Char.IsDead(243@(269@,6i))
goto_if_false @LA1FIN2_12849
269@ += 1
goto @LA1FIN2_12815

:LA1FIN2_12849
243@(269@,6i) = Char.CreateInsideCar(48@, PedType.Mission3, 102)
set_lvar_int_to_lvar_int 86@ = 243@(269@,6i)
set_lvar_int_to_lvar_int 37@ = 269@
gosub @LA1FIN2_15226
Char.SetOnlyDamagedByPlayer(243@(269@,6i), True)
269@ += 1

:LA1FIN2_12910
if 
  not Char.IsDead(243@(269@,6i))
goto_if_false @LA1FIN2_12944
269@ += 1
goto @LA1FIN2_12910

:LA1FIN2_12944
243@(269@,6i) = Char.CreateAsPassenger(48@, PedType.Mission3, 102, 0)
set_lvar_int_to_lvar_int 86@ = 243@(269@,6i)
set_lvar_int_to_lvar_int 38@ = 269@
gosub @LA1FIN2_15226
Char.SetOnlyDamagedByPlayer(243@(269@,6i), True)
269@ += 1

:LA1FIN2_13007
if 
  not Char.IsDead(243@(269@,6i))
goto_if_false @LA1FIN2_13041
269@ += 1
goto @LA1FIN2_13007

:LA1FIN2_13041
243@(269@,6i) = Char.CreateAsPassenger(48@, PedType.Mission3, 102, 1)
set_lvar_int_to_lvar_int 86@ = 243@(269@,6i)
set_lvar_int_to_lvar_int 39@ = 269@
gosub @LA1FIN2_15226
Char.SetDecisionMaker(243@(38@,6i), 104@)
Char.SetDecisionMaker(243@(39@,6i), 104@)
178@ = 1
179@ = 1
return 

:LA1FIN2_13126
if and
  not Car.IsDead(48@)
  not Char.IsDead(243@(37@,6i))
goto_if_false @LA1FIN2_13800
276@ = Car.GetSpeed(48@)
if 
  0.5 > 276@
goto_if_false @LA1FIN2_13221
if 
  82@ == 0
goto_if_false @LA1FIN2_13221
82@ = 1
set_lvar_int_to_lvar_int 83@ = TIMERA
83@ += 1500

:LA1FIN2_13221
if 
  82@ == 1
goto_if_false @LA1FIN2_13345
if 
  0.5 > 276@
goto_if_false @LA1FIN2_13338
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 83@
goto_if_false @LA1FIN2_13331
179@ = 2
82@ = 2
Car.TaskEveryoneLeave(48@)
75@(38@,6i) = 0
75@(39@,6i) = 0
75@(37@,6i) = 0

:LA1FIN2_13331
goto @LA1FIN2_13345

:LA1FIN2_13338
82@ = 0

:LA1FIN2_13345
if 
  179@ == 0
goto_if_false @LA1FIN2_13414
if 
  Car.Locate3D(48@, 180@, 181@, 22.0, 3.0, 3.0, 4.0, False)
goto_if_false @LA1FIN2_13414
179@ = 1

:LA1FIN2_13414
if 
  179@ == 1
goto_if_false @LA1FIN2_13782
177@ = Math.RandomIntInRange(0, 2)
if 
  177@ == 0
goto_if_false @LA1FIN2_13478
set_lvar_int_to_lvar_int 178@ = 157@(178@,10i)
goto @LA1FIN2_13490

:LA1FIN2_13478
set_lvar_int_to_lvar_int 178@ = 167@(178@,10i)

:LA1FIN2_13490
set_lvar_int_to_lvar_int 85@ = 137@(178@,10i)
Path.FlushRoute
228@, 229@, 230@ = Car.GetCoordinates(48@)
if 
  is_int_lvar_greater_than_int_lvar 147@(178@,10i) > 137@(178@,10i)
goto_if_false @LA1FIN2_13634

:LA1FIN2_13545
if 
  is_int_lvar_greater_or_equal_to_int_lvar 147@(178@,10i) >= 85@
goto_if_false @LA1FIN2_13627
Path.ExtendRoute(182@(85@,23f), 205@(85@,23f), 22.0)
set_lvar_float_to_lvar_float 228@ = 182@(85@,23f)
set_lvar_float_to_lvar_float 229@ = 205@(85@,23f)
85@ += 1
goto @LA1FIN2_13545

:LA1FIN2_13627
goto @LA1FIN2_13716

:LA1FIN2_13634
if 
  is_int_lvar_greater_or_equal_to_int_lvar 85@ >= 147@(178@,10i)
goto_if_false @LA1FIN2_13716
Path.ExtendRoute(182@(85@,23f), 205@(85@,23f), 22.0)
set_lvar_float_to_lvar_float 228@ = 182@(85@,23f)
set_lvar_float_to_lvar_float 229@ = 205@(85@,23f)
85@ -= 1
goto @LA1FIN2_13634

:LA1FIN2_13716
Task.DrivePointRouteAdvanced(243@(37@,6i), 48@, 20.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
179@ = 0
set_lvar_int_to_lvar_int 85@ = 147@(178@,10i)
set_lvar_float_to_lvar_float 180@ = 182@(85@,23f)
set_lvar_float_to_lvar_float 181@ = 205@(85@,23f)

:LA1FIN2_13782
if 
  179@ == 2
goto_if_false @LA1FIN2_13800

:LA1FIN2_13800
return 

:LA1FIN2_13802
if 
  255@ == 0
goto_if_false @LA1FIN2_14182
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1650.645, -1059.435, 25.4852, 250.0, 250.0, 70.0, False)
goto_if_false @LA1FIN2_14182
255@ = 1
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission3, PedType.Mission1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission3, PedType.Player1)
231@ = DecisionMakerChar.Copy(65539)
232@ = DecisionMakerChar.Copy(65539)
DecisionMakerChar.ClearEventResponse(231@, 15)
DecisionMakerChar.ClearEventResponse(231@, 49)
DecisionMakerChar.ClearEventResponse(231@, 9)
DecisionMakerChar.ClearEventResponse(231@, 36)
DecisionMakerChar.ClearEventResponse(231@, 65)
DecisionMakerChar.ClearEventResponse(231@, 11)
DecisionMakerChar.ClearEventResponse(232@, 15)
DecisionMakerChar.ClearEventResponse(232@, 49)
DecisionMakerChar.ClearEventResponse(232@, 9)
DecisionMakerChar.ClearEventResponse(232@, 36)
DecisionMakerChar.ClearEventResponse(232@, 31)
DecisionMakerChar.ClearEventResponse(232@, 11)
DecisionMakerChar.ClearEventResponse(232@, 41)
DecisionMakerChar.AddEventResponse(231@, 15, 1000, 0.0, 100.0, 0.0, 100.0, True, True)
DecisionMakerChar.AddEventResponse(231@, 36, 1000, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse(231@, 9, 1000, 0.0, 75.0, 0.0, 75.0, True, True)
DecisionMakerChar.AddEventResponse(231@, 9, 415, 0.0, 25.0, 0.0, 25.0, True, True)
Streaming.RequestModel(475)
Streaming.RequestModel(405)
Streaming.RequestModel(105)
Streaming.RequestModel(102)
Streaming.RequestModel(353)
Streaming.LoadSpecialCharacter(1, 'SWEET')

:LA1FIN2_14182
if 
  255@ == 1
goto_if_false @LA1FIN2_15224
if and
  Streaming.HasModelLoaded(475)
  Streaming.HasModelLoaded(105)
  Streaming.HasModelLoaded(102)
  Streaming.HasModelLoaded(353)
  Streaming.HasModelLoaded(405)
goto_if_false @LA1FIN2_15224
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1650.645, -1059.435, 25.4852, 150.0, 150.0, 70.0, False)
  Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @LA1FIN2_15224
235@ = Car.Create(405, 1649.555, -1055.767, 22.8984)
236@ = Car.Create(405, 1644.42, -1057.843, 22.9062)
237@ = Car.Create(405, 1643.845, -1051.736, 22.9219)
233@ = Car.Create(475, 1640.603, -1071.537, 22.9141)
234@ = Car.Create(475, 1660.943, -1059.201, 22.9141)
Car.SetHeading(235@, 329.5791)
Car.SetHeading(236@, 227.8)
Car.SetHeading(237@, 149.9008)
Car.SetHeading(233@, 61.7966)
Car.SetHeading(234@, 148.6633)
Car.SetStrong(235@, True)
Car.SetStrong(236@, True)
Car.SetStrong(237@, True)
Car.SetStrong(233@, True)
Car.SetStrong(234@, True)
Car.OpenDoor(233@, CarDoor.RightFrontDoor)
Car.OpenDoor(234@, CarDoor.RightFrontDoor)
Car.OpenDoor(234@, CarDoor.LeftFrontDoor)
238@ = Char.Create(PedType.Mission1, 290, 1648.556, -1054.473, 22.8984)
239@ = Char.Create(PedType.Mission1, 105, 1648.556, -1054.473, 22.8984)
240@ = Char.Create(PedType.Mission1, 105, 1646.474, -1057.642, 22.8984)
241@ = Char.Create(PedType.Mission1, 105, 1644.61, -1053.395, 22.8984)
243@ = Char.Create(PedType.Mission2, 102, 1622.276, -1044.679, 22.8984)
set_lvar_int_to_lvar_int 86@ = 243@
269@ = 0
gosub @LA1FIN2_15226
244@ = Char.Create(PedType.Mission2, 102, 1631.523, -1060.417, 23.011)
set_lvar_int_to_lvar_int 86@ = 244@
269@ = 1
gosub @LA1FIN2_15226
245@ = Char.Create(PedType.Mission2, 102, 1638.76, -1072.36, 22.8984)
set_lvar_int_to_lvar_int 86@ = 245@
269@ = 2
gosub @LA1FIN2_15226
246@ = Char.Create(PedType.Mission2, 102, 1649.349, -1077.868, 22.9062)
set_lvar_int_to_lvar_int 86@ = 246@
269@ = 3
gosub @LA1FIN2_15226
247@ = Char.Create(PedType.Mission2, 102, 1663.619, -1058.419, 22.8984)
set_lvar_int_to_lvar_int 86@ = 247@
269@ = 4
gosub @LA1FIN2_15226
set_lvar_int_to_var_int 242@ = $stattreadstamina_ctr
Char.SetHeading(238@, 216.2367)
Char.SetHeading(239@, 149.4687)
Char.SetHeading(240@, 100.9368)
Char.SetHeading(241@, 270.9368)
Char.SetAccuracy(238@, 40)
Char.SetAccuracy(239@, 40)
Char.SetAccuracy(240@, 40)
Char.SetAccuracy(241@, 40)
Char.SetNeverTargeted(238@, True)
Char.SetNeverTargeted(239@, True)
Char.SetNeverTargeted(240@, True)
Char.SetNeverTargeted(241@, True)
Char.SetSenseRange(238@, 60.0)
Char.SetSenseRange(239@, 60.0)
Char.SetSenseRange(240@, 60.0)
Char.SetSenseRange(241@, 60.0)
Char.SetKindaStayInSamePlace(238@, True)
Char.SetKindaStayInSamePlace(239@, True)
Char.SetKindaStayInSamePlace(240@, True)
Char.SetKindaStayInSamePlace(241@, True)
Char.SetDecisionMaker(238@, 231@)
Char.SetDecisionMaker(239@, 231@)
Char.SetDecisionMaker(240@, 231@)
Char.SetDecisionMaker(241@, 231@)
Char.SetSuffersCriticalHits(238@, False)
Char.SetSuffersCriticalHits(239@, False)
Char.SetSuffersCriticalHits(240@, False)
Char.SetSuffersCriticalHits(241@, False)
Char.GiveWeapon(238@, WeaponType.Mp5, 99999)
Char.GiveWeapon(239@, WeaponType.Mp5, 99999)
Char.GiveWeapon(240@, WeaponType.Mp5, 99999)
Char.GiveWeapon(241@, WeaponType.Mp5, 99999)
Char.SetHealth(238@, 100)
Char.SetHealth(239@, 100)
Char.SetHealth(240@, 100)
Char.SetHealth(241@, 100)
Char.SetMaxHealth(238@, 100)
Char.SetMaxHealth(239@, 100)
Char.SetMaxHealth(240@, 100)
Char.SetMaxHealth(241@, 100)
Char.SetOnlyDamagedByPlayer(238@, True)
269@ = Math.RandomIntInRange(0, 5)
Char.SetOnlyDamagedByPlayer(243@(269@,6i), True)
269@ = Math.RandomIntInRange(0, 5)
Char.SetOnlyDamagedByPlayer(243@(269@,6i), True)
255@ = 2

:LA1FIN2_15224
return 

:LA1FIN2_15226
Char.SetAccuracy(86@, 40)
Char.SetKindaStayInSamePlace(86@, True)
Char.SetDecisionMaker(86@, 232@)
Char.GiveWeapon(86@, WeaponType.Mp5, 99999)
249@(269@,6i) = 0
88@(269@,6i) = 0
Blip.Remove(51@(269@,6i))
if 
  100@ > 3
goto_if_false @LA1FIN2_15325
51@(269@,6i) = Blip.AddForChar(243@(269@,6i))

:LA1FIN2_15325
return 

:LA1FIN2_15327
if 
  255@ == 2
goto_if_false @LA1FIN2_16316
266@ += 1
if 
  266@ > 5
goto_if_false @LA1FIN2_15377
266@ = 0

:LA1FIN2_15377
if 
  not Char.IsDead(243@(266@,6i))
goto_if_false @LA1FIN2_15871
if 
  75@(266@,6i) <> 1
goto_if_false @LA1FIN2_15864
if 
  not Char.IsInAnyCar(243@(266@,6i))
goto_if_false @LA1FIN2_15864
269@ = Char.GetScriptTaskStatus(243@(266@,6i), 1491)
if 
  is_int_lvar_equal_to_constant 269@ == 7
goto_if_false @LA1FIN2_15864
if 
  249@(266@,6i) == 0
goto_if_false @LA1FIN2_15590
if 
  Char.LocateAnyMeans3D(243@(266@,6i), 1646.777, -1054.257, 24.8043, 15.0, 15.0, 15.0, False)
goto_if_false @LA1FIN2_15590
Task.ToggleDuck(243@(266@,6i), True)
Char.SetStayInSamePlace(243@(266@,6i), True)
Char.SetKindaStayInSamePlace(243@(266@,6i), False)
249@(266@,6i) = 1

:LA1FIN2_15590
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(243@(266@,6i))
267@ = 0
274@ = 40.0

:LA1FIN2_15625
if 
  5 > 267@
goto_if_false @LA1FIN2_15751
if 
  not Char.IsDead(238@(267@,5i))
goto_if_false @LA1FIN2_15737
270@, 271@, 272@ = Char.GetCoordinates(238@(267@,5i))
273@ = Math.GetDistanceBetweenCoords2D(270@, 271@, $on_footY, $on_footZ)
if 
  is_float_lvar_greater_than_float_lvar 274@ > 273@
goto_if_false @LA1FIN2_15737
set_lvar_float_to_lvar_float 274@ = 273@
set_lvar_int_to_lvar_int 268@ = 238@(267@,5i)

:LA1FIN2_15737
267@ += 1
goto @LA1FIN2_15625

:LA1FIN2_15751
if 
  not is_int_lvar_equal_to_int_lvar 268@ == 259@(266@,6i)
goto_if_false @LA1FIN2_15795
Char.ClearTasks(243@(266@,6i))
set_lvar_int_to_lvar_int 259@(266@,6i) = 268@

:LA1FIN2_15795
269@ = Char.GetScriptTaskStatus(243@(266@,6i), 1506)
if 
  is_int_lvar_equal_to_constant 269@ == 7
goto_if_false @LA1FIN2_15864
if 
  not Char.IsDead(259@(266@,6i))
goto_if_false @LA1FIN2_15864
Task.KillCharOnFoot(243@(266@,6i), 259@(266@,6i))

:LA1FIN2_15864
goto @LA1FIN2_15940

:LA1FIN2_15871
if 
  88@(266@,6i) == 0
goto_if_false @LA1FIN2_15940
Char.MarkAsNoLongerNeeded(243@(266@,6i))
99@ += 1
88@(266@,6i) = 1
75@(266@,6i) = 0
Blip.Remove(51@(266@,6i))

:LA1FIN2_15940
265@ += 1
if 
  265@ > 3
goto_if_false @LA1FIN2_15972
265@ = 0

:LA1FIN2_15972
if 
  not Char.IsDead(238@(265@,5i))
goto_if_false @LA1FIN2_16316
if 
  57@(265@,5i) == 0
goto_if_false @LA1FIN2_16219
if 
  not Char.LocateAnyMeans3D(238@(265@,5i), 1647.249, -1053.482, 23.8804, 5.0, 5.0, 5.0, False)
goto_if_false @LA1FIN2_16212
269@ = Char.GetScriptTaskStatus(238@(265@,5i), 1491)
if 
  is_int_lvar_equal_to_constant 269@ == 7
goto_if_false @LA1FIN2_16212
Char.SetDecisionMaker(238@(265@,5i), 103@)
276@ = Math.RandomFloatInRange(-1.5, 1.5)
$on_footY = 1647.249
add_float_lvar_to_float_var $on_footY += 276@
276@ = Math.RandomFloatInRange(-1.5, 1.5)
$on_footZ = -1053.482
add_float_lvar_to_float_var $on_footZ += 276@
Task.GoStraightToCoord(238@(265@,5i), $on_footY, $on_footZ, 23.8804, MoveState.Run, -1)
57@(265@,5i) = 1

:LA1FIN2_16212
goto @LA1FIN2_16316

:LA1FIN2_16219
269@ = Char.GetScriptTaskStatus(238@(265@,5i), 1491)
if or
  is_int_lvar_equal_to_constant 269@ == 7
  Char.LocateAnyMeans3D(238@(265@,5i), 1647.249, -1053.482, 23.8804, 3.0, 3.0, 3.0, False)
goto_if_false @LA1FIN2_16316
57@(265@,5i) = 0
Char.SetDecisionMaker(238@(265@,5i), 231@)

:LA1FIN2_16316
return 

:LA1FIN2_16318
if 
  26 > 281@(85@,5i)
goto_if_false @LA1FIN2_16551
if 
  not Car.IsDead(280@)
goto_if_false @LA1FIN2_16551
if 
  68@(85@,5i) == 0
goto_if_false @LA1FIN2_16551
if 
  not Char.IsInCar($stattreadstamina_ctr, 280@)
goto_if_false @LA1FIN2_16525
106@(85@,5i) = Car.GetHealth(280@)
if 
  not Car.IsHealthGreater(280@, 550)
goto_if_false @LA1FIN2_16518
set_lvar_int_to_lvar_int 279@ = 281@(85@,5i)
if 
  281@(85@,5i) >= 25
goto_if_false @LA1FIN2_16492
Car.SetHealth(280@, 350)
Car.SetProofs(280@, True, True, True, True, True)
goto @LA1FIN2_16500

:LA1FIN2_16492
Car.SetHealth(280@, 900)

:LA1FIN2_16500
gosub @LA1FIN2_16553
281@(85@,5i) += 1

:LA1FIN2_16518
goto @LA1FIN2_16551

:LA1FIN2_16525
68@(85@,5i) = 1
Car.SetProofs(280@, False, False, False, False, False)

:LA1FIN2_16551
return 

:LA1FIN2_16553
switch_start 279@ {numCases} 26 {hasDefaultCase} 0 {defaultLabel} @LA1FIN2_17185 {caseNum1} 0 {caseLabel1} @LA1FIN2_16811 {caseNum2} 1 {caseLabel2} @LA1FIN2_16825 {caseNum3} 2 {caseLabel3} @LA1FIN2_16839 {caseNum4} 3 {caseLabel4} @LA1FIN2_16853 {caseNum5} 4 {caseLabel5} @LA1FIN2_16867 {caseNum6} 5 {caseLabel6} @LA1FIN2_16881 {caseNum7} 6 {caseLabel7} @LA1FIN2_16895
switch_continued 7 {caseLabel1} @LA1FIN2_16909 {caseNum2} 8 {caseLabel2} @LA1FIN2_16923 {caseNum3} 9 {caseLabel3} @LA1FIN2_16937 {caseNum4} 10 {caseLabel4} @LA1FIN2_16951 {caseNum5} 11 {caseLabel5} @LA1FIN2_16965 {caseNum6} 12 {caseLabel6} @LA1FIN2_16979 {caseNum7} 13 {caseLabel7} @LA1FIN2_16993 {caseNum8} 14 {caseLabel8} @LA1FIN2_17007 {caseNum9} 15 {caseLabel9} @LA1FIN2_17021
switch_continued 16 {caseLabel1} @LA1FIN2_17035 {caseNum2} 17 {caseLabel2} @LA1FIN2_17051 {caseNum3} 18 {caseLabel3} @LA1FIN2_17065 {caseNum4} 19 {caseLabel4} @LA1FIN2_17081 {caseNum5} 20 {caseLabel5} @LA1FIN2_17097 {caseNum6} 21 {caseLabel6} @LA1FIN2_17111 {caseNum7} 22 {caseLabel7} @LA1FIN2_17127 {caseNum8} 23 {caseLabel8} @LA1FIN2_17141 {caseNum9} 24 {caseLabel9} @LA1FIN2_17155
switch_continued 25 {caseLabel1} @LA1FIN2_17169 {caseNum2} -1 {caseLabel2} @LA1FIN2_17185 {caseNum3} -1 {caseLabel3} @LA1FIN2_17185 {caseNum4} -1 {caseLabel4} @LA1FIN2_17185 {caseNum5} -1 {caseLabel5} @LA1FIN2_17185 {caseNum6} -1 {caseLabel6} @LA1FIN2_17185 {caseNum7} -1 {caseLabel7} @LA1FIN2_17185 {caseNum8} -1 {caseLabel8} @LA1FIN2_17185 {caseNum9} -1 {caseLabel9} @LA1FIN2_17185

:LA1FIN2_16811
Car.DamageDoor(280@, CarDoor.Hood)
goto @LA1FIN2_17185

:LA1FIN2_16825
Car.DamagePanel(280@, 1)
goto @LA1FIN2_17185

:LA1FIN2_16839
Car.DamageDoor(280@, CarDoor.RightFrontDoor)
goto @LA1FIN2_17185

:LA1FIN2_16853
Car.DamageDoor(280@, CarDoor.RightFrontDoor)
goto @LA1FIN2_17185

:LA1FIN2_16867
Car.DamageDoor(280@, CarDoor.RightRearDoor)
goto @LA1FIN2_17185

:LA1FIN2_16881
Car.BurstTire(280@, 2)
goto @LA1FIN2_17185

:LA1FIN2_16895
Car.DamagePanel(280@, 5)
goto @LA1FIN2_17185

:LA1FIN2_16909
Car.DamageDoor(280@, CarDoor.RightRearDoor)
goto @LA1FIN2_17185

:LA1FIN2_16923
Car.DamagePanel(280@, 1)
goto @LA1FIN2_17185

:LA1FIN2_16937
Car.DamageDoor(280@, CarDoor.Trunk)
goto @LA1FIN2_17185

:LA1FIN2_16951
Car.BurstTire(280@, 3)
goto @LA1FIN2_17185

:LA1FIN2_16965
Car.DamagePanel(280@, 6)
goto @LA1FIN2_17185

:LA1FIN2_16979
Car.DamageDoor(280@, CarDoor.RightRearDoor)
goto @LA1FIN2_17185

:LA1FIN2_16993
Car.DamageDoor(280@, CarDoor.Hood)
goto @LA1FIN2_17185

:LA1FIN2_17007
Car.DamageDoor(280@, CarDoor.RightRearDoor)
goto @LA1FIN2_17185

:LA1FIN2_17021
Car.DamagePanel(280@, 1)
goto @LA1FIN2_17185

:LA1FIN2_17035
Car.PopDoor(280@, CarDoor.Trunk, True)
goto @LA1FIN2_17185

:LA1FIN2_17051
Car.DamageDoor(280@, CarDoor.RightFrontDoor)
goto @LA1FIN2_17185

:LA1FIN2_17065
Car.PopDoor(280@, CarDoor.Hood, True)
goto @LA1FIN2_17185

:LA1FIN2_17081
Car.PopDoor(280@, CarDoor.RightFrontDoor, True)
goto @LA1FIN2_17185

:LA1FIN2_17097
Car.DamagePanel(280@, 5)
goto @LA1FIN2_17185

:LA1FIN2_17111
Car.PopDoor(280@, CarDoor.Hood, True)
goto @LA1FIN2_17185

:LA1FIN2_17127
Car.DamageDoor(280@, CarDoor.RightFrontDoor)
goto @LA1FIN2_17185

:LA1FIN2_17141
Car.DamageDoor(280@, CarDoor.RightFrontDoor)
goto @LA1FIN2_17185

:LA1FIN2_17155
Car.DamageDoor(280@, CarDoor.RightRearDoor)
goto @LA1FIN2_17185

:LA1FIN2_17169
Car.PopDoor(280@, CarDoor.RightRearDoor, True)
goto @LA1FIN2_17185

:LA1FIN2_17185
return 

:LA1FIN2_17187
if 
  286@ <> 0
goto_if_false @LA1FIN2_17405
if 
  287@ == 0
goto_if_false @LA1FIN2_17265
287@ = 1
set_lvar_int_to_lvar_int 288@ = TIMERA
289@ = 0
set_lvar_int_to_lvar_int 490@ = 288@
add_int_lvar_to_int_lvar 490@ += 290@(289@,10i)

:LA1FIN2_17265
if 
  287@ == 1
goto_if_false @LA1FIN2_17405
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 490@
goto_if_false @LA1FIN2_17405
if 
  437@ == 0
goto_if_false @LA1FIN2_17405
set_lvar_int_to_lvar_int 437@ = 300@(289@,10i)
289@ += 1
310@ -= 1
if 
  310@ == 0
goto_if_false @LA1FIN2_17385
286@ = 0
287@ = 0
goto @LA1FIN2_17405

:LA1FIN2_17385
set_lvar_int_to_lvar_int 490@ = 288@
add_int_lvar_to_int_lvar 490@ += 290@(289@,10i)

:LA1FIN2_17405
switch_start 436@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @LA1FIN2_19509 {caseNum1} 0 {caseLabel1} @LA1FIN2_17468 {caseNum2} 1 {caseLabel2} @LA1FIN2_18407 {caseNum3} 2 {caseLabel3} @LA1FIN2_19164 {caseNum4} 3 {caseLabel4} @LA1FIN2_19256 {caseNum5} 4 {caseLabel5} @LA1FIN2_19314 {caseNum6} 5 {caseLabel6} @LA1FIN2_19428 {caseNum7} -1 {caseLabel7} @LA1FIN2_19509

:LA1FIN2_17468
if 
  436@ == 1
goto_if_false @LA1FIN2_17536
488@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)
492@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)

:LA1FIN2_17536
set_lvar_text_label 313@s = 'FIN2_BA'
set_lvar_int_to_constant 392@ = 16006
set_lvar_text_label 315@s = 'FIN2_BB'
set_lvar_int_to_constant 393@ = 16007
set_lvar_text_label 317@s = 'FIN2_BC'
set_lvar_int_to_constant 394@ = 16008
set_lvar_text_label 319@s = 'FIN2_BD'
set_lvar_int_to_constant 395@ = 16009
set_lvar_text_label 321@s = 'FIN2_BE'
set_lvar_int_to_constant 396@ = 16010
set_lvar_text_label 323@s = 'FIN2_BF'
set_lvar_int_to_constant 397@ = 16011
set_lvar_text_label 325@s = 'FIN2_BG'
set_lvar_int_to_constant 398@ = 16012
set_lvar_text_label 327@s = 'FIN2_BH'
set_lvar_int_to_constant 399@ = 16013
set_lvar_text_label 329@s = 'FIN2_BJ'
set_lvar_int_to_constant 400@ = 16014
set_lvar_text_label 331@s = 'FIN2_AA'
set_lvar_int_to_constant 401@ = 16000
set_lvar_text_label 333@s = 'FIN2_AB'
set_lvar_int_to_constant 402@ = 16001
set_lvar_text_label 335@s = 'FIN2_AB'
set_lvar_int_to_constant 403@ = 16001
set_lvar_text_label 337@s = 'FIN2_AC'
set_lvar_int_to_constant 404@ = 16002
set_lvar_text_label 339@s = 'FIN2_AD'
set_lvar_int_to_constant 405@ = 16003
set_lvar_text_label 341@s = 'FIN2_AE'
set_lvar_int_to_constant 406@ = 16004
set_lvar_text_label 343@s = 'FIN2_AF'
set_lvar_int_to_constant 407@ = 16005
set_lvar_int_to_constant 408@ = 23000
set_lvar_int_to_constant 409@ = 23000
set_lvar_text_label 349@s = 'MCES03A'
set_lvar_int_to_constant 410@ = 25227
set_lvar_text_label 351@s = 'MCES03B'
set_lvar_int_to_constant 411@ = 25228
set_lvar_text_label 353@s = 'MCES03C'
set_lvar_int_to_constant 412@ = 25229
set_lvar_text_label 355@s = 'MCES03D'
set_lvar_int_to_constant 413@ = 25230
set_lvar_text_label 357@s = 'MCES03E'
set_lvar_int_to_constant 414@ = 25231
set_lvar_text_label 359@s = 'MCES03F'
set_lvar_int_to_constant 415@ = 25232
set_lvar_text_label 361@s = 'MCES03G'
set_lvar_int_to_constant 416@ = 25233
set_lvar_text_label 363@s = 'MCES03H'
set_lvar_int_to_constant 417@ = 25234
set_lvar_text_label 365@s = 'MCES03J'
set_lvar_int_to_constant 418@ = 25235
set_lvar_text_label 367@s = 'MCES03L'
set_lvar_int_to_constant 419@ = 25237
set_lvar_text_label 369@s = 'MCES03M'
set_lvar_int_to_constant 420@ = 25238
440@ = 1
441@ = 1
442@ = 1
443@ = 1
444@ = 1
445@ = 1
446@ = 1
447@ = 1
448@ = 1
449@ = 0
450@ = 0
451@ = 0
452@ = 0
453@ = 0
454@ = 0
455@ = 0
456@ = 0
457@ = 0
458@ = 0
459@ = 0
460@ = 0
461@ = 0
462@ = 0
463@ = 0
464@ = 0
465@ = 0
466@ = 0
467@ = 0
468@ = 0
set_lvar_int_to_var_int 480@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 481@ = 238@
436@ = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 392@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 393@)
432@ = 1
433@ = 2
goto @LA1FIN2_19509

:LA1FIN2_18407
if 
  437@ <> 0
goto_if_false @LA1FIN2_19157
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @LA1FIN2_19157
if 
  is_int_lvar_equal_to_int_lvar 432@ == 437@
goto_if_false @LA1FIN2_18477
434@ = 1
goto @LA1FIN2_18540

:LA1FIN2_18477
if 
  is_int_lvar_equal_to_int_lvar 433@ == 437@
goto_if_false @LA1FIN2_18510
434@ = 2
goto @LA1FIN2_18540

:LA1FIN2_18510
434@ = 1
set_lvar_int_to_lvar_int 432@ = 437@
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 391@(437@,40i))

:LA1FIN2_18540
if 
  Audio.HasMissionAudioLoaded(434@)
goto_if_false @LA1FIN2_19145
set_lvar_int_to_lvar_int 487@ = 439@(437@,40i)
set_lvar_int_to_lvar_int 488@ = 479@(487@,7i)
if 
  494@ <> 1
goto_if_false @LA1FIN2_18768
491@ = 1
493@ = 0

:LA1FIN2_18612
if 
  7 > 491@
goto_if_false @LA1FIN2_18768
set_lvar_int_to_lvar_int 492@ = 479@(491@,7i)
if 
  492@ <> 0
goto_if_false @LA1FIN2_18754
if 
  not is_int_lvar_equal_to_int_lvar 492@ == 488@
goto_if_false @LA1FIN2_18754
if 
  not Char.IsDead(488@)
goto_if_false @LA1FIN2_18754
if 
  not Char.IsDead(492@)
goto_if_false @LA1FIN2_18754
if 
  Char.LocateAnyMeansChar3D(488@, 492@, 10.0, 10.0, 10.0, False)
goto_if_false @LA1FIN2_18754
493@ += 1

:LA1FIN2_18754
491@ += 1
goto @LA1FIN2_18612

:LA1FIN2_18768
if or
  494@ == 1
  493@ > 0
  439@(437@,40i) == 0
goto_if_false @LA1FIN2_19138
if 
  439@(437@,40i) <> 0
goto_if_false @LA1FIN2_18895
if 
  not Char.IsDead(488@)
goto_if_false @LA1FIN2_18895
Audio.AttachMissionAudioToChar(434@, 488@)
if 
  not Char.IsTalking(488@)
goto_if_false @LA1FIN2_18888
486@ = 1
Char.StartFacialTalk(488@, 15000)
goto @LA1FIN2_18895

:LA1FIN2_18888
Char.DisableSpeech(488@, False)

:LA1FIN2_18895
if 
  439@(437@,40i) == 0
goto_if_false @LA1FIN2_18924
486@ = 1

:LA1FIN2_18924
if 
  486@ == 1
goto_if_false @LA1FIN2_19138
Audio.PlayMissionAudio(434@)
Text.ClearPrints
if 
  not is_int_lvar_equal_to_constant 391@(437@,40i) == 23000
goto_if_false @LA1FIN2_18986
Text.Print(311@(437@,40s), 10000, 1)

:LA1FIN2_18986
436@ += 1
486@ = 0
437@ += 1
set_lvar_int_to_lvar_int 435@ = 437@
if 
  391@(437@,40i) <> 0
goto_if_false @LA1FIN2_19138
if 
  434@ == 1
goto_if_false @LA1FIN2_19100
if 
  not is_int_lvar_equal_to_int_lvar 433@ == 437@
goto_if_false @LA1FIN2_19093
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 391@(437@,40i))
set_lvar_int_to_lvar_int 433@ = 437@

:LA1FIN2_19093
goto @LA1FIN2_19138

:LA1FIN2_19100
if 
  not is_int_lvar_equal_to_int_lvar 432@ == 437@
goto_if_false @LA1FIN2_19138
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 391@(437@,40i))
set_lvar_int_to_lvar_int 432@ = 437@

:LA1FIN2_19138
goto @LA1FIN2_19157

:LA1FIN2_19145
Audio.LoadMissionAudio(434@, 391@(437@,40i))

:LA1FIN2_19157
goto @LA1FIN2_19509

:LA1FIN2_19164
if 
  Audio.HasMissionAudioFinished(434@)
goto_if_false @LA1FIN2_19194
436@ += 1
goto @LA1FIN2_19249

:LA1FIN2_19194
if 
  Char.DoesExist(488@)
goto_if_false @LA1FIN2_19233
if 
  Char.IsDead(488@)
goto_if_false @LA1FIN2_19233
436@ += 1

:LA1FIN2_19233
if 
  not Char.IsDead(488@)
goto_if_false @LA1FIN2_19249

:LA1FIN2_19249
goto @LA1FIN2_19509

:LA1FIN2_19256
Audio.ClearMissionAudio(434@)
431@(434@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(488@)
goto_if_false @LA1FIN2_19300
Char.StopFacialTalk(488@)
Char.EnableSpeech(488@)

:LA1FIN2_19300
436@ += 1
goto @LA1FIN2_19509

:LA1FIN2_19314
437@ += 1
if 
  391@(437@,40i) <> 0
goto_if_false @LA1FIN2_19367
Audio.LoadMissionAudio(434@, 391@(437@,40i))
set_lvar_int_to_lvar_int 431@(434@,3i) = 437@

:LA1FIN2_19367
438@ -= 1
if 
  438@ <= 0
goto_if_false @LA1FIN2_19406
437@ = 0
goto @LA1FIN2_19414

:LA1FIN2_19406
set_lvar_int_to_lvar_int 437@ = 435@

:LA1FIN2_19414
436@ = 1
goto @LA1FIN2_19509

:LA1FIN2_19428
436@ = 1
437@ = 0
438@ = 0
286@ = 0
310@ = 0
Audio.ClearMissionAudio(434@)
431@(434@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(488@)
goto_if_false @LA1FIN2_19502
Char.EnableSpeech(488@)

:LA1FIN2_19502
goto @LA1FIN2_19509

:LA1FIN2_19509
return 

:LA1FIN2_19511
Text.PrintBig('M_FAIL', 50, TextStyle.Middle)
return 

:LA1FIN2_19528
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @LA1FIN2_19571
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2007.5, -2542.4, 35.7)
goto @LA1FIN2_19601

:LA1FIN2_19571
Char.SetCoordinates($stattreadstamina_ctr, -2007.5, -2542.4, 35.7)
Char.SetHeading($stattreadstamina_ctr, 80.0)

:LA1FIN2_19601
Car.Delete(47@)
Car.Delete(122@)
Car.Delete(123@)
Car.Delete(124@)
Car.Delete(48@)
Car.Delete(235@)
Car.Delete(236@)
Car.Delete(237@)
Car.Delete(233@)
Car.Delete(234@)
Char.Delete(243@)
Char.Delete(244@)
Char.Delete(245@)
Char.Delete(246@)
Char.Delete(247@)
Char.Delete(248@)
Char.Delete(125@)
Char.Delete(126@)
Char.Delete(127@)
Char.Delete(238@)
Char.Delete(239@)
Char.Delete(240@)
Char.Delete(241@)
Streaming.MarkModelAsNoLongerNeeded(401)
Streaming.MarkModelAsNoLongerNeeded(475)
Streaming.MarkModelAsNoLongerNeeded(105)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(405)
Streaming.MarkModelAsNoLongerNeeded(413)
Streaming.RemoveAnimation("SWEET")
Streaming.UnloadSpecialCharacter(1)
DecisionMaker.Remove(103@)
DecisionMaker.Remove(104@)
Player.ClearWantedLevel($statbike_temp)
Stat.SetInt(StatId.CitiesPassed, 1)
Cutscene.Load('BCRAS1')
Char.SetCoordinates($stattreadstamina_ctr, -2011.438, -2501.287, 34.0624)
Player.SetControl($statbike_temp, False)
Streaming.LoadScene(-2011.438, -2501.287, 34.0624)
World.ClearArea(-2011.438, -2501.287, 34.0624, 100.0, True)
Text.ClearHelp
Char.RemoveAllWeapons($stattreadstamina_ctr)
Text.LoadMissionText('BCRASH1')

:LA1FIN2_19881
if 
  not Cutscene.HasLoaded
goto_if_false @LA1FIN2_19905
wait 0
goto @LA1FIN2_19881

:LA1FIN2_19905
wait 1000
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:LA1FIN2_19919
if 
  not Cutscene.HasFinished
goto_if_false @LA1FIN2_19943
wait 0
goto @LA1FIN2_19919

:LA1FIN2_19943
Camera.DoFade(0, Fade.Out)

:LA1FIN2_19949
if 
  Camera.GetFadingStatus
goto_if_false @LA1FIN2_19973
wait 0
goto @LA1FIN2_19949

:LA1FIN2_19973
Cutscene.Clear
Cutscene.Load('BCRAS2')

:LA1FIN2_19986
if 
  not Cutscene.HasLoaded
goto_if_false @LA1FIN2_20010
wait 0
goto @LA1FIN2_19986

:LA1FIN2_20010
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:LA1FIN2_20019
if 
  not Cutscene.HasFinished
goto_if_false @LA1FIN2_20043
wait 0
goto @LA1FIN2_20019

:LA1FIN2_20043
Camera.DoFade(0, Fade.Out)

:LA1FIN2_20049
if 
  Camera.GetFadingStatus
goto_if_false @LA1FIN2_20073
wait 0
goto @LA1FIN2_20049

:LA1FIN2_20073
Cutscene.Clear
Streaming.RequestModel(367)

:LA1FIN2_20080
if 
  not Streaming.HasModelLoaded(367)
goto_if_false @LA1FIN2_20107
wait 0
goto @LA1FIN2_20080

:LA1FIN2_20107
Camera.DoFade(1000, Fade.In)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Camera, 30000)
Streaming.MarkModelAsNoLongerNeeded(367)
Player.SetControl($statbike_temp, True)
Blip.Remove($truth_blip_icon)
Blip.Remove($intro_contact_blip)
$truth_blip_icon = Blip.AddSpriteForContactPoint($truthY, $truthZ, $truth2X, $flag_intro_mission_counter)
Blip.Remove($1734)
$1734 = Blip.AddShortRangeSpriteForContactPoint($890[13], $908[13], $926[13], RadarSprite.SaveGame)
Blip.ChangeDisplay($1734, BlipDisplay.BlipOnly)
Player.ClearWantedLevel($statbike_temp)
Stat.SetInt(StatId.PassedLafin2, 1)
Stat.SetInt(StatId.StartedBadlands, 1)
terminate_all_scripts_with_this_name 'MOB_CAT'
start_new_script @MOB_CAT 
$sweetX += 1
$millies_double_ender = 1
Stat.RegisterMissionPassed('LA1FIN2')
Stat.PlayerMadeProgress(1)
Pickup.Remove($869[13])
$869[13] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[13], $908[13], $926[13])
$889 = 14
Zone.SetGangStrength('SUN1', GangType.Ballas, 30)
Zone.SetGangStrength('SUN1', GangType.Ballas, 30)
Zone.SetGangStrength('SUN3A', GangType.Ballas, 30)
Zone.SetGangStrength('SUN3B', GangType.Ballas, 30)
Zone.SetGangStrength('SUN3C', GangType.Ballas, 30)
Zone.SetGangStrength('SUN4', GangType.Ballas, 30)
Zone.SetGangStrength('CHC1A', GangType.Vagos, 40)
Zone.SetGangStrength('CHC1B', GangType.Vagos, 40)
Zone.SetGangStrength('CHC2A', GangType.Vagos, 40)
Zone.SetGangStrength('CHC2B', GangType.Vagos, 40)
Zone.SetGangStrength('CHC3', GangType.Vagos, 40)
Zone.SetGangStrength('CHC4A', GangType.Vagos, 40)
Zone.SetGangStrength('CHC4B', GangType.Vagos, 40)
Zone.SetGangStrength('EBE1', GangType.Vagos, 30)
Zone.SetGangStrength('EBE2A', GangType.Vagos, 30)
Zone.SetGangStrength('EBE2B', GangType.Vagos, 30)
Zone.SetGangStrength('EBE3C', GangType.Vagos, 30)
Zone.SetGangStrength('ELCO1', GangType.Aztecas, 40)
Zone.SetGangStrength('ELCO2', GangType.Aztecas, 40)
Zone.SetGangStrength('GAN1', GangType.Ballas, 10)
Zone.SetGangStrength('GAN2', GangType.Ballas, 25)
Zone.SetGangStrength('GLN1', GangType.Ballas, 40)
Zone.SetGangStrength('GLN2A', GangType.Ballas, 40)
Zone.SetGangStrength('LIND1A', GangType.Ballas, 20)
Zone.SetGangStrength('LIND1B', GangType.Ballas, 20)
Zone.SetGangStrength('LIND2A', GangType.Ballas, 20)
Zone.SetGangStrength('LIND2B', GangType.Ballas, 20)
Zone.SetGangStrength('LIND3', GangType.Ballas, 20)
Zone.SetGangStrength('IWD1', GangType.Ballas, 20)
Zone.SetGangStrength('IWD2', GangType.Ballas, 20)
Zone.SetGangStrength('IWD3A', GangType.Ballas, 20)
Zone.SetGangStrength('IWD3B', GangType.Ballas, 20)
Zone.SetGangStrength('IWD4', GangType.Ballas, 10)
Zone.SetGangStrength('IWD5', GangType.Ballas, 20)
Zone.SetGangStrength('JEF1A', GangType.Ballas, 40)
Zone.SetGangStrength('JEF1B', GangType.Ballas, 40)
Zone.SetGangStrength('JEF2', GangType.Ballas, 40)
Zone.SetGangStrength('JEF3B', GangType.Ballas, 40)
Zone.SetGangStrength('JEF3C', GangType.Ballas, 40)
Zone.SetGangStrength('LFL1A', GangType.Vagos, 40)
Zone.SetGangStrength('LFL1B', GangType.Vagos, 40)
Zone.SetGangStrength('LMEX1A', GangType.Aztecas, 30)
Zone.SetGangStrength('LMEX1B', GangType.Aztecas, 30)
Zone.SetGangStrength('ELS1A', GangType.Ballas, 30)
Zone.SetGangStrength('ELS1B', GangType.Ballas, 30)
Zone.SetGangStrength('ELS2', GangType.Ballas, 30)
Zone.SetGangStrength('ELS3A', GangType.Ballas, 30)
Zone.SetGangStrength('ELS3B', GangType.Ballas, 30)
Zone.SetGangStrength('ELS4', GangType.Ballas, 30)
Zone.SetGangStrength('PLS', GangType.Ballas, 10)
Zone.SetGangStrength('SMB1', GangType.Ballas, 10)
Zone.SetGangStrength('SMB2', GangType.Ballas, 10)
Zone.SetGangStrength('VIN2', GangType.Ballas, 10)
Zone.SetGangStrength('VERO1', GangType.Ballas, 10)
Zone.SetGangStrength('VERO2', GangType.Ballas, 10)
Zone.SetGangStrength('VERO3', GangType.Ballas, 10)
Zone.SetGangStrength('VERO4A', GangType.Ballas, 10)
Zone.SetGangStrength('VERO4B', GangType.Ballas, 10)
Zone.SetGangStrength('SUN1', GangType.Grove, 0)
Zone.SetGangStrength('SUN1', GangType.Grove, 0)
Zone.SetGangStrength('SUN3A', GangType.Grove, 0)
Zone.SetGangStrength('SUN3B', GangType.Grove, 0)
Zone.SetGangStrength('SUN3C', GangType.Grove, 0)
Zone.SetGangStrength('SUN4', GangType.Grove, 0)
Zone.SetGangStrength('CHC1A', GangType.Grove, 0)
Zone.SetGangStrength('CHC1B', GangType.Grove, 0)
Zone.SetGangStrength('CHC2A', GangType.Grove, 0)
Zone.SetGangStrength('CHC2B', GangType.Grove, 0)
Zone.SetGangStrength('CHC3', GangType.Grove, 0)
Zone.SetGangStrength('CHC4A', GangType.Grove, 0)
Zone.SetGangStrength('CHC4B', GangType.Grove, 0)
Zone.SetGangStrength('EBE1', GangType.Grove, 0)
Zone.SetGangStrength('EBE2A', GangType.Grove, 0)
Zone.SetGangStrength('EBE2B', GangType.Grove, 0)
Zone.SetGangStrength('EBE3C', GangType.Grove, 0)
Zone.SetGangStrength('ELCO1', GangType.Grove, 0)
Zone.SetGangStrength('ELCO2', GangType.Grove, 0)
Zone.SetGangStrength('GAN1', GangType.Grove, 0)
Zone.SetGangStrength('GAN2', GangType.Grove, 0)
Zone.SetGangStrength('GLN1', GangType.Grove, 0)
Zone.SetGangStrength('GLN2A', GangType.Grove, 0)
Zone.SetGangStrength('LIND1A', GangType.Grove, 0)
Zone.SetGangStrength('LIND1B', GangType.Grove, 0)
Zone.SetGangStrength('LIND2A', GangType.Grove, 0)
Zone.SetGangStrength('LIND2B', GangType.Grove, 0)
Zone.SetGangStrength('LIND3', GangType.Grove, 0)
Zone.SetGangStrength('IWD1', GangType.Grove, 0)
Zone.SetGangStrength('IWD2', GangType.Grove, 0)
Zone.SetGangStrength('IWD3A', GangType.Grove, 0)
Zone.SetGangStrength('IWD3B', GangType.Grove, 0)
Zone.SetGangStrength('IWD4', GangType.Grove, 0)
Zone.SetGangStrength('IWD5', GangType.Grove, 0)
Zone.SetGangStrength('JEF1A', GangType.Grove, 0)
Zone.SetGangStrength('JEF1B', GangType.Grove, 0)
Zone.SetGangStrength('JEF2', GangType.Grove, 0)
Zone.SetGangStrength('JEF3A', GangType.Grove, 0)
Zone.SetGangStrength('JEF3B', GangType.Grove, 0)
Zone.SetGangStrength('JEF3C', GangType.Grove, 0)
Zone.SetGangStrength('LFL1A', GangType.Grove, 0)
Zone.SetGangStrength('LFL1B', GangType.Grove, 0)
Zone.SetGangStrength('LMEX1A', GangType.Grove, 0)
Zone.SetGangStrength('LMEX1B', GangType.Grove, 0)
Zone.SetGangStrength('ELS1A', GangType.Grove, 0)
Zone.SetGangStrength('ELS1B', GangType.Grove, 0)
Zone.SetGangStrength('ELS2', GangType.Grove, 0)
Zone.SetGangStrength('ELS3A', GangType.Grove, 0)
Zone.SetGangStrength('ELS3B', GangType.Grove, 0)
Zone.SetGangStrength('ELS4', GangType.Grove, 0)
Zone.SetGangStrength('PLS', GangType.Grove, 0)
Zone.SetGangStrength('SMB1', GangType.Grove, 0)
Zone.SetGangStrength('SMB2', GangType.Grove, 0)
Zone.SetGangStrength('VIN2', GangType.Grove, 0)
Zone.SetGangStrength('VERO1', GangType.Grove, 0)
Zone.SetGangStrength('VERO2', GangType.Grove, 0)
Zone.SetGangStrength('VERO3', GangType.Grove, 0)
Zone.SetGangStrength('VERO4A', GangType.Grove, 0)
Zone.SetGangStrength('VERO4B', GangType.Grove, 0)
Game.SetGangWarsActive(False)
start_new_script @BCRASH 
return 

:LA1FIN2_22057
$weapon_shop1_blip = 0
Skip.Clear
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @LA1FIN2_22089
Task.UseMobilePhone($stattreadstamina_ctr, False)

:LA1FIN2_22089
Streaming.MarkModelAsNoLongerNeeded(401)
Streaming.MarkModelAsNoLongerNeeded(475)
Streaming.MarkModelAsNoLongerNeeded(105)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(405)
Streaming.MarkModelAsNoLongerNeeded(413)
Streaming.RemoveAnimation("SWEET")
Streaming.RemoveCarRecording(162)
Streaming.RemoveCarRecording(163)
Streaming.RemoveCarRecording(650)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(280)
Streaming.RemoveAnimation("POLICE")
Player.SetControl($statbike_temp, True)
Streaming.UnloadSpecialCharacter(1)
DecisionMaker.Remove(103@)
DecisionMaker.Remove(104@)
if 
  not Car.IsDead(40@)
goto_if_false @LA1FIN2_22208
Car.MarkAsNoLongerNeeded(40@)

:LA1FIN2_22208
Blip.Remove(50@)
267@ = 0

:LA1FIN2_22220
if 
  6 > 267@
goto_if_false @LA1FIN2_22261
Blip.Remove(51@(267@,6i))
267@ += 1
goto @LA1FIN2_22220

:LA1FIN2_22261
Hud.ClearCounter($bc1_route)
Streaming.RemoveIpl("BARRIERS1")
Game.SetWantedMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SwitchEmergencyServices(True)
DecisionMaker.Remove(231@)
Game.SetCreateRandomGangMembers(True)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
Game.SetScriptLimitToGangSize(99)
return 

//-------------Mission 39---------------
// Originally: Badlands

:BCRASH1
script_name 'BCRASH1'
gosub @BCRASH1_922
if 
  has_deatharrest_been_executed 
goto_if_false @BCRASH1_38
gosub @BCRASH1_13511

:BCRASH1_38
gosub @BCRASH1_13680
terminate_this_script 

:BCRASH1_47
Streaming.RequestModel(147)
Streaming.RequestModel(286)
Streaming.RequestModel(421)
Streaming.RequestModel(468)
Streaming.RequestModel(352)
Streaming.RequestModel(367)
Streaming.LoadAllModelsNow

:BCRASH1_79
if or
  not Streaming.HasModelLoaded(147)
  not Streaming.HasModelLoaded(286)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(421)
  not Streaming.HasModelLoaded(468)
  not Streaming.HasModelLoaded(367)
goto_if_false @BCRASH1_131
wait 0
goto @BCRASH1_79

:BCRASH1_131
return 
270@ = Pickup.CreateWithAmmo(367, PickupType.Once, 24, -2044.1, -2523.86, 31.11)
271@ = Blip.AddForPickup(270@)

:BCRASH1_168
287@ = -2814.84
288@ = -1522.0
289@ = 139.33
284@ = Char.Create(PedType.CivMale, 147, 287@, 288@, 289@)
Char.SetCanBeShotInVehicle(284@, False)
286@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetDecisionMaker(284@, 286@)
return 

:BCRASH1_241
Streaming.MarkModelAsNoLongerNeeded(147)
return 

:BCRASH1_248
302@ = -2800.11
307@ = -1521.49
312@ = 137.37
317@ = 305.1252
303@ = -2799.34
308@ = -1524.66
313@ = 137.38
318@ = 356.2755
304@ = -2789.047
309@ = -1533.317
314@ = 138.4778
319@ = 317.5168
305@ = -2801.7
310@ = -1515.16
315@ = 137.33
320@ = 270.3571
300@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
291@ = Char.Create(PedType.Mission1, 286, 81@, 87@, 93@)
Char.SetHeading(291@, 317@)
Char.GiveWeapon(291@, WeaponType.MicroUzi, 30000)
Char.SetRelationship(291@, RelationshipType.Hate, PedType.Player1)
Char.SetKeepTask(291@, True)
Char.SetDecisionMaker(291@, 300@)
292@ = Char.Create(PedType.Mission1, 286, 82@, 88@, 94@)
Char.SetHeading(292@, 318@)
Char.GiveWeapon(292@, WeaponType.MicroUzi, 30000)
Char.SetRelationship(292@, RelationshipType.Hate, PedType.Player1)
Char.SetKeepTask(292@, True)
Char.SetDecisionMaker(292@, 300@)
293@ = Char.Create(PedType.Mission1, 286, 80@, 86@, 92@)
Char.SetHeading(293@, 319@)
Char.GiveWeapon(293@, WeaponType.MicroUzi, 30000)
Char.SetRelationship(293@, RelationshipType.Hate, PedType.Player1)
Char.SetKeepTask(293@, True)
Char.SetDecisionMaker(293@, 300@)
294@ = Char.Create(PedType.Mission1, 286, 79@, 85@, 91@)
Char.SetHeading(294@, 320@)
Char.GiveWeapon(294@, WeaponType.MicroUzi, 30000)
Char.SetRelationship(294@, RelationshipType.Hate, PedType.Player1)
Char.SetKeepTask(294@, True)
Char.SetDecisionMaker(294@, 300@)
Char.SetRelationship($stattreadstamina_ctr, RelationshipType.Hate, PedType.Mission1)
return 

:BCRASH1_670
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(286)
return 

:BCRASH1_682
324@ = -2815.16
325@ = -1512.03
326@ = 138.08
327@ = 272.57
Car.CustomPlateForNextCar(421, "_ASSMAN_")
322@ = Car.Create(421, 324@, 325@, 326@)
Car.SetLoadCollisionFlag(322@, False)
Car.SetHeading(322@, 327@)
Car.LockDoors(322@, CarLock.LockoutPlayerOnly)
Car.SetCanBurstTires(322@, False)
return 

:BCRASH1_785
Streaming.MarkModelAsNoLongerNeeded(421)
return 
return 

:BCRASH1_794
Streaming.RequestModel(468)

:BCRASH1_799
if 
  not Streaming.HasModelLoaded(468)
goto_if_false @BCRASH1_826
wait 0
goto @BCRASH1_799

:BCRASH1_826
330@ = -2803.156
331@ = -1519.46
332@ = 138.2818
333@ = 189.4269
328@ = Car.Create(468, 330@, 331@, 332@)
Car.SetLoadCollisionFlag(328@, False)
Car.SetHeading(328@, 333@)
Car.SetProofs(328@, True, True, True, True, True)
return 
Streaming.MarkModelAsNoLongerNeeded(468)
return 

:BCRASH1_922
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
Text.LoadMissionText('BCRASH1')
107@ = -2815.382
147@ = -1511.204
187@ = 139.1089
108@ = -2766.912
148@ = -1599.013
188@ = 141.1248
109@ = -2778.611
149@ = -1698.438
189@ = 141.3879
110@ = -2770.779
150@ = -1798.475
190@ = 141.5863
111@ = -2705.242
151@ = -1874.129
191@ = 137.9205
112@ = -2651.399
152@ = -1958.48
192@ = 127.1876
113@ = -2624.508
153@ = -2055.077
193@ = 129.1295
114@ = -2525.173
154@ = -2071.438
194@ = 126.7572
115@ = -2426.958
155@ = -2090.192
195@ = 122.5222
116@ = -2393.0
156@ = -2096.0
196@ = 118.0
117@ = -2326.898
157@ = -2098.732
197@ = 114.4895
118@ = -2257.158
158@ = -2073.11
198@ = 119.2503
119@ = -2215.638
159@ = -2044.962
199@ = 118.7853
120@ = -2143.491
160@ = -1955.622
200@ = 117.0468
121@ = -2123.148
161@ = -1897.05
201@ = 113.449
122@ = -2137.857
162@ = -1994.849
202@ = 96.0566
123@ = -2165.01
163@ = -2044.655
203@ = 90.2613
124@ = -2266.458
164@ = -2142.735
204@ = 55.9682
125@ = -2345.696
165@ = -2199.511
205@ = 33.1272
126@ = -2245.354
166@ = -2201.111
206@ = 35.0159
127@ = -2164.646
167@ = -2143.817
207@ = 51.5793
128@ = -2094.473
168@ = -2072.822
208@ = 63.6193
129@ = -2063.865
169@ = -1977.4
209@ = 57.6244
130@ = -2014.453
170@ = -1890.356
210@ = 45.5302
131@ = -1949.741
171@ = -1814.233
211@ = 33.7562
132@ = -1872.931
172@ = -1750.007
212@ = 29.084
133@ = -1783.883
173@ = -1701.444
213@ = 29.5583
134@ = -1697.56
174@ = -1651.167
214@ = 36.0764
135@ = -1604.938
175@ = -1613.388
215@ = 36.1148
136@ = -1587.864
176@ = -1514.849
216@ = 37.5464
137@ = -1685.724
177@ = -1494.043
217@ = 34.7867
138@ = -1777.044
178@ = -1452.411
218@ = 34.6646
139@ = -1862.846
179@ = -1400.225
219@ = 38.3508
140@ = -1947.106
180@ = -1346.296
220@ = 40.5623
141@ = -2005.107
181@ = -1264.516
221@ = 36.3458
142@ = -2055.837
182@ = -1177.761
222@ = 32.1425
143@ = -2106.079
183@ = -1091.077
223@ = 29.978
144@ = -2168.372
184@ = -1012.418
224@ = 33.7818
145@ = -2210.523
185@ = -974.889
225@ = 38.5044
77@ = -2797.75
83@ = -1531.63
89@ = 138.5
78@ = -2803.09
84@ = -1503.01
90@ = 138.83
79@ = -2804.69
85@ = -1506.7
91@ = 137.83
80@ = -2818.89
86@ = -1505.72
92@ = 139.34
81@ = -2826.68
87@ = -1522.23
93@ = 138.78
82@ = -2822.9
88@ = -1536.94
94@ = 138.86
70@ = -2814.84
71@ = -1522.0
72@ = 139.33
95@ = -2777.05
96@ = -1568.29
97@ = 140.04
98@ = -2346.7
101@ = -2240.18
104@ = 17.29
99@ = -2103.0
102@ = -1885.0
105@ = 109.0
100@ = -2602.0
103@ = -2084.0
106@ = 131.0
236@ = -2767.98
246@ = -1597.9
256@ = 141.46
237@ = -2787.39
247@ = -1568.11
257@ = 147.27
238@ = -2796.35
248@ = -1537.58
258@ = 143.82
239@ = -2800.19
249@ = -1505.59
259@ = 143.89
240@ = -2801.43
250@ = -1541.87
260@ = 140.29
321@ = 30.0
$bc1_route_nx = -1
34@ = 0
51@ = 1
278@ = 1
279@ = 3
36@ = 0
$CAT1_view_debug = 0
53@ = 0
54@ = 1
56@ = 0
37@ = 0
57@ = 0
59@ = 1
$bc1_final_dest = 0
55@ = 0
$6972 = 0
$6973 = 1
$6974 = 38
45@ = 0
46@ = 0
47@ = 0
48@ = 0
49@ = 0
40@ = 0
41@ = 0
42@ = 0
43@ = 0
44@ = 0
278@ = Sequence.Open()
Task.GoStraightToCoord(-1, 81@, 87@, 93@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 82@, 88@, 94@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 77@, 83@, 89@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 78@, 84@, 90@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 79@, 85@, 91@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 80@, 86@, 92@, MoveState.Walk, -1)
Sequence.SetToRepeat(278@, True)
Sequence.Close(278@)
279@ = Sequence.Open()
Task.GoStraightToCoord(-1, 82@, 88@, 94@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 81@, 87@, 93@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 80@, 86@, 92@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 79@, 85@, 91@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 78@, 84@, 90@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 77@, 83@, 89@, MoveState.Walk, -1)
Sequence.SetToRepeat(279@, True)
Sequence.Close(279@)
280@ = Sequence.Open()
Task.GoStraightToCoord(-1, 80@, 86@, 92@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 81@, 87@, 93@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 82@, 88@, 94@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 77@, 83@, 89@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 78@, 84@, 90@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 79@, 85@, 91@, MoveState.Walk, -1)
Sequence.SetToRepeat(280@, True)
Sequence.Close(280@)
281@ = Sequence.Open()
Task.GoStraightToCoord(-1, 79@, 85@, 91@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 78@, 84@, 90@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 77@, 83@, 89@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 82@, 88@, 94@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 81@, 87@, 93@, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 80@, 86@, 92@, MoveState.Walk, -1)
Sequence.SetToRepeat(281@, True)
Sequence.Close(281@)
273@ = Object.CreateNoOffset(#ROADWORKBARRIER1, -2450.083, -2079.953, 125.711)
Object.SetRotation(273@, 9.209, 7.675, -43.371)
274@ = Object.CreateNoOffset(#ROADWORKBARRIER1, -2449.15, -2078.21, 125.917)
Object.SetRotation(274@, 4.992, 7.247, -15.069)
275@ = Object.CreateNoOffset(#ROADWORKBARRIER1, -2447.868, -2076.578, 125.975)
Object.SetRotation(275@, -1.869, 8.724, -44.611)
gosub @BCRASH1_47
Player.SetGroupRecruitment($statbike_temp, False)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Camera, 30000)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Char.SetHeading($stattreadstamina_ctr, 54.0)
Camera.SetFixedPosition(-2041.009, -2527.207, 33.9116, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2041.785, -2526.603, 34.0884, SwitchType.JumpCut)
Camera.DoFade(300, Fade.In)

:BCRASH1_3510
if 
  Camera.GetFadingStatus
goto_if_false @BCRASH1_3534
wait 0
goto @BCRASH1_3510

:BCRASH1_3534
wait 3000
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.PrintNow('BCR1_03', 5000, 1)
65@ = Blip.AddForCoord(98@, 101@, 104@)

:BCRASH1_3584
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @BCRASH1_3610
goto @BCRASH1_13609

:BCRASH1_3610
if 
is_ps2_keyboard_key_pressed 49
goto_if_false @BCRASH1_3632
$2212 = 1

:BCRASH1_3632
if 
  $returned_respect == 0
goto_if_false @BCRASH1_3846
if 
  55@ == 3
goto_if_false @BCRASH1_3699
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BCRASH1_3699
Text.PrintHelp('BCR1_23')
55@ = 4

:BCRASH1_3699
if 
  55@ == 2
goto_if_false @BCRASH1_3748
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BCRASH1_3748
Text.PrintHelp('FEG_HOW')
55@ = 3

:BCRASH1_3748
if 
  55@ == 1
goto_if_false @BCRASH1_3797
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BCRASH1_3797
Text.PrintHelp('BCR1_21')
55@ = 2

:BCRASH1_3797
if 
  55@ == 0
goto_if_false @BCRASH1_3846
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @BCRASH1_3846
Text.PrintHelp('BCR1_22')
55@ = 1

:BCRASH1_3846
if 
  4 > $bc1_route_nx
goto_if_false @BCRASH1_3954
if 
  35@ == 0
goto_if_false @BCRASH1_3913
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCRASH1_3913
272@ = Char.StoreCarIsIn($stattreadstamina_ctr)
35@ = 1

:BCRASH1_3913
if 
  35@ == 1
goto_if_false @BCRASH1_3954
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCRASH1_3954
35@ = 0

:BCRASH1_3954
if 
  $bc1_route_nx == -1
goto_if_false @BCRASH1_4142
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCRASH1_4142
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 98@, 101@, 104@, 4.0, 4.0, 4.0, True)
goto_if_false @BCRASH1_4142
Blip.Remove(65@)
95@ = -2774.981
96@ = -1591.26
97@ = 140.388
64@ = Blip.AddForCoord(95@, 96@, 97@)
Text.PrintNow('BCR1_18', 5000, 1)
if 
  $2212 == 1
goto_if_false @BCRASH1_4135
Skip.SetUp(-2767.883, -1634.114, 140.3939, 0.0569)

:BCRASH1_4135
$bc1_route_nx = 0

:BCRASH1_4142
if 
  $bc1_route_nx == 0
goto_if_false @BCRASH1_4299
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCRASH1_4299
if 
  53@ == 0
goto_if_false @BCRASH1_4299
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 95@, 96@, 97@, 150.0, 150.0, 150.0, False)
goto_if_false @BCRASH1_4299
Blip.Remove(64@)
95@ = -2774.981
96@ = -1591.26
97@ = 140.388
64@ = Blip.AddForCoord(95@, 96@, 97@)
$CAT1_view_debug = 0
53@ = 1

:BCRASH1_4299
if 
  $bc1_route_nx == 0
goto_if_false @BCRASH1_5490
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCRASH1_5490
if 
  $CAT1_view_debug > 1
goto_if_false @BCRASH1_4427
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BCRASH1_4375
38@ = 0

:BCRASH1_4375
if 
  38@ == 0
goto_if_false @BCRASH1_4427
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BCRASH1_4427
Text.ClearPrints
266@ -= 1000
$CAT1_view_debug = 6

:BCRASH1_4427
if 
  $CAT1_view_debug == 0
goto_if_false @BCRASH1_4617
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 95@, 96@, 97@, 100.0, 100.0, 100.0, False)
goto_if_false @BCRASH1_4617
38@ = 1
Player.SetControl($statbike_temp, False)
Camera.DoFade(300, Fade.Out)

:BCRASH1_4508
if 
  Camera.GetFadingStatus
goto_if_false @BCRASH1_4532
wait 0
goto @BCRASH1_4508

:BCRASH1_4532
gosub @BCRASH1_168
gosub @BCRASH1_248
gosub @BCRASH1_682
gosub @BCRASH1_794
266@ = Clock.GetGameTimer()
if 
  $2212 == 1
goto_if_false @BCRASH1_4585
Skip.Clear

:BCRASH1_4585
if 
  $2212 == 0
goto_if_false @BCRASH1_4610
$2212 = 1

:BCRASH1_4610
$CAT1_view_debug = 1

:BCRASH1_4617
if 
  $CAT1_view_debug == 1
goto_if_false @BCRASH1_4927
267@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 268@ = 267@
sub_int_lvar_from_int_lvar 268@ -= 266@
if 
  268@ > 250
goto_if_false @BCRASH1_4927
Streaming.LoadScene(70@, 71@, 72@)
Camera.SetFixedPosition(-2795.861, -1536.975, 139.3093, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2796.553, -1536.282, 139.5107, SwitchType.JumpCut)
World.ClearArea(70@, 71@, 72@, 75.0, True)
Hud.SwitchWidescreen(True)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(300, Fade.In)

:BCRASH1_4774
if 
  Camera.GetFadingStatus
goto_if_false @BCRASH1_4798
wait 0
goto @BCRASH1_4774

:BCRASH1_4798
Text.PrintNow('BCR1_04', 3000, 1)
Blip.Remove(64@)
if 
  not Char.IsDead(291@)
goto_if_false @BCRASH1_4843
Char.PerformSequence(291@, 278@)

:BCRASH1_4843
if 
  not Char.IsDead(292@)
goto_if_false @BCRASH1_4867
Char.PerformSequence(292@, 279@)

:BCRASH1_4867
if 
  not Char.IsDead(293@)
goto_if_false @BCRASH1_4891
Char.PerformSequence(293@, 280@)

:BCRASH1_4891
if 
  not Char.IsDead(294@)
goto_if_false @BCRASH1_4915
Char.PerformSequence(294@, 281@)

:BCRASH1_4915
266@ = Clock.GetGameTimer()
$CAT1_view_debug = 2

:BCRASH1_4927
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_5490
if 
  $CAT1_view_debug == 2
goto_if_false @BCRASH1_5029
267@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 268@ = 267@
sub_int_lvar_from_int_lvar 268@ -= 266@
if 
  268@ > 3000
goto_if_false @BCRASH1_5029
Text.PrintNow('BCR1_19', 3000, 1)
266@ = Clock.GetGameTimer()
$CAT1_view_debug = 3

:BCRASH1_5029
if 
  $CAT1_view_debug == 3
goto_if_false @BCRASH1_5166
267@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 268@ = 267@
sub_int_lvar_from_int_lvar 268@ -= 266@
if 
  268@ > 3000
goto_if_false @BCRASH1_5166
Text.PrintNow('BCR1_20', 4000, 1)
Camera.SetFixedPosition(-2793.092, -1510.473, 139.2297, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2793.947, -1510.945, 139.4455, SwitchType.JumpCut)
266@ = Clock.GetGameTimer()
$CAT1_view_debug = 4

:BCRASH1_5166
if 
  $CAT1_view_debug == 4
goto_if_false @BCRASH1_5236
267@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 268@ = 267@
sub_int_lvar_from_int_lvar 268@ -= 266@
if 
  268@ > 2000
goto_if_false @BCRASH1_5236
266@ = Clock.GetGameTimer()
$CAT1_view_debug = 5

:BCRASH1_5236
if 
  $CAT1_view_debug == 5
goto_if_false @BCRASH1_5306
267@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 268@ = 267@
sub_int_lvar_from_int_lvar 268@ -= 266@
if 
  268@ > 1500
goto_if_false @BCRASH1_5306
266@ = Clock.GetGameTimer()
$CAT1_view_debug = 6

:BCRASH1_5306
if 
  $CAT1_view_debug == 6
goto_if_false @BCRASH1_5490
267@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 268@ = 267@
sub_int_lvar_from_int_lvar 268@ -= 266@
if 
  268@ > 500
goto_if_false @BCRASH1_5490
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
if and
  not Char.IsDead(284@)
  not Car.IsDead(322@)
goto_if_false @BCRASH1_5490
285@ = Blip.AddForChar(284@)
$bc1_route_nx = 1
$CAT1_view_debug = 7
282@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, -2822.47, -1518.595, 139.7656, 4, -2)
Task.FollowPathNodesToCoord(-1, -2822.97, -1514.244, 138.2893, 4, -2)
Task.EnterCarAsDriver(-1, 322@, -727379969)
Sequence.Close(282@)

:BCRASH1_5490
if 
  $bc1_route_nx == 1
goto_if_false @BCRASH1_8165
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @BCRASH1_5908
if 
  Char.IsDead(284@)
goto_if_false @BCRASH1_5681
if 
  not Char.IsDead(291@)
goto_if_false @BCRASH1_5564
Task.KillCharOnFoot(291@, $stattreadstamina_ctr)

:BCRASH1_5564
if 
  not Char.IsDead(292@)
goto_if_false @BCRASH1_5588
Task.KillCharOnFoot(292@, $stattreadstamina_ctr)

:BCRASH1_5588
if 
  not Char.IsDead(293@)
goto_if_false @BCRASH1_5612
Task.KillCharOnFoot(293@, $stattreadstamina_ctr)

:BCRASH1_5612
if 
  not Char.IsDead(294@)
goto_if_false @BCRASH1_5636
Task.KillCharOnFoot(294@, $stattreadstamina_ctr)

:BCRASH1_5636
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_5681
Car.SetProofs(322@, False, False, False, False, False)
Car.LockDoors(322@, CarLock.Unlocked)
Car.FreezePosition(322@, False)

:BCRASH1_5681
if or
  Char.IsDead(291@)
  Char.IsDead(292@)
  Char.IsDead(293@)
  Char.IsDead(294@)
goto_if_false @BCRASH1_5908
if 
  46@ == 0
goto_if_false @BCRASH1_5761
if 
  not Char.IsDead(291@)
goto_if_false @BCRASH1_5761
Task.KillCharOnFoot(291@, $stattreadstamina_ctr)
46@ = 1

:BCRASH1_5761
if 
  47@ == 0
goto_if_false @BCRASH1_5810
if 
  not Char.IsDead(292@)
goto_if_false @BCRASH1_5810
Task.KillCharOnFoot(292@, $stattreadstamina_ctr)
47@ = 1

:BCRASH1_5810
if 
  48@ == 0
goto_if_false @BCRASH1_5859
if 
  not Char.IsDead(293@)
goto_if_false @BCRASH1_5859
Task.KillCharOnFoot(293@, $stattreadstamina_ctr)
48@ = 1

:BCRASH1_5859
if 
  49@ == 0
goto_if_false @BCRASH1_5908
if 
  not Char.IsDead(294@)
goto_if_false @BCRASH1_5908
Task.KillCharOnFoot(294@, $stattreadstamina_ctr)
49@ = 1

:BCRASH1_5908
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCRASH1_8165
if 
  not Char.IsDead(291@)
goto_if_false @BCRASH1_6413
50@ = 1
gosub @BCRASH1_13861
set_lvar_float_to_lvar_float 302@ = 73@
set_lvar_float_to_lvar_float 307@ = 74@
set_lvar_float_to_lvar_float 312@ = 75@
if 
  41@ == 0
goto_if_false @BCRASH1_6141
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 302@, 307@, 312@, 30.0, 30.0, 30.0, False)
goto_if_false @BCRASH1_6141
if 
  not Car.IsDead(272@)
goto_if_false @BCRASH1_6141
Task.DestroyCar(291@, 272@)
41@ = 1
46@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_6141
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_6141
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_6141
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_6141
if 
  46@ == 0
goto_if_false @BCRASH1_6413
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 302@, 307@, 312@, 5.0, 5.0, 5.0, False)
goto_if_false @BCRASH1_6288
Task.KillCharOnFoot(291@, $stattreadstamina_ctr)
46@ = 1
41@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_6288
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_6288
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_6288
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_6288
if 
  Char.IsShootingInArea($stattreadstamina_ctr, -2774.03, -1572.78, -2837.13, -1468.24, False)
goto_if_false @BCRASH1_6413
Task.KillCharOnFoot(291@, $stattreadstamina_ctr)
46@ = 1
41@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_6413
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_6413
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_6413
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_6413
if 
  not Char.IsDead(292@)
goto_if_false @BCRASH1_6902
50@ = 2
gosub @BCRASH1_13861
set_lvar_float_to_lvar_float 303@ = 73@
set_lvar_float_to_lvar_float 308@ = 74@
set_lvar_float_to_lvar_float 313@ = 75@
if 
  42@ == 0
goto_if_false @BCRASH1_6630
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 303@, 308@, 313@, 30.0, 30.0, 30.0, False)
goto_if_false @BCRASH1_6630
if 
  not Car.IsDead(272@)
goto_if_false @BCRASH1_6630
Task.DestroyCar(292@, 272@)
42@ = 1
47@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_6630
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_6630
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_6630
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_6630
if 
  47@ == 0
goto_if_false @BCRASH1_6902
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 303@, 308@, 313@, 5.0, 5.0, 5.0, False)
goto_if_false @BCRASH1_6777
Task.KillCharOnFoot(292@, $stattreadstamina_ctr)
47@ = 1
42@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_6777
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_6777
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_6777
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_6777
if 
  Char.IsShootingInArea($stattreadstamina_ctr, -2774.03, -1572.78, -2837.13, -1468.24, False)
goto_if_false @BCRASH1_6902
Task.KillCharOnFoot(292@, $stattreadstamina_ctr)
47@ = 1
42@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_6902
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_6902
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_6902
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_6902
if 
  not Char.IsDead(293@)
goto_if_false @BCRASH1_7391
50@ = 3
gosub @BCRASH1_13861
set_lvar_float_to_lvar_float 304@ = 73@
set_lvar_float_to_lvar_float 309@ = 74@
set_lvar_float_to_lvar_float 314@ = 75@
if 
  43@ == 0
goto_if_false @BCRASH1_7119
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 304@, 309@, 314@, 30.0, 30.0, 30.0, False)
goto_if_false @BCRASH1_7119
if 
  not Car.IsDead(272@)
goto_if_false @BCRASH1_7119
Task.DestroyCar(293@, 272@)
43@ = 1
48@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_7119
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_7119
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_7119
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_7119
if 
  48@ == 0
goto_if_false @BCRASH1_7391
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 304@, 309@, 314@, 5.0, 5.0, 5.0, False)
goto_if_false @BCRASH1_7266
Task.KillCharOnFoot(293@, $stattreadstamina_ctr)
48@ = 1
43@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_7266
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_7266
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_7266
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_7266
if 
  Char.IsShootingInArea($stattreadstamina_ctr, -2774.03, -1572.78, -2837.13, -1468.24, False)
goto_if_false @BCRASH1_7391
Task.KillCharOnFoot(293@, $stattreadstamina_ctr)
48@ = 1
43@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_7391
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_7391
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_7391
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_7391
if 
  not Char.IsDead(294@)
goto_if_false @BCRASH1_7880
50@ = 4
gosub @BCRASH1_13861
set_lvar_float_to_lvar_float 305@ = 73@
set_lvar_float_to_lvar_float 310@ = 74@
set_lvar_float_to_lvar_float 315@ = 75@
if 
  44@ == 0
goto_if_false @BCRASH1_7608
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 305@, 310@, 315@, 30.0, 30.0, 30.0, False)
goto_if_false @BCRASH1_7608
if 
  not Car.IsDead(272@)
goto_if_false @BCRASH1_7608
Task.DestroyCar(294@, 272@)
44@ = 1
49@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_7608
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_7608
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_7608
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_7608
if 
  49@ == 0
goto_if_false @BCRASH1_7880
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 305@, 310@, 315@, 5.0, 5.0, 5.0, False)
goto_if_false @BCRASH1_7755
Task.KillCharOnFoot(294@, $stattreadstamina_ctr)
49@ = 1
44@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_7755
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_7755
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_7755
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_7755
if 
  Char.IsShootingInArea($stattreadstamina_ctr, -2774.03, -1572.78, -2837.13, -1468.24, False)
goto_if_false @BCRASH1_7880
Task.KillCharOnFoot(294@, $stattreadstamina_ctr)
49@ = 1
44@ = 0
if 
  56@ == 0
goto_if_false @BCRASH1_7880
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_7880
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_7880
Char.PerformSequence(284@, 282@)
56@ = 1

:BCRASH1_7880
if 
  56@ == 1
goto_if_false @BCRASH1_7963
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_7963
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_7963
if 
  Char.IsSittingInCar(284@, 322@)
goto_if_false @BCRASH1_7963
$CAT1_view_debug = 0
$bc1_route_nx = 3

:BCRASH1_7963
if 
  Char.IsDead(284@)
goto_if_false @BCRASH1_8120
if 
  not Char.IsDead(291@)
goto_if_false @BCRASH1_8003
Task.KillCharOnFoot(291@, $stattreadstamina_ctr)

:BCRASH1_8003
if 
  not Char.IsDead(292@)
goto_if_false @BCRASH1_8027
Task.KillCharOnFoot(292@, $stattreadstamina_ctr)

:BCRASH1_8027
if 
  not Char.IsDead(293@)
goto_if_false @BCRASH1_8051
Task.KillCharOnFoot(293@, $stattreadstamina_ctr)

:BCRASH1_8051
if 
  not Char.IsDead(294@)
goto_if_false @BCRASH1_8075
Task.KillCharOnFoot(294@, $stattreadstamina_ctr)

:BCRASH1_8075
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_8120
Car.SetProofs(322@, False, False, False, False, False)
Car.LockDoors(322@, CarLock.Unlocked)
Car.FreezePosition(322@, False)

:BCRASH1_8120
if and
  Char.IsDead(291@)
  Char.IsDead(292@)
  Char.IsDead(293@)
  Char.IsDead(294@)
goto_if_false @BCRASH1_8165
$CAT1_view_debug = 0
$bc1_route_nx = 2

:BCRASH1_8165
if 
  $bc1_route_nx == 2
goto_if_false @BCRASH1_8313
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_8313
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_8290
if 
  56@ == 0
goto_if_false @BCRASH1_8269
Char.PerformSequence(284@, 282@)
56@ = 1
$CAT1_view_debug = 0
$bc1_route_nx = 3
goto @BCRASH1_8283

:BCRASH1_8269
$CAT1_view_debug = 0
$bc1_route_nx = 3

:BCRASH1_8283
goto @BCRASH1_8313

:BCRASH1_8290
Text.PrintNow('BCR1_10', 5000, 1)
$bc1_route_nx = 7

:BCRASH1_8313
if 
  $bc1_route_nx == 3
goto_if_false @BCRASH1_9346
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_9324
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_9279
if 
  Char.IsInCar(284@, 322@)
goto_if_false @BCRASH1_9193
if 
  $CAT1_view_debug > 2
goto_if_false @BCRASH1_8407
$CAT1_view_debug = 0

:BCRASH1_8407
if 
  Car.IsPlaybackGoingOn(322@)
goto_if_false @BCRASH1_8606
233@, 234@, 235@ = Car.GetOffsetInWorldCoords(322@, 0.0, 4.0, 0.0)
set_lvar_float_to_lvar_float 227@ = 233@
227@ -= 1.5
set_lvar_float_to_lvar_float 228@ = 234@
228@ -= 1.5
set_lvar_float_to_lvar_float 229@ = 235@
229@ -= 1.5
set_lvar_float_to_lvar_float 230@ = 233@
230@ += 1.5
set_lvar_float_to_lvar_float 231@ = 234@
231@ += 1.5
set_lvar_float_to_lvar_float 232@ = 235@
232@ += 1.5
if 
  World.IsAreaOccupied(227@, 228@, 229@, 230@, 231@, 232@, False, False, True, False, False)
goto_if_false @BCRASH1_8606
Car.StopPlayback(322@)

:BCRASH1_8606
if 
  Car.IsPlaybackGoingOn(322@)
goto_if_false @BCRASH1_8690
if 
  Char.LocateInCar3D(284@, 107@($6972,40f), 147@($6972,40f), 187@($6972,40f), 20.0, 20.0, 20.0, False)
goto_if_false @BCRASH1_8690
$6972 += 1
$6973 += 1

:BCRASH1_8690
if 
  $CAT1_view_debug == 0
goto_if_false @BCRASH1_9016
Car.SetHealth(322@, 1000)
Car.SetCruiseSpeed(322@, 40.0)
Car.SetDrivingStyle(322@, DrivingMode.PloughThrough)
Car.SetOnlyDamagedByPlayer(322@, True)
Car.SetProofs(322@, False, False, False, False, False)
Streaming.RequestCarRecording(170)

:BCRASH1_8760
if 
  not Streaming.HasCarRecordingBeenLoaded(170)
goto_if_false @BCRASH1_8787
wait 0
goto @BCRASH1_8760

:BCRASH1_8787
if and
  not Car.IsDead(322@)
  not Char.IsDead(284@)
goto_if_false @BCRASH1_8873
if 
  Char.IsSittingInCar(284@, 322@)
goto_if_false @BCRASH1_8873
Car.FreezePosition(322@, False)
Car.StartPlayback(322@, 170)
Car.SetPlaybackSpeed(322@, 0.65)
StuckCarCheck.AddWithWarp(322@, 1.0, 2000, True, True, True, 1)

:BCRASH1_8873
Text.PrintNow('BCR1_07', 4000, 1)
if 
  not Car.IsDead(328@)
goto_if_false @BCRASH1_8942
if and
  not Char.IsOnAnyBike($stattreadstamina_ctr)
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCRASH1_8942
Text.Print('BCR1_14', 4000, 1)

:BCRASH1_8942
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2795.252, -1505.949, 138.8073, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2796.0, -1506.586, 138.9953, SwitchType.JumpCut)
266@ = Clock.GetGameTimer()
$CAT1_view_debug = 1

:BCRASH1_9016
if 
  $CAT1_view_debug == 1
goto_if_false @BCRASH1_9193
if 
  Char.IsOnScreen($stattreadstamina_ctr)
goto_if_false @BCRASH1_9141
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCRASH1_9111
272@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Car.SetCoordinates(272@, -2789.672, -1491.142, 137.1726)
Car.SetHeading(272@, 227.9636)
goto @BCRASH1_9141

:BCRASH1_9111
Char.SetCoordinates($stattreadstamina_ctr, -2789.672, -1491.142, 137.1726)
Char.SetHeading($stattreadstamina_ctr, 227.9636)

:BCRASH1_9141
267@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 268@ = 267@
sub_int_lvar_from_int_lvar 268@ -= 266@
if 
  268@ > 4000
goto_if_false @BCRASH1_9193
266@ = Clock.GetGameTimer()
$CAT1_view_debug = 2

:BCRASH1_9193
if 
  $CAT1_view_debug == 2
goto_if_false @BCRASH1_9272
267@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 268@ = 267@
sub_int_lvar_from_int_lvar 268@ -= 266@
if 
  268@ > 1
goto_if_false @BCRASH1_9272
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
$bc1_route_nx = 4

:BCRASH1_9272
goto @BCRASH1_9317

:BCRASH1_9279
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.PrintNow('BCR1_10', 5000, 1)
$bc1_route_nx = 7

:BCRASH1_9317
goto @BCRASH1_9346

:BCRASH1_9324
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
$bc1_route_nx = 4

:BCRASH1_9346
if 
  $bc1_route_nx == 4
goto_if_false @BCRASH1_10974
if 
  Car.IsDead(322@)
goto_if_false @BCRASH1_9454
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_9454
if 
  not Char.IsOnFoot(284@)
goto_if_false @BCRASH1_9447
Char.Delete(284@)
Text.PrintNow('BCR1_09', 5000, 1)
goto @BCRASH1_13511
goto @BCRASH1_9454

:BCRASH1_9447
$bc1_route_nx = 7

:BCRASH1_9454
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_10974
if and
  not Char.IsDead(284@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCRASH1_10974
if 
  Char.IsSittingInCar(284@, 322@)
goto_if_false @BCRASH1_10937
if 
  Car.IsPlaybackGoingOn(322@)
goto_if_false @BCRASH1_9594
if 
  Char.LocateInCar3D(284@, 107@($6972,40f), 147@($6972,40f), 187@($6972,40f), 15.0, 15.0, 15.0, False)
goto_if_false @BCRASH1_9594
$6972 += 1
$6973 += 1

:BCRASH1_9594
if 
  not Car.IsPlaybackGoingOn(322@)
goto_if_false @BCRASH1_10134
if 
  34@ == 0
goto_if_false @BCRASH1_9673
Task.CarDriveToCoord(284@, 322@, 107@($6972,40f), 147@($6972,40f), 187@($6972,40f), 321@, DriveMode.Racing, 0, DrivingMode.AvoidCars)
34@ = 1

:BCRASH1_9673
if or
  Car.IsOnFire(322@)
  Car.IsUpsidedown(322@)
goto_if_false @BCRASH1_9746
Car.SetCruiseSpeed(322@, 0.0)
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_9739
Char.SetRelationship(284@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(284@, 65540)

:BCRASH1_9739
$bc1_route_nx = 5

:BCRASH1_9746
if 
  34@ == 1
goto_if_false @BCRASH1_10041
if 
  is_int_var_greater_than_int_var $6974 > $6972
goto_if_false @BCRASH1_9955
gosub @BCRASH1_13881
if 
  Char.LocateInCar3D(284@, 107@($6972,40f), 147@($6972,40f), 187@($6972,40f), 5.0, 5.0, 5.0, False)
goto_if_false @BCRASH1_9948
if and
  $6972 > 7
  19 > $6972
goto_if_false @BCRASH1_9886
321@ = 20.0
goto @BCRASH1_9896

:BCRASH1_9886
321@ = 30.0

:BCRASH1_9896
$6972 += 1
$6973 += 1
Task.CarDriveToCoord(284@, 322@, 107@($6972,40f), 147@($6972,40f), 187@($6972,40f), 321@, DriveMode.Racing, 0, DrivingMode.AvoidCars)

:BCRASH1_9948
goto @BCRASH1_10041

:BCRASH1_9955
if 
  Char.LocateInCar3D(284@, 107@($6972,40f), 147@($6972,40f), 187@($6972,40f), 8.0, 8.0, 8.0, False)
goto_if_false @BCRASH1_10041
Task.CarDriveWander(284@, 322@, 50.0, DrivingMode.AvoidCars)
Car.SetCruiseSpeed(322@, 50.0)
34@ = 2

:BCRASH1_10041
if 
  34@ == 2
goto_if_false @BCRASH1_10134
if 
  not Char.IsOnScreen(284@)
goto_if_false @BCRASH1_10134
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 284@, 100.0, 100.0, 100.0, False)
goto_if_false @BCRASH1_10134
Text.PrintNow('BCR1_12', 6000, 1)
goto @BCRASH1_13511

:BCRASH1_10134
if 
  57@ == 0
goto_if_false @BCRASH1_10293
267@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 268@ = 267@
sub_int_lvar_from_int_lvar 268@ -= 266@
if 
  268@ > 6000
goto_if_false @BCRASH1_10293
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCRASH1_10293
if 
  Car.IsPlaybackGoingOn(322@)
goto_if_false @BCRASH1_10293
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 322@, 30.0, 30.0, 30.0, False)
goto_if_false @BCRASH1_10293
Car.SetPlaybackSpeed(322@, 0.8)
Text.PrintNow('BCR1_15', 6000, 1)
57@ = 1

:BCRASH1_10293
if 
  Car.IsPlaybackGoingOn(322@)
goto_if_false @BCRASH1_10562
233@, 234@, 235@ = Car.GetOffsetInWorldCoords(322@, 0.0, 4.0, 0.0)
set_lvar_float_to_lvar_float 227@ = 233@
227@ -= 1.5
set_lvar_float_to_lvar_float 228@ = 234@
228@ -= 1.5
set_lvar_float_to_lvar_float 229@ = 235@
229@ -= 1.5
set_lvar_float_to_lvar_float 230@ = 233@
230@ += 1.5
set_lvar_float_to_lvar_float 231@ = 234@
231@ += 1.5
set_lvar_float_to_lvar_float 232@ = 235@
232@ += 1.5
if 
  World.IsAreaOccupied(227@, 228@, 229@, 230@, 231@, 232@, False, True, False, False, False)
goto_if_false @BCRASH1_10492
Car.StopPlayback(322@)

:BCRASH1_10492
if 
  Car.IsOnFire(322@)
goto_if_false @BCRASH1_10530
Car.StopPlayback(322@)
Car.SetCruiseSpeed(322@, 0.0)
$bc1_route_nx = 5

:BCRASH1_10530
269@ = Car.GetHealth(322@)
if 
  900 > 269@
goto_if_false @BCRASH1_10562
Car.StopPlayback(322@)

:BCRASH1_10562
if 
  51@ == 1
goto_if_false @BCRASH1_10661
67@, 68@, 69@ = Char.GetCoordinates($stattreadstamina_ctr)
287@, 288@, 289@ = Char.GetCoordinates(284@)
if 
  not World.IsLineOfSightClear(67@, 68@, 69@, 287@, 288@, 289@, True, False, False, False, False)
goto_if_false @BCRASH1_10661
266@ = Clock.GetGameTimer()
51@ = 0

:BCRASH1_10661
if 
  51@ == 0
goto_if_false @BCRASH1_10937
67@, 68@, 69@ = Char.GetCoordinates($stattreadstamina_ctr)
287@, 288@, 289@ = Char.GetCoordinates(284@)
if 
  not World.IsLineOfSightClear(67@, 68@, 69@, 287@, 288@, 289@, True, False, False, False, False)
goto_if_false @BCRASH1_10889
267@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 268@ = 267@
sub_int_lvar_from_int_lvar 268@ -= 266@
if and
  268@ > 1000
  6000 > 268@
goto_if_false @BCRASH1_10811
Text.PrintNow('BCR1_07', 100, 1)

:BCRASH1_10811
if 
  268@ > 30000
goto_if_false @BCRASH1_10889
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 284@, 25.0, 25.0, 25.0, False)
goto_if_false @BCRASH1_10889
Text.PrintNow('BCR1_12', 5000, 1)
goto @BCRASH1_13511

:BCRASH1_10889
if 
  World.IsLineOfSightClear(67@, 68@, 69@, 287@, 288@, 289@, True, False, False, False, False)
goto_if_false @BCRASH1_10937
51@ = 1

:BCRASH1_10937
if 
  Car.IsInWater(322@)
goto_if_false @BCRASH1_10974
if 
  Car.DoesHaveStuckCarCheck(322@)
goto_if_false @BCRASH1_10974
StuckCarCheck.Remove(322@)

:BCRASH1_10974
if 
  $bc1_route_nx == 5
goto_if_false @BCRASH1_11258
if 
  Car.IsDead(322@)
goto_if_false @BCRASH1_11082
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_11082
if 
  not Char.IsOnFoot(284@)
goto_if_false @BCRASH1_11075
Char.Delete(284@)
Text.PrintNow('BCR1_09', 5000, 1)
goto @BCRASH1_13511
goto @BCRASH1_11082

:BCRASH1_11075
$bc1_route_nx = 6

:BCRASH1_11082
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_11194
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_11187
if 
  Car.IsStopped(322@)
goto_if_false @BCRASH1_11187
if 
  Char.IsSittingInCar(284@, 322@)
goto_if_false @BCRASH1_11187
324@, 325@, 326@ = Car.GetCoordinates(322@)
Task.LeaveCarAndFlee(284@, 322@, 324@, 325@, 326@)
$bc1_route_nx = 6

:BCRASH1_11187
goto @BCRASH1_11258

:BCRASH1_11194
if and
  not Char.IsDead(284@)
  not Car.IsDead(322@)
goto_if_false @BCRASH1_11258
if 
  Char.IsSittingInCar(284@, 322@)
goto_if_false @BCRASH1_11258
Task.LeaveCarAndFlee(284@, 322@, 324@, 325@, 326@)
$bc1_route_nx = 6

:BCRASH1_11258
if and
  $bc1_route_nx > 0
  7 > $bc1_route_nx
goto_if_false @BCRASH1_11595
if 
  Char.DoesExist(284@)
goto_if_false @BCRASH1_11595
if 
  Char.IsHeadMissing(284@)
goto_if_false @BCRASH1_11361
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_11338
Car.LockDoors(322@, CarLock.Unlocked)

:BCRASH1_11338
Text.PrintNow('BCR1_09', 5000, 1)
goto @BCRASH1_13511

:BCRASH1_11361
if 
  Char.IsDead(284@)
goto_if_false @BCRASH1_11407
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_11400
Car.LockDoors(322@, CarLock.Unlocked)

:BCRASH1_11400
$bc1_route_nx = 7

:BCRASH1_11407
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_11439
if 
  Char.HasBeenPhotographed(284@)
goto_if_false @BCRASH1_11439

:BCRASH1_11439
if 
  56@ == 1
goto_if_false @BCRASH1_11595
if 
  37@ <> 2
goto_if_false @BCRASH1_11595
if 
  Car.IsDead(322@)
goto_if_false @BCRASH1_11595
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_11595
283@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, -2822.47, -1518.595, 139.7656, 4, -2)
Task.FollowPathNodesToCoord(-1, -2822.97, -1514.244, 138.2893, 6, -2)
Task.FleeChar(-1, $stattreadstamina_ctr, 1000.0, 5000000)
Sequence.Close(283@)
Char.PerformSequence(284@, 283@)
37@ = 2

:BCRASH1_11595
if 
  $bc1_route_nx == 6
goto_if_false @BCRASH1_11700
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_11700
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_11700
if 
  not Char.IsSittingInCar(284@, 322@)
goto_if_false @BCRASH1_11700
Blip.Remove(285@)
285@ = Blip.AddForChar(284@)
Text.PrintNow('BCR1_08', 5000, 1)
$bc1_route_nx = 7

:BCRASH1_11700
if 
  $bc1_route_nx > 3
goto_if_false @BCRASH1_11775
if 
  52@ == 0
goto_if_false @BCRASH1_11775
if 
  not Char.DoesExist(284@)
goto_if_false @BCRASH1_11775
Text.PrintNow('BCR1_09', 5000, 1)
goto @BCRASH1_13511

:BCRASH1_11775
if 
  $bc1_route_nx == 7
goto_if_false @BCRASH1_12538
if 
  Char.DoesExist(284@)
goto_if_false @BCRASH1_11848
if 
  Char.IsHeadMissing(284@)
goto_if_false @BCRASH1_11848
Text.PrintNow('BCR1_09', 5000, 1)
goto @BCRASH1_13511

:BCRASH1_11848
if 
  52@ == 0
goto_if_false @BCRASH1_12477
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_12401
if 
  37@ == 0
goto_if_false @BCRASH1_12005
287@, 288@, 289@ = Char.GetCoordinates(284@)
if 
  not Car.IsDead(322@)
goto_if_false @BCRASH1_11948
36@ = Char.GetScriptTaskStatus(284@, 1487)
goto @BCRASH1_11955

:BCRASH1_11948
set_lvar_int_to_constant 36@ = 7

:BCRASH1_11955
if 
  is_int_lvar_equal_to_constant 36@ == 7
goto_if_false @BCRASH1_12005
Task.FleeChar(284@, $stattreadstamina_ctr, 50.0, 100000000)
37@ = 1
36@ = 5

:BCRASH1_12005
if 
  37@ == 1
goto_if_false @BCRASH1_12070
36@ = Char.GetScriptTaskStatus(284@, 1499)
if 
  is_int_lvar_equal_to_constant 36@ == 7
goto_if_false @BCRASH1_12070
Task.FleeChar(284@, $stattreadstamina_ctr, 50.0, 100000000)

:BCRASH1_12070
if 
  51@ == 1
goto_if_false @BCRASH1_12169
67@, 68@, 69@ = Char.GetCoordinates($stattreadstamina_ctr)
287@, 288@, 289@ = Char.GetCoordinates(284@)
if 
  not World.IsLineOfSightClear(67@, 68@, 69@, 287@, 288@, 289@, True, False, False, False, False)
goto_if_false @BCRASH1_12169
266@ = Clock.GetGameTimer()
51@ = 0

:BCRASH1_12169
if 
  51@ == 0
goto_if_false @BCRASH1_12401
67@, 68@, 69@ = Char.GetCoordinates($stattreadstamina_ctr)
287@, 288@, 289@ = Char.GetCoordinates(284@)
if 
  not World.IsLineOfSightClear(67@, 68@, 69@, 287@, 288@, 289@, True, False, False, False, False)
goto_if_false @BCRASH1_12353
267@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 268@ = 267@
sub_int_lvar_from_int_lvar 268@ -= 266@
if 
  268@ > 1000
goto_if_false @BCRASH1_12311
Text.PrintNow('BCR1_07', 100, 1)

:BCRASH1_12311
if 
  268@ > 15000
goto_if_false @BCRASH1_12353
Text.PrintNow('BCR1_12', 5000, 1)
goto @BCRASH1_13511

:BCRASH1_12353
if 
  World.IsLineOfSightClear(67@, 68@, 69@, 287@, 288@, 289@, True, False, False, False, False)
goto_if_false @BCRASH1_12401
51@ = 1

:BCRASH1_12401
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCRASH1_12477
if 
  Char.DoesExist(284@)
goto_if_false @BCRASH1_12477
if 
  Char.HasBeenPhotographed(284@)
goto_if_false @BCRASH1_12477
if 
  Char.IsDead(284@)
goto_if_false @BCRASH1_12477
Blip.Remove(285@)
52@ = 1

:BCRASH1_12477
if 
  52@ == 1
goto_if_false @BCRASH1_12538
66@ = Blip.AddForCoord(-2044.1, -2523.86, 31.11)
Text.PrintNow('BCR1_17', 5000, 1)
$bc1_route_nx = 8

:BCRASH1_12538
if 
  $bc1_route_nx == 8
goto_if_false @BCRASH1_12636
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCRASH1_12636
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -2044.1, -2523.86, 31.11, 1.2, 1.2, 2.0, True)
goto_if_false @BCRASH1_12636
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Camera, 0)
goto @BCRASH1_13609

:BCRASH1_12636
if 
  $bc1_route_nx == 7
goto_if_false @BCRASH1_13301
if 
  52@ == 0
goto_if_false @BCRASH1_13192
276@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Camera)
if 
  276@ > 0
goto_if_false @BCRASH1_13052
if 
  59@ == 2
goto_if_false @BCRASH1_12738
285@ = Blip.AddForDeadChar(284@)
Blip.Remove(271@)
59@ = 1

:BCRASH1_12738
if 
  59@ == 1
goto_if_false @BCRASH1_13045
if 
  Char.IsInWater(284@)
goto_if_false @BCRASH1_12779
$bc1_final_dest = 1

:BCRASH1_12779
if and
  not Char.IsDead($stattreadstamina_ctr)
  Char.IsDead(284@)
goto_if_false @BCRASH1_13045
Text.PrintNow('BCR1_10', 100, 1)
if 
  Char.DoesExist(284@)
goto_if_false @BCRASH1_13045
if 
  Char.IsDead(284@)
goto_if_false @BCRASH1_13045
if 
  58@ == 0
goto_if_false @BCRASH1_12914
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 287@, 288@, 289@, 5.0, 5.0, 5.0, False)
goto_if_false @BCRASH1_12914
58@ = 1

:BCRASH1_12914
if 
  58@ == 1
goto_if_false @BCRASH1_13045
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 287@, 288@, 289@, 100.0, 100.0, 30.0, False)
goto_if_false @BCRASH1_13045
if 
  $bc1_final_dest == 1
goto_if_false @BCRASH1_13022
Text.PrintNow('BCR1_16', 5000, 1)
goto @BCRASH1_13511
goto @BCRASH1_13045

:BCRASH1_13022
Text.PrintNow('BCR1_16', 5000, 1)
goto @BCRASH1_13511

:BCRASH1_13045
goto @BCRASH1_13192

:BCRASH1_13052
if 
  Char.IsDead(284@)
goto_if_false @BCRASH1_13192
if 
  59@ == 1
goto_if_false @BCRASH1_13111
if 
  276@ == 0
goto_if_false @BCRASH1_13111
59@ = 0

:BCRASH1_13111
if 
  59@ == 0
goto_if_false @BCRASH1_13192
Text.PrintNow('BCR1_11', 5000, 1)
Blip.Remove(285@)
270@ = Pickup.CreateWithAmmo(367, PickupType.Once, 24, -2044.1, -2523.86, 31.11)
271@ = Blip.AddForPickup(270@)
59@ = 2

:BCRASH1_13192
if and
  37@ == 0
  $bc1_route_nx <> 4
  $bc1_route_nx <> 5
goto_if_false @BCRASH1_13301
if and
  not Char.IsDead(284@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCRASH1_13301
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 284@, 10.0, 10.0, False)
goto_if_false @BCRASH1_13301
Task.FleeChar(284@, $stattreadstamina_ctr, 50.0, 100000000)
37@ = 1

:BCRASH1_13301
if 
  $bc1_route_nx > 3
goto_if_false @BCRASH1_13483
if 
  54@ == 1
goto_if_false @BCRASH1_13483
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(328@)
  not Char.IsDead(284@)
goto_if_false @BCRASH1_13483
if or
  Char.IsInCar($stattreadstamina_ctr, 328@)
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 328@, 50.0, 50.0, False)
goto_if_false @BCRASH1_13425
Text.Print('BCR1_13', 5000, 1)
54@ = 0

:BCRASH1_13425
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCRASH1_13483
if 
  not Char.IsInCar($stattreadstamina_ctr, 328@)
goto_if_false @BCRASH1_13483
Text.Print('BCR1_13', 5000, 1)
54@ = 0

:BCRASH1_13483
goto @BCRASH1_3584
wait 1500
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
goto @BCRASH1_13609

:BCRASH1_13511
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BCRASH1_13586
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCRASH1_13586
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @BCRASH1_13586
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Camera, 0)

:BCRASH1_13586
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_13607
Char.Delete(284@)

:BCRASH1_13607
return 

:BCRASH1_13609
Stat.RegisterMissionPassed('BCRASH1')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
Player.ClearWantedLevel($statbike_temp)
Stat.SetInt(StatId.PassedBcrash1, 1)
Audio.PlayMissionPassedTune(1)
$truthX += 1
Blip.Remove($truth_blip_icon)
$mobile_audio_labels = 15000
return 

:BCRASH1_13680
gosub @BCRASH1_241
gosub @BCRASH1_670
gosub @BCRASH1_785
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BCRASH1_13760
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCRASH1_13760
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @BCRASH1_13760
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Camera, 36)

:BCRASH1_13760
if 
  not Car.IsDead(328@)
goto_if_false @BCRASH1_13791
Car.SetProofs(328@, False, False, False, False, False)

:BCRASH1_13791
Char.ClearRelationship($stattreadstamina_ctr, RelationshipType.Hate, PedType.Mission1)
Streaming.MarkModelAsNoLongerNeeded(367)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(468)
Blip.Remove(285@)
Blip.Remove(64@)
Blip.Remove(65@)
Blip.Remove(66@)
Blip.Remove(271@)
Pickup.Remove(270@)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

:BCRASH1_13861
73@, 74@, 75@ = Char.GetCoordinates(290@(50@,5i))
return 

:BCRASH1_13881
62@ = -1
60@ = 1E07
63@ = 38

:BCRASH1_13905
if 
  38 > 63@
goto_if_false @BCRASH1_14093
if 
  not Char.IsDead(284@)
goto_if_false @BCRASH1_14079
61@ = Math.GetDistanceBetweenCoords2D(287@, 288@, 107@($6972,40f), 147@($6972,40f))
if 
  is_float_lvar_greater_than_float_lvar 60@ > 61@
goto_if_false @BCRASH1_14079
set_lvar_float_to_lvar_float 60@ = 61@
set_lvar_int_to_lvar_int 62@ = 63@
if 
  is_float_lvar_greater_than_float_lvar 187@($6972,40f) > 187@(62@,40f)
goto_if_false @BCRASH1_14079
set_lvar_float_to_lvar_float 61@ = 187@($6972,40f)
sub_float_lvar_from_float_lvar 61@ -= 187@(62@,40f)
if 
  61@ > 3.0
goto_if_false @BCRASH1_14079
set_var_int_to_lvar_int $6972 = 62@

:BCRASH1_14079
63@ += 1
goto @BCRASH1_13905

:BCRASH1_14093
return 

//-------------Mission 40---------------
// Originally: First Date

:CATALIN
gosub @CATALIN_36
if 
  has_deatharrest_been_executed 
goto_if_false @CATALIN_27
gosub @CATALIN_7507

:CATALIN_27
gosub @CATALIN_7530
terminate_this_script 

:CATALIN_36
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
script_name 'CATALIN'
wait 0
Text.LoadMissionText('CAT')
52@ = 0
53@ = 0
54@ = 0
set_lvar_int_to_var_int 55@ = $stattreadstamina_ctr
Player.MakeGangDisappear
if 
  $distance == 0
goto_if_false @CATALIN_1203
Streaming.SetAreaVisible(1)
Cutscene.Load('CAT_1')

:CATALIN_135
if 
  not Cutscene.HasLoaded
goto_if_false @CATALIN_159
wait 0
goto @CATALIN_135

:CATALIN_159
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CATALIN_168
if 
  not Cutscene.HasFinished
goto_if_false @CATALIN_192
wait 0
goto @CATALIN_168

:CATALIN_192
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CATALIN_207
if 
  Camera.GetFadingStatus
goto_if_false @CATALIN_231
wait 0
goto @CATALIN_207

:CATALIN_231
Streaming.SetAreaVisible(0)
Streaming.LoadSpecialCharacter(5, 'CAT')

:CATALIN_248
if 
  not Streaming.HasSpecialCharacterLoaded(5)
goto_if_false @CATALIN_287
wait 0
Streaming.LoadSpecialCharacter(5, 'CAT')
goto @CATALIN_248

:CATALIN_287
World.ClearArea(681.1634, -478.1859, 15.3281, 0.5, False)
Streaming.LoadScene(681.1634, -478.1859, 15.3281)
Char.SetCoordinates($stattreadstamina_ctr, 681.1634, -478.1859, 15.3281)
Char.SetHeading($stattreadstamina_ctr, 177.0008)
Camera.SetBehindPlayer
$finaleB_played_first_time_round = Char.Create(PedType.Special, 294, 682.8292, -477.8332, 15.3359)
Char.SetHeading($finaleB_played_first_time_round, 149.5317)
set_lvar_text_label 56@s = 'CAT_AA'
set_lvar_text_label 58@s = 'CAT_AB'
set_lvar_text_label 60@s = 'CAT_AC'
set_lvar_text_label 62@s = 'CAT_AD'
set_lvar_int_to_constant 96@ = 8600
set_lvar_int_to_constant 97@ = 8601
set_lvar_int_to_constant 98@ = 8602
set_lvar_int_to_constant 99@ = 8603
set_lvar_int_to_var_int 116@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 117@ = 55@
set_lvar_int_to_var_int 118@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 119@ = 55@
52@ = 4
set_lvar_text_label 136@s = 'CAT_BA'
set_lvar_text_label 138@s = 'CAT_BB'
set_lvar_text_label 140@s = 'CAT_BC'
set_lvar_text_label 142@s = 'CAT_BD'
set_lvar_text_label 144@s = 'CAT_BE'
set_lvar_text_label 146@s = 'CAT_BH'
set_lvar_text_label 148@s = 'CAT_BG'
set_lvar_text_label 150@s = 'CAT_BF'
set_lvar_text_label 152@s = 'CAT_BI'
set_lvar_text_label 154@s = 'CAT_BJ'
set_lvar_text_label 156@s = 'CAT_BK'
set_lvar_int_to_constant 160@ = 8604
set_lvar_int_to_constant 161@ = 8605
set_lvar_int_to_constant 162@ = 8606
set_lvar_int_to_constant 163@ = 8607
set_lvar_int_to_constant 164@ = 8608
set_lvar_int_to_constant 165@ = 8611
set_lvar_int_to_constant 166@ = 8610
set_lvar_int_to_constant 167@ = 8609
set_lvar_int_to_constant 168@ = 8612
set_lvar_int_to_constant 169@ = 8613
set_lvar_int_to_constant 170@ = 8614
set_lvar_int_to_lvar_int 172@ = 55@
set_lvar_int_to_var_int 173@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 174@ = 55@
set_lvar_int_to_var_int 175@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 176@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 177@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 178@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 179@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 180@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 181@ = 55@
set_lvar_int_to_var_int 182@ = $finaleB_played_first_time_round
53@ = 11
set_lvar_text_label 184@s = 'CAT_CA'
set_lvar_text_label 186@s = 'CAT_CB'
set_lvar_text_label 188@s = 'CAT_CC'
set_lvar_text_label 190@s = 'CAT_CD'
set_lvar_text_label 192@s = 'CAT_CE'
set_lvar_text_label 194@s = 'CAT_CF'
set_lvar_text_label 196@s = 'CAT_CG'
set_lvar_text_label 198@s = 'CAT_CH'
set_lvar_text_label 200@s = 'CAT_CI'
set_lvar_text_label 202@s = 'CAT_CJ'
set_lvar_text_label 204@s = 'CAT_CK'
set_lvar_int_to_constant 208@ = 8615
set_lvar_int_to_constant 209@ = 8616
set_lvar_int_to_constant 210@ = 8617
set_lvar_int_to_constant 211@ = 8618
set_lvar_int_to_constant 212@ = 8619
set_lvar_int_to_constant 213@ = 8620
set_lvar_int_to_constant 214@ = 8621
set_lvar_int_to_constant 215@ = 8622
set_lvar_int_to_constant 216@ = 8623
set_lvar_int_to_constant 217@ = 8624
set_lvar_int_to_constant 218@ = 8625
set_lvar_int_to_lvar_int 220@ = 55@
set_lvar_int_to_var_int 221@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 222@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 223@ = 55@
set_lvar_int_to_var_int 224@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 225@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 226@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 227@ = 55@
set_lvar_int_to_var_int 228@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 229@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 230@ = 55@
54@ = 11
goto @CATALIN_3878

:CATALIN_1203
Weather.ForceNow(WeatherType.ExtraSunnyCountryside)
if 
  $distance == 1
goto_if_false @CATALIN_2211
Cutscene.Load('CAT_2')

:CATALIN_1236
if 
  not Cutscene.HasLoaded
goto_if_false @CATALIN_1260
wait 0
goto @CATALIN_1236

:CATALIN_1260
World.ClearArea(868.521, -30.0862, 63.1875, 5.8, False)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CATALIN_1293
if 
  not Cutscene.HasFinished
goto_if_false @CATALIN_1317
wait 0
goto @CATALIN_1293

:CATALIN_1317
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CATALIN_1332
if 
  Camera.GetFadingStatus
goto_if_false @CATALIN_1356
wait 0
goto @CATALIN_1332

:CATALIN_1356
Streaming.SetAreaVisible(0)
Stat.SetInt(StatId.StartedCat2, 1)
Streaming.LoadSpecialCharacter(5, 'CAT')

:CATALIN_1380
if 
  not Streaming.HasSpecialCharacterLoaded(5)
goto_if_false @CATALIN_1419
wait 0
Streaming.LoadSpecialCharacter(5, 'CAT')
goto @CATALIN_1380

:CATALIN_1419
World.ClearArea(868.4825, -29.6753, 62.1875, 0.5, False)
Streaming.LoadScene(868.4825, -29.6753, 62.1875)
Char.SetCoordinates($stattreadstamina_ctr, 868.4825, -29.6753, 62.1875)
Char.SetHeading($stattreadstamina_ctr, 157.9281)
Camera.SetBehindPlayer
$finaleB_played_first_time_round = Char.Create(PedType.Special, 294, 867.7455, -29.0865, 62.1875)
Char.SetHeading($finaleB_played_first_time_round, 225.9654)
set_lvar_text_label 56@s = 'CAT_FA'
set_lvar_int_to_constant 96@ = 8657
set_lvar_int_to_lvar_int 116@ = 55@
set_lvar_text_label 58@s = 'CAT_FB'
set_lvar_int_to_constant 97@ = 8658
set_lvar_int_to_var_int 117@ = $finaleB_played_first_time_round
37@ = 2
if 
  $main_visible_area_char == 0
goto_if_false @CATALIN_1661
set_lvar_text_label 56@(37@,20s) = 'CAT_FC'
set_lvar_int_to_constant 96@(37@,20i) = 8659
set_lvar_int_to_var_int 116@(37@,20i) = $finaleB_played_first_time_round
37@ += 1

:CATALIN_1661
if 
  $flag_trigger_trailor_cut == 0
goto_if_false @CATALIN_1728
set_lvar_text_label 56@(37@,20s) = 'CAT_FD'
set_lvar_int_to_constant 96@(37@,20i) = 8660
set_lvar_int_to_var_int 116@(37@,20i) = $finaleB_played_first_time_round
37@ += 1

:CATALIN_1728
if 
  $load_and_launch_catalina_mission == 0
goto_if_false @CATALIN_1862
if 
  $stat == 0
goto_if_false @CATALIN_1813
set_lvar_text_label 56@(37@,20s) = 'CAT_FE'
set_lvar_int_to_constant 96@(37@,20i) = 8661
set_lvar_int_to_var_int 116@(37@,20i) = $finaleB_played_first_time_round
goto @CATALIN_1855

:CATALIN_1813
set_lvar_text_label 56@(37@,20s) = 'CAT_FG'
set_lvar_int_to_constant 96@(37@,20i) = 8663
set_lvar_int_to_var_int 116@(37@,20i) = $finaleB_played_first_time_round

:CATALIN_1855
37@ += 1

:CATALIN_1862
if 
  $stat == 0
goto_if_false @CATALIN_1929
set_lvar_text_label 56@(37@,20s) = 'CAT_FH'
set_lvar_int_to_constant 96@(37@,20i) = 8664
set_lvar_int_to_var_int 116@(37@,20i) = $finaleB_played_first_time_round
37@ += 1

:CATALIN_1929
set_lvar_text_label 56@(37@,20s) = 'CAT_FI'
set_lvar_int_to_constant 96@(37@,20i) = 8665
set_lvar_int_to_lvar_int 116@(37@,20i) = 55@
37@ += 1
set_lvar_text_label 56@(37@,20s) = 'CAT_FJ'
set_lvar_int_to_constant 96@(37@,20i) = 8666
set_lvar_int_to_lvar_int 116@(37@,20i) = 55@
37@ += 1
set_lvar_text_label 56@(37@,20s) = 'CAT_FK'
set_lvar_int_to_constant 96@(37@,20i) = 8667
set_lvar_int_to_var_int 116@(37@,20i) = $finaleB_played_first_time_round
37@ += 1
set_lvar_int_to_lvar_int 52@ = 37@
set_lvar_text_label 136@s = 'CAT_FL'
set_lvar_text_label 138@s = 'CAT_FM'
set_lvar_text_label 140@s = 'CAT_FN'
set_lvar_text_label 142@s = 'CAT_FO'
set_lvar_int_to_constant 160@ = 8668
set_lvar_int_to_constant 161@ = 8669
set_lvar_int_to_constant 162@ = 8670
set_lvar_int_to_constant 163@ = 8671
set_lvar_int_to_var_int 172@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 173@ = 55@
set_lvar_int_to_var_int 174@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 175@ = $finaleB_played_first_time_round
53@ = 4

:CATALIN_2211
if 
  $distance == 2
goto_if_false @CATALIN_3101
Cutscene.Load('CAT_3')

:CATALIN_2240
if 
  not Cutscene.HasLoaded
goto_if_false @CATALIN_2264
wait 0
goto @CATALIN_2240

:CATALIN_2264
World.ClearArea(868.521, -30.0862, 63.1875, 5.8, False)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CATALIN_2297
if 
  not Cutscene.HasFinished
goto_if_false @CATALIN_2321
wait 0
goto @CATALIN_2297

:CATALIN_2321
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CATALIN_2336
if 
  Camera.GetFadingStatus
goto_if_false @CATALIN_2360
wait 0
goto @CATALIN_2336

:CATALIN_2360
Streaming.SetAreaVisible(0)
Streaming.LoadSpecialCharacter(5, 'CAT')

:CATALIN_2377
if 
  not Streaming.HasSpecialCharacterLoaded(5)
goto_if_false @CATALIN_2416
wait 0
Streaming.LoadSpecialCharacter(5, 'CAT')
goto @CATALIN_2377

:CATALIN_2416
World.ClearArea(868.4825, -29.6753, 62.1875, 0.5, False)
Streaming.LoadScene(868.4825, -29.6753, 62.1875)
Char.SetCoordinates($stattreadstamina_ctr, 868.4825, -29.6753, 62.1875)
Char.SetHeading($stattreadstamina_ctr, 157.9281)
Camera.SetBehindPlayer
$finaleB_played_first_time_round = Char.Create(PedType.Special, 294, 867.7455, -29.0865, 62.1875)
Char.SetHeading($finaleB_played_first_time_round, 225.9654)
set_lvar_text_label 56@s = 'CAT_KA'
set_lvar_text_label 58@s = 'CAT_KB'
set_lvar_text_label 60@s = 'CAT_KC'
set_lvar_text_label 62@s = 'CAT_KD'
set_lvar_text_label 64@s = 'CAT_KE'
set_lvar_text_label 66@s = 'CAT_KF'
set_lvar_text_label 68@s = 'CAT_KG'
set_lvar_text_label 70@s = 'CAT_KH'
set_lvar_text_label 72@s = 'CAT_KI'
set_lvar_text_label 74@s = 'CAT_KJ'
set_lvar_text_label 76@s = 'CAT_KK'
set_lvar_text_label 78@s = 'CAT_KL'
set_lvar_text_label 80@s = 'CAT_KM'
set_lvar_text_label 82@s = 'CAT_KN'
set_lvar_text_label 84@s = 'CAT_KO'
set_lvar_text_label 86@s = 'CAT_KP'
set_lvar_text_label 88@s = 'CAT_KQ'
set_lvar_text_label 90@s = 'CAT_KR'
set_lvar_text_label 92@s = 'CAT_KS'
set_lvar_int_to_constant 96@ = 8692
set_lvar_int_to_constant 97@ = 8693
set_lvar_int_to_constant 98@ = 8694
set_lvar_int_to_constant 99@ = 8695
set_lvar_int_to_constant 100@ = 8696
set_lvar_int_to_constant 101@ = 8697
set_lvar_int_to_constant 102@ = 8698
set_lvar_int_to_constant 103@ = 8699
set_lvar_int_to_constant 104@ = 8700
set_lvar_int_to_constant 105@ = 8701
set_lvar_int_to_constant 106@ = 8702
set_lvar_int_to_constant 107@ = 8703
set_lvar_int_to_constant 108@ = 8704
set_lvar_int_to_constant 109@ = 8705
set_lvar_int_to_constant 110@ = 8706
set_lvar_int_to_constant 111@ = 8707
set_lvar_int_to_constant 112@ = 8708
set_lvar_int_to_constant 113@ = 8709
set_lvar_int_to_constant 114@ = 8710
set_lvar_int_to_var_int 116@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 117@ = 55@
set_lvar_int_to_var_int 118@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 119@ = 55@
set_lvar_int_to_var_int 120@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 121@ = 55@
set_lvar_int_to_var_int 122@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 123@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 124@ = 55@
set_lvar_int_to_var_int 125@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 126@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 127@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 128@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 129@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 130@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 131@ = 55@
set_lvar_int_to_var_int 132@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 133@ = 55@
set_lvar_int_to_var_int 134@ = $finaleB_played_first_time_round
52@ = 19

:CATALIN_3101
if 
  $distance == 3
goto_if_false @CATALIN_3878
Cutscene.Load('CAT_4')

:CATALIN_3130
if 
  not Cutscene.HasLoaded
goto_if_false @CATALIN_3154
wait 0
goto @CATALIN_3130

:CATALIN_3154
World.ClearArea(868.521, -30.0862, 63.1875, 5.8, False)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CATALIN_3187
if 
  not Cutscene.HasFinished
goto_if_false @CATALIN_3211
wait 0
goto @CATALIN_3187

:CATALIN_3211
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CATALIN_3226
if 
  Camera.GetFadingStatus
goto_if_false @CATALIN_3250
wait 0
goto @CATALIN_3226

:CATALIN_3250
Streaming.SetAreaVisible(0)
Streaming.LoadSpecialCharacter(5, 'CAT')

:CATALIN_3267
if 
  not Streaming.HasSpecialCharacterLoaded(5)
goto_if_false @CATALIN_3306
wait 0
Streaming.LoadSpecialCharacter(5, 'CAT')
goto @CATALIN_3267

:CATALIN_3306
World.ClearArea(868.4825, -29.6753, 62.1875, 0.5, False)
Streaming.LoadScene(868.4825, -29.6753, 62.1875)
Char.SetCoordinates($stattreadstamina_ctr, 868.4825, -29.6753, 62.1875)
Char.SetHeading($stattreadstamina_ctr, 157.9281)
Camera.SetBehindPlayer
$finaleB_played_first_time_round = Char.Create(PedType.Special, 294, 867.7455, -29.0865, 62.1875)
Char.SetHeading($finaleB_played_first_time_round, 225.9654)
set_lvar_text_label 56@s = 'CAT4_LA'
set_lvar_text_label 58@s = 'CAT4_LB'
set_lvar_text_label 60@s = 'CAT4_LC'
set_lvar_text_label 62@s = 'CAT4_LD'
set_lvar_text_label 64@s = 'CAT4_LE'
set_lvar_text_label 66@s = 'CAT4_LF'
set_lvar_int_to_constant 96@ = 9671
set_lvar_int_to_constant 97@ = 9672
set_lvar_int_to_constant 98@ = 9673
set_lvar_int_to_constant 99@ = 9674
set_lvar_int_to_constant 100@ = 9675
set_lvar_int_to_constant 101@ = 9676
set_lvar_int_to_var_int 116@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 117@ = 55@
set_lvar_int_to_var_int 118@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 119@ = 55@
set_lvar_int_to_var_int 120@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 121@ = 55@
52@ = 6
set_lvar_text_label 136@s = 'CAT_NA'
set_lvar_text_label 138@s = 'CAT_NB'
set_lvar_text_label 140@s = 'CAT_NC'
set_lvar_text_label 142@s = 'CAT_ND'
set_lvar_text_label 144@s = 'CAT_NE'
set_lvar_text_label 146@s = 'CAT_NF'
set_lvar_text_label 148@s = 'CAT_NG'
set_lvar_text_label 150@s = 'CAT_NH'
set_lvar_text_label 152@s = 'CAT_KT'
set_lvar_int_to_constant 160@ = 8717
set_lvar_int_to_constant 161@ = 8718
set_lvar_int_to_constant 162@ = 8719
set_lvar_int_to_constant 163@ = 8720
set_lvar_int_to_constant 164@ = 8721
set_lvar_int_to_constant 165@ = 8722
set_lvar_int_to_constant 166@ = 8723
set_lvar_int_to_constant 167@ = 8724
set_lvar_int_to_constant 168@ = 8711
set_lvar_int_to_var_int 172@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 173@ = 55@
set_lvar_int_to_var_int 174@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 175@ = 55@
set_lvar_int_to_var_int 176@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 177@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 178@ = 55@
set_lvar_int_to_var_int 179@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 180@ = $finaleB_played_first_time_round
53@ = 9

:CATALIN_3878
Char.SetAnimGroup($finaleB_played_first_time_round, "WOMAN")
Char.SetOnlyDamagedByPlayer($finaleB_played_first_time_round, True)
Char.SetNeverTargeted($finaleB_played_first_time_round, True)
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Respect, PedType.Player1)
Char.SetHealth($finaleB_played_first_time_round, 100)
Char.SetSuffersCriticalHits($finaleB_played_first_time_round, False)
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CATALIN_3972
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Player.SetGroupToFollowAlways($statbike_temp, True)
Char.ListenToPlayerGroupCommands($finaleB_played_first_time_round, False)

:CATALIN_3972
Weather.Release
Player.MakeGangReappear
Camera.DoFade(1000, Fade.In)
Player.SetControl($statbike_temp, True)

:CATALIN_3990
if 
  Camera.GetFadingStatus
goto_if_false @CATALIN_4014
wait 0
goto @CATALIN_3990

:CATALIN_4014
if 
  $pimpX == 1
goto_if_false @CATALIN_4039
$pimpX = 0

:CATALIN_4039
if 
  $pimpY == 1
goto_if_false @CATALIN_4064
$pimpY = 0

:CATALIN_4064
if and
  $load_and_launch_catalina_mission == 1
  $pimpX == 0
goto_if_false @CATALIN_4290
set_lvar_text_label 184@s = 'CAT1_IA'
set_lvar_text_label 186@s = 'CAT1_IB'
set_lvar_text_label 188@s = 'CAT1_IC'
set_lvar_text_label 190@s = 'CAT1_IE'
set_lvar_text_label 192@s = 'CAT1_IF'
set_lvar_text_label 194@s = 'CAT1_IG'
set_lvar_int_to_constant 208@ = 8835
set_lvar_int_to_constant 209@ = 8836
set_lvar_int_to_constant 210@ = 8837
set_lvar_int_to_constant 211@ = 8838
set_lvar_int_to_constant 212@ = 8839
set_lvar_int_to_constant 213@ = 8840
set_lvar_int_to_var_int 220@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 221@ = 55@
set_lvar_int_to_lvar_int 222@ = 55@
set_lvar_int_to_var_int 223@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 224@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 225@ = 55@
54@ = 6
$pimpX = 1
goto @CATALIN_4569

:CATALIN_4290
if and
  $stat == 1
  $pimpY == 0
goto_if_false @CATALIN_4569
set_lvar_text_label 184@s = 'CAT2_HA'
set_lvar_text_label 186@s = 'CAT2_HB'
set_lvar_text_label 188@s = 'CAT2_HC'
set_lvar_text_label 190@s = 'CAT2_HE'
set_lvar_text_label 192@s = 'CAT2_HF'
set_lvar_text_label 194@s = 'CAT2_HG'
set_lvar_text_label 196@s = 'CAT2_HH'
set_lvar_text_label 198@s = 'CAT2_HI'
set_lvar_int_to_constant 208@ = 9022
set_lvar_int_to_constant 209@ = 9023
set_lvar_int_to_constant 210@ = 9024
set_lvar_int_to_constant 211@ = 9025
set_lvar_int_to_constant 212@ = 9026
set_lvar_int_to_constant 213@ = 9027
set_lvar_int_to_constant 214@ = 9028
set_lvar_int_to_constant 215@ = 9029
set_lvar_int_to_var_int 220@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 221@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 222@ = 55@
set_lvar_int_to_var_int 223@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 224@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 225@ = $finaleB_played_first_time_round
set_lvar_int_to_lvar_int 226@ = 55@
set_lvar_int_to_var_int 227@ = $finaleB_played_first_time_round
54@ = 8
$pimpY = 1

:CATALIN_4569
232@ = 0
233@ = 0
234@ = 0
235@ = 1
236@ = 0
237@ = 1
238@ = 0
239@ = 0
240@ = 0
241@ = 0
if 
  $distance > 0
goto_if_false @CATALIN_4821
if 
  $load_and_launch_catalina_mission == 0
goto_if_false @CATALIN_4698
242@ = Blip.AddSpriteForCoord($511, $517, $523, RadarSprite.Cash)
238@ = 1

:CATALIN_4698
if 
  $flag_trigger_trailor_cut == 0
goto_if_false @CATALIN_4739
243@ = Blip.AddSpriteForCoord($catY, $catZ, $wuzi_contact_blip, RadarSprite.Cash)
239@ = 1

:CATALIN_4739
if 
  $main_visible_area_char == 0
goto_if_false @CATALIN_4780
244@ = Blip.AddSpriteForCoord($513, $519, $steal_contact_blip, RadarSprite.Cash)
240@ = 1

:CATALIN_4780
if 
  $stat == 0
goto_if_false @CATALIN_4821
245@ = Blip.AddSpriteForCoord($514, $520, $synd_contact_blip, RadarSprite.Cash)
241@ = 1

:CATALIN_4821
246@ = 0

:CATALIN_4828
wait 0
$RStickY = Clock.GetGameTimer()
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CATALIN_7185
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CATALIN_6878
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $finaleB_played_first_time_round, 20.0, 20.0, False)
goto_if_false @CATALIN_5620
if 
  3 > 233@
goto_if_false @CATALIN_5620
if 
  52@(233@,3i) == 0
goto_if_false @CATALIN_4957
233@ += 1
goto @CATALIN_5620

:CATALIN_4957
if 
  233@ == 1
goto_if_false @CATALIN_5063
if 
  not Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CATALIN_5030
if or
  $distance == 1
  $distance == 3
goto_if_false @CATALIN_5023
goto @CATALIN_5620

:CATALIN_5023
goto @CATALIN_5063

:CATALIN_5030
if 
  232@ == 0
goto_if_false @CATALIN_5063
set_lvar_int_to_var_int 234@ = $RStickY
234@ -= 10

:CATALIN_5063
if 
  is_int_var_greater_than_int_lvar $RStickY > 234@
goto_if_false @CATALIN_5620
if 
  $audio_line_terminate_all == 0
goto_if_false @CATALIN_5620
if 
  233@ == 0
goto_if_false @CATALIN_5201
set_var_text_label s$bd_future_time_shown = 56@(232@,20s)
set_var_int_to_lvar_int $bd_x = 96@(232@,20i)
start_new_script @AUDIOL 116@(232@,20i) 0 1 235@ 232@ 
if 
  is_int_lvar_equal_to_int_var 116@(232@,20i) == $finaleB_played_first_time_round
goto_if_false @CATALIN_5201
Task.LookAtChar($finaleB_played_first_time_round, 55@, 3000)

:CATALIN_5201
if 
  233@ == 1
goto_if_false @CATALIN_5302
set_var_text_label s$bd_future_time_shown = 136@(232@,12s)
set_var_int_to_lvar_int $bd_x = 160@(232@,12i)
start_new_script @AUDIOL 172@(232@,12i) 0 1 235@ 232@ 
if 
  is_int_lvar_equal_to_int_var 172@(232@,12i) == $finaleB_played_first_time_round
goto_if_false @CATALIN_5302
Task.LookAtChar($finaleB_played_first_time_round, 55@, 3000)

:CATALIN_5302
if 
  233@ == 2
goto_if_false @CATALIN_5403
set_var_text_label s$bd_future_time_shown = 184@(232@,12s)
set_var_int_to_lvar_int $bd_x = 208@(232@,12i)
start_new_script @AUDIOL 220@(232@,12i) 0 1 235@ 232@ 
if 
  is_int_lvar_equal_to_int_var 220@(232@,12i) == $finaleB_played_first_time_round
goto_if_false @CATALIN_5403
Task.LookAtChar($finaleB_played_first_time_round, 55@, 3000)

:CATALIN_5403
if 
  235@ == 1
goto_if_false @CATALIN_5435
235@ = 2
goto @CATALIN_5442

:CATALIN_5435
235@ = 1

:CATALIN_5442
set_lvar_int_to_var_int 234@ = $RStickY
234@ += 500
232@ += 1
if 
  is_int_lvar_greater_than_int_lvar 52@(233@,3i) > 232@
goto_if_false @CATALIN_5590
Audio.ClearMissionAudio(235@)
if 
  233@ == 0
goto_if_false @CATALIN_5523
Audio.LoadMissionAudio(235@, 96@(232@,20i))

:CATALIN_5523
if 
  233@ == 1
goto_if_false @CATALIN_5553
Audio.LoadMissionAudio(235@, 160@(232@,12i))

:CATALIN_5553
if 
  233@ == 2
goto_if_false @CATALIN_5583
Audio.LoadMissionAudio(235@, 208@(232@,12i))

:CATALIN_5583
goto @CATALIN_5620

:CATALIN_5590
232@ = 0
set_lvar_int_to_var_int 234@ = $RStickY
234@ += 10000
233@ += 1

:CATALIN_5620
if 
  $distance == 0
goto_if_false @CATALIN_5920
if 
  233@ == 1
goto_if_false @CATALIN_5920
if 
  236@ == 0
goto_if_false @CATALIN_5722
if 
  232@ > 6
goto_if_false @CATALIN_5722
242@ = Blip.AddSpriteForCoord($511, $517, $523, RadarSprite.Cash)
238@ = 1
236@ += 1

:CATALIN_5722
if 
  236@ == 1
goto_if_false @CATALIN_5788
if 
  232@ > 7
goto_if_false @CATALIN_5788
243@ = Blip.AddSpriteForCoord($catY, $catZ, $wuzi_contact_blip, RadarSprite.Cash)
239@ = 1
236@ += 1

:CATALIN_5788
if 
  236@ == 2
goto_if_false @CATALIN_5854
if 
  232@ > 8
goto_if_false @CATALIN_5854
244@ = Blip.AddSpriteForCoord($513, $519, $steal_contact_blip, RadarSprite.Cash)
240@ = 1
236@ += 1

:CATALIN_5854
if 
  236@ == 3
goto_if_false @CATALIN_5920
if 
  232@ > 9
goto_if_false @CATALIN_5920
245@ = Blip.AddSpriteForCoord($514, $520, $synd_contact_blip, RadarSprite.Cash)
241@ = 1
236@ += 1

:CATALIN_5920
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CATALIN_6307
if 
  $flag_bcrash_mission_counter == 0
goto_if_false @CATALIN_6028
World.ClearArea($511, $517, $523, 0.5, False)
Char.SetCoordinates($stattreadstamina_ctr, $511, $517, $523)
set_var_float_to_var_float $on_footY = $511
$on_footY -= 1.0
Char.SetCoordinates($finaleB_played_first_time_round, $on_footY, $517, $523)
Streaming.LoadScene($511, $517, $523)

:CATALIN_6028
if 
  $flag_bcrash_mission_counter == 1
goto_if_false @CATALIN_6121
World.ClearArea($catY, $catZ, $wuzi_contact_blip, 0.5, False)
Char.SetCoordinates($stattreadstamina_ctr, $catY, $catZ, $wuzi_contact_blip)
set_var_float_to_var_float $on_footY = $catY
$on_footY -= 1.0
Char.SetCoordinates($finaleB_played_first_time_round, $on_footY, $catZ, $wuzi_contact_blip)
Streaming.LoadScene($catY, $catZ, $wuzi_contact_blip)

:CATALIN_6121
if 
  $flag_bcrash_mission_counter == 2
goto_if_false @CATALIN_6214
World.ClearArea($513, $519, $steal_contact_blip, 0.5, False)
Char.SetCoordinates($stattreadstamina_ctr, $513, $519, $steal_contact_blip)
set_var_float_to_var_float $on_footY = $513
$on_footY -= 1.0
Char.SetCoordinates($finaleB_played_first_time_round, $on_footY, $519, $steal_contact_blip)
Streaming.LoadScene($513, $519, $steal_contact_blip)

:CATALIN_6214
if 
  $flag_bcrash_mission_counter == 3
goto_if_false @CATALIN_6307
World.ClearArea($514, $520, $synd_contact_blip, 0.5, False)
Char.SetCoordinates($stattreadstamina_ctr, $514, $520, $synd_contact_blip)
set_var_float_to_var_float $on_footY = $514
$on_footY -= 1.0
Char.SetCoordinates($finaleB_played_first_time_round, $on_footY, $520, $synd_contact_blip)
Streaming.LoadScene($514, $520, $synd_contact_blip)

:CATALIN_6307
if 
  $load_and_launch_catalina_mission == 0
goto_if_false @CATALIN_6448
if 
  238@ == 1
goto_if_false @CATALIN_6448
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $511, $517, $523, 3.0, 3.0, 3.0, True)
goto_if_false @CATALIN_6448
Player.SetControl($statbike_temp, False)
Text.PrintBig('CAT_1', 1000, TextStyle.BottomRight)
Camera.DoFade(500, Fade.Out)

:CATALIN_6415
if 
  Camera.GetFadingStatus
goto_if_false @CATALIN_6439
wait 0
goto @CATALIN_6415

:CATALIN_6439
$flag_cycling_skill_help_tri = 0
return 

:CATALIN_6448
if 
  $flag_trigger_trailor_cut == 0
goto_if_false @CATALIN_6589
if 
  239@ == 1
goto_if_false @CATALIN_6589
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $catY, $catZ, $wuzi_contact_blip, 3.0, 3.0, 3.0, True)
goto_if_false @CATALIN_6589
Player.SetControl($statbike_temp, False)
Text.PrintBig('CAT_2', 1000, TextStyle.BottomRight)
Camera.DoFade(500, Fade.Out)

:CATALIN_6556
if 
  Camera.GetFadingStatus
goto_if_false @CATALIN_6580
wait 0
goto @CATALIN_6556

:CATALIN_6580
$flag_cycling_skill_help_tri = 1
return 

:CATALIN_6589
if 
  $main_visible_area_char == 0
goto_if_false @CATALIN_6730
if 
  240@ == 1
goto_if_false @CATALIN_6730
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $513, $519, $steal_contact_blip, 3.0, 3.0, 3.0, True)
goto_if_false @CATALIN_6730
Player.SetControl($statbike_temp, False)
Text.PrintBig('CAT_3', 1000, TextStyle.BottomRight)
Camera.DoFade(500, Fade.Out)

:CATALIN_6697
if 
  Camera.GetFadingStatus
goto_if_false @CATALIN_6721
wait 0
goto @CATALIN_6697

:CATALIN_6721
$flag_cycling_skill_help_tri = 2
return 

:CATALIN_6730
if 
  $stat == 0
goto_if_false @CATALIN_6871
if 
  241@ == 1
goto_if_false @CATALIN_6871
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $514, $520, $synd_contact_blip, 3.0, 3.0, 3.0, True)
goto_if_false @CATALIN_6871
Player.SetControl($statbike_temp, False)
Text.PrintBig('CAT_4', 1000, TextStyle.BottomRight)
Camera.DoFade(500, Fade.Out)

:CATALIN_6838
if 
  Camera.GetFadingStatus
goto_if_false @CATALIN_6862
wait 0
goto @CATALIN_6838

:CATALIN_6862
$flag_cycling_skill_help_tri = 3
return 

:CATALIN_6871
goto @CATALIN_7178

:CATALIN_6878
if 
  237@ == 1
goto_if_false @CATALIN_6954
Text.PrintNow('CATLEFT', 5000, 1)
Blip.Remove(242@)
Blip.Remove(243@)
Blip.Remove(244@)
Blip.Remove(245@)
34@ = Blip.AddForChar($finaleB_played_first_time_round)
Blip.SetAsFriendly(34@, True)
237@ += 1

:CATALIN_6954
if 
  237@ == 2
goto_if_false @CATALIN_7178
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $finaleB_played_first_time_round, 10.0, 10.0, False)
goto_if_false @CATALIN_7178
Blip.Remove(34@)
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CATALIN_7035
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)

:CATALIN_7035
if 
  238@ == 1
goto_if_false @CATALIN_7069
242@ = Blip.AddSpriteForCoord($511, $517, $523, RadarSprite.Cash)

:CATALIN_7069
if 
  239@ == 1
goto_if_false @CATALIN_7103
243@ = Blip.AddSpriteForCoord($catY, $catZ, $wuzi_contact_blip, RadarSprite.Cash)

:CATALIN_7103
if 
  240@ == 1
goto_if_false @CATALIN_7137
244@ = Blip.AddSpriteForCoord($513, $519, $steal_contact_blip, RadarSprite.Cash)

:CATALIN_7137
if 
  241@ == 1
goto_if_false @CATALIN_7171
245@ = Blip.AddSpriteForCoord($514, $520, $synd_contact_blip, RadarSprite.Cash)

:CATALIN_7171
237@ = 1

:CATALIN_7178
goto @CATALIN_7208

:CATALIN_7185
Text.PrintNow('CATDEAD', 5000, 1)
goto @CATALIN_7507

:CATALIN_7208
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 660.0, -585.0, 200.0, 200.0, False)
goto_if_false @CATALIN_7455
if 
  246@ == 0
goto_if_false @CATALIN_7448
Streaming.RequestModel(514)
Streaming.RequestModel(584)
if and
  Streaming.HasModelLoaded(514)
  Streaming.HasModelLoaded(584)
goto_if_false @CATALIN_7448
247@ = Car.Create(514, 657.49, -585.13, 16.36)
Car.SetHeading(247@, 170.66)
Car.SetCanBurstTires(247@, False)
Car.SetProofs(247@, True, False, False, False, False)
Car.SetLoadCollisionFlag(247@, False)
Car.LockDoors(247@, CarLock.Locked)
248@ = Car.Create(584, 667.49, -583.13, 16.36)
Car.SetHeading(248@, 184.66)
Car.SetHealth(248@, 1250)
Car.SetProofs(248@, True, True, True, True, True)
Car.SetCanBurstTires(248@, False)
Car.SetLoadCollisionFlag(248@, False)
Car.LockDoors(248@, CarLock.Locked)
246@ = 1

:CATALIN_7448
goto @CATALIN_7500

:CATALIN_7455
if 
  246@ == 1
goto_if_false @CATALIN_7500
Car.Delete(247@)
Car.Delete(248@)
Streaming.MarkModelAsNoLongerNeeded(514)
Streaming.MarkModelAsNoLongerNeeded(584)
246@ = 0

:CATALIN_7500
goto @CATALIN_4828

:CATALIN_7507
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Char.RemoveElegantly($finaleB_played_first_time_round)
return 

:CATALIN_7530
Blip.Remove(34@)
Blip.Remove(242@)
Blip.Remove(243@)
Blip.Remove(244@)
Blip.Remove(245@)
Streaming.UnloadSpecialCharacter(5)
Streaming.MarkModelAsNoLongerNeeded(514)
Streaming.MarkModelAsNoLongerNeeded(584)
$weapon_shop1_blip = 0
Mission.Finish
if 
  $flag_cycling_skill_help_tri > -1
goto_if_false @CATALIN_7602
Camera.DoFade(0, Fade.Out)

:CATALIN_7602
return 

//-------------Mission 41---------------
// Originally: Local Liquor Store

:CAT1
script_name 'CAT1'
gosub @CAT1_47
if 
  has_deatharrest_been_executed 
goto_if_false @CAT1_38
gosub @CAT1_32495

:CAT1_38
gosub @CAT1_32644
terminate_this_script 

:CAT1_47
$weapon_shop1_blip = 1
Camera.DoFade(0, Fade.Out)
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
$audio_line_terminate_all = 0
64@ = 0
62@ = 0
63@ = 0
65@ = 0
66@ = 0
TIMERA = 0
TIMERB = 0
67@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
68@ = DecisionMakerChar.Load(DecisionMakerType.Tough)

:CAT1_165
wait 0
if 
is_ps2_keyboard_key_just_pressed 88
goto_if_false @CAT1_260
if 
  69@ == 0
goto_if_false @CAT1_234
69@ = 1
write_debug "LEVEL_DEBUG_ON"
goto @CAT1_260

:CAT1_234
69@ = 0
write_debug "LEVEL_DEBUG_OFF"

:CAT1_260
39@ += 1
if 
  39@ > 9
goto_if_false @CAT1_292
39@ = 0

:CAT1_292
40@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 40@
sub_int_lvar_from_int_lvar 42@ -= 41@
set_lvar_int_to_lvar_int 41@ = 40@
add_int_lvar_to_int_lvar 65@ += 42@
add_int_lvar_to_int_lvar 66@ += 42@
add_int_lvar_to_int_lvar 147@ += 42@
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @CAT1_367
36@ = 1

:CAT1_367
if 
  69@ == 1
goto_if_false @CAT1_392
gosub @CAT1_634

:CAT1_392
switch_start 34@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CAT1_525 {caseNum1} 0 {caseLabel1} @CAT1_455 {caseNum2} 1 {caseLabel2} @CAT1_469 {caseNum3} 2 {caseLabel3} @CAT1_483 {caseNum4} 3 {caseLabel4} @CAT1_497 {caseNum5} 4 {caseLabel5} @CAT1_511 {caseNum6} -1 {caseLabel6} @CAT1_525 {caseNum7} -1 {caseLabel7} @CAT1_525

:CAT1_455
gosub @CAT1_2079
goto @CAT1_525

:CAT1_469
gosub @CAT1_2698
goto @CAT1_525

:CAT1_483
gosub @CAT1_14057
goto @CAT1_525

:CAT1_497
gosub @CAT1_17134
goto @CAT1_525

:CAT1_511
gosub @CAT1_18140
goto @CAT1_525

:CAT1_525
gosub @CAT1_25325

:CAT1_532
if 
  38@ == 0
goto_if_false @CAT1_632
if 
  37@ == 0
goto_if_false @CAT1_616
if 
  36@ == 0
goto_if_false @CAT1_600
goto @CAT1_165
goto @CAT1_609

:CAT1_600
gosub @CAT1_32513
return 

:CAT1_609
goto @CAT1_625

:CAT1_616
gosub @CAT1_32495
return 

:CAT1_625
goto @CAT1_634

:CAT1_632
return 

:CAT1_634
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @CAT1_683
70@ += 1
if 
  70@ > 5
goto_if_false @CAT1_681
70@ = 0

:CAT1_681
clear_all_view_variables 

:CAT1_683
if 
  70@ == 1
goto_if_false @CAT1_872
set_var_int_to_lvar_int $6975 = 34@
set_var_int_to_lvar_int $6976 = 35@
set_var_int_to_lvar_int $6977 = 62@
set_var_int_to_lvar_int $6978 = 65@
set_var_int_to_lvar_int $CAT1_view_debug_f = 63@
set_var_int_to_lvar_int $6980 = 66@
set_var_int_to_lvar_int $6981 = TIMERA
view_integer_variable $6975 {_p2} "M_STAGE"
view_integer_variable $6976 {_p2} "M_GOALS"
view_integer_variable $6977 {_p2} "DIALOGUE_FLAG"
view_integer_variable $6978 {_p2} "DIALOGUE_TIMER"
view_integer_variable $CAT1_view_debug_f {_p2} "HELP_FLAG"
view_integer_variable $6980 {_p2} "HELP_TIMER"
view_integer_variable $6981 {_p2} "TIMERA"

:CAT1_872
if 
  70@ == 2
goto_if_false @CAT1_1103
$6975 = 0
$6976 = 0
set_var_int_to_var_int $6977 = $game_timer1_cat4
set_var_int_to_lvar_int $6978 = 100@
set_var_int_to_lvar_int $CAT1_view_debug_f = 101@
set_var_int_to_lvar_int $6980 = 102@
set_var_int_to_lvar_int $6981 = 103@
set_var_int_to_lvar_int $6982 = 108@
view_integer_variable $6975 {_p2} "DISABLE_GROUP"
view_integer_variable $6976 {_p2} "IN_GROUP"
view_integer_variable $6977 {_p2} "CAT1_PICKUPS_COLLECTED"
view_integer_variable $6978 {_p2} "PAUSED[0]"
view_integer_variable $CAT1_view_debug_f {_p2} "PAUSED[1]"
view_integer_variable $6980 {_p2} "PAUSED[2]"
view_integer_variable $6981 {_p2} "PAUSED[3]"
view_integer_variable $6982 {_p2} "SKIPPED_CUTSCENE"

:CAT1_1103
if 
  70@ == 3
goto_if_false @CAT1_1351
set_var_int_to_lvar_int $6975 = 104@
set_var_int_to_lvar_int $6976 = 105@
set_var_int_to_lvar_int $6977 = 106@
set_var_int_to_lvar_int $6978 = 107@
set_var_int_to_lvar_int $CAT1_view_debug_f = 109@
set_var_int_to_lvar_int $6980 = 110@
set_var_int_to_lvar_int $6981 = 111@
set_var_int_to_lvar_int $6982 = 115@
view_integer_variable $6975 {_p2} "ROBBER_FLAG[0]"
view_integer_variable $6976 {_p2} "ROBBER_FLAG[1]"
view_integer_variable $6977 {_p2} "ROBBER_FLAG[2]"
view_integer_variable $6978 {_p2} "ROBBER_FLAG[3]"
view_integer_variable $CAT1_view_debug_f {_p2} "CHASE_FLAG[0]"
view_integer_variable $6980 {_p2} "CHASE_FLAG[1]"
view_integer_variable $6981 {_p2} "CHASE_FLAG[2]"
view_integer_variable $6982 {_p2} "PLAYER_PROGRESS"

:CAT1_1351
if 
  70@ == 4
goto_if_false @CAT1_1629
set_var_int_to_lvar_int $6975 = 112@
set_var_int_to_lvar_int $6976 = 113@
set_var_int_to_lvar_int $6977 = 114@
set_var_float_to_lvar_float $6986 = 127@
set_var_float_to_lvar_float $cat1_pickups_collected = 128@
set_var_float_to_lvar_float $c3_trailer_health_display = 129@
set_var_float_to_lvar_float $c3_rand_escort = 133@
set_var_int_to_lvar_int $6982 = 116@
view_integer_variable $6975 {_p2} "PLAYBACK_PAUSED[0]"
view_integer_variable $6976 {_p2} "PLAYBACK_PAUSED[1]"
view_integer_variable $6977 {_p2} "PLAYBACK_PAUSED[2]"
view_float_variable $6986 {_p2} "QUAD_PLAYBACK_SPEED[0]"
view_float_variable $cat1_pickups_collected {_p2} "QUAD_PLAYBACK_SPEED[1]"
view_float_variable $c3_trailer_health_display {_p2} "QUAD_PLAYBACK_SPEED[2]"
view_float_variable $c3_rand_escort {_p2} "MASTER_SPEED"
view_integer_variable $6982 {_p2} "SHOW_GUN"

:CAT1_1629
if 
  70@ == 5
goto_if_false @CAT1_1827
set_var_float_to_lvar_float $6983 = 137@
set_var_float_to_lvar_float $6984 = 138@
set_var_float_to_lvar_float $6985 = 139@
set_var_float_to_lvar_float $6986 = 130@
set_var_float_to_lvar_float $cat1_pickups_collected = 131@
set_var_float_to_lvar_float $c3_trailer_health_display = 132@
view_float_variable $6983 {_p2} "LOOK_X"
view_float_variable $6984 {_p2} "LOOK_Y"
view_float_variable $6985 {_p2} "LOOK_Z"
view_float_variable $6986 {_p2} "QUAD_DIST_FROM_PLAYER[0]"
view_float_variable $cat1_pickups_collected {_p2} "QUAD_DIST_FROM_PLAYER[1]"
view_float_variable $c3_trailer_health_display {_p2} "QUAD_DIST_FROM_PLAYER[2]"

:CAT1_1827
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @CAT1_1849
38@ = 1

:CAT1_1849
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @CAT1_1937
if 
  71@ == 0
goto_if_false @CAT1_1912
71@ = 1
write_debug "LEVEL_PAUSED"
goto @CAT1_1937

:CAT1_1912
71@ = 0
write_debug "LEVEL_UNPAUSED"

:CAT1_1937
if 
  71@ == 1
goto_if_false @CAT1_1962
goto @CAT1_532

:CAT1_1962
if 
is_ps2_keyboard_key_just_pressed 136
goto_if_false @CAT1_1985
35@ += 1

:CAT1_1985
if 
is_ps2_keyboard_key_just_pressed 135
goto_if_false @CAT1_2008
35@ -= 1

:CAT1_2008
if 
is_ps2_keyboard_key_just_pressed 134
goto_if_false @CAT1_2031
34@ += 1

:CAT1_2031
if 
is_ps2_keyboard_key_just_pressed 133
goto_if_false @CAT1_2054
34@ -= 1

:CAT1_2054
if 
is_ps2_keyboard_key_just_pressed 146
goto_if_false @CAT1_2077
35@ = 99

:CAT1_2077
return 

:CAT1_2079
if 
  35@ == -1
goto_if_false @CAT1_2236
78@ = Car.Create(413, 0.0, 0.0, 0.0)
79@ = Car.Create(413, 0.0, 0.0, 0.0)
72@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
87@ = Blip.AddForCoord(0.0, 0.0, 0.0)
$finaleB_played_first_time_round = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
95@ = Pickup.Create(#BRIEFCASE, PickupType.Once, 0.0, 0.0, 0.0)

:CAT1_2236
98@ = 0
99@ = 0
$game_timer1_cat4 = 0
100@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
105@ = 0
106@ = 0
107@ = 0
108@ = 0
109@ = 0
110@ = 0
111@ = 0
112@ = 0
113@ = 0
114@ = 0
115@ = 0
116@ = 0
117@ = 0
118@ = 0
143@ = 0.0
144@ = 0.0
119@ = 0
120@ = 0
155@ = 0
87@ = 0
88@ = 0
89@ = 0
90@ = 0
91@ = 0
92@ = 0
93@ = 0
94@ = 0
72@ = 0
73@ = 0
74@ = 0
75@ = 0
76@ = 0
77@ = 0
78@ = 0
79@ = 0
80@ = 0
81@ = 0
82@ = 0
83@ = 0
84@ = 0
85@ = 0
86@ = 0
95@ = -1
96@ = -1
97@ = -1
121@ = 0
122@ = 0
123@ = 0
124@ = 0
125@ = 0
Player.SetGroupRecruitment($statbike_temp, False)
Player.SetGroupToFollowAlways($statbike_temp, True)
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.LoadMissionText('CAT')
gosub @CAT1_32437
return 

:CAT1_2698
switch_start 35@ {numCases} 26 {hasDefaultCase} 0 {defaultLabel} @CAT1_9936 {caseNum1} 0 {caseLabel1} @CAT1_2956 {caseNum2} 1 {caseLabel2} @CAT1_3282 {caseNum3} 2 {caseLabel3} @CAT1_5459 {caseNum4} 3 {caseLabel4} @CAT1_5473 {caseNum5} 4 {caseLabel5} @CAT1_5732 {caseNum6} 5 {caseLabel6} @CAT1_6005 {caseNum7} 6 {caseLabel7} @CAT1_6183
switch_continued 7 {caseLabel1} @CAT1_6293 {caseNum2} 8 {caseLabel2} @CAT1_6403 {caseNum3} 9 {caseLabel3} @CAT1_6511 {caseNum4} 10 {caseLabel4} @CAT1_7099 {caseNum5} 11 {caseLabel5} @CAT1_7681 {caseNum6} 12 {caseLabel6} @CAT1_7732 {caseNum7} 13 {caseLabel7} @CAT1_7823 {caseNum8} 14 {caseLabel8} @CAT1_7933 {caseNum9} 15 {caseLabel9} @CAT1_8043
switch_continued 16 {caseLabel1} @CAT1_8148 {caseNum2} 17 {caseLabel2} @CAT1_8181 {caseNum3} 18 {caseLabel3} @CAT1_8951 {caseNum4} 19 {caseLabel4} @CAT1_9070 {caseNum5} 20 {caseLabel5} @CAT1_9161 {caseNum6} 21 {caseLabel6} @CAT1_9502 {caseNum7} 22 {caseLabel7} @CAT1_9535 {caseNum8} 23 {caseLabel8} @CAT1_9630 {caseNum9} 24 {caseLabel9} @CAT1_9842
switch_continued 25 {caseLabel1} @CAT1_9856 {caseNum2} -1 {caseLabel2} @CAT1_9936 {caseNum3} -1 {caseLabel3} @CAT1_9936 {caseNum4} -1 {caseLabel4} @CAT1_9936 {caseNum5} -1 {caseLabel5} @CAT1_9936 {caseNum6} -1 {caseLabel6} @CAT1_9936 {caseNum7} -1 {caseLabel7} @CAT1_9936 {caseNum8} -1 {caseLabel8} @CAT1_9936 {caseNum9} -1 {caseLabel9} @CAT1_9936

:CAT1_2956
Streaming.RequestModel(471)
Streaming.RequestModel(161)
Streaming.RequestModel(162)
Streaming.RequestModel(346)
Streaming.RequestModel(44)
Streaming.RequestModel(77)
Streaming.LoadAllModelsNow

:CAT1_2986
if or
  not Streaming.HasModelLoaded(471)
  not Streaming.HasModelLoaded(161)
  not Streaming.HasModelLoaded(162)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(44)
  not Streaming.HasModelLoaded(77)
goto_if_false @CAT1_3036
wait 0
goto @CAT1_2986

:CAT1_3036
Streaming.RequestCarRecording(501)
Streaming.RequestCarRecording(502)
Streaming.RequestCarRecording(503)
Streaming.RequestCarRecording(504)

:CAT1_3056
if or
  not Streaming.HasCarRecordingBeenLoaded(501)
  not Streaming.HasCarRecordingBeenLoaded(502)
  not Streaming.HasCarRecordingBeenLoaded(503)
  not Streaming.HasCarRecordingBeenLoaded(504)
goto_if_false @CAT1_3098
wait 0
goto @CAT1_3056

:CAT1_3098
Streaming.RequestCarRecording(505)
Streaming.RequestCarRecording(506)
Streaming.RequestCarRecording(507)
Streaming.RequestCarRecording(509)

:CAT1_3118
if or
  not Streaming.HasCarRecordingBeenLoaded(505)
  not Streaming.HasCarRecordingBeenLoaded(506)
  not Streaming.HasCarRecordingBeenLoaded(507)
  not Streaming.HasCarRecordingBeenLoaded(509)
goto_if_false @CAT1_3160
wait 0
goto @CAT1_3118

:CAT1_3160
TIMERA = 0
TIMERB = 0
Streaming.LoadSpecialCharacter(5, 'CAT')

:CAT1_3187
if 
  not Streaming.HasSpecialCharacterLoaded(5)
goto_if_false @CAT1_3226
wait 0
Streaming.LoadSpecialCharacter(5, 'CAT')
goto @CAT1_3187

:CAT1_3226
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 41800)

:CAT1_3235
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @CAT1_3261
wait 0
goto @CAT1_3235

:CAT1_3261
35@ += 1
goto @CAT1_25325
goto @CAT1_9936

:CAT1_3282
if 
  Char.DoesExist($finaleB_played_first_time_round)
goto_if_false @CAT1_3303
Char.Delete($finaleB_played_first_time_round)

:CAT1_3303
$finaleB_played_first_time_round = Char.Create(PedType.Special, 294, 261.1952, -79.2717, 0.4697)
Char.SetHeading($finaleB_played_first_time_round, 41.0763)
Char.SetDrownsInWater($finaleB_played_first_time_round, False)
146@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
145@ = DecisionMakerGroup.Load(0)
Text.ClearPrints
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(257.5389, -77.23, 1.3678, 300.0, True)
Streaming.LoadScene(261.1952, -79.2717, 0.4697)
98@ = 1
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_3481
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT1_3481
Char.RemoveFromGroup($finaleB_played_first_time_round)
99@ = 0

:CAT1_3481
if 
  not Car.IsDead(78@)
goto_if_false @CAT1_3616
43@ = Car.GetModel(78@)
$on_footY, $on_footZ, $in_carX, 56@, 57@, 58@ = Streaming.GetModelDimensions(43@)
set_lvar_float_to_lvar_float 46@ = 57@
sub_float_var_from_float_lvar 46@ -= $on_footZ
46@ /= 1.8
$on_footY = 259.7206
$on_footZ = -77.2067
$in_carX = 0.5781
sub_float_lvar_from_float_var $on_footY -= 46@
Car.SetCoordinates(78@, $on_footY, $on_footZ, $in_carX)
Car.SetHeading(78@, 265.6523)

:CAT1_3616
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_3850
Char.ClearTasksImmediately($finaleB_played_first_time_round)
if 
  not Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT1_3698
Char.SetCoordinates($finaleB_played_first_time_round, 261.1952, -79.2717, 0.4697)
Char.SetHeading($finaleB_played_first_time_round, 41.0763)
Char.SetDecisionMaker($finaleB_played_first_time_round, 67@)
goto @CAT1_3736

:CAT1_3698
Char.WarpFromCarToCoord($finaleB_played_first_time_round, 261.1952, -79.2717, 0.4697)
Char.SetHeading($finaleB_played_first_time_round, 41.0763)
Char.SetDecisionMaker($finaleB_played_first_time_round, 67@)

:CAT1_3736
43@ = Char.GetCurrentWeapon($finaleB_played_first_time_round)
if 
  not is_int_lvar_equal_to_constant 43@ == 28
goto_if_false @CAT1_3850
if 
  not Streaming.HasModelLoaded(352)
goto_if_false @CAT1_3810
Streaming.RequestModel(352)

:CAT1_3783
if 
  not Streaming.HasModelLoaded(352)
goto_if_false @CAT1_3810
wait 0
goto @CAT1_3783

:CAT1_3810
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_3850
Char.GiveWeapon($finaleB_played_first_time_round, WeaponType.MicroUzi, 99999)
Char.SetCurrentWeapon($finaleB_played_first_time_round, WeaponType.MicroUzi)
Streaming.MarkModelAsNoLongerNeeded(352)

:CAT1_3850
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT1_3908
Char.SetCoordinates($stattreadstamina_ctr, 259.9737, -78.3268, 0.6181)
Char.SetHeading($stattreadstamina_ctr, 38.3173)
goto @CAT1_3938

:CAT1_3908
Char.WarpFromCarToCoord($stattreadstamina_ctr, 259.9737, -78.3268, 0.6181)
Char.SetHeading($stattreadstamina_ctr, 38.3173)

:CAT1_3938
79@ = Car.Create(471, 230.6799, -85.1536, 0.4296)
Car.SetHeading(79@, 17.5494)
Car.SetCruiseSpeed(79@, 20.0)
Car.SetDrivingStyle(79@, DrivingMode.AvoidCars)
Car.SetUpsidedownNotDamaged(79@, True)
Car.SetOnlyDamagedByPlayer(79@, True)
80@ = Car.Create(471, 232.2597, -90.1452, 0.4297)
Car.SetHeading(80@, 17.5685)
Car.SetCruiseSpeed(80@, 20.0)
Car.SetDrivingStyle(80@, DrivingMode.AvoidCars)
Car.SetUpsidedownNotDamaged(80@, True)
Car.SetOnlyDamagedByPlayer(80@, True)
81@ = Car.Create(471, 234.0826, -95.9093, 0.4375)
Car.SetHeading(81@, 17.5565)
Car.SetCruiseSpeed(81@, 20.0)
Car.SetDrivingStyle(81@, DrivingMode.AvoidCars)
Car.SetUpsidedownNotDamaged(81@, True)
Car.SetOnlyDamagedByPlayer(81@, True)
82@ = Car.Create(471, 235.3937, -100.0505, 0.4375)
Car.SetHeading(82@, 17.5591)
Car.SetCruiseSpeed(82@, 20.0)
Car.SetDrivingStyle(82@, DrivingMode.AvoidCars)
Car.SetUpsidedownNotDamaged(82@, True)
Car.SetOnlyDamagedByPlayer(82@, True)
43@ = 0

:CAT1_4201
if 
  4 > 43@
goto_if_false @CAT1_4496
if 
  not Car.IsDead(79@(43@,4i))
goto_if_false @CAT1_4482
if 
  43@ == 0
goto_if_false @CAT1_4278
72@(43@,4i) = Char.CreateInsideCar(79@(43@,4i), PedType.Mission1, 161)

:CAT1_4278
if 
  43@ == 1
goto_if_false @CAT1_4317
72@(43@,4i) = Char.CreateInsideCar(79@(43@,4i), PedType.Mission1, 162)

:CAT1_4317
if 
  43@ == 2
goto_if_false @CAT1_4356
72@(43@,4i) = Char.CreateInsideCar(79@(43@,4i), PedType.Mission1, 161)

:CAT1_4356
if 
  43@ == 3
goto_if_false @CAT1_4395
72@(43@,4i) = Char.CreateInsideCar(79@(43@,4i), PedType.Mission1, 162)

:CAT1_4395
Char.SetAccuracy(72@(43@,4i), 60)
Char.GiveWeapon(72@(43@,4i), WeaponType.Pistol, 99999)
Task.TogglePedThreatScanner(72@(43@,4i), False, False, False)
Char.SetDecisionMaker(72@(43@,4i), 67@)
Char.SetProofs(72@(43@,4i), True, True, True, True, True)
Char.SetAnimGroup(72@(43@,4i), "MAN")

:CAT1_4482
43@ += 1
goto @CAT1_4201

:CAT1_4496
Car.StartPlayback(79@, 501)
Car.StartPlayback(80@, 502)
Car.StartPlayback(81@, 503)
Car.StartPlayback(82@, 504)
43@ = 0

:CAT1_4535
if 
  4 > 43@
goto_if_false @CAT1_4658
if 
  43@ <> 0
goto_if_false @CAT1_4624
if 
  43@ <> 3
goto_if_false @CAT1_4610
Car.SkipInPlayback(79@(43@,4i), 5.0)
goto @CAT1_4624

:CAT1_4610
Car.SkipInPlayback(79@(43@,4i), 7.0)

:CAT1_4624
Car.PausePlayback(79@(43@,4i))
100@(43@,4i) = 1
43@ += 1
goto @CAT1_4535

:CAT1_4658
76@ = Char.Create(PedType.CivMale, 44, 251.6866, -54.9554, 0.6181)
Char.SetHeading(76@, 174.9027)
Char.SetDecisionMaker(76@, 67@)
77@ = Char.Create(PedType.CivFemale, 77, 251.6549, -56.4859, 0.6255)
Char.SetHeading(77@, 354.6266)
Char.SetDecisionMaker(77@, 67@)
Task.ChatWithChar(76@, 77@, True, 1)
Task.ChatWithChar(77@, 76@, False, 1)
134@ = 261.814
135@ = -79.2233
136@ = 3.2479
137@ = 261.3385
138@ = -78.3447
139@ = 3.2922
set_var_float_to_lvar_float $on_footY = 137@
sub_float_lvar_from_float_var $on_footY -= 134@
set_var_float_to_lvar_float $on_footZ = 138@
sub_float_lvar_from_float_var $on_footZ -= 135@
set_var_float_to_lvar_float $in_carX = 139@
sub_float_lvar_from_float_var $in_carX -= 136@
46@ = Math.GetDistanceBetweenCoords3D(137@, 138@, 139@, 134@, 135@, 136@)
div_float_var_by_float_lvar $on_footY /= 46@
div_float_var_by_float_lvar $on_footZ /= 46@
div_float_var_by_float_lvar $in_carX /= 46@
$on_footY *= 15.0
$on_footZ *= 15.0
$in_carX *= 15.0
set_lvar_float_to_lvar_float 137@ = 134@
add_float_var_to_float_lvar 137@ += $on_footY
set_lvar_float_to_lvar_float 138@ = 135@
add_float_var_to_float_lvar 138@ += $on_footZ
set_lvar_float_to_lvar_float 139@ = 136@
add_float_var_to_float_lvar 139@ += $in_carX
$on_footY = 260.876
$on_footY -= 261.4119
$on_footZ = -77.7132
$on_footZ += 78.5511
$in_carX = 2.2067
$in_carX -= 2.3102
46@ = Math.GetDistanceBetweenCoords3D(261.4119, -78.5511, 2.3102, 260.876, -77.7132, 2.2067)
div_float_var_by_float_lvar $on_footY /= 46@
div_float_var_by_float_lvar $on_footZ /= 46@
div_float_var_by_float_lvar $in_carX /= 46@
$on_footY *= 15.0
$on_footZ *= 15.0
$in_carX *= 15.0
140@ = 261.4119
add_float_var_to_float_lvar 140@ += $on_footY
141@ = -78.5511
add_float_var_to_float_lvar 141@ += $on_footZ
142@ = 2.3102
add_float_var_to_float_lvar 142@ += $in_carX
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("DEST_LOOK_XYZ = ")
save_float_to_debug_file 140@
save_float_to_debug_file 141@
save_float_to_debug_file 142@
Camera.SetFixedPosition(134@, 135@, 136@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(137@, 138@, 139@, SwitchType.JumpCut)
Camera.SetNearClip(0.1)
wait 500
Camera.DoFade(500, Fade.In)

:CAT1_5407
if 
  Camera.GetFadingStatus
goto_if_false @CAT1_5431
wait 0
goto @CAT1_5407

:CAT1_5431
TIMERA = 0
TIMERB = 0
35@ += 1
goto @CAT1_9936

:CAT1_5459
35@ += 1
goto @CAT1_9936

:CAT1_5473
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_5585
Char.ClearTasksImmediately($finaleB_played_first_time_round)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 261.2168, -77.1227, 0.6181, MoveState.Walk, 3000)
Task.AchieveHeading(-1, 41.0763)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence($finaleB_played_first_time_round, 49@)
Sequence.Clear(49@)

:CAT1_5585
Char.ClearTasksImmediately($stattreadstamina_ctr)
49@ = Sequence.Open()
Task.Pause(-1, 2000)
Task.GoStraightToCoord(-1, 260.7615, -77.7368, 0.6181, MoveState.Walk, 8000)
Task.AchieveHeading(-1, 5.0)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_5661
Task.LookAtChar(-1, $finaleB_played_first_time_round, 8000)

:CAT1_5661
Task.Pause(-1, 3000)
Sequence.Close(49@)
Char.PerformSequence($stattreadstamina_ctr, 49@)
Sequence.Clear(49@)
TIMERA = 0
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8800)
148@ = 0
35@ += 1
goto @CAT1_9936

:CAT1_5732
if 
  TIMERA > 1500
goto_if_false @CAT1_5863
set_var_text_label s$bd_future_time_shown = 'CAT1_AA'
set_var_int_to_constant $bd_x = 8800
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  $distance == 0
goto_if_false @CAT1_5828
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8802)
goto @CAT1_5835

:CAT1_5828
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8801)

:CAT1_5835
TIMERA = 0
35@ += 1
TIMERA = 0
goto @CAT1_5991

:CAT1_5863
if 
  TIMERA > 1000
goto_if_false @CAT1_5991
if 
  148@ == 0
goto_if_false @CAT1_5991
Camera.ResetNewScriptables
Camera.SetVectorMove(261.814, -79.2233, 3.2479, 261.4119, -78.5511, 2.3102, 3000, True)
Camera.SetVectorTrack(261.3385, -78.3447, 3.2922, 253.3734, -65.9824, 0.7577, 3000, True)
Camera.PersistTrack(True)
Camera.PersistPos(True)
148@ += 1

:CAT1_5991
TIMERB = 0
goto @CAT1_9936

:CAT1_6005
if 
  TIMERA > 1000
goto_if_false @CAT1_6176
if 
  $audio_line_terminate_all == 0
goto_if_false @CAT1_6176
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_6063
Char.ClearTasks($finaleB_played_first_time_round)

:CAT1_6063
if 
  $distance == 0
goto_if_false @CAT1_6110
set_var_text_label s$bd_future_time_shown = 'CAT1_AC'
set_var_int_to_constant $bd_x = 8802
goto @CAT1_6132

:CAT1_6110
set_var_text_label s$bd_future_time_shown = 'CAT1_AB'
set_var_int_to_constant $bd_x = 8801

:CAT1_6132
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8803)
TIMERA = 0
35@ += 1

:CAT1_6176
goto @CAT1_9936

:CAT1_6183
if 
  TIMERA > 1000
goto_if_false @CAT1_6286
if 
  $audio_line_terminate_all == 0
goto_if_false @CAT1_6286
set_var_text_label s$bd_future_time_shown = 'CAT1_AD'
set_var_int_to_constant $bd_x = 8803
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8804)
TIMERA = 0
35@ += 1

:CAT1_6286
goto @CAT1_9936

:CAT1_6293
if 
  TIMERA > 1000
goto_if_false @CAT1_6396
if 
  $audio_line_terminate_all == 0
goto_if_false @CAT1_6396
set_var_text_label s$bd_future_time_shown = 'CAT1_AE'
set_var_int_to_constant $bd_x = 8804
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8805)
TIMERA = 0
35@ += 1

:CAT1_6396
goto @CAT1_9936

:CAT1_6403
if 
  104@ == 2
goto_if_false @CAT1_6504
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_6504
Camera.ResetNewScriptables
Camera.SetFixedPosition(260.045, -63.3693, 2.4676, 0.0, 0.0, 0.0)
Camera.PointAtPoint(259.1025, -63.6456, 2.2799, SwitchType.JumpCut)
35@ += 1
TIMERA = 0

:CAT1_6504
goto @CAT1_9936

:CAT1_6511
if 
  TIMERA > 2500
goto_if_false @CAT1_7092
Camera.SetFixedPosition(250.2375, -53.7657, 2.328, 0.0, 0.0, 0.0)
Camera.PointAtPoint(250.8728, -54.5222, 2.1726, SwitchType.JumpCut)
if 
  not Char.IsDead(72@)
goto_if_false @CAT1_6689
Char.ClearTasksImmediately(72@)
Char.SetCoordinates(72@, 252.6819, -56.3618, 0.6181)
Char.SetHeading(72@, 20.1267)
if 
  not Char.IsDead(76@)
goto_if_false @CAT1_6689
49@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.AimGunAtChar(-1, 76@, 999999)
Sequence.Close(49@)
Char.PerformSequence(72@, 49@)
Sequence.Clear(49@)

:CAT1_6689
if 
  not Char.IsDead(73@)
goto_if_false @CAT1_6819
Char.ClearTasksImmediately(73@)
Char.SetCoordinates(73@, 252.1074, -57.8084, 0.6181)
Char.SetHeading(73@, 21.3066)
if 
  not Char.IsDead(77@)
goto_if_false @CAT1_6819
Char.SetHealth(77@, 1)
49@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.LookAtChar(-1, 77@, 5000)
Task.AimGunAtChar(-1, 77@, 2300)
Task.KillCharOnFoot(-1, 77@)
Sequence.Close(49@)
Char.PerformSequence(73@, 49@)
Sequence.Clear(49@)

:CAT1_6819
if 
  not Char.IsDead(74@)
goto_if_false @CAT1_6870
Char.ClearTasksImmediately(74@)
Char.SetCoordinates(74@, 254.4398, -57.6653, 0.6473)
Char.SetHeading(74@, 48.9264)

:CAT1_6870
if 
  not Char.IsDead(75@)
goto_if_false @CAT1_6921
Char.ClearTasksImmediately(75@)
Char.SetCoordinates(75@, 255.1348, -61.2211, 0.6181)
Char.SetHeading(75@, 170.608)

:CAT1_6921
if 
  not Char.IsDead(77@)
goto_if_false @CAT1_7052
Char.ClearTasksImmediately(77@)
49@ = Sequence.Open()
if 
  not Char.IsDead(72@)
goto_if_false @CAT1_6973
Task.LookAtChar(-1, 72@, 5000)

:CAT1_6973
Task.CharSlideToCoordAndPlayAnim(-1, 251.1549, -56.4655, 0.6255, 293.7874, 0.02, "HANDSCOWER", "PED", 4.0, False, False, False, True, -1)
Sequence.Close(49@)
Char.PerformSequence(77@, 49@)
Sequence.Clear(49@)

:CAT1_7052
if 
  not Char.IsDead(76@)
goto_if_false @CAT1_7078
Task.HandsUp(76@, 999999)

:CAT1_7078
35@ += 1
TIMERA = 0

:CAT1_7092
goto @CAT1_9936

:CAT1_7099
if 
  TIMERA > 3000
goto_if_false @CAT1_7674
World.SetPedDensityMultiplier(0.0)
World.ClearArea(242.0291, -62.9491, 2.3886, 50.0, True)
Camera.SetFixedPosition(242.0291, -62.9491, 2.3886, 0.0, 0.0, 0.0)
Camera.PointAtPoint(242.9384, -63.3287, 2.2181, SwitchType.JumpCut)
83@ = Object.Create(#BRIEFCASE, 254.2335, -56.954, 0.6181)
84@ = Object.Create(#BRIEFCASE, 254.2335, -56.954, 0.6181)
85@ = Object.Create(#BRIEFCASE, 254.2335, -56.954, 0.6181)
86@ = Object.Create(#BRIEFCASE, 254.2335, -56.954, 0.6181)
if 
  not Char.IsDead(72@)
goto_if_false @CAT1_7384
Char.ClearTasksImmediately(72@)
Task.PickUpObject(72@, 83@, 0.0, 0.15, 0.0, 5, 16, "NULL", "NULL", 0)
Char.SetCoordinates(72@, 254.2335, -56.954, 0.6181)
Char.SetHeading(72@, 190.0)

:CAT1_7384
if 
  not Char.IsDead(75@)
goto_if_false @CAT1_7476
Char.ClearTasksImmediately(75@)
Task.PickUpObject(75@, 86@, 0.0, 0.15, 0.0, 5, 16, "NULL", "NULL", 0)
Char.SetCoordinates(75@, 254.2521, -58.7186, 0.6181)
Char.SetHeading(75@, 190.0)

:CAT1_7476
if 
  not Char.IsDead(74@)
goto_if_false @CAT1_7568
Char.ClearTasksImmediately(74@)
Task.PickUpObject(74@, 85@, 0.0, 0.15, 0.0, 5, 16, "NULL", "NULL", 0)
Char.SetCoordinates(74@, 254.2762, -60.0254, 0.6255)
Char.SetHeading(74@, 190.0)

:CAT1_7568
if 
  not Char.IsDead(73@)
goto_if_false @CAT1_7660
Char.ClearTasksImmediately(73@)
Task.PickUpObject(73@, 84@, 0.0, 0.15, 0.0, 5, 16, "NULL", "NULL", 0)
Char.SetCoordinates(73@, 255.1927, -54.9104, 0.6181)
Char.SetHeading(73@, 190.0)

:CAT1_7660
TIMERA = 0
35@ += 1

:CAT1_7674
goto @CAT1_9936

:CAT1_7681
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot3, 251.5757, -62.9454, 3.3786)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
124@ = 1
35@ += 1
TIMERA = 0
goto @CAT1_9936

:CAT1_7732
43@ = 0

:CAT1_7739
if 
  4 > 43@
goto_if_false @CAT1_7802
if 
  not Char.IsDead(72@(43@,4i))
goto_if_false @CAT1_7788
104@(43@,4i) += 1

:CAT1_7788
43@ += 1
goto @CAT1_7739

:CAT1_7802
TIMERA = 0
35@ += 1
goto @CAT1_9936

:CAT1_7823
if 
  TIMERA > 1000
goto_if_false @CAT1_7926
if 
  $audio_line_terminate_all == 0
goto_if_false @CAT1_7926
set_var_text_label s$bd_future_time_shown = 'CAT1_AF'
set_var_int_to_constant $bd_x = 8805
start_new_script @AUDIOL 75@ 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8806)
TIMERA = 0
35@ += 1

:CAT1_7926
goto @CAT1_9936

:CAT1_7933
if 
  TIMERA > 1000
goto_if_false @CAT1_8036
if 
  $audio_line_terminate_all == 0
goto_if_false @CAT1_8036
set_var_text_label s$bd_future_time_shown = 'CAT1_AG'
set_var_int_to_constant $bd_x = 8806
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8807)
TIMERA = 0
35@ += 1

:CAT1_8036
goto @CAT1_9936

:CAT1_8043
if 
  10000 > TIMERA
goto_if_false @CAT1_8134
if 
  not Char.IsDead(75@)
goto_if_false @CAT1_8127
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_8127
if 
  Char.IsInCar(75@, 82@)
goto_if_false @CAT1_8127
35@ += 1
TIMERA = 0

:CAT1_8127
goto @CAT1_8141

:CAT1_8134
35@ += 1

:CAT1_8141
goto @CAT1_9936

:CAT1_8148
if 
  TIMERA > 500
goto_if_false @CAT1_8174
35@ += 1

:CAT1_8174
goto @CAT1_9936

:CAT1_8181
43@ = 0

:CAT1_8188
if 
  4 > 43@
goto_if_false @CAT1_8249
if 
  Object.DoesExist(83@(43@,4i))
goto_if_false @CAT1_8235
Object.Delete(83@(43@,4i))

:CAT1_8235
43@ += 1
goto @CAT1_8188

:CAT1_8249
43@ = 0

:CAT1_8256
if 
  4 > 43@
goto_if_false @CAT1_8382
if 
  not Char.IsDead(72@(43@,4i))
goto_if_false @CAT1_8357
if 
  not Car.IsDead(79@(43@,4i))
goto_if_false @CAT1_8357
if 
  not Char.IsInCar(72@(43@,4i), 79@(43@,4i))
goto_if_false @CAT1_8357
Char.WarpIntoCar(72@(43@,4i), 79@(43@,4i))

:CAT1_8357
104@(43@,4i) = 6
43@ += 1
goto @CAT1_8256

:CAT1_8382
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_8496
if 
  not Car.IsPlaybackGoingOn(79@)
goto_if_false @CAT1_8496
if 
  not Streaming.HasCarRecordingBeenLoaded(509)
goto_if_false @CAT1_8462
Streaming.RequestCarRecording(509)

:CAT1_8435
if 
  not Streaming.HasCarRecordingBeenLoaded(509)
goto_if_false @CAT1_8462
wait 0
goto @CAT1_8435

:CAT1_8462
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_8496
Car.StartPlayback(79@, 509)
Car.SkipInPlayback(79@, 2.0)

:CAT1_8496
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_8610
if 
  not Car.IsPlaybackGoingOn(80@)
goto_if_false @CAT1_8610
if 
  not Streaming.HasCarRecordingBeenLoaded(505)
goto_if_false @CAT1_8576
Streaming.RequestCarRecording(505)

:CAT1_8549
if 
  not Streaming.HasCarRecordingBeenLoaded(505)
goto_if_false @CAT1_8576
wait 0
goto @CAT1_8549

:CAT1_8576
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_8610
Car.StartPlayback(80@, 505)
Car.SkipInPlayback(80@, 0.0)

:CAT1_8610
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_8724
if 
  not Car.IsPlaybackGoingOn(81@)
goto_if_false @CAT1_8724
if 
  not Streaming.HasCarRecordingBeenLoaded(506)
goto_if_false @CAT1_8690
Streaming.RequestCarRecording(506)

:CAT1_8663
if 
  not Streaming.HasCarRecordingBeenLoaded(506)
goto_if_false @CAT1_8690
wait 0
goto @CAT1_8663

:CAT1_8690
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_8724
Car.StartPlayback(81@, 506)
Car.SkipInPlayback(81@, 6.0)

:CAT1_8724
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_8838
if 
  not Car.IsPlaybackGoingOn(82@)
goto_if_false @CAT1_8838
if 
  not Streaming.HasCarRecordingBeenLoaded(507)
goto_if_false @CAT1_8804
Streaming.RequestCarRecording(507)

:CAT1_8777
if 
  not Streaming.HasCarRecordingBeenLoaded(507)
goto_if_false @CAT1_8804
wait 0
goto @CAT1_8777

:CAT1_8804
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_8838
Car.StartPlayback(82@, 507)
Car.SkipInPlayback(82@, 3.0)

:CAT1_8838
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_8879
Char.ClearTasksImmediately($finaleB_played_first_time_round)
Char.SetCoordinates($finaleB_played_first_time_round, 260.2472, -75.3335, 0.4697)

:CAT1_8879
TIMERA = 0
Camera.SetFixedPosition(261.735, -75.3817, 2.127, 0.0, 0.0, 0.0)
Camera.PointAtPoint(260.836, -74.9604, 2.0068, SwitchType.JumpCut)
35@ += 1
goto @CAT1_9936

:CAT1_8951
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_9049
Char.SetHeading($finaleB_played_first_time_round, 53.9394)
Char.SetShootRate($finaleB_played_first_time_round, 100)
if 
  not Char.IsDead(75@)
goto_if_false @CAT1_9049
49@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.LookAtChar(-1, 75@, 1000)
Task.AimGunAtChar(-1, 75@, 5000)
Sequence.Close(49@)
Char.PerformSequence($finaleB_played_first_time_round, 49@)
Sequence.Clear(49@)

:CAT1_9049
TIMERA = 0
35@ += 1
goto @CAT1_9936

:CAT1_9070
if 
  $audio_line_terminate_all == 0
goto_if_false @CAT1_9154
set_var_text_label s$bd_future_time_shown = 'CAT1_AH'
set_var_int_to_constant $bd_x = 8807
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 9872)
TIMERA = 0
35@ += 1

:CAT1_9154
goto @CAT1_9936

:CAT1_9161
if 
  TIMERA > 2000
goto_if_false @CAT1_9242
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_9242
if 
  not Char.IsDead(75@)
goto_if_false @CAT1_9242
Char.SetShootRate($finaleB_played_first_time_round, 100)
Task.KillCharOnFoot($finaleB_played_first_time_round, 75@)
Char.SetProofs(75@, True, True, True, True, True)

:CAT1_9242
if 
  TIMERA > 2500
goto_if_false @CAT1_9312
Camera.SetFixedPosition(252.0826, -71.4979, 1.3761, 0.0, 0.0, 0.0)
Camera.PointAtPoint(253.0449, -71.7658, 1.4225, SwitchType.JumpCut)

:CAT1_9312
if 
  TIMERA > 2800
goto_if_false @CAT1_9495
if 
  not Char.IsDead(75@)
goto_if_false @CAT1_9495
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_9495
Char.ClearTasksImmediately(75@)
49@ = Sequence.Open()
Task.DieNamedAnim(-1, "BIKE_FALL_OFF", "PED", 4.0, 1)
Sequence.Close(49@)
Char.PerformSequence(75@, 49@)
Sequence.Clear(49@)
set_var_text_label s$bd_future_time_shown = 'CATX_TD'
set_var_int_to_constant $bd_x = 9872
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8808)
TIMERA = 0
35@ += 1
TIMERA = 0

:CAT1_9495
goto @CAT1_9936

:CAT1_9502
if 
  TIMERA > 1000
goto_if_false @CAT1_9528
35@ += 1

:CAT1_9528
goto @CAT1_9936

:CAT1_9535
if 
  Char.IsDead(75@)
goto_if_false @CAT1_9623
$on_footY, $on_footZ, $in_carX = Char.GetCoordinatesOfDied(75@)
Camera.SetFixedPosition(259.2034, -75.5284, 2.0793, 0.0, 0.0, 0.0)
Camera.PointAtPoint(260.1396, -75.2342, 1.8871, SwitchType.JumpCut)
35@ += 1

:CAT1_9623
goto @CAT1_9936

:CAT1_9630
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_9835
Char.ClearTasks($finaleB_played_first_time_round)
49@ = Sequence.Open()
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_9684
Task.EnterCarAsPassenger(-1, 82@, 5000, 0)

:CAT1_9684
Sequence.Close(49@)
Char.PerformSequence($finaleB_played_first_time_round, 49@)
Sequence.Clear(49@)
Char.ClearTasks($stattreadstamina_ctr)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 263.4937, -75.2639, 0.4697, MoveState.Run, 5000)
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_9762
Task.EnterCarAsDriver(-1, 82@, 10000)

:CAT1_9762
Sequence.Close(49@)
Char.PerformSequence($stattreadstamina_ctr, 49@)
Sequence.Clear(49@)
set_var_text_label s$bd_future_time_shown = 'CAT1_BA'
set_var_int_to_constant $bd_x = 8808
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
TIMERA = 0
35@ += 1

:CAT1_9835
goto @CAT1_9936

:CAT1_9842
35@ += 1
goto @CAT1_9936

:CAT1_9856
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_9929
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_9929
if and
  Char.IsInCar($finaleB_played_first_time_round, 82@)
  Char.IsInCar($stattreadstamina_ctr, 82@)
goto_if_false @CAT1_9929
35@ = 99
TIMERA = 0

:CAT1_9929
goto @CAT1_9936

:CAT1_9936
if 
  35@ > 1
goto_if_false @CAT1_9985
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CAT1_9985
35@ = 99
108@ = 1

:CAT1_9985
if 
  104@ == 0
goto_if_false @CAT1_10091
if 
  100@ == 1
goto_if_false @CAT1_10091
if 
  TIMERB > 1000
goto_if_false @CAT1_10091
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_10091
if 
  Car.IsPlaybackGoingOn(79@)
goto_if_false @CAT1_10091
Car.UnpausePlayback(79@)
100@ = 0
104@ += 1

:CAT1_10091
if 
  105@ == 0
goto_if_false @CAT1_10197
if 
  101@ == 1
goto_if_false @CAT1_10197
if 
  TIMERB > 2000
goto_if_false @CAT1_10197
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_10197
if 
  Car.IsPlaybackGoingOn(80@)
goto_if_false @CAT1_10197
Car.UnpausePlayback(80@)
101@ = 0
105@ += 1

:CAT1_10197
if 
  106@ == 0
goto_if_false @CAT1_10303
if 
  102@ == 1
goto_if_false @CAT1_10303
if 
  TIMERB > 2000
goto_if_false @CAT1_10303
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_10303
if 
  Car.IsPlaybackGoingOn(81@)
goto_if_false @CAT1_10303
Car.UnpausePlayback(81@)
102@ = 0
106@ += 1

:CAT1_10303
if 
  107@ == 0
goto_if_false @CAT1_10409
if 
  103@ == 1
goto_if_false @CAT1_10409
if 
  TIMERB > 3000
goto_if_false @CAT1_10409
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_10409
if 
  Car.IsPlaybackGoingOn(82@)
goto_if_false @CAT1_10409
Car.UnpausePlayback(82@)
103@ = 0
107@ += 1

:CAT1_10409
if 
  104@ == 1
goto_if_false @CAT1_10556
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_10556
if 
  not Car.IsPlaybackGoingOn(79@)
goto_if_false @CAT1_10556
if 
  not Char.IsDead(72@)
goto_if_false @CAT1_10556
Path.FlushRoute
Path.ExtendRoute(254.5467, -62.6116, 0.5625)
Path.ExtendRoute(254.0845, -57.0229, 0.5781)
49@ = Sequence.Open()
Task.LeaveCar(-1, 79@)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(49@)
Char.PerformSequence(72@, 49@)
Sequence.Clear(49@)
104@ += 1

:CAT1_10556
if 
  105@ == 1
goto_if_false @CAT1_10703
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_10703
if 
  not Car.IsPlaybackGoingOn(80@)
goto_if_false @CAT1_10703
if 
  not Char.IsDead(73@)
goto_if_false @CAT1_10703
Path.FlushRoute
Path.ExtendRoute(254.5467, -62.6116, 0.5625)
Path.ExtendRoute(254.0845, -57.0229, 0.5781)
49@ = Sequence.Open()
Task.LeaveCar(-1, 80@)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(49@)
Char.PerformSequence(73@, 49@)
Sequence.Clear(49@)
105@ += 1

:CAT1_10703
if 
  106@ == 1
goto_if_false @CAT1_10850
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_10850
if 
  not Car.IsPlaybackGoingOn(81@)
goto_if_false @CAT1_10850
if 
  not Char.IsDead(74@)
goto_if_false @CAT1_10850
Path.FlushRoute
Path.ExtendRoute(254.5467, -62.6116, 0.5625)
Path.ExtendRoute(254.0845, -57.0229, 0.5781)
49@ = Sequence.Open()
Task.LeaveCar(-1, 81@)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(49@)
Char.PerformSequence(74@, 49@)
Sequence.Clear(49@)
106@ += 1

:CAT1_10850
if 
  107@ == 1
goto_if_false @CAT1_10997
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_10997
if 
  not Car.IsPlaybackGoingOn(82@)
goto_if_false @CAT1_10997
if 
  not Char.IsDead(75@)
goto_if_false @CAT1_10997
Path.FlushRoute
Path.ExtendRoute(254.5467, -62.6116, 0.5625)
Path.ExtendRoute(254.0845, -57.0229, 0.5781)
49@ = Sequence.Open()
Task.LeaveCar(-1, 82@)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(49@)
Char.PerformSequence(75@, 49@)
Sequence.Clear(49@)
107@ += 1

:CAT1_10997
if 
  104@ == 3
goto_if_false @CAT1_11142
if 
  not Char.IsDead(72@)
goto_if_false @CAT1_11142
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_11142
Path.FlushRoute
Path.ExtendRoute(254.6638, -62.4099, 0.6181)
Path.ExtendRoute(252.9, -64.95, 0.6181)
49@ = Sequence.Open()
Task.Pause(-1, 2000)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Task.EnterCarAsDriver(-1, 79@, 20000)
Sequence.Close(49@)
Char.SetNextDesiredMoveState(MoveState.Run)
Char.PerformSequence(72@, 49@)
Sequence.Clear(49@)
104@ += 1

:CAT1_11142
if 
  105@ == 3
goto_if_false @CAT1_11343
if 
  not Char.IsDead(73@)
goto_if_false @CAT1_11343
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_11343
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_11237
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(80@, 1.0, 0.5, 0.0)

:CAT1_11237
Path.FlushRoute
Path.ExtendRoute(255.0126, -62.5672, 0.6181)
Path.ExtendRoute(255.9082, -64.7079, 0.5781)
Path.ExtendRoute($on_footY, $on_footZ, $in_carX)
49@ = Sequence.Open()
Task.Pause(-1, 3000)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Task.EnterCarAsDriver(-1, 80@, 20000)
Sequence.Close(49@)
Char.SetNextDesiredMoveState(MoveState.Run)
Char.PerformSequence(73@, 49@)
Sequence.Clear(49@)
105@ += 1

:CAT1_11343
if 
  106@ == 3
goto_if_false @CAT1_11487
if 
  not Char.IsDead(74@)
goto_if_false @CAT1_11487
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_11487
Path.FlushRoute
Path.ExtendRoute(254.3236, -62.2213, 0.6181)
Path.ExtendRoute(250.654, -65.0175, 0.6181)
49@ = Sequence.Open()
Task.Pause(-1, 0)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Task.EnterCarAsDriver(-1, 81@, 20000)
Sequence.Close(49@)
Char.SetNextDesiredMoveState(MoveState.Run)
Char.PerformSequence(74@, 49@)
Sequence.Clear(49@)
106@ += 1

:CAT1_11487
if 
  107@ == 3
goto_if_false @CAT1_11688
if 
  not Char.IsDead(75@)
goto_if_false @CAT1_11688
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_11688
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_11582
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(82@, 1.0, 0.5, 0.0)

:CAT1_11582
Path.FlushRoute
Path.ExtendRoute(254.0475, -62.7343, 0.6181)
Path.ExtendRoute(247.6622, -64.1287, 0.5781)
Path.ExtendRoute($on_footY, $on_footZ, $in_carX)
49@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Task.EnterCarAsDriver(-1, 82@, 20000)
Sequence.Close(49@)
Char.SetNextDesiredMoveState(MoveState.Run)
Char.PerformSequence(75@, 49@)
Sequence.Clear(49@)
107@ += 1

:CAT1_11688
if 
  104@ == 4
goto_if_false @CAT1_11796
if 
  not Char.IsDead(72@)
goto_if_false @CAT1_11796
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_11796
if 
  Char.LocateOnFootCar3D(72@, 79@, 2.5, 2.5, 2.5, False)
goto_if_false @CAT1_11796
Char.SetNextDesiredMoveState(MoveState.Run)
Task.EnterCarAsDriver(72@, 79@, 5000)
104@ += 1

:CAT1_11796
if 
  105@ == 4
goto_if_false @CAT1_11821
105@ += 1

:CAT1_11821
if 
  106@ == 4
goto_if_false @CAT1_11929
if 
  not Char.IsDead(74@)
goto_if_false @CAT1_11929
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_11929
if 
  Char.LocateOnFootCar3D(74@, 81@, 2.5, 2.5, 2.5, False)
goto_if_false @CAT1_11929
Char.SetNextDesiredMoveState(MoveState.Run)
Task.EnterCarAsDriver(74@, 81@, 5000)
106@ += 1

:CAT1_11929
if 
  107@ == 4
goto_if_false @CAT1_11954
107@ += 1

:CAT1_11954
if 
  104@ == 5
goto_if_false @CAT1_12102
if 
  not Char.IsDead(72@)
goto_if_false @CAT1_12102
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_12102
if 
  Char.IsInCar(72@, 79@)
goto_if_false @CAT1_12102
if 
  not Streaming.HasCarRecordingBeenLoaded(509)
goto_if_false @CAT1_12071
Streaming.RequestCarRecording(509)

:CAT1_12044
if 
  not Streaming.HasCarRecordingBeenLoaded(509)
goto_if_false @CAT1_12071
wait 0
goto @CAT1_12044

:CAT1_12071
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_12095
Car.StartPlayback(79@, 509)

:CAT1_12095
104@ += 1

:CAT1_12102
if 
  105@ == 5
goto_if_false @CAT1_12250
if 
  not Char.IsDead(73@)
goto_if_false @CAT1_12250
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_12250
if 
  Char.IsInCar(73@, 80@)
goto_if_false @CAT1_12250
if 
  not Streaming.HasCarRecordingBeenLoaded(505)
goto_if_false @CAT1_12219
Streaming.RequestCarRecording(505)

:CAT1_12192
if 
  not Streaming.HasCarRecordingBeenLoaded(505)
goto_if_false @CAT1_12219
wait 0
goto @CAT1_12192

:CAT1_12219
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_12243
Car.StartPlayback(80@, 505)

:CAT1_12243
105@ += 1

:CAT1_12250
if 
  106@ == 5
goto_if_false @CAT1_12398
if 
  not Char.IsDead(74@)
goto_if_false @CAT1_12398
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_12398
if 
  Char.IsInCar(74@, 81@)
goto_if_false @CAT1_12398
if 
  not Streaming.HasCarRecordingBeenLoaded(506)
goto_if_false @CAT1_12367
Streaming.RequestCarRecording(506)

:CAT1_12340
if 
  not Streaming.HasCarRecordingBeenLoaded(506)
goto_if_false @CAT1_12367
wait 0
goto @CAT1_12340

:CAT1_12367
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_12391
Car.StartPlayback(81@, 506)

:CAT1_12391
106@ += 1

:CAT1_12398
if 
  107@ == 5
goto_if_false @CAT1_12546
if 
  not Char.IsDead(75@)
goto_if_false @CAT1_12546
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_12546
if 
  Char.IsInCar(75@, 82@)
goto_if_false @CAT1_12546
if 
  not Streaming.HasCarRecordingBeenLoaded(507)
goto_if_false @CAT1_12515
Streaming.RequestCarRecording(507)

:CAT1_12488
if 
  not Streaming.HasCarRecordingBeenLoaded(507)
goto_if_false @CAT1_12515
wait 0
goto @CAT1_12488

:CAT1_12515
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_12539
Car.StartPlayback(82@, 507)

:CAT1_12539
107@ += 1

:CAT1_12546
if 
  104@ == 7
goto_if_false @CAT1_12633
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_12633
if 
  not Car.IsPlaybackGoingOn(79@)
goto_if_false @CAT1_12633
Car.SetCoordinates(79@, 376.1397, -94.8354, 1.8378)
Car.SetHeading(79@, 285.1002)
104@ += 1

:CAT1_12633
if 
  105@ == 7
goto_if_false @CAT1_12720
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_12720
if 
  not Car.IsPlaybackGoingOn(80@)
goto_if_false @CAT1_12720
Car.SetCoordinates(80@, 370.2741, -95.2991, 1.3107)
Car.SetHeading(80@, 273.2807)
105@ += 1

:CAT1_12720
if 
  106@ == 7
goto_if_false @CAT1_12807
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_12807
if 
  not Car.IsPlaybackGoingOn(81@)
goto_if_false @CAT1_12807
Car.SetCoordinates(81@, 363.1674, -95.3071, 0.7736)
Car.SetHeading(81@, 273.2807)
106@ += 1

:CAT1_12807
if 
  35@ == 99
goto_if_false @CAT1_14055
Camera.ResetNewScriptables
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
98@ = 0
100@ = 0
101@ = 0
102@ = 0
103@ = 0
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_12940
if 
  Car.IsPlaybackGoingOn(79@)
goto_if_false @CAT1_12910
Car.StopPlayback(79@)

:CAT1_12910
Car.SetCoordinates(79@, 376.1397, -94.8354, 1.8378)
Car.SetHeading(79@, 285.1002)

:CAT1_12940
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_13007
if 
  Car.IsPlaybackGoingOn(80@)
goto_if_false @CAT1_12977
Car.StopPlayback(80@)

:CAT1_12977
Car.SetCoordinates(80@, 370.2741, -95.2991, 1.3107)
Car.SetHeading(80@, 273.2807)

:CAT1_13007
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_13074
if 
  Car.IsPlaybackGoingOn(81@)
goto_if_false @CAT1_13044
Car.StopPlayback(81@)

:CAT1_13044
Car.SetCoordinates(81@, 363.1674, -95.3071, 0.7736)
Car.SetHeading(81@, 273.2807)

:CAT1_13074
if 
  108@ == 1
goto_if_false @CAT1_13167
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_13167
if 
  Car.IsPlaybackGoingOn(82@)
goto_if_false @CAT1_13129
Car.StopPlayback(82@)

:CAT1_13129
Car.SetCoordinates(82@, 263.8679, -73.6352, 0.4297)
Car.SetHeading(82@, 272.3554)
Car.SetHealth(82@, 1500)

:CAT1_13167
Char.Delete(72@)
Char.Delete(73@)
Char.Delete(74@)
Char.Delete(75@)
Object.Delete(83@)
Object.Delete(84@)
Object.Delete(85@)
Object.Delete(86@)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_13262
Char.SetDecisionMaker($finaleB_played_first_time_round, 68@)
Char.ClearTasksImmediately($finaleB_played_first_time_round)
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_13262
Char.WarpIntoCarAsPassenger($finaleB_played_first_time_round, 82@, 0)

:CAT1_13262
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Car.IsDead(82@)
goto_if_false @CAT1_13291
Char.WarpIntoCar($stattreadstamina_ctr, 82@)

:CAT1_13291
43@ = 0

:CAT1_13298
if 
  4 > 43@
goto_if_false @CAT1_13658
if 
  not Car.IsDead(79@(43@,4i))
goto_if_false @CAT1_13644
if 
  43@ == 0
goto_if_false @CAT1_13383
72@(43@,4i) = Char.Create(PedType.Mission1, 161, 0.0, 0.0, 0.0)

:CAT1_13383
if 
  43@ == 1
goto_if_false @CAT1_13430
72@(43@,4i) = Char.Create(PedType.Mission1, 162, 0.0, 0.0, 0.0)

:CAT1_13430
if 
  43@ == 2
goto_if_false @CAT1_13477
72@(43@,4i) = Char.Create(PedType.Mission1, 161, 0.0, 0.0, 0.0)

:CAT1_13477
if 
  43@ == 3
goto_if_false @CAT1_13524
72@(43@,4i) = Char.Create(PedType.Mission1, 162, 0.0, 0.0, 0.0)

:CAT1_13524
Char.SetAccuracy(72@(43@,4i), 60)
Char.GiveWeapon(72@(43@,4i), WeaponType.Pistol, 99999)
Task.TogglePedThreatScanner(72@(43@,4i), False, False, False)
Char.SetDecisionMaker(72@(43@,4i), 68@)
Char.SetProofs(72@(43@,4i), False, False, False, False, False)
Char.SetAnimGroup(72@(43@,4i), "MAN")
Char.SetSuffersCriticalHits(72@(43@,4i), False)
Char.SetMaxHealth(72@(43@,4i), 100)
Char.SetHealth(72@(43@,4i), 100)

:CAT1_13644
43@ += 1
goto @CAT1_13298

:CAT1_13658
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_13682
Char.WarpIntoCar(72@, 79@)

:CAT1_13682
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_13706
Char.WarpIntoCar(73@, 80@)

:CAT1_13706
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_13730
Char.WarpIntoCar(74@, 81@)

:CAT1_13730
43@ = 0

:CAT1_13737
if 
  3 > 43@
goto_if_false @CAT1_13816
Car.SetCruiseSpeed(79@(43@,4i), 20.0)
Car.SetDrivingStyle(79@(43@,4i), DrivingMode.AvoidCars)
Car.SetUpsidedownNotDamaged(79@(43@,4i), True)
Car.SetOnlyDamagedByPlayer(79@(43@,4i), True)
43@ += 1
goto @CAT1_13737

:CAT1_13816
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Char.SetCoordinates(75@, 257.1983, -72.641, 1.4697)
Task.Dead(75@)
Char.MarkAsNoLongerNeeded(76@)
Char.MarkAsNoLongerNeeded(77@)
Char.MarkAsNoLongerNeeded(75@)
Streaming.MarkModelAsNoLongerNeeded(471)
Streaming.MarkModelAsNoLongerNeeded(161)
Streaming.MarkModelAsNoLongerNeeded(162)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(44)
Streaming.MarkModelAsNoLongerNeeded(77)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
if 
  124@ <> 1
goto_if_false @CAT1_13950
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot3, 251.5757, -62.9454, 3.3786)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
124@ = 1

:CAT1_13950
98@ = 1
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT1_14037
if 
  Blip.DoesExist(87@)
goto_if_false @CAT1_13997
Blip.Remove(87@)

:CAT1_13997
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Char.SetDrownsInWater($finaleB_played_first_time_round, False)
99@ = 1
64@ = 0
goto @CAT1_14044

:CAT1_14037
99@ = 1

:CAT1_14044
Audio.SetRadioChannel(RadioChannel.KRose)
gosub @CAT1_32437

:CAT1_14055
return 

:CAT1_14057
if 
  35@ == 0
goto_if_false @CAT1_14933
Game.SetCreateRandomGangMembers(False)
166@ = Math.RandomIntInRange(0, 8)
43@ = 0

:CAT1_14095
if 
  3 > 43@
goto_if_false @CAT1_14298
if 
  not Char.IsDead(72@(43@,4i))
goto_if_false @CAT1_14225
88@(43@,3i) = Blip.AddForChar(72@(43@,4i))
Char.SetMaxHealth(72@(43@,4i), 200)
Char.SetHealth(72@(43@,4i), 200)
Char.SetRelationship(72@(43@,4i), RelationshipType.Hate, PedType.Special)
Char.SetRelationship(72@(43@,4i), RelationshipType.Hate, PedType.Player1)
Task.TogglePedThreatScanner(72@(43@,4i), True, False, False)
Char.SetCanBeKnockedOffBike(72@(43@,4i), False)

:CAT1_14225
if 
  not Car.IsDead(79@(43@,4i))
goto_if_false @CAT1_14284
Car.SetDrivingStyle(79@(43@,4i), DrivingMode.AvoidCars)
Car.SetCruiseSpeed(79@(43@,4i), 25.0)
Car.SetForwardSpeed(79@(43@,4i), 5.0)

:CAT1_14284
43@ += 1
goto @CAT1_14095

:CAT1_14298
109@ = 0
110@ = 0
111@ = 0
112@ = 0
113@ = 0
114@ = 0
133@ = 1.05
Streaming.RequestCarRecording(553)
Streaming.RequestCarRecording(554)
Streaming.RequestCarRecording(555)

:CAT1_14365
if or
  not Streaming.HasCarRecordingBeenLoaded(553)
  not Streaming.HasCarRecordingBeenLoaded(554)
  not Streaming.HasCarRecordingBeenLoaded(555)
goto_if_false @CAT1_14402
wait 0
goto @CAT1_14365

:CAT1_14402
if 
  not Car.IsDead(79@)
goto_if_false @CAT1_14449
Car.StartPlaybackUsingAi(79@, 553)
Car.SkipInPlayback(79@, 1.0)
StuckCarCheck.Add(79@, 2.0, 2000)

:CAT1_14449
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_14496
Car.StartPlaybackUsingAi(80@, 554)
Car.SkipInPlayback(80@, 1.0)
StuckCarCheck.Add(80@, 2.0, 2000)

:CAT1_14496
if 
  not Car.IsDead(81@)
goto_if_false @CAT1_14543
Car.StartPlaybackUsingAi(81@, 555)
Car.SkipInPlayback(81@, 1.0)
StuckCarCheck.Add(81@, 2.0, 2000)

:CAT1_14543
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_14691
DecisionMakerGroup.ClearEventResponse(145@, 36)
Group.SetDecisionMaker($flag_cell_nation, 145@)
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Mission1)
Char.SetDecisionMaker($finaleB_played_first_time_round, 146@)
Task.TogglePedThreatScanner($finaleB_played_first_time_round, True, False, False)
DecisionMakerGroup.AddEventResponse(145@, 36, 1510, 0.0, 100.0, 0.0, 0.0, True, False)
DecisionMakerChar.AddEventResponse(146@, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
Char.SetAccuracy($finaleB_played_first_time_round, 35)
Char.SetShootRate($finaleB_played_first_time_round, 100)
Char.SetDrownsInWater($finaleB_played_first_time_round, False)

:CAT1_14691
$game_timer1_cat4 = 1
104@ = 0
105@ = 0
106@ = 0
98@ = 0
43@ = Math.RandomIntInRange(1, 3)
if 
  43@ == 0
goto_if_false @CAT1_14794
set_var_text_label s$bd_future_time_shown = 'CAT1_BA'
set_var_int_to_constant $bd_x = 8808
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 

:CAT1_14794
if 
  43@ == 1
goto_if_false @CAT1_14853
set_var_text_label s$bd_future_time_shown = 'CAT1_BB'
set_var_int_to_constant $bd_x = 8809
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 

:CAT1_14853
if 
  43@ == 2
goto_if_false @CAT1_14912
set_var_text_label s$bd_future_time_shown = 'CAT1_BC'
set_var_int_to_constant $bd_x = 8810
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 

:CAT1_14912
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
35@ += 1

:CAT1_14933
if 
  35@ == 1
goto_if_false @CAT1_17132
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @CAT1_14977
133@ += 0.1

:CAT1_14977
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @CAT1_15034
133@ += -0.1
if 
  0.0 > 133@
goto_if_false @CAT1_15034
133@ = 0.0

:CAT1_15034
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_15145
if 
  not Car.IsDead(78@)
goto_if_false @CAT1_15138
if 
  Char.IsInCar($finaleB_played_first_time_round, 78@)
goto_if_false @CAT1_15124
if 
  116@ == 0
goto_if_false @CAT1_15117
Char.SetCurrentWeapon($finaleB_played_first_time_round, WeaponType.MicroUzi)
116@ = 1

:CAT1_15117
goto @CAT1_15131

:CAT1_15124
116@ = 0

:CAT1_15131
goto @CAT1_15145

:CAT1_15138
116@ = 0

:CAT1_15145
43@ = 0

:CAT1_15152
if 
  3 > 43@
goto_if_false @CAT1_15211
set_lvar_int_to_lvar_int 163@ = 43@
gosub @CAT1_27437
set_lvar_float_to_lvar_float 127@(43@,3f) = 165@
43@ += 1
goto @CAT1_15152

:CAT1_15211
43@ = 0

:CAT1_15218
if 
  3 > 43@
goto_if_false @CAT1_15615
if 
  not Char.IsDead(72@(43@,4i))
goto_if_false @CAT1_15601
if 
  104@(43@,4i) == 0
goto_if_false @CAT1_15500
if 
  not Car.IsDead(79@(43@,4i))
goto_if_false @CAT1_15500
if 
  not Car.IsPlaybackGoingOn(79@(43@,4i))
goto_if_false @CAT1_15500
104@(43@,4i) += 1
Path.FlushRoute
Path.ExtendRoute(2346.271, -1044.447, 52.6699)
Path.ExtendRoute(2349.337, -1043.622, 52.9884)
Path.ExtendRoute(2354.353, -1041.798, 53.136)
Path.ExtendRoute(2355.844, -1039.797, 53.1562)
Path.ExtendRoute(2355.559, -1038.575, 53.3358)
49@ = Sequence.Open()
if 
  Char.IsInCar(72@(43@,4i), 79@(43@,4i))
goto_if_false @CAT1_15459
Task.LeaveCar(-1, 79@(43@,4i))

:CAT1_15459
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(49@)
Char.PerformSequence(72@(43@,4i), 49@)
Sequence.Clear(49@)
Char.SetAccuracy(72@(43@,4i), 90)

:CAT1_15500
if 
  104@(43@,4i) == 1
goto_if_false @CAT1_15601
if 
  Char.LocateOnFoot3D(72@(43@,4i), 2355.559, -1038.575, 53.3358, 1.0, 1.0, 2.0, False)
goto_if_false @CAT1_15601
Char.RemoveElegantly(72@(43@,4i))
104@(43@,4i) += 1
gosub @CAT1_32437

:CAT1_15601
43@ += 1
goto @CAT1_15218

:CAT1_15615
43@ = 0

:CAT1_15622
if 
  3 > 43@
goto_if_false @CAT1_16002
if 
  not Char.IsDead(72@(43@,4i))
goto_if_false @CAT1_15988
if 
  104@(43@,4i) == 0
goto_if_false @CAT1_15988
if 
  not Char.IsInAnyCar(72@(43@,4i))
goto_if_false @CAT1_15988
44@ = Char.GetScriptTaskStatus(72@(43@,4i), 1560)
if 
  is_int_lvar_equal_to_constant 44@ == 7
goto_if_false @CAT1_15833
if 
  not Car.IsDead(79@(43@,4i))
goto_if_false @CAT1_15826
49@ = Sequence.Open()
Task.GotoCar(-1, 79@(43@,4i), 60000, 5.0)
Task.EnterCarAsDriver(-1, 79@(43@,4i), 60000)
Sequence.Close(49@)
Char.PerformSequence(72@(43@,4i), 49@)
Sequence.Clear(49@)
goto @CAT1_15826

:CAT1_15826
goto @CAT1_15988

:CAT1_15833
if 
  not Car.IsDead(79@(43@,4i))
goto_if_false @CAT1_15988
if 
  not Car.IsOnScreen(79@(43@,4i))
goto_if_false @CAT1_15988
if 
  not Char.IsOnScreen(72@(43@,4i))
goto_if_false @CAT1_15988
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 72@(43@,4i), 20.0, 20.0, 5.0, False)
goto_if_false @CAT1_15988
44@ = Car.GetDriver(79@(43@,4i))
if 
  44@ == -1
goto_if_false @CAT1_15988
Char.ClearTasksImmediately(72@(43@,4i))
Char.WarpIntoCar(72@(43@,4i), 79@(43@,4i))

:CAT1_15988
43@ += 1
goto @CAT1_15622

:CAT1_16002
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @CAT1_16076
if 
  not Char.IsDead(73@)
goto_if_false @CAT1_16076
if 
  not Car.IsDead(80@)
goto_if_false @CAT1_16076
if 
  Char.IsInCar(73@, 80@)
goto_if_false @CAT1_16076
Task.LeaveCarImmediately(73@, 80@)

:CAT1_16076
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1397.24, 216.0877, 50.0, 50.0, False)
goto_if_false @CAT1_16172
if 
  115@ <> 1
goto_if_false @CAT1_16172
133@ += -0.05
115@ = 1
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_16172
Char.SetAccuracy($finaleB_played_first_time_round, 50)

:CAT1_16172
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2711.119, -53.5082, 50.0, 50.0, False)
goto_if_false @CAT1_16268
if 
  115@ <> 2
goto_if_false @CAT1_16268
133@ += 0.25
115@ = 2
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_16268
Char.SetAccuracy($finaleB_played_first_time_round, 70)

:CAT1_16268
43@ = 0

:CAT1_16275
if 
  3 > 43@
goto_if_false @CAT1_16498
if 
  Char.IsDead(72@(43@,4i))
goto_if_false @CAT1_16484
if 
  121@(43@,3i) == 0
goto_if_false @CAT1_16484
if 
  95@(43@,3i) == -1
goto_if_false @CAT1_16484
Blip.Remove(88@(43@,3i))
88@(43@,3i) = 0
$on_footY, $on_footZ, $in_carX = World.GetDeadCharPickupCoords(72@(43@,4i))
95@(43@,3i) = Pickup.Create(#BRIEFCASE, PickupType.Once, $on_footY, $on_footZ, $in_carX)
91@(43@,3i) = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
Blip.ChangeColor(91@(43@,3i), BlipColor.Green)
147@ = 29000
121@(43@,3i) = 1
Char.MarkAsNoLongerNeeded(72@(43@,4i))
Car.MarkAsNoLongerNeeded(79@(43@,4i))

:CAT1_16484
43@ += 1
goto @CAT1_16275

:CAT1_16498
43@ = 0

:CAT1_16505
if 
  3 > 43@
goto_if_false @CAT1_16802
if 
  Pickup.DoesExist(95@(43@,3i))
goto_if_false @CAT1_16788
if 
  147@ > 30000
goto_if_false @CAT1_16585
Text.PrintNow('CAT108', 7000, 1)
147@ = 0

:CAT1_16585
$on_footY, $on_footZ, $in_carX = Pickup.GetCoordinates(95@(43@,3i))
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 2.0, False)
goto_if_false @CAT1_16710
Blip.Remove(91@(43@,3i))
Pickup.Remove(95@(43@,3i))
95@(43@,3i) = -1
Text.ClearPrints
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
$game_timer1_cat4 += 1
goto @CAT1_16788

:CAT1_16710
if 
  Pickup.HasBeenCollected(95@(43@,3i))
goto_if_false @CAT1_16788
Blip.Remove(91@(43@,3i))
Pickup.Remove(95@(43@,3i))
95@(43@,3i) = -1
Text.ClearPrints
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
$game_timer1_cat4 += 1

:CAT1_16788
43@ += 1
goto @CAT1_16505

:CAT1_16802
if 
  Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_16841
Text.PrintNow('LOSE2', 5000, 1)
37@ = 1

:CAT1_16841
43@ = 0
if 
  not Char.IsDead(72@)
goto_if_false @CAT1_16897
if or
  300.0 > 130@
  Char.IsOnScreen(72@)
goto_if_false @CAT1_16897
43@ = 1

:CAT1_16897
if 
  not Char.IsDead(73@)
goto_if_false @CAT1_16946
if or
  300.0 > 131@
  Char.IsOnScreen(73@)
goto_if_false @CAT1_16946
43@ = 1

:CAT1_16946
if 
  not Char.IsDead(74@)
goto_if_false @CAT1_16995
if or
  300.0 > 132@
  Char.IsOnScreen(74@)
goto_if_false @CAT1_16995
43@ = 1

:CAT1_16995
if and
  Char.IsDead(72@)
  Char.IsDead(73@)
  Char.IsDead(74@)
goto_if_false @CAT1_17028
43@ = 1

:CAT1_17028
if 
  43@ == 0
goto_if_false @CAT1_17071
if 
  125@ == 0
goto_if_false @CAT1_17071
gosub @CAT1_32437

:CAT1_17071
gosub @CAT1_28501
if 
is_ps2_keyboard_key_just_pressed 74
goto_if_false @CAT1_17100
$game_timer1_cat4 = 4

:CAT1_17100
if 
  $game_timer1_cat4 == 4
goto_if_false @CAT1_17132
gosub @CAT1_32437
gosub @CAT1_32437

:CAT1_17132
return 

:CAT1_17134
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
149@ = Streaming.GetAreaVisible()
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
if 
  149@ <> 0
goto_if_false @CAT1_17287
Camera.DoFade(250, Fade.Out)

:CAT1_17189
if 
  Camera.GetFadingStatus
goto_if_false @CAT1_17213
wait 0
goto @CAT1_17189

:CAT1_17213
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_17287
Streaming.SetAreaVisible(0)
Char.FreezePosition($stattreadstamina_ctr, True)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($finaleB_played_first_time_round)
Char.SetProofs($finaleB_played_first_time_round, True, True, True, True, True)
Streaming.LoadScene($on_footY, $on_footZ, $in_carX)
Camera.DoFade(250, Fade.In)

:CAT1_17287
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_17347
Camera.SetInFrontOfChar($finaleB_played_first_time_round)
Task.WanderStandard($finaleB_played_first_time_round)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($finaleB_played_first_time_round)
World.ClearArea($on_footY, $on_footZ, 100.0, 100.0, False)

:CAT1_17347
43@ = Math.RandomIntInRange(0, 10)
switch_start 43@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @CAT1_17964 {caseNum1} 0 {caseLabel1} @CAT1_17484 {caseNum2} 1 {caseLabel2} @CAT1_17532 {caseNum3} 2 {caseLabel3} @CAT1_17580 {caseNum4} 3 {caseLabel4} @CAT1_17628 {caseNum5} 4 {caseLabel5} @CAT1_17676 {caseNum6} 5 {caseLabel6} @CAT1_17724 {caseNum7} 6 {caseLabel7} @CAT1_17772
switch_continued 7 {caseLabel1} @CAT1_17820 {caseNum2} 8 {caseLabel2} @CAT1_17868 {caseNum3} 9 {caseLabel3} @CAT1_17916 {caseNum4} -1 {caseLabel4} @CAT1_17964 {caseNum5} -1 {caseLabel5} @CAT1_17964 {caseNum6} -1 {caseLabel6} @CAT1_17964 {caseNum7} -1 {caseLabel7} @CAT1_17964 {caseNum8} -1 {caseLabel8} @CAT1_17964 {caseNum9} -1 {caseLabel9} @CAT1_17964

:CAT1_17484
set_var_text_label s$bd_future_time_shown = 'CATX_UA'
set_var_int_to_constant $bd_x = 9889
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_17964

:CAT1_17532
set_var_text_label s$bd_future_time_shown = 'CATX_UB'
set_var_int_to_constant $bd_x = 9890
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_17964

:CAT1_17580
set_var_text_label s$bd_future_time_shown = 'CATX_UC'
set_var_int_to_constant $bd_x = 9891
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_17964

:CAT1_17628
set_var_text_label s$bd_future_time_shown = 'CATX_UD'
set_var_int_to_constant $bd_x = 9892
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_17964

:CAT1_17676
set_var_text_label s$bd_future_time_shown = 'CATX_UE'
set_var_int_to_constant $bd_x = 9893
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_17964

:CAT1_17724
set_var_text_label s$bd_future_time_shown = 'CATX_UF'
set_var_int_to_constant $bd_x = 9894
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_17964

:CAT1_17772
set_var_text_label s$bd_future_time_shown = 'CATX_UG'
set_var_int_to_constant $bd_x = 9895
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_17964

:CAT1_17820
set_var_text_label s$bd_future_time_shown = 'CATX_UH'
set_var_int_to_constant $bd_x = 9896
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_17964

:CAT1_17868
set_var_text_label s$bd_future_time_shown = 'CATX_UJ'
set_var_int_to_constant $bd_x = 9897
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_17964

:CAT1_17916
set_var_text_label s$bd_future_time_shown = 'CATX_UK'
set_var_int_to_constant $bd_x = 9898
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_17964

:CAT1_17964
wait 100

:CAT1_17968
if 
  $audio_line_terminate_all <> 0
goto_if_false @CAT1_17997
wait 0
goto @CAT1_17968

:CAT1_17997
wait 500
if 
  149@ <> 0
goto_if_false @CAT1_18095
Camera.DoFade(500, Fade.Out)

:CAT1_18027
if 
  Camera.GetFadingStatus
goto_if_false @CAT1_18051
wait 0
goto @CAT1_18027

:CAT1_18051
Streaming.SetAreaVisible(149@)
Char.FreezePosition($stattreadstamina_ctr, False)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
Streaming.LoadScene($on_footY, $on_footZ, $in_carX)
Camera.DoFade(250, Fade.In)

:CAT1_18095
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Char.Delete($finaleB_played_first_time_round)
Text.PrintNow('LOSE', 5000, 1)
37@ = 1
return 

:CAT1_18140
if 
  35@ == 0
goto_if_false @CAT1_18227
Game.SetCreateRandomGangMembers(True)
94@ = Blip.AddForCoord($510, $516, $522)
Text.PrintNow('CAT112', 7000, 1)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
150@ = 0
120@ = 0
35@ += 1

:CAT1_18227
if 
  35@ == 1
goto_if_false @CAT1_22359
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @CAT1_18423
if 
  120@ == 0
goto_if_false @CAT1_18423
43@ = Math.RandomIntInRange(0, 2)
if 
  43@ == 0
goto_if_false @CAT1_18353
set_var_text_label s$bd_future_time_shown = 'CAT1_FA'
set_var_int_to_constant $bd_x = 8824
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_18394

:CAT1_18353
set_var_text_label s$bd_future_time_shown = 'CAT1_FB'
set_var_int_to_constant $bd_x = 8825
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 

:CAT1_18394
62@ = 0
150@ = 1
120@ += 1
TIMERA = -5000

:CAT1_18423
if 
  150@ == 1
goto_if_false @CAT1_21431
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  TIMERA > 1000
goto_if_false @CAT1_21431
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_21431
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $finaleB_played_first_time_round, 10.0, 10.0, 5.0, False)
goto_if_false @CAT1_21431
if 
  $audio_line_terminate_all == 0
goto_if_false @CAT1_21431
if 
  $propertyX == 0
goto_if_false @CAT1_19807
switch_start 62@ {numCases} 15 {hasDefaultCase} 0 {defaultLabel} @CAT1_19793 {caseNum1} 0 {caseLabel1} @CAT1_18680 {caseNum2} 1 {caseLabel2} @CAT1_18746 {caseNum3} 2 {caseLabel3} @CAT1_19064 {caseNum4} 3 {caseLabel4} @CAT1_19141 {caseNum5} 4 {caseLabel5} @CAT1_19200 {caseNum6} 5 {caseLabel6} @CAT1_19259 {caseNum7} 6 {caseLabel7} @CAT1_19318
switch_continued 8 {caseLabel1} @CAT1_19377 {caseNum2} 9 {caseLabel2} @CAT1_19436 {caseNum3} 10 {caseLabel3} @CAT1_19495 {caseNum4} 11 {caseLabel4} @CAT1_19554 {caseNum5} 12 {caseLabel5} @CAT1_19613 {caseNum6} 13 {caseLabel6} @CAT1_19672 {caseNum7} 14 {caseLabel7} @CAT1_19731 {caseNum8} 15 {caseLabel8} @CAT1_19779 {caseNum9} -1 {caseLabel9} @CAT1_19793

:CAT1_18680
if 
  $distance == 0
goto_if_false @CAT1_18739
set_var_text_label s$bd_future_time_shown = 'CAT_DA'
set_var_int_to_constant $bd_x = 8626
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 

:CAT1_18739
goto @CAT1_19793

:CAT1_18746
if 
  $distance == 0
goto_if_false @CAT1_19057
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_18794
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($finaleB_played_first_time_round)

:CAT1_18794
set_lvar_float_to_var_float 46@ = $516
sub_float_var_from_float_lvar 46@ -= $on_footZ
set_lvar_float_to_var_float 47@ = $510
sub_float_var_from_float_lvar 47@ -= $on_footY
if 
  0.0 > 47@
goto_if_false @CAT1_18872
48@ = -1.0
mult_float_lvar_by_float_lvar 48@ *= 47@
goto @CAT1_18880

:CAT1_18872
set_lvar_float_to_lvar_float 48@ = 47@

:CAT1_18880
if 
  is_float_lvar_greater_than_float_lvar 46@ > 48@
goto_if_false @CAT1_18947
set_var_text_label s$bd_future_time_shown = 'CAT_DD'
set_var_int_to_constant $bd_x = 8629
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_19057

:CAT1_18947
if 
  47@ > 0.0
goto_if_false @CAT1_19016
set_var_text_label s$bd_future_time_shown = 'CAT_DC'
set_var_int_to_constant $bd_x = 8628
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 
goto @CAT1_19057

:CAT1_19016
set_var_text_label s$bd_future_time_shown = 'CAT_DB'
set_var_int_to_constant $bd_x = 8627
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 0 

:CAT1_19057
goto @CAT1_19793

:CAT1_19064
if 
  $distance == 0
goto_if_false @CAT1_19134
set_var_text_label s$bd_future_time_shown = 'CAT_DE'
set_var_int_to_constant $bd_x = 8630
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8631)

:CAT1_19134
goto @CAT1_19793

:CAT1_19141
set_var_text_label s$bd_future_time_shown = 'CAT_DF'
set_var_int_to_constant $bd_x = 8631
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8632)
goto @CAT1_19793

:CAT1_19200
set_var_text_label s$bd_future_time_shown = 'CAT_DG'
set_var_int_to_constant $bd_x = 8632
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8633)
goto @CAT1_19793

:CAT1_19259
set_var_text_label s$bd_future_time_shown = 'CAT_DH'
set_var_int_to_constant $bd_x = 8633
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8634)
goto @CAT1_19793

:CAT1_19318
set_var_text_label s$bd_future_time_shown = 'CAT_DI'
set_var_int_to_constant $bd_x = 8634
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8635)
goto @CAT1_19793

:CAT1_19377
set_var_text_label s$bd_future_time_shown = 'CAT_DJ'
set_var_int_to_constant $bd_x = 8635
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8636)
goto @CAT1_19793

:CAT1_19436
set_var_text_label s$bd_future_time_shown = 'CAT_DK'
set_var_int_to_constant $bd_x = 8636
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8637)
goto @CAT1_19793

:CAT1_19495
set_var_text_label s$bd_future_time_shown = 'CAT_DL'
set_var_int_to_constant $bd_x = 8637
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8638)
goto @CAT1_19793

:CAT1_19554
set_var_text_label s$bd_future_time_shown = 'CAT_DM'
set_var_int_to_constant $bd_x = 8638
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8639)
goto @CAT1_19793

:CAT1_19613
set_var_text_label s$bd_future_time_shown = 'CAT_DN'
set_var_int_to_constant $bd_x = 8639
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8640)
goto @CAT1_19793

:CAT1_19672
set_var_text_label s$bd_future_time_shown = 'CAT_DO'
set_var_int_to_constant $bd_x = 8640
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8641)
goto @CAT1_19793

:CAT1_19731
set_var_text_label s$bd_future_time_shown = 'CAT_DP'
set_var_int_to_constant $bd_x = 8641
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
goto @CAT1_19793

:CAT1_19779
150@ = 0
goto @CAT1_19793

:CAT1_19793
62@ += 1
TIMERA = 0

:CAT1_19807
if 
  $propertyX == 1
goto_if_false @CAT1_20796
switch_start 62@ {numCases} 15 {hasDefaultCase} 0 {defaultLabel} @CAT1_20782 {caseNum1} 0 {caseLabel1} @CAT1_19953 {caseNum2} 1 {caseLabel2} @CAT1_20012 {caseNum3} 2 {caseLabel3} @CAT1_20071 {caseNum4} 3 {caseLabel4} @CAT1_20130 {caseNum5} 4 {caseLabel5} @CAT1_20189 {caseNum6} 5 {caseLabel6} @CAT1_20248 {caseNum7} 6 {caseLabel7} @CAT1_20307
switch_continued 7 {caseLabel1} @CAT1_20366 {caseNum2} 8 {caseLabel2} @CAT1_20425 {caseNum3} 9 {caseLabel3} @CAT1_20484 {caseNum4} 10 {caseLabel4} @CAT1_20543 {caseNum5} 11 {caseLabel5} @CAT1_20602 {caseNum6} 12 {caseLabel6} @CAT1_20661 {caseNum7} 13 {caseLabel7} @CAT1_20720 {caseNum8} 14 {caseLabel8} @CAT1_20768 {caseNum9} -1 {caseLabel9} @CAT1_20782

:CAT1_19953
set_var_text_label s$bd_future_time_shown = 'CAT_GA'
set_var_int_to_constant $bd_x = 8672
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8673)
goto @CAT1_20782

:CAT1_20012
set_var_text_label s$bd_future_time_shown = 'CAT_GB'
set_var_int_to_constant $bd_x = 8673
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8674)
goto @CAT1_20782

:CAT1_20071
set_var_text_label s$bd_future_time_shown = 'CAT_GC'
set_var_int_to_constant $bd_x = 8674
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8675)
goto @CAT1_20782

:CAT1_20130
set_var_text_label s$bd_future_time_shown = 'CAT_GD'
set_var_int_to_constant $bd_x = 8675
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8676)
goto @CAT1_20782

:CAT1_20189
set_var_text_label s$bd_future_time_shown = 'CAT_GE'
set_var_int_to_constant $bd_x = 8676
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8677)
goto @CAT1_20782

:CAT1_20248
set_var_text_label s$bd_future_time_shown = 'CAT_GF'
set_var_int_to_constant $bd_x = 8677
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8678)
goto @CAT1_20782

:CAT1_20307
set_var_text_label s$bd_future_time_shown = 'CAT_GG'
set_var_int_to_constant $bd_x = 8678
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8679)
goto @CAT1_20782

:CAT1_20366
set_var_text_label s$bd_future_time_shown = 'CAT_GH'
set_var_int_to_constant $bd_x = 8679
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8680)
goto @CAT1_20782

:CAT1_20425
set_var_text_label s$bd_future_time_shown = 'CAT_GI'
set_var_int_to_constant $bd_x = 8680
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8681)
goto @CAT1_20782

:CAT1_20484
set_var_text_label s$bd_future_time_shown = 'CAT_GJ'
set_var_int_to_constant $bd_x = 8681
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8682)
goto @CAT1_20782

:CAT1_20543
set_var_text_label s$bd_future_time_shown = 'CAT_GK'
set_var_int_to_constant $bd_x = 8682
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8683)
goto @CAT1_20782

:CAT1_20602
set_var_text_label s$bd_future_time_shown = 'CAT_GL'
set_var_int_to_constant $bd_x = 8683
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8684)
goto @CAT1_20782

:CAT1_20661
set_var_text_label s$bd_future_time_shown = 'CAT_GM'
set_var_int_to_constant $bd_x = 8684
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8685)
goto @CAT1_20782

:CAT1_20720
set_var_text_label s$bd_future_time_shown = 'CAT_GN'
set_var_int_to_constant $bd_x = 8685
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
goto @CAT1_20782

:CAT1_20768
150@ = 0
goto @CAT1_20782

:CAT1_20782
62@ += 1
TIMERA = 0

:CAT1_20796
if 
  $propertyX == 2
goto_if_false @CAT1_21431
switch_start 62@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @CAT1_21417 {caseNum1} 0 {caseLabel1} @CAT1_20942 {caseNum2} 1 {caseLabel2} @CAT1_21001 {caseNum3} 2 {caseLabel3} @CAT1_21060 {caseNum4} 3 {caseLabel4} @CAT1_21119 {caseNum5} 4 {caseLabel5} @CAT1_21178 {caseNum6} 5 {caseLabel6} @CAT1_21237 {caseNum7} 6 {caseLabel7} @CAT1_21296
switch_continued 7 {caseLabel1} @CAT1_21355 {caseNum2} 14 {caseLabel2} @CAT1_21403 {caseNum3} -1 {caseLabel3} @CAT1_21417 {caseNum4} -1 {caseLabel4} @CAT1_21417 {caseNum5} -1 {caseLabel5} @CAT1_21417 {caseNum6} -1 {caseLabel6} @CAT1_21417 {caseNum7} -1 {caseLabel7} @CAT1_21417 {caseNum8} -1 {caseLabel8} @CAT1_21417 {caseNum9} -1 {caseLabel9} @CAT1_21417

:CAT1_20942
set_var_text_label s$bd_future_time_shown = 'CAT_OA'
set_var_int_to_constant $bd_x = 8725
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8726)
goto @CAT1_21417

:CAT1_21001
set_var_text_label s$bd_future_time_shown = 'CAT_OB'
set_var_int_to_constant $bd_x = 8726
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8727)
goto @CAT1_21417

:CAT1_21060
set_var_text_label s$bd_future_time_shown = 'CAT_OC'
set_var_int_to_constant $bd_x = 8727
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8728)
goto @CAT1_21417

:CAT1_21119
set_var_text_label s$bd_future_time_shown = 'CAT_OD'
set_var_int_to_constant $bd_x = 8728
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8729)
goto @CAT1_21417

:CAT1_21178
set_var_text_label s$bd_future_time_shown = 'CAT_OE'
set_var_int_to_constant $bd_x = 8729
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8730)
goto @CAT1_21417

:CAT1_21237
set_var_text_label s$bd_future_time_shown = 'CAT_OF'
set_var_int_to_constant $bd_x = 8730
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8731)
goto @CAT1_21417

:CAT1_21296
set_var_text_label s$bd_future_time_shown = 'CAT_OG'
set_var_int_to_constant $bd_x = 8731
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8732)
goto @CAT1_21417

:CAT1_21355
set_var_text_label s$bd_future_time_shown = 'CAT_OH'
set_var_int_to_constant $bd_x = 8732
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
goto @CAT1_21417

:CAT1_21403
150@ = 0
goto @CAT1_21417

:CAT1_21417
62@ += 1
TIMERA = 0

:CAT1_21431
if 
  150@ == 0
goto_if_false @CAT1_22189
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  TIMERA > 30000
goto_if_false @CAT1_22189
43@ = Math.RandomIntInRange(0, 16)
switch_start 43@ {numCases} 16 {hasDefaultCase} 0 {defaultLabel} @CAT1_22163 {caseNum1} 0 {caseLabel1} @CAT1_21609 {caseNum2} 1 {caseLabel2} @CAT1_21638 {caseNum3} 2 {caseLabel3} @CAT1_21667 {caseNum4} 3 {caseLabel4} @CAT1_21696 {caseNum5} 4 {caseLabel5} @CAT1_21725 {caseNum6} 5 {caseLabel6} @CAT1_21754 {caseNum7} 6 {caseLabel7} @CAT1_21783
switch_continued 7 {caseLabel1} @CAT1_21812 {caseNum2} 8 {caseLabel2} @CAT1_21841 {caseNum3} 9 {caseLabel3} @CAT1_21870 {caseNum4} 10 {caseLabel4} @CAT1_21899 {caseNum5} 11 {caseLabel5} @CAT1_21973 {caseNum6} 12 {caseLabel6} @CAT1_22002 {caseNum7} 13 {caseLabel7} @CAT1_22031 {caseNum8} 14 {caseLabel8} @CAT1_22060 {caseNum9} 15 {caseLabel9} @CAT1_22134

:CAT1_21609
set_var_text_label s$bd_future_time_shown = 'CATX_VA'
set_var_int_to_constant $bd_x = 9899
goto @CAT1_22163

:CAT1_21638
set_var_text_label s$bd_future_time_shown = 'CATX_VB'
set_var_int_to_constant $bd_x = 9900
goto @CAT1_22163

:CAT1_21667
set_var_text_label s$bd_future_time_shown = 'CATX_VC'
set_var_int_to_constant $bd_x = 9901
goto @CAT1_22163

:CAT1_21696
set_var_text_label s$bd_future_time_shown = 'CATX_VD'
set_var_int_to_constant $bd_x = 9902
goto @CAT1_22163

:CAT1_21725
set_var_text_label s$bd_future_time_shown = 'CATX_VE'
set_var_int_to_constant $bd_x = 9903
goto @CAT1_22163

:CAT1_21754
set_var_text_label s$bd_future_time_shown = 'CATX_VF'
set_var_int_to_constant $bd_x = 9904
goto @CAT1_22163

:CAT1_21783
set_var_text_label s$bd_future_time_shown = 'CATX_VG'
set_var_int_to_constant $bd_x = 9905
goto @CAT1_22163

:CAT1_21812
set_var_text_label s$bd_future_time_shown = 'CATX_VH'
set_var_int_to_constant $bd_x = 9906
goto @CAT1_22163

:CAT1_21841
set_var_text_label s$bd_future_time_shown = 'CATX_VJ'
set_var_int_to_constant $bd_x = 9907
goto @CAT1_22163

:CAT1_21870
set_var_text_label s$bd_future_time_shown = 'CATX_VK'
set_var_int_to_constant $bd_x = 9908
goto @CAT1_22163

:CAT1_21899
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT1_21944
set_var_text_label s$bd_future_time_shown = 'CATX_VK'
set_var_int_to_constant $bd_x = 9908
goto @CAT1_21966

:CAT1_21944
set_var_text_label s$bd_future_time_shown = 'CATX_VL'
set_var_int_to_constant $bd_x = 9909

:CAT1_21966
goto @CAT1_22163

:CAT1_21973
set_var_text_label s$bd_future_time_shown = 'CATX_VM'
set_var_int_to_constant $bd_x = 9910
goto @CAT1_22163

:CAT1_22002
set_var_text_label s$bd_future_time_shown = 'CATX_VN'
set_var_int_to_constant $bd_x = 9911
goto @CAT1_22163

:CAT1_22031
set_var_text_label s$bd_future_time_shown = 'CATX_VO'
set_var_int_to_constant $bd_x = 9912
goto @CAT1_22163

:CAT1_22060
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT1_22105
set_var_text_label s$bd_future_time_shown = 'CATX_VO'
set_var_int_to_constant $bd_x = 9912
goto @CAT1_22127

:CAT1_22105
set_var_text_label s$bd_future_time_shown = 'CATX_VP'
set_var_int_to_constant $bd_x = 9913

:CAT1_22127
goto @CAT1_22163

:CAT1_22134
set_var_text_label s$bd_future_time_shown = 'CATX_VQ'
set_var_int_to_constant $bd_x = 9914
goto @CAT1_22163

:CAT1_22163
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
TIMERA = 0

:CAT1_22189
if 
  99@ == 1
goto_if_false @CAT1_22354
if 
  not Blip.DoesExist(94@)
goto_if_false @CAT1_22237
35@ = 0
goto @CAT1_22347

:CAT1_22237
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $510, $516, $522, 3.0, 3.0, 3.0, True)
goto_if_false @CAT1_22347
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT1_22340
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsOnAllWheels($stealth_help_flag)
goto_if_false @CAT1_22333
Player.SetControl($statbike_temp, False)
35@ += 1

:CAT1_22333
goto @CAT1_22347

:CAT1_22340
35@ += 1

:CAT1_22347
goto @CAT1_22359

:CAT1_22354
Blip.Remove(94@)

:CAT1_22359
if 
  35@ == 2
goto_if_false @CAT1_22438
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT1_22431
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsStopped($stealth_help_flag)
goto_if_false @CAT1_22424
35@ += 1

:CAT1_22424
goto @CAT1_22438

:CAT1_22431
35@ += 1

:CAT1_22438
if 
  35@ == 3
goto_if_false @CAT1_22771
Player.SetControl($statbike_temp, False)
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
Hud.SwitchWidescreen(True)
World.ClearArea($510, $516, $522, 20.0, True)
Camera.SetFixedPosition(856.0245, -29.9962, 63.9179, 0.0, 0.0, 0.0)
Camera.PointAtPoint(856.9926, -29.7496, 63.8739, SwitchType.JumpCut)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_22727
if 
  not Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT1_22654
if 
  not Char.LocateAnyMeans3D($finaleB_played_first_time_round, $510, $516, $522, 5.0, 5.0, 5.0, False)
goto_if_false @CAT1_22654
Char.SetCoordinates($finaleB_played_first_time_round, 868.838, -28.2257, 62.1875)
Char.SetHeading($finaleB_played_first_time_round, 161.446)

:CAT1_22654
49@ = Sequence.Open()
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT1_22690
$stealth_help_flag = Char.StoreCarIsInNoSave($finaleB_played_first_time_round)
Task.LeaveCar(-1, $stealth_help_flag)

:CAT1_22690
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.LookAtChar(-1, $stattreadstamina_ctr, 99999)
Sequence.Close(49@)
Char.PerformSequence($finaleB_played_first_time_round, 49@)
Sequence.Clear(49@)

:CAT1_22727
43@ = Math.RandomIntInRange(0, 10)
TIMERA = 0
151@ = 0
62@ = 0
152@ = 0
35@ += 1

:CAT1_22771
if 
  35@ == 4
goto_if_false @CAT1_25152
if 
  151@ == 0
goto_if_false @CAT1_25035
if and
  $audio_line_terminate_all == 0
  TIMERA > 1000
goto_if_false @CAT1_25028
if 
  $distance == 0
goto_if_false @CAT1_23849
switch_start 62@ {numCases} 16 {hasDefaultCase} 0 {defaultLabel} @CAT1_23835 {caseNum1} 0 {caseLabel1} @CAT1_22979 {caseNum2} 1 {caseLabel2} @CAT1_23038 {caseNum3} 2 {caseLabel3} @CAT1_23097 {caseNum4} 3 {caseLabel4} @CAT1_23156 {caseNum5} 4 {caseLabel5} @CAT1_23215 {caseNum6} 5 {caseLabel6} @CAT1_23274 {caseNum7} 6 {caseLabel7} @CAT1_23333
switch_continued 7 {caseLabel1} @CAT1_23392 {caseNum2} 8 {caseLabel2} @CAT1_23451 {caseNum3} 9 {caseLabel3} @CAT1_23510 {caseNum4} 10 {caseLabel4} @CAT1_23569 {caseNum5} 11 {caseLabel5} @CAT1_23628 {caseNum6} 12 {caseLabel6} @CAT1_23786 {caseNum7} 13 {caseLabel7} @CAT1_23807 {caseNum8} 14 {caseLabel8} @CAT1_23814 {caseNum9} 15 {caseLabel9} @CAT1_23821

:CAT1_22979
set_var_text_label s$bd_future_time_shown = 'CAT_EA'
set_var_int_to_constant $bd_x = 8642
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8643)
goto @CAT1_23835

:CAT1_23038
set_var_text_label s$bd_future_time_shown = 'CAT_EB'
set_var_int_to_constant $bd_x = 8643
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8644)
goto @CAT1_23835

:CAT1_23097
set_var_text_label s$bd_future_time_shown = 'CAT_EC'
set_var_int_to_constant $bd_x = 8644
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8645)
goto @CAT1_23835

:CAT1_23156
set_var_text_label s$bd_future_time_shown = 'CAT_ED'
set_var_int_to_constant $bd_x = 8645
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8646)
goto @CAT1_23835

:CAT1_23215
set_var_text_label s$bd_future_time_shown = 'CAT_EE'
set_var_int_to_constant $bd_x = 8646
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8647)
goto @CAT1_23835

:CAT1_23274
set_var_text_label s$bd_future_time_shown = 'CAT_EF'
set_var_int_to_constant $bd_x = 8647
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8648)
goto @CAT1_23835

:CAT1_23333
set_var_text_label s$bd_future_time_shown = 'CAT_EG'
set_var_int_to_constant $bd_x = 8648
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8649)
goto @CAT1_23835

:CAT1_23392
set_var_text_label s$bd_future_time_shown = 'CAT_EH'
set_var_int_to_constant $bd_x = 8649
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8650)
goto @CAT1_23835

:CAT1_23451
set_var_text_label s$bd_future_time_shown = 'CAT_EI'
set_var_int_to_constant $bd_x = 8650
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8651)
goto @CAT1_23835

:CAT1_23510
set_var_text_label s$bd_future_time_shown = 'CAT_EJ'
set_var_int_to_constant $bd_x = 8651
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8652)
goto @CAT1_23835

:CAT1_23569
set_var_text_label s$bd_future_time_shown = 'CAT_EK'
set_var_int_to_constant $bd_x = 8652
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8653)
goto @CAT1_23835

:CAT1_23628
set_var_text_label s$bd_future_time_shown = 'CAT_EL'
set_var_int_to_constant $bd_x = 8653
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8654)
152@ = 1
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_23779
Char.ClearLookAt($finaleB_played_first_time_round)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 869.0271, -28.2591, 62.1893, MoveState.Walk, 20000)
Task.GoStraightToCoord(-1, 870.2891, -25.0424, 62.9858, MoveState.Walk, 5000)
Sequence.Close(49@)
Char.PerformSequence($finaleB_played_first_time_round, 49@)
Sequence.Clear(49@)

:CAT1_23779
goto @CAT1_23835

:CAT1_23786
62@ = 16
151@ = 1
goto @CAT1_23835

:CAT1_23807
goto @CAT1_23835

:CAT1_23814
goto @CAT1_23835

:CAT1_23821
151@ = 1
goto @CAT1_23835

:CAT1_23835
62@ += 1
TIMERA = 0

:CAT1_23849
if 
  $distance == 1
goto_if_false @CAT1_24301
switch_start 62@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @CAT1_24287 {caseNum1} 0 {caseLabel1} @CAT1_23930 {caseNum2} 1 {caseLabel2} @CAT1_23989 {caseNum3} 2 {caseLabel3} @CAT1_24048 {caseNum4} 3 {caseLabel4} @CAT1_24107 {caseNum5} 4 {caseLabel5} @CAT1_24166 {caseNum6} 5 {caseLabel6} @CAT1_24225 {caseNum7} 6 {caseLabel7} @CAT1_24273

:CAT1_23930
set_var_text_label s$bd_future_time_shown = 'CAT_HA'
set_var_int_to_constant $bd_x = 8686
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8687)
goto @CAT1_24287

:CAT1_23989
set_var_text_label s$bd_future_time_shown = 'CAT_HB'
set_var_int_to_constant $bd_x = 8687
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8688)
goto @CAT1_24287

:CAT1_24048
set_var_text_label s$bd_future_time_shown = 'CAT_HC'
set_var_int_to_constant $bd_x = 8688
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8689)
goto @CAT1_24287

:CAT1_24107
set_var_text_label s$bd_future_time_shown = 'CAT_HD'
set_var_int_to_constant $bd_x = 8689
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8690)
goto @CAT1_24287

:CAT1_24166
set_var_text_label s$bd_future_time_shown = 'CAT_HE'
set_var_int_to_constant $bd_x = 8690
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8691)
goto @CAT1_24287

:CAT1_24225
set_var_text_label s$bd_future_time_shown = 'CAT_HF'
set_var_int_to_constant $bd_x = 8691
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
goto @CAT1_24287

:CAT1_24273
151@ = 1
goto @CAT1_24287

:CAT1_24287
62@ += 1
TIMERA = 0

:CAT1_24301
if 
  $distance == 2
goto_if_false @CAT1_24576
switch_start 62@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @CAT1_24562 {caseNum1} 0 {caseLabel1} @CAT1_24382 {caseNum2} 1 {caseLabel2} @CAT1_24441 {caseNum3} 2 {caseLabel3} @CAT1_24500 {caseNum4} 3 {caseLabel4} @CAT1_24548 {caseNum5} -1 {caseLabel5} @CAT1_24562 {caseNum6} -1 {caseLabel6} @CAT1_24562 {caseNum7} -1 {caseLabel7} @CAT1_24562

:CAT1_24382
set_var_text_label s$bd_future_time_shown = 'CAT_MA'
set_var_int_to_constant $bd_x = 8714
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8715)
goto @CAT1_24562

:CAT1_24441
set_var_text_label s$bd_future_time_shown = 'CAT_MB'
set_var_int_to_constant $bd_x = 8715
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8716)
goto @CAT1_24562

:CAT1_24500
set_var_text_label s$bd_future_time_shown = 'CAT_MC'
set_var_int_to_constant $bd_x = 8716
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
goto @CAT1_24562

:CAT1_24548
151@ = 1
goto @CAT1_24562

:CAT1_24562
62@ += 1
TIMERA = 0

:CAT1_24576
if 
  $distance == 3
goto_if_false @CAT1_25028
switch_start 62@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @CAT1_25014 {caseNum1} 0 {caseLabel1} @CAT1_24657 {caseNum2} 1 {caseLabel2} @CAT1_24716 {caseNum3} 2 {caseLabel3} @CAT1_24775 {caseNum4} 3 {caseLabel4} @CAT1_24834 {caseNum5} 4 {caseLabel5} @CAT1_24893 {caseNum6} 5 {caseLabel6} @CAT1_24952 {caseNum7} 6 {caseLabel7} @CAT1_25000

:CAT1_24657
set_var_text_label s$bd_future_time_shown = 'CAT_PA'
set_var_int_to_constant $bd_x = 8733
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8734)
goto @CAT1_25014

:CAT1_24716
set_var_text_label s$bd_future_time_shown = 'CAT_PB'
set_var_int_to_constant $bd_x = 8734
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8735)
goto @CAT1_25014

:CAT1_24775
set_var_text_label s$bd_future_time_shown = 'CAT_PC'
set_var_int_to_constant $bd_x = 8735
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8736)
goto @CAT1_25014

:CAT1_24834
set_var_text_label s$bd_future_time_shown = 'CAT_PD'
set_var_int_to_constant $bd_x = 8736
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 8737)
goto @CAT1_25014

:CAT1_24893
set_var_text_label s$bd_future_time_shown = 'CAT_PE'
set_var_int_to_constant $bd_x = 8737
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 8738)
goto @CAT1_25014

:CAT1_24952
set_var_text_label s$bd_future_time_shown = 'CAT_PF'
set_var_int_to_constant $bd_x = 8738
start_new_script @AUDIOL $finaleB_played_first_time_round 0 1 1 1 
goto @CAT1_25014

:CAT1_25000
151@ = 1
goto @CAT1_25014

:CAT1_25014
62@ += 1
TIMERA = 0

:CAT1_25028
goto @CAT1_25152

:CAT1_25035
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_25145
if 
  152@ == 0
goto_if_false @CAT1_25145
Char.ClearLookAt($finaleB_played_first_time_round)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, 869.0271, -28.2591, 62.1893, MoveState.Walk, 20000)
Task.GoStraightToCoord(-1, 870.2891, -25.0424, 62.9858, MoveState.Walk, 5000)
Sequence.Close(49@)
Char.PerformSequence($finaleB_played_first_time_round, 49@)
Sequence.Clear(49@)

:CAT1_25145
35@ += 1

:CAT1_25152
if 
  35@ == 5
goto_if_false @CAT1_25323
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_25236
43@ = Char.GetScriptTaskStatus($finaleB_played_first_time_round, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @CAT1_25229
43@ = 1
goto @CAT1_25236

:CAT1_25229
43@ = 0

:CAT1_25236
if 
  TIMERA > 10000
goto_if_false @CAT1_25262
43@ = 1

:CAT1_25262
if 
  43@ == 1
goto_if_false @CAT1_25323
Camera.SetBehindPlayer
Camera.RestoreJumpcut
if 
  Char.DoesExist($finaleB_played_first_time_round)
goto_if_false @CAT1_25305
Char.Delete($finaleB_played_first_time_round)

:CAT1_25305
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
36@ = 1

:CAT1_25323
return 

:CAT1_25325
43@ = Streaming.GetAreaVisible()
if 
  43@ <> 0
goto_if_false @CAT1_25398
if 
  125@ == 0
goto_if_false @CAT1_25391
set_lvar_float_to_lvar_float 126@ = 133@
133@ = 0.0
125@ = 1

:CAT1_25391
goto @CAT1_25431

:CAT1_25398
if 
  125@ == 1
goto_if_false @CAT1_25431
set_lvar_float_to_lvar_float 133@ = 126@
125@ = 0

:CAT1_25431
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT1_25618
if 
  not Car.IsDead(78@)
goto_if_false @CAT1_25603
if 
  not Char.IsInCar($stattreadstamina_ctr, 78@)
goto_if_false @CAT1_25596
43@ = 0
44@ = 0

:CAT1_25496
if 
  4 > 43@
goto_if_false @CAT1_25565
if 
  is_int_lvar_equal_to_int_lvar 78@ == 79@(43@,4i)
goto_if_false @CAT1_25551
44@ = 1
43@ = 4

:CAT1_25551
43@ += 1
goto @CAT1_25496

:CAT1_25565
if 
  44@ == 1
goto_if_false @CAT1_25588
Car.MarkAsNoLongerNeeded(78@)

:CAT1_25588
78@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:CAT1_25596
goto @CAT1_25611

:CAT1_25603
78@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:CAT1_25611
goto @CAT1_25618

:CAT1_25618
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_25909
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  125@ == 0
goto_if_false @CAT1_25909
if 
  98@ == 0
goto_if_false @CAT1_25909
if 
  99@ == 1
goto_if_false @CAT1_25786
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT1_25779
Text.Print('LEFTC', 4000, 1)
if 
  not Blip.DoesExist(87@)
goto_if_false @CAT1_25758
87@ = Blip.AddForChar($finaleB_played_first_time_round)
Blip.SetAsFriendly(87@, True)

:CAT1_25758
64@ = 1
65@ = 0
99@ = 0

:CAT1_25779
goto @CAT1_25909

:CAT1_25786
if 
  Char.LocateAnyMeansChar3D($finaleB_played_first_time_round, $stattreadstamina_ctr, 10.0, 10.0, 10.0, False)
goto_if_false @CAT1_25909
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT1_25902
if 
  Blip.DoesExist(87@)
goto_if_false @CAT1_25862
Blip.Remove(87@)

:CAT1_25862
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Char.SetDrownsInWater($finaleB_played_first_time_round, False)
99@ = 1
64@ = 0
goto @CAT1_25909

:CAT1_25902
99@ = 1

:CAT1_25909
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_26027
if 
  not Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT1_25979
if 
  not Blip.DoesExist(87@)
goto_if_false @CAT1_25972
87@ = Blip.AddForChar($finaleB_played_first_time_round)
Blip.SetAsFriendly(87@, True)

:CAT1_25972
goto @CAT1_26027

:CAT1_25979
if 
  Blip.DoesExist(87@)
goto_if_false @CAT1_26027
$stealth_help_flag = Char.StoreCarIsInNoSave($finaleB_played_first_time_round)
if 
  Char.IsInCar($stattreadstamina_ctr, $stealth_help_flag)
goto_if_false @CAT1_26027
Blip.Remove(87@)

:CAT1_26027
if 
  Char.DoesExist($finaleB_played_first_time_round)
goto_if_false @CAT1_26082
if 
  Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_26082
Text.PrintNow('LOSE2', 5000, 1)
37@ = 1

:CAT1_26082
if 
  125@ == 0
goto_if_false @CAT1_26616
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_26616
if and
  Char.HasBeenDamagedByChar($finaleB_played_first_time_round, $stattreadstamina_ctr)
  $audio_line_terminate_all == 0
goto_if_false @CAT1_26616
153@ += 1
if 
  153@ > 9
goto_if_false @CAT1_26174
153@ = 0

:CAT1_26174
switch_start 153@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @CAT1_26592 {caseNum1} 0 {caseLabel1} @CAT1_26302 {caseNum2} 1 {caseLabel2} @CAT1_26331 {caseNum3} 2 {caseLabel3} @CAT1_26360 {caseNum4} 3 {caseLabel4} @CAT1_26389 {caseNum5} 4 {caseLabel5} @CAT1_26418 {caseNum6} 5 {caseLabel6} @CAT1_26447 {caseNum7} 6 {caseLabel7} @CAT1_26476
switch_continued 7 {caseLabel1} @CAT1_26505 {caseNum2} 8 {caseLabel2} @CAT1_26534 {caseNum3} 9 {caseLabel3} @CAT1_26563 {caseNum4} -1 {caseLabel4} @CAT1_26592 {caseNum5} -1 {caseLabel5} @CAT1_26592 {caseNum6} -1 {caseLabel6} @CAT1_26592 {caseNum7} -1 {caseLabel7} @CAT1_26592 {caseNum8} -1 {caseLabel8} @CAT1_26592 {caseNum9} -1 {caseLabel9} @CAT1_26592

:CAT1_26302
set_var_text_label s$bd_future_time_shown = 'CATX_UA'
set_var_int_to_constant $bd_x = 9889
goto @CAT1_26592

:CAT1_26331
set_var_text_label s$bd_future_time_shown = 'CATX_UB'
set_var_int_to_constant $bd_x = 9890
goto @CAT1_26592

:CAT1_26360
set_var_text_label s$bd_future_time_shown = 'CATX_UC'
set_var_int_to_constant $bd_x = 9891
goto @CAT1_26592

:CAT1_26389
set_var_text_label s$bd_future_time_shown = 'CATX_UD'
set_var_int_to_constant $bd_x = 9892
goto @CAT1_26592

:CAT1_26418
set_var_text_label s$bd_future_time_shown = 'CATX_UE'
set_var_int_to_constant $bd_x = 9893
goto @CAT1_26592

:CAT1_26447
set_var_text_label s$bd_future_time_shown = 'CATX_UF'
set_var_int_to_constant $bd_x = 9894
goto @CAT1_26592

:CAT1_26476
set_var_text_label s$bd_future_time_shown = 'CATX_UG'
set_var_int_to_constant $bd_x = 9895
goto @CAT1_26592

:CAT1_26505
set_var_text_label s$bd_future_time_shown = 'CATX_UH'
set_var_int_to_constant $bd_x = 9896
goto @CAT1_26592

:CAT1_26534
set_var_text_label s$bd_future_time_shown = 'CATX_UJ'
set_var_int_to_constant $bd_x = 9897
goto @CAT1_26592

:CAT1_26563
set_var_text_label s$bd_future_time_shown = 'CATX_UK'
set_var_int_to_constant $bd_x = 9898
goto @CAT1_26592

:CAT1_26592
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
Char.ClearLastDamageEntity($finaleB_played_first_time_round)

:CAT1_26616
return 
if 
  117@ == 0
goto_if_false @CAT1_26684
143@ += 0.001
if 
  143@ > 0.03
goto_if_false @CAT1_26677
143@ = 0.03

:CAT1_26677
goto @CAT1_26725

:CAT1_26684
143@ += -0.001
if 
  0.0 > 143@
goto_if_false @CAT1_26725
143@ = 0.0

:CAT1_26725
144@ += 0.005
if 
  144@ > 0.1
goto_if_false @CAT1_26766
144@ = 0.1

:CAT1_26766
156@ = 261.4119
157@ = -78.5511
158@ = 2.3102
set_lvar_float_to_lvar_float 159@ = 134@
set_lvar_float_to_lvar_float 160@ = 135@
set_lvar_float_to_lvar_float 161@ = 136@
set_lvar_float_to_lvar_float 162@ = 143@
gosub @CAT1_27226
if 
  47@ == 99.9
goto_if_false @CAT1_26881
if 
  117@ == 0
goto_if_false @CAT1_26881
117@ = 1

:CAT1_26881
set_lvar_float_to_lvar_float 134@ = 159@
set_lvar_float_to_lvar_float 135@ = 160@
set_lvar_float_to_lvar_float 136@ = 161@
set_lvar_float_to_lvar_float 156@ = 140@
set_lvar_float_to_lvar_float 157@ = 141@
set_lvar_float_to_lvar_float 158@ = 142@
set_lvar_float_to_lvar_float 159@ = 137@
set_lvar_float_to_lvar_float 160@ = 138@
set_lvar_float_to_lvar_float 161@ = 139@
set_lvar_float_to_lvar_float 162@ = 144@
gosub @CAT1_27226
if 
  47@ == 99.9
goto_if_false @CAT1_27014
if 
  118@ == 0
goto_if_false @CAT1_27014
118@ = 1

:CAT1_27014
set_lvar_float_to_lvar_float 137@ = 159@
set_lvar_float_to_lvar_float 138@ = 160@
set_lvar_float_to_lvar_float 139@ = 161@
if 
  69@ == 1
goto_if_false @CAT1_27224
set_lvar_float_to_lvar_float 56@ = 137@
56@ -= 0.5
set_lvar_float_to_lvar_float 59@ = 137@
59@ += 0.5
set_lvar_float_to_lvar_float 57@ = 138@
57@ -= 0.5
set_lvar_float_to_lvar_float 60@ = 138@
60@ += 0.5
set_lvar_float_to_lvar_float 58@ = 139@
58@ -= 0.5
set_lvar_float_to_lvar_float 61@ = 139@
61@ += 0.5
Debugger.Line(56@, 138@, 139@, 59@, 138@, 139@)
Debugger.Line(137@, 57@, 139@, 137@, 60@, 139@)
Debugger.Line(137@, 138@, 58@, 137@, 138@, 61@)

:CAT1_27224
return 

:CAT1_27226
set_var_float_to_lvar_float $on_footY = 156@
sub_float_lvar_from_float_var $on_footY -= 159@
set_var_float_to_lvar_float $on_footZ = 157@
sub_float_lvar_from_float_var $on_footZ -= 160@
set_var_float_to_lvar_float $in_carX = 158@
sub_float_lvar_from_float_var $in_carX -= 161@
46@ = Math.GetDistanceBetweenCoords3D(159@, 160@, 161@, 156@, 157@, 158@)
set_lvar_float_to_lvar_float 47@ = 162@
47@ *= 20.0
if 
  is_float_lvar_greater_than_float_lvar 47@ > 46@
goto_if_false @CAT1_27344
47@ = 99.9

:CAT1_27344
if 
  is_float_lvar_greater_than_float_lvar 46@ > 162@
goto_if_false @CAT1_27435
div_float_var_by_float_lvar $on_footY /= 46@
div_float_var_by_float_lvar $on_footZ /= 46@
div_float_var_by_float_lvar $in_carX /= 46@
mult_float_var_by_float_lvar $on_footY *= 162@
mult_float_var_by_float_lvar $on_footZ *= 162@
mult_float_var_by_float_lvar $in_carX *= 162@
add_float_var_to_float_lvar 159@ += $on_footY
add_float_var_to_float_lvar 160@ += $on_footZ
add_float_var_to_float_lvar 161@ += $in_carX

:CAT1_27435
return 

:CAT1_27437
if 
  not Car.IsDead(79@(163@,4i))
goto_if_false @CAT1_28499
if 
  not Char.IsDead(72@(163@,4i))
goto_if_false @CAT1_28456
if 
  Char.IsInCar(72@(163@,4i), 79@(163@,4i))
goto_if_false @CAT1_28387
if 
  112@(163@,3i) == 1
goto_if_false @CAT1_27566
if 
  Car.IsPlaybackGoingOn(79@(163@,4i))
goto_if_false @CAT1_27566
Car.UnpausePlayback(79@(163@,4i))
112@(163@,3i) = 0

:CAT1_27566
165@ = 0.0
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(79@(163@,4i))
56@, 57@, 58@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  109@(163@,3i) == 0
goto_if_false @CAT1_27693
if 
  Car.Locate3D(79@(163@,4i), 2711.119, -53.5082, 39.4695, 20.0, 20.0, 5.0, False)
goto_if_false @CAT1_27693
109@(163@,3i) = 1

:CAT1_27693
130@(163@,3f) = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 56@, 57@)
if 
  109@(163@,3i) == 0
goto_if_false @CAT1_27851
if 
  is_float_lvar_greater_than_float_var 56@ > $on_footY
goto_if_false @CAT1_27844
165@ = 1.5
if 
  130@(163@,3f) > 100.0
goto_if_false @CAT1_27844
if 
  not Car.IsOnScreen(79@(163@,4i))
goto_if_false @CAT1_27844
if 
  Car.IsPlaybackGoingOn(79@(163@,4i))
goto_if_false @CAT1_27844
Car.SkipInPlayback(79@(163@,4i), 1.0)

:CAT1_27844
goto @CAT1_27959

:CAT1_27851
if 
  is_float_var_greater_than_float_lvar $on_footZ > 57@
goto_if_false @CAT1_27959
165@ = 1.5
if 
  130@(163@,3f) > 100.0
goto_if_false @CAT1_27959
if 
  not Car.IsOnScreen(79@(163@,4i))
goto_if_false @CAT1_27959
if 
  Car.IsPlaybackGoingOn(79@(163@,4i))
goto_if_false @CAT1_27959
Car.SkipInPlayback(79@(163@,4i), 1.0)

:CAT1_27959
if 
  165@ == 0.0
goto_if_false @CAT1_28123
if 
  30.0 > 130@(163@,3f)
goto_if_false @CAT1_28022
165@ = 1.0
goto @CAT1_28123

:CAT1_28022
set_lvar_float_to_lvar_float 46@ = 130@(163@,3f)
if 
  46@ > 200.0
goto_if_false @CAT1_28065
46@ = 200.0

:CAT1_28065
46@ -= 30.0
46@ /= 170.0
165@ = 1.0
sub_float_lvar_from_float_lvar 165@ -= 46@
165@ *= 0.8
165@ += 0.2

:CAT1_28123
mult_float_lvar_by_float_lvar 165@ *= 133@
if 
  Car.IsInArea2D(79@(163@,4i), 1940.82, 72.1365, 2145.438, 140.5141, False)
goto_if_false @CAT1_28183
165@ = 2.5

:CAT1_28183
if 
  0.1 > 165@
goto_if_false @CAT1_28214
165@ = 0.1

:CAT1_28214
if 
  Car.IsPlaybackGoingOn(79@(163@,4i))
goto_if_false @CAT1_28246
Car.SetPlaybackSpeed(79@(163@,4i), 165@)

:CAT1_28246
if 
  Car.IsPlaybackGoingOn(79@(163@,4i))
goto_if_false @CAT1_28380
if 
  Car.DoesHaveStuckCarCheck(79@(163@,4i))
goto_if_false @CAT1_28380
if 
  StuckCarCheck.IsCarStuck(79@(163@,4i))
goto_if_false @CAT1_28380
if 
  not Car.IsOnScreen(79@(163@,4i))
goto_if_false @CAT1_28380
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 79@(163@,4i), 40.0, 40.0, 5.0, False)
goto_if_false @CAT1_28380
Car.SkipInPlayback(79@(163@,4i), 0.1)

:CAT1_28380
goto @CAT1_28449

:CAT1_28387
if 
  Car.IsPlaybackGoingOn(79@(163@,4i))
goto_if_false @CAT1_28449
if 
  112@(163@,3i) == 0
goto_if_false @CAT1_28449
Car.PausePlayback(79@(163@,4i))
112@(163@,3i) = 1

:CAT1_28449
goto @CAT1_28499

:CAT1_28456
if 
  Car.IsPlaybackGoingOn(79@(163@,4i))
goto_if_false @CAT1_28485
Car.StopPlayback(79@(163@,4i))

:CAT1_28485
130@(163@,3f) = 0.0

:CAT1_28499
return 

:CAT1_28501
if 
  65@ > 10000
goto_if_false @CAT1_32087
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  125@ == 0
goto_if_false @CAT1_29779
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_29779
if 
  not Char.IsShooting($finaleB_played_first_time_round)
goto_if_false @CAT1_29779
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT1_29779
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Char.IsInCar($finaleB_played_first_time_round, $stealth_help_flag)
goto_if_false @CAT1_29779
43@ = 0
44@ = 0

:CAT1_28631
if 
  3 > 43@
goto_if_false @CAT1_28690
if 
  not Char.IsDead(72@(43@,4i))
goto_if_false @CAT1_28676
44@ += 1

:CAT1_28676
43@ += 1
goto @CAT1_28631

:CAT1_28690
43@ = 0
if 
  not Char.IsDead(72@)
goto_if_false @CAT1_28741
if 
  50.0 > 130@
goto_if_false @CAT1_28741
43@ += 1

:CAT1_28741
if 
  not Char.IsDead(73@)
goto_if_false @CAT1_28785
if 
  50.0 > 131@
goto_if_false @CAT1_28785
43@ += 1

:CAT1_28785
if 
  not Char.IsDead(74@)
goto_if_false @CAT1_28829
if 
  50.0 > 132@
goto_if_false @CAT1_28829
43@ += 1

:CAT1_28829
if and
  Char.IsDead(72@)
  Char.IsDead(73@)
  Char.IsDead(74@)
goto_if_false @CAT1_28862
43@ += 1

:CAT1_28862
if 
  43@ == 0
goto_if_false @CAT1_29779
if 
  $audio_line_terminate_all == 0
goto_if_false @CAT1_29779
166@ += 1
if 
  166@ > 8
goto_if_false @CAT1_28930
166@ = 0

:CAT1_28930
switch_start 166@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @CAT1_29772 {caseNum1} 0 {caseLabel1} @CAT1_29058 {caseNum2} 1 {caseLabel2} @CAT1_29153 {caseNum3} 2 {caseLabel3} @CAT1_29201 {caseNum4} 3 {caseLabel4} @CAT1_29249 {caseNum5} 4 {caseLabel5} @CAT1_29344 {caseNum6} 5 {caseLabel6} @CAT1_29439 {caseNum7} 6 {caseLabel7} @CAT1_29534
switch_continued 7 {caseLabel1} @CAT1_29629 {caseNum2} 8 {caseLabel2} @CAT1_29724 {caseNum3} -1 {caseLabel3} @CAT1_29772 {caseNum4} -1 {caseLabel4} @CAT1_29772 {caseNum5} -1 {caseLabel5} @CAT1_29772 {caseNum6} -1 {caseLabel6} @CAT1_29772 {caseNum7} -1 {caseLabel7} @CAT1_29772 {caseNum8} -1 {caseLabel8} @CAT1_29772 {caseNum9} -1 {caseLabel9} @CAT1_29772

:CAT1_29058
if 
  44@ > 1
goto_if_false @CAT1_29105
set_var_text_label s$bd_future_time_shown = 'CAT1_CA'
set_var_int_to_constant $bd_x = 8811
goto @CAT1_29127

:CAT1_29105
set_var_text_label s$bd_future_time_shown = 'CATX_AA'
set_var_int_to_constant $bd_x = 9800

:CAT1_29127
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_29772

:CAT1_29153
set_var_text_label s$bd_future_time_shown = 'CAT1_CB'
set_var_int_to_constant $bd_x = 8812
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_29772

:CAT1_29201
set_var_text_label s$bd_future_time_shown = 'CAT1_CC'
set_var_int_to_constant $bd_x = 8813
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_29772

:CAT1_29249
if 
  44@ > 1
goto_if_false @CAT1_29296
set_var_text_label s$bd_future_time_shown = 'CAT1_CD'
set_var_int_to_constant $bd_x = 8814
goto @CAT1_29318

:CAT1_29296
set_var_text_label s$bd_future_time_shown = 'CATX_AD'
set_var_int_to_constant $bd_x = 9803

:CAT1_29318
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_29772

:CAT1_29344
if 
  44@ > 1
goto_if_false @CAT1_29391
set_var_text_label s$bd_future_time_shown = 'CAT1_CE'
set_var_int_to_constant $bd_x = 8815
goto @CAT1_29413

:CAT1_29391
set_var_text_label s$bd_future_time_shown = 'CATX_AG'
set_var_int_to_constant $bd_x = 9806

:CAT1_29413
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_29772

:CAT1_29439
if 
  44@ > 1
goto_if_false @CAT1_29486
set_var_text_label s$bd_future_time_shown = 'CAT1_DA'
set_var_int_to_constant $bd_x = 8816
goto @CAT1_29508

:CAT1_29486
set_var_text_label s$bd_future_time_shown = 'CATX_AH'
set_var_int_to_constant $bd_x = 9807

:CAT1_29508
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_29772

:CAT1_29534
if 
  44@ > 1
goto_if_false @CAT1_29581
set_var_text_label s$bd_future_time_shown = 'CAT1_DB'
set_var_int_to_constant $bd_x = 8817
goto @CAT1_29603

:CAT1_29581
set_var_text_label s$bd_future_time_shown = 'CATX_AC'
set_var_int_to_constant $bd_x = 9802

:CAT1_29603
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_29772

:CAT1_29629
if 
  44@ > 1
goto_if_false @CAT1_29676
set_var_text_label s$bd_future_time_shown = 'CAT1_DC'
set_var_int_to_constant $bd_x = 8818
goto @CAT1_29698

:CAT1_29676
set_var_text_label s$bd_future_time_shown = 'CATX_AB'
set_var_int_to_constant $bd_x = 9801

:CAT1_29698
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_29772

:CAT1_29724
set_var_text_label s$bd_future_time_shown = 'CAT1_DD'
set_var_int_to_constant $bd_x = 8819
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_29772

:CAT1_29772
65@ = 0

:CAT1_29779
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  125@ == 0
goto_if_false @CAT1_30495
if 
  $audio_line_terminate_all == 0
goto_if_false @CAT1_30495
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_30495
if 
  not Char.IsShooting($finaleB_played_first_time_round)
goto_if_false @CAT1_30495
if or
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT1_30495
if 
  not Char.LocateAnyMeansChar3D($finaleB_played_first_time_round, $stattreadstamina_ctr, 15.0, 15.0, 5.0, False)
goto_if_false @CAT1_30495
43@ = Math.RandomIntInRange(0, 8)
if 
  is_int_lvar_equal_to_int_lvar 43@ == 169@
goto_if_false @CAT1_29968
43@ += 1
if 
  43@ > 7
goto_if_false @CAT1_29968
43@ = 0

:CAT1_29968
set_lvar_int_to_lvar_int 169@ = 43@
switch_start 43@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @CAT1_30488 {caseNum1} 0 {caseLabel1} @CAT1_30104 {caseNum2} 1 {caseLabel2} @CAT1_30152 {caseNum3} 2 {caseLabel3} @CAT1_30200 {caseNum4} 3 {caseLabel4} @CAT1_30248 {caseNum5} 4 {caseLabel5} @CAT1_30296 {caseNum6} 5 {caseLabel6} @CAT1_30344 {caseNum7} 6 {caseLabel7} @CAT1_30392
switch_continued 7 {caseLabel1} @CAT1_30440 {caseNum2} -1 {caseLabel2} @CAT1_30488 {caseNum3} -1 {caseLabel3} @CAT1_30488 {caseNum4} -1 {caseLabel4} @CAT1_30488 {caseNum5} -1 {caseLabel5} @CAT1_30488 {caseNum6} -1 {caseLabel6} @CAT1_30488 {caseNum7} -1 {caseLabel7} @CAT1_30488 {caseNum8} -1 {caseLabel8} @CAT1_30488 {caseNum9} -1 {caseLabel9} @CAT1_30488

:CAT1_30104
set_var_text_label s$bd_future_time_shown = 'CATX_JA'
set_var_int_to_constant $bd_x = 9826
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_30488

:CAT1_30152
set_var_text_label s$bd_future_time_shown = 'CATX_JB'
set_var_int_to_constant $bd_x = 9827
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_30488

:CAT1_30200
set_var_text_label s$bd_future_time_shown = 'CATX_JC'
set_var_int_to_constant $bd_x = 9828
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_30488

:CAT1_30248
set_var_text_label s$bd_future_time_shown = 'CATX_JD'
set_var_int_to_constant $bd_x = 9829
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_30488

:CAT1_30296
set_var_text_label s$bd_future_time_shown = 'CATX_JE'
set_var_int_to_constant $bd_x = 9830
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_30488

:CAT1_30344
set_var_text_label s$bd_future_time_shown = 'CATX_JF'
set_var_int_to_constant $bd_x = 9831
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_30488

:CAT1_30392
set_var_text_label s$bd_future_time_shown = 'CATX_JG'
set_var_int_to_constant $bd_x = 9832
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_30488

:CAT1_30440
set_var_text_label s$bd_future_time_shown = 'CATX_JH'
set_var_int_to_constant $bd_x = 9833
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_30488

:CAT1_30488
65@ = 0

:CAT1_30495
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  125@ == 0
goto_if_false @CAT1_32087
if 
  $audio_line_terminate_all == 0
goto_if_false @CAT1_32087
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT1_32087
if 
  Char.IsShooting($finaleB_played_first_time_round)
goto_if_false @CAT1_32087
if 
  Char.LocateAnyMeansChar3D($finaleB_played_first_time_round, $stattreadstamina_ctr, 2.0, 2.0, 2.0, False)
goto_if_false @CAT1_32087
43@ = 0

:CAT1_30610
if 
  4 > 43@
goto_if_false @CAT1_30676
170@ = Math.RandomIntInRange(0, 25)
if 
  5 > 170@
goto_if_false @CAT1_30662
43@ = 4

:CAT1_30662
43@ += 1
goto @CAT1_30610

:CAT1_30676
if 
  is_int_lvar_equal_to_int_lvar 170@ == 171@
goto_if_false @CAT1_30727
170@ += 1
if 
  170@ > 24
goto_if_false @CAT1_30727
170@ = 0

:CAT1_30727
set_lvar_int_to_lvar_int 171@ = 170@
switch_start 170@ {numCases} 25 {hasDefaultCase} 0 {defaultLabel} @CAT1_32080 {caseNum1} 0 {caseLabel1} @CAT1_30928 {caseNum2} 1 {caseLabel2} @CAT1_30928 {caseNum3} 2 {caseLabel3} @CAT1_30976 {caseNum4} 3 {caseLabel4} @CAT1_31024 {caseNum5} 4 {caseLabel5} @CAT1_31072 {caseNum6} 5 {caseLabel6} @CAT1_31120 {caseNum7} 6 {caseLabel7} @CAT1_31168
switch_continued 7 {caseLabel1} @CAT1_31216 {caseNum2} 8 {caseLabel2} @CAT1_31264 {caseNum3} 9 {caseLabel3} @CAT1_31312 {caseNum4} 10 {caseLabel4} @CAT1_31360 {caseNum5} 11 {caseLabel5} @CAT1_31408 {caseNum6} 12 {caseLabel6} @CAT1_31456 {caseNum7} 13 {caseLabel7} @CAT1_31504 {caseNum8} 14 {caseLabel8} @CAT1_31552 {caseNum9} 15 {caseLabel9} @CAT1_31600
switch_continued 16 {caseLabel1} @CAT1_31648 {caseNum2} 17 {caseLabel2} @CAT1_31696 {caseNum3} 18 {caseLabel3} @CAT1_31744 {caseNum4} 19 {caseLabel4} @CAT1_31792 {caseNum5} 20 {caseLabel5} @CAT1_31840 {caseNum6} 21 {caseLabel6} @CAT1_31888 {caseNum7} 22 {caseLabel7} @CAT1_31936 {caseNum8} 23 {caseLabel8} @CAT1_31984 {caseNum9} 24 {caseLabel9} @CAT1_32032

:CAT1_30928
set_var_text_label s$bd_future_time_shown = 'CAT1_HA'
set_var_int_to_constant $bd_x = 8830
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 0 
goto @CAT1_32080

:CAT1_30976
set_var_text_label s$bd_future_time_shown = 'CAT1_HC'
set_var_int_to_constant $bd_x = 8832
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 0 
goto @CAT1_32080

:CAT1_31024
set_var_text_label s$bd_future_time_shown = 'CAT1_HD'
set_var_int_to_constant $bd_x = 8833
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 0 
goto @CAT1_32080

:CAT1_31072
set_var_text_label s$bd_future_time_shown = 'CAT1_HE'
set_var_int_to_constant $bd_x = 8834
start_new_script @AUDIOL $stattreadstamina_ctr 0 0 1 0 
goto @CAT1_32080

:CAT1_31120
set_var_text_label s$bd_future_time_shown = 'CATX_TA'
set_var_int_to_constant $bd_x = 9869
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31168
set_var_text_label s$bd_future_time_shown = 'CATX_TB'
set_var_int_to_constant $bd_x = 9870
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31216
set_var_text_label s$bd_future_time_shown = 'CATX_TC'
set_var_int_to_constant $bd_x = 9871
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31264
set_var_text_label s$bd_future_time_shown = 'CATX_TD'
set_var_int_to_constant $bd_x = 9872
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31312
set_var_text_label s$bd_future_time_shown = 'CATX_TE'
set_var_int_to_constant $bd_x = 9873
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31360
set_var_text_label s$bd_future_time_shown = 'CATX_TF'
set_var_int_to_constant $bd_x = 9874
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31408
set_var_text_label s$bd_future_time_shown = 'CATX_TG'
set_var_int_to_constant $bd_x = 9875
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31456
set_var_text_label s$bd_future_time_shown = 'CATX_TH'
set_var_int_to_constant $bd_x = 9876
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31504
set_var_text_label s$bd_future_time_shown = 'CATX_TJ'
set_var_int_to_constant $bd_x = 9877
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31552
set_var_text_label s$bd_future_time_shown = 'CATX_TK'
set_var_int_to_constant $bd_x = 9878
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31600
set_var_text_label s$bd_future_time_shown = 'CATX_TL'
set_var_int_to_constant $bd_x = 9879
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31648
set_var_text_label s$bd_future_time_shown = 'CATX_TM'
set_var_int_to_constant $bd_x = 9880
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31696
set_var_text_label s$bd_future_time_shown = 'CATX_TN'
set_var_int_to_constant $bd_x = 9881
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31744
set_var_text_label s$bd_future_time_shown = 'CATX_TO'
set_var_int_to_constant $bd_x = 9882
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31792
set_var_text_label s$bd_future_time_shown = 'CATX_TP'
set_var_int_to_constant $bd_x = 9883
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31840
set_var_text_label s$bd_future_time_shown = 'CATX_TQ'
set_var_int_to_constant $bd_x = 9884
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31888
set_var_text_label s$bd_future_time_shown = 'CATX_TR'
set_var_int_to_constant $bd_x = 9885
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31936
set_var_text_label s$bd_future_time_shown = 'CATX_TS'
set_var_int_to_constant $bd_x = 9886
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_31984
set_var_text_label s$bd_future_time_shown = 'CATX_TT'
set_var_int_to_constant $bd_x = 9887
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_32032
set_var_text_label s$bd_future_time_shown = 'CATX_TU'
set_var_int_to_constant $bd_x = 9888
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32080

:CAT1_32080
65@ = 0

:CAT1_32087
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  125@ == 0
goto_if_false @CAT1_32435
if 
  64@ == 1
goto_if_false @CAT1_32435
if 
  65@ > 4000
goto_if_false @CAT1_32435
if 
  $audio_line_terminate_all == 0
goto_if_false @CAT1_32435
43@ = Math.RandomIntInRange(0, 4)
switch_start 43@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @CAT1_32428 {caseNum1} 0 {caseLabel1} @CAT1_32236 {caseNum2} 1 {caseLabel2} @CAT1_32284 {caseNum3} 2 {caseLabel3} @CAT1_32332 {caseNum4} 3 {caseLabel4} @CAT1_32380 {caseNum5} -1 {caseLabel5} @CAT1_32428 {caseNum6} -1 {caseLabel6} @CAT1_32428 {caseNum7} -1 {caseLabel7} @CAT1_32428

:CAT1_32236
set_var_text_label s$bd_future_time_shown = 'CAT1_GA'
set_var_int_to_constant $bd_x = 8826
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32428

:CAT1_32284
set_var_text_label s$bd_future_time_shown = 'CAT1_GB'
set_var_int_to_constant $bd_x = 8827
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32428

:CAT1_32332
set_var_text_label s$bd_future_time_shown = 'CAT1_GC'
set_var_int_to_constant $bd_x = 8828
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32428

:CAT1_32380
set_var_text_label s$bd_future_time_shown = 'CAT1_GD'
set_var_int_to_constant $bd_x = 8829
start_new_script @AUDIOL $finaleB_played_first_time_round 0 0 1 0 
goto @CAT1_32428

:CAT1_32428
64@ = 2

:CAT1_32435
return 

:CAT1_32437
34@ += 1
35@ = 0
62@ = 0
63@ = 0
65@ = 0
66@ = 0
TIMERA = 0
TIMERB = 0
return 

:CAT1_32495
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:CAT1_32513
$load_and_launch_catalina_mission = 1
Text.PrintWithNumberBig('M_PASS', 1000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 1000)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('CAT_1')
Stat.PlayerMadeProgress(1)
if 
  $pimpY == 1
goto_if_false @CAT1_32596
$pimpY = 2

:CAT1_32596
if 
  $pimpX == 1
goto_if_false @CAT1_32621
$pimpX = 2

:CAT1_32621
$propertyX += 1
Stat.SetInt(StatId.PassedCat1, 1)
$distance += 1
return 

:CAT1_32644
Hud.SwitchWidescreen(False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CAT1_32678
Player.SetGroupRecruitment($statbike_temp, True)
Player.SetGroupToFollowAlways($statbike_temp, False)

:CAT1_32678
Game.SetCreateRandomGangMembers(True)
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Blip.Remove(87@)
Blip.Remove(88@)
Blip.Remove(89@)
Blip.Remove(90@)
Blip.Remove(91@)
Blip.Remove(92@)
Blip.Remove(93@)
Blip.Remove(94@)
Pickup.Remove(95@)
Pickup.Remove(96@)
Pickup.Remove(97@)
DecisionMaker.Remove(67@)
DecisionMaker.Remove(68@)
DecisionMaker.Remove(146@)
DecisionMaker.Remove(145@)
Streaming.UnloadSpecialCharacter(5)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 42---------------
// Originally: Small Town Bank

:CAT2
gosub @CAT2_36
if 
  has_deatharrest_been_executed 
goto_if_false @CAT2_27
gosub @CAT2_30119

:CAT2_27
gosub @CAT2_30482
terminate_this_script 

:CAT2_36
638@ = 1
37@ = DecisionMakerGroup.Load(0)
DecisionMakerGroup.ClearEventResponse(37@, 9)
DecisionMakerGroup.ClearEventResponse(37@, 41)
DecisionMakerGroup.ClearEventResponse(37@, 31)
DecisionMakerGroup.ClearEventResponse(37@, 73)
DecisionMakerGroup.ClearEventResponse(37@, 72)
DecisionMakerGroup.ClearEventResponse(37@, 36)
DecisionMakerGroup.AddEventResponse(37@, 36, 1516, 0.0, 100.0, 0.0, 0.0, True, False)
38@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.AddEventResponse(38@, 36, 1000, 0.0, 100.0, 0.0, 0.0, True, True)
36@ = 32
$weapon_shop1_blip = 1
Player.AlterWantedLevel($statbike_temp, 0)
if 
  $weapon_shop1_blip == 69
goto_if_false @CAT2_256
add_continuous_sound 2320.043 {_p2} -8.5501 {_p3} 27.2047 {_p4} 65535 {_p5} 82@
298@ = Char.Create(PedType.Special, 294, 682.8292, -477.8332, 15.3359)

:CAT2_256
script_name 'CAT2'
Camera.DoFade(800, Fade.Out)

:CAT2_274
if 
  Camera.GetFadingStatus
goto_if_false @CAT2_298
wait 0
goto @CAT2_274

:CAT2_298
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
if 
  Char.DoesExist($finaleB_played_first_time_round)
goto_if_false @CAT2_333
Char.Delete($finaleB_played_first_time_round)

:CAT2_333
Streaming.LoadSpecialCharacter(5, 'CAT')

:CAT2_346
if 
  not Streaming.HasSpecialCharacterLoaded(5)
goto_if_false @CAT2_385
wait 0
Streaming.LoadSpecialCharacter(5, 'CAT')
goto @CAT2_346

:CAT2_385
$finaleB_played_first_time_round = Char.Create(PedType.Special, 294, 682.8292, -477.8332, 15.3359)
Streaming.UnloadSpecialCharacter(5)
Char.SetAnimGroup($finaleB_played_first_time_round, "WOMAN")
Char.SetOnlyDamagedByPlayer($finaleB_played_first_time_round, True)
Char.SetNeverTargeted($finaleB_played_first_time_round, True)
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Respect, PedType.Player1)
Char.SetHealth($finaleB_played_first_time_round, 100)
Char.SetSuffersCriticalHits($finaleB_played_first_time_round, False)
World.ClearArea(2297.786, -16.8313, 26.2964, 20.0, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CAT2_739
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT2_636
39@ = Char.StoreCarIsInNoSave($finaleB_played_first_time_round)
if 
  Char.IsInCar($stattreadstamina_ctr, 39@)
goto_if_false @CAT2_583
Car.SetCoordinates(39@, 2297.986, -14.0735, 25.3495)
Car.SetHeading(39@, 180.0)
goto @CAT2_629

:CAT2_583
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT2_629
Char.SetCoordinates($stattreadstamina_ctr, 2297.786, -15.5166, 26.2964)
Char.SetHeading($stattreadstamina_ctr, 180.0)

:CAT2_629
goto @CAT2_739

:CAT2_636
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT2_739
39@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Char.IsInCar($stattreadstamina_ctr, 39@)
goto_if_false @CAT2_709
Car.SetCoordinates(39@, 2297.986, -14.0735, 25.3495)
Car.SetHeading(39@, 180.0)

:CAT2_709
Char.SetCoordinates($stattreadstamina_ctr, 2297.786, -15.5166, 26.2964)
Char.SetHeading($stattreadstamina_ctr, 180.0)

:CAT2_739
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT2_782
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2297.786, -15.5166, 26.2964)
goto @CAT2_802

:CAT2_782
Char.SetCoordinates($stattreadstamina_ctr, 2297.786, -15.5166, 26.2964)

:CAT2_802
Char.SetHeading($stattreadstamina_ctr, 162.229)
Streaming.RequestModel(283)
Streaming.RequestModel(346)
Streaming.RequestModel(349)
Streaming.RequestCarRecording(123)
Streaming.RequestCarRecording(124)
Streaming.RequestModel(#KMB_ATM1)
Streaming.RequestModel(#KMB_ATM2)
Streaming.RequestModel(#KMB_ATM3)
Streaming.RequestModel(#MTSAFE)
Streaming.RequestModel(#CR_DOOR_01)
Streaming.RequestModel(#CR_DOOR_03)

:CAT2_863
if or
  not Streaming.HasModelLoaded(283)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(349)
  not Streaming.HasModelLoaded(#KMB_ATM1)
  not Streaming.HasModelLoaded(#KMB_ATM2)
  not Streaming.HasModelLoaded(#KMB_ATM3)
goto_if_false @CAT2_915
wait 0
goto @CAT2_863

:CAT2_915
if or
  not Streaming.HasCarRecordingBeenLoaded(124)
  not Streaming.HasCarRecordingBeenLoaded(123)
  not Streaming.HasModelLoaded(#MTSAFE)
  not Streaming.HasModelLoaded(#CR_DOOR_01)
  not Streaming.HasModelLoaded(#CR_DOOR_03)
goto_if_false @CAT2_958
wait 0
goto @CAT2_915

:CAT2_958
Text.LoadMissionText('CAT')
Streaming.RequestModel(71)
Streaming.RequestModel(240)
Streaming.RequestModel(76)
Streaming.RequestAnimation("ROB_BANK")
Streaming.LoadAllModelsNow

:CAT2_996
if or
  not Streaming.HasModelLoaded(71)
  not Streaming.HasModelLoaded(240)
  not Streaming.HasModelLoaded(76)
goto_if_false @CAT2_1031
wait 0
goto @CAT2_996

:CAT2_1031
if 
  not Streaming.HasAnimationLoaded("ROB_BANK")
goto_if_false @CAT2_1065
wait 0
goto @CAT2_1031

:CAT2_1065
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @CAT2_1092
wait 0
goto @CAT2_1065

:CAT2_1092
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1826)
56@ = 0
57@ = 85.0
58@ = 100.0
59@ = 90.0
60@ = 95.0
61@ = Sequence.Open()
Task.ScratchHead(-1)
Task.ScratchHead(-1)
Sequence.Close(61@)
62@ = DecisionMakerChar.Copy(-1)
DecisionMakerChar.ClearEventResponse(62@, 31)
63@ = Char.Create(PedType.CivFemale, 76, 2318.492, -15.5635, 25.6913)
Char.SetHeading(63@, 95.2069)
Char.SetDecisionMaker(63@, 62@)
64@ = Char.Create(PedType.CivFemale, 76, 2318.473, -7.4565, 25.6913)
Streaming.MarkModelAsNoLongerNeeded(76)
Char.SetHeading(64@, 95.2069)
Char.SetDecisionMaker(64@, 62@)
65@ = Char.Create(PedType.CivMale, 240, 2311.509, -11.1779, 25.6987)
Char.SetHeading(65@, 176.6813)
Char.SetDecisionMaker(65@, 62@)
66@ = Char.Create(PedType.CivMale, 71, 2316.618, -12.83, 25.75)
Streaming.MarkModelAsNoLongerNeeded(71)
Char.SetHeading(66@, 90.0)
Char.SetDecisionMaker(66@, 62@)
Char.GiveWeapon(66@, WeaponType.Pistol, 9999)
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2299.895, -7.9983, 26.6055, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2299.998, -8.993, 26.6023, SwitchType.JumpCut)
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 3000
113@ = Object.CreateNoOffset(#KMB_ATM2, 2310.367, -17.0, 20.414)
114@ = Object.CreateNoOffset(#KMB_ATM2, 2313.689, -17.0, 20.414)
115@ = Object.CreateNoOffset(#KMB_ATM2, 2313.318, -0.1206, 20.414)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_1751
Char.RemoveFromGroup($finaleB_played_first_time_round)
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT2_1583
Char.WarpFromCarToCoord($finaleB_played_first_time_round, 2300.743, -15.5274, 25.4844)
goto @CAT2_1603

:CAT2_1583
Char.SetCoordinates($finaleB_played_first_time_round, 2301.743, -17.1274, 25.4844)

:CAT2_1603
71@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Shotgun)
if 
  71@ == 0
goto_if_false @CAT2_1647
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Shotgun, 48)
goto @CAT2_1674

:CAT2_1647
if 
  48 > 71@
goto_if_false @CAT2_1674
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Shotgun, 48)

:CAT2_1674
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Shotgun)
Char.GiveWeapon($finaleB_played_first_time_round, WeaponType.Shotgun, 9999)
Char.SetHeading($finaleB_played_first_time_round, 329.4303)
Task.GoStraightToCoord($stattreadstamina_ctr, 2307.802, -17.221, 25.7574, MoveState.Walk, 10000)
Task.GoStraightToCoord($finaleB_played_first_time_round, 2312.426, -15.4762, 25.75, MoveState.Walk, 10000)

:CAT2_1751
Camera.DoFade(500, Fade.In)
Object.Delete($china_town_gate)
Object.Delete($frontdoorr_a51)
560@ = 1
$RStickY = Clock.GetGameTimer()
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 3500
41@ = 1
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
68@ = -1
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)

:CAT2_1838
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CAT2_1860
goto @CAT2_30343

:CAT2_1860
if 
is_ps2_keyboard_key_just_pressed 87
goto_if_false @CAT2_2049
$distance = 2
56@ = 9
34@ = 1
41@ = 462
Char.SetCoordinates($stattreadstamina_ctr, 857.4263, -29.5418, 62.1858)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_1960
Char.SetCoordinates($finaleB_played_first_time_round, 858.4263, -29.5418, 62.1858)

:CAT2_1960
Streaming.RequestModel(402)

:CAT2_1965
if 
  not Streaming.HasModelLoaded(402)
goto_if_false @CAT2_1992
wait 0
goto @CAT2_1965

:CAT2_1992
69@ = Car.Create(402, 857.4263, -29.5418, 62.1858)
Char.WarpIntoCar($stattreadstamina_ctr, 69@)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_2049
Char.WarpIntoCarAsPassenger($finaleB_played_first_time_round, 69@, 0)

:CAT2_2049
wait 0
if 
  Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_2094
Text.ClearPrints
Text.Print('CAT2_A1', 5000, 1)
goto @CAT2_30119

:CAT2_2094
gosub @CAT2_31345
gosub @CAT2_31946
$RStickY = Clock.GetGameTimer()
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @CAT2_2136
goto @CAT2_30119

:CAT2_2136
if 
  Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_2159
goto @CAT2_30119

:CAT2_2159
if and
  9 > 41@
  41@ > -1
goto_if_false @CAT2_3231
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @CAT2_2243
if 
  68@ == 0
goto_if_false @CAT2_2236
Camera.DoFade(500, Fade.Out)
41@ = 0
68@ += 1

:CAT2_2236
goto @CAT2_2268

:CAT2_2243
if 
  68@ == -1
goto_if_false @CAT2_2268
68@ += 1

:CAT2_2268
if 
  68@ == 1
goto_if_false @CAT2_3231
if 
  not Camera.GetFadingStatus
goto_if_false @CAT2_3231
if and
  2 > 41@
  55@ == 0
goto_if_false @CAT2_2675
72@ = Object.CreateNoOffset(#KMB_ATM1, 2310.367, -17.0, 26.414)
Object.SetHeading(72@, 180.0)
Object.SetCollisionDamageEffect(72@, False)
73@ = Object.CreateNoOffset(#KMB_ATM1, 2313.689, -17.0, 26.414)
Object.SetHeading(73@, 180.0)
Object.SetCollisionDamageEffect(73@, False)
74@ = Object.CreateNoOffset(#KMB_ATM1, 2313.318, -0.1206, 26.414)
Object.SetCollisionDamageEffect(74@, False)
75@ = Object.CreateNoOffset(#MTSAFE, 2305.666, -4.7944, 25.65)
Object.SetHeading(75@, 90.0)
Object.SetCollisionDamageEffect(75@, False)
76@ = Object.CreateNoOffset(#KMB_ATM3, 2310.367, -17.0, 26.414)
Object.SetCollisionDamageEffect(76@, False)
Object.SetHeading(72@, 180.0)
77@ = Object.CreateNoOffset(#KMB_ATM3, 2313.689, -17.0, 26.414)
Object.SetCollisionDamageEffect(77@, False)
Object.SetHeading(73@, 180.0)
78@ = Object.CreateNoOffset(#KMB_ATM3, 2313.318, -0.1206, 26.414)
Object.SetCollisionDamageEffect(78@, False)
70@ = Object.CreateNoOffset(#CAT2_SAFE_COL, 2305.666, -4.7944, 25.65)
Object.SetHeading(70@, 90.0)
Object.SetHeading(75@, 90.0)
Object.SetHeading(76@, 180.0)
Object.SetHeading(77@, 180.0)
Object.SetCollision(72@, False)
Object.SetCollision(73@, False)
Object.SetCollision(74@, False)
55@ = 1

:CAT2_2675
71@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Shotgun)
if 
  71@ == 0
goto_if_false @CAT2_2719
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Shotgun, 48)
goto @CAT2_2746

:CAT2_2719
if 
  48 > 71@
goto_if_false @CAT2_2746
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Shotgun, 48)

:CAT2_2746
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Shotgun)
Char.GiveWeapon($finaleB_played_first_time_round, WeaponType.Shotgun, 9999)
Char.ClearTasks($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2312.578, -7.4347, 25.75)
Char.SetHeading($stattreadstamina_ctr, 126.7479)
Char.SetCoordinates($finaleB_played_first_time_round, 2306.666, -4.7944, 25.75)
Char.SetHeading($finaleB_played_first_time_round, 90.0)
Char.ClearTasks($finaleB_played_first_time_round)
Char.ClearTasksImmediately($finaleB_played_first_time_round)
Task.PlayAnim($finaleB_played_first_time_round, "CAT_SAFE_ROB", "ROB_BANK", 1000.0, True, False, False, False, -2)
Object.PlayAnim(75@, "CAT_SAFE_OPEN_O", "ROB_BANK", 1000.0, False, True)
if 
  not Char.IsDead(66@)
goto_if_false @CAT2_2989
Char.ClearTasksImmediately(66@)
Char.SetCoordinates(66@, 2310.546, -7.7439, 25.7422)
Char.SetHeading(66@, 281.4267)
Task.TurnCharToFaceChar(66@, $stattreadstamina_ctr)
Char.FreezePosition(66@, True)

:CAT2_2989
if 
  not Char.IsDead(63@)
goto_if_false @CAT2_3055
Char.ClearTasksImmediately(63@)
Char.SetCoordinates(63@, 2311.597, -9.1847, 25.7422)
Char.SetHeading(63@, 314.501)
Task.TurnCharToFaceChar(63@, $stattreadstamina_ctr)
Char.FreezePosition(63@, True)

:CAT2_3055
if 
  not Char.IsDead(64@)
goto_if_false @CAT2_3121
Char.ClearTasksImmediately(64@)
Char.SetCoordinates(64@, 2310.591, -9.3749, 25.7422)
Char.SetHeading(64@, 323.1424)
Task.TurnCharToFaceChar(64@, $stattreadstamina_ctr)
Char.FreezePosition(64@, True)

:CAT2_3121
if 
  not Char.IsDead(65@)
goto_if_false @CAT2_3187
Char.ClearTasksImmediately(65@)
Char.SetCoordinates(65@, 2309.61, -8.5556, 25.7422)
Char.SetHeading(65@, 309.2547)
Task.TurnCharToFaceChar(65@, $stattreadstamina_ctr)
Char.FreezePosition(65@, True)

:CAT2_3187
Camera.DoFade(500, Fade.In)
set_lvar_int_to_var_int 42@ = $RStickY
42@ -= 555
41@ = 9
559@ = 5
68@ += 1

:CAT2_3231
if 
  41@ == 1
goto_if_false @CAT2_4115
if and
  is_int_var_greater_than_int_lvar $RStickY > 42@
  55@ == 0
  560@ == 0
goto_if_false @CAT2_4115
560@ = 2
Text.ClearSmallPrints
World.ClearArea(2307.802, -17.221, 25.7574, 100.0, True)
Camera.SetFixedPosition(2308.396, -15.824, 27.666, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2309.273, -15.36, 27.5448, SwitchType.JumpCut)
72@ = Object.CreateNoOffset(#KMB_ATM1, 2310.367, -17.0, 26.414)
Object.SetHeading(72@, 180.0)
Object.SetCollisionDamageEffect(72@, False)
73@ = Object.CreateNoOffset(#KMB_ATM1, 2313.689, -17.0, 26.414)
Object.SetHeading(73@, 180.0)
Object.SetCollisionDamageEffect(73@, False)
74@ = Object.CreateNoOffset(#KMB_ATM1, 2313.318, -0.1206, 26.414)
Object.SetCollisionDamageEffect(74@, False)
75@ = Object.CreateNoOffset(#MTSAFE, 2305.765, -4.7944, 25.75)
Object.SetHeading(75@, 90.0)
70@ = Object.CreateNoOffset(#CAT2_SAFE_COL, 2305.765, -4.7944, 25.75)
Object.SetHeading(70@, 90.0)
Object.SetCollisionDamageEffect(75@, False)
if 
  not Object.DoesExist($ca3_loadingbay)
goto_if_false @CAT2_3606
$ca3_loadingbay = Object.CreateNoOffset(#CR_DOOR_01, 2322.845, 8.304, 25.483)
Object.DontRemove($ca3_loadingbay)
Object.SetCollisionDamageEffect($ca3_loadingbay, False)
Object.FreezePosition($ca3_loadingbay, True)

:CAT2_3606
if 
  not Object.DoesExist($g_BD_DOOR)
goto_if_false @CAT2_3673
$g_BD_DOOR = Object.CreateNoOffset(#CR_DOOR_01, 2316.233, 0.712, 25.742)
Object.DontRemove($g_BD_DOOR)
Object.SetHeading($g_BD_DOOR, 270.0)
Object.FreezePosition($g_BD_DOOR, True)
Object.SetCollisionDamageEffect($g_BD_DOOR, False)

:CAT2_3673
if 
  not Object.DoesExist($china_town_gate)
goto_if_false @CAT2_3730
$china_town_gate = Object.CreateNoOffset(#CR_DOOR_03, 2304.257, -17.744, 25.742)
Object.DontRemove($china_town_gate)
Object.FreezePosition($china_town_gate, True)
Object.SetCollisionDamageEffect($china_town_gate, False)

:CAT2_3730
if 
  not Object.DoesExist($frontdoorr_a51)
goto_if_false @CAT2_3797
$frontdoorr_a51 = Object.CreateNoOffset(#CR_DOOR_03, 2304.257, -14.583, 25.742)
Object.DontRemove($frontdoorr_a51)
Object.FreezePosition($frontdoorr_a51, True)
Object.SetHeading($frontdoorr_a51, 180.0)
Object.SetCollisionDamageEffect($frontdoorr_a51, False)

:CAT2_3797
76@ = Object.CreateNoOffset(#KMB_ATM3, 2310.367, -17.0, 26.414)
Object.SetCollisionDamageEffect(76@, False)
Object.SetHeading(72@, 180.0)
77@ = Object.CreateNoOffset(#KMB_ATM3, 2313.689, -17.0, 26.414)
Object.SetCollisionDamageEffect(77@, False)
Object.SetHeading(73@, 180.0)
78@ = Object.CreateNoOffset(#KMB_ATM3, 2313.318, -0.1206, 26.414)
Object.SetCollisionDamageEffect(78@, False)
Object.SetHeading(75@, 90.0)
Object.SetHeading(76@, 180.0)
Object.SetHeading(77@, 180.0)
Object.SetCollision(72@, False)
Object.SetCollision(73@, False)
Object.SetCollision(74@, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2309.289, -14.3987, 25.75)
Char.SetHeading($stattreadstamina_ctr, 287.3674)
Char.ClearTasksImmediately($finaleB_played_first_time_round)
Char.SetCoordinates($finaleB_played_first_time_round, 2310.206, -15.8887, 25.7574)
Char.SetHeading($finaleB_played_first_time_round, 287.3674)
Task.GoStraightToCoord($stattreadstamina_ctr, 2315.412, -13.1812, 25.75, MoveState.Walk, 10000)
Task.GoStraightToCoord($finaleB_played_first_time_round, 2316.619, -15.1198, 25.75, MoveState.Walk, 10000)
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 3000
55@ = 1
Game.SetWantedMultiplier(0.2)
41@ += 1

:CAT2_4115
if 
  41@ == 2
goto_if_false @CAT2_4469
if and
  is_int_var_greater_than_int_lvar $RStickY > 42@
  560@ == 0
goto_if_false @CAT2_4469
Text.ClearSmallPrints
Camera.SetFixedPosition(2315.312, -13.8451, 27.6696, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2315.771, -12.9906, 27.427, SwitchType.JumpCut)
Char.ClearTasks($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2315.412, -12.1812, 25.75)
Char.SetHeading($stattreadstamina_ctr, 236.5262)
Char.FreezePosition($stattreadstamina_ctr, True)
Char.ClearTasks($finaleB_played_first_time_round)
Char.SetCoordinates($finaleB_played_first_time_round, 2316.619, -15.1198, 25.75)
Char.SetHeading($finaleB_played_first_time_round, 242.0258)
Char.FreezePosition($finaleB_played_first_time_round, True)
if 
  not Char.IsDead(66@)
goto_if_false @CAT2_4439
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(66@)
$on_footY += 2.7
71@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Shotgun)
if 
  71@ == 0
goto_if_false @CAT2_4380
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Shotgun, 48)
goto @CAT2_4407

:CAT2_4380
if 
  48 > 71@
goto_if_false @CAT2_4407
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Shotgun, 48)

:CAT2_4407
Task.AimGunAtCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 10000)
Task.HandsUp(66@, 8000)
Char.FreezePosition(66@, True)

:CAT2_4439
560@ = 3
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 2000
41@ += 1

:CAT2_4469
if 
  41@ == 3
goto_if_false @CAT2_4680
if 
  560@ == 0
goto_if_false @CAT2_4680
if 
  not Char.IsDead(63@)
goto_if_false @CAT2_4597
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(63@)
$on_footY += 2.7
$in_carX += 0.5
Char.GiveWeapon($finaleB_played_first_time_round, WeaponType.Shotgun, 9999)
Task.AimGunAtCoord($finaleB_played_first_time_round, $on_footY, $on_footZ, $in_carX, 10000)
Char.FreezePosition(63@, True)
Task.HandsUp(63@, 8000)

:CAT2_4597
Text.ClearSmallPrints
Camera.SetFixedPosition(2317.011, -17.3945, 27.4246, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2317.248, -16.4244, 27.3736, SwitchType.JumpCut)
560@ = 4
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 2500
41@ += 1

:CAT2_4680
if 
  41@ == 4
goto_if_false @CAT2_4749
if 
  1 > 68@
goto_if_false @CAT2_4749
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_4749
Camera.DoFade(500, Fade.Out)
41@ += 1

:CAT2_4749
if 
  41@ == 5
goto_if_false @CAT2_5253
if 
  1 > 68@
goto_if_false @CAT2_5253
if 
  not Camera.GetFadingStatus
goto_if_false @CAT2_5253
Text.ClearSmallPrints
Camera.SetFixedPosition(2316.377, -11.0151, 28.6019, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2315.613, -10.6059, 28.1029, SwitchType.JumpCut)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2312.578, -7.4347, 25.75)
Char.SetHeading($stattreadstamina_ctr, 126.7479)
Char.ClearTasksImmediately($finaleB_played_first_time_round)
Char.SetCoordinates($finaleB_played_first_time_round, 2308.502, -3.912, 25.7422)
Char.SetHeading($finaleB_played_first_time_round, 81.0)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_4968
Char.FreezePosition($finaleB_played_first_time_round, False)
Task.GoStraightToCoord($finaleB_played_first_time_round, 2306.768, -4.5085, 25.7422, MoveState.Walk, -2)

:CAT2_4968
if 
  not Char.IsDead(66@)
goto_if_false @CAT2_5034
Char.ClearTasks(66@)
Char.SetCoordinates(66@, 2310.546, -7.7439, 25.7422)
Char.SetHeading(66@, 281.4267)
Task.TurnCharToFaceChar(66@, $stattreadstamina_ctr)
Char.FreezePosition(66@, True)

:CAT2_5034
if 
  not Char.IsDead(63@)
goto_if_false @CAT2_5100
Char.ClearTasks(63@)
Char.SetCoordinates(63@, 2311.597, -9.1847, 25.7422)
Char.SetHeading(63@, 314.501)
Task.TurnCharToFaceChar(63@, $stattreadstamina_ctr)
Char.FreezePosition(63@, True)

:CAT2_5100
if 
  not Char.IsDead(64@)
goto_if_false @CAT2_5166
Char.ClearTasks(64@)
Char.SetCoordinates(64@, 2310.591, -9.3749, 25.7422)
Char.SetHeading(64@, 323.1424)
Task.TurnCharToFaceChar(64@, $stattreadstamina_ctr)
Char.FreezePosition(64@, True)

:CAT2_5166
if 
  not Char.IsDead(65@)
goto_if_false @CAT2_5232
Char.ClearTasks(65@)
Char.SetCoordinates(65@, 2309.61, -8.5556, 25.7422)
Char.SetHeading(65@, 309.2547)
Task.TurnCharToFaceChar(65@, $stattreadstamina_ctr)
Char.FreezePosition(65@, True)

:CAT2_5232
Streaming.RequestAnimation("OTB")
Camera.DoFade(500, Fade.In)
41@ += 1

:CAT2_5253
if 
  41@ == 6
goto_if_false @CAT2_5375
if 
  not Camera.GetFadingStatus
goto_if_false @CAT2_5375
World.SetUsesCollisionOfClosestObjectOfType(2312.578, -7.4347, 25.75, 4.5, #MAN_SAFENEW, False)
World.SetUsesCollisionOfClosestObjectOfType(2312.578, -7.4347, 25.75, 4.5, #KEV_SAFE, False)
560@ = 5
561@ = 3
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 800
41@ += 1

:CAT2_5375
if 
  41@ == 7
goto_if_false @CAT2_5482
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_5482
if 
  not Char.IsDead(63@)
goto_if_false @CAT2_5452
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(63@)
$in_carX += 0.7

:CAT2_5452
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 800
41@ += 1
80@ = 0

:CAT2_5482
if 
  41@ == 8
goto_if_false @CAT2_6092
if 
  80@ == 0
goto_if_false @CAT2_5849
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_5849
Camera.SetFixedPosition(2314.602, -4.9551, 28.3779, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2313.779, -5.363, 27.9827, SwitchType.JumpCut)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_5792
Char.SetCoordinates($finaleB_played_first_time_round, 2306.666, -4.7944, 25.75)
Char.SetHeading($finaleB_played_first_time_round, 90.0)
Char.SetCurrentWeapon($finaleB_played_first_time_round, WeaponType.Unarmed)
84@ = Sequence.Open()
Task.PlayAnim(-1, "CAT_SAFE_OPEN", "ROB_BANK", 1000.0, False, False, False, False, -2)
Task.PlayAnim(-1, "CAT_SAFE_ROB", "ROB_BANK", 1000.0, False, False, False, False, -2)
Sequence.Close(84@)
Char.PerformSequence($finaleB_played_first_time_round, 84@)
Sequence.Clear(84@)
Object.PlayAnim(75@, "CAT_SAFE_OPEN_O", "ROB_BANK", 1000.0, False, True)

:CAT2_5792
80@ = 1
Char.FreezePosition($stattreadstamina_ctr, False)
if 
  not Char.IsDead(63@)
goto_if_false @CAT2_5833
Task.AimGunAtChar($stattreadstamina_ctr, 63@, 5500)

:CAT2_5833
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 800

:CAT2_5849
if 
  80@ == 1
goto_if_false @CAT2_6092
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_6092
if 
  not Char.IsDead(66@)
goto_if_false @CAT2_5910
Task.HandsUp(66@, 8000)

:CAT2_5910
if 
  not Char.IsDead(63@)
goto_if_false @CAT2_5963
84@ = Sequence.Open()
Task.Pause(-1, 250)
Task.HandsUp(-1, 8000)
Sequence.Close(84@)
Char.PerformSequence(63@, 84@)
Sequence.Clear(84@)

:CAT2_5963
if 
  not Char.IsDead(64@)
goto_if_false @CAT2_6016
84@ = Sequence.Open()
Task.Pause(-1, 350)
Task.HandsUp(-1, 8000)
Sequence.Close(84@)
Char.PerformSequence(64@, 84@)
Sequence.Clear(84@)

:CAT2_6016
if 
  not Char.IsDead(65@)
goto_if_false @CAT2_6069
84@ = Sequence.Open()
Task.Pause(-1, 850)
Task.HandsUp(-1, 8000)
Sequence.Close(84@)
Char.PerformSequence(65@, 84@)
Sequence.Clear(84@)

:CAT2_6069
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 2000
41@ += 1

:CAT2_6092
if 
  41@ == 9
goto_if_false @CAT2_6615
if and
  is_int_var_greater_than_int_lvar $RStickY > 42@
  560@ == 0
  559@ == 1
goto_if_false @CAT2_6615
if 
  not Object.DoesExist($ca3_loadingbay)
goto_if_false @CAT2_6200
$ca3_loadingbay = Object.CreateNoOffset(#CR_DOOR_01, 2322.845, 8.304, 25.483)
Object.DontRemove($ca3_loadingbay)
Object.SetCollisionDamageEffect($ca3_loadingbay, False)
Object.FreezePosition($ca3_loadingbay, True)

:CAT2_6200
if 
  not Object.DoesExist($g_BD_DOOR)
goto_if_false @CAT2_6267
$g_BD_DOOR = Object.CreateNoOffset(#CR_DOOR_01, 2316.233, 0.712, 25.742)
Object.DontRemove($g_BD_DOOR)
Object.SetHeading($g_BD_DOOR, 270.0)
Object.FreezePosition($g_BD_DOOR, True)
Object.SetCollisionDamageEffect($g_BD_DOOR, False)

:CAT2_6267
if 
  not Object.DoesExist($china_town_gate)
goto_if_false @CAT2_6324
$china_town_gate = Object.CreateNoOffset(#CR_DOOR_03, 2304.257, -17.744, 25.742)
Object.DontRemove($china_town_gate)
Object.FreezePosition($china_town_gate, True)
Object.SetCollisionDamageEffect($china_town_gate, False)

:CAT2_6324
if 
  not Object.DoesExist($frontdoorr_a51)
goto_if_false @CAT2_6391
$frontdoorr_a51 = Object.CreateNoOffset(#CR_DOOR_03, 2304.257, -14.583, 25.742)
Object.DontRemove($frontdoorr_a51)
Object.FreezePosition($frontdoorr_a51, True)
Object.SetHeading($frontdoorr_a51, 180.0)
Object.SetCollisionDamageEffect($frontdoorr_a51, False)

:CAT2_6391
Char.FreezePosition($stattreadstamina_ctr, False)
Char.FreezePosition($finaleB_played_first_time_round, False)
Player.SetControl($statbike_temp, True)
Text.ClearPrints
Text.Print('CAT2_05', 4000, 1)
Text.Print('CAT2_06', 8000, 1)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Char.ClearTasksImmediately($finaleB_played_first_time_round)
Char.SetCurrentWeapon($finaleB_played_first_time_round, WeaponType.Unarmed)
Task.PlayAnim($finaleB_played_first_time_round, "CAT_SAFE_ROB", "ROB_BANK", 1000.0, True, False, False, False, -2)
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 2000
41@ += 1
81@ = 0.0015
World.SetUsesCollisionOfClosestObjectOfType(2312.578, -7.4347, 25.75, 4.5, #MAN_SAFENEW, True)
World.SetUsesCollisionOfClosestObjectOfType(2312.578, -7.4347, 25.75, 4.5, #KEV_SAFE, True)

:CAT2_6615
if 
  41@ > 9
goto_if_false @CAT2_8421
81@ += 2.5E-05
if 
  not Char.IsDead(66@)
goto_if_false @CAT2_7045
if 
  41@ > 10
goto_if_false @CAT2_6728
$chickY = Char.GetScriptTaskStatus(66@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_6721
Char.FreezePosition(66@, False)
Task.KillCharOnFoot(66@, $stattreadstamina_ctr)

:CAT2_6721
goto @CAT2_7038

:CAT2_6728
if and
  Player.IsTargetingChar($statbike_temp, 66@)
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
goto_if_false @CAT2_6771
add_timed_val_to_float_lvar 57@ +=@ 0.02
goto @CAT2_6779

:CAT2_6771
sub_timed_float_lvar_from_float_lvar 57@ -=@ 81@

:CAT2_6779
if 
  57@ > 1.0
goto_if_false @CAT2_6810
57@ = 1.0

:CAT2_6810
if 
  0.0 > 57@
goto_if_false @CAT2_6873
57@ = 0.0
if 
  41@ == 10
goto_if_false @CAT2_6873
gosub @CAT2_30052
41@ = 11

:CAT2_6873
$chickY = Char.GetScriptTaskStatus(66@, 1541)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_6956
Task.PlayAnim(66@, "SHP_HANDSUP_SCR", "ROB_BANK", 4.0, False, False, False, False, 0)
goto @CAT2_7038

:CAT2_6956
if 
  Char.IsPlayingAnim(66@, "SHP_HANDSUP_SCR")
goto_if_false @CAT2_7038
Char.SetAnimPlayingFlag(66@, "SHP_HANDSUP_SCR", False)
Char.SetAnimCurrentTime(66@, "SHP_HANDSUP_SCR", 57@)

:CAT2_7038
goto @CAT2_7082

:CAT2_7045
if 
  41@ == 10
goto_if_false @CAT2_7077
gosub @CAT2_30052
41@ = 11

:CAT2_7077
Char.MarkAsNoLongerNeeded(66@)

:CAT2_7082
if 
  not Char.IsDead(63@)
goto_if_false @CAT2_7486
if 
  41@ > 10
goto_if_false @CAT2_7169
$chickY = Char.GetScriptTaskStatus(63@, 1477)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_7162
Char.FreezePosition(63@, False)
Task.Duck(63@, 1410065407)

:CAT2_7162
goto @CAT2_7479

:CAT2_7169
if and
  Player.IsTargetingChar($statbike_temp, 63@)
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
goto_if_false @CAT2_7212
add_timed_val_to_float_lvar 58@ +=@ 0.023
goto @CAT2_7220

:CAT2_7212
sub_timed_float_lvar_from_float_lvar 58@ -=@ 81@

:CAT2_7220
if 
  58@ > 1.0
goto_if_false @CAT2_7251
58@ = 1.0

:CAT2_7251
if 
  0.0 > 58@
goto_if_false @CAT2_7314
58@ = 0.0
if 
  41@ == 10
goto_if_false @CAT2_7314
gosub @CAT2_30052
41@ = 11

:CAT2_7314
$chickY = Char.GetScriptTaskStatus(63@, 1541)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_7397
Task.PlayAnim(63@, "SHP_HANDSUP_SCR", "ROB_BANK", 4.0, False, False, False, False, 0)
goto @CAT2_7479

:CAT2_7397
if 
  Char.IsPlayingAnim(63@, "SHP_HANDSUP_SCR")
goto_if_false @CAT2_7479
Char.SetAnimPlayingFlag(63@, "SHP_HANDSUP_SCR", False)
Char.SetAnimCurrentTime(63@, "SHP_HANDSUP_SCR", 58@)

:CAT2_7479
goto @CAT2_7523

:CAT2_7486
if 
  41@ == 10
goto_if_false @CAT2_7518
gosub @CAT2_30052
41@ = 11

:CAT2_7518
Char.MarkAsNoLongerNeeded(63@)

:CAT2_7523
if 
  not Char.IsDead(64@)
goto_if_false @CAT2_7927
if 
  41@ > 10
goto_if_false @CAT2_7610
$chickY = Char.GetScriptTaskStatus(64@, 1477)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_7603
Char.FreezePosition(64@, False)
Task.Duck(64@, 1410065407)

:CAT2_7603
goto @CAT2_7920

:CAT2_7610
if and
  Player.IsTargetingChar($statbike_temp, 64@)
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
goto_if_false @CAT2_7653
add_timed_val_to_float_lvar 59@ +=@ 0.026
goto @CAT2_7661

:CAT2_7653
sub_timed_float_lvar_from_float_lvar 59@ -=@ 81@

:CAT2_7661
if 
  59@ > 1.0
goto_if_false @CAT2_7692
59@ = 1.0

:CAT2_7692
if 
  0.0 > 59@
goto_if_false @CAT2_7755
59@ = 0.0
if 
  41@ == 10
goto_if_false @CAT2_7755
gosub @CAT2_30052
41@ = 11

:CAT2_7755
$chickY = Char.GetScriptTaskStatus(64@, 1541)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_7838
Task.PlayAnim(64@, "SHP_HANDSUP_SCR", "ROB_BANK", 4.0, False, False, False, False, 0)
goto @CAT2_7920

:CAT2_7838
if 
  Char.IsPlayingAnim(64@, "SHP_HANDSUP_SCR")
goto_if_false @CAT2_7920
Char.SetAnimPlayingFlag(64@, "SHP_HANDSUP_SCR", False)
Char.SetAnimCurrentTime(64@, "SHP_HANDSUP_SCR", 59@)

:CAT2_7920
goto @CAT2_7964

:CAT2_7927
if 
  41@ == 10
goto_if_false @CAT2_7959
gosub @CAT2_30052
41@ = 11

:CAT2_7959
Char.MarkAsNoLongerNeeded(64@)

:CAT2_7964
if 
  not Char.IsDead(65@)
goto_if_false @CAT2_8368
if 
  41@ > 10
goto_if_false @CAT2_8051
$chickY = Char.GetScriptTaskStatus(65@, 1477)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_8044
Char.FreezePosition(65@, False)
Task.Duck(65@, 1410065407)

:CAT2_8044
goto @CAT2_8361

:CAT2_8051
if and
  Player.IsTargetingChar($statbike_temp, 65@)
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
goto_if_false @CAT2_8094
add_timed_val_to_float_lvar 60@ +=@ 0.025
goto @CAT2_8102

:CAT2_8094
sub_timed_float_lvar_from_float_lvar 60@ -=@ 81@

:CAT2_8102
if 
  60@ > 1.0
goto_if_false @CAT2_8133
60@ = 1.0

:CAT2_8133
if 
  0.0 > 60@
goto_if_false @CAT2_8196
60@ = 0.0
if 
  41@ == 10
goto_if_false @CAT2_8196
gosub @CAT2_30052
41@ = 11

:CAT2_8196
$chickY = Char.GetScriptTaskStatus(65@, 1541)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_8279
Task.PlayAnim(65@, "SHP_HANDSUP_SCR", "ROB_BANK", 4.0, False, False, False, False, 0)
goto @CAT2_8361

:CAT2_8279
if 
  Char.IsPlayingAnim(65@, "SHP_HANDSUP_SCR")
goto_if_false @CAT2_8361
Char.SetAnimPlayingFlag(65@, "SHP_HANDSUP_SCR", False)
Char.SetAnimCurrentTime(65@, "SHP_HANDSUP_SCR", 60@)

:CAT2_8361
goto @CAT2_8421

:CAT2_8368
if 
  41@ == 10
goto_if_false @CAT2_8416
gosub @CAT2_30052
set_lvar_int_to_lvar_int 83@ = TIMERA
83@ += 500
41@ = 11

:CAT2_8416
Char.MarkAsNoLongerNeeded(65@)

:CAT2_8421
if 
  560@ == 9
goto_if_false @CAT2_8635
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_8635
if 
  Streaming.HasAnimationLoaded("OTB")
goto_if_false @CAT2_8628
$chickY = Char.GetScriptTaskStatus($finaleB_played_first_time_round, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_8621
Char.ClearTasks($finaleB_played_first_time_round)
84@ = Sequence.Open()
Task.ToggleDuck(-1, False)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "WTCHRACE_CMON", "OTB", 4.0, False, False, False, False, 0)
Task.PlayAnim(-1, "WTCHRACE_LOSE", "OTB", 4.0, False, False, False, False, 0)
Sequence.Close(84@)
Char.PerformSequence($finaleB_played_first_time_round, 84@)
Sequence.Clear(84@)

:CAT2_8621
goto @CAT2_8635

:CAT2_8628
Streaming.RequestAnimation("OTB")

:CAT2_8635
if 
  41@ == 11
goto_if_false @CAT2_8722
Streaming.RemoveAnimation("ROB_BANK")
if 
  56@ == 4
goto_if_false @CAT2_8722
if 
  Char.IsDead(66@)
goto_if_false @CAT2_8722
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 2000
41@ += 1

:CAT2_8722
if and
  41@ == 12
  560@ == 0
goto_if_false @CAT2_8790
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_8790
Camera.DoFade(500, Fade.Out)
Streaming.RequestModel(599)
Streaming.RequestModel(523)
41@ += 1

:CAT2_8790
if 
  41@ == 13
goto_if_false @CAT2_9720
if and
  Streaming.HasCarRecordingBeenLoaded(116)
  Streaming.HasCarRecordingBeenLoaded(117)
  Streaming.HasCarRecordingBeenLoaded(118)
  Streaming.HasCarRecordingBeenLoaded(119)
  Streaming.HasAnimationLoaded("MISC")
goto_if_false @CAT2_9689
if and
  not Camera.GetFadingStatus
  Streaming.HasModelLoaded(599)
  Streaming.HasModelLoaded(523)
goto_if_false @CAT2_9672
Streaming.RemoveAnimation("OTB")
Streaming.RemoveAnimation("SHOP")
Text.ClearSmallPrints
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
Camera.SetNearClip(0.1)
Sound.Remove(82@)
85@ = Car.Create(599, 2302.181, 6.6, 25.4766)
Car.SetHeading(85@, 90.0)
Car.LockDoors(85@, CarLock.LockoutPlayerOnly)
Car.StartPlayback(85@, 116)
Car.SetPlaybackSpeed(85@, 0.0)
86@ = Car.Create(523, 2348.658, 5.906, 25.3359)
Car.SetHeading(86@, 359.5453)
Car.StartPlayback(86@, 117)
Car.SetPlaybackSpeed(86@, 0.0)
87@ = Char.CreateInsideCar(86@, PedType.CivMale, 283)
Char.SetDecisionMaker(87@, 62@)
88@ = Car.Create(523, 2264.918, 37.519, 25.3359)
Car.SetHeading(88@, 268.8078)
Car.StartPlayback(88@, 118)
Car.SetPlaybackSpeed(88@, 0.0)
89@ = Char.CreateInsideCar(88@, PedType.CivMale, 283)
Char.SetDecisionMaker(89@, 62@)
90@ = Car.Create(599, 2278.477, 89.2844, 25.3378)
Car.SetHeading(90@, 269.8063)
Car.StartPlayback(90@, 119)
Car.SetPlaybackSpeed(90@, 0.0)
91@ = Char.CreateInsideCar(90@, PedType.CivMale, 283)
Char.SetDecisionMaker(91@, 62@)
Car.SwitchSiren(90@, True)
92@ = Char.Create(PedType.CivMale, 283, 2328.564, 1.8673, 25.5693)
Char.SetHeading(92@, 0.0)
43@ = Sequence.Open()
Task.PlayAnim(-1, "SEAT_IDLE", "PED", 1000.0, True, False, False, True, 5000)
Task.PlayAnim(-1, "SEAT_TALK_01", "MISC", 4.0, False, False, False, False, 0)
Task.PlayAnim(-1, "SEAT_IDLE", "PED", 4.0, True, False, False, False, 10000)
Sequence.Close(43@)
Char.PerformSequence(92@, 43@)
Sequence.Clear(43@)
94@ = Char.Create(PedType.CivMale, 240, 2336.679, -8.2464, 25.4766)
Streaming.MarkModelAsNoLongerNeeded(240)
Task.SmartFleePoint(94@, 2336.399, -18.3093, 25.4766, 30.0, 8000)
93@ = Char.Create(PedType.CivMale, 283, 2328.476, 2.3077, 25.5693)
Char.SetDecisionMaker(93@, 62@)
Char.SetHeading(93@, 180.0)
43@ = Sequence.Open()
Task.PlayAnim(-1, "SEAT_IDLE", "PED", 4.0, True, False, False, True, 9200)
Task.PlayAnim(-1, "SEAT_TALK_02", "MISC", 1000.0, False, False, False, True, 0)
Task.PlayAnim(-1, "SEAT_WATCH", "MISC", 4.0, False, False, False, False, 0)
Task.PlayAnim(-1, "SEAT_IDLE", "PED", 4.0, True, False, False, False, 10000)
Sequence.Close(43@)
Char.PerformSequence(93@, 43@)
Sequence.Clear(43@)
set_lvar_int_to_lvar_int 42@ = TIMERA
42@ += 1000
41@ += 1
goto @CAT2_9682

:CAT2_9672
Streaming.RequestModel(599)
Streaming.RequestModel(523)

:CAT2_9682
goto @CAT2_9713

:CAT2_9689
Streaming.RequestCarRecording(116)
Streaming.RequestCarRecording(117)
Streaming.RequestCarRecording(118)
Streaming.RequestCarRecording(119)
Streaming.RequestAnimation("MISC")

:CAT2_9713
goto @CAT2_9876

:CAT2_9720
if 
  41@ == 15
goto_if_false @CAT2_9851
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 42@
goto_if_false @CAT2_9851
Camera.SetFixedPosition(2327.583, 1.796, 26.5414, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2328.538, 2.0688, 26.6612, SwitchType.JumpCut)
Streaming.LoadSceneInDirection(2328.538, 2.0688, 26.6612, 270.0)
Camera.DoFade(500, Fade.In)
68@ = -1
41@ += 1

:CAT2_9851
if 
  41@ == 14
goto_if_false @CAT2_9876
41@ += 1

:CAT2_9876
if 
  25 > 41@
goto_if_false @CAT2_10654
if or
  41@ > 15
  41@ == -1
goto_if_false @CAT2_10654
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @CAT2_9978
if 
  68@ == 0
goto_if_false @CAT2_9971
Camera.DoFade(500, Fade.Out)
41@ = -1
68@ += 1

:CAT2_9971
goto @CAT2_10003

:CAT2_9978
if 
  68@ == -1
goto_if_false @CAT2_10003
68@ += 1

:CAT2_10003
if 
  68@ == 1
goto_if_false @CAT2_10654
if 
  not Camera.GetFadingStatus
goto_if_false @CAT2_10654
559@ = 5
if 
  not Char.IsDead(92@)
goto_if_false @CAT2_10158
Char.ClearTasks(92@)
Char.GiveWeapon(92@, WeaponType.Shotgun, 9999)
if 
  Char.IsInAnyCar(92@)
goto_if_false @CAT2_10115
Char.WarpFromCarToCoord(92@, 2292.531, -19.1915, 25.3437)
goto @CAT2_10135

:CAT2_10115
Char.SetCoordinates(92@, 2292.531, -19.1915, 25.3437)

:CAT2_10135
Task.AimGunAtCoord(92@, 2304.137, -16.591, 27.276, 15000)

:CAT2_10158
if 
  not Char.IsDead(93@)
goto_if_false @CAT2_10275
Char.ClearTasks(93@)
Char.GiveWeapon(93@, WeaponType.Shotgun, 9999)
if 
  Char.IsInAnyCar(93@)
goto_if_false @CAT2_10232
Char.WarpFromCarToCoord(93@, 2297.022, -19.6483, 25.3359)
goto @CAT2_10252

:CAT2_10232
Char.SetCoordinates(93@, 2297.022, -19.6483, 25.3359)

:CAT2_10252
Task.AimGunAtCoord(93@, 2304.137, -16.591, 27.276, 15000)

:CAT2_10275
if 
  not Char.IsDead(87@)
goto_if_false @CAT2_10379
Char.ClearTasks(87@)
Char.GiveWeapon(87@, WeaponType.Shotgun, 9999)
if 
  Char.IsInAnyCar(87@)
goto_if_false @CAT2_10349
Char.WarpFromCarToCoord(87@, 2303.119, -13.7964, 25.4766)
goto @CAT2_10369

:CAT2_10349
Char.SetCoordinates(87@, 2303.119, -13.7964, 25.4766)

:CAT2_10369
Char.SetHeading(87@, 119.4845)

:CAT2_10379
if 
  not Char.IsDead(89@)
goto_if_false @CAT2_10496
Char.ClearTasks(89@)
Char.GiveWeapon(89@, WeaponType.Shotgun, 9999)
if 
  Char.IsInAnyCar(89@)
goto_if_false @CAT2_10453
Char.WarpFromCarToCoord(89@, 2297.244, -16.8148, 25.3328)
goto @CAT2_10473

:CAT2_10453
Char.SetCoordinates(89@, 2297.244, -16.8148, 25.3328)

:CAT2_10473
Task.AimGunAtCoord(89@, 2304.137, -16.591, 27.276, 15000)

:CAT2_10496
if 
  not Car.IsDead(85@)
goto_if_false @CAT2_10517
Car.SkipToEndAndStopPlayback(85@)

:CAT2_10517
if 
  not Car.IsDead(86@)
goto_if_false @CAT2_10538
Car.SkipToEndAndStopPlayback(86@)

:CAT2_10538
if 
  not Car.IsDead(88@)
goto_if_false @CAT2_10559
Car.SkipToEndAndStopPlayback(88@)

:CAT2_10559
if 
  not Car.IsDead(90@)
goto_if_false @CAT2_10640
Car.SkipToEndAndStopPlayback(90@)
Car.SetCoordinates(90@, 2288.757, -11.9521, 25.4766)
Car.SetHeading(90@, 142.4622)
Car.SetForwardSpeed(90@, 0.0)
Car.SetRotationVelocity(90@, 0.0, 0.0, 0.0)

:CAT2_10640
68@ += 1
41@ = 25

:CAT2_10654
if 
  41@ == 16
goto_if_false @CAT2_10728
if and
  is_int_var_greater_than_int_lvar $RStickY > 42@
  560@ == 0
goto_if_false @CAT2_10728
560@ = 39
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 4000
41@ += 1

:CAT2_10728
if 
  41@ == 17
goto_if_false @CAT2_10836
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_10836
if 
  560@ == 0
goto_if_false @CAT2_10836
set_lvar_int_to_lvar_int 626@ = 92@
set_lvar_int_to_lvar_int 627@ = 93@
$d6_player_in_tunnel = 1
560@ = 11
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 2800
41@ += 1

:CAT2_10836
if and
  41@ == 18
  560@ == 0
goto_if_false @CAT2_10910
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_10910
560@ = 12
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 3500
41@ += 1

:CAT2_10910
if and
  41@ == 19
  560@ == 0
goto_if_false @CAT2_11193
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_11193
if 
  not Car.IsDead(85@)
goto_if_false @CAT2_11032
if 
  not Char.IsDead(92@)
goto_if_false @CAT2_11032
Char.ClearTasks(92@)
Char.SetCoordinates(92@, 2345.99, 5.6379, 25.3359)
Char.SetHeading(92@, 276.5795)
Task.EnterCarAsDriver(92@, 85@, 5000)

:CAT2_11032
if 
  not Car.IsDead(85@)
goto_if_false @CAT2_11112
if 
  not Char.IsDead(93@)
goto_if_false @CAT2_11112
Char.ClearTasks(93@)
Char.SetCoordinates(93@, 2349.073, 9.3357, 25.4766)
Char.SetHeading(93@, 282.9661)
Task.EnterCarAsPassenger(93@, 85@, 5000, 0)

:CAT2_11112
Text.ClearSmallPrints
Camera.SetFixedPosition(2353.494, 10.2912, 29.0217, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2352.723, 9.7997, 28.6169, SwitchType.JumpCut)
Char.Delete(94@)
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 1000
41@ += 1

:CAT2_11193
if 
  41@ == 20
goto_if_false @CAT2_11305
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_11305
if 
  not Car.IsDead(86@)
goto_if_false @CAT2_11256
Car.SetPlaybackSpeed(86@, 1.0)

:CAT2_11256
if 
  not Car.IsDead(88@)
goto_if_false @CAT2_11282
Car.SetPlaybackSpeed(88@, 1.0)

:CAT2_11282
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 2500
41@ += 1

:CAT2_11305
if 
  41@ == 21
goto_if_false @CAT2_11479
if 
  not Car.IsDead(85@)
goto_if_false @CAT2_11456
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_11449
Car.SetPlaybackSpeed(85@, 1.0)
Camera.SetInterpolationParameters(0.0, 5500)
Camera.SetFixedPosition(2353.054, 12.14, 28.0091, 0.0, 0.0, 0.0)
Camera.PointAtCar(85@, CameraMode.Fixed, SwitchType.Interpolation)
Car.SwitchSiren(85@, True)
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 5500
41@ = 23

:CAT2_11449
goto @CAT2_11479

:CAT2_11456
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 5500
41@ = 23

:CAT2_11479
if 
  41@ == 22
goto_if_false @CAT2_11622
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_11622
Camera.SetFixedPosition(2297.562, 11.3784, 29.2857, 0.0, 0.0, 0.0)
if 
  not Car.IsDead(90@)
goto_if_false @CAT2_11580
Camera.PointAtCar(90@, CameraMode.Fixed, SwitchType.JumpCut)
goto @CAT2_11599

:CAT2_11580
Camera.PointAtPoint(2297.377, 12.3375, 29.071, SwitchType.JumpCut)

:CAT2_11599
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 6500
41@ += 1

:CAT2_11622
if 
  41@ == 23
goto_if_false @CAT2_12535
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_12535
560@ = 13
561@ = 3
if 
  not Car.IsDead(85@)
goto_if_false @CAT2_11894
if 
  Car.IsPlaybackGoingOn(85@)
goto_if_false @CAT2_11894
Car.StopPlayback(85@)
Car.SetCoordinates(85@, 2297.266, -27.4791, 25.3359)
Car.SetHeading(85@, 23.0)
Car.SetForwardSpeed(85@, 17.0)
if 
  not Char.IsDead(92@)
goto_if_false @CAT2_11894
Char.GiveWeapon(92@, WeaponType.Pistol, 9999)
43@ = Sequence.Open()
Task.CarDriveToCoord(-1, 85@, 2295.612, -23.6996, 25.3437, 17.0, DriveMode.Accurate, 0, DrivingMode.PloughThrough)
Task.CarTempAction(-1, 85@, TempAction.HandbrakeStraight, 1000)
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2292.531, -19.1915, 25.3437, MoveState.Run, 10000)
Task.AimGunAtCoord(-1, 2304.137, -16.591, 27.276, 5000)
Sequence.Close(43@)
Char.PerformSequence(92@, 43@)
Sequence.Clear(43@)

:CAT2_11894
if 
  not Char.IsDead(93@)
goto_if_false @CAT2_12006
Char.GiveWeapon(93@, WeaponType.Pistol, 9999)
43@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2296.707, -15.3321, 25.3279, MoveState.Run, 10000)
Task.ToggleDuck(-1, True)
Task.AimGunAtCoord(-1, 2304.137, -16.591, 27.276, 5000)
Sequence.Close(43@)
Char.PerformSequence(93@, 43@)
Sequence.Clear(43@)

:CAT2_12006
if 
  not Car.IsDead(86@)
goto_if_false @CAT2_12214
if 
  Car.IsPlaybackGoingOn(86@)
goto_if_false @CAT2_12214
Car.StopPlayback(86@)
Car.SetCoordinates(86@, 2305.835, -30.7209, 25.3382)
Car.SetHeading(86@, 33.0)
Car.SetForwardSpeed(86@, 17.0)
if 
  not Char.IsDead(87@)
goto_if_false @CAT2_12214
Char.GiveWeapon(87@, WeaponType.Pistol, 9999)
43@ = Sequence.Open()
Task.CarDriveToCoord(-1, 86@, 2302.19, -21.2635, 25.4844, 17.0, DriveMode.Accurate, 0, DrivingMode.PloughThrough)
Task.CarTempAction(-1, 86@, TempAction.HandbrakeStraight, 1000)
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2297.244, -16.8148, 25.3328, MoveState.Run, 10000)
Task.AchieveHeading(-1, 291.4845)
Sequence.Close(43@)
Char.PerformSequence(87@, 43@)
Sequence.Clear(43@)

:CAT2_12214
if 
  not Car.IsDead(88@)
goto_if_false @CAT2_12435
if 
  Car.IsPlaybackGoingOn(88@)
goto_if_false @CAT2_12435
Car.StopPlayback(88@)
Car.SetCoordinates(88@, 2294.491, -2.6373, 25.3359)
Car.SetHeading(88@, 186.0)
Car.SetForwardSpeed(88@, 17.0)
if 
  not Char.IsDead(89@)
goto_if_false @CAT2_12435
Char.GiveWeapon(89@, WeaponType.Pistol, 9999)
43@ = Sequence.Open()
Task.CarDriveToCoord(-1, 88@, 2298.094, -10.0818, 25.3285, 17.0, DriveMode.Accurate, 0, DrivingMode.PloughThrough)
Task.CarTempAction(-1, 88@, TempAction.HandbrakeStraight, 1000)
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2303.119, -13.7964, 25.4766, MoveState.Run, 10000)
Task.AimGunAtCoord(-1, 2304.137, -16.591, 27.276, 5000)
Sequence.Close(43@)
Char.PerformSequence(89@, 43@)
Sequence.Clear(43@)

:CAT2_12435
if 
  not Car.IsDead(90@)
goto_if_false @CAT2_12461
Car.SetPlaybackSpeed(90@, 1.0)

:CAT2_12461
Camera.SetFixedPosition(2288.577, -15.1784, 27.8832, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2289.553, -15.2742, 27.6869, SwitchType.JumpCut)
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 6000
41@ += 1

:CAT2_12535
if and
  41@ == 24
  560@ == 0
goto_if_false @CAT2_12598
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_12598
Camera.DoFade(500, Fade.Out)
Streaming.RequestModel(427)
41@ += 1

:CAT2_12598
if 
  41@ == 25
goto_if_false @CAT2_13093
if and
  not Camera.GetFadingStatus
  Streaming.HasModelLoaded(427)
goto_if_false @CAT2_13088
Path.SwitchRoadsOff(2344.518, 36.1468, 36.0359, 2269.718, -44.376, 23.0569)
Streaming.RemoveAnimation("MISC")
Streaming.RequestAnimation("GANGS")
95@ = Car.Create(427, 2302.181, 6.6, 25.4766)
Car.SetHeading(95@, 90.0)
Car.FreezePosition(95@, True)
96@ = Car.Create(427, 2337.9, 23.4, 25.4766)
Car.SetHeading(96@, 270.0)
Car.FreezePosition(96@, True)
101@ = 0

:CAT2_12770
if 
  3 > 101@
goto_if_false @CAT2_12872
97@(101@,4i) = 0
if 
  Object.DoesExist(72@(101@,4i))
goto_if_false @CAT2_12858
102@(101@,4i) = Blip.AddForObject(72@(101@,4i))
Object.MakeTargetable(76@(101@,4i), True)
Object.SetHealth(76@(101@,4i), 1000)

:CAT2_12858
101@ += 1
goto @CAT2_12770

:CAT2_12872
if 
  not Char.IsDead(94@)
goto_if_false @CAT2_12893
Char.MarkAsNoLongerNeeded(94@)

:CAT2_12893
Player.SetControl($statbike_temp, True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(500, Fade.In)
if 
  not Char.IsDead(92@)
goto_if_false @CAT2_12954
Char.Delete(92@)

:CAT2_12954
if 
  not Char.IsDead(93@)
goto_if_false @CAT2_12975
Char.Delete(93@)

:CAT2_12975
if 
  not Char.IsDead(87@)
goto_if_false @CAT2_12996
Char.Delete(87@)

:CAT2_12996
if 
  not Char.IsDead(89@)
goto_if_false @CAT2_13017
Char.Delete(89@)

:CAT2_13017
Car.Delete(85@)
Car.Delete(86@)
Car.Delete(88@)
Car.Delete(90@)
Char.SetCurrentWeapon($finaleB_played_first_time_round, WeaponType.Shotgun)
Char.SetCoordinates($finaleB_played_first_time_round, 2312.208, -1.9564, 25.7422)
Char.SetHeading($finaleB_played_first_time_round, 199.0)
41@ += 1
goto @CAT2_13093

:CAT2_13088
Streaming.RequestModel(427)

:CAT2_13093
if 
  41@ == 26
goto_if_false @CAT2_13241
if and
  not Camera.GetFadingStatus
  559@ == 1
  Streaming.HasAnimationLoaded("GANGS")
goto_if_false @CAT2_13241
560@ = 16
561@ = 3
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_13213
Task.PlayAnim($finaleB_played_first_time_round, "PRTIAL_GNGTLKB", "GANGS", 4.0, False, False, False, False, 0)

:CAT2_13213
Object.SetCollisionDamageEffect(76@, False)
Object.SetCollisionDamageEffect(77@, True)
Object.SetCollisionDamageEffect(78@, True)
41@ += 1

:CAT2_13241
if 
  41@ == 27
goto_if_false @CAT2_14339
106@ = Char.GetScriptTaskStatus($finaleB_played_first_time_round, 1541)
if 
  is_int_lvar_equal_to_constant 106@ == 7
goto_if_false @CAT2_13317
if 
  Streaming.HasAnimationLoaded("GANGS")
goto_if_false @CAT2_13317
Streaming.RemoveAnimation("GANGS")

:CAT2_13317
101@ = 0

:CAT2_13324
if 
  3 > 101@
goto_if_false @CAT2_14153
if 
  Object.DoesExist(72@(101@,4i))
goto_if_false @CAT2_13690
if 
  97@(101@,4i) == 0
goto_if_false @CAT2_13690
44@ = Object.GetHealth(76@(101@,4i))
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(72@(101@,4i))
set_lvar_float_to_var_float 107@ = $on_footY
107@ -= 1.0
set_lvar_float_to_var_float 110@ = $on_footY
110@ += 1.0
set_lvar_float_to_var_float 108@ = $on_footZ
108@ -= 1.0
set_lvar_float_to_var_float 111@ = $on_footZ
111@ += 1.0
set_lvar_float_to_var_float 109@ = $in_carX
109@ -= 1.0
set_lvar_float_to_var_float 112@ = $in_carX
112@ += 1.0
if 
  World.IsExplosionInArea(-1, 107@, 108@, 109@, 110@, 111@, 112@)
goto_if_false @CAT2_13573
Object.SetHealth(113@(101@,4i), 0)
44@ = 0

:CAT2_13573
if 
  500 > 44@
goto_if_false @CAT2_13690
46@ = Object.GetHeading(72@(101@,4i))
Object.Break(72@(101@,4i), 1)
Object.SetCoordinates(113@(101@,4i), $on_footY, $on_footZ, $in_carX)
Object.SetVisible(113@(101@,4i), True)
Object.SetHeading(113@(101@,4i), 46@)
Object.SetCollision(113@(101@,4i), False)
Object.SetHealth(113@(101@,4i), 150)
97@(101@,4i) += 1

:CAT2_13690
if 
  Object.DoesExist(113@(101@,4i))
goto_if_false @CAT2_14068
if 
  97@(101@,4i) == 1
goto_if_false @CAT2_14068
44@ = Object.GetHealth(76@(101@,4i))
if 
  1 > 44@
goto_if_false @CAT2_14068
Blip.Remove(102@(101@,4i))
Object.Delete(76@(101@,4i))
if 
  101@ == 0
goto_if_false @CAT2_13838
76@ = Object.CreateNoOffset(#KMB_ATM3, 2310.367, -17.0, 26.414)
Object.SetCollisionDamageEffect(76@, False)
Object.SetHeading(76@, 180.0)

:CAT2_13838
if 
  101@ == 1
goto_if_false @CAT2_13896
77@ = Object.CreateNoOffset(#KMB_ATM3, 2313.689, -17.0, 26.414)
Object.SetCollisionDamageEffect(77@, False)
Object.SetHeading(77@, 180.0)

:CAT2_13896
if 
  101@ == 2
goto_if_false @CAT2_13944
78@ = Object.CreateNoOffset(#KMB_ATM3, 2313.318, -0.1206, 26.414)
Object.SetCollisionDamageEffect(78@, False)

:CAT2_13944
Object.MarkAsNoLongerNeeded(72@(101@,4i))
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(113@(101@,4i), 0.0, -1.0, 0.0)
Object.MakeTargetable(76@(101@,4i), False)
Object.SetVisible(76@(101@,4i), True)
Object.Break(113@(101@,4i), 0)
117@(101@,4i) = Pickup.CreateMoney($on_footY, $on_footZ, $in_carX, 0, True)
102@(101@,4i) = Blip.AddForPickup(117@(101@,4i))
97@(101@,4i) += 1

:CAT2_14068
if 
  97@(101@,4i) == 2
goto_if_false @CAT2_14139
if 
  Pickup.HasBeenCollected(117@(101@,4i))
goto_if_false @CAT2_14139
Object.MarkAsNoLongerNeeded(113@(101@,4i))
Blip.Remove(102@(101@,4i))
97@(101@,4i) += 1

:CAT2_14139
101@ += 1
goto @CAT2_13324

:CAT2_14153
if and
  97@ == 3
  98@ == 3
  99@ == 3
goto_if_false @CAT2_14339
Object.SetCollisionDamageEffect($g_BD_DOOR, True)
41@ += 1
if 
  not Char.IsDead(92@)
goto_if_false @CAT2_14224
Char.SetRelationship(92@, RelationshipType.Hate, PedType.Player1)

:CAT2_14224
if 
  not Char.IsDead(93@)
goto_if_false @CAT2_14249
Char.SetRelationship(93@, RelationshipType.Hate, PedType.Player1)

:CAT2_14249
if 
  not Char.IsDead(87@)
goto_if_false @CAT2_14274
Char.SetRelationship(87@, RelationshipType.Hate, PedType.Player1)

:CAT2_14274
if 
  not Char.IsDead(89@)
goto_if_false @CAT2_14299
Char.SetRelationship(89@, RelationshipType.Hate, PedType.Player1)

:CAT2_14299
Path.SwitchRoadsOn(2344.518, 36.1468, 36.0359, 2269.718, -44.376, 23.0569)
Char.SetDecisionMaker($finaleB_played_first_time_round, 38@)

:CAT2_14339
if 
  41@ == 28
goto_if_false @CAT2_14392
Streaming.MarkModelAsNoLongerNeeded(#KMB_ATM1)
Streaming.MarkModelAsNoLongerNeeded(#KMB_ATM2)
Streaming.MarkModelAsNoLongerNeeded(#KMB_ATM3)
Streaming.MarkModelAsNoLongerNeeded(#MTSAFE)
Streaming.MarkModelAsNoLongerNeeded(#CR_DOOR_01)
Streaming.MarkModelAsNoLongerNeeded(#CR_DOOR_03)
41@ = 29

:CAT2_14392
if 
  41@ == 31
goto_if_false @CAT2_14967
if and
  Streaming.HasCarRecordingBeenLoaded(123)
  Streaming.HasCarRecordingBeenLoaded(124)
goto_if_false @CAT2_14959
if 
  344@ == 10
goto_if_false @CAT2_14952
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CAT2_14952
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2315.558, 70.7181, 31.4998, 11.4, 8.4, 6.0, False)
goto_if_false @CAT2_14952
DecisionMakerChar.ClearEventResponse(38@, 36)
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
World.ClearArea(2321.218, 69.1035, 26.7314, 25.0, True)
Camera.SetFixedPosition(2324.899, 66.4572, 25.8911, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2324.192, 67.157, 25.9911, SwitchType.JumpCut)
Car.Delete(86@)
Car.Delete(88@)
Char.Delete(87@)
Char.Delete(89@)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT2_14685
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2319.793, 61.6571, 25.4769)
goto @CAT2_14705

:CAT2_14685
Char.SetCoordinates($stattreadstamina_ctr, 2319.793, 61.6571, 25.4769)

:CAT2_14705
Char.SetHeading($stattreadstamina_ctr, 5.0)
Char.RemoveFromGroup($finaleB_played_first_time_round)
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT2_14763
Char.WarpFromCarToCoord($finaleB_played_first_time_round, 2318.242, 61.3145, 25.4759)
goto @CAT2_14783

:CAT2_14763
Char.SetCoordinates($finaleB_played_first_time_round, 2318.242, 61.3145, 25.4759)

:CAT2_14783
Char.SetHeading($finaleB_played_first_time_round, 350.0)
86@ = Car.Create(523, 2287.156, 61.9821, 25.4766)
Car.SetHeading(86@, 322.7361)
87@ = Char.CreateInsideCar(86@, PedType.CivMale, 283)
Char.SetDecisionMaker(87@, 62@)
Car.StartPlayback(86@, 123)
Car.SetProofs(86@, True, True, True, True, True)
88@ = Car.Create(523, 2289.629, 58.0551, 25.3359)
Car.SetHeading(88@, 330.5475)
Car.SetProofs(88@, True, True, True, True, True)
89@ = Char.CreateInsideCar(88@, PedType.CivMale, 283)
Char.SetDecisionMaker(89@, 62@)
Car.StartPlayback(88@, 124)
41@ += 1

:CAT2_14952
goto @CAT2_14967

:CAT2_14959
Streaming.RequestCarRecording(123)
Streaming.RequestCarRecording(124)

:CAT2_14967
if 
  41@ == 32
goto_if_false @CAT2_15059
if 
  not Car.IsDead(86@)
goto_if_false @CAT2_15059
if 
  not Car.IsPlaybackGoingOn(86@)
goto_if_false @CAT2_15059
if 
  not Char.IsDead(87@)
goto_if_false @CAT2_15059
Car.SetEngineOn(86@, False)
Task.LeaveAnyCar(87@)
Car.FreezePosition(86@, True)
41@ += 1

:CAT2_15059
if and
  41@ == 33
  560@ == 0
goto_if_false @CAT2_15165
if 
  not Car.IsDead(88@)
goto_if_false @CAT2_15165
if 
  not Car.IsPlaybackGoingOn(88@)
goto_if_false @CAT2_15165
if 
  not Char.IsDead(89@)
goto_if_false @CAT2_15165
Task.LeaveAnyCar(89@)
Car.SetEngineOn(88@, False)
Car.FreezePosition(88@, True)
Camera.DoFade(500, Fade.Out)
41@ += 1

:CAT2_15165
if 
  41@ == 34
goto_if_false @CAT2_15250
if 
  not Camera.GetFadingStatus
goto_if_false @CAT2_15250
560@ = 29
Player.SetControl($statbike_temp, True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(500, Fade.In)
41@ += 1

:CAT2_15250
if 
  41@ == 35
goto_if_false @CAT2_15408
if 
  not Camera.GetFadingStatus
goto_if_false @CAT2_15408
if 
  not Char.IsDead(87@)
goto_if_false @CAT2_15322
Char.GiveWeapon(87@, WeaponType.Pistol, 9999)
Task.KillCharOnFoot(87@, $stattreadstamina_ctr)
Char.SetOnlyDamagedByPlayer(87@, True)

:CAT2_15322
if 
  not Char.IsDead(89@)
goto_if_false @CAT2_15363
Char.GiveWeapon(89@, WeaponType.Shotgun, 9999)
Task.KillCharOnFoot(89@, $stattreadstamina_ctr)
Char.SetOnlyDamagedByPlayer(89@, True)

:CAT2_15363
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_15401
Task.ShootAtCoord($finaleB_played_first_time_round, 2322.183, 71.2342, 26.549, -2)

:CAT2_15401
41@ += 1

:CAT2_15408
if and
  41@ == 36
  560@ == 0
goto_if_false @CAT2_15490
if 
  not Camera.GetFadingStatus
goto_if_false @CAT2_15490
if and
  Char.IsDead(87@)
  Char.IsDead(89@)
goto_if_false @CAT2_15490
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 750
41@ += 1

:CAT2_15490
if 
  41@ == 37
goto_if_false @CAT2_15541
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_15541
Camera.DoFade(500, Fade.Out)
41@ += 1

:CAT2_15541
if 
  38 > 41@
goto_if_false @CAT2_15559

:CAT2_15559
if 
  41@ == 38
goto_if_false @CAT2_16307
if 
  not Camera.GetFadingStatus
goto_if_false @CAT2_16307
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
World.ClearArea(2321.218, 69.1035, 26.7314, 25.0, True)
Camera.SetFixedPosition(2325.291, 70.4759, 26.8236, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2324.353, 70.7834, 26.6641, SwitchType.JumpCut)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($finaleB_played_first_time_round)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT2_15747
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2322.075, 69.6739, 25.4784)
goto @CAT2_15767

:CAT2_15747
Char.SetCoordinates($stattreadstamina_ctr, 2322.075, 69.6739, 25.4784)

:CAT2_15767
Char.SetHeading($stattreadstamina_ctr, 325.1885)
Char.RemoveFromGroup($finaleB_played_first_time_round)
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT2_15825
Char.WarpFromCarToCoord($finaleB_played_first_time_round, 2321.63, 71.6478, 25.4724)
goto @CAT2_15845

:CAT2_15825
Char.SetCoordinates($finaleB_played_first_time_round, 2321.63, 71.6478, 25.4724)

:CAT2_15845
Char.SetHeading($finaleB_played_first_time_round, 295.8968)
Car.Delete(86@)
Car.Delete(88@)
Char.Delete(87@)
Char.Delete(89@)
if 
  not Car.IsDead(95@)
goto_if_false @CAT2_15896
Car.MarkAsNoLongerNeeded(95@)

:CAT2_15896
if 
  not Car.IsDead(96@)
goto_if_false @CAT2_15917
Car.MarkAsNoLongerNeeded(96@)

:CAT2_15917
if 
  not Car.IsDead(85@)
goto_if_false @CAT2_15938
Car.MarkAsNoLongerNeeded(85@)

:CAT2_15938
if 
  not Car.IsDead(86@)
goto_if_false @CAT2_15959
Car.MarkAsNoLongerNeeded(86@)

:CAT2_15959
World.ClearArea(2320.634, 79.9329, 27.9897, 100.0, True)
86@ = Car.Create(523, 2322.863, 73.0477, 26.0378)
Car.SetHeading(86@, 34.6853)
88@ = Car.Create(523, 2323.166, 70.1374, 26.0405)
Car.SetHeading(88@, 345.7562)
43@ = Sequence.Open()
Task.StandStill(-1, 750)
Task.EnterCarAsDriver(-1, 86@, -2)
Sequence.Close(43@)
Char.PerformSequence($finaleB_played_first_time_round, 43@)
Sequence.Clear(43@)
43@ = Sequence.Open()
Task.StandStill(-1, 500)
Task.EnterCarAsDriver(-1, 88@, -2)
Sequence.Close(43@)
Char.PerformSequence($stattreadstamina_ctr, 43@)
Sequence.Clear(43@)
Object.MarkAsNoLongerNeeded(113@)
Object.MarkAsNoLongerNeeded(114@)
Object.MarkAsNoLongerNeeded(115@)
Object.MarkAsNoLongerNeeded(72@)
Object.MarkAsNoLongerNeeded(73@)
Object.MarkAsNoLongerNeeded(74@)
Object.MarkAsNoLongerNeeded(75@)
Object.MarkAsNoLongerNeeded(76@)
Object.MarkAsNoLongerNeeded(77@)
Object.MarkAsNoLongerNeeded(78@)
Object.MarkAsNoLongerNeeded(70@)
Char.MarkAsNoLongerNeeded(63@)
Char.MarkAsNoLongerNeeded(64@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(298@)
Char.MarkAsNoLongerNeeded(299@)
Char.MarkAsNoLongerNeeded(300@)
Char.MarkAsNoLongerNeeded(301@)
Char.MarkAsNoLongerNeeded(302@)
Char.MarkAsNoLongerNeeded(303@)
Char.MarkAsNoLongerNeeded(304@)
Char.MarkAsNoLongerNeeded(305@)
Char.MarkAsNoLongerNeeded(306@)
Camera.DoFade(500, Fade.In)
set_lvar_int_to_var_int 42@ = $RStickY
42@ += 2500
41@ += 1
560@ = 30
561@ = 2
set_lvar_int_to_lvar_int 634@ = TIMERA
634@ += 400

:CAT2_16307
if 
  41@ == 39
goto_if_false @CAT2_16421
if 
  not Car.IsDead(86@)
goto_if_false @CAT2_16407
if 
  Char.IsSittingInCar($finaleB_played_first_time_round, 86@)
goto_if_false @CAT2_16400
if and
  is_int_var_greater_than_int_lvar $RStickY > 42@
  560@ == 0
goto_if_false @CAT2_16400
Camera.DoFade(500, Fade.Out)
41@ += 1

:CAT2_16400
goto @CAT2_16421

:CAT2_16407
Camera.DoFade(500, Fade.Out)
41@ += 1

:CAT2_16421
if 
  41@ == 40
goto_if_false @CAT2_17517
if and
  Streaming.HasCarRecordingBeenLoaded(156)
  Streaming.HasCarRecordingBeenLoaded(157)
  Streaming.HasCarRecordingBeenLoaded(158)
  Streaming.HasCarRecordingBeenLoaded(159)
goto_if_false @CAT2_17497
if and
  Streaming.HasCarRecordingBeenLoaded(160)
  Streaming.HasCarRecordingBeenLoaded(161)
goto_if_false @CAT2_17480
if 
  not Camera.GetFadingStatus
goto_if_false @CAT2_17473
Player.SetControl($statbike_temp, True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
122@ = Car.Create(599, 1307.095, 280.2934, 18.4062)
123@ = Car.Create(599, 1307.095, 290.2934, 18.4062)
124@ = Car.Create(599, 1307.095, 300.2934, 18.4062)
Car.FreezePosition(122@, True)
Car.FreezePosition(123@, True)
Car.FreezePosition(124@, True)
146@ = Car.Create(523, 2346.523, 62.9803, 25.3359)
147@ = Car.Create(523, 2346.682, 45.9405, 25.3359)
129@ = Char.CreateInsideCar(122@, PedType.Mission1, 283)
130@ = Char.CreateAsPassenger(122@, PedType.Mission1, 283, 0)
131@ = Char.CreateInsideCar(123@, PedType.Mission1, 283)
132@ = Char.CreateAsPassenger(123@, PedType.Mission1, 283, 0)
133@ = Char.CreateInsideCar(124@, PedType.Mission1, 283)
134@ = Char.CreateAsPassenger(124@, PedType.Mission1, 283, 0)
135@ = Char.CreateInsideCar(146@, PedType.Mission2, 283)
136@ = Char.CreateInsideCar(147@, PedType.Mission2, 283)
Char.SetRelationship(135@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(136@, RelationshipType.Hate, PedType.Player1)
166@ = DecisionMakerChar.Copy(65539)
363@ = DecisionMakerChar.Copy(65542)
DecisionMakerChar.ClearEventResponse(166@, 15)
DecisionMakerChar.ClearEventResponse(166@, 49)
DecisionMakerChar.ClearEventResponse(166@, 9)
DecisionMakerChar.ClearEventResponse(166@, 36)
DecisionMakerChar.ClearEventResponse(166@, 31)
DecisionMakerChar.ClearEventResponse(166@, 11)
DecisionMakerChar.ClearEventResponse(166@, 41)
DecisionMakerChar.AddEventResponse(166@, 15, 1000, 0.0, 100.0, 0.0, 100.0, True, True)
DecisionMakerChar.AddEventResponse(166@, 36, 1000, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse(166@, 9, 1000, 0.0, 75.0, 0.0, 75.0, True, True)
DecisionMakerChar.AddEventResponse(166@, 9, 415, 0.0, 25.0, 0.0, 25.0, True, True)
DecisionMakerChar.AddEventResponse(166@, 31, 1000, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse(166@, 36, 1000, 0.0, 100.0, 0.0, 0.0, True, True)
Char.SetDecisionMaker(129@, 363@)
Char.SetDecisionMaker(130@, 363@)
Char.SetDecisionMaker(131@, 363@)
Char.SetDecisionMaker(132@, 363@)
Char.SetDecisionMaker(133@, 363@)
Char.SetDecisionMaker(134@, 363@)
Char.SetDecisionMaker(135@, 363@)
Char.SetDecisionMaker(136@, 363@)
Char.SetCanBeKnockedOffBike(135@, 2)
Char.SetCanBeKnockedOffBike(136@, 2)
Char.GiveWeapon(129@, WeaponType.Pistol, 9999)
Char.GiveWeapon(130@, WeaponType.Pistol, 9999)
Char.GiveWeapon(131@, WeaponType.Pistol, 9999)
Char.GiveWeapon(132@, WeaponType.Pistol, 9999)
Char.GiveWeapon(133@, WeaponType.Pistol, 9999)
Char.GiveWeapon(134@, WeaponType.Pistol, 9999)
Char.GiveWeapon(135@, WeaponType.Pistol, 9999)
Char.GiveWeapon(136@, WeaponType.Pistol, 9999)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_17258
Char.GiveWeapon($finaleB_played_first_time_round, WeaponType.Shotgun, 9999)

:CAT2_17258
148@ = 1290.025
149@ = 1294.242
150@ = 1282.681
151@ = 1285.585
152@ = 1289.389
153@ = 1285.593
154@ = 252.8313
155@ = 249.3508
156@ = 250.9628
157@ = 253.8959
158@ = 241.5564
159@ = 240.6378
160@ = 18.4062
161@ = 18.4062
162@ = 18.4062
163@ = 18.4062
164@ = 18.4062
165@ = 18.4062
121@ = 0
125@ = 0
126@ = 0
Camera.DoFade(500, Fade.In)
41@ += 1

:CAT2_17473
goto @CAT2_17490

:CAT2_17480
Streaming.RequestCarRecording(160)
Streaming.RequestCarRecording(161)

:CAT2_17490
goto @CAT2_17517

:CAT2_17497
Streaming.RequestCarRecording(156)
Streaming.RequestCarRecording(157)
Streaming.RequestCarRecording(158)
Streaming.RequestCarRecording(159)

:CAT2_17517
if 
  41@ == 41
goto_if_false @CAT2_17571
if 
  not Camera.GetFadingStatus
goto_if_false @CAT2_17571
56@ = 8
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Cop)
41@ += 1

:CAT2_17571
if 
  41@ > 9
goto_if_false @CAT2_17633
if 
  56@ == 0
goto_if_false @CAT2_17633
if 
  is_int_var_greater_than_int_lvar $RStickY > 42@
goto_if_false @CAT2_17633
56@ += 1

:CAT2_17633
if 
  56@ == 1
goto_if_false @CAT2_17687
$chickY = Char.GetScriptTaskStatus($finaleB_played_first_time_round, 1491)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_17687
56@ += 1

:CAT2_17687
if 
  56@ == 2
goto_if_false @CAT2_17757
$chickY = Char.GetScriptTaskStatus($finaleB_played_first_time_round, 1492)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_17757
set_lvar_int_to_var_int 167@ = $RStickY
167@ += 20000
56@ += 1

:CAT2_17757
if 
  56@ == 3
goto_if_false @CAT2_17867
168@ += 15
if or
  is_int_var_greater_than_int_lvar $RStickY > 167@
  41@ > 10
goto_if_false @CAT2_17867
if 
  41@ == 10
goto_if_false @CAT2_17860
Audio.ReportMissionAudioEventAtPosition(2312.094, -9.6433, 28.679, 1155)
gosub @CAT2_30052
41@ = 11

:CAT2_17860
56@ += 1

:CAT2_17867
if 
  56@ == 4
goto_if_false @CAT2_18239
if 
  41@ > 27
goto_if_false @CAT2_18239
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_18239
if and
  169@ == 0
  560@ == 0
goto_if_false @CAT2_18004
560@ = 19
561@ = 2
372@ = Blip.AddForChar($finaleB_played_first_time_round)
Blip.SetAsFriendly(372@, True)
Task.GoStraightToCoord($finaleB_played_first_time_round, 2315.391, -1.6768, 25.75, MoveState.Run, -2)
169@ = 1

:CAT2_18004
if 
  169@ == 1
goto_if_false @CAT2_18117
$chickY = Char.GetScriptTaskStatus($finaleB_played_first_time_round, -1)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_18117
if 
  not Object.HasBeenDamaged($g_BD_DOOR)
goto_if_false @CAT2_18110
169@ = 2
Task.ShootAtCoord($finaleB_played_first_time_round, 2315.475, 1.0941, 26.8796, 1000)
170@ += 1
goto @CAT2_18117

:CAT2_18110
169@ = 2

:CAT2_18117
if 
  169@ == 2
goto_if_false @CAT2_18239
$chickY = Char.GetScriptTaskStatus($finaleB_played_first_time_round, 1640)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @CAT2_18239
if or
  Object.HasBeenDamaged($g_BD_DOOR)
  170@ > 2
goto_if_false @CAT2_18232
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2315.551, 3.731, 25.4766, 6, -2)
169@ = 3
56@ += 1
goto @CAT2_18239

:CAT2_18232
169@ = 1

:CAT2_18239
if 
  34@ == 0
goto_if_false @CAT2_18376
if 
  56@ > 4
goto_if_false @CAT2_18376
if and
  35@ == 0
  560@ == 0
goto_if_false @CAT2_18323
Text.Print('CAT2_19', 4000, 1)
35@ = 1

:CAT2_18323
if 
  Object.HasBeenDamaged($g_BD_DOOR)
goto_if_false @CAT2_18376
34@ = 1
560@ = 21
set_lvar_int_to_lvar_int 639@ = TIMERA
639@ += 2500
561@ = 3

:CAT2_18376
if 
  56@ == 5
goto_if_false @CAT2_20195
171@ = 2328.638
189@ = 9.9046
207@ = 25.4766
225@ = 82.0
251@ = 1
172@ = 2328.63
190@ = 12.0793
208@ = 26.4366
226@ = 102.156
252@ = 1
173@ = 2323.539
191@ = 8.1573
209@ = 30.1564
227@ = 119.8251
253@ = 0
174@ = 2313.919
192@ = 5.5612
210@ = 25.4766
228@ = 179.0108
254@ = 3
175@ = 2319.28
193@ = 10.1457
211@ = 25.4766
229@ = 173.7026
255@ = 1
176@ = 2322.422
194@ = 14.3559
212@ = 33.4834
230@ = 131.5315
256@ = 0
177@ = 2322.567
195@ = 22.3196
213@ = 25.4766
231@ = 191.9916
257@ = 5
178@ = 2317.422
196@ = 31.4408
214@ = 25.4688
232@ = 170.5408
258@ = 1
179@ = 2323.347
197@ = 32.5086
215@ = 30.3438
233@ = 167.5312
259@ = 2
180@ = 2314.06
198@ = 27.4771
216@ = 28.4834
234@ = 211.9221
260@ = 0
181@ = 2314.146
199@ = 32.6897
217@ = 30.3072
235@ = 218.8303
261@ = 0
182@ = 2324.323
200@ = 25.9529
218@ = 30.4834
236@ = 146.7435
262@ = 0
183@ = 2315.235
201@ = 44.7149
219@ = 27.6529
237@ = 177.4772
263@ = 1
184@ = 2322.142
202@ = 38.0272
220@ = 25.4698
238@ = 165.042
264@ = 5
185@ = 2316.281
203@ = 53.245
221@ = 25.4745
239@ = 211.6924
265@ = 3
186@ = 2316.977
204@ = 60.9693
222@ = 26.9906
240@ = 217.9312
266@ = 0
187@ = 2322.69
205@ = 57.5449
223@ = 31.9884
241@ = 174.0596
267@ = 0
188@ = 2313.39
206@ = 51.5349
224@ = 29.4834
242@ = 196.6579
268@ = 0
278@ = 0

:CAT2_19247
if 
  9 > 278@
goto_if_false @CAT2_20165
if 
  3 > 278@
goto_if_false @CAT2_19353
279@ = Math.RandomIntInRange(0, 6)

:CAT2_19292
if 
  280@(279@,18i) == 1
goto_if_false @CAT2_19353
279@ += 1
if 
  279@ == 6
goto_if_false @CAT2_19346
279@ = 0

:CAT2_19346
goto @CAT2_19292

:CAT2_19353
if and
  278@ > 2
  6 > 278@
goto_if_false @CAT2_19448
279@ = Math.RandomIntInRange(6, 12)

:CAT2_19387
if 
  280@(279@,18i) == 1
goto_if_false @CAT2_19448
279@ += 1
if 
  279@ == 12
goto_if_false @CAT2_19441
279@ = 6

:CAT2_19441
goto @CAT2_19387

:CAT2_19448
if and
  278@ > 5
  9 > 278@
goto_if_false @CAT2_19543
279@ = Math.RandomIntInRange(12, 18)

:CAT2_19482
if 
  280@(279@,18i) == 1
goto_if_false @CAT2_19543
279@ += 1
if 
  279@ == 18
goto_if_false @CAT2_19536
279@ = 12

:CAT2_19536
goto @CAT2_19482

:CAT2_19543
280@(279@,18i) = 1
set_lvar_int_to_lvar_int 316@(279@,18i) = 278@
298@(278@,9i) = Char.Create(PedType.CivMale, 283, 171@(279@,18f), 189@(279@,18f), 207@(279@,18f))
Char.SetShootRate(298@(278@,9i), 40)
Char.SetAccuracy(298@(278@,9i), 60)
set_lvar_int_to_lvar_int 307@(278@,9i) = 251@(279@,18i)
set_lvar_int_to_lvar_int 334@(278@,9i) = 279@
Char.SetHeading(298@(278@,9i), 225@(279@,18f))
279@ = Math.RandomIntInRange(0, 3)
if or
  3 > 279@
  343@ > 0
goto_if_false @CAT2_19722
Char.GiveWeapon(298@(278@,9i), WeaponType.Pistol, 9999)
goto @CAT2_19797

:CAT2_19722
if 
  6 > 334@(278@,9i)
goto_if_false @CAT2_19765
Char.GiveWeapon(298@(278@,9i), WeaponType.Pistol, 9999)
goto @CAT2_19797

:CAT2_19765
Char.GiveWeapon(298@(278@,9i), WeaponType.Shotgun, 9999)
Char.SetShootRate(298@(278@,9i), 10)
343@ = 1

:CAT2_19797
Char.SetRelationship(298@(278@,9i), RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(298@(278@,9i), RelationshipType.Hate, PedType.Special)
if 
  251@(279@,18i) == 0
goto_if_false @CAT2_19902
43@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(43@)
Char.PerformSequence(298@(278@,9i), 43@)
Sequence.Clear(43@)
Char.SetStayInSamePlace(298@(278@,9i), True)

:CAT2_19902
if 
  251@(279@,18i) == 1
goto_if_false @CAT2_19974
43@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Sequence.Close(43@)
Char.PerformSequence(298@(278@,9i), 43@)
Sequence.Clear(43@)
Char.SetStayInSamePlace(298@(278@,9i), True)

:CAT2_19974
if 
  251@(279@,18i) == 2
goto_if_false @CAT2_20029
43@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Sequence.Close(43@)
Char.PerformSequence(298@(278@,9i), 43@)
Sequence.Clear(43@)

:CAT2_20029
if 
  251@(279@,18i) == 3
goto_if_false @CAT2_20090
43@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Sequence.Close(43@)
Char.PerformSequence(298@(278@,9i), 43@)
Sequence.Clear(43@)

:CAT2_20090
if 
  251@(279@,18i) == 5
goto_if_false @CAT2_20151
43@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Sequence.Close(43@)
Char.PerformSequence(298@(278@,9i), 43@)
Sequence.Clear(43@)

:CAT2_20151
278@ += 1
goto @CAT2_19247

:CAT2_20165
346@ = 99
set_lvar_int_to_lvar_int 350@ = TIMERA
350@ += 30000
56@ = 6

:CAT2_20195
if 
  56@ == 6
goto_if_false @CAT2_23402
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_23402
if 
  346@ <> 99
goto_if_false @CAT2_20387
if 
  Char.IsDead(298@(346@,9i))
goto_if_false @CAT2_20297
set_lvar_int_to_lvar_int 278@ = 334@(346@,9i)
280@(278@,18i) = 0
346@ = 99

:CAT2_20297
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 350@
goto_if_false @CAT2_20387
if 
  346@ <> 99
goto_if_false @CAT2_20387
set_lvar_int_to_lvar_int 350@ = TIMERA
350@ += 30000
347@ = 1
set_lvar_int_to_lvar_int 278@ = 334@(346@,9i)
280@(278@,18i) = 0
346@ = 99

:CAT2_20387
if 
  346@ == 99
goto_if_false @CAT2_22520
if and
  344@ > 0
  10 > 344@
goto_if_false @CAT2_20518
349@ = Char.GetScriptTaskStatus($finaleB_played_first_time_round, -1)
if 
  is_int_lvar_equal_to_constant 349@ == 1
goto_if_false @CAT2_20474
set_lvar_int_to_lvar_int 348@ = TIMERA
348@ += 8000

:CAT2_20474
if 
  is_int_lvar_equal_to_constant 349@ == 7
goto_if_false @CAT2_20518
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 348@
goto_if_false @CAT2_20518
347@ = 1

:CAT2_20518
if 
  344@ == 0
goto_if_false @CAT2_20571
349@ = Char.GetScriptTaskStatus($finaleB_played_first_time_round, -1)
if 
  is_int_lvar_equal_to_constant 349@ == 7
goto_if_false @CAT2_20571
344@ = 1

:CAT2_20571
if 
  344@ == 1
goto_if_false @CAT2_20822
if 
  283@ == 1
goto_if_false @CAT2_20622
set_lvar_int_to_lvar_int 346@ = 319@
goto @CAT2_20759

:CAT2_20622
if 
  282@ == 1
goto_if_false @CAT2_20655
set_lvar_int_to_lvar_int 346@ = 318@
goto @CAT2_20759

:CAT2_20655
if 
  284@ == 1
goto_if_false @CAT2_20688
set_lvar_int_to_lvar_int 346@ = 320@
goto @CAT2_20759

:CAT2_20688
if 
  285@ == 1
goto_if_false @CAT2_20721
set_lvar_int_to_lvar_int 346@ = 321@
goto @CAT2_20759

:CAT2_20721
344@ = 2
560@ = 24
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2321.74, 10.5486, 25.4688, 6, -2)

:CAT2_20759
if 
  347@ == 1
goto_if_false @CAT2_20822
347@ = 0
344@ = 2
560@ = 24
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2321.74, 10.5486, 25.4688, 6, -2)

:CAT2_20822
if 
  344@ == 2
goto_if_false @CAT2_20971
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_20971
349@ = Char.GetScriptTaskStatus($finaleB_played_first_time_round, 1525)
if 
  is_int_lvar_equal_to_constant 349@ == 7
goto_if_false @CAT2_20971
if 
  Char.LocateAnyMeans3D($finaleB_played_first_time_round, 2321.74, 10.5486, 25.4688, 3.0, 3.0, 3.0, False)
goto_if_false @CAT2_20947
344@ = 3
goto @CAT2_20971

:CAT2_20947
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2321.74, 10.5486, 25.4688, 6, -2)

:CAT2_20971
if and
  344@ == 3
  560@ == 0
goto_if_false @CAT2_21163
if 
  280@ == 1
goto_if_false @CAT2_21029
set_lvar_int_to_lvar_int 346@ = 316@
goto @CAT2_21100

:CAT2_21029
if 
  281@ == 1
goto_if_false @CAT2_21062
set_lvar_int_to_lvar_int 346@ = 317@
goto @CAT2_21100

:CAT2_21062
344@ = 4
560@ = 25
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2318.281, 18.5403, 25.4766, 6, -2)

:CAT2_21100
if 
  347@ == 1
goto_if_false @CAT2_21163
347@ = 0
344@ = 4
560@ = 25
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2318.281, 18.5403, 25.4766, 6, -2)

:CAT2_21163
if 
  344@ == 4
goto_if_false @CAT2_21312
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_21312
349@ = Char.GetScriptTaskStatus($finaleB_played_first_time_round, 1525)
if 
  is_int_lvar_equal_to_constant 349@ == 7
goto_if_false @CAT2_21312
if 
  Char.LocateAnyMeans3D($finaleB_played_first_time_round, 2318.281, 18.5403, 25.4766, 3.0, 3.0, 3.0, False)
goto_if_false @CAT2_21288
344@ = 5
goto @CAT2_21312

:CAT2_21288
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2318.281, 18.5403, 25.4766, 6, -2)

:CAT2_21312
if 
  344@ == 5
goto_if_false @CAT2_21629
if 
  286@ == 1
goto_if_false @CAT2_21363
set_lvar_int_to_lvar_int 346@ = 322@
goto @CAT2_21566

:CAT2_21363
if 
  287@ == 1
goto_if_false @CAT2_21396
set_lvar_int_to_lvar_int 346@ = 323@
goto @CAT2_21566

:CAT2_21396
if 
  288@ == 1
goto_if_false @CAT2_21429
set_lvar_int_to_lvar_int 346@ = 324@
goto @CAT2_21566

:CAT2_21429
if 
  289@ == 1
goto_if_false @CAT2_21462
set_lvar_int_to_lvar_int 346@ = 325@
goto @CAT2_21566

:CAT2_21462
if 
  290@ == 1
goto_if_false @CAT2_21495
set_lvar_int_to_lvar_int 346@ = 326@
goto @CAT2_21566

:CAT2_21495
if 
  291@ == 1
goto_if_false @CAT2_21528
set_lvar_int_to_lvar_int 346@ = 327@
goto @CAT2_21566

:CAT2_21528
344@ = 6
560@ = 26
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2319.228, 34.565, 25.468, 6, -2)

:CAT2_21566
if 
  347@ == 1
goto_if_false @CAT2_21629
347@ = 0
344@ = 6
560@ = 26
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2319.228, 34.565, 25.468, 6, -2)

:CAT2_21629
if 
  344@ == 6
goto_if_false @CAT2_21778
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_21778
349@ = Char.GetScriptTaskStatus($finaleB_played_first_time_round, 1525)
if 
  is_int_lvar_equal_to_constant 349@ == 7
goto_if_false @CAT2_21778
if 
  Char.LocateAnyMeans3D($finaleB_played_first_time_round, 2319.228, 34.565, 25.468, 3.0, 3.0, 3.0, False)
goto_if_false @CAT2_21754
344@ = 7
goto @CAT2_21778

:CAT2_21754
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2319.228, 34.565, 25.468, 6, -2)

:CAT2_21778
if and
  344@ == 7
  560@ == 0
goto_if_false @CAT2_21956
if 
  292@ == 1
goto_if_false @CAT2_21836
set_lvar_int_to_lvar_int 346@ = 328@
goto @CAT2_21900

:CAT2_21836
if 
  293@ == 1
goto_if_false @CAT2_21869
set_lvar_int_to_lvar_int 346@ = 329@
goto @CAT2_21900

:CAT2_21869
344@ = 8
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2318.622, 45.0292, 25.4762, 6, -2)

:CAT2_21900
if 
  347@ == 1
goto_if_false @CAT2_21956
347@ = 0
344@ = 8
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2318.622, 45.0292, 25.4762, 6, -2)

:CAT2_21956
if 
  344@ == 8
goto_if_false @CAT2_22025
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_22025
349@ = Char.GetScriptTaskStatus($finaleB_played_first_time_round, -1)
if 
  is_int_lvar_equal_to_constant 349@ == 7
goto_if_false @CAT2_22025
344@ = 9

:CAT2_22025
if and
  344@ == 9
  560@ == 0
goto_if_false @CAT2_22283
if 
  294@ == 1
goto_if_false @CAT2_22083
set_lvar_int_to_lvar_int 346@ = 330@
goto @CAT2_22220

:CAT2_22083
if 
  295@ == 1
goto_if_false @CAT2_22116
set_lvar_int_to_lvar_int 346@ = 331@
goto @CAT2_22220

:CAT2_22116
if 
  296@ == 1
goto_if_false @CAT2_22149
set_lvar_int_to_lvar_int 346@ = 332@
goto @CAT2_22220

:CAT2_22149
if 
  297@ == 1
goto_if_false @CAT2_22182
set_lvar_int_to_lvar_int 346@ = 333@
goto @CAT2_22220

:CAT2_22182
344@ = 10
560@ = 28
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2319.237, 64.4156, 25.4766, 6, -2)

:CAT2_22220
if 
  347@ == 1
goto_if_false @CAT2_22283
347@ = 0
344@ = 10
560@ = 28
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2319.237, 64.4156, 25.4766, 6, -2)

:CAT2_22283
if 
  344@ == 10
goto_if_false @CAT2_22438
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_22438
349@ = Char.GetScriptTaskStatus($finaleB_played_first_time_round, -1)
if 
  is_int_lvar_equal_to_constant 349@ == 7
goto_if_false @CAT2_22438
if 
  Char.LocateAnyMeans3D($finaleB_played_first_time_round, 2319.237, 64.4156, 25.4766, 4.0, 4.0, 4.0, False)
goto_if_false @CAT2_22414
56@ = 7
41@ = 31
goto @CAT2_22438

:CAT2_22414
Task.FollowPathNodesToCoord($finaleB_played_first_time_round, 2319.237, 64.4156, 25.4766, 6, -2)

:CAT2_22438
if 
  346@ <> 99
goto_if_false @CAT2_22520
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_22520
if 
  not Char.IsDead(298@(346@,9i))
goto_if_false @CAT2_22520
Task.KillCharOnFoot($finaleB_played_first_time_round, 298@(346@,9i))
set_lvar_int_to_lvar_int 350@ = TIMERA
350@ += 15000

:CAT2_22520
278@ = 0

:CAT2_22527
if 
  9 > 278@
goto_if_false @CAT2_23402
if 
  not Char.IsDead(298@(278@,9i))
goto_if_false @CAT2_23388
if 
  307@(278@,9i) == 1
goto_if_false @CAT2_22727
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 269@(278@,9i)
goto_if_false @CAT2_22727
345@ = Char.GetScriptTaskStatus(298@(278@,9i), 1259)
if 
  is_int_lvar_equal_to_constant 345@ == 7
goto_if_false @CAT2_22727
279@ = Math.RandomIntInRange(4000, 8000)
set_lvar_int_to_lvar_int 269@(278@,9i) = TIMERA
add_int_lvar_to_int_lvar 269@(278@,9i) += 279@
if 
  Char.IsDucking(298@(278@,9i))
goto_if_false @CAT2_22716
Task.ToggleDuck(298@(278@,9i), False)
goto @CAT2_22727

:CAT2_22716
Task.ToggleDuck(298@(278@,9i), True)

:CAT2_22727
if 
  307@(278@,9i) == 2
goto_if_false @CAT2_22805
if 
  not Char.IsRespondingToEvent(298@(278@,9i), 36)
goto_if_false @CAT2_22805
Task.StayInSamePlace(298@(278@,9i), False)
Task.KillCharOnFoot(298@(278@,9i), $stattreadstamina_ctr)
307@(278@,9i) = 4

:CAT2_22805
if 
  307@(278@,9i) == 3
goto_if_false @CAT2_23084
243@ = Char.GetHeading(298@(278@,9i))
244@, 245@, 246@ = Char.GetCoordinates(298@(278@,9i))
249@ = Math.Sin(243@)
250@ = Math.Cos(243@)
set_lvar_float_to_lvar_float 247@ = 249@
247@ *= -2.5
add_float_lvar_to_float_lvar 247@ += 244@
set_lvar_float_to_lvar_float 248@ = 250@
248@ *= 2.5
add_float_lvar_to_float_lvar 248@ += 245@
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_23084
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 247@, 248@, 25.7, 5.0, 5.0, 3.0, False)
  Char.LocateAnyMeans3D($finaleB_played_first_time_round, 247@, 248@, 25.7, 5.0, 5.0, 3.0, False)
goto_if_false @CAT2_23084
Task.StayInSamePlace(298@(278@,9i), False)
Task.PlayAnimNonInterruptable(298@(278@,9i), "CROUCH_ROLL_L", "PED", 8.0, False, True, True, False, -1)
307@(278@,9i) = 0

:CAT2_23084
if 
  307@(278@,9i) == 5
goto_if_false @CAT2_23388
243@ = Char.GetHeading(298@(278@,9i))
244@, 245@, 246@ = Char.GetCoordinates(298@(278@,9i))
249@ = Math.Sin(243@)
250@ = Math.Cos(243@)
set_lvar_float_to_lvar_float 247@ = 249@
247@ *= -2.5
add_float_lvar_to_float_lvar 247@ += 244@
set_lvar_float_to_lvar_float 248@ = 250@
248@ *= 2.5
add_float_lvar_to_float_lvar 248@ += 245@
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_23388
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 247@, 248@, 25.7, 5.0, 5.0, 3.0, False)
  Char.LocateAnyMeans3D($finaleB_played_first_time_round, 247@, 248@, 25.7, 5.0, 5.0, 3.0, False)
goto_if_false @CAT2_23388
if 
  560@ == 0
goto_if_false @CAT2_23322
560@ = 27

:CAT2_23322
Task.StayInSamePlace(298@(278@,9i), False)
Task.PlayAnimNonInterruptable(298@(278@,9i), "CROUCH_ROLL_R", "PED", 8.0, False, True, True, False, -1)
307@(278@,9i) = 0

:CAT2_23388
278@ += 1
goto @CAT2_22527

:CAT2_23402
if 
  56@ == 8
goto_if_false @CAT2_28299
if 
  41@ > 40
goto_if_false @CAT2_28299
if 
  351@ == 0
goto_if_false @CAT2_23694
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2130.689, 149.1074, 0.3268, 30.0, 30.0, 30.0, False)
goto_if_false @CAT2_23694
Streaming.RequestModel(523)
Streaming.RequestModel(283)
Streaming.RequestModel(346)
if and
  Streaming.HasModelLoaded(523)
  Streaming.HasModelLoaded(283)
  Streaming.HasModelLoaded(346)
goto_if_false @CAT2_23694
351@ = 1
353@ = Car.Create(523, 2048.156, 195.1577, 15.8884)
Car.SwitchSiren(353@, True)
Car.SetHeading(353@, 270.0)
354@ = Char.CreateInsideCar(353@, PedType.Mission1, 283)
Char.GiveWeapon(354@, WeaponType.Pistol, 9999)
355@ = Sequence.Open()
Task.CarDriveToCoord(-1, 353@, 2105.236, 179.1932, 0.5812, 15.0, DriveMode.Straightline, 0, DrivingMode.StopForCars)
Task.CarTempAction(-1, 353@, TempAction.HandbrakeTurnRight, 1000)
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(355@)
Char.PerformSequence(354@, 355@)
Sequence.Clear(355@)

:CAT2_23694
if 
  126@ == 0
goto_if_false @CAT2_23843
if and
  not Car.IsDead(88@)
  not Car.IsDead(86@)
  not Char.IsDead($finaleB_played_first_time_round)
  not Car.IsDead(146@)
  not Car.IsDead(147@)
goto_if_false @CAT2_23843
if 
  Char.IsInCar($finaleB_played_first_time_round, 86@)
goto_if_false @CAT2_23843
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_23790
Char.SetCanBeKnockedOffBike($finaleB_played_first_time_round, 2)

:CAT2_23790
126@ = 1
Car.StartPlayback(86@, 157)
Car.StartPlayback(146@, 160)
Car.StartPlayback(147@, 161)
Car.SwitchSiren(146@, True)
Car.SwitchSiren(147@, True)
143@ = Char.GetCarIsUsing($stattreadstamina_ctr)

:CAT2_23843
if 
  126@ > 0
goto_if_false @CAT2_24094
if 
  not Car.IsDead(146@)
goto_if_false @CAT2_23924
if 
  Car.IsPlaybackGoingOn(146@)
goto_if_false @CAT2_23924
356@ = Car.GetDriver(146@)
if 
  356@ == -1
goto_if_false @CAT2_23924
Car.StopPlayback(146@)

:CAT2_23924
if 
  not Car.IsDead(147@)
goto_if_false @CAT2_24094
if 
  Car.IsPlaybackGoingOn(147@)
goto_if_false @CAT2_24094
356@ = Car.GetDriver(147@)
if 
  356@ == -1
goto_if_false @CAT2_23994
Car.StopPlayback(147@)
goto @CAT2_24094

:CAT2_23994
if 
  358@ == 0
goto_if_false @CAT2_24094
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(147@)
if 
  1570.0 > $on_footY
goto_if_false @CAT2_24094
if 
  Car.IsInAirProper(147@)
goto_if_false @CAT2_24094
if 
  not Char.IsDead(356@)
goto_if_false @CAT2_24094
Task.LeaveCarImmediately(356@, 147@)
358@ = 1

:CAT2_24094
if 
  126@ == 1
goto_if_false @CAT2_24867
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Car.IsDead(86@)
goto_if_false @CAT2_24867
if 
  121@ == 0
goto_if_false @CAT2_24710
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($finaleB_played_first_time_round)
47@, 48@, 49@ = Char.GetCoordinates($stattreadstamina_ctr)
set_var_float_to_lvar_float $heading = 47@
sub_float_var_from_float_var $heading -= $on_footY
if 
  0.0 > $heading
goto_if_false @CAT2_24226
$heading = 0.0

:CAT2_24226
53@ = 2000.0
div_float_lvar_by_float_var 53@ /= $heading
53@ /= 100.0
if 
  53@ > 1.5
goto_if_false @CAT2_24285
53@ = 1.5

:CAT2_24285
if 
  0.3 > 53@
goto_if_false @CAT2_24316
53@ = 0.3

:CAT2_24316
if and
  is_int_lvar_greater_than_int_lvar TIMERA > 359@
  37 > 36@
goto_if_false @CAT2_24429
if and
  $heading > 10.0
  50.0 > $heading
goto_if_false @CAT2_24429
if 
  560@ == 0
goto_if_false @CAT2_24429
set_lvar_int_to_lvar_int 560@ = 36@
$d6_player_in_tunnel = 1
set_lvar_int_to_lvar_int 359@ = TIMERA
359@ += 8000
36@ += 1

:CAT2_24429
if 
  not Car.IsDead(146@)
goto_if_false @CAT2_24471
if 
  Car.IsInAirProper(146@)
goto_if_false @CAT2_24471
53@ = 1.0

:CAT2_24471
if 
  not Car.IsDead(147@)
goto_if_false @CAT2_24605
if 
  Car.IsInAirProper(147@)
goto_if_false @CAT2_24513
53@ = 1.0

:CAT2_24513
if 
  not Char.IsDead(136@)
goto_if_false @CAT2_24605
if 
  not Char.IsInAnyCar(136@)
goto_if_false @CAT2_24605
if 
  360@ == 0
goto_if_false @CAT2_24605
Char.GiveWeapon(136@, WeaponType.Pistol, 9999)
Task.KillCharOnFoot(136@, $stattreadstamina_ctr)
Char.SetRelationship(136@, RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(136@, 166@)
360@ = 1

:CAT2_24605
if 
  not Car.IsDead(86@)
goto_if_false @CAT2_24647
if 
  Car.IsInAirProper(86@)
goto_if_false @CAT2_24647
53@ = 1.0

:CAT2_24647
Car.SetPlaybackSpeed(86@, 53@)
if 
  not Car.IsDead(146@)
goto_if_false @CAT2_24679
Car.SetPlaybackSpeed(146@, 53@)

:CAT2_24679
if 
  not Car.IsDead(147@)
goto_if_false @CAT2_24703
Car.SetPlaybackSpeed(147@, 53@)

:CAT2_24703
goto @CAT2_24772

:CAT2_24710
Car.SetPlaybackSpeed(86@, 1.0)
if 
  not Car.IsDead(146@)
goto_if_false @CAT2_24746
Car.SetPlaybackSpeed(146@, 1.0)

:CAT2_24746
if 
  not Car.IsDead(147@)
goto_if_false @CAT2_24772
Car.SetPlaybackSpeed(147@, 1.0)

:CAT2_24772
if 
  Char.IsInArea2D($finaleB_played_first_time_round, 1304.957, 252.9172, 1275.84, 241.8114, False)
goto_if_false @CAT2_24867
126@ = 2
DecisionMakerChar.AddEventResponse(38@, 36, 1000, 0.0, 100.0, 0.0, 0.0, True, True)
set_lvar_int_to_lvar_int 127@ = TIMERA
127@ += 900

:CAT2_24867
if 
  126@ == 2
goto_if_false @CAT2_25010
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 127@
goto_if_false @CAT2_25010
if and
  not Car.IsDead(86@)
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_25010
set_lvar_int_to_lvar_int 361@ = TIMERA
361@ += 1000
128@ = Sequence.Open()
Task.LeaveCarImmediately(-1, 86@)
Task.GoStraightToCoord(-1, 1286.969, 247.1966, 18.4062, MoveState.Run, -2)
Task.HandsUp(-1, 40000)
Sequence.Close(128@)
Char.PerformSequence($finaleB_played_first_time_round, 128@)
Sequence.Clear(128@)
126@ = 3

:CAT2_25010
if 
  361@ > 0
goto_if_false @CAT2_25099
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 361@
goto_if_false @CAT2_25099
Text.ClearPrints
Text.Print('CAT2_16', 6000, 1)
40@ = Blip.AddForCoord(867.6723, -30.3543, 62.1893)
361@ = 0
126@ = 4

:CAT2_25099
if 
  126@ == 4
goto_if_false @CAT2_25670
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_25670
if or
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $finaleB_played_first_time_round, 15.0, 15.0, 15.0, False)
  Char.IsShootingInArea($stattreadstamina_ctr, 1389.021, 67.2039, 1232.628, 407.097, False)
goto_if_false @CAT2_25670
Char.MarkAsNoLongerNeeded(135@)
Char.MarkAsNoLongerNeeded(136@)
Car.MarkAsNoLongerNeeded(122@)
Car.MarkAsNoLongerNeeded(123@)
Car.MarkAsNoLongerNeeded(124@)
if 
  Char.DoesExist(354@)
goto_if_false @CAT2_25242
Char.MarkAsNoLongerNeeded(354@)

:CAT2_25242
if 
  not Car.IsDead(353@)
goto_if_false @CAT2_25289
if 
  not Char.IsInCar($stattreadstamina_ctr, 353@)
goto_if_false @CAT2_25282
Car.MarkAsNoLongerNeeded(353@)

:CAT2_25282
goto @CAT2_25294

:CAT2_25289
Car.MarkAsNoLongerNeeded(147@)

:CAT2_25294
if 
  not Car.IsDead(146@)
goto_if_false @CAT2_25341
if 
  not Char.IsInCar($stattreadstamina_ctr, 146@)
goto_if_false @CAT2_25334
Car.MarkAsNoLongerNeeded(146@)

:CAT2_25334
goto @CAT2_25346

:CAT2_25341
Car.MarkAsNoLongerNeeded(146@)

:CAT2_25346
if 
  not Car.IsDead(147@)
goto_if_false @CAT2_25393
if 
  not Char.IsInCar($stattreadstamina_ctr, 147@)
goto_if_false @CAT2_25386
Car.MarkAsNoLongerNeeded(147@)

:CAT2_25386
goto @CAT2_25398

:CAT2_25393
Car.MarkAsNoLongerNeeded(147@)

:CAT2_25398
if 
  not Car.IsDead(88@)
goto_if_false @CAT2_25445
if 
  not Char.IsInCar($stattreadstamina_ctr, 88@)
goto_if_false @CAT2_25438
Car.MarkAsNoLongerNeeded(88@)

:CAT2_25438
goto @CAT2_25450

:CAT2_25445
Car.MarkAsNoLongerNeeded(88@)

:CAT2_25450
if 
  not Car.IsDead(86@)
goto_if_false @CAT2_25497
if 
  not Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @CAT2_25490
Car.MarkAsNoLongerNeeded(86@)

:CAT2_25490
goto @CAT2_25502

:CAT2_25497
Car.MarkAsNoLongerNeeded(86@)

:CAT2_25502
362@ = 0

:CAT2_25509
if 
  8 > 362@
goto_if_false @CAT2_25605
if 
  not Char.IsDead(129@(362@,8i))
goto_if_false @CAT2_25591
Char.ClearTasks(129@(362@,8i))
Char.MarkAsNoLongerNeeded(129@(362@,8i))
Char.SetRelationship(129@(362@,8i), RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(129@(362@,8i), RelationshipType.Hate, PedType.Special)

:CAT2_25591
362@ += 1
goto @CAT2_25509

:CAT2_25605
35@ = 0
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT2_25651
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Group.SetDecisionMaker($flag_cell_nation, 37@)

:CAT2_25651
364@ = 1
Blip.Remove(372@)
126@ = 5

:CAT2_25670
if 
  126@ == 5
goto_if_false @CAT2_27481
if 
  365@ == 0
goto_if_false @CAT2_25803
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 144@
goto_if_false @CAT2_25803
362@ = 0

:CAT2_25732
if 
  8 > 362@
goto_if_false @CAT2_25796
if 
  not Char.IsDead(129@(362@,8i))
goto_if_false @CAT2_25782
Task.SetCharDecisionMaker(129@(362@,8i), 166@)

:CAT2_25782
362@ += 1
goto @CAT2_25732

:CAT2_25796
365@ = 1

:CAT2_25803
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_27481
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT2_27314
if 
  366@ == 0
goto_if_false @CAT2_27314
366@ = 1
562@ = 1
$d6_player_in_tunnel = 1
if 
  $propertyX == 0
goto_if_false @CAT2_26612
if 
  $distance == 0
goto_if_false @CAT2_26250
603@ = 2
604@ = 1
605@ = 1
606@ = 1
607@ = 1
608@ = 1
609@ = 2
610@ = 1
611@ = 1
612@ = 2
613@ = 1
set_lvar_text_label 454@s = 'CAT_DF'
set_lvar_text_label 456@s = 'CAT_DG'
set_lvar_text_label 458@s = 'CAT_DH'
set_lvar_text_label 460@s = 'CAT_DI'
set_lvar_text_label 462@s = 'CAT_DJ'
set_lvar_text_label 464@s = 'CAT_DK'
set_lvar_text_label 466@s = 'CAT_DL'
set_lvar_text_label 468@s = 'CAT_DM'
set_lvar_text_label 470@s = 'CAT_DN'
set_lvar_text_label 472@s = 'CAT_DO'
set_lvar_text_label 474@s = 'CAT_DP'
set_lvar_int_to_constant 534@ = 8631
set_lvar_int_to_constant 535@ = 8632
set_lvar_int_to_constant 536@ = 8633
set_lvar_int_to_constant 537@ = 8634
set_lvar_int_to_constant 538@ = 8635
set_lvar_int_to_constant 539@ = 8636
set_lvar_int_to_constant 540@ = 8637
set_lvar_int_to_constant 541@ = 8638
set_lvar_int_to_constant 542@ = 8639
set_lvar_int_to_constant 543@ = 8640
set_lvar_int_to_constant 544@ = 8641
560@ = 40
561@ = 11
goto @CAT2_26612

:CAT2_26250
603@ = 1
604@ = 2
605@ = 1
606@ = 1
607@ = 1
608@ = 1
609@ = 1
610@ = 2
611@ = 1
612@ = 1
613@ = 2
614@ = 1
set_lvar_text_label 454@s = 'CAT_DA'
set_lvar_text_label 456@s = 'CAT_DF'
set_lvar_text_label 458@s = 'CAT_DG'
set_lvar_text_label 460@s = 'CAT_DH'
set_lvar_text_label 462@s = 'CAT_DI'
set_lvar_text_label 464@s = 'CAT_DJ'
set_lvar_text_label 466@s = 'CAT_DK'
set_lvar_text_label 468@s = 'CAT_DL'
set_lvar_text_label 470@s = 'CAT_DM'
set_lvar_text_label 472@s = 'CAT_DN'
set_lvar_text_label 474@s = 'CAT_DO'
set_lvar_text_label 476@s = 'CAT_DP'
set_lvar_int_to_constant 534@ = 8626
set_lvar_int_to_constant 535@ = 8631
set_lvar_int_to_constant 536@ = 8632
set_lvar_int_to_constant 537@ = 8633
set_lvar_int_to_constant 538@ = 8634
set_lvar_int_to_constant 539@ = 8635
set_lvar_int_to_constant 540@ = 8636
set_lvar_int_to_constant 541@ = 8637
set_lvar_int_to_constant 542@ = 8638
set_lvar_int_to_constant 543@ = 8639
set_lvar_int_to_constant 544@ = 8640
set_lvar_int_to_constant 545@ = 8641
560@ = 40
561@ = 12

:CAT2_26612
if 
  $propertyX == 1
goto_if_false @CAT2_27050
603@ = 1
604@ = 2
605@ = 1
606@ = 2
607@ = 2
608@ = 1
609@ = 2
610@ = 1
611@ = 2
612@ = 1
613@ = 1
614@ = 1
615@ = 1
616@ = 2
set_lvar_text_label 454@s = 'CAT_GA'
set_lvar_text_label 456@s = 'CAT_GB'
set_lvar_text_label 458@s = 'CAT_GC'
set_lvar_text_label 460@s = 'CAT_GD'
set_lvar_text_label 462@s = 'CAT_GE'
set_lvar_text_label 464@s = 'CAT_GF'
set_lvar_text_label 466@s = 'CAT_GG'
set_lvar_text_label 468@s = 'CAT_GH'
set_lvar_text_label 470@s = 'CAT_GI'
set_lvar_text_label 472@s = 'CAT_GJ'
set_lvar_text_label 474@s = 'CAT_GK'
set_lvar_text_label 476@s = 'CAT_GL'
set_lvar_text_label 478@s = 'CAT_GM'
set_lvar_text_label 480@s = 'CAT_GN'
set_lvar_int_to_constant 534@ = 8672
set_lvar_int_to_constant 535@ = 8673
set_lvar_int_to_constant 536@ = 8674
set_lvar_int_to_constant 537@ = 8675
set_lvar_int_to_constant 538@ = 8676
set_lvar_int_to_constant 539@ = 8677
set_lvar_int_to_constant 540@ = 8678
set_lvar_int_to_constant 541@ = 8679
set_lvar_int_to_constant 542@ = 8680
set_lvar_int_to_constant 543@ = 8681
set_lvar_int_to_constant 544@ = 8682
set_lvar_int_to_constant 545@ = 8683
set_lvar_int_to_constant 546@ = 8684
set_lvar_int_to_constant 547@ = 8685
560@ = 40
561@ = 14

:CAT2_27050
if 
  $propertyX == 2
goto_if_false @CAT2_27314
603@ = 1
604@ = 2
605@ = 1
606@ = 2
607@ = 1
608@ = 2
609@ = 1
610@ = 1
set_lvar_text_label 454@s = 'CAT_OA'
set_lvar_text_label 456@s = 'CAT_OB'
set_lvar_text_label 458@s = 'CAT_OC'
set_lvar_text_label 460@s = 'CAT_OD'
set_lvar_text_label 462@s = 'CAT_OE'
set_lvar_text_label 464@s = 'CAT_OF'
set_lvar_text_label 466@s = 'CAT_OG'
set_lvar_text_label 468@s = 'CAT_OH'
set_lvar_int_to_constant 534@ = 8725
set_lvar_int_to_constant 535@ = 8726
set_lvar_int_to_constant 536@ = 8727
set_lvar_int_to_constant 537@ = 8728
set_lvar_int_to_constant 538@ = 8729
set_lvar_int_to_constant 539@ = 8730
set_lvar_int_to_constant 540@ = 8731
set_lvar_int_to_constant 541@ = 8732
560@ = 40
561@ = 8

:CAT2_27314
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 863.6693, -30.852, 62.1615, 4.0, 4.0, 4.0, True)
  Char.LocateAnyMeans3D($finaleB_played_first_time_round, 863.6693, -30.852, 62.1615, 4.0, 4.0, 4.0, False)
goto_if_false @CAT2_27418
Blip.Remove(40@)
Player.SetControl($statbike_temp, False)
56@ = 9

:CAT2_27418
if 
  35@ == 0
goto_if_false @CAT2_27481
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CAT2_27481
if 
  560@ == 0
goto_if_false @CAT2_27481
560@ = 37
35@ = 1

:CAT2_27481
if 
  145@ == 2
goto_if_false @CAT2_27681
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_27681
if 
  not Char.LocateAnyMeans3D($finaleB_played_first_time_round, 1287.5, 249.2, 19.22, 60.0, 60.0, 60.0, False)
goto_if_false @CAT2_27681
145@ = 3
if 
  not Car.IsDead(122@)
goto_if_false @CAT2_27591
Car.MarkAsNoLongerNeeded(122@)

:CAT2_27591
if 
  not Car.IsDead(123@)
goto_if_false @CAT2_27612
Car.MarkAsNoLongerNeeded(123@)

:CAT2_27612
if 
  not Car.IsDead(124@)
goto_if_false @CAT2_27633
Car.MarkAsNoLongerNeeded(124@)

:CAT2_27633
137@ = 0

:CAT2_27640
if 
  6 > 137@
goto_if_false @CAT2_27681
Char.MarkAsNoLongerNeeded(129@(137@,8i))
137@ += 1
goto @CAT2_27640

:CAT2_27681
if 
  121@ == 0
goto_if_false @CAT2_27900
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_27900
if 
  Char.IsInArea2D($finaleB_played_first_time_round, 1393.246, 233.1637, 1325.073, 190.1405, False)
goto_if_false @CAT2_27900
121@ = 1
if and
  not Car.IsDead(122@)
  not Car.IsDead(123@)
  not Car.IsDead(124@)
goto_if_false @CAT2_27900
Car.StartPlayback(122@, 156)
Car.StartPlayback(123@, 158)
Car.StartPlayback(124@, 159)
Car.FreezePosition(122@, False)
Car.FreezePosition(123@, False)
Car.FreezePosition(124@, False)
Car.SwitchSiren(122@, True)
Car.SwitchSiren(123@, True)
Car.SwitchSiren(124@, True)
set_lvar_int_to_lvar_int 138@ = TIMERA
138@ += 4000
set_lvar_int_to_lvar_int 139@ = TIMERA
139@ += 4000
set_lvar_int_to_lvar_int 140@ = TIMERA
140@ += 4000

:CAT2_27900
if 
  121@ == 1
goto_if_false @CAT2_28299
if and
  not Car.IsDead(122@)
  not Car.IsDead(123@)
  not Car.IsDead(124@)
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_28299
137@ = 0

:CAT2_27956
if 
  6 > 137@
goto_if_false @CAT2_28299
141@ = 0
if 
  not Char.IsDead(129@(137@,8i))
goto_if_false @CAT2_28285
if 
  Char.IsSittingInAnyCar(129@(137@,8i))
goto_if_false @CAT2_28285
if 
  2 > 137@
goto_if_false @CAT2_28065
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 138@
goto_if_false @CAT2_28065
141@ = 1

:CAT2_28065
if and
  4 > 137@
  137@ > 1
goto_if_false @CAT2_28116
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 139@
goto_if_false @CAT2_28116
141@ = 1

:CAT2_28116
if 
  137@ > 3
goto_if_false @CAT2_28160
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 140@
goto_if_false @CAT2_28160
141@ = 1

:CAT2_28160
if 
  141@ == 1
goto_if_false @CAT2_28285
128@ = Sequence.Open()
if or
  137@ == 0
  137@ == 3
  137@ == 4
goto_if_false @CAT2_28221
Task.ToggleDuck(-1, True)

:CAT2_28221
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 148@(137@,6f), 154@(137@,6f), 160@(137@,6f), MoveState.Run, -2)
Task.AimGunAtChar(-1, $finaleB_played_first_time_round, -2)
Sequence.Close(128@)
Char.PerformSequence(129@(137@,8i), 128@)
Sequence.Clear(128@)

:CAT2_28285
137@ += 1
goto @CAT2_27956

:CAT2_28299
if 
  56@ == 9
goto_if_false @CAT2_30045
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @CAT2_28344
367@ = 3
559@ = 5

:CAT2_28344
if 
  367@ == 0
goto_if_false @CAT2_28404
Player.AlterWantedLevel($statbike_temp, 0)
559@ = 5
555@ = 0
556@ = 0
$d6_player_in_tunnel = 1
367@ = 1

:CAT2_28404
if 
  367@ == 1
goto_if_false @CAT2_29734
if 
  560@ == 0
goto_if_false @CAT2_29734
if 
  559@ == 1
goto_if_false @CAT2_29734
562@ = 0
if 
  $distance == 0
goto_if_false @CAT2_28845
564@ = 1
565@ = 1
566@ = 1
567@ = 2
568@ = 2
569@ = 1
570@ = 1
571@ = 1
572@ = 2
573@ = 2
574@ = 2
575@ = 2
set_lvar_int_to_constant 495@ = 8642
set_lvar_int_to_constant 496@ = 8643
set_lvar_int_to_constant 497@ = 8644
set_lvar_int_to_constant 498@ = 8645
set_lvar_int_to_constant 499@ = 8646
set_lvar_int_to_constant 500@ = 8647
set_lvar_int_to_constant 501@ = 8648
set_lvar_int_to_constant 502@ = 8649
set_lvar_int_to_constant 503@ = 8650
set_lvar_int_to_constant 504@ = 8651
set_lvar_int_to_constant 505@ = 8652
set_lvar_int_to_constant 506@ = 8653
set_lvar_text_label 376@s = 'CAT_EA'
set_lvar_text_label 378@s = 'CAT_EB'
set_lvar_text_label 380@s = 'CAT_EC'
set_lvar_text_label 382@s = 'CAT_ED'
set_lvar_text_label 384@s = 'CAT_EE'
set_lvar_text_label 386@s = 'CAT_EF'
set_lvar_text_label 388@s = 'CAT_EG'
set_lvar_text_label 390@s = 'CAT_EH'
set_lvar_text_label 392@s = 'CAT_EI'
set_lvar_text_label 394@s = 'CAT_EJ'
set_lvar_text_label 396@s = 'CAT_EK'
set_lvar_text_label 398@s = 'CAT_EL'
560@ = 1
561@ = 12

:CAT2_28845
if 
  $distance == 1
goto_if_false @CAT2_29051
564@ = 1
565@ = 2
566@ = 2
567@ = 2
568@ = 1
569@ = 1
set_lvar_int_to_constant 495@ = 8686
set_lvar_int_to_constant 496@ = 8687
set_lvar_int_to_constant 497@ = 8688
set_lvar_int_to_constant 498@ = 8689
set_lvar_int_to_constant 499@ = 8690
set_lvar_int_to_constant 500@ = 8691
set_lvar_text_label 376@s = 'CAT_HA'
set_lvar_text_label 378@s = 'CAT_HB'
set_lvar_text_label 380@s = 'CAT_HC'
set_lvar_text_label 382@s = 'CAT_HD'
set_lvar_text_label 384@s = 'CAT_HE'
set_lvar_text_label 386@s = 'CAT_HF'
560@ = 1
561@ = 6

:CAT2_29051
if 
  $distance == 2
goto_if_false @CAT2_29170
564@ = 1
565@ = 1
566@ = 1
set_lvar_int_to_constant 495@ = 8714
set_lvar_int_to_constant 496@ = 8715
set_lvar_int_to_constant 497@ = 8716
set_lvar_text_label 376@s = 'CAT_MA'
set_lvar_text_label 378@s = 'CAT_MB'
set_lvar_text_label 380@s = 'CAT_MC'
560@ = 1
561@ = 3

:CAT2_29170
if 
  $distance == 3
goto_if_false @CAT2_29376
564@ = 1
565@ = 2
566@ = 1
567@ = 1
568@ = 1
569@ = 1
set_lvar_int_to_constant 495@ = 8733
set_lvar_int_to_constant 496@ = 8734
set_lvar_int_to_constant 497@ = 8735
set_lvar_int_to_constant 498@ = 8736
set_lvar_int_to_constant 499@ = 8737
set_lvar_int_to_constant 500@ = 8738
set_lvar_text_label 376@s = 'CAT_PA'
set_lvar_text_label 378@s = 'CAT_PB'
set_lvar_text_label 380@s = 'CAT_PC'
set_lvar_text_label 382@s = 'CAT_PD'
set_lvar_text_label 384@s = 'CAT_PE'
set_lvar_text_label 386@s = 'CAT_PF'
560@ = 1
561@ = 6

:CAT2_29376
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_29406
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($finaleB_played_first_time_round)

:CAT2_29406
World.ClearArea($on_footY, $on_footZ, $in_carX, 20.0, True)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(854.5403, -22.1425, 64.3802, 0.0, 0.0, 0.0)
Camera.PointAtPoint(855.2749, -22.7951, 64.1942, SwitchType.JumpCut)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT2_29550
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_29550
if 
  not Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT2_29550
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Char.WarpIntoCar($finaleB_played_first_time_round, $stealth_help_flag)

:CAT2_29550
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_29727
if 
  not Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT2_29654
Char.SetCoordinates($stattreadstamina_ctr, 857.4263, -29.5418, 62.1858)
Char.SetCoordinates($finaleB_played_first_time_round, 858.4263, -29.5418, 62.1858)
Char.SetHeading($finaleB_played_first_time_round, 161.446)
Char.SetHeading($finaleB_played_first_time_round, 340.446)
364@ = 0
Char.RemoveFromGroup($finaleB_played_first_time_round)

:CAT2_29654
368@ = Sequence.Open()
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT2_29690
$stealth_help_flag = Char.StoreCarIsInNoSave($finaleB_played_first_time_round)
Task.LeaveCar(-1, $stealth_help_flag)

:CAT2_29690
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.LookAtChar(-1, $stattreadstamina_ctr, 99999)
Sequence.Close(368@)
Char.PerformSequence($finaleB_played_first_time_round, 368@)
Sequence.Clear(368@)

:CAT2_29727
367@ = 2

:CAT2_29734
if 
  367@ == 2
goto_if_false @CAT2_29929
if 
  560@ == 0
goto_if_false @CAT2_29929
if 
  559@ == 1
goto_if_false @CAT2_29929
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_29906
369@ = Sequence.Open()
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT2_29840
$stealth_help_flag = Char.StoreCarIsInNoSave($finaleB_played_first_time_round)
Task.LeaveCar(-1, $stealth_help_flag)

:CAT2_29840
Task.GoStraightToCoord(-1, 869.0271, -28.2591, 62.1893, MoveState.Walk, 20000)
Task.GoStraightToCoord(-1, 870.2891, -25.0424, 62.9858, MoveState.Walk, 5000)
Sequence.Close(369@)
Char.PerformSequence($finaleB_played_first_time_round, 369@)
Sequence.Clear(369@)

:CAT2_29906
367@ = 3
set_lvar_int_to_lvar_int 370@ = TIMERA
370@ += 5000

:CAT2_29929
if 
  367@ == 3
goto_if_false @CAT2_30045
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_30045
$chickY = Char.GetScriptTaskStatus($finaleB_played_first_time_round, 1560)
if or
  is_int_var_equal_to_constant $chickY == 7
  is_int_lvar_greater_than_int_lvar TIMERA > 370@
goto_if_false @CAT2_30045
Camera.SetBehindPlayer
Camera.RestoreJumpcut
if 
  Char.DoesExist($finaleB_played_first_time_round)
goto_if_false @CAT2_30025
Char.Delete($finaleB_played_first_time_round)

:CAT2_30025
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Text.ClearPrints
goto @CAT2_30343

:CAT2_30045
goto @CAT2_1838

:CAT2_30052
Player.AlterWantedLevelNoDrop($statbike_temp, 3)
Audio.ReportMissionAudioEventAtPosition(2312.094, -9.6433, 28.679, 1155)
560@ = 8
561@ = 3
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_30117
Task.TurnCharToFaceChar($finaleB_played_first_time_round, $stattreadstamina_ctr)

:CAT2_30117
return 

:CAT2_30119
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
wait 2000
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CAT2_30341
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2303.903, -18.2879, 25.5416, 2321.147, 0.7716, 30.8122, False)
goto_if_false @CAT2_30341
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CAT2_30341
Camera.DoFade(800, Fade.Out)

:CAT2_30227
if 
  Camera.GetFadingStatus
goto_if_false @CAT2_30251
wait 0
goto @CAT2_30227

:CAT2_30251
wait 700
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2303.903, -18.2879, 25.5416, 2321.147, 0.7716, 30.8122, False)
goto_if_false @CAT2_30334
Char.SetCoordinates($stattreadstamina_ctr, 2300.112, -16.5618, 25.4844)
Char.SetHeading($stattreadstamina_ctr, 90.0)

:CAT2_30334
Camera.DoFade(600, Fade.In)

:CAT2_30341
return 

:CAT2_30343
$distance += 1
$propertyX += 1
Stat.SetInt(StatId.PassedCat2, 1)
168@ += 10000
Text.PrintWithNumberBig('M_PASS', 10000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 10000)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('CAT_2')
$flag_trigger_trailor_cut = 1
if 
  $pimpY == 1
goto_if_false @CAT2_30455
$pimpY = 2

:CAT2_30455
if 
  $pimpX == 1
goto_if_false @CAT2_30480
$pimpX = 2

:CAT2_30480
return 

:CAT2_30482
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
if 
  Object.DoesExist($ca3_loadingbay)
goto_if_false @CAT2_30507
Object.Delete($ca3_loadingbay)

:CAT2_30507
$ca3_loadingbay = Object.CreateNoOffset(#CR_DOOR_01, 2322.845, 8.304, 25.483)
Object.DontRemove($ca3_loadingbay)
Object.SetCollisionDamageEffect($ca3_loadingbay, False)
Object.FreezePosition($ca3_loadingbay, True)
if 
  Object.DoesExist($g_BD_DOOR)
goto_if_false @CAT2_30569
Object.Delete($g_BD_DOOR)

:CAT2_30569
$g_BD_DOOR = Object.CreateNoOffset(#CR_DOOR_01, 2316.233, 0.712, 25.742)
Object.DontRemove($g_BD_DOOR)
Object.SetHeading($g_BD_DOOR, 270.0)
Object.FreezePosition($g_BD_DOOR, True)
Object.SetCollisionDamageEffect($g_BD_DOOR, False)
if 
  Object.DoesExist($china_town_gate)
goto_if_false @CAT2_30641
Object.Delete($china_town_gate)

:CAT2_30641
$china_town_gate = Object.CreateNoOffset(#CR_DOOR_03, 2304.257, -17.744, 25.742)
Object.DontRemove($china_town_gate)
Object.FreezePosition($china_town_gate, True)
Object.SetCollisionDamageEffect($china_town_gate, False)
if 
  Object.DoesExist($frontdoorr_a51)
goto_if_false @CAT2_30703
Object.Delete($frontdoorr_a51)

:CAT2_30703
$frontdoorr_a51 = Object.CreateNoOffset(#CR_DOOR_03, 2304.257, -14.583, 25.742)
Object.DontRemove($frontdoorr_a51)
Object.FreezePosition($frontdoorr_a51, True)
Object.SetHeading($frontdoorr_a51, 180.0)
Object.SetCollisionDamageEffect($frontdoorr_a51, False)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Streaming.MarkModelAsNoLongerNeeded(599)
Streaming.MarkModelAsNoLongerNeeded(523)
Streaming.MarkModelAsNoLongerNeeded(283)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(283)
Streaming.MarkModelAsNoLongerNeeded(599)
Streaming.MarkModelAsNoLongerNeeded(71)
Streaming.MarkModelAsNoLongerNeeded(240)
Streaming.MarkModelAsNoLongerNeeded(76)
Streaming.MarkModelAsNoLongerNeeded(427)
Streaming.MarkModelAsNoLongerNeeded(523)
Streaming.MarkModelAsNoLongerNeeded(#KMB_ATM1)
Streaming.MarkModelAsNoLongerNeeded(#KMB_ATM2)
Streaming.MarkModelAsNoLongerNeeded(#KMB_ATM3)
Streaming.MarkModelAsNoLongerNeeded(#MTSAFE)
Streaming.MarkModelAsNoLongerNeeded(#CR_DOOR_01)
Streaming.MarkModelAsNoLongerNeeded(#CR_DOOR_03)
Streaming.RemoveCarRecording(156)
Streaming.RemoveCarRecording(157)
Streaming.RemoveCarRecording(123)
Streaming.RemoveCarRecording(124)
Streaming.RemoveCarRecording(158)
Streaming.RemoveCarRecording(159)
Streaming.RemoveCarRecording(160)
Streaming.RemoveCarRecording(161)
Streaming.RemoveCarRecording(116)
Streaming.RemoveCarRecording(117)
Streaming.RemoveCarRecording(118)
Streaming.RemoveCarRecording(119)
Streaming.RemoveCarRecording(123)
Streaming.RemoveCarRecording(124)
Streaming.RemoveCarRecording(160)
Streaming.RemoveCarRecording(161)
Streaming.RemoveCarRecording(156)
Streaming.RemoveCarRecording(157)
Streaming.RemoveCarRecording(158)
Streaming.RemoveCarRecording(159)
Streaming.RemoveAnimation("SHOP")
Streaming.RemoveAnimation("MISC")
Streaming.RemoveAnimation("OTB")
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("ROB_BANK")
Path.SwitchRoadsOn(2344.518, 36.1468, 36.0359, 2269.718, -44.376, 23.0569)
Blip.Remove(372@)
Blip.Remove(40@)
Blip.Remove(102@)
Blip.Remove(103@)
Blip.Remove(104@)
Blip.Remove(105@)
Object.MarkAsNoLongerNeeded(76@)
Object.MarkAsNoLongerNeeded(77@)
Object.MarkAsNoLongerNeeded(78@)
if 
  not Car.IsDead(85@)
goto_if_false @CAT2_31093
Car.MarkAsNoLongerNeeded(85@)

:CAT2_31093
if 
  not Car.IsDead(86@)
goto_if_false @CAT2_31114
Car.MarkAsNoLongerNeeded(86@)

:CAT2_31114
if 
  not Car.IsDead(88@)
goto_if_false @CAT2_31135
Car.MarkAsNoLongerNeeded(88@)

:CAT2_31135
if 
  not Car.IsDead(90@)
goto_if_false @CAT2_31156
Car.MarkAsNoLongerNeeded(90@)

:CAT2_31156
if 
  not Char.IsDead(92@)
goto_if_false @CAT2_31184
Char.FreezePosition(92@, False)
Char.MarkAsNoLongerNeeded(92@)

:CAT2_31184
if 
  not Char.IsDead(93@)
goto_if_false @CAT2_31212
Char.FreezePosition(93@, False)
Char.MarkAsNoLongerNeeded(93@)

:CAT2_31212
if 
  not Char.IsDead(87@)
goto_if_false @CAT2_31240
Char.FreezePosition(87@, False)
Char.MarkAsNoLongerNeeded(87@)

:CAT2_31240
if 
  not Char.IsDead(89@)
goto_if_false @CAT2_31268
Char.FreezePosition(89@, False)
Char.MarkAsNoLongerNeeded(89@)

:CAT2_31268
if 
  not Char.IsDead(91@)
goto_if_false @CAT2_31296
Char.FreezePosition(91@, False)
Char.MarkAsNoLongerNeeded(91@)

:CAT2_31296
if 
  not Char.IsDead(94@)
goto_if_false @CAT2_31317
Char.MarkAsNoLongerNeeded(94@)

:CAT2_31317
Sound.Remove(82@)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Game.SetWantedMultiplier(1.0)
Mission.Finish
return 

:CAT2_31345
if 
  364@ == 1
goto_if_false @CAT2_31944
if 
  371@ == 1
goto_if_false @CAT2_31463
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_31463
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT2_31463
371@ = 0
372@ = Blip.AddForChar($finaleB_played_first_time_round)
Blip.SetAsFriendly(372@, True)
Blip.ChangeDisplay(40@, BlipDisplay.Neither)
Text.ClearPrints
Text.Print('CAT2_14', 4000, 1)

:CAT2_31463
if 
  371@ == 0
goto_if_false @CAT2_31592
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT2_31592
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT2_31530
371@ = 1
goto @CAT2_31592

:CAT2_31530
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $finaleB_played_first_time_round, 10.0, 10.0, False)
goto_if_false @CAT2_31592
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Blip.Remove(372@)
Blip.ChangeDisplay(40@, BlipDisplay.Both)
371@ = 1

:CAT2_31592
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT2_31725
if 
  373@ == 0
goto_if_false @CAT2_31718
DecisionMakerGroup.ClearEventResponse(37@, 36)
DecisionMakerGroup.ClearEventResponse(37@, 9)
DecisionMakerGroup.ClearEventResponse(37@, 41)
DecisionMakerGroup.ClearEventResponse(37@, 31)
DecisionMakerGroup.ClearEventResponse(37@, 73)
DecisionMakerGroup.ClearEventResponse(37@, 72)
DecisionMakerGroup.AddEventResponse(37@, 36, 1516, 0.0, 100.0, 0.0, 0.0, True, False)
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Mission1)
373@ = 1

:CAT2_31718
goto @CAT2_31944

:CAT2_31725
if 
  373@ == 1
goto_if_false @CAT2_31944
DecisionMakerGroup.ClearEventResponse(37@, 36)
DecisionMakerGroup.ClearEventResponse(37@, 9)
DecisionMakerGroup.ClearEventResponse(37@, 41)
DecisionMakerGroup.ClearEventResponse(37@, 31)
DecisionMakerGroup.ClearEventResponse(37@, 73)
DecisionMakerGroup.ClearEventResponse(37@, 72)
DecisionMakerGroup.ClearEventResponse(37@, 36)
DecisionMakerGroup.AddEventResponse(37@, 36, 1502, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerGroup.AddEventResponse(37@, 9, 1502, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerGroup.AddEventResponse(37@, 31, 1502, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerGroup.AddEventResponse(37@, 72, 1502, 0.0, 100.0, 0.0, 0.0, False, True)
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Mission1)
373@ = 0

:CAT2_31944
return 

:CAT2_31946
switch_start 559@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @CAT2_34497 {caseNum1} 0 {caseLabel1} @CAT2_32009 {caseNum2} 1 {caseLabel2} @CAT2_33228 {caseNum3} 2 {caseLabel3} @CAT2_34095 {caseNum4} 3 {caseLabel4} @CAT2_34194 {caseNum5} 4 {caseLabel5} @CAT2_34270 {caseNum6} 5 {caseLabel6} @CAT2_34407 {caseNum7} -1 {caseLabel7} @CAT2_34497

:CAT2_32009
set_lvar_text_label 374@s = 'CAT4_BI'
set_lvar_text_label 376@s = 'CAT4_CA'
set_lvar_int_to_constant 495@ = 9621
set_lvar_text_label 378@s = 'CAT4_CB'
set_lvar_int_to_constant 496@ = 9622
set_lvar_text_label 380@s = 'CAT4_CD'
set_lvar_int_to_constant 497@ = 9624
set_lvar_text_label 382@s = 'CAT4_CE'
set_lvar_int_to_constant 498@ = 9625
set_lvar_text_label 384@s = 'CAT4_CF'
set_lvar_int_to_constant 499@ = 9626
set_lvar_text_label 386@s = 'CAT4_CG'
set_lvar_int_to_constant 500@ = 9627
set_lvar_text_label 388@s = 'CAT4_CH'
set_lvar_int_to_constant 501@ = 9628
set_lvar_text_label 390@s = 'CAT4_EA'
set_lvar_int_to_constant 502@ = 9642
set_lvar_text_label 392@s = 'CAT4_EC'
set_lvar_int_to_constant 503@ = 9644
set_lvar_text_label 394@s = 'CAT4_ED'
set_lvar_int_to_constant 504@ = 9645
set_lvar_text_label 396@s = 'CAT4_BA'
set_lvar_int_to_constant 505@ = 9610
set_lvar_text_label 398@s = 'CAT4_AB'
set_lvar_int_to_constant 506@ = 9601
set_lvar_text_label 400@s = 'CAT4_AC'
set_lvar_int_to_constant 507@ = 9602
set_lvar_text_label 402@s = 'CAT4_AD'
set_lvar_int_to_constant 508@ = 9603
set_lvar_text_label 404@s = 'CAT4_AE'
set_lvar_int_to_constant 509@ = 9604
set_lvar_text_label 406@s = 'CAT4_FB'
set_lvar_int_to_constant 510@ = 9647
set_lvar_text_label 408@s = 'CAT4_AF'
set_lvar_int_to_constant 511@ = 9605
set_lvar_text_label 410@s = 'CAT4_FD'
set_lvar_int_to_constant 512@ = 9649
set_lvar_text_label 412@s = 'CAT4_GB'
set_lvar_int_to_constant 513@ = 9651
set_lvar_text_label 414@s = 'CAT4_HH'
set_lvar_int_to_constant 514@ = 9659
set_lvar_text_label 416@s = 'CAT4_HF'
set_lvar_int_to_constant 515@ = 9657
set_lvar_text_label 418@s = 'CAT4_AG'
set_lvar_int_to_constant 516@ = 9606
set_lvar_text_label 420@s = 'CAT4_AH'
set_lvar_int_to_constant 517@ = 9607
set_lvar_text_label 422@s = 'CAT4_HI'
set_lvar_int_to_constant 518@ = 9660
set_lvar_text_label 424@s = 'CAT4_BF'
set_lvar_int_to_constant 519@ = 9615
set_lvar_text_label 426@s = 'CAT4_KF'
set_lvar_int_to_constant 520@ = 9669
set_lvar_text_label 428@s = 'CAT4_HB'
set_lvar_int_to_constant 521@ = 9653
set_lvar_text_label 430@s = 'CAT4_HG'
set_lvar_int_to_constant 522@ = 9658
set_lvar_text_label 432@s = 'CAT4_AJ'
set_lvar_int_to_constant 523@ = 9609
set_lvar_text_label 434@s = 'CAT4_JA'
set_lvar_int_to_constant 524@ = 9662
set_lvar_text_label 436@s = 'CAT4_JB'
set_lvar_int_to_constant 525@ = 9663
set_lvar_text_label 438@s = 'CAT4_KA'
set_lvar_int_to_constant 526@ = 9664
set_lvar_text_label 440@s = 'CAT4_KB'
set_lvar_int_to_constant 527@ = 9665
set_lvar_text_label 442@s = 'CAT4_KC'
set_lvar_int_to_constant 528@ = 9666
set_lvar_text_label 444@s = 'CAT4_KD'
set_lvar_int_to_constant 529@ = 9667
set_lvar_text_label 446@s = 'CAT4_KE'
set_lvar_int_to_constant 530@ = 9668
set_lvar_text_label 448@s = 'CAT3_EC'
set_lvar_int_to_constant 531@ = 9421
set_lvar_text_label 450@s = 'CAT_GJ'
set_lvar_int_to_constant 532@ = 8681
set_lvar_text_label 452@s = 'CAT4_BK'
set_lvar_int_to_constant 533@ = 9620
564@ = 1
565@ = 2
566@ = 2
567@ = 1
568@ = 1
569@ = 1
570@ = 2
571@ = 2
572@ = 1
573@ = 1
574@ = 3
575@ = 4
576@ = 3
577@ = 4
578@ = 3
579@ = 1
580@ = 0
581@ = 1
582@ = 1
583@ = 1
584@ = 5
585@ = 5
586@ = 1
587@ = 1
588@ = 6
589@ = 1
590@ = 1
591@ = 1
592@ = 6
593@ = 1
594@ = 1
595@ = 0
596@ = 0
597@ = 0
598@ = 0
599@ = 0
600@ = 1
601@ = 1
602@ = 0
set_lvar_int_to_var_int 624@ = $finaleB_played_first_time_round
set_lvar_int_to_var_int 625@ = $stattreadstamina_ctr
set_lvar_int_to_var_int 628@ = $stattreadstamina_ctr
set_lvar_int_to_var_int 629@ = $stattreadstamina_ctr
559@ = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 495@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 496@)
555@ = 1
556@ = 2
goto @CAT2_34497

:CAT2_33228
if 
  560@ <> 0
goto_if_false @CAT2_34088
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 639@
goto_if_false @CAT2_34088
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @CAT2_34088
if 
  is_int_lvar_equal_to_int_lvar 555@ == 560@
goto_if_false @CAT2_33317
557@ = 1
goto @CAT2_33380

:CAT2_33317
if 
  is_int_lvar_equal_to_int_lvar 556@ == 560@
goto_if_false @CAT2_33350
557@ = 2
goto @CAT2_33380

:CAT2_33350
557@ = 1
set_lvar_int_to_lvar_int 555@ = 560@
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 494@(560@,60i))

:CAT2_33380
if 
  Audio.HasMissionAudioLoaded(557@)
goto_if_false @CAT2_34076
set_lvar_int_to_lvar_int 631@ = 563@(560@,60i)
set_lvar_int_to_lvar_int 632@ = 623@(631@,7i)
if 
  638@ <> 1
goto_if_false @CAT2_33608
635@ = 1
637@ = 0

:CAT2_33452
if 
  7 > 635@
goto_if_false @CAT2_33608
set_lvar_int_to_lvar_int 636@ = 623@(635@,7i)
if 
  636@ <> 0
goto_if_false @CAT2_33594
if 
  not is_int_lvar_equal_to_int_lvar 636@ == 632@
goto_if_false @CAT2_33594
if 
  not Char.IsDead(632@)
goto_if_false @CAT2_33594
if 
  not Char.IsDead(636@)
goto_if_false @CAT2_33594
if 
  Char.LocateAnyMeansChar3D(632@, 636@, 10.0, 10.0, 10.0, False)
goto_if_false @CAT2_33594
637@ += 1

:CAT2_33594
635@ += 1
goto @CAT2_33452

:CAT2_33608
if or
  638@ == 1
  637@ > 0
  563@(560@,60i) == 0
goto_if_false @CAT2_34062
if 
  563@(560@,60i) <> 0
goto_if_false @CAT2_33794
if 
  not Char.IsDead(632@)
goto_if_false @CAT2_33794
if 
  $d6_player_in_tunnel == 0
goto_if_false @CAT2_33708
Audio.AttachMissionAudioToChar(557@, 632@)

:CAT2_33708
if 
  not Char.IsTalking(632@)
goto_if_false @CAT2_33746
630@ = 1
Char.StartFacialTalk(632@, 15000)
goto @CAT2_33753

:CAT2_33746
Char.DisableSpeech(632@, False)

:CAT2_33753
if 
  632@ <> 0
goto_if_false @CAT2_33794
if 
  not Char.IsDead(632@)
goto_if_false @CAT2_33794
Char.ShutUpForScriptedSpeech(632@, True)

:CAT2_33794
if 
  563@(560@,60i) == 0
goto_if_false @CAT2_33823
630@ = 1

:CAT2_33823
if 
  562@ == 1
goto_if_false @CAT2_33864
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT2_33864
630@ = 0

:CAT2_33864
if 
  630@ == 1
goto_if_false @CAT2_34055
Audio.PlayMissionAudio(557@)
Text.ClearPrints
Text.Print(374@(560@,60s), 10000, 1)
559@ += 1
630@ = 0
560@ += 1
set_lvar_int_to_lvar_int 558@ = 560@
if 
  494@(560@,60i) <> 0
goto_if_false @CAT2_34055
if 
  557@ == 1
goto_if_false @CAT2_34017
if 
  not is_int_lvar_equal_to_int_lvar 556@ == 560@
goto_if_false @CAT2_34010
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 494@(560@,60i))
set_lvar_int_to_lvar_int 556@ = 560@

:CAT2_34010
goto @CAT2_34055

:CAT2_34017
if 
  not is_int_lvar_equal_to_int_lvar 555@ == 560@
goto_if_false @CAT2_34055
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 494@(560@,60i))
set_lvar_int_to_lvar_int 555@ = 560@

:CAT2_34055
goto @CAT2_34069

:CAT2_34062
559@ = 6

:CAT2_34069
goto @CAT2_34088

:CAT2_34076
Audio.LoadMissionAudio(557@, 494@(560@,60i))

:CAT2_34088
goto @CAT2_34497

:CAT2_34095
if 
  Audio.HasMissionAudioFinished(557@)
goto_if_false @CAT2_34148
if 
  not Char.IsDead(632@)
goto_if_false @CAT2_34134
Char.ShutUpForScriptedSpeech(632@, False)

:CAT2_34134
559@ += 1
goto @CAT2_34187

:CAT2_34148
if 
  Char.DoesExist(632@)
goto_if_false @CAT2_34187
if 
  Char.IsDead(632@)
goto_if_false @CAT2_34187
559@ += 1

:CAT2_34187
goto @CAT2_34497

:CAT2_34194
if 
  not Char.IsDead(632@)
goto_if_false @CAT2_34217
Char.ShutUpForScriptedSpeech(632@, False)

:CAT2_34217
Audio.ClearMissionAudio(557@)
554@(557@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(632@)
goto_if_false @CAT2_34256
Char.EnableSpeech(632@)

:CAT2_34256
559@ += 1
goto @CAT2_34497

:CAT2_34270
if 
  not Char.IsDead(632@)
goto_if_false @CAT2_34293
Char.ShutUpForScriptedSpeech(632@, False)

:CAT2_34293
560@ += 1
if 
  494@(560@,60i) <> 0
goto_if_false @CAT2_34346
Audio.LoadMissionAudio(557@, 494@(560@,60i))
set_lvar_int_to_lvar_int 554@(557@,3i) = 560@

:CAT2_34346
561@ -= 1
if 
  561@ <= 0
goto_if_false @CAT2_34385
560@ = 0
goto @CAT2_34393

:CAT2_34385
set_lvar_int_to_lvar_int 560@ = 558@

:CAT2_34393
559@ = 1
goto @CAT2_34497

:CAT2_34407
if 
  not Char.IsDead(632@)
goto_if_false @CAT2_34430
Char.ShutUpForScriptedSpeech(632@, False)

:CAT2_34430
559@ = 1
560@ = 0
561@ = 0
Audio.ClearMissionAudio(557@)
554@(557@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(632@)
goto_if_false @CAT2_34490
Char.EnableSpeech(632@)

:CAT2_34490
goto @CAT2_34497

:CAT2_34497
return 

//-------------Mission 43---------------
// Originally: Tanker Commander

:CAT3
script_name 'CAT3'
gosub @CAT3_1442
if 
  has_deatharrest_been_executed 
goto_if_false @CAT3_38
gosub @CAT3_17038

:CAT3_38
gosub @CAT3_17240
terminate_this_script 

:CAT3_47
Streaming.RequestModel(67)
Streaming.RequestModel(95)
Streaming.RequestModel(514)
Streaming.RequestModel(584)
Streaming.RequestModel(475)
Streaming.LoadAllModelsNow

:CAT3_72
if or
  not Streaming.HasModelLoaded(67)
  not Streaming.HasModelLoaded(95)
  not Streaming.HasModelLoaded(514)
  not Streaming.HasModelLoaded(584)
  not Streaming.HasModelLoaded(475)
goto_if_false @CAT3_117
wait 0
goto @CAT3_72

:CAT3_117
return 

:CAT3_119
Streaming.RequestAnimation("MISC")
Streaming.RequestModel(352)
Streaming.RequestModel(349)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 32600)
Streaming.LoadSpecialCharacter(1, 'CAT')
Streaming.LoadAllModelsNow

:CAT3_159
if or
  not Streaming.HasAnimationLoaded("MISC")
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(349)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @CAT3_207
wait 0
goto @CAT3_159

:CAT3_207
if 
  not Char.DoesExist($finaleB_played_first_time_round)
goto_if_false @CAT3_249
$finaleB_played_first_time_round = Char.Create(PedType.CivFemale, 290, 53@, 54@, 55@)
goto @CAT3_273

:CAT3_249
Char.Delete($finaleB_played_first_time_round)
$finaleB_played_first_time_round = Char.Create(PedType.CivFemale, 290, 53@, 54@, 55@)

:CAT3_273
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_299
Char.GiveWeapon($finaleB_played_first_time_round, WeaponType.Shotgun, 30000)

:CAT3_299
return 
309@ = Blip.AddForChar($finaleB_played_first_time_round)
41@ = Blip.AddForCoord(50@, 51@, 52@)
Streaming.MarkModelAsNoLongerNeeded(348)
return 

:CAT3_330
313@ = 664.21
315@ = -569.54
317@ = 15.37
319@ = 165.23
World.ClearArea(313@, 315@, 317@, 3.0, True)
310@ = Char.Create(PedType.CivMale, 67, 313@, 315@, 317@)
Char.GiveWeapon(310@, WeaponType.MicroUzi, 30000)
Char.SetHeading(310@, 319@)
Char.SetHealth(310@, 2000)
Char.SetCanBeShotInVehicle(310@, False)
Char.SetProofs(310@, False, True, True, False, True)
314@ = 664.9634
316@ = -566.7849
318@ = 15.3359
320@ = 139.1057
World.ClearArea(314@, 316@, 318@, 3.0, True)
311@ = Char.Create(PedType.CivMale, 95, 314@, 316@, 318@)
Char.SetHeading(311@, 320@)
Char.SetHealth(311@, 2000)
Char.SetCanBeShotInVehicle(311@, False)
Char.SetProofs(311@, False, True, True, False, True)
return 
Streaming.MarkModelAsNoLongerNeeded(67)
return 

:CAT3_576
Streaming.RequestModel(15)

:CAT3_580
if 
  not Streaming.HasModelLoaded(15)
goto_if_false @CAT3_606
wait 0
goto @CAT3_580

:CAT3_606
323@ = -78.4672
324@ = -1134.739
325@ = 0.0733
326@ = 326.2953
World.ClearArea(323@, 324@, 325@, 3.0, True)
322@ = Char.Create(PedType.CivMale, 15, 323@, 324@, 325@)
Char.SetHeading(322@, 326@)
return 
244@ = Char.Create(PedType.CivMale, 15, 323@, 324@, 325@)

:CAT3_710
329@ = 657.49
330@ = -585.13
331@ = 16.36
332@ = 170.66
World.ClearArea(329@, 330@, 331@, 15.0, True)
327@ = Car.Create(514, 329@, 330@, 331@)
Car.SetHeading(327@, 332@)
Car.SetCanBurstTires(327@, False)
Car.SetProofs(327@, True, False, False, False, False)
Car.SetLoadCollisionFlag(327@, False)
return 
308@ = Car.Create(403, 329@, 330@, 331@)

:CAT3_841
336@ = 667.49
337@ = -583.13
338@ = 16.36
339@ = 184.66
World.ClearArea(336@, 337@, 338@, 15.0, True)
334@ = Car.Create(584, 336@, 337@, 338@)
Car.SetHeading(334@, 339@)
Car.SetHealth(334@, 1250)
Car.SetProofs(334@, True, True, True, True, True)
Car.SetCanBurstTires(334@, False)
Car.SetLoadCollisionFlag(334@, False)
return 
335@ = Blip.AddForCar(334@)

:CAT3_971
342@ = 667.54
343@ = -545.97
344@ = 15.09
345@ = 96.19
World.ClearArea(342@, 343@, 344@, 3.0, True)
340@ = Car.Create(475, 342@, 343@, 344@)
Car.SetHeading(340@, 345@)
Car.SetCruiseSpeed(340@, 50.0)
Car.SetProofs(340@, True, True, True, True, True)
Car.LockDoors(340@, CarLock.Locked)
Car.SetCanBurstTires(340@, False)
Car.SetLoadCollisionFlag(340@, False)
Car.FreezePosition(340@, True)
return 

:CAT3_1109
Streaming.RequestModel(543)

:CAT3_1114
if 
  not Streaming.HasModelLoaded(543)
goto_if_false @CAT3_1141
wait 0
goto @CAT3_1114

:CAT3_1141
348@ = -87.9239
349@ = -1160.597
350@ = 1.1091
351@ = 170.4884
World.ClearArea(348@, 349@, 350@, 3.0, True)
346@ = Car.Create(543, 348@, 349@, 350@)
Car.SetHeading(346@, 351@)
Car.SetProofs(346@, True, True, True, True, True)
return 

:CAT3_1241
Streaming.RequestModel(468)
Streaming.RequestCarRecording(189)

:CAT3_1251
if or
  not Streaming.HasModelLoaded(468)
  not Streaming.HasCarRecordingBeenLoaded(189)
goto_if_false @CAT3_1283
wait 0
goto @CAT3_1251

:CAT3_1283
353@ = -88.1347
354@ = -1127.397
355@ = 0.0847
356@ = 348.4666
World.ClearArea(353@, 354@, 355@, 3.0, True)
352@ = Car.Create(468, 353@, 354@, 355@)
Car.SetHeading(352@, 356@)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_1440
Char.WarpIntoCar($finaleB_played_first_time_round, 352@)
Task.LookAtChar($finaleB_played_first_time_round, $stattreadstamina_ctr, -1)
Char.SetCoordinates($stattreadstamina_ctr, -86.3344, -1127.316, 0.0781)
Char.SetHeading($stattreadstamina_ctr, 6.874)
Task.LookAtChar($stattreadstamina_ctr, $finaleB_played_first_time_round, -1)

:CAT3_1440
return 

:CAT3_1442
$weapon_shop1_blip = 1
wait 0
Text.LoadMissionText('CAT')
34@ = 5000
35@ = 0
36@ = 1
37@ = 0
38@ = 0
39@ = 0
307@ = 1500
40@ = 0
301@ = 0
305@ = 1
303@ = 1
304@ = 2
302@ = 0
set_lvar_text_label 134@s = 'CAT3_AA'
set_lvar_text_label 136@s = 'CAT3_AB'
set_lvar_text_label 138@s = 'CAT3_AC'
set_lvar_text_label 140@s = 'CAT3_AD'
set_lvar_text_label 142@s = 'CAT3_AE'
set_lvar_text_label 144@s = 'CAT3_AF'
set_lvar_text_label 146@s = 'CAT3_AG'
set_lvar_text_label 148@s = 'CAT3_BA'
set_lvar_text_label 150@s = 'CAT3_BB'
set_lvar_text_label 152@s = 'CAT3_BC'
set_lvar_text_label 154@s = 'CAT3_BD'
set_lvar_text_label 156@s = 'CAT3_CA'
set_lvar_text_label 158@s = 'CAT3_CB'
set_lvar_text_label 160@s = 'CAT3_CC'
set_lvar_text_label 162@s = 'CAT3_CD'
set_lvar_text_label 164@s = 'CAT3_DA'
set_lvar_text_label 166@s = 'CAT3_DB'
set_lvar_text_label 168@s = 'CAT3_DC'
set_lvar_text_label 170@s = 'CAT3_DD'
set_lvar_text_label 172@s = 'CAT3_EA'
set_lvar_text_label 174@s = 'CAT3_EB'
set_lvar_text_label 176@s = 'CAT3_EC'
set_lvar_text_label 178@s = 'CAT3_ED'
set_lvar_text_label 180@s = 'CAT3_EE'
set_lvar_text_label 182@s = 'CAT3_EF'
set_lvar_text_label 184@s = 'CAT3_EG'
set_lvar_text_label 186@s = 'CAT3_FA'
set_lvar_text_label 188@s = 'CAT3_FB'
set_lvar_text_label 190@s = 'CAT3_FC'
set_lvar_text_label 192@s = 'CAT3_FD'
set_lvar_text_label 194@s = 'CAT3_FE'
set_lvar_text_label 196@s = 'CAT3_FF'
set_lvar_text_label 198@s = 'CAT3_GA'
set_lvar_text_label 200@s = 'CAT3_GB'
set_lvar_text_label 202@s = 'CAT3_GC'
set_lvar_text_label 204@s = 'CAT3_GD'
set_lvar_text_label 206@s = 'CAT3_GE'
set_lvar_text_label 208@s = 'CAT3_GF'
set_lvar_text_label 210@s = 'CAT3_GG'
set_lvar_text_label 212@s = 'CAT3_HA'
set_lvar_text_label 214@s = 'CAT3_HB'
set_lvar_text_label 216@s = 'CAT3_HC'
set_lvar_text_label 218@s = 'CAT3_JA'
set_lvar_text_label 220@s = 'CAT3_JB'
set_lvar_text_label 222@s = 'CAT3_JC'
set_lvar_text_label 224@s = 'CAT3_JD'
set_lvar_text_label 226@s = 'CAT3_JE'
set_lvar_text_label 228@s = 'CAT3_JF'
set_lvar_text_label 230@s = 'CAT3_JG'
set_lvar_text_label 232@s = 'CAT3_JH'
set_lvar_text_label 234@s = 'CAT3_JJ'
set_lvar_text_label 236@s = 'CAT3_JK'
set_lvar_text_label 238@s = 'CATX_UJ'
set_lvar_text_label 240@s = 'CATX_UK'
set_lvar_text_label 242@s = 'CAT_PF'
set_lvar_int_to_constant 246@ = 9400
set_lvar_int_to_constant 247@ = 9401
set_lvar_int_to_constant 248@ = 9402
set_lvar_int_to_constant 249@ = 9403
set_lvar_int_to_constant 250@ = 9404
set_lvar_int_to_constant 251@ = 9405
set_lvar_int_to_constant 252@ = 9406
set_lvar_int_to_constant 253@ = 9407
set_lvar_int_to_constant 254@ = 9408
set_lvar_int_to_constant 255@ = 9409
set_lvar_int_to_constant 256@ = 9410
set_lvar_int_to_constant 257@ = 9411
set_lvar_int_to_constant 258@ = 9412
set_lvar_int_to_constant 259@ = 9413
set_lvar_int_to_constant 260@ = 9414
set_lvar_int_to_constant 261@ = 9415
set_lvar_int_to_constant 262@ = 9416
set_lvar_int_to_constant 263@ = 9417
set_lvar_int_to_constant 264@ = 9418
set_lvar_int_to_constant 265@ = 9419
set_lvar_int_to_constant 266@ = 9420
set_lvar_int_to_constant 267@ = 9421
set_lvar_int_to_constant 268@ = 9422
set_lvar_int_to_constant 269@ = 9423
set_lvar_int_to_constant 270@ = 9424
set_lvar_int_to_constant 271@ = 9425
set_lvar_int_to_constant 272@ = 9426
set_lvar_int_to_constant 273@ = 9427
set_lvar_int_to_constant 274@ = 9428
set_lvar_int_to_constant 275@ = 9429
set_lvar_int_to_constant 276@ = 9430
set_lvar_int_to_constant 277@ = 9431
set_lvar_int_to_constant 278@ = 9432
set_lvar_int_to_constant 279@ = 9433
set_lvar_int_to_constant 280@ = 9434
set_lvar_int_to_constant 281@ = 9435
set_lvar_int_to_constant 282@ = 9436
set_lvar_int_to_constant 283@ = 9437
set_lvar_int_to_constant 284@ = 9438
set_lvar_int_to_constant 285@ = 9439
set_lvar_int_to_constant 286@ = 9440
set_lvar_int_to_constant 287@ = 9441
set_lvar_int_to_constant 288@ = 9442
set_lvar_int_to_constant 289@ = 9443
set_lvar_int_to_constant 290@ = 9444
set_lvar_int_to_constant 291@ = 9445
set_lvar_int_to_constant 292@ = 9446
set_lvar_int_to_constant 293@ = 9447
set_lvar_int_to_constant 294@ = 9448
set_lvar_int_to_constant 295@ = 9449
set_lvar_int_to_constant 296@ = 9450
set_lvar_int_to_constant 297@ = 9451
set_lvar_int_to_constant 298@ = 9897
set_lvar_int_to_constant 299@ = 9898
set_lvar_int_to_constant 300@ = 8738
50@ = -43.7625
51@ = -1141.805
52@ = 0.0781
53@ = 660.3846
54@ = -571.9213
55@ = 15.3465
65@ = 659.5142
75@ = -571.65
85@ = 17.0104
95@ = 660.4576
105@ = -571.3304
115@ = 16.9229
66@ = 661.7569
76@ = -570.6351
86@ = 17.1184
96@ = 662.4741
106@ = -569.9394
116@ = 17.0783
67@ = 658.7903
77@ = -568.8011
87@ = 17.1657
97@ = 659.5721
107@ = -569.3959
117@ = 16.9783
68@ = 659.4771
78@ = -568.5789
88@ = 17.0879
98@ = 660.1776
108@ = -569.2756
118@ = 16.9335
69@ = 655.2368
79@ = -601.8433
89@ = 16.4703
99@ = 654.2847
109@ = -601.6681
119@ = 16.2199
70@ = -73.4246
80@ = -1132.716
90@ = 1.4933
100@ = -74.3653
110@ = -1133.049
120@ = 1.5579
71@ = -80.0272
81@ = -1133.954
91@ = 1.2517
101@ = -79.0308
111@ = -1133.956
121@ = 1.3367
72@ = -76.5131
82@ = -1135.434
92@ = 1.6855
102@ = -75.8151
112@ = -1134.719
122@ = 1.711
321@ = 35.0
gosub @CAT3_119
gosub @CAT3_47
gosub @CAT3_330
gosub @CAT3_710
gosub @CAT3_841
gosub @CAT3_971
Player.SetGroupRecruitment($statbike_temp, False)
Streaming.LoadSceneInDirection(53@, 54@, 55@, 295.0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT3_3436
Char.WarpFromCarToCoord($stattreadstamina_ctr, 659.6722, -569.272, 15.3465)
goto @CAT3_3456

:CAT3_3436
Char.SetCoordinates($stattreadstamina_ctr, 659.6722, -569.272, 15.3465)

:CAT3_3456
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Char.IsDead(310@)
goto_if_false @CAT3_3649
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT3_3514
Char.WarpFromCarToCoord($finaleB_played_first_time_round, 53@, 54@, 55@)
goto @CAT3_3528

:CAT3_3514
Char.SetCoordinates($finaleB_played_first_time_round, 53@, 54@, 55@)

:CAT3_3528
Task.TurnCharToFaceChar($stattreadstamina_ctr, 310@)
Task.TurnCharToFaceChar(310@, $finaleB_played_first_time_round)
Char.SetHeading($stattreadstamina_ctr, 177.1965)
Char.HideWeaponForScriptedCutscene(310@, True)
Camera.SetFixedPosition(65@, 75@, 85@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(95@, 105@, 115@, SwitchType.JumpCut)
44@ = Clock.GetGameTimer()
Char.RemoveFromGroup($finaleB_played_first_time_round)
37@ = 1
Task.AimGunAtChar($finaleB_played_first_time_round, 310@, 20000)
Task.StayInSamePlace($finaleB_played_first_time_round, True)
Task.StayInSamePlace(310@, True)
301@ = 1

:CAT3_3649
Camera.SetFadingColor(0, 0, 0)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.In)
Camera.DoFade(500, Fade.In)
World.SetCarDensityMultiplier(0.5)

:CAT3_3686
wait 0
if 
  301@ <> 0
goto_if_false @CAT3_4131
if 
  302@ == 0
goto_if_false @CAT3_3754
if 
  Audio.HasMissionAudioLoaded(304@)
goto_if_false @CAT3_3747
Audio.ClearMissionAudio(304@)

:CAT3_3747
302@ = 1

:CAT3_3754
if 
  302@ == 1
goto_if_false @CAT3_3798
Audio.LoadMissionAudio(303@, 245@(301@,56i))
gosub @CAT3_17442
302@ = 2

:CAT3_3798
if 
  302@ == 2
goto_if_false @CAT3_3907
if 
  Audio.HasMissionAudioLoaded(303@)
goto_if_false @CAT3_3907
if 
  244@ <> 0
goto_if_false @CAT3_3881
if 
  not Char.IsDead(244@)
goto_if_false @CAT3_3881
Char.StartFacialTalk(244@, 10000)
Char.ShutUpForScriptedSpeech(244@, True)

:CAT3_3881
Audio.PlayMissionAudio(303@)
Text.PrintNow(132@(301@,56s), 10000, 1)
302@ = 3

:CAT3_3907
if 
  302@ == 3
goto_if_false @CAT3_4131
if 
  Audio.HasMissionAudioFinished(303@)
goto_if_false @CAT3_4070
Text.ClearThisPrint(132@(301@,56s))
if 
  244@ <> 0
goto_if_false @CAT3_3996
if 
  not Char.IsDead(244@)
goto_if_false @CAT3_3996
Char.StopFacialTalk(244@)
Char.ShutUpForScriptedSpeech(244@, False)

:CAT3_3996
if 
  303@ == 1
goto_if_false @CAT3_4035
303@ = 2
304@ = 1
goto @CAT3_4049

:CAT3_4035
303@ = 1
304@ = 2

:CAT3_4049
301@ = 0
302@ = 0
goto @CAT3_4131

:CAT3_4070
if 
  not Audio.HasMissionAudioLoaded(304@)
goto_if_false @CAT3_4131
if 
  60 > 301@
goto_if_false @CAT3_4131
set_lvar_int_to_lvar_int 305@ = 301@
305@ += 1
Audio.LoadMissionAudio(304@, 245@(305@,56i))

:CAT3_4131
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CAT3_4153
goto @CAT3_17056

:CAT3_4153
if 
  35@ == 0
goto_if_false @CAT3_5689
if 
  6 > 37@
goto_if_false @CAT3_4221
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CAT3_4221
44@ -= 10000
37@ = 7

:CAT3_4221
if 
  37@ == 1
goto_if_false @CAT3_4395
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_4395
if 
  302@ == 0
goto_if_false @CAT3_4395
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Char.IsDead(310@)
goto_if_false @CAT3_4395
45@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 662.828, -570.1751, 15.3359, 4, -2)
Task.LookAtChar(-1, $finaleB_played_first_time_round, 30000)
Task.TurnCharToFaceChar(-1, $finaleB_played_first_time_round)
Sequence.Close(45@)
Char.PerformSequence(310@, 45@)
44@ = Clock.GetGameTimer()
301@ = 2
37@ = 2

:CAT3_4395
if 
  37@ == 2
goto_if_false @CAT3_4663
if 
  not Char.IsDead(310@)
goto_if_false @CAT3_4526
if 
  not Char.IsPlayingAnim(310@, "BNG_WNDW_02")
goto_if_false @CAT3_4526
312@ = Char.GetScriptTaskStatus(310@, 1560)
if 
  is_int_lvar_equal_to_constant 312@ == 7
goto_if_false @CAT3_4526
Task.PlayAnim(310@, "BNG_WNDW_02", "MISC", 4.0, False, False, False, False, -1)

:CAT3_4526
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_4663
if 
  302@ == 0
goto_if_false @CAT3_4663
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Char.IsDead(310@)
goto_if_false @CAT3_4663
Camera.SetFixedPosition(66@, 76@, 86@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(96@, 106@, 116@, SwitchType.JumpCut)
44@ = Clock.GetGameTimer()
301@ = 3
37@ = 3

:CAT3_4663
if 
  37@ == 3
goto_if_false @CAT3_4789
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_4789
if 
  302@ == 0
goto_if_false @CAT3_4789
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Char.IsDead(310@)
  not Char.IsDead(311@)
goto_if_false @CAT3_4789
Task.ShakeFist(311@)
44@ = Clock.GetGameTimer()
301@ = 4
37@ = 4

:CAT3_4789
if 
  37@ == 4
goto_if_false @CAT3_4939
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_4939
if 
  302@ == 0
goto_if_false @CAT3_4939
if 
  not Car.IsDead(327@)
goto_if_false @CAT3_4939
Camera.SetFixedPosition(67@, 77@, 87@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(97@, 107@, 117@, SwitchType.JumpCut)
44@ = Clock.GetGameTimer()
301@ = 5
37@ = 5

:CAT3_4939
if 
  37@ == 5
goto_if_false @CAT3_5166
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_5166
if 
  302@ == 0
goto_if_false @CAT3_5166
if and
  not Car.IsDead(327@)
  not Char.IsDead($finaleB_played_first_time_round)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CAT3_5166
Camera.PointAtCar(327@, CameraMode.Fixed, SwitchType.JumpCut)
44@ = Clock.GetGameTimer()
Task.LookAtChar($stattreadstamina_ctr, $finaleB_played_first_time_round, 8000)
46@ = Sequence.Open()
Task.LookAtChar(-1, $stattreadstamina_ctr, 1000)
Task.GoStraightToCoord(-1, 657.7125, -576.2346, 15.3359, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 654.6555, -585.0117, 15.3359, MoveState.Run, -1)
Task.EnterCarAsPassenger(-1, 327@, 30000, 0)
Sequence.Close(46@)
Char.PerformSequence($finaleB_played_first_time_round, 46@)
301@ = 6
37@ = 6

:CAT3_5166
if 
  37@ == 6
goto_if_false @CAT3_5345
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_5345
if 
  302@ == 0
goto_if_false @CAT3_5345
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Char.IsDead(310@)
goto_if_false @CAT3_5345
Camera.SetFixedPosition(68@, 78@, 88@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(98@, 108@, 118@, SwitchType.JumpCut)
Task.FollowPathNodesToCoord($stattreadstamina_ctr, 659.8791, -573.4293, 15.3465, 4, -2)
301@ = 7
44@ = Clock.GetGameTimer()
37@ = 7

:CAT3_5345
if 
  37@ == 7
goto_if_false @CAT3_5689
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2500
goto_if_false @CAT3_5689
if 
  302@ == 0
goto_if_false @CAT3_5689
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Char.IsDead(310@)
  not Car.IsDead(327@)
goto_if_false @CAT3_5689
Camera.DoFade(500, Fade.Out)

:CAT3_5454
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_5478
wait 0
goto @CAT3_5454

:CAT3_5478
if 
  not Car.IsDead(327@)
goto_if_false @CAT3_5580
328@ = Blip.AddForCar(327@)
Blip.SetAsFriendly(328@, True)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_5557
if 
  not Char.IsInCar($finaleB_played_first_time_round, 327@)
goto_if_false @CAT3_5557
Task.EnterCarAsPassenger($finaleB_played_first_time_round, 327@, 30000, 0)

:CAT3_5557
if 
  not Car.IsDead(334@)
goto_if_false @CAT3_5580
Car.FreezePosition(334@, True)

:CAT3_5580
Streaming.RemoveAnimation("MISC")
World.ClearArea($513, $519, $steal_contact_blip, 200.0, True)
Char.SetHeading($stattreadstamina_ctr, 332@)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.In)
Camera.DoFade(500, Fade.In)
Camera.DoFade(500, Fade.In)

:CAT3_5658
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_5682
wait 0
goto @CAT3_5658

:CAT3_5682
35@ = 1

:CAT3_5689
if 
  35@ == 1
goto_if_false @CAT3_5837
if and
  not Car.IsDead(327@)
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(334@)
goto_if_false @CAT3_5837
Text.PrintNow('CAT3_02', 5000, 1)
if 
  Char.IsInCar($stattreadstamina_ctr, 327@)
goto_if_false @CAT3_5837
Blip.Remove(328@)
Text.PrintHelp('CAT3_03')
Streaming.RequestAnimation("CAR_CHAT")

:CAT3_5796
if 
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @CAT3_5830
wait 0
goto @CAT3_5796

:CAT3_5830
35@ = 2

:CAT3_5837
if 
  35@ == 2
goto_if_false @CAT3_6665
if and
  not Car.IsDead(327@)
  not Car.IsDead(334@)
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_6665
if 
  Char.LocateInCarCar3D($stattreadstamina_ctr, 334@, 15.0, 15.0, 15.0, False)
goto_if_false @CAT3_5958
if 
  38@ == 0
goto_if_false @CAT3_5958
Text.PrintHelp('CAT3_12')
44@ = Clock.GetGameTimer()
38@ = 1

:CAT3_5958
if 
  38@ == 1
goto_if_false @CAT3_6034
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 8000
goto_if_false @CAT3_6034
Text.PrintHelp('CAT3_13')
38@ = 2

:CAT3_6034
if 
  39@ == 0
goto_if_false @CAT3_6117
if 
  Trailer.IsAttachedToCab(334@, 327@)
goto_if_false @CAT3_6117
if 
  not Car.IsDead(334@)
goto_if_false @CAT3_6094
Car.FreezePosition(334@, False)

:CAT3_6094
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
44@ = Clock.GetGameTimer()
Blip.Remove(335@)
Text.ClearHelp
39@ = 1

:CAT3_6117
if 
  39@ == 1
goto_if_false @CAT3_6665
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 1500
goto_if_false @CAT3_6665
Text.ClearPrints
Car.LockDoors(327@, CarLock.LockedPlayerInside)
Camera.DoFade(150, Fade.Out)

:CAT3_6191
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_6215
wait 0
goto @CAT3_6191

:CAT3_6215
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Text.ClearPrints
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @CAT3_6247
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:CAT3_6247
if 
  not Car.IsDead(327@)
goto_if_false @CAT3_6270
Car.LockDoors(327@, CarLock.Unlocked)

:CAT3_6270
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Car.IsDead(327@)
goto_if_false @CAT3_6417
if 
  not Char.IsInCar($finaleB_played_first_time_round, 327@)
goto_if_false @CAT3_6377
Char.RemoveFromGroup($finaleB_played_first_time_round)
Blip.Remove(309@)
Blip.Remove(41@)
41@ = Blip.AddForCoord(50@, 51@, 52@)
Hud.ClearCounter($game_timer2_cat4)
Hud.DisplayCounterWithString($game_timer2_cat4, CounterDisplay.Bar, 'CAT3_11')
Char.WarpIntoCarAsPassenger($finaleB_played_first_time_round, 327@, 0)
goto @CAT3_6417

:CAT3_6377
Blip.Remove(41@)
41@ = Blip.AddForCoord(50@, 51@, 52@)
Hud.ClearCounter($game_timer2_cat4)
Hud.DisplayCounterWithString($game_timer2_cat4, CounterDisplay.Bar, 'CAT3_11')

:CAT3_6417
if 
  not Car.IsDead(334@)
goto_if_false @CAT3_6448
Car.SetProofs(334@, False, False, False, False, False)

:CAT3_6448
Streaming.RequestCarRecording(188)

:CAT3_6453
if 
  not Streaming.HasCarRecordingBeenLoaded(188)
goto_if_false @CAT3_6480
wait 0
goto @CAT3_6453

:CAT3_6480
if and
  not Car.IsDead(340@)
  not Char.IsDead(310@)
  not Char.IsDead(311@)
  not Char.IsDead($finaleB_played_first_time_round)
  not Car.IsDead(327@)
goto_if_false @CAT3_6665
Car.FreezePosition(340@, False)
World.ClearArea(658.6589, -567.5756, 15.3465, 25.0, True)
Car.SetCoordinates(340@, 658.6589, -567.5756, 15.3465)
Car.SetHeading(340@, 180.0)
Char.WarpIntoCar(311@, 340@)
Char.WarpIntoCarAsPassenger(310@, 340@, 0)
Camera.SetFixedPosition(651.9285, -575.1257, 16.2766, 0.0, 0.0, 0.0)
Camera.PointAtPoint(652.3163, -576.027, 16.4698, SwitchType.JumpCut)
44@ = Clock.GetGameTimer()
37@ = 1
35@ = 3

:CAT3_6665
if 
  35@ == 3
goto_if_false @CAT3_7817
if and
  not Char.IsDead(310@)
  not Char.IsDead(311@)
  not Car.IsDead(340@)
  not Car.IsDead(327@)
goto_if_false @CAT3_7817
if 
  4 > 37@
goto_if_false @CAT3_6804
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 1000
goto_if_false @CAT3_6804
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CAT3_6804
44@ -= 5000
37@ = 4

:CAT3_6804
if 
  37@ == 1
goto_if_false @CAT3_6930
if 
  not Car.IsDead(340@)
goto_if_false @CAT3_6930
Camera.DoFade(150, Fade.In)

:CAT3_6845
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_6869
wait 0
goto @CAT3_6845

:CAT3_6869
if 
  not Car.IsDead(340@)
goto_if_false @CAT3_6893
Car.StartPlayback(340@, 188)

:CAT3_6893
if 
  302@ == 0
goto_if_false @CAT3_6918
301@ = 13

:CAT3_6918
44@ = Clock.GetGameTimer()
37@ = 2

:CAT3_6930
if 
  37@ == 2
goto_if_false @CAT3_7402
if 
  not Car.IsDead(340@)
goto_if_false @CAT3_7163
if 
  Car.IsPlaybackGoingOn(340@)
goto_if_false @CAT3_7163
62@, 63@, 64@ = Car.GetOffsetInWorldCoords(340@, 0.0, 5.5, 0.0)
set_lvar_float_to_lvar_float 56@ = 62@
56@ -= 0.25
set_lvar_float_to_lvar_float 57@ = 63@
57@ -= 0.25
set_lvar_float_to_lvar_float 58@ = 64@
58@ -= 0.25
set_lvar_float_to_lvar_float 59@ = 62@
59@ += 0.25
set_lvar_float_to_lvar_float 60@ = 63@
60@ += 0.25
set_lvar_float_to_lvar_float 61@ = 64@
61@ += 0.25
if 
  World.IsAreaOccupied(56@, 57@, 58@, 59@, 60@, 61@, False, True, False, False, False)
goto_if_false @CAT3_7163
Car.StopPlayback(340@)

:CAT3_7163
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_7402
if 
  302@ == 0
goto_if_false @CAT3_7402
if 
  not Char.IsDead(310@)
goto_if_false @CAT3_7279
Task.PlayAnim(310@, "CAR_SC3_BR", "CAR_CHAT", 4.0, False, False, False, False, -1)

:CAT3_7279
69@, 79@, 89@ = Car.GetOffsetInWorldCoords(340@, 0.9, 1.0, 0.5)
99@, 109@, 119@ = Car.GetOffsetInWorldCoords(340@, 0.15, 0.0, 0.3)
Camera.SetFixedPosition(69@, 79@, 89@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(99@, 109@, 119@, SwitchType.JumpCut)
Camera.SetNearClip(0.1)
301@ = 14
44@ = Clock.GetGameTimer()
37@ = 3

:CAT3_7402
if 
  37@ == 3
goto_if_false @CAT3_7540
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_7540
if 
  302@ == 0
goto_if_false @CAT3_7540
301@ = 15
Task.PlayAnim(311@, "CAR_SC4_BL", "CAR_CHAT", 2.0, True, False, False, False, 3500)
44@ = Clock.GetGameTimer()
37@ = 4

:CAT3_7540
if 
  37@ == 4
goto_if_false @CAT3_7817
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_7817
Text.ClearPrints
Camera.DoFade(150, Fade.In)

:CAT3_7613
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_7637
wait 0
goto @CAT3_7613

:CAT3_7637
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
if and
  not Car.IsDead(340@)
  not Char.IsDead(310@)
goto_if_false @CAT3_7817
if 
  Char.IsInCar(310@, 340@)
goto_if_false @CAT3_7817
if 
  not Car.IsDead(334@)
goto_if_false @CAT3_7713
Car.FreezePosition(334@, False)

:CAT3_7713
Car.SetProofs(340@, False, False, False, False, False)
Streaming.RemoveAnimation("CAR_CHAT")
StuckCarCheck.AddWithWarp(340@, 1.0, 2000, True, True, True, 2)
341@ = Blip.AddForCarOld(340@, BlipColor.Red, BlipDisplay.MarkerOnly)
128@ = 4
131@ = Clock.GetGameTimer()
if 
  302@ == 0
goto_if_false @CAT3_7810
301@ = 12

:CAT3_7810
35@ = 4

:CAT3_7817
if 
  35@ == 4
goto_if_false @CAT3_12162
if and
  not Car.IsDead(327@)
  not Car.IsDead(334@)
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_12162
if 
  302@ == 0
goto_if_false @CAT3_7938
if 
  301@ == 0
goto_if_false @CAT3_7938
if 
  37@ == 4
goto_if_false @CAT3_7938
Text.Print('CAT3_05', 5000, 1)
37@ = -4

:CAT3_7938
$game_timer2_cat4 = Car.GetHealth(334@)
if 
  $game_timer2_cat4 > 250
goto_if_false @CAT3_7994
$game_timer2_cat4 -= 250
$game_timer2_cat4 /= 100
$game_timer2_cat4 *= 10
goto @CAT3_7999

:CAT3_7994
Hud.ClearCounter($game_timer2_cat4)

:CAT3_7999
if 
  36@ == 1
goto_if_false @CAT3_10223
if and
  not Car.IsDead(340@)
  not Char.IsDead(310@)
  not Char.IsDead(311@)
goto_if_false @CAT3_10216
if 
  128@ == 0
goto_if_false @CAT3_8158
125@ = Math.RandomIntInRange(0, 6)
131@ = Clock.GetGameTimer()
128@ = 1
if 
  is_int_lvar_equal_to_int_lvar 125@ == 126@
goto_if_false @CAT3_8158
if 
  5 > 125@
goto_if_false @CAT3_8133
125@ += 1
goto @CAT3_8158

:CAT3_8133
if 
  125@ > 0
goto_if_false @CAT3_8158
125@ -= 1

:CAT3_8158
if 
  128@ == 1
goto_if_false @CAT3_9563
if 
  125@ == 0
goto_if_false @CAT3_8408
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_8408
301@ = 27
if 
  Char.IsInCar($stattreadstamina_ctr, 327@)
goto_if_false @CAT3_8345
Char.SetAccuracy(310@, 20)
Task.DriveBy(310@, $finaleB_played_first_time_round, -1, 0.0, -5.0, 0.0, 30.0, DriveByType.Ai, True, 50)
Char.SetCurrentWeapon(310@, WeaponType.MicroUzi)
Task.DriveBy($finaleB_played_first_time_round, 310@, -1, 0.0, 0.0, 0.0, 30.0, DriveByType.FixedRight, True, 90)
Char.SetCurrentWeapon($finaleB_played_first_time_round, WeaponType.Shotgun)
goto @CAT3_8388

:CAT3_8345
Char.SetAccuracy(310@, 50)
Task.DriveBy(310@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 15)

:CAT3_8388
set_lvar_int_to_lvar_int 126@ = 125@
131@ = Clock.GetGameTimer()
128@ = 2

:CAT3_8408
if 
  125@ == 1
goto_if_false @CAT3_8640
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_8640
301@ = 28
if 
  Char.IsInCar($stattreadstamina_ctr, 327@)
goto_if_false @CAT3_8577
Char.SetAccuracy(310@, 20)
Task.DriveBy(310@, $finaleB_played_first_time_round, -1, 0.0, -5.0, 0.0, 30.0, DriveByType.Ai, True, 50)
Char.SetCurrentWeapon(310@, WeaponType.MicroUzi)
Task.DriveBy($finaleB_played_first_time_round, 310@, -1, 0.0, 0.0, 0.0, 30.0, DriveByType.FixedRight, True, 90)
Char.SetCurrentWeapon($finaleB_played_first_time_round, WeaponType.Shotgun)
goto @CAT3_8620

:CAT3_8577
Char.SetAccuracy(310@, 50)
Task.DriveBy(310@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 15)

:CAT3_8620
set_lvar_int_to_lvar_int 126@ = 125@
131@ = Clock.GetGameTimer()
128@ = 2

:CAT3_8640
if 
  125@ == 2
goto_if_false @CAT3_8872
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_8872
301@ = 29
if 
  Char.IsInCar($stattreadstamina_ctr, 327@)
goto_if_false @CAT3_8809
Char.SetAccuracy(310@, 20)
Task.DriveBy(310@, $finaleB_played_first_time_round, -1, 0.0, -5.0, 0.0, 30.0, DriveByType.Ai, True, 50)
Char.SetCurrentWeapon(310@, WeaponType.MicroUzi)
Task.DriveBy($finaleB_played_first_time_round, 310@, -1, 0.0, 0.0, 0.0, 30.0, DriveByType.FixedRight, True, 90)
Char.SetCurrentWeapon($finaleB_played_first_time_round, WeaponType.Shotgun)
goto @CAT3_8852

:CAT3_8809
Char.SetAccuracy(310@, 50)
Task.DriveBy(310@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 15)

:CAT3_8852
set_lvar_int_to_lvar_int 126@ = 125@
131@ = Clock.GetGameTimer()
128@ = 2

:CAT3_8872
if 
  125@ == 3
goto_if_false @CAT3_9104
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_9104
301@ = 30
if 
  Char.IsInCar($stattreadstamina_ctr, 327@)
goto_if_false @CAT3_9041
Char.SetAccuracy(310@, 20)
Task.DriveBy(310@, $finaleB_played_first_time_round, -1, 0.0, -5.0, 0.0, 30.0, DriveByType.Ai, True, 50)
Char.SetCurrentWeapon(310@, WeaponType.MicroUzi)
Task.DriveBy($finaleB_played_first_time_round, 310@, -1, 0.0, 0.0, 0.0, 30.0, DriveByType.FixedRight, True, 90)
Char.SetCurrentWeapon($finaleB_played_first_time_round, WeaponType.Shotgun)
goto @CAT3_9084

:CAT3_9041
Char.SetAccuracy(310@, 50)
Task.DriveBy(310@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 15)

:CAT3_9084
set_lvar_int_to_lvar_int 126@ = 125@
131@ = Clock.GetGameTimer()
128@ = 2

:CAT3_9104
if 
  125@ == 4
goto_if_false @CAT3_9331
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_9331
301@ = 31
if 
  Char.IsInCar($stattreadstamina_ctr, 327@)
goto_if_false @CAT3_9273
Char.SetAccuracy(310@, 20)
Task.DriveBy(310@, $finaleB_played_first_time_round, -1, 0.0, -5.0, 0.0, 30.0, DriveByType.Ai, True, 50)
Char.SetCurrentWeapon(310@, WeaponType.MicroUzi)
Task.DriveBy($finaleB_played_first_time_round, 310@, -1, 0.0, 0.0, 0.0, 30.0, DriveByType.FixedRight, True, 90)
Char.SetCurrentWeapon($finaleB_played_first_time_round, WeaponType.Shotgun)
goto @CAT3_9316

:CAT3_9273
Char.SetAccuracy(310@, 50)
Task.DriveBy(310@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 15)

:CAT3_9316
set_lvar_int_to_lvar_int 126@ = 125@
128@ = 2

:CAT3_9331
if 
  125@ == 5
goto_if_false @CAT3_9563
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_9563
301@ = 32
if 
  Char.IsInCar($stattreadstamina_ctr, 327@)
goto_if_false @CAT3_9500
Char.SetAccuracy(310@, 20)
Task.DriveBy(310@, $finaleB_played_first_time_round, -1, 0.0, -5.0, 0.0, 30.0, DriveByType.Ai, True, 50)
Char.SetCurrentWeapon(310@, WeaponType.MicroUzi)
Task.DriveBy($finaleB_played_first_time_round, 310@, -1, 0.0, 0.0, 0.0, 30.0, DriveByType.FixedRight, True, 90)
Char.SetCurrentWeapon($finaleB_played_first_time_round, WeaponType.Shotgun)
goto @CAT3_9543

:CAT3_9500
Char.SetAccuracy(310@, 50)
Task.DriveBy(310@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 15)

:CAT3_9543
set_lvar_int_to_lvar_int 126@ = 125@
131@ = Clock.GetGameTimer()
128@ = 2

:CAT3_9563
if 
  128@ == 2
goto_if_false @CAT3_9678
125@ = Math.RandomIntInRange(6, 13)
131@ = Clock.GetGameTimer()
128@ = 3
if 
  is_int_lvar_equal_to_int_lvar 125@ == 127@
goto_if_false @CAT3_9678
if 
  12 > 125@
goto_if_false @CAT3_9653
125@ += 1
goto @CAT3_9678

:CAT3_9653
if 
  125@ > 6
goto_if_false @CAT3_9678
125@ -= 1

:CAT3_9678
if 
  128@ == 3
goto_if_false @CAT3_10151
if 
  125@ == 6
goto_if_false @CAT3_9761
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_9761
301@ = 33
128@ = 4
set_lvar_int_to_lvar_int 127@ = 125@

:CAT3_9761
if 
  125@ == 7
goto_if_false @CAT3_9826
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_9826
301@ = 34
128@ = 4
set_lvar_int_to_lvar_int 127@ = 125@

:CAT3_9826
if 
  125@ == 8
goto_if_false @CAT3_9891
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_9891
301@ = 35
128@ = 4
set_lvar_int_to_lvar_int 127@ = 125@

:CAT3_9891
if 
  125@ == 9
goto_if_false @CAT3_9956
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_9956
301@ = 36
128@ = 4
set_lvar_int_to_lvar_int 127@ = 125@

:CAT3_9956
if 
  125@ == 10
goto_if_false @CAT3_10021
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_10021
301@ = 37
128@ = 4
set_lvar_int_to_lvar_int 127@ = 125@

:CAT3_10021
if 
  125@ == 11
goto_if_false @CAT3_10086
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_10086
301@ = 38
128@ = 4
set_lvar_int_to_lvar_int 127@ = 125@

:CAT3_10086
if 
  125@ == 12
goto_if_false @CAT3_10151
if and
  302@ == 0
  301@ == 0
goto_if_false @CAT3_10151
301@ = 39
128@ = 4
set_lvar_int_to_lvar_int 127@ = 125@

:CAT3_10151
if 
  128@ == 4
goto_if_false @CAT3_10216
130@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 129@ = 130@
sub_int_lvar_from_int_lvar 129@ -= 131@
if 
  129@ > 12000
goto_if_false @CAT3_10216
128@ = 5

:CAT3_10216
goto @CAT3_10316

:CAT3_10223
if and
  not Car.IsDead(340@)
  not Char.IsDead(310@)
goto_if_false @CAT3_10316
312@ = Char.GetScriptTaskStatus(310@, 1811)
if 
  is_int_lvar_equal_to_constant 312@ == 7
goto_if_false @CAT3_10316
Char.SetAccuracy(310@, 50)
Task.DriveBy(310@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 60)

:CAT3_10316
if 
  Car.IsDead(340@)
goto_if_false @CAT3_10411
if 
  not Char.IsDead(310@)
goto_if_false @CAT3_10369
if 
  not Char.IsOnScreen(310@)
goto_if_false @CAT3_10369
Char.RemoveElegantly(310@)

:CAT3_10369
if 
  not Char.IsDead(311@)
goto_if_false @CAT3_10406
if 
  not Char.IsOnScreen(311@)
goto_if_false @CAT3_10406
Char.RemoveElegantly(311@)

:CAT3_10406
Blip.Remove(341@)

:CAT3_10411
if and
  not Char.IsDead(310@)
  not Car.IsDead(340@)
goto_if_false @CAT3_10750
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 310@, 15.0, 15.0, 15.0, False)
goto_if_false @CAT3_10506
if 
  60.0 > 321@
goto_if_false @CAT3_10499
321@ += 0.2

:CAT3_10499
goto @CAT3_10537

:CAT3_10506
if 
  321@ > 40.0
goto_if_false @CAT3_10537
321@ -= 0.1

:CAT3_10537
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 50@, 51@, 52@, 120.0, 120.0, 120.0, False)
goto_if_false @CAT3_10750
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 310@, 100.0, 100.0, 100.0, False)
goto_if_false @CAT3_10725
62@, 63@, 64@ = Car.GetOffsetInWorldCoords(334@, 0.0, -40.0, 0.0)
342@, 343@, 344@, 345@ = Path.GetNthClosestCarNodeWithHeading(62@, 63@, 64@, 1)
if 
  not Camera.IsPointOnScreen(342@, 343@, 344@, 15.0)
goto_if_false @CAT3_10718
Car.SetCoordinates(340@, 342@, 343@, 344@)
Car.SetHeading(340@, 345@)

:CAT3_10718
goto @CAT3_10750

:CAT3_10725
if 
  128@ == 5
goto_if_false @CAT3_10750
128@ = 0

:CAT3_10750
306@ = Car.GetHealth(334@)
if 
  40@ == 0
goto_if_false @CAT3_11306
if 
  not Char.IsDead(310@)
goto_if_false @CAT3_11306
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 50@, 51@, 52@, 120.0, 120.0, 120.0, False)
goto_if_false @CAT3_10936
if 
  not Char.IsDead(311@)
goto_if_false @CAT3_10929
if 
  not Car.IsDead(334@)
goto_if_false @CAT3_10929
if 
  not Car.IsDead(340@)
goto_if_false @CAT3_10929
47@ = Char.GetScriptTaskStatus(311@, 1761)
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @CAT3_10929
Task.CarMission(311@, 340@, 327@, CarMission.BlockCarFaraway, 321@, DrivingMode.AvoidCars)

:CAT3_10929
goto @CAT3_11014

:CAT3_10936
if 
  not Car.IsDead(340@)
goto_if_false @CAT3_11014
if 
  not Char.IsDead(311@)
goto_if_false @CAT3_11014
Task.CarTempAction(311@, 340@, TempAction.HandbrakeStraight, 2000)
44@ = Clock.GetGameTimer()
if 
  Car.DoesHaveStuckCarCheck(340@)
goto_if_false @CAT3_11007
StuckCarCheck.Remove(340@)

:CAT3_11007
40@ = 1

:CAT3_11014
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 310@, 30.0, 30.0, 30.0, False)
goto_if_false @CAT3_11306
if 
  not Char.IsDead(311@)
goto_if_false @CAT3_11306
if 
  not Car.IsDead(334@)
goto_if_false @CAT3_11306
if 
  not Car.IsDead(340@)
goto_if_false @CAT3_11306
$catcut_chat = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ == 5000
goto_if_false @CAT3_11306
if 
  $catcut_chat == 0
goto_if_false @CAT3_11183
Task.CarMission(311@, 340@, 327@, CarMission.EscortLeft, 321@, DrivingMode.AvoidCars)
44@ = Clock.GetGameTimer()

:CAT3_11183
if 
  $catcut_chat == 1
goto_if_false @CAT3_11224
Task.CarMission(311@, 340@, 327@, CarMission.EscortRight, 321@, DrivingMode.AvoidCars)
44@ = Clock.GetGameTimer()

:CAT3_11224
if 
  $catcut_chat == 2
goto_if_false @CAT3_11265
Task.CarMission(311@, 340@, 327@, CarMission.EscortRear, 321@, DrivingMode.AvoidCars)
44@ = Clock.GetGameTimer()

:CAT3_11265
if 
  $catcut_chat == 3
goto_if_false @CAT3_11306
Task.CarMission(311@, 340@, 327@, CarMission.EscortFront, 321@, DrivingMode.AvoidCars)
44@ = Clock.GetGameTimer()

:CAT3_11306
if and
  not Car.IsDead(327@)
  not Char.IsDead(310@)
goto_if_false @CAT3_11435
333@ = Car.GetSpeed(327@)
if 
  3.0 > 333@
goto_if_false @CAT3_11435
47@ = Char.GetScriptTaskStatus(310@, 1811)
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @CAT3_11435
Char.SetAccuracy(310@, 40)
Task.DriveBy(310@, $finaleB_played_first_time_round, -1, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 100)
Char.SetCurrentWeapon(310@, WeaponType.MicroUzi)

:CAT3_11435
if 
  not Trailer.IsAttachedToCab(334@, 327@)
goto_if_false @CAT3_11778
if 
  Char.IsInCar($finaleB_played_first_time_round, 327@)
goto_if_false @CAT3_11755
if 
  not Car.IsUpsidedown(327@)
goto_if_false @CAT3_11716
Camera.DoFade(50, Fade.Out)

:CAT3_11495
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_11519
wait 0
goto @CAT3_11495

:CAT3_11519
if 
  not Car.IsDead(327@)
goto_if_false @CAT3_11709
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Car.SetTempAction(327@, TempAction.HandbrakeStraight, 2000)
73@, 83@, 93@ = Car.GetOffsetInWorldCoords(327@, 2.5, 4.0, 0.0)
103@, 113@, 123@ = Car.GetOffsetInWorldCoords(327@, 2.2, 3.0, 0.0)
Camera.SetFixedPosition(73@, 83@, 93@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(103@, 113@, 123@, SwitchType.JumpCut)
if 
  not Car.IsDead(340@)
goto_if_false @CAT3_11690
if 
  not Car.IsOnScreen(340@)
goto_if_false @CAT3_11690
Car.Delete(340@)

:CAT3_11690
44@ = Clock.GetGameTimer()
37@ = 0
goto @CAT3_15896

:CAT3_11709
goto @CAT3_11748

:CAT3_11716
Camera.DoFade(300, Fade.In)
Text.ClearPrints
Text.PrintNow('CAT3_08', 5000, 1)
goto @CAT3_17038

:CAT3_11748
goto @CAT3_11778

:CAT3_11755
Text.PrintNow('CAT3_08', 5000, 1)
goto @CAT3_17038

:CAT3_11778
if and
  Char.IsInCar($finaleB_played_first_time_round, 327@)
  Char.IsInCar($stattreadstamina_ctr, 327@)
goto_if_false @CAT3_12162
if or
  Car.Locate3D(327@, 50@, 51@, 52@, 5.0, 5.0, 5.0, True)
  Car.Locate3D(334@, 50@, 51@, 52@, 5.0, 5.0, 5.0, False)
goto_if_false @CAT3_12162
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:CAT3_11892
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_11916
wait 0
goto @CAT3_11892

:CAT3_11916
gosub @CAT3_1109
Streaming.LoadScene(-76.1314, -1131.417, 0.0782)
Hud.SwitchWidescreen(True)
Blip.Remove(41@)
Text.ClearPrints
Streaming.RequestCarRecording(199)

:CAT3_11956
if 
  not Streaming.HasCarRecordingBeenLoaded(199)
goto_if_false @CAT3_11983
wait 0
goto @CAT3_11956

:CAT3_11983
Camera.SetFixedPosition(-81.2678, -1141.735, 3.899, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-81.7168, -1140.842, 3.8854, SwitchType.JumpCut)
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(327@)
goto_if_false @CAT3_12134
Car.FreezePosition(327@, True)
Car.LockDoors(327@, CarLock.LockoutPlayerOnly)
Char.WarpFromCarToCoord($finaleB_played_first_time_round, -71.5991, -1134.952, 0.0781)
Char.SetHeading($finaleB_played_first_time_round, 63.1513)
Char.WarpFromCarToCoord($stattreadstamina_ctr, -74.2582, -1130.526, 0.0781)
Char.SetHeading($stattreadstamina_ctr, 135.9294)

:CAT3_12134
gosub @CAT3_576
Text.ClearPrints
44@ = Clock.GetGameTimer()
37@ = -4
35@ = 5

:CAT3_12162
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @CAT3_12463
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:CAT3_12191
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_12215
wait 0
goto @CAT3_12191

:CAT3_12215
gosub @CAT3_1109
Streaming.LoadScene(-76.1314, -1131.417, 0.0782)
Hud.SwitchWidescreen(True)
Blip.Remove(41@)
Text.ClearPrints
Streaming.RequestCarRecording(199)

:CAT3_12255
if 
  not Streaming.HasCarRecordingBeenLoaded(199)
goto_if_false @CAT3_12282
wait 0
goto @CAT3_12255

:CAT3_12282
Camera.SetFixedPosition(-81.2678, -1141.735, 3.899, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-81.7168, -1140.842, 3.8854, SwitchType.JumpCut)
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(327@)
goto_if_false @CAT3_12433
Car.SetCoordinates(327@, 50@, 51@, 52@)
Char.WarpFromCarToCoord($finaleB_played_first_time_round, -71.5991, -1134.952, 0.0781)
Char.SetHeading($finaleB_played_first_time_round, 63.1513)
Char.WarpFromCarToCoord($stattreadstamina_ctr, -74.2582, -1130.526, 0.0781)
Char.SetHeading($stattreadstamina_ctr, 135.9294)

:CAT3_12433
gosub @CAT3_576
Text.ClearHelp
Text.ClearPrints
44@ = Clock.GetGameTimer()
37@ = -4
35@ = 5

:CAT3_12463
if 
  35@ == 5
goto_if_false @CAT3_15180
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Char.IsDead(322@)
  not Car.IsDead(327@)
goto_if_false @CAT3_15180
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT3_12531
Char.RemoveFromGroup($finaleB_played_first_time_round)

:CAT3_12531
if 
  37@ == -4
goto_if_false @CAT3_12645
if 
  not Car.IsDead(340@)
goto_if_false @CAT3_12638
Car.SetProofs(340@, False, False, False, False, False)
Car.StartPlayback(340@, 199)
44@ = Clock.GetGameTimer()
Camera.DoFade(250, Fade.In)

:CAT3_12600
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_12624
wait 0
goto @CAT3_12600

:CAT3_12624
37@ = -3
goto @CAT3_12645

:CAT3_12638
37@ = -1

:CAT3_12645
if 
  37@ == -3
goto_if_false @CAT3_12784
if 
  not Car.IsDead(340@)
goto_if_false @CAT3_12784
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_12784
Camera.SetFixedPosition(-107.3115, -1128.808, 2.6543, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-106.788, -1129.652, 2.7731, SwitchType.JumpCut)
Car.SetHealth(340@, 5)
37@ = -21

:CAT3_12784
if 
  37@ == -21
goto_if_false @CAT3_12921
if 
  not Car.IsDead(340@)
goto_if_false @CAT3_12921
if 
  not Car.IsPlaybackGoingOn(340@)
goto_if_false @CAT3_12921
Camera.SetFixedPosition(-108.8537, -1168.342, 3.0287, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-108.0611, -1167.736, 3.0908, SwitchType.JumpCut)
Fx.AddExplosion(-92.24, -1161.46, 2.5, ExplosionType.Car)
Car.ExplodeInCutscene(340@)
44@ = Clock.GetGameTimer()
37@ = -22

:CAT3_12921
if 
  37@ == -22
goto_if_false @CAT3_13001
if 
  42@ > 1000
goto_if_false @CAT3_13001
if 
  not Car.IsDead(346@)
goto_if_false @CAT3_13001
Car.SetProofs(346@, False, False, False, False, False)
Car.ExplodeInCutscene(346@)
37@ = -2

:CAT3_13001
if 
  37@ == -2
goto_if_false @CAT3_13097
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 3000
goto_if_false @CAT3_13097
Camera.DoFade(500, Fade.Out)

:CAT3_13066
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_13090
wait 0
goto @CAT3_13066

:CAT3_13090
37@ = -1

:CAT3_13097
if 
  37@ == -1
goto_if_false @CAT3_13256
Camera.SetFixedPosition(70@, 80@, 90@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(100@, 110@, 120@, SwitchType.JumpCut)
if and
  not Char.IsDead(310@)
  not Char.IsDead(311@)
  not Car.IsDead(340@)
goto_if_false @CAT3_13195
Char.Delete(310@)
Char.Delete(311@)
Car.Delete(340@)

:CAT3_13195
Streaming.LoadSceneInDirection(70@, 80@, 90@, 100.0)
Text.ClearPrints
44@ = Clock.GetGameTimer()
Camera.DoFade(500, Fade.In)

:CAT3_13225
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_13249
wait 0
goto @CAT3_13225

:CAT3_13249
37@ = 0

:CAT3_13256
if 
  37@ == 0
goto_if_false @CAT3_13429
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 300
goto_if_false @CAT3_13429
if 
  302@ == 0
goto_if_false @CAT3_13429
if and
  not Char.IsDead($finaleB_played_first_time_round)
  not Char.IsDead(322@)
goto_if_false @CAT3_13429
48@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, 322@)
Task.GoStraightToCoord(-1, -74.8954, -1133.779, 0.0781, MoveState.Walk, -1)
Task.LookAtChar(-1, 322@, -2)
Sequence.Close(48@)
Char.PerformSequence($finaleB_played_first_time_round, 48@)
301@ = 43
44@ = Clock.GetGameTimer()
37@ = 1

:CAT3_13429
if 
  37@ == 1
goto_if_false @CAT3_13675
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_13675
if 
  302@ == 0
goto_if_false @CAT3_13675
Camera.DoFade(50, Fade.Out)

:CAT3_13511
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_13535
wait 0
goto @CAT3_13511

:CAT3_13535
if and
  not Char.IsDead(322@)
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_13571
Task.LookAtChar(322@, $finaleB_played_first_time_round, -2)
Task.ScratchHead(322@)

:CAT3_13571
301@ = 44
44@ = Clock.GetGameTimer()
Streaming.LoadSceneInDirection(71@, 81@, 91@, 270.0)
Camera.SetFixedPosition(71@, 81@, 91@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(101@, 111@, 121@, SwitchType.JumpCut)
Camera.DoFade(50, Fade.In)

:CAT3_13644
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_13668
wait 0
goto @CAT3_13644

:CAT3_13668
37@ = 2

:CAT3_13675
if 
  37@ == 2
goto_if_false @CAT3_13873
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_13873
if 
  302@ == 0
goto_if_false @CAT3_13873
if and
  not Car.IsDead(327@)
  not Char.IsDead(322@)
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_13873
Char.ClearLookAt(322@)
Task.TurnCharToFaceCoord($finaleB_played_first_time_round, 50@, 51@, 52@)
Task.TurnCharToFaceCoord(322@, 50@, 51@, 52@)
Task.LookAtVehicle($finaleB_played_first_time_round, 327@, -2)
Task.LookAtVehicle(322@, 327@, -2)
Task.GoStraightToCoord(322@, -75.1023, -1134.871, 0.0781, MoveState.Walk, -1)
301@ = 45
44@ = Clock.GetGameTimer()
37@ = 3

:CAT3_13873
if 
  37@ == 3
goto_if_false @CAT3_14064
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_14064
if 
  302@ == 0
goto_if_false @CAT3_14064
if 
  not Char.IsDead(322@)
goto_if_false @CAT3_14045
Camera.SetFixedPosition(72@, 82@, 92@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(102@, 112@, 122@, SwitchType.JumpCut)
Task.TurnCharToFaceChar(322@, $finaleB_played_first_time_round)
Task.LookAtChar(322@, $finaleB_played_first_time_round, -2)
Task.ScratchHead(322@)
Task.TurnCharToFaceChar($finaleB_played_first_time_round, 322@)
Task.LookAtChar($finaleB_played_first_time_round, 322@, -2)

:CAT3_14045
301@ = 46
44@ = Clock.GetGameTimer()
37@ = 4

:CAT3_14064
if 
  37@ == 4
goto_if_false @CAT3_14159
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_14159
if 
  302@ == 0
goto_if_false @CAT3_14159
301@ = 47
44@ = Clock.GetGameTimer()
37@ = 5

:CAT3_14159
if 
  37@ == 5
goto_if_false @CAT3_14299
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_14299
if 
  302@ == 0
goto_if_false @CAT3_14299
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_14299
Char.ClearLookAt($finaleB_played_first_time_round)
Task.GoStraightToCoord($finaleB_played_first_time_round, -83.1314, -1129.417, 0.0782, MoveState.Walk, -1)
301@ = 48
44@ = Clock.GetGameTimer()
37@ = 6

:CAT3_14299
if 
  37@ == 6
goto_if_false @CAT3_14451
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_14451
if 
  302@ == 0
goto_if_false @CAT3_14451
if 
  not Char.IsDead(322@)
goto_if_false @CAT3_14451
Char.ClearLookAt(322@)
Task.TurnCharToFaceChar(322@, $stattreadstamina_ctr)
wait 100
Task.GoStraightToCoord($stattreadstamina_ctr, -84.1314, -1128.417, 0.0782, MoveState.Walk, -1)
301@ = 51
44@ = Clock.GetGameTimer()
37@ = 7

:CAT3_14451
if 
  37@ == 7
goto_if_false @CAT3_14546
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 2000
goto_if_false @CAT3_14546
if 
  302@ == 0
goto_if_false @CAT3_14546
301@ = 52
44@ = Clock.GetGameTimer()
37@ = 8

:CAT3_14546
if 
  37@ == 8
goto_if_false @CAT3_14749
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 3000
goto_if_false @CAT3_14749
Camera.DoFade(100, Fade.Out)

:CAT3_14610
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_14634
wait 0
goto @CAT3_14610

:CAT3_14634
44@ = Clock.GetGameTimer()
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_14679
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT3_14679
Char.RemoveFromGroup($finaleB_played_first_time_round)

:CAT3_14679
gosub @CAT3_1241
Char.ClearTasks($stattreadstamina_ctr)
Camera.SetFixedPosition(-86.1477, -1130.445, 0.9157, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-86.5058, -1129.52, 1.0417, SwitchType.JumpCut)
37@ = 9

:CAT3_14749
if 
  37@ == 9
goto_if_false @CAT3_14829
Camera.DoFade(100, Fade.In)

:CAT3_14773
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_14797
wait 0
goto @CAT3_14773

:CAT3_14797
if 
  302@ == 0
goto_if_false @CAT3_14829
301@ = 55
37@ = 10

:CAT3_14829
if 
  37@ == 10
goto_if_false @CAT3_14922
if 
  301@ == 0
goto_if_false @CAT3_14922
if and
  not Car.IsDead(352@)
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_14922
if 
  not Car.IsPlaybackGoingOn(352@)
goto_if_false @CAT3_14922
Char.ClearLookAt($finaleB_played_first_time_round)
Car.StartPlayback(352@, 189)
37@ = 11

:CAT3_14922
if 
  37@ == 11
goto_if_false @CAT3_15035
if 
  not Car.IsDead(352@)
goto_if_false @CAT3_15035
if 
  not Car.IsPlaybackGoingOn(352@)
goto_if_false @CAT3_15035
Camera.DoFade(500, Fade.Out)

:CAT3_14979
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_15003
wait 0
goto @CAT3_14979

:CAT3_15003
Char.ClearTasks($stattreadstamina_ctr)
Char.Delete($finaleB_played_first_time_round)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
goto @CAT3_17056

:CAT3_15035
if 
  37@ > 0
goto_if_false @CAT3_15180
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CAT3_15180
Camera.DoFade(500, Fade.Out)

:CAT3_15077
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_15101
wait 0
goto @CAT3_15077

:CAT3_15101
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_15148
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT3_15148
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)

:CAT3_15148
Char.ClearTasks($stattreadstamina_ctr)
Char.Delete($finaleB_played_first_time_round)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
goto @CAT3_17056

:CAT3_15180
if and
  35@ > 0
  5 > 35@
goto_if_false @CAT3_15212
gosub @CAT3_18178

:CAT3_15212
if and
  35@ > 1
  5 > 35@
goto_if_false @CAT3_15725
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(327@)
goto_if_false @CAT3_15725
if 
  36@ == 0
goto_if_false @CAT3_15513
if 
  49@ == 1
goto_if_false @CAT3_15513
if and
  35@ <> 1
  35@ <> 3
goto_if_false @CAT3_15334
Text.PrintNow('CAT3_10', 100, 1)

:CAT3_15334
if 
  Char.IsInCar($stattreadstamina_ctr, 327@)
goto_if_false @CAT3_15513
if and
  35@ <> 1
  35@ <> 3
goto_if_false @CAT3_15380
Text.ClearPrints

:CAT3_15380
Blip.Remove(328@)
if 
  35@ == 2
goto_if_false @CAT3_15434
if 
  not Car.IsDead(334@)
goto_if_false @CAT3_15434
335@ = Blip.AddForCar(334@)
Blip.SetAsFriendly(335@, True)

:CAT3_15434
if or
  35@ == 3
  35@ == 4
goto_if_false @CAT3_15506
Blip.Remove(41@)
41@ = Blip.AddForCoord(50@, 51@, 52@)
Blip.SetAsFriendly(41@, True)
Hud.ClearCounter($game_timer2_cat4)
Hud.DisplayCounterWithString($game_timer2_cat4, CounterDisplay.Bar, 'CAT3_11')

:CAT3_15506
36@ = 1

:CAT3_15513
if 
  36@ == 1
goto_if_false @CAT3_15725
if 
  not Char.IsInCar($stattreadstamina_ctr, 327@)
goto_if_false @CAT3_15725
if 
  49@ == 1
goto_if_false @CAT3_15583
328@ = Blip.AddForCar(327@)
Blip.SetAsFriendly(328@, True)

:CAT3_15583
if 
  35@ == 2
goto_if_false @CAT3_15606
Blip.Remove(335@)

:CAT3_15606
if or
  35@ == 3
  35@ == 4
goto_if_false @CAT3_15641
Blip.Remove(41@)
Hud.ClearCounter($game_timer2_cat4)

:CAT3_15641
if 
  35@ == 4
goto_if_false @CAT3_15718
if 
  not Char.IsDead(310@)
goto_if_false @CAT3_15718
Char.SetAccuracy(310@, 50)
Task.DriveBy(310@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 150.0, DriveByType.Ai, True, 60)

:CAT3_15718
36@ = 0

:CAT3_15725
if or
  Char.IsDead($finaleB_played_first_time_round)
  Char.IsInWater($finaleB_played_first_time_round)
goto_if_false @CAT3_15771
Text.ClearPrints
Text.PrintNow('CAT3_06', 10000, 1)
goto @CAT3_17038

:CAT3_15771
if 
  5 > 35@
goto_if_false @CAT3_15830
if 
  Car.IsDead(334@)
goto_if_false @CAT3_15830
Text.ClearPrints
Text.PrintNow('CAT3_07', 5000, 1)
goto @CAT3_17038

:CAT3_15830
if 
  5 > 35@
goto_if_false @CAT3_15889
if 
  Car.IsDead(327@)
goto_if_false @CAT3_15889
Text.ClearPrints
Text.PrintNow('CAT3_09', 5000, 1)
goto @CAT3_17038

:CAT3_15889
goto @CAT3_3686

:CAT3_15896
wait 0
if 
  301@ <> 0
goto_if_false @CAT3_16327
if 
  302@ == 0
goto_if_false @CAT3_15964
if 
  Audio.HasMissionAudioLoaded(304@)
goto_if_false @CAT3_15957
Audio.ClearMissionAudio(304@)

:CAT3_15957
302@ = 1

:CAT3_15964
if 
  302@ == 1
goto_if_false @CAT3_16008
Audio.LoadMissionAudio(303@, 245@(301@,56i))
gosub @CAT3_17442
302@ = 2

:CAT3_16008
if 
  302@ == 2
goto_if_false @CAT3_16110
if 
  Audio.HasMissionAudioLoaded(303@)
goto_if_false @CAT3_16110
if 
  244@ <> 0
goto_if_false @CAT3_16084
if 
  not Char.IsDead(244@)
goto_if_false @CAT3_16084
Char.StartFacialTalk(244@, 10000)

:CAT3_16084
Audio.PlayMissionAudio(303@)
Text.PrintNow(132@(301@,56s), 10000, 1)
302@ = 3

:CAT3_16110
if 
  302@ == 3
goto_if_false @CAT3_16327
if 
  Audio.HasMissionAudioFinished(303@)
goto_if_false @CAT3_16266
Text.ClearThisPrint(132@(301@,56s))
if 
  244@ <> 0
goto_if_false @CAT3_16192
if 
  not Char.IsDead(244@)
goto_if_false @CAT3_16192
Char.StopFacialTalk(244@)

:CAT3_16192
if 
  303@ == 1
goto_if_false @CAT3_16231
303@ = 2
304@ = 1
goto @CAT3_16245

:CAT3_16231
303@ = 1
304@ = 2

:CAT3_16245
301@ = 0
302@ = 0
goto @CAT3_16327

:CAT3_16266
if 
  not Audio.HasMissionAudioLoaded(304@)
goto_if_false @CAT3_16327
if 
  54 > 301@
goto_if_false @CAT3_16327
set_lvar_int_to_lvar_int 305@ = 301@
305@ += 1
Audio.LoadMissionAudio(304@, 245@(305@,56i))

:CAT3_16327
if 
  37@ == 0
goto_if_false @CAT3_16462
Camera.DoFade(50, Fade.In)

:CAT3_16351
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_16375
wait 0
goto @CAT3_16351

:CAT3_16375
301@ = 53
44@ = Clock.GetGameTimer()
if and
  not Car.IsDead(327@)
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_16462
Camera.AttachToVehicle(327@, 1.0, 8.0, 1.5, 0.0, 0.0, 1.0, 0.0, SwitchType.JumpCut)
Hud.ClearCounter($game_timer2_cat4)
37@ = 1

:CAT3_16462
if 
  37@ == 1
goto_if_false @CAT3_16657
if and
  not Car.IsDead(327@)
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_16657
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 1000
goto_if_false @CAT3_16657
if 
  302@ == 0
goto_if_false @CAT3_16657
301@ = 54
Camera.AttachToVehicle(327@, 1.0, 8.0, 1.5, 0.0, 0.0, 1.0, 0.0, SwitchType.JumpCut)
73@, 83@, 93@ = Car.GetOffsetInWorldCoords(327@, 4.5, 10.0, 0.0)
Task.LeaveCar($finaleB_played_first_time_round, 327@)
44@ = Clock.GetGameTimer()
37@ = 2

:CAT3_16657
if 
  37@ == 2
goto_if_false @CAT3_16904
if 
  302@ == 0
goto_if_false @CAT3_16904
43@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 43@
sub_int_lvar_from_int_lvar 42@ -= 44@
if 
  42@ > 1000
goto_if_false @CAT3_16904
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_16904
if 
  not Car.IsDead(327@)
goto_if_false @CAT3_16904
if 
  not Char.IsInCar($finaleB_played_first_time_round, 327@)
goto_if_false @CAT3_16904
Task.GoStraightToCoord($finaleB_played_first_time_round, 73@, 83@, 93@, MoveState.Walk, -1)
if 
  302@ == 0
goto_if_false @CAT3_16904
Camera.DoFade(50, Fade.Out)

:CAT3_16826
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_16850
wait 0
goto @CAT3_16826

:CAT3_16850
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_16904
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT3_16904
Char.RemoveFromGroup($finaleB_played_first_time_round)
Char.Delete($finaleB_played_first_time_round)
Text.ClearPrints
37@ = 3

:CAT3_16904
if 
  3 > 37@
goto_if_false @CAT3_16945
if 
  Car.IsInWater(327@)
goto_if_false @CAT3_16945
37@ = 3

:CAT3_16945
if 
  37@ == 3
goto_if_false @CAT3_17031
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Camera.DoFade(50, Fade.In)

:CAT3_16977
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_17001
wait 0
goto @CAT3_16977

:CAT3_17001
Text.PrintNow('CAT3_08', 5000, 1)
Player.SetControl($statbike_temp, True)
goto @CAT3_17038

:CAT3_17031
goto @CAT3_15896

:CAT3_17038
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:CAT3_17056
$distance += 1
if and
  not Car.IsDead(327@)
  not Car.IsDead(334@)
goto_if_false @CAT3_17101
Car.FreezePosition(327@, False)
Car.Delete(327@)
Car.Delete(334@)

:CAT3_17101
start_new_script @TRUCKS 
if 
  $pimpY == 1
goto_if_false @CAT3_17134
$pimpY = 2

:CAT3_17134
if 
  $pimpX == 1
goto_if_false @CAT3_17159
$pimpX = 2

:CAT3_17159
Blip.Remove($flag_dont_start_shooting_range)
$flag_dont_start_shooting_range = Blip.AddShortRangeSpriteForContactPoint($danceY, $danceZ, $kill2pX, RadarSprite.Truck)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('CAT_3')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASS', 34@, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 34@)
Player.ClearWantedLevel($statbike_temp)
$main_visible_area_char = 1
return 

:CAT3_17240
Blip.Remove(328@)
Blip.Remove(335@)
Blip.Remove(341@)
Blip.Remove(41@)
Blip.Remove(309@)
Hud.ClearCounter($game_timer2_cat4)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Char.Delete(322@)
Car.Delete(352@)
Streaming.MarkModelAsNoLongerNeeded(41)
Streaming.MarkModelAsNoLongerNeeded(95)
Streaming.MarkModelAsNoLongerNeeded(67)
Streaming.MarkModelAsNoLongerNeeded(514)
Streaming.MarkModelAsNoLongerNeeded(584)
Streaming.MarkModelAsNoLongerNeeded(475)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(15)
Streaming.MarkModelAsNoLongerNeeded(543)
Streaming.MarkModelAsNoLongerNeeded(468)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_17356
Char.RemoveElegantly($finaleB_played_first_time_round)

:CAT3_17356
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveAnimation("CAR_CHAT")
Streaming.RemoveAnimation("MISC")
Streaming.RemoveCarRecording(188)
Streaming.RemoveCarRecording(189)
Streaming.RemoveCarRecording(199)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Camera.DoFade(500, Fade.In)

:CAT3_17414
if 
  Camera.GetFadingStatus
goto_if_false @CAT3_17438
wait 0
goto @CAT3_17414

:CAT3_17438
Mission.Finish
return 

:CAT3_17442
if or
  301@ == 1
  301@ == 5
  301@ == 6
  301@ == 8
  301@ == 11
  301@ == 12
goto_if_false @CAT3_17503
set_lvar_int_to_var_int 244@ = $finaleB_played_first_time_round

:CAT3_17503
if or
  301@ == 16
  301@ == 20
  301@ == 21
  301@ == 22
  301@ == 23
  301@ == 24
goto_if_false @CAT3_17564
set_lvar_int_to_var_int 244@ = $finaleB_played_first_time_round

:CAT3_17564
if or
  301@ == 25
  301@ == 26
  301@ == 40
  301@ == 41
  301@ == 42
  301@ == 43
goto_if_false @CAT3_17625
set_lvar_int_to_var_int 244@ = $finaleB_played_first_time_round

:CAT3_17625
if or
  301@ == 45
  301@ == 47
goto_if_false @CAT3_17658
set_lvar_int_to_var_int 244@ = $finaleB_played_first_time_round

:CAT3_17658
if or
  301@ == 2
  301@ == 3
  301@ == 7
  301@ == 10
  301@ == 13
  301@ == 14
goto_if_false @CAT3_17719
set_lvar_int_to_lvar_int 244@ = 310@

:CAT3_17719
if or
  301@ == 17
  301@ == 18
goto_if_false @CAT3_17752
set_lvar_int_to_lvar_int 244@ = 310@

:CAT3_17752
if or
  301@ == 27
  301@ == 28
  301@ == 29
  301@ == 30
goto_if_false @CAT3_17798
244@ = 0

:CAT3_17798
if or
  301@ == 31
  301@ == 32
  301@ == 15
goto_if_false @CAT3_17837
244@ = 0

:CAT3_17837
if or
  301@ == 4
  301@ == 19
goto_if_false @CAT3_17870
set_lvar_int_to_lvar_int 244@ = 311@

:CAT3_17870
if or
  301@ == 33
  301@ == 34
  301@ == 35
goto_if_false @CAT3_17909
244@ = 0

:CAT3_17909
if or
  301@ == 36
  301@ == 37
  301@ == 38
  301@ == 39
goto_if_false @CAT3_17955
244@ = 0

:CAT3_17955
if or
  301@ == 44
  301@ == 46
  301@ == 48
  301@ == 49
  301@ == 50
  301@ == 51
goto_if_false @CAT3_18016
set_lvar_int_to_lvar_int 244@ = 322@

:CAT3_18016
if 
  301@ == 52
goto_if_false @CAT3_18042
set_lvar_int_to_lvar_int 244@ = 322@

:CAT3_18042
if 
  301@ == 9
goto_if_false @CAT3_18068
set_lvar_int_to_var_int 244@ = $stattreadstamina_ctr

:CAT3_18068
return 
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CAT3_18176
if 
  36@ == 0
goto_if_false @CAT3_18135
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT3_18135
308@ = Char.StoreCarIsIn($stattreadstamina_ctr)
36@ = 1

:CAT3_18135
if 
  36@ == 1
goto_if_false @CAT3_18176
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT3_18176
36@ = 0

:CAT3_18176
return 

:CAT3_18178
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT3_18815
if 
  49@ == 0
goto_if_false @CAT3_18618
if and
  35@ > 1
  5 > 35@
goto_if_false @CAT3_18618
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT3_18618
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $finaleB_played_first_time_round, 8.0, 8.0, 8.0, False)
goto_if_false @CAT3_18618
if 
  35@ == 2
goto_if_false @CAT3_18423
if 
  36@ == 1
goto_if_false @CAT3_18369
if 
  not Car.IsDead(334@)
goto_if_false @CAT3_18369
Blip.Remove(335@)
335@ = Blip.AddForCar(334@)
Blip.SetAsFriendly(335@, True)

:CAT3_18369
if 
  36@ == 0
goto_if_false @CAT3_18423
if 
  not Car.IsDead(327@)
goto_if_false @CAT3_18423
Blip.Remove(328@)
328@ = Blip.AddForCar(327@)
Blip.SetAsFriendly(328@, True)

:CAT3_18423
if 
  35@ == 4
goto_if_false @CAT3_18567
if 
  36@ == 1
goto_if_false @CAT3_18506
128@ = 4
Blip.Remove(41@)
41@ = Blip.AddForCoord(50@, 51@, 52@)
Hud.ClearCounter($game_timer2_cat4)
Hud.DisplayCounterWithString($game_timer2_cat4, CounterDisplay.Bar, 'CAT3_11')

:CAT3_18506
if 
  36@ == 0
goto_if_false @CAT3_18567
if 
  not Car.IsDead(327@)
goto_if_false @CAT3_18567
128@ = 4
Blip.Remove(328@)
328@ = Blip.AddForCar(327@)
Blip.SetAsFriendly(328@, True)

:CAT3_18567
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Blip.Remove(309@)
if and
  35@ <> 1
  35@ <> 3
goto_if_false @CAT3_18611
Text.ClearPrints

:CAT3_18611
49@ = 1

:CAT3_18618
if 
  49@ == 1
goto_if_false @CAT3_18815
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT3_18815
if 
  35@ == 2
goto_if_false @CAT3_18701
Blip.Remove(335@)
if 
  36@ == 0
goto_if_false @CAT3_18701
Blip.Remove(328@)

:CAT3_18701
if 
  35@ == 4
goto_if_false @CAT3_18759
Hud.ClearCounter($game_timer2_cat4)
Blip.Remove(41@)
128@ = 10
if 
  36@ == 0
goto_if_false @CAT3_18759
Blip.Remove(328@)

:CAT3_18759
309@ = Blip.AddForChar($finaleB_played_first_time_round)
Blip.SetAsFriendly(309@, True)
if 
  35@ <> 3
goto_if_false @CAT3_18808
Text.PrintNow('CAT3_01', 5000, 1)

:CAT3_18808
49@ = 0

:CAT3_18815
return 

//-------------Mission 44---------------
// Originally: Against All Odds

:CAT4
script_name 'CAT4'
gosub @CAT4_47
if 
  has_deatharrest_been_executed 
goto_if_false @CAT4_38
gosub @CAT4_18320

:CAT4_38
gosub @CAT4_18449
terminate_this_script 

:CAT4_47
$weapon_shop1_blip = 1
World.SwitchEntryExit('GENOTB', False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CAT4_90
Player.SetControl($statbike_temp, False)

:CAT4_90
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)
Hud.SwitchWidescreen(True)

:CAT4_109
if 
  Camera.GetFadingStatus
goto_if_false @CAT4_133
wait 0
goto @CAT4_109

:CAT4_133
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CAT4_161
Char.SetHeading($stattreadstamina_ctr, 64.0)
Camera.SetBehindPlayer

:CAT4_161
111@ = Game.FindMaxNumberOfGroupMembers()
111@ -= 1
if 
  0 >= 111@
goto_if_false @CAT4_202
Game.SetScriptLimitToGangSize(1)
goto @CAT4_207

:CAT4_202
Game.SetScriptLimitToGangSize(111@)

:CAT4_207
Game.MakeRoomInPlayerGangForMissionPeds(1)
Streaming.RequestModel(348)
Streaming.RequestModel(364)
Streaming.RequestModel(363)
Streaming.RequestModel(#RIDER1_DOOR)
Streaming.RequestModel(#KEV_SAFE)
Streaming.RequestModel(#MAN_SAFENEW)
Streaming.RequestAnimation("MISC")

:CAT4_249
if or
  not Streaming.HasModelLoaded(363)
  not Streaming.HasModelLoaded(364)
goto_if_false @CAT4_281
wait 0
goto @CAT4_249

:CAT4_281
Text.LoadMissionText('CAT')
107@ = 1
88@ = 1
89@ = 0
90@ = 0
91@ = 0
96@ = 0
$6994 = 0
99@ = 0
$flag_dozer_passed_1stime = 0
92@ = 0
98@ = 0
100@ = 0
275@ = 0
104@ = 0
109@ = 0
107@ = 0
102@ = 0
108@ = 0
106@ = 1
94@ = 0
95@ = 0
103@ = 0
38@ = 0
97@ = 0
93@ = 0
101@ = 0
117@ = 0
$mtbikerace_selection = 0
274@ = 0
105@ = 0
61@ = 1289.851
62@ = 269.8778
63@ = 19.5888
64@ = 820.2197
65@ = 4.2019
66@ = 1004.661
67@ = 719.17
68@ = -457.68
69@ = 16.92
70@ = 822.4665
76@ = 1.7837
82@ = 1003.1
71@ = 822.0091
77@ = 6.0787
83@ = 1003.17
72@ = 832.8624
78@ = 0.7513
84@ = 1003.18
73@ = 830.9443
79@ = 0.3996
85@ = 1003.17
74@ = 827.839
80@ = -0.2443
86@ = 1003.1
75@ = 829.2125
81@ = 2.0354
87@ = 1003.17
if 
  $propertyX == 0
goto_if_false @CAT4_1357
if 
  $distance == 0
goto_if_false @CAT4_1108
set_lvar_text_label 118@s = 'CAT_DA'
set_lvar_text_label 120@s = 'CAT_DE'
set_lvar_text_label 122@s = 'CAT_DF'
set_lvar_text_label 124@s = 'CAT_DG'
set_lvar_text_label 126@s = 'CAT_DH'
set_lvar_text_label 128@s = 'CAT_DI'
set_lvar_text_label 130@s = 'CAT_DJ'
set_lvar_text_label 132@s = 'CAT_DK'
set_lvar_text_label 134@s = 'CAT_DL'
set_lvar_text_label 136@s = 'CAT_DM'
set_lvar_text_label 138@s = 'CAT_DN'
set_lvar_text_label 140@s = 'CAT_DO'
set_lvar_text_label 142@s = 'CAT_DP'
set_lvar_int_to_constant 222@ = 8626
set_lvar_int_to_constant 223@ = 8630
set_lvar_int_to_constant 224@ = 8631
set_lvar_int_to_constant 225@ = 8632
set_lvar_int_to_constant 226@ = 8633
set_lvar_int_to_constant 227@ = 8634
set_lvar_int_to_constant 228@ = 8635
set_lvar_int_to_constant 229@ = 8636
set_lvar_int_to_constant 230@ = 8637
set_lvar_int_to_constant 231@ = 8638
set_lvar_int_to_constant 232@ = 8639
set_lvar_int_to_constant 233@ = 8640
set_lvar_int_to_constant 234@ = 8641
110@ = 16
goto @CAT4_1357

:CAT4_1108
set_lvar_text_label 118@s = 'CAT_DF'
set_lvar_text_label 120@s = 'CAT_DG'
set_lvar_text_label 122@s = 'CAT_DH'
set_lvar_text_label 124@s = 'CAT_DI'
set_lvar_text_label 126@s = 'CAT_DJ'
set_lvar_text_label 128@s = 'CAT_DK'
set_lvar_text_label 130@s = 'CAT_DL'
set_lvar_text_label 132@s = 'CAT_DM'
set_lvar_text_label 134@s = 'CAT_DN'
set_lvar_text_label 136@s = 'CAT_DO'
set_lvar_text_label 138@s = 'CAT_DP'
set_lvar_int_to_constant 222@ = 8631
set_lvar_int_to_constant 223@ = 8632
set_lvar_int_to_constant 224@ = 8633
set_lvar_int_to_constant 225@ = 8634
set_lvar_int_to_constant 226@ = 8635
set_lvar_int_to_constant 227@ = 8636
set_lvar_int_to_constant 228@ = 8637
set_lvar_int_to_constant 229@ = 8638
set_lvar_int_to_constant 230@ = 8639
set_lvar_int_to_constant 231@ = 8640
set_lvar_int_to_constant 232@ = 8641
110@ = 14

:CAT4_1357
if 
  $propertyX == 1
goto_if_false @CAT4_1690
set_lvar_text_label 118@s = 'CAT_GA'
set_lvar_text_label 120@s = 'CAT_GB'
set_lvar_text_label 122@s = 'CAT_GC'
set_lvar_text_label 124@s = 'CAT_GD'
set_lvar_text_label 126@s = 'CAT_GE'
set_lvar_text_label 128@s = 'CAT_GF'
set_lvar_text_label 130@s = 'CAT_GG'
set_lvar_text_label 132@s = 'CAT_GH'
set_lvar_text_label 134@s = 'CAT_GI'
set_lvar_text_label 136@s = 'CAT_GJ'
set_lvar_text_label 138@s = 'CAT_GK'
set_lvar_text_label 140@s = 'CAT_GL'
set_lvar_text_label 142@s = 'CAT_GM'
set_lvar_text_label 144@s = 'CAT_GN'
set_lvar_int_to_constant 222@ = 8672
set_lvar_int_to_constant 223@ = 8673
set_lvar_int_to_constant 224@ = 8674
set_lvar_int_to_constant 225@ = 8675
set_lvar_int_to_constant 226@ = 8676
set_lvar_int_to_constant 227@ = 8677
set_lvar_int_to_constant 228@ = 8678
set_lvar_int_to_constant 229@ = 8679
set_lvar_int_to_constant 230@ = 8680
set_lvar_int_to_constant 231@ = 8681
set_lvar_int_to_constant 232@ = 8682
set_lvar_int_to_constant 233@ = 8683
set_lvar_int_to_constant 234@ = 8684
set_lvar_int_to_constant 235@ = 8685
110@ = 17

:CAT4_1690
if 
  $propertyX == 2
goto_if_false @CAT4_1891
set_lvar_text_label 118@s = 'CAT_OA'
set_lvar_text_label 120@s = 'CAT_OB'
set_lvar_text_label 122@s = 'CAT_OC'
set_lvar_text_label 124@s = 'CAT_OD'
set_lvar_text_label 126@s = 'CAT_OE'
set_lvar_text_label 128@s = 'CAT_OF'
set_lvar_text_label 130@s = 'CAT_OG'
set_lvar_text_label 132@s = 'CAT_OH'
set_lvar_int_to_constant 222@ = 8725
set_lvar_int_to_constant 223@ = 8726
set_lvar_int_to_constant 224@ = 8727
set_lvar_int_to_constant 225@ = 8728
set_lvar_int_to_constant 226@ = 8729
set_lvar_int_to_constant 227@ = 8730
set_lvar_int_to_constant 228@ = 8731
set_lvar_int_to_constant 229@ = 8732
110@ = 11

:CAT4_1891
52@ = 0
112@ = Blip.AddForCoord(61@, 62@, 63@)
115@ = Blip.AddForCoord(277@, 278@, 279@)
116@ = Blip.AddForCoord(277@, 278@, 279@)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_1969
113@ = Blip.AddForChar($finaleB_played_first_time_round)
Blip.Remove(113@)

:CAT4_1969
Blip.Remove(112@)
Blip.Remove(115@)
Blip.Remove(116@)
Blip.Remove(113@)
Blip.Remove($flag_strap_mission_counter)
54@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Game.EnableEntryExitPlayerGroupWarping(833.0, 9.0, 10.0, False)
Game.EnableEntryExitPlayerGroupWarping(1291.0, 271.0, 10.0, True)
wait 0
if 
  88@ == 1
goto_if_false @CAT4_2068
gosub @CAT4_4363

:CAT4_2068
if 
  89@ == 1
goto_if_false @CAT4_2093
gosub @CAT4_13690

:CAT4_2093
if 
  90@ == 1
goto_if_false @CAT4_2118
goto @CAT4_18350

:CAT4_2118
if 
  91@ == 1
goto_if_false @CAT4_2143
goto @CAT4_18320

:CAT4_2143
return 

:CAT4_2145
if 
  89@ == 1
goto_if_false @CAT4_3621
if 
  93@ == 0
goto_if_false @CAT4_2853
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_2846
if 
  Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @CAT4_2846
93@ = 1
if 
  101@ == 1
goto_if_false @CAT4_2248
94@ = 1000

:CAT4_2248
if 
  not Blip.DoesExist(116@)
goto_if_false @CAT4_2280
116@ = Blip.AddSpriteForCoord(67@, 68@, 69@, RadarSprite.Spray)

:CAT4_2280
World.DisableAllEntryExits(True)
if 
  106@ == 0
goto_if_false @CAT4_2825
if 
  281@ == 1
goto_if_false @CAT4_2690
if 
  102@ > 2
goto_if_false @CAT4_2345
102@ = 0

:CAT4_2345
if 
  102@ == 2
goto_if_false @CAT4_2460
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9889)

:CAT4_2370
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_2396
wait 0
goto @CAT4_2370

:CAT4_2396
Text.PrintNow('CATX_UA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_2416
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_2442
wait 0
goto @CAT4_2416

:CAT4_2442
Text.ClearThisPrint('CATX_UA')
102@ += 1

:CAT4_2460
if 
  102@ == 1
goto_if_false @CAT4_2575
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9890)

:CAT4_2485
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_2511
wait 0
goto @CAT4_2485

:CAT4_2511
Text.PrintNow('CATX_UB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_2531
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_2557
wait 0
goto @CAT4_2531

:CAT4_2557
Text.ClearThisPrint('CATX_UB')
102@ += 1

:CAT4_2575
if 
  102@ == 0
goto_if_false @CAT4_2690
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9894)

:CAT4_2600
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_2626
wait 0
goto @CAT4_2600

:CAT4_2626
Text.PrintNow('CATX_UF', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_2646
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_2672
wait 0
goto @CAT4_2646

:CAT4_2672
Text.ClearThisPrint('CATX_UF')
102@ += 1

:CAT4_2690
if 
  106@ == 0
goto_if_false @CAT4_2809
if 
  99@ == 0
goto_if_false @CAT4_2809
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_2809
if 
  not Char.LocateAnyMeans3D($finaleB_played_first_time_round, 67@, 68@, 69@, 30.0, 30.0, 30.0, False)
goto_if_false @CAT4_2809
Char.ClearRelationship($finaleB_played_first_time_round, RelationshipType.Like, PedType.Cop)
99@ = 1
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Cop)

:CAT4_2809
Text.Print('CAT4_32', 5000, 1)

:CAT4_2825
if 
  Blip.DoesExist(115@)
goto_if_false @CAT4_2846
Blip.Remove(115@)

:CAT4_2846
goto @CAT4_3621

:CAT4_2853
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_3310
if 
  100@ == 0
goto_if_false @CAT4_3098
if 
  Char.LocateAnyMeans3D($finaleB_played_first_time_round, 720.5, -466.73, 15.72, 4.0, 4.0, 4.0, True)
goto_if_false @CAT4_3098
if 
  100@ == 0
goto_if_false @CAT4_3098
Text.PrintNow('CAT4_37', 5000, 1)
if 
  99@ == 1
goto_if_false @CAT4_3091
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_3091
Char.ClearRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Cop)
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_3036
Char.RemoveFromGroup($finaleB_played_first_time_round)

:CAT4_3036
Char.ClearTasks($finaleB_played_first_time_round)
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_3075
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Group.SetFollowStatus($flag_cell_nation, True)

:CAT4_3075
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Like, PedType.Cop)
99@ = 0

:CAT4_3091
100@ = 1

:CAT4_3098
if 
  100@ == 1
goto_if_false @CAT4_3189
if 
  not Char.LocateAnyMeans3D($finaleB_played_first_time_round, 720.5, -460.73, 15.72, 15.0, 15.0, 15.0, False)
goto_if_false @CAT4_3189
if 
  100@ == 1
goto_if_false @CAT4_3189
100@ = 0

:CAT4_3189
if 
  106@ == 0
goto_if_false @CAT4_3310
if 
  99@ == 0
goto_if_false @CAT4_3310
if 
  Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @CAT4_3310
if 
  not Char.LocateAnyMeans3D($finaleB_played_first_time_round, 67@, 68@, 69@, 30.0, 30.0, 30.0, False)
goto_if_false @CAT4_3310
Char.ClearRelationship($finaleB_played_first_time_round, RelationshipType.Like, PedType.Cop)
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Cop)
99@ = 1

:CAT4_3310
if 
  not Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @CAT4_3621
93@ = 0
$6996 = Clock.GetGameTimer()
if 
  not Blip.DoesExist(115@)
goto_if_false @CAT4_3471
115@ = Blip.AddForCoord(277@, 278@, 279@)
Blip.ChangeColor(115@, BlipColor.Yellow)
World.DisableAllEntryExits(False)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9824)

:CAT4_3388
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_3414
wait 0
goto @CAT4_3388

:CAT4_3414
Text.PrintNow('CATX_DE', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_3434
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_3460
wait 0
goto @CAT4_3434

:CAT4_3460
Text.ClearThisPrint('CATX_DE')

:CAT4_3471
if 
  Blip.DoesExist(116@)
goto_if_false @CAT4_3492
Blip.Remove(116@)

:CAT4_3492
if 
  99@ == 1
goto_if_false @CAT4_3614
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_3614
Char.ClearRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Cop)
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_3559
Char.RemoveFromGroup($finaleB_played_first_time_round)

:CAT4_3559
Char.ClearTasks($finaleB_played_first_time_round)
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_3598
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Group.SetFollowStatus($flag_cell_nation, True)

:CAT4_3598
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Like, PedType.Cop)
99@ = 0

:CAT4_3614
TIMERA = 0

:CAT4_3621
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CAT4_4361
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 64@, 65@, 66@, 50.0, 50.0, 50.0, False)
goto_if_false @CAT4_4176
if 
  38@ == 0
goto_if_false @CAT4_4158
Text.ClearThisPrint('CAT4_01')
if 
  103@ == 0
goto_if_false @CAT4_3773
39@ = Object.Create(#RIDER1_DOOR, 824.4123, 10.85, 1003.2)
Object.SetHeading(39@, 175.0)
Object.FreezePosition(39@, True)
Object.SetCollisionDamageEffect(39@, False)

:CAT4_3773
if 
  103@ == 1
goto_if_false @CAT4_3791

:CAT4_3791
if 
  $6994 == 0
goto_if_false @CAT4_3839
40@ = Object.Create(#KEV_SAFE, 820.5, 9.7, 1003.216)
goto @CAT4_3862

:CAT4_3839
40@ = Object.Create(#MAN_SAFENEW, 820.5, 9.7, 1003.216)

:CAT4_3862
Object.SetHeading(40@, 90.0)
if 
  89@ == 1
goto_if_false @CAT4_3911
if 
  Blip.DoesExist(115@)
goto_if_false @CAT4_3911
Blip.Remove(115@)

:CAT4_3911
if 
  96@ <> 0
goto_if_false @CAT4_4158
if 
  88@ == 1
goto_if_false @CAT4_4158
if 
  Blip.DoesExist(112@)
goto_if_false @CAT4_3970
Blip.Remove(112@)
Text.ClearPrints

:CAT4_3970
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_4158
Char.ClearTasks($finaleB_played_first_time_round)
Char.SetCoordinates($finaleB_played_first_time_round, 823.13, 2.2, 1003.18)
Char.SetHeading($finaleB_played_first_time_round, 107.0)
Char.SetAreaVisible($finaleB_played_first_time_round, 3)
Task.AimGunAtCoord($finaleB_played_first_time_round, 64@, 65@, 66@, 900000)
Char.FreezePositionAndDontLoadCollision($finaleB_played_first_time_round, False)
Audio.ReportMissionAudioEventAtPosition(64@, 65@, 66@, 1155)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9830)

:CAT4_4075
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_4101
wait 0
goto @CAT4_4075

:CAT4_4101
Text.PrintNow('CATX_JE', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_4121
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_4147
wait 0
goto @CAT4_4121

:CAT4_4147
Text.ClearThisPrint('CATX_JE')

:CAT4_4158
Hud.DisplayRadar(False)
38@ = 1
goto @CAT4_4361

:CAT4_4176
if 
  38@ == 1
goto_if_false @CAT4_4361
if 
  Object.DoesExist(39@)
goto_if_false @CAT4_4215
Object.Delete(39@)

:CAT4_4215
if 
  Object.DoesExist(40@)
goto_if_false @CAT4_4236
Object.Delete(40@)

:CAT4_4236
World.ClearArea(61@, 62@, 63@, 1000.0, True)
if 
  88@ == 1
goto_if_false @CAT4_4350
if 
  not Blip.DoesExist(112@)
goto_if_false @CAT4_4350
112@ = Blip.AddForCoord(61@, 62@, 63@)
Blip.SetCoordAppearance(112@, 1)
Text.PrintNow('CAT4_16', 10000, 1)
Text.ClearHelp
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_4350
Char.FreezePositionAndDontLoadCollision($finaleB_played_first_time_round, True)

:CAT4_4350
Hud.DisplayRadar(True)
38@ = 0

:CAT4_4361
return 

:CAT4_4363
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT4_4414
41@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1291.575, 269.5648, 18.5469)
goto @CAT4_4434

:CAT4_4414
Char.SetCoordinates($stattreadstamina_ctr, 1291.575, 269.5648, 18.5469)

:CAT4_4434
Char.SetHeading($stattreadstamina_ctr, 60.0)
57@ = Object.Create(363, 1288.141, 267.9079, 18.5469)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_4488
Char.Delete($finaleB_played_first_time_round)

:CAT4_4488
Streaming.LoadSpecialCharacter(5, 'CAT')

:CAT4_4501
if 
  not Streaming.HasSpecialCharacterLoaded(5)
goto_if_false @CAT4_4527
wait 0
goto @CAT4_4501

:CAT4_4527
$finaleB_played_first_time_round = Char.Create(PedType.Special, 294, 1288.277, 268.9509, 18.9469)
Char.SetGetOutUpsideDownCar($finaleB_played_first_time_round, False)
Char.SetHeading($finaleB_played_first_time_round, 321.0)
Char.SetOnlyDamagedByPlayer($finaleB_played_first_time_round, True)
Char.SetNeverTargeted($finaleB_played_first_time_round, True)
Char.ShutUpForScriptedSpeech($finaleB_played_first_time_round, True)
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_4614
Char.RemoveFromGroup($finaleB_played_first_time_round)

:CAT4_4614
if 
  not Car.IsDead(41@)
goto_if_false @CAT4_4660
Car.SetCoordinates(41@, 1297.0, 278.0, 18.0)
Car.SetHeading(41@, 150.0)

:CAT4_4660
276@ = DecisionMakerGroup.Load(0)
Group.SetDecisionMaker($flag_cell_nation, 276@)
DecisionMakerGroup.ClearEventResponse(276@, 9)
DecisionMakerGroup.ClearEventResponse(276@, 41)
55@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Mission1)
Char.SetDecisionMaker($finaleB_played_first_time_round, 55@)
Task.TogglePedThreatScanner($finaleB_played_first_time_round, True, True, True)
DecisionMakerChar.ClearEventResponse(55@, 36)
DecisionMakerChar.AddEventResponse(55@, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
Char.SetShootRate($finaleB_played_first_time_round, 100)
if 
  Object.DoesExist(57@)
goto_if_false @CAT4_4829
Task.PickUpObject($finaleB_played_first_time_round, 57@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)

:CAT4_4829
if 
  not Streaming.HasAnimationLoaded("MISC")
goto_if_false @CAT4_4859
wait 0
goto @CAT4_4829

:CAT4_4859
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Camera.SetFixedPosition(1284.625, 257.5731, 23.8334, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1284.508, 258.5662, 23.824, SwitchType.JumpCut)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(1284.625, 257.5731, 23.8334, 1287.068, 258.5688, 22.872, 4500, True)
Camera.SetVectorTrack(1284.508, 258.5662, 23.824, 1287.18, 259.5328, 22.6311, 4500, True)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_5047
Char.SetCoordinates($finaleB_played_first_time_round, 1288.277, 268.9509, 18.546)
Char.SetHeading($finaleB_played_first_time_round, 321.0)

:CAT4_5047
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Streaming.LoadSceneInDirection(1284.625, 257.5731, 23.8334, 45.0)
World.ClearArea(1287.363, 257.5327, 23.0934, 1000.0, True)
Camera.DoFade(1000, Fade.In)

:CAT4_5114
if 
  Camera.GetFadingStatus
goto_if_false @CAT4_5138
wait 0
goto @CAT4_5114

:CAT4_5138
TIMERA = 0
TIMERB = 0
97@ = 0

:CAT4_5159
if 
  97@ <> 10
goto_if_false @CAT4_6259
wait 0
if 
  97@ == 0
goto_if_false @CAT4_5309
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9001)

:CAT4_5214
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_5240
wait 0
goto @CAT4_5214

:CAT4_5240
Text.PrintNow('CAT2_AB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_5260
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_5286
wait 0
goto @CAT4_5260

:CAT4_5286
Text.ClearThisPrint('CAT2_AB')
Char.StopFacialTalk($stattreadstamina_ctr)
97@ = 1

:CAT4_5309
if 
  97@ == 1
goto_if_false @CAT4_5375
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_5368
Task.GoStraightToCoord($finaleB_played_first_time_round, 1290.93, 269.75, 18.5469, MoveState.Walk, 3000)

:CAT4_5368
97@ = 2

:CAT4_5375
if 
  TIMERB > 3000
goto_if_false @CAT4_5607
if 
  97@ == 2
goto_if_false @CAT4_5607
Camera.ResetNewScriptables
Camera.SetFixedPosition(1292.445, 266.8836, 19.0157, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1291.756, 267.5977, 19.1396, SwitchType.JumpCut)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9002)

:CAT4_5472
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_5498
wait 0
goto @CAT4_5472

:CAT4_5498
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_5542
Text.PrintNow('CAT2_AC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:CAT4_5542
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_5568
wait 0
goto @CAT4_5542

:CAT4_5568
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_5589
Char.StopFacialTalk($finaleB_played_first_time_round)

:CAT4_5589
Text.ClearThisPrint('CAT2_AC')
97@ = 3

:CAT4_5607
if 
  97@ == 3
goto_if_false @CAT4_6003
Camera.SetFixedPosition(1300.118, 272.2002, 20.6733, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1299.156, 271.9637, 20.5352, SwitchType.JumpCut)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_5734
Task.PlayAnim($finaleB_played_first_time_round, "PASS_RIFLE_PED", "MISC", 4.0, False, False, False, False, -1)

:CAT4_5734
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9859)

:CAT4_5741
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_5767
wait 0
goto @CAT4_5741

:CAT4_5767
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_5788
Char.ClearTasks($finaleB_played_first_time_round)

:CAT4_5788
Task.PlayAnim($stattreadstamina_ctr, "PASS_RIFLE_PLY", "MISC", 4.0, False, False, False, False, -1)
if 
  Object.DoesExist(57@)
goto_if_false @CAT4_5887
Task.PickUpObject($stattreadstamina_ctr, 57@, 0.0, 0.0, 0.0, 5, 16, "NULL", "NULL", 0)

:CAT4_5887
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_5911
Char.StartFacialTalk($finaleB_played_first_time_round, 10000)

:CAT4_5911
Text.PrintNow('CATX_RB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_5931
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_5957
wait 0
goto @CAT4_5931

:CAT4_5957
Text.ClearThisPrint('CATX_RB')
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_5989
Char.StopFacialTalk($finaleB_played_first_time_round)

:CAT4_5989
97@ = 4
TIMERA = 0

:CAT4_6003
if 
  97@ == 4
goto_if_false @CAT4_6158
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_6061
Task.GoStraightToCoord($finaleB_played_first_time_round, 1292.81, 269.01, 18.5469, MoveState.Walk, -1)

:CAT4_6061
97@ = 5
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9031)

:CAT4_6075
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_6101
wait 0
goto @CAT4_6075

:CAT4_6101
Text.PrintNow('CAT2_JA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_6121
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_6147
wait 0
goto @CAT4_6121

:CAT4_6147
Text.ClearThisPrint('CAT2_JA')

:CAT4_6158
if 
  97@ == 5
goto_if_false @CAT4_6202
if 
  TIMERA > 1500
goto_if_false @CAT4_6202
97@ = 10

:CAT4_6202
if 
  TIMERB > 10000
goto_if_false @CAT4_6228
97@ = 10

:CAT4_6228
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @CAT4_6252
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
97@ = 10

:CAT4_6252
goto @CAT4_5159

:CAT4_6259
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
if 
  Object.DoesExist(57@)
goto_if_false @CAT4_6295
Object.Delete(57@)

:CAT4_6295
Camera.ResetNewScriptables
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
World.SwitchEntryExit('GENOTB', True)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_6345
Char.StopFacialTalk($finaleB_played_first_time_round)

:CAT4_6345
Char.StopFacialTalk($stattreadstamina_ctr)
if 
  not Car.IsDead(41@)
goto_if_false @CAT4_6381
Car.SetHealth(41@, 1000)
Car.SetCanBurstTires(41@, False)

:CAT4_6381
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Satchel, 10)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_6440
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_6440
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Group.SetFollowStatus($flag_cell_nation, False)

:CAT4_6440
112@ = Blip.AddSpriteForCoord(61@, 62@, 63@, RadarSprite.CatalinaPink)
Text.PrintNow('CAT4_01', 10000, 1)

:CAT4_6472
if 
  not Streaming.HasModelLoaded(#KEV_SAFE)
goto_if_false @CAT4_6499
wait 0
goto @CAT4_6472

:CAT4_6499
if 
  not Streaming.HasModelLoaded(#MAN_SAFENEW)
goto_if_false @CAT4_6526
wait 0
goto @CAT4_6499

:CAT4_6526
if or
  not Streaming.HasModelLoaded(348)
  not Streaming.HasModelLoaded(#RIDER1_DOOR)
goto_if_false @CAT4_6558
wait 0
goto @CAT4_6526

:CAT4_6558
if 
  38@ <> 1
goto_if_false @CAT4_6841
wait 0
gosub @CAT4_2145
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 64@, 65@, 66@, 50.0, 50.0, 50.0, False)
goto_if_false @CAT4_6636
gosub @CAT4_16181

:CAT4_6636
if 
  91@ == 1
goto_if_false @CAT4_6656
return 

:CAT4_6656
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CAT4_6694
88@ = 0
89@ = 0
90@ = 1
return 

:CAT4_6694
58@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Satchel)
59@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Detonator)
if and
  0 >= 58@
  0 >= 59@
goto_if_false @CAT4_6834
if 
  275@ <> 1
goto_if_false @CAT4_6834
if 
  not World.IsExplosionInArea(ExplosionType.Grenade, 819.55, 8.09, 1003.4, 822.27, 10.98, 1005.72)
goto_if_false @CAT4_6834
88@ = 0
91@ = 1
Text.PrintNow('CAT4_2', 10000, 1)
return 

:CAT4_6834
goto @CAT4_6558

:CAT4_6841
Blip.Remove(112@)
if 
  96@ == 0
goto_if_false @CAT4_9023
if 
  38@ == 1
goto_if_false @CAT4_9023
Streaming.RemoveAnimation("MISC")
Text.ClearSmallPrints
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearPrints
Camera.SetFixedPosition(833.5528, 9.9425, 1003.91, 0.0, 0.0, 0.0)
Camera.PointAtPoint(832.7419, 9.3669, 1004.01, SwitchType.JumpCut)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1826)
53@ = 0

:CAT4_6970
if 
  6 > 53@
goto_if_false @CAT4_7032
46@(53@,6i) = Char.CreateRandom(70@(53@,6f), 76@(53@,6f), 82@(53@,6f))
53@ += 1
goto @CAT4_6970

:CAT4_7032
Hud.DisplayRadar(False)
96@ = 1
TIMERA = 0
TIMERB = 0
97@ = 0

:CAT4_7064
if 
  97@ <> 10
goto_if_false @CAT4_8904
wait 0
if 
  97@ >= 2
goto_if_false @CAT4_7123
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @CAT4_7123
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:CAT4_7123
if 
  97@ == 0
goto_if_false @CAT4_7442
Char.SetCoordinates($stattreadstamina_ctr, 832.4548, 7.0794, 1003.187)
Task.GoStraightToCoord($stattreadstamina_ctr, 828.2866, 8.2237, 1003.187, MoveState.Walk, 5000)
World.ClearArea(828.2866, 8.2237, 1003.187, 2.0, True)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_7435
Char.SetProofs($finaleB_played_first_time_round, False, False, True, False, False)
Char.SetAccuracy($finaleB_played_first_time_round, 90)
Char.ClearTasks($finaleB_played_first_time_round)
Char.SetAreaVisible($finaleB_played_first_time_round, 3)
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_7284
Char.RemoveFromGroup($finaleB_played_first_time_round)

:CAT4_7284
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT4_7327
Char.WarpFromCarToCoord($finaleB_played_first_time_round, 833.5104, 4.3569, 1003.587)
goto @CAT4_7347

:CAT4_7327
Char.SetCoordinates($finaleB_played_first_time_round, 833.5104, 4.3569, 1003.187)

:CAT4_7347
Char.SetHasUsedEntryExit($finaleB_played_first_time_round, 1290.0, 270.0, 10.0)
Char.SetHeading($finaleB_played_first_time_round, 107.0)
Char.GiveWeapon($finaleB_played_first_time_round, WeaponType.DesertEagle, 10000)
Task.GoStraightToCoord($finaleB_played_first_time_round, 824.3764, 3.4945, 1003.18, MoveState.Run, -1)
World.ClearArea(824.3764, 3.4945, 1003.18, 2.0, True)

:CAT4_7435
97@ = 1

:CAT4_7442
if 
  97@ == 1
goto_if_false @CAT4_8122
if 
  TIMERA > 2000
goto_if_false @CAT4_8122
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_8115
Char.ClearTasks($finaleB_played_first_time_round)
56@ = Sequence.Open()
Task.GoStraightToCoord(-1, 824.3764, 3.4945, 1003.18, MoveState.Run, 3000)
Task.AimGunAtCoord(-1, 64@, 65@, 66@, 5000)
Sequence.Close(56@)
Char.PerformSequence($finaleB_played_first_time_round, 56@)
Sequence.Clear(56@)
$2885 = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9010)

:CAT4_7577
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_7603
wait 0
goto @CAT4_7577

:CAT4_7603
Text.PrintNow('CAT2_DA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_7647
Char.StartFacialTalk($finaleB_played_first_time_round, 10000)

:CAT4_7647
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_7673
wait 0
goto @CAT4_7647

:CAT4_7673
Text.ClearThisPrint('CAT2_DA')
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_7705
Char.StopFacialTalk($finaleB_played_first_time_round)

:CAT4_7705
Camera.SetFixedPosition(829.9543, 8.6043, 1004.892, 0.0, 0.0, 0.0)
Camera.PointAtPoint(829.2075, 7.9448, 1004.806, SwitchType.JumpCut)
Task.LookAtCoord($stattreadstamina_ctr, 824.17, 3.95, 1007.0, 3000)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_7847
Char.ClearTasks($finaleB_played_first_time_round)
Char.SetCoordinates($finaleB_played_first_time_round, 824.3764, 3.4945, 1003.18)
Char.SetHeading($finaleB_played_first_time_round, 107.0)
Task.AimGunAtCoord($finaleB_played_first_time_round, 64@, 65@, 66@, 5000)

:CAT4_7847
53@ = 0

:CAT4_7854
if 
  6 > 53@
goto_if_false @CAT4_7973
if 
  not Char.IsDead(46@(53@,6i))
goto_if_false @CAT4_7959
if or
  53@ == 0
  53@ == 3
  53@ == 5
goto_if_false @CAT4_7945
Task.HandsUp(46@(53@,6i), 900000)
goto @CAT4_7959

:CAT4_7945
Task.Duck(46@(53@,6i), 900000)

:CAT4_7959
53@ += 1
goto @CAT4_7854

:CAT4_7973
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9011)

:CAT4_7980
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_8006
wait 0
goto @CAT4_7980

:CAT4_8006
Text.PrintNow('CAT2_DB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_8050
Char.StartFacialTalk($finaleB_played_first_time_round, 10000)

:CAT4_8050
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_8076
wait 0
goto @CAT4_8050

:CAT4_8076
Text.ClearThisPrint('CAT2_DB')
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_8108
Char.StopFacialTalk($finaleB_played_first_time_round)

:CAT4_8108
TIMERA = 0

:CAT4_8115
97@ = 2

:CAT4_8122
if 
  97@ == 2
goto_if_false @CAT4_8354
if 
  TIMERA > 500
goto_if_false @CAT4_8354
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_8347
Char.ClearTasks($finaleB_played_first_time_round)
Task.StandStill($finaleB_played_first_time_round, 900000)
Camera.SetFixedPosition(821.8057, 3.2657, 1005.09, 0.0, 0.0, 0.0)
Camera.PointAtPoint(822.7056, 3.6678, 1004.921, SwitchType.JumpCut)
Task.LookAtCoord($stattreadstamina_ctr, 824.17, 3.95, 1007.0, 3000)
Task.LookAtCoord($finaleB_played_first_time_round, 824.17, 3.95, 1007.0, 2000)
Task.AimGunAtCoord($finaleB_played_first_time_round, 819.55, 5.55, 1005.59, 5000)
Audio.ReportMissionAudioEventAtPosition(64@, 65@, 66@, 1155)
Text.PrintNow('CAT4_3', 5000, 1)
TIMERA = 0

:CAT4_8347
97@ = 3

:CAT4_8354
if 
  97@ == 3
goto_if_false @CAT4_8617
if 
  TIMERA > 2000
goto_if_false @CAT4_8617
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_8424
Task.AimGunAtCoord($finaleB_played_first_time_round, 64@, 65@, 66@, 5000)

:CAT4_8424
Text.ClearThisPrint('CAT4_3')
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9016)

:CAT4_8442
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_8468
wait 0
goto @CAT4_8442

:CAT4_8468
Text.PrintNow('CAT2_FA', 10000, 1)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_8508
Char.StartFacialTalk($finaleB_played_first_time_round, 10000)

:CAT4_8508
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_8512
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_8538
wait 0
goto @CAT4_8512

:CAT4_8538
Text.ClearThisPrint('CAT2_FA')
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_8570
Char.StopFacialTalk($finaleB_played_first_time_round)

:CAT4_8570
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CAT4_8596
Task.AchieveHeading($stattreadstamina_ctr, 112.0)

:CAT4_8596
$flag_dozer_passed_1stime = 1
97@ = 4
TIMERA = 0

:CAT4_8617
if 
  97@ == 4
goto_if_false @CAT4_8871
if 
  TIMERA > 1000
goto_if_false @CAT4_8871
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_8864
Char.ClearTasks($finaleB_played_first_time_round)
Camera.SetFixedPosition(829.9543, 8.6043, 1004.892, 0.0, 0.0, 0.0)
Camera.PointAtPoint(829.2075, 7.9448, 1004.806, SwitchType.JumpCut)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_8774
if 
  not Char.IsDead(46@(52@,6i))
goto_if_false @CAT4_8774
Task.KillCharOnFoot($finaleB_played_first_time_round, 46@(52@,6i))

:CAT4_8774
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9017)

:CAT4_8781
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_8807
wait 0
goto @CAT4_8781

:CAT4_8807
Text.Print('CAT2_FB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_8827
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_8853
wait 0
goto @CAT4_8827

:CAT4_8853
Text.ClearThisPrint('CAT2_FB')

:CAT4_8864
97@ = 5

:CAT4_8871
if 
  TIMERB > 17000
goto_if_false @CAT4_8897
97@ = 10

:CAT4_8897
goto @CAT4_7064

:CAT4_8904
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CAT4_9023
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_8970
Task.AimGunAtCoord($finaleB_played_first_time_round, 64@, 65@, 66@, 900000)

:CAT4_8970
59@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Satchel)
60@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Satchel)
96@ = 1
$flag_dozer_passed_1stime = 1
TIMERA = 0
TIMERB = 0
$6996 = Clock.GetGameTimer()

:CAT4_9023
TIMERB = 0

:CAT4_9030
if 
  117@ <> 1
goto_if_false @CAT4_13674
wait 0
58@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Satchel)
59@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Detonator)
if and
  0 >= 58@
  0 >= 59@
goto_if_false @CAT4_9192
if 
  275@ <> 1
goto_if_false @CAT4_9192
if 
  not World.IsExplosionInArea(ExplosionType.Grenade, 819.55, 8.09, 1003.4, 822.27, 10.98, 1005.72)
goto_if_false @CAT4_9192
88@ = 0
91@ = 1
Text.PrintNow('CAT4_2', 5000, 1)
return 

:CAT4_9192
if 
  Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_9240
88@ = 0
91@ = 1
Text.PrintNow('CAT4_15', 5000, 1)
return 

:CAT4_9240
if 
  108@ == 0
goto_if_false @CAT4_9283
Text.PrintHelp('CAT4_43')
108@ = 1
TIMERB = 0

:CAT4_9283
if 
  108@ == 1
goto_if_false @CAT4_9350
if 
  TIMERB > 6000
goto_if_false @CAT4_9350
Text.PrintNow('CAT4_42', 6000, 1)
108@ = 2
TIMERB = 0

:CAT4_9350
if 
  2 >= 108@
goto_if_false @CAT4_9421
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Satchel)
goto_if_false @CAT4_9421
if 
  is_int_lvar_greater_than_int_lvar 60@ > 58@
goto_if_false @CAT4_9421
Text.ClearHelp
108@ = 3
TIMERB = 0

:CAT4_9421
if 
  108@ == 3
goto_if_false @CAT4_9499
if 
  TIMERB > 1500
goto_if_false @CAT4_9499
Text.PrintNow('CAT4_44', 6000, 1)
Text.PrintHelp('CAT4_45')
108@ = 4
TIMERB = 0

:CAT4_9499
if 
  4 >= 108@
goto_if_false @CAT4_9606
if 
  Object.DoesExist(39@)
goto_if_false @CAT4_9606
if 
  World.HasObjectOfTypeBeenSmashed(824.4123, 10.8, 1003.2, 10.0, #RIDER1_DOOR)
goto_if_false @CAT4_9606
if 
  TIMERB > 500
goto_if_false @CAT4_9606
Text.ClearSmallPrints
Text.ClearHelp
108@ = 5
TIMERB = 0

:CAT4_9606
if 
  108@ == 5
goto_if_false @CAT4_9791
Text.ClearHelp
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9012)

:CAT4_9633
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_9659
wait 0
goto @CAT4_9633

:CAT4_9659
Text.Print('CAT2_DC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_9703
Char.StartFacialTalk($finaleB_played_first_time_round, 10000)

:CAT4_9703
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_9729
wait 0
goto @CAT4_9703

:CAT4_9729
Text.ClearThisPrint('CAT2_DC')
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_9761
Char.StopFacialTalk($finaleB_played_first_time_round)

:CAT4_9761
Text.PrintNow('CAT4_46', 10000, 1)
108@ = 6
TIMERB = 0

:CAT4_9791
if 
  38@ == 1
goto_if_false @CAT4_10834
$6995 = Clock.GetGameTimer()
sub_int_var_from_int_var $6995 -= $6996
if 
  94@ == 0
goto_if_false @CAT4_9852
94@ = 1
$6996 = Clock.GetGameTimer()

:CAT4_9852
$6995 = Clock.GetGameTimer()
sub_int_var_from_int_var $6995 -= $6996
if 
  94@ == 1
goto_if_false @CAT4_10011
94@ = 2
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9018)

:CAT4_9897
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_9923
wait 0
goto @CAT4_9897

:CAT4_9923
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_9927
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_9953
wait 0
goto @CAT4_9927

:CAT4_9953
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_10006
Char.ClearTasks($finaleB_played_first_time_round)
if 
  not Char.IsDead(46@(52@,6i))
goto_if_false @CAT4_10006
Task.KillCharOnFoot($finaleB_played_first_time_round, 46@(52@,6i))

:CAT4_10006
$6996 = Clock.GetGameTimer()

:CAT4_10011
$6995 = Clock.GetGameTimer()
sub_int_var_from_int_var $6995 -= $6996
if 
  94@ == 2
goto_if_false @CAT4_10117
94@ = 3
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9877)

:CAT4_10056
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_10082
wait 0
goto @CAT4_10056

:CAT4_10082
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_10086
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_10112
wait 0
goto @CAT4_10086

:CAT4_10112
$6996 = Clock.GetGameTimer()

:CAT4_10117
$6995 = Clock.GetGameTimer()
sub_int_var_from_int_var $6995 -= $6996
if 
  94@ == 3
goto_if_false @CAT4_10242
if 
  $6995 > 5000
goto_if_false @CAT4_10242
94@ = 4
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9014)

:CAT4_10181
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_10207
wait 0
goto @CAT4_10181

:CAT4_10207
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_10211
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_10237
wait 0
goto @CAT4_10211

:CAT4_10237
$6996 = Clock.GetGameTimer()

:CAT4_10242
$6995 = Clock.GetGameTimer()
sub_int_var_from_int_var $6995 -= $6996
if 
  94@ == 4
goto_if_false @CAT4_10367
if 
  $6995 > 10000
goto_if_false @CAT4_10367
94@ = 5
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9013)

:CAT4_10306
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_10332
wait 0
goto @CAT4_10306

:CAT4_10332
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_10336
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_10362
wait 0
goto @CAT4_10336

:CAT4_10362
$6996 = Clock.GetGameTimer()

:CAT4_10367
$6995 = Clock.GetGameTimer()
sub_int_var_from_int_var $6995 -= $6996
if 
  94@ == 5
goto_if_false @CAT4_10429
if 
  $6995 > 10000
goto_if_false @CAT4_10429
94@ = 6
$6996 = Clock.GetGameTimer()

:CAT4_10429
$6995 = Clock.GetGameTimer()
sub_int_var_from_int_var $6995 -= $6996
if 
  94@ > 1
goto_if_false @CAT4_10834
if 
  2 > 52@
goto_if_false @CAT4_10834
if 
  Char.IsDead(46@(52@,6i))
goto_if_false @CAT4_10834
Char.MarkAsNoLongerNeeded(46@(52@,6i))
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_10834
if 
  not Char.IsShooting($finaleB_played_first_time_round)
goto_if_false @CAT4_10834
52@ += 1
if 
  2 > 52@
goto_if_false @CAT4_10810
Char.ClearTasks($finaleB_played_first_time_round)
if 
  not Char.IsDead(46@(52@,6i))
goto_if_false @CAT4_10601
Task.KillCharOnFoot($finaleB_played_first_time_round, 46@(52@,6i))

:CAT4_10601
if 
  52@ == 2
goto_if_false @CAT4_10682
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9872)

:CAT4_10626
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_10652
wait 0
goto @CAT4_10626

:CAT4_10652
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_10656
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_10682
wait 0
goto @CAT4_10656

:CAT4_10682
if 
  52@ == 4
goto_if_false @CAT4_10763
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9877)

:CAT4_10707
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_10733
wait 0
goto @CAT4_10707

:CAT4_10733
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_10737
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_10763
wait 0
goto @CAT4_10737

:CAT4_10763
if 
  52@ == 5
goto_if_false @CAT4_10803
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9884)
Text.PrintNow('CATX_TQ', 100, 1)

:CAT4_10803
goto @CAT4_10834

:CAT4_10810
Char.ClearTasks($finaleB_played_first_time_round)
Task.AimGunAtCoord($finaleB_played_first_time_round, 64@, 65@, 66@, 900000)

:CAT4_10834
gosub @CAT4_2145
if 
  World.IsExplosionInArea(ExplosionType.Grenade, 820.3084, -1.6925, 1003.278, 828.8, 4.7199, 1008.079)
goto_if_false @CAT4_10909
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_10909
Char.SetHealth($finaleB_played_first_time_round, 0)

:CAT4_10909
if 
  103@ == 0
goto_if_false @CAT4_11159
if 
  World.IsExplosionInArea(ExplosionType.Grenade, 823.89, 8.99, 1000.4, 826.18, 11.98, 1009.72)
goto_if_false @CAT4_11026
Object.SetCollisionDamageEffect(39@, True)
Object.FreezePosition(39@, False)
Object.Break(39@, 1)
Object.SetHealth(39@, 0)
103@ = 1
Fx.AddExplosion(820.5, 9.7, 1003.216, ExplosionType.Grenade)

:CAT4_11026
if 
  Object.DoesExist(39@)
goto_if_false @CAT4_11159
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Satchel)
goto_if_false @CAT4_11159
if 
  World.IsExplosionInArea(ExplosionType.Grenade, 823.89, 8.99, 1000.4, 826.18, 11.98, 1009.72)
goto_if_false @CAT4_11159
Object.SetCollisionDamageEffect(39@, True)
Object.FreezePosition(39@, False)
Object.Break(39@, 1)
Object.SetHealth(39@, 0)
103@ = 1
Fx.AddExplosion(820.5, 9.7, 1003.216, ExplosionType.Grenade)

:CAT4_11159
if 
  103@ == 1
goto_if_false @CAT4_11344
if 
  World.IsExplosionInArea(ExplosionType.Grenade, 819.55, 8.09, 1003.4, 822.27, 10.98, 1005.72)
goto_if_false @CAT4_11344
Text.ClearHelp
Text.ClearPrints
$6994 = 1
Streaming.MarkModelAsNoLongerNeeded(#RIDER1_DOOR)
World.SwitchEntryExit('GENOTB', False)
if 
  275@ == 0
goto_if_false @CAT4_11283
275@ = 1
TIMERA = 0

:CAT4_11283
Object.Delete(40@)
40@ = Object.Create(#MAN_SAFENEW, 820.5, 9.7, 1003.216)
Object.SetHeading(40@, 90.0)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_11344
Char.FreezePositionAndDontLoadCollision($finaleB_played_first_time_round, False)

:CAT4_11344
if 
  275@ == 1
goto_if_false @CAT4_13667
if 
  TIMERA > 500
goto_if_false @CAT4_13667
Fx.AddExplosion(820.5, 9.7, 1003.216, ExplosionType.Grenade)
53@ = 4

:CAT4_11407
if 
  6 > 53@
goto_if_false @CAT4_11448
Char.MarkAsNoLongerNeeded(46@(53@,6i))
53@ += 1
goto @CAT4_11407

:CAT4_11448
if 
  Object.DoesExist(39@)
goto_if_false @CAT4_11469
Object.Delete(39@)

:CAT4_11469
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
World.SetPedDensityMultiplier(0.0)
Camera.SetFixedPosition(823.9662, 11.5153, 1005.81, 0.0, 0.0, 0.0)
Camera.PointAtPoint(823.2487, 11.0891, 1005.26, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 824.8268, 10.0672, 1003.187)
Char.SetHeading($stattreadstamina_ctr, 100.0)
Char.SetAreaVisible($stattreadstamina_ctr, 3)
Streaming.SetAreaVisible(3)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_11651
Char.ClearTasks($finaleB_played_first_time_round)
Char.SetCoordinates($finaleB_played_first_time_round, 827.95, 9.21, 1003.13)
Char.SetHeading($finaleB_played_first_time_round, 93.0)
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Like, PedType.Cop)
Char.ClearRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Cop)
99@ = 0

:CAT4_11651
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
World.ClearArea(824.8268, 10.0672, 1003.187, 1000.0, True)
Streaming.RequestAnimation("BOMBER")

:CAT4_11698
if 
  not Streaming.HasAnimationLoaded("BOMBER")
goto_if_false @CAT4_11730
wait 0
goto @CAT4_11698

:CAT4_11730
Task.Duck($stattreadstamina_ctr, 3000)
TIMERA = 0
TIMERB = 0
97@ = 0

:CAT4_11759
if 
  97@ <> 10
goto_if_false @CAT4_13161
wait 0
if 
  97@ == 0
goto_if_false @CAT4_11825
if 
  TIMERA > 2000
goto_if_false @CAT4_11825
97@ = 1

:CAT4_11825
if 
  97@ == 1
goto_if_false @CAT4_12244
if 
  TIMERA > 2000
goto_if_false @CAT4_12244
Char.SetCoordinates($stattreadstamina_ctr, 824.8268, 10.0672, 1003.187)
Char.SetHeading($stattreadstamina_ctr, 100.0)
Char.SetAreaVisible($stattreadstamina_ctr, 3)
Streaming.SetAreaVisible(3)
97@ = 2
Task.GoStraightToCoord($stattreadstamina_ctr, 821.3832, 9.7296, 1003.195, MoveState.Walk, -1)
if 
  not Car.IsDead(41@)
goto_if_false @CAT4_12017
Car.FreezePosition(41@, True)
Car.SetVisible(41@, True)
Car.SetProofs(41@, False, False, False, False, False)
Car.SetHealth(41@, 1500)
Car.SetCoordinates(41@, 1297.0, 278.0, 18.0)
Car.SetHeading(41@, 150.0)

:CAT4_12017
Streaming.RequestModel(599)
Streaming.RequestModel(283)
Streaming.RequestModel(346)

:CAT4_12032
if or
  not Streaming.HasModelLoaded(599)
  not Streaming.HasModelLoaded(283)
  not Streaming.HasModelLoaded(346)
goto_if_false @CAT4_12069
wait 0
goto @CAT4_12032

:CAT4_12069
34@ = Car.Create(599, 1296.038, 251.8959, 18.4002)
35@ = Car.Create(599, 1301.326, 265.0127, 18.4007)
36@ = Car.Create(599, 1308.398, 278.7967, 18.546)
Car.SetHeading(34@, 11.7173)
Car.SetHeading(35@, 70.3422)
Car.SetHeading(36@, 119.5617)
43@ = Char.CreateInsideCar(34@, PedType.Cop, 283)
Char.GiveWeapon(43@, WeaponType.Pistol, 1000)
44@ = Char.CreateInsideCar(35@, PedType.Cop, 283)
Char.GiveWeapon(44@, WeaponType.Pistol, 1000)
45@ = Char.CreateInsideCar(36@, PedType.Cop, 283)
Char.GiveWeapon(45@, WeaponType.Pistol, 1000)
TIMERA = 0

:CAT4_12244
if 
  97@ == 2
goto_if_false @CAT4_12726
if 
  TIMERA > 2000
goto_if_false @CAT4_12726
Camera.SetFixedPosition(819.5102, 10.5367, 1004.439, 0.0, 0.0, 0.0)
Camera.PointAtPoint(820.4842, 10.324, 1004.362, SwitchType.JumpCut)
56@ = Sequence.Open()
Task.PlayAnim(-1, "BOM_PLANT_IN", "BOMBER", 4.0, False, False, False, False, 0)
Task.PlayAnim(-1, "BOM_PLANT_LOOP", "BOMBER", 4.0, False, False, False, False, 5000)
Sequence.Close(56@)
Char.PerformSequence($stattreadstamina_ctr, 56@)
Sequence.Clear(56@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CAT4_12466
Char.StartFacialTalk($stattreadstamina_ctr, 100000)

:CAT4_12466
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9019)

:CAT4_12473
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_12499
wait 0
goto @CAT4_12473

:CAT4_12499
Text.PrintNow('CAT2_GA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_12519
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_12545
wait 0
goto @CAT4_12519

:CAT4_12545
Text.ClearThisPrint('CAT2_GA')
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CAT4_12577
Char.StopFacialTalk($stattreadstamina_ctr)

:CAT4_12577
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9020)

:CAT4_12584
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_12610
wait 0
goto @CAT4_12584

:CAT4_12610
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_12634
Char.StartFacialTalk($finaleB_played_first_time_round, 10000)

:CAT4_12634
Text.PrintNow('CAT2_GB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_12654
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_12680
wait 0
goto @CAT4_12654

:CAT4_12680
Text.ClearThisPrint('CAT2_GB')
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_12712
Char.StopFacialTalk($finaleB_played_first_time_round)

:CAT4_12712
TIMERA = 0
97@ = 3

:CAT4_12726
if 
  97@ == 3
goto_if_false @CAT4_13063
if 
  TIMERA > 1000
goto_if_false @CAT4_13063
Camera.SetFixedPosition(832.2155, 11.3956, 1003.388, 0.0, 0.0, 0.0)
Camera.PointAtPoint(831.3511, 10.9217, 1003.557, SwitchType.JumpCut)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9021)

:CAT4_12821
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_12847
wait 0
goto @CAT4_12821

:CAT4_12847
56@ = Sequence.Open()
Task.AchieveHeading(-1, 10.0)
Task.GoStraightToCoord(-1, 833.0, 10.0, 1003.0, MoveState.Run, -1)
Sequence.Close(56@)
Char.PerformSequence($stattreadstamina_ctr, 56@)
Sequence.Clear(56@)
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_12947
Char.ClearTasks($finaleB_played_first_time_round)
Task.GoStraightToCoord($finaleB_played_first_time_round, 834.0, 7.0, 1003.0, MoveState.Run, -1)

:CAT4_12947
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CAT4_12971
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:CAT4_12971
Text.PrintNow('CAT2_GC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_12991
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_13017
wait 0
goto @CAT4_12991

:CAT4_13017
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CAT4_13038
Char.StopFacialTalk($stattreadstamina_ctr)

:CAT4_13038
Text.ClearThisPrint('CAT2_GC')
TIMERA = 0
97@ = 4

:CAT4_13063
if 
  97@ == 4
goto_if_false @CAT4_13128
Camera.DoFade(1000, Fade.Out)

:CAT4_13088
if 
  Camera.GetFadingStatus
goto_if_false @CAT4_13112
wait 0
goto @CAT4_13088

:CAT4_13112
Player.MakeGangReappear
TIMERA = 0
97@ = 5

:CAT4_13128
if 
  TIMERB > 14800
goto_if_false @CAT4_13154
97@ = 10

:CAT4_13154
goto @CAT4_11759

:CAT4_13161
Streaming.SetAreaVisible(0)
Char.SetCoordinates($stattreadstamina_ctr, 1292.721, 271.0581, 18.5469)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 833.0, 9.0, 10.0)
Streaming.LoadScene(1292.721, 271.0581, 18.5469)
Char.SetHeading($stattreadstamina_ctr, 333.0)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Detonator)
goto_if_false @CAT4_13257
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Detonator)

:CAT4_13257
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_13359
Char.SetCoordinates($finaleB_played_first_time_round, 1292.66, 275.2182, 18.5547)
Char.SetHeading($finaleB_played_first_time_round, 340.1134)
Char.SetCantBeDraggedOut($finaleB_played_first_time_round, True)
Char.SetStayInCarWhenJacked($finaleB_played_first_time_round, True)
Char.SetProofs($finaleB_played_first_time_round, False, False, False, False, False)
Char.SetHasUsedEntryExit($finaleB_played_first_time_round, 833.0, 9.0, 10.0)
Char.SetAreaVisible($finaleB_played_first_time_round, 0)

:CAT4_13359
World.ClearArea(1292.721, 271.0581, 18.5469, 1000.0, True)
Camera.DoFade(1000, Fade.In)
if 
  not Car.IsDead(41@)
goto_if_false @CAT4_13540
if 
  Car.IsPassengerSeatFree(41@, SeatIndex.FrontRight)
goto_if_false @CAT4_13492
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_13485
Task.EnterCarAsPassenger($finaleB_played_first_time_round, 41@, -1, 0)
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_13478
Group.SetFollowStatus($flag_cell_nation, False)

:CAT4_13478
106@ = 1

:CAT4_13485
goto @CAT4_13533

:CAT4_13492
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_13526
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Group.SetFollowStatus($flag_cell_nation, True)

:CAT4_13526
106@ = 0

:CAT4_13533
goto @CAT4_13574

:CAT4_13540
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_13574
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Group.SetFollowStatus($flag_cell_nation, True)

:CAT4_13574
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Streaming.RemoveAnimation("BOMBER")
Hud.DisplayRadar(True)
Object.Delete(39@)
Object.Delete(40@)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Streaming.MarkModelAsNoLongerNeeded(#MAN_SAFENEW)
Streaming.MarkModelAsNoLongerNeeded(#KEV_SAFE)
Audio.SetRadioChannel(RadioChannel.KRose)
117@ = 1
Blip.Remove(112@)
88@ = 0
89@ = 1

:CAT4_13667
goto @CAT4_9030

:CAT4_13674
88@ = 0
89@ = 1
return 

:CAT4_13690
281@ = 0
277@ = 872.9051
278@ = -30.3161
279@ = 62.1893
World.SetCarDensityMultiplier(0.0)
gosub @CAT4_2145

:CAT4_13741
if 
  90@ <> 1
goto_if_false @CAT4_16160
wait 0
gosub @CAT4_2145
if 
  98@ == 0
goto_if_false @CAT4_14487
if 
  38@ == 0
goto_if_false @CAT4_14487
Player.AlterWantedLevel($statbike_temp, 4)
94@ = 4
Hud.DisplayRadar(True)
Char.SetHeading($stattreadstamina_ctr, 333.0)
Camera.SetBehindPlayer
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_14219
Char.SetAccuracy($finaleB_played_first_time_round, 100)
if 
  not Car.IsDead(41@)
goto_if_false @CAT4_14129
42@ = Car.GetModel(41@)
if and
  Car.IsPassengerSeatFree(41@, SeatIndex.FrontRight)
  Streaming.IsThisModelACar(42@)
goto_if_false @CAT4_14032
Char.SetCantBeDraggedOut($finaleB_played_first_time_round, True)
Char.SetStayInCarWhenJacked($finaleB_played_first_time_round, True)
114@ = Blip.AddForCar(41@)
Blip.SetAsFriendly(114@, True)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9813)

:CAT4_13942
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_13968
wait 0
goto @CAT4_13942

:CAT4_13968
Text.PrintNow('CATX_BF', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_13988
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_14014
wait 0
goto @CAT4_13988

:CAT4_14014
Text.ClearThisPrint('CATX_BF')
goto @CAT4_14122

:CAT4_14032
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9847)

:CAT4_14039
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_14065
wait 0
goto @CAT4_14039

:CAT4_14065
Text.PrintNow('CATX_NA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_14085
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_14111
wait 0
goto @CAT4_14085

:CAT4_14111
Text.ClearThisPrint('CATX_NA')

:CAT4_14122
goto @CAT4_14219

:CAT4_14129
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9847)

:CAT4_14136
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_14162
wait 0
goto @CAT4_14136

:CAT4_14162
Text.PrintNow('CATX_NA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_14182
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_14208
wait 0
goto @CAT4_14182

:CAT4_14208
Text.ClearThisPrint('CATX_NA')

:CAT4_14219
if 
  not Char.IsDead(43@)
goto_if_false @CAT4_14306
if 
  not Car.IsDead(34@)
goto_if_false @CAT4_14306
56@ = Sequence.Open()
Task.LeaveCar(-1, 34@)
Task.AimGunAtChar(-1, $stattreadstamina_ctr, 20000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(56@)
Char.PerformSequence(43@, 56@)
Sequence.Clear(56@)
Char.SetDecisionMaker(43@, 54@)

:CAT4_14306
if 
  not Char.IsDead(44@)
goto_if_false @CAT4_14393
if 
  not Car.IsDead(35@)
goto_if_false @CAT4_14393
56@ = Sequence.Open()
Task.LeaveCar(-1, 35@)
Task.AimGunAtChar(-1, $stattreadstamina_ctr, 20000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(56@)
Char.PerformSequence(44@, 56@)
Sequence.Clear(56@)
Char.SetDecisionMaker(44@, 54@)

:CAT4_14393
if 
  not Char.IsDead(45@)
goto_if_false @CAT4_14480
if 
  not Car.IsDead(36@)
goto_if_false @CAT4_14480
56@ = Sequence.Open()
Task.LeaveCar(-1, 36@)
Task.AimGunAtChar(-1, $stattreadstamina_ctr, 20000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(56@)
Char.PerformSequence(45@, 56@)
Sequence.Clear(56@)
Char.SetDecisionMaker(45@, 54@)

:CAT4_14480
98@ = 1

:CAT4_14487
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_15099
if 
  98@ == 1
goto_if_false @CAT4_14626
Car.MarkAsNoLongerNeeded(34@)
Car.MarkAsNoLongerNeeded(35@)
Car.MarkAsNoLongerNeeded(36@)
Char.MarkAsNoLongerNeeded(43@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
Car.MarkAsNoLongerNeeded(41@)
98@ = 2
if 
  Blip.DoesExist(115@)
goto_if_false @CAT4_14584
Blip.Remove(115@)

:CAT4_14584
if 
  Blip.DoesExist(116@)
goto_if_false @CAT4_14605
Blip.Remove(116@)

:CAT4_14605
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
98@ = 2

:CAT4_14626
if 
  98@ == 2
goto_if_false @CAT4_14931
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT4_14931
98@ = 3
281@ = 1
if 
  Blip.DoesExist(114@)
goto_if_false @CAT4_14695
Blip.Remove(114@)

:CAT4_14695
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_14729
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Group.SetFollowStatus($flag_cell_nation, True)

:CAT4_14729
if 
  not Car.IsDead(41@)
goto_if_false @CAT4_14767
Car.FreezePosition(41@, False)
Car.SetProofs(41@, False, False, False, False, False)

:CAT4_14767
if 
  93@ == 0
goto_if_false @CAT4_14826
if 
  not Blip.DoesExist(115@)
goto_if_false @CAT4_14826
115@ = Blip.AddForCoord(277@, 278@, 279@)
Blip.ChangeColor(115@, BlipColor.Yellow)
World.DisableAllEntryExits(False)

:CAT4_14826
if 
  93@ == 1
goto_if_false @CAT4_14931
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_14931
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_14931
if 
  not Blip.DoesExist(116@)
goto_if_false @CAT4_14931
116@ = Blip.AddSpriteForCoord(67@, 68@, 69@, RadarSprite.Spray)
Text.PrintNow('CAT4_32', 5000, 1)
World.DisableAllEntryExits(True)

:CAT4_14931
if 
  98@ == 3
goto_if_false @CAT4_15047
gosub @CAT4_16181
if 
  91@ == 1
goto_if_false @CAT4_14976
return 

:CAT4_14976
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_15047
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT4_15047
Char.ClearRelationship($finaleB_played_first_time_round, RelationshipType.Like, PedType.Cop)
99@ = 1
Char.SetRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Cop)
106@ = 0
98@ = 4

:CAT4_15047
if 
  98@ == 4
goto_if_false @CAT4_15092
gosub @CAT4_16181
if 
  91@ == 1
goto_if_false @CAT4_15092
return 

:CAT4_15092
goto @CAT4_15131

:CAT4_15099
89@ = 0
91@ = 1
Text.PrintNow('CAT4_15', 5000, 1)
return 

:CAT4_15131
if 
  93@ == 0
goto_if_false @CAT4_16153
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 277@, 278@, 279@, 4.0, 4.0, 4.0, True)
goto_if_false @CAT4_15191

:CAT4_15191
if 
  Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_15246
89@ = 0
91@ = 1
90@ = 0
Text.PrintNow('CAT4_15', 5000, 1)
return 

:CAT4_15246
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_15385
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CAT4_15385
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT4_15385
if and
  94@ >= 4
  is_int_lvar_greater_or_equal_to_int_lvar 110@ >= 94@
goto_if_false @CAT4_15385
if 
  94@ == 4
goto_if_false @CAT4_15378
shut_player_up $statbike_temp {_p2} 1
if 
  TIMERA > 10000
goto_if_false @CAT4_15371
gosub @CAT4_16824

:CAT4_15371
goto @CAT4_15385

:CAT4_15378
gosub @CAT4_16824

:CAT4_15385
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_16153
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 277@, 278@, 279@, 4.0, 4.0, 4.0, False)
  Char.LocateAnyMeans3D($finaleB_played_first_time_round, 277@, 278@, 279@, 10.0, 10.0, 10.0, False)
goto_if_false @CAT4_16153
90@ = 1
91@ = 0
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 277@, 278@, 279@, 10.0, 10.0, 10.0, True)
goto_if_false @CAT4_15560
Player.SetControl($statbike_temp, False)
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)

:CAT4_15560
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
TIMERA = 0
TIMERB = 0
97@ = 0

:CAT4_15592
if 
  97@ <> 10
goto_if_false @CAT4_16133
wait 0
World.ClearArea(866.7373, -24.0333, 64.9955, 1000.0, True)
if 
  97@ == 0
goto_if_false @CAT4_15808
97@ = 1
Camera.SetFixedPosition(866.3945, -23.1135, 65.1866, 0.0, 0.0, 0.0)
Camera.PointAtPoint(866.7373, -24.0333, 64.9955, SwitchType.JumpCut)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9007)

:CAT4_15725
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_15751
wait 0
goto @CAT4_15725

:CAT4_15751
Text.PrintNow('CAT2_CA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_15771
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_15797
wait 0
goto @CAT4_15771

:CAT4_15797
Text.ClearThisPrint('CAT2_CA')

:CAT4_15808
if 
  97@ == 1
goto_if_false @CAT4_15923
97@ = 2
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9860)

:CAT4_15840
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_15866
wait 0
goto @CAT4_15840

:CAT4_15866
Text.PrintNow('CATX_RC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_15886
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_15912
wait 0
goto @CAT4_15886

:CAT4_15912
Text.ClearThisPrint('CATX_RC')

:CAT4_15923
if 
  97@ == 2
goto_if_false @CAT4_16016
97@ = 3
TIMERA = 0
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_16016
if 
  Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_15995
Char.RemoveFromGroup($finaleB_played_first_time_round)

:CAT4_15995
if 
  Char.IsInAnyCar($finaleB_played_first_time_round)
goto_if_false @CAT4_16016
Task.LeaveAnyCar($finaleB_played_first_time_round)

:CAT4_16016
if 
  97@ == 3
goto_if_false @CAT4_16100
if 
  1500 > TIMERA
goto_if_false @CAT4_16100
97@ = 4
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_16100
Task.GoStraightToCoord($finaleB_played_first_time_round, 869.84, -26.24, 63.1797, MoveState.Walk, -1)

:CAT4_16100
if 
  TIMERB > 7000
goto_if_false @CAT4_16126
97@ = 10

:CAT4_16126
goto @CAT4_15592

:CAT4_16133
Char.Delete($finaleB_played_first_time_round)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer

:CAT4_16153
goto @CAT4_13741

:CAT4_16160
Blip.Remove(115@)
90@ = 1
89@ = 0
return 

:CAT4_16181
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_16778
if 
  93@ == 1
goto_if_false @CAT4_16238
if 
  Char.IsShooting($finaleB_played_first_time_round)
goto_if_false @CAT4_16238
gosub @CAT4_17033

:CAT4_16238
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_16771
Text.PrintNow('CAT4_16', 4000, 1)
if 
  89@ == 1
goto_if_false @CAT4_16333
if 
  Blip.DoesExist(116@)
goto_if_false @CAT4_16312
Blip.Remove(116@)

:CAT4_16312
if 
  Blip.DoesExist(115@)
goto_if_false @CAT4_16333
Blip.Remove(115@)

:CAT4_16333
if 
  not Blip.DoesExist(113@)
goto_if_false @CAT4_16380
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_16380
113@ = Blip.AddForChar($finaleB_played_first_time_round)
Blip.SetAsFriendly(113@, True)

:CAT4_16380
if 
  not Char.IsGroupMember($finaleB_played_first_time_round, $flag_cell_nation)
goto_if_false @CAT4_16771
wait 0
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_16720
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $finaleB_played_first_time_round, 200.0, 200.0, 200.0, False)
goto_if_false @CAT4_16494
88@ = 0
89@ = 0
91@ = 1
Text.PrintNow('CAT4_14', 5000, 1)
return 

:CAT4_16494
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $finaleB_played_first_time_round, 8.0, 8.0, 8.0, False)
goto_if_false @CAT4_16713
Group.SetMember($flag_cell_nation, $finaleB_played_first_time_round)
Group.SetFollowStatus($flag_cell_nation, True)
Blip.Remove(113@)
if 
  89@ == 1
goto_if_false @CAT4_16713
if 
  93@ == 0
goto_if_false @CAT4_16643
if 
  not Blip.DoesExist(115@)
goto_if_false @CAT4_16643
115@ = Blip.AddForCoord(277@, 278@, 279@)
Blip.ChangeColor(115@, BlipColor.Yellow)
Text.PrintNow('CAT4_13', 10000, 1)
World.DisableAllEntryExits(False)

:CAT4_16643
if 
  93@ == 1
goto_if_false @CAT4_16713
if 
  not Blip.DoesExist(116@)
goto_if_false @CAT4_16713
116@ = Blip.AddSpriteForCoord(67@, 68@, 69@, RadarSprite.Spray)
Text.PrintNow('CAT4_32', 5000, 1)
World.DisableAllEntryExits(True)

:CAT4_16713
goto @CAT4_16764

:CAT4_16720
Blip.Remove(112@)
88@ = 0
89@ = 0
91@ = 1
Text.PrintNow('CAT4_15', 5000, 1)
return 

:CAT4_16764
goto @CAT4_16380

:CAT4_16771
goto @CAT4_16822

:CAT4_16778
Blip.Remove(112@)
88@ = 0
89@ = 0
91@ = 1
Text.PrintNow('CAT4_15', 5000, 1)
return 

:CAT4_16822
return 

:CAT4_16824
if 
  107@ == 0
goto_if_false @CAT4_16887
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_16865
Char.ShutUpForScriptedSpeech($finaleB_played_first_time_round, True)

:CAT4_16865
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 222@(274@,52i))
107@ = 1

:CAT4_16887
if 
  107@ == 1
goto_if_false @CAT4_16945
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_16945
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(118@(274@,52s), 10000, 1)
107@ = 2

:CAT4_16945
if 
  107@ == 2
goto_if_false @CAT4_17031
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17031
107@ = 0
Text.ClearThisPrint(118@(274@,52s))
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_17017
Char.ShutUpForScriptedSpeech($finaleB_played_first_time_round, False)

:CAT4_17017
274@ += 1
94@ += 1

:CAT4_17031
return 

:CAT4_17033
if 
  95@ == 0
goto_if_false @CAT4_17150
95@ = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9861)

:CAT4_17065
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17091
wait 0
goto @CAT4_17065

:CAT4_17091
Text.PrintNow('CATX_SA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_17111
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17137
wait 0
goto @CAT4_17111

:CAT4_17137
Text.ClearThisPrint('CATX_SA')
return 

:CAT4_17150
if 
  95@ == 1
goto_if_false @CAT4_17267
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9862)

:CAT4_17175
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17201
wait 0
goto @CAT4_17175

:CAT4_17201
Text.PrintNow('CATX_SB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_17221
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17247
wait 0
goto @CAT4_17221

:CAT4_17247
Text.ClearThisPrint('CATX_SB')
95@ = 2
return 

:CAT4_17267
if 
  95@ == 2
goto_if_false @CAT4_17384
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9863)

:CAT4_17292
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17318
wait 0
goto @CAT4_17292

:CAT4_17318
Text.PrintNow('CATX_SC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_17338
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17364
wait 0
goto @CAT4_17338

:CAT4_17364
Text.ClearThisPrint('CATX_SC')
95@ = 3
return 

:CAT4_17384
if 
  95@ == 3
goto_if_false @CAT4_17501
95@ = 4
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9864)

:CAT4_17416
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17442
wait 0
goto @CAT4_17416

:CAT4_17442
Text.PrintNow('CATX_SD', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_17462
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17488
wait 0
goto @CAT4_17462

:CAT4_17488
Text.ClearThisPrint('CATX_SD')
return 

:CAT4_17501
if 
  95@ == 4
goto_if_false @CAT4_17618
95@ = 5
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9865)

:CAT4_17533
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17559
wait 0
goto @CAT4_17533

:CAT4_17559
Text.PrintNow('CATX_SE', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_17579
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17605
wait 0
goto @CAT4_17579

:CAT4_17605
Text.ClearThisPrint('CATX_SE')
return 

:CAT4_17618
if 
  95@ == 5
goto_if_false @CAT4_17735
95@ = 6
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9866)

:CAT4_17650
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17676
wait 0
goto @CAT4_17650

:CAT4_17676
Text.PrintNow('CATX_SF', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_17696
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17722
wait 0
goto @CAT4_17696

:CAT4_17722
Text.ClearThisPrint('CATX_SF')
return 

:CAT4_17735
if 
  95@ == 6
goto_if_false @CAT4_17852
95@ = 7
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9867)

:CAT4_17767
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17793
wait 0
goto @CAT4_17767

:CAT4_17793
Text.PrintNow('CATX_SG', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_17813
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17839
wait 0
goto @CAT4_17813

:CAT4_17839
Text.ClearThisPrint('CATX_SG')
return 

:CAT4_17852
if 
  95@ == 7
goto_if_false @CAT4_17969
95@ = 8
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9868)

:CAT4_17884
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17910
wait 0
goto @CAT4_17884

:CAT4_17910
Text.PrintNow('CATX_SH', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_17930
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_17956
wait 0
goto @CAT4_17930

:CAT4_17956
Text.ClearThisPrint('CATX_SH')
return 

:CAT4_17969
if 
  95@ == 8
goto_if_false @CAT4_18086
95@ = 9
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9872)

:CAT4_18001
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_18027
wait 0
goto @CAT4_18001

:CAT4_18027
Text.PrintNow('CATX_TD', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_18047
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_18073
wait 0
goto @CAT4_18047

:CAT4_18073
Text.ClearThisPrint('CATX_TD')
return 

:CAT4_18086
if 
  95@ == 9
goto_if_false @CAT4_18203
95@ = 10
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9877)

:CAT4_18118
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_18144
wait 0
goto @CAT4_18118

:CAT4_18144
Text.PrintNow('CATX_TJ', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_18164
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_18190
wait 0
goto @CAT4_18164

:CAT4_18190
Text.ClearThisPrint('CATX_TJ')
return 

:CAT4_18203
if 
  95@ == 10
goto_if_false @CAT4_18320
95@ = 0
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 9884)

:CAT4_18235
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CAT4_18261
wait 0
goto @CAT4_18235

:CAT4_18261
Text.PrintNow('CATX_TQ', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:CAT4_18281
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CAT4_18307
wait 0
goto @CAT4_18281

:CAT4_18307
Text.ClearThisPrint('CATX_TQ')
return 

:CAT4_18320
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Char.Delete($finaleB_played_first_time_round)
103@ = 0
return 

:CAT4_18350
Text.PrintWithNumberBig('M_PASS', 2000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 2000)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
$distance += 1
$propertyX += 1
Stat.RegisterMissionPassed('CAT_4')
Stat.PlayerMadeProgress(1)
if 
  $pimpX == 1
goto_if_false @CAT4_18440
$pimpX = 2

:CAT4_18440
$stat = 1
return 

:CAT4_18449
Text.ClearHelp
$weapon_shop1_blip = 0
Hud.DisplayRadar(True)
World.DisableAllEntryExits(False)
World.SwitchEntryExit('GENOTB', True)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CAT4_18502
shut_player_up $statbike_temp {_p2} 0

:CAT4_18502
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_18533
Char.SetProofs($finaleB_played_first_time_round, False, False, False, False, False)

:CAT4_18533
if 
  not Car.IsDead(41@)
goto_if_false @CAT4_18578
Car.FreezePosition(41@, False)
Car.SetProofs(41@, False, False, False, False, False)
Car.SetCanBurstTires(41@, True)

:CAT4_18578
Char.RemoveElegantly($finaleB_played_first_time_round)
53@ = 4

:CAT4_18590
if 
  6 > 53@
goto_if_false @CAT4_18631
Char.MarkAsNoLongerNeeded(46@(53@,6i))
53@ += 1
goto @CAT4_18590

:CAT4_18631
Streaming.RemoveAnimation("MISC")
Streaming.MarkModelAsNoLongerNeeded(283)
Streaming.MarkModelAsNoLongerNeeded(407)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(416)
Streaming.MarkModelAsNoLongerNeeded(277)
Streaming.MarkModelAsNoLongerNeeded(#ROADWORKBARRIER1)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(599)
Streaming.MarkModelAsNoLongerNeeded(348)
Streaming.MarkModelAsNoLongerNeeded(364)
Streaming.MarkModelAsNoLongerNeeded(363)
Car.MarkAsNoLongerNeeded(34@)
Car.MarkAsNoLongerNeeded(35@)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(41@)
Char.MarkAsNoLongerNeeded(43@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
Object.MarkAsNoLongerNeeded(39@)
Object.MarkAsNoLongerNeeded(40@)
Streaming.MarkModelAsNoLongerNeeded(#RIDER1_DOOR)
Streaming.MarkModelAsNoLongerNeeded(#KEV_SAFE)
Streaming.MarkModelAsNoLongerNeeded(#MAN_SAFENEW)
Car.MarkAsNoLongerNeeded(41@)
$2885 = 0
if 
  not Char.IsDead($finaleB_played_first_time_round)
goto_if_false @CAT4_18805
Char.ClearRelationship($finaleB_played_first_time_round, RelationshipType.Hate, PedType.Cop)
Char.ClearRelationship($finaleB_played_first_time_round, RelationshipType.Like, PedType.Cop)

:CAT4_18805
Streaming.RemoveAnimation("BOMBER")
$flag_dozer_passed_1stime = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Blip.Remove(112@)
Blip.Remove(113@)
Blip.Remove(114@)
Blip.Remove(115@)
Blip.Remove(116@)
$flag_strap_mission_counter = Blip.AddShortRangeSpriteForCoord(720.016, -454.625, 15.328, RadarSprite.Spray)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
DecisionMaker.Remove(54@)
DecisionMaker.Remove(55@)
World.RemoveAllScriptFires
Mission.Finish
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Group.SetSeparationRange($flag_cell_nation, 30.0)
88@ = 1
89@ = 0
90@ = 0
91@ = 0
96@ = 0
$6994 = 0
99@ = 0
$flag_dozer_passed_1stime = 0
92@ = 0
98@ = 0
100@ = 0
104@ = 0
102@ = 0
94@ = 0
95@ = 0
103@ = 0
38@ = 0
97@ = 0
93@ = 0
101@ = 0
117@ = 0
$mtbikerace_selection = 0
return 

//-------------Mission 45---------------
// Originally: King in Exile

:CATCUT
script_name 'CATCUT'
gosub @CATCUT_302
if 
  has_deatharrest_been_executed 
goto_if_false @CATCUT_38
gosub @CATCUT_795

:CATCUT_38
gosub @CATCUT_912
terminate_this_script 

:CATCUT_47
switch_start 34@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @CATCUT_300 {caseNum1} 0 {caseLabel1} @CATCUT_110 {caseNum2} -1 {caseLabel2} @CATCUT_300 {caseNum3} -1 {caseLabel3} @CATCUT_300 {caseNum4} -1 {caseLabel4} @CATCUT_300 {caseNum5} -1 {caseLabel5} @CATCUT_300 {caseNum6} -1 {caseLabel6} @CATCUT_300 {caseNum7} -1 {caseLabel7} @CATCUT_300

:CATCUT_110
set_var_text_label s$6997[0] = 'MCAT01A'
set_var_text_label s$6997[1] = 'MCAT01B'
set_var_text_label s$6997[2] = 'MCAT01C'
set_var_text_label s$6997[3] = 'MCAT01D'
set_var_text_label s$6997[4] = 'MCAT01E'
set_var_text_label s$6997[5] = 'MCAT01F'
set_var_text_label s$6997[6] = 'MCAT01G'
set_var_text_label s$6997[7] = 'MCAT01H'
set_lvar_int_to_constant 39@ = 25000
set_lvar_int_to_constant 40@ = 25001
set_lvar_int_to_constant 41@ = 25002
set_lvar_int_to_constant 42@ = 25003
set_lvar_int_to_constant 43@ = 25004
set_lvar_int_to_constant 44@ = 25005
set_lvar_int_to_constant 45@ = 25006
set_lvar_int_to_constant 46@ = 25007
38@ = 7
goto @CATCUT_300

:CATCUT_300
return 

:CATCUT_302
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
Text.LoadMissionText('BCESAR2')
wait 0
Streaming.SetAreaVisible(2)
Cutscene.Load('BCESAR2')

:CATCUT_341
if 
  not Cutscene.HasLoaded
goto_if_false @CATCUT_365
wait 0
goto @CATCUT_341

:CATCUT_365
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CATCUT_374
if 
  not Cutscene.HasFinished
goto_if_false @CATCUT_398
wait 0
goto @CATCUT_374

:CATCUT_398
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CATCUT_411
if 
  Camera.GetFadingStatus
goto_if_false @CATCUT_435
wait 0
goto @CATCUT_411

:CATCUT_435
Cutscene.Clear
Streaming.SetAreaVisible(0)
Streaming.RequestModel(330)

:CATCUT_446
if 
  not Streaming.HasModelLoaded(330)
goto_if_false @CATCUT_473
wait 0
goto @CATCUT_446

:CATCUT_473
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 23000)
35@ = 0
36@ = 0
37@ = 0
34@ = 0
gosub @CATCUT_47
Char.SetCoordinates($stattreadstamina_ctr, -2042.129, -2528.791, 29.625)
Char.SetHeading($stattreadstamina_ctr, 284.27)
Streaming.LoadScene(-2042.129, -2528.791, 29.625)
Camera.RestoreJumpcut
Camera.DoFade(1000, Fade.In)

:CATCUT_571
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @CATCUT_597
wait 0
goto @CATCUT_571

:CATCUT_597
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
TIMERA = 0

:CATCUT_608
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @CATCUT_660
wait 0
if 
  1500 > TIMERA
goto_if_false @CATCUT_653
goto @CATCUT_660

:CATCUT_653
goto @CATCUT_608

:CATCUT_660
Task.UseMobilePhone($stattreadstamina_ctr, True)
TIMERA = 0

:CATCUT_674
if 
  1500 > TIMERA
goto_if_false @CATCUT_704
wait 0
goto @CATCUT_674

:CATCUT_704
Player.SetControl($statbike_temp, True)

:CATCUT_711
if 
  35@ <> 8
goto_if_false @CATCUT_771
wait 0
gosub @CATCUT_933
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CATCUT_764
goto @CATCUT_771

:CATCUT_764
goto @CATCUT_711

:CATCUT_771
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Task.UseMobilePhone($stattreadstamina_ctr, False)
goto @CATCUT_813

:CATCUT_795
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:CATCUT_813
Blip.Remove($truth_blip_icon)
Player.ClearWantedLevel($statbike_temp)
$bs_the180_best_score = 1
Blip.Remove($cat_blip_icon)
$cat_blip_icon = Blip.AddSpriteForContactPoint($510, $516, $522, $flag_truth_mission_counter)
Blip.Remove($buying_property_switch)
$buying_property_switch = Blip.AddShortRangeSpriteForContactPoint($890[14], $908[14], $926[14], RadarSprite.SaveGame)
Blip.ChangeDisplay($buying_property_switch, BlipDisplay.BlipOnly)
Pickup.Remove($869[14])
$869[14] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[14], $908[14], $926[14])
$889 = 15
return 

:CATCUT_912
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
Streaming.MarkModelAsNoLongerNeeded(330)
return 

:CATCUT_933
if or
  36@ == 0
  36@ == 1
goto_if_false @CATCUT_984
if 
  is_int_lvar_greater_or_equal_to_int_lvar 38@ >= 35@
goto_if_false @CATCUT_984
gosub @CATCUT_1042

:CATCUT_984
if 
  36@ == 2
goto_if_false @CATCUT_1040
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CATCUT_1040
36@ = 0
35@ += 1
37@ = 0
Text.ClearPrints

:CATCUT_1040
return 

:CATCUT_1042
if 
  36@ == 0
goto_if_false @CATCUT_1078
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39@(35@,8i))
36@ = 1

:CATCUT_1078
if 
  36@ == 1
goto_if_false @CATCUT_1136
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CATCUT_1136
Text.PrintNow($6997(35@,8s), 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
36@ = 2

:CATCUT_1136
return 

//-------------Mission 46---------------
// Originally: Body Harvest

:TRUTH1
script_name 'TRUTH1'
gosub @TRUTH1_47
if 
  has_deatharrest_been_executed 
goto_if_false @TRUTH1_38
gosub @TRUTH1_16379

:TRUTH1_38
gosub @TRUTH1_16535
terminate_this_script 

:TRUTH1_47
Stat.RegisterMissionGiven
Text.LoadMissionText('TRU1')
$weapon_shop1_blip = 1
wait 0
Streaming.SetAreaVisible(12)
Cutscene.Load('TRUTH_1')

:TRUTH1_86
if 
  not Cutscene.HasLoaded
goto_if_false @TRUTH1_110
wait 0
goto @TRUTH1_86

:TRUTH1_110
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:TRUTH1_119
if 
  not Cutscene.HasFinished
goto_if_false @TRUTH1_143
wait 0
goto @TRUTH1_119

:TRUTH1_143
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:TRUTH1_158
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH1_182
wait 0
goto @TRUTH1_158

:TRUTH1_182
Streaming.SetAreaVisible(0)
Camera.SetFadingColor(0, 0, 0)
Streaming.RequestModel(532)
Streaming.RequestModel(531)
Streaming.RequestModel(#KMB_MARIJUANA)
Streaming.RequestCarRecording(348)
Streaming.RequestModel(#SW_HAYBREAK02)
Streaming.RequestModel(357)
Streaming.RequestModel(478)
Streaming.RequestModel(337)
Streaming.RequestModel(157)
Streaming.RequestModel(160)
Streaming.RequestModel(162)
Streaming.LoadAllModelsNow

:TRUTH1_251
if or
  not Streaming.HasModelLoaded(532)
  not Streaming.HasModelLoaded(531)
  not Streaming.HasModelLoaded(#KMB_MARIJUANA)
  not Streaming.HasModelLoaded(157)
  not Streaming.HasModelLoaded(160)
goto_if_false @TRUTH1_298
wait 0
goto @TRUTH1_251

:TRUTH1_298
if or
  not Streaming.HasCarRecordingBeenLoaded(348)
  not Streaming.HasModelLoaded(#SW_HAYBREAK02)
  not Streaming.HasModelLoaded(357)
  not Streaming.HasModelLoaded(162)
goto_if_false @TRUTH1_340
wait 0
goto @TRUTH1_298

:TRUTH1_340
if or
  not Streaming.HasModelLoaded(478)
  not Streaming.HasModelLoaded(337)
goto_if_false @TRUTH1_372
wait 0
goto @TRUTH1_340

:TRUTH1_372
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
116@ = Blip.AddForCoord(-1047.593, -1347.254, 129.216)
97@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.ClearEventResponse(97@, 7)
DecisionMakerChar.AddEventResponse(97@, 7, 1000, 50.0, 50.0, 50.0, 50.0, True, True)
98@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Mission1)
Char.SetCoordinates($stattreadstamina_ctr, -2195.9, -2258.029, 30.0)
Char.SetHeading($stattreadstamina_ctr, 141.0)
Streaming.LoadSceneInDirection(-2196.46, -2256.96, 31.43, 141.0)
Camera.DoFade(500, Fade.In)
117@ = 0
119@ = 0
120@ = 0
121@ = 0
122@ = 0
123@ = 0
124@ = 0
125@ = 0
126@ = 0
127@ = 0
128@ = 0
129@ = 0
130@ = 0
131@ = 0
132@ = 0
133@ = 0
134@ = 0
135@ = 0
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0
118@ = 0
143@ = 0
144@ = 0
145@ = 0
146@ = 0
Text.PrintNow('TRU1_1', 10000, 1)
if 
  122@ == 100
goto_if_false @TRUTH1_888
43@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
44@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
45@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
46@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
47@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
48@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
122@ = 101

:TRUTH1_888
Game.SetWantedMultiplier(0.3)
if 
  $flag_is_zero_on_bike > 0
goto_if_false @TRUTH1_935
Skip.SetUp(-1084.219, -1341.156, 128.365, 257.771)

:TRUTH1_935
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @TRUTH1_961
goto @TRUTH1_16397

:TRUTH1_961
if 
  118@ == 0
goto_if_false @TRUTH1_4518
if 
  117@ == 0
goto_if_false @TRUTH1_2275
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1047.593, -1347.254, 129.39, 4.0, 4.0, 4.0, True)
goto_if_false @TRUTH1_2275
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Blip.Remove(116@)
Camera.DoFade(500, Fade.Out)

:TRUTH1_1068
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH1_1092
wait 0
goto @TRUTH1_1068

:TRUTH1_1092
if 
  $flag_is_zero_on_bike == 0
goto_if_false @TRUTH1_1117
$flag_is_zero_on_bike = 1

:TRUTH1_1117
Skip.Clear
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @TRUTH1_1143
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)

:TRUTH1_1143
34@ = Car.Create(532, -1060.25, -1044.209, 128.2188)
Car.SetHeading(34@, 84.2638)
Car.SetStraightLineDistance(34@, 100)
Car.GotoCoordinates(34@, -1136.78, -1044.209, 128.2188)
Car.SetCruiseSpeed(34@, 7.0)
38@ = Char.CreateInsideCar(34@, PedType.Mission1, 160)
wait 500
Camera.DoFade(1000, Fade.In)
Camera.SetFixedPosition(-1073.802, -1038.203, 128.492, 0.0, 0.0, 0.0)
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_1295
Camera.PointAtCar(34@, CameraMode.Fixed, SwitchType.JumpCut)

:TRUTH1_1295
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @TRUTH1_1336
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Car.SetHeading($stealth_help_flag, 355.69)
goto @TRUTH1_1346

:TRUTH1_1336
Char.SetHeading($stattreadstamina_ctr, 355.73)

:TRUTH1_1346
90@ = Car.Create(531, -1043.989, -1312.677, 128.772)
Car.SetHeading(90@, 1.243)
Car.SetCanBurstTires(90@, False)
Car.SetHealth(90@, 2000)
60@ = Object.CreateNoOffset(#SW_HAYBREAK02, -1053.792, -1187.624, 129.396)
61@ = Object.CreateNoOffset(#SW_HAYBREAK02, -1038.506, -1154.722, 129.699)
62@ = Object.CreateNoOffset(#SW_HAYBREAK02, -1105.419, -1112.451, 128.864)
63@ = Object.CreateNoOffset(#SW_HAYBREAK02, -1182.346, -1043.797, 129.699)
64@ = Object.CreateNoOffset(#SW_HAYBREAK02, -1141.389, -1008.254, 129.735)
65@ = Object.CreateNoOffset(#SW_HAYBREAK02, -1197.385, -1084.951, 129.743)
66@ = Object.CreateNoOffset(#SW_HAYBREAK02, -1161.353, -1117.198, 129.049)
35@ = Car.Create(531, -1115.569, -1115.231, 128.366)
39@ = Char.CreateInsideCar(35@, PedType.Mission1, 160)
Car.SetHeading(35@, 274.604)
49@ = Char.Create(PedType.Mission1, 160, -1064.341, -1283.63, 128.247)
Char.SetHeading(49@, 116.09)
Task.PlayAnim(49@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(49@, 97@)
Char.SetHealth(49@, 50)
Char.SetFollowNodeThresholdDistance(49@, 100.0)
Char.GiveWeapon(49@, WeaponType.Rifle, 99999)
50@ = Char.Create(PedType.Mission1, 157, -1074.646, -1095.812, 128.245)
Char.SetHeading(50@, 96.069)
Task.PlayAnim(50@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(50@, 97@)
Char.SetHealth(50@, 50)
Char.SetFollowNodeThresholdDistance(50@, 100.0)
52@ = Char.Create(PedType.Mission1, 157, -1135.339, -1134.299, 128.259)
Char.SetHeading(52@, 90.157)
Task.PlayAnim(52@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(52@, 97@)
Char.SetHealth(52@, 50)
Char.SetFollowNodeThresholdDistance(52@, 100.0)
53@ = Char.Create(PedType.Mission1, 162, -1121.739, -1095.64, 128.247)
Char.SetHeading(53@, 94.64)
Task.PlayAnim(53@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(53@, 97@)
Char.SetHealth(53@, 50)
54@ = Char.Create(PedType.Mission1, 157, -1121.713, -1084.165, 128.247)
Char.SetHeading(54@, 79.746)
Task.PlayAnim(54@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(54@, 97@)
Char.SetHealth(54@, 50)
Char.SetFollowNodeThresholdDistance(54@, 100.0)
55@ = Char.Create(PedType.Mission1, 162, -1159.367, -1134.375, 128.259)
Char.SetHeading(55@, 270.749)
Task.PlayAnim(55@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(55@, 97@)
Char.SetHealth(55@, 50)
Char.SetFollowNodeThresholdDistance(55@, 100.0)
Text.PrintNow('TRU1_2', 7000, 1)
wait 200
51@ = Char.Create(PedType.Mission1, 162, -1074.332, -1084.388, 128.244)
Char.SetHeading(51@, 60.659)
Task.PlayAnim(51@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(51@, 97@)
Char.SetHealth(51@, 50)
Char.SetFollowNodeThresholdDistance(51@, 30.0)
TIMERA = 0
TIMERB = 0
117@ = 1

:TRUTH1_2275
if 
  TIMERB > 1800
goto_if_false @TRUTH1_2393
if 
  117@ == 1
goto_if_false @TRUTH1_2393
121@ = 0
skip_cutscene_start_internal @TRUTH1_2749
if 
  not Car.IsDead(35@)
goto_if_false @TRUTH1_2379
Car.SetStraightLineDistance(35@, 100)
Car.GotoCoordinates(35@, -1061.059, -1116.129, 128.366)
Car.SetCruiseSpeed(35@, 10.0)

:TRUTH1_2379
TIMERB = 0
117@ = 2

:TRUTH1_2393
if 
  117@ == 2
goto_if_false @TRUTH1_2587
if 
  TIMERB > 5000
goto_if_false @TRUTH1_2587
Camera.SetFixedPosition(-1057.875, -1120.592, 136.4117, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1058.704, -1120.089, 136.1667, SwitchType.JumpCut)
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_2557
Car.SetCoordinates(34@, -1082.138, -1046.893, 129.29)
Car.SetHeading(34@, 84.2638)
Car.GotoCoordinates(34@, -1195.58, -1045.87, 129.1)
Car.SetCruiseSpeed(34@, 7.0)

:TRUTH1_2557
Text.PrintNow('TRU1_3', 7000, 1)
TIMERB = 0
117@ = 3

:TRUTH1_2587
if 
  117@ == 3
goto_if_false @TRUTH1_2705
if 
  TIMERB > 7000
goto_if_false @TRUTH1_2705
Camera.SetFixedPosition(-1035.782, -1331.041, 134.0494, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1036.184, -1330.134, 133.9223, SwitchType.JumpCut)
Text.PrintNow('TRU1_4', 10000, 1)
TIMERB = 0
117@ = 4

:TRUTH1_2705
if 
  117@ == 4
goto_if_false @TRUTH1_4518
if 
  TIMERB > 5000
goto_if_false @TRUTH1_4518
121@ = 1

:TRUTH1_2749
skip_cutscene_end 
if 
  121@ == 0
goto_if_false @TRUTH1_3570
Camera.DoFade(500, Fade.Out)

:TRUTH1_2776
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH1_2800
wait 0
goto @TRUTH1_2776

:TRUTH1_2800
Car.Delete(34@)
Car.Delete(35@)
Object.Delete(43@)
Object.Delete(44@)
Object.Delete(45@)
Object.Delete(46@)
Object.Delete(47@)
Object.Delete(48@)
Char.Delete(38@)
Char.Delete(49@)
Char.Delete(50@)
Char.Delete(51@)
Char.Delete(52@)
Char.Delete(53@)
Char.Delete(54@)
Char.Delete(55@)
49@ = Char.Create(PedType.Mission1, 160, -1064.341, -1283.63, 128.247)
Char.SetHeading(49@, 116.09)
Task.PlayAnim(49@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(49@, 97@)
Char.SetHealth(49@, 50)
Char.SetFollowNodeThresholdDistance(49@, 100.0)
Char.GiveWeapon(49@, WeaponType.Rifle, 99999)
50@ = Char.Create(PedType.Mission1, 157, -1074.646, -1095.812, 128.245)
Char.SetHeading(50@, 96.069)
Task.PlayAnim(50@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(50@, 97@)
Char.SetHealth(50@, 50)
Char.SetFollowNodeThresholdDistance(50@, 100.0)
51@ = Char.Create(PedType.Mission1, 162, -1074.332, -1084.388, 128.244)
Char.SetHeading(51@, 60.659)
Task.PlayAnim(51@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(51@, 97@)
Char.SetHealth(51@, 50)
Char.SetFollowNodeThresholdDistance(51@, 100.0)
52@ = Char.Create(PedType.Mission1, 157, -1135.339, -1134.299, 128.259)
Char.SetHeading(52@, 90.157)
Task.PlayAnim(52@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(52@, 97@)
Char.SetHealth(52@, 50)
Char.SetFollowNodeThresholdDistance(52@, 100.0)
53@ = Char.Create(PedType.Mission1, 162, -1121.739, -1095.64, 128.247)
Char.SetHeading(53@, 94.64)
Task.PlayAnim(53@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(53@, 97@)
Char.SetHealth(53@, 50)
54@ = Char.Create(PedType.Mission1, 157, -1121.713, -1084.165, 128.247)
Char.SetHeading(54@, 79.746)
Task.PlayAnim(54@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(54@, 97@)
Char.SetHealth(54@, 50)
Char.SetFollowNodeThresholdDistance(54@, 100.0)
55@ = Char.Create(PedType.Mission1, 162, -1159.367, -1134.375, 128.259)
Char.SetHeading(55@, 270.749)
Task.PlayAnim(55@, "ATM", "PED", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(55@, 97@)
Char.SetHealth(55@, 50)
Char.SetFollowNodeThresholdDistance(55@, 100.0)
Streaming.LoadScene(-1049.08, -1268.08, 127.81)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Text.ClearPrints
Camera.DoFade(500, Fade.In)

:TRUTH1_3546
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH1_3570
wait 0
goto @TRUTH1_3546

:TRUTH1_3570
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Text.PrintNow('TRU1_4', 7000, 1)
Car.Delete(34@)
Char.Delete(38@)
Char.Delete(39@)
Car.Delete(35@)
34@ = Car.Create(532, -1023.706, -933.357, 129.292)
Car.SetHeading(34@, 177.348)
Car.SetStraightLineDistance(34@, 20)
38@ = Char.CreateInsideCar(34@, PedType.Mission1, 160)
Char.SetDecisionMaker(38@, 97@)
Char.SetAccuracy(38@, 30)
Car.SetHealth(34@, 9000)
116@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(116@, True)
Car.SetCanBurstTires(34@, False)
56@ = Car.Create(531, -1029.287, -1183.826, 128.184)
Car.SetHeading(56@, 90.725)
57@ = Char.CreateInsideCar(56@, PedType.Mission1, 162)
Char.SetDecisionMaker(57@, 97@)
Char.GiveWeapon(57@, WeaponType.Shovel, 1)
Char.SetAccuracy(57@, 50)
58@ = Car.Create(531, -1067.128, -1153.574, 128.2188)
Car.SetHeading(58@, 272.1696)
59@ = Char.CreateInsideCar(58@, PedType.Mission1, 157)
Char.SetDecisionMaker(59@, 97@)
Char.GiveWeapon(59@, WeaponType.Shovel, 1)
Char.SetAccuracy(59@, 50)
118@ = 1
if 
  not Char.IsDead(50@)
goto_if_false @TRUTH1_3894
Char.GiveWeapon(50@, WeaponType.Rifle, 99999)

:TRUTH1_3894
if 
  not Char.IsDead(52@)
goto_if_false @TRUTH1_3919
Char.GiveWeapon(52@, WeaponType.Shovel, 1)

:TRUTH1_3919
if 
  not Char.IsDead(53@)
goto_if_false @TRUTH1_3944
Char.GiveWeapon(53@, WeaponType.Shovel, 1)

:TRUTH1_3944
if 
  not Char.IsDead(51@)
goto_if_false @TRUTH1_4002
Char.SetCoordinates(51@, -1070.71, -1126.36, 128.23)
Char.SetHeading(51@, 345.592)
Char.GiveWeapon(51@, WeaponType.Rifle, 99999)

:TRUTH1_4002
if 
  not Char.IsDead(54@)
goto_if_false @TRUTH1_4060
Char.SetCoordinates(54@, -1111.92, -1107.797, 127.892)
Char.SetHeading(54@, 212.87)
Char.GiveWeapon(54@, WeaponType.Rifle, 99999)

:TRUTH1_4060
if 
  not Char.IsDead(55@)
goto_if_false @TRUTH1_4118
Char.SetCoordinates(55@, -1154.72, -1116.097, 127.27)
Char.SetHeading(55@, 238.5)
Char.GiveWeapon(55@, WeaponType.Rifle, 99999)

:TRUTH1_4118
91@ = Char.Create(PedType.Mission1, 162, -1043.28, -1055.5, 128.22)
Char.SetHeading(91@, 175.56)
Char.GiveWeapon(91@, WeaponType.Rifle, 99999)
Char.SetDecisionMaker(91@, 98@)
Char.SetSenseRange(91@, 80.0)
92@ = Char.Create(PedType.Mission1, 157, -1147.91, -1023.34, 128.22)
Char.GiveWeapon(92@, WeaponType.Shovel, 1)
Char.SetDecisionMaker(92@, 98@)
Char.SetSenseRange(92@, 80.0)
93@ = Char.Create(PedType.Mission1, 160, -1094.89, -999.528, 128.21)
Char.SetHeading(93@, 175.56)
Char.GiveWeapon(93@, WeaponType.Shovel, 1)
Char.SetAccuracy(93@, 50)
Char.SetDecisionMaker(93@, 98@)
Char.SetSenseRange(93@, 150.0)
94@ = Char.Create(PedType.Mission1, 160, -1181.37, -992.4972, 128.2188)
Char.SetHeading(94@, 170.5759)
Char.GiveWeapon(94@, WeaponType.Rifle, 1)
Char.SetAccuracy(94@, 50)
Char.SetDecisionMaker(94@, 98@)
Char.SetSenseRange(94@, 150.0)
95@ = Char.Create(PedType.Mission1, 160, -1008.989, -998.692, 128.2188)
Char.SetHeading(95@, 170.5759)
Char.GiveWeapon(95@, WeaponType.Shovel, 1)
Char.SetAccuracy(95@, 50)
Char.SetDecisionMaker(95@, 98@)
Char.SetSenseRange(95@, 150.0)
96@ = Char.Create(PedType.Mission1, 160, -1151.001, -1011.517, 128.2188)
Char.SetHeading(96@, 170.5759)
Char.GiveWeapon(96@, WeaponType.Rifle, 1)
Char.SetAccuracy(96@, 50)
Char.SetDecisionMaker(96@, 98@)
Char.SetSenseRange(96@, 150.0)
117@ = 5

:TRUTH1_4518
if 
  118@ == 1
goto_if_false @TRUTH1_15959
if 
  123@ == 0
goto_if_false @TRUTH1_4658
if 
  not Char.IsDead(49@)
goto_if_false @TRUTH1_4658
if or
  Char.LocateAnyMeansChar2D(49@, $stattreadstamina_ctr, 15.0, 15.0, False)
  Char.HasBeenDamagedByChar(49@, $stattreadstamina_ctr)
  Char.IsInArea2D($stattreadstamina_ctr, -1074.33, -1321.1, -1022.5, -1271.43, False)
goto_if_false @TRUTH1_4658
143@ = 1
Task.KillCharOnFoot(49@, $stattreadstamina_ctr)
123@ = 1

:TRUTH1_4658
if 
  Char.IsInArea2D($stattreadstamina_ctr, -1096.488, -1170.56, -1032.682, -1249.599, False)
goto_if_false @TRUTH1_4900
if 
  124@ == 0
goto_if_false @TRUTH1_4780
if 
  not Car.IsDead(56@)
goto_if_false @TRUTH1_4780
if 
  not Char.IsDead(57@)
goto_if_false @TRUTH1_4780
if 
  Char.IsSittingInCar(57@, 56@)
goto_if_false @TRUTH1_4780
Car.StartPlayback(56@, 348)
124@ = 1

:TRUTH1_4780
if 
  125@ == 0
goto_if_false @TRUTH1_4900
if 
  not Car.IsDead(58@)
goto_if_false @TRUTH1_4900
if 
  not Char.IsDead(59@)
goto_if_false @TRUTH1_4900
if 
  Char.IsSittingInCar(59@, 58@)
goto_if_false @TRUTH1_4900
Car.SetForwardSpeed(58@, 12.0)
Task.CarDriveToCoord(59@, 58@, -1045.147, -1152.724, 127.5258, 20.0, DriveMode.Normal, 0, DrivingMode.StopForCars)
125@ = 1

:TRUTH1_4900
if 
  124@ == 1
goto_if_false @TRUTH1_5022
if 
  not Car.IsDead(56@)
goto_if_false @TRUTH1_5022
if 
  not Char.IsDead(57@)
goto_if_false @TRUTH1_5022
if 
  Char.IsSittingInCar(57@, 56@)
goto_if_false @TRUTH1_5022
if 
  not Car.IsPlaybackGoingOn(56@)
goto_if_false @TRUTH1_5022
143@ = 8
set_lvar_int_to_lvar_int 102@ = 57@
set_lvar_int_to_lvar_int 101@ = 56@
gosub @TRUTH1_16335
124@ = 2

:TRUTH1_5022
if 
  125@ == 1
goto_if_false @TRUTH1_5159
if 
  not Car.IsDead(58@)
goto_if_false @TRUTH1_5159
if 
  not Char.IsDead(59@)
goto_if_false @TRUTH1_5159
if 
  Char.IsSittingInCar(59@, 58@)
goto_if_false @TRUTH1_5159
if 
  Car.Locate2D(58@, -1045.147, -1152.724, 6.0, 6.0, False)
goto_if_false @TRUTH1_5159
set_lvar_int_to_lvar_int 102@ = 59@
set_lvar_int_to_lvar_int 101@ = 58@
gosub @TRUTH1_16335
125@ = 2

:TRUTH1_5159
if 
  124@ == 2
goto_if_false @TRUTH1_5267
if 
  not Car.IsDead(56@)
goto_if_false @TRUTH1_5267
if 
  not Char.IsDead(57@)
goto_if_false @TRUTH1_5267
if 
  Char.IsSittingInCar(57@, 56@)
goto_if_false @TRUTH1_5267
if 
  Char.IsTouchingChar(57@, $stattreadstamina_ctr)
goto_if_false @TRUTH1_5267
Task.CarTempAction(57@, 56@, TempAction.Reverse, 3000)
124@ = 3

:TRUTH1_5267
if 
  124@ == 3
goto_if_false @TRUTH1_5395
if 
  not Car.IsDead(56@)
goto_if_false @TRUTH1_5395
if 
  not Char.IsDead(57@)
goto_if_false @TRUTH1_5395
if 
  Char.IsSittingInCar(57@, 56@)
goto_if_false @TRUTH1_5395
110@ = Char.GetScriptTaskStatus(57@, 1735)
if 
  is_int_lvar_equal_to_constant 110@ == 7
goto_if_false @TRUTH1_5395
set_lvar_int_to_lvar_int 102@ = 57@
set_lvar_int_to_lvar_int 101@ = 56@
gosub @TRUTH1_16335
124@ = 2

:TRUTH1_5395
if 
  125@ == 2
goto_if_false @TRUTH1_5503
if 
  not Car.IsDead(58@)
goto_if_false @TRUTH1_5503
if 
  not Char.IsDead(59@)
goto_if_false @TRUTH1_5503
if 
  Char.IsSittingInCar(59@, 58@)
goto_if_false @TRUTH1_5503
if 
  Char.IsTouchingChar(59@, $stattreadstamina_ctr)
goto_if_false @TRUTH1_5503
Task.CarTempAction(59@, 58@, TempAction.Reverse, 3000)
125@ = 3

:TRUTH1_5503
if 
  125@ == 3
goto_if_false @TRUTH1_5631
if 
  not Car.IsDead(58@)
goto_if_false @TRUTH1_5631
if 
  not Char.IsDead(59@)
goto_if_false @TRUTH1_5631
if 
  Char.IsSittingInCar(59@, 58@)
goto_if_false @TRUTH1_5631
110@ = Char.GetScriptTaskStatus(59@, 1735)
if 
  is_int_lvar_equal_to_constant 110@ == 7
goto_if_false @TRUTH1_5631
set_lvar_int_to_lvar_int 102@ = 59@
set_lvar_int_to_lvar_int 101@ = 58@
gosub @TRUTH1_16335
125@ = 2

:TRUTH1_5631
if 
  126@ == 0
goto_if_false @TRUTH1_6072
if 
  Char.IsInArea2D($stattreadstamina_ctr, -1033.47, -1067.18, -1202.46, -1149.65, False)
goto_if_false @TRUTH1_5733
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @TRUTH1_5710
126@ = 1

:TRUTH1_5710
if 
  Player.IsTargetingAnything($statbike_temp)
goto_if_false @TRUTH1_5733
126@ = 1

:TRUTH1_5733
if 
  Char.IsInArea2D($stattreadstamina_ctr, -1033.47, -1067.18, -1202.46, -1149.65, False)
goto_if_false @TRUTH1_5778
126@ = 1

:TRUTH1_5778
if 
  Char.DoesExist(50@)
goto_if_false @TRUTH1_5820
if 
  Char.HasBeenDamagedByChar(50@, $stattreadstamina_ctr)
goto_if_false @TRUTH1_5820
126@ = 1

:TRUTH1_5820
if 
  Char.DoesExist(50@)
goto_if_false @TRUTH1_5862
if 
  Char.HasBeenDamagedByChar(50@, $stattreadstamina_ctr)
goto_if_false @TRUTH1_5862
126@ = 1

:TRUTH1_5862
if 
  Char.DoesExist(51@)
goto_if_false @TRUTH1_5904
if 
  Char.HasBeenDamagedByChar(51@, $stattreadstamina_ctr)
goto_if_false @TRUTH1_5904
126@ = 1

:TRUTH1_5904
if 
  Char.DoesExist(52@)
goto_if_false @TRUTH1_5946
if 
  Char.HasBeenDamagedByChar(52@, $stattreadstamina_ctr)
goto_if_false @TRUTH1_5946
126@ = 1

:TRUTH1_5946
if 
  Char.DoesExist(53@)
goto_if_false @TRUTH1_5988
if 
  Char.HasBeenDamagedByChar(53@, $stattreadstamina_ctr)
goto_if_false @TRUTH1_5988
126@ = 1

:TRUTH1_5988
if 
  Char.DoesExist(54@)
goto_if_false @TRUTH1_6030
if 
  Char.HasBeenDamagedByChar(54@, $stattreadstamina_ctr)
goto_if_false @TRUTH1_6030
126@ = 1

:TRUTH1_6030
if 
  Char.DoesExist(55@)
goto_if_false @TRUTH1_6072
if 
  Char.HasBeenDamagedByChar(55@, $stattreadstamina_ctr)
goto_if_false @TRUTH1_6072
126@ = 1

:TRUTH1_6072
if 
  126@ == 1
goto_if_false @TRUTH1_6269
143@ = 12
if 
  not Char.IsDead(50@)
goto_if_false @TRUTH1_6121
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)

:TRUTH1_6121
if 
  not Char.IsDead(51@)
goto_if_false @TRUTH1_6152
Task.KillCharOnFoot(51@, $stattreadstamina_ctr)
Char.SetAccuracy(51@, 50)

:TRUTH1_6152
if 
  not Char.IsDead(52@)
goto_if_false @TRUTH1_6176
Task.KillCharOnFoot(52@, $stattreadstamina_ctr)

:TRUTH1_6176
if 
  not Char.IsDead(53@)
goto_if_false @TRUTH1_6200
Task.KillCharOnFoot(53@, $stattreadstamina_ctr)

:TRUTH1_6200
if 
  not Char.IsDead(54@)
goto_if_false @TRUTH1_6231
Task.KillCharOnFoot(54@, $stattreadstamina_ctr)
Char.SetAccuracy(54@, 60)

:TRUTH1_6231
if 
  not Char.IsDead(55@)
goto_if_false @TRUTH1_6262
Task.KillCharOnFoot(55@, $stattreadstamina_ctr)
Char.SetAccuracy(55@, 70)

:TRUTH1_6262
126@ = 2

:TRUTH1_6269
if 
  128@ == 0
goto_if_false @TRUTH1_6462
if 
  not Char.IsDead(38@)
goto_if_false @TRUTH1_6462
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_6462
if 
  Char.IsSittingInCar(38@, 34@)
goto_if_false @TRUTH1_6462
$x, $y, $z = Char.GetOffsetInWorldCoords(38@, 0.0, 10.0, 0.0)
if or
  Char.LocateStoppedAnyMeans2D($stattreadstamina_ctr, $x, $y, 12.0, 12.0, False)
  Char.LocateAnyMeans2D($stattreadstamina_ctr, $x, $y, 12.0, 12.0, False)
goto_if_false @TRUTH1_6462
Char.GiveWeapon(38@, WeaponType.Rifle, 50)
Char.SetAccuracy(38@, 20)
Task.KillCharOnFoot(38@, $stattreadstamina_ctr)
143@ = 23
128@ = 1

:TRUTH1_6462
if 
  117@ > 4
goto_if_false @TRUTH1_6695
if 
  119@ == 0
goto_if_false @TRUTH1_6581
if 
  128@ == 0
goto_if_false @TRUTH1_6581
if 
  not Char.IsDead(38@)
goto_if_false @TRUTH1_6581
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_6581
if 
  Char.IsSittingInCar(38@, 34@)
goto_if_false @TRUTH1_6581
gosub @TRUTH1_16178
119@ = 1

:TRUTH1_6581
if 
  119@ == 1
goto_if_false @TRUTH1_6695
if 
  not Char.IsDead(38@)
goto_if_false @TRUTH1_6695
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_6695
if 
  Char.IsSittingInCar(38@, 34@)
goto_if_false @TRUTH1_6695
if 
  Car.Locate2D(34@, -1031.46, -935.51, 10.0, 10.0, False)
goto_if_false @TRUTH1_6695
119@ = 0

:TRUTH1_6695
if 
  119@ >= 0
goto_if_false @TRUTH1_7941
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_7941
if 
  Car.IsInArea2D(34@, -1201.518, -926.777, -1016.98, -1052.652, False)
goto_if_false @TRUTH1_7941
106@ = Car.GetDriver(34@)
if 
  106@ <> -1
goto_if_false @TRUTH1_7941
if 
  120@ == 100
goto_if_false @TRUTH1_6949
43@ = Object.Create(#KMB_MARIJUANA, 1.1, 2.2, 3.3)
44@ = Object.Create(#KMB_MARIJUANA, 1.1, 2.2, 3.3)
45@ = Object.Create(#KMB_MARIJUANA, 1.1, 2.2, 3.3)
46@ = Object.Create(#KMB_MARIJUANA, 1.1, 2.2, 3.3)
47@ = Object.Create(#KMB_MARIJUANA, 1.1, 2.2, 3.3)
48@ = Object.Create(#KMB_MARIJUANA, 1.1, 2.2, 3.3)

:TRUTH1_6949
if 
  120@ == 0
goto_if_false @TRUTH1_7119
if 
  TIMERA > 1250
goto_if_false @TRUTH1_7119
if 
  Object.DoesExist(43@)
goto_if_false @TRUTH1_7007
Object.Delete(43@)

:TRUTH1_7007
40@, 41@, 42@ = Car.GetOffsetInWorldCoords(34@, -1.3, -3.3, 1.3)
43@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
Object.SetDynamic(43@, True)
Object.SetVelocity(43@, 0.0, 0.0, -1.0)
  Object.Rotate(43@, 68.0, 10.0, False)
Object.SortOutCollisionWithCar(43@, 34@)
TIMERA = 0
120@ = 1

:TRUTH1_7119
if 
  120@ == 1
goto_if_false @TRUTH1_7282
if 
  TIMERA > 2250
goto_if_false @TRUTH1_7282
if 
  Object.DoesExist(44@)
goto_if_false @TRUTH1_7177
Object.Delete(44@)

:TRUTH1_7177
40@, 41@, 42@ = Car.GetOffsetInWorldCoords(34@, -1.3, -3.3, 1.3)
44@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
Object.SetDynamic(44@, True)
Object.SetVelocity(44@, 0.0, 0.0, -1.0)
  Object.Rotate(44@, 73.0, 10.0, False)
Object.SortOutCollisionWithCar(44@, 34@)
120@ = 2

:TRUTH1_7282
if 
  120@ == 2
goto_if_false @TRUTH1_7445
if 
  TIMERA > 4250
goto_if_false @TRUTH1_7445
if 
  Object.DoesExist(45@)
goto_if_false @TRUTH1_7340
Object.Delete(45@)

:TRUTH1_7340
40@, 41@, 42@ = Car.GetOffsetInWorldCoords(34@, -1.3, -3.3, 1.3)
45@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
Object.SetDynamic(45@, True)
Object.SetVelocity(45@, 0.0, 0.0, -1.0)
  Object.Rotate(45@, 90.0, 10.0, False)
Object.SortOutCollisionWithCar(45@, 34@)
120@ = 3

:TRUTH1_7445
if 
  120@ == 3
goto_if_false @TRUTH1_7608
if 
  TIMERA > 6250
goto_if_false @TRUTH1_7608
if 
  Object.DoesExist(46@)
goto_if_false @TRUTH1_7503
Object.Delete(46@)

:TRUTH1_7503
40@, 41@, 42@ = Car.GetOffsetInWorldCoords(34@, -1.3, -3.3, 1.3)
46@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
Object.SetDynamic(46@, True)
Object.SetVelocity(46@, 0.0, 0.0, -1.0)
  Object.Rotate(46@, 180.0, 10.0, False)
Object.SortOutCollisionWithCar(46@, 34@)
120@ = 4

:TRUTH1_7608
if 
  120@ == 4
goto_if_false @TRUTH1_7771
if 
  TIMERA > 8250
goto_if_false @TRUTH1_7771
if 
  Object.DoesExist(47@)
goto_if_false @TRUTH1_7666
Object.Delete(47@)

:TRUTH1_7666
40@, 41@, 42@ = Car.GetOffsetInWorldCoords(34@, -1.3, -3.3, 1.3)
47@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
Object.SetDynamic(47@, True)
Object.SetVelocity(47@, 0.0, 0.0, -1.0)
  Object.Rotate(47@, 80.0, 10.0, False)
Object.SortOutCollisionWithCar(47@, 34@)
120@ = 5

:TRUTH1_7771
if 
  120@ == 5
goto_if_false @TRUTH1_7941
if 
  TIMERA > 10250
goto_if_false @TRUTH1_7941
if 
  Object.DoesExist(48@)
goto_if_false @TRUTH1_7829
Object.Delete(48@)

:TRUTH1_7829
40@, 41@, 42@ = Car.GetOffsetInWorldCoords(34@, -1.3, -3.3, 1.3)
48@ = Object.Create(#KMB_MARIJUANA, 40@, 41@, 42@)
Object.SetDynamic(48@, True)
Object.SetVelocity(48@, 0.0, 0.0, -1.0)
  Object.Rotate(48@, 180.0, 10.0, False)
Object.SortOutCollisionWithCar(48@, 34@)
TIMERA = 0
120@ = 0

:TRUTH1_7941
if 
  131@ == 0
goto_if_false @TRUTH1_8921
if 
  129@ == 1
goto_if_false @TRUTH1_8921
Char.Delete(49@)
Char.Delete(50@)
Char.Delete(51@)
Char.Delete(52@)
Char.Delete(53@)
109@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(109@)
67@ = Char.Create(PedType.Mission1, 160, -1205.812, -1092.725, 127.2578)
Char.SetHeading(67@, 359.4852)
Char.GiveWeapon(67@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(67@, 97@)
Char.SetHealth(67@, 50)
Char.PerformSequence(67@, 109@)
68@ = Char.Create(PedType.Mission1, 162, -1205.812, -1090.725, 127.2578)
Char.SetHeading(68@, 359.4852)
Char.GiveWeapon(68@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(68@, 97@)
Char.SetHealth(68@, 50)
Char.PerformSequence(68@, 109@)
69@ = Char.Create(PedType.Mission1, 157, -1181.8, -1116.735, 127.2578)
Char.SetHeading(69@, 79.3899)
Char.GiveWeapon(69@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(69@, 97@)
Char.SetHealth(69@, 50)
Char.PerformSequence(69@, 109@)
70@ = Char.Create(PedType.Mission1, 160, -1211.422, -1090.977, 127.2578)
Char.SetHeading(70@, 2.4516)
Char.GiveWeapon(70@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(70@, 97@)
Char.SetHealth(70@, 50)
Char.PerformSequence(70@, 109@)
71@ = Char.Create(PedType.Mission1, 162, -1179.283, -1113.823, 127.2578)
Char.SetHeading(71@, 74.1823)
Char.GiveWeapon(71@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(71@, 97@)
Char.SetHealth(71@, 50)
Char.PerformSequence(71@, 109@)
72@ = Char.Create(PedType.Mission1, 157, -1145.651, -1111.67, 127.2595)
Char.SetHeading(72@, 90.0989)
Char.GiveWeapon(72@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(72@, 97@)
Char.SetHealth(72@, 50)
Char.PerformSequence(72@, 109@)
73@ = Char.Create(PedType.Mission1, 162, -1146.601, -1114.956, 127.2595)
Char.SetHeading(73@, 102.0699)
Char.GiveWeapon(73@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(73@, 97@)
Char.SetHealth(73@, 50)
Char.PerformSequence(73@, 109@)
74@ = Char.Create(PedType.Mission1, 160, -1051.497, -1133.651, 127.2669)
Char.SetHeading(74@, 10.9064)
Char.GiveWeapon(74@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(74@, 97@)
Char.SetHealth(74@, 50)
Char.PerformSequence(74@, 109@)
75@ = Char.Create(PedType.Mission1, 157, -1048.588, -1131.942, 127.2595)
Char.SetHeading(75@, 57.544)
Char.GiveWeapon(75@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(75@, 97@)
Char.SetHealth(75@, 50)
Char.PerformSequence(75@, 109@)
76@ = Char.Create(PedType.Mission1, 162, -1118.818, -1116.196, 127.2595)
Char.SetHeading(76@, 90.5502)
Char.GiveWeapon(76@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(76@, 97@)
Char.SetHealth(76@, 50)
Char.PerformSequence(76@, 109@)
77@ = Char.Create(PedType.Mission1, 162, -1120.998, -1112.729, 127.2595)
Char.SetHeading(77@, 57.544)
Char.GiveWeapon(77@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(77@, 97@)
Char.SetHealth(77@, 50)
Char.PerformSequence(77@, 109@)
78@ = Char.Create(PedType.Mission1, 160, -1115.596, -1115.524, 127.2595)
Char.SetHeading(78@, 57.544)
Char.GiveWeapon(78@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(78@, 97@)
Char.SetHealth(78@, 50)
Char.PerformSequence(78@, 109@)
79@ = Char.Create(PedType.Mission1, 160, -1117.895, -1111.266, 127.2595)
Char.SetHeading(79@, 57.544)
Char.GiveWeapon(79@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(79@, 97@)
Char.SetHealth(79@, 50)
Char.PerformSequence(79@, 109@)
Sequence.Clear(109@)
131@ = 1

:TRUTH1_8921
if 
  131@ == 1
goto_if_false @TRUTH1_9766
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_9766
if 
  132@ == 0
goto_if_false @TRUTH1_9109
if 
  Car.Locate2D(34@, -1205.812, -1090.725, 20.0, 20.0, False)
goto_if_false @TRUTH1_9109
107@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.SmartFleeChar(-1, $stattreadstamina_ctr, 30.0, 30000)
Sequence.Close(107@)
if 
  not Char.IsDead(67@)
goto_if_false @TRUTH1_9066
Char.PerformSequence(67@, 107@)

:TRUTH1_9066
if 
  not Char.IsDead(68@)
goto_if_false @TRUTH1_9090
Char.PerformSequence(68@, 107@)

:TRUTH1_9090
143@ = 28
Sequence.Clear(107@)
132@ = 1

:TRUTH1_9109
if 
  133@ == 0
goto_if_false @TRUTH1_9256
if 
  Car.Locate2D(34@, -1181.8, -1116.735, 20.0, 20.0, False)
goto_if_false @TRUTH1_9256
107@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.SmartFleeChar(-1, $stattreadstamina_ctr, 30.0, 30000)
Sequence.Close(107@)
if 
  not Char.IsDead(69@)
goto_if_false @TRUTH1_9220
Char.PerformSequence(69@, 107@)

:TRUTH1_9220
if 
  not Char.IsDead(71@)
goto_if_false @TRUTH1_9244
Char.PerformSequence(71@, 107@)

:TRUTH1_9244
Sequence.Clear(107@)
133@ = 1

:TRUTH1_9256
if 
  134@ == 0
goto_if_false @TRUTH1_9379
if 
  Car.Locate2D(34@, -1211.422, -1090.977, 25.0, 25.0, False)
goto_if_false @TRUTH1_9379
107@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.SmartFleeChar(-1, $stattreadstamina_ctr, 30.0, 30000)
Sequence.Close(107@)
if 
  not Char.IsDead(70@)
goto_if_false @TRUTH1_9367
Char.PerformSequence(70@, 107@)

:TRUTH1_9367
Sequence.Clear(107@)
134@ = 1

:TRUTH1_9379
if 
  135@ == 0
goto_if_false @TRUTH1_9564
if 
  Car.Locate2D(34@, -1145.651, -1111.67, 20.0, 20.0, False)
goto_if_false @TRUTH1_9564
if 
  not Char.IsDead(72@)
goto_if_false @TRUTH1_9496
set_lvar_int_to_lvar_int 102@ = 72@
103@ = -1113.777
104@ = 1128.22
105@ = 128.22
gosub @TRUTH1_16117

:TRUTH1_9496
if 
  not Char.IsDead(73@)
goto_if_false @TRUTH1_9557
set_lvar_int_to_lvar_int 102@ = 73@
103@ = -1055.94
104@ = -1120.62
105@ = 128.56
gosub @TRUTH1_16117

:TRUTH1_9557
135@ = 1

:TRUTH1_9564
if 
  136@ == 0
goto_if_false @TRUTH1_9766
if 
  Car.IsInArea2D(34@, -1224.06, -1135.61, -999.06, -1063.3, False)
goto_if_false @TRUTH1_9766
107@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.SmartFleeChar(-1, $stattreadstamina_ctr, 30.0, 30000)
Sequence.Close(107@)
if 
  not Char.IsDead(76@)
goto_if_false @TRUTH1_9675
Char.PerformSequence(76@, 107@)

:TRUTH1_9675
if 
  not Char.IsDead(77@)
goto_if_false @TRUTH1_9699
Char.PerformSequence(77@, 107@)

:TRUTH1_9699
if 
  not Char.IsDead(78@)
goto_if_false @TRUTH1_9723
Char.PerformSequence(78@, 107@)

:TRUTH1_9723
if 
  not Char.IsDead(79@)
goto_if_false @TRUTH1_9747
Char.PerformSequence(79@, 107@)

:TRUTH1_9747
Sequence.Clear(107@)
141@ = 1
136@ = 1

:TRUTH1_9766
if 
  141@ == 1
goto_if_false @TRUTH1_10560
if 
  not Char.IsDead(54@)
goto_if_false @TRUTH1_9821
if 
  not Char.IsOnScreen(54@)
goto_if_false @TRUTH1_9821
Char.Delete(54@)

:TRUTH1_9821
if 
  not Char.IsDead(55@)
goto_if_false @TRUTH1_9858
if 
  not Char.IsOnScreen(55@)
goto_if_false @TRUTH1_9858
Char.Delete(55@)

:TRUTH1_9858
if 
  not Char.IsDead(49@)
goto_if_false @TRUTH1_9895
if 
  not Char.IsOnScreen(49@)
goto_if_false @TRUTH1_9895
Char.Delete(67@)

:TRUTH1_9895
if 
  not Char.IsDead(50@)
goto_if_false @TRUTH1_9932
if 
  not Char.IsOnScreen(50@)
goto_if_false @TRUTH1_9932
Char.Delete(68@)

:TRUTH1_9932
if 
  not Char.IsDead(51@)
goto_if_false @TRUTH1_9969
if 
  not Char.IsOnScreen(51@)
goto_if_false @TRUTH1_9969
Char.Delete(69@)

:TRUTH1_9969
if 
  not Char.IsDead(52@)
goto_if_false @TRUTH1_10006
if 
  not Char.IsOnScreen(52@)
goto_if_false @TRUTH1_10006
Char.Delete(70@)

:TRUTH1_10006
109@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(109@)
80@ = Char.Create(PedType.Mission1, 162, -1050.942, -1171.55, 127.4132)
Char.SetHeading(80@, 57.544)
Char.GiveWeapon(80@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(80@, 97@)
Char.SetHealth(80@, 50)
Char.PerformSequence(80@, 109@)
81@ = Char.Create(PedType.Mission1, 160, -1048.379, -1172.351, 127.4308)
Char.SetHeading(81@, 57.544)
Char.GiveWeapon(81@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(81@, 97@)
Char.SetHealth(81@, 50)
Char.PerformSequence(81@, 109@)
82@ = Char.Create(PedType.Mission1, 162, -1047.927, -1177.559, 127.507)
Char.SetHeading(82@, 57.544)
Char.GiveWeapon(82@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(82@, 97@)
Char.SetHealth(82@, 50)
Char.PerformSequence(82@, 109@)
83@ = Char.Create(PedType.Mission1, 157, -1051.159, -1180.129, 127.5367)
Char.SetHeading(83@, 57.544)
Char.GiveWeapon(83@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(83@, 97@)
Char.SetHealth(83@, 50)
Char.PerformSequence(83@, 109@)
Car.CustomPlateForNextCar(478, "__HOM__")
87@ = Car.Create(478, -1049.0, -1296.0, 128.3)
Car.SetHeading(87@, 277.382)
84@ = Char.Create(PedType.Mission1, 162, -1049.19, -1291.94, 127.7206)
Char.SetHeading(84@, 57.544)
Char.GiveWeapon(84@, WeaponType.Rifle, 9999)
Char.SetDecisionMaker(84@, 97@)
Char.SetHealth(84@, 50)
Char.PerformSequence(84@, 109@)
Car.CustomPlateForNextCar(478, "__HOM__")
88@ = Car.Create(478, -1154.086, -1339.716, 126.61)
Car.SetHeading(88@, 272.428)
86@ = Char.CreateInsideCar(88@, PedType.Mission1, 157)
85@ = Char.Create(PedType.Mission1, 162, -1049.19, -1295.94, 0.0)
Char.SetDecisionMaker(85@, 97@)
Char.AttachToCar(85@, 88@, 0.0, -1.0, 0.9, 0, 360.0, WeaponType.Rifle)
Task.StayInSamePlace(85@, True)
Sequence.Clear(109@)
141@ = 2

:TRUTH1_10560
if 
  141@ == 2
goto_if_false @TRUTH1_10771
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_10771
if 
  Car.Locate2D(34@, -1050.942, -1171.55, 15.0, 15.0, False)
goto_if_false @TRUTH1_10771
107@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.SmartFleeChar(-1, $stattreadstamina_ctr, 30.0, 30000)
Sequence.Close(107@)
if 
  not Char.IsDead(80@)
goto_if_false @TRUTH1_10687
Char.PerformSequence(80@, 107@)

:TRUTH1_10687
if 
  not Char.IsDead(81@)
goto_if_false @TRUTH1_10711
Char.PerformSequence(81@, 107@)

:TRUTH1_10711
if 
  not Char.IsDead(82@)
goto_if_false @TRUTH1_10735
Char.PerformSequence(82@, 107@)

:TRUTH1_10735
if 
  not Char.IsDead(83@)
goto_if_false @TRUTH1_10759
Char.PerformSequence(83@, 107@)

:TRUTH1_10759
Sequence.Clear(107@)
141@ = 3

:TRUTH1_10771
if 
  141@ > 1
goto_if_false @TRUTH1_11120
if 
  142@ == 0
goto_if_false @TRUTH1_11120
if 
  Char.IsInArea2D($stattreadstamina_ctr, -974.32, -1287.37, -1129.14, -1330.41, False)
goto_if_false @TRUTH1_11120
if 
  not Car.IsDead(88@)
goto_if_false @TRUTH1_10931
if 
  not Char.IsDead(86@)
goto_if_false @TRUTH1_10931
Car.SetForwardSpeed(88@, 30.0)
if 
  not Char.IsDead(85@)
goto_if_false @TRUTH1_10911
Task.KillCharOnFoot(85@, $stattreadstamina_ctr)

:TRUTH1_10911
Task.CarMission(86@, 88@, 88@, CarMission.BlockPlayerFaraway, 30.0, DrivingMode.PloughThrough)

:TRUTH1_10931
143@ = 100
Streaming.MarkModelAsNoLongerNeeded(#KMB_MARIJUANA)
Streaming.MarkModelAsNoLongerNeeded(#SW_HAYBREAK02)
Object.MarkAsNoLongerNeeded(60@)
Object.MarkAsNoLongerNeeded(61@)
Object.MarkAsNoLongerNeeded(62@)
Object.MarkAsNoLongerNeeded(63@)
Object.MarkAsNoLongerNeeded(64@)
Object.MarkAsNoLongerNeeded(65@)
Object.MarkAsNoLongerNeeded(66@)
Object.MarkAsNoLongerNeeded(43@)
Object.MarkAsNoLongerNeeded(44@)
Object.MarkAsNoLongerNeeded(45@)
Object.MarkAsNoLongerNeeded(46@)
Object.MarkAsNoLongerNeeded(47@)
Object.MarkAsNoLongerNeeded(48@)
Char.MarkAsNoLongerNeeded(67@)
Char.MarkAsNoLongerNeeded(68@)
Char.MarkAsNoLongerNeeded(69@)
Char.MarkAsNoLongerNeeded(70@)
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(72@)
Char.MarkAsNoLongerNeeded(73@)
Char.MarkAsNoLongerNeeded(74@)
Char.MarkAsNoLongerNeeded(75@)
Char.MarkAsNoLongerNeeded(76@)
Char.MarkAsNoLongerNeeded(77@)
Char.MarkAsNoLongerNeeded(78@)
Char.MarkAsNoLongerNeeded(79@)
Car.MarkAsNoLongerNeeded(90@)
Char.MarkAsNoLongerNeeded(91@)
Char.MarkAsNoLongerNeeded(92@)
Char.MarkAsNoLongerNeeded(93@)
Char.MarkAsNoLongerNeeded(94@)
Char.MarkAsNoLongerNeeded(95@)
Char.MarkAsNoLongerNeeded(96@)
142@ = 1

:TRUTH1_11120
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_11233
if 
  130@ == 0
goto_if_false @TRUTH1_11233
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH1_11233
Car.MarkAsNoLongerNeeded(90@)
129@ = 1
Text.PrintNow('TRU1_5', 5000, 1)
Blip.Remove(116@)
116@ = Blip.AddForCoord(-1114.25, -1619.96, 76.68)
130@ = 1

:TRUTH1_11233
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_11347
if 
  130@ == 1
goto_if_false @TRUTH1_11347
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH1_11347
if 
  129@ <= 1
goto_if_false @TRUTH1_11347
Text.PrintNow('TRU1_7', 5000, 1)
Blip.Remove(116@)
116@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(116@, True)
130@ = 0

:TRUTH1_11347
if 
  129@ == 1
goto_if_false @TRUTH1_11539
if 
  130@ == 1
goto_if_false @TRUTH1_11539
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_11539
if 
  Car.Locate3D(34@, -1100.007, -1620.949, 75.375, 5.0, 5.0, 5.0, True)
goto_if_false @TRUTH1_11539
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH1_11539
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @TRUTH1_11490
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)

:TRUTH1_11490
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:TRUTH1_11504
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH1_11528
wait 0
goto @TRUTH1_11504

:TRUTH1_11528
Hud.SwitchWidescreen(True)
129@ = 2

:TRUTH1_11539
if 
  129@ == 2
goto_if_false @TRUTH1_12171
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_12171
Car.MarkAsNoLongerNeeded(56@)
Car.Delete(56@)
Char.MarkAsNoLongerNeeded(57@)
Car.MarkAsNoLongerNeeded(58@)
Car.Delete(58@)
Char.MarkAsNoLongerNeeded(59@)
Car.MarkAsNoLongerNeeded(88@)
Char.MarkAsNoLongerNeeded(85@)
Char.MarkAsNoLongerNeeded(86@)
Streaming.MarkModelAsNoLongerNeeded(531)
Streaming.MarkModelAsNoLongerNeeded(#KMB_MARIJUANA)
Streaming.MarkModelAsNoLongerNeeded(#SW_HAYBREAK02)
Streaming.MarkModelAsNoLongerNeeded(357)
Streaming.MarkModelAsNoLongerNeeded(478)
Streaming.MarkModelAsNoLongerNeeded(337)
Streaming.LoadSpecialCharacter(1, 'TRUTH')
Streaming.RequestModel(424)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41040)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 41041)
Streaming.LoadAllModelsNow

:TRUTH1_11694
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
  not Streaming.HasModelLoaded(424)
goto_if_false @TRUTH1_11733
wait 0
goto @TRUTH1_11694

:TRUTH1_11733
TIMERA = 0
TIMERB = 0
World.ClearArea(-1100.007, -1620.949, 200.0, 200.0, True)
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH1_11817
Car.SetCoordinates(34@, -1102.21, -1620.017, 77.345)
Car.SetHeading(34@, 90.738)

:TRUTH1_11817
if or
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @TRUTH1_11847
wait 0
goto @TRUTH1_11817

:TRUTH1_11847
56@ = Car.Create(424, -1074.53, -1643.624, 75.066)
Car.SetHeading(56@, 84.918)
89@ = Char.Create(PedType.Mission2, 290, -1088.84, -1623.997, 75.375)
Char.SetHeading(89@, 91.269)
Char.ShutUp(89@, True)
Char.SetProofs(89@, True, True, True, True, True)
Char.SetDecisionMaker(89@, 97@)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TRUTH1_11998
Char.WarpFromCarToCoord($stattreadstamina_ctr, -1098.84, -1623.997, 75.375)
Char.SetHeading($stattreadstamina_ctr, 264.123)
goto @TRUTH1_12028

:TRUTH1_11998
Char.SetCoordinates($stattreadstamina_ctr, -1098.84, -1623.997, 75.375)
Char.SetHeading($stattreadstamina_ctr, 264.123)

:TRUTH1_12028
Camera.SetFixedPosition(-1087.733, -1625.124, 76.7194, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1088.662, -1624.758, 76.6608, SwitchType.JumpCut)
Blip.Remove(116@)
Camera.DoFade(1000, Fade.In)
if 
  not Char.IsDead(89@)
goto_if_false @TRUTH1_12132
Task.GoStraightToCoord(89@, -1093.189, -1624.021, 75.375, MoveState.Walk, 5000)

:TRUTH1_12132
Task.GoStraightToCoord($stattreadstamina_ctr, -1094.931, -1623.946, 75.375, MoveState.Walk, 5000)
TIMERA = 0
129@ = 3

:TRUTH1_12171
if 
  129@ == 3
goto_if_false @TRUTH1_12410
if 
  not Char.IsDead(89@)
goto_if_false @TRUTH1_12410
if or
  TIMERA > 2500
  Char.LocateStoppedOnFoot2D(89@, -1093.189, -1624.021, 1.5, 1.5, False)
goto_if_false @TRUTH1_12410
Camera.SetFixedPosition(-1092.296, -1624.917, 76.9985, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1093.117, -1624.372, 76.8283, SwitchType.JumpCut)
Char.ClearTasksImmediately(89@)
Char.SetCoordinates(89@, -1093.189, -1624.021, 75.375)
Char.SetHeading(89@, 88.0345)
Char.SetCoordinates($stattreadstamina_ctr, -1094.931, -1623.946, 75.375)
Char.SetHeading($stattreadstamina_ctr, 264.123)
Task.PlayAnim(89@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
129@ = 4

:TRUTH1_12410
if 
  129@ == 4
goto_if_false @TRUTH1_12455
Text.PrintNow('TRU1_ZA', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
129@ = 5

:TRUTH1_12455
if 
  129@ == 5
goto_if_false @TRUTH1_12530
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_12530
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41042)
Text.PrintNow('TRU1_ZB', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
129@ = 6

:TRUTH1_12530
if 
  129@ == 6
goto_if_false @TRUTH1_12605
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @TRUTH1_12605
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_12605
Text.PrintNow('TRU1_ZC', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
129@ = 7

:TRUTH1_12605
if 
  129@ == 7
goto_if_false @TRUTH1_12725
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_12725
Text.ClearPrints
Task.GoStraightToCoord($stattreadstamina_ctr, -1092.25, -1629.82, 76.0, MoveState.Walk, 5000)
wait 250
if 
  not Char.IsDead(89@)
goto_if_false @TRUTH1_12711
Task.GoStraightToCoord(89@, -1099.96, -1623.7, 76.4, MoveState.Walk, 5000)

:TRUTH1_12711
TIMERA = 0
129@ = 8

:TRUTH1_12725
if 
  129@ == 8
goto_if_false @TRUTH1_12918
if 
  TIMERA > 1000
goto_if_false @TRUTH1_12918
Camera.DoFade(1000, Fade.Out)

:TRUTH1_12769
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH1_12793
wait 0
goto @TRUTH1_12769

:TRUTH1_12793
Streaming.RequestModel(330)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 23000)
Streaming.LoadAllModelsNow

:TRUTH1_12807
if or
  not Streaming.HasModelLoaded(330)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @TRUTH1_12838
wait 0
goto @TRUTH1_12807

:TRUTH1_12838
Car.Delete(34@)
Char.Delete(89@)
Hud.SwitchWidescreen(False)
Char.SetCoordinates($stattreadstamina_ctr, -1092.561, -1633.628, 75.37)
Char.SetHeading($stattreadstamina_ctr, 273.438)
Camera.DoFade(1000, Fade.In)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Player.SetControl($statbike_temp, True)
TIMERA = 0
129@ = 9

:TRUTH1_12918
if 
  129@ == 9
goto_if_false @TRUTH1_12980
if 
  TIMERA > 1000
goto_if_false @TRUTH1_12980
Task.UseMobilePhone($stattreadstamina_ctr, True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
TIMERA = 0
129@ = 10

:TRUTH1_12980
if 
  129@ == 10
goto_if_false @TRUTH1_13038
if 
  TIMERA > 2000
goto_if_false @TRUTH1_13038
144@ = 1
145@ = 0
129@ = 11

:TRUTH1_13038
if 
  129@ == 11
goto_if_false @TRUTH1_14318
gosub @TRUTH1_16008
if 
  144@ == 1
goto_if_false @TRUTH1_13128
if 
  145@ == 0
goto_if_false @TRUTH1_13128
set_lvar_int_to_constant 113@ = 25256
set_lvar_text_label 114@s = 'MCES05A'
gosub @TRUTH1_15966

:TRUTH1_13128
if 
  144@ == 2
goto_if_false @TRUTH1_13193
if 
  145@ == 0
goto_if_false @TRUTH1_13193
set_lvar_int_to_constant 113@ = 25257
set_lvar_text_label 114@s = 'MCES05B'
gosub @TRUTH1_15966

:TRUTH1_13193
if 
  144@ == 3
goto_if_false @TRUTH1_13258
if 
  145@ == 0
goto_if_false @TRUTH1_13258
set_lvar_int_to_constant 113@ = 25258
set_lvar_text_label 114@s = 'MCES05C'
gosub @TRUTH1_15966

:TRUTH1_13258
if 
  144@ == 4
goto_if_false @TRUTH1_13323
if 
  145@ == 0
goto_if_false @TRUTH1_13323
set_lvar_int_to_constant 113@ = 25259
set_lvar_text_label 114@s = 'MCES05D'
gosub @TRUTH1_15966

:TRUTH1_13323
if 
  144@ == 5
goto_if_false @TRUTH1_13388
if 
  145@ == 0
goto_if_false @TRUTH1_13388
set_lvar_int_to_constant 113@ = 25260
set_lvar_text_label 114@s = 'MCES05E'
gosub @TRUTH1_15966

:TRUTH1_13388
if 
  144@ == 6
goto_if_false @TRUTH1_13453
if 
  145@ == 0
goto_if_false @TRUTH1_13453
set_lvar_int_to_constant 113@ = 25261
set_lvar_text_label 114@s = 'MCES05F'
gosub @TRUTH1_15966

:TRUTH1_13453
if 
  144@ == 7
goto_if_false @TRUTH1_13518
if 
  145@ == 0
goto_if_false @TRUTH1_13518
set_lvar_int_to_constant 113@ = 25262
set_lvar_text_label 114@s = 'MCES05G'
gosub @TRUTH1_15966

:TRUTH1_13518
if 
  144@ == 8
goto_if_false @TRUTH1_13583
if 
  145@ == 0
goto_if_false @TRUTH1_13583
set_lvar_int_to_constant 113@ = 25263
set_lvar_text_label 114@s = 'MCES05H'
gosub @TRUTH1_15966

:TRUTH1_13583
if 
  144@ == 9
goto_if_false @TRUTH1_13648
if 
  145@ == 0
goto_if_false @TRUTH1_13648
set_lvar_int_to_constant 113@ = 25264
set_lvar_text_label 114@s = 'MCES05J'
gosub @TRUTH1_15966

:TRUTH1_13648
if 
  144@ == 10
goto_if_false @TRUTH1_13713
if 
  145@ == 0
goto_if_false @TRUTH1_13713
set_lvar_int_to_constant 113@ = 25265
set_lvar_text_label 114@s = 'MCES05K'
gosub @TRUTH1_15966

:TRUTH1_13713
if 
  144@ == 11
goto_if_false @TRUTH1_13778
if 
  145@ == 0
goto_if_false @TRUTH1_13778
set_lvar_int_to_constant 113@ = 25266
set_lvar_text_label 114@s = 'MCES05L'
gosub @TRUTH1_15966

:TRUTH1_13778
if 
  144@ == 12
goto_if_false @TRUTH1_13843
if 
  145@ == 0
goto_if_false @TRUTH1_13843
set_lvar_int_to_constant 113@ = 25267
set_lvar_text_label 114@s = 'MCES05M'
gosub @TRUTH1_15966

:TRUTH1_13843
if 
  144@ == 13
goto_if_false @TRUTH1_13908
if 
  145@ == 0
goto_if_false @TRUTH1_13908
set_lvar_int_to_constant 113@ = 25268
set_lvar_text_label 114@s = 'MCES05N'
gosub @TRUTH1_15966

:TRUTH1_13908
if 
  144@ == 14
goto_if_false @TRUTH1_13973
if 
  145@ == 0
goto_if_false @TRUTH1_13973
set_lvar_int_to_constant 113@ = 25269
set_lvar_text_label 114@s = 'MCES05O'
gosub @TRUTH1_15966

:TRUTH1_13973
if 
  144@ == 15
goto_if_false @TRUTH1_14038
if 
  145@ == 0
goto_if_false @TRUTH1_14038
set_lvar_int_to_constant 113@ = 25270
set_lvar_text_label 114@s = 'MCES05P'
gosub @TRUTH1_15966

:TRUTH1_14038
if 
  144@ == 16
goto_if_false @TRUTH1_14103
if 
  145@ == 0
goto_if_false @TRUTH1_14103
set_lvar_int_to_constant 113@ = 25271
set_lvar_text_label 114@s = 'MCES05Q'
gosub @TRUTH1_15966

:TRUTH1_14103
if 
  144@ == 17
goto_if_false @TRUTH1_14168
if 
  145@ == 0
goto_if_false @TRUTH1_14168
set_lvar_int_to_constant 113@ = 25272
set_lvar_text_label 114@s = 'MCES05R'
gosub @TRUTH1_15966

:TRUTH1_14168
if 
  144@ == 18
goto_if_false @TRUTH1_14207
Task.UseMobilePhone($stattreadstamina_ctr, False)
TIMERA = 0
144@ = 19

:TRUTH1_14207
if 
  144@ == 19
goto_if_false @TRUTH1_14258
if 
  TIMERA > 2000
goto_if_false @TRUTH1_14258
goto @TRUTH1_16397
144@ = 20

:TRUTH1_14258
if 
  146@ == 0
goto_if_false @TRUTH1_14318
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @TRUTH1_14318
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
145@ = 0
144@ = 18
146@ = 1

:TRUTH1_14318
if 
  117@ > 4
goto_if_false @TRUTH1_14393
if 
  Car.IsDead(34@)
goto_if_false @TRUTH1_14393
if 
  8 > 129@
goto_if_false @TRUTH1_14393
Text.PrintNow('TRU1_16', 5000, 1)
goto @TRUTH1_16379

:TRUTH1_14393
if 
  100 > 143@
goto_if_false @TRUTH1_15959
if 
  143@ == 1
goto_if_false @TRUTH1_14465
if 
  not Char.IsDead(49@)
goto_if_false @TRUTH1_14465
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41029)
143@ = 2

:TRUTH1_14465
if 
  143@ == 2
goto_if_false @TRUTH1_14548
if 
  not Char.IsDead(49@)
goto_if_false @TRUTH1_14548
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_14548
Char.ShutUp(49@, True)
Text.PrintNow('TRU1_DF', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
143@ = 3

:TRUTH1_14548
if 
  143@ == 3
goto_if_false @TRUTH1_14590
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_14590
Text.ClearPrints
143@ = 4

:TRUTH1_14590
if 
  143@ == 4
goto_if_false @TRUTH1_14644
if 
  not Char.IsDead(49@)
goto_if_false @TRUTH1_14644
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41030)
143@ = 5

:TRUTH1_14644
if 
  143@ == 5
goto_if_false @TRUTH1_14727
if 
  not Char.IsDead(49@)
goto_if_false @TRUTH1_14727
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_14727
Text.PrintNow('TRU1_DG', 4000, 1)
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot1, 49@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
143@ = 6

:TRUTH1_14727
if 
  143@ == 6
goto_if_false @TRUTH1_14792
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_14792
Text.ClearPrints
if 
  not Char.IsDead(49@)
goto_if_false @TRUTH1_14785
Char.ShutUp(49@, False)

:TRUTH1_14785
143@ = 7

:TRUTH1_14792
if 
  143@ == 8
goto_if_false @TRUTH1_14846
if 
  not Char.IsDead(59@)
goto_if_false @TRUTH1_14846
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41035)
143@ = 9

:TRUTH1_14846
if 
  143@ == 9
goto_if_false @TRUTH1_14929
if 
  not Char.IsDead(59@)
goto_if_false @TRUTH1_14929
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_14929
Text.PrintNow('TRU1_FD', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.ShutUp(59@, True)
143@ = 10

:TRUTH1_14929
if 
  143@ == 10
goto_if_false @TRUTH1_14994
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_14994
Text.ClearPrints
if 
  not Char.IsDead(59@)
goto_if_false @TRUTH1_14987
Char.ShutUp(59@, False)

:TRUTH1_14987
143@ = 11

:TRUTH1_14994
if 
  143@ == 12
goto_if_false @TRUTH1_15063
if 
  not Char.IsDead(52@)
goto_if_false @TRUTH1_15063
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_15063
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41032)
143@ = 13

:TRUTH1_15063
if 
  143@ == 13
goto_if_false @TRUTH1_15139
if 
  not Char.IsDead(52@)
goto_if_false @TRUTH1_15139
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_15139
Text.PrintNow('TRU1_FA', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
143@ = 14

:TRUTH1_15139
if 
  143@ == 14
goto_if_false @TRUTH1_15181
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_15181
Text.ClearPrints
143@ = 15

:TRUTH1_15181
if 
  143@ == 15
goto_if_false @TRUTH1_15242
if 
  not Char.IsDead(53@)
goto_if_false @TRUTH1_15242
Char.ShutUp(53@, True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41001)
143@ = 16

:TRUTH1_15242
if 
  143@ == 16
goto_if_false @TRUTH1_15318
if 
  not Char.IsDead(53@)
goto_if_false @TRUTH1_15318
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_15318
Text.PrintNow('TRU1_AB', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
143@ = 17

:TRUTH1_15318
if 
  143@ == 17
goto_if_false @TRUTH1_15360
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_15360
Text.ClearPrints
143@ = 18

:TRUTH1_15360
if 
  143@ == 18
goto_if_false @TRUTH1_15414
if 
  not Char.IsDead(53@)
goto_if_false @TRUTH1_15414
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41003)
143@ = 19

:TRUTH1_15414
if 
  143@ == 19
goto_if_false @TRUTH1_15490
if 
  not Char.IsDead(53@)
goto_if_false @TRUTH1_15490
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_15490
Text.PrintNow('TRU1_AD', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
143@ = 20

:TRUTH1_15490
if 
  143@ == 21
goto_if_false @TRUTH1_15555
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_15555
Text.ClearPrints
if 
  not Char.IsDead(53@)
goto_if_false @TRUTH1_15548
Char.ShutUp(53@, False)

:TRUTH1_15548
143@ = 22

:TRUTH1_15555
if 
  143@ == 23
goto_if_false @TRUTH1_15609
if 
  not Char.IsDead(38@)
goto_if_false @TRUTH1_15609
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41028)
143@ = 24

:TRUTH1_15609
if 
  143@ == 24
goto_if_false @TRUTH1_15692
if 
  not Char.IsDead(38@)
goto_if_false @TRUTH1_15692
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_15692
Char.ShutUp(38@, True)
Text.PrintNow('TRU1_DE', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
143@ = 25

:TRUTH1_15692
if 
  143@ == 26
goto_if_false @TRUTH1_15757
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_15757
Text.ClearPrints
if 
  not Char.IsDead(38@)
goto_if_false @TRUTH1_15750
Char.ShutUp(38@, False)

:TRUTH1_15750
143@ = 27

:TRUTH1_15757
if 
  143@ == 28
goto_if_false @TRUTH1_15811
if 
  not Char.IsDead(68@)
goto_if_false @TRUTH1_15811
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41002)
143@ = 29

:TRUTH1_15811
if 
  143@ == 29
goto_if_false @TRUTH1_15894
if 
  not Char.IsDead(68@)
goto_if_false @TRUTH1_15894
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_15894
Char.ShutUp(68@, True)
Text.PrintNow('TRU1_AC', 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
143@ = 30

:TRUTH1_15894
if 
  143@ == 30
goto_if_false @TRUTH1_15959
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_15959
Text.ClearPrints
if 
  not Char.IsDead(68@)
goto_if_false @TRUTH1_15952
Char.ShutUp(68@, False)

:TRUTH1_15952
143@ = 31

:TRUTH1_15959
goto @TRUTH1_935

:TRUTH1_15966
if 
  145@ == 0
goto_if_false @TRUTH1_16006
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 113@)
set_lvar_text_label 111@s = 114@s
145@ = 1

:TRUTH1_16006
return 

:TRUTH1_16008
if 
  145@ == 1
goto_if_false @TRUTH1_16062
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_16062
Text.PrintNow(111@s, 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
145@ = 2

:TRUTH1_16062
if 
  145@ == 2
goto_if_false @TRUTH1_16115
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH1_16115
144@ += 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
145@ = 0

:TRUTH1_16115
return 

:TRUTH1_16117
108@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.GoStraightToCoord(-1, 103@, 104@, 105@, MoveState.Run, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(108@)
Char.PerformSequence(102@, 108@)
Sequence.Clear(108@)
return 

:TRUTH1_16178
99@ = Sequence.Open()
Task.CarDriveToCoord(-1, 34@, -1025.67, -1029.39, 130.5, 6.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 34@, -1154.06, -1041.32, 130.5, 6.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 34@, -1166.82, -941.32, 130.21, 6.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 34@, -1031.46, -935.51, 130.19, 6.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Sequence.Close(99@)
Char.PerformSequence(38@, 99@)
Sequence.Clear(99@)
return 

:TRUTH1_16335
100@ = Sequence.Open()
Task.CarMission(-1, 101@, 101@, CarMission.RamPlayerFaraway, 20.0, DrivingMode.PloughThrough)
Sequence.Close(100@)
Char.PerformSequence(102@, 100@)
Sequence.Clear(100@)
return 

:TRUTH1_16379
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:TRUTH1_16397
Blip.Remove($truth_blip_icon)
$truth_blip_icon = Blip.AddSpriteForContactPoint($truthY, $truthZ, $truth2X, $spray_shop4)
CarGenerator.Switch($2869, 101)
CarGenerator.Switch($2870, 101)
CarGenerator.Switch($2871, 101)
CarGenerator.Switch($2872, 101)
CarGenerator.Switch($gun_toreno1, 101)
CarGenerator.Switch($gun_toreno2, 101)
CarGenerator.Switch($gun_toreno3, 101)
CarGenerator.Switch($gun_toreno4, 101)
Stat.RegisterMissionPassed('TRUTH_1')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSR', 5, 5000, TextStyle.Middle)
Audio.PlayMissionPassedTune(1)
Stat.AwardPlayerMissionRespect(5)
Player.ClearWantedLevel($statbike_temp)
$bcrashY += 1
Blip.Remove($flag_catcutscene_counter)
return 

:TRUTH1_16535
$weapon_shop1_blip = 0
Streaming.MarkModelAsNoLongerNeeded(532)
Streaming.MarkModelAsNoLongerNeeded(531)
Streaming.MarkModelAsNoLongerNeeded(#KMB_MARIJUANA)
Streaming.MarkModelAsNoLongerNeeded(#SW_HAYBREAK02)
Streaming.MarkModelAsNoLongerNeeded(357)
Streaming.MarkModelAsNoLongerNeeded(478)
Streaming.MarkModelAsNoLongerNeeded(157)
Streaming.MarkModelAsNoLongerNeeded(160)
Streaming.MarkModelAsNoLongerNeeded(162)
Streaming.MarkModelAsNoLongerNeeded(424)
Streaming.MarkModelAsNoLongerNeeded(337)
Streaming.UnloadSpecialCharacter(1)
Blip.Remove(116@)
Car.MarkAsNoLongerNeeded(56@)
Game.SetWantedMultiplier(1.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 47---------------
// Originally: Are you going to San Fierro?

:TRUTH2
script_name 'TRUTH2'
gosub @TRUTH2_47
if 
  has_deatharrest_been_executed 
goto_if_false @TRUTH2_38
gosub @TRUTH2_11910

:TRUTH2_38
gosub @TRUTH2_12153
terminate_this_script 

:TRUTH2_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('TRU2')
if 
  $weapon_shop1_blip == 0
goto_if_false @TRUTH2_159
42@ = Blip.AddForCoord(-1111.7, -1622.7, 76.4)
41@ = Pickup.CreateWithAmmo(359, PickupType.Once, 10, -1100.3, -1640.4, 76.4)
40@ = Pickup.CreateWithAmmo(359, PickupType.Once, 10, -1100.3, -1640.4, 76.4)

:TRUTH2_159
Text.ClearPrints
wait 0
$7016 = 331000
87@ = 0
88@ = 0
89@ = 0
90@ = 0
91@ = 0
92@ = 0
93@ = 0
94@ = 0
95@ = 0
96@ = 0
97@ = 0
98@ = 0
99@ = 0
100@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
105@ = 0
106@ = 0
107@ = 0
108@ = 0
109@ = 0
110@ = 0
111@ = 0
112@ = 0
113@ = 0
114@ = 0
115@ = 0
116@ = 0
117@ = 0
118@ = 0
119@ = 0
120@ = 0
121@ = 0
122@ = 0
123@ = 0
124@ = 0
125@ = 0
126@ = 0
127@ = 0
128@ = 0
129@ = 0
130@ = 0
131@ = 0
132@ = 0
133@ = 0
134@ = 0
$7015 = 44
135@ = 0
136@ = 0
148@ = 0
149@ = 0
137@ = 0
138@ = 0.0
139@ = 0.0
140@ = 0.0
141@ = 0.0
142@ = 0.0
143@ = 0.0
144@ = 0
145@ = 0
146@ = 0
147@ = 44
151@ = 0
152@ = 0
153@ = 0
202@ = 0
203@ = 0
204@ = 0
205@ = 0
206@ = 0
207@ = 0
208@ = 0
209@ = 0
210@ = 0
211@ = 0
150@ = 0
213@ = 0
214@ = 0
212@ = 0
Player.MakeGangDisappear
World.ClearArea(-1110.2, -1638.5, 76.0, 20.0, True)
Cutscene.Load('TRUTH_2')

:TRUTH2_797
if 
  not Cutscene.HasLoaded
goto_if_false @TRUTH2_821
wait 0
goto @TRUTH2_797

:TRUTH2_821
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:TRUTH2_830
if 
  not Cutscene.HasFinished
goto_if_false @TRUTH2_854
wait 0
goto @TRUTH2_830

:TRUTH2_854
Camera.DoFade(0, Fade.Out)

:TRUTH2_860
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH2_884
wait 0
goto @TRUTH2_860

:TRUTH2_884
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Player.MakeGangReappear
Camera.SetFadingColor(0, 0, 0)
wait 0
Streaming.RequestModel(483)
Streaming.RequestModel(543)
Streaming.RequestModel(497)
Streaming.RequestModel(283)
Streaming.RequestModel(361)
Streaming.RequestModel(346)
Streaming.LoadSpecialCharacter(1, 'TRUTH')
Streaming.RemoveIpl("TRUTHSFARM")
Streaming.RequestIpl("TRUTHSFARM")
Streaming.LoadAllModelsNow
Game.SetMaxFireGenerations(2)
World.ClearArea(-913.3, -1720.5, 76.6, 300.0, True)
216@ = DecisionMakerChar.Copy(65542)
World.ClearArea(-913.3, -1720.5, 76.6, 1.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -913.3, -1720.5, 76.6)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Flamethrower, 3000)
World.ClearArea(-1079.404, -1640.694, 75.375, 20.0, True)
$got_siren_help_before = Char.Create(PedType.Mission1, 290, -1079.404, -1640.694, 75.375)
Char.SetDropsWeaponsWhenDead($got_siren_help_before, False)
Char.SetGetOutUpsideDownCar($got_siren_help_before, False)
Char.SetDecisionMaker($got_siren_help_before, 216@)
Char.SetHeading($got_siren_help_before, 299.7411)
Char.GiveWeapon($got_siren_help_before, WeaponType.Flamethrower, 3000)
Char.SetNeverTargeted($got_siren_help_before, True)
Char.SetCantBeDraggedOut($got_siren_help_before, True)
215@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1070.1, -1636.5, 75.4, MoveState.Run, -1)
Task.ShootAtCoord(-1, -1062.2, -1631.1, 75.3, -1)
Sequence.Close(215@)
Char.PerformSequence($got_siren_help_before, 215@)
Sequence.Clear(215@)
World.ClearArea(-1077.6, -1650.2, 75.3, 20.0, True)
Car.CustomPlateForNextCar(483, "OUTTHERE")
34@ = Car.Create(483, -1077.6, -1650.2, 75.3)
Car.ChangeColor(34@, 1, 1)
Car.GivePaintjob(34@, 0)
Car.SetCanRespray(34@, False)
Car.LockDoors(34@, CarLock.LockoutPlayerOnly)
Car.SetTraction(34@, 2.0)
Car.SetHeading(34@, 256.4)
Car.FreezePosition(34@, True)
Car.SetProofs(34@, False, False, True, False, False)
World.ClearArea(-946.6, -1735.0, 76.9, 5.0, True)
39@ = Car.Create(543, -946.6, -1735.0, 76.9)
Car.SetHeading(39@, 1.4)
Car.SetProofs(39@, False, False, True, False, False)
World.ClearArea(-918.5, -1751.1, 97.3, 5.0, True)
35@ = Car.Create(497, -918.5, -1751.1, 97.3)
Heli.SetBladesFullSpeed(35@)
36@ = Char.CreateInsideCar(35@, PedType.Mission1, 283)
38@ = Searchlight.CreateOnVehicle(35@, 0.0, 0.0, -1.0, -936.6, -1723.2, 76.8, 6.0, 1.0)
Searchlight.PointAtChar(38@, $got_siren_help_before, 10.0)
Heli.FollowEntity(35@, $got_siren_help_before, -1, 20.0)
Car.LockDoors(35@, CarLock.Locked)
Char.SetCanBeShotInVehicle(36@, False)
Char.SetDecisionMaker(36@, 216@)
43@ = Blip.AddForCoord(-1062.1, -1631.7, 75.3)
Blip.ChangeScale(43@, 1)
Blip.SetCoordAppearance(43@, 2)
44@ = Blip.AddForCoord(-1052.3, -1631.7, 75.3)
Blip.ChangeScale(44@, 1)
Blip.SetCoordAppearance(44@, 2)
45@ = Blip.AddForCoord(-1042.4, -1631.7, 75.3)
Blip.ChangeScale(45@, 1)
Blip.SetCoordAppearance(45@, 2)
46@ = Blip.AddForCoord(-1032.6, -1631.7, 75.3)
Blip.ChangeScale(46@, 1)
Blip.SetCoordAppearance(46@, 2)
47@ = Blip.AddForCoord(-1023.1, -1631.7, 75.3)
Blip.ChangeScale(47@, 1)
Blip.SetCoordAppearance(47@, 2)
48@ = Blip.AddForCoord(-1062.1, -1622.2, 75.3)
Blip.ChangeScale(48@, 1)
Blip.SetCoordAppearance(48@, 2)
49@ = Blip.AddForCoord(-1052.3, -1622.2, 75.3)
Blip.ChangeScale(49@, 1)
Blip.SetCoordAppearance(49@, 2)
50@ = Blip.AddForCoord(-1042.4, -1622.2, 75.3)
Blip.ChangeScale(50@, 1)
Blip.SetCoordAppearance(50@, 2)
51@ = Blip.AddForCoord(-1032.6, -1622.2, 75.3)
Blip.ChangeScale(51@, 1)
Blip.SetCoordAppearance(51@, 2)
52@ = Blip.AddForCoord(-1023.1, -1622.2, 75.3)
Blip.ChangeScale(52@, 1)
Blip.SetCoordAppearance(52@, 2)
53@ = Blip.AddForCoord(-991.92, -1703.1, 75.3)
Blip.ChangeScale(53@, 1)
Blip.SetCoordAppearance(53@, 2)
54@ = Blip.AddForCoord(-982.38, -1703.1, 75.3)
Blip.ChangeScale(54@, 1)
Blip.SetCoordAppearance(54@, 2)
55@ = Blip.AddForCoord(-991.92, -1693.6, 75.3)
Blip.ChangeScale(55@, 1)
Blip.SetCoordAppearance(55@, 2)
56@ = Blip.AddForCoord(-982.38, -1693.6, 75.3)
Blip.ChangeScale(56@, 1)
Blip.SetCoordAppearance(56@, 2)
57@ = Blip.AddForCoord(-991.92, -1684.1, 75.3)
Blip.ChangeScale(57@, 1)
Blip.SetCoordAppearance(57@, 2)
58@ = Blip.AddForCoord(-982.38, -1684.1, 75.3)
Blip.ChangeScale(58@, 1)
Blip.SetCoordAppearance(58@, 2)
59@ = Blip.AddForCoord(-1011.8, -1667.6, 75.3)
Blip.ChangeScale(59@, 1)
Blip.SetCoordAppearance(59@, 2)
60@ = Blip.AddForCoord(-1011.8, -1658.1, 75.3)
Blip.ChangeScale(60@, 1)
Blip.SetCoordAppearance(60@, 2)
61@ = Blip.AddForCoord(-1011.8, -1648.7, 75.3)
Blip.ChangeScale(61@, 1)
Blip.SetCoordAppearance(61@, 2)
62@ = Blip.AddForCoord(-1000.7, -1667.6, 75.3)
Blip.ChangeScale(62@, 1)
Blip.SetCoordAppearance(62@, 2)
63@ = Blip.AddForCoord(-1000.7, -1658.1, 75.3)
Blip.ChangeScale(63@, 1)
Blip.SetCoordAppearance(63@, 2)
64@ = Blip.AddForCoord(-1000.7, -1648.7, 75.3)
Blip.ChangeScale(64@, 1)
Blip.SetCoordAppearance(64@, 2)
65@ = Blip.AddForCoord(-1011.8, -1672.3, 75.3)
Blip.ChangeScale(65@, 1)
Blip.SetCoordAppearance(65@, 2)
66@ = Blip.AddForCoord(-991.92, -1688.8, 75.3)
Blip.ChangeScale(66@, 1)
Blip.SetCoordAppearance(66@, 2)
67@ = Blip.AddForCoord(-982.38, -1688.8, 75.3)
Blip.ChangeScale(67@, 1)
Blip.SetCoordAppearance(67@, 2)
68@ = Blip.AddForCoord(-982.38, -1698.2, 75.3)
Blip.ChangeScale(68@, 1)
Blip.SetCoordAppearance(68@, 2)
69@ = Blip.AddForCoord(-991.92, -1698.2, 75.3)
Blip.ChangeScale(69@, 1)
Blip.SetCoordAppearance(69@, 2)
70@ = Blip.AddForCoord(-982.38, -1707.7, 75.3)
Blip.ChangeScale(70@, 1)
Blip.SetCoordAppearance(70@, 2)
71@ = Blip.AddForCoord(-1011.8, -1662.8, 75.3)
Blip.ChangeScale(71@, 1)
Blip.SetCoordAppearance(71@, 2)
72@ = Blip.AddForCoord(-1000.7, -1672.3, 75.3)
Blip.ChangeScale(72@, 1)
Blip.SetCoordAppearance(72@, 2)
73@ = Blip.AddForCoord(-1011.8, -1653.4, 75.3)
Blip.ChangeScale(73@, 1)
Blip.SetCoordAppearance(73@, 2)
74@ = Blip.AddForCoord(-1032.6, -1636.3, 75.3)
Blip.ChangeScale(74@, 1)
Blip.SetCoordAppearance(74@, 2)
75@ = Blip.AddForCoord(-1052.3, -1636.3, 75.3)
Blip.ChangeScale(75@, 1)
Blip.SetCoordAppearance(75@, 2)
76@ = Blip.AddForCoord(-1042.4, -1636.3, 75.3)
Blip.ChangeScale(76@, 1)
Blip.SetCoordAppearance(76@, 2)
77@ = Blip.AddForCoord(-1062.1, -1626.8, 75.3)
Blip.ChangeScale(77@, 1)
Blip.SetCoordAppearance(77@, 2)
78@ = Blip.AddForCoord(-991.92, -1707.7, 75.3)
Blip.ChangeScale(78@, 1)
Blip.SetCoordAppearance(78@, 2)
79@ = Blip.AddForCoord(-1023.1, -1626.8, 75.3)
Blip.ChangeScale(79@, 1)
Blip.SetCoordAppearance(79@, 2)
80@ = Blip.AddForCoord(-1000.7, -1662.8, 75.3)
Blip.ChangeScale(80@, 1)
Blip.SetCoordAppearance(80@, 2)
81@ = Blip.AddForCoord(-1000.7, -1653.4, 75.3)
Blip.ChangeScale(81@, 1)
Blip.SetCoordAppearance(81@, 2)
82@ = Blip.AddForCoord(-1032.6, -1626.8, 75.3)
Blip.ChangeScale(82@, 1)
Blip.SetCoordAppearance(82@, 2)
83@ = Blip.AddForCoord(-1042.4, -1626.8, 75.3)
Blip.ChangeScale(83@, 1)
Blip.SetCoordAppearance(83@, 2)
84@ = Blip.AddForCoord(-1052.3, -1626.8, 75.3)
Blip.ChangeScale(84@, 1)
Blip.SetCoordAppearance(84@, 2)
85@ = Blip.AddForCoord(-1062.1, -1636.3, 75.3)
Blip.ChangeScale(85@, 1)
Blip.SetCoordAppearance(85@, 2)
86@ = Blip.AddForCoord(-1023.1, -1636.3, 75.3)
Blip.ChangeScale(86@, 1)
Blip.SetCoordAppearance(86@, 2)
Hud.DisplayTimerWithString($7016, TimerDirection.Down, 'TRU2_06')
Char.SetCoordinates($stattreadstamina_ctr, -1089.9, -1644.1, 75.4)
Char.SetHeading($stattreadstamina_ctr, 283.3)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(500, Fade.In)
Text.Print('TRU2_01', 7000, 1)
Text.Print('TRU2_02', 7000, 1)
TIMERA = 0
TIMERB = 0

:TRUTH2_3224
wait 0
gosub @TRUTH2_14570
Player.ClearWantedLevel($statbike_temp)
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @TRUTH2_3262
goto @TRUTH2_11942

:TRUTH2_3262
gosub @TRUTH2_12668
if 
  90@ == 1
goto_if_false @TRUTH2_3294
goto @TRUTH2_11910

:TRUTH2_3294
if 
  87@ == 0
goto_if_false @TRUTH2_7881
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @TRUTH2_3388
151@ = 0
if 
  88@ == 0
goto_if_false @TRUTH2_3361
Text.ClearPrints
88@ = 1

:TRUTH2_3361
Char.SetCoordinates($stattreadstamina_ctr, -1104.7, -1648.0, 75.4)
$7015 = 0

:TRUTH2_3388
if 
  88@ == 0
goto_if_false @TRUTH2_3461
if 
  20 > $7015
goto_if_false @TRUTH2_3461
Text.ClearPrints
151@ = 1
152@ = 0
gosub @TRUTH2_14975
88@ = 1
TIMERA = 0

:TRUTH2_3461
if 
  88@ == 1
goto_if_false @TRUTH2_3514
if 
  151@ == 0
goto_if_false @TRUTH2_3514
Task.EnterCarAsDriver($got_siren_help_before, 34@, -1)
88@ = 2

:TRUTH2_3514
gosub @TRUTH2_12789
if 
  91@ == 0
goto_if_false @TRUTH2_3618
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1062.1, -1631.7, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_3618
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(43@)
$7015 -= 1
91@ = 1

:TRUTH2_3618
if 
  92@ == 0
goto_if_false @TRUTH2_3715
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1052.3, -1631.7, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_3715
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(44@)
$7015 -= 1
92@ = 1

:TRUTH2_3715
if 
  93@ == 0
goto_if_false @TRUTH2_3812
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1042.4, -1631.7, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_3812
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(45@)
$7015 -= 1
93@ = 1

:TRUTH2_3812
if 
  94@ == 0
goto_if_false @TRUTH2_3909
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1032.6, -1631.7, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_3909
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(46@)
$7015 -= 1
94@ = 1

:TRUTH2_3909
if 
  95@ == 0
goto_if_false @TRUTH2_4006
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1023.1, -1631.7, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_4006
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(47@)
$7015 -= 1
95@ = 1

:TRUTH2_4006
if 
  96@ == 0
goto_if_false @TRUTH2_4103
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1062.1, -1622.2, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_4103
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(48@)
$7015 -= 1
96@ = 1

:TRUTH2_4103
if 
  97@ == 0
goto_if_false @TRUTH2_4200
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1052.3, -1622.2, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_4200
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(49@)
$7015 -= 1
97@ = 1

:TRUTH2_4200
if 
  98@ == 0
goto_if_false @TRUTH2_4297
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1042.4, -1622.2, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_4297
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(50@)
$7015 -= 1
98@ = 1

:TRUTH2_4297
if 
  99@ == 0
goto_if_false @TRUTH2_4394
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1032.6, -1622.2, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_4394
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(51@)
$7015 -= 1
99@ = 1

:TRUTH2_4394
if 
  100@ == 0
goto_if_false @TRUTH2_4491
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1023.1, -1622.2, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_4491
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(52@)
$7015 -= 1
100@ = 1

:TRUTH2_4491
if 
  101@ == 0
goto_if_false @TRUTH2_4588
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-991.92, -1703.1, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_4588
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(53@)
$7015 -= 1
101@ = 1

:TRUTH2_4588
if 
  102@ == 0
goto_if_false @TRUTH2_4685
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-982.38, -1703.1, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_4685
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(54@)
$7015 -= 1
102@ = 1

:TRUTH2_4685
if 
  103@ == 0
goto_if_false @TRUTH2_4782
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-991.92, -1693.6, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_4782
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(55@)
$7015 -= 1
103@ = 1

:TRUTH2_4782
if 
  104@ == 0
goto_if_false @TRUTH2_4879
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-982.38, -1693.6, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_4879
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(56@)
$7015 -= 1
104@ = 1

:TRUTH2_4879
if 
  105@ == 0
goto_if_false @TRUTH2_4976
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-991.92, -1684.1, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_4976
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(57@)
$7015 -= 1
105@ = 1

:TRUTH2_4976
if 
  106@ == 0
goto_if_false @TRUTH2_5073
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-982.38, -1684.1, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_5073
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(58@)
$7015 -= 1
106@ = 1

:TRUTH2_5073
if 
  107@ == 0
goto_if_false @TRUTH2_5170
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1011.8, -1667.6, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_5170
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(59@)
$7015 -= 1
107@ = 1

:TRUTH2_5170
if 
  108@ == 0
goto_if_false @TRUTH2_5267
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1011.8, -1658.1, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_5267
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(60@)
$7015 -= 1
108@ = 1

:TRUTH2_5267
if 
  109@ == 0
goto_if_false @TRUTH2_5364
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1011.8, -1648.7, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_5364
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(61@)
$7015 -= 1
109@ = 1

:TRUTH2_5364
if 
  110@ == 0
goto_if_false @TRUTH2_5461
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1000.7, -1667.6, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_5461
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(62@)
$7015 -= 1
110@ = 1

:TRUTH2_5461
if 
  111@ == 0
goto_if_false @TRUTH2_5558
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1000.7, -1658.1, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_5558
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(63@)
$7015 -= 1
111@ = 1

:TRUTH2_5558
if 
  112@ == 0
goto_if_false @TRUTH2_5655
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1000.7, -1648.7, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_5655
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(64@)
$7015 -= 1
112@ = 1

:TRUTH2_5655
if 
  113@ == 0
goto_if_false @TRUTH2_5752
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1011.8, -1672.3, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_5752
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(65@)
$7015 -= 1
113@ = 1

:TRUTH2_5752
if 
  114@ == 0
goto_if_false @TRUTH2_5849
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-991.92, -1688.8, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_5849
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(66@)
$7015 -= 1
114@ = 1

:TRUTH2_5849
if 
  115@ == 0
goto_if_false @TRUTH2_5946
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-982.38, -1688.8, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_5946
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(67@)
$7015 -= 1
115@ = 1

:TRUTH2_5946
if 
  116@ == 0
goto_if_false @TRUTH2_6043
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-982.38, -1698.2, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_6043
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(68@)
$7015 -= 1
116@ = 1

:TRUTH2_6043
if 
  117@ == 0
goto_if_false @TRUTH2_6140
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-991.92, -1698.2, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_6140
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(69@)
$7015 -= 1
117@ = 1

:TRUTH2_6140
if 
  118@ == 0
goto_if_false @TRUTH2_6237
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-982.38, -1707.7, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_6237
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(70@)
$7015 -= 1
118@ = 1

:TRUTH2_6237
if 
  119@ == 0
goto_if_false @TRUTH2_6334
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1011.8, -1662.8, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_6334
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(71@)
$7015 -= 1
119@ = 1

:TRUTH2_6334
if 
  120@ == 0
goto_if_false @TRUTH2_6431
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1000.7, -1672.3, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_6431
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(72@)
$7015 -= 1
120@ = 1

:TRUTH2_6431
if 
  121@ == 0
goto_if_false @TRUTH2_6528
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1011.8, -1653.4, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_6528
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(73@)
$7015 -= 1
121@ = 1

:TRUTH2_6528
if 
  122@ == 0
goto_if_false @TRUTH2_6625
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1032.6, -1636.3, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_6625
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(74@)
$7015 -= 1
122@ = 1

:TRUTH2_6625
if 
  123@ == 0
goto_if_false @TRUTH2_6722
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1052.3, -1636.3, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_6722
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(75@)
$7015 -= 1
123@ = 1

:TRUTH2_6722
if 
  124@ == 0
goto_if_false @TRUTH2_6819
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1042.4, -1636.3, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_6819
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(76@)
$7015 -= 1
124@ = 1

:TRUTH2_6819
if 
  125@ == 0
goto_if_false @TRUTH2_6916
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1062.1, -1626.8, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_6916
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(77@)
$7015 -= 1
125@ = 1

:TRUTH2_6916
if 
  126@ == 0
goto_if_false @TRUTH2_7013
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-991.92, -1707.7, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_7013
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(78@)
$7015 -= 1
126@ = 1

:TRUTH2_7013
if 
  127@ == 0
goto_if_false @TRUTH2_7110
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1023.1, -1626.8, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_7110
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(79@)
$7015 -= 1
127@ = 1

:TRUTH2_7110
if 
  128@ == 0
goto_if_false @TRUTH2_7207
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1000.7, -1662.8, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_7207
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(80@)
$7015 -= 1
128@ = 1

:TRUTH2_7207
if 
  129@ == 0
goto_if_false @TRUTH2_7304
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1000.7, -1653.4, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_7304
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(81@)
$7015 -= 1
129@ = 1

:TRUTH2_7304
if 
  130@ == 0
goto_if_false @TRUTH2_7401
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1032.6, -1626.8, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_7401
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(82@)
$7015 -= 1
130@ = 1

:TRUTH2_7401
if 
  131@ == 0
goto_if_false @TRUTH2_7498
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1042.4, -1626.8, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_7498
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(83@)
$7015 -= 1
131@ = 1

:TRUTH2_7498
if 
  132@ == 0
goto_if_false @TRUTH2_7595
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1052.3, -1626.8, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_7595
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(84@)
$7015 -= 1
132@ = 1

:TRUTH2_7595
if 
  133@ == 0
goto_if_false @TRUTH2_7692
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1062.1, -1636.3, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_7692
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(85@)
$7015 -= 1
133@ = 1

:TRUTH2_7692
if 
  134@ == 0
goto_if_false @TRUTH2_7789
if 
  World.IsClosestObjectOfTypeSmashedOrDamaged(-1023.1, -1636.3, 75.3, 1.0, #GRASSPLANT, False, True)
goto_if_false @TRUTH2_7789
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(86@)
$7015 -= 1
134@ = 1

:TRUTH2_7789
if 
  $7015 == 0
goto_if_false @TRUTH2_7881
Streaming.MarkModelAsNoLongerNeeded(361)
Blip.Remove(42@)
42@ = Blip.AddForCoord(-1075.5, -1648.5, 75.1)
Blip.SetCoordAppearance(42@, 1)
Text.Print('TRU2_14', 11000, 1)
144@ = 0
88@ = 0
87@ = 1

:TRUTH2_7881
if 
  87@ == 1
goto_if_false @TRUTH2_9383
if 
  88@ == 0
goto_if_false @TRUTH2_8279
if 
  not Car.IsDead(35@)
goto_if_false @TRUTH2_8231
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, -1075.5, -1648.0, 75.1, 1.2, 1.2, 2.0, True)
goto_if_false @TRUTH2_8224
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
151@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Game.ShutAllCharsUp(True)
Player.SetDrunkenness($statbike_temp, 0)
Pickup.Remove(40@)
Hud.FreezeTimer(True)
Streaming.RequestModel(359)
Streaming.LoadAllModelsNow
World.ClearArea(-1075.5, -1648.0, 75.1, 5.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -1075.5, -1648.0, 75.1)
Char.SetHeading($stattreadstamina_ctr, 157.1)
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 6.0, True, False, False, False, 4000)
Camera.SetFixedPosition(-1071.3, -1647.8, 75.4, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1078.8, -1648.8, 76.3, SwitchType.JumpCut)
Text.ClearPrints
89@ = 1
skip_cutscene_start_internal @TRUTH2_8545
151@ = 8
152@ = 0
gosub @TRUTH2_14975
88@ = 1

:TRUTH2_8224
goto @TRUTH2_8279

:TRUTH2_8231
Car.FreezePosition(34@, False)
Task.CarDriveToCoord($got_siren_help_before, 34@, -939.5, -1718.8, 76.7, 10.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
88@ = 5

:TRUTH2_8279
if 
  88@ == 1
goto_if_false @TRUTH2_8351
if 
  151@ == 0
goto_if_false @TRUTH2_8351
Char.ClearTasks($stattreadstamina_ctr)
Task.GoStraightToCoord($stattreadstamina_ctr, -1081.4, -1650.3, 75.4, MoveState.Walk, -1)
88@ = 2

:TRUTH2_8351
if 
  88@ == 2
goto_if_false @TRUTH2_8435
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1491)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @TRUTH2_8435
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.RocketLauncher, 10)
151@ = 9
152@ = 0
gosub @TRUTH2_14975
88@ = 3

:TRUTH2_8435
if 
  88@ == 3
goto_if_false @TRUTH2_8502
if 
  152@ == 1
goto_if_false @TRUTH2_8502
Task.GoStraightToCoord($stattreadstamina_ctr, -1075.5, -1648.0, 75.1, MoveState.Walk, -1)
88@ = 4

:TRUTH2_8502
if 
  88@ == 4
goto_if_false @TRUTH2_8967
if 
  151@ == 0
goto_if_false @TRUTH2_8967
89@ = 0

:TRUTH2_8545
skip_cutscene_end 
gosub @TRUTH2_12668
if 
  90@ == 1
goto_if_false @TRUTH2_8579
goto @TRUTH2_11910

:TRUTH2_8579
if 
  89@ == 1
goto_if_false @TRUTH2_8745
Char.ClearTasksImmediately($stattreadstamina_ctr)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
151@ = 0
Camera.DoFade(500, Fade.Out)

:TRUTH2_8626
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH2_8650
wait 0
goto @TRUTH2_8626

:TRUTH2_8650
gosub @TRUTH2_12668
if 
  90@ == 1
goto_if_false @TRUTH2_8682
goto @TRUTH2_11910

:TRUTH2_8682
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.RocketLauncher, 10)
World.ClearArea(-1075.5, -1648.0, 75.1, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -1075.5, -1648.0, 75.1)
Char.SetHeading($stattreadstamina_ctr, 268.0)

:TRUTH2_8745
Game.ShutAllCharsUp(False)
Hud.FreezeTimer(False)
Car.FreezePosition(34@, False)
Pad.SetDrunkInputDelay($statbike_temp, 145@)
Player.SetDrunkenness($statbike_temp, 146@)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Task.CarDriveToCoord($got_siren_help_before, 34@, -939.5, -1718.8, 76.7, 10.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Blip.Remove(42@)
42@ = Blip.AddForCar(35@)
if 
  not Car.IsDead(35@)
goto_if_false @TRUTH2_8872
Text.PrintNow('TRU2_15', 7000, 1)

:TRUTH2_8872
if 
  89@ == 1
goto_if_false @TRUTH2_8953
Camera.DoFade(500, Fade.In)

:TRUTH2_8897
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH2_8921
wait 0
goto @TRUTH2_8897

:TRUTH2_8921
gosub @TRUTH2_12668
if 
  90@ == 1
goto_if_false @TRUTH2_8953
goto @TRUTH2_11910

:TRUTH2_8953
TIMERB = 0
88@ = 5

:TRUTH2_8967
if 
  88@ == 5
goto_if_false @TRUTH2_9383
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @TRUTH2_9041
if 
  not Car.IsDead(35@)
goto_if_false @TRUTH2_9021
Car.Explode(35@)

:TRUTH2_9021
Char.SetCoordinates($stattreadstamina_ctr, -946.8, -1733.5, 76.8)

:TRUTH2_9041
if 
  153@ == 2
goto_if_false @TRUTH2_9099
if 
  not Text.IsThisHelpMessageBeingDisplayed('SYN3_23')
goto_if_false @TRUTH2_9099
Text.PrintHelp('SYN3_24')
153@ = 3

:TRUTH2_9099
if 
  153@ == 1
goto_if_false @TRUTH2_9157
if 
  not Text.IsThisHelpMessageBeingDisplayed('SYN3_22')
goto_if_false @TRUTH2_9157
Text.PrintHelp('SYN3_23')
153@ = 2

:TRUTH2_9157
if 
  153@ == 0
goto_if_false @TRUTH2_9212
if 
  TIMERB > 7000
goto_if_false @TRUTH2_9212
Text.PrintHelp('SYN3_22')
153@ = 1

:TRUTH2_9212
if 
  Car.IsDead(35@)
goto_if_false @TRUTH2_9376
Hud.ClearTimer($7016)
Text.ClearPrints
Audio.SetRadioChannel(RadioChannel.KDST)
Text.Print('TRU2_17', 11000, 1)
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetCruiseSpeed(34@, 0.0)
Car.SetTempAction(34@, TempAction.HandbrakeStraight, 1000)
if 
  Char.IsInAnyCar($got_siren_help_before)
goto_if_false @TRUTH2_9318
Char.WarpFromCarToCoord($got_siren_help_before, -1516.4, -1596.9, 41.0)

:TRUTH2_9318
Char.WarpIntoCarAsPassenger($got_siren_help_before, 34@, -1)
Car.LockDoors(34@, CarLock.Unlocked)
Blip.Remove(42@)
42@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(42@, True)
88@ = 0
87@ = 2
goto @TRUTH2_9383

:TRUTH2_9376
gosub @TRUTH2_14224

:TRUTH2_9383
if 
  87@ == 2
goto_if_false @TRUTH2_9591
if 
  88@ == 0
goto_if_false @TRUTH2_9546
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH2_9546
Car.SetStatus(34@, EntityStatus.Player)
Text.ClearThisPrint('TRU2_17')
Text.PrintNow('TRU2_12', 7000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($got_siren_help_before, True)
Blip.Remove(42@)
42@ = Blip.AddForCoord(-2031.3, 178.5, 27.9)
Blip.SetAsFriendly(42@, False)
TIMERB = 0
136@ = 1
88@ = 0
87@ = 3

:TRUTH2_9546
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 34@, 200.0, 200.0, False)
goto_if_false @TRUTH2_9591
88@ = 0
87@ = 4

:TRUTH2_9591
if 
  87@ == 3
goto_if_false @TRUTH2_10299
if 
  151@ == 3
goto_if_false @TRUTH2_9679
if 
  152@ == 6
goto_if_false @TRUTH2_9679
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @TRUTH2_9679
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
151@ = 0

:TRUTH2_9679
if 
  88@ == 0
goto_if_false @TRUTH2_9769
if 
  TIMERB > 7000
goto_if_false @TRUTH2_9769
if 
  151@ == 0
goto_if_false @TRUTH2_9769
151@ = 3
152@ = 0
gosub @TRUTH2_14975
TIMERB = 0
88@ = 1

:TRUTH2_9769
if 
  88@ == 1
goto_if_false @TRUTH2_10105
if 
  151@ == 0
goto_if_false @TRUTH2_10105
if 
  TIMERB > 7000
goto_if_false @TRUTH2_10105
151@ = Math.RandomIntInRange(4, 8)
if 
  151@ == 4
goto_if_false @TRUTH2_9883
if 
  202@ == 1
goto_if_false @TRUTH2_9876
151@ = 0

:TRUTH2_9876
202@ = 1

:TRUTH2_9883
if 
  151@ == 5
goto_if_false @TRUTH2_9933
if 
  203@ == 1
goto_if_false @TRUTH2_9926
151@ = 0

:TRUTH2_9926
203@ = 1

:TRUTH2_9933
if 
  151@ == 6
goto_if_false @TRUTH2_9983
if 
  204@ == 1
goto_if_false @TRUTH2_9976
151@ = 0

:TRUTH2_9976
204@ = 1

:TRUTH2_9983
if 
  151@ == 7
goto_if_false @TRUTH2_10033
if 
  205@ == 1
goto_if_false @TRUTH2_10026
151@ = 0

:TRUTH2_10026
205@ = 1

:TRUTH2_10033
if 
  206@ == 0
goto_if_false @TRUTH2_10091
137@ = Player.GetCityIsIn($statbike_temp)
if 
  is_int_lvar_equal_to_constant 137@ == 2
goto_if_false @TRUTH2_10091
206@ = 1
151@ = 10

:TRUTH2_10091
152@ = 0
gosub @TRUTH2_14975

:TRUTH2_10105
if 
  2 > 88@
goto_if_false @TRUTH2_10292
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH2_10292
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @TRUTH2_10187
Car.SetCoordinates(34@, -2009.3, 145.2, 26.7)
Car.SetHeading(34@, 359.8)

:TRUTH2_10187
if 
  Char.LocateInCar3D($stattreadstamina_ctr, -2031.3, 178.5, 27.9, 4.0, 4.0, 4.0, True)
goto_if_false @TRUTH2_10292
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
151@ = 0
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($got_siren_help_before, False)
Player.SetControl($statbike_temp, False)
Streaming.MarkModelAsNoLongerNeeded(283)
88@ = 0
87@ = 5

:TRUTH2_10292
gosub @TRUTH2_14428

:TRUTH2_10299
if 
  87@ == 4
goto_if_false @TRUTH2_10975
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @TRUTH2_10780
if 
  88@ == 0
goto_if_false @TRUTH2_10780
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:TRUTH2_10369
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH2_10393
wait 0
goto @TRUTH2_10369

:TRUTH2_10393
gosub @TRUTH2_12668
if 
  90@ == 1
goto_if_false @TRUTH2_10425
goto @TRUTH2_11910

:TRUTH2_10425
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
151@ = 0
Player.SetDrunkenness($statbike_temp, 0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.SetOnlyDamagedByPlayer($got_siren_help_before, True)
138@, 139@, 140@ = Char.GetOffsetInWorldCoords($got_siren_help_before, 0.0, -10.0, 5.0)
Streaming.RequestModel(334)
Streaming.LoadScene(138@, 139@, 140@)
World.ClearArea(138@, 139@, 140@, 30.0, True)
Camera.SetFixedPosition(138@, 139@, 140@, 0.0, 0.0, 0.0)
Camera.PointAtChar($got_siren_help_before, CameraMode.Fixed, SwitchType.JumpCut)
Char.ClearTasks($got_siren_help_before)
if 
  Char.IsInCar($got_siren_help_before, 34@)
goto_if_false @TRUTH2_10613
Task.CarTempAction($got_siren_help_before, 34@, TempAction.HandbrakeStraight, 2000000)

:TRUTH2_10613
141@, 142@, 143@ = Path.GetNthClosestCarNode(138@, 139@, 140@, 1)
37@ = Char.Create(PedType.Mission1, 283, 141@, 142@, 143@)
if 
  Char.IsInAnyCar($got_siren_help_before)
goto_if_false @TRUTH2_10679
Char.GiveWeapon(37@, WeaponType.NightStick, 1)

:TRUTH2_10679
Task.CharArrestChar(37@, $got_siren_help_before)
Text.PrintNow('TRU2_10', 7000, 1)
Camera.DoFade(500, Fade.In)

:TRUTH2_10710
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH2_10734
wait 0
goto @TRUTH2_10710

:TRUTH2_10734
gosub @TRUTH2_12668
if 
  90@ == 1
goto_if_false @TRUTH2_10766
goto @TRUTH2_11910

:TRUTH2_10766
TIMERA = 0
88@ = 1

:TRUTH2_10780
if 
  88@ == 1
goto_if_false @TRUTH2_10975
if 
  TIMERA > 7000
goto_if_false @TRUTH2_10975
Camera.DoFade(500, Fade.Out)

:TRUTH2_10824
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH2_10848
wait 0
goto @TRUTH2_10824

:TRUTH2_10848
if 
  Searchlight.DoesExist(38@)
goto_if_false @TRUTH2_10869
Searchlight.Delete(38@)

:TRUTH2_10869
Char.Delete($got_siren_help_before)
Streaming.UnloadSpecialCharacter(1)
Car.Delete(34@)
Char.Delete(37@)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Text.PrintNow('TRU2_10', 5500, 1)
Camera.DoFade(500, Fade.In)

:TRUTH2_10944
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH2_10968
wait 0
goto @TRUTH2_10944

:TRUTH2_10968
goto @TRUTH2_11910

:TRUTH2_10975
if 
  87@ == 5
goto_if_false @TRUTH2_11839
if 
  88@ == 0
goto_if_false @TRUTH2_11037
if 
  TIMERA > 1500
goto_if_false @TRUTH2_11037
88@ = 1

:TRUTH2_11037
if 
  88@ == 1
goto_if_false @TRUTH2_11617
Camera.DoFade(500, Fade.Out)

:TRUTH2_11062
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH2_11086
wait 0
goto @TRUTH2_11062

:TRUTH2_11086
gosub @TRUTH2_12668
if 
  90@ == 1
goto_if_false @TRUTH2_11118
goto @TRUTH2_11910

:TRUTH2_11118
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Player.SetDrunkenness($statbike_temp, 0)
Camera.SetFixedPosition(-2025.0, 172.3, 28.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2032.9, 163.0, 30.88, SwitchType.JumpCut)
Game.ShutAllCharsUp(True)
World.ClearArea(-2028.9, 172.3, 27.8, 30.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -2028.9, 172.3, 27.8)
Char.SetHeading($stattreadstamina_ctr, 167.6)
215@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2029.9, 167.7, 27.8, MoveState.Walk, -1)
Task.Pause(-1, 2000)
Task.PlayAnim(-1, "IDLE_TIRED", "PED", 4.0, False, False, False, False, 4000)
Task.GoStraightToCoord(-1, -2033.0, 161.4, 28.0, MoveState.Walk, -1)
Sequence.Close(215@)
Char.PerformSequence($stattreadstamina_ctr, 215@)
Sequence.Clear(215@)
Player.SetDrunkenness($statbike_temp, 0)
World.ClearArea(-2030.9, 172.3, 27.8, 30.0, True)
Char.ClearTasksImmediately($got_siren_help_before)
Char.SetCoordinates($got_siren_help_before, -2030.9, 172.3, 27.8)
Char.SetHeading($got_siren_help_before, 167.6)
215@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2030.9, 167.7, 27.8, MoveState.Walk, -1)
Task.Pause(-1, 1000)
Task.GoStraightToCoord(-1, -2033.0, 161.4, 28.0, MoveState.Walk, -1)
Task.AchieveHeading(-1, 115.2)
Sequence.Close(215@)
Char.PerformSequence($got_siren_help_before, 215@)
Sequence.Clear(215@)
Camera.DoFade(500, Fade.In)

:TRUTH2_11523
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH2_11547
wait 0
goto @TRUTH2_11523

:TRUTH2_11547
gosub @TRUTH2_12668
if 
  90@ == 1
goto_if_false @TRUTH2_11579
goto @TRUTH2_11910

:TRUTH2_11579
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
151@ = 11
152@ = 0
gosub @TRUTH2_14975
88@ = 2

:TRUTH2_11617
if 
  88@ == 2
goto_if_false @TRUTH2_11667
if 
  151@ == 0
goto_if_false @TRUTH2_11667
88@ = 3
TIMERA = 0

:TRUTH2_11667
if 
  88@ == 3
goto_if_false @TRUTH2_11839
if 
  TIMERA > 1000
goto_if_false @TRUTH2_11839
Camera.DoFade(500, Fade.Out)

:TRUTH2_11711
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH2_11735
wait 0
goto @TRUTH2_11711

:TRUTH2_11735
if 
  Searchlight.DoesExist(38@)
goto_if_false @TRUTH2_11756
Searchlight.Delete(38@)

:TRUTH2_11756
Char.Delete($got_siren_help_before)
Streaming.UnloadSpecialCharacter(1)
Car.Delete(34@)
Char.Delete(37@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Game.ShutAllCharsUp(False)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(500, Fade.In)

:TRUTH2_11808
if 
  Camera.GetFadingStatus
goto_if_false @TRUTH2_11832
wait 0
goto @TRUTH2_11808

:TRUTH2_11832
goto @TRUTH2_11942

:TRUTH2_11839
if 
  2 > 87@
goto_if_false @TRUTH2_11896
if 
  $7016 == 0
goto_if_false @TRUTH2_11896
87@ = 4
88@ = 0
Char.SetHealth($got_siren_help_before, 10)

:TRUTH2_11896
gosub @TRUTH2_17129
goto @TRUTH2_3224

:TRUTH2_11910
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Flamethrower)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.RocketLauncher)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:TRUTH2_11942
Stat.SetInt(StatId.PassedTruth2, 1)
Text.PrintWithNumberBig('M_PASSR', 15, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(15)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('TRUTH_2')
Stat.PlayerMadeProgress(1)
$bcrashY += 1
Blip.Remove($flag_catcutscene_counter)
terminate_all_scripts_with_this_name 'MOB_SF'
start_new_script @MOB_SF 
Blip.Remove($barber_shop1)
$barber_shop1 = Blip.AddShortRangeSpriteForContactPoint($890[15], $908[15], $926[15], RadarSprite.SaveGame)
Blip.ChangeDisplay($barber_shop1, BlipDisplay.BlipOnly)
start_new_script @GARAGE 
Blip.Remove($garage_blip_icon)
$garage_blip_icon = Blip.AddSpriteForContactPoint($zeroY, $zeroZ, $wuziX, RadarSprite.CJ)
Pickup.Remove($869[15])
$869[15] = Pickup.Create(#PICKUPSAVE, PickupType.Once, $890[15], $908[15], $926[15])
$889 = 16
Garage.Activate('MDSSFSE')
Blip.Remove($2593)
$2593 = Blip.AddShortRangeSpriteForCoord(-1941.0, 251.7, 33.4, RadarSprite.ModGarage)
return 

:TRUTH2_12153
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRUTH2_12183
Pad.SetDrunkInputDelay($statbike_temp, 0)
Player.SetDrunkenness($statbike_temp, 0)

:TRUTH2_12183
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @TRUTH2_12201
Camera.RestoreJumpcut

:TRUTH2_12201
Streaming.RemoveIplDiscreetly("TRUTHSFARM")
Blip.Remove(42@)
if 
  not Car.IsDead(35@)
goto_if_false @TRUTH2_12266
Heli.GotoCoords(35@, 0.0, 0.0, 200.0, 0.0, 200.0)

:TRUTH2_12266
if 
  not Char.IsDead($got_siren_help_before)
goto_if_false @TRUTH2_12287
Char.DetachFromCar($got_siren_help_before)

:TRUTH2_12287
if 
  not Car.IsDead(39@)
goto_if_false @TRUTH2_12318
Car.SetProofs(39@, False, False, False, False, False)

:TRUTH2_12318
if 
  not Car.IsDead(34@)
goto_if_false @TRUTH2_12341
Car.LockDoors(34@, CarLock.Unlocked)

:TRUTH2_12341
Pickup.Remove(40@)
Pickup.Remove(41@)
Streaming.MarkModelAsNoLongerNeeded(483)
Streaming.MarkModelAsNoLongerNeeded(543)
Streaming.MarkModelAsNoLongerNeeded(497)
Streaming.MarkModelAsNoLongerNeeded(283)
Streaming.MarkModelAsNoLongerNeeded(361)
Streaming.MarkModelAsNoLongerNeeded(359)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(334)
Char.RemoveElegantly($got_siren_help_before)
Streaming.UnloadSpecialCharacter(1)
Hud.ClearTimer($7016)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TRUTH2_12428
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:TRUTH2_12428
Game.ShutAllCharsUp(False)
Blip.Remove(43@)
Blip.Remove(44@)
Blip.Remove(45@)
Blip.Remove(46@)
Blip.Remove(47@)
Blip.Remove(48@)
Blip.Remove(49@)
Blip.Remove(50@)
Blip.Remove(51@)
Blip.Remove(52@)
Blip.Remove(53@)
Blip.Remove(54@)
Blip.Remove(55@)
Blip.Remove(56@)
Blip.Remove(57@)
Blip.Remove(58@)
Blip.Remove(59@)
Blip.Remove(60@)
Blip.Remove(61@)
Blip.Remove(62@)
Blip.Remove(63@)
Blip.Remove(64@)
Blip.Remove(65@)
Blip.Remove(66@)
Blip.Remove(67@)
Blip.Remove(68@)
Blip.Remove(69@)
Blip.Remove(70@)
Blip.Remove(71@)
Blip.Remove(72@)
Blip.Remove(73@)
Blip.Remove(74@)
Blip.Remove(75@)
Blip.Remove(76@)
Blip.Remove(77@)
Blip.Remove(78@)
Blip.Remove(79@)
Blip.Remove(80@)
Blip.Remove(81@)
Blip.Remove(82@)
Blip.Remove(83@)
Blip.Remove(84@)
Blip.Remove(85@)
Blip.Remove(86@)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:TRUTH2_12668
if 
  Char.IsDead($got_siren_help_before)
goto_if_false @TRUTH2_12709
Text.ClearPrints
Text.PrintNow('TRU2_08', 7000, 1)
90@ = 1

:TRUTH2_12709
if 
  Car.IsDead(34@)
goto_if_false @TRUTH2_12750
Text.ClearPrints
Text.PrintNow('TRU2_09', 7000, 1)
90@ = 1

:TRUTH2_12750
if 
  Car.IsDead(35@)
goto_if_false @TRUTH2_12787
if 
  Searchlight.DoesExist(38@)
goto_if_false @TRUTH2_12787
Searchlight.Delete(38@)

:TRUTH2_12787
return 

:TRUTH2_12789
if 
  148@ == 0
goto_if_false @TRUTH2_13016
149@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Flamethrower)
if 
  149@ == 0
goto_if_false @TRUTH2_13016
Blip.Remove(43@)
Blip.Remove(44@)
Blip.Remove(45@)
Blip.Remove(46@)
Blip.Remove(47@)
Blip.Remove(48@)
Blip.Remove(49@)
Blip.Remove(50@)
Blip.Remove(51@)
Blip.Remove(52@)
Blip.Remove(53@)
Blip.Remove(54@)
Blip.Remove(55@)
Blip.Remove(56@)
Blip.Remove(57@)
Blip.Remove(58@)
Blip.Remove(59@)
Blip.Remove(60@)
Blip.Remove(61@)
Blip.Remove(62@)
Blip.Remove(63@)
Blip.Remove(64@)
Blip.Remove(42@)
40@ = Pickup.CreateWithAmmo(361, PickupType.Once, 3000, -1100.3, -1640.4, 76.4)
42@ = Blip.AddForPickup(40@)
Blip.SetAsFriendly(42@, False)
Text.PrintNow('TRU2_13', 7000, 1)
148@ = 1

:TRUTH2_13016
if 
  148@ == 1
goto_if_false @TRUTH2_14222
if 
  Pickup.HasBeenCollected(40@)
goto_if_false @TRUTH2_14222
Blip.Remove(42@)
if 
  91@ == 0
goto_if_false @TRUTH2_13107
43@ = Blip.AddForCoord(-1061.9, -1630.7, 75.3)
Blip.ChangeScale(43@, 1)
Blip.SetCoordAppearance(43@, 2)

:TRUTH2_13107
if 
  92@ == 0
goto_if_false @TRUTH2_13159
44@ = Blip.AddForCoord(-1062.3, -1621.4, 75.3)
Blip.ChangeScale(44@, 1)
Blip.SetCoordAppearance(44@, 2)

:TRUTH2_13159
if 
  93@ == 0
goto_if_false @TRUTH2_13211
45@ = Blip.AddForCoord(-1052.8, -1630.8, 75.3)
Blip.ChangeScale(45@, 1)
Blip.SetCoordAppearance(45@, 2)

:TRUTH2_13211
if 
  94@ == 0
goto_if_false @TRUTH2_13263
46@ = Blip.AddForCoord(-1052.8, -1621.4, 75.3)
Blip.ChangeScale(46@, 1)
Blip.SetCoordAppearance(46@, 2)

:TRUTH2_13263
if 
  95@ == 0
goto_if_false @TRUTH2_13315
47@ = Blip.AddForCoord(-1042.8, -1630.8, 75.3)
Blip.ChangeScale(47@, 1)
Blip.SetCoordAppearance(47@, 2)

:TRUTH2_13315
if 
  96@ == 0
goto_if_false @TRUTH2_13367
48@ = Blip.AddForCoord(-1042.8, -1621.4, 75.3)
Blip.ChangeScale(48@, 1)
Blip.SetCoordAppearance(48@, 2)

:TRUTH2_13367
if 
  97@ == 0
goto_if_false @TRUTH2_13419
49@ = Blip.AddForCoord(-1032.8, -1630.8, 75.3)
Blip.ChangeScale(49@, 1)
Blip.SetCoordAppearance(49@, 2)

:TRUTH2_13419
if 
  98@ == 0
goto_if_false @TRUTH2_13471
50@ = Blip.AddForCoord(-1032.8, -1621.4, 75.3)
Blip.ChangeScale(50@, 1)
Blip.SetCoordAppearance(50@, 2)

:TRUTH2_13471
if 
  99@ == 0
goto_if_false @TRUTH2_13523
51@ = Blip.AddForCoord(-1022.8, -1630.8, 75.3)
Blip.ChangeScale(51@, 1)
Blip.SetCoordAppearance(51@, 2)

:TRUTH2_13523
if 
  100@ == 0
goto_if_false @TRUTH2_13575
52@ = Blip.AddForCoord(-1022.8, -1621.4, 75.3)
Blip.ChangeScale(52@, 1)
Blip.SetCoordAppearance(52@, 2)

:TRUTH2_13575
if 
  101@ == 0
goto_if_false @TRUTH2_13627
53@ = Blip.AddForCoord(-1012.1, -1666.8, 75.3)
Blip.ChangeScale(53@, 1)
Blip.SetCoordAppearance(53@, 2)

:TRUTH2_13627
if 
  102@ == 0
goto_if_false @TRUTH2_13679
54@ = Blip.AddForCoord(-1012.8, -1657.4, 75.3)
Blip.ChangeScale(54@, 1)
Blip.SetCoordAppearance(54@, 2)

:TRUTH2_13679
if 
  103@ == 0
goto_if_false @TRUTH2_13731
55@ = Blip.AddForCoord(-1012.8, -1648.4, 75.3)
Blip.ChangeScale(55@, 1)
Blip.SetCoordAppearance(55@, 2)

:TRUTH2_13731
if 
  104@ == 0
goto_if_false @TRUTH2_13783
56@ = Blip.AddForCoord(-1000.1, -1666.8, 75.3)
Blip.ChangeScale(56@, 1)
Blip.SetCoordAppearance(56@, 2)

:TRUTH2_13783
if 
  105@ == 0
goto_if_false @TRUTH2_13835
57@ = Blip.AddForCoord(-1000.8, -1657.4, 75.3)
Blip.ChangeScale(57@, 1)
Blip.SetCoordAppearance(57@, 2)

:TRUTH2_13835
if 
  106@ == 0
goto_if_false @TRUTH2_13887
58@ = Blip.AddForCoord(-1000.8, -1648.4, 75.3)
Blip.ChangeScale(58@, 1)
Blip.SetCoordAppearance(58@, 2)

:TRUTH2_13887
if 
  107@ == 0
goto_if_false @TRUTH2_13939
59@ = Blip.AddForCoord(-992.1, -1702.8, 75.3)
Blip.ChangeScale(59@, 1)
Blip.SetCoordAppearance(59@, 2)

:TRUTH2_13939
if 
  108@ == 0
goto_if_false @TRUTH2_13991
60@ = Blip.AddForCoord(-992.8, -1693.4, 75.3)
Blip.ChangeScale(60@, 1)
Blip.SetCoordAppearance(60@, 2)

:TRUTH2_13991
if 
  109@ == 0
goto_if_false @TRUTH2_14043
61@ = Blip.AddForCoord(-992.8, -1684.4, 75.3)
Blip.ChangeScale(61@, 1)
Blip.SetCoordAppearance(61@, 2)

:TRUTH2_14043
if 
  110@ == 0
goto_if_false @TRUTH2_14095
62@ = Blip.AddForCoord(-982.1, -1702.8, 75.3)
Blip.ChangeScale(62@, 1)
Blip.SetCoordAppearance(62@, 2)

:TRUTH2_14095
if 
  111@ == 0
goto_if_false @TRUTH2_14147
63@ = Blip.AddForCoord(-982.8, -1693.4, 75.3)
Blip.ChangeScale(63@, 1)
Blip.SetCoordAppearance(63@, 2)

:TRUTH2_14147
if 
  112@ == 0
goto_if_false @TRUTH2_14199
64@ = Blip.AddForCoord(-982.8, -1684.4, 75.3)
Blip.ChangeScale(64@, 1)
Blip.SetCoordAppearance(64@, 2)

:TRUTH2_14199
Text.PrintNow('TRU2_01', 11000, 1)
148@ = 0

:TRUTH2_14222
return 

:TRUTH2_14224
if 
  150@ == 0
goto_if_false @TRUTH2_14340
149@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.RocketLauncher)
if 
  149@ == 0
goto_if_false @TRUTH2_14340
Blip.Remove(42@)
41@ = Pickup.CreateWithAmmo(359, PickupType.Once, 10, -1100.3, -1640.4, 76.4)
42@ = Blip.AddForPickup(41@)
Blip.SetAsFriendly(42@, False)
Text.PrintNow('TRU2_13', 7000, 1)
150@ = 1

:TRUTH2_14340
if 
  150@ == 1
goto_if_false @TRUTH2_14426
if 
  Pickup.HasBeenCollected(41@)
goto_if_false @TRUTH2_14426
Blip.Remove(42@)
if 
  not Car.IsDead(35@)
goto_if_false @TRUTH2_14419
42@ = Blip.AddForCar(35@)
Text.PrintNow('TRU2_15', 11000, 1)

:TRUTH2_14419
150@ = 0

:TRUTH2_14426
return 

:TRUTH2_14428
if 
  136@ == 0
goto_if_false @TRUTH2_14504
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH2_14504
Blip.Remove(42@)
42@ = Blip.AddForCoord(-2031.3, 178.5, 27.9)
Blip.SetAsFriendly(42@, False)
136@ = 1

:TRUTH2_14504
if 
  136@ == 1
goto_if_false @TRUTH2_14568
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH2_14568
Blip.Remove(42@)
42@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(42@, True)
136@ = 0

:TRUTH2_14568
return 

:TRUTH2_14570
if 
  87@ == 0
goto_if_false @TRUTH2_14881
if 
  $7015 > 0
goto_if_false @TRUTH2_14665
if 
  is_int_lvar_greater_than_int_var 147@ > $7015
goto_if_false @TRUTH2_14665
if 
  200 > 146@
goto_if_false @TRUTH2_14658
146@ += 1
146@ += 1

:TRUTH2_14658
147@ -= 1

:TRUTH2_14665
if 
  144@ == 0
goto_if_false @TRUTH2_14715
if 
  40 > $7015
goto_if_false @TRUTH2_14715
145@ += 1
144@ = 1

:TRUTH2_14715
if 
  144@ == 1
goto_if_false @TRUTH2_14765
if 
  30 > $7015
goto_if_false @TRUTH2_14765
145@ += 1
144@ = 2

:TRUTH2_14765
if 
  144@ == 2
goto_if_false @TRUTH2_14815
if 
  20 > $7015
goto_if_false @TRUTH2_14815
145@ += 1
144@ = 3

:TRUTH2_14815
if 
  144@ == 3
goto_if_false @TRUTH2_14865
if 
  10 > $7015
goto_if_false @TRUTH2_14865
145@ += 1
144@ = 4

:TRUTH2_14865
Pad.SetDrunkInputDelay($statbike_temp, 145@)
Player.SetDrunkenness($statbike_temp, 146@)

:TRUTH2_14881
if or
  87@ == 2
  87@ == 3
goto_if_false @TRUTH2_14973
if 
  TIMERA > 660
goto_if_false @TRUTH2_14973
if 
  146@ > 1
goto_if_false @TRUTH2_14950
146@ -= 1

:TRUTH2_14950
Pad.SetDrunkInputDelay($statbike_temp, 145@)
Player.SetDrunkenness($statbike_temp, 146@)
TIMERA = 0

:TRUTH2_14973
return 

:TRUTH2_14975
if 
  151@ == 1
goto_if_false @TRUTH2_15192
set_lvar_text_label 154@s = 'TRU2_AA'
set_lvar_text_label 156@s = 'TRU2_AB'
set_lvar_text_label 158@s = 'TRU2_AC'
set_lvar_text_label 160@s = 'TRU2_AD'
set_lvar_text_label 162@s = 'TRU2_AE'
set_lvar_text_label 164@s = 'TRU2_BA'
set_lvar_text_label 166@s = 'TRU2_BB'
set_lvar_text_label 168@s = 'TRU2_BC'
set_lvar_int_to_constant 186@ = 41200
set_lvar_int_to_constant 187@ = 41201
set_lvar_int_to_constant 188@ = 41202
set_lvar_int_to_constant 189@ = 41203
set_lvar_int_to_constant 190@ = 41204
set_lvar_int_to_constant 191@ = 41205
set_lvar_int_to_constant 192@ = 41206
set_lvar_int_to_constant 193@ = 41207
207@ = 8

:TRUTH2_15192
if 
  151@ == 2
goto_if_false @TRUTH2_15265
set_lvar_text_label 154@s = 'TRU2_CA'
set_lvar_text_label 156@s = 'TRU2_CB'
set_lvar_int_to_constant 186@ = 41208
set_lvar_int_to_constant 187@ = 41209
207@ = 2

:TRUTH2_15265
if 
  151@ == 3
goto_if_false @TRUTH2_15552
set_lvar_text_label 154@s = 'TRU2_DA'
set_lvar_text_label 156@s = 'TRU2_DB'
set_lvar_text_label 158@s = 'TRU2_DC'
set_lvar_text_label 160@s = 'TRU2_DD'
set_lvar_text_label 162@s = 'TRU2_DE'
set_lvar_text_label 164@s = 'TRU2_OA'
set_lvar_text_label 166@s = 'TRU2_OB'
set_lvar_text_label 168@s = 'TRU2_OC'
set_lvar_text_label 170@s = 'TRU2_OD'
set_lvar_text_label 172@s = 'TRU2_OE'
set_lvar_text_label 174@s = 'TRU2_OF'
set_lvar_int_to_constant 186@ = 41210
set_lvar_int_to_constant 187@ = 41211
set_lvar_int_to_constant 188@ = 41212
set_lvar_int_to_constant 189@ = 41213
set_lvar_int_to_constant 190@ = 41214
set_lvar_int_to_constant 191@ = 41268
set_lvar_int_to_constant 192@ = 3600
set_lvar_int_to_constant 193@ = 41269
set_lvar_int_to_constant 194@ = 41270
set_lvar_int_to_constant 195@ = 41271
set_lvar_int_to_constant 196@ = 41272
207@ = 11

:TRUTH2_15552
if 
  151@ == 4
goto_if_false @TRUTH2_15721
set_lvar_text_label 154@s = 'TRU2_EA'
set_lvar_text_label 156@s = 'TRU2_EB'
set_lvar_text_label 158@s = 'TRU2_EC'
set_lvar_text_label 160@s = 'TRU2_ED'
set_lvar_text_label 162@s = 'TRU2_EF'
set_lvar_text_label 164@s = 'TRU2_EG'
set_lvar_int_to_constant 186@ = 41216
set_lvar_int_to_constant 187@ = 41217
set_lvar_int_to_constant 188@ = 41218
set_lvar_int_to_constant 189@ = 41219
set_lvar_int_to_constant 190@ = 41220
set_lvar_int_to_constant 191@ = 41221
207@ = 6

:TRUTH2_15721
if 
  151@ == 5
goto_if_false @TRUTH2_15986
set_lvar_text_label 154@s = 'TRU2_FA'
set_lvar_text_label 156@s = 'TRU2_FB'
set_lvar_text_label 158@s = 'TRU2_FC'
set_lvar_text_label 160@s = 'TRU2_FD'
set_lvar_text_label 162@s = 'TRU2_FE'
set_lvar_text_label 164@s = 'TRU2_FF'
set_lvar_text_label 166@s = 'TRU2_FG'
set_lvar_text_label 168@s = 'TRU2_FH'
set_lvar_text_label 170@s = 'TRU2_FJ'
set_lvar_text_label 172@s = 'TRU2_FK'
set_lvar_int_to_constant 186@ = 41222
set_lvar_int_to_constant 187@ = 41223
set_lvar_int_to_constant 188@ = 41224
set_lvar_int_to_constant 189@ = 41225
set_lvar_int_to_constant 190@ = 41226
set_lvar_int_to_constant 191@ = 41227
set_lvar_int_to_constant 192@ = 41228
set_lvar_int_to_constant 193@ = 41229
set_lvar_int_to_constant 194@ = 41230
set_lvar_int_to_constant 195@ = 41231
207@ = 10

:TRUTH2_15986
if 
  151@ == 6
goto_if_false @TRUTH2_16203
set_lvar_text_label 154@s = 'TRU2_GA'
set_lvar_text_label 156@s = 'TRU2_GB'
set_lvar_text_label 158@s = 'TRU2_GC'
set_lvar_text_label 160@s = 'TRU2_GE'
set_lvar_text_label 162@s = 'TRU2_GF'
set_lvar_text_label 164@s = 'TRU2_GG'
set_lvar_text_label 166@s = 'TRU2_GH'
set_lvar_text_label 168@s = 'TRU2_GJ'
set_lvar_int_to_constant 186@ = 41232
set_lvar_int_to_constant 187@ = 41233
set_lvar_int_to_constant 188@ = 41234
set_lvar_int_to_constant 189@ = 41235
set_lvar_int_to_constant 190@ = 41236
set_lvar_int_to_constant 191@ = 41237
set_lvar_int_to_constant 192@ = 41238
set_lvar_int_to_constant 193@ = 41239
207@ = 8

:TRUTH2_16203
if 
  151@ == 7
goto_if_false @TRUTH2_16564
set_lvar_text_label 154@s = 'TRU2_HA'
set_lvar_text_label 156@s = 'TRU2_HB'
set_lvar_text_label 158@s = 'TRU2_HC'
set_lvar_text_label 160@s = 'TRU2_HD'
set_lvar_text_label 162@s = 'TRU2_HE'
set_lvar_text_label 164@s = 'TRU2_HF'
set_lvar_text_label 166@s = 'TRU2_HG'
set_lvar_text_label 168@s = 'TRU2_HH'
set_lvar_text_label 170@s = 'TRU2_HJ'
set_lvar_text_label 172@s = 'TRU2_HK'
set_lvar_text_label 174@s = 'TRU2_HL'
set_lvar_text_label 176@s = 'TRU2_HM'
set_lvar_text_label 178@s = 'TRU2_HN'
set_lvar_text_label 180@s = 'TRU2_HO'
set_lvar_int_to_constant 186@ = 41240
set_lvar_int_to_constant 187@ = 41241
set_lvar_int_to_constant 188@ = 41242
set_lvar_int_to_constant 189@ = 41243
set_lvar_int_to_constant 190@ = 41244
set_lvar_int_to_constant 191@ = 41245
set_lvar_int_to_constant 192@ = 41246
set_lvar_int_to_constant 193@ = 41247
set_lvar_int_to_constant 194@ = 41248
set_lvar_int_to_constant 195@ = 41249
set_lvar_int_to_constant 196@ = 41250
set_lvar_int_to_constant 197@ = 41251
set_lvar_int_to_constant 198@ = 41252
set_lvar_int_to_constant 199@ = 41253
207@ = 14

:TRUTH2_16564
if 
  151@ == 8
goto_if_false @TRUTH2_16637
set_lvar_text_label 154@s = 'TRU2_JA'
set_lvar_text_label 156@s = 'TRU2_JB'
set_lvar_int_to_constant 186@ = 41254
set_lvar_int_to_constant 187@ = 41255
207@ = 2

:TRUTH2_16637
if 
  151@ == 9
goto_if_false @TRUTH2_16758
set_lvar_text_label 154@s = 'TRU2_KA'
set_lvar_text_label 156@s = 'TRU2_KB'
set_lvar_text_label 158@s = 'TRU2_KC'
set_lvar_text_label 160@s = 'TRU2_KD'
set_lvar_int_to_constant 186@ = 41256
set_lvar_int_to_constant 187@ = 41257
set_lvar_int_to_constant 188@ = 41258
set_lvar_int_to_constant 189@ = 41259
207@ = 4

:TRUTH2_16758
if 
  151@ == 10
goto_if_false @TRUTH2_16927
set_lvar_text_label 154@s = 'TRU2_LA'
set_lvar_text_label 156@s = 'TRU2_LB'
set_lvar_text_label 158@s = 'TRU2_LC'
set_lvar_text_label 160@s = 'TRU2_MA'
set_lvar_text_label 162@s = 'TRU2_MB'
set_lvar_text_label 164@s = 'TRU2_MC'
set_lvar_int_to_constant 186@ = 41260
set_lvar_int_to_constant 187@ = 41261
set_lvar_int_to_constant 188@ = 41262
set_lvar_int_to_constant 189@ = 41263
set_lvar_int_to_constant 190@ = 41264
set_lvar_int_to_constant 191@ = 41265
207@ = 6

:TRUTH2_16927
if 
  151@ == 11
goto_if_false @TRUTH2_17000
set_lvar_text_label 154@s = 'TRU2_NA'
set_lvar_text_label 156@s = 'TRU2_NB'
set_lvar_int_to_constant 186@ = 41266
set_lvar_int_to_constant 187@ = 41267
207@ = 2

:TRUTH2_17000
if 
  151@ == 12
goto_if_false @TRUTH2_17098
set_lvar_text_label 154@s = 'TRUX_AA'
set_lvar_text_label 156@s = 'TRUX_AB'
set_lvar_text_label 158@s = 'TRUX_AC'
set_lvar_int_to_constant 186@ = 41400
set_lvar_int_to_constant 187@ = 41401
set_lvar_int_to_constant 188@ = 41402
set_lvar_int_to_lvar_int 207@ = 212@

:TRUTH2_17098
set_lvar_int_to_lvar_int 210@ = 152@
208@ = 0
209@ = 0
211@ = 1
return 

:TRUTH2_17129
if or
  151@ == 1
  151@ == 2
  151@ == 8
  151@ == 9
  151@ == 11
goto_if_false @TRUTH2_17283
if 
  is_int_lvar_greater_than_int_lvar 207@ > 152@
goto_if_false @TRUTH2_17276
gosub @TRUTH2_18243
gosub @TRUTH2_18350
if 
  not Char.IsDead($got_siren_help_before)
goto_if_false @TRUTH2_17238
gosub @TRUTH2_18504
goto @TRUTH2_17269

:TRUTH2_17238
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(154@(152@,16s))
208@ = 0
209@ = 0

:TRUTH2_17269
goto @TRUTH2_17283

:TRUTH2_17276
151@ = 0

:TRUTH2_17283
if or
  87@ == 3
  87@ == 4
goto_if_false @TRUTH2_17782
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH2_17646
if 
  151@ == 3
goto_if_false @TRUTH2_17460
if 
  is_int_lvar_greater_than_int_lvar 207@ > 152@
goto_if_false @TRUTH2_17446
gosub @TRUTH2_18243
gosub @TRUTH2_18350
if 
  not Char.IsDead($got_siren_help_before)
goto_if_false @TRUTH2_17408
gosub @TRUTH2_18504
goto @TRUTH2_17439

:TRUTH2_17408
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(154@(152@,16s))
208@ = 0
209@ = 0

:TRUTH2_17439
goto @TRUTH2_17460

:TRUTH2_17446
TIMERB = 0
151@ = 0

:TRUTH2_17460
if or
  151@ == 4
  151@ == 5
  151@ == 6
  151@ == 7
  151@ == 10
goto_if_false @TRUTH2_17646
if 
  is_int_lvar_greater_than_int_lvar 207@ > 152@
goto_if_false @TRUTH2_17607
gosub @TRUTH2_18243
gosub @TRUTH2_18350
if 
  not Char.IsDead($got_siren_help_before)
goto_if_false @TRUTH2_17569
gosub @TRUTH2_18504
goto @TRUTH2_17600

:TRUTH2_17569
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(154@(152@,16s))
208@ = 0
209@ = 0

:TRUTH2_17600
goto @TRUTH2_17646

:TRUTH2_17607
if 
  145@ > 0
goto_if_false @TRUTH2_17632
145@ -= 1

:TRUTH2_17632
TIMERB = 0
151@ = 0

:TRUTH2_17646
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH2_17782
if 
  12 > 151@
goto_if_false @TRUTH2_17782
if 
  is_int_lvar_greater_than_int_lvar 207@ > 152@
goto_if_false @TRUTH2_17709
152@ += 1

:TRUTH2_17709
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(154@(152@,16s))
Text.ClearPrints
set_lvar_int_to_lvar_int 214@ = 151@
set_lvar_int_to_lvar_int 213@ = 152@
151@ = 12
152@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 212@ = 152@
212@ += 1
gosub @TRUTH2_14975

:TRUTH2_17782
if 
  4 > 87@
goto_if_false @TRUTH2_18241
if 
  151@ == 12
goto_if_false @TRUTH2_18013
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH2_17961
if 
  is_int_lvar_greater_than_int_lvar 207@ > 152@
goto_if_false @TRUTH2_17938
gosub @TRUTH2_18243
gosub @TRUTH2_18350
if 
  not Char.IsDead($got_siren_help_before)
goto_if_false @TRUTH2_17900
gosub @TRUTH2_18504
goto @TRUTH2_17931

:TRUTH2_17900
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(154@(152@,16s))
208@ = 0
209@ = 0

:TRUTH2_17931
goto @TRUTH2_17961

:TRUTH2_17938
Text.Print('TRU2_17', 11000, 1)
151@ = 13

:TRUTH2_17961
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH2_18013
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(154@(152@,16s))
151@ = 14
152@ = 0
Text.ClearPrints

:TRUTH2_18013
if 
  151@ == 13
goto_if_false @TRUTH2_18066
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH2_18066
151@ = 14
152@ = 0
Text.ClearPrints

:TRUTH2_18066
if 
  151@ == 14
goto_if_false @TRUTH2_18241
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH2_18167
TIMERB = 0
set_lvar_int_to_lvar_int 151@ = 214@
set_lvar_int_to_lvar_int 152@ = 213@
gosub @TRUTH2_14975
if 
  214@ == 0
goto_if_false @TRUTH2_18167
Text.Print('TRU2_12', 7000, 1)

:TRUTH2_18167
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TRUTH2_18241
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(154@(152@,16s))
151@ = 12
152@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 212@ = 152@
212@ += 1
gosub @TRUTH2_14975

:TRUTH2_18241
return 

:TRUTH2_18243
if 
  is_int_lvar_greater_than_int_lvar 207@ > 210@
goto_if_false @TRUTH2_18348
if 
  208@ == 0
goto_if_false @TRUTH2_18305
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 186@(210@,16i))
210@ += 1
208@ = 1

:TRUTH2_18305
if 
  209@ == 0
goto_if_false @TRUTH2_18348
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 186@(210@,16i))
210@ += 1
209@ = 1

:TRUTH2_18348
return 

:TRUTH2_18350
if 
  211@ == 1
goto_if_false @TRUTH2_18426
if 
  208@ == 1
goto_if_false @TRUTH2_18426
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TRUTH2_18426
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(154@(152@,16s), 4500, 1)
208@ = 2

:TRUTH2_18426
if 
  211@ == 2
goto_if_false @TRUTH2_18502
if 
  209@ == 1
goto_if_false @TRUTH2_18502
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @TRUTH2_18502
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(154@(152@,16s), 4500, 1)
209@ = 2

:TRUTH2_18502
return 

:TRUTH2_18504
if 
  208@ == 2
goto_if_false @TRUTH2_18567
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TRUTH2_18567
Text.ClearThisPrint(154@(152@,16s))
152@ += 1
211@ = 2
208@ = 0

:TRUTH2_18567
if 
  209@ == 2
goto_if_false @TRUTH2_18630
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @TRUTH2_18630
Text.ClearThisPrint(154@(152@,16s))
152@ += 1
211@ = 1
209@ = 0

:TRUTH2_18630
return 

//-------------Mission 48---------------
// Originally: Wu Zi Mu / Farewell, My Love...

:BCESAR4
script_name 'BCESAR4'
gosub @BCESAR4_47
if 
  has_deatharrest_been_executed 
goto_if_false @BCESAR4_38
gosub @BCESAR4_2683

:BCESAR4_38
gosub @BCESAR4_2736
terminate_this_script 

:BCESAR4_47
$weapon_shop1_blip = 1

:BCESAR4_54
wait 0
if 
  $bcrashZ == 0
goto_if_false @BCESAR4_401
Text.LoadMissionText('BCESAR4')
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCESAR4_168
34@ = Char.GetCarIsUsing($stattreadstamina_ctr)
Car.SetAsMissionCar(34@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(34@)
$in_carX += 1000.0
Car.SetCoordinates(34@, $on_footY, $on_footZ, $in_carX)
Car.FreezePosition(34@, True)
goto @BCESAR4_175

:BCESAR4_168
34@ = -1

:BCESAR4_175
World.ClearArea(1557.162, 24.305, 22.7313, 100.0, True)
Player.MakeSafeForCutscene($statbike_temp)
Streaming.Switch(False)
Cutscene.Load('BCESAR4')

:BCESAR4_219
if 
  not Cutscene.HasLoaded
goto_if_false @BCESAR4_243
wait 0
goto @BCESAR4_219

:BCESAR4_243
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:BCESAR4_252
if 
  not Cutscene.HasFinished
goto_if_false @BCESAR4_276
wait 0
goto @BCESAR4_252

:BCESAR4_276
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:BCESAR4_289
if 
  Camera.GetFadingStatus
goto_if_false @BCESAR4_313
wait 0
goto @BCESAR4_289

:BCESAR4_313
Cutscene.Clear
$1851 = 1
$flag_cas1_passed_1stime = 1
if 
  34@ <> -1
goto_if_false @BCESAR4_394
if 
  not Car.IsDead(34@)
goto_if_false @BCESAR4_394
Car.FreezePosition(34@, False)
$in_carX -= 1000.0
Car.SetCoordinates(34@, $on_footY, $on_footZ, $in_carX)

:BCESAR4_394
goto @BCESAR4_2685

:BCESAR4_401
if 
  $bcrashZ == 2
goto_if_false @BCESAR4_1629
if 
  Char.IsInArea3D($stattreadstamina_ctr, -782.3699, -147.948, 19.5518, -405.0757, -237.5195, 91.1306, False)
goto_if_false @BCESAR4_1601
$weapon_shop1_blip = 1
Camera.DoFade(1000, Fade.Out)

:BCESAR4_481
if 
  Camera.GetFadingStatus
goto_if_false @BCESAR4_505
wait 0
goto @BCESAR4_481

:BCESAR4_505
Streaming.RequestModel(439)
Streaming.RequestModel(475)
Streaming.RequestModel(526)
Streaming.RequestModel(101)
Streaming.RequestModel(23)
Streaming.RequestModel(290)
Streaming.RequestAnimation("KISSING")
World.ClearArea(-518.049, -189.3775, 79.3468, 100.0, False)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-535.8186, -198.0116, 80.8647, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-535.5711, -197.1029, 80.5285, SwitchType.JumpCut)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCESAR4_732
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCESAR4_732
$stealth_help_flag = Char.GetCarIsUsing($stattreadstamina_ctr)
if 
  $stealth_help_flag > 0
goto_if_false @BCESAR4_732
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @BCESAR4_732
Car.SetVisible($stealth_help_flag, False)
Car.FreezePosition($stealth_help_flag, True)
Car.SetCollision($stealth_help_flag, False)
Char.SetVisible($stattreadstamina_ctr, False)

:BCESAR4_732
wait 1000

:BCESAR4_737
if and
  not Streaming.HasModelLoaded(439)
  not Streaming.HasModelLoaded(475)
  not Streaming.HasModelLoaded(526)
  not Streaming.HasModelLoaded(101)
  not Streaming.HasModelLoaded(23)
  not Streaming.HasModelLoaded(290)
goto_if_false @BCESAR4_787
wait 0
goto @BCESAR4_737

:BCESAR4_787
if 
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @BCESAR4_820
wait 0
goto @BCESAR4_787

:BCESAR4_820
35@ = Car.Create(439, -536.7188, -192.5453, 77.404)
38@ = Char.Create(PedType.Mission1, 101, -530.4067, -188.8082, 77.3986)
Car.SetHeading(35@, 287.0)
41@ = Sequence.Open()
Task.PlayAnim(-1, "GIFT_GIVE", "KISSING", 1000.0, False, False, False, False, -2)
Task.EnterCarAsDriver(-1, 35@, -2)
Task.CarDriveToCoord(-1, 35@, -507.5502, -99.2875, 61.825, 10.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Sequence.Close(41@)
Char.PerformSequence(38@, 41@)
Sequence.Clear(41@)
36@ = Car.Create(475, -536.158, -185.2865, 77.398)
39@ = Char.Create(PedType.Mission1, 23, -530.4067, -187.8082, 77.3986)
Char.SetHeading(39@, 180.0)
Car.SetHeading(36@, 243.0)
41@ = Sequence.Open()
Task.PlayAnim(-1, "GIFT_GET", "KISSING", 1000.0, False, False, False, False, -2)
Task.EnterCarAsDriver(-1, 36@, -2)
Task.CarDriveToCoord(-1, 36@, -507.5502, -99.2875, 61.825, 10.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Sequence.Close(41@)
Char.PerformSequence(39@, 41@)
Sequence.Clear(41@)
37@ = Car.Create(526, -524.9425, -184.208, 77.2766)
40@ = Char.CreateInsideCar(37@, PedType.Mission1, 290)
Car.SetHeading(37@, 239.0)
41@ = Sequence.Open()
Task.Pause(-1, 7000)
Task.CarDriveToCoord(-1, 37@, -507.5502, -99.2875, 61.825, 10.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Sequence.Close(41@)
Char.PerformSequence(40@, 41@)
Sequence.Clear(41@)
Camera.DoFade(800, Fade.In)
skip_cutscene_start_internal @BCESAR4_1310
wait 10000
Camera.DoFade(1000, Fade.Out)

:BCESAR4_1286
if 
  Camera.GetFadingStatus
goto_if_false @BCESAR4_1310
wait 0
goto @BCESAR4_1286

:BCESAR4_1310
skip_cutscene_end 
if 
  not Car.IsDead(35@)
goto_if_false @BCESAR4_1333
Car.Delete(35@)

:BCESAR4_1333
if 
  not Car.IsDead(36@)
goto_if_false @BCESAR4_1354
Car.Delete(36@)

:BCESAR4_1354
if 
  not Car.IsDead(37@)
goto_if_false @BCESAR4_1375
Car.Delete(37@)

:BCESAR4_1375
if 
  not Char.IsDead(38@)
goto_if_false @BCESAR4_1396
Char.Delete(38@)

:BCESAR4_1396
if 
  not Char.IsDead(39@)
goto_if_false @BCESAR4_1417
Char.Delete(39@)

:BCESAR4_1417
if 
  not Char.IsDead(40@)
goto_if_false @BCESAR4_1438
Char.Delete(40@)

:BCESAR4_1438
Streaming.MarkModelAsNoLongerNeeded(439)
Streaming.MarkModelAsNoLongerNeeded(475)
Streaming.MarkModelAsNoLongerNeeded(526)
Streaming.MarkModelAsNoLongerNeeded(101)
Streaming.MarkModelAsNoLongerNeeded(23)
Streaming.MarkModelAsNoLongerNeeded(290)
Streaming.RemoveAnimation("KISSING")
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCESAR4_1579
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCESAR4_1579
$stealth_help_flag = Char.GetCarIsUsing($stattreadstamina_ctr)
if 
  $stealth_help_flag > 0
goto_if_false @BCESAR4_1579
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @BCESAR4_1579
Car.SetVisible($stealth_help_flag, True)
Car.FreezePosition($stealth_help_flag, False)
Car.SetCollision($stealth_help_flag, True)
Char.SetVisible($stattreadstamina_ctr, True)

:BCESAR4_1579
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(800, Fade.In)

:BCESAR4_1601
$bcrashZ = -1
$weapon_shop1_blip = 0
34@ = 0
goto @BCESAR4_2685

:BCESAR4_1629
if 
  $bcrashZ == 4
goto_if_false @BCESAR4_2019
Text.LoadMissionText('BCESAR4')
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCESAR4_1710
34@ = Char.GetCarIsUsing($stattreadstamina_ctr)
Car.FreezePosition(34@, True)
Car.SetVisible(34@, False)
Car.SetCollision(34@, False)
goto @BCESAR4_1717

:BCESAR4_1710
34@ = -1

:BCESAR4_1717
World.ClearArea(-526.7778, -189.0571, 76.9917, 100.0, True)
Player.MakeSafeForCutscene($statbike_temp)
Streaming.Switch(False)
Cutscene.Load('BCESA4W')

:BCESAR4_1761
if 
  not Cutscene.HasLoaded
goto_if_false @BCESAR4_1785
wait 0
goto @BCESAR4_1761

:BCESAR4_1785
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:BCESAR4_1794
if 
  not Cutscene.HasFinished
goto_if_false @BCESAR4_1818
wait 0
goto @BCESAR4_1794

:BCESAR4_1818
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:BCESAR4_1831
if 
  Camera.GetFadingStatus
goto_if_false @BCESAR4_1855
wait 0
goto @BCESAR4_1831

:BCESAR4_1855
Cutscene.Clear
if 
  34@ <> -1
goto_if_false @BCESAR4_1923
if 
  not Car.IsDead(34@)
goto_if_false @BCESAR4_1916
Car.FreezePosition(34@, False)
Car.SetVisible(34@, True)
Car.SetCollision(34@, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:BCESAR4_1916
goto @BCESAR4_1957

:BCESAR4_1923
Char.SetCoordinates($stattreadstamina_ctr, -503.3945, -186.0599, 76.6103)
Char.SetHeading($stattreadstamina_ctr, 53.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:BCESAR4_1957
Camera.DoFade(1000, Fade.In)
Blip.Remove($flag_cat_mission_counter)
Stat.RegisterMissionPassed('BCESAR4')
Text.PrintWithNumberBig('M_PASSD', 3, 5000, TextStyle.Middle)
$1851 = 0
$flag_cas1_passed_1stime = 0
goto @BCESAR4_2685

:BCESAR4_2019
if 
  $bcrashZ == 5
goto_if_false @BCESAR4_2222
Text.LoadMissionText('BCESAR4')
World.ClearArea(-526.7778, -189.0571, 76.9917, 100.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -495.9034, -196.2218, 77.3986)
Player.MakeSafeForCutscene($statbike_temp)
Streaming.Switch(False)
Cutscene.Load('BCESAR5')

:BCESAR4_2112
if 
  not Cutscene.HasLoaded
goto_if_false @BCESAR4_2136
wait 0
goto @BCESAR4_2112

:BCESAR4_2136
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:BCESAR4_2145
if 
  not Cutscene.HasFinished
goto_if_false @BCESAR4_2169
wait 0
goto @BCESAR4_2145

:BCESAR4_2169
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:BCESAR4_2182
if 
  Camera.GetFadingStatus
goto_if_false @BCESAR4_2206
wait 0
goto @BCESAR4_2182

:BCESAR4_2206
Cutscene.Clear
$flag_cas1_passed_1stime = 1
goto @BCESAR4_2685

:BCESAR4_2222
if 
  $bcrashZ == 9
goto_if_false @BCESAR4_2676
Text.LoadMissionText('BCESAR4')
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCESAR4_2332
34@ = Char.GetCarIsUsing($stattreadstamina_ctr)
Car.SetAsMissionCar(34@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(34@)
$in_carX += 1000.0
Car.SetCoordinates(34@, $on_footY, $on_footZ, $in_carX)
Car.FreezePosition(34@, True)
goto @BCESAR4_2339

:BCESAR4_2332
34@ = -1

:BCESAR4_2339
World.ClearArea(1557.162, 24.305, 22.7313, 100.0, True)
Player.MakeSafeForCutscene($statbike_temp)
Streaming.Switch(False)
Cutscene.Load('BCESA5W')

:BCESAR4_2383
if 
  not Cutscene.HasLoaded
goto_if_false @BCESAR4_2407
wait 0
goto @BCESAR4_2383

:BCESAR4_2407
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:BCESAR4_2416
if 
  not Cutscene.HasFinished
goto_if_false @BCESAR4_2440
wait 0
goto @BCESAR4_2416

:BCESAR4_2440
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:BCESAR4_2453
if 
  Camera.GetFadingStatus
goto_if_false @BCESAR4_2477
wait 0
goto @BCESAR4_2453

:BCESAR4_2477
Cutscene.Clear
if 
  34@ <> -1
goto_if_false @BCESAR4_2583
if 
  not Car.IsDead(34@)
goto_if_false @BCESAR4_2576
Car.FreezePosition(34@, False)
Car.SetVisible(34@, True)
Car.SetCollision(34@, True)
Car.SetCoordinates(34@, 1557.694, 17.4472, 23.1641)
Car.SetHeading(34@, 9.0)
Char.WarpIntoCar($stattreadstamina_ctr, 34@)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:BCESAR4_2576
goto @BCESAR4_2617

:BCESAR4_2583
Char.SetCoordinates($stattreadstamina_ctr, 1559.768, 14.4176, 23.1641)
Char.SetHeading($stattreadstamina_ctr, 10.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:BCESAR4_2617
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(1000, Fade.In)
Blip.Remove($flag_cat_mission_counter)
Stat.RegisterMissionPassed('BCES4_2')
Text.PrintWithNumberBig('M_PASSD', 3, 5000, TextStyle.Middle)
$flag_cas1_passed_1stime = 0
goto @BCESAR4_2685

:BCESAR4_2676
goto @BCESAR4_54

:BCESAR4_2683
return 

:BCESAR4_2685
if 
  5 > $bcrashZ
goto_if_false @BCESAR4_2734
if 
  not Car.IsDead(34@)
goto_if_false @BCESAR4_2734
Char.WarpIntoCar($stattreadstamina_ctr, 34@)
Car.FreezePosition(34@, False)

:BCESAR4_2734
return 

:BCESAR4_2736
$bcrashZ += 1
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
if 
  $bcrashZ == 1
goto_if_false @BCESAR4_2781
Camera.DoFade(0, Fade.Out)

:BCESAR4_2781
if 
  $bcrashZ == 6
goto_if_false @BCESAR4_2805
Camera.DoFade(0, Fade.Out)

:BCESAR4_2805
return 

//-------------Mission 49---------------
// Originally: Wear Flowers In Your Hair

:GARAG1
script_name 'GARAG1'
gosub @GARAG1_47
if 
  has_deatharrest_been_executed 
goto_if_false @GARAG1_38
gosub @GARAG1_24512

:GARAG1_38
gosub @GARAG1_24530
terminate_this_script 

:GARAG1_47
$weapon_shop1_blip = 1
Weather.ForceNow(WeatherType.SunnySf)
Stat.RegisterMissionGiven
Text.LoadMissionText('GARAGE1')
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:GARAG1_85
if 
  Camera.GetFadingStatus
goto_if_false @GARAG1_109
wait 0
goto @GARAG1_85

:GARAG1_109
Streaming.SetAreaVisible(1)
Cutscene.Load('GARAG1B')

:GARAG1_124
if 
  not Cutscene.HasLoaded
goto_if_false @GARAG1_148
wait 0
goto @GARAG1_124

:GARAG1_148
Cutscene.Start
Camera.DoFade(1000, Fade.In)
wait 1000

:GARAG1_162
if 
  not Cutscene.HasFinished
goto_if_false @GARAG1_186
wait 0
goto @GARAG1_162

:GARAG1_186
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:GARAG1_201
if 
  Camera.GetFadingStatus
goto_if_false @GARAG1_225
wait 0
goto @GARAG1_201

:GARAG1_225
Streaming.SetAreaVisible(0)
Streaming.LoadSpecialCharacter(3, 'JETHRO')

:GARAG1_242
if 
  not Streaming.HasSpecialCharacterLoaded(3)
goto_if_false @GARAG1_268
wait 0
goto @GARAG1_242

:GARAG1_268
135@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.ClearEventResponse(135@, 12)
DecisionMakerChar.ClearEventResponse(135@, 13)
DecisionMakerChar.ClearEventResponse(135@, 56)
Game.SetScriptLimitToGangSize(3)
Game.MakeRoomInPlayerGangForMissionPeds(3)
54@ = -1669.0
59@ = 439.773
64@ = 6.219
43@ = 80.0
55@ = -2230.168
60@ = 544.7148
65@ = 34.2219
56@ = -2248.101
61@ = 132.8547
66@ = 35.3302
57@ = -2052.101
62@ = -147.8547
67@ = 28.3302
58@ = -2059.553
63@ = -22.1661
68@ = 34.305
45@ = -2584.0
46@ = 585.0
47@ = 14.0
48@ = -1624.41
49@ = 725.25
50@ = 14.11
69@ = -2042.03
70@ = 178.11
71@ = 28.15
101@ = 1
102@ = 0
103@ = 0
104@ = 0
107@ = 0
105@ = 0
106@ = 0
114@ = 0
120@ = 0
121@ = 0
113@ = 0
109@ = 0
110@ = 0
112@ = 0
108@ = 0
111@ = 0
$7017 = 0
115@ = 0
116@ = 0
117@ = 0
118@ = 0
72@ = -1674.21
77@ = 438.5
82@ = 6.2
73@ = -2237.0
78@ = 542.0782
83@ = 33.901
74@ = -2243.101
79@ = 128.8547
84@ = 34.3302
75@ = -2052.101
80@ = -147.8547
85@ = 28.3302
119@ = 0
348@ = 0
134@ = 0
349@ = 0
if 
  349@ == 1
goto_if_false @GARAG1_947
242@ = Char.Create(PedType.CivMale, 0, 0.0, 0.0, 0.0)
93@ = Char.Create(PedType.CivMale, 291, -2031.252, 164.0169, 27.8429)
94@ = Char.Create(PedType.CivMale, 292, 72@(134@,5f), 77@(134@,5f), 82@(134@,5f))

:GARAG1_947
set_var_text_label s$7018[0] = 'GAR1_AA'
set_var_text_label s$7018[1] = 'GAR1_AB'
set_var_text_label s$7018[2] = 'GAR1_AC'
set_var_text_label s$7018[3] = 'GAR1_AD'
set_var_text_label s$7018[4] = 'GAR1_AE'
set_var_text_label s$7018[5] = 'GAR1_AF'
set_var_text_label s$7018[6] = 'GAR1_AG'
set_var_text_label s$7018[7] = 'GAR1_AH'
set_var_text_label s$7018[8] = 'GAR1_AJ'
set_var_text_label s$7018[9] = 'GAR1_BA'
set_var_text_label s$7018[10] = 'GAR1_BB'
set_var_text_label s$7018[11] = 'GAR1_BC'
set_var_text_label s$7018[12] = 'GAR1_BD'
set_var_text_label s$7018[13] = 'GAR1_BE'
set_var_text_label s$7018[14] = 'GAR1_BF'
set_var_text_label s$7018[15] = 'GAR1_BG'
set_var_text_label s$7018[16] = 'GAR1_BH'
set_var_text_label s$7018[17] = 'GAR1_CA'
set_var_text_label s$7018[18] = 'GAR1_CB'
set_var_text_label s$7018[19] = 'GAR1_CC'
set_var_text_label s$7018[20] = 'GAR1_DA'
set_var_text_label s$7018[21] = 'GAR1_DF'
set_var_text_label s$7018[22] = 'GAR1_DB'
set_var_text_label s$7018[23] = 'GAR1_DC'
set_var_text_label s$7018[24] = 'GAR1_DD'
set_var_text_label s$7018[25] = 'GAR1_DE'
set_var_text_label s$7018[26] = 'GAR1_EA'
set_var_text_label s$7018[27] = 'GAR1_EB'
set_var_text_label s$7018[28] = 'GAR1_EC'
set_var_text_label s$7018[29] = 'GAR1_ED'
set_var_text_label s$7018[30] = 'GAR1_EE'
set_var_text_label s$7018[31] = 'GAR1_FA'
set_var_text_label s$7018[32] = 'GAR1_FB'
set_var_text_label s$7018[33] = 'GAR1_FC'
set_var_text_label s$7018[34] = 'GAR1_FD'
set_var_text_label s$7018[35] = 'GAR1_FE'
set_var_text_label s$7018[36] = 'GAR1_FF'
set_var_text_label s$7018[37] = 'GAR1_FG'
set_var_text_label s$7018[38] = 'GAR1_GA'
set_var_text_label s$7018[39] = 'GAR1_GB'
set_var_text_label s$7018[40] = 'GAR1_GC'
set_var_text_label s$7018[41] = 'GAR1_GD'
set_var_text_label s$7018[42] = 'GAR1_GE'
set_var_text_label s$7018[43] = 'GAR1_GF'
set_var_text_label s$7018[44] = 'GAR1_GG'
set_var_text_label s$7018[45] = 'GAR1_GH'
set_var_text_label s$7018[46] = 'GAR1_GI'
set_var_text_label s$7018[47] = 'GAR1_GJ'
set_var_text_label s$7018[48] = 'GAR1_HA'
set_var_text_label s$7018[49] = 'GAR1_HB'
set_var_text_label s$7018[50] = 'GAR1_HC'
set_var_text_label s$7018[51] = 'GAR1_HD'
set_var_text_label s$7018[52] = 'GAR1_HE'
set_var_text_label s$7018[53] = 'GAR1_HF'
set_var_text_label s$7018[54] = 'GAR1_HG'
set_var_text_label s$7018[55] = 'GAR1_JA'
set_var_text_label s$7018[56] = 'GAR1_JB'
set_var_text_label s$7018[57] = 'GAR1_JC'
set_var_text_label s$7018[58] = 'GAR1_JD'
set_var_text_label s$7018[59] = 'GAR1_JE'
set_var_text_label s$7018[60] = 'GAR1_JF'
set_var_text_label s$7018[61] = 'GAR1_JG'
set_var_text_label s$7018[62] = 'GAR1_JH'
set_var_text_label s$7018[63] = 'GAR1_JJ'
set_var_text_label s$7018[64] = 'GAR1_KA'
set_var_text_label s$7018[65] = 'GAR1_KB'
set_var_text_label s$7018[66] = 'GAR1_KC'
set_var_text_label s$7018[67] = 'GAR1_KD'
set_var_text_label s$7018[68] = 'GAR1_KE'
set_var_text_label s$7018[69] = 'GAR1_LA'
set_var_text_label s$7018[70] = 'GAR1_LB'
set_var_text_label s$7018[71] = 'GAR1_LC'
set_var_text_label s$7018[72] = 'GAR1_LD'
set_var_text_label s$7018[73] = 'GAR1_MA'
set_var_text_label s$7018[74] = 'GAR1_MB'
set_var_text_label s$7018[75] = 'GAR1_MC'
set_var_text_label s$7018[76] = 'GAR1_MD'
set_var_text_label s$7018[77] = 'GAR1_ME'
set_var_text_label s$7018[78] = 'GAR1_MF'
set_var_text_label s$7018[79] = 'GAR1_MG'
set_var_text_label s$7018[80] = 'GAR1_NA'
set_var_text_label s$7018[81] = 'GAR1_NB'
set_var_text_label s$7018[82] = 'GAR1_NC'
set_var_text_label s$7018[83] = 'GAR1_ND'
set_var_text_label s$7018[84] = 'GAR1_NE'
set_var_text_label s$7018[85] = 'GAR1_NF'
set_var_text_label s$7018[86] = 'GAR1_NG'
set_var_text_label s$7018[87] = 'GAR1_NH'
set_var_text_label s$7018[88] = 'GAR1_NJ'
set_var_text_label s$7018[89] = 'GAR1_NK'
set_var_text_label s$7018[91] = 'GAR1_OA'
set_var_text_label s$7018[92] = 'GAR1_OB'
set_var_text_label s$7018[93] = 'GAR1_OC'
set_var_text_label s$7018[94] = 'GAR1_OD'
set_var_text_label s$7018[95] = 'GAR1_OE'
set_var_text_label s$7018[96] = 'GAR1_OF'
set_var_text_label s$7018[97] = 'GAR1_PA'
set_var_text_label s$7018[98] = 'GAR1_PB'
set_var_text_label s$7018[99] = 'GAR1_PC'
set_var_text_label s$7018[100] = 'GAR1_PD'
set_var_text_label s$7018[101] = 'GAR1_PE'
set_var_text_label s$7018[102] = 'GAR1_PJ'
set_var_text_label s$7018[103] = 'GAR1_PF'
set_var_text_label s$7018[104] = 'GAR1_PG'
set_var_text_label s$7018[105] = 'GAR1_PH'
set_lvar_int_to_constant 136@ = 16400
set_lvar_int_to_constant 137@ = 16401
set_lvar_int_to_constant 138@ = 16402
set_lvar_int_to_constant 139@ = 16403
set_lvar_int_to_constant 140@ = 16404
set_lvar_int_to_constant 141@ = 16405
set_lvar_int_to_constant 142@ = 16406
set_lvar_int_to_constant 143@ = 16407
set_lvar_int_to_constant 144@ = 16408
set_lvar_int_to_constant 145@ = 16409
set_lvar_int_to_constant 146@ = 16410
set_lvar_int_to_constant 147@ = 16411
set_lvar_int_to_constant 148@ = 16412
set_lvar_int_to_constant 149@ = 16413
set_lvar_int_to_constant 150@ = 16414
set_lvar_int_to_constant 151@ = 16415
set_lvar_int_to_constant 152@ = 16416
set_lvar_int_to_constant 153@ = 16417
set_lvar_int_to_constant 154@ = 16418
set_lvar_int_to_constant 155@ = 16419
set_lvar_int_to_constant 156@ = 16420
set_lvar_int_to_constant 157@ = 16425
set_lvar_int_to_constant 158@ = 16421
set_lvar_int_to_constant 159@ = 16422
set_lvar_int_to_constant 160@ = 16423
set_lvar_int_to_constant 161@ = 16424
set_lvar_int_to_constant 162@ = 16426
set_lvar_int_to_constant 163@ = 16427
set_lvar_int_to_constant 164@ = 16428
set_lvar_int_to_constant 165@ = 16429
set_lvar_int_to_constant 166@ = 16430
set_lvar_int_to_constant 167@ = 16431
set_lvar_int_to_constant 168@ = 16432
set_lvar_int_to_constant 169@ = 16433
set_lvar_int_to_constant 170@ = 16434
set_lvar_int_to_constant 171@ = 16435
set_lvar_int_to_constant 172@ = 16436
set_lvar_int_to_constant 173@ = 16437
set_lvar_int_to_constant 174@ = 16438
set_lvar_int_to_constant 175@ = 16439
set_lvar_int_to_constant 176@ = 16440
set_lvar_int_to_constant 177@ = 16441
set_lvar_int_to_constant 178@ = 16442
set_lvar_int_to_constant 179@ = 16443
set_lvar_int_to_constant 180@ = 16444
set_lvar_int_to_constant 181@ = 16445
set_lvar_int_to_constant 182@ = 16446
set_lvar_int_to_constant 183@ = 16447
set_lvar_int_to_constant 184@ = 16448
set_lvar_int_to_constant 185@ = 16449
set_lvar_int_to_constant 186@ = 16450
set_lvar_int_to_constant 187@ = 16451
set_lvar_int_to_constant 188@ = 16452
set_lvar_int_to_constant 189@ = 16453
set_lvar_int_to_constant 190@ = 16454
set_lvar_int_to_constant 191@ = 16455
set_lvar_int_to_constant 192@ = 16456
set_lvar_int_to_constant 193@ = 16457
set_lvar_int_to_constant 194@ = 16458
set_lvar_int_to_constant 195@ = 16459
set_lvar_int_to_constant 196@ = 16460
set_lvar_int_to_constant 197@ = 16461
set_lvar_int_to_constant 198@ = 16462
set_lvar_int_to_constant 199@ = 16463
set_lvar_int_to_constant 200@ = 16464
set_lvar_int_to_constant 201@ = 16465
set_lvar_int_to_constant 202@ = 16466
set_lvar_int_to_constant 203@ = 16467
set_lvar_int_to_constant 204@ = 16468
set_lvar_int_to_constant 205@ = 16469
set_lvar_int_to_constant 206@ = 16470
set_lvar_int_to_constant 207@ = 16471
set_lvar_int_to_constant 208@ = 16472
set_lvar_int_to_constant 209@ = 16473
set_lvar_int_to_constant 210@ = 16474
set_lvar_int_to_constant 211@ = 16475
set_lvar_int_to_constant 212@ = 16476
set_lvar_int_to_constant 213@ = 16477
set_lvar_int_to_constant 214@ = 16478
set_lvar_int_to_constant 215@ = 16479
set_lvar_int_to_constant 216@ = 16480
set_lvar_int_to_constant 217@ = 16481
set_lvar_int_to_constant 218@ = 16482
set_lvar_int_to_constant 219@ = 16483
set_lvar_int_to_constant 220@ = 16484
set_lvar_int_to_constant 221@ = 16485
set_lvar_int_to_constant 222@ = 16486
set_lvar_int_to_constant 223@ = 16487
set_lvar_int_to_constant 224@ = 16488
set_lvar_int_to_constant 225@ = 16489
set_lvar_int_to_constant 227@ = 16490
set_lvar_int_to_constant 228@ = 16491
set_lvar_int_to_constant 229@ = 16492
set_lvar_int_to_constant 230@ = 16493
set_lvar_int_to_constant 231@ = 16494
set_lvar_int_to_constant 232@ = 16495
set_lvar_int_to_constant 233@ = 16496
set_lvar_int_to_constant 234@ = 16497
set_lvar_int_to_constant 235@ = 16498
set_lvar_int_to_constant 236@ = 16499
set_lvar_int_to_constant 237@ = 16500
set_lvar_int_to_constant 238@ = 16504
set_lvar_int_to_constant 239@ = 16501
set_lvar_int_to_constant 240@ = 16502
set_lvar_int_to_constant 241@ = 16503
TIMERA = 0
World.ClearArea(-2028.773, 154.0429, 27.2416, 10000.0, True)
World.DisableAllEntryExits(True)
Streaming.RequestModel(585)

:GARAG1_3297
if 
  not Streaming.HasModelLoaded(585)
goto_if_false @GARAG1_3324
wait 0
goto @GARAG1_3297

:GARAG1_3324
34@ = Car.Create(585, -2030.628, 170.7956, 27.8359)
Car.SetHealth(34@, 3000)
Char.SetCoordinates($stattreadstamina_ctr, -2031.0, 162.0, 27.83)
Car.SetHeading(34@, 270.0)
Streaming.LoadSpecialCharacter(2, 'TRUTH')

:GARAG1_3398
if 
  not Streaming.HasSpecialCharacterLoaded(2)
goto_if_false @GARAG1_3424
wait 0
goto @GARAG1_3398

:GARAG1_3424
93@ = Char.Create(PedType.CivMale, 291, -2031.252, 164.0169, 27.8429)
Char.SetNeverTargeted(93@, True)
Char.SetGetOutUpsideDownCar(93@, False)
Char.SetRelationship(93@, RelationshipType.Like, PedType.Player1)
Char.SetDecisionMaker(93@, 135@)
Char.SetHeading(93@, 180.0)
Char.SetProofs(93@, False, False, False, True, False)
Char.SetHealth(93@, 200)
Char.SetSuffersCriticalHits(93@, False)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetBehindPlayer

:GARAG1_3532
wait 0
if 
  101@ == 1
goto_if_false @GARAG1_3561
gosub @GARAG1_3743

:GARAG1_3561
if 
  102@ == 1
goto_if_false @GARAG1_3586
gosub @GARAG1_9738

:GARAG1_3586
if 
  103@ == 1
goto_if_false @GARAG1_3611
gosub @GARAG1_15129

:GARAG1_3611
if 
  105@ == 1
goto_if_false @GARAG1_3636
gosub @GARAG1_7692

:GARAG1_3636
if 
  106@ == 1
goto_if_false @GARAG1_3661
gosub @GARAG1_13409

:GARAG1_3661
if 
  107@ == 1
goto_if_false @GARAG1_3686
gosub @GARAG1_17180

:GARAG1_3686
if 
  109@ == 1
goto_if_false @GARAG1_3711
goto @GARAG1_24446

:GARAG1_3711
if 
  110@ == 1
goto_if_false @GARAG1_3736
goto @GARAG1_24512

:GARAG1_3736
goto @GARAG1_3532

:GARAG1_3743
set_lvar_int_to_lvar_int 242@ = 93@
set_lvar_int_to_lvar_int 243@ = 93@
set_lvar_int_to_lvar_int 244@ = 93@
set_lvar_int_to_lvar_int 245@ = 93@
set_lvar_int_to_lvar_int 246@ = 93@
set_lvar_int_to_lvar_int 247@ = 93@
set_lvar_int_to_lvar_int 248@ = 93@
set_lvar_int_to_var_int 251@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 252@ = 93@
set_lvar_int_to_var_int 253@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 254@ = 93@
set_lvar_int_to_lvar_int 255@ = 93@
set_lvar_int_to_lvar_int 256@ = 93@
set_lvar_int_to_var_int 257@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 258@ = 93@
set_lvar_int_to_lvar_int 259@ = 93@
set_lvar_int_to_lvar_int 260@ = 93@
set_lvar_int_to_lvar_int 261@ = 93@
Streaming.RequestAnimation("GANGS")

:GARAG1_3896
if 
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @GARAG1_3927
wait 0
goto @GARAG1_3896

:GARAG1_3927
Camera.SetFixedPosition(-2021.483, 159.1135, 30.588, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2022.153, 159.8494, 30.4897, SwitchType.JumpCut)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(-2019.916, 157.5772, 33.449, -2019.951, 157.5985, 31.8268, 4500, True)
Camera.SetVectorTrack(-2020.77, 158.0734, 33.2929, -2020.787, 158.0842, 31.5706, 4500, True)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(-2031.77, 161.21, 29.42, 1000.0, True)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Camera.DoFade(1000, Fade.In)
Hud.SwitchWidescreen(True)

:GARAG1_4118
if 
  Camera.GetFadingStatus
goto_if_false @GARAG1_4142
wait 0
goto @GARAG1_4118

:GARAG1_4142
114@ = 0
TIMERA = 0
TIMERB = 0

:GARAG1_4163
if 
  114@ <> 10
goto_if_false @GARAG1_4729
wait 0
if 
  114@ == 0
goto_if_false @GARAG1_4217
skip_cutscene_start_internal @GARAG1_4729
gosub @GARAG1_24109

:GARAG1_4217
if 
  114@ == 1
goto_if_false @GARAG1_4498
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_4484
130@ = Sequence.Open()
Task.PlayAnim(-1, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKA", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKD", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKD", "GANGS", 4.0, False, False, False, False, -1)
Sequence.Close(130@)
Char.PerformSequence(93@, 130@)
Sequence.Clear(130@)

:GARAG1_4484
gosub @GARAG1_24109
TIMERA = 0

:GARAG1_4498
if and
  114@ >= 2
  3 >= 114@
goto_if_false @GARAG1_4530
gosub @GARAG1_24109

:GARAG1_4530
if 
  114@ == 4
goto_if_false @GARAG1_4608
Camera.ResetNewScriptables
Camera.SetFixedPosition(-2030.073, 161.3698, 28.8915, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2030.593, 162.2026, 29.0817, SwitchType.JumpCut)
gosub @GARAG1_24109

:GARAG1_4608
if or
  114@ >= 5
  6 >= 114@
goto_if_false @GARAG1_4640
gosub @GARAG1_24109

:GARAG1_4640
if 
  114@ == 7
goto_if_false @GARAG1_4672
gosub @GARAG1_24109
114@ = 10

:GARAG1_4672
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GARAG1_4696
114@ = 10
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:GARAG1_4696
if 
  TIMERB > 23500
goto_if_false @GARAG1_4722
114@ = 10

:GARAG1_4722
goto @GARAG1_4163

:GARAG1_4729
skip_cutscene_end 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Player.SetControl($statbike_temp, True)
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Text.ClearPrints
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GARAG1_4775
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:GARAG1_4775
Audio.SetRadioChannel(RadioChannel.KDST)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
348@ = 9
349@ = 0
114@ = 0
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_4872
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_4872
Task.EnterCarAsPassenger(93@, 34@, -2, 0)
Char.SetCantBeDraggedOut(93@, True)
Char.SetStayInCarWhenJacked(93@, True)

:GARAG1_4872
Streaming.RemoveAnimation("GANGS")
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_5345
127@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(127@, True)
Text.PrintNow('GAR1_22', 5000, 1)

:GARAG1_4928
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @GARAG1_5292
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @GARAG1_5024
101@ = 0
102@ = 0
103@ = 0
105@ = 0
106@ = 0
107@ = 0
109@ = 1
110@ = 0
return 

:GARAG1_5024
if 
  Car.IsDead(34@)
goto_if_false @GARAG1_5114
Text.PrintNow('GAR1_07', 5000, 1)
101@ = 0
102@ = 0
103@ = 0
105@ = 0
106@ = 0
107@ = 0
109@ = 0
110@ = 1
return 

:GARAG1_5114
if 
  Char.IsDead(93@)
goto_if_false @GARAG1_5204
Text.PrintNow('GAR1_17', 5000, 1)
101@ = 0
102@ = 0
103@ = 0
105@ = 0
106@ = 0
107@ = 0
109@ = 0
110@ = 1
return 

:GARAG1_5204
if 
  Car.IsOnFire(34@)
goto_if_false @GARAG1_5285
Car.Explode(34@)
Text.PrintNow('GAR1_07', 5000, 1)
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
return 

:GARAG1_5285
goto @GARAG1_4928

:GARAG1_5292
Blip.Remove(127@)
122@(134@,5i) = Blip.AddForCoord(54@(134@,5f), 59@(134@,5f), 64@(134@,5f))
Blip.SetCoordAppearance(122@(134@,5i), 1)
goto @GARAG1_5377

:GARAG1_5345
Text.PrintNow('GAR1_07', 5000, 1)
101@ = 0
110@ = 1
return 

:GARAG1_5377
Streaming.RequestModel(525)
Streaming.RequestAnimation("CAR")

:GARAG1_5389
if or
  not Streaming.HasModelLoaded(525)
  not Streaming.HasAnimationLoaded("CAR")
goto_if_false @GARAG1_5423
wait 0
goto @GARAG1_5389

:GARAG1_5423
94@(134@,4i) = Char.Create(PedType.CivMale, 292, 72@(134@,5f), 77@(134@,5f), 82@(134@,5f))
Char.SetNeverTargeted(94@(134@,4i), True)
Char.SetHeading(94@(134@,4i), 120.0)
Char.SetProofs(94@(134@,4i), False, False, False, True, False)
36@ = Car.Create(525, -1676.0, 440.0, 6.7)
Car.SetHeading(36@, 229.0)
Char.SetRelationship(94@(134@,4i), RelationshipType.Like, PedType.Player1)
Char.SetDecisionMaker(94@(134@,4i), 135@)
Car.Delete(36@)
Char.Delete(94@(134@,4i))
gosub @GARAG1_18471
if 
  110@ == 1
goto_if_false @GARAG1_5601
return 

:GARAG1_5601
TIMERA = 0
Streaming.RequestAnimation("CAR_CHAT")

:GARAG1_5620
if 
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @GARAG1_5654
wait 0
goto @GARAG1_5620

:GARAG1_5654
set_lvar_int_to_lvar_int 262@ = 93@
set_lvar_int_to_lvar_int 263@ = 93@
set_lvar_int_to_lvar_int 264@ = 94@
set_lvar_int_to_lvar_int 265@ = 94@
set_lvar_int_to_lvar_int 266@ = 93@
set_lvar_int_to_lvar_int 267@ = 93@
set_lvar_int_to_lvar_int 268@ = 93@
set_lvar_int_to_var_int 269@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 270@ = 93@
set_lvar_int_to_lvar_int 271@ = 93@
set_lvar_int_to_lvar_int 272@ = 93@
set_lvar_int_to_lvar_int 273@ = 94@
set_lvar_int_to_var_int 274@ = $stattreadstamina_ctr
set_lvar_int_to_var_int 275@ = $stattreadstamina_ctr
set_lvar_int_to_var_int 276@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 277@ = 94@
set_lvar_int_to_lvar_int 278@ = 93@
set_lvar_int_to_lvar_int 279@ = 94@
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(-2031.77, 161.21, 29.42, 1000.0, True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
114@ = 0
TIMERA = 0
TIMERB = 0
World.ClearArea(54@(134@,5f), 59@(134@,5f), 64@(134@,5f), 1000.0, True)
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_5951
if 
  not Car.IsPassengerSeatFree(34@, SeatIndex.RearRight)
goto_if_false @GARAG1_5951
100@ = Car.GetCharInPassengerSeat(34@, 2)
Char.Delete(100@)

:GARAG1_5951
if 
  114@ <> 20
goto_if_false @GARAG1_7286
wait 0
if 
  114@ == 0
goto_if_false @GARAG1_6228
skip_cutscene_start_internal @GARAG1_7286
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_6196
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_6173
Camera.SetFixedPosition(-1674.263, 438.2627, 11.0956, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1674.246, 438.3686, 10.1014, SwitchType.JumpCut)
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @GARAG1_6108
Char.WarpIntoCar($stattreadstamina_ctr, 34@)

:GARAG1_6108
Car.SetCoordinates(34@, 54@(134@,5f), 59@(134@,5f), 64@(134@,5f))
Car.SetHeading(34@, 43@)
Car.SetCruiseSpeed(34@, 0.0)
348@ = 20
gosub @GARAG1_24340
goto @GARAG1_6189

:GARAG1_6173
101@ = 0
110@ = 1
return 

:GARAG1_6189
goto @GARAG1_6228

:GARAG1_6196
Text.PrintNow('GAR1_07', 5000, 1)
101@ = 0
110@ = 1
return 

:GARAG1_6228
if 
  114@ == 1
goto_if_false @GARAG1_6526
if 
  TIMERA > 2000
goto_if_false @GARAG1_6526
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_6526
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_6526
Camera.SetFixedPosition(-1672.658, 431.5702, 7.2947, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1672.72, 432.5628, 7.3989, SwitchType.JumpCut)
130@ = Sequence.Open()
Task.PlayAnim(-1, "FIXN_CAR_OUT", "CAR", 4.0, False, False, False, False, 0)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.GoStraightToCoord(-1, -1668.853, 442.619, 6.219, MoveState.Run, -1)
Task.AchieveHeading(-1, 193.0)
Task.EnterCarAsPassenger(-1, 34@, -1, 2)
Sequence.Close(130@)
Char.PerformSequence(94@(134@,4i), 130@)
Sequence.Clear(130@)
114@ = 2
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1825)

:GARAG1_6481
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @GARAG1_6507
wait 0
goto @GARAG1_6481

:GARAG1_6507
Audio.ReportMissionAudioEventAtChar(94@(134@,4i), 1151)
TIMERA = 0

:GARAG1_6526
if 
  114@ == 2
goto_if_false @GARAG1_6709
if 
  TIMERA > 2000
goto_if_false @GARAG1_6709
Camera.SetFixedPosition(-1665.523, 443.0056, 7.5433, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1666.462, 442.6743, 7.4596, SwitchType.JumpCut)
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_6650
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_6650

:GARAG1_6650
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_6695
Char.SetHeading(94@(134@,4i), 228.0)
Char.SetCollision(94@(134@,4i), True)

:GARAG1_6695
gosub @GARAG1_24340
TIMERA = 0

:GARAG1_6709
if 
  114@ == 3
goto_if_false @GARAG1_6734
gosub @GARAG1_24340

:GARAG1_6734
if 
  114@ == 4
goto_if_false @GARAG1_6759
gosub @GARAG1_24340

:GARAG1_6759
if 
  114@ == 5
goto_if_false @GARAG1_6862
if 
  TIMERA > 1500
goto_if_false @GARAG1_6862
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_6855
Task.PlayAnim(93@, "CAR_SC4_FR", "CAR_CHAT", 4.0, True, False, False, False, 9000)

:GARAG1_6855
gosub @GARAG1_24340

:GARAG1_6862
if 
  114@ == 6
goto_if_false @GARAG1_6996
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_6947
Camera.SetFixedPosition(-1670.605, 442.2138, 7.3642, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1669.891, 441.5237, 7.2424, SwitchType.JumpCut)

:GARAG1_6947
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC1_FL", "CAR_CHAT", 4.0, False, False, False, False, -1)
gosub @GARAG1_24340

:GARAG1_6996
if 
  114@ == 7
goto_if_false @GARAG1_7021
gosub @GARAG1_24340

:GARAG1_7021
if 
  114@ == 8
goto_if_false @GARAG1_7046
gosub @GARAG1_24340

:GARAG1_7046
if 
  114@ == 9
goto_if_false @GARAG1_7141
if 
  TIMERA > 1500
goto_if_false @GARAG1_7141
Camera.SetFixedPosition(-1648.684, 411.5628, 18.7936, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1649.09, 412.4462, 18.5605, SwitchType.JumpCut)
gosub @GARAG1_24340

:GARAG1_7141
if 
  114@ == 10
goto_if_false @GARAG1_7185
if 
  TIMERA > 1500
goto_if_false @GARAG1_7185
gosub @GARAG1_24340

:GARAG1_7185
if 
  114@ == 11
goto_if_false @GARAG1_7229
if 
  TIMERA > 1500
goto_if_false @GARAG1_7229
gosub @GARAG1_24340

:GARAG1_7229
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GARAG1_7253
114@ = 20
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:GARAG1_7253
if 
  TIMERB > 21500
goto_if_false @GARAG1_7279
114@ = 20

:GARAG1_7279
goto @GARAG1_5951

:GARAG1_7286
skip_cutscene_end 
gosub @GARAG1_22044
if 
  110@ == 1
goto_if_false @GARAG1_7315
return 

:GARAG1_7315
Streaming.RemoveAnimation("CAR")
Streaming.MarkModelAsNoLongerNeeded(525)
if 
  not Car.IsDead(36@)
goto_if_false @GARAG1_7350
Car.FreezePosition(36@, False)

:GARAG1_7350
Car.MarkAsNoLongerNeeded(36@)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Streaming.RemoveAnimation("CAR_CHAT")
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GARAG1_7403
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:GARAG1_7403
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Text.ClearPrints
114@ = 0
348@ = 31
349@ = 0
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_7669
Car.SetStatus(34@, EntityStatus.Player)
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_7558
if 
  not Char.IsInCar(93@, 34@)
goto_if_false @GARAG1_7558
if 
  Car.IsPassengerSeatFree(34@, SeatIndex.FrontRight)
goto_if_false @GARAG1_7533
Char.WarpIntoCarAsPassenger(93@, 34@, 0)
goto @GARAG1_7558

:GARAG1_7533
100@ = Car.GetCharInPassengerSeat(34@, 0)
Char.Delete(100@)
Char.WarpIntoCarAsPassenger(93@, 34@, 0)

:GARAG1_7558
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_7669
if 
  not Char.IsInCar(94@(134@,4i), 34@)
goto_if_false @GARAG1_7669
if 
  Car.IsPassengerSeatFree(34@, SeatIndex.RearRight)
goto_if_false @GARAG1_7640
Char.WarpIntoCarAsPassenger(94@(134@,4i), 34@, 2)
goto @GARAG1_7669

:GARAG1_7640
100@ = Car.GetCharInPassengerSeat(34@, 2)
Char.Delete(100@)
Char.WarpIntoCarAsPassenger(94@(134@,4i), 34@, 2)

:GARAG1_7669
134@ = 1
101@ = 0
105@ = 1
return 

:GARAG1_7692
Streaming.RequestModel(413)

:GARAG1_7697
if 
  not Streaming.HasModelLoaded(413)
goto_if_false @GARAG1_7724
wait 0
goto @GARAG1_7697

:GARAG1_7724
38@ = Car.Create(413, -2607.11, 623.91, 14.66)
Streaming.MarkModelAsNoLongerNeeded(413)
Car.SetHeading(38@, 277.0)
Car.Delete(38@)
128@ = Blip.AddSpriteForCoord(45@, 46@, 47@, RadarSprite.Hospital)
gosub @GARAG1_18471
if 
  110@ == 1
goto_if_false @GARAG1_7810
return 

:GARAG1_7810
set_lvar_int_to_var_int 280@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 281@ = 93@
set_lvar_int_to_lvar_int 282@ = 93@
set_lvar_int_to_lvar_int 283@ = 93@
set_lvar_int_to_lvar_int 284@ = 93@
set_lvar_int_to_var_int 285@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 286@ = 93@
set_lvar_int_to_lvar_int 287@ = 93@
set_lvar_int_to_lvar_int 288@ = 93@
set_lvar_int_to_lvar_int 289@ = 93@
set_lvar_int_to_var_int 290@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 291@ = 93@
set_lvar_int_to_var_int 292@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 293@ = 93@
set_lvar_int_to_var_int 294@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 295@ = 93@
set_lvar_int_to_lvar_int 296@ = 93@
Blip.Remove(128@)
Streaming.RequestModel(413)

:GARAG1_7956
if 
  not Streaming.HasModelLoaded(413)
goto_if_false @GARAG1_7983
wait 0
goto @GARAG1_7956

:GARAG1_7983
Streaming.RequestAnimation("CAR_CHAT")

:GARAG1_7995
if 
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @GARAG1_8029
wait 0
goto @GARAG1_7995

:GARAG1_8029
38@ = Car.Create(413, -2607.11, 623.91, 14.66)
Streaming.MarkModelAsNoLongerNeeded(413)
Car.LockDoors(38@, CarLock.Locked)
Car.SetHeading(38@, 180.0)
Car.FreezePosition(38@, True)
348@ = 38
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
114@ = 0
TIMERA = 0
TIMERB = 0
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_8394
Car.SetCoordinates(34@, 45@, 46@, 47@)
40@ = Car.GetHeading(34@)
if and
  40@ > 0.0
  180.0 > 40@
goto_if_false @GARAG1_8224
Car.SetHeading(34@, 90.0)
goto @GARAG1_8234

:GARAG1_8224
Car.SetHeading(34@, 270.0)

:GARAG1_8234
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @GARAG1_8261
Char.WarpIntoCar($stattreadstamina_ctr, 34@)

:GARAG1_8261
Camera.SetFixedPosition(-2581.94, 580.42, 17.8189, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2582.491, 581.153, 18.2173, SwitchType.JumpCut)
87@, 88@, 89@ = Car.GetOffsetInWorldCoords(34@, 0.8, 2.2, 0.8)
90@, 91@, 92@ = Car.GetOffsetInWorldCoords(34@, 0.0, -1.5, 0.5)
World.ClearArea(-2607.11, 623.91, 14.66, 1000.0, True)

:GARAG1_8394
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_8453
Task.PlayAnim(93@, "CAR_SC3_FR", "CAR_CHAT", 4.0, True, False, False, False, 9000)

:GARAG1_8453
gosub @GARAG1_24340
World.ClearArea(45@, 46@, 47@, 1000.0, True)
114@ = 0

:GARAG1_8485
if 
  114@ <> 10
goto_if_false @GARAG1_9623
wait 0
gosub @GARAG1_22044
if 
  110@ == 1
goto_if_false @GARAG1_8534
return 

:GARAG1_8534
if 
  114@ == 0
goto_if_false @GARAG1_8777
if 
  TIMERA > 1500
goto_if_false @GARAG1_8777
skip_cutscene_start_internal @GARAG1_9623
if 
  not Char.IsDead(94@)
goto_if_false @GARAG1_8637
Task.PlayAnim(94@, "CAR_SC3_BR", "CAR_CHAT", 4.0, True, False, False, False, 9000)

:GARAG1_8637
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(-2581.94, 580.42, 17.8189, -2583.32, 581.73, 15.39, 5000, True)
Camera.SetVectorTrack(-2582.491, 581.153, 18.2173, -2607.11, 623.91, 14.66, 5000, True)
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC1_FL", "CAR_CHAT", 4.0, False, False, False, False, -1)
gosub @GARAG1_24340
TIMERA = 0

:GARAG1_8777
if 
  114@ == 1
goto_if_false @GARAG1_8849
if 
  TIMERA > 1500
goto_if_false @GARAG1_8849
gosub @GARAG1_24340
if 
  not Car.IsDead(38@)
goto_if_false @GARAG1_8849
99@ = Char.CreateInsideCar(38@, PedType.CivMale, 7)

:GARAG1_8849
if 
  114@ == 2
goto_if_false @GARAG1_8946
if 
  TIMERA > 1500
goto_if_false @GARAG1_8946
gosub @GARAG1_24340
Camera.ResetNewScriptables
Camera.SetFixedPosition(-2583.32, 581.73, 15.39, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2607.11, 623.91, 14.66, SwitchType.JumpCut)

:GARAG1_8946
if 
  114@ == 3
goto_if_false @GARAG1_8990
if 
  TIMERA > 1500
goto_if_false @GARAG1_8990
gosub @GARAG1_24340

:GARAG1_8990
if 
  114@ == 4
goto_if_false @GARAG1_9126
if 
  TIMERA > 1500
goto_if_false @GARAG1_9126
if 
  not Car.IsDead(38@)
goto_if_false @GARAG1_9119
Car.FreezePosition(38@, False)
if 
  not Char.IsDead(99@)
goto_if_false @GARAG1_9119
if 
  Char.IsInCar(99@, 38@)
goto_if_false @GARAG1_9119
Task.CarDriveToCoord(99@, 38@, -2607.95, 528.47, 13.98, 25.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)

:GARAG1_9119
gosub @GARAG1_24340

:GARAG1_9126
if 
  114@ == 5
goto_if_false @GARAG1_9228
if 
  TIMERA > 1500
goto_if_false @GARAG1_9228
gosub @GARAG1_24340
Camera.SetFixedPosition(-2614.461, 573.477, 16.9766, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2613.8, 574.224, 16.911, SwitchType.JumpCut)
TIMERA = 0

:GARAG1_9228
if 
  114@ == 6
goto_if_false @GARAG1_9471
if 
  TIMERA > 2500
goto_if_false @GARAG1_9471
gosub @GARAG1_24340
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_9331
Task.PlayAnim(93@, "CAR_SC3_FR", "CAR_CHAT", 4.0, True, False, False, False, 9000)

:GARAG1_9331
if 
  not Char.IsDead(94@)
goto_if_false @GARAG1_9390
Task.PlayAnim(94@, "CAR_SC3_BR", "CAR_CHAT", 4.0, True, False, False, False, 9000)

:GARAG1_9390
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC1_FL", "CAR_CHAT", 4.0, False, False, False, False, -1)
Camera.SetFixedPosition(87@, 88@, 89@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(90@, 91@, 92@, SwitchType.JumpCut)

:GARAG1_9471
if 
  114@ == 7
goto_if_false @GARAG1_9515
if 
  TIMERA > 1500
goto_if_false @GARAG1_9515
gosub @GARAG1_24340

:GARAG1_9515
if 
  114@ == 8
goto_if_false @GARAG1_9566
if 
  TIMERA > 1500
goto_if_false @GARAG1_9566
gosub @GARAG1_24340
114@ = 10

:GARAG1_9566
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GARAG1_9590
114@ = 10
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:GARAG1_9590
if 
  TIMERB > 20500
goto_if_false @GARAG1_9616
114@ = 10

:GARAG1_9616
goto @GARAG1_8485

:GARAG1_9623
skip_cutscene_end 
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Text.ClearPrints
Camera.ResetNewScriptables
Streaming.RemoveAnimation("CAR_CHAT")
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GARAG1_9677
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:GARAG1_9677
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
114@ = 0
348@ = 48
349@ = 0
Char.Delete(99@)
Car.Delete(38@)
105@ = 0
102@ = 1
return 

:GARAG1_9738
Streaming.RequestModel(588)

:GARAG1_9743
if 
  not Streaming.HasModelLoaded(588)
goto_if_false @GARAG1_9770
wait 0
goto @GARAG1_9743

:GARAG1_9770
Streaming.RequestAnimation("SMOKING")

:GARAG1_9781
if 
  not Streaming.HasAnimationLoaded("SMOKING")
goto_if_false @GARAG1_9814
wait 0
goto @GARAG1_9781

:GARAG1_9814
Streaming.LoadSpecialCharacter(4, 'DWAYNE')

:GARAG1_9827
if 
  not Streaming.HasSpecialCharacterLoaded(4)
goto_if_false @GARAG1_9853
wait 0
goto @GARAG1_9827

:GARAG1_9853
Streaming.RequestModel(#CIGAR)

:GARAG1_9857
if 
  not Streaming.HasModelLoaded(#CIGAR)
goto_if_false @GARAG1_9883
wait 0
goto @GARAG1_9857

:GARAG1_9883
122@(134@,5i) = Blip.AddForCoord(54@(134@,5f), 59@(134@,5f), 64@(134@,5f))
Blip.SetCoordAppearance(122@(134@,5i), 1)
if 
  110@ == 14
goto_if_false @GARAG1_10047
94@(134@,4i) = Char.Create(PedType.CivMale, 293, 72@(134@,5f), 77@(134@,5f), 82@(134@,5f))
35@ = Car.Create(588, -2238.888, 541.5267, 34.375)
42@ = Object.Create(#CIGAR, 72@(134@,5f), 77@(134@,5f), 82@(134@,5f))
Car.Delete(35@)
Char.Delete(94@(134@,4i))
Object.Delete(42@)

:GARAG1_10047
gosub @GARAG1_18471
if 
  110@ == 1
goto_if_false @GARAG1_10074
return 

:GARAG1_10074
if 
  Object.DoesExist(42@)
goto_if_false @GARAG1_10095
Object.Delete(42@)

:GARAG1_10095
Streaming.RequestAnimation("CAR_CHAT")

:GARAG1_10107
if 
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @GARAG1_10141
wait 0
goto @GARAG1_10107

:GARAG1_10141
set_lvar_int_to_lvar_int 297@ = 93@
set_lvar_int_to_lvar_int 298@ = 95@
set_lvar_int_to_lvar_int 299@ = 93@
set_lvar_int_to_lvar_int 300@ = 93@
set_lvar_int_to_lvar_int 301@ = 95@
set_lvar_int_to_lvar_int 302@ = 95@
set_lvar_int_to_lvar_int 303@ = 95@
set_lvar_int_to_var_int 304@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 305@ = 95@
set_lvar_int_to_lvar_int 306@ = 93@
set_lvar_int_to_var_int 307@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 308@ = 93@
set_lvar_int_to_lvar_int 309@ = 94@
set_lvar_int_to_var_int 310@ = $stattreadstamina_ctr
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_10413
if 
  not Object.DoesExist(42@)
goto_if_false @GARAG1_10413
42@ = Object.Create(#CIGAR, 72@(134@,5f), 77@(134@,5f), 82@(134@,5f))
Task.PickUpObject(94@(134@,4i), 42@, 0.04, 0.1, 0.05, 6, 16, "NULL", "NULL", 0)
350@ = Particle.CreateOnChar("EXHALE", 94@(134@,4i), 0.05, 0.12, 0.0, 1)
Particle.AttachToCharBone(350@, 94@(134@,4i), 5)

:GARAG1_10413
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_10882
40@ = Car.GetHeading(34@)
Car.SetCoordinates(34@, 55@, 60@, 65@)
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @GARAG1_10478
Char.WarpIntoCar($stattreadstamina_ctr, 34@)

:GARAG1_10478
Camera.SetFixedPosition(-2235.815, 541.4094, 35.7451, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2236.521, 542.1174, 35.7312, SwitchType.JumpCut)
World.ClearArea(54@(134@,5f), 59@(134@,5f), 64@(134@,5f), 1000.0, True)
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_10623
Task.PlayAnimNonInterruptable(94@(134@,4i), "M_SMK_OUT", "SMOKING", 4.0, False, False, False, False, 0)

:GARAG1_10623
if and
  40@ > 90.0
  270.0 > 40@
goto_if_false @GARAG1_10771
Car.SetHeading(34@, 180.0)
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_10722
Task.PlayAnim(93@, "CAR_SC4_FR", "CAR_CHAT", 4.0, True, False, False, False, -1)

:GARAG1_10722
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC4_FL", "CAR_CHAT", 4.0, False, False, False, False, -1)
goto @GARAG1_10882

:GARAG1_10771
Car.SetHeading(34@, 0.0)
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_10840
Task.PlayAnim(93@, "CAR_SC3_FR", "CAR_CHAT", 4.0, True, False, False, False, 9000)

:GARAG1_10840
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC2_FL", "CAR_CHAT", 4.0, False, False, False, False, -1)

:GARAG1_10882
348@ = 55
gosub @GARAG1_24340
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
114@ = 0
TIMERA = 0
TIMERB = 0

:GARAG1_10946
if 
  114@ <> 20
goto_if_false @GARAG1_13033
wait 0
gosub @GARAG1_22044
if 
  110@ == 1
goto_if_false @GARAG1_10995
return 

:GARAG1_10995
if 
  114@ == 0
goto_if_false @GARAG1_11397
skip_cutscene_start_internal @GARAG1_13033
if 
  TIMERA > 2000
goto_if_false @GARAG1_11397
Particle.Play(350@)
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_11076
Char.StartFacialTalk(94@(134@,4i), 4000)

:GARAG1_11076
gosub @GARAG1_24340
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_11158
Task.PlayAnimNonInterruptable(94@(134@,4i), "M_SMK_OUT", "SMOKING", 4.0, False, False, False, False, 0)
Char.FreezePosition(94@(134@,4i), False)

:GARAG1_11158
if and
  40@ > 90.0
  270.0 > 40@
goto_if_false @GARAG1_11296
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_11247
Task.PlayAnim(93@, "CAR_SC4_FR", "CAR_CHAT", 4.0, True, False, False, False, -1)

:GARAG1_11247
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC4_FL", "CAR_CHAT", 4.0, False, False, False, False, -1)
goto @GARAG1_11397

:GARAG1_11296
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_11355
Task.PlayAnim(93@, "CAR_SC3_FR", "CAR_CHAT", 4.0, True, False, False, False, 9000)

:GARAG1_11355
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC2_FL", "CAR_CHAT", 4.0, False, False, False, False, -1)

:GARAG1_11397
if 
  114@ == 1
goto_if_false @GARAG1_11783
if 
  TIMERA > 2000
goto_if_false @GARAG1_11783
if 
  not Car.IsDead(35@)
goto_if_false @GARAG1_11751
Car.LockDoors(35@, CarLock.Unlocked)
if 
  not Char.IsDead(95@)
goto_if_false @GARAG1_11655
Task.GoStraightToCoord(95@, -2232.07, 545.04, 34.39, MoveState.Walk, -1)
Streaming.RemoveAnimation("SMOKING")
if and
  40@ > 90.0
  270.0 > 40@
goto_if_false @GARAG1_11597
Camera.SetFixedPosition(-2233.689, 541.4159, 35.2249, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2233.139, 542.2441, 35.1142, SwitchType.JumpCut)
goto @GARAG1_11648

:GARAG1_11597
Camera.SetFixedPosition(-2228.62, 540.7846, 35.5936, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2229.199, 541.5954, 35.5075, SwitchType.JumpCut)

:GARAG1_11648
goto @GARAG1_11687

:GARAG1_11655
Text.PrintNow('GAR1_07', 5000, 1)
102@ = 0
110@ = 1
return 

:GARAG1_11687
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_11728
Car.FreezePosition(35@, False)
gosub @GARAG1_24340
goto @GARAG1_11744

:GARAG1_11728
102@ = 0
110@ = 1
return 

:GARAG1_11744
goto @GARAG1_11783

:GARAG1_11751
Text.PrintNow('GAR1_07', 5000, 1)
102@ = 0
110@ = 1
return 

:GARAG1_11783
if 
  TIMERA > 1500
goto_if_false @GARAG1_12039
if 
  114@ == 2
goto_if_false @GARAG1_12039
gosub @GARAG1_24340
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_12039
Char.SetHeading(94@(134@,4i), 270.0)
130@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2232.07, 545.04, 34.39, MoveState.Walk, -1)
Task.PlayAnim(-1, "CAR_TALKM_IN", "CAR_CHAT", 4.0, False, False, False, False, 0)
Task.PlayAnim(-1, "CAR_TALKM_LOOP", "CAR_CHAT", 4.0, False, False, False, False, 0)
Task.PlayAnim(-1, "CAR_TALKM_OUT", "CAR_CHAT", 4.0, False, False, False, False, 0)
Sequence.Close(130@)
Char.PerformSequence(95@, 130@)
Sequence.Clear(130@)

:GARAG1_12039
if 
  114@ == 3
goto_if_false @GARAG1_12064
gosub @GARAG1_24340

:GARAG1_12064
if 
  114@ == 4
goto_if_false @GARAG1_12089
gosub @GARAG1_24340

:GARAG1_12089
if 
  114@ == 5
goto_if_false @GARAG1_12114
gosub @GARAG1_24340

:GARAG1_12114
if 
  114@ == 6
goto_if_false @GARAG1_12233
gosub @GARAG1_24340
TIMERA = 0
if 
  not Car.IsDead(35@)
goto_if_false @GARAG1_12233
if 
  not Char.IsDead(95@)
goto_if_false @GARAG1_12233
130@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2241.66, 547.19, 34.49, MoveState.Run, -1)
Task.EnterCarAsDriver(-1, 35@, -1)
Sequence.Close(130@)
Char.PerformSequence(95@, 130@)
Sequence.Clear(130@)

:GARAG1_12233
if 
  114@ == 7
goto_if_false @GARAG1_12469
gosub @GARAG1_24340
Camera.SetFixedPosition(-2229.155, 533.4247, 41.4992, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2229.659, 534.123, 40.9914, SwitchType.JumpCut)
if 
  not Car.IsDead(35@)
goto_if_false @GARAG1_12469
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_12469
Char.WarpIntoCar(94@(134@,4i), 35@)
if 
  Char.IsInCar(94@(134@,4i), 35@)
goto_if_false @GARAG1_12469
130@ = Sequence.Open()
Task.CarDriveToCoord(-1, 35@, -2240.43, 557.96, 34.0, 10.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 35@, -2185.43, 567.96, 34.0, 50.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Sequence.Close(130@)
Char.PerformSequence(95@, 130@)
Sequence.Clear(130@)

:GARAG1_12469
if 
  TIMERA > 4000
goto_if_false @GARAG1_12715
if 
  114@ == 8
goto_if_false @GARAG1_12715
gosub @GARAG1_24340
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_12639
Camera.SetFixedPosition(-2235.01, 538.8505, 34.3478, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2234.183, 539.4094, 34.3942, SwitchType.JumpCut)
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_12639
Task.PlayAnim(93@, "CAR_SC3_FR", "CAR_CHAT", 4.0, True, False, False, False, 9000)

:GARAG1_12639
Particle.Stop(350@)
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_12673
Char.Delete(94@(134@,4i))

:GARAG1_12673
if 
  not Car.IsDead(35@)
goto_if_false @GARAG1_12694
Car.Delete(35@)

:GARAG1_12694
if 
  Object.DoesExist(42@)
goto_if_false @GARAG1_12715
Object.Delete(42@)

:GARAG1_12715
if 
  TIMERA > 1500
goto_if_false @GARAG1_12759
if 
  114@ == 9
goto_if_false @GARAG1_12759
gosub @GARAG1_24340

:GARAG1_12759
if 
  TIMERA > 1500
goto_if_false @GARAG1_12803
if 
  114@ == 10
goto_if_false @GARAG1_12803
gosub @GARAG1_24340

:GARAG1_12803
if 
  TIMERA > 1500
goto_if_false @GARAG1_12847
if 
  114@ == 11
goto_if_false @GARAG1_12847
gosub @GARAG1_24340

:GARAG1_12847
if 
  TIMERA > 1500
goto_if_false @GARAG1_12898
if 
  114@ == 12
goto_if_false @GARAG1_12898
gosub @GARAG1_24340
114@ = 20

:GARAG1_12898
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GARAG1_12998
114@ = 20
Particle.Stop(350@)
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_12952
Char.Delete(94@(134@,4i))

:GARAG1_12952
if 
  not Car.IsDead(35@)
goto_if_false @GARAG1_12973
Car.Delete(35@)

:GARAG1_12973
if 
  Object.DoesExist(42@)
goto_if_false @GARAG1_12994
Object.Delete(42@)

:GARAG1_12994
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:GARAG1_12998
if 
  TIMERB > 40000
goto_if_false @GARAG1_13026
114@ = 20

:GARAG1_13026
goto @GARAG1_10946

:GARAG1_13033
skip_cutscene_end 
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Streaming.RemoveAnimation("CAR_CHAT")
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GARAG1_13083
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:GARAG1_13083
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
114@ = 0
349@ = 0
Text.ClearPrints
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_13302
Car.SetStatus(34@, EntityStatus.Player)
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_13231
if 
  not Char.IsInCar(93@, 34@)
goto_if_false @GARAG1_13231
if 
  Car.IsPassengerSeatFree(34@, SeatIndex.FrontRight)
goto_if_false @GARAG1_13206
Char.WarpIntoCarAsPassenger(93@, 34@, 0)
goto @GARAG1_13231

:GARAG1_13206
100@ = Car.GetCharInPassengerSeat(34@, 0)
Char.Delete(100@)
Char.WarpIntoCarAsPassenger(93@, 34@, 0)

:GARAG1_13231
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_13302
if 
  not Car.IsDead(35@)
goto_if_false @GARAG1_13302
if 
  not Char.IsInCar(94@(134@,4i), 35@)
goto_if_false @GARAG1_13302
Char.WarpIntoCar(94@(134@,4i), 35@)

:GARAG1_13302
Streaming.MarkModelAsNoLongerNeeded(588)
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Streaming.UnloadSpecialCharacter(4)
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_13344
Char.Delete(94@(134@,4i))

:GARAG1_13344
if 
  not Car.IsDead(35@)
goto_if_false @GARAG1_13365
Car.Delete(35@)

:GARAG1_13365
if 
  Object.DoesExist(42@)
goto_if_false @GARAG1_13386
Object.Delete(42@)

:GARAG1_13386
134@ = 2
102@ = 0
106@ = 1
return 

:GARAG1_13409
129@ = Blip.AddSpriteForCoord(48@, 49@, 50@, RadarSprite.Police)
gosub @GARAG1_18471
if 
  110@ == 1
goto_if_false @GARAG1_13452
return 

:GARAG1_13452
Streaming.RequestModel(413)
Streaming.RequestAnimation("CAR_CHAT")

:GARAG1_13469
if or
  not Streaming.HasModelLoaded(413)
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @GARAG1_13508
wait 0
goto @GARAG1_13469

:GARAG1_13508
38@ = Car.Create(413, -1659.92, 751.31, 17.29)
Car.LockDoors(38@, CarLock.Locked)
Car.SetHeading(38@, 180.0)
Car.FreezePosition(38@, True)
if 
  not Car.IsDead(38@)
goto_if_false @GARAG1_13600
99@ = Char.CreateInsideCar(38@, PedType.CivMale, 7)
Car.FreezePosition(38@, False)
Car.SetCruiseSpeed(38@, 30.0)

:GARAG1_13600
set_lvar_int_to_lvar_int 311@ = 93@
set_lvar_int_to_lvar_int 312@ = 93@
set_lvar_int_to_lvar_int 313@ = 93@
set_lvar_int_to_lvar_int 314@ = 93@
set_lvar_int_to_var_int 315@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 316@ = 93@
set_lvar_int_to_lvar_int 317@ = 93@
set_lvar_int_to_lvar_int 318@ = 93@
set_lvar_int_to_lvar_int 319@ = 93@
set_lvar_int_to_lvar_int 320@ = 93@
set_lvar_int_to_lvar_int 321@ = 93@
set_lvar_int_to_var_int 322@ = $stattreadstamina_ctr
set_lvar_int_to_var_int 323@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 324@ = 94@
set_lvar_int_to_lvar_int 325@ = 93@
set_lvar_int_to_lvar_int 326@ = 93@
set_lvar_int_to_lvar_int 327@ = 93@
set_lvar_int_to_lvar_int 328@ = 93@
set_lvar_int_to_lvar_int 329@ = 93@
set_lvar_int_to_var_int 330@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 331@ = 93@
set_lvar_int_to_lvar_int 333@ = 93@
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_14055
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @GARAG1_13848
Char.WarpIntoCar($stattreadstamina_ctr, 34@)

:GARAG1_13848
40@ = Car.GetHeading(34@)
Car.SetCoordinates(34@, -1626.167, 725.0057, 13.4609)
if and
  40@ > 0.0
  180.0 > 40@
goto_if_false @GARAG1_13924
Car.SetHeading(34@, 90.0)
goto @GARAG1_13934

:GARAG1_13924
Car.SetHeading(34@, 270.0)

:GARAG1_13934
87@, 88@, 89@ = Car.GetOffsetInWorldCoords(34@, 1.0, 1.5, 0.8)
90@, 91@, 92@ = Car.GetOffsetInWorldCoords(34@, 0.0, -1.5, 0.5)
Camera.SetFixedPosition(87@, 88@, 89@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(90@, 91@, 92@, SwitchType.JumpCut)
World.ClearArea(-1659.92, 751.31, 17.29, 1000.0, True)

:GARAG1_14055
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_14114
Task.PlayAnim(93@, "CAR_SC1_FR", "CAR_CHAT", 4.0, True, False, False, False, 9000)

:GARAG1_14114
114@ = 0
348@ = 69
TIMERA = 0
TIMERB = 0

:GARAG1_14142
if 
  114@ <> 20
goto_if_false @GARAG1_14973
wait 0
gosub @GARAG1_22044
if 
  110@ == 1
goto_if_false @GARAG1_14191
return 

:GARAG1_14191
if 
  114@ == 0
goto_if_false @GARAG1_14266
skip_cutscene_start_internal @GARAG1_14973
if 
  TIMERA > 1500
goto_if_false @GARAG1_14266
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_14259
Char.StartFacialTalk(93@, 29000)

:GARAG1_14259
gosub @GARAG1_24340

:GARAG1_14266
if 
  114@ == 1
goto_if_false @GARAG1_14453
if 
  TIMERA > 2000
goto_if_false @GARAG1_14453
gosub @GARAG1_24340
if 
  not Car.IsDead(38@)
goto_if_false @GARAG1_14395
if 
  not Char.IsDead(99@)
goto_if_false @GARAG1_14395
if 
  Char.IsInCar(99@, 38@)
goto_if_false @GARAG1_14395
Task.CarDriveToCoord(99@, 38@, -1716.03, 732.96, 24.9, 15.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:GARAG1_14395
Camera.SetFixedPosition(-1671.547, 729.851, 18.6107, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1670.621, 730.2037, 18.7409, SwitchType.JumpCut)
TIMERA = 0

:GARAG1_14453
if 
  114@ == 2
goto_if_false @GARAG1_14497
if 
  TIMERA > 2000
goto_if_false @GARAG1_14497
gosub @GARAG1_24340

:GARAG1_14497
if 
  114@ == 3
goto_if_false @GARAG1_14725
if 
  TIMERA > 6000
goto_if_false @GARAG1_14725
Camera.SetFixedPosition(-1624.639, 723.3417, 14.5936, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1625.473, 723.8466, 14.8151, SwitchType.JumpCut)
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC1_FL", "CAR_CHAT", 4.0, False, False, False, False, -1)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_14694
Task.PlayAnim(93@, "CAR_SC1_FR", "CAR_CHAT", 4.0, True, False, False, False, 9000)

:GARAG1_14694
gosub @GARAG1_24340
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_14725
Char.StartFacialTalk(93@, 20000)

:GARAG1_14725
if and
  114@ >= 4
  7 >= 114@
goto_if_false @GARAG1_14757
gosub @GARAG1_24340

:GARAG1_14757
if 
  114@ == 8
goto_if_false @GARAG1_14859
if 
  TIMERA > 2000
goto_if_false @GARAG1_14859
Camera.SetFixedPosition(-1628.8, 727.3613, 14.7421, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1627.844, 727.0695, 14.7728, SwitchType.JumpCut)
gosub @GARAG1_24340
TIMERA = 0

:GARAG1_14859
if and
  114@ >= 9
  11 >= 114@
goto_if_false @GARAG1_14891
gosub @GARAG1_24340

:GARAG1_14891
if 
  114@ >= 12
goto_if_false @GARAG1_14916
114@ = 20

:GARAG1_14916
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GARAG1_14940
114@ = 20
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:GARAG1_14940
if 
  TIMERB > 29000
goto_if_false @GARAG1_14966
114@ = 20

:GARAG1_14966
goto @GARAG1_14142

:GARAG1_14973
skip_cutscene_end 
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_14996
Char.StopFacialTalk(93@)

:GARAG1_14996
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GARAG1_15032
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:GARAG1_15032
Streaming.RemoveAnimation("CAR_CHAT")
Streaming.MarkModelAsNoLongerNeeded(413)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
114@ = 0
348@ = 80
349@ = 0
Text.ClearPrints
Blip.Remove(129@)
Char.Delete(99@)
Car.Delete(38@)
106@ = 0
103@ = 1
Streaming.RemoveAnimation("CAR_CHAT")
return 

:GARAG1_15129
122@(134@,5i) = Blip.AddForCoord(54@(134@,5f), 59@(134@,5f), 64@(134@,5f))
Blip.SetCoordAppearance(122@(134@,5i), 1)
Streaming.RequestAnimation("CRIB")
Streaming.RequestModel(465)

:GARAG1_15183
if or
  not Streaming.HasAnimationLoaded("CRIB")
  not Streaming.HasModelLoaded(465)
goto_if_false @GARAG1_15218
wait 0
goto @GARAG1_15183

:GARAG1_15218
41@ = Object.Create(#PARKBENCH1, -2242.6, 136.91, 34.65)
Object.Delete(41@)
37@ = Car.Create(465, -2250.33, 139.91, 44.66)
Car.Delete(37@)
Streaming.LoadSpecialCharacter(1, 'ZERO')

:GARAG1_15287
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @GARAG1_15313
wait 0
goto @GARAG1_15287

:GARAG1_15313
Streaming.RequestModel(364)
Streaming.RequestModel(363)

:GARAG1_15323
if or
  not Streaming.HasModelLoaded(364)
  not Streaming.HasModelLoaded(363)
goto_if_false @GARAG1_15355
wait 0
goto @GARAG1_15323

:GARAG1_15355
96@ = Char.Create(PedType.CivMale, 290, 74@, 79@, 84@)
Char.SetOnlyDamagedByPlayer(96@, True)
Char.GiveWeapon(96@, WeaponType.Satchel, 10)
Char.SetNeverTargeted(96@, True)
Char.GiveWeapon(96@, WeaponType.Detonator, 1)
Char.SetRelationship(96@, RelationshipType.Like, PedType.Player1)
Char.SetDecisionMaker(96@, 135@)
Char.SetCurrentWeapon(96@, WeaponType.Detonator)
Char.Delete(96@)
gosub @GARAG1_18471
Streaming.RequestAnimation("CAR_CHAT")

:GARAG1_15454
if 
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @GARAG1_15488
wait 0
goto @GARAG1_15454

:GARAG1_15488
if 
  110@ == 1
goto_if_false @GARAG1_15508
return 

:GARAG1_15508
set_lvar_int_to_lvar_int 334@ = 96@
set_lvar_int_to_lvar_int 335@ = 96@
set_lvar_int_to_lvar_int 336@ = 96@
set_lvar_int_to_lvar_int 337@ = 93@
set_lvar_int_to_lvar_int 338@ = 93@
set_lvar_int_to_lvar_int 339@ = 93@
set_lvar_int_to_var_int 340@ = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 341@ = 93@
set_lvar_int_to_lvar_int 342@ = 93@
set_lvar_int_to_lvar_int 343@ = 96@
set_lvar_int_to_lvar_int 344@ = 96@
set_lvar_int_to_lvar_int 345@ = 96@
set_lvar_int_to_var_int 346@ = $stattreadstamina_ctr
set_lvar_int_to_var_int 347@ = $stattreadstamina_ctr
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Game.SwitchRandomTrains(False)
if 
  not Car.IsDead(37@)
goto_if_false @GARAG1_15729
Car.SetCoordinates(37@, -2244.56, 127.11, 40.0)
Heli.LandAtCoords(37@, -2244.48, 129.14, 34.56, 0.0, 0.0)
Car.SetCruiseSpeed(37@, 21.0)

:GARAG1_15729
Camera.SetFixedPosition(-2250.306, 140.9439, 41.7533, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2249.804, 140.343, 41.1311, SwitchType.JumpCut)
World.ClearArea(54@(134@,5f), 59@(134@,5f), 64@(134@,5f), 1000.0, True)
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_15952
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @GARAG1_15853
Char.WarpIntoCar($stattreadstamina_ctr, 34@)

:GARAG1_15853
40@ = Car.GetHeading(34@)
if and
  40@ > 90.0
  270.0 > 40@
goto_if_false @GARAG1_15909
Car.SetHeading(34@, 180.0)
goto @GARAG1_15919

:GARAG1_15909
Car.SetHeading(34@, 0.0)

:GARAG1_15919
if 
  not Car.IsPassengerSeatFree(34@, SeatIndex.RearLeft)
goto_if_false @GARAG1_15952
100@ = Car.GetCharInPassengerSeat(34@, 1)
Char.Delete(100@)

:GARAG1_15952
if 
  not Char.IsDead(96@)
goto_if_false @GARAG1_15998
Char.SetHealth(96@, 200)
Char.SetSuffersCriticalHits(96@, False)
Char.SetProofs(96@, True, True, True, True, True)

:GARAG1_15998
348@ = 92
114@ = 0
TIMERA = 0
TIMERB = 0

:GARAG1_16026
if 
  114@ <> 10
goto_if_false @GARAG1_16806
wait 0
if 
  114@ == 0
goto_if_false @GARAG1_16099
if 
  TIMERA > 1500
goto_if_false @GARAG1_16099
skip_cutscene_start_internal @GARAG1_16806
gosub @GARAG1_24340

:GARAG1_16099
if 
  114@ == 1
goto_if_false @GARAG1_16194
if 
  TIMERA > 2000
goto_if_false @GARAG1_16194
gosub @GARAG1_24340
Camera.SetFixedPosition(-2244.449, 135.8613, 34.9713, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2244.844, 134.9551, 35.1198, SwitchType.JumpCut)

:GARAG1_16194
if 
  114@ == 2
goto_if_false @GARAG1_16552
if 
  TIMERA > 3000
goto_if_false @GARAG1_16552
gosub @GARAG1_24340
if 
  not Char.IsDead(96@)
goto_if_false @GARAG1_16552
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_16469
if 
  not Char.IsInAnyCar(96@)
goto_if_false @GARAG1_16293
Char.SetCollision(96@, True)

:GARAG1_16293
Char.SetCoordinates(96@, -2245.34, 134.11, 34.5)
if and
  40@ > 90.0
  270.0 > 40@
goto_if_false @GARAG1_16395
130@ = Sequence.Open()
Task.AchieveHeading(-1, 93.0)
Task.EnterCarAsPassenger(-1, 34@, 6000, 1)
Sequence.Close(130@)
Char.PerformSequence(96@, 130@)
Sequence.Clear(130@)
goto @GARAG1_16462

:GARAG1_16395
130@ = Sequence.Open()
Task.AchieveHeading(-1, 93.0)
Task.GoStraightToCoord(-1, -2252.853, 138.619, 34.219, MoveState.Run, -1)
Task.EnterCarAsPassenger(-1, 34@, 6000, 1)
Sequence.Close(130@)
Char.PerformSequence(96@, 130@)
Sequence.Clear(130@)

:GARAG1_16462
goto @GARAG1_16501

:GARAG1_16469
Text.PrintNow('GAR1_07', 5000, 1)
103@ = 0
110@ = 1
return 

:GARAG1_16501
Camera.SetFixedPosition(-2251.421, 130.1502, 35.5076, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2250.745, 130.8858, 35.4549, SwitchType.JumpCut)

:GARAG1_16552
if 
  114@ == 3
goto_if_false @GARAG1_16647
if 
  TIMERA > 3000
goto_if_false @GARAG1_16647
Camera.SetFixedPosition(-2253.451, 139.6341, 38.4909, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2252.702, 139.074, 38.1371, SwitchType.JumpCut)
gosub @GARAG1_24340

:GARAG1_16647
if 
  114@ == 4
goto_if_false @GARAG1_16705
if 
  TIMERA > 3000
goto_if_false @GARAG1_16705
gosub @GARAG1_24340
114@ = 5
TIMERA = 0

:GARAG1_16705
if 
  114@ == 5
goto_if_false @GARAG1_16749
if 
  TIMERA > 2000
goto_if_false @GARAG1_16749
114@ = 10

:GARAG1_16749
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GARAG1_16773
114@ = 10
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:GARAG1_16773
if 
  TIMERB > 13500
goto_if_false @GARAG1_16799
114@ = 10

:GARAG1_16799
goto @GARAG1_16026

:GARAG1_16806
skip_cutscene_end 
if 
  not Char.IsDead(96@)
goto_if_false @GARAG1_16959
Char.SetCurrentWeapon(96@, WeaponType.Unarmed)
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_16944
if 
  not Char.IsInCar(96@, 34@)
goto_if_false @GARAG1_16944
if 
  Car.IsPassengerSeatFree(34@, SeatIndex.RearLeft)
goto_if_false @GARAG1_16901
Char.WarpIntoCarAsPassenger(96@, 34@, 1)
goto @GARAG1_16930

:GARAG1_16901
100@ = Car.GetCharInPassengerSeat(34@, 1)
Char.Delete(100@)
Char.WarpIntoCarAsPassenger(94@(134@,4i), 34@, 1)

:GARAG1_16930
Char.SetCurrentWeapon(96@, WeaponType.Unarmed)
Char.SetOnlyDamagedByPlayer(96@, False)

:GARAG1_16944
Char.SetProofs(96@, False, False, False, False, False)

:GARAG1_16959
if 
  not Car.IsDead(37@)
goto_if_false @GARAG1_17035
Car.SetCoordinates(37@, -2242.34, 128.0, 34.2)
Car.SetProofs(37@, False, False, False, False, False)
Car.SetCruiseSpeed(37@, 0.0)
Car.SetHealth(37@, 400)
Car.FreezePosition(37@, True)

:GARAG1_17035
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GARAG1_17071
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:GARAG1_17071
Game.SwitchRandomTrains(True)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
348@ = 97
114@ = 0
349@ = 0
Text.ClearPrints
Object.MarkAsNoLongerNeeded(41@)
Streaming.MarkModelAsNoLongerNeeded(364)
Streaming.MarkModelAsNoLongerNeeded(363)
Streaming.RemoveAnimation("CRIB")
Car.MarkAsNoLongerNeeded(37@)
Streaming.RemoveAnimation("CAR_CHAT")
134@ = 3
103@ = 0
107@ = 1
Streaming.MarkModelAsNoLongerNeeded(465)
return 

:GARAG1_17180
122@(134@,5i) = Blip.AddForCoord(69@, 70@, 71@)
Streaming.RequestModel(588)

:GARAG1_17203
if 
  not Streaming.HasModelLoaded(588)
goto_if_false @GARAG1_17230
wait 0
goto @GARAG1_17203

:GARAG1_17230
gosub @GARAG1_18471
if 
  110@ == 1
goto_if_false @GARAG1_17257
return 

:GARAG1_17257
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
TIMERA = 0
Camera.SetFixedPosition(-2040.63, 180.9374, 29.2617, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2039.8, 180.3834, 29.3231, SwitchType.JumpCut)
World.ClearArea(54@(134@,5f), 59@(134@,5f), 64@(134@,5f), 1000.0, True)
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_17481
Car.SetCoordinates(34@, -2033.932, 178.5836, 27.6359)
Car.SetHeading(34@, 86.5989)
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @GARAG1_17447
Char.WarpIntoCar($stattreadstamina_ctr, 34@)

:GARAG1_17447
Task.CarDriveToCoord($stattreadstamina_ctr, 34@, -2039.97, 179.98, 28.08, 20.0, DriveMode.Straightline, 1, DrivingMode.PloughThrough)

:GARAG1_17481
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 16503)

:GARAG1_17488
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GARAG1_17514
wait 0
goto @GARAG1_17488

:GARAG1_17514
Text.PrintNow('GAR1_PH', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:GARAG1_17534
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GARAG1_17560
wait 0
goto @GARAG1_17534

:GARAG1_17560
Text.ClearThisPrint('GAR1_PH')
114@ = 0

:GARAG1_17578
if 
  4000 > TIMERA
goto_if_false @GARAG1_18065
wait 0
if 
  114@ == 0
goto_if_false @GARAG1_17979
if 
  TIMERA > 1000
goto_if_false @GARAG1_17979
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_17746
if 
  not Char.IsDead(94@)
goto_if_false @GARAG1_17746
51@, 52@, 53@ = Char.GetOffsetInWorldCoords(94@, 1.0, 5.0, 0.0)
130@ = Sequence.Open()
Task.LeaveCar(-1, 34@)
Task.GoStraightToCoord(-1, 51@, 52@, 53@, MoveState.Walk, -1)
Sequence.Close(130@)
Char.PerformSequence(94@, 130@)
Sequence.Clear(130@)

:GARAG1_17746
wait 1000
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_17859
if 
  not Char.IsDead(96@)
goto_if_false @GARAG1_17859
51@, 52@, 53@ = Char.GetOffsetInWorldCoords(96@, -5.0, 0.0, 0.0)
130@ = Sequence.Open()
Task.LeaveCar(-1, 34@)
Task.GoStraightToCoord(-1, 51@, 52@, 53@, MoveState.Walk, -1)
Sequence.Close(130@)
Char.PerformSequence(96@, 130@)
Sequence.Clear(130@)

:GARAG1_17859
wait 500
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_17972
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_17972
51@, 52@, 53@ = Char.GetOffsetInWorldCoords(93@, 1.0, 5.0, 0.0)
130@ = Sequence.Open()
Task.LeaveCar(-1, 34@)
Task.GoStraightToCoord(-1, 51@, 52@, 53@, MoveState.Walk, -1)
Sequence.Close(130@)
Char.PerformSequence(93@, 130@)
Sequence.Clear(130@)

:GARAG1_17972
114@ = 1

:GARAG1_17979
if 
  114@ == 1
goto_if_false @GARAG1_18038
if 
  TIMERA > 2500
goto_if_false @GARAG1_18038
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)
114@ = 2

:GARAG1_18038
if 
  110@ == 1
goto_if_false @GARAG1_18058
return 

:GARAG1_18058
goto @GARAG1_17578

:GARAG1_18065
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GARAG1_18101
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2028.0, 177.0, 28.2)

:GARAG1_18101
Streaming.RemoveAnimation("SMOKING")
Streaming.RemoveAnimation("PARK")
Streaming.RemoveAnimation("CAR")
Streaming.RemoveAnimation("CRIB")
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("CAR_CHAT")
Streaming.MarkModelAsNoLongerNeeded(364)
Streaming.MarkModelAsNoLongerNeeded(363)
Streaming.MarkModelAsNoLongerNeeded(585)
Streaming.MarkModelAsNoLongerNeeded(588)
Streaming.MarkModelAsNoLongerNeeded(413)
Streaming.MarkModelAsNoLongerNeeded(465)
Streaming.MarkModelAsNoLongerNeeded(525)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)

:GARAG1_18203
if 
  Camera.GetFadingStatus
goto_if_false @GARAG1_18227
wait 0
goto @GARAG1_18203

:GARAG1_18227
Char.SetCoordinates($stattreadstamina_ctr, -2028.0, 177.0, 28.2)
Char.SetHeading($stattreadstamina_ctr, 267.0)
Char.Delete(93@)
Char.Delete(94@)
Char.Delete(95@)
Char.Delete(96@)
Char.Delete(97@)
Char.Delete(99@)
Car.Delete(35@)
Car.Delete(34@)
Cutscene.Load('GARAG1C')
Streaming.SetAreaVisible(1)

:GARAG1_18312
if 
  not Cutscene.HasLoaded
goto_if_false @GARAG1_18336
wait 0
goto @GARAG1_18312

:GARAG1_18336
wait 1500
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:GARAG1_18350
if 
  not Cutscene.HasFinished
goto_if_false @GARAG1_18374
wait 0
goto @GARAG1_18350

:GARAG1_18374
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:GARAG1_18389
if 
  Camera.GetFadingStatus
goto_if_false @GARAG1_18413
wait 0
goto @GARAG1_18389

:GARAG1_18413
Streaming.SetAreaVisible(0)
Camera.DoFade(1000, Fade.In)

:GARAG1_18424
if 
  Camera.GetFadingStatus
goto_if_false @GARAG1_18448
wait 0
goto @GARAG1_18424

:GARAG1_18448
349@ = 0
107@ = 0
109@ = 1
return 

:GARAG1_18471
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_21950

:GARAG1_18487
if 
  119@ <> 1
goto_if_false @GARAG1_21943
wait 0
gosub @GARAG1_22044
if 
  110@ == 1
goto_if_false @GARAG1_18536
return 

:GARAG1_18536
if 
  101@ == 1
goto_if_false @GARAG1_18974
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 54@(134@,5f), 59@(134@,5f), 64@(134@,5f), 200.0, 200.0, 200.0, False)
goto_if_false @GARAG1_18899
if 
  120@ == 0
goto_if_false @GARAG1_18892
94@(134@,4i) = Char.Create(PedType.CivMale, 292, 72@(134@,5f), 77@(134@,5f), 82@(134@,5f))
Char.SetNeverTargeted(94@(134@,4i), True)
Char.SetCollision(94@(134@,4i), False)
Char.SetHeading(94@(134@,4i), 228.0)
Char.SetProofs(94@(134@,4i), False, False, False, True, False)
Char.SetGetOutUpsideDownCar(94@(134@,4i), False)
Char.SetRelationship(94@(134@,4i), RelationshipType.Like, PedType.Player1)
Char.SetDecisionMaker(94@(134@,4i), 135@)
Char.SetNeverTargeted(94@(134@,4i), True)
36@ = Car.Create(525, -1676.0, 440.0, 6.7)
Car.LockDoors(36@, CarLock.Locked)
Car.SetEngineOn(36@, True)
Car.SetLightsOn(36@, True)
Car.SetHeading(36@, 313.0)
Car.SetHealth(36@, 500)
Car.FreezePosition(36@, True)
Car.PopDoor(36@, CarDoor.Hood, False)
Task.PlayAnimNonInterruptable(94@(134@,4i), "FIXN_CAR_LOOP", "CAR", 4.0, True, False, False, True, 0)
120@ = 1

:GARAG1_18892
goto @GARAG1_18974

:GARAG1_18899
if 
  120@ == 1
goto_if_false @GARAG1_18974
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_18946
Char.Delete(94@(134@,4i))

:GARAG1_18946
if 
  not Car.IsDead(36@)
goto_if_false @GARAG1_18967
Car.Delete(36@)

:GARAG1_18967
120@ = 0

:GARAG1_18974
if 
  102@ == 1
goto_if_false @GARAG1_19464
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 54@(134@,5f), 59@(134@,5f), 64@(134@,5f), 200.0, 200.0, 200.0, False)
goto_if_false @GARAG1_19368
if 
  120@ == 0
goto_if_false @GARAG1_19361
35@ = Car.Create(588, -2238.888, 541.5267, 34.375)
Car.LockDoors(35@, CarLock.Locked)
Car.SetEngineOn(35@, True)
Car.SetLightsOn(35@, True)
Car.SetHeading(35@, 0.0)
Car.FreezePosition(35@, True)
94@(134@,4i) = Char.Create(PedType.CivMale, 293, 72@(134@,5f), 77@(134@,5f), 82@(134@,5f))
Char.SetNeverTargeted(94@(134@,4i), True)
Char.SetHeading(94@(134@,4i), 270.0)
42@ = Object.Create(#CIGAR, 72@(134@,5f), 77@(134@,5f), 82@(134@,5f))
Task.PickUpObject(94@(134@,4i), 42@, 0.04, 0.1, 0.05, 5, 16, "NULL", "NULL", 0)
Char.FreezePosition(94@(134@,4i), True)
Char.SetRelationship(94@(134@,4i), RelationshipType.Like, PedType.Player1)
Char.SetDecisionMaker(94@(134@,4i), 135@)
Char.SetGetOutUpsideDownCar(94@(134@,4i), False)
Task.PlayAnim(94@(134@,4i), "M_SMKLEAN_LOOP", "SMOKING", 4.0, True, False, False, True, 0)
120@ = 1

:GARAG1_19361
goto @GARAG1_19464

:GARAG1_19368
if 
  120@ == 1
goto_if_false @GARAG1_19464
if 
  not Char.IsDead(94@(134@,4i))
goto_if_false @GARAG1_19415
Char.Delete(94@(134@,4i))

:GARAG1_19415
if 
  not Car.IsDead(35@)
goto_if_false @GARAG1_19436
Car.Delete(35@)

:GARAG1_19436
if 
  Object.DoesExist(42@)
goto_if_false @GARAG1_19457
Object.Delete(42@)

:GARAG1_19457
120@ = 0

:GARAG1_19464
if 
  103@ == 1
goto_if_false @GARAG1_19953
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 54@(134@,5f), 59@(134@,5f), 64@(134@,5f), 200.0, 200.0, 200.0, False)
goto_if_false @GARAG1_19865
if 
  120@ == 0
goto_if_false @GARAG1_19858
41@ = Object.Create(#PARKBENCH1, -2244.55, 133.91, 34.4)
Object.SetHeading(41@, 0.0)
Object.FreezePosition(41@, True)
96@ = Char.Create(PedType.CivMale, 290, -2244.7, 133.91, 33.82)
Char.SetGetOutUpsideDownCar(96@, False)
Char.SetNeverTargeted(96@, True)
Task.PlayAnimNonInterruptable(96@, "CRIB_CONSOLE_LOOP", "CRIB", 4.0, True, False, False, True, 0)
Char.SetCollision(96@, False)
Char.SetRelationship(96@, RelationshipType.Like, PedType.Player1)
Char.SetDecisionMaker(96@, 135@)
Char.SetHeading(96@, 280.0)
Char.SetOnlyDamagedByPlayer(96@, True)
Char.GiveWeapon(96@, WeaponType.Satchel, 10)
Char.SetNeverTargeted(96@, True)
Char.GiveWeapon(96@, WeaponType.Detonator, 1)
Char.SetRelationship(96@, RelationshipType.Like, PedType.Player1)
Char.SetDecisionMaker(96@, 135@)
Char.SetCurrentWeapon(96@, WeaponType.Detonator)
37@ = Car.Create(465, -2250.33, 139.91, 44.66)
Car.SetProofs(37@, True, True, True, True, True)
Car.SetCruiseSpeed(37@, 30.0)
Heli.SetBladesFullSpeed(37@)
Heli.GotoCoords(37@, -2258.7, 132.54, 37.72, 5.0, 35.0)
120@ = 1

:GARAG1_19858
goto @GARAG1_19953

:GARAG1_19865
if 
  120@ == 1
goto_if_false @GARAG1_19953
if 
  Object.DoesExist(41@)
goto_if_false @GARAG1_19904
Object.Delete(41@)

:GARAG1_19904
if 
  not Char.IsDead(96@)
goto_if_false @GARAG1_19925
Char.Delete(96@)

:GARAG1_19925
if 
  not Car.IsDead(37@)
goto_if_false @GARAG1_19946
Car.Delete(37@)

:GARAG1_19946
120@ = 0

:GARAG1_19953
if 
  107@ == 1
goto_if_false @GARAG1_20131
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 69@, 70@, 71@, 300.0, 300.0, 300.0, False)
goto_if_false @GARAG1_20085
if 
  120@ == 0
goto_if_false @GARAG1_20078
35@ = Car.Create(588, -2026.0, 169.0, 28.2)
Car.LockDoors(35@, CarLock.Locked)
Car.SetHeading(35@, 120.0)
120@ = 1

:GARAG1_20078
goto @GARAG1_20131

:GARAG1_20085
if 
  120@ == 1
goto_if_false @GARAG1_20131
if 
  not Car.IsDead(35@)
goto_if_false @GARAG1_20124
Car.Delete(35@)

:GARAG1_20124
120@ = 0

:GARAG1_20131
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_21876
if or
  101@ == 1
  102@ == 1
  103@ == 1
goto_if_false @GARAG1_20515
if 
  Car.LocateStopped3D(34@, 54@(134@,5f), 59@(134@,5f), 64@(134@,5f), 4.0, 4.0, 4.0, True)
goto_if_false @GARAG1_20515
if 
  Car.LocateStopped3D(34@, 54@(134@,5f), 59@(134@,5f), 64@(134@,5f), 2.5, 2.5, 2.5, False)
goto_if_false @GARAG1_20506
if 
  118@ == 0
goto_if_false @GARAG1_20323
Text.PrintHelp('GAR1_23')
118@ = 1

:GARAG1_20323
if 
  Player.IsPressingHorn($statbike_temp)
goto_if_false @GARAG1_20499
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @GARAG1_20499
Char.SetCantBeDraggedOut($stattreadstamina_ctr, True)
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_20385
Car.LockDoors(34@, CarLock.LockedPlayerInside)

:GARAG1_20385
wait 500
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearHelp
wait 1000
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_20469
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @GARAG1_20469
Char.WarpIntoCar($stattreadstamina_ctr, 34@)

:GARAG1_20469
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_20492
Car.LockDoors(34@, CarLock.Unlocked)

:GARAG1_20492
119@ = 1

:GARAG1_20499
goto @GARAG1_20515

:GARAG1_20506
Text.ClearHelp
118@ = 0

:GARAG1_20515
if 
  105@ == 1
goto_if_false @GARAG1_20612
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 45@, 46@, 47@, 4.0, 4.0, 4.0, True)
goto_if_false @GARAG1_20612
119@ = 1
Player.SetControl($statbike_temp, False)
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)

:GARAG1_20612
if 
  106@ == 1
goto_if_false @GARAG1_20709
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 48@, 49@, 50@, 4.0, 4.0, 4.0, True)
goto_if_false @GARAG1_20709
119@ = 1
Player.SetControl($statbike_temp, False)
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)

:GARAG1_20709
if 
  107@ == 1
goto_if_false @GARAG1_20903
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_20903
if 
  113@ == 0
goto_if_false @GARAG1_20903
40@ = Car.GetHeading(34@)
if 
  Car.Locate3D(34@, -2034.59, 180.23, 28.43, 4.0, 4.0, 4.0, True)
goto_if_false @GARAG1_20903
if and
  40@ > 0.0
  180.0 > 40@
goto_if_false @GARAG1_20903
Garage.Open('HBGDSFS')
113@ = 1
Player.SetControl($statbike_temp, False)
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)
119@ = 1

:GARAG1_20903
if 
  101@ == 1
goto_if_false @GARAG1_21053
if 
  115@ == 0
goto_if_false @GARAG1_21053
if and
  114@ >= 0
  7 >= 114@
goto_if_false @GARAG1_20971
gosub @GARAG1_24109

:GARAG1_20971
if 
  Char.IsInZone($stattreadstamina_ctr, 'EASB')
goto_if_false @GARAG1_21021
if 
  114@ == 8
goto_if_false @GARAG1_21021
gosub @GARAG1_24109

:GARAG1_21021
if or
  114@ == 9
  114@ == 10
goto_if_false @GARAG1_21053
gosub @GARAG1_24109

:GARAG1_21053
if 
  105@ == 1
goto_if_false @GARAG1_21103
if and
  114@ >= 0
  6 >= 114@
goto_if_false @GARAG1_21103
gosub @GARAG1_24109

:GARAG1_21103
if 
  102@ == 1
goto_if_false @GARAG1_21153
if and
  114@ >= 0
  6 >= 114@
goto_if_false @GARAG1_21153
gosub @GARAG1_24109

:GARAG1_21153
if 
  103@ == 1
goto_if_false @GARAG1_21203
if and
  114@ >= 0
  9 >= 114@
goto_if_false @GARAG1_21203
gosub @GARAG1_24109

:GARAG1_21203
if 
  107@ == 1
goto_if_false @GARAG1_21253
if and
  114@ >= 0
  7 >= 114@
goto_if_false @GARAG1_21253
gosub @GARAG1_24109

:GARAG1_21253
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_21869
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @GARAG1_21869
Blip.Remove(122@(134@,5i))
Blip.Remove(128@)
Blip.Remove(129@)
127@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(127@, True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41402)

:GARAG1_21335
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GARAG1_21361
wait 0
goto @GARAG1_21335

:GARAG1_21361
Text.PrintNow('TRUX_AC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:GARAG1_21381
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GARAG1_21407
wait 0
goto @GARAG1_21381

:GARAG1_21407
Text.ClearThisPrint('TRUX_AC')
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_21680

:GARAG1_21434
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @GARAG1_21680
wait 0
if 
  112@ == 0
goto_if_false @GARAG1_21482
112@ = 1

:GARAG1_21482
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_21505
goto @GARAG1_21565

:GARAG1_21505
Text.PrintNow('GAR1_07', 5000, 1)
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
return 

:GARAG1_21565
if 
  Car.IsOnFire(34@)
goto_if_false @GARAG1_21646
Car.Explode(34@)
Text.PrintNow('GAR1_07', 5000, 1)
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
return 

:GARAG1_21646
gosub @GARAG1_22044
if 
  110@ == 1
goto_if_false @GARAG1_21673
return 

:GARAG1_21673
goto @GARAG1_21434

:GARAG1_21680
112@ = 0
Blip.Remove(127@)
if or
  101@ == 1
  102@ == 1
  103@ == 1
goto_if_false @GARAG1_21765
122@(134@,5i) = Blip.AddForCoord(54@(134@,5f), 59@(134@,5f), 64@(134@,5f))
Blip.SetCoordAppearance(122@(134@,5i), 1)

:GARAG1_21765
if 
  105@ == 1
goto_if_false @GARAG1_21799
128@ = Blip.AddSpriteForCoord(45@, 46@, 47@, RadarSprite.Hospital)

:GARAG1_21799
if 
  106@ == 1
goto_if_false @GARAG1_21833
129@ = Blip.AddSpriteForCoord(48@, 49@, 50@, RadarSprite.Police)

:GARAG1_21833
if 
  107@ == 1
goto_if_false @GARAG1_21869
122@(134@,5i) = Blip.AddForCoord(69@, 70@, 71@)

:GARAG1_21869
goto @GARAG1_21936

:GARAG1_21876
Text.PrintNow('GAR1_07', 5000, 1)
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
return 

:GARAG1_21936
goto @GARAG1_18487

:GARAG1_21943
goto @GARAG1_22003

:GARAG1_21950
Text.PrintNow('GAR1_07', 5000, 1)
101@ = 0
102@ = 0
103@ = 0
104@ = 0
110@ = 1
return 

:GARAG1_22003
119@ = 0
Blip.Remove(122@(134@,5i))
118@ = 0
120@ = 0
114@ = 0
Text.ClearHelp
return 

:GARAG1_22044
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_22866
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 34@, 300.0, 300.0, 300.0, False)
goto_if_false @GARAG1_22161
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_18', 5000, 1)

:GARAG1_22161
if 
  not Char.IsDead(93@)
goto_if_false @GARAG1_22384
if 
  not Char.IsInCar(93@, 34@)
goto_if_false @GARAG1_22359
if 
  115@ == 0
goto_if_false @GARAG1_22233
Task.EnterCarAsPassenger(93@, 34@, -1, 0)
115@ = 1

:GARAG1_22233
if 
  115@ == 1
goto_if_false @GARAG1_22352
if 
  not Char.LocateOnFootChar3D(93@, $stattreadstamina_ctr, 150.0, 150.0, 150.0, False)
goto_if_false @GARAG1_22352
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_19', 5000, 1)

:GARAG1_22352
goto @GARAG1_22384

:GARAG1_22359
if 
  115@ == 1
goto_if_false @GARAG1_22384
115@ = 0

:GARAG1_22384
if 
  101@ <> 1
goto_if_false @GARAG1_22625
if 
  not Char.IsDead(94@)
goto_if_false @GARAG1_22625
if 
  not Char.IsInCar(94@, 34@)
goto_if_false @GARAG1_22600
if 
  117@ == 0
goto_if_false @GARAG1_22474
Task.EnterCarAsPassenger(94@, 34@, -1, 2)
117@ = 1

:GARAG1_22474
if 
  117@ == 1
goto_if_false @GARAG1_22593
if 
  not Char.LocateOnFootChar3D(94@, $stattreadstamina_ctr, 300.0, 300.0, 300.0, False)
goto_if_false @GARAG1_22593
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_20', 5000, 1)

:GARAG1_22593
goto @GARAG1_22625

:GARAG1_22600
if 
  117@ == 1
goto_if_false @GARAG1_22625
117@ = 0

:GARAG1_22625
if 
  102@ <> 1
goto_if_false @GARAG1_22866
if 
  not Char.IsDead(95@)
goto_if_false @GARAG1_22866
if 
  not Char.IsInCar(95@, 34@)
goto_if_false @GARAG1_22841
if 
  116@ == 0
goto_if_false @GARAG1_22715
Task.EnterCarAsPassenger(95@, 34@, -1, 0)
116@ = 1

:GARAG1_22715
if 
  116@ <> 1
goto_if_false @GARAG1_22834
if 
  not Char.LocateOnFootChar3D(95@, $stattreadstamina_ctr, 300.0, 300.0, 300.0, False)
goto_if_false @GARAG1_22834
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_21', 5000, 1)

:GARAG1_22834
goto @GARAG1_22866

:GARAG1_22841
if 
  116@ == 1
goto_if_false @GARAG1_22866
116@ = 0

:GARAG1_22866
if 
  Char.IsDead(93@)
goto_if_false @GARAG1_22949
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_17', 5000, 1)
return 

:GARAG1_22949
if 
  101@ == 1
goto_if_false @GARAG1_23151
if 
  120@ == 1
goto_if_false @GARAG1_23151
if 
  Car.IsDead(36@)
goto_if_false @GARAG1_23068
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_14', 5000, 1)
return 

:GARAG1_23068
if 
  Char.IsDead(94@)
goto_if_false @GARAG1_23151
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_14', 5000, 1)
return 

:GARAG1_23151
if 
  102@ == 1
goto_if_false @GARAG1_23436
if 
  Char.IsDead(94@)
goto_if_false @GARAG1_23252
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_14', 5000, 1)
return 

:GARAG1_23252
if 
  120@ == 1
goto_if_false @GARAG1_23436
if 
  Char.IsDead(95@)
goto_if_false @GARAG1_23353
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_15', 5000, 1)
return 

:GARAG1_23353
if 
  Car.IsDead(35@)
goto_if_false @GARAG1_23436
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_15', 5000, 1)
return 

:GARAG1_23436
if 
  103@ == 1
goto_if_false @GARAG1_23815
if 
  Char.IsDead(94@)
goto_if_false @GARAG1_23537
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_14', 5000, 1)
return 

:GARAG1_23537
if 
  120@ == 1
goto_if_false @GARAG1_23815
if 
  Char.IsDead(96@)
goto_if_false @GARAG1_23638
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_16', 5000, 1)
return 

:GARAG1_23638
if 
  not Char.IsDead(96@)
goto_if_false @GARAG1_23815
if 
  Char.HasBeenDamagedByChar(96@, $stattreadstamina_ctr)
goto_if_false @GARAG1_23728
if 
  not Char.IsInAnyCar(96@)
goto_if_false @GARAG1_23696
Char.SetCollision(96@, True)

:GARAG1_23696
Char.SetHealth(96@, 0)
110@ = 1
Text.PrintNow('GAR1_16', 5000, 1)
return 

:GARAG1_23728
if 
  Object.DoesExist(41@)
goto_if_false @GARAG1_23815
if 
  Object.HasBeenDamaged(41@)
goto_if_false @GARAG1_23815
if 
  not Char.IsInAnyCar(96@)
goto_if_false @GARAG1_23783
Char.SetCollision(96@, True)

:GARAG1_23783
Char.SetHealth(96@, 0)
110@ = 1
Text.PrintNow('GAR1_16', 5000, 1)
return 

:GARAG1_23815
if 
  107@ == 1
goto_if_false @GARAG1_23999
if 
  Char.IsDead(94@)
goto_if_false @GARAG1_23916
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_14', 5000, 1)
return 

:GARAG1_23916
if 
  Char.IsDead(96@)
goto_if_false @GARAG1_23999
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_16', 5000, 1)
return 

:GARAG1_23999
if or
  105@ == 1
  106@ == 1
goto_if_false @GARAG1_24107
if 
  Char.IsDead(94@)
goto_if_false @GARAG1_24107
107@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
110@ = 1
Text.PrintNow('GAR1_14', 5000, 1)
return 

:GARAG1_24107
return 

:GARAG1_24109
if 
  349@ == 0
goto_if_false @GARAG1_24149
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 136@(348@,106i))
349@ = 1

:GARAG1_24149
if 
  349@ == 1
goto_if_false @GARAG1_24239
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GARAG1_24239
if 
  not Char.IsDead(242@(348@,106i))
goto_if_false @GARAG1_24214
Char.StartFacialTalk(242@(348@,106i), 10000)

:GARAG1_24214
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow($7018(348@,106s), 10000, 1)
349@ = 2

:GARAG1_24239
if 
  349@ == 2
goto_if_false @GARAG1_24338
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GARAG1_24338
if 
  not Char.IsDead(242@(348@,106i))
goto_if_false @GARAG1_24301
Char.StopFacialTalk(242@(348@,106i))

:GARAG1_24301
TIMERA = 0
349@ = 0
Text.ClearThisPrint($7018(348@,106s))
348@ += 1
114@ += 1

:GARAG1_24338
return 

:GARAG1_24340
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 136@(348@,106i))

:GARAG1_24351
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GARAG1_24377
wait 0
goto @GARAG1_24351

:GARAG1_24377
Text.PrintNow($7018(348@,106s), 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:GARAG1_24395
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GARAG1_24421
wait 0
goto @GARAG1_24395

:GARAG1_24421
Text.ClearThisPrint($7018(348@,106s))
348@ += 1
114@ += 1
return 

:GARAG1_24446
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('GAR_1')
Stat.PlayerMadeProgress(1)
Stat.SetInt(StatId.PassedGarage1, 1)
start_new_script @SCRASH 
$flag_synd_mission_counter += 1
return 

:GARAG1_24512
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:GARAG1_24530
Camera.ResetNewScriptables
World.DisableAllEntryExits(False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GARAG1_24559
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:GARAG1_24559
Game.SwitchRandomTrains(True)
Text.ClearHelp
134@ = 0

:GARAG1_24572
if 
  5 > 134@
goto_if_false @GARAG1_24613
Blip.Remove(122@(134@,5i))
134@ += 1
goto @GARAG1_24572

:GARAG1_24613
Streaming.RemoveAnimation("PARK")
Streaming.RemoveAnimation("CAR")
Streaming.RemoveAnimation("CRIB")
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("CAR_CHAT")
Streaming.RemoveAnimation("SMOKING")
Blip.Remove(127@)
Blip.Remove(128@)
Blip.Remove(129@)
if 
  not Car.IsDead(34@)
goto_if_false @GARAG1_24707
Car.SetHealth(34@, 600)

:GARAG1_24707
Car.MarkAsNoLongerNeeded(34@)
Car.MarkAsNoLongerNeeded(35@)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(35@)
Car.Delete(37@)
Char.RemoveElegantly(93@)
Char.RemoveElegantly(94@)
Char.RemoveElegantly(95@)
Char.RemoveElegantly(96@)
Char.RemoveElegantly(97@)
Char.RemoveElegantly(99@)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Object.Delete(41@)
Streaming.MarkModelAsNoLongerNeeded(364)
Streaming.MarkModelAsNoLongerNeeded(363)
Streaming.MarkModelAsNoLongerNeeded(585)
Streaming.MarkModelAsNoLongerNeeded(588)
Streaming.MarkModelAsNoLongerNeeded(413)
Streaming.MarkModelAsNoLongerNeeded(465)
Streaming.MarkModelAsNoLongerNeeded(525)
Streaming.MarkModelAsNoLongerNeeded(588)
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Object.Delete(42@)
Game.SetScriptLimitToGangSize(99)
Weather.Release
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Streaming.UnloadSpecialCharacter(4)
$flag_courier_mission_passed = Clock.GetGameTimer()
if 
  Garage.IsOpen('HBGDSFS')
goto_if_false @GARAG1_24890
Garage.Close('HBGDSFS')

:GARAG1_24890
101@ = 0
102@ = 0
103@ = 0
104@ = 0
107@ = 0
105@ = 0
106@ = 0
114@ = 0
120@ = 0
121@ = 0
113@ = 0
109@ = 0
110@ = 0
112@ = 0
108@ = 0
111@ = 0
$7017 = 0
115@ = 0
116@ = 0
117@ = 0
118@ = 0
Particle.Stop(350@)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 50---------------
// Originally: Deconstruction

:DECON
script_name 'DECON'
gosub @DECON_47
if 
  has_deatharrest_been_executed 
goto_if_false @DECON_38
gosub @DECON_20868

:DECON_38
gosub @DECON_21143
terminate_this_script 

:DECON_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
63@ = 0
64@ = 0
65@ = 0
66@ = 0
TIMERA = 0
TIMERB = 0

:DECON_133
wait 0
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @DECON_159
36@ = 1

:DECON_159
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @DECON_181
37@ = 1

:DECON_181
39@ += 1
if 
  39@ > 9
goto_if_false @DECON_213
39@ = 0

:DECON_213
40@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 40@
sub_int_lvar_from_int_lvar 42@ -= 41@
set_lvar_int_to_lvar_int 41@ = 40@
add_int_lvar_to_int_lvar 65@ += 42@
add_int_lvar_to_int_lvar 66@ += 42@
add_int_lvar_to_int_lvar 172@ += 42@
add_int_lvar_to_int_lvar 173@ += 42@
if 
  69@ == 1
goto_if_false @DECON_299
goto @DECON_460

:DECON_299
gosub @DECON_562
switch_start 34@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @DECON_453 {caseNum1} 0 {caseLabel1} @DECON_369 {caseNum2} 1 {caseLabel2} @DECON_383 {caseNum3} 2 {caseLabel3} @DECON_397 {caseNum4} 3 {caseLabel4} @DECON_411 {caseNum5} 4 {caseLabel5} @DECON_425 {caseNum6} 5 {caseLabel6} @DECON_439 {caseNum7} -1 {caseLabel7} @DECON_453

:DECON_369
gosub @DECON_1610
goto @DECON_453

:DECON_383
gosub @DECON_2071
goto @DECON_453

:DECON_397
gosub @DECON_5645
goto @DECON_453

:DECON_411
gosub @DECON_6771
goto @DECON_453

:DECON_425
gosub @DECON_9690
goto @DECON_453

:DECON_439
gosub @DECON_12345
goto @DECON_453

:DECON_453
gosub @DECON_13612

:DECON_460
if 
  38@ == 0
goto_if_false @DECON_560
if 
  37@ == 0
goto_if_false @DECON_544
if 
  36@ == 0
goto_if_false @DECON_528
goto @DECON_133
goto @DECON_537

:DECON_528
gosub @DECON_21008
return 

:DECON_537
goto @DECON_553

:DECON_544
gosub @DECON_20868
return 

:DECON_553
goto @DECON_562

:DECON_560
return 

:DECON_562
if 
is_ps2_keyboard_key_just_pressed 88
goto_if_false @DECON_653
if 
  67@ == 0
goto_if_false @DECON_627
67@ = 1
write_debug "LEVEL_DEBUG_ON"
goto @DECON_653

:DECON_627
67@ = 0
write_debug "LEVEL_DEBUG_OFF"

:DECON_653
if 
  67@ == 1
goto_if_false @DECON_1608
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @DECON_720
68@ += 1
if 
  68@ > 4
goto_if_false @DECON_718
68@ = 0

:DECON_718
clear_all_view_variables 

:DECON_720
if 
  68@ == 1
goto_if_false @DECON_939
43@ = 0

:DECON_745
if 
  6 > 43@
goto_if_false @DECON_813
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_799
$7230(43@,8i) = Object.GetHealth($2675(43@,6i))

:DECON_799
43@ += 1
goto @DECON_745

:DECON_813
view_integer_variable $7230[0] {_p2} "CABIN_0_HEALTH"
view_integer_variable $7230[1] {_p2} "CABIN_1_HEALTH"
view_integer_variable $7230[2] {_p2} "CABIN_2_HEALTH"
view_integer_variable $7230[3] {_p2} "CABIN_3_HEALTH"
view_integer_variable $7230[4] {_p2} "CABIN_4_HEALTH"
view_integer_variable $7230[5] {_p2} "CABIN_5_HEALTH"

:DECON_939
if 
  68@ == 2
goto_if_false @DECON_1149
set_var_int_to_lvar_int $7230[0] = 34@
set_var_int_to_lvar_int $7230[1] = 35@
set_var_int_to_lvar_int $7230[2] = 63@
set_var_int_to_lvar_int $7230[3] = 65@
set_var_int_to_lvar_int $7230[4] = 64@
set_var_int_to_lvar_int $7230[5] = 66@
set_var_int_to_lvar_int $7230[6] = TIMERA
set_var_int_to_lvar_int $7230[7] = TIMERB
view_integer_variable $7230[0] {_p2} "M_STAGE"
view_integer_variable $7230[1] {_p2} "M_GOALS"
view_integer_variable $7230[2] {_p2} "DIALOGUE_FLAG"
view_integer_variable $7230[3] {_p2} "DIALOGUE_TIMER"
view_integer_variable $7230[4] {_p2} "HELP_FLAG"
view_integer_variable $7230[5] {_p2} "HELP_TIMER"
view_integer_variable $7230[6] {_p2} "TIMERA"
view_integer_variable $7230[7] {_p2} "TIMERB"

:DECON_1149
if 
  68@ == 3
goto_if_false @DECON_1447
set_var_int_to_lvar_int $7230[0] = 159@
set_var_int_to_lvar_int $7230[1] = 153@
set_var_int_to_lvar_int $7230[2] = 160@
set_var_int_to_lvar_int $7230[3] = 154@
set_var_int_to_lvar_int $7230[4] = 161@
set_var_int_to_lvar_int $7230[5] = 155@
set_var_int_to_lvar_int $7230[6] = 162@
set_var_int_to_lvar_int $7230[7] = 156@
view_integer_variable $7230[0] {_p2} "CABIN_THIS_HEALTH[0]"
view_integer_variable $7230[1] {_p2} "CABIN_LAST_HEALTH[0]"
view_integer_variable $7230[2] {_p2} "CABIN_THIS_HEALTH[1]"
view_integer_variable $7230[3] {_p2} "CABIN_LAST_HEALTH[1]"
view_integer_variable $7230[4] {_p2} "CABIN_THIS_HEALTH[2]"
view_integer_variable $7230[5] {_p2} "CABIN_LAST_HEALTH[2]"
view_integer_variable $7230[6] {_p2} "CABIN_THIS_HEALTH[3]"
view_integer_variable $7230[7] {_p2} "CABIN_LAST_HEALTH[3]"

:DECON_1447
if 
  68@ == 4
goto_if_false @DECON_1498
set_var_int_to_var_int $7230[0] = $finish_crane_loading_script
view_integer_variable $7230[0] {_p2} "PLAYER_IS_IN_CRANE"

:DECON_1498
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @DECON_1520
38@ = 1

:DECON_1520
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @DECON_1608
if 
  69@ == 0
goto_if_false @DECON_1583
69@ = 1
write_debug "LEVEL_PAUSED"
goto @DECON_1608

:DECON_1583
69@ = 0
write_debug "LEVEL_UNPAUSED"

:DECON_1608
return 

:DECON_1610
if 
  35@ == -1
goto_if_false @DECON_1806
91@ = Car.Create(413, 0.0, 0.0, 0.0)
90@ = Car.Create(413, 0.0, 0.0, 0.0)
104@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
185@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
116@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
126@ = Blip.AddForCoord(0.0, 0.0, 0.0)
127@ = Blip.AddForCoord(0.0, 0.0, 0.0)
124@ = Blip.AddForCoord(0.0, 0.0, 0.0)

:DECON_1806
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:DECON_1828
if 
  Camera.GetFadingStatus
goto_if_false @DECON_1852
wait 0
goto @DECON_1828

:DECON_1852
128@ = 0
129@ = 0
130@ = 0
131@ = 0
132@ = 0
133@ = 0
140@ = 0
141@ = 0
142@ = 0
143@ = 0
144@ = 0
145@ = 0
146@ = 0
147@ = 0
148@ = 0
149@ = 0
150@ = 0
151@ = 0
152@ = 0
134@ = 0
135@ = 0
136@ = 0
137@ = 0
138@ = 0
139@ = 0
165@ = 0
166@ = 0
167@ = 0
168@ = 0
169@ = 0
gosub @DECON_20810
return 

:DECON_2071
Text.ClearHelp
if 
  35@ == 0
goto_if_false @DECON_2255
Text.LoadMissionText('GARAGE2')
Cutscene.Load('GARAG3A')

:DECON_2113
if 
  not Cutscene.HasLoaded
goto_if_false @DECON_2137
wait 0
goto @DECON_2113

:DECON_2137
Streaming.SetAreaVisible(1)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
Streaming.LoadScene(-2031.0, 149.0, 29.0)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DECON_2174
if 
  not Cutscene.HasFinished
goto_if_false @DECON_2198
wait 0
goto @DECON_2174

:DECON_2198
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:DECON_2213
if 
  Camera.GetFadingStatus
goto_if_false @DECON_2237
wait 0
goto @DECON_2213

:DECON_2237
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.SetAreaVisible(0)
35@ += 1

:DECON_2255
if 
  35@ == 1
goto_if_false @DECON_4356
Streaming.RequestModel(#PORTALOO)
Streaming.RequestModel(#PORTAKABIN)
Streaming.RequestModel(#BARREL4)
Streaming.RequestModel(486)
Streaming.RequestModel(524)
Streaming.RequestModel(406)
Streaming.RequestModel(422)
Streaming.RequestModel(27)
Streaming.RequestModel(337)
Streaming.RequestModel(346)
Streaming.RequestModel(16)
Streaming.LoadAllModelsNow

:DECON_2327
if or
  not Streaming.HasModelLoaded(#PORTALOO)
  not Streaming.HasModelLoaded(#PORTAKABIN)
  not Streaming.HasModelLoaded(#BARREL4)
  not Streaming.HasModelLoaded(486)
  not Streaming.HasModelLoaded(524)
  not Streaming.HasModelLoaded(16)
goto_if_false @DECON_2377
wait 0
goto @DECON_2327

:DECON_2377
if or
  not Streaming.HasModelLoaded(406)
  not Streaming.HasModelLoaded(422)
  not Streaming.HasModelLoaded(27)
  not Streaming.HasModelLoaded(337)
  not Streaming.HasModelLoaded(346)
goto_if_false @DECON_2423
wait 0
goto @DECON_2377

:DECON_2423
World.SwapNearestBuildingModel(-2049.171, 250.3193, 34.477, 20.0, #HUBHOLE1_SFSE, #HUBHOLE2_SFSE)
43@ = 0

:DECON_2458
if 
  6 > 43@
goto_if_false @DECON_2603
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_2505
Object.Delete($2675(43@,6i))

:DECON_2505
$2675(43@,6i) = Object.Create(#PORTAKABIN, $2681(43@,6f), $2687(43@,6f), $2693(43@,6f))
Object.SetHeading($2675(43@,6i), $2699(43@,6f))
Object.SetDynamic($2675(43@,6i), False)
Object.DontRemove($2675(43@,6i))
118@(43@,6i) = Blip.AddForObject($2675(43@,6i))
43@ += 1
goto @DECON_2458

:DECON_2603
70@ = Object.CreateNoOffset(#PORTALOO, -2087.861, 178.2922, 35.3947)
Object.SetHeading(70@, 3.3302)
71@ = Object.CreateNoOffset(#PORTALOO, -2114.903, 156.9329, 35.4667)
Object.SetHeading(71@, 271.6719)
72@ = Object.CreateNoOffset(#PORTALOO, -2116.425, 157.4618, 35.7225)
Object.SetHeading(72@, 269.1095)
73@ = Object.CreateNoOffset(#PORTALOO, -2054.474, 222.6438, 35.8767)
Object.SetHeading(73@, 0.0)
Object.FreezePosition(73@, True)
74@ = Object.CreateNoOffset(#PORTALOO, -2069.262, 285.8519, 35.8543)
Object.SetHeading(74@, 51.0305)
75@ = Object.CreateNoOffset(#PORTALOO, -2134.873, 293.1065, 35.4117)
Object.SetHeading(75@, 175.9489)
76@ = Object.CreateNoOffset(#BARREL4, -2109.397, 157.8976, 34.4311)
77@ = Object.CreateNoOffset(#BARREL4, -2108.493, 157.8779, 34.4523)
78@ = Object.CreateNoOffset(#BARREL4, -2091.683, 172.1051, 34.443)
79@ = Object.CreateNoOffset(#BARREL4, -2128.95, 303.401, 33.888)
80@ = Object.CreateNoOffset(#BARREL4, -2129.923, 303.447, 33.8842)
43@ = 0

:DECON_2930
if 
  5 > 43@
goto_if_false @DECON_2973
Object.MakeTargetable(76@(43@,5i), True)
43@ += 1
goto @DECON_2930

:DECON_2973
if 
  Object.DoesExist($magno_cabin)
goto_if_false @DECON_2999
Object.SetRopeHeight($magno_cabin, 0.3)

:DECON_2999
if 
  Object.DoesExist($magno_base)
goto_if_false @DECON_3120
Object.SetHeading($magno_base, 78.0)
if 
  Object.DoesExist($magno_base_LOD)
goto_if_false @DECON_3051
Object.SetHeading($magno_base_LOD, 78.0)

:DECON_3051
if 
  Object.DoesExist($magno_cabin)
goto_if_false @DECON_3120
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($magno_base, 0.0, 15.0, 3.453)
Object.SetCoordinatesAndVelocity($magno_cabin, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($magno_cabin, 78.0)

:DECON_3120
83@ = Car.Create(486, -2098.726, 278.5271, 34.8743)
Car.SetHeading(83@, 15.4537)
Car.SetHealth(83@, 5000)
Car.SetCanBurstTires(83@, False)
84@ = Car.Create(486, -2088.802, 188.5362, 34.0469)
Car.SetHeading(84@, 182.8425)
Car.SetHealth(84@, 5000)
Car.SetCanBurstTires(84@, False)
Streaming.RequestCarRecording(551)

:DECON_3221
if 
  not Streaming.HasCarRecordingBeenLoaded(551)
goto_if_false @DECON_3248
wait 0
goto @DECON_3221

:DECON_3248
if 
  not Car.IsDead(83@)
goto_if_false @DECON_3272
Car.StartPlaybackLooped(83@, 551)

:DECON_3272
85@ = Car.Create(524, -2112.603, 193.7894, 33.6684)
Car.SetHeading(85@, 276.2221)
86@ = Car.Create(422, -2102.461, 160.2542, 34.8444)
Car.SetHeading(86@, 66.4396)
87@ = Car.Create(422, -2121.669, 302.741, 34.459)
Car.SetHeading(87@, 160.6221)
set_lvar_int_to_lvar_int 91@ = 83@
set_lvar_int_to_lvar_int 92@ = 84@
set_lvar_int_to_lvar_int 93@ = 85@
set_lvar_int_to_lvar_int 95@ = 86@
set_lvar_int_to_lvar_int 96@ = 87@
43@ = 0

:DECON_3418
if 
  6 > 43@
goto_if_false @DECON_3481
if 
  not Car.IsDead(91@(43@,7i))
goto_if_false @DECON_3467
Car.SetStraightLineDistance(91@(43@,7i), 50)

:DECON_3467
43@ += 1
goto @DECON_3418

:DECON_3481
174@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
98@ = Char.Create(PedType.Mission1, 27, -2098.758, 168.5889, 34.0869)
99@ = Char.Create(PedType.Mission1, 27, -2099.974, 169.3999, 34.0947)
100@ = Char.Create(PedType.Mission1, 27, -2090.955, 265.4674, 34.6686)
101@ = Char.Create(PedType.Mission1, 27, -2089.761, 264.5739, 34.6557)
102@ = Char.Create(PedType.Mission1, 27, -2085.753, 269.4974, 34.5456)
103@ = Char.Create(PedType.Mission1, 27, -2125.748, 303.8916, 33.5532)
Char.SetHeading(98@, 47.9799)
Char.SetHeading(99@, 229.2811)
Char.SetHeading(100@, 229.2811)
Char.SetHeading(101@, 51.1609)
Char.SetHeading(102@, 177.1601)
Char.SetHeading(103@, 177.1601)
Char.GiveWeapon(102@, WeaponType.Shovel, 9999)
Char.GiveWeapon(103@, WeaponType.Shovel, 9999)
43@ = 0

:DECON_3719
if 
  6 > 43@
goto_if_false @DECON_3801
Char.SetDecisionMaker(98@(43@,6i), 174@)
Char.SetOnlyDamagedByPlayer(98@(43@,6i), True)
Char.SetHealth(98@(43@,6i), 50)
set_lvar_int_to_lvar_int 104@(43@,10i) = 98@(43@,6i)
43@ += 1
goto @DECON_3719

:DECON_3801
Task.ChatWithChar(98@, 99@, True, 1)
Task.ChatWithChar(99@, 98@, False, 1)
Task.ChatWithChar(100@, 101@, True, 1)
Task.ChatWithChar(101@, 100@, False, 1)
if 
  not Car.IsDead(83@)
goto_if_false @DECON_3907
115@ = Char.CreateInsideCar(83@, PedType.Mission1, 27)
Char.SetDecisionMaker(115@, 174@)
Char.SetOnlyDamagedByPlayer(115@, True)
Char.SetHealth(115@, 50)
set_lvar_int_to_lvar_int 110@ = 115@

:DECON_3907
117@ = Char.Create(PedType.Mission1, 16, -2089.709, 266.1128, 34.6455)
Char.SetHeading(117@, 170.2217)
Char.SetHealth(117@, 40)
175@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetDecisionMaker(117@, 175@)
set_lvar_int_to_lvar_int 111@ = 117@
World.ClearArea(-2036.18, 179.2597, 27.8359, 5.0, True)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Player.ClearWantedLevel($statbike_temp)
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(-2010.461, 171.3564, 41.8495, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2011.302, 171.8702, 41.6786, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, -2030.987, 148.5787, 27.8359)
Char.SetHeading($stattreadstamina_ctr, 359.4339)
50@ = -2011.302
50@ += 2010.461
51@ = 171.8702
51@ -= 171.3564
52@ = 41.6786
52@ -= 41.8495
50@ *= 10.0
51@ *= 10.0
52@ *= 10.0
$on_footY = -2010.461
add_float_lvar_to_float_var $on_footY += 50@
$on_footZ = 171.3564
add_float_lvar_to_float_var $on_footZ += 51@
$in_carX = 41.8495
add_float_lvar_to_float_var $in_carX += 52@
$on_footX = Math.GetHeadingFromVector2D(50@, 51@)
Streaming.LoadSceneInDirection($on_footY, $on_footZ, $in_carX, $on_footX)
Streaming.LoadAllModelsNow
Camera.DoFade(1000, Fade.In)

:DECON_4302
if 
  Camera.GetFadingStatus
goto_if_false @DECON_4326
wait 0
goto @DECON_4302

:DECON_4326
Text.PrintNow('GAR2_01', 5000, 1)
TIMERA = 0
35@ += 1

:DECON_4356
if 
  35@ == 2
goto_if_false @DECON_4843
if 
  TIMERA > 5000
goto_if_false @DECON_4843
Camera.SetFixedPosition(-2076.394, 263.7876, 35.7185, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2077.287, 264.2365, 35.6941, SwitchType.JumpCut)
50@ = -2077.287
50@ += 2076.394
51@ = 264.2365
51@ -= 263.7876
52@ = 35.6941
52@ -= 35.7185
50@ *= 10.0
51@ *= 10.0
52@ *= 10.0
$on_footY = -2076.394
add_float_lvar_to_float_var $on_footY += 50@
$on_footZ = 263.7876
add_float_lvar_to_float_var $on_footZ += 51@
$in_carX = 35.7185
add_float_lvar_to_float_var $in_carX += 52@
$on_footX = Math.GetHeadingFromVector2D(50@, 51@)
Streaming.LoadSceneInDirection($on_footY, $on_footZ, $in_carX, $on_footX)
Streaming.LoadAllModelsNow
if 
  not Char.IsDead(102@)
goto_if_false @DECON_4721
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2099.162, 171.1465, 34.0869, MoveState.Walk, 60000)
Task.ScratchHead(-1)
Task.GoStraightToCoord(-1, -2090.801, 263.5923, 34.7131, MoveState.Walk, 60000)
Task.ScratchHead(-1)
Sequence.SetToRepeat(49@, True)
Sequence.Close(49@)
Char.PerformSequence(102@, 49@)
Sequence.Clear(49@)

:DECON_4721
if 
  not Char.IsDead(117@)
goto_if_false @DECON_4813
49@ = Sequence.Open()
Task.ScratchHead(-1)
Task.LookAbout(-1, 5000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Sequence.SetToRepeat(49@, True)
Sequence.Close(49@)
Char.PerformSequence(117@, 49@)
Sequence.Clear(49@)

:DECON_4813
Text.PrintNow('GAR2_02', 5000, 1)
TIMERA = 0
35@ += 1

:DECON_4843
if 
  35@ == 3
goto_if_false @DECON_5240
if 
  TIMERA > 5500
goto_if_false @DECON_5240
Camera.DoFade(150, Fade.Out)

:DECON_4887
if 
  Camera.GetFadingStatus
goto_if_false @DECON_4911
wait 0
goto @DECON_4887

:DECON_4911
if 
  not Char.IsDead(102@)
goto_if_false @DECON_4957
Char.SetCoordinates(102@, -2098.833, 191.043, 34.2113)
Char.SetHeading(102@, 150.0)

:DECON_4957
Camera.SetFixedPosition(-2084.993, 195.2235, 39.2186, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2085.466, 194.3752, 38.9801, SwitchType.JumpCut)
50@ = -2085.466
50@ += 2084.993
51@ = 194.3752
51@ -= 195.2235
52@ = 38.9801
52@ -= 39.2186
50@ *= 10.0
51@ *= 10.0
52@ *= 10.0
$on_footY = -2084.993
add_float_lvar_to_float_var $on_footY += 50@
$on_footZ = 195.2235
add_float_lvar_to_float_var $on_footZ += 51@
$in_carX = 39.2186
add_float_lvar_to_float_var $in_carX += 52@
$on_footX = Math.GetHeadingFromVector2D(50@, 51@)
Streaming.LoadSceneInDirection($on_footY, $on_footZ, $in_carX, $on_footX)
Streaming.LoadAllModelsNow
Camera.DoFade(150, Fade.In)

:DECON_5186
if 
  Camera.GetFadingStatus
goto_if_false @DECON_5210
wait 0
goto @DECON_5186

:DECON_5210
Text.Print('GAR2_05', 5000, 1)
35@ += 1
TIMERA = 0

:DECON_5240
if 
  35@ == 4
goto_if_false @DECON_5284
if 
  TIMERA > 5000
goto_if_false @DECON_5284
35@ = 99

:DECON_5284
if 
  35@ > 0
goto_if_false @DECON_5326
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DECON_5326
35@ = 99

:DECON_5326
if 
  35@ == 99
goto_if_false @DECON_5643
if 
  not Char.IsDead(102@)
goto_if_false @DECON_5475
Char.SetCoordinates(102@, -2092.252, 252.5526, 34.4575)
Char.ClearTasks(102@)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2099.162, 171.1465, 34.0869, MoveState.Walk, 60000)
Task.ScratchHead(-1)
Task.GoStraightToCoord(-1, -2090.801, 263.5923, 34.7131, MoveState.Walk, 60000)
Task.ScratchHead(-1)
Sequence.SetToRepeat(49@, True)
Sequence.Close(49@)
Char.PerformSequence(102@, 49@)
Sequence.Clear(49@)

:DECON_5475
if 
  not Char.IsDead(117@)
goto_if_false @DECON_5567
49@ = Sequence.Open()
Task.ScratchHead(-1)
Task.LookAbout(-1, 5000)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Sequence.SetToRepeat(49@, True)
Sequence.Close(49@)
Char.PerformSequence(117@, 49@)
Sequence.Clear(49@)

:DECON_5567
if 
  Object.DoesExist($2675[3])
goto_if_false @DECON_5613
Object.SetCoordinates($2675[3], -2077.04, 280.395, 35.817)
Object.SetHeading($2675[3], 0.0)

:DECON_5613
Text.ClearPrints
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(0, Fade.In)
gosub @DECON_20810

:DECON_5643
return 

:DECON_5645
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DECON_5720
if 
  Char.IsInArea2D($stattreadstamina_ctr, -2053.226, 139.1389, -2135.449, 309.5472, False)
goto_if_false @DECON_5713
Game.SetWantedMultiplier(0.0)
goto @DECON_5720

:DECON_5713
Game.SetWantedMultiplier(1.0)

:DECON_5720
if 
  35@ == 0
goto_if_false @DECON_5843
if 
  TIMERA > 0
goto_if_false @DECON_5843
Text.PrintNow('GAR2_19', 10000, 1)
35@ += 1
TIMERB = 30000
63@ = 0
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 12601)

:DECON_5817
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DECON_5843
wait 0
goto @DECON_5817

:DECON_5843
if 
  35@ == 1
goto_if_false @DECON_6161
if 
  TIMERB > 30000
goto_if_false @DECON_6129
if 
  Object.DoesExist(73@)
goto_if_false @DECON_6129
if 
  Char.IsTouchingObject($stattreadstamina_ctr, 73@)
goto_if_false @DECON_6129
if 
  $audio_line_terminate_all == 0
goto_if_false @DECON_6129
switch_start 63@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @DECON_6090 {caseNum1} 0 {caseLabel1} @DECON_5996 {caseNum2} 1 {caseLabel2} @DECON_6043 {caseNum3} -1 {caseLabel3} @DECON_6090 {caseNum4} -1 {caseLabel4} @DECON_6090 {caseNum5} -1 {caseLabel5} @DECON_6090 {caseNum6} -1 {caseLabel6} @DECON_6090 {caseNum7} -1 {caseLabel7} @DECON_6090

:DECON_5996
set_var_text_label s$bd_future_time_shown = 'GAR2_AK'
set_var_int_to_constant $bd_x = 16609
start_new_script @AUDIOL -1 0 0 1 0 
goto @DECON_6090

:DECON_6043
set_var_text_label s$bd_future_time_shown = 'GAR2_AF'
set_var_int_to_constant $bd_x = 16605
start_new_script @AUDIOL -1 0 0 1 0 
goto @DECON_6090

:DECON_6090
63@ += 1
if 
  63@ > 1
goto_if_false @DECON_6122
63@ = 0

:DECON_6122
TIMERB = 0

:DECON_6129
if 
  140@ == 6
goto_if_false @DECON_6161
TIMERA = 0
35@ += 1

:DECON_6161
if 
  35@ == 2
goto_if_false @DECON_6205
if 
  TIMERA > 1000
goto_if_false @DECON_6205
35@ = 99

:DECON_6205
if and
  141@ == 1
  0 >= $g_SCrash2_spookKM
  6 > 140@
goto_if_false @DECON_6325
if 
  not Player.IsWantedLevelGreater($statbike_temp, 1)
goto_if_false @DECON_6262
Player.AlterWantedLevel($statbike_temp, 2)

:DECON_6262
World.CreateEmergencyServicesCar(597, -2039.255, 232.481, 33.9528)
World.CreateEmergencyServicesCar(597, -2038.185, 254.2709, 34.0893)
37@ = 1
Text.PrintNow('GAR2_40', 5000, 1)

:DECON_6325
if 
  35@ == 99
goto_if_false @DECON_6359
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Hud.ClearTimer($g_SCrash2_spookKM)
gosub @DECON_20810

:DECON_6359
43@ = 0

:DECON_6366
if 
  6 > 43@
goto_if_false @DECON_6664
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_6650
if 
  Object.HasBeenDamaged($2675(43@,6i))
goto_if_false @DECON_6650
if 
  128@(43@,6i) == 0
goto_if_false @DECON_6650
Blip.Remove(118@(43@,6i))
140@ += 1
128@(43@,6i) = 1
if 
  140@ == 1
goto_if_false @DECON_6507
Text.PrintNow('GAR2_29', 7000, 1)

:DECON_6507
if 
  140@ == 2
goto_if_false @DECON_6541
Text.PrintNow('GAR2_30', 7000, 1)

:DECON_6541
if 
  140@ == 3
goto_if_false @DECON_6575
Text.PrintNow('GAR2_31', 7000, 1)

:DECON_6575
if 
  140@ == 4
goto_if_false @DECON_6609
Text.PrintNow('GAR2_32', 7000, 1)

:DECON_6609
if 
  140@ == 5
goto_if_false @DECON_6643
Text.PrintNow('GAR2_33', 7000, 1)

:DECON_6643
TIMERA = 0

:DECON_6650
43@ += 1
goto @DECON_6366

:DECON_6664
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @DECON_6769
43@ = 0

:DECON_6686
if 
  6 > 43@
goto_if_false @DECON_6769
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_6755
if 
  not Object.HasBeenDamaged($2675(43@,6i))
goto_if_false @DECON_6755
Object.Break($2675(43@,6i), 0)

:DECON_6755
43@ += 1
goto @DECON_6686

:DECON_6769
return 

:DECON_6771
Text.ClearHelp
if 
  35@ == 0
goto_if_false @DECON_8059
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.Out)

:DECON_6815
if 
  Camera.GetFadingStatus
goto_if_false @DECON_6839
wait 0
goto @DECON_6815

:DECON_6839
Hud.SwitchWidescreen(True)
62@ = Streaming.GetAreaVisible()
Streaming.SetAreaVisible(0)
if 
  $finish_crane_loading_script <> 1
goto_if_false @DECON_6955
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2066.839, 209.6444, 28.403, -2040.101, 262.7024, 34.9146, False)
goto_if_false @DECON_6948
Char.SetCoordinates($stattreadstamina_ctr, -2090.044, 209.4996, 33.9509)
Char.SetHeading($stattreadstamina_ctr, 250.813)

:DECON_6948
goto @DECON_6962

:DECON_6955
$crane_help1 = 1

:DECON_6962
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 12605)

:DECON_6969
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DECON_6995
wait 0
goto @DECON_6969

:DECON_6995
World.ClearArea(-2054.474, 222.6438, 35.8767, 3.0, True)
43@ = 0

:DECON_7026
if 
  10 > 43@
goto_if_false @DECON_7175
if 
  Char.DoesExist(104@(43@,10i))
goto_if_false @DECON_7161
if 
  not Char.IsDead(104@(43@,10i))
goto_if_false @DECON_7152
if 
  Char.LocateAnyMeans3D(104@(43@,10i), -2054.474, 222.6438, 35.8767, 5.0, 5.0, 3.0, False)
goto_if_false @DECON_7145
Char.Delete(104@(43@,10i))

:DECON_7145
goto @DECON_7161

:DECON_7152
Char.Delete(104@(43@,10i))

:DECON_7161
43@ += 1
goto @DECON_7026

:DECON_7175
43@ = 0

:DECON_7182
if 
  7 > 43@
goto_if_false @DECON_7336
if 
  Car.DoesExist(91@(43@,7i))
goto_if_false @DECON_7322
if 
  not Car.IsDead(91@(43@,7i))
goto_if_false @DECON_7313
if 
  Car.Locate3D(91@(43@,7i), -2054.474, 222.6438, 35.8767, 6.0, 6.0, 3.0, 91@(43@,7i))
goto_if_false @DECON_7306
Car.Delete(91@(43@,7i))

:DECON_7306
goto @DECON_7322

:DECON_7313
Car.Delete(91@(43@,7i))

:DECON_7322
43@ += 1
goto @DECON_7182

:DECON_7336
43@ = 0

:DECON_7343
if 
  6 > 43@
goto_if_false @DECON_7461
if 
  Object.DoesExist(70@(43@,6i))
goto_if_false @DECON_7447
if 
  Object.Locate3D(70@(43@,6i), -2054.474, 222.6438, 35.8767, 3.0, 3.0, 3.0, 70@(43@,6i))
goto_if_false @DECON_7447
Object.Delete(70@(43@,6i))

:DECON_7447
43@ += 1
goto @DECON_7343

:DECON_7461
43@ = 0

:DECON_7468
if 
  5 > 43@
goto_if_false @DECON_7586
if 
  Object.DoesExist(76@(43@,5i))
goto_if_false @DECON_7572
if 
  Object.Locate3D(76@(43@,5i), -2054.474, 222.6438, 35.8767, 3.0, 3.0, 3.0, 76@(43@,5i))
goto_if_false @DECON_7572
Object.Delete(76@(43@,5i))

:DECON_7572
43@ += 1
goto @DECON_7468

:DECON_7586
if 
  Object.DoesExist($magno_cabin)
goto_if_false @DECON_7612
Object.SetRopeHeight($magno_cabin, 0.5)

:DECON_7612
if 
  Object.DoesExist(73@)
goto_if_false @DECON_7633
Object.Delete(73@)

:DECON_7633
73@ = Object.CreateNoOffset(#PORTALOO, -2054.474, 222.6438, 35.8767)
Object.SetHeading(73@, 0.0)
Object.SetCollision(73@, False)
Camera.SetFixedPosition(-2058.05, 218.8743, 35.7489, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2057.423, 219.653, 35.7245, SwitchType.JumpCut)
if 
  Object.DoesExist($2675[2])
goto_if_false @DECON_7745
Object.Delete($2675[2])

:DECON_7745
$2675[2] = Object.Create(#PORTAKABIN, $2681[2], $2687[2], $2693[2])
Object.SetHeading($2675[2], $2699[2])
Object.SetDynamic($2675[2], False)
Object.DontRemove($2675[2])
114@ = Char.Create(PedType.CivMale, 16, -2054.474, 222.6438, 34.8767)
Char.SetHeading(114@, 90.0)
89@ = Car.Create(524, -2037.176, 269.7917, 34.9191)
Car.SetHeading(89@, 179.5245)
set_lvar_int_to_lvar_int 97@ = 89@
43@ = 0

:DECON_7863
if 
  10 > 43@
goto_if_false @DECON_8021
if 
  Char.DoesExist(104@(43@,10i))
goto_if_false @DECON_8007
if 
  not Char.IsDead(104@(43@,10i))
goto_if_false @DECON_8007
if 
  not Char.IsInAnyCar(104@(43@,10i))
goto_if_false @DECON_7981
Char.FreezePosition(104@(43@,10i), True)
Char.SetCollision(104@(43@,10i), False)
Char.SetVisible(104@(43@,10i), False)
goto @DECON_8007

:DECON_7981
$stealth_help_flag = Char.StoreCarIsInNoSave(104@(43@,10i))
Car.FreezePosition($stealth_help_flag, True)
Car.SetVisible($stealth_help_flag, False)

:DECON_8007
43@ += 1
goto @DECON_7863

:DECON_8021
Camera.DoFade(500, Fade.In)

:DECON_8028
if 
  Camera.GetFadingStatus
goto_if_false @DECON_8052
wait 0
goto @DECON_8028

:DECON_8052
35@ += 1

:DECON_8059
if 
  35@ > 0
goto_if_false @DECON_8101
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DECON_8101
35@ = 99

:DECON_8101
if 
  35@ == 1
goto_if_false @DECON_8160
if 
  Object.DoesExist(73@)
goto_if_false @DECON_8146
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot3, 73@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:DECON_8146
TIMERA = 0
35@ += 1

:DECON_8160
if 
  35@ == 2
goto_if_false @DECON_8227
if 
  TIMERA > 3000
goto_if_false @DECON_8227
if 
  Object.DoesExist($2675[2])
goto_if_false @DECON_8227
Object.Break($2675[2], 0)
35@ += 1

:DECON_8227
if 
  35@ == 3
goto_if_false @DECON_8458
if 
  TIMERA > 4000
goto_if_false @DECON_8458
if 
  not Char.IsDead(114@)
goto_if_false @DECON_8458
Camera.SetFixedPosition(-2051.721, 225.4406, 36.5865, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2052.561, 224.9327, 36.3922, SwitchType.JumpCut)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2057.137, 223.541, 34.582, MoveState.Walk, 5000)
if 
  Object.DoesExist($2675[2])
goto_if_false @DECON_8385
Task.LookAtObject(-1, $2675[2], 100)

:DECON_8385
Sequence.Close(49@)
Char.PerformSequence(114@, 49@)
Sequence.Clear(49@)
set_var_text_label s$bd_future_time_shown = 'GAR2_AA'
set_var_int_to_constant $bd_x = 16600
start_new_script @AUDIOL 114@ 0 1 1 0 
35@ += 1
TIMERA = 0

:DECON_8458
if 
  35@ == 4
goto_if_false @DECON_8509
if and
  TIMERA > 3000
  $audio_line_terminate_all == 0
goto_if_false @DECON_8509
35@ += 1

:DECON_8509
if 
  35@ == 5
goto_if_false @DECON_8690
if 
  not Char.IsDead(114@)
goto_if_false @DECON_8690
43@ = Char.GetScriptTaskStatus(114@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @DECON_8690
Char.SetCoordinates(114@, -2057.137, 223.541, 34.582)
Char.SetHeading(114@, 97.4598)
Camera.SetFixedPosition(-2056.056, 222.2135, 36.2036, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2056.939, 222.6817, 36.1606, SwitchType.JumpCut)
Task.LookAtCoord(114@, -2069.0, 229.0, 36.0, 2000)
TIMERA = 0
35@ += 1

:DECON_8690
if 
  35@ == 6
goto_if_false @DECON_8792
if 
  TIMERA > 2000
goto_if_false @DECON_8792
TIMERA = 0
Camera.SetFixedPosition(-2051.721, 225.4406, 36.5865, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2052.561, 224.9327, 36.3922, SwitchType.JumpCut)
35@ += 1

:DECON_8792
if 
  35@ == 7
goto_if_false @DECON_8906
if 
  not Char.IsDead(114@)
goto_if_false @DECON_8906
set_var_text_label s$bd_future_time_shown = 'GAR2_AB'
set_var_int_to_constant $bd_x = 16601
start_new_script @AUDIOL 114@ 0 1 1 0 
Task.GoStraightToCoord(114@, -2054.474, 222.6438, 35.8767, MoveState.Run, 5000)
TIMERA = 0
35@ += 1

:DECON_8906
if 
  35@ == 8
goto_if_false @DECON_8950
if 
  TIMERA > 1500
goto_if_false @DECON_8950
35@ += 1

:DECON_8950
if 
  35@ == 9
goto_if_false @DECON_9032
if 
  not Char.IsDead(114@)
goto_if_false @DECON_9032
43@ = Char.GetScriptTaskStatus(114@, 1491)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @DECON_9032
Char.Delete(114@)
TIMERA = 0
35@ += 1

:DECON_9032
if 
  35@ == 10
goto_if_false @DECON_9145
if 
  TIMERA > 2000
goto_if_false @DECON_9145
Text.ClearPrints
Camera.SetFixedPosition(-2037.439, 244.0506, 43.8289, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2038.147, 244.4092, 43.2209, SwitchType.JumpCut)
Text.Print('GAR2_11', 5000, 1)
35@ += 1

:DECON_9145
if 
  35@ == 11
goto_if_false @DECON_9189
if 
  TIMERA > 5000
goto_if_false @DECON_9189
35@ += 1

:DECON_9189
if 
  35@ == 12
goto_if_false @DECON_9290
Text.ClearPrints
Camera.SetFixedPosition(-2031.781, 262.1947, 36.3181, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2032.476, 262.9132, 36.3398, SwitchType.JumpCut)
Text.Print('GAR2_12', 5000, 1)
TIMERA = 0
35@ += 1

:DECON_9290
if 
  35@ == 13
goto_if_false @DECON_9334
if 
  TIMERA > 5000
goto_if_false @DECON_9334
35@ = 99

:DECON_9334
if 
  35@ == 99
goto_if_false @DECON_9688
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  Object.DoesExist(73@)
goto_if_false @DECON_9391
Object.SetCollision(73@, True)

:DECON_9391
Text.ClearPrints
if 
  $finish_crane_loading_script == 0
goto_if_false @DECON_9425
Player.SetControl($statbike_temp, True)
goto @DECON_9432

:DECON_9425
$crane_help1 = 0

:DECON_9432
Streaming.SetAreaVisible(62@)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
if 
  Object.DoesExist($2675[2])
goto_if_false @DECON_9466
Object.Delete($2675[2])

:DECON_9466
if 
  Char.DoesExist(114@)
goto_if_false @DECON_9487
Char.Delete(114@)

:DECON_9487
43@ = 0

:DECON_9494
if 
  10 > 43@
goto_if_false @DECON_9652
if 
  Char.DoesExist(104@(43@,10i))
goto_if_false @DECON_9638
if 
  not Char.IsDead(104@(43@,10i))
goto_if_false @DECON_9638
if 
  not Char.IsInAnyCar(104@(43@,10i))
goto_if_false @DECON_9612
Char.FreezePosition(104@(43@,10i), False)
Char.SetCollision(104@(43@,10i), True)
Char.SetVisible(104@(43@,10i), True)
goto @DECON_9638

:DECON_9612
$stealth_help_flag = Char.StoreCarIsInNoSave(104@(43@,10i))
Car.FreezePosition($stealth_help_flag, False)
Car.SetVisible($stealth_help_flag, True)

:DECON_9638
43@ += 1
goto @DECON_9494

:DECON_9652
if 
  $finish_crane_loading_script == 1
goto_if_false @DECON_9677
$remove_player_from_crane = 1

:DECON_9677
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
gosub @DECON_20810

:DECON_9688
return 

:DECON_9690
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DECON_9765
if 
  Char.IsInArea2D($stattreadstamina_ctr, -2053.226, 139.1389, -2135.449, 309.5472, False)
goto_if_false @DECON_9758
Game.SetWantedMultiplier(0.0)
goto @DECON_9765

:DECON_9758
Game.SetWantedMultiplier(1.0)

:DECON_9765
if 
  35@ == 0
goto_if_false @DECON_9909
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  Object.DoesExist(73@)
goto_if_false @DECON_9830
125@ = Blip.AddForObject(73@)
Blip.ChangeColor(125@, BlipColor.Red)

:DECON_9830
124@ = Blip.AddForCoord(-2048.644, 250.1341, 35.54)
Text.Print('GAR2_10', 7000, 1)
TIMERA = 0
63@ = 0
65@ = 4000
173@ = 0
168@ = -1
35@ += 1

:DECON_9909
if 
  35@ == 1
goto_if_false @DECON_10840
if 
  65@ > 5000
goto_if_false @DECON_10509
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @DECON_10509
if 
  Object.DoesExist(73@)
goto_if_false @DECON_10509
46@ = Object.GetSpeed(73@)
if or
  46@ > 2.0
  Char.IsTouchingObject($stattreadstamina_ctr, 73@)
goto_if_false @DECON_10509
if 
  $audio_line_terminate_all == 0
goto_if_false @DECON_10509
switch_start 63@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @DECON_10448 {caseNum1} 0 {caseLabel1} @DECON_10158 {caseNum2} 1 {caseLabel2} @DECON_10187 {caseNum3} 2 {caseLabel3} @DECON_10216 {caseNum4} 3 {caseLabel4} @DECON_10245 {caseNum5} 4 {caseLabel5} @DECON_10274 {caseNum6} 5 {caseLabel6} @DECON_10303 {caseNum7} 6 {caseLabel7} @DECON_10332
switch_continued 7 {caseLabel1} @DECON_10361 {caseNum2} 8 {caseLabel2} @DECON_10390 {caseNum3} 9 {caseLabel3} @DECON_10419 {caseNum4} -1 {caseLabel4} @DECON_10448 {caseNum5} -1 {caseLabel5} @DECON_10448 {caseNum6} -1 {caseLabel6} @DECON_10448 {caseNum7} -1 {caseLabel7} @DECON_10448 {caseNum8} -1 {caseLabel8} @DECON_10448 {caseNum9} -1 {caseLabel9} @DECON_10448

:DECON_10158
set_var_text_label s$bd_future_time_shown = 'GAR2_AC'
set_var_int_to_constant $bd_x = 16602
goto @DECON_10448

:DECON_10187
set_var_text_label s$bd_future_time_shown = 'GAR2_AD'
set_var_int_to_constant $bd_x = 16603
goto @DECON_10448

:DECON_10216
set_var_text_label s$bd_future_time_shown = 'GAR2_AE'
set_var_int_to_constant $bd_x = 16604
goto @DECON_10448

:DECON_10245
set_var_text_label s$bd_future_time_shown = 'GAR2_AF'
set_var_int_to_constant $bd_x = 16605
goto @DECON_10448

:DECON_10274
set_var_text_label s$bd_future_time_shown = 'GAR2_AG'
set_var_int_to_constant $bd_x = 16606
goto @DECON_10448

:DECON_10303
set_var_text_label s$bd_future_time_shown = 'GAR2_AH'
set_var_int_to_constant $bd_x = 16607
goto @DECON_10448

:DECON_10332
set_var_text_label s$bd_future_time_shown = 'GAR2_AJ'
set_var_int_to_constant $bd_x = 16608
goto @DECON_10448

:DECON_10361
set_var_text_label s$bd_future_time_shown = 'GAR2_AK'
set_var_int_to_constant $bd_x = 16609
goto @DECON_10448

:DECON_10390
set_var_text_label s$bd_future_time_shown = 'GAR2_AL'
set_var_int_to_constant $bd_x = 16610
goto @DECON_10448

:DECON_10419
set_var_text_label s$bd_future_time_shown = 'GAR2_AM'
set_var_int_to_constant $bd_x = 16611
goto @DECON_10448

:DECON_10448
start_new_script @AUDIOL -1 0 0 1 0 
63@ += 1
if 
  63@ > 7
goto_if_false @DECON_10498
63@ = 0

:DECON_10498
65@ = 0
wait 1

:DECON_10509
if and
  173@ > 150000
  151000 > 173@
goto_if_false @DECON_10575
Text.ClearPrints
Text.PrintNow('GAR2_34', 7000, 1)
173@ = 151001
65@ = 0

:DECON_10575
if 
  173@ > 200000
goto_if_false @DECON_10684
if 
  not Player.IsWantedLevelGreater($statbike_temp, 1)
goto_if_false @DECON_10621
Player.AlterWantedLevel($statbike_temp, 2)

:DECON_10621
World.CreateEmergencyServicesCar(597, -2039.255, 232.481, 33.9528)
World.CreateEmergencyServicesCar(597, -2038.185, 254.2709, 34.0893)
37@ = 1
Text.PrintNow('GAR2_35', 5000, 1)

:DECON_10684
if 
  Object.DoesExist(73@)
goto_if_false @DECON_10833
if 
  Object.Locate3D(73@, -2048.886, 250.6607, 32.5177, 2.898, 5.05, 2.0, False)
goto_if_false @DECON_10833
if and
  not Text.IsMessageBeingDisplayed
  $audio_line_terminate_all == 0
goto_if_false @DECON_10833
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Text.PrintNow('GAR2_36', 7000, 1)
Blip.Remove(124@)
Blip.Remove(125@)
35@ += 1
TIMERA = 0
TIMERB = 0

:DECON_10833
gosub @DECON_11793

:DECON_10840
if and
  35@ > 1
  4 > 35@
goto_if_false @DECON_11117
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DECON_11078
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsModel($stealth_help_flag, 524)
goto_if_false @DECON_11039
if 
  168@ <> 1
goto_if_false @DECON_11032
Text.PrintNow('GAR2_37', 7000, 1)
if 
  Blip.DoesExist(126@)
goto_if_false @DECON_10963
Blip.Remove(126@)

:DECON_10963
if 
  Blip.DoesExist(127@)
goto_if_false @DECON_10984
Blip.Remove(127@)

:DECON_10984
if 
  Blip.DoesExist(124@)
goto_if_false @DECON_11005
Blip.Remove(124@)

:DECON_11005
124@ = Blip.AddForCoord(-2049.707, 240.5694, 34.762)
168@ = 1

:DECON_11032
goto @DECON_11071

:DECON_11039
if 
  168@ <> 0
goto_if_false @DECON_11071
gosub @DECON_11644
168@ = 0

:DECON_11071
goto @DECON_11110

:DECON_11078
if 
  168@ <> 0
goto_if_false @DECON_11110
gosub @DECON_11644
168@ = 0

:DECON_11110
gosub @DECON_11793

:DECON_11117
if 
  35@ == 2
goto_if_false @DECON_11263
TIMERA = 0
TIMERB = 0
35@ += 1
if 
  165@ == 0
goto_if_false @DECON_11263
if 
  Object.DoesExist(73@)
goto_if_false @DECON_11263
if 
  not Object.IsOnScreen(73@)
goto_if_false @DECON_11263
Object.SetCoordinates(73@, -2048.957, 250.2059, 32.6542)
Object.SetHeading(73@, 158.56)
Object.SetRotation(73@, -170.1394, -88.8094, -21.44)
165@ = 1

:DECON_11263
if 
  35@ == 3
goto_if_false @DECON_11617
if 
  165@ == 0
goto_if_false @DECON_11388
if 
  Object.DoesExist(73@)
goto_if_false @DECON_11388
if 
  not Object.IsOnScreen(73@)
goto_if_false @DECON_11388
Object.SetCoordinates(73@, -2048.957, 250.2059, 32.6542)
Object.SetHeading(73@, 158.56)
Object.SetRotation(73@, -170.1394, -88.8094, -21.44)
165@ = 1

:DECON_11388
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2049.707, 240.5694, 34.762, 3.0, 3.0, 3.0, True)
goto_if_false @DECON_11617
if 
  Char.IsInModel($stattreadstamina_ctr, 524)
goto_if_false @DECON_11568
if 
  Car.IsStopped(90@)
goto_if_false @DECON_11561
if 
  not Car.IsDead(90@)
goto_if_false @DECON_11561
$on_footX = Car.GetHeading(90@)
if and
  190.0 > $on_footX
  $on_footX > 170.0
goto_if_false @DECON_11545
Blip.Remove(124@)
35@ = 99
goto @DECON_11561

:DECON_11545
Text.PrintNow('GAR2_14', 1000, 1)

:DECON_11561
goto @DECON_11610

:DECON_11568
if 
  TIMERA > 30000
goto_if_false @DECON_11610
Text.PrintNow('GAR2_20', 7000, 1)
TIMERA = 0

:DECON_11610
goto @DECON_11617

:DECON_11617
if 
  35@ == 99
goto_if_false @DECON_11642
gosub @DECON_20810

:DECON_11642
return 

:DECON_11644
if 
  Blip.DoesExist(124@)
goto_if_false @DECON_11665
Blip.Remove(124@)

:DECON_11665
if 
  not Car.IsDead(85@)
goto_if_false @DECON_11728
if 
  not Blip.DoesExist(126@)
goto_if_false @DECON_11728
126@ = Blip.AddForCar(85@)
Blip.SetAsFriendly(126@, True)
Text.PrintNow('GAR2_36', 7000, 1)

:DECON_11728
if 
  not Car.IsDead(89@)
goto_if_false @DECON_11791
if 
  not Blip.DoesExist(127@)
goto_if_false @DECON_11791
127@ = Blip.AddForCar(89@)
Blip.SetAsFriendly(127@, True)
Text.PrintNow('GAR2_36', 7000, 1)

:DECON_11791
return 

:DECON_11793
if 
  Car.DoesExist(85@)
goto_if_false @DECON_11923
if 
  not Car.IsDead(85@)
goto_if_false @DECON_11906
if 
  Car.Locate3D(85@, -2049.199, 250.3882, 32.9084, 2.454, 5.042, 2.3, False)
goto_if_false @DECON_11899
if 
  not Car.IsOnScreen(85@)
goto_if_false @DECON_11899
Car.Delete(85@)
Blip.Remove(126@)

:DECON_11899
goto @DECON_11916

:DECON_11906
Car.MarkAsNoLongerNeeded(85@)
Blip.Remove(126@)

:DECON_11916
goto @DECON_12068

:DECON_11923
if 
  not Camera.IsPointOnScreen(-2112.603, 193.7894, 33.6684, 5.0)
goto_if_false @DECON_12068
if 
  not World.IsPointObscuredByAMissionEntity(-2112.603, 193.7894, 33.6684, 3.0, 3.0, 3.0)
goto_if_false @DECON_12068
85@ = Car.Create(524, -2112.603, 193.7894, 33.6684)
Car.SetHeading(85@, 276.2221)
if 
  Blip.DoesExist(126@)
goto_if_false @DECON_12053
Blip.Remove(126@)

:DECON_12053
126@ = Blip.AddForCar(85@)
Blip.SetAsFriendly(126@, True)

:DECON_12068
if 
  Car.DoesExist(89@)
goto_if_false @DECON_12198
if 
  not Car.IsDead(89@)
goto_if_false @DECON_12181
if 
  Car.Locate3D(89@, -2049.199, 250.3882, 32.9084, 2.454, 5.042, 2.3, False)
goto_if_false @DECON_12174
if 
  not Car.IsOnScreen(89@)
goto_if_false @DECON_12174
Car.Delete(89@)
Blip.Remove(127@)

:DECON_12174
goto @DECON_12191

:DECON_12181
Car.MarkAsNoLongerNeeded(89@)
Blip.Remove(127@)

:DECON_12191
goto @DECON_12343

:DECON_12198
if 
  not Camera.IsPointOnScreen(-2037.176, 269.7917, 34.9191, 5.0)
goto_if_false @DECON_12343
if 
  not World.IsPointObscuredByAMissionEntity(-2037.176, 269.7917, 34.9191, 3.0, 3.0, 3.0)
goto_if_false @DECON_12343
89@ = Car.Create(524, -2037.176, 269.7917, 34.9191)
Car.SetHeading(89@, 179.5245)
if 
  Blip.DoesExist(127@)
goto_if_false @DECON_12328
Blip.Remove(127@)

:DECON_12328
127@ = Blip.AddForCar(89@)
Blip.SetAsFriendly(127@, True)

:DECON_12343
return 

:DECON_12345
if 
  35@ == 0
goto_if_false @DECON_13154
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Camera.DoFade(250, Fade.Out)

:DECON_12379
if 
  Camera.GetFadingStatus
goto_if_false @DECON_12403
wait 0
goto @DECON_12379

:DECON_12403
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 12600)

:DECON_12410
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DECON_12436
wait 0
goto @DECON_12410

:DECON_12436
if 
  Object.DoesExist(73@)
goto_if_false @DECON_12518
if 
  not Object.IsOnScreen(73@)
goto_if_false @DECON_12518
Object.SetCoordinates(73@, -2048.957, 250.2059, 32.6542)
Object.SetHeading(73@, 158.56)
Object.SetRotation(73@, -170.1394, -88.8094, -21.44)

:DECON_12518
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2046.33, 255.5639, 35.1158, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2046.688, 254.6398, 34.9808, SwitchType.JumpCut)
43@ = 0

:DECON_12580
if 
  10 > 43@
goto_if_false @DECON_12652
if 
  Char.DoesExist(104@(43@,10i))
goto_if_false @DECON_12638
Char.Delete(104@(43@,10i))
104@(43@,10i) = 0

:DECON_12638
43@ += 1
goto @DECON_12580

:DECON_12652
Char.SetCoordinates($stattreadstamina_ctr, -2049.734, 241.7195, 70.7037)
Char.SetHeading($stattreadstamina_ctr, 176.835)
43@ = 0

:DECON_12689
if 
  7 > 43@
goto_if_false @DECON_12802
if 
  not Car.IsDead(91@(43@,7i))
goto_if_false @DECON_12788
if 
  Car.Locate3D(91@(43@,7i), -2049.734, 241.7195, 34.7037, 7.0, 7.0, 5.0, False)
goto_if_false @DECON_12788
Car.Delete(91@(43@,7i))

:DECON_12788
43@ += 1
goto @DECON_12689

:DECON_12802
43@ = 0

:DECON_12809
if 
  7 > 43@
goto_if_false @DECON_12938
if 
  not Car.IsDead(91@(43@,7i))
goto_if_false @DECON_12915
if 
  Car.Locate3D(91@(43@,7i), -2048.886, 250.6607, 32.5177, 2.898, 5.05, 2.0, False)
goto_if_false @DECON_12908
Car.Delete(91@(43@,7i))

:DECON_12908
goto @DECON_12924

:DECON_12915
Car.Delete(91@(43@,7i))

:DECON_12924
43@ += 1
goto @DECON_12809

:DECON_12938
World.ClearArea(-2049.734, 241.7195, 34.7037, 10.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2049.734, 241.7195, 34.7037)
Char.SetHeading($stattreadstamina_ctr, 176.835)
if 
  not Car.IsDead(90@)
goto_if_false @DECON_13104
Car.SetQuaternion(90@, -0.0448, 0.0178, 1.003, -0.0611)
81@ = Object.CreateNoOffset(#HUBHOLE3_SFSE, -2049.171, 250.3193, 30.8784)
179@ = Particle.CreateOnCarWithDirection("CEMENT", 90@, 0.0, -4.4, 0.0, 0.0, -1.0, 0.0, 1)

:DECON_13104
wait 500
Camera.DoFade(250, Fade.In)

:DECON_13116
if 
  Camera.GetFadingStatus
goto_if_false @DECON_13140
wait 0
goto @DECON_13116

:DECON_13140
TIMERA = 0
35@ += 1

:DECON_13154
if 
  35@ == 1
goto_if_false @DECON_13255
46@ = 0.0

:DECON_13182
if 
  1.0 > 46@
goto_if_false @DECON_13248
wait 0
if 
  not Car.IsDead(90@)
goto_if_false @DECON_13231
Car.ControlMovablePart(90@, 46@)

:DECON_13231
add_timed_val_to_float_lvar 46@ +=@ 0.01
goto @DECON_13182

:DECON_13248
35@ += 1

:DECON_13255
if 
  35@ == 2
goto_if_false @DECON_13373
if 
  TIMERA > 2000
goto_if_false @DECON_13373
Particle.Play(179@)
if 
  not Car.IsDead(90@)
goto_if_false @DECON_13359
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(90@, 0.0, -4.4, 0.0)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot3, $on_footY, $on_footZ, $in_carX)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:DECON_13359
TIMERA = 0
35@ += 1

:DECON_13373
if 
  35@ == 3
goto_if_false @DECON_13417
if 
  TIMERA > 1000
goto_if_false @DECON_13417
35@ += 1

:DECON_13417
if 
  35@ == 4
goto_if_false @DECON_13506
if 
  Object.Slide(81@, -2049.171, 250.3193, 34.177, 0.01, 0.01, 0.009, False)
goto_if_false @DECON_13506
TIMERA = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Particle.Stop(179@)
35@ += 1

:DECON_13506
if 
  35@ == 5
goto_if_false @DECON_13550
if 
  TIMERA > 2000
goto_if_false @DECON_13550
35@ = 99

:DECON_13550
if 
  35@ == 99
goto_if_false @DECON_13610
if 
  not Car.IsDead(90@)
goto_if_false @DECON_13584

:DECON_13584
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
36@ = 1

:DECON_13610
return 

:DECON_13612
if and
  39@ == 1
  141@ == 0
goto_if_false @DECON_14209
43@ = 0

:DECON_13644
if 
  6 > 43@
goto_if_false @DECON_13735
if 
  Char.DoesExist(98@(43@,6i))
goto_if_false @DECON_13721
if or
  Char.HasBeenDamagedByChar(98@(43@,6i), $stattreadstamina_ctr)
  Char.IsDead(98@(43@,6i))
goto_if_false @DECON_13721
141@ = 1

:DECON_13721
43@ += 1
goto @DECON_13644

:DECON_13735
if 
  Char.DoesExist(117@)
goto_if_false @DECON_13782
if or
  Char.HasBeenDamagedByChar(117@, $stattreadstamina_ctr)
  Char.IsDead(117@)
goto_if_false @DECON_13782
141@ = 1

:DECON_13782
if 
  Char.DoesExist(115@)
goto_if_false @DECON_13829
if or
  Char.HasBeenDamagedByChar(115@, $stattreadstamina_ctr)
  Char.IsDead(115@)
goto_if_false @DECON_13829
141@ = 1

:DECON_13829
43@ = 0

:DECON_13836
if 
  6 > 43@
goto_if_false @DECON_13926
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_13912
44@ = Object.GetHealth($2675(43@,6i))
if 
  900 > 44@
goto_if_false @DECON_13912
141@ = 1

:DECON_13912
43@ += 1
goto @DECON_13836

:DECON_13926
43@ = 0

:DECON_13933
if 
  7 > 43@
goto_if_false @DECON_14065
if 
  Car.DoesExist(91@(43@,7i))
goto_if_false @DECON_14051
if 
  not Car.IsDead(91@(43@,7i))
goto_if_false @DECON_14051
if 
  Char.IsInCar($stattreadstamina_ctr, 91@(43@,7i))
goto_if_false @DECON_14021
141@ = 1

:DECON_14021
if 
  Car.HasBeenDamagedByChar(91@(43@,7i), $stattreadstamina_ctr)
goto_if_false @DECON_14051
141@ = 1

:DECON_14051
43@ += 1
goto @DECON_13933

:DECON_14065
if 
  141@ == 1
goto_if_false @DECON_14151
43@ = 0

:DECON_14090
if 
  10 > 43@
goto_if_false @DECON_14151
if 
  not Char.IsDead(104@(43@,10i))
goto_if_false @DECON_14137
Char.ClearTasks(104@(43@,10i))

:DECON_14137
43@ += 1
goto @DECON_14090

:DECON_14151
if 
  141@ == 1
goto_if_false @DECON_14202
$g_SCrash2_spookKM = 180000
Hud.DisplayTimer($g_SCrash2_spookKM, TimerDirection.Down)
Text.Print('GAR2_41', 7000, 1)

:DECON_14202
goto @DECON_14303

:DECON_14209
if 
  169@ == 0
goto_if_false @DECON_14303
if and
  not Text.IsHelpMessageBeingDisplayed
  not Text.IsMessageBeingDisplayed
goto_if_false @DECON_14303
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DECON_14303
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsModel($stealth_help_flag, 486)
goto_if_false @DECON_14303
Text.PrintHelp('GAR2_42')
169@ += 1

:DECON_14303
if and
  167@ == 0
  2 >= 34@
goto_if_false @DECON_14385
if and
  Car.IsDead(83@)
  Car.IsDead(84@)
goto_if_false @DECON_14385
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @DECON_14385
Text.PrintNow('GAR2_39', 7000, 1)
167@ += 1

:DECON_14385
if 
  141@ == 1
goto_if_false @DECON_16006
if 
  not Char.IsDead(117@)
goto_if_false @DECON_14517
43@ = Char.GetScriptTaskStatus(117@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @DECON_14517
49@ = Sequence.Open()
Task.GotoChar(-1, $stattreadstamina_ctr, 60000, 20.0)
Task.SmartFleeChar(-1, $stattreadstamina_ctr, 300.0, 60000)
Sequence.Close(49@)
Char.PerformSequence(117@, 49@)
Sequence.Clear(49@)
Char.MarkAsNoLongerNeeded(117@)
111@ = 0

:DECON_14517
176@ = Sequence.Open()
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DECON_14562
Task.GotoChar(-1, $stattreadstamina_ctr, 60000, 5.0)
goto @DECON_14579

:DECON_14562
Task.GotoChar(-1, $stattreadstamina_ctr, 60000, 15.0)

:DECON_14579
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DECON_14637
Task.PlayAnim(-1, "FIGHTIDLE", "PED", 4.0, False, False, False, True, -1)
goto @DECON_14637

:DECON_14637
Sequence.Close(176@)
177@ = Sequence.Open()
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DECON_14687
Task.GotoChar(-1, $stattreadstamina_ctr, 60000, 7.5)
goto @DECON_14704

:DECON_14687
Task.GotoChar(-1, $stattreadstamina_ctr, 60000, 10.0)

:DECON_14704
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DECON_14762
Task.PlayAnim(-1, "FIGHTIDLE", "PED", 4.0, False, False, False, True, -1)
goto @DECON_14762

:DECON_14762
Sequence.Close(177@)
178@ = Sequence.Open()
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DECON_14812
Task.GotoChar(-1, $stattreadstamina_ctr, 60000, 10.0)
goto @DECON_14829

:DECON_14812
Task.GotoChar(-1, $stattreadstamina_ctr, 60000, 20.0)

:DECON_14829
Task.FleeChar(-1, $stattreadstamina_ctr, 20.0, 3000)
Sequence.Close(178@)
43@ = 0

:DECON_14856
if 
  2 > 43@
goto_if_false @DECON_14913
180@(43@,2i) = -1
182@(43@,2f) = 9999.0
43@ += 1
goto @DECON_14856

:DECON_14913
43@ = 0

:DECON_14920
if 
  10 > 43@
goto_if_false @DECON_15164
if 
  not Char.IsDead(104@(43@,10i))
goto_if_false @DECON_15150
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(104@(43@,10i))
56@, 57@, 58@ = Char.GetCoordinates($stattreadstamina_ctr)
$heading = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 56@, 57@)
if 
  is_float_lvar_greater_than_float_var 182@ > $heading
goto_if_false @DECON_15065
set_lvar_float_to_lvar_float 183@ = 182@
set_lvar_float_to_var_float 182@ = $heading
set_lvar_int_to_lvar_int 181@ = 180@
set_lvar_int_to_lvar_int 180@ = 43@
goto @DECON_15100

:DECON_15065
if 
  is_float_lvar_greater_than_float_var 183@ > $heading
goto_if_false @DECON_15100
set_lvar_float_to_var_float 183@ = $heading
set_lvar_int_to_lvar_int 181@ = 43@

:DECON_15100
if and
  $heading > 500.0
  not Char.IsOnScreen(104@(43@,10i))
goto_if_false @DECON_15150
Char.Delete(104@(43@,10i))
104@(43@,10i) = 0

:DECON_15150
43@ += 1
goto @DECON_14920

:DECON_15164
43@ = 0

:DECON_15171
if 
  10 > 43@
goto_if_false @DECON_15991
if 
  not Char.IsDead(104@(43@,10i))
goto_if_false @DECON_15977
if 
  not Char.IsInAnyCar(104@(43@,10i))
goto_if_false @DECON_15711
if 
  Char.IsCurrentWeapon(104@(43@,10i), WeaponType.Pistol)
goto_if_false @DECON_15312
44@ = Char.GetScriptTaskStatus(104@(43@,10i), 1506)
if 
  is_int_lvar_equal_to_constant 44@ == 7
goto_if_false @DECON_15305
Char.ClearTasks(104@(43@,10i))
Task.KillCharOnFoot(104@(43@,10i), $stattreadstamina_ctr)

:DECON_15305
goto @DECON_15704

:DECON_15312
if or
  is_int_lvar_equal_to_int_lvar 43@ == 180@
  is_int_lvar_equal_to_int_lvar 43@ == 181@
goto_if_false @DECON_15400
44@ = Char.GetScriptTaskStatus(104@(43@,10i), 1506)
if 
  is_int_lvar_equal_to_constant 44@ == 7
goto_if_false @DECON_15393
Char.ClearTasks(104@(43@,10i))
Task.KillCharOnFoot(104@(43@,10i), $stattreadstamina_ctr)

:DECON_15393
goto @DECON_15704

:DECON_15400
44@ = Char.GetScriptTaskStatus(104@(43@,10i), 1560)
if 
  is_int_lvar_equal_to_constant 44@ == 7
goto_if_false @DECON_15562
44@ = Math.RandomIntInRange(0, 9)
if 
  4 > 44@
goto_if_false @DECON_15488
Char.ClearTasks(104@(43@,10i))
Char.PerformSequence(104@(43@,10i), 176@)
goto @DECON_15555

:DECON_15488
if 
  8 > 44@
goto_if_false @DECON_15534
Char.ClearTasks(104@(43@,10i))
Char.PerformSequence(104@(43@,10i), 177@)
goto @DECON_15555

:DECON_15534
Char.ClearTasks(104@(43@,10i))
Char.PerformSequence(104@(43@,10i), 178@)

:DECON_15555
goto @DECON_15704

:DECON_15562
if or
  Char.IsPlayingAnim(104@(43@,10i), "PANIC_POINT")
  Char.IsPlayingAnim(104@(43@,10i), "PANIC_SHOUT")
goto_if_false @DECON_15704
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(104@(43@,10i))
56@, 57@, 58@ = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_lvar_float 50@ = 56@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 57@
sub_float_var_from_float_lvar 51@ -= $on_footZ
$on_footX = Math.GetHeadingFromVector2D(50@, 51@)
Char.SetHeading(104@(43@,10i), $on_footX)

:DECON_15704
goto @DECON_15977

:DECON_15711
$stealth_help_flag = Char.StoreCarIsInNoSave(104@(43@,10i))
Car.SetStraightLineDistance($stealth_help_flag, 255)
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @DECON_15768
if 
  Car.IsPlaybackGoingOn($stealth_help_flag)
goto_if_false @DECON_15768
Car.StopPlayback($stealth_help_flag)

:DECON_15768
44@ = Char.GetScriptTaskStatus(104@(43@,10i), 1560)
if 
  is_int_lvar_equal_to_constant 44@ == 7
goto_if_false @DECON_15878
49@ = Sequence.Open()
Task.CarMission(-1, $stealth_help_flag, -1, CarMission.RamPlayerClose, 40.0, DrivingMode.PloughThrough)
Sequence.Close(49@)
Char.PerformSequence(104@(43@,10i), 49@)
Sequence.Clear(49@)
if 
  184@ <> 0
goto_if_false @DECON_15871
184@ = 0

:DECON_15871
goto @DECON_15977

:DECON_15878
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DECON_15977
if 
  Char.IsTouchingVehicle($stattreadstamina_ctr, $stealth_help_flag)
goto_if_false @DECON_15977
if 
  184@ == 0
goto_if_false @DECON_15977
49@ = Sequence.Open()
Task.CarTempAction(-1, $stealth_help_flag, TempAction.Reverse, 2500)
Sequence.Close(49@)
Char.PerformSequence(104@(43@,10i), 49@)
Sequence.Clear(49@)
184@ = 1

:DECON_15977
43@ += 1
goto @DECON_15171

:DECON_15991
Sequence.Clear(176@)
Sequence.Clear(177@)
Sequence.Clear(178@)

:DECON_16006
if 
  141@ == 0
goto_if_false @DECON_16750
if 
  not Char.IsDead(102@)
goto_if_false @DECON_16750
if 
  146@ == 0
goto_if_false @DECON_16169
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2074.264, 222.39, 34.7395, 30.0, 30.0, 4.0, False)
goto_if_false @DECON_16169
Char.ClearTasks(102@)
49@ = Sequence.Open()
Task.GotoChar(-1, $stattreadstamina_ctr, 50000, 3.0)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.ScratchHead(-1)
Sequence.Close(49@)
Char.PerformSequence(102@, 49@)
Sequence.Clear(49@)
146@ += 1

:DECON_16169
if 
  146@ == 1
goto_if_false @DECON_16606
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2074.264, 222.39, 34.7395, 30.0, 30.0, 4.0, False)
goto_if_false @DECON_16509
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @DECON_16502
if 
  $audio_line_terminate_all == 0
goto_if_false @DECON_16502
if 
  Char.LocateOnFootChar3D(102@, $stattreadstamina_ctr, 3.0, 3.0, 2.0, False)
goto_if_false @DECON_16495
43@ = Math.RandomIntInRange(0, 3)
if 
  43@ == 0
goto_if_false @DECON_16370
set_var_text_label s$bd_future_time_shown = 'GAR2_BA'
set_var_int_to_constant $bd_x = 16612
start_new_script @AUDIOL 102@ 1 0 1 0 

:DECON_16370
if 
  43@ == 1
goto_if_false @DECON_16429
set_var_text_label s$bd_future_time_shown = 'GAR2_BB'
set_var_int_to_constant $bd_x = 16613
start_new_script @AUDIOL 102@ 1 0 1 0 

:DECON_16429
if 
  43@ == 2
goto_if_false @DECON_16488
set_var_text_label s$bd_future_time_shown = 'GAR2_BC'
set_var_int_to_constant $bd_x = 16614
start_new_script @AUDIOL 102@ 1 0 1 0 

:DECON_16488
146@ += 1

:DECON_16495
TIMERB = 0

:DECON_16502
goto @DECON_16606

:DECON_16509
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2099.162, 171.1465, 34.0869, MoveState.Walk, 60000)
Task.ScratchHead(-1)
Task.GoStraightToCoord(-1, -2090.801, 263.5923, 34.7131, MoveState.Walk, 60000)
Task.ScratchHead(-1)
Sequence.SetToRepeat(49@, True)
Sequence.Close(49@)
Char.PerformSequence(102@, 49@)
Sequence.Clear(49@)
146@ = 0

:DECON_16606
if 
  146@ == 2
goto_if_false @DECON_16750
43@ = Char.GetScriptTaskStatus(102@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @DECON_16750
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2099.162, 171.1465, 34.0869, MoveState.Walk, 60000)
Task.ScratchHead(-1)
Task.GoStraightToCoord(-1, -2090.801, 263.5923, 34.7131, MoveState.Walk, 60000)
Task.ScratchHead(-1)
Sequence.SetToRepeat(49@, True)
Sequence.Close(49@)
Char.PerformSequence(102@, 49@)
Sequence.Clear(49@)
146@ += 1

:DECON_16750
if 
  not Char.IsDead(115@)
goto_if_false @DECON_16829
if 
  not Car.IsDead(83@)
goto_if_false @DECON_16822
if 
  Car.IsPlaybackGoingOn(83@)
goto_if_false @DECON_16822
if 
  not Char.IsInCar(115@, 83@)
goto_if_false @DECON_16822
Car.StopPlayback(83@)

:DECON_16822
goto @DECON_16866

:DECON_16829
if 
  not Car.IsDead(83@)
goto_if_false @DECON_16866
if 
  Car.IsPlaybackGoingOn(83@)
goto_if_false @DECON_16866
Car.StopPlayback(83@)

:DECON_16866
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DECON_16954
if 
  not Car.IsDead(90@)
goto_if_false @DECON_16939
if 
  not Char.IsInCar($stattreadstamina_ctr, 90@)
goto_if_false @DECON_16932
90@ = 0
90@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:DECON_16932
goto @DECON_16954

:DECON_16939
90@ = 0
90@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:DECON_16954
43@ = 0

:DECON_16961
if 
  6 > 43@
goto_if_false @DECON_18417
if 
  67@ == 1
goto_if_false @DECON_17147
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_17147
if or
  Object.HasBeenDamagedByWeapon($2675(43@,6i), WeaponType.Explosion)
  Object.HasBeenDamagedByWeapon($2675(43@,6i), WeaponType.RocketLauncher)
  Object.HasBeenDamagedByWeapon($2675(43@,6i), WeaponType.Grenade)
  Object.HasBeenDamagedByWeapon($2675(43@,6i), WeaponType.RocketHs)
  Object.HasBeenDamagedByWeapon($2675(43@,6i), WeaponType.Satchel)
goto_if_false @DECON_17107
write_debug "DAMAGED_BY_EXPLOSION"

:DECON_17107
if 
  Object.HasBeenDamagedByWeapon($2675(43@,6i), WeaponType.AnyWeapon)
goto_if_false @DECON_17147
write_debug "DAMAGED_BY_ANY"

:DECON_17147
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_17336
if or
  Object.HasBeenDamagedByWeapon($2675(43@,6i), WeaponType.Explosion)
  Object.HasBeenDamagedByWeapon($2675(43@,6i), WeaponType.RocketLauncher)
  Object.HasBeenDamagedByWeapon($2675(43@,6i), WeaponType.Grenade)
  Object.HasBeenDamagedByWeapon($2675(43@,6i), WeaponType.RocketHs)
  Object.HasBeenDamagedByWeapon($2675(43@,6i), WeaponType.Satchel)
goto_if_false @DECON_17336
Object.ClearLastWeaponDamage($2675(43@,6i))
44@ = Object.GetHealth($2675(43@,6i))
44@ += -500
if 
  1 > 44@
goto_if_false @DECON_17324
Object.SetHealth($2675(43@,6i), 0)
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot3, $2675(43@,6i))
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Object.Break($2675(43@,6i), 0)
goto @DECON_17336

:DECON_17324
Object.SetHealth($2675(43@,6i), 44@)

:DECON_17336
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_17535
if 
  not Object.HasBeenDamaged($2675(43@,6i))
goto_if_false @DECON_17535
if 
  not Car.IsDead(90@)
goto_if_false @DECON_17535
if 
  Char.IsInCar($stattreadstamina_ctr, 90@)
goto_if_false @DECON_17535
if 
  Car.IsTouchingObject(90@, $2675(43@,6i))
goto_if_false @DECON_17535
if 
  171@ > 65000.0
goto_if_false @DECON_17535
Object.SetHealth($2675(43@,6i), 0)
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot3, $2675(43@,6i))
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Object.Break($2675(43@,6i), 0)
if 
  not Car.IsDead(90@)
goto_if_false @DECON_17535
if 
  Char.IsInCar($stattreadstamina_ctr, 90@)
goto_if_false @DECON_17535
Car.SetForwardSpeed(90@, 170@)

:DECON_17535
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_18176
if 
  not Object.HasBeenDamaged($2675(43@,6i))
goto_if_false @DECON_18176
159@(43@,6i) = Object.GetHealth($2675(43@,6i))
if 
  is_int_lvar_greater_than_int_lvar 153@(43@,6i) > 159@(43@,6i)
goto_if_false @DECON_18160
if 
  159@(43@,6i) > 0
goto_if_false @DECON_18160
if 
  not Car.IsDead(90@)
goto_if_false @DECON_18014
if 
  Char.IsInCar($stattreadstamina_ctr, 90@)
goto_if_false @DECON_18014
if 
  Car.IsTouchingObject(90@, $2675(43@,6i))
goto_if_false @DECON_18014
if 
  170@ > 5.0
goto_if_false @DECON_17998
if 
  not Car.IsModel(90@, 486)
goto_if_false @DECON_17823
set_lvar_int_to_lvar_int 44@ = 153@(43@,6i)
sub_int_lvar_from_int_lvar 44@ -= 159@(43@,6i)
cset_lvar_float_to_lvar_int 46@ =# 44@
46@ *= 0.5
cset_lvar_int_to_lvar_float 44@ =# 46@
add_int_lvar_to_int_lvar 159@(43@,6i) += 44@
Object.SetHealth($2675(43@,6i), 159@(43@,6i))
goto @DECON_17991

:DECON_17823
set_lvar_int_to_lvar_int 44@ = 153@(43@,6i)
sub_int_lvar_from_int_lvar 44@ -= 159@(43@,6i)
44@ *= -30
add_int_lvar_to_int_lvar 159@(43@,6i) += 44@
if 
  0 > 159@(43@,6i)
goto_if_false @DECON_17899
159@(43@,6i) = 0

:DECON_17899
if 
  166@ == 0
goto_if_false @DECON_17975
if 
  159@(43@,6i) > 10
goto_if_false @DECON_17975
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @DECON_17975
Text.PrintNow('GAR2_38', 5000, 1)
166@ = 1

:DECON_17975
Object.SetHealth($2675(43@,6i), 159@(43@,6i))

:DECON_17991
goto @DECON_18014

:DECON_17998
Object.SetHealth($2675(43@,6i), 153@(43@,6i))

:DECON_18014
if 
  $finish_crane_loading_script == 1
goto_if_false @DECON_18069
Object.SetHealth($2675(43@,6i), 0)
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot3, $2675(43@,6i))
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Object.Break($2675(43@,6i), 0)

:DECON_18069
if 
  159@(43@,6i) == 0
goto_if_false @DECON_18160
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot3, $2675(43@,6i))
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Object.Break($2675(43@,6i), 0)
if 
  not Car.IsDead(90@)
goto_if_false @DECON_18160
if 
  Char.IsInCar($stattreadstamina_ctr, 90@)
goto_if_false @DECON_18160
Car.SetForwardSpeed(90@, 170@)

:DECON_18160
set_lvar_int_to_lvar_int 153@(43@,6i) = 159@(43@,6i)

:DECON_18176
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_18403
if 
  not Object.HasBeenDamaged($2675(43@,6i))
goto_if_false @DECON_18403
if 
  not Car.IsDead(90@)
goto_if_false @DECON_18403
if 
  Char.IsInCar($stattreadstamina_ctr, 90@)
goto_if_false @DECON_18403
if 
  Car.IsModel(90@, 486)
goto_if_false @DECON_18403
if 
  Car.IsTouchingObject(90@, $2675(43@,6i))
goto_if_false @DECON_18403
44@ = Object.GetHealth($2675(43@,6i))
if 
  10 > 44@
goto_if_false @DECON_18403
Object.SetHealth($2675(43@,6i), 0)
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot3, $2675(43@,6i))
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Object.Break($2675(43@,6i), 0)
if 
  not Car.IsDead(90@)
goto_if_false @DECON_18403
if 
  Char.IsInCar($stattreadstamina_ctr, 90@)
goto_if_false @DECON_18403
Car.SetForwardSpeed(90@, 170@)

:DECON_18403
43@ += 1
goto @DECON_16961

:DECON_18417
43@ = 0

:DECON_18424
if 
  6 > 43@
goto_if_false @DECON_19160
if 
  152@ > 0
goto_if_false @DECON_18996
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_18996
44@ = Object.GetHealth($2675(43@,6i))
if 
  995 > 44@
goto_if_false @DECON_18996
if 
  44@ > 500
goto_if_false @DECON_18704
if 
  134@(43@,6i) == 0
goto_if_false @DECON_18697
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($2675(43@,6i), 3.252, -2.1084, 0.0)
gosub @DECON_20689
if 
  190@ == 0
goto_if_false @DECON_18697
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
$on_footX = Object.GetHeading($2675(43@,6i))
$on_footX += 180.0
116@ = Char.Create(PedType.Mission1, 27, $on_footY, $on_footZ, $in_carX)
Char.SetHeading(116@, $on_footX)
Char.SetHealth(116@, 50)
134@(43@,6i) += 1
43@ = 6

:DECON_18697
goto @DECON_18996

:DECON_18704
if 
  not Object.HasBeenDamaged($2675(43@,6i))
goto_if_false @DECON_18731
goto @DECON_18996

:DECON_18731
if 
  134@(43@,6i) <> 99
goto_if_false @DECON_18996
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($2675(43@,6i), 0.0, 0.0, 0.0)
$on_footX = Object.GetHeading($2675(43@,6i))
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
$on_footX += 180.0
116@ = Char.Create(PedType.Mission1, 27, $on_footY, $on_footZ, $in_carX)
Char.SetHeading(116@, $on_footX)
Char.SetHealth(116@, 50)
134@(43@,6i) = 99
43@ = 6
56@, 57@, 58@ = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 56@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 57@
44@ = Math.RandomIntInRange(0, 2)
if 
  44@ <> 0
goto_if_false @DECON_18956
51@ *= -1.0

:DECON_18956
set_lvar_float_to_lvar_float 53@ = 51@
set_lvar_float_to_lvar_float 54@ = 50@
54@ *= -1.0
Task.DiveAndGetUp(116@, 53@, 54@, 1000)

:DECON_18996
if 
  Char.DoesExist(116@)
goto_if_false @DECON_19139
if 
  not Char.IsDead(116@)
goto_if_false @DECON_19139
if 
  140@ > 0
goto_if_false @DECON_19095
if 
  2 > 140@
goto_if_false @DECON_19083
Char.GiveWeapon(116@, WeaponType.Shovel, 99999)
goto @DECON_19095

:DECON_19083
Char.GiveWeapon(116@, WeaponType.Pistol, 99999)

:DECON_19095
Char.SetShootRate(116@, 30)
Char.SetAccuracy(116@, 30)
Char.SetDecisionMaker(116@, 174@)
set_lvar_int_to_lvar_int 185@ = 116@
gosub @DECON_19924
172@ = 0

:DECON_19139
116@ = 0
43@ += 1
goto @DECON_18424

:DECON_19160
if 
  141@ == 1
goto_if_false @DECON_19683
if 
  4 >= 152@
goto_if_false @DECON_19203
172@ = 0

:DECON_19203
if 
  172@ > 20000
goto_if_false @DECON_19683
if 
  152@ > 4
goto_if_false @DECON_19683
47@ = 200.0
44@ = -1
43@ = 0

:DECON_19264
if 
  6 > 43@
goto_if_false @DECON_19420
if 
  Object.DoesExist($2675(43@,6i))
goto_if_false @DECON_19406
if 
  not Object.HasBeenDamaged($2675(43@,6i))
goto_if_false @DECON_19406
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($2675(43@,6i))
56@, 57@, 58@ = Char.GetCoordinates($stattreadstamina_ctr)
46@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 56@, 57@)
if 
  is_float_lvar_greater_than_float_lvar 47@ > 46@
goto_if_false @DECON_19406
set_lvar_float_to_lvar_float 47@ = 46@
set_lvar_int_to_lvar_int 44@ = 43@

:DECON_19406
43@ += 1
goto @DECON_19264

:DECON_19420
if 
  44@ <> -1
goto_if_false @DECON_19683
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($2675(44@,6i), 3.252, -2.1084, 0.0)
gosub @DECON_20689
if 
  190@ == 0
goto_if_false @DECON_19683
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
$on_footX = Object.GetHeading($2675(44@,6i))
$on_footX += 180.0
116@ = Char.Create(PedType.Mission1, 27, $on_footY, $on_footZ, $in_carX)
Char.SetHeading(116@, $on_footX)
Char.SetHealth(116@, 50)
if 
  140@ > 2
goto_if_false @DECON_19632
if 
  5 > 140@
goto_if_false @DECON_19620
Char.GiveWeapon(116@, WeaponType.Shovel, 99999)
goto @DECON_19632

:DECON_19620
Char.GiveWeapon(116@, WeaponType.Pistol, 99999)

:DECON_19632
Char.SetShootRate(116@, 30)
Char.SetAccuracy(116@, 30)
Char.SetDecisionMaker(116@, 174@)
set_lvar_int_to_lvar_int 185@ = 116@
116@ = 0
172@ = 0
gosub @DECON_19924

:DECON_19683
43@ = 0

:DECON_19690
if 
  10 > 43@
goto_if_false @DECON_19793
if 
  Char.DoesExist(104@(43@,10i))
goto_if_false @DECON_19779
if 
  Char.IsDead(104@(43@,10i))
goto_if_false @DECON_19779
Char.MarkAsNoLongerNeeded(104@(43@,10i))
104@(43@,10i) = 0
142@(43@,10i) = 0

:DECON_19779
43@ += 1
goto @DECON_19690

:DECON_19793
gosub @DECON_20024
if 
  not Car.IsDead(90@)
goto_if_false @DECON_19848
170@ = Car.GetSpeed(90@)
46@ = Car.GetMass(90@)
set_lvar_float_to_lvar_float 171@ = 170@
mult_float_lvar_by_float_lvar 171@ *= 46@

:DECON_19848
if 
  Blip.DoesExist(126@)
goto_if_false @DECON_19885
if 
  Car.IsDead(85@)
goto_if_false @DECON_19885
Blip.Remove(126@)

:DECON_19885
if 
  Blip.DoesExist(127@)
goto_if_false @DECON_19922
if 
  Car.IsDead(89@)
goto_if_false @DECON_19922
Blip.Remove(127@)

:DECON_19922
return 

:DECON_19924
186@ = 0

:DECON_19931
if 
  4 > 186@
goto_if_false @DECON_20015
if 
  104@(186@,10i) == 0
goto_if_false @DECON_20001
set_lvar_int_to_lvar_int 104@(186@,10i) = 185@
142@(186@,10i) = 0
186@ = 6

:DECON_20001
186@ += 1
goto @DECON_19931

:DECON_20015
gosub @DECON_20024
return 

:DECON_20024
152@ = 4
187@ = 0

:DECON_20038
if 
  4 > 187@
goto_if_false @DECON_20097
if 
  Char.DoesExist(104@(187@,10i))
goto_if_false @DECON_20083
152@ -= 1

:DECON_20083
187@ += 1
goto @DECON_20038

:DECON_20097
return 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("AVAILABLE PEDS")
save_newline_to_debug_file 
188@ = 0

:DECON_20240
if 
  10 > 188@
goto_if_false @DECON_20548
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("MISSION PED ")
save_int_to_debug_file 188@
Debugger.SaveStringToDebugFile(" = ")
save_int_to_debug_file 104@(188@,10i)
188@ += 1
goto @DECON_20240

:DECON_20548
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("AVAILABLE_MISSION_PEDS = ")
save_int_to_debug_file 152@
save_newline_to_debug_file 
return 

:DECON_20689
190@ = 0
189@ = 0

:DECON_20703
if 
  10 > 189@
goto_if_false @DECON_20808
if 
  not Char.IsDead(104@(189@,10i))
goto_if_false @DECON_20794
if 
  Char.LocateOnFoot3D(104@(189@,10i), $on_footY, $on_footZ, $in_carX, 1.5, 1.5, 3.0, False)
goto_if_false @DECON_20794
190@ = 1

:DECON_20794
189@ += 1
goto @DECON_20703

:DECON_20808
return 

:DECON_20810
34@ += 1
35@ = 0
63@ = 0
64@ = 0
65@ = 0
66@ = 0
TIMERA = 0
TIMERB = 0
return 

:DECON_20868
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DECON_20962
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2049.199, 250.3882, 32.9084, 2.454, 5.042, 2.3, False)
goto_if_false @DECON_20962
Char.SetCoordinates($stattreadstamina_ctr, -2045.189, 241.7544, 34.9462)
Char.SetHeading($stattreadstamina_ctr, 186.3532)

:DECON_20962
World.SwapNearestBuildingModel(-2049.171, 250.3193, 34.477, 20.0, #HUBHOLE2_SFSE, #HUBHOLE1_SFSE)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:DECON_21008
if 
  Object.DoesExist(81@)
goto_if_false @DECON_21029
Object.Delete(81@)

:DECON_21029
World.SwapNearestBuildingModel(-2049.171, 250.3193, 34.477, 20.0, #HUBHOLE2_SFSE, #HUBHOLE4_SFSE)
Stat.RegisterMissionPassed('GAR_2')
start_new_script @SYND 
Blip.Remove($garage_blip_icon)
$garage_blip_icon = Blip.AddSpriteForContactPoint($zeroY, $zeroZ, $wuziX, $flag_garage_mission_counter)
Stat.PlayerMadeProgress(1)
Stat.SetInt(StatId.PassedGarage2, 1)
Text.PrintBig('M_PASSD', 5000, TextStyle.Middle)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
$flag_synd_mission_counter += 1
return 

:DECON_21143
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
$crane_help1 = 0
Streaming.MarkModelAsNoLongerNeeded(#PORTALOO)
Streaming.MarkModelAsNoLongerNeeded(#PORTAKABIN)
Streaming.MarkModelAsNoLongerNeeded(#BARREL4)
Streaming.MarkModelAsNoLongerNeeded(486)
Streaming.MarkModelAsNoLongerNeeded(524)
Streaming.MarkModelAsNoLongerNeeded(406)
Streaming.MarkModelAsNoLongerNeeded(422)
Streaming.MarkModelAsNoLongerNeeded(16)
Streaming.MarkModelAsNoLongerNeeded(27)
Streaming.MarkModelAsNoLongerNeeded(337)
Streaming.MarkModelAsNoLongerNeeded(346)
Blip.Remove(118@)
Blip.Remove(119@)
Blip.Remove(120@)
Blip.Remove(121@)
Blip.Remove(122@)
Blip.Remove(123@)
Blip.Remove(124@)
Blip.Remove(125@)
Blip.Remove(126@)
Blip.Remove(127@)
Hud.ClearTimer($g_SCrash2_spookKM)
Game.SetWantedMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 51---------------
// Originally: 555 WE TIP

:SCRASH3
script_name 'SCRASH3'
gosub @SCRASH3_47
if 
  has_deatharrest_been_executed 
goto_if_false @SCRASH3_38
gosub @SCRASH3_18128

:SCRASH3_38
gosub @SCRASH3_18272
terminate_this_script 

:SCRASH3_47
Text.ClearThisPrint('M_FAIL')
$weapon_shop1_blip = 1
$1875 = 1
Stat.RegisterMissionGiven
80@ = 1
81@ = 0
82@ = 0
65@ = 0
66@ = 0
84@ = 0
85@ = 0
Game.SetScriptLimitToGangSize(0)
Text.LoadMissionText('VALET1')
Camera.SetFadingColor(0, 0, 0)
terminate_all_scripts_with_this_name 'VALET'
if 
  Player.IsWearing($statbike_temp, 17, "VALET")
goto_if_false @SCRASH3_198
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)

:SCRASH3_198
Streaming.SetAreaVisible(1)
Cutscene.Load('SCRASH1')

:SCRASH3_213
if 
  not Cutscene.HasLoaded
goto_if_false @SCRASH3_237
wait 0
goto @SCRASH3_213

:SCRASH3_237
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:SCRASH3_254
if 
  not Cutscene.HasFinished
goto_if_false @SCRASH3_278
wait 0
goto @SCRASH3_254

:SCRASH3_278
Camera.DoFade(0, Fade.Out)

:SCRASH3_284
if 
  Camera.GetFadingStatus
goto_if_false @SCRASH3_308
wait 0
goto @SCRASH3_284

:SCRASH3_308
Cutscene.Clear
Streaming.SetAreaVisible(0)
Char.SetHeading($stattreadstamina_ctr, 270.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Streaming.RequestModel(415)
Streaming.RequestModel(240)

:SCRASH3_338
if or
  not Streaming.HasModelLoaded(415)
  not Streaming.HasModelLoaded(240)
goto_if_false @SCRASH3_370
wait 0
goto @SCRASH3_338

:SCRASH3_370
World.SetCarDensityMultiplier(1.0)
65@ = 0
if 
  65@ == 20
goto_if_false @SCRASH3_581
57@ = Blip.AddForCoord(-1748.402, 909.7514, 23.8906)
60@ = Blip.AddForCoord(-1748.402, 909.7514, 23.8906)
59@ = Blip.AddForCoord(-1748.402, 909.7514, 23.8906)
37@ = Char.Create(PedType.Mission1, 189, 0.0, 0.0, 0.0)
$valet_car[0] = Char.Create(PedType.CivMale, 189, 0.0, 0.0, 0.0)
$drop_off_car = Car.Create(415, 0.0, 0.0, 0.0)
$create_drop_off_car_now = Car.Create(415, 0.0, 0.0, 0.0)
$playing_scrash1 = Car.Create(415, 0.0, 0.0, 0.0)

:SCRASH3_581
57@ = Blip.AddForCoord(-1748.402, 909.7514, 23.8906)
wait 500
Camera.DoFade(1000, Fade.In)
281@ = 0
Text.Print('VAL_5', 10000, 1)

:SCRASH3_636
wait 0
if 
  Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @SCRASH3_672
94@ = 1
goto @SCRASH3_679

:SCRASH3_672
94@ = 0

:SCRASH3_679
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SCRASH3_708
gosub @SCRASH3_17341
goto @SCRASH3_18160

:SCRASH3_708
if 
is_ps2_keyboard_key_pressed 68
goto_if_false @SCRASH3_743
Char.SetCoordinates($stattreadstamina_ctr, -1755.088, 910.0911, 23.8906)

:SCRASH3_743
if 
is_ps2_keyboard_key_pressed 70
goto_if_false @SCRASH3_821
Char.SetCoordinates($stattreadstamina_ctr, -1712.653, 985.0446, 16.5859)
if 
  not Char.IsDead($valet_car[2])
goto_if_false @SCRASH3_821
Char.SetCoordinates($valet_car[2], -1700.77, 984.3545, 16.5936)
Char.SetSuffersCriticalHits($valet_car[2], False)

:SCRASH3_821
if 
is_ps2_keyboard_key_pressed 71
goto_if_false @SCRASH3_856
Char.SetCoordinates($stattreadstamina_ctr, -1753.841, 960.2274, 23.8828)

:SCRASH3_856
if 
is_ps2_keyboard_key_pressed 72
goto_if_false @SCRASH3_1024
if 
  Char.IsDead(37@)
goto_if_false @SCRASH3_912
37@ = Char.Create(PedType.CivMale, 240, -1611.454, 714.3873, 12.4715)

:SCRASH3_912
if 
  not Streaming.HasModelLoaded(551)
goto_if_false @SCRASH3_939
wait 0
goto @SCRASH3_912

:SCRASH3_939
if 
  Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_955

:SCRASH3_955
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_1001
Car.SetCoordinates($playing_scrash1, -1753.961, 951.9568, 23.7422)
Car.SetHeading($playing_scrash1, 90.0)

:SCRASH3_1001
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_1024
106@ = 1

:SCRASH3_1024
if 
is_ps2_keyboard_key_pressed 74
goto_if_false @SCRASH3_1075
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_1075
Car.SetCoordinates($playing_scrash1, -2031.828, 179.5876, 27.8359)

:SCRASH3_1075
if 
is_ps2_keyboard_key_pressed 75
goto_if_false @SCRASH3_1126
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_1126
Car.SetCoordinates($playing_scrash1, -1779.759, 971.5197, 23.7344)

:SCRASH3_1126
if 
is_ps2_keyboard_key_pressed 82
goto_if_false @SCRASH3_1155
65@ = 10
72@ = 90

:SCRASH3_1155
if 
  73@ == 1
goto_if_false @SCRASH3_1221
if 
  not Player.IsWearing($statbike_temp, 17, "VALET")
goto_if_false @SCRASH3_1221
Text.Print('VAL_B1', 4000, 1)
goto @SCRASH3_18128

:SCRASH3_1221
gosub @SCRASH3_15190
89@ = 0
if 
  65@ > 1
goto_if_false @SCRASH3_1453

:SCRASH3_1253
if 
  2 > 89@
goto_if_false @SCRASH3_1453
if 
  is_int_var_equal_to_constant $valet_scene_running(89@,3i) == 6
goto_if_false @SCRASH3_1439
if 
  Char.DoesExist($valet_car(89@,3i))
goto_if_false @SCRASH3_1439
$on_footY, $on_footZ, $in_carX = World.GetDeadCharPickupCoords($valet_car(89@,3i))
if and
  $on_footY > -1760.178
  $on_footZ > 972.2405
  $in_carX > 16.1633
  -1679.605 > $on_footY
  1064.293 > $on_footZ
  24.8629 > $in_carX
goto_if_false @SCRASH3_1409
goto @SCRASH3_1439

:SCRASH3_1409
gosub @SCRASH3_17341
Text.Print('VAL_9', 3000, 1)
goto @SCRASH3_18128

:SCRASH3_1439
89@ += 1
goto @SCRASH3_1253

:SCRASH3_1453
if 
  $syn2_mission_attempts == 1
goto_if_false @SCRASH3_1605
if 
  68@ == 1
goto_if_false @SCRASH3_1521
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_1521
$a_driver = Car.GetBlockingCar($playing_scrash1)
set_var_int_to_var_int $play_was_on_valet_oddjob = $a_driver

:SCRASH3_1521
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_1605
90@, 91@ = Car.GetColors($playing_scrash1)
if or
  not is_int_lvar_equal_to_constant 90@ == 4
  not is_int_lvar_equal_to_constant 91@ == 4
goto_if_false @SCRASH3_1605
Text.ClearPrints
gosub @SCRASH3_17341
Text.Print('VAL_A35', 4000, 1)
goto @SCRASH3_18128

:SCRASH3_1605
if 
  65@ == 0
goto_if_false @SCRASH3_1649
65@ = 1
70@ = 0
$freeze_creating_drop_off_cars = 1
CarGenerator.SuppressCarModel(551)

:SCRASH3_1649
if 
  65@ == 1
goto_if_false @SCRASH3_2956
if 
  70@ == 0
goto_if_false @SCRASH3_1747
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1748.402, 909.7514, 23.8906, 3.0, 3.0, 3.0, True)
goto_if_false @SCRASH3_1747
Player.SetControl($statbike_temp, False)
70@ = 1

:SCRASH3_1747
if 
  70@ == 1
goto_if_false @SCRASH3_1784
Camera.DoFade(1000, Fade.Out)
Streaming.RequestModel(477)
70@ = 2

:SCRASH3_1784
if 
  70@ == 2
goto_if_false @SCRASH3_2290
if and
  not Camera.GetFadingStatus
  Streaming.HasModelLoaded(477)
goto_if_false @SCRASH3_2290
Char.Delete($valet_car[0])
Char.Delete($valet_car[1])
Char.Delete($valet_car[2])
$1876 = 1
StreamedScript.Stream(72)
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(72)
if 
  $flag_cat_mission4_passed > 0
goto_if_false @SCRASH3_1921
$valet_pickup_car = 1

:SCRASH3_1878
if 
  $flag_cat_mission4_passed > 0
goto_if_false @SCRASH3_1914
wait 0
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(72)
goto @SCRASH3_1878

:SCRASH3_1914
$valet_pickup_car = 0

:SCRASH3_1921
if 
  not StreamedScript.HasLoaded(72)
goto_if_false @SCRASH3_1947
wait 0
goto @SCRASH3_1921

:SCRASH3_1947
StreamedScript.StartNew(72)
$freeze_creating_drop_off_cars = 2
$1894 = 1
Path.SwitchPedRoadsOff(-1729.549, 942.886, 40.3585, -1742.773, 937.7814, 10.1928)
Path.SwitchPedRoadsOff(-1768.524, 938.887, 40.7496, -1780.765, 943.4574, 10.0929)
World.ClearArea(-1722.675, 935.279, 23.75, 55.0, False)
92@ = Car.Create(477, -1736.961, 946.0503, 23.7487)
Car.SetCanGoAgainstTraffic(92@, False)
Car.SetHeading(92@, 19.0)
93@ = Char.CreateRandomAsDriver(92@)
Char.MarkAsNoLongerNeeded(93@)
Car.MarkAsNoLongerNeeded(92@)
Streaming.MarkModelAsNoLongerNeeded(477)
if 
  not Car.IsDead(92@)
goto_if_false @SCRASH3_2207
86@ = Sequence.Open()
Task.CarDriveToCoord(-1, 92@, -1753.968, 952.9821, 23.75, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.LeaveCar(-1, 92@)
Task.Say(-1, 229)
Task.WanderStandard(-1)
Sequence.Close(86@)
Char.PerformSequence(93@, 86@)
Sequence.Clear(86@)

:SCRASH3_2207
Blip.Remove(57@)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-1763.482, 959.9526, 25.8866, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1762.601, 959.5414, 25.6518, SwitchType.JumpCut)
70@ = 3
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 3000

:SCRASH3_2290
if 
  70@ == 3
goto_if_false @SCRASH3_2433
if and
  is_int_var_equal_to_constant $valet_scene_running[0] == 2
  is_int_var_equal_to_constant $valet_scene_running[1] == 2
  is_int_var_equal_to_constant $valet_scene_running[2] == 2
goto_if_false @SCRASH3_2377
set_var_int_to_constant $valet_scene_running[0] = 11
set_var_int_to_constant $valet_scene_running[1] = 11
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 700
70@ = 4

:SCRASH3_2377
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 71@
goto_if_false @SCRASH3_2433
set_var_int_to_constant $valet_scene_running[0] = 11
set_var_int_to_constant $valet_scene_running[1] = 11
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 700
70@ = 4

:SCRASH3_2433
if 
  70@ == 4
goto_if_false @SCRASH3_2484
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 71@
goto_if_false @SCRASH3_2484
Camera.DoFade(700, Fade.In)
70@ = 5

:SCRASH3_2484
if 
  70@ == 5
goto_if_false @SCRASH3_2554
if 
  not Camera.GetFadingStatus
goto_if_false @SCRASH3_2554
Text.PrintNow('VAL_6', 6000, 1)
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 6000
70@ = 6

:SCRASH3_2554
if 
  70@ == 6
goto_if_false @SCRASH3_2618
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @SCRASH3_2592
70@ = 7

:SCRASH3_2592
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 71@
goto_if_false @SCRASH3_2618
70@ = 7

:SCRASH3_2618
if 
  70@ == 7
goto_if_false @SCRASH3_2956
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SCRASH3_2689
Char.SetCoordinates($stattreadstamina_ctr, -1747.198, 909.9226, 23.8906)
Char.SetHeading($stattreadstamina_ctr, 5.6727)
goto @SCRASH3_2723

:SCRASH3_2689
$a_driver = Char.GetCarIsUsing($stattreadstamina_ctr)
if 
  not Car.IsDead($a_driver)
goto_if_false @SCRASH3_2723
Car.SetHeading($a_driver, 0.0)

:SCRASH3_2723
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Text.PrintNow('VAL_A25', 6000, 1)
65@ = 2
$this_a = 1
if 
  not Char.IsDead($valet_car[2])
goto_if_false @SCRASH3_2956
63@ = Blip.AddForChar($valet_car[2])
if 
  not Car.IsDead(92@)
goto_if_false @SCRASH3_2956
if 
  not Char.IsInCar($valet_car[2], 92@)
goto_if_false @SCRASH3_2956
if 
  not Char.IsDead(93@)
goto_if_false @SCRASH3_2956
Char.Delete(93@)
Char.WarpIntoCar($valet_car[2], 92@)
$on_footY, $on_footZ, $in_carX = World.GetParkingNodeInArea(-1760.178, 972.2405, 16.1633, -1679.605, 1064.293, 24.8629)
set_var_float_to_var_float $distance_bonus = $on_footY
set_var_float_to_var_float $angle_bonus = $on_footZ
set_var_float_to_var_float $parking_bonus = $in_carX
Task.CarDriveToCoord($valet_car[2], 92@, $on_footY, $on_footZ, $in_carX, 15.0, DriveMode.Accurate, 0, DrivingMode.StopForCars)
set_var_int_to_constant $valet_scene_running[2] = 8

:SCRASH3_2956
if 
  65@ == 2
goto_if_false @SCRASH3_3718
if and
  95@ == 0
  94@ == 1
goto_if_false @SCRASH3_3015
Text.Print('VAL_B3', 5000, 1)

:SCRASH3_3015
if 
  94@ == 1
goto_if_false @SCRASH3_3143
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if and
  $on_footY > -1760.178
  $on_footZ > 972.2405
  $in_carX > 16.1633
  -1679.605 > $on_footY
  1064.293 > $on_footZ
  24.8629 > $in_carX
goto_if_false @SCRASH3_3143
Text.ClearPrints
Text.Print('VAL_B4', 5000, 1)
goto @SCRASH3_18128

:SCRASH3_3143
set_lvar_int_to_lvar_int 95@ = 94@
if 
  Char.DoesExist($valet_car[2])
goto_if_false @SCRASH3_3718
if 
  not Char.IsDead($valet_car[2])
goto_if_false @SCRASH3_3501
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($valet_car[2])
if 
  is_int_var_equal_to_constant $valet_scene_running[2] == 2
goto_if_false @SCRASH3_3240
if 
  $create_drop_off_car_now == 0
goto_if_false @SCRASH3_3240
$a_thief = 1

:SCRASH3_3240
if 
  $g_VB_REAR_DOOR == 0
goto_if_false @SCRASH3_3384
if 
  94@ == 0
goto_if_false @SCRASH3_3377
if and
  $on_footY > -1760.178
  $on_footZ > 972.2405
  $in_carX > 16.1633
  -1679.605 > $on_footY
  1064.293 > $on_footZ
  24.8629 > $in_carX
goto_if_false @SCRASH3_3377
Text.Print('VAL_A22', 5000, 1)
$g_VB_REAR_DOOR = 1
Game.SetWantedMultiplier(-1.0)

:SCRASH3_3377
goto @SCRASH3_3501

:SCRASH3_3384
if or
  -1760.178 > $on_footY
  972.2405 > $on_footZ
  16.1633 > $in_carX
  $on_footY > -1679.605
  $on_footZ > 1064.293
  $in_carX > 24.8629
goto_if_false @SCRASH3_3501
Text.Print('VAL_A23', 4000, 1)
Text.Print('VAL_A24', 5000, 1)
$g_VB_REAR_DOOR = 0
Game.SetWantedMultiplier(1.0)

:SCRASH3_3501
if 
  Char.IsDead($valet_car[2])
goto_if_false @SCRASH3_3718
Blip.Remove(63@)
96@, 97@, 98@ = World.GetDeadCharPickupCoords($valet_car[2])
Game.SetWantedMultiplier(1.0)
if and
  96@ > -1760.178
  97@ > 972.2405
  98@ > 16.1633
  -1679.605 > 96@
  1064.293 > 97@
  24.8629 > 98@
goto_if_false @SCRASH3_3671
74@ = Pickup.Create(#CLOTHESP, PickupType.Once, 96@, 97@, 98@)
64@ = Blip.AddForPickup(74@)
Text.PrintNow('VAL_8', 5000, 1)
65@ = 3
goto @SCRASH3_3718

:SCRASH3_3671
Blip.Remove(61@)
Blip.Remove(62@)
Blip.Remove(63@)
Text.ClearPrints
gosub @SCRASH3_17341
Text.PrintNow('VAL_9', 5000, 1)
goto @SCRASH3_18128

:SCRASH3_3718
if 
  65@ == 3
goto_if_false @SCRASH3_3815
if 
  Pickup.HasBeenCollected(74@)
goto_if_false @SCRASH3_3815
100@ = 1
Audio.SetMusicDoesFade(False)
Camera.DoFade(1000, Fade.Out)
Pickup.Remove(74@)
Blip.Remove(64@)
Streaming.RequestModel(252)
65@ = 41
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 2000
99@ = 0

:SCRASH3_3815
if 
  65@ == 41
goto_if_false @SCRASH3_4126
if 
  not Camera.GetFadingStatus
goto_if_false @SCRASH3_4126
if 
  99@ == 0
goto_if_false @SCRASH3_3895
set_lvar_int_to_constant 151@ = 20802
set_lvar_int_to_lvar_int 153@ = TIMERA
153@ += 500
99@ = 1

:SCRASH3_3895
if 
  Streaming.HasModelLoaded(252)
goto_if_false @SCRASH3_4126
if 
  Char.DoesExist($valet_car[2])
goto_if_false @SCRASH3_3983
96@, 97@, 98@ = Char.GetCoordinatesOfDied($valet_car[2])
96@, 97@, 98@ = World.GetDeadCharPickupCoords($valet_car[2])
if 
  Char.IsHeadMissing($valet_car[2])
goto_if_false @SCRASH3_3978
100@ = 1

:SCRASH3_3978
Char.Delete($valet_car[2])

:SCRASH3_3983
101@ = Char.Create(PedType.CivMale, 252, 96@, 97@, 98@)
Char.SetCoordinates(101@, 96@, 97@, 98@)
Char.MarkAsNoLongerNeeded(101@)
Char.ShutUp(101@, True)
if 
  100@ == 1
goto_if_false @SCRASH3_4051
Char.ExplodeHead(101@)

:SCRASH3_4051
Task.Die(101@)
Player.SetControl($statbike_temp, False)
Player.GiveClothesOutsideShop($statbike_temp, "VALET", "VALET", BodyPart.SpecialCostume)
73@ = 1
Player.BuildModel($statbike_temp)
Player.SetControl($statbike_temp, True)
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 700
65@ = 40

:SCRASH3_4126
if 
  73@ == 1
goto_if_false @SCRASH3_4194
if 
  94@ == 1
goto_if_false @SCRASH3_4194
Text.ClearPrints
gosub @SCRASH3_17341
Text.PrintNow('VAL_B5', 5000, 1)
goto @SCRASH3_18128

:SCRASH3_4194
if 
  65@ == 40
goto_if_false @SCRASH3_4263
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 71@
goto_if_false @SCRASH3_4263
if 
  151@ == 0
goto_if_false @SCRASH3_4263
Camera.DoFade(600, Fade.In)
65@ = 42

:SCRASH3_4263
if 
  65@ == 42
goto_if_false @SCRASH3_4348
if 
  not Camera.GetFadingStatus
goto_if_false @SCRASH3_4348
Audio.SetMusicDoesFade(True)
Text.ClearPrints
Text.PrintNow('VAL_A32', 5000, 1)
Blip.Remove(57@)
57@ = Blip.AddForCoord(-1759.026, 960.4122, 23.8905)
65@ = 4

:SCRASH3_4348
if 
  65@ == 4
goto_if_false @SCRASH3_4508
if 
  102@ == 0
goto_if_false @SCRASH3_4446
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1759.026, 960.4122, 23.8905, 10.0, 10.0, 10.0, False)
goto_if_false @SCRASH3_4446
102@ = 1
281@ = 13

:SCRASH3_4446
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1757.054, 960.1191, 23.8906, 2.0, 2.0, 2.0, True)
goto_if_false @SCRASH3_4508
65@ = 5
72@ = 0

:SCRASH3_4508
if 
  65@ == 5
goto_if_false @SCRASH3_6028
if 
  72@ == 0
goto_if_false @SCRASH3_4573
Camera.DoFade(1000, Fade.Out)
Streaming.RequestModel(551)
Streaming.RequestModel(402)
Streaming.RequestCarRecording(155)
72@ = 1

:SCRASH3_4573
if 
  72@ == 1
goto_if_false @SCRASH3_4723
if 
  not Camera.GetFadingStatus
goto_if_false @SCRASH3_4723
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-1584.371, 727.5854, 28.9622, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1585.114, 727.2239, 28.3981, SwitchType.JumpCut)
Streaming.RequestCollision(-1585.114, 727.2239)
Streaming.LoadSceneInDirection(-1584.371, 727.5854, 28.9622, 270.0)
72@ = 2
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 1000

:SCRASH3_4723
if 
  72@ == 2
goto_if_false @SCRASH3_4774
if and
  Streaming.HasModelLoaded(551)
  Streaming.HasCarRecordingBeenLoaded(155)
goto_if_false @SCRASH3_4774
Blip.Remove(57@)
72@ = 3

:SCRASH3_4774
if 
  72@ == 3
goto_if_false @SCRASH3_5249
if and
  is_int_lvar_greater_than_int_lvar TIMERA > 71@
  Streaming.HasModelLoaded(402)
  Streaming.HasModelLoaded(551)
goto_if_false @SCRASH3_5239
Camera.SetFixedPosition(-1621.481, 738.7783, 14.293, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1620.638, 738.2501, 14.3895, SwitchType.JumpCut)
$playing_scrash1 = Car.Create(551, -1611.379, 725.24, 11.8774)
Car.ChangeColor($playing_scrash1, 4, 4)
Car.StartPlayback($playing_scrash1, 155)
Car.SetCanGoAgainstTraffic($playing_scrash1, False)
37@ = Char.Create(PedType.CivMale, 240, -1611.454, 714.3873, 12.4715)
Char.SetHealth(37@, 200)
Char.SetMaxHealth(37@, 200)
Char.SetHeading(37@, 0.0)
86@ = Sequence.Open()
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_5023
Task.GoStraightToCoord(-1, -1611.596, 723.0802, 12.2361, MoveState.Walk, -2)
Task.EnterCarAsDriver(-1, $playing_scrash1, -2)

:SCRASH3_5023
Sequence.Close(86@)
Char.PerformSequence(37@, 86@)
Sequence.Clear(86@)
World.ClearArea(-1779.804, 915.7557, 23.7487, 25.0, False)
92@ = Car.Create(402, -1779.804, 915.7557, 23.7487)
Car.SetCanGoAgainstTraffic(92@, False)
Car.SetHeading(92@, 270.0)
93@ = Char.CreateRandomAsDriver(92@)
Char.MarkAsNoLongerNeeded(93@)
Car.MarkAsNoLongerNeeded(92@)
Streaming.MarkModelAsNoLongerNeeded(402)
if 
  not Car.IsDead(92@)
goto_if_false @SCRASH3_5218
86@ = Sequence.Open()
Task.CarDriveToCoord(-1, 92@, -1753.968, 952.9821, 23.75, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.LeaveCar(-1, 92@)
Task.Say(-1, 229)
Task.WanderStandard(-1)
Sequence.Close(86@)
Char.PerformSequence(93@, 86@)
Sequence.Clear(86@)

:SCRASH3_5218
Camera.DoFade(1000, Fade.In)
72@ = 4
goto @SCRASH3_5249

:SCRASH3_5239
Streaming.RequestModel(402)
Streaming.RequestModel(551)

:SCRASH3_5249
if 
  72@ == 4
goto_if_false @SCRASH3_5342
if 
  not Camera.GetFadingStatus
goto_if_false @SCRASH3_5342
skip_cutscene_start_internal @SCRASH3_5696
Text.PrintNow('VAL_12', 4000, 1)
Text.Print('VAL_13', 4000, 1)
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 3500
72@ = 5

:SCRASH3_5342
if 
  72@ == 5
goto_if_false @SCRASH3_5386
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 71@
goto_if_false @SCRASH3_5386
72@ = 6

:SCRASH3_5386
if 
  72@ == 6
goto_if_false @SCRASH3_5548
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_5548
if 
  Char.IsInAnyCar(37@)
goto_if_false @SCRASH3_5548
Car.StopPlayback($playing_scrash1)
if and
  not Char.IsDead(37@)
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_5525
86@ = Sequence.Open()
Task.Pause(-1, 800)
Task.CarDriveToCoord(-1, $playing_scrash1, -1571.425, 725.7955, 6.0391, 7.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Sequence.Close(86@)
Char.PerformSequence(37@, 86@)
Sequence.Clear(86@)

:SCRASH3_5525
72@ = 7
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 2000

:SCRASH3_5548
if 
  72@ == 7
goto_if_false @SCRASH3_5659
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 71@
goto_if_false @SCRASH3_5659
Camera.SetFixedPosition(-1587.974, 725.1835, 7.7383, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1588.891, 725.1658, 8.1361, SwitchType.JumpCut)
72@ = 8
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 3000

:SCRASH3_5659
if 
  72@ == 8
goto_if_false @SCRASH3_5712
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 71@
goto_if_false @SCRASH3_5712

:SCRASH3_5696
skip_cutscene_end 
Camera.DoFade(900, Fade.Out)
72@ = 9

:SCRASH3_5712
if 
  72@ == 9
goto_if_false @SCRASH3_5914
if 
  not Camera.GetFadingStatus
goto_if_false @SCRASH3_5914
Streaming.RemoveCarRecording(155)
Path.SwitchRoadsOn(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)
if and
  not Car.IsDead($playing_scrash1)
  not Char.IsDead(37@)
goto_if_false @SCRASH3_5832
if 
  Car.IsPlaybackGoingOn($playing_scrash1)
goto_if_false @SCRASH3_5832
Car.StopPlayback($playing_scrash1)
Car.Delete($playing_scrash1)
Char.Delete(37@)

:SCRASH3_5832
Char.SetCoordinates($stattreadstamina_ctr, -1759.631, 960.4594, 23.8905)
Char.SetHeading($stattreadstamina_ctr, 194.1832)
Streaming.RequestCollision(-1748.402, 909.7514)
Streaming.LoadScene(-1748.402, 909.7514, 23.8906)
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 1000
72@ = 10

:SCRASH3_5914
if 
  72@ == 10
goto_if_false @SCRASH3_6028
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 71@
goto_if_false @SCRASH3_6028
Camera.DoFade(900, Fade.In)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Text.ClearPrints
Text.Print('VAL_A27', 7000, 1)
set_var_int_to_constant $valet_scene_running[0] = 2
set_var_int_to_constant $valet_scene_running[1] = 2
$a_thief = Math.RandomIntInRange(1, 3)
56@ = 1
65@ = 6

:SCRASH3_6028
if 
  $syn2_mission_attempts == 1
goto_if_false @SCRASH3_6094
if 
  Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_6094
Text.ClearPrints
gosub @SCRASH3_17341
Text.Print('VAL_40', 4000, 1)
goto @SCRASH3_18128

:SCRASH3_6094
if 
  56@ == 1
goto_if_false @SCRASH3_6961
if 
  107@ <> 2
goto_if_false @SCRASH3_6961
if and
  not is_int_var_equal_to_constant $valet_scene_running[0] == 2
  not is_int_var_equal_to_constant $valet_scene_running[1] == 2
goto_if_false @SCRASH3_6162
$a_thief = 0

:SCRASH3_6162
if 
  56@ == 1
goto_if_false @SCRASH3_6961
if 
  $a_thief == 0
goto_if_false @SCRASH3_6723
if 
  $1889 == 0
goto_if_false @SCRASH3_6723
if 
  $create_drop_off_car_now == 0
goto_if_false @SCRASH3_6723
if 
  107@ == 0
goto_if_false @SCRASH3_6397
if 
  not Camera.IsPointOnScreen(-1709.886, 899.3372, 23.7422, 5.0)
goto_if_false @SCRASH3_6397
if 
  not Char.IsInArea3D($stattreadstamina_ctr, -1709.886, 899.3372, 23.7422, 20.0, 20.0, 20.0, False)
goto_if_false @SCRASH3_6397
World.ClearArea(-1709.886, 899.3372, 23.7422, 5.0, False)
$playing_scrash1 = Car.Create(551, -1611.379, 725.24, 11.8774)
Car.SetHeading($playing_scrash1, 0.0)
107@ = 1

:SCRASH3_6397
if 
  107@ == 0
goto_if_false @SCRASH3_6560
if 
  not Camera.IsPointOnScreen(-1674.725, 933.5232, 23.7365, 5.0)
goto_if_false @SCRASH3_6560
if 
  not Char.IsInArea3D($stattreadstamina_ctr, -1674.725, 933.5232, 23.7365, 20.0, 20.0, 20.0, False)
goto_if_false @SCRASH3_6560
World.ClearArea(-1674.725, 933.5232, 23.7365, 5.0, False)
$playing_scrash1 = Car.Create(551, -1674.725, 933.5232, 23.7365)
Car.SetHeading($playing_scrash1, 90.0)
107@ = 1

:SCRASH3_6560
if 
  107@ == 0
goto_if_false @SCRASH3_6723
if 
  not Camera.IsPointOnScreen(-1791.158, 877.27, 23.75, 5.0)
goto_if_false @SCRASH3_6723
if 
  not Char.IsInArea3D($stattreadstamina_ctr, -1791.158, 877.27, 23.75, 20.0, 20.0, 20.0, False)
goto_if_false @SCRASH3_6723
World.ClearArea(-1791.158, 877.27, 23.75, 5.0, False)
$playing_scrash1 = Car.Create(551, -1791.158, 877.27, 23.75)
Car.SetHeading($playing_scrash1, 0.0)
107@ = 1

:SCRASH3_6723
if 
  107@ == 1
goto_if_false @SCRASH3_6961
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_6961
Car.ChangeColor($playing_scrash1, 4, 4)
Car.SetCanGoAgainstTraffic($playing_scrash1, False)
37@ = Char.Create(PedType.CivMale, 240, -1611.454, 714.3873, 12.4715)
Char.SetHealth(37@, 200)
Char.SetMaxHealth(37@, 200)
if 
  not Char.IsInAnyCar(37@)
goto_if_false @SCRASH3_6843
Char.ClearTasksImmediately(37@)
Char.WarpIntoCar(37@, $playing_scrash1)

:SCRASH3_6843
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_6940
86@ = Sequence.Open()
Task.Pause(-1, 10000)
Task.CarDriveToCoord(-1, $playing_scrash1, -1758.877, 952.744, 23.7487, 15.0, DriveMode.Normal, 0, DrivingMode.StopForCars)
Task.LeaveCar(-1, $playing_scrash1)
Task.Say(-1, 229)
Task.WanderStandard(-1)
Sequence.Close(86@)
Char.PerformSequence(37@, 86@)
Sequence.Clear(86@)

:SCRASH3_6940
68@ = 1
$syn2_mission_attempts = 1
107@ = 2

:SCRASH3_6961
if 
  68@ == 1
goto_if_false @SCRASH3_7179
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_7131
if 
  Char.IsInCar(37@, $playing_scrash1)
goto_if_false @SCRASH3_7083
105@ = Char.GetScriptTaskStatus(37@, 1560)
if 
  is_int_lvar_equal_to_constant 105@ == 1
goto_if_false @SCRASH3_7076
105@ = Char.GetSequenceProgress(37@)
if 
  105@ == 2
goto_if_false @SCRASH3_7076
106@ = 1

:SCRASH3_7076
goto @SCRASH3_7131

:SCRASH3_7083
if 
  106@ <> 1
goto_if_false @SCRASH3_7131
gosub @SCRASH3_17341
Text.Print('VAL_A1', 4000, 1)
goto @SCRASH3_18128

:SCRASH3_7131
if 
  Char.IsDead(37@)
goto_if_false @SCRASH3_7179
Text.ClearPrints
gosub @SCRASH3_17341
Text.Print('VAL_34', 4000, 1)
goto @SCRASH3_18128

:SCRASH3_7179
if 
  65@ > 6
goto_if_false @SCRASH3_7256
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_7256
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 37@, 80.0, 80.0, False)
goto_if_false @SCRASH3_7256
Char.Delete(37@)
68@ = 0

:SCRASH3_7256
if 
  65@ > 5
goto_if_false @SCRASH3_7429
if and
  108@ == 0
  112@ == 0
goto_if_false @SCRASH3_7429
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_7429
79@ = Car.GetDriver($playing_scrash1)
if and
  not is_int_lvar_equal_to_int_lvar 79@ == 37@
  not is_int_lvar_equal_to_int_var 79@ == $stattreadstamina_ctr
  79@ <> -1
goto_if_false @SCRASH3_7429
Text.Print('VAL_A28', 4000, 1)
Blip.Remove(60@)
60@ = Blip.AddForCar($playing_scrash1)
Blip.Remove(57@)
56@ = 0
108@ = 1
set_lvar_float_to_var_float 109@ = $distance_bonus
set_lvar_float_to_var_float 110@ = $angle_bonus
set_lvar_float_to_var_float 111@ = $parking_bonus

:SCRASH3_7429
if 
  108@ == 1
goto_if_false @SCRASH3_7566
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_7566
if 
  Car.Locate3D($playing_scrash1, 109@, 110@, 111@, 4.0, 4.0, 4.0, False)
goto_if_false @SCRASH3_7535
gosub @SCRASH3_17341
Text.Print('VAL_A29', 4000, 1)
goto @SCRASH3_18128

:SCRASH3_7535
if 
  Char.IsInCar($stattreadstamina_ctr, $playing_scrash1)
goto_if_false @SCRASH3_7566
108@ = 2
Blip.Remove(60@)

:SCRASH3_7566
if 
  65@ == 6
goto_if_false @SCRASH3_8363
if 
  56@ == 1
goto_if_false @SCRASH3_7817
if 
  69@ == 0
goto_if_false @SCRASH3_7739
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, -1759.026, 960.4122, 23.8905, 15.0, 15.0, 15.0, False)
goto_if_false @SCRASH3_7739
Text.ClearPrints
if or
  not Char.IsDead($valet_car[1])
  not Char.IsDead($valet_car[0])
goto_if_false @SCRASH3_7707
Text.PrintNow('VAL_49', 5000, 1)

:SCRASH3_7707
Blip.Remove(57@)
57@ = Blip.AddForCoord(-1759.026, 960.4122, 23.8905)
69@ = 1

:SCRASH3_7739
if 
  69@ == 1
goto_if_false @SCRASH3_7817
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1759.026, 960.4122, 23.8905, 2.0, 2.0, 2.0, True)
goto_if_false @SCRASH3_7817
Blip.Remove(57@)
69@ = 0

:SCRASH3_7817
if 
  56@ == 1
goto_if_false @SCRASH3_8129
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1759.026, 960.4122, 23.8905, 15.0, 15.0, 15.0, False)
goto_if_false @SCRASH3_8129
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_8129
if 
  Car.Locate3D($playing_scrash1, -1757.907, 952.8868, 25.9104, 20.0, 20.0, 15.0, False)
goto_if_false @SCRASH3_8129
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_8129
if 
  Char.IsInCar(37@, $playing_scrash1)
goto_if_false @SCRASH3_8129
if 
  not Char.IsDead($valet_car[1])
goto_if_false @SCRASH3_8053
if 
  Char.LocateAnyMeans3D($valet_car[1], -1759.026, 960.4122, 23.8905, 10.0, 10.0, 10.0, False)
goto_if_false @SCRASH3_8053
56@ = 2

:SCRASH3_8053
if 
  not Char.IsDead($valet_car[0])
goto_if_false @SCRASH3_8124
if 
  Char.LocateAnyMeans3D($valet_car[0], -1759.026, 960.4122, 23.8905, 10.0, 10.0, 10.0, False)
goto_if_false @SCRASH3_8124
56@ = 2

:SCRASH3_8124
Blip.Remove(57@)

:SCRASH3_8129
if 
  56@ == 2
goto_if_false @SCRASH3_8163
56@ = 3
Text.ClearPrints
281@ = 14

:SCRASH3_8163
if 
  106@ == 1
goto_if_false @SCRASH3_8363
77@ = Char.GetCarIsUsing($stattreadstamina_ctr)
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_8363
78@ = Char.GetCarIsUsing(37@)
if 
  not is_int_lvar_equal_to_int_lvar 77@ == 78@
goto_if_false @SCRASH3_8363
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_8363
if 
  Char.IsInCar($stattreadstamina_ctr, $playing_scrash1)
goto_if_false @SCRASH3_8363
Text.ClearPrints
Text.Print('VAL_15', 7000, 1)
65@ = 7
Blip.Remove(57@)
Blip.Remove(59@)
59@ = Blip.AddForCoord(-2045.252, 178.7994, 27.8359)
Car.SetHealth($playing_scrash1, 1000)
$SCrash2_view_debug = 150000
Hud.DisplayTimerWithString($SCrash2_view_debug, TimerDirection.Down, 'VAL_21')
67@ = 1

:SCRASH3_8363
if 
  65@ > 6
goto_if_false @SCRASH3_8592
if or
  10 > 65@
  65@ == 13
  65@ == 20
goto_if_false @SCRASH3_8592
if 
  112@ <> 1
goto_if_false @SCRASH3_8592
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_8592
if 
  not Char.IsInCar($stattreadstamina_ctr, $playing_scrash1)
goto_if_false @SCRASH3_8536
if 
  85@ == 1
goto_if_false @SCRASH3_8536
85@ = 0
Blip.Remove(60@)
60@ = Blip.AddForCar($playing_scrash1)
Blip.SetAsFriendly(60@, True)
Blip.ChangeDisplay(59@, BlipDisplay.Neither)
Text.ClearPrints
Text.Print('VAL_29', 5000, 1)

:SCRASH3_8536
if 
  Char.IsInCar($stattreadstamina_ctr, $playing_scrash1)
goto_if_false @SCRASH3_8592
if 
  85@ == 0
goto_if_false @SCRASH3_8592
85@ = 1
Blip.Remove(60@)
Blip.ChangeDisplay(59@, BlipDisplay.BlipOnly)

:SCRASH3_8592
if 
  65@ == 7
goto_if_false @SCRASH3_8745
if 
  Char.LocateInCar3D($stattreadstamina_ctr, -2033.626, 178.856, 27.8359, 3.0, 3.0, 3.0, True)
goto_if_false @SCRASH3_8745
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_8745
if 
  Char.IsInCar($stattreadstamina_ctr, $playing_scrash1)
goto_if_false @SCRASH3_8745
Blip.Remove(59@)
59@ = Blip.AddForCoord(-2045.947, 178.5964, 28.1397)
Blip.ChangeDisplay(59@, BlipDisplay.BlipOnly)
Text.ClearPrints
Garage.Open('HBGDSFS')
65@ = 80

:SCRASH3_8745
if 
  65@ == 80
goto_if_false @SCRASH3_8945
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_8945
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2038.055, 186.7164, 31.0085, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2037.704, 185.8301, 30.7068, SwitchType.JumpCut)
Car.SetCoordinates($playing_scrash1, -2033.626, 178.856, 27.8359)
Car.SetHeading($playing_scrash1, 90.0)
114@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.CarDriveToCoord(-1, $playing_scrash1, -2047.517, 178.5924, 27.8359, 7.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.LeaveAnyCar(-1)
Sequence.Close(114@)
Char.PerformSequence($stattreadstamina_ctr, 114@)
Sequence.Clear(114@)
65@ = 81

:SCRASH3_8945
if 
  65@ == 81
goto_if_false @SCRASH3_9006
105@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 105@ == 7
goto_if_false @SCRASH3_9006
Camera.DoFade(700, Fade.Out)
65@ = 82

:SCRASH3_9006
if 
  65@ == 82
goto_if_false @SCRASH3_9071
if 
  not Camera.GetFadingStatus
goto_if_false @SCRASH3_9071
Garage.Close('HBGDSFS')
set_lvar_int_to_lvar_int 71@ = TIMERA
71@ += 1000
65@ = 83

:SCRASH3_9071
if 
  65@ == 83
goto_if_false @SCRASH3_9384
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 71@
goto_if_false @SCRASH3_9384
if 
  Garage.IsClosed('HBGDSFS')
goto_if_false @SCRASH3_9384
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_9189
41@, 42@, 43@ = Car.GetCoordinates($playing_scrash1)
50@ = Car.GetHeading($playing_scrash1)
75@, 76@ = Car.GetColors($playing_scrash1)
Car.Delete($playing_scrash1)

:SCRASH3_9189
Streaming.RequestModel(551)

:SCRASH3_9194
if 
  not Streaming.HasModelLoaded(551)
goto_if_false @SCRASH3_9221
wait 0
goto @SCRASH3_9194

:SCRASH3_9221
$playing_scrash1 = Car.Create(551, -2031.502, 178.6435, 27.8516)
Car.ChangeColor($playing_scrash1, 75@, 76@)
Car.SetHeading($playing_scrash1, 270.0)
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_9289
Char.WarpIntoCar($stattreadstamina_ctr, $playing_scrash1)

:SCRASH3_9289
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Camera.DoFade(500, Fade.In)
Blip.Remove(59@)
59@ = Blip.AddForCoord(-1780.069, 970.9553, 23.75)
Blip.ChangeDisplay(59@, BlipDisplay.BlipOnly)
65@ = 8
Text.ClearPrints
Text.Print('VAL_20', 5000, 1)
Text.Print('VAL_A31', 5000, 1)
Player.SetControl($statbike_temp, True)

:SCRASH3_9384
if 
  65@ == 20
goto_if_false @SCRASH3_9964
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, -2037.239, 179.5294, 28.316, 10.0, 10.0, 10.0, False)
goto_if_false @SCRASH3_9500
65@ = 7
Blip.Remove(59@)
59@ = Blip.AddForCoord(-2033.626, 178.856, 27.8359)
Text.ClearPrints
Text.Print('VAL_51', 5000, 1)

:SCRASH3_9500
if 
  Char.LocateInCar3D($stattreadstamina_ctr, -2045.947, 178.5964, 28.1397, 4.0, 4.0, 4.0, True)
goto_if_false @SCRASH3_9964
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_9964
if 
  Char.IsInCar($stattreadstamina_ctr, $playing_scrash1)
goto_if_false @SCRASH3_9964
Player.SetControl($statbike_temp, False)
Task.CarTempAction($stattreadstamina_ctr, $playing_scrash1, TempAction.HandbrakeStraight, 2000000)
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_9964
if 
  Char.IsInCar($stattreadstamina_ctr, $playing_scrash1)
goto_if_false @SCRASH3_9964
Camera.DoFade(1000, Fade.Out)

:SCRASH3_9647
if 
  Camera.GetFadingStatus
goto_if_false @SCRASH3_9671
wait 0
goto @SCRASH3_9647

:SCRASH3_9671
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_9730
41@, 42@, 43@ = Car.GetCoordinates($playing_scrash1)
50@ = Car.GetHeading($playing_scrash1)
75@, 76@ = Car.GetColors($playing_scrash1)
Car.Delete($playing_scrash1)

:SCRASH3_9730
Streaming.RequestModel(551)

:SCRASH3_9735
if 
  not Streaming.HasModelLoaded(551)
goto_if_false @SCRASH3_9762
wait 0
goto @SCRASH3_9735

:SCRASH3_9762
$playing_scrash1 = Car.Create(551, -2031.502, 178.6435, 27.8516)
Car.ChangeColor($playing_scrash1, 75@, 76@)
Car.SetHeading($playing_scrash1, 270.0)
Garage.SetTargetCarForMission('HBGDSFS', $playing_scrash1)
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_9844
Char.WarpIntoCar($stattreadstamina_ctr, $playing_scrash1)

:SCRASH3_9844
Camera.SetBehindPlayer
Camera.RestoreJumpcut
wait 1000
Camera.DoFade(500, Fade.In)

:SCRASH3_9860
if 
  Camera.GetFadingStatus
goto_if_false @SCRASH3_9884
wait 0
goto @SCRASH3_9860

:SCRASH3_9884
Blip.Remove(59@)
59@ = Blip.AddForCoord(-1780.069, 970.9553, 23.75)
Blip.ChangeDisplay(59@, BlipDisplay.BlipOnly)
65@ = 8
Text.ClearPrints
Text.Print('VAL_20', 5000, 1)
Text.Print('VAL_A31', 5000, 1)
Player.SetControl($statbike_temp, True)

:SCRASH3_9964
if 
  65@ == 8
goto_if_false @SCRASH3_10094
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_10094
if 
  Car.Locate3D($playing_scrash1, -1780.069, 970.9553, 23.75, 3.0, 3.0, 3.0, True)
goto_if_false @SCRASH3_10094
Text.Print('VAL_32', 5000, 1)
Blip.Remove(59@)
59@ = Blip.AddForCoord(-1688.214, 987.1218, 16.5855)
65@ = 9

:SCRASH3_10094
if 
  67@ == 1
goto_if_false @SCRASH3_10162
if 
  $SCrash2_view_debug == 0
goto_if_false @SCRASH3_10162
Text.ClearPrints
gosub @SCRASH3_17341
Text.Print('VAL_47', 5000, 1)
goto @SCRASH3_18128

:SCRASH3_10162
if 
  65@ == 9
goto_if_false @SCRASH3_10598
if 
  85@ == 1
goto_if_false @SCRASH3_10598
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_10598
if 
  Car.LocateStopped3D($playing_scrash1, -1688.214, 987.1218, 16.5855, 3.0, 3.0, 3.0, True)
goto_if_false @SCRASH3_10598
Player.SetControl($statbike_temp, False)
Task.LeaveAnyCar($stattreadstamina_ctr)
Car.LockDoors($playing_scrash1, CarLock.LockoutPlayerOnly)
Blip.Remove(59@)
Blip.Remove(60@)
59@ = Blip.AddForCoord(-1742.3, 940.8106, 23.8972)
Blip.ChangeDisplay(59@, BlipDisplay.BlipOnly)
Hud.ClearTimer($SCrash2_view_debug)
67@ = 0
Text.ClearPrints
Text.Print('VAL_A30', 6000, 1)
65@ = 30
113@ = Char.Create(PedType.Mission1, 189, -1772.809, 977.8892, 22.6614)
Char.SetOnlyDamagedByPlayer(113@, True)
114@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, -1710.667, 985.5689, 16.5936, 6, -2)
Task.EnterCarAsDriver(-1, $playing_scrash1, -2)
Task.CarTempAction(-1, $playing_scrash1, TempAction.ReverseRight, 1400)
Task.CarDriveToCoord(-1, $playing_scrash1, -1764.082, 982.5382, 21.1042, 15.0, DriveMode.Normal, 0, DrivingMode.StopForCars)
Task.CarDriveToCoord(-1, $playing_scrash1, -1754.889, 952.3113, 23.7422, 15.0, DriveMode.Normal, 0, DrivingMode.StopForCars)
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -1754.117, 959.0662, 23.8828, MoveState.Walk, -2)
Task.AchieveHeading(-1, 147.0)
Sequence.Close(114@)
Car.SetCanGoAgainstTraffic($playing_scrash1, False)
37@ = Char.Create(PedType.Mission1, 240, -1755.392, 946.9804, 23.8906)
Char.SetHeading(37@, 0.0)
Char.PerformSequence(113@, 114@)
Sequence.Clear(114@)

:SCRASH3_10598
if 
  65@ == 30
goto_if_false @SCRASH3_11066
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_11066
if 
  not Char.IsInCar($stattreadstamina_ctr, $playing_scrash1)
goto_if_false @SCRASH3_10698
if 
  112@ == 0
goto_if_false @SCRASH3_10698
Player.SetControl($statbike_temp, True)
112@ = 1
Car.SetProofs($playing_scrash1, True, True, True, True, True)

:SCRASH3_10698
if 
  Car.IsInArea3D($playing_scrash1, -1764.199, 946.595, 28.3546, -1744.086, 957.879, 22.6221, False)
goto_if_false @SCRASH3_10837
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_10837
105@ = Char.GetScriptTaskStatus(37@, 1560)
if 
  is_int_lvar_equal_to_constant 105@ == 7
goto_if_false @SCRASH3_10837
114@ = Sequence.Open()
Task.EnterCarAsDriver(-1, $playing_scrash1, -2)
Task.CarDriveWander(-1, $playing_scrash1, 15.0, DrivingMode.StopForCars)
Sequence.Close(114@)
Char.PerformSequence(37@, 114@)
Sequence.Clear(114@)

:SCRASH3_10837
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_10904
if 
  Char.IsInCar(37@, $playing_scrash1)
goto_if_false @SCRASH3_10904
Text.ClearPrints
gosub @SCRASH3_17341
Text.Print('VAL_A34', 5000, 1)
goto @SCRASH3_18128

:SCRASH3_10904
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1742.3, 940.8106, 23.8972, 2.0, 2.0, 3.0, True)
goto_if_false @SCRASH3_10985
67@ = 0
Player.SetControl($statbike_temp, False)
Blip.Remove(59@)
65@ = 10
72@ = 90

:SCRASH3_10985
if 
  Car.IsVisiblyDamaged($playing_scrash1)
goto_if_false @SCRASH3_11066
if 
  not Char.IsDead(113@)
goto_if_false @SCRASH3_11066
if 
  not Char.IsInCar(113@, $playing_scrash1)
goto_if_false @SCRASH3_11066
gosub @SCRASH3_17341
Text.Print('VAL_B2', 4000, 1)
goto @SCRASH3_18128

:SCRASH3_11066
if 
  65@ > 7
goto_if_false @SCRASH3_11182
if 
  10 > 65@
goto_if_false @SCRASH3_11182
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_11182
if 
  Car.IsVisiblyDamaged($playing_scrash1)
goto_if_false @SCRASH3_11182
65@ = 7
Text.Print('VAL_31', 5000, 1)
Blip.Remove(59@)
59@ = Blip.AddForCoord(-2045.252, 178.7994, 27.8359)

:SCRASH3_11182
if 
  65@ == 10
goto_if_false @SCRASH3_14701
World.SetUsesCollisionOfClosestObjectOfType(-1741.792, 939.731, 23.8906, 2.5, #LAMPPOST3, False)
if 
  72@ == 90
goto_if_false @SCRASH3_11264
Streaming.RequestModel(330)
338@ = 1
72@ = 91

:SCRASH3_11264
if 
  72@ == 91
goto_if_false @SCRASH3_11480
if 
  Streaming.HasModelLoaded(330)
goto_if_false @SCRASH3_11480
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-1738.083, 938.6749, 25.0378, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1738.96, 939.1542, 25.0127, SwitchType.JumpCut)
World.ClearArea(-1741.792, 939.731, 23.8906, 20.0, False)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SCRASH3_11420
Char.WarpFromCarToCoord($stattreadstamina_ctr, -1741.792, 939.731, 23.8906)
goto @SCRASH3_11440

:SCRASH3_11420
Char.SetCoordinates($stattreadstamina_ctr, -1741.792, 939.731, 23.8906)

:SCRASH3_11440
Char.SetHeading($stattreadstamina_ctr, 270.0)
Task.UseMobilePhone($stattreadstamina_ctr, True)
set_lvar_int_to_lvar_int 123@ = TIMERA
123@ += 2500
72@ = 89

:SCRASH3_11480
if 
  72@ == 89
goto_if_false @SCRASH3_11538
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 123@
goto_if_false @SCRASH3_11538
281@ = 1
282@ = 2
72@ = 88

:SCRASH3_11538
if 
  72@ == 88
goto_if_false @SCRASH3_11609
if and
  281@ == 0
  282@ == 0
goto_if_false @SCRASH3_11609
Task.UseMobilePhone($stattreadstamina_ctr, False)
Camera.DoFade(1000, Fade.Out)
$syn2_mission_attempts = 0
72@ = 87

:SCRASH3_11609
if 
  72@ == 87
goto_if_false @SCRASH3_11741
if 
  not Camera.GetFadingStatus
goto_if_false @SCRASH3_11741
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_11661
Char.Delete(37@)

:SCRASH3_11661
72@ = 99
$1894 = 1
if 
  not Car.IsDead($create_drop_off_car_now)
goto_if_false @SCRASH3_11696
Car.Delete($create_drop_off_car_now)

:SCRASH3_11696
if 
  not Car.IsDead($drop_off_car)
goto_if_false @SCRASH3_11717
Car.Delete($drop_off_car)

:SCRASH3_11717
World.ClearArea(-1741.792, 939.731, 23.0, 80.0, False)

:SCRASH3_11741
if 
  72@ == 99
goto_if_false @SCRASH3_11972
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
$a_char = 1
Streaming.RequestCollision(-1759.449, 954.4333)
Streaming.LoadScene(-1759.449, 954.4333, 23.72)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SCRASH3_11852
Char.WarpFromCarToCoord($stattreadstamina_ctr, -1741.792, 939.731, 23.8906)
goto @SCRASH3_11872

:SCRASH3_11852
Char.SetCoordinates($stattreadstamina_ctr, -1741.792, 939.731, 23.8906)

:SCRASH3_11872
Char.SetHeading($stattreadstamina_ctr, 40.0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-1738.083, 938.6749, 25.0378, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1738.96, 939.1542, 25.0127, SwitchType.JumpCut)
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_11965
Car.Delete($playing_scrash1)

:SCRASH3_11965
72@ = 98

:SCRASH3_11972
if 
  72@ == 98
goto_if_false @SCRASH3_12149
if and
  Streaming.HasModelLoaded(551)
  Streaming.HasModelLoaded(346)
  Streaming.HasModelLoaded(240)
  Streaming.HasAnimationLoaded("POLICE")
  Streaming.HasAnimationLoaded("MISC")
goto_if_false @SCRASH3_12116
if and
  Streaming.HasModelLoaded(281)
  Streaming.HasCarRecordingBeenLoaded(165)
  Streaming.HasCarRecordingBeenLoaded(166)
  Streaming.HasModelLoaded(597)
goto_if_false @SCRASH3_12089
72@ = 0
Streaming.MarkModelAsNoLongerNeeded(415)
Streaming.MarkModelAsNoLongerNeeded(252)
goto @SCRASH3_12109

:SCRASH3_12089
Streaming.RequestModel(597)
Streaming.RequestCarRecording(166)
Streaming.RequestCarRecording(165)
Streaming.RequestModel(281)

:SCRASH3_12109
goto @SCRASH3_12149

:SCRASH3_12116
Streaming.RequestAnimation("MISC")
Streaming.RequestAnimation("POLICE")
Streaming.RequestModel(240)
Streaming.RequestModel(346)
Streaming.RequestModel(551)

:SCRASH3_12149
if 
  72@ == 0
goto_if_false @SCRASH3_12612
Camera.DoFade(800, Fade.In)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
World.ClearArea(-1759.449, 954.4333, 23.72, 50.0, False)
World.SetCarDensityMultiplier(0.0)
$playing_scrash1 = Car.Create(551, -1759.449, 954.4333, 23.72)
Car.ChangeColor($playing_scrash1, 4, 4)
115@ = Car.Create(597, -1711.399, 903.0281, 24.1296)
116@ = Car.Create(597, -1711.016, 893.7642, 24.0975)
Car.SwitchSiren(115@, True)
Car.SwitchSiren(116@, True)
121@ = Char.CreateInsideCar(115@, PedType.CivMale, 281)
122@ = Char.CreateInsideCar(116@, PedType.CivMale, 281)
Char.GiveWeapon(121@, WeaponType.Pistol, 99999)
Char.GiveWeapon(122@, WeaponType.Pistol, 99999)
37@ = Char.Create(PedType.CivMale, 240, -1763.276, 946.1676, 23.8905)
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_12403
Char.WarpIntoCar(37@, $playing_scrash1)

:SCRASH3_12403
117@ = Sequence.Open()
Task.Pause(-1, 6500)
Task.LeaveAnyCar(-1)
Task.HandsUp(-1, 3000)
Sequence.Close(117@)
Char.PerformSequence(37@, 117@)
Sequence.Clear(117@)
Car.SetHeading($playing_scrash1, 90.0)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PLYRLEAN_LOOP", "MISC", 1.0, True, False, False, False, -2)
$7240, $7241, $z = Char.GetCoordinates($stattreadstamina_ctr)
Camera.SetFixedPosition(-1740.345, 939.6078, 25.3651, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1741.223, 940.0797, 25.2814, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 325@ = 37@
set_lvar_int_to_lvar_int 326@ = 121@
set_lvar_int_to_lvar_int 327@ = 122@
set_lvar_int_to_lvar_int 123@ = TIMERA
123@ += 1000
72@ = 1

:SCRASH3_12612
if 
  72@ == 1
goto_if_false @SCRASH3_12656
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 123@
goto_if_false @SCRASH3_12656
72@ = 2

:SCRASH3_12656
if 
  72@ == 2
goto_if_false @SCRASH3_12792
if and
  not Car.IsDead(115@)
  not Car.IsDead(116@)
goto_if_false @SCRASH3_12769
if and
  Streaming.HasCarRecordingBeenLoaded(165)
  Streaming.HasCarRecordingBeenLoaded(166)
goto_if_false @SCRASH3_12759
Car.StartPlayback(115@, 165)
Car.StartPlayback(116@, 166)
Car.SetPlaybackSpeed(115@, 0.8)
Car.SetPlaybackSpeed(116@, 0.8)
goto @SCRASH3_12769

:SCRASH3_12759
Streaming.RequestCarRecording(165)
Streaming.RequestCarRecording(166)

:SCRASH3_12769
set_lvar_int_to_lvar_int 123@ = TIMERA
123@ += 3000
72@ = 3

:SCRASH3_12792
if 
  72@ == 3
goto_if_false @SCRASH3_12836
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 123@
goto_if_false @SCRASH3_12836
72@ = 4

:SCRASH3_12836
if 
  72@ == 4
goto_if_false @SCRASH3_13054
Text.ClearPrints
281@ = 3
282@ = 2
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_13031
if 
  not Char.IsDead(121@)
goto_if_false @SCRASH3_12939
117@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.AimGunAtChar(-1, 37@, 3000)
Sequence.Close(117@)
Char.PerformSequence(121@, 117@)
Sequence.Clear(117@)

:SCRASH3_12939
if 
  not Char.IsDead(122@)
goto_if_false @SCRASH3_13031
117@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoToCoordWhileAiming(-1, -1762.369, 951.1278, 23.7487, 4, 1.0, 1.0, 37@, 0.0, 0.0, 0.0)
Sequence.Close(117@)
Char.PerformSequence(122@, 117@)
Sequence.Clear(117@)

:SCRASH3_13031
set_lvar_int_to_lvar_int 123@ = TIMERA
123@ += 6200
72@ = 5

:SCRASH3_13054
if 
  72@ == 5
goto_if_false @SCRASH3_13116
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 123@
goto_if_false @SCRASH3_13116
if 
  281@ == 0
goto_if_false @SCRASH3_13116
72@ = 6

:SCRASH3_13116
if 
  72@ == 6
goto_if_false @SCRASH3_13533
281@ = 5
282@ = 3
set_lvar_int_to_lvar_int 120@ = TIMERA
120@ += 17333
set_lvar_int_to_lvar_int 119@ = TIMERA
119@ += 17633
set_lvar_int_to_lvar_int 118@ = TIMERA
118@ += 4313
if and
  not Char.IsDead(121@)
  not Char.IsDead(122@)
goto_if_false @SCRASH3_13241
Char.SetCurrentWeapon(121@, WeaponType.Unarmed)
Char.SetCurrentWeapon(122@, WeaponType.Unarmed)
Char.SetHeading(121@, 0.0)

:SCRASH3_13241
Camera.SetFixedPosition(-1768.048, 955.8058, 25.1327, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1767.238, 955.2321, 25.0132, SwitchType.JumpCut)
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_13313
Car.PopBoot($playing_scrash1)

:SCRASH3_13313
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_13421
Char.ClearTasksImmediately(37@)
Char.SetCollision(37@, False)
Char.SetCoordinates(37@, -1761.71, 952.9333, 23.79)
Char.SetHeading(37@, 0.0)
Char.FreezePosition(37@, True)
Task.PlayAnimNonInterruptable(37@, "CRM_DRGBST_01", "POLICE", 1.0, False, False, False, True, -1)

:SCRASH3_13421
Char.SetCoordinates(121@, -1761.724, 952.4515, 23.72)
Char.ClearTasksImmediately(122@)
Char.SetCoordinates(122@, -1755.75, 953.9333, 23.72)
Task.PlayAnimNonInterruptable(121@, "PLC_DRGBST_01", "POLICE", 1.0, True, False, False, False, 25000)
set_lvar_int_to_lvar_int 123@ = TIMERA
123@ += 7606
72@ = 7

:SCRASH3_13533
if 
  72@ == 7
goto_if_false @SCRASH3_13647
if 
  118@ <> 0
goto_if_false @SCRASH3_13603
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 118@
goto_if_false @SCRASH3_13603
Audio.ReportMissionAudioEventAtChar(37@, 1009)
118@ = 0

:SCRASH3_13603
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 123@
goto_if_false @SCRASH3_13647
if 
  281@ == 0
goto_if_false @SCRASH3_13647
72@ = 8

:SCRASH3_13647
if 
  72@ == 8
goto_if_false @SCRASH3_13822
281@ = 8
282@ = 2
Camera.SetFixedPosition(-1757.747, 952.7751, 24.8666, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1756.909, 953.301, 25.0154, SwitchType.JumpCut)
if 
  not Char.IsDead(122@)
goto_if_false @SCRASH3_13799
Char.SetHeading(122@, 90.0)
Task.PlayAnimNonInterruptable(122@, "PLC_DRGBST_02", "POLICE", 1.0, False, False, False, False, -1)

:SCRASH3_13799
set_lvar_int_to_lvar_int 123@ = TIMERA
123@ += 3267
72@ = 9

:SCRASH3_13822
if 
  72@ == 9
goto_if_false @SCRASH3_13884
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 123@
goto_if_false @SCRASH3_13884
if 
  281@ == 0
goto_if_false @SCRASH3_13884
72@ = 10

:SCRASH3_13884
if 
  72@ == 10
goto_if_false @SCRASH3_13990
281@ = 10
282@ = 2
Camera.SetFixedPosition(-1768.048, 955.8058, 25.1327, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1767.238, 955.2321, 25.0132, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 123@ = TIMERA
123@ += 750
72@ = 80

:SCRASH3_13990
if 
  72@ == 80
goto_if_false @SCRASH3_14058
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 120@
goto_if_false @SCRASH3_14058
Audio.ReportMissionAudioEventAtChar(37@, 1130)
set_lvar_int_to_lvar_int 123@ = TIMERA
123@ += 500
72@ = 81

:SCRASH3_14058
if 
  72@ == 81
goto_if_false @SCRASH3_14126
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 119@
goto_if_false @SCRASH3_14126
Audio.ReportMissionAudioEventAtChar(37@, 1009)
set_lvar_int_to_lvar_int 123@ = TIMERA
123@ += 1900
72@ = 11

:SCRASH3_14126
if and
  72@ == 11
  281@ == 0
goto_if_false @SCRASH3_14415
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 123@
goto_if_false @SCRASH3_14415
Camera.SetFixedPosition(-1738.083, 938.6749, 25.0378, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1738.96, 939.1542, 25.0127, SwitchType.JumpCut)
if and
  not Char.IsDead(121@)
  not Char.IsDead(122@)
  not Car.IsDead(115@)
  not Car.IsDead(116@)
  not Char.IsDead(37@)
goto_if_false @SCRASH3_14392
Char.WarpIntoCar(121@, 115@)
Char.WarpIntoCar(122@, 116@)
Char.FreezePosition(37@, False)
Char.WarpIntoCarAsPassenger(37@, 116@, 1)
Task.CarDriveToCoord(122@, 116@, -1790.405, 905.0311, 25.0203, 20.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
117@ = Sequence.Open()
Task.CarTempAction(-1, 115@, TempAction.ReverseRight, 800)
Task.CarDriveToCoord(-1, 115@, -1790.405, 905.0311, 25.0203, 20.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Sequence.Close(117@)
Char.PerformSequence(121@, 117@)
Sequence.Clear(117@)

:SCRASH3_14392
set_lvar_int_to_lvar_int 123@ = TIMERA
123@ += 4000
72@ = 12

:SCRASH3_14415
if 
  72@ == 12
goto_if_false @SCRASH3_14701
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 123@
goto_if_false @SCRASH3_14701
72@ = 13
Camera.DoFade(1000, Fade.Out)

:SCRASH3_14466
if 
  Camera.GetFadingStatus
goto_if_false @SCRASH3_14490
wait 0
goto @SCRASH3_14466

:SCRASH3_14490
if 
  Char.DoesExist(113@)
goto_if_false @SCRASH3_14511
Char.Delete(113@)

:SCRASH3_14511
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_14532
Car.MarkAsNoLongerNeeded($playing_scrash1)

:SCRASH3_14532
if and
  not Char.IsDead(121@)
  not Char.IsDead(122@)
  not Car.IsDead(115@)
  not Car.IsDead(116@)
  not Char.IsDead(37@)
goto_if_false @SCRASH3_14593
Char.Delete(121@)
Char.Delete(122@)
Car.Delete(115@)
Car.Delete(116@)
Char.Delete(37@)

:SCRASH3_14593
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_14614
Car.Delete($playing_scrash1)

:SCRASH3_14614
if 
  Player.IsWearing($statbike_temp, 17, "VALET")
goto_if_false @SCRASH3_14655
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)

:SCRASH3_14655
wait 1000
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Player.SetControl($statbike_temp, True)
Camera.DoFade(1000, Fade.In)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
goto @SCRASH3_18160

:SCRASH3_14701
if 
  65@ == 13
goto_if_false @SCRASH3_15165
if 
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, -2045.252, 178.7994, 27.8359, 3.0, 3.0, 3.0, True)
goto_if_false @SCRASH3_14767

:SCRASH3_14767
if 
  Char.IsInAreaInCar3D($stattreadstamina_ctr, -2042.943, 167.5841, 26.759, -2055.202, 180.1328, 32.3919, False)
goto_if_false @SCRASH3_15165
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_15165
if 
  Char.IsInCar($stattreadstamina_ctr, $playing_scrash1)
goto_if_false @SCRASH3_15165
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:SCRASH3_14864
if 
  Camera.GetFadingStatus
goto_if_false @SCRASH3_14888
wait 0
goto @SCRASH3_14864

:SCRASH3_14888
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_14947
41@, 42@, 43@ = Car.GetCoordinates($playing_scrash1)
50@ = Car.GetHeading($playing_scrash1)
75@, 76@ = Car.GetColors($playing_scrash1)
Car.Delete($playing_scrash1)

:SCRASH3_14947
Streaming.RequestModel(551)

:SCRASH3_14952
if 
  not Streaming.HasModelLoaded(551)
goto_if_false @SCRASH3_14979
wait 0
goto @SCRASH3_14952

:SCRASH3_14979
$playing_scrash1 = Car.Create(551, -2031.502, 178.6435, 27.8516)
Car.ChangeColor($playing_scrash1, 75@, 76@)
Car.SetHeading($playing_scrash1, 270.0)
Garage.SetTargetCarForMission('HBGDSFS', $playing_scrash1)
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_15061
Char.WarpIntoCar($stattreadstamina_ctr, $playing_scrash1)

:SCRASH3_15061
wait 1000
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(500, Fade.In)

:SCRASH3_15084
if 
  Camera.GetFadingStatus
goto_if_false @SCRASH3_15108
wait 0
goto @SCRASH3_15084

:SCRASH3_15108
Blip.Remove(59@)
59@ = Blip.AddForCoord(-1780.069, 970.9553, 23.75)
Blip.ChangeDisplay(59@, BlipDisplay.BlipOnly)
65@ = 8
Text.ClearPrints
Text.Print('VAL_33', 5000, 1)

:SCRASH3_15165
if 
  65@ == 11
goto_if_false @SCRASH3_15183

:SCRASH3_15183
goto @SCRASH3_636

:SCRASH3_15190
if 
  151@ <> 0
goto_if_false @SCRASH3_15381
if 
  150@ == 0
goto_if_false @SCRASH3_15244
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 151@)
150@ = 1

:SCRASH3_15244
if 
  150@ == 1
goto_if_false @SCRASH3_15307
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @SCRASH3_15307
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 153@
goto_if_false @SCRASH3_15307
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
150@ = 2

:SCRASH3_15307
if 
  150@ == 2
goto_if_false @SCRASH3_15381
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @SCRASH3_15381
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
set_lvar_int_to_lvar_int 151@ = 152@
152@ = 0
set_lvar_int_to_lvar_int 153@ = 154@
154@ = 0
150@ = 0

:SCRASH3_15381
if 
  124@ <> 0
goto_if_false @SCRASH3_15581
if 
  125@ == 0
goto_if_false @SCRASH3_15459
125@ = 1
set_lvar_int_to_lvar_int 126@ = TIMERA
127@ = 0
set_lvar_int_to_lvar_int 334@ = 126@
add_int_lvar_to_int_lvar 334@ += 128@(127@,10i)

:SCRASH3_15459
if 
  125@ == 1
goto_if_false @SCRASH3_15581
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 334@
goto_if_false @SCRASH3_15581
set_lvar_int_to_lvar_int 281@ = 138@(127@,10i)
127@ += 1
148@ -= 1
if 
  148@ == 0
goto_if_false @SCRASH3_15561
124@ = 0
125@ = 0
goto @SCRASH3_15581

:SCRASH3_15561
set_lvar_int_to_lvar_int 334@ = 126@
add_int_lvar_to_int_lvar 334@ += 128@(127@,10i)

:SCRASH3_15581
if 
  149@ == 1
goto_if_false @SCRASH3_15645
if 
  not Camera.GetFadingStatus
goto_if_false @SCRASH3_15645
if or
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SCRASH3_15645
149@ = 0
280@ = 5

:SCRASH3_15645
switch_start 280@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @SCRASH3_17339 {caseNum1} 0 {caseLabel1} @SCRASH3_15708 {caseNum2} 1 {caseLabel2} @SCRASH3_16260 {caseNum3} 2 {caseLabel3} @SCRASH3_16994 {caseNum4} 3 {caseLabel4} @SCRASH3_17086 {caseNum5} 4 {caseLabel5} @SCRASH3_17144 {caseNum6} 5 {caseLabel6} @SCRASH3_17258 {caseNum7} -1 {caseLabel7} @SCRASH3_17339

:SCRASH3_15708
if 
  280@ == 1
goto_if_false @SCRASH3_15776
332@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)
336@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)

:SCRASH3_15776
set_lvar_text_label 157@s = 'SCR1_AA'
set_lvar_text_label 159@s = 'SCR1_AB'
set_lvar_text_label 161@s = 'SCR1_AC'
set_lvar_text_label 163@s = 'SCR1_AD'
set_lvar_text_label 165@s = 'SCR1_AE'
set_lvar_text_label 167@s = 'SCR1_AF'
set_lvar_text_label 169@s = 'SCR1_AG'
set_lvar_text_label 171@s = 'SCR1_AH'
set_lvar_text_label 173@s = 'SCR1_AJ'
set_lvar_text_label 175@s = 'SCR1_AK'
set_lvar_text_label 177@s = 'SCR1_AL'
set_lvar_text_label 179@s = 'SCR1_AM'
set_lvar_text_label 181@s = 'SCR1_BB'
set_lvar_text_label 183@s = 'SCR1_BA'
set_lvar_int_to_constant 236@ = 34400
set_lvar_int_to_constant 237@ = 34401
set_lvar_int_to_constant 238@ = 34402
set_lvar_int_to_constant 239@ = 34403
set_lvar_int_to_constant 240@ = 34404
set_lvar_int_to_constant 241@ = 34405
set_lvar_int_to_constant 242@ = 34406
set_lvar_int_to_constant 243@ = 34407
set_lvar_int_to_constant 244@ = 34408
set_lvar_int_to_constant 245@ = 34409
set_lvar_int_to_constant 246@ = 34410
set_lvar_int_to_constant 247@ = 34411
set_lvar_int_to_constant 248@ = 34413
set_lvar_int_to_constant 249@ = 34412
284@ = 1
285@ = 1
286@ = 3
287@ = 3
288@ = 2
289@ = 2
290@ = 3
291@ = 4
292@ = 4
293@ = 2
294@ = 3
295@ = 3
296@ = 0
297@ = 0
set_lvar_int_to_var_int 324@ = $stattreadstamina_ctr
280@ = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 236@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 237@)
276@ = 1
277@ = 2
goto @SCRASH3_17339

:SCRASH3_16260
if 
  281@ <> 0
goto_if_false @SCRASH3_16987
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SCRASH3_16987
if 
  is_int_lvar_equal_to_int_lvar 276@ == 281@
goto_if_false @SCRASH3_16330
278@ = 1
goto @SCRASH3_16393

:SCRASH3_16330
if 
  is_int_lvar_equal_to_int_lvar 277@ == 281@
goto_if_false @SCRASH3_16363
278@ = 2
goto @SCRASH3_16393

:SCRASH3_16363
278@ = 1
set_lvar_int_to_lvar_int 276@ = 281@
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 235@(281@,40i))

:SCRASH3_16393
if 
  Audio.HasMissionAudioLoaded(278@)
goto_if_false @SCRASH3_16975
set_lvar_int_to_lvar_int 331@ = 283@(281@,40i)
set_lvar_int_to_lvar_int 332@ = 323@(331@,7i)
if 
  338@ <> 1
goto_if_false @SCRASH3_16621
335@ = 1
337@ = 0

:SCRASH3_16465
if 
  7 > 335@
goto_if_false @SCRASH3_16621
set_lvar_int_to_lvar_int 336@ = 323@(335@,7i)
if 
  336@ <> 0
goto_if_false @SCRASH3_16607
if 
  not is_int_lvar_equal_to_int_lvar 336@ == 332@
goto_if_false @SCRASH3_16607
if 
  not Char.IsDead(332@)
goto_if_false @SCRASH3_16607
if 
  not Char.IsDead(336@)
goto_if_false @SCRASH3_16607
if 
  Char.LocateAnyMeansChar3D(332@, 336@, 10.0, 10.0, 10.0, False)
goto_if_false @SCRASH3_16607
337@ += 1

:SCRASH3_16607
335@ += 1
goto @SCRASH3_16465

:SCRASH3_16621
if or
  338@ == 1
  337@ > 0
  283@(281@,40i) == 0
goto_if_false @SCRASH3_16968
if 
  283@(281@,40i) <> 0
goto_if_false @SCRASH3_16748
if 
  not Char.IsDead(332@)
goto_if_false @SCRASH3_16748
Audio.AttachMissionAudioToChar(278@, 332@)
if 
  not Char.IsTalking(332@)
goto_if_false @SCRASH3_16741
330@ = 1
Char.StartFacialTalk(332@, 15000)
goto @SCRASH3_16748

:SCRASH3_16741
Char.DisableSpeech(332@, False)

:SCRASH3_16748
if 
  283@(281@,40i) == 0
goto_if_false @SCRASH3_16777
330@ = 1

:SCRASH3_16777
if 
  330@ == 1
goto_if_false @SCRASH3_16968
Audio.PlayMissionAudio(278@)
Text.ClearPrints
Text.Print(155@(281@,40s), 10000, 1)
280@ += 1
330@ = 0
281@ += 1
set_lvar_int_to_lvar_int 279@ = 281@
if 
  235@(281@,40i) <> 0
goto_if_false @SCRASH3_16968
if 
  278@ == 1
goto_if_false @SCRASH3_16930
if 
  not is_int_lvar_equal_to_int_lvar 277@ == 281@
goto_if_false @SCRASH3_16923
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 235@(281@,40i))
set_lvar_int_to_lvar_int 277@ = 281@

:SCRASH3_16923
goto @SCRASH3_16968

:SCRASH3_16930
if 
  not is_int_lvar_equal_to_int_lvar 276@ == 281@
goto_if_false @SCRASH3_16968
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 235@(281@,40i))
set_lvar_int_to_lvar_int 276@ = 281@

:SCRASH3_16968
goto @SCRASH3_16987

:SCRASH3_16975
Audio.LoadMissionAudio(278@, 235@(281@,40i))

:SCRASH3_16987
goto @SCRASH3_17339

:SCRASH3_16994
if 
  Audio.HasMissionAudioFinished(278@)
goto_if_false @SCRASH3_17024
280@ += 1
goto @SCRASH3_17079

:SCRASH3_17024
if 
  Char.DoesExist(332@)
goto_if_false @SCRASH3_17063
if 
  Char.IsDead(332@)
goto_if_false @SCRASH3_17063
280@ += 1

:SCRASH3_17063
if 
  not Char.IsDead(332@)
goto_if_false @SCRASH3_17079

:SCRASH3_17079
goto @SCRASH3_17339

:SCRASH3_17086
Audio.ClearMissionAudio(278@)
275@(278@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(332@)
goto_if_false @SCRASH3_17130
Char.StopFacialTalk(332@)
Char.EnableSpeech(332@)

:SCRASH3_17130
280@ += 1
goto @SCRASH3_17339

:SCRASH3_17144
281@ += 1
if 
  235@(281@,40i) <> 0
goto_if_false @SCRASH3_17197
Audio.LoadMissionAudio(278@, 235@(281@,40i))
set_lvar_int_to_lvar_int 275@(278@,3i) = 281@

:SCRASH3_17197
282@ -= 1
if 
  282@ <= 0
goto_if_false @SCRASH3_17236
281@ = 0
goto @SCRASH3_17244

:SCRASH3_17236
set_lvar_int_to_lvar_int 281@ = 279@

:SCRASH3_17244
280@ = 1
goto @SCRASH3_17339

:SCRASH3_17258
280@ = 1
281@ = 0
282@ = 0
124@ = 0
148@ = 0
Audio.ClearMissionAudio(278@)
275@(278@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(332@)
goto_if_false @SCRASH3_17332
Char.EnableSpeech(332@)

:SCRASH3_17332
goto @SCRASH3_17339

:SCRASH3_17339
return 

:SCRASH3_17341
Text.ClearPrints
if 
  not Game.IsMinigameInProgress
goto_if_false @SCRASH3_17363
Player.SetControl($statbike_temp, False)

:SCRASH3_17363
if 
  not Garage.IsClosed('HBGDSFS')
goto_if_false @SCRASH3_17396
Garage.Close('HBGDSFS')

:SCRASH3_17396
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2039.153, 182.7238, 20.8154, -2057.087, 150.6935, 34.1252, False)
goto_if_false @SCRASH3_17792
if 
  Player.IsWearing($statbike_temp, 17, "VALET")
goto_if_false @SCRASH3_17785
Camera.DoFade(1000, Fade.Out)

:SCRASH3_17476
if 
  Camera.GetFadingStatus
goto_if_false @SCRASH3_17500
wait 0
goto @SCRASH3_17476

:SCRASH3_17500
$stealth_help_flag = 0
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SCRASH3_17551
$stealth_help_flag = Char.GetCarIsUsing($stattreadstamina_ctr)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 0.0, 0.0, 0.0)

:SCRASH3_17551
World.ClearAreaOfCars(-2039.056, 182.7439, 32.4018, -2057.341, 150.5405, 27.7805)
World.ClearAreaOfChars(-2039.056, 182.7439, 32.4018, -2057.341, 150.5405, 27.7805)
Char.SetCoordinatesNoOffset($stattreadstamina_ctr, -2037.886, 178.9478, 27.8359)
Char.SetHeading($stattreadstamina_ctr, 270.0)
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_17682
if 
  not Char.IsInAnyCar(37@)
goto_if_false @SCRASH3_17682
Char.Delete(37@)

:SCRASH3_17682
Player.SetControl($statbike_temp, False)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
$valet_unlocked = 1
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:SCRASH3_17761
if 
  Camera.GetFadingStatus
goto_if_false @SCRASH3_17785
wait 0
goto @SCRASH3_17761

:SCRASH3_17785
goto @SCRASH3_18126

:SCRASH3_17792
if 
  Player.IsWearing($statbike_temp, 17, "VALET")
goto_if_false @SCRASH3_18126
Camera.DoFade(1000, Fade.Out)

:SCRASH3_17824
if 
  Camera.GetFadingStatus
goto_if_false @SCRASH3_17848
wait 0
goto @SCRASH3_17824

:SCRASH3_17848
$stealth_help_flag = 0
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SCRASH3_17899
$stealth_help_flag = Char.GetCarIsUsing($stattreadstamina_ctr)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 0.0, 0.0, 0.0)

:SCRASH3_17899
World.ClearAreaOfCars(-2039.056, 182.7439, 32.4018, -2057.341, 150.5405, 27.7805)
World.ClearAreaOfChars(-2039.056, 182.7439, 32.4018, -2057.341, 150.5405, 27.7805)
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @SCRASH3_17994
Char.WarpIntoCar($stattreadstamina_ctr, $stealth_help_flag)
goto @SCRASH3_18042

:SCRASH3_17994
if 
  $stealth_help_flag <> 0
goto_if_false @SCRASH3_18042
Char.SetCoordinatesNoOffset($stattreadstamina_ctr, -2037.886, 178.9478, 27.8359)
Char.SetHeading($stattreadstamina_ctr, 270.0)

:SCRASH3_18042
if 
  not Char.IsDead(37@)
goto_if_false @SCRASH3_18079
if 
  not Char.IsInAnyCar(37@)
goto_if_false @SCRASH3_18079
Char.Delete(37@)

:SCRASH3_18079
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:SCRASH3_18102
if 
  Camera.GetFadingStatus
goto_if_false @SCRASH3_18126
wait 0
goto @SCRASH3_18102

:SCRASH3_18126
return 

:SCRASH3_18128
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
$valet_unlocked = 1
$1876 = 0
return 

:SCRASH3_18160
Stat.SetInt(StatId.PassedZero1, 1)
$1876 = 1
$force_valet_cleanup = 1
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
Stat.SetInt(StatId.PassedScrash1, 1)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.PlayerMadeProgress(1)
$zeroX += 1
$flag_got_mechanic_clothes = 1
Stat.RegisterMissionPassed('SCRA_1')
Blip.Remove($garage_blip_icon)
$garage_blip_icon = Blip.AddSpriteForContactPoint($zeroY, $zeroZ, $wuziX, RadarSprite.CJ)
Blip.Remove($steal_blip_icon)
return 

:SCRASH3_18272
Game.SetScriptLimitToGangSize(99)
$1875 = 0
$1894 = 0
$freeze_creating_drop_off_cars = 0
Game.SetWantedMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Path.SwitchRoadsOn(2793.814, -1987.935, 15.3045, 2754.324, -1900.369, 9.8752)
Hud.ClearTimer($SCrash2_view_debug)
Blip.Remove(59@)
Blip.Remove(60@)
Blip.Remove(57@)
Blip.Remove(61@)
Blip.Remove(62@)
Blip.Remove(63@)
Blip.Remove(64@)
World.SetUsesCollisionOfClosestObjectOfType(-1741.792, 939.731, 23.8906, 2.5, #LAMPPOST3, True)
CarGenerator.DontSuppressCarModel(551)
Path.SwitchPedRoadsBackToOriginal(-1729.549, 942.886, 40.3585, -1742.773, 937.7814, 10.1928)
Path.SwitchPedRoadsBackToOriginal(-1768.524, 938.887, 40.7496, -1780.765, 943.4574, 10.0929)
Streaming.MarkModelAsNoLongerNeeded(510)
Streaming.MarkModelAsNoLongerNeeded(429)
Streaming.MarkModelAsNoLongerNeeded(415)
Streaming.MarkModelAsNoLongerNeeded(551)
Streaming.MarkModelAsNoLongerNeeded(240)
Streaming.MarkModelAsNoLongerNeeded(252)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.RemoveCarRecording(155)
Streaming.MarkModelAsNoLongerNeeded(597)
Streaming.MarkModelAsNoLongerNeeded(240)
Streaming.MarkModelAsNoLongerNeeded(281)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.RemoveAnimation("POLICE")
Streaming.RemoveAnimation("MISC")
Streaming.RemoveCarRecording(165)
Streaming.RemoveCarRecording(166)
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @SCRASH3_18605
Car.SetProofs($playing_scrash1, False, False, False, False, False)

:SCRASH3_18605
$flag_courier_mission_passed = Clock.GetGameTimer()
$a_char = 0
$weapon_shop1_blip = 0
$1894 = 0
$syn2_mission_attempts = 0
$this_a = 0
$g_VB_REAR_DOOR = 0
Mission.Finish
return 

//-------------Mission 52---------------
// Originally: Snail Trail

:SCRASH2
script_name 'SCRASH2'
$7242 = 0
gosub @SCRASH2_54
if 
  has_deatharrest_been_executed 
goto_if_false @SCRASH2_45
gosub @SCRASH2_20955

:SCRASH2_45
gosub @SCRASH2_21293
terminate_this_script 

:SCRASH2_54
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
75@ = 0
76@ = 0
77@ = 0
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
39@ = 0
40@ = 0
45@ = 0
46@ = 0
47@ = 0
TIMERA = 0
TIMERB = 0
166@ = 0
167@ = 0
168@ = 0
169@ = 0
170@ = 0
144@ = 0
145@ = 0
146@ = 0
149@ = 0
153@ = 0
155@ = 1
161@ = 0
164@ = 0
165@ = 0
if 
  34@ == -99
goto_if_false @SCRASH2_605
write_debug "SHOULD_NEVER_BE_IN_FAKE_ENTITY_CREATION"
81@ = Train.Create(11, 0.0, 0.0, 0.0, False)
87@ = Car.Create(420, 0.0, 0.0, 0.0)
89@ = Car.Create(468, 0.0, 0.0, 0.0)
48@ = 0

:SCRASH2_404
84@(48@,3i) = Train.Create(10, 0.0, 0.0, 0.0, False)
48@ += 1
  48@ >= 3
goto_if_false @SCRASH2_404
78@ = Char.Create(PedType.CivMale, 147, 0.0, 0.0, 0.0)
79@ = Char.Create(PedType.CivMale, 18, 0.0, 0.0, 0.0)
80@ = Char.Create(PedType.CivMale, 46, 0.0, 0.0, 0.0)
95@ = Pickup.CreateWithAmmo(358, PickupType.Once, 0, 0.0, 0.0, 0.0)
90@ = Blip.AddForCoord(0.0, 0.0, 0.0)
91@ = Blip.AddForCar(81@)
92@ = Blip.AddForChar(78@)
93@ = Blip.AddForChar(80@)
94@ = Blip.AddForPickup(95@)

:SCRASH2_605
Text.LoadMissionText('SCRASH2')
gosub @SCRASH2_20312
96@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
97@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
gosub @SCRASH2_20489
131@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Sniper)
155@ = 1

:SCRASH2_661
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SCRASH2_694
36@ = 1
goto @SCRASH2_1017

:SCRASH2_694
gosub @SCRASH2_18834
gosub @SCRASH2_19245
if or
  38@ == 1
  39@ == 1
goto_if_false @SCRASH2_740
goto @SCRASH2_1017

:SCRASH2_740
gosub @SCRASH2_20209
gosub @SCRASH2_20243
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @SCRASH2_784
37@ = 1
goto @SCRASH2_1017

:SCRASH2_784
if 
  34@ == 0
goto_if_false @SCRASH2_842
write_debug "STAGE_SHOULD_NEVER_BE_0_IN_MAIN_LOOP"

:SCRASH2_842
if 
  34@ == 1
goto_if_false @SCRASH2_867
gosub @SCRASH2_1165

:SCRASH2_867
if 
  34@ == 2
goto_if_false @SCRASH2_892
gosub @SCRASH2_1286

:SCRASH2_892
if 
  34@ == 3
goto_if_false @SCRASH2_917
gosub @SCRASH2_2139

:SCRASH2_917
if 
  34@ == 4
goto_if_false @SCRASH2_942
gosub @SCRASH2_3032

:SCRASH2_942
if 
  34@ == 5
goto_if_false @SCRASH2_967
gosub @SCRASH2_5855

:SCRASH2_967
if 
  34@ == 6
goto_if_false @SCRASH2_992
gosub @SCRASH2_6907

:SCRASH2_992
if 
  34@ == 7
goto_if_false @SCRASH2_1017
36@ = 1

:SCRASH2_1017
if 
  38@ == 0
goto_if_false @SCRASH2_1117
if 
  37@ == 0
goto_if_false @SCRASH2_1101
if 
  36@ == 0
goto_if_false @SCRASH2_1085
goto @SCRASH2_661
goto @SCRASH2_1094

:SCRASH2_1085
gosub @SCRASH2_21206
return 

:SCRASH2_1094
goto @SCRASH2_1110

:SCRASH2_1101
gosub @SCRASH2_20955
return 

:SCRASH2_1110
goto @SCRASH2_1119

:SCRASH2_1117
return 

:SCRASH2_1119
write_debug "SHOULD_NEVER_BE_HERE_IN_END_OF_MAIN_LOOP"
return 

:SCRASH2_1165
if 
  35@ == 0
goto_if_false @SCRASH2_1213
gosub @SCRASH2_10051
Text.PrintNow('SCR2_21', 7000, 1)
35@ += 1

:SCRASH2_1213
if 
  35@ == 1
goto_if_false @SCRASH2_1259
if 
  Pickup.HasBeenCollected(95@)
goto_if_false @SCRASH2_1259
Blip.Remove(94@)
35@ = 99

:SCRASH2_1259
if 
  35@ == 99
goto_if_false @SCRASH2_1284
gosub @SCRASH2_20282

:SCRASH2_1284
return 

:SCRASH2_1286
if and
  35@ > 0
  Char.IsDead(78@)
goto_if_false @SCRASH2_1318
37@ = 1
return 

:SCRASH2_1318
if and
  35@ > 1
  Car.IsDead(81@)
goto_if_false @SCRASH2_1350
37@ = 1
return 

:SCRASH2_1350
if 
  35@ == 0
goto_if_false @SCRASH2_1465
gosub @SCRASH2_10187
132@ = -1952.791
133@ = 136.5608
134@ = 25.2734
90@ = Blip.AddForCoord(132@, 133@, 134@)
Blip.ChangeDisplay(90@, BlipDisplay.BlipOnly)
Text.PrintNow('SCR2_00', 8000, 1)
set_lvar_int_to_lvar_int 103@ = 46@
103@ += 6000
35@ += 1

:SCRASH2_1465
if 
  35@ == 1
goto_if_false @SCRASH2_1552
if 
  is_int_lvar_greater_than_int_lvar 46@ > 103@
goto_if_false @SCRASH2_1552
gosub @SCRASH2_10112
Train.SetSpeed(81@, 20.0)
Train.SetCruiseSpeed(81@, 20.0)
Text.Print('SCR2_01', 10000, 1)
35@ += 1

:SCRASH2_1552
if 
  35@ == 2
goto_if_false @SCRASH2_1635
if 
  Car.Locate2D(81@, -1944.545, 130.8166, 5.0, 5.0, False)
goto_if_false @SCRASH2_1635
Train.SetSpeed(81@, 4.0)
Train.SetCruiseSpeed(81@, 0.0)
35@ += 1

:SCRASH2_1635
if 
  35@ == 3
goto_if_false @SCRASH2_1717
if 
  Car.IsStopped(81@)
goto_if_false @SCRASH2_1717
82@ = Train.GetCarriage(81@, 1)
Task.EnterCarAsPassenger(78@, 82@, 500, -1)
set_lvar_int_to_lvar_int 103@ = 46@
103@ += 60000
35@ += 1

:SCRASH2_1717
if 
  35@ == 4
goto_if_false @SCRASH2_1938
64@ = -1978.101
65@ = 78.224
67@ = -1922.002
68@ = 203.4028
if 
  Char.IsInArea2D($stattreadstamina_ctr, 64@, 65@, 67@, 68@, False)
goto_if_false @SCRASH2_1877
Car.LockDoors(81@, CarLock.LockoutPlayerOnly)
Train.SetCruiseSpeed(81@, 40.0)
Blip.Remove(90@)
91@ = Blip.AddForCar(81@)
Char.RemoveElegantly(78@)
167@ = 0
Text.PrintNow('SCR2_02', 10000, 1)
35@ = 99
goto @SCRASH2_1938

:SCRASH2_1877
if 
  is_int_lvar_greater_than_int_lvar 46@ > 103@
goto_if_false @SCRASH2_1938
Car.LockDoors(81@, CarLock.LockoutPlayerOnly)
Train.SetCruiseSpeed(81@, 5.0)
set_lvar_int_to_lvar_int 103@ = 46@
103@ += 60000
35@ += 1

:SCRASH2_1938
if 
  35@ == 5
goto_if_false @SCRASH2_2112
64@ = -1978.101
65@ = 78.224
67@ = -1922.002
68@ = 203.4028
if 
  Char.IsInArea2D($stattreadstamina_ctr, 64@, 65@, 67@, 68@, False)
goto_if_false @SCRASH2_2079
Blip.Remove(90@)
91@ = Blip.AddForCar(81@)
Text.PrintNow('SCR2_02', 10000, 1)
Train.SetCruiseSpeed(81@, 10.0)
35@ = 99
goto @SCRASH2_2112

:SCRASH2_2079
if 
  is_int_lvar_greater_than_int_lvar 46@ > 103@
goto_if_false @SCRASH2_2112
37@ = 1
45@ = 1

:SCRASH2_2112
if 
  35@ == 99
goto_if_false @SCRASH2_2137
gosub @SCRASH2_20282

:SCRASH2_2137
return 

:SCRASH2_2139
if 
  Car.IsDead(81@)
goto_if_false @SCRASH2_2164
37@ = 1
return 

:SCRASH2_2164
if 
  35@ == 0
goto_if_false @SCRASH2_2314
119@ = 0
120@ = 0
121@ = 0
122@ = 0
138@ = 0
139@ = 0
140@ = 0
132@ = 833.7101
133@ = -1383.643
134@ = -2.6352
48@ = 0

:SCRASH2_2268
123@(48@,3i) = -1
48@ += 1
  48@ >= 3
goto_if_false @SCRASH2_2268
Game.SetWantedMultiplier(0.3)
35@ += 1

:SCRASH2_2314
if 
  35@ == 1
goto_if_false @SCRASH2_2432
if 
  Car.Locate2D(81@, 132@, 133@, 5.0, 5.0, False)
goto_if_false @SCRASH2_2432
Train.SetSpeed(81@, 16.0)
Train.SetCruiseSpeed(81@, 0.0)
Text.PrintNow('SCR2_03', 11000, 1)
set_lvar_int_to_lvar_int 111@ = 46@
111@ += 10000
138@ = 1
35@ += 1

:SCRASH2_2432
if 
  35@ == 2
goto_if_false @SCRASH2_2515
if 
  is_int_lvar_greater_than_int_lvar 46@ > 111@
goto_if_false @SCRASH2_2515
gosub @SCRASH2_18816
Text.PrintNow('SCR2_09', 9000, 1)
set_lvar_int_to_lvar_int 111@ = 46@
111@ += 8000
35@ += 1

:SCRASH2_2515
if 
  35@ == 3
goto_if_false @SCRASH2_2559
if 
  is_int_lvar_greater_than_int_lvar 46@ > 111@
goto_if_false @SCRASH2_2559
35@ += 1

:SCRASH2_2559
if 
  35@ == 4
goto_if_false @SCRASH2_2630
if 
  Car.IsStopped(81@)
goto_if_false @SCRASH2_2630
140@ = 1
set_lvar_int_to_lvar_int 103@ = 46@
103@ += 120000
Blip.Remove(91@)
35@ += 1

:SCRASH2_2630
if 
  35@ == 5
goto_if_false @SCRASH2_2673
if 
  139@ == 1
goto_if_false @SCRASH2_2673
35@ = 99

:SCRASH2_2673
gosub @SCRASH2_10288
gosub @SCRASH2_10454
gosub @SCRASH2_10613
gosub @SCRASH2_10745
gosub @SCRASH2_10963
gosub @SCRASH2_11038
if and
  139@ == 0
  140@ == 1
goto_if_false @SCRASH2_2766
if 
  is_int_lvar_greater_than_int_lvar 46@ > 103@
goto_if_false @SCRASH2_2766
139@ = 1

:SCRASH2_2766
if and
  139@ == 0
  140@ == 1
goto_if_false @SCRASH2_2817
if 
  300 > 121@
goto_if_false @SCRASH2_2817
139@ = 1

:SCRASH2_2817
if 
  161@ == 1
goto_if_false @SCRASH2_3005
if 
  not Char.IsInZone($stattreadstamina_ctr, 'SF')
goto_if_false @SCRASH2_3005
if 
  Car.IsDead(89@)
goto_if_false @SCRASH2_2883
161@ = 0

:SCRASH2_2883
if 
  2800 > 121@
goto_if_false @SCRASH2_3005
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
60@, 61@, 62@ = Car.GetCoordinates(89@)
72@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 60@, 61@, 62@)
if 
  100.0 > 72@
goto_if_false @SCRASH2_2988
161@ = 0
goto @SCRASH2_3005

:SCRASH2_2988
161@ = 0
Car.MarkAsNoLongerNeeded(89@)
Streaming.MarkModelAsNoLongerNeeded(468)

:SCRASH2_3005
if 
  35@ == 99
goto_if_false @SCRASH2_3030
gosub @SCRASH2_20282

:SCRASH2_3030
return 

:SCRASH2_3032
if 
  35@ == 0
goto_if_false @SCRASH2_3284
Text.Print('SCR2_04', 5000, 1)
gosub @SCRASH2_15982
gosub @SCRASH2_12265
92@ = Blip.AddForChar(78@)
set_lvar_int_to_lvar_int 103@ = 46@
103@ += 10000
109@ = 0
118@ = 0
143@ = 0
142@ = 0
141@ = 0
154@ = 0
157@ = 0
160@ = 0
163@ = 0
Path.SwitchRoadsOff(789.595, -1387.97, 11.5469, 807.2843, -1334.546, 13.725)
Path.SwitchRoadsOff(804.9978, -1414.032, 11.3801, 908.0844, -1386.618, 13.5524)
Path.SwitchRoadsOff(802.1913, -1335.066, 11.1828, 911.4662, -1313.045, 13.7469)
101@ = 0
102@ = 0
35@ += 1

:SCRASH2_3284
if 
  167@ == 1
goto_if_false @SCRASH2_3385
if 
  Char.IsDead(78@)
goto_if_false @SCRASH2_3334
37@ = 1
45@ = 2
return 

:SCRASH2_3334
if 
  Char.HasBeenDamagedByChar(78@, $stattreadstamina_ctr)
goto_if_false @SCRASH2_3385
37@ = 1
45@ = 7
Task.SmartFleeChar(78@, $stattreadstamina_ctr, 9999.0, 10000)
return 

:SCRASH2_3385
if 
  156@ == 1
goto_if_false @SCRASH2_3438
if 
  is_int_lvar_greater_than_int_lvar 46@ > 118@
goto_if_false @SCRASH2_3436
37@ = 1
45@ = 7

:SCRASH2_3436
return 

:SCRASH2_3438
if 
  157@ == 1
goto_if_false @SCRASH2_3491
if 
  is_int_lvar_greater_than_int_lvar 46@ > 118@
goto_if_false @SCRASH2_3489
37@ = 1
45@ = 7

:SCRASH2_3489
return 

:SCRASH2_3491
if and
  168@ == 1
  141@ == 1
goto_if_false @SCRASH2_3830
if 
  not Car.IsDead(87@)
goto_if_false @SCRASH2_3773
if 
  Char.IsDead(79@)
goto_if_false @SCRASH2_3555
157@ = 1

:SCRASH2_3555
if 
  not Char.IsInCar(79@, 87@)
goto_if_false @SCRASH2_3581
157@ = 1

:SCRASH2_3581
if 
  Car.HasBeenDamagedByChar(87@, $stattreadstamina_ctr)
goto_if_false @SCRASH2_3672
73@ = 1
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SCRASH2_3664
70@ = Char.GetSpeed($stattreadstamina_ctr)
if 
  13.0 > 70@
goto_if_false @SCRASH2_3664
73@ = 0
Car.ClearLastDamageEntity(87@)

:SCRASH2_3664
set_lvar_int_to_lvar_int 157@ = 73@

:SCRASH2_3672
if 
  Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @SCRASH2_3698
157@ = 1

:SCRASH2_3698
if 
  157@ == 1
goto_if_false @SCRASH2_3766
if 
  not Char.IsInAnyCar(78@)
goto_if_false @SCRASH2_3748
Task.SmartFleeChar(78@, $stattreadstamina_ctr, 9999.0, 10000)

:SCRASH2_3748
set_lvar_int_to_lvar_int 118@ = 46@
118@ += 1000
return 

:SCRASH2_3766
goto @SCRASH2_3830

:SCRASH2_3773
157@ = 1
if 
  not Char.IsInAnyCar(78@)
goto_if_false @SCRASH2_3812
Task.SmartFleeChar(78@, $stattreadstamina_ctr, 9999.0, 10000)

:SCRASH2_3812
set_lvar_int_to_lvar_int 118@ = 46@
118@ += 1000
return 

:SCRASH2_3830
if and
  168@ == 1
  141@ == 0
goto_if_false @SCRASH2_4066
if 
  not Car.IsDead(87@)
goto_if_false @SCRASH2_4035
73@ = 0
if 
  Char.IsDead(79@)
goto_if_false @SCRASH2_3901
73@ = 1

:SCRASH2_3901
if 
  not Char.IsInCar(79@, 87@)
goto_if_false @SCRASH2_3927
73@ = 1

:SCRASH2_3927
if 
  Car.HasBeenDamagedByChar(87@, $stattreadstamina_ctr)
goto_if_false @SCRASH2_3953
73@ = 1

:SCRASH2_3953
if 
  Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @SCRASH2_3979
73@ = 1

:SCRASH2_3979
if 
  73@ == 1
goto_if_false @SCRASH2_4028
Car.MarkAsNoLongerNeeded(87@)
Char.MarkAsNoLongerNeeded(79@)
168@ = 0
158@ = 0
gosub @SCRASH2_12377

:SCRASH2_4028
goto @SCRASH2_4066

:SCRASH2_4035
Car.MarkAsNoLongerNeeded(87@)
Char.MarkAsNoLongerNeeded(79@)
168@ = 0
158@ = 0
gosub @SCRASH2_12377

:SCRASH2_4066
if 
  35@ == 1
goto_if_false @SCRASH2_4115
Task.GoStraightToCoord(78@, 833.4493, -1374.261, -1.5078, MoveState.Walk, -1)
35@ += 1

:SCRASH2_4115
if 
  35@ == 2
goto_if_false @SCRASH2_4221
40@ = Char.GetScriptTaskStatus(78@, 1491)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @SCRASH2_4221
Task.PlayAnim(78@, "ROADCROSS", "PED", 4.0, False, False, False, False, -1)
set_lvar_int_to_lvar_int 104@ = 46@
104@ += 250
35@ += 1

:SCRASH2_4221
if 
  35@ == 3
goto_if_false @SCRASH2_4292
if 
  is_int_lvar_greater_than_int_lvar 46@ > 104@
goto_if_false @SCRASH2_4292
if 
  not Char.IsPlayingAnim(78@, "ROADCROSS")
goto_if_false @SCRASH2_4292
35@ += 1

:SCRASH2_4292
if 
  35@ == 4
goto_if_false @SCRASH2_4342
gosub @SCRASH2_12646
if 
  101@ == 7
goto_if_false @SCRASH2_4342
35@ += 1

:SCRASH2_4342
if 
  35@ == 5
goto_if_false @SCRASH2_4419
Task.PlayAnim(78@, "ROADCROSS", "PED", 4.0, False, False, False, False, -1)
set_lvar_int_to_lvar_int 104@ = 46@
104@ += 250
35@ += 1

:SCRASH2_4419
if 
  35@ == 6
goto_if_false @SCRASH2_4504
if 
  is_int_lvar_greater_than_int_lvar 46@ > 104@
goto_if_false @SCRASH2_4504
if 
  not Char.IsPlayingAnim(78@, "ROADCROSS")
goto_if_false @SCRASH2_4504
101@ = 8
102@ = 8
35@ += 1

:SCRASH2_4504
if 
  35@ == 7
goto_if_false @SCRASH2_4641
gosub @SCRASH2_12646
if 
  101@ == 10
goto_if_false @SCRASH2_4641
143@ = 1
set_lvar_int_to_lvar_int 105@ = 46@
105@ += 60000
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SCRASH2_4611
Text.PrintNow('SCR2_20', 10000, 1)
goto @SCRASH2_4627

:SCRASH2_4611
Text.PrintNow('SCR2_06', 10000, 1)

:SCRASH2_4627
163@ = 1
35@ += 1

:SCRASH2_4641
if 
  35@ == 8
goto_if_false @SCRASH2_4774
gosub @SCRASH2_12646
if 
  153@ == 0
goto_if_false @SCRASH2_4774
56@ = Sequence.Open()
Task.AchieveHeading(-1, 90.0)
Task.PlayAnim(-1, "ROADCROSS", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(56@)
Char.PerformSequence(78@, 56@)
Sequence.Clear(56@)
set_lvar_int_to_lvar_int 104@ = 46@
104@ += 250
35@ += 1

:SCRASH2_4774
if 
  35@ == 9
goto_if_false @SCRASH2_4903
gosub @SCRASH2_12646
if 
  153@ == 0
goto_if_false @SCRASH2_4903
if 
  is_int_lvar_greater_than_int_lvar 46@ > 104@
goto_if_false @SCRASH2_4903
40@ = Char.GetScriptTaskStatus(78@, -1)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @SCRASH2_4903
if 
  141@ == 1
goto_if_false @SCRASH2_4896
35@ += 1
goto @SCRASH2_4903

:SCRASH2_4896
35@ -= 1

:SCRASH2_4903
if 
  35@ == 10
goto_if_false @SCRASH2_5046
if 
  158@ == 1
goto_if_false @SCRASH2_5015
56@ = Sequence.Open()
Task.AchieveHeading(-1, 180.0)
Task.PlayAnim(-1, "HIKER_POSE", "MISC", 4.0, False, False, False, True, -1)
Sequence.Close(56@)
Char.PerformSequence(78@, 56@)
Sequence.Clear(56@)
goto @SCRASH2_5039

:SCRASH2_5015
Task.GoStraightToCoord(78@, 821.7603, -1334.683, 12.5391, MoveState.Run, -2)

:SCRASH2_5039
35@ += 1

:SCRASH2_5046
if 
  35@ == 11
goto_if_false @SCRASH2_5375
gosub @SCRASH2_12646
if 
  153@ == 0
goto_if_false @SCRASH2_5276
73@ = 0
if and
  158@ == 1
  Car.Locate3D(87@, 803.7784, -1342.926, 12.5469, 7.0, 7.0, 2.0, False)
goto_if_false @SCRASH2_5158
73@ = 1

:SCRASH2_5158
if and
  158@ == 0
  Car.Locate3D(87@, 824.4391, -1330.707, 12.4174, 7.0, 7.0, 2.0, False)
goto_if_false @SCRASH2_5220
73@ = 1

:SCRASH2_5220
if and
  73@ == 1
  Car.IsStopped(87@)
goto_if_false @SCRASH2_5269
Task.EnterCarAsPassenger(78@, 87@, -2, 2)
154@ = 1
35@ += 1

:SCRASH2_5269
goto @SCRASH2_5375

:SCRASH2_5276
if 
  Char.IsPlayingAnim(78@, "HIKER_POSE")
goto_if_false @SCRASH2_5375
if 
  is_int_lvar_greater_than_int_lvar 46@ > 109@
goto_if_false @SCRASH2_5375
Task.PlayAnim(78@, "ROADCROSS", "PED", 4.0, False, False, False, False, 100)
set_lvar_int_to_lvar_int 109@ = 46@
109@ += 250

:SCRASH2_5375
if 
  35@ == 12
goto_if_false @SCRASH2_5451
40@ = Char.GetScriptTaskStatus(78@, 1482)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @SCRASH2_5451
Car.SetTaxiLights(87@, False)
126@ = 0
set_lvar_int_to_lvar_int 88@ = 87@
35@ = 99

:SCRASH2_5451
if 
  170@ == 0
goto_if_false @SCRASH2_5499
Streaming.RequestModel(420)
Streaming.LoadAllModelsNow
if 
  Streaming.HasModelLoaded(420)
goto_if_false @SCRASH2_5499
170@ = 1

:SCRASH2_5499
if 
  166@ == 1
goto_if_false @SCRASH2_5571
if 
  is_int_lvar_greater_than_int_lvar 46@ > 103@
goto_if_false @SCRASH2_5571
if 
  not Car.IsDead(81@)
goto_if_false @SCRASH2_5562
Train.SetCruiseSpeed(81@, 30.0)

:SCRASH2_5562
Streaming.MarkMissionTrainsAsNoLongerNeeded
166@ = 0

:SCRASH2_5571
if and
  143@ == 1
  142@ == 0
goto_if_false @SCRASH2_5714
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 812.4495, -1343.488, 12.532, 80.0, 80.0, 20.0, False)
goto_if_false @SCRASH2_5679
142@ = 1
gosub @SCRASH2_12313
gosub @SCRASH2_12377
Car.SetTaxiLights(87@, True)
goto @SCRASH2_5714

:SCRASH2_5679
if 
  is_int_lvar_greater_than_int_lvar 46@ > 105@
goto_if_false @SCRASH2_5714
37@ = 1
45@ = 3
return 

:SCRASH2_5714
if and
  141@ == 0
  168@ == 1
goto_if_false @SCRASH2_5794
if 
  Car.Locate3D(87@, 796.9285, -1374.867, 12.3949, 10.0, 10.0, 2.0, False)
goto_if_false @SCRASH2_5794
141@ = 1

:SCRASH2_5794
gosub @SCRASH2_16005
gosub @SCRASH2_16193
if 
  37@ == 1
goto_if_false @SCRASH2_5828
return 

:SCRASH2_5828
if 
  35@ == 99
goto_if_false @SCRASH2_5853
gosub @SCRASH2_20282

:SCRASH2_5853
return 

:SCRASH2_5855
if 
  35@ == 0
goto_if_false @SCRASH2_6033
132@ = 366.4698
133@ = -2030.643
134@ = 6.6582
128@ = 0
129@ = 0
127@ = 0
gosub @SCRASH2_13627
Car.SetCanGoAgainstTraffic(87@, False)
set_lvar_int_to_lvar_int 116@ = 46@
116@ += 3000
152@ = 1
149@ = 0
150@ = 0
159@ = 0
160@ = 0
StuckCarCheck.AddWithWarp(87@, 2.0, 30000, True, True, True, 20)
Text.PrintNow('SCR2_07', 5000, 1)
35@ += 1

:SCRASH2_6033
if 
  Char.IsDead(78@)
goto_if_false @SCRASH2_6065
37@ = 1
45@ = 2
return 

:SCRASH2_6065
if 
  Char.HasBeenDamagedByChar(78@, $stattreadstamina_ctr)
goto_if_false @SCRASH2_6100
37@ = 1
45@ = 7
return 

:SCRASH2_6100
if 
  157@ == 1
goto_if_false @SCRASH2_6153
if 
  is_int_lvar_greater_than_int_lvar 46@ > 118@
goto_if_false @SCRASH2_6151
37@ = 1
45@ = 7

:SCRASH2_6151
return 

:SCRASH2_6153
if 
  not Car.IsDead(87@)
goto_if_false @SCRASH2_6431
if 
  Char.IsDead(79@)
goto_if_false @SCRASH2_6192
157@ = 1

:SCRASH2_6192
if 
  not Char.IsInCar(79@, 87@)
goto_if_false @SCRASH2_6218
157@ = 1

:SCRASH2_6218
if 
  Car.HasBeenDamagedByChar(87@, $stattreadstamina_ctr)
goto_if_false @SCRASH2_6309
73@ = 1
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SCRASH2_6301
70@ = Char.GetSpeed($stattreadstamina_ctr)
if 
  13.0 > 70@
goto_if_false @SCRASH2_6301
73@ = 0
Car.ClearLastDamageEntity(87@)

:SCRASH2_6301
set_lvar_int_to_lvar_int 157@ = 73@

:SCRASH2_6309
if 
  Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @SCRASH2_6335
157@ = 1

:SCRASH2_6335
if 
  157@ == 1
goto_if_false @SCRASH2_6424
if 
  Char.IsInAnyCar(78@)
goto_if_false @SCRASH2_6390
37@ = 1
45@ = 7
goto @SCRASH2_6422

:SCRASH2_6390
set_lvar_int_to_lvar_int 118@ = 46@
118@ += 1000
Task.SmartFleeChar(78@, $stattreadstamina_ctr, 9999.0, 10000)

:SCRASH2_6422
return 

:SCRASH2_6424
goto @SCRASH2_6472

:SCRASH2_6431
157@ = 1
set_lvar_int_to_lvar_int 118@ = 46@
118@ += 1000
Task.SmartFleeChar(78@, $stattreadstamina_ctr, 9999.0, 10000)
return 

:SCRASH2_6472
if 
  35@ == 1
goto_if_false @SCRASH2_6569
if and
  100@ <> 1
  100@ <> 3
goto_if_false @SCRASH2_6569
if 
  Char.LocateAnyMeans3D(78@, 132@, 133@, 134@, 4.0, 4.0, 4.0, False)
goto_if_false @SCRASH2_6569
Hud.ClearCounter($7242)
35@ = 99

:SCRASH2_6569
if 
  149@ == 0
goto_if_false @SCRASH2_6656
if 
  Char.LocateAnyMeans3D(78@, 369.3609, -1671.889, 31.811, 14.0, 6.0, 4.0, False)
goto_if_false @SCRASH2_6656
149@ = 1
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)

:SCRASH2_6656
if 
  150@ == 0
goto_if_false @SCRASH2_6736
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 369.3609, -1671.889, 31.811, 14.0, 4.0, 4.0, False)
goto_if_false @SCRASH2_6729
150@ = 1

:SCRASH2_6729
goto @SCRASH2_6791

:SCRASH2_6736
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 370.2572, -1656.79, 31.7201, 14.0, 4.0, 4.0, False)
goto_if_false @SCRASH2_6791
150@ = 0

:SCRASH2_6791
gosub @SCRASH2_17369
if 
  37@ == 1
goto_if_false @SCRASH2_6818
return 

:SCRASH2_6818
if and
  151@ == 0
  149@ == 1
  150@ == 1
goto_if_false @SCRASH2_6873
151@ = 1
Text.PrintNow('SCR2_18', 10000, 1)

:SCRASH2_6873
gosub @SCRASH2_15210
if 
  35@ == 99
goto_if_false @SCRASH2_6905
gosub @SCRASH2_20282

:SCRASH2_6905
return 

:SCRASH2_6907
if 
  Char.IsDead(78@)
goto_if_false @SCRASH2_6935
144@ = 1
Blip.Remove(92@)

:SCRASH2_6935
if 
  169@ == 1
goto_if_false @SCRASH2_6981
if 
  Char.IsDead(80@)
goto_if_false @SCRASH2_6981
145@ = 1
Blip.Remove(93@)

:SCRASH2_6981
if and
  144@ == 1
  145@ == 1
goto_if_false @SCRASH2_7013
35@ = 99

:SCRASH2_7013
if 
  35@ == 0
goto_if_false @SCRASH2_7345
gosub @SCRASH2_15427
93@ = Blip.AddForChar(80@)
56@ = Sequence.Open()
Task.GoStraightToCoord(-1, 359.4136, -2036.943, 6.836, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 362.2674, -2035.844, 6.836, MoveState.Walk, -2)
Task.AchieveHeading(-1, 270.0)
Sequence.Close(56@)
Char.PerformSequence(80@, 56@)
Sequence.Clear(56@)
56@ = Sequence.Open()
Task.GoStraightToCoord(-1, 363.1874, -2035.844, 6.836, MoveState.Walk, -2)
Task.AchieveHeading(-1, 90.0)
Sequence.Close(56@)
Char.PerformSequence(78@, 56@)
Sequence.Clear(56@)
set_lvar_int_to_lvar_int 106@ = 46@
106@ += 180000
146@ = 0
147@ = 0
98@ = 0
99@ = 0
107@ = 0
148@ = 0
Text.PrintNow('SCR2_19', 10000, 1)
if 
  $burglary_player_stealth == 0
goto_if_false @SCRASH2_7317
164@ = 0
165@ = 0
set_lvar_int_to_lvar_int 112@ = 46@
112@ += 10000
$burglary_player_stealth = 1
goto @SCRASH2_7338

:SCRASH2_7317
164@ = 1
165@ = 1
112@ = 0

:SCRASH2_7338
35@ += 1

:SCRASH2_7345
if 
  35@ == 1
goto_if_false @SCRASH2_7447
if and
  not Char.IsDead(78@)
  not Char.IsDead(80@)
goto_if_false @SCRASH2_7447
40@ = Char.GetScriptTaskStatus(78@, -1)
if 
  is_int_lvar_equal_to_constant 40@ == 1
goto_if_false @SCRASH2_7447
40@ = Char.GetScriptTaskStatus(80@, -1)
if 
  is_int_lvar_equal_to_constant 40@ == 1
goto_if_false @SCRASH2_7447
35@ += 1

:SCRASH2_7447
if 
  35@ == 2
goto_if_false @SCRASH2_7625
if and
  not Char.IsDead(78@)
  not Char.IsDead(80@)
goto_if_false @SCRASH2_7625
40@ = Char.GetScriptTaskStatus(78@, -1)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @SCRASH2_7625
40@ = Char.GetScriptTaskStatus(80@, -1)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @SCRASH2_7625
Task.CharSlideToCoord(80@, 362.2674, -2035.844, 6.836, 270.0, 4.0)
Task.CharSlideToCoord(78@, 363.1874, -2035.844, 6.836, 90.0, 4.0)
set_lvar_int_to_lvar_int 104@ = 46@
104@ += 250
35@ += 1

:SCRASH2_7625
if 
  35@ == 3
goto_if_false @SCRASH2_7814
if and
  not Char.IsDead(78@)
  not Char.IsDead(80@)
goto_if_false @SCRASH2_7814
if 
  is_int_lvar_greater_than_int_lvar 46@ > 104@
goto_if_false @SCRASH2_7814
Task.PlayAnim(78@, "PRTIAL_HNDSHK_BIZ_01", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(80@, "PRTIAL_HNDSHK_BIZ_01", "GANGS", 4.0, False, False, False, False, -1)
set_lvar_int_to_lvar_int 104@ = 46@
104@ += 250
Char.MarkAsNoLongerNeeded(79@)
Car.MarkAsNoLongerNeeded(87@)
35@ += 1

:SCRASH2_7814
if 
  35@ == 4
goto_if_false @SCRASH2_7944
if and
  not Char.IsDead(78@)
  not Char.IsDead(80@)
goto_if_false @SCRASH2_7944
if 
  is_int_lvar_greater_than_int_lvar 46@ > 104@
goto_if_false @SCRASH2_7944
if and
  not Char.IsPlayingAnim(78@, "PRTIAL_HNDSHK_BIZ_01")
  not Char.IsPlayingAnim(80@, "PRTIAL_HNDSHK_BIZ_01")
goto_if_false @SCRASH2_7944
35@ += 1

:SCRASH2_7944
if 
  35@ == 5
goto_if_false @SCRASH2_8053
if and
  not Char.IsDead(78@)
  not Char.IsDead(80@)
goto_if_false @SCRASH2_8053
Task.PlayAnim(78@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
50@ = Math.RandomIntInRange(2000, 5000)
set_lvar_int_to_lvar_int 104@ = 46@
add_int_lvar_to_int_lvar 104@ += 50@
35@ += 1

:SCRASH2_8053
if 
  35@ == 6
goto_if_false @SCRASH2_8123
if and
  not Char.IsDead(78@)
  not Char.IsDead(80@)
goto_if_false @SCRASH2_8123
if 
  is_int_lvar_greater_than_int_lvar 46@ > 104@
goto_if_false @SCRASH2_8123
Char.ClearTasks(78@)
35@ += 1

:SCRASH2_8123
if 
  35@ == 7
goto_if_false @SCRASH2_8232
if and
  not Char.IsDead(78@)
  not Char.IsDead(80@)
goto_if_false @SCRASH2_8232
Task.PlayAnim(80@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
50@ = Math.RandomIntInRange(5000, 10000)
set_lvar_int_to_lvar_int 104@ = 46@
add_int_lvar_to_int_lvar 104@ += 50@
35@ += 1

:SCRASH2_8232
if 
  35@ == 8
goto_if_false @SCRASH2_8302
if and
  not Char.IsDead(78@)
  not Char.IsDead(80@)
goto_if_false @SCRASH2_8302
if 
  is_int_lvar_greater_than_int_lvar 46@ > 104@
goto_if_false @SCRASH2_8302
Char.ClearTasks(80@)
35@ = 5

:SCRASH2_8302
if 
  35@ == 20
goto_if_false @SCRASH2_8559
if 
  not Char.IsDead(80@)
goto_if_false @SCRASH2_8428
56@ = Sequence.Open()
Task.GoStraightToCoord(-1, 361.2376, -2047.841, 6.836, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 354.2802, -2049.696, 6.836, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 354.8605, -2057.588, 6.836, MoveState.Walk, -2)
Sequence.Close(56@)
Char.PerformSequence(80@, 56@)
Sequence.Clear(56@)

:SCRASH2_8428
if 
  not Char.IsDead(78@)
goto_if_false @SCRASH2_8536
56@ = Sequence.Open()
Task.GoStraightToCoord(-1, 361.2376, -2047.841, 6.836, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 354.2802, -2049.696, 6.836, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 354.863, -2060.05, 6.836, MoveState.Walk, -2)
Sequence.Close(56@)
Char.PerformSequence(78@, 56@)
Sequence.Clear(56@)

:SCRASH2_8536
Text.PrintNow('SCR2_05', 10000, 1)
35@ += 1

:SCRASH2_8559
if 
  35@ == 21
goto_if_false @SCRASH2_8661
if and
  not Char.IsDead(78@)
  not Char.IsDead(80@)
goto_if_false @SCRASH2_8661
40@ = Char.GetScriptTaskStatus(78@, -1)
if 
  is_int_lvar_equal_to_constant 40@ == 1
goto_if_false @SCRASH2_8661
40@ = Char.GetScriptTaskStatus(80@, -1)
if 
  is_int_lvar_equal_to_constant 40@ == 1
goto_if_false @SCRASH2_8661
35@ += 1

:SCRASH2_8661
if 
  35@ == 22
goto_if_false @SCRASH2_8782
if and
  not Char.IsDead(78@)
  not Char.IsDead(80@)
goto_if_false @SCRASH2_8782
40@ = Char.GetScriptTaskStatus(78@, -1)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @SCRASH2_8782
40@ = Char.GetScriptTaskStatus(80@, -1)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @SCRASH2_8782
37@ = 1
45@ = 4
Char.RemoveElegantly(78@)
Char.RemoveElegantly(80@)
return 

:SCRASH2_8782
if 
  35@ == 30
goto_if_false @SCRASH2_8873
98@ = 3
99@ = 3
if 
  not Char.IsDead(78@)
goto_if_false @SCRASH2_8835
Char.ClearTasks(78@)

:SCRASH2_8835
if 
  not Char.IsDead(80@)
goto_if_false @SCRASH2_8856
Char.ClearTasks(80@)

:SCRASH2_8856
Char.MarkAsNoLongerNeeded(79@)
Car.MarkAsNoLongerNeeded(87@)
35@ += 1

:SCRASH2_8873
if 
  35@ == 31
goto_if_false @SCRASH2_8905
gosub @SCRASH2_15527
gosub @SCRASH2_15749

:SCRASH2_8905
if 
  146@ == 0
goto_if_false @SCRASH2_9434
if 
  144@ == 1
goto_if_false @SCRASH2_8964
146@ = 1
Text.PrintNow('SCR2_10', 10000, 1)

:SCRASH2_8964
if 
  146@ == 0
goto_if_false @SCRASH2_9023
if 
  145@ == 1
goto_if_false @SCRASH2_9023
146@ = 1
Text.PrintNow('SCR2_11', 10000, 1)

:SCRASH2_9023
if 
  146@ == 0
goto_if_false @SCRASH2_9083
if 
  Char.HasBeenDamagedByChar(78@, $stattreadstamina_ctr)
goto_if_false @SCRASH2_9083
146@ = 1
Text.PrintNow('SCR2_14', 10000, 1)

:SCRASH2_9083
if 
  146@ == 0
goto_if_false @SCRASH2_9143
if 
  Char.HasBeenDamagedByChar(80@, $stattreadstamina_ctr)
goto_if_false @SCRASH2_9143
146@ = 1
Text.PrintNow('SCR2_15', 10000, 1)

:SCRASH2_9143
if and
  146@ == 0
  148@ == 0
goto_if_false @SCRASH2_9229
if 
  Char.IsShootingInArea($stattreadstamina_ctr, 349.8409, -2088.798, 409.7505, -1869.887, False)
goto_if_false @SCRASH2_9229
148@ = 1
set_lvar_int_to_lvar_int 107@ = 46@
107@ += 1000

:SCRASH2_9229
if and
  146@ == 0
  148@ == 1
goto_if_false @SCRASH2_9296
if 
  is_int_lvar_greater_than_int_lvar 46@ > 107@
goto_if_false @SCRASH2_9296
146@ = 1
Text.PrintNow('SCR2_12', 10000, 1)

:SCRASH2_9296
if 
  146@ == 0
goto_if_false @SCRASH2_9409
57@, 58@, 59@ = Char.GetCoordinates(80@)
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
70@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 60@, 61@, 62@)
if 
  30.0 > 70@
goto_if_false @SCRASH2_9409
146@ = 1
Text.PrintNow('SCR2_13', 10000, 1)

:SCRASH2_9409
if 
  146@ == 1
goto_if_false @SCRASH2_9434
35@ = 30

:SCRASH2_9434
if and
  146@ == 0
  147@ == 0
goto_if_false @SCRASH2_9492
if 
  is_int_lvar_greater_than_int_lvar 46@ > 106@
goto_if_false @SCRASH2_9492
147@ = 1
35@ = 20

:SCRASH2_9492
if 
  146@ == 1
goto_if_false @SCRASH2_9798
if 
  144@ == 0
goto_if_false @SCRASH2_9654
if 
  not Char.IsInArea2D(78@, 349.8409, -2088.798, 409.7505, -1869.887, False)
goto_if_false @SCRASH2_9654
57@, 58@, 59@ = Char.GetCoordinates(78@)
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
70@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 60@, 61@, 62@)
if 
  70@ > 200.0
goto_if_false @SCRASH2_9654
37@ = 1
45@ = 5
return 

:SCRASH2_9654
if 
  145@ == 0
goto_if_false @SCRASH2_9798
if 
  not Char.IsInArea2D(80@, 349.8409, -2088.798, 409.7505, -1869.887, False)
goto_if_false @SCRASH2_9798
57@, 58@, 59@ = Char.GetCoordinates(80@)
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
70@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 60@, 61@, 62@)
if 
  70@ > 200.0
goto_if_false @SCRASH2_9798
37@ = 1
45@ = 6
return 

:SCRASH2_9798
if 
  164@ == 0
goto_if_false @SCRASH2_9869
if 
  is_int_lvar_greater_than_int_lvar 46@ > 112@
goto_if_false @SCRASH2_9869
Text.PrintHelpForever('SNIPER1')
164@ = 1
set_lvar_int_to_lvar_int 112@ = 46@
112@ += 15000

:SCRASH2_9869
if 
  164@ == 1
goto_if_false @SCRASH2_9960
if 
  165@ == 0
goto_if_false @SCRASH2_9960
if 
  is_int_lvar_greater_than_int_lvar 46@ > 112@
goto_if_false @SCRASH2_9960
Text.ClearHelp
Text.PrintHelpForever('SNIPER2')
165@ = 1
set_lvar_int_to_lvar_int 112@ = 46@
112@ += 10000

:SCRASH2_9960
if 
  165@ == 1
goto_if_false @SCRASH2_10024
if 
  112@ > 0
goto_if_false @SCRASH2_10024
if 
  is_int_lvar_greater_than_int_lvar 46@ > 112@
goto_if_false @SCRASH2_10024
Text.ClearHelp
112@ = 0

:SCRASH2_10024
if 
  35@ == 99
goto_if_false @SCRASH2_10049
gosub @SCRASH2_20282

:SCRASH2_10049
return 

:SCRASH2_10051
57@ = -2063.225
58@ = 258.3273
59@ = 35.3958
95@ = Pickup.CreateWithAmmo(358, PickupType.Once, 5, 57@, 58@, 59@)
94@ = Blip.AddForPickup(95@)
return 

:SCRASH2_10112
57@ = -1937.312
58@ = 221.1162
59@ = 23.8414
World.ClearArea(57@, 58@, 59@, 60.0, True)
81@ = Train.Create(11, 57@, 58@, 59@, False)
166@ = 1
return 

:SCRASH2_10187
57@ = -1939.52
58@ = 132.8362
59@ = 25.2734
63@ = 90.4279
World.ClearArea(57@, 58@, 59@, 1.0, True)
78@ = Char.Create(PedType.CivMale, 147, 57@, 58@, 59@)
Char.SetHeading(78@, 63@)
Char.SetIsTargetPriority(78@, True)
167@ = 1
return 

:SCRASH2_10288
if 
  138@ == 1
goto_if_false @SCRASH2_10308
return 

:SCRASH2_10308
if 
  41@ <> 5
goto_if_false @SCRASH2_10328
return 

:SCRASH2_10328
57@, 58@, 59@ = Car.GetCoordinates(81@)
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_lvar_float 64@ = 57@
sub_float_lvar_from_float_lvar 64@ -= 60@
set_lvar_float_to_lvar_float 65@ = 58@
sub_float_lvar_from_float_lvar 65@ -= 61@
set_lvar_float_to_lvar_float 67@ = 64@
mult_float_lvar_by_float_lvar 67@ *= 64@
set_lvar_float_to_lvar_float 68@ = 65@
mult_float_lvar_by_float_lvar 68@ *= 65@
set_lvar_float_to_lvar_float 70@ = 67@
add_float_lvar_to_float_lvar 70@ += 68@
71@ = Math.Sqrt(70@)
cset_lvar_int_to_lvar_float 119@ =# 71@
return 

:SCRASH2_10454
if 
  138@ == 1
goto_if_false @SCRASH2_10481
120@ = 0
return 

:SCRASH2_10481
if 
  41@ <> 3
goto_if_false @SCRASH2_10501
return 

:SCRASH2_10501
57@, 58@, 59@ = Car.GetCoordinates(81@)
set_lvar_float_to_lvar_float 64@ = 57@
sub_float_lvar_from_float_lvar 64@ -= 132@
set_lvar_float_to_lvar_float 65@ = 58@
sub_float_lvar_from_float_lvar 65@ -= 133@
set_lvar_float_to_lvar_float 67@ = 64@
mult_float_lvar_by_float_lvar 67@ *= 64@
set_lvar_float_to_lvar_float 68@ = 65@
mult_float_lvar_by_float_lvar 68@ *= 65@
set_lvar_float_to_lvar_float 70@ = 67@
add_float_lvar_to_float_lvar 70@ += 68@
71@ = Math.Sqrt(70@)
cset_lvar_int_to_lvar_float 120@ =# 71@
return 

:SCRASH2_10613
if 
  41@ <> 1
goto_if_false @SCRASH2_10633
return 

:SCRASH2_10633
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_lvar_float 64@ = 57@
sub_float_lvar_from_float_lvar 64@ -= 132@
set_lvar_float_to_lvar_float 65@ = 58@
sub_float_lvar_from_float_lvar 65@ -= 133@
set_lvar_float_to_lvar_float 67@ = 64@
mult_float_lvar_by_float_lvar 67@ *= 64@
set_lvar_float_to_lvar_float 68@ = 65@
mult_float_lvar_by_float_lvar 68@ *= 65@
set_lvar_float_to_lvar_float 70@ = 67@
add_float_lvar_to_float_lvar 70@ += 68@
71@ = Math.Sqrt(70@)
cset_lvar_int_to_lvar_float 121@ =# 71@
return 

:SCRASH2_10745
if 
  138@ == 1
goto_if_false @SCRASH2_10765
return 

:SCRASH2_10765
if 
  41@ <> 7
goto_if_false @SCRASH2_10785
return 

:SCRASH2_10785
70@ = 25.0
if 
  is_int_lvar_greater_or_equal_to_int_lvar 121@ >= 120@
goto_if_false @SCRASH2_10896
if 
  80 > 119@
goto_if_false @SCRASH2_10889
71@ = Car.GetSpeed(81@)
71@ += 2.0
if 
  71@ > 25.0
goto_if_false @SCRASH2_10881
71@ = 25.0

:SCRASH2_10881
Train.SetSpeed(81@, 71@)

:SCRASH2_10889
goto @SCRASH2_10953

:SCRASH2_10896
71@ = Car.GetSpeed(81@)
71@ += 2.0
if 
  71@ > 25.0
goto_if_false @SCRASH2_10945
71@ = 25.0

:SCRASH2_10945
Train.SetSpeed(81@, 71@)

:SCRASH2_10953
Train.SetCruiseSpeed(81@, 70@)
return 

:SCRASH2_10963
if 
  122@ == 0
goto_if_false @SCRASH2_11016
if 
  120@ == 0
goto_if_false @SCRASH2_11006
goto @SCRASH2_11014

:SCRASH2_11006
set_lvar_int_to_lvar_int 122@ = 120@

:SCRASH2_11014
return 

:SCRASH2_11016
if 
  5 > 120@
goto_if_false @SCRASH2_11036
return 

:SCRASH2_11036
return 

:SCRASH2_11038
73@ = 1
48@ = 0

:SCRASH2_11052
if 
  123@(48@,3i) <> -2
goto_if_false @SCRASH2_11081
73@ = 0

:SCRASH2_11081
48@ += 1
  48@ >= 3
goto_if_false @SCRASH2_11052
if 
  73@ == 1
goto_if_false @SCRASH2_11122
return 

:SCRASH2_11122
48@ = 0

:SCRASH2_11129
if 
  123@(48@,3i) == -1
goto_if_false @SCRASH2_11288

:SCRASH2_11151
123@(48@,3i) = Math.RandomIntInRange(0, 5)
73@ = 0
49@ = 0

:SCRASH2_11178
if 
  is_int_lvar_greater_than_int_lvar 48@ > 49@
goto_if_false @SCRASH2_11263
if 
  73@ == 0
goto_if_false @SCRASH2_11249
if 
  is_int_lvar_equal_to_int_lvar 123@(48@,3i) == 123@(49@,3i)
goto_if_false @SCRASH2_11249
73@ = 1

:SCRASH2_11249
49@ += 1
goto @SCRASH2_11178

:SCRASH2_11263
if 
  73@ == 1
goto_if_false @SCRASH2_11288
goto @SCRASH2_11151

:SCRASH2_11288
48@ += 1
  48@ >= 3
goto_if_false @SCRASH2_11129
48@ = 0

:SCRASH2_11316
73@ = 0
switch_start 123@(48@,3i) {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @SCRASH2_11700 {caseNum1} 0 {caseLabel1} @SCRASH2_11390 {caseNum2} 1 {caseLabel2} @SCRASH2_11452 {caseNum3} 2 {caseLabel3} @SCRASH2_11514 {caseNum4} 3 {caseLabel4} @SCRASH2_11576 {caseNum5} 4 {caseLabel5} @SCRASH2_11638 {caseNum6} -1 {caseLabel6} @SCRASH2_11700 {caseNum7} -1 {caseLabel7} @SCRASH2_11700

:SCRASH2_11390
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1982.442, -598.0178, 24.7266, 8.0, 8.0, 2.0, False)
goto_if_false @SCRASH2_11445
73@ = 1

:SCRASH2_11445
goto @SCRASH2_11700

:SCRASH2_11452
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1827.173, -1332.306, 12.9453, 8.0, 8.0, 2.0, False)
goto_if_false @SCRASH2_11507
73@ = 1

:SCRASH2_11507
goto @SCRASH2_11700

:SCRASH2_11514
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -946.4463, -1497.618, 89.28716, 8.0, 8.0, 2.0, False)
goto_if_false @SCRASH2_11569
73@ = 1

:SCRASH2_11569
goto @SCRASH2_11700

:SCRASH2_11576
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -620.5595, -1144.573, 42.0616, 8.0, 8.0, 2.0, False)
goto_if_false @SCRASH2_11631
73@ = 1

:SCRASH2_11631
goto @SCRASH2_11700

:SCRASH2_11638
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 98.3887, -1021.795, 21.2188, 8.0, 8.0, 2.0, False)
goto_if_false @SCRASH2_11693
73@ = 1

:SCRASH2_11693
goto @SCRASH2_11700

:SCRASH2_11700
if 
  73@ == 1
goto_if_false @SCRASH2_12242
50@ = Math.RandomIntInRange(10, 14)
51@ = Math.RandomIntInRange(10, 20)
cset_lvar_float_to_lvar_int 70@ =# 51@
switch_start 123@(48@,3i) {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @SCRASH2_12231 {caseNum1} 0 {caseLabel1} @SCRASH2_11811 {caseNum2} 1 {caseLabel2} @SCRASH2_11895 {caseNum3} 2 {caseLabel3} @SCRASH2_11979 {caseNum4} 3 {caseLabel4} @SCRASH2_12063 {caseNum5} 4 {caseLabel5} @SCRASH2_12147 {caseNum6} -1 {caseLabel6} @SCRASH2_12231 {caseNum7} -1 {caseLabel7} @SCRASH2_12231

:SCRASH2_11811
World.ClearArea(-1875.72, -1267.059, 12.9511, 100.0, True)
84@(48@,3i) = Train.Create(50@, -1875.72, -1267.059, 12.9511, True)
Train.SetSpeed(84@(48@,3i), 70@)
Train.SetCruiseSpeed(84@(48@,3i), 70@)
goto @SCRASH2_12231

:SCRASH2_11895
World.ClearArea(-1332.721, -1514.888, 22.7265, 100.0, True)
84@(48@,3i) = Train.Create(50@, -1332.721, -1514.888, 22.7265, True)
Train.SetSpeed(84@(48@,3i), 70@)
Train.SetCruiseSpeed(84@(48@,3i), 70@)
goto @SCRASH2_12231

:SCRASH2_11979
World.ClearArea(-673.6719, -1127.875, 48.8875, 100.0, True)
84@(48@,3i) = Train.Create(50@, -673.6719, -1127.875, 48.8875, True)
Train.SetSpeed(84@(48@,3i), 70@)
Train.SetCruiseSpeed(84@(48@,3i), 70@)
goto @SCRASH2_12231

:SCRASH2_12063
World.ClearArea(-321.8627, -1191.647, 35.5265, 100.0, True)
84@(48@,3i) = Train.Create(50@, -321.8627, -1191.647, 35.5265, True)
Train.SetSpeed(84@(48@,3i), 70@)
Train.SetCruiseSpeed(84@(48@,3i), 70@)
goto @SCRASH2_12231

:SCRASH2_12147
World.ClearArea(802.302, -1362.661, -2.6302, 100.0, True)
84@(48@,3i) = Train.Create(50@, 802.302, -1362.661, -2.6302, True)
Train.SetSpeed(84@(48@,3i), 70@)
Train.SetCruiseSpeed(84@(48@,3i), 70@)
goto @SCRASH2_12231

:SCRASH2_12231
123@(48@,3i) = -2

:SCRASH2_12242
48@ += 1
  48@ >= 3
goto_if_false @SCRASH2_11316
return 

:SCRASH2_12265
83@ = Train.GetCarriage(81@, 2)
78@ = Char.CreateInsideCar(83@, PedType.CivMale, 147)
Char.SetDecisionMaker(78@, 96@)
Task.LeaveCar(78@, 83@)
167@ = 1
return 

:SCRASH2_12313
158@ = 1
if 
  Char.IsInArea3D($stattreadstamina_ctr, 685.9716, -1433.523, 11.0857, 965.9512, -1379.386, 14.9731, False)
goto_if_false @SCRASH2_12375
158@ = 0

:SCRASH2_12375
return 

:SCRASH2_12377
if 
  158@ == 1
goto_if_false @SCRASH2_12442
57@ = 850.1132
58@ = -1391.708
59@ = 12.4161
63@ = 101.528
goto @SCRASH2_12482

:SCRASH2_12442
57@ = 847.1364
58@ = -1331.128
59@ = 12.5097
63@ = 91.6504

:SCRASH2_12482
World.ClearArea(57@, 58@, 59@, 10.0, True)
87@ = Car.Create(420, 57@, 58@, 59@)
Car.SetHeading(87@, 63@)
79@ = Char.CreateInsideCar(87@, PedType.CivMale, 18)
if 
  158@ == 1
goto_if_false @SCRASH2_12596
Task.CarDriveToCoord(79@, 87@, 801.0299, -1337.929, 12.3906, 12.0, DriveMode.Normal, 0, DrivingMode.StopForCarsIgnoreLights)
goto @SCRASH2_12637

:SCRASH2_12596
Task.CarDriveToCoord(79@, 87@, 824.4391, -1330.707, 12.4174, 12.0, DriveMode.Normal, 0, DrivingMode.StopForCarsIgnoreLights)
141@ = 1

:SCRASH2_12637
168@ = 1
return 

:SCRASH2_12646
if 
  153@ == 1
goto_if_false @SCRASH2_12930
if 
  163@ == 1
goto_if_false @SCRASH2_12700
40@ = Char.GetScriptTaskStatus(78@, 1492)
goto @SCRASH2_12711

:SCRASH2_12700
40@ = Char.GetScriptTaskStatus(78@, 1471)

:SCRASH2_12711
if 
  is_int_lvar_greater_than_int_lvar 46@ > 117@
goto_if_false @SCRASH2_12928
if and
  not is_int_lvar_equal_to_constant 40@ == 1
  not is_int_lvar_equal_to_constant 40@ == 0
goto_if_false @SCRASH2_12928
if 
  163@ == 1
goto_if_false @SCRASH2_12876
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_lvar_float 64@ = 57@
set_lvar_float_to_lvar_float 65@ = 58@
57@, 58@, 59@ = Char.GetCoordinates(78@)
set_lvar_float_to_lvar_float 67@ = 57@
set_lvar_float_to_lvar_float 68@ = 58@
set_lvar_float_to_lvar_float 57@ = 64@
sub_float_lvar_from_float_lvar 57@ -= 67@
set_lvar_float_to_lvar_float 58@ = 65@
sub_float_lvar_from_float_lvar 58@ -= 68@
63@ = Math.GetHeadingFromVector2D(57@, 58@)

:SCRASH2_12876
Task.LookAtChar(78@, $stattreadstamina_ctr, -2)
if 
  163@ == 1
goto_if_false @SCRASH2_12928
Task.AchieveHeading(78@, 63@)
set_lvar_int_to_lvar_int 117@ = 46@
117@ += 250

:SCRASH2_12928
return 

:SCRASH2_12930
switch_start 101@ {numCases} 11 {hasDefaultCase} 1 {defaultLabel} @SCRASH2_13594 {caseNum1} 0 {caseLabel1} @SCRASH2_13058 {caseNum2} 1 {caseLabel2} @SCRASH2_13352 {caseNum3} 2 {caseLabel3} @SCRASH2_13390 {caseNum4} 3 {caseLabel4} @SCRASH2_13193 {caseNum5} 4 {caseLabel5} @SCRASH2_13276 {caseNum6} 5 {caseLabel6} @SCRASH2_13079 {caseNum7} 6 {caseLabel7} @SCRASH2_13117
switch_continued 7 {caseLabel1} @SCRASH2_13466 {caseNum2} 8 {caseLabel2} @SCRASH2_13473 {caseNum3} 9 {caseLabel3} @SCRASH2_13511 {caseNum4} 10 {caseLabel4} @SCRASH2_13587 {caseNum5} -1 {caseLabel5} @SCRASH2_13625 {caseNum6} -1 {caseLabel6} @SCRASH2_13625 {caseNum7} -1 {caseLabel7} @SCRASH2_13625 {caseNum8} -1 {caseLabel8} @SCRASH2_13625 {caseNum9} -1 {caseLabel9} @SCRASH2_13625

:SCRASH2_13058
101@ = 5
102@ = 5
goto @SCRASH2_13625

:SCRASH2_13079
Task.GoStraightToCoord(78@, 828.2594, -1358.995, -1.5078, MoveState.Walk, -2)
101@ = 6
goto @SCRASH2_13625

:SCRASH2_13117
if 
  Char.LocateAnyMeans3D(78@, 828.2594, -1358.995, -1.5078, 1.2, 1.2, 1.2, False)
goto_if_false @SCRASH2_13186
101@ = 3
102@ = 3
126@ = 2

:SCRASH2_13186
goto @SCRASH2_13625

:SCRASH2_13193
56@ = Sequence.Open()
Task.GoStraightToCoord(-1, 837.388, -1346.233, 6.1719, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 836.6295, -1342.926, 6.1719, MoveState.Walk, -2)
Sequence.Close(56@)
Char.PerformSequence(78@, 56@)
Sequence.Clear(56@)
101@ = 4
goto @SCRASH2_13625

:SCRASH2_13276
if 
  Char.LocateAnyMeans3D(78@, 836.6295, -1342.926, 6.1719, 1.2, 1.2, 1.2, False)
goto_if_false @SCRASH2_13345
101@ = 1
102@ = 1
126@ = 3

:SCRASH2_13345
goto @SCRASH2_13625

:SCRASH2_13352
Task.GoStraightToCoord(78@, 822.0569, -1342.302, 12.519, MoveState.Walk, -2)
101@ = 2
goto @SCRASH2_13625

:SCRASH2_13390
if 
  Char.LocateAnyMeans3D(78@, 822.0569, -1342.302, 12.519, 1.2, 1.2, 1.2, False)
goto_if_false @SCRASH2_13459
101@ = 7
102@ = 7
126@ = 4

:SCRASH2_13459
goto @SCRASH2_13625

:SCRASH2_13466
goto @SCRASH2_13625

:SCRASH2_13473
Task.GoStraightToCoord(78@, 803.7784, -1340.535, 12.5469, MoveState.Walk, -2)
101@ = 9
goto @SCRASH2_13625

:SCRASH2_13511
if 
  Char.LocateAnyMeans3D(78@, 803.7784, -1340.535, 12.5469, 1.2, 1.2, 1.2, False)
goto_if_false @SCRASH2_13580
101@ = 10
102@ = 10
126@ = 5

:SCRASH2_13580
goto @SCRASH2_13625

:SCRASH2_13587
goto @SCRASH2_13625

:SCRASH2_13594
write_debug "UNKNOWN_STATION_WALK_STATUS"

:SCRASH2_13625
return 

:SCRASH2_13627
73@ = 1
74@ = 1
if 
  127@ == 0
goto_if_false @SCRASH2_13666
73@ = 0

:SCRASH2_13666
switch_start 127@ {numCases} 14 {hasDefaultCase} 1 {defaultLabel} @SCRASH2_14144 {caseNum1} 0 {caseLabel1} @SCRASH2_13794 {caseNum2} 1 {caseLabel2} @SCRASH2_13885 {caseNum3} 2 {caseLabel3} @SCRASH2_13899 {caseNum4} 3 {caseLabel4} @SCRASH2_13913 {caseNum5} 4 {caseLabel5} @SCRASH2_13927 {caseNum6} 5 {caseLabel6} @SCRASH2_13941 {caseNum7} 6 {caseLabel7} @SCRASH2_13955
switch_continued 7 {caseLabel1} @SCRASH2_13969 {caseNum2} 8 {caseLabel2} @SCRASH2_13983 {caseNum3} 9 {caseLabel3} @SCRASH2_13997 {caseNum4} 10 {caseLabel4} @SCRASH2_14011 {caseNum5} 11 {caseLabel5} @SCRASH2_14025 {caseNum6} 12 {caseLabel6} @SCRASH2_14039 {caseNum7} 13 {caseLabel7} @SCRASH2_14053 {caseNum8} -1 {caseLabel8} @SCRASH2_14177 {caseNum9} -1 {caseLabel9} @SCRASH2_14177

:SCRASH2_13794
50@ = Math.RandomIntInRange(0, 3)
if 
  50@ == 0
goto_if_false @SCRASH2_13828
127@ = 1

:SCRASH2_13828
if 
  50@ == 1
goto_if_false @SCRASH2_13853
127@ = 2

:SCRASH2_13853
if 
  50@ == 2
goto_if_false @SCRASH2_13878
127@ = 3

:SCRASH2_13878
goto @SCRASH2_14177

:SCRASH2_13885
127@ = 4
goto @SCRASH2_14177

:SCRASH2_13899
127@ = 6
goto @SCRASH2_14177

:SCRASH2_13913
127@ = 7
goto @SCRASH2_14177

:SCRASH2_13927
127@ = 9
goto @SCRASH2_14177

:SCRASH2_13941
127@ = 10
goto @SCRASH2_14177

:SCRASH2_13955
127@ = 5
goto @SCRASH2_14177

:SCRASH2_13969
127@ = 12
goto @SCRASH2_14177

:SCRASH2_13983
127@ = 13
goto @SCRASH2_14177

:SCRASH2_13997
127@ = 8
goto @SCRASH2_14177

:SCRASH2_14011
127@ = 13
goto @SCRASH2_14177

:SCRASH2_14025
127@ = 13
goto @SCRASH2_14177

:SCRASH2_14039
127@ = 11
goto @SCRASH2_14177

:SCRASH2_14053
50@ = Math.RandomIntInRange(0, 3)
if 
  50@ == 0
goto_if_false @SCRASH2_14087
127@ = 9

:SCRASH2_14087
if 
  50@ == 1
goto_if_false @SCRASH2_14112
127@ = 5

:SCRASH2_14112
if 
  50@ == 2
goto_if_false @SCRASH2_14137
127@ = 12

:SCRASH2_14137
goto @SCRASH2_14177

:SCRASH2_14144
write_debug "UNKNOWN_CURRENT_TAXI_WAYPOINT"

:SCRASH2_14177
if 
  127@ == 13
goto_if_false @SCRASH2_14209
73@ = 0
74@ = 0

:SCRASH2_14209
switch_start 127@ {numCases} 14 {hasDefaultCase} 0 {defaultLabel} @SCRASH2_14847 {caseNum1} 0 {caseLabel1} @SCRASH2_14337 {caseNum2} 1 {caseLabel2} @SCRASH2_14372 {caseNum3} 2 {caseLabel3} @SCRASH2_14409 {caseNum4} 3 {caseLabel4} @SCRASH2_14446 {caseNum5} 4 {caseLabel5} @SCRASH2_14483 {caseNum6} 5 {caseLabel6} @SCRASH2_14520 {caseNum7} 6 {caseLabel7} @SCRASH2_14557
switch_continued 7 {caseLabel1} @SCRASH2_14594 {caseNum2} 8 {caseLabel2} @SCRASH2_14631 {caseNum3} 9 {caseLabel3} @SCRASH2_14668 {caseNum4} 10 {caseLabel4} @SCRASH2_14705 {caseNum5} 11 {caseLabel5} @SCRASH2_14742 {caseNum6} 12 {caseLabel6} @SCRASH2_14779 {caseNum7} 13 {caseLabel7} @SCRASH2_14816 {caseNum8} -1 {caseLabel8} @SCRASH2_14847 {caseNum9} -1 {caseLabel9} @SCRASH2_14847

:SCRASH2_14337
write_debug "TAXI_WAYPOINT_STILL_NONE"
goto @SCRASH2_14847

:SCRASH2_14372
135@ = 728.2346
136@ = -1068.529
137@ = 21.3149
goto @SCRASH2_14847

:SCRASH2_14409
135@ = 885.8015
136@ = -1152.047
137@ = 22.7156
goto @SCRASH2_14847

:SCRASH2_14446
135@ = 623.9262
136@ = -1356.336
137@ = 12.4009
goto @SCRASH2_14847

:SCRASH2_14483
135@ = 554.1271
136@ = -1327.217
137@ = 12.3984
goto @SCRASH2_14847

:SCRASH2_14520
135@ = 552.7402
136@ = -1401.848
137@ = 14.0907
goto @SCRASH2_14847

:SCRASH2_14557
135@ = 913.4064
136@ = -1381.039
137@ = 12.3208
goto @SCRASH2_14847

:SCRASH2_14594
135@ = 807.6411
136@ = -1737.392
137@ = 12.3906
goto @SCRASH2_14847

:SCRASH2_14631
135@ = 318.3799
136@ = -1464.926
137@ = 33.003
goto @SCRASH2_14847

:SCRASH2_14668
135@ = 461.6126
136@ = -1433.671
137@ = 23.2117
goto @SCRASH2_14847

:SCRASH2_14705
135@ = 484.8509
136@ = -1579.22
137@ = 20.2086
goto @SCRASH2_14847

:SCRASH2_14742
135@ = 570.8074
136@ = -1580.052
137@ = 15.0078
goto @SCRASH2_14847

:SCRASH2_14779
135@ = 673.4271
136@ = -1737.34
137@ = 12.4441
goto @SCRASH2_14847

:SCRASH2_14816
set_lvar_float_to_lvar_float 135@ = 132@
set_lvar_float_to_lvar_float 136@ = 133@
set_lvar_float_to_lvar_float 137@ = 134@
goto @SCRASH2_14847

:SCRASH2_14847
if 
  73@ == 1
goto_if_false @SCRASH2_14932
if 
  128@ == 0
goto_if_false @SCRASH2_14897
73@ = 0
goto @SCRASH2_14932

:SCRASH2_14897
50@ = Math.RandomIntInRange(0, 3)
if 
  is_int_lvar_greater_than_int_lvar 50@ > 128@
goto_if_false @SCRASH2_14932
73@ = 0

:SCRASH2_14932
if 
  73@ == 1
goto_if_false @SCRASH2_14964
128@ = 0
goto @SCRASH2_14971

:SCRASH2_14964
128@ += 1

:SCRASH2_14971
if 
  not Char.IsDead(79@)
goto_if_false @SCRASH2_15201
if 
  73@ == 1
goto_if_false @SCRASH2_15039
Task.CarDriveToCoord(79@, -1, 135@, 136@, 137@, 25.0, DriveMode.Accurate, 0, DrivingMode.AvoidCars)
goto @SCRASH2_15201

:SCRASH2_15039
if 
  127@ == 13
goto_if_false @SCRASH2_15071
50@ = 15
goto @SCRASH2_15118

:SCRASH2_15071
set_lvar_int_to_lvar_int 50@ = 129@
50@ *= 3
50@ += 18
if 
  50@ > 25
goto_if_false @SCRASH2_15118
50@ = 25

:SCRASH2_15118
cset_lvar_float_to_lvar_int 70@ =# 50@
if 
  2 > 129@
goto_if_false @SCRASH2_15176
Task.CarDriveToCoord(79@, -1, 135@, 136@, 137@, 70@, DriveMode.Accurate, 0, DrivingMode.AvoidCarsObeyLights)
goto @SCRASH2_15201

:SCRASH2_15176
Task.CarDriveToCoord(79@, -1, 135@, 136@, 137@, 70@, DriveMode.Accurate, 0, DrivingMode.AvoidCars)

:SCRASH2_15201
129@ += 1
return 

:SCRASH2_15210
if 
  Char.IsDead(78@)
goto_if_false @SCRASH2_15228
return 

:SCRASH2_15228
if 
  not Char.IsInCar(78@, 87@)
goto_if_false @SCRASH2_15249
return 

:SCRASH2_15249
if 
  Car.IsDead(87@)
goto_if_false @SCRASH2_15267
return 

:SCRASH2_15267
if 
  127@ <> 13
goto_if_false @SCRASH2_15334
if 
  Car.Locate3D(87@, 135@, 136@, 137@, 18.0, 18.0, 4.0, False)
goto_if_false @SCRASH2_15334
gosub @SCRASH2_13627

:SCRASH2_15334
if 
  127@ == 13
goto_if_false @SCRASH2_15425
if 
  Car.Locate3D(87@, 370.0204, -1647.647, 31.7173, 14.0, 14.0, 4.0, False)
goto_if_false @SCRASH2_15425
if 
  150@ == 1
goto_if_false @SCRASH2_15425
gosub @SCRASH2_13627

:SCRASH2_15425
return 

:SCRASH2_15427
57@ = 355.618
58@ = -2037.007
59@ = 6.836
63@ = 271.1917
World.ClearArea(57@, 58@, 59@, 10.0, True)
80@ = Char.Create(PedType.CivMale, 46, 57@, 58@, 59@)
Char.SetHeading(80@, 63@)
Char.SetIsTargetPriority(80@, True)
169@ = 1
return 

:SCRASH2_15527
if 
  144@ == 1
goto_if_false @SCRASH2_15547
return 

:SCRASH2_15547
switch_start 98@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SCRASH2_15747 {caseNum1} 3 {caseLabel1} @SCRASH2_15610 {caseNum2} 4 {caseLabel2} @SCRASH2_15658 {caseNum3} -1 {caseLabel3} @SCRASH2_15747 {caseNum4} -1 {caseLabel4} @SCRASH2_15747 {caseNum5} -1 {caseLabel5} @SCRASH2_15747 {caseNum6} -1 {caseLabel6} @SCRASH2_15747 {caseNum7} -1 {caseLabel7} @SCRASH2_15747

:SCRASH2_15610
Task.SmartFleeChar(78@, $stattreadstamina_ctr, 4000.0, 3600000)
98@ = 4
set_lvar_int_to_lvar_int 108@ = 46@
108@ += 250
goto @SCRASH2_15747

:SCRASH2_15658
if 
  is_int_lvar_greater_than_int_lvar 46@ > 108@
goto_if_false @SCRASH2_15740
40@ = Char.GetScriptTaskStatus(78@, 1501)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @SCRASH2_15740
Task.SmartFleeChar(78@, $stattreadstamina_ctr, 4000.0, 3600000)
set_lvar_int_to_lvar_int 108@ = 46@
108@ += 250

:SCRASH2_15740
goto @SCRASH2_15747

:SCRASH2_15747
return 

:SCRASH2_15749
if 
  145@ == 1
goto_if_false @SCRASH2_15769
return 

:SCRASH2_15769
switch_start 99@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SCRASH2_15980 {caseNum1} 3 {caseLabel1} @SCRASH2_15832 {caseNum2} 4 {caseLabel2} @SCRASH2_15894 {caseNum3} -1 {caseLabel3} @SCRASH2_15980 {caseNum4} -1 {caseLabel4} @SCRASH2_15980 {caseNum5} -1 {caseLabel5} @SCRASH2_15980 {caseNum6} -1 {caseLabel6} @SCRASH2_15980 {caseNum7} -1 {caseLabel7} @SCRASH2_15980

:SCRASH2_15832
Char.GiveWeapon(80@, WeaponType.Pistol, 99)
Char.SetDecisionMaker(80@, 97@)
Task.KillCharOnFootWhileDucking(80@, $stattreadstamina_ctr, 4, 4000, 34)
99@ = 4
set_lvar_int_to_lvar_int 110@ = 46@
110@ += 250
goto @SCRASH2_15980

:SCRASH2_15894
if 
  is_int_lvar_greater_than_int_lvar 46@ > 110@
goto_if_false @SCRASH2_15973
40@ = Char.GetScriptTaskStatus(80@, 1588)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @SCRASH2_15973
Task.KillCharOnFootWhileDucking(80@, $stattreadstamina_ctr, 4, 4000, 34)
set_lvar_int_to_lvar_int 110@ = 46@
110@ += 250

:SCRASH2_15973
goto @SCRASH2_15980

:SCRASH2_15980
return 

:SCRASH2_15982
126@ = 0
100@ = 0
153@ = 0
return 

:SCRASH2_16005
switch_start 126@ {numCases} 6 {hasDefaultCase} 1 {defaultLabel} @SCRASH2_16165 {caseNum1} 0 {caseLabel1} @SCRASH2_16068 {caseNum2} 1 {caseLabel2} @SCRASH2_16130 {caseNum3} 2 {caseLabel3} @SCRASH2_16137 {caseNum4} 3 {caseLabel4} @SCRASH2_16144 {caseNum5} 4 {caseLabel5} @SCRASH2_16151 {caseNum6} 5 {caseLabel6} @SCRASH2_16158 {caseNum7} -1 {caseLabel7} @SCRASH2_16191

:SCRASH2_16068
if 
  Char.LocateAnyMeans3D(78@, 833.4493, -1374.261, -1.5078, 1.2, 1.2, 1.2, False)
goto_if_false @SCRASH2_16123
126@ = 1

:SCRASH2_16123
goto @SCRASH2_16191

:SCRASH2_16130
goto @SCRASH2_16191

:SCRASH2_16137
goto @SCRASH2_16191

:SCRASH2_16144
goto @SCRASH2_16191

:SCRASH2_16151
goto @SCRASH2_16191

:SCRASH2_16158
goto @SCRASH2_16191

:SCRASH2_16165
write_debug "UNKNOWN_SUSPICION_AREA"

:SCRASH2_16191
return 

:SCRASH2_16193
if 
  156@ == 1
goto_if_false @SCRASH2_16213
return 

:SCRASH2_16213
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @SCRASH2_16236
156@ = 1

:SCRASH2_16236
73@ = 0
switch_start 126@ {numCases} 6 {hasDefaultCase} 1 {defaultLabel} @SCRASH2_16752 {caseNum1} 0 {caseLabel1} @SCRASH2_16306 {caseNum2} 1 {caseLabel2} @SCRASH2_16313 {caseNum3} 2 {caseLabel3} @SCRASH2_16375 {caseNum4} 3 {caseLabel4} @SCRASH2_16474 {caseNum5} 4 {caseLabel5} @SCRASH2_16573 {caseNum6} 5 {caseLabel6} @SCRASH2_16672 {caseNum7} -1 {caseLabel7} @SCRASH2_16778

:SCRASH2_16306
goto @SCRASH2_16778

:SCRASH2_16313
if 
  Char.IsInArea3D($stattreadstamina_ctr, 783.9064, -1393.156, -2.7078, 858.4905, -1322.64, -0.3006, False)
goto_if_false @SCRASH2_16368
73@ = 1

:SCRASH2_16368
goto @SCRASH2_16778

:SCRASH2_16375
if or
  Char.IsInArea3D($stattreadstamina_ctr, 825.3654, -1359.666, -2.7078, 842.8153, -1338.893, 7.3875, False)
  Char.IsInArea3D($stattreadstamina_ctr, 820.1507, -1365.766, -2.7078, 831.27, -1354.908, -0.3078, False)
goto_if_false @SCRASH2_16467
73@ = 1

:SCRASH2_16467
goto @SCRASH2_16778

:SCRASH2_16474
if or
  Char.IsInArea3D($stattreadstamina_ctr, 819.6318, -1344.258, 4.9875, 842.2764, -1338.742, 13.7162, False)
  Char.IsInArea3D($stattreadstamina_ctr, 816.749, -1345.116, 8.8156, 829.4735, -1338.895, 13.7281, False)
goto_if_false @SCRASH2_16566
73@ = 1

:SCRASH2_16566
goto @SCRASH2_16778

:SCRASH2_16573
if or
  Char.IsInArea3D($stattreadstamina_ctr, 787.7994, -1357.323, 11.3391, 827.1069, -1309.406, 13.7625, False)
  Char.IsInArea3D($stattreadstamina_ctr, 816.749, -1345.116, 8.8156, 829.4735, -1338.895, 13.7281, False)
goto_if_false @SCRASH2_16665
73@ = 1

:SCRASH2_16665
goto @SCRASH2_16778

:SCRASH2_16672
if 
  154@ == 0
goto_if_false @SCRASH2_16745
if 
  Char.IsInArea3D($stattreadstamina_ctr, 787.0083, -1376.24, 11.3391, 809.962, -1310.506, 13.8144, False)
goto_if_false @SCRASH2_16745
73@ = 1

:SCRASH2_16745
goto @SCRASH2_16778

:SCRASH2_16752
write_debug "UNKNOWN_SUSPICION_AREA"

:SCRASH2_16778
if 
  156@ == 1
goto_if_false @SCRASH2_16804
set_lvar_int_to_lvar_int 156@ = 73@

:SCRASH2_16804
if 
  156@ == 1
goto_if_false @SCRASH2_16854
set_lvar_int_to_lvar_int 118@ = 46@
118@ += 1000
Task.SmartFleeChar(78@, $stattreadstamina_ctr, 9999.0, 10000)

:SCRASH2_16854
if 
  73@ == 1
goto_if_false @SCRASH2_17004
57@, 58@, 59@ = Char.GetCoordinates(78@)
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
72@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 60@, 61@, 62@)
if 
  100@ == 1
goto_if_false @SCRASH2_16976
if 
  72@ > 10.0
goto_if_false @SCRASH2_16969
73@ = 0

:SCRASH2_16969
goto @SCRASH2_17004

:SCRASH2_16976
if 
  72@ > 8.0
goto_if_false @SCRASH2_17004
73@ = 0

:SCRASH2_17004
if 
  73@ == 1
goto_if_false @SCRASH2_17215
if 
  100@ == 0
goto_if_false @SCRASH2_17117
set_lvar_int_to_lvar_int 114@ = 46@
114@ += 60
if 
  160@ == 0
goto_if_false @SCRASH2_17096
Text.PrintNow('SCR2_08', 30000, 1)
160@ = 1

:SCRASH2_17096
153@ = 1
100@ = 1
goto @SCRASH2_17208

:SCRASH2_17117
if 
  is_int_lvar_greater_than_int_lvar 46@ > 114@
goto_if_false @SCRASH2_17208
$7242 += 1
if 
  $7242 > 100
goto_if_false @SCRASH2_17193
$7242 = 100
37@ = 1
45@ = 7
Text.ClearSmallPrints
return 
goto @SCRASH2_17208

:SCRASH2_17193
set_lvar_int_to_lvar_int 114@ = 46@
114@ += 60

:SCRASH2_17208
goto @SCRASH2_17367

:SCRASH2_17215
if 
  100@ == 1
goto_if_false @SCRASH2_17284
Text.ClearSmallPrints
100@ = 0
153@ = 0
set_lvar_int_to_lvar_int 101@ = 102@
Char.ClearLookAt(78@)
set_lvar_int_to_lvar_int 114@ = 46@
114@ += 40
goto @SCRASH2_17367

:SCRASH2_17284
if 
  $7242 > 0
goto_if_false @SCRASH2_17367
if and
  114@ > 0
  is_int_lvar_greater_than_int_lvar 46@ > 114@
goto_if_false @SCRASH2_17367
$7242 -= 1
if 
  0 > $7242
goto_if_false @SCRASH2_17367
$7242 = 0
114@ = 0

:SCRASH2_17367
return 

:SCRASH2_17369
if 
  152@ == 1
goto_if_false @SCRASH2_17420
if 
  is_int_lvar_greater_than_int_lvar 46@ > 116@
goto_if_false @SCRASH2_17420
152@ = 0
116@ = 0

:SCRASH2_17420
162@ = 0
if or
  100@ == 3
  100@ == 1
goto_if_false @SCRASH2_17459
162@ = 1

:SCRASH2_17459
73@ = 0
74@ = 0
159@ = 0
if and
  150@ == 1
  149@ == 1
goto_if_false @SCRASH2_17617
57@, 58@, 59@ = Char.GetCoordinates(78@)
72@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 372.661, -2088.79, 6.836)
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
70@ = Math.GetDistanceBetweenCoords3D(60@, 61@, 62@, 372.661, -2088.79, 6.836)
if 
  is_float_lvar_greater_than_float_lvar 72@ > 70@
goto_if_false @SCRASH2_17617
159@ = 1

:SCRASH2_17617
if 
  159@ == 1
goto_if_false @SCRASH2_17809
if 
  100@ <> 3
goto_if_false @SCRASH2_17716
if 
  100@ <> 1
goto_if_false @SCRASH2_17686
set_lvar_int_to_lvar_int 114@ = 46@
114@ += 60

:SCRASH2_17686
100@ = 3
Text.PrintNow('SCR2_23', 30000, 1)
goto @SCRASH2_17807

:SCRASH2_17716
if 
  is_int_lvar_greater_than_int_lvar 46@ > 114@
goto_if_false @SCRASH2_17807
$7242 += 1
if 
  $7242 > 100
goto_if_false @SCRASH2_17792
$7242 = 100
37@ = 1
45@ = 7
Text.ClearSmallPrints
return 
goto @SCRASH2_17807

:SCRASH2_17792
set_lvar_int_to_lvar_int 114@ = 46@
114@ += 60

:SCRASH2_17807
return 

:SCRASH2_17809
if 
  159@ == 0
goto_if_false @SCRASH2_17959
57@, 58@, 59@ = Char.GetCoordinates(78@)
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
72@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 60@, 61@, 62@)
if 
  40.0 >= 72@
goto_if_false @SCRASH2_17931
if 
  152@ == 0
goto_if_false @SCRASH2_17924
73@ = 1

:SCRASH2_17924
goto @SCRASH2_17959

:SCRASH2_17931
if 
  72@ >= 100.0
goto_if_false @SCRASH2_17959
74@ = 1

:SCRASH2_17959
if 
  159@ == 0
goto_if_false @SCRASH2_18029
if 
  100@ == 3
goto_if_false @SCRASH2_18029
if and
  73@ == 0
  74@ == 0
goto_if_false @SCRASH2_18029
Text.ClearSmallPrints
100@ = 0

:SCRASH2_18029
if 
  73@ == 1
goto_if_false @SCRASH2_18288
if 
  100@ <> 1
goto_if_false @SCRASH2_18190
set_lvar_int_to_lvar_int 114@ = 46@
114@ += 60
if 
  100@ <> 3
goto_if_false @SCRASH2_18146
if 
  160@ == 0
goto_if_false @SCRASH2_18139
Text.PrintNow('SCR2_08', 30000, 1)
160@ = 1

:SCRASH2_18139
goto @SCRASH2_18169

:SCRASH2_18146
Text.PrintNow('SCR2_08', 30000, 1)
160@ = 1

:SCRASH2_18169
153@ = 1
100@ = 1
goto @SCRASH2_18281

:SCRASH2_18190
if 
  is_int_lvar_greater_than_int_lvar 46@ > 114@
goto_if_false @SCRASH2_18281
$7242 += 1
if 
  $7242 > 100
goto_if_false @SCRASH2_18266
$7242 = 100
37@ = 1
45@ = 7
Text.ClearSmallPrints
return 
goto @SCRASH2_18281

:SCRASH2_18266
set_lvar_int_to_lvar_int 114@ = 46@
114@ += 60

:SCRASH2_18281
goto @SCRASH2_18315

:SCRASH2_18288
if 
  100@ == 1
goto_if_false @SCRASH2_18315
Text.ClearSmallPrints
100@ = 0

:SCRASH2_18315
if 
  74@ == 1
goto_if_false @SCRASH2_18365
if and
  149@ == 1
  150@ == 1
goto_if_false @SCRASH2_18365
74@ = 0

:SCRASH2_18365
if 
  74@ == 1
goto_if_false @SCRASH2_18615
if 
  100@ == 0
goto_if_false @SCRASH2_18438
130@ = 21
set_lvar_int_to_lvar_int 113@ = 46@
113@ += 1000
100@ = 2
goto @SCRASH2_18608

:SCRASH2_18438
if 
  is_int_lvar_greater_than_int_lvar 46@ > 113@
goto_if_false @SCRASH2_18530
130@ -= 1
if 
  0 > 130@
goto_if_false @SCRASH2_18514
130@ = 0
37@ = 1
45@ = 3
Text.ClearSmallPrints
return 
goto @SCRASH2_18530

:SCRASH2_18514
set_lvar_int_to_lvar_int 113@ = 46@
113@ += 1000

:SCRASH2_18530
if and
  130@ > 10
  72@ >= 140.0
goto_if_false @SCRASH2_18574
Text.PrintNow('SCR2_16', 30000, 1)

:SCRASH2_18574
if 
  130@ == 10
goto_if_false @SCRASH2_18608
Text.PrintNow('SCR2_16', 30000, 1)

:SCRASH2_18608
goto @SCRASH2_18651

:SCRASH2_18615
if 
  100@ == 2
goto_if_false @SCRASH2_18651
Text.ClearThisPrint('SCR2_16')
100@ = 0

:SCRASH2_18651
if and
  100@ <> 1
  100@ <> 3
goto_if_false @SCRASH2_18814
if 
  162@ == 1
goto_if_false @SCRASH2_18716
set_lvar_int_to_lvar_int 114@ = 46@
114@ += 40
goto @SCRASH2_18814

:SCRASH2_18716
if 
  $7242 > 0
goto_if_false @SCRASH2_18814
if 
  is_int_lvar_greater_than_int_lvar 46@ > 114@
goto_if_false @SCRASH2_18814
$7242 -= 1
if 
  0 > $7242
goto_if_false @SCRASH2_18799
$7242 = 0
114@ = 0
goto @SCRASH2_18814

:SCRASH2_18799
set_lvar_int_to_lvar_int 114@ = 46@
114@ += 40

:SCRASH2_18814
return 

:SCRASH2_18816
Hud.DisplayCounterWithString($7242, CounterDisplay.Bar, 'SCR2_52')
return 

:SCRASH2_18834
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @SCRASH2_18883
47@ += 1
if 
  47@ > 2
goto_if_false @SCRASH2_18881
47@ = 0

:SCRASH2_18881
clear_all_view_variables 

:SCRASH2_18883
if 
  47@ == 1
goto_if_false @SCRASH2_19115
if 
  not Car.IsDead(81@)
goto_if_false @SCRASH2_18933
70@ = Car.GetSpeed(81@)
cset_var_int_to_lvar_float $f4_rnd =# 70@

:SCRASH2_18933
set_var_int_to_lvar_int $7243 = 34@
set_var_int_to_lvar_int $7244 = 35@
set_var_int_to_lvar_int $7245 = TIMERA
set_var_int_to_lvar_int $7246 = TIMERB
set_var_int_to_lvar_int $wz1_health_bar = 46@
set_var_int_to_lvar_int $play_audio_global = 119@
set_var_int_to_lvar_int $f4_car_damage = 121@
view_integer_variable $7243 {_p2} "M_STAGE"
view_integer_variable $7244 {_p2} "M_GOALS"
view_integer_variable $wz1_health_bar {_p2} "M_MISSION_TIMER"
view_integer_variable $play_audio_global {_p2} "TRAIN_DISTANCE"
if 
  not Car.IsDead(81@)
goto_if_false @SCRASH2_19094
view_integer_variable $f4_rnd {_p2} "TRAIN_SPEED"

:SCRASH2_19094
view_integer_variable $f4_car_damage {_p2} "PLAYER_FROM_LS"

:SCRASH2_19115
if 
  47@ == 2
goto_if_false @SCRASH2_19133

:SCRASH2_19133
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @SCRASH2_19155
38@ = 1

:SCRASH2_19155
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @SCRASH2_19243
if 
  39@ == 0
goto_if_false @SCRASH2_19218
39@ = 1
write_debug "LEVEL_PAUSED"
goto @SCRASH2_19243

:SCRASH2_19218
39@ = 0
write_debug "LEVEL_UNPAUSED"

:SCRASH2_19243
return 

:SCRASH2_19245
if 
  not is_ps2_keyboard_key_just_pressed 74
goto_if_false @SCRASH2_19262
return 

:SCRASH2_19262
if 
  34@ == 1
goto_if_false @SCRASH2_19334
World.ClearArea(-2063.547, 253.2754, 34.3043, 0.5, True)
Char.SetCoordinates($stattreadstamina_ctr, -2063.547, 253.2754, 34.3043)
Char.SetHeading($stattreadstamina_ctr, 0.0)

:SCRASH2_19334
if and
  34@ == 2
  4 > 35@
goto_if_false @SCRASH2_19585
if 
  166@ == 0
goto_if_false @SCRASH2_19452
World.ClearArea(-1944.025, 135.5236, 24.7109, 100.0, True)
81@ = Train.Create(11, -1944.025, 135.5236, 24.7109, False)
Train.SetSpeed(81@, 0.0)
Train.SetCruiseSpeed(81@, 0.0)
166@ = 1

:SCRASH2_19452
if 
  not Car.IsDead(81@)
goto_if_false @SCRASH2_19478
82@ = Train.GetCarriage(81@, 1)

:SCRASH2_19478
if 
  not Char.IsDead(78@)
goto_if_false @SCRASH2_19506
Task.EnterCarAsPassenger(78@, 82@, 100, -1)

:SCRASH2_19506
World.ClearArea(-1989.161, 208.5921, 26.6797, 0.5, True)
Char.SetCoordinates($stattreadstamina_ctr, -1989.161, 208.5921, 26.6797)
Char.SetHeading($stattreadstamina_ctr, 221.8946)
set_lvar_int_to_lvar_int 103@ = 46@
103@ += 60000
35@ = 4

:SCRASH2_19585
if and
  34@ == 3
  4 > 35@
goto_if_false @SCRASH2_19732
if 
  35@ == 1
goto_if_false @SCRASH2_19671
if 
  not Car.IsDead(81@)
goto_if_false @SCRASH2_19664
Train.SetCoordinates(81@, 779.9327, -1334.155, -2.534)

:SCRASH2_19664
goto @SCRASH2_19678

:SCRASH2_19671
35@ = 4

:SCRASH2_19678
World.ClearArea(815.0453, -1323.097, 12.5036, 5.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 815.0453, -1323.097, 12.5036)
Char.SetHeading($stattreadstamina_ctr, 187.142)

:SCRASH2_19732
if and
  34@ == 4
  11 > 35@
goto_if_false @SCRASH2_20028
if 
  not Char.IsDead(78@)
goto_if_false @SCRASH2_19803
Char.SetCoordinates(78@, 803.7784, -1342.926, 12.5469)
Char.SetHeading(78@, 92.3748)

:SCRASH2_19803
if 
  168@ == 1
goto_if_false @SCRASH2_19874
if 
  not Car.IsDead(87@)
goto_if_false @SCRASH2_19867
Car.SetCoordinates(87@, 799.7784, -1342.926, 12.5469)
Car.SetHeading(87@, 7.9128)

:SCRASH2_19867
goto @SCRASH2_19950

:SCRASH2_19874
World.ClearArea(799.7784, -1342.926, 12.5469, 10.0, True)
87@ = Car.Create(420, 799.7784, -1342.926, 12.5469)
Car.SetHeading(87@, 7.9128)
79@ = Char.CreateInsideCar(87@, PedType.CivMale, 18)
168@ = 1

:SCRASH2_19950
if and
  not Car.IsDead(81@)
  166@ == 1
goto_if_false @SCRASH2_19995
Train.SetCruiseSpeed(81@, 30.0)
Train.MarkAsNoLongerNeeded(81@)
166@ = 0

:SCRASH2_19995
156@ = 0
157@ = 0
158@ = 1
Blip.Remove(90@)
35@ = 11

:SCRASH2_20028
if 
  34@ == 5
goto_if_false @SCRASH2_20207
132@ = 366.4698
133@ = -2030.643
134@ = 6.6582
if 
  not Char.IsDead(78@)
goto_if_false @SCRASH2_20146
World.ClearArea(366.4698, -2030.643, 6.6582, 5.0, True)
Char.SetCoordinates(78@, 366.4698, -2030.643, 6.6582)
Char.SetHeading(78@, 179.2269)

:SCRASH2_20146
World.ClearArea(383.3648, -1930.448, 6.8301, 5.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 383.3648, -1930.448, 6.8301)
Char.SetHeading($stattreadstamina_ctr, 88.4042)
35@ = 1

:SCRASH2_20207
return 

:SCRASH2_20209
41@ += 1
if 
  41@ > 9
goto_if_false @SCRASH2_20241
41@ = 0

:SCRASH2_20241
return 

:SCRASH2_20243
42@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 44@ = 42@
sub_int_lvar_from_int_lvar 44@ -= 43@
set_lvar_int_to_lvar_int 43@ = 42@
add_int_lvar_to_int_lvar 46@ += 44@
return 

:SCRASH2_20282
34@ += 1
35@ = 0
TIMERA = 0
TIMERB = 0
return 

:SCRASH2_20312
Player.SetControl($statbike_temp, False)
Cutscene.Load('SCRASH2')

:SCRASH2_20330
if 
  not Cutscene.HasLoaded
goto_if_false @SCRASH2_20354
wait 0
goto @SCRASH2_20330

:SCRASH2_20354
Streaming.SetAreaVisible(1)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
Streaming.LoadScene(-2031.0, 149.0, 29.0)
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:SCRASH2_20399
if 
  not Cutscene.HasFinished
goto_if_false @SCRASH2_20423
wait 0
goto @SCRASH2_20399

:SCRASH2_20423
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:SCRASH2_20437
if 
  Camera.GetFadingStatus
goto_if_false @SCRASH2_20461
wait 0
goto @SCRASH2_20437

:SCRASH2_20461
Cutscene.Clear
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
return 

:SCRASH2_20489
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @SCRASH2_20516
wait 0
goto @SCRASH2_20489

:SCRASH2_20516
gosub @SCRASH2_20731
gosub @SCRASH2_20897
World.ClearArea(-1978.85, 169.6607, 26.6953, 3.0, False)
89@ = Car.Create(468, -1978.85, 169.6607, 26.6953)
Car.SetHeading(89@, 90.1127)
161@ = 1
World.ClearArea(-2033.339, 148.6139, 27.8359, 0.5, False)
Streaming.LoadScene(-2033.339, 148.6139, 27.8359)
Char.SetCoordinates($stattreadstamina_ctr, -2033.339, 148.6139, 27.8359)
Char.SetHeading($stattreadstamina_ctr, 270.0)
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Game.SwitchRandomTrains(False)
Restart.SetRespawnPointForDurationOfMission(-2026.061, 148.828, 27.8359)
World.SetRailtrackResistanceMult(0.4)
wait 1000
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)
gosub @SCRASH2_20282
return 

:SCRASH2_20731
Streaming.RequestModel(538)
Streaming.RequestModel(570)
Streaming.RequestModel(537)
Streaming.RequestModel(569)
Streaming.RequestModel(468)
Streaming.RequestModel(147)
Streaming.RequestModel(18)
Streaming.RequestModel(46)
Streaming.RequestModel(358)
Streaming.RequestModel(346)
Streaming.LoadAllModelsNow

:SCRASH2_20781
if or
  not Streaming.HasModelLoaded(538)
  not Streaming.HasModelLoaded(570)
  not Streaming.HasModelLoaded(537)
  not Streaming.HasModelLoaded(569)
  not Streaming.HasModelLoaded(468)
goto_if_false @SCRASH2_20828
wait 0
goto @SCRASH2_20781

:SCRASH2_20828
if or
  not Streaming.HasModelLoaded(147)
  not Streaming.HasModelLoaded(18)
  not Streaming.HasModelLoaded(46)
goto_if_false @SCRASH2_20863
wait 0
goto @SCRASH2_20828

:SCRASH2_20863
if or
  not Streaming.HasModelLoaded(358)
  not Streaming.HasModelLoaded(346)
goto_if_false @SCRASH2_20895
wait 0
goto @SCRASH2_20863

:SCRASH2_20895
return 

:SCRASH2_20897
Streaming.RequestAnimation("MISC")
Streaming.RequestAnimation("GANGS")

:SCRASH2_20914
if or
  not Streaming.HasAnimationLoaded("MISC")
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @SCRASH2_20953
wait 0
goto @SCRASH2_20914

:SCRASH2_20953
return 

:SCRASH2_20955
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Text.ClearSmallPrints
switch_start 45@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @SCRASH2_21197 {caseNum1} 1 {caseLabel1} @SCRASH2_21036 {caseNum2} 2 {caseLabel2} @SCRASH2_21059 {caseNum3} 3 {caseLabel3} @SCRASH2_21082 {caseNum4} 4 {caseLabel4} @SCRASH2_21105 {caseNum5} 5 {caseLabel5} @SCRASH2_21128 {caseNum6} 6 {caseLabel6} @SCRASH2_21151 {caseNum7} 7 {caseLabel7} @SCRASH2_21174

:SCRASH2_21036
Text.PrintNow('SCR2_80', 5000, 1)
goto @SCRASH2_21197

:SCRASH2_21059
Text.PrintNow('SCR2_81', 5000, 1)
goto @SCRASH2_21197

:SCRASH2_21082
Text.PrintNow('SCR2_82', 5000, 1)
goto @SCRASH2_21197

:SCRASH2_21105
Text.PrintNow('SCR2_83', 5000, 1)
goto @SCRASH2_21197

:SCRASH2_21128
Text.PrintNow('SCR2_84', 5000, 1)
goto @SCRASH2_21197

:SCRASH2_21151
Text.PrintNow('SCR2_85', 5000, 1)
goto @SCRASH2_21197

:SCRASH2_21174
Text.PrintNow('SCR2_86', 5000, 1)
goto @SCRASH2_21197

:SCRASH2_21197
155@ = 1
return 

:SCRASH2_21206
Text.ClearSmallPrints
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('SCRA_2')
Stat.PlayerMadeProgress(1)
$zeroX += 1
Blip.Remove($steal_blip_icon)
Blip.Remove($garage_blip_icon)
$garage_blip_icon = Blip.AddSpriteForContactPoint($zeroY, $zeroZ, $wuziX, $flag_garage_mission_counter)
155@ = 0
return 

:SCRASH2_21293
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SCRASH2_21398
if 
  155@ == 1
goto_if_false @SCRASH2_21398
if 
  131@ == 0
goto_if_false @SCRASH2_21359
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Sniper)
goto @SCRASH2_21398

:SCRASH2_21359
50@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Sniper)
if 
  is_int_lvar_greater_than_int_lvar 50@ > 131@
goto_if_false @SCRASH2_21398
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Sniper, 131@)

:SCRASH2_21398
if and
  168@ == 1
  not Car.IsDead(87@)
goto_if_false @SCRASH2_21428
Car.SetTaxiLights(87@, False)

:SCRASH2_21428
if 
  not Char.IsDead(79@)
goto_if_false @SCRASH2_21449
Char.ClearTasks(79@)

:SCRASH2_21449
if 
  not Char.IsDead(78@)
goto_if_false @SCRASH2_21470
Char.ClearLookAt(78@)

:SCRASH2_21470
Pickup.Remove(95@)
Char.MarkAsNoLongerNeeded(78@)
Car.MarkAsNoLongerNeeded(87@)
Char.MarkAsNoLongerNeeded(79@)
Char.MarkAsNoLongerNeeded(80@)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(358)
48@ = 0

:SCRASH2_21512
Train.MarkAsNoLongerNeeded(84@(48@,3i))
48@ += 1
  48@ >= 3
goto_if_false @SCRASH2_21512
if 
  166@ == 1
goto_if_false @SCRASH2_21591
if 
  not Car.IsDead(81@)
goto_if_false @SCRASH2_21591
Train.SetCruiseSpeed(81@, 30.0)
Train.MarkAsNoLongerNeeded(81@)

:SCRASH2_21591
Blip.Remove(90@)
Blip.Remove(91@)
Blip.Remove(92@)
Blip.Remove(93@)
Blip.Remove(94@)
Hud.ClearCounter($7242)
Streaming.RemoveAnimation("MISC")
Streaming.RemoveAnimation("GANGS")
Text.ClearHelp
Streaming.MarkModelAsNoLongerNeeded(538)
Streaming.MarkModelAsNoLongerNeeded(570)
Streaming.MarkModelAsNoLongerNeeded(537)
Streaming.MarkModelAsNoLongerNeeded(569)
Streaming.MarkModelAsNoLongerNeeded(420)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(147)
Streaming.MarkModelAsNoLongerNeeded(18)
Streaming.MarkModelAsNoLongerNeeded(46)
Streaming.MarkModelAsNoLongerNeeded(358)
Streaming.MarkModelAsNoLongerNeeded(346)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
Game.SwitchEmergencyServices(True)
Game.SwitchRandomTrains(True)
$flag_courier_mission_passed = Clock.GetGameTimer()
Path.SwitchRoadsBackToOriginal(789.595, -1387.97, 11.5469, 807.2843, -1334.546, 13.725)
Path.SwitchRoadsBackToOriginal(804.9978, -1414.032, 11.3801, 908.0844, -1386.618, 13.5524)
Path.SwitchRoadsBackToOriginal(802.1913, -1335.066, 11.1828, 911.4662, -1313.045, 13.7469)
World.SetRailtrackResistanceMult(-1.0)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 53---------------
// Originally: Mountain Cloud Boys

:WUZI1
script_name 'WUZI1'
gosub @WUZI1_47
if 
  has_deatharrest_been_executed 
goto_if_false @WUZI1_38
gosub @WUZI1_27957

:WUZI1_38
gosub @WUZI1_28039
terminate_this_script 

:WUZI1_47
231@ = 15
232@ = 33
233@ = 38
234@ = 39
235@ = 40
236@ = 41
237@ = 42
265@ = 0
Text.LoadMissionText('WUZI1')
Text.ClearThisPrint('M_FAIL')
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
if 
  71@ == 99
goto_if_false @WUZI1_231
35@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)
104@ = Car.Create(419, 0.0, 0.0, 0.0)
157@ = Group.Create(DefaultTaskAllocator.StandStill)
107@ = Blip.AddForChar(35@)
109@ = Blip.AddForChar(35@)
108@ = Blip.AddForChar(35@)

:WUZI1_231
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @WUZI1_257
goto @WUZI1_27975

:WUZI1_257
if 
is_ps2_keyboard_key_pressed 88
goto_if_false @WUZI1_328
Char.SetCoordinates($stattreadstamina_ctr, -2175.735, 653.6188, 48.4453)
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_328
Char.SetCoordinates(35@, -2176.735, 653.6188, 48.4453)

:WUZI1_328
if 
is_ps2_keyboard_key_pressed 90
goto_if_false @WUZI1_399
Char.SetCoordinates($stattreadstamina_ctr, -2247.749, 649.4075, 48.4375)
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_399
Char.SetCoordinates(35@, -2246.749, 649.4075, 48.4375)

:WUZI1_399
switch_start 71@ {numCases} 11 {hasDefaultCase} 0 {defaultLabel} @WUZI1_695 {caseNum1} 0 {caseLabel1} @WUZI1_527 {caseNum2} 1 {caseLabel2} @WUZI1_548 {caseNum3} 2 {caseLabel3} @WUZI1_569 {caseNum4} 3 {caseLabel4} @WUZI1_583 {caseNum5} 4 {caseLabel5} @WUZI1_597 {caseNum6} 5 {caseLabel6} @WUZI1_611 {caseNum7} 6 {caseLabel7} @WUZI1_625
switch_continued 7 {caseLabel1} @WUZI1_639 {caseNum2} 8 {caseLabel2} @WUZI1_653 {caseNum3} 9 {caseLabel3} @WUZI1_667 {caseNum4} 10 {caseLabel4} @WUZI1_681 {caseNum5} -1 {caseLabel5} @WUZI1_695 {caseNum6} -1 {caseLabel6} @WUZI1_695 {caseNum7} -1 {caseLabel7} @WUZI1_695 {caseNum8} -1 {caseLabel8} @WUZI1_695 {caseNum9} -1 {caseLabel9} @WUZI1_695

:WUZI1_527
gosub @WUZI1_2353
71@ = 1
goto @WUZI1_695

:WUZI1_548
gosub @WUZI1_1167
71@ = 2
goto @WUZI1_695

:WUZI1_569
gosub @WUZI1_2631
goto @WUZI1_695

:WUZI1_583
gosub @WUZI1_7076
goto @WUZI1_695

:WUZI1_597
gosub @WUZI1_13133
goto @WUZI1_695

:WUZI1_611
gosub @WUZI1_13769
goto @WUZI1_695

:WUZI1_625
gosub @WUZI1_16453
goto @WUZI1_695

:WUZI1_639
gosub @WUZI1_17106
goto @WUZI1_695

:WUZI1_653
gosub @WUZI1_18968
goto @WUZI1_695

:WUZI1_667
gosub @WUZI1_19861
goto @WUZI1_695

:WUZI1_681
goto @WUZI1_27975
goto @WUZI1_695

:WUZI1_695
gosub @WUZI1_838
gosub @WUZI1_906
gosub @WUZI1_23148
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
228@, 229@, 230@ = Char.GetCoordinates($stattreadstamina_ctr)
if or
  71@ == 2
  71@ == 4
  71@ == 6
goto_if_false @WUZI1_804
gosub @WUZI1_20336
gosub @WUZI1_22823
gosub @WUZI1_23037
gosub @WUZI1_23146

:WUZI1_804
if 
  36@ == 1
goto_if_false @WUZI1_829
goto @WUZI1_27957

:WUZI1_829
goto @WUZI1_231
return 

:WUZI1_838
if 
  37@ == 1
goto_if_false @WUZI1_904
if 
  Char.IsDead(35@)
goto_if_false @WUZI1_904
Text.ClearPrints
Text.Print('WZ1_40', 5000, 1)
36@ = 1
goto @WUZI1_27957

:WUZI1_904
return 

:WUZI1_906
if 
  73@ == 1
goto_if_false @WUZI1_1165
if 
  72@ == 1
goto_if_false @WUZI1_1029
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_1029
if 
  not Char.IsGroupMember(35@, $flag_cell_nation)
goto_if_false @WUZI1_1029
72@ = 0
Blip.Remove(108@)
108@ = Blip.AddForChar(35@)
Blip.SetAsFriendly(108@, True)
Blip.ChangeDisplay(107@, BlipDisplay.Neither)
Text.ClearPrints
Text.Print('WZ1_41', 4000, 1)

:WUZI1_1029
if 
  72@ == 0
goto_if_false @WUZI1_1165
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_1165
if 
  Char.IsGroupMember(35@, $flag_cell_nation)
goto_if_false @WUZI1_1096
72@ = 1
goto @WUZI1_1165

:WUZI1_1096
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 35@, 6.0, 6.0, False)
goto_if_false @WUZI1_1165
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, 35@)
Char.ListenToPlayerGroupCommands(35@, False)
Blip.Remove(108@)
Blip.ChangeDisplay(107@, BlipDisplay.Both)
72@ = 1

:WUZI1_1165
return 

:WUZI1_1167
191@ = 4
Streaming.LoadSpecialCharacter(1, 'WUZIMU')
Streaming.RequestModel(352)
Streaming.RequestModel(121)
Streaming.RequestModel(122)
Streaming.RequestModel(123)
Streaming.RequestModel(117)
Streaming.RequestModel(118)
Streaming.RequestModel(358)
Streaming.RequestModel(405)
Streaming.RequestModel(468)
Streaming.RequestModel(58)
Streaming.RequestAnimation("WUZI")
Streaming.RequestCarRecording(169)
Streaming.RequestCarRecording(139)

:WUZI1_1249
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(358)
  not Streaming.HasModelLoaded(121)
  not Streaming.HasModelLoaded(122)
  not Streaming.HasModelLoaded(123)
goto_if_false @WUZI1_1297
wait 0
goto @WUZI1_1249

:WUZI1_1297
if or
  not Streaming.HasModelLoaded(405)
  not Streaming.HasModelLoaded(468)
  not Streaming.HasModelLoaded(117)
  not Streaming.HasModelLoaded(118)
  not Streaming.HasModelLoaded(58)
goto_if_false @WUZI1_1341
wait 0
goto @WUZI1_1297

:WUZI1_1341
if or
  not Streaming.HasCarRecordingBeenLoaded(169)
  not Streaming.HasCarRecordingBeenLoaded(139)
goto_if_false @WUZI1_1373
wait 0
goto @WUZI1_1341

:WUZI1_1373
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Like, PedType.Mission2, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Mission1)
34@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
DecisionMakerChar.ClearEventResponse(34@, 31)
DecisionMakerChar.ClearEventResponse(34@, 9)
DecisionMakerChar.ClearEventResponse(34@, 49)
DecisionMakerChar.ClearEventResponse(34@, 15)
DecisionMakerChar.AddEventResponse(34@, 31, 1000, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(34@, 9, 1000, 0.0, 100.0, 0.0, 0.0, False, True)
if 
  Object.DoesExist($launchdoor_a51)
goto_if_false @WUZI1_1529
Object.Delete($launchdoor_a51)

:WUZI1_1529
$launchdoor_a51 = Object.CreateNoOffset(#CT_GATEXR, -2179.353, 661.232, 50.214)
Object.SetCollisionDamageEffect($launchdoor_a51, False)
Streaming.MarkModelAsNoLongerNeeded(#CT_GATEXR)
68@ = Object.CreateNoOffset(#CT_STALL1, -2213.413, 640.908, 48.43)
Object.SetHeading(68@, 90.0)
58@ = Object.CreateNoOffset(#CT_TABLE, -2201.436, 647.109, 48.413)
49@ = Object.CreateNoOffset(#CHINATGARAGEDOOR, -2184.415, 711.556, 54.523)
50@ = Object.CreateNoOffset(#CHINATGARAGEDOOR, -2178.87, 711.556, 54.523)
45@ = Object.CreateNoOffset(#TMP_BIN, -2183.968, 647.055, 49.185)
46@ = Object.CreateNoOffset(#TMP_BIN, -2172.813, 654.019, 49.185)
47@ = Object.CreateNoOffset(#TMP_BIN, -2172.813, 649.293, 49.185)
Object.SetHeading(46@, 270.0)
Object.SetHeading(47@, 270.0)
Object.SetHeading($launchdoor_a51, 0.0)
Game.SetWantedMultiplier(0.2)
Player.AlterWantedLevel($statbike_temp, 0)
73@ = 1
Game.SwitchEmergencyServices(False)
77@ = 99
201@ = -2199.0
205@ = 645.4869
209@ = 48.4453
213@ = -2194.68
217@ = 646.1572
221@ = 48.4453
202@ = -2199.0
206@ = 640.8279
210@ = 48.4453
214@ = -2194.043
218@ = 638.7194
222@ = 48.4453
203@ = -2195.839
207@ = 635.439
211@ = 48.4453
215@ = -2189.367
219@ = 636.7801
223@ = 48.4453
204@ = -2213.005
208@ = 638.9453
212@ = 48.4459
216@ = -2204.778
220@ = 639.4221
224@ = 48.4453
35@ = Char.Create(PedType.Mission2, 290, -2155.462, 645.8904, 51.3516)
set_lvar_int_to_lvar_int 741@ = 35@
37@ = 1
Char.GiveWeapon(35@, WeaponType.MicroUzi, 5000)
Char.SetCurrentWeapon(35@, WeaponType.Unarmed)
Char.SetHeading(35@, 180.0)
Char.SetHealth(35@, 250)
Char.SetMaxHealth(35@, 250)
161@ = 250
Char.SetSuffersCriticalHits(35@, False)
Streaming.UnloadSpecialCharacter(1)
107@ = Blip.AddForCoord(-2244.995, 642.8972, 48.4077)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @WUZI1_2203
Char.SetCoordinates($stattreadstamina_ctr, -2155.266, 645.0895, 51.3516)
Char.SetHeading($stattreadstamina_ctr, 270.0)

:WUZI1_2203
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_2268
Char.SetAnimGroup(35@, "BLINDMAN")
Char.SetDecisionMaker(35@, 34@)
Char.SetNeverTargeted(35@, True)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, 35@)
72@ = 1

:WUZI1_2268
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Streaming.LoadSceneInDirection(-2155.266, 645.0895, 51.3516, 270.0)
Streaming.RequestCollision(-2155.0, 645.0)
Camera.DoFade(1000, Fade.In)
Streaming.LoadScene(-2155.266, 645.0895, 51.3)
71@ = 2
42@ = 0
return 

:WUZI1_2353
Text.LoadMissionText('WUZI1')
Player.SetControl($statbike_temp, False)
Streaming.SetAreaVisible(1)
Cutscene.Load('WOOZI1A')

:WUZI1_2386
if 
  not Cutscene.HasLoaded
goto_if_false @WUZI1_2410
wait 0
goto @WUZI1_2386

:WUZI1_2410
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:WUZI1_2419
if 
  not Cutscene.HasFinished
goto_if_false @WUZI1_2443
wait 0
goto @WUZI1_2419

:WUZI1_2443
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @WUZI1_2463
238@ = 1

:WUZI1_2463
Camera.DoFade(0, Fade.Out)

:WUZI1_2469
if 
  Camera.GetFadingStatus
goto_if_false @WUZI1_2493
wait 0
goto @WUZI1_2469

:WUZI1_2493
Cutscene.Clear
if 
  238@ == 0
goto_if_false @WUZI1_2613
Cutscene.Load('WOOZI1B')

:WUZI1_2524
if 
  not Cutscene.HasLoaded
goto_if_false @WUZI1_2548
wait 0
goto @WUZI1_2524

:WUZI1_2548
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:WUZI1_2557
if 
  not Cutscene.HasFinished
goto_if_false @WUZI1_2581
wait 0
goto @WUZI1_2557

:WUZI1_2581
Camera.DoFade(0, Fade.Out)

:WUZI1_2587
if 
  Camera.GetFadingStatus
goto_if_false @WUZI1_2611
wait 0
goto @WUZI1_2587

:WUZI1_2611
Cutscene.Clear

:WUZI1_2613
Streaming.SetAreaVisible(0)
Camera.SetFadingColor(0, 0, 0)
wait 0
return 

:WUZI1_2631
if 
  38@ == 0
goto_if_false @WUZI1_3754
if 
  75@ == 0
goto_if_false @WUZI1_2724
637@ = 1
638@ = 2
75@ = 1
if 
  Object.DoesExist($launchdoor_a51)
goto_if_false @WUZI1_2724
Object.SetRotation($launchdoor_a51, 0.0, 0.0, 330.0)

:WUZI1_2724
if 
  75@ == 1
goto_if_false @WUZI1_2783
if 
  637@ == 0
goto_if_false @WUZI1_2783
Text.Print('WZ1_1', 8000, 1)
75@ = 2

:WUZI1_2783
if 
  75@ == 2
goto_if_false @WUZI1_3754
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  43@ == 0
goto_if_false @WUZI1_2871
if or
  627.0 > $y
  $y > 657.0
goto_if_false @WUZI1_2871
43@ = 1

:WUZI1_2871
if 
  43@ == 1
goto_if_false @WUZI1_2928
if 
  637@ == 0
goto_if_false @WUZI1_2928
637@ = 3
638@ = 2
43@ = 2

:WUZI1_2928
if 
  43@ == 2
goto_if_false @WUZI1_2974
if 
  -2164.0 > $x
goto_if_false @WUZI1_2974
43@ = 3

:WUZI1_2974
if 
  43@ == 3
goto_if_false @WUZI1_3031
if 
  637@ == 0
goto_if_false @WUZI1_3031
637@ = 5
638@ = 3
43@ = 4

:WUZI1_3031
if 
  43@ == 4
goto_if_false @WUZI1_3087
if and
  707.0 > $y
  $y > 587.0
goto_if_false @WUZI1_3087
43@ = 5

:WUZI1_3087
if 
  43@ == 5
goto_if_false @WUZI1_3144
if 
  637@ == 0
goto_if_false @WUZI1_3144
637@ = 9
638@ = 2
43@ = 6

:WUZI1_3144
if 
  43@ == 7
goto_if_false @WUZI1_3193
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_3193
Task.LeaveAnyCar($stattreadstamina_ctr)
43@ = 8

:WUZI1_3193
if 
  43@ == 8
goto_if_false @WUZI1_3303
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @WUZI1_3269
Player.SetControl($statbike_temp, True)
43@ = 11
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_3262
Char.RemoveFromGroup(35@)

:WUZI1_3262
goto @WUZI1_3303

:WUZI1_3269
195@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1587)
if 
  is_int_lvar_equal_to_constant 195@ == 7
goto_if_false @WUZI1_3303
Task.LeaveAnyCar($stattreadstamina_ctr)

:WUZI1_3303
if 
  239@ == 1
goto_if_false @WUZI1_3367
if and
  636@ == 1
  637@ == 0
goto_if_false @WUZI1_3367
637@ = 11
638@ = 2
239@ = 2

:WUZI1_3367
if 
  239@ == 2
goto_if_false @WUZI1_3440
if and
  636@ == 1
  637@ == 0
goto_if_false @WUZI1_3440
Text.Print('WZ1_B4', 5000, 1)
38@ = 1
239@ = 3

:WUZI1_3440
if 
  7 > 43@
goto_if_false @WUZI1_3754
if 
  72@ == 1
goto_if_false @WUZI1_3754
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_3754
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2248.077, 651.3163, 48.3815, 4.0, 4.0, 4.0, True)
goto_if_false @WUZI1_3754
if 
  not Char.LocateAnyMeans3D(35@, -2248.077, 651.3163, 48.3815, 6.0, 6.0, 6.0, False)
goto_if_false @WUZI1_3611
Text.PrintNow('WZ1_2', 1000, 1)
goto @WUZI1_3754

:WUZI1_3611
239@ = 1
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @WUZI1_3728
$stealth_help_flag = Char.GetCarIsUsing($stattreadstamina_ctr)
Player.SetControl($statbike_temp, False)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 600)
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 600
if 
  Char.IsInAnyCar(35@)
goto_if_false @WUZI1_3728
132@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.LeaveAnyCar(-1)
Sequence.Close(132@)
Char.PerformSequence(35@, 132@)
Sequence.Clear(132@)

:WUZI1_3728
636@ = 6
Blip.Remove(107@)
43@ = 7
73@ = 0

:WUZI1_3754
if 
  38@ == 1
goto_if_false @WUZI1_3878
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @WUZI1_3878
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_3878
132@ = Sequence.Open()
Task.Pause(-1, 300)
Task.FollowPathNodesToCoord(-1, -2244.439, 643.4277, 48.4375, 4, -2)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(132@)
Char.PerformSequence(35@, 132@)
Sequence.Clear(132@)
253@ = 20
38@ = 2

:WUZI1_3878
if 
  38@ == 2
goto_if_false @WUZI1_7074
if 
  240@ == 0
goto_if_false @WUZI1_4389
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  646.0 > $y
goto_if_false @WUZI1_4389
243@ = Char.CreateRandom(-2182.969, 645.0695, 48.4453)
244@ = Char.CreateRandom(-2183.643, 642.2832, 48.4453)
245@ = Char.CreateRandom(-2190.507, 636.5036, 48.4429)
246@ = Char.CreateRandom(-2200.647, 641.6252, 48.4429)
247@ = Char.CreateRandom(-2200.622, 642.8997, 48.4429)
248@ = Char.CreateRandom(-2223.243, 644.5712, 48.4448)
249@ = Char.CreateRandom(-2235.814, 642.5659, 48.4472)
set_lvar_int_to_lvar_int 250@ = TIMERA
132@ = Sequence.Open()
Task.Pause(-1, 2000)
Task.SmartFleePoint(-1, -2181.969, 645.0695, 48.4453, 80.0, 30000)
Sequence.Close(132@)
Char.PerformSequence(243@, 132@)
Sequence.Clear(132@)
Task.GoStraightToCoord(244@, -2190.978, 646.0287, 48.4453, MoveState.Walk, -2)
Task.GoStraightToCoord(245@, -2192.964, 644.2189, 48.4453, MoveState.Walk, -2)
132@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, 247@)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 8.0, False, False, False, False, 6000)
Sequence.Close(132@)
Char.PerformSequence(246@, 132@)
Sequence.Clear(132@)
132@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, 246@)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 8.0, False, False, False, False, 6000)
Sequence.Close(132@)
Char.PerformSequence(247@, 132@)
Sequence.Clear(132@)
Task.GoStraightToCoord(248@, -2200.941, 644.4352, 48.4429, MoveState.Walk, -2)
Task.GoStraightToCoord(249@, -2213.171, 638.7413, 48.4496, MoveState.Walk, -2)
240@ = 1

:WUZI1_4389
if 
  240@ > 0
goto_if_false @WUZI1_5233
set_lvar_int_to_lvar_int 251@ = TIMERA
sub_int_lvar_from_int_lvar 251@ -= 250@
if 
  252@ == 0
goto_if_false @WUZI1_4511
if 
  251@ > 3500
goto_if_false @WUZI1_4511
if 
  not Char.IsDead(244@)
goto_if_false @WUZI1_4504
Task.SmartFleePoint(244@, -2181.969, 645.0695, 48.4453, 80.0, 30000)

:WUZI1_4504
252@ = 1

:WUZI1_4511
if 
  252@ == 1
goto_if_false @WUZI1_4657
if 
  251@ > 6000
goto_if_false @WUZI1_4657
if 
  not Char.IsDead(245@)
goto_if_false @WUZI1_4650
132@ = Sequence.Open()
Task.SmartFleePoint(-1, -2181.969, 645.0695, 48.4453, 80.0, 5000)
Task.FallAndGetUp(-1, False, 500)
Task.SmartFleePoint(-1, -2181.969, 645.0695, 48.4453, 80.0, 30000)
Sequence.Close(132@)
Char.PerformSequence(245@, 132@)
Sequence.Clear(132@)

:WUZI1_4650
252@ = 2

:WUZI1_4657
if 
  252@ == 2
goto_if_false @WUZI1_4745
if 
  251@ > 9000
goto_if_false @WUZI1_4745
if 
  not Char.IsDead(246@)
goto_if_false @WUZI1_4738
Task.SmartFleePoint(246@, -2181.969, 645.0695, 48.4453, 80.0, 30000)

:WUZI1_4738
252@ = 3

:WUZI1_4745
if 
  252@ == 3
goto_if_false @WUZI1_4891
if 
  251@ > 8000
goto_if_false @WUZI1_4891
if 
  not Char.IsDead(247@)
goto_if_false @WUZI1_4884
132@ = Sequence.Open()
Task.SmartFleePoint(-1, -2181.969, 645.0695, 48.4453, 80.0, 3000)
Task.FallAndGetUp(-1, False, 500)
Task.SmartFleePoint(-1, -2181.969, 645.0695, 48.4453, 80.0, 30000)
Sequence.Close(132@)
Char.PerformSequence(247@, 132@)
Sequence.Clear(132@)

:WUZI1_4884
252@ = 4

:WUZI1_4891
if 
  252@ == 4
goto_if_false @WUZI1_4979
if 
  251@ > 10000
goto_if_false @WUZI1_4979
if 
  not Char.IsDead(248@)
goto_if_false @WUZI1_4972
Task.SmartFleePoint(248@, -2181.969, 645.0695, 48.4453, 80.0, 30000)

:WUZI1_4972
252@ = 5

:WUZI1_4979
if 
  252@ == 5
goto_if_false @WUZI1_5067
if 
  251@ > 12000
goto_if_false @WUZI1_5067
if 
  not Char.IsDead(249@)
goto_if_false @WUZI1_5060
Task.SmartFleePoint(249@, -2181.969, 645.0695, 48.4453, 80.0, 30000)

:WUZI1_5060
252@ = 6

:WUZI1_5067
if 
  252@ == 6
goto_if_false @WUZI1_5233
if 
  251@ > 52000
goto_if_false @WUZI1_5233
130@ = 0

:WUZI1_5113
if 
  7 > 130@
goto_if_false @WUZI1_5226
if 
  not Char.IsDead(243@(130@,7i))
goto_if_false @WUZI1_5212
Task.Pause(243@(130@,7i), 1)
Char.MarkAsNoLongerNeeded(243@(130@,7i))
Task.WanderStandard(243@(130@,7i))
Path.SwitchPedRoadsOff(-2239.251, 636.6675, 53.1933, -2165.047, 720.0577, 49.5456)

:WUZI1_5212
130@ += 1
goto @WUZI1_5113

:WUZI1_5226
252@ = 7

:WUZI1_5233
if 
  240@ == 1
goto_if_false @WUZI1_5535
if and
  251@ > 12000
  22000 > 251@
goto_if_false @WUZI1_5535
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_5535
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(35@)
if and
  $on_footY > -2240.276
  -2227.0 > $on_footY
goto_if_false @WUZI1_5535
if 
  Char.LocateAnyMeansChar3D(35@, $stattreadstamina_ctr, 8.0, 8.0, 8.0, False)
goto_if_false @WUZI1_5535
Char.ClearTasks(35@)
Task.Pause(35@, 1)
Path.FlushRoute
Path.ExtendRoute(-2232.999, 643.0717, 48.4466)
Path.ExtendRoute(-2213.888, 643.3788, 48.4462)
Path.ExtendRoute(-2172.958, 644.4861, 48.4453)
132@ = Sequence.Open()
Task.ScratchHead(-1)
Task.LookAtChar(-1, $stattreadstamina_ctr, 5000)
Task.Pause(-1, 1000)
Task.Pause(-1, 0)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Task.FallAndGetUp(-1, False, 500)
Sequence.Close(132@)
Char.PerformSequence(35@, 132@)
Sequence.Clear(132@)
637@ = 69
638@ = 4
240@ = 2
253@ = 21

:WUZI1_5535
if 
  253@ == 1
goto_if_false @WUZI1_5786
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_5786
158@ = Char.GetScriptTaskStatus(35@, -1)
if 
  is_int_lvar_equal_to_constant 158@ == 7
goto_if_false @WUZI1_5786
if and
  637@ == 0
  636@ == 1
goto_if_false @WUZI1_5786
132@ = Sequence.Open()
Task.PlayAnim(-1, "WUZI_GRND_CHK", "WUZI", 4.0, False, False, False, False, -1)
Task.Pause(-1, 1000)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, 4000)
Task.GoStraightToCoord(-1, -2214.083, 641.1605, 48.4489, MoveState.Walk, -2)
Sequence.Close(132@)
Char.PerformSequence(35@, 132@)
Sequence.Clear(132@)
DecisionMakerChar.ClearEventResponse(34@, 44)
637@ = 73
638@ = 3
253@ = 20

:WUZI1_5786
if 
  253@ == 20
goto_if_false @WUZI1_6150
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_6150
158@ = Char.GetScriptTaskStatus(35@, -1)
if 
  is_int_lvar_equal_to_constant 158@ == 7
goto_if_false @WUZI1_6150
if and
  637@ == 0
  636@ == 1
goto_if_false @WUZI1_6150
Path.FlushRoute
Path.ExtendRoute(-2232.999, 643.0717, 48.4466)
Path.ExtendRoute(-2213.888, 643.3788, 48.4462)
Path.ExtendRoute(-2172.958, 644.4861, 48.4453)
if 
  Char.LocateAnyMeansChar3D(35@, $stattreadstamina_ctr, 13.0, 13.0, 10.0, False)
goto_if_false @WUZI1_5976
254@ = 1
goto @WUZI1_5983

:WUZI1_5976
254@ = 0

:WUZI1_5983
132@ = Sequence.Open()
Task.PlayAnim(-1, "WUZI_GRND_CHK", "WUZI", 4.0, False, False, False, False, -1)
Task.Pause(-1, 1000)
if 
  254@ == 1
goto_if_false @WUZI1_6096
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, 3500)

:WUZI1_6096
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(132@)
Char.PerformSequence(35@, 132@)
Sequence.Clear(132@)
DecisionMakerChar.ClearEventResponse(34@, 44)
637@ = 73
638@ = 3
253@ = 21

:WUZI1_6150
if 
  253@ == 21
goto_if_false @WUZI1_6488
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_6488
158@ = Char.GetScriptTaskStatus(35@, 1560)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(35@)
if 
  $on_footY > -2181.276
goto_if_false @WUZI1_6292
132@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2172.958, 644.4861, 48.4453, MoveState.Run, -2)
Task.FallAndGetUp(-1, False, 500)
Sequence.Close(132@)
Char.PerformSequence(35@, 132@)
Sequence.Clear(132@)
253@ = 22

:WUZI1_6292
if and
  -2243.0 > $on_footY
  257@ == 1
goto_if_false @WUZI1_6435
257@ = 2
Path.FlushRoute
Path.ExtendRoute(-2244.831, 643.3638, 48.439)
Path.ExtendRoute(-2232.999, 643.0717, 48.4466)
Path.ExtendRoute(-2213.888, 643.3788, 48.4462)
Path.ExtendRoute(-2172.958, 644.4861, 48.4453)
132@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(132@)
Char.PerformSequence(35@, 132@)
Sequence.Clear(132@)

:WUZI1_6435
if 
  $on_footY > -2240.0
goto_if_false @WUZI1_6488
if or
  257@ == 0
  257@ == 2
goto_if_false @WUZI1_6488
257@ = 1

:WUZI1_6488
if 
  253@ == 22
goto_if_false @WUZI1_6633
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_6633
158@ = Char.GetScriptTaskStatus(35@, 1560)
if 
  is_int_lvar_equal_to_constant 158@ == 1
goto_if_false @WUZI1_6633
if 
  255@ == 0
goto_if_false @WUZI1_6633
132@ = Char.GetSequenceProgress(35@)
if or
  132@ == 1
  is_int_lvar_equal_to_constant 158@ == 7
goto_if_false @WUZI1_6633
256@ = Char.SetSayContextImportant(35@, 340, True, False, False)
253@ = 23
255@ = 1

:WUZI1_6633
if 
  253@ == 23
goto_if_false @WUZI1_6784
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_6784
158@ = Char.GetScriptTaskStatus(35@, 1560)
if 
  is_int_lvar_equal_to_constant 158@ == 7
goto_if_false @WUZI1_6784
132@ = Sequence.Open()
Task.ScratchHead(-1)
Task.LookAtChar(-1, $stattreadstamina_ctr, 5000)
Task.Pause(-1, 4000)
Task.GoStraightToCoord(-1, -2176.184, 653.9911, 48.4453, MoveState.Walk, -2)
Sequence.Close(132@)
Char.PerformSequence(35@, 132@)
Sequence.Clear(132@)
637@ = 78
638@ = 4
253@ = 10

:WUZI1_6784
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_7074
if 
  78@ == 0
goto_if_false @WUZI1_6856
if 
  not Char.IsInAnyCar(35@)
goto_if_false @WUZI1_6856
108@ = Blip.AddForChar(35@)
Blip.SetAsFriendly(108@, True)
78@ = 1

:WUZI1_6856
if and
  637@ == 0
  636@ == 1
goto_if_false @WUZI1_7074
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2175.872, 659.7667, 49.4793, 6.0, 6.0, 6.0, False)
  Char.IsInArea3D($stattreadstamina_ctr, -2191.513, 711.8201, 63.4591, -2171.859, 648.7307, 48.1132, False)
goto_if_false @WUZI1_7074
71@ = 3
42@ = 0
set_lvar_int_to_lvar_int 266@ = TIMERA
266@ += 1500
Char.RemoveFromGroup(35@)
Blip.Remove(108@)
130@ = 0

:WUZI1_7013
if 
  7 > 130@
goto_if_false @WUZI1_7074
if 
  Char.DoesExist(243@(130@,7i))
goto_if_false @WUZI1_7060
Char.Delete(243@(130@,7i))

:WUZI1_7060
130@ += 1
goto @WUZI1_7013

:WUZI1_7074
return 

:WUZI1_7076
Game.SetWantedMultiplier(0.1)
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
if 
  92@ == 1
goto_if_false @WUZI1_7122

:WUZI1_7122
if 
  39@ == 0
goto_if_false @WUZI1_7171
39@ = 1
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @WUZI1_7171
40@ = 1

:WUZI1_7171
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @WUZI1_7253
if 
  40@ == 0
goto_if_false @WUZI1_7246
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 266@
goto_if_false @WUZI1_7246
42@ = 13
159@ = 0
636@ = 6

:WUZI1_7246
goto @WUZI1_7278

:WUZI1_7253
if 
  40@ == 1
goto_if_false @WUZI1_7278
40@ = 0

:WUZI1_7278
if 
  42@ == 0
goto_if_false @WUZI1_8405
Camera.SetNearClip(0.1)
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
World.SetUsesCollisionOfClosestObjectOfType(-2175.213, 662.718, 50.8582, 10.5, #CT_GATEXR, False)
196@ = Char.GetCurrentWeapon($stattreadstamina_ctr)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(-2172.251, 660.9875, 48.5695, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2173.039, 660.4017, 48.7593, SwitchType.JumpCut)
Object.SetCollisionDamageEffect($launchdoor_a51, True)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Streaming.RequestCarRecording(169)
100@ = Car.Create(405, -2183.575, 705.0761, 52.8984)
99@ = Car.Create(405, -2174.429, 703.2332, 52.8918)
Car.SetHeading(99@, 218.7637)
Car.SetHeading(100@, 347.2325)
Car.FreezePosition(99@, True)
Car.FreezePosition(100@, True)
Car.DamageDoor(99@, CarDoor.Hood)
Car.DamageDoor(99@, CarDoor.Hood)
Car.DamageDoor(99@, CarDoor.Hood)
Car.DamageDoor(99@, CarDoor.RightFrontDoor)
Car.DamageDoor(99@, CarDoor.RightFrontDoor)
Car.DamageDoor(99@, CarDoor.RightFrontDoor)
Car.DamageDoor(99@, CarDoor.RightRearDoor)
Car.DamageDoor(99@, CarDoor.Trunk)
Car.DamageDoor(99@, CarDoor.Trunk)
Car.DamageDoor(99@, CarDoor.Trunk)
Car.DamageDoor(99@, CarDoor.LeftFrontDoor)
Car.DamageDoor(99@, CarDoor.LeftFrontDoor)
Car.DamagePanel(99@, 1)
Car.DamagePanel(99@, 1)
Car.DamagePanel(99@, 5)
Car.DamagePanel(99@, 4)
Car.DamagePanel(99@, 4)
Car.DamagePanel(99@, 1)
Car.DamagePanel(99@, 1)
Car.DamagePanel(99@, 5)
Car.DamageDoor(100@, CarDoor.Hood)
Car.DamageDoor(100@, CarDoor.Hood)
Car.DamageDoor(100@, CarDoor.RightFrontDoor)
Car.DamageDoor(100@, CarDoor.RightFrontDoor)
Car.DamageDoor(100@, CarDoor.RightRearDoor)
Car.DamagePanel(100@, 1)
Car.DamagePanel(100@, 1)
Car.DamagePanel(100@, 5)
Car.DamageDoor(100@, CarDoor.Trunk)
Car.DamageDoor(100@, CarDoor.Trunk)
Car.DamageDoor(100@, CarDoor.Hood)
Car.DamageDoor(100@, CarDoor.Hood)
Car.DamageDoor(100@, CarDoor.LeftFrontDoor)
Car.DamageDoor(100@, CarDoor.LeftFrontDoor)
Car.DamagePanel(100@, 1)
Car.DamagePanel(100@, 1)
Car.DamagePanel(100@, 5)
Car.OpenDoor(99@, CarDoor.RightFrontDoor)
Car.OpenDoor(99@, CarDoor.RightRearDoor)
Car.OpenDoor(100@, CarDoor.RightFrontDoor)
Car.BurstTire(100@, 1)
Car.PopBoot(100@)
Car.ForceLights(99@, CarLights.ForceOn)
Car.ExplodeInCutsceneShakeAndBits(99@, False, False, False)
Car.ExplodeInCutsceneShakeAndBits(100@, False, False, False)
World.ClearArea(-2180.443, 703.3992, 55.7186, 20.0, False)
World.ClearArea(-2175.947, 660.2386, 49.7032, 10.0, False)
258@ = ScriptFire.Start(-2183.575, 705.0761, 52.8984, 3, 2)
259@ = ScriptFire.Start(-2174.429, 703.2332, 52.8918, 5, 2)
Game.SetMaxFireGenerations(0)
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_8350
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately(35@)
Char.SetCoordinates(35@, -2176.33, 654.2678, 48.4453)
Char.SetCoordinates($stattreadstamina_ctr, -2175.33, 653.2678, 48.4453)
Char.SetHeading($stattreadstamina_ctr, 280.0)
Char.SetHeading(35@, 270.0)
Task.GoStraightToCoord($stattreadstamina_ctr, -2173.952, 657.6135, 49.8762, MoveState.Walk, -2)
132@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2174.469, 658.379, 48.4453, MoveState.Walk, -2)
Task.AchieveHeading(-1, 72.0)
Task.PlayAnim(-1, "WUZI_GREET_WUZI", "WUZI", 4.0, False, True, True, False, -1)
Sequence.Close(132@)
Char.PerformSequence(35@, 132@)
Sequence.Clear(132@)
754@ = 1
$d6_player_in_tunnel = 1
285@ = 15
329@ = 12
289@ = 395
290@ = 4202
291@ = 7380
292@ = 13000
293@ = 14516
294@ = 17352
295@ = 19617
296@ = 21861
297@ = 23540
298@ = 26894
299@ = 28934
300@ = 33619
309@ = 15
310@ = 16
311@ = 17
312@ = 18
313@ = 19
314@ = 20
315@ = 21
316@ = 22
317@ = 23
318@ = 24
319@ = 25
320@ = 26

:WUZI1_8350
World.ClearAreaOfCars(-2168.531, 717.8694, 68.3455, -2254.379, 608.9255, 44.7364)
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 7880
42@ = 1

:WUZI1_8405
if 
  42@ == 1
goto_if_false @WUZI1_8629
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_8629
Path.FlushRoute
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_8525
Path.ExtendRoute(-2175.939, 662.5935, 48.7831)
Path.ExtendRoute(-2175.389, 658.0797, 48.4453)
132@ = Sequence.Open()
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Sequence.Close(132@)
Char.PerformSequence(35@, 132@)
Sequence.Clear(132@)

:WUZI1_8525
Path.FlushRoute
Path.ExtendRoute(-2174.71, 658.746, 48.4453)
Path.ExtendRoute(-2175.939, 662.5935, 48.7831)
132@ = Sequence.Open()
Task.Pause(-1, 1200)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Sequence.Close(132@)
Char.PerformSequence($stattreadstamina_ctr, 132@)
Sequence.Clear(132@)
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 3000
42@ = 2
92@ = 1

:WUZI1_8629
if 
  42@ == 2
goto_if_false @WUZI1_8673
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_8673
42@ = 3

:WUZI1_8673
if 
  42@ == 3
goto_if_false @WUZI1_9104
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_9104
Camera.SetFixedPosition(-2176.838, 696.095, 53.828, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2178.171, 693.774, 54.725, SwitchType.JumpCut)
134@ = Char.Create(PedType.CivMale, 117, -2177.462, 698.151, 52.923)
135@ = Char.Create(PedType.CivMale, 118, -2182.442, 704.3199, 52.8984)
136@ = Char.Create(PedType.CivMale, 117, -2176.552, 702.9572, 52.8984)
137@ = Char.Create(PedType.CivMale, 118, -2178.468, 707.6988, 52.8971)
Char.SetHeading(134@, 77.5)
Char.SetHeading(135@, 229.921)
Char.SetHeading(136@, 148.6859)
Char.SetHeading(137@, 12.4516)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(118)
Task.Die(135@)
Task.Die(136@)
Task.Die(137@)
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_9081
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately(35@)
Char.SetCoordinates($stattreadstamina_ctr, -2177.034, 690.892, 52.9)
Char.SetCoordinates(35@, -2177.995, 690.775, 52.9)
Char.SetHeading(35@, 0.0)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Task.PlayAnim($stattreadstamina_ctr, "CS_PLYR_PT1", "WUZI", 1000.0, False, True, True, False, -2)
Task.PlayAnim(35@, "CS_WUZI_PT1", "WUZI", 1000.0, False, True, True, False, -2)

:WUZI1_9081
42@ = 4
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 3000

:WUZI1_9104
if 
  42@ == 4
goto_if_false @WUZI1_9263
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_9263
if 
  not Char.IsDead(134@)
goto_if_false @WUZI1_9263
Char.SetCoordinates(134@, -2177.602, 698.151, 53.0)
Char.SetHeading(134@, 77.5)
Task.PlayAnimNonInterruptable(134@, "CS_DEAD_GUY", "WUZI", 1000.0, False, False, False, True, -2)
Char.FreezePosition(134@, True)
Char.SetCollision(134@, False)
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 766
42@ = 5

:WUZI1_9263
if 
  42@ == 5
goto_if_false @WUZI1_9528
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_9528
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_9528
42@ = 6
Camera.SetFixedPosition(-2178.133, 693.2726, 54.0799, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2178.13, 694.2693, 54.0, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, -2177.034, 694.913, 52.87)
Char.SetCoordinates(35@, -2177.994, 696.476, 52.87)
Char.SetHeading(35@, 0.0)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately(35@)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CS_PLYR_PT2", "WUZI", 1000.0, False, True, True, False, -2)
Task.PlayAnimNonInterruptable(35@, "CS_WUZI_PT2", "WUZI", 1000.0, False, True, True, False, -2)
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 2234

:WUZI1_9528
if 
  42@ == 6
goto_if_false @WUZI1_9677
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_9677
if 
  not Char.IsDead(134@)
goto_if_false @WUZI1_9677
Char.SetCoordinates(134@, -2177.602, 698.151, 53.0)
Task.PlayAnimNonInterruptable(134@, "CS_DEAD_GUY", "WUZI", 1000.0, False, False, False, True, -2)
Char.FreezePosition(134@, True)
Char.SetCollision(134@, False)
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 3833
42@ = 7

:WUZI1_9677
if 
  42@ == 7
goto_if_false @WUZI1_10092
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_10092
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_10092
Camera.SetFixedPosition(-2177.798, 695.7769, 54.2318, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2177.627, 696.7596, 54.3015, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 3000
42@ = 8
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_9830
Char.GiveWeapon(35@, WeaponType.MicroUzi, 5000)

:WUZI1_9830
101@ = Car.Create(405, -2177.524, 642.8537, 48.4453)
92@ = 0
Object.SetHeading($launchdoor_a51, 0.0)
138@ = Char.CreateInsideCar(101@, PedType.Mission1, 121)
139@ = Char.CreateAsPassenger(101@, PedType.Mission1, 122, 0)
140@ = Char.CreateAsPassenger(101@, PedType.Mission1, 123, 1)
141@ = Char.CreateAsPassenger(101@, PedType.Mission1, 122, 2)
Char.GiveWeapon(138@, WeaponType.MicroUzi, 500)
Char.GiveWeapon(139@, WeaponType.MicroUzi, 500)
Char.GiveWeapon(140@, WeaponType.MicroUzi, 500)
Char.GiveWeapon(141@, WeaponType.MicroUzi, 500)
Char.SetAccuracy(138@, 60)
Char.SetAccuracy(139@, 60)
Char.SetAccuracy(140@, 60)
Char.SetAccuracy(141@, 60)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Mission2)
Car.SetForwardSpeed(101@, 20.0)
Char.SetDecisionMaker(138@, 34@)
Char.SetDecisionMaker(139@, 34@)
Char.SetDecisionMaker(140@, 34@)
Char.SetDecisionMaker(141@, 34@)
156@ = Char.Create(PedType.CivMale, 117, -2180.265, 712.9368, 52.905)
set_lvar_int_to_lvar_int 742@ = 156@
Char.SetHeading(156@, 180.0)

:WUZI1_10092
if 
  42@ == 8
goto_if_false @WUZI1_10220
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_10220
if 
  not Char.IsDead(156@)
goto_if_false @WUZI1_10220
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_10179
Char.SetCurrentWeapon(35@, WeaponType.MicroUzi)
Task.AimGunAtChar(35@, 156@, 4000)

:WUZI1_10179
Task.AimGunAtChar($stattreadstamina_ctr, 156@, 4000)
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 2000
42@ = 9
260@ = 1

:WUZI1_10220
if 
  42@ == 9
goto_if_false @WUZI1_10430
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_10430
if 
  not Char.IsDead(156@)
goto_if_false @WUZI1_10406
Task.HandsUp(156@, 5000)
132@ = Sequence.Open()
Task.Pause(-1, 6000)
Task.PlayAnim(-1, "FLEE_LKAROUND_01", "PED", 8.0, False, False, False, False, -1)
Sequence.Close(132@)
Char.PerformSequence($stattreadstamina_ctr, 132@)
Sequence.Clear(132@)
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 8000
42@ = 10
263@ = 3
set_lvar_int_to_lvar_int 262@ = TIMERA
262@ += 8500
261@ = 1

:WUZI1_10406
set_lvar_int_to_constant 281@ = 28000
set_lvar_int_to_lvar_int 283@ = TIMERA
283@ += 6000

:WUZI1_10430
if 
  260@ == 1
goto_if_false @WUZI1_10593
if 
  263@ == 0
goto_if_false @WUZI1_10493
Audio.ReportMissionAudioEventAtPosition(-2178.554, 704.7785, 54.2349, 1153)
263@ = 1

:WUZI1_10493
if 
  Object.Slide(50@, -2178.87, 711.556, 57.523, 0.0, 0.0, 0.08, False)
goto_if_false @WUZI1_10593
if 
  263@ == 1
goto_if_false @WUZI1_10593
Audio.ReportMissionAudioEventAtPosition(-2178.554, 704.7785, 54.2349, 1154)
263@ = 2
260@ = 2

:WUZI1_10593
if 
  261@ == 1
goto_if_false @WUZI1_10637
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 262@
goto_if_false @WUZI1_10637
261@ = 2

:WUZI1_10637
if 
  261@ == 2
goto_if_false @WUZI1_10793
if 
  263@ == 3
goto_if_false @WUZI1_10700
Audio.ReportMissionAudioEventAtPosition(-2178.554, 704.7785, 54.2349, 1153)
263@ = 4

:WUZI1_10700
if 
  Object.Slide(50@, -2178.87, 711.556, 54.523, 0.0, 0.0, 0.08, False)
goto_if_false @WUZI1_10793
if 
  263@ == 4
goto_if_false @WUZI1_10793
Audio.ReportMissionAudioEventAtPosition(-2178.554, 704.7785, 54.2349, 1154)
263@ = 5

:WUZI1_10793
if 
  42@ == 10
goto_if_false @WUZI1_10853
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_10853
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 1000
42@ = 11

:WUZI1_10853
if 
  42@ == 11
goto_if_false @WUZI1_11023
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_11023
Camera.SetFixedPosition(-2172.674, 674.1689, 53.0772, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2173.268, 673.4052, 52.8255, SwitchType.JumpCut)
if 
  not Char.IsDead(134@)
goto_if_false @WUZI1_10964
Char.SetHealth(134@, 0)

:WUZI1_10964
if and
  not Car.IsDead(101@)
  not Char.IsDead(138@)
goto_if_false @WUZI1_10993
Car.StartPlayback(101@, 169)

:WUZI1_10993
Object.SetCollisionDamageEffect($launchdoor_a51, True)
42@ = 14
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 600

:WUZI1_11023
if 
  42@ == 14
goto_if_false @WUZI1_11110
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_11110
Object.Break($launchdoor_a51, 0)
Audio.ReportMissionAudioEventAtPosition(-2177.422, 662.1031, 51.0185, 1141)
42@ = 12
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 2800

:WUZI1_11110
if 
  42@ == 12
goto_if_false @WUZI1_11243
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_11243
if 
  not Char.IsDead(138@)
goto_if_false @WUZI1_11243
if 
  not Car.IsDead(101@)
goto_if_false @WUZI1_11243
Car.TaskEveryoneLeave(101@)
42@ = 13
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 2000
Path.FlushRoute
Path.ExtendRoute(-2178.472, 676.4617, 48.8898)
Path.ExtendRoute(-2178.472, 695.4617, 52.8898)

:WUZI1_11243
if 
  42@ == 13
goto_if_false @WUZI1_11408
if 
  not Char.IsDead(138@)
goto_if_false @WUZI1_11359
if 
  not Char.IsInAnyCar(138@)
goto_if_false @WUZI1_11359
158@ = Char.GetScriptTaskStatus(138@, 1560)
if 
  is_int_lvar_equal_to_constant 158@ == 7
goto_if_false @WUZI1_11359
132@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Sequence.Close(132@)
Char.PerformSequence(138@, 132@)
Sequence.Clear(132@)

:WUZI1_11359
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_11408
42@ = 15
Camera.DoFade(1000, Fade.Out)
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 1000

:WUZI1_11408
if 
  42@ == 15
goto_if_false @WUZI1_13131
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_13131
92@ = 0
if 
  Object.DoesExist($launchdoor_a51)
goto_if_false @WUZI1_11473
Object.Delete($launchdoor_a51)

:WUZI1_11473
if 
  not Car.IsDead(101@)
goto_if_false @WUZI1_11519
Car.SetCoordinates(101@, -2174.727, 673.9934, 51.8769)
Car.SetHeading(101@, 337.6978)

:WUZI1_11519
Streaming.RequestModel(117)
Streaming.RequestModel(118)
Streaming.RequestCarRecording(169)

:WUZI1_11532
if or
  not Streaming.HasModelLoaded(117)
  not Streaming.HasModelLoaded(118)
  not Streaming.HasCarRecordingBeenLoaded(169)
goto_if_false @WUZI1_11567
wait 0
goto @WUZI1_11532

:WUZI1_11567
if 
  Car.IsDead(101@)
goto_if_false @WUZI1_11606
101@ = Car.Create(405, -2174.727, 673.9934, 51.8769)

:WUZI1_11606
if 
  not Car.IsDead(101@)
goto_if_false @WUZI1_11651
if 
  not Car.IsPlaybackGoingOn(101@)
goto_if_false @WUZI1_11646
Car.StartPlayback(101@, 169)

:WUZI1_11646
Car.SkipToEndAndStopPlayback(101@)

:WUZI1_11651
Char.Delete(138@)
Char.Delete(139@)
Char.Delete(140@)
Char.Delete(141@)
if 
  not Char.IsDead(138@)
goto_if_false @WUZI1_11757
if 
  Char.IsInAnyCar(138@)
goto_if_false @WUZI1_11730
Char.WarpFromCarToCoord(138@, -2176.649, 669.7497, 50.7274)
goto @WUZI1_11750

:WUZI1_11730
Char.SetCoordinates(138@, -2176.649, 669.7497, 50.7274)

:WUZI1_11750
goto @WUZI1_11781

:WUZI1_11757
138@ = Char.Create(PedType.Mission1, 121, -2176.649, 669.7497, 50.7274)

:WUZI1_11781
Char.SetHeading(138@, 34.4985)
if 
  not Char.IsDead(139@)
goto_if_false @WUZI1_11877
if 
  Char.IsInAnyCar(139@)
goto_if_false @WUZI1_11850
Char.WarpFromCarToCoord(139@, -2172.771, 671.1902, 51.1101)
goto @WUZI1_11870

:WUZI1_11850
Char.SetCoordinates(139@, -2172.771, 671.1902, 51.1101)

:WUZI1_11870
goto @WUZI1_11901

:WUZI1_11877
139@ = Char.Create(PedType.Mission1, 122, -2172.771, 671.1902, 51.1101)

:WUZI1_11901
Char.SetHeading(139@, 28.6454)
if 
  not Char.IsDead(140@)
goto_if_false @WUZI1_11997
if 
  Char.IsInAnyCar(140@)
goto_if_false @WUZI1_11970
Char.WarpFromCarToCoord(140@, -2176.143, 676.2279, 52.4792)
goto @WUZI1_11990

:WUZI1_11970
Char.SetCoordinates(140@, -2176.143, 676.2279, 52.4792)

:WUZI1_11990
goto @WUZI1_12021

:WUZI1_11997
140@ = Char.Create(PedType.Mission1, 123, -2176.143, 676.2279, 52.4792)

:WUZI1_12021
Char.SetHeading(140@, 6.8518)
if 
  not Char.IsDead(141@)
goto_if_false @WUZI1_12117
if 
  Char.IsInAnyCar(141@)
goto_if_false @WUZI1_12090
Char.WarpFromCarToCoord(141@, -2177.82, 675.736, 52.3458)
goto @WUZI1_12110

:WUZI1_12090
Char.SetCoordinates(141@, -2177.82, 675.736, 52.3458)

:WUZI1_12110
goto @WUZI1_12141

:WUZI1_12117
141@ = Char.Create(PedType.Mission1, 122, -2177.82, 675.736, 52.3458)

:WUZI1_12141
Char.SetHeading(141@, 6.2257)
Char.GiveWeapon(138@, WeaponType.MicroUzi, 5000)
Char.GiveWeapon(139@, WeaponType.MicroUzi, 5000)
Char.GiveWeapon(140@, WeaponType.MicroUzi, 5000)
Char.GiveWeapon(141@, WeaponType.MicroUzi, 5000)
Char.SetAccuracy(138@, 60)
Char.SetAccuracy(139@, 60)
Char.SetAccuracy(140@, 60)
Char.SetAccuracy(141@, 60)
Char.SetInformRespectedFriends(138@, 30.0, 8)
Char.SetInformRespectedFriends(139@, 30.0, 8)
Char.SetInformRespectedFriends(140@, 30.0, 8)
Char.SetInformRespectedFriends(141@, 30.0, 8)
Path.FlushRoute
Path.ExtendRoute(-2178.004, 685.6806, 52.8942)
Task.FollowPointRoute(141@, 6, RouteMode.Once)
Path.FlushRoute
Path.ExtendRoute(-2176.004, 685.6806, 52.8942)
Task.FollowPointRoute(140@, 6, RouteMode.Once)
Char.SetSenseRange(138@, 40.0)
Char.SetSenseRange(139@, 40.0)
Char.SetSenseRange(140@, 40.0)
Char.SetSenseRange(141@, 40.0)
Char.Delete(134@)
Char.Delete(135@)
Char.Delete(136@)
Char.Delete(137@)
111@ = Blip.AddForChar(138@)
112@ = Blip.AddForChar(139@)
113@ = Blip.AddForChar(140@)
114@ = Blip.AddForChar(141@)
134@ = Char.Create(PedType.CivMale, 117, -2177.946, 670.3361, 50.8814)
135@ = Char.Create(PedType.CivMale, 118, -2182.442, 704.3199, 52.8984)
136@ = Char.Create(PedType.CivMale, 117, -2176.552, 702.9572, 52.8984)
137@ = Char.Create(PedType.CivMale, 118, -2178.468, 707.6988, 52.8971)
Char.SetHeading(134@, 77.5)
Char.SetHeading(135@, 229.921)
Char.SetHeading(136@, 148.6859)
Char.SetHeading(137@, 12.4516)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(118)
Task.Die(134@)
Task.Die(135@)
Task.Die(136@)
Task.Die(137@)
Char.SetDecisionMaker(138@, 34@)
Char.SetDecisionMaker(139@, 34@)
Char.SetDecisionMaker(140@, 34@)
Char.SetDecisionMaker(141@, 34@)
Char.SetAllowedToDuck(138@, False)
Char.SetAllowedToDuck(139@, False)
Char.SetStayInSamePlace(138@, True)
Char.SetStayInSamePlace(139@, True)
if 
  not Car.IsDead(99@)
goto_if_false @WUZI1_12693
99@ = Car.Create(405, -2174.429, 703.2332, 52.8918)
Car.SetHeading(99@, 218.7637)
Car.ExplodeInCutscene(99@)

:WUZI1_12693
if 
  not Car.IsDead(100@)
goto_if_false @WUZI1_12747
100@ = Car.Create(405, -2183.575, 705.0761, 52.8984)
Car.SetHeading(100@, 347.2325)
Car.ExplodeInCutscene(100@)

:WUZI1_12747
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(121)
Streaming.MarkModelAsNoLongerNeeded(123)
if 
  Object.DoesExist(50@)
goto_if_false @WUZI1_12796
Object.SetCoordinates(50@, -2178.87, 711.556, 54.523)

:WUZI1_12796
wait 1000
Text.ClearPrints
World.SetUsesCollisionOfClosestObjectOfType(-2175.213, 662.718, 50.8582, 10.5, #CT_GATEXR, True)
World.SetUsesCollisionOfClosestObjectOfType(-2175.213, 662.718, 50.8582, 10.5, #CHINA_TOWN_GATEB, True)
71@ = 4
38@ = 0
200@ = 1
77@ = 0
96@ = 1
$d6_player_in_tunnel = 0
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_13014
Char.ClearTasksImmediately(35@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -2178.972, 704.3181, 52.8971)
Char.SetCoordinates(35@, -2180.423, 703.6827, 52.8971)
Char.SetHeading($stattreadstamina_ctr, 190.0)
Char.SetHeading(35@, 196.0)
Char.SetHealth(35@, 250)
Char.SetCurrentWeapon(35@, WeaponType.MicroUzi)

:WUZI1_13014
$d6_player_in_ravine = 100
Hud.DisplayCounterWithString($d6_player_in_ravine, CounterDisplay.Bar, 'WZ1_19')
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_13080
108@ = Blip.AddForChar(35@)
Blip.SetAsFriendly(108@, True)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, 35@)

:WUZI1_13080
Char.SetCurrentWeapon($stattreadstamina_ctr, 196@)
set_lvar_int_to_lvar_int 277@ = TIMERA
277@ += 3000
754@ = 0
Streaming.RemoveAnimation("WUZI")
Camera.DoFade(1000, Fade.In)
wait 1000

:WUZI1_13131
return 

:WUZI1_13133
if 
  264@ == 0
goto_if_false @WUZI1_13190
if 
  637@ == 0
goto_if_false @WUZI1_13190
637@ = 30
264@ = 1
73@ = 1

:WUZI1_13190
if 
  264@ == 1
goto_if_false @WUZI1_13249
if 
  637@ == 0
goto_if_false @WUZI1_13249
Text.Print('WZ1_B1', 4000, 1)
264@ = 2

:WUZI1_13249
if 
  72@ == 1
goto_if_false @WUZI1_13645
if 
  636@ == 1
goto_if_false @WUZI1_13645
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_13645
if 
  265@ == 0
goto_if_false @WUZI1_13427
if and
  not Char.IsInArea3D($stattreadstamina_ctr, -2170.185, 719.1667, 63.8637, -2239.236, 594.3701, 37.2048, False)
  not Char.IsInArea3D(35@, -2170.185, 719.1667, 63.8637, -2239.236, 594.3701, 37.2048, False)
goto_if_false @WUZI1_13427
Text.Print('WZ1_B3', 5000, 1)
265@ = 1

:WUZI1_13427
if 
  265@ == 1
goto_if_false @WUZI1_13645
if and
  Char.IsInArea3D($stattreadstamina_ctr, -2170.185, 719.1667, 63.8637, -2239.236, 594.3701, 37.2048, False)
  Char.IsInArea3D(35@, -2170.185, 719.1667, 63.8637, -2239.236, 594.3701, 37.2048, False)
goto_if_false @WUZI1_13537
265@ = 0

:WUZI1_13537
if and
  not Char.IsInArea3D($stattreadstamina_ctr, -2100.185, 779.1667, 93.8637, -2279.236, 534.3701, 7.2048, False)
  not Char.IsInArea3D(35@, -2100.185, 779.1667, 93.8637, -2279.236, 534.3701, 7.2048, False)
goto_if_false @WUZI1_13645
Text.Print('VAL_A9', 4000, 1)
36@ = 1

:WUZI1_13645
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2179.776, 654.5721, 51.7195, -2172.287, 632.6477, 48.3312, False)
goto_if_false @WUZI1_13767
71@ = 5
42@ = 8
77@ = 7
set_lvar_int_to_lvar_int 41@ = TIMERA
41@ += 2000
39@ = 0
40@ = 0
754@ = 1
set_lvar_int_to_lvar_int 266@ = TIMERA
266@ += 2500

:WUZI1_13767
return 

:WUZI1_13769
if 
  39@ == 0
goto_if_false @WUZI1_13814
39@ = 1
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @WUZI1_13814
40@ = 1

:WUZI1_13814
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @WUZI1_13892
if 
  40@ == 0
goto_if_false @WUZI1_13885
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 266@
goto_if_false @WUZI1_13885
42@ = 8
159@ = 0
636@ = 6

:WUZI1_13885
goto @WUZI1_13917

:WUZI1_13892
if 
  40@ == 1
goto_if_false @WUZI1_13917
40@ = 0

:WUZI1_13917
if 
  42@ == 0
goto_if_false @WUZI1_14438
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 41@
goto_if_false @WUZI1_14438
42@ = 1
637@ = 47
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2176.937, 641.8041, 49.2832, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2177.295, 642.7374, 49.3052, SwitchType.JumpCut)
World.ClearAreaOfCars(-2179.249, 659.2075, 50.1335, -2172.263, 641.8954, 50.377)
if 
  not Car.IsDead(101@)
goto_if_false @WUZI1_14156
if 
  Car.IsInArea3D(101@, -2182.094, 653.1942, 50.6565, -2173.951, 636.2528, 47.0812, False)
goto_if_false @WUZI1_14156
Car.SetCoordinates(101@, -2175.715, 636.0, 48.445)
Car.SetHeading(101@, 306.9228)

:WUZI1_14156
146@ = Char.Create(PedType.Mission1, 121, -2218.225, 636.991, 53.9509)
Char.SetInformRespectedFriends(146@, 30.0, 8)
Char.SetStayInSamePlace(146@, True)
Char.SetAccuracy(146@, 100)
Char.SetDecisionMaker(146@, 34@)
Char.GiveWeapon(146@, WeaponType.Sniper, 9999)
Char.SetShootRate(146@, 20)
Task.AimGunAtCoord(146@, -2182.917, 645.9363, 48.9215, -2)
Char.SetHeading(146@, 289.0)
Task.ToggleDuck(146@, True)
if 
  not Car.IsDead(102@)
goto_if_false @WUZI1_14354
if 
  Car.IsInArea2D(102@, -2187.034, 633.111, -2172.262, 660.5647, False)
goto_if_false @WUZI1_14354
Car.SetCoordinates(102@, -2176.387, 641.4572, 50.5019)
Car.SetHeading(102@, 320.0)

:WUZI1_14354
if 
  not Car.IsDead(103@)
goto_if_false @WUZI1_14438
if 
  Car.IsInArea2D(103@, -2187.034, 633.111, -2172.262, 660.5647, False)
goto_if_false @WUZI1_14438
Car.SetCoordinates(103@, -2175.383, 640.9232, 50.5734)
Car.SetHeading(103@, 320.0)

:WUZI1_14438
if 
  42@ == 1
goto_if_false @WUZI1_14644
Char.ClearTasksImmediately($stattreadstamina_ctr)
Camera.SetFixedPosition(-2176.937, 641.8041, 49.2832, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2177.295, 642.7374, 49.3052, SwitchType.JumpCut)
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_14577
Char.ClearTasksImmediately(35@)
Char.SetCoordinates(35@, -2175.697, 650.9794, 48.4429)
Task.GoStraightToCoord(35@, -2179.958, 641.7931, 48.4453, MoveState.Walk, -2)

:WUZI1_14577
Char.SetCoordinates($stattreadstamina_ctr, -2176.897, 650.9794, 48.4429)
Task.GoStraightToCoord($stattreadstamina_ctr, -2180.958, 641.7931, 48.4453, MoveState.Walk, -2)
42@ = 2
set_lvar_int_to_lvar_int 41@ = TIMERA
41@ += 2500

:WUZI1_14644
if 
  42@ == 2
goto_if_false @WUZI1_14750
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 41@
goto_if_false @WUZI1_14750
if 
  not Char.IsDead(146@)
goto_if_false @WUZI1_14720
Task.ShootAtCoord(146@, -2179.925, 646.69, 48.4548, 200)

:WUZI1_14720
set_lvar_int_to_lvar_int 41@ = TIMERA
41@ += 300
42@ = 3
75@ = 0

:WUZI1_14750
if 
  42@ == 3
goto_if_false @WUZI1_14934
if 
  75@ == 0
goto_if_false @WUZI1_14867
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 41@
goto_if_false @WUZI1_14867
Task.DiveAndGetUp($stattreadstamina_ctr, -1.0, -1.0, 1000)
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_14844
Task.Cower(35@)

:WUZI1_14844
set_lvar_int_to_lvar_int 41@ = TIMERA
41@ += 400
75@ = 1

:WUZI1_14867
if 
  75@ == 1
goto_if_false @WUZI1_14934
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 41@
goto_if_false @WUZI1_14934
42@ = 4
637@ = 36
set_lvar_int_to_lvar_int 41@ = TIMERA
41@ += 1000

:WUZI1_14934
if 
  42@ == 4
goto_if_false @WUZI1_15113
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 41@
goto_if_false @WUZI1_15113
Camera.SetFixedPosition(-2220.552, 639.9709, 53.7095, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2219.638, 639.5733, 53.7963, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, -2178.298, 648.3584, 48.4429)
Char.SetHeading($stattreadstamina_ctr, 133.2868)
if 
  not Char.IsDead(146@)
goto_if_false @WUZI1_15090
Task.AimGunAtCoord(146@, -2184.709, 635.0774, 49.4781, -2)

:WUZI1_15090
set_lvar_int_to_lvar_int 41@ = TIMERA
41@ += 2500
42@ = 5

:WUZI1_15113
if 
  42@ == 5
goto_if_false @WUZI1_15593
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 41@
goto_if_false @WUZI1_15593
147@ = Char.Create(PedType.Mission1, 122, -2219.587, 643.4511, 48.4472)
148@ = Char.Create(PedType.Mission1, 123, -2223.587, 642.4511, 48.4472)
149@ = Char.Create(PedType.Mission1, 122, -2227.587, 644.4511, 48.4472)
150@ = Char.Create(PedType.Mission1, 123, -2230.587, 643.4511, 48.4472)
Char.SetInformRespectedFriends(147@, 30.0, 8)
Char.SetInformRespectedFriends(148@, 30.0, 8)
Char.SetInformRespectedFriends(149@, 30.0, 8)
Char.SetInformRespectedFriends(150@, 30.0, 8)
Char.SetAccuracy(147@, 80)
Char.SetAccuracy(148@, 80)
Char.SetAccuracy(149@, 80)
Char.SetAccuracy(150@, 85)
Char.SetDecisionMaker(147@, 34@)
Char.SetDecisionMaker(148@, 34@)
Char.SetDecisionMaker(149@, 34@)
Char.SetDecisionMaker(150@, 34@)
Task.GoStraightToCoord(147@, -2194.902, 645.9846, 48.4453, MoveState.Run, -2)
Path.FlushRoute
Path.ExtendRoute(-2200.209, 644.2397, 48.4429)
Path.ExtendRoute(-2199.939, 641.5246, 48.4429)
Char.SetStayInSamePlace(147@, True)
Char.SetStayInSamePlace(148@, True)
Char.SetStayInSamePlace(149@, True)
Char.SetStayInSamePlace(150@, True)
Char.GiveWeapon(147@, WeaponType.MicroUzi, 5000)
Char.GiveWeapon(148@, WeaponType.MicroUzi, 5000)
Char.GiveWeapon(149@, WeaponType.MicroUzi, 5000)
Char.GiveWeapon(150@, WeaponType.MicroUzi, 5000)
132@ = Sequence.Open()
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Task.AchieveHeading(-1, 270.0)
Sequence.Close(132@)
Char.PerformSequence(148@, 132@)
Sequence.Clear(132@)
Task.GoStraightToCoord(149@, -2204.851, 641.7612, 48.4429, MoveState.Run, -2)
Task.GoStraightToCoord(150@, -2214.371, 641.3669, 48.4515, MoveState.Run, -2)
set_lvar_int_to_lvar_int 41@ = TIMERA
41@ += 500
42@ = 6

:WUZI1_15593
if 
  42@ == 6
goto_if_false @WUZI1_15711
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 41@
goto_if_false @WUZI1_15711
Camera.SetFixedPosition(-2229.436, 644.2267, 48.4907, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2228.487, 643.9835, 48.6883, SwitchType.JumpCut)
637@ = 46
set_lvar_int_to_lvar_int 41@ = TIMERA
41@ += 3000
42@ = 7

:WUZI1_15711
if 
  42@ == 7
goto_if_false @WUZI1_15755
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 41@
goto_if_false @WUZI1_15755
42@ = 8

:WUZI1_15755
if 
  42@ == 8
goto_if_false @WUZI1_16451
if 
  not Char.DoesExist(146@)
goto_if_false @WUZI1_15862
146@ = Char.Create(PedType.Mission1, 123, -2218.225, 636.991, 53.9509)
Char.SetStayInSamePlace(146@, True)
Char.SetDecisionMaker(146@, 34@)
Char.GiveWeapon(146@, WeaponType.Sniper, 9999)
Char.SetShootRate(146@, 20)
Char.SetHeading(146@, 289.0)
Task.ToggleDuck(146@, True)

:WUZI1_15862
if 
  not Char.IsDead(146@)
goto_if_false @WUZI1_15885
Char.SetAccuracy(146@, 50)

:WUZI1_15885
Char.Delete(147@)
Char.Delete(148@)
Char.Delete(149@)
Char.Delete(150@)
147@ = Char.Create(PedType.Mission1, 121, -2203.491, 647.0372, 48.4453)
148@ = Char.Create(PedType.Mission1, 122, -2200.695, 637.1932, 48.4429)
149@ = Char.Create(PedType.Mission1, 123, -2196.943, 635.1917, 48.4429)
150@ = Char.Create(PedType.Mission1, 121, -2214.378, 641.6099, 48.4484)
Char.SetHeading(147@, 255.1494)
Char.SetHeading(148@, 285.6451)
Char.SetHeading(149@, 295.4749)
Char.SetHeading(150@, 277.3081)
Char.SetAccuracy(147@, 60)
Char.SetAccuracy(148@, 60)
Char.SetAccuracy(149@, 60)
Char.SetAccuracy(150@, 60)
Char.SetShootRate(147@, 85)
Char.SetShootRate(148@, 85)
Char.SetShootRate(149@, 85)
Char.SetShootRate(150@, 85)
Task.Duck(147@, 1000)
Task.Duck(149@, 3000)
Char.SetStayInSamePlace(147@, True)
Char.SetStayInSamePlace(148@, True)
Char.SetStayInSamePlace(149@, True)
Char.SetStayInSamePlace(150@, True)
Char.SetSenseRange(147@, 40.0)
Char.SetSenseRange(148@, 40.0)
Char.SetSenseRange(149@, 40.0)
Char.SetSenseRange(150@, 40.0)
Char.GiveWeapon(147@, WeaponType.MicroUzi, 5000)
Char.GiveWeapon(148@, WeaponType.MicroUzi, 5000)
Char.GiveWeapon(149@, WeaponType.MicroUzi, 5000)
Char.GiveWeapon(150@, WeaponType.MicroUzi, 5000)
151@ = Char.Create(PedType.Mission1, 121, -2205.344, 648.4099, 48.4429)
Char.SetInformRespectedFriends(151@, 30.0, 8)
Char.GiveWeapon(151@, WeaponType.MicroUzi, 500)
Char.SetHeading(151@, 270.0)
Char.SetStayInSamePlace(151@, True)
120@ = Blip.AddForChar(147@)
121@ = Blip.AddForChar(148@)
122@ = Blip.AddForChar(149@)
123@ = Blip.AddForChar(150@)
124@ = Blip.AddForChar(151@)
if 
  not Char.IsDead(146@)
goto_if_false @WUZI1_16353
Blip.Remove(119@)
119@ = Blip.AddForChar(146@)

:WUZI1_16353
Char.SetDecisionMaker(147@, 34@)
Char.SetDecisionMaker(148@, 34@)
Char.SetDecisionMaker(149@, 34@)
Char.SetDecisionMaker(150@, 34@)
Char.SetDecisionMaker(151@, 34@)
71@ = 6
200@ = 4
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 4000
77@ = 8
38@ = 0
265@ = 0
754@ = 0

:WUZI1_16451
return 

:WUZI1_16453
if 
  72@ == 1
goto_if_false @WUZI1_16849
if 
  636@ == 1
goto_if_false @WUZI1_16849
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_16849
if 
  265@ == 0
goto_if_false @WUZI1_16631
if and
  not Char.IsInArea3D($stattreadstamina_ctr, -2170.185, 719.1667, 63.8637, -2239.236, 594.3701, 37.2048, False)
  not Char.IsInArea3D(35@, -2170.185, 719.1667, 63.8637, -2239.236, 594.3701, 37.2048, False)
goto_if_false @WUZI1_16631
Text.Print('WZ1_B3', 5000, 1)
265@ = 1

:WUZI1_16631
if 
  265@ == 1
goto_if_false @WUZI1_16849
if and
  Char.IsInArea3D($stattreadstamina_ctr, -2170.185, 719.1667, 63.8637, -2239.236, 594.3701, 37.2048, False)
  Char.IsInArea3D(35@, -2170.185, 719.1667, 63.8637, -2239.236, 594.3701, 37.2048, False)
goto_if_false @WUZI1_16741
265@ = 0

:WUZI1_16741
if and
  not Char.IsInArea3D($stattreadstamina_ctr, -2100.185, 779.1667, 93.8637, -2279.236, 534.3701, 7.2048, False)
  not Char.IsInArea3D(35@, -2100.185, 779.1667, 93.8637, -2279.236, 534.3701, 7.2048, False)
goto_if_false @WUZI1_16849
Text.Print('VAL_A9', 4000, 1)
36@ = 1

:WUZI1_16849
if 
  267@ == 0
goto_if_false @WUZI1_16931
if 
  not Char.IsDead(146@)
goto_if_false @WUZI1_16931
if 
  Char.IsShooting(146@)
goto_if_false @WUZI1_16931
if 
  637@ == 0
goto_if_false @WUZI1_16931
637@ = 36
267@ = 1

:WUZI1_16931
if 
  267@ == 1
goto_if_false @WUZI1_17013
if 
  not Char.IsDead(146@)
goto_if_false @WUZI1_17013
if 
  Char.IsShooting(146@)
goto_if_false @WUZI1_17013
if 
  637@ == 0
goto_if_false @WUZI1_17013
637@ = 43
267@ = 2

:WUZI1_17013
if 
  95@ == 10
goto_if_false @WUZI1_17104
71@ = 7
42@ = 0
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 2500
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(118)
Streaming.MarkModelAsNoLongerNeeded(358)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.RemoveAnimation("WUZI")
Streaming.RemoveCarRecording(169)
Streaming.RemoveCarRecording(139)
265@ = 0

:WUZI1_17104
return 

:WUZI1_17106
if 
  42@ == 0
goto_if_false @WUZI1_17257
if 
  636@ == 1
goto_if_false @WUZI1_17257
if 
  637@ == 0
goto_if_false @WUZI1_17257
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_17181
Char.RemoveFromGroup(35@)

:WUZI1_17181
Hud.ClearCounter($d6_player_in_ravine)
Streaming.RequestAnimation("GANGS")
Streaming.RequestAnimation("CAR_CHAT")
Streaming.RequestCarRecording(136)
Streaming.RequestCarRecording(137)
Streaming.RequestCarRecording(138)
637@ = 55
$d6_player_in_tunnel = 1
754@ = 1
42@ = 6
72@ = 0

:WUZI1_17257
if 
  42@ == 6
goto_if_false @WUZI1_17995
if 
  636@ == 1
goto_if_false @WUZI1_17995
if 
  637@ == 0
goto_if_false @WUZI1_17995
if and
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
  Streaming.HasCarRecordingBeenLoaded(136)
  Streaming.HasCarRecordingBeenLoaded(137)
  Streaming.HasCarRecordingBeenLoaded(138)
goto_if_false @WUZI1_17995
754@ = 0
if 
  not Car.IsDead(104@)
goto_if_false @WUZI1_17412
Car.LockDoors(104@, CarLock.Unlocked)
Car.FreezePosition(104@, False)
Car.SetCoordinates(104@, -2218.93, 642.3626, 48.4475)
Car.SetHeading(104@, 267.1711)

:WUZI1_17412
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @WUZI1_17447
$stealth_help_flag = Char.GetCarIsUsing($stattreadstamina_ctr)

:WUZI1_17447
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_17480
Char.ClearTasksImmediately(35@)
Task.ToggleDuck(35@, False)

:WUZI1_17480
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @WUZI1_17501
Car.Delete($stealth_help_flag)

:WUZI1_17501
Camera.SetFixedPosition(-2212.125, 644.6052, 51.6509, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2213.062, 644.5379, 51.3082, SwitchType.JumpCut)
if 
  not Car.IsDead(104@)
goto_if_false @WUZI1_17698
Char.SetCoordinates($stattreadstamina_ctr, -2212.38, 643.0919, 48.4466)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Task.EnterCarAsDriver($stattreadstamina_ctr, 104@, -2)
Car.SetProofs(104@, True, True, True, True, True)
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_17698
Char.SetShootRate(35@, 80)
Char.SetRelationship(35@, RelationshipType.Hate, PedType.Mission1)
Char.SetCoordinates(35@, -2217.781, 640.998, 48.4549)
Char.SetHeading(35@, 77.0)
Task.EnterCarAsPassenger(35@, 104@, 2600, 0)

:WUZI1_17698
130@ = 0

:WUZI1_17705
if 
  18 > 130@
goto_if_false @WUZI1_17746
Char.MarkAsNoLongerNeeded(138@(130@,18i))
130@ += 1
goto @WUZI1_17705

:WUZI1_17746
105@ = Car.Create(405, -2245.343, 715.4953, 48.4375)
Car.SetHeading(105@, 180.0)
138@ = Char.CreateInsideCar(105@, PedType.Mission1, 122)
139@ = Char.CreateAsPassenger(105@, PedType.Mission1, 123, 0)
Char.GiveWeapon(139@, WeaponType.MicroUzi, 5000)
Car.StartPlayback(105@, 136)
106@ = Car.Create(405, -2251.676, 612.6026, 42.259)
Car.SetHeading(106@, 0.0)
140@ = Char.CreateInsideCar(106@, PedType.Mission1, 121)
141@ = Char.CreateAsPassenger(106@, PedType.Mission1, 122, 0)
Char.GiveWeapon(141@, WeaponType.MicroUzi, 5000)
Char.SetDecisionMaker(138@, 34@)
Char.SetDecisionMaker(139@, 34@)
Char.SetDecisionMaker(140@, 34@)
Char.SetDecisionMaker(141@, 34@)
DecisionMakerChar.ClearEventResponse(34@, 36)
DecisionMakerChar.ClearEventResponse(34@, 79)
DecisionMakerChar.AddEventResponse(34@, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
42@ = 7
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 2600

:WUZI1_17995
if 
  42@ == 7
goto_if_false @WUZI1_18090
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_18090
Camera.SetFixedPosition(-2217.869, 642.181, 49.7208, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2218.82, 642.4485, 49.5654, SwitchType.JumpCut)
42@ = 8

:WUZI1_18090
if 
  42@ == 8
goto_if_false @WUZI1_18171
if and
  not Car.IsDead(105@)
  not Char.IsDead(138@)
goto_if_false @WUZI1_18171
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(105@)
if 
  653.8901 > $on_footZ
goto_if_false @WUZI1_18171
42@ = 9

:WUZI1_18171
if 
  42@ == 9
goto_if_false @WUZI1_18294
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @WUZI1_18294
if 
  not Car.IsDead(104@)
goto_if_false @WUZI1_18221

:WUZI1_18221
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC1_FL", "CAR_CHAT", 4.0, False, False, False, False, 3000)
637@ = 60
42@ = 10
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 3200

:WUZI1_18294
if 
  42@ == 10
goto_if_false @WUZI1_18414
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_18414
if 
  not Car.IsDead(104@)
goto_if_false @WUZI1_18414
Car.SetHeavy(104@, True)
Car.StartPlayback(104@, 138)
if 
  not Car.IsDead(105@)
goto_if_false @WUZI1_18391
Car.StopPlayback(105@)
Car.StartPlayback(105@, 137)

:WUZI1_18391
42@ = 11
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 2000

:WUZI1_18414
if 
  42@ == 11
goto_if_false @WUZI1_18569
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_18569
Camera.SetFixedPosition(-2251.02, 649.9792, 52.244, 0.0, 0.0, 0.0)
if 
  not Car.IsDead(105@)
goto_if_false @WUZI1_18526
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(105@)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:WUZI1_18526
Audio.ReportMissionAudioEventAtPosition(-2243.918, 642.959, 49.6897, 1140)
42@ = 12
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 800

:WUZI1_18569
if 
  42@ == 12
goto_if_false @WUZI1_18637
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_18637
set_lvar_int_to_lvar_int 270@ = TIMERA
42@ = 13
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 2500

:WUZI1_18637
if 
  42@ == 13
goto_if_false @WUZI1_18869
set_lvar_int_to_lvar_int 271@ = TIMERA
sub_int_lvar_from_int_lvar 271@ -= 270@
cset_lvar_float_to_lvar_int 225@ =# 271@
set_lvar_float_to_lvar_float 226@ = 225@
226@ /= 2500.0
if and
  not Car.IsDead(104@)
  not Car.IsDead(105@)
goto_if_false @WUZI1_18843
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(105@)
228@, 229@, 230@ = Car.GetCoordinates(104@)
set_lvar_float_to_lvar_float 268@ = 228@
sub_float_var_from_float_lvar 268@ -= $on_footY
set_lvar_float_to_lvar_float 269@ = 229@
sub_float_var_from_float_lvar 269@ -= $on_footZ
mult_float_lvar_by_float_lvar 268@ *= 226@
mult_float_lvar_by_float_lvar 269@ *= 226@
268@ /= 2.0
269@ /= 2.0
add_float_var_to_float_lvar 268@ += $on_footY
add_float_var_to_float_lvar 269@ += $on_footZ
Camera.PointAtPoint(268@, 269@, $in_carX, SwitchType.JumpCut)

:WUZI1_18843
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_18869
42@ = 14

:WUZI1_18869
if 
  42@ == 14
goto_if_false @WUZI1_18966
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
if 
  not Car.IsDead(104@)
goto_if_false @WUZI1_18940
Car.SetHeavy(104@, False)
Car.SetProofs(104@, False, False, False, False, False)

:WUZI1_18940
71@ = 8
38@ = 0
637@ = 63
Blip.Remove(108@)

:WUZI1_18966
return 

:WUZI1_18968
if 
  38@ == 0
goto_if_false @WUZI1_19261
Game.SetPoliceIgnorePlayer($statbike_temp, False)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_19051
Char.SetRelationship(35@, RelationshipType.Hate, PedType.Mission1)
Char.SetShootRate(35@, 80)
Char.GiveWeapon(35@, WeaponType.MicroUzi, 99999)

:WUZI1_19051
if 
  not Car.IsDead(104@)
goto_if_false @WUZI1_19181
if and
  not Car.IsDead(105@)
  not Char.IsDead(138@)
goto_if_false @WUZI1_19124
Task.CarMission(138@, 105@, 104@, CarMission.RamPlayerFaraway, 20.0, DrivingMode.PloughThrough)
Car.SetHealth(105@, 800)
109@ = Blip.AddForChar(138@)

:WUZI1_19124
if and
  not Car.IsDead(106@)
  not Char.IsDead(140@)
goto_if_false @WUZI1_19181
Task.CarMission(140@, 106@, 104@, CarMission.RamPlayerFaraway, 20.0, DrivingMode.PloughThrough)
Car.SetHealth(106@, 800)
110@ = Blip.AddForChar(140@)

:WUZI1_19181
if 
  not Car.IsDead(104@)
goto_if_false @WUZI1_19212
Car.SetHealth(104@, 3000)
Car.SetCanBurstTires(104@, False)

:WUZI1_19212
81@ = 1
82@ = 1
73@ = 1
72@ = 0
38@ = 1
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)

:WUZI1_19261
if 
  38@ == 1
goto_if_false @WUZI1_19631
if 
  272@ == 0
goto_if_false @WUZI1_19338
if 
  637@ == 0
goto_if_false @WUZI1_19338
272@ = 1
Text.Print('WZ1_37', 4000, 1)

:WUZI1_19338
if 
  81@ == 1
goto_if_false @WUZI1_19416
if 
  Char.IsDead(138@)
goto_if_false @WUZI1_19416
if 
  273@ == 0
goto_if_false @WUZI1_19404
273@ = 1
637@ = 64

:WUZI1_19404
Blip.Remove(109@)
81@ = 0

:WUZI1_19416
if 
  82@ == 1
goto_if_false @WUZI1_19494
if 
  Char.IsDead(140@)
goto_if_false @WUZI1_19494
if 
  273@ == 0
goto_if_false @WUZI1_19482
273@ = 1
637@ = 64

:WUZI1_19482
Blip.Remove(110@)
82@ = 0

:WUZI1_19494
if and
  81@ == 0
  82@ == 0
goto_if_false @WUZI1_19631
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_19631
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 35@, 5.0, 5.0, 5.0, False)
goto_if_false @WUZI1_19631
637@ = 65
638@ = 3
38@ = 2
Blip.Remove(107@)
107@ = Blip.AddForCoord(-2151.589, 639.5962, 51.218)
73@ = 1
72@ = 0

:WUZI1_19631
if 
  38@ == 2
goto_if_false @WUZI1_19859
if 
  637@ == 0
goto_if_false @WUZI1_19708
if 
  274@ == 0
goto_if_false @WUZI1_19708
274@ = 1
Text.Print('WZ1_39', 4000, 1)

:WUZI1_19708
if 
  72@ == 1
goto_if_false @WUZI1_19859
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2150.165, 642.3364, 51.2188, 4.0, 4.0, 4.0, True)
goto_if_false @WUZI1_19859
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_19859
if 
  Char.LocateAnyMeans3D(35@, -2150.165, 642.3364, 51.2188, 8.0, 8.0, 8.0, False)
goto_if_false @WUZI1_19859
71@ = 9
42@ = 0
637@ = 68

:WUZI1_19859
return 

:WUZI1_19861
if 
  42@ == 0
goto_if_false @WUZI1_19955
73@ = 0
Player.SetControl($statbike_temp, False)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @WUZI1_19932
$stealth_help_flag = Char.GetCarIsUsing($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)

:WUZI1_19932
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 3000
42@ = 1

:WUZI1_19955
if 
  42@ == 1
goto_if_false @WUZI1_20247
if 
  637@ == 0
goto_if_false @WUZI1_20247
Camera.SetFixedPosition(-2156.872, 649.7653, 51.6094, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2156.362, 648.9217, 51.7758, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @WUZI1_20100
$stealth_help_flag = Char.GetCarIsUsing($stattreadstamina_ctr)
Car.SetCoordinates($stealth_help_flag, -2150.165, 642.3364, 51.2188)
Car.SetHeading($stealth_help_flag, 0.0)

:WUZI1_20100
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_20224
Path.FlushRoute
Path.ExtendRoute(-2155.15, 645.1982, 51.2293)
Path.ExtendRoute(-2162.023, 645.1555, 51.7499)
if 
  Char.IsInAnyCar(35@)
goto_if_false @WUZI1_20215
Char.RemoveFromGroup(35@)
132@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(132@)
Char.PerformSequence(35@, 132@)
Sequence.Clear(132@)
goto @WUZI1_20224

:WUZI1_20215
Task.FollowPointRoute(35@, 6, RouteMode.Once)

:WUZI1_20224
42@ = 2
set_lvar_int_to_lvar_int 159@ = TIMERA
159@ += 5000

:WUZI1_20247
if 
  42@ == 2
goto_if_false @WUZI1_20334
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 159@
goto_if_false @WUZI1_20334
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_20313
Char.Delete(35@)

:WUZI1_20313
37@ = 0
Player.SetControl($statbike_temp, True)
71@ = 10

:WUZI1_20334
return 

:WUZI1_20336
if 
  200@ > 0
goto_if_false @WUZI1_20474
130@ = 0
95@ = 0

:WUZI1_20368
if 
  18 > 130@
goto_if_false @WUZI1_20474
if 
  Char.DoesExist(138@(130@,18i))
goto_if_false @WUZI1_20460
if 
  Char.IsDead(138@(130@,18i))
goto_if_false @WUZI1_20460
Blip.Remove(111@(130@,18i))
if 
  130@ > 7
goto_if_false @WUZI1_20460
95@ += 1

:WUZI1_20460
130@ += 1
goto @WUZI1_20368

:WUZI1_20474
if 
  200@ == 1
goto_if_false @WUZI1_21166
if or
  676.0 > $y
  676.0 > 229@
goto_if_false @WUZI1_21166
102@ = Car.Create(468, -2191.274, 644.4189, 48.4453)
103@ = Car.Create(468, -2200.205, 644.3219, 48.4429)
Car.SetHeading(102@, 270.0)
Car.SetHeading(103@, 270.0)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.RequestCarRecording(139)
142@ = Char.CreateInsideCar(102@, PedType.Mission1, 123)
143@ = Char.CreateAsPassenger(102@, PedType.Mission1, 121, 0)
144@ = Char.CreateInsideCar(103@, PedType.Mission1, 122)
145@ = Char.CreateAsPassenger(103@, PedType.Mission1, 123, 0)
Streaming.MarkModelAsNoLongerNeeded(121)
Streaming.MarkModelAsNoLongerNeeded(122)
Char.GiveWeapon(142@, WeaponType.MicroUzi, 500)
Char.GiveWeapon(143@, WeaponType.MicroUzi, 500)
Char.GiveWeapon(144@, WeaponType.MicroUzi, 500)
Char.GiveWeapon(145@, WeaponType.MicroUzi, 500)
Char.SetAccuracy(142@, 80)
Char.SetAccuracy(143@, 85)
Char.SetAccuracy(144@, 90)
Char.SetAccuracy(145@, 85)
115@ = Blip.AddForChar(142@)
116@ = Blip.AddForChar(143@)
117@ = Blip.AddForChar(144@)
118@ = Blip.AddForChar(145@)
Char.SetDropsWeaponsWhenDead(142@, False)
Char.SetDropsWeaponsWhenDead(143@, False)
Char.SetDropsWeaponsWhenDead(144@, False)
Char.SetDropsWeaponsWhenDead(145@, False)
Car.SetForwardSpeed(102@, 20.0)
Car.SetForwardSpeed(103@, 20.0)
Char.SetDecisionMaker(142@, 34@)
Char.SetDecisionMaker(143@, 34@)
Char.SetDecisionMaker(144@, 34@)
Char.SetDecisionMaker(145@, 34@)
Char.SetSenseRange(142@, 40.0)
Char.SetSenseRange(143@, 40.0)
Char.SetSenseRange(144@, 40.0)
Char.SetSenseRange(145@, 40.0)
Char.SetInformRespectedFriends(142@, 30.0, 8)
Char.SetInformRespectedFriends(143@, 30.0, 8)
Char.SetInformRespectedFriends(144@, 30.0, 8)
Char.SetInformRespectedFriends(145@, 30.0, 8)
Task.KindaStayInSamePlace(142@, True)
Task.KindaStayInSamePlace(143@, True)
Task.KindaStayInSamePlace(144@, True)
Task.KindaStayInSamePlace(145@, True)
132@ = Sequence.Open()
Task.CarDriveToCoord(-1, 102@, -2177.165, 645.6417, 48.4453, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarTempAction(-1, 102@, TempAction.HandbrakeTurnLeft, 2000)
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -2172.865, 652.5621, 48.4429, MoveState.Run, 4000)
Task.StayInSamePlace(-1, True)
Sequence.Close(132@)
Char.PerformSequence(142@, 132@)
Sequence.Clear(132@)
132@ = Sequence.Open()
Task.CarDriveToCoord(-1, 103@, -2174.811, 644.3727, 48.4453, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarTempAction(-1, 103@, TempAction.HandbrakeTurnLeft, 2000)
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -2176.99, 650.9326, 48.4429, MoveState.Run, 3000)
Task.ToggleDuck(-1, True)
Sequence.Close(132@)
Char.PerformSequence(144@, 132@)
Sequence.Clear(132@)
200@ = 2

:WUZI1_21166
if 
  200@ == 2
goto_if_false @WUZI1_21356
129@ = 0
if 
  not Char.IsDead(142@)
goto_if_false @WUZI1_21215
129@ = Char.GetCarIsUsing(142@)

:WUZI1_21215
if or
  129@ == -1
  Char.IsDead(142@)
goto_if_false @WUZI1_21356
if 
  not Char.IsDead(143@)
goto_if_false @WUZI1_21275
if 
  Char.IsInAnyCar(143@)
goto_if_false @WUZI1_21275
Task.LeaveAnyCar(143@)

:WUZI1_21275
if 
  not Char.IsDead(144@)
goto_if_false @WUZI1_21312
if 
  Char.IsInAnyCar(144@)
goto_if_false @WUZI1_21312
Task.LeaveAnyCar(144@)

:WUZI1_21312
if 
  not Char.IsDead(145@)
goto_if_false @WUZI1_21349
if 
  Char.IsInAnyCar(145@)
goto_if_false @WUZI1_21349
Task.LeaveAnyCar(145@)

:WUZI1_21349
200@ = 3

:WUZI1_21356
if 
  200@ == 4
goto_if_false @WUZI1_22821
if 
  93@ == 0
goto_if_false @WUZI1_21520
if 
  not Char.IsDead(151@)
goto_if_false @WUZI1_21520
if or
  -2193.0 > $x
  -2193.0 > 228@
goto_if_false @WUZI1_21520
93@ = 1
132@ = Sequence.Open()
Task.PlayAnim(-1, "CROUCH_ROLL_R", "PED", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Sequence.Close(132@)
Char.PerformSequence(151@, 132@)
Sequence.Clear(132@)

:WUZI1_21520
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2171.857, 658.2869, 52.1667, -2240.303, 631.7034, 48.0251, False)
goto_if_false @WUZI1_21804
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @WUZI1_21700
if 
  84@ == 0
goto_if_false @WUZI1_21693
84@ = 1
130@ = 9

:WUZI1_21616
if 
  13 > 130@
goto_if_false @WUZI1_21693
if 
  not Char.IsDead(138@(130@,18i))
goto_if_false @WUZI1_21679
Char.SetAccuracy(138@(130@,18i), 100)
Task.ShootAtChar(138@(130@,18i), $stattreadstamina_ctr, -2)

:WUZI1_21679
130@ += 1
goto @WUZI1_21616

:WUZI1_21693
goto @WUZI1_21804

:WUZI1_21700
if 
  84@ == 1
goto_if_false @WUZI1_21804
84@ = 0
130@ = 9

:WUZI1_21732
if 
  13 > 130@
goto_if_false @WUZI1_21804
if 
  not Char.IsDead(138@(130@,18i))
goto_if_false @WUZI1_21790
Char.SetAccuracy(138@(130@,18i), 80)
Char.ClearTasks(138@(130@,18i))

:WUZI1_21790
130@ += 1
goto @WUZI1_21732

:WUZI1_21804
if 
  85@ == 0
goto_if_false @WUZI1_22069
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @WUZI1_22069
130@ = Math.RandomIntInRange(9, 13)
91@ = 0

:WUZI1_21857
if 
  4 > 91@
goto_if_false @WUZI1_22053
set_lvar_int_to_lvar_int 131@ = 130@
131@ -= 9
if and
  not Char.IsDead(138@(130@,18i))
  87@(131@,4i) == 0
goto_if_false @WUZI1_22007
87@(131@,4i) = 1
Path.FlushRoute
Path.ExtendRoute(201@(131@,4f), 205@(131@,4f), 209@(131@,4f))
Path.ExtendRoute(213@(131@,4f), 217@(131@,4f), 221@(131@,4f))
Task.FollowPointRoute(138@(130@,18i), 6, RouteMode.Once)
91@ = 4
goto @WUZI1_22039

:WUZI1_22007
130@ += 1
if 
  130@ > 12
goto_if_false @WUZI1_22039
130@ = 9

:WUZI1_22039
91@ += 1
goto @WUZI1_21857

:WUZI1_22053
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 10000

:WUZI1_22069
if 
  94@ == 0
goto_if_false @WUZI1_22541
if or
  -2197.0 > $x
  95@ > 1
goto_if_false @WUZI1_22541
94@ = 1
152@ = Char.Create(PedType.Mission1, 123, -2205.861, 625.282, 48.4396)
153@ = Char.Create(PedType.Mission1, 121, -2207.076, 627.3953, 48.4384)
Char.GiveWeapon(152@, WeaponType.MicroUzi, 500)
Char.GiveWeapon(153@, WeaponType.MicroUzi, 500)
Path.FlushRoute
Path.ExtendRoute(-2205.808, 626.6268, 48.4429)
Path.ExtendRoute(-2205.849, 635.5339, 48.4453)
Task.FollowPointRoute(152@, 6, RouteMode.Once)
Path.FlushRoute
Path.ExtendRoute(-2205.808, 626.6268, 48.4429)
Path.ExtendRoute(-2204.58, 634.2507, 48.4453)
Task.FollowPointRoute(153@, 6, RouteMode.Once)
104@ = Car.Create(405, -2267.322, 659.5334, 48.2969)
Car.SetProofs(104@, True, True, True, True, True)
Car.SetHeading(104@, 344.0)
Car.LockDoors(104@, CarLock.LockoutPlayerOnly)
154@ = Char.CreateInsideCar(104@, PedType.Mission1, 121)
155@ = Char.CreateAsPassenger(104@, PedType.Mission1, 122, 0)
Char.GiveWeapon(154@, WeaponType.MicroUzi, 500)
Char.GiveWeapon(155@, WeaponType.MicroUzi, 500)
Char.SetDecisionMaker(152@, 34@)
Char.SetDecisionMaker(153@, 34@)
Char.SetDecisionMaker(154@, 34@)
Char.SetDecisionMaker(155@, 34@)
125@ = Blip.AddForChar(152@)
126@ = Blip.AddForChar(153@)
127@ = Blip.AddForChar(154@)
128@ = Blip.AddForChar(155@)
Char.SetSenseRange(152@, 40.0)
Char.SetSenseRange(153@, 40.0)
Char.SetSenseRange(154@, 40.0)
Char.SetSenseRange(155@, 40.0)
Char.SetInformRespectedFriends(152@, 30.0, 8)
Char.SetInformRespectedFriends(153@, 30.0, 8)
Char.SetInformRespectedFriends(154@, 30.0, 8)
Char.SetInformRespectedFriends(155@, 30.0, 8)
Car.StartPlayback(104@, 139)

:WUZI1_22541
if 
  94@ == 1
goto_if_false @WUZI1_22757
if 
  not Car.IsDead(104@)
goto_if_false @WUZI1_22757
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(104@)
if 
  $on_footY > -2227.0
goto_if_false @WUZI1_22757
94@ = 2
if 
  not Char.IsDead(154@)
goto_if_false @WUZI1_22687
Path.FlushRoute
Path.ExtendRoute(-2214.633, 642.2872, 48.447)
132@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(132@)
Char.PerformSequence(154@, 132@)
Sequence.Clear(132@)

:WUZI1_22687
if 
  not Char.IsDead(154@)
goto_if_false @WUZI1_22757
Path.FlushRoute
Path.ExtendRoute(-2214.373, 639.3536, 48.4511)
132@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Sequence.Close(132@)
Char.PerformSequence(155@, 132@)
Sequence.Clear(132@)

:WUZI1_22757
if 
  94@ == 2
goto_if_false @WUZI1_22821
if 
  not Car.IsDead(104@)
goto_if_false @WUZI1_22821
if 
  not Car.IsPlaybackGoingOn(104@)
goto_if_false @WUZI1_22821
94@ = 3
Car.FreezePosition(104@, True)

:WUZI1_22821
return 

:WUZI1_22823
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_23033
if 
  Char.IsShooting(35@)
goto_if_false @WUZI1_23033
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 277@
goto_if_false @WUZI1_23033
if 
  637@ == 0
goto_if_false @WUZI1_23033
if 
  6 > 275@
goto_if_false @WUZI1_23033
276@ = Math.RandomIntInRange(0, 6)

:WUZI1_22919
if 
  232@(276@,6i) == 0
goto_if_false @WUZI1_22980
276@ += 1
if 
  276@ > 5
goto_if_false @WUZI1_22973
276@ = 0

:WUZI1_22973
goto @WUZI1_22919

:WUZI1_22980
275@ += 1
set_lvar_int_to_lvar_int 637@ = 232@(276@,6i)
232@(276@,6i) = 0
279@ = 0
set_lvar_int_to_lvar_int 277@ = TIMERA
277@ += 8000

:WUZI1_23033
return 
return 

:WUZI1_23037
if 
  96@ == 1
goto_if_false @WUZI1_23144
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_23144
set_lvar_int_to_lvar_int 278@ = 161@
161@ = Char.GetHealth(35@)
if 
  not is_int_lvar_equal_to_int_lvar 161@ == 278@
goto_if_false @WUZI1_23121
set_lvar_int_to_lvar_int 278@ = 161@
279@ = 1

:WUZI1_23121
set_var_int_to_lvar_int $d6_player_in_ravine = 161@
$d6_player_in_ravine *= 100
$d6_player_in_ravine /= 250

:WUZI1_23144
return 

:WUZI1_23146
return 

:WUZI1_23148
if 
  281@ <> 0
goto_if_false @WUZI1_23341
if 
  280@ == 0
goto_if_false @WUZI1_23202
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 281@)
280@ = 1

:WUZI1_23202
if 
  280@ == 1
goto_if_false @WUZI1_23265
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @WUZI1_23265
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 283@
goto_if_false @WUZI1_23265
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
280@ = 2

:WUZI1_23265
if or
  280@ == 2
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @WUZI1_23341
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @WUZI1_23341
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
set_lvar_int_to_lvar_int 281@ = 282@
282@ = 0
set_lvar_int_to_lvar_int 283@ = 284@
284@ = 0
280@ = 0

:WUZI1_23341
if 
  285@ <> 0
goto_if_false @WUZI1_23548
if 
  286@ == 0
goto_if_false @WUZI1_23419
286@ = 1
set_lvar_int_to_lvar_int 287@ = TIMERA
288@ = 0
set_lvar_int_to_lvar_int 750@ = 287@
add_int_lvar_to_int_lvar 750@ += 289@(288@,20i)

:WUZI1_23419
if 
  286@ == 1
goto_if_false @WUZI1_23548
if and
  is_int_lvar_greater_than_int_lvar TIMERA > 750@
  637@ == 0
goto_if_false @WUZI1_23548
set_lvar_int_to_lvar_int 637@ = 309@(288@,20i)
288@ += 1
329@ -= 1
if 
  329@ == 0
goto_if_false @WUZI1_23528
285@ = 0
286@ = 0
goto @WUZI1_23548

:WUZI1_23528
set_lvar_int_to_lvar_int 750@ = 287@
add_int_lvar_to_int_lvar 750@ += 289@(288@,20i)

:WUZI1_23548
switch_start 636@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @WUZI1_27955 {caseNum1} 0 {caseLabel1} @WUZI1_23611 {caseNum2} 1 {caseLabel2} @WUZI1_26570 {caseNum3} 2 {caseLabel3} @WUZI1_27414 {caseNum4} 3 {caseLabel4} @WUZI1_27513 {caseNum5} 4 {caseLabel5} @WUZI1_27594 {caseNum6} 5 {caseLabel6} @WUZI1_27738 {caseNum7} 6 {caseLabel7} @WUZI1_27849

:WUZI1_23611
if 
  636@ == 1
goto_if_false @WUZI1_23679
748@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)
752@ = Char.Create(PedType.Gang2, 290, 2752.341, -1948.867, 16.3125)

:WUZI1_23679
set_lvar_int_to_constant 532@ = 43800
set_lvar_int_to_constant 533@ = 43801
set_lvar_int_to_constant 534@ = 43804
set_lvar_int_to_constant 535@ = 43805
set_lvar_int_to_constant 536@ = 43806
set_lvar_int_to_constant 537@ = 43807
set_lvar_int_to_constant 538@ = 43808
set_lvar_int_to_constant 539@ = 65535
set_lvar_int_to_constant 540@ = 43809
set_lvar_int_to_constant 541@ = 43810
set_lvar_int_to_constant 542@ = 43811
set_lvar_int_to_constant 543@ = 43814
set_lvar_int_to_constant 544@ = 43812
set_lvar_int_to_constant 545@ = 43813
set_lvar_int_to_constant 546@ = 43845
set_lvar_int_to_constant 547@ = 43847
set_lvar_int_to_constant 548@ = 43844
set_lvar_int_to_constant 549@ = 43849
set_lvar_int_to_constant 550@ = 43850
set_lvar_int_to_constant 551@ = 43851
set_lvar_int_to_constant 552@ = 43852
set_lvar_int_to_constant 553@ = 43853
set_lvar_int_to_constant 554@ = 43854
set_lvar_int_to_constant 555@ = 43855
set_lvar_int_to_constant 556@ = 43856
set_lvar_int_to_constant 557@ = 43857
set_lvar_int_to_constant 558@ = 65535
set_lvar_int_to_constant 559@ = 65535
set_lvar_int_to_constant 560@ = 65535
set_lvar_int_to_constant 561@ = 43858
set_lvar_int_to_constant 562@ = 43859
set_lvar_int_to_constant 563@ = 43860
set_lvar_int_to_constant 564@ = 43861
set_lvar_int_to_constant 565@ = 43862
set_lvar_int_to_constant 566@ = 43863
set_lvar_int_to_constant 567@ = 43864
set_lvar_int_to_constant 568@ = 43865
set_lvar_int_to_constant 569@ = 43866
set_lvar_int_to_constant 570@ = 43867
set_lvar_int_to_constant 571@ = 43868
set_lvar_int_to_constant 572@ = 43869
set_lvar_int_to_constant 573@ = 43870
set_lvar_int_to_constant 574@ = 43871
set_lvar_int_to_constant 575@ = 43872
set_lvar_int_to_constant 576@ = 43873
set_lvar_int_to_constant 577@ = 43874
set_lvar_int_to_constant 578@ = 43875
set_lvar_int_to_constant 579@ = 43876
set_lvar_int_to_constant 580@ = 43877
set_lvar_int_to_constant 581@ = 43878
set_lvar_int_to_constant 582@ = 43879
set_lvar_int_to_constant 583@ = 43880
set_lvar_int_to_constant 584@ = 43881
set_lvar_int_to_constant 585@ = 43882
set_lvar_int_to_constant 586@ = 43883
set_lvar_int_to_constant 587@ = 43884
set_lvar_int_to_constant 588@ = 43885
set_lvar_int_to_constant 589@ = 43886
set_lvar_int_to_constant 590@ = 43887
set_lvar_int_to_constant 591@ = 43888
set_lvar_int_to_constant 592@ = 43889
set_lvar_int_to_constant 593@ = 43890
set_lvar_int_to_constant 594@ = 43892
set_lvar_int_to_constant 595@ = 43893
set_lvar_int_to_constant 596@ = 43894
set_lvar_int_to_constant 597@ = 43902
set_lvar_int_to_constant 598@ = 43895
set_lvar_int_to_constant 599@ = 43905
set_lvar_int_to_constant 600@ = 43815
set_lvar_int_to_constant 601@ = 43816
set_lvar_int_to_constant 602@ = 43817
set_lvar_int_to_constant 603@ = 43818
set_lvar_int_to_constant 604@ = 43832
set_lvar_int_to_constant 605@ = 43839
set_lvar_int_to_constant 606@ = 43840
set_lvar_int_to_constant 607@ = 65535
set_lvar_int_to_constant 608@ = 43826
set_lvar_int_to_constant 609@ = 43841
set_lvar_int_to_constant 610@ = 43842
set_lvar_int_to_constant 611@ = 43843
set_lvar_int_to_constant 612@ = 43844
set_lvar_int_to_constant 613@ = 43828
set_lvar_int_to_constant 614@ = 43829
set_lvar_int_to_constant 615@ = 43819
set_lvar_int_to_constant 616@ = 43820
set_lvar_int_to_constant 617@ = 43821
set_lvar_int_to_constant 618@ = 43822
set_lvar_int_to_constant 619@ = 43823
set_lvar_int_to_constant 620@ = 43836
set_lvar_int_to_constant 621@ = 43837
set_lvar_int_to_constant 622@ = 43838
set_lvar_int_to_constant 623@ = 43885
set_lvar_int_to_constant 624@ = 43883
set_lvar_text_label 333@s = 'WUZ1_AA'
set_lvar_text_label 335@s = 'WUZ1_AB'
set_lvar_text_label 337@s = 'WUZ1_CA'
set_lvar_text_label 339@s = 'WUZ1_CB'
set_lvar_text_label 341@s = 'WUZ1_CC'
set_lvar_text_label 343@s = 'WUZ1_CD'
set_lvar_text_label 345@s = 'WUZ1_CE'
set_lvar_text_label 349@s = 'WUZ1_CG'
set_lvar_text_label 351@s = 'WUZ1_CH'
set_lvar_text_label 353@s = 'WUZ1_DA'
set_lvar_text_label 355@s = 'WUZ1_DD'
set_lvar_text_label 357@s = 'WUZ1_DB'
set_lvar_text_label 359@s = 'WUZ1_DC'
set_lvar_text_label 361@s = 'WUZ1_LA'
set_lvar_text_label 363@s = 'WUZ1_LC'
set_lvar_text_label 365@s = 'WUZ1_KD'
set_lvar_text_label 367@s = 'WUZ1_MA'
set_lvar_text_label 369@s = 'WUZ1_MB'
set_lvar_text_label 371@s = 'WUZ1_MC'
set_lvar_text_label 373@s = 'WUZ1_MD'
set_lvar_text_label 375@s = 'WUZ1_ME'
set_lvar_text_label 377@s = 'WUZ1_MF'
set_lvar_text_label 379@s = 'WUZ1_MG'
set_lvar_text_label 381@s = 'WUZ1_MH'
set_lvar_text_label 383@s = 'WUZ1_MJ'
set_lvar_text_label 387@s = 'WUZ1_MH'
set_lvar_text_label 389@s = 'WUZ1_MJ'
set_lvar_text_label 391@s = 'WUZ1_NA'
set_lvar_text_label 393@s = 'WUZ1_NB'
set_lvar_text_label 395@s = 'WUZ1_NC'
set_lvar_text_label 397@s = 'WUZ1_ND'
set_lvar_text_label 399@s = 'WUZ1_NE'
set_lvar_text_label 401@s = 'WUZ1_NF'
set_lvar_text_label 403@s = 'WUZ1_NG'
set_lvar_text_label 405@s = 'WUZ1_NH'
set_lvar_text_label 407@s = 'WUZ1_NJ'
set_lvar_text_label 409@s = 'WUZ1_NK'
set_lvar_text_label 411@s = 'WUZ1_NL'
set_lvar_text_label 413@s = 'WUZ1_NM'
set_lvar_text_label 415@s = 'WUZ1_NN'
set_lvar_text_label 417@s = 'WUZ1_NO'
set_lvar_text_label 419@s = 'WUZ1_NP'
set_lvar_text_label 421@s = 'WUZ1_NQ'
set_lvar_text_label 423@s = 'WUZ1_OA'
set_lvar_text_label 425@s = 'WUZ1_OB'
set_lvar_text_label 427@s = 'WUZ1_OC'
set_lvar_text_label 429@s = 'WUZ1_OD'
set_lvar_text_label 431@s = 'WUZ1_OE'
set_lvar_text_label 433@s = 'WUZ1_OF'
set_lvar_text_label 435@s = 'WUZ1_OG'
set_lvar_text_label 437@s = 'WUZ1_OH'
set_lvar_text_label 439@s = 'WUZ1_OJ'
set_lvar_text_label 441@s = 'WUZ1_OK'
set_lvar_text_label 443@s = 'WUZ1_OL'
set_lvar_text_label 445@s = 'WUZ1_OM'
set_lvar_text_label 447@s = 'WUZ1_ON'
set_lvar_text_label 449@s = 'WUZ1_OO'
set_lvar_text_label 451@s = 'WUZ1_OP'
set_lvar_text_label 453@s = 'WUZ1_OQ'
set_lvar_text_label 455@s = 'WUZ1_OR'
set_lvar_text_label 457@s = 'WUZ1_PA'
set_lvar_text_label 459@s = 'WUZ1_PB'
set_lvar_text_label 461@s = 'WUZ1_QA'
set_lvar_text_label 463@s = 'WUZ1_RA'
set_lvar_text_label 465@s = 'WUZ1_QB'
set_lvar_text_label 467@s = 'WUZ1_RD'
set_lvar_text_label 469@s = 'WUZ1_EA'
set_lvar_text_label 471@s = 'WUZ1_EB'
set_lvar_text_label 473@s = 'WUZ1_EC'
set_lvar_text_label 475@s = 'WUZ1_EE'
set_lvar_text_label 477@s = 'WUZ1_GJ'
set_lvar_text_label 479@s = 'WUZ1_JA'
set_lvar_text_label 481@s = 'WUZ1_JB'
set_lvar_text_label 485@s = 'WUZ1_GC'
set_lvar_text_label 487@s = 'WUZ1_KA'
set_lvar_text_label 489@s = 'WUZ1_KB'
set_lvar_text_label 491@s = 'WUZ1_KC'
set_lvar_text_label 493@s = 'WUZ1_KD'
set_lvar_text_label 495@s = 'WUZ1_GE'
set_lvar_text_label 497@s = 'WUZ1_GF'
set_lvar_text_label 499@s = 'WUZ1_FA'
set_lvar_text_label 501@s = 'WUZ1_FB'
set_lvar_text_label 503@s = 'WUZ1_FC'
set_lvar_text_label 505@s = 'WUZ1_FD'
set_lvar_text_label 507@s = 'WUZ1_FE'
set_lvar_text_label 509@s = 'WUZ1_HA'
set_lvar_text_label 511@s = 'WUZ1_HB'
set_lvar_text_label 513@s = 'WUZ1_HC'
set_lvar_text_label 515@s = 'WUZ1_OM'
set_lvar_text_label 517@s = 'WUZ1_OK'
640@ = 2
641@ = 1
642@ = 2
643@ = 2
644@ = 1
645@ = 2
646@ = 2
647@ = 2
648@ = 1
649@ = 2
650@ = 2
651@ = 2
652@ = 1
653@ = 2
654@ = 2
655@ = 2
656@ = 2
657@ = 1
658@ = 2
659@ = 2
660@ = 1
661@ = 2
662@ = 3
663@ = 2
664@ = 3
665@ = 3
666@ = 2
667@ = 2
668@ = 2
669@ = 2
670@ = 2
671@ = 2
672@ = 1
673@ = 2
674@ = 2
675@ = 0
676@ = 2
677@ = 1
678@ = 2
679@ = 2
680@ = 2
681@ = 2
682@ = 2
683@ = 2
684@ = 2
685@ = 0
686@ = 2
687@ = 2
688@ = 2
689@ = 2
690@ = 2
691@ = 2
692@ = 1
693@ = 2
694@ = 2
695@ = 1
696@ = 1
697@ = 1
698@ = 2
699@ = 1
700@ = 2
701@ = 2
702@ = 1
703@ = 2
704@ = 2
705@ = 1
706@ = 1
707@ = 1
708@ = 2
709@ = 1
710@ = 2
711@ = 2
712@ = 2
713@ = 1
714@ = 2
715@ = 2
716@ = 2
717@ = 1
718@ = 2
719@ = 2
720@ = 2
721@ = 2
722@ = 2
723@ = 2
724@ = 1
725@ = 2
726@ = 2
727@ = 2
728@ = 2
729@ = 1
730@ = 2
731@ = 1
732@ = 1
set_lvar_int_to_var_int 740@ = $stattreadstamina_ctr
636@ = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 532@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 533@)
632@ = 1
633@ = 2
goto @WUZI1_27955

:WUZI1_26570
if 
  637@ <> 0
goto_if_false @WUZI1_27407
if 
  265@ == 0
goto_if_false @WUZI1_27407
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 755@
goto_if_false @WUZI1_27407
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @WUZI1_27407
if 
  is_int_lvar_equal_to_int_lvar 632@ == 637@
goto_if_false @WUZI1_26677
634@ = 1
goto @WUZI1_26740

:WUZI1_26677
if 
  is_int_lvar_equal_to_int_lvar 633@ == 637@
goto_if_false @WUZI1_26710
634@ = 2
goto @WUZI1_26740

:WUZI1_26710
634@ = 1
set_lvar_int_to_lvar_int 632@ = 637@
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 531@(637@,100i))

:WUZI1_26740
if 
  Audio.HasMissionAudioLoaded(634@)
goto_if_false @WUZI1_27395
set_lvar_int_to_lvar_int 747@ = 639@(637@,100i)
set_lvar_int_to_lvar_int 748@ = 739@(747@,7i)
if 
  754@ <> 1
goto_if_false @WUZI1_26968
751@ = 1
753@ = 0

:WUZI1_26812
if 
  7 > 751@
goto_if_false @WUZI1_26968
set_lvar_int_to_lvar_int 752@ = 739@(751@,7i)
if 
  752@ <> 0
goto_if_false @WUZI1_26954
if 
  not is_int_lvar_equal_to_int_lvar 752@ == 748@
goto_if_false @WUZI1_26954
if 
  not Char.IsDead(748@)
goto_if_false @WUZI1_26954
if 
  not Char.IsDead(752@)
goto_if_false @WUZI1_26954
if 
  Char.LocateAnyMeansChar3D(748@, 752@, 10.0, 10.0, 10.0, False)
goto_if_false @WUZI1_26954
753@ += 1

:WUZI1_26954
751@ += 1
goto @WUZI1_26812

:WUZI1_26968
if or
  754@ == 1
  753@ > 0
  639@(637@,100i) == 0
goto_if_false @WUZI1_27381
if 
  639@(637@,100i) <> 0
goto_if_false @WUZI1_27113
if 
  not Char.IsDead(748@)
goto_if_false @WUZI1_27113
if 
  $d6_player_in_tunnel == 0
goto_if_false @WUZI1_27068
Audio.AttachMissionAudioToChar(634@, 748@)

:WUZI1_27068
if 
  not Char.IsTalking(748@)
goto_if_false @WUZI1_27106
746@ = 1
Char.StartFacialTalk(748@, 15000)
goto @WUZI1_27113

:WUZI1_27106
Char.DisableSpeech(748@, False)

:WUZI1_27113
if 
  639@(637@,100i) == 0
goto_if_false @WUZI1_27142
746@ = 1

:WUZI1_27142
if 
  746@ == 1
goto_if_false @WUZI1_27374
if 
  748@ <> 0
goto_if_false @WUZI1_27201
if 
  not Char.IsDead(748@)
goto_if_false @WUZI1_27201
Char.ShutUpForScriptedSpeech(748@, True)

:WUZI1_27201
Audio.PlayMissionAudio(634@)
Text.ClearPrints
Text.Print(331@(637@,100s), 10000, 1)
636@ += 1
746@ = 0
637@ += 1
set_lvar_int_to_lvar_int 635@ = 637@
if 
  531@(637@,100i) <> 0
goto_if_false @WUZI1_27374
if 
  634@ == 1
goto_if_false @WUZI1_27336
if 
  not is_int_lvar_equal_to_int_lvar 633@ == 637@
goto_if_false @WUZI1_27329
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 531@(637@,100i))
set_lvar_int_to_lvar_int 633@ = 637@

:WUZI1_27329
goto @WUZI1_27374

:WUZI1_27336
if 
  not is_int_lvar_equal_to_int_lvar 632@ == 637@
goto_if_false @WUZI1_27374
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 531@(637@,100i))
set_lvar_int_to_lvar_int 632@ = 637@

:WUZI1_27374
goto @WUZI1_27388

:WUZI1_27381
636@ = 6

:WUZI1_27388
goto @WUZI1_27407

:WUZI1_27395
Audio.LoadMissionAudio(634@, 531@(637@,100i))

:WUZI1_27407
goto @WUZI1_27955

:WUZI1_27414
if 
  Audio.HasMissionAudioFinished(634@)
goto_if_false @WUZI1_27467
if 
  not Char.IsDead(748@)
goto_if_false @WUZI1_27453
Char.ShutUpForScriptedSpeech(748@, False)

:WUZI1_27453
636@ += 1
goto @WUZI1_27506

:WUZI1_27467
if 
  Char.DoesExist(748@)
goto_if_false @WUZI1_27506
if 
  Char.IsDead(748@)
goto_if_false @WUZI1_27506
636@ += 1

:WUZI1_27506
goto @WUZI1_27955

:WUZI1_27513
if 
  not Char.IsDead(748@)
goto_if_false @WUZI1_27536
Char.ShutUpForScriptedSpeech(748@, False)

:WUZI1_27536
Audio.ClearMissionAudio(634@)
631@(634@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(748@)
goto_if_false @WUZI1_27580
Char.StopFacialTalk(748@)
Char.EnableSpeech(748@)

:WUZI1_27580
636@ += 1
goto @WUZI1_27955

:WUZI1_27594
if 
  not Char.IsDead(748@)
goto_if_false @WUZI1_27617
Char.ShutUpForScriptedSpeech(748@, False)

:WUZI1_27617
637@ += 1
if 
  531@(637@,100i) <> 0
goto_if_false @WUZI1_27670
Audio.LoadMissionAudio(634@, 531@(637@,100i))
set_lvar_int_to_lvar_int 631@(634@,3i) = 637@

:WUZI1_27670
638@ -= 1
if 
  638@ <= 0
goto_if_false @WUZI1_27716
637@ = 0
638@ = 0
goto @WUZI1_27724

:WUZI1_27716
set_lvar_int_to_lvar_int 637@ = 635@

:WUZI1_27724
636@ = 1
goto @WUZI1_27955

:WUZI1_27738
if 
  not Char.IsDead(748@)
goto_if_false @WUZI1_27761
Char.ShutUpForScriptedSpeech(748@, False)

:WUZI1_27761
636@ = 1
637@ = 0
638@ = 0
285@ = 0
329@ = 0
$d6_player_in_tunnel = 0
Audio.ClearMissionAudio(634@)
631@(634@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(748@)
goto_if_false @WUZI1_27842
Char.EnableSpeech(748@)

:WUZI1_27842
goto @WUZI1_27955

:WUZI1_27849
if 
  not Char.IsDead(748@)
goto_if_false @WUZI1_27872
Char.ShutUpForScriptedSpeech(748@, False)

:WUZI1_27872
636@ = 2
637@ = 0
638@ = 0
285@ = 0
329@ = 0
$d6_player_in_tunnel = 0
631@(634@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(748@)
goto_if_false @WUZI1_27948
Char.EnableSpeech(748@)

:WUZI1_27948
goto @WUZI1_27955

:WUZI1_27955
return 

:WUZI1_27957
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:WUZI1_27975
Text.PrintWithNumberBig('M_PASSS', 5000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 5000)
Stat.AwardPlayerMissionRespect(10)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('WUZI_1')
$garageX += 1
return 

:WUZI1_28039
130@ = 0

:WUZI1_28046
if 
  18 > 130@
goto_if_false @WUZI1_28139
Blip.Remove(111@(130@,18i))
if 
  not Char.IsDead(138@(130@,18i))
goto_if_false @WUZI1_28125
Task.KillCharOnFoot(138@(130@,18i), $stattreadstamina_ctr)
Char.SetKeepTask(138@(130@,18i), True)
Char.MarkAsNoLongerNeeded(138@(130@,18i))

:WUZI1_28125
130@ += 1
goto @WUZI1_28046

:WUZI1_28139
Text.ClearHelp
if 
  not Car.IsDead(104@)
goto_if_false @WUZI1_28186
Car.SetHeavy(104@, False)
Car.SetProofs(104@, False, False, False, False, False)
Car.LockDoors(104@, CarLock.Unlocked)

:WUZI1_28186
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WUZI1_28209
Player.SetControl($statbike_temp, True)

:WUZI1_28209
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(121)
Streaming.MarkModelAsNoLongerNeeded(122)
Streaming.MarkModelAsNoLongerNeeded(123)
Streaming.MarkModelAsNoLongerNeeded(358)
Streaming.MarkModelAsNoLongerNeeded(405)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(118)
Streaming.MarkModelAsNoLongerNeeded(58)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.RemoveAnimation("SWAT")
Streaming.RemoveAnimation("WUZI")
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("CAR_CHAT")
Streaming.RemoveCarRecording(136)
Streaming.RemoveCarRecording(137)
Streaming.RemoveCarRecording(138)
Streaming.RemoveCarRecording(139)
Streaming.RemoveCarRecording(169)
Path.SwitchPedRoadsBackToOriginal(-2239.251, 636.6675, 53.1933, -2165.047, 720.0577, 49.5456)
Hud.ClearCounter($d6_player_in_ravine)
Game.SwitchRandomTrains(True)
Game.SetWantedMultiplier(1.0)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @WUZI1_28404
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:WUZI1_28404
if 
  not Char.IsDead(35@)
goto_if_false @WUZI1_28425
Char.RemoveElegantly(35@)

:WUZI1_28425
Blip.Remove(107@)
Blip.Remove(108@)
Blip.Remove(109@)
Blip.Remove(110@)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
ScriptFire.Remove(258@)
ScriptFire.Remove(259@)
DecisionMaker.Remove(34@)
Game.SwitchEmergencyServices(True)
$weapon_shop1_blip = 0
World.SetUsesCollisionOfClosestObjectOfType(-2175.213, 662.718, 50.8582, 10.5, #CT_GATEXR, True)
World.SetUsesCollisionOfClosestObjectOfType(-2175.213, 662.718, 50.8582, 10.5, #CHINA_TOWN_GATEB, True)
Mission.Finish
return 

//-------------Mission 54---------------
// Originally: Ran Fa Li

:FARLIE4
script_name 'FARLIE4'
gosub @FARLIE4_47
if 
  has_deatharrest_been_executed 
goto_if_false @FARLIE4_38
gosub @FARLIE4_7851

:FARLIE4_38
gosub @FARLIE4_8352
terminate_this_script 

:FARLIE4_47
Text.LoadMissionText('FARLIE4')
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:FARLIE4_73
if 
  Camera.GetFadingStatus
goto_if_false @FARLIE4_97
wait 0
goto @FARLIE4_73

:FARLIE4_97
Streaming.SetAreaVisible(1)
Cutscene.Load('FARL_4A')

:FARLIE4_112
if 
  not Cutscene.HasLoaded
goto_if_false @FARLIE4_136
wait 0
goto @FARLIE4_112

:FARLIE4_136
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:FARLIE4_153
if 
  not Cutscene.HasFinished
goto_if_false @FARLIE4_177
wait 0
goto @FARLIE4_153

:FARLIE4_177
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:FARLIE4_191
if 
  Camera.GetFadingStatus
goto_if_false @FARLIE4_215
wait 0
goto @FARLIE4_191

:FARLIE4_215
Cutscene.Clear
Streaming.SetAreaVisible(0)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_286
Streaming.LoadScene(-2154.998, 645.5436, 51.3516)
Char.SetCoordinates($stattreadstamina_ctr, -2154.998, 645.5436, 51.3516)
Char.SetHeading($stattreadstamina_ctr, 271.113)
Camera.SetBehindPlayer

:FARLIE4_286
Hud.SwitchWidescreen(False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
Path.SwitchRoadsOff(-1478.294, -65.4014, 0.0, -1395.423, 2.7054, 10.0)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Like, PedType.Mission1, PedType.Mission1)
46@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
146@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.AddEventResponse(146@, 17, 704, 0.0, 0.0, 100.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse(46@, 17, 704, 0.0, 0.0, 100.0, 0.0, True, True)
37@ = Blip.AddForCoord(-1742.273, 1422.631, 6.1842)
Blip.ChangeDisplay(37@, BlipDisplay.Neither)
41@ = Blip.AddForCoord(-1409.9, -303.4, 4.5)
Garage.ChangeType('FDORSFE', GarageType.ForScriptToOpenAndClose)
Streaming.RequestModel(352)

:FARLIE4_509
if 
  not Streaming.HasModelLoaded(352)
goto_if_false @FARLIE4_536
wait 0
goto @FARLIE4_509

:FARLIE4_536
if and
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.MicroUzi)
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Mp5)
goto_if_false @FARLIE4_578
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi, 150)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.MicroUzi)

:FARLIE4_578
TIMERA = 0
140@ = 2
Text.PrintNow('F4_T0', 9000, 1)

:FARLIE4_608
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_875
wait 0
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @FARLIE4_650
goto @FARLIE4_8013

:FARLIE4_650
gosub @FARLIE4_8744
gosub @FARLIE4_9534
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1409.9, -303.4, 4.5, 4.0, 4.0, 4.0, True)
goto_if_false @FARLIE4_868
Streaming.RequestModel(475)
Streaming.RequestModel(410)

:FARLIE4_722
if or
  not Streaming.HasModelLoaded(475)
  not Streaming.HasModelLoaded(410)
goto_if_false @FARLIE4_754
wait 0
goto @FARLIE4_722

:FARLIE4_754
141@ = 1
Blip.Remove(41@)
34@ = Car.Create(410, -1425.512, -21.2813, 5.0078)
Car.SetHeading(34@, 88.7848)
Car.FreezePosition(34@, True)
35@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(35@, True)
Car.SetCanBurstTires(34@, False)
Car.SetHealth(34@, 3000)
Car.ChangeColor(34@, 3, 3)
Text.PrintNow('F4_T7', 4000, 1)
goto @FARLIE4_882

:FARLIE4_868
goto @FARLIE4_608

:FARLIE4_875
goto @FARLIE4_7851

:FARLIE4_882
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(34@)
goto_if_false @FARLIE4_1039
wait 0
gosub @FARLIE4_8744
gosub @FARLIE4_9534
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  not Car.IsDead(34@)
goto_if_false @FARLIE4_969
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @FARLIE4_969
$stealth_help_flag = Char.StoreCarIsIn($stattreadstamina_ctr)

:FARLIE4_969
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_1032
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @FARLIE4_1032
Blip.ChangeDisplay(35@, BlipDisplay.Neither)
Blip.ChangeDisplay(37@, BlipDisplay.Both)
Car.FreezePosition(34@, False)
goto @FARLIE4_1046

:FARLIE4_1032
goto @FARLIE4_882

:FARLIE4_1039
goto @FARLIE4_7851

:FARLIE4_1046
Player.SetControl($statbike_temp, False)
Streaming.RequestModel(121)
Streaming.RequestModel(122)
Streaming.RequestModel(521)
Streaming.RequestModel(352)
Streaming.RequestModel(414)
Streaming.RequestModel(330)
Streaming.RequestModel(475)
Streaming.RequestModel(543)

:FARLIE4_1091
if or
  not Streaming.HasModelLoaded(121)
  not Streaming.HasModelLoaded(122)
  not Streaming.HasModelLoaded(521)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(414)
  not Streaming.HasModelLoaded(330)
goto_if_false @FARLIE4_1141
wait 0
goto @FARLIE4_1091

:FARLIE4_1141
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 28000)

:FARLIE4_1152
if or
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
  not Streaming.HasModelLoaded(475)
  not Streaming.HasModelLoaded(543)
goto_if_false @FARLIE4_1188
wait 0
goto @FARLIE4_1152

:FARLIE4_1188
World.SetCarDensityMultiplier(0.0)

:FARLIE4_1195
gosub @FARLIE4_8286
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @FARLIE4_1306
if 
  Car.Locate3D($stealth_help_flag, -1429.619, -21.2788, 5.0078, 10.0, 10.0, 10.0, False)
goto_if_false @FARLIE4_1301
Car.SetAsMissionCar($stealth_help_flag)
Car.SetCoordinates($stealth_help_flag, -1425.615, -16.4956, 5.0078)
Car.SetHeading($stealth_help_flag, 271.5388)

:FARLIE4_1301
wait 500

:FARLIE4_1306
World.ClearArea(-1412.56, -138.0878, 5.0, 200.0, True)
gosub @FARLIE4_8252
Camera.SetFixedPosition(-1430.361, -18.6971, 6.191, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1429.655, -19.4032, 6.1376, SwitchType.JumpCut)
49@ = Car.Create(414, -1414.173, -50.4918, 5.0)
Car.SetHeading(49@, 0.0)
59@ = Char.CreateInsideCar(49@, PedType.Mission1, 121)
Char.GiveWeapon(59@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(59@, WeaponType.MicroUzi)
if and
  not Car.IsDead(49@)
  not Char.IsDead(59@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_1541
142@ = Sequence.Open()
Task.CarDriveToCoord(-1, 49@, -1414.428, -32.5711, 5.0069, 15.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
Task.LeaveCar(-1, 49@)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(142@)
Char.PerformSequence(59@, 142@)

:FARLIE4_1541
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_1565
43@ = Car.GetHealth(34@)

:FARLIE4_1565
set_var_int_to_lvar_int $d6_player_reached_second_creation_pt = 43@
$d6_player_reached_second_creation_pt /= 30
Hud.DisplayCounterWithString($d6_player_reached_second_creation_pt, CounterDisplay.Bar, 'F4_D')
gosub @FARLIE4_8319
Text.PrintNow('F4_T5', 5000, 1)
TIMERB = 0

:FARLIE4_1626
if 
  2000 > TIMERB
goto_if_false @FARLIE4_1680
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @FARLIE4_1673
goto @FARLIE4_1760

:FARLIE4_1673
goto @FARLIE4_1626

:FARLIE4_1680
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @FARLIE4_1699
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:FARLIE4_1699
TIMERB = 0

:FARLIE4_1706
if 
  2000 > TIMERB
goto_if_false @FARLIE4_1760
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @FARLIE4_1753
goto @FARLIE4_1760

:FARLIE4_1753
goto @FARLIE4_1706

:FARLIE4_1760
gosub @FARLIE4_8267
Text.PrintNow('F4_T8', 4000, 1)
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_1806
Car.FreezePosition(34@, False)

:FARLIE4_1806
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(34@)
goto_if_false @FARLIE4_7844
wait 0
gosub @FARLIE4_8744
gosub @FARLIE4_9534
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_1885
if 
  Car.HasBeenResprayed(34@)
goto_if_false @FARLIE4_1885
Car.SetHealth(34@, 3000)

:FARLIE4_1885
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_2044
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @FARLIE4_1966
if 
  40@ == 0
goto_if_false @FARLIE4_1959
Blip.ChangeDisplay(35@, BlipDisplay.Neither)
Blip.ChangeDisplay(37@, BlipDisplay.Both)
40@ = 1

:FARLIE4_1959
goto @FARLIE4_2021

:FARLIE4_1966
if 
  40@ == 1
goto_if_false @FARLIE4_2021
Blip.ChangeDisplay(35@, BlipDisplay.Both)
Blip.ChangeDisplay(37@, BlipDisplay.Neither)
Text.PrintNow('F4_T4', 4000, 1)
40@ = 0

:FARLIE4_2021
43@ = Car.GetHealth(34@)
set_var_int_to_lvar_int $d6_player_reached_second_creation_pt = 43@
$d6_player_reached_second_creation_pt /= 30

:FARLIE4_2044
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1467.032, -133.7941, 5.0078, 60.0, 60.0, 10.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1347.11, -49.7249, 5.0078, 20.0, 20.0, 10.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1421.344, -238.9247, 5.0, 20.0, 20.0, 10.0, False)
goto_if_false @FARLIE4_2368
if 
  79@ == 0
goto_if_false @FARLIE4_2368
World.ClearArea(-1474.466, -162.8309, 5.0234, 10.0, True)
51@ = Car.Create(414, -1474.466, -162.8309, 5.0234)
Car.SetHeading(51@, 272.5542)
61@ = Char.CreateInsideCar(51@, PedType.Mission1, 121)
Char.GiveWeapon(61@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(61@, WeaponType.MicroUzi)
if and
  not Car.IsDead(51@)
  not Char.IsDead(61@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_2361
144@ = Sequence.Open()
Task.CarDriveToCoord(-1, 51@, -1464.862, -162.4026, 5.0226, 25.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
Task.LeaveCar(-1, 51@)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(144@)
Char.PerformSequence(61@, 144@)

:FARLIE4_2361
79@ = 1

:FARLIE4_2368
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1423.849, -135.7411, 5.0078, 20.0, 20.0, 10.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1347.11, -49.7249, 5.0078, 20.0, 20.0, 10.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1421.344, -238.9247, 5.0, 20.0, 20.0, 10.0, False)
goto_if_false @FARLIE4_2692
if 
  80@ == 0
goto_if_false @FARLIE4_2692
World.ClearArea(-1387.268, -126.9234, 5.0078, 10.0, True)
50@ = Car.Create(414, -1387.268, -126.9234, 5.0078)
Car.SetHeading(50@, 180.2388)
60@ = Char.CreateInsideCar(50@, PedType.Mission1, 121)
Char.GiveWeapon(60@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(60@, WeaponType.MicroUzi)
if and
  not Car.IsDead(50@)
  not Char.IsDead(60@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_2685
143@ = Sequence.Open()
Task.CarDriveToCoord(-1, 50@, -1387.225, -135.6199, 5.0078, 25.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
Task.LeaveCar(-1, 50@)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(143@)
Char.PerformSequence(60@, 143@)

:FARLIE4_2685
80@ = 1

:FARLIE4_2692
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1427.269, -238.5722, 5.0234, 20.0, 20.0, 10.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1347.11, -49.7249, 5.0078, 20.0, 20.0, 10.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1421.344, -238.9247, 5.0, 20.0, 20.0, 10.0, False)
goto_if_false @FARLIE4_3011
if 
  89@ == 0
goto_if_false @FARLIE4_3011
World.ClearArea(-1387.792, -230.1776, 5.0078, 10.0, True)
52@ = Car.Create(414, -1387.792, -230.1776, 5.0078)
Car.SetHeading(52@, 179.5878)
62@ = Char.CreateInsideCar(52@, PedType.Mission1, 121)
Char.GiveWeapon(62@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(62@, WeaponType.MicroUzi)
if and
  not Car.IsDead(52@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_3004
145@ = Sequence.Open()
Task.CarDriveToCoord(-1, 52@, -1387.862, -240.3811, 5.0078, 25.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
Task.LeaveCar(-1, 52@)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(145@)
Char.PerformSequence(62@, 145@)

:FARLIE4_3004
89@ = 1

:FARLIE4_3011
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1399.686, -184.757, 5.3047, 5.0, 5.0, 10.0, False)
  81@ == 0
goto_if_false @FARLIE4_3146
44@ = Char.Create(PedType.Mission1, 122, -1404.049, -234.7071, 5.3047)
Char.SetHeading(44@, 353.8535)
Char.GiveWeapon(44@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(44@, WeaponType.MicroUzi)
Char.SetAccuracy(44@, 80)
Char.SetDecisionMaker(44@, 46@)
Task.WeaponRoll(44@, True)
81@ = 1

:FARLIE4_3146
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1400.184, -205.7361, 5.3047, 5.0, 5.0, 10.0, False)
  82@ == 0
goto_if_false @FARLIE4_3281
45@ = Char.Create(PedType.Mission1, 121, -1394.235, -234.735, 5.3047)
Char.SetHeading(45@, 1.5813)
Char.GiveWeapon(45@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(45@, WeaponType.MicroUzi)
Char.SetAccuracy(45@, 80)
Char.SetDecisionMaker(45@, 46@)
Task.WeaponRoll(45@, False)
82@ = 1

:FARLIE4_3281
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1407.187, -239.4782, 5.3047, 20.0, 20.0, 10.0, False)
  83@ == 0
goto_if_false @FARLIE4_3822
69@ = Char.Create(PedType.Mission1, 122, -1407.076, -358.3559, 8.3099)
Char.SetHeading(69@, 9.5994)
70@ = Char.Create(PedType.Mission1, 121, -1476.887, -291.53, 8.7087)
Char.SetHeading(70@, 258.9856)
36@ = 0

:FARLIE4_3411
Char.GiveWeapon(69@(36@,10i), WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(69@(36@,10i), WeaponType.MicroUzi)
Char.SetAccuracy(69@(36@,10i), 80)
Char.SetDecisionMaker(69@(36@,10i), 46@)
Task.StayInSamePlace(69@(36@,10i), True)
Task.KillCharOnFoot(69@(36@,10i), $stattreadstamina_ctr)
Task.ToggleDuck(69@(36@,10i), True)
36@ += 1
  36@ >= 2
goto_if_false @FARLIE4_3411
52@ = Car.Create(414, -1478.896, -470.3535, 10.9926)
Car.SetHeading(52@, 11.1921)
99@ = Char.Create(PedType.Mission1, 122, -1478.188, -476.1086, 11.1411)
Char.SetHeading(99@, 277.8792)
100@ = Char.Create(PedType.Mission1, 122, -1479.535, -466.4356, 11.0)
Char.SetHeading(100@, 263.3237)
53@ = Car.Create(414, -1586.023, -359.7679, 10.9926)
Car.SetHeading(53@, 248.7342)
101@ = Char.Create(PedType.Mission1, 122, -1582.225, -362.0264, 11.0)
Char.SetHeading(101@, 356.2877)
102@ = Char.Create(PedType.Mission1, 122, -1590.694, -357.4667, 11.1411)
Char.SetHeading(102@, 323.3828)
36@ = 0

:FARLIE4_3723
Char.GiveWeapon(99@(36@,10i), WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(99@(36@,10i), WeaponType.MicroUzi)
Char.SetAccuracy(99@(36@,10i), 80)
Char.SetDecisionMaker(99@(36@,10i), 46@)
Task.StayInSamePlace(99@(36@,10i), True)
Task.KillCharOnFoot(99@(36@,10i), $stattreadstamina_ctr)
36@ += 1
  36@ >= 4
goto_if_false @FARLIE4_3723
83@ = 1

:FARLIE4_3822
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1570.888, -455.6748, 5.0, 25.0, 25.0, 10.0, False)
  84@ == 0
goto_if_false @FARLIE4_3999
World.SetCarDensityMultiplier(1.0)
Char.Delete(44@)
Char.Delete(45@)
36@ = 0

:FARLIE4_3901
Char.Delete(59@(36@,10i))
if 
  not Car.IsDead(49@(36@,10i))
goto_if_false @FARLIE4_3962
if 
  not Char.IsInCar($stattreadstamina_ctr, 49@(36@,10i))
goto_if_false @FARLIE4_3962
Car.Delete(49@(36@,10i))

:FARLIE4_3962
Char.Delete(69@(36@,10i))
36@ += 1
  36@ >= 3
goto_if_false @FARLIE4_3901
84@ = 1

:FARLIE4_3999
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2258.519, 124.3485, 34.3125, 150.0, 150.0, 10.0, False)
  85@ == 0
goto_if_false @FARLIE4_4309
World.ClearArea(-2258.519, 124.3485, 34.3125, 10.0, True)
109@ = Car.Create(521, -2258.519, 124.3485, 34.3125)
129@ = Blip.AddForCar(109@)
Car.SetDrivingStyle(109@, DrivingMode.AvoidCars)
Car.SetHeading(109@, 179.5562)
119@ = Char.CreateInsideCar(109@, PedType.Mission1, 121)
120@ = Char.CreateAsPassenger(109@, PedType.Mission1, 122, 0)
Char.SetCanBeKnockedOffBike(119@, False)
Char.SetCanBeKnockedOffBike(120@, False)
Char.GiveWeapon(119@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(119@, WeaponType.MicroUzi)
Char.SetAccuracy(119@, 30)
Char.GiveWeapon(120@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(120@, WeaponType.MicroUzi)
Char.SetAccuracy(120@, 30)
Char.SetDecisionMaker(119@, 46@)
Char.SetDecisionMaker(120@, 46@)
Task.DriveBy(120@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 999.0, DriveByType.Ai, False, 50)
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_4302
Task.CarMission(119@, 109@, 34@, CarMission.EscortLeft, 100.0, DrivingMode.AvoidCars)

:FARLIE4_4302
85@ = 1

:FARLIE4_4309
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1817.805, -552.1889, 15.0039, 150.0, 150.0, 10.0, False)
  86@ == 0
goto_if_false @FARLIE4_4648
World.ClearArea(-1817.805, -552.1889, 15.0039, 10.0, True)
110@ = Car.Create(521, -1817.805, -552.1889, 15.0039)
130@ = Blip.AddForCar(110@)
Car.SetHeading(110@, 174.0251)
Car.SetDrivingStyle(110@, DrivingMode.AvoidCars)
121@ = Char.CreateInsideCar(110@, PedType.Mission1, 121)
122@ = Char.CreateAsPassenger(110@, PedType.Mission1, 122, 0)
Char.SetCanBeKnockedOffBike(121@, False)
Char.SetCanBeKnockedOffBike(122@, False)
Char.GiveWeapon(121@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(121@, WeaponType.MicroUzi)
Char.SetAccuracy(121@, 30)
Char.GiveWeapon(122@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(122@, WeaponType.MicroUzi)
Char.SetAccuracy(122@, 30)
Task.DriveBy(122@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 999.0, DriveByType.Ai, False, 50)
Char.SetDecisionMaker(122@, 46@)
Char.SetDecisionMaker(121@, 46@)
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_4641
38@ = Sequence.Open()
Task.Pause(-1, 5000)
Task.CarMission(-1, 110@, 34@, CarMission.EscortRight, 100.0, DrivingMode.AvoidCars)
Sequence.Close(38@)
Char.PerformSequence(121@, 38@)
Sequence.Clear(38@)

:FARLIE4_4641
86@ = 1

:FARLIE4_4648
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1818.385, -621.8912, 15.312, 150.0, 150.0, 10.0, False)
  87@ == 0
goto_if_false @FARLIE4_4987
World.ClearArea(-1818.385, -621.8912, 15.312, 10.0, True)
111@ = Car.Create(521, -1818.385, -621.8912, 15.312)
131@ = Blip.AddForCar(111@)
Car.SetHeading(111@, 1.701)
Car.SetDrivingStyle(111@, DrivingMode.AvoidCars)
123@ = Char.CreateInsideCar(111@, PedType.Mission1, 121)
124@ = Char.CreateAsPassenger(111@, PedType.Mission1, 122, 0)
Char.SetCanBeKnockedOffBike(123@, False)
Char.SetCanBeKnockedOffBike(124@, False)
Char.GiveWeapon(123@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(123@, WeaponType.MicroUzi)
Char.SetAccuracy(123@, 30)
Char.GiveWeapon(124@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(124@, WeaponType.MicroUzi)
Char.SetAccuracy(124@, 30)
Task.DriveBy(124@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 999.0, DriveByType.Ai, False, 50)
Char.SetDecisionMaker(124@, 46@)
Char.SetDecisionMaker(123@, 46@)
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_4980
38@ = Sequence.Open()
Task.Pause(-1, 5000)
Task.CarMission(-1, 111@, 34@, CarMission.EscortLeft, 100.0, DrivingMode.AvoidCars)
Sequence.Close(38@)
Char.PerformSequence(123@, 38@)
Sequence.Clear(38@)

:FARLIE4_4980
87@ = 1

:FARLIE4_4987
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2211.62, 580.9911, 34.1691, 300.0, 300.0, 10.0, False)
  157@ == 0
goto_if_false @FARLIE4_5290
World.ClearArea(-2211.62, 580.9911, 34.1691, 10.0, True)
162@ = Car.Create(410, -2211.62, 580.9911, 34.1691)
167@ = Blip.AddForCar(162@)
Car.SetHeading(162@, 176.7102)
Car.SetDrivingStyle(162@, DrivingMode.AvoidCars)
147@ = Char.CreateInsideCar(162@, PedType.Mission1, 121)
148@ = Char.CreateAsPassenger(162@, PedType.Mission1, 122, 0)
Char.SetCanBeKnockedOffBike(148@, 2)
Char.GiveWeapon(147@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(147@, WeaponType.MicroUzi)
Char.SetAccuracy(147@, 30)
Char.GiveWeapon(148@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(148@, WeaponType.MicroUzi)
Char.SetAccuracy(148@, 30)
Task.DriveBy(148@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 999.0, DriveByType.Ai, False, 50)
Char.SetDecisionMaker(148@, 46@)
Char.SetDecisionMaker(147@, 46@)
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_5283
Task.CarMission(147@, 162@, 34@, CarMission.EscortRight, 100.0, DrivingMode.AvoidCars)

:FARLIE4_5283
157@ = 1

:FARLIE4_5290
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1850.127, 1096.324, 44.2969, 300.0, 300.0, 10.0, False)
  158@ == 0
goto_if_false @FARLIE4_5586
World.ClearArea(-1850.127, 1096.324, 44.2969, 10.0, True)
163@ = Car.Create(475, -1850.127, 1096.324, 44.2969)
168@ = Blip.AddForCar(163@)
Car.SetHeading(163@, 81.5282)
Car.SetDrivingStyle(163@, DrivingMode.AvoidCars)
149@ = Char.CreateInsideCar(163@, PedType.Mission1, 121)
150@ = Char.CreateAsPassenger(163@, PedType.Mission1, 122, 0)
Char.GiveWeapon(149@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(149@, WeaponType.MicroUzi)
Char.SetAccuracy(149@, 30)
Char.GiveWeapon(150@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(150@, WeaponType.MicroUzi)
Char.SetAccuracy(150@, 30)
Task.DriveBy(150@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 999.0, DriveByType.Ai, False, 50)
Char.SetDecisionMaker(150@, 46@)
Char.SetDecisionMaker(149@, 46@)
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_5579
Task.CarMission(149@, 163@, 34@, CarMission.EscortLeft, 100.0, DrivingMode.AvoidCars)

:FARLIE4_5579
158@ = 1

:FARLIE4_5586
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1740.369, 1404.461, 6.1875, 300.0, 300.0, 10.0, False)
  159@ == 0
goto_if_false @FARLIE4_5882
World.ClearArea(-1740.369, 1404.461, 6.1875, 10.0, True)
164@ = Car.Create(543, -1740.369, 1404.461, 6.1875)
169@ = Blip.AddForCar(164@)
Car.SetHeading(164@, 172.1585)
Car.SetDrivingStyle(164@, DrivingMode.AvoidCars)
151@ = Char.CreateInsideCar(164@, PedType.Mission1, 121)
152@ = Char.CreateAsPassenger(164@, PedType.Mission1, 122, 0)
Char.GiveWeapon(151@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(151@, WeaponType.MicroUzi)
Char.SetAccuracy(151@, 30)
Char.GiveWeapon(152@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(152@, WeaponType.MicroUzi)
Char.SetAccuracy(152@, 30)
Task.DriveBy(152@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 999.0, DriveByType.Ai, False, 50)
Char.SetDecisionMaker(152@, 46@)
Char.SetDecisionMaker(151@, 46@)
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_5875
Task.CarMission(151@, 164@, 34@, CarMission.EscortRight, 100.0, DrivingMode.AvoidCars)

:FARLIE4_5875
159@ = 1

:FARLIE4_5882
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1892.652, 745.0367, 44.2969, 300.0, 300.0, 10.0, False)
  160@ == 0
goto_if_false @FARLIE4_6185
World.ClearArea(-1892.652, 745.0367, 44.2969, 10.0, True)
165@ = Car.Create(475, -1892.652, 745.0367, 44.2969)
170@ = Blip.AddForCar(165@)
Car.SetHeading(165@, 167.9494)
Car.SetDrivingStyle(165@, DrivingMode.AvoidCars)
Car.SetMission(165@, CarMission.BlockPlayerClose)
153@ = Char.CreateInsideCar(165@, PedType.Mission1, 121)
154@ = Char.CreateAsPassenger(165@, PedType.Mission1, 122, 0)
Char.GiveWeapon(153@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(153@, WeaponType.MicroUzi)
Char.SetAccuracy(153@, 30)
Char.GiveWeapon(154@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(154@, WeaponType.MicroUzi)
Char.SetAccuracy(154@, 30)
Task.DriveBy(153@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 999.0, DriveByType.Ai, False, 50)
Char.SetDecisionMaker(154@, 46@)
Char.SetDecisionMaker(153@, 46@)
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_6178
Task.CarMission(154@, 165@, 34@, CarMission.EscortLeft, 100.0, DrivingMode.AvoidCars)

:FARLIE4_6178
160@ = 1

:FARLIE4_6185
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2154.207, 576.4759, 34.1719, 150.0, 150.0, 10.0, False)
  88@ == 0
goto_if_false @FARLIE4_6377
World.ClearArea(-1818.385, -621.8912, 15.312, 10.0, True)
183@ = Char.Create(PedType.Mission1, 121, -2154.207, 576.4759, 34.1719)
182@ = Car.Create(521, -2154.382, 577.5017, 34.1719)
Car.SetHeading(182@, 114.1029)
Char.SetHeading(183@, 211.0992)
Char.GiveWeapon(183@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(183@, WeaponType.MicroUzi)
Char.SetAccuracy(183@, 90)
Char.SetDecisionMaker(183@, 46@)
Task.StayInSamePlace(183@, True)
88@ = 1

:FARLIE4_6377
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2245.675, 303.3215, 34.3203, 150.0, 150.0, 10.0, False)
  88@ == 0
goto_if_false @FARLIE4_6569
World.ClearArea(-2245.675, 303.3215, 34.3203, 10.0, True)
185@ = Char.Create(PedType.Mission1, 121, -2245.675, 303.3215, 34.3203)
184@ = Car.Create(521, -2244.782, 304.8253, 34.3203)
Car.SetHeading(184@, 191.9683)
Char.SetHeading(185@, 165.1429)
Char.GiveWeapon(185@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(185@, WeaponType.MicroUzi)
Char.SetAccuracy(185@, 90)
Char.SetDecisionMaker(185@, 46@)
Task.StayInSamePlace(185@, True)
88@ = 1

:FARLIE4_6569
if 
  not Char.IsDead(119@)
goto_if_false @FARLIE4_6634
if 
  not Char.IsInAnyCar(119@)
goto_if_false @FARLIE4_6627
Task.Die(119@)
if 
  Blip.DoesExist(129@)
goto_if_false @FARLIE4_6627
Blip.Remove(129@)

:FARLIE4_6627
goto @FARLIE4_6655

:FARLIE4_6634
if 
  Blip.DoesExist(129@)
goto_if_false @FARLIE4_6655
Blip.Remove(129@)

:FARLIE4_6655
if 
  not Char.IsDead(121@)
goto_if_false @FARLIE4_6715
if 
  not Char.IsInAnyCar(121@)
goto_if_false @FARLIE4_6708
if 
  Blip.DoesExist(130@)
goto_if_false @FARLIE4_6708
Blip.Remove(130@)

:FARLIE4_6708
goto @FARLIE4_6736

:FARLIE4_6715
if 
  Blip.DoesExist(130@)
goto_if_false @FARLIE4_6736
Blip.Remove(130@)

:FARLIE4_6736
if 
  not Char.IsDead(123@)
goto_if_false @FARLIE4_6796
if 
  not Char.IsInAnyCar(123@)
goto_if_false @FARLIE4_6789
if 
  Blip.DoesExist(131@)
goto_if_false @FARLIE4_6789
Blip.Remove(131@)

:FARLIE4_6789
goto @FARLIE4_6817

:FARLIE4_6796
if 
  Blip.DoesExist(131@)
goto_if_false @FARLIE4_6817
Blip.Remove(131@)

:FARLIE4_6817
if 
  not Char.IsDead(147@)
goto_if_false @FARLIE4_6877
if 
  not Char.IsInAnyCar(147@)
goto_if_false @FARLIE4_6870
if 
  Blip.DoesExist(167@)
goto_if_false @FARLIE4_6870
Blip.Remove(167@)

:FARLIE4_6870
goto @FARLIE4_6898

:FARLIE4_6877
if 
  Blip.DoesExist(167@)
goto_if_false @FARLIE4_6898
Blip.Remove(167@)

:FARLIE4_6898
if 
  not Char.IsDead(149@)
goto_if_false @FARLIE4_6958
if 
  not Char.IsInAnyCar(149@)
goto_if_false @FARLIE4_6951
if 
  Blip.DoesExist(168@)
goto_if_false @FARLIE4_6951
Blip.Remove(168@)

:FARLIE4_6951
goto @FARLIE4_6979

:FARLIE4_6958
if 
  Blip.DoesExist(168@)
goto_if_false @FARLIE4_6979
Blip.Remove(168@)

:FARLIE4_6979
if 
  not Char.IsDead(151@)
goto_if_false @FARLIE4_7039
if 
  not Char.IsInAnyCar(151@)
goto_if_false @FARLIE4_7032
if 
  Blip.DoesExist(169@)
goto_if_false @FARLIE4_7032
Blip.Remove(169@)

:FARLIE4_7032
goto @FARLIE4_7060

:FARLIE4_7039
if 
  Blip.DoesExist(169@)
goto_if_false @FARLIE4_7060
Blip.Remove(169@)

:FARLIE4_7060
if 
  not Char.IsDead(153@)
goto_if_false @FARLIE4_7120
if 
  not Char.IsInAnyCar(153@)
goto_if_false @FARLIE4_7113
if 
  Blip.DoesExist(170@)
goto_if_false @FARLIE4_7113
Blip.Remove(170@)

:FARLIE4_7113
goto @FARLIE4_7141

:FARLIE4_7120
if 
  Blip.DoesExist(170@)
goto_if_false @FARLIE4_7141
Blip.Remove(170@)

:FARLIE4_7141
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_7507
36@ = 0

:FARLIE4_7164
if 
  not Char.IsDead(119@(36@,10i))
goto_if_false @FARLIE4_7226
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 119@(36@,10i), 10.0, 10.0, False)
goto_if_false @FARLIE4_7226
gosub @FARLIE4_8976

:FARLIE4_7226
if 
  not Char.IsDead(99@(36@,10i))
goto_if_false @FARLIE4_7288
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 99@(36@,10i), 10.0, 10.0, False)
goto_if_false @FARLIE4_7288
gosub @FARLIE4_8976

:FARLIE4_7288
36@ += 1
  36@ >= 4
goto_if_false @FARLIE4_7164
36@ = 0

:FARLIE4_7316
if 
  not Char.IsDead(69@(36@,10i))
goto_if_false @FARLIE4_7378
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 69@(36@,10i), 10.0, 10.0, False)
goto_if_false @FARLIE4_7378
gosub @FARLIE4_8976

:FARLIE4_7378
36@ += 1
  36@ >= 2
goto_if_false @FARLIE4_7316
if 
  not Char.IsDead(44@)
goto_if_false @FARLIE4_7453
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 44@, 10.0, 10.0, False)
goto_if_false @FARLIE4_7453
gosub @FARLIE4_8976

:FARLIE4_7453
if 
  not Char.IsDead(45@)
goto_if_false @FARLIE4_7507
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 45@, 10.0, 10.0, False)
goto_if_false @FARLIE4_7507
gosub @FARLIE4_8976

:FARLIE4_7507
if 
  not Car.IsDead(34@)
goto_if_false @FARLIE4_7837
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @FARLIE4_7837
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1742.273, 1422.631, 6.1842, 4.0, 4.0, 4.0, True)
goto_if_false @FARLIE4_7837
Player.SetControl($statbike_temp, False)
gosub @FARLIE4_8286
if 
  not Car.IsDead(109@)
goto_if_false @FARLIE4_7625
Car.Delete(109@)

:FARLIE4_7625
if 
  not Car.IsDead(110@)
goto_if_false @FARLIE4_7646
Car.Delete(110@)

:FARLIE4_7646
if 
  not Car.IsDead(111@)
goto_if_false @FARLIE4_7667
Car.Delete(111@)

:FARLIE4_7667
if 
  not Car.IsDead(162@)
goto_if_false @FARLIE4_7688
Car.Delete(162@)

:FARLIE4_7688
if 
  not Car.IsDead(163@)
goto_if_false @FARLIE4_7709
Car.Delete(163@)

:FARLIE4_7709
if 
  not Car.IsDead(164@)
goto_if_false @FARLIE4_7730
Car.Delete(164@)

:FARLIE4_7730
if 
  not Car.IsDead(165@)
goto_if_false @FARLIE4_7751
Car.Delete(165@)

:FARLIE4_7751
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_7797
Char.WarpFromCarToCoord($stattreadstamina_ctr, -1741.706, 1425.384, 6.1842)
Char.SetHeading($stattreadstamina_ctr, 179.2136)

:FARLIE4_7797
Hud.ClearCounter($d6_player_reached_second_creation_pt)
Car.Delete(34@)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
wait 2000
gosub @FARLIE4_8319
goto @FARLIE4_8013

:FARLIE4_7837
goto @FARLIE4_1806

:FARLIE4_7844
goto @FARLIE4_7851

:FARLIE4_7851
if 
  Blip.DoesExist(37@)
goto_if_false @FARLIE4_7872
Blip.Remove(37@)

:FARLIE4_7872
if 
  Blip.DoesExist(35@)
goto_if_false @FARLIE4_7893
Blip.Remove(35@)

:FARLIE4_7893
if 
  Blip.DoesExist(129@)
goto_if_false @FARLIE4_7914
Blip.Remove(129@)

:FARLIE4_7914
if 
  Blip.DoesExist(130@)
goto_if_false @FARLIE4_7935
Blip.Remove(130@)

:FARLIE4_7935
if 
  Blip.DoesExist(131@)
goto_if_false @FARLIE4_7956
Blip.Remove(131@)

:FARLIE4_7956
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if and
  Car.IsDead(34@)
  141@ == 1
goto_if_false @FARLIE4_8011
Text.PrintNow('F4_F', 4000, 1)

:FARLIE4_8011
return 

:FARLIE4_8013
$garageX += 1
if 
  Blip.DoesExist(37@)
goto_if_false @FARLIE4_8041
Blip.Remove(37@)

:FARLIE4_8041
if 
  Blip.DoesExist(35@)
goto_if_false @FARLIE4_8062
Blip.Remove(35@)

:FARLIE4_8062
Stat.RegisterMissionPassed('FAR_4')
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(1)
Text.PrintWithNumberBig('M_PASSS', 6000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 6000)
Stat.AwardPlayerMissionRespect(15)
Player.ClearWantedLevel($statbike_temp)
if 
  Blip.DoesExist(129@)
goto_if_false @FARLIE4_8138
Blip.Remove(129@)

:FARLIE4_8138
if 
  Blip.DoesExist(130@)
goto_if_false @FARLIE4_8159
Blip.Remove(130@)

:FARLIE4_8159
if 
  Blip.DoesExist(131@)
goto_if_false @FARLIE4_8180
Blip.Remove(131@)

:FARLIE4_8180
if 
  not Car.IsDead(109@)
goto_if_false @FARLIE4_8201
Car.Delete(109@)

:FARLIE4_8201
if 
  not Car.IsDead(110@)
goto_if_false @FARLIE4_8222
Car.Delete(110@)

:FARLIE4_8222
if 
  not Car.IsDead(111@)
goto_if_false @FARLIE4_8243
Car.Delete(111@)

:FARLIE4_8243
gosub @FARLIE4_8319
return 

:FARLIE4_8252
Text.ClearPrints
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
return 

:FARLIE4_8267
Text.ClearPrints
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
return 

:FARLIE4_8286
Camera.DoFade(500, Fade.Out)

:FARLIE4_8293
if 
  Camera.GetFadingStatus
goto_if_false @FARLIE4_8317
wait 0
goto @FARLIE4_8293

:FARLIE4_8317
return 

:FARLIE4_8319
Camera.DoFade(500, Fade.In)

:FARLIE4_8326
if 
  Camera.GetFadingStatus
goto_if_false @FARLIE4_8350
wait 0
goto @FARLIE4_8326

:FARLIE4_8350
return 

:FARLIE4_8352
$weapon_shop1_blip = 0
Hud.ClearCounter($d6_player_reached_second_creation_pt)
Path.SwitchRoadsBackToOriginal(-1478.294, -65.4014, 0.0, -1395.423, 2.7054, 10.0)
Streaming.MarkModelAsNoLongerNeeded(121)
Streaming.MarkModelAsNoLongerNeeded(122)
Streaming.MarkModelAsNoLongerNeeded(521)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(414)
Streaming.MarkModelAsNoLongerNeeded(475)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(410)
Streaming.MarkModelAsNoLongerNeeded(543)
$flag_courier_mission_passed = Clock.GetGameTimer()
if 
  Blip.DoesExist(37@)
goto_if_false @FARLIE4_8465
Blip.Remove(37@)

:FARLIE4_8465
if 
  Blip.DoesExist(35@)
goto_if_false @FARLIE4_8486
Blip.Remove(35@)

:FARLIE4_8486
if 
  Blip.DoesExist(41@)
goto_if_false @FARLIE4_8507
Blip.Remove(41@)

:FARLIE4_8507
if 
  Blip.DoesExist(129@)
goto_if_false @FARLIE4_8528
Blip.Remove(129@)

:FARLIE4_8528
if 
  Blip.DoesExist(130@)
goto_if_false @FARLIE4_8549
Blip.Remove(130@)

:FARLIE4_8549
if 
  Blip.DoesExist(131@)
goto_if_false @FARLIE4_8570
Blip.Remove(131@)

:FARLIE4_8570
if 
  Blip.DoesExist(167@)
goto_if_false @FARLIE4_8591
Blip.Remove(167@)

:FARLIE4_8591
if 
  Blip.DoesExist(168@)
goto_if_false @FARLIE4_8612
Blip.Remove(168@)

:FARLIE4_8612
if 
  Blip.DoesExist(169@)
goto_if_false @FARLIE4_8633
Blip.Remove(169@)

:FARLIE4_8633
if 
  Blip.DoesExist(170@)
goto_if_false @FARLIE4_8654
Blip.Remove(170@)

:FARLIE4_8654
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_8740
if and
  Garage.IsOpen('FDORSFE')
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, -2161.628, 654.652, 51.3706, 10.0, 10.0, 10.0, False)
goto_if_false @FARLIE4_8740
Garage.Close('FDORSFE')

:FARLIE4_8740
Mission.Finish
return 

:FARLIE4_8744
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @FARLIE4_8805
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_8805
Char.SetCoordinates($stattreadstamina_ctr, -1403.283, -395.7443, 11.0)
Char.SetHeading($stattreadstamina_ctr, 343.9661)

:FARLIE4_8805
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @FARLIE4_8849
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @FARLIE4_8849
186@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.PopBoot(186@)

:FARLIE4_8849
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @FARLIE4_8871
goto @FARLIE4_1046

:FARLIE4_8871
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @FARLIE4_8907
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_8907
Task.Die($stattreadstamina_ctr)

:FARLIE4_8907
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @FARLIE4_8952
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FARLIE4_8952
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:FARLIE4_8952
if 
is_ps2_keyboard_key_just_pressed 90
goto_if_false @FARLIE4_8974
goto @FARLIE4_1195

:FARLIE4_8974
return 

:FARLIE4_8976
if 
  TIMERB > 15000
goto_if_false @FARLIE4_9512
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @FARLIE4_9512
switch_start $d6_player_reached_first_creation_pt {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @FARLIE4_9480 {caseNum1} 0 {caseLabel1} @FARLIE4_9136 {caseNum2} 1 {caseLabel2} @FARLIE4_9179 {caseNum3} 2 {caseLabel3} @FARLIE4_9222 {caseNum4} 3 {caseLabel4} @FARLIE4_9265 {caseNum5} 4 {caseLabel5} @FARLIE4_9308 {caseNum6} 5 {caseLabel6} @FARLIE4_9351 {caseNum7} 6 {caseLabel7} @FARLIE4_9394
switch_continued 7 {caseLabel1} @FARLIE4_9437 {caseNum2} -1 {caseLabel2} @FARLIE4_9480 {caseNum3} -1 {caseLabel3} @FARLIE4_9480 {caseNum4} -1 {caseLabel4} @FARLIE4_9480 {caseNum5} -1 {caseLabel5} @FARLIE4_9480 {caseNum6} -1 {caseLabel6} @FARLIE4_9480 {caseNum7} -1 {caseLabel7} @FARLIE4_9480 {caseNum8} -1 {caseLabel8} @FARLIE4_9480 {caseNum9} -1 {caseLabel9} @FARLIE4_9480

:FARLIE4_9136
set_lvar_text_label 177@s = 'FAR4_AA'
set_lvar_int_to_constant 139@ = 15400
gosub @FARLIE4_9514
TIMERB = 0
goto @FARLIE4_9480

:FARLIE4_9179
set_lvar_text_label 177@s = 'FAR4_AB'
set_lvar_int_to_constant 139@ = 15401
gosub @FARLIE4_9514
TIMERB = 0
goto @FARLIE4_9480

:FARLIE4_9222
set_lvar_text_label 177@s = 'FAR4_AC'
set_lvar_int_to_constant 139@ = 15402
gosub @FARLIE4_9514
TIMERB = 0
goto @FARLIE4_9480

:FARLIE4_9265
set_lvar_text_label 177@s = 'FAR4_AD'
set_lvar_int_to_constant 139@ = 15403
gosub @FARLIE4_9514
TIMERB = 0
goto @FARLIE4_9480

:FARLIE4_9308
set_lvar_text_label 177@s = 'FAR4_AE'
set_lvar_int_to_constant 139@ = 15404
gosub @FARLIE4_9514
TIMERB = 0
goto @FARLIE4_9480

:FARLIE4_9351
set_lvar_text_label 177@s = 'FAR4_AG'
set_lvar_int_to_constant 139@ = 15406
gosub @FARLIE4_9514
TIMERB = 0
goto @FARLIE4_9480

:FARLIE4_9394
set_lvar_text_label 177@s = 'FAR4_AH'
set_lvar_int_to_constant 139@ = 15407
gosub @FARLIE4_9514
TIMERB = 0
goto @FARLIE4_9480

:FARLIE4_9437
set_lvar_text_label 177@s = 'FAR4_AJ'
set_lvar_int_to_constant 139@ = 15408
gosub @FARLIE4_9514
TIMERB = 0
goto @FARLIE4_9480

:FARLIE4_9480
$d6_player_reached_first_creation_pt += 1
if 
  $d6_player_reached_first_creation_pt == 8
goto_if_false @FARLIE4_9512
$d6_player_reached_first_creation_pt = 0

:FARLIE4_9512
return 

:FARLIE4_9514
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 139@)
140@ = 0
return 

:FARLIE4_9534
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  140@ == 0
goto_if_false @FARLIE4_9577
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(177@s, 10000, 1)
140@ = 1

:FARLIE4_9577
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  140@ == 1
goto_if_false @FARLIE4_9615
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(177@s)
140@ = 2

:FARLIE4_9615
return 

//-------------Mission 55---------------
// Originally: Lure

:DRIV6
script_name 'DRIV6'
gosub @DRIV6_47
if 
  has_deatharrest_been_executed 
goto_if_false @DRIV6_38
gosub @DRIV6_12763

:DRIV6_38
gosub @DRIV6_12845
terminate_this_script 

:DRIV6_47
Stat.RegisterMissionGiven
Text.LoadMissionText('FARLIE5')
$weapon_shop1_blip = 1
wait 0
35@ = -1957.67
36@ = -2443.7
37@ = 30.83
38@ = -1571.4
39@ = -2742.09
40@ = 47.57
49@ = 0
50@ = 14
104@ = 0

:DRIV6_152
if 
  is_int_lvar_greater_than_int_lvar 50@ > 104@
goto_if_false @DRIV6_273
140@(104@,14i) = 0
154@(104@,14i) = 0
168@(104@,14i) = 0
182@(104@,14i) = 0
196@(104@,14i) = 0
210@(104@,14i) = 0
224@(104@,14i) = 0
238@(104@,14i) = 0
104@ += 1
goto @DRIV6_152

:DRIV6_273
137@ = 0
138@ = 0
139@ = 0
$d6_player_reached_fifth_creation_pt = 0
$d6_player_reached_sixth_creation_pt = 0
253@ = 0
$pointer_W2 = 0
$pointer2_W2 = 0
254@ = 0
255@ = 0
$pointer3_W2 = 0
$pointer4_W2 = 0
98@ = 0
252@ = 0
256@ = 0
257@ = 0
260@ = 0
261@ = 0
131@ = 0
132@ = 0
134@ = 0
136@ = 0
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:DRIV6_442
if 
  Camera.GetFadingStatus
goto_if_false @DRIV6_466
wait 0
goto @DRIV6_442

:DRIV6_466
Streaming.SetAreaVisible(1)
Cutscene.Load('FARL_5A')

:DRIV6_481
if 
  not Cutscene.HasLoaded
goto_if_false @DRIV6_505
wait 0
goto @DRIV6_481

:DRIV6_505
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DRIV6_514
if 
  not Cutscene.HasFinished
goto_if_false @DRIV6_538
wait 0
goto @DRIV6_514

:DRIV6_538
Camera.DoFade(0, Fade.Out)

:DRIV6_544
if 
  Camera.GetFadingStatus
goto_if_false @DRIV6_568
wait 0
goto @DRIV6_544

:DRIV6_568
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Streaming.SetAreaVisible(0)
if 
  136@ == 1
goto_if_false @DRIV6_727
34@ = Car.Create(489, 0.0, 0.0, -100.0)
104@ = 0

:DRIV6_629
if 
  is_int_lvar_greater_than_int_lvar 50@ > 104@
goto_if_false @DRIV6_727
52@(104@,14i) = Car.Create(468, 94@, 95@, -100.0)
66@(104@,14i) = Char.CreateInsideCar(52@(104@,14i), PedType.Mission1, 123)
80@(104@,14i) = Char.CreateAsPassenger(52@(104@,14i), PedType.Mission1, 122, 0)
104@ += 1
goto @DRIV6_629

:DRIV6_727
Streaming.RequestModel(468)
Streaming.RequestModel(123)
Streaming.RequestModel(122)
Streaming.RequestModel(353)

:DRIV6_745
if or
  not Streaming.HasModelLoaded(468)
  not Streaming.HasModelLoaded(123)
  not Streaming.HasModelLoaded(122)
  not Streaming.HasModelLoaded(353)
goto_if_false @DRIV6_785
wait 0
goto @DRIV6_745

:DRIV6_785
CarGenerator.Switch($game_timer_wil, 0)
CarGenerator.Switch($stored_shop_time, 0)
CarGenerator.Switch($tell_player_to_kill_valet, 0)
Char.SetCoordinates($stattreadstamina_ctr, -2154.2, 645.31, 51.39)
Char.SetHeading($stattreadstamina_ctr, 270.0)
gosub @DRIV6_4442
262@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(262@, True)
Camera.SetFadingColor(0, 0, 0)
wait 500
Camera.DoFade(1500, Fade.In)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.PrintNow('DRV6_8', 10000, 0)

:DRIV6_905
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DRIV6_931
goto @DRIV6_12781

:DRIV6_931
if 
  137@ <> 1
goto_if_false @DRIV6_1088
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_1088
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @DRIV6_1088
Blip.Remove(262@)
137@ = 1
263@ = Blip.AddForCoord(-1963.84, -2441.49, 30.78)
Text.PrintNow('DRV6_19', 10000, 0)
Text.Print('DRV6_17', 7000, 0)
if 
  $iTerminateDanceMiniGame == 1
goto_if_false @DRIV6_1088
Skip.SetUp(-1990.65, -2428.65, 30.77, 225.0)

:DRIV6_1088
if and
  137@ == 1
  139@ <> 1
goto_if_false @DRIV6_1498
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_1498
if and
  138@ <> 1
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1990.65, -2428.65, 50.0, 50.0, False)
goto_if_false @DRIV6_1192
Text.ClearThisPrint('DRV6_19')
138@ = 1

:DRIV6_1192
if and
  $iTerminateDanceMiniGame <> 1
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1963.84, -2441.49, 25.0, 25.0, False)
goto_if_false @DRIV6_1244
$iTerminateDanceMiniGame = 1

:DRIV6_1244
if 
  Char.LocateInCar3D($stattreadstamina_ctr, -1963.84, -2441.49, 30.78, 4.0, 4.0, 2.0, True)
goto_if_false @DRIV6_1498
Player.SetControl($statbike_temp, False)
Skip.Clear
Blip.Remove(263@)
gosub @DRIV6_4788
264@ = Blip.AddForCoord(-1867.14, -2442.39, 31.24)
Blip.ChangeColor(264@, BlipColor.Red)
41@ = Checkpoint.Create(CheckpointType.TubeArrow, -1867.14, -2442.39, 31.24, -1178.32, -2638.85, 10.8, 4.0)
Hud.DisplayCounterWithString($blood_attempt, CounterDisplay.Bar, 'DRV6_18')
100@ = 0
$blood_attempt = 100
Car.SetHealth(34@, 9000)
Text.PrintNow('DRV6_2', 10000, 0)
Text.Print('DRV6_17', 7000, 0)
Text.Print('DRV6_4', 10000, 0)
Text.Print('DRV6_15', 10000, 0)
139@ = 1
TIMERB = 0

:DRIV6_1498
if 
  139@ == 1
goto_if_false @DRIV6_3767
if 
  Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @DRIV6_1539
Player.ClearWantedLevel($statbike_temp)

:DRIV6_1539
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_3767
if and
  261@ <> 1
  TIMERB > 2000
goto_if_false @DRIV6_1681
if and
  not Char.IsDead(80@)
  not Char.IsDead(81@)
goto_if_false @DRIV6_1681
Task.DriveBy(80@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 999999.0, DriveByType.Ai, False, 60)
Task.DriveBy(81@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 999999.0, DriveByType.Ai, False, 60)
261@ = 1

:DRIV6_1681
if 
  Car.IsUpsidedown(34@)
goto_if_false @DRIV6_1744
if 
  252@ == 1
goto_if_false @DRIV6_1737
Car.SetProofs(34@, False, False, False, False, False)
252@ = 0

:DRIV6_1737
goto @DRIV6_1784

:DRIV6_1744
if 
  252@ <> 1
goto_if_false @DRIV6_1784
Car.SetProofs(34@, False, True, True, True, True)
252@ = 1

:DRIV6_1784
gosub @DRIV6_7450
if 
  $pointer2_W2 <> 1
goto_if_false @DRIV6_1945
if 
  $d6_player_reached_fifth_creation_pt <> 1
goto_if_false @DRIV6_1886
if 
  Car.Locate2D(34@, -1181.93, -2642.33, 300.0, 300.0, False)
goto_if_false @DRIV6_1879
gosub @DRIV6_8721
$d6_player_reached_fifth_creation_pt = 1

:DRIV6_1879
goto @DRIV6_1938

:DRIV6_1886
if 
  not Car.Locate2D(34@, -1181.93, -2642.33, 300.0, 300.0, False)
goto_if_false @DRIV6_1938
gosub @DRIV6_8888
$d6_player_reached_fifth_creation_pt = 0

:DRIV6_1938
goto @DRIV6_1970

:DRIV6_1945
if 
  $d6_player_reached_fifth_creation_pt == 1
goto_if_false @DRIV6_1970
$d6_player_reached_fifth_creation_pt = 0

:DRIV6_1970
if 
  $pointer3_W2 == 1
goto_if_false @DRIV6_2124
if 
  $d6_player_reached_sixth_creation_pt <> 1
goto_if_false @DRIV6_2065
if 
  Car.Locate2D(34@, -519.74, -2782.11, 214.0, 214.0, False)
goto_if_false @DRIV6_2058
gosub @DRIV6_8721
$d6_player_reached_sixth_creation_pt = 1

:DRIV6_2058
goto @DRIV6_2117

:DRIV6_2065
if 
  not Car.Locate2D(34@, -519.74, -2782.11, 214.0, 214.0, False)
goto_if_false @DRIV6_2117
gosub @DRIV6_8888
$d6_player_reached_sixth_creation_pt = 0

:DRIV6_2117
goto @DRIV6_2149

:DRIV6_2124
if 
  $d6_player_reached_sixth_creation_pt == 1
goto_if_false @DRIV6_2149
$d6_player_reached_sixth_creation_pt = 0

:DRIV6_2149
if 
  253@ <> 1
goto_if_false @DRIV6_2301
if 
  Car.Locate3D(34@, -1867.14, -2442.39, 31.24, 6.0, 6.0, 3.0, False)
goto_if_false @DRIV6_2301
Blip.Remove(264@)
Checkpoint.Delete(41@)
253@ = 1
264@ = Blip.AddForCoord(-1178.32, -2638.85, 10.8)
Blip.ChangeColor(264@, BlipColor.Red)
41@ = Checkpoint.Create(CheckpointType.TubeArrow, -1178.32, -2638.85, 10.8, -654.95, -2469.35, 33.3, 4.0)

:DRIV6_2301
if and
  253@ == 1
  $pointer_W2 <> 1
goto_if_false @DRIV6_2467
if 
  Car.Locate3D(34@, -1178.32, -2638.85, 10.8, 6.0, 6.0, 3.0, False)
goto_if_false @DRIV6_2467
Blip.Remove(264@)
Checkpoint.Delete(41@)
gosub @DRIV6_5926
$pointer_W2 = 1
264@ = Blip.AddForCoord(-654.95, -2469.35, 33.3)
Blip.ChangeColor(264@, BlipColor.Red)
41@ = Checkpoint.Create(CheckpointType.TubeArrow, -654.95, -2469.35, 33.3, -309.54, -2248.81, 29.59, 4.0)

:DRIV6_2467
if and
  $pointer_W2 == 1
  $pointer2_W2 <> 1
goto_if_false @DRIV6_2633
if 
  Car.Locate3D(34@, -654.95, -2469.35, 33.3, 6.0, 6.0, 3.0, False)
goto_if_false @DRIV6_2633
Blip.Remove(264@)
Checkpoint.Delete(41@)
gosub @DRIV6_5926
$pointer2_W2 = 1
264@ = Blip.AddForCoord(-309.54, -2248.81, 29.59)
Blip.ChangeColor(264@, BlipColor.Red)
41@ = Checkpoint.Create(CheckpointType.TubeArrow, -309.54, -2248.81, 29.59, -165.7, -2421.71, 35.1, 4.0)

:DRIV6_2633
if and
  $pointer2_W2 == 1
  254@ <> 1
goto_if_false @DRIV6_2799
if 
  Car.Locate3D(34@, -309.54, -2248.81, 29.59, 6.0, 6.0, 3.0, False)
goto_if_false @DRIV6_2799
Blip.Remove(264@)
Checkpoint.Delete(41@)
gosub @DRIV6_5926
254@ = 1
264@ = Blip.AddForCoord(-165.7, -2421.71, 35.1)
Blip.ChangeColor(264@, BlipColor.Red)
41@ = Checkpoint.Create(CheckpointType.TubeArrow, -165.7, -2421.71, 35.1, -191.26, -2822.52, 42.09, 4.0)

:DRIV6_2799
if and
  254@ == 1
  255@ <> 1
goto_if_false @DRIV6_2965
if 
  Car.Locate3D(34@, -165.7, -2421.71, 35.1, 6.0, 6.0, 3.0, False)
goto_if_false @DRIV6_2965
Blip.Remove(264@)
Checkpoint.Delete(41@)
gosub @DRIV6_5926
255@ = 1
264@ = Blip.AddForCoord(-191.26, -2822.52, 42.09)
Blip.ChangeColor(264@, BlipColor.Red)
41@ = Checkpoint.Create(CheckpointType.TubeArrow, -191.26, -2822.52, 42.09, -946.91, -2844.84, 67.36, 4.0)

:DRIV6_2965
if and
  255@ == 1
  $pointer3_W2 <> 1
goto_if_false @DRIV6_3125
if 
  Car.Locate3D(34@, -191.26, -2822.52, 42.09, 6.0, 6.0, 3.0, False)
goto_if_false @DRIV6_3125
Blip.Remove(264@)
Checkpoint.Delete(41@)
gosub @DRIV6_5926
$pointer3_W2 = 1
264@ = Blip.AddForCoord(-946.91, -2844.84, 67.36)
Blip.ChangeColor(264@, BlipColor.Red)
41@ = Checkpoint.Create(CheckpointType.TubeArrow, -946.91, -2844.84, 67.36, 38@, 39@, 40@, 4.0)

:DRIV6_3125
if and
  $pointer3_W2 == 1
  $pointer4_W2 <> 1
goto_if_false @DRIV6_3279
if 
  Car.Locate3D(34@, -946.91, -2844.84, 67.36, 6.0, 6.0, 3.0, False)
goto_if_false @DRIV6_3279
Blip.Remove(264@)
Checkpoint.Delete(41@)
gosub @DRIV6_5926
$pointer4_W2 = 1
265@ = Blip.AddForCoord(38@, 39@, 40@)
Blip.ChangeColor(265@, BlipColor.Red)
41@ = Checkpoint.Create(CheckpointType.Tube, 38@, 39@, 40@, 0.0, 0.0, 0.0, 4.0)

:DRIV6_3279
if 
  100 > 100@
goto_if_false @DRIV6_3350
99@ = Car.GetHealth(34@)
set_lvar_int_to_lvar_int 100@ = 99@
100@ -= 3000
100@ /= 60
set_var_int_to_lvar_int $blood_attempt = 100@
100@ *= -1
100@ += 100

:DRIV6_3350
if 
  45 >= 100@
goto_if_false @DRIV6_3439
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @DRIV6_3411
Car.OpenDoorABit(34@, CarDoor.LeftFrontDoor, 0.0)
Car.OpenDoorABit(34@, CarDoor.RightFrontDoor, 0.0)

:DRIV6_3411
Car.ControlDoor(34@, CarDoor.LeftFrontDoor, 0, 0.0)
Car.ControlDoor(34@, CarDoor.RightFrontDoor, 0, 0.0)

:DRIV6_3439
if and
  100@ > 45
  80 >= 100@
goto_if_false @DRIV6_3535
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @DRIV6_3507
Car.OpenDoorABit(34@, CarDoor.LeftFrontDoor, 0.0)
Car.OpenDoorABit(34@, CarDoor.RightFrontDoor, 0.0)

:DRIV6_3507
Car.ControlDoor(34@, CarDoor.LeftFrontDoor, 2, 0.0)
Car.ControlDoor(34@, CarDoor.RightFrontDoor, 2, 0.0)

:DRIV6_3535
if and
  100@ > 80
  100 > 100@
goto_if_false @DRIV6_3588
Car.ControlDoor(34@, CarDoor.LeftFrontDoor, 3, -1.0)
Car.ControlDoor(34@, CarDoor.RightFrontDoor, 3, -1.0)

:DRIV6_3588
if 
  100@ >= 100
goto_if_false @DRIV6_3634
Car.ControlDoor(34@, CarDoor.LeftFrontDoor, 4, -1.0)
Car.ControlDoor(34@, CarDoor.RightFrontDoor, 4, -1.0)

:DRIV6_3634
if and
  100@ > 80
  256@ <> 1
goto_if_false @DRIV6_3682
Text.PrintNow('DRV6_6', 7000, 0)
256@ = 1

:DRIV6_3682
if and
  100@ >= 100
  257@ <> 1
goto_if_false @DRIV6_3742
Hud.ClearCounter($blood_attempt)
Text.PrintNow('DRV6_16', 5000, 0)
TIMERA = 0
257@ = 1

:DRIV6_3742
if 
  257@ == 1
goto_if_false @DRIV6_3767
gosub @DRIV6_9159

:DRIV6_3767
if 
  137@ <> 1
goto_if_false @DRIV6_3826
if 
  Car.IsDead(34@)
goto_if_false @DRIV6_3826
Text.ClearPrints
Text.PrintNow('DRV6_11', 5000, 0)
goto @DRIV6_12763

:DRIV6_3826
if 
  137@ == 1
goto_if_false @DRIV6_4181
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV6_4181
if 
  139@ == 1
goto_if_false @DRIV6_4156
gosub @DRIV6_9768
266@ = 0
104@ = 0

:DRIV6_3899
if and
  is_int_lvar_greater_than_int_lvar 49@ > 104@
  266@ <> 1
goto_if_false @DRIV6_4073
if 
  not Char.IsDead(66@(104@,14i))
goto_if_false @DRIV6_3992
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 66@(104@,14i), 20.0, 20.0, 20.0, False)
goto_if_false @DRIV6_3992
266@ = 1

:DRIV6_3992
if 
  not Char.IsDead(80@(104@,14i))
goto_if_false @DRIV6_4059
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 80@(104@,14i), 20.0, 20.0, 20.0, False)
goto_if_false @DRIV6_4059
266@ = 1

:DRIV6_4059
104@ += 1
goto @DRIV6_3899

:DRIV6_4073
if 
  266@ == 1
goto_if_false @DRIV6_4149
135@ = 0
gosub @DRIV6_12213
132@ = 1

:DRIV6_4112
if 
  is_int_lvar_greater_than_int_lvar 133@ > 132@
goto_if_false @DRIV6_4149
wait 0
gosub @DRIV6_12532
goto @DRIV6_4112

:DRIV6_4149
gosub @DRIV6_9452

:DRIV6_4156
Text.ClearPrints
Text.PrintNow('DRV6_7', 5000, 0)
goto @DRIV6_12763

:DRIV6_4181
if 
  139@ == 1
goto_if_false @DRIV6_4435
if and
  257@ == 1
  TIMERA > 10000
goto_if_false @DRIV6_4344
135@ = 0
gosub @DRIV6_12213

:DRIV6_4239
if 
  1 > 132@
goto_if_false @DRIV6_4275
wait 0
gosub @DRIV6_12532
goto @DRIV6_4239

:DRIV6_4275
if 
  is_int_lvar_greater_than_int_lvar 133@ > 132@
goto_if_false @DRIV6_4312
wait 0
gosub @DRIV6_12532
goto @DRIV6_4275

:DRIV6_4312
gosub @DRIV6_9452
Text.ClearPrints
Text.PrintNow('DRV6_7', 5000, 0)
goto @DRIV6_12763

:DRIV6_4344
if 
  $pointer4_W2 == 1
goto_if_false @DRIV6_4435
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 38@, 39@, 40@, 6.0, 6.0, 3.0, True)
goto_if_false @DRIV6_4435
Player.SetControl($statbike_temp, False)
Blip.Remove(265@)
Checkpoint.Delete(41@)
gosub @DRIV6_10195
goto @DRIV6_12781

:DRIV6_4435
goto @DRIV6_905

:DRIV6_4442
Streaming.RequestModel(489)

:DRIV6_4447
if 
  not Streaming.HasModelLoaded(489)
goto_if_false @DRIV6_4474
wait 0
goto @DRIV6_4447

:DRIV6_4474
World.ClearArea(-2149.95, 644.31, 52.35, 100.0, False)
34@ = Car.Create(489, -2149.95, 644.31, 52.35)
Car.SetHeading(34@, 180.0)
Car.SetStrong(34@, True)
Car.SetCanBurstTires(34@, False)
Car.SetHealth(34@, 9000)
Car.SetCanBeVisiblyDamaged(34@, False)
return 

:DRIV6_4562
52@ = Car.Create(468, -2015.66, -2408.82, 30.28)
Car.SetHeading(52@, 229.35)
53@ = Car.Create(468, -2017.07, -2410.37, 30.3)
Car.SetHeading(53@, 225.81)
104@ = 0

:DRIV6_4635
if 
  2 > 104@
goto_if_false @DRIV6_4779
66@(104@,14i) = Char.CreateInsideCar(52@(104@,14i), PedType.Mission1, 123)
80@(104@,14i) = Char.CreateAsPassenger(52@(104@,14i), PedType.Mission1, 122, 0)
Char.GiveWeapon(80@(104@,14i), WeaponType.Mp5, 99999)
Car.SetOnlyDamagedByPlayer(52@(104@,14i), True)
Car.SetTraction(52@(104@,14i), 2.0)
Char.SetCanBeKnockedOffBike(66@(104@,14i), 2)
Char.SetCanBeKnockedOffBike(80@(104@,14i), 2)
49@ += 1
104@ += 1
goto @DRIV6_4635

:DRIV6_4779
98@ += 1
return 

:DRIV6_4788
Camera.DoFade(1000, Fade.Out)

:DRIV6_4795
if 
  Camera.GetFadingStatus
goto_if_false @DRIV6_4819
wait 0
goto @DRIV6_4795

:DRIV6_4819
World.ClearArea(35@, 36@, 37@, 300.0, False)
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_4890
Car.SetCoordinates(34@, 35@, 36@, 37@)
Car.SetHeading(34@, 241.85)

:DRIV6_4890
gosub @DRIV6_4562
Camera.SetFixedPosition(-1955.92, -2447.69, 30.78, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1962.83, -2441.79, 30.44, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:DRIV6_4955
if 
  Camera.GetFadingStatus
goto_if_false @DRIV6_4979
wait 0
goto @DRIV6_4955

:DRIV6_4979
259@ = 1
skip_cutscene_start_internal @DRIV6_5561
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_5119
if and
  not Char.IsDead(66@)
  not Car.IsDead(52@)
goto_if_false @DRIV6_5064
Task.CarDriveToCoord(66@, 52@, -1977.97, -2435.05, 30.3, 30.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)

:DRIV6_5064
if and
  not Char.IsDead(67@)
  not Car.IsDead(53@)
goto_if_false @DRIV6_5119
Task.CarDriveToCoord(67@, 53@, -1979.45, -2437.47, 30.3, 30.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)

:DRIV6_5119
TIMERB = 0

:DRIV6_5126
if 
  2500 > TIMERB
goto_if_false @DRIV6_5156
wait 0
goto @DRIV6_5126

:DRIV6_5156
if 
  not Car.IsDead(52@)
goto_if_false @DRIV6_5223
Camera.SetFixedPosition(-1989.91, -2435.33, 30.68, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1987.22, -2436.07, 30.82, SwitchType.JumpCut)

:DRIV6_5223
if 
  not Car.IsDead(52@)
goto_if_false @DRIV6_5269
Car.SetCoordinates(52@, -1985.6, -2435.14, 30.3)
Car.SetHeading(52@, 254.67)

:DRIV6_5269
if 
  not Car.IsDead(53@)
goto_if_false @DRIV6_5315
Car.SetCoordinates(53@, -1986.37, -2437.8, 30.3)
Car.SetHeading(53@, 250.82)

:DRIV6_5315
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_5439
if and
  not Char.IsDead(66@)
  not Char.IsDead(80@)
  not Car.IsDead(52@)
goto_if_false @DRIV6_5385
Car.SetStraightLineDistance(52@, 250)
Task.CarMission(66@, 52@, 34@, CarMission.EscortLeft, 10.0, DrivingMode.AvoidCars)

:DRIV6_5385
if and
  not Char.IsDead(67@)
  not Char.IsDead(81@)
  not Car.IsDead(53@)
goto_if_false @DRIV6_5439
Car.SetStraightLineDistance(53@, 250)
Task.CarMission(67@, 53@, 34@, CarMission.EscortRight, 10.0, DrivingMode.AvoidCars)

:DRIV6_5439
if and
  260@ <> 1
  not Char.IsDead(66@)
  not Car.IsDead(52@)
  not Car.IsDead(34@)
goto_if_false @DRIV6_5554
if 
  Char.IsInCar(66@, 52@)
goto_if_false @DRIV6_5536
if 
  Char.LocateInCarCar2D(66@, 34@, 15.0, 15.0, False)
goto_if_false @DRIV6_5529
260@ = 1

:DRIV6_5529
goto @DRIV6_5543

:DRIV6_5536
260@ = 1

:DRIV6_5543
wait 0
goto @DRIV6_5439

:DRIV6_5554
259@ = 0

:DRIV6_5561
skip_cutscene_end 
if 
  259@ == 1
goto_if_false @DRIV6_5755
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_5755
if and
  not Char.IsDead(66@)
  not Char.IsDead(80@)
  not Car.IsDead(52@)
goto_if_false @DRIV6_5676
94@, 95@, 96@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -1.0, -14.0, 0.0)
96@ = -100.0
Car.SetCoordinates(52@, 94@, 95@, 96@)

:DRIV6_5676
if and
  not Char.IsDead(67@)
  not Char.IsDead(81@)
  not Car.IsDead(53@)
goto_if_false @DRIV6_5755
94@, 95@, 96@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.0, -14.0, 0.0)
96@ = -100.0
Car.SetCoordinates(53@, 94@, 95@, 96@)

:DRIV6_5755
if 
  not Car.IsDead(52@)
goto_if_false @DRIV6_5778
Car.SetStraightLineDistance(52@, 20)

:DRIV6_5778
if 
  not Car.IsDead(53@)
goto_if_false @DRIV6_5801
Car.SetStraightLineDistance(53@, 20)

:DRIV6_5801
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_5909
if and
  not Char.IsDead(66@)
  not Char.IsDead(80@)
  not Car.IsDead(52@)
goto_if_false @DRIV6_5863
Task.CarMission(66@, 52@, 34@, CarMission.EscortLeft, 30.0, DrivingMode.AvoidCars)

:DRIV6_5863
if and
  not Char.IsDead(67@)
  not Char.IsDead(81@)
  not Car.IsDead(53@)
goto_if_false @DRIV6_5909
Task.CarMission(67@, 53@, 34@, CarMission.EscortRight, 30.0, DrivingMode.AvoidCars)

:DRIV6_5909
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
return 

:DRIV6_5926
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_7448
51@ = 0
104@ = 0

:DRIV6_5956
if 
  is_int_lvar_greater_than_int_lvar 49@ > 104@
goto_if_false @DRIV6_6085
if 
  not Car.IsDead(52@(104@,14i))
goto_if_false @DRIV6_6071
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 52@(104@,14i), 100.0, 100.0, False)
goto_if_false @DRIV6_6044
51@ += 1
goto @DRIV6_6071

:DRIV6_6044
Car.Delete(52@(104@,14i))
Char.Delete(66@(104@,14i))
Char.Delete(80@(104@,14i))

:DRIV6_6071
104@ += 1
goto @DRIV6_5956

:DRIV6_6085
if 
  51@ <= 2
goto_if_false @DRIV6_7448
set_lvar_int_to_lvar_int 104@ = 98@
104@ *= 2
set_lvar_int_to_lvar_int 105@ = 104@
105@ += 2
106@ = 0

:DRIV6_6140
if 
  is_int_lvar_greater_than_int_lvar 105@ > 104@
goto_if_false @DRIV6_7441
if and
  253@ == 1
  $pointer_W2 <> 1
goto_if_false @DRIV6_6300
if 
  106@ == 0
goto_if_false @DRIV6_6242
94@ = -1342.94
95@ = -2624.45
96@ = 19.58
97@ = 261.04

:DRIV6_6242
if 
  106@ == 1
goto_if_false @DRIV6_6300
94@ = -1344.02
95@ = -2628.07
96@ = 19.82
97@ = 260.5

:DRIV6_6300
if and
  $pointer_W2 == 1
  $pointer2_W2 <> 1
goto_if_false @DRIV6_6441
if 
  106@ == 0
goto_if_false @DRIV6_6383
94@ = -708.68
95@ = -2601.46
96@ = 69.83
97@ = 338.56

:DRIV6_6383
if 
  106@ == 1
goto_if_false @DRIV6_6441
94@ = -704.89
95@ = -2602.92
96@ = 69.9
97@ = 340.64

:DRIV6_6441
if and
  $pointer2_W2 == 1
  254@ <> 1
goto_if_false @DRIV6_6582
if 
  106@ == 0
goto_if_false @DRIV6_6524
94@ = -420.89
95@ = -2258.87
96@ = 47.37
97@ = 278.1

:DRIV6_6524
if 
  106@ == 1
goto_if_false @DRIV6_6582
94@ = -420.64
95@ = -2261.39
96@ = 47.79
97@ = 279.7

:DRIV6_6582
if and
  254@ == 1
  255@ <> 1
goto_if_false @DRIV6_6723
if 
  106@ == 0
goto_if_false @DRIV6_6665
94@ = -260.22
95@ = -2323.12
96@ = 30.42
97@ = 222.63

:DRIV6_6665
if 
  106@ == 1
goto_if_false @DRIV6_6723
94@ = -262.81
95@ = -2326.8
96@ = 30.43
97@ = 220.93

:DRIV6_6723
if and
  255@ == 1
  $pointer3_W2 <> 1
goto_if_false @DRIV6_6864
if 
  106@ == 0
goto_if_false @DRIV6_6806
94@ = -179.45
95@ = -2708.91
96@ = 35.82
97@ = 177.36

:DRIV6_6806
if 
  106@ == 1
goto_if_false @DRIV6_6864
94@ = -182.07
95@ = -2709.06
96@ = 35.77
97@ = 176.56

:DRIV6_6864
if and
  $pointer3_W2 == 1
  $pointer4_W2 <> 1
goto_if_false @DRIV6_7005
if 
  106@ == 0
goto_if_false @DRIV6_6947
94@ = -846.18
95@ = -2809.6
96@ = 70.32
97@ = 112.41

:DRIV6_6947
if 
  106@ == 1
goto_if_false @DRIV6_7005
94@ = -848.6
95@ = -2806.3
96@ = 70.29
97@ = 111.76

:DRIV6_7005
World.ClearArea(94@, 95@, 96@, 5.0, True)
52@(104@,14i) = Car.Create(468, 94@, 95@, 96@)
66@(104@,14i) = Char.CreateInsideCar(52@(104@,14i), PedType.Mission1, 123)
80@(104@,14i) = Char.CreateAsPassenger(52@(104@,14i), PedType.Mission1, 122, 0)
Car.SetHeading(52@(104@,14i), 97@)
Car.SetOnlyDamagedByPlayer(52@(104@,14i), True)
Car.SetTraction(52@(104@,14i), 2.0)
Char.SetCanBeKnockedOffBike(66@(104@,14i), 2)
Char.SetCanBeKnockedOffBike(80@(104@,14i), 2)
if or
  $d6_player_reached_fifth_creation_pt == 1
  $d6_player_reached_sixth_creation_pt == 1
goto_if_false @DRIV6_7205
Task.CarMission(66@(104@,14i), 52@(104@,14i), 34@, CarMission.EscortRear, 30.0, DrivingMode.AvoidCars)
goto @DRIV6_7297

:DRIV6_7205
if 
  106@ == 0
goto_if_false @DRIV6_7251
Task.CarMission(66@(104@,14i), 52@(104@,14i), 34@, CarMission.EscortLeft, 30.0, DrivingMode.AvoidCars)

:DRIV6_7251
if 
  106@ == 1
goto_if_false @DRIV6_7297
Task.CarMission(66@(104@,14i), 52@(104@,14i), 34@, CarMission.EscortRight, 30.0, DrivingMode.AvoidCars)

:DRIV6_7297
Char.GiveWeapon(80@(104@,14i), WeaponType.Mp5, 99999)
Task.DriveBy(80@(104@,14i), $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 999999.0, DriveByType.Ai, False, 60)
if and
  $pointer2_W2 == 1
  254@ <> 1
goto_if_false @DRIV6_7399
Car.SetForwardSpeed(52@(104@,14i), 30.0)
goto @DRIV6_7413

:DRIV6_7399
Car.SetForwardSpeed(52@(104@,14i), 70.0)

:DRIV6_7413
49@ += 1
104@ += 1
106@ += 1
goto @DRIV6_6140

:DRIV6_7441
98@ += 1

:DRIV6_7448
return 

:DRIV6_7450
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_8719
104@ = 0

:DRIV6_7473
if 
  is_int_lvar_greater_than_int_lvar 49@ > 104@
goto_if_false @DRIV6_8719
if 
  not Car.IsDead(52@(104@,14i))
goto_if_false @DRIV6_8705
if and
  Char.IsDead(66@(104@,14i))
  168@(104@,14i) <> 1
goto_if_false @DRIV6_7554
168@(104@,14i) = 1

:DRIV6_7554
if and
  Char.IsDead(80@(104@,14i))
  182@(104@,14i) <> 1
goto_if_false @DRIV6_7596
182@(104@,14i) = 1

:DRIV6_7596
if and
  not Char.IsDead(66@(104@,14i))
  182@(104@,14i) == 1
  196@(104@,14i) <> 1
goto_if_false @DRIV6_7688
Task.CarMission(66@(104@,14i), 52@(104@,14i), 34@, CarMission.BlockCarFaraway, 30.0, DrivingMode.AvoidCars)
224@(104@,14i) = 1
196@(104@,14i) = 1

:DRIV6_7688
if and
  not Char.IsDead(80@(104@,14i))
  168@(104@,14i) == 1
  210@(104@,14i) <> 1
goto_if_false @DRIV6_7850
if 
  Char.IsInCar(80@(104@,14i), 52@(104@,14i))
goto_if_false @DRIV6_7839
94@, 95@, 96@ = Car.GetCoordinates(52@(104@,14i))
Char.WarpFromCarToCoord(80@(104@,14i), 94@, 95@, -10.0)
Char.WarpIntoCar(80@(104@,14i), 52@(104@,14i))
Task.CarMission(80@(104@,14i), 52@(104@,14i), 34@, CarMission.BlockCarFaraway, 30.0, DrivingMode.AvoidCars)

:DRIV6_7839
210@(104@,14i) = 1

:DRIV6_7850
if and
  not Char.IsDead(66@(104@,14i))
  196@(104@,14i) == 1
goto_if_false @DRIV6_8009
if 
  not Char.IsInCar(66@(104@,14i), 52@(104@,14i))
goto_if_false @DRIV6_7976
if 
  224@(104@,14i) == 0
goto_if_false @DRIV6_7969
Task.CarMission(66@(104@,14i), 52@(104@,14i), 34@, CarMission.BlockCarFaraway, 30.0, DrivingMode.AvoidCars)
224@(104@,14i) = 1

:DRIV6_7969
goto @DRIV6_8009

:DRIV6_7976
if 
  224@(104@,14i) == 1
goto_if_false @DRIV6_8009
224@(104@,14i) = 0

:DRIV6_8009
if and
  not Char.IsDead(80@(104@,14i))
  210@(104@,14i) == 1
goto_if_false @DRIV6_8168
if 
  not Char.IsInCar(80@(104@,14i), 52@(104@,14i))
goto_if_false @DRIV6_8135
if 
  238@(104@,14i) == 0
goto_if_false @DRIV6_8128
Task.CarMission(80@(104@,14i), 52@(104@,14i), 34@, CarMission.BlockCarFaraway, 30.0, DrivingMode.AvoidCars)
238@(104@,14i) = 1

:DRIV6_8128
goto @DRIV6_8168

:DRIV6_8135
if 
  238@(104@,14i) == 1
goto_if_false @DRIV6_8168
238@(104@,14i) = 0

:DRIV6_8168
if and
  not Char.IsDead(66@(104@,14i))
  not Char.IsDead(80@(104@,14i))
goto_if_false @DRIV6_8665
if and
  not Char.IsInCar(66@(104@,14i), 52@(104@,14i))
  140@(104@,14i) == 0
goto_if_false @DRIV6_8265
Task.EnterCarAsDriver(66@(104@,14i), 52@(104@,14i), 10000)
140@(104@,14i) = 1

:DRIV6_8265
if and
  not Char.IsInCar(80@(104@,14i), 52@(104@,14i))
  154@(104@,14i) == 0
goto_if_false @DRIV6_8335
Task.EnterCarAsPassenger(80@(104@,14i), 52@(104@,14i), 10000, 0)
154@(104@,14i) = 1

:DRIV6_8335
if and
  Char.IsInCar(66@(104@,14i), 52@(104@,14i))
  Char.IsInCar(80@(104@,14i), 52@(104@,14i))
goto_if_false @DRIV6_8665
if or
  140@(104@,14i) == 1
  154@(104@,14i) == 1
goto_if_false @DRIV6_8665
if or
  $d6_player_reached_fifth_creation_pt == 1
  $d6_player_reached_sixth_creation_pt == 1
goto_if_false @DRIV6_8471
Task.CarMission(66@(104@,14i), 52@(104@,14i), 34@, CarMission.EscortRear, 30.0, DrivingMode.AvoidCars)
goto @DRIV6_8603

:DRIV6_8471
set_lvar_int_to_lvar_int 106@ = 104@

:DRIV6_8479
if 
  106@ >= 2
goto_if_false @DRIV6_8511
106@ -= 2
goto @DRIV6_8479

:DRIV6_8511
if 
  106@ == 0
goto_if_false @DRIV6_8557
Task.CarMission(66@(104@,14i), 52@(104@,14i), 34@, CarMission.EscortLeft, 30.0, DrivingMode.AvoidCars)

:DRIV6_8557
if 
  106@ == 1
goto_if_false @DRIV6_8603
Task.CarMission(66@(104@,14i), 52@(104@,14i), 34@, CarMission.EscortRight, 30.0, DrivingMode.AvoidCars)

:DRIV6_8603
Task.DriveBy(80@(104@,14i), $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 999999.0, DriveByType.Ai, False, 60)
140@(104@,14i) = 0
154@(104@,14i) = 0

:DRIV6_8665
if and
  Char.IsDead(66@(104@,14i))
  Char.IsDead(80@(104@,14i))
goto_if_false @DRIV6_8705
Car.SetMission(52@(104@,14i), CarMission.None)

:DRIV6_8705
104@ += 1
goto @DRIV6_7473

:DRIV6_8719
return 

:DRIV6_8721
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_8886
104@ = 0

:DRIV6_8744
if 
  is_int_lvar_greater_than_int_lvar 49@ > 104@
goto_if_false @DRIV6_8886
if and
  not Car.IsDead(52@(104@,14i))
  not Char.IsDead(66@(104@,14i))
  not Char.IsDead(80@(104@,14i))
goto_if_false @DRIV6_8872
if and
  Char.IsInCar(66@(104@,14i), 52@(104@,14i))
  Char.IsInCar(80@(104@,14i), 52@(104@,14i))
goto_if_false @DRIV6_8872
Task.CarMission(66@(104@,14i), 52@(104@,14i), 34@, CarMission.EscortRear, 30.0, DrivingMode.AvoidCars)

:DRIV6_8872
104@ += 1
goto @DRIV6_8744

:DRIV6_8886
return 

:DRIV6_8888
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_9157
104@ = 0

:DRIV6_8911
if 
  is_int_lvar_greater_than_int_lvar 49@ > 104@
goto_if_false @DRIV6_9157
if and
  not Car.IsDead(52@(104@,14i))
  not Char.IsDead(66@(104@,14i))
  not Char.IsDead(80@(104@,14i))
goto_if_false @DRIV6_9143
if and
  Char.IsInCar(66@(104@,14i), 52@(104@,14i))
  Char.IsInCar(80@(104@,14i), 52@(104@,14i))
goto_if_false @DRIV6_9143
set_lvar_int_to_lvar_int 106@ = 104@

:DRIV6_9019
if 
  106@ >= 2
goto_if_false @DRIV6_9051
106@ -= 2
goto @DRIV6_9019

:DRIV6_9051
if 
  106@ == 0
goto_if_false @DRIV6_9097
Task.CarMission(66@(104@,14i), 52@(104@,14i), 34@, CarMission.EscortLeft, 30.0, DrivingMode.AvoidCars)

:DRIV6_9097
if 
  106@ == 1
goto_if_false @DRIV6_9143
Task.CarMission(66@(104@,14i), 52@(104@,14i), 34@, CarMission.EscortRight, 30.0, DrivingMode.AvoidCars)

:DRIV6_9143
104@ += 1
goto @DRIV6_8911

:DRIV6_9157
return 

:DRIV6_9159
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_9450
258@ = 1
42@, 43@, 44@ = Car.GetOffsetInWorldCoords(34@, -1.0, 0.0, 0.0)
45@, 46@, 47@ = Car.GetOffsetInWorldCoords(34@, 1.0, 0.0, 0.0)
104@ = 0

:DRIV6_9247
if and
  is_int_lvar_greater_than_int_lvar 49@ > 104@
  258@ == 1
goto_if_false @DRIV6_9425
if 
  not Car.IsDead(52@(104@,14i))
goto_if_false @DRIV6_9411
48@ = Car.GetDriver(52@(104@,14i))
if 
  48@ <> -1
goto_if_false @DRIV6_9411
if or
  Car.Locate3D(52@(104@,14i), 42@, 43@, 44@, 5.0, 5.0, 5.0, False)
  Car.Locate3D(52@(104@,14i), 45@, 46@, 47@, 5.0, 5.0, 5.0, False)
goto_if_false @DRIV6_9411
258@ = 0

:DRIV6_9411
104@ += 1
goto @DRIV6_9247

:DRIV6_9425
if 
  258@ == 1
goto_if_false @DRIV6_9450
TIMERA = 0

:DRIV6_9450
return 

:DRIV6_9452
104@ = 0

:DRIV6_9459
if 
  is_int_lvar_greater_than_int_lvar 49@ > 104@
goto_if_false @DRIV6_9766
if 
  not Car.IsDead(52@(104@,14i))
goto_if_false @DRIV6_9752
if 
  not Char.IsDead(66@(104@,14i))
goto_if_false @DRIV6_9578
Task.CarDriveToCoord(66@(104@,14i), 52@(104@,14i), -2148.62, 1063.98, 79.73, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Char.SetKeepTask(66@(104@,14i), True)
goto @DRIV6_9721

:DRIV6_9578
if 
  not Char.IsDead(80@(104@,14i))
goto_if_false @DRIV6_9721
if 
  Char.IsInCar(80@(104@,14i), 52@(104@,14i))
goto_if_false @DRIV6_9679
94@, 95@, 96@ = Car.GetCoordinates(52@(104@,14i))
Char.WarpFromCarToCoord(80@(104@,14i), 94@, 95@, -10.0)
Char.WarpIntoCar(80@(104@,14i), 52@(104@,14i))

:DRIV6_9679
Task.CarDriveToCoord(80@(104@,14i), 52@(104@,14i), -2148.62, 1063.98, 79.73, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:DRIV6_9721
if 
  not Char.IsDead(80@(104@,14i))
goto_if_false @DRIV6_9752
Char.SetKeepTask(80@(104@,14i), True)

:DRIV6_9752
104@ += 1
goto @DRIV6_9459

:DRIV6_9766
return 

:DRIV6_9768
104@ = 0

:DRIV6_9775
if 
  is_int_lvar_greater_than_int_lvar 49@ > 104@
goto_if_false @DRIV6_10124
if 
  not Car.IsDead(52@(104@,14i))
goto_if_false @DRIV6_10110
if 
  not Char.IsDead(66@(104@,14i))
goto_if_false @DRIV6_9924
Task.LookAtChar(66@(104@,14i), $stattreadstamina_ctr, 5000)
if 
  Char.IsInCar(66@(104@,14i), 52@(104@,14i))
goto_if_false @DRIV6_9906
Task.CarTempAction(66@(104@,14i), 52@(104@,14i), TempAction.HandbrakeStraight, 2000000)
goto @DRIV6_9924

:DRIV6_9906
Task.EnterCarAsDriver(66@(104@,14i), 52@(104@,14i), -1)

:DRIV6_9924
if 
  not Char.IsDead(80@(104@,14i))
goto_if_false @DRIV6_10110
Task.LookAtChar(80@(104@,14i), $stattreadstamina_ctr, 5000)
if 
  210@(104@,14i) == 1
goto_if_false @DRIV6_10063
if 
  Char.IsInCar(80@(104@,14i), 52@(104@,14i))
goto_if_false @DRIV6_10038
Task.CarTempAction(80@(104@,14i), 52@(104@,14i), TempAction.HandbrakeStraight, 2000000)
goto @DRIV6_10056

:DRIV6_10038
Task.EnterCarAsDriver(80@(104@,14i), 52@(104@,14i), -1)

:DRIV6_10056
goto @DRIV6_10110

:DRIV6_10063
if 
  not Char.IsInCar(80@(104@,14i), 52@(104@,14i))
goto_if_false @DRIV6_10110
Task.EnterCarAsPassenger(80@(104@,14i), 52@(104@,14i), -1, 0)

:DRIV6_10110
104@ += 1
goto @DRIV6_9775

:DRIV6_10124
return 

:DRIV6_10126
104@ = 0

:DRIV6_10133
if 
  is_int_lvar_greater_than_int_lvar 49@ > 104@
goto_if_false @DRIV6_10193
Char.Delete(66@(104@,14i))
Char.Delete(80@(104@,14i))
Car.Delete(52@(104@,14i))
104@ += 1
goto @DRIV6_10133

:DRIV6_10193
return 

:DRIV6_10195
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_10218
Car.LockDoors(34@, CarLock.Locked)

:DRIV6_10218
Camera.DoFade(1000, Fade.Out)

:DRIV6_10225
if 
  Camera.GetFadingStatus
goto_if_false @DRIV6_10249
wait 0
goto @DRIV6_10225

:DRIV6_10249
World.ClearArea(38@, 39@, 40@, 100.0, False)
gosub @DRIV6_10126
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Streaming.RequestModel(330)

:DRIV6_10297
if 
  not Streaming.HasModelLoaded(330)
goto_if_false @DRIV6_10324
wait 0
goto @DRIV6_10297

:DRIV6_10324
267@ = Object.CreateNoOffset(330, -1561.4, -2721.1, 47.57)
Object.SetVisible(267@, False)
Task.PickUpObject($stattreadstamina_ctr, 267@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_10466
Car.SetIdle(34@)
Car.SetCoordinates(34@, 38@, 39@, -100.0)
Car.SetHeading(34@, 55.5)
Car.OpenDoorABit(34@, CarDoor.LeftFrontDoor, 0.0)
Car.OpenDoorABit(34@, CarDoor.RightFrontDoor, 0.0)

:DRIV6_10466
Streaming.RequestAnimation("CAR_CHAT")
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 23000)

:DRIV6_10485
if or
  not Streaming.HasAnimationLoaded("CAR_CHAT")
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DRIV6_10523
wait 0
goto @DRIV6_10485

:DRIV6_10523
Camera.SetFixedPosition(-1573.6, -2743.74, 49.12, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1573.0, -2743.39, 49.05, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:DRIV6_10581
if 
  Camera.GetFadingStatus
goto_if_false @DRIV6_10628
if 
  Object.DoesExist(267@)
goto_if_false @DRIV6_10617
Object.SetVisible(267@, False)

:DRIV6_10617
wait 0
goto @DRIV6_10581

:DRIV6_10628
259@ = 1
skip_cutscene_start_internal @DRIV6_12111
101@ = Sequence.Open()
Task.PlayAnim(-1, "CARFONE_IN", "CAR_CHAT", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA_TO_B", "CAR_CHAT", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "CARFONE_LOOPB", "CAR_CHAT", 4.0, True, False, False, False, -1)
Sequence.Close(101@)
Char.PerformSequence($stattreadstamina_ctr, 101@)
Sequence.Clear(101@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
TIMERA = 0

:DRIV6_10810
if 
  3000 > TIMERA
goto_if_false @DRIV6_10863
if 
  Object.DoesExist(267@)
goto_if_false @DRIV6_10852
Object.SetVisible(267@, False)

:DRIV6_10852
wait 0
goto @DRIV6_10810

:DRIV6_10863
Object.SetVisible(267@, True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
135@ = 1
gosub @DRIV6_12213
TIMERA = 0
102@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  not is_int_lvar_equal_to_constant 102@ == 7
goto_if_false @DRIV6_10939
103@ = Char.GetSequenceProgress($stattreadstamina_ctr)
goto @DRIV6_10946

:DRIV6_10939
103@ = 2

:DRIV6_10946
if or
  2 > 103@
  132@ == 0
goto_if_false @DRIV6_11059
wait 0
if 
  TIMERA > 1000
goto_if_false @DRIV6_11001
gosub @DRIV6_12532

:DRIV6_11001
102@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  not is_int_lvar_equal_to_constant 102@ == 7
goto_if_false @DRIV6_11045
103@ = Char.GetSequenceProgress($stattreadstamina_ctr)
goto @DRIV6_11052

:DRIV6_11045
103@ = 2

:DRIV6_11052
goto @DRIV6_10946

:DRIV6_11059
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_11172
107@, 108@, 109@ = Car.GetOffsetInWorldCoords(34@, 0.4, 0.51, 0.65)
Camera.SetFixedPosition(107@, 108@, 109@, 0.0, 0.0, 0.0)
107@, 108@, 109@ = Car.GetOffsetInWorldCoords(34@, -0.13, 0.22, 0.54)
Camera.PointAtPoint(107@, 108@, 109@, SwitchType.JumpCut)

:DRIV6_11172
Task.PlayAnim($stattreadstamina_ctr, "CARFONE_LOOPB", "CAR_CHAT", 4.0, True, False, False, False, -1)

:DRIV6_11217
if 
  1 >= 132@
goto_if_false @DRIV6_11253
wait 0
gosub @DRIV6_12532
goto @DRIV6_11217

:DRIV6_11253
101@ = Sequence.Open()
Task.PlayAnim(-1, "CARFONE_LOOPB_TO_A", "CAR_CHAT", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 4.0, True, False, False, False, -1)
Sequence.Close(101@)
Char.PerformSequence($stattreadstamina_ctr, 101@)
Sequence.Clear(101@)

:DRIV6_11369
if 
  4 >= 132@
goto_if_false @DRIV6_11405
wait 0
gosub @DRIV6_12532
goto @DRIV6_11369

:DRIV6_11405
101@ = Sequence.Open()
Task.PlayAnim(-1, "CARFONE_LOOPA_TO_B", "CAR_CHAT", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "CARFONE_LOOPB", "CAR_CHAT", 4.0, True, False, False, False, -1)
Sequence.Close(101@)
Char.PerformSequence($stattreadstamina_ctr, 101@)
Sequence.Clear(101@)

:DRIV6_11521
if 
  5 >= 132@
goto_if_false @DRIV6_11597
wait 0
gosub @DRIV6_12532
if and
  131@ == 2
  134@ <> 1
goto_if_false @DRIV6_11590
Char.StartFacialTalk($stattreadstamina_ctr, 4000)
134@ = 1

:DRIV6_11590
goto @DRIV6_11521

:DRIV6_11597
268@ = Car.Create(468, -1565.89, -2748.32, 48.21)
Car.SetHeading(268@, 58.42)
269@ = Char.CreateInsideCar(268@, PedType.Mission1, 123)
wait 1000
if and
  not Char.IsDead(269@)
  not Car.IsDead(268@)
goto_if_false @DRIV6_11702
Task.CarDriveToCoord(269@, 268@, -1574.23, -2742.62, 48.2, 20.0, DriveMode.Accurate, 0, DrivingMode.PloughThrough)

:DRIV6_11702
Camera.SetFixedPosition(-1570.65, -2748.39, 48.35, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1571.99, -2745.26, 48.29, SwitchType.JumpCut)
if 
  not Char.IsDead(269@)
goto_if_false @DRIV6_11850
102@ = Char.GetScriptTaskStatus(269@, 1489)

:DRIV6_11780
if 
  not is_int_lvar_equal_to_constant 102@ == 7
goto_if_false @DRIV6_11850
wait 0
if 
  not Char.IsDead(269@)
goto_if_false @DRIV6_11836
102@ = Char.GetScriptTaskStatus(269@, 1489)
goto @DRIV6_11843

:DRIV6_11836
set_lvar_int_to_constant 102@ = 7

:DRIV6_11843
goto @DRIV6_11780

:DRIV6_11850
if 
  not Char.IsDead(269@)
goto_if_false @DRIV6_11882
Task.LookAtChar(269@, $stattreadstamina_ctr, 3000)
wait 3000

:DRIV6_11882
if 
  not Char.IsDead(269@)
goto_if_false @DRIV6_11920
Task.LookAtCoord(269@, -1572.73, -2747.12, 48.2, -2)

:DRIV6_11920
if 
  is_int_lvar_greater_than_int_lvar 133@ > 132@
goto_if_false @DRIV6_12034
wait 0
if 
  not Char.IsDead(269@)
goto_if_false @DRIV6_12013
gosub @DRIV6_12532
if and
  131@ == 2
  134@ <> 1
goto_if_false @DRIV6_12006
Char.StartFacialTalk(269@, 10000)
134@ = 1

:DRIV6_12006
goto @DRIV6_12027

:DRIV6_12013
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
set_lvar_int_to_lvar_int 132@ = 133@

:DRIV6_12027
goto @DRIV6_11920

:DRIV6_12034
if and
  not Char.IsDead(269@)
  not Car.IsDead(268@)
goto_if_false @DRIV6_12099
Char.StopFacialTalk(269@)
Char.ClearLookAt(269@)
Task.CarDriveToCoord(269@, 268@, -1630.35, -2721.17, 48.62, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:DRIV6_12099
wait 3000
259@ = 0

:DRIV6_12111
skip_cutscene_end 
if 
  259@ == 1
goto_if_false @DRIV6_12131

:DRIV6_12131
Char.ClearTasks($stattreadstamina_ctr)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Char.Delete(269@)
Car.Delete(268@)
Object.Delete(267@)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_12196
Car.LockDoors(34@, CarLock.Unlocked)

:DRIV6_12196
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
return 

:DRIV6_12213
switch_start 135@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @DRIV6_12502 {caseNum1} 0 {caseLabel1} @DRIV6_12276 {caseNum2} 1 {caseLabel2} @DRIV6_12334 {caseNum3} -1 {caseLabel3} @DRIV6_12509 {caseNum4} -1 {caseLabel4} @DRIV6_12509 {caseNum5} -1 {caseLabel5} @DRIV6_12509 {caseNum6} -1 {caseLabel6} @DRIV6_12509 {caseNum7} -1 {caseLabel7} @DRIV6_12509

:DRIV6_12276
set_lvar_text_label 110@s = 'FAR5_AB'
set_lvar_text_label 112@s = 'FAR5_AA'
set_lvar_int_to_constant 124@ = 15601
set_lvar_int_to_constant 125@ = 15600
133@ = 2
goto @DRIV6_12509

:DRIV6_12334
set_lvar_text_label 110@s = 'MTG02A'
set_lvar_text_label 112@s = 'MTG02B'
set_lvar_text_label 114@s = 'MTG02C'
set_lvar_text_label 116@s = 'MTG02D'
set_lvar_text_label 118@s = 'MTG02E'
set_lvar_text_label 120@s = 'MTG02F'
set_lvar_text_label 122@s = 'FAR5_AA'
set_lvar_int_to_constant 124@ = 29408
set_lvar_int_to_constant 125@ = 29409
set_lvar_int_to_constant 126@ = 29410
set_lvar_int_to_constant 127@ = 29411
set_lvar_int_to_constant 128@ = 29412
set_lvar_int_to_constant 129@ = 29413
set_lvar_int_to_constant 130@ = 15600
133@ = 7
goto @DRIV6_12509

:DRIV6_12502
goto @DRIV6_12509

:DRIV6_12509
131@ = 0
132@ = 0
134@ = 0
return 

:DRIV6_12532
if or
  131@ == 0
  131@ == 1
goto_if_false @DRIV6_12602
if 
  is_int_lvar_greater_than_int_lvar 133@ > 132@
goto_if_false @DRIV6_12602
if 
  TIMERB > 1000
goto_if_false @DRIV6_12602
gosub @DRIV6_12667

:DRIV6_12602
if 
  131@ == 2
goto_if_false @DRIV6_12665
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV6_12665
131@ = 0
132@ += 1
134@ = 0
Text.ClearPrints
TIMERB = 0

:DRIV6_12665
return 

:DRIV6_12667
if 
  131@ == 0
goto_if_false @DRIV6_12703
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 124@(132@,7i))
131@ = 1

:DRIV6_12703
if 
  131@ == 1
goto_if_false @DRIV6_12761
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV6_12761
Text.PrintNow(110@(132@,7s), 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
131@ = 2

:DRIV6_12761
return 

:DRIV6_12763
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:DRIV6_12781
$garageX += 1
Stat.RegisterMissionPassed('FAR_5')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSS', 8000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 8000)
Stat.AwardPlayerMissionRespect(20)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
return 

:DRIV6_12845
if 
  not Car.IsDead(34@)
goto_if_false @DRIV6_12883
Car.SetProofs(34@, False, False, False, False, False)
Car.SetCanBeVisiblyDamaged(34@, True)

:DRIV6_12883
Streaming.MarkModelAsNoLongerNeeded(489)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(123)
Streaming.MarkModelAsNoLongerNeeded(122)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.RemoveAnimation("CAR_CHAT")
Blip.Remove(262@)
Blip.Remove(263@)
Blip.Remove(264@)
Blip.Remove(265@)
gosub @DRIV6_9452
Checkpoint.Delete(41@)
Hud.ClearCounter($blood_attempt)
Sequence.Clear(101@)
CarGenerator.Switch($game_timer_wil, 101)
CarGenerator.Switch($stored_shop_time, 101)
CarGenerator.Switch($tell_player_to_kill_valet, 101)
$flag_courier_mission_passed = Clock.GetGameTimer()
World.SetCarDensityMultiplier(1.0)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 56---------------
// Originally: Amphibious Assault

:WUZI2
script_name 'WUZI2'
gosub @WUZI2_47
if 
  has_deatharrest_been_executed 
goto_if_false @WUZI2_38
gosub @WUZI2_26542

:WUZI2_38
gosub @WUZI2_26652
terminate_this_script 

:WUZI2_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
257@ = Game.GetMaxWantedLevel()
Text.LoadMissionText('WUZI2')
$7267 = Stat.GetInt(StatId.UnderwaterBreathStamina)
if 
  not is_ps2_keyboard_key_pressed 81
goto_if_false @WUZI2_242
if 
  50 >= $7267
goto_if_false @WUZI2_242
$7267 = 1
Streaming.SetAreaVisible(1)
Cutscene.Load('W2_ALT')

:WUZI2_135
if 
  not Cutscene.HasLoaded
goto_if_false @WUZI2_159
wait 0
goto @WUZI2_135

:WUZI2_159
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:WUZI2_168
if 
  not Cutscene.HasFinished
goto_if_false @WUZI2_192
wait 0
goto @WUZI2_168

:WUZI2_192
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:WUZI2_205
if 
  Camera.GetFadingStatus
goto_if_false @WUZI2_229
wait 0
goto @WUZI2_205

:WUZI2_229
Cutscene.Clear
Streaming.SetAreaVisible(0)
goto @WUZI2_26652

:WUZI2_242
$7267 = 0
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
Streaming.SetAreaVisible(1)
Cutscene.Load('WOOZIE2')

:WUZI2_275
if 
  not Cutscene.HasLoaded
goto_if_false @WUZI2_299
wait 0
goto @WUZI2_275

:WUZI2_299
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:WUZI2_308
if 
  not Cutscene.HasFinished
goto_if_false @WUZI2_332
wait 0
goto @WUZI2_308

:WUZI2_332
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:WUZI2_345
if 
  Camera.GetFadingStatus
goto_if_false @WUZI2_369
wait 0
goto @WUZI2_345

:WUZI2_369
Cutscene.Clear
Streaming.SetAreaVisible(0)
Game.SetScriptLimitToGangSize(99)
start_new_script @A_CONT 
Streaming.RequestModel(121)
Streaming.RequestModel(122)
Streaming.RequestModel(123)
Streaming.RequestModel(454)
Streaming.RequestModel(355)
Streaming.RequestModel(335)
Streaming.RequestModel(#A51_SPOTBASE)
Streaming.RequestModel(#A51_SPOTHOUSING)
Streaming.RequestModel(#A51_SPOTBULB)
Streaming.RequestAnimation("DAM_JUMP")

:WUZI2_441
if or
  not Streaming.HasModelLoaded(121)
  not Streaming.HasModelLoaded(122)
  not Streaming.HasModelLoaded(123)
  not Streaming.HasModelLoaded(454)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasModelLoaded(335)
goto_if_false @WUZI2_490
wait 0
goto @WUZI2_441

:WUZI2_490
if or
  not Streaming.HasModelLoaded(#A51_SPOTBASE)
  not Streaming.HasModelLoaded(#A51_SPOTHOUSING)
  not Streaming.HasModelLoaded(#A51_SPOTBULB)
  not Streaming.HasAnimationLoaded("DAM_JUMP")
goto_if_false @WUZI2_539
wait 0
goto @WUZI2_490

:WUZI2_539
34@ = DecisionMakerChar.Load(DecisionMakerType.Steal)
35@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Player1)
Weather.ForceNow(WeatherType.FoggySf)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Char.SetCoordinates($stattreadstamina_ctr, -2153.611, 645.31, 51.3516)
Char.SetHeading($stattreadstamina_ctr, 270.0)
Camera.DoFade(1500, Fade.In)
36@ = Blip.AddForCoord(-1641.995, 1309.217, 6.1764)
Text.PrintNow('WZI2_1', 8000, 1)
40@ = 0
253@ = 0
if 
  253@ == 1
goto_if_false @WUZI2_910
290@($guard_pointer_W2,2i) = Car.Create(454, 0.0, 0.0, 0.0)
436@($guard_pointer_W2,7i) = Char.Create(PedType.CivMale, 121, 0.0, 0.0, 0.0)
443@($guard_pointer_W2,8i) = Blip.AddForChar(436@($guard_pointer_W2,7i))
413@($guard_pointer_W2,2i) = Car.Create(454, 0.0, 0.0, 0.0)
417@($guard_pointer_W2,6i) = Char.Create(PedType.CivMale, 121, 0.0, 0.0, 0.0)
259@ = Blip.AddForChar(417@($guard_pointer_W2,6i))
383@($guard_pointer_W2,6i) = Searchlight.Create(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
276@ = Checkpoint.Create(CheckpointType.Torus, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)

:WUZI2_910
set_lvar_text_label 127@s = 'WUZ2_AA'
set_lvar_int_to_constant 58@ = 44000
set_lvar_text_label 129@s = 'WUZ2_NA'
set_lvar_int_to_constant 59@ = 44036
set_lvar_text_label 131@s = 'WUZ2_ZA'
set_lvar_int_to_constant 60@ = 44083
set_lvar_text_label 133@s = 'WUZ2_AB'
set_lvar_int_to_constant 61@ = 44001
set_lvar_text_label 135@s = 'WUZ2_NB'
set_lvar_int_to_constant 62@ = 44037
set_lvar_text_label 137@s = 'WUZ2_ZB'
set_lvar_int_to_constant 63@ = 44084
set_lvar_text_label 139@s = 'WUZ2_AC'
set_lvar_int_to_constant 64@ = 44002
set_lvar_text_label 141@s = 'WUZ2_NC'
set_lvar_int_to_constant 65@ = 44038
set_lvar_text_label 143@s = 'WUZ2_ZC'
set_lvar_int_to_constant 66@ = 44085
set_lvar_text_label 145@s = 'WUZ2_BA'
set_lvar_int_to_constant 67@ = 44003
set_lvar_text_label 147@s = 'WUZ2_OA'
set_lvar_int_to_constant 68@ = 44039
set_lvar_text_label 149@s = 'WUZ2_ZD'
set_lvar_int_to_constant 69@ = 44086
set_lvar_text_label 151@s = 'WUZ2_BB'
set_lvar_int_to_constant 70@ = 44004
set_lvar_text_label 153@s = 'WUZ2_OB'
set_lvar_int_to_constant 71@ = 44040
set_lvar_text_label 155@s = 'WUZ2_ZE'
set_lvar_int_to_constant 72@ = 44087
set_lvar_text_label 157@s = 'WUZ2_BC'
set_lvar_int_to_constant 73@ = 44005
set_lvar_text_label 159@s = 'WUZ2_OC'
set_lvar_int_to_constant 74@ = 44041
set_lvar_text_label 161@s = 'WUZ2_ZF'
set_lvar_int_to_constant 75@ = 44088
set_lvar_text_label 163@s = 'WUZ2_CA'
set_lvar_int_to_constant 76@ = 44006
set_lvar_text_label 165@s = 'WUZ2_PA'
set_lvar_int_to_constant 77@ = 44042
set_lvar_text_label 167@s = 'WUZ2_ZG'
set_lvar_int_to_constant 78@ = 44089
set_lvar_text_label 169@s = 'WUZ2_CB'
set_lvar_int_to_constant 79@ = 44007
set_lvar_text_label 171@s = 'WUZ2_PB'
set_lvar_int_to_constant 80@ = 44043
set_lvar_text_label 173@s = 'WUZ2_ZH'
set_lvar_int_to_constant 81@ = 44090
set_lvar_text_label 175@s = 'WUZ2_CC'
set_lvar_int_to_constant 82@ = 44008
set_lvar_text_label 177@s = 'WUZ2_PC'
set_lvar_int_to_constant 83@ = 44044
set_lvar_text_label 179@s = 'WUZ2_ZJ'
set_lvar_int_to_constant 84@ = 44091
set_lvar_text_label 181@s = 'WUZ2_DA'
set_lvar_int_to_constant 85@ = 44009
set_lvar_text_label 183@s = 'WUZ2_QA'
set_lvar_int_to_constant 86@ = 44045
set_lvar_text_label 185@s = 'WUZ2_ZK'
set_lvar_int_to_constant 87@ = 44092
set_lvar_text_label 187@s = 'WUZ2_DB'
set_lvar_int_to_constant 88@ = 44010
set_lvar_text_label 189@s = 'WUZ2_QB'
set_lvar_int_to_constant 89@ = 44046
set_lvar_text_label 191@s = 'WUZ2_ZL'
set_lvar_int_to_constant 90@ = 44093
set_lvar_text_label 193@s = 'WUZ2_DC'
set_lvar_int_to_constant 91@ = 44011
set_lvar_text_label 195@s = 'WUZ2_QC'
set_lvar_int_to_constant 92@ = 44047
set_lvar_text_label 197@s = 'WUZ2_ZM'
set_lvar_int_to_constant 93@ = 44094
set_lvar_text_label 199@s = 'WUZ2_EA'
set_lvar_int_to_constant 94@ = 44012
set_lvar_text_label 201@s = 'WUZ2_RA'
set_lvar_int_to_constant 95@ = 44048
set_lvar_text_label 203@s = 'WUZ2_ZN'
set_lvar_int_to_constant 96@ = 44095
set_lvar_text_label 205@s = 'WUZ2_EB'
set_lvar_int_to_constant 97@ = 44013
set_lvar_text_label 207@s = 'WUZ2_RB'
set_lvar_int_to_constant 98@ = 44049
set_lvar_text_label 209@s = 'WUZ2_ZO'
set_lvar_int_to_constant 99@ = 44096
set_lvar_text_label 211@s = 'WUZ2_EC'
set_lvar_int_to_constant 100@ = 44014
set_lvar_text_label 213@s = 'WUZ2_RC'
set_lvar_int_to_constant 101@ = 44050
set_lvar_text_label 215@s = 'WUZ2_ZP'
set_lvar_int_to_constant 102@ = 44097
set_lvar_text_label 217@s = 'WUZ2_FA'
set_lvar_int_to_constant 103@ = 44015
set_lvar_text_label 219@s = 'WUZ2_SA'
set_lvar_int_to_constant 104@ = 44051
set_lvar_text_label 221@s = 'WUZ2_ZQ'
set_lvar_int_to_constant 105@ = 44098
set_lvar_text_label 223@s = 'WUZ2_FB'
set_lvar_int_to_constant 106@ = 44016
set_lvar_text_label 225@s = 'WUZ2_SB'
set_lvar_int_to_constant 107@ = 44052
set_lvar_text_label 227@s = 'WUZ2_ZR'
set_lvar_int_to_constant 108@ = 44099
set_lvar_text_label 229@s = 'WUZ2_FC'
set_lvar_int_to_constant 109@ = 44017
set_lvar_text_label 231@s = 'WUZ2_SC'
set_lvar_int_to_constant 110@ = 44053
set_lvar_text_label 233@s = 'WUZ2_ZS'
set_lvar_int_to_constant 111@ = 44100
set_lvar_text_label 235@s = 'WUZ2_GA'
set_lvar_int_to_constant 112@ = 44018
set_lvar_text_label 237@s = 'WUZ2_TA'
set_lvar_int_to_constant 113@ = 44054
set_lvar_text_label 239@s = 'WUZ2_ZT'
set_lvar_int_to_constant 114@ = 44101
set_lvar_text_label 241@s = 'WUZ2_GB'
set_lvar_int_to_constant 115@ = 44019
set_lvar_text_label 243@s = 'WUZ2_TB'
set_lvar_int_to_constant 116@ = 44055
set_lvar_text_label 245@s = 'WUZ2_ZU'
set_lvar_int_to_constant 117@ = 44102
set_lvar_text_label 247@s = 'WUZ2_GC'
set_lvar_int_to_constant 118@ = 44020
set_lvar_text_label 249@s = 'WUZ2_TC'
set_lvar_int_to_constant 119@ = 44056
set_lvar_text_label 251@s = 'WUZ2_ZV'
set_lvar_int_to_constant 120@ = 44103
121@ = Math.RandomIntInRange(0, 3)
122@ = Math.RandomIntInRange(0, 3)
123@ = 0
124@ = 10

:WUZI2_2454
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @WUZI2_2480
goto @WUZI2_26588

:WUZI2_2480
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, -1641.995, 1309.217, 6.1764, 1.2, 1.2, 2.0, True)
goto_if_false @WUZI2_2547
Player.SetControl($statbike_temp, False)
Blip.Remove(36@)
goto @WUZI2_2554

:WUZI2_2547
goto @WUZI2_2454

:WUZI2_2554
Camera.DoFade(500, Fade.Out)

:WUZI2_2561
if 
  Camera.GetFadingStatus
goto_if_false @WUZI2_2585
wait 0
goto @WUZI2_2561

:WUZI2_2585
Player.ClearWantedLevel($statbike_temp)
Game.SetMaxWantedLevel(0)
World.ClearAreaOfCars(-1648.875, 1319.242, 6.0, -1636.367, 1297.54, 9.0)
World.ClearAreaOfChars(-1648.875, 1319.242, 6.0, -1636.367, 1297.54, 9.0)
gosub @WUZI2_8379
gosub @WUZI2_18697
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @WUZI2_2715
Char.WarpFromCarToCoord($stattreadstamina_ctr, -1640.9, 1310.6, 6.1797)
goto @WUZI2_2735

:WUZI2_2715
Char.SetCoordinates($stattreadstamina_ctr, -1640.9, 1310.6, 6.1797)

:WUZI2_2735
Char.SetHeading($stattreadstamina_ctr, 315.0)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
47@ = 0
Streaming.LoadScene(-1455.999, 1529.144, 19.179)
Camera.SetFixedPosition(-1358.484, 1468.994, 18.4397, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1359.312, 1469.54, 18.3092, SwitchType.JumpCut)
gosub @WUZI2_18118
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.DoFade(500, Fade.In)

:WUZI2_2852
if 
  Camera.GetFadingStatus
goto_if_false @WUZI2_2876
wait 0
goto @WUZI2_2852

:WUZI2_2876
skip_cutscene_start_internal @WUZI2_3040
Text.PrintNow('WZI2_2', 6500, 1)
TIMERA = 0

:WUZI2_2906
if 
  6500 > TIMERA
goto_if_false @WUZI2_2936
wait 0
goto @WUZI2_2906

:WUZI2_2936
Camera.SetFixedPosition(-1511.427, 1374.075, 5.9802, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1511.29, 1373.103, 5.7898, SwitchType.JumpCut)
Text.PrintNow('WZI2_3', 6500, 1)
TIMERA = 0

:WUZI2_3010
if 
  6500 > TIMERA
goto_if_false @WUZI2_3040
wait 0
goto @WUZI2_3010

:WUZI2_3040
skip_cutscene_end 
Text.ClearPrints
skip_cutscene_start_internal @WUZI2_3877
Camera.SetFixedPosition(-1642.439, 1308.882, 11.1649, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1641.914, 1309.402, 10.4912, SwitchType.JumpCut)
TIMERA = 0

:WUZI2_3109
if 
  500 > TIMERA
goto_if_false @WUZI2_3139
wait 0
goto @WUZI2_3109

:WUZI2_3139
Task.PlayAnim($stattreadstamina_ctr, "SF_JUMPWALL", "DAM_JUMP", 1000.0, False, False, False, False, 0)
TIMERA = 0

:WUZI2_3189
if 
  1000 > TIMERA
goto_if_false @WUZI2_3219
wait 0
goto @WUZI2_3189

:WUZI2_3219
Clock.SetTimeScale(0.2)
Camera.SetFixedPosition(-1636.664, 1316.354, -3.7183, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1636.729, 1315.749, -2.925, SwitchType.JumpCut)
$in_carX = -2.925
TIMERA = 0
254@ = 0

:WUZI2_3301
if 
  $in_carX > -3.2406
goto_if_false @WUZI2_3570
wait 0
$in_carX -= 0.003
if 
  -3.2406 > $in_carX
goto_if_false @WUZI2_3367
$in_carX = -3.2406

:WUZI2_3367
Camera.PointAtPoint(-1636.729, 1315.749, $in_carX, SwitchType.JumpCut)
if and
  TIMERA > 200
  2 > 254@
goto_if_false @WUZI2_3563
if 
  254@ == 0
goto_if_false @WUZI2_3546
$on_footY = World.GetWaterHeightAtCoords(-1637.354, 1314.11, True)
255@ = Particle.Create("WATER_SPLASH", -1637.354, 1314.11, $on_footY, 1)
256@ = Particle.Create("WATER_RIPPLES", -1637.354, 1314.11, $on_footY, 1)
Audio.ReportMissionAudioEventAtPosition(-1637.354, 1314.11, $on_footY, 1144)
254@ += 1
goto @WUZI2_3563

:WUZI2_3546
Particle.Play(255@)
Particle.Play(256@)
254@ += 1

:WUZI2_3563
goto @WUZI2_3301

:WUZI2_3570
$in_carX = 0.2

:WUZI2_3580
if 
  0.5 > $in_carX
goto_if_false @WUZI2_3658
wait 0
$in_carX += 0.014
if 
  $in_carX > 0.5
goto_if_false @WUZI2_3646
$in_carX = 0.5

:WUZI2_3646
Clock.SetTimeScale($in_carX)
goto @WUZI2_3580

:WUZI2_3658
Particle.Kill(255@)
Particle.Kill(256@)

:WUZI2_3668
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "SF_JUMPWALL")
goto_if_false @WUZI2_3708
wait 0
goto @WUZI2_3668

:WUZI2_3708
Char.SetCoordinates($stattreadstamina_ctr, -1636.33, 1315.36, -1.0)
Char.SetHeading($stattreadstamina_ctr, 285.0)
TIMERA = 0

:WUZI2_3745
if 
  500 > TIMERA
goto_if_false @WUZI2_3775
wait 0
goto @WUZI2_3745

:WUZI2_3775
Clock.SetTimeScale(1.0)
Camera.SetFixedPosition(-1641.399, 1314.413, 1.3246, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1640.422, 1314.574, 1.1792, SwitchType.JumpCut)
47@ = 1
TIMERA = 0

:WUZI2_3847
if 
  1500 > TIMERA
goto_if_false @WUZI2_3877
wait 0
goto @WUZI2_3847

:WUZI2_3877
skip_cutscene_end 
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Particle.Kill(255@)
Particle.Kill(256@)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Game.SetAlwaysDraw3DMarkers(True)
277@ = 0
278@ = 0
280@ = -1625.651
281@ = 1317.92
279@ = 1
if 
  47@ == 0
goto_if_false @WUZI2_4018
Char.SetCoordinates($stattreadstamina_ctr, -1636.33, 1315.36, -1.0)
Char.SetHeading($stattreadstamina_ctr, 285.0)
Clock.SetTimeScale(1.0)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
goto @WUZI2_4020

:WUZI2_4018
Camera.Restore

:WUZI2_4020
Streaming.RemoveAnimation("DAM_JUMP")
47@ = 0
Text.ClearPrints
Text.PrintNow('WZI2_8', 8000, 1)
36@ = Blip.AddForCoord(-1449.642, 1501.135, 0.7366)
$guard_timer_W2 = 0
$7269 = 0
set_lvar_text_label 260@s = 'WZI2_A0'
set_lvar_text_label 262@s = 'WZI2_A1'
set_lvar_text_label 264@s = 'WZI2_A2'
set_lvar_text_label 266@s = 'WZI2_A3'
set_lvar_text_label 268@s = 'WZI2_A4'
set_lvar_text_label 270@s = 'WZI2_A5'
set_lvar_text_label 272@s = 'WZI2_A6'
set_lvar_text_label 274@s = 'WZI2_A7'
if 
  379@ == 0
goto_if_false @WUZI2_4248
258@ = Pickup.CreateWithAmmo(335, PickupType.Once, 1, -1595.0, 1345.0, -7.5)

:WUZI2_4248
TIMERB = 0

:WUZI2_4255
wait 0
gosub @WUZI2_16055
if 
  373@ == 2
goto_if_false @WUZI2_4296
Blip.Remove(259@)
goto @WUZI2_7278

:WUZI2_4296
gosub @WUZI2_8017
if 
  289@ == 2
goto_if_false @WUZI2_4328
goto @WUZI2_6224

:WUZI2_4328
switch_start $guard_timer_W2 {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @WUZI2_5276 {caseNum1} 0 {caseLabel1} @WUZI2_4391 {caseNum2} 1 {caseLabel2} @WUZI2_4880 {caseNum3} 2 {caseLabel3} @WUZI2_5040 {caseNum4} 3 {caseLabel4} @WUZI2_5217 {caseNum5} -1 {caseLabel5} @WUZI2_5276 {caseNum6} -1 {caseLabel6} @WUZI2_5276 {caseNum7} -1 {caseLabel7} @WUZI2_5276

:WUZI2_4391
if and
  Char.IsInArea3D($stattreadstamina_ctr, -1602.782, 1320.688, -8.0, -1606.119, 1331.51, 1.0, False)
  287@ == 0
goto_if_false @WUZI2_4759
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Text.ClearHelp
Text.ClearPrints
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorTrack(-1600.998, 1323.041, 1.9093, -1600.315, 1322.414, -2.0672, 6000, True)
Camera.SetVectorMove(-1598.525, 1318.594, 2.3701, -1598.525, 1318.594, -2.3701, 6000, True)
Text.PrintNow('WZI2_5', 8000, 1)
TIMERA = 0

:WUZI2_4568
if 
  800 > TIMERA
goto_if_false @WUZI2_4598
wait 0
goto @WUZI2_4568

:WUZI2_4598
skip_cutscene_start_internal @WUZI2_4717

:WUZI2_4605
if 
  Camera.IsVectorTrackRunning
goto_if_false @WUZI2_4629
wait 0
goto @WUZI2_4605

:WUZI2_4629
TIMERA = 0

:WUZI2_4636
if 
  1500 > TIMERA
goto_if_false @WUZI2_4666
wait 0
goto @WUZI2_4636

:WUZI2_4666
Camera.SetFixedPosition(-1598.525, 1318.594, 1.3701, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1599.181, 1319.288, 1.0744, SwitchType.JumpCut)

:WUZI2_4717
skip_cutscene_end 
Text.ClearPrints
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
$guard_timer_W2 += 1
TIMERB = 0
goto @WUZI2_4873

:WUZI2_4759
if 
  Char.IsInArea3D($stattreadstamina_ctr, -1611.833, 1334.313, 0.8012, -1615.812, 1329.394, -7.9862, False)
goto_if_false @WUZI2_4821
$guard_timer_W2 = 3
goto @WUZI2_4873

:WUZI2_4821
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, -1549.125, 1339.961, 3.5, 3.5, False)
goto_if_false @WUZI2_4873
282@ = 0
goto @WUZI2_5983

:WUZI2_4873
goto @WUZI2_5276

:WUZI2_4880
if 
  Char.IsInAngledAreaOnFoot3D($stattreadstamina_ctr, -1611.833, 1334.313, 0.8012, -1615.812, 1329.394, -7.9862, 2.0, False)
goto_if_false @WUZI2_4981
if 
  287@ == 1
goto_if_false @WUZI2_4967
Text.PrintNow('WZI2_6', 5000, 1)

:WUZI2_4967
$guard_timer_W2 += 1
goto @WUZI2_5033

:WUZI2_4981
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, -1549.125, 1339.961, 3.5, 3.5, False)
goto_if_false @WUZI2_5033
282@ = 0
goto @WUZI2_5983

:WUZI2_5033
goto @WUZI2_5276

:WUZI2_5040
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, -1612.208, 1349.552, 3.5, 3.5, False)
goto_if_false @WUZI2_5158
Text.ClearHelp
if 
  379@ == 0
goto_if_false @WUZI2_5136
Text.PrintNow('WZI2_7', 6000, 1)
259@ = Blip.AddForPickup(258@)
TIMERB = 0
goto @WUZI2_5144

:WUZI2_5136
TIMERB = 6001

:WUZI2_5144
$guard_timer_W2 += 1
goto @WUZI2_5210

:WUZI2_5158
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, -1549.125, 1339.961, 3.5, 3.5, False)
goto_if_false @WUZI2_5210
282@ = 0
goto @WUZI2_5983

:WUZI2_5210
goto @WUZI2_5276

:WUZI2_5217
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, -1549.125, 1339.961, 3.5, 3.5, False)
goto_if_false @WUZI2_5269
282@ = 0
goto @WUZI2_5983

:WUZI2_5269
goto @WUZI2_5276

:WUZI2_5276
gosub @WUZI2_5297
gosub @WUZI2_18290
goto @WUZI2_4255

:WUZI2_5297
switch_start 278@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @WUZI2_5487 {caseNum1} 0 {caseLabel1} @WUZI2_5360 {caseNum2} 1 {caseLabel2} @WUZI2_5466 {caseNum3} -1 {caseLabel3} @WUZI2_5487 {caseNum4} -1 {caseLabel4} @WUZI2_5487 {caseNum5} -1 {caseLabel5} @WUZI2_5487 {caseNum6} -1 {caseLabel6} @WUZI2_5487 {caseNum7} -1 {caseLabel7} @WUZI2_5487

:WUZI2_5360
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, 280@, 281@, 4.0, 4.0, 279@)
goto_if_false @WUZI2_5459
Checkpoint.Delete(276@)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
if 
  6 > 277@
goto_if_false @WUZI2_5452
278@ += 1
goto @WUZI2_5459

:WUZI2_5452
278@ = -1

:WUZI2_5459
goto @WUZI2_5487

:WUZI2_5466
gosub @WUZI2_5489
278@ -= 1
goto @WUZI2_5487

:WUZI2_5487
return 

:WUZI2_5489
277@ += 1
switch_start 277@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @WUZI2_5981 {caseNum1} 1 {caseLabel1} @WUZI2_5559 {caseNum2} 2 {caseLabel2} @WUZI2_5593 {caseNum3} 3 {caseLabel3} @WUZI2_5665 {caseNum4} 4 {caseLabel4} @WUZI2_5699 {caseNum5} 5 {caseLabel5} @WUZI2_5803 {caseNum6} 6 {caseLabel6} @WUZI2_5837 {caseNum7} 7 {caseLabel7} @WUZI2_5909

:WUZI2_5559
280@ = -1604.522
281@ = 1312.674
279@ = 1
goto @WUZI2_5981

:WUZI2_5593
280@ = -1611.557
281@ = 1330.789
276@ = Checkpoint.Create(CheckpointType.Torus, 280@, 281@, -2.2294, -1610.672, 1330.325, -2.2294, 0.8)
279@ = 0
goto @WUZI2_5981

:WUZI2_5665
280@ = -1626.098
281@ = 1343.811
279@ = 1
goto @WUZI2_5981

:WUZI2_5699
if 
  379@ > 0
goto_if_false @WUZI2_5796
280@ = -1596.333
281@ = 1345.053
276@ = Checkpoint.Create(CheckpointType.Torus, 280@, 281@, -6.2933, -1597.273, 1345.396, -6.2933, 0.8)
279@ = 0
goto @WUZI2_5981
goto @WUZI2_5803

:WUZI2_5796
277@ += 1

:WUZI2_5803
280@ = -1576.722
281@ = 1338.477
279@ = 1
goto @WUZI2_5981

:WUZI2_5837
280@ = -1559.138
281@ = 1333.954
276@ = Checkpoint.Create(CheckpointType.Torus, 280@, 281@, -5.3882, -1560.119, 1334.147, -5.3819, 1.2)
279@ = 0
goto @WUZI2_5981

:WUZI2_5909
280@ = -1548.216
281@ = 1342.198
276@ = Checkpoint.Create(CheckpointType.Torus, 280@, 281@, -7.0752, -1548.608, 1341.277, -7.0752, 1.2)
279@ = 0
goto @WUZI2_5981

:WUZI2_5981
return 

:WUZI2_5983
wait 0
gosub @WUZI2_8017
if 
  289@ == 2
goto_if_false @WUZI2_6019
goto @WUZI2_6224

:WUZI2_6019
if 
  287@ == 0
goto_if_false @WUZI2_6154
if 
  282@ == 0
goto_if_false @WUZI2_6147
if 
  not Char.IsInAngledAreaOnFoot3D($stattreadstamina_ctr, -1558.932, 1338.285, -5.0, -1563.078, 1329.29, 5.0, 10.0, False)
goto_if_false @WUZI2_6140
if 
  289@ == 0
goto_if_false @WUZI2_6133
goto @WUZI2_6224

:WUZI2_6133
goto @WUZI2_6147

:WUZI2_6140
282@ = 1

:WUZI2_6147
goto @WUZI2_6217

:WUZI2_6154
if 
  282@ == 1
goto_if_false @WUZI2_6217
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, -1549.125, 1339.961, 3.5, 3.5, False)
goto_if_false @WUZI2_6217
282@ = 0

:WUZI2_6217
goto @WUZI2_5983

:WUZI2_6224
$sy1_cesar_car_y = -2
Text.ClearHelp
Text.ClearPrints
Blip.Remove(259@)
Checkpoint.Delete(276@)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  289@ <> 2
goto_if_false @WUZI2_6823
Camera.SetBehindPlayer
TIMERA = 0

:WUZI2_6283
if 
  500 > TIMERA
goto_if_false @WUZI2_6313
wait 0
goto @WUZI2_6283

:WUZI2_6313
51@, 52@, 53@ = Camera.GetActiveCoordinates()
54@, 55@, 56@ = Camera.GetActivePointAt()
if 
  not Car.IsDead(291@)
goto_if_false @WUZI2_6365
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(291@)

:WUZI2_6365
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorTrack(54@, 55@, 56@, $on_footY, $on_footZ, $in_carX, 3500, True)
Camera.SetVectorMove(51@, 52@, 53@, 51@, 52@, 53@, 3500, True)
Text.PrintNow('WZI2_40', 8000, 1)
TIMERA = 0

:WUZI2_6448
if 
  1000 > TIMERA
goto_if_false @WUZI2_6478
wait 0
goto @WUZI2_6448

:WUZI2_6478
skip_cutscene_start_internal @WUZI2_6814
wait 0

:WUZI2_6489
if 
  Camera.IsVectorTrackRunning
goto_if_false @WUZI2_6513
wait 0
goto @WUZI2_6489

:WUZI2_6513
if 
  not Car.IsDead(290@)
goto_if_false @WUZI2_6543
$x, $y, $z = Car.GetCoordinates(290@)

:WUZI2_6543
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorTrack($on_footY, $on_footZ, $in_carX, $x, $y, $z, 3000, False)
Camera.SetVectorMove(51@, 52@, 53@, 51@, 52@, 53@, 3000, False)
wait 0

:WUZI2_6607
if 
  Camera.IsVectorTrackRunning
goto_if_false @WUZI2_6645
wait 0
gosub @WUZI2_9364
gosub @WUZI2_12194
goto @WUZI2_6607

:WUZI2_6645
Text.PrintNow('WZI2_41', 8000, 1)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorTrack($x, $y, $z, 54@, 55@, 56@, 4500, True)
Camera.SetVectorMove(51@, 52@, 53@, 51@, 52@, 53@, 4500, True)
wait 0

:WUZI2_6725
if 
  Camera.IsVectorTrackRunning
goto_if_false @WUZI2_6763
wait 0
gosub @WUZI2_9364
gosub @WUZI2_12194
goto @WUZI2_6725

:WUZI2_6763
TIMERA = 0

:WUZI2_6770
if 
  1000 > TIMERA
goto_if_false @WUZI2_6814
wait 0
gosub @WUZI2_9364
gosub @WUZI2_12194
goto @WUZI2_6770

:WUZI2_6814
skip_cutscene_end 
goto @WUZI2_7040

:WUZI2_6823
skip_cutscene_start_internal @WUZI2_7038
Camera.SetFixedPosition(-1568.742, 1385.366, 5.9871, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1569.707, 1385.126, 5.8767, SwitchType.JumpCut)
Text.PrintNow('WZI2_40', 6000, 1)
TIMERA = 0

:WUZI2_6904
if 
  6000 > TIMERA
goto_if_false @WUZI2_6934
wait 0
goto @WUZI2_6904

:WUZI2_6934
Camera.SetFixedPosition(-1494.649, 1350.358, 6.0727, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1495.164, 1349.516, 5.9146, SwitchType.JumpCut)
Text.PrintNow('WZI2_41', 6000, 1)
TIMERA = 0

:WUZI2_7008
if 
  6000 > TIMERA
goto_if_false @WUZI2_7038
wait 0
goto @WUZI2_7008

:WUZI2_7038
skip_cutscene_end 

:WUZI2_7040
Text.PrintNow('WZI2_8', 6000, 1)
if 
  not Car.IsDead(290@)
goto_if_false @WUZI2_7087
292@ = Blip.AddForCar(290@)
Blip.ChangeDisplay(292@, BlipDisplay.BlipOnly)

:WUZI2_7087
if 
  not Car.IsDead(291@)
goto_if_false @WUZI2_7118
293@ = Blip.AddForCar(291@)
Blip.ChangeDisplay(293@, BlipDisplay.BlipOnly)

:WUZI2_7118
407@ = Blip.AddForSearchlight(383@)
408@ = Blip.AddForSearchlight(384@)
409@ = Blip.AddForSearchlight(385@)
410@ = Blip.AddForSearchlight(386@)
if 
  not Car.IsDead(413@)
goto_if_false @WUZI2_7181
415@ = Blip.AddForCar(413@)
Blip.ChangeDisplay(415@, BlipDisplay.BlipOnly)

:WUZI2_7181
if 
  not Car.IsDead(414@)
goto_if_false @WUZI2_7212
416@ = Blip.AddForCar(414@)
Blip.ChangeDisplay(416@, BlipDisplay.BlipOnly)

:WUZI2_7212
Text.PrintNow('WZI2_8', 6000, 1)
$sy1_cesar_car_z = 1
288@ = 0
$sy1_cesar_car_h = 0
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Char.ClearTasks($stattreadstamina_ctr)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
283@ = 0

:WUZI2_7278
wait 0
37@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 38@ = 37@
sub_int_lvar_from_int_lvar 38@ -= 39@
set_lvar_int_to_lvar_int 39@ = 37@
add_int_lvar_to_int_lvar 288@ += 38@
add_int_lvar_to_int_var $p_current_square[0] += 38@
add_int_lvar_to_int_var $p_current_square[1] += 38@
if 
  373@ <> 2
goto_if_false @WUZI2_7459
gosub @WUZI2_8017
gosub @WUZI2_9364
gosub @WUZI2_12194
gosub @WUZI2_13003
gosub @WUZI2_14422
if 
  $player_status_W2 > 35
goto_if_false @WUZI2_7438
if 
  284@ == 0
goto_if_false @WUZI2_7431
284@ = 1

:WUZI2_7431
gosub @WUZI2_20108

:WUZI2_7438
gosub @WUZI2_18290
gosub @WUZI2_16055
goto @WUZI2_7466

:WUZI2_7459
gosub @WUZI2_16700

:WUZI2_7466
gosub @WUZI2_20987
if 
  283@ == 0
goto_if_false @WUZI2_7597
if 
  Char.IsInWater($stattreadstamina_ctr)
goto_if_false @WUZI2_7590
if 
  287@ == 0
goto_if_false @WUZI2_7590
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, -1447.128, 1501.241, 6.0, 6.0, False)
goto_if_false @WUZI2_7590
Text.ClearHelp
Text.PrintHelpForever('WZI2_C0')
TIMERB = 0
283@ += 1

:WUZI2_7590
goto @WUZI2_8003

:WUZI2_7597
if 
  283@ == 1
goto_if_false @WUZI2_7723
if 
  TIMERB > 8000
goto_if_false @WUZI2_7636
Text.ClearHelp

:WUZI2_7636
if 
  not Char.IsInWater($stattreadstamina_ctr)
goto_if_false @WUZI2_7716
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1449.642, 1501.135, 0.7366, 2.0, 2.0, 2.0, False)
goto_if_false @WUZI2_7716
Text.ClearHelp
gosub @WUZI2_22319
283@ += 1

:WUZI2_7716
goto @WUZI2_8003

:WUZI2_7723
gosub @WUZI2_23872
gosub @WUZI2_24874
gosub @WUZI2_25427
if 
  48@ == 0
goto_if_false @WUZI2_7948
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1372.733, 1495.55, 0.8578, 1.2, 1.2, 2.0, True)
goto_if_false @WUZI2_7941
if 
  522@ <> 2
goto_if_false @WUZI2_7925
Text.PrintNow('WZI2_30', 1000, 1)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @WUZI2_7918
Text.ClearPrints
Text.PrintNow('WZI2_32', 6000, 1)
Blip.Remove(36@)
36@ = Blip.AddForCoord(-1508.558, 1296.067, 0.397)
48@ = 1
gosub @WUZI2_18207

:WUZI2_7918
goto @WUZI2_7941

:WUZI2_7925
Text.PrintNow('WZI2_31', 3000, 1)

:WUZI2_7941
goto @WUZI2_8003

:WUZI2_7948
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1508.558, 1296.067, 0.397, 1.2, 1.2, 2.0, True)
goto_if_false @WUZI2_8003
goto @WUZI2_26588

:WUZI2_8003
gosub @WUZI2_21524
goto @WUZI2_7278

:WUZI2_8017
287@ = 0
286@ = 0
if 
  Char.IsSwimming($stattreadstamina_ctr)
goto_if_false @WUZI2_8329
285@ = Char.GetSwimState($stattreadstamina_ctr)
if 
  is_int_lvar_equal_to_constant 285@ == 4
goto_if_false @WUZI2_8119
287@ = 1
if 
  0 >= $sy1_cesar_car_y
goto_if_false @WUZI2_8112
$sy1_cesar_car_z = 1
$sy1_cesar_car_y = -2

:WUZI2_8112
goto @WUZI2_8144

:WUZI2_8119
if 
  is_int_lvar_equal_to_constant 285@ == 2
goto_if_false @WUZI2_8144
286@ = 1

:WUZI2_8144
if 
  289@ == 1
goto_if_false @WUZI2_8322
if or
  Char.IsInAngledArea2D($stattreadstamina_ctr, -1559.287, 1337.199, -1562.583, 1327.257, -62.9096, False)
  Char.IsInAngledArea2D($stattreadstamina_ctr, -1590.327, 1336.881, -1607.206, 1307.565, -37.0915, False)
  Char.IsInAngledArea2D($stattreadstamina_ctr, -1616.574, 1319.336, -1632.86, 1303.452, -23.9075, False)
  Char.IsInAngledArea2D($stattreadstamina_ctr, -1595.184, 1316.681, -1603.483, 1308.894, -8.3514, False)
goto_if_false @WUZI2_8315
289@ = 0
goto @WUZI2_8322

:WUZI2_8315
289@ = 2

:WUZI2_8322
goto @WUZI2_8377

:WUZI2_8329
if 
  289@ == 0
goto_if_false @WUZI2_8354
289@ = 1

:WUZI2_8354
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @WUZI2_8377
286@ = 1

:WUZI2_8377
return 

:WUZI2_8379
Path.SwitchRoadsOff(-1328.999, 1239.997, -5.0, -1655.868, 1638.755, 10.0)
World.ClearAreaOfCars(-1328.999, 1239.997, -5.0, -1655.868, 1638.755, 10.0)
331@ = -1605.0
332@ = -1565.0
333@ = -1525.0
334@ = -1485.0
335@ = -1445.0
336@ = -1405.0
337@ = -1365.0
338@ = 1315.0
339@ = 1355.0
340@ = 1395.0
341@ = 1435.0
342@ = 1475.0
343@ = -1585.0
344@ = -1545.0
345@ = -1505.0
346@ = -1465.0
347@ = -1425.0
348@ = -1385.0
349@ = 1335.0
350@ = 1375.0
351@ = 1415.0
352@ = 1455.0
$player_status_W2 = 0
$player_breath_W2 = -1
359@ = 40.0
357@ = 3.0
358@ = 0.1
290@ = Car.Create(454, -1585.0, 1375.0, 1.0)
Boat.Anchor(290@, True)
300@ = Char.CreateInsideCar(290@, PedType.Mission1, 121)
308@ = Char.Create(PedType.Mission1, 121, -1585.0, 1375.0, 4.0)
Char.AttachToCar(308@, 290@, 0.0, 9.0, 2.1, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(308@, True)
Char.SetAccuracy(308@, 80)
Char.SetShootRate(308@, 20)
322@ = 0.0
309@ = Char.Create(PedType.Mission1, 122, -1585.0, 1375.0, 4.0)
Char.AttachToCar(309@, 290@, -1.0, -1.0, 3.7, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(309@, True)
Char.SetAccuracy(309@, 80)
Char.SetShootRate(309@, 20)
323@ = -90.0
310@ = Char.Create(PedType.Mission1, 123, -1585.0, 1375.0, 4.0)
Char.AttachToCar(310@, 290@, 1.0, -4.0, 1.15, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(310@, True)
Char.SetAccuracy(310@, 80)
Char.SetShootRate(310@, 20)
324@ = 140.0
294@ = 0
296@ = 17
$square_attack_status_W2[0] = 0
291@ = Car.Create(454, -1505.0, 1335.0, 1.0)
Boat.Anchor(291@, True)
301@ = Char.CreateInsideCar(291@, PedType.Mission1, 121)
311@ = Char.Create(PedType.Mission1, 121, -1585.0, 1375.0, 4.0)
Char.AttachToCar(311@, 291@, 0.0, 9.0, 2.1, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(311@, True)
Char.SetAccuracy(311@, 80)
Char.SetShootRate(311@, 20)
325@ = 0.0
312@ = Char.Create(PedType.Mission1, 122, -1585.0, 1375.0, 4.0)
Char.AttachToCar(312@, 291@, -1.0, -1.0, 3.7, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(312@, True)
Char.SetAccuracy(312@, 80)
Char.SetShootRate(312@, 20)
326@ = -90.0
313@ = Char.Create(PedType.Mission1, 123, -1585.0, 1375.0, 4.0)
Char.AttachToCar(313@, 291@, 1.0, -4.0, 1.15, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(313@, True)
Char.SetAccuracy(313@, 80)
Char.SetShootRate(313@, 20)
327@ = 140.0
295@ = 0
297@ = 11
$square_attack_status_W2[1] = 0
$y_grid_pos_W2 = 0
return 

:WUZI2_9364
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
$player_first_spot_W2 = -1
$sy1_cesar_car_x = -1
$guard_pointer_W2 = 0

:WUZI2_9399
if 
  7 > $guard_pointer_W2
goto_if_false @WUZI2_9469
if 
  is_float_lvar_greater_than_float_var 331@($guard_pointer_W2,7f) > $on_footY
goto_if_false @WUZI2_9455
set_var_int_to_var_int $player_first_spot_W2 = $guard_pointer_W2
$guard_pointer_W2 = 7

:WUZI2_9455
$guard_pointer_W2 += 1
goto @WUZI2_9399

:WUZI2_9469
if 
  $player_first_spot_W2 == -1
goto_if_false @WUZI2_9494
$player_first_spot_W2 = 7

:WUZI2_9494
$guard_pointer_W2 = 0

:WUZI2_9501
if 
  5 > $guard_pointer_W2
goto_if_false @WUZI2_9571
if 
  is_float_lvar_greater_than_float_var 338@($guard_pointer_W2,5f) > $on_footZ
goto_if_false @WUZI2_9557
set_var_int_to_var_int $sy1_cesar_car_x = $guard_pointer_W2
$guard_pointer_W2 = 5

:WUZI2_9557
$guard_pointer_W2 += 1
goto @WUZI2_9501

:WUZI2_9571
if 
  $sy1_cesar_car_x == -1
goto_if_false @WUZI2_9596
$sy1_cesar_car_x = 5

:WUZI2_9596
$sy1_cesar_car_x *= 8
set_var_int_to_var_int $player_status_W2 = $player_first_spot_W2
add_int_var_to_int_var $player_status_W2 += $sy1_cesar_car_x
if 
  not is_int_var_equal_to_int_var $player_status_W2 == $player_breath_W2
goto_if_false @WUZI2_9653
gosub @WUZI2_9655
set_var_int_to_var_int $player_breath_W2 = $player_status_W2

:WUZI2_9653
return 

:WUZI2_9655
switch_start $player_status_W2 {numCases} 48 {hasDefaultCase} 0 {defaultLabel} @WUZI2_12067 {caseNum1} 0 {caseLabel1} @WUZI2_10043 {caseNum2} 1 {caseLabel2} @WUZI2_10043 {caseNum3} 2 {caseLabel3} @WUZI2_10099 {caseNum4} 3 {caseLabel4} @WUZI2_10099 {caseNum5} 4 {caseLabel5} @WUZI2_10155 {caseNum6} 5 {caseLabel6} @WUZI2_10211 {caseNum7} 6 {caseLabel7} @WUZI2_10267
switch_continued 7 {caseLabel1} @WUZI2_10267 {caseNum2} 8 {caseLabel2} @WUZI2_10323 {caseNum3} 9 {caseLabel3} @WUZI2_10379 {caseNum4} 10 {caseLabel4} @WUZI2_10379 {caseNum5} 11 {caseLabel5} @WUZI2_10435 {caseNum6} 12 {caseLabel6} @WUZI2_10491 {caseNum7} 13 {caseLabel7} @WUZI2_10547 {caseNum8} 14 {caseLabel8} @WUZI2_10603 {caseNum9} 15 {caseLabel9} @WUZI2_10267
switch_continued 16 {caseLabel1} @WUZI2_10659 {caseNum2} 17 {caseLabel2} @WUZI2_10715 {caseNum3} 18 {caseLabel3} @WUZI2_10771 {caseNum4} 19 {caseLabel4} @WUZI2_10827 {caseNum5} 20 {caseLabel5} @WUZI2_10883 {caseNum6} 21 {caseLabel6} @WUZI2_10939 {caseNum7} 22 {caseLabel7} @WUZI2_11041 {caseNum8} 23 {caseLabel8} @WUZI2_11143 {caseNum9} 24 {caseLabel9} @WUZI2_11199
switch_continued 25 {caseLabel1} @WUZI2_11255 {caseNum2} 26 {caseLabel2} @WUZI2_11311 {caseNum3} 27 {caseLabel3} @WUZI2_11413 {caseNum4} 28 {caseLabel4} @WUZI2_11547 {caseNum5} 29 {caseLabel5} @WUZI2_11041 {caseNum6} 30 {caseLabel6} @WUZI2_10939 {caseNum7} 31 {caseLabel7} @WUZI2_11603 {caseNum8} 32 {caseLabel8} @WUZI2_11659 {caseNum9} 33 {caseLabel9} @WUZI2_11715
switch_continued 34 {caseLabel1} @WUZI2_11413 {caseNum2} 35 {caseLabel2} @WUZI2_11311 {caseNum3} 36 {caseLabel3} @WUZI2_11803 {caseNum4} 37 {caseLabel4} @WUZI2_11891 {caseNum5} 38 {caseLabel5} @WUZI2_11979 {caseNum6} 39 {caseLabel6} @WUZI2_11979 {caseNum7} 40 {caseLabel7} @WUZI2_11659 {caseNum8} 41 {caseLabel8} @WUZI2_11659 {caseNum9} 42 {caseLabel9} @WUZI2_11715
switch_continued 43 {caseLabel1} @WUZI2_11803 {caseNum2} 44 {caseLabel2} @WUZI2_11803 {caseNum3} 45 {caseLabel3} @WUZI2_11891 {caseNum4} 46 {caseLabel4} @WUZI2_11979 {caseNum5} 47 {caseLabel5} @WUZI2_11979 {caseNum6} -1 {caseLabel6} @WUZI2_12067 {caseNum7} -1 {caseLabel7} @WUZI2_12067 {caseNum8} -1 {caseLabel8} @WUZI2_12067 {caseNum9} -1 {caseLabel9} @WUZI2_12067

:WUZI2_10043
360@ = 17
362@ = 0
364@ = 1
361@ = 11
363@ = 2
365@ = 0
$x_grid_pos_W2 = -1
goto @WUZI2_12067

:WUZI2_10099
360@ = 18
362@ = 1
364@ = 1
361@ = 11
363@ = 2
365@ = 0
$x_grid_pos_W2 = 4
goto @WUZI2_12067

:WUZI2_10155
360@ = 18
362@ = 1
364@ = 1
361@ = 12
363@ = 3
365@ = 0
$x_grid_pos_W2 = 4
goto @WUZI2_12067

:WUZI2_10211
360@ = 18
362@ = 1
364@ = 1
361@ = 13
363@ = 4
365@ = 0
$x_grid_pos_W2 = 4
goto @WUZI2_12067

:WUZI2_10267
360@ = 18
362@ = 1
364@ = 1
361@ = 14
363@ = 5
365@ = 0
$x_grid_pos_W2 = 4
goto @WUZI2_12067

:WUZI2_10323
360@ = 17
362@ = 0
364@ = 1
361@ = 11
363@ = 2
365@ = 0
$x_grid_pos_W2 = 3
goto @WUZI2_12067

:WUZI2_10379
360@ = 18
362@ = 1
364@ = 1
361@ = 11
363@ = 2
365@ = 0
$x_grid_pos_W2 = 5
goto @WUZI2_12067

:WUZI2_10435
360@ = 18
362@ = 1
364@ = 1
361@ = 12
363@ = 3
365@ = 0
$x_grid_pos_W2 = 2
goto @WUZI2_12067

:WUZI2_10491
360@ = 18
362@ = 1
364@ = 1
361@ = 20
363@ = 3
365@ = 1
$x_grid_pos_W2 = 1
goto @WUZI2_12067

:WUZI2_10547
360@ = 18
362@ = 1
364@ = 1
361@ = 21
363@ = 4
365@ = 1
$x_grid_pos_W2 = 1
goto @WUZI2_12067

:WUZI2_10603
360@ = 18
362@ = 1
364@ = 1
361@ = 22
363@ = 5
365@ = 1
$x_grid_pos_W2 = 1
goto @WUZI2_12067

:WUZI2_10659
360@ = 17
362@ = 0
364@ = 1
361@ = 20
363@ = 3
365@ = 1
$x_grid_pos_W2 = 3
goto @WUZI2_12067

:WUZI2_10715
360@ = 25
362@ = 0
364@ = 2
361@ = 20
363@ = 3
365@ = 1
$x_grid_pos_W2 = 0
goto @WUZI2_12067

:WUZI2_10771
360@ = 26
362@ = 1
364@ = 2
361@ = 20
363@ = 3
365@ = 1
$x_grid_pos_W2 = 0
goto @WUZI2_12067

:WUZI2_10827
360@ = 27
362@ = 2
364@ = 2
361@ = 20
363@ = 3
365@ = 1
$x_grid_pos_W2 = 2
goto @WUZI2_12067

:WUZI2_10883
360@ = 27
362@ = 2
364@ = 2
361@ = 28
363@ = 3
365@ = 2
$x_grid_pos_W2 = 1
goto @WUZI2_12067

:WUZI2_10939
360@ = 27
362@ = 2
364@ = 2
if 
  $player_breath_W2 == 29
goto_if_false @WUZI2_11006
361@ = 22
363@ = 5
365@ = 1
goto @WUZI2_11027

:WUZI2_11006
361@ = 29
363@ = 4
365@ = 2

:WUZI2_11027
$x_grid_pos_W2 = 1
goto @WUZI2_12067

:WUZI2_11041
360@ = 27
362@ = 2
364@ = 2
if 
  $player_breath_W2 == 30
goto_if_false @WUZI2_11108
361@ = 21
363@ = 4
365@ = 1
goto @WUZI2_11129

:WUZI2_11108
361@ = 30
363@ = 5
365@ = 2

:WUZI2_11129
$x_grid_pos_W2 = 1
goto @WUZI2_12067

:WUZI2_11143
360@ = 27
362@ = 2
364@ = 2
361@ = 22
363@ = 5
365@ = 1
$x_grid_pos_W2 = 4
goto @WUZI2_12067

:WUZI2_11199
360@ = 25
362@ = 0
364@ = 2
361@ = 28
363@ = 3
365@ = 2
$x_grid_pos_W2 = 3
goto @WUZI2_12067

:WUZI2_11255
360@ = 33
362@ = 0
364@ = 3
361@ = 28
363@ = 3
365@ = 2
$x_grid_pos_W2 = 0
goto @WUZI2_12067

:WUZI2_11311
if 
  $player_breath_W2 == 34
goto_if_false @WUZI2_11357
360@ = 27
362@ = 2
364@ = 2
goto @WUZI2_11378

:WUZI2_11357
360@ = 34
362@ = 1
364@ = 3

:WUZI2_11378
361@ = 28
363@ = 3
365@ = 2
$x_grid_pos_W2 = 0
goto @WUZI2_12067

:WUZI2_11413
if 
  $player_breath_W2 == 35
goto_if_false @WUZI2_11459
360@ = 26
362@ = 1
364@ = 2
goto @WUZI2_11480

:WUZI2_11459
360@ = 35
362@ = 2
364@ = 3

:WUZI2_11480
361@ = 28
363@ = 3
365@ = 2
if 
  $player_status_W2 == 27
goto_if_false @WUZI2_11533
$x_grid_pos_W2 = 2
goto @WUZI2_11540

:WUZI2_11533
$x_grid_pos_W2 = 0

:WUZI2_11540
goto @WUZI2_12067

:WUZI2_11547
360@ = 27
362@ = 2
364@ = 2
361@ = 29
363@ = 4
365@ = 2
$x_grid_pos_W2 = 2
goto @WUZI2_12067

:WUZI2_11603
360@ = 27
362@ = 2
364@ = 2
361@ = 30
363@ = 5
365@ = 2
$x_grid_pos_W2 = 4
goto @WUZI2_12067

:WUZI2_11659
360@ = 33
362@ = 0
364@ = 3
361@ = 28
363@ = 3
365@ = 2
$x_grid_pos_W2 = 3
goto @WUZI2_12067

:WUZI2_11715
360@ = 34
362@ = 1
364@ = 3
361@ = 28
363@ = 3
365@ = 2
if 
  $x_grid_pos_W2 == 33
goto_if_false @WUZI2_11789
$x_grid_pos_W2 = 0
goto @WUZI2_11796

:WUZI2_11789
$x_grid_pos_W2 = 3

:WUZI2_11796
goto @WUZI2_12067

:WUZI2_11803
360@ = 35
362@ = 2
364@ = 3
361@ = 28
363@ = 3
365@ = 2
if 
  $x_grid_pos_W2 == 36
goto_if_false @WUZI2_11877
$x_grid_pos_W2 = 5
goto @WUZI2_11884

:WUZI2_11877
$x_grid_pos_W2 = 3

:WUZI2_11884
goto @WUZI2_12067

:WUZI2_11891
360@ = 35
362@ = 2
364@ = 3
361@ = 29
363@ = 4
365@ = 2
if 
  $x_grid_pos_W2 == 37
goto_if_false @WUZI2_11965
$x_grid_pos_W2 = 4
goto @WUZI2_11972

:WUZI2_11965
$x_grid_pos_W2 = -1

:WUZI2_11972
goto @WUZI2_12067

:WUZI2_11979
360@ = 35
362@ = 2
364@ = 3
361@ = 30
363@ = 5
365@ = 2
if 
  40 > $x_grid_pos_W2
goto_if_false @WUZI2_12053
$x_grid_pos_W2 = 4
goto @WUZI2_12060

:WUZI2_12053
$x_grid_pos_W2 = -1

:WUZI2_12060
goto @WUZI2_12067

:WUZI2_12067
$guard_pointer_W2 = 0

:WUZI2_12074
if 
  2 > $guard_pointer_W2
goto_if_false @WUZI2_12192
if 
  not is_int_lvar_equal_to_int_lvar 296@($guard_pointer_W2,2i) == 360@($guard_pointer_W2,2i)
goto_if_false @WUZI2_12178
set_lvar_int_to_lvar_int 353@($guard_pointer_W2,2i) = 362@($guard_pointer_W2,2i)
set_lvar_int_to_lvar_int 355@($guard_pointer_W2,2i) = 364@($guard_pointer_W2,2i)
294@($guard_pointer_W2,2i) = 1
set_lvar_int_to_lvar_int 296@($guard_pointer_W2,2i) = 360@($guard_pointer_W2,2i)

:WUZI2_12178
$guard_pointer_W2 += 1
goto @WUZI2_12074

:WUZI2_12192
return 

:WUZI2_12194
$guard_pointer_W2 = 0

:WUZI2_12201
if 
  2 > $guard_pointer_W2
goto_if_false @WUZI2_13001
if 
  not Car.IsDead(290@($guard_pointer_W2,2i))
goto_if_false @WUZI2_12987
switch_start 294@($guard_pointer_W2,2i) {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @WUZI2_12987 {caseNum1} 1 {caseLabel1} @WUZI2_12306 {caseNum2} 2 {caseLabel2} @WUZI2_12417 {caseNum3} 3 {caseLabel3} @WUZI2_12882 {caseNum4} -1 {caseLabel4} @WUZI2_12987 {caseNum5} -1 {caseLabel5} @WUZI2_12987 {caseNum6} -1 {caseLabel6} @WUZI2_12987 {caseNum7} -1 {caseLabel7} @WUZI2_12987

:WUZI2_12306
set_lvar_int_to_lvar_int 366@ = 353@($guard_pointer_W2,2i)
set_lvar_int_to_lvar_int 367@ = 355@($guard_pointer_W2,2i)
Boat.Anchor(290@($guard_pointer_W2,2i), False)
Boat.Goto(290@($guard_pointer_W2,2i), 343@(366@,6f), 349@(367@,4f), 0.0)
Boat.SetCruiseSpeed(290@($guard_pointer_W2,2i), 7.0)
314@($guard_pointer_W2,2f) = Car.GetSpeed(290@($guard_pointer_W2,2i))
294@($guard_pointer_W2,2i) += 1
goto @WUZI2_12987

:WUZI2_12417
set_lvar_int_to_lvar_int 366@ = 353@($guard_pointer_W2,2i)
set_lvar_int_to_lvar_int 367@ = 355@($guard_pointer_W2,2i)
if 
  Car.Locate2D(290@($guard_pointer_W2,2i), 343@(366@,6f), 349@(367@,4f), 8.0, 8.0, False)
goto_if_false @WUZI2_12521
314@($guard_pointer_W2,2f) = Car.GetSpeed(290@($guard_pointer_W2,2i))
294@($guard_pointer_W2,2i) += 1
goto @WUZI2_12875

:WUZI2_12521
if 
  is_float_lvar_greater_than_float_lvar 357@ > 314@($guard_pointer_W2,2f)
goto_if_false @WUZI2_12572
add_float_lvar_to_float_lvar 314@($guard_pointer_W2,2f) += 358@
Car.SetForwardSpeed(290@($guard_pointer_W2,2i), 314@($guard_pointer_W2,2f))

:WUZI2_12572
316@($guard_pointer_W2,2f), 318@($guard_pointer_W2,2f), $in_carX = Car.GetCoordinates(290@($guard_pointer_W2,2i))
320@($guard_pointer_W2,2f) = Car.GetHeading(290@($guard_pointer_W2,2i))
set_var_float_to_lvar_float $on_footY = 343@(366@,6f)
sub_float_lvar_from_float_var $on_footY -= 316@($guard_pointer_W2,2f)
set_var_float_to_lvar_float $on_footZ = 349@(367@,4f)
sub_float_lvar_from_float_var $on_footZ -= 318@($guard_pointer_W2,2f)

:WUZI2_12662
if 
  320@($guard_pointer_W2,2f) >= 180.0
goto_if_false @WUZI2_12708
320@($guard_pointer_W2,2f) += -360.0
goto @WUZI2_12662

:WUZI2_12708
$on_footX = Math.GetHeadingFromVector2D($on_footY, $on_footZ)

:WUZI2_12719
if 
  $on_footX >= 180.0
goto_if_false @WUZI2_12757
$on_footX += -360.0
goto @WUZI2_12719

:WUZI2_12757
set_var_float_to_var_float $in_carX = $on_footX
sub_float_lvar_from_float_var $in_carX -= 320@($guard_pointer_W2,2f)
if 
  -180.0 >= $in_carX
goto_if_false @WUZI2_12808
$in_carX += 360.0

:WUZI2_12808
if 
  $in_carX >= 180.0
goto_if_false @WUZI2_12839
$in_carX += -360.0

:WUZI2_12839
div_float_var_by_float_lvar $in_carX /= 359@
add_float_var_to_float_lvar 320@($guard_pointer_W2,2f) += $in_carX
Car.SetHeading(290@($guard_pointer_W2,2i), 320@($guard_pointer_W2,2f))

:WUZI2_12875
goto @WUZI2_12987

:WUZI2_12882
sub_float_lvar_from_float_lvar 314@($guard_pointer_W2,2f) -= 358@
Car.SetForwardSpeed(290@($guard_pointer_W2,2i), 314@($guard_pointer_W2,2f))
if 
  2.5 > 314@($guard_pointer_W2,2f)
goto_if_false @WUZI2_12980
Car.SetForwardSpeed(290@($guard_pointer_W2,2i), 1.0)
Boat.Stop(290@($guard_pointer_W2,2i))
Boat.Anchor(290@($guard_pointer_W2,2i), True)
294@($guard_pointer_W2,2i) = 0

:WUZI2_12980
goto @WUZI2_12987

:WUZI2_12987
$guard_pointer_W2 += 1
goto @WUZI2_12201

:WUZI2_13001
return 

:WUZI2_13003
$guard_pointer_W2 = 0
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)

:WUZI2_13024
if 
  2 > $guard_pointer_W2
goto_if_false @WUZI2_14314
if 
  not Car.IsDead(290@($guard_pointer_W2,2i))
goto_if_false @WUZI2_14238
368@($guard_pointer_W2,2i) = 0
switch_start $guard_pointer_W2 {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @WUZI2_13399 {caseNum1} 0 {caseLabel1} @WUZI2_13136 {caseNum2} 1 {caseLabel2} @WUZI2_13278 {caseNum3} -1 {caseLabel3} @WUZI2_13399 {caseNum4} -1 {caseLabel4} @WUZI2_13399 {caseNum5} -1 {caseLabel5} @WUZI2_13399 {caseNum6} -1 {caseLabel6} @WUZI2_13399 {caseNum7} -1 {caseLabel7} @WUZI2_13399

:WUZI2_13136
if or
  $x_grid_pos_W2 == 0
  $x_grid_pos_W2 == 2
goto_if_false @WUZI2_13179
368@($guard_pointer_W2,2i) = 1
goto @WUZI2_13271

:WUZI2_13179
if or
  $x_grid_pos_W2 == 3
  $x_grid_pos_W2 == 5
goto_if_false @WUZI2_13271
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(290@($guard_pointer_W2,2i))
$heading = Math.GetDistanceBetweenCoords2D($x, $y, $on_footY, $on_footZ)
if 
  29.0 > $heading
goto_if_false @WUZI2_13271
368@($guard_pointer_W2,2i) = 1

:WUZI2_13271
goto @WUZI2_13399

:WUZI2_13278
if or
  $x_grid_pos_W2 == 1
  $x_grid_pos_W2 == 2
goto_if_false @WUZI2_13321
368@($guard_pointer_W2,2i) = 1
goto @WUZI2_13392

:WUZI2_13321
if or
  $x_grid_pos_W2 == 4
  $x_grid_pos_W2 == 5
goto_if_false @WUZI2_13392
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 290@($guard_pointer_W2,2i), 30.0, 30.0, False)
goto_if_false @WUZI2_13392
368@($guard_pointer_W2,2i) = 1

:WUZI2_13392
goto @WUZI2_13399

:WUZI2_13399
switch_start $square_attack_status_W2($guard_pointer_W2,2i) {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @WUZI2_14231 {caseNum1} 0 {caseLabel1} @WUZI2_13466 {caseNum2} 1 {caseLabel2} @WUZI2_13732 {caseNum3} 2 {caseLabel3} @WUZI2_13841 {caseNum4} 3 {caseLabel4} @WUZI2_13986 {caseNum5} 4 {caseLabel5} @WUZI2_14136 {caseNum6} -1 {caseLabel6} @WUZI2_14231 {caseNum7} -1 {caseLabel7} @WUZI2_14231

:WUZI2_13466
if 
  $sy1_cesar_car_z == 0
goto_if_false @WUZI2_13725
if or
  368@($guard_pointer_W2,2i) == 0
  287@ == 1
goto_if_false @WUZI2_13639
set_var_int_to_var_int $help_text_flag_W2 = $guard_pointer_W2
$help_text_flag_W2 *= 3
set_var_int_to_var_int $guard_status_W2 = $help_text_flag_W2
$guard_status_W2 += 3

:WUZI2_13543
if 
  is_int_var_greater_than_int_var $guard_status_W2 > $help_text_flag_W2
goto_if_false @WUZI2_13632
if 
  not Char.IsDead(308@($help_text_flag_W2,6i))
goto_if_false @WUZI2_13618
set_var_float_to_lvar_float $on_footX = 320@($guard_pointer_W2,2f)
sub_float_lvar_from_float_var $on_footX -= 322@($help_text_flag_W2,6f)
Char.SetHeading(308@($help_text_flag_W2,6i), $on_footX)

:WUZI2_13618
$help_text_flag_W2 += 1
goto @WUZI2_13543

:WUZI2_13632
goto @WUZI2_13725

:WUZI2_13639
if or
  286@ == 1
  $sy1_cesar_car_y >= 3
goto_if_false @WUZI2_13689
gosub @WUZI2_14316
$square_attack_status_W2($guard_pointer_W2,2i) = 3
goto @WUZI2_13725

:WUZI2_13689
if 
  0 >= $sy1_cesar_car_y
goto_if_false @WUZI2_13714
288@ = 0

:WUZI2_13714
$square_attack_status_W2($guard_pointer_W2,2i) += 1

:WUZI2_13725
goto @WUZI2_14231

:WUZI2_13732
if or
  368@($guard_pointer_W2,2i) == 0
  287@ == 1
goto_if_false @WUZI2_13790
$p_current_square($guard_pointer_W2,2i) = 0
$square_attack_status_W2($guard_pointer_W2,2i) += 1
goto @WUZI2_13834

:WUZI2_13790
if or
  288@ > 6000
  286@ == 1
goto_if_false @WUZI2_13834
gosub @WUZI2_14316
$square_attack_status_W2($guard_pointer_W2,2i) = 3

:WUZI2_13834
goto @WUZI2_14231

:WUZI2_13841
if or
  368@($guard_pointer_W2,2i) == 0
  287@ == 1
goto_if_false @WUZI2_13911
if 
  $p_current_square($guard_pointer_W2,2i) > 3000
goto_if_false @WUZI2_13904
$square_attack_status_W2($guard_pointer_W2,2i) = 0

:WUZI2_13904
goto @WUZI2_13979

:WUZI2_13911
if and
  3 > $sy1_cesar_car_y
  286@ == 0
goto_if_false @WUZI2_13961
288@ = 0
$square_attack_status_W2($guard_pointer_W2,2i) -= 1
goto @WUZI2_13979

:WUZI2_13961
gosub @WUZI2_14316
$square_attack_status_W2($guard_pointer_W2,2i) = 3

:WUZI2_13979
goto @WUZI2_14231

:WUZI2_13986
if or
  368@($guard_pointer_W2,2i) == 0
  287@ == 1
goto_if_false @WUZI2_14129
set_var_int_to_var_int $help_text_flag_W2 = $guard_pointer_W2
$help_text_flag_W2 *= 3
set_var_int_to_var_int $guard_status_W2 = $help_text_flag_W2
$guard_status_W2 += 3

:WUZI2_14045
if 
  is_int_var_greater_than_int_var $guard_status_W2 > $help_text_flag_W2
goto_if_false @WUZI2_14107
if 
  not Char.IsDead(308@($help_text_flag_W2,6i))
goto_if_false @WUZI2_14093
Char.ClearTasks(308@($help_text_flag_W2,6i))

:WUZI2_14093
$help_text_flag_W2 += 1
goto @WUZI2_14045

:WUZI2_14107
$p_current_square($guard_pointer_W2,2i) = 0
$square_attack_status_W2($guard_pointer_W2,2i) += 1

:WUZI2_14129
goto @WUZI2_14231

:WUZI2_14136
if or
  368@($guard_pointer_W2,2i) == 0
  287@ == 1
goto_if_false @WUZI2_14206
if 
  $p_current_square($guard_pointer_W2,2i) > 5000
goto_if_false @WUZI2_14199
$square_attack_status_W2($guard_pointer_W2,2i) = 0

:WUZI2_14199
goto @WUZI2_14224

:WUZI2_14206
gosub @WUZI2_14316
$square_attack_status_W2($guard_pointer_W2,2i) = 3

:WUZI2_14224
goto @WUZI2_14231

:WUZI2_14231
goto @WUZI2_14300

:WUZI2_14238
if 
  Blip.DoesExist(292@($guard_pointer_W2,2i))
goto_if_false @WUZI2_14267
Blip.Remove(292@($guard_pointer_W2,2i))

:WUZI2_14267
if 
  $square_attack_status_W2($guard_pointer_W2,2i) <> 0
goto_if_false @WUZI2_14300
$square_attack_status_W2($guard_pointer_W2,2i) = 0

:WUZI2_14300
$guard_pointer_W2 += 1
goto @WUZI2_13024

:WUZI2_14314
return 

:WUZI2_14316
set_var_int_to_var_int $help_text_flag_W2 = $guard_pointer_W2
$help_text_flag_W2 *= 3
set_var_int_to_var_int $guard_status_W2 = $help_text_flag_W2
$guard_status_W2 += 3

:WUZI2_14346
if 
  is_int_var_greater_than_int_var $guard_status_W2 > $help_text_flag_W2
goto_if_false @WUZI2_14420
if 
  not Char.IsDead(308@($help_text_flag_W2,6i))
goto_if_false @WUZI2_14406
Char.ClearTasks(308@($help_text_flag_W2,6i))
Task.KillCharOnFoot(308@($help_text_flag_W2,6i), $stattreadstamina_ctr)

:WUZI2_14406
$help_text_flag_W2 += 1
goto @WUZI2_14346

:WUZI2_14420
return 

:WUZI2_14422
switch_start $sy1_cesar_car_y {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @WUZI2_15489 {caseNum1} -2 {caseLabel1} @WUZI2_14485 {caseNum2} -1 {caseLabel2} @WUZI2_14531 {caseNum3} 0 {caseLabel3} @WUZI2_14586 {caseNum4} 1 {caseLabel4} @WUZI2_14742 {caseNum5} 2 {caseLabel5} @WUZI2_14919 {caseNum6} 3 {caseLabel6} @WUZI2_15124 {caseNum7} 4 {caseLabel7} @WUZI2_15248

:WUZI2_14485
if 
  287@ == 0
goto_if_false @WUZI2_14524
370@, 371@, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
$sy1_cesar_car_y = -1

:WUZI2_14524
goto @WUZI2_15489

:WUZI2_14531
if 
  not Char.LocateOnFoot2D($stattreadstamina_ctr, 370@, 371@, 2.5, 2.5, False)
goto_if_false @WUZI2_14579
$sy1_cesar_car_z = 0
$sy1_cesar_car_y = 0

:WUZI2_14579
goto @WUZI2_15489

:WUZI2_14586
if or
  $square_attack_status_W2[0] > 0
  $square_attack_status_W2[1] > 0
goto_if_false @WUZI2_14735
if and
  3 > $square_attack_status_W2[0]
  3 > $square_attack_status_W2[1]
goto_if_false @WUZI2_14689
123@ = 0
gosub @WUZI2_17920
$sy1_cesar_car_y = 1
if 
  $sy1_cesar_car_h == 0
goto_if_false @WUZI2_14682
$sy1_cesar_car_h = 1

:WUZI2_14682
goto @WUZI2_14735

:WUZI2_14689
123@ = 18
gosub @WUZI2_17920
$sy1_cesar_car_y = 3
if 
  $sy1_cesar_car_h == 0
goto_if_false @WUZI2_14735
$sy1_cesar_car_h = 1

:WUZI2_14735
goto @WUZI2_15489

:WUZI2_14742
if or
  $square_attack_status_W2[0] >= 3
  $square_attack_status_W2[1] >= 3
goto_if_false @WUZI2_14795
123@ = 18
gosub @WUZI2_17920
$sy1_cesar_car_y = 3
goto @WUZI2_14912

:WUZI2_14795
if and
  $square_attack_status_W2[0] <> 1
  $square_attack_status_W2[1] <> 1
goto_if_false @WUZI2_14912
if or
  $square_attack_status_W2[0] == 2
  $square_attack_status_W2[1] == 2
goto_if_false @WUZI2_14859
$sy1_cesar_car_y = 2
goto @WUZI2_14912

:WUZI2_14859
if or
  $square_attack_status_W2[0] == 0
  $square_attack_status_W2[1] == 0
goto_if_false @WUZI2_14912
123@ = 9
gosub @WUZI2_17920
$sy1_cesar_car_z = 1
$sy1_cesar_car_y = -2

:WUZI2_14912
goto @WUZI2_15489

:WUZI2_14919
if or
  $square_attack_status_W2[0] >= 3
  $square_attack_status_W2[1] >= 3
goto_if_false @WUZI2_14972
123@ = 18
gosub @WUZI2_17920
$sy1_cesar_car_y = 3
goto @WUZI2_15117

:WUZI2_14972
if and
  $square_attack_status_W2[0] <> 2
  $square_attack_status_W2[1] <> 2
goto_if_false @WUZI2_15117
if or
  $square_attack_status_W2[0] == 1
  $square_attack_status_W2[1] == 1
goto_if_false @WUZI2_15057
123@ = 0
gosub @WUZI2_18052
gosub @WUZI2_17920
$sy1_cesar_car_y = 1
goto @WUZI2_15117

:WUZI2_15057
if or
  $square_attack_status_W2[0] == 0
  $square_attack_status_W2[1] == 0
goto_if_false @WUZI2_15117
123@ = 9
gosub @WUZI2_17920
gosub @WUZI2_18052
$sy1_cesar_car_z = 1
$sy1_cesar_car_y = -2

:WUZI2_15117
goto @WUZI2_15489

:WUZI2_15124
if and
  $square_attack_status_W2[0] <> 3
  $square_attack_status_W2[1] <> 3
goto_if_false @WUZI2_15241
if or
  $square_attack_status_W2[0] == 4
  $square_attack_status_W2[1] == 4
goto_if_false @WUZI2_15241
123@ = 27
if 
  $square_attack_status_W2[0] == 4
goto_if_false @WUZI2_15213
125@ = 0
goto @WUZI2_15220

:WUZI2_15213
125@ = 1

:WUZI2_15220
gosub @WUZI2_17920
$sy1_cesar_car_y = 4
gosub @WUZI2_18052

:WUZI2_15241
goto @WUZI2_15489

:WUZI2_15248
if and
  $square_attack_status_W2[0] <> 4
  $square_attack_status_W2[1] <> 4
goto_if_false @WUZI2_15482
if or
  $square_attack_status_W2[0] == 3
  $square_attack_status_W2[1] == 3
goto_if_false @WUZI2_15429
if 
  $square_attack_status_W2[0] == 3
goto_if_false @WUZI2_15362
if 
  125@ == 0
goto_if_false @WUZI2_15348
123@ = 45
goto @WUZI2_15355

:WUZI2_15348
123@ = 45

:WUZI2_15355
goto @WUZI2_15401

:WUZI2_15362
if 
  125@ == 1
goto_if_false @WUZI2_15394
123@ = 45
goto @WUZI2_15401

:WUZI2_15394
123@ = 45

:WUZI2_15401
gosub @WUZI2_18052
gosub @WUZI2_17920
$sy1_cesar_car_y = 3
goto @WUZI2_15482

:WUZI2_15429
if and
  $square_attack_status_W2[0] == 0
  $square_attack_status_W2[1] == 0
goto_if_false @WUZI2_15482
123@ = 36
gosub @WUZI2_17920
$sy1_cesar_car_z = 1
$sy1_cesar_car_y = -2

:WUZI2_15482
goto @WUZI2_15489

:WUZI2_15489
switch_start $sy1_cesar_car_h {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @WUZI2_16053 {caseNum1} 0 {caseLabel1} @WUZI2_15552 {caseNum2} 1 {caseLabel2} @WUZI2_15602 {caseNum3} 2 {caseLabel3} @WUZI2_15634 {caseNum4} 3 {caseLabel4} @WUZI2_15737 {caseNum5} 4 {caseLabel5} @WUZI2_15840 {caseNum6} 5 {caseLabel6} @WUZI2_15943 {caseNum7} -1 {caseLabel7} @WUZI2_16053

:WUZI2_15552
if 
  284@ == 1
goto_if_false @WUZI2_15595
Text.PrintHelpForever('WZI2_42')
TIMERB = 0
284@ += 1

:WUZI2_15595
goto @WUZI2_16053

:WUZI2_15602
Text.PrintHelpForever('WZI2_36')
TIMERB = 0
$sy1_cesar_car_h += 1
goto @WUZI2_16053

:WUZI2_15634
if 
  TIMERB > 6000
goto_if_false @WUZI2_15730
Text.ClearHelp
if 
  284@ == 1
goto_if_false @WUZI2_15705
Text.PrintHelpForever('WZI2_42')
TIMERB = 0
284@ += 1
goto @WUZI2_15730

:WUZI2_15705
Text.PrintHelpForever('WZI2_37')
TIMERB = 0
$sy1_cesar_car_h += 1

:WUZI2_15730
goto @WUZI2_16053

:WUZI2_15737
if 
  TIMERB > 6000
goto_if_false @WUZI2_15833
Text.ClearHelp
if 
  284@ == 1
goto_if_false @WUZI2_15808
Text.PrintHelpForever('WZI2_42')
TIMERB = 0
284@ += 1
goto @WUZI2_15833

:WUZI2_15808
Text.PrintHelpForever('WZI2_38')
TIMERB = 0
$sy1_cesar_car_h += 1

:WUZI2_15833
goto @WUZI2_16053

:WUZI2_15840
if 
  TIMERB > 6000
goto_if_false @WUZI2_15936
Text.ClearHelp
if 
  284@ == 1
goto_if_false @WUZI2_15911
Text.PrintHelpForever('WZI2_42')
TIMERB = 0
284@ += 1
goto @WUZI2_15936

:WUZI2_15911
Text.PrintHelpForever('WZI2_39')
TIMERB = 0
$sy1_cesar_car_h += 1

:WUZI2_15936
goto @WUZI2_16053

:WUZI2_15943
if 
  TIMERB > 6000
goto_if_false @WUZI2_16046
Text.ClearHelp
if 
  284@ == 1
goto_if_false @WUZI2_16021
Text.PrintHelpForever('WZI2_42')
TIMERB = 0
284@ += 1
$sy1_cesar_car_h += 1
goto @WUZI2_16046

:WUZI2_16021
if 
  284@ == 2
goto_if_false @WUZI2_16046
$sy1_cesar_car_h += 1

:WUZI2_16046
goto @WUZI2_16053

:WUZI2_16053
return 

:WUZI2_16055
372@ = 0

:WUZI2_16062
if 
  6 > 372@
goto_if_false @WUZI2_16179
if 
  not Char.IsDead(308@(372@,6i))
goto_if_false @WUZI2_16158
if 
  Char.HasBeenDamagedByChar(308@(372@,6i), $stattreadstamina_ctr)
goto_if_false @WUZI2_16144
373@ = 1
372@ = 6
goto @WUZI2_16151

:WUZI2_16144
372@ += 1

:WUZI2_16151
goto @WUZI2_16172

:WUZI2_16158
373@ = 1
372@ = 6

:WUZI2_16172
goto @WUZI2_16062

:WUZI2_16179
if 
  373@ == 0
goto_if_false @WUZI2_16321
372@ = 0

:WUZI2_16204
if 
  6 > 372@
goto_if_false @WUZI2_16321
if 
  not Char.IsDead(417@(372@,6i))
goto_if_false @WUZI2_16300
if 
  Char.HasBeenDamagedByChar(417@(372@,6i), $stattreadstamina_ctr)
goto_if_false @WUZI2_16286
373@ = 1
372@ = 6
goto @WUZI2_16293

:WUZI2_16286
372@ += 1

:WUZI2_16293
goto @WUZI2_16314

:WUZI2_16300
373@ = 1
372@ = 6

:WUZI2_16314
goto @WUZI2_16204

:WUZI2_16321
if 
  373@ == 1
goto_if_false @WUZI2_16353
gosub @WUZI2_16355
373@ = 2

:WUZI2_16353
return 

:WUZI2_16355
Text.ClearHelp
Text.ClearPrints
if 
  not Car.IsDead(290@)
goto_if_false @WUZI2_16406
if 
  not Blip.DoesExist(292@)
goto_if_false @WUZI2_16406
292@ = Blip.AddForCar(290@)
Blip.ChangeDisplay(292@, BlipDisplay.BlipOnly)

:WUZI2_16406
if 
  not Car.IsDead(291@)
goto_if_false @WUZI2_16453
if 
  not Blip.DoesExist(293@)
goto_if_false @WUZI2_16453
293@ = Blip.AddForCar(291@)
Blip.ChangeDisplay(293@, BlipDisplay.BlipOnly)

:WUZI2_16453
if 
  not Car.IsDead(413@)
goto_if_false @WUZI2_16500
if 
  not Blip.DoesExist(415@)
goto_if_false @WUZI2_16500
415@ = Blip.AddForCar(413@)
Blip.ChangeDisplay(415@, BlipDisplay.BlipOnly)

:WUZI2_16500
if 
  not Car.IsDead(414@)
goto_if_false @WUZI2_16547
if 
  not Blip.DoesExist(416@)
goto_if_false @WUZI2_16547
416@ = Blip.AddForCar(414@)
Blip.ChangeDisplay(416@, BlipDisplay.BlipOnly)

:WUZI2_16547
372@ = 0

:WUZI2_16554
if 
  6 > 372@
goto_if_false @WUZI2_16670
if 
  not Char.IsDead(308@(372@,6i))
goto_if_false @WUZI2_16614
Char.SetAccuracy(308@(372@,6i), 80)
Char.SetShootRate(308@(372@,6i), 50)

:WUZI2_16614
if 
  not Char.IsDead(417@(372@,6i))
goto_if_false @WUZI2_16656
Char.SetAccuracy(417@(372@,6i), 80)
Char.SetShootRate(417@(372@,6i), 50)

:WUZI2_16656
372@ += 1
goto @WUZI2_16554

:WUZI2_16670
374@ = 0
375@ = 0
376@ = 0
377@ = 0
return 

:WUZI2_16700
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  not Car.IsDead(290@)
goto_if_false @WUZI2_16994
if 
  374@ == 0
goto_if_false @WUZI2_16883
if 
  Car.Locate2D(290@, $x, $y, 75.0, 75.0, False)
goto_if_false @WUZI2_16876
if 
  not Char.IsDead(308@)
goto_if_false @WUZI2_16811
Char.ClearTasks(308@)
Task.KillCharOnFoot(308@, $stattreadstamina_ctr)

:WUZI2_16811
if 
  not Char.IsDead(309@)
goto_if_false @WUZI2_16840
Char.ClearTasks(309@)
Task.KillCharOnFoot(309@, $stattreadstamina_ctr)

:WUZI2_16840
if 
  not Char.IsDead(310@)
goto_if_false @WUZI2_16869
Char.ClearTasks(310@)
Task.KillCharOnFoot(310@, $stattreadstamina_ctr)

:WUZI2_16869
374@ = 1

:WUZI2_16876
goto @WUZI2_16987

:WUZI2_16883
if 
  not Car.Locate2D(290@, $x, $y, 85.0, 85.0, False)
goto_if_false @WUZI2_16987
if 
  not Char.IsDead(308@)
goto_if_false @WUZI2_16938
Char.ClearTasks(308@)

:WUZI2_16938
if 
  not Char.IsDead(309@)
goto_if_false @WUZI2_16959
Char.ClearTasks(309@)

:WUZI2_16959
if 
  not Char.IsDead(310@)
goto_if_false @WUZI2_16980
Char.ClearTasks(310@)

:WUZI2_16980
374@ = 0

:WUZI2_16987
goto @WUZI2_17015

:WUZI2_16994
if 
  Blip.DoesExist(292@)
goto_if_false @WUZI2_17015
Blip.Remove(292@)

:WUZI2_17015
if 
  not Car.IsDead(291@)
goto_if_false @WUZI2_17295
if 
  375@ == 0
goto_if_false @WUZI2_17184
if 
  Car.Locate2D(291@, $x, $y, 75.0, 75.0, False)
goto_if_false @WUZI2_17177
if 
  not Char.IsDead(311@)
goto_if_false @WUZI2_17112
Char.ClearTasks(311@)
Task.KillCharOnFoot(311@, $stattreadstamina_ctr)

:WUZI2_17112
if 
  not Char.IsDead(312@)
goto_if_false @WUZI2_17141
Char.ClearTasks(312@)
Task.KillCharOnFoot(312@, $stattreadstamina_ctr)

:WUZI2_17141
if 
  not Char.IsDead(313@)
goto_if_false @WUZI2_17170
Char.ClearTasks(313@)
Task.KillCharOnFoot(313@, $stattreadstamina_ctr)

:WUZI2_17170
375@ = 1

:WUZI2_17177
goto @WUZI2_17288

:WUZI2_17184
if 
  not Car.Locate2D(291@, $x, $y, 85.0, 85.0, False)
goto_if_false @WUZI2_17288
if 
  not Char.IsDead(311@)
goto_if_false @WUZI2_17239
Char.ClearTasks(311@)

:WUZI2_17239
if 
  not Char.IsDead(312@)
goto_if_false @WUZI2_17260
Char.ClearTasks(312@)

:WUZI2_17260
if 
  not Char.IsDead(313@)
goto_if_false @WUZI2_17281
Char.ClearTasks(313@)

:WUZI2_17281
375@ = 0

:WUZI2_17288
goto @WUZI2_17316

:WUZI2_17295
if 
  Blip.DoesExist(293@)
goto_if_false @WUZI2_17316
Blip.Remove(293@)

:WUZI2_17316
if 
  not Car.IsDead(413@)
goto_if_false @WUZI2_17596
if 
  376@ == 0
goto_if_false @WUZI2_17485
if 
  Car.Locate2D(413@, $x, $y, 75.0, 75.0, False)
goto_if_false @WUZI2_17478
if 
  not Char.IsDead(417@)
goto_if_false @WUZI2_17413
Char.ClearTasks(417@)
Task.KillCharOnFoot(417@, $stattreadstamina_ctr)

:WUZI2_17413
if 
  not Char.IsDead(418@)
goto_if_false @WUZI2_17442
Char.ClearTasks(418@)
Task.KillCharOnFoot(418@, $stattreadstamina_ctr)

:WUZI2_17442
if 
  not Char.IsDead(419@)
goto_if_false @WUZI2_17471
Char.ClearTasks(419@)
Task.KillCharOnFoot(419@, $stattreadstamina_ctr)

:WUZI2_17471
376@ = 1

:WUZI2_17478
goto @WUZI2_17589

:WUZI2_17485
if 
  not Car.Locate2D(413@, $x, $y, 85.0, 85.0, False)
goto_if_false @WUZI2_17589
if 
  not Char.IsDead(417@)
goto_if_false @WUZI2_17540
Char.ClearTasks(417@)

:WUZI2_17540
if 
  not Char.IsDead(418@)
goto_if_false @WUZI2_17561
Char.ClearTasks(418@)

:WUZI2_17561
if 
  not Char.IsDead(419@)
goto_if_false @WUZI2_17582
Char.ClearTasks(419@)

:WUZI2_17582
376@ = 0

:WUZI2_17589
goto @WUZI2_17617

:WUZI2_17596
if 
  Blip.DoesExist(415@)
goto_if_false @WUZI2_17617
Blip.Remove(415@)

:WUZI2_17617
if 
  not Car.IsDead(414@)
goto_if_false @WUZI2_17897
if 
  377@ == 0
goto_if_false @WUZI2_17786
if 
  Car.Locate2D(414@, $x, $y, 75.0, 75.0, False)
goto_if_false @WUZI2_17779
if 
  not Char.IsDead(420@)
goto_if_false @WUZI2_17714
Char.ClearTasks(420@)
Task.KillCharOnFoot(420@, $stattreadstamina_ctr)

:WUZI2_17714
if 
  not Char.IsDead(421@)
goto_if_false @WUZI2_17743
Char.ClearTasks(421@)
Task.KillCharOnFoot(421@, $stattreadstamina_ctr)

:WUZI2_17743
if 
  not Char.IsDead(422@)
goto_if_false @WUZI2_17772
Char.ClearTasks(422@)
Task.KillCharOnFoot(422@, $stattreadstamina_ctr)

:WUZI2_17772
377@ = 1

:WUZI2_17779
goto @WUZI2_17890

:WUZI2_17786
if 
  not Car.Locate2D(414@, $x, $y, 85.0, 85.0, False)
goto_if_false @WUZI2_17890
if 
  not Char.IsDead(420@)
goto_if_false @WUZI2_17841
Char.ClearTasks(420@)

:WUZI2_17841
if 
  not Char.IsDead(421@)
goto_if_false @WUZI2_17862
Char.ClearTasks(421@)

:WUZI2_17862
if 
  not Char.IsDead(422@)
goto_if_false @WUZI2_17883
Char.ClearTasks(422@)

:WUZI2_17883
377@ = 0

:WUZI2_17890
goto @WUZI2_17918

:WUZI2_17897
if 
  Blip.DoesExist(416@)
goto_if_false @WUZI2_17918
Blip.Remove(416@)

:WUZI2_17918
return 

:WUZI2_17920
set_lvar_int_to_lvar_int 57@ = 122@
57@ *= 3
add_int_lvar_to_int_lvar 57@ += 121@
add_int_lvar_to_int_lvar 57@ += 123@
if 
  368@ == 1
goto_if_false @WUZI2_17984
set_lvar_int_to_lvar_int 378@ = 121@
goto @WUZI2_17999

:WUZI2_17984
set_lvar_int_to_lvar_int 378@ = 121@
378@ += 3

:WUZI2_17999
set_var_int_to_lvar_int $1280 = 58@(57@,63i)
set_var_text_label s$SLOT_status = 127@(57@,63s)
start_new_script @A_ALAP 2 124@ 308@(378@,6i) 
124@ += 1
return 

:WUZI2_18052
121@ += 1
if 
  121@ == 3
goto_if_false @WUZI2_18116
121@ = 0
122@ += 1
if 
  122@ == 3
goto_if_false @WUZI2_18116
122@ = 0

:WUZI2_18116
return 

:WUZI2_18118
380@, 381@, 381@ = Char.GetWeaponInSlot($stattreadstamina_ctr, WeaponSlot.Melee)
if 
  is_int_lvar_equal_to_constant 380@ == 0
goto_if_false @WUZI2_18166
379@ = 0
goto @WUZI2_18205

:WUZI2_18166
if 
  is_int_lvar_equal_to_constant 380@ == 4
goto_if_false @WUZI2_18198
379@ = 1
goto @WUZI2_18205

:WUZI2_18198
379@ = 2

:WUZI2_18205
return 

:WUZI2_18207
$help_text_flag_W2 = 0

:WUZI2_18214
if 
  6 > $help_text_flag_W2
goto_if_false @WUZI2_18288
if 
  not Char.IsDead(308@($help_text_flag_W2,6i))
goto_if_false @WUZI2_18274
Char.SetAccuracy(308@($help_text_flag_W2,6i), 30)
Char.SetShootRate(308@($help_text_flag_W2,6i), 30)

:WUZI2_18274
$help_text_flag_W2 += 1
goto @WUZI2_18214

:WUZI2_18288
return 

:WUZI2_18290
if 
  382@ == 1
goto_if_false @WUZI2_18640
if and
is_ps2_keyboard_key_pressed 71
  TIMERB > 200
goto_if_false @WUZI2_18345
TIMERB = 0
382@ = 0

:WUZI2_18345
Debugger.Line(331@, 338@, 2.0, 337@, 338@, 2.0)
Debugger.Line(331@, 339@, 2.0, 337@, 339@, 2.0)
Debugger.Line(331@, 340@, 2.0, 337@, 340@, 2.0)
Debugger.Line(331@, 341@, 2.0, 337@, 341@, 2.0)
Debugger.Line(331@, 342@, 2.0, 337@, 342@, 2.0)
Debugger.Line(331@, 338@, 2.0, 331@, 342@, 2.0)
Debugger.Line(332@, 338@, 2.0, 332@, 342@, 2.0)
Debugger.Line(333@, 338@, 2.0, 333@, 342@, 2.0)
Debugger.Line(334@, 338@, 2.0, 334@, 342@, 2.0)
Debugger.Line(335@, 338@, 2.0, 335@, 342@, 2.0)
Debugger.Line(336@, 338@, 2.0, 336@, 342@, 2.0)
Debugger.Line(337@, 338@, 2.0, 337@, 342@, 2.0)
goto @WUZI2_18695

:WUZI2_18640
if 
  382@ == 0
goto_if_false @WUZI2_18695
if and
is_ps2_keyboard_key_pressed 71
  TIMERB > 200
goto_if_false @WUZI2_18695
TIMERB = 0
382@ = 1

:WUZI2_18695
return 

:WUZI2_18697
383@ = Searchlight.Create(-1474.145, 1484.038, 11.3824, -1465.154, 1463.004, -0.5, 25.0, 1.0)
389@ = Object.CreateNoOffset(#A51_SPOTBASE, -1474.145, 1484.038, 10.8824)
Object.SetHeading(389@, 326.1907)
395@ = Object.CreateNoOffset(#A51_SPOTHOUSING, -1474.145, 1484.038, 10.8824)
401@ = Object.CreateNoOffset(#A51_SPOTBULB, -1474.145, 1484.038, 10.8824)
Searchlight.AttachToObject(383@, 389@, 395@, 401@, 0.0, 1.181, 0.768)
Object.SetHealth(401@, 1000)
Searchlight.MoveBetweenCoords(383@, -1465.154, 1463.004, -0.5, -1489.672, 1472.111, -0.5, 0.1)
Searchlight.SetClipIfColliding(383@, False)
428@ = 0
384@ = Searchlight.Create(-1474.198, 1494.927, 11.6265, -1459.363, 1514.413, -0.5, 25.0, 1.0)
390@ = Object.CreateNoOffset(#A51_SPOTBASE, -1474.198, 1494.927, 10.8824)
Object.SetHeading(390@, 34.4591)
396@ = Object.CreateNoOffset(#A51_SPOTHOUSING, -1474.198, 1494.927, 10.8824)
402@ = Object.CreateNoOffset(#A51_SPOTBULB, -1474.198, 1494.927, 10.8824)
Searchlight.AttachToObject(384@, 390@, 396@, 402@, 0.0, 1.181, 0.768)
Object.SetHealth(402@, 1000)
Searchlight.MoveBetweenCoords(384@, -1459.363, 1514.413, -0.5, -1491.379, 1501.309, -0.5, 0.08)
Searchlight.SetClipIfColliding(384@, False)
429@ = 0
385@ = Searchlight.Create(-1369.279, 1484.219, 14.3425, -1351.937, 1504.435, -0.5, 25.0, 1.0)
391@ = Object.CreateNoOffset(#A51_SPOTBASE, -1369.279, 1484.219, 13.8425)
Object.SetHeading(391@, 32.5701)
397@ = Object.CreateNoOffset(#A51_SPOTHOUSING, -1369.279, 1484.219, 13.8425)
403@ = Object.CreateNoOffset(#A51_SPOTBULB, -1369.279, 1484.219, 13.8425)
Searchlight.AttachToObject(385@, 391@, 397@, 403@, 0.0, 1.181, 0.768)
Object.SetHealth(403@, 1000)
Searchlight.MoveBetweenCoords(385@, -1347.143, 1476.63, -0.5, -1370.499, 1465.479, -0.5, 0.08)
Searchlight.SetClipIfColliding(385@, False)
430@ = 0
386@ = Searchlight.Create(-1368.467, 1494.225, 14.3425, -1347.143, 1476.63, -0.5, 25.0, 1.0)
392@ = Object.CreateNoOffset(#A51_SPOTBASE, -1368.467, 1494.225, 13.8425)
Object.SetHeading(392@, 327.3304)
398@ = Object.CreateNoOffset(#A51_SPOTHOUSING, -1368.467, 1494.225, 13.8425)
404@ = Object.CreateNoOffset(#A51_SPOTBULB, -1368.467, 1494.225, 13.8425)
Searchlight.AttachToObject(386@, 392@, 398@, 404@, 0.0, 1.181, 0.768)
Object.SetHealth(404@, 1000)
Searchlight.MoveBetweenCoords(386@, -1351.937, 1504.435, -0.5, -1377.028, 1515.729, -0.5, 0.1)
Searchlight.SetClipIfColliding(386@, False)
431@ = 0
413@ = Car.Create(454, -1491.662, 1488.5, 1.0)
Car.SetHeading(413@, 180.0)
Boat.Anchor(413@, True)
417@ = Char.Create(PedType.Mission1, 123, -1521.0, 1492.0, 5.0)
Char.AttachToCar(417@, 413@, 0.0, 9.0, 2.1, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(417@, True)
Char.SetAccuracy(417@, 80)
Char.SetShootRate(417@, 20)
418@ = Char.Create(PedType.Mission1, 122, -1521.0, 1492.0, 5.0)
Char.AttachToCar(418@, 413@, -1.0, -1.0, 3.7, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(418@, True)
Char.SetAccuracy(418@, 80)
Char.SetShootRate(418@, 20)
419@ = Char.Create(PedType.Mission1, 121, -1521.0, 1492.0, 5.0)
Char.AttachToCar(419@, 413@, 1.0, -4.0, 1.15, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(419@, True)
Char.SetAccuracy(419@, 80)
Char.SetShootRate(419@, 20)
414@ = Car.Create(454, -1350.12, 1488.5, 1.0)
Car.SetHeading(414@, 0.0)
Boat.Anchor(414@, True)
420@ = Char.Create(PedType.Mission1, 123, -1322.0, 1489.5, 5.0)
Char.AttachToCar(420@, 414@, 0.0, 9.0, 2.1, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(420@, True)
Char.SetAccuracy(420@, 80)
Char.SetShootRate(420@, 20)
421@ = Char.Create(PedType.Mission1, 122, -1322.0, 1489.5, 5.0)
Char.AttachToCar(421@, 414@, -1.0, -1.0, 3.7, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(421@, True)
Char.SetAccuracy(421@, 80)
Char.SetShootRate(421@, 20)
422@ = Char.Create(PedType.Mission1, 121, -1322.0, 1489.5, 5.0)
Char.AttachToCar(422@, 414@, 1.0, -4.0, 1.15, 0, 360.0, WeaponType.Ak47)
Task.StayInSamePlace(422@, True)
Char.SetAccuracy(422@, 80)
Char.SetShootRate(422@, 20)
423@ = 0
return 

:WUZI2_20108
switch_start 423@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @WUZI2_20689 {caseNum1} 0 {caseLabel1} @WUZI2_20171 {caseNum2} 1 {caseLabel2} @WUZI2_20483 {caseNum3} -1 {caseLabel3} @WUZI2_20689 {caseNum4} -1 {caseLabel4} @WUZI2_20689 {caseNum5} -1 {caseLabel5} @WUZI2_20689 {caseNum6} -1 {caseLabel6} @WUZI2_20689 {caseNum7} -1 {caseLabel7} @WUZI2_20689

:WUZI2_20171
if 
  287@ == 0
goto_if_false @WUZI2_20476
if 
  not 424@ = Char.IsInAnySearchlight($stattreadstamina_ctr)
goto_if_false @WUZI2_20392
if 
  not Char.IsInWater($stattreadstamina_ctr)
goto_if_false @WUZI2_20378
if 
  not Car.IsDead(413@)
goto_if_false @WUZI2_20301
if 
  Char.IsTouchingVehicle($stattreadstamina_ctr, 413@)
goto_if_false @WUZI2_20301
123@ = 18
gosub @WUZI2_17920
425@ = 0
gosub @WUZI2_20691
423@ = 1
goto @WUZI2_20689

:WUZI2_20301
if 
  not Car.IsDead(414@)
goto_if_false @WUZI2_20371
if 
  Char.IsTouchingVehicle($stattreadstamina_ctr, 414@)
goto_if_false @WUZI2_20371
123@ = 18
gosub @WUZI2_17920
425@ = 1
gosub @WUZI2_20691
423@ = 1

:WUZI2_20371
goto @WUZI2_20385

:WUZI2_20378
goto @WUZI2_20689

:WUZI2_20385
goto @WUZI2_20476

:WUZI2_20392
123@ = 18
gosub @WUZI2_17920
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  -1430.0 > $x
goto_if_false @WUZI2_20455
425@ = 0
goto @WUZI2_20462

:WUZI2_20455
425@ = 1

:WUZI2_20462
gosub @WUZI2_20691
423@ = 1

:WUZI2_20476
goto @WUZI2_20689

:WUZI2_20483
if 
  not Car.IsDead(413@(425@,2i))
goto_if_false @WUZI2_20661
if 
  287@ == 0
goto_if_false @WUZI2_20612
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(413@(425@,2i))
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
$heading = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, $x, $y)
if 
  55.0 > $heading
goto_if_false @WUZI2_20598
goto @WUZI2_20689

:WUZI2_20598
123@ = 36
goto @WUZI2_20619

:WUZI2_20612
123@ = 27

:WUZI2_20619
gosub @WUZI2_17920
425@ += 2
gosub @WUZI2_20691
gosub @WUZI2_18052
423@ = 0
goto @WUZI2_20682

:WUZI2_20661
425@ += 2
gosub @WUZI2_20691
423@ = 0

:WUZI2_20682
goto @WUZI2_20689

:WUZI2_20689
return 

:WUZI2_20691
427@ = 0
switch_start 425@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @WUZI2_20985 {caseNum1} 0 {caseLabel1} @WUZI2_20761 {caseNum2} 1 {caseLabel2} @WUZI2_20873 {caseNum3} 2 {caseLabel3} @WUZI2_20761 {caseNum4} 3 {caseLabel4} @WUZI2_20873 {caseNum5} -1 {caseLabel5} @WUZI2_20985 {caseNum6} -1 {caseLabel6} @WUZI2_20985 {caseNum7} -1 {caseLabel7} @WUZI2_20985

:WUZI2_20761
426@ = 0

:WUZI2_20768
if 
  3 > 426@
goto_if_false @WUZI2_20866
if 
  not Char.IsDead(417@(426@,6i))
goto_if_false @WUZI2_20852
Char.ClearTasks(417@(426@,6i))
if 
  425@ == 0
goto_if_false @WUZI2_20845
Task.KillCharOnFoot(417@(426@,6i), $stattreadstamina_ctr)

:WUZI2_20845
427@ += 1

:WUZI2_20852
426@ += 1
goto @WUZI2_20768

:WUZI2_20866
goto @WUZI2_20985

:WUZI2_20873
426@ = 3

:WUZI2_20880
if 
  6 > 426@
goto_if_false @WUZI2_20978
if 
  not Char.IsDead(417@(426@,6i))
goto_if_false @WUZI2_20964
Char.ClearTasks(417@(426@,6i))
if 
  425@ == 1
goto_if_false @WUZI2_20957
Task.KillCharOnFoot(417@(426@,6i), $stattreadstamina_ctr)

:WUZI2_20957
427@ += 1

:WUZI2_20964
426@ += 1
goto @WUZI2_20880

:WUZI2_20978
goto @WUZI2_20985

:WUZI2_20985
return 

:WUZI2_20987
$guard_pointer_W2 = 0

:WUZI2_20994
if 
  4 > $guard_pointer_W2
goto_if_false @WUZI2_21117
if and
  428@($guard_pointer_W2,6i) == 0
  Object.DoesExist(401@($guard_pointer_W2,6i))
goto_if_false @WUZI2_21103
434@ = Object.GetHealth(401@($guard_pointer_W2,6i))
if 
  1000 > 434@
goto_if_false @WUZI2_21103
Searchlight.Delete(383@($guard_pointer_W2,6i))
Blip.Remove(407@($guard_pointer_W2,6i))
428@($guard_pointer_W2,6i) += 1

:WUZI2_21103
$guard_pointer_W2 += 1
goto @WUZI2_20994

:WUZI2_21117
return 
if 
  $7269 > 0
goto_if_false @WUZI2_21497
if and
  $7269 == 1
  $sy1_cesar_car_y > 0
goto_if_false @WUZI2_21229
if and
  TIMERB > 6500
  4 > $guard_timer_W2
goto_if_false @WUZI2_21195
$guard_timer_W2 += 1

:WUZI2_21195
Text.ClearHelp
Text.PrintHelpForever('WZI2_B4')
TIMERB = 0
$7269 += 1
goto @WUZI2_21490

:WUZI2_21229
if 
  5 > $guard_timer_W2
goto_if_false @WUZI2_21490
switch_start $guard_timer_W2 {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @WUZI2_21439 {caseNum1} -2 {caseLabel1} @WUZI2_21310 {caseNum2} -1 {caseLabel2} @WUZI2_21347 {caseNum3} 4 {caseLabel3} @WUZI2_21404 {caseNum4} -1 {caseLabel4} @WUZI2_21490 {caseNum5} -1 {caseLabel5} @WUZI2_21490 {caseNum6} -1 {caseLabel6} @WUZI2_21490 {caseNum7} -1 {caseLabel7} @WUZI2_21490

:WUZI2_21310
Text.PrintNow('WZI2_8', 7000, 1)
TIMERB = 0
$guard_timer_W2 += 1
goto @WUZI2_21490

:WUZI2_21347
if 
  TIMERB > 7000
goto_if_false @WUZI2_21397
Text.PrintNow('WZI2_9', 8000, 1)
TIMERB = 6500
$guard_timer_W2 += 1

:WUZI2_21397
goto @WUZI2_21490

:WUZI2_21404
if 
  TIMERB > 8000
goto_if_false @WUZI2_21432
Text.ClearHelp
$guard_timer_W2 += 1

:WUZI2_21432
goto @WUZI2_21490

:WUZI2_21439
if 
  TIMERB > 8000
goto_if_false @WUZI2_21483
Text.ClearHelp
Text.PrintHelpForever(260@($guard_timer_W2,8s))
TIMERB = 0
$guard_timer_W2 += 1

:WUZI2_21483
goto @WUZI2_21490

:WUZI2_21490
goto @WUZI2_21522

:WUZI2_21497
if 
  287@ == 0
goto_if_false @WUZI2_21522
$7269 = 1

:WUZI2_21522
return 

:WUZI2_21524
switch_start 435@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @WUZI2_21723 {caseNum1} 0 {caseLabel1} @WUZI2_21587 {caseNum2} 1 {caseLabel2} @WUZI2_21679 {caseNum3} -1 {caseLabel3} @WUZI2_21723 {caseNum4} -1 {caseLabel4} @WUZI2_21723 {caseNum5} -1 {caseLabel5} @WUZI2_21723 {caseNum6} -1 {caseLabel6} @WUZI2_21723 {caseNum7} -1 {caseLabel7} @WUZI2_21723

:WUZI2_21587
if 
  not Char.IsInWater($stattreadstamina_ctr)
goto_if_false @WUZI2_21672
if 
  Char.IsInArea3D($stattreadstamina_ctr, -1491.319, 1505.334, 0.0, -1352.436, 1475.738, 15.0, False)
goto_if_false @WUZI2_21672
gosub @WUZI2_22064
435@ += 1
goto @WUZI2_21723

:WUZI2_21672
goto @WUZI2_21723

:WUZI2_21679
if 
  Char.IsInWater($stattreadstamina_ctr)
goto_if_false @WUZI2_21716
gosub @WUZI2_21725
435@ -= 1
goto @WUZI2_21723

:WUZI2_21716
goto @WUZI2_21723

:WUZI2_21723
return 

:WUZI2_21725
$guard_pointer_W2 = 0

:WUZI2_21732
if 
  5 > $guard_pointer_W2
goto_if_false @WUZI2_21773
Blip.Remove(443@($guard_pointer_W2,8i))
$guard_pointer_W2 += 1
goto @WUZI2_21732

:WUZI2_21773
Hud.SetRadarZoom(0)
if 
  not Car.IsDead(290@)
goto_if_false @WUZI2_21824
if 
  not Blip.DoesExist(292@)
goto_if_false @WUZI2_21824
292@ = Blip.AddForCar(290@)
Blip.ChangeDisplay(292@, BlipDisplay.BlipOnly)

:WUZI2_21824
if 
  not Car.IsDead(291@)
goto_if_false @WUZI2_21871
if 
  not Blip.DoesExist(293@)
goto_if_false @WUZI2_21871
293@ = Blip.AddForCar(291@)
Blip.ChangeDisplay(293@, BlipDisplay.BlipOnly)

:WUZI2_21871
if 
  not Car.IsDead(413@)
goto_if_false @WUZI2_21918
if 
  not Blip.DoesExist(415@)
goto_if_false @WUZI2_21918
415@ = Blip.AddForCar(413@)
Blip.ChangeDisplay(415@, BlipDisplay.BlipOnly)

:WUZI2_21918
if 
  not Car.IsDead(414@)
goto_if_false @WUZI2_21965
if 
  not Blip.DoesExist(416@)
goto_if_false @WUZI2_21965
416@ = Blip.AddForCar(414@)
Blip.ChangeDisplay(416@, BlipDisplay.BlipOnly)

:WUZI2_21965
$guard_pointer_W2 = 0

:WUZI2_21972
if 
  4 > $guard_pointer_W2
goto_if_false @WUZI2_22062
if 
  428@($guard_pointer_W2,6i) == 0
goto_if_false @WUZI2_22048
if 
  not Blip.DoesExist(407@($guard_pointer_W2,6i))
goto_if_false @WUZI2_22048
407@($guard_pointer_W2,6i) = Blip.AddForSearchlight(383@($guard_pointer_W2,6i))

:WUZI2_22048
$guard_pointer_W2 += 1
goto @WUZI2_21972

:WUZI2_22062
return 

:WUZI2_22064
if 
  not Car.IsDead(290@)
goto_if_false @WUZI2_22085
Blip.Remove(292@)

:WUZI2_22085
if 
  not Car.IsDead(291@)
goto_if_false @WUZI2_22106
Blip.Remove(293@)

:WUZI2_22106
if 
  not Car.IsDead(413@)
goto_if_false @WUZI2_22127
Blip.Remove(415@)

:WUZI2_22127
if 
  not Car.IsDead(414@)
goto_if_false @WUZI2_22148
Blip.Remove(416@)

:WUZI2_22148
$guard_pointer_W2 = 0

:WUZI2_22155
if 
  4 > $guard_pointer_W2
goto_if_false @WUZI2_22196
Blip.Remove(407@($guard_pointer_W2,6i))
$guard_pointer_W2 += 1
goto @WUZI2_22155

:WUZI2_22196
Hud.SetRadarZoom(90)
$guard_pointer_W2 = 0

:WUZI2_22207
if 
  5 > $guard_pointer_W2
goto_if_false @WUZI2_22317
if 
  not Char.IsDead(436@($guard_pointer_W2,7i))
goto_if_false @WUZI2_22303
if 
  not Blip.DoesExist(443@($guard_pointer_W2,8i))
goto_if_false @WUZI2_22303
443@($guard_pointer_W2,8i) = Blip.AddForChar(436@($guard_pointer_W2,7i))
Blip.ChangeDisplay(443@($guard_pointer_W2,8i), BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(443@($guard_pointer_W2,8i), True)

:WUZI2_22303
$guard_pointer_W2 += 1
goto @WUZI2_22207

:WUZI2_22317
return 

:WUZI2_22319
Text.ClearHelp
Text.ClearPrints
if 
  379@ == 0
goto_if_false @WUZI2_22346
Pickup.Remove(258@)

:WUZI2_22346
gosub @WUZI2_18118
if 
  379@ <> 1
goto_if_false @WUZI2_22398
258@ = Pickup.CreateWithAmmo(335, PickupType.Once, 1, -1456.289, 1497.905, 6.7)

:WUZI2_22398
Blip.Remove(36@)
36@ = Blip.AddForCoord(-1372.733, 1495.55, 0.8578)
466@ = -1442.207
470@ = 1489.462
474@ = 6.1016
478@ = 270.0
467@ = -1402.308
471@ = 1486.719
475@ = 6.0938
479@ = 301.3607
468@ = -1382.657
472@ = 1480.446
476@ = 7.5625
480@ = 180.0
469@ = -1370.584
473@ = 1486.74
477@ = 10.0313
481@ = 347.1257
436@ = Char.Create(PedType.Mission2, 121, 466@, 470@, 474@)
Char.SetHeading(436@, 478@)
Char.GiveWeapon(436@, WeaponType.Knife, 1)
Char.SetCurrentWeapon(436@, WeaponType.Knife)
Char.SetDecisionMaker(436@, 34@)
443@ = Blip.AddForChar(436@)
Blip.ChangeDisplay(443@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(443@, True)
Char.SetShootRate(436@, 80)
Char.SetSenseRange(436@, 80.0)
451@ = 0
437@ = Char.Create(PedType.Mission2, 122, 467@, 471@, 475@)
Char.SetHeading(437@, 479@)
Char.GiveWeapon(437@, WeaponType.Knife, 1)
Char.SetCurrentWeapon(437@, WeaponType.Knife)
Char.SetDecisionMaker(437@, 34@)
444@ = Blip.AddForChar(437@)
Blip.ChangeDisplay(444@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(444@, True)
Char.SetShootRate(437@, 80)
Char.SetSenseRange(437@, 80.0)
452@ = 0
438@ = Char.Create(PedType.Mission2, 123, 468@, 472@, 476@)
Char.SetHeading(438@, 480@)
Char.GiveWeapon(438@, WeaponType.Knife, 1)
Char.SetCurrentWeapon(438@, WeaponType.Knife)
Char.SetDecisionMaker(438@, 34@)
445@ = Blip.AddForChar(438@)
Blip.ChangeDisplay(445@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(445@, True)
Char.SetShootRate(438@, 80)
Char.SetSenseRange(438@, 80.0)
453@ = 0
439@ = Char.Create(PedType.Mission2, 121, 469@, 473@, 477@)
Char.SetHeading(439@, 481@)
Char.GiveWeapon(439@, WeaponType.Knife, 1)
Char.SetCurrentWeapon(439@, WeaponType.Knife)
Char.SetDecisionMaker(439@, 34@)
446@ = Blip.AddForChar(439@)
Blip.ChangeDisplay(446@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(446@, True)
Char.SetShootRate(439@, 80)
Char.SetSenseRange(439@, 80.0)
454@ = 0
482@ = -1415.15
492@ = 1489.33
502@ = 6.1092
512@ = 274.6376
483@ = -1393.05
493@ = 1490.035
503@ = 6.1016
513@ = 273.1324
484@ = -1377.694
494@ = 1494.01
504@ = 0.8594
514@ = 268.1749
485@ = -1384.855
495@ = 1493.904
505@ = 0.8594
515@ = 86.0142
486@ = -1433.38
496@ = 1483.448
506@ = 0.625
516@ = 272.9424
487@ = -1393.022
497@ = 1483.625
507@ = 0.625
517@ = 266.08
488@ = -1392.567
498@ = 1496.273
508@ = 0.6312
518@ = 163.775
489@ = -1423.06
499@ = 1496.289
509@ = 0.625
519@ = 134.281
490@ = -1423.291
500@ = 1491.614
510@ = 0.625
520@ = 172.1411
491@ = -1433.231
501@ = 1488.718
511@ = 0.625
521@ = 106.1638
458@ = 0
462@ = 1
set_var_int_to_lvar_int $guard_limit_W2 = 458@
440@ = Char.Create(PedType.Mission2, 123, 482@($guard_limit_W2,10f), 492@($guard_limit_W2,10f), 502@($guard_limit_W2,10f))
Char.SetHeading(440@, 512@($guard_limit_W2,10f))
Char.GiveWeapon(440@, WeaponType.Knife, 1)
Char.SetCurrentWeapon(440@, WeaponType.Knife)
Char.SetDecisionMaker(440@, 34@)
447@ = Blip.AddForChar(440@)
Blip.ChangeDisplay(447@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(447@, True)
Char.SetShootRate(440@, 80)
Char.SetSenseRange(440@, 80.0)
455@ = 0
459@ = 2
463@ = 3
set_var_int_to_lvar_int $guard_limit_W2 = 459@
441@ = Char.Create(PedType.Mission2, 122, 482@($guard_limit_W2,10f), 492@($guard_limit_W2,10f), 502@($guard_limit_W2,10f))
Char.SetHeading(441@, 512@($guard_limit_W2,10f))
Char.GiveWeapon(441@, WeaponType.Knife, 1)
Char.SetCurrentWeapon(441@, WeaponType.Knife)
Char.SetDecisionMaker(441@, 34@)
448@ = Blip.AddForChar(441@)
Blip.ChangeDisplay(448@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(448@, True)
Char.SetShootRate(441@, 80)
Char.SetSenseRange(441@, 80.0)
456@ = 0
460@ = 4
464@ = 9
set_var_int_to_lvar_int $guard_limit_W2 = 460@
442@ = Char.Create(PedType.Mission2, 121, 482@($guard_limit_W2,10f), 492@($guard_limit_W2,10f), 502@($guard_limit_W2,10f))
Char.SetHeading(442@, 512@($guard_limit_W2,10f))
Char.GiveWeapon(442@, WeaponType.Knife, 1)
Char.SetCurrentWeapon(442@, WeaponType.Knife)
Char.SetDecisionMaker(442@, 34@)
449@ = Blip.AddForChar(442@)
Blip.ChangeDisplay(449@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(449@, True)
Char.SetShootRate(442@, 80)
Char.SetSenseRange(442@, 80.0)
457@ = 0
Text.PrintNow('WZI2_35', 7000, 1)
522@ = 0
$guard_pointer_W2 = 0

:WUZI2_23799
if 
  4 > $guard_pointer_W2
goto_if_false @WUZI2_23863
if 
  not Char.IsDead(436@($guard_pointer_W2,7i))
goto_if_false @WUZI2_23849
Char.SetDecisionMaker(436@($guard_pointer_W2,7i), 34@)

:WUZI2_23849
$guard_pointer_W2 += 1
goto @WUZI2_23799

:WUZI2_23863
283@ = 1
return 

:WUZI2_23872
$guard_pointer_W2 = 0
530@ = 0
531@ = 0
531@ = 0

:WUZI2_23900
if 
  7 > $guard_pointer_W2
goto_if_false @WUZI2_24617
if 
  not Char.IsDead(436@($guard_pointer_W2,7i))
goto_if_false @WUZI2_24561
switch_start 523@($guard_pointer_W2,7i) {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @WUZI2_24554 {caseNum1} 0 {caseLabel1} @WUZI2_24005 {caseNum2} 1 {caseLabel2} @WUZI2_24237 {caseNum3} 2 {caseLabel3} @WUZI2_24419 {caseNum4} -1 {caseLabel4} @WUZI2_24554 {caseNum5} -1 {caseLabel5} @WUZI2_24554 {caseNum6} -1 {caseLabel6} @WUZI2_24554 {caseNum7} -1 {caseLabel7} @WUZI2_24554

:WUZI2_24005
if or
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 62)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 63)
goto_if_false @WUZI2_24132
if 
  not Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 36)
goto_if_false @WUZI2_24096
523@($guard_pointer_W2,7i) = 1
451@($guard_pointer_W2,7i) = -1
531@ += 1
goto @WUZI2_24125

:WUZI2_24096
523@($guard_pointer_W2,7i) = 2
451@($guard_pointer_W2,7i) = -1
531@ += 1

:WUZI2_24125
goto @WUZI2_24230

:WUZI2_24132
if or
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 36)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 15)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 9)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 31)
goto_if_false @WUZI2_24223
523@($guard_pointer_W2,7i) = 2
451@($guard_pointer_W2,7i) = -1
531@ += 1
goto @WUZI2_24230

:WUZI2_24223
530@ += 1

:WUZI2_24230
goto @WUZI2_24554

:WUZI2_24237
if or
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 36)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 15)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 9)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 31)
goto_if_false @WUZI2_24336
523@($guard_pointer_W2,7i) = 2
451@($guard_pointer_W2,7i) = -1
set_lvar_int_to_var_int 532@ = $guard_pointer_W2
531@ += 1
goto @WUZI2_24412

:WUZI2_24336
if or
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 63)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 62)
goto_if_false @WUZI2_24383
531@ += 1
goto @WUZI2_24412

:WUZI2_24383
523@($guard_pointer_W2,7i) = 0
451@($guard_pointer_W2,7i) = 0
530@ += 1

:WUZI2_24412
goto @WUZI2_24554

:WUZI2_24419
if or
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 36)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 63)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 15)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 9)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 31)
  Char.IsRespondingToEvent(436@($guard_pointer_W2,7i), 62)
goto_if_false @WUZI2_24518
set_lvar_int_to_var_int 532@ = $guard_pointer_W2
531@ += 1
goto @WUZI2_24547

:WUZI2_24518
523@($guard_pointer_W2,7i) = 0
451@($guard_pointer_W2,7i) = 0
530@ += 1

:WUZI2_24547
goto @WUZI2_24554

:WUZI2_24554
goto @WUZI2_24603

:WUZI2_24561
if 
  523@($guard_pointer_W2,7i) <> -1
goto_if_false @WUZI2_24603
Blip.Remove(443@($guard_pointer_W2,8i))
523@($guard_pointer_W2,7i) = -1

:WUZI2_24603
$guard_pointer_W2 += 1
goto @WUZI2_23900

:WUZI2_24617
switch_start 522@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @WUZI2_24872 {caseNum1} 0 {caseLabel1} @WUZI2_24680 {caseNum2} 1 {caseLabel2} @WUZI2_24744 {caseNum3} 2 {caseLabel3} @WUZI2_24808 {caseNum4} -1 {caseLabel4} @WUZI2_24872 {caseNum5} -1 {caseLabel5} @WUZI2_24872 {caseNum6} -1 {caseLabel6} @WUZI2_24872 {caseNum7} -1 {caseLabel7} @WUZI2_24872

:WUZI2_24680
if 
  531@ > 0
goto_if_false @WUZI2_24712
522@ = 2
goto @WUZI2_24737

:WUZI2_24712
if 
  531@ > 0
goto_if_false @WUZI2_24737
522@ = 1

:WUZI2_24737
goto @WUZI2_24872

:WUZI2_24744
if 
  531@ > 0
goto_if_false @WUZI2_24776
522@ = 2
goto @WUZI2_24801

:WUZI2_24776
if 
  531@ == 0
goto_if_false @WUZI2_24801
522@ = 0

:WUZI2_24801
goto @WUZI2_24872

:WUZI2_24808
if and
  531@ == 0
  531@ == 0
goto_if_false @WUZI2_24865
522@ = 0
if and
  not Char.IsDead(436@(532@,7i))
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @WUZI2_24865

:WUZI2_24865
goto @WUZI2_24872

:WUZI2_24872
return 

:WUZI2_24874
$guard_pointer_W2 = 0

:WUZI2_24881
if 
  4 > $guard_pointer_W2
goto_if_false @WUZI2_25425
if 
  451@($guard_pointer_W2,7i) <> -1
goto_if_false @WUZI2_25411
if 
  not Char.IsDead(436@($guard_pointer_W2,7i))
goto_if_false @WUZI2_25411
switch_start 451@($guard_pointer_W2,7i) {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @WUZI2_25411 {caseNum1} 0 {caseLabel1} @WUZI2_25008 {caseNum2} 1 {caseLabel2} @WUZI2_25100 {caseNum3} 2 {caseLabel3} @WUZI2_25221 {caseNum4} 3 {caseLabel4} @WUZI2_25347 {caseNum5} 4 {caseLabel5} @WUZI2_25404 {caseNum6} -1 {caseLabel6} @WUZI2_25411 {caseNum7} -1 {caseLabel7} @WUZI2_25411

:WUZI2_25008
43@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 466@($guard_pointer_W2,4f), 470@($guard_pointer_W2,4f), 474@($guard_pointer_W2,4f), 4, -2)
Task.AchieveHeading(-1, 478@($guard_pointer_W2,4f))
Task.StandStill(-1, 5000)
Sequence.Close(43@)
Char.PerformSequence(436@($guard_pointer_W2,7i), 43@)
Sequence.Clear(43@)
451@($guard_pointer_W2,7i) += 1
goto @WUZI2_25411

:WUZI2_25100
44@ = Char.GetSequenceProgress(436@($guard_pointer_W2,7i))
if 
  44@ == 2
goto_if_false @WUZI2_25214
if 
  Char.LocateOnFoot2D(436@($guard_pointer_W2,7i), 466@($guard_pointer_W2,4f), 470@($guard_pointer_W2,4f), 2.0, 2.0, False)
goto_if_false @WUZI2_25194
451@($guard_pointer_W2,7i) += 1
goto @WUZI2_25214

:WUZI2_25194
Char.ClearTasks(436@($guard_pointer_W2,7i))
451@($guard_pointer_W2,7i) -= 1

:WUZI2_25214
goto @WUZI2_25411

:WUZI2_25221
45@ = Math.RandomIntInRange(7000, 15000)
46@ = Math.RandomIntInRange(0, 500)
Char.ClearTasks(436@($guard_pointer_W2,7i))
43@ = Sequence.Open()
Task.StandStill(-1, 45@)
if 
  250 > 46@
goto_if_false @WUZI2_25296
Task.LookAbout(-1, 8000)
goto @WUZI2_25300

:WUZI2_25296
Task.ScratchHead(-1)

:WUZI2_25300
Task.StandStill(-1, 5000)
Sequence.Close(43@)
Char.PerformSequence(436@($guard_pointer_W2,7i), 43@)
Sequence.Clear(43@)
451@($guard_pointer_W2,7i) += 1
goto @WUZI2_25411

:WUZI2_25347
44@ = Char.GetSequenceProgress(436@($guard_pointer_W2,7i))
if 
  44@ == 2
goto_if_false @WUZI2_25397
Char.ClearTasks(436@($guard_pointer_W2,7i))
451@($guard_pointer_W2,7i) -= 1

:WUZI2_25397
goto @WUZI2_25411

:WUZI2_25404
goto @WUZI2_25411

:WUZI2_25411
$guard_pointer_W2 += 1
goto @WUZI2_24881

:WUZI2_25425
return 

:WUZI2_25427
$guard_pointer_W2 = 4
$guard_limit_W2 = 0

:WUZI2_25441
if 
  7 > $guard_pointer_W2
goto_if_false @WUZI2_26089
if 
  451@($guard_pointer_W2,7i) <> -1
goto_if_false @WUZI2_26068
if 
  not Char.IsDead(436@($guard_pointer_W2,7i))
goto_if_false @WUZI2_26068
set_var_int_to_lvar_int $swim_stamina_check = 458@($guard_limit_W2,4i)
set_var_int_to_lvar_int $help_text_switch_W2 = 462@($guard_limit_W2,4i)
switch_start 451@($guard_pointer_W2,7i) {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @WUZI2_26068 {caseNum1} 0 {caseLabel1} @WUZI2_25592 {caseNum2} 1 {caseLabel2} @WUZI2_25767 {caseNum3} 2 {caseLabel3} @WUZI2_25857 {caseNum4} 3 {caseLabel4} @WUZI2_25989 {caseNum5} 4 {caseLabel5} @WUZI2_26061 {caseNum6} -1 {caseLabel6} @WUZI2_26068 {caseNum7} -1 {caseLabel7} @WUZI2_26068

:WUZI2_25592
43@ = Sequence.Open()

:WUZI2_25597
if 
  is_int_var_greater_or_equal_to_int_var $help_text_switch_W2 >= $swim_stamina_check
goto_if_false @WUZI2_25659
Task.GoToCoordAnyMeans(-1, 482@($swim_stamina_check,10f), 492@($swim_stamina_check,10f), 502@($swim_stamina_check,10f), 4, -2)
$swim_stamina_check += 1
goto @WUZI2_25597

:WUZI2_25659
if 
  $guard_pointer_W2 == 6
goto_if_false @WUZI2_25702
Sequence.SetToRepeat(43@, True)
451@($guard_pointer_W2,7i) = 90
goto @WUZI2_25738

:WUZI2_25702
Task.AchieveHeading(-1, 512@($help_text_switch_W2,10f))
Task.StandStill(-1, 5000)
Task.StandStill(-1, 5000)
451@($guard_pointer_W2,7i) += 1

:WUZI2_25738
Sequence.Close(43@)
Char.PerformSequence(436@($guard_pointer_W2,7i), 43@)
Sequence.Clear(43@)
goto @WUZI2_26068

:WUZI2_25767
set_lvar_int_to_var_int 533@ = $help_text_switch_W2
sub_int_var_from_int_lvar 533@ -= $swim_stamina_check
533@ += 3
44@ = Char.GetSequenceProgress(436@($guard_pointer_W2,7i))
if 
  is_int_lvar_equal_to_int_lvar 44@ == 533@
goto_if_false @WUZI2_25850
if 
  $guard_pointer_W2 == 4
goto_if_false @WUZI2_25839

:WUZI2_25839
451@($guard_pointer_W2,7i) += 1

:WUZI2_25850
goto @WUZI2_26068

:WUZI2_25857
43@ = Sequence.Open()

:WUZI2_25862
if 
  is_int_var_greater_or_equal_to_int_var $help_text_switch_W2 >= $swim_stamina_check
goto_if_false @WUZI2_25924
Task.GoToCoordAnyMeans(-1, 482@($help_text_switch_W2,10f), 492@($help_text_switch_W2,10f), 502@($help_text_switch_W2,10f), 4, -2)
$help_text_switch_W2 -= 1
goto @WUZI2_25862

:WUZI2_25924
Task.AchieveHeading(-1, 512@($swim_stamina_check,10f))
Task.StandStill(-1, 5000)
Task.StandStill(-1, 5000)
451@($guard_pointer_W2,7i) += 1
Sequence.Close(43@)
Char.PerformSequence(436@($guard_pointer_W2,7i), 43@)
Sequence.Clear(43@)
goto @WUZI2_26068

:WUZI2_25989
set_lvar_int_to_var_int 533@ = $help_text_switch_W2
sub_int_var_from_int_lvar 533@ -= $swim_stamina_check
533@ += 3
44@ = Char.GetSequenceProgress(436@($guard_pointer_W2,7i))
if 
  is_int_lvar_equal_to_int_lvar 44@ == 533@
goto_if_false @WUZI2_26054
451@($guard_pointer_W2,7i) = 0

:WUZI2_26054
goto @WUZI2_26068

:WUZI2_26061
goto @WUZI2_26068

:WUZI2_26068
$guard_pointer_W2 += 1
$guard_limit_W2 += 1
goto @WUZI2_25441

:WUZI2_26089
return 
$guard_pointer_W2 = 0
574@ = 1
573@ = Char.GetCurrentWeapon($stattreadstamina_ctr)

:WUZI2_26113
if 
  13 > $guard_pointer_W2
goto_if_false @WUZI2_26181
534@($guard_pointer_W2,13i), 547@($guard_pointer_W2,13i), 560@($guard_pointer_W2,13i) = Char.GetWeaponInSlot($stattreadstamina_ctr, 574@)
$guard_pointer_W2 += 1
574@ += 1
goto @WUZI2_26113

:WUZI2_26181
return 
$guard_pointer_W2 = 0

:WUZI2_26190
if 
  13 > $guard_pointer_W2
goto_if_false @WUZI2_26260
if 
  534@($guard_pointer_W2,13i) <> 0
goto_if_false @WUZI2_26246
Streaming.RequestModel(560@($guard_pointer_W2,13i))
575@ += 1

:WUZI2_26246
$guard_pointer_W2 += 1
goto @WUZI2_26190

:WUZI2_26260
if 
  not is_int_lvar_equal_to_int_lvar 576@ == 575@
goto_if_false @WUZI2_26385
wait 0
576@ = 0
$guard_pointer_W2 = 0

:WUZI2_26297
if 
  13 > $guard_pointer_W2
goto_if_false @WUZI2_26378
if 
  534@($guard_pointer_W2,13i) <> 0
goto_if_false @WUZI2_26364
if 
  Streaming.HasModelLoaded(560@($guard_pointer_W2,13i))
goto_if_false @WUZI2_26364
576@ += 1

:WUZI2_26364
$guard_pointer_W2 += 1
goto @WUZI2_26297

:WUZI2_26378
goto @WUZI2_26260

:WUZI2_26385
Char.RemoveAllWeapons($stattreadstamina_ctr)
$guard_pointer_W2 = 0
574@ = 1

:WUZI2_26404
if 
  13 > $guard_pointer_W2
goto_if_false @WUZI2_26462
Char.GiveWeapon($stattreadstamina_ctr, 534@($guard_pointer_W2,13i), 547@($guard_pointer_W2,13i))
$guard_pointer_W2 += 1
574@ += 1
goto @WUZI2_26404

:WUZI2_26462
Char.SetCurrentWeapon($stattreadstamina_ctr, 573@)
$guard_pointer_W2 = 0

:WUZI2_26477
if 
  13 > $guard_pointer_W2
goto_if_false @WUZI2_26540
if 
  534@($guard_pointer_W2,13i) <> 0
goto_if_false @WUZI2_26526
Streaming.MarkModelAsNoLongerNeeded(560@($guard_pointer_W2,13i))

:WUZI2_26526
$guard_pointer_W2 += 1
goto @WUZI2_26477

:WUZI2_26540
return 

:WUZI2_26542
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  40@ == 1
goto_if_false @WUZI2_26586
Text.PrintNow(41@s, 5000, 1)

:WUZI2_26586
return 

:WUZI2_26588
$garageX += 1
Stat.RegisterMissionPassed('WUZI_2')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSS', 11000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 11000)
Stat.AwardPlayerMissionRespect(25)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
return 

:WUZI2_26652
if 
  $7267 == 0
goto_if_false @WUZI2_27103
Game.SetMaxWantedLevel(257@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WUZI2_26702
Player.SetGroupRecruitment($statbike_temp, True)
Game.SetScriptLimitToGangSize(99)

:WUZI2_26702
start_new_script @A_TERM 
Blip.Remove(259@)
Pickup.Remove(258@)
$flag_courier_mission_passed = Clock.GetGameTimer()
Path.SwitchRoadsBackToOriginal(-1328.999, 1239.997, -5.0, -1655.868, 1638.755, 10.0)
Streaming.MarkModelAsNoLongerNeeded(121)
Streaming.MarkModelAsNoLongerNeeded(122)
Streaming.MarkModelAsNoLongerNeeded(123)
Streaming.MarkModelAsNoLongerNeeded(454)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(335)
Streaming.MarkModelAsNoLongerNeeded(#A51_SPOTBASE)
Streaming.MarkModelAsNoLongerNeeded(#A51_SPOTHOUSING)
Streaming.MarkModelAsNoLongerNeeded(#A51_SPOTBULB)
Streaming.RemoveAnimation("DAM_JUMP")
Blip.Remove(36@)
$guard_pointer_W2 = 0

:WUZI2_26823
if 
  5 > $guard_pointer_W2
goto_if_false @WUZI2_26873
Blip.Remove(443@($guard_pointer_W2,8i))
Char.MarkAsNoLongerNeeded(436@($guard_pointer_W2,7i))
$guard_pointer_W2 += 1
goto @WUZI2_26823

:WUZI2_26873
$guard_pointer_W2 = 0

:WUZI2_26880
if 
  4 > $guard_pointer_W2
goto_if_false @WUZI2_26948
Blip.Remove(407@($guard_pointer_W2,6i))
Object.MarkAsNoLongerNeeded(389@($guard_pointer_W2,6i))
Object.MarkAsNoLongerNeeded(395@($guard_pointer_W2,6i))
Object.MarkAsNoLongerNeeded(401@($guard_pointer_W2,6i))
$guard_pointer_W2 += 1
goto @WUZI2_26880

:WUZI2_26948
$guard_pointer_W2 = 0

:WUZI2_26955
if 
  6 > $guard_pointer_W2
goto_if_false @WUZI2_27005
Char.MarkAsNoLongerNeeded(308@($guard_pointer_W2,6i))
Char.MarkAsNoLongerNeeded(417@($guard_pointer_W2,6i))
$guard_pointer_W2 += 1
goto @WUZI2_26955

:WUZI2_27005
$guard_pointer_W2 = 0

:WUZI2_27012
if 
  2 > $guard_pointer_W2
goto_if_false @WUZI2_27094
Blip.Remove(292@($guard_pointer_W2,2i))
Char.MarkAsNoLongerNeeded(300@($guard_pointer_W2,2i))
Car.MarkAsNoLongerNeeded(290@($guard_pointer_W2,2i))
Blip.Remove(415@)
Char.MarkAsNoLongerNeeded(417@($guard_pointer_W2,6i))
Car.MarkAsNoLongerNeeded(413@($guard_pointer_W2,2i))
$guard_pointer_W2 += 1
goto @WUZI2_27012

:WUZI2_27094
Weather.Release
goto @WUZI2_27255

:WUZI2_27103
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WUZI2_27126
Player.SetControl($statbike_temp, False)

:WUZI2_27126
Char.SetCoordinates($stattreadstamina_ctr, -2154.815, 641.3157, 51.3594)
Char.SetHeading($stattreadstamina_ctr, 268.4865)
Streaming.LoadScene(-2154.815, 641.3157, 51.3594)
TIMERA = 0

:WUZI2_27180
if 
  500 > TIMERA
goto_if_false @WUZI2_27210
wait 0
goto @WUZI2_27180

:WUZI2_27210
Camera.DoFade(0, Fade.In)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WUZI2_27239
Player.SetControl($statbike_temp, True)

:WUZI2_27239
Text.PrintNow('WZI2_60', 8000, 1)

:WUZI2_27255
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 57---------------
// Originally: The Da Nang Thang

:WUZI5
script_name 'WUZI5'
gosub @WUZI5_47
if 
  has_deatharrest_been_executed 
goto_if_false @WUZI5_38
gosub @WUZI5_20666

:WUZI5_38
gosub @WUZI5_20753
terminate_this_script 

:WUZI5_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('WUZI4')
if 
  $weapon_shop1_blip == 0
goto_if_false @WUZI5_302
36@(94@,17i) = Char.Create(PedType.Mission5, 118, -2433.5, 1536.3, 16.4)
58@ = Char.Create(PedType.Mission5, 118, -2433.5, 1536.3, 16.4)
59@(96@,4i) = Char.Create(PedType.Mission5, 118, -2389.2, 1537.1, 1.1)
63@ = Pickup.CreateWithAmmo(342, PickupType.OnStreetSlow, 6, -2412.4, 1547.9, 25.0)
64@ = Pickup.Create(#HEALTH, PickupType.OnStreetSlow, -2427.8, 1547.6, 22.1)
81@(94@,9i) = Blip.AddForChar(36@(94@,17i))
53@ = Car.Create(473, -2430.7, 1563.6, 0.0)
54@ = Car.Create(473, -2442.4, 1564.6, 0.0)
55@ = Car.Create(473, -2426.9, 1570.6, 0.0)

:WUZI5_302
Text.ClearPrints
wait 0
90@ = 0
91@ = 0
92@ = 0
93@ = 0
114@ = 0
94@ = 0
95@ = 0
96@ = 0
set_lvar_int_to_constant 97@ = 121
set_lvar_int_to_constant 98@ = 122
99@ = 0
100@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
105@ = 0
106@ = 0
107@ = 0
108@ = 0
109@ = 0
110@ = 0
111@ = 0
112@ = 0
144@ = 0.0
145@ = 0.0
146@ = 0.0
147@ = 0.0
148@ = 0.0
149@ = 0.0
150@ = 0.0
151@ = 0.0
152@ = 0.0
153@ = 0.0
154@ = 0.0
155@ = 0.0
Player.MakeGangDisappear
Streaming.SetAreaVisible(1)
Cutscene.Load('WOOZIE4')

:WUZI5_613
if 
  not Cutscene.HasLoaded
goto_if_false @WUZI5_637
wait 0
goto @WUZI5_613

:WUZI5_637
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:WUZI5_646
if 
  not Cutscene.HasFinished
goto_if_false @WUZI5_670
wait 0
goto @WUZI5_646

:WUZI5_670
Camera.DoFade(0, Fade.Out)

:WUZI5_676
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_700
wait 0
goto @WUZI5_676

:WUZI5_700
Streaming.SetAreaVisible(0)
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Player.MakeGangReappear
Camera.SetFadingColor(0, 0, 0)
Weather.ForceNow(WeatherType.ExtraSunnySf)
wait 0
Streaming.RequestModel(118)
Streaming.RequestModel(487)
Streaming.RequestAnimation("CAR_CHAT")
Streaming.LoadAllModelsNow
Group.Remove($flag_cell_nation)
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Player1)
158@ = DecisionMakerChar.Copy(65542)
157@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
159@ = DecisionMakerChar.Load(DecisionMakerType.Steal)
World.ClearArea(-2167.8, 634.9, 69.7, 5.0, True)
34@ = Car.Create(487, -2167.8, 634.9, 69.7)
Car.SetHeading(34@, 92.3)
Car.SetProofs(34@, True, True, True, True, True)
35@ = Char.CreateInsideCar(34@, PedType.Mission5, 118)
Char.SetNeverTargeted(35@, True)
Char.SetLoadCollisionFlag(35@, True)
Char.SetDecisionMaker(35@, 158@)
World.ClearArea(-2168.4, 639.0, 69.9, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2168.4, 639.0, 69.9)
Char.SetHeading($stattreadstamina_ctr, 189.4)
Streaming.LoadScene(-2168.4, 639.0, 69.9)

:WUZI5_975
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @WUZI5_1001
goto @WUZI5_20684

:WUZI5_1001
Player.AlterWantedLevel($statbike_temp, 0)
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_1040
goto @WUZI5_20666

:WUZI5_1040
if 
  90@ == 0
goto_if_false @WUZI5_2013
if 
  91@ == 0
goto_if_false @WUZI5_1311
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.SetFixedPosition(-2172.7, 636.0, 71.2, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2161.7, 631.4, 72.4, SwitchType.JumpCut)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
156@ = Sequence.Open()
Task.EnterCarAsPassenger(-1, 34@, -1, 0)
Sequence.Close(156@)
Char.PerformSequence($stattreadstamina_ctr, 156@)
Sequence.Clear(156@)
Streaming.LoadSceneInDirection(-2168.7, 634.9, 70.3, 248.0)
Camera.DoFade(500, Fade.In)

:WUZI5_1234
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_1258
wait 0
goto @WUZI5_1234

:WUZI5_1258
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_1290
goto @WUZI5_20666

:WUZI5_1290
92@ = 1
skip_cutscene_start_internal @WUZI5_1590
91@ = 1

:WUZI5_1311
if 
  91@ == 1
goto_if_false @WUZI5_1466
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @WUZI5_1466
Task.PlayAnim(35@, "CAR_SC1_FL", "CAR_CHAT", 8.0, False, False, False, False, 8000)
Task.PlayAnim($stattreadstamina_ctr, "CAR_SC1_FR", "CAR_CHAT", 6.0, False, False, False, False, 8500)
113@ = 1
115@ = 0
gosub @WUZI5_26535
TIMERA = 0
91@ = 2

:WUZI5_1466
if 
  91@ == 2
goto_if_false @WUZI5_1547
if 
  TIMERA > 9000
goto_if_false @WUZI5_1547
Heli.GotoCoords(34@, -2167.8, 634.9, 80.7, 0.0, 80.7)
TIMERA = 0
91@ = 3

:WUZI5_1547
if 
  91@ == 3
goto_if_false @WUZI5_2013
if 
  113@ == 0
goto_if_false @WUZI5_2013
92@ = 0

:WUZI5_1590
skip_cutscene_end 
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_1624
goto @WUZI5_20666

:WUZI5_1624
if 
  92@ == 1
goto_if_false @WUZI5_1659
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0

:WUZI5_1659
Camera.DoFade(1000, Fade.Out)

:WUZI5_1666
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_1694
wait 0
Streaming.RequestCarRecording(25)
goto @WUZI5_1666

:WUZI5_1694
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_1726
goto @WUZI5_20666

:WUZI5_1726
Streaming.RequestModel(362)
Streaming.RequestModel(359)
Streaming.RequestModel(372)
Streaming.RequestModel(121)
Streaming.RequestModel(122)
Streaming.RequestCarRecording(25)
Streaming.LoadAllModelsNow
Text.ClearPrints
Char.ClearTasks($stattreadstamina_ctr)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.AttachToCar($stattreadstamina_ctr, 34@, -1.4, 1.0, -0.1, 1, 90.0, WeaponType.Minigun)
Car.StartPlayback(34@, 25)
Car.SkipInPlayback(34@, 750.0)
Heli.SetBladesFullSpeed(34@)
Streaming.RemoveAnimation("CAR_CHAT")
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_1903
Car.SetProofs(34@, True, True, True, True, True)

:WUZI5_1903
Streaming.LoadSceneInDirection(-1735.7, 1303.5, 7.1, 120.8)
Camera.DoFade(2000, Fade.In)

:WUZI5_1932
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_1960
wait 0
Streaming.RequestCarRecording(25)
goto @WUZI5_1932

:WUZI5_1960
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_1992
goto @WUZI5_20666

:WUZI5_1992
TIMERA = 0
91@ = 0
90@ = 1

:WUZI5_2013
if 
  90@ == 1
goto_if_false @WUZI5_4184
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @WUZI5_2127
if 
  2 > 95@
goto_if_false @WUZI5_2078
gosub @WUZI5_21147
goto @WUZI5_2127

:WUZI5_2078
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_2127
if 
  Car.IsPlaybackGoingOn(34@)
goto_if_false @WUZI5_2120
Car.StopPlayback(34@)
Heli.MakeComeCrashingDown(34@)

:WUZI5_2120
91@ = 3

:WUZI5_2127
if 
  114@ == 0
goto_if_false @WUZI5_2192
if 
  TIMERA > 6000
goto_if_false @WUZI5_2192
113@ = 2
115@ = 0
gosub @WUZI5_26535
114@ = 1

:WUZI5_2192
if 
  2 > 95@
goto_if_false @WUZI5_2262
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2409.1, 1541.0, 200.0, 200.0, False)
goto_if_false @WUZI5_2255
gosub @WUZI5_21147

:WUZI5_2255
goto @WUZI5_2276

:WUZI5_2262
gosub @WUZI5_22151
gosub @WUZI5_24641

:WUZI5_2276
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_3356
if 
  91@ == 0
goto_if_false @WUZI5_2386
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2287.1, 1582.8, 3.0, 3.0, False)
goto_if_false @WUZI5_2386
113@ = 3
115@ = 0
gosub @WUZI5_26535
Car.SetPlaybackSpeed(34@, 0.6)
91@ = 1

:WUZI5_2386
if 
  91@ == 1
goto_if_false @WUZI5_2602
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2483.3, 1509.6, 3.0, 3.0, False)
goto_if_false @WUZI5_2602
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2429.5, 1536.8, 30.8, 1.0, True)
58@ = Char.Create(PedType.Mission5, 97@(99@,2i), -2429.5, 1536.8, 30.8)
Char.GiveWeapon(58@, WeaponType.RocketLauncher, 12)
Char.SetStayInSamePlace(58@, True)
Char.SetProofs(58@, True, True, True, True, True)
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2431.0, 1530.4, 30.8, MoveState.Run, -1)
Task.DestroyCar(-1, 34@)
Sequence.Close(156@)
Char.PerformSequence(58@, 156@)
Sequence.Clear(156@)
TIMERA = 0
91@ = 2

:WUZI5_2602
if 
  91@ == 2
goto_if_false @WUZI5_2674
if 
  TIMERA > 1800
goto_if_false @WUZI5_2674
113@ = 4
115@ = 0
116@ = 2
gosub @WUZI5_26535
91@ = 3

:WUZI5_2674
if 
  91@ == 3
goto_if_false @WUZI5_2797
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2401.0, 1499.1, 3.0, 3.0, False)
goto_if_false @WUZI5_2797
Pad.Shake(PadId.Pad1, 10000, 200)
140@, 141@, 142@ = Car.GetOffsetInWorldCoords(34@, 0.0, 4.0, 0.0)
Fx.AddExplosion(140@, 141@, 142@, ExplosionType.Aircraft)
Car.SetHealth(34@, 300)
91@ = 4

:WUZI5_2797
if 
  91@ > 3
goto_if_false @WUZI5_3041
140@, 141@, 142@ = Car.GetOffsetInWorldCoords(34@, 0.0, 0.0, 0.0)
144@ = Math.RandomFloatInRange(-2.0, 2.0)
add_float_lvar_to_float_lvar 144@ += 140@
145@ = Math.RandomFloatInRange(-2.0, 2.0)
add_float_lvar_to_float_lvar 145@ += 141@
set_lvar_float_to_lvar_float 146@ = 142@
147@ = Math.RandomFloatInRange(-1.5, 1.5)
148@ = Math.RandomFloatInRange(-1.5, 1.5)
149@ = Math.RandomFloatInRange(0.0, 1.0)
150@ = 0.0
151@ = 0.0
152@ = 0.0
153@ = 0.2
154@ = 1.0
155@ = 1.0
Fx.AddSmokeParticle(144@, 145@, 146@, 147@, 148@, 149@, 150@, 151@, 152@, 153@, 154@, 155@)

:WUZI5_3041
if 
  91@ == 4
goto_if_false @WUZI5_3293
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2381.0, 1489.0, 3.0, 3.0, False)
goto_if_false @WUZI5_3293
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.DetachFromCar($stattreadstamina_ctr)
World.ClearArea(-2351.7, 1487.4, 1.0, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2351.7, 1487.4, 1.0)
113@ = 4
115@ = 2
116@ = 5
gosub @WUZI5_26535
Car.SetPlaybackSpeed(34@, 1.0)
Camera.SetFixedPosition(-2353.5, 1450.2, 82.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2365.3, 1471.5, 64.7, SwitchType.JumpCut)
92@ = 1
skip_cutscene_start_internal @WUZI5_3397
91@ = 5

:WUZI5_3293
if 
  91@ == 5
goto_if_false @WUZI5_3356
if 
  Car.Locate2D(34@, -2360.0, 1481.5, 5.0, 5.0, False)
goto_if_false @WUZI5_3356
91@ = 6

:WUZI5_3356
if 
  7 > 91@
goto_if_false @WUZI5_4184
if 
  Car.IsInWater(34@)
goto_if_false @WUZI5_4184
92@ = 0

:WUZI5_3397
skip_cutscene_end 
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_3431
goto @WUZI5_20666

:WUZI5_3431
if 
  92@ == 1
goto_if_false @WUZI5_3518
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Camera.DoFade(500, Fade.Out)

:WUZI5_3473
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_3497
wait 0
goto @WUZI5_3473

:WUZI5_3497
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_3518
Car.SkipToEndAndStopPlayback(34@)

:WUZI5_3518
Pad.Shake(PadId.Pad1, 0, 0)
Camera.DoFade(1000, Fade.Out)

:WUZI5_3533
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_3557
wait 0
goto @WUZI5_3533

:WUZI5_3557
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Game.ShutAllCharsUp(True)
Char.DetachFromCar($stattreadstamina_ctr)
Char.MarkAsNoLongerNeeded(35@)
Streaming.MarkModelAsNoLongerNeeded(362)
Streaming.MarkModelAsNoLongerNeeded(359)
Streaming.MarkModelAsNoLongerNeeded(487)
Streaming.MarkModelAsNoLongerNeeded(118)
Streaming.RequestModel(342)
Streaming.RequestModel(335)
Streaming.RequestModel(349)
Streaming.LoadAllModelsNow
Char.RemoveAllWeapons($stattreadstamina_ctr)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Knife, 1)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Knife)
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(-2351.7, 1487.4, 0.0, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2351.7, 1487.4, -1.0)
Char.SetHeading($stattreadstamina_ctr, 318.0)
if 
  not Char.IsDead(36@)
goto_if_false @WUZI5_3738
Char.ClearTasks(36@)

:WUZI5_3738
if 
  not Char.IsDead(37@)
goto_if_false @WUZI5_3759
Char.ClearTasks(37@)

:WUZI5_3759
if 
  not Char.IsDead(38@)
goto_if_false @WUZI5_3780
Char.ClearTasks(38@)

:WUZI5_3780
if 
  not Char.IsDead(39@)
goto_if_false @WUZI5_3801
Char.ClearTasks(39@)

:WUZI5_3801
if 
  not Char.IsDead(40@)
goto_if_false @WUZI5_3822
Char.ClearTasks(40@)

:WUZI5_3822
if 
  not Char.IsDead(41@)
goto_if_false @WUZI5_3850
Char.ClearTasks(41@)
Task.ToggleDuck(41@, True)

:WUZI5_3850
if 
  not Char.IsDead(43@)
goto_if_false @WUZI5_3871
Char.ClearTasks(43@)

:WUZI5_3871
Blip.Remove(81@)
Blip.Remove(82@)
Blip.Remove(83@)
Blip.Remove(84@)
Blip.Remove(85@)
Blip.Remove(86@)
Blip.Remove(87@)
Blip.Remove(88@)
Blip.Remove(89@)
80@ = Blip.AddForCoord(-2329.1, 1528.7, 0.0)
Char.Delete(58@)
100@ = Char.GetHealth($stattreadstamina_ctr)
if 
  100@ > 25
goto_if_false @WUZI5_4014
100@ /= 4
100@ *= 3
if 
  25 > 100@
goto_if_false @WUZI5_4006
100@ = 25

:WUZI5_4006
Char.SetHealth($stattreadstamina_ctr, 100@)

:WUZI5_4014
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Char.ClearTasks($stattreadstamina_ctr)
Text.ClearPrints
Sphere.Draw(-2329.1, 1528.7, 0.0, 4.0)
Camera.DoFade(2000, Fade.In)

:WUZI5_4074
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_4142
Sphere.Draw(-2329.1, 1528.7, 0.0, 4.0)
wait 0
Sphere.Draw(-2329.1, 1528.7, 0.0, 4.0)
goto @WUZI5_4074

:WUZI5_4142
113@ = 12
115@ = 0
gosub @WUZI5_26535
114@ = 0
91@ = 0
90@ = 2

:WUZI5_4184
if 
  90@ == 2
goto_if_false @WUZI5_7182
if 
  91@ == 0
goto_if_false @WUZI5_4355
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2329.1, 1528.7, 0.0, 4.0, 4.0, 4.0, True)
goto_if_false @WUZI5_4296
Camera.DoFade(500, Fade.Out)
TIMERA = 0
91@ = 1
goto @WUZI5_4355

:WUZI5_4296
if 
  114@ == 0
goto_if_false @WUZI5_4355
if 
  113@ == 0
goto_if_false @WUZI5_4355
Text.PrintNow('WUZ4_02', 7000, 1)
114@ = 1

:WUZI5_4355
if 
  91@ == 1
goto_if_false @WUZI5_6385
if 
  TIMERA > 500
goto_if_false @WUZI5_6385
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Streaming.RequestModel(#KMB_CONTAINER_RED)
Streaming.LoadAllModelsNow
Streaming.RequestAnimation("SWAT")

:WUZI5_4437
if 
  not Streaming.HasAnimationLoaded("SWAT")
goto_if_false @WUZI5_4467
wait 0
goto @WUZI5_4437

:WUZI5_4467
71@ = Object.Create(#KMB_CONTAINER_RED, -2323.9, 1527.3, 14.0)
Object.SetCollision(71@, True)
Object.SetDynamic(71@, False)
Object.SetVisible(71@, False)
wait 0
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_4547
goto @WUZI5_20666

:WUZI5_4547
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(-2323.2, 1530.2, 16.9, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2323.2, 1530.2, 16.9)
Char.SetHeading($stattreadstamina_ctr, 3.3)
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Char.IsDead(36@)
goto_if_false @WUZI5_4721
World.ClearArea(-2350.6, 1561.2, 22.1, 1.0, True)
Char.SetCoordinates(36@, -2350.6, 1561.2, 22.1)
Char.SetHeading(36@, 4.7)
Task.PlayAnim(36@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, -1)

:WUZI5_4721
if 
  not Char.IsDead(37@)
goto_if_false @WUZI5_4798
World.ClearArea(-2357.1, 1529.2, 25.0, 1.0, True)
Char.SetCoordinates(37@, -2357.1, 1529.2, 25.0)
Char.SetHeading(37@, 180.9)
Task.LookAbout(37@, -2)

:WUZI5_4798
Char.Delete(38@)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2388.3, 1553.1, 25.0, 1.0, True)
38@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2388.3, 1553.1, 25.0)
Char.SetHeading(38@, 0.0)
Char.SetDecisionMaker(38@, 157@)
Char.GiveWeapon(38@, WeaponType.Tec9, 30000)
Char.Delete(39@)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2390.9, 1552.6, 25.0, 1.0, True)
39@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2390.9, 1552.6, 25.0)
Char.SetHeading(39@, 0.0)
Char.SetDecisionMaker(39@, 157@)
Char.GiveWeapon(39@, WeaponType.Tec9, 30000)
Char.Delete(40@)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2389.8, 1554.9, 25.0, 1.0, True)
40@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2389.8, 1554.9, 25.0)
Char.SetHeading(40@, 220.6)
Char.SetDecisionMaker(40@, 157@)
Char.GiveWeapon(40@, WeaponType.Tec9, 30000)
if 
  not Char.IsDead(39@)
goto_if_false @WUZI5_5139
if 
  not Char.IsDead(40@)
goto_if_false @WUZI5_5139
Task.ChatWithChar(40@, 39@, True, 1)
Task.ChatWithChar(39@, 40@, False, 1)

:WUZI5_5139
Char.Delete(41@)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2407.3, 1547.6, 25.0, 1.0, True)
41@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2407.3, 1547.6, 25.0)
Char.SetHeading(41@, 319.2)
Char.SetDecisionMaker(41@, 157@)
Char.GiveWeapon(41@, WeaponType.Tec9, 30000)
Char.Delete(42@)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2420.4, 1553.4, 25.0, 1.0, True)
42@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2420.4, 1553.4, 25.0)
Char.SetHeading(42@, 180.0)
Char.SetDecisionMaker(42@, 158@)
Char.GiveWeapon(42@, WeaponType.Tec9, 30000)
Char.Delete(43@)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2427.6, 1532.3, 25.0, 1.0, True)
43@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2427.6, 1532.3, 25.0)
Char.SetHeading(43@, 275.0)
Char.SetDecisionMaker(43@, 157@)
Char.GiveWeapon(43@, WeaponType.Tec9, 30000)
Char.Delete(44@)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2427.9, 1553.9, 25.0, 1.0, True)
44@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2427.9, 1553.9, 25.0)
Char.SetHeading(44@, 183.8)
Char.SetDecisionMaker(44@, 157@)
Char.GiveWeapon(44@, WeaponType.Tec9, 30000)
World.ClearArea(-2334.5, 1533.3, 16.3, 1.0, True)
46@ = Char.Create(PedType.Mission2, 121, -2334.5, 1533.3, 16.3)
Char.SetHeading(46@, 116.3)
Char.GiveWeapon(46@, WeaponType.Shotgun, 3000)
Char.SetKindaStayInSamePlace(46@, True)
Char.SetDecisionMaker(46@, 157@)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2401.8, 1530.3, 30.8, 1.0, True)
47@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2401.8, 1530.3, 30.8)
Char.SetHeading(47@, 0.0)
Char.SetDecisionMaker(47@, 157@)
Char.GiveWeapon(47@, WeaponType.Tec9, 30000)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2405.5, 1530.3, 30.8, 1.0, True)
48@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2405.5, 1530.3, 30.8)
Char.SetHeading(48@, 0.0)
Char.SetDecisionMaker(48@, 158@)
Task.PlayAnim(48@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Char.GiveWeapon(48@, WeaponType.Tec9, 30000)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2426.5, 1548.8, 22.2, 1.0, True)
49@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2426.5, 1548.8, 22.2)
Char.SetHeading(49@, 180.0)
Char.SetDecisionMaker(49@, 158@)
Char.SetStayInSamePlace(49@, True)
Char.GiveWeapon(49@, WeaponType.Tec9, 30000)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2422.5, 1548.8, 22.2, 1.0, True)
50@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2422.5, 1548.8, 22.2)
Char.SetHeading(50@, 180.0)
Char.SetDecisionMaker(50@, 158@)
Char.SetStayInSamePlace(50@, True)
Char.GiveWeapon(50@, WeaponType.Tec9, 30000)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2339.2, 1555.5, 24.7, 1.0, True)
51@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2339.2, 1555.5, 24.7)
Char.SetHeading(51@, 348.3)
Char.SetDecisionMaker(51@, 157@)
Char.SetKindaStayInSamePlace(51@, True)
Char.GiveWeapon(51@, WeaponType.Tec9, 30000)
Task.LookAbout(51@, -2)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2360.0, 1560.3, 25.0, 1.0, True)
52@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2360.0, 1560.3, 25.0)
Char.SetHeading(52@, 26.4)
Char.SetDecisionMaker(52@, 157@)
Char.SetKindaStayInSamePlace(52@, True)
Char.GiveWeapon(52@, WeaponType.Tec9, 30000)
Task.LookAbout(52@, -2)
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2334.7, 1529.8, 16.3, MoveState.Walk, -1)
Task.AchieveHeading(-1, 126.8)
Task.LookAbout(-1, -2)
Sequence.Close(156@)
Char.PerformSequence(46@, 156@)
Sequence.Clear(156@)
Camera.SetFixedPosition(-2332.5, 1534.4, 18.1, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2342.5, 1513.7, 15.33, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)
113@ = 5
115@ = 0
116@ = 1
gosub @WUZI5_26535
TIMERA = 0
91@ = 2

:WUZI5_6385
if 
  91@ == 2
goto_if_false @WUZI5_6443
if 
  TIMERA > 2000
goto_if_false @WUZI5_6443
92@ = 1
skip_cutscene_start_internal @WUZI5_6715
91@ = 3

:WUZI5_6443
if 
  91@ == 3
goto_if_false @WUZI5_6533
if 
  113@ == 0
goto_if_false @WUZI5_6533
if 
  TIMERA > 3200
goto_if_false @WUZI5_6533
113@ = 5
115@ = 1
116@ = 2
gosub @WUZI5_26535
91@ = 4

:WUZI5_6533
if 
  91@ == 4
goto_if_false @WUZI5_6671
if 
  TIMERA > 6000
goto_if_false @WUZI5_6671
Char.ClearTasksImmediately($stattreadstamina_ctr)
156@ = Sequence.Open()
Task.Climb(-1, True)
Task.AchieveHeading(-1, 85.1)
Sequence.Close(156@)
Char.PerformSequence($stattreadstamina_ctr, 156@)
Sequence.Clear(156@)
Camera.SetFixedPosition(-2320.4, 1535.2, 18.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2354.4, 1508.1, 18.9, SwitchType.JumpCut)
91@ = 5

:WUZI5_6671
if 
  91@ == 5
goto_if_false @WUZI5_7182
if 
  TIMERA > 8500
goto_if_false @WUZI5_7182
92@ = 0

:WUZI5_6715
skip_cutscene_end 
if 
  92@ == 1
goto_if_false @WUZI5_6815
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Camera.DoFade(500, Fade.Out)

:WUZI5_6759
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_6783
wait 0
goto @WUZI5_6759

:WUZI5_6783
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_6815
goto @WUZI5_20666

:WUZI5_6815
if 
  not Char.IsDead(46@)
goto_if_false @WUZI5_6839
Char.SetDecisionMaker(46@, 159@)

:WUZI5_6839
if 
  not Char.IsDead(51@)
goto_if_false @WUZI5_6863
Char.SetDecisionMaker(51@, 159@)

:WUZI5_6863
if 
  not Char.IsDead(52@)
goto_if_false @WUZI5_6887
Char.SetDecisionMaker(52@, 159@)

:WUZI5_6887
if 
  not Char.IsDead(36@)
goto_if_false @WUZI5_6911
Char.SetDecisionMaker(36@, 159@)

:WUZI5_6911
if 
  not Char.IsDead(37@)
goto_if_false @WUZI5_6935
Char.SetDecisionMaker(37@, 159@)

:WUZI5_6935
Char.ClearTasks($stattreadstamina_ctr)
Object.Delete(71@)
Streaming.MarkModelAsNoLongerNeeded(#KMB_CONTAINER_RED)
World.ClearArea(-2323.1, 1531.7, 16.3, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2323.1, 1531.7, 16.3)
Char.SetHeading($stattreadstamina_ctr, 85.2)
Text.ClearPrints
Text.PrintNow('WUZ4_10', 7000, 1)
Blip.Remove(80@)
80@ = Blip.AddForCoord(-2437.6, 1541.5, 6.4)
Car.MarkAsNoLongerNeeded(34@)
Game.ShutAllCharsUp(False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
if 
  92@ == 1
goto_if_false @WUZI5_7161
Camera.DoFade(500, Fade.In)

:WUZI5_7105
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_7129
wait 0
goto @WUZI5_7105

:WUZI5_7129
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_7161
goto @WUZI5_20666

:WUZI5_7161
114@ = 0
91@ = 0
90@ = 3

:WUZI5_7182
if 
  90@ == 3
goto_if_false @WUZI5_10888
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @WUZI5_7235
Char.SetCoordinates($stattreadstamina_ctr, -2437.5, 1538.4, 10.7)

:WUZI5_7235
if 
  91@ == 0
goto_if_false @WUZI5_7441
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2428.6, 1532.6, 12.2, -2441.3, 1549.9, 8.0, False)
goto_if_false @WUZI5_7386
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2437.6, 1541.5, 6.4, 1.2, 1.2, 1.2, True)
goto_if_false @WUZI5_7349

:WUZI5_7349
if 
  not Player.IsClimbing($statbike_temp)
goto_if_false @WUZI5_7379
Player.SetControl($statbike_temp, False)
91@ = 1

:WUZI5_7379
goto @WUZI5_7441

:WUZI5_7386
gosub @WUZI5_24954
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2437.6, 1541.5, 6.4, 1.2, 1.2, 1.2, True)
goto_if_false @WUZI5_7441

:WUZI5_7441
if 
  91@ == 1
goto_if_false @WUZI5_8954
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2437.6, 1541.5, 6.4, 1.2, 1.2, 1.2, True)
goto_if_false @WUZI5_7507

:WUZI5_7507
if 
  Char.IsStopped($stattreadstamina_ctr)
goto_if_false @WUZI5_8954
Camera.DoFade(500, Fade.Out)

:WUZI5_7530
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_7554
wait 0
goto @WUZI5_7530

:WUZI5_7554
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_7586
goto @WUZI5_20666

:WUZI5_7586
Game.ShutAllCharsUp(True)
World.ClearArea(-2374.4, 1548.5, 1.1, 1.0, True)
45@ = Char.Create(PedType.Mission2, 122, -2374.4, 1548.5, 1.1)
Char.SetHeading(45@, 299.2)
Char.SetDecisionMaker(45@, 158@)
Char.GiveWeapon(45@, WeaponType.Grenade, 1)
Char.AddArmor(45@, 100)
Streaming.RemoveAnimation("SWAT")
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(335)
Object.Delete(71@)
Streaming.MarkModelAsNoLongerNeeded(#KMB_CONTAINER_RED)
Streaming.RequestAnimation("PARK")

:WUZI5_7708
if 
  not Streaming.HasAnimationLoaded("PARK")
goto_if_false @WUZI5_7738
wait 0
goto @WUZI5_7708

:WUZI5_7738
73@ = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 48, -2428.4, 1536.3, 2.1)
72@ = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, -2425.3, 1536.4, 2.1)
94@ = 0

:WUZI5_7796
wait 0
if 
  15 > 94@
goto_if_false @WUZI5_7859
if 
  94@ <> 9
goto_if_false @WUZI5_7845
Char.Delete(36@(94@,17i))

:WUZI5_7845
94@ += 1
goto @WUZI5_7796

:WUZI5_7859
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Streaming.RequestModel(#CJ_CHRIS_CRATE)
Streaming.RequestModel(#CJ_CHRIS_CRATE_LD)
Streaming.RequestModel(#CJ_CHRIS_CRATE_RD)
Streaming.RequestModel(#CJ_PADLOCK)
Streaming.RequestModel(210)
Streaming.LoadAllModelsNow
World.ClearArea(-2368.9, 1551.9, 1.1, 10.0, True)
76@ = Object.Create(#CJ_CHRIS_CRATE, -2368.9, 1551.9, 1.1)
Object.SetHeading(76@, 270.0)
77@ = Object.Create(#CJ_CHRIS_CRATE_LD, -2371.55, 1552.66, 1.245)
Object.SetHeading(77@, 270.0)
78@ = Object.Create(#CJ_CHRIS_CRATE_RD, -2371.55, 1551.14, 1.245)
Object.SetHeading(78@, 270.0)
79@ = Object.Create(#CJ_PADLOCK, -2371.75, 1551.9, 2.1)
Object.SetHeading(79@, 270.0)
World.ClearArea(-2408.4, 1553.1, 1.1, 1.0, True)
36@ = Char.Create(PedType.Mission2, 121, -2408.4, 1553.1, 1.1)
Char.SetHeading(36@, 151.3)
Char.SetDecisionMaker(36@, 158@)
Task.SetIgnoreWeaponRangeFlag(36@, True)
Char.GiveWeapon(36@, WeaponType.Tec9, 30000)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2404.8, 1555.1, 1.1, 1.0, True)
37@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2404.8, 1555.1, 1.1)
Char.SetAnimGroup(37@, "GANG2")
Char.SetHeading(37@, 102.0)
Char.SetDecisionMaker(37@, 158@)
Char.GiveWeapon(37@, WeaponType.Tec9, 30000)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2401.3, 1555.1, 1.1, 1.0, True)
38@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2401.3, 1555.1, 1.1)
Char.SetAnimGroup(38@, "GANG1")
Char.SetHeading(38@, 90.0)
Char.SetDecisionMaker(38@, 158@)
Char.GiveWeapon(38@, WeaponType.Tec9, 30000)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2389.4, 1553.4, 1.1, 1.0, True)
39@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2389.4, 1553.4, 1.1)
Char.SetHeading(39@, 180.0)
Char.SetDecisionMaker(39@, 158@)
Char.GiveWeapon(39@, WeaponType.Tec9, 30000)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2404.7, 1545.5, 1.1, 1.0, True)
40@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2404.7, 1545.5, 1.1)
Char.SetHeading(40@, 266.2)
Char.SetDecisionMaker(40@, 158@)
Char.GiveWeapon(40@, WeaponType.Tec9, 30000)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2406.4, 1544.7, 1.1, 1.0, True)
41@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2406.4, 1544.7, 1.1)
Char.SetHeading(41@, 256.3)
Char.SetDecisionMaker(41@, 158@)
Char.GiveWeapon(41@, WeaponType.Tec9, 30000)
if 
  not Char.IsDead(45@)
goto_if_false @WUZI5_8691
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2372.5, 1551.0, 1.1, MoveState.Walk, -1)
Sequence.Close(156@)
Char.PerformSequence(45@, 156@)
Sequence.Clear(156@)
Blip.Remove(80@)
80@ = Blip.AddForChar(45@)

:WUZI5_8691
World.ClearArea(-2370.3, 1551.9, 1.2, 30.0, True)
62@ = Char.Create(PedType.Mission5, 210, -2370.3, 1551.9, 1.2)
Char.SetHeading(62@, 96.2)
Char.SetDecisionMaker(62@, 158@)
Char.SetOnlyDamagedByPlayer(62@, True)
Char.SetNeverTargeted(62@, True)
Camera.SetFixedPosition(-2375.2, 1555.9, 1.6, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2368.9, 1547.7, 3.8, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(-2435.6, 1551.1, 4.0, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2435.6, 1551.1, 4.0)
Char.SetHeading($stattreadstamina_ctr, 280.8)
Camera.DoFade(500, Fade.In)

:WUZI5_8902
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_8926
wait 0
goto @WUZI5_8902

:WUZI5_8926
92@ = 1
skip_cutscene_start_internal @WUZI5_10101
TIMERA = 0
91@ = 2

:WUZI5_8954
if 
  91@ == 2
goto_if_false @WUZI5_9054
if 
  not Char.IsDead(45@)
goto_if_false @WUZI5_9054
if 
  Char.LocateAnyMeans2D(45@, -2372.5, 1551.0, 1.0, 1.0, False)
goto_if_false @WUZI5_9054
113@ = 6
115@ = 0
gosub @WUZI5_26535
91@ = 3

:WUZI5_9054
if 
  91@ == 3
goto_if_false @WUZI5_9159
if 
  113@ == 0
goto_if_false @WUZI5_9159
if 
  not Char.IsDead(45@)
goto_if_false @WUZI5_9159
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2376.8, 1546.7, 1.1, MoveState.Walk, -1)
Sequence.Close(156@)
Char.PerformSequence(45@, 156@)
Sequence.Clear(156@)
91@ = 4

:WUZI5_9159
if 
  91@ == 4
goto_if_false @WUZI5_9654
if 
  TIMERA > 6000
goto_if_false @WUZI5_9654
Camera.DoFade(500, Fade.Out)

:WUZI5_9203
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_9227
wait 0
goto @WUZI5_9203

:WUZI5_9227
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_9259
goto @WUZI5_20666

:WUZI5_9259
if 
  not Char.IsDead(36@)
goto_if_false @WUZI5_9330
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2410.7, 1548.2, 1.1, MoveState.Walk, -1)
Task.AchieveHeading(-1, 90.0)
Sequence.Close(156@)
Char.PerformSequence(36@, 156@)
Sequence.Clear(156@)

:WUZI5_9330
if 
  not Char.IsDead(37@)
goto_if_false @WUZI5_9407
156@ = Sequence.Open()
Task.Pause(-1, 10)
Task.GoStraightToCoord(-1, -2409.9, 1551.0, 1.1, MoveState.Walk, -1)
Task.AchieveHeading(-1, 181.1)
Sequence.Close(156@)
Char.PerformSequence(37@, 156@)
Sequence.Clear(156@)

:WUZI5_9407
if 
  not Char.IsDead(38@)
goto_if_false @WUZI5_9498
156@ = Sequence.Open()
Task.Pause(-1, 15)
Task.GoStraightToCoord(-1, -2406.3, 1554.0, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2406.7, 1553.8, 1.1, MoveState.Walk, -1)
Sequence.Close(156@)
Char.PerformSequence(38@, 156@)
Sequence.Clear(156@)

:WUZI5_9498
Camera.SetFixedPosition(-2414.9, 1547.8, 2.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2409.7, 1549.5, 1.9, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:WUZI5_9556
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_9580
wait 0
goto @WUZI5_9556

:WUZI5_9580
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_9612
goto @WUZI5_20666

:WUZI5_9612
113@ = 7
115@ = 0
116@ = 1
gosub @WUZI5_26535
TIMERA = 0
91@ = 5

:WUZI5_9654
if 
  91@ == 5
goto_if_false @WUZI5_10007
if 
  not Char.IsDead(36@)
goto_if_false @WUZI5_10007
$chickY = Char.GetScriptTaskStatus(36@, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @WUZI5_10007
if 
  not Char.IsDead(36@)
goto_if_false @WUZI5_9785
156@ = Sequence.Open()
Task.AimGunAtCoord(-1, -2417.5, 1548.2, 2.1, 5000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(36@, 156@)
Sequence.Clear(156@)

:WUZI5_9785
if 
  not Char.IsDead(37@)
goto_if_false @WUZI5_9878
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2405.0, 1551.0, 1.1, MoveState.Run, -1)
Task.AchieveHeading(-1, 261.2)
Task.Climb(-1, True)
Task.AchieveHeading(-1, 90.0)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(37@, 156@)
Sequence.Clear(156@)

:WUZI5_9878
if 
  not Char.IsDead(38@)
goto_if_false @WUZI5_9972
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2394.0, 1554.4, 1.1, MoveState.Sprint, -1)
Task.GoStraightToCoord(-1, -2393.5, 1545.1, 1.1, MoveState.Sprint, -1)
Task.AchieveHeading(-1, 0.0)
Sequence.Close(156@)
Char.PerformSequence(38@, 156@)
Sequence.Clear(156@)

:WUZI5_9972
113@ = 7
115@ = 1
116@ = 2
gosub @WUZI5_26535
91@ = 6

:WUZI5_10007
if 
  91@ == 6
goto_if_false @WUZI5_10057
if 
  113@ == 0
goto_if_false @WUZI5_10057
TIMERA = 0
91@ = 7

:WUZI5_10057
if 
  91@ == 7
goto_if_false @WUZI5_10888
if 
  TIMERA > 800
goto_if_false @WUZI5_10888
92@ = 0

:WUZI5_10101
skip_cutscene_end 
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_10135
goto @WUZI5_20666

:WUZI5_10135
if 
  92@ == 1
goto_if_false @WUZI5_10458
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Camera.DoFade(500, Fade.Out)

:WUZI5_10177
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_10201
wait 0
goto @WUZI5_10177

:WUZI5_10201
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_10233
goto @WUZI5_20666

:WUZI5_10233
if 
  not Char.IsDead(36@)
goto_if_false @WUZI5_10308
Char.ClearTasksImmediately(36@)
World.ClearArea(-2410.7, 1548.2, 1.1, 1.0, True)
Char.SetCoordinates(36@, -2410.7, 1548.2, 1.1)
Char.SetHeading(36@, 90.0)

:WUZI5_10308
if 
  not Char.IsDead(37@)
goto_if_false @WUZI5_10383
Char.ClearTasksImmediately(37@)
World.ClearArea(-2405.0, 1551.0, 1.1, 1.0, True)
Char.SetCoordinates(37@, -2405.0, 1551.0, 1.1)
Char.SetHeading(37@, 90.0)

:WUZI5_10383
if 
  not Char.IsDead(38@)
goto_if_false @WUZI5_10458
Char.ClearTasksImmediately(38@)
World.ClearArea(-2393.5, 1545.1, 1.1, 1.0, True)
Char.SetCoordinates(38@, -2393.5, 1545.1, 1.1)
Char.SetHeading(38@, 0.0)

:WUZI5_10458
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
if 
  not Char.IsDead(36@)
goto_if_false @WUZI5_10486
Char.SetDecisionMaker(36@, 157@)

:WUZI5_10486
if 
  not Char.IsDead(37@)
goto_if_false @WUZI5_10510
Char.SetDecisionMaker(37@, 157@)

:WUZI5_10510
if 
  not Char.IsDead(38@)
goto_if_false @WUZI5_10534
Char.SetDecisionMaker(38@, 157@)

:WUZI5_10534
if 
  not Char.IsDead(39@)
goto_if_false @WUZI5_10558
Char.SetDecisionMaker(39@, 157@)

:WUZI5_10558
if 
  not Char.IsDead(40@)
goto_if_false @WUZI5_10582
Char.SetDecisionMaker(40@, 157@)

:WUZI5_10582
if 
  not Char.IsDead(41@)
goto_if_false @WUZI5_10606
Char.SetDecisionMaker(41@, 157@)

:WUZI5_10606
if 
  not Char.IsDead(45@)
goto_if_false @WUZI5_10681
Char.ClearTasks(45@)
World.ClearArea(-2377.0, 1535.6, 1.1, 1.0, True)
Char.SetCoordinates(45@, -2377.0, 1535.6, 1.1)
Char.SetHeading(45@, 90.0)

:WUZI5_10681
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(-2435.6, 1551.1, 4.0, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2435.6, 1551.1, 4.0)
Char.SetHeading($stattreadstamina_ctr, 280.8)
Game.ShutAllCharsUp(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.ClearPrints
Text.PrintNow('WUZ4_05', 4000, 1)
if 
  92@ == 1
goto_if_false @WUZI5_10867
Camera.DoFade(500, Fade.In)

:WUZI5_10811
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_10835
wait 0
goto @WUZI5_10811

:WUZI5_10835
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_10867
goto @WUZI5_20666

:WUZI5_10867
114@ = 0
91@ = 0
90@ = 4

:WUZI5_10888
if 
  90@ == 4
goto_if_false @WUZI5_16191
if 
  5 > 91@
goto_if_false @WUZI5_11114
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2381.7, 1546.2, 0.0, -2365.1, 1556.1, 6.5, False)
goto_if_false @WUZI5_11114
if 
  113@ == 0
goto_if_false @WUZI5_11043
if 
  114@ == 0
goto_if_false @WUZI5_11043
113@ = 9
115@ = 0
116@ = 1
gosub @WUZI5_26535
114@ = 1

:WUZI5_11043
if 
  113@ == 0
goto_if_false @WUZI5_11114
if 
  114@ == 1
goto_if_false @WUZI5_11114
113@ = 9
115@ = 1
116@ = 2
gosub @WUZI5_26535
114@ = 2

:WUZI5_11114
if 
  Char.IsDead(62@)
goto_if_false @WUZI5_11155
Text.ClearPrints
Text.PrintNow('WUZ4_03', 4000, 1)
goto @WUZI5_20666

:WUZI5_11155
if 
  91@ == 0
goto_if_false @WUZI5_11611
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @WUZI5_11229
if 
  not Char.IsDead(45@)
goto_if_false @WUZI5_11209
Char.ExplodeHead(45@)

:WUZI5_11209
Char.SetCoordinates($stattreadstamina_ctr, -2374.0, 1551.0, 2.0)

:WUZI5_11229
if 
  not Char.IsDead(45@)
goto_if_false @WUZI5_11604
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2370.4, 1533.6, 1.1, -2408.5, 1537.4, 5.2, False)
goto_if_false @WUZI5_11344
Task.ShootAtCoord(45@, -2400.1, 1535.3, 1.1, 500)
113@ = 8
115@ = 0
gosub @WUZI5_26535
91@ = 1

:WUZI5_11344
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2375.1, 1556.2, 1.1, -2379.2, 1537.3, 5.2, False)
goto_if_false @WUZI5_11443
Task.ShootAtCoord(45@, -2377.0, 1552.4, 1.1, 500)
113@ = 8
115@ = 0
gosub @WUZI5_26535
91@ = 1

:WUZI5_11443
if 
  not Char.IsInArea3D($stattreadstamina_ctr, -2375.1, 1556.2, 1.1, -2379.2, 1537.3, 5.2, False)
goto_if_false @WUZI5_11597
if 
  not Char.IsInArea3D($stattreadstamina_ctr, -2370.4, 1533.6, 1.1, -2408.5, 1537.4, 5.2, False)
goto_if_false @WUZI5_11597
if 
  Char.HasBeenDamagedByChar(45@, $stattreadstamina_ctr)
goto_if_false @WUZI5_11597
Char.RemoveWeapon(45@, WeaponType.Grenade)
Char.GiveWeapon(45@, WeaponType.Tec9, 30000)
Char.SetCurrentWeapon(45@, WeaponType.Tec9)
Task.KillCharOnFoot(45@, $stattreadstamina_ctr)
91@ = 3

:WUZI5_11597
goto @WUZI5_11611

:WUZI5_11604
91@ = 3

:WUZI5_11611
if 
  91@ == 1
goto_if_false @WUZI5_11760
if 
  not Char.IsDead(45@)
goto_if_false @WUZI5_11753
$chickY = Char.GetScriptTaskStatus(45@, 1640)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @WUZI5_11746
Char.GiveWeapon(45@, WeaponType.Tec9, 30000)
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2377.4, 1539.1, 1.1, MoveState.Run, -1)
Task.AchieveHeading(-1, 90.0)
Sequence.Close(156@)
Char.PerformSequence(45@, 156@)
Sequence.Clear(156@)
91@ = 2

:WUZI5_11746
goto @WUZI5_11760

:WUZI5_11753
91@ = 3

:WUZI5_11760
if 
  91@ == 2
goto_if_false @WUZI5_12021
if 
  not Char.IsDead(45@)
goto_if_false @WUZI5_12014
$chickY = Char.GetScriptTaskStatus(45@, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @WUZI5_12007
if or
  Char.IsInArea3D($stattreadstamina_ctr, -2370.4, 1533.6, 0.0, -2408.5, 1537.4, 4.0, False)
  Char.HasBeenDamagedByChar($stattreadstamina_ctr, 45@)
goto_if_false @WUZI5_11922
156@ = Sequence.Open()
Task.WeaponRoll(-1, False)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(45@, 156@)
Sequence.Clear(156@)
91@ = 3

:WUZI5_11922
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2375.1, 1556.2, 1.1, -2379.2, 1537.3, 5.2, False)
goto_if_false @WUZI5_12007
156@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(45@, 156@)
Sequence.Clear(156@)
91@ = 3

:WUZI5_12007
goto @WUZI5_12021

:WUZI5_12014
91@ = 3

:WUZI5_12021
if 
  91@ == 3
goto_if_false @WUZI5_12141
if 
  Char.IsDead(45@)
goto_if_false @WUZI5_12141
Object.MakeTargetable(79@, True)
Blip.Remove(80@)
80@ = Blip.AddForObject(79@)
if 
  Object.DoesExist(79@)
goto_if_false @WUZI5_12134
160@ = Object.GetHealth(79@)
if 
  999 <= 160@
goto_if_false @WUZI5_12134
Text.PrintNow('WUZ4_09', 11000, 1)

:WUZI5_12134
91@ = 4

:WUZI5_12141
if 
  91@ == 4
goto_if_false @WUZI5_12244
if 
  Object.DoesExist(79@)
goto_if_false @WUZI5_12230
160@ = Object.GetHealth(79@)
if 
  999 > 160@
goto_if_false @WUZI5_12223
Object.Break(79@, 0)
TIMERA = 0
91@ = 5

:WUZI5_12223
goto @WUZI5_12244

:WUZI5_12230
TIMERA = 0
91@ = 5

:WUZI5_12244
if 
  91@ == 5
goto_if_false @WUZI5_12996
if 
  TIMERA > 1000
goto_if_false @WUZI5_12996
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Game.ShutAllCharsUp(True)
Object.Delete(79@)
DecisionMakerChar.ClearEventResponse(158@, 13)
DecisionMakerChar.ClearEventResponse(158@, 44)
Streaming.MarkModelAsNoLongerNeeded(342)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1819)

:WUZI5_12348
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @WUZI5_12374
wait 0
goto @WUZI5_12348

:WUZI5_12374
Streaming.RequestModel(339)
Streaming.RequestModel(49)
Streaming.RequestModel(58)
Streaming.RequestAnimation("GANGS")
Streaming.LoadAllModelsNow
gosub @WUZI5_24711
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(-2373.9, 1552.1, 1.1, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2373.9, 1552.1, 1.1)
Char.SetHeading($stattreadstamina_ctr, 267.0)
Camera.SetFixedPosition(-2375.0, 1547.2, 2.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2370.9, 1555.3, 2.7, SwitchType.JumpCut)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2473.3, 1536.3, 27.8, 1.0, True)
68@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2473.3, 1536.3, 27.8)
Char.SetHeading(68@, 12.6)
Char.SetDecisionMaker(68@, 157@)
Char.GiveWeapon(68@, WeaponType.Tec9, 3000)
Char.SetKindaStayInSamePlace(68@, True)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2476.3, 1536.3, 27.8, 1.0, True)
69@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2476.3, 1536.3, 27.8)
Char.SetHeading(69@, 321.5)
Char.SetDecisionMaker(69@, 157@)
Char.GiveWeapon(69@, WeaponType.Tec9, 3000)
Char.SetKindaStayInSamePlace(69@, True)
99@ = Math.RandomIntInRange(0, 2)
World.ClearArea(-2470.3, 1546.9, 22.6, 1.0, True)
70@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2470.3, 1546.9, 22.6)
Char.SetHeading(70@, 265.4)
Char.SetDecisionMaker(70@, 157@)
Char.GiveWeapon(70@, WeaponType.Tec9, 3000)
Char.SetKindaStayInSamePlace(70@, True)
World.ClearArea(-2471.5, 1548.2, 32.2, 1.0, True)
65@ = Char.Create(PedType.Mission2, 49, -2471.5, 1548.2, 32.2)
Char.SetHeading(65@, 130.0)
Char.GiveWeapon(65@, WeaponType.Katana, 1)
Char.SetShootRate(65@, 70)
Blip.Remove(80@)
80@ = Blip.AddForChar(65@)
Blip.ChangeScale(80@, 1)
Char.SetDecisionMaker(65@, 158@)
Task.PlayAnimNonInterruptable(65@, "TAI_CHI_LOOP", "PARK", 4.0, True, False, False, False, -1)
92@ = 1
skip_cutscene_start_internal @WUZI5_14511
Audio.ReportMissionAudioEventAtPosition(-2371.55, 1552.66, 1.245, 1110)
TIMERA = 0
91@ = 6

:WUZI5_12996
if 
  91@ == 6
goto_if_false @WUZI5_13630
if 
  Object.DoesExist(77@)
goto_if_false @WUZI5_13047
  Object.Rotate(77@, 180.0, 2.0, False)

:WUZI5_13047
if 
  Object.DoesExist(78@)
goto_if_false @WUZI5_13080
  Object.Rotate(78@, 360.0, 2.0, False)

:WUZI5_13080
if 
  not Char.IsDead(62@)
goto_if_false @WUZI5_13179
156@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.GoStraightToCoord(-1, -2372.8, 1551.8, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2374.4, 1551.9, 1.1, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(62@, 156@)
Sequence.Clear(156@)

:WUZI5_13179
if 
  TIMERA > 2000
goto_if_false @WUZI5_13630
if 
  not Char.IsDead(59@)
goto_if_false @WUZI5_13327
156@ = Sequence.Open()
Task.Pause(-1, 900)
Task.GoStraightToCoord(-1, -2372.8, 1552.1, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2373.4, 1553.3, 1.1, MoveState.Walk, -1)
Task.PlayAnim(-1, "IDLE_TIRED", "PED", 4.0, False, False, False, False, 4000)
Sequence.Close(156@)
Char.PerformSequence(59@, 156@)
Sequence.Clear(156@)

:WUZI5_13327
if 
  not Char.IsDead(60@)
goto_if_false @WUZI5_13426
156@ = Sequence.Open()
Task.Pause(-1, 2000)
Task.GoStraightToCoord(-1, -2372.8, 1552.1, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2374.1, 1550.6, 1.1, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(60@, 156@)
Sequence.Clear(156@)

:WUZI5_13426
if 
  not Char.IsDead(61@)
goto_if_false @WUZI5_13504
156@ = Sequence.Open()
Task.Pause(-1, 2500)
Task.GoStraightToCoord(-1, -2372.8, 1552.1, 1.1, MoveState.Walk, -1)
Task.AchieveHeading(-1, 6.7)
Sequence.Close(156@)
Char.PerformSequence(61@, 156@)
Sequence.Clear(156@)

:WUZI5_13504
World.ClearArea(-2376.1, 1552.5, 1.1, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2376.1, 1552.5, 1.1)
Char.SetHeading($stattreadstamina_ctr, 264.4)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.SetFixedPosition(-2376.9, 1554.3, 2.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2370.6, 1549.7, 2.7, SwitchType.JumpCut)
TIMERA = 0
91@ = 7

:WUZI5_13630
if 
  91@ == 7
goto_if_false @WUZI5_13793
if 
  not Char.IsDead(62@)
goto_if_false @WUZI5_13793
$chickY = Char.GetScriptTaskStatus(62@, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @WUZI5_13793
156@ = Sequence.Open()
Task.PlayAnim(-1, "PRTIAL_GNGTLKE", "GANGS", 4.0, False, False, False, False, -1)
Sequence.Close(156@)
Char.PerformSequence(62@, 156@)
Sequence.Clear(156@)
113@ = 10
115@ = 0
116@ = 2
gosub @WUZI5_26535
91@ = 8

:WUZI5_13793
if 
  91@ == 8
goto_if_false @WUZI5_14161
if 
  TIMERA > 6000
goto_if_false @WUZI5_14161
if 
  113@ == 0
goto_if_false @WUZI5_14161
Camera.DoFade(500, Fade.Out)

:WUZI5_13855
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_13879
wait 0
goto @WUZI5_13855

:WUZI5_13879
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_13911
goto @WUZI5_20666

:WUZI5_13911
Streaming.LoadScene(-2465.5, 1547.1, 22.7)
if 
  not Char.IsDead(70@)
goto_if_false @WUZI5_14013
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2468.9, 1547.2, 22.7, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2465.5, 1547.1, 22.7, MoveState.Walk, -1)
Sequence.Close(156@)
Char.PerformSequence(70@, 156@)
Sequence.Clear(156@)

:WUZI5_14013
Camera.SetFixedPosition(-2460.0, 1552.1, 22.9, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2468.1, 1543.8, 25.9, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:WUZI5_14071
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_14095
wait 0
goto @WUZI5_14071

:WUZI5_14095
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_14127
goto @WUZI5_20666

:WUZI5_14127
Audio.ReportMissionAudioEventAtPosition(-2468.0, 1547.3, 22.8, 1111)
TIMERA = 0
91@ = 9

:WUZI5_14161
if 
  91@ == 9
goto_if_false @WUZI5_14467
if 
  Object.DoesExist($riot2_door)
goto_if_false @WUZI5_14212
  Object.Rotate($riot2_door, 90.0, 2.0, False)

:WUZI5_14212
if 
  TIMERA > 6000
goto_if_false @WUZI5_14467
Camera.DoFade(500, Fade.Out)

:WUZI5_14238
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_14262
wait 0
goto @WUZI5_14238

:WUZI5_14262
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_14294
goto @WUZI5_20666

:WUZI5_14294
Streaming.LoadScene(-2471.5, 1548.2, 32.2)
Camera.SetFixedPosition(-2476.5, 1546.5, 33.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2462.6, 1546.8, 32.7, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:WUZI5_14369
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_14393
wait 0
goto @WUZI5_14369

:WUZI5_14393
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_14425
goto @WUZI5_20666

:WUZI5_14425
113@ = 10
115@ = 2
116@ = 3
gosub @WUZI5_26535
TIMERA = 0
91@ = 10

:WUZI5_14467
if 
  91@ == 10
goto_if_false @WUZI5_16191
if 
  TIMERA > 7000
goto_if_false @WUZI5_16191
92@ = 0

:WUZI5_14511
skip_cutscene_end 
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_14545
goto @WUZI5_20666

:WUZI5_14545
if 
  92@ == 1
goto_if_false @WUZI5_14643
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Camera.DoFade(500, Fade.Out)

:WUZI5_14587
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_14611
wait 0
goto @WUZI5_14587

:WUZI5_14611
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_14643
goto @WUZI5_20666

:WUZI5_14643
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
if 
  not Char.IsDead(59@)
goto_if_false @WUZI5_14929
Char.ClearTasksImmediately(59@)
World.ClearArea(-2373.4, 1553.3, 1.1, 1.0, True)
Char.SetCoordinates(59@, -2373.4, 1553.3, 1.1)
Char.SetHeading(59@, 120.0)
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2377.1, 1546.4, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2377.2, 1535.3, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2404.0, 1534.8, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2407.6, 1544.3, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2393.1, 1546.5, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2393.4, 1554.2, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2405.2, 1554.5, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2432.3, 1544.7, 1.1, MoveState.Walk, -1)
Sequence.Close(156@)
Char.PerformSequence(59@, 156@)
Sequence.Clear(156@)

:WUZI5_14929
if 
  not Char.IsDead(60@)
goto_if_false @WUZI5_15211
Char.ClearTasksImmediately(60@)
World.ClearArea(-2374.1, 1550.6, 1.1, 1.0, True)
Char.SetCoordinates(60@, -2374.1, 1550.6, 1.1)
Char.SetHeading(60@, 63.1)
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2377.1, 1546.4, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2377.2, 1535.3, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2404.0, 1534.8, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2407.6, 1544.3, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2393.1, 1546.5, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2393.4, 1554.2, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2405.2, 1554.5, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2430.6, 1543.7, 1.1, MoveState.Walk, -1)
Sequence.Close(156@)
Char.PerformSequence(60@, 156@)
Sequence.Clear(156@)

:WUZI5_15211
if 
  not Char.IsDead(61@)
goto_if_false @WUZI5_15493
Char.ClearTasksImmediately(61@)
World.ClearArea(-2372.8, 1552.1, 1.1, 1.0, True)
Char.SetCoordinates(61@, -2372.8, 1552.1, 1.1)
Char.SetHeading(61@, 90.0)
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2377.1, 1546.4, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2377.2, 1535.3, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2404.0, 1534.8, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2407.6, 1544.3, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2393.1, 1546.5, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2393.4, 1554.2, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2405.2, 1554.5, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2430.4, 1545.8, 1.1, MoveState.Walk, -1)
Sequence.Close(156@)
Char.PerformSequence(61@, 156@)
Sequence.Clear(156@)

:WUZI5_15493
if 
  not Char.IsDead(62@)
goto_if_false @WUZI5_15775
Char.ClearTasksImmediately(62@)
World.ClearArea(-2374.4, 1551.9, 1.1, 1.0, True)
Char.SetCoordinates(62@, -2374.4, 1551.9, 1.1)
Char.SetHeading(62@, 90.0)
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2377.1, 1546.4, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2377.2, 1535.3, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2404.0, 1534.8, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2407.6, 1544.3, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2393.1, 1546.5, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2393.4, 1554.2, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2405.2, 1554.5, 1.1, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -2428.4, 1544.6, 1.1, MoveState.Walk, -1)
Sequence.Close(156@)
Char.PerformSequence(62@, 156@)
Sequence.Clear(156@)

:WUZI5_15775
if 
  Object.DoesExist(77@)
goto_if_false @WUZI5_15808
  Object.Rotate(77@, 180.0, 360.0, False)

:WUZI5_15808
if 
  Object.DoesExist(78@)
goto_if_false @WUZI5_15841
  Object.Rotate(78@, 360.0, 360.0, False)

:WUZI5_15841
if 
  Object.DoesExist($riot2_door)
goto_if_false @WUZI5_15874
  Object.Rotate($riot2_door, 90.0, 100.0, False)

:WUZI5_15874
if 
  not Char.IsDead(70@)
goto_if_false @WUZI5_15934
World.ClearArea(-2466.9, 1546.9, 22.7, 30.0, True)
Char.SetCoordinates(70@, -2466.9, 1546.9, 22.7)

:WUZI5_15934
if 
  not Char.IsDead(65@)
goto_if_false @WUZI5_15955
Char.ClearTasks(65@)

:WUZI5_15955
Streaming.MarkModelAsNoLongerNeeded(#CJ_PADLOCK)
DecisionMakerChar.AddEventResponse(158@, 44, 510, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(158@, 13, 917, 0.0, 100.0, 0.0, 0.0, False, True)
Game.ShutAllCharsUp(False)
Char.SetHealth($stattreadstamina_ctr, 100)
Streaming.RemoveAnimation("PARK")
Streaming.RemoveAnimation("GANGS")
Text.ClearPrints
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.PrintNow('BRIDGE', 7000, 1)
if 
  92@ == 1
goto_if_false @WUZI5_16177
Camera.DoFade(500, Fade.In)

:WUZI5_16121
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_16145
wait 0
goto @WUZI5_16121

:WUZI5_16145
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_16177
goto @WUZI5_20666

:WUZI5_16177
91@ = 0
90@ = 5

:WUZI5_16191
if 
  90@ == 5
goto_if_false @WUZI5_18809
if 
  90@ == 5
goto_if_false @WUZI5_16311
if 
  4 > 96@
goto_if_false @WUZI5_16304
if 
  Char.IsDead(59@(96@,4i))
goto_if_false @WUZI5_16290
Text.ClearPrints
Text.PrintNow('WUZ4_03', 4000, 1)
goto @WUZI5_20666

:WUZI5_16290
96@ += 1
goto @WUZI5_16311

:WUZI5_16304
96@ = 0

:WUZI5_16311
if 
  91@ == 0
goto_if_false @WUZI5_17136
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @WUZI5_16364
Char.SetCoordinates($stattreadstamina_ctr, -2477.4, 1537.0, 27.8)

:WUZI5_16364
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2476.4, 1538.0, 29.8, -2479.2, 1550.5, 35.2, False)
goto_if_false @WUZI5_17136
Camera.DoFade(1000, Fade.Out)

:WUZI5_16419
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_16443
wait 0
goto @WUZI5_16419

:WUZI5_16443
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_16475
goto @WUZI5_20666

:WUZI5_16475
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
World.ClearArea(-2466.9, 1546.9, 22.7, 30.0, True)
World.ClearArea(-2478.4, 1539.0, 29.5, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2478.4, 1539.0, 29.5)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.ShutAllCharsUp(True)
Streaming.RequestModel(#KATANA_ANIM)
Streaming.RequestModel(#KATANA_LHAND)
Streaming.RequestAnimation("MISC")
Streaming.LoadAllModelsNow
74@ = Object.Create(#KATANA_ANIM, -2472.6, 1538.5, 32.3)
if 
  not Char.IsDead(65@)
goto_if_false @WUZI5_16776
Char.ClearTasksImmediately(65@)
World.ClearArea(-2472.3, 1551.5, 32.2, 1.0, True)
Char.SetCoordinates(65@, -2472.3, 1551.5, 32.2)
Char.SetHeading(65@, 135.0)
75@ = Object.Create(#KATANA_LHAND, -2117.0, 654.0, 59.7)
Task.PickUpObject(65@, 75@, 0.0, 0.0, 0.0, 5, 16, "NULL", "NULL", 0)

:WUZI5_16776
if 
  not Char.IsDead(68@)
goto_if_false @WUZI5_16805
Char.SetDecisionMaker(68@, 158@)
Char.ClearTasksImmediately(68@)

:WUZI5_16805
if 
  not Char.IsDead(69@)
goto_if_false @WUZI5_16834
Char.SetDecisionMaker(69@, 158@)
Char.ClearTasksImmediately(69@)

:WUZI5_16834
if 
  not Char.IsDead(70@)
goto_if_false @WUZI5_16863
Char.SetDecisionMaker(70@, 158@)
Char.ClearTasksImmediately(70@)

:WUZI5_16863
if 
  not Char.IsDead(65@)
goto_if_false @WUZI5_16908
140@, 141@, 142@ = Char.GetOffsetInWorldCoords(65@, 0.0, 4.0, -1.0)

:WUZI5_16908
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2477.9, 1543.7, 31.7, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 140@, 141@, 142@, MoveState.Walk, -1)
if 
  not Char.IsDead(65@)
goto_if_false @WUZI5_16976
Task.TurnCharToFaceChar(-1, 65@)

:WUZI5_16976
Sequence.Close(156@)
Char.PerformSequence($stattreadstamina_ctr, 156@)
Sequence.Clear(156@)
Camera.SetFixedPosition(-2472.8, 1554.0, 33.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2474.5, 1542.2, 33.2, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:WUZI5_17052
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_17076
wait 0
goto @WUZI5_17052

:WUZI5_17076
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_17108
goto @WUZI5_20666

:WUZI5_17108
TIMERA = 0
92@ = 1
skip_cutscene_start_internal @WUZI5_17880
91@ = 1

:WUZI5_17136
if 
  91@ == 1
goto_if_false @WUZI5_17511
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @WUZI5_17511
113@ = 13
115@ = 0
gosub @WUZI5_26535
World.ClearArea(140@, 141@, 142@, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 140@, 141@, 142@)
Char.SetHeading($stattreadstamina_ctr, 315.0)
if 
  not Char.IsDead(65@)
goto_if_false @WUZI5_17511
if 
  Object.DoesExist(75@)
goto_if_false @WUZI5_17511
Object.Delete(75@)
140@, 141@, 142@ = Char.GetOffsetInWorldCoords(65@, 0.0, 2.0, -1.0)
Object.SetCoordinates(74@, 140@, 141@, 142@)
Object.SetHeading(74@, 315.0)
140@, 141@, 142@ = Char.GetOffsetInWorldCoords(65@, 0.0, 4.0, 0.0)
Char.ClearTasksImmediately(65@)
Task.PlayAnim(65@, "KAT_THROW_K", "MISC", 1000.0, False, False, False, False, -1)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.PlayAnim($stattreadstamina_ctr, "KAT_THROW_P", "MISC", 1000.0, False, False, False, False, -1)
Camera.SetFixedPosition(-2475.1, 1547.1, 33.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2472.2, 1553.0, 33.7, SwitchType.JumpCut)
91@ = 3

:WUZI5_17511
if 
  91@ == 3
goto_if_false @WUZI5_17818
if 
  Object.DoesExist(74@)
goto_if_false @WUZI5_17818
if 
  not Char.IsDead(65@)
goto_if_false @WUZI5_17818
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "KAT_THROW_P")
goto_if_false @WUZI5_17735
143@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "KAT_THROW_P")
if 
  Object.IsPlayingAnim(74@, "KAT_THROW_O")
goto_if_false @WUZI5_17668
Object.SetAnimCurrentTime(74@, "KAT_THROW_O", 143@)
goto @WUZI5_17735

:WUZI5_17668
if 
Object.PlayAnim(74@, "KAT_THROW_O", "MISC", 10000.0, False, False)
goto_if_false @WUZI5_17735
Object.SetAnimSpeed(74@, "KAT_THROW_O", 0.0)

:WUZI5_17735
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "KAT_THROW_P")
goto_if_false @WUZI5_17818
143@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "KAT_THROW_P")
if 
  143@ == 1.0
goto_if_false @WUZI5_17818
Object.Delete(74@)
91@ = 4

:WUZI5_17818
if 
  91@ == 4
goto_if_false @WUZI5_18697
if 
  113@ == 0
goto_if_false @WUZI5_18697
if 
  TIMERA > 8000
goto_if_false @WUZI5_18697
92@ = 0

:WUZI5_17880
skip_cutscene_end 
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_17914
goto @WUZI5_20666

:WUZI5_17914
if 
  92@ == 1
goto_if_false @WUZI5_18102
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Camera.DoFade(500, Fade.Out)

:WUZI5_17956
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_17980
wait 0
goto @WUZI5_17956

:WUZI5_17980
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_18012
goto @WUZI5_20666

:WUZI5_18012
Object.Delete(75@)
Object.Delete(74@)
if 
  not Char.IsDead(65@)
goto_if_false @WUZI5_18043
Char.ClearTasksImmediately(65@)

:WUZI5_18043
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(-2475.5, 1546.7, 32.2, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2475.5, 1546.7, 32.2)
Char.SetHeading($stattreadstamina_ctr, 315.0)

:WUZI5_18102
if 
  not Char.IsDead(59@)
goto_if_false @WUZI5_18177
Char.ClearTasksImmediately(59@)
World.ClearArea(-2439.5, 1561.3, 16.3, 1.0, True)
Char.SetCoordinates(59@, -2439.5, 1561.3, 16.3)
Char.SetHeading(59@, 11.0)

:WUZI5_18177
if 
  not Char.IsDead(60@)
goto_if_false @WUZI5_18252
Char.ClearTasksImmediately(60@)
World.ClearArea(-2437.7, 1561.5, 16.3, 1.0, True)
Char.SetCoordinates(60@, -2437.7, 1561.5, 16.3)
Char.SetHeading(60@, 177.5)

:WUZI5_18252
if 
  not Char.IsDead(61@)
goto_if_false @WUZI5_18327
Char.ClearTasksImmediately(61@)
World.ClearArea(-2438.8, 1560.0, 16.3, 1.0, True)
Char.SetCoordinates(61@, -2438.8, 1560.0, 16.3)
Char.SetHeading(61@, 183.9)

:WUZI5_18327
if 
  not Char.IsDead(62@)
goto_if_false @WUZI5_18402
Char.ClearTasksImmediately(62@)
World.ClearArea(-2436.6, 1561.8, 16.3, 1.0, True)
Char.SetCoordinates(62@, -2436.6, 1561.8, 16.3)
Char.SetHeading(62@, 9.5)

:WUZI5_18402
if 
  not Char.IsDead(65@)
goto_if_false @WUZI5_18478
World.ClearArea(-2472.7, 1551.4, 32.2, 1.0, True)
Char.SetCoordinates(65@, -2472.7, 1551.4, 32.2)
Task.KillCharOnFoot(65@, $stattreadstamina_ctr)
Char.SetDecisionMaker(65@, 157@)

:WUZI5_18478
if 
  not Char.IsDead(68@)
goto_if_false @WUZI5_18507
Char.SetDecisionMaker(68@, 157@)
Char.ClearTasksImmediately(68@)

:WUZI5_18507
if 
  not Char.IsDead(69@)
goto_if_false @WUZI5_18536
Char.SetDecisionMaker(69@, 157@)
Char.ClearTasksImmediately(69@)

:WUZI5_18536
if 
  not Char.IsDead(70@)
goto_if_false @WUZI5_18565
Char.SetDecisionMaker(70@, 157@)
Char.ClearTasksImmediately(70@)

:WUZI5_18565
Game.ShutAllCharsUp(False)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Katana, 1)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Katana)
if 
  92@ == 1
goto_if_false @WUZI5_18690
Camera.DoFade(500, Fade.In)

:WUZI5_18634
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_18658
wait 0
goto @WUZI5_18634

:WUZI5_18658
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_18690
goto @WUZI5_20666

:WUZI5_18690
91@ = 5

:WUZI5_18697
if 
  Char.IsDead(65@)
goto_if_false @WUZI5_18718
Blip.Remove(80@)

:WUZI5_18718
if 
  Char.IsDead(65@)
goto_if_false @WUZI5_18809
Text.ClearPrints
Blip.Remove(80@)
if 
  not Char.IsDead(62@)
goto_if_false @WUZI5_18772
80@ = Blip.AddForChar(62@)
Blip.SetAsFriendly(80@, True)

:WUZI5_18772
Text.PrintNow('WUZ4_11', 4000, 1)
91@ = 0
TIMERA = 0
90@ = 6

:WUZI5_18809
if 
  90@ == 6
goto_if_false @WUZI5_19695
if 
  91@ == 0
goto_if_false @WUZI5_19000
if 
  4 > 96@
goto_if_false @WUZI5_18922
if 
  Char.IsDead(59@(96@,4i))
goto_if_false @WUZI5_18908
Text.ClearPrints
Text.PrintNow('WUZ4_03', 4000, 1)
goto @WUZI5_20666

:WUZI5_18908
96@ += 1
goto @WUZI5_18929

:WUZI5_18922
96@ = 0

:WUZI5_18929
if 
  not Char.IsDead(62@)
goto_if_false @WUZI5_19000
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 62@, 4.0, 4.0, 4.0, False)
goto_if_false @WUZI5_19000
Blip.Remove(80@)
Player.SetControl($statbike_temp, False)
91@ = 1

:WUZI5_19000
if 
  91@ == 1
goto_if_false @WUZI5_19056
Camera.DoFade(2000, Fade.Out)

:WUZI5_19025
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_19049
wait 0
goto @WUZI5_19025

:WUZI5_19049
91@ = 2

:WUZI5_19056
if 
  91@ == 2
goto_if_false @WUZI5_19525
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.ShutAllCharsUp(True)
Camera.SetFixedPosition(-2425.8, 1562.4, 1.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2451.2, 1582.3, 3.4, SwitchType.JumpCut)
Streaming.RequestModel(473)
Streaming.LoadAllModelsNow
World.ClearArea(-2430.7, 1563.6, 0.0, 5.0, True)
53@ = Car.Create(473, -2430.7, 1563.6, 0.0)
World.ClearArea(-2442.4, 1564.6, 0.0, 5.0, True)
54@ = Car.Create(473, -2442.4, 1564.6, 0.0)
World.ClearArea(-2426.9, 1570.6, 0.0, 5.0, True)
55@ = Car.Create(473, -2426.9, 1570.6, 0.0)
if 
  not Char.IsDead(59@)
goto_if_false @WUZI5_19355
Char.AttachToCar(59@, 54@, 0.5, -1.0, 1.0, 0, 360.0, WeaponType.Unarmed)

:WUZI5_19355
if 
  not Char.IsDead(60@)
goto_if_false @WUZI5_19403
Char.AttachToCar(60@, 54@, -0.5, -1.0, 1.0, 0, 360.0, WeaponType.Unarmed)

:WUZI5_19403
if 
  not Char.IsDead(61@)
goto_if_false @WUZI5_19427
Char.WarpIntoCar(61@, 54@)

:WUZI5_19427
if 
  not Char.IsDead(62@)
goto_if_false @WUZI5_19451
Char.WarpIntoCar(62@, 55@)

:WUZI5_19451
Char.WarpIntoCar($stattreadstamina_ctr, 53@)
113@ = 11
115@ = 0
gosub @WUZI5_26535
Camera.DoFade(2000, Fade.In)

:WUZI5_19487
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_19511
wait 0
goto @WUZI5_19487

:WUZI5_19511
TIMERA = 0
91@ = 3

:WUZI5_19525
if 
  91@ == 3
goto_if_false @WUZI5_19621
if 
  TIMERA > 2000
goto_if_false @WUZI5_19621
if 
  not Car.IsDead(54@)
goto_if_false @WUZI5_19588
Car.SetTempAction(54@, TempAction.GoForward, 5000)

:WUZI5_19588
if 
  not Car.IsDead(55@)
goto_if_false @WUZI5_19614
Car.SetTempAction(55@, TempAction.GoForward, 5000)

:WUZI5_19614
91@ = 4

:WUZI5_19621
if 
  91@ == 4
goto_if_false @WUZI5_19695
if 
  TIMERA > 6000
goto_if_false @WUZI5_19695
Car.Delete(54@)
Car.Delete(55@)
Char.Delete(59@)
Char.Delete(60@)
Char.Delete(61@)
Char.Delete(62@)
goto @WUZI5_20684

:WUZI5_19695
if 
  90@ > 2
goto_if_false @WUZI5_20652
if 
  103@ == 0
goto_if_false @WUZI5_19797
if 
  Char.IsInWater($stattreadstamina_ctr)
goto_if_false @WUZI5_19797
Blip.Remove(80@)
80@ = Blip.AddForCoord(-2329.1, 1528.7, 0.0)
Text.ClearPrints
Text.PrintNow('WUZ4_02', 7000, 1)
103@ = 1

:WUZI5_19797
if 
  103@ == 1
goto_if_false @WUZI5_20180
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2329.1, 1528.7, 0.0, 4.0, 4.0, 4.0, True)
goto_if_false @WUZI5_20180
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:WUZI5_19872
if 
  Camera.GetFadingStatus
goto_if_false @WUZI5_19896
wait 0
goto @WUZI5_19872

:WUZI5_19896
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
113@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
71@ = Object.Create(#KMB_CONTAINER_RED, -2323.9, 1527.3, 14.0)
Object.SetCollision(71@, True)
Object.SetDynamic(71@, False)
Object.SetVisible(71@, False)
wait 0
gosub @WUZI5_21045
if 
  93@ == 1
goto_if_false @WUZI5_20013
goto @WUZI5_20666

:WUZI5_20013
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(-2323.2, 1530.2, 16.9, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2323.2, 1530.2, 16.9)
Char.SetHeading($stattreadstamina_ctr, 3.3)
Char.ClearTasksImmediately($stattreadstamina_ctr)
156@ = Sequence.Open()
Task.Climb(-1, True)
Task.AchieveHeading(-1, 90.0)
Sequence.Close(156@)
Char.PerformSequence($stattreadstamina_ctr, 156@)
Sequence.Clear(156@)
Camera.SetFixedPosition(-2320.7, 1529.8, 17.6, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2339.6, 1537.4, 22.5, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)
103@ = 2

:WUZI5_20180
if 
  103@ == 2
goto_if_false @WUZI5_20652
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @WUZI5_20652
World.ClearArea(-2323.6, 1531.9, 16.3, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2323.6, 1531.9, 16.3)
Char.SetHeading($stattreadstamina_ctr, 95.3)
Object.Delete(71@)
Blip.Remove(80@)
if 
  90@ == 3
goto_if_false @WUZI5_20363
if 
  91@ == 0
goto_if_false @WUZI5_20363
80@ = Blip.AddForCoord(-2437.9, 1551.9, 16.3)
Text.PrintNow('WUZ4_01', 7000, 1)

:WUZI5_20363
if 
  90@ == 4
goto_if_false @WUZI5_20486
if 
  4 > 91@
goto_if_false @WUZI5_20446
if 
  not Char.IsDead(45@)
goto_if_false @WUZI5_20439
80@ = Blip.AddForChar(45@)
Text.PrintNow('WUZ4_05', 4000, 1)

:WUZI5_20439
goto @WUZI5_20486

:WUZI5_20446
if 
  Object.DoesExist(79@)
goto_if_false @WUZI5_20486
80@ = Blip.AddForObject(79@)
Text.PrintNow('WUZ4_09', 11000, 1)

:WUZI5_20486
if 
  90@ == 5
goto_if_false @WUZI5_20551
if 
  not Char.IsDead(65@)
goto_if_false @WUZI5_20535
80@ = Blip.AddForChar(65@)
Blip.ChangeScale(80@, 1)

:WUZI5_20535
Text.PrintNow('BRIDGE', 7000, 1)

:WUZI5_20551
if 
  90@ == 6
goto_if_false @WUZI5_20616
if 
  not Char.IsDead(62@)
goto_if_false @WUZI5_20600
80@ = Blip.AddForChar(62@)
Blip.SetAsFriendly(80@, True)

:WUZI5_20600
Text.PrintNow('WUZ4_11', 4000, 1)

:WUZI5_20616
Streaming.MarkModelAsNoLongerNeeded(#KMB_CONTAINER_RED)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
103@ = 0

:WUZI5_20652
gosub @WUZI5_27736
goto @WUZI5_975

:WUZI5_20666
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:WUZI5_20684
$garageX += 1
Blip.Remove($trace_contact_blip)
Text.PrintWithNumberBig('M_PASSS', 15000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 15000)
Stat.AwardPlayerMissionRespect(30)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('WUZI_4')
Stat.PlayerMadeProgress(1)
return 

:WUZI5_20753
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @WUZI5_20771
Camera.RestoreJumpcut

:WUZI5_20771
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Blip.Remove(80@)
Blip.Remove(81@)
Blip.Remove(82@)
Blip.Remove(83@)
Blip.Remove(84@)
Blip.Remove(85@)
Blip.Remove(86@)
Blip.Remove(87@)
Blip.Remove(88@)
Blip.Remove(89@)
Streaming.MarkModelAsNoLongerNeeded(362)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.MarkModelAsNoLongerNeeded(359)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(335)
Streaming.MarkModelAsNoLongerNeeded(339)
Streaming.MarkModelAsNoLongerNeeded(342)
Streaming.MarkModelAsNoLongerNeeded(487)
Streaming.MarkModelAsNoLongerNeeded(473)
Streaming.MarkModelAsNoLongerNeeded(118)
Streaming.MarkModelAsNoLongerNeeded(58)
Streaming.MarkModelAsNoLongerNeeded(49)
Streaming.MarkModelAsNoLongerNeeded(210)
Streaming.MarkModelAsNoLongerNeeded(121)
Streaming.MarkModelAsNoLongerNeeded(122)
Streaming.MarkModelAsNoLongerNeeded(#KMB_CONTAINER_RED)
Streaming.MarkModelAsNoLongerNeeded(#KATANA_ANIM)
Streaming.MarkModelAsNoLongerNeeded(#KATANA_LHAND)
Streaming.MarkModelAsNoLongerNeeded(#CJ_CHRIS_CRATE)
Streaming.MarkModelAsNoLongerNeeded(#CJ_CHRIS_CRATE_LD)
Streaming.MarkModelAsNoLongerNeeded(#CJ_CHRIS_CRATE_RD)
Streaming.MarkModelAsNoLongerNeeded(#CJ_PADLOCK)
Weather.Release
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @WUZI5_20955
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:WUZI5_20955
Game.ShutAllCharsUp(False)
Streaming.RemoveAnimation("CAR_CHAT")
Streaming.RemoveAnimation("SWAT")
Streaming.RemoveAnimation("PARK")
Streaming.RemoveAnimation("MISC")
Streaming.RemoveAnimation("GANGS")
Char.DetachFromCar($stattreadstamina_ctr)
Pickup.Remove(63@)
Pickup.Remove(64@)
Pickup.Remove(72@)
Pickup.Remove(73@)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:WUZI5_21045
if 
  90@ == 0
goto_if_false @WUZI5_21145
if 
  Char.IsDead(35@)
goto_if_false @WUZI5_21104
Text.ClearPrints
Text.PrintNow('WUZ4_07', 7000, 1)
93@ = 1

:WUZI5_21104
if 
  Car.IsDead(34@)
goto_if_false @WUZI5_21145
Text.ClearPrints
Text.PrintNow('WUZ4_08', 7000, 1)
93@ = 1

:WUZI5_21145
return 

:WUZI5_21147
if 
  95@ == 0
goto_if_false @WUZI5_22031
63@ = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 48, -2414.9, 1538.7, 26.0)
64@ = Pickup.Create(#HEALTH, PickupType.OnStreetSlow, -2412.4, 1547.9, 26.0)
World.ClearArea(-2355.2, 1547.0, 25.0, 1.0, True)
99@ = Math.RandomIntInRange(0, 2)
36@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2355.2, 1547.0, 25.0)
Char.SetHeading(36@, 198.7)
Char.SetDecisionMaker(36@, 157@)
Char.SetStayInSamePlace(36@, True)
World.ClearArea(-2355.1, 1545.0, 25.0, 1.0, True)
99@ = Math.RandomIntInRange(0, 2)
37@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2355.1, 1545.0, 25.0)
Char.SetHeading(37@, 0.6)
Char.SetDecisionMaker(37@, 157@)
Char.SetStayInSamePlace(37@, True)
Task.ChatWithChar(36@, 37@, True, 1)
Task.ChatWithChar(37@, 36@, False, 1)
World.ClearArea(-2373.0, 1549.3, 30.8, 1.0, True)
99@ = Math.RandomIntInRange(0, 2)
38@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2373.0, 1549.3, 30.8)
Char.SetHeading(38@, 355.7)
Char.SetDecisionMaker(38@, 157@)
Char.SetStayInSamePlace(38@, True)
World.ClearArea(-2396.3, 1560.26, 30.8, 1.0, True)
99@ = Math.RandomIntInRange(0, 2)
39@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2396.3, 1560.26, 30.8)
Char.SetHeading(39@, 356.2)
Char.SetDecisionMaker(39@, 157@)
Char.SetStayInSamePlace(39@, True)
World.ClearArea(-2478.2, 1560.9, 16.3, 1.0, True)
99@ = Math.RandomIntInRange(0, 2)
40@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2478.2, 1560.9, 16.3)
Char.SetHeading(40@, 11.0)
Char.SetDecisionMaker(40@, 157@)
Char.SetStayInSamePlace(40@, True)
World.ClearArea(-2500.5, 1551.0, 23.2, 1.0, True)
99@ = Math.RandomIntInRange(0, 2)
41@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2500.5, 1551.0, 23.2)
Char.SetHeading(41@, 339.2)
Char.SetDecisionMaker(41@, 157@)
Char.SetStayInSamePlace(41@, True)
World.ClearArea(-2493.7, 1537.4, 23.2, 1.0, True)
99@ = Math.RandomIntInRange(0, 2)
42@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2493.7, 1537.4, 23.2)
Char.SetHeading(42@, 82.5)
Char.SetDecisionMaker(42@, 158@)
Char.SetStayInSamePlace(42@, True)
World.ClearArea(-2492.2, 1537.3, 23.2, 1.0, True)
99@ = Math.RandomIntInRange(0, 2)
43@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2492.2, 1537.3, 23.2)
Char.SetHeading(43@, 78.2)
Char.SetDecisionMaker(43@, 157@)
Char.SetStayInSamePlace(43@, True)
World.ClearArea(-2453.8, 1529.6, 27.9, 1.0, True)
99@ = Math.RandomIntInRange(0, 2)
44@ = Char.Create(PedType.Mission2, 97@(99@,2i), -2453.8, 1529.6, 27.9)
Char.SetHeading(44@, 174.6)
Char.SetDecisionMaker(44@, 157@)
Char.SetStayInSamePlace(44@, True)
95@ = 1

:WUZI5_22031
if 
  95@ == 1
goto_if_false @WUZI5_22149
if 
  9 > 94@
goto_if_false @WUZI5_22142
if 
  not Char.IsDead(36@(94@,17i))
goto_if_false @WUZI5_22128
Char.GiveWeapon(36@(94@,17i), WeaponType.Tec9, 3000)
81@(94@,9i) = Blip.AddForChar(36@(94@,17i))
Blip.ChangeScale(81@(94@,9i), 1)

:WUZI5_22128
94@ += 1
goto @WUZI5_22149

:WUZI5_22142
95@ = 2

:WUZI5_22149
return 

:WUZI5_22151
if 
  not Char.IsDead(36@)
goto_if_false @WUZI5_22559
if 
  104@ == 0
goto_if_false @WUZI5_22325
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2283.6, 1582.6, 3.0, 3.0, False)
goto_if_false @WUZI5_22325
156@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.GoToCoordWhileShooting(-1, -2355.1, 1560.0, 25.0, 6, 0.5, 1.0, $stattreadstamina_ctr)
Task.AchieveHeading(-1, 360.0)
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_22300
Task.DestroyCar(-1, 34@)

:WUZI5_22300
Sequence.Close(156@)
Char.PerformSequence(36@, 156@)
Sequence.Clear(156@)
104@ = 1

:WUZI5_22325
if 
  104@ == 1
goto_if_false @WUZI5_22450
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2392.0, 1588.0, 3.0, 3.0, False)
goto_if_false @WUZI5_22450
156@ = Sequence.Open()
Task.Pause(-1, 500)
Task.GoStraightToCoord(-1, -2357.6, 1529.6, 25.0, MoveState.Run, -1)
Task.AchieveHeading(-1, 183.9)
Sequence.Close(156@)
Char.PerformSequence(36@, 156@)
Sequence.Clear(156@)
104@ = 2

:WUZI5_22450
if 
  104@ == 2
goto_if_false @WUZI5_22559
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2402.6, 1499.2, 3.0, 3.0, False)
goto_if_false @WUZI5_22559
156@ = Sequence.Open()
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_22534
Task.DestroyCar(-1, 34@)

:WUZI5_22534
Sequence.Close(156@)
Char.PerformSequence(36@, 156@)
Sequence.Clear(156@)
104@ = 3

:WUZI5_22559
if 
  not Char.IsDead(37@)
goto_if_false @WUZI5_22994
if 
  105@ == 0
goto_if_false @WUZI5_22767
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2283.6, 1582.6, 3.0, 3.0, False)
goto_if_false @WUZI5_22767
156@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.GoToCoordWhileShooting(-1, -2348.2, 1546.4, 25.0, 6, 0.5, 1.0, $stattreadstamina_ctr)
Task.GoToCoordWhileShooting(-1, -2344.1, 1555.8, 25.0, 6, 0.5, 1.0, $stattreadstamina_ctr)
Task.AchieveHeading(-1, 360.0)
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_22742
Task.DestroyCar(-1, 34@)

:WUZI5_22742
Sequence.Close(156@)
Char.PerformSequence(37@, 156@)
Sequence.Clear(156@)
105@ = 1

:WUZI5_22767
if 
  105@ == 1
goto_if_false @WUZI5_22885
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2392.0, 1588.0, 3.0, 3.0, False)
goto_if_false @WUZI5_22885
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2350.5, 1531.5, 25.0, MoveState.Run, -1)
Task.AchieveHeading(-1, 155.6)
Sequence.Close(156@)
Char.PerformSequence(37@, 156@)
Sequence.Clear(156@)
105@ = 2

:WUZI5_22885
if 
  105@ == 2
goto_if_false @WUZI5_22994
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2402.6, 1499.2, 3.0, 3.0, False)
goto_if_false @WUZI5_22994
156@ = Sequence.Open()
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_22969
Task.DestroyCar(-1, 34@)

:WUZI5_22969
Sequence.Close(156@)
Char.PerformSequence(37@, 156@)
Sequence.Clear(156@)
105@ = 3

:WUZI5_22994
if 
  not Char.IsDead(38@)
goto_if_false @WUZI5_23461
if 
  106@ == 0
goto_if_false @WUZI5_23168
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2283.6, 1582.6, 3.0, 3.0, False)
goto_if_false @WUZI5_23168
156@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.GoToCoordWhileShooting(-1, -2372.1, 1557.4, 31.8, 6, 0.5, 1.0, $stattreadstamina_ctr)
Task.AchieveHeading(-1, 360.0)
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_23143
Task.DestroyCar(-1, 34@)

:WUZI5_23143
Sequence.Close(156@)
Char.PerformSequence(38@, 156@)
Sequence.Clear(156@)
106@ = 1

:WUZI5_23168
if 
  106@ == 1
goto_if_false @WUZI5_23337
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2365.4, 1586.9, 3.0, 3.0, False)
goto_if_false @WUZI5_23337
156@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, -2394.4, 1558.4, 31.8, 6, 0.5, 1.0, $stattreadstamina_ctr)
Task.AchieveHeading(-1, 66.2)
Task.Jump(-1, True)
Task.GoToCoordWhileShooting(-1, -2423.0, 1561.0, 31.8, 6, 0.5, 1.0, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(38@, 156@)
Sequence.Clear(156@)
106@ = 2

:WUZI5_23337
if 
  106@ == 2
goto_if_false @WUZI5_23461
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2473.8, 1585.5, 3.0, 3.0, False)
goto_if_false @WUZI5_23461
156@ = Sequence.Open()
Task.AchieveHeading(-1, 177.3)
Task.Jump(-1, True)
Task.GoStraightToCoord(-1, -2422.1, 1547.9, 22.1, MoveState.Run, -1)
Sequence.Close(156@)
Char.PerformSequence(38@, 156@)
Sequence.Clear(156@)
106@ = 3

:WUZI5_23461
if 
  not Char.IsDead(39@)
goto_if_false @WUZI5_23836
if 
  107@ == 0
goto_if_false @WUZI5_23626
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2351.3, 1586.2, 3.0, 3.0, False)
goto_if_false @WUZI5_23626
156@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.GoToCoordWhileShooting(-1, -2426.7, 1560.3, 31.8, 6, 0.5, 1.0, $stattreadstamina_ctr)
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_23601
Task.DestroyCar(-1, 34@)

:WUZI5_23601
Sequence.Close(156@)
Char.PerformSequence(39@, 156@)
Sequence.Clear(156@)
107@ = 1

:WUZI5_23626
if 
  107@ == 1
goto_if_false @WUZI5_23836
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2504.6, 0.8, 3.0, 3.0, False)
goto_if_false @WUZI5_23836
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2437.7, 1560.7, 16.3, MoveState.Run, -1)
Task.GoStraightToCoord(-1, -2435.9, 1550.9, 16.3, MoveState.Run, -1)
Task.AchieveHeading(-1, 180.0)
Task.GoStraightToCoord(-1, -2435.9, 1532.3, 16.3, MoveState.Run, -1)
Task.GoStraightToCoord(-1, -2437.5, 1528.7, 16.3, MoveState.Run, -1)
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_23811
Task.DestroyCar(-1, 34@)

:WUZI5_23811
Sequence.Close(156@)
Char.PerformSequence(39@, 156@)
Sequence.Clear(156@)
107@ = 2

:WUZI5_23836
if 
  not Char.IsDead(40@)
goto_if_false @WUZI5_24069
if 
  108@ == 0
goto_if_false @WUZI5_24069
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2448.6, 1590.3, 3.0, 3.0, False)
goto_if_false @WUZI5_24069
156@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.GoToCoordWhileShooting(-1, -2494.1, 1560.7, 16.3, 6, 0.5, 1.0, $stattreadstamina_ctr)
Task.GoToCoordWhileShooting(-1, -2505.2, 1557.4, 16.3, 6, 0.5, 1.0, $stattreadstamina_ctr)
Task.GoToCoordWhileShooting(-1, -2505.5, 1532.1, 16.3, 6, 0.5, 1.0, $stattreadstamina_ctr)
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_24044
Task.DestroyCar(-1, 34@)

:WUZI5_24044
Sequence.Close(156@)
Char.PerformSequence(40@, 156@)
Sequence.Clear(156@)
108@ = 1

:WUZI5_24069
if 
  not Char.IsDead(41@)
goto_if_false @WUZI5_24200
if 
  109@ == 0
goto_if_false @WUZI5_24200
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2448.6, 1590.3, 3.0, 3.0, False)
goto_if_false @WUZI5_24200
156@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_24175
Task.DestroyCar(-1, 34@)

:WUZI5_24175
Sequence.Close(156@)
Char.PerformSequence(41@, 156@)
Sequence.Clear(156@)
109@ = 1

:WUZI5_24200
if 
  not Char.IsDead(42@)
goto_if_false @WUZI5_24354
if 
  110@ == 0
goto_if_false @WUZI5_24354
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2493.5, 1571.8, 3.0, 3.0, False)
goto_if_false @WUZI5_24354
156@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.GoStraightToCoord(-1, -2501.4, 1539.5, 23.2, MoveState.Run, -1)
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_24329
Task.DestroyCar(-1, 34@)

:WUZI5_24329
Sequence.Close(156@)
Char.PerformSequence(42@, 156@)
Sequence.Clear(156@)
110@ = 1

:WUZI5_24354
if 
  not Char.IsDead(43@)
goto_if_false @WUZI5_24508
if 
  111@ == 0
goto_if_false @WUZI5_24508
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2493.5, 1571.8, 3.0, 3.0, False)
goto_if_false @WUZI5_24508
156@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.GoStraightToCoord(-1, -2500.9, 1535.4, 23.2, MoveState.Run, -1)
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_24483
Task.DestroyCar(-1, 34@)

:WUZI5_24483
Sequence.Close(156@)
Char.PerformSequence(43@, 156@)
Sequence.Clear(156@)
111@ = 1

:WUZI5_24508
if 
  not Char.IsDead(44@)
goto_if_false @WUZI5_24639
if 
  112@ == 0
goto_if_false @WUZI5_24639
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2493.5, 1571.8, 3.0, 3.0, False)
goto_if_false @WUZI5_24639
156@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
if 
  not Car.IsDead(34@)
goto_if_false @WUZI5_24614
Task.DestroyCar(-1, 34@)

:WUZI5_24614
Sequence.Close(156@)
Char.PerformSequence(44@, 156@)
Sequence.Clear(156@)
112@ = 1

:WUZI5_24639
return 

:WUZI5_24641
if 
  9 > 94@
goto_if_false @WUZI5_24702
if 
  Char.IsDead(36@(94@,17i))
goto_if_false @WUZI5_24688
Blip.Remove(81@(94@,9i))

:WUZI5_24688
94@ += 1
goto @WUZI5_24709

:WUZI5_24702
94@ = 0

:WUZI5_24709
return 

:WUZI5_24711
World.ClearArea(-2369.3, 1551.9, 1.2, 1.0, True)
59@ = Char.Create(PedType.Mission5, 58, -2369.3, 1551.9, 1.2)
Char.SetHeading(59@, 96.2)
Char.SetStayInSamePlace(59@, True)
Char.SetNeverTargeted(59@, True)
Char.SetDecisionMaker(59@, 158@)
World.ClearArea(-2368.3, 1551.9, 1.2, 1.0, True)
60@ = Char.Create(PedType.Mission5, 58, -2368.3, 1551.9, 1.2)
Char.SetHeading(60@, 96.2)
Char.SetStayInSamePlace(60@, True)
Char.SetNeverTargeted(60@, True)
Char.SetDecisionMaker(60@, 158@)
World.ClearArea(-2367.3, 1551.9, 1.2, 1.0, True)
61@ = Char.Create(PedType.Mission5, 210, -2367.3, 1551.9, 1.2)
Char.SetHeading(61@, 96.2)
Char.SetStayInSamePlace(61@, True)
Char.SetNeverTargeted(61@, True)
Char.SetDecisionMaker(61@, 158@)
return 

:WUZI5_24954
if 
  101@ == 0
goto_if_false @WUZI5_25301
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2282.4, 1510.9, 50.0, -2534.6, 1578.5, 15.0, False)
goto_if_false @WUZI5_25061
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @WUZI5_25061
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.PistolSilenced)
goto_if_false @WUZI5_25061
101@ = 1

:WUZI5_25061
if 
  Char.IsInArea2D($stattreadstamina_ctr, -2385.2, 1539.7, -2393.0, 1558.9, False)
goto_if_false @WUZI5_25106
101@ = 1

:WUZI5_25106
if 
  not Char.IsDead(46@)
goto_if_false @WUZI5_25145
if 
  Char.IsShooting(46@)
goto_if_false @WUZI5_25145
101@ = 1

:WUZI5_25145
if 
  not Char.IsDead(51@)
goto_if_false @WUZI5_25184
if 
  Char.IsShooting(51@)
goto_if_false @WUZI5_25184
101@ = 1

:WUZI5_25184
if 
  not Char.IsDead(52@)
goto_if_false @WUZI5_25223
if 
  Char.IsShooting(52@)
goto_if_false @WUZI5_25223
101@ = 1

:WUZI5_25223
if 
  not Char.IsDead(36@)
goto_if_false @WUZI5_25262
if 
  Char.IsShooting(36@)
goto_if_false @WUZI5_25262
101@ = 1

:WUZI5_25262
if 
  not Char.IsDead(37@)
goto_if_false @WUZI5_25301
if 
  Char.IsShooting(37@)
goto_if_false @WUZI5_25301
101@ = 1

:WUZI5_25301
if 
  101@ == 1
goto_if_false @WUZI5_25750
if 
  not Char.IsDead(46@)
goto_if_false @WUZI5_25343
Task.TurnCharToFaceChar(46@, $stattreadstamina_ctr)

:WUZI5_25343
if 
  not Char.IsDead(51@)
goto_if_false @WUZI5_25367
Task.TurnCharToFaceChar(51@, $stattreadstamina_ctr)

:WUZI5_25367
if 
  not Char.IsDead(52@)
goto_if_false @WUZI5_25391
Task.TurnCharToFaceChar(52@, $stattreadstamina_ctr)

:WUZI5_25391
if 
  not Char.IsDead(36@)
goto_if_false @WUZI5_25512
156@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 158@)
Task.GoStraightToCoord(-1, -2351.0, 1549.4, 22.2, MoveState.Run, -1)
Task.AchieveHeading(-1, 180.0)
Task.Climb(-1, True)
Task.GoStraightToCoord(-1, -2351.2, 1547.1, 25.0, MoveState.Run, -1)
Task.SetCharDecisionMaker(-1, 157@)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(36@, 156@)
Sequence.Clear(156@)

:WUZI5_25512
if 
  not Char.IsDead(37@)
goto_if_false @WUZI5_25536
Task.TurnCharToFaceChar(37@, $stattreadstamina_ctr)

:WUZI5_25536
if 
  not Char.IsDead(38@)
goto_if_false @WUZI5_25605
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2385.5, 1543.1, 25.0, MoveState.Run, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(38@, 156@)
Sequence.Clear(156@)

:WUZI5_25605
if 
  not Char.IsDead(39@)
goto_if_false @WUZI5_25674
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2385.8, 1540.6, 25.0, MoveState.Run, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(39@, 156@)
Sequence.Clear(156@)

:WUZI5_25674
if 
  not Char.IsDead(40@)
goto_if_false @WUZI5_25743
156@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2392.1, 1556.0, 25.0, MoveState.Run, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(40@, 156@)
Sequence.Clear(156@)

:WUZI5_25743
101@ = 2

:WUZI5_25750
if 
  101@ == 2
goto_if_false @WUZI5_25869
if 
  not Char.IsDead(48@)
goto_if_false @WUZI5_25817
if 
  Char.HasBeenDamagedByChar(48@, $stattreadstamina_ctr)
goto_if_false @WUZI5_25810
101@ = 3

:WUZI5_25810
goto @WUZI5_25824

:WUZI5_25817
101@ = 3

:WUZI5_25824
if 
  Char.IsInArea2D($stattreadstamina_ctr, -2400.0, 1561.0, -2409.8, 1540.0, False)
goto_if_false @WUZI5_25869
101@ = 3

:WUZI5_25869
if 
  101@ == 3
goto_if_false @WUZI5_25976
if 
  not Char.IsDead(48@)
goto_if_false @WUZI5_25969
156@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.Pause(-1, 500)
Task.GoStraightToCoord(-1, -2401.1, 1539.8, 25.0, MoveState.Run, -1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(48@, 156@)
Sequence.Clear(156@)

:WUZI5_25969
101@ = 4

:WUZI5_25976
if 
  101@ == 4
goto_if_false @WUZI5_26438
if 
  Char.IsInArea2D($stattreadstamina_ctr, -2416.4, 1535.3, -2431.6, 1542.1, False)
goto_if_false @WUZI5_26438
if 
  not Char.IsDead(42@)
goto_if_false @WUZI5_26306
156@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_L", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
102@ = Math.RandomIntInRange(1500, 4000)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 102@)
Task.StayInSamePlace(-1, False)
Task.CharSlideToCoordAndPlayAnim(-1, -2420.4, 1553.4, 25.0, 180.0, -0.1, "SWT_WLLSHOOT_OUT_L", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(156@, True)
Sequence.Close(156@)
Char.PerformSequence(42@, 156@)
Sequence.Clear(156@)

:WUZI5_26306
if 
  not Char.IsDead(49@)
goto_if_false @WUZI5_26365
156@ = Sequence.Open()
Task.Climb(-1, True)
Task.SetCharDecisionMaker(-1, 157@)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(49@, 156@)
Sequence.Clear(156@)

:WUZI5_26365
if 
  not Char.IsDead(50@)
goto_if_false @WUZI5_26431
156@ = Sequence.Open()
Task.Pause(-1, 1500)
Task.Climb(-1, True)
Task.SetCharDecisionMaker(-1, 157@)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(156@)
Char.PerformSequence(50@, 156@)
Sequence.Clear(156@)

:WUZI5_26431
101@ = 5

:WUZI5_26438
if 
  101@ == 5
goto_if_false @WUZI5_26533
if or
  Char.IsInArea2D($stattreadstamina_ctr, -2418.9, 1546.4, -2435.6, 1559.0, False)
  Char.HasBeenDamagedByChar(42@, $stattreadstamina_ctr)
goto_if_false @WUZI5_26533
if 
  not Char.IsDead(42@)
goto_if_false @WUZI5_26533
Task.KillCharOnFoot(42@, $stattreadstamina_ctr)
101@ = 6

:WUZI5_26533
return 

:WUZI5_26535
if 
  113@ == 1
goto_if_false @WUZI5_26680
set_lvar_text_label 117@s = 'WUZ4_KA'
set_lvar_text_label 119@s = 'WUZ4_KB'
set_lvar_text_label 121@s = 'WUZ4_KC'
set_lvar_text_label 123@s = 'WUZ4_KD'
set_lvar_text_label 125@s = 'WUZ4_KE'
set_lvar_int_to_constant 129@ = 44221
set_lvar_int_to_constant 130@ = 44222
set_lvar_int_to_constant 131@ = 44223
set_lvar_int_to_constant 132@ = 44224
set_lvar_int_to_constant 133@ = 44225
135@ = 5

:WUZI5_26680
if 
  113@ == 2
goto_if_false @WUZI5_26825
set_lvar_text_label 117@s = 'WUZ4_LA'
set_lvar_text_label 119@s = 'WUZ4_LB'
set_lvar_text_label 121@s = 'WUZ4_LC'
set_lvar_text_label 123@s = 'WUZ4_LD'
set_lvar_text_label 125@s = 'WUZ4_LE'
set_lvar_int_to_constant 129@ = 44226
set_lvar_int_to_constant 130@ = 44227
set_lvar_int_to_constant 131@ = 44228
set_lvar_int_to_constant 132@ = 44229
set_lvar_int_to_constant 133@ = 44230
135@ = 5

:WUZI5_26825
if 
  113@ == 3
goto_if_false @WUZI5_26970
set_lvar_text_label 117@s = 'WUZ4_MA'
set_lvar_text_label 119@s = 'WUZ4_MB'
set_lvar_text_label 121@s = 'WUZ4_MC'
set_lvar_text_label 123@s = 'WUZ4_MD'
set_lvar_text_label 125@s = 'WUZ4_ME'
set_lvar_int_to_constant 129@ = 44231
set_lvar_int_to_constant 130@ = 44232
set_lvar_int_to_constant 131@ = 44233
set_lvar_int_to_constant 132@ = 44234
set_lvar_int_to_constant 133@ = 44235
135@ = 5

:WUZI5_26970
if 
  113@ == 4
goto_if_false @WUZI5_27116
set_lvar_text_label 117@s = 'WUZ4_NA'
set_lvar_text_label 119@s = 'WUZ4_NB'
set_lvar_text_label 121@s = 'WUZ4_NC'
set_lvar_text_label 123@s = 'WUZ4_NE'
set_lvar_text_label 125@s = 'WUZ4_NF'
set_lvar_int_to_constant 129@ = 44239
set_lvar_int_to_constant 130@ = 44240
set_lvar_int_to_constant 131@ = 44241
set_lvar_int_to_constant 132@ = 44242
set_lvar_int_to_constant 133@ = 44243
set_lvar_int_to_lvar_int 135@ = 116@

:WUZI5_27116
if 
  113@ == 5
goto_if_false @WUZI5_27190
set_lvar_text_label 117@s = 'WUZ4_AA'
set_lvar_text_label 119@s = 'WUZ4_AB'
set_lvar_int_to_constant 129@ = 44200
set_lvar_int_to_constant 130@ = 44201
set_lvar_int_to_lvar_int 135@ = 116@

:WUZI5_27190
if 
  113@ == 6
goto_if_false @WUZI5_27239
set_lvar_text_label 117@s = 'WUZ4_FA'
set_lvar_int_to_constant 129@ = 44209
135@ = 1

:WUZI5_27239
if 
  113@ == 7
goto_if_false @WUZI5_27313
set_lvar_text_label 117@s = 'WUZ4_CA'
set_lvar_text_label 119@s = 'WUZ4_CB'
set_lvar_int_to_constant 129@ = 44203
set_lvar_int_to_constant 130@ = 44204
set_lvar_int_to_lvar_int 135@ = 116@

:WUZI5_27313
if 
  113@ == 8
goto_if_false @WUZI5_27362
set_lvar_text_label 117@s = 'WUZ4_HA'
set_lvar_int_to_constant 129@ = 44214
135@ = 1

:WUZI5_27362
if 
  113@ == 9
goto_if_false @WUZI5_27436
set_lvar_text_label 117@s = 'WUZ4_JA'
set_lvar_text_label 119@s = 'WUZ4_JB'
set_lvar_int_to_constant 129@ = 44215
set_lvar_int_to_constant 130@ = 44216
set_lvar_int_to_lvar_int 135@ = 116@

:WUZI5_27436
if 
  113@ == 10
goto_if_false @WUZI5_27534
set_lvar_text_label 117@s = 'WUZ4_JC'
set_lvar_text_label 119@s = 'WUZ4_JD'
set_lvar_text_label 121@s = 'WUZ4_JE'
set_lvar_int_to_constant 129@ = 44217
set_lvar_int_to_constant 130@ = 44218
set_lvar_int_to_constant 131@ = 44219
set_lvar_int_to_lvar_int 135@ = 116@

:WUZI5_27534
if 
  113@ == 11
goto_if_false @WUZI5_27583
set_lvar_text_label 117@s = 'WUZ4_JF'
set_lvar_int_to_constant 129@ = 44220
135@ = 1

:WUZI5_27583
if 
  113@ == 12
goto_if_false @WUZI5_27656
set_lvar_text_label 117@s = 'WUZ4_OA'
set_lvar_text_label 119@s = 'WUZ4_ZA'
set_lvar_int_to_constant 129@ = 44244
set_lvar_int_to_constant 130@ = 44247
135@ = 2

:WUZI5_27656
if 
  113@ == 13
goto_if_false @WUZI5_27705
set_lvar_text_label 117@s = 'WUZ4_PA'
set_lvar_int_to_constant 129@ = 44246
135@ = 1

:WUZI5_27705
set_lvar_int_to_lvar_int 138@ = 115@
136@ = 0
137@ = 0
139@ = 1
return 

:WUZI5_27736
if or
  113@ == 1
  113@ == 2
  113@ == 3
  113@ == 4
  113@ == 5
goto_if_false @WUZI5_27836
if 
  is_int_lvar_greater_than_int_lvar 135@ > 115@
goto_if_false @WUZI5_27829
gosub @WUZI5_28316
gosub @WUZI5_28423
gosub @WUZI5_28577
goto @WUZI5_27836

:WUZI5_27829
113@ = 0

:WUZI5_27836
if or
  113@ == 6
  113@ == 7
  113@ == 10
  113@ == 11
  113@ == 12
goto_if_false @WUZI5_27936
if 
  is_int_lvar_greater_than_int_lvar 135@ > 115@
goto_if_false @WUZI5_27929
gosub @WUZI5_28316
gosub @WUZI5_28423
gosub @WUZI5_28577
goto @WUZI5_27936

:WUZI5_27929
113@ = 0

:WUZI5_27936
if 
  113@ == 8
goto_if_false @WUZI5_28062
if 
  is_int_lvar_greater_than_int_lvar 135@ > 115@
goto_if_false @WUZI5_28055
gosub @WUZI5_28316
gosub @WUZI5_28423
if 
  not Char.IsDead(45@)
goto_if_false @WUZI5_28017
gosub @WUZI5_28577
goto @WUZI5_28048

:WUZI5_28017
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(117@(115@,6s))
136@ = 0
137@ = 0

:WUZI5_28048
goto @WUZI5_28062

:WUZI5_28055
113@ = 0

:WUZI5_28062
if 
  113@ == 9
goto_if_false @WUZI5_28188
if 
  is_int_lvar_greater_than_int_lvar 135@ > 115@
goto_if_false @WUZI5_28181
gosub @WUZI5_28316
gosub @WUZI5_28423
if 
  not Char.IsDead(62@)
goto_if_false @WUZI5_28143
gosub @WUZI5_28577
goto @WUZI5_28174

:WUZI5_28143
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(117@(115@,6s))
136@ = 0
137@ = 0

:WUZI5_28174
goto @WUZI5_28188

:WUZI5_28181
113@ = 0

:WUZI5_28188
if 
  113@ == 13
goto_if_false @WUZI5_28314
if 
  is_int_lvar_greater_than_int_lvar 135@ > 115@
goto_if_false @WUZI5_28307
gosub @WUZI5_28316
gosub @WUZI5_28423
if 
  not Char.IsDead(65@)
goto_if_false @WUZI5_28269
gosub @WUZI5_28577
goto @WUZI5_28300

:WUZI5_28269
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(117@(115@,6s))
136@ = 0
137@ = 0

:WUZI5_28300
goto @WUZI5_28314

:WUZI5_28307
113@ = 0

:WUZI5_28314
return 

:WUZI5_28316
if 
  is_int_lvar_greater_than_int_lvar 135@ > 138@
goto_if_false @WUZI5_28421
if 
  136@ == 0
goto_if_false @WUZI5_28378
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 129@(138@,6i))
138@ += 1
136@ = 1

:WUZI5_28378
if 
  137@ == 0
goto_if_false @WUZI5_28421
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 129@(138@,6i))
138@ += 1
137@ = 1

:WUZI5_28421
return 

:WUZI5_28423
if 
  139@ == 1
goto_if_false @WUZI5_28499
if 
  136@ == 1
goto_if_false @WUZI5_28499
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @WUZI5_28499
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(117@(115@,6s), 4500, 1)
136@ = 2

:WUZI5_28499
if 
  139@ == 2
goto_if_false @WUZI5_28575
if 
  137@ == 1
goto_if_false @WUZI5_28575
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @WUZI5_28575
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(117@(115@,6s), 4500, 1)
137@ = 2

:WUZI5_28575
return 

:WUZI5_28577
if 
  136@ == 2
goto_if_false @WUZI5_28640
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @WUZI5_28640
Text.ClearThisPrint(117@(115@,6s))
115@ += 1
139@ = 2
136@ = 0

:WUZI5_28640
if 
  137@ == 2
goto_if_false @WUZI5_28703
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @WUZI5_28703
Text.ClearThisPrint(117@(115@,6s))
115@ += 1
139@ = 1
137@ = 0

:WUZI5_28703
return 

//-------------Mission 58---------------
// Originally: Photo Opportunity

:SYN1
script_name 'SYN1'
gosub @SYN1_1424
if 
  has_deatharrest_been_executed 
goto_if_false @SYN1_38
gosub @SYN1_14584

:SYN1_38
gosub @SYN1_14703
terminate_this_script 

:SYN1_47
Streaming.RequestModel(567)
Streaming.LoadSpecialCharacter(1, 'CESAR')
Streaming.RequestAnimation("BOMBER")
Streaming.LoadAllModelsNow

:SYN1_77
if or
  not Streaming.HasModelLoaded(567)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasAnimationLoaded("BOMBER")
goto_if_false @SYN1_118
wait 0
goto @SYN1_77

:SYN1_118
return 
379@ = Blip.AddForCoord($syn2_view_debug_f, $7284, $7285)
51@ = Blip.AddForCoord(48@, 49@, 50@)

:SYN1_148
$syn2_view_debug_f = -54.0
$7284 = -432.0
$7285 = 1.0
$7286 = 259.0
World.ClearArea($syn2_view_debug_f, $7284, $7285, 100.0, True)
Car.CustomPlateForNextCar(567, "_LVA4L__")
377@ = Car.Create(567, $syn2_view_debug_f, $7284, $7285)
376@ = Char.Create(PedType.CivMale, 290, -51.6293, -430.562, 0.5721)
Car.SetHeading(377@, $7286)
Char.SetHeading(376@, 154.672)
Char.SetNeverTargeted(376@, True)
CarGenerator.SuppressCarModel(567)
Car.ChangeColor(377@, 3, 3)
Blip.Remove(379@)
379@ = Blip.AddForChar(376@)
Blip.SetAsFriendly(379@, True)
return 
148@ = Char.CreateInsideCar(377@, PedType.CivMale, 290)
381@ = Blip.AddForCar(377@)

:SYN1_345
Streaming.RequestModel(510)
Streaming.LoadAllModelsNow

:SYN1_352
if 
  not Streaming.HasModelLoaded(510)
goto_if_false @SYN1_379
wait 0
goto @SYN1_352

:SYN1_379
386@ = Car.Create(510, 387@, 388@, 389@)
Car.SetHeading(386@, 390@)
Car.FreezePosition(386@, True)
Car.SetVisible(386@, False)
Player.SetHeadingForAttached($statbike_temp, 135.0, 135.0)
Char.AttachToBike($stattreadstamina_ctr, 386@, -0.2, 0.5, 0.0, 1, 110.0, 70.0, WeaponType.Camera)
Player.SetHeadingForAttached($statbike_temp, 135.0, 135.0)
Audio.SetRadioChannel(RadioChannel.UserTracks)
Car.SetEngineOn(386@, False)
return 

:SYN1_498
Streaming.RequestModel(600)
Streaming.RequestCarRecording(190)
Streaming.LoadSpecialCharacter(2, 'RYDER2')
Streaming.RequestModel(102)
Streaming.LoadAllModelsNow

:SYN1_527
if or
  not Streaming.HasModelLoaded(600)
  not Streaming.HasModelLoaded(102)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasCarRecordingBeenLoaded(190)
goto_if_false @SYN1_567
wait 0
goto @SYN1_527

:SYN1_567
402@ = -2120.4
403@ = -2448.458
404@ = 29.4688
405@ = 137.4828
Car.CustomPlateForNextCar(600, "_SHERM__")
World.ClearArea(402@, 403@, 404@, 5.0, True)
392@ = Car.Create(600, 402@, 403@, 404@)
Car.ChangeColor(392@, 84, 84)
Car.SetProofs(392@, True, True, True, True, True)
Car.SetHeading(392@, 405@)
391@ = Char.CreateInsideCar(392@, PedType.CivMale, 291)
394@ = Char.CreateAsPassenger(392@, PedType.CivMale, 102, 0)
343@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetDecisionMaker(391@, 343@)
return 

:SYN1_733
Streaming.RequestModel(477)
Streaming.RequestCarRecording(191)
Streaming.LoadSpecialCharacter(3, 'TBONE')
Streaming.LoadAllModelsNow

:SYN1_758
if or
  not Streaming.HasModelLoaded(477)
  not Streaming.HasSpecialCharacterLoaded(3)
  not Streaming.HasCarRecordingBeenLoaded(191)
goto_if_false @SYN1_794
wait 0
goto @SYN1_758

:SYN1_794
416@ = -2141.401
417@ = -2481.575
418@ = 29.4688
419@ = 317.093
World.ClearArea(416@, 417@, 418@, 5.0, True)
407@ = Car.Create(477, 416@, 417@, 418@)
Car.ChangeColor(407@, 84, 84)
Car.SetProofs(407@, True, True, True, True, True)
Car.SetHeading(407@, 419@)
406@ = Char.CreateInsideCar(407@, PedType.CivMale, 292)
Car.StartPlayback(407@, 191)
Car.SetPlaybackSpeed(407@, 0.6)
return 

:SYN1_934
Streaming.RequestModel(575)
Streaming.RequestModel(478)
Streaming.RequestCarRecording(193)
Streaming.RequestCarRecording(194)
Streaming.LoadSpecialCharacter(5, 'JIZZY')
Streaming.RequestModel(237)
Streaming.LoadAllModelsNow

:SYN1_974
if or
  not Streaming.HasModelLoaded(575)
  not Streaming.HasModelLoaded(237)
  not Streaming.HasModelLoaded(478)
  not Streaming.HasSpecialCharacterLoaded(5)
  not Streaming.HasCarRecordingBeenLoaded(193)
  not Streaming.HasCarRecordingBeenLoaded(194)
goto_if_false @SYN1_1025
wait 0
goto @SYN1_974

:SYN1_1025
432@ = -2141.401
433@ = -2481.575
434@ = 29.4688
435@ = 317.093
World.ClearArea(432@, 433@, 434@, 5.0, True)
Car.CustomPlateForNextCar(575, "HO_2_HO_")
421@ = Car.Create(575, 432@, 433@, 434@)
424@ = Car.Create(478, -2235.727, -2572.873, 30.9296)
Car.SetProofs(421@, True, True, True, True, True)
Car.SetHeading(424@, 44.9335)
Car.ChangeColor(421@, 123, 5)
Car.SetHeading(421@, 435@)
423@ = Char.CreateInsideCar(421@, PedType.CivFemale, 237)
420@ = Char.CreateAsPassenger(421@, PedType.CivMale, 294, 0)
Car.StartPlayback(421@, 193)
return 

:SYN1_1218
Streaming.RequestModel(421)
Streaming.RequestCarRecording(192)
Streaming.LoadSpecialCharacter(4, 'TORINO')
Streaming.LoadAllModelsNow

:SYN1_1243
if or
  not Streaming.HasModelLoaded(421)
  not Streaming.HasSpecialCharacterLoaded(4)
  not Streaming.HasCarRecordingBeenLoaded(192)
goto_if_false @SYN1_1279
wait 0
goto @SYN1_1243

:SYN1_1279
446@ = -2214.275
447@ = -2475.113
448@ = 29.4688
449@ = 232.2762
Car.CustomPlateForNextCar(421, "_OMEGA__")
World.ClearArea(446@, 447@, 448@, 5.0, True)
437@ = Car.Create(421, 446@, 447@, 448@)
Car.ChangeColor(437@, 84, 84)
Car.SetProofs(437@, True, True, True, True, True)
Car.SetHeading(437@, 449@)
436@ = Char.CreateInsideCar(437@, PedType.CivMale, 293)
Car.StartPlayback(437@, 192)
return 

:SYN1_1424
Text.LoadMissionText('SYN1')
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
34@ = 0
35@ = 0
36@ = 0
147@ = 0
367@ = 0
37@ = 0
41@ = 0
38@ = 0
368@ = 0
42@ = 0
40@ = 0
332@ = 1
333@ = 2
334@ = 0
335@ = 1
336@ = 0
341@ = 1
347@ = -2413.0
350@ = -580.0
353@ = 133.0
348@ = -2410.0
351@ = -582.0
354@ = 133.0
349@ = -2406.0
352@ = -584.0
355@ = 133.0
402@ = -2141.153
403@ = -2448.871
404@ = 29.625
405@ = 107.1964
338@ = 120.0
339@ = 240.0
372@ = -2407.0
373@ = -586.0
374@ = 131.0
375@ = 4.0
48@ = -2163.489
49@ = -2404.159
50@ = 29.6172
$syn2_view_debug_f = -54.0
$7284 = -432.0
$7285 = 1.0
$7286 = 259.0
387@ = -2171.173
388@ = -2422.821
389@ = 33.2969
390@ = 141.2754
53@ = -2408.437
68@ = -585.082
83@ = 133.2022
98@ = -2408.337
113@ = -584.0877
128@ = 133.1662
54@ = -60.0461
69@ = -433.1644
84@ = 1.4904
99@ = -59.0698
114@ = -432.9484
129@ = 1.5005
55@ = -58.7976
70@ = -433.3285
85@ = 3.0796
100@ = -57.885
115@ = -432.994
130@ = 2.8444
56@ = -46.1629
71@ = -427.8859
86@ = 1.5902
101@ = -45.8006
116@ = -428.818
131@ = 1.3937
57@ = -2407.17
72@ = -583.5895
87@ = 133.355
102@ = -2407.766
117@ = -582.7864
132@ = 133.3749
58@ = -2407.17
73@ = -583.5895
88@ = 133.355
103@ = -2407.967
118@ = -584.1938
133@ = 133.3749
59@ = -2172.552
74@ = -2427.487
89@ = 30.5334
104@ = -2171.986
119@ = -2428.304
134@ = 30.64
60@ = -2139.569
75@ = -2452.239
90@ = 31.2226
105@ = -2140.292
120@ = -2451.549
135@ = 31.1829
61@ = -2175.672
76@ = -2437.23
91@ = 30.7446
106@ = -2174.684
121@ = -2437.133
136@ = 30.8619
62@ = -2170.412
77@ = -2429.43
92@ = 31.758
107@ = -2170.5
122@ = -2430.423
137@ = 31.8365
63@ = -2246.851
78@ = -2571.031
93@ = 32.7468
108@ = -2246.16
123@ = -2570.311
138@ = 32.6781
64@ = -2241.519
79@ = -2568.281
94@ = 32.2372
109@ = -2242.286
124@ = -2567.642
139@ = 32.2906
set_lvar_text_label 154@s = 'MCES10A'
set_lvar_text_label 156@s = 'MCES10B'
set_lvar_text_label 158@s = 'MCES10C'
set_lvar_text_label 160@s = 'MCES10D'
set_lvar_text_label 162@s = 'MCES10E'
set_lvar_text_label 164@s = 'MCES10F'
set_lvar_text_label 166@s = 'MCES10G'
set_lvar_text_label 168@s = 'MCES10H'
set_lvar_text_label 170@s = 'MCES10J'
set_lvar_text_label 172@s = 'CESX_AB'
set_lvar_text_label 182@s = 'SYN1_FC'
set_lvar_text_label 184@s = 'SYN1_FD'
set_lvar_text_label 186@s = 'SYN1_IA'
set_lvar_text_label 188@s = 'SYN1_ZA'
set_lvar_text_label 192@s = 'SYN1_ZC'
set_lvar_text_label 194@s = 'SYN1_ZD'
set_lvar_text_label 196@s = 'SYN1_ZE'
set_lvar_text_label 200@s = 'SYN1_ZG'
set_lvar_text_label 206@s = 'SYN1_ZK'
set_lvar_text_label 208@s = 'SYN1_ZL'
set_lvar_text_label 210@s = 'SYN1_ZM'
set_lvar_text_label 212@s = 'SYN1_ZN'
set_lvar_text_label 216@s = 'SYN1_ZP'
set_lvar_text_label 218@s = 'SYN1_ZQ'
set_lvar_text_label 220@s = 'SYN1_ZR'
set_lvar_text_label 224@s = 'SYN1_ZT'
set_lvar_text_label 226@s = 'SYN1_ZU'
set_lvar_text_label 230@s = 'SYN1_ZW'
set_lvar_text_label 232@s = 'SYN1_ZX'
set_lvar_text_label 234@s = 'SYN1_ZY'
set_lvar_text_label 236@s = 'SYN1_ZZ'
set_lvar_text_label 238@s = 'SYN1_YA'
set_lvar_text_label 240@s = 'SYN1_YB'
set_lvar_text_label 246@s = 'SYN1_YE'
set_lvar_text_label 248@s = 'SYN1_YF'
set_lvar_text_label 252@s = 'SYN1_YH'
set_lvar_text_label 254@s = 'SYN1_YJ'
set_lvar_text_label 256@s = 'SYN1_YK'
set_lvar_int_to_constant 273@ = 25304
set_lvar_int_to_constant 274@ = 25305
set_lvar_int_to_constant 275@ = 25306
set_lvar_int_to_constant 276@ = 25307
set_lvar_int_to_constant 277@ = 25308
set_lvar_int_to_constant 278@ = 25309
set_lvar_int_to_constant 279@ = 25310
set_lvar_int_to_constant 280@ = 25311
set_lvar_int_to_constant 281@ = 25312
set_lvar_int_to_constant 282@ = 10401
set_lvar_int_to_constant 287@ = 38808
set_lvar_int_to_constant 288@ = 38809
set_lvar_int_to_constant 289@ = 38810
set_lvar_int_to_constant 292@ = 38838
set_lvar_int_to_constant 293@ = 38839
set_lvar_int_to_constant 294@ = 38840
set_lvar_int_to_constant 296@ = 38841
set_lvar_int_to_constant 299@ = 38842
set_lvar_int_to_constant 300@ = 38843
set_lvar_int_to_constant 301@ = 38844
set_lvar_int_to_constant 302@ = 38845
set_lvar_int_to_constant 304@ = 38846
set_lvar_int_to_constant 305@ = 38847
set_lvar_int_to_constant 306@ = 38848
set_lvar_int_to_constant 308@ = 38849
set_lvar_int_to_constant 309@ = 38850
set_lvar_int_to_constant 311@ = 38851
set_lvar_int_to_constant 312@ = 38852
set_lvar_int_to_constant 313@ = 38853
set_lvar_int_to_constant 314@ = 38854
set_lvar_int_to_constant 315@ = 38831
set_lvar_int_to_constant 316@ = 38832
set_lvar_int_to_constant 319@ = 38833
set_lvar_int_to_constant 320@ = 38834
set_lvar_int_to_constant 322@ = 38835
set_lvar_int_to_constant 323@ = 38836
set_lvar_int_to_constant 324@ = 38837
if 
  $flag_grav_passed_1stime == 0
goto_if_false @SYN1_3494
$flag_grav_passed_1stime = 1

:SYN1_3494
Streaming.RequestModel(330)
Streaming.RequestModel(367)
Streaming.LoadAllModelsNow

:SYN1_3506
if or
  not Streaming.HasModelLoaded(367)
  not Streaming.HasModelLoaded(330)
goto_if_false @SYN1_3538
wait 0
goto @SYN1_3506

:SYN1_3538
Char.SetCoordinates($stattreadstamina_ctr, -2030.312, 148.0136, 27.8359)
Char.SetHeading($stattreadstamina_ctr, 293.7756)
Player.SetControl($statbike_temp, False)
Task.UseMobilePhone($stattreadstamina_ctr, True)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2024.469, 136.6788, 39.4814, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2025.135, 137.4221, 39.5473, SwitchType.JumpCut)
CarGenerator.Switch($5281, 0)
CarGenerator.Switch($5282, 0)
CarGenerator.Switch($timer_wil, 0)
gosub @SYN1_47
Camera.DoFade(300, Fade.In)

:SYN1_3672
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_3696
wait 0
goto @SYN1_3672

:SYN1_3696
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(-2024.469, 136.6788, 39.4814, -2030.399, 144.5236, 29.1601, 3500, True)
Camera.SetVectorTrack(-2025.135, 137.4221, 39.5473, -2030.797, 145.4357, 29.0639, 3500, True)

:SYN1_3780
wait 0
if 
  334@ <> 0
goto_if_false @SYN1_4211
if 
  336@ == 0
goto_if_false @SYN1_3848
if 
  Audio.HasMissionAudioLoaded(333@)
goto_if_false @SYN1_3841
Audio.ClearMissionAudio(333@)

:SYN1_3841
336@ = 1

:SYN1_3848
if 
  336@ == 1
goto_if_false @SYN1_3892
Audio.LoadMissionAudio(332@, 272@(334@,60i))
gosub @SYN1_15835
336@ = 2

:SYN1_3892
if 
  336@ == 2
goto_if_false @SYN1_3994
if 
  Audio.HasMissionAudioLoaded(332@)
goto_if_false @SYN1_3994
if 
  148@ <> 0
goto_if_false @SYN1_3968
if 
  not Char.IsDead(148@)
goto_if_false @SYN1_3968
Char.StartFacialTalk(148@, 10000)

:SYN1_3968
Audio.PlayMissionAudio(332@)
Text.PrintNow(152@(334@,60s), 10000, 1)
336@ = 3

:SYN1_3994
if 
  336@ == 3
goto_if_false @SYN1_4211
if 
  Audio.HasMissionAudioFinished(332@)
goto_if_false @SYN1_4150
Text.ClearThisPrint(152@(334@,60s))
if 
  148@ <> 0
goto_if_false @SYN1_4076
if 
  not Char.IsDead(148@)
goto_if_false @SYN1_4076
Char.StopFacialTalk(148@)

:SYN1_4076
if 
  332@ == 1
goto_if_false @SYN1_4115
332@ = 2
333@ = 1
goto @SYN1_4129

:SYN1_4115
332@ = 1
333@ = 2

:SYN1_4129
334@ = 0
336@ = 0
goto @SYN1_4211

:SYN1_4150
if 
  not Audio.HasMissionAudioLoaded(333@)
goto_if_false @SYN1_4211
if 
  60 > 334@
goto_if_false @SYN1_4211
set_lvar_int_to_lvar_int 335@ = 334@
335@ += 1
Audio.LoadMissionAudio(333@, 272@(335@,60i))

:SYN1_4211
if 
  39@ == 0
goto_if_false @SYN1_4266
if 
  336@ == 0
goto_if_false @SYN1_4266
334@ = 1
39@ = 1
151@ = Clock.GetGameTimer()

:SYN1_4266
if 
  39@ == 1
goto_if_false @SYN1_4361
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_4361
if 
  336@ == 0
goto_if_false @SYN1_4361
334@ = 2
39@ = 2
151@ = Clock.GetGameTimer()

:SYN1_4361
if 
  39@ == 2
goto_if_false @SYN1_4456
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_4456
if 
  336@ == 0
goto_if_false @SYN1_4456
334@ = 3
39@ = 3
151@ = Clock.GetGameTimer()

:SYN1_4456
if 
  39@ == 3
goto_if_false @SYN1_4551
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_4551
if 
  336@ == 0
goto_if_false @SYN1_4551
334@ = 4
39@ = 4
151@ = Clock.GetGameTimer()

:SYN1_4551
if 
  39@ == 4
goto_if_false @SYN1_4663
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_4663
if 
  336@ == 0
goto_if_false @SYN1_4663
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
334@ = 5
39@ = 5
151@ = Clock.GetGameTimer()

:SYN1_4663
if 
  39@ == 5
goto_if_false @SYN1_4758
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_4758
if 
  336@ == 0
goto_if_false @SYN1_4758
334@ = 6
39@ = 6
151@ = Clock.GetGameTimer()

:SYN1_4758
if 
  39@ == 6
goto_if_false @SYN1_4853
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_4853
if 
  336@ == 0
goto_if_false @SYN1_4853
334@ = 7
39@ = 7
151@ = Clock.GetGameTimer()

:SYN1_4853
if 
  39@ == 7
goto_if_false @SYN1_4948
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_4948
if 
  336@ == 0
goto_if_false @SYN1_4948
334@ = 8
39@ = 8
151@ = Clock.GetGameTimer()

:SYN1_4948
if 
  39@ == 8
goto_if_false @SYN1_5043
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_5043
if 
  336@ == 0
goto_if_false @SYN1_5043
334@ = 9
39@ = 9
151@ = Clock.GetGameTimer()

:SYN1_5043
if or
  39@ == 9
  39@ == 10
goto_if_false @SYN1_5176
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_5176
if 
  336@ == 0
goto_if_false @SYN1_5176
Player.SetControl($statbike_temp, True)
365@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1833)
if 
  not is_int_lvar_equal_to_constant 365@ == 7
goto_if_false @SYN1_5169
Task.UseMobilePhone($stattreadstamina_ctr, False)

:SYN1_5169
goto @SYN1_5230

:SYN1_5176
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN1_5223
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
39@ = 10

:SYN1_5223
goto @SYN1_3780

:SYN1_5230
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SYN1_5256
goto @SYN1_14609

:SYN1_5256
if 
is_ps2_keyboard_key_pressed 49
goto_if_false @SYN1_5285
$cprace_best_position = 1
$2211 = 1

:SYN1_5285
if 
  34@ == 0
goto_if_false @SYN1_5452
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @SYN1_5452
Camera.DoFade(100, Fade.Out)

:SYN1_5324
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_5348
wait 0
goto @SYN1_5324

:SYN1_5348
Char.SetCoordinates($stattreadstamina_ctr, 387@, 388@, 389@)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Camera, 30000)
Streaming.LoadScene(387@, 388@, 389@)
Streaming.LoadScene(402@, 403@, 404@)
gosub @SYN1_345
gosub @SYN1_498
Camera.DoFade(100, Fade.In)

:SYN1_5414
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_5438
wait 0
goto @SYN1_5414

:SYN1_5438
34@ = 5
35@ = 1

:SYN1_5452
if 
  334@ <> 0
goto_if_false @SYN1_6025
if 
  336@ == 0
goto_if_false @SYN1_5516
if 
  Audio.HasMissionAudioLoaded(333@)
goto_if_false @SYN1_5509
Audio.ClearMissionAudio(333@)

:SYN1_5509
336@ = 1

:SYN1_5516
if 
  336@ == 1
goto_if_false @SYN1_5560
Audio.LoadMissionAudio(332@, 272@(334@,60i))
gosub @SYN1_15835
336@ = 2

:SYN1_5560
if 
  336@ == 2
goto_if_false @SYN1_5662
if 
  Audio.HasMissionAudioLoaded(332@)
goto_if_false @SYN1_5662
if 
  148@ <> 0
goto_if_false @SYN1_5636
if 
  not Char.IsDead(148@)
goto_if_false @SYN1_5636
Char.StartFacialTalk(148@, 10000)

:SYN1_5636
Audio.PlayMissionAudio(332@)
Text.PrintNow(152@(334@,60s), 10000, 1)
336@ = 3

:SYN1_5662
if 
  336@ == 3
goto_if_false @SYN1_6025
if 
  Audio.HasMissionAudioFinished(332@)
goto_if_false @SYN1_5964
Text.ClearThisPrint(152@(334@,60s))
if 
  148@ <> 0
goto_if_false @SYN1_5744
if 
  not Char.IsDead(148@)
goto_if_false @SYN1_5744
Char.StopFacialTalk(148@)

:SYN1_5744
if 
  332@ == 1
goto_if_false @SYN1_5783
332@ = 2
333@ = 1
goto @SYN1_5797

:SYN1_5783
332@ = 1
333@ = 2

:SYN1_5797
if and
  334@ == 10
  36@ == 2
goto_if_false @SYN1_5850
334@ = 0
336@ = 0
36@ = 3
goto @SYN1_5864

:SYN1_5850
334@ = 0
336@ = 0

:SYN1_5864
if 
  337@ == 1
goto_if_false @SYN1_5889
337@ = 2

:SYN1_5889
if 
  337@ == 0
goto_if_false @SYN1_5914
337@ = 1

:SYN1_5914
if 
  34@ == 6
goto_if_false @SYN1_5957
if 
  35@ == 13
goto_if_false @SYN1_5957
35@ = 0

:SYN1_5957
goto @SYN1_6025

:SYN1_5964
if 
  not Audio.HasMissionAudioLoaded(333@)
goto_if_false @SYN1_6025
if 
  60 > 334@
goto_if_false @SYN1_6025
set_lvar_int_to_lvar_int 335@ = 334@
335@ += 1
Audio.LoadMissionAudio(333@, 272@(335@,60i))

:SYN1_6025
if 
  34@ == 0
goto_if_false @SYN1_6099
379@ = Blip.AddForCoord($syn2_view_debug_f, $7284, $7285)
Blip.SetCoordAppearance(379@, 1)
151@ = Clock.GetGameTimer()
Text.Print('SYN1_02', 10000, 1)
147@ = 11
34@ = 1

:SYN1_6099
if 
  34@ == 2
goto_if_false @SYN1_6173
if 
  not Char.LocateInCar3D($stattreadstamina_ctr, 48@, 49@, 50@, 4.0, 4.0, 4.0, False)
goto_if_false @SYN1_6173
gosub @SYN1_15027
gosub @SYN1_15498

:SYN1_6173
if 
  34@ == 1
goto_if_false @SYN1_7141
if 
  35@ == 0
goto_if_false @SYN1_6396
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN1_6396
366@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  336@ == 0
goto_if_false @SYN1_6396
if 
  147@ == 11
goto_if_false @SYN1_6396
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1
goto_if_false @SYN1_6396
if 
  $cprace_best_position == 1
goto_if_false @SYN1_6348
Skip.SetUp(-85.518, -413.1554, 0.4297, 240.0212)

:SYN1_6348
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @SYN1_6377
Text.Print('SYN1_02', 10000, 1)

:SYN1_6377
151@ = Clock.GetGameTimer()
147@ = 12
35@ = 1

:SYN1_6396
if 
  36@ == 0
goto_if_false @SYN1_6549
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @SYN1_6549
Task.UseMobilePhone($stattreadstamina_ctr, False)
if 
  not Car.IsDead(366@)
goto_if_false @SYN1_6461
Car.LockDoors(366@, CarLock.Unlocked)

:SYN1_6461
147@ = 12
35@ = 1
gosub @SYN1_148
if 
  not Char.IsDead(376@)
goto_if_false @SYN1_6542
Task.PlayAnim(376@, "BOM_PLANT_LOOP", "BOMBER", 4.0, True, False, False, False, -1)

:SYN1_6542
36@ = 1

:SYN1_6549
if 
  36@ == 0
goto_if_false @SYN1_6720
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $syn2_view_debug_f, $7284, $7285, 150.0, 150.0, 150.0, True)
goto_if_false @SYN1_6720
Task.UseMobilePhone($stattreadstamina_ctr, False)
if 
  not Car.IsDead(366@)
goto_if_false @SYN1_6639
Car.LockDoors(366@, CarLock.Unlocked)

:SYN1_6639
gosub @SYN1_148
if 
  not Char.IsDead(376@)
goto_if_false @SYN1_6706
Task.PlayAnim(376@, "BOM_PLANT_LOOP", "BOMBER", 4.0, True, False, False, False, -1)

:SYN1_6706
147@ = 12
36@ = 1

:SYN1_6720
if 
  36@ == 1
goto_if_false @SYN1_7141
if and
  not Char.IsDead(376@)
  not Car.IsDead(377@)
goto_if_false @SYN1_7141
if and
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 376@, 30.0, 30.0, 30.0, False)
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 376@, 8.0, 8.0, 8.0, False)
goto_if_false @SYN1_6942
Text.PrintNow('SYN1_15', 100, 1)
if 
  41@ == 0
goto_if_false @SYN1_6942
if 
  not Char.IsDead(376@)
goto_if_false @SYN1_6942
380@ = Char.GetScriptTaskStatus(376@, 1541)
if 
  is_int_lvar_equal_to_constant 380@ == 7
goto_if_false @SYN1_6942
Task.PlayAnim(376@, "BOM_PLANT_LOOP", "BOMBER", 4.0, True, False, False, False, -1)

:SYN1_6942
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 376@, 8.0, 8.0, 8.0, False)
goto_if_false @SYN1_7141
Char.ClearTasks(376@)
if 
  41@ == 0
goto_if_false @SYN1_7008
41@ = 1

:SYN1_7008
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN1_7141
if 
  not Char.IsGroupMember(376@, $flag_cell_nation)
goto_if_false @SYN1_7141
if 
  $cprace_best_position == 0
goto_if_false @SYN1_7068
$cprace_best_position = 1

:SYN1_7068
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, 376@)
Blip.Remove(379@)
381@ = Blip.AddForCar(377@)
Blip.SetAsFriendly(381@, True)
151@ = Clock.GetGameTimer()
151@ -= 3000
34@ = 2
35@ = 4
42@ = 1
367@ = 0

:SYN1_7141
if 
  34@ == 1
goto_if_false @SYN1_7259
if 
  36@ == 1
goto_if_false @SYN1_7259
if 
  Char.IsDead(376@)
goto_if_false @SYN1_7218
Text.ClearPrints
Text.Print('SYN1_06', 5000, 1)
goto @SYN1_14584

:SYN1_7218
if 
  Car.IsDead(377@)
goto_if_false @SYN1_7259
Text.ClearPrints
Text.Print('SYN1_08', 5000, 1)
goto @SYN1_14584

:SYN1_7259
if or
  34@ == 2
  34@ == 3
goto_if_false @SYN1_7366
if 
  Char.IsDead(376@)
goto_if_false @SYN1_7325
Text.ClearPrints
Text.Print('SYN1_06', 5000, 1)
goto @SYN1_14584

:SYN1_7325
if 
  Car.IsDead(377@)
goto_if_false @SYN1_7366
Text.ClearPrints
Text.Print('SYN1_08', 5000, 1)
goto @SYN1_14584

:SYN1_7366
if 
  34@ == 2
goto_if_false @SYN1_8403
if and
  367@ == 1
  368@ == 1
  147@ == 12
goto_if_false @SYN1_7430
147@ = 2
goto @SYN1_7661

:SYN1_7430
if 
  147@ > 5
goto_if_false @SYN1_7661
if 
  368@ == 1
goto_if_false @SYN1_7523
if 
  36@ == 1
goto_if_false @SYN1_7523
if and
  336@ == 0
  334@ == 0
goto_if_false @SYN1_7523
334@ = 10
36@ = 2

:SYN1_7523
if 
  36@ == 1
goto_if_false @SYN1_7592
if and
  368@ == 0
  334@ == 0
  336@ == 0
goto_if_false @SYN1_7592
Text.PrintNow('SYN1_15', 100, 1)
Audio.SetRadioChannel(RadioChannel.PlaybackFM)

:SYN1_7592
if 
  36@ == 3
goto_if_false @SYN1_7661
if and
  368@ == 1
  334@ == 0
  336@ == 0
goto_if_false @SYN1_7661
Text.PrintNow('SYN1_07', 100, 1)
Audio.SetRadioChannel(RadioChannel.PlaybackFM)

:SYN1_7661
if and
  not Char.IsDead(376@)
  not Car.IsDead(377@)
goto_if_false @SYN1_7995
if 
  Char.IsInCar(376@, 377@)
goto_if_false @SYN1_7995
if 
  147@ == 2
goto_if_false @SYN1_7796
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 3500
goto_if_false @SYN1_7796
if 
  336@ == 0
goto_if_false @SYN1_7796
334@ = 15
151@ = Clock.GetGameTimer()
147@ = 3

:SYN1_7796
if 
  147@ == 3
goto_if_false @SYN1_7891
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_7891
if 
  336@ == 0
goto_if_false @SYN1_7891
334@ = 16
151@ = Clock.GetGameTimer()
147@ = 4

:SYN1_7891
if 
  147@ == 4
goto_if_false @SYN1_7995
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_7995
if 
  336@ == 0
goto_if_false @SYN1_7995
Text.Print('SYN1_13', 10000, 1)
151@ = Clock.GetGameTimer()
147@ = 5

:SYN1_7995
if 
  35@ == 4
goto_if_false @SYN1_8403
if and
  not Char.IsDead(376@)
  not Car.IsDead(377@)
goto_if_false @SYN1_8403
if 
  Char.IsInCar(376@, 377@)
goto_if_false @SYN1_8403
if 
  Char.IsInCar($stattreadstamina_ctr, 377@)
goto_if_false @SYN1_8403
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 48@, 49@, 50@, 4.0, 4.0, 4.0, True)
goto_if_false @SYN1_8403
if 
  $2211 == 0
goto_if_false @SYN1_8139
$2211 = 1

:SYN1_8139
Player.SetControl($statbike_temp, False)
151@ = Clock.GetGameTimer()
Blip.Remove(51@)
52@ = Blip.AddForCoord(387@, 388@, 389@)
Text.PrintNow('SYN1_14', 5000, 1)
34@ = 3
if 
  Char.IsGroupMember(376@, $flag_cell_nation)
goto_if_false @SYN1_8403
Char.RemoveFromGroup(376@)
385@ = Sequence.Open()
Task.LeaveCar(-1, 377@)
Task.GoStraightToCoord(-1, -2160.515, -2413.449, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2162.452, -2414.229, 29.6328, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2165.884, -2411.885, 31.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2168.957, -2409.118, 33.618, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2170.84, -2414.24, 33.2969, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2167.741, -2416.953, 33.2969, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2168.362, -2419.44, 33.2969, MoveState.Walk, -2)
Sequence.Close(385@)
Char.PerformSequence(376@, 385@)

:SYN1_8403
if 
  34@ == 3
goto_if_false @SYN1_8802
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 500
goto_if_false @SYN1_8468
Player.SetControl($statbike_temp, True)

:SYN1_8468
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 387@, 388@, 389@, 1.2, 1.2, 2.0, True)
goto_if_false @SYN1_8802
Camera.DoFade(100, Fade.Out)

:SYN1_8516
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_8540
wait 0
goto @SYN1_8516

:SYN1_8540
if 
  not Car.IsDead(377@)
goto_if_false @SYN1_8623
Car.SetProofs(377@, True, True, True, True, True)
Car.SetHealth(377@, 1000)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Car.SetCoordinates(377@, -2160.06, -2409.631, 29.6172)
Car.SetHeading(377@, 191.1948)

:SYN1_8623
if 
  not Char.IsDead(376@)
goto_if_false @SYN1_8654
Char.SetProofs(376@, True, True, True, True, True)

:SYN1_8654
Player.AlterWantedLevel($statbike_temp, 0)
Blip.Remove(52@)
Char.SetCoordinates($stattreadstamina_ctr, 387@, 388@, 389@)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Camera, 30000)
Streaming.LoadScene(387@, 388@, 389@)
Streaming.LoadScene(402@, 403@, 404@)
Text.PrintHelpForever('SYN1_44')
gosub @SYN1_345
gosub @SYN1_498
Camera.DoFade(100, Fade.In)

:SYN1_8743
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_8767
wait 0
goto @SYN1_8743

:SYN1_8767
34@ = 5
35@ = 0
151@ = Clock.GetGameTimer()
Text.PrintNow('SYN1_12', 10000, 1)

:SYN1_8802
if 
  34@ == 5
goto_if_false @SYN1_12724
146@ = Camera.GetFov()
if 
  35@ == 0
goto_if_false @SYN1_8974
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 8000
goto_if_false @SYN1_8923
if 
  not Car.IsDead(392@)
goto_if_false @SYN1_8923
if 
  not Car.IsPlaybackGoingOn(392@)
goto_if_false @SYN1_8923
Car.StartPlayback(392@, 190)

:SYN1_8923
if 
  149@ > 10000
goto_if_false @SYN1_8974
if 
  336@ == 0
goto_if_false @SYN1_8974
334@ = 17
35@ = 1

:SYN1_8974
if 
  35@ == 1
goto_if_false @SYN1_9199
if and
  not Car.IsDead(392@)
  not Char.IsDead(391@)
goto_if_false @SYN1_9199
if 
  not Car.IsPlaybackGoingOn(392@)
goto_if_false @SYN1_9199
397@ = Sequence.Open()
Task.LeaveCar(-1, 392@)
Task.GoStraightToCoord(-1, -2151.475, -2442.065, 29.6328, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2157.388, -2441.616, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2162.471, -2444.574, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2167.309, -2451.878, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2166.517, -2456.966, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2160.42, -2461.468, 29.6328, MoveState.Walk, -2)
Sequence.Close(397@)
Char.PerformSequence(391@, 397@)
35@ = 2

:SYN1_9199
if 
  35@ == 2
goto_if_false @SYN1_9304
if and
  not Car.IsDead(392@)
  not Char.IsDead(391@)
goto_if_false @SYN1_9304
if 
  not Char.IsInCar(391@, 392@)
goto_if_false @SYN1_9304
393@ = Blip.AddForChar(391@)
if 
  Char.HasBeenPhotographed(391@)
goto_if_false @SYN1_9281

:SYN1_9281
Text.PrintNow('SYN1_04', 5000, 1)
35@ = 3

:SYN1_9304
if 
  35@ == 3
goto_if_false @SYN1_9471
if 
  not Char.IsDead(391@)
goto_if_false @SYN1_9471
395@ = Char.GetScriptTaskStatus(391@, 1560)
if 
  is_int_lvar_equal_to_constant 395@ == 7
goto_if_false @SYN1_9471
Camera.DoFade(500, Fade.Out)

:SYN1_9374
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_9398
wait 0
goto @SYN1_9374

:SYN1_9398
if 
  not Car.IsDead(386@)
goto_if_false @SYN1_9471
Char.DetachFromCar($stattreadstamina_ctr)
Car.Delete(386@)
Char.SetCoordinates($stattreadstamina_ctr, 387@, 388@, 389@)
Char.SetHeading($stattreadstamina_ctr, 210.0)
Text.PrintNow('SYN1_09', 7500, 1)
goto @SYN1_14584

:SYN1_9471
if 
  35@ == 3
goto_if_false @SYN1_9719
if 
  40@ == 0
goto_if_false @SYN1_9719
if 
  not Char.IsDead(391@)
goto_if_false @SYN1_9719
if 
  Char.HasBeenPhotographed(391@)
goto_if_false @SYN1_9719
if 
  20.0 > 146@
goto_if_false @SYN1_9687
401@ = Char.GetHeading(391@)
if or
  is_float_lvar_greater_than_float_lvar 401@ > 339@
  is_float_lvar_greater_than_float_lvar 338@ > 401@
goto_if_false @SYN1_9648
if 
  336@ == 0
goto_if_false @SYN1_9641
Text.ClearPrints
Blip.Remove(393@)
gosub @SYN1_733
337@ = 0
35@ = 4

:SYN1_9641
goto @SYN1_9680

:SYN1_9648
Text.Print('SYN1_10', 3000, 1)
if 
  Char.HasBeenPhotographed(391@)
goto_if_false @SYN1_9680

:SYN1_9680
goto @SYN1_9719

:SYN1_9687
Text.Print('SYN1_05', 3000, 1)
if 
  Char.HasBeenPhotographed(391@)
goto_if_false @SYN1_9719

:SYN1_9719
if and
  35@ > 3
  7 > 35@
goto_if_false @SYN1_9862
if 
  40@ == 0
goto_if_false @SYN1_9862
if 
  336@ == 0
goto_if_false @SYN1_9862
if 
  337@ == 0
goto_if_false @SYN1_9805
334@ = 20

:SYN1_9805
if 
  337@ == 1
goto_if_false @SYN1_9830
334@ = 22

:SYN1_9830
if 
  337@ == 2
goto_if_false @SYN1_9862
334@ = 27
40@ = 1

:SYN1_9862
if 
  35@ == 4
goto_if_false @SYN1_10087
if and
  not Car.IsDead(407@)
  not Char.IsDead(406@)
goto_if_false @SYN1_10087
if 
  not Car.IsPlaybackGoingOn(407@)
goto_if_false @SYN1_10087
411@ = Sequence.Open()
Task.LeaveCar(-1, 407@)
Task.GoStraightToCoord(-1, -2156.689, -2441.712, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2161.142, -2444.187, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2165.83, -2449.476, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2167.138, -2454.51, 29.6328, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2164.094, -2458.863, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2161.336, -2460.522, 29.6328, MoveState.Walk, -2)
Sequence.Close(411@)
Char.PerformSequence(406@, 411@)
35@ = 5

:SYN1_10087
if 
  35@ == 5
goto_if_false @SYN1_10192
if and
  not Car.IsDead(407@)
  not Char.IsDead(406@)
goto_if_false @SYN1_10192
if 
  not Char.IsInCar(406@, 407@)
goto_if_false @SYN1_10192
408@ = Blip.AddForChar(406@)
if 
  Char.HasBeenPhotographed(406@)
goto_if_false @SYN1_10169

:SYN1_10169
Text.PrintNow('SYN1_04', 5000, 1)
35@ = 6

:SYN1_10192
if 
  35@ == 6
goto_if_false @SYN1_10359
if 
  not Char.IsDead(406@)
goto_if_false @SYN1_10359
409@ = Char.GetScriptTaskStatus(406@, 1560)
if 
  is_int_lvar_equal_to_constant 409@ == 7
goto_if_false @SYN1_10359
Camera.DoFade(500, Fade.Out)

:SYN1_10262
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_10286
wait 0
goto @SYN1_10262

:SYN1_10286
if 
  not Car.IsDead(386@)
goto_if_false @SYN1_10359
Char.DetachFromCar($stattreadstamina_ctr)
Car.Delete(386@)
Char.SetCoordinates($stattreadstamina_ctr, 387@, 388@, 389@)
Char.SetHeading($stattreadstamina_ctr, 210.0)
Text.PrintNow('SYN1_09', 7500, 1)
goto @SYN1_14584

:SYN1_10359
if 
  35@ == 6
goto_if_false @SYN1_10607
if 
  40@ == 1
goto_if_false @SYN1_10607
if 
  not Char.IsDead(406@)
goto_if_false @SYN1_10607
if 
  Char.HasBeenPhotographed(406@)
goto_if_false @SYN1_10607
if 
  20.0 > 146@
goto_if_false @SYN1_10575
415@ = Char.GetHeading(406@)
if or
  is_float_lvar_greater_than_float_lvar 415@ > 339@
  is_float_lvar_greater_than_float_lvar 338@ > 415@
goto_if_false @SYN1_10536
if 
  336@ == 0
goto_if_false @SYN1_10529
Text.ClearPrints
Blip.Remove(408@)
gosub @SYN1_1218
337@ = 0
35@ = 7

:SYN1_10529
goto @SYN1_10568

:SYN1_10536
Text.Print('SYN1_10', 3000, 1)
if 
  Char.HasBeenPhotographed(406@)
goto_if_false @SYN1_10568

:SYN1_10568
goto @SYN1_10607

:SYN1_10575
Text.Print('SYN1_05', 3000, 1)
if 
  Char.HasBeenPhotographed(406@)
goto_if_false @SYN1_10607

:SYN1_10607
if and
  35@ > 6
  10 > 35@
goto_if_false @SYN1_10750
if 
  40@ == 1
goto_if_false @SYN1_10750
if 
  336@ == 0
goto_if_false @SYN1_10750
if 
  337@ == 0
goto_if_false @SYN1_10693
334@ = 32

:SYN1_10693
if 
  337@ == 1
goto_if_false @SYN1_10718
334@ = 33

:SYN1_10718
if 
  337@ == 2
goto_if_false @SYN1_10750
334@ = 30
40@ = 2

:SYN1_10750
if 
  35@ == 7
goto_if_false @SYN1_11128
if and
  not Car.IsDead(437@)
  not Char.IsDead(436@)
goto_if_false @SYN1_11128
if 
  Car.IsPlaybackGoingOn(437@)
goto_if_false @SYN1_10988
359@, 360@, 361@ = Car.GetOffsetInWorldCoords(437@, 0.0, 4.0, 0.0)
set_lvar_float_to_lvar_float 356@ = 359@
356@ -= 1.0
set_lvar_float_to_lvar_float 357@ = 360@
357@ -= 1.0
set_lvar_float_to_lvar_float 358@ = 361@
358@ -= 1.0
set_lvar_float_to_lvar_float 362@ = 359@
362@ += 1.0
set_lvar_float_to_lvar_float 363@ = 360@
363@ += 1.0
set_lvar_float_to_lvar_float 364@ = 361@
364@ += 1.0
if 
  World.IsAreaOccupied(356@, 357@, 358@, 362@, 363@, 364@, False, False, True, False, False)
goto_if_false @SYN1_10988
Car.StopPlayback(437@)

:SYN1_10988
if 
  not Car.IsPlaybackGoingOn(437@)
goto_if_false @SYN1_11128
441@ = Sequence.Open()
Task.LeaveCar(-1, 437@)
Task.GoStraightToCoord(-1, -2176.855, -2453.54, 29.4688, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2172.517, -2453.834, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2169.383, -2456.08, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2162.812, -2459.839, 29.6328, MoveState.Walk, -2)
Sequence.Close(441@)
Char.PerformSequence(436@, 441@)
35@ = 8

:SYN1_11128
if 
  35@ == 8
goto_if_false @SYN1_11233
if and
  not Car.IsDead(437@)
  not Char.IsDead(436@)
goto_if_false @SYN1_11233
if 
  not Char.IsInCar(436@, 437@)
goto_if_false @SYN1_11233
438@ = Blip.AddForChar(436@)
if 
  Char.HasBeenPhotographed(436@)
goto_if_false @SYN1_11210

:SYN1_11210
Text.PrintNow('SYN1_04', 5000, 1)
35@ = 9

:SYN1_11233
if 
  35@ == 9
goto_if_false @SYN1_11400
if 
  not Char.IsDead(436@)
goto_if_false @SYN1_11400
439@ = Char.GetScriptTaskStatus(436@, 1560)
if 
  is_int_lvar_equal_to_constant 439@ == 7
goto_if_false @SYN1_11400
Camera.DoFade(500, Fade.Out)

:SYN1_11303
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_11327
wait 0
goto @SYN1_11303

:SYN1_11327
if 
  not Car.IsDead(386@)
goto_if_false @SYN1_11400
Char.DetachFromCar($stattreadstamina_ctr)
Car.Delete(386@)
Char.SetCoordinates($stattreadstamina_ctr, 387@, 388@, 389@)
Char.SetHeading($stattreadstamina_ctr, 210.0)
Text.PrintNow('SYN1_09', 7500, 1)
goto @SYN1_14584

:SYN1_11400
if 
  35@ == 9
goto_if_false @SYN1_11648
if 
  40@ == 2
goto_if_false @SYN1_11648
if 
  not Char.IsDead(436@)
goto_if_false @SYN1_11648
if 
  Char.HasBeenPhotographed(436@)
goto_if_false @SYN1_11648
if 
  20.0 > 146@
goto_if_false @SYN1_11616
445@ = Char.GetHeading(436@)
if or
  is_float_lvar_greater_than_float_lvar 445@ > 339@
  is_float_lvar_greater_than_float_lvar 338@ > 445@
goto_if_false @SYN1_11577
if 
  336@ == 0
goto_if_false @SYN1_11570
Text.ClearPrints
Blip.Remove(438@)
gosub @SYN1_934
337@ = 0
35@ = 10

:SYN1_11570
goto @SYN1_11609

:SYN1_11577
Text.Print('SYN1_10', 3000, 1)
if 
  Char.HasBeenPhotographed(436@)
goto_if_false @SYN1_11609

:SYN1_11609
goto @SYN1_11648

:SYN1_11616
Text.Print('SYN1_05', 3000, 1)
if 
  Char.HasBeenPhotographed(436@)
goto_if_false @SYN1_11648

:SYN1_11648
if and
  35@ > 9
  13 > 35@
goto_if_false @SYN1_11791
if 
  40@ == 2
goto_if_false @SYN1_11791
if 
  336@ == 0
goto_if_false @SYN1_11791
if 
  337@ == 0
goto_if_false @SYN1_11734
334@ = 42

:SYN1_11734
if 
  337@ == 1
goto_if_false @SYN1_11759
334@ = 43

:SYN1_11759
if 
  337@ == 2
goto_if_false @SYN1_11791
334@ = 39
40@ = 3

:SYN1_11791
if 
  35@ == 10
goto_if_false @SYN1_11977
if and
  not Car.IsDead(421@)
  not Char.IsDead(420@)
goto_if_false @SYN1_11977
if 
  not Car.IsPlaybackGoingOn(421@)
goto_if_false @SYN1_11977
427@ = Sequence.Open()
Task.LeaveCar(-1, 421@)
Task.GoStraightToCoord(-1, -2173.391, -2445.985, 29.4688, MoveState.Walk, -2)
Task.StandStill(-1, 1500)
Task.GoStraightToCoord(-1, -2170.468, -2449.187, 29.4688, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2167.974, -2454.974, 29.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2163.539, -2458.753, 29.625, MoveState.Walk, -2)
Sequence.Close(427@)
Char.PerformSequence(420@, 427@)
35@ = 11

:SYN1_11977
if 
  35@ == 11
goto_if_false @SYN1_12082
if and
  not Car.IsDead(421@)
  not Char.IsDead(420@)
goto_if_false @SYN1_12082
if 
  not Char.IsInCar(420@, 421@)
goto_if_false @SYN1_12082
422@ = Blip.AddForChar(420@)
if 
  Char.HasBeenPhotographed(420@)
goto_if_false @SYN1_12059

:SYN1_12059
Text.PrintNow('SYN1_04', 5000, 1)
35@ = 12

:SYN1_12082
if 
  35@ == 12
goto_if_false @SYN1_12333
if 
  not Char.IsDead(420@)
goto_if_false @SYN1_12333
425@ = Char.GetScriptTaskStatus(420@, 1560)
if 
  not is_int_lvar_equal_to_constant 425@ == 7
goto_if_false @SYN1_12211
426@ = Char.GetSequenceProgress(420@)
if 
  426@ == 1
goto_if_false @SYN1_12211
if 
  not Car.IsDead(421@)
goto_if_false @SYN1_12211
if 
  not Car.IsPlaybackGoingOn(421@)
goto_if_false @SYN1_12211
Car.StartPlayback(421@, 194)

:SYN1_12211
if 
  is_int_lvar_equal_to_constant 425@ == 7
goto_if_false @SYN1_12333
Camera.DoFade(500, Fade.Out)

:SYN1_12236
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_12260
wait 0
goto @SYN1_12236

:SYN1_12260
if 
  not Car.IsDead(386@)
goto_if_false @SYN1_12333
Char.DetachFromCar($stattreadstamina_ctr)
Car.Delete(386@)
Char.SetCoordinates($stattreadstamina_ctr, 387@, 388@, 389@)
Char.SetHeading($stattreadstamina_ctr, 210.0)
Text.PrintNow('SYN1_09', 7500, 1)
goto @SYN1_14584

:SYN1_12333
if 
  35@ == 12
goto_if_false @SYN1_12574
if 
  40@ == 3
goto_if_false @SYN1_12574
if 
  not Char.IsDead(420@)
goto_if_false @SYN1_12574
if 
  Char.HasBeenPhotographed(420@)
goto_if_false @SYN1_12574
if 
  20.0 > 146@
goto_if_false @SYN1_12542
431@ = Char.GetHeading(420@)
if or
  is_float_lvar_greater_than_float_lvar 431@ > 339@
  is_float_lvar_greater_than_float_lvar 338@ > 431@
goto_if_false @SYN1_12503
if 
  336@ == 0
goto_if_false @SYN1_12496
Text.ClearPrints
Blip.Remove(422@)
337@ = 0
35@ = 13

:SYN1_12496
goto @SYN1_12535

:SYN1_12503
Text.Print('SYN1_10', 3000, 1)
if 
  Char.HasBeenPhotographed(420@)
goto_if_false @SYN1_12535

:SYN1_12535
goto @SYN1_12574

:SYN1_12542
Text.Print('SYN1_05', 3000, 1)
if 
  Char.HasBeenPhotographed(420@)
goto_if_false @SYN1_12574

:SYN1_12574
if 
  35@ == 13
goto_if_false @SYN1_12724
if 
  40@ == 3
goto_if_false @SYN1_12724
if 
  336@ == 0
goto_if_false @SYN1_12724
if 
  337@ == 0
goto_if_false @SYN1_12653
334@ = 40

:SYN1_12653
if 
  337@ == 1
goto_if_false @SYN1_12678
334@ = 41

:SYN1_12678
if 
  337@ == 2
goto_if_false @SYN1_12724
334@ = 29
40@ = 4
34@ = 6
35@ = -3

:SYN1_12724
if 
  34@ == 6
goto_if_false @SYN1_14577
if 
  35@ == -3
goto_if_false @SYN1_13061
if 
  334@ == 0
goto_if_false @SYN1_13061
Camera.DoFade(150, Fade.Out)

:SYN1_12785
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_12809
wait 0
goto @SYN1_12785

:SYN1_12809
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  not Char.IsDead(376@)
goto_if_false @SYN1_13061
Char.DetachFromCar($stattreadstamina_ctr)
if 
  not Car.IsDead(386@)
goto_if_false @SYN1_12864
Car.Delete(386@)

:SYN1_12864
Camera.SetFixedPosition(-2161.72, -2411.582, 31.9003, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2162.657, -2411.396, 32.193, SwitchType.JumpCut)
Char.SetCoordinates(376@, -2169.03, -2409.327, 33.618)
Char.SetHeading(376@, 232.4401)
Char.SetCoordinates($stattreadstamina_ctr, -2170.245, -2410.956, 33.2969)
Char.SetHeading($stattreadstamina_ctr, 322.3848)
340@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2169.03, -2409.327, 33.618, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2165.388, -2411.746, 31.625, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -2161.814, -2414.811, 29.625, MoveState.Run, -2)
Sequence.Close(340@)
35@ = -2

:SYN1_13061
if 
  35@ == -2
goto_if_false @SYN1_13154
if 
  not Char.IsDead(376@)
goto_if_false @SYN1_13154
Char.PerformSequence(376@, 340@)
Char.PerformSequence($stattreadstamina_ctr, 340@)
Camera.DoFade(150, Fade.In)

:SYN1_13118
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_13142
wait 0
goto @SYN1_13118

:SYN1_13142
151@ = Clock.GetGameTimer()
35@ = -1

:SYN1_13154
if 
  35@ == -1
goto_if_false @SYN1_13219
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 4500
goto_if_false @SYN1_13219
35@ = 0

:SYN1_13219
if 
  35@ == 0
goto_if_false @SYN1_13518
Camera.DoFade(250, Fade.Out)

:SYN1_13244
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_13268
wait 0
goto @SYN1_13244

:SYN1_13268
if and
  not Car.IsDead(377@)
  not Char.IsDead(376@)
goto_if_false @SYN1_13518
Text.ClearPrints
Char.WarpIntoCar($stattreadstamina_ctr, 377@)
Char.WarpIntoCarAsPassenger(376@, 377@, 0)
Streaming.MarkModelAsNoLongerNeeded(575)
Streaming.UnloadSpecialCharacter(4)
Streaming.UnloadSpecialCharacter(5)
Camera.SetFixedPosition(-2152.255, -2416.049, 30.2724, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2153.174, -2415.701, 30.4581, SwitchType.JumpCut)
Streaming.RequestCarRecording(197)

:SYN1_13378
if 
  not Streaming.HasCarRecordingBeenLoaded(197)
goto_if_false @SYN1_13405
wait 0
goto @SYN1_13378

:SYN1_13405
if 
  not Car.IsDead(377@)
goto_if_false @SYN1_13434
Car.StartPlayback(377@, 197)
151@ = Clock.GetGameTimer()

:SYN1_13434
Camera.DoFade(100, Fade.In)

:SYN1_13440
if 
  Camera.GetFadingStatus
goto_if_false @SYN1_13464
wait 0
goto @SYN1_13440

:SYN1_13464
if 
  not Char.IsDead(376@)
goto_if_false @SYN1_13504
if 
  Char.IsGroupMember(376@, $flag_cell_nation)
goto_if_false @SYN1_13504
Char.RemoveFromGroup(376@)

:SYN1_13504
35@ = 1
36@ = 1

:SYN1_13518
if 
  35@ == 1
goto_if_false @SYN1_13848
if 
  not Car.IsDead(377@)
goto_if_false @SYN1_13848
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  36@ == 1
goto_if_false @SYN1_13636
if 
  149@ > 1000
goto_if_false @SYN1_13636
Camera.PointAtPoint(-2152.869, -2416.838, 30.285, SwitchType.Interpolation)
36@ = 2

:SYN1_13636
if 
  36@ == 2
goto_if_false @SYN1_13731
if 
  149@ > 6000
goto_if_false @SYN1_13731
Camera.SetFixedPosition(-2267.294, -2565.402, 31.7381, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2266.411, -2564.99, 31.9617, SwitchType.JumpCut)
36@ = 3

:SYN1_13731
if 
  not Car.IsPlaybackGoingOn(377@)
goto_if_false @SYN1_13848
if and
  not Car.IsDead(377@)
  not Char.IsDead(376@)
goto_if_false @SYN1_13848
Task.LeaveCar($stattreadstamina_ctr, 377@)
Task.LookAtChar(376@, $stattreadstamina_ctr, -2)
World.ClearArea(63@, 78@, 93@, 50.0, True)
Streaming.RequestCarRecording(198)

:SYN1_13809
if 
  not Streaming.HasCarRecordingBeenLoaded(198)
goto_if_false @SYN1_13836
wait 0
goto @SYN1_13809

:SYN1_13836
151@ = Clock.GetGameTimer()
35@ = 2

:SYN1_13848
if 
  35@ == 2
goto_if_false @SYN1_14034
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 2000
goto_if_false @SYN1_14034
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(376@)
  not Car.IsDead(377@)
goto_if_false @SYN1_14034
if 
  336@ == 0
goto_if_false @SYN1_14034
Task.ShuffleToNextCarSeat(376@, 377@)
334@ = 50
Task.LookAtChar($stattreadstamina_ctr, 376@, -2)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 376@)
Camera.SetFixedPosition(64@, 79@, 94@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(109@, 124@, 139@, SwitchType.JumpCut)
151@ = Clock.GetGameTimer()
35@ = 3

:SYN1_14034
if 
  35@ == 3
goto_if_false @SYN1_14160
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_14160
if and
  not Char.IsDead(376@)
  not Car.IsDead(377@)
goto_if_false @SYN1_14160
if 
  336@ == 0
goto_if_false @SYN1_14160
334@ = 51
Task.LookAtChar(376@, $stattreadstamina_ctr, -2)
35@ = 4
151@ = Clock.GetGameTimer()

:SYN1_14160
if 
  35@ == 4
goto_if_false @SYN1_14229
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1
goto_if_false @SYN1_14229
35@ = 5
151@ = Clock.GetGameTimer()

:SYN1_14229
if 
  35@ == 5
goto_if_false @SYN1_14438
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 1000
goto_if_false @SYN1_14438
if and
  not Char.IsDead(376@)
  not Car.IsDead(377@)
goto_if_false @SYN1_14438
if 
  336@ == 0
goto_if_false @SYN1_14438
334@ = 52
Char.ClearLookAt($stattreadstamina_ctr)
Char.ClearLookAt(376@)
Camera.SetFixedPosition(-2243.208, -2568.731, 32.6032, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2243.945, -2568.056, 32.605, SwitchType.JumpCut)
Car.StartPlayback(377@, 198)
Task.GoStraightToCoord($stattreadstamina_ctr, -2249.509, -2562.956, 30.9255, MoveState.Walk, -2)
35@ = 6
151@ = Clock.GetGameTimer()

:SYN1_14438
if 
  35@ == 6
goto_if_false @SYN1_14577
150@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 149@ = 150@
sub_int_lvar_from_int_lvar 149@ -= 151@
if 
  149@ > 3000
goto_if_false @SYN1_14577
if and
  not Char.IsDead(376@)
  not Car.IsDead(377@)
goto_if_false @SYN1_14577
if 
  not Car.IsPlaybackGoingOn(377@)
goto_if_false @SYN1_14577
Char.ClearTasks($stattreadstamina_ctr)
Car.Delete(377@)
Char.Delete(376@)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
goto @SYN1_14609
35@ = 7

:SYN1_14577
goto @SYN1_5230

:SYN1_14584
Camera.DoFade(500, Fade.In)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:SYN1_14609
Camera.DoFade(500, Fade.In)
$garageZ += 1
Stat.RegisterMissionPassed('SYND_1')
Stat.PlayerMadeProgress(1)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SYN1_14663
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Camera, 24)

:SYN1_14663
Audio.PlayMissionPassedTune(1)
Text.PrintWithNumberBig('M_PASSR', 15, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(15)
Player.ClearWantedLevel($statbike_temp)
Stat.SetInt(StatId.PassedSyndicate1, 1)
return 

:SYN1_14703
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN1_14734
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)

:SYN1_14734
if 
  not Char.IsDead(376@)
goto_if_false @SYN1_14765
Char.SetProofs(376@, False, False, False, False, False)

:SYN1_14765
Text.ClearHelp
Blip.Remove(393@)
Blip.Remove(408@)
Blip.Remove(438@)
Blip.Remove(422@)
Blip.Remove(51@)
Blip.Remove(52@)
Blip.Remove(381@)
Blip.Remove(379@)
Char.Delete(391@)
Char.Delete(406@)
Char.Delete(436@)
Char.Delete(420@)
Car.Delete(392@)
Car.Delete(407@)
Car.Delete(437@)
Car.Delete(421@)
if 
  not Car.IsDead(377@)
goto_if_false @SYN1_14887
if 
  not Char.IsInCar($stattreadstamina_ctr, 377@)
goto_if_false @SYN1_14887
Car.Delete(377@)

:SYN1_14887
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Streaming.UnloadSpecialCharacter(4)
Streaming.UnloadSpecialCharacter(5)
Char.RemoveElegantly(376@)
Streaming.RemoveAnimation("BOMBER")
Streaming.MarkModelAsNoLongerNeeded(600)
Streaming.MarkModelAsNoLongerNeeded(477)
Streaming.MarkModelAsNoLongerNeeded(421)
Streaming.MarkModelAsNoLongerNeeded(575)
Streaming.MarkModelAsNoLongerNeeded(237)
Streaming.MarkModelAsNoLongerNeeded(367)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(510)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(478)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
CarGenerator.Switch($5281, 101)
CarGenerator.Switch($5282, 101)
CarGenerator.Switch($timer_wil, 101)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

:SYN1_15027
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN1_15496
if 
  367@ == 0
goto_if_false @SYN1_15258
if 
  368@ == 1
goto_if_false @SYN1_15137
if 
  42@ == 1
goto_if_false @SYN1_15137
if and
  334@ == 0
  336@ == 0
goto_if_false @SYN1_15137
Text.PrintNow('SYN1_07', 100, 1)

:SYN1_15137
if 
  not Car.IsDead(377@)
goto_if_false @SYN1_15258
if 
  Char.IsInCar($stattreadstamina_ctr, 377@)
goto_if_false @SYN1_15258
Blip.Remove(381@)
366@ = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  368@ == 1
goto_if_false @SYN1_15217
51@ = Blip.AddForCoord(48@, 49@, 50@)

:SYN1_15217
if 
  147@ == 5
goto_if_false @SYN1_15251
Text.Print('SYN1_13', 10000, 1)

:SYN1_15251
367@ = 1

:SYN1_15258
if 
  367@ == 1
goto_if_false @SYN1_15496
if and
  not Car.IsDead(377@)
  not Char.IsDead(376@)
goto_if_false @SYN1_15496
if 
  368@ == 1
goto_if_false @SYN1_15418
if 
  38@ == 0
goto_if_false @SYN1_15411
if 
  Char.IsInCar(376@, 377@)
goto_if_false @SYN1_15409
if 
  $2211 == 1
goto_if_false @SYN1_15395
Skip.SetUpForSpecificVehicle(-2201.912, -2279.036, 29.4688, 230.5228, 377@)

:SYN1_15395
38@ = 1
goto @SYN1_15411

:SYN1_15409
Skip.Clear

:SYN1_15411
goto @SYN1_15427

:SYN1_15418
38@ = 0
Skip.Clear

:SYN1_15427
if 
  not Char.IsInCar($stattreadstamina_ctr, 377@)
goto_if_false @SYN1_15496
if 
  368@ == 1
goto_if_false @SYN1_15489
Blip.Remove(51@)
Blip.Remove(381@)
381@ = Blip.AddForCar(377@)
Blip.SetAsFriendly(381@, True)

:SYN1_15489
367@ = 0

:SYN1_15496
return 

:SYN1_15498
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(376@)
goto_if_false @SYN1_15833
if 
  368@ == 0
goto_if_false @SYN1_15701
if 
  not Char.IsGroupMember(376@, $flag_cell_nation)
goto_if_false @SYN1_15694
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 376@, 8.0, 8.0, 8.0, False)
goto_if_false @SYN1_15687
if 
  367@ == 1
goto_if_false @SYN1_15636
Blip.Remove(51@)
51@ = Blip.AddForCoord(48@, 49@, 50@)
goto @SYN1_15656

:SYN1_15636
Blip.Remove(381@)
381@ = Blip.AddForCar(377@)
Blip.SetAsFriendly(381@, True)

:SYN1_15656
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, 376@)
Blip.Remove(379@)
42@ = 1
368@ = 1

:SYN1_15687
goto @SYN1_15701

:SYN1_15694
368@ = 1

:SYN1_15701
if 
  368@ == 1
goto_if_false @SYN1_15833
if 
  not Char.IsGroupMember(376@, $flag_cell_nation)
goto_if_false @SYN1_15833
if 
  367@ == 1
goto_if_false @SYN1_15768
Blip.Remove(51@)
goto @SYN1_15773

:SYN1_15768
Blip.Remove(381@)

:SYN1_15773
Skip.Clear
Text.ClearPrints
379@ = Blip.AddForChar(376@)
Blip.SetAsFriendly(379@, True)
if 
  42@ == 1
goto_if_false @SYN1_15826
Text.PrintNow('SYN1_02', 10000, 1)

:SYN1_15826
368@ = 0

:SYN1_15833
return 

:SYN1_15835
if or
  334@ == 1
  334@ == 3
  334@ == 4
  334@ == 6
  334@ == 7
  334@ == 9
goto_if_false @SYN1_15895
148@ = 0

:SYN1_15895
if or
  334@ == 2
  334@ == 5
  334@ == 8
  334@ == 10
goto_if_false @SYN1_15942
set_lvar_int_to_var_int 148@ = $stattreadstamina_ctr

:SYN1_15942
if or
  334@ == 11
  334@ == 14
goto_if_false @SYN1_15975
set_lvar_int_to_var_int 148@ = $stattreadstamina_ctr

:SYN1_15975
if or
  334@ == 12
  334@ == 13
goto_if_false @SYN1_16007
148@ = 0

:SYN1_16007
if 
  334@ == 15
goto_if_false @SYN1_16033
set_lvar_int_to_var_int 148@ = $stattreadstamina_ctr

:SYN1_16033
if 
  334@ == 16
goto_if_false @SYN1_16059
set_lvar_int_to_lvar_int 148@ = 376@

:SYN1_16059
if or
  334@ == 17
  334@ == 19
  334@ == 22
  334@ == 23
  334@ == 25
  334@ == 26
goto_if_false @SYN1_16120
set_lvar_int_to_lvar_int 148@ = 376@

:SYN1_16120
if or
  334@ == 18
  334@ == 20
  334@ == 21
  334@ == 24
  334@ == 27
  334@ == 28
goto_if_false @SYN1_16181
set_lvar_int_to_var_int 148@ = $stattreadstamina_ctr

:SYN1_16181
if or
  334@ == 29
  334@ == 30
  334@ == 32
  334@ == 34
goto_if_false @SYN1_16228
set_lvar_int_to_var_int 148@ = $stattreadstamina_ctr

:SYN1_16228
if or
  334@ == 31
  334@ == 33
  334@ == 35
goto_if_false @SYN1_16268
set_lvar_int_to_lvar_int 148@ = 376@

:SYN1_16268
if or
  334@ == 36
  334@ == 37
  334@ == 38
  334@ == 39
  334@ == 40
  334@ == 41
goto_if_false @SYN1_16328
148@ = 0

:SYN1_16328
if or
  334@ == 42
  334@ == 43
  334@ == 44
  334@ == 45
  334@ == 46
goto_if_false @SYN1_16381
148@ = 0

:SYN1_16381
if or
  334@ == 47
  334@ == 48
  334@ == 50
  334@ == 52
goto_if_false @SYN1_16428
set_lvar_int_to_var_int 148@ = $stattreadstamina_ctr

:SYN1_16428
if or
  334@ == 49
  334@ == 51
goto_if_false @SYN1_16461
set_lvar_int_to_lvar_int 148@ = 376@

:SYN1_16461
return 

//-------------Mission 59---------------
// Originally: Jizzy

:SYN2
script_name 'SYN2'
gosub @SYN2_47
if 
  has_deatharrest_been_executed 
goto_if_false @SYN2_38
gosub @SYN2_31218

:SYN2_38
gosub @SYN2_31389
terminate_this_script 

:SYN2_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
34@ = 0
35@ = 0
36@ = 0
37@ = 0

:SYN2_84
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @SYN2_106
36@ = 1

:SYN2_106
38@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 40@ = 38@
sub_int_lvar_from_int_lvar 40@ -= 39@
set_lvar_int_to_lvar_int 39@ = 38@
add_int_lvar_to_int_lvar 73@ += 40@
add_int_lvar_to_int_lvar 80@ += 40@
add_int_lvar_to_int_lvar 81@ += 40@
add_int_lvar_to_int_lvar 54@ += 40@
add_int_lvar_to_int_lvar 87@ += 40@
add_int_lvar_to_int_lvar 89@ += 40@
add_int_lvar_to_int_lvar 55@ += 40@
add_int_lvar_to_int_lvar 279@ += 40@
wait 0
gosub @SYN2_546
switch_start 34@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @SYN2_464 {caseNum1} 0 {caseLabel1} @SYN2_338 {caseNum2} 1 {caseLabel2} @SYN2_352 {caseNum3} 2 {caseLabel3} @SYN2_366 {caseNum4} 3 {caseLabel4} @SYN2_380 {caseNum5} 4 {caseLabel5} @SYN2_394 {caseNum6} 5 {caseLabel6} @SYN2_408 {caseNum7} 6 {caseLabel7} @SYN2_422
switch_continued 7 {caseLabel1} @SYN2_436 {caseNum2} 8 {caseLabel2} @SYN2_450 {caseNum3} -1 {caseLabel3} @SYN2_464 {caseNum4} -1 {caseLabel4} @SYN2_464 {caseNum5} -1 {caseLabel5} @SYN2_464 {caseNum6} -1 {caseLabel6} @SYN2_464 {caseNum7} -1 {caseLabel7} @SYN2_464 {caseNum8} -1 {caseLabel8} @SYN2_464 {caseNum9} -1 {caseLabel9} @SYN2_464

:SYN2_338
gosub @SYN2_1239
goto @SYN2_464

:SYN2_352
gosub @SYN2_2839
goto @SYN2_464

:SYN2_366
gosub @SYN2_3180
goto @SYN2_464

:SYN2_380
gosub @SYN2_5407
goto @SYN2_464

:SYN2_394
gosub @SYN2_8607
goto @SYN2_464

:SYN2_408
gosub @SYN2_13932
goto @SYN2_464

:SYN2_422
gosub @SYN2_17769
goto @SYN2_464

:SYN2_436
gosub @SYN2_22663
goto @SYN2_464

:SYN2_450
gosub @SYN2_27330
goto @SYN2_464

:SYN2_464
gosub @SYN2_28639
if 
  37@ == 0
goto_if_false @SYN2_537
if 
  36@ == 0
goto_if_false @SYN2_521
goto @SYN2_84
goto @SYN2_530

:SYN2_521
gosub @SYN2_31236
return 

:SYN2_530
goto @SYN2_546

:SYN2_537
gosub @SYN2_31218
return 

:SYN2_546
if 
is_ps2_keyboard_key_just_pressed 88
goto_if_false @SYN2_637
if 
  56@ == 0
goto_if_false @SYN2_611
56@ = 1
write_debug "LEVEL_DEBUG_ON"
goto @SYN2_637

:SYN2_611
56@ = 0
write_debug "LEVEL_DEBUG_OFF"

:SYN2_637
if 
  56@ == 1
goto_if_false @SYN2_1237
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @SYN2_704
clear_all_view_variables 
57@ += 1
if 
  57@ > 3
goto_if_false @SYN2_704
57@ = 0

:SYN2_704
if 
  57@ == 1
goto_if_false @SYN2_940
set_var_int_to_lvar_int $7295 = 34@
set_var_int_to_lvar_int $7296 = 35@
set_var_int_to_lvar_int $7297 = 205@
set_var_int_to_lvar_int $7298 = TIMERA
set_var_int_to_lvar_int $syn2_timer = 281@
set_var_int_to_var_int $syn2_time_until_backup = $audio_line_terminate_all
set_var_int_to_lvar_int $girl2_timer = 54@
set_var_int_to_lvar_int $girl_health = 247@
view_integer_variable $7295 {_p2} "M_STAGE"
view_integer_variable $7296 {_p2} "M_GOALS"
view_integer_variable $7297 {_p2} "CONVOY_PROGRESS"
view_integer_variable $7298 {_p2} "TIMERA"
view_integer_variable $syn2_timer {_p2} "ON_CUTSCENE_DUTY"
view_integer_variable $syn2_time_until_backup {_p2} "AUDIO_LINE_IS_ACTIVE"
view_integer_variable $girl2_timer {_p2} "DIALOGUE_TIMER"
view_integer_variable $girl_health {_p2} "DIALOGUE_FLAG"

:SYN2_940
if 
  57@ == 2
goto_if_false @SYN2_1153
set_var_int_to_var_int $7295 = $import_export_is_active
set_var_int_to_lvar_int $7296 = 255@
set_var_int_to_lvar_int $7297 = 254@
set_var_int_to_lvar_int $7298 = 251@
set_var_int_to_var_int $syn2_timer = $off_X
set_var_int_to_lvar_int $syn2_time_until_backup = TIMERB
view_integer_variable $7295 {_p2} "SYN2_MISSION_ATTEMPTS"
view_integer_variable $7296 {_p2} "THIS_CAR_HEALTH"
view_integer_variable $7297 {_p2} "LAST_CAR_HEALTH"
view_integer_variable $7298 {_p2} "PLAYER_HAS_ATTACKED_CONVOY"
view_integer_variable $syn2_timer {_p2} "SYN2_TIME_UNTIL_BACKUP"
view_integer_variable $syn2_time_until_backup {_p2} "TIMERB"

:SYN2_1153
if 
  57@ == 3
goto_if_false @SYN2_1237
set_var_int_to_lvar_int $7295 = 81@
set_var_float_to_lvar_float $7292 = 267@
view_integer_variable $7295 {_p2} "RICH_BACKUP_TIMER"
view_float_variable $7292 {_p2} "LIMO_PLAYBACK_SPEED"

:SYN2_1237
return 

:SYN2_1239
if 
  35@ == -1
goto_if_false @SYN2_1257

:SYN2_1257
if 
  35@ == 0
goto_if_false @SYN2_2711
205@ = 0
91@ = -1863.88
129@ = 727.851
167@ = 44.0619
92@ = -1816.793
130@ = 727.1199
168@ = 36.4934
93@ = -1717.459
131@ = 729.5344
169@ = 24.6517
94@ = -1709.842
132@ = 829.3579
170@ = 24.6505
95@ = -1663.017
133@ = 917.9272
171@ = 24.5226
96@ = -1563.886
134@ = 916.7482
172@ = 6.9176
97@ = -1573.613
135@ = 1016.918
173@ = 6.9562
98@ = -1585.455
136@ = 1116.871
174@ = 6.9488
99@ = -1608.572
137@ = 1214.641
175@ = 6.9488
100@ = -1678.017
138@ = 1287.117
176@ = 6.9487
101@ = -1752.399
139@ = 1354.989
177@ = 6.9473
102@ = -1852.138
140@ = 1364.54
178@ = 6.9488
103@ = -1938.24
141@ = 1312.347
179@ = 6.9538
104@ = -2037.692
142@ = 1298.774
180@ = 7.1712
105@ = -2135.241
143@ = 1279.317
181@ = 22.4081
106@ = -2234.502
144@ = 1276.24
182@ = 39.3992
107@ = -2265.743
145@ = 1182.441
183@ = 55.4933
108@ = -2266.289
146@ = 1085.145
184@ = 79.748
109@ = -2267.604
147@ = 984.6959
185@ = 73.0856
110@ = -2268.995
148@ = 884.5173
186@ = 66.4014
111@ = -2333.293
149@ = 811.5989
187@ = 42.8954
112@ = -2390.365
150@ = 729.2283
188@ = 34.9301
113@ = -2489.359
151@ = 711.0146
189@ = 34.9302
114@ = -2589.507
152@ = 712.4084
190@ = 27.7727
115@ = -2689.858
153@ = 710.8961
191@ = 32.4395
116@ = -2753.054
154@ = 633.015
192@ = 27.6617
117@ = -2744.792
155@ = 534.2344
193@ = 11.9062
118@ = -2707.741
156@ = 441.3501
194@ = 4.0892
119@ = -2751.387
157@ = 351.2291
195@ = 4.0969
120@ = -2707.9
158@ = 261.1717
196@ = 4.0968
121@ = -2711.886
159@ = 161.0435
197@ = 4.0971
122@ = -2809.189
160@ = 137.7394
198@ = 6.9555
123@ = -2811.909
161@ = 36.8614
199@ = 6.9488
124@ = -2811.403
162@ = -63.2554
200@ = 6.9488
125@ = -2811.279
163@ = -164.2748
201@ = 6.9381
126@ = -2811.601
164@ = -264.5668
202@ = 6.9488
127@ = -2820.204
165@ = -364.2359
203@ = 6.9488
128@ = -2818.267
166@ = -465.0786
204@ = 6.9941
206@ = -2428.232
214@ = -164.7728
222@ = 34.3085
207@ = -2433.56
215@ = -164.504
223@ = 34.3446
208@ = -2452.753
216@ = -165.8061
224@ = 34.3047
209@ = -2469.136
217@ = -165.8884
225@ = 24.9573
210@ = -2469.616
218@ = -162.4438
226@ = 24.6236
211@ = -2463.006
219@ = -162.4879
227@ = 24.9077
212@ = -2460.374
220@ = -134.7403
228@ = 24.8394
213@ = -2478.115
221@ = -129.3914
229@ = 24.625
78@ = 0
79@ = 0
80@ = 0
84@ = 0
86@ = 0
90@ = 0
35@ += 1

:SYN2_2711
if 
  35@ == 1
goto_if_false @SYN2_2763
Text.LoadMissionText('SYN2')
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
35@ += 1

:SYN2_2763
if 
  35@ == 2
goto_if_false @SYN2_2805
Game.SetWantedMultiplier(0.5)
CarGenerator.SuppressCarModel(575)
CarGenerator.SuppressCarModel(545)
35@ = 99

:SYN2_2805
if 
  35@ == 99
goto_if_false @SYN2_2837
34@ += 1
35@ = 0

:SYN2_2837
return 

:SYN2_2839
if 
  35@ == 0
goto_if_false @SYN2_2903
if 
  $import_export_is_active <> 0
goto_if_false @SYN2_2896
34@ += 1
35@ = 0
goto @SYN2_2903

:SYN2_2896
35@ += 1

:SYN2_2903
if 
  35@ == 1
goto_if_false @SYN2_3153
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:SYN2_2935
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_2959
wait 0
goto @SYN2_2935

:SYN2_2959
Streaming.SetAreaVisible(1)
Cutscene.Load('SYND_2A')

:SYN2_2974
if 
  not Cutscene.HasLoaded
goto_if_false @SYN2_2998
wait 0
goto @SYN2_2974

:SYN2_2998
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SYN2_3007
if 
  not Cutscene.HasFinished
goto_if_false @SYN2_3031
wait 0
goto @SYN2_3007

:SYN2_3031
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:SYN2_3046
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_3070
wait 0
goto @SYN2_3046

:SYN2_3070
Streaming.SetAreaVisible(0)
Char.SetCoordinates($stattreadstamina_ctr, -2031.254, 161.408, 28.0391)
Char.SetHeading($stattreadstamina_ctr, 270.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(500, Fade.In)

:SYN2_3115
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_3139
wait 0
goto @SYN2_3115

:SYN2_3139
Player.SetControl($statbike_temp, True)
35@ = 99

:SYN2_3153
if 
  35@ == 99
goto_if_false @SYN2_3178
36@ = 1

:SYN2_3178
return 

:SYN2_3180
if 
  35@ == 0
goto_if_false @SYN2_3376
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:SYN2_3212
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_3236
wait 0
goto @SYN2_3212

:SYN2_3236
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
Streaming.SetAreaVisible(3)
Cutscene.Load('SYND_2B')

:SYN2_3262
if 
  not Cutscene.HasLoaded
goto_if_false @SYN2_3286
wait 0
goto @SYN2_3262

:SYN2_3286
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SYN2_3295
if 
  not Cutscene.HasFinished
goto_if_false @SYN2_3319
wait 0
goto @SYN2_3295

:SYN2_3319
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:SYN2_3334
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_3358
wait 0
goto @SYN2_3334

:SYN2_3358
Streaming.SetAreaVisible(0)
Player.SetControl($statbike_temp, False)
35@ += 1

:SYN2_3376
if 
  35@ == 1
goto_if_false @SYN2_3907
Streaming.RequestModel(575)
Streaming.RequestModel(64)
Streaming.LoadSpecialCharacter(1, 'JIZZY')
Streaming.RequestAnimation("GANGS")
Streaming.LoadAllModelsNow

:SYN2_3427
if or
  not Streaming.HasModelLoaded(575)
  not Streaming.HasModelLoaded(64)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @SYN2_3471
wait 0
goto @SYN2_3427

:SYN2_3471
Streaming.RequestModel(330)
Streaming.RequestAnimation("CAR_CHAT")

:SYN2_3488
if or
  not Streaming.HasModelLoaded(330)
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @SYN2_3527
wait 0
goto @SYN2_3488

:SYN2_3527
231@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
232@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
World.ClearArea(-2623.359, 1410.786, 6.1629, 20.0, True)
58@ = Char.Create(PedType.CivMale, 290, -2623.359, 1410.786, 6.1629)
Char.SetHeading(58@, 192.3576)
Char.SetCoordinates($stattreadstamina_ctr, -2622.546, 1410.95, 6.1702)
Char.SetHeading($stattreadstamina_ctr, 199.6292)
Car.CustomPlateForNextCar(575, "HO_2_HO_")
59@ = Car.Create(575, -2625.449, 1401.681, 6.0877)
Car.SetHeading(59@, 188.0679)
Car.SetHealth(59@, 3000)
Car.ChangeColor(59@, 123, 5)
Car.SetHydraulics(59@, False)
67@ = Char.CreateAsPassenger(59@, PedType.Prostitute, 64, 0)
Char.SetGetOutUpsideDownCar(67@, False)
Char.SetCantBeDraggedOut(67@, True)
Char.SetSuffersCriticalHits(67@, False)
Char.SetNeverTargeted(67@, True)
Char.SetDecisionMaker(67@, 231@)
Streaming.MarkModelAsNoLongerNeeded(64)
Car.SetCanBurstTires(59@, False)
61@ = Blip.AddForCar(59@)
Blip.SetAsFriendly(61@, True)
Camera.SetNearClip(0.1)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2622.918, 1410.891, 7.0207, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2622.921, 1409.891, 6.9998, SwitchType.JumpCut)
Streaming.LoadSceneInDirection(-2618.0, 1396.0, 7.0, 211.0)
Camera.DoFade(1000, Fade.In)

:SYN2_3869
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_3893
wait 0
goto @SYN2_3869

:SYN2_3893
35@ += 1
TIMERB = 0

:SYN2_3907
if and
  35@ > 1
  7 > 35@
goto_if_false @SYN2_3956
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN2_3956
35@ = 7

:SYN2_3956
if 
  35@ == 2
goto_if_false @SYN2_4047
if 
  not Char.IsDead(58@)
goto_if_false @SYN2_4015
Task.GoStraightToCoord(58@, -2623.422, 1404.91, 6.1537, MoveState.Walk, 15000)

:SYN2_4015
Task.GoStraightToCoord($stattreadstamina_ctr, -2622.127, 1405.633, 6.1587, MoveState.Walk, 15000)
35@ += 1

:SYN2_4047
if 
  35@ == 3
goto_if_false @SYN2_4124
if 
  not Char.IsDead(58@)
goto_if_false @SYN2_4124
41@ = Char.GetScriptTaskStatus(58@, 1491)
if 
  is_int_lvar_equal_to_constant 41@ == 7
goto_if_false @SYN2_4124
TIMERA = 0
35@ += 1

:SYN2_4124
if 
  35@ == 4
goto_if_false @SYN2_4616
Camera.SetFixedPosition(-2621.697, 1403.493, 7.8087, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2622.574, 1403.047, 7.6296, SwitchType.JumpCut)
if 
  not Char.IsDead(58@)
goto_if_false @SYN2_4239
Char.SetCoordinates(58@, -2624.049, 1402.888, 6.1406)
Char.SetHeading(58@, 248.4552)

:SYN2_4239
Char.SetCoordinates($stattreadstamina_ctr, -2622.974, 1402.177, 6.1322)
Char.SetHeading($stattreadstamina_ctr, 86.0103)
if 
  not Char.IsDead(58@)
goto_if_false @SYN2_4602
53@ = Sequence.Open()
Task.PlayAnim(-1, "PRTIAL_GNGTLKC", "GANGS", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKB", "GANGS", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKA", "GANGS", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKD", "GANGS", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKE", "GANGS", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKG", "GANGS", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, False, False, True, -1)
Sequence.Close(53@)
Char.PerformSequence(58@, 53@)
Sequence.Clear(53@)

:SYN2_4602
TIMERA = 0
35@ += 1

:SYN2_4616
if 
  35@ == 5
goto_if_false @SYN2_4707
if 
  247@ > 6
goto_if_false @SYN2_4707
if 
  not Char.IsDead(58@)
goto_if_false @SYN2_4707
Task.GoStraightToCoord(58@, -2623.359, 1410.786, 6.1629, MoveState.Walk, 15000)
TIMERA = 0
35@ += 1

:SYN2_4707
if 
  35@ == 6
goto_if_false @SYN2_4758
if and
  TIMERA > 1500
  247@ > 6
goto_if_false @SYN2_4758
35@ += 1

:SYN2_4758
if and
  35@ > 1
  7 > 35@
goto_if_false @SYN2_5246
if 
  $audio_line_terminate_all == 0
goto_if_false @SYN2_5246
if 
  54@ > 1000
goto_if_false @SYN2_5246
switch_start 247@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @SYN2_5239 {caseNum1} 0 {caseLabel1} @SYN2_4883 {caseNum2} 1 {caseLabel2} @SYN2_4940 {caseNum3} 2 {caseLabel3} @SYN2_4997 {caseNum4} 3 {caseLabel4} @SYN2_5054 {caseNum5} 4 {caseLabel5} @SYN2_5111 {caseNum6} 5 {caseLabel6} @SYN2_5168 {caseNum7} 6 {caseLabel7} @SYN2_5225

:SYN2_4883
set_var_text_label s$bd_future_time_shown = 'SYN2_BA'
set_var_int_to_constant $bd_x = 39004
start_new_script @AUDIOL 58@ 0 1 1 0 
247@ += 1
goto @SYN2_5239

:SYN2_4940
set_var_text_label s$bd_future_time_shown = 'SYN2_BB'
set_var_int_to_constant $bd_x = 39005
start_new_script @AUDIOL 58@ 0 1 1 0 
247@ += 1
goto @SYN2_5239

:SYN2_4997
set_var_text_label s$bd_future_time_shown = 'SYN2_BC'
set_var_int_to_constant $bd_x = 39006
start_new_script @AUDIOL 58@ 0 1 1 0 
247@ += 1
goto @SYN2_5239

:SYN2_5054
set_var_text_label s$bd_future_time_shown = 'SYN2_BD'
set_var_int_to_constant $bd_x = 39007
start_new_script @AUDIOL 58@ 0 1 1 0 
247@ += 1
goto @SYN2_5239

:SYN2_5111
set_var_text_label s$bd_future_time_shown = 'SYN2_BE'
set_var_int_to_constant $bd_x = 39008
start_new_script @AUDIOL 58@ 0 1 1 0 
247@ += 1
goto @SYN2_5239

:SYN2_5168
set_var_text_label s$bd_future_time_shown = 'SYN2_BF'
set_var_int_to_constant $bd_x = 39009
start_new_script @AUDIOL 58@ 0 1 1 0 
247@ += 1
goto @SYN2_5239

:SYN2_5225
247@ += 1
goto @SYN2_5239

:SYN2_5239
54@ = 0

:SYN2_5246
if 
  35@ == 7
goto_if_false @SYN2_5373
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
if 
  not Char.IsDead(58@)
goto_if_false @SYN2_5303
Char.Delete(58@)

:SYN2_5303
Streaming.RemoveAnimation("GANGS")
Streaming.UnloadSpecialCharacter(1)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -2622.974, 1402.177, 6.1322)
Char.SetHeading($stattreadstamina_ctr, 86.0103)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
35@ = 99

:SYN2_5373
if 
  35@ == 99
goto_if_false @SYN2_5405
35@ = 0
34@ += 1

:SYN2_5405
return 

:SYN2_5407
if 
  35@ == -1
goto_if_false @SYN2_5445
60@ = Blip.AddForCoord(0.0, 0.0, 0.0)

:SYN2_5445
if 
  35@ == 0
goto_if_false @SYN2_5517
65@ = 0
66@ = 0
$off1_X = 540000
Text.PrintNow('SYN2_37', 7000, 1)
TIMERA = 0
35@ += 1

:SYN2_5517
if 
  35@ == 1
goto_if_false @SYN2_5728
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_5684
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_5684
Blip.Remove(61@)
60@ = Blip.AddForCoord(-1929.954, 724.0631, 44.3047)
Text.PrintNow('SYN2_01', 7000, 1)
Streaming.RequestModel(352)

:SYN2_5616
if 
  not Streaming.HasModelLoaded(352)
goto_if_false @SYN2_5643
wait 0
goto @SYN2_5616

:SYN2_5643
Player.EnsureHasDriveByWeapon($statbike_temp, 250)
Streaming.MarkModelAsNoLongerNeeded(352)
281@ = -1
TIMERA = 0
65@ = 0
35@ += 1

:SYN2_5684
if 
  TIMERA > 60000
goto_if_false @SYN2_5728
Text.PrintNow('SYN2_37', 7000, 1)
TIMERA = 0

:SYN2_5728
if 
  35@ > 1
goto_if_false @SYN2_5833
if 
  Blip.DoesExist(61@)
goto_if_false @SYN2_5790
if 
  Blip.DoesExist(60@)
goto_if_false @SYN2_5783
Blip.Remove(60@)

:SYN2_5783
goto @SYN2_5833

:SYN2_5790
if 
  not Blip.DoesExist(60@)
goto_if_false @SYN2_5833
60@ = Blip.AddForCoord(-1929.954, 724.0631, 44.3047)
Blip.ChangeColor(60@, BlipColor.Yellow)

:SYN2_5833
if 
  35@ == 2
goto_if_false @SYN2_7007
if 
  Blip.DoesExist(60@)
goto_if_false @SYN2_6008
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_6008
if 
  Car.Locate3D(59@, -1929.954, 724.0631, 44.3047, 4.0, 4.0, 4.0, True)
goto_if_false @SYN2_6008
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_6008
if 
  Car.IsOnAllWheels(59@)
goto_if_false @SYN2_6008
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)
Player.SetControl($statbike_temp, False)
Blip.Remove(60@)
35@ += 1

:SYN2_6008
if 
  56@ == 1
goto_if_false @SYN2_6063
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @SYN2_6063
Char.SetCoordinates($stattreadstamina_ctr, -1929.954, 724.0631, 44.3047)

:SYN2_6063
if 
  8 > 65@
goto_if_false @SYN2_6824
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @SYN2_6824
if 
  not Char.IsDead(67@)
goto_if_false @SYN2_6824
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_6824
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_6824
if 
  $audio_line_terminate_all == 0
goto_if_false @SYN2_6824
if 
  54@ > 1000
goto_if_false @SYN2_6824
switch_start 65@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @SYN2_6824 {caseNum1} 0 {caseLabel1} @SYN2_6310 {caseNum2} 1 {caseLabel2} @SYN2_6375 {caseNum3} 2 {caseLabel3} @SYN2_6440 {caseNum4} 3 {caseLabel4} @SYN2_6504 {caseNum5} 4 {caseLabel5} @SYN2_6568 {caseNum6} 5 {caseLabel6} @SYN2_6632 {caseNum7} 6 {caseLabel7} @SYN2_6696
switch_continued 7 {caseLabel1} @SYN2_6760 {caseNum2} -1 {caseLabel2} @SYN2_6824 {caseNum3} -1 {caseLabel3} @SYN2_6824 {caseNum4} -1 {caseLabel4} @SYN2_6824 {caseNum5} -1 {caseLabel5} @SYN2_6824 {caseNum6} -1 {caseLabel6} @SYN2_6824 {caseNum7} -1 {caseLabel7} @SYN2_6824 {caseNum8} -1 {caseLabel8} @SYN2_6824 {caseNum9} -1 {caseLabel9} @SYN2_6824

:SYN2_6310
set_var_text_label s$bd_future_time_shown = 'SYN2_LM'
set_var_int_to_constant $bd_x = 39070
start_new_script @AUDIOL 67@ 0 1 1 0 
54@ = -4000
65@ += 1
goto @SYN2_6824

:SYN2_6375
set_var_text_label s$bd_future_time_shown = 'SYN2_LN'
set_var_int_to_constant $bd_x = 39071
start_new_script @AUDIOL 67@ 0 1 1 0 
54@ = -2000
65@ += 1
goto @SYN2_6824

:SYN2_6440
set_var_text_label s$bd_future_time_shown = 'SYN2_LO'
set_var_int_to_constant $bd_x = 39072
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
54@ = 0
65@ += 1
goto @SYN2_6824

:SYN2_6504
set_var_text_label s$bd_future_time_shown = 'SYN2_LP'
set_var_int_to_constant $bd_x = 39073
start_new_script @AUDIOL 67@ 0 1 1 0 
54@ = 0
65@ += 1
goto @SYN2_6824

:SYN2_6568
set_var_text_label s$bd_future_time_shown = 'SYN2_LQ'
set_var_int_to_constant $bd_x = 39074
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
54@ = 0
65@ += 1
goto @SYN2_6824

:SYN2_6632
set_var_text_label s$bd_future_time_shown = 'SYN2_LR'
set_var_int_to_constant $bd_x = 39075
start_new_script @AUDIOL 67@ 0 1 1 0 
54@ = 0
65@ += 1
goto @SYN2_6824

:SYN2_6696
set_var_text_label s$bd_future_time_shown = 'SYN2_LS'
set_var_int_to_constant $bd_x = 39076
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
54@ = 0
65@ += 1
goto @SYN2_6824

:SYN2_6760
set_var_text_label s$bd_future_time_shown = 'SYN2_LT'
set_var_int_to_constant $bd_x = 39077
start_new_script @AUDIOL 67@ 0 1 1 0 
54@ = 0
65@ += 1
goto @SYN2_6824

:SYN2_6824
if 
  281@ == -1
goto_if_false @SYN2_6876
if 
  TIMERA > 7000
goto_if_false @SYN2_6876
281@ = 0
73@ = 30000

:SYN2_6876
if 
  281@ == 0
goto_if_false @SYN2_7007
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_7007
if 
  not Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_6978
if 
  73@ > 30000
goto_if_false @SYN2_6971
Text.PrintNow('SYN_M_1', 5000, 1)
73@ = 0

:SYN2_6971
goto @SYN2_7007

:SYN2_6978
if 
  30000 > 73@
goto_if_false @SYN2_7007
Text.ClearPrints
73@ = 30000

:SYN2_7007
if 
  35@ == 3
goto_if_false @SYN2_7064
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_7064
if 
  Car.IsStopped(59@)
goto_if_false @SYN2_7064
35@ += 1

:SYN2_7064
if 
  35@ == 4
goto_if_false @SYN2_7341
284@ = -1
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearPrints
Camera.SetFixedPosition(-1941.845, 731.7922, 45.4219, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1940.973, 731.3325, 45.5894, SwitchType.JumpCut)
World.ClearArea(-1924.954, 724.0631, 44.3047, 20.0, True)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
if 
  not Char.IsDead(67@)
goto_if_false @SYN2_7277
53@ = Sequence.Open()
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_7235
Task.LeaveCar(-1, 59@)

:SYN2_7235
Task.GoStraightToCoord(-1, -1921.505, 719.3201, 44.4375, MoveState.Walk, 20000)
Sequence.Close(53@)
Char.PerformSequence(67@, 53@)
Sequence.Clear(53@)

:SYN2_7277
TIMERA = 0
TIMERB = 0
set_var_text_label s$bd_future_time_shown = 'SYN2_LU'
set_var_int_to_constant $bd_x = 39078
start_new_script @AUDIOL 67@ 0 1 1 0 
35@ += 1

:SYN2_7341
if 
  35@ == 5
goto_if_false @SYN2_7420
if and
  TIMERA > 1000
  $audio_line_terminate_all == 0
goto_if_false @SYN2_7420
247@ = 0
54@ = 0
TIMERB = 0
TIMERA = 0
35@ += 1

:SYN2_7420
if and
  35@ > 5
  99 > 35@
goto_if_false @SYN2_8102
if 
  $audio_line_terminate_all == 0
goto_if_false @SYN2_8102
if 
  54@ > 1000
goto_if_false @SYN2_8102
switch_start 247@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @SYN2_8095 {caseNum1} 0 {caseLabel1} @SYN2_7610 {caseNum2} 1 {caseLabel2} @SYN2_7680 {caseNum3} 2 {caseLabel3} @SYN2_7749 {caseNum4} 3 {caseLabel4} @SYN2_7818 {caseNum5} 4 {caseLabel5} @SYN2_7887 {caseNum6} 5 {caseLabel6} @SYN2_7956 {caseNum7} 6 {caseLabel7} @SYN2_8025
switch_continued 7 {caseLabel1} @SYN2_8081 {caseNum2} -1 {caseLabel2} @SYN2_8095 {caseNum3} -1 {caseLabel3} @SYN2_8095 {caseNum4} -1 {caseLabel4} @SYN2_8095 {caseNum5} -1 {caseLabel5} @SYN2_8095 {caseNum6} -1 {caseLabel6} @SYN2_8095 {caseNum7} -1 {caseLabel7} @SYN2_8095 {caseNum8} -1 {caseLabel8} @SYN2_8095 {caseNum9} -1 {caseLabel9} @SYN2_8095

:SYN2_7610
set_var_text_label s$bd_future_time_shown = 'SYN2_CA'
set_var_int_to_constant $bd_x = 39010
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39011)
247@ += 1
goto @SYN2_8095

:SYN2_7680
set_var_text_label s$bd_future_time_shown = 'SYN2_CB'
set_var_int_to_constant $bd_x = 39011
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39012)
247@ += 1
goto @SYN2_8095

:SYN2_7749
set_var_text_label s$bd_future_time_shown = 'SYN2_CC'
set_var_int_to_constant $bd_x = 39012
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39013)
247@ += 1
goto @SYN2_8095

:SYN2_7818
set_var_text_label s$bd_future_time_shown = 'SYN2_CD'
set_var_int_to_constant $bd_x = 39013
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39014)
247@ += 1
goto @SYN2_8095

:SYN2_7887
set_var_text_label s$bd_future_time_shown = 'SYN2_CE'
set_var_int_to_constant $bd_x = 39014
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39015)
247@ += 1
goto @SYN2_8095

:SYN2_7956
set_var_text_label s$bd_future_time_shown = 'SYN2_CF'
set_var_int_to_constant $bd_x = 39015
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39016)
247@ += 1
goto @SYN2_8095

:SYN2_8025
set_var_text_label s$bd_future_time_shown = 'SYN2_CG'
set_var_int_to_constant $bd_x = 39016
start_new_script @AUDIOL -1 0 1 1 1 
247@ += 1
goto @SYN2_8095

:SYN2_8081
247@ += 1
goto @SYN2_8095

:SYN2_8095
54@ = 0

:SYN2_8102
if 
  35@ == 6
goto_if_false @SYN2_8205
if 
  TIMERA > 4000
goto_if_false @SYN2_8153
35@ += 1
goto @SYN2_8205

:SYN2_8153
if 
  not Char.IsDead(67@)
goto_if_false @SYN2_8205
41@ = Char.GetScriptTaskStatus(67@, 1560)
if 
  is_int_lvar_equal_to_constant 41@ == 7
goto_if_false @SYN2_8205
35@ += 1

:SYN2_8205
if 
  35@ == 7
goto_if_false @SYN2_8371
Camera.SetFixedPosition(-1919.135, 714.1419, 46.9459, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1919.694, 714.9576, 46.7967, SwitchType.JumpCut)
Camera.SetNearClip(0.01)
if 
  not Char.IsDead(67@)
goto_if_false @SYN2_8357
Char.ClearTasksImmediately(67@)
Char.SetCoordinates(67@, -1920.479, 716.6052, 45.6103)
Char.SetHeading(67@, 190.583)
Task.GoStraightToCoord(67@, -1919.606, 712.0557, 45.6103, MoveState.Walk, 20000)

:SYN2_8357
TIMERA = 0
35@ += 1

:SYN2_8371
if and
  35@ > 4
  TIMERB > 3000
goto_if_false @SYN2_8421
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN2_8421
35@ = 99

:SYN2_8421
if 
  35@ == 8
goto_if_false @SYN2_8486
if 
  TIMERA > 3000
goto_if_false @SYN2_8486
280@ = 0
gosub @SYN2_29160
TIMERA = 0
35@ += 1

:SYN2_8486
if 
  35@ == 9
goto_if_false @SYN2_8537
if and
  TIMERA > 4000
  247@ > 7
goto_if_false @SYN2_8537
35@ = 99

:SYN2_8537
if 
  35@ == 99
goto_if_false @SYN2_8605
gosub @SYN2_31055
Blip.Remove(61@)
Blip.Remove(60@)
Char.Delete(67@)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
34@ += 1
35@ = 0

:SYN2_8605
return 

:SYN2_8607
if 
  35@ == 0
goto_if_false @SYN2_9192
$off1_Y = 120000
60@ = Blip.AddForCoord(-2427.918, -133.4192, 34.3525)
Blip.ChangeColor(60@, BlipColor.Yellow)
Text.PrintNow('SYN2_06', 10000, 1)
Hud.DisplayTimer($off1_Y, TimerDirection.Down)
Streaming.RequestModel(237)
Streaming.RequestModel(249)
Streaming.RequestModel(545)
Streaming.RequestModel(346)

:SYN2_8705
if or
  not Streaming.HasModelLoaded(237)
  not Streaming.HasModelLoaded(249)
  not Streaming.HasModelLoaded(545)
  not Streaming.HasModelLoaded(346)
goto_if_false @SYN2_8747
wait 0
goto @SYN2_8705

:SYN2_8747
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 20600)

:SYN2_8754
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @SYN2_8780
wait 0
goto @SYN2_8754

:SYN2_8780
71@ = Char.Create(PedType.CivMale, 249, -2427.918, -133.4192, 34.3525)
Char.SetHeading(71@, 143.0822)
Char.SetDecisionMaker(71@, 231@)
Char.SetOnlyDamagedByPlayer(71@, True)
Char.SetMaxHealth(71@, 300)
Char.SetHealth(71@, 300)
68@ = Char.Create(PedType.CivFemale, 237, -2428.954, -134.24, 34.3525)
Char.SetHeading(68@, 359.5201)
Char.SetOnlyDamagedByPlayer(68@, True)
Char.SetDecisionMaker(68@, 231@)
Char.SetOnlyDamagedByPlayer(68@, True)
Char.SetNeverTargeted(68@, True)
77@ = Car.Create(545, -2481.059, -126.9303, 24.625)
Car.SetHeading(77@, 102.8779)
Car.SetHealth(77@, 600)
Task.LookAtChar(71@, 68@, -2)
53@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2430.044, -133.1959, 34.3525, MoveState.Walk, 10000)
Task.TurnCharToFaceChar(-1, 68@)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)
Task.GoStraightToCoord(-1, -2429.976, -135.4876, 34.3525, MoveState.Walk, 10000)
Task.GoStraightToCoord(-1, -2428.162, -135.4792, 34.3525, MoveState.Walk, 10000)
Task.GoStraightToCoord(-1, -2427.918, -133.4192, 34.3525, MoveState.Walk, 10000)
Sequence.SetToRepeat(53@, True)
Sequence.Close(53@)
Char.PerformSequence(71@, 53@)
Sequence.Clear(53@)
Path.SwitchPedRoadsOff(-2431.115, -169.4874, 33.0, -2426.513, -117.2969, 36.0)
Task.StayInSamePlace(68@, True)
Task.LookAtChar(68@, 71@, -2)
233@ = 0
35@ += 1

:SYN2_9192
if 
  35@ == 1
goto_if_false @SYN2_10548
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_10132
if 
  $audio_line_terminate_all == 0
goto_if_false @SYN2_10132
if 
  54@ > 1000
goto_if_false @SYN2_10132
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 71@, 15.0, 15.0, 15.0, False)
goto_if_false @SYN2_9719
switch_start 233@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @SYN2_9704 {caseNum1} 0 {caseLabel1} @SYN2_9362 {caseNum2} 1 {caseLabel2} @SYN2_9419 {caseNum3} 2 {caseLabel3} @SYN2_9476 {caseNum4} 3 {caseLabel4} @SYN2_9533 {caseNum5} 4 {caseLabel5} @SYN2_9590 {caseNum6} 5 {caseLabel6} @SYN2_9647 {caseNum7} -1 {caseLabel7} @SYN2_9704

:SYN2_9362
set_var_text_label s$bd_future_time_shown = 'DUMMY'
set_var_int_to_constant $bd_x = 39063
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ += 1
goto @SYN2_9704

:SYN2_9419
set_var_text_label s$bd_future_time_shown = 'DUMMY'
set_var_int_to_constant $bd_x = 39064
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ += 1
goto @SYN2_9704

:SYN2_9476
set_var_text_label s$bd_future_time_shown = 'DUMMY'
set_var_int_to_constant $bd_x = 39065
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ += 1
goto @SYN2_9704

:SYN2_9533
set_var_text_label s$bd_future_time_shown = 'DUMMY'
set_var_int_to_constant $bd_x = 39066
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ += 1
goto @SYN2_9704

:SYN2_9590
set_var_text_label s$bd_future_time_shown = 'DUMMY'
set_var_int_to_constant $bd_x = 39067
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ += 1
goto @SYN2_9704

:SYN2_9647
set_var_text_label s$bd_future_time_shown = 'DUMMY'
set_var_int_to_constant $bd_x = 39068
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ = 0
goto @SYN2_9704

:SYN2_9704
54@ = -4000
goto @SYN2_10132

:SYN2_9719
switch_start 233@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @SYN2_10124 {caseNum1} 0 {caseLabel1} @SYN2_9782 {caseNum2} 1 {caseLabel2} @SYN2_9839 {caseNum3} 2 {caseLabel3} @SYN2_9896 {caseNum4} 3 {caseLabel4} @SYN2_9953 {caseNum5} 4 {caseLabel5} @SYN2_10010 {caseNum6} 5 {caseLabel6} @SYN2_10067 {caseNum7} -1 {caseLabel7} @SYN2_10124

:SYN2_9782
set_var_text_label s$bd_future_time_shown = 'SYN2_LF'
set_var_int_to_constant $bd_x = 39063
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ += 1
goto @SYN2_10124

:SYN2_9839
set_var_text_label s$bd_future_time_shown = 'SYN2_LG'
set_var_int_to_constant $bd_x = 39064
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ += 1
goto @SYN2_10124

:SYN2_9896
set_var_text_label s$bd_future_time_shown = 'SYN2_LH'
set_var_int_to_constant $bd_x = 39065
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ += 1
goto @SYN2_10124

:SYN2_9953
set_var_text_label s$bd_future_time_shown = 'SYN2_LI'
set_var_int_to_constant $bd_x = 39066
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ += 1
goto @SYN2_10124

:SYN2_10010
set_var_text_label s$bd_future_time_shown = 'SYN2_LJ'
set_var_int_to_constant $bd_x = 39067
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ += 1
goto @SYN2_10124

:SYN2_10067
set_var_text_label s$bd_future_time_shown = 'SYN2_LK'
set_var_int_to_constant $bd_x = 39068
start_new_script @AUDIOL 71@ 1 1 1 0 
233@ = 0
goto @SYN2_10124

:SYN2_10124
54@ = -4000

:SYN2_10132
if 
  56@ == 1
goto_if_false @SYN2_10187
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @SYN2_10187
Char.SetCoordinates($stattreadstamina_ctr, -2421.182, -15.8972, 34.1601)

:SYN2_10187
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @SYN2_10281
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_10274
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 71@, 10.0, 10.0, 10.0, False)
goto_if_false @SYN2_10274
35@ += 1
Hud.ClearTimer($off1_Y)
goto @SYN2_10548

:SYN2_10274
goto @SYN2_10352

:SYN2_10281
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_10352
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 71@, 20.0, 20.0, 20.0, False)
goto_if_false @SYN2_10352
35@ += 1
Hud.ClearTimer($off1_Y)
goto @SYN2_10548

:SYN2_10352
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_10406
if 
  Char.HasBeenDamagedByChar(71@, $stattreadstamina_ctr)
goto_if_false @SYN2_10406
35@ += 1
Hud.ClearTimer($off1_Y)
goto @SYN2_10548

:SYN2_10406
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_10460
if 
  Player.IsTargetingChar($statbike_temp, 71@)
goto_if_false @SYN2_10460
35@ += 1
Hud.ClearTimer($off1_Y)
goto @SYN2_10548

:SYN2_10460
if 
  Char.IsDead(71@)
goto_if_false @SYN2_10495
35@ += 1
Hud.ClearTimer($off1_Y)
goto @SYN2_10548

:SYN2_10495
if 
  0 >= $off1_Y
goto_if_false @SYN2_10548
Hud.ClearTimer($off1_Y)
gosub @SYN2_31055
Text.PrintNow('SYN_F_6', 5000, 1)
37@ = 1

:SYN2_10548
if 
  35@ == 2
goto_if_false @SYN2_10719
if 
  not Char.IsDead(68@)
goto_if_false @SYN2_10625
set_var_text_label s$bd_future_time_shown = 'SYN2_LA'
set_var_int_to_constant $bd_x = 39058
start_new_script @AUDIOL 68@ 0 1 1 0 

:SYN2_10625
Blip.Remove(60@)
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_10675
Char.GiveWeapon(71@, WeaponType.Pistol, 9999)
64@ = Blip.AddForChar(71@)
Task.LookAtChar(71@, $stattreadstamina_ctr, 3000)

:SYN2_10675
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_10712
TIMERA = 0
35@ += 1
goto @SYN2_10719

:SYN2_10712
35@ += 1

:SYN2_10719
if 
  35@ == 3
goto_if_false @SYN2_11224
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_11210
if and
  TIMERA > 1000
  $audio_line_terminate_all == 0
goto_if_false @SYN2_11203
if 
  not Char.IsDead(68@)
goto_if_false @SYN2_11203
Char.ClearTasks(71@)
Char.ClearTasks(68@)
Char.ClearLookAt(68@)
230@ = 0
41@ = Math.RandomIntInRange(0, 4)
switch_start 41@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @SYN2_11089 {caseNum1} 0 {caseLabel1} @SYN2_10889 {caseNum2} 1 {caseLabel2} @SYN2_10939 {caseNum3} 2 {caseLabel3} @SYN2_10989 {caseNum4} 3 {caseLabel4} @SYN2_11039 {caseNum5} -1 {caseLabel5} @SYN2_11089 {caseNum6} -1 {caseLabel6} @SYN2_11089 {caseNum7} -1 {caseLabel7} @SYN2_11089

:SYN2_10889
set_var_text_label s$bd_future_time_shown = 'SYN2_LB'
set_var_int_to_constant $bd_x = 39059
start_new_script @AUDIOL 71@ 0 1 1 0 
goto @SYN2_11089

:SYN2_10939
set_var_text_label s$bd_future_time_shown = 'SYN2_LC'
set_var_int_to_constant $bd_x = 39060
start_new_script @AUDIOL 71@ 0 1 1 0 
goto @SYN2_11089

:SYN2_10989
set_var_text_label s$bd_future_time_shown = 'SYN2_LD'
set_var_int_to_constant $bd_x = 39061
start_new_script @AUDIOL 71@ 0 1 1 0 
goto @SYN2_11089

:SYN2_11039
set_var_text_label s$bd_future_time_shown = 'SYN2_LE'
set_var_int_to_constant $bd_x = 39062
start_new_script @AUDIOL 71@ 0 1 1 0 
goto @SYN2_11089

:SYN2_11089
Char.SetAccuracy(71@, 90)
Char.SetShootRate(71@, 100)
53@ = Sequence.Open()
Task.ShootAtChar(-1, $stattreadstamina_ctr, 3000)
Task.GoStraightToCoord(-1, 206@(230@,8f), 214@(230@,8f), 222@(230@,8f), MoveState.Sprint, 9999999)
Sequence.Close(53@)
Char.PerformSequence(71@, 53@)
Sequence.Clear(53@)
234@ = 0
gosub @SYN2_29056
235@ = 0
TIMERA = 0
35@ += 1

:SYN2_11203
goto @SYN2_11224

:SYN2_11210
gosub @SYN2_29056
35@ += 1

:SYN2_11224
if 
  35@ == 4
goto_if_false @SYN2_12065
if 
  235@ == 0
goto_if_false @SYN2_11320
if 
  TIMERA > 1000
goto_if_false @SYN2_11320
if 
  $audio_line_terminate_all == 0
goto_if_false @SYN2_11320
Text.Print('SYN2_38', 7000, 1)
235@ += 1

:SYN2_11320
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_12058
if 
  Char.LocateOnFoot3D(71@, 206@(230@,8f), 214@(230@,8f), 222@(230@,8f), 1.5, 1.5, 2.0, False)
goto_if_false @SYN2_11796
230@ += 1
if 
  8 > 230@
goto_if_false @SYN2_11535
if or
  230@ == 1
  230@ == 5
  230@ == 7
goto_if_false @SYN2_11495
Task.GoToCoordWhileShooting(71@, 206@(230@,8f), 214@(230@,8f), 222@(230@,8f), 7, 0.0, 0.0, $stattreadstamina_ctr)
goto @SYN2_11528

:SYN2_11495
Task.GoStraightToCoord(71@, 206@(230@,8f), 214@(230@,8f), 222@(230@,8f), MoveState.Sprint, 99999)

:SYN2_11528
goto @SYN2_11789

:SYN2_11535
if 
  not Car.IsDead(77@)
goto_if_false @SYN2_11751
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(71@)
if 
  Car.Locate3D(77@, $on_footY, $on_footZ, $in_carX, 10.0, 10.0, 4.0, False)
goto_if_false @SYN2_11706
Char.ClearTasks(71@)
53@ = Sequence.Open()
Task.EnterCarAsDriver(-1, 77@, 20000)
Task.CarDriveToCoord(-1, 77@, -2599.287, -127.2555, 3.1797, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.CarDriveWander(-1, 77@, 15.0, DrivingMode.PloughThrough)
Sequence.Close(53@)
Char.PerformSequence(71@, 53@)
Sequence.Clear(53@)
35@ += 1
goto @SYN2_11744

:SYN2_11706
Task.FleeCharAnyMeans(71@, $stattreadstamina_ctr, 100000.0, 999999, True, 3000, 5000, 50.0)
35@ += 1

:SYN2_11744
goto @SYN2_11789

:SYN2_11751
Task.FleeCharAnyMeans(71@, $stattreadstamina_ctr, 100000.0, 999999, True, 3000, 5000, 50.0)
35@ += 1

:SYN2_11789
goto @SYN2_12051

:SYN2_11796
if 
  230@ == 0
goto_if_false @SYN2_12051
if 
  Char.IsInArea3D($stattreadstamina_ctr, -2430.879, -167.3782, 32.3125, -2426.917, -143.2979, 36.3125, False)
goto_if_false @SYN2_11986
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
47@, 48@, 49@ = Char.GetCoordinates(71@)
if 
  is_float_lvar_greater_than_float_var 48@ > $on_footZ
goto_if_false @SYN2_11979
53@ = Sequence.Open()
Task.ShootAtChar(-1, $stattreadstamina_ctr, 3000)
Task.FleeCharAnyMeans(-1, $stattreadstamina_ctr, 100000.0, 999999, True, 3000, 5000, 50.0)
Sequence.Close(53@)
Char.PerformSequence(71@, 53@)
Sequence.Clear(53@)
35@ += 1

:SYN2_11979
goto @SYN2_12051

:SYN2_11986
if 
  234@ == 0
goto_if_false @SYN2_12051
if 
  Char.HasBeenDamagedByChar($stattreadstamina_ctr, 71@)
goto_if_false @SYN2_12051
Task.GoStraightToCoord(71@, 206@, 214@, 222@, MoveState.Sprint, 99999)
234@ += 1

:SYN2_12051
goto @SYN2_12065

:SYN2_12058
35@ += 1

:SYN2_12065
if 
  35@ == 5
goto_if_false @SYN2_12486
if 
  79@ == 0
goto_if_false @SYN2_12192
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_12192
if 
  not Car.IsDead(77@)
goto_if_false @SYN2_12192
if 
  Char.IsInCar(71@, 77@)
goto_if_false @SYN2_12192
41@ = Char.GetHealth(71@)
if 
  41@ > 100
goto_if_false @SYN2_12185
Char.SetHealth(71@, 100)

:SYN2_12185
79@ = 1

:SYN2_12192
if 
  Char.IsDead(71@)
goto_if_false @SYN2_12229
TIMERA = 0
35@ += 1
goto @SYN2_12430

:SYN2_12229
if 
  not Car.IsDead(77@)
goto_if_false @SYN2_12327
if 
  Char.IsInCar(71@, 77@)
goto_if_false @SYN2_12327
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 71@, 15.0, 15.0, 15.0, False)
goto_if_false @SYN2_12317
Car.SetCruiseSpeed(77@, 25.0)
goto @SYN2_12327

:SYN2_12317
Car.SetCruiseSpeed(77@, 15.0)

:SYN2_12327
if 
  not Char.IsInAnyCar(71@)
goto_if_false @SYN2_12430
41@ = Char.GetScriptTaskStatus(71@, 1560)
if 
  is_int_lvar_equal_to_constant 41@ == 7
goto_if_false @SYN2_12430
41@ = Char.GetScriptTaskStatus(71@, 1873)
if 
  is_int_lvar_equal_to_constant 41@ == 7
goto_if_false @SYN2_12430
Task.FleeCharAnyMeans(71@, $stattreadstamina_ctr, 100000.0, 999999, False, 0, 0, 50.0)

:SYN2_12430
if 
  56@ == 1
goto_if_false @SYN2_12486
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @SYN2_12486
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_12486
Task.Die(71@)

:SYN2_12486
if 
  35@ == 6
goto_if_false @SYN2_12744
Text.ClearPrints
Blip.Remove(64@)
if 
  TIMERA > 1000
goto_if_false @SYN2_12677
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_12670
if 
  not Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_12638
if 
  281@ == 0
goto_if_false @SYN2_12617
Text.PrintNow('SYN_M_1', 7000, 1)
Audio.AttachMissionAudioToCar(MissionAudioSlot.Slot3, 59@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
90@ = 1

:SYN2_12617
TIMERA = 0
35@ += 1
goto @SYN2_12670

:SYN2_12638
Audio.AttachMissionAudioToCar(MissionAudioSlot.Slot3, 59@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
90@ = 1
TIMERA = 0
35@ += 1

:SYN2_12670
goto @SYN2_12744

:SYN2_12677
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_12744
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_12744
TIMERA = 0
Audio.AttachMissionAudioToCar(MissionAudioSlot.Slot3, 59@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
90@ = 1
35@ += 1

:SYN2_12744
if 
  35@ == 7
goto_if_false @SYN2_12795
if 
  TIMERA > 3000
goto_if_false @SYN2_12795
TIMERA = 0
35@ += 1

:SYN2_12795
if 
  35@ == 8
goto_if_false @SYN2_12888
if 
  TIMERA > 500
goto_if_false @SYN2_12888
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_12888
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_12888
Player.SetControl($statbike_temp, False)
TIMERA = 0
35@ += 1

:SYN2_12888
if 
  35@ == 9
goto_if_false @SYN2_12961
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_12961
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_12961
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
90@ = 0
Text.ClearPrints
35@ += 1

:SYN2_12961
if 
  35@ == 10
goto_if_false @SYN2_13071
284@ = -1
280@ = 1
Text.ClearPrints
Camera.DoFade(150, Fade.Out)

:SYN2_13002
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_13026
wait 0
goto @SYN2_13002

:SYN2_13026
gosub @SYN2_29160
Camera.DoFade(150, Fade.In)

:SYN2_13040
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_13064
wait 0
goto @SYN2_13040

:SYN2_13064
35@ += 1

:SYN2_13071
if 
  35@ == 11
goto_if_false @SYN2_13129
if 
  TIMERA > 1000
goto_if_false @SYN2_13129
247@ = 0
TIMERA = 0
35@ += 1

:SYN2_13129
if and
  35@ > 11
  99 > 35@
goto_if_false @SYN2_13812
if 
  $audio_line_terminate_all == 0
goto_if_false @SYN2_13812
if 
  54@ > 1000
goto_if_false @SYN2_13812
switch_start 247@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @SYN2_13805 {caseNum1} 0 {caseLabel1} @SYN2_13319 {caseNum2} 1 {caseLabel2} @SYN2_13389 {caseNum3} 2 {caseLabel3} @SYN2_13459 {caseNum4} 3 {caseLabel4} @SYN2_13528 {caseNum5} 4 {caseLabel5} @SYN2_13597 {caseNum6} 5 {caseLabel6} @SYN2_13666 {caseNum7} 6 {caseLabel7} @SYN2_13735
switch_continued 7 {caseLabel1} @SYN2_13791 {caseNum2} -1 {caseLabel2} @SYN2_13805 {caseNum3} -1 {caseLabel3} @SYN2_13805 {caseNum4} -1 {caseLabel4} @SYN2_13805 {caseNum5} -1 {caseLabel5} @SYN2_13805 {caseNum6} -1 {caseLabel6} @SYN2_13805 {caseNum7} -1 {caseLabel7} @SYN2_13805 {caseNum8} -1 {caseLabel8} @SYN2_13805 {caseNum9} -1 {caseLabel9} @SYN2_13805

:SYN2_13319
set_var_text_label s$bd_future_time_shown = 'SYN2_DA'
set_var_int_to_constant $bd_x = 39017
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39018)
247@ += 1
goto @SYN2_13805

:SYN2_13389
set_var_text_label s$bd_future_time_shown = 'SYN2_DB'
set_var_int_to_constant $bd_x = 39018
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39019)
247@ += 1
goto @SYN2_13805

:SYN2_13459
set_var_text_label s$bd_future_time_shown = 'SYN2_DC'
set_var_int_to_constant $bd_x = 39019
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39020)
247@ += 1
goto @SYN2_13805

:SYN2_13528
set_var_text_label s$bd_future_time_shown = 'SYN2_DD'
set_var_int_to_constant $bd_x = 39020
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39021)
247@ += 1
goto @SYN2_13805

:SYN2_13597
set_var_text_label s$bd_future_time_shown = 'SYN2_DE'
set_var_int_to_constant $bd_x = 39021
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39022)
247@ += 1
goto @SYN2_13805

:SYN2_13666
set_var_text_label s$bd_future_time_shown = 'SYN2_DF'
set_var_int_to_constant $bd_x = 39022
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39023)
247@ += 1
goto @SYN2_13805

:SYN2_13735
set_var_text_label s$bd_future_time_shown = 'SYN2_DG'
set_var_int_to_constant $bd_x = 39023
start_new_script @AUDIOL -1 0 1 1 1 
247@ += 1
goto @SYN2_13805

:SYN2_13791
247@ += 1
goto @SYN2_13805

:SYN2_13805
54@ = 0

:SYN2_13812
if 
  35@ == 12
goto_if_false @SYN2_13861
if or
  247@ > 7
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN2_13861
35@ = 99

:SYN2_13861
if 
  35@ == 99
goto_if_false @SYN2_13930
gosub @SYN2_31055
Car.MarkAsNoLongerNeeded(77@)
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(68@)
Streaming.MarkModelAsNoLongerNeeded(237)
Streaming.MarkModelAsNoLongerNeeded(249)
Streaming.MarkModelAsNoLongerNeeded(545)
35@ = 0
34@ += 1

:SYN2_13930
return 

:SYN2_13932
if 
  35@ == 0
goto_if_false @SYN2_14007
60@ = Blip.AddForCoord(-1911.919, -629.912, 23.6093)
Blip.ChangeColor(60@, BlipColor.Yellow)
Text.PrintNow('SYN2_14', 10000, 1)
88@ = 0
35@ += 1

:SYN2_14007
if 
  35@ == 1
goto_if_false @SYN2_14810
Streaming.RequestModel(483)
Streaming.RequestModel(72)
Streaming.RequestModel(73)
Streaming.RequestModel(245)
Streaming.RequestModel(346)

:SYN2_14048
if or
  not Streaming.HasModelLoaded(483)
  not Streaming.HasModelLoaded(72)
  not Streaming.HasModelLoaded(73)
  not Streaming.HasModelLoaded(245)
  not Streaming.HasModelLoaded(346)
goto_if_false @SYN2_14093
wait 0
goto @SYN2_14048

:SYN2_14093
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 20600)

:SYN2_14100
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @SYN2_14126
wait 0
goto @SYN2_14100

:SYN2_14126
75@ = Char.Create(PedType.CivMale, 72, -1911.919, -629.212, 23.6093)
Char.SetHeading(75@, 180.0)
76@ = Char.Create(PedType.CivMale, 72, -1907.644, -623.0884, 23.6093)
Char.SetHeading(76@, 350.5407)
Char.GiveWeapon(76@, WeaponType.Pistol, 99999)
69@ = Char.Create(PedType.Prostitute, 245, -1911.919, -629.912, 23.6093)
Char.SetHeading(69@, 331.492)
Char.SetOnlyDamagedByPlayer(69@, True)
Char.SetNeverTargeted(69@, True)
Char.SetMaxHealth(69@, 120)
Char.SetHealth(69@, 120)
74@ = Car.Create(483, -1911.952, -624.4892, 23.6093)
Car.SetHeading(74@, 304.9144)
Car.ChangeColor(74@, 104, 61)
Car.ForceLights(74@, CarLights.ForceOn)
Car.OpenDoor(74@, CarDoor.RightFrontDoor)
Car.OpenDoor(74@, CarDoor.RightRearDoor)
Char.SetDecisionMaker(75@, 232@)
Char.SetDecisionMaker(76@, 232@)
Char.SetDecisionMaker(69@, 231@)
Char.SetRelationship(76@, RelationshipType.Hate, PedType.Player1)
Char.SetStayInSamePlace(76@, True)
Char.SetStayInSamePlace(69@, True)
$off_Y = Char.GetHealth(69@)
Hud.DisplayNthCounterWithString($off_Y, CounterDisplay.Bar, 1, 'SYN2_63')
Streaming.RequestAnimation("CRACK")
Streaming.RequestAnimation("MISC")

:SYN2_14422
if or
  not Streaming.HasAnimationLoaded("CRACK")
  not Streaming.HasAnimationLoaded("MISC")
goto_if_false @SYN2_14461
wait 0
goto @SYN2_14422

:SYN2_14461
if 
  not Char.IsDead(69@)
goto_if_false @SYN2_14515
Task.PlayAnimNonInterruptable(69@, "CRCKDETH2", "CRACK", 4.0, True, False, False, False, -1)

:SYN2_14515
if 
  not Char.IsDead(75@)
goto_if_false @SYN2_14803
53@ = Sequence.Open()
Task.PlayAnim(-1, "FIGHTA_G", "PED", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "FIGHTA_G", "PED", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "FIGHTA_G", "PED", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "FIGHTA_G", "PED", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "FIGHTA_G", "PED", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "BITCHSLAP", "MISC", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "BITCHSLAP", "MISC", 4.0, False, False, False, True, -1)
Sequence.SetToRepeat(53@, True)
Sequence.Close(53@)
Char.PerformSequence(75@, 53@)
Sequence.Clear(53@)

:SYN2_14803
35@ += 1

:SYN2_14810
if 
  not Char.IsDead(75@)
goto_if_false @SYN2_14891
41@ = Char.GetScriptTaskStatus(75@, 1560)
if 
  not is_int_lvar_equal_to_constant 41@ == 7
goto_if_false @SYN2_14891
if 
  55@ > 3000
goto_if_false @SYN2_14891
41@ = Char.SetSayContext(75@, 89)
55@ = 0

:SYN2_14891
if 
  35@ == 2
goto_if_false @SYN2_15088
if 
  56@ == 1
goto_if_false @SYN2_14964
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @SYN2_14964
Char.SetCoordinates($stattreadstamina_ctr, -1904.041, -602.5592, 23.6067)

:SYN2_14964
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1911.919, -629.912, 23.6093, 40.0, 40.0, 5.0, False)
goto_if_false @SYN2_15088
Blip.Remove(60@)
Text.PrintNow('SYN2_15', 10000, 1)
if 
  not Char.IsDead(75@)
goto_if_false @SYN2_15057
62@ = Blip.AddForChar(75@)

:SYN2_15057
if 
  not Char.IsDead(76@)
goto_if_false @SYN2_15081
63@ = Blip.AddForChar(76@)

:SYN2_15081
35@ += 1

:SYN2_15088
if 
  35@ == 3
goto_if_false @SYN2_15215
if 
  Char.IsDead(75@)
goto_if_false @SYN2_15143
if 
  Blip.DoesExist(62@)
goto_if_false @SYN2_15143
Blip.Remove(62@)

:SYN2_15143
if 
  Char.IsDead(76@)
goto_if_false @SYN2_15180
if 
  Blip.DoesExist(63@)
goto_if_false @SYN2_15180
Blip.Remove(63@)

:SYN2_15180
if and
  Char.IsDead(75@)
  Char.IsDead(76@)
goto_if_false @SYN2_15215
35@ += 1
TIMERA = 0

:SYN2_15215
if 
  35@ == 4
goto_if_false @SYN2_15768
if 
  TIMERA > 1000
goto_if_false @SYN2_15768
if 
  Char.IsDead(75@)
goto_if_false @SYN2_15474
238@, 239@, 240@ = Char.GetCoordinatesOfDied(75@)
if 
  not Char.IsDead(69@)
goto_if_false @SYN2_15312
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(69@)

:SYN2_15312
set_lvar_float_to_lvar_float 50@ = 238@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 239@
sub_float_var_from_float_lvar 51@ -= $on_footZ
set_lvar_float_to_lvar_float 52@ = 240@
sub_float_var_from_float_lvar 52@ -= $in_carX
44@ = Math.GetDistanceBetweenCoords2D(238@, 239@, $on_footY, $on_footZ)
if 
  44@ > 0.01
goto_if_false @SYN2_15414
div_float_lvar_by_float_lvar 50@ /= 44@
div_float_lvar_by_float_lvar 51@ /= 44@

:SYN2_15414
50@ *= -0.5
51@ *= -0.5
set_lvar_float_to_lvar_float 241@ = 238@
add_float_lvar_to_float_lvar 241@ += 50@
set_lvar_float_to_lvar_float 242@ = 239@
add_float_lvar_to_float_lvar 242@ += 51@
set_lvar_float_to_lvar_float 243@ = 240@

:SYN2_15474
53@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "GETUP", "PED", 6.0, False, False, False, True, 0)
Task.GoStraightToCoord(-1, 241@, 242@, 243@, MoveState.Run, 99999)
Task.TurnCharToFaceCoord(-1, 238@, 239@, 240@)
Task.PlayAnimNonInterruptable(-1, "FIGHTA_G", "PED", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "FIGHTA_G", "PED", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "FIGHTA_G", "PED", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "FIGHTA_G", "PED", 4.0, False, False, False, False, -1)
Sequence.Close(53@)
if 
  not Char.IsDead(69@)
goto_if_false @SYN2_15729
Char.SetBleeding(69@, False)
Char.SetStayInSamePlace(69@, False)
Char.PerformSequence(69@, 53@)
88@ = 1

:SYN2_15729
Sequence.Clear(53@)
Hud.ClearCounter($off_Y)
35@ += 1
247@ = 0
TIMERA = 0
TIMERB = 2000

:SYN2_15768
if 
  35@ > 4
goto_if_false @SYN2_16075
if 
  not Char.IsDead(69@)
goto_if_false @SYN2_16075
if 
  88@ == 1
goto_if_false @SYN2_15892
if 
  TIMERB > 3000
goto_if_false @SYN2_15856
41@ = Char.SetSayContext(69@, 89)
TIMERB = 0

:SYN2_15856
41@ = Char.GetScriptTaskStatus(69@, 1560)
if 
  is_int_lvar_equal_to_constant 41@ == 7
goto_if_false @SYN2_15892
88@ += 1

:SYN2_15892
if 
  88@ == 2
goto_if_false @SYN2_16075
if 
  not Car.IsDead(74@)
goto_if_false @SYN2_16041
if 
  Char.LocateAnyMeansCar3D(69@, 74@, 30.0, 30.0, 10.0, False)
goto_if_false @SYN2_16020
53@ = Sequence.Open()
Task.GotoCar(-1, 74@, 20000, 5.0)
Task.EnterCarAsDriver(-1, 74@, 999999)
Task.CarDriveWander(-1, 74@, 40.0, DrivingMode.AvoidCars)
Sequence.Close(53@)
goto @SYN2_16034

:SYN2_16020
53@ = Sequence.Open()
Task.WanderStandard(-1)
Sequence.Close(53@)

:SYN2_16034
goto @SYN2_16055

:SYN2_16041
53@ = Sequence.Open()
Task.WanderStandard(-1)
Sequence.Close(53@)

:SYN2_16055
Char.PerformSequence(69@, 53@)
Sequence.Clear(53@)
88@ += 1

:SYN2_16075
if 
  35@ == 5
goto_if_false @SYN2_16274
if 
  TIMERA > 1000
goto_if_false @SYN2_16225
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_16218
if 
  not Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_16204
if 
  281@ == 0
goto_if_false @SYN2_16183
Text.PrintNow('SYN_M_1', 999999, 1)

:SYN2_16183
TIMERA = 0
35@ += 1
goto @SYN2_16218

:SYN2_16204
TIMERA = 0
35@ += 1

:SYN2_16218
goto @SYN2_16274

:SYN2_16225
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_16274
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_16274
TIMERA = 0
35@ += 1

:SYN2_16274
if 
  35@ == 6
goto_if_false @SYN2_16419
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_16338
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_16338
Text.ClearThisPrint('SYN_M_1')

:SYN2_16338
if 
  TIMERA > 6000
goto_if_false @SYN2_16419
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_16405
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(59@)
Audio.AttachMissionAudioToCar(MissionAudioSlot.Slot3, 59@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
90@ = 1

:SYN2_16405
TIMERA = 0
35@ += 1

:SYN2_16419
if 
  35@ == 7
goto_if_false @SYN2_16565
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_16483
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_16483
Text.ClearThisPrint('SYN_M_1')

:SYN2_16483
if 
  TIMERA > 500
goto_if_false @SYN2_16565
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_16565
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_16565
Player.SetControl($statbike_temp, False)
284@ = -1
TIMERA = 0
35@ += 1

:SYN2_16565
if 
  35@ == 8
goto_if_false @SYN2_16638
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_16638
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_16638
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
90@ = 0
Text.ClearPrints
35@ += 1

:SYN2_16638
if 
  35@ == 9
goto_if_false @SYN2_16748
284@ = -1
280@ = 2
Text.ClearPrints
Camera.DoFade(150, Fade.Out)

:SYN2_16679
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_16703
wait 0
goto @SYN2_16679

:SYN2_16703
gosub @SYN2_29160
Camera.DoFade(150, Fade.In)

:SYN2_16717
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_16741
wait 0
goto @SYN2_16717

:SYN2_16741
35@ += 1

:SYN2_16748
if 
  35@ == 10
goto_if_false @SYN2_16806
if 
  TIMERA > 1000
goto_if_false @SYN2_16806
247@ = 0
TIMERA = 0
35@ += 1

:SYN2_16806
if and
  35@ > 10
  99 > 35@
goto_if_false @SYN2_17354
if 
  $audio_line_terminate_all == 0
goto_if_false @SYN2_17354
if 
  54@ > 1000
goto_if_false @SYN2_17354
switch_start 247@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @SYN2_17347 {caseNum1} 0 {caseLabel1} @SYN2_16931 {caseNum2} 1 {caseLabel2} @SYN2_17001 {caseNum3} 2 {caseLabel3} @SYN2_17070 {caseNum4} 3 {caseLabel4} @SYN2_17139 {caseNum5} 4 {caseLabel5} @SYN2_17208 {caseNum6} 5 {caseLabel6} @SYN2_17277 {caseNum7} 6 {caseLabel7} @SYN2_17333

:SYN2_16931
set_var_text_label s$bd_future_time_shown = 'SYN2_FA'
set_var_int_to_constant $bd_x = 39027
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39028)
247@ += 1
goto @SYN2_17347

:SYN2_17001
set_var_text_label s$bd_future_time_shown = 'SYN2_FB'
set_var_int_to_constant $bd_x = 39028
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39029)
247@ += 1
goto @SYN2_17347

:SYN2_17070
set_var_text_label s$bd_future_time_shown = 'SYN2_FC'
set_var_int_to_constant $bd_x = 39029
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39030)
247@ += 1
goto @SYN2_17347

:SYN2_17139
set_var_text_label s$bd_future_time_shown = 'SYN2_FD'
set_var_int_to_constant $bd_x = 39030
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39031)
247@ += 1
goto @SYN2_17347

:SYN2_17208
set_var_text_label s$bd_future_time_shown = 'SYN2_FE'
set_var_int_to_constant $bd_x = 39031
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39032)
247@ += 1
goto @SYN2_17347

:SYN2_17277
set_var_text_label s$bd_future_time_shown = 'SYN2_FF'
set_var_int_to_constant $bd_x = 39032
start_new_script @AUDIOL -1 0 1 2 1 
247@ += 1
goto @SYN2_17347

:SYN2_17333
247@ += 1
goto @SYN2_17347

:SYN2_17347
54@ = 0

:SYN2_17354
if 
  35@ == 11
goto_if_false @SYN2_17403
if or
  247@ > 6
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN2_17403
35@ = 99

:SYN2_17403
if 
  35@ == 99
goto_if_false @SYN2_17507
gosub @SYN2_31055
Char.MarkAsNoLongerNeeded(75@)
Char.MarkAsNoLongerNeeded(76@)
Char.MarkAsNoLongerNeeded(69@)
Car.MarkAsNoLongerNeeded(74@)
Streaming.MarkModelAsNoLongerNeeded(483)
Streaming.MarkModelAsNoLongerNeeded(72)
Streaming.MarkModelAsNoLongerNeeded(73)
Streaming.MarkModelAsNoLongerNeeded(245)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.RemoveAnimation("CRACK")
Streaming.RemoveAnimation("MISC")
Blip.Remove(61@)
35@ = 0
34@ += 1

:SYN2_17507
if 
  Char.DoesExist(69@)
goto_if_false @SYN2_17683
if 
  not Char.IsDead(69@)
goto_if_false @SYN2_17683
if 
  not Char.IsDead(75@)
goto_if_false @SYN2_17638
if or
  Char.IsPlayingAnim(75@, "FIGHTA_G")
  Char.IsPlayingAnim(75@, "BITCHSLAP")
goto_if_false @SYN2_17638
$off_Y = Char.GetHealth(69@)
if 
  TIMERB > 1000
goto_if_false @SYN2_17638
$off_Y += -1
TIMERB = 0

:SYN2_17638
if 
  1 >= $off_Y
goto_if_false @SYN2_17675
$off_Y = 1
Task.Die(69@)
goto @SYN2_17683

:SYN2_17675
Char.SetHealth(69@, $off_Y)

:SYN2_17683
if 
  Char.DoesExist(68@)
goto_if_false @SYN2_17767
if 
  not Char.IsDead(68@)
goto_if_false @SYN2_17767
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 69@, 50.0, 50.0, False)
goto_if_false @SYN2_17767
if 
  not Char.IsOnScreen(68@)
goto_if_false @SYN2_17767
Char.Delete(68@)

:SYN2_17767
return 

:SYN2_17769
if 
  35@ == -1
goto_if_false @SYN2_17905
256@ = Car.Create(413, 0.0, 0.0, 0.0)
260@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
246@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
244@ = Car.Create(413, 0.0, 0.0, 0.0)
67@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)

:SYN2_17905
if 
  35@ == 0
goto_if_false @SYN2_18135
if 
  not Car.DoesExist(59@)
goto_if_false @SYN2_18085
if 
  not Streaming.HasModelLoaded(575)
goto_if_false @SYN2_17987
Streaming.RequestModel(575)

:SYN2_17960
if 
  not Streaming.HasModelLoaded(575)
goto_if_false @SYN2_17987
wait 0
goto @SYN2_17960

:SYN2_17987
59@ = Car.Create(575, -1894.308, 712.9404, 44.2969)
Car.SetHeading(59@, 0.0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SYN2_18044
Char.WarpIntoCar($stattreadstamina_ctr, 59@)

:SYN2_18044
231@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Streaming.LoadScene(-1900.754, 645.3122, 35.4401)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.DoFade(0, Fade.In)

:SYN2_18085
60@ = Blip.AddForCoord(-1964.372, 724.4017, 44.2969)
Blip.ChangeColor(60@, BlipColor.Yellow)
Text.PrintNow('SYN2_19', 10000, 1)
35@ += 1

:SYN2_18135
if 
  35@ == 1
goto_if_false @SYN2_18460
if 
  Blip.DoesExist(60@)
goto_if_false @SYN2_18371
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_18364
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_18343
if 
  Car.Locate3D(59@, -1964.372, 724.4017, 44.2969, 4.0, 4.0, 4.0, True)
goto_if_false @SYN2_18336
if 
  Car.IsOnAllWheels(59@)
goto_if_false @SYN2_18336
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:SYN2_18284
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_18308
wait 0
goto @SYN2_18284

:SYN2_18308
Blip.Remove(60@)
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
35@ += 1

:SYN2_18336
goto @SYN2_18364

:SYN2_18343
Blip.Remove(60@)
Text.Print('SYN_M_1', 7000, 1)

:SYN2_18364
goto @SYN2_18460

:SYN2_18371
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_18460
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_18460
60@ = Blip.AddForCoord(-1964.372, 724.4017, 44.2969)
Blip.ChangeColor(60@, BlipColor.Yellow)
Text.ClearThisPrint('SYN_M_1')
Text.Print('SYN2_19', 7000, 1)

:SYN2_18460
if 
  35@ == 2
goto_if_false @SYN2_19056
World.SetCarDensityMultiplier(0.0)
World.ClearArea(-1964.372, 724.4017, 44.2969, 100.0, True)
Streaming.RequestModel(409)
Streaming.RequestModel(579)
Streaming.RequestModel(64)
Streaming.RequestModel(166)
Streaming.RequestModel(68)
Streaming.RequestModel(346)
Streaming.RequestModel(353)
Streaming.RequestCarRecording(539)
Streaming.RequestCarRecording(540)
Streaming.RequestCarRecording(541)

:SYN2_18557
if or
  not Streaming.HasModelLoaded(409)
  not Streaming.HasModelLoaded(64)
  not Streaming.HasModelLoaded(579)
  not Streaming.HasModelLoaded(166)
  not Streaming.HasModelLoaded(68)
goto_if_false @SYN2_18602
wait 0
goto @SYN2_18557

:SYN2_18602
if or
  not Streaming.HasCarRecordingBeenLoaded(539)
  not Streaming.HasCarRecordingBeenLoaded(540)
  not Streaming.HasCarRecordingBeenLoaded(541)
goto_if_false @SYN2_18639
wait 0
goto @SYN2_18602

:SYN2_18639
if or
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(353)
goto_if_false @SYN2_18671
wait 0
goto @SYN2_18639

:SYN2_18671
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_18717
Car.SetCoordinates(59@, -1964.372, 724.4017, 44.2969)
Car.SetHeading(59@, 266.5514)

:SYN2_18717
244@ = Car.Create(409, -1973.811, 728.3975, 44.2969)
Car.SetHeading(244@, 269.8438)
245@ = Char.CreateInsideCar(244@, PedType.CivMale, 166)
Char.SetDecisionMaker(245@, 231@)
Car.SetCruiseSpeed(244@, 15.0)
Car.ChangeColor(244@, 1, 0)
Car.StartPlayback(244@, 540)
Car.SkipInPlayback(244@, 3.0)
Car.SetOnlyDamagedByPlayer(244@, True)
256@ = Car.Create(579, -1987.811, 728.3975, 44.2969)
Car.SetHeading(256@, 269.8438)
260@ = Char.CreateInsideCar(256@, PedType.CivMale, 166)
Char.GiveWeapon(260@, WeaponType.Pistol, 99999)
Char.SetDecisionMaker(260@, 231@)
Car.SetCruiseSpeed(256@, 15.0)
Car.ChangeColor(256@, 0, 0)
Car.StartPlayback(256@, 541)
Car.SkipInPlayback(256@, 3.0)
248@ = Char.CreateAsPassenger(256@, PedType.CivMale, 166, 0)
Char.GiveWeapon(248@, WeaponType.Mp5, 99999)
Char.SetDecisionMaker(248@, 231@)
Hud.SwitchWidescreen(True)
Text.ClearHelp
Text.ClearPrints
Camera.SetFixedPosition(-1968.579, 721.6734, 47.3198, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(244@, -5.0, -2.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)
TIMERA = 0
35@ += 1

:SYN2_19056
if 
  35@ > 2
goto_if_false @SYN2_19130
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN2_19130
if 
  249@ == 0
goto_if_false @SYN2_19123
TIMERB = 0
249@ = 1

:SYN2_19123
35@ = 99

:SYN2_19130
if 
  35@ == 3
goto_if_false @SYN2_19283
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_19206
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(244@, -5.0, -2.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:SYN2_19206
if 
  TIMERA > 4000
goto_if_false @SYN2_19283
Camera.SetFixedPosition(-1929.402, 738.0927, 44.7662, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1929.326, 737.1227, 44.9969, SwitchType.JumpCut)
35@ += 1

:SYN2_19283
if 
  35@ == 4
goto_if_false @SYN2_19380
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_19380
if 
  not Car.IsDead(256@)
goto_if_false @SYN2_19380
if and
  not Car.IsPlaybackGoingOn(244@)
  not Car.IsPlaybackGoingOn(256@)
goto_if_false @SYN2_19380
wait 1500
247@ = 0
TIMERB = 0
35@ += 1

:SYN2_19380
if 
  35@ >= 5
goto_if_false @SYN2_19912
if 
  TIMERB > 2000
goto_if_false @SYN2_19912
if 
  $audio_line_terminate_all == 0
goto_if_false @SYN2_19912
switch_start 247@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @SYN2_19905 {caseNum1} 0 {caseLabel1} @SYN2_19498 {caseNum2} 1 {caseLabel2} @SYN2_19568 {caseNum3} 2 {caseLabel3} @SYN2_19638 {caseNum4} 3 {caseLabel4} @SYN2_19708 {caseNum5} 4 {caseLabel5} @SYN2_19778 {caseNum6} 5 {caseLabel6} @SYN2_19848 {caseNum7} -1 {caseLabel7} @SYN2_19905

:SYN2_19498
set_var_text_label s$bd_future_time_shown = 'SYN2_HA'
set_var_int_to_constant $bd_x = 39039
start_new_script @AUDIOL 246@ 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39040)
247@ += 1
goto @SYN2_19905

:SYN2_19568
set_var_text_label s$bd_future_time_shown = 'SYN2_HB'
set_var_int_to_constant $bd_x = 39040
start_new_script @AUDIOL 246@ 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39041)
247@ += 1
goto @SYN2_19905

:SYN2_19638
set_var_text_label s$bd_future_time_shown = 'SYN2_HC'
set_var_int_to_constant $bd_x = 39041
start_new_script @AUDIOL 246@ 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39042)
247@ += 1
goto @SYN2_19905

:SYN2_19708
set_var_text_label s$bd_future_time_shown = 'SYN2_HD'
set_var_int_to_constant $bd_x = 39042
start_new_script @AUDIOL 246@ 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39043)
247@ += 1
goto @SYN2_19905

:SYN2_19778
set_var_text_label s$bd_future_time_shown = 'SYN2_HE'
set_var_int_to_constant $bd_x = 39043
start_new_script @AUDIOL 246@ 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39044)
247@ += 1
goto @SYN2_19905

:SYN2_19848
set_var_text_label s$bd_future_time_shown = 'SYN2_HF'
set_var_int_to_constant $bd_x = 39044
start_new_script @AUDIOL 245@ 0 1 2 1 
247@ += 1
goto @SYN2_19905

:SYN2_19905
TIMERB = 0

:SYN2_19912
if 
  35@ == 5
goto_if_false @SYN2_20531
World.ClearArea(-1924.487, 724.8195, 45.134, 100.0, True)
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_20028
Car.SetCoordinates(244@, -1924.487, 725.2195, 45.134)
Car.SetHeading(244@, 270.0)
Car.OpenDoor(244@, CarDoor.RightRearDoor)
Car.FreezePosition(244@, True)

:SYN2_20028
if 
  not Car.IsDead(256@)
goto_if_false @SYN2_20081
Car.SetCoordinates(256@, -1932.387, 725.1635, 45.2749)
Car.SetHeading(256@, 270.0)
Car.FreezePosition(256@, True)

:SYN2_20081
if 
  not Char.IsDead(245@)
goto_if_false @SYN2_20132
Char.ClearTasksImmediately(245@)
Char.SetCoordinates(245@, -1924.224, 723.2358, 44.4453)
Char.SetHeading(245@, 159.4748)

:SYN2_20132
67@ = Char.Create(PedType.CivFemale, 64, -1920.884, 718.9793, 44.4453)
Char.SetHeading(67@, 0.0)
Path.FlushRoute
Path.ExtendRoute(-1921.819, 720.555, 44.4453)
Path.ExtendRoute(-1926.29, 722.7397, 44.4453)
53@ = Sequence.Open()
Task.FollowPointRoute(-1, 4, RouteMode.Once)
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_20243
Task.EnterCarAsPassenger(-1, 244@, 20000, 2)

:SYN2_20243
Sequence.Close(53@)
Char.PerformSequence(67@, 53@)
Sequence.Clear(53@)
Char.SetNeverTargeted(67@, True)
Char.SetDecisionMaker(67@, 231@)
246@ = Char.Create(PedType.CivMale, 68, -1923.519, 718.0508, 44.9828)
Char.SetHeading(246@, 0.0)
Char.SetDecisionMaker(246@, 231@)
Path.FlushRoute
Path.ExtendRoute(-1922.707, 719.7217, 45.4453)
Path.ExtendRoute(-1924.669, 720.7556, 45.4453)
Path.ExtendRoute(-1925.027, 720.9464, 45.4453)
Path.ExtendRoute(-1926.188, 721.5566, 45.4453)
Path.ExtendRoute(-1927.006, 722.2399, 45.4453)
53@ = Sequence.Open()
Task.Pause(-1, 500)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
if 
  not Char.IsDead(67@)
goto_if_false @SYN2_20448
Task.TurnCharToFaceChar(-1, 67@)

:SYN2_20448
Sequence.Close(53@)
Char.PerformSequence(246@, 53@)
Sequence.Clear(53@)
TIMERA = 0
Camera.SetFixedPosition(-1918.223, 720.1056, 46.0226, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1919.156, 720.4551, 45.9459, SwitchType.JumpCut)
35@ += 1

:SYN2_20531
if 
  35@ == 6
goto_if_false @SYN2_20817
if 
  TIMERA > 7050
goto_if_false @SYN2_20817
Camera.SetFixedPosition(-1933.54, 728.0091, 46.4366, 0.0, 0.0, 0.0)
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_20817
Camera.PointAtCar(244@, CameraMode.Fixed, SwitchType.JumpCut)
if 
  not Car.IsDead(256@)
goto_if_false @SYN2_20648
Car.FreezePosition(256@, False)

:SYN2_20648
Car.FreezePosition(244@, False)
if 
  not Char.IsDead(67@)
goto_if_false @SYN2_20686
Char.ClearTasksImmediately(67@)
Char.WarpIntoCarAsPassenger(67@, 244@, 1)

:SYN2_20686
Car.OpenDoor(244@, CarDoor.RightRearDoor)
if 
  not Char.IsDead(246@)
goto_if_false @SYN2_20757
Char.ClearTasksImmediately(246@)
Char.SetCoordinates(246@, -1927.08, 723.2823, 44.4453)
Char.SetHeading(246@, 299.9935)
Task.EnterCarAsPassenger(246@, 244@, 20000, 2)

:SYN2_20757
if 
  not Char.IsDead(245@)
goto_if_false @SYN2_20810
Char.ClearTasksImmediately(245@)
Char.ClearLookAt(245@)
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_20810
Task.EnterCarAsDriver(245@, 244@, 5000)

:SYN2_20810
35@ += 1

:SYN2_20817
if 
  35@ == 7
goto_if_false @SYN2_20987
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_20987
if 
  not Char.IsDead(245@)
goto_if_false @SYN2_20987
if 
  Char.IsInCar(245@, 244@)
goto_if_false @SYN2_20987
if 
  not Char.IsDead(246@)
goto_if_false @SYN2_20987
if 
  Char.IsInCar(246@, 244@)
goto_if_false @SYN2_20987
if 
  247@ > 5
goto_if_false @SYN2_20987
Task.CarDriveToCoord(245@, 244@, -1902.027, 726.5126, 45.2216, 20.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
TIMERA = 0
35@ += 1

:SYN2_20987
if 
  35@ == 8
goto_if_false @SYN2_21104
if 
  TIMERA > 500
goto_if_false @SYN2_21104
if 
  not Char.IsDead(260@)
goto_if_false @SYN2_21090
if 
  not Car.IsDead(256@)
goto_if_false @SYN2_21090
Task.CarDriveToCoord(260@, 256@, -1902.027, 726.5126, 45.2216, 18.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:SYN2_21090
TIMERA = 0
35@ += 1

:SYN2_21104
if 
  35@ == 9
goto_if_false @SYN2_21148
if 
  TIMERA > 2000
goto_if_false @SYN2_21148
35@ = 99

:SYN2_21148
if 
is_ps2_keyboard_key_just_pressed 79
goto_if_false @SYN2_21368
if 
  not Char.IsDead(67@)
goto_if_false @SYN2_21368
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(67@, -1.0, 0.0, 0.0)
$on_footX = Char.GetHeading(67@)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("PREACHER POINT = ")
save_float_to_debug_file $on_footY
save_float_to_debug_file $on_footZ
save_float_to_debug_file $in_carX
save_float_to_debug_file $on_footX

:SYN2_21368
if 
  35@ == 888
goto_if_false @SYN2_21860
if 
  TIMERA > 1000
goto_if_false @SYN2_21860
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_21633
if 
  Car.IsStopped(244@)
goto_if_false @SYN2_21633
if 
is_recording_going_on_for_car 244@
goto_if_false @SYN2_21633
stop_recording_car 244@
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(244@)
$on_footX = Car.GetHeading(244@)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("RICH CAR STOPPED AT ")
save_float_to_debug_file $on_footY
save_float_to_debug_file $on_footZ
save_float_to_debug_file $in_carX
save_float_to_debug_file $on_footX

:SYN2_21633
if 
  not Car.IsDead(256@)
goto_if_false @SYN2_21860
if 
  Car.IsStopped(256@)
goto_if_false @SYN2_21860
if 
is_recording_going_on_for_car 256@
goto_if_false @SYN2_21860
stop_recording_car 256@
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(256@)
$on_footX = Car.GetHeading(256@)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("MIB_CAR STOPPED AT ")
save_float_to_debug_file $on_footY
save_float_to_debug_file $on_footZ
save_float_to_debug_file $in_carX
save_float_to_debug_file $on_footX

:SYN2_21860
if 
  35@ == 99
goto_if_false @SYN2_22661
if 
  not Char.DoesExist(246@)
goto_if_false @SYN2_21926
246@ = Char.Create(PedType.CivMale, 68, 0.0, 0.0, 0.0)
Char.SetDecisionMaker(246@, 231@)

:SYN2_21926
if 
  not Char.DoesExist(67@)
goto_if_false @SYN2_21974
67@ = Char.Create(PedType.CivFemale, 64, 0.0, 0.0, 0.0)
Char.SetDecisionMaker(67@, 231@)

:SYN2_21974
Streaming.MarkModelAsNoLongerNeeded(409)
Streaming.MarkModelAsNoLongerNeeded(579)
Streaming.MarkModelAsNoLongerNeeded(64)
Streaming.MarkModelAsNoLongerNeeded(166)
Streaming.MarkModelAsNoLongerNeeded(68)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(353)
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
if 
  not Car.IsDead(256@)
goto_if_false @SYN2_22111
if 
  Car.IsPlaybackGoingOn(256@)
goto_if_false @SYN2_22075
Car.StopPlayback(256@)

:SYN2_22075
Car.FreezePosition(256@, False)
if 
  not Char.IsDead(260@)
goto_if_false @SYN2_22111
Char.ClearTasksImmediately(260@)
Char.WarpIntoCar(260@, 256@)

:SYN2_22111
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_22155
if 
  Car.IsPlaybackGoingOn(244@)
goto_if_false @SYN2_22148
Car.StopPlayback(244@)

:SYN2_22148
Car.FreezePosition(244@, False)

:SYN2_22155
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_22267
if 
  not Char.IsDead(245@)
goto_if_false @SYN2_22200
Char.ClearTasksImmediately(245@)
Char.WarpIntoCar(245@, 244@)

:SYN2_22200
if 
  not Char.IsDead(67@)
goto_if_false @SYN2_22231
Char.ClearTasksImmediately(67@)
Char.WarpIntoCarAsPassenger(67@, 244@, 1)

:SYN2_22231
if 
  not Char.IsDead(246@)
goto_if_false @SYN2_22262
Char.ClearTasksImmediately(246@)
Char.WarpIntoCarAsPassenger(246@, 244@, 2)

:SYN2_22262
Car.CloseAllDoors(244@)

:SYN2_22267
if 
  not Car.IsDead(256@)
goto_if_false @SYN2_22379
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_22379
if 
  not Char.IsDead(260@)
goto_if_false @SYN2_22379
Car.StartPlaybackUsingAi(256@, 539)
Car.SkipInPlayback(256@, 0.0)
Car.SetDrivingStyle(256@, DrivingMode.AvoidCarsObeyLights)
Car.SetProofs(256@, False, False, False, False, False)
Car.LockDoors(256@, CarLock.LockoutPlayerOnly)
Car.SetHeavy(256@, True)
Car.SetTraction(256@, 2.0)

:SYN2_22379
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_22556
World.ClearArea(-1908.786, 726.1257, 45.097, 5.0, True)
Car.SetCoordinates(244@, -1908.786, 726.1257, 45.097)
Car.SetHeading(244@, 273.1095)
Car.FreezePosition(244@, False)
Car.SetForwardSpeed(244@, 10.0)
Car.SetProofs(244@, False, False, False, False, False)
Car.LockDoors(244@, CarLock.LockoutPlayerOnly)
Car.SetHeavy(244@, True)
Car.SetTraction(244@, 2.0)
Car.SetHealth(244@, 1850)
Car.StartPlaybackUsingAi(244@, 539)
Car.SkipInPlayback(244@, 5.0)
Car.SetDrivingStyle(244@, DrivingMode.AvoidCarsObeyLights)
Car.AddUpsidedownCheck(244@)
StuckCarCheck.Add(244@, 2.0, 3000)

:SYN2_22556
Path.SwitchPedRoadsOn(-1950.0, 718.0, 44.0, -1912.0, 731.0, 48.0)
Path.SwitchRoadsOn(-1950.0, 718.0, 44.0, -1912.0, 731.0, 48.0)
Text.ClearPrints
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
34@ += 1
35@ = 0

:SYN2_22661
return 

:SYN2_22663
if 
  35@ == 0
goto_if_false @SYN2_22931
CarGenerator.SuppressCarModel(409)
CarGenerator.SuppressCarModel(579)
253@ = 15.0
if 
  not Char.IsDead(246@)
goto_if_false @SYN2_22732
250@ = Blip.AddForChar(246@)
Char.SetGetOutUpsideDownCar(246@, False)

:SYN2_22732
if 
  not Char.IsDead(67@)
goto_if_false @SYN2_22755
Char.SetGetOutUpsideDownCar(67@, False)

:SYN2_22755
if 
  not Char.IsDead(245@)
goto_if_false @SYN2_22778
Char.SetGetOutUpsideDownCar(245@, False)

:SYN2_22778
if 
  not Char.IsDead(260@)
goto_if_false @SYN2_22802
264@ = Blip.AddForChar(260@)

:SYN2_22802
if 
  not Char.IsDead(248@)
goto_if_false @SYN2_22826
265@ = Blip.AddForChar(248@)

:SYN2_22826
251@ = 0
252@ = 0
$off_X = 30000
251@ = 0
87@ = 0
Text.ClearPrints
Text.PrintNow('SYN2_70', 10000, 1)
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_22903
Car.LockDoors(244@, CarLock.Locked)

:SYN2_22903
World.SetCarDensityMultiplier(0.65)
World.SetPedDensityMultiplier(1.0)
266@ = 0
35@ += 1

:SYN2_22931
if 
  266@ == 0
goto_if_false @SYN2_22995
if 
  Blip.DoesExist(61@)
goto_if_false @SYN2_22988
Text.Print('SYN_M_1', 5000, 1)
266@ = 1

:SYN2_22988
goto @SYN2_23045

:SYN2_22995
if 
  not Blip.DoesExist(61@)
goto_if_false @SYN2_23045
Text.ClearThisPrint('SYN_M_1')
Text.Print('SYN2_70', 5000, 1)
266@ = 0

:SYN2_23045
if 
  35@ == 1
goto_if_false @SYN2_27256
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_24069
if 
  251@ == 0
goto_if_false @SYN2_23193
if 
  Car.IsPlaybackGoingOn(244@)
goto_if_false @SYN2_23130
267@ = 0.3
goto @SYN2_23186

:SYN2_23130
if 
  269@ <> 1
goto_if_false @SYN2_23186
if 
  not Char.IsDead(245@)
goto_if_false @SYN2_23186
Task.CarDriveWander(245@, 244@, 50.0, DrivingMode.AvoidCars)
269@ = 1

:SYN2_23186
goto @SYN2_23607

:SYN2_23193
if 
  Car.IsPlaybackGoingOn(244@)
goto_if_false @SYN2_23551
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(244@, 0.0, 10.0, 0.0)
47@, 48@, 49@ = Char.GetCoordinates($stattreadstamina_ctr)
44@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 47@, 48@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(244@, 0.0, -10.0, 0.0)
47@, 48@, 49@ = Char.GetCoordinates($stattreadstamina_ctr)
45@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 47@, 48@)
if 
  is_float_lvar_greater_than_float_lvar 45@ > 44@
goto_if_false @SYN2_23365
add_timed_val_to_float_lvar 267@ +=@ 0.1
goto @SYN2_23544

:SYN2_23365
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(244@)
47@, 48@, 49@ = Char.GetCoordinates($stattreadstamina_ctr)
44@ = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 47@, 48@, 49@)
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 244@, 20.0, 20.0, False)
goto_if_false @SYN2_23464
add_timed_val_to_float_lvar 267@ +=@ 0.05
goto @SYN2_23505

:SYN2_23464
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 244@, 25.0, 25.0, False)
goto_if_false @SYN2_23505
add_timed_val_to_float_lvar 267@ +=@ -0.01

:SYN2_23505
if 
  0.6 > 267@
goto_if_false @SYN2_23536
267@ = 0.6

:SYN2_23536
set_lvar_float_to_lvar_float 268@ = 44@

:SYN2_23544
goto @SYN2_23607

:SYN2_23551
if 
  269@ <> 1
goto_if_false @SYN2_23607
if 
  not Char.IsDead(245@)
goto_if_false @SYN2_23607
Task.CarDriveWander(245@, 244@, 50.0, DrivingMode.AvoidCars)
269@ = 1

:SYN2_23607
if 
  267@ > 1.5
goto_if_false @SYN2_23638
267@ = 1.5

:SYN2_23638
if 
  Car.IsPlaybackGoingOn(244@)
goto_if_false @SYN2_23662
Car.SetPlaybackSpeed(244@, 267@)

:SYN2_23662
if 
  Car.IsStuckOnRoof(244@)
goto_if_false @SYN2_23748
if 
  not Car.IsOnScreen(244@)
goto_if_false @SYN2_23748
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(244@)
$on_footX = Car.GetHeading(244@)
$in_carX += 1.0
Car.SetCoordinates(244@, $on_footY, $on_footZ, $in_carX)
Car.SetHeading(244@, $on_footX)

:SYN2_23748
if 
  StuckCarCheck.IsCarStuck(244@)
goto_if_false @SYN2_24069
if 
  not Car.IsOnScreen(244@)
goto_if_false @SYN2_24059
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 244@, 20.0, 20.0, 20.0, False)
goto_if_false @SYN2_24023
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(244@)
41@ = 1

:SYN2_23837
if 
  20 > 41@
goto_if_false @SYN2_23984
47@, 48@, 49@ = Path.GetNthClosestCarNode($on_footY, $on_footZ, $in_carX, 41@)
if 
  not Camera.IsPointOnScreen(47@, 48@, 49@, 5.0)
goto_if_false @SYN2_23970
if 
  not World.IsPointObscuredByAMissionEntity(47@, 48@, 49@, 5.0, 5.0, 5.0)
goto_if_false @SYN2_23956
41@ = 25
goto @SYN2_23963

:SYN2_23956
41@ += 1

:SYN2_23963
goto @SYN2_23977

:SYN2_23970
41@ += 1

:SYN2_23977
goto @SYN2_23837

:SYN2_23984
if 
  41@ == 25
goto_if_false @SYN2_24016
Car.SetCoordinates(244@, $on_footY, $on_footZ, $in_carX)

:SYN2_24016
goto @SYN2_24052

:SYN2_24023
if 
  not Char.IsDead(245@)
goto_if_false @SYN2_24052
Task.CarTempAction(245@, 244@, TempAction.Reverse, 1000)

:SYN2_24052
goto @SYN2_24069

:SYN2_24059
Car.SetForwardSpeed(244@, -10.0)

:SYN2_24069
if 
  not Car.IsDead(256@)
goto_if_false @SYN2_24807
if 
  Car.IsPlaybackGoingOn(256@)
goto_if_false @SYN2_24450
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_24438
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(244@, 0.0, -10.0, 0.0)
47@, 48@, 49@ = Car.GetCoordinates(256@)
44@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 47@, 48@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(244@, 0.0, -20.0, 0.0)
47@, 48@, 49@ = Car.GetCoordinates(256@)
45@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 47@, 48@)
if 
  is_float_lvar_greater_than_float_lvar 45@ > 44@
goto_if_false @SYN2_24359
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(244@, 0.0, -15.0, 0.0)
if 
  not Car.Locate3D(256@, $on_footY, $on_footZ, $in_carX, 5.0, 5.0, 5.0, False)
goto_if_false @SYN2_24344
add_timed_val_to_float_lvar 270@ +=@ -0.2
goto @SYN2_24352

:SYN2_24344
set_lvar_float_to_lvar_float 270@ = 267@

:SYN2_24352
goto @SYN2_24409

:SYN2_24359
if 
  272@ <> 2
goto_if_false @SYN2_24391
Car.SetDrivingStyle(256@, DrivingMode.PloughThrough)
272@ = 2

:SYN2_24391
set_lvar_float_to_lvar_float 270@ = 267@
270@ += 3.0

:SYN2_24409
Car.SetPlaybackSpeed(256@, 270@)
274@, 275@, 276@ = Car.GetCoordinates(244@)
goto @SYN2_24443

:SYN2_24438
Car.StopPlayback(256@)

:SYN2_24443
goto @SYN2_24807

:SYN2_24450
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_24548
if 
  272@ <> 99
goto_if_false @SYN2_24527
if 
  not Char.IsDead(260@)
goto_if_false @SYN2_24527
Task.CarMission(260@, 256@, 244@, CarMission.EscortRear, 100.0, DrivingMode.PloughThrough)
272@ = 99

:SYN2_24527
274@, 275@, 276@ = Car.GetCoordinates(244@)
goto @SYN2_24807

:SYN2_24548
if 
  100 > 272@
goto_if_false @SYN2_24624
if 
  not Char.IsDead(260@)
goto_if_false @SYN2_24617
Task.CarDriveToCoord(260@, 256@, 274@, 275@, 276@, 40.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
272@ = 100

:SYN2_24617
goto @SYN2_24807

:SYN2_24624
if 
  Car.Locate3D(256@, 274@, 275@, 276@, 20.0, 20.0, 10.0, False)
goto_if_false @SYN2_24807
if 
  272@ <> 101
goto_if_false @SYN2_24807
if 
  not Char.IsDead(260@)
goto_if_false @SYN2_24742
53@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.KindaStayInSamePlace(-1, True)
Sequence.Close(53@)
Char.PerformSequence(260@, 53@)
Sequence.Clear(53@)

:SYN2_24742
if 
  not Char.IsDead(248@)
goto_if_false @SYN2_24800
53@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.KindaStayInSamePlace(-1, True)
Sequence.Close(53@)
Char.PerformSequence(248@, 53@)
Sequence.Clear(53@)

:SYN2_24800
272@ = 101

:SYN2_24807
if 
  251@ == 0
goto_if_false @SYN2_25116
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_24881
if 
  Car.HasBeenDamagedByChar(244@, $stattreadstamina_ctr)
goto_if_false @SYN2_24881
251@ = 1
277@ = 1
TIMERA = 0

:SYN2_24881
if 
  not Car.IsDead(256@)
goto_if_false @SYN2_24930
if 
  Car.HasBeenDamagedByChar(256@, $stattreadstamina_ctr)
goto_if_false @SYN2_24930
251@ = 1
277@ = 1

:SYN2_24930
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_25029
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 244@, 30.0, 30.0, 30.0, False)
goto_if_false @SYN2_25022
if 
  89@ > 5000
goto_if_false @SYN2_25015
277@ = 1
251@ = 1

:SYN2_25015
goto @SYN2_25029

:SYN2_25022
89@ = 0

:SYN2_25029
if 
  251@ == 1
goto_if_false @SYN2_25116
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_25070
Car.SetDrivingStyle(244@, DrivingMode.AvoidCars)

:SYN2_25070
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_25116
82@ = Car.GetHealth(244@)
set_lvar_int_to_lvar_int 83@ = 82@
83@ -= 100
81@ = 0

:SYN2_25116
if and
  277@ > 0
  7 > 277@
goto_if_false @SYN2_25700
if 
  TIMERB > 1000
goto_if_false @SYN2_25700
if 
  not Char.IsDead(246@)
goto_if_false @SYN2_25700
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 246@, 20.0, 20.0, 20.0, False)
goto_if_false @SYN2_25700
if 
  $audio_line_terminate_all == 0
goto_if_false @SYN2_25700
switch_start 277@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @SYN2_25700 {caseNum1} 1 {caseLabel1} @SYN2_25293 {caseNum2} 2 {caseLabel2} @SYN2_25370 {caseNum3} 3 {caseLabel3} @SYN2_25447 {caseNum4} 4 {caseLabel4} @SYN2_25524 {caseNum5} 5 {caseLabel5} @SYN2_25601 {caseNum6} 6 {caseLabel6} @SYN2_25665 {caseNum7} -1 {caseLabel7} @SYN2_25700

:SYN2_25293
set_var_text_label s$bd_future_time_shown = 'SYN2_JA'
set_var_int_to_constant $bd_x = 39045
start_new_script @AUDIOL 246@ 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39046)
277@ += 1
TIMERB = 0
goto @SYN2_25700

:SYN2_25370
set_var_text_label s$bd_future_time_shown = 'SYN2_JB'
set_var_int_to_constant $bd_x = 39046
start_new_script @AUDIOL 246@ 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39049)
277@ += 1
TIMERB = 0
goto @SYN2_25700

:SYN2_25447
set_var_text_label s$bd_future_time_shown = 'SYN2_JE'
set_var_int_to_constant $bd_x = 39049
start_new_script @AUDIOL 246@ 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39050)
277@ += 1
TIMERB = 0
goto @SYN2_25700

:SYN2_25524
set_var_text_label s$bd_future_time_shown = 'SYN2_JF'
set_var_int_to_constant $bd_x = 39050
start_new_script @AUDIOL 246@ 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39051)
277@ += 1
TIMERB = 0
goto @SYN2_25700

:SYN2_25601
set_var_text_label s$bd_future_time_shown = 'SYN2_JG'
set_var_int_to_constant $bd_x = 39051
start_new_script @AUDIOL 246@ 0 1 1 1 
277@ += 1
TIMERB = 0
goto @SYN2_25700

:SYN2_25665
277@ += 1
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_25693
Car.ClearLastDamageEntity(244@)

:SYN2_25693
goto @SYN2_25700

:SYN2_25700
if and
  277@ == 7
  279@ > 10000
goto_if_false @SYN2_26143
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_26143
if 
  Car.HasBeenDamagedByChar(244@, $stattreadstamina_ctr)
goto_if_false @SYN2_26143
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @SYN2_26138
278@ += 1
if 
  278@ > 4
goto_if_false @SYN2_25806
278@ = 0

:SYN2_25806
switch_start 278@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @SYN2_26119 {caseNum1} 0 {caseLabel1} @SYN2_25869 {caseNum2} 1 {caseLabel2} @SYN2_25919 {caseNum3} 2 {caseLabel3} @SYN2_25969 {caseNum4} 3 {caseLabel4} @SYN2_26019 {caseNum5} 4 {caseLabel5} @SYN2_26069 {caseNum6} -1 {caseLabel6} @SYN2_26119 {caseNum7} -1 {caseLabel7} @SYN2_26119

:SYN2_25869
set_var_text_label s$bd_future_time_shown = 'SYN2_KA'
set_var_int_to_constant $bd_x = 39053
start_new_script @AUDIOL 246@ 0 1 1 0 
goto @SYN2_26119

:SYN2_25919
set_var_text_label s$bd_future_time_shown = 'SYN2_KB'
set_var_int_to_constant $bd_x = 39054
start_new_script @AUDIOL 246@ 0 1 1 0 
goto @SYN2_26119

:SYN2_25969
set_var_text_label s$bd_future_time_shown = 'SYN2_KC'
set_var_int_to_constant $bd_x = 39055
start_new_script @AUDIOL 246@ 0 1 1 0 
goto @SYN2_26119

:SYN2_26019
set_var_text_label s$bd_future_time_shown = 'SYN2_KD'
set_var_int_to_constant $bd_x = 39056
start_new_script @AUDIOL 246@ 0 1 1 0 
goto @SYN2_26119

:SYN2_26069
set_var_text_label s$bd_future_time_shown = 'SYN2_KE'
set_var_int_to_constant $bd_x = 39057
start_new_script @AUDIOL 246@ 0 1 1 0 
goto @SYN2_26119

:SYN2_26119
279@ = 0
Car.ClearLastDamageEntity(244@)
goto @SYN2_26143

:SYN2_26138
Car.ClearLastDamageEntity(244@)

:SYN2_26143
if 
  251@ == 1
goto_if_false @SYN2_26384
if 
  not Char.IsDead(248@)
goto_if_false @SYN2_26384
if 
  not Car.IsDead(256@)
goto_if_false @SYN2_26384
if 
  not Char.IsDead(260@)
goto_if_false @SYN2_26313
if 
  Char.IsInCar(248@, 256@)
goto_if_false @SYN2_26235
goto @SYN2_26306

:SYN2_26235
41@ = Char.GetScriptTaskStatus(248@, 1560)
if 
  is_int_lvar_equal_to_constant 41@ == 7
goto_if_false @SYN2_26306
53@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.KindaStayInSamePlace(-1, True)
Sequence.Close(53@)
Char.PerformSequence(248@, 53@)
Sequence.Clear(53@)

:SYN2_26306
goto @SYN2_26384

:SYN2_26313
41@ = Char.GetScriptTaskStatus(248@, 1560)
if 
  is_int_lvar_equal_to_constant 41@ == 7
goto_if_false @SYN2_26384
53@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.KindaStayInSamePlace(-1, True)
Sequence.Close(53@)
Char.PerformSequence(248@, 53@)
Sequence.Clear(53@)

:SYN2_26384
41@ = 0

:SYN2_26391
if 
  2 > 41@
goto_if_false @SYN2_26923
if 
  Car.DoesExist(256@(41@,4i))
goto_if_false @SYN2_26909
if 
  not Car.IsDead(256@(41@,4i))
goto_if_false @SYN2_26909
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_26909
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(244@)
if 
  not Car.Locate3D(256@(41@,4i), $on_footY, $on_footZ, $in_carX, 80.0, 80.0, 80.0, False)
goto_if_false @SYN2_26909
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if 
  not Car.Locate3D(256@(41@,4i), $on_footY, $on_footZ, $in_carX, 40.0, 40.0, 40.0, False)
goto_if_false @SYN2_26909
if 
  not Car.IsOnScreen(256@(41@,4i))
goto_if_false @SYN2_26909
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(244@, 0.0, -15.0, 0.0)
42@ = 1

:SYN2_26641
if 
  20 > 42@
goto_if_false @SYN2_26788
47@, 48@, 49@ = Path.GetNthClosestCarNode($on_footY, $on_footZ, $in_carX, 42@)
if 
  not Camera.IsPointOnScreen(47@, 48@, 49@, 5.0)
goto_if_false @SYN2_26774
if 
  not World.IsPointObscuredByAMissionEntity(47@, 48@, 49@, 5.0, 5.0, 5.0)
goto_if_false @SYN2_26760
42@ = 25
goto @SYN2_26767

:SYN2_26760
42@ += 1

:SYN2_26767
goto @SYN2_26781

:SYN2_26774
42@ += 1

:SYN2_26781
goto @SYN2_26641

:SYN2_26788
if 
  42@ == 25
goto_if_false @SYN2_26909
Car.SetCoordinates(256@(41@,4i), 47@, 48@, 49@)
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_26854
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(244@)

:SYN2_26854
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 47@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 48@
$on_footX = Math.GetHeadingFromVector2D(50@, 51@)
Car.SetHeading(256@(41@,4i), $on_footX)

:SYN2_26909
41@ += 1
goto @SYN2_26391

:SYN2_26923
if 
  56@ == 1
goto_if_false @SYN2_26982
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @SYN2_26982
if 
  not Car.IsDead(244@)
goto_if_false @SYN2_26982
Car.SetHealth(244@, 499)

:SYN2_26982
41@ = 0
if 
  Char.IsDead(246@)
goto_if_false @SYN2_27033
if 
  Blip.DoesExist(250@)
goto_if_false @SYN2_27026
Blip.Remove(250@)

:SYN2_27026
41@ += 1

:SYN2_27033
if 
  Char.IsDead(260@)
goto_if_false @SYN2_27077
if 
  Blip.DoesExist(264@)
goto_if_false @SYN2_27070
Blip.Remove(264@)

:SYN2_27070
41@ += 1

:SYN2_27077
if 
  Char.IsDead(248@)
goto_if_false @SYN2_27121
if 
  Blip.DoesExist(265@)
goto_if_false @SYN2_27114
Blip.Remove(265@)

:SYN2_27114
41@ += 1

:SYN2_27121
if 
  41@ == 3
goto_if_false @SYN2_27146
35@ = 99

:SYN2_27146
if 
  not Char.IsDead(246@)
goto_if_false @SYN2_27256
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 246@, 150.0, 150.0, False)
goto_if_false @SYN2_27249
if 
  87@ > 20000
goto_if_false @SYN2_27242
gosub @SYN2_31055
Text.PrintNow('SYN2_71', 5000, 1)
37@ = 1

:SYN2_27242
goto @SYN2_27256

:SYN2_27249
87@ = 0

:SYN2_27256
if 
  35@ == 99
goto_if_false @SYN2_27328
34@ += 1
35@ = 0
TIMERA = 0
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 20600)

:SYN2_27302
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @SYN2_27328
wait 0
goto @SYN2_27302

:SYN2_27328
return 

:SYN2_27330
if 
  35@ == 0
goto_if_false @SYN2_27464
if 
  TIMERA > 3000
goto_if_false @SYN2_27464
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_27450
if 
  not Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_27418
Text.Print('SYN_M_1', 7000, 1)

:SYN2_27418
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(59@)
Audio.AttachMissionAudioToCar(MissionAudioSlot.Slot3, 59@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
90@ = 1

:SYN2_27450
TIMERA = 0
35@ += 1

:SYN2_27464
if 
  35@ == 1
goto_if_false @SYN2_27575
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_27575
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_27575
if 
  TIMERA > 2000
goto_if_false @SYN2_27564
Player.SetControl($statbike_temp, False)
284@ = -1
TIMERA = 0
35@ += 1

:SYN2_27564
Text.ClearThisPrint('SYN_M_1')

:SYN2_27575
if 
  35@ == 2
goto_if_false @SYN2_27648
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_27648
if 
  Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_27648
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
90@ = 0
35@ += 1

:SYN2_27648
if 
  35@ == 3
goto_if_false @SYN2_27800
280@ = 0
284@ = -1
Text.ClearPrints
Camera.DoFade(150, Fade.Out)

:SYN2_27689
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_27713
wait 0
goto @SYN2_27689

:SYN2_27713
gosub @SYN2_29160
Camera.DoFade(150, Fade.In)

:SYN2_27727
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_27751
wait 0
goto @SYN2_27727

:SYN2_27751
if 
  not Car.IsDead(256@)
goto_if_false @SYN2_27772
Car.Delete(256@)

:SYN2_27772
if 
  not Car.IsDead(257@)
goto_if_false @SYN2_27793
Car.Delete(257@)

:SYN2_27793
35@ += 1

:SYN2_27800
if 
  35@ == 4
goto_if_false @SYN2_27858
if 
  TIMERA > 1000
goto_if_false @SYN2_27858
247@ = 0
TIMERA = 0
35@ += 1

:SYN2_27858
if and
  35@ > 4
  99 > 35@
goto_if_false @SYN2_28407
if 
  $audio_line_terminate_all == 0
goto_if_false @SYN2_28407
if 
  54@ > 1000
goto_if_false @SYN2_28407
switch_start 247@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @SYN2_28400 {caseNum1} 0 {caseLabel1} @SYN2_27983 {caseNum2} 1 {caseLabel2} @SYN2_28053 {caseNum3} 2 {caseLabel3} @SYN2_28122 {caseNum4} 3 {caseLabel4} @SYN2_28191 {caseNum5} 4 {caseLabel5} @SYN2_28260 {caseNum6} 5 {caseLabel6} @SYN2_28329 {caseNum7} 6 {caseLabel7} @SYN2_28386

:SYN2_27983
set_var_text_label s$bd_future_time_shown = 'SYN2_GA'
set_var_int_to_constant $bd_x = 39033
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39034)
247@ += 1
goto @SYN2_28400

:SYN2_28053
set_var_text_label s$bd_future_time_shown = 'SYN2_GB'
set_var_int_to_constant $bd_x = 39034
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39035)
247@ += 1
goto @SYN2_28400

:SYN2_28122
set_var_text_label s$bd_future_time_shown = 'SYN2_GC'
set_var_int_to_constant $bd_x = 39035
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39036)
247@ += 1
goto @SYN2_28400

:SYN2_28191
set_var_text_label s$bd_future_time_shown = 'SYN2_GD'
set_var_int_to_constant $bd_x = 39036
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39038)
247@ += 1
goto @SYN2_28400

:SYN2_28260
set_var_text_label s$bd_future_time_shown = 'SYN2_GF'
set_var_int_to_constant $bd_x = 39038
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 39037)
247@ += 1
goto @SYN2_28400

:SYN2_28329
set_var_text_label s$bd_future_time_shown = 'SYN2_GE'
set_var_int_to_constant $bd_x = 39037
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
247@ += 1
goto @SYN2_28400

:SYN2_28386
247@ += 1
goto @SYN2_28400

:SYN2_28400
54@ = 0

:SYN2_28407
if 
  35@ == 5
goto_if_false @SYN2_28456
if or
  247@ > 6
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN2_28456
35@ = 99

:SYN2_28456
if 
  35@ == 99
goto_if_false @SYN2_28637
Camera.DoFade(500, Fade.Out)

:SYN2_28481
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_28505
wait 0
goto @SYN2_28481

:SYN2_28505
gosub @SYN2_31055
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_28560
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(59@)
World.ClearArea($on_footY, $on_footZ, $in_carX, 15.0, True)

:SYN2_28560
Camera.DoFade(500, Fade.In)

:SYN2_28567
if 
  Camera.GetFadingStatus
goto_if_false @SYN2_28591
wait 0
goto @SYN2_28567

:SYN2_28591
$audio_line_terminate_all = 0
if 
  not Player.IsWantedLevelGreater($statbike_temp, 1)
goto_if_false @SYN2_28623
Player.AlterWantedLevel($statbike_temp, 2)

:SYN2_28623
36@ = 1
34@ += 1

:SYN2_28637
return 

:SYN2_28639
if 
  90@ == 1
goto_if_false @SYN2_28676
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @SYN2_28676
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:SYN2_28676
if 
  7 > 34@
goto_if_false @SYN2_28756
if 
  Char.DoesExist(67@)
goto_if_false @SYN2_28756
if 
  Char.IsDead(67@)
goto_if_false @SYN2_28756
gosub @SYN2_31055
Text.PrintNow('SYN_F_5', 5000, 1)
37@ = 1

:SYN2_28756
if 
  Char.DoesExist(68@)
goto_if_false @SYN2_28818
if 
  Char.IsDead(68@)
goto_if_false @SYN2_28818
gosub @SYN2_31055
Text.PrintNow('SYN_F_5', 5000, 1)
37@ = 1

:SYN2_28818
if 
  Char.DoesExist(69@)
goto_if_false @SYN2_28880
if 
  Char.IsDead(69@)
goto_if_false @SYN2_28880
gosub @SYN2_31055
Text.PrintNow('SYN_F_5', 5000, 1)
37@ = 1

:SYN2_28880
if 
  Car.DoesExist(59@)
goto_if_false @SYN2_28942
if 
  Car.IsDead(59@)
goto_if_false @SYN2_28942
gosub @SYN2_31055
Text.PrintNow('SYN_F_2', 5000, 1)
37@ = 1

:SYN2_28942
if 
  34@ > 2
goto_if_false @SYN2_29054
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_29054
if 
  not Char.IsInCar($stattreadstamina_ctr, 59@)
goto_if_false @SYN2_29033
if 
  not Blip.DoesExist(61@)
goto_if_false @SYN2_29026
61@ = Blip.AddForCar(59@)
Blip.SetAsFriendly(61@, True)

:SYN2_29026
goto @SYN2_29054

:SYN2_29033
if 
  Blip.DoesExist(61@)
goto_if_false @SYN2_29054
Blip.Remove(61@)

:SYN2_29054
return 

:SYN2_29056
if 
  not Char.IsDead(68@)
goto_if_false @SYN2_29158
Char.ClearTasks(68@)
53@ = Sequence.Open()
Task.Duck(-1, 2000)
if 
  not Char.IsDead(71@)
goto_if_false @SYN2_29122
Task.SmartFleeChar(-1, 71@, 100.0, 60000)

:SYN2_29122
Task.WanderStandard(-1)
Sequence.Close(53@)
Char.PerformSequence(68@, 53@)
Sequence.Clear(53@)
78@ = 0
86@ = 99

:SYN2_29158
return 

:SYN2_29160
281@ = 1
286@ = Char.GetCurrentWeapon($stattreadstamina_ctr)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles)
goto_if_false @SYN2_29246
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles)
285@ = 1
Streaming.RequestModel(331)

:SYN2_29212
if 
  not Streaming.HasModelLoaded(331)
goto_if_false @SYN2_29239
wait 0
goto @SYN2_29212

:SYN2_29239
goto @SYN2_29253

:SYN2_29246
285@ = 0

:SYN2_29253
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
if 
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @SYN2_29329
Streaming.RequestAnimation("CAR_CHAT")

:SYN2_29295
if 
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @SYN2_29329
wait 0
goto @SYN2_29295

:SYN2_29329
if 
  not Streaming.HasModelLoaded(330)
goto_if_false @SYN2_29377
Streaming.RequestModel(330)

:SYN2_29350
if 
  not Streaming.HasModelLoaded(330)
goto_if_false @SYN2_29377
wait 0
goto @SYN2_29350

:SYN2_29377
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_29484
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(59@, -0.49, 0.05, 0.183)
World.ClearArea($on_footY, $on_footZ, $in_carX, 2.0, True)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(59@)
$on_footX = Car.GetHeading(59@)
Car.SetCoordinates(59@, $on_footY, $on_footZ, $in_carX)
Car.SetHeading(59@, $on_footX)

:SYN2_29484
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_29523
Car.FreezePosition(59@, True)
Car.CloseAllDoors(59@)

:SYN2_29523
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if 
  280@ == 0
goto_if_false @SYN2_29629
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_29629
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(59@, 0.01, 0.75, 0.77)
50@, 51@, 52@ = Car.GetOffsetInWorldCoords(59@, -0.36, 0.12, 0.66)

:SYN2_29629
if 
  280@ == 1
goto_if_false @SYN2_29721
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_29721
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(59@, -0.04, 0.68, 0.69)
50@, 51@, 52@ = Car.GetOffsetInWorldCoords(59@, -0.55, -0.29, 0.64)

:SYN2_29721
if 
  280@ == 2
goto_if_false @SYN2_29813
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_29813
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(59@, 0.51, -0.9, 0.84)
50@, 51@, 52@ = Car.GetOffsetInWorldCoords(59@, -0.41, -0.14, 0.64)

:SYN2_29813
85@ = Object.Create(330, $on_footY, $on_footZ, $in_carX)
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_29883
Char.AttachToCar($stattreadstamina_ctr, 59@, -0.49, 0.05, 0.183, 0, 0.0, WeaponType.Unarmed)

:SYN2_29883
if 
  280@ == 0
goto_if_false @SYN2_30257
53@ = Sequence.Open()
Task.PickUpObject(-1, 85@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 10000.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 10000.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 10000.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 10000.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 10000.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 10000.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_OUT", "CAR_CHAT", 4.0, False, False, False, True, -1)
Sequence.Close(53@)

:SYN2_30257
if 
  280@ == 1
goto_if_false @SYN2_30599
53@ = Sequence.Open()
Task.PickUpObject(-1, 85@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 10000.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 10000.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA_TO_B", "CAR_CHAT", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPB", "CAR_CHAT", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPB_TO_A", "CAR_CHAT", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 4.0, True, False, False, True, -1)
Sequence.Close(53@)

:SYN2_30599
if 
  280@ == 2
goto_if_false @SYN2_30983
53@ = Sequence.Open()
Task.PickUpObject(-1, 85@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 10000.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA_TO_B", "CAR_CHAT", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPB", "CAR_CHAT", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPB_TO_A", "CAR_CHAT", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_LOOPA", "CAR_CHAT", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "CARFONE_OUT", "CAR_CHAT", 4.0, False, False, False, True, -1)
Sequence.Close(53@)

:SYN2_30983
Char.PerformSequence($stattreadstamina_ctr, 53@)
Sequence.Clear(53@)
wait 0
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
Camera.PointAtPoint(50@, 51@, 52@, SwitchType.JumpCut)
Camera.SetNearClip(0.01)
TIMERA = 0
return 

:SYN2_31055
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  285@ == 1
goto_if_false @SYN2_31110
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles, 1)
285@ = 0
Streaming.MarkModelAsNoLongerNeeded(331)

:SYN2_31110
Char.SetCurrentWeapon($stattreadstamina_ctr, 286@)
Text.ClearPrints
Player.SetControl($statbike_temp, True)
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_31191
Car.FreezePosition(59@, False)
if 
  281@ == 1
goto_if_false @SYN2_31191
Char.DetachFromCar($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, 59@)
Object.Delete(85@)

:SYN2_31191
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Blip.Remove(264@)
Blip.Remove(265@)
281@ = 0
return 

:SYN2_31218
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:SYN2_31236
if 
  $import_export_is_active == 0
goto_if_false @SYN2_31323
Blip.Remove($530)
Blip.Remove($garage_blip_icon)
Blip.Remove($steal_blip_icon)
$530 = Blip.AddSpriteForContactPoint($563, $564, $565, $zero_blip_icon)
$garageZ += 1
$import_export_is_active = 1
Text.PrintNow('SYN2_60', 10000, 1)
goto @SYN2_31387

:SYN2_31323
$garageZ += 1
Stat.RegisterMissionPassed('SYND_2')
Text.PrintWithNumberBig('M_PASSS', 3000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 3000)
Stat.AwardPlayerMissionRespect(20)
Audio.PlayMissionPassedTune(1)
Stat.SetInt(StatId.PassedSyndicate2, 1)
Stat.PlayerMadeProgress(1)

:SYN2_31387
return 

:SYN2_31389
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SYN2_31416
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)

:SYN2_31416
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
if 
  not Car.IsDead(59@)
goto_if_false @SYN2_31459
Car.SetCanBurstTires(59@, True)

:SYN2_31459
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SYN2_31480
Char.ClearTasks($stattreadstamina_ctr)

:SYN2_31480
Path.SwitchPedRoadsOn(-2431.115, -169.4874, 33.0, -2426.513, -117.2969, 36.0)
Path.SwitchPedRoadsOn(-1950.0, 718.0, 44.0, -1912.0, 731.0, 48.0)
Path.SwitchRoadsOn(-1950.0, 718.0, 44.0, -1912.0, 731.0, 48.0)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(575)
Streaming.MarkModelAsNoLongerNeeded(64)
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveAnimation("GANGS")
Streaming.MarkModelAsNoLongerNeeded(237)
Streaming.MarkModelAsNoLongerNeeded(249)
Streaming.MarkModelAsNoLongerNeeded(545)
Streaming.MarkModelAsNoLongerNeeded(483)
Streaming.MarkModelAsNoLongerNeeded(72)
Streaming.MarkModelAsNoLongerNeeded(73)
Streaming.MarkModelAsNoLongerNeeded(245)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.RemoveAnimation("CRACK")
Streaming.RemoveAnimation("FIGHT_D")
Streaming.RemoveAnimation("MISC")
Streaming.MarkModelAsNoLongerNeeded(409)
Streaming.MarkModelAsNoLongerNeeded(579)
Streaming.MarkModelAsNoLongerNeeded(64)
Streaming.MarkModelAsNoLongerNeeded(166)
Streaming.MarkModelAsNoLongerNeeded(68)
Streaming.MarkModelAsNoLongerNeeded(409)
Streaming.MarkModelAsNoLongerNeeded(579)
Streaming.MarkModelAsNoLongerNeeded(64)
Streaming.MarkModelAsNoLongerNeeded(166)
Streaming.MarkModelAsNoLongerNeeded(68)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.RemoveAnimation("CAR_CHAT")
Blip.Remove(60@)
Blip.Remove(61@)
Blip.Remove(62@)
Blip.Remove(63@)
Blip.Remove(64@)
Blip.Remove(250@)
DecisionMaker.Remove(232@)
DecisionMaker.Remove(231@)
Hud.ClearCounter($off_Y)
Hud.ClearTimer($off_X)
Hud.ClearTimer($off1_Y)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
CarGenerator.DontSuppressCarModel(575)
CarGenerator.DontSuppressCarModel(545)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 60---------------
// Originally: Outrider

:SYN3
script_name 'SYN3'
gosub @SYN3_47
if 
  has_deatharrest_been_executed 
goto_if_false @SYN3_38
gosub @SYN3_19140

:SYN3_38
gosub @SYN3_19234
terminate_this_script 

:SYN3_47
Stat.RegisterMissionGiven
Text.LoadMissionText('SYN3')
$weapon_shop1_blip = 1
wait 0
38@ = -1832.33
39@ = -14.59
40@ = 15.39
41@ = 270.0
42@ = -1815.04
43@ = 2.59
44@ = 14.99
45@ = -2127.42
46@ = -100.65
47@ = 34.37
56@ = 9.5
103@ = 0
134@ = 0
135@ = 0
136@ = 0
137@ = 0
138@ = 0
139@ = 0
57@ = 1
142@ = 0
143@ = 0
144@ = 0
145@ = 0
97@ = 0

:SYN3_272
if 
  3 > 97@
goto_if_false @SYN3_337
146@(97@,3i) = 0
149@(97@,3i) = 0
180@(97@,3i) = 0
97@ += 1
goto @SYN3_272

:SYN3_337
97@ = 0

:SYN3_344
if 
  6 > 97@
goto_if_false @SYN3_398
155@(97@,6i) = 0
183@(97@,6i) = 0
97@ += 1
goto @SYN3_344

:SYN3_398
97@ = 0

:SYN3_405
if 
  3 > 97@
goto_if_false @SYN3_448
152@(97@,3i) = 0
97@ += 1
goto @SYN3_405

:SYN3_448
97@ = 0

:SYN3_455
if 
  6 > 97@
goto_if_false @SYN3_509
164@(97@,6i) = 0
189@(97@,6i) = 0
97@ += 1
goto @SYN3_455

:SYN3_509
97@ = 0

:SYN3_516
if 
  3 > 97@
goto_if_false @SYN3_559
161@(97@,3i) = 0
97@ += 1
goto @SYN3_516

:SYN3_559
97@ = 0

:SYN3_566
if 
  3 > 97@
goto_if_false @SYN3_631
170@(97@,3i) = 0
173@(97@,3i) = 0
195@(97@,3i) = 0
97@ += 1
goto @SYN3_566

:SYN3_631
176@ = 0
177@ = 0
178@ = 0
179@ = 0
198@ = -1
97@ = 0

:SYN3_673
if 
  4 > 97@
goto_if_false @SYN3_716
199@(97@,4i) = 0
97@ += 1
goto @SYN3_673

:SYN3_716
205@ = 0
97@ = 0

:SYN3_730
if 
  4 > 97@
goto_if_false @SYN3_773
206@(97@,4i) = 0
97@ += 1
goto @SYN3_730

:SYN3_773
210@ = 0
128@ = 0
129@ = 0
131@ = 0
211@ = 0
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:SYN3_823
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_847
wait 0
goto @SYN3_823

:SYN3_847
Text.ClearThisPrintBigNow(TextStyle.Middle)
if 
  211@ == 1
goto_if_false @SYN3_944
35@ = Car.Create(468, 0.0, 0.0, -100.0)
214@ = Blip.AddForCar(35@)
36@ = Car.Create(440, 0.0, 0.0, -100.0)
37@ = Char.CreateInsideCar(36@, PedType.Mission1, 173)
215@ = Blip.AddForCar(36@)

:SYN3_944
Streaming.RequestModel(421)
Streaming.RequestModel(359)
Streaming.RequestModel(358)
Streaming.RequestModel(468)
Streaming.RequestModel(330)
Streaming.RequestModel(#BODYARMOUR)

:SYN3_973
if or
  not Streaming.HasModelLoaded(421)
  not Streaming.HasModelLoaded(359)
  not Streaming.HasModelLoaded(358)
  not Streaming.HasModelLoaded(468)
  not Streaming.HasModelLoaded(330)
  not Streaming.HasModelLoaded(#BODYARMOUR)
goto_if_false @SYN3_1024
wait 0
goto @SYN3_973

:SYN3_1024
248@ = Game.GetMaxWantedLevel()
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
World.ClearArea(-2030.4, 148.83, 27.84, 100.0, False)
Streaming.LoadScene(-2030.4, 148.83, 27.84)
Char.SetCoordinates($stattreadstamina_ctr, -2030.4, 148.83, 27.84)
Char.SetHeading($stattreadstamina_ctr, 270.0)
Camera.SetFixedPosition(-2027.45, 150.01, 29.01, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2028.92, 149.37, 29.03, SwitchType.JumpCut)
132@ = 0
gosub @SYN3_17788
Task.UseMobilePhone($stattreadstamina_ctr, True)
Camera.DoFade(1000, Fade.In)

:SYN3_1190
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_1214
wait 0
goto @SYN3_1190

:SYN3_1214
wait 1500

:SYN3_1219
if 
  2 > 129@
goto_if_false @SYN3_1346
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SYN3_1318
gosub @SYN3_18315
if and
  128@ == 2
  129@ == 1
  131@ <> 1
goto_if_false @SYN3_1311
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
131@ = 1

:SYN3_1311
goto @SYN3_1339

:SYN3_1318
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
131@ = 0
set_lvar_int_to_lvar_int 129@ = 130@

:SYN3_1339
goto @SYN3_1219

:SYN3_1346
Char.StopFacialTalk($stattreadstamina_ctr)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)

:SYN3_1373
if 
  is_int_lvar_greater_than_int_lvar 130@ > 129@
goto_if_false @SYN3_1538
wait 0
if and
  Player.IsPlaying($statbike_temp)
  not Char.IsInWater($stattreadstamina_ctr)
  not Char.IsInAir($stattreadstamina_ctr)
  not Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @SYN3_1489
gosub @SYN3_18315
if and
  128@ == 2
  129@ == 7
  131@ <> 1
goto_if_false @SYN3_1482
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
131@ = 1

:SYN3_1482
goto @SYN3_1531

:SYN3_1489
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
131@ = 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SYN3_1523
Char.StopFacialTalk($stattreadstamina_ctr)

:SYN3_1523
set_lvar_int_to_lvar_int 129@ = 130@

:SYN3_1531
goto @SYN3_1373

:SYN3_1538
Char.StopFacialTalk($stattreadstamina_ctr)
95@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1833)
if 
  not is_int_lvar_equal_to_constant 95@ == 7
goto_if_false @SYN3_1579
Task.UseMobilePhone($stattreadstamina_ctr, False)

:SYN3_1579
Streaming.MarkModelAsNoLongerNeeded(330)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
wait 2500
Car.CustomPlateForNextCar(421, "_OMEGA__")
34@ = Car.Create(421, -1665.27, 412.923, 6.192)
Car.SetHeading(34@, 134.44)
Car.ChangeColor(34@, 84, 84)
212@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(212@, True)
Car.FreezePosition(34@, True)
Text.PrintNow('SYN3_18', 10000, 0)

:SYN3_1691
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SYN3_1717
goto @SYN3_19158

:SYN3_1717
if and
  134@ <> 1
  not Car.IsDead(34@)
goto_if_false @SYN3_2669
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 34@, 10.0, 10.0, 10.0, False)
goto_if_false @SYN3_2669
Blip.Remove(212@)
134@ = 1
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:SYN3_1810
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_1834
wait 0
goto @SYN3_1810

:SYN3_1834
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN3_1870
Char.WarpFromCarToCoord($stattreadstamina_ctr, -1672.64, 404.17, 6.18)

:SYN3_1870
World.ClearArea(-1665.27, 412.923, 6.192, 50.0, False)
if 
  not Car.IsDead(34@)
goto_if_false @SYN3_1917
Car.SetVisible(34@, False)

:SYN3_1917
Player.MakeSafeForCutscene($statbike_temp)
Cutscene.Load('SYND_3A')

:SYN3_1933
if 
  not Cutscene.HasLoaded
goto_if_false @SYN3_1957
wait 0
goto @SYN3_1933

:SYN3_1957
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SYN3_1966
if 
  not Cutscene.HasFinished
goto_if_false @SYN3_1990
wait 0
goto @SYN3_1966

:SYN3_1990
Camera.DoFade(0, Fade.Out)

:SYN3_1996
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_2020
wait 0
goto @SYN3_1996

:SYN3_2020
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Streaming.LoadSpecialCharacter(1, 'TORINO')
Streaming.LoadSpecialCharacter(2, 'TBONE')

:SYN3_2055
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
goto_if_false @SYN3_2085
wait 0
goto @SYN3_2055

:SYN3_2085
if 
  not Car.IsDead(34@)
goto_if_false @SYN3_2356
Car.SetVisible(34@, True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN3_2144
Char.WarpFromCarToCoord($stattreadstamina_ctr, -1665.27, 412.923, -4.192)

:SYN3_2144
Char.WarpIntoCar($stattreadstamina_ctr, 34@)
137@ = 1
Car.FreezePosition(34@, False)
100@ = Char.CreateAsPassenger(34@, PedType.Mission1, 290, 0)
Char.SetHealth(100@, 500)
Char.SetMaxHealth(100@, 500)
Char.SetNeverTargeted(100@, True)
Char.SetSuffersCriticalHits(100@, False)
Char.SetCantBeDraggedOut(100@, True)
Char.SetStayInCarWhenJacked(100@, True)
Char.SetGetOutUpsideDownCar(100@, False)
101@ = Char.CreateAsPassenger(34@, PedType.Mission1, 291, 1)
Char.SetHealth(101@, 500)
Char.SetMaxHealth(101@, 500)
Char.SetNeverTargeted(101@, True)
Char.SetSuffersCriticalHits(101@, False)
Char.SetCantBeDraggedOut(101@, True)
Char.SetStayInCarWhenJacked(101@, True)
Char.SetGetOutUpsideDownCar(101@, False)
102@ = DecisionMakerChar.Copy(-1)
DecisionMakerChar.ClearEventResponse(102@, 79)
Char.SetDecisionMaker(100@, 102@)
Char.SetDecisionMaker(101@, 102@)
Char.ClearAllRelationships(100@, RelationshipType.Dislike)
Char.ClearAllRelationships(100@, RelationshipType.Hate)
Char.ClearAllRelationships(101@, RelationshipType.Dislike)
Char.ClearAllRelationships(101@, RelationshipType.Hate)

:SYN3_2356
91@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.RocketLauncher)
if 
  91@ == 0
goto_if_false @SYN3_2394
91@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.RocketLauncherHs)

:SYN3_2394
92@ = 20
sub_int_lvar_from_int_lvar 92@ -= 91@
if 
  92@ > 0
goto_if_false @SYN3_2470
89@ = Pickup.CreateWithAmmo(359, PickupType.Once, 92@, -1831.0, -21.43, 15.16)
247@ = Blip.AddForPickup(89@)
goto @SYN3_2477

:SYN3_2470
135@ = 1

:SYN3_2477
93@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Sniper)
94@ = 40
sub_int_lvar_from_int_lvar 94@ -= 93@
if 
  94@ > 0
goto_if_false @SYN3_2548
90@ = Pickup.CreateWithAmmo(358, PickupType.Once, 94@, -1837.0, -21.43, 15.16)

:SYN3_2548
Streaming.MarkModelAsNoLongerNeeded(359)
Streaming.MarkModelAsNoLongerNeeded(358)
gosub @SYN3_6547
35@ = Car.Create(468, -1830.16, -17.64, 14.79)
Car.SetHeading(35@, 268.78)
wait 500
Camera.DoFade(1500, Fade.In)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
213@ = Blip.AddForCoord(42@, 43@, 44@)
Text.PrintNow('SYN3_1', 10000, 0)
if 
  135@ <> 1
goto_if_false @SYN3_2669

:SYN3_2669
if and
  134@ == 1
  136@ <> 1
  not Car.IsDead(34@)
goto_if_false @SYN3_3214
if and
  137@ == 1
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @SYN3_3013
Blip.Remove(213@)
212@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(212@, True)
gosub @SYN3_18546
if 
  Char.IsDead(100@)
goto_if_false @SYN3_2795
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('SYN3_27', 4000, 0)
goto @SYN3_19140

:SYN3_2795
if 
  Char.IsDead(101@)
goto_if_false @SYN3_2834
Text.PrintNow('SYN3_28', 4000, 0)
goto @SYN3_19140

:SYN3_2834
if 
  Car.IsDead(34@)
goto_if_false @SYN3_2873
Text.PrintNow('SYN3_19', 4000, 0)
goto @SYN3_19140

:SYN3_2873
if 
  Car.IsDead(36@)
goto_if_false @SYN3_2912
Text.PrintNow('SYN3_15', 4000, 0)
goto @SYN3_19140

:SYN3_2912
if 
  Char.IsDead(37@)
goto_if_false @SYN3_2951
Text.PrintNow('SYN3_16', 4000, 0)
goto @SYN3_19140

:SYN3_2951
if 
  Car.IsDead(35@)
goto_if_false @SYN3_2990
Text.PrintNow('SYN3_14', 4000, 0)
goto @SYN3_19140

:SYN3_2990
Text.PrintNow('SYN3_26', 7000, 0)
137@ = 0

:SYN3_3013
if and
  137@ == 0
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @SYN3_3081
Blip.Remove(212@)
213@ = Blip.AddForCoord(42@, 43@, 44@)
Text.PrintNow('SYN3_1', 7000, 0)
137@ = 1

:SYN3_3081
if 
  137@ == 1
goto_if_false @SYN3_3214
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 42@, 43@, 44@, 4.0, 4.0, 2.0, True)
goto_if_false @SYN3_3214
Blip.Remove(213@)
136@ = 1
Player.SetControl($statbike_temp, False)
gosub @SYN3_16390
if 
  not Car.IsDead(35@)
goto_if_false @SYN3_3198
214@ = Blip.AddForCar(35@)
Blip.SetAsFriendly(214@, True)

:SYN3_3198
Text.PrintNow('SYN3_25', 10000, 0)

:SYN3_3214
if and
  136@ == 1
  138@ <> 1
goto_if_false @SYN3_3579
if 
  not Car.IsDead(35@)
goto_if_false @SYN3_3579
if 
  Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @SYN3_3579
Blip.Remove(214@)
gosub @SYN3_6701
138@ = 1
if 
  not Car.IsDead(36@)
goto_if_false @SYN3_3331
215@ = Blip.AddForCar(36@)
Blip.SetAsFriendly(215@, True)
Blip.ChangeDisplay(215@, BlipDisplay.BlipOnly)

:SYN3_3331
216@ = Blip.AddForCoord(-2007.75, 533.24, 33.91)
Blip.SetCoordAppearance(216@, 2)
Text.PrintNow('SYN3_2', 10000, 0)
141@ = 0
TIMERB = 0
gosub @SYN3_6965
gosub @SYN3_8754
142@ = 1
Path.SwitchRoadsOff(-2005.23, 517.16, 33.0, -2002.69, 554.12, 36.0)
Path.SwitchRoadsOff(-2097.8, 319.42, 33.0, -2035.57, 321.05, 36.0)
Path.SwitchRoadsOff(-2150.18, 138.75, 33.0, -2145.71, 160.84, 36.0)
Path.SwitchRoadsOff(-2168.24, 42.13, 33.0, -2165.99, 61.7, 36.0)
Game.SwitchRandomTrains(False)
249@ = Pickup.Create(#BODYARMOUR, PickupType.Once, -2060.03, 304.18, 35.81)
140@ = 0
gosub @SYN3_14963

:SYN3_3579
if 
  139@ <> 1
goto_if_false @SYN3_6540
if 
  134@ == 1
goto_if_false @SYN3_3661
if 
  135@ <> 1
goto_if_false @SYN3_3661
if 
  Pickup.HasBeenCollected(89@)
goto_if_false @SYN3_3661
Blip.Remove(247@)
135@ = 1

:SYN3_3661
if and
  138@ == 1
  not Car.IsDead(36@)
goto_if_false @SYN3_5972
if and
  141@ <> 1
  TIMERB >= 10000
goto_if_false @SYN3_3772
if 
  Blip.DoesExist(247@)
goto_if_false @SYN3_3749
Text.PrintNow('SYN3_3', 7000, 0)
goto @SYN3_3765

:SYN3_3749
Text.PrintNow('SYN3_4', 7000, 0)

:SYN3_3765
141@ = 1

:SYN3_3772
if or
  57@ >= 1
  57@ == -1
goto_if_false @SYN3_3947
if or
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1999.7, 527.27, 150.0, 150.0, False)
  Car.Locate2D(36@, -1999.7, 527.27, 100.0, 100.0, False)
goto_if_false @SYN3_3901
if 
  142@ == 1
goto_if_false @SYN3_3894
gosub @SYN3_9322
142@ = 0

:SYN3_3894
goto @SYN3_3933

:SYN3_3901
if 
  142@ == 0
goto_if_false @SYN3_3933
gosub @SYN3_8754
142@ = 1

:SYN3_3933
198@ = 0
gosub @SYN3_11986

:SYN3_3947
if or
  57@ >= 2
  57@ == -1
goto_if_false @SYN3_4122
if or
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2085.74, 320.74, 150.0, 150.0, False)
  Car.Locate2D(36@, -2085.74, 320.74, 100.0, 100.0, False)
goto_if_false @SYN3_4076
if 
  143@ == 1
goto_if_false @SYN3_4069
gosub @SYN3_9464
143@ = 0

:SYN3_4069
goto @SYN3_4108

:SYN3_4076
if 
  143@ == 0
goto_if_false @SYN3_4108
gosub @SYN3_8896
143@ = 1

:SYN3_4108
198@ = 1
gosub @SYN3_11986

:SYN3_4122
if or
  57@ >= 3
  57@ == -1
goto_if_false @SYN3_4297
if or
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2146.62, 146.06, 150.0, 150.0, False)
  Car.Locate2D(36@, -2146.62, 146.06, 100.0, 100.0, False)
goto_if_false @SYN3_4251
if 
  144@ == 1
goto_if_false @SYN3_4244
gosub @SYN3_9606
144@ = 0

:SYN3_4244
goto @SYN3_4283

:SYN3_4251
if 
  144@ == 0
goto_if_false @SYN3_4283
gosub @SYN3_9038
144@ = 1

:SYN3_4283
198@ = 2
gosub @SYN3_11986

:SYN3_4297
if or
  57@ >= 4
  57@ == -1
goto_if_false @SYN3_4472
if or
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -2166.92, 48.75, 150.0, 150.0, False)
  Car.Locate2D(36@, -2166.92, 48.75, 100.0, 100.0, False)
goto_if_false @SYN3_4426
if 
  145@ == 1
goto_if_false @SYN3_4419
gosub @SYN3_9748
145@ = 0

:SYN3_4419
goto @SYN3_4458

:SYN3_4426
if 
  145@ == 0
goto_if_false @SYN3_4458
gosub @SYN3_9180
145@ = 1

:SYN3_4458
198@ = 3
gosub @SYN3_11986

:SYN3_4472
gosub @SYN3_10412
gosub @SYN3_13834
if 
  205@ <> 1
goto_if_false @SYN3_4782
switch_start 57@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @SYN3_4775 {caseNum1} 1 {caseLabel1} @SYN3_4567 {caseNum2} 2 {caseLabel2} @SYN3_4619 {caseNum3} 3 {caseLabel3} @SYN3_4671 {caseNum4} 4 {caseLabel4} @SYN3_4723 {caseNum5} -1 {caseLabel5} @SYN3_4782 {caseNum6} -1 {caseLabel6} @SYN3_4782 {caseNum7} -1 {caseLabel7} @SYN3_4782

:SYN3_4567
if 
  Car.Locate2D(36@, -2007.75, 533.24, 10.0, 10.0, False)
goto_if_false @SYN3_4612
205@ = 1

:SYN3_4612
goto @SYN3_4782

:SYN3_4619
if 
  Car.Locate2D(36@, -2079.24, 323.74, 15.0, 15.0, False)
goto_if_false @SYN3_4664
205@ = 1

:SYN3_4664
goto @SYN3_4782

:SYN3_4671
if 
  Car.Locate2D(36@, -2149.62, 152.06, 10.0, 10.0, False)
goto_if_false @SYN3_4716
205@ = 1

:SYN3_4716
goto @SYN3_4782

:SYN3_4723
if 
  Car.Locate2D(36@, -2169.42, 54.75, 10.0, 10.0, False)
goto_if_false @SYN3_4768
205@ = 1

:SYN3_4768
goto @SYN3_4782

:SYN3_4775
goto @SYN3_4782

:SYN3_4782
if 
  205@ == 1
goto_if_false @SYN3_4810
Car.SetCruiseSpeed(36@, 0.0)

:SYN3_4810
switch_start 57@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @SYN3_5173 {caseNum1} 1 {caseLabel1} @SYN3_4873 {caseNum2} 2 {caseLabel2} @SYN3_4948 {caseNum3} 3 {caseLabel3} @SYN3_5023 {caseNum4} 4 {caseLabel4} @SYN3_5098 {caseNum5} -1 {caseLabel5} @SYN3_5180 {caseNum6} -1 {caseLabel6} @SYN3_5180 {caseNum7} -1 {caseLabel7} @SYN3_5180

:SYN3_4873
if and
  206@ <> 1
  Car.Locate2D(36@, -2007.75, 533.24, 60.0, 60.0, False)
goto_if_false @SYN3_4941
Text.PrintNow('SYN3_9', 10000, 0)
206@ = 1

:SYN3_4941
goto @SYN3_5180

:SYN3_4948
if and
  207@ <> 1
  Car.Locate2D(36@, -2079.24, 323.74, 60.0, 60.0, False)
goto_if_false @SYN3_5016
Text.PrintNow('SYN3_9', 10000, 0)
207@ = 1

:SYN3_5016
goto @SYN3_5180

:SYN3_5023
if and
  208@ <> 1
  Car.Locate2D(36@, -2149.62, 152.06, 60.0, 60.0, False)
goto_if_false @SYN3_5091
Text.PrintNow('SYN3_9', 10000, 0)
208@ = 1

:SYN3_5091
goto @SYN3_5180

:SYN3_5098
if and
  209@ <> 1
  Car.Locate2D(36@, -2169.42, 54.75, 60.0, 60.0, False)
goto_if_false @SYN3_5166
Text.PrintNow('SYN3_9', 10000, 0)
209@ = 1

:SYN3_5166
goto @SYN3_5180

:SYN3_5173
goto @SYN3_5180

:SYN3_5180
if 
  57@ == 1
goto_if_false @SYN3_5348
gosub @SYN3_11056
if or
  176@ == 1
  Car.IsInArea2D(36@, -2016.3, 434.74, -1960.98, 454.11, False)
goto_if_false @SYN3_5348
gosub @SYN3_11584
gosub @SYN3_7439
gosub @SYN3_8896
143@ = 1
gosub @SYN3_9890
57@ = 2
if 
  205@ == 1
goto_if_false @SYN3_5325
Car.SetCruiseSpeed(36@, 56@)
205@ = 0

:SYN3_5325
Text.PrintNow('SYN3_5', 10000, 0)
gosub @SYN3_14963

:SYN3_5348
if and
  57@ == 2
  not Car.IsDead(36@)
goto_if_false @SYN3_5521
gosub @SYN3_11165
if or
  177@ == 1
  Car.IsInArea2D(36@, -2133.87, 308.44, -2124.45, 330.0, False)
goto_if_false @SYN3_5521
gosub @SYN3_11665
gosub @SYN3_7941
gosub @SYN3_9038
144@ = 1
gosub @SYN3_10064
57@ = 3
if 
  205@ == 1
goto_if_false @SYN3_5498
Car.SetCruiseSpeed(36@, 56@)
205@ = 0

:SYN3_5498
Text.PrintNow('SYN3_5', 10000, 0)
gosub @SYN3_14963

:SYN3_5521
if and
  57@ == 3
  not Car.IsDead(36@)
goto_if_false @SYN3_5694
gosub @SYN3_11320
if or
  178@ == 1
  Car.IsInArea2D(36@, -2171.21, 90.96, -2151.63, 92.36, False)
goto_if_false @SYN3_5694
gosub @SYN3_11785
gosub @SYN3_8411
gosub @SYN3_9180
145@ = 1
gosub @SYN3_10238
57@ = 4
if 
  205@ == 1
goto_if_false @SYN3_5671
Car.SetCruiseSpeed(36@, 56@)
205@ = 0

:SYN3_5671
Text.PrintNow('SYN3_7', 10000, 0)
gosub @SYN3_14963

:SYN3_5694
if and
  57@ == 4
  not Car.IsDead(36@)
goto_if_false @SYN3_5839
gosub @SYN3_11475
if or
  179@ == 1
  Car.IsInArea2D(36@, -2177.54, 7.1, -2157.29, 19.76, False)
goto_if_false @SYN3_5839
gosub @SYN3_11905
57@ = -1
if 
  205@ == 1
goto_if_false @SYN3_5816
Car.SetCruiseSpeed(36@, 56@)
205@ = 0

:SYN3_5816
Text.PrintNow('SYN3_8', 10000, 0)
gosub @SYN3_14963

:SYN3_5839
if 
  140@ == 1
goto_if_false @SYN3_5923
if 
  not Car.IsDead(35@)
goto_if_false @SYN3_5911
if 
  Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @SYN3_5904
Blip.Remove(214@)
140@ = 0

:SYN3_5904
goto @SYN3_5923

:SYN3_5911
Blip.Remove(214@)
140@ = 0

:SYN3_5923
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN3_5972
99@ = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  210@ <> 1
goto_if_false @SYN3_5972
210@ = 1

:SYN3_5972
if 
  136@ <> 1
goto_if_false @SYN3_6125
if 
  134@ == 1
goto_if_false @SYN3_6086
if 
  Char.IsDead(100@)
goto_if_false @SYN3_6047
Text.PrintNow('SYN3_27', 4000, 0)
goto @SYN3_19140

:SYN3_6047
if 
  Char.IsDead(101@)
goto_if_false @SYN3_6086
Text.PrintNow('SYN3_28', 4000, 0)
goto @SYN3_19140

:SYN3_6086
if 
  Car.IsDead(34@)
goto_if_false @SYN3_6125
Text.PrintNow('SYN3_19', 4000, 0)
goto @SYN3_19140

:SYN3_6125
if 
  134@ == 1
goto_if_false @SYN3_6278
if 
  Car.IsDead(36@)
goto_if_false @SYN3_6182
Text.PrintNow('SYN3_15', 4000, 0)
goto @SYN3_19140

:SYN3_6182
if 
  Char.IsDead(37@)
goto_if_false @SYN3_6221
Text.PrintNow('SYN3_16', 4000, 0)
goto @SYN3_19140

:SYN3_6221
if 
  138@ <> 1
goto_if_false @SYN3_6278
if 
  Car.IsDead(35@)
goto_if_false @SYN3_6278
Text.PrintNow('SYN3_14', 4000, 0)
goto @SYN3_19140

:SYN3_6278
if and
  138@ == 1
  not Car.IsDead(36@)
  not Char.IsDead(37@)
goto_if_false @SYN3_6540
95@ = Char.GetScriptTaskStatus(37@, 1560)
if 
  is_int_lvar_equal_to_constant 95@ == 7
goto_if_false @SYN3_6428
if and
  Car.Locate3D(36@, 45@, 46@, 47@, 35.0, 35.0, 5.0, False)
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 45@, 46@, 20.0, 20.0, False)
goto_if_false @SYN3_6421
139@ = 1
gosub @SYN3_15036
goto @SYN3_19158

:SYN3_6421
goto @SYN3_6540

:SYN3_6428
if and
  Car.Locate3D(36@, 45@, 46@, 47@, 20.0, 20.0, 5.0, False)
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 45@, 46@, 20.0, 20.0, False)
goto_if_false @SYN3_6540
Task.CarDriveToCoord(37@, 36@, 45@, 46@, 47@, 56@, DriveMode.Normal, 0, DrivingMode.AvoidCars)
139@ = 1
gosub @SYN3_15036
goto @SYN3_19158

:SYN3_6540
goto @SYN3_1691

:SYN3_6547
Streaming.RequestModel(440)
Streaming.RequestModel(173)

:SYN3_6557
if or
  not Streaming.HasModelLoaded(440)
  not Streaming.HasModelLoaded(173)
goto_if_false @SYN3_6589
wait 0
goto @SYN3_6557

:SYN3_6589
36@ = Car.Create(440, 38@, 39@, 40@)
37@ = Char.CreateInsideCar(36@, PedType.Mission1, 173)
Car.SetHeading(36@, 41@)
Car.SetHeavy(36@, True)
203@ = 1
Car.LockDoors(36@, CarLock.Locked)
Car.SetProofs(36@, False, True, False, True, False)
204@ = 1
Car.SetCanBurstTires(36@, False)
Car.CanBeTargetedByHsMissile(36@, False)
Streaming.MarkModelAsNoLongerNeeded(440)
Streaming.MarkModelAsNoLongerNeeded(173)
Streaming.MarkModelAsNoLongerNeeded(468)
return 

:SYN3_6701
if and
  not Car.IsDead(36@)
  not Char.IsDead(37@)
goto_if_false @SYN3_6963
98@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(-1814.77, -0.45, 15.38)
Task.DrivePointRouteAdvanced(-1, 36@, 56@, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
Path.FlushRoute
Path.ExtendRoute(-1746.57, 306.18, 6.08)
Path.ExtendRoute(-1858.69, 418.9, 16.06)
Path.ExtendRoute(-1899.05, 605.47, 34.06)
Path.ExtendRoute(-2004.31, 605.61, 34.06)
Path.ExtendRoute(-2004.29, 320.22, 34.04)
Path.ExtendRoute(-2146.68, 320.06, 34.2)
Path.ExtendRoute(-2167.13, -70.2, 34.21)
Task.DrivePointRouteAdvanced(-1, 36@, 56@, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Path.FlushRoute
Path.ExtendRoute(45@, -70.33, 34.22)
Path.ExtendRoute(45@, 46@, 47@)
Task.DrivePointRouteAdvanced(-1, 36@, 56@, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Path.FlushRoute
Sequence.Close(98@)
Char.PerformSequence(37@, 98@)
Sequence.Clear(98@)

:SYN3_6963
return 

:SYN3_6965
Streaming.RequestModel(492)
Streaming.RequestModel(123)
Streaming.RequestModel(122)
Streaming.RequestModel(353)

:SYN3_6983
if or
  not Streaming.HasModelLoaded(492)
  not Streaming.HasModelLoaded(123)
  not Streaming.HasModelLoaded(122)
  not Streaming.HasModelLoaded(353)
goto_if_false @SYN3_7023
wait 0
goto @SYN3_6983

:SYN3_7023
Blip.Remove(216@)
61@ = Char.Create(PedType.Mission2, 123, -2000.75, 537.24, 33.91)
62@ = Char.Create(PedType.Mission2, 122, -2007.75, 543.24, 33.91)
63@ = Char.Create(PedType.Mission2, 123, -2012.75, 537.24, 33.91)
88@ = DecisionMakerChar.Copy(-1)
DecisionMakerChar.ClearEventResponse(88@, 31)
97@ = 0

:SYN3_7121
if 
  3 > 97@
goto_if_false @SYN3_7230
Char.SetDecisionMaker(61@(97@,3i), 88@)
Char.SetStayInSamePlace(61@(97@,3i), True)
Char.GiveWeapon(61@(97@,3i), WeaponType.Mp5, 99999)
220@(97@,3i) = Blip.AddForChar(61@(97@,3i))
Char.SetOnlyDamagedByPlayer(61@(97@,3i), True)
149@(97@,3i) = 1
97@ += 1
goto @SYN3_7121

:SYN3_7230
58@ = Car.Create(492, -2000.75, 527.24, 33.91)
59@ = Car.Create(492, -2007.75, 533.24, 33.91)
60@ = Car.Create(492, -2012.75, 527.24, 33.91)
Car.SetHeading(58@, 70.0)
Car.SetHeading(59@, 110.0)
Car.SetHeading(60@, 250.0)
97@ = 0

:SYN3_7336
if 
  3 > 97@
goto_if_false @SYN3_7437
Car.SetIdle(58@(97@,3i))
Car.SetHeavy(58@(97@,3i), True)
Car.LockDoors(58@(97@,3i), CarLock.Locked)
217@(97@,3i) = Blip.AddForCar(58@(97@,3i))
Car.SetOnlyDamagedByPlayer(58@(97@,3i), True)
146@(97@,3i) = 1
97@ += 1
goto @SYN3_7336

:SYN3_7437
return 

:SYN3_7439
Streaming.RequestModel(355)

:SYN3_7444
if 
  not Streaming.HasModelLoaded(355)
goto_if_false @SYN3_7471
wait 0
goto @SYN3_7444

:SYN3_7471
64@ = Car.Create(492, -2085.74, 314.74, 33.97)
65@ = Car.Create(492, -2079.24, 323.74, 33.97)
66@ = Car.Create(492, -2085.74, 326.74, 33.97)
Car.SetHeading(64@, 340.0)
Car.SetHeading(65@, 20.0)
Car.SetHeading(66@, 160.0)
97@ = 0

:SYN3_7577
if 
  3 > 97@
goto_if_false @SYN3_7651
Car.SetIdle(64@(97@,3i))
Car.SetHeavy(64@(97@,3i), True)
Car.LockDoors(64@(97@,3i), CarLock.Locked)
Car.SetOnlyDamagedByPlayer(64@(97@,3i), True)
97@ += 1
goto @SYN3_7577

:SYN3_7651
67@ = Char.Create(PedType.Mission2, 123, -2075.74, 314.74, 33.97)
68@ = Char.Create(PedType.Mission2, 122, -2069.24, 323.74, 33.97)
69@ = Char.Create(PedType.Mission2, 123, -2075.74, 326.74, 33.97)
70@ = Char.Create(PedType.Mission2, 122, -2076.97, 309.56, 40.99)
71@ = Char.Create(PedType.Mission2, 123, -2073.97, 309.56, 40.99)
72@ = Char.Create(PedType.Mission2, 122, -2063.46, 309.56, 40.99)
97@ = 0

:SYN3_7802
if 
  6 > 97@
goto_if_false @SYN3_7939
Char.SetDecisionMaker(67@(97@,6i), 88@)
Char.SetStayInSamePlace(67@(97@,6i), True)
if 
  97@ >= 3
goto_if_false @SYN3_7884
Char.GiveWeapon(67@(97@,6i), WeaponType.Ak47, 99999)
goto @SYN3_7914

:SYN3_7884
Char.GiveWeapon(67@(97@,6i), WeaponType.Mp5, 99999)
Char.SetHeading(67@(97@,6i), 270.0)

:SYN3_7914
Char.SetOnlyDamagedByPlayer(67@(97@,6i), True)
97@ += 1
goto @SYN3_7802

:SYN3_7939
return 

:SYN3_7941
73@ = Car.Create(492, -2141.12, 146.06, 34.07)
74@ = Car.Create(492, -2149.62, 152.06, 34.07)
75@ = Car.Create(492, -2153.12, 146.06, 34.07)
Car.SetHeading(73@, 290.0)
Car.SetHeading(74@, 70.0)
Car.SetHeading(75@, 110.0)
97@ = 0

:SYN3_8047
if 
  3 > 97@
goto_if_false @SYN3_8121
Car.SetIdle(73@(97@,3i))
Car.SetHeavy(73@(97@,3i), True)
Car.LockDoors(73@(97@,3i), CarLock.Locked)
Car.SetOnlyDamagedByPlayer(73@(97@,3i), True)
97@ += 1
goto @SYN3_8047

:SYN3_8121
76@ = Char.Create(PedType.Mission2, 123, -2141.12, 156.06, 34.07)
77@ = Char.Create(PedType.Mission2, 122, -2149.62, 162.06, 34.07)
78@ = Char.Create(PedType.Mission2, 123, -2153.12, 156.06, 34.07)
79@ = Char.Create(PedType.Mission2, 123, -2135.68, 164.2, 41.29)
80@ = Char.Create(PedType.Mission2, 122, -2135.69, 160.93, 41.29)
81@ = Char.Create(PedType.Mission2, 123, -2135.24, 153.77, 40.72)
97@ = 0

:SYN3_8272
if 
  6 > 97@
goto_if_false @SYN3_8409
Char.SetDecisionMaker(76@(97@,6i), 88@)
Char.SetStayInSamePlace(76@(97@,6i), True)
if 
  97@ >= 3
goto_if_false @SYN3_8368
Char.GiveWeapon(76@(97@,6i), WeaponType.Ak47, 99999)
Char.SetHeading(76@(97@,6i), 90.0)
goto @SYN3_8384

:SYN3_8368
Char.GiveWeapon(76@(97@,6i), WeaponType.Mp5, 99999)

:SYN3_8384
Char.SetOnlyDamagedByPlayer(76@(97@,6i), True)
97@ += 1
goto @SYN3_8272

:SYN3_8409
return 

:SYN3_8411
82@ = Car.Create(492, -2161.42, 48.75, 35.04)
83@ = Car.Create(492, -2169.42, 54.75, 35.04)
84@ = Car.Create(492, -2173.42, 48.75, 35.04)
Car.SetHeading(82@, 70.0)
Car.SetHeading(83@, 110.0)
Car.SetHeading(84@, 250.0)
97@ = 0

:SYN3_8517
if 
  3 > 97@
goto_if_false @SYN3_8591
Car.SetIdle(82@(97@,3i))
Car.SetHeavy(82@(97@,3i), True)
Car.LockDoors(82@(97@,3i), CarLock.Locked)
Car.SetOnlyDamagedByPlayer(82@(97@,3i), True)
97@ += 1
goto @SYN3_8517

:SYN3_8591
85@ = Char.Create(PedType.Mission2, 123, -2161.42, 58.75, 35.04)
86@ = Char.Create(PedType.Mission2, 122, -2169.42, 64.75, 35.04)
87@ = Char.Create(PedType.Mission2, 123, -2173.42, 58.75, 35.04)
97@ = 0

:SYN3_8670
if 
  3 > 97@
goto_if_false @SYN3_8752
Char.SetDecisionMaker(85@(97@,3i), 88@)
Char.SetStayInSamePlace(85@(97@,3i), True)
Char.GiveWeapon(85@(97@,3i), WeaponType.Mp5, 99999)
Char.SetOnlyDamagedByPlayer(85@(97@,3i), True)
97@ += 1
goto @SYN3_8670

:SYN3_8752
return 

:SYN3_8754
97@ = 0

:SYN3_8761
if 
  3 > 97@
goto_if_false @SYN3_8824
if 
  not Car.IsDead(58@(97@,3i))
goto_if_false @SYN3_8810
Car.FreezePositionAndDontLoadCollision(58@(97@,3i), True)

:SYN3_8810
97@ += 1
goto @SYN3_8761

:SYN3_8824
97@ = 0

:SYN3_8831
if 
  3 > 97@
goto_if_false @SYN3_8894
if 
  not Char.IsDead(61@(97@,3i))
goto_if_false @SYN3_8880
Char.FreezePositionAndDontLoadCollision(61@(97@,3i), True)

:SYN3_8880
97@ += 1
goto @SYN3_8831

:SYN3_8894
return 

:SYN3_8896
97@ = 0

:SYN3_8903
if 
  3 > 97@
goto_if_false @SYN3_8966
if 
  not Car.IsDead(64@(97@,3i))
goto_if_false @SYN3_8952
Car.FreezePositionAndDontLoadCollision(64@(97@,3i), True)

:SYN3_8952
97@ += 1
goto @SYN3_8903

:SYN3_8966
97@ = 0

:SYN3_8973
if 
  6 > 97@
goto_if_false @SYN3_9036
if 
  not Char.IsDead(67@(97@,6i))
goto_if_false @SYN3_9022
Char.FreezePositionAndDontLoadCollision(67@(97@,6i), True)

:SYN3_9022
97@ += 1
goto @SYN3_8973

:SYN3_9036
return 

:SYN3_9038
97@ = 0

:SYN3_9045
if 
  3 > 97@
goto_if_false @SYN3_9108
if 
  not Car.IsDead(73@(97@,3i))
goto_if_false @SYN3_9094
Car.FreezePositionAndDontLoadCollision(73@(97@,3i), True)

:SYN3_9094
97@ += 1
goto @SYN3_9045

:SYN3_9108
97@ = 0

:SYN3_9115
if 
  6 > 97@
goto_if_false @SYN3_9178
if 
  not Char.IsDead(76@(97@,6i))
goto_if_false @SYN3_9164
Char.FreezePositionAndDontLoadCollision(76@(97@,6i), True)

:SYN3_9164
97@ += 1
goto @SYN3_9115

:SYN3_9178
return 

:SYN3_9180
97@ = 0

:SYN3_9187
if 
  3 > 97@
goto_if_false @SYN3_9250
if 
  not Car.IsDead(82@(97@,3i))
goto_if_false @SYN3_9236
Car.FreezePositionAndDontLoadCollision(82@(97@,3i), True)

:SYN3_9236
97@ += 1
goto @SYN3_9187

:SYN3_9250
97@ = 0

:SYN3_9257
if 
  3 > 97@
goto_if_false @SYN3_9320
if 
  not Char.IsDead(85@(97@,3i))
goto_if_false @SYN3_9306
Char.FreezePositionAndDontLoadCollision(85@(97@,3i), True)

:SYN3_9306
97@ += 1
goto @SYN3_9257

:SYN3_9320
return 

:SYN3_9322
97@ = 0

:SYN3_9329
if 
  3 > 97@
goto_if_false @SYN3_9392
if 
  not Car.IsDead(58@(97@,3i))
goto_if_false @SYN3_9378
Car.FreezePositionAndDontLoadCollision(58@(97@,3i), False)

:SYN3_9378
97@ += 1
goto @SYN3_9329

:SYN3_9392
97@ = 0

:SYN3_9399
if 
  3 > 97@
goto_if_false @SYN3_9462
if 
  not Char.IsDead(61@(97@,3i))
goto_if_false @SYN3_9448
Char.FreezePositionAndDontLoadCollision(61@(97@,3i), False)

:SYN3_9448
97@ += 1
goto @SYN3_9399

:SYN3_9462
return 

:SYN3_9464
97@ = 0

:SYN3_9471
if 
  3 > 97@
goto_if_false @SYN3_9534
if 
  not Car.IsDead(64@(97@,3i))
goto_if_false @SYN3_9520
Car.FreezePositionAndDontLoadCollision(64@(97@,3i), False)

:SYN3_9520
97@ += 1
goto @SYN3_9471

:SYN3_9534
97@ = 0

:SYN3_9541
if 
  6 > 97@
goto_if_false @SYN3_9604
if 
  not Char.IsDead(67@(97@,6i))
goto_if_false @SYN3_9590
Char.FreezePositionAndDontLoadCollision(67@(97@,6i), False)

:SYN3_9590
97@ += 1
goto @SYN3_9541

:SYN3_9604
return 

:SYN3_9606
97@ = 0

:SYN3_9613
if 
  3 > 97@
goto_if_false @SYN3_9676
if 
  not Car.IsDead(73@(97@,3i))
goto_if_false @SYN3_9662
Car.FreezePositionAndDontLoadCollision(73@(97@,3i), False)

:SYN3_9662
97@ += 1
goto @SYN3_9613

:SYN3_9676
97@ = 0

:SYN3_9683
if 
  6 > 97@
goto_if_false @SYN3_9746
if 
  not Char.IsDead(76@(97@,6i))
goto_if_false @SYN3_9732
Char.FreezePositionAndDontLoadCollision(76@(97@,6i), False)

:SYN3_9732
97@ += 1
goto @SYN3_9683

:SYN3_9746
return 

:SYN3_9748
97@ = 0

:SYN3_9755
if 
  3 > 97@
goto_if_false @SYN3_9818
if 
  not Car.IsDead(82@(97@,3i))
goto_if_false @SYN3_9804
Car.FreezePositionAndDontLoadCollision(82@(97@,3i), False)

:SYN3_9804
97@ += 1
goto @SYN3_9755

:SYN3_9818
97@ = 0

:SYN3_9825
if 
  3 > 97@
goto_if_false @SYN3_9888
if 
  not Char.IsDead(85@(97@,3i))
goto_if_false @SYN3_9874
Char.FreezePositionAndDontLoadCollision(85@(97@,3i), False)

:SYN3_9874
97@ += 1
goto @SYN3_9825

:SYN3_9888
return 

:SYN3_9890
97@ = 0

:SYN3_9897
if 
  3 > 97@
goto_if_false @SYN3_9976
if 
  not Car.IsDead(64@(97@,3i))
goto_if_false @SYN3_9962
223@(97@,3i) = Blip.AddForCar(64@(97@,3i))
152@(97@,3i) = 1

:SYN3_9962
97@ += 1
goto @SYN3_9897

:SYN3_9976
97@ = 0

:SYN3_9983
if 
  6 > 97@
goto_if_false @SYN3_10062
if 
  not Char.IsDead(67@(97@,6i))
goto_if_false @SYN3_10048
226@(97@,6i) = Blip.AddForChar(67@(97@,6i))
155@(97@,6i) = 1

:SYN3_10048
97@ += 1
goto @SYN3_9983

:SYN3_10062
return 

:SYN3_10064
97@ = 0

:SYN3_10071
if 
  3 > 97@
goto_if_false @SYN3_10150
if 
  not Car.IsDead(73@(97@,3i))
goto_if_false @SYN3_10136
232@(97@,3i) = Blip.AddForCar(73@(97@,3i))
161@(97@,3i) = 1

:SYN3_10136
97@ += 1
goto @SYN3_10071

:SYN3_10150
97@ = 0

:SYN3_10157
if 
  6 > 97@
goto_if_false @SYN3_10236
if 
  not Char.IsDead(76@(97@,6i))
goto_if_false @SYN3_10222
235@(97@,6i) = Blip.AddForChar(76@(97@,6i))
164@(97@,6i) = 1

:SYN3_10222
97@ += 1
goto @SYN3_10157

:SYN3_10236
return 

:SYN3_10238
97@ = 0

:SYN3_10245
if 
  3 > 97@
goto_if_false @SYN3_10324
if 
  not Car.IsDead(82@(97@,3i))
goto_if_false @SYN3_10310
241@(97@,3i) = Blip.AddForCar(82@(97@,3i))
170@(97@,3i) = 1

:SYN3_10310
97@ += 1
goto @SYN3_10245

:SYN3_10324
97@ = 0

:SYN3_10331
if 
  3 > 97@
goto_if_false @SYN3_10410
if 
  not Char.IsDead(85@(97@,3i))
goto_if_false @SYN3_10396
244@(97@,3i) = Blip.AddForChar(85@(97@,3i))
173@(97@,3i) = 1

:SYN3_10396
97@ += 1
goto @SYN3_10331

:SYN3_10410
return 

:SYN3_10412
97@ = 0

:SYN3_10419
if 
  3 > 97@
goto_if_false @SYN3_10553
if and
  149@(97@,3i) == 1
  Char.IsDead(61@(97@,3i))
goto_if_false @SYN3_10488
Blip.Remove(220@(97@,3i))
149@(97@,3i) = 0

:SYN3_10488
if and
  146@(97@,3i) == 1
  Car.IsDead(58@(97@,3i))
goto_if_false @SYN3_10539
Blip.Remove(217@(97@,3i))
146@(97@,3i) = 0

:SYN3_10539
97@ += 1
goto @SYN3_10419

:SYN3_10553
97@ = 0

:SYN3_10560
if 
  6 > 97@
goto_if_false @SYN3_10643
if and
  155@(97@,6i) == 1
  Char.IsDead(67@(97@,6i))
goto_if_false @SYN3_10629
Blip.Remove(226@(97@,6i))
155@(97@,6i) = 0

:SYN3_10629
97@ += 1
goto @SYN3_10560

:SYN3_10643
97@ = 0

:SYN3_10650
if 
  3 > 97@
goto_if_false @SYN3_10733
if and
  152@(97@,3i) == 1
  Car.IsDead(64@(97@,3i))
goto_if_false @SYN3_10719
Blip.Remove(223@(97@,3i))
152@(97@,3i) = 0

:SYN3_10719
97@ += 1
goto @SYN3_10650

:SYN3_10733
97@ = 0

:SYN3_10740
if 
  6 > 97@
goto_if_false @SYN3_10823
if and
  164@(97@,6i) == 1
  Char.IsDead(76@(97@,6i))
goto_if_false @SYN3_10809
Blip.Remove(235@(97@,6i))
164@(97@,6i) = 0

:SYN3_10809
97@ += 1
goto @SYN3_10740

:SYN3_10823
97@ = 0

:SYN3_10830
if 
  3 > 97@
goto_if_false @SYN3_10913
if and
  161@(97@,3i) == 1
  Car.IsDead(73@(97@,3i))
goto_if_false @SYN3_10899
Blip.Remove(232@(97@,3i))
161@(97@,3i) = 0

:SYN3_10899
97@ += 1
goto @SYN3_10830

:SYN3_10913
97@ = 0

:SYN3_10920
if 
  3 > 97@
goto_if_false @SYN3_11054
if and
  173@(97@,3i) == 1
  Char.IsDead(85@(97@,3i))
goto_if_false @SYN3_10989
Blip.Remove(244@(97@,3i))
173@(97@,3i) = 0

:SYN3_10989
if and
  170@(97@,3i) == 1
  Car.IsDead(82@(97@,3i))
goto_if_false @SYN3_11040
Blip.Remove(241@(97@,3i))
170@(97@,3i) = 0

:SYN3_11040
97@ += 1
goto @SYN3_10920

:SYN3_11054
return 

:SYN3_11056
176@ = 1
97@ = 0

:SYN3_11070
if and
  3 > 97@
  176@ == 1
goto_if_false @SYN3_11163
if 
  not Char.IsDead(61@(97@,3i))
goto_if_false @SYN3_11122
176@ = 0

:SYN3_11122
if 
  not Car.IsDead(58@(97@,3i))
goto_if_false @SYN3_11149
176@ = 0

:SYN3_11149
97@ += 1
goto @SYN3_11070

:SYN3_11163
return 

:SYN3_11165
177@ = 1
97@ = 0

:SYN3_11179
if and
  6 > 97@
  177@ == 1
goto_if_false @SYN3_11245
if 
  not Char.IsDead(67@(97@,6i))
goto_if_false @SYN3_11231
177@ = 0

:SYN3_11231
97@ += 1
goto @SYN3_11179

:SYN3_11245
97@ = 0

:SYN3_11252
if and
  3 > 97@
  177@ == 1
goto_if_false @SYN3_11318
if 
  not Car.IsDead(64@(97@,3i))
goto_if_false @SYN3_11304
177@ = 0

:SYN3_11304
97@ += 1
goto @SYN3_11252

:SYN3_11318
return 

:SYN3_11320
178@ = 1
97@ = 0

:SYN3_11334
if and
  6 > 97@
  178@ == 1
goto_if_false @SYN3_11400
if 
  not Char.IsDead(76@(97@,6i))
goto_if_false @SYN3_11386
178@ = 0

:SYN3_11386
97@ += 1
goto @SYN3_11334

:SYN3_11400
97@ = 0

:SYN3_11407
if and
  3 > 97@
  178@ == 1
goto_if_false @SYN3_11473
if 
  not Car.IsDead(73@(97@,3i))
goto_if_false @SYN3_11459
178@ = 0

:SYN3_11459
97@ += 1
goto @SYN3_11407

:SYN3_11473
return 

:SYN3_11475
179@ = 1
97@ = 0

:SYN3_11489
if and
  3 > 97@
  179@ == 1
goto_if_false @SYN3_11582
if 
  not Char.IsDead(85@(97@,3i))
goto_if_false @SYN3_11541
179@ = 0

:SYN3_11541
if 
  not Car.IsDead(82@(97@,3i))
goto_if_false @SYN3_11568
179@ = 0

:SYN3_11568
97@ += 1
goto @SYN3_11489

:SYN3_11582
return 

:SYN3_11584
97@ = 0

:SYN3_11591
if 
  3 > 97@
goto_if_false @SYN3_11663
Blip.Remove(220@(97@,3i))
Blip.Remove(217@(97@,3i))
149@(97@,3i) = 0
146@(97@,3i) = 0
97@ += 1
goto @SYN3_11591

:SYN3_11663
return 

:SYN3_11665
97@ = 0

:SYN3_11672
if 
  6 > 97@
goto_if_false @SYN3_11724
Blip.Remove(226@(97@,6i))
155@(97@,6i) = 0
97@ += 1
goto @SYN3_11672

:SYN3_11724
97@ = 0

:SYN3_11731
if 
  3 > 97@
goto_if_false @SYN3_11783
Blip.Remove(223@(97@,3i))
152@(97@,3i) = 0
97@ += 1
goto @SYN3_11731

:SYN3_11783
return 

:SYN3_11785
97@ = 0

:SYN3_11792
if 
  6 > 97@
goto_if_false @SYN3_11844
Blip.Remove(235@(97@,6i))
164@(97@,6i) = 0
97@ += 1
goto @SYN3_11792

:SYN3_11844
97@ = 0

:SYN3_11851
if 
  3 > 97@
goto_if_false @SYN3_11903
Blip.Remove(232@(97@,3i))
161@(97@,3i) = 0
97@ += 1
goto @SYN3_11851

:SYN3_11903
return 

:SYN3_11905
97@ = 0

:SYN3_11912
if 
  3 > 97@
goto_if_false @SYN3_11984
Blip.Remove(244@(97@,3i))
Blip.Remove(241@(97@,3i))
173@(97@,3i) = 0
170@(97@,3i) = 0
97@ += 1
goto @SYN3_11912

:SYN3_11984
return 

:SYN3_11986
if 
  not Car.IsDead(36@)
goto_if_false @SYN3_13494
switch_start 198@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @SYN3_12093 {caseNum1} 0 {caseLabel1} @SYN3_12065 {caseNum2} 1 {caseLabel2} @SYN3_12079 {caseNum3} 2 {caseLabel3} @SYN3_12079 {caseNum4} 3 {caseLabel4} @SYN3_12065 {caseNum5} -1 {caseLabel5} @SYN3_12107 {caseNum6} -1 {caseLabel6} @SYN3_12107 {caseNum7} -1 {caseLabel7} @SYN3_12107

:SYN3_12065
250@ = 3
goto @SYN3_12107

:SYN3_12079
250@ = 6
goto @SYN3_12107

:SYN3_12093
198@ = -1
goto @SYN3_12107

:SYN3_12107
if 
  198@ == -1
goto_if_false @SYN3_12127
return 

:SYN3_12127
97@ = 0

:SYN3_12134
if 
  is_int_lvar_greater_than_int_lvar 250@ > 97@
goto_if_false @SYN3_12529
switch_start 198@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @SYN3_12508 {caseNum1} 0 {caseLabel1} @SYN3_12216 {caseNum2} 1 {caseLabel2} @SYN3_12289 {caseNum3} 2 {caseLabel3} @SYN3_12362 {caseNum4} 3 {caseLabel4} @SYN3_12435 {caseNum5} -1 {caseLabel5} @SYN3_12515 {caseNum6} -1 {caseLabel6} @SYN3_12515 {caseNum7} -1 {caseLabel7} @SYN3_12515

:SYN3_12216
set_lvar_int_to_lvar_int 251@(97@,6i) = 61@(97@,3i)
set_lvar_int_to_lvar_int 260@(97@,6i) = 180@(97@,3i)
if 
  3 > 97@
goto_if_false @SYN3_12282
set_lvar_int_to_lvar_int 257@(97@,3i) = 58@(97@,3i)

:SYN3_12282
goto @SYN3_12515

:SYN3_12289
set_lvar_int_to_lvar_int 251@(97@,6i) = 67@(97@,6i)
set_lvar_int_to_lvar_int 260@(97@,6i) = 183@(97@,6i)
if 
  3 > 97@
goto_if_false @SYN3_12355
set_lvar_int_to_lvar_int 257@(97@,3i) = 64@(97@,3i)

:SYN3_12355
goto @SYN3_12515

:SYN3_12362
set_lvar_int_to_lvar_int 251@(97@,6i) = 76@(97@,6i)
set_lvar_int_to_lvar_int 260@(97@,6i) = 189@(97@,6i)
if 
  3 > 97@
goto_if_false @SYN3_12428
set_lvar_int_to_lvar_int 257@(97@,3i) = 73@(97@,3i)

:SYN3_12428
goto @SYN3_12515

:SYN3_12435
set_lvar_int_to_lvar_int 251@(97@,6i) = 85@(97@,3i)
set_lvar_int_to_lvar_int 260@(97@,6i) = 195@(97@,3i)
if 
  3 > 97@
goto_if_false @SYN3_12501
set_lvar_int_to_lvar_int 257@(97@,3i) = 82@(97@,3i)

:SYN3_12501
goto @SYN3_12515

:SYN3_12508
goto @SYN3_12515

:SYN3_12515
97@ += 1
goto @SYN3_12134

:SYN3_12529
if 
  199@(198@,4i) <> 1
goto_if_false @SYN3_12558
gosub @SYN3_13496

:SYN3_12558
38@, 39@, 40@ = Car.GetCoordinates(36@)
48@, 49@, 50@ = Char.GetCoordinates($stattreadstamina_ctr)
97@ = 0

:SYN3_12593
if 
  is_int_lvar_greater_than_int_lvar 250@ > 97@
goto_if_false @SYN3_13292
if 
  not Char.IsDead(251@(97@,6i))
goto_if_false @SYN3_13278
51@, 52@, 53@ = Char.GetCoordinates(251@(97@,6i))
54@ = Math.GetDistanceBetweenCoords2D(38@, 39@, 51@, 52@)
if 
  35.0 > 54@
goto_if_false @SYN3_12784
if 
  260@(97@,6i) <> 3
goto_if_false @SYN3_12777
Char.SetAccuracy(251@(97@,6i), 85)
95@ = Char.GetScriptTaskStatus(251@(97@,6i), 1650)
if 
  is_int_lvar_equal_to_constant 95@ == 7
goto_if_false @SYN3_12766
Task.DestroyCar(251@(97@,6i), 36@)

:SYN3_12766
260@(97@,6i) = 3

:SYN3_12777
goto @SYN3_13278

:SYN3_12784
55@ = Math.GetDistanceBetweenCoords2D(48@, 49@, 51@, 52@)
if and
  35.0 > 55@
  199@(198@,4i) == 1
goto_if_false @SYN3_12929
if 
  260@(97@,6i) <> 2
goto_if_false @SYN3_12922
Char.SetAccuracy(251@(97@,6i), 60)
95@ = Char.GetScriptTaskStatus(251@(97@,6i), 1506)
if 
  is_int_lvar_equal_to_constant 95@ == 7
goto_if_false @SYN3_12911
Task.KillCharOnFoot(251@(97@,6i), $stattreadstamina_ctr)

:SYN3_12911
260@(97@,6i) = 2

:SYN3_12922
goto @SYN3_13278

:SYN3_12929
if 
  199@(198@,4i) == 1
goto_if_false @SYN3_13078
if 
  260@(97@,6i) <> 1
goto_if_false @SYN3_12995
Char.SetAccuracy(251@(97@,6i), 60)
260@(97@,6i) = 1

:SYN3_12995
if 
  260@(97@,6i) == 1
goto_if_false @SYN3_13071
95@ = Char.GetScriptTaskStatus(251@(97@,6i), 1640)
if 
  is_int_lvar_equal_to_constant 95@ == 7
goto_if_false @SYN3_13071
Task.ShootAtCoord(251@(97@,6i), 48@, 49@, 50@, 10000)

:SYN3_13071
goto @SYN3_13278

:SYN3_13078
if 
  260@(97@,6i) <> 0
goto_if_false @SYN3_13122
Char.SetAccuracy(251@(97@,6i), 60)
260@(97@,6i) = 0

:SYN3_13122
if 
  260@(97@,6i) == 0
goto_if_false @SYN3_13278
if 
  35.0 > 55@
goto_if_false @SYN3_13222
95@ = Char.GetScriptTaskStatus(251@(97@,6i), 1589)
if 
  is_int_lvar_equal_to_constant 95@ == 7
goto_if_false @SYN3_13215
Task.AimGunAtChar(251@(97@,6i), $stattreadstamina_ctr, 9999999)

:SYN3_13215
goto @SYN3_13278

:SYN3_13222
95@ = Char.GetScriptTaskStatus(251@(97@,6i), 1639)
if 
  is_int_lvar_equal_to_constant 95@ == 7
goto_if_false @SYN3_13278
Task.AimGunAtCoord(251@(97@,6i), 48@, 49@, 50@, 9999999)

:SYN3_13278
97@ += 1
goto @SYN3_12593

:SYN3_13292
97@ = 0

:SYN3_13299
if 
  is_int_lvar_greater_than_int_lvar 250@ > 97@
goto_if_false @SYN3_13494
switch_start 198@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @SYN3_13473 {caseNum1} 0 {caseLabel1} @SYN3_13381 {caseNum2} 1 {caseLabel2} @SYN3_13404 {caseNum3} 2 {caseLabel3} @SYN3_13427 {caseNum4} 3 {caseLabel4} @SYN3_13450 {caseNum5} -1 {caseLabel5} @SYN3_13480 {caseNum6} -1 {caseLabel6} @SYN3_13480 {caseNum7} -1 {caseLabel7} @SYN3_13480

:SYN3_13381
set_lvar_int_to_lvar_int 180@(97@,3i) = 260@(97@,6i)
goto @SYN3_13480

:SYN3_13404
set_lvar_int_to_lvar_int 183@(97@,6i) = 260@(97@,6i)
goto @SYN3_13480

:SYN3_13427
set_lvar_int_to_lvar_int 189@(97@,6i) = 260@(97@,6i)
goto @SYN3_13480

:SYN3_13450
set_lvar_int_to_lvar_int 195@(97@,3i) = 260@(97@,6i)
goto @SYN3_13480

:SYN3_13473
goto @SYN3_13480

:SYN3_13480
97@ += 1
goto @SYN3_13299

:SYN3_13494
return 

:SYN3_13496
97@ = 0

:SYN3_13503
if and
  is_int_lvar_greater_than_int_lvar 250@ > 97@
  199@(198@,4i) <> 1
goto_if_false @SYN3_13832
if 
  not Char.IsDead(251@(97@,6i))
goto_if_false @SYN3_13747
96@ = Char.GetHighestPriorityEvent(251@(97@,6i))
$x, $y, $z = Char.GetCoordinates(251@(97@,6i))
set_lvar_float_to_var_float 266@ = $x
266@ -= 10.0
set_lvar_float_to_var_float 267@ = $y
267@ -= 10.0
set_lvar_float_to_var_float 268@ = $z
268@ -= 10.0
set_lvar_float_to_var_float 269@ = $x
269@ += 10.0
set_lvar_float_to_var_float 270@ = $y
270@ += 10.0
set_lvar_float_to_var_float 271@ = $z
271@ += 10.0
if or
  is_int_lvar_equal_to_constant 96@ == 49
  World.IsProjectileInArea(266@, 267@, 268@, 269@, 270@, 271@)
goto_if_false @SYN3_13740
199@(198@,4i) = 1

:SYN3_13740
goto @SYN3_13758

:SYN3_13747
199@(198@,4i) = 1

:SYN3_13758
if 
  3 > 97@
goto_if_false @SYN3_13818
if and
  Car.IsDead(257@(97@,3i))
  199@(198@,4i) <> 1
goto_if_false @SYN3_13818
199@(198@,4i) = 1

:SYN3_13818
97@ += 1
goto @SYN3_13503

:SYN3_13832
return 

:SYN3_13834
if and
  not Car.IsDead(36@)
  not Char.IsDead(37@)
goto_if_false @SYN3_14961
if 
  57@ == 1
goto_if_false @SYN3_14092
gosub @SYN3_11056
if 
  176@ == 1
goto_if_false @SYN3_13937
if 
  203@ <> 1
goto_if_false @SYN3_13930
Car.SetHeavy(36@, True)
203@ = 1

:SYN3_13930
goto @SYN3_14092

:SYN3_13937
if 
  203@ <> 1
goto_if_false @SYN3_13969
Car.SetHeavy(36@, True)
203@ = 1

:SYN3_13969
97@ = 0

:SYN3_13976
if and
  3 > 97@
  203@ <> 0
goto_if_false @SYN3_14092
if 
  not Car.IsDead(58@(97@,3i))
goto_if_false @SYN3_14078
if and
  Char.IsInCar(37@, 36@)
  Char.LocateInCarCar2D(37@, 58@(97@,3i), 50.0, 50.0, False)
goto_if_false @SYN3_14078
Car.SetHeavy(36@, False)
203@ = 0

:SYN3_14078
97@ += 1
goto @SYN3_13976

:SYN3_14092
if 
  57@ == 2
goto_if_false @SYN3_14329
gosub @SYN3_11165
if 
  177@ == 1
goto_if_false @SYN3_14174
if 
  203@ <> 1
goto_if_false @SYN3_14167
Car.SetHeavy(36@, True)
203@ = 1

:SYN3_14167
goto @SYN3_14329

:SYN3_14174
if 
  203@ <> 1
goto_if_false @SYN3_14206
Car.SetHeavy(36@, True)
203@ = 1

:SYN3_14206
97@ = 0

:SYN3_14213
if and
  3 > 97@
  203@ <> 0
goto_if_false @SYN3_14329
if 
  not Car.IsDead(64@(97@,3i))
goto_if_false @SYN3_14315
if and
  Char.IsInCar(37@, 36@)
  Char.LocateInCarCar2D(37@, 64@(97@,3i), 50.0, 50.0, False)
goto_if_false @SYN3_14315
Car.SetHeavy(36@, False)
203@ = 0

:SYN3_14315
97@ += 1
goto @SYN3_14213

:SYN3_14329
if 
  57@ == 3
goto_if_false @SYN3_14566
gosub @SYN3_11320
if 
  178@ == 1
goto_if_false @SYN3_14411
if 
  203@ <> 1
goto_if_false @SYN3_14404
Car.SetHeavy(36@, True)
203@ = 1

:SYN3_14404
goto @SYN3_14566

:SYN3_14411
if 
  203@ <> 1
goto_if_false @SYN3_14443
Car.SetHeavy(36@, True)
203@ = 1

:SYN3_14443
97@ = 0

:SYN3_14450
if and
  3 > 97@
  203@ <> 0
goto_if_false @SYN3_14566
if 
  not Car.IsDead(73@(97@,3i))
goto_if_false @SYN3_14552
if and
  Char.IsInCar(37@, 36@)
  Char.LocateInCarCar2D(37@, 73@(97@,3i), 50.0, 50.0, False)
goto_if_false @SYN3_14552
Car.SetHeavy(36@, False)
203@ = 0

:SYN3_14552
97@ += 1
goto @SYN3_14450

:SYN3_14566
if 
  57@ == 4
goto_if_false @SYN3_14803
gosub @SYN3_11475
if 
  179@ == 1
goto_if_false @SYN3_14648
if 
  203@ <> 1
goto_if_false @SYN3_14641
Car.SetHeavy(36@, True)
203@ = 1

:SYN3_14641
goto @SYN3_14803

:SYN3_14648
if 
  203@ <> 1
goto_if_false @SYN3_14680
Car.SetHeavy(36@, True)
203@ = 1

:SYN3_14680
97@ = 0

:SYN3_14687
if and
  3 > 97@
  203@ <> 0
goto_if_false @SYN3_14803
if 
  not Car.IsDead(82@(97@,3i))
goto_if_false @SYN3_14789
if and
  Char.IsInCar(37@, 36@)
  Char.LocateInCarCar2D(37@, 82@(97@,3i), 50.0, 50.0, False)
goto_if_false @SYN3_14789
Car.SetHeavy(36@, False)
203@ = 0

:SYN3_14789
97@ += 1
goto @SYN3_14687

:SYN3_14803
if and
  57@ == -1
  203@ <> 1
goto_if_false @SYN3_14842
Car.SetHeavy(36@, True)
203@ = 1

:SYN3_14842
if 
  203@ == 1
goto_if_false @SYN3_14914
Car.SetDrivingStyle(36@, DrivingMode.AvoidCars)
if 
  204@ <> 1
goto_if_false @SYN3_14907
Car.SetProofs(36@, False, True, False, True, False)
204@ = 1

:SYN3_14907
goto @SYN3_14961

:SYN3_14914
Car.SetDrivingStyle(36@, DrivingMode.SlowDownForCars)
if 
  204@ == 1
goto_if_false @SYN3_14961
Car.SetProofs(36@, False, True, False, False, False)
204@ = 0

:SYN3_14961
return 

:SYN3_14963
if 
  not Car.IsDead(35@)
goto_if_false @SYN3_15034
if and
  not Char.IsInCar($stattreadstamina_ctr, 35@)
  140@ <> 1
goto_if_false @SYN3_15034
214@ = Blip.AddForCar(35@)
Blip.SetAsFriendly(214@, True)
Blip.ChangeDisplay(214@, BlipDisplay.MarkerOnly)
140@ = 1

:SYN3_15034
return 

:SYN3_15036
Camera.DoFade(1000, Fade.Out)

:SYN3_15043
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_15067
wait 0
goto @SYN3_15043

:SYN3_15067
Player.SetControl($statbike_temp, False)
World.ClearArea(-2170.58, -206.92, 34.57, 100.0, False)
Streaming.RequestCollision(-2170.58, -206.92)
Streaming.LoadSceneInDirection(-2170.58, -206.92, 34.57, 270.0)
Text.ClearPrints
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
if 
  not Car.IsDead(36@)
goto_if_false @SYN3_15187
Car.SetCoordinates(36@, -2170.58, -206.92, 34.57)
Car.SetHeading(36@, 91.13)

:SYN3_15187
if 
  not Char.IsDead(37@)
goto_if_false @SYN3_15281
Char.ClearTasksImmediately(37@)
if 
  Char.IsInAnyCar(37@)
goto_if_false @SYN3_15251
Char.WarpFromCarToCoord(37@, -2170.45, -209.19, 34.37)
goto @SYN3_15271

:SYN3_15251
Char.SetCoordinates(37@, -2170.45, -209.19, 34.37)

:SYN3_15271
Char.SetHeading(37@, 207.63)

:SYN3_15281
272@ = 0
if 
  210@ == 1
goto_if_false @SYN3_15391
if 
  not Car.IsDead(99@)
goto_if_false @SYN3_15368
if or
  Char.IsInCar($stattreadstamina_ctr, 99@)
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 99@, 20.0, 20.0, False)
goto_if_false @SYN3_15368
272@ = 1

:SYN3_15368
if 
  272@ == 0
goto_if_false @SYN3_15391
Car.Delete(99@)

:SYN3_15391
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN3_15439
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2169.44, -210.34, 34.37)
goto @SYN3_15459

:SYN3_15439
Char.SetCoordinates($stattreadstamina_ctr, -2169.44, -210.34, 34.37)

:SYN3_15459
Char.SetHeading($stattreadstamina_ctr, 48.2)
if and
  272@ == 1
  not Car.IsDead(99@)
goto_if_false @SYN3_15560
if 
  Car.Locate2D(99@, -2170.45, -209.19, 20.0, 20.0, False)
goto_if_false @SYN3_15560
Car.SetCoordinates(99@, -2154.28, -275.18, -100.0)
Car.SetHeading(99@, 270.0)

:SYN3_15560
wait 1000
Hud.SwitchWidescreen(True)
if 
  not Char.IsDead(37@)
goto_if_false @SYN3_15605
Task.LookAtChar($stattreadstamina_ctr, 37@, -2)
Task.LookAtChar(37@, $stattreadstamina_ctr, -2)

:SYN3_15605
Camera.SetFixedPosition(-2172.35, -210.03, 35.67, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2170.27, -210.1, 35.4, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:SYN3_15663
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_15687
wait 0
goto @SYN3_15663

:SYN3_15687
133@ = 1
skip_cutscene_start_internal @SYN3_15921
132@ = 2
gosub @SYN3_17788
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)

:SYN3_15751
if 
  1 > 129@
goto_if_false @SYN3_15827
wait 0
gosub @SYN3_18315
if and
  128@ == 2
  131@ <> 1
goto_if_false @SYN3_15820
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
131@ = 1

:SYN3_15820
goto @SYN3_15751

:SYN3_15827
Char.StopFacialTalk($stattreadstamina_ctr)

:SYN3_15832
if 
  is_int_lvar_greater_than_int_lvar 130@ > 129@
goto_if_false @SYN3_15909
wait 0
gosub @SYN3_18315
if and
  128@ == 2
  131@ <> 1
goto_if_false @SYN3_15902
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
131@ = 1

:SYN3_15902
goto @SYN3_15832

:SYN3_15909
Char.StopFacialTalk($stattreadstamina_ctr)
133@ = 0

:SYN3_15921
skip_cutscene_end 
Camera.DoFade(1000, Fade.Out)

:SYN3_15930
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_15954
wait 0
goto @SYN3_15930

:SYN3_15954
if 
  133@ == 1
goto_if_false @SYN3_15972

:SYN3_15972
Char.StopFacialTalk($stattreadstamina_ctr)
Char.ClearLookAt($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Text.ClearPrints
Car.Delete(36@)
Char.Delete(37@)
World.ClearArea(-2127.08, -87.75, 35.32, 20.0, False)
Streaming.RequestCollision(-2127.08, -87.75)
Streaming.LoadScene(-2127.08, -87.75, 35.32)
if and
  272@ == 1
  not Car.IsDead(99@)
goto_if_false @SYN3_16120
Car.SetCoordinates(99@, -2127.08, -87.75, -100.0)
Car.SetHeading(99@, 0.0)
Char.WarpIntoCar($stattreadstamina_ctr, 99@)
goto @SYN3_16150

:SYN3_16120
Char.SetCoordinates($stattreadstamina_ctr, -2127.08, -87.75, -100.0)
Char.SetHeading($stattreadstamina_ctr, 0.0)

:SYN3_16150
Blip.Remove(214@)
Blip.Remove(247@)
Blip.Remove(215@)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(123)
Streaming.MarkModelAsNoLongerNeeded(122)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(440)
Streaming.MarkModelAsNoLongerNeeded(173)
Streaming.MarkModelAsNoLongerNeeded(355)
Path.SwitchRoadsBackToOriginal(-2005.23, 517.16, 33.0, -2002.69, 554.12, 36.0)
Path.SwitchRoadsBackToOriginal(-2097.8, 319.42, 33.0, -2035.57, 321.05, 36.0)
Path.SwitchRoadsBackToOriginal(-2150.18, 138.75, 33.0, -2145.71, 160.84, 36.0)
Path.SwitchRoadsBackToOriginal(-2168.24, 42.13, 33.0, -2165.99, 61.7, 36.0)
Game.SwitchRandomTrains(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
wait 1000
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(1000, Fade.In)

:SYN3_16364
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_16388
wait 0
goto @SYN3_16364

:SYN3_16388
return 

:SYN3_16390
Camera.DoFade(1000, Fade.Out)

:SYN3_16397
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_16421
wait 0
goto @SYN3_16397

:SYN3_16421
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(42@, 43@, 44@, 100.0, False)
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
if 
  not Car.IsDead(36@)
goto_if_false @SYN3_16521
Car.SetCoordinates(36@, 38@, 39@, 40@)
Car.SetHeading(36@, 41@)

:SYN3_16521
if 
  not Car.IsDead(35@)
goto_if_false @SYN3_16567
Car.SetCoordinates(35@, -1830.16, -17.64, 14.79)
Car.SetHeading(35@, 268.78)

:SYN3_16567
if 
  not Car.IsDead(34@)
goto_if_false @SYN3_16636
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN3_16607
Char.WarpIntoCar($stattreadstamina_ctr, 34@)

:SYN3_16607
Car.SetCoordinates(34@, 42@, 43@, 44@)
Car.SetHeading(34@, 90.0)
Car.SetIdle(34@)

:SYN3_16636
Streaming.RequestAnimation("CAR_CHAT")

:SYN3_16648
if 
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @SYN3_16682
wait 0
goto @SYN3_16648

:SYN3_16682
132@ = 1
gosub @SYN3_17788
if 
  not Char.IsDead(100@)
goto_if_false @SYN3_16780
Task.PlayAnim(100@, "CAR_SC3_FR", "CAR_CHAT", 4.0, False, False, False, False, -1)
if 
  not Char.IsDead(101@)
goto_if_false @SYN3_16780
Task.LookAtChar(101@, 100@, -2)

:SYN3_16780
Camera.SetFixedPosition(-1815.98, 3.07, 15.31, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1815.5, 2.94, 15.25, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:SYN3_16838
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_16862
wait 0
goto @SYN3_16838

:SYN3_16862
133@ = 1
skip_cutscene_start_internal @SYN3_17540

:SYN3_16876
if 
  1 > 129@
goto_if_false @SYN3_16957
wait 0
gosub @SYN3_18315
if and
  128@ == 2
  131@ <> 1
  not Char.IsDead(100@)
goto_if_false @SYN3_16950
Char.StartFacialTalk(100@, 10000)
131@ = 1

:SYN3_16950
goto @SYN3_16876

:SYN3_16957
if 
  not Char.IsDead(100@)
goto_if_false @SYN3_16988
Char.StopFacialTalk(100@)
Task.LookAtChar($stattreadstamina_ctr, 100@, -1)

:SYN3_16988
if 
  2 > 129@
goto_if_false @SYN3_17069
wait 0
gosub @SYN3_18315
if and
  128@ == 2
  131@ <> 1
  not Char.IsDead(100@)
goto_if_false @SYN3_17062
Char.StartFacialTalk(100@, 10000)
131@ = 1

:SYN3_17062
goto @SYN3_16988

:SYN3_17069
if 
  not Char.IsDead(100@)
goto_if_false @SYN3_17090
Char.StopFacialTalk(100@)

:SYN3_17090
if 
  3 > 129@
goto_if_false @SYN3_17171
wait 0
gosub @SYN3_18315
if and
  128@ == 2
  131@ <> 1
  not Char.IsDead(100@)
goto_if_false @SYN3_17164
Char.StartFacialTalk(100@, 10000)
131@ = 1

:SYN3_17164
goto @SYN3_17090

:SYN3_17171
if 
  not Char.IsDead(100@)
goto_if_false @SYN3_17192
Char.StopFacialTalk(100@)

:SYN3_17192
Char.ClearLookAt($stattreadstamina_ctr)
wait 200
Task.LeaveAnyCar($stattreadstamina_ctr)
wait 500
if 
  not Char.IsDead(100@)
goto_if_false @SYN3_17238
Task.LookAtChar(100@, $stattreadstamina_ctr, -1)

:SYN3_17238
wait 2000
if 
  not Char.IsDead(101@)
goto_if_false @SYN3_17264
Char.ClearLookAt(101@)

:SYN3_17264
129@ = 5

:SYN3_17271
if 
  6 > 129@
goto_if_false @SYN3_17352
wait 0
gosub @SYN3_18315
if and
  128@ == 2
  131@ <> 1
  not Char.IsDead(100@)
goto_if_false @SYN3_17345
Char.StartFacialTalk(100@, 10000)
131@ = 1

:SYN3_17345
goto @SYN3_17271

:SYN3_17352
if 
  not Char.IsDead(100@)
goto_if_false @SYN3_17373
Char.StopFacialTalk(100@)

:SYN3_17373
if 
  not Char.IsDead(101@)
goto_if_false @SYN3_17399
Task.LookAtChar(101@, $stattreadstamina_ctr, -1)

:SYN3_17399
wait 1000

:SYN3_17404
if 
  is_int_lvar_greater_than_int_lvar 130@ > 129@
goto_if_false @SYN3_17486
wait 0
gosub @SYN3_18315
if and
  128@ == 2
  131@ <> 1
  not Char.IsDead(101@)
goto_if_false @SYN3_17479
Char.StartFacialTalk(101@, 10000)
131@ = 1

:SYN3_17479
goto @SYN3_17404

:SYN3_17486
if 
  not Char.IsDead(101@)
goto_if_false @SYN3_17507
Char.StopFacialTalk(101@)

:SYN3_17507
wait 1000
if 
  not Char.IsDead(100@)
goto_if_false @SYN3_17533
Char.ClearLookAt(100@)

:SYN3_17533
133@ = 0

:SYN3_17540
skip_cutscene_end 
Camera.DoFade(700, Fade.Out)

:SYN3_17549
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_17573
wait 0
goto @SYN3_17549

:SYN3_17573
if 
  133@ == 1
goto_if_false @SYN3_17591

:SYN3_17591
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.ClearLookAt($stattreadstamina_ctr)
Char.ClearTasks($stattreadstamina_ctr)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN3_17651
Char.WarpFromCarToCoord($stattreadstamina_ctr, -1816.19, -1.19, 14.15)
goto @SYN3_17671

:SYN3_17651
Char.SetCoordinates($stattreadstamina_ctr, -1816.19, -1.19, 14.15)

:SYN3_17671
Char.SetHeading($stattreadstamina_ctr, 132.83)
Car.Delete(34@)
Char.Delete(100@)
Char.Delete(101@)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Streaming.RemoveAnimation("CAR_CHAT")
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Game.SetMaxWantedLevel(0)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(1000, Fade.In)

:SYN3_17762
if 
  Camera.GetFadingStatus
goto_if_false @SYN3_17786
wait 0
goto @SYN3_17762

:SYN3_17786
return 

:SYN3_17788
switch_start 132@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @SYN3_18285 {caseNum1} 0 {caseLabel1} @SYN3_17851 {caseNum2} 1 {caseLabel2} @SYN3_18041 {caseNum3} 2 {caseLabel3} @SYN3_18223 {caseNum4} -1 {caseLabel4} @SYN3_18292 {caseNum5} -1 {caseLabel5} @SYN3_18292 {caseNum6} -1 {caseLabel6} @SYN3_18292 {caseNum7} -1 {caseLabel7} @SYN3_18292

:SYN3_17851
set_lvar_text_label 104@s = 'MJIZ01A'
set_lvar_text_label 106@s = 'MJIZ01B'
set_lvar_text_label 108@s = 'MJIZ01C'
set_lvar_text_label 110@s = 'MJIZ01D'
set_lvar_text_label 112@s = 'MJIZ01E'
set_lvar_text_label 114@s = 'MJIZ01F'
set_lvar_text_label 116@s = 'MJIZ01G'
set_lvar_text_label 118@s = 'MJIZ01H'
set_lvar_int_to_constant 120@ = 26800
set_lvar_int_to_constant 121@ = 26801
set_lvar_int_to_constant 122@ = 26802
set_lvar_int_to_constant 123@ = 26803
set_lvar_int_to_constant 124@ = 26804
set_lvar_int_to_constant 125@ = 26805
set_lvar_int_to_constant 126@ = 26806
set_lvar_int_to_constant 127@ = 26807
130@ = 8
goto @SYN3_18292

:SYN3_18041
set_lvar_text_label 104@s = 'SYN3_CA'
set_lvar_text_label 106@s = 'SYN3_CB'
set_lvar_text_label 108@s = 'SYN3_CC'
set_lvar_text_label 110@s = 'SYN3_CD'
set_lvar_text_label 112@s = 'SYN3_CE'
set_lvar_text_label 114@s = 'SYN3_CF'
set_lvar_text_label 116@s = 'SYN3_CG'
set_lvar_int_to_constant 120@ = 39213
set_lvar_int_to_constant 121@ = 39214
set_lvar_int_to_constant 122@ = 39215
set_lvar_int_to_constant 123@ = 39216
set_lvar_int_to_constant 124@ = 39217
set_lvar_int_to_constant 125@ = 39218
set_lvar_int_to_constant 126@ = 39219
130@ = 7
goto @SYN3_18292

:SYN3_18223
set_lvar_text_label 104@s = 'SYN3_EA'
set_lvar_text_label 106@s = 'SYN3_EB'
set_lvar_int_to_constant 120@ = 39221
set_lvar_int_to_constant 121@ = 39222
130@ = 2
goto @SYN3_18292

:SYN3_18285
goto @SYN3_18292

:SYN3_18292
128@ = 0
129@ = 0
131@ = 0
return 

:SYN3_18315
if or
  128@ == 0
  128@ == 1
goto_if_false @SYN3_18385
if 
  is_int_lvar_greater_than_int_lvar 130@ > 129@
goto_if_false @SYN3_18385
if 
  TIMERB > 1000
goto_if_false @SYN3_18385
gosub @SYN3_18450

:SYN3_18385
if 
  128@ == 2
goto_if_false @SYN3_18448
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SYN3_18448
128@ = 0
129@ += 1
131@ = 0
Text.ClearPrints
TIMERB = 0

:SYN3_18448
return 

:SYN3_18450
if 
  128@ == 0
goto_if_false @SYN3_18486
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 120@(129@,8i))
128@ = 1

:SYN3_18486
if 
  128@ == 1
goto_if_false @SYN3_18544
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN3_18544
Text.PrintNow(104@(129@,8s), 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
128@ = 2

:SYN3_18544
return 

:SYN3_18546
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
switch_start 103@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @SYN3_18693 {caseNum1} 0 {caseLabel1} @SYN3_18613 {caseNum2} 1 {caseLabel2} @SYN3_18629 {caseNum3} 2 {caseLabel3} @SYN3_18645 {caseNum4} 3 {caseLabel4} @SYN3_18661 {caseNum5} 4 {caseLabel5} @SYN3_18677 {caseNum6} -1 {caseLabel6} @SYN3_18700 {caseNum7} -1 {caseLabel7} @SYN3_18700

:SYN3_18613
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 40802)
goto @SYN3_18700

:SYN3_18629
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 40801)
goto @SYN3_18700

:SYN3_18645
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 40803)
goto @SYN3_18700

:SYN3_18661
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 40800)
goto @SYN3_18700

:SYN3_18677
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 40804)
goto @SYN3_18700

:SYN3_18693
goto @SYN3_18700

:SYN3_18700
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:SYN3_18709
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SYN3_18813
wait 0
if or
  Char.IsDead(100@)
  Char.IsDead(101@)
  Car.IsDead(34@)
  Car.IsDead(36@)
  Char.IsDead(37@)
  Car.IsDead(35@)
goto_if_false @SYN3_18771
return 

:SYN3_18771
if and
  135@ <> 1
  Pickup.HasBeenCollected(89@)
goto_if_false @SYN3_18806
Blip.Remove(247@)
135@ = 1

:SYN3_18806
goto @SYN3_18709

:SYN3_18813
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
switch_start 103@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @SYN3_18995 {caseNum1} 0 {caseLabel1} @SYN3_18880 {caseNum2} 1 {caseLabel2} @SYN3_18903 {caseNum3} 2 {caseLabel3} @SYN3_18926 {caseNum4} 3 {caseLabel4} @SYN3_18949 {caseNum5} 4 {caseLabel5} @SYN3_18972 {caseNum6} -1 {caseLabel6} @SYN3_19002 {caseNum7} -1 {caseLabel7} @SYN3_19002

:SYN3_18880
Text.PrintNow('TORX_AC', 3000, 1)
goto @SYN3_19002

:SYN3_18903
Text.PrintNow('TORX_AB', 3000, 1)
goto @SYN3_19002

:SYN3_18926
Text.PrintNow('TORX_AD', 3000, 1)
goto @SYN3_19002

:SYN3_18949
Text.PrintNow('TORX_AA', 3000, 1)
goto @SYN3_19002

:SYN3_18972
Text.PrintNow('TORX_AE', 3000, 1)
goto @SYN3_19002

:SYN3_18995
goto @SYN3_19002

:SYN3_19002
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SYN3_19106
wait 0
if or
  Char.IsDead(100@)
  Char.IsDead(101@)
  Car.IsDead(34@)
  Car.IsDead(36@)
  Char.IsDead(37@)
  Car.IsDead(35@)
goto_if_false @SYN3_19064
return 

:SYN3_19064
if and
  135@ <> 1
  Pickup.HasBeenCollected(89@)
goto_if_false @SYN3_19099
Blip.Remove(247@)
135@ = 1

:SYN3_19099
goto @SYN3_19002

:SYN3_19106
103@ += 1
if 
  103@ > 4
goto_if_false @SYN3_19138
103@ = 0

:SYN3_19138
return 

:SYN3_19140
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:SYN3_19158
$garageZ += 1
Stat.RegisterMissionPassed('SYND_3')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSS', 9000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 9000)
Stat.AwardPlayerMissionRespect(25)
Game.SetMaxWantedLevel(248@)
Player.AlterWantedLevelNoDrop($statbike_temp, 3)
Audio.PlayMissionPassedTune(1)
Blip.Remove($530)
return 

:SYN3_19234
Streaming.MarkModelAsNoLongerNeeded(421)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(440)
Streaming.MarkModelAsNoLongerNeeded(173)
Streaming.MarkModelAsNoLongerNeeded(359)
Streaming.MarkModelAsNoLongerNeeded(358)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(123)
Streaming.MarkModelAsNoLongerNeeded(122)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(#BODYARMOUR)
Pickup.Remove(89@)
Pickup.Remove(90@)
Pickup.Remove(249@)
Blip.Remove(212@)
Blip.Remove(213@)
Blip.Remove(214@)
Blip.Remove(247@)
Blip.Remove(215@)
Blip.Remove(216@)
gosub @SYN3_11584
gosub @SYN3_11665
gosub @SYN3_11785
gosub @SYN3_11905
Sequence.Clear(98@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SYN3_19404
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)

:SYN3_19404
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Char.RemoveElegantly(100@)
Char.RemoveElegantly(101@)
Streaming.RemoveAnimation("CAR_CHAT")
Path.SwitchRoadsBackToOriginal(-2005.23, 517.16, 33.0, -2002.69, 554.12, 36.0)
Path.SwitchRoadsBackToOriginal(-2097.8, 319.42, 33.0, -2035.57, 321.05, 36.0)
Path.SwitchRoadsBackToOriginal(-2150.18, 138.75, 33.0, -2145.71, 160.84, 36.0)
Path.SwitchRoadsBackToOriginal(-2168.24, 42.13, 33.0, -2165.99, 61.7, 36.0)
Game.SwitchRandomTrains(True)
DecisionMaker.Remove(88@)
DecisionMaker.Remove(102@)
if 
  not Car.IsDead(34@)
goto_if_false @SYN3_19599
Car.FreezePosition(34@, False)

:SYN3_19599
Game.SetMaxWantedLevel(248@)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 61---------------
// Originally: Ice Cold Killa

:SYND4
script_name 'SYND4'
gosub @SYND4_47
if 
  has_deatharrest_been_executed 
goto_if_false @SYND4_38
gosub @SYND4_12026

:SYND4_38
gosub @SYND4_12403
terminate_this_script 

:SYND4_47
$syn4_offsetX = 0.0
$syn4_offsetY = 0.0
$syn4_rnd = 0.0
$s4_has_phone = 0.0
$s4_j_health = 0.0
$s4_limo_hlth = 0.0
$s4_event = 0
$the_area_name = 0
$health_counter = 0
$s7_rnd = 0
117@ = 0
97@ = 2
Text.LoadMissionText('SYN4')
World.SwitchEntryExit('PDOMES', True)
World.SwitchEntryExit('PDOMES2', False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:SYND4_201
if 
  Camera.GetFadingStatus
goto_if_false @SYND4_225
wait 0
goto @SYND4_201

:SYND4_225
Streaming.SetAreaVisible(1)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
Streaming.LoadScene(-2031.0, 149.0, 29.0)
Cutscene.Load('SYND_4A')

:SYND4_264
if 
  not Cutscene.HasLoaded
goto_if_false @SYND4_288
wait 0
goto @SYND4_264

:SYND4_288
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:SYND4_305
if 
  not Cutscene.HasFinished
goto_if_false @SYND4_329
wait 0
goto @SYND4_305

:SYND4_329
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:SYND4_343
if 
  Camera.GetFadingStatus
goto_if_false @SYND4_367
wait 0
goto @SYND4_343

:SYND4_367
Cutscene.Clear
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.SetAreaVisible(0)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_428
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, -2031.197, 161.1839, 27.8516)
Char.SetHeading($stattreadstamina_ctr, 268.0468)
Camera.SetBehindPlayer

:SYND4_428
Camera.SetFadingColor(0, 0, 0)
Streaming.RequestModel(347)
Streaming.RequestModel(163)
Streaming.RequestModel(164)
Streaming.RequestModel(409)
Streaming.RequestModel(352)
Streaming.RequestModel(575)
Streaming.RequestModel(409)
Streaming.RequestModel(71)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Dislike, PedType.Mission2, PedType.Player1)
Game.SetRelationship(RelationshipType.Like, PedType.Mission2, PedType.Mission2)
55@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
47@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
88@ = DecisionMakerChar.Load(DecisionMakerType.Tough)

:SYND4_520
if or
  not Streaming.HasModelLoaded(347)
  not Streaming.HasModelLoaded(163)
  not Streaming.HasModelLoaded(164)
  not Streaming.HasModelLoaded(409)
  not Streaming.HasModelLoaded(352)
goto_if_false @SYND4_567
wait 0
goto @SYND4_520

:SYND4_567
if or
  not Streaming.HasModelLoaded(409)
  not Streaming.HasModelLoaded(575)
  not Streaming.HasModelLoaded(71)
goto_if_false @SYND4_603
wait 0
goto @SYND4_567

:SYND4_603
Streaming.LoadSceneInDirection(-2031.197, 161.1839, 27.8359, 268.0468)
World.ClearArea(-2624.549, 1412.131, 6.1094, 10.0, True)
52@ = Group.Create(DefaultTaskAllocator.StandStill)
53@ = DecisionMakerGroup.Load(0)
Group.SetDecisionMaker(52@, 53@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_739
58@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(-2643.993, 1405.895, 905.2734)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, True)
Path.FlushRoute
Sequence.Close(58@)

:SYND4_739
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_915
120@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2664.286, 1420.904, 905.2812, 4, -1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(120@)
121@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2662.241, 1418.222, 905.277, 4, -1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(121@)
122@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2671.858, 1420.603, 905.2812, 4, -1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(122@)
123@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2667.221, 1421.774, 905.2812, 4, -1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(123@)

:SYND4_915
72@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2674.171, 1394.553, 917.3582, 4, -1)
Task.AchieveHeading(-1, 94.4524)
Sequence.SetToRepeat(72@, True)
Sequence.Close(72@)
81@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(-2666.142, 1420.576, 905.277)
Path.ExtendRoute(-2654.33, 1420.092, 905.2812)
Task.FollowPointRoute(-1, 7, RouteMode.Once)
Path.FlushRoute
Sequence.Close(81@)
73@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(-2663.897, 1420.509, 905.2812)
Path.ExtendRoute(-2655.542, 1418.905, 905.2812)
Path.ExtendRoute(-2648.745, 1416.988, 905.2812)
Path.ExtendRoute(-2645.276, 1410.547, 905.2812)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Sequence.Close(73@)
67@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(-2627.831, 1404.959, 905.4609)
Path.ExtendRoute(-2627.514, 1406.607, 905.4609)
Path.ExtendRoute(-2635.924, 1408.306, 905.4609)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Path.FlushRoute
Task.Pause(-1, 4000)
Path.FlushRoute
Path.ExtendRoute(-2629.451, 1406.773, 905.4609)
Path.ExtendRoute(-2626.715, 1403.41, 905.4609)
Path.ExtendRoute(-2629.224, 1402.585, 905.4598)
Path.ExtendRoute(-2639.513, 1399.569, 911.4133)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Path.FlushRoute
Sequence.Close(67@)
57@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(-2663.024, 1430.271, 911.3984)
Path.ExtendRoute(-2677.841, 1429.663, 911.3921)
Path.ExtendRoute(-2688.757, 1426.88, 905.4531)
Path.ExtendRoute(-2686.493, 1422.207, 905.4531)
Path.ExtendRoute(-2677.769, 1421.948, 905.4531)
Path.ExtendRoute(-2664.318, 1423.618, 905.2734)
Path.ExtendRoute(-2651.408, 1423.601, 905.2734)
Path.ExtendRoute(-2642.101, 1416.098, 905.2812)
Task.FollowPointRoute(-1, 7, RouteMode.Once)
Path.FlushRoute
Path.ExtendRoute(-2633.106, 1415.721, 905.4531)
Task.FollowPointRoute(-1, 7, RouteMode.Once)
Path.FlushRoute
Sequence.Close(57@)
42@ = Sequence.Open()
Task.LookAbout(-1, 4000)
Task.Pause(-1, 1000)
Task.ScratchHead(-1)
Sequence.SetToRepeat(42@, True)
Sequence.Close(42@)
68@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.ShootAtChar(-1, $stattreadstamina_ctr, -1)
Sequence.SetToRepeat(68@, True)
Sequence.Close(68@)
62@ = Car.Create(409, -2634.061, 1395.498, 6.1186)
Car.SetHeading(62@, 3.5285)
Car.ChangeColor(62@, 0, 0)
Car.SetCanBurstTires(62@, False)
Car.SetHealth(62@, 2000)
63@ = Car.Create(409, -2613.48, 1416.568, 6.1432)
Car.SetHeading(63@, 272.3133)
Car.ChangeColor(63@, 0, 0)
Car.SetCanBurstTires(63@, False)
Car.SetHealth(63@, 2000)
Car.CustomPlateForNextCar(575, "HO_2_HO_")
64@ = Car.Create(575, -2611.471, 1409.036, 6.1335)
Car.SetHeading(64@, 274.4727)
Car.ChangeColor(64@, 4, 4)
Car.SetHealth(64@, 1000)
124@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2622.981, 1413.107, 6.1137, 4, -1)
Task.AchieveHeading(-1, 196.019)
Sequence.SetToRepeat(124@, True)
Sequence.Close(124@)
125@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2626.409, 1411.96, 6.1094, 4, -1)
Task.AchieveHeading(-1, 190.6977)
Sequence.SetToRepeat(125@, True)
Sequence.Close(125@)
49@ = Char.Create(PedType.Mission2, 163, -2622.981, 1413.107, 6.1137)
Char.SetHeading(49@, 196.019)
50@ = Char.Create(PedType.Mission2, 164, -2626.409, 1411.96, 6.1094)
Char.SetHeading(50@, 190.6977)
Char.GiveWeapon(49@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(49@, WeaponType.MicroUzi)
Char.SetAccuracy(49@, 90)
Char.GiveWeapon(50@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(50@, WeaponType.MicroUzi)
Char.SetAccuracy(50@, 90)
Char.SetDecisionMaker(49@, 47@)
Char.SetDecisionMaker(50@, 47@)
Char.PerformSequence(49@, 124@)
Char.PerformSequence(50@, 125@)
59@ = Blip.AddForCoord(-2623.937, 1410.79, 6.1152)
60@ = Blip.AddForCoord(-2636.385, 1402.485, 905.4609)
Blip.SetEntryExit(60@, -2661.74, 1423.483, 100.0)
Blip.ChangeDisplay(60@, BlipDisplay.Neither)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_2049
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.PistolSilenced, 200)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.PistolSilenced)

:SYND4_2049
TIMERA = 0
Camera.SetFadingColor(0, 0, 0)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)
Text.PrintNow('SYN4_20', 9000, 1)

:SYND4_2095
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_3486
wait 0
gosub @SYND4_12909
gosub @SYND4_13723
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SYND4_2151
goto @SYND4_12241

:SYND4_2151
if 
  117@ == 0
goto_if_false @SYND4_2369
if 
  not Char.IsDead(49@)
goto_if_false @SYND4_2269
if 
  Player.IsTargetingChar($statbike_temp, 49@)
goto_if_false @SYND4_2269
if 
  not Char.IsDead(49@)
goto_if_false @SYND4_2233
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.KillCharOnFoot(49@, $stattreadstamina_ctr)

:SYND4_2233
if 
  not Char.IsDead(50@)
goto_if_false @SYND4_2262
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)

:SYND4_2262
117@ = 1

:SYND4_2269
if 
  not Char.IsDead(50@)
goto_if_false @SYND4_2369
if 
  Player.IsTargetingChar($statbike_temp, 50@)
goto_if_false @SYND4_2369
if 
  not Char.IsDead(49@)
goto_if_false @SYND4_2333
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.KillCharOnFoot(49@, $stattreadstamina_ctr)

:SYND4_2333
if 
  not Char.IsDead(50@)
goto_if_false @SYND4_2362
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)

:SYND4_2362
117@ = 1

:SYND4_2369
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_3424
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -2623.937, 1410.79, 6.1152, 1.2, 1.2, 1.2, True)
goto_if_false @SYND4_3424
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_2456
Player.SetControl($statbike_temp, False)

:SYND4_2456
Player.ApplyBrakesToCar($statbike_temp, True)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Blip.Remove(59@)
gosub @SYND4_12777
if and
  not Char.IsDead(49@)
  not Char.IsDead(50@)
goto_if_false @SYND4_3185
if and
  not Char.HasBeenDamagedByChar(49@, $stattreadstamina_ctr)
  not Char.HasBeenDamagedByChar(50@, $stattreadstamina_ctr)
goto_if_false @SYND4_3185
Task.LookAtChar(50@, $stattreadstamina_ctr, 6000)
gosub @SYND4_12777
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_2597
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, -2624.112, 1410.473, 6.1149)
Char.SetHeading($stattreadstamina_ctr, 13.4662)

:SYND4_2597
Task.LookAtChar(49@, $stattreadstamina_ctr, 6000)
Camera.SetFixedPosition(-2623.715, 1409.642, 7.7873, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2623.871, 1410.628, 7.7269, SwitchType.JumpCut)
wait 1000
$s4_event = Math.RandomIntInRange(0, 3)
switch_start $s4_event {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @SYND4_3117 {caseNum1} 0 {caseLabel1} @SYND4_2736 {caseNum2} 1 {caseLabel2} @SYND4_2863 {caseNum3} 2 {caseLabel3} @SYND4_2990 {caseNum4} -1 {caseLabel4} @SYND4_3117 {caseNum5} -1 {caseLabel5} @SYND4_3117 {caseNum6} -1 {caseLabel6} @SYND4_3117 {caseNum7} -1 {caseLabel7} @SYND4_3117

:SYND4_2736
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39411)

:SYND4_2749
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYND4_2775
wait 0
goto @SYND4_2749

:SYND4_2775
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN4_BA', 4000, 1)
TIMERB = 0

:SYND4_2802
if 
  4000 > TIMERB
goto_if_false @SYND4_2856
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYND4_2849
goto @SYND4_3349

:SYND4_2849
goto @SYND4_2802

:SYND4_2856
goto @SYND4_3117

:SYND4_2863
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39412)

:SYND4_2876
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYND4_2902
wait 0
goto @SYND4_2876

:SYND4_2902
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN4_BB', 4000, 1)
TIMERB = 0

:SYND4_2929
if 
  4000 > TIMERB
goto_if_false @SYND4_2983
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYND4_2976
goto @SYND4_3349

:SYND4_2976
goto @SYND4_2929

:SYND4_2983
goto @SYND4_3117

:SYND4_2990
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39413)

:SYND4_3003
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYND4_3029
wait 0
goto @SYND4_3003

:SYND4_3029
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN4_BC', 4000, 1)
TIMERB = 0

:SYND4_3056
if 
  4000 > TIMERB
goto_if_false @SYND4_3110
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYND4_3103
goto @SYND4_3349

:SYND4_3103
goto @SYND4_3056

:SYND4_3110
goto @SYND4_3117

:SYND4_3117
TIMERB = 0

:SYND4_3124
if 
  1000 > TIMERB
goto_if_false @SYND4_3185
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYND4_3178
70@ = 1
goto @SYND4_3349

:SYND4_3178
goto @SYND4_3124

:SYND4_3185
Camera.SetFixedPosition(-2671.127, 1432.594, 25.4663, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2670.43, 1431.881, 25.3871, SwitchType.JumpCut)
Text.PrintNow('SYN4_12', 5000, 1)
World.CreateBirds(2682.42, 1420.237, 28.0, -2630.365, 1411.699, 28.0, 3, 0)
TIMERB = 0

:SYND4_3295
if 
  5000 > TIMERB
goto_if_false @SYND4_3349
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYND4_3342
goto @SYND4_3349

:SYND4_3342
goto @SYND4_3295

:SYND4_3349
gosub @SYND4_12808
61@ = Blip.AddForCoord(-2661.924, 1424.278, 22.8906)
if 
  70@ == 1
goto_if_false @SYND4_3410
Text.PrintNow('SYN4_12', 5000, 1)

:SYND4_3410
Player.ApplyBrakesToCar($statbike_temp, False)
goto @SYND4_3493

:SYND4_3424
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2660.145, 1419.211, 22.8906, 5.0, 5.0, 5.0, False)
goto_if_false @SYND4_3479
goto @SYND4_3493

:SYND4_3479
goto @SYND4_2095

:SYND4_3486
goto @SYND4_12026

:SYND4_3493
Streaming.RequestModel(28)
Streaming.RequestModel(30)
Streaming.RequestModel(40)
Streaming.RequestModel(63)
Streaming.RequestModel(19)
Streaming.RequestModel(352)
Streaming.RequestModel(214)
Streaming.RequestModel(346)
Streaming.LoadSpecialCharacter(1, 'JIZZY')
Streaming.RequestModel(246)
Streaming.RequestAnimation("SWAT")

:SYND4_3554
if or
  not Streaming.HasModelLoaded(28)
  not Streaming.HasModelLoaded(30)
  not Streaming.HasModelLoaded(40)
  not Streaming.HasModelLoaded(63)
  not Streaming.HasModelLoaded(19)
goto_if_false @SYND4_3596
wait 0
goto @SYND4_3554

:SYND4_3596
if or
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(214)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasAnimationLoaded("SWAT")
  not Streaming.HasModelLoaded(246)
goto_if_false @SYND4_3650
wait 0
goto @SYND4_3596

:SYND4_3650
if 
goto_if_false @SYND4_3672
wait 0
goto @SYND4_3650

:SYND4_3672
39@ = Char.Create(PedType.Special, 290, -2669.127, 1426.919, 905.4609)
Char.SetAreaVisible(39@, 3)
Char.SetAnimGroup(39@, "GANG1")
Game.SetRelationship(RelationshipType.Hate, PedType.Special, PedType.Player1)
Char.SetHeading(39@, 238.0256)
Char.SetSenseRange(39@, 5.0)
Char.SetDecisionMaker(39@, 55@)
44@ = Char.Create(PedType.CivFemale, 63, -2667.656, 1425.854, 905.4609)
Char.SetAreaVisible(44@, 3)
Char.SetHeading(44@, 76.4221)
Char.SetNeverTargeted(44@, True)
Task.ChatWithChar(39@, 44@, True, 1)
Task.ChatWithChar(44@, 39@, False, 1)
43@ = Blip.AddForChar(39@)
Blip.ChangeDisplay(43@, BlipDisplay.Neither)
79@ = Sequence.Open()
Task.SitDown(-1, 200000)
Task.LookAbout(-1, 2000)
Sequence.SetToRepeat(79@, True)
Sequence.Close(79@)
80@ = Sequence.Open()
Task.Pause(-1, 1000)
Char.PerformSequence(-1, 79@)
Sequence.Close(80@)
34@ = Char.Create(PedType.Mission1, 28, -2665.236, 1429.884, 905.4609)
Char.SetHeading(34@, 133.1702)
Char.PerformSequence(34@, 80@)
35@ = Char.Create(PedType.Mission1, 30, -2667.102, 1430.024, 905.4609)
Char.SetHeading(35@, 180.876)
Char.PerformSequence(35@, 79@)
36@ = Char.Create(PedType.Mission1, 28, -2665.064, 1428.402, 905.4609)
Char.SetHeading(36@, 106.0457)
Char.PerformSequence(36@, 79@)
37@ = Char.Create(PedType.Mission1, 63, -2668.117, 1429.933, 905.4609)
Char.SetHeading(37@, 180.876)
Char.PerformSequence(37@, 80@)
112@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2655.508, 1410.566, 905.2734, 4, -1)
Task.AchieveHeading(-1, 263.3926)
Task.Pause(-1, 2000)
Task.GoToCoordAnyMeans(-1, -2655.892, 1406.675, 905.2734, 4, -1)
Task.AchieveHeading(-1, 181.7338)
Task.Pause(-1, 2000)
Sequence.SetToRepeat(112@, True)
Sequence.Close(112@)
113@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2660.268, 1413.959, 905.2734, 4, -1)
Task.AchieveHeading(-1, 348.451)
Task.Pause(-1, 2000)
Task.GoToCoordAnyMeans(-1, -2662.841, 1413.732, 905.2808, 4, -1)
Task.AchieveHeading(-1, 96.5734)
Task.Pause(-1, 2000)
Sequence.SetToRepeat(113@, True)
Sequence.Close(113@)
102@ = Char.Create(PedType.Mission3, 214, -2655.508, 1410.566, 905.2734)
Char.SetHeading(102@, 263.3926)
103@ = Char.Create(PedType.Mission3, 214, -2660.268, 1413.959, 905.2734)
Char.SetHeading(103@, 348.451)
Char.PerformSequence(102@, 112@)
Char.PerformSequence(103@, 113@)
104@ = Char.Create(PedType.Mission3, 28, -2657.269, 1403.575, 905.2812)
Char.SetHeading(104@, 271.0479)
105@ = Char.Create(PedType.Mission3, 63, -2654.617, 1404.656, 905.2812)
Char.SetHeading(105@, 87.3589)
Task.ChatWithChar(104@, 105@, True, 1)
Task.ChatWithChar(105@, 104@, True, 1)
40@ = 0

:SYND4_4439
if 
  not Char.IsDead(34@(40@,5i))
goto_if_false @SYND4_4529
Char.SetAreaVisible(34@(40@,5i), 3)
Char.SetIsTargetPriority(34@(40@,5i), True)
Char.GiveWeapon(34@(40@,5i), WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(34@(40@,5i), WeaponType.MicroUzi)
Char.SetAccuracy(34@(40@,5i), 70)
Char.SetDecisionMaker(34@(40@,5i), 55@)

:SYND4_4529
if 
  not Char.IsDead(102@(40@,10i))
goto_if_false @SYND4_4560
Char.SetAreaVisible(102@(40@,10i), 3)

:SYND4_4560
40@ += 1
  40@ >= 4
goto_if_false @SYND4_4439
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
54@ = Blip.AddForCoord(-2655.075, 1431.789, 912.4016)
Blip.SetEntryExit(54@, -2661.74, 1423.483, 100.0)
Blip.ChangeDisplay(54@, BlipDisplay.Neither)
Camera.SetBehindPlayer
Path.FlushRoute
Path.ExtendRoute(-2653.217, 1424.867, 906.7266)
TIMERA = 0

:SYND4_4665
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_5236
wait 0
if 
  117@ == 0
goto_if_false @SYND4_4903
if 
  not Char.IsDead(49@)
goto_if_false @SYND4_4803
if 
  Player.IsTargetingChar($statbike_temp, 49@)
goto_if_false @SYND4_4803
if 
  not Char.IsDead(49@)
goto_if_false @SYND4_4767
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.KillCharOnFoot(49@, $stattreadstamina_ctr)

:SYND4_4767
if 
  not Char.IsDead(50@)
goto_if_false @SYND4_4796
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)

:SYND4_4796
117@ = 1

:SYND4_4803
if 
  not Char.IsDead(50@)
goto_if_false @SYND4_4903
if 
  Player.IsTargetingChar($statbike_temp, 50@)
goto_if_false @SYND4_4903
if 
  not Char.IsDead(49@)
goto_if_false @SYND4_4867
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.KillCharOnFoot(49@, $stattreadstamina_ctr)

:SYND4_4867
if 
  not Char.IsDead(50@)
goto_if_false @SYND4_4896
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)

:SYND4_4896
117@ = 1

:SYND4_4903
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @SYND4_4925
goto @SYND4_12241

:SYND4_4925
gosub @SYND4_12909
gosub @SYND4_13723
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2661.01, 1415.384, 921.1953, 20.0, 20.0, 20.0, False)
  48@ == 0
goto_if_false @SYND4_5229
World.SwitchEntryExit('PDOMES', False)
if 
  Blip.DoesExist(59@)
goto_if_false @SYND4_5028
Blip.Remove(59@)

:SYND4_5028
Blip.Remove(61@)
45@ = Blip.AddForCoord(-2667.368, 1427.435, 905.4609)
Blip.SetEntryExit(45@, -2661.74, 1423.483, 100.0)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_5124
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, -2661.055, 1416.019, 921.1953)
Char.SetHeading($stattreadstamina_ctr, 180.0)

:SYND4_5124
48@ = 1
if 
  not Char.IsDead(49@)
goto_if_false @SYND4_5152
Char.Delete(49@)

:SYND4_5152
if 
  not Char.IsDead(50@)
goto_if_false @SYND4_5173
Char.Delete(50@)

:SYND4_5173
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_5199
Char.SetHeading($stattreadstamina_ctr, 197.6688)

:SYND4_5199
Text.PrintNow('SYN4_99', 4000, 1)
Game.SetWantedMultiplier(0.0)
goto @SYND4_5243

:SYND4_5229
goto @SYND4_4665

:SYND4_5236
goto @SYND4_12026

:SYND4_5243
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_12019
wait 0
gosub @SYND4_12909
gosub @SYND4_13723
if 
  46@ == 0
goto_if_false @SYND4_7633
if 
  83@ == 1
goto_if_false @SYND4_5327
115@ = 1
goto @SYND4_12026

:SYND4_5327
40@ = 0

:SYND4_5334
if 
  Char.HasBeenDamagedByChar(34@(40@,5i), $stattreadstamina_ctr)
goto_if_false @SYND4_5387
Text.PrintNow('SYN4_08', 4000, 1)
83@ = 1
TIMERA = 0

:SYND4_5387
40@ += 1
  40@ >= 4
goto_if_false @SYND4_5334
if 
  Char.HasBeenDamagedByChar(39@, $stattreadstamina_ctr)
goto_if_false @SYND4_5457
Text.PrintNow('SYN4_06', 4000, 1)
83@ = 1
TIMERA = 0

:SYND4_5457
if 
  Char.HasBeenDamagedByChar(44@, $stattreadstamina_ctr)
goto_if_false @SYND4_5506
Text.PrintNow('SYN4_08', 4000, 1)
83@ = 1
TIMERA = 0

:SYND4_5506
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2668.716, 1421.846, 905.277, 15.0, 15.0, 15.0, False)
goto_if_false @SYND4_7633
World.SwitchEntryExit('PDOMES2', True)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.Out)

:SYND4_5582
if 
  Camera.GetFadingStatus
goto_if_false @SYND4_5606
wait 0
goto @SYND4_5582

:SYND4_5606
40@ = 0

:SYND4_5613
Char.Delete(34@(40@,5i))
40@ += 1
  40@ >= 4
goto_if_false @SYND4_5613
if 
  not Char.IsDead(44@)
goto_if_false @SYND4_5664
Char.Delete(44@)

:SYND4_5664
if 
  Blip.DoesExist(43@)
goto_if_false @SYND4_5685
Blip.Remove(43@)

:SYND4_5685
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_5706
Char.Delete(39@)

:SYND4_5706
Cutscene.Load('SYND_4B')

:SYND4_5717
if 
  not Cutscene.HasLoaded
goto_if_false @SYND4_5741
wait 0
goto @SYND4_5717

:SYND4_5741
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:SYND4_5750
if 
  not Cutscene.HasFinished
goto_if_false @SYND4_5774
wait 0
goto @SYND4_5750

:SYND4_5774
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:SYND4_5789
if 
  Camera.GetFadingStatus
goto_if_false @SYND4_5813
wait 0
goto @SYND4_5789

:SYND4_5813
gosub @SYND4_12777
39@ = Char.Create(PedType.Special, 290, -2669.127, 1426.919, 905.4609)
Char.SetAreaVisible(39@, 3)
Char.SetAnimGroup(39@, "GANG1")
Game.SetRelationship(RelationshipType.Hate, PedType.Special, PedType.Player1)
Char.SetHeading(39@, 238.0256)
Char.SetSenseRange(39@, 5.0)
Char.SetDecisionMaker(39@, 55@)
34@ = Char.Create(PedType.Mission1, 28, -2665.236, 1429.884, 905.4609)
Char.SetHeading(34@, 133.1702)
Char.PerformSequence(34@, 80@)
35@ = Char.Create(PedType.Mission1, 30, -2667.102, 1430.024, 905.4609)
Char.SetHeading(35@, 180.876)
Char.PerformSequence(35@, 79@)
36@ = Char.Create(PedType.Mission1, 28, -2665.064, 1428.402, 905.4609)
Char.SetHeading(36@, 106.0457)
Char.PerformSequence(36@, 79@)
37@ = Char.Create(PedType.Mission1, 63, -2668.117, 1429.933, 905.4609)
Char.SetHeading(37@, 180.876)
Char.PerformSequence(37@, 80@)
43@ = Blip.AddForChar(39@)
Blip.ChangeDisplay(43@, BlipDisplay.Neither)
Streaming.UnloadSpecialCharacter(1)
40@ = 0

:SYND4_6094
Char.SetAreaVisible(34@(40@,5i), 3)
Char.GiveWeapon(34@(40@,5i), WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(34@(40@,5i), WeaponType.MicroUzi)
40@ += 1
  40@ >= 4
goto_if_false @SYND4_6094
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_6208
Camera.SetFixedPosition(-2669.571, 1410.871, 907.8965, 0.0, 0.0, 0.0)
Camera.PointAtChar(39@, CameraMode.Fixed, SwitchType.JumpCut)

:SYND4_6208
87@ = Char.Create(PedType.Mission1, 163, -2667.152, 1421.553, 905.2812)
Char.SetHeading(87@, 275.4244)
Task.TogglePedThreatScanner(87@, False, False, False)
Char.SetAreaVisible(87@, 3)
wait 100
Camera.DoFade(0, Fade.In)

:SYND4_6271
if 
  Camera.GetFadingStatus
goto_if_false @SYND4_6295
wait 0
goto @SYND4_6271

:SYND4_6295
Text.PrintNow('SYN4_05', 4000, 1)
if 
  not Char.IsDead(87@)
goto_if_false @SYND4_6335
Char.PerformSequence(87@, 73@)

:SYND4_6335
40@ = 0

:SYND4_6342
if 
  not Char.IsDead(102@(40@,10i))
goto_if_false @SYND4_6382
Char.ClearTasksImmediately(102@(40@,10i))
Task.Duck(102@(40@,10i), -2)

:SYND4_6382
40@ += 1
  40@ >= 4
goto_if_false @SYND4_6342
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_6493
Char.ClearTasks(39@)
Char.SetCoordinatesDontWarpGang(39@, -2664.462, 1421.766, 905.277)
Char.SetHeading(39@, 249.6271)
Char.PerformSequence(39@, 73@)
Char.AddArmor(39@, 150)
Char.SetHealth(39@, 300)
Char.SetMaxHealth(39@, 300)
Char.SetSuffersCriticalHits(39@, False)

:SYND4_6493
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_6546
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, -2666.638, 1410.305, 905.2812)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetBehindPlayer

:SYND4_6546
wait 1000
TIMERB = 0

:SYND4_6558
if 
  3000 > TIMERB
goto_if_false @SYND4_6612
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYND4_6605
goto @SYND4_6612

:SYND4_6605
goto @SYND4_6558

:SYND4_6612
gosub @SYND4_12808
128@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2639.277, 1409.022, 905.4646, 4, -1)
Task.AchieveHeading(-1, 63.4408)
Sequence.Close(128@)
126@ = Sequence.Open()
Char.PerformSequence(-1, 128@)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_R", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 2000)
Task.StayInSamePlace(-1, False)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_OUT_R", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(126@, True)
Sequence.Close(126@)
127@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2639.352, 1402.766, 905.4646, 4, -1)
Task.AchieveHeading(-1, 73.286)
Sequence.Close(127@)
129@ = Sequence.Open()
Char.PerformSequence(-1, 127@)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_L", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 2000)
Task.StayInSamePlace(-1, False)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_OUT_L", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(129@, True)
Sequence.Close(129@)
130@ = Char.Create(PedType.Mission1, 163, -2639.277, 1409.022, 905.4646)
Char.SetAreaVisible(130@, 1)
Char.SetHeading(130@, 63.4408)
Char.SetDecisionMaker(130@, 55@)
Char.PerformSequence(130@, 126@)
131@ = Char.Create(PedType.Mission1, 164, -2639.352, 1402.766, 905.4646)
Char.SetAreaVisible(131@, 1)
Char.SetHeading(131@, 73.286)
Char.SetDecisionMaker(131@, 55@)
Char.PerformSequence(131@, 129@)
Char.GiveWeapon(130@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(130@, WeaponType.MicroUzi)
Char.GiveWeapon(131@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(131@, WeaponType.MicroUzi)
if 
  not Char.IsDead(34@)
goto_if_false @SYND4_7331
Char.SetCoordinatesDontWarpGang(34@, -2671.761, 1420.303, 905.2812)
Char.SetHeading(34@, 214.6866)

:SYND4_7331
if 
  not Char.IsDead(35@)
goto_if_false @SYND4_7377
Char.SetCoordinatesDontWarpGang(35@, -2665.095, 1421.339, 905.2812)
Char.SetHeading(35@, 167.6077)

:SYND4_7377
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_7456
Char.ClearTasksImmediately(39@)
Blip.ChangeDisplay(43@, BlipDisplay.Neither)
Char.SetCoordinatesDontWarpGang(39@, -2621.465, 1411.338, 905.4609)
Char.FreezePosition(39@, True)
Char.SetHeading(39@, 277.734)
Char.SetAreaVisible(39@, 0)
74@ = 1

:SYND4_7456
if 
  not Char.IsDead(87@)
goto_if_false @SYND4_7514
Char.ClearTasksImmediately(87@)
Char.SetCoordinatesDontWarpGang(87@, -2625.836, 1404.75, 6.0938)
Char.SetHeading(87@, 279.9147)
Char.SetAreaVisible(87@, 0)

:SYND4_7514
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
40@ = 0

:SYND4_7529
if 
  not Char.IsDead(34@(40@,5i))
goto_if_false @SYND4_7582
Char.ClearTasksImmediately(34@(40@,5i))
Task.KillCharOnFoot(34@(40@,5i), $stattreadstamina_ctr)
Char.SetDecisionMaker(34@(40@,5i), 47@)

:SYND4_7582
40@ += 1
  40@ >= 4
goto_if_false @SYND4_7529
Blip.ChangeDisplay(60@, BlipDisplay.Both)
Blip.ChangeDisplay(45@, BlipDisplay.Neither)
Camera.SetBehindPlayer
41@ = 1
46@ = 1

:SYND4_7633
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2640.998, 1406.275, 905.4609, 8.0, 8.0, 8.0, False)
goto_if_false @SYND4_7767
if and
  not Char.IsDead(130@)
  98@ == 0
goto_if_false @SYND4_7724
Char.ClearTasksImmediately(130@)
Task.KillCharOnFoot(130@, $stattreadstamina_ctr)
98@ = 1

:SYND4_7724
if and
  not Char.IsDead(131@)
  99@ == 0
goto_if_false @SYND4_7767
Char.ClearTasksImmediately(131@)
Task.KillCharOnFoot(131@, $stattreadstamina_ctr)
99@ = 1

:SYND4_7767
if 
  46@ == 1
goto_if_false @SYND4_11400
if 
  41@ == 1
goto_if_false @SYND4_9218
if and
  Char.IsDead(39@)
  85@ == 0
goto_if_false @SYND4_7854
if 
  Blip.DoesExist(60@)
goto_if_false @SYND4_7847
Blip.Remove(60@)

:SYND4_7847
goto @SYND4_12241

:SYND4_7854
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_7997
if and
  Char.LocateAnyMeans3D(39@, -2636.385, 1402.485, 905.4609, 2.0, 2.0, 2.0, False)
  74@ == 0
goto_if_false @SYND4_7997
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_7997
Char.ClearTasks(39@)
Blip.ChangeDisplay(43@, BlipDisplay.Neither)
Char.SetCoordinatesDontWarpGang(39@, -2621.465, 1411.338, 6.1094)
Char.SetHeading(39@, 277.734)
Char.SetAreaVisible(39@, 0)
74@ = 1

:SYND4_7997
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2624.8, 1411.54, 6.1015, 4.0, 4.0, 4.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2661.85, 1426.39, 22.8985, 4.0, 4.0, 4.0, False)
goto_if_false @SYND4_9218
gosub @SYND4_12843
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_8132
Char.SetCoordinatesDontWarpGang(39@, -2621.465, 1411.338, 6.1094)
Char.FreezePosition(39@, False)

:SYND4_8132
World.SwitchEntryExit('PDOMES', False)
World.SwitchEntryExit('PDOMES2', False)
Path.MarkRoadNodeAsDontWander(-2686.415, 1235.572, 54.4297)
Path.MarkRoadNodeAsDontWander(-2671.298, 1236.492, 54.4297)
if 
  Car.IsDead(64@)
goto_if_false @SYND4_8353
Car.Delete(64@)
World.ClearArea(-2611.471, 1409.036, 6.1335, 20.0, True)
Streaming.RequestModel(448)
Streaming.RequestModel(155)

:SYND4_8247
if or
  not Streaming.HasModelLoaded(448)
  not Streaming.HasModelLoaded(155)
goto_if_false @SYND4_8279
wait 0
goto @SYND4_8247

:SYND4_8279
64@ = Car.Create(448, -2611.471, 1409.036, 6.1335)
Car.SetHeading(64@, 274.4727)
132@ = Char.CreateInsideCar(64@, PedType.CivMale, 155)
Char.Delete(87@)
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_8353
Char.SetCanBeKnockedOffBike(39@, 3)

:SYND4_8353
75@ = Sequence.Open()
Task.EnterCarAsDriver(-1, 64@, 5000)
Task.Pause(-1, 1000)
Task.CarDriveWander(-1, 64@, 20.0, DrivingMode.AvoidCars)
Sequence.Close(75@)
76@ = Sequence.Open()
Task.LeaveCar(-1, 64@)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(76@)
Car.ChangeColor(64@, 4, 4)
World.ClearArea(-2621.81, 1398.744, 6.086, 20.0, True)
Blip.Remove(60@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_9218
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Weather.ForceNow(WeatherType.FoggySf)
Streaming.SetAreaVisible(0)
Camera.SetBehindPlayer
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_8535
Char.SetCoordinatesDontWarpGang(39@, -2624.485, 1411.353, 6.1015)
Char.SetHeading(39@, 267.9166)

:SYND4_8535
if 
  not Char.IsDead(87@)
goto_if_false @SYND4_8625
Char.ClearTasksImmediately(87@)
Char.SetCoordinatesDontWarpGang(87@, -2620.604, 1406.97, 6.1016)
Char.SetHeading(87@, 277.7697)
Char.GiveWeapon(87@, WeaponType.Pistol, 30000)
Char.SetCurrentWeapon(87@, WeaponType.Pistol)
Char.SetDecisionMaker(87@, 88@)
Char.SetAccuracy(87@, 30)
Char.SetShootRate(87@, 30)

:SYND4_8625
Char.Delete(44@)
40@ = 0

:SYND4_8637
Char.Delete(34@(40@,5i))
40@ += 1
  40@ >= 4
goto_if_false @SYND4_8637
gosub @SYND4_12777
if and
  not Char.IsDead(39@)
  not Car.IsDead(64@)
goto_if_false @SYND4_8759
Camera.SetFixedPosition(-2626.019, 1411.502, 9.1763, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2625.059, 1411.35, 8.9421, SwitchType.JumpCut)
Char.ClearTasksImmediately(39@)
Char.PerformSequence(39@, 75@)

:SYND4_8759
if 
  not Char.IsDead(87@)
goto_if_false @SYND4_8793
Char.ClearTasksImmediately(87@)
Task.EnterCarAsPassenger(87@, 64@, 5000, 0)

:SYND4_8793
gosub @SYND4_12876
TIMERB = 0

:SYND4_8807
if 
  4000 > TIMERB
goto_if_false @SYND4_8859
wait 0
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  Char.IsDead(132@)
goto_if_false @SYND4_8852

:SYND4_8852
goto @SYND4_8807

:SYND4_8859
85@ = 1
gosub @SYND4_12808
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_8919
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, -2627.1, 1410.399, 6.1015)
Char.SetHeading($stattreadstamina_ctr, 279.1925)

:SYND4_8919
133@ = Sequence.Open()
Task.Pause(-1, 4000)
Task.DriveBy(-1, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 10.0, DriveByType.Ai, False, 30)
Sequence.SetToRepeat(133@, True)
Sequence.Close(133@)
if 
  not Car.IsDead(64@)
goto_if_false @SYND4_9172
if and
  not Char.IsDead(87@)
  not Char.IsDead(39@)
goto_if_false @SYND4_9063
if 
  not Char.IsInCar(87@, 64@)
goto_if_false @SYND4_9044
Char.WarpIntoCarAsPassenger(87@, 64@, 0)

:SYND4_9044
Task.TogglePedThreatScanner(87@, True, True, True)
Char.PerformSequence(87@, 133@)

:SYND4_9063
if and
  not Char.IsDead(39@)
  not Car.IsDead(64@)
goto_if_false @SYND4_9172
Char.GiveWeapon(39@, WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(39@, WeaponType.MicroUzi)
Char.SetAccuracy(39@, 90)
if 
  not Char.IsInCar(39@, 64@)
goto_if_false @SYND4_9172
if 
  not Char.IsDead(132@)
goto_if_false @SYND4_9164
if 
  Char.IsInAnyCar(132@)
goto_if_false @SYND4_9164
Char.Delete(132@)

:SYND4_9164
Char.WarpIntoCar(39@, 64@)

:SYND4_9172
Text.ClearPrints
Blip.ChangeDisplay(43@, BlipDisplay.Both)
Text.PrintNow('SYN4_02', 10000, 1)
TIMERA = 0
Game.SetWantedMultiplier(1.0)
41@ = 2

:SYND4_9218
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_9388
$syn4_offsetY, $s4_has_phone, $syn4_offsetX = Char.GetCoordinates(39@)
if 
  Char.IsInAnyCar(39@)
goto_if_false @SYND4_9272
$stealth_help_flag = Char.StoreCarIsInNoSave(39@)

:SYND4_9272
$s7_velocity = Char.GetHighestPriorityEvent(39@)
if 
  is_int_var_equal_to_constant $s7_velocity == 7
goto_if_false @SYND4_9334
Char.ClearTasks(39@)
Task.FleeCharAnyMeans(39@, $stattreadstamina_ctr, 200.0, 9999999, True, 3000, 1000, 10.0)

:SYND4_9334
if 
  is_int_var_equal_to_constant $s7_velocity == 17
goto_if_false @SYND4_9388
Char.ClearTasks(39@)
Task.FleeCharAnyMeans(39@, $stattreadstamina_ctr, 200.0, 9999999, True, 3000, 1000, 10.0)

:SYND4_9388
if 
  not Char.IsDead(87@)
goto_if_false @SYND4_9474
$s7_velocity = Char.GetHighestPriorityEvent(87@)
if 
  is_int_var_equal_to_constant $s7_velocity == 17
goto_if_false @SYND4_9443
Char.ClearTasks(87@)
Task.KillCharOnFoot(87@, $stattreadstamina_ctr)

:SYND4_9443
if 
  is_int_var_equal_to_constant $s7_velocity == 7
goto_if_false @SYND4_9474
Char.ClearTasks(87@)
Task.KillCharOnFoot(87@, $stattreadstamina_ctr)

:SYND4_9474
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @SYND4_9709
90@ = Car.GetHealth($stealth_help_flag)
if 
  200 > 90@
goto_if_false @SYND4_9590
89@ = 1
if and
  not Char.IsDead(87@)
  93@ == 0
goto_if_false @SYND4_9583
134@ = Sequence.Open()
Task.LeaveCarImmediately(-1, $stealth_help_flag)
Task.Die(-1)
Sequence.Close(134@)
Char.PerformSequence(87@, 134@)
93@ = 1

:SYND4_9583
goto @SYND4_9597

:SYND4_9590
89@ = 0

:SYND4_9597
if and
  Car.IsOnFire($stealth_help_flag)
  94@ == 0
  not Char.IsDead(39@)
goto_if_false @SYND4_9709
135@ = Sequence.Open()
Task.LeaveCarImmediately(-1, $stealth_help_flag)
Task.FleeCharAnyMeans(-1, $stattreadstamina_ctr, 200.0, 9999999, True, 3000, 1000, 10.0)
Sequence.SetToRepeat(135@, True)
Sequence.Close(135@)
Char.SetDecisionMaker(39@, 55@)
TIMERB = 0
Char.PerformSequence(39@, 135@)
94@ = 1

:SYND4_9709
if 
  41@ == 2
goto_if_false @SYND4_10228
if and
  Car.IsDead(64@)
  77@ == 0
goto_if_false @SYND4_9773
Text.PrintNow('SYN4_32', 5000, 1)
goto @SYND4_12026

:SYND4_9773
if and
  not Car.IsDead(64@)
  not Char.IsDead(39@)
goto_if_false @SYND4_9834
if 
  Char.IsInCar(39@, 64@)
goto_if_false @SYND4_9827
77@ = 0
goto @SYND4_9834

:SYND4_9827
77@ = 1

:SYND4_9834
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_10117
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $syn4_offsetY, $s4_has_phone, $syn4_offsetX, 20.0, 20.0, 20.0, False)
goto_if_false @SYND4_10008
if and
  not Car.IsDead(64@)
  86@ == 0
goto_if_false @SYND4_10001
if 
  not Car.IsOnFire(64@)
goto_if_false @SYND4_10001
if 
  89@ == 0
goto_if_false @SYND4_9975
Task.CarMission(39@, 64@, -1, CarMission.Cruise, 25.0, DrivingMode.AvoidCars)
goto @SYND4_9994

:SYND4_9975
Task.CarMission(39@, 64@, -1, CarMission.Cruise, 32.0, DrivingMode.AvoidCars)

:SYND4_9994
86@ = 1

:SYND4_10001
goto @SYND4_10117

:SYND4_10008
if and
  not Car.IsDead(64@)
  86@ == 1
goto_if_false @SYND4_10117
if 
  not Car.IsOnFire(64@)
goto_if_false @SYND4_10117
if 
  89@ == 0
goto_if_false @SYND4_10091
Task.CarMission(39@, 64@, -1, CarMission.Cruise, 23.0, DrivingMode.AvoidCars)
goto @SYND4_10110

:SYND4_10091
Task.CarMission(39@, 64@, -1, CarMission.Cruise, 28.0, DrivingMode.AvoidCars)

:SYND4_10110
86@ = 0

:SYND4_10117
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_10228
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, $syn4_offsetY, $s4_has_phone, $syn4_offsetX, 150.0, 150.0, 150.0, False)
goto_if_false @SYND4_10198
Text.PrintNow('SYN4_29', 4000, 1)
goto @SYND4_12026

:SYND4_10198
if and
  not Char.IsInAnyCar(39@)
  91@ == 0
goto_if_false @SYND4_10228
91@ = 1

:SYND4_10228
if and
  not Char.IsDead(39@)
  not Car.IsDead(64@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_10943
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYND4_10943
84@ = Char.StoreCarIsIn($stattreadstamina_ctr)
92@ += 1
if 
  92@ > 100
goto_if_false @SYND4_10315
Car.ClearLastDamageEntity(64@)
92@ = 0

:SYND4_10315
if and
  not Car.IsDead(84@)
  TIMERA > 12000
goto_if_false @SYND4_10943
if 
  Car.HasBeenDamagedByCar(64@, 84@)
goto_if_false @SYND4_10943
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @SYND4_10943
100@ += 1
if 
  100@ == 1
goto_if_false @SYND4_10427
set_lvar_text_label 118@s = 'SYN4_AA'
set_lvar_int_to_constant 96@ = 39400
gosub @SYND4_13703

:SYND4_10427
if 
  100@ == 2
goto_if_false @SYND4_10476
set_lvar_text_label 118@s = 'SYN4_AB'
set_lvar_int_to_constant 96@ = 39401
gosub @SYND4_13703

:SYND4_10476
if 
  100@ == 3
goto_if_false @SYND4_10525
set_lvar_text_label 118@s = 'SYN4_AC'
set_lvar_int_to_constant 96@ = 39402
gosub @SYND4_13703

:SYND4_10525
if 
  100@ == 4
goto_if_false @SYND4_10574
set_lvar_text_label 118@s = 'SYN4_AD'
set_lvar_int_to_constant 96@ = 39403
gosub @SYND4_13703

:SYND4_10574
if 
  100@ == 5
goto_if_false @SYND4_10623
set_lvar_text_label 118@s = 'SYN4_AE'
set_lvar_int_to_constant 96@ = 39404
gosub @SYND4_13703

:SYND4_10623
if 
  100@ == 6
goto_if_false @SYND4_10672
set_lvar_text_label 118@s = 'SYN4_AF'
set_lvar_int_to_constant 96@ = 39405
gosub @SYND4_13703

:SYND4_10672
if 
  100@ == 7
goto_if_false @SYND4_10721
set_lvar_text_label 118@s = 'SYN4_AG'
set_lvar_int_to_constant 96@ = 39406
gosub @SYND4_13703

:SYND4_10721
if 
  100@ == 8
goto_if_false @SYND4_10770
set_lvar_text_label 118@s = 'SYN4_AH'
set_lvar_int_to_constant 96@ = 39407
gosub @SYND4_13703

:SYND4_10770
if 
  100@ == 9
goto_if_false @SYND4_10819
set_lvar_text_label 118@s = 'SYN4_AJ'
set_lvar_int_to_constant 96@ = 39408
gosub @SYND4_13703

:SYND4_10819
if 
  100@ == 10
goto_if_false @SYND4_10868
set_lvar_text_label 118@s = 'SYN4_AK'
set_lvar_int_to_constant 96@ = 39409
gosub @SYND4_13703

:SYND4_10868
if 
  100@ == 11
goto_if_false @SYND4_10924
set_lvar_text_label 118@s = 'SYN4_AL'
set_lvar_int_to_constant 96@ = 39410
gosub @SYND4_13703
100@ = 0

:SYND4_10924
TIMERA = 0
92@ = 0
Car.ClearLastDamageEntity(64@)

:SYND4_10943
if and
  Char.IsDead(39@)
  56@ == 0
goto_if_false @SYND4_11091
if 
  Blip.DoesExist(43@)
goto_if_false @SYND4_10987
Blip.Remove(43@)

:SYND4_10987
Streaming.RequestModel(#MOBILE1993B)

:SYND4_10992
if 
  not Streaming.HasModelLoaded(#MOBILE1993B)
goto_if_false @SYND4_11019
wait 0
goto @SYND4_10992

:SYND4_11019
136@ = World.GetGroundZFor3DCoord($syn4_offsetY, $s4_has_phone, $syn4_offsetX)
136@ += 0.5
78@ = Object.CreateNoOffset(#MOBILE1993B, $syn4_offsetY, $s4_has_phone, 136@)
69@ = Blip.AddForObject(78@)
Text.PrintNow('SYN4_33', 4000, 1)
56@ = 1

:SYND4_11091
if 
  56@ == 1
goto_if_false @SYND4_11138
Fx.DrawCorona($syn4_offsetY, $s4_has_phone, 136@, 0.2, 9, FlareType.None, 200, 200, 200)

:SYND4_11138
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $syn4_offsetY, $s4_has_phone, $syn4_offsetX, 1.2, 1.2, 2.0, False)
  56@ == 1
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYND4_11271
Text.ClearPrints
Object.Delete(78@)
if 
  Blip.DoesExist(69@)
goto_if_false @SYND4_11220
Blip.Remove(69@)

:SYND4_11220
if 
  Blip.DoesExist(43@)
goto_if_false @SYND4_11241
Blip.Remove(43@)

:SYND4_11241
Text.PrintNow('SYN4_11', 2000, 1)
TIMERB = 0
56@ = 2

:SYND4_11271
if and
  56@ == 2
  TIMERB > 2000
  not Char.IsStuckUnderCar($stattreadstamina_ctr)
goto_if_false @SYND4_11400
gosub @SYND4_12777

:SYND4_11309
Streaming.RequestModel(330)

:SYND4_11314
if 
  not Streaming.HasModelLoaded(330)
goto_if_false @SYND4_11341
wait 0
goto @SYND4_11314

:SYND4_11341
Player.ClearWantedLevel($statbike_temp)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_11374
Char.ClearTasks($stattreadstamina_ctr)
Task.UseMobilePhone($stattreadstamina_ctr, True)

:SYND4_11374
wait 2000
gosub @SYND4_12808
46@ = 2
TIMERB = 0

:SYND4_11400
if 
  46@ == 2
goto_if_false @SYND4_12012
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @SYND4_11449
95@ = 6
95@ = 6

:SYND4_11449
if and
  97@ == 2
  95@ == 0
goto_if_false @SYND4_11534
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_11498
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:SYND4_11498
set_lvar_text_label 118@s = 'MCES11A'
set_lvar_int_to_constant 96@ = 25314
gosub @SYND4_13703
95@ = 1

:SYND4_11534
if and
  97@ == 2
  95@ == 1
goto_if_false @SYND4_11616
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_11580
Char.StopFacialTalk($stattreadstamina_ctr)

:SYND4_11580
set_lvar_text_label 118@s = 'MCES11B'
set_lvar_int_to_constant 96@ = 25315
gosub @SYND4_13703
95@ = 2

:SYND4_11616
if and
  97@ == 2
  95@ == 2
goto_if_false @SYND4_11701
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_11665
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:SYND4_11665
set_lvar_text_label 118@s = 'MCES11C'
set_lvar_int_to_constant 96@ = 25316
gosub @SYND4_13703
95@ = 3

:SYND4_11701
if and
  97@ == 2
  95@ == 3
goto_if_false @SYND4_11783
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_11747
Char.StopFacialTalk($stattreadstamina_ctr)

:SYND4_11747
set_lvar_text_label 118@s = 'MCES11D'
set_lvar_int_to_constant 96@ = 25317
gosub @SYND4_13703
95@ = 4

:SYND4_11783
if and
  97@ == 2
  95@ == 4
goto_if_false @SYND4_11844
set_lvar_text_label 118@s = 'MCES11E'
set_lvar_int_to_constant 96@ = 25318
gosub @SYND4_13703
95@ = 5

:SYND4_11844
if and
  97@ == 2
  95@ == 5
goto_if_false @SYND4_11929
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_11893
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:SYND4_11893
set_lvar_text_label 118@s = 'MCES11F'
set_lvar_int_to_constant 96@ = 25319
gosub @SYND4_13703
95@ = 6

:SYND4_11929
if and
  97@ == 2
  95@ == 6
goto_if_false @SYND4_12012
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_11975
Char.StopFacialTalk($stattreadstamina_ctr)

:SYND4_11975
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_11998
Task.UseMobilePhone($stattreadstamina_ctr, False)

:SYND4_11998
gosub @SYND4_12808
goto @SYND4_12241

:SYND4_12012
goto @SYND4_5243

:SYND4_12019
goto @SYND4_12026

:SYND4_12026
if 
  Blip.DoesExist(43@)
goto_if_false @SYND4_12047
Blip.Remove(43@)

:SYND4_12047
if 
  Blip.DoesExist(45@)
goto_if_false @SYND4_12068
Blip.Remove(45@)

:SYND4_12068
if 
  Blip.DoesExist(54@)
goto_if_false @SYND4_12089
Blip.Remove(54@)

:SYND4_12089
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if or
  41@ == 1
  115@ == 1
goto_if_false @SYND4_12237
gosub @SYND4_12843
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_12230
41@ = 1
Streaming.SetAreaVisible(0)
Streaming.RequestCollision(-2623.805, 1409.816)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, -2624.461, 1410.706, 6.1015)
Char.SetHeading($stattreadstamina_ctr, 176.884)
Streaming.LoadScene(-2624.461, 1410.706, 6.1015)

:SYND4_12230
gosub @SYND4_12876

:SYND4_12237
Camera.SetBehindPlayer
return 

:SYND4_12241
Text.ClearPrints
if 
  Blip.DoesExist(43@)
goto_if_false @SYND4_12264
Blip.Remove(43@)

:SYND4_12264
if 
  Blip.DoesExist(45@)
goto_if_false @SYND4_12285
Blip.Remove(45@)

:SYND4_12285
if 
  Blip.DoesExist(54@)
goto_if_false @SYND4_12306
Blip.Remove(54@)

:SYND4_12306
$garageZ += 1
Text.PrintWithNumberBig('M_PASSS', 12000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 12000)
Blip.Remove($530)
Stat.AwardPlayerMissionRespect(30)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('SYND_4')
Stat.PlayerMadeProgress(1)
Blip.Remove($garage_blip_icon)
$garage_blip_icon = Blip.AddSpriteForContactPoint(-1717.05, 1280.91, 6.23, $flag_garage_mission_counter)
return 

:SYND4_12403
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_12424
Char.StopFacialTalk($stattreadstamina_ctr)

:SYND4_12424
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_12445
Char.RemoveElegantly(39@)

:SYND4_12445
World.SwitchEntryExit('PDOMES', False)
World.SwitchEntryExit('PDOMES2', False)
Game.SetWantedMultiplier(1.0)
Path.UnmarkAllRoadNodesAsDontWander
if 
  Blip.DoesExist(69@)
goto_if_false @SYND4_12501
Blip.Remove(69@)

:SYND4_12501
if 
  Blip.DoesExist(59@)
goto_if_false @SYND4_12522
Blip.Remove(59@)

:SYND4_12522
if 
  Blip.DoesExist(43@)
goto_if_false @SYND4_12543
Blip.Remove(43@)

:SYND4_12543
if 
  Blip.DoesExist(45@)
goto_if_false @SYND4_12564
Blip.Remove(45@)

:SYND4_12564
if 
  Blip.DoesExist(54@)
goto_if_false @SYND4_12585
Blip.Remove(54@)

:SYND4_12585
if 
  Blip.DoesExist(60@)
goto_if_false @SYND4_12606
Blip.Remove(60@)

:SYND4_12606
if 
  Blip.DoesExist(61@)
goto_if_false @SYND4_12627
Blip.Remove(61@)

:SYND4_12627
$flag_courier_mission_passed = Clock.GetGameTimer()
Streaming.MarkModelAsNoLongerNeeded(347)
Streaming.MarkModelAsNoLongerNeeded(28)
Streaming.MarkModelAsNoLongerNeeded(30)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(40)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(#MOBILE1993B)
Streaming.MarkModelAsNoLongerNeeded(#WAREHOUSE_DOOR2B)
Streaming.MarkModelAsNoLongerNeeded(409)
Streaming.MarkModelAsNoLongerNeeded(19)
Streaming.MarkModelAsNoLongerNeeded(409)
Streaming.MarkModelAsNoLongerNeeded(575)
Streaming.MarkModelAsNoLongerNeeded(163)
Streaming.MarkModelAsNoLongerNeeded(164)
Streaming.MarkModelAsNoLongerNeeded(71)
Streaming.MarkModelAsNoLongerNeeded(214)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(448)
Streaming.MarkModelAsNoLongerNeeded(155)
Streaming.MarkModelAsNoLongerNeeded(246)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_12752
Player.ClearWantedLevel($statbike_temp)

:SYND4_12752
Streaming.RemoveAnimation("SWAT")
Streaming.UnloadSpecialCharacter(1)
$weapon_shop1_blip = 0
Weather.Release
Mission.Finish
return 

:SYND4_12777
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_12806
Text.ClearPrints
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)

:SYND4_12806
return 

:SYND4_12808
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_12841
Text.ClearPrints
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut

:SYND4_12841
return 

:SYND4_12843
Camera.DoFade(500, Fade.Out)

:SYND4_12850
if 
  Camera.GetFadingStatus
goto_if_false @SYND4_12874
wait 0
goto @SYND4_12850

:SYND4_12874
return 

:SYND4_12876
Camera.DoFade(500, Fade.In)

:SYND4_12883
if 
  Camera.GetFadingStatus
goto_if_false @SYND4_12907
wait 0
goto @SYND4_12883

:SYND4_12907
return 

:SYND4_12909
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @SYND4_12970
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_12970
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, -2623.977, 1404.812, 6.111)
Char.SetHeading($stattreadstamina_ctr, 352.628)

:SYND4_12970
if 
is_ps2_keyboard_key_just_pressed 81
goto_if_false @SYND4_13008
if 
  not Car.IsDead(64@)
goto_if_false @SYND4_13008
Car.FreezePosition(64@, True)

:SYND4_13008
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @SYND4_13044
$s7_timer = Streaming.GetAreaVisible()
view_integer_variable $s7_timer {_p2} "AREA_NAME"

:SYND4_13044
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @SYND4_13095
World.CreateBirds(-2616.109, 1408.629, 6.5, -2618.498, 1415.866, 6.5, 3, 0)

:SYND4_13095
if 
is_ps2_keyboard_key_just_pressed 71
goto_if_false @SYND4_13158
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_13158
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, -2661.192, 1426.128, 22.8906)
Char.SetHeading($stattreadstamina_ctr, 188.7666)
Camera.SetBehindPlayer

:SYND4_13158
if 
is_ps2_keyboard_key_just_pressed 69
goto_if_false @SYND4_13221
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_13221
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, -2661.493, 1403.067, 905.277)
Char.SetHeading($stattreadstamina_ctr, 85.1708)
Camera.SetBehindPlayer

:SYND4_13221
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @SYND4_13265
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYND4_13265
view_integer_variable $health_counter {_p2} "HEALTH"

:SYND4_13265
if 
is_ps2_keyboard_key_just_pressed 90
goto_if_false @SYND4_13287
goto @SYND4_11309

:SYND4_13287
if 
is_ps2_keyboard_key_just_pressed 87
goto_if_false @SYND4_13326
if 
  not Car.IsDead(64@)
goto_if_false @SYND4_13326
Car.SetHealth(64@, 200)

:SYND4_13326
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @SYND4_13701
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_13364
Char.SetHealth(39@, 1)

:SYND4_13364
gosub @SYND4_12777
Char.SetCoordinatesDontWarpGang(39@, -2659.382, 1530.248, 53.9453)
Char.SetHeading(39@, 0.0)
Camera.SetFixedPosition(-2655.093, 1543.846, 55.7815, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2655.445, 1542.918, 55.652, SwitchType.JumpCut)
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_13480
Char.ClearTasksImmediately(39@)
Task.Jump(39@, False)

:SYND4_13480
wait 1000
Clock.SetTimeScale(0.4)
if 
  not Char.IsDead(39@)
goto_if_false @SYND4_13549
Camera.SetFixedPosition(-2630.056, 1557.202, 18.3729, 0.0, 0.0, 0.0)
Camera.PointAtChar(39@, CameraMode.Fixed, SwitchType.JumpCut)

:SYND4_13549
TIMERB = 0

:SYND4_13556
if 
  750 > TIMERB
goto_if_false @SYND4_13610
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYND4_13603
goto @SYND4_13678

:SYND4_13603
goto @SYND4_13556

:SYND4_13610
Clock.SetTimeScale(1.0)
TIMERB = 0

:SYND4_13624
if 
  1500 > TIMERB
goto_if_false @SYND4_13678
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYND4_13671
goto @SYND4_13678

:SYND4_13671
goto @SYND4_13624

:SYND4_13678
gosub @SYND4_12808
Text.PrintNow('SYN4_29', 4000, 1)

:SYND4_13701
return 

:SYND4_13703
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 96@)
97@ = 0
return 

:SYND4_13723
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  97@ == 0
goto_if_false @SYND4_13766
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(118@s, 10000, 1)
97@ = 1

:SYND4_13766
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  97@ == 1
goto_if_false @SYND4_13804
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(118@s)
97@ = 2

:SYND4_13804
return 

//-------------Mission 62---------------
// Originally: Toreno's Last Flight

:SYN6
script_name 'SYN6'
gosub @SYN6_47
if 
  has_deatharrest_been_executed 
goto_if_false @SYN6_38
gosub @SYN6_9151

:SYN6_38
gosub @SYN6_9238
terminate_this_script 

:SYN6_47
$weapon_shop1_blip = 1
$1526 = 1
Stat.RegisterMissionGiven
Player.SetControl($statbike_temp, False)
Streaming.LoadScene(-2034.255, 176.5, 27.8359)
Camera.DoFade(2000, Fade.Out)

:SYN6_94
if 
  Camera.GetFadingStatus
goto_if_false @SYN6_118
wait 0
goto @SYN6_94

:SYN6_118
Streaming.SetAreaVisible(0)
Text.LoadMissionText('SYN6')
Streaming.RequestModel(487)
Streaming.RequestModel(521)
Streaming.RequestModel(355)
Streaming.RequestModel(346)
Streaming.RequestModel(24)
Streaming.RequestModel(25)
Streaming.RequestModel(359)
Streaming.RequestModel(413)
Streaming.RequestModel(330)
Streaming.RequestModel(348)
Streaming.LoadAllModelsNow

:SYN6_183
if or
  not Streaming.HasModelLoaded(487)
  not Streaming.HasModelLoaded(521)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(24)
goto_if_false @SYN6_229
wait 0
goto @SYN6_183

:SYN6_229
if or
  not Streaming.HasModelLoaded(359)
  not Streaming.HasModelLoaded(25)
  not Streaming.HasModelLoaded(413)
  not Streaming.HasModelLoaded(330)
  not Streaming.HasModelLoaded(348)
goto_if_false @SYN6_275
wait 0
goto @SYN6_229

:SYN6_275
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @SYN6_302
wait 0
goto @SYN6_275

:SYN6_302
47@ = Char.Create(PedType.CivMale, 24, -1691.72, 703.6754, 29.6065)
48@ = Char.Create(PedType.CivMale, 25, -1701.061, 712.767, 23.8976)
49@ = Char.Create(PedType.CivMale, 25, -1688.372, 687.4631, 20.615)
50@ = Char.Create(PedType.CivMale, 25, -1686.15, 701.9777, 29.6065)
51@ = Char.Create(PedType.CivMale, 24, -1681.696, 680.8264, 18.8009)
52@ = Char.Create(PedType.CivMale, 25, -1690.15, 716.6064, 29.6065)
Char.SetHeading(47@, 82.107)
Char.SetHeading(48@, 224.7688)
Char.SetHeading(49@, 118.1096)
Task.KindaStayInSamePlace(49@, True)
Char.SetHeading(50@, 239.6)
Task.StayInSamePlace(50@, True)
Task.ToggleDuck(50@, True)
Char.SetHeading(51@, 86.9582)
Task.KindaStayInSamePlace(51@, True)
Char.SetHeading(52@, 222.9582)
77@ = 0

:SYN6_541
if 
  5 > 77@
goto_if_false @SYN6_622
Char.GiveWeapon(47@(77@,6i), WeaponType.Pistol, 9999)
Char.SetOnlyDamagedByPlayer(47@(77@,6i), True)
Char.SetRelationship(47@(77@,6i), RelationshipType.Hate, PedType.Player1)
Char.SetIsTargetPriority(47@(77@,6i), True)
77@ += 1
goto @SYN6_541

:SYN6_622
Char.GiveWeapon(52@, WeaponType.RocketLauncher, 9999)
Char.SetOnlyDamagedByPlayer(52@, True)
Char.SetRelationship(52@, RelationshipType.Hate, PedType.Player1)
Char.SetIsTargetPriority(52@, True)
Char.SetDropsWeaponsWhenDead(52@, False)
Task.StayInSamePlace(52@, True)
Char.SetAccuracy(52@, 100)
Char.SetShootRate(52@, 50)
Char.SetWeaponSkill(52@, 0)
63@ = Pickup.CreateWithAmmo(359, PickupType.Once, 60, -1688.86, 695.3077, 30.3452)
64@ = Pickup.CreateWithAmmo(355, PickupType.Once, 120, -1683.497, 716.2739, 30.6452)
53@ = Car.Create(487, -1680.502, 705.6951, 29.6065)
Heli.SetBladesFullSpeed(53@)
Car.SetHeading(53@, 90.0)
Car.OpenDoor(53@, CarDoor.RightRearDoor)
Car.OpenDoor(53@, CarDoor.LeftRearDoor)
Car.SetProofs(53@, True, True, True, True, True)
Car.ChangeColor(53@, 10, 125)
57@ = Car.Create(521, -1705.198, 682.3814, 23.8906)
Streaming.MarkModelAsNoLongerNeeded(521)
Car.SetHeading(57@, 181.5462)
Car.SetCanBurstTires(57@, False)
58@ = Car.Create(413, -1665.8, 682.1571, 13.8891)
Car.SetHeading(58@, 214.5462)
Car.ChangeColor(58@, 7, 1)
Car.OpenDoor(58@, CarDoor.LeftRearDoor)
Streaming.MarkModelAsNoLongerNeeded(413)
60@ = -1
61@ = 0
65@ = 0
72@ = 0
73@ = 0
74@ = 0
75@ = 0
76@ = 0
77@ = 0
78@ = 0
79@ = 0
80@ = 0
81@ = 0
82@ = 0
83@ = 0
84@ = 0
85@ = 0
86@ = 0
89@ = 0
92@ = 0
91@ = 0
93@ = 0
94@ = 0
140@ = 1
141@ = 2
142@ = 0
143@ = 1
144@ = 0
145@ = 0
set_lvar_text_label 106@s = 'MWUZ01A'
set_lvar_text_label 108@s = 'MWUZ01B'
set_lvar_text_label 110@s = 'MWUZ01C'
set_lvar_text_label 112@s = 'MWUZ01D'
set_lvar_text_label 114@s = 'MWUZ01E'
set_lvar_text_label 116@s = 'MWUZ01F'
set_lvar_text_label 118@s = 'MWUZ01G'
set_lvar_text_label 120@s = 'MWUZ01H'
set_lvar_text_label 122@s = 'MWUZ01J'
set_lvar_text_label 124@s = 'MWUZ01K'
set_lvar_int_to_constant 129@ = 30009
set_lvar_int_to_constant 130@ = 30010
set_lvar_int_to_constant 131@ = 30011
set_lvar_int_to_constant 132@ = 30012
set_lvar_int_to_constant 133@ = 30013
set_lvar_int_to_constant 134@ = 30014
set_lvar_int_to_constant 135@ = 30015
set_lvar_int_to_constant 136@ = 30016
set_lvar_int_to_constant 137@ = 30017
set_lvar_int_to_constant 138@ = 30018
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 20804)
TIMERA = 0
Hud.SwitchWidescreen(True)
Char.SetCoordinates($stattreadstamina_ctr, -2030.25, 148.8279, 27.8359)
Char.SetHeading($stattreadstamina_ctr, 350.0)
Camera.SetFixedPosition(-2024.214, 147.8178, 28.9808, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2025.159, 148.1366, 29.046, SwitchType.JumpCut)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Streaming.LoadSceneInDirection(-2024.137, 149.9411, 27.8359, 348.3137)
wait 0
Camera.DoFade(2500, Fade.In)
Streaming.LoadSceneInDirection(-2024.137, 149.9411, 27.8359, 348.3137)
wait 0
Task.GoStraightToCoord($stattreadstamina_ctr, -2026.675, 148.8807, 27.8359, MoveState.Walk, -2)

:SYN6_1531
if 
  Camera.GetFadingStatus
goto_if_false @SYN6_1555
wait 0
goto @SYN6_1531

:SYN6_1555
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @SYN6_1574
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:SYN6_1574
wait 0
TIMERA = 0
84@ = 4
85@ = 0
86@ = 1

:SYN6_1606
wait 0
if 
  142@ <> 0
goto_if_false @SYN6_1963
if 
  144@ == 0
goto_if_false @SYN6_1681
if 
  Audio.HasMissionAudioLoaded(141@)
goto_if_false @SYN6_1667
Audio.ClearMissionAudio(141@)

:SYN6_1667
144@ = 1
145@ = 1

:SYN6_1681
if 
  144@ == 1
goto_if_false @SYN6_1718
Audio.LoadMissionAudio(140@, 128@(142@,12i))
144@ = 2

:SYN6_1718
if 
  144@ == 2
goto_if_false @SYN6_1778
if 
  Audio.HasMissionAudioLoaded(140@)
goto_if_false @SYN6_1778
Audio.PlayMissionAudio(140@)
Text.PrintNow(104@(142@,12s), 10000, 1)
144@ = 3

:SYN6_1778
if 
  144@ == 3
goto_if_false @SYN6_1963
if 
  Audio.HasMissionAudioFinished(140@)
goto_if_false @SYN6_1902
Text.ClearThisPrint(104@(142@,12s))
if 
  140@ == 1
goto_if_false @SYN6_1860
140@ = 2
141@ = 1
goto @SYN6_1874

:SYN6_1860
140@ = 1
141@ = 2

:SYN6_1874
142@ = 0
144@ = 0
145@ = 0
goto @SYN6_1963

:SYN6_1902
if 
  not Audio.HasMissionAudioLoaded(141@)
goto_if_false @SYN6_1963
if 
  10 > 142@
goto_if_false @SYN6_1963
set_lvar_int_to_lvar_int 143@ = 142@
143@ += 1
Audio.LoadMissionAudio(141@, 128@(143@,12i))

:SYN6_1963
if 
  89@ == 1
goto_if_false @SYN6_1985
Camera.Shake(20)

:SYN6_1985
if 
  84@ <> -13
goto_if_false @SYN6_2796
if 
  84@ > 4
goto_if_false @SYN6_2161
if 
  85@ == 1
goto_if_false @SYN6_2091
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @SYN6_2091

:SYN6_2056
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @SYN6_2084
wait 0
goto @SYN6_2056

:SYN6_2084
84@ = 100

:SYN6_2091
if 
  86@ == 1
goto_if_false @SYN6_2161
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN6_2161

:SYN6_2126
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN6_2154
wait 0
goto @SYN6_2126

:SYN6_2154
84@ = 10

:SYN6_2161
if 
  84@ == 4
goto_if_false @SYN6_2217
if 
  TIMERA > 1000
goto_if_false @SYN6_2217
Char.ClearTasks($stattreadstamina_ctr)
Task.UseMobilePhone($stattreadstamina_ctr, True)
84@ = 5

:SYN6_2217
if 
  84@ == 5
goto_if_false @SYN6_2275
if 
  TIMERA > 5000
goto_if_false @SYN6_2275
142@ = 1
TIMERA = 0
84@ = 7

:SYN6_2275
if 
  84@ == 7
goto_if_false @SYN6_2326
if 
  TIMERA > 2500
goto_if_false @SYN6_2326
84@ = 10
TIMERA = 0

:SYN6_2326
if 
  84@ == 10
goto_if_false @SYN6_2387
86@ = 0
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
84@ = 15
85@ = 1
TIMERA = 0

:SYN6_2387
if 
  84@ > 10
goto_if_false @SYN6_2796
if 
  145@ == 0
goto_if_false @SYN6_2796
switch_start 84@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @SYN6_2796 {caseNum1} 15 {caseLabel1} @SYN6_2551 {caseNum2} 20 {caseLabel2} @SYN6_2572 {caseNum3} 30 {caseLabel3} @SYN6_2593 {caseNum4} 40 {caseLabel4} @SYN6_2614 {caseNum5} 50 {caseLabel5} @SYN6_2635 {caseNum6} 60 {caseLabel6} @SYN6_2656 {caseNum7} 70 {caseLabel7} @SYN6_2677
switch_continued 80 {caseLabel1} @SYN6_2698 {caseNum2} 90 {caseLabel2} @SYN6_2719 {caseNum3} 100 {caseLabel3} @SYN6_2740 {caseNum4} -1 {caseLabel4} @SYN6_2796 {caseNum5} -1 {caseLabel5} @SYN6_2796 {caseNum6} -1 {caseLabel6} @SYN6_2796 {caseNum7} -1 {caseLabel7} @SYN6_2796 {caseNum8} -1 {caseLabel8} @SYN6_2796 {caseNum9} -1 {caseLabel9} @SYN6_2796

:SYN6_2551
142@ = 2
84@ = 20
goto @SYN6_2796

:SYN6_2572
142@ = 3
84@ = 30
goto @SYN6_2796

:SYN6_2593
142@ = 4
84@ = 40
goto @SYN6_2796

:SYN6_2614
142@ = 5
84@ = 50
goto @SYN6_2796

:SYN6_2635
142@ = 6
84@ = 60
goto @SYN6_2796

:SYN6_2656
142@ = 7
84@ = 70
goto @SYN6_2796

:SYN6_2677
142@ = 8
84@ = 90
goto @SYN6_2796

:SYN6_2698
142@ = 9
84@ = 90
goto @SYN6_2796

:SYN6_2719
142@ = 10
84@ = 100
goto @SYN6_2796

:SYN6_2740
142@ = 0
Task.UseMobilePhone($stattreadstamina_ctr, False)
Streaming.MarkModelAsNoLongerNeeded(330)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Text.PrintNow('SYN6_01', 6000, 1)
84@ = 110
goto @SYN6_2796

:SYN6_2796
if 
  84@ == 110
goto_if_false @SYN6_2860
Char.ClearTasks($stattreadstamina_ctr)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
34@ = Blip.AddForCoord(-1680.377, 705.462, 30.2209)
84@ = -13
85@ = 0

:SYN6_2860
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SYN6_2882
goto @SYN6_9169

:SYN6_2882
if 
is_ps2_keyboard_key_pressed 80
goto_if_false @SYN6_2904
Player.AlterWantedLevel($statbike_temp, 2)

:SYN6_2904
if 
is_ps2_keyboard_key_pressed 79
goto_if_false @SYN6_2926
Player.AlterWantedLevel($statbike_temp, 0)

:SYN6_2926
$RStickY = Clock.GetGameTimer()
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @SYN6_2954
goto @SYN6_9151

:SYN6_2954
if 
  78@ == 1
goto_if_false @SYN6_3003
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN6_3003
60@ = 6
78@ = 0

:SYN6_3003
if 
  60@ == -99
goto_if_false @SYN6_3044
149@ = Car.Create(487, -1680.502, 705.6951, 29.6065)

:SYN6_3044
if 
  60@ == -1
goto_if_false @SYN6_3838
if 
is_ps2_keyboard_key_pressed 87
goto_if_false @SYN6_3150
World.ClearArea(-1704.324, 637.5129, 23.8959, 0.5, False)
Streaming.LoadScene(-1704.324, 637.5129, 23.8959)
Char.SetCoordinates($stattreadstamina_ctr, -1704.324, 637.5129, 23.8959)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetBehindPlayer

:SYN6_3150
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1699.991, 686.4141, 20.0, 60.0, 60.0, 80.0, False)
goto_if_false @SYN6_3244
84@ = -13
Char.ClearTasks($stattreadstamina_ctr)
Blip.Remove(34@)
62@ = Blip.AddForPickup(63@)
Blip.ChangeColor(62@, BlipColor.Green)
72@ = 1
60@ += 1

:SYN6_3244
if 
  60@ == -1
goto_if_false @SYN6_3343
if 
  Char.DoesExist(47@)
goto_if_false @SYN6_3343
if 
  Char.HasBeenDamagedByChar(47@, $stattreadstamina_ctr)
goto_if_false @SYN6_3343
84@ = -13
Char.ClearTasks($stattreadstamina_ctr)
Blip.Remove(34@)
62@ = Blip.AddForPickup(63@)
Blip.ChangeColor(62@, BlipColor.Green)
72@ = 1
60@ += 1

:SYN6_3343
if 
  60@ == -1
goto_if_false @SYN6_3442
if 
  Char.DoesExist(48@)
goto_if_false @SYN6_3442
if 
  Char.HasBeenDamagedByChar(48@, $stattreadstamina_ctr)
goto_if_false @SYN6_3442
84@ = -13
Char.ClearTasks($stattreadstamina_ctr)
Blip.Remove(34@)
62@ = Blip.AddForPickup(63@)
Blip.ChangeColor(62@, BlipColor.Green)
72@ = 1
60@ += 1

:SYN6_3442
if 
  60@ == -1
goto_if_false @SYN6_3541
if 
  Char.DoesExist(49@)
goto_if_false @SYN6_3541
if 
  Char.HasBeenDamagedByChar(49@, $stattreadstamina_ctr)
goto_if_false @SYN6_3541
84@ = -13
Char.ClearTasks($stattreadstamina_ctr)
Blip.Remove(34@)
62@ = Blip.AddForPickup(63@)
Blip.ChangeColor(62@, BlipColor.Green)
72@ = 1
60@ += 1

:SYN6_3541
if 
  60@ == -1
goto_if_false @SYN6_3640
if 
  Char.DoesExist(50@)
goto_if_false @SYN6_3640
if 
  Char.HasBeenDamagedByChar(50@, $stattreadstamina_ctr)
goto_if_false @SYN6_3640
84@ = -13
Char.ClearTasks($stattreadstamina_ctr)
Blip.Remove(34@)
62@ = Blip.AddForPickup(63@)
Blip.ChangeColor(62@, BlipColor.Green)
72@ = 1
60@ += 1

:SYN6_3640
if 
  60@ == -1
goto_if_false @SYN6_3739
if 
  Char.DoesExist(51@)
goto_if_false @SYN6_3739
if 
  Char.HasBeenDamagedByChar(51@, $stattreadstamina_ctr)
goto_if_false @SYN6_3739
84@ = -13
Char.ClearTasks($stattreadstamina_ctr)
Blip.Remove(34@)
62@ = Blip.AddForPickup(63@)
Blip.ChangeColor(62@, BlipColor.Green)
72@ = 1
60@ += 1

:SYN6_3739
if 
  60@ == -1
goto_if_false @SYN6_3838
if 
  Char.DoesExist(52@)
goto_if_false @SYN6_3838
if 
  Char.HasBeenDamagedByChar(52@, $stattreadstamina_ctr)
goto_if_false @SYN6_3838
84@ = -13
Char.ClearTasks($stattreadstamina_ctr)
Blip.Remove(34@)
62@ = Blip.AddForPickup(63@)
Blip.ChangeColor(62@, BlipColor.Green)
72@ = 1
60@ += 1

:SYN6_3838
if 
  72@ == 1
goto_if_false @SYN6_4097
if 
  73@ == 0
goto_if_false @SYN6_3974
if 
  not Char.IsDead(52@)
goto_if_false @SYN6_3974
Char.ClearTasks(52@)
69@, 70@, 71@ = Char.GetCoordinates($stattreadstamina_ctr)
69@ += 5.0
70@ += 5.0
71@ += 15.0
Char.ClearTasks(52@)
Task.ShootAtCoord(52@, 69@, 70@, 71@, -1)
73@ = 1
TIMERB = 0

:SYN6_3974
if 
  not Char.IsDead(47@)
goto_if_false @SYN6_4003
Char.ClearTasks(47@)
Task.KillCharOnFoot(47@, $stattreadstamina_ctr)

:SYN6_4003
if 
  not Char.IsDead(48@)
goto_if_false @SYN6_4032
Char.ClearTasks(48@)
Task.KillCharOnFoot(48@, $stattreadstamina_ctr)

:SYN6_4032
if 
  not Char.IsDead(49@)
goto_if_false @SYN6_4061
Char.ClearTasks(49@)
Task.KillCharOnFoot(49@, $stattreadstamina_ctr)

:SYN6_4061
if 
  not Char.IsDead(51@)
goto_if_false @SYN6_4090
Char.ClearTasks(51@)
Task.KillCharOnFoot(51@, $stattreadstamina_ctr)

:SYN6_4090
72@ = 2

:SYN6_4097
if 
  73@ == 1
goto_if_false @SYN6_4179
if 
  TIMERB > 4000
goto_if_false @SYN6_4179
if 
  not Char.IsDead(52@)
goto_if_false @SYN6_4179
Char.ClearTasks(52@)
73@ = 99
TIMERB = 0
Char.GiveWeapon(52@, WeaponType.Pistol, 9999)

:SYN6_4179
if 
  73@ == 2
goto_if_false @SYN6_4223
if 
  TIMERB > 6000
goto_if_false @SYN6_4223
73@ = 0

:SYN6_4223
if 
  65@ == 0
goto_if_false @SYN6_4248
65@ = 1

:SYN6_4248
if 
  2 > 65@
goto_if_false @SYN6_4448
if 
  60@ > 4
goto_if_false @SYN6_4448
if 
  80@ == 0
goto_if_false @SYN6_4366
if 
  not Car.IsDead(149@)
goto_if_false @SYN6_4366
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 149@, 250.0, 250.0, 100.0, False)
goto_if_false @SYN6_4366
Car.PausePlayback(149@)
80@ = 1

:SYN6_4366
if 
  80@ == 1
goto_if_false @SYN6_4448
if 
  not Car.IsDead(149@)
goto_if_false @SYN6_4448
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 149@, 250.0, 250.0, 100.0, False)
goto_if_false @SYN6_4448
Car.UnpausePlayback(149@)
80@ = 0

:SYN6_4448
if 
  65@ == 1
goto_if_false @SYN6_4557
if 
  Pickup.HasBeenCollected(63@)
goto_if_false @SYN6_4557
Text.ClearPrints
Text.PrintNow('SYN6_20', 6000, 1)
Blip.Remove(62@)
if 
  not Car.IsDead(149@)
goto_if_false @SYN6_4550
34@ = Blip.AddForCar(149@)
Hud.DisplayCounterWithString($s7_in_compound, CounterDisplay.Bar, 'SYN6_05')
Car.UnpausePlayback(149@)

:SYN6_4550
65@ = 2

:SYN6_4557
if 
  65@ == 2
goto_if_false @SYN6_4575

:SYN6_4575
if 
  60@ == 0
goto_if_false @SYN6_4855
if 
  60@ == 0
goto_if_false @SYN6_4709
if 
  Char.IsInAngledArea3D($stattreadstamina_ctr, -1695.668, 693.7705, 29.5938, -1665.865, 693.7705, 59.5943, 28.0, False)
goto_if_false @SYN6_4709
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN6_4695
90@ = Char.StoreCarIsIn($stattreadstamina_ctr)
91@ = 1

:SYN6_4695
92@ = 1
60@ += 1

:SYN6_4709
if 
  60@ == 0
goto_if_false @SYN6_4782
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1683.82, 686.5125, 23.9687, 2.0, 2.0, 2.0, False)
goto_if_false @SYN6_4782
60@ += 1

:SYN6_4782
if 
  60@ == 0
goto_if_false @SYN6_4855
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1683.797, 692.3915, 27.586, 5.0, 5.0, 2.0, False)
goto_if_false @SYN6_4855
60@ += 1

:SYN6_4855
if 
  60@ > 1
goto_if_false @SYN6_5160
if 
  61@ == 0
goto_if_false @SYN6_5160
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1448.006, -1533.036, 200.0, 200.0, False)
goto_if_false @SYN6_5160
41@ = Char.Create(PedType.CivMale, 24, -1450.256, -1543.012, 100.7579)
42@ = Char.Create(PedType.CivMale, 24, -1422.854, -1542.103, 100.7514)
43@ = Char.Create(PedType.CivMale, 24, -1431.096, -1506.962, 100.7262)
44@ = Char.Create(PedType.CivMale, 24, -1448.477, -1511.918, 100.7579)
Char.SetHeading(41@, 269.8948)
Char.SetHeading(42@, 26.8258)
Char.SetHeading(43@, 223.7033)
Char.SetHeading(44@, 266.9233)
77@ = 0

:SYN6_5072
if 
  4 > 77@
goto_if_false @SYN6_5153
Char.GiveWeapon(41@(77@,6i), WeaponType.Pistol, 9999)
Char.SetOnlyDamagedByPlayer(41@(77@,6i), True)
Char.SetRelationship(41@(77@,6i), RelationshipType.Hate, PedType.Player1)
Char.SetIsTargetPriority(41@(77@,6i), True)
77@ += 1
goto @SYN6_5072

:SYN6_5153
61@ += 1

:SYN6_5160
if 
  60@ == 1
goto_if_false @SYN6_6028
if 
  Streaming.HasCarRecordingBeenLoaded(110)
goto_if_false @SYN6_6024
if 
  not Camera.GetFadingStatus
goto_if_false @SYN6_6017
Text.ClearThisPrint('SYN6_02')
Car.Delete(53@)
149@ = Car.Create(487, -1680.502, 705.6951, 29.6065)
Heli.SetBladesFullSpeed(149@)
Car.ChangeColor(149@, 10, 125)
56@ = Object.Create(#CARDBOARDBOX2, -1680.931, 705.7776, 30.6065)
Object.SetCollision(56@, False)
Object.FreezePosition(56@, True)
Object.SetCollision(56@, False)
Car.SetHeading(149@, 90.0)
Car.LockDoors(149@, CarLock.LockoutPlayerOnly)
Car.SetCanBeTargeted(149@, True)
Blip.Remove(34@)
Car.SetOnlyDamagedByPlayer(149@, True)
Car.SetHealth(149@, 1500)
150@ = Char.CreateInsideCar(149@, PedType.CivMale, 24)
Char.SetIsTargetPriority(150@, True)
151@ = Char.CreateAsPassenger(149@, PedType.CivMale, 24, 1)
152@ = Char.CreateAsPassenger(149@, PedType.CivMale, 24, 2)
Car.OpenDoor(149@, CarDoor.RightRearDoor)
Car.OpenDoor(149@, CarDoor.LeftRearDoor)
39@ = 0

:SYN6_5415
if 
  2 > 39@
goto_if_false @SYN6_5535
Char.SetStayInSamePlace(151@(39@,2i), True)
Char.GiveWeapon(152@, WeaponType.Ak47, 9999)
Char.GiveWeapon(151@, WeaponType.DesertEagle, 9999)
Char.SetOnlyDamagedByPlayer(151@(39@,2i), True)
Char.SetSuffersCriticalHits(151@(39@,2i), False)
Char.SetHealth(151@(39@,2i), 300)
Char.SetIsTargetPriority(151@(39@,2i), True)
Char.SetHealth(151@(39@,2i), 500)
39@ += 1
goto @SYN6_5415

:SYN6_5535
if 
  Char.IsInCar(151@, 149@)
goto_if_false @SYN6_5636
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(149@)
Char.WarpFromCarToCoord(151@, $on_footY, $on_footZ, $in_carX)
Char.DetachFromCar(151@)
Char.SetAllowedToDuck(151@, True)
Char.AttachToCar(151@, 149@, -1.0, -0.3, 0.0, 1, 180.0, WeaponType.Ak47)
Char.SetHeading(151@, 200.0)

:SYN6_5636
if 
  Char.IsInCar(152@, 149@)
goto_if_false @SYN6_5735
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(149@)
Char.WarpFromCarToCoord(152@, $on_footY, $on_footZ, $in_carX)
Char.DetachFromCar(152@)
Char.SetAllowedToDuck(152@, True)
Char.AttachToCar(152@, 149@, 1.2, -0.3, 0.0, 3, 180.0, WeaponType.Ak47)
Task.TurnCharToFaceChar(152@, $stattreadstamina_ctr)

:SYN6_5735
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
Camera.SetFixedPosition(-1675.195, 699.6955, 36.8409, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1675.773, 700.2547, 36.2466, SwitchType.JumpCut)
89@ = 1
if 
  92@ == 0
goto_if_false @SYN6_5870
Char.SetCoordinates($stattreadstamina_ctr, -1683.849, 692.0139, 27.586)
Char.SetHeading($stattreadstamina_ctr, 304.0)
goto @SYN6_5955

:SYN6_5870
if 
  91@ == 1
goto_if_false @SYN6_5948
if 
  not Car.IsDead(90@)
goto_if_false @SYN6_5941
Car.SetCoordinates(90@, -1667.77, 728.9113, 49.8973)
Car.SetHeading(90@, 135.4521)
Car.FreezePosition(90@, True)

:SYN6_5941
goto @SYN6_5955

:SYN6_5948
Char.FreezePosition($stattreadstamina_ctr, True)

:SYN6_5955
Camera.SetFadingColor(1, 0, 0)
Car.StartPlayback(149@, 110)
Task.ToggleDuck(151@, True)
Task.ToggleDuck(152@, True)
if 
  not Char.IsDead(50@)
goto_if_false @SYN6_6000

:SYN6_6000
Car.SetPlaybackSpeed(149@, 3.0)
60@ += 1

:SYN6_6017
goto @SYN6_6028

:SYN6_6024
Streaming.RequestCarRecording(110)

:SYN6_6028
if 
  not Car.IsDead(149@)
goto_if_false @SYN6_7667
if 
  60@ == 2
goto_if_false @SYN6_6089
if 
  not Camera.GetFadingStatus
goto_if_false @SYN6_6089
60@ += 1
TIMERB = 0

:SYN6_6089
if 
  60@ == 3
goto_if_false @SYN6_6114
60@ += 1

:SYN6_6114
if 
  60@ == 4
goto_if_false @SYN6_6184
if 
  TIMERB > 1100
goto_if_false @SYN6_6184
if 
  not Car.IsDead(149@)
goto_if_false @SYN6_6177
Car.SetPlaybackSpeed(149@, 0.85)

:SYN6_6177
60@ += 1

:SYN6_6184
if 
  60@ == 5
goto_if_false @SYN6_6310
if 
  TIMERB > 3000
goto_if_false @SYN6_6284
Object.Delete(56@)
89@ = 0
Camera.SetFixedPosition(-1681.265, 685.2078, 30.6465, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1681.263, 686.2019, 30.5389, SwitchType.JumpCut)

:SYN6_6284
if 
  TIMERB > 6500
goto_if_false @SYN6_6310
60@ += 1

:SYN6_6310
if 
  60@ == 6
goto_if_false @SYN6_6885
if 
  not Camera.GetFadingStatus
goto_if_false @SYN6_6885
if 
  Car.IsDead(57@)
goto_if_false @SYN6_6402
Car.MarkAsNoLongerNeeded(57@)
57@ = Car.Create(521, -1705.198, 682.3814, 23.8906)
Car.SetHeading(57@, 181.5462)
goto @SYN6_6478

:SYN6_6402
if 
  not Car.Locate2D(57@, -1703.949, 690.2634, 20.0, 20.0, False)
goto_if_false @SYN6_6478
Car.MarkAsNoLongerNeeded(57@)
57@ = Car.Create(521, -1705.198, 682.3814, 23.8906)
Car.SetHeading(57@, 181.5462)

:SYN6_6478
78@ = 0
Text.ClearThisPrint('SYN6_03')
Camera.SetFadingColor(1, 0, 0)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Text.PrintNow('SYN6_03', 8000, 1)
Game.SetAllCarsCanBeDamaged(True)
if 
  not Car.IsDead(149@)
goto_if_false @SYN6_6590
if 
  not Char.IsDead(151@)
goto_if_false @SYN6_6567

:SYN6_6567
if 
  not Car.IsPlaybackGoingOn(149@)
goto_if_false @SYN6_6590
Car.StartPlayback(149@, 110)

:SYN6_6590
Object.Delete(56@)
89@ = 0
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
if 
  92@ == 1
goto_if_false @SYN6_6686
if 
  91@ == 1
goto_if_false @SYN6_6679
if 
  not Car.IsDead(90@)
goto_if_false @SYN6_6672
Car.FreezePosition(90@, False)

:SYN6_6672
goto @SYN6_6686

:SYN6_6679
Char.FreezePosition($stattreadstamina_ctr, False)

:SYN6_6686
if 
  not Char.IsDead(52@)
goto_if_false @SYN6_6722
Char.ClearTasks(52@)
Task.KindaStayInSamePlace(52@, True)
Task.KillCharOnFoot(52@, $stattreadstamina_ctr)

:SYN6_6722
if 
  not Char.IsDead(50@)
goto_if_false @SYN6_6765
Char.ClearTasks(50@)
Task.ToggleDuck(50@, False)
Task.KindaStayInSamePlace(50@, True)
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)

:SYN6_6765
Car.SetPlaybackSpeed(149@, 1.0)
if 
  92@ == 1
goto_if_false @SYN6_6855
if 
  91@ == 1
goto_if_false @SYN6_6855
Car.SetPlaybackSpeed(149@, 1.5)
if 
  not Char.IsDead(151@)
goto_if_false @SYN6_6847
Char.GiveWeapon(151@, WeaponType.RocketLauncher, 9999)

:SYN6_6847
Car.SetHealth(149@, 3000)

:SYN6_6855
$s7_in_compound = 100
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 5000
60@ = 8

:SYN6_6885
if 
  60@ == 9
goto_if_false @SYN6_6963
if 
  Car.Locate3D(149@, -1437.098, -1527.995, 100.7504, 10.0, 10.0, 4.0, False)
goto_if_false @SYN6_6963
Car.StopPlayback(149@)
60@ += 1

:SYN6_6963
if 
  60@ == 10
goto_if_false @SYN6_7178
if 
  not Car.IsDead(149@)
goto_if_false @SYN6_7178
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 149@, 40.0, 40.0, 40.0, False)
goto_if_false @SYN6_7178
Text.PrintNow('SYN6_07', 5000, 1)
60@ += 1
if 
  not Char.IsDead(151@)
goto_if_false @SYN6_7097
Task.ToggleDuck(151@, False)
Char.DetachFromCar(151@)
Char.ClearTasks(151@)
Task.KillCharOnFoot(151@, $stattreadstamina_ctr)

:SYN6_7097
if 
  not Char.IsDead(152@)
goto_if_false @SYN6_7138
Task.ToggleDuck(152@, False)
Char.ClearTasks(152@)
Char.DetachFromCar(152@)
Task.KillCharOnFoot(152@, $stattreadstamina_ctr)

:SYN6_7138
Car.SetCruiseSpeed(149@, 70.0)
Heli.GotoCoords(149@, -23.2666, 1210.669, 100.3528, 70.0, 70.0)

:SYN6_7178
if 
  60@ == 10
goto_if_false @SYN6_7376
if 
  not Car.IsDead(149@)
goto_if_false @SYN6_7376
if 
  Car.HasBeenDamagedByChar(149@, $stattreadstamina_ctr)
goto_if_false @SYN6_7376
Text.PrintNow('SYN6_07', 5000, 1)
60@ += 1
if 
  not Char.IsDead(151@)
goto_if_false @SYN6_7295
Task.ToggleDuck(151@, False)
Char.DetachFromCar(151@)
Char.ClearTasks(151@)
Task.KillCharOnFoot(151@, $stattreadstamina_ctr)

:SYN6_7295
if 
  not Char.IsDead(152@)
goto_if_false @SYN6_7336
Task.ToggleDuck(152@, False)
Char.ClearTasks(152@)
Char.DetachFromCar(152@)
Task.KillCharOnFoot(152@, $stattreadstamina_ctr)

:SYN6_7336
Car.SetCruiseSpeed(149@, 70.0)
Heli.GotoCoords(149@, -23.2666, 1210.669, 100.3528, 70.0, 70.0)

:SYN6_7376
if 
  60@ == 11
goto_if_false @SYN6_7545
if 
  not Char.IsDead(41@)
goto_if_false @SYN6_7430
Char.ClearTasks(41@)
Char.SetKeepTask(41@, True)
Task.KillCharOnFoot(41@, $stattreadstamina_ctr)

:SYN6_7430
if 
  not Char.IsDead(42@)
goto_if_false @SYN6_7466
Char.ClearTasks(42@)
Char.SetKeepTask(42@, True)
Task.KillCharOnFoot(42@, $stattreadstamina_ctr)

:SYN6_7466
if 
  not Char.IsDead(43@)
goto_if_false @SYN6_7502
Char.ClearTasks(43@)
Char.SetKeepTask(43@, True)
Task.KillCharOnFoot(43@, $stattreadstamina_ctr)

:SYN6_7502
if 
  not Char.IsDead(44@)
goto_if_false @SYN6_7538
Char.ClearTasks(44@)
Char.SetKeepTask(44@, True)
Task.KillCharOnFoot(44@, $stattreadstamina_ctr)

:SYN6_7538
60@ += 1

:SYN6_7545
if 
  60@ == 8
goto_if_false @SYN6_7667
if 
  Streaming.HasCarRecordingBeenLoaded(111)
goto_if_false @SYN6_7663
if 
  not Car.IsPlaybackGoingOn(149@)
goto_if_false @SYN6_7656
if 
  60@ == 8
goto_if_false @SYN6_7633
Car.StartPlayback(149@, 111)
60@ += 1
goto @SYN6_7656

:SYN6_7633
Text.PrintNow('SYN6_06', 5000, 1)
goto @SYN6_9151

:SYN6_7656
goto @SYN6_7667

:SYN6_7663
Streaming.RequestCarRecording(111)

:SYN6_7667
if 
  60@ > 4
goto_if_false @SYN6_9026
if 
  not Car.IsDead(149@)
goto_if_false @SYN6_8426
79@ = 0
$s7_in_compound = Car.GetHealth(149@)
$s7_in_compound -= 250
$s7_in_compound /= 10
if 
  $s7_in_compound > 100
goto_if_false @SYN6_7756
$s7_in_compound = 100

:SYN6_7756
if 
  1 > $s7_in_compound
goto_if_false @SYN6_7848
if 
  83@ == 0
goto_if_false @SYN6_7841
if 
  60@ <> 99
goto_if_false @SYN6_7841
Car.StopPlayback(149@)
Heli.MakeComeCrashingDown(149@)
60@ = 99
83@ = 1
TIMERA = 0

:SYN6_7841
$s7_in_compound = 0

:SYN6_7848
if 
  60@ > 7
goto_if_false @SYN6_8058
if 
  92@ <> 1
goto_if_false @SYN6_8058
if 
  91@ <> 1
goto_if_false @SYN6_8058
if 
  79@ == 0
goto_if_false @SYN6_7968
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 149@, 100.0, 100.0, False)
goto_if_false @SYN6_7968
Car.SetPlaybackSpeed(149@, 0.75)
79@ = 1

:SYN6_7968
if 
  79@ == 0
goto_if_false @SYN6_8058
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 149@, 200.0, 200.0, False)
goto_if_false @SYN6_8041
Car.SetPlaybackSpeed(149@, 0.5)
79@ = 1
goto @SYN6_8058

:SYN6_8041
Car.SetPlaybackSpeed(149@, 0.3)
79@ = 1

:SYN6_8058
if 
  10 > 60@
goto_if_false @SYN6_8322
if 
  81@ == 0
goto_if_false @SYN6_8171
if 
  not Car.IsDead(149@)
goto_if_false @SYN6_8171
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 149@, 560.0, 560.0, 500.0, False)
goto_if_false @SYN6_8171
Text.ClearPrints
Text.PrintNow('SYN6_12', 6000, 1)
81@ = 1

:SYN6_8171
if 
  81@ == 1
goto_if_false @SYN6_8266
if 
  not Car.IsDead(149@)
goto_if_false @SYN6_8266
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 149@, 400.0, 400.0, 400.0, False)
goto_if_false @SYN6_8266
Text.ClearPrints
Text.PrintNow('SYN6_13', 6000, 1)
81@ = 0

:SYN6_8266
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 149@, 700.0, 700.0, False)
goto_if_false @SYN6_8322
Text.ClearPrints
Text.PrintNow('SYN6_08', 6000, 1)
goto @SYN6_9151

:SYN6_8322
if 
  60@ > 10
goto_if_false @SYN6_8419
if 
  60@ <> 99
goto_if_false @SYN6_8419
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 149@, 100.0, 100.0, 50.0, False)
goto_if_false @SYN6_8419
Text.ClearPrints
Text.PrintNow('SYN6_10', 6000, 1)
goto @SYN6_9151

:SYN6_8419
goto @SYN6_8477

:SYN6_8426
Text.ClearPrints
if 
  83@ == 0
goto_if_false @SYN6_8477
60@ = 99
Car.StopPlayback(149@)
Heli.MakeComeCrashingDown(149@)
83@ = 1
TIMERA = 0

:SYN6_8477
if 
  10 > 60@
goto_if_false @SYN6_9026
39@ = 0

:SYN6_8502
if 
  2 > 39@
goto_if_false @SYN6_9026
if 
  not Char.IsDead(151@(39@,2i))
goto_if_false @SYN6_9003
38@ = Char.GetHealth(151@(39@,2i))
if 
  93@(39@,3i) == 0
goto_if_false @SYN6_8623
if 
  50 > 38@
goto_if_false @SYN6_8623
Task.ToggleDuck(151@(39@,2i), False)
93@(39@,3i) = 1
Char.DetachFromCar(151@(39@,2i))

:SYN6_8623
if 
  60@ > 6
goto_if_false @SYN6_8996
if 
  not Char.IsDead(152@)
goto_if_false @SYN6_8735
88@ = Char.GetScriptTaskStatus(152@, 1957)
if 
  is_int_lvar_equal_to_constant 88@ == 7
goto_if_false @SYN6_8735
if 
  Char.LocateAnyMeansChar2D(152@, $stattreadstamina_ctr, 60.0, 60.0, False)
goto_if_false @SYN6_8735
Char.SetCurrentWeapon(152@, WeaponType.Ak47)
Task.KillCharOnFootTimed(152@, $stattreadstamina_ctr, 4000)

:SYN6_8735
if 
  not Char.IsDead(151@)
goto_if_false @SYN6_8996
87@ = Char.GetScriptTaskStatus(151@, 1957)
if 
  is_int_lvar_equal_to_constant 87@ == 7
goto_if_false @SYN6_8996
if 
  92@ == 1
goto_if_false @SYN6_8904
if 
  Char.LocateAnyMeansChar2D(151@, $stattreadstamina_ctr, 160.0, 160.0, False)
goto_if_false @SYN6_8897
if 
  92@ <> 1
goto_if_false @SYN6_8854
Char.SetCurrentWeapon(151@, WeaponType.DesertEagle)

:SYN6_8854
if 
  92@ == 1
goto_if_false @SYN6_8886
Char.SetCurrentWeapon(151@, WeaponType.Ak47)
Char.SetAccuracy(151@, 100)

:SYN6_8886
Task.KillCharOnFootTimed(151@, $stattreadstamina_ctr, 4000)

:SYN6_8897
goto @SYN6_8996

:SYN6_8904
if 
  Char.LocateAnyMeansChar2D(151@, $stattreadstamina_ctr, 60.0, 60.0, False)
goto_if_false @SYN6_8996
if 
  92@ <> 1
goto_if_false @SYN6_8960
Char.SetCurrentWeapon(151@, WeaponType.DesertEagle)

:SYN6_8960
if 
  92@ == 1
goto_if_false @SYN6_8985
Char.SetCurrentWeapon(151@, WeaponType.Ak47)

:SYN6_8985
Task.KillCharOnFootTimed(151@, $stattreadstamina_ctr, 4000)

:SYN6_8996
goto @SYN6_9012

:SYN6_9003
Char.DetachFromCar(151@(39@,2i))

:SYN6_9012
39@ += 1
goto @SYN6_8502

:SYN6_9026
if 
  83@ == 1
goto_if_false @SYN6_9144
if 
  TIMERA > 5000
goto_if_false @SYN6_9144
if 
  not Char.IsDead(151@)
goto_if_false @SYN6_9091
Task.ToggleDuck(151@, False)
Char.DetachFromCar(151@)

:SYN6_9091
if 
  not Char.IsDead(152@)
goto_if_false @SYN6_9119
Task.ToggleDuck(152@, False)
Char.DetachFromCar(152@)

:SYN6_9119
Text.ClearPrints
Text.PrintNow('SYN6_09', 6000, 1)
goto @SYN6_9169

:SYN6_9144
goto @SYN6_1606

:SYN6_9151
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:SYN6_9169
Blip.Remove($garage_blip_icon)
$garageZ += 1
Text.PrintWithNumberBig('M_PASSS', 18000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 18000)
Stat.AwardPlayerMissionRespect(50)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('SYND_6')
Stat.PlayerMadeProgress(1)
return 

:SYN6_9238
$1526 = 2
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Blip.Remove(34@)
Blip.Remove(62@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN6_9282
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.RocketLauncher)

:SYN6_9282
Hud.ClearCounter($s7_in_compound)
Streaming.MarkModelAsNoLongerNeeded(359)
Streaming.MarkModelAsNoLongerNeeded(487)
Streaming.MarkModelAsNoLongerNeeded(521)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(24)
Streaming.MarkModelAsNoLongerNeeded(25)
Streaming.MarkModelAsNoLongerNeeded(413)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(348)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 63---------------
// Originally: Yay Ka-Boom-Boom

:SYN7
script_name 'SYN7'
gosub @SYN7_47
if 
  has_deatharrest_been_executed 
goto_if_false @SYN7_38
gosub @SYN7_15914

:SYN7_38
gosub @SYN7_16015
terminate_this_script 

:SYN7_47
Text.LoadMissionText('SYN7')
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:SYN7_73
if 
  Camera.GetFadingStatus
goto_if_false @SYN7_97
wait 0
goto @SYN7_73

:SYN7_97
Streaming.RequestIpl("CRACK")
World.SetVisibilityOfClosestObjectOfType(-2166.86, -236.5, 40.86, 40.0, #CRACKFACT_SFS, True)
World.SetVisibilityOfClosestObjectOfType(-2185.49, -215.55, 34.31, 40.0, #CF_EXT_DEM_SFS, False)
World.SetVisibilityOfClosestObjectOfType(-2166.86, -236.5, 40.86, 40.0, #LODCRACKFACT_SFS, True)
World.SetVisibilityOfClosestObjectOfType(-2185.49, -215.55, 34.31, 40.0, #LODEXT_DEM_SFS, False)
Streaming.SetAreaVisible(1)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
Streaming.LoadScene(-2031.0, 149.0, 29.0)
Cutscene.Load('SYND_7')

:SYN7_249
if 
  not Cutscene.HasLoaded
goto_if_false @SYN7_273
wait 0
goto @SYN7_249

:SYN7_273
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:SYN7_290
if 
  not Cutscene.HasFinished
goto_if_false @SYN7_314
wait 0
goto @SYN7_290

:SYN7_314
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:SYN7_328
if 
  Camera.GetFadingStatus
goto_if_false @SYN7_352
wait 0
goto @SYN7_328

:SYN7_352
Cutscene.Clear
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.SetAreaVisible(0)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_420
Char.SetCoordinates($stattreadstamina_ctr, -2031.197, 161.1839, 27.8516)
Char.SetHeading($stattreadstamina_ctr, 268.0468)
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, False)

:SYN7_420
Camera.SetFadingColor(0, 0, 0)
$weapon_shop1_blip = 1
48@ = 0
$farlie3_text = 40000
117@ = 2
Stat.RegisterMissionGiven
35@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
34@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
36@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
wait 0
goto @SYN7_1167

:SYN7_493
130@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2160.533, -247.0836, 35.5234, 4, -1)
Task.PlayAnim(-1, "WASH_UP", "INT_HOUSE", 1.0, True, False, False, False, -1)
Sequence.SetToRepeat(130@, True)
Sequence.Close(130@)
131@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2163.767, -249.1202, 35.5234, 4, -1)
Task.Pause(-1, 1000)
Task.PlayAnim(-1, "WASH_UP", "INT_HOUSE", 1.0, True, False, False, False, -1)
Sequence.SetToRepeat(131@, True)
Sequence.Close(131@)
132@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2167.631, -249.1143, 35.5234, 4, -1)
Task.Pause(-1, 500)
Task.PlayAnim(-1, "WASH_UP", "INT_HOUSE", 1.0, True, False, False, False, -1)
Sequence.SetToRepeat(132@, True)
Sequence.Close(132@)
133@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2157.0, -248.9899, 35.5234, 4, -1)
Task.Pause(-1, 250)
Task.PlayAnim(-1, "WASH_UP", "INT_HOUSE", 1.0, True, False, False, False, -1)
Sequence.SetToRepeat(133@, True)
Sequence.Close(133@)
86@ = Char.Create(PedType.Mission1, 144, -2146.045, -242.5144, 35.5234)
Char.SetHeading(86@, 90.433)
Char.SetWeaponSkill(86@, 2)
Char.GiveWeapon(86@, WeaponType.Pistol, 9999)
Char.SetAccuracy(86@, 30)
Char.SetShootRate(86@, 30)
Char.SetDecisionMaker(86@, 36@)
87@ = Char.Create(PedType.CivFemale, 145, -2160.533, -247.0836, 35.5234)
Char.SetHeading(87@, 176.3351)
Char.PerformSequence(87@, 130@)
88@ = Char.Create(PedType.CivFemale, 145, -2163.767, -249.1202, 35.5234)
Char.SetHeading(88@, 11.5708)
Char.PerformSequence(88@, 131@)
89@ = Char.Create(PedType.CivMale, 146, -2167.631, -249.1143, 35.5234)
Char.SetHeading(89@, 1.311)
Char.PerformSequence(89@, 132@)
90@ = Char.Create(PedType.CivMale, 146, -2157.0, -248.9899, 35.5234)
Char.SetHeading(90@, 0.8891)
Char.PerformSequence(90@, 133@)
47@ = 0

:SYN7_1083
if 
  47@ <> 0
goto_if_false @SYN7_1144
if 
  not Char.IsDead(86@(47@,8i))
goto_if_false @SYN7_1144
Char.SetIsTargetPriority(86@(47@,8i), False)
Char.SetDecisionMaker(86@(47@,8i), 34@)

:SYN7_1144
47@ += 1
  47@ >= 5
goto_if_false @SYN7_1083
return 

:SYN7_1167
Group.SetSeparationRange($flag_cell_nation, 100.0)
Path.SwitchPedRoadsOff(-2175.817, -55.8818, 27.0, -2059.205, -99.4399, 37.0)
Path.SwitchRoadsOff(-2175.817, -55.8818, 27.0, -2059.205, -99.4399, 37.0)
Path.SwitchPedRoadsOff(-2107.98, -71.8985, 30.0, -2160.256, -89.7108, 37.0)
TIMERA = 0
Camera.SetBehindPlayer
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_1308
Char.SetHeading($stattreadstamina_ctr, 280.0)

:SYN7_1308
40@ = Blip.AddForCoord(-1688.901, 1035.95, 43.7187)
Streaming.RequestModel(549)
Streaming.RequestModel(50)
Streaming.RequestAnimation("CAR")
Streaming.RequestModel(330)
Streaming.RequestModel(#HEALTH)
Streaming.RequestModel(346)

:SYN7_1359
if or
  not Streaming.HasModelLoaded(549)
  not Streaming.HasModelLoaded(50)
  not Streaming.HasAnimationLoaded("CAR")
  not Streaming.HasModelLoaded(330)
  not Streaming.HasModelLoaded(#HEALTH)
goto_if_false @SYN7_1407
wait 0
goto @SYN7_1359

:SYN7_1407
if 
  not Streaming.HasModelLoaded(346)
goto_if_false @SYN7_1434
wait 0
goto @SYN7_1407

:SYN7_1434
121@ = Pickup.Create(#HEALTH, PickupType.Once, -2182.652, -247.3813, 36.4)
Camera.DoFade(1000, Fade.In)
Player.SetControl($statbike_temp, True)
45@ = Object.Create(#WONGS_GATE, -2127.0, -80.8, 34.3281)
Object.SetHeading(45@, 180.0)
46@ = Object.Create(#DYN_RAMP, -2175.2, -209.7745, 34.3281)
Object.SetHeading(46@, 85.6854)
Car.CustomPlateForNextCar(549, "TIMEBOMB")
38@ = Car.Create(549, -1688.901, 1035.95, 44.6)
Car.SetDirtLevel(38@, 12.0)
Car.FreezePosition(38@, True)
Car.SetCanBurstTires(38@, False)
Car.SetHeading(38@, 90.0)
Car.SetHealth(38@, 1000)
37@ = Char.Create(PedType.CivMale, 50, -1689.12, 1038.2, 44.2)
Char.SetHealth(37@, 800)
Char.SetMaxHealth(37@, 800)
Char.SetNeverTargeted(37@, True)
Char.SetCollision(37@, False)
Char.SetHeading(37@, 0.0)
Task.PlayAnim(37@, "FIXN_CAR_LOOP", "CAR", 4.0, True, False, False, True, 0)
Char.SetAccuracy(37@, 100)
Char.SetDecisionMaker(37@, 35@)
World.SetPedDensityMultiplier(0.5)
World.SetCarDensityMultiplier(1.0)
Game.SetRelationship(RelationshipType.Like, PedType.Mission1, PedType.Mission1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Player1, PedType.Mission1)
TIMERB = 0
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 23000)

:SYN7_1790
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @SYN7_1816
wait 0
goto @SYN7_1790

:SYN7_1816
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
gosub @SYN7_16548
Camera.SetFixedPosition(-2029.134, 164.0932, 29.0052, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2029.778, 163.3323, 28.9291, SwitchType.JumpCut)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_1901
Task.UseMobilePhone($stattreadstamina_ctr, True)

:SYN7_1901
wait 2000
Text.PrintNow('MTG01A', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 29400)

:SYN7_1933
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_1959
wait 0
goto @SYN7_1933

:SYN7_1959
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:SYN7_1970
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SYN7_1996
wait 0
goto @SYN7_1970

:SYN7_1996
wait 500
gosub @SYN7_16581

:SYN7_2008
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_14647
wait 0
gosub @SYN7_16684
gosub @SYN7_16977
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  113@ <> 8
  113@ <> 0
goto_if_false @SYN7_2080
113@ = 7

:SYN7_2080
if and
  117@ == 2
  113@ == 0
goto_if_false @SYN7_2141
set_lvar_text_label 127@s = 'MTG01B'
set_lvar_int_to_constant 118@ = 29401
gosub @SYN7_16957
113@ = 1

:SYN7_2141
if and
  117@ == 2
  113@ == 1
goto_if_false @SYN7_2226
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_2190
Char.StartFacialTalk($stattreadstamina_ctr, 5000)

:SYN7_2190
set_lvar_text_label 127@s = 'MTG01C'
set_lvar_int_to_constant 118@ = 29402
gosub @SYN7_16957
113@ = 2

:SYN7_2226
if and
  117@ == 2
  113@ == 2
goto_if_false @SYN7_2308
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_2272
Char.StopFacialTalk($stattreadstamina_ctr)

:SYN7_2272
set_lvar_text_label 127@s = 'MTG01D'
set_lvar_int_to_constant 118@ = 29403
gosub @SYN7_16957
113@ = 3

:SYN7_2308
if and
  117@ == 2
  113@ == 3
goto_if_false @SYN7_2393
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_2357
Char.StartFacialTalk($stattreadstamina_ctr, 5000)

:SYN7_2357
set_lvar_text_label 127@s = 'MTG01E'
set_lvar_int_to_constant 118@ = 29404
gosub @SYN7_16957
113@ = 4

:SYN7_2393
if and
  117@ == 2
  113@ == 4
goto_if_false @SYN7_2475
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_2439
Char.StopFacialTalk($stattreadstamina_ctr)

:SYN7_2439
set_lvar_text_label 127@s = 'MTG01F'
set_lvar_int_to_constant 118@ = 29405
gosub @SYN7_16957
113@ = 5

:SYN7_2475
if and
  117@ == 2
  113@ == 5
goto_if_false @SYN7_2536
set_lvar_text_label 127@s = 'MTG01G'
set_lvar_int_to_constant 118@ = 29406
gosub @SYN7_16957
113@ = 6

:SYN7_2536
if and
  117@ == 2
  113@ == 6
goto_if_false @SYN7_2621
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_2585
Char.StartFacialTalk($stattreadstamina_ctr, 5000)

:SYN7_2585
set_lvar_text_label 127@s = 'MTG01H'
set_lvar_int_to_constant 118@ = 29407
gosub @SYN7_16957
113@ = 7

:SYN7_2621
if and
  117@ == 2
  113@ == 7
goto_if_false @SYN7_2718
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_2667
Char.StopFacialTalk($stattreadstamina_ctr)

:SYN7_2667
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_2690
Task.UseMobilePhone($stattreadstamina_ctr, False)

:SYN7_2690
Streaming.MarkModelAsNoLongerNeeded(330)
Text.PrintNow('SYN7_01', 9000, 1)
113@ = 8

:SYN7_2718
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @SYN7_2740
goto @SYN7_14730

:SYN7_2740
$flag_phone_dialog_driv3 = Char.GetSpeed($stattreadstamina_ctr)
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2129.308, -129.0417, 34.3203, 50.0, 50.0, 500.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2149.624, -244.8758, 35.5234, 98.0, 98.0, 500.0, False)
goto_if_false @SYN7_2854
$7323 = 1
Game.SetWantedMultiplier(0.0)
goto @SYN7_2868

:SYN7_2854
$7323 = 0
Game.SetWantedMultiplier(1.0)

:SYN7_2868
if and
  48@ == 0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_5825
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1699.484, 1030.651, 44.2187, 4.0, 4.0, 4.0, True)
goto_if_false @SYN7_5825
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_2962
Player.SetControl($statbike_temp, False)

:SYN7_2962
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN7_3001
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)

:SYN7_3001
113@ = 8
gosub @SYN7_16548
Camera.SetFixedPosition(-1721.071, 1024.804, 49.7941, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1720.161, 1025.186, 49.6318, SwitchType.JumpCut)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN7_3099
Task.LeaveAnyCar($stattreadstamina_ctr)
wait 2000
goto @SYN7_3124

:SYN7_3099
Task.GoStraightToCoord($stattreadstamina_ctr, -1696.49, 1034.98, 45.11, MoveState.Walk, 2000)

:SYN7_3124
gosub @SYN7_16618
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1825)

:SYN7_3138
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @SYN7_3164
wait 0
goto @SYN7_3138

:SYN7_3164
Streaming.RequestModel(145)
Streaming.RequestModel(146)
Streaming.RequestModel(144)
Streaming.RequestModel(48)
Streaming.RequestModel(46)
Streaming.RequestModel(352)
Streaming.RequestModel(412)
Streaming.RequestAnimation("INT_HOUSE")

:SYN7_3210
if or
  not Streaming.HasModelLoaded(145)
  not Streaming.HasModelLoaded(146)
  not Streaming.HasModelLoaded(144)
  not Streaming.HasModelLoaded(48)
  not Streaming.HasModelLoaded(46)
goto_if_false @SYN7_3255
wait 0
goto @SYN7_3210

:SYN7_3255
if or
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(412)
  not Streaming.HasAnimationLoaded("INT_HOUSE")
goto_if_false @SYN7_3300
wait 0
goto @SYN7_3255

:SYN7_3300
Streaming.RequestCarRecording(483)

:SYN7_3305
if 
  not Streaming.HasCarRecordingBeenLoaded(483)
goto_if_false @SYN7_3332
wait 0
goto @SYN7_3305

:SYN7_3332
if 
  not Char.IsDead(37@)
goto_if_false @SYN7_3394
137@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1692.068, 1036.196, 44.2109, MoveState.Walk, -2)
Task.TurnCharToFaceChar(-1, 37@)
Task.ToggleDuck(-1, True)
Sequence.Close(137@)

:SYN7_3394
if 
  not Car.IsDead(38@)
goto_if_false @SYN7_3510
if 
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @SYN7_3465
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN7_3465
Char.WarpFromCarToCoord($stattreadstamina_ctr, -1693.321, 1034.32, 44.2109)

:SYN7_3465
Char.SetCoordinates($stattreadstamina_ctr, -1693.321, 1034.32, 44.2109)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.SetHeading($stattreadstamina_ctr, 329.4165)
Char.PerformSequence($stattreadstamina_ctr, 137@)

:SYN7_3510
wait 1500
Text.ClearPrints
Camera.SetFixedPosition(-1694.216, 1036.72, 45.3716, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1693.236, 1036.801, 45.1866, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)
TIMERA = 0
if 
  not Car.IsDead(38@)
goto_if_false @SYN7_3620
39@ = Blip.AddForCar(38@)
Blip.ChangeDisplay(39@, BlipDisplay.Neither)
Blip.SetAsFriendly(39@, True)

:SYN7_3620
if 
  not Char.IsDead(37@)
goto_if_false @SYN7_3644
Audio.ReportMissionAudioEventAtChar(37@, 1152)

:SYN7_3644
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39800)

:SYN7_3657
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_3683
wait 0
goto @SYN7_3657

:SYN7_3683
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN7_AA', 3000, 1)
TIMERA = 0

:SYN7_3710
if 
  2000 > TIMERA
goto_if_false @SYN7_3764
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN7_3757
goto @SYN7_5270

:SYN7_3757
goto @SYN7_3710

:SYN7_3764
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39801)

:SYN7_3777
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_3803
wait 0
goto @SYN7_3777

:SYN7_3803
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN7_AB', 2000, 1)
TIMERA = 0

:SYN7_3830
if 
  1000 > TIMERA
goto_if_false @SYN7_3884
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN7_3877
goto @SYN7_5270

:SYN7_3877
goto @SYN7_3830

:SYN7_3884
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_3948
138@ = Sequence.Open()
Task.PlayAnim(-1, "FIXN_CAR_OUT", "CAR", 4.0, False, False, False, True, 0)
Sequence.Close(138@)

:SYN7_3948
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(38@)
goto_if_false @SYN7_4011
Task.ToggleDuck($stattreadstamina_ctr, False)
Task.GoStraightToCoord($stattreadstamina_ctr, -1690.423, 1034.003, 44.2109, MoveState.Walk, 6000)
Task.EnterCarAsDriver($stattreadstamina_ctr, 38@, -1)

:SYN7_4011
TIMERA = 0

:SYN7_4018
if 
  500 > TIMERA
goto_if_false @SYN7_4072
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN7_4065
goto @SYN7_5270

:SYN7_4065
goto @SYN7_4018

:SYN7_4072
if 
  not Char.IsDead(37@)
goto_if_false @SYN7_4096
Char.PerformSequence(37@, 138@)

:SYN7_4096
if 
  not Char.IsDead(37@)
goto_if_false @SYN7_4120
Audio.ReportMissionAudioEventAtChar(37@, 1151)

:SYN7_4120
TIMERA = 0

:SYN7_4127
if 
  1500 > TIMERA
goto_if_false @SYN7_4181
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN7_4174
goto @SYN7_5270

:SYN7_4174
goto @SYN7_4127

:SYN7_4181
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39802)

:SYN7_4194
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_4220
wait 0
goto @SYN7_4194

:SYN7_4220
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN7_AC', 3000, 1)
if 
  not Char.IsDead(37@)
goto_if_false @SYN7_4264
Char.StartFacialTalk(37@, 5000)

:SYN7_4264
Camera.SetFixedPosition(-1690.172, 1033.266, 45.4626, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1689.64, 1034.11, 45.3904, SwitchType.JumpCut)
if 
  not Char.IsDead(37@)
goto_if_false @SYN7_4346
Char.SetCollision(37@, True)
Task.TurnCharToFaceChar(37@, $stattreadstamina_ctr)

:SYN7_4346
if 
  not Car.IsDead(38@)
goto_if_false @SYN7_4482
Car.SetCoordinates(38@, -1688.901, 1034.95, 43.7187)
if 
  not Char.IsDead(37@)
goto_if_false @SYN7_4475
Task.LookAtChar($stattreadstamina_ctr, 37@, 5000)
Task.PlayAnim(37@, "IDLE_CHAT", "PED", 1.0, False, False, False, False, -1)
Char.SetCoordinates(37@, -1689.12, 1036.9, 44.3187)
Char.SetHeading(37@, 180.0)

:SYN7_4475
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)

:SYN7_4482
TIMERB = 0

:SYN7_4489
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SYN7_4539
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN7_4532
goto @SYN7_5270

:SYN7_4532
goto @SYN7_4489

:SYN7_4539
if 
  not Char.IsDead(37@)
goto_if_false @SYN7_4560
Char.StopFacialTalk(37@)

:SYN7_4560
TIMERA = 0

:SYN7_4567
if 
  2500 > TIMERA
goto_if_false @SYN7_4621
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN7_4614
goto @SYN7_5270

:SYN7_4614
goto @SYN7_4567

:SYN7_4621
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39803)

:SYN7_4634
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_4660
wait 0
goto @SYN7_4634

:SYN7_4660
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN7_AD', 4000, 1)
if 
  not Char.IsDead(37@)
goto_if_false @SYN7_4704
Char.StartFacialTalk(37@, 5000)

:SYN7_4704
TIMERB = 0

:SYN7_4711
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SYN7_4761
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN7_4754
goto @SYN7_5270

:SYN7_4754
goto @SYN7_4711

:SYN7_4761
if 
  not Char.IsDead(37@)
goto_if_false @SYN7_4782
Char.StopFacialTalk(37@)

:SYN7_4782
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39804)

:SYN7_4795
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_4821
wait 0
goto @SYN7_4795

:SYN7_4821
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_4845
Char.StartFacialTalk($stattreadstamina_ctr, 5000)

:SYN7_4845
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN7_AE', 4000, 1)
TIMERB = 0

:SYN7_4872
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SYN7_4922
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN7_4915
goto @SYN7_5270

:SYN7_4915
goto @SYN7_4872

:SYN7_4922
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_4943
Char.StopFacialTalk($stattreadstamina_ctr)

:SYN7_4943
if 
  not Car.IsDead(38@)
goto_if_false @SYN7_5004
if 
  not Char.IsDead(37@)
goto_if_false @SYN7_5004
Char.ClearTasks(37@)
Task.GoToCoordAnyMeans(37@, -1683.17, 1037.342, 45.2173, 4, -1)

:SYN7_5004
TIMERA = 0

:SYN7_5011
if 
  1000 > TIMERA
goto_if_false @SYN7_5065
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN7_5058
goto @SYN7_5270

:SYN7_5058
goto @SYN7_5011

:SYN7_5065
gosub @SYN7_16618
Text.ClearPrints
World.ClearArea(-1704.693, 1027.476, 44.211, 30.0, True)
Streaming.LoadSceneInDirection(-1696.585, 1038.498, 44.2173, 150.0018)
if 
  not Car.IsDead(38@)
goto_if_false @SYN7_5151
Car.FreezePosition(38@, False)
Car.StartPlayback(38@, 483)

:SYN7_5151
Camera.SetFixedPosition(-1696.99, 1045.54, 48.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1701.21, 1036.55, 45.7, SwitchType.JumpCut)
gosub @SYN7_16651
TIMERA = 0

:SYN7_5216
if 
  2000 > TIMERA
goto_if_false @SYN7_5270
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @SYN7_5263
goto @SYN7_5270

:SYN7_5263
goto @SYN7_5216

:SYN7_5270
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_5291
Char.StopFacialTalk($stattreadstamina_ctr)

:SYN7_5291
Char.Delete(37@)
Streaming.RemoveAnimation("CAR")
if 
  not Car.IsDead(38@)
goto_if_false @SYN7_5353
Car.FreezePosition(38@, False)
if 
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @SYN7_5353
Char.WarpIntoCar($stattreadstamina_ctr, 38@)

:SYN7_5353
if 
  not Car.IsDead(38@)
goto_if_false @SYN7_5451
if 
  Car.IsPlaybackGoingOn(38@)
goto_if_false @SYN7_5397
Car.SkipToEndAndStopPlayback(38@)
goto @SYN7_5451

:SYN7_5397
World.ClearArea(-1704.615, 1026.202, 44.1953, 20.0, True)
Car.SetCoordinates(38@, -1704.615, 1026.202, 44.1953)
Car.SetHeading(38@, 168.8963)

:SYN7_5451
TIMERA = 0
Blip.Remove(40@)
Blip.ChangeDisplay(39@, BlipDisplay.Neither)
41@ = Blip.AddForCoord(-2128.12, -83.3848, 34.314)
gosub @SYN7_16581
Text.PrintNow('SYN7_03', 7000, 1)
139@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2128.848, -79.3918, 34.2565, 4, -1)
Task.AchieveHeading(-1, 0.0)
Sequence.SetToRepeat(139@, True)
Sequence.Close(139@)
140@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -2128.848, -79.3918, 34.2565, 4, -1)
Task.AchieveHeading(-1, 0.0)
Sequence.SetToRepeat(140@, True)
Sequence.Close(140@)
42@ = Char.Create(PedType.Mission1, 144, -2128.848, -79.3918, 34.2565)
Char.GiveWeapon(42@, WeaponType.MicroUzi, 1000)
Char.SetHeading(42@, 0.0)
43@ = Char.Create(PedType.Mission1, 48, -2128.848, -79.3918, 34.2565)
Char.GiveWeapon(43@, WeaponType.MicroUzi, 1000)
Char.SetHeading(43@, 0.0)
Char.PerformSequence(42@, 139@)
Char.PerformSequence(43@, 140@)
47@ = 0

:SYN7_5723
Char.SetAccuracy(42@(47@,3i), 40)
Char.SetDecisionMaker(42@(47@,3i), 36@)
Char.SetRelationship(42@(47@,3i), RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(42@(47@,3i), RelationshipType.Like, PedType.Mission1)
Char.SetSenseRange(42@(47@,3i), 150.0)
Char.SetIsTargetPriority(42@(47@,3i), True)
47@ += 1
  47@ >= 2
goto_if_false @SYN7_5723
48@ = 1

:SYN7_5825
if 
  48@ == 1
goto_if_false @SYN7_8021
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2124.501, -77.7719, 34.1719, 50.0, 50.0, 50.0, False)
  not Char.IsDead(42@)
  not Char.IsDead(43@)
goto_if_false @SYN7_6020
if 
  83@ == 0
goto_if_false @SYN7_6020
gosub @SYN7_493
Text.PrintNow('SYN7_52', 4000, 1)
83@ = 1
if 
  Blip.DoesExist(41@)
goto_if_false @SYN7_5972
Blip.ChangeDisplay(41@, BlipDisplay.Neither)

:SYN7_5972
if 
  not Char.IsDead(42@)
goto_if_false @SYN7_5996
84@ = Blip.AddForChar(42@)

:SYN7_5996
if 
  not Char.IsDead(43@)
goto_if_false @SYN7_6020
85@ = Blip.AddForChar(43@)

:SYN7_6020
if 
  not Char.IsDead(43@)
goto_if_false @SYN7_6169
if 
  Char.LocateAnyMeans3D(43@, -2126.911, -79.3953, 34.2567, 10.0, 10.0, 10.0, False)
goto_if_false @SYN7_6098
115@ = 1
goto @SYN7_6169

:SYN7_6098
Path.SwitchPedRoadsBackToOriginal(-2175.817, -55.8818, 27.0, -2059.205, -99.4399, 37.0)
Path.SwitchPedRoadsBackToOriginal(-2107.98, -71.8985, 30.0, -2160.256, -89.7108, 37.0)
115@ = 0

:SYN7_6169
if 
  not Char.IsDead(42@)
goto_if_false @SYN7_6318
if 
  Char.LocateAnyMeans3D(42@, -2126.911, -79.3953, 34.2567, 10.0, 10.0, 10.0, False)
goto_if_false @SYN7_6247
114@ = 1
goto @SYN7_6318

:SYN7_6247
Path.SwitchPedRoadsBackToOriginal(-2175.817, -55.8818, 27.0, -2059.205, -99.4399, 37.0)
Path.SwitchPedRoadsBackToOriginal(-2107.98, -71.8985, 30.0, -2160.256, -89.7108, 37.0)
114@ = 0

:SYN7_6318
if 
  83@ == 1
goto_if_false @SYN7_6410
if 
  Char.IsDead(42@)
goto_if_false @SYN7_6373
if 
  Blip.DoesExist(84@)
goto_if_false @SYN7_6373
Blip.Remove(84@)

:SYN7_6373
if 
  Char.IsDead(43@)
goto_if_false @SYN7_6410
if 
  Blip.DoesExist(85@)
goto_if_false @SYN7_6410
Blip.Remove(85@)

:SYN7_6410
120@ = Streaming.GetAreaVisible()
if and
  Char.IsDead(42@)
  Char.IsDead(43@)
  120@ == 0
goto_if_false @SYN7_8021
gosub @SYN7_16618
Streaming.RequestAnimation("ON_LOOKERS")

:SYN7_6464
if 
  not Streaming.HasAnimationLoaded("ON_LOOKERS")
goto_if_false @SYN7_6500
wait 0
goto @SYN7_6464

:SYN7_6500
gosub @SYN7_16548
52@ = Char.Create(PedType.Mission1, 46, -2125.871, -97.1422, 34.3281)
Char.SetWeaponSkill(52@, 2)
Char.GiveWeapon(52@, WeaponType.Pistol, 9999)
Task.PlayAnim(52@, "POINT_LOOP", "ON_LOOKERS", 8.0, True, False, False, True, 3000)
if or
  115@ == 1
  114@ == 1
goto_if_false @SYN7_6676
Camera.SetFixedPosition(-2113.15, -72.3184, 40.9064, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2113.918, -72.8274, 40.5167, SwitchType.JumpCut)
goto @SYN7_6727

:SYN7_6676
Camera.SetFixedPosition(-2125.642, -95.0874, 35.6371, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2125.762, -96.0758, 35.7291, SwitchType.JumpCut)

:SYN7_6727
gosub @SYN7_16651
$7324 = Math.RandomIntInRange(0, 3)
switch_start $7324 {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @SYN7_7004 {caseNum1} 0 {caseLabel1} @SYN7_6806 {caseNum2} 1 {caseLabel2} @SYN7_6872 {caseNum3} 2 {caseLabel3} @SYN7_6938 {caseNum4} -1 {caseLabel4} @SYN7_7004 {caseNum5} -1 {caseLabel5} @SYN7_7004 {caseNum6} -1 {caseLabel6} @SYN7_7004 {caseNum7} -1 {caseLabel7} @SYN7_7004

:SYN7_6806
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39805)

:SYN7_6819
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_6845
wait 0
goto @SYN7_6819

:SYN7_6845
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN7_BA', 4000, 1)
goto @SYN7_7004

:SYN7_6872
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39806)

:SYN7_6885
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_6911
wait 0
goto @SYN7_6885

:SYN7_6911
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN7_BB', 4000, 1)
goto @SYN7_7004

:SYN7_6938
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39807)

:SYN7_6951
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_6977
wait 0
goto @SYN7_6951

:SYN7_6977
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN7_BC', 4000, 1)
goto @SYN7_7004

:SYN7_7004
wait 4000
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(38@)
goto_if_false @SYN7_7103
if 
  Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @SYN7_7103
World.ClearArea(-2127.799, -68.8104, 34.1719, 10.0, True)
Car.SetCoordinates(38@, -2127.799, -68.8104, 34.1719)
Car.SetHeading(38@, 180.0)

:SYN7_7103
World.ClearArea(-2129.256, -74.4958, 34.1719, 100.0, True)
50@ = Char.Create(PedType.Mission1, 144, -2119.011, -99.2082, 34.3281)
Char.GiveWeapon(50@, WeaponType.MicroUzi, 1000)
51@ = Char.Create(PedType.Mission1, 48, -2121.173, -108.9207, 34.3281)
Char.GiveWeapon(51@, WeaponType.MicroUzi, 1000)
53@ = Char.Create(PedType.Mission1, 48, -2104.2, -162.4759, 34.3273)
Char.GiveWeapon(53@, WeaponType.MicroUzi, 1000)
54@ = Char.Create(PedType.Mission1, 46, -2100.096, -157.8681, 34.3273)
Char.SetWeaponSkill(54@, 2)
Char.GiveWeapon(54@, WeaponType.Pistol, 9999)
55@ = Char.Create(PedType.Mission1, 144, -2162.635, -224.1719, 35.5156)
Char.SetHeading(55@, 350.5417)
Char.GiveWeapon(55@, WeaponType.MicroUzi, 1000)
47@ = 0

:SYN7_7323
if 
  not Char.IsDead(50@(47@,10i))
goto_if_false @SYN7_7414
Char.SetShootRate(50@(47@,10i), 30)
Char.SetAccuracy(50@(47@,10i), 30)
Char.SetIsTargetPriority(50@(47@,10i), True)
Char.SetDecisionMaker(50@(47@,10i), 36@)
Char.SetRelationship(50@(47@,10i), RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(50@(47@,10i), RelationshipType.Like, PedType.Mission1)

:SYN7_7414
47@ += 1
  47@ >= 6
goto_if_false @SYN7_7323
141@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2126.144, -82.2896, 34.3203, MoveState.Run, -1)
Task.GotoChar(-1, $stattreadstamina_ctr, -1, 5.0)
Sequence.Close(141@)
Char.PerformSequence(50@, 141@)
Char.PerformSequence(51@, 141@)
if 
  not Char.IsDead(52@)
goto_if_false @SYN7_7564
Char.ClearTasksImmediately(52@)
Task.PlayAnim(52@, "POINT_LOOP", "ON_LOOKERS", 8.0, True, False, False, True, 3000)

:SYN7_7564
Task.GotoChar(53@, $stattreadstamina_ctr, -1, 5.0)
Task.GotoChar(54@, $stattreadstamina_ctr, -1, 5.0)
Camera.SetFixedPosition(-2119.4, -92.22, 34.61, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2170.17, -161.04, 46.68, SwitchType.JumpCut)
$7324 = Math.RandomIntInRange(0, 3)
switch_start $7324 {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @SYN7_7915 {caseNum1} 0 {caseLabel1} @SYN7_7717 {caseNum2} 1 {caseLabel2} @SYN7_7783 {caseNum3} 2 {caseLabel3} @SYN7_7849 {caseNum4} -1 {caseLabel4} @SYN7_7915 {caseNum5} -1 {caseLabel5} @SYN7_7915 {caseNum6} -1 {caseLabel6} @SYN7_7915 {caseNum7} -1 {caseLabel7} @SYN7_7915

:SYN7_7717
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39808)

:SYN7_7730
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_7756
wait 0
goto @SYN7_7730

:SYN7_7756
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN7_CA', 4000, 1)
goto @SYN7_7915

:SYN7_7783
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39809)

:SYN7_7796
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_7822
wait 0
goto @SYN7_7796

:SYN7_7822
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN7_CB', 4000, 1)
goto @SYN7_7915

:SYN7_7849
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 39810)

:SYN7_7862
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN7_7888
wait 0
goto @SYN7_7862

:SYN7_7888
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('SYN7_CC', 4000, 1)
goto @SYN7_7915

:SYN7_7915
wait 4000
gosub @SYN7_16581
Blip.Remove(41@)
70@ = Blip.AddForCoord(-2175.243, -209.7745, 34.3281)
if and
  not Car.IsDead(38@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_7999
if 
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @SYN7_7999
Blip.ChangeDisplay(70@, BlipDisplay.Neither)

:SYN7_7999
TIMERB = 0
Audio.ReportMissionAudioEventAtObject(45@, 1100)
48@ = 2

:SYN7_8021
if and
  48@ == 2
  not Car.IsDead(38@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_8540
if 
  Object.DoesExist(45@)
goto_if_false @SYN7_8177
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(45@)
if 
  -2117.0 > $on_footY
goto_if_false @SYN7_8144
  Object.Slide(45@, -2117.0, -80.8, 34.3281, 0.2, 0.0, 0.0, False)
goto @SYN7_8177

:SYN7_8144
if 
  122@ == 0
goto_if_false @SYN7_8177
Audio.ReportMissionAudioEventAtObject(45@, 1101)
122@ = 1

:SYN7_8177
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2138.212, -201.8113, 34.3281, 20.0, 20.0, 20.0, False)
  72@ == 0
goto_if_false @SYN7_8329
Text.PrintNow('SYN7_35', 4000, 1)
47@ = 0

:SYN7_8255
Char.Delete(50@(47@,10i))
47@ += 1
  47@ >= 6
goto_if_false @SYN7_8255
47@ = 0

:SYN7_8292
Char.Delete(42@(47@,3i))
47@ += 1
  47@ >= 2
goto_if_false @SYN7_8292
72@ = 1

:SYN7_8329
if 
  Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @SYN7_8540
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2181.76, -209.4146, 35.5234, 4.0, 4.0, 4.0, False)
goto_if_false @SYN7_8444
Text.PrintNow('SYN7_34', 6000, 1)
Blip.Remove(70@)
71@ = Blip.AddForCoord(-2184.059, -263.4215, 35.5234)
48@ = 3

:SYN7_8444
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2184.983, -218.1104, 35.5234, 4.0, 4.0, 4.0, False)
goto_if_false @SYN7_8540
Text.PrintNow('SYN7_34', 6000, 1)
Blip.Remove(70@)
71@ = Blip.AddForCoord(-2184.059, -263.4215, 35.5234)
48@ = 3

:SYN7_8540
if and
  48@ == 3
  not Car.IsDead(38@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_10153
if 
  Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @SYN7_10151
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2150.527, -241.7461, 35.5234, 4.0, 4.0, 4.0, False)
  not Char.IsDead(86@)
  94@ == 0
goto_if_false @SYN7_8916
$7324 = Math.RandomIntInRange(0, 5)
switch_start $7324 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @SYN7_8909 {caseNum1} 0 {caseLabel1} @SYN7_8719 {caseNum2} 1 {caseLabel2} @SYN7_8757 {caseNum3} 2 {caseLabel3} @SYN7_8795 {caseNum4} 3 {caseLabel4} @SYN7_8833 {caseNum5} 4 {caseLabel5} @SYN7_8871 {caseNum6} -1 {caseLabel6} @SYN7_8909 {caseNum7} -1 {caseLabel7} @SYN7_8909

:SYN7_8719
set_lvar_text_label 127@s = 'SYN7_DA'
set_lvar_int_to_constant 118@ = 39811
gosub @SYN7_16957
goto @SYN7_8909

:SYN7_8757
set_lvar_text_label 127@s = 'SYN7_DB'
set_lvar_int_to_constant 118@ = 39812
gosub @SYN7_16957
goto @SYN7_8909

:SYN7_8795
set_lvar_text_label 127@s = 'SYN7_DC'
set_lvar_int_to_constant 118@ = 39813
gosub @SYN7_16957
goto @SYN7_8909

:SYN7_8833
set_lvar_text_label 127@s = 'SYN7_DD'
set_lvar_int_to_constant 118@ = 39814
gosub @SYN7_16957
goto @SYN7_8909

:SYN7_8871
set_lvar_text_label 127@s = 'SYN7_DE'
set_lvar_int_to_constant 118@ = 39815
gosub @SYN7_16957
goto @SYN7_8909

:SYN7_8909
94@ = 1

:SYN7_8916
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2184.059, -263.4215, 35.5234, 4.0, 4.0, 4.0, 73@)
goto_if_false @SYN7_10135
Text.PrintHelpForever('SYN7_20')
73@ = 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @SYN7_10128
48@ = 4
Text.ClearHelp
if 
  not Car.IsDead(38@)
goto_if_false @SYN7_9056
Car.FreezePosition(38@, True)
Car.SetLightsOn(38@, False)
74@ = Sequence.Open()
Task.LeaveCar(-1, 38@)
Sequence.Close(74@)

:SYN7_9056
142@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, -2146.042, -259.7312, 39.7195, 6, -2)
Task.FollowPathNodesToCoord(-1, -2146.229, -267.7039, 39.7195, 6, -2)
Task.FollowPathNodesToCoord(-1, -2156.51, -268.1435, 39.7195, 6, -2)
Sequence.Close(142@)
60@ = Char.Create(PedType.Mission1, 144, -2140.931, -253.9011, 39.7195)
Char.SetHeading(60@, 150.6317)
Char.PerformSequence(60@, 142@)
Sequence.Clear(142@)
142@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(-2157.726, -231.4555, 35.5234)
Path.ExtendRoute(-2153.749, -236.6368, 35.5234)
Path.ExtendRoute(-2153.623, -246.5058, 35.5234)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.FollowPathNodesToCoord(-1, -2162.264, -260.4177, 35.5234, 6, -2)
Task.FollowPathNodesToCoord(-1, -2167.765, -261.495, 35.5234, 6, -2)
Sequence.Close(142@)
61@ = Char.Create(PedType.Mission1, 48, -2162.236, -230.954, 35.522)
Char.SetHeading(61@, 231.2343)
Char.PerformSequence(61@, 142@)
Sequence.Clear(142@)
142@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(-2157.726, -231.4555, 35.5234)
Path.ExtendRoute(-2153.749, -236.6368, 35.5234)
Path.ExtendRoute(-2153.623, -246.5058, 35.5234)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.FollowPathNodesToCoord(-1, -2154.923, -248.2299, 35.5234, 6, -2)
Sequence.Close(142@)
62@ = Char.Create(PedType.Mission1, 46, -2168.337, -228.406, 35.522)
Char.SetHeading(62@, 294.489)
Char.PerformSequence(62@, 142@)
Sequence.Clear(142@)
142@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(-2157.726, -231.4555, 35.5234)
Path.ExtendRoute(-2153.749, -236.6368, 35.5234)
Path.ExtendRoute(-2153.623, -246.5058, 35.5234)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.FollowPathNodesToCoord(-1, -2156.835, -234.232, 35.5234, 6, -2)
Sequence.Close(142@)
63@ = Char.Create(PedType.Mission1, 46, -2168.74, -231.348, 35.5234)
Char.SetHeading(63@, 278.3553)
Char.PerformSequence(63@, 142@)
Sequence.Clear(142@)
64@ = Char.Create(PedType.Mission1, 46, -2162.417, -227.2437, 35.5143)
Char.SetHeading(64@, 196.0546)
Task.StayInSamePlace(64@, True)
47@ = 0

:SYN7_9683
Char.SetShootRate(60@(47@,10i), 30)
Char.SetAccuracy(60@(47@,10i), 30)
Char.SetIsTargetPriority(60@(47@,10i), True)
if 
  47@ == 4
goto_if_false @SYN7_9766
Char.SetWeaponSkill(60@(47@,10i), 2)
Char.GiveWeapon(60@(47@,10i), WeaponType.Pistol, 9999)
goto @SYN7_9791

:SYN7_9766
Char.GiveWeapon(60@(47@,10i), WeaponType.MicroUzi, 30000)
Char.SetCurrentWeapon(60@(47@,10i), WeaponType.MicroUzi)

:SYN7_9791
Char.SetDecisionMaker(60@(47@,10i), 36@)
Char.SetRelationship(60@(47@,10i), RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(60@(47@,10i), RelationshipType.Like, PedType.Mission1)
47@ += 1
  47@ >= 5
goto_if_false @SYN7_9683
gosub @SYN7_16548
Char.Delete(87@)
Char.Delete(88@)
Char.Delete(89@)
Char.Delete(90@)
Streaming.LoadSceneInDirection(-2150.44, -239.1755, 35.5234, 52.2777)
Camera.SetFixedPosition(-2152.86, -236.6111, 37.0321, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2153.623, -235.9684, 36.9637, SwitchType.JumpCut)
if 
  not Char.IsDead(64@)
goto_if_false @SYN7_10011
Task.PlayAnim(64@, "POINT_LOOP", "ON_LOOKERS", 8.0, False, False, False, False, 4000)

:SYN7_10011
Text.PrintNow('SYN7_37', 4000, 1)
Game.SetWantedMultiplier(0.0)
wait 4000
gosub @SYN7_16581
if and
  not Car.IsDead(38@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_10075
Task.LeaveCar($stattreadstamina_ctr, 38@)

:SYN7_10075
Blip.Remove(71@)
Hud.DisplayTimerWithString($farlie3_text, TimerDirection.Down, 'SYN7_18')
75@ = Blip.AddForCoord(-2162.964, -225.5678, 35.5156)
TIMERA = 0
Player.ClearWantedLevel($statbike_temp)

:SYN7_10128
goto @SYN7_10144

:SYN7_10135
Text.ClearHelp
73@ = 1

:SYN7_10144
goto @SYN7_10153

:SYN7_10151
Text.ClearHelp

:SYN7_10153
if 
  48@ == 4
goto_if_false @SYN7_12141
if and
  TIMERA > 4000
  78@ == 0
goto_if_false @SYN7_10204
78@ = 1

:SYN7_10204
if 
  $farlie3_text == 0
goto_if_false @SYN7_10236
76@ = 1
goto @SYN7_11885

:SYN7_10236
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2162.964, -225.5678, 35.5156, 1.2, 1.2, 1.2, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2186.166, -216.9555, 35.5143, 6.0, 6.0, 6.0, False)
goto_if_false @SYN7_12141
gosub @SYN7_16618
gosub @SYN7_16548
Streaming.LoadScene(-2187.505, -263.5027, 36.5551)
Streaming.LoadSceneInDirection(-2157.059, -262.1108, 35.5156, 89.9913)
Blip.Remove(75@)
41@ = Blip.AddForCoord(-2127.2, -84.9324, 34.3273)
Hud.ClearTimer($farlie3_text)
Camera.SetFixedPosition(-2168.97, -262.731, 36.3878, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2169.968, -262.7543, 36.453, SwitchType.JumpCut)
gosub @SYN7_16651
if 
  not Car.IsDead(38@)
goto_if_false @SYN7_10489
Car.ExplodeInCutsceneShakeAndBits(38@, True, True, True)

:SYN7_10489
wait 100
Fx.AddExplosion(-2187.505, -263.5027, 36.5551, ExplosionType.Grenade)
wait 500
Fx.AddExplosion(-2187.18, -263.8283, 39.8421, ExplosionType.Grenade)
wait 500
Fx.AddExplosion(-2187.18, -263.8283, 42.8421, ExplosionType.Grenade)
wait 500
Fx.AddExplosion(-2187.432, -259.6525, 42.0391, ExplosionType.Grenade)
Fx.AddExplosion(-2188.399, -266.6203, 42.6058, ExplosionType.Grenade)
wait 500
Fx.AddExplosion(-2185.595, -265.3064, 47.5696, ExplosionType.Grenade)
wait 500
Fx.AddExplosion(-2184.774, -262.4794, 37.4383, ExplosionType.Grenade)
Fx.AddExplosion(-2187.574, -262.5659, 39.7252, ExplosionType.Grenade)
wait 500
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2163.6, -225.62, 36.0, 10.0, 10.0, 10.0, False)
goto_if_false @SYN7_10840
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN7_10803
$stealth_help_flag = Char.StoreCarIsIn($stattreadstamina_ctr)
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2162.734, -225.3373, 35.4984)
World.ClearArea(-2162.734, -225.3373, 35.4984, 10.0, True)
Car.Delete($stealth_help_flag)
goto @SYN7_10823

:SYN7_10803
Char.SetCoordinates($stattreadstamina_ctr, -2162.734, -225.3373, 35.4984)

:SYN7_10823
Char.SetHeading($stattreadstamina_ctr, 0.0)
77@ = 0

:SYN7_10840
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2186.166, -216.9555, 35.5143, 10.0, 10.0, 10.0, False)
goto_if_false @SYN7_11025
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN7_10968
$stealth_help_flag = Char.StoreCarIsIn($stattreadstamina_ctr)
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2162.734, -225.3373, 35.4984)
World.ClearArea(-2162.734, -225.3373, 35.4984, 10.0, True)
Car.Delete($stealth_help_flag)
goto @SYN7_10988

:SYN7_10968
Char.SetCoordinates($stattreadstamina_ctr, -2162.734, -225.3373, 35.4984)

:SYN7_10988
Char.SetCoordinates($stattreadstamina_ctr, -2181.331, -217.6694, 35.5078)
Char.SetHeading($stattreadstamina_ctr, 286.3482)
77@ = 1

:SYN7_11025
gosub @SYN7_16618
Streaming.RemoveIpl("CRACK")
World.SetVisibilityOfClosestObjectOfType(-2166.86, -236.5, 40.86, 40.0, #CRACKFACT_SFS, False)
World.SetVisibilityOfClosestObjectOfType(-2185.49, -215.55, 34.31, 40.0, #CF_EXT_DEM_SFS, True)
World.SetVisibilityOfClosestObjectOfType(-2166.86, -236.5, 40.86, 40.0, #LODCRACKFACT_SFS, False)
World.SetVisibilityOfClosestObjectOfType(-2185.49, -215.55, 34.31, 40.0, #LODEXT_DEM_SFS, True)
wait 1000
if 
  77@ == 0
goto_if_false @SYN7_11214
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_11214
Char.SetCoordinates($stattreadstamina_ctr, -2160.729, -220.985, 34.3203)
Char.SetHeading($stattreadstamina_ctr, 336.7796)

:SYN7_11214
if 
  77@ == 1
goto_if_false @SYN7_11278
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_11278
Char.SetCoordinates($stattreadstamina_ctr, -2175.513, -214.8866, 34.3203)
Char.SetHeading($stattreadstamina_ctr, 298.3929)

:SYN7_11278
gosub @SYN7_14654
Streaming.LoadSceneInDirection(-2162.283, -220.5315, 34.3203, 324.4546)
gosub @SYN7_16581
95@ = Char.Create(PedType.Mission1, 144, -2132.044, -168.6656, 34.3273)
Char.SetHeading(95@, 168.3635)
Task.GoStraightToCoord(95@, -2141.766, -206.9254, 34.3203, MoveState.Run, -1)
96@ = Char.Create(PedType.Mission1, 48, -2136.878, -167.5268, 34.3203)
Char.SetHeading(96@, 172.0629)
Task.GoStraightToCoord(96@, -2141.766, -206.9254, 34.3203, MoveState.Run, -1)
105@ = Car.Create(412, -2124.606, -87.9687, 34.3203)
Car.SetCanBurstTires(105@, False)
Car.SetCruiseSpeed(105@, 40.0)
Car.SetHeading(105@, 231.2455)
97@ = Char.CreateInsideCar(105@, PedType.Mission1, 144)
98@ = Char.CreateAsPassenger(105@, PedType.Mission1, 144, 0)
99@ = Char.Create(PedType.Mission1, 144, -2103.291, -133.9342, 34.3273)
Char.SetHeading(99@, 170.6763)
100@ = Char.Create(PedType.Mission1, 48, -2107.37, -146.9669, 34.3273)
Char.SetHeading(100@, 174.6227)
101@ = Char.Create(PedType.Mission1, 48, -2145.116, -181.3902, 37.6913)
Char.SetHeading(101@, 176.688)
Task.StayInSamePlace(101@, True)
Task.ToggleDuck(101@, True)
102@ = Char.Create(PedType.Mission1, 48, -2111.808, -159.8649, 34.3273)
Char.SetHeading(102@, 138.7297)
Task.StayInSamePlace(102@, True)
47@ = 0

:SYN7_11674
Char.GiveWeapon(95@(47@,10i), WeaponType.MicroUzi, 1000)
Char.SetAccuracy(95@(47@,10i), 30)
Char.SetShootRate(95@(47@,10i), 30)
Char.SetDecisionMaker(95@(47@,10i), 36@)
Char.SetRelationship(95@(47@,10i), RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(95@(47@,10i), RelationshipType.Like, PedType.Mission1)
Char.SetSenseRange(95@(47@,10i), 70.0)
Char.SetIsTargetPriority(95@(47@,10i), True)
47@ += 1
  47@ >= 8
goto_if_false @SYN7_11674
Streaming.RequestCarRecording(485)

:SYN7_11799
if 
  not Streaming.HasCarRecordingBeenLoaded(485)
goto_if_false @SYN7_11826
wait 0
goto @SYN7_11799

:SYN7_11826
if 
  not Car.IsDead(105@)
goto_if_false @SYN7_11855
Car.StartPlayback(105@, 485)
Car.PausePlayback(105@)

:SYN7_11855
gosub @SYN7_16651
if and
  76@ == 1
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_12118

:SYN7_11885
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
47@ = 0

:SYN7_11906
Task.Die($stattreadstamina_ctr)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
$s7_rnd_1 = Math.RandomFloatInRange(-3.0, 3.0)
add_float_var_to_float_var $on_footY += $s7_rnd_1
add_float_var_to_float_var $on_footZ += $s7_rnd_1
Fx.AddExplosion($on_footY, $on_footZ, $in_carX, ExplosionType.Grenade)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
$s7_rnd_1 = Math.RandomFloatInRange(-3.0, 3.0)
add_float_var_to_float_var $on_footY += $s7_rnd_1
add_float_var_to_float_var $on_footZ += $s7_rnd_1
Fx.AddExplosion($on_footY, $on_footZ, $in_carX, ExplosionType.Grenade)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
$s7_rnd_1 = Math.RandomFloatInRange(-3.0, 3.0)
add_float_var_to_float_var $on_footY += $s7_rnd_1
add_float_var_to_float_var $on_footZ += $s7_rnd_1
Fx.AddExplosion($on_footY, $on_footZ, $in_carX, ExplosionType.Grenade)
wait 500
47@ += 1
  47@ >= 4
goto_if_false @SYN7_11906
goto @SYN7_15914

:SYN7_12118
Text.PrintNow('SYN7_23', 4000, 1)
48@ = 5

:SYN7_12141
if 
  48@ == 5
goto_if_false @SYN7_13767
if 
  124@ == 0
goto_if_false @SYN7_12332
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2118.54, -169.3188, 34.3273, 10.0, 10.0, 10.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2118.54, -169.3188, 34.3273, 10.0, 10.0, 10.0, False)
goto_if_false @SYN7_12332
if 
  not Char.IsDead(102@)
goto_if_false @SYN7_12325
126@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.ToggleDuck(-1, True)
Task.WeaponRoll(-1, False)
Task.ToggleDuck(-1, True)
Sequence.Close(126@)
Char.PerformSequence(102@, 126@)
Sequence.Clear(126@)

:SYN7_12325
124@ = 1

:SYN7_12332
if 
  123@ == 1
goto_if_false @SYN7_12437
if 
  not Car.IsDead(105@)
goto_if_false @SYN7_12437
if 
  not Car.IsPlaybackGoingOn(105@)
goto_if_false @SYN7_12437
if 
  not Char.IsDead(97@)
goto_if_false @SYN7_12406
Task.LeaveCar(97@, 105@)

:SYN7_12406
if 
  not Char.IsDead(98@)
goto_if_false @SYN7_12430
Task.LeaveCar(98@, 105@)

:SYN7_12430
123@ = 2

:SYN7_12437
if and
  Char.IsInArea3D($stattreadstamina_ctr, -2097.723, -109.9725, 30.0, -2155.992, -122.742, 40.0, False)
  123@ == 0
goto_if_false @SYN7_12541
if and
  not Car.IsDead(105@)
  Car.IsPlaybackGoingOn(105@)
goto_if_false @SYN7_12534
if 
  not Car.IsDead(105@)
goto_if_false @SYN7_12534
Car.UnpausePlayback(105@)

:SYN7_12534
123@ = 1

:SYN7_12541
if and
  $7323 == 0
  123@ == 0
goto_if_false @SYN7_12629
if and
  not Car.IsDead(105@)
  Car.IsPlaybackGoingOn(105@)
goto_if_false @SYN7_12608
if 
  not Car.IsDead(105@)
goto_if_false @SYN7_12608
Car.UnpausePlayback(105@)

:SYN7_12608
TIMERA = 0
79@ = 1
123@ = 1

:SYN7_12629
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2127.37, -85.497, 35.5234, 20.0, 20.0, 10.0, False)
  79@ == 0
goto_if_false @SYN7_12714
TIMERA = 0
79@ = 1
Text.PrintNow('SYN7_13', 3000, 1)

:SYN7_12714
if and
  TIMERA > 3000
  79@ == 1
goto_if_false @SYN7_13122
if 
  not Car.IsDead(105@)
goto_if_false @SYN7_12789
if 
  125@ == 0
goto_if_false @SYN7_12789
107@ = Blip.AddForCar(105@)
Blip.SetAsFriendly(107@, True)

:SYN7_12789
81@ = Blip.AddForCoord(-2145.963, -117.1968, 38.1988)
Blip.ChangeDisplay(81@, BlipDisplay.Neither)
Blip.Remove(41@)
Text.PrintNow('SYN7_38', 5000, 1)
79@ = 2
108@ = Char.Create(PedType.Mission1, 48, -2107.37, -146.9669, 34.3273)
Char.SetHeading(108@, 174.6227)
109@ = Char.Create(PedType.Mission1, 144, -2107.37, -146.9669, 34.3273)
Char.SetHeading(109@, 174.6227)
110@ = Char.Create(PedType.Mission1, 48, -2136.109, -180.0674, 34.3203)
Char.SetHeading(110@, 297.2213)
111@ = Char.Create(PedType.Mission1, 144, -2140.6, -169.5873, 34.3203)
Char.SetHeading(111@, 258.2443)
112@ = Char.Create(PedType.Mission1, 144, -2143.463, -147.7724, 35.3922)
Char.SetHeading(112@, 209.4012)
47@ = 0

:SYN7_13024
Char.GiveWeapon(108@(47@,5i), WeaponType.MicroUzi, 1000)
Char.SetDecisionMaker(108@(47@,5i), 36@)
Char.SetRelationship(108@(47@,5i), RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(108@(47@,5i), RelationshipType.Like, PedType.Mission1)
Char.SetSenseRange(108@(47@,5i), 70.0)
Char.SetIsTargetPriority(108@(47@,5i), True)
47@ += 1
  47@ >= 5
goto_if_false @SYN7_13024

:SYN7_13122
if and
  TIMERA > 10000
  79@ == 2
goto_if_false @SYN7_13155
79@ = 3

:SYN7_13155
if 
  Car.IsDead(105@)
goto_if_false @SYN7_13199
if 
  Blip.DoesExist(107@)
goto_if_false @SYN7_13192
Blip.Remove(107@)

:SYN7_13192
Blip.ChangeDisplay(81@, BlipDisplay.Both)

:SYN7_13199
if 
  not Car.IsDead(105@)
goto_if_false @SYN7_13308
if and
  not Char.IsInCar($stattreadstamina_ctr, 105@)
  79@ > 1
goto_if_false @SYN7_13278
Blip.ChangeDisplay(107@, BlipDisplay.Both)
if 
  Blip.DoesExist(81@)
goto_if_false @SYN7_13271
Blip.ChangeDisplay(81@, BlipDisplay.Neither)

:SYN7_13271
goto @SYN7_13308

:SYN7_13278
Blip.ChangeDisplay(107@, BlipDisplay.Neither)
if 
  Blip.DoesExist(81@)
goto_if_false @SYN7_13308
Blip.ChangeDisplay(81@, BlipDisplay.Both)

:SYN7_13308
if 
  $7323 == 0
goto_if_false @SYN7_13432
if 
  Blip.DoesExist(41@)
goto_if_false @SYN7_13347
Blip.Remove(41@)

:SYN7_13347
if 
  Blip.DoesExist(81@)
goto_if_false @SYN7_13368
Blip.Remove(81@)

:SYN7_13368
if 
  Blip.DoesExist(81@)
goto_if_false @SYN7_13389
Blip.Remove(107@)

:SYN7_13389
48@ = 6
82@ = Blip.AddForCoord(-2029.603, 156.7249, 27.8429)
Text.PrintNow('SYN7_39', 6000, 1)

:SYN7_13432
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2149.364, -111.5658, 40.9064, 3.0, 3.0, 3.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2143.429, -111.1119, 41.0391, 3.0, 3.0, 3.0, False)
goto_if_false @SYN7_13767
if and
  $flag_phone_dialog_driv3 > 10.0
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN7_13767
$stealth_help_flag = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetForwardSpeed($stealth_help_flag, 25.0)
Hud.SwitchWidescreen(True)
Text.ClearHelp
Text.ClearPrints
Clock.SetTimeScale(0.4)
Char.SetHeading($stattreadstamina_ctr, 0.6201)
Camera.SetFixedPosition(-2133.065, -103.294, 37.6357, 0.0, 0.0, 0.0)
Camera.PointAtChar($stattreadstamina_ctr, CameraMode.Fixed, SwitchType.JumpCut)
wait 1700
Clock.SetTimeScale(1.0)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2146.676, -90.7008, 40.5966, 4.0, 4.0, 6.0, False)
goto_if_false @SYN7_13767
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_13739
Char.SetCoordinates($stattreadstamina_ctr, -2152.423, -75.3105, 34.3203)
Char.SetHeading($stattreadstamina_ctr, 357.8863)

:SYN7_13739
Camera.SetBehindPlayer
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @SYN7_13767
Car.SetForwardSpeed($stealth_help_flag, 0.0)

:SYN7_13767
if 
  Object.DoesExist(45@)
goto_if_false @SYN7_13862
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(45@)
if and
  $on_footY > -2127.0
  79@ == 1
goto_if_false @SYN7_13862
  Object.Slide(45@, -2127.0, -80.8, 34.3281, 0.2, 0.0, 0.0, False)

:SYN7_13862
if 
  48@ == 6
goto_if_false @SYN7_13961
if 
  Blip.DoesExist(107@)
goto_if_false @SYN7_13901
Blip.Remove(107@)

:SYN7_13901
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -2029.603, 156.7249, 27.8429, 4.0, 4.0, 4.0, True)
goto_if_false @SYN7_13961
Blip.Remove(82@)
goto @SYN7_14730

:SYN7_13961
if and
  not Car.IsDead(38@)
  48@ <> 0
  48@ <= 3
goto_if_false @SYN7_14246
if 
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @SYN7_14139
Text.PrintNow('SYN7_32', 100, 1)
if 
  49@ == 0
goto_if_false @SYN7_14132
Blip.ChangeDisplay(39@, BlipDisplay.Both)
if 
  48@ == 1
goto_if_false @SYN7_14075
Blip.ChangeDisplay(41@, BlipDisplay.Neither)

:SYN7_14075
if 
  48@ == 2
goto_if_false @SYN7_14100
Blip.ChangeDisplay(70@, BlipDisplay.Neither)

:SYN7_14100
if 
  48@ == 3
goto_if_false @SYN7_14125
Blip.ChangeDisplay(71@, BlipDisplay.Neither)

:SYN7_14125
49@ = 1

:SYN7_14132
goto @SYN7_14246

:SYN7_14139
if 
  49@ == 1
goto_if_false @SYN7_14246
Blip.ChangeDisplay(39@, BlipDisplay.Neither)
if 
  48@ == 1
goto_if_false @SYN7_14189
Blip.ChangeDisplay(41@, BlipDisplay.Both)

:SYN7_14189
if 
  48@ == 2
goto_if_false @SYN7_14214
Blip.ChangeDisplay(70@, BlipDisplay.Both)

:SYN7_14214
if 
  48@ == 3
goto_if_false @SYN7_14239
Blip.ChangeDisplay(71@, BlipDisplay.Both)

:SYN7_14239
49@ = 0

:SYN7_14246
if and
  Car.IsDead(38@)
  4 > 48@
goto_if_false @SYN7_14292
Text.PrintNow('SYN7_36', 4000, 1)
goto @SYN7_15914

:SYN7_14292
if and
  Car.IsDead(105@)
  48@ >= 5
  79@ >= 2
goto_if_false @SYN7_14640
if 
  48@ <> 6
goto_if_false @SYN7_14356
Text.PrintNow('SYN7_53', 4000, 1)

:SYN7_14356
if 
  Blip.DoesExist(107@)
goto_if_false @SYN7_14377
Blip.Remove(107@)

:SYN7_14377
if 
  $7323 == 1
goto_if_false @SYN7_14640
Car.MarkAsNoLongerNeeded(105@)
125@ = 1
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, -2116.264, -200.0631, 34.3273, 30.0, 30.0, 30.0, False)
goto_if_false @SYN7_14551
World.ClearArea(-2116.264, -200.0631, 34.3273, 10.0, True)
105@ = Car.Create(412, -2116.264, -200.0631, 34.3273)
Car.SetCanBurstTires(105@, False)
Car.SetCruiseSpeed(105@, 40.0)
Car.SetHeading(105@, 352.5713)
107@ = Blip.AddForCar(105@)
Blip.SetAsFriendly(107@, True)
goto @SYN7_14640

:SYN7_14551
World.ClearArea(-2116.264, -200.0631, 34.3273, 10.0, True)
105@ = Car.Create(412, -2124.606, -87.9687, 34.3203)
Car.SetCanBurstTires(105@, False)
Car.SetCruiseSpeed(105@, 40.0)
Car.SetHeading(105@, 231.2455)
107@ = Blip.AddForCar(105@)
Blip.SetAsFriendly(107@, True)

:SYN7_14640
goto @SYN7_2008

:SYN7_14647
goto @SYN7_15914

:SYN7_14654
47@ = 0

:SYN7_14661
Char.Delete(86@(47@,8i))
47@ += 1
  47@ >= 5
goto_if_false @SYN7_14661
47@ = 0

:SYN7_14698
Char.Delete(60@(47@,10i))
47@ += 1
  47@ >= 5
goto_if_false @SYN7_14698
return 

:SYN7_14730
Blip.Remove($garage_blip_icon)
Streaming.RemoveIpl("BARRIERS2")
Text.PrintWithNumberBig('M_PASSS', 25000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 25000)
Stat.AwardPlayerMissionRespect(60)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('SYND_7')
$garageZ += 1
Stat.SetInt(StatId.CitiesPassed, 2)
Stat.SetInt(StatId.PassedSyndicateAndWoozie, 1)
Path.SwitchRoadsOn(-2696.464, 1239.866, 40.7599, -2665.359, 2190.96, 70.8125)
Path.SwitchRoadsOn(-2740.694, 2233.618, 40.8431, -2720.91, 2338.224, 80.4822)
Path.SwitchRoadsOn(-2695.584, 1237.981, 40.7328, -2664.417, 1454.767, 60.8126)
Path.SwitchRoadsOn(-995.0013, -416.2032, 30.4207, -940.5399, -251.8564, 40.6762)
Path.SwitchRoadsOn(-205.8387, 250.7443, 7.2472, -131.0039, 481.8496, 15.9152)
Path.SwitchRoadsOn(-100.7515, -927.8298, 18.0, -68.3752, -891.9871, 14.0)
Path.SwitchRoadsOn(609.7595, 327.3437, 15.8783, 429.8884, 616.0168, 20.289)
Path.SwitchRoadsOn(317.1688, 707.7672, 7.0, 437.5726, 709.0657, 20.5578)
Path.SwitchRoadsOn(391.1194, 640.015, 7.0, 402.2627, 664.798, 18.5098)
Path.SwitchRoadsOn(289.2904, 636.3991, 7.8675, 409.4943, 702.3849, 20.0345)
Path.SwitchRoadsOn(300.3153, 718.7909, 7.7846, 316.7906, 781.0926, 14.0795)
Path.SwitchRoadsOn(254.9982, 837.029, 10.1731, 270.7453, 929.2404, 30.2553)
Path.SwitchRoadsOn(210.7811, 939.2068, 10.9062, 249.4799, 959.1111, 30.2141)
Path.SwitchRoadsOn(230.4545, 946.0961, 20.6674, 255.9772, 969.2755, 30.4776)
Path.SwitchRoadsOn(249.4279, 899.7975, 10.5871, 268.6826, 933.5995, 30.3975)
Path.SwitchRoadsOn(312.1081, 694.1089, 6.0, 324.0811, 733.0005, 10.0)
Path.SwitchRoadsOn(324.4526, 804.9198, 9.6186, 332.8747, 814.356, 14.3925)
Path.SwitchRoadsOn(1690.819, 376.5103, 28.1103, 1730.223, 445.2955, 30.8414)
Path.SwitchRoadsOn(1643.536, 227.3723, 27.4457, 1673.062, 295.5788, 30.0815)
Path.SwitchRoadsOn(1673.765, 388.1013, 40.2331, 1815.862, 804.9291, 10.0)
Path.SwitchRoadsOn(1705.156, 308.3448, 20.0, 1710.948, 316.4094, 23.5612)
Path.SwitchRoadsOn(-12.7067, -1522.455, 1.0, 80.8463, -1517.111, 5.0)
Path.SwitchRoadsOn(-16.3392, -1532.882, 0.0394, 69.3401, -1523.771, 5.922)
Path.SwitchRoadsOn(618.7253, -1189.606, 18.0, 623.5441, -1161.981, 22.0)
Path.SwitchRoadsOn(-33.4208, -1341.84, 9.0, 35.3764, -1303.948, 13.0)
Path.SwitchRoadsOn(-41.2393, -1385.87, 8.0, -3.5883, -1368.856, 10.5)
Path.SwitchRoadsOn(-1690.705, 539.6102, 30.3278, -1100.567, 1140.569, 50.735)
Path.SwitchRoadsOn(-1799.541, 379.7155, 16.0, -1780.199, 392.2779, 18.0)
Path.SwitchRoadsOn(-1092.429, 1286.505, 30.0, -1077.038, 1319.495, 35.0)
Path.SwitchRoadsOn(-1860.133, 314.7891, 38.0, -1638.563, 557.4354, 40.0)
Path.SwitchRoadsOn(-1737.333, 455.9431, 30.3573, -1710.363, 500.6261, 40.4891)
Path.SwitchRoadsOn(-1689.229, 513.0995, 30.2597, -1679.124, 524.8383, 40.25)
Path.SwitchRoadsOn(-1742.906, 500.7302, 30.4679, -1650.312, 551.8201, 40.7455)
Path.SwitchRoadsOff(-1761.95, 507.8931, 35.0533, -1751.361, 531.5917, 41.3335)
return 

:SYN7_15914
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_15991
if 
  Char.HasBeenArrested($stattreadstamina_ctr)
goto_if_false @SYN7_15984
Restart.OverrideNext(-1605.792, 716.8598, 11.0241, 355.2978)

:SYN7_15984
goto @SYN7_16013

:SYN7_15991
Restart.OverrideNext(-2670.285, 616.4364, 13.4531, 183.1042)

:SYN7_16013
return 

:SYN7_16015
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_16036
Char.StopFacialTalk($stattreadstamina_ctr)

:SYN7_16036
Streaming.RemoveCarRecording(483)
Streaming.RemoveCarRecording(485)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Hud.ClearTimer($farlie3_text)
Path.SwitchRoadsBackToOriginal(-2175.817, -55.8818, 27.0, -2059.205, -99.4399, 37.0)
Path.SwitchPedRoadsBackToOriginal(-2175.817, -55.8818, 27.0, -2059.205, -99.4399, 37.0)
Path.SwitchPedRoadsBackToOriginal(-2107.98, -71.8985, 30.0, -2160.256, -89.7108, 37.0)
if 
  Blip.DoesExist(40@)
goto_if_false @SYN7_16182
Blip.Remove(40@)

:SYN7_16182
if 
  Blip.DoesExist(39@)
goto_if_false @SYN7_16203
Blip.Remove(39@)

:SYN7_16203
if 
  Blip.DoesExist(41@)
goto_if_false @SYN7_16224
Blip.Remove(41@)

:SYN7_16224
if 
  Blip.DoesExist(70@)
goto_if_false @SYN7_16245
Blip.Remove(70@)

:SYN7_16245
if 
  Blip.DoesExist(71@)
goto_if_false @SYN7_16266
Blip.Remove(71@)

:SYN7_16266
if 
  Blip.DoesExist(75@)
goto_if_false @SYN7_16287
Blip.Remove(75@)

:SYN7_16287
if 
  Blip.DoesExist(81@)
goto_if_false @SYN7_16308
Blip.Remove(81@)

:SYN7_16308
if 
  Blip.DoesExist(107@)
goto_if_false @SYN7_16329
Blip.Remove(107@)

:SYN7_16329
47@ = 0

:SYN7_16336
if 
  Blip.DoesExist(84@(47@,2i))
goto_if_false @SYN7_16365
Blip.Remove(84@(47@,2i))

:SYN7_16365
47@ += 1
  47@ >= 2
goto_if_false @SYN7_16336
if 
  World.IsAnyPickupAtCoords(-2182.652, -247.3813, 36.4)
goto_if_false @SYN7_16419
Pickup.Remove(121@)

:SYN7_16419
$weapon_shop1_blip = 0
Group.SetSeparationRange($flag_cell_nation, 30.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
World.RemoveAllScriptFires
Streaming.MarkModelAsNoLongerNeeded(549)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.RemoveAnimation("CAR")
Streaming.RemoveAnimation("ON_LOOKERS")
Streaming.RemoveAnimation("INT_HOUSE")
Streaming.MarkModelAsNoLongerNeeded(144)
Streaming.MarkModelAsNoLongerNeeded(48)
Streaming.MarkModelAsNoLongerNeeded(46)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(412)
Streaming.MarkModelAsNoLongerNeeded(#DYN_RAMP)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(145)
Streaming.MarkModelAsNoLongerNeeded(146)
Streaming.MarkModelAsNoLongerNeeded(344)
Streaming.MarkModelAsNoLongerNeeded(#HEALTH)
Streaming.MarkModelAsNoLongerNeeded(346)
Mission.Finish
return 

:SYN7_16548
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_16579
Text.ClearPrints
Text.ClearHelp
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)

:SYN7_16579
return 

:SYN7_16581
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_16616
Text.ClearPrints
Text.ClearHelp
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer

:SYN7_16616
return 

:SYN7_16618
Camera.DoFade(500, Fade.Out)

:SYN7_16625
if 
  Camera.GetFadingStatus
goto_if_false @SYN7_16649
wait 0
goto @SYN7_16625

:SYN7_16649
return 

:SYN7_16651
Camera.DoFade(500, Fade.In)

:SYN7_16658
if 
  Camera.GetFadingStatus
goto_if_false @SYN7_16682
wait 0
goto @SYN7_16658

:SYN7_16682
return 

:SYN7_16684
if 
is_ps2_keyboard_key_just_pressed 89
goto_if_false @SYN7_16775
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_16752
Char.SetCoordinates($stattreadstamina_ctr, -1705.882, 1028.967, 44.1953)
Char.SetHeading($stattreadstamina_ctr, 299.134)
113@ = 8

:SYN7_16752
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_16775
Task.UseMobilePhone($stattreadstamina_ctr, False)

:SYN7_16775
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @SYN7_16836
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_16836
Char.SetCoordinates($stattreadstamina_ctr, -2064.057, -68.6422, 34.1563)
Char.SetHeading($stattreadstamina_ctr, 94.0454)

:SYN7_16836
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @SYN7_16872
Streaming.RemoveIpl("CRACK")
Streaming.RequestIpl("FUKDCRAK")

:SYN7_16872
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @SYN7_16933
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN7_16933
Char.SetCoordinates($stattreadstamina_ctr, -2064.057, -68.6422, 34.1563)
Char.SetHeading($stattreadstamina_ctr, 94.0454)

:SYN7_16933
if 
is_ps2_keyboard_key_just_pressed 76
goto_if_false @SYN7_16955
48@ = 5

:SYN7_16955
return 

:SYN7_16957
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 118@)
117@ = 0
return 

:SYN7_16977
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  117@ == 0
goto_if_false @SYN7_17020
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(127@s, 10000, 1)
117@ = 1

:SYN7_17020
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  117@ == 1
goto_if_false @SYN7_17058
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(127@s)
117@ = 2

:SYN7_17058
return 

//-------------Mission 64---------------
// Originally: Pier 69

:SYN5
script_name 'SYN5'
gosub @SYN5_47
if 
  has_deatharrest_been_executed 
goto_if_false @SYN5_38
gosub @SYN5_23151

:SYN5_38
gosub @SYN5_23260
terminate_this_script 

:SYN5_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('SYN5')
if 
  $weapon_shop1_blip == 0
goto_if_false @SYN5_693
45@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1686.2, 1393.2, 20.5)
46@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1686.2, 1393.2, 20.5)
47@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1686.2, 1393.2, 20.5)
48@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1686.2, 1393.2, 20.5)
49@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1686.2, 1393.2, 20.5)
50@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1686.2, 1393.2, 20.5)
$chickX = Char.Create(PedType.Mission1, 120, -1674.5, 1337.0, 6.2)
36@ = Char.Create(PedType.Mission1, 108@(107@,7i), -1675.7, 1336.1, 6.2)
37@ = Char.Create(PedType.Mission1, 108@(107@,7i), -1675.7, 1336.1, 6.2)
38@ = Char.Create(PedType.Mission1, 108@(107@,7i), -1675.7, 1336.1, 6.2)
35@ = Char.Create(PedType.Mission2, 293, -1716.0, 1349.8, 6.2)
45@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1716.8, 1351.6, 6.2)
46@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1717.5, 1350.7, 6.2)
55@ = Car.Create(600, -1774.2, 1376.8, 5.7)
$sweet_car = Char.CreateInsideCar(55@, PedType.Mission2, 291)
39@ = Char.CreateAsPassenger(55@, PedType.Mission2, 108@(107@,7i), -1)
40@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1774.2, 1376.8, 5.7)
56@ = Car.Create(566, -1784.2, 1379.8, 5.7)
41@ = Char.CreateInsideCar(56@, PedType.Mission2, 108@(107@,7i))
42@ = Char.CreateAsPassenger(56@, PedType.Mission2, 108@(107@,7i), 0)
57@ = Car.Create(566, -1795.0, 1383.6, 5.7)
43@ = Char.CreateInsideCar(57@, PedType.Mission2, 108@(107@,7i))
44@ = Char.CreateAsPassenger(57@, PedType.Mission2, 108@(107@,7i), 0)
58@ = Car.Create(487, -1583.3, 1420.2, 25.7)
34@ = Char.CreateAsPassenger(58@, PedType.Mission2, 292, 0)

:SYN5_693
Text.ClearPrints
Text.ClearThisPrintBigNow(TextStyle.Middle)
wait 0
87@ = 0
88@ = 0
89@ = 0
90@ = 0
133@ = 0
91@ = 0
92@ = 0
93@ = 3
94@ = 0
95@ = 0
96@ = 0
98@ = 0
99@ = 6
97@ = 0
106@ = 0
100@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
105@ = 0
107@ = 0
106@ = 0
set_lvar_int_to_constant 108@ = 173
set_lvar_int_to_constant 109@ = 174
set_lvar_int_to_constant 111@ = 102
set_lvar_int_to_constant 112@ = 103
115@ = 0
116@ = 0
117@ = 0
118@ = 0
119@ = 0
120@ = 0
121@ = 0
122@ = 0
123@ = 0
124@ = 0
125@ = 0
126@ = 0
132@ = 0
133@ = 0
134@ = 0
135@ = 0
184@ = 0
185@ = 0
186@ = 0
187@ = 0
188@ = 0
189@ = 0
190@ = 0
191@ = 0.0
192@ = 0.0
193@ = 0.0
127@ = 0
128@ = 0
129@ = 0
130@ = 80
Camera.SetFadingColor(0, 0, 0)
wait 0
Weather.Force(WeatherType.SunnySf)
Camera.DoFade(500, Fade.Out)

:SYN5_1136
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_1160
wait 0
goto @SYN5_1136

:SYN5_1160
Player.MakeGangDisappear
Streaming.LoadSpecialCharacter(1, 'CESAR')
Streaming.RequestModel(358)
Streaming.RequestModel(429)
Streaming.RequestModel(#SNIPER_ANIM)
Streaming.RequestAnimation("MISC")
Streaming.RequestModel(173)
Streaming.RequestModel(174)
Streaming.RequestModel(330)
Streaming.RequestModel(372)
Streaming.RequestModel(120)
Streaming.RequestModel(117)
Streaming.RequestModel(567)
Streaming.LoadAllModelsNow
Group.Remove($flag_cell_nation)
Player.SetGroupRecruitment($statbike_temp, False)
196@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Player1)
197@ = DecisionMakerChar.Copy(65542)
World.ClearArea(-1748.3, 1263.0, 7.0, 5.0, True)
Car.CustomPlateForNextCar(567, "_LVA4L__")
77@ = Car.Create(567, -1748.3, 1263.0, 7.0)
Car.SetHeading(77@, 291.3)
Car.ChangeColor(77@, 3, 3)
World.ClearArea(-1720.7, 1277.3, 16.9, 2.0, True)
$ryder_car = Char.Create(PedType.Mission1, 290, -1720.7, 1277.3, 16.9)
Char.SetHeading($ryder_car, 317.9)
Char.GiveWeapon($ryder_car, WeaponType.Sniper, 12)
Char.SetNeverTargeted($ryder_car, True)
Char.SetDecisionMaker($ryder_car, 197@)
Char.SetOnlyDamagedByPlayer($ryder_car, True)
Char.SetStayInSamePlace($ryder_car, True)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetBehindPlayer
79@ = Blip.AddForChar($ryder_car)
Blip.SetAsFriendly(79@, True)
World.ClearArea(-1717.5, 1281.6, 6.2, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -1717.5, 1281.6, 6.2)
Char.SetHeading($stattreadstamina_ctr, 143.8)
Game.SwitchRandomTrains(False)
Path.SwitchPedRoadsOff(-1755.6, 1256.6, 0.0, -1598.2, 1660.1, 50.0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
World.ClearArea(-1716.7, 1282.6, 6.5, 2.0, True)
Camera.SetFixedPosition(-1716.7, 1282.6, 6.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1722.3, 1276.0, 16.9, SwitchType.JumpCut)
Game.EnableAmbientCrime(False)
TIMERA = 0
Camera.DoFade(500, Fade.In)

:SYN5_1694
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @SYN5_1720
goto @SYN5_23169

:SYN5_1720
Player.AlterWantedLevel($statbike_temp, 0)
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_1759
goto @SYN5_8953

:SYN5_1759
if 
  90@ == 1
goto_if_false @SYN5_1784
goto @SYN5_23151

:SYN5_1784
if 
  87@ == 0
goto_if_false @SYN5_2799
if 
  88@ == 0
goto_if_false @SYN5_1906
if 
  TIMERA > 500
goto_if_false @SYN5_1906
if 
  133@ == 0
goto_if_false @SYN5_1906
132@ = 1
134@ = 0
gosub @SYN5_30472
133@ = 1
89@ = 1
skip_cutscene_start_internal @SYN5_2000
88@ = 1

:SYN5_1906
if 
  88@ == 1
goto_if_false @SYN5_1956
if 
  132@ == 0
goto_if_false @SYN5_1956
TIMERA = 0
88@ = 2

:SYN5_1956
if 
  88@ == 2
goto_if_false @SYN5_2197
if 
  TIMERA > 1000
goto_if_false @SYN5_2197
89@ = 0

:SYN5_2000
skip_cutscene_end 
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_2034
goto @SYN5_8953

:SYN5_2034
if 
  90@ == 1
goto_if_false @SYN5_2059
goto @SYN5_23151

:SYN5_2059
if 
  89@ == 1
goto_if_false @SYN5_2094
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
132@ = 0

:SYN5_2094
World.ClearArea(-1721.4, 1276.2, 16.9, 1.0, True)
Char.SetCoordinates($ryder_car, -1721.4, 1276.2, 16.9)
Char.SetHeading($ryder_car, 326.3)
Text.PrintNow('SYN5_01', 7000, 1)
Player.MakeGangReappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
88@ = 3

:SYN5_2197
if 
  88@ == 3
goto_if_false @SYN5_2799
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $ryder_car, 4.0, 4.0, 4.0, False)
goto_if_false @SYN5_2733
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
132@ = 0
Car.MarkAsNoLongerNeeded(77@)
Streaming.MarkModelAsNoLongerNeeded(567)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Game.ShutAllCharsUp(True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @SYN5_2341
Char.SetCoordinates($stattreadstamina_ctr, -1728.0, 1257.4, 16.9)
Char.SetHeading($stattreadstamina_ctr, 42.2)

:SYN5_2341
World.ClearArea(-1673.7, 1369.0, 7.0, 150.0, True)
World.ClearArea(-1690.0, 1318.0, 7.0, 5.0, True)
set_lvar_int_to_constant 128@ = 429
gosub @SYN5_29241
75@ = Car.Create(429, -1690.0, 1318.0, 7.0)
Car.SetHeading(75@, 57.0)
Car.FreezePosition(75@, True)
Car.LockDoors(75@, CarLock.Locked)
World.ClearArea(-1721.4, 1276.2, 16.9, 5.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -1722.8, 1272.5, 16.9)
Char.SetHeading($stattreadstamina_ctr, 326.3)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, -1721.4, 1276.2, 16.9)
Char.SetHeading($ryder_car, 326.3)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Sniper)
goto_if_false @SYN5_2575
Char.RemoveAllWeapons($ryder_car)
127@ = 1

:SYN5_2575
89@ = 1
skip_cutscene_start_internal @SYN5_5917
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1720.79, 1275.4, 16.9, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence($stattreadstamina_ctr, 195@)
Sequence.Clear(195@)
Blip.Remove(79@)
132@ = 2
134@ = 0
135@ = 2
gosub @SYN5_30472
Camera.SetFixedPosition(-1725.2, 1270.5, 18.87, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1702.2, 1316.1, 22.4, SwitchType.JumpCut)
88@ = 0
87@ = 1

:SYN5_2733
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @SYN5_2799
Streaming.LoadScene(-1725.7, 1267.0, 17.3)
Char.SetCoordinates($stattreadstamina_ctr, -1725.7, 1267.0, 17.3)
Char.SetHeading($stattreadstamina_ctr, 308.8)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:SYN5_2799
if 
  87@ == 1
goto_if_false @SYN5_7288
if 
  88@ == 0
goto_if_false @SYN5_3023
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @SYN5_3023
Task.TurnCharToFaceChar($stattreadstamina_ctr, $ryder_car)
if 
  127@ == 0
goto_if_false @SYN5_2986
195@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "IDLE_ARMED", "PED", 4.0, False, False, False, True, -1)
Sequence.Close(195@)
Char.PerformSequence($ryder_car, 195@)
Sequence.Clear(195@)
73@ = Object.Create(#SNIPER_ANIM, -1714.2, 1266.5, 18.3)
goto @SYN5_3016

:SYN5_2986
195@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(195@)
Char.PerformSequence($ryder_car, 195@)
Sequence.Clear(195@)

:SYN5_3016
88@ = 1

:SYN5_3023
if 
  88@ == 1
goto_if_false @SYN5_3243
if 
  132@ == 0
goto_if_false @SYN5_3243
$chickY = Char.GetScriptTaskStatus($ryder_car, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @SYN5_3243
191@, 192@, 193@ = Char.GetOffsetInWorldCoords($ryder_car, 0.0, 1.0, -1.0)
Char.SetCoordinates($stattreadstamina_ctr, 191@, 192@, 193@)
191@ = Char.GetHeading($ryder_car)
191@ += 180.0
Char.SetHeading($stattreadstamina_ctr, 191@)
132@ = 2
134@ = 2
135@ = 4
gosub @SYN5_30472
Camera.SetFixedPosition(-1722.04, 1273.2, 18.81, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1708.2, 1299.9, 17.76, SwitchType.JumpCut)
88@ = 2

:SYN5_3243
if 
  88@ == 2
goto_if_false @SYN5_3466
if 
  127@ == 0
goto_if_false @SYN5_3441
191@, 192@, 193@ = Char.GetOffsetInWorldCoords($ryder_car, 0.0, 0.5, 0.0)
Char.RemoveAllWeapons($ryder_car)
Object.SetCoordinates(73@, 191@, 192@, 193@)
191@ = Char.GetHeading($stattreadstamina_ctr)
Object.SetHeading(73@, 191@)
Task.PlayAnim($ryder_car, "PASS_RIFLE_PED", "MISC", 1000.0, False, False, False, False, -1)
Task.PlayAnim($stattreadstamina_ctr, "PASS_RIFLE_PLY", "MISC", 1000.0, False, False, False, False, -1)
88@ = 3
goto @SYN5_3466

:SYN5_3441
if 
  132@ == 0
goto_if_false @SYN5_3466
88@ = 3

:SYN5_3466
if 
  88@ == 3
goto_if_false @SYN5_3800
if 
  127@ == 0
goto_if_false @SYN5_3793
if 
  Object.DoesExist(73@)
goto_if_false @SYN5_3786
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PASS_RIFLE_PLY")
goto_if_false @SYN5_3702
131@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PASS_RIFLE_PLY")
if 
  Object.IsPlayingAnim(73@, "PASS_RIFLE_O")
goto_if_false @SYN5_3633
Object.SetAnimCurrentTime(73@, "PASS_RIFLE_O", 131@)
goto @SYN5_3702

:SYN5_3633
if 
Object.PlayAnim(73@, "PASS_RIFLE_O", "MISC", 10000.0, False, False)
goto_if_false @SYN5_3702
Object.SetAnimSpeed(73@, "PASS_RIFLE_O", 0.0)

:SYN5_3702
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PASS_RIFLE_PLY")
goto_if_false @SYN5_3786
194@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PASS_RIFLE_PLY")
if 
  194@ == 1.0
goto_if_false @SYN5_3786
88@ = 4

:SYN5_3786
goto @SYN5_3800

:SYN5_3793
88@ = 4

:SYN5_3800
if 
  88@ == 4
goto_if_false @SYN5_3952
if 
  127@ == 0
goto_if_false @SYN5_3841
Object.Delete(73@)

:SYN5_3841
91@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Sniper)
if 
  24 > 91@
goto_if_false @SYN5_3892
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Sniper, 24)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Sniper)
goto @SYN5_3899

:SYN5_3892
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Sniper)

:SYN5_3899
Task.AimGunAtCoord($stattreadstamina_ctr, -1715.4, 1287.5, 16.5, -1)
Task.AchieveHeading($ryder_car, 332.1)
gosub @SYN5_23800
TIMERA = 0
88@ = 5

:SYN5_3952
if 
  88@ == 5
goto_if_false @SYN5_4245
if 
  TIMERA > 2000
goto_if_false @SYN5_4245
if 
  132@ == 0
goto_if_false @SYN5_4245
if 
  not Char.IsDead(45@)
goto_if_false @SYN5_4084
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1711.1, 1354.0, 16.0, MoveState.Walk, -1)
Task.AchieveHeading(-1, 200.0)
Task.LookAbout(-1, -1)
Sequence.Close(195@)
Char.PerformSequence(45@, 195@)
Sequence.Clear(195@)

:SYN5_4084
if 
  not Char.IsDead(46@)
goto_if_false @SYN5_4152
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1686.6, 1376.2, 13.8, MoveState.Walk, -1)
Task.LookAbout(-1, -1)
Sequence.Close(195@)
Char.PerformSequence(46@, 195@)
Sequence.Clear(195@)

:SYN5_4152
Camera.SetFixedPosition(-1707.1, 1329.7, 18.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1701.8, 1360.3, 9.0, SwitchType.JumpCut)
132@ = 2
134@ = 4
135@ = 5
gosub @SYN5_30472
TIMERA = 0
88@ = 6

:SYN5_4245
if 
  88@ == 6
goto_if_false @SYN5_4490
if 
  TIMERA > 5000
goto_if_false @SYN5_4490
if 
  not Char.IsDead(48@)
goto_if_false @SYN5_4383
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1682.7, 1343.1, 16.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1672.7, 1342.6, 16.2, MoveState.Walk, -1)
Char.SetHeading(48@, 4.0)
Task.LookAbout(-1, -1)
Sequence.Close(195@)
Char.PerformSequence(48@, 195@)
Sequence.Clear(195@)

:SYN5_4383
Camera.SetNearClip(0.1)
Camera.SetFixedPosition(-1712.2, 1354.2, 18.1, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1675.7, 1338.4, 9.9, SwitchType.JumpCut)
132@ = 2
134@ = 5
135@ = 6
gosub @SYN5_30472
gosub @SYN5_24432
TIMERA = 0
88@ = 7

:SYN5_4490
if 
  88@ == 7
goto_if_false @SYN5_4675
if 
  TIMERA > 4000
goto_if_false @SYN5_4675
if 
  132@ == 0
goto_if_false @SYN5_4675
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_4568
Char.SetVisible($chickX, True)

:SYN5_4568
Camera.SetNearClip(0.9)
Camera.SetFixedPosition(-1722.2, 1271.7, 20.1, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1709.7, 1305.0, 7.4, SwitchType.JumpCut)
Task.UseMobilePhone($ryder_car, True)
132@ = 2
134@ = 6
135@ = 7
gosub @SYN5_30472
TIMERA = 0
88@ = 8

:SYN5_4675
if 
  88@ == 8
goto_if_false @SYN5_4772
if 
  TIMERA > 2000
goto_if_false @SYN5_4772
if 
  132@ == 0
goto_if_false @SYN5_4772
132@ = 2
134@ = 7
135@ = 9
gosub @SYN5_30472
TIMERA = 0
88@ = 9

:SYN5_4772
if 
  88@ == 9
goto_if_false @SYN5_4879
if 
  132@ == 0
goto_if_false @SYN5_4879
$chickY = Char.GetScriptTaskStatus($ryder_car, 1833)
if 
  is_int_var_equal_to_constant $chickY == 1
goto_if_false @SYN5_4844
Task.UseMobilePhone($ryder_car, False)

:SYN5_4844
132@ = 2
134@ = 9
135@ = 11
gosub @SYN5_30472
88@ = 10

:SYN5_4879
if 
  88@ == 10
goto_if_false @SYN5_5383
if 
  132@ == 0
goto_if_false @SYN5_5383
$chickY = Char.GetScriptTaskStatus($ryder_car, 1833)
if 
  is_int_var_equal_to_constant $chickY == 1
goto_if_false @SYN5_4951
Task.UseMobilePhone($ryder_car, False)

:SYN5_4951
if 
  not Char.IsDead(36@)
goto_if_false @SYN5_5042
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1683.4, 1326.9, 6.0, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1673.4, 1335.0, 6.2, MoveState.Walk, -1)
Task.ToggleDuck(-1, False)
Sequence.Close(195@)
Char.PerformSequence(36@, 195@)
Sequence.Clear(195@)

:SYN5_5042
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_5134
195@ = Sequence.Open()
Task.Pause(-1, 500)
Task.GoStraightToCoord(-1, -1684.8, 1324.7, 6.0, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1675.7, 1336.1, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence($chickX, 195@)
Sequence.Clear(195@)

:SYN5_5134
if 
  not Char.IsDead(37@)
goto_if_false @SYN5_5226
195@ = Sequence.Open()
Task.Pause(-1, 700)
Task.GoStraightToCoord(-1, -1687.2, 1323.8, 6.0, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1676.0, 1334.0, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence(37@, 195@)
Sequence.Clear(195@)

:SYN5_5226
if 
  not Char.IsDead(38@)
goto_if_false @SYN5_5318
195@ = Sequence.Open()
Task.Pause(-1, 800)
Task.GoStraightToCoord(-1, -1689.0, 1325.4, 6.0, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1678.0, 1333.7, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence(38@, 195@)
Sequence.Clear(195@)

:SYN5_5318
Camera.SetFixedPosition(-1693.9, 1318.9, 7.7, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1686.1, 1320.8, 6.6, SwitchType.JumpCut)
TIMERA = 0
88@ = 11

:SYN5_5383
if 
  88@ == 11
goto_if_false @SYN5_5874
if 
  TIMERA > 3000
goto_if_false @SYN5_5874
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_5512
Char.SetCoordinates($chickX, -1681.4, 1326.4, 6.2)
Char.SetHeading($chickX, 300.1)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1671.6, 1339.0, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence($chickX, 195@)
Sequence.Clear(195@)

:SYN5_5512
if 
  not Char.IsDead(36@)
goto_if_false @SYN5_5604
Char.SetCoordinates(36@, -1684.1, 1324.1, 6.2)
Char.SetHeading(36@, 311.1)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1671.6, 1339.0, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence(36@, 195@)
Sequence.Clear(195@)

:SYN5_5604
if 
  not Char.IsDead(37@)
goto_if_false @SYN5_5696
Char.SetCoordinates(37@, -1683.0, 1321.7, 6.2)
Char.SetHeading(37@, 333.4)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1671.6, 1339.0, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence(37@, 195@)
Sequence.Clear(195@)

:SYN5_5696
if 
  not Char.IsDead(38@)
goto_if_false @SYN5_5788
Char.SetCoordinates(38@, -1685.4, 1323.6, 6.2)
Char.SetHeading(38@, 323.8)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1671.6, 1339.0, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence(38@, 195@)
Sequence.Clear(195@)

:SYN5_5788
Camera.SetFixedPosition(-1678.4, 1318.3, 7.2, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1680.6, 1330.0, 8.9, SwitchType.JumpCut)
132@ = 2
134@ = 11
135@ = 14
gosub @SYN5_30472
88@ = 12

:SYN5_5874
if 
  88@ == 12
goto_if_false @SYN5_7288
if 
  132@ == 0
goto_if_false @SYN5_7288
89@ = 0

:SYN5_5917
skip_cutscene_end 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
132@ = 0
Camera.DoFade(500, Fade.Out)

:SYN5_5943
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_5967
wait 0
goto @SYN5_5943

:SYN5_5967
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_5999
goto @SYN5_8953

:SYN5_5999
if 
  90@ == 1
goto_if_false @SYN5_6024
goto @SYN5_23151

:SYN5_6024
Camera.SetNearClip(0.9)
if 
  89@ == 1
goto_if_false @SYN5_6334
91@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Sniper)
if 
  24 > 91@
goto_if_false @SYN5_6086
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Sniper, 24)

:SYN5_6086
Object.Delete(73@)
Char.RemoveAllWeapons($ryder_car)
Text.ClearPrints
$chickY = Char.GetScriptTaskStatus($ryder_car, 1833)
if 
  is_int_var_equal_to_constant $chickY == 1
goto_if_false @SYN5_6134
Task.UseMobilePhone($ryder_car, False)

:SYN5_6134
Char.ClearTasksImmediately($ryder_car)
Char.SetHeading($ryder_car, 332.1)
Char.SetHeading($stattreadstamina_ctr, 332.1)
gosub @SYN5_23800
gosub @SYN5_24432
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_6196
Char.SetVisible($chickX, True)

:SYN5_6196
if 
  not Char.IsDead(45@)
goto_if_false @SYN5_6242
Char.SetCoordinates(45@, -1711.1, 1354.0, 16.0)
Char.SetHeading(45@, 200.0)

:SYN5_6242
if 
  not Char.IsDead(46@)
goto_if_false @SYN5_6288
Char.SetCoordinates(46@, -1686.6, 1376.2, 13.8)
Char.SetHeading(46@, 200.0)

:SYN5_6288
if 
  not Char.IsDead(48@)
goto_if_false @SYN5_6334
Char.SetCoordinates(48@, -1672.7, 1342.6, 16.2)
Char.SetHeading(48@, 4.0)

:SYN5_6334
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_6446
Char.ClearTasksImmediately($chickX)
Char.SetCoordinates($chickX, -1681.9, 1335.8, 16.2)
Char.SetHeading($chickX, 337.1)
195@ = Sequence.Open()
Task.ToggleDuck(-1, False)
Task.GoStraightToCoord(-1, -1681.7, 1335.5, 16.2, MoveState.Walk, -1)
Task.AchieveHeading(-1, 331.0)
Sequence.Close(195@)
Char.PerformSequence($chickX, 195@)
Sequence.Clear(195@)

:SYN5_6446
if 
  not Char.IsDead(36@)
goto_if_false @SYN5_6558
Char.ClearTasksImmediately(36@)
Char.SetCoordinates(36@, -1688.2, 1334.3, 16.2)
Char.SetHeading(36@, 257.0)
195@ = Sequence.Open()
Task.ToggleDuck(-1, False)
Task.GoStraightToCoord(-1, -1686.1, 1334.1, 16.2, MoveState.Walk, -1)
Task.AchieveHeading(-1, 294.0)
Sequence.Close(195@)
Char.PerformSequence(36@, 195@)
Sequence.Clear(195@)

:SYN5_6558
if 
  not Char.IsDead(37@)
goto_if_false @SYN5_6670
Char.ClearTasksImmediately(37@)
Char.SetCoordinates(37@, -1685.8, 1336.4, 16.2)
Char.SetHeading(37@, 320.0)
195@ = Sequence.Open()
Task.ToggleDuck(-1, False)
Task.GoStraightToCoord(-1, -1683.9, 1338.4, 16.2, MoveState.Walk, -1)
Task.AchieveHeading(-1, 316.8)
Sequence.Close(195@)
Char.PerformSequence(37@, 195@)
Sequence.Clear(195@)

:SYN5_6670
if 
  not Char.IsDead(38@)
goto_if_false @SYN5_6782
Char.ClearTasksImmediately(38@)
Char.SetCoordinates(38@, -1688.3, 1335.6, 16.2)
Char.SetHeading(38@, 312.6)
195@ = Sequence.Open()
Task.ToggleDuck(-1, False)
Task.GoStraightToCoord(-1, -1685.2, 1340.5, 16.2, MoveState.Walk, -1)
Task.AchieveHeading(-1, 310.0)
Sequence.Close(195@)
Char.PerformSequence(38@, 195@)
Sequence.Clear(195@)

:SYN5_6782
if 
  not Char.IsDead(45@)
goto_if_false @SYN5_6813
80@ = Blip.AddForChar(45@)
Blip.ChangeScale(80@, 1)

:SYN5_6813
if 
  not Char.IsDead(46@)
goto_if_false @SYN5_6844
81@ = Blip.AddForChar(46@)
Blip.ChangeScale(81@, 1)

:SYN5_6844
if 
  not Char.IsDead(47@)
goto_if_false @SYN5_6875
82@ = Blip.AddForChar(47@)
Blip.ChangeScale(82@, 1)

:SYN5_6875
if 
  not Char.IsDead(48@)
goto_if_false @SYN5_6906
83@ = Blip.AddForChar(48@)
Blip.ChangeScale(83@, 1)

:SYN5_6906
if 
  not Char.IsDead(49@)
goto_if_false @SYN5_6937
84@ = Blip.AddForChar(49@)
Blip.ChangeScale(84@, 1)

:SYN5_6937
if 
  not Char.IsDead(50@)
goto_if_false @SYN5_6968
85@ = Blip.AddForChar(50@)
Blip.ChangeScale(85@, 1)

:SYN5_6968
if 
  not Char.IsDead(49@)
goto_if_false @SYN5_7014
Char.SetCoordinates(49@, -1669.5, 1346.0, 15.2)
Char.SetHeading(49@, 142.0)

:SYN5_7014
if 
  not Char.IsDead(46@)
goto_if_false @SYN5_7060
Char.SetCoordinates(46@, -1694.7, 1369.7, 15.9)
Char.SetHeading(46@, 129.8)

:SYN5_7060
Char.SetCoordinates($stattreadstamina_ctr, -1720.4, 1275.5, 16.9)
Char.SetHeading($stattreadstamina_ctr, 328.4)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Sniper)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Object.Delete(73@)
Streaming.MarkModelAsNoLongerNeeded(#SNIPER_ANIM)
Streaming.RemoveAnimation("MISC")
Streaming.MarkModelAsNoLongerNeeded(330)
Car.MarkAsNoLongerNeeded(75@)
Streaming.MarkModelAsNoLongerNeeded(429)
Game.ShutAllCharsUp(False)
Char.ShutUpForScriptedSpeech($ryder_car, True)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.PrintNow('SYN5_02', 7000, 1)
Camera.DoFade(500, Fade.In)

:SYN5_7193
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_7217
wait 0
goto @SYN5_7193

:SYN5_7217
if 
  87@ == 10
goto_if_false @SYN5_7242
goto @SYN5_8953

:SYN5_7242
if 
  90@ == 1
goto_if_false @SYN5_7267
goto @SYN5_23151

:SYN5_7267
TIMERA = 0
88@ = 0
87@ = 3

:SYN5_7288
if 
  87@ == 3
goto_if_false @SYN5_8953
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @SYN5_7489
if 
  not Char.IsDead(45@)
goto_if_false @SYN5_7349
Char.SetOnlyDamagedByPlayer(45@, False)
Char.ExplodeHead(45@)

:SYN5_7349
if 
  not Char.IsDead(46@)
goto_if_false @SYN5_7377
Char.SetOnlyDamagedByPlayer(46@, False)
Char.ExplodeHead(46@)

:SYN5_7377
if 
  not Char.IsDead(47@)
goto_if_false @SYN5_7405
Char.SetOnlyDamagedByPlayer(47@, False)
Char.ExplodeHead(47@)

:SYN5_7405
if 
  not Char.IsDead(48@)
goto_if_false @SYN5_7433
Char.SetOnlyDamagedByPlayer(48@, False)
Char.ExplodeHead(48@)

:SYN5_7433
if 
  not Char.IsDead(49@)
goto_if_false @SYN5_7461
Char.SetOnlyDamagedByPlayer(49@, False)
Char.ExplodeHead(49@)

:SYN5_7461
if 
  not Char.IsDead(50@)
goto_if_false @SYN5_7489
Char.SetOnlyDamagedByPlayer(50@, False)
Char.ExplodeHead(50@)

:SYN5_7489
if 
  88@ == 0
goto_if_false @SYN5_8805
if 
  132@ == 0
goto_if_false @SYN5_8229
if 
  92@ == 0
goto_if_false @SYN5_7597
if 
  TIMERA > 7000
goto_if_false @SYN5_7597
132@ = 3
134@ = 1
135@ = 2
gosub @SYN5_30472
92@ = 1

:SYN5_7597
if 
  92@ == 1
goto_if_false @SYN5_7668
if 
  3 > 93@
goto_if_false @SYN5_7668
132@ = 3
134@ = 3
135@ = 4
gosub @SYN5_30472
92@ = 2

:SYN5_7668
if 
  92@ == 2
goto_if_false @SYN5_7739
if 
  2 > 93@
goto_if_false @SYN5_7739
132@ = 3
134@ = 4
135@ = 5
gosub @SYN5_30472
92@ = 3

:SYN5_7739
if 
  132@ == 0
goto_if_false @SYN5_7810
if 
  92@ == 3
goto_if_false @SYN5_7810
132@ = 3
134@ = 2
135@ = 3
gosub @SYN5_30472
92@ = 4

:SYN5_7810
if 
  92@ == 4
goto_if_false @SYN5_7881
if 
  1 > 93@
goto_if_false @SYN5_7881
132@ = 3
134@ = 5
135@ = 6
gosub @SYN5_30472
92@ = 5

:SYN5_7881
if 
  98@ == 0
goto_if_false @SYN5_7906
98@ = 3

:SYN5_7906
if 
  98@ == 3
goto_if_false @SYN5_8017
if 
  3 > 99@
goto_if_false @SYN5_8017
if or
  not Char.IsDead(48@)
  not Char.IsDead(49@)
  not Char.IsDead(50@)
goto_if_false @SYN5_8010
132@ = 4
134@ = 3
135@ = 4
gosub @SYN5_30472
98@ = 4
goto @SYN5_8017

:SYN5_8010
98@ = 5

:SYN5_8017
if 
  132@ == 0
goto_if_false @SYN5_8114
if 
  98@ == 4
goto_if_false @SYN5_8114
if and
  Char.IsDead(48@)
  Char.IsDead(49@)
  Char.IsDead(50@)
goto_if_false @SYN5_8114
132@ = 4
134@ = 4
135@ = 5
gosub @SYN5_30472
98@ = 6

:SYN5_8114
if 
  132@ == 0
goto_if_false @SYN5_8229
if 
  98@ == 5
goto_if_false @SYN5_8229
if 
  3 > 99@
goto_if_false @SYN5_8229
if or
  not Char.IsDead(45@)
  not Char.IsDead(46@)
  not Char.IsDead(47@)
goto_if_false @SYN5_8229
132@ = 4
134@ = 4
135@ = 5
gosub @SYN5_30472
98@ = 6

:SYN5_8229
if 
  not Char.IsDead(36@)
goto_if_false @SYN5_8276
if 
  TIMERA > 10000
goto_if_false @SYN5_8276
Char.SetOnlyDamagedByPlayer(36@, False)
Char.ExplodeHead(36@)

:SYN5_8276
if 
  not Char.IsDead(37@)
goto_if_false @SYN5_8323
if 
  TIMERA > 20000
goto_if_false @SYN5_8323
Char.SetOnlyDamagedByPlayer(37@, False)
Char.ExplodeHead(37@)

:SYN5_8323
if 
  not Char.IsDead(38@)
goto_if_false @SYN5_8370
if 
  TIMERA > 30000
goto_if_false @SYN5_8370
Char.SetOnlyDamagedByPlayer(38@, False)
Char.ExplodeHead(38@)

:SYN5_8370
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_8421
if 
  TIMERA > 40000
goto_if_false @SYN5_8421
Char.SetOnlyDamagedByPlayer($chickX, False)
87@ = 10

:SYN5_8421
if 
  6 > 106@
goto_if_false @SYN5_8522
if 
  100@(106@,6i) == 0
goto_if_false @SYN5_8508
if 
  Char.IsDead(45@(106@,6i))
goto_if_false @SYN5_8508
Blip.Remove(80@(106@,6i))
99@ -= 1
100@(106@,6i) = 1

:SYN5_8508
106@ += 1
goto @SYN5_8529

:SYN5_8522
106@ = 0

:SYN5_8529
if 
  3 > 97@
goto_if_false @SYN5_8621
if 
  94@(97@,3i) == 0
goto_if_false @SYN5_8607
if 
  Char.IsDead(36@(97@,3i))
goto_if_false @SYN5_8607
93@ -= 1
94@(97@,3i) = 1

:SYN5_8607
97@ += 1
goto @SYN5_8628

:SYN5_8621
97@ = 0

:SYN5_8628
gosub @SYN5_26437
if 
  Char.IsDead(45@)
goto_if_false @SYN5_8805
if 
  Char.IsDead(46@)
goto_if_false @SYN5_8805
if 
  Char.IsDead(47@)
goto_if_false @SYN5_8805
if 
  Char.IsDead(48@)
goto_if_false @SYN5_8805
if 
  Char.IsDead(49@)
goto_if_false @SYN5_8805
if 
  Char.IsDead(50@)
goto_if_false @SYN5_8805
Blip.Remove(80@)
Blip.Remove(81@)
Blip.Remove(82@)
Blip.Remove(83@)
Blip.Remove(84@)
Blip.Remove(85@)
Char.MarkAsNoLongerNeeded(45@)
Char.MarkAsNoLongerNeeded(46@)
Char.MarkAsNoLongerNeeded(47@)
Char.MarkAsNoLongerNeeded(48@)
Char.MarkAsNoLongerNeeded(49@)
Char.MarkAsNoLongerNeeded(50@)
TIMERA = 0
88@ = 1

:SYN5_8805
if 
  88@ == 1
goto_if_false @SYN5_8953
if 
  TIMERA > 2000
goto_if_false @SYN5_8953
Player.SetControl($statbike_temp, False)
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:SYN5_8858
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_8882
wait 0
goto @SYN5_8858

:SYN5_8882
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_8914
goto @SYN5_8953

:SYN5_8914
if 
  90@ == 1
goto_if_false @SYN5_8939
goto @SYN5_23151

:SYN5_8939
88@ = 0
87@ = 4

:SYN5_8953
if 
  87@ == 10
goto_if_false @SYN5_9658
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @SYN5_9451
if 
  88@ == 0
goto_if_false @SYN5_9451
Camera.DoFade(500, Fade.Out)

:SYN5_9021
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_9045
wait 0
goto @SYN5_9021

:SYN5_9045
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
132@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.Delete($chickX)
Char.Delete($ryder_car)
World.ClearArea(-1673.7, 1369.0, 7.0, 150.0, True)
World.ClearArea(-1677.2, 1347.8, 16.2, 1.0, True)
$chickX = Char.Create(PedType.Mission1, 120, -1677.2, 1347.8, 16.2)
Char.SetHeading($chickX, 356.6)
Char.GiveWeapon($chickX, WeaponType.Tec9, 30000)
Char.SetDecisionMaker($chickX, 197@)
Streaming.LoadScene(-1677.2, 1347.8, 16.2)
Camera.SetFixedPosition(-1675.3, 1349.0, 17.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1684.1, 1343.9, 18.5, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:SYN5_9267
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_9291
wait 0
goto @SYN5_9267

:SYN5_9291
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_9346
Task.PlayAnimNonInterruptable($chickX, "KO_SHOT_STOM", "PED", 4.0, False, False, False, True, -1)

:SYN5_9346
if 
  93@ > 0
goto_if_false @SYN5_9399
132@ = 5
134@ = 3
135@ = 4
gosub @SYN5_30472
goto @SYN5_9437

:SYN5_9399
132@ = 5
134@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 135@ = 134@
135@ += 1
gosub @SYN5_30472

:SYN5_9437
TIMERB = 0
88@ = 1

:SYN5_9451
if 
  88@ == 1
goto_if_false @SYN5_9658
if 
  132@ == 0
goto_if_false @SYN5_9658
if 
  TIMERB > 4000
goto_if_false @SYN5_9658
Camera.DoFade(500, Fade.Out)

:SYN5_9513
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_9537
wait 0
goto @SYN5_9513

:SYN5_9537
191@, 192@, 193@ = Char.GetCoordinates($stattreadstamina_ctr)
Streaming.LoadScene(191@, 192@, 193@)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.ClearPrints
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Text.PrintNow('SYN5_05', 5500, 1)
Camera.DoFade(500, Fade.In)

:SYN5_9627
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_9651
wait 0
goto @SYN5_9627

:SYN5_9651
goto @SYN5_23151

:SYN5_9658
if 
  87@ == 4
goto_if_false @SYN5_17454
if 
  88@ == 0
goto_if_false @SYN5_10641
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
132@ = 0
Streaming.RequestCarRecording(27)
Streaming.RequestCarRecording(28)
Streaming.RequestModel(600)
Streaming.RequestModel(566)
Streaming.RequestModel(487)
Streaming.RequestModel(413)
Streaming.RequestModel(102)
Streaming.RequestModel(103)
Streaming.LoadSpecialCharacter(2, 'RYDER2')
Streaming.LoadSpecialCharacter(3, 'TORINO')
Streaming.LoadSpecialCharacter(4, 'TBONE')
Streaming.RequestModel(343)
Streaming.RequestModel(355)
Streaming.LoadAllModelsNow
Game.ShutAllCharsUp(True)
Char.ShutUpForScriptedSpeech($ryder_car, False)
76@ = Car.Create(413, -1634.3, 1253.4, 6.1)
Car.SetHeading(76@, 44.5)
Car.LockDoors(76@, CarLock.LockoutPlayerOnly)
Car.StartPlayback(76@, 27)
Car.SkipInPlayback(76@, 35.0)
Char.ClearTasksImmediately($chickX)
Char.SetCoordinates($chickX, -1678.7, 1347.5, 16.2)
Char.SetHeading($chickX, 32.6)
Char.SetDecisionMaker($chickX, 197@)
Task.PlayAnim($chickX, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, 30000)
if 
  not Char.IsDead(36@)
goto_if_false @SYN5_10050
Char.ClearTasksImmediately(36@)
Char.SetCoordinates(36@, -1686.1, 1348.7, 16.2)
Char.SetHeading(36@, 33.6)
Char.SetDecisionMaker(36@, 197@)
Task.PlayAnim(36@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, 30000)

:SYN5_10050
if 
  not Char.IsDead(37@)
goto_if_false @SYN5_10150
Char.ClearTasksImmediately(37@)
Char.SetCoordinates(37@, -1687.7, 1347.7, 16.2)
Char.SetHeading(37@, 60.6)
Char.SetDecisionMaker(37@, 197@)
Task.PlayAnim(37@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, 30000)

:SYN5_10150
if 
  not Char.IsDead(38@)
goto_if_false @SYN5_10250
Char.ClearTasksImmediately(38@)
Char.SetCoordinates(38@, -1688.7, 1346.1, 16.2)
Char.SetHeading(38@, 41.8)
Char.SetDecisionMaker(38@, 197@)
Task.PlayAnim(38@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, 30000)

:SYN5_10250
World.ClearArea(-1721.4, 1276.2, 16.9, 5.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -1720.4, 1275.5, 16.9)
Char.SetHeading($stattreadstamina_ctr, 328.4)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, -1721.4, 1276.2, 16.9)
Char.SetHeading($ryder_car, 326.3)
91@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Sniper)
if 
  24 > 91@
goto_if_false @SYN5_10395
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Sniper, 24)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Sniper)
goto @SYN5_10402

:SYN5_10395
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Sniper)

:SYN5_10402
World.ClearArea(-1706.4, 1327.1, 6.4, 100.0, True)
World.SetCarDensityMultiplier(0.0)
DecisionMakerChar.ClearEventResponse(196@, 13)
Camera.SetFixedPosition(-1722.2, 1271.7, 20.1, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1709.7, 1305.0, 7.4, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Camera.DoFade(1000, Fade.In)

:SYN5_10504
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_10528
wait 0
goto @SYN5_10504

:SYN5_10528
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_10560
goto @SYN5_8953

:SYN5_10560
if 
  90@ == 1
goto_if_false @SYN5_10585
goto @SYN5_23151

:SYN5_10585
132@ = 7
134@ = 0
135@ = 1
gosub @SYN5_30472
89@ = 1
skip_cutscene_start_internal @SYN5_14729
TIMERA = 0
88@ = 1

:SYN5_10641
if 
  88@ == 1
goto_if_false @SYN5_11744
if 
  132@ == 0
goto_if_false @SYN5_11744
if 
  TIMERA > 4000
goto_if_false @SYN5_11744
Camera.DoFade(500, Fade.Out)

:SYN5_10703
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_10727
wait 0
goto @SYN5_10703

:SYN5_10727
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_10759
goto @SYN5_8953

:SYN5_10759
if 
  90@ == 1
goto_if_false @SYN5_10784
goto @SYN5_23151

:SYN5_10784
if 
  not Car.IsDead(76@)
goto_if_false @SYN5_10814
Car.OpenDoor(76@, CarDoor.LeftRearDoor)
Car.OpenDoor(76@, CarDoor.RightRearDoor)

:SYN5_10814
gosub @SYN5_25123
if 
  not Char.IsDead(35@)
goto_if_false @SYN5_10929
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1709.4, 1345.3, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1697.7, 1349.2, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1676.1, 1360.3, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence(35@, 195@)
Sequence.Clear(195@)

:SYN5_10929
if 
  not Char.IsDead(45@)
goto_if_false @SYN5_11037
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1709.4, 1346.3, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1697.7, 1350.2, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1676.1, 1361.3, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence(45@, 195@)
Sequence.Clear(195@)

:SYN5_11037
if 
  not Char.IsDead(46@)
goto_if_false @SYN5_11145
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1709.4, 1343.3, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1697.7, 1351.2, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1676.1, 1362.3, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence(46@, 195@)
Sequence.Clear(195@)

:SYN5_11145
if 
  not Char.IsDead(47@)
goto_if_false @SYN5_11253
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1709.4, 1342.3, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1697.7, 1352.2, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1676.1, 1363.3, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence(47@, 195@)
Sequence.Clear(195@)

:SYN5_11253
if 
  not Char.IsDead(48@)
goto_if_false @SYN5_11361
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1709.4, 1341.3, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1697.7, 1353.2, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1676.1, 1364.3, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence(48@, 195@)
Sequence.Clear(195@)

:SYN5_11361
gosub @SYN5_25613
195@ = Sequence.Open()
Task.CarDriveToCoord(-1, 55@, -1704.0, 1333.5, 5.9, 20.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -1676.9, 1360.6, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence($sweet_car, 195@)
Sequence.Clear(195@)
195@ = Sequence.Open()
Task.CarDriveToCoord(-1, 56@, -1706.6, 1340.2, 5.9, 20.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Sequence.Close(195@)
Char.PerformSequence(41@, 195@)
Sequence.Clear(195@)
195@ = Sequence.Open()
Task.CarDriveToCoord(-1, 57@, -1718.4, 1345.7, 6.2, 20.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Sequence.Close(195@)
Char.PerformSequence(43@, 195@)
Sequence.Clear(195@)
Camera.SetFixedPosition(-1711.0, 1343.8, 7.2, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1726.7, 1357.6, 9.9, SwitchType.JumpCut)
Camera.DoFade(2000, Fade.In)

:SYN5_11621
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_11645
wait 0
goto @SYN5_11621

:SYN5_11645
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_11677
goto @SYN5_8953

:SYN5_11677
if 
  90@ == 1
goto_if_false @SYN5_11702
goto @SYN5_23151

:SYN5_11702
132@ = 7
134@ = 2
135@ = 3
gosub @SYN5_30472
TIMERA = 0
88@ = 2

:SYN5_11744
if 
  88@ == 2
goto_if_false @SYN5_11881
if 
  TIMERA > 4000
goto_if_false @SYN5_11881
gosub @SYN5_26264
Camera.SetFixedPosition(-1698.3, 1327.6, 7.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1701.2, 1332.3, 7.6, SwitchType.JumpCut)
132@ = 7
134@ = 3
135@ = 5
gosub @SYN5_30472
TIMERA = 0
88@ = 3

:SYN5_11881
if 
  88@ == 3
goto_if_false @SYN5_12029
if 
  132@ == 0
goto_if_false @SYN5_12029
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_12029
if 
  not Char.IsInAnyCar($sweet_car)
goto_if_false @SYN5_12029
if 
  not Char.IsDead(39@)
goto_if_false @SYN5_12015
195@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -1665.0, 1370.9, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence(39@, 195@)
Sequence.Clear(195@)

:SYN5_12015
TIMERA = 0
88@ = 4

:SYN5_12029
if 
  88@ == 4
goto_if_false @SYN5_12900
Camera.DoFade(1000, Fade.Out)

:SYN5_12054
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_12078
wait 0
goto @SYN5_12054

:SYN5_12078
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_12110
goto @SYN5_8953

:SYN5_12110
if 
  90@ == 1
goto_if_false @SYN5_12135
goto @SYN5_23151

:SYN5_12135
if 
  not Char.IsDead(35@)
goto_if_false @SYN5_12193
Char.ClearTasksImmediately(35@)
Char.SetCoordinates(35@, -1629.2, 1414.2, 6.2)
Char.SetHeading(35@, 87.6)
Char.HideWeaponForScriptedCutscene(35@, True)

:SYN5_12193
if 
  not Char.IsDead(45@)
goto_if_false @SYN5_12290
Char.ClearTasksImmediately(45@)
Char.SetCoordinates(45@, -1629.3, 1412.4, 6.2)
Char.SetHeading(45@, 76.7)
Task.PlayAnim(45@, "SEAT_IDLE", "PED", 1000.0, False, False, False, True, -1)
Char.GiveWeapon(45@, WeaponType.Tec9, 30000)

:SYN5_12290
if 
  not Char.IsDead(46@)
goto_if_false @SYN5_12351
Char.ClearTasksImmediately(46@)
Char.SetCoordinates(46@, -1626.5, 1414.2, 6.2)
Char.SetHeading(46@, 116.9)
Char.GiveWeapon(46@, WeaponType.Tec9, 30000)

:SYN5_12351
if 
  not Char.IsDead(47@)
goto_if_false @SYN5_12412
Char.ClearTasksImmediately(47@)
Char.SetCoordinates(47@, -1628.5, 1414.9, 6.2)
Char.SetHeading(47@, 50.5)
Char.GiveWeapon(47@, WeaponType.Tec9, 30000)

:SYN5_12412
if 
  not Char.IsDead(48@)
goto_if_false @SYN5_12473
Char.ClearTasksImmediately(48@)
Char.SetCoordinates(48@, -1629.7, 1416.0, 6.2)
Char.SetHeading(48@, 222.8)
Char.GiveWeapon(48@, WeaponType.Tec9, 30000)

:SYN5_12473
Task.ChatWithChar(47@, 48@, True, 1)
Task.ChatWithChar(48@, 47@, False, 1)
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_12555
Char.ClearTasksImmediately($sweet_car)
Char.SetCoordinates($sweet_car, -1636.5, 1412.5, 6.2)
Char.SetHeading($sweet_car, 280.9)
Char.HideWeaponForScriptedCutscene($sweet_car, True)

:SYN5_12555
if 
  not Char.IsDead(39@)
goto_if_false @SYN5_12687
Char.ClearTasksImmediately(39@)
Char.SetCoordinates(39@, -1634.9, 1408.3, 6.2)
Char.SetHeading(39@, 293.5)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1629.6, 1411.7, 6.2, MoveState.Walk, -1)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 1000.0, True, False, False, False, -1)
Sequence.Close(195@)
Char.PerformSequence(39@, 195@)
Sequence.Clear(195@)

:SYN5_12687
Task.GreetPartner($sweet_car, 35@, 0.5, 5)
Streaming.LoadScene(-1629.2, 1414.2, 6.2)
Camera.SetFixedPosition(-1637.6, 1410.8, 8.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1626.4, 1414.8, 6.8, SwitchType.JumpCut)
Camera.DoFade(2000, Fade.In)

:SYN5_12777
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_12801
wait 0
goto @SYN5_12777

:SYN5_12801
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_12833
goto @SYN5_8953

:SYN5_12833
if 
  90@ == 1
goto_if_false @SYN5_12858
goto @SYN5_23151

:SYN5_12858
132@ = 7
134@ = 7
135@ = 8
gosub @SYN5_30472
TIMERA = 0
88@ = 5

:SYN5_12900
if 
  88@ == 5
goto_if_false @SYN5_12977
if 
  TIMERA > 3500
goto_if_false @SYN5_12977
if 
  not Car.IsDead(58@)
goto_if_false @SYN5_12977
Car.StartPlayback(58@, 28)
Car.SkipInPlayback(58@, 10.0)
88@ = 6

:SYN5_12977
if 
  88@ == 6
goto_if_false @SYN5_13378
if 
  TIMERA > 6000
goto_if_false @SYN5_13378
Camera.DoFade(500, Fade.Out)

:SYN5_13021
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_13045
wait 0
goto @SYN5_13021

:SYN5_13045
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_13077
goto @SYN5_8953

:SYN5_13077
if 
  90@ == 1
goto_if_false @SYN5_13102
goto @SYN5_23151

:SYN5_13102
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_13128
Char.SetHeading($sweet_car, 150.0)

:SYN5_13128
if 
  not Char.IsDead(39@)
goto_if_false @SYN5_13154
Char.SetHeading(39@, 150.0)

:SYN5_13154
Camera.ResetNewScriptables
Camera.PersistPos(True)
Camera.PersistTrack(True)
Camera.SetVectorMove(-1657.1, 1666.8, 3.4, -1599.1, 1432.0, 15.1, 11000, True)
Camera.SetVectorTrack(-1676.2, 1618.2, 11.4, -1614.1, 1428.9, 15.4, 11000, True)
Streaming.LoadScene(-1657.1, 1666.8, 3.4)
Camera.DoFade(500, Fade.In)

:SYN5_13262
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_13286
wait 0
goto @SYN5_13262

:SYN5_13286
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_13318
goto @SYN5_8953

:SYN5_13318
if 
  90@ == 1
goto_if_false @SYN5_13343
goto @SYN5_23151

:SYN5_13343
132@ = 7
134@ = 8
135@ = 10
gosub @SYN5_30472
88@ = 7

:SYN5_13378
if 
  88@ == 7
goto_if_false @SYN5_13536
if 
  not Car.IsDead(58@)
goto_if_false @SYN5_13536
if 
  Car.Locate2D(58@, -1629.1, 1429.5, 3.0, 3.0, False)
goto_if_false @SYN5_13536
if 
  Car.IsPlaybackGoingOn(58@)
goto_if_false @SYN5_13471
Car.StopPlayback(58@)

:SYN5_13471
Heli.GotoCoords(58@, -1629.1, 1429.5, 19.3, 0.0, 19.3)
132@ = 7
134@ = 10
135@ = 11
gosub @SYN5_30472
88@ = 8

:SYN5_13536
if 
  88@ == 8
goto_if_false @SYN5_13695
if 
  132@ == 0
goto_if_false @SYN5_13695
Camera.ResetNewScriptables
if 
  not Car.IsDead(58@)
goto_if_false @SYN5_13695
Heli.SetOrientation(58@, 270.0)
Heli.GotoCoords(58@, -615.5, 1513.9, 54.8, 0.0, 25.5)
Camera.SetFixedPosition(-1647.6, 1409.7, 8.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1590.8, 1426.7, 13.8, SwitchType.JumpCut)
TIMERA = 0
88@ = 9

:SYN5_13695
if 
  88@ == 9
goto_if_false @SYN5_14226
if 
  TIMERA > 1000
goto_if_false @SYN5_14226
if 
  not Char.IsDead(35@)
goto_if_false @SYN5_13799
Char.ClearTasks(35@)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1628.8, 1421.7, 6.2, MoveState.Run, -1)
Sequence.Close(195@)
Char.PerformSequence(35@, 195@)
Sequence.Clear(195@)

:SYN5_13799
if 
  not Char.IsDead(45@)
goto_if_false @SYN5_13866
Char.ClearTasks(45@)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1626.8, 1419.7, 6.2, MoveState.Run, -1)
Sequence.Close(195@)
Char.PerformSequence(45@, 195@)
Sequence.Clear(195@)

:SYN5_13866
if 
  not Char.IsDead(46@)
goto_if_false @SYN5_13933
Char.ClearTasks(46@)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1630.8, 1423.7, 6.2, MoveState.Run, -1)
Sequence.Close(195@)
Char.PerformSequence(46@, 195@)
Sequence.Clear(195@)

:SYN5_13933
if 
  not Char.IsDead(47@)
goto_if_false @SYN5_14000
Char.ClearTasks(47@)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1632.8, 1425.7, 6.2, MoveState.Run, -1)
Sequence.Close(195@)
Char.PerformSequence(47@, 195@)
Sequence.Clear(195@)

:SYN5_14000
if 
  not Char.IsDead(48@)
goto_if_false @SYN5_14067
Char.ClearTasks(48@)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1634.0, 1423.0, 6.2, MoveState.Run, -1)
Sequence.Close(195@)
Char.PerformSequence(48@, 195@)
Sequence.Clear(195@)

:SYN5_14067
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_14122
Char.GiveWeapon($sweet_car, WeaponType.Teargas, 1)
Char.SetCurrentWeapon($sweet_car, WeaponType.Teargas)
Task.ShootAtCoord($sweet_car, -1652.5, 1396.0, 6.2, 500)

:SYN5_14122
if 
  not Char.IsDead(39@)
goto_if_false @SYN5_14184
Char.GiveWeapon(39@, WeaponType.Teargas, 1)
Char.SetCurrentWeapon(39@, WeaponType.Teargas)
195@ = Sequence.Open()
Task.Pause(-1, 500)
Sequence.Close(195@)
Char.PerformSequence(39@, 195@)
Sequence.Clear(195@)

:SYN5_14184
132@ = 7
134@ = 11
135@ = 12
gosub @SYN5_30472
TIMERA = 0
88@ = 10

:SYN5_14226
if 
  88@ == 10
goto_if_false @SYN5_14319
if 
  not Char.IsDead(39@)
goto_if_false @SYN5_14319
$chickY = Char.GetScriptTaskStatus(39@, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @SYN5_14319
Task.ShootAtCoord(39@, -1653.1, 1400.0, 7.0, 500)
88@ = 11

:SYN5_14319
if 
  88@ == 11
goto_if_false @SYN5_14565
if 
  132@ == 0
goto_if_false @SYN5_14565
if 
  TIMERA > 2000
goto_if_false @SYN5_14565
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_14565
$chickY = Char.GetScriptTaskStatus($sweet_car, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @SYN5_14565
195@ = Sequence.Open()
Task.Pause(-1, 500)
Task.GoStraightToCoord(-1, -1649.1, 1395.0, 7.0, MoveState.Run, -1)
Sequence.Close(195@)
Char.PerformSequence($sweet_car, 195@)
Sequence.Clear(195@)
132@ = 7
134@ = 12
135@ = 14
gosub @SYN5_30472
Camera.SetFixedPosition(-1665.9, 1386.8, 11.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1641.2, 1407.9, 9.9, SwitchType.JumpCut)
TIMERA = 0
88@ = 12

:SYN5_14565
if 
  88@ == 12
goto_if_false @SYN5_14685
if 
  TIMERA > 1500
goto_if_false @SYN5_14685
59@ = Particle.Create("TEARGASAD", -1656.5, 1398.0, 6.2, 1)
Particle.Play(59@)
60@ = Particle.Create("TEARGASAD", -1656.0, 1393.0, 7.0, 1)
Particle.Play(60@)
88@ = 13

:SYN5_14685
if 
  88@ == 13
goto_if_false @SYN5_17454
if 
  TIMERA > 5000
goto_if_false @SYN5_17454
89@ = 0

:SYN5_14729
skip_cutscene_end 
if 
  89@ == 1
goto_if_false @SYN5_14766
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
132@ = 0

:SYN5_14766
Camera.DoFade(500, Fade.Out)

:SYN5_14773
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_14797
wait 0
goto @SYN5_14773

:SYN5_14797
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_14829
goto @SYN5_8953

:SYN5_14829
if 
  90@ == 1
goto_if_false @SYN5_14854
goto @SYN5_23151

:SYN5_14854
if 
  89@ == 1
goto_if_false @SYN5_15197
Camera.ResetNewScriptables
gosub @SYN5_25123
gosub @SYN5_25613
if 
  not Car.IsDead(55@)
goto_if_false @SYN5_14934
Car.SetCoordinates(55@, -1702.9, 1335.5, 5.9)
Car.SetHeading(55@, 271.8)

:SYN5_14934
if 
  not Car.IsDead(56@)
goto_if_false @SYN5_14980
Car.SetCoordinates(56@, -1706.6, 1340.2, 5.9)
Car.SetHeading(56@, 271.8)

:SYN5_14980
if 
  not Car.IsDead(57@)
goto_if_false @SYN5_15026
Car.SetCoordinates(57@, -1718.4, 1345.7, 6.2)
Car.SetHeading(57@, 231.8)

:SYN5_15026
if 
  not Car.IsDead(76@)
goto_if_false @SYN5_15107
Car.OpenDoor(76@, CarDoor.LeftRearDoor)
Car.OpenDoor(76@, CarDoor.RightRearDoor)
if 
  Car.IsPlaybackGoingOn(76@)
goto_if_false @SYN5_15077
Car.StopPlayback(76@)

:SYN5_15077
Car.SetCoordinates(76@, -1722.3, 1365.6, 6.2)
Car.SetHeading(76@, 325.6)

:SYN5_15107
Streaming.RemoveCarRecording(27)
Particle.Kill(59@)
Particle.Kill(60@)
59@ = Particle.Create("TEARGASAD", -1656.5, 1398.0, 6.2, 1)
Particle.Play(59@)
60@ = Particle.Create("TEARGASAD", -1656.0, 1393.0, 7.0, 1)
Particle.Play(60@)

:SYN5_15197
Char.ClearTasksImmediately($chickX)
Char.ClearTasksImmediately($ryder_car)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.GiveWeapon($ryder_car, WeaponType.Tec9, 30000)
Char.SetDecisionMaker($ryder_car, 196@)
Task.ShootAtCoord($chickX, -1685.2, 1363.1, 7.8, -1)
if 
  not Char.IsDead(36@)
goto_if_false @SYN5_15290
Task.ShootAtCoord(36@, -1682.2, 1364.1, 7.8, -1)

:SYN5_15290
if 
  not Char.IsDead(37@)
goto_if_false @SYN5_15328
Task.ShootAtCoord(37@, -1694.2, 1355.1, 7.8, -1)

:SYN5_15328
if 
  not Char.IsDead(38@)
goto_if_false @SYN5_15366
Task.ShootAtCoord(38@, -1704.2, 1343.1, 7.8, -1)

:SYN5_15366
if 
  not Char.IsDead(35@)
goto_if_false @SYN5_15665
Char.ClearTasksImmediately(35@)
if 
  not Char.IsInAnyCar(35@)
goto_if_false @SYN5_15430
Char.SetCoordinates(35@, -1618.9, 1401.8, 6.2)
goto @SYN5_15450

:SYN5_15430
Char.WarpFromCarToCoord(35@, -1618.9, 1401.8, 6.2)

:SYN5_15450
Char.SetHeading(35@, 110.5)
Char.HideWeaponForScriptedCutscene(35@, False)
198@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, -1619.3, 1412.1, 6.2, 6, 1.0, 0.5, $stattreadstamina_ctr)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 4000)
Sequence.Close(198@)
199@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, -1635.0, 1430.4, 6.2, 6, 1.0, 0.5, $stattreadstamina_ctr)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 4000)
Sequence.Close(199@)
200@ = Sequence.Open()
Char.PerformSequence(-1, 198@)
Char.PerformSequence(-1, 199@)
Char.PerformSequence(-1, 199@)
Char.PerformSequence(-1, 198@)
Sequence.SetToRepeat(200@, True)
Sequence.Close(200@)
Char.PerformSequence(35@, 200@)
Sequence.Clear(198@)
Sequence.Clear(199@)
Sequence.Clear(200@)
79@ = Blip.AddForChar(35@)

:SYN5_15665
if 
  not Char.IsDead(39@)
goto_if_false @SYN5_15791
Char.ClearTasksImmediately(39@)
Char.SetCoordinates(39@, -1631.2, 1410.3, 6.2)
Char.SetHeading(39@, 137.6)
195@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(195@)
Char.PerformSequence(39@, 195@)
Sequence.Clear(195@)

:SYN5_15791
40@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1697.9, 1345.7, 6.1)
Char.SetAccuracy(40@, 130@)
Char.SetOnlyDamagedByPlayer(40@, True)
Char.ClearTasksImmediately(40@)
Char.GiveWeapon(40@, WeaponType.Tec9, 30000)
Char.SetHeading(40@, 146.8)
Char.SetDecisionMaker(40@, 196@)
Char.SetKindaStayInSamePlace(40@, True)
195@ = Sequence.Open()
Task.ShootAtCoord(-1, -1684.9, 1353.3, 13.6, -2)
Sequence.Close(195@)
Char.PerformSequence(40@, 195@)
Sequence.Clear(195@)
if 
  not Char.IsDead(41@)
goto_if_false @SYN5_16030
Char.ClearTasksImmediately(41@)
Char.SetStayInSamePlace(41@, False)
Char.SetKindaStayInSamePlace(41@, True)
195@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, -1690.4, 1367.5, 8.8, 6, -1)
Task.AchieveHeading(-1, 230.5)
Task.ShootAtCoord(-1, -1684.9, 1353.3, 13.6, -2)
Sequence.Close(195@)
Char.PerformSequence(41@, 195@)
Sequence.Clear(195@)

:SYN5_16030
if 
  not Char.IsDead(42@)
goto_if_false @SYN5_16141
Char.ClearTasksImmediately(42@)
Char.SetStayInSamePlace(42@, False)
Char.SetKindaStayInSamePlace(42@, True)
195@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, -1690.9, 1363.8, 8.8, 6, -1)
Task.AchieveHeading(-1, 230.5)
Task.ShootAtCoord(-1, -1684.9, 1353.3, 13.6, -2)
Sequence.Close(195@)
Char.PerformSequence(42@, 195@)
Sequence.Clear(195@)

:SYN5_16141
if 
  not Char.IsDead(43@)
goto_if_false @SYN5_16252
Char.ClearTasksImmediately(43@)
Char.SetStayInSamePlace(43@, False)
Char.SetKindaStayInSamePlace(43@, True)
195@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, -1698.8, 1352.4, 6.5, 6, -1)
Task.AchieveHeading(-1, 251.5)
Task.ShootAtCoord(-1, -1684.9, 1353.3, 13.6, -2)
Sequence.Close(195@)
Char.PerformSequence(43@, 195@)
Sequence.Clear(195@)

:SYN5_16252
if 
  not Char.IsDead(44@)
goto_if_false @SYN5_16363
Char.ClearTasksImmediately(44@)
Char.SetStayInSamePlace(44@, False)
Char.SetKindaStayInSamePlace(44@, True)
195@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, -1682.5, 1364.4, 6.2, 6, -1)
Task.AchieveHeading(-1, 182.5)
Task.ShootAtCoord(-1, -1684.9, 1353.3, 13.6, -2)
Sequence.Close(195@)
Char.PerformSequence(44@, 195@)
Sequence.Clear(195@)

:SYN5_16363
61@ = Particle.Create("TEARGASAD", -1657.8, 1405.0, 7.0, 1)
Particle.Play(61@)
62@ = Particle.Create("TEARGASAD", -1643.3, 1390.7, 7.0, 1)
Particle.Play(62@)
if 
  not Char.IsDead(45@)
goto_if_false @SYN5_16522
Char.ClearTasksImmediately(45@)
Char.SetCoordinates(45@, -1647.7, 1421.8, 6.2)
Char.SetHeading(45@, 186.5)
Char.SetStayInSamePlace(45@, False)
Char.SetKindaStayInSamePlace(45@, True)
Char.GiveWeapon(45@, WeaponType.Tec9, 30000)
Task.KillCharOnFoot(45@, $stattreadstamina_ctr)

:SYN5_16522
if 
  not Char.IsDead(46@)
goto_if_false @SYN5_16591
Char.ClearTasksImmediately(46@)
Char.SetCoordinates(46@, -1672.6, 1373.9, 8.8)
Char.SetHeading(46@, 136.4)
Char.GiveWeapon(46@, WeaponType.Tec9, 30000)
Task.KillCharOnFoot(46@, $stattreadstamina_ctr)

:SYN5_16591
if 
  not Char.IsDead(47@)
goto_if_false @SYN5_16660
Char.ClearTasksImmediately(47@)
Char.SetCoordinates(47@, -1631.8, 1398.7, 6.2)
Char.SetHeading(47@, 105.9)
Char.GiveWeapon(47@, WeaponType.Tec9, 30000)
Task.KillCharOnFoot(47@, $stattreadstamina_ctr)

:SYN5_16660
if 
  not Char.IsDead(48@)
goto_if_false @SYN5_16743
Char.ClearTasksImmediately(48@)
Char.SetCoordinates(48@, -1658.7, 1387.3, 6.2)
Char.SetHeading(48@, 144.5)
Char.GiveWeapon(48@, WeaponType.Tec9, 30000)
Char.SetStayInSamePlace(48@, False)
Char.SetKindaStayInSamePlace(48@, True)
Task.KillCharOnFoot(48@, $stattreadstamina_ctr)

:SYN5_16743
107@ = Math.RandomIntInRange(0, 2)
51@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1645.8, 1401.5, 8.8)
Char.SetAccuracy(51@, 130@)
Char.SetHeading(51@, 129.4)
Char.SetDecisionMaker(51@, 196@)
Char.SetKindaStayInSamePlace(51@, True)
Char.SetOnlyDamagedByPlayer(51@, True)
Char.GiveWeapon(51@, WeaponType.Tec9, 30000)
Task.KillCharOnFoot(51@, $stattreadstamina_ctr)
107@ = Math.RandomIntInRange(0, 2)
52@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1670.5, 1364.8, 6.2)
Char.SetAccuracy(52@, 130@)
Char.SetHeading(52@, 129.4)
Char.SetDecisionMaker(52@, 196@)
Char.SetKindaStayInSamePlace(52@, True)
Char.SetOnlyDamagedByPlayer(52@, True)
Char.GiveWeapon(52@, WeaponType.Tec9, 30000)
Task.KillCharOnFoot(52@, $stattreadstamina_ctr)
107@ = Math.RandomIntInRange(0, 2)
53@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1687.5, 1367.8, 6.2)
Char.SetAccuracy(53@, 130@)
Char.SetHeading(53@, 124.5)
Char.SetDecisionMaker(53@, 196@)
Char.SetKindaStayInSamePlace(53@, True)
Char.SetOnlyDamagedByPlayer(53@, True)
Char.GiveWeapon(53@, WeaponType.Tec9, 30000)
Task.KillCharOnFoot(53@, $stattreadstamina_ctr)
107@ = Math.RandomIntInRange(0, 2)
54@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1657.3, 1379.8, 8.8)
Char.SetAccuracy(54@, 130@)
Char.SetHeading(54@, 140.5)
Char.SetDecisionMaker(54@, 196@)
Char.SetKindaStayInSamePlace(54@, True)
Char.SetOnlyDamagedByPlayer(54@, True)
Char.GiveWeapon(54@, WeaponType.Tec9, 30000)
Task.KillCharOnFoot(54@, $stattreadstamina_ctr)
Car.Delete(58@)
Char.Delete($sweet_car)
Streaming.RemoveCarRecording(28)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Streaming.RemoveAnimation("GRENADE")
Car.MarkAsNoLongerNeeded(58@)
Streaming.MarkModelAsNoLongerNeeded(487)
Streaming.MarkModelAsNoLongerNeeded(600)
Streaming.MarkModelAsNoLongerNeeded(566)
Streaming.MarkModelAsNoLongerNeeded(413)
Car.MarkAsNoLongerNeeded(75@)
Streaming.MarkModelAsNoLongerNeeded(429)
World.SetCarDensityMultiplier(1.0)
DecisionMakerChar.AddEventResponse(196@, 13, 917, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(196@, 11, 600, 100.0, 0.0, 0.0, 0.0, False, True)
Streaming.LoadScene(-1720.4, 1275.5, 16.9)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $ryder_car)
Group.SetDefaultTaskAllocator($flag_cell_nation, DefaultTaskAllocator.FollowLimited)
126@ = 1
Game.ShutAllCharsUp(False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.ClearPrints
Text.PrintNow('SYN5_06', 4000, 1)
Camera.DoFade(500, Fade.In)

:SYN5_17359
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_17383
wait 0
goto @SYN5_17359

:SYN5_17383
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_17415
goto @SYN5_8953

:SYN5_17415
if 
  90@ == 1
goto_if_false @SYN5_17440
goto @SYN5_23151

:SYN5_17440
88@ = 0
87@ = 5

:SYN5_17454
if 
  87@ == 5
goto_if_false @SYN5_21573
if 
  88@ == 0
goto_if_false @SYN5_17806
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1708.6, 1331.1, 200.0, 200.0, False)
goto_if_false @SYN5_17542
World.SetPedDensityMultiplier(0.0)
goto @SYN5_17549

:SYN5_17542
World.SetPedDensityMultiplier(1.0)

:SYN5_17549
gosub @SYN5_29054
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @SYN5_17599
if 
  not Char.IsDead(35@)
goto_if_false @SYN5_17599
Char.SetOnlyDamagedByPlayer(35@, False)
Char.ExplodeHead(35@)

:SYN5_17599
if 
  Char.IsDead(35@)
goto_if_false @SYN5_17806
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @SYN5_17806
Text.ClearPrints
Blip.Remove(79@)
Camera.DoFade(1000, Fade.Out)

:SYN5_17654
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_17678
wait 0
goto @SYN5_17654

:SYN5_17678
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_17710
goto @SYN5_8953

:SYN5_17710
if 
  90@ == 1
goto_if_false @SYN5_17735
goto @SYN5_23151

:SYN5_17735
Streaming.RequestAnimation("DANCING")
Streaming.RequestAnimation("KISSING")
Streaming.RequestAnimation("MISC")
Streaming.RequestAnimation("RYDER")
Streaming.RequestModel(#DYN_WOODPILE2)
Streaming.RequestModel(452)
Streaming.LoadSpecialCharacter(2, 'RYDER2')
Streaming.LoadAllModelsNow
88@ = 1

:SYN5_17806
if 
  88@ == 1
goto_if_false @SYN5_19605
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
132@ = 0
Player.SetDrunkenness($statbike_temp, 0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Game.ShutAllCharsUp(True)
World.ClearArea(-1629.438, 1422.648, 6.2, 60.0, True)
Streaming.LoadScene(-1629.438, 1422.648, 6.2)
Char.Delete(35@)
35@ = Char.Create(PedType.Mission2, 293, -1629.438, 1422.648, 6.2)
Char.SetHealth(35@, 500)
Char.AddArmor(35@, 100)
Char.SetAccuracy(35@, 130@)
Char.SetHeading(35@, 260.0)
Char.SetProofs(35@, True, True, True, True, True)
Char.SetBleeding(35@, True)
Char.SetDecisionMaker(35@, 197@)
195@ = Sequence.Open()
Task.PlayAnim(-1, "RYD_DIE_PT1", "RYDER", 1000.0, False, True, True, False, -1)
Sequence.Close(195@)
Char.PerformSequence(35@, 195@)
Sequence.Clear(195@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -1639.9, 1410.3, 6.2)
Char.SetHeading($stattreadstamina_ctr, 325.8)
91@ = 0
91@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Mp5)
if 
  91@ > 0
goto_if_false @SYN5_18145
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Mp5)
goto @SYN5_18232

:SYN5_18145
91@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.MicroUzi)
if 
  91@ > 0
goto_if_false @SYN5_18187
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.MicroUzi)
goto @SYN5_18232

:SYN5_18187
91@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Tec9)
if 
  91@ == 0
goto_if_false @SYN5_18225
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Tec9, 300)

:SYN5_18225
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Tec9)

:SYN5_18232
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1632.2, 1419.3, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence($stattreadstamina_ctr, 195@)
Sequence.Clear(195@)
Camera.SetBehindPlayer
Camera.Restore
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @SYN5_18306
Char.RemoveFromGroup($ryder_car)

:SYN5_18306
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, -1638.1, 1408.8, 6.2)
Char.SetHeading($ryder_car, 325.8)
Char.SetDecisionMaker($ryder_car, 197@)
Char.GiveWeapon($ryder_car, WeaponType.Tec9, 30000)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1630.5, 1417.9, 6.2, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence($ryder_car, 195@)
Sequence.Clear(195@)
Char.ClearTasksImmediately($chickX)
Char.SetCoordinates($chickX, -1645.7, 1409.0, 6.2)
Char.SetHeading($chickX, 328.5)
Char.SetDecisionMaker($chickX, 197@)
Char.GiveWeapon($chickX, WeaponType.Tec9, 30000)
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1640.2, 1414.0, 6.2, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, 35@)
Sequence.Close(195@)
Char.PerformSequence($chickX, 195@)
Sequence.Clear(195@)
if 
  not Char.IsDead(39@)
goto_if_false @SYN5_18579
Char.SetDecisionMaker(39@, 197@)
Char.ClearTasksImmediately(39@)
195@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.HandsUp(-1, 50000)
Sequence.Close(195@)
Char.PerformSequence(39@, 195@)
Sequence.Clear(195@)

:SYN5_18579
Char.Delete(40@)
Char.Delete(41@)
Char.Delete(42@)
Char.Delete(43@)
Char.Delete(44@)
if 
  not Char.IsDead(45@)
goto_if_false @SYN5_18672
Char.SetDecisionMaker(45@, 197@)
Char.ClearTasksImmediately(45@)
195@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.HandsUp(-1, 50000)
Sequence.Close(195@)
Char.PerformSequence(45@, 195@)
Sequence.Clear(195@)

:SYN5_18672
Char.Delete(46@)
if 
  not Char.IsDead(47@)
goto_if_false @SYN5_18745
Char.SetDecisionMaker(47@, 197@)
Char.ClearTasksImmediately(47@)
195@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.HandsUp(-1, 50000)
Sequence.Close(195@)
Char.PerformSequence(47@, 195@)
Sequence.Clear(195@)

:SYN5_18745
if 
  not Char.IsDead(48@)
goto_if_false @SYN5_18813
Char.SetDecisionMaker(48@, 197@)
Char.ClearTasksImmediately(48@)
195@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.HandsUp(-1, 50000)
Sequence.Close(195@)
Char.PerformSequence(48@, 195@)
Sequence.Clear(195@)

:SYN5_18813
Char.Delete(36@)
Char.Delete(37@)
Char.Delete(38@)
$sweet_car = Char.Create(PedType.Mission2, 291, -1633.1, 1394.1, 6.2)
Char.SetAccuracy($sweet_car, 130@)
Char.SetHeading($sweet_car, 268.0)
Char.SetDecisionMaker($sweet_car, 197@)
Char.SetOnlyDamagedByPlayer($sweet_car, True)
Char.SetSuffersCriticalHits($sweet_car, False)
Char.AddArmor($sweet_car, 100)
67@ = Char.CreateRandom(-1502.8, 1379.5, 3.1)
Char.SetHeading(67@, 123.3)
Task.PlayAnim(67@, "DAN_LOOP_A", "DANCING", 4.0, True, False, False, False, -1)
68@ = Char.CreateRandom(-1503.2, 1377.3, 3.1)
Char.SetHeading(68@, 37.1)
Task.PlayAnim(68@, "DAN_LOOP_A", "DANCING", 4.0, True, False, False, False, -1)
69@ = Char.CreateRandom(-1506.0, 1375.2, 3.1)
Char.SetHeading(69@, 291.9)
Task.PlayAnim(69@, "DAN_LOOP_A", "DANCING", 4.0, True, False, False, False, -1)
70@ = Char.CreateRandom(-1509.2, 1379.3, 2.8)
71@ = Char.CreateRandom(-1510.2, 1379.3, 2.8)
Task.TurnCharToFaceChar(70@, 71@)
Task.PlayAnim(70@, "GRLFRD_KISS_03", "KISSING", 4.0, True, False, False, False, -1)
Task.TurnCharToFaceChar(71@, 70@)
Task.PlayAnim(71@, "PLAYA_KISS_03", "KISSING", 4.0, True, False, False, False, -1)
72@ = ScriptFire.Start(-1505.0, 1379.2, 2.1, 0, 1)
78@ = Object.CreateNoOffset(#DYN_WOODPILE2, -1505.0, 1379.2, 2.1)
Object.SetScale(78@, 0.5)
Object.SetCollisionDamageEffect(78@, False)
65@ = Car.Create(452, -1504.0, 1388.7, 0.0)
Car.SetHeading(65@, 282.0)
Boat.Anchor(65@, True)
Car.SetStraightLineDistance(65@, 255)
66@ = Car.Create(452, -1519.9, 1382.3, 0.0)
Car.SetHeading(66@, 314.0)
Boat.Anchor(66@, True)
Camera.SetFixedPosition(-1643.8, 1408.3, 7.6, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1631.1, 1416.7, 7.9, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:SYN5_19468
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_19492
wait 0
goto @SYN5_19468

:SYN5_19492
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_19524
goto @SYN5_8953

:SYN5_19524
if 
  90@ == 1
goto_if_false @SYN5_19549
goto @SYN5_23151

:SYN5_19549
89@ = 1
skip_cutscene_start_internal @SYN5_20987
132@ = 8
134@ = 0
135@ = 1
gosub @SYN5_30472
TIMERA = 0
88@ = 2

:SYN5_19605
if 
  88@ == 2
goto_if_false @SYN5_19810
if 
  not Char.IsDead(35@)
goto_if_false @SYN5_19810
if 
  Char.LocateAnyMeans2D(35@, -1626.6, 1421.8, 1.0, 1.0, False)
goto_if_false @SYN5_19810
Char.ClearTasksImmediately(35@)
Char.SetCoordinates(35@, -1624.4, 1423.8, 6.2)
Char.SetHeading(35@, 135.0)
Task.PlayAnimNonInterruptable(35@, "RYD_DIE_PT2", "RYDER", 1000.0, False, False, False, True, -1)
Camera.SetFixedPosition(-1633.2, 1416.9, 7.6, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1624.2, 1424.9, 6.8, SwitchType.JumpCut)
88@ = 3

:SYN5_19810
if 
  88@ == 3
goto_if_false @SYN5_19945
if 
  not Char.IsDead(35@)
goto_if_false @SYN5_19945
if 
  Char.IsPlayingAnim(35@, "RYD_DIE_PT2")
goto_if_false @SYN5_19945
194@ = Char.GetAnimCurrentTime(35@, "RYD_DIE_PT2")
if 
  194@ > 0.783
goto_if_false @SYN5_19945
Char.SetAnimSpeed(35@, "RYD_DIE_PT2", 0.0)
88@ = 4

:SYN5_19945
if 
  88@ == 4
goto_if_false @SYN5_20136
if 
  132@ == 0
goto_if_false @SYN5_20136
if 
  not Char.IsDead(35@)
goto_if_false @SYN5_20136
195@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, 35@)
Task.ShootAtChar(-1, 35@, 1000)
Sequence.Close(195@)
Char.PerformSequence($stattreadstamina_ctr, 195@)
Sequence.Clear(195@)
195@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, 35@)
Task.ShootAtChar(-1, 35@, 1000)
Sequence.Close(195@)
Char.PerformSequence($ryder_car, 195@)
Sequence.Clear(195@)
if 
  Char.IsPlayingAnim(35@, "RYD_DIE_PT2")
goto_if_false @SYN5_20129
Char.SetAnimSpeed(35@, "RYD_DIE_PT2", 1.0)

:SYN5_20129
88@ = 5

:SYN5_20136
if 
  88@ == 5
goto_if_false @SYN5_20275
if 
  not Char.IsDead(35@)
goto_if_false @SYN5_20275
if 
  Char.IsPlayingAnim(35@, "RYD_DIE_PT2")
goto_if_false @SYN5_20275
194@ = Char.GetAnimCurrentTime(35@, "RYD_DIE_PT2")
if 
  194@ > 0.98
goto_if_false @SYN5_20275
Char.SetCoordinates(35@, -1622.1, 1425.5, 6.2)
TIMERA = 0
88@ = 6

:SYN5_20275
if 
  88@ == 6
goto_if_false @SYN5_20425
if 
  TIMERA > 2000
goto_if_false @SYN5_20425
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_20411
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1621.0, 1396.0, 7.4, MoveState.Run, -1)
Sequence.Close(195@)
Char.PerformSequence($sweet_car, 195@)
Sequence.Clear(195@)
Camera.PointAtChar($sweet_car, CameraMode.Fixed, SwitchType.JumpCut)
132@ = 8
134@ = 1
135@ = 4
gosub @SYN5_30472

:SYN5_20411
TIMERA = 0
88@ = 7

:SYN5_20425
if 
  88@ == 7
goto_if_false @SYN5_20663
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_20663
$chickY = Char.GetScriptTaskStatus($sweet_car, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @SYN5_20663
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1614.82, 1397.204, 7.277, MoveState.Run, -1)
Task.CharSlideToCoord(-1, -1614.82, 1397.204, 7.277, 287.0, 0.9)
Task.PlayAnimNonInterruptable(-1, "RUN_DIVE", "MISC", 4.0, False, False, False, True, -1)
Sequence.Close(195@)
Char.PerformSequence($sweet_car, 195@)
Sequence.Clear(195@)
Camera.SetFixedPosition(-1617.8, 1398.8, 7.2, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1614.2, 1396.3, 8.0, SwitchType.JumpCut)
TIMERA = 0
88@ = 8

:SYN5_20663
if 
  88@ == 8
goto_if_false @SYN5_20734
if 
  132@ == 0
goto_if_false @SYN5_20734
132@ = 8
134@ = 4
135@ = 6
gosub @SYN5_30472
88@ = 9

:SYN5_20734
if 
  88@ == 9
goto_if_false @SYN5_20847
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_20847
if 
  Char.IsPlayingAnim($sweet_car, "RUN_DIVE")
goto_if_false @SYN5_20847
194@ = Char.GetAnimCurrentTime($sweet_car, "RUN_DIVE")
if 
  194@ > 0.98
goto_if_false @SYN5_20847
TIMERA = 0
88@ = 10

:SYN5_20847
if 
  88@ == 10
goto_if_false @SYN5_20918
if 
  TIMERA > 500
goto_if_false @SYN5_20918
Audio.ReportMissionAudioEventAtPosition(-1609.2, 1401.7, 5.8, 1144)
TIMERA = 0
88@ = 11

:SYN5_20918
if 
  88@ == 11
goto_if_false @SYN5_20962
if 
  TIMERA > 1000
goto_if_false @SYN5_20962
88@ = 12

:SYN5_20962
if 
  88@ == 12
goto_if_false @SYN5_21573
89@ = 0

:SYN5_20987
skip_cutscene_end 
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_21021
goto @SYN5_8953

:SYN5_21021
if 
  90@ == 1
goto_if_false @SYN5_21046
goto @SYN5_23151

:SYN5_21046
if 
  89@ == 1
goto_if_false @SYN5_21184
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
132@ = 0
Camera.DoFade(500, Fade.Out)

:SYN5_21088
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_21112
wait 0
goto @SYN5_21088

:SYN5_21112
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_21144
goto @SYN5_8953

:SYN5_21144
if 
  90@ == 1
goto_if_false @SYN5_21169
goto @SYN5_23151

:SYN5_21169
Char.Delete(35@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($ryder_car)

:SYN5_21184
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_21309
if 
  not Car.IsDead(65@)
goto_if_false @SYN5_21309
Char.SetDrownsInWater($sweet_car, False)
Char.ClearTasksImmediately($sweet_car)
Char.SetCoordinates($sweet_car, -1543.9, 1401.6, 0.0)
191@, 192@, 193@ = Car.GetOffsetInWorldCoords(65@, -1.0, 2.0, 0.0)
Task.SwimToCoord($sweet_car, 191@, 192@, 193@)
Char.SetSwimSpeed($sweet_car, 2.3)
79@ = Blip.AddForChar($sweet_car)

:SYN5_21309
Car.MarkAsNoLongerNeeded(55@)
Car.MarkAsNoLongerNeeded(56@)
Car.MarkAsNoLongerNeeded(57@)
Streaming.MarkModelAsNoLongerNeeded(600)
Streaming.MarkModelAsNoLongerNeeded(566)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(103)
Streaming.MarkModelAsNoLongerNeeded(173)
Streaming.MarkModelAsNoLongerNeeded(174)
Task.GoStraightToCoord($ryder_car, -1616.5, 1402.9, 6.2, MoveState.Walk, -2)
Task.GoStraightToCoord($chickX, -1615.5, 1398.4, 6.2, MoveState.Walk, -2)
Streaming.UnloadSpecialCharacter(4)
Streaming.RemoveAnimation("MISC")
Streaming.RemoveAnimation("RYDER")
Text.ClearPrints
Text.Print('SYN5_07', 7000, 1)
Game.ShutAllCharsUp(False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(500, Fade.In)

:SYN5_21471
if 
  Camera.GetFadingStatus
goto_if_false @SYN5_21495
wait 0
goto @SYN5_21471

:SYN5_21495
gosub @SYN5_23605
if 
  87@ == 10
goto_if_false @SYN5_21527
goto @SYN5_8953

:SYN5_21527
if 
  90@ == 1
goto_if_false @SYN5_21552
goto @SYN5_23151

:SYN5_21552
133@ = 0
88@ = 0
87@ = 6

:SYN5_21573
if 
  87@ == 6
goto_if_false @SYN5_22930
if 
  133@ == 0
goto_if_false @SYN5_21659
if 
  Char.IsInWater($stattreadstamina_ctr)
goto_if_false @SYN5_21659
Text.ClearThisPrint('SYN5_07')
Text.PrintNow('SYN5_08', 7000, 1)
133@ = 1

:SYN5_21659
if 
  133@ == 1
goto_if_false @SYN5_21762
if 
  not Car.IsDead(66@)
goto_if_false @SYN5_21762
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 66@, 10.0, 10.0, False)
goto_if_false @SYN5_21762
86@ = Blip.AddForCar(66@)
Blip.SetAsFriendly(86@, True)
Text.PrintNow('SYN5_11', 7000, 1)
133@ = 2

:SYN5_21762
if 
  133@ == 2
goto_if_false @SYN5_21904
if 
  not Car.IsDead(66@)
goto_if_false @SYN5_21876
if 
  Char.IsInCar($stattreadstamina_ctr, 66@)
goto_if_false @SYN5_21876
if 
  not Char.IsDead(67@)
goto_if_false @SYN5_21869
132@ = 9
134@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 135@ = 134@
135@ += 1
gosub @SYN5_30472

:SYN5_21869
133@ = 3

:SYN5_21876
if 
  Char.IsInAnyBoat($stattreadstamina_ctr)
goto_if_false @SYN5_21904
Blip.Remove(86@)
133@ = 3

:SYN5_21904
if 
  133@ == 3
goto_if_false @SYN5_21981
if 
  132@ == 0
goto_if_false @SYN5_21981
if 
  132@ == 0
goto_if_false @SYN5_21981
Text.PrintNow('SYN5_12', 7000, 1)
133@ = 4

:SYN5_21981
if 
  133@ == 4
goto_if_false @SYN5_22178
if 
  132@ == 0
goto_if_false @SYN5_22178
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_22178
if 
  not Car.IsDead(65@)
goto_if_false @SYN5_22178
if 
  Char.IsInCar($sweet_car, 65@)
goto_if_false @SYN5_22178
if 
  not Car.IsDead(66@)
goto_if_false @SYN5_22178
if 
  Char.IsInCar($stattreadstamina_ctr, 66@)
goto_if_false @SYN5_22178
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $sweet_car, 15.0, 15.0, False)
goto_if_false @SYN5_22178
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_22178
132@ = 11
134@ = 0
gosub @SYN5_30472
133@ = 5

:SYN5_22178
if 
  88@ == 0
goto_if_false @SYN5_22366
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_22366
if 
  not Car.IsDead(65@)
goto_if_false @SYN5_22366
if 
  not Char.LocateAnyMeans2D($sweet_car, 191@, 192@, 2.0, 2.0, False)
goto_if_false @SYN5_22351
$chickY = Char.GetScriptTaskStatus($sweet_car, 2017)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @SYN5_22344
191@, 192@, 193@ = Car.GetOffsetInWorldCoords(65@, -1.0, 2.0, 0.0)
Task.SwimToCoord($sweet_car, 191@, 192@, 193@)
Char.SetSwimSpeed($sweet_car, 2.3)

:SYN5_22344
goto @SYN5_22366

:SYN5_22351
Char.WarpIntoCar($sweet_car, 65@)
88@ = 1

:SYN5_22366
if 
  88@ == 1
goto_if_false @SYN5_22488
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_22488
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $sweet_car, 20.0, 20.0, False)
  Char.HasBeenDamagedByChar($sweet_car, $stattreadstamina_ctr)
goto_if_false @SYN5_22446
88@ = 2

:SYN5_22446
if 
  not Car.IsDead(65@)
goto_if_false @SYN5_22488
if 
  Car.HasBeenDamagedByChar(65@, $stattreadstamina_ctr)
goto_if_false @SYN5_22488
88@ = 2

:SYN5_22488
if 
  88@ == 2
goto_if_false @SYN5_22612
if 
  125@ == 4
goto_if_false @SYN5_22612
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_22612
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $sweet_car, 250.0, 250.0, False)
goto_if_false @SYN5_22612
if 
  not Char.IsOnScreen($sweet_car)
goto_if_false @SYN5_22612
Text.ClearPrints
Text.PrintNow('SYN5_09', 4000, 1)
goto @SYN5_23151

:SYN5_22612
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_22872
if 
  not Car.IsDead(65@)
goto_if_false @SYN5_22695
if 
  Char.IsInCar($sweet_car, 65@)
goto_if_false @SYN5_22688
if 
  88@ > 1
goto_if_false @SYN5_22688
gosub @SYN5_27551

:SYN5_22688
goto @SYN5_22872

:SYN5_22695
if 
  125@ == 0
goto_if_false @SYN5_22750
Task.SwimToCoord($sweet_car, -1491.2, 1387.4, 0.0)
Char.SetSwimSpeed($sweet_car, 2.3)
125@ = 1

:SYN5_22750
if 
  125@ == 1
goto_if_false @SYN5_22872
$chickY = Char.GetScriptTaskStatus($sweet_car, 2017)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @SYN5_22872
195@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.GoStraightToCoord(-1, -1497.2, 1383.5, 1.6, MoveState.Run, 1)
Task.AchieveHeading(-1, 64.5)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(195@)
Char.PerformSequence($sweet_car, 195@)
Sequence.Clear(195@)
125@ = 2

:SYN5_22872
if 
  Car.IsDead(66@)
goto_if_false @SYN5_22893
Blip.Remove(86@)

:SYN5_22893
if 
  Char.IsDead($sweet_car)
goto_if_false @SYN5_22930
TIMERA = 0
88@ = 0
87@ = 7

:SYN5_22930
if 
  87@ == 7
goto_if_false @SYN5_23137
if 
  TIMERA > 2000
goto_if_false @SYN5_23077
if 
  88@ == 0
goto_if_false @SYN5_23077
if 
  Char.IsInAnyBoat($stattreadstamina_ctr)
goto_if_false @SYN5_23070
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
132@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Game.ShutAllCharsUp(True)
132@ = 10
134@ = 0
gosub @SYN5_30472
88@ = 1
goto @SYN5_23077

:SYN5_23070
goto @SYN5_23169

:SYN5_23077
if 
  88@ == 1
goto_if_false @SYN5_23137
if 
  132@ == 0
goto_if_false @SYN5_23137
Game.ShutAllCharsUp(False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Player.SetControl($statbike_temp, True)
goto @SYN5_23169

:SYN5_23137
gosub @SYN5_32238
goto @SYN5_1694

:SYN5_23151
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:SYN5_23169
$garageZ += 1
Text.PrintWithNumberBig('M_PASSS', 15000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 15000)
Stat.AwardPlayerMissionRespect(40)
Blip.Remove($530)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('SYND_5')
Stat.PlayerMadeProgress(1)
Blip.Remove($garage_blip_icon)
$garage_blip_icon = Blip.AddSpriteForContactPoint($zeroY, $zeroZ, $wuziX, $flag_garage_mission_counter)
return 

:SYN5_23260
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @SYN5_23278
Camera.RestoreJumpcut

:SYN5_23278
Object.Delete(73@)
Blip.Remove(79@)
Streaming.RemoveAnimation("DANCING")
Streaming.RemoveAnimation("KISSING")
Streaming.RemoveAnimation("MISC")
Streaming.RemoveAnimation("RYDER")
Blip.Remove(80@)
Blip.Remove(81@)
Blip.Remove(82@)
Blip.Remove(83@)
Blip.Remove(84@)
Blip.Remove(85@)
Blip.Remove(79@)
Blip.Remove(86@)
Particle.Kill(59@)
Particle.Kill(60@)
Particle.Kill(61@)
Particle.Kill(62@)
Streaming.MarkModelAsNoLongerNeeded(600)
Streaming.MarkModelAsNoLongerNeeded(566)
Streaming.MarkModelAsNoLongerNeeded(487)
Streaming.MarkModelAsNoLongerNeeded(452)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(103)
Streaming.MarkModelAsNoLongerNeeded(120)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(173)
Streaming.MarkModelAsNoLongerNeeded(174)
Streaming.MarkModelAsNoLongerNeeded(358)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.MarkModelAsNoLongerNeeded(413)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(429)
Streaming.MarkModelAsNoLongerNeeded(#SNIPER_ANIM)
Streaming.MarkModelAsNoLongerNeeded(343)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(#DYN_WOODPILE2)
Streaming.MarkModelAsNoLongerNeeded(355)
ScriptFire.Remove(72@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SYN5_23511
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:SYN5_23511
Game.ShutAllCharsUp(False)
Weather.Release
Char.RemoveElegantly($ryder_car)
Char.RemoveElegantly($sweet_car)
Char.RemoveElegantly(34@)
Char.RemoveElegantly(35@)
Path.SwitchPedRoadsBackToOriginal(-1755.6, 1256.6, 0.0, -1598.2, 1660.1, 50.0)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Streaming.UnloadSpecialCharacter(4)
Game.EnableAmbientCrime(True)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:SYN5_23605
if 
  10 > 87@
goto_if_false @SYN5_23664
if 
  Char.IsDead($ryder_car)
goto_if_false @SYN5_23664
Text.ClearPrints
Text.PrintNow('SYN5_04', 7000, 1)
90@ = 1

:SYN5_23664
if 
  87@ == 3
goto_if_false @SYN5_23714
if 
  Char.IsDead($chickX)
goto_if_false @SYN5_23714
Text.ClearPrints
88@ = 0
87@ = 10

:SYN5_23714
if or
  87@ == 2
  87@ > 3
goto_if_false @SYN5_23798
if 
  87@ <> 10
goto_if_false @SYN5_23798
if 
  Char.IsDead($chickX)
goto_if_false @SYN5_23798
Text.ClearPrints
Text.PrintNow('SYN5_05', 7000, 1)
90@ = 1

:SYN5_23798
return 

:SYN5_23800
if 
  Char.IsDead(45@)
goto_if_false @SYN5_23905
107@ = Math.RandomIntInRange(0, 2)
45@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1713.16, 1356.57, 16.2)
Char.SetHeading(45@, 44.5)
Char.GiveWeapon(45@, WeaponType.Tec9, 300000)
Task.SetIgnoreWeaponRangeFlag(45@, True)
Char.SetDecisionMaker(45@, 197@)
Char.SetStayInSamePlace(45@, True)
Char.SetOnlyDamagedByPlayer(45@, True)

:SYN5_23905
if 
  Char.IsDead(46@)
goto_if_false @SYN5_24010
107@ = Math.RandomIntInRange(0, 2)
46@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1682.9, 1379.8, 13.8)
Char.SetHeading(46@, 36.8)
Char.GiveWeapon(46@, WeaponType.Tec9, 300000)
Task.SetIgnoreWeaponRangeFlag(46@, True)
Char.SetDecisionMaker(46@, 197@)
Char.SetStayInSamePlace(46@, True)
Char.SetOnlyDamagedByPlayer(46@, True)

:SYN5_24010
if 
  Char.IsDead(47@)
goto_if_false @SYN5_24115
107@ = Math.RandomIntInRange(0, 2)
47@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1686.2, 1393.2, 20.5)
Char.SetHeading(47@, 276.9)
Char.GiveWeapon(47@, WeaponType.Tec9, 300000)
Task.SetIgnoreWeaponRangeFlag(47@, True)
Char.SetDecisionMaker(47@, 197@)
Char.SetStayInSamePlace(47@, True)
Char.SetOnlyDamagedByPlayer(47@, True)

:SYN5_24115
if 
  Char.IsDead(48@)
goto_if_false @SYN5_24220
107@ = Math.RandomIntInRange(0, 2)
48@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1686.4, 1345.6, 16.2)
Char.SetHeading(48@, 4.0)
Char.GiveWeapon(48@, WeaponType.Tec9, 300000)
Task.SetIgnoreWeaponRangeFlag(48@, True)
Char.SetDecisionMaker(48@, 197@)
Char.SetStayInSamePlace(48@, True)
Char.SetOnlyDamagedByPlayer(48@, True)

:SYN5_24220
if 
  Char.IsDead(49@)
goto_if_false @SYN5_24325
107@ = Math.RandomIntInRange(0, 2)
49@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1661.0, 1362.2, 17.4)
Char.SetHeading(49@, 236.8)
Char.GiveWeapon(49@, WeaponType.Tec9, 300000)
Task.SetIgnoreWeaponRangeFlag(49@, True)
Char.SetDecisionMaker(49@, 197@)
Char.SetStayInSamePlace(49@, True)
Char.SetOnlyDamagedByPlayer(49@, True)

:SYN5_24325
if 
  Char.IsDead(50@)
goto_if_false @SYN5_24430
107@ = Math.RandomIntInRange(0, 2)
50@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1641.6, 1369.9, 17.4)
Char.SetHeading(50@, 211.1)
Char.GiveWeapon(50@, WeaponType.Tec9, 300000)
Task.SetIgnoreWeaponRangeFlag(50@, True)
Char.SetDecisionMaker(50@, 197@)
Char.SetStayInSamePlace(50@, True)
Char.SetOnlyDamagedByPlayer(50@, True)

:SYN5_24430
return 

:SYN5_24432
if 
  Char.IsDead($chickX)
goto_if_false @SYN5_24602
$chickX = Char.Create(PedType.Mission1, 120, -1687.4, 1321.1, 6.2)
Char.SetHeading($chickX, 326.8)
Char.SetVisible($chickX, False)
Char.GiveWeapon($chickX, WeaponType.Tec9, 30000)
Char.SetNeverTargeted($chickX, True)
Char.SetDecisionMaker($chickX, 197@)
Char.SetStayInSamePlace($chickX, True)
Char.SetOnlyDamagedByPlayer($chickX, True)
195@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 1000.0, False, False, False, True, -1)
Sequence.Close(195@)
Char.PerformSequence($chickX, 195@)
Sequence.Clear(195@)

:SYN5_24602
if 
  Char.IsDead(36@)
goto_if_false @SYN5_24775
36@ = Char.Create(PedType.Mission1, 117, -1689.5, 1320.2, 6.2)
Char.SetHeading(36@, 312.1)
Char.GiveWeapon(36@, WeaponType.Tec9, 30000)
Task.Duck(36@, 360000000)
Char.SetNeverTargeted(36@, True)
Char.SetDecisionMaker(36@, 197@)
Char.SetStayInSamePlace(36@, True)
Char.SetOnlyDamagedByPlayer(36@, True)
195@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 1000.0, False, False, False, True, -1)
Sequence.Close(195@)
Char.PerformSequence(36@, 195@)
Sequence.Clear(195@)

:SYN5_24775
if 
  Char.IsDead(37@)
goto_if_false @SYN5_24948
37@ = Char.Create(PedType.Mission1, 117, -1688.1, 1319.3, 6.2)
Char.SetHeading(37@, 327.2)
Char.GiveWeapon(37@, WeaponType.Tec9, 30000)
Task.Duck(37@, 360000000)
Char.SetNeverTargeted(37@, True)
Char.SetDecisionMaker(37@, 197@)
Char.SetStayInSamePlace(37@, True)
Char.SetOnlyDamagedByPlayer(37@, True)
195@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 1000.0, False, False, False, True, -1)
Sequence.Close(195@)
Char.PerformSequence(37@, 195@)
Sequence.Clear(195@)

:SYN5_24948
if 
  Char.IsDead(38@)
goto_if_false @SYN5_25121
38@ = Char.Create(PedType.Mission1, 117, -1686.5, 1318.0, 6.2)
Char.SetHeading(38@, 346.0)
Char.GiveWeapon(38@, WeaponType.Tec9, 30000)
Task.Duck(38@, 360000000)
Char.SetNeverTargeted(38@, True)
Char.SetDecisionMaker(38@, 197@)
Char.SetStayInSamePlace(38@, True)
Char.SetOnlyDamagedByPlayer(38@, True)
195@ = Sequence.Open()
Task.SetIgnoreWeaponRangeFlag(-1, True)
Task.ToggleDuck(-1, True)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 1000.0, False, False, False, True, -1)
Sequence.Close(195@)
Char.PerformSequence(38@, 195@)
Sequence.Clear(195@)

:SYN5_25121
return 

:SYN5_25123
if 
  Char.IsDead(35@)
goto_if_false @SYN5_25219
35@ = Char.Create(PedType.Mission2, 293, -1716.0, 1349.8, 6.2)
Char.SetAccuracy(35@, 130@)
Char.SetAnimGroup(35@, "GANG2")
Char.SetHeading(35@, 229.4)
Char.GiveWeapon(35@, WeaponType.Ak47, 30000)
Char.SetDecisionMaker(35@, 197@)
Char.SetStayInSamePlace(35@, True)

:SYN5_25219
if 
  Char.IsDead(45@)
goto_if_false @SYN5_25306
107@ = Math.RandomIntInRange(0, 2)
45@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1716.8, 1351.6, 6.2)
Char.SetAccuracy(45@, 130@)
Char.SetHeading(45@, 229.4)
Char.SetDecisionMaker(45@, 196@)
Char.SetOnlyDamagedByPlayer(45@, True)

:SYN5_25306
if 
  Char.IsDead(46@)
goto_if_false @SYN5_25405
107@ = Math.RandomIntInRange(0, 2)
46@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1720.5, 1353.7, 6.2)
Char.SetAccuracy(46@, 130@)
Char.SetAnimGroup(46@, "GANG2")
Char.SetHeading(46@, 229.4)
Char.SetDecisionMaker(46@, 196@)
Char.SetOnlyDamagedByPlayer(46@, True)

:SYN5_25405
if 
  Char.IsDead(47@)
goto_if_false @SYN5_25502
107@ = Math.RandomIntInRange(0, 2)
47@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1718.4, 1351.3, 6.2)
Char.SetAccuracy(47@, 130@)
Char.SetHeading(47@, 236.0)
Char.GiveWeapon(47@, WeaponType.Tec9, 30000)
Char.SetDecisionMaker(47@, 196@)
Char.SetOnlyDamagedByPlayer(47@, True)

:SYN5_25502
if 
  Char.IsDead(48@)
goto_if_false @SYN5_25611
107@ = Math.RandomIntInRange(0, 2)
48@ = Char.Create(PedType.Mission2, 108@(107@,7i), -1718.2, 1353.3, 6.2)
Char.SetAccuracy(48@, 130@)
Char.SetAnimGroup(48@, "GANG1")
Char.SetHeading(48@, 301.0)
Char.GiveWeapon(48@, WeaponType.Tec9, 30000)
Char.SetDecisionMaker(48@, 196@)
Char.SetOnlyDamagedByPlayer(48@, True)

:SYN5_25611
return 

:SYN5_25613
if 
  Car.IsDead(55@)
goto_if_false @SYN5_25693
Car.CustomPlateForNextCar(600, "_SHERM__")
55@ = Car.Create(600, -1774.2, 1376.8, 5.7)
Car.ChangeColor(55@, 84, 84)
Car.SetHeading(55@, 251.8)
Car.LockDoors(55@, CarLock.LockoutPlayerOnly)

:SYN5_25693
if 
  Char.IsDead($sweet_car)
goto_if_false @SYN5_25769
$sweet_car = Char.CreateInsideCar(55@, PedType.Mission2, 291)
Char.SetAccuracy($sweet_car, 130@)
Char.GiveWeapon($sweet_car, WeaponType.Ak47, 30000)
Char.SetDecisionMaker($sweet_car, 197@)
Char.SetOnlyDamagedByPlayer($sweet_car, True)
Char.SetSuffersCriticalHits($sweet_car, False)
Char.AddArmor($sweet_car, 100)

:SYN5_25769
if 
  Char.IsDead(39@)
goto_if_false @SYN5_25846
107@ = Math.RandomIntInRange(3, 5)
39@ = Char.CreateAsPassenger(55@, PedType.Mission2, 108@(107@,7i), -1)
Char.SetAccuracy(39@, 130@)
Char.GiveWeapon(39@, WeaponType.Tec9, 30000)
Char.SetDecisionMaker(39@, 196@)
Char.SetOnlyDamagedByPlayer(39@, True)

:SYN5_25846
if 
  Car.IsDead(56@)
goto_if_false @SYN5_25902
56@ = Car.Create(566, -1784.2, 1379.8, 5.7)
Car.SetHeading(56@, 251.8)
Car.LockDoors(56@, CarLock.LockoutPlayerOnly)

:SYN5_25902
if 
  Char.IsDead(41@)
goto_if_false @SYN5_25977
107@ = Math.RandomIntInRange(3, 5)
41@ = Char.CreateInsideCar(56@, PedType.Mission2, 108@(107@,7i))
Char.SetAccuracy(41@, 130@)
Char.GiveWeapon(41@, WeaponType.Tec9, 30000)
Char.SetDecisionMaker(41@, 196@)
Char.SetOnlyDamagedByPlayer(41@, True)

:SYN5_25977
if 
  Char.IsDead(42@)
goto_if_false @SYN5_26054
107@ = Math.RandomIntInRange(3, 5)
42@ = Char.CreateAsPassenger(56@, PedType.Mission2, 108@(107@,7i), 0)
Char.SetAccuracy(42@, 130@)
Char.GiveWeapon(42@, WeaponType.Tec9, 30000)
Char.SetDecisionMaker(42@, 196@)
Char.SetOnlyDamagedByPlayer(42@, True)

:SYN5_26054
if 
  Car.IsDead(57@)
goto_if_false @SYN5_26110
57@ = Car.Create(566, -1795.0, 1383.6, 5.7)
Car.SetHeading(57@, 251.8)
Car.LockDoors(57@, CarLock.LockoutPlayerOnly)

:SYN5_26110
if 
  Char.IsDead(43@)
goto_if_false @SYN5_26185
107@ = Math.RandomIntInRange(3, 5)
43@ = Char.CreateInsideCar(57@, PedType.Mission2, 108@(107@,7i))
Char.SetAccuracy(43@, 130@)
Char.GiveWeapon(43@, WeaponType.Tec9, 30000)
Char.SetDecisionMaker(43@, 196@)
Char.SetOnlyDamagedByPlayer(43@, True)

:SYN5_26185
if 
  Char.IsDead(44@)
goto_if_false @SYN5_26262
107@ = Math.RandomIntInRange(3, 5)
44@ = Char.CreateAsPassenger(57@, PedType.Mission2, 108@(107@,7i), 0)
Char.SetAccuracy(44@, 130@)
Char.GiveWeapon(44@, WeaponType.Tec9, 30000)
Char.SetDecisionMaker(44@, 196@)
Char.SetOnlyDamagedByPlayer(44@, True)

:SYN5_26262
return 

:SYN5_26264
if 
  Car.IsDead(58@)
goto_if_false @SYN5_26372
58@ = Car.Create(487, -1600.9, 1424.6, 300.8)
Car.SetHeading(58@, 97.2)
Car.LockDoors(58@, CarLock.LockoutPlayerOnly)
Heli.SetReachedTargetDistance(58@, 3)
Heli.SetBladesFullSpeed(58@)
Car.SetForwardSpeed(58@, 10.0)
Heli.GotoCoords(58@, -1600.9, 1424.6, 300.0, 0.0, 300.0)

:SYN5_26372
if 
  Char.IsDead(34@)
goto_if_false @SYN5_26435
34@ = Char.CreateAsPassenger(58@, PedType.Mission2, 292, 0)
Char.GiveWeapon(34@, WeaponType.Tec9, 30000)
Char.SetDecisionMaker(34@, 197@)
Char.SetSuffersCriticalHits(34@, False)
Char.SetOnlyDamagedByPlayer(34@, True)

:SYN5_26435
return 

:SYN5_26437
if 
  not Char.IsDead(45@)
goto_if_false @SYN5_26586
if 
  115@ == 0
goto_if_false @SYN5_26586
195@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1705.8, 1359.5, 16.2, MoveState.Run, -1)
Task.GoStraightToCoord(-1, -1701.3, 1356.7, 16.2, MoveState.Run, -1)
Task.AchieveHeading(-1, 236.7)
Task.SetCharDecisionMaker(-1, 196@)
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_26561
Task.KillCharOnFoot(-1, $chickX)

:SYN5_26561
Sequence.Close(195@)
Char.PerformSequence(45@, 195@)
Sequence.Clear(195@)
115@ = 1

:SYN5_26586
if 
  not Char.IsDead(46@)
goto_if_false @SYN5_26726
if 
  116@ == 0
goto_if_false @SYN5_26726
195@ = Sequence.Open()
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_26701
Task.GoStraightToCoord(-1, -1703.3, 1361.5, 16.2, MoveState.Run, -1)
Task.GoStraightToCoord(-1, -1699.8, 1357.9, 16.2, MoveState.Run, -1)
Task.SetCharDecisionMaker(-1, 196@)
Task.KillCharOnFoot(-1, $chickX)

:SYN5_26701
Sequence.Close(195@)
Char.PerformSequence(46@, 195@)
Sequence.Clear(195@)
116@ = 1

:SYN5_26726
if 
  not Char.IsDead(47@)
goto_if_false @SYN5_26866
if 
  117@ == 0
goto_if_false @SYN5_26866
195@ = Sequence.Open()
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_26841
Task.GoStraightToCoord(-1, -1689.2, 1371.8, 14.0, MoveState.Run, -1)
Task.AchieveHeading(-1, 202.3)
Task.SetCharDecisionMaker(-1, 196@)
Task.ShootAtCoord(-1, -1687.6, 1367.1, 15.0, -2)

:SYN5_26841
Sequence.Close(195@)
Char.PerformSequence(47@, 195@)
Sequence.Clear(195@)
117@ = 1

:SYN5_26866
if 
  not Char.IsDead(48@)
goto_if_false @SYN5_26969
if 
  118@ == 0
goto_if_false @SYN5_26969
195@ = Sequence.Open()
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_26944
Task.AchieveHeading(-1, 107.3)
Task.SetCharDecisionMaker(-1, 196@)
Task.KillCharOnFoot(-1, $chickX)

:SYN5_26944
Sequence.Close(195@)
Char.PerformSequence(48@, 195@)
Sequence.Clear(195@)
118@ = 1

:SYN5_26969
if 
  not Char.IsDead(49@)
goto_if_false @SYN5_27086
if 
  119@ == 0
goto_if_false @SYN5_27086
195@ = Sequence.Open()
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_27061
Task.GoStraightToCoord(-1, -1674.2, 1345.9, 16.2, MoveState.Run, -1)
Task.SetCharDecisionMaker(-1, 196@)
Task.KillCharOnFoot(-1, $chickX)

:SYN5_27061
Sequence.Close(195@)
Char.PerformSequence(49@, 195@)
Sequence.Clear(195@)
119@ = 1

:SYN5_27086
if 
  not Char.IsDead(50@)
goto_if_false @SYN5_27241
if 
  120@ == 0
goto_if_false @SYN5_27241
Task.SetIgnoreWeaponRangeFlag(50@, True)
195@ = Sequence.Open()
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_27216
Task.GoStraightToCoord(-1, -1643.6, 1368.7, 17.8, MoveState.Run, -1)
Task.AchieveHeading(-1, 136.5)
Task.Jump(-1, True)
Task.GoStraightToCoord(-1, -1661.5, 1354.3, 15.1, MoveState.Run, -1)
Task.KillCharOnFoot(-1, $chickX)

:SYN5_27216
Sequence.Close(195@)
Char.PerformSequence(50@, 195@)
Sequence.Clear(195@)
120@ = 1

:SYN5_27241
if 
  not Char.IsDead($chickX)
goto_if_false @SYN5_27318
if 
  121@ == 0
goto_if_false @SYN5_27318
195@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.SetCharDecisionMaker(-1, 196@)
Sequence.Close(195@)
Char.PerformSequence($chickX, 195@)
Sequence.Clear(195@)
121@ = 1

:SYN5_27318
if 
  not Char.IsDead(36@)
goto_if_false @SYN5_27395
if 
  122@ == 0
goto_if_false @SYN5_27395
195@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.SetCharDecisionMaker(-1, 196@)
Sequence.Close(195@)
Char.PerformSequence(36@, 195@)
Sequence.Clear(195@)
122@ = 1

:SYN5_27395
if 
  not Char.IsDead(37@)
goto_if_false @SYN5_27472
if 
  123@ == 0
goto_if_false @SYN5_27472
195@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.SetCharDecisionMaker(-1, 196@)
Sequence.Close(195@)
Char.PerformSequence(37@, 195@)
Sequence.Clear(195@)
123@ = 1

:SYN5_27472
if 
  not Char.IsDead(38@)
goto_if_false @SYN5_27549
if 
  124@ == 0
goto_if_false @SYN5_27549
195@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.SetCharDecisionMaker(-1, 196@)
Sequence.Close(195@)
Char.PerformSequence(38@, 195@)
Sequence.Clear(195@)
124@ = 1

:SYN5_27549
return 

:SYN5_27551
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_29052
if 
  not Car.IsDead(65@)
goto_if_false @SYN5_29052
if 
  Char.IsInCar($sweet_car, 65@)
goto_if_false @SYN5_29052
if 
  125@ == 0
goto_if_false @SYN5_27923
Char.SetDrownsInWater($sweet_car, True)
195@ = Sequence.Open()
Task.CarDriveToCoord(-1, 65@, -1500.087, 1396.939, -0.7305, 15.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, -1347.703, 1319.215, 0.0282, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, -1250.07, 1178.178, -0.1243, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, -1158.0, 1033.016, -0.1089, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, -1054.175, 920.3442, 0.0405, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, -1005.599, 787.5093, 0.2581, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, -883.1418, 608.1723, -0.1191, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, -735.4338, 521.1882, -0.1478, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Sequence.Close(195@)
Char.PerformSequence($sweet_car, 195@)
Sequence.Clear(195@)
125@ = 1
return 

:SYN5_27923
if 
  125@ == 1
goto_if_false @SYN5_28266
$chickY = Char.GetScriptTaskStatus($sweet_car, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @SYN5_28266
195@ = Sequence.Open()
Task.CarDriveToCoord(-1, 65@, -572.1049, 467.9407, 0.3352, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, -404.1097, 430.3622, 0.3394, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, -233.5327, 424.5564, 0.2022, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, -63.8903, 409.6541, 0.0351, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 106.3031, 423.1877, -0.0997, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 274.607, 452.5373, 0.0679, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 442.7346, 482.1971, 0.239, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 611.5419, 513.3603, 0.1773, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Sequence.Close(195@)
Char.PerformSequence($sweet_car, 195@)
Sequence.Clear(195@)
125@ = 2
return 

:SYN5_28266
if 
  125@ == 2
goto_if_false @SYN5_28609
$chickY = Char.GetScriptTaskStatus($sweet_car, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @SYN5_28609
195@ = Sequence.Open()
Task.CarDriveToCoord(-1, 65@, 779.744, 547.2416, 0.1644, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 945.0496, 589.466, 0.0676, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 1113.117, 620.2682, -0.0797, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 1282.496, 600.009, -0.1302, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 1451.739, 568.6847, -0.1388, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 1620.593, 536.4412, -0.0845, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 1789.897, 510.063, -0.3449, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 1959.206, 491.1599, -0.0624, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Sequence.Close(195@)
Char.PerformSequence($sweet_car, 195@)
Sequence.Clear(195@)
125@ = 3
return 

:SYN5_28609
if 
  125@ == 3
goto_if_false @SYN5_28898
$chickY = Char.GetScriptTaskStatus($sweet_car, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @SYN5_28898
195@ = Sequence.Open()
Task.CarDriveToCoord(-1, 65@, 2130.127, 479.1175, 0.132, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 2301.982, 467.9901, -0.1513, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 2471.664, 456.259, -0.0586, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 2641.982, 442.9174, 0.4767, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 2812.749, 425.1894, 0.0436, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 65@, 2982.472, 401.9557, -0.7104, 100.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarTempAction(-1, 65@, TempAction.GoForward, 860000)
Sequence.Close(195@)
Char.PerformSequence($sweet_car, 195@)
Sequence.Clear(195@)
125@ = 4

:SYN5_28898
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 65@, 50.0, 50.0, False)
goto_if_false @SYN5_28946
Boat.SetCruiseSpeed(65@, 40.0)
goto @SYN5_29052

:SYN5_28946
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 65@, 100.0, 100.0, False)
goto_if_false @SYN5_28994
Boat.SetCruiseSpeed(65@, 30.0)
goto @SYN5_29052

:SYN5_28994
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 65@, 180.0, 180.0, False)
goto_if_false @SYN5_29042
Boat.SetCruiseSpeed(65@, 20.0)
goto @SYN5_29052

:SYN5_29042
Boat.SetCruiseSpeed(65@, 10.0)

:SYN5_29052
return 

:SYN5_29054
if 
  126@ == 1
goto_if_false @SYN5_29118
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @SYN5_29118
Blip.Remove(79@)
79@ = Blip.AddForChar($ryder_car)
Blip.SetAsFriendly(79@, True)
126@ = 0

:SYN5_29118
if 
  126@ == 0
goto_if_false @SYN5_29239
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $ryder_car, 8.0, 8.0, 8.0, False)
goto_if_false @SYN5_29239
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @SYN5_29203
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $ryder_car)

:SYN5_29203
Blip.Remove(79@)
if 
  not Char.IsDead(35@)
goto_if_false @SYN5_29232
79@ = Blip.AddForChar(35@)

:SYN5_29232
126@ = 1

:SYN5_29239
return 

:SYN5_29241
129@ = Math.RandomIntInRange(1, 37)
if 
  129@ == 1
goto_if_false @SYN5_29283
Car.CustomPlateForNextCar(128@, "GOT_M00_")

:SYN5_29283
if 
  129@ == 2
goto_if_false @SYN5_29316
Car.CustomPlateForNextCar(128@, "M00TV_4U")

:SYN5_29316
if 
  129@ == 3
goto_if_false @SYN5_29349
Car.CustomPlateForNextCar(128@, "MATHEW_2")

:SYN5_29349
if 
  129@ == 4
goto_if_false @SYN5_29382
Car.CustomPlateForNextCar(128@, "D4_DEW0R")

:SYN5_29382
if 
  129@ == 5
goto_if_false @SYN5_29415
Car.CustomPlateForNextCar(128@, "D0DE_777")

:SYN5_29415
if 
  129@ == 6
goto_if_false @SYN5_29448
Car.CustomPlateForNextCar(128@, "DAM0_666")

:SYN5_29448
if 
  129@ == 7
goto_if_false @SYN5_29481
Car.CustomPlateForNextCar(128@, "C0NEY_88")

:SYN5_29481
if 
  129@ == 8
goto_if_false @SYN5_29514
Car.CustomPlateForNextCar(128@, "PRE4CHER")

:SYN5_29514
if 
  129@ == 9
goto_if_false @SYN5_29547
Car.CustomPlateForNextCar(128@, "DBP_4NDY")

:SYN5_29547
if 
  129@ == 10
goto_if_false @SYN5_29580
Car.CustomPlateForNextCar(128@, "EV1L_SLY")

:SYN5_29580
if 
  129@ == 11
goto_if_false @SYN5_29613
Car.CustomPlateForNextCar(128@, "N1_R4V3N")

:SYN5_29613
if 
  129@ == 12
goto_if_false @SYN5_29646
Car.CustomPlateForNextCar(128@, "D1VX_Z00")

:SYN5_29646
if 
  129@ == 13
goto_if_false @SYN5_29678
Car.CustomPlateForNextCar(128@, "MR_B3NN")

:SYN5_29678
if 
  129@ == 14
goto_if_false @SYN5_29711
Car.CustomPlateForNextCar(128@, "R3D_R4SP")

:SYN5_29711
if 
  129@ == 15
goto_if_false @SYN5_29744
Car.CustomPlateForNextCar(128@, "LA_B0MBA")

:SYN5_29744
if 
  129@ == 16
goto_if_false @SYN5_29777
Car.CustomPlateForNextCar(128@, "L3337_0G")

:SYN5_29777
if 
  129@ == 17
goto_if_false @SYN5_29810
Car.CustomPlateForNextCar(128@, "BUDD4H_X")

:SYN5_29810
if 
  129@ == 18
goto_if_false @SYN5_29843
Car.CustomPlateForNextCar(128@, "T3H_BUCK")

:SYN5_29843
if 
  129@ == 19
goto_if_false @SYN5_29876
Car.CustomPlateForNextCar(128@, "CHUNKY_1")

:SYN5_29876
if 
  129@ == 20
goto_if_false @SYN5_29909
Car.CustomPlateForNextCar(128@, "EV1L_BNZ")

:SYN5_29909
if 
  129@ == 21
goto_if_false @SYN5_29942
Car.CustomPlateForNextCar(128@, "S4ND_M4N")

:SYN5_29942
if 
  129@ == 22
goto_if_false @SYN5_29975
Car.CustomPlateForNextCar(128@, "RKK_DBP1")

:SYN5_29975
if 
  129@ == 23
goto_if_false @SYN5_30008
Car.CustomPlateForNextCar(128@, "RE1_K0KU")

:SYN5_30008
if 
  129@ == 24
goto_if_false @SYN5_30041
Car.CustomPlateForNextCar(128@, "S3XY_JUD")

:SYN5_30041
if 
  129@ == 25
goto_if_false @SYN5_30074
Car.CustomPlateForNextCar(128@, "SUNRA_93")

:SYN5_30074
if 
  129@ == 26
goto_if_false @SYN5_30107
Car.CustomPlateForNextCar(128@, "UG_FUX69")

:SYN5_30107
if 
  129@ == 27
goto_if_false @SYN5_30140
Car.CustomPlateForNextCar(128@, "LI0N_CUM")

:SYN5_30140
if 
  129@ == 28
goto_if_false @SYN5_30173
Car.CustomPlateForNextCar(128@, "RKK_PWND")

:SYN5_30173
if 
  129@ == 29
goto_if_false @SYN5_30206
Car.CustomPlateForNextCar(128@, "HAZE_B0B")

:SYN5_30206
if 
  129@ == 30
goto_if_false @SYN5_30239
Car.CustomPlateForNextCar(128@, "T3H_FLUF")

:SYN5_30239
if 
  129@ == 31
goto_if_false @SYN5_30272
Car.CustomPlateForNextCar(128@, "BM_4NDY_")

:SYN5_30272
if 
  129@ == 32
goto_if_false @SYN5_30305
Car.CustomPlateForNextCar(128@, "BM_D34N_")

:SYN5_30305
if 
  129@ == 33
goto_if_false @SYN5_30338
Car.CustomPlateForNextCar(128@, "BM_L4C3Y")

:SYN5_30338
if 
  129@ == 34
goto_if_false @SYN5_30371
Car.CustomPlateForNextCar(128@, "BM_D3V__")

:SYN5_30371
if 
  129@ == 35
goto_if_false @SYN5_30404
Car.CustomPlateForNextCar(128@, "NU_SK00L")

:SYN5_30404
if 
  129@ == 36
goto_if_false @SYN5_30437
Car.CustomPlateForNextCar(128@, "G4L_AVET")

:SYN5_30437
if 
  129@ == 37
goto_if_false @SYN5_30470
Car.CustomPlateForNextCar(128@, "M0J0_J0J")

:SYN5_30470
return 

:SYN5_30472
if 
  132@ == 1
goto_if_false @SYN5_30521
set_lvar_text_label 136@s = 'SYN5_AA'
set_lvar_int_to_constant 168@ = 39600
184@ = 1

:SYN5_30521
if 
  132@ == 2
goto_if_false @SYN5_30881
set_lvar_text_label 136@s = 'SYN5_BA'
set_lvar_text_label 138@s = 'SYN5_BB'
set_lvar_text_label 140@s = 'SYN5_BC'
set_lvar_text_label 142@s = 'SYN5_BD'
set_lvar_text_label 144@s = 'SYN5_BE'
set_lvar_text_label 146@s = 'SYN5_BF'
set_lvar_text_label 148@s = 'MOBRING'
set_lvar_text_label 150@s = 'SYN5_BG'
set_lvar_text_label 152@s = 'SYN5_BH'
set_lvar_text_label 154@s = 'SYN5_BJ'
set_lvar_text_label 156@s = 'SYN5_BK'
set_lvar_text_label 158@s = 'SYN5_BL'
set_lvar_text_label 160@s = 'SYN5_BM'
set_lvar_text_label 162@s = 'SYN5_BN'
set_lvar_int_to_constant 168@ = 39601
set_lvar_int_to_constant 169@ = 39602
set_lvar_int_to_constant 170@ = 39603
set_lvar_int_to_constant 171@ = 39604
set_lvar_int_to_constant 172@ = 39605
set_lvar_int_to_constant 173@ = 39606
set_lvar_int_to_constant 174@ = 20804
set_lvar_int_to_constant 175@ = 39607
set_lvar_int_to_constant 176@ = 39608
set_lvar_int_to_constant 177@ = 39609
set_lvar_int_to_constant 178@ = 39610
set_lvar_int_to_constant 179@ = 39611
set_lvar_int_to_constant 180@ = 39612
set_lvar_int_to_constant 181@ = 39613
set_lvar_int_to_lvar_int 184@ = 135@

:SYN5_30881
if 
  132@ == 3
goto_if_false @SYN5_31027
set_lvar_text_label 138@s = 'SYN5_CB'
set_lvar_text_label 140@s = 'SYN5_CC'
set_lvar_text_label 142@s = 'SYN5_CD'
set_lvar_text_label 144@s = 'SYN5_CE'
set_lvar_text_label 146@s = 'SYN5_CF'
set_lvar_int_to_constant 169@ = 39615
set_lvar_int_to_constant 170@ = 39616
set_lvar_int_to_constant 171@ = 39617
set_lvar_int_to_constant 172@ = 39618
set_lvar_int_to_constant 173@ = 39619
set_lvar_int_to_lvar_int 184@ = 135@

:SYN5_31027
if 
  132@ == 4
goto_if_false @SYN5_31173
set_lvar_text_label 136@s = 'SYN5_DA'
set_lvar_text_label 138@s = 'SYN5_DB'
set_lvar_text_label 140@s = 'SYN5_DC'
set_lvar_text_label 142@s = 'SYN5_DD'
set_lvar_text_label 144@s = 'SYN5_DE'
set_lvar_int_to_constant 168@ = 39620
set_lvar_int_to_constant 169@ = 39621
set_lvar_int_to_constant 170@ = 39622
set_lvar_int_to_constant 171@ = 39623
set_lvar_int_to_constant 172@ = 39624
set_lvar_int_to_lvar_int 184@ = 135@

:SYN5_31173
if 
  132@ == 5
goto_if_false @SYN5_31295
set_lvar_text_label 136@s = 'SYN5_EA'
set_lvar_text_label 138@s = 'SYN5_EB'
set_lvar_text_label 140@s = 'SYN5_EC'
set_lvar_text_label 142@s = 'SYN5_ED'
set_lvar_int_to_constant 168@ = 39625
set_lvar_int_to_constant 169@ = 39626
set_lvar_int_to_constant 170@ = 39627
set_lvar_int_to_constant 171@ = 39628
set_lvar_int_to_lvar_int 184@ = 135@

:SYN5_31295
if 
  132@ == 7
goto_if_false @SYN5_31585
set_lvar_text_label 136@s = 'SYN5_GZ'
set_lvar_text_label 140@s = 'SYN5_GC'
set_lvar_text_label 142@s = 'SYN5_GD'
set_lvar_text_label 144@s = 'SYN5_GE'
set_lvar_text_label 150@s = 'SYN5_GH'
set_lvar_text_label 152@s = 'SYN5_GJ'
set_lvar_text_label 154@s = 'SYN5_GK'
set_lvar_text_label 156@s = 'SYN5_GL'
set_lvar_text_label 158@s = 'SYN5_GM'
set_lvar_text_label 160@s = 'SYN5_GX'
set_lvar_text_label 162@s = 'SYN5_GW'
set_lvar_int_to_constant 168@ = 39648
set_lvar_int_to_constant 170@ = 39633
set_lvar_int_to_constant 171@ = 39634
set_lvar_int_to_constant 172@ = 39635
set_lvar_int_to_constant 175@ = 39638
set_lvar_int_to_constant 176@ = 39639
set_lvar_int_to_constant 177@ = 39640
set_lvar_int_to_constant 178@ = 39641
set_lvar_int_to_constant 179@ = 39642
set_lvar_int_to_constant 180@ = 39646
set_lvar_int_to_constant 181@ = 39645
set_lvar_int_to_lvar_int 184@ = 135@

:SYN5_31585
if 
  132@ == 8
goto_if_false @SYN5_31755
set_lvar_text_label 136@s = 'SYN5_HH'
set_lvar_text_label 138@s = 'SYN5_HA'
set_lvar_text_label 140@s = 'SYN5_HB'
set_lvar_text_label 142@s = 'SYN5_HC'
set_lvar_text_label 144@s = 'SYN5_HK'
set_lvar_text_label 146@s = 'SYN5_HL'
set_lvar_int_to_constant 168@ = 39656
set_lvar_int_to_constant 169@ = 39649
set_lvar_int_to_constant 170@ = 39650
set_lvar_int_to_constant 171@ = 39651
set_lvar_int_to_constant 172@ = 39658
set_lvar_int_to_constant 173@ = 39659
set_lvar_int_to_lvar_int 184@ = 135@

:SYN5_31755
if 
  132@ == 9
goto_if_false @SYN5_31853
set_lvar_text_label 136@s = 'SYN5_JA'
set_lvar_text_label 138@s = 'SYN5_JB'
set_lvar_text_label 140@s = 'SYN5_JC'
set_lvar_int_to_constant 168@ = 39660
set_lvar_int_to_constant 169@ = 39661
set_lvar_int_to_constant 170@ = 39662
set_lvar_int_to_lvar_int 184@ = 135@

:SYN5_31853
if 
  132@ == 10
goto_if_false @SYN5_32020
set_lvar_text_label 136@s = 'MOBRING'
set_lvar_text_label 138@s = 'SYN5_KA'
set_lvar_text_label 140@s = 'SYN5_KB'
set_lvar_text_label 142@s = 'SYN5_KC'
set_lvar_text_label 144@s = 'SYN5_KD'
set_lvar_text_label 146@s = 'SYN5_KE'
set_lvar_int_to_constant 168@ = 20804
set_lvar_int_to_constant 169@ = 39663
set_lvar_int_to_constant 170@ = 39664
set_lvar_int_to_constant 171@ = 39665
set_lvar_int_to_constant 172@ = 39666
set_lvar_int_to_constant 173@ = 39667
184@ = 6

:SYN5_32020
if 
  132@ == 11
goto_if_false @SYN5_32093
set_lvar_text_label 136@s = 'SYN5_HE'
set_lvar_text_label 138@s = 'SYN5_HF'
set_lvar_int_to_constant 168@ = 39653
set_lvar_int_to_constant 169@ = 39654
184@ = 2

:SYN5_32093
if 
  132@ == 14
goto_if_false @SYN5_32207
set_lvar_text_label 136@s = 'CESX_BA'
set_lvar_text_label 138@s = 'CESX_BB'
set_lvar_text_label 140@s = 'CESX_BC'
set_lvar_text_label 142@s = 'CESX_BD'
set_lvar_int_to_constant 168@ = 10406
set_lvar_int_to_constant 169@ = 10407
set_lvar_int_to_constant 170@ = 10408
set_lvar_int_to_constant 171@ = 10409
set_lvar_int_to_lvar_int 184@ = 135@

:SYN5_32207
set_lvar_int_to_lvar_int 187@ = 134@
185@ = 0
186@ = 0
188@ = 1
return 

:SYN5_32238
if or
  132@ == 1
  132@ == 2
  132@ == 5
  132@ == 7
  132@ == 8
  132@ == 10
goto_if_false @SYN5_32345
if 
  is_int_lvar_greater_than_int_lvar 184@ > 134@
goto_if_false @SYN5_32338
gosub @SYN5_33325
gosub @SYN5_33432
gosub @SYN5_33586
goto @SYN5_32345

:SYN5_32338
132@ = 0

:SYN5_32345
if or
  132@ == 3
  132@ == 4
goto_if_false @SYN5_32478
if 
  is_int_lvar_greater_than_int_lvar 184@ > 134@
goto_if_false @SYN5_32471
gosub @SYN5_33325
gosub @SYN5_33432
if 
  not Char.IsDead($ryder_car)
goto_if_false @SYN5_32433
gosub @SYN5_33586
goto @SYN5_32464

:SYN5_32433
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(136@(134@,16s))
185@ = 0
186@ = 0

:SYN5_32464
goto @SYN5_32478

:SYN5_32471
132@ = 0

:SYN5_32478
if 
  132@ == 9
goto_if_false @SYN5_32604
if 
  is_int_lvar_greater_than_int_lvar 184@ > 134@
goto_if_false @SYN5_32597
gosub @SYN5_33325
gosub @SYN5_33432
if 
  not Char.IsDead(67@)
goto_if_false @SYN5_32559
gosub @SYN5_33586
goto @SYN5_32590

:SYN5_32559
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(136@(134@,16s))
185@ = 0
186@ = 0

:SYN5_32590
goto @SYN5_32604

:SYN5_32597
132@ = 0

:SYN5_32604
if 
  132@ == 11
goto_if_false @SYN5_32730
if 
  is_int_lvar_greater_than_int_lvar 184@ > 134@
goto_if_false @SYN5_32723
gosub @SYN5_33325
gosub @SYN5_33432
if 
  not Char.IsDead($sweet_car)
goto_if_false @SYN5_32685
gosub @SYN5_33586
goto @SYN5_32716

:SYN5_32685
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(136@(134@,16s))
185@ = 0
186@ = 0

:SYN5_32716
goto @SYN5_32730

:SYN5_32723
132@ = 0

:SYN5_32730
if 
  87@ == 5
goto_if_false @SYN5_33323
if 
  88@ == 0
goto_if_false @SYN5_33323
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @SYN5_32792
goto @SYN5_32909

:SYN5_32792
if 
  14 > 132@
goto_if_false @SYN5_32909
if 
  is_int_lvar_greater_than_int_lvar 184@ > 134@
goto_if_false @SYN5_32836
134@ += 1

:SYN5_32836
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(136@(134@,16s))
Text.ClearPrints
set_lvar_int_to_lvar_int 189@ = 132@
set_lvar_int_to_lvar_int 190@ = 134@
132@ = 14
134@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 135@ = 134@
135@ += 1
gosub @SYN5_30472

:SYN5_32909
if 
  132@ == 14
goto_if_false @SYN5_33100
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @SYN5_33077
if 
  is_int_lvar_greater_than_int_lvar 184@ > 134@
goto_if_false @SYN5_33047
gosub @SYN5_33325
gosub @SYN5_33432
if 
  not Char.IsDead($ryder_car)
goto_if_false @SYN5_33009
gosub @SYN5_33586
goto @SYN5_33040

:SYN5_33009
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(136@(134@,16s))
185@ = 0
186@ = 0

:SYN5_33040
goto @SYN5_33070

:SYN5_33047
Text.Print('SYN5_10', 7000, 1)
132@ = 15

:SYN5_33070
goto @SYN5_33100

:SYN5_33077
Text.Print('SYN5_10', 7000, 1)
132@ = 15

:SYN5_33100
if 
  132@ == 15
goto_if_false @SYN5_33153
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @SYN5_33153
132@ = 16
134@ = 0
Text.ClearPrints

:SYN5_33153
if 
  132@ == 16
goto_if_false @SYN5_33323
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @SYN5_33268
TIMERB = 0
set_lvar_int_to_lvar_int 132@ = 189@
set_lvar_int_to_lvar_int 134@ = 190@
gosub @SYN5_30472
if 
  189@ == 0
goto_if_false @SYN5_33261
Text.PrintNow('SYN5_06', 4000, 1)
TIMERB = 0

:SYN5_33261
goto @SYN5_33323

:SYN5_33268
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(136@(134@,16s))
132@ = 14
134@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 135@ = 134@
135@ += 1
gosub @SYN5_30472

:SYN5_33323
return 

:SYN5_33325
if 
  is_int_lvar_greater_than_int_lvar 184@ > 187@
goto_if_false @SYN5_33430
if 
  185@ == 0
goto_if_false @SYN5_33387
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 168@(187@,16i))
187@ += 1
185@ = 1

:SYN5_33387
if 
  186@ == 0
goto_if_false @SYN5_33430
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 168@(187@,16i))
187@ += 1
186@ = 1

:SYN5_33430
return 

:SYN5_33432
if 
  188@ == 1
goto_if_false @SYN5_33508
if 
  185@ == 1
goto_if_false @SYN5_33508
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @SYN5_33508
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(136@(134@,16s), 4500, 1)
185@ = 2

:SYN5_33508
if 
  188@ == 2
goto_if_false @SYN5_33584
if 
  186@ == 1
goto_if_false @SYN5_33584
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @SYN5_33584
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(136@(134@,16s), 4500, 1)
186@ = 2

:SYN5_33584
return 

:SYN5_33586
if 
  185@ == 2
goto_if_false @SYN5_33649
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @SYN5_33649
Text.ClearThisPrint(136@(134@,16s))
134@ += 1
188@ = 2
185@ = 0

:SYN5_33649
if 
  186@ == 2
goto_if_false @SYN5_33712
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @SYN5_33712
Text.ClearThisPrint(136@(134@,16s))
134@ += 1
188@ = 1
186@ = 0

:SYN5_33712
return 

//-------------Mission 65---------------
// Originally: T-Bone Mendez

:DRIV2
script_name 'DRIV2'
gosub @DRIV2_47
if 
  has_deatharrest_been_executed 
goto_if_false @DRIV2_38
gosub @DRIV2_13730

:DRIV2_38
gosub @DRIV2_13812
terminate_this_script 

:DRIV2_47
Stat.RegisterMissionGiven
Text.LoadMissionText('FARLIE2')
$weapon_shop1_blip = 1
wait 0
37@ = 4
$strap4_mission_passed_once_flag = 0
119@ = 0

:DRIV2_92
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_262
123@(119@,4i) = 0
175@(119@,4i) = 0
130@(119@,4i) = 0
139@(119@,4i) = 0
143@(119@,4i) = 0
147@(119@,4i) = 0
151@(119@,4i) = 0
66@(119@,4i) = 1000
70@(119@,4i) = 1000
159@(119@,4i) = 0
62@(119@,4f) = 20.0
115@(119@,4i) = 0
119@ += 1
goto @DRIV2_92

:DRIV2_262
90@ = -2730.14
91@ = 84.24
92@ = 3.04
78@ = -2600.53
82@ = 1337.91
86@ = 5.6
79@ = -2855.52
83@ = 719.95
87@ = 26.84
80@ = -1897.94
84@ = -576.43
88@ = 22.99
81@ = -2811.49
85@ = -326.14
89@ = 5.72
93@ = -2622.49
94@ = 1406.6
95@ = 6.15
122@ = 0
127@ = 0
128@ = 0
129@ = 0
134@ = 0
135@ = 1
136@ = 2
137@ = 3
138@ = 4
163@ = 0
164@ = 1
165@ = 2
155@ = 0
156@ = 0
157@ = 0
158@ = 0
166@ = 0
75@ = -2143.27
76@ = 918.38
77@ = 79.42
167@ = 0
168@ = 0
171@ = 0
172@ = 0
173@ = 0
174@ = 0
179@ = 0
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:DRIV2_655
if 
  Camera.GetFadingStatus
goto_if_false @DRIV2_679
wait 0
goto @DRIV2_655

:DRIV2_679
Streaming.SetAreaVisible(3)
Cutscene.Load('FARL_2A')

:DRIV2_694
if 
  not Cutscene.HasLoaded
goto_if_false @DRIV2_718
wait 0
goto @DRIV2_694

:DRIV2_718
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DRIV2_727
if 
  not Cutscene.HasFinished
goto_if_false @DRIV2_751
wait 0
goto @DRIV2_727

:DRIV2_751
Camera.DoFade(0, Fade.Out)

:DRIV2_757
if 
  Camera.GetFadingStatus
goto_if_false @DRIV2_781
wait 0
goto @DRIV2_757

:DRIV2_781
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Streaming.SetAreaVisible(0)
Streaming.RequestModel(521)
Streaming.RequestModel(498)
Streaming.RequestModel(#KMB_PACKET)
Streaming.RequestModel(100)
Streaming.RequestModel(47)
Streaming.RequestModel(352)

:DRIV2_822
if or
  not Streaming.HasModelLoaded(521)
  not Streaming.HasModelLoaded(498)
  not Streaming.HasModelLoaded(#KMB_PACKET)
  not Streaming.HasModelLoaded(100)
  not Streaming.HasModelLoaded(47)
  not Streaming.HasModelLoaded(352)
goto_if_false @DRIV2_872
wait 0
goto @DRIV2_822

:DRIV2_872
Streaming.RequestAnimation("BIKES")
Streaming.RequestAnimation("MISC")

:DRIV2_889
if or
  not Streaming.HasAnimationLoaded("BIKES")
  not Streaming.HasAnimationLoaded("MISC")
goto_if_false @DRIV2_928
wait 0
goto @DRIV2_889

:DRIV2_928
Streaming.LoadScene(-2625.26, 1407.32, 5.62)
Char.SetCoordinates($stattreadstamina_ctr, -2625.26, 1407.32, 5.62)
Char.SetHeading($stattreadstamina_ctr, 224.0)
Garage.ChangeType('TBON', GarageType.ForScriptToOpenAndClose)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.SetFadingColor(0, 0, 0)
wait 500
Camera.DoFade(1500, Fade.In)
if 
  179@ == 1
goto_if_false @DRIV2_1206
34@ = Car.Create(498, 0.0, 0.0, -100.0)
184@ = Blip.AddForCar(34@)
119@ = 0

:DRIV2_1075
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_1206
38@(119@,4i) = Object.Create(#KMB_PACKET, 0.0, 0.0, -100.0)
180@(119@,4i) = Blip.AddForObject(38@(119@,4i))
54@(119@,4i) = Char.Create(PedType.Mission1, 100, 0.0, 0.0, -100.0)
58@(119@,4i) = Car.Create(521, 0.0, 0.0, -100.0)
119@ += 1
goto @DRIV2_1075

:DRIV2_1206
Path.SwitchRoadsOff(-2014.82, 181.4, -13.0, -1614.82, 581.4, 47.0)
184@ = Blip.AddForCoord(-1814.82, 381.4, 17.09)
Blip.SetCoordAppearance(184@, 1)
Text.PrintNow('DRV3_11', 10000, 0)

:DRIV2_1281
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DRIV2_1307
goto @DRIV2_13748

:DRIV2_1307
if 
  127@ <> 1
goto_if_false @DRIV2_2338
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV2_1374
36@ = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  174@ <> 1
goto_if_false @DRIV2_1374
174@ = 1

:DRIV2_1374
if and
  122@ <> 1
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1814.82, 381.4, 200.0, 200.0, False)
goto_if_false @DRIV2_1438
Blip.Remove(184@)
gosub @DRIV2_3466
122@ = 1

:DRIV2_1438
if 
  122@ == 1
goto_if_false @DRIV2_2338
121@ = Streaming.GetAreaVisible()
if 
  121@ == 0
goto_if_false @DRIV2_2249
119@ = 0

:DRIV2_1486
if and
  is_int_lvar_greater_than_int_lvar 37@ > 119@
  128@ <> 1
goto_if_false @DRIV2_1583
if 
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_1569
110@ = Char.GetHighestPriorityEvent(54@(119@,4i))
if 
  is_int_lvar_equal_to_constant 110@ == 49
goto_if_false @DRIV2_1569
128@ = 1

:DRIV2_1569
119@ += 1
goto @DRIV2_1486

:DRIV2_1583
if 
  128@ <> 1
goto_if_false @DRIV2_2249
if and
  129@ <> 1
  World.IsProjectileInArea(-1824.82, 371.4, 12.09, -1804.82, 391.4, 22.09)
goto_if_false @DRIV2_1665
129@ = 1
TIMERA = 0

:DRIV2_1665
if 
  129@ == 1
goto_if_false @DRIV2_2249
119@ = 0

:DRIV2_1690
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_2223
if 
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_2209
$x, $y, $z = Char.GetCoordinates(54@(119@,4i))
set_lvar_float_to_var_float 186@ = $x
186@ -= 3.0
set_lvar_float_to_var_float 187@ = $x
187@ += 3.0
set_lvar_float_to_var_float 188@ = $y
188@ -= 3.0
set_lvar_float_to_var_float 189@ = $y
189@ += 3.0
set_lvar_float_to_var_float 190@ = $z
190@ -= 3.0
set_lvar_float_to_var_float 191@ = $z
191@ += 3.0
if or
  World.IsExplosionInArea(ExplosionType.Grenade, 186@, 188@, 190@, 187@, 189@, 191@)
  World.IsExplosionInArea(ExplosionType.Molotov, 186@, 188@, 190@, 187@, 189@, 191@)
  World.IsExplosionInArea(ExplosionType.Rocket, 186@, 188@, 190@, 187@, 189@, 191@)
  World.IsExplosionInArea(ExplosionType.WeakRocket, 186@, 188@, 190@, 187@, 189@, 191@)
  World.IsExplosionInArea(ExplosionType.Small, 186@, 188@, 190@, 187@, 189@, 191@)
  World.IsExplosionInArea(ExplosionType.RcVehicle, 186@, 188@, 190@, 187@, 189@, 191@)
goto_if_false @DRIV2_2209
if 
  not Char.IsDead(54@)
goto_if_false @DRIV2_2019
Task.Die(54@)

:DRIV2_2019
if 
  not Char.IsDead(55@)
goto_if_false @DRIV2_2040
Task.Die(55@)

:DRIV2_2040
if 
  not Char.IsDead(56@)
goto_if_false @DRIV2_2061
Task.Die(56@)

:DRIV2_2061
if 
  not Char.IsDead(57@)
goto_if_false @DRIV2_2082
Task.Die(57@)

:DRIV2_2082
if 
  not Car.IsDead(58@)
goto_if_false @DRIV2_2103
Car.Explode(58@)

:DRIV2_2103
if 
  not Car.IsDead(59@)
goto_if_false @DRIV2_2124
Car.Explode(59@)

:DRIV2_2124
if 
  not Car.IsDead(60@)
goto_if_false @DRIV2_2145
Car.Explode(60@)

:DRIV2_2145
if 
  not Car.IsDead(61@)
goto_if_false @DRIV2_2166
Car.Explode(61@)

:DRIV2_2166
Object.Delete(38@)
Object.Delete(39@)
Object.Delete(40@)
Object.Delete(41@)
Text.PrintNow('DRV3_9', 5000, 0)
goto @DRIV2_13730

:DRIV2_2209
119@ += 1
goto @DRIV2_1690

:DRIV2_2223
if 
  TIMERA > 2000
goto_if_false @DRIV2_2249
128@ = 1

:DRIV2_2249
if or
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1814.82, 381.4, 50.0, 50.0, False)
  128@ == 1
goto_if_false @DRIV2_2338
Blip.Remove(184@)
gosub @DRIV2_10083
127@ = 1
TIMERA = 0
Text.PrintHelpForever('DRV3_H')
TIMERB = 0

:DRIV2_2338
if 
  127@ == 1
goto_if_false @DRIV2_3459
if 
  171@ <> 1
goto_if_false @DRIV2_2402
if 
  TIMERB > 12000
goto_if_false @DRIV2_2402
Text.ClearHelp
171@ = 1

:DRIV2_2402
if 
  173@ <> 1
goto_if_false @DRIV2_2642
if or
  Char.IsOnAnyBike($stattreadstamina_ctr)
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @DRIV2_2635
119@ = 0

:DRIV2_2448
if and
  is_int_lvar_greater_than_int_lvar 37@ > 119@
  173@ <> 1
goto_if_false @DRIV2_2635
if and
  Object.DoesExist(38@(119@,4i))
  123@(119@,4i) <> 1
goto_if_false @DRIV2_2621
if or
  Object.IsAttached(38@(119@,4i))
  Char.IsHoldingObject(-1, 38@(119@,4i))
goto_if_false @DRIV2_2621
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 38@(119@,4i), 10.0, 10.0, False)
goto_if_false @DRIV2_2621
Text.PrintHelpForever('DRV3_H')
173@ = 1
if 
  171@ <> 1
goto_if_false @DRIV2_2614
171@ = 1

:DRIV2_2614
TIMERB = 0

:DRIV2_2621
119@ += 1
goto @DRIV2_2448

:DRIV2_2635
goto @DRIV2_2688

:DRIV2_2642
if 
  172@ <> 1
goto_if_false @DRIV2_2688
if 
  TIMERB > 12000
goto_if_false @DRIV2_2688
Text.ClearHelp
172@ = 1

:DRIV2_2688
gosub @DRIV2_4732
gosub @DRIV2_7009
gosub @DRIV2_7578
gosub @DRIV2_7775
gosub @DRIV2_7973
if and
  155@ <> 1
  166@ <> 1
goto_if_false @DRIV2_2899
if 
  TIMERA > 280000
goto_if_false @DRIV2_2899
gosub @DRIV2_8972
155@ = 1
if or
  is_int_lvar_equal_to_int_lvar 130@ == 138@
  is_int_lvar_equal_to_int_lvar 131@ == 138@
  is_int_lvar_equal_to_int_lvar 132@ == 138@
  is_int_lvar_equal_to_int_lvar 133@ == 138@
goto_if_false @DRIV2_2899
set_lvar_int_to_lvar_int 192@ = 37@
sub_int_var_from_int_lvar 192@ -= $strap4_mission_passed_once_flag
if 
  192@ > 1
goto_if_false @DRIV2_2883
Text.PrintNow('DRV3_5', 10000, 0)
goto @DRIV2_2899

:DRIV2_2883
Text.PrintNow('DRV3_6', 10000, 0)

:DRIV2_2899
gosub @DRIV2_9143
gosub @DRIV2_8158
gosub @DRIV2_9517
gosub @DRIV2_8728
119@ = 0

:DRIV2_2934
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_3128
if 
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_3114
111@(119@,4i) = Char.GetScriptTaskStatus(54@(119@,4i), -1)
if and
  115@(119@,4i) == 0
  is_int_lvar_equal_to_constant 111@(119@,4i) == 7
goto_if_false @DRIV2_3048
Char.SetRelationship(54@(119@,4i), RelationshipType.Hate, PedType.Player1)
115@(119@,4i) = 1

:DRIV2_3048
if and
  115@(119@,4i) == 1
  not is_int_lvar_equal_to_constant 111@(119@,4i) == 7
goto_if_false @DRIV2_3114
Char.ClearAllRelationships(54@(119@,4i), RelationshipType.Hate)
Char.ClearAllRelationships(54@(119@,4i), RelationshipType.Dislike)
115@(119@,4i) = 0

:DRIV2_3114
119@ += 1
goto @DRIV2_2934

:DRIV2_3128
if and
  is_int_var_equal_to_int_lvar $strap4_mission_passed_once_flag == 37@
  166@ <> 1
goto_if_false @DRIV2_3191
185@ = Blip.AddForCoord(93@, 94@, 95@)
Text.PrintNow('DRV3_10', 7000, 0)
166@ = 1

:DRIV2_3191
if 
  166@ == 1
goto_if_false @DRIV2_3265
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 93@, 94@, 95@, 4.0, 4.0, 2.0, True)
goto_if_false @DRIV2_3265
gosub @DRIV2_12063
goto @DRIV2_13748

:DRIV2_3265
if 
  155@ == 1
goto_if_false @DRIV2_3363
gosub @DRIV2_9348
if 
  156@ == 1
goto_if_false @DRIV2_3363
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @DRIV2_3340
gosub @DRIV2_12578

:DRIV2_3340
Text.PrintNow('DRV3_7', 5000, 0)
goto @DRIV2_13730

:DRIV2_3363
gosub @DRIV2_9895
if 
  157@ == 1
goto_if_false @DRIV2_3411
Text.PrintNow('DRV3_8', 5000, 0)
goto @DRIV2_13730

:DRIV2_3411
gosub @DRIV2_9984
if 
  158@ == 1
goto_if_false @DRIV2_3459
Text.PrintNow('DRV3_9', 5000, 0)
goto @DRIV2_13730

:DRIV2_3459
goto @DRIV2_1281

:DRIV2_3466
World.ClearArea(-1814.82, 381.4, 17.09, 100.0, True)
Car.SetModelComponents(498, 0, 0)
34@ = Car.Create(498, -1814.82, 381.4, 9.96)
Car.SetHeading(34@, 33.27)
Car.PopDoor(34@, CarDoor.LeftRearDoor, False)
Car.OpenDoor(34@, CarDoor.RightRearDoor)
Car.SetProofs(34@, True, True, True, True, True)
184@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(184@, True)
58@ = Car.Create(521, -1814.86, 376.0, 15.68)
Car.SetHeading(58@, 26.65)
59@ = Car.Create(521, -1817.44, 380.33, 15.68)
Car.SetHeading(59@, 23.76)
60@ = Car.Create(521, -1818.09, 377.08, 15.68)
Car.SetHeading(60@, 32.17)
61@ = Car.Create(521, -1816.66, 374.73, 15.68)
Car.SetHeading(61@, 30.21)
119@ = 0

:DRIV2_3717
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_3783
Car.SetOnlyDamagedByPlayer(58@(119@,4i), True)
Car.SetCanBurstTires(58@(119@,4i), False)
Car.FreezePosition(58@(119@,4i), True)
119@ += 1
goto @DRIV2_3717

:DRIV2_3783
35@ = Car.Create(521, -1819.01, 386.28, 16.58)
Car.SetHeading(35@, 49.56)
Car.SetOnlyDamagedByPlayer(35@, True)
Car.SetCanBurstTires(35@, False)
54@ = Char.Create(PedType.Mission1, 100, -1811.85, 375.88, 15.68)
Char.SetHeading(54@, 27.32)
55@ = Char.CreateInsideCar(59@, PedType.Mission1, 100)
56@ = Char.CreateInsideCar(60@, PedType.Mission1, 47)
57@ = Char.CreateInsideCar(61@, PedType.Mission1, 47)
193@ = DecisionMakerChar.Copy(-1)
DecisionMakerChar.AddEventResponse(193@, 9, 251, 100.0, 100.0, 100.0, 100.0, True, False)
119@ = 0

:DRIV2_3948
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_4073
if 
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_4059
Char.SetDecisionMaker(54@(119@,4i), 193@)
Char.GiveWeapon(54@(119@,4i), WeaponType.MicroUzi, 99999)
Char.SetCanBeKnockedOffBike(54@(119@,4i), 2)
Char.SetOnlyDamagedByPlayer(54@(119@,4i), True)
Char.ClearAllRelationships(54@(119@,4i), RelationshipType.Hate)
Char.ClearAllRelationships(54@(119@,4i), RelationshipType.Dislike)

:DRIV2_4059
119@ += 1
goto @DRIV2_3948

:DRIV2_4073
119@ = 0

:DRIV2_4080
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_4246
if 
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_4193
if 
  119@ == 0
goto_if_false @DRIV2_4174
Char.SetProofs(54@(119@,4i), True, True, True, True, True)
Char.SetVisible(54@(119@,4i), False)
goto @DRIV2_4193

:DRIV2_4174
Char.SetProofs(54@(119@,4i), False, True, True, True, True)

:DRIV2_4193
if 
  not Car.IsDead(58@(119@,4i))
goto_if_false @DRIV2_4232
Car.SetProofs(58@(119@,4i), True, True, True, True, True)

:DRIV2_4232
119@ += 1
goto @DRIV2_4080

:DRIV2_4246
Car.SetProofs(35@, True, True, True, True, True)
38@ = Object.Create(#KMB_PACKET, -1812.3, 377.57, 9.34)
119@ = 0

:DRIV2_4291
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_4558
if 
  119@ <> 0
goto_if_false @DRIV2_4420
38@(119@,4i) = Object.Create(#KMB_PACKET, 0.0, 0.0, -100.0)
Object.AttachToCar(38@(119@,4i), 58@(119@,4i), 0.0, -0.9, 0.5, 0.0, 0.0, 0.0)
set_lvar_int_to_lvar_int 159@(119@,4i) = 164@
goto @DRIV2_4492

:DRIV2_4420
if 
  not Char.IsDead(54@)
goto_if_false @DRIV2_4492
Task.PickUpObject(54@, 38@, 0.0, 0.0, 0.0, 5, 16, "NULL", "NULL", 0)
set_lvar_int_to_lvar_int 159@ = 165@
Object.SetVisible(38@, False)

:DRIV2_4492
Object.SetCollision(38@(119@,4i), True)
Object.SetDynamic(38@(119@,4i), True)
Object.SetProofs(38@(119@,4i), True, True, True, True, True)
Object.SetCollisionDamageEffect(38@(119@,4i), False)
119@ += 1
goto @DRIV2_4291

:DRIV2_4558
return 

:DRIV2_4560
119@ = 0

:DRIV2_4567
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_4730
if and
  not Car.IsDead(58@(119@,4i))
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_4716
if and
  Char.IsInCar(54@(119@,4i), 58@(119@,4i))
  is_int_lvar_equal_to_int_lvar 130@(119@,4i) == 134@
goto_if_false @DRIV2_4716
Task.CarDriveToCoord(54@(119@,4i), 58@(119@,4i), 78@(119@,4f), 82@(119@,4f), 86@(119@,4f), 62@(119@,4f), DriveMode.Normal, 0, DrivingMode.AvoidCars)
set_lvar_int_to_lvar_int 130@(119@,4i) = 137@

:DRIV2_4716
119@ += 1
goto @DRIV2_4567

:DRIV2_4730
return 

:DRIV2_4732
119@ = 0

:DRIV2_4739
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_6911
if and
  Object.DoesExist(38@(119@,4i))
  123@(119@,4i) <> 1
goto_if_false @DRIV2_6897
if or
  Object.IsAttached(38@(119@,4i))
  Char.IsHoldingObject(-1, 38@(119@,4i))
goto_if_false @DRIV2_6662
if 
  Char.LocateAnyMeansObject3D($stattreadstamina_ctr, 38@(119@,4i), 2.0, 2.0, 2.0, False)
goto_if_false @DRIV2_6471
if or
  Char.IsOnAnyBike($stattreadstamina_ctr)
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @DRIV2_6471
if 
is_xbox_version 
goto_if_false @DRIV2_5686
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
  167@ <> 1
goto_if_false @DRIV2_5597
104@, 105@, 108@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, -3.0, 0.0)
106@, 107@, 108@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 3.0, 0.0)
if 
  Object.IsInAngledArea2D(38@(119@,4i), 104@, 105@, 106@, 107@, 3.0, False)
goto_if_false @DRIV2_5251
if 
  Char.IsOnAnyBike($stattreadstamina_ctr)
goto_if_false @DRIV2_5082
Task.PlayAnim($stattreadstamina_ctr, "BIKES_SNATCH_L", "BIKES", 4.0, False, False, False, False, 220)
goto @DRIV2_5244

:DRIV2_5082
96@, 97@, 98@ = Char.GetCoordinates($stattreadstamina_ctr)
42@(119@,4f), 46@(119@,4f), 50@(119@,4f) = Object.GetCoordinates(38@(119@,4i))
50@(119@,4f) += 0.25
if 
  is_float_lvar_greater_or_equal_to_float_lvar 98@ >= 50@(119@,4f)
goto_if_false @DRIV2_5209
Task.PlayAnim($stattreadstamina_ctr, "PICKUP_BOX", "MISC", 4.0, False, False, False, False, 180)
goto @DRIV2_5244

:DRIV2_5209
Task.PlayAnim($stattreadstamina_ctr, "GRAB_L", "MISC", 4.0, False, False, False, False, 180)

:DRIV2_5244
goto @DRIV2_5480

:DRIV2_5251
if 
  Char.IsOnAnyBike($stattreadstamina_ctr)
goto_if_false @DRIV2_5318
Task.PlayAnim($stattreadstamina_ctr, "BIKES_SNATCH_R", "BIKES", 4.0, False, False, False, False, 220)
goto @DRIV2_5480

:DRIV2_5318
96@, 97@, 98@ = Char.GetCoordinates($stattreadstamina_ctr)
42@(119@,4f), 46@(119@,4f), 50@(119@,4f) = Object.GetCoordinates(38@(119@,4i))
50@(119@,4f) += 0.25
if 
  is_float_lvar_greater_or_equal_to_float_lvar 98@ >= 50@(119@,4f)
goto_if_false @DRIV2_5445
Task.PlayAnim($stattreadstamina_ctr, "PICKUP_BOX", "MISC", 4.0, False, False, False, False, 180)
goto @DRIV2_5480

:DRIV2_5445
Task.PlayAnim($stattreadstamina_ctr, "GRAB_R", "MISC", 4.0, False, False, False, False, 180)

:DRIV2_5480
42@(119@,4f), 46@(119@,4f), 50@(119@,4f) = Object.GetCoordinates(38@(119@,4i))
Object.Delete(38@(119@,4i))
Blip.Remove(180@(119@,4i))
Sound.AddOneOffSound(42@(119@,4f), 46@(119@,4f), 50@(119@,4f), 65535)
Text.PrintNow('DRV3_4', 5000, 0)
123@(119@,4i) = 1
$strap4_mission_passed_once_flag += 1
goto @DRIV2_5679

:DRIV2_5597
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @DRIV2_5639
Text.PrintNow('DRV3_3', 1, 0)
168@ = 1
goto @DRIV2_5679

:DRIV2_5639
if 
  168@ == 1
goto_if_false @DRIV2_5679
Text.PrintNow('DRV3_3', 1, 0)
168@ = 1

:DRIV2_5679
goto @DRIV2_6471

:DRIV2_5686
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  167@ <> 1
goto_if_false @DRIV2_6389
104@, 105@, 108@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, -3.0, 0.0)
106@, 107@, 108@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 3.0, 0.0)
if 
  Object.IsInAngledArea2D(38@(119@,4i), 104@, 105@, 106@, 107@, 3.0, False)
goto_if_false @DRIV2_6043
if 
  Char.IsOnAnyBike($stattreadstamina_ctr)
goto_if_false @DRIV2_5874
Task.PlayAnim($stattreadstamina_ctr, "BIKES_SNATCH_L", "BIKES", 4.0, False, False, False, False, 220)
goto @DRIV2_6036

:DRIV2_5874
96@, 97@, 98@ = Char.GetCoordinates($stattreadstamina_ctr)
42@(119@,4f), 46@(119@,4f), 50@(119@,4f) = Object.GetCoordinates(38@(119@,4i))
50@(119@,4f) += 0.25
if 
  is_float_lvar_greater_or_equal_to_float_lvar 98@ >= 50@(119@,4f)
goto_if_false @DRIV2_6001
Task.PlayAnim($stattreadstamina_ctr, "PICKUP_BOX", "MISC", 4.0, False, False, False, False, 180)
goto @DRIV2_6036

:DRIV2_6001
Task.PlayAnim($stattreadstamina_ctr, "GRAB_L", "MISC", 4.0, False, False, False, False, 180)

:DRIV2_6036
goto @DRIV2_6272

:DRIV2_6043
if 
  Char.IsOnAnyBike($stattreadstamina_ctr)
goto_if_false @DRIV2_6110
Task.PlayAnim($stattreadstamina_ctr, "BIKES_SNATCH_R", "BIKES", 4.0, False, False, False, False, 220)
goto @DRIV2_6272

:DRIV2_6110
96@, 97@, 98@ = Char.GetCoordinates($stattreadstamina_ctr)
42@(119@,4f), 46@(119@,4f), 50@(119@,4f) = Object.GetCoordinates(38@(119@,4i))
50@(119@,4f) += 0.25
if 
  is_float_lvar_greater_or_equal_to_float_lvar 98@ >= 50@(119@,4f)
goto_if_false @DRIV2_6237
Task.PlayAnim($stattreadstamina_ctr, "PICKUP_BOX", "MISC", 4.0, False, False, False, False, 180)
goto @DRIV2_6272

:DRIV2_6237
Task.PlayAnim($stattreadstamina_ctr, "GRAB_R", "MISC", 4.0, False, False, False, False, 180)

:DRIV2_6272
42@(119@,4f), 46@(119@,4f), 50@(119@,4f) = Object.GetCoordinates(38@(119@,4i))
Object.Delete(38@(119@,4i))
Blip.Remove(180@(119@,4i))
Sound.AddOneOffSound(42@(119@,4f), 46@(119@,4f), 50@(119@,4f), 65535)
Text.PrintNow('DRV3_4', 5000, 0)
123@(119@,4i) = 1
$strap4_mission_passed_once_flag += 1
goto @DRIV2_6471

:DRIV2_6389
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @DRIV2_6431
Text.PrintNow('DRV3_3', 1, 0)
168@ = 1
goto @DRIV2_6471

:DRIV2_6431
if 
  168@ == 1
goto_if_false @DRIV2_6471
Text.PrintNow('DRV3_3', 1, 0)
168@ = 1

:DRIV2_6471
if 
  123@(119@,4i) <> 1
goto_if_false @DRIV2_6655
if 
  not Car.IsDead(58@(119@,4i))
goto_if_false @DRIV2_6655
if and
  Char.IsInCar($stattreadstamina_ctr, 58@(119@,4i))
  Object.IsAttached(38@(119@,4i))
goto_if_false @DRIV2_6655
42@(119@,4f), 46@(119@,4f), 50@(119@,4f) = Object.GetCoordinates(38@(119@,4i))
Object.Delete(38@(119@,4i))
Blip.Remove(180@(119@,4i))
Sound.AddOneOffSound(42@(119@,4f), 46@(119@,4f), 50@(119@,4f), 65535)
Text.PrintNow('DRV3_4', 5000, 0)
123@(119@,4i) = 1
$strap4_mission_passed_once_flag += 1

:DRIV2_6655
goto @DRIV2_6816

:DRIV2_6662
if 
  Char.IsTouchingObject($stattreadstamina_ctr, 38@(119@,4i))
goto_if_false @DRIV2_6816
if or
  Char.IsOnAnyBike($stattreadstamina_ctr)
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @DRIV2_6816
42@(119@,4f), 46@(119@,4f), 50@(119@,4f) = Object.GetCoordinates(38@(119@,4i))
Object.Delete(38@(119@,4i))
Blip.Remove(180@(119@,4i))
Sound.AddOneOffSound(42@(119@,4f), 46@(119@,4f), 50@(119@,4f), 65535)
Text.PrintNow('DRV3_4', 5000, 0)
123@(119@,4i) = 1
$strap4_mission_passed_once_flag += 1

:DRIV2_6816
if 
  123@(119@,4i) == 1
goto_if_false @DRIV2_6897
if 
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_6897
Char.GiveWeapon(54@(119@,4i), WeaponType.MicroUzi, 99999)
Task.KillCharOnFoot(54@(119@,4i), $stattreadstamina_ctr)
147@(119@,4i) = 1

:DRIV2_6897
119@ += 1
goto @DRIV2_4739

:DRIV2_6911
if 
is_xbox_version 
goto_if_false @DRIV2_6969
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @DRIV2_6955
167@ = 1
goto @DRIV2_6962

:DRIV2_6955
167@ = 0

:DRIV2_6962
goto @DRIV2_7007

:DRIV2_6969
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @DRIV2_7000
167@ = 1
goto @DRIV2_7007

:DRIV2_7000
167@ = 0

:DRIV2_7007
return 

:DRIV2_7009
119@ = 0

:DRIV2_7016
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_7576
if and
  not Car.IsDead(58@(119@,4i))
  not is_int_lvar_equal_to_int_lvar 130@(119@,4i) == 134@
  123@(119@,4i) <> 1
goto_if_false @DRIV2_7562
66@(119@,4i) = Car.GetHealth(58@(119@,4i))
if 
  Object.IsAttached(38@(119@,4i))
goto_if_false @DRIV2_7236
if 
  Char.LocateInCarCar2D($stattreadstamina_ctr, 58@(119@,4i), 2.0, 2.0, False)
goto_if_false @DRIV2_7229
set_lvar_int_to_lvar_int 74@ = 70@(119@,4i)
sub_int_lvar_from_int_lvar 74@ -= 66@(119@,4i)
if 
  74@ >= 2
goto_if_false @DRIV2_7229
Object.Detach(38@(119@,4i), 0.0, 0.0, 0.0, False)
set_lvar_int_to_lvar_int 159@(119@,4i) = 163@

:DRIV2_7229
goto @DRIV2_7546

:DRIV2_7236
if 
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_7546
if 
  not Char.IsHoldingObject(54@(119@,4i), -1)
goto_if_false @DRIV2_7546
if 
  143@(119@,4i) <> 1
goto_if_false @DRIV2_7361
if 
  Object.DoesExist(38@(119@,4i))
goto_if_false @DRIV2_7354
Task.GoToObject(54@(119@,4i), 38@(119@,4i), -1, 1.0)
143@(119@,4i) = 1

:DRIV2_7354
goto @DRIV2_7546

:DRIV2_7361
109@ = Char.GetScriptTaskStatus(54@(119@,4i), 1762)
if 
  is_int_lvar_equal_to_constant 109@ == 7
goto_if_false @DRIV2_7504
if 
  Object.DoesExist(38@(119@,4i))
goto_if_false @DRIV2_7475
Task.PickUpObject(54@(119@,4i), 38@(119@,4i), 0.0, 0.0, 0.0, 5, 1, "NULL", "NULL", 0)
set_lvar_int_to_lvar_int 159@(119@,4i) = 165@

:DRIV2_7475
143@(119@,4i) = 0
139@(119@,4i) = 0
goto @DRIV2_7546

:DRIV2_7504
if 
  not Object.DoesExist(38@(119@,4i))
goto_if_false @DRIV2_7546
143@(119@,4i) = 0
139@(119@,4i) = 0

:DRIV2_7546
set_lvar_int_to_lvar_int 70@(119@,4i) = 66@(119@,4i)

:DRIV2_7562
119@ += 1
goto @DRIV2_7016

:DRIV2_7576
return 

:DRIV2_7578
119@ = 0

:DRIV2_7585
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_7773
if 
  Object.DoesExist(38@(119@,4i))
goto_if_false @DRIV2_7759
if and
  not Object.IsAttached(38@(119@,4i))
  not Char.IsHoldingObject(-1, 38@(119@,4i))
  Object.IsStatic(38@(119@,4i))
goto_if_false @DRIV2_7715
if 
  175@(119@,4i) <> 1
goto_if_false @DRIV2_7708
Object.FreezePosition(38@(119@,4i), True)
175@(119@,4i) = 1

:DRIV2_7708
goto @DRIV2_7759

:DRIV2_7715
if 
  175@(119@,4i) == 1
goto_if_false @DRIV2_7759
Object.FreezePosition(38@(119@,4i), False)
175@(119@,4i) = 0

:DRIV2_7759
119@ += 1
goto @DRIV2_7585

:DRIV2_7773
return 

:DRIV2_7775
119@ = 0

:DRIV2_7782
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_7971
if and
  not Car.IsDead(58@(119@,4i))
  not Char.IsDead(54@(119@,4i))
  147@(119@,4i) <> 1
goto_if_false @DRIV2_7957
if and
  Char.IsInCar(54@(119@,4i), 58@(119@,4i))
  is_int_lvar_equal_to_int_lvar 130@(119@,4i) == 135@
  not Char.LocateInCar2D(54@(119@,4i), 75@, 76@, 400.0, 400.0, False)
goto_if_false @DRIV2_7957
Task.CarDriveToCoord(54@(119@,4i), 58@(119@,4i), 75@, 76@, 77@, 62@(119@,4f), DriveMode.Normal, 0, DrivingMode.AvoidCars)
set_lvar_int_to_lvar_int 130@(119@,4i) = 136@

:DRIV2_7957
119@ += 1
goto @DRIV2_7782

:DRIV2_7971
return 

:DRIV2_7973
119@ = 0

:DRIV2_7980
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_8156
if and
  not Car.IsDead(58@(119@,4i))
  not Char.IsDead(54@(119@,4i))
  147@(119@,4i) <> 1
goto_if_false @DRIV2_8142
if and
  Char.IsInCar(54@(119@,4i), 58@(119@,4i))
  is_int_lvar_equal_to_int_lvar 130@(119@,4i) == 136@
  Char.LocateInCar2D(54@(119@,4i), 75@, 76@, 200.0, 200.0, False)
goto_if_false @DRIV2_8142
Task.CarDriveWander(54@(119@,4i), 58@(119@,4i), 62@(119@,4f), DrivingMode.AvoidCars)
set_lvar_int_to_lvar_int 130@(119@,4i) = 135@

:DRIV2_8142
119@ += 1
goto @DRIV2_7980

:DRIV2_8156
return 

:DRIV2_8158
119@ = 0

:DRIV2_8165
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_8726
if and
  not Car.IsDead(58@(119@,4i))
  not Char.IsDead(54@(119@,4i))
  143@(119@,4i) <> 1
  147@(119@,4i) <> 1
goto_if_false @DRIV2_8712
if 
  not Char.IsInCar(54@(119@,4i), 58@(119@,4i))
goto_if_false @DRIV2_8320
if 
  139@(119@,4i) == 0
goto_if_false @DRIV2_8313
Task.EnterCarAsDriver(54@(119@,4i), 58@(119@,4i), -1)
139@(119@,4i) = 1

:DRIV2_8313
goto @DRIV2_8712

:DRIV2_8320
if 
  139@(119@,4i) == 1
goto_if_false @DRIV2_8712
if 
  is_int_lvar_equal_to_int_lvar 130@(119@,4i) == 135@
goto_if_false @DRIV2_8390
Task.CarDriveWander(54@(119@,4i), 58@(119@,4i), 62@(119@,4f), DrivingMode.AvoidCars)

:DRIV2_8390
if 
  is_int_lvar_equal_to_int_lvar 130@(119@,4i) == 136@
goto_if_false @DRIV2_8451
Task.CarDriveToCoord(54@(119@,4i), 58@(119@,4i), 75@, 76@, 77@, 62@(119@,4f), DriveMode.Normal, 0, DrivingMode.AvoidCars)

:DRIV2_8451
if 
  is_int_lvar_equal_to_int_lvar 130@(119@,4i) == 137@
goto_if_false @DRIV2_8524
Task.CarDriveToCoord(54@(119@,4i), 58@(119@,4i), 78@(119@,4f), 82@(119@,4f), 86@(119@,4f), 62@(119@,4f), DriveMode.Normal, 0, DrivingMode.AvoidCars)

:DRIV2_8524
if 
  is_int_lvar_equal_to_int_lvar 130@(119@,4i) == 138@
goto_if_false @DRIV2_8585
Task.CarDriveToCoord(54@(119@,4i), 58@(119@,4i), 90@, 91@, 92@, 62@(119@,4f), DriveMode.Normal, 0, DrivingMode.AvoidCars)

:DRIV2_8585
if 
  Object.DoesExist(38@(119@,4i))
goto_if_false @DRIV2_8701
if 
  Char.IsHoldingObject(54@(119@,4i), 38@(119@,4i))
goto_if_false @DRIV2_8701
Char.DropObject(54@(119@,4i), False)
Object.AttachToCar(38@(119@,4i), 58@(119@,4i), 0.0, -0.9, 0.5, 0.0, 0.0, 0.0)
set_lvar_int_to_lvar_int 159@(119@,4i) = 164@

:DRIV2_8701
139@(119@,4i) = 0

:DRIV2_8712
119@ += 1
goto @DRIV2_8165

:DRIV2_8726
return 

:DRIV2_8728
119@ = 0

:DRIV2_8735
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_8970
if and
  not Car.IsDead(58@(119@,4i))
  not Char.IsDead(54@(119@,4i))
  147@(119@,4i) == 1
goto_if_false @DRIV2_8956
if 
  151@(119@,4i) == 1
goto_if_false @DRIV2_8898
if 
  not Char.LocateAnyMeansChar2D(54@(119@,4i), $stattreadstamina_ctr, 40.0, 40.0, False)
goto_if_false @DRIV2_8891
Task.CarMission(54@(119@,4i), 58@(119@,4i), -1, CarMission.RamPlayerFaraway, 62@(119@,4f), DrivingMode.AvoidCars)
151@(119@,4i) = 0

:DRIV2_8891
goto @DRIV2_8956

:DRIV2_8898
if 
  Char.LocateAnyMeansChar2D(54@(119@,4i), $stattreadstamina_ctr, 10.0, 10.0, False)
goto_if_false @DRIV2_8956
Task.KillCharOnFoot(54@(119@,4i), $stattreadstamina_ctr)
151@(119@,4i) = 1

:DRIV2_8956
119@ += 1
goto @DRIV2_8735

:DRIV2_8970
return 

:DRIV2_8972
119@ = 0

:DRIV2_8979
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_9141
if and
  not Car.IsDead(58@(119@,4i))
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_9127
if and
  Char.IsInCar(54@(119@,4i), 58@(119@,4i))
  not is_int_lvar_equal_to_int_lvar 130@(119@,4i) == 138@
  147@(119@,4i) <> 1
goto_if_false @DRIV2_9127
Task.CarDriveToCoord(54@(119@,4i), 58@(119@,4i), 90@, 91@, 92@, 62@(119@,4f), DriveMode.Normal, 0, DrivingMode.AvoidCars)
set_lvar_int_to_lvar_int 130@(119@,4i) = 138@

:DRIV2_9127
119@ += 1
goto @DRIV2_8979

:DRIV2_9141
return 

:DRIV2_9143
119@ = 0

:DRIV2_9150
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_9346
if and
  not Car.IsDead(58@(119@,4i))
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_9332
if and
  Char.IsInCar(54@(119@,4i), 58@(119@,4i))
  is_int_lvar_equal_to_int_lvar 130@(119@,4i) == 137@
  147@(119@,4i) <> 1
  Char.LocateInCar3D(54@(119@,4i), 78@(119@,4f), 82@(119@,4f), 86@(119@,4f), 3.0, 3.0, 3.0, False)
goto_if_false @DRIV2_9332
Task.CarDriveWander(54@(119@,4i), 58@(119@,4i), 62@(119@,4f), DrivingMode.AvoidCars)
set_lvar_int_to_lvar_int 130@(119@,4i) = 135@

:DRIV2_9332
119@ += 1
goto @DRIV2_9150

:DRIV2_9346
return 

:DRIV2_9348
119@ = 0

:DRIV2_9355
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_9515
if and
  Object.DoesExist(38@(119@,4i))
  not Char.IsDead(54@(119@,4i))
  not Car.IsDead(58@(119@,4i))
goto_if_false @DRIV2_9501
if and
  Object.IsAttached(38@(119@,4i))
  Char.IsInCar(54@(119@,4i), 58@(119@,4i))
goto_if_false @DRIV2_9501
if 
  Object.Locate2D(38@(119@,4i), 90@, 91@, 20.0, 7.0, False)
goto_if_false @DRIV2_9501
156@ = 1
set_lvar_int_to_lvar_int 120@ = 119@

:DRIV2_9501
119@ += 1
goto @DRIV2_9355

:DRIV2_9515
return 

:DRIV2_9517
96@, 97@, 98@ = Char.GetCoordinates($stattreadstamina_ctr)
119@ = 0

:DRIV2_9538
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_9893
if and
  not Car.IsDead(58@(119@,4i))
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_9879
if and
  Char.IsInCar(54@(119@,4i), 58@(119@,4i))
  147@(119@,4i) <> 1
goto_if_false @DRIV2_9879
if and
  is_int_lvar_equal_to_int_lvar 130@(119@,4i) == 138@
  Car.Locate2D(58@(119@,4i), 90@, 91@, 25.0, 25.0, False)
goto_if_false @DRIV2_9695
62@(119@,4f) = 15.0
goto @DRIV2_9863

:DRIV2_9695
100@, 101@, 102@ = Car.GetCoordinates(58@(119@,4i))
99@ = Math.GetDistanceBetweenCoords3D(96@, 97@, 98@, 100@, 101@, 102@)
if 
  0.0 > 99@
goto_if_false @DRIV2_9767
99@ = 0.0

:DRIV2_9767
if 
  50.0 >= 99@
goto_if_false @DRIV2_9849
set_lvar_float_to_lvar_float 62@(119@,4f) = 99@
62@(119@,4f) *= 0.4
62@(119@,4f) *= -1.0
62@(119@,4f) += 40.0
goto @DRIV2_9863

:DRIV2_9849
62@(119@,4f) = 20.0

:DRIV2_9863
Car.SetCruiseSpeed(58@(119@,4i), 62@(119@,4f))

:DRIV2_9879
119@ += 1
goto @DRIV2_9538

:DRIV2_9893
return 

:DRIV2_9895
119@ = 0

:DRIV2_9902
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_9982
if 
  Object.DoesExist(38@(119@,4i))
goto_if_false @DRIV2_9968
if 
  Object.IsInWater(38@(119@,4i))
goto_if_false @DRIV2_9968
157@ = 1

:DRIV2_9968
119@ += 1
goto @DRIV2_9902

:DRIV2_9982
return 

:DRIV2_9984
119@ = 0

:DRIV2_9991
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_10081
if and
  Car.IsDead(58@(119@,4i))
  Object.DoesExist(38@(119@,4i))
  is_int_lvar_equal_to_int_lvar 159@(119@,4i) == 164@
goto_if_false @DRIV2_10067
Object.Delete(38@(119@,4i))
158@ = 1

:DRIV2_10067
119@ += 1
goto @DRIV2_9991

:DRIV2_10081
return 

:DRIV2_10083
World.ClearArea(-1814.82, 381.4, 17.09, 100.0, False)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV2_10164
Char.SetCoordinates($stattreadstamina_ctr, -1771.94, 336.35, 8.94)
Char.SetHeading($stattreadstamina_ctr, 49.66)

:DRIV2_10164
if 
  174@ == 1
goto_if_false @DRIV2_10228
if 
  not Car.IsDead(36@)
goto_if_false @DRIV2_10228
Car.SetCoordinates(36@, -1766.6, 330.71, 8.23)
Car.SetHeading(36@, 45.1)

:DRIV2_10228
if 
  not Char.IsDead(54@)
goto_if_false @DRIV2_10274
Char.SetVisible(54@, True)
if 
  Object.DoesExist(38@)
goto_if_false @DRIV2_10274
Object.SetVisible(38@, True)

:DRIV2_10274
119@ = 0

:DRIV2_10281
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_10345
if 
  not Car.IsDead(58@(119@,4i))
goto_if_false @DRIV2_10331
Car.FreezePosition(58@(119@,4i), False)

:DRIV2_10331
119@ += 1
goto @DRIV2_10281

:DRIV2_10345
169@ = 1
170@ = 0
skip_cutscene_start_internal @DRIV2_11193
Camera.SetFixedPosition(-1808.39, 374.18, 17.98, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1813.41, 376.31, 17.32, SwitchType.JumpCut)
if and
  not Char.IsDead(54@)
  not Car.IsDead(58@)
goto_if_false @DRIV2_10448
Task.EnterCarAsDriver(54@, 58@, -1)

:DRIV2_10448
194@ = 0

:DRIV2_10455
if and
  194@ <> 1
  not Char.IsDead(54@)
goto_if_false @DRIV2_10536
wait 0
if and
  not Char.IsDead(54@)
  not Car.IsDead(58@)
goto_if_false @DRIV2_10529
if 
  Char.IsInCar(54@, 58@)
goto_if_false @DRIV2_10529
194@ = 1

:DRIV2_10529
goto @DRIV2_10455

:DRIV2_10536
wait 1000
Path.SwitchRoadsBackToOriginal(-2014.82, 181.4, -13.0, -1614.82, 581.4, 47.0)
Camera.SetFixedPosition(-1832.36, 380.48, 18.71, 0.0, 0.0, 0.0)
if 
  not Car.IsDead(58@)
goto_if_false @DRIV2_10723
Camera.PointAtCar(58@, CameraMode.Fixed, SwitchType.JumpCut)
if and
  not Char.IsDead(54@)
  Object.DoesExist(38@)
goto_if_false @DRIV2_10723
if 
  Char.IsHoldingObject(54@, 38@)
goto_if_false @DRIV2_10677
Char.DropObject(54@, False)

:DRIV2_10677
Object.AttachToCar(38@, 58@, 0.0, -0.9, 0.5, 0.0, 0.0, 0.0)
set_lvar_int_to_lvar_int 159@ = 164@

:DRIV2_10723
if and
  not Car.IsDead(59@)
  not Char.IsDead(55@)
goto_if_false @DRIV2_10776
Task.CarDriveToCoord(55@, 59@, -1854.74, 533.22, 33.12, 63@, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:DRIV2_10776
wait 150
if and
  not Car.IsDead(60@)
  not Char.IsDead(56@)
goto_if_false @DRIV2_10834
Task.CarDriveToCoord(56@, 60@, -1854.74, 533.22, 33.12, 64@, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:DRIV2_10834
wait 150
if and
  not Car.IsDead(58@)
  not Char.IsDead(54@)
goto_if_false @DRIV2_10892
Task.CarDriveToCoord(54@, 58@, -1854.74, 533.22, 33.12, 62@, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:DRIV2_10892
wait 100
if and
  not Car.IsDead(61@)
  not Char.IsDead(57@)
goto_if_false @DRIV2_10949
Task.CarDriveToCoord(57@, 61@, -1854.74, 533.22, 33.12, 65@, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:DRIV2_10949
wait 7000
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV2_10997
Char.WarpFromCarToCoord($stattreadstamina_ctr, -1820.72, 382.73, 16.04)
goto @DRIV2_11017

:DRIV2_10997
Char.SetCoordinates($stattreadstamina_ctr, -1820.72, 382.73, 16.04)

:DRIV2_11017
Char.SetHeading($stattreadstamina_ctr, 326.45)
if 
  not Car.IsDead(35@)
goto_if_false @DRIV2_11053
Task.EnterCarAsDriver($stattreadstamina_ctr, 35@, -1)

:DRIV2_11053
Camera.SetFixedPosition(-1818.1, 380.01, 16.8, 0.0, 0.0, 0.0)
Camera.PointAtCar(35@, CameraMode.Fixed, SwitchType.JumpCut)
TIMERB = 0

:DRIV2_11101
if 
  4000 > TIMERB
goto_if_false @DRIV2_11179
wait 0
if and
  TIMERB > 0
  170@ <> 1
goto_if_false @DRIV2_11172
Text.PrintNow('DRV3_2', 10000, 0)
170@ = 1

:DRIV2_11172
goto @DRIV2_11101

:DRIV2_11179
gosub @DRIV2_4560
169@ = 0

:DRIV2_11193
skip_cutscene_end 
if 
  169@ == 1
goto_if_false @DRIV2_11662
Path.SwitchRoadsBackToOriginal(-2014.82, 181.4, -13.0, -1614.82, 581.4, 47.0)
if and
  not Char.IsDead(54@)
  not Car.IsDead(58@)
goto_if_false @DRIV2_11397
if 
  not Char.IsInCar(54@, 58@)
goto_if_false @DRIV2_11293
Char.WarpIntoCar(54@, 58@)

:DRIV2_11293
if 
  Object.DoesExist(38@)
goto_if_false @DRIV2_11397
if 
  not Object.IsAttached(38@)
goto_if_false @DRIV2_11397
if 
  Char.IsHoldingObject(54@, 38@)
goto_if_false @DRIV2_11351
Char.DropObject(54@, False)

:DRIV2_11351
Object.AttachToCar(38@, 58@, 0.0, -0.9, 0.5, 0.0, 0.0, 0.0)
set_lvar_int_to_lvar_int 159@ = 164@

:DRIV2_11397
if and
  not Car.IsDead(58@)
  not Char.IsDead(54@)
goto_if_false @DRIV2_11438
Car.SetCoordinates(58@, -1894.59, 582.43, 34.56)

:DRIV2_11438
if and
  not Car.IsDead(59@)
  not Char.IsDead(55@)
goto_if_false @DRIV2_11479
Car.SetCoordinates(59@, -1893.56, 574.34, 34.55)

:DRIV2_11479
if and
  not Car.IsDead(60@)
  not Char.IsDead(56@)
goto_if_false @DRIV2_11520
Car.SetCoordinates(60@, -1899.96, 581.25, 34.56)

:DRIV2_11520
if and
  not Car.IsDead(61@)
  not Char.IsDead(57@)
goto_if_false @DRIV2_11561
Car.SetCoordinates(61@, -1898.95, 574.08, 34.56)

:DRIV2_11561
if 
  not Car.IsDead(35@)
goto_if_false @DRIV2_11621
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV2_11613
Char.WarpFromCarToCoord($stattreadstamina_ctr, -1819.01, 386.28, 6.58)

:DRIV2_11613
Char.WarpIntoCar($stattreadstamina_ctr, 35@)

:DRIV2_11621
gosub @DRIV2_4560
if 
  170@ <> 1
goto_if_false @DRIV2_11662
Text.PrintNow('DRV3_2', 10000, 0)

:DRIV2_11662
119@ = 0

:DRIV2_11669
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_11749
if 
  Object.DoesExist(38@(119@,4i))
goto_if_false @DRIV2_11735
180@(119@,4i) = Blip.AddForObject(38@(119@,4i))
Blip.ChangeColor(180@(119@,4i), BlipColor.Red)

:DRIV2_11735
119@ += 1
goto @DRIV2_11669

:DRIV2_11749
if 
  not Car.IsDead(34@)
goto_if_false @DRIV2_11780
Car.SetProofs(34@, False, False, False, False, False)

:DRIV2_11780
119@ = 0

:DRIV2_11787
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_11898
if 
  not Char.IsDead(54@(119@,4i))
goto_if_false @DRIV2_11845
Char.SetProofs(54@(119@,4i), False, False, False, False, False)

:DRIV2_11845
if 
  not Car.IsDead(58@(119@,4i))
goto_if_false @DRIV2_11884
Car.SetProofs(58@(119@,4i), False, False, False, False, False)

:DRIV2_11884
119@ += 1
goto @DRIV2_11787

:DRIV2_11898
if 
  not Car.IsDead(35@)
goto_if_false @DRIV2_11929
Car.SetProofs(35@, False, False, False, False, False)

:DRIV2_11929
119@ = 0

:DRIV2_11936
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_12000
if 
  not Car.IsDead(58@(119@,4i))
goto_if_false @DRIV2_11986
Car.SetLoadCollisionFlag(58@(119@,4i), False)

:DRIV2_11986
119@ += 1
goto @DRIV2_11936

:DRIV2_12000
if 
  not Car.IsDead(35@)
goto_if_false @DRIV2_12023
Car.SetLoadCollisionFlag(35@, False)

:DRIV2_12023
if 
  not Car.IsDead(34@)
goto_if_false @DRIV2_12046
Car.SetLoadCollisionFlag(34@, False)

:DRIV2_12046
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
return 

:DRIV2_12063
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:DRIV2_12077
if 
  Camera.GetFadingStatus
goto_if_false @DRIV2_12101
wait 0
goto @DRIV2_12077

:DRIV2_12101
World.ClearArea(93@, 94@, 95@, 50.0, False)
Text.ClearPrints
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Hud.SwitchWidescreen(True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV2_12240
35@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetCoordinates(35@, 93@, 94@, 95@)
Car.SetHeading(35@, 340.37)
195@ = Sequence.Open()
Task.LeaveCar(-1, 35@)
Task.GoStraightToCoord(-1, -2625.96, 1417.82, 6.15, MoveState.Walk, -1)
Sequence.Close(195@)
Char.PerformSequence($stattreadstamina_ctr, 195@)
Sequence.Clear(195@)
goto @DRIV2_12293

:DRIV2_12240
Car.Delete(35@)
Char.SetCoordinates($stattreadstamina_ctr, 93@, 94@, 95@)
Char.SetHeading($stattreadstamina_ctr, 10.0)
Task.GoStraightToCoord($stattreadstamina_ctr, -2625.96, 1417.82, 6.15, MoveState.Walk, -1)

:DRIV2_12293
Camera.SetFixedPosition(-2626.02, 1403.8, 6.95, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2624.56, 1406.19, 7.03, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:DRIV2_12351
if 
  Camera.GetFadingStatus
goto_if_false @DRIV2_12375
wait 0
goto @DRIV2_12351

:DRIV2_12375
169@ = 1
skip_cutscene_start_internal @DRIV2_12401
wait 2000
169@ = 0

:DRIV2_12401
skip_cutscene_end 
if 
  169@ == 1
goto_if_false @DRIV2_12421

:DRIV2_12421
if 
  169@ <> 1
goto_if_false @DRIV2_12470
Camera.DoFade(1000, Fade.Out)

:DRIV2_12446
if 
  Camera.GetFadingStatus
goto_if_false @DRIV2_12470
wait 0
goto @DRIV2_12446

:DRIV2_12470
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -2624.28, 1410.93, 6.15)
Char.SetHeading($stattreadstamina_ctr, 194.52)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
if 
  169@ <> 1
goto_if_false @DRIV2_12569
Camera.DoFade(1000, Fade.In)

:DRIV2_12545
if 
  Camera.GetFadingStatus
goto_if_false @DRIV2_12569
wait 0
goto @DRIV2_12545

:DRIV2_12569
Player.SetControl($statbike_temp, True)
return 

:DRIV2_12578
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:DRIV2_12592
if 
  Camera.GetFadingStatus
goto_if_false @DRIV2_12616
wait 0
goto @DRIV2_12592

:DRIV2_12616
Car.MarkAsNoLongerNeeded(35@)
World.ClearArea(90@, 91@, 92@, 100.0, False)
119@ = 0

:DRIV2_12646
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_12784
if 
  not is_int_lvar_equal_to_int_lvar 119@ == 120@
goto_if_false @DRIV2_12770
Char.Delete(54@(119@,4i))
if 
  not Car.IsDead(58@(119@,4i))
goto_if_false @DRIV2_12752
if 
  not Char.IsInCar($stattreadstamina_ctr, 58@(119@,4i))
goto_if_false @DRIV2_12745
Car.Delete(58@(119@,4i))

:DRIV2_12745
goto @DRIV2_12761

:DRIV2_12752
Car.Delete(58@(119@,4i))

:DRIV2_12761
Object.Delete(38@(119@,4i))

:DRIV2_12770
119@ += 1
goto @DRIV2_12646

:DRIV2_12784
121@ = Streaming.GetAreaVisible()
96@, 97@, 98@ = Char.GetCoordinates($stattreadstamina_ctr)
103@ = Char.GetHeading($stattreadstamina_ctr)
197@ = World.GetWaterHeightAtCoords(96@, 97@, False)
196@ = World.GetGroundZFor3DCoord(96@, 97@, 98@)
if 
  is_float_lvar_greater_than_float_lvar 197@ > 196@
goto_if_false @DRIV2_12865
set_lvar_float_to_lvar_float 196@ = 197@

:DRIV2_12865
Char.SetCoordinates($stattreadstamina_ctr, -2762.82, 98.13, -100.0)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV2_12919
35@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetHeading(35@, 354.04)

:DRIV2_12919
Streaming.SetAreaVisible(0)
Streaming.RequestCollision(90@, 91@)
Streaming.LoadScene(90@, 91@, 92@)
Text.ClearHelp
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2736.43, 87.02, 4.27, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2735.57, 86.18, 4.27, SwitchType.JumpCut)
Garage.Open('TBON')
if and
  not Char.IsDead(54@(120@,4i))
  not Car.IsDead(58@(120@,4i))
goto_if_false @DRIV2_13231
Car.SetCoordinates(58@(120@,4i), -2720.92, 83.65, 3.69)
Car.SetHeading(58@(120@,4i), 85.84)
if 
  not Char.IsInCar(54@(120@,4i), 58@(120@,4i))
goto_if_false @DRIV2_13164
if 
  Char.IsInAnyCar(54@(120@,4i))
goto_if_false @DRIV2_13148
Char.WarpFromCarToCoord(54@(120@,4i), -2720.92, 83.65, -6.31)

:DRIV2_13148
Char.WarpIntoCar(54@(120@,4i), 58@(120@,4i))

:DRIV2_13164
Car.SetStraightLineDistance(58@(120@,4i), 2)
Task.CarDriveToCoord(54@(120@,4i), 58@(120@,4i), -2730.11, 65.22, 3.91, 10.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Car.SetForwardSpeed(58@(120@,4i), 7.0)

:DRIV2_13231
Car.Delete(34@)
Camera.DoFade(500, Fade.In)

:DRIV2_13243
if 
  Camera.GetFadingStatus
goto_if_false @DRIV2_13267
wait 0
goto @DRIV2_13243

:DRIV2_13267
169@ = 1
skip_cutscene_start_internal @DRIV2_13462
if 
  not Char.IsDead(54@(120@,4i))
goto_if_false @DRIV2_13319
100@, 101@, 102@ = Char.GetCoordinates(54@(120@,4i))

:DRIV2_13319
if 
  101@ > 71.36
goto_if_false @DRIV2_13406
wait 0
if 
  not Char.IsDead(54@(120@,4i))
goto_if_false @DRIV2_13389
100@, 101@, 102@ = Char.GetCoordinates(54@(120@,4i))
goto @DRIV2_13399

:DRIV2_13389
101@ = 71.36

:DRIV2_13399
goto @DRIV2_13319

:DRIV2_13406
Garage.Close('TBON')

:DRIV2_13417
if 
  not Garage.IsClosed('TBON')
goto_if_false @DRIV2_13450
wait 0
goto @DRIV2_13417

:DRIV2_13450
wait 1000
169@ = 0

:DRIV2_13462
skip_cutscene_end 
Camera.DoFade(1000, Fade.Out)

:DRIV2_13471
if 
  Camera.GetFadingStatus
goto_if_false @DRIV2_13495
wait 0
goto @DRIV2_13471

:DRIV2_13495
Char.Delete(54@(120@,4i))
Car.Delete(58@(120@,4i))
if 
  169@ == 1
goto_if_false @DRIV2_13597
if 
  not Garage.IsClosed('TBON')
goto_if_false @DRIV2_13597
Garage.Close('TBON')

:DRIV2_13564
if 
  not Garage.IsClosed('TBON')
goto_if_false @DRIV2_13597
wait 0
goto @DRIV2_13564

:DRIV2_13597
Streaming.SetAreaVisible(121@)
Streaming.RequestCollision(96@, 97@)
Streaming.LoadScene(96@, 97@, 196@)
Char.SetCoordinates($stattreadstamina_ctr, 96@, 97@, 196@)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV2_13674
35@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetHeading(35@, 103@)
goto @DRIV2_13682

:DRIV2_13674
Char.SetHeading($stattreadstamina_ctr, 103@)

:DRIV2_13682
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(1000, Fade.In)

:DRIV2_13704
if 
  Camera.GetFadingStatus
goto_if_false @DRIV2_13728
wait 0
goto @DRIV2_13704

:DRIV2_13728
return 

:DRIV2_13730
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:DRIV2_13748
$garageZ += 1
Stat.RegisterMissionPassed('FAR_2')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSS', 5000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 5000)
Stat.AwardPlayerMissionRespect(20)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
return 

:DRIV2_13812
Streaming.MarkModelAsNoLongerNeeded(498)
Streaming.MarkModelAsNoLongerNeeded(521)
Streaming.MarkModelAsNoLongerNeeded(#KMB_PACKET)
Streaming.MarkModelAsNoLongerNeeded(100)
Streaming.MarkModelAsNoLongerNeeded(47)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.RemoveAnimation("BIKES")
Streaming.RemoveAnimation("MISC")
119@ = 0

:DRIV2_13864
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_13955
Blip.Remove(180@(119@,4i))
if 
  Object.DoesExist(38@(119@,4i))
goto_if_false @DRIV2_13941
if 
  not Object.IsOnScreen(38@(119@,4i))
goto_if_false @DRIV2_13941
Object.Delete(38@(119@,4i))

:DRIV2_13941
119@ += 1
goto @DRIV2_13864

:DRIV2_13955
Blip.Remove(184@)
Blip.Remove(185@)
if 
  not Car.IsDead(34@)
goto_if_false @DRIV2_13996
Car.SetProofs(34@, False, False, False, False, False)

:DRIV2_13996
119@ = 0

:DRIV2_14003
if 
  is_int_lvar_greater_than_int_lvar 37@ > 119@
goto_if_false @DRIV2_14086
if 
  not Car.IsDead(58@(119@,4i))
goto_if_false @DRIV2_14072
Car.SetProofs(58@(119@,4i), False, False, False, False, False)
Car.FreezePosition(58@(119@,4i), False)

:DRIV2_14072
119@ += 1
goto @DRIV2_14003

:DRIV2_14086
if 
  not Car.IsDead(35@)
goto_if_false @DRIV2_14117
Car.SetProofs(35@, False, False, False, False, False)

:DRIV2_14117
DecisionMaker.Remove(193@)
Sequence.Clear(195@)
Text.ClearHelp
Path.SwitchRoadsBackToOriginal(-2014.82, 181.4, -13.0, -1614.82, 581.4, 47.0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DRIV2_14184
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)

:DRIV2_14184
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 66---------------
// Originally: Mike Toreno

:DRIV3
script_name 'DRIV3'
gosub @DRIV3_47
if 
  has_deatharrest_been_executed 
goto_if_false @DRIV3_38
gosub @DRIV3_16007

:DRIV3_38
gosub @DRIV3_16025
terminate_this_script 

:DRIV3_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
wait 0
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)
Camera.SetFadingColor(0, 0, 0)

:DRIV3_82
if 
  Camera.GetFadingStatus
goto_if_false @DRIV3_106
wait 0
goto @DRIV3_82

:DRIV3_106
Text.LoadMissionText('FARLIE3')
Streaming.SetAreaVisible(3)
Cutscene.Load('FARL_3A')

:DRIV3_132
if 
  not Cutscene.HasLoaded
goto_if_false @DRIV3_156
wait 0
goto @DRIV3_132

:DRIV3_156
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DRIV3_165
if 
  not Cutscene.HasFinished
goto_if_false @DRIV3_189
wait 0
goto @DRIV3_165

:DRIV3_189
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:DRIV3_204
if 
  Camera.GetFadingStatus
goto_if_false @DRIV3_228
wait 0
goto @DRIV3_204

:DRIV3_228
Cutscene.Clear
Streaming.SetAreaVisible(0)
127@ = Blip.AddForCoord(-2071.0, 209.0, 35.0)
Blip.Remove(127@)
80@ = -1906.656
81@ = 283.016
82@ = 41.0
104@ = 0
105@ = 0
106@ = 0
132@ = 0
107@ = 0
112@ = 0
108@ = 0
59@ = -2615.0
60@ = 1397.0
61@ = 6.0
101@ = 0
$flag_mtbike_passed_1stime = 0
$current_highest_score_kickstart = 1
103@ = 0
71@ = -1550.416
72@ = -436.4436
73@ = 6.9871
$flag_is_farlie3_running = 0
74@ = 0.0
75@ = -20.0
76@ = 0.0
100@ = 0
102@ = 0
109@ = 0
110@ = 0
89@ = 1
90@ = 0
91@ = 0
92@ = 0
93@ = 0
$7325 = 0
94@ = 0
95@ = 0
98@ = 0
111@ = 0
99@ = 0
96@ = 0
97@ = 0
if 
  Blip.DoesExist($init_ped_density)
goto_if_false @DRIV3_603
Blip.Remove($init_ped_density)

:DRIV3_603
55@ = Pickup.CreateWithAmmo(348, PickupType.OnStreetSlow, 30, -1542.022, -437.7364, 5.9258)
set_var_text_label s$7326[0] = 'FAR3_CA'
set_var_text_label s$7326[1] = 'FAR3_CB'
set_var_text_label s$7326[2] = 'FAR3_DA'
set_var_text_label s$7326[3] = 'FAR3_CC'
set_var_text_label s$7326[4] = 'FAR3_DB'
set_var_text_label s$7326[5] = 'FAR3_EA'
set_lvar_int_to_constant 133@ = 15200
set_lvar_int_to_constant 134@ = 15201
set_lvar_int_to_constant 135@ = 15210
set_lvar_int_to_constant 136@ = 15202
set_lvar_int_to_constant 137@ = 15211
set_lvar_int_to_constant 138@ = 15215
set_var_text_label s$7326[6] = 'FAR3_CF'
set_var_text_label s$7326[7] = 'FAR3_CD'
set_var_text_label s$7326[8] = 'FAR3_DC'
set_var_text_label s$7326[9] = 'FAR3_EB'
set_lvar_int_to_constant 139@ = 15205
set_lvar_int_to_constant 140@ = 15203
set_lvar_int_to_constant 141@ = 15212
set_lvar_int_to_constant 142@ = 15216
set_var_text_label s$7326[10] = 'FAR3_CJ'
set_var_text_label s$7326[11] = 'FAR3_CK'
set_var_text_label s$7326[12] = 'FAR3_DD'
set_var_text_label s$7326[13] = 'FAR3_DE'
set_var_text_label s$7326[14] = 'FAR3_EC'
set_lvar_int_to_constant 143@ = 15208
set_lvar_int_to_constant 144@ = 15209
set_lvar_int_to_constant 145@ = 15213
set_lvar_int_to_constant 146@ = 15214
set_lvar_int_to_constant 147@ = 15217
set_var_text_label s$7326[15] = 'FAR3_HA'
set_var_text_label s$7326[16] = 'FAR3_HB'
set_var_text_label s$7326[17] = 'FAR3_HC'
set_lvar_int_to_constant 148@ = 15225
set_lvar_int_to_constant 149@ = 15226
set_lvar_int_to_constant 150@ = 15227
set_var_text_label s$7326[18] = 'FAR3_JA'
set_var_text_label s$7326[19] = 'FAR3_JB'
set_var_text_label s$7326[20] = 'FAR3_JC'
set_var_text_label s$7326[21] = 'FAR3_JD'
set_var_text_label s$7326[22] = 'FAR3_JE'
set_var_text_label s$7326[23] = 'FAR3_JF'
set_var_text_label s$7326[24] = 'FAR3_JG'
set_lvar_int_to_constant 151@ = 15228
set_lvar_int_to_constant 152@ = 15229
set_lvar_int_to_constant 153@ = 15230
set_lvar_int_to_constant 154@ = 15231
set_lvar_int_to_constant 155@ = 15232
set_lvar_int_to_constant 156@ = 15233
set_lvar_int_to_constant 157@ = 15234
set_var_text_label s$7326[25] = 'FAR3_MA'
set_var_text_label s$7326[26] = 'FAR3_MB'
set_var_text_label s$7326[27] = 'FAR3_MC'
set_var_text_label s$7326[28] = 'FAR3_MD'
set_var_text_label s$7326[29] = 'FAR3_ME'
set_var_text_label s$7326[30] = 'FAR3_MF'
set_var_text_label s$7326[31] = 'FAR3_MG'
set_var_text_label s$7326[32] = 'FAR3_MH'
set_var_text_label s$7326[33] = 'FAR3_MJ'
set_var_text_label s$7326[34] = 'FAR3_MK'
set_var_text_label s$7326[35] = 'FAR3_ML'
set_var_text_label s$7326[36] = 'FAR3_MM'
set_var_text_label s$7326[37] = 'FAR3_MN'
set_var_text_label s$7326[38] = 'FAR3_MO'
set_lvar_int_to_constant 158@ = 15242
set_lvar_int_to_constant 159@ = 15243
set_lvar_int_to_constant 160@ = 15244
set_lvar_int_to_constant 161@ = 15245
set_lvar_int_to_constant 162@ = 15246
set_lvar_int_to_constant 163@ = 15247
set_lvar_int_to_constant 164@ = 15248
set_lvar_int_to_constant 165@ = 15249
set_lvar_int_to_constant 166@ = 15250
set_lvar_int_to_constant 167@ = 15251
set_lvar_int_to_constant 168@ = 15252
set_lvar_int_to_constant 169@ = 15253
set_lvar_int_to_constant 170@ = 15254
set_lvar_int_to_constant 171@ = 15255
86@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
87@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Streaming.RequestModel(352)
Streaming.RequestModel(482)
Streaming.LoadSpecialCharacter(2, 'TBONE')
Streaming.LoadAllModelsNow

:DRIV3_1527
if or
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(482)
goto_if_false @DRIV3_1563
wait 0
goto @DRIV3_1527

:DRIV3_1563
Char.SetHeading($stattreadstamina_ctr, 214.0)
Camera.SetBehindPlayer

:DRIV3_1575
wait 0
if 
  89@ == 1
goto_if_false @DRIV3_1604
gosub @DRIV3_1736

:DRIV3_1604
if 
  90@ == 1
goto_if_false @DRIV3_1629
gosub @DRIV3_6822

:DRIV3_1629
if 
  94@ == 1
goto_if_false @DRIV3_1654
gosub @DRIV3_8253

:DRIV3_1654
if 
  91@ == 1
goto_if_false @DRIV3_1679
gosub @DRIV3_11222

:DRIV3_1679
if 
  92@ == 1
goto_if_false @DRIV3_1704
goto @DRIV3_15909

:DRIV3_1704
if 
  93@ == 1
goto_if_false @DRIV3_1729
goto @DRIV3_16007

:DRIV3_1729
goto @DRIV3_1575

:DRIV3_1736
54@ = Math.RandomIntInRange(1, 4)
if 
  54@ == 1
goto_if_false @DRIV3_1833
56@ = -1303.76
57@ = -615.4308
58@ = 13.1485
62@ = -1271.832
63@ = -180.8179
64@ = 13.1443
84@ = 0.0

:DRIV3_1833
if 
  54@ == 2
goto_if_false @DRIV3_1921
56@ = -1216.233
57@ = 51.366
58@ = 13.0
62@ = -1288.832
63@ = -159.8179
64@ = 13.1443
84@ = 120.0

:DRIV3_1921
if 
  54@ == 3
goto_if_false @DRIV3_2009
56@ = -1125.319
57@ = 368.3488
58@ = 13.1329
62@ = -1319.832
63@ = -96.8179
64@ = 13.8443
84@ = 140.0

:DRIV3_2009
Streaming.RequestModel(426)

:DRIV3_2014
if 
  not Streaming.HasModelLoaded(426)
goto_if_false @DRIV3_2041
wait 0
goto @DRIV3_2014

:DRIV3_2041
38@ = Car.Create(426, -2620.0, 1398.0, 6.5)
Car.SetHeading(38@, 204.0)
114@ = Blip.AddForCar(38@)
Blip.SetAsFriendly(114@, True)
Car.SetHealth(38@, 2500)
113@ = Game.FindMaxNumberOfGroupMembers()
Game.SetScriptLimitToGangSize(113@)
Game.MakeRoomInPlayerGangForMissionPeds(2)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DRIV3_2134
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:DRIV3_2134
53@ = Char.Create(PedType.Mission2, 291, -2623.64, 1403.9, 6.2)
Char.SetGetOutUpsideDownCar(53@, False)
DecisionMakerChar.AddEventResponse(87@, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
Char.SetAccuracy(53@, 95)
Player.SetGroupToFollowAlways($statbike_temp, True)
Char.ShutUpForScriptedSpeech(53@, True)
Task.EnterCarAsPassenger(53@, 38@, -1, 0)
Char.SetDrownsInWater(53@, True)
Char.SetRelationship(53@, RelationshipType.Like, PedType.Player1)
Char.SetRelationship(53@, RelationshipType.Hate, PedType.Mission1)
Char.SetDecisionMaker(53@, 87@)
Char.GiveWeapon(53@, WeaponType.MicroUzi, 1000)
Char.SetNeverTargeted(53@, True)
Char.SetOnlyDamagedByPlayer(53@, True)
Streaming.LoadSceneInDirection(-2623.64, 1403.9, 6.2, 214.0)
Camera.DoFade(1000, Fade.In)

:DRIV3_2319
if 
  Camera.GetFadingStatus
goto_if_false @DRIV3_2343
wait 0
goto @DRIV3_2319

:DRIV3_2343
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
$flag_is_farlie3_running += 330000
Hud.DisplayTimerWithString($flag_is_farlie3_running, TimerDirection.Down, 'DRI2_9')
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15218)

:DRIV3_2391
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_2417
wait 0
goto @DRIV3_2391

:DRIV3_2417
Text.PrintNow('FAR3_FA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_2437
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_2463
wait 0
goto @DRIV3_2437

:DRIV3_2463
Text.ClearThisPrint('FAR3_FA')
Text.PrintNow('DRI2_1', 5000, 1)
Streaming.RequestModel(121)
Streaming.RequestModel(122)
Streaming.RequestModel(123)

:DRIV3_2502
if or
  not Streaming.HasModelLoaded(121)
  not Streaming.HasModelLoaded(122)
  not Streaming.HasModelLoaded(123)
goto_if_false @DRIV3_2536
wait 0
goto @DRIV3_2502

:DRIV3_2536
if 
  not Car.IsDead(38@)
goto_if_false @DRIV3_2857

:DRIV3_2552
if 
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @DRIV3_2857
wait 0
if 
  Char.IsDead(53@)
goto_if_false @DRIV3_2651
89@ = 0
90@ = 0
94@ = 0
91@ = 0
92@ = 0
93@ = 1
Text.PrintNow('DRI2_31', 5000, 1)
return 

:DRIV3_2651
if 
  Car.IsDead(38@)
goto_if_false @DRIV3_2674
goto @DRIV3_2857

:DRIV3_2674
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DRIV3_2733
89@ = 0
90@ = 0
94@ = 0
91@ = 0
92@ = 1
93@ = 0
return 

:DRIV3_2733
if 
  0 >= $flag_is_farlie3_running
goto_if_false @DRIV3_2850
89@ = 0
93@ = 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15221)

:DRIV3_2776
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_2802
wait 0
goto @DRIV3_2776

:DRIV3_2802
Text.PrintNow('FAR3_FD', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_2822
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_2848
wait 0
goto @DRIV3_2822

:DRIV3_2848
return 

:DRIV3_2850
goto @DRIV3_2552

:DRIV3_2857
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_2911
Text.ClearThisPrint('DRI2_1')
if 
  not Char.IsGroupMember(53@, $flag_cell_nation)
goto_if_false @DRIV3_2911
Group.SetMember($flag_cell_nation, 53@)

:DRIV3_2911
Blip.Remove(114@)
Streaming.MarkModelAsNoLongerNeeded(426)
TIMERB = 0
116@ = Blip.AddShortRangeSpriteForCoord(71@, 72@, 73@, RadarSprite.MapHere)
Blip.Remove(116@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DRIV3_4398

:DRIV3_2965
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 71@, 72@, 73@, 35.0, 35.0, 35.0, False)
goto_if_false @DRIV3_4398
wait 0
gosub @DRIV3_14595
if 
  93@ == 1
goto_if_false @DRIV3_3038
return 

:DRIV3_3038
if 
  109@ == 0
goto_if_false @DRIV3_4391
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV3_3080
38@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:DRIV3_3080
if and
  $7325 >= 0
  6 > $7325
goto_if_false @DRIV3_3112
gosub @DRIV3_15530

:DRIV3_3112
if 
  $7325 == 6
goto_if_false @DRIV3_3264
if 
  TIMERA > 15000
goto_if_false @DRIV3_3264
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15224)

:DRIV3_3160
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_3186
wait 0
goto @DRIV3_3160

:DRIV3_3186
Text.PrintNow('FAR3_GC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_3206
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_3232
wait 0
goto @DRIV3_3206

:DRIV3_3232
Text.ClearThisPrint('FAR3_GC')
TIMERA = 0
$7325 = 7
102@ = 0

:DRIV3_3264
if 
  $7325 == 7
goto_if_false @DRIV3_3351
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_3351
if and
  Char.IsInZone($stattreadstamina_ctr, 'DOH')
  Char.IsInZone(53@, 'DOH')
goto_if_false @DRIV3_3351
$7325 = 8
132@ = 6

:DRIV3_3351
if and
  $7325 >= 8
  12 > $7325
goto_if_false @DRIV3_3383
gosub @DRIV3_15530

:DRIV3_3383
if 
  $7325 == 12
goto_if_false @DRIV3_3535
if 
  TIMERA > 10000
goto_if_false @DRIV3_3535
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15223)

:DRIV3_3431
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_3457
wait 0
goto @DRIV3_3431

:DRIV3_3457
Text.PrintNow('FAR3_GB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_3477
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_3503
wait 0
goto @DRIV3_3477

:DRIV3_3503
Text.ClearThisPrint('FAR3_GB')
TIMERA = 0
$7325 = 13
102@ = 0

:DRIV3_3535
if 
  $7325 == 13
goto_if_false @DRIV3_3629
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_3629
if and
  Char.IsInZone($stattreadstamina_ctr, 'EASB')
  Char.IsInZone(53@, 'EASB')
goto_if_false @DRIV3_3629
$7325 = 14
132@ = 10
TIMERA = 0

:DRIV3_3629
if and
  $7325 >= 14
  19 > $7325
goto_if_false @DRIV3_3661
gosub @DRIV3_15530

:DRIV3_3661
if 
  $7325 == 19
goto_if_false @DRIV3_3806
if 
  TIMERA > 8000
goto_if_false @DRIV3_3806
TIMERA = 0
$7325 = 20
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15207)

:DRIV3_3723
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_3749
wait 0
goto @DRIV3_3723

:DRIV3_3749
Text.PrintNow('FAR3_CH', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_3769
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_3795
wait 0
goto @DRIV3_3769

:DRIV3_3795
Text.ClearThisPrint('FAR3_CH')

:DRIV3_3806
if 
  $7325 == 20
goto_if_false @DRIV3_3958
if 
  TIMERA > 8000
goto_if_false @DRIV3_3958
TIMERA = 0
$7325 = 21
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15222)

:DRIV3_3868
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_3894
wait 0
goto @DRIV3_3868

:DRIV3_3894
Text.PrintNow('FAR3_GA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_3914
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_3940
wait 0
goto @DRIV3_3914

:DRIV3_3940
Text.ClearThisPrint('FAR3_GA')
102@ = 0

:DRIV3_3958
if 
  102@ == 0
goto_if_false @DRIV3_4116
if 
  103@ == 0
goto_if_false @DRIV3_4116
if 
  200000 >= $flag_is_farlie3_running
goto_if_false @DRIV3_4116
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15219)

:DRIV3_4026
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_4052
wait 0
goto @DRIV3_4026

:DRIV3_4052
Text.PrintNow('FAR3_FB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_4072
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_4098
wait 0
goto @DRIV3_4072

:DRIV3_4098
Text.ClearThisPrint('FAR3_FB')
103@ = 1

:DRIV3_4116
if 
  102@ == 0
goto_if_false @DRIV3_4274
if 
  103@ == 1
goto_if_false @DRIV3_4274
if 
  100000 >= $flag_is_farlie3_running
goto_if_false @DRIV3_4274
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15220)

:DRIV3_4184
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_4210
wait 0
goto @DRIV3_4184

:DRIV3_4210
Text.PrintNow('FAR3_FC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_4230
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_4256
wait 0
goto @DRIV3_4230

:DRIV3_4256
Text.ClearThisPrint('FAR3_FC')
103@ = 2

:DRIV3_4274
if 
  0 >= $flag_is_farlie3_running
goto_if_false @DRIV3_4391
89@ = 0
93@ = 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15221)

:DRIV3_4317
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_4343
wait 0
goto @DRIV3_4317

:DRIV3_4343
Text.PrintNow('FAR3_FD', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_4363
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_4389
wait 0
goto @DRIV3_4363

:DRIV3_4389
return 

:DRIV3_4391
goto @DRIV3_2965

:DRIV3_4398
Text.ClearHelp
Blip.Remove(116@)
Blip.Remove(127@)
Streaming.RequestModel(463)

:DRIV3_4415
if 
  not Streaming.HasModelLoaded(463)
goto_if_false @DRIV3_4442
wait 0
goto @DRIV3_4415

:DRIV3_4442
Hud.DisplayCounterWithString($flag_mtbike_passed_1stime, CounterDisplay.Bar, 'DRI2_17')
35@ = Car.Create(482, 56@, 57@, 58@)
Car.ChangeColor(35@, 6, 0)
115@ = Blip.AddForCar(35@)
Blip.ChangeDisplay(115@, BlipDisplay.MarkerOnly)
Car.SetHeading(35@, 84@)
41@ = Char.CreateInsideCar(35@, PedType.Mission1, 123)
Char.SetProofs(41@, True, False, False, False, False)
Char.SetSuffersCriticalHits(41@, False)
Char.SetDecisionMaker(41@, 86@)
Char.SetRelationship(41@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(41@, RelationshipType.Like, PedType.Mission1)
DecisionMakerChar.AddEventResponse(86@, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
Car.SetHealth(35@, 1000)
Car.LockDoors(35@, CarLock.SkipShutDoors)
Car.SetOnlyDamagedByPlayer(35@, True)
131@ = 0

:DRIV3_4630
if 
  3 > 131@
goto_if_false @DRIV3_4812
if or
  131@ == 0
  131@ == 2
goto_if_false @DRIV3_4692
42@(131@,9i) = Char.CreateAsPassenger(35@, PedType.Mission1, 121, 131@)

:DRIV3_4692
if 
  131@ == 1
goto_if_false @DRIV3_4729
42@(131@,9i) = Char.CreateAsPassenger(35@, PedType.Mission1, 122, 131@)

:DRIV3_4729
Char.GiveWeapon(42@(131@,9i), WeaponType.MicroUzi, 1000)
Char.SetCurrentWeapon(42@(131@,9i), WeaponType.MicroUzi)
if 
  131@ == 0
goto_if_false @DRIV3_4798
Char.SetDecisionMaker(42@, 86@)
Char.SetRelationship(42@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(42@, RelationshipType.Like, PedType.Mission1)

:DRIV3_4798
131@ += 1
goto @DRIV3_4630

:DRIV3_4812
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_5062
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, 2.0, -6.0, -0.3)
36@ = Car.Create(463, 77@, 78@, 79@)
Car.SetHeading(36@, 84@)
51@ = Char.CreateInsideCar(36@, PedType.Mission1, 122)
Char.GiveWeapon(51@, WeaponType.MicroUzi, 1000)
Char.SetCurrentWeapon(51@, WeaponType.MicroUzi)
Char.SetDecisionMaker(51@, 86@)
Char.SetRelationship(51@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(51@, RelationshipType.Like, PedType.Mission1)
Car.SetStraightLineDistance(36@, 255)
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, -2.0, -6.0, -0.3)
37@ = Car.Create(463, 77@, 78@, 79@)
Car.SetHeading(37@, 84@)
52@ = Char.CreateInsideCar(37@, PedType.Mission1, 121)
Char.GiveWeapon(52@, WeaponType.MicroUzi, 1000)
Char.SetCurrentWeapon(52@, WeaponType.MicroUzi)
Char.SetDecisionMaker(52@, 86@)
Char.SetRelationship(52@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(52@, RelationshipType.Like, PedType.Mission1)
Car.SetStraightLineDistance(37@, 255)

:DRIV3_5062
if 
  $7325 <> 21
goto_if_false @DRIV3_5094
132@ = 18
$7325 = 24

:DRIV3_5094
if 
  98@ <> 1
goto_if_false @DRIV3_6806
wait 0
gosub @DRIV3_14595
if 
  93@ == 1
goto_if_false @DRIV3_5143
return 

:DRIV3_5143
if and
  $7325 >= 21
  24 > $7325
goto_if_false @DRIV3_5182
102@ = 1
gosub @DRIV3_15530

:DRIV3_5182
if and
  $7325 >= 24
  30 >= $7325
goto_if_false @DRIV3_5221
gosub @DRIV3_15530
102@ = 1

:DRIV3_5221
if 
  95@ == 0
goto_if_false @DRIV3_5294
if 
  $7325 == 31
goto_if_false @DRIV3_5287
Text.PrintNow('DRI2_18', 5000, 1)
$7325 = 32
TIMERA = 0

:DRIV3_5287
goto @DRIV3_5301

:DRIV3_5294
$7325 = 32

:DRIV3_5301
if 
  $7325 == 32
goto_if_false @DRIV3_5352
if 
  TIMERA > 7000
goto_if_false @DRIV3_5352
102@ = 0
$7325 = 33

:DRIV3_5352
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_6767
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 65@, 66@, 67@, 30.0, 30.0, 30.0, False)
  Car.Locate3D(35@, 62@, 63@, 64@, 40.0, 40.0, 40.0, False)
goto_if_false @DRIV3_5448
98@ = 1

:DRIV3_5448
if 
  95@ == 0
goto_if_false @DRIV3_5747
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 65@, 66@, 67@, 100.0, 100.0, 100.0, False)
  Car.IsOnScreen(35@)
goto_if_false @DRIV3_5747
if 
  not Char.IsDead(41@)
goto_if_false @DRIV3_5557
Task.CarDriveToCoord(41@, 35@, 62@, 63@, 64@, 25.0, DriveMode.Accurate, 0, DrivingMode.PloughThrough)

:DRIV3_5557
if 
  not Car.IsDead(36@)
goto_if_false @DRIV3_5581
Car.SetEscortCarRight(36@, 35@)

:DRIV3_5581
if 
  not Car.IsDead(37@)
goto_if_false @DRIV3_5605
Car.SetEscortCarLeft(37@, 35@)

:DRIV3_5605
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15238)

:DRIV3_5616
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_5642
wait 0
goto @DRIV3_5616

:DRIV3_5642
Text.PrintNow('FAR3_KD', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_5662
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_5688
wait 0
goto @DRIV3_5662

:DRIV3_5688
Text.ClearThisPrint('FAR3_KD')
Blip.ChangeDisplay(115@, BlipDisplay.Both)
Hud.ClearTimer($flag_is_farlie3_running)
Hud.ClearCounter($flag_mtbike_passed_1stime)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV3_5740
38@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:DRIV3_5740
95@ = 1

:DRIV3_5747
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_6085
if or
  95@ == 1
  95@ == 2
goto_if_false @DRIV3_5854
if 
  Car.Locate3D(35@, 62@, 63@, 64@, 20.0, 20.0, 20.0, False)
goto_if_false @DRIV3_5854
Car.SetCruiseSpeed(35@, 0.0)
Car.SetMission(35@, CarMission.StopForever)
95@ = 3

:DRIV3_5854
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_5884
65@, 66@, 67@ = Car.GetCoordinates(35@)

:DRIV3_5884
68@, 69@, 70@ = Char.GetCoordinates($stattreadstamina_ctr)
88@ = Math.GetDistanceBetweenCoords3D(68@, 69@, 70@, 65@, 66@, 67@)
if or
  54@ == 3
  54@ == 2
goto_if_false @DRIV3_6019
if 
  88@ > 1000.0
goto_if_false @DRIV3_5984
88@ = 1000.0
goto @DRIV3_6012

:DRIV3_5984
129@ = 1000.0
sub_float_lvar_from_float_lvar 129@ -= 88@
129@ /= 10.0

:DRIV3_6012
goto @DRIV3_6085

:DRIV3_6019
if 
  88@ > 500.0
goto_if_false @DRIV3_6057
88@ = 500.0
goto @DRIV3_6085

:DRIV3_6057
129@ = 500.0
sub_float_lvar_from_float_lvar 129@ -= 88@
129@ /= 5.0

:DRIV3_6085
if 
  129@ > 0.0
goto_if_false @DRIV3_6114
cset_var_int_to_lvar_float $flag_mtbike_passed_1stime =# 129@

:DRIV3_6114
if 
  95@ <> 1
goto_if_false @DRIV3_6651
if 
  109@ == 0
goto_if_false @DRIV3_6583
if 
  102@ == 0
goto_if_false @DRIV3_6308
if 
  103@ == 0
goto_if_false @DRIV3_6308
if 
  200000 >= $flag_is_farlie3_running
goto_if_false @DRIV3_6308
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15219)

:DRIV3_6218
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_6244
wait 0
goto @DRIV3_6218

:DRIV3_6244
Text.PrintNow('FAR3_FB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_6264
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_6290
wait 0
goto @DRIV3_6264

:DRIV3_6290
Text.ClearThisPrint('FAR3_FB')
103@ = 1

:DRIV3_6308
if 
  102@ == 0
goto_if_false @DRIV3_6466
if 
  103@ == 1
goto_if_false @DRIV3_6466
if 
  100000 >= $flag_is_farlie3_running
goto_if_false @DRIV3_6466
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15220)

:DRIV3_6376
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_6402
wait 0
goto @DRIV3_6376

:DRIV3_6402
Text.PrintNow('FAR3_FC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_6422
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_6448
wait 0
goto @DRIV3_6422

:DRIV3_6448
Text.ClearThisPrint('FAR3_FC')
103@ = 2

:DRIV3_6466
if 
  0 >= $flag_is_farlie3_running
goto_if_false @DRIV3_6583
89@ = 0
93@ = 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15221)

:DRIV3_6509
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_6535
wait 0
goto @DRIV3_6509

:DRIV3_6535
Text.PrintNow('FAR3_FD', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_6555
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_6581
wait 0
goto @DRIV3_6555

:DRIV3_6581
return 

:DRIV3_6583
if 
  95@ == 0
goto_if_false @DRIV3_6651
if 
  0 >= $flag_is_farlie3_running
goto_if_false @DRIV3_6651
89@ = 0
93@ = 1
Text.PrintNow('DRI2_5', 5000, 1)
return 

:DRIV3_6651
if 
  95@ == 1
goto_if_false @DRIV3_6760
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_6760
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 35@, 400.0, 400.0, 400.0, False)
goto_if_false @DRIV3_6760
90@ = 0
89@ = 0
93@ = 1
Text.PrintNow('DRI2_26', 5000, 1)
return 

:DRIV3_6760
goto @DRIV3_6799

:DRIV3_6767
89@ = 0
93@ = 1
Text.PrintNow('DRI2_5', 5000, 1)
return 

:DRIV3_6799
goto @DRIV3_5094

:DRIV3_6806
89@ = 0
90@ = 1
return 

:DRIV3_6822
173@ = Sequence.Open()
Task.LeaveCar(-1, 35@)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(173@)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV3_6870
38@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:DRIV3_6870
131@ = 0

:DRIV3_6877
if 
  3 > 131@
goto_if_false @DRIV3_7089
if 
  not Char.IsDead(42@(131@,9i))
goto_if_false @DRIV3_7043
124@(131@,3i) = Blip.AddForChar(42@(131@,9i))
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_7004
Char.PerformSequence(42@(131@,9i), 173@)
Char.SetDecisionMaker(42@(131@,9i), 86@)
Char.SetRelationship(42@(131@,9i), RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(42@(131@,9i), RelationshipType.Like, PedType.Mission1)
goto @DRIV3_7036

:DRIV3_7004
90@ = 0
93@ = 1
Text.PrintNow('DRI2_5', 5000, 1)
return 

:DRIV3_7036
goto @DRIV3_7075

:DRIV3_7043
90@ = 0
93@ = 1
Text.PrintNow('DRI2_5', 5000, 1)
return 

:DRIV3_7075
131@ += 1
goto @DRIV3_6877

:DRIV3_7089
if 
  Blip.DoesExist(115@)
goto_if_false @DRIV3_7112
Blip.ChangeDisplay(115@, BlipDisplay.BlipOnly)

:DRIV3_7112
if 
  not Char.IsDead(41@)
goto_if_false @DRIV3_7166
Char.SetProofs(41@, False, False, False, False, False)
Char.SetSuffersCriticalHits(41@, True)
117@ = Blip.AddForChar(41@)
Char.PerformSequence(41@, 173@)

:DRIV3_7166
Sequence.Clear(173@)
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_7539
Car.FreezePosition(35@, True)
Car.LockDoors(35@, CarLock.Locked)
if 
  not Char.IsDead(51@)
goto_if_false @DRIV3_7370
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_7370
if 
  not Char.LocateAnyMeansCar3D(51@, 35@, 40.0, 40.0, 40.0, False)
goto_if_false @DRIV3_7309
Char.SetHealth(51@, 0)
Char.MarkAsNoLongerNeeded(51@)
if 
  not Car.IsDead(36@)
goto_if_false @DRIV3_7302
Car.MarkAsNoLongerNeeded(36@)

:DRIV3_7302
goto @DRIV3_7370

:DRIV3_7309
if 
  not Car.IsDead(36@)
goto_if_false @DRIV3_7370
173@ = Sequence.Open()
Task.LeaveCar(-1, 36@)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(173@)
Char.PerformSequence(51@, 173@)
Sequence.Clear(173@)
118@ = Blip.AddForChar(51@)

:DRIV3_7370
if 
  not Char.IsDead(52@)
goto_if_false @DRIV3_7539
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_7539
if 
  not Char.LocateAnyMeansCar3D(52@, 35@, 40.0, 40.0, 40.0, False)
goto_if_false @DRIV3_7478
Char.SetHealth(52@, 0)
Char.MarkAsNoLongerNeeded(52@)
if 
  not Car.IsDead(37@)
goto_if_false @DRIV3_7471
Car.MarkAsNoLongerNeeded(37@)

:DRIV3_7471
goto @DRIV3_7539

:DRIV3_7478
if 
  not Car.IsDead(37@)
goto_if_false @DRIV3_7539
173@ = Sequence.Open()
Task.LeaveCar(-1, 37@)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(173@)
Char.PerformSequence(52@, 173@)
Sequence.Clear(173@)
119@ = Blip.AddForChar(52@)

:DRIV3_7539
Text.PrintNow('DRI2_12', 5000, 1)

:DRIV3_7555
if 
  $flag_is_farlie3_running > 0
goto_if_false @DRIV3_8216
wait 0
gosub @DRIV3_14595
if 
  93@ == 1
goto_if_false @DRIV3_7604
return 

:DRIV3_7604
if 
  109@ == 0
goto_if_false @DRIV3_7832
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 62@, 63@, 64@, 100.0, 100.0, 100.0, False)
goto_if_false @DRIV3_7832
if 
  105@ == 0
goto_if_false @DRIV3_7705
Text.PrintNow('DRI2_47', 5000, 1)
105@ = 1

:DRIV3_7705
if 
  105@ == 1
goto_if_false @DRIV3_7832
if 
  95@ == 1
goto_if_false @DRIV3_7832
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_7832
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 35@, 400.0, 400.0, 400.0, False)
goto_if_false @DRIV3_7832
90@ = 0
89@ = 0
93@ = 1
Text.PrintNow('DRI2_26', 5000, 1)
return 

:DRIV3_7832
131@ = 0

:DRIV3_7839
if 
  3 > 131@
goto_if_false @DRIV3_7920
if 
  Char.IsDead(42@(131@,9i))
goto_if_false @DRIV3_7906
if 
  Blip.DoesExist(124@(131@,3i))
goto_if_false @DRIV3_7906
Blip.Remove(124@(131@,3i))

:DRIV3_7906
131@ += 1
goto @DRIV3_7839

:DRIV3_7920
131@ = 0

:DRIV3_7927
if 
  2 > 131@
goto_if_false @DRIV3_8008
if 
  Char.IsDead(51@(131@,2i))
goto_if_false @DRIV3_7994
if 
  Blip.DoesExist(118@(131@,2i))
goto_if_false @DRIV3_7994
Blip.Remove(118@(131@,2i))

:DRIV3_7994
131@ += 1
goto @DRIV3_7927

:DRIV3_8008
if 
  Char.IsDead(41@)
goto_if_false @DRIV3_8045
if 
  Blip.DoesExist(117@)
goto_if_false @DRIV3_8045
Blip.Remove(117@)

:DRIV3_8045
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_8177
if and
  Char.IsDead(42@)
  Char.IsDead(43@)
  Char.IsDead(44@)
  Char.IsDead(41@)
goto_if_false @DRIV3_8170
Blip.Remove(124@)
Blip.Remove(125@)
Blip.Remove(126@)
Blip.Remove(117@)
if 
  Char.IsDead(51@)
goto_if_false @DRIV3_8170
Blip.Remove(118@)
if 
  Char.IsDead(52@)
goto_if_false @DRIV3_8170
Blip.Remove(119@)
90@ = 0
94@ = 1
return 

:DRIV3_8170
goto @DRIV3_8209

:DRIV3_8177
90@ = 0
93@ = 1
Text.PrintNow('DRI2_5', 5000, 1)
return 

:DRIV3_8209
goto @DRIV3_7555

:DRIV3_8216
90@ = 0
93@ = 1
Car.Explode(35@)
Text.PrintNow('DRI2_5', 5000, 1)
return 

:DRIV3_8253
if 
  99@ == 0
goto_if_false @DRIV3_9964
178@ = 0
wait 2000
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
wait 2000
Camera.DoFade(1000, Fade.Out)

:DRIV3_8306
if 
  Camera.GetFadingStatus
goto_if_false @DRIV3_8330
wait 0
goto @DRIV3_8306

:DRIV3_8330
Streaming.RequestModel(409)

:DRIV3_8335
if 
  not Streaming.HasModelLoaded(409)
goto_if_false @DRIV3_8362
wait 0
goto @DRIV3_8335

:DRIV3_8362
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_8454
Car.SetCoordinates(35@, -1321.8, -189.79, 13.46)
Car.SetHeading(35@, 60.0)
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, 6.0, 10.5, -0.2)
34@ = Car.Create(409, 77@, 78@, 79@)

:DRIV3_8454
Streaming.MarkModelAsNoLongerNeeded(409)
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_9073
if 
  Blip.DoesExist(115@)
goto_if_false @DRIV3_8498
Blip.ChangeDisplay(115@, BlipDisplay.Both)

:DRIV3_8498
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, 6.0, -6.5, -0.5)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV3_8564
Char.WarpFromCarToCoord($stattreadstamina_ctr, 77@, 78@, 79@)
goto @DRIV3_8578

:DRIV3_8564
Char.SetCoordinates($stattreadstamina_ctr, 77@, 78@, 79@)

:DRIV3_8578
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, -1.0, -3.5, -0.2)
if 
  not Car.IsDead(36@)
goto_if_false @DRIV3_8666
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, -8.0, -8.0, -0.9)
Car.SetCoordinates(36@, 77@, 78@, 79@)

:DRIV3_8666
if 
  not Car.IsDead(37@)
goto_if_false @DRIV3_8725
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, 8.0, -8.0, -0.9)
Car.SetCoordinates(37@, 77@, 78@, 79@)

:DRIV3_8725
if 
  not Car.IsDead(38@)
goto_if_false @DRIV3_8784
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, 15.0, -20.0, -0.9)
Car.SetCoordinates(38@, 77@, 78@, 79@)

:DRIV3_8784
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, -2.0, -6.5, -0.5)
Camera.SetFixedPosition(77@, 78@, 79@, 0.0, 0.0, 0.0)
Camera.PointAtCar(35@, CameraMode.Fixed, SwitchType.JumpCut)
Car.LockDoors(35@, CarLock.Unlocked)
Streaming.LoadSpecialCharacter(1, 'TORINO')

:DRIV3_8868
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @DRIV3_8894
wait 0
goto @DRIV3_8868

:DRIV3_8894
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_9066
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, -6.0, -20.0, 0.0)
40@ = Char.Create(PedType.Mission2, 290, 77@, 78@, 79@)
Char.SetDrownsInWater(40@, True)
Char.ShutUpForScriptedSpeech(40@, True)
Char.SetGetOutUpsideDownCar(40@, False)
Char.SetStayInSamePlace(40@, True)
85@ = Char.GetHeading(40@)
Char.SetRelationship(40@, RelationshipType.Like, PedType.Player1)
Char.SetDecisionMaker(40@, 87@)
Char.GiveWeapon(40@, WeaponType.MicroUzi, 1000)
Char.SetProofs(40@, False, False, True, False, False)
Char.SetNeverTargeted(40@, True)
Char.SetOnlyDamagedByPlayer(40@, True)
Task.LeaveCar(40@, 35@)
Car.SetHealth(35@, 1000)

:DRIV3_9066
goto @DRIV3_9105

:DRIV3_9073
94@ = 0
93@ = 1
Text.PrintNow('DRI2_22', 5000, 1)
return 

:DRIV3_9105
Streaming.MarkModelAsNoLongerNeeded(121)
Streaming.MarkModelAsNoLongerNeeded(122)
Streaming.MarkModelAsNoLongerNeeded(123)
Streaming.MarkModelAsNoLongerNeeded(352)
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_9191
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_9191
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DRIV3_9191
Char.SetVisible($stattreadstamina_ctr, False)
Char.SetVisible(53@, False)
Char.SetVisible(40@, False)

:DRIV3_9191
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_9398
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_9391
if 
  Char.IsGroupMember(53@, $flag_cell_nation)
goto_if_false @DRIV3_9247
Char.RemoveFromGroup(53@)

:DRIV3_9247
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, 6.0, -20.0, 0.0)
if 
  Char.IsInAnyCar(53@)
goto_if_false @DRIV3_9313
Char.WarpFromCarToCoord(53@, 77@, 78@, 79@)
goto @DRIV3_9327

:DRIV3_9313
Char.SetCoordinates(53@, 77@, 78@, 79@)

:DRIV3_9327
Char.SetStayInSamePlace(53@, True)
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, 3.0, -20.0, 0.0)
Char.SetCoordinates($stattreadstamina_ctr, 77@, 78@, 79@)
Task.TurnCharToFaceCoord($stattreadstamina_ctr, 56@, 57@, 58@)

:DRIV3_9391
goto @DRIV3_9430

:DRIV3_9398
94@ = 0
93@ = 1
Text.PrintNow('DRI2_22', 5000, 1)
return 

:DRIV3_9430
Char.Delete(42@)
Char.Delete(43@)
Char.Delete(44@)
Char.Delete(41@)
Char.Delete(51@)
Char.Delete(52@)
Char.Delete(51@)
Char.Delete(52@)
Car.Delete(36@)
Car.Delete(37@)
World.ClearArea(56@, 57@, 58@, 1500.0, True)
Cutscene.Load('FARL_3B')

:DRIV3_9509
if 
  not Cutscene.HasLoaded
goto_if_false @DRIV3_9533
wait 0
goto @DRIV3_9509

:DRIV3_9533
Camera.DoFade(1000, Fade.In)
World.ClearArea(56@, 57@, 58@, 1500.0, True)
Cutscene.Start

:DRIV3_9560
if 
  not Cutscene.HasFinished
goto_if_false @DRIV3_9602
wait 0
World.ClearArea(56@, 57@, 58@, 1500.0, True)
goto @DRIV3_9560

:DRIV3_9602
Cutscene.Clear
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_9627
Char.SetVisible(53@, True)

:DRIV3_9627
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_9650
Char.SetVisible(40@, True)

:DRIV3_9650
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DRIV3_9673
Char.SetVisible($stattreadstamina_ctr, True)

:DRIV3_9673
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_9775
Car.FreezePosition(35@, False)
Car.LockDoors(35@, CarLock.Locked)
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_9727
Task.DestroyCar(40@, 35@)

:DRIV3_9727
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_9775
if 
  Char.IsGroupMember(53@, $flag_cell_nation)
goto_if_false @DRIV3_9767
Char.RemoveFromGroup(53@)

:DRIV3_9767
Task.DestroyCar(53@, 35@)

:DRIV3_9775
Camera.DoFade(0, Fade.Out)
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_9865
77@, 78@, 79@ = Car.GetOffsetInWorldCoords(35@, 6.0, -6.5, -0.5)
56@, 57@, 58@ = Car.GetCoordinates(35@)
83@ = Math.GetHeadingFromVector2D(56@, 57@)
Task.TurnCharToFaceCoord($stattreadstamina_ctr, 56@, 57@, 58@)

:DRIV3_9865
World.ClearArea(56@, 57@, 58@, 1000.0, True)
wait 2000
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(1000, Fade.In)

:DRIV3_9899
if 
  Camera.GetFadingStatus
goto_if_false @DRIV3_9923
wait 0
goto @DRIV3_9899

:DRIV3_9923
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Text.PrintNow('DRI2_33', 10000, 1)
99@ = 1

:DRIV3_9964
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_9987
goto @DRIV3_10019

:DRIV3_9987
94@ = 0
93@ = 1
Text.PrintNow('DRI2_22', 5000, 1)
return 

:DRIV3_10019
if 
  Char.IsDead(53@)
goto_if_false @DRIV3_10095
89@ = 0
90@ = 0
94@ = 0
91@ = 0
92@ = 0
93@ = 1
Text.PrintNow('DRI2_31', 5000, 1)
return 

:DRIV3_10095
if 
  96@ == 0
goto_if_false @DRIV3_10578
if 
  Car.IsDead(35@)
goto_if_false @DRIV3_10578
96@ = 1
Blip.Remove(115@)
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
TIMERB = 0
Group.SetSeparationRange($flag_cell_nation, 30.0)
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_10237
Char.SetStayInSamePlace(40@, False)
if 
  not Char.IsGroupMember(40@, $flag_cell_nation)
goto_if_false @DRIV3_10215
Group.SetMember($flag_cell_nation, 40@)

:DRIV3_10215
Char.SetProofs(40@, False, False, False, False, False)
goto @DRIV3_10269

:DRIV3_10237
94@ = 0
93@ = 1
Text.PrintNow('DRI2_22', 5000, 1)
return 

:DRIV3_10269
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_10319
Char.SetStayInSamePlace(53@, False)
if 
  not Char.IsGroupMember(53@, $flag_cell_nation)
goto_if_false @DRIV3_10319
Group.SetMember($flag_cell_nation, 53@)

:DRIV3_10319
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_10578
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_10578
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 40@, 30.0, 30.0, 30.0, False)
goto_if_false @DRIV3_10578
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 53@, 30.0, 30.0, 30.0, False)
goto_if_false @DRIV3_10578
Text.PrintNow('DRI2_4', 5000, 1)
if 
  Car.IsInWater(35@)
goto_if_false @DRIV3_10478
Text.Print('DRI2_34', 10000, 1)
goto @DRIV3_10494

:DRIV3_10478
Text.Print('DRI2_24', 10000, 1)

:DRIV3_10494
if 
  100@ == 0
goto_if_false @DRIV3_10539
123@ = Blip.AddForCoord(-1734.05, -579.94, 15.56)
goto @DRIV3_10578

:DRIV3_10539
120@ = Blip.AddForCoord(59@, 60@, 61@)
if 
  108@ == 0
goto_if_false @DRIV3_10578
108@ = 1

:DRIV3_10578
if 
  107@ == 0
goto_if_false @DRIV3_10690
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_10690
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_10690
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV3_10690
if 
  Char.IsInAnyCar(40@)
goto_if_false @DRIV3_10690
if 
  Char.IsInAnyCar(53@)
goto_if_false @DRIV3_10690
Game.SetPoliceIgnorePlayer($statbike_temp, False)
107@ = 1

:DRIV3_10690
if 
  96@ == 1
goto_if_false @DRIV3_10762
gosub @DRIV3_14040
if 
  93@ == 1
goto_if_false @DRIV3_10735
return 

:DRIV3_10735
gosub @DRIV3_14595
if 
  93@ == 1
goto_if_false @DRIV3_10762
return 

:DRIV3_10762
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 56@, 57@, 58@, 150.0, 150.0, 150.0, False)
goto_if_false @DRIV3_10836
if 
  97@ == 0
goto_if_false @DRIV3_10829
97@ = 1

:DRIV3_10829
goto @DRIV3_10861

:DRIV3_10836
if 
  97@ == 1
goto_if_false @DRIV3_10861
97@ = 0

:DRIV3_10861
if 
  not Car.IsDead(35@)
goto_if_false @DRIV3_10891
56@, 57@, 58@ = Car.GetCoordinates(35@)

:DRIV3_10891
if 
  96@ == 1
goto_if_false @DRIV3_11220
Blip.Remove(115@)
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 53@, 30.0, 30.0, 30.0, False)
goto_if_false @DRIV3_11184
if 
  100@ == 0
goto_if_false @DRIV3_11027
if 
  not Blip.DoesExist(123@)
goto_if_false @DRIV3_11020
123@ = Blip.AddForCoord(-1734.05, -579.94, 15.56)
Text.PrintNow('DRI2_34', 5000, 1)

:DRIV3_11020
goto @DRIV3_11098

:DRIV3_11027
if 
  not Blip.DoesExist(120@)
goto_if_false @DRIV3_11098
120@ = Blip.AddForCoord(59@, 60@, 61@)
Text.PrintNow('DRI2_25', 5000, 1)
if 
  108@ == 0
goto_if_false @DRIV3_11098
108@ = 1

:DRIV3_11098
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_11141
if 
  not Char.IsGroupMember(40@, $flag_cell_nation)
goto_if_false @DRIV3_11141
Group.SetMember($flag_cell_nation, 40@)

:DRIV3_11141
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_11184
if 
  not Char.IsGroupMember(53@, $flag_cell_nation)
goto_if_false @DRIV3_11184
Group.SetMember($flag_cell_nation, 53@)

:DRIV3_11184
Car.MarkAsNoLongerNeeded(34@)
Car.MarkAsNoLongerNeeded(38@)
Streaming.MarkModelAsNoLongerNeeded(482)
Streaming.MarkModelAsNoLongerNeeded(409)
91@ = 1
94@ = 0
return 

:DRIV3_11220
return 

:DRIV3_11222
gosub @DRIV3_14040
if 
  93@ == 1
goto_if_false @DRIV3_11249
return 

:DRIV3_11249
gosub @DRIV3_14595
if 
  93@ == 1
goto_if_false @DRIV3_11276
return 

:DRIV3_11276
if 
  100@ == 1
goto_if_false @DRIV3_11301
gosub @DRIV3_13426

:DRIV3_11301
if 
  107@ == 0
goto_if_false @DRIV3_11413
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_11413
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_11413
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV3_11413
if 
  Char.IsInAnyCar(40@)
goto_if_false @DRIV3_11413
if 
  Char.IsInAnyCar(53@)
goto_if_false @DRIV3_11413
Game.SetPoliceIgnorePlayer($statbike_temp, False)
107@ = 1

:DRIV3_11413
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_11896
if 
  110@ == 0
goto_if_false @DRIV3_11896
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV3_11889
if 
  112@ == 0
goto_if_false @DRIV3_11882
38@ = Char.StoreCarIsIn($stattreadstamina_ctr)
39@ = Car.GetMaximumNumberOfPassengers(38@)
if 
  2 > 39@
goto_if_false @DRIV3_11875
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
if 
  111@ == 0
goto_if_false @DRIV3_11627
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15241)

:DRIV3_11544
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_11570
wait 0
goto @DRIV3_11544

:DRIV3_11570
Text.PrintNow('FAR3_LC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_11590
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_11616
wait 0
goto @DRIV3_11590

:DRIV3_11616
Text.ClearThisPrint('FAR3_LC')

:DRIV3_11627
if 
  111@ == 1
goto_if_false @DRIV3_11735
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15239)

:DRIV3_11652
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_11678
wait 0
goto @DRIV3_11652

:DRIV3_11678
Text.PrintNow('FAR3_LA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_11698
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_11724
wait 0
goto @DRIV3_11698

:DRIV3_11724
Text.ClearThisPrint('FAR3_LA')

:DRIV3_11735
if 
  111@ == 2
goto_if_false @DRIV3_11843
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15240)

:DRIV3_11760
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_11786
wait 0
goto @DRIV3_11760

:DRIV3_11786
Text.PrintNow('FAR3_LB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_11806
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_11832
wait 0
goto @DRIV3_11806

:DRIV3_11832
Text.ClearThisPrint('FAR3_LB')

:DRIV3_11843
111@ += 1
if 
  111@ >= 3
goto_if_false @DRIV3_11875
111@ = 0

:DRIV3_11875
112@ = 1

:DRIV3_11882
goto @DRIV3_11896

:DRIV3_11889
112@ = 0

:DRIV3_11896
if 
  100@ == 0
goto_if_false @DRIV3_12039
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1734.05, -579.94, 15.56, 20.0, 20.0, 20.0, False)
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 62@, 63@, 64@, 600.0, 600.0, 600.0, False)
goto_if_false @DRIV3_12039
100@ = 1
if 
  not Player.IsWantedLevelGreater($statbike_temp, 3)
goto_if_false @DRIV3_12025
Player.AlterWantedLevelNoDrop($statbike_temp, 3)

:DRIV3_12025
Game.SetPoliceIgnorePlayer($statbike_temp, False)
107@ = 1

:DRIV3_12039
if 
  110@ == 0
goto_if_false @DRIV3_13424
if 
  109@ == 0
goto_if_false @DRIV3_13424
if 
  100@ == 0
goto_if_false @DRIV3_12349
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1734.05, -579.94, 15.56, 20.0, 20.0, 20.0, False)
goto_if_false @DRIV3_12301
if 
  Blip.DoesExist(123@)
goto_if_false @DRIV3_12301
Blip.Remove(123@)
if 
  not Player.IsWantedLevelGreater($statbike_temp, 3)
goto_if_false @DRIV3_12187
Player.AlterWantedLevelNoDrop($statbike_temp, 3)

:DRIV3_12187
128@ = Blip.AddSpriteForCoord(80@, 81@, 82@, RadarSprite.Spray)
Text.Print('DRI2_46', 5000, 1)
104@ = 1
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_12260
Char.ClearRelationship(40@, RelationshipType.Like, PedType.Cop)
Char.SetRelationship(40@, RelationshipType.Hate, PedType.Cop)

:DRIV3_12260
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_12294
Char.ClearRelationship(53@, RelationshipType.Like, PedType.Cop)
Char.SetRelationship(53@, RelationshipType.Hate, PedType.Cop)

:DRIV3_12294
100@ = 1

:DRIV3_12301
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1734.05, -579.94, 15.56, 4.0, 4.0, 4.0, True)
goto_if_false @DRIV3_12349

:DRIV3_12349
if 
  108@ == 1
goto_if_false @DRIV3_13424
if 
  100@ == 1
goto_if_false @DRIV3_12555
if and
  $7325 >= 33
  47 > $7325
goto_if_false @DRIV3_12555
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DRIV3_12555
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_12555
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_12555
if 
  Char.IsInAnyCar(53@)
goto_if_false @DRIV3_12555
if 
  Char.IsInAnyCar(40@)
goto_if_false @DRIV3_12555
if 
  $7325 == 33
goto_if_false @DRIV3_12548
132@ = 25
if 
  TIMERA > 10000
goto_if_false @DRIV3_12541
gosub @DRIV3_15530

:DRIV3_12541
goto @DRIV3_12555

:DRIV3_12548
gosub @DRIV3_15530

:DRIV3_12555
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 59@, 60@, 61@, 4.0, 4.0, 4.0, True)
goto_if_false @DRIV3_13424
91@ = 0
92@ = 1
178@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
TIMERA = 0
TIMERB = 0

:DRIV3_12643
if 
  8000 > TIMERA
goto_if_false @DRIV3_13394
wait 0
if 
  178@ == 0
goto_if_false @DRIV3_12874
77@, 78@, 79@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 3.0, 8.0, 0.4)
Camera.SetFixedPosition(77@, 78@, 79@, 0.0, 0.0, 0.0)
Camera.PointAtChar($stattreadstamina_ctr, CameraMode.Fixed, SwitchType.JumpCut)
World.ClearArea(59@, 60@, 61@, 100.0, True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15257)

:DRIV3_12777
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_12803
wait 0
goto @DRIV3_12777

:DRIV3_12803
Text.PrintNow('FAR3_NA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_12823
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_12849
wait 0
goto @DRIV3_12823

:DRIV3_12849
Text.ClearThisPrint('FAR3_NA')
178@ = 1
TIMERB = 0

:DRIV3_12874
if 
  178@ == 1
goto_if_false @DRIV3_13144
if 
  TIMERB > 500
goto_if_false @DRIV3_13144
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_13144
77@, 78@, 79@ = Char.GetOffsetInWorldCoords(40@, 3.0, -2.0, 0.5)
Camera.SetFixedPosition(77@, 78@, 79@, 0.0, 0.0, 0.0)
Camera.PointAtChar(40@, CameraMode.Fixed, SwitchType.JumpCut)
if 
  Char.IsGroupMember(40@, $flag_cell_nation)
goto_if_false @DRIV3_13015
Char.RemoveFromGroup(40@)

:DRIV3_13015
if 
  Char.IsInAnyCar(40@)
goto_if_false @DRIV3_13036
Task.LeaveAnyCar(40@)

:DRIV3_13036
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 15258)

:DRIV3_13047
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_13073
wait 0
goto @DRIV3_13047

:DRIV3_13073
Text.PrintNow('FAR3_NB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:DRIV3_13093
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_13119
wait 0
goto @DRIV3_13093

:DRIV3_13119
Text.ClearThisPrint('FAR3_NB')
TIMERB = 0
178@ = 2

:DRIV3_13144
if 
  178@ == 2
goto_if_false @DRIV3_13296
if 
  TIMERB > 500
goto_if_false @DRIV3_13296
178@ = 3
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_13228
Task.GoStraightToCoord(40@, -2624.57, 1410.46, 6.5, MoveState.Walk, -1)

:DRIV3_13228
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_13296
if 
  Char.IsGroupMember(53@, $flag_cell_nation)
goto_if_false @DRIV3_13268
Char.RemoveFromGroup(53@)

:DRIV3_13268
if 
  Char.IsInAnyCar(53@)
goto_if_false @DRIV3_13296
Task.LeaveAnyCar(53@)
TIMERB = 0

:DRIV3_13296
if 
  178@ == 3
goto_if_false @DRIV3_13387
if 
  TIMERB > 200
goto_if_false @DRIV3_13387
178@ = 4
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_13380
Task.GoStraightToCoord(53@, -2625.57, 1409.46, 6.5, MoveState.Walk, -1)

:DRIV3_13380
TIMERB = 0

:DRIV3_13387
goto @DRIV3_12643

:DRIV3_13394
Char.Delete(40@)
Char.Delete(53@)
Car.MarkAsNoLongerNeeded(38@)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)

:DRIV3_13424
return 

:DRIV3_13426
if 
  100@ == 1
goto_if_false @DRIV3_14038
if 
  104@ == 0
goto_if_false @DRIV3_13704
if and
  110@ == 0
  109@ == 0
goto_if_false @DRIV3_13704
if 
  Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @DRIV3_13704
104@ = 1
if 
  not Blip.DoesExist(128@)
goto_if_false @DRIV3_13560
128@ = Blip.AddSpriteForCoord(80@, 81@, 82@, RadarSprite.Spray)
Text.Print('DRI2_46', 5000, 1)

:DRIV3_13560
if 
  Blip.DoesExist(123@)
goto_if_false @DRIV3_13581
Blip.Remove(123@)

:DRIV3_13581
if 
  Blip.DoesExist(120@)
goto_if_false @DRIV3_13602
Blip.Remove(120@)

:DRIV3_13602
DecisionMakerChar.AddEventResponse(87@, 36, 1022, 0.0, 100.0, 0.0, 0.0, True, False)
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_13670
Char.SetRelationship(40@, RelationshipType.Hate, PedType.Cop)
Char.ClearRelationship(40@, RelationshipType.Like, PedType.Cop)

:DRIV3_13670
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_13704
Char.SetRelationship(53@, RelationshipType.Hate, PedType.Cop)
Char.ClearRelationship(53@, RelationshipType.Like, PedType.Cop)

:DRIV3_13704
if 
  104@ == 1
goto_if_false @DRIV3_14038
if 
  not Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @DRIV3_14038
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_13837
Char.ClearRelationship(40@, RelationshipType.Hate, PedType.Cop)
if 
  Char.IsGroupMember(40@, $flag_cell_nation)
goto_if_false @DRIV3_13789
Char.RemoveFromGroup(40@)

:DRIV3_13789
Char.ClearTasks(40@)
if 
  not Char.IsGroupMember(40@, $flag_cell_nation)
goto_if_false @DRIV3_13828
Group.SetMember($flag_cell_nation, 40@)
Group.SetFollowStatus($flag_cell_nation, True)

:DRIV3_13828
Char.SetRelationship(40@, RelationshipType.Like, PedType.Cop)

:DRIV3_13837
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_13925
Char.ClearRelationship(53@, RelationshipType.Hate, PedType.Cop)
if 
  Char.IsGroupMember(53@, $flag_cell_nation)
goto_if_false @DRIV3_13886
Char.RemoveFromGroup(53@)

:DRIV3_13886
Char.ClearTasks(53@)
if 
  not Char.IsGroupMember(53@, $flag_cell_nation)
goto_if_false @DRIV3_13925
Group.SetMember($flag_cell_nation, 53@)
Group.SetFollowStatus($flag_cell_nation, True)

:DRIV3_13925
DecisionMakerChar.ClearEventResponse(87@, 36)
104@ = 0
TIMERA = 0
if 
  not Blip.DoesExist(120@)
goto_if_false @DRIV3_14017
120@ = Blip.AddForCoord(59@, 60@, 61@)
Text.PrintNow('DRI2_25', 5000, 1)
if 
  108@ == 0
goto_if_false @DRIV3_14017
108@ = 1

:DRIV3_14017
if 
  Blip.DoesExist(128@)
goto_if_false @DRIV3_14038
Blip.Remove(128@)

:DRIV3_14038
return 

:DRIV3_14040
if 
  not Char.IsDead(40@)
goto_if_false @DRIV3_14554
if 
  110@ == 0
goto_if_false @DRIV3_14194
if 
  not Char.IsGroupMember(40@, $flag_cell_nation)
goto_if_false @DRIV3_14194
Text.PrintNow('DRI2_3', 5000, 1)
if 
  Blip.DoesExist(120@)
goto_if_false @DRIV3_14130
Blip.Remove(120@)

:DRIV3_14130
if 
  Blip.DoesExist(123@)
goto_if_false @DRIV3_14151
Blip.Remove(123@)

:DRIV3_14151
if 
  Blip.DoesExist(127@)
goto_if_false @DRIV3_14172
Blip.Remove(127@)

:DRIV3_14172
121@ = Blip.AddForChar(40@)
Blip.SetAsFriendly(121@, True)
110@ = 1

:DRIV3_14194
if 
  110@ == 1
goto_if_false @DRIV3_14547
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 40@, 8.0, 8.0, 8.0, False)
goto_if_false @DRIV3_14547
if 
  not Char.IsGroupMember(40@, $flag_cell_nation)
goto_if_false @DRIV3_14275
Group.SetMember($flag_cell_nation, 40@)

:DRIV3_14275
110@ = 0
Blip.Remove(121@)
if 
  109@ == 0
goto_if_false @DRIV3_14547
if 
  100@ == 1
goto_if_false @DRIV3_14495
if 
  104@ == 0
goto_if_false @DRIV3_14419
if 
  not Blip.DoesExist(120@)
goto_if_false @DRIV3_14412
120@ = Blip.AddForCoord(59@, 60@, 61@)
Text.PrintNow('DRI2_25', 5000, 1)
if 
  108@ == 0
goto_if_false @DRIV3_14412
108@ = 1

:DRIV3_14412
goto @DRIV3_14488

:DRIV3_14419
if 
  not Blip.DoesExist(128@)
goto_if_false @DRIV3_14451
128@ = Blip.AddSpriteForCoord(80@, 81@, 82@, RadarSprite.Spray)

:DRIV3_14451
Text.PrintNow('DRI2_46', 5000, 1)
if 
  Blip.DoesExist(123@)
goto_if_false @DRIV3_14488
Blip.Remove(123@)

:DRIV3_14488
goto @DRIV3_14547

:DRIV3_14495
if 
  not Blip.DoesExist(123@)
goto_if_false @DRIV3_14531
123@ = Blip.AddForCoord(-1734.05, -579.94, 15.56)

:DRIV3_14531
Text.PrintNow('DRI2_34', 5000, 1)

:DRIV3_14547
goto @DRIV3_14593

:DRIV3_14554
94@ = 0
94@ = 0
93@ = 1
Text.PrintNow('DRI2_22', 5000, 1)
return 

:DRIV3_14593
return 

:DRIV3_14595
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_15480
if 
  109@ == 0
goto_if_false @DRIV3_14770
if 
  not Char.IsGroupMember(53@, $flag_cell_nation)
goto_if_false @DRIV3_14770
Text.PrintNow('DRI2_32', 5000, 1)
if 
  Blip.DoesExist(120@)
goto_if_false @DRIV3_14685
Blip.Remove(120@)

:DRIV3_14685
if 
  Blip.DoesExist(127@)
goto_if_false @DRIV3_14706
Blip.Remove(127@)

:DRIV3_14706
if 
  Blip.DoesExist(123@)
goto_if_false @DRIV3_14727
Blip.Remove(123@)

:DRIV3_14727
if 
  Blip.DoesExist(116@)
goto_if_false @DRIV3_14748
Blip.Remove(116@)

:DRIV3_14748
122@ = Blip.AddForChar(53@)
Blip.SetAsFriendly(122@, True)
109@ = 1

:DRIV3_14770
if 
  109@ == 1
goto_if_false @DRIV3_15473
if 
  not Char.IsDead(53@)
goto_if_false @DRIV3_15427
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 53@, 8.0, 8.0, 8.0, False)
goto_if_false @DRIV3_15420
if 
  not Char.IsGroupMember(53@, $flag_cell_nation)
goto_if_false @DRIV3_14867
Group.SetMember($flag_cell_nation, 53@)

:DRIV3_14867
109@ = 0
Blip.Remove(122@)
if 
  110@ == 0
goto_if_false @DRIV3_15157
if 
  91@ == 1
goto_if_false @DRIV3_15157
if 
  100@ == 1
goto_if_false @DRIV3_15105
if 
  104@ == 0
goto_if_false @DRIV3_15029
if 
  not Blip.DoesExist(120@)
goto_if_false @DRIV3_15022
120@ = Blip.AddForCoord(59@, 60@, 61@)
Text.PrintNow('DRI2_25', 5000, 1)
if 
  108@ == 0
goto_if_false @DRIV3_15022
108@ = 1

:DRIV3_15022
goto @DRIV3_15098

:DRIV3_15029
if 
  not Blip.DoesExist(128@)
goto_if_false @DRIV3_15061
128@ = Blip.AddSpriteForCoord(80@, 81@, 82@, RadarSprite.Spray)

:DRIV3_15061
Text.PrintNow('DRI2_46', 5000, 1)
if 
  Blip.DoesExist(123@)
goto_if_false @DRIV3_15098
Blip.Remove(123@)

:DRIV3_15098
goto @DRIV3_15157

:DRIV3_15105
if 
  not Blip.DoesExist(123@)
goto_if_false @DRIV3_15141
123@ = Blip.AddForCoord(-1734.05, -579.94, 15.56)

:DRIV3_15141
Text.PrintNow('DRI2_34', 5000, 1)

:DRIV3_15157
if 
  89@ == 1
goto_if_false @DRIV3_15420
if and
  $7325 >= 5
  8 > $7325
goto_if_false @DRIV3_15236
if 
  not Blip.DoesExist(127@)
goto_if_false @DRIV3_15236
127@ = Blip.AddForCoord(-2071.0, 209.0, 35.0)

:DRIV3_15236
if and
  $7325 >= 9
  15 > $7325
goto_if_false @DRIV3_15297
if 
  not Blip.DoesExist(127@)
goto_if_false @DRIV3_15297
127@ = Blip.AddForCoord(-1772.0, 152.0, 152.0)

:DRIV3_15297
if and
  $7325 >= 15
  24 > $7325
goto_if_false @DRIV3_15352
if 
  not Blip.DoesExist(127@)
goto_if_false @DRIV3_15352
116@ = Blip.AddForCoord(71@, 72@, 73@)

:DRIV3_15352
if 
  89@ == 1
goto_if_false @DRIV3_15420
if 
  0 >= $flag_is_farlie3_running
goto_if_false @DRIV3_15420
89@ = 0
93@ = 1
Text.PrintNow('FAR3_FD', 5000, 1)
return 

:DRIV3_15420
goto @DRIV3_15473

:DRIV3_15427
90@ = 0
89@ = 0
94@ = 0
93@ = 1
Text.PrintNow('DRI2_31', 5000, 1)
return 

:DRIV3_15473
goto @DRIV3_15528

:DRIV3_15480
90@ = 0
89@ = 0
94@ = 0
93@ = 1
Text.PrintNow('DRI2_31', 5000, 1)
return 
return 

:DRIV3_15528
return 

:DRIV3_15530
if 
  106@ == 0
goto_if_false @DRIV3_15570
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 133@(132@,40i))
106@ = 1

:DRIV3_15570
if 
  106@ == 1
goto_if_false @DRIV3_15837
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_15837
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow($7326(132@,40s), 10000, 1)
if 
  $7325 == 0
goto_if_false @DRIV3_15646
102@ = 1

:DRIV3_15646
if 
  $7325 == 5
goto_if_false @DRIV3_15700
if 
  not Blip.DoesExist(127@)
goto_if_false @DRIV3_15700
127@ = Blip.AddForCoord(-2071.0, 209.0, 35.0)

:DRIV3_15700
if 
  $7325 == 8
goto_if_false @DRIV3_15730
Blip.Remove(127@)
102@ = 1

:DRIV3_15730
if 
  $7325 == 11
goto_if_false @DRIV3_15768
127@ = Blip.AddForCoord(-1772.0, 152.0, 152.0)

:DRIV3_15768
if 
  $7325 == 14
goto_if_false @DRIV3_15798
102@ = 1
Blip.Remove(127@)

:DRIV3_15798
if 
  $7325 == 18
goto_if_false @DRIV3_15830
116@ = Blip.AddForCoord(71@, 72@, 73@)

:DRIV3_15830
106@ = 2

:DRIV3_15837
if 
  106@ == 2
goto_if_false @DRIV3_15907
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DRIV3_15907
TIMERA = 0
106@ = 0
Text.ClearThisPrint($7326(132@,40s))
132@ += 1
$7325 += 1

:DRIV3_15907
return 

:DRIV3_15909
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Blip.Remove($530)
Text.PrintWithNumberBig('M_PASSS', 7000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 7000)
Stat.AwardPlayerMissionRespect(25)
$garageZ += 1
Stat.RegisterMissionPassed('FAR_3')
Stat.PlayerMadeProgress(1)
Blip.Remove($530)
$530 = Blip.AddSpriteForContactPoint($zeroY, $zeroZ, $wuziX, $zero_blip_icon)
Stat.SetInt(StatId.PassedFarlie3, 1)
return 

:DRIV3_16007
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:DRIV3_16025
$weapon_shop1_blip = 0
$current_highest_score_kickstart = 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DRIV3_16062
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:DRIV3_16062
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(482)
Streaming.MarkModelAsNoLongerNeeded(121)
Streaming.MarkModelAsNoLongerNeeded(122)
Streaming.MarkModelAsNoLongerNeeded(123)
Pickup.Remove(55@)
Streaming.MarkModelAsNoLongerNeeded(409)
131@ = 0

:DRIV3_16108
if 
  3 > 131@
goto_if_false @DRIV3_16149
Char.MarkAsNoLongerNeeded(42@(131@,9i))
131@ += 1
goto @DRIV3_16108

:DRIV3_16149
Char.MarkAsNoLongerNeeded(51@)
Char.MarkAsNoLongerNeeded(52@)
Char.RemoveElegantly(40@)
Char.RemoveElegantly(53@)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Car.MarkAsNoLongerNeeded(35@)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(37@)
Car.MarkAsNoLongerNeeded(34@)
Streaming.MarkModelAsNoLongerNeeded(463)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(37@)
Car.MarkAsNoLongerNeeded(38@)
Blip.Remove(124@)
Blip.Remove(125@)
Blip.Remove(126@)
Blip.Remove(114@)
Blip.Remove(115@)
Blip.Remove(116@)
Blip.Remove(117@)
Blip.Remove(120@)
Blip.Remove(121@)
Blip.Remove(122@)
Blip.Remove(123@)
Blip.Remove(127@)
Blip.Remove(118@)
Blip.Remove(119@)
Blip.Remove(128@)
Car.MarkAsNoLongerNeeded(38@)
Streaming.MarkModelAsNoLongerNeeded(426)
Hud.ClearTimer($flag_is_farlie3_running)
Hud.ClearCounter($flag_mtbike_passed_1stime)
$init_ped_density = Blip.AddShortRangeSpriteForCoord(-1908.9, 292.3, 40.0, RadarSprite.Spray)
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 67---------------
// Originally: Zeroing In

:STEAL1
script_name 'STEAL1'
gosub @STEAL1_581
if 
  has_deatharrest_been_executed 
goto_if_false @STEAL1_38
gosub @STEAL1_7641

:STEAL1_38
gosub @STEAL1_7730
terminate_this_script 

:STEAL1_47
Streaming.RequestModel(558)
Streaming.RequestModel(41)
Streaming.LoadAllModelsNow

:STEAL1_58
if or
  not Streaming.HasModelLoaded(558)
  not Streaming.HasModelLoaded(41)
goto_if_false @STEAL1_89
wait 0
goto @STEAL1_58

:STEAL1_89
CarGenerator.SuppressCarModel(558)
438@ = -2027.335
439@ = 326.0038
440@ = 34.2344
441@ = 88.2674
445@ = -2025.443
446@ = 323.5849
447@ = 34.1015
448@ = 77.8368
World.ClearArea(438@, 439@, 440@, 5.0, True)
435@ = Car.Create(558, 438@, 439@, 440@)
Car.SetHeading(435@, 441@)
Car.LockDoors(435@, CarLock.LockoutPlayerOnly)
Car.SetOnlyDamagedByPlayer(435@, True)
443@ = Char.Create(PedType.CivFemale, 41, 445@, 446@, 447@)
Char.SetHeading(443@, 448@)
Car.SetLoadCollisionFlag(435@, False)
436@ = Blip.AddForCarOld(435@, BlipColor.Yellow, BlipDisplay.MarkerOnly)
Car.ChangeColor(435@, 5, 1)
return 

:STEAL1_287
Streaming.MarkModelAsNoLongerNeeded(558)
return 
$2592 = Blip.AddForCoord(0.0, 0.0, 0.0)

:STEAL1_314
Streaming.RequestModel(602)

:STEAL1_319
if 
  not Streaming.HasModelLoaded(602)
goto_if_false @STEAL1_346
wait 0
goto @STEAL1_319

:STEAL1_346
450@ = -2043.911
451@ = 179.1213
452@ = 27.8507
453@ = 270.0
World.ClearArea(450@, 451@, 452@, 5.0, True)
449@ = Car.Create(602, 450@, 451@, 452@)
Car.SetHeading(449@, 453@)
Char.WarpIntoCar($stattreadstamina_ctr, 449@)
return 

:STEAL1_439
Streaming.LoadSpecialCharacter(1, 'ZERO')
Streaming.RequestAnimation("CAR_CHAT")

:STEAL1_464
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasAnimationLoaded("CAR_CHAT")
goto_if_false @STEAL1_502
wait 0
goto @STEAL1_464

:STEAL1_502
455@ = -2034.566
456@ = 175.2188
457@ = 27.8516
458@ = 13.516
World.ClearArea(455@, 456@, 457@, 5.0, True)
454@ = Char.Create(PedType.CivMale, 290, 455@, 456@, 457@)
return 

:STEAL1_581
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
34@ = 0
36@ = 0
37@ = 0
35@ = 0
38@ = 1
39@ = 1
40@ = 0
50@ = 0
90@ = 500
$7408 = 57
$STEAL4_view_debug = 2
$7407 = 3
$7409 = 35.0
51@ = 0
52@ = 0
400@ = 0
404@ = 1
402@ = 1
403@ = 2
401@ = 0
60@ = -16776961
61@ = -8355496
43@ = -16776961
44@ = -12566358
45@ = -8355496
46@ = 0
47@ = 0
62@ = 255
63@ = 0
64@ = 0
65@ = 255
66@ = 0
67@ = 0
68@ = 0
69@ = 0
70@ = 16777216
71@ = 65536
72@ = 256
73@ = 1
119@ = -2711.3
120@ = 118.81
121@ = 3.99
122@ = 2.07
123@ = 178.25
352@ = -2033.175
353@ = 178.6755
354@ = 27.8516
102@ = -2708.79
108@ = -9.59
114@ = 3.98
304@ = -2689.74
310@ = 91.48
316@ = 5.04
305@ = -2692.04
311@ = 91.71
317@ = 4.39
307@ = -2904.51
313@ = 1181.56
319@ = 13.71
308@ = -2916.92
314@ = 1182.06
320@ = 13.59
309@ = -2917.76
315@ = 1176.93
321@ = 13.67
322@ = -2899.05
324@ = 1170.08
326@ = 13.03
323@ = -2898.66
325@ = 1166.74
327@ = 13.21
328@ = 0.0
334@ = 0.0
340@ = 0.0
329@ = 0.0
335@ = 0.0
341@ = 0.0
330@ = 0.0
336@ = 0.0
342@ = 0.0
331@ = 0.0
337@ = 0.0
343@ = 0.0
332@ = 0.0
338@ = 0.0
344@ = 0.0
333@ = 0.0
339@ = 0.0
345@ = 0.0
405@ = -2704.72
415@ = 113.56
425@ = 5.52
406@ = -2701.12
416@ = 100.21
426@ = 5.47
407@ = -2699.84
417@ = 94.03
427@ = 6.41
408@ = -2710.6
418@ = 126.88
428@ = 5.13
409@ = 0.0
419@ = 0.0
429@ = 0.0
set_lvar_text_label 372@s = 'STL1_AA'
set_lvar_text_label 374@s = 'STL1_AB'
set_lvar_text_label 376@s = 'STL1_AC'
set_lvar_text_label 378@s = 'STL1_AD'
set_lvar_text_label 380@s = 'STL1_AE'
set_lvar_int_to_constant 384@ = 36600
set_lvar_int_to_constant 385@ = 36601
set_lvar_int_to_constant 386@ = 36602
set_lvar_int_to_constant 387@ = 36603
set_lvar_int_to_constant 388@ = 36604
Text.LoadMissionText('STEAL1')
85@ = 0
86@ = 1
48@ = 2
Weather.ForceNow(WeatherType.SunnySf)
Streaming.SetAreaVisible(1)
Cutscene.Load('STEAL_1')

:STEAL1_1716
if 
  not Cutscene.HasLoaded
goto_if_false @STEAL1_1740
wait 0
goto @STEAL1_1716

:STEAL1_1740
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:STEAL1_1749
if 
  not Cutscene.HasFinished
goto_if_false @STEAL1_1773
wait 0
goto @STEAL1_1749

:STEAL1_1773
Camera.DoFade(0, Fade.Out)

:STEAL1_1779
if 
  Camera.GetFadingStatus
goto_if_false @STEAL1_1803
wait 0
goto @STEAL1_1779

:STEAL1_1803
Cutscene.Clear
Streaming.SetAreaVisible(0)
Player.SetControl($statbike_temp, False)

:STEAL1_1816
wait 0
if 
  400@ <> 0
goto_if_false @STEAL1_2159
if 
  401@ == 0
goto_if_false @STEAL1_1884
if 
  Audio.HasMissionAudioLoaded(403@)
goto_if_false @STEAL1_1877
Audio.ClearMissionAudio(403@)

:STEAL1_1877
401@ = 1

:STEAL1_1884
if 
  401@ == 1
goto_if_false @STEAL1_1921
Audio.LoadMissionAudio(402@, 383@(400@,17i))
401@ = 2

:STEAL1_1921
if 
  401@ == 2
goto_if_false @STEAL1_1981
if 
  Audio.HasMissionAudioLoaded(402@)
goto_if_false @STEAL1_1981
Audio.PlayMissionAudio(402@)
Text.PrintNow(370@(400@,6s), 10000, 1)
401@ = 3

:STEAL1_1981
if 
  401@ == 3
goto_if_false @STEAL1_2159
if 
  Audio.HasMissionAudioFinished(402@)
goto_if_false @STEAL1_2098
Text.ClearThisPrint(370@(400@,6s))
if 
  402@ == 1
goto_if_false @STEAL1_2063
402@ = 2
403@ = 1
goto @STEAL1_2077

:STEAL1_2063
402@ = 1
403@ = 2

:STEAL1_2077
400@ = 0
401@ = 0
goto @STEAL1_2159

:STEAL1_2098
if 
  not Audio.HasMissionAudioLoaded(403@)
goto_if_false @STEAL1_2159
if 
  60 > 400@
goto_if_false @STEAL1_2159
set_lvar_int_to_lvar_int 404@ = 400@
404@ += 1
Audio.LoadMissionAudio(403@, 383@(404@,17i))

:STEAL1_2159
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @STEAL1_2181
goto @STEAL1_7659

:STEAL1_2181
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @STEAL1_2305
if 
  3 > 34@
goto_if_false @STEAL1_2305
if 
  35@ == 0
goto_if_false @STEAL1_2264
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @STEAL1_2264
449@ = Char.StoreCarIsIn($stattreadstamina_ctr)
35@ = 1

:STEAL1_2264
if 
  35@ == 1
goto_if_false @STEAL1_2305
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @STEAL1_2305
35@ = 0

:STEAL1_2305
if 
  34@ == 0
goto_if_false @STEAL1_3948
if 
  37@ == 0
goto_if_false @STEAL1_2779
World.ClearArea(352@, 353@, 354@, 25.0, True)
Garage.Open('HBGDSFS')
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2037.601, 183.5734, 30.4011, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2037.017, 182.7901, 30.1884, SwitchType.JumpCut)
gosub @STEAL1_314
gosub @STEAL1_439
gosub @STEAL1_47
gosub @STEAL1_7974
Streaming.LoadSceneInDirection(-2029.904, 179.7978, 29.0075, 130.0)
Camera.DoFade(500, Fade.In)

:STEAL1_2489
if 
  Camera.GetFadingStatus
goto_if_false @STEAL1_2513
wait 0
goto @STEAL1_2489

:STEAL1_2513
if and
  not Car.IsDead(449@)
  not Char.IsDead(454@)
goto_if_false @STEAL1_2779
if 
  401@ == 0
goto_if_false @STEAL1_2779
400@ = 1
366@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2032.55, 176.89, 28.95, MoveState.Walk, -2)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "CAR_TALKM_IN", "CAR_CHAT", 4.0, False, False, False, False, 0)
Task.PlayAnim(-1, "CAR_TALKM_LOOP", "CAR_CHAT", 4.0, False, False, False, False, 0)
Task.PlayAnim(-1, "CAR_TALKM_OUT", "CAR_CHAT", 4.0, False, False, False, False, 0)
Sequence.Close(366@)
Char.PerformSequence(454@, 366@)
Task.CarDriveToCoord($stattreadstamina_ctr, 449@, 352@, 353@, 354@, 12.0, DriveMode.Accurate, 0, DrivingMode.AvoidCars)
80@ = Clock.GetGameTimer()
37@ = 1

:STEAL1_2779
if 
  37@ > 0
goto_if_false @STEAL1_2869
81@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 82@ = 81@
sub_int_lvar_from_int_lvar 82@ -= 80@
if 
  82@ > 1000
goto_if_false @STEAL1_2869
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @STEAL1_2869
80@ -= 10000
37@ = 5

:STEAL1_2869
if 
  37@ == 1
goto_if_false @STEAL1_2964
81@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 82@ = 81@
sub_int_lvar_from_int_lvar 82@ -= 80@
if 
  82@ > 1000
goto_if_false @STEAL1_2964
if 
  401@ == 0
goto_if_false @STEAL1_2964
400@ = 2
80@ = Clock.GetGameTimer()
37@ = 2

:STEAL1_2964
if 
  37@ == 2
goto_if_false @STEAL1_3110
81@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 82@ = 81@
sub_int_lvar_from_int_lvar 82@ -= 80@
if 
  82@ > 1000
goto_if_false @STEAL1_3110
if 
  401@ == 0
goto_if_false @STEAL1_3110
400@ = 3
80@ = Clock.GetGameTimer()
Camera.SetFixedPosition(-2031.242, 175.4691, 29.0587, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2031.501, 176.4334, 29.007, SwitchType.JumpCut)
37@ = 3

:STEAL1_3110
if 
  37@ == 3
goto_if_false @STEAL1_3392
if and
  not Car.IsDead(435@)
  not Char.IsDead(443@)
goto_if_false @STEAL1_3392
81@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 82@ = 81@
sub_int_lvar_from_int_lvar 82@ -= 80@
if 
  82@ > 1000
goto_if_false @STEAL1_3392
if 
  401@ == 0
goto_if_false @STEAL1_3392
Text.ClearPrints
Camera.DoFade(100, Fade.Out)

:STEAL1_3215
if 
  Camera.GetFadingStatus
goto_if_false @STEAL1_3239
wait 0
goto @STEAL1_3215

:STEAL1_3239
Camera.SetFixedPosition(-2022.518, 322.6858, 34.6179, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2023.382, 323.1579, 34.7936, SwitchType.JumpCut)
Streaming.LoadSceneInDirection(-2022.518, 322.6858, 34.6179, 50.0)
Camera.DoFade(100, Fade.In)

:STEAL1_3318
if 
  Camera.GetFadingStatus
goto_if_false @STEAL1_3342
wait 0
goto @STEAL1_3318

:STEAL1_3342
400@ = 4
if and
  not Car.IsDead(435@)
  not Char.IsDead(443@)
goto_if_false @STEAL1_3392
Task.EnterCarAsDriver(443@, 435@, -1)
80@ = Clock.GetGameTimer()
37@ = 4

:STEAL1_3392
if 
  37@ == 4
goto_if_false @STEAL1_3570
if 
  not Car.IsDead(435@)
goto_if_false @STEAL1_3570
if 
  not Char.IsDead(443@)
goto_if_false @STEAL1_3570
if 
  Char.IsSittingInCar(443@, 435@)
goto_if_false @STEAL1_3570
if 
  401@ == 0
goto_if_false @STEAL1_3570
400@ = 5
80@ = Clock.GetGameTimer()
369@ = Sequence.Open()
Task.CarDriveToCoord(-1, 435@, 125@, 185@, 245@, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 435@, 126@, 186@, 246@, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Sequence.Close(369@)
Char.PerformSequence(443@, 369@)
37@ = 5

:STEAL1_3570
if 
  37@ == 5
goto_if_false @STEAL1_3948
81@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 82@ = 81@
sub_int_lvar_from_int_lvar 82@ -= 80@
if 
  82@ > 1000
goto_if_false @STEAL1_3948
if 
  401@ == 0
goto_if_false @STEAL1_3948
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:STEAL1_3655
if 
  Camera.GetFadingStatus
goto_if_false @STEAL1_3679
wait 0
goto @STEAL1_3655

:STEAL1_3679
Garage.Close('HBGDSFS')
Char.ClearTasks($stattreadstamina_ctr)
if 
  not Car.IsDead(449@)
goto_if_false @STEAL1_3786
Streaming.LoadScene(-2028.827, 178.4434, 27.8516)
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2030.672, 179.1596, 28.9611)
Car.SetCoordinates(449@, -2028.827, 178.4434, 27.8516)
Car.SetHeading(449@, 266.8448)
Char.WarpIntoCar($stattreadstamina_ctr, 449@)

:STEAL1_3786
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 45400)

:STEAL1_3795
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @STEAL1_3821
wait 0
goto @STEAL1_3795

:STEAL1_3821
if and
  not Car.IsDead(435@)
  not Char.IsDead(443@)
goto_if_false @STEAL1_3869
if 
  not Char.IsInCar(443@, 435@)
goto_if_false @STEAL1_3869
Char.WarpIntoCar(443@, 435@)

:STEAL1_3869
Streaming.RemoveAnimation("CAR_CHAT")
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Char.Delete(454@)
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(602)
Hud.SwitchWidescreen(False)
Camera.DoFade(500, Fade.In)

:STEAL1_3910
if 
  Camera.GetFadingStatus
goto_if_false @STEAL1_3934
wait 0
goto @STEAL1_3910

:STEAL1_3934
Player.SetControl($statbike_temp, True)
34@ = 1

:STEAL1_3948
if 
  34@ == 1
goto_if_false @STEAL1_4090
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(435@)
  not Char.IsDead(443@)
goto_if_false @STEAL1_4090
if 
  Char.IsInCar(443@, 435@)
goto_if_false @STEAL1_4090
Player.SetControl($statbike_temp, True)
Text.Print('STL1_03', 7000, 1)
StuckCarCheck.AddWithWarp(435@, 1.0, 2000, True, True, True, 2)
Task.CarDriveToCoord(443@, 435@, 126@, 186@, 246@, 35.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
34@ = 2

:STEAL1_4090
if 
  Car.IsDead(435@)
goto_if_false @STEAL1_4131
Text.ClearPrints
Text.PrintNow('STL1_07', 5000, 1)
goto @STEAL1_7641

:STEAL1_4131
if 
  34@ == 2
goto_if_false @STEAL1_5957
if and
  not Car.IsDead(435@)
  not Char.IsDead(443@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @STEAL1_5934
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @STEAL1_4207
40@ = 3
Car.SetTempAction(435@, TempAction.HandbrakeStraight, 2000)

:STEAL1_4207
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 443@, 50.0, 50.0, 50.0, False)
goto_if_false @STEAL1_4281
if 
  45.0 > $7409
goto_if_false @STEAL1_4274
$7409 += 0.1

:STEAL1_4274
goto @STEAL1_4312

:STEAL1_4281
if 
  $7409 > 30.0
goto_if_false @STEAL1_4312
$7409 -= 0.1

:STEAL1_4312
Car.SetCruiseSpeed(435@, $7409)
442@ = Car.GetSpeed(435@)
438@, 439@, 440@ = Car.GetCoordinates(435@)
if 
  is_int_var_greater_than_int_var $7408 > $STEAL4_view_debug
goto_if_false @STEAL1_4474
if 
  Char.LocateInCar3D(443@, 124@($STEAL4_view_debug,60f), 184@($STEAL4_view_debug,60f), 244@($STEAL4_view_debug,60f), 10.0, 10.0, 10.0, False)
goto_if_false @STEAL1_4467
$STEAL4_view_debug += 1
$7407 += 1
Task.CarDriveToCoord(443@, 435@, 124@($STEAL4_view_debug,60f), 184@($STEAL4_view_debug,60f), 244@($STEAL4_view_debug,60f), $7409, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:STEAL1_4467
goto @STEAL1_4667

:STEAL1_4474
if 
  Char.LocateInCar3D(443@, 124@($STEAL4_view_debug,60f), 184@($STEAL4_view_debug,60f), 244@($STEAL4_view_debug,60f), 8.0, 8.0, 8.0, False)
goto_if_false @STEAL1_4557
Task.CarDriveWander(443@, 435@, 35.0, DrivingMode.AvoidCars)
$STEAL4_view_debug += 1
$7407 += 1

:STEAL1_4557
if 
  is_int_var_greater_than_int_var $STEAL4_view_debug > $7408
goto_if_false @STEAL1_4667
if 
  not Car.IsOnScreen(435@)
goto_if_false @STEAL1_4667
349@, 350@, 351@ = Char.GetCoordinates($stattreadstamina_ctr)
87@ = Math.GetDistanceBetweenCoords2D(438@, 439@, 349@, 350@)
if 
  87@ > 200.0
goto_if_false @STEAL1_4667
Text.PrintNow('STL1_09', 5000, 1)
goto @STEAL1_7641

:STEAL1_4667
if and
  40@ == 2
  49@ == 0
goto_if_false @STEAL1_4760
95@ = Clock.GetGameTimer()
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 438@, 439@, 440@, 7.0, 7.0, 7.0, False)
goto_if_false @STEAL1_4753
49@ = 1
goto @STEAL1_4760

:STEAL1_4753
49@ = 0

:STEAL1_4760
if 
  49@ == 1
goto_if_false @STEAL1_5055
if 
  442@ > 10.0
goto_if_false @STEAL1_5055
357@, 358@, 359@ = Car.GetSpeedVector(435@)
set_lvar_float_to_lvar_float 364@ = 357@
mult_float_lvar_by_float_lvar 364@ *= 357@
set_lvar_float_to_lvar_float 365@ = 358@
mult_float_lvar_by_float_lvar 365@ *= 358@
set_lvar_float_to_lvar_float 361@ = 364@
add_float_lvar_to_float_lvar 361@ += 365@
360@ = Math.Sqrt(361@)
355@ = Car.GetForwardX(435@)
356@ = Car.GetForwardY(435@)
set_lvar_float_to_lvar_float 364@ = 357@
mult_float_lvar_by_float_lvar 364@ *= 355@
set_lvar_float_to_lvar_float 365@ = 358@
mult_float_lvar_by_float_lvar 365@ *= 356@
set_lvar_float_to_lvar_float 362@ = 364@
add_float_lvar_to_float_lvar 362@ += 365@
set_lvar_float_to_lvar_float 364@ = 362@
mult_float_lvar_by_float_lvar 364@ *= 362@
set_lvar_float_to_lvar_float 365@ = 361@
sub_float_lvar_from_float_lvar 365@ -= 364@
363@ = Math.Sqrt(365@)
set_lvar_float_to_lvar_float 364@ = 363@
div_float_lvar_by_float_lvar 364@ /= 362@
if 
  364@ > 2.2
goto_if_false @STEAL1_5041
Car.SetTempAction(435@, TempAction.HandbrakeStraight, 2000)
40@ = 3
49@ = 0
goto @STEAL1_5055

:STEAL1_5041
40@ = 2
49@ = 0

:STEAL1_5055
if 
  40@ == 3
goto_if_false @STEAL1_5187
if 
  not Car.IsDead(435@)
goto_if_false @STEAL1_5187
Text.ClearPrints
Char.ClearTasks(443@)
Car.SetCruiseSpeed(435@, 0.0)
Text.PrintNow('STL1_05', 5000, 1)
StuckCarCheck.Remove(435@)
Blip.Remove(436@)
436@ = Blip.AddForCar(435@)
Blip.SetAsFriendly(436@, True)
if 
  Car.IsStopped(435@)
goto_if_false @STEAL1_5187
Task.LeaveCarAndFlee(443@, 435@, 438@, 439@, 440@)
34@ = 3

:STEAL1_5187
if 
  40@ == 0
goto_if_false @STEAL1_5338
Blip.Remove(436@)
445@, 446@, 447@ = Car.GetCoordinates(435@)
436@ = Blip.AddForCoord(445@, 446@, 447@)
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 438@, 439@, 440@, 25.0, 25.0, 25.0, False)
goto_if_false @STEAL1_5284
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:STEAL1_5284
62@ = 255
63@ = 0
64@ = 0
65@ = 255
gosub @STEAL1_7793
80@ = Clock.GetGameTimer()
84@ = Clock.GetGameTimer()
40@ = 1

:STEAL1_5338
if 
  40@ == 1
goto_if_false @STEAL1_5779
81@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 82@ = 81@
sub_int_lvar_from_int_lvar 82@ -= 80@
set_lvar_int_to_lvar_int 83@ = 81@
sub_int_lvar_from_int_lvar 83@ -= 84@
if 
  83@ > 1000
goto_if_false @STEAL1_5453
if 
  52@ == 0
goto_if_false @STEAL1_5453
Text.Print('STL1_03', 8000, 1)
52@ = 1

:STEAL1_5453
if 
  82@ > 30
goto_if_false @STEAL1_5483
gosub @STEAL1_7793
80@ = Clock.GetGameTimer()

:STEAL1_5483
if 
  not Char.IsDead(443@)
goto_if_false @STEAL1_5703
if or
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 445@, 446@, 20.0, 20.0, False)
  Char.LocateInCarChar3D($stattreadstamina_ctr, 443@, 50.0, 50.0, 50.0, False)
goto_if_false @STEAL1_5626
if 
  51@ == 0
goto_if_false @STEAL1_5594
Text.PrintHelp('STL1_04')
51@ = 1

:STEAL1_5594
Blip.Remove(436@)
80@ = Clock.GetGameTimer()
436@ = Blip.AddForCar(435@)
49@ = 0
40@ = 2

:STEAL1_5626
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 443@, 20.0, 20.0, 20.0, False)
goto_if_false @STEAL1_5703
if 
  51@ == 1
goto_if_false @STEAL1_5703
Text.PrintNow('STL1_02', 12000, 1)
51@ = 2

:STEAL1_5703
if 
  128 > 65@
goto_if_false @STEAL1_5737
Text.PrintNow('STL1_10', 100, 1)

:STEAL1_5737
if 
  is_int_lvar_equal_to_int_lvar 65@ == 69@
goto_if_false @STEAL1_5779
Text.PrintNow('STL1_09', 7000, 1)
goto @STEAL1_7641

:STEAL1_5779
if 
  40@ == 2
goto_if_false @STEAL1_5934
if 
  not Car.IsDead(435@)
goto_if_false @STEAL1_5934
if 
  87@ > 200.0
goto_if_false @STEAL1_5841
40@ = 0

:STEAL1_5841
81@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 82@ = 81@
sub_int_lvar_from_int_lvar 82@ -= 80@
if 
  82@ > 2000
goto_if_false @STEAL1_5904
if 
  not Car.IsOnScreen(435@)
goto_if_false @STEAL1_5904
40@ = 0

:STEAL1_5904
if 
  not Car.IsOnScreen(435@)
goto_if_false @STEAL1_5934
40@ = 0
goto @STEAL1_5934

:STEAL1_5934
if 
  Char.IsDead(443@)
goto_if_false @STEAL1_5957
34@ = 3

:STEAL1_5957
if 
  34@ == 3
goto_if_false @STEAL1_7409
if and
  not Car.IsDead(435@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @STEAL1_7409
if 
  50@ == 0
goto_if_false @STEAL1_6028
Car.LockDoors(435@, CarLock.Unlocked)
50@ = 1

:STEAL1_6028
if 
  50@ == 1
goto_if_false @STEAL1_6152
if 
  Char.IsInCar($stattreadstamina_ctr, 435@)
goto_if_false @STEAL1_6152
Blip.Remove(436@)
Text.PrintNow('STL1_06', 5000, 1)
53@ = Blip.AddForCoord(352@, 353@, 354@)
Garage.ChangeType('HBGDSFS', GarageType.ForScriptToOpenAndClose)
Streaming.RequestCarRecording(171)

:STEAL1_6118
if 
  not Streaming.HasCarRecordingBeenLoaded(171)
goto_if_false @STEAL1_6145
wait 0
goto @STEAL1_6118

:STEAL1_6145
50@ = 2

:STEAL1_6152
if 
  50@ == 2
goto_if_false @STEAL1_6437
if 
  not Car.IsDead(435@)
goto_if_false @STEAL1_6437
if 
  Char.IsInCar($stattreadstamina_ctr, 435@)
goto_if_false @STEAL1_6437
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 352@, 353@, 354@, 4.0, 4.0, 4.0, True)
goto_if_false @STEAL1_6437
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 435@)
goto_if_false @STEAL1_6437
World.ClearArea(352@, 353@, 354@, 25.0, True)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2031.242, 175.4691, 29.0587, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2031.501, 176.4334, 29.007, SwitchType.JumpCut)
Garage.Open('HBGDSFS')
Blip.Remove(53@)
352@ = -2043.911
353@ = 179.1213
354@ = 27.8507
437@ = Car.GetHealth(435@)
437@ /= 10
437@ *= 100
90@ = 2000
add_int_lvar_to_int_lvar 90@ += 437@
50@ = 21

:STEAL1_6437
if 
  50@ == 21
goto_if_false @STEAL1_6577
if 
  not Car.IsDead(435@)
goto_if_false @STEAL1_6577
if 
  Garage.IsOpen('HBGDSFS')
goto_if_false @STEAL1_6577
World.ClearArea(352@, 353@, 354@, 25.0, True)
Car.StartPlayback(435@, 171)
Camera.SetFixedPosition(-2037.601, 183.5734, 30.4011, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2037.017, 182.7901, 30.1884, SwitchType.JumpCut)
50@ = 3

:STEAL1_6577
if 
  50@ == 3
goto_if_false @STEAL1_6692
if 
  not Car.IsDead(435@)
goto_if_false @STEAL1_6692
if 
  Char.IsInCar($stattreadstamina_ctr, 435@)
goto_if_false @STEAL1_6692
if 
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, 352@, 353@, 354@, 4.0, 4.0, 4.0, False)
goto_if_false @STEAL1_6692
Garage.Close('HBGDSFS')
Text.ClearPrints
50@ = 32

:STEAL1_6692
if 
  50@ == 31
goto_if_false @STEAL1_6781
if 
  not Car.IsDead(435@)
goto_if_false @STEAL1_6781
367@ = Sequence.Open()
Task.LeaveCar(-1, 435@)
Task.GoStraightToCoord(-1, -2035.471, 176.6342, 27.8359, MoveState.Walk, -2)
Sequence.Close(367@)
Char.PerformSequence($stattreadstamina_ctr, 367@)
50@ = 32

:STEAL1_6781
if 
  50@ == 32
goto_if_false @STEAL1_6864
if 
  not Car.IsDead(435@)
goto_if_false @STEAL1_6864
Garage.Close('HBGDSFS')
Camera.DoFade(1500, Fade.Out)

:STEAL1_6833
if 
  Camera.GetFadingStatus
goto_if_false @STEAL1_6857
wait 0
goto @STEAL1_6833

:STEAL1_6857
50@ = 41

:STEAL1_6864
if 
  50@ == 41
goto_if_false @STEAL1_7283
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFadingColor(0, 0, 1)
459@, 460@, 461@ = Char.GetCoordinates($stattreadstamina_ctr)
462@ = Char.GetHeading($stattreadstamina_ctr)
Camera.DoFade(500, Fade.Out)

:STEAL1_6930
if 
  Camera.GetFadingStatus
goto_if_false @STEAL1_6972
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @STEAL1_6965
terminate_this_script 

:STEAL1_6965
goto @STEAL1_6930

:STEAL1_6972
Streaming.LoadSceneInDirection(-2690.908, 206.6429, 7.2879, 88.2793)
Char.SetCoordinates($stattreadstamina_ctr, -2691.164, 206.6478, 3.3359)
Camera.SetFixedPosition(-2689.916, 206.5855, 7.399, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2690.908, 206.6429, 7.2879, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)
Text.PrintNow('JAP_MOD', 6000, 1)
wait 6000
Text.PrintNow('WANG_C', 6000, 1)
wait 6000
Camera.DoFade(500, Fade.Out)

:STEAL1_7121
if 
  Camera.GetFadingStatus
goto_if_false @STEAL1_7163
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @STEAL1_7156
terminate_this_script 

:STEAL1_7156
goto @STEAL1_7121

:STEAL1_7163
Streaming.LoadSceneInDirection(459@, 460@, 461@, 462@)
461@ -= 1.0
Char.SetCoordinates($stattreadstamina_ctr, 459@, 460@, 461@)
Char.SetHeading($stattreadstamina_ctr, 462@)
Camera.DoFade(500, Fade.In)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Garage.Activate('MDS1SFS')
Blip.Remove($2592)
$2592 = Blip.AddShortRangeSpriteForCoord(-2728.5, 212.2, 3.4, RadarSprite.ModGarage)
$para_flare_Vz = 1
50@ = 4

:STEAL1_7283
if 
  50@ == 4
goto_if_false @STEAL1_7409
if 
  Garage.IsClosed('HBGDSFS')
goto_if_false @STEAL1_7409
Hud.SwitchWidescreen(False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -2032.471, 176.6342, 27.8359)
Car.Delete(435@)
Char.SetHeading($stattreadstamina_ctr, 267.9)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(500, Fade.In)

:STEAL1_7378
if 
  Camera.GetFadingStatus
goto_if_false @STEAL1_7402
wait 0
goto @STEAL1_7378

:STEAL1_7402
goto @STEAL1_7659

:STEAL1_7409
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @STEAL1_7634
if and
  50@ > 1
  4 > 50@
goto_if_false @STEAL1_7634
if 
  not Car.IsDead(435@)
goto_if_false @STEAL1_7634
if 
  35@ == 0
goto_if_false @STEAL1_7565
Text.PrintNow('STL1_11', 100, 1)
if 
  Char.IsInCar($stattreadstamina_ctr, 435@)
goto_if_false @STEAL1_7565
Blip.Remove(436@)
Blip.Remove(53@)
Text.PrintNow('STL1_06', 5000, 1)
53@ = Blip.AddForCoord(352@, 353@, 354@)
35@ = 1

:STEAL1_7565
if 
  35@ == 1
goto_if_false @STEAL1_7634
if 
  not Char.IsInCar($stattreadstamina_ctr, 435@)
goto_if_false @STEAL1_7634
Blip.Remove(53@)
Blip.Remove(436@)
436@ = Blip.AddForCar(435@)
Blip.SetAsFriendly(436@, True)
35@ = 0

:STEAL1_7634
goto @STEAL1_1816

:STEAL1_7641
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:STEAL1_7659
$garageY += 1
CarGenerator.Switch($steal_car_cargen5, 101)
Stat.RegisterMissionPassed('STEAL_1')
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(1)
Text.PrintWithNumberBig('M_PASSS', 5000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 5000)
Stat.AwardPlayerMissionRespect(5)
Player.ClearWantedLevel($statbike_temp)
return 

:STEAL1_7730
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Blip.Remove(436@)
Blip.Remove(53@)
Blip.Remove(436@)
Weather.Release
Char.Delete(443@)
Car.Delete(435@)
gosub @STEAL1_287
Streaming.MarkModelAsNoLongerNeeded(602)
Streaming.MarkModelAsNoLongerNeeded(41)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

:STEAL1_7793
if 
  255 > 63@
goto_if_false @STEAL1_7826
63@ += 1
64@ += 1

:STEAL1_7826
if 
  63@ == 255
goto_if_false @STEAL1_7852
65@ -= 1

:STEAL1_7852
set_lvar_int_to_lvar_int 74@ = 62@
mult_int_lvar_by_int_lvar 74@ *= 70@
set_lvar_int_to_lvar_int 75@ = 63@
mult_int_lvar_by_int_lvar 75@ *= 71@
set_lvar_int_to_lvar_int 76@ = 64@
mult_int_lvar_by_int_lvar 76@ *= 72@
set_lvar_int_to_lvar_int 77@ = 65@
mult_int_lvar_by_int_lvar 77@ *= 73@
set_lvar_int_to_lvar_int 78@ = 74@
add_int_lvar_to_int_lvar 78@ += 75@
set_lvar_int_to_lvar_int 79@ = 76@
add_int_lvar_to_int_lvar 79@ += 77@
set_lvar_int_to_lvar_int 60@ = 78@
add_int_lvar_to_int_lvar 60@ += 79@
Blip.ChangeColor(436@, 60@)
return 

:STEAL1_7974
124@ = -2017.001
184@ = 322.4644
244@ = 34.7593
125@ = -2036.439
185@ = 322.4642
245@ = 34.0156
126@ = -2148.505
186@ = 227.5995
246@ = 34.8814
127@ = -2244.575
187@ = 211.4546
247@ = 34.884
128@ = -2252.426
188@ = 110.4054
248@ = 34.8813
129@ = -2254.398
189@ = 64.4779
249@ = 34.8865
130@ = -2333.194
190@ = 52.1153
250@ = 34.8895
131@ = -2373.793
191@ = -39.8936
251@ = 34.8887
132@ = -2411.406
192@ = -71.5329
252@ = 34.8695
133@ = -2421.986
193@ = -171.5927
253@ = 34.8702
134@ = -2514.487
194@ = -209.5909
254@ = 24.5432
135@ = -2612.338
195@ = -208.1451
255@ = 3.8877
136@ = -2700.542
196@ = -205.7518
256@ = 3.8928
137@ = -2703.455
197@ = -105.7246
257@ = 3.8899
138@ = -2704.933
198@ = -88.0339
258@ = 3.8934
139@ = -2791.198
199@ = -69.7781
259@ = 6.7409
140@ = -2807.242
200@ = 29.8687
260@ = 6.7487
141@ = -2807.922
201@ = 131.0431
261@ = 6.7324
142@ = -2807.247
202@ = 232.0953
262@ = 6.7535
143@ = -2831.376
203@ = 329.6273
263@ = 4.0742
144@ = -2851.84
204@ = 427.8425
264@ = 4.0745
145@ = -2831.418
205@ = 526.6416
265@ = 4.6276
146@ = -2821.271
206@ = 626.4095
266@ = 7.8679
147@ = -2849.525
207@ = 720.4027
267@ = 28.129
148@ = -2840.613
208@ = 819.4821
268@ = 40.6696
149@ = -2816.873
209@ = 897.241
269@ = 43.6833
150@ = -2776.396
210@ = 809.4246
270@ = 50.6937
151@ = -2676.287
211@ = 810.1769
271@ = 49.5432
152@ = -2575.558
212@ = 807.5107
272@ = 49.5239
153@ = -2528.462
213@ = 809.4405
273@ = 49.5356
154@ = -2526.564
214@ = 908.4559
274@ = 64.537
155@ = -2525.089
215@ = 999.8545
275@ = 77.8166
156@ = -2594.69
216@ = 1006.409
276@ = 77.8242
157@ = -2587.474
217@ = 1092.979
277@ = 56.2406
158@ = -2591.712
218@ = 1135.302
278@ = 55.135
159@ = -2658.549
219@ = 1209.768
279@ = 55.1386
160@ = -2669.474
220@ = 1309.309
280@ = 55.1228
161@ = -2677.539
221@ = 1409.63
281@ = 55.1226
162@ = -2669.294
222@ = 1509.889
282@ = 58.6901
163@ = -2674.542
223@ = 1610.948
283@ = 64.4835
164@ = -2675.343
224@ = 1711.907
284@ = 67.4134
165@ = -2675.344
225@ = 1812.691
285@ = 67.4802
166@ = -2675.333
226@ = 1913.553
286@ = 64.6734
167@ = -2675.791
227@ = 2013.889
287@ = 59.035
168@ = -2670.814
228@ = 2114.105
288@ = 55.1467
169@ = -2679.106
229@ = 2214.438
289@ = 55.1239
170@ = -2720.014
230@ = 2305.998
290@ = 63.1498
171@ = -2720.744
231@ = 2353.887
291@ = 71.5011
172@ = -2677.15
232@ = 2440.762
292@ = 47.2891
173@ = -2593.738
233@ = 2490.081
293@ = 22.1514
174@ = -2513.94
234@ = 2429.612
294@ = 16.4114
175@ = -2413.627
235@ = 2430.877
295@ = 11.8649
176@ = -2339.414
236@ = 2395.623
296@ = 5.5583
177@ = -2422.839
237@ = 2340.198
297@ = 4.5444
178@ = -2462.575
238@ = 2334.265
298@ = 4.5459
179@ = -2467.327
239@ = 2276.376
299@ = 4.5468
180@ = -2560.308
240@ = 2313.566
300@ = 4.5508
181@ = -2560.286
241@ = 2316.442
301@ = 4.5491
return 

//-------------Mission 68---------------
// Originally: Test Drive

:STEAL2
script_name 'STEAL2'
gosub @STEAL2_47
if 
  has_deatharrest_been_executed 
goto_if_false @STEAL2_38
gosub @STEAL2_26013

:STEAL2_38
gosub @STEAL2_26109
terminate_this_script 

:STEAL2_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('STEAL2')
Text.ClearPrints
wait 0
99@ = 0
100@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
105@ = 0
106@ = 0
107@ = 0
162@ = 0.0
163@ = 0.0
164@ = 0.0
165@ = 0.0
166@ = 0.0
167@ = 0.0
168@ = 0.0
112@ = 0
113@ = 0
114@ = 0
154@ = 0
155@ = 0
156@ = 0
157@ = 0
158@ = 0
160@ = 0
161@ = 0
108@ = 0
109@ = 0
Player.MakeGangDisappear
Streaming.SetAreaVisible(1)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
Streaming.LoadScene(-2031.0, 149.0, 29.0)
Cutscene.Load('STEAL_2')

:STEAL2_331
if 
  not Cutscene.HasLoaded
goto_if_false @STEAL2_355
wait 0
goto @STEAL2_331

:STEAL2_355
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:STEAL2_364
if 
  not Cutscene.HasFinished
goto_if_false @STEAL2_388
wait 0
goto @STEAL2_364

:STEAL2_388
Camera.DoFade(0, Fade.Out)

:STEAL2_394
if 
  Camera.GetFadingStatus
goto_if_false @STEAL2_418
wait 0
goto @STEAL2_394

:STEAL2_418
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Player.MakeGangReappear
Camera.SetFadingColor(0, 0, 0)
wait 0
Streaming.RequestModel(560)
Streaming.RequestModel(562)
Streaming.RequestModel(147)
Streaming.RequestVehicleMod(#NTO_B_S)
Streaming.LoadSpecialCharacter(1, 'CESAR')
Streaming.LoadAllModelsNow
Group.Remove($flag_cell_nation)
Player.SetGroupRecruitment($statbike_temp, False)
Player.SetGroupToFollowAlways($statbike_temp, True)
169@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
170@ = DecisionMakerChar.Copy(65542)
Streaming.LoadScene(-2032.4, 171.8, 27.8)
World.ClearArea(-2032.4, 171.8, 27.8, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2032.4, 171.8, 27.8)
Char.SetHeading($stattreadstamina_ctr, 308.7)
World.ClearArea(-2032.3, 161.9, 28.0, 1.0, True)
$ryder_car = Char.Create(PedType.Mission1, 290, -2032.3, 161.9, 28.0)
Char.SetNeverTargeted($ryder_car, True)
Char.SetDecisionMaker($ryder_car, 170@)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $ryder_car)
Group.SetDefaultTaskAllocator($flag_cell_nation, DefaultTaskAllocator.FollowLimited)
Char.SetDecisionMaker($ryder_car, 169@)
104@ = 1
World.ClearArea(-1656.2, 1210.2, 12.3, 5.0, True)
set_lvar_int_to_constant 110@ = 562
gosub @STEAL2_27694
34@ = Car.Create(562, -1656.2, 1210.2, 12.3)
Car.SetStrong(34@, True)
Car.SetHeading(34@, 316.1)
Car.LockDoors(34@, CarLock.LockoutPlayerOnly)
Car.SetDrivingStyle(34@, DrivingMode.AvoidCars)
Car.SetHealth(34@, 2000)
Car.SetCanBurstTires(34@, False)
Car.FreezePosition(34@, True)
$stealth_help_flag = Car.AddMod(34@, #NTO_B_S)
World.ClearArea(-1662.3, 1211.0, 12.3, 5.0, True)
set_lvar_int_to_constant 110@ = 560
gosub @STEAL2_27694
35@ = Car.Create(560, -1662.3, 1211.0, 12.3)
Car.SetHeading(35@, 316.1)
Car.LockDoors(35@, CarLock.LockoutPlayerOnly)
Car.ChangeColor(35@, 59, 12)
Car.SetHealth(35@, 2000)
Car.FreezePosition(35@, True)
$stealth_help_flag = Car.AddMod(35@, #NTO_B_S)
Game.SwitchRandomTrains(False)
98@ = Blip.AddForCoord(-1632.9, 1207.4, 6.1)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(500, Fade.In)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)

:STEAL2_988
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @STEAL2_1014
goto @STEAL2_26031

:STEAL2_1014
gosub @STEAL2_26289
if 
  102@ == 1
goto_if_false @STEAL2_1046
goto @STEAL2_26013

:STEAL2_1046
if 
  99@ == 0
goto_if_false @STEAL2_6415
if 
  100@ == 0
goto_if_false @STEAL2_1619
gosub @STEAL2_26414
if 
  114@ == 0
goto_if_false @STEAL2_1135
112@ = 1
113@ = 0
gosub @STEAL2_30237
114@ = 1

:STEAL2_1135
if 
  114@ == 1
goto_if_false @STEAL2_1215
if 
  112@ == 0
goto_if_false @STEAL2_1215
Text.Print('STE2_01', 7000, 1)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
TIMERB = 0
114@ = 2

:STEAL2_1215
if 
  114@ == 2
goto_if_false @STEAL2_1319
if 
  TIMERB > 7000
goto_if_false @STEAL2_1319
if 
  112@ == 0
goto_if_false @STEAL2_1319
112@ = 2
113@ = 0
gosub @STEAL2_30237
TIMERB = 0
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 3

:STEAL2_1319
if 
  114@ == 3
goto_if_false @STEAL2_1402
if 
  TIMERB > 7000
goto_if_false @STEAL2_1402
if 
  112@ == 0
goto_if_false @STEAL2_1402
112@ = 3
113@ = 0
gosub @STEAL2_30237
114@ = 4

:STEAL2_1402
if 
  114@ == 4
goto_if_false @STEAL2_1459
if 
  112@ == 0
goto_if_false @STEAL2_1459
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 5

:STEAL2_1459
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @STEAL2_1619
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1632.9, 1207.4, 6.1, 4.0, 4.0, 4.0, True)
goto_if_false @STEAL2_1619
if 
  Char.LocateAnyMeans3D($ryder_car, -1632.9, 1207.4, 6.1, 4.0, 4.0, 4.0, True)
goto_if_false @STEAL2_1619
Player.SetControl($statbike_temp, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
112@ = 0
100@ = 1

:STEAL2_1619
if 
  100@ == 1
goto_if_false @STEAL2_2108
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.ShutAllCharsUp(True)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(-1662.3, 1211.0, 13.4, 15.0, True)
Car.LockDoors(35@, CarLock.Unlocked)
Blip.Remove(98@)
World.ClearArea(-1656.7, 1213.8, 12.7, 1.0, True)
96@ = Char.Create(PedType.Mission1, 147, -1656.7, 1213.8, 12.7)
Char.SetHeading(96@, 132.3)
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @STEAL2_1792
Char.RemoveFromGroup($ryder_car)
Char.ClearTasks($ryder_car)

:STEAL2_1792
171@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -1642.3, 1204.1, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1651.2, 1204.0, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1663.5, 1204.2, 6.2, MoveState.Walk, -1)
Sequence.Close(171@)
Char.PerformSequence($stattreadstamina_ctr, 171@)
Sequence.Clear(171@)
171@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -1640.3, 1204.4, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1651.7, 1205.0, 6.2, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1662.3, 1204.8, 6.2, MoveState.Walk, -1)
Sequence.Close(171@)
Char.PerformSequence($ryder_car, 171@)
Sequence.Clear(171@)
112@ = 4
113@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 159@ = 113@
159@ += 1
gosub @STEAL2_30237
Camera.SetFixedPosition(-1624.5, 1201.5, 7.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1664.6, 1207.1, 10.9, SwitchType.JumpCut)
101@ = 1
skip_cutscene_start_internal @STEAL2_2979
TIMERA = 0
114@ = 0
100@ = 2

:STEAL2_2108
if 
  100@ == 2
goto_if_false @STEAL2_2684
if 
  114@ == 0
goto_if_false @STEAL2_2207
if 
  112@ == 0
goto_if_false @STEAL2_2207
112@ = 4
113@ = Math.RandomIntInRange(3, 6)
set_lvar_int_to_lvar_int 159@ = 113@
159@ += 1
gosub @STEAL2_30237
114@ = 1

:STEAL2_2207
if 
  114@ == 1
goto_if_false @STEAL2_2288
if 
  112@ == 0
goto_if_false @STEAL2_2288
112@ = 4
113@ = Math.RandomIntInRange(6, 9)
set_lvar_int_to_lvar_int 159@ = 113@
159@ += 1
gosub @STEAL2_30237
114@ = 2

:STEAL2_2288
if 
  TIMERA > 8000
goto_if_false @STEAL2_2684
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(-1659.6, 1203.3, 11.4, 400.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -1659.6, 1203.3, 11.4)
Char.SetHeading($stattreadstamina_ctr, 96.8)
Char.ClearTasksImmediately($ryder_car)
World.ClearArea(-1659.8, 1205.0, 11.4, 1.0, True)
Char.SetCoordinates($ryder_car, -1659.8, 1205.0, 11.4)
Char.SetHeading($ryder_car, 91.3)
171@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -1662.6, 1202.6, 12.7, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1666.0, 1208.8, 12.7, MoveState.Walk, -1)
Task.EnterCarAsDriver(-1, 35@, -1)
Sequence.Close(171@)
Char.PerformSequence($stattreadstamina_ctr, 171@)
Sequence.Clear(171@)
171@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -1662.7, 1204.8, 12.7, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1662.9, 1206.5, 12.7, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -1660.3, 1208.8, 12.7, MoveState.Walk, -1)
Task.Pause(-1, 1000)
Task.EnterCarAsDriver(-1, 34@, -1)
Sequence.Close(171@)
Char.PerformSequence($ryder_car, 171@)
Sequence.Clear(171@)
Camera.SetFixedPosition(-1661.1, 1219.7, 15.15, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1658.9, 1204.6, 13.85, SwitchType.JumpCut)
TIMERA = 0
100@ = 3

:STEAL2_2684
if 
  100@ == 3
goto_if_false @STEAL2_2785
$chickY = Char.GetScriptTaskStatus($ryder_car, 1560)
if 
  not is_int_var_equal_to_constant $chickY == 7
goto_if_false @STEAL2_2785
107@ = Char.GetSequenceProgress($ryder_car)
if 
  107@ == 2
goto_if_false @STEAL2_2785
112@ = 5
113@ = 0
gosub @STEAL2_30237
100@ = 4

:STEAL2_2785
if 
  100@ == 4
goto_if_false @STEAL2_2936
if 
  113@ == 2
goto_if_false @STEAL2_2936
if 
  not Char.IsDead(96@)
goto_if_false @STEAL2_2929
171@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1660.6, 1210.1, 12.7, MoveState.Run, -1)
Task.GoStraightToCoord(-1, -1664.0, 1205.3, 12.7, MoveState.Run, -1)
Task.GoStraightToCoord(-1, -1651.3, 1203.2, 6.2, MoveState.Run, -1)
Sequence.Close(171@)
Char.PerformSequence(96@, 171@)
Sequence.Clear(171@)

:STEAL2_2929
100@ = 5

:STEAL2_2936
if 
  100@ == 5
goto_if_false @STEAL2_5670
if 
  112@ == 0
goto_if_false @STEAL2_5670
101@ = 0

:STEAL2_2979
skip_cutscene_end 
gosub @STEAL2_26289
if 
  102@ == 1
goto_if_false @STEAL2_3013
goto @STEAL2_26013

:STEAL2_3013
if 
  101@ == 1
goto_if_false @STEAL2_3197
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
112@ = 0
Camera.DoFade(500, Fade.Out)

:STEAL2_3055
if 
  Camera.GetFadingStatus
goto_if_false @STEAL2_3079
wait 0
goto @STEAL2_3055

:STEAL2_3079
gosub @STEAL2_26289
if 
  102@ == 1
goto_if_false @STEAL2_3111
goto @STEAL2_26013

:STEAL2_3111
if 
  not Char.IsDead(96@)
goto_if_false @STEAL2_3171
World.ClearArea(-1651.3, 1203.2, 6.2, 1.0, True)
Char.SetCoordinates(96@, -1651.3, 1203.2, 6.2)

:STEAL2_3171
Char.ClearTasksImmediately($ryder_car)
Char.WarpIntoCar($ryder_car, 34@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, 35@)

:STEAL2_3197
if 
  Char.IsInCar($ryder_car, 34@)
goto_if_false @STEAL2_5670
if 
  Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @STEAL2_5670
Car.FreezePosition(34@, False)
Car.FreezePosition(35@, False)
Char.MarkAsNoLongerNeeded(96@)
Streaming.MarkModelAsNoLongerNeeded(147)
Streaming.RequestModel(414)
Streaming.RequestModel(#CARDBOARDBOX)
Streaming.RequestModel(449)
Streaming.LoadAllModelsNow
Car.SetModelComponents(414, 1, 1)
World.ClearArea(-1580.1, 938.2, 6.8, 5.0, True)
set_lvar_int_to_constant 110@ = 414
gosub @STEAL2_27694
36@ = Car.Create(414, -1580.1, 938.2, 6.8)
Car.SetHeading(36@, 90.0)
Car.SetLoadCollisionFlag(36@, True)
World.ClearArea(-1576.0, 938.9, 6.5, 5.0, True)
58@ = Char.CreateRandom(-1576.0, 938.9, 6.5)
Char.SetHeading(58@, 84.9)
Char.SetDecisionMaker(58@, 170@)
World.ClearArea(-1575.1, 940.7, 6.4, 10.0, True)
80@ = Object.Create(#CARDBOARDBOX, -1575.1, 940.7, 6.4)
Object.SetCollision(80@, True)
Object.SetDynamic(80@, True)
81@ = Object.Create(#CARDBOARDBOX, -1574.9, 941.7, 6.4)
Object.SetCollision(81@, True)
Object.SetDynamic(81@, True)
82@ = Object.Create(#CARDBOARDBOX, -1573.1, 942.7, 6.4)
Object.SetCollision(82@, True)
Object.SetDynamic(82@, True)
83@ = Object.Create(#CARDBOARDBOX, -1575.1, 940.7, 7.0)
Object.SetCollision(83@, True)
Object.SetDynamic(83@, True)
84@ = Object.Create(#CARDBOARDBOX, -1573.1, 942.7, 7.0)
Object.SetCollision(84@, True)
Object.SetDynamic(84@, True)
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_3764
World.ClearArea(-1626.9, 1202.5, 5.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
38@ = Car.Create(108@, -1626.9, 1202.5, 5.7)
Car.SetHeading(38@, 222.7)
Car.LockDoors(38@, CarLock.Locked)
60@ = Char.CreateRandomAsDriver(38@)
Car.SetLoadCollisionFlag(38@, True)
Char.SetCanBeShotInVehicle(60@, False)

:STEAL2_3764
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_3893
World.ClearArea(-1609.2, 1160.4, 5.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
39@ = Car.Create(108@, -1609.2, 1160.4, 5.7)
Car.SetHeading(39@, 184.3)
Car.LockDoors(39@, CarLock.Locked)
61@ = Char.CreateRandomAsDriver(39@)
Car.SetLoadCollisionFlag(39@, True)
Char.SetCanBeShotInVehicle(61@, False)

:STEAL2_3893
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_4022
World.ClearArea(-1600.9, 1111.7, 5.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
40@ = Car.Create(108@, -1600.9, 1111.7, 5.7)
Car.SetHeading(40@, 183.3)
Car.LockDoors(40@, CarLock.Locked)
62@ = Char.CreateRandomAsDriver(40@)
Car.SetLoadCollisionFlag(40@, True)
Char.SetCanBeShotInVehicle(62@, False)

:STEAL2_4022
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_4151
World.ClearArea(-1608.2, 1094.0, 5.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
41@ = Car.Create(108@, -1608.2, 1094.0, 5.7)
Car.SetHeading(41@, 180.0)
Car.LockDoors(41@, CarLock.Locked)
63@ = Char.CreateRandomAsDriver(41@)
Car.SetLoadCollisionFlag(41@, True)
Char.SetCanBeShotInVehicle(63@, False)

:STEAL2_4151
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_4280
World.ClearArea(-1608.2, 1046.5, 5.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
42@ = Car.Create(108@, -1608.2, 1046.5, 5.7)
Car.SetHeading(42@, 183.5)
Car.LockDoors(42@, CarLock.Locked)
64@ = Char.CreateRandomAsDriver(42@)
Car.SetLoadCollisionFlag(42@, True)
Char.SetCanBeShotInVehicle(64@, False)

:STEAL2_4280
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_4409
World.ClearArea(-1595.7, 1012.0, 5.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
43@ = Car.Create(108@, -1595.7, 1012.0, 5.7)
Car.SetHeading(43@, 207.3)
Car.LockDoors(43@, CarLock.Locked)
65@ = Char.CreateRandomAsDriver(43@)
Car.SetLoadCollisionFlag(43@, True)
Char.SetCanBeShotInVehicle(65@, False)

:STEAL2_4409
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_4538
World.ClearArea(-1540.5, 959.8, 5.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
44@ = Car.Create(108@, -1540.5, 959.8, 5.7)
Car.SetHeading(44@, 24.3)
Car.LockDoors(44@, CarLock.Locked)
66@ = Char.CreateRandomAsDriver(44@)
Car.SetLoadCollisionFlag(44@, True)
Char.SetCanBeShotInVehicle(66@, False)

:STEAL2_4538
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_4667
World.ClearArea(-1556.0, 995.6, 5.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
45@ = Car.Create(108@, -1556.0, 995.6, 5.7)
Car.SetHeading(45@, 41.0)
Car.LockDoors(45@, CarLock.Locked)
67@ = Char.CreateRandomAsDriver(45@)
Car.SetLoadCollisionFlag(45@, True)
Char.SetCanBeShotInVehicle(67@, False)

:STEAL2_4667
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_4796
World.ClearArea(-1587.6, 1036.7, 5.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
46@ = Car.Create(108@, -1587.6, 1036.7, 5.7)
Car.SetHeading(46@, 3.3)
Car.LockDoors(46@, CarLock.Locked)
68@ = Char.CreateRandomAsDriver(46@)
Car.SetLoadCollisionFlag(46@, True)
Char.SetCanBeShotInVehicle(68@, False)

:STEAL2_4796
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_4925
World.ClearArea(-1579.6, 1140.1, 5.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
48@ = Car.Create(108@, -1579.6, 1140.1, 5.7)
Car.SetHeading(48@, 2.0)
Car.LockDoors(48@, CarLock.Locked)
70@ = Char.CreateRandomAsDriver(48@)
Car.SetLoadCollisionFlag(48@, True)
Char.SetCanBeShotInVehicle(70@, False)

:STEAL2_4925
World.ClearArea(-1542.9, 974.0, 5.3, 5.0, True)
95@ = Train.Create(9, -1542.9, 974.0, 5.3, False)
Train.SetSpeed(95@, 0.0)
Train.SetCruiseSpeed(95@, 0.0)
Car.LockDoors(95@, CarLock.Locked)
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_5129
World.ClearArea(-1592.8, 934.7, 6.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
49@ = Car.Create(108@, -1592.8, 934.7, 6.2)
Car.SetHeading(49@, 91.3)
Car.LockDoors(49@, CarLock.Locked)
71@ = Char.CreateRandomAsDriver(49@)
Car.SetLoadCollisionFlag(49@, True)
Char.SetCanBeShotInVehicle(71@, False)

:STEAL2_5129
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_5258
World.ClearArea(-1608.8, 934.3, 6.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
50@ = Car.Create(108@, -1608.8, 934.3, 6.2)
Car.SetHeading(50@, 91.3)
Car.LockDoors(50@, CarLock.Locked)
72@ = Char.CreateRandomAsDriver(50@)
Car.SetLoadCollisionFlag(50@, True)
Char.SetCanBeShotInVehicle(72@, False)

:STEAL2_5258
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_5387
World.ClearArea(-1704.4, 916.0, 23.4, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
51@ = Car.Create(108@, -1704.4, 916.0, 23.4)
Car.SetHeading(51@, 269.1)
Car.LockDoors(51@, CarLock.Locked)
73@ = Char.CreateRandomAsDriver(51@)
Car.SetLoadCollisionFlag(51@, True)
Char.SetCanBeShotInVehicle(73@, False)

:STEAL2_5387
World.ClearArea(-1642.2, 1210.5, 6.2, 15.0, True)
97@ = Char.CreateRandom(-1642.2, 1210.5, 6.2)
Char.SetDecisionMaker(97@, 170@)
171@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1645.5, 1214.0, 6.2, MoveState.Walk, -1)
Task.PlayAnim(-1, "COWER", "PED", 4.0, True, False, False, False, 30000)
Sequence.Close(171@)
Char.PerformSequence(97@, 171@)
Sequence.Clear(171@)
World.SetCarDensityMultiplier(0.0)
Camera.SetFixedPosition(-1640.4, 1212.9, 6.6, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1651.3, 1215.3, 10.6, SwitchType.JumpCut)
if 
  101@ == 1
goto_if_false @STEAL2_5656
Camera.DoFade(500, Fade.In)

:STEAL2_5600
if 
  Camera.GetFadingStatus
goto_if_false @STEAL2_5624
wait 0
goto @STEAL2_5600

:STEAL2_5624
gosub @STEAL2_26289
if 
  102@ == 1
goto_if_false @STEAL2_5656
goto @STEAL2_26013

:STEAL2_5656
TIMERA = 0
100@ = 6

:STEAL2_5670
if 
  100@ == 6
goto_if_false @STEAL2_5924
if 
  not Char.IsDead(97@)
goto_if_false @STEAL2_5924
if 
  Char.LocateAnyMeans2D(97@, -1646.0, 1214.4, 2.0, 2.0, False)
goto_if_false @STEAL2_5924
Car.StartPlayback(34@, 70)
if 
  not Car.IsDead(38@)
goto_if_false @STEAL2_5772
Car.StartPlayback(38@, 71)

:STEAL2_5772
if 
  not Car.IsDead(39@)
goto_if_false @STEAL2_5795
Car.StartPlayback(39@, 72)

:STEAL2_5795
if 
  not Car.IsDead(40@)
goto_if_false @STEAL2_5818
Car.StartPlayback(40@, 73)

:STEAL2_5818
if 
  not Car.IsDead(41@)
goto_if_false @STEAL2_5841
Car.StartPlayback(41@, 74)

:STEAL2_5841
if 
  not Car.IsDead(42@)
goto_if_false @STEAL2_5864
Car.StartPlayback(42@, 75)

:STEAL2_5864
if 
  not Car.IsDead(43@)
goto_if_false @STEAL2_5887
Car.StartPlayback(43@, 76)

:STEAL2_5887
if 
  not Car.IsDead(95@)
goto_if_false @STEAL2_5910
Car.StartPlayback(95@, 77)

:STEAL2_5910
TIMERA = 0
100@ = 7

:STEAL2_5924
if 
  100@ == 7
goto_if_false @STEAL2_5989
if 
  TIMERA > 500
goto_if_false @STEAL2_5989
112@ = 6
113@ = 0
gosub @STEAL2_30237
100@ = 8

:STEAL2_5989
if 
  100@ == 8
goto_if_false @STEAL2_6325
if 
  TIMERA > 2500
goto_if_false @STEAL2_6325
if 
  not Char.IsDead(97@)
goto_if_false @STEAL2_6060
Task.SmartFleeChar(97@, $stattreadstamina_ctr, 200.0, 600000)

:STEAL2_6060
Car.PausePlayback(34@)
if 
  not Car.IsDead(38@)
goto_if_false @STEAL2_6086
Car.PausePlayback(38@)

:STEAL2_6086
if 
  not Car.IsDead(39@)
goto_if_false @STEAL2_6107
Car.PausePlayback(39@)

:STEAL2_6107
if 
  not Car.IsDead(40@)
goto_if_false @STEAL2_6128
Car.PausePlayback(40@)

:STEAL2_6128
if 
  not Car.IsDead(41@)
goto_if_false @STEAL2_6149
Car.PausePlayback(41@)

:STEAL2_6149
if 
  not Car.IsDead(42@)
goto_if_false @STEAL2_6170
Car.PausePlayback(42@)

:STEAL2_6170
if 
  not Car.IsDead(43@)
goto_if_false @STEAL2_6191
Car.PausePlayback(43@)

:STEAL2_6191
if 
  not Car.IsDead(95@)
goto_if_false @STEAL2_6212
Car.PausePlayback(95@)

:STEAL2_6212
World.SetPedDensityMultiplier(0.5)
Game.ShutAllCharsUp(False)
98@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(98@, True)
Char.MarkAsNoLongerNeeded(97@)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.Print('STE2_02', 7000, 1)
TIMERA = 0
TIMERB = 0
114@ = 0
105@ = 1
100@ = 0
99@ = 1

:STEAL2_6325
if 
  100@ == 0
goto_if_false @STEAL2_6415
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @STEAL2_6415
Streaming.LoadScene(-1638.7, 1199.4, 6.2)
Char.SetCoordinates($stattreadstamina_ctr, -1638.7, 1199.4, 6.2)
Char.SetCoordinates($ryder_car, -1639.7, 1199.4, 6.2)

:STEAL2_6415
if 
  99@ == 1
goto_if_false @STEAL2_7393
if 
  114@ == 0
goto_if_false @STEAL2_6530
if 
  112@ == 0
goto_if_false @STEAL2_6530
if 
  TIMERB > 7000
goto_if_false @STEAL2_6530
112@ = 7
113@ = 0
gosub @STEAL2_30237
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 1

:STEAL2_6530
if 
  114@ == 1
goto_if_false @STEAL2_6587
if 
  112@ == 0
goto_if_false @STEAL2_6587
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 2

:STEAL2_6587
if 
  103@ == 0
goto_if_false @STEAL2_6605

:STEAL2_6605
if 
  100@ == 0
goto_if_false @STEAL2_6678
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, -1656.2, 1210.2, 12.3, 7.0, 7.0, 7.0, False)
goto_if_false @STEAL2_6678
100@ = 1

:STEAL2_6678
if 
  100@ == 1
goto_if_false @STEAL2_6989
Car.UnpausePlayback(34@)
if 
  not Car.IsDead(38@)
goto_if_false @STEAL2_6722
Car.UnpausePlayback(38@)

:STEAL2_6722
if 
  not Car.IsDead(39@)
goto_if_false @STEAL2_6743
Car.UnpausePlayback(39@)

:STEAL2_6743
if 
  not Car.IsDead(40@)
goto_if_false @STEAL2_6764
Car.UnpausePlayback(40@)

:STEAL2_6764
if 
  not Car.IsDead(41@)
goto_if_false @STEAL2_6785
Car.UnpausePlayback(41@)

:STEAL2_6785
if 
  not Car.IsDead(42@)
goto_if_false @STEAL2_6806
Car.UnpausePlayback(42@)

:STEAL2_6806
if 
  not Car.IsDead(43@)
goto_if_false @STEAL2_6827
Car.UnpausePlayback(43@)

:STEAL2_6827
if 
  not Car.IsDead(95@)
goto_if_false @STEAL2_6848
Car.UnpausePlayback(95@)

:STEAL2_6848
if 
  not Car.IsDead(44@)
goto_if_false @STEAL2_6879
Car.SetCruiseSpeed(44@, 15.0)
Car.WanderRandomly(44@)

:STEAL2_6879
if 
  not Car.IsDead(45@)
goto_if_false @STEAL2_6910
Car.SetCruiseSpeed(45@, 15.0)
Car.WanderRandomly(45@)

:STEAL2_6910
if 
  not Car.IsDead(46@)
goto_if_false @STEAL2_6941
Car.SetCruiseSpeed(46@, 15.0)
Car.WanderRandomly(46@)

:STEAL2_6941
if 
  not Car.IsDead(48@)
goto_if_false @STEAL2_6972
Car.SetCruiseSpeed(48@, 15.0)
Car.WanderRandomly(48@)

:STEAL2_6972
Streaming.RequestModel(597)
Streaming.RequestModel(281)
100@ = 2

:STEAL2_6989
if 
  100@ == 2
goto_if_false @STEAL2_7393
gosub @STEAL2_26853
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_7393
Car.StartPlayback(34@, 79)
if 
  not Car.IsDead(95@)
goto_if_false @STEAL2_7060
Car.StartPlayback(95@, 78)

:STEAL2_7060
if 
  not Car.IsDead(49@)
goto_if_false @STEAL2_7116
Car.SetForwardSpeed(49@, 15.0)
Car.SetCruiseSpeed(49@, 15.0)
Car.GotoCoordinates(49@, -1881.4, 1038.7, 44.8)

:STEAL2_7116
if 
  not Car.IsDead(50@)
goto_if_false @STEAL2_7172
Car.SetForwardSpeed(50@, 15.0)
Car.SetCruiseSpeed(50@, 15.0)
Car.GotoCoordinates(50@, -1880.1, 1029.8, 44.8)

:STEAL2_7172
if 
  not Car.IsDead(51@)
goto_if_false @STEAL2_7213
Car.SetForwardSpeed(51@, 15.0)
Car.SetCruiseSpeed(51@, 15.0)
Car.WanderRandomly(51@)

:STEAL2_7213
Char.MarkAsNoLongerNeeded(58@)
Char.MarkAsNoLongerNeeded(60@)
Char.MarkAsNoLongerNeeded(61@)
Char.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(63@)
Char.MarkAsNoLongerNeeded(64@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(67@)
Char.MarkAsNoLongerNeeded(68@)
Char.MarkAsNoLongerNeeded(70@)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(38@)
Car.MarkAsNoLongerNeeded(39@)
Car.MarkAsNoLongerNeeded(40@)
Car.MarkAsNoLongerNeeded(41@)
Car.MarkAsNoLongerNeeded(42@)
Car.MarkAsNoLongerNeeded(43@)
Car.MarkAsNoLongerNeeded(44@)
Car.MarkAsNoLongerNeeded(45@)
Car.MarkAsNoLongerNeeded(46@)
Car.MarkAsNoLongerNeeded(48@)
Object.MarkAsNoLongerNeeded(80@)
Object.MarkAsNoLongerNeeded(81@)
Object.MarkAsNoLongerNeeded(82@)
Object.MarkAsNoLongerNeeded(83@)
Object.MarkAsNoLongerNeeded(84@)
Streaming.MarkModelAsNoLongerNeeded(414)
Streaming.MarkModelAsNoLongerNeeded(#CARDBOARDBOX)
TIMERB = 0
114@ = 0
103@ = 0
100@ = 0
99@ = 2

:STEAL2_7393
if 
  99@ == 2
goto_if_false @STEAL2_9654
gosub @STEAL2_26853
if 
  114@ == 0
goto_if_false @STEAL2_7503
if 
  112@ == 0
goto_if_false @STEAL2_7503
112@ = 8
113@ = 0
159@ = 1
gosub @STEAL2_30237
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 1

:STEAL2_7503
if 
  114@ == 1
goto_if_false @STEAL2_7612
if 
  Car.Locate2D(34@, -1702.4, 921.4, 3.0, 3.0, False)
goto_if_false @STEAL2_7612
if 
  112@ == 0
goto_if_false @STEAL2_7612
112@ = 8
113@ = 1
159@ = 2
gosub @STEAL2_30237
114@ = 2

:STEAL2_7612
if 
  114@ == 2
goto_if_false @STEAL2_7669
if 
  112@ == 0
goto_if_false @STEAL2_7669
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 3

:STEAL2_7669
if 
  103@ == 0
goto_if_false @STEAL2_7687

:STEAL2_7687
if 
  100@ == 0
goto_if_false @STEAL2_7722
Streaming.RequestModel(597)
Streaming.RequestModel(281)
100@ = 1

:STEAL2_7722
if 
  100@ == 1
goto_if_false @STEAL2_9397
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_7869
World.ClearArea(-1802.9, 853.6, 23.4, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
37@ = Car.Create(108@, -1802.9, 853.6, 23.4)
Car.SetHeading(37@, 89.3)
Car.LockDoors(37@, CarLock.Locked)
59@ = Char.CreateRandomAsDriver(37@)
Car.SetLoadCollisionFlag(37@, True)
Char.SetCanBeShotInVehicle(59@, False)

:STEAL2_7869
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_7998
World.ClearArea(-1852.2, 836.7, 33.8, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
39@ = Car.Create(108@, -1852.2, 836.7, 33.8)
Car.SetHeading(39@, 270.9)
Car.LockDoors(39@, CarLock.Locked)
61@ = Char.CreateRandomAsDriver(39@)
Car.SetLoadCollisionFlag(39@, True)
Char.SetCanBeShotInVehicle(61@, False)

:STEAL2_7998
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_8127
World.ClearArea(-1876.7, 836.3, 33.8, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
40@ = Car.Create(108@, -1876.7, 836.3, 33.8)
Car.SetHeading(40@, 270.9)
Car.LockDoors(40@, CarLock.Locked)
62@ = Char.CreateRandomAsDriver(40@)
Car.SetLoadCollisionFlag(40@, True)
Char.SetCanBeShotInVehicle(62@, False)

:STEAL2_8127
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_8256
World.ClearArea(-1903.1, 826.2, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
42@ = Car.Create(108@, -1903.1, 826.2, 33.7)
Car.SetHeading(42@, 178.0)
Car.LockDoors(42@, CarLock.Locked)
64@ = Char.CreateRandomAsDriver(42@)
Car.SetLoadCollisionFlag(42@, True)
Char.SetCanBeShotInVehicle(64@, False)

:STEAL2_8256
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_8385
World.ClearArea(-1915.7, 836.6, 34.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
43@ = Car.Create(108@, -1915.7, 836.6, 34.2)
Car.SetHeading(43@, 272.0)
Car.LockDoors(43@, CarLock.Locked)
65@ = Char.CreateRandomAsDriver(43@)
Car.SetLoadCollisionFlag(43@, True)
Char.SetCanBeShotInVehicle(65@, False)

:STEAL2_8385
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_8514
World.ClearArea(-1902.8, 866.4, 34.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
44@ = Car.Create(108@, -1902.8, 866.4, 34.2)
Car.SetHeading(44@, 179.4)
Car.LockDoors(44@, CarLock.Locked)
66@ = Char.CreateRandomAsDriver(44@)
Car.SetLoadCollisionFlag(44@, True)
Char.SetCanBeShotInVehicle(66@, False)

:STEAL2_8514
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_8643
World.ClearArea(-1902.7, 882.1, 34.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
45@ = Car.Create(108@, -1902.7, 882.1, 34.2)
Car.SetHeading(45@, 179.4)
Car.LockDoors(45@, CarLock.Locked)
67@ = Char.CreateRandomAsDriver(45@)
Car.SetLoadCollisionFlag(45@, True)
Char.SetCanBeShotInVehicle(67@, False)

:STEAL2_8643
World.ClearArea(-1805.5, 900.3, 23.9, 5.0, True)
68@ = Char.CreateRandom(-1805.5, 900.3, 23.9)
Char.SetHeading(68@, 352.4)
World.ClearArea(-1804.5, 901.3, 23.9, 5.0, True)
69@ = Char.CreateRandom(-1804.5, 901.3, 23.9)
Char.SetHeading(69@, 169.0)
Task.ChatWithChar(68@, 69@, True, 1)
Task.ChatWithChar(69@, 68@, False, 1)
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_8904
World.ClearArea(-1988.1, 933.5, 43.9, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
57@ = Car.Create(108@, -1988.1, 933.5, 43.9)
Car.SetHeading(57@, 85.7)
Car.LockDoors(57@, CarLock.Locked)
79@ = Char.CreateRandomAsDriver(57@)
Car.SetLoadCollisionFlag(57@, True)
Char.SetCanBeShotInVehicle(79@, False)

:STEAL2_8904
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_9033
World.ClearArea(-2007.7, 1039.2, 55.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
52@ = Car.Create(108@, -2007.7, 1039.2, 55.2)
Car.SetHeading(52@, 178.1)
Car.LockDoors(52@, CarLock.Locked)
74@ = Char.CreateRandomAsDriver(52@)
Car.SetLoadCollisionFlag(52@, True)
Char.SetCanBeShotInVehicle(74@, False)

:STEAL2_9033
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_9162
World.ClearArea(-2009.2, 962.6, 44.1, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
53@ = Car.Create(108@, -2009.2, 962.6, 44.1)
Car.SetHeading(53@, 179.8)
Car.LockDoors(53@, CarLock.Locked)
75@ = Char.CreateRandomAsDriver(53@)
Car.SetLoadCollisionFlag(53@, True)
Char.SetCanBeShotInVehicle(75@, False)

:STEAL2_9162
if 
  Streaming.HasModelLoaded(597)
goto_if_false @STEAL2_9276
World.ClearArea(-1998.2, 825.3, 44.1, 5.0, True)
54@ = Car.Create(597, -1998.2, 825.3, 44.1)
Car.SetHeading(54@, 6.4)
76@ = Char.CreateInsideCar(54@, PedType.Mission1, 281)
Car.SetDrivingStyle(54@, DrivingMode.AvoidCars)
Car.LockDoors(54@, CarLock.Locked)
Car.SetLoadCollisionFlag(54@, True)
Char.SetCanBeShotInVehicle(76@, False)

:STEAL2_9276
if 
  Streaming.HasModelLoaded(597)
goto_if_false @STEAL2_9390
World.ClearArea(-1997.5, 815.6, 44.1, 5.0, True)
55@ = Car.Create(597, -1997.5, 815.6, 44.1)
Car.SetHeading(55@, 1.0)
77@ = Char.CreateInsideCar(55@, PedType.Mission1, 281)
Car.SetDrivingStyle(55@, DrivingMode.AvoidCars)
Car.LockDoors(55@, CarLock.Locked)
Car.SetLoadCollisionFlag(55@, True)
Char.SetCanBeShotInVehicle(77@, False)

:STEAL2_9390
100@ = 2

:STEAL2_9397
if 
  100@ == 2
goto_if_false @STEAL2_9654
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_9654
Car.MarkAsNoLongerNeeded(51@)
Char.MarkAsNoLongerNeeded(73@)
Car.StartPlayback(34@, 81)
if 
  not Car.IsDead(95@)
goto_if_false @STEAL2_9471
Car.StartPlayback(95@, 80)

:STEAL2_9471
if 
  not Car.IsDead(37@)
goto_if_false @STEAL2_9527
Car.SetForwardSpeed(37@, 15.0)
Car.SetCruiseSpeed(37@, 15.0)
Car.GotoCoordinates(37@, -1881.4, 853.7, 35.7)

:STEAL2_9527
if 
  not Car.IsDead(39@)
goto_if_false @STEAL2_9583
Car.SetForwardSpeed(39@, 15.0)
Car.SetCruiseSpeed(39@, 15.0)
Car.GotoCoordinates(39@, -1717.8, 755.3, 24.8)

:STEAL2_9583
if 
  not Car.IsDead(40@)
goto_if_false @STEAL2_9619
Car.SetForwardSpeed(40@, 15.0)
Car.SetCruiseSpeed(40@, 15.0)

:STEAL2_9619
TIMERB = 0
114@ = 0
103@ = 0
100@ = 0
99@ = 3

:STEAL2_9654
if 
  99@ == 3
goto_if_false @STEAL2_10099
gosub @STEAL2_26853
if 
  114@ == 0
goto_if_false @STEAL2_9802
if 
  Car.Locate2D(34@, -1855.2, 916.9, 3.0, 3.0, False)
goto_if_false @STEAL2_9802
if 
  112@ == 0
goto_if_false @STEAL2_9802
112@ = 8
113@ = 2
159@ = 3
gosub @STEAL2_30237
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 1

:STEAL2_9802
if 
  114@ == 1
goto_if_false @STEAL2_9859
if 
  112@ == 0
goto_if_false @STEAL2_9859
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 2

:STEAL2_9859
if 
  103@ == 0
goto_if_false @STEAL2_9877

:STEAL2_9877
if 
  100@ == 0
goto_if_false @STEAL2_9902
100@ = 1

:STEAL2_9902
if 
  100@ == 1
goto_if_false @STEAL2_10099
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_10099
Char.MarkAsNoLongerNeeded(59@)
Char.MarkAsNoLongerNeeded(61@)
Char.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(64@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(67@)
Char.MarkAsNoLongerNeeded(68@)
Char.MarkAsNoLongerNeeded(69@)
Car.MarkAsNoLongerNeeded(37@)
Car.MarkAsNoLongerNeeded(39@)
Car.MarkAsNoLongerNeeded(40@)
Car.MarkAsNoLongerNeeded(42@)
Car.MarkAsNoLongerNeeded(43@)
Car.MarkAsNoLongerNeeded(44@)
Car.MarkAsNoLongerNeeded(45@)
Object.Delete(80@)
Object.Delete(81@)
Object.Delete(82@)
Object.Delete(83@)
Object.Delete(84@)
if 
  not Car.IsDead(95@)
goto_if_false @STEAL2_10064
Car.StartPlayback(95@, 83)

:STEAL2_10064
Car.StartPlayback(34@, 84)
114@ = 0
103@ = 0
100@ = 0
99@ = 4

:STEAL2_10099
if 
  99@ == 4
goto_if_false @STEAL2_12834
gosub @STEAL2_26853
if 
  114@ == 0
goto_if_false @STEAL2_10209
if 
  112@ == 0
goto_if_false @STEAL2_10209
112@ = 8
113@ = 3
159@ = 4
gosub @STEAL2_30237
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 1

:STEAL2_10209
if 
  114@ == 1
goto_if_false @STEAL2_10259
if 
  112@ == 0
goto_if_false @STEAL2_10259
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
114@ = 2

:STEAL2_10259
if 
  114@ == 2
goto_if_false @STEAL2_10316
if 
  112@ == 0
goto_if_false @STEAL2_10316
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 3

:STEAL2_10316
if 
  103@ == 0
goto_if_false @STEAL2_10334

:STEAL2_10334
if 
  100@ == 0
goto_if_false @STEAL2_11841
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_10481
World.ClearArea(-2350.7, 1091.2, 54.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
36@ = Car.Create(108@, -2350.7, 1091.2, 54.2)
Car.SetHeading(36@, 72.3)
Car.LockDoors(36@, CarLock.Locked)
58@ = Char.CreateRandomAsDriver(36@)
Car.SetLoadCollisionFlag(36@, True)
Char.SetCanBeShotInVehicle(58@, False)

:STEAL2_10481
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_10610
World.ClearArea(-2347.8, 1081.2, 54.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
37@ = Car.Create(108@, -2347.8, 1081.2, 54.2)
Car.SetHeading(37@, 73.7)
Car.LockDoors(37@, CarLock.Locked)
59@ = Char.CreateRandomAsDriver(37@)
Car.SetLoadCollisionFlag(37@, True)
Char.SetCanBeShotInVehicle(59@, False)

:STEAL2_10610
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_10746
World.ClearArea(-2124.1, 1080.8, 54.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
38@ = Car.Create(108@, -2124.1, 1080.8, 54.2)
Car.SetHeading(38@, 90.7)
Car.LockDoors(38@, CarLock.Locked)
60@ = Char.CreateRandomAsDriver(38@)
Car.SetStayInSlowLane(38@, True)
Car.SetLoadCollisionFlag(38@, True)
Char.SetCanBeShotInVehicle(60@, False)

:STEAL2_10746
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_10882
World.ClearArea(-2132.0, 1059.0, 54.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
39@ = Car.Create(108@, -2132.0, 1059.0, 54.2)
Car.SetHeading(39@, 269.2)
Car.LockDoors(39@, CarLock.Locked)
61@ = Char.CreateRandomAsDriver(39@)
Car.SetStayInFastLane(39@, True)
Car.SetLoadCollisionFlag(39@, True)
Char.SetCanBeShotInVehicle(61@, False)

:STEAL2_10882
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_11018
World.ClearArea(-2166.7, 1050.8, 54.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
40@ = Car.Create(108@, -2166.7, 1050.8, 54.2)
Car.SetHeading(40@, 270.2)
Car.LockDoors(40@, CarLock.Locked)
62@ = Char.CreateRandomAsDriver(40@)
Car.SetStayInSlowLane(40@, True)
Car.SetLoadCollisionFlag(40@, True)
Char.SetCanBeShotInVehicle(62@, False)

:STEAL2_11018
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_11154
World.ClearArea(-2231.0, 1059.8, 54.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
41@ = Car.Create(108@, -2231.0, 1059.8, 54.2)
Car.SetHeading(41@, 268.2)
Car.LockDoors(41@, CarLock.Locked)
63@ = Char.CreateRandomAsDriver(41@)
Car.SetStayInFastLane(41@, True)
Car.SetLoadCollisionFlag(41@, True)
Char.SetCanBeShotInVehicle(63@, False)

:STEAL2_11154
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_11290
World.ClearArea(-2299.5, 1052.1, 54.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
42@ = Car.Create(108@, -2299.5, 1052.1, 54.2)
Car.SetHeading(42@, 272.2)
Car.LockDoors(42@, CarLock.Locked)
64@ = Char.CreateRandomAsDriver(42@)
Car.SetStayInSlowLane(42@, True)
Car.SetLoadCollisionFlag(42@, True)
Char.SetCanBeShotInVehicle(64@, False)

:STEAL2_11290
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_11426
World.ClearArea(-2338.1, 1066.2, 54.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
43@ = Car.Create(108@, -2338.1, 1066.2, 54.2)
Car.SetHeading(43@, 255.2)
Car.LockDoors(43@, CarLock.Locked)
65@ = Char.CreateRandomAsDriver(43@)
Car.SetStayInFastLane(43@, True)
Car.SetLoadCollisionFlag(43@, True)
Char.SetCanBeShotInVehicle(65@, False)

:STEAL2_11426
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_11562
World.ClearArea(-2344.3, 1058.8, 54.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
44@ = Car.Create(108@, -2344.3, 1058.8, 54.2)
Car.SetHeading(44@, 257.1)
Car.LockDoors(44@, CarLock.Locked)
66@ = Char.CreateRandomAsDriver(44@)
Car.SetStayInSlowLane(44@, True)
Car.SetLoadCollisionFlag(44@, True)
Char.SetCanBeShotInVehicle(66@, False)

:STEAL2_11562
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_11698
World.ClearArea(-2446.5, 1097.0, 54.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
45@ = Car.Create(108@, -2446.5, 1097.0, 54.2)
Car.SetHeading(45@, 266.7)
Car.LockDoors(45@, CarLock.Locked)
67@ = Char.CreateRandomAsDriver(45@)
Car.SetStayInFastLane(45@, True)
Car.SetLoadCollisionFlag(45@, True)
Char.SetCanBeShotInVehicle(67@, False)

:STEAL2_11698
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_11834
World.ClearArea(-2427.5, 1087.2, 54.2, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
46@ = Car.Create(108@, -2427.5, 1087.2, 54.2)
Car.SetHeading(46@, 261.0)
Car.LockDoors(46@, CarLock.Locked)
68@ = Char.CreateRandomAsDriver(46@)
Car.SetStayInSlowLane(46@, True)
Car.SetLoadCollisionFlag(46@, True)
Char.SetCanBeShotInVehicle(68@, False)

:STEAL2_11834
100@ = 1

:STEAL2_11841
if 
  100@ == 1
goto_if_false @STEAL2_12183
if 
  Car.Locate2D(34@, -1990.0, 838.0, 3.0, 3.0, False)
goto_if_false @STEAL2_12183
if 
  not Car.IsDead(51@)
goto_if_false @STEAL2_11920
Car.StartPlayback(51@, 85)

:STEAL2_11920
if 
  not Car.IsDead(52@)
goto_if_false @STEAL2_11976
Car.SetForwardSpeed(52@, 15.0)
Car.SetCruiseSpeed(52@, 15.0)
Car.GotoCoordinates(52@, -2008.2, 581.2, 35.3)

:STEAL2_11976
if 
  not Car.IsDead(53@)
goto_if_false @STEAL2_12032
Car.SetForwardSpeed(53@, 15.0)
Car.SetCruiseSpeed(53@, 15.0)
Car.GotoCoordinates(53@, -2008.2, 571.2, 35.3)

:STEAL2_12032
if 
  not Car.IsDead(54@)
goto_if_false @STEAL2_12104
Car.SetForwardSpeed(54@, 15.0)
Car.SetCruiseSpeed(54@, 40.0)
if 
  not Car.IsDead(34@)
goto_if_false @STEAL2_12104
Car.SetFollowCar(54@, 34@, 10.0)
Car.SwitchSiren(54@, True)

:STEAL2_12104
if 
  not Car.IsDead(55@)
goto_if_false @STEAL2_12176
Car.SetForwardSpeed(55@, 15.0)
Car.SetCruiseSpeed(55@, 40.0)
if 
  not Car.IsDead(34@)
goto_if_false @STEAL2_12176
Car.SetFollowCar(55@, 34@, 20.0)
Car.SwitchSiren(55@, True)

:STEAL2_12176
100@ = 2

:STEAL2_12183
if 
  100@ == 2
goto_if_false @STEAL2_12834
Streaming.RequestModel(437)
Streaming.RequestModel(461)
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_12834
Char.MarkAsNoLongerNeeded(79@)
Char.MarkAsNoLongerNeeded(74@)
Char.MarkAsNoLongerNeeded(75@)
Char.MarkAsNoLongerNeeded(76@)
Char.MarkAsNoLongerNeeded(77@)
Car.MarkAsNoLongerNeeded(57@)
Car.MarkAsNoLongerNeeded(52@)
Car.MarkAsNoLongerNeeded(53@)
Car.MarkAsNoLongerNeeded(54@)
Car.MarkAsNoLongerNeeded(55@)
Car.MarkAsNoLongerNeeded(95@)
Streaming.MarkModelAsNoLongerNeeded(449)
Car.StartPlayback(34@, 86)
if 
  not Car.IsDead(38@)
goto_if_false @STEAL2_12317
Car.StartPlayback(38@, 87)

:STEAL2_12317
if 
  not Car.IsDead(51@)
goto_if_false @STEAL2_12354
if 
  not Car.IsPlaybackGoingOn(51@)
goto_if_false @STEAL2_12354
Car.StopPlayback(51@)

:STEAL2_12354
Streaming.RemoveCarRecording(85)
if 
  not Car.IsDead(39@)
goto_if_false @STEAL2_12414
Car.SetForwardSpeed(39@, 15.0)
Car.SetCruiseSpeed(39@, 15.0)
Car.GotoCoordinates(39@, -1896.9, 1060.1, 44.2)

:STEAL2_12414
if 
  not Car.IsDead(40@)
goto_if_false @STEAL2_12470
Car.SetForwardSpeed(40@, 15.0)
Car.SetCruiseSpeed(40@, 15.0)
Car.GotoCoordinates(40@, -1896.9, 1050.1, 44.2)

:STEAL2_12470
if 
  not Car.IsDead(41@)
goto_if_false @STEAL2_12526
Car.SetForwardSpeed(41@, 15.0)
Car.SetCruiseSpeed(41@, 15.0)
Car.GotoCoordinates(41@, -1906.9, 1060.1, 48.2)

:STEAL2_12526
if 
  not Car.IsDead(42@)
goto_if_false @STEAL2_12582
Car.SetForwardSpeed(42@, 15.0)
Car.SetCruiseSpeed(42@, 15.0)
Car.GotoCoordinates(42@, -1906.9, 1050.1, 48.2)

:STEAL2_12582
if 
  not Car.IsDead(43@)
goto_if_false @STEAL2_12638
Car.SetForwardSpeed(43@, 15.0)
Car.SetCruiseSpeed(43@, 15.0)
Car.GotoCoordinates(43@, -1916.9, 1060.1, 52.2)

:STEAL2_12638
if 
  not Car.IsDead(44@)
goto_if_false @STEAL2_12694
Car.SetForwardSpeed(44@, 15.0)
Car.SetCruiseSpeed(44@, 15.0)
Car.GotoCoordinates(44@, -1916.9, 1050.1, 52.2)

:STEAL2_12694
if 
  not Car.IsDead(45@)
goto_if_false @STEAL2_12750
Car.SetForwardSpeed(45@, 15.0)
Car.SetCruiseSpeed(45@, 15.0)
Car.GotoCoordinates(45@, -1926.9, 1060.1, 56.2)

:STEAL2_12750
if 
  not Car.IsDead(46@)
goto_if_false @STEAL2_12806
Car.SetForwardSpeed(46@, 15.0)
Car.SetCruiseSpeed(46@, 15.0)
Car.GotoCoordinates(46@, -1926.9, 1050.1, 56.2)

:STEAL2_12806
114@ = 0
103@ = 0
100@ = 0
99@ = 5

:STEAL2_12834
if 
  99@ == 5
goto_if_false @STEAL2_14364
gosub @STEAL2_26853
if 
  114@ == 0
goto_if_false @STEAL2_12944
if 
  112@ == 0
goto_if_false @STEAL2_12944
112@ = 8
113@ = 4
159@ = 5
gosub @STEAL2_30237
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 1

:STEAL2_12944
if 
  114@ == 1
goto_if_false @STEAL2_12985
Text.PrintHelp('STE2_03')
Car.GiveNonPlayerNitro(34@)
114@ = 2

:STEAL2_12985
if 
  114@ == 2
goto_if_false @STEAL2_13094
if 
  Car.Locate2D(34@, -2319.8, 1080.2, 3.0, 3.0, False)
goto_if_false @STEAL2_13094
if 
  112@ == 0
goto_if_false @STEAL2_13094
112@ = 8
113@ = 5
159@ = 6
gosub @STEAL2_30237
114@ = 3

:STEAL2_13094
if 
  114@ == 3
goto_if_false @STEAL2_13151
if 
  112@ == 0
goto_if_false @STEAL2_13151
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 4

:STEAL2_13151
if 
  103@ == 0
goto_if_false @STEAL2_13169

:STEAL2_13169
if 
  100@ == 0
goto_if_false @STEAL2_14004
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_13316
World.ClearArea(-2503.3, 1237.0, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
47@ = Car.Create(108@, -2503.3, 1237.0, 33.7)
Car.SetHeading(47@, 249.3)
Car.LockDoors(47@, CarLock.Locked)
69@ = Char.CreateRandomAsDriver(47@)
Car.SetLoadCollisionFlag(47@, True)
Char.SetCanBeShotInVehicle(69@, False)

:STEAL2_13316
World.ClearArea(-2741.5, 1058.2, 48.1, 5.0, True)
50@ = Car.Create(461, -2741.5, 1058.2, 48.1)
Car.SetHeading(50@, 337.2)
72@ = Char.CreateRandomAsDriver(50@)
Car.SetLoadCollisionFlag(50@, True)
Char.SetCanBeShotInVehicle(72@, False)
World.ClearArea(-2513.7, 1246.2, 34.1, 5.0, True)
52@ = Car.Create(437, -2513.7, 1246.2, 34.1)
Car.SetHeading(52@, 82.5)
74@ = Char.CreateRandomAsDriver(52@)
Car.SetLoadCollisionFlag(52@, True)
Car.LockDoors(52@, CarLock.Locked)
Char.SetCanBeShotInVehicle(74@, False)
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_13610
World.ClearArea(-2471.6, 1219.7, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
53@ = Car.Create(108@, -2471.6, 1219.7, 33.7)
Car.SetHeading(53@, 50.8)
Car.LockDoors(53@, CarLock.Locked)
75@ = Char.CreateRandomAsDriver(53@)
Car.SetLoadCollisionFlag(53@, True)
Char.SetCanBeShotInVehicle(75@, False)

:STEAL2_13610
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_13739
World.ClearArea(-2459.1, 1224.3, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
54@ = Car.Create(108@, -2459.1, 1224.3, 33.7)
Car.SetHeading(54@, 163.8)
Car.LockDoors(54@, CarLock.Locked)
76@ = Char.CreateRandomAsDriver(54@)
Car.SetLoadCollisionFlag(54@, True)
Char.SetCanBeShotInVehicle(76@, False)

:STEAL2_13739
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_13868
World.ClearArea(-2458.1, 1234.3, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
55@ = Car.Create(108@, -2458.1, 1234.3, 33.7)
Car.SetHeading(55@, 178.2)
Car.LockDoors(55@, CarLock.Locked)
77@ = Char.CreateRandomAsDriver(55@)
Car.SetLoadCollisionFlag(55@, True)
Char.SetCanBeShotInVehicle(77@, False)

:STEAL2_13868
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_13997
World.ClearArea(-2474.5, 1196.9, 34.4, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
56@ = Car.Create(108@, -2474.5, 1196.9, 34.4)
Car.SetHeading(56@, 310.3)
Car.LockDoors(56@, CarLock.Locked)
78@ = Char.CreateRandomAsDriver(56@)
Car.SetLoadCollisionFlag(56@, True)
Char.SetCanBeShotInVehicle(78@, False)

:STEAL2_13997
100@ = 1

:STEAL2_14004
if 
  100@ == 1
goto_if_false @STEAL2_14364
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_14364
Char.MarkAsNoLongerNeeded(58@)
Char.MarkAsNoLongerNeeded(59@)
Char.MarkAsNoLongerNeeded(60@)
Char.MarkAsNoLongerNeeded(61@)
Char.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(63@)
Char.MarkAsNoLongerNeeded(64@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(67@)
Char.MarkAsNoLongerNeeded(68@)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(37@)
Car.MarkAsNoLongerNeeded(38@)
Car.MarkAsNoLongerNeeded(39@)
Car.MarkAsNoLongerNeeded(40@)
Car.MarkAsNoLongerNeeded(41@)
Car.MarkAsNoLongerNeeded(42@)
Car.MarkAsNoLongerNeeded(43@)
Car.MarkAsNoLongerNeeded(44@)
Car.MarkAsNoLongerNeeded(45@)
Car.MarkAsNoLongerNeeded(46@)
if 
  not Car.IsDead(47@)
goto_if_false @STEAL2_14204
Car.SetForwardSpeed(47@, 15.0)
Car.SetCruiseSpeed(47@, 15.0)
Car.GotoCoordinates(47@, -2293.5, 1172.3, 54.8)

:STEAL2_14204
if 
  not Car.IsDead(50@)
goto_if_false @STEAL2_14227
Car.StartPlayback(50@, 91)

:STEAL2_14227
if 
  not Car.IsDead(52@)
goto_if_false @STEAL2_14250
Car.StartPlayback(52@, 90)

:STEAL2_14250
if 
  not Car.IsDead(53@)
goto_if_false @STEAL2_14273
Car.StartPlayback(53@, 89)

:STEAL2_14273
if 
  not Car.IsDead(56@)
goto_if_false @STEAL2_14329
Car.SetForwardSpeed(56@, 15.0)
Car.SetCruiseSpeed(56@, 15.0)
Car.GotoCoordinates(56@, -2283.5, 1172.3, 54.8)

:STEAL2_14329
Car.StartPlayback(34@, 88)
114@ = 0
103@ = 0
100@ = 0
99@ = 6

:STEAL2_14364
if 
  99@ == 6
goto_if_false @STEAL2_15242
gosub @STEAL2_26853
if 
  103@ == 0
goto_if_false @STEAL2_14407

:STEAL2_14407
if 
  100@ == 0
goto_if_false @STEAL2_14931
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_14554
World.ClearArea(-2533.8, 1242.8, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
48@ = Car.Create(108@, -2533.8, 1242.8, 33.7)
Car.SetHeading(48@, 288.3)
Car.LockDoors(48@, CarLock.Locked)
70@ = Char.CreateRandomAsDriver(48@)
Car.SetLoadCollisionFlag(48@, True)
Char.SetCanBeShotInVehicle(70@, False)

:STEAL2_14554
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_14683
World.ClearArea(-2594.0, 1213.9, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
49@ = Car.Create(108@, -2594.0, 1213.9, 33.7)
Car.SetHeading(49@, 317.3)
Car.LockDoors(49@, CarLock.Locked)
71@ = Char.CreateRandomAsDriver(49@)
Car.SetLoadCollisionFlag(49@, True)
Char.SetCanBeShotInVehicle(71@, False)

:STEAL2_14683
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_14812
World.ClearArea(-2732.9, 1098.0, 45.0, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
51@ = Car.Create(108@, -2732.9, 1098.0, 45.0)
Car.SetHeading(51@, 218.5)
Car.LockDoors(51@, CarLock.Locked)
73@ = Char.CreateRandomAsDriver(51@)
Car.SetLoadCollisionFlag(51@, True)
Char.SetCanBeShotInVehicle(73@, False)

:STEAL2_14812
if 
  not Car.IsDead(48@)
goto_if_false @STEAL2_14868
Car.SetForwardSpeed(48@, 15.0)
Car.SetCruiseSpeed(48@, 15.0)
Car.GotoCoordinates(48@, -2303.5, 1172.3, 54.8)

:STEAL2_14868
if 
  not Car.IsDead(49@)
goto_if_false @STEAL2_14924
Car.SetForwardSpeed(49@, 15.0)
Car.SetCruiseSpeed(49@, 15.0)
Car.GotoCoordinates(49@, -2313.5, 1060.1, 44.2)

:STEAL2_14924
100@ = 1

:STEAL2_14931
if 
  100@ == 1
goto_if_false @STEAL2_15064
if 
  not Car.IsDead(50@)
goto_if_false @STEAL2_15057
if 
  Car.Locate2D(34@, -2599.3, 1206.5, 3.0, 3.0, False)
goto_if_false @STEAL2_15050
if 
  Car.IsPlaybackGoingOn(50@)
goto_if_false @STEAL2_15043
Car.StopPlayback(50@)
Car.MarkAsNoLongerNeeded(50@)
100@ = 2
goto @STEAL2_15050

:STEAL2_15043
100@ = 2

:STEAL2_15050
goto @STEAL2_15064

:STEAL2_15057
100@ = 2

:STEAL2_15064
if 
  100@ == 2
goto_if_false @STEAL2_15242
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_15242
Char.MarkAsNoLongerNeeded(69@)
Char.MarkAsNoLongerNeeded(70@)
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(72@)
Char.MarkAsNoLongerNeeded(73@)
Char.MarkAsNoLongerNeeded(74@)
Char.MarkAsNoLongerNeeded(75@)
Char.MarkAsNoLongerNeeded(76@)
Char.MarkAsNoLongerNeeded(77@)
Char.MarkAsNoLongerNeeded(78@)
Car.MarkAsNoLongerNeeded(47@)
Car.MarkAsNoLongerNeeded(48@)
Car.MarkAsNoLongerNeeded(49@)
Car.MarkAsNoLongerNeeded(50@)
Car.MarkAsNoLongerNeeded(51@)
Car.MarkAsNoLongerNeeded(52@)
Car.MarkAsNoLongerNeeded(53@)
Car.MarkAsNoLongerNeeded(54@)
Car.MarkAsNoLongerNeeded(55@)
Car.MarkAsNoLongerNeeded(56@)
Streaming.RemoveCarRecording(91)
Car.StartPlayback(34@, 92)
Streaming.MarkModelAsNoLongerNeeded(461)
114@ = 0
103@ = 0
100@ = 0
99@ = 7

:STEAL2_15242
if 
  99@ == 7
goto_if_false @STEAL2_18173
gosub @STEAL2_26853
if 
  114@ == 0
goto_if_false @STEAL2_15345
if 
  112@ == 0
goto_if_false @STEAL2_15345
112@ = 9
113@ = 0
gosub @STEAL2_30237
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 1

:STEAL2_15345
if 
  114@ == 1
goto_if_false @STEAL2_15454
if 
  Car.Locate2D(34@, -2622.2, 999.7, 3.0, 3.0, False)
goto_if_false @STEAL2_15454
if 
  112@ == 0
goto_if_false @STEAL2_15454
112@ = 8
113@ = 7
159@ = 8
gosub @STEAL2_30237
114@ = 2

:STEAL2_15454
if 
  114@ == 2
goto_if_false @STEAL2_15563
if 
  Car.Locate2D(34@, -2608.9, 913.3, 3.0, 3.0, False)
goto_if_false @STEAL2_15563
if 
  112@ == 0
goto_if_false @STEAL2_15563
112@ = 8
113@ = 8
159@ = 9
gosub @STEAL2_30237
114@ = 3

:STEAL2_15563
if 
  114@ == 3
goto_if_false @STEAL2_15620
if 
  112@ == 0
goto_if_false @STEAL2_15620
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 4

:STEAL2_15620
if 
  103@ == 0
goto_if_false @STEAL2_15638

:STEAL2_15638
if 
  100@ == 0
goto_if_false @STEAL2_17603
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_15785
World.ClearArea(-2595.6, 1006.4, 76.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
36@ = Car.Create(108@, -2595.6, 1006.4, 76.7)
Car.SetHeading(36@, 89.4)
Car.LockDoors(36@, CarLock.Locked)
58@ = Char.CreateRandomAsDriver(36@)
Car.SetLoadCollisionFlag(36@, True)
Char.SetCanBeShotInVehicle(58@, False)

:STEAL2_15785
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_15914
World.ClearArea(-2595.6, 1000.9, 76.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
37@ = Car.Create(108@, -2595.6, 1000.9, 76.7)
Car.SetHeading(37@, 274.4)
Car.LockDoors(37@, CarLock.Locked)
59@ = Char.CreateRandomAsDriver(37@)
Car.SetLoadCollisionFlag(37@, True)
Char.SetCanBeShotInVehicle(59@, False)

:STEAL2_15914
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_16043
World.ClearArea(-2604.0, 963.9, 76.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
38@ = Car.Create(108@, -2604.0, 963.9, 76.7)
Car.SetHeading(38@, 360.0)
Car.LockDoors(38@, CarLock.Locked)
60@ = Char.CreateRandomAsDriver(38@)
Car.SetLoadCollisionFlag(38@, True)
Char.SetCanBeShotInVehicle(60@, False)

:STEAL2_16043
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_16172
World.ClearArea(-2616.4, 905.6, 64.5, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
39@ = Car.Create(108@, -2616.4, 905.6, 64.5)
Car.SetHeading(39@, 269.5)
Car.LockDoors(39@, CarLock.Locked)
61@ = Char.CreateRandomAsDriver(39@)
Car.SetLoadCollisionFlag(39@, True)
Char.SetCanBeShotInVehicle(61@, False)

:STEAL2_16172
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_16301
World.ClearArea(-2536.9, 911.1, 63.5, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
40@ = Car.Create(108@, -2536.9, 911.1, 63.5)
Car.SetHeading(40@, 89.8)
Car.LockDoors(40@, CarLock.Locked)
62@ = Char.CreateRandomAsDriver(40@)
Car.SetLoadCollisionFlag(40@, True)
Char.SetCanBeShotInVehicle(62@, False)

:STEAL2_16301
if 
  Streaming.HasModelLoaded(597)
goto_if_false @STEAL2_16415
World.ClearArea(-2609.3, 1012.8, 76.8, 5.0, True)
41@ = Car.Create(597, -2609.3, 1012.8, 76.8)
Car.SetHeading(41@, 178.8)
Car.LockDoors(41@, CarLock.Locked)
63@ = Char.CreateInsideCar(41@, PedType.Mission1, 281)
Car.SetDrivingStyle(41@, DrivingMode.AvoidCars)
Car.SetLoadCollisionFlag(41@, True)
Char.SetCanBeShotInVehicle(63@, False)

:STEAL2_16415
if 
  Streaming.HasModelLoaded(597)
goto_if_false @STEAL2_16529
World.ClearArea(-2603.7, 1011.2, 76.8, 5.0, True)
42@ = Car.Create(597, -2603.7, 1011.2, 76.8)
Car.SetHeading(42@, 179.1)
Car.LockDoors(42@, CarLock.Locked)
64@ = Char.CreateInsideCar(42@, PedType.Mission1, 281)
Car.SetDrivingStyle(42@, DrivingMode.AvoidCars)
Car.SetLoadCollisionFlag(42@, True)
Char.SetCanBeShotInVehicle(64@, False)

:STEAL2_16529
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_16665
World.ClearArea(-2590.0, 705.9, 26.6, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
43@ = Car.Create(108@, -2590.0, 705.9, 26.6)
Car.SetHeading(43@, 268.3)
Car.LockDoors(43@, CarLock.Locked)
65@ = Char.CreateRandomAsDriver(43@)
Car.SetDrivingStyle(43@, DrivingMode.StopForCarsIgnoreLights)
Car.SetLoadCollisionFlag(43@, True)
Char.SetCanBeShotInVehicle(65@, False)

:STEAL2_16665
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_16801
World.ClearArea(-2463.0, 710.6, 33.9, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
44@ = Car.Create(108@, -2463.0, 710.6, 33.9)
Car.SetHeading(44@, 90.3)
Car.LockDoors(44@, CarLock.Locked)
66@ = Char.CreateRandomAsDriver(44@)
Car.SetDrivingStyle(44@, DrivingMode.StopForCarsIgnoreLights)
Car.SetLoadCollisionFlag(44@, True)
Char.SetCanBeShotInVehicle(66@, False)

:STEAL2_16801
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_16930
World.ClearArea(-2501.6, 562.7, 13.1, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
45@ = Car.Create(108@, -2501.6, 562.7, 13.1)
Car.SetHeading(45@, 271.8)
Car.LockDoors(45@, CarLock.Locked)
67@ = Char.CreateRandomAsDriver(45@)
Car.SetLoadCollisionFlag(45@, True)
Char.SetCanBeShotInVehicle(67@, False)

:STEAL2_16930
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_17066
World.ClearArea(-2390.9, 581.7, 23.9, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
46@ = Car.Create(108@, -2390.9, 581.7, 23.9)
Car.SetHeading(46@, 184.1)
Car.LockDoors(46@, CarLock.Locked)
68@ = Char.CreateRandomAsDriver(46@)
Car.SetDrivingStyle(46@, DrivingMode.StopForCarsIgnoreLights)
Car.SetLoadCollisionFlag(46@, True)
Char.SetCanBeShotInVehicle(68@, False)

:STEAL2_17066
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_17195
World.ClearArea(-2361.7, 510.9, 27.9, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
47@ = Car.Create(108@, -2361.7, 510.9, 27.9)
Car.SetHeading(47@, 100.0)
Car.LockDoors(47@, CarLock.Locked)
69@ = Char.CreateRandomAsDriver(47@)
Car.SetLoadCollisionFlag(47@, True)
Char.SetCanBeShotInVehicle(69@, False)

:STEAL2_17195
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_17324
World.ClearArea(-2281.3, 569.6, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
48@ = Car.Create(108@, -2281.3, 569.6, 33.7)
Car.SetHeading(48@, 87.6)
Car.LockDoors(48@, CarLock.Locked)
70@ = Char.CreateRandomAsDriver(48@)
Car.SetLoadCollisionFlag(48@, True)
Char.SetCanBeShotInVehicle(70@, False)

:STEAL2_17324
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_17460
World.ClearArea(-2358.9, 569.9, 23.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
49@ = Car.Create(108@, -2358.9, 569.9, 23.7)
Car.SetHeading(49@, 90.7)
Car.LockDoors(49@, CarLock.Locked)
71@ = Char.CreateRandomAsDriver(49@)
Car.SetDrivingStyle(49@, DrivingMode.StopForCarsIgnoreLights)
Car.SetLoadCollisionFlag(49@, True)
Char.SetCanBeShotInVehicle(71@, False)

:STEAL2_17460
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_17596
World.ClearArea(-2373.1, 569.6, 23.4, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
50@ = Car.Create(108@, -2373.1, 569.6, 23.4)
Car.SetHeading(50@, 91.3)
Car.LockDoors(50@, CarLock.Locked)
72@ = Char.CreateRandomAsDriver(50@)
Car.SetDrivingStyle(50@, DrivingMode.StopForCarsIgnoreLights)
Car.SetLoadCollisionFlag(50@, True)
Char.SetCanBeShotInVehicle(72@, False)

:STEAL2_17596
100@ = 1

:STEAL2_17603
if 
  100@ == 1
goto_if_false @STEAL2_17866
if 
  Car.Locate2D(34@, -2610.7, 992.2, 3.0, 3.0, False)
goto_if_false @STEAL2_17866
if 
  not Car.IsDead(38@)
goto_if_false @STEAL2_17715
Car.SetForwardSpeed(38@, 15.0)
Car.SetCruiseSpeed(38@, 15.0)
Car.GotoCoordinates(38@, -2736.4, 1006.9, 53.0)

:STEAL2_17715
if 
  not Car.IsDead(41@)
goto_if_false @STEAL2_17787
Car.SetForwardSpeed(41@, 15.0)
Car.SetCruiseSpeed(41@, 40.0)
if 
  not Car.IsDead(34@)
goto_if_false @STEAL2_17787
Car.SetFollowCar(41@, 34@, 10.0)
Car.SwitchSiren(41@, True)

:STEAL2_17787
if 
  not Car.IsDead(42@)
goto_if_false @STEAL2_17859
Car.SetForwardSpeed(42@, 15.0)
Car.SetCruiseSpeed(42@, 40.0)
if 
  not Car.IsDead(34@)
goto_if_false @STEAL2_17859
Car.SetFollowCar(42@, 34@, 20.0)
Car.SwitchSiren(42@, True)

:STEAL2_17859
100@ = 2

:STEAL2_17866
if 
  100@ == 2
goto_if_false @STEAL2_18008
if 
  Car.Locate2D(34@, -2610.4, 922.8, 3.0, 3.0, False)
goto_if_false @STEAL2_18008
if 
  not Car.IsDead(39@)
goto_if_false @STEAL2_17945
Car.StartPlayback(39@, 93)

:STEAL2_17945
if 
  not Car.IsDead(40@)
goto_if_false @STEAL2_18001
Car.SetForwardSpeed(40@, 15.0)
Car.SetCruiseSpeed(40@, 15.0)
Car.GotoCoordinates(40@, -2604.0, 963.9, 76.7)

:STEAL2_18001
100@ = 3

:STEAL2_18008
if 
  100@ == 3
goto_if_false @STEAL2_18173
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_18173
Char.MarkAsNoLongerNeeded(58@)
Char.MarkAsNoLongerNeeded(59@)
Char.MarkAsNoLongerNeeded(60@)
Char.MarkAsNoLongerNeeded(61@)
Char.MarkAsNoLongerNeeded(62@)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(37@)
Car.MarkAsNoLongerNeeded(38@)
Car.MarkAsNoLongerNeeded(39@)
Car.MarkAsNoLongerNeeded(40@)
if 
  not Car.IsDead(43@)
goto_if_false @STEAL2_18115
Car.StartPlayback(43@, 95)

:STEAL2_18115
if 
  not Car.IsDead(44@)
goto_if_false @STEAL2_18138
Car.StartPlayback(44@, 96)

:STEAL2_18138
Car.StartPlayback(34@, 94)
114@ = 0
103@ = 0
100@ = 0
99@ = 8

:STEAL2_18173
if 
  99@ == 8
goto_if_false @STEAL2_18866
gosub @STEAL2_26853
if 
  114@ == 0
goto_if_false @STEAL2_18321
if 
  Car.Locate2D(34@, -2528.9, 737.7, 3.0, 3.0, False)
goto_if_false @STEAL2_18321
if 
  112@ == 0
goto_if_false @STEAL2_18321
112@ = 8
113@ = 9
159@ = 10
gosub @STEAL2_30237
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 1

:STEAL2_18321
if 
  114@ == 1
goto_if_false @STEAL2_18378
if 
  112@ == 0
goto_if_false @STEAL2_18378
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 2

:STEAL2_18378
if 
  103@ == 0
goto_if_false @STEAL2_18396

:STEAL2_18396
if 
  100@ == 0
goto_if_false @STEAL2_18421
100@ = 1

:STEAL2_18421
if 
  100@ == 1
goto_if_false @STEAL2_18866
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_18866
Char.MarkAsNoLongerNeeded(63@)
Char.MarkAsNoLongerNeeded(64@)
Car.MarkAsNoLongerNeeded(41@)
Car.MarkAsNoLongerNeeded(42@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Car.MarkAsNoLongerNeeded(43@)
Car.MarkAsNoLongerNeeded(44@)
if 
  not Car.IsDead(45@)
goto_if_false @STEAL2_18551
Car.SetForwardSpeed(45@, 15.0)
Car.SetCruiseSpeed(45@, 15.0)
Car.GotoCoordinates(45@, -2400.7, 562.2, 23.4)

:STEAL2_18551
if 
  not Car.IsDead(46@)
goto_if_false @STEAL2_18607
Car.SetForwardSpeed(46@, 15.0)
Car.SetCruiseSpeed(46@, 15.0)
Car.GotoCoordinates(46@, -2319.5, 424.7, 33.6)

:STEAL2_18607
if 
  not Car.IsDead(47@)
goto_if_false @STEAL2_18663
Car.SetForwardSpeed(47@, 15.0)
Car.SetCruiseSpeed(47@, 15.0)
Car.GotoCoordinates(47@, -2383.1, 551.4, 23.6)

:STEAL2_18663
if 
  not Car.IsDead(48@)
goto_if_false @STEAL2_18719
Car.SetForwardSpeed(48@, 15.0)
Car.SetCruiseSpeed(48@, 15.0)
Car.GotoCoordinates(48@, -2372.9, 569.6, 23.4)

:STEAL2_18719
if 
  not Car.IsDead(49@)
goto_if_false @STEAL2_18775
Car.SetForwardSpeed(49@, 15.0)
Car.SetCruiseSpeed(49@, 15.0)
Car.GotoCoordinates(49@, -2516.5, 569.9, 13.1)

:STEAL2_18775
if 
  not Car.IsDead(50@)
goto_if_false @STEAL2_18831
Car.SetForwardSpeed(50@, 15.0)
Car.SetCruiseSpeed(50@, 15.0)
Car.GotoCoordinates(50@, -2383.9, 655.8, 33.6)

:STEAL2_18831
Car.StartPlayback(34@, 97)
114@ = 0
103@ = 0
100@ = 0
99@ = 9

:STEAL2_18866
if 
  99@ == 9
goto_if_false @STEAL2_20783
gosub @STEAL2_26853
if 
  114@ == 0
goto_if_false @STEAL2_18989
if 
  Car.Locate2D(34@, -2528.6, 656.4, 3.0, 3.0, False)
goto_if_false @STEAL2_18989
112@ = 10
113@ = 0
gosub @STEAL2_30237
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 1

:STEAL2_18989
if 
  114@ == 1
goto_if_false @STEAL2_19098
if 
  Car.Locate2D(34@, -2375.0, 566.2, 3.0, 3.0, False)
goto_if_false @STEAL2_19098
if 
  112@ == 0
goto_if_false @STEAL2_19098
112@ = 8
113@ = 10
159@ = 11
gosub @STEAL2_30237
114@ = 2

:STEAL2_19098
if 
  114@ == 2
goto_if_false @STEAL2_19146
if 
  112@ == 0
goto_if_false @STEAL2_19146
Player.ClearWantedLevel($statbike_temp)
114@ = 3

:STEAL2_19146
if 
  114@ == 3
goto_if_false @STEAL2_19203
if 
  112@ == 0
goto_if_false @STEAL2_19203
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 4

:STEAL2_19203
if 
  103@ == 0
goto_if_false @STEAL2_19221

:STEAL2_19221
if 
  100@ == 0
goto_if_false @STEAL2_20329
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_19368
World.ClearArea(-2269.1, 5748.0, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
36@ = Car.Create(108@, -2269.1, 5748.0, 33.7)
Car.SetHeading(36@, 182.3)
Car.LockDoors(36@, CarLock.Locked)
58@ = Char.CreateRandomAsDriver(36@)
Car.SetLoadCollisionFlag(36@, True)
Char.SetCanBeShotInVehicle(58@, False)

:STEAL2_19368
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_19497
World.ClearArea(-2251.1, 561.9, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
37@ = Car.Create(108@, -2251.1, 561.9, 33.7)
Car.SetHeading(37@, 271.1)
Car.LockDoors(37@, CarLock.Locked)
59@ = Char.CreateRandomAsDriver(37@)
Car.SetLoadCollisionFlag(37@, True)
Char.SetCanBeShotInVehicle(59@, False)

:STEAL2_19497
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_19626
World.ClearArea(-2212.5, 569.9, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
38@ = Car.Create(108@, -2212.5, 569.9, 33.7)
Car.SetHeading(38@, 91.3)
Car.LockDoors(38@, CarLock.Locked)
60@ = Char.CreateRandomAsDriver(38@)
Car.SetLoadCollisionFlag(38@, True)
Char.SetCanBeShotInVehicle(60@, False)

:STEAL2_19626
World.ClearArea(-2229.4, 532.7, 34.0, 5.0, True)
39@ = Car.Create(437, -2229.4, 532.7, 34.0)
Car.SetHeading(39@, 180.3)
61@ = Char.CreateRandomAsDriver(39@)
Car.SetLoadCollisionFlag(39@, True)
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_19827
World.ClearArea(-2342.8, 505.3, 28.3, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
41@ = Car.Create(108@, -2342.8, 505.3, 28.3)
Car.SetHeading(41@, 269.2)
Car.LockDoors(41@, CarLock.Locked)
63@ = Char.CreateRandomAsDriver(41@)
Car.SetLoadCollisionFlag(41@, True)
Char.SetCanBeShotInVehicle(63@, False)

:STEAL2_19827
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_19956
World.ClearArea(-2293.5, 505.4, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
42@ = Car.Create(108@, -2293.5, 505.4, 33.7)
Car.SetHeading(42@, 270.0)
Car.LockDoors(42@, CarLock.Locked)
64@ = Char.CreateRandomAsDriver(42@)
Car.SetLoadCollisionFlag(42@, True)
Char.SetCanBeShotInVehicle(64@, False)

:STEAL2_19956
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_20085
World.ClearArea(-2238.9, 511.2, 34.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
43@ = Car.Create(108@, -2238.9, 511.2, 34.7)
Car.SetHeading(43@, 90.6)
Car.LockDoors(43@, CarLock.Locked)
65@ = Char.CreateRandomAsDriver(43@)
Car.SetLoadCollisionFlag(43@, True)
Char.SetCanBeShotInVehicle(65@, False)

:STEAL2_20085
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_20214
World.ClearArea(-2224.0, 496.6, 33.7, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
44@ = Car.Create(108@, -2224.0, 496.6, 33.7)
Car.SetHeading(44@, 0.0)
Car.LockDoors(44@, CarLock.Locked)
66@ = Char.CreateRandomAsDriver(44@)
Car.SetLoadCollisionFlag(44@, True)
Char.SetCanBeShotInVehicle(66@, False)

:STEAL2_20214
World.ClearArea(-2232.2, 529.5, 34.2, 5.0, True)
77@ = Char.CreateRandom(-2232.2, 529.5, 34.2)
Char.SetHeading(77@, 174.2)
World.ClearArea(-2232.5, 531.0, 34.2, 5.0, True)
78@ = Char.CreateRandom(-2232.5, 531.0, 34.2)
Char.SetHeading(78@, 174.2)
100@ = 1

:STEAL2_20329
if 
  100@ == 1
goto_if_false @STEAL2_20783
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_20783
Char.MarkAsNoLongerNeeded(67@)
Char.MarkAsNoLongerNeeded(68@)
Char.MarkAsNoLongerNeeded(69@)
Char.MarkAsNoLongerNeeded(70@)
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(72@)
Car.MarkAsNoLongerNeeded(45@)
Car.MarkAsNoLongerNeeded(46@)
Car.MarkAsNoLongerNeeded(47@)
Car.MarkAsNoLongerNeeded(48@)
Car.MarkAsNoLongerNeeded(49@)
Car.MarkAsNoLongerNeeded(50@)
if 
  not Car.IsDead(36@)
goto_if_false @STEAL2_20479
Car.SetForwardSpeed(36@, 15.0)
Car.SetCruiseSpeed(36@, 15.0)
Car.GotoCoordinates(36@, -2174.9, 561.8, 33.6)

:STEAL2_20479
if 
  not Car.IsDead(37@)
goto_if_false @STEAL2_20535
Car.SetForwardSpeed(37@, 15.0)
Car.SetCruiseSpeed(37@, 15.0)
Car.GotoCoordinates(37@, -2160.2, 561.9, 33.6)

:STEAL2_20535
if 
  not Car.IsDead(41@)
goto_if_false @STEAL2_20591
Car.SetForwardSpeed(41@, 15.0)
Car.SetCruiseSpeed(41@, 15.0)
Car.GotoCoordinates(41@, -2252.6, 505.7, 33.7)

:STEAL2_20591
if 
  not Car.IsDead(42@)
goto_if_false @STEAL2_20647
Car.SetForwardSpeed(42@, 15.0)
Car.SetCruiseSpeed(42@, 15.0)
Car.GotoCoordinates(42@, -2239.4, 505.7, 33.7)

:STEAL2_20647
if 
  not Car.IsDead(43@)
goto_if_false @STEAL2_20703
Car.SetForwardSpeed(43@, 15.0)
Car.SetCruiseSpeed(43@, 15.0)
Car.GotoCoordinates(43@, -2361.2, 511.5, 27.9)

:STEAL2_20703
Car.StartPlayback(34@, 98)
Streaming.MarkModelAsNoLongerNeeded(437)
Streaming.MarkModelAsNoLongerNeeded(449)
Streaming.RequestModel(#DYN_ROADBARRIER_3)
Streaming.RequestModel(#DYN_ROADBARRIER_4)
Streaming.RequestModel(#KMB_SKIP)
Streaming.RequestModel(#DYN_DUMPSTER)
Streaming.RequestModel(486)
Streaming.RequestModel(524)
Streaming.RequestModel(#DYN_RAMP)
114@ = 0
103@ = 0
100@ = 0
99@ = 10

:STEAL2_20783
if 
  99@ == 10
goto_if_false @STEAL2_21758
gosub @STEAL2_26853
if 
  114@ == 0
goto_if_false @STEAL2_20931
if 
  Car.Locate2D(34@, -2264.5, 546.1, 3.0, 3.0, False)
goto_if_false @STEAL2_20931
if 
  112@ == 0
goto_if_false @STEAL2_20931
112@ = 8
113@ = 11
159@ = 12
gosub @STEAL2_30237
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 1

:STEAL2_20931
if 
  114@ == 1
goto_if_false @STEAL2_21010
if 
  Car.Locate2D(34@, -2224.1, 454.8, 3.0, 3.0, False)
goto_if_false @STEAL2_21010
Text.PrintNow('STE2_04', 4000, 1)
114@ = 2

:STEAL2_21010
if 
  114@ == 2
goto_if_false @STEAL2_21067
if 
  112@ == 0
goto_if_false @STEAL2_21067
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 3

:STEAL2_21067
if 
  103@ == 0
goto_if_false @STEAL2_21085

:STEAL2_21085
if 
  100@ == 0
goto_if_false @STEAL2_21126
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_21126
100@ = 1

:STEAL2_21126
if 
  100@ == 1
goto_if_false @STEAL2_21758
if 
  Char.LocateInCar2D($stattreadstamina_ctr, -2213.9, 453.0, 5.0, 5.0, False)
goto_if_false @STEAL2_21758
Char.MarkAsNoLongerNeeded(58@)
Char.MarkAsNoLongerNeeded(59@)
Char.MarkAsNoLongerNeeded(60@)
Char.MarkAsNoLongerNeeded(61@)
Char.MarkAsNoLongerNeeded(63@)
Char.MarkAsNoLongerNeeded(64@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(77@)
Char.MarkAsNoLongerNeeded(78@)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(37@)
Car.MarkAsNoLongerNeeded(38@)
Car.MarkAsNoLongerNeeded(39@)
Car.MarkAsNoLongerNeeded(41@)
Car.MarkAsNoLongerNeeded(42@)
Car.MarkAsNoLongerNeeded(43@)
Car.MarkAsNoLongerNeeded(44@)
108@, 109@ = Streaming.GetRandomCarModelInMemory(True)
if 
  108@ >= 0
goto_if_false @STEAL2_21401
World.ClearArea(-2228.8, 521.1, 33.8, 5.0, True)
set_lvar_int_to_lvar_int 110@ = 108@
gosub @STEAL2_27694
46@ = Car.Create(108@, -2228.8, 521.1, 33.8)
Car.SetHeading(46@, 179.4)
Car.LockDoors(46@, CarLock.Locked)
68@ = Char.CreateRandomAsDriver(46@)
Car.SetLoadCollisionFlag(46@, True)
Char.SetCanBeShotInVehicle(68@, False)

:STEAL2_21401
if 
  Streaming.HasModelLoaded(597)
goto_if_false @STEAL2_21515
World.ClearArea(-2149.4, 462.0, 33.8, 5.0, True)
47@ = Car.Create(597, -2149.4, 462.0, 33.8)
Car.SetHeading(47@, 174.8)
Car.LockDoors(47@, CarLock.Locked)
69@ = Char.CreateInsideCar(47@, PedType.Mission1, 281)
Car.SetDrivingStyle(47@, DrivingMode.AvoidCars)
Car.SetLoadCollisionFlag(47@, True)
Char.SetCanBeShotInVehicle(69@, False)

:STEAL2_21515
if 
  Streaming.HasModelLoaded(597)
goto_if_false @STEAL2_21629
World.ClearArea(-2148.8, 444.0, 33.8, 5.0, True)
48@ = Car.Create(597, -2148.8, 444.0, 33.8)
Car.SetHeading(48@, 360.0)
Car.LockDoors(48@, CarLock.Locked)
70@ = Char.CreateInsideCar(48@, PedType.Mission1, 281)
Car.SetDrivingStyle(48@, DrivingMode.AvoidCars)
Car.SetLoadCollisionFlag(48@, True)
Char.SetCanBeShotInVehicle(70@, False)

:STEAL2_21629
if 
  not Car.IsDead(34@)
goto_if_false @STEAL2_21652
Car.StartPlayback(34@, 65)

:STEAL2_21652
if 
  not Car.IsDead(47@)
goto_if_false @STEAL2_21682
Car.StartPlayback(47@, 66)
Car.SwitchSiren(47@, True)

:STEAL2_21682
if 
  not Car.IsDead(48@)
goto_if_false @STEAL2_21712
Car.StartPlayback(48@, 67)
Car.SwitchSiren(48@, True)

:STEAL2_21712
Text.ClearThisPrint('STE2_04')
TIMERB = 0
114@ = 0
103@ = 0
100@ = 0
99@ = 11

:STEAL2_21758
if 
  99@ == 11
goto_if_false @STEAL2_22885
if 
  114@ == 0
goto_if_false @STEAL2_21855
if 
  TIMERB > 1000
goto_if_false @STEAL2_21855
112@ = 11
113@ = 0
gosub @STEAL2_30237
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 1

:STEAL2_21855
if 
  114@ == 1
goto_if_false @STEAL2_21905
if 
  112@ == 0
goto_if_false @STEAL2_21905
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
114@ = 2

:STEAL2_21905
if 
  114@ == 2
goto_if_false @STEAL2_21962
if 
  112@ == 0
goto_if_false @STEAL2_21962
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 3

:STEAL2_21962
if 
  103@ == 0
goto_if_false @STEAL2_21980

:STEAL2_21980
if 
  100@ == 0
goto_if_false @STEAL2_22816
World.ClearArea(-2128.1, 496.6, 34.0, 100.0, True)
Char.MarkAsNoLongerNeeded(58@)
Char.MarkAsNoLongerNeeded(59@)
Char.MarkAsNoLongerNeeded(60@)
Char.MarkAsNoLongerNeeded(61@)
Char.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(63@)
Char.MarkAsNoLongerNeeded(64@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(67@)
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(72@)
Char.MarkAsNoLongerNeeded(73@)
Char.MarkAsNoLongerNeeded(74@)
Char.MarkAsNoLongerNeeded(75@)
Char.MarkAsNoLongerNeeded(76@)
Char.MarkAsNoLongerNeeded(77@)
Char.MarkAsNoLongerNeeded(78@)
Char.MarkAsNoLongerNeeded(79@)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(37@)
Car.MarkAsNoLongerNeeded(38@)
Car.MarkAsNoLongerNeeded(39@)
Car.MarkAsNoLongerNeeded(40@)
Car.MarkAsNoLongerNeeded(41@)
Car.MarkAsNoLongerNeeded(42@)
Car.MarkAsNoLongerNeeded(43@)
Car.MarkAsNoLongerNeeded(44@)
Car.MarkAsNoLongerNeeded(45@)
Car.MarkAsNoLongerNeeded(49@)
Car.MarkAsNoLongerNeeded(50@)
Car.MarkAsNoLongerNeeded(51@)
Car.MarkAsNoLongerNeeded(52@)
Car.MarkAsNoLongerNeeded(53@)
Car.MarkAsNoLongerNeeded(54@)
Car.MarkAsNoLongerNeeded(55@)
Car.MarkAsNoLongerNeeded(56@)
Car.MarkAsNoLongerNeeded(57@)
80@ = Object.Create(#DYN_ROADBARRIER_3, -2128.1, 496.6, 34.0)
Object.SetHeading(80@, 270.0)
81@ = Object.Create(#DYN_ROADBARRIER_4, -2128.1, 501.6, 34.0)
Object.SetHeading(81@, 270.0)
82@ = Object.Create(#DYN_ROADBARRIER_3, -2128.1, 503.6, 34.0)
Object.SetHeading(82@, 270.0)
83@ = Object.Create(#DYN_ROADBARRIER_4, -2128.1, 506.8, 34.0)
Object.SetHeading(83@, 270.0)
84@ = Object.Create(#DYN_ROADBARRIER_3, -2128.1, 511.6, 34.0)
Object.SetHeading(84@, 270.0)
85@ = Object.Create(#DYN_ROADBARRIER_3, -2016.1, 496.6, 34.0)
Object.SetHeading(85@, 90.0)
86@ = Object.Create(#DYN_ROADBARRIER_4, -2016.1, 501.6, 34.0)
Object.SetHeading(86@, 90.0)
87@ = Object.Create(#DYN_ROADBARRIER_3, -2016.1, 503.6, 34.0)
Object.SetHeading(87@, 90.0)
88@ = Object.Create(#DYN_ROADBARRIER_4, -2016.1, 506.8, 34.0)
Object.SetHeading(88@, 90.0)
89@ = Object.Create(#DYN_ROADBARRIER_3, -2016.1, 511.6, 34.0)
Object.SetHeading(89@, 90.0)
90@ = Object.Create(#KMB_SKIP, -2096.1, 501.8, 34.0)
Object.SetHeading(90@, 90.0)
91@ = Object.Create(#DYN_DUMPSTER, -2096.1, 504.8, 34.0)
Object.SetHeading(91@, 270.0)
92@ = Object.Create(#DYN_RAMP, -2056.9, 503.8, 34.0)
Object.SetHeading(92@, 270.0)
if 
  Streaming.HasModelLoaded(486)
goto_if_false @STEAL2_22697
36@ = Car.Create(486, -2084.6, 501.2, 34.4)
Car.SetHeading(36@, 269.7)
Car.SetLoadCollisionFlag(36@, True)

:STEAL2_22697
if 
  Streaming.HasModelLoaded(486)
goto_if_false @STEAL2_22753
37@ = Car.Create(486, -2045.1, 500.9, 34.3)
Car.SetHeading(37@, 156.1)
Car.SetLoadCollisionFlag(37@, True)

:STEAL2_22753
if 
  Streaming.HasModelLoaded(524)
goto_if_false @STEAL2_22809
38@ = Car.Create(524, -2048.3, 508.4, 35.0)
Car.SetHeading(38@, 88.4)
Car.SetLoadCollisionFlag(38@, True)

:STEAL2_22809
100@ = 1

:STEAL2_22816
if 
  100@ == 1
goto_if_false @STEAL2_22885
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_22885
Car.StartPlayback(34@, 99)
114@ = 0
103@ = 0
100@ = 0
99@ = 12

:STEAL2_22885
if 
  99@ == 12
goto_if_false @STEAL2_23173
gosub @STEAL2_26853
if 
  114@ == 0
goto_if_false @STEAL2_22928

:STEAL2_22928
if 
  103@ == 0
goto_if_false @STEAL2_22946

:STEAL2_22946
if 
  100@ == 0
goto_if_false @STEAL2_22971
100@ = 1

:STEAL2_22971
if 
  100@ == 1
goto_if_false @STEAL2_23173
if 
  not Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_23173
World.SetCarDensityMultiplier(1.0)
171@ = Sequence.Open()
Task.CarDriveToCoord(-1, 34@, -2009.7, 192.2, 26.0, 45.0, DriveMode.Accurate, 1, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -2031.7, 180.1, 27.4, 10.0, DriveMode.Accurate, 1, DrivingMode.AvoidCars)
Sequence.Close(171@)
Char.PerformSequence($ryder_car, 171@)
Sequence.Clear(171@)
if 
  Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @STEAL2_23145
Blip.Remove(98@)
98@ = Blip.AddForCoord(-2024.7, 179.4, 27.4)

:STEAL2_23145
114@ = 0
103@ = 0
100@ = 0
99@ = 13

:STEAL2_23173
if 
  99@ == 13
goto_if_false @STEAL2_23938
if 
  114@ == 0
goto_if_false @STEAL2_23368
if 
  112@ == 0
goto_if_false @STEAL2_23368
112@ = 12
113@ = 0
gosub @STEAL2_30237
if 
  not Car.IsDead(47@)
goto_if_false @STEAL2_23347
if 
  not Car.IsDead(48@)
goto_if_false @STEAL2_23347
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 47@, 30.0, 30.0, False)
goto_if_false @STEAL2_23347
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 48@, 30.0, 30.0, False)
goto_if_false @STEAL2_23347
Player.ClearWantedLevel($statbike_temp)

:STEAL2_23347
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
114@ = 1

:STEAL2_23368
if 
  114@ == 1
goto_if_false @STEAL2_23427
if 
  112@ == 0
goto_if_false @STEAL2_23427
Text.Print('STE2_05', 4000, 1)
114@ = 2

:STEAL2_23427
if 
  114@ == 2
goto_if_false @STEAL2_23484
if 
  112@ == 0
goto_if_false @STEAL2_23484
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
114@ = 3

:STEAL2_23484
if 
  100@ == 0
goto_if_false @STEAL2_23845
$chickY = Char.GetScriptTaskStatus($ryder_car, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @STEAL2_23845
World.SetPedDensityMultiplier(1.0)
Char.MarkAsNoLongerNeeded(58@)
Char.MarkAsNoLongerNeeded(59@)
Char.MarkAsNoLongerNeeded(60@)
Char.MarkAsNoLongerNeeded(61@)
Char.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(63@)
Char.MarkAsNoLongerNeeded(64@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(67@)
Char.MarkAsNoLongerNeeded(68@)
Char.MarkAsNoLongerNeeded(69@)
Char.MarkAsNoLongerNeeded(70@)
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(72@)
Char.MarkAsNoLongerNeeded(73@)
Char.MarkAsNoLongerNeeded(74@)
Char.MarkAsNoLongerNeeded(75@)
Char.MarkAsNoLongerNeeded(76@)
Char.MarkAsNoLongerNeeded(77@)
Char.MarkAsNoLongerNeeded(78@)
Char.MarkAsNoLongerNeeded(79@)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(37@)
Car.MarkAsNoLongerNeeded(38@)
Car.MarkAsNoLongerNeeded(39@)
Car.MarkAsNoLongerNeeded(40@)
Car.MarkAsNoLongerNeeded(41@)
Car.MarkAsNoLongerNeeded(42@)
Car.MarkAsNoLongerNeeded(43@)
Car.MarkAsNoLongerNeeded(44@)
Car.MarkAsNoLongerNeeded(45@)
Car.MarkAsNoLongerNeeded(46@)
Car.MarkAsNoLongerNeeded(47@)
Car.MarkAsNoLongerNeeded(48@)
Car.MarkAsNoLongerNeeded(49@)
Car.MarkAsNoLongerNeeded(50@)
Car.MarkAsNoLongerNeeded(51@)
Car.MarkAsNoLongerNeeded(52@)
Car.MarkAsNoLongerNeeded(53@)
Car.MarkAsNoLongerNeeded(54@)
Car.MarkAsNoLongerNeeded(55@)
Car.MarkAsNoLongerNeeded(56@)
Car.MarkAsNoLongerNeeded(57@)
Car.MarkAsNoLongerNeeded(95@)
Object.MarkAsNoLongerNeeded(80@)
Object.MarkAsNoLongerNeeded(81@)
Object.MarkAsNoLongerNeeded(82@)
Object.MarkAsNoLongerNeeded(83@)
Object.MarkAsNoLongerNeeded(84@)
Object.MarkAsNoLongerNeeded(85@)
Object.MarkAsNoLongerNeeded(86@)
Object.MarkAsNoLongerNeeded(87@)
Object.MarkAsNoLongerNeeded(88@)
Object.MarkAsNoLongerNeeded(89@)
Object.MarkAsNoLongerNeeded(90@)
Object.MarkAsNoLongerNeeded(91@)
Object.MarkAsNoLongerNeeded(92@)
Object.MarkAsNoLongerNeeded(93@)
Object.MarkAsNoLongerNeeded(94@)
100@ = 1

:STEAL2_23845
if 
  Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @STEAL2_23938
if 
  Char.LocateInCar3D($stattreadstamina_ctr, -2024.7, 179.4, 27.4, 4.0, 4.0, 4.0, True)
goto_if_false @STEAL2_23938
Player.ClearWantedLevel($statbike_temp)
Player.SetControl($statbike_temp, False)
100@ = 0
99@ = 14

:STEAL2_23938
if 
  99@ == 14
goto_if_false @STEAL2_24933
if 
  100@ == 0
goto_if_false @STEAL2_24525
Camera.DoFade(500, Fade.Out)

:STEAL2_23981
if 
  Camera.GetFadingStatus
goto_if_false @STEAL2_24005
wait 0
goto @STEAL2_23981

:STEAL2_24005
Garage.Open('HBGDSFS')

:STEAL2_24016
if 
  not Garage.IsOpen('HBGDSFS')
goto_if_false @STEAL2_24049
wait 0
goto @STEAL2_24016

:STEAL2_24049
gosub @STEAL2_26289
if 
  102@ == 1
goto_if_false @STEAL2_24081
goto @STEAL2_26013

:STEAL2_24081
Streaming.SetAreaVisible(1)
Game.ShutAllCharsUp(True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
112@ = 0
Streaming.RequestAnimation("PLAYIDLES")
Streaming.LoadAllModelsNow
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
World.ClearArea(-2043.7, 171.4, 27.6, 100.0, True)
Car.SetAreaVisible(34@, 1)
Car.SetCoordinates(34@, -2043.7, 171.4, 27.6)
Car.SetHeading(34@, 91.6)
Streaming.LoadSceneInDirection(-2045.4, 173.1, 27.8, 309.5)
Char.SetAreaVisible($ryder_car, 1)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, -2045.4, 173.1, 27.8)
Char.SetHeading($ryder_car, 325.5)
Car.SetAreaVisible(35@, 1)
Car.SetCoordinates(35@, -2033.8, 178.6, 27.6)
Car.SetHeading(35@, 90.0)
if 
  not Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @STEAL2_24337
Char.WarpIntoCar($stattreadstamina_ctr, 35@)

:STEAL2_24337
171@ = Sequence.Open()
Task.CarDriveToCoord(-1, 35@, -2044.4, 177.6, 27.6, 5.0, DriveMode.Accurate, 1, DrivingMode.AvoidCars)
Task.LeaveAnyCar(-1)
Task.TurnCharToFaceChar(-1, $ryder_car)
Sequence.Close(171@)
Char.PerformSequence($stattreadstamina_ctr, 171@)
Sequence.Clear(171@)
Camera.SetFixedPosition(-2049.3, 172.8, 28.78, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2034.7, 177.4, 29.8, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:STEAL2_24462
if 
  Camera.GetFadingStatus
goto_if_false @STEAL2_24486
wait 0
goto @STEAL2_24462

:STEAL2_24486
gosub @STEAL2_26289
if 
  102@ == 1
goto_if_false @STEAL2_24518
goto @STEAL2_26013

:STEAL2_24518
100@ = 1

:STEAL2_24525
if 
  100@ == 1
goto_if_false @STEAL2_24628
if 
  Car.IsInArea2D(35@, -2039.3, 175.1, -2041.9, 181.6, False)
goto_if_false @STEAL2_24628
Task.PlayAnim($ryder_car, "STRETCH", "PLAYIDLES", 1000.0, False, False, False, False, -1)
100@ = 2

:STEAL2_24628
if 
  100@ == 2
goto_if_false @STEAL2_24933
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @STEAL2_24933
Camera.DoFade(500, Fade.Out)

:STEAL2_24682
if 
  Camera.GetFadingStatus
goto_if_false @STEAL2_24706
wait 0
goto @STEAL2_24682

:STEAL2_24706
Garage.Close('HBGDSFS')

:STEAL2_24717
if 
  not Garage.IsClosed('HBGDSFS')
goto_if_false @STEAL2_24750
wait 0
goto @STEAL2_24717

:STEAL2_24750
gosub @STEAL2_26289
if 
  102@ == 1
goto_if_false @STEAL2_24782
goto @STEAL2_26013

:STEAL2_24782
Game.ShutAllCharsUp(False)
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.LoadScene(-2045.4, 173.1, 27.8)
Streaming.LoadSceneInDirection(-2045.4, 173.1, 27.8, 309.5)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -2027.2, 179.5, 27.8)
Char.SetHeading($stattreadstamina_ctr, 277.5)
Camera.DoFade(500, Fade.In)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:STEAL2_24902
if 
  Camera.GetFadingStatus
goto_if_false @STEAL2_24926
wait 0
goto @STEAL2_24902

:STEAL2_24926
goto @STEAL2_26031

:STEAL2_24933
if 
  99@ == 0
goto_if_false @STEAL2_25141
if 
  not Streaming.HasCarRecordingBeenLoaded(70)
goto_if_false @STEAL2_24970
Streaming.RequestCarRecording(70)

:STEAL2_24970
if 
  not Streaming.HasCarRecordingBeenLoaded(71)
goto_if_false @STEAL2_24989
Streaming.RequestCarRecording(71)

:STEAL2_24989
if 
  not Streaming.HasCarRecordingBeenLoaded(72)
goto_if_false @STEAL2_25008
Streaming.RequestCarRecording(72)

:STEAL2_25008
if 
  not Streaming.HasCarRecordingBeenLoaded(73)
goto_if_false @STEAL2_25027
Streaming.RequestCarRecording(73)

:STEAL2_25027
if 
  not Streaming.HasCarRecordingBeenLoaded(74)
goto_if_false @STEAL2_25046
Streaming.RequestCarRecording(74)

:STEAL2_25046
if 
  not Streaming.HasCarRecordingBeenLoaded(75)
goto_if_false @STEAL2_25065
Streaming.RequestCarRecording(75)

:STEAL2_25065
if 
  not Streaming.HasCarRecordingBeenLoaded(76)
goto_if_false @STEAL2_25084
Streaming.RequestCarRecording(76)

:STEAL2_25084
if 
  not Streaming.HasCarRecordingBeenLoaded(77)
goto_if_false @STEAL2_25103
Streaming.RequestCarRecording(77)

:STEAL2_25103
if 
  not Streaming.HasCarRecordingBeenLoaded(78)
goto_if_false @STEAL2_25122
Streaming.RequestCarRecording(78)

:STEAL2_25122
if 
  not Streaming.HasCarRecordingBeenLoaded(79)
goto_if_false @STEAL2_25141
Streaming.RequestCarRecording(79)

:STEAL2_25141
if 
  99@ == 2
goto_if_false @STEAL2_25254
if 
  not Streaming.HasCarRecordingBeenLoaded(80)
goto_if_false @STEAL2_25178
Streaming.RequestCarRecording(80)

:STEAL2_25178
if 
  not Streaming.HasCarRecordingBeenLoaded(81)
goto_if_false @STEAL2_25197
Streaming.RequestCarRecording(81)

:STEAL2_25197
if 
  not Streaming.HasCarRecordingBeenLoaded(83)
goto_if_false @STEAL2_25216
Streaming.RequestCarRecording(83)

:STEAL2_25216
if 
  not Streaming.HasCarRecordingBeenLoaded(84)
goto_if_false @STEAL2_25235
Streaming.RequestCarRecording(84)

:STEAL2_25235
if 
  not Streaming.HasCarRecordingBeenLoaded(85)
goto_if_false @STEAL2_25254
Streaming.RequestCarRecording(85)

:STEAL2_25254
if 
  99@ == 4
goto_if_false @STEAL2_25310
if 
  not Streaming.HasCarRecordingBeenLoaded(86)
goto_if_false @STEAL2_25291
Streaming.RequestCarRecording(86)

:STEAL2_25291
if 
  not Streaming.HasCarRecordingBeenLoaded(87)
goto_if_false @STEAL2_25310
Streaming.RequestCarRecording(87)

:STEAL2_25310
if 
  99@ == 5
goto_if_false @STEAL2_25404
if 
  not Streaming.HasCarRecordingBeenLoaded(88)
goto_if_false @STEAL2_25347
Streaming.RequestCarRecording(88)

:STEAL2_25347
if 
  not Streaming.HasCarRecordingBeenLoaded(89)
goto_if_false @STEAL2_25366
Streaming.RequestCarRecording(89)

:STEAL2_25366
if 
  not Streaming.HasCarRecordingBeenLoaded(90)
goto_if_false @STEAL2_25385
Streaming.RequestCarRecording(90)

:STEAL2_25385
if 
  not Streaming.HasCarRecordingBeenLoaded(91)
goto_if_false @STEAL2_25404
Streaming.RequestCarRecording(91)

:STEAL2_25404
if 
  99@ == 6
goto_if_false @STEAL2_25460
if 
  not Streaming.HasCarRecordingBeenLoaded(92)
goto_if_false @STEAL2_25441
Streaming.RequestCarRecording(92)

:STEAL2_25441
if 
  not Streaming.HasCarRecordingBeenLoaded(93)
goto_if_false @STEAL2_25460
Streaming.RequestCarRecording(93)

:STEAL2_25460
if 
  99@ == 7
goto_if_false @STEAL2_25554
if 
  not Streaming.HasCarRecordingBeenLoaded(94)
goto_if_false @STEAL2_25497
Streaming.RequestCarRecording(94)

:STEAL2_25497
if 
  not Streaming.HasCarRecordingBeenLoaded(95)
goto_if_false @STEAL2_25516
Streaming.RequestCarRecording(95)

:STEAL2_25516
if 
  not Streaming.HasCarRecordingBeenLoaded(96)
goto_if_false @STEAL2_25535
Streaming.RequestCarRecording(96)

:STEAL2_25535
if 
  not Streaming.HasCarRecordingBeenLoaded(97)
goto_if_false @STEAL2_25554
Streaming.RequestCarRecording(97)

:STEAL2_25554
if 
  99@ == 8
goto_if_false @STEAL2_25648
if 
  not Streaming.HasCarRecordingBeenLoaded(98)
goto_if_false @STEAL2_25591
Streaming.RequestCarRecording(98)

:STEAL2_25591
if 
  not Streaming.HasCarRecordingBeenLoaded(65)
goto_if_false @STEAL2_25610
Streaming.RequestCarRecording(65)

:STEAL2_25610
if 
  not Streaming.HasCarRecordingBeenLoaded(66)
goto_if_false @STEAL2_25629
Streaming.RequestCarRecording(66)

:STEAL2_25629
if 
  not Streaming.HasCarRecordingBeenLoaded(67)
goto_if_false @STEAL2_25648
Streaming.RequestCarRecording(67)

:STEAL2_25648
if 
  99@ == 11
goto_if_false @STEAL2_25685
if 
  not Streaming.HasCarRecordingBeenLoaded(99)
goto_if_false @STEAL2_25685
Streaming.RequestCarRecording(99)

:STEAL2_25685
if 
  99@ > 0
goto_if_false @STEAL2_25956
if 
  13 > 99@
goto_if_false @STEAL2_25956
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 34@, 150.0, 150.0, False)
goto_if_false @STEAL2_25793
if 
  not Car.IsOnScreen(34@)
goto_if_false @STEAL2_25793
Text.ClearPrints
Text.PrintNow('STE2_06', 4000, 1)
goto @STEAL2_26013

:STEAL2_25793
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 35@, 120.0, 120.0, False)
goto_if_false @STEAL2_25865
if 
  not Car.IsOnScreen(35@)
goto_if_false @STEAL2_25865
Text.ClearPrints
Text.PrintNow('STE2_09', 4000, 1)
goto @STEAL2_26013

:STEAL2_25865
if 
  not Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @STEAL2_25956
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 35@, 160.0, 160.0, False)
goto_if_false @STEAL2_25956
if 
  not Car.IsOnScreen(35@)
goto_if_false @STEAL2_25956
Text.ClearPrints
Text.PrintNow('STE2_08', 4000, 1)
goto @STEAL2_26013

:STEAL2_25956
if 
  99@ > 0
goto_if_false @STEAL2_25999
if 
  14 > 99@
goto_if_false @STEAL2_25999
gosub @STEAL2_26597

:STEAL2_25999
gosub @STEAL2_28925
goto @STEAL2_988

:STEAL2_26013
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:STEAL2_26031
$garageY += 1
CarGenerator.Switch($done_bmx_stunt_progress, 101)
CarGenerator.Switch($done_nrg500_stunt_progress, 101)
Text.PrintWithNumberBig('M_PASSS', 5000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 5000)
Stat.AwardPlayerMissionRespect(5)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('STEAL_2')
Stat.PlayerMadeProgress(1)
return 

:STEAL2_26109
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @STEAL2_26127
Camera.RestoreJumpcut

:STEAL2_26127
Char.RemoveElegantly($ryder_car)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @STEAL2_26155
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:STEAL2_26155
Game.ShutAllCharsUp(False)
Streaming.MarkModelAsNoLongerNeeded(560)
Streaming.MarkModelAsNoLongerNeeded(562)
Streaming.MarkModelAsNoLongerNeeded(147)
Streaming.MarkModelAsNoLongerNeeded(414)
Streaming.MarkModelAsNoLongerNeeded(#CARDBOARDBOX)
Streaming.MarkModelAsNoLongerNeeded(449)
Streaming.MarkModelAsNoLongerNeeded(597)
Streaming.MarkModelAsNoLongerNeeded(281)
Streaming.MarkModelAsNoLongerNeeded(437)
Streaming.MarkModelAsNoLongerNeeded(461)
Streaming.MarkVehicleModAsNoLongerNeeded(#NTO_B_S)
Streaming.MarkModelAsNoLongerNeeded(486)
Streaming.MarkModelAsNoLongerNeeded(524)
Streaming.MarkModelAsNoLongerNeeded(#DYN_ROADBARRIER_3)
Streaming.MarkModelAsNoLongerNeeded(#DYN_ROADBARRIER_4)
Streaming.MarkModelAsNoLongerNeeded(#KMB_SKIP)
Streaming.MarkModelAsNoLongerNeeded(#DYN_DUMPSTER)
Streaming.MarkModelAsNoLongerNeeded(#DYN_RAMP)
CarGenerator.DontSuppressAnyCarModels
Streaming.RemoveAnimation("PLAYIDLES")
Blip.Remove(98@)
Streaming.UnloadSpecialCharacter(1)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:STEAL2_26289
if 
  Char.IsDead($ryder_car)
goto_if_false @STEAL2_26330
Text.ClearPrints
Text.PrintNow('STE2_07', 4000, 1)
102@ = 1

:STEAL2_26330
if 
  Car.IsDead(35@)
goto_if_false @STEAL2_26371
Text.ClearPrints
Text.PrintNow('STE2_08', 4000, 1)
102@ = 1

:STEAL2_26371
if 
  Car.IsDead(34@)
goto_if_false @STEAL2_26412
Text.ClearPrints
Text.PrintNow('STE2_08', 4000, 1)
102@ = 1

:STEAL2_26412
return 

:STEAL2_26414
if 
  104@ == 1
goto_if_false @STEAL2_26478
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @STEAL2_26478
Blip.Remove(98@)
98@ = Blip.AddForChar($ryder_car)
Blip.SetAsFriendly(98@, True)
104@ = 0

:STEAL2_26478
if 
  104@ == 0
goto_if_false @STEAL2_26595
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $ryder_car, 8.0, 8.0, 8.0, False)
goto_if_false @STEAL2_26595
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @STEAL2_26563
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $ryder_car)

:STEAL2_26563
Blip.Remove(98@)
98@ = Blip.AddForCoord(-1632.9, 1207.4, 6.1)
104@ = 1

:STEAL2_26595
return 

:STEAL2_26597
if 
  105@ == 0
goto_if_false @STEAL2_26749
if 
  Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @STEAL2_26749
Text.ClearThisPrint('IN_VEH')
Blip.Remove(98@)
if 
  99@ == 13
goto_if_false @STEAL2_26711
98@ = Blip.AddForCoord(-2024.7, 179.4, 27.4)
Text.Print('STE2_05', 4000, 1)
goto @STEAL2_26742

:STEAL2_26711
98@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(98@, True)
Text.Print('STE2_02', 7000, 1)

:STEAL2_26742
105@ = 1

:STEAL2_26749
if 
  105@ == 1
goto_if_false @STEAL2_26851
if 
  not Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @STEAL2_26851
Text.ClearThisPrint('STE2_05')
Text.ClearThisPrint('STE2_02')
Text.Print('STE2_11', 7000, 1)
Blip.Remove(98@)
98@ = Blip.AddForCar(35@)
Blip.SetAsFriendly(98@, True)
105@ = 0

:STEAL2_26851
return 

:STEAL2_26853
162@, 163@, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
164@, 165@, $in_carX = Car.GetCoordinates(34@)
166@ = Math.GetDistanceBetweenCoords2D(162@, 163@, 164@, 165@)
if 
  21.0 > 166@
goto_if_false @STEAL2_26962
166@ /= 20.0
set_lvar_float_to_lvar_float 167@ = 166@
166@ = 2.0
sub_float_lvar_from_float_lvar 166@ -= 167@
goto @STEAL2_27008

:STEAL2_26962
166@ -= 20.0
166@ /= 90.0
set_lvar_float_to_lvar_float 167@ = 166@
166@ = 1.0
sub_float_lvar_from_float_lvar 166@ -= 167@

:STEAL2_27008
166@ += 0.3
set_lvar_float_to_lvar_float 168@ = 166@
if 
  168@ > 2.0
goto_if_false @STEAL2_27057
168@ = 2.0

:STEAL2_27057
if 
  0.5 > 168@
goto_if_false @STEAL2_27088
168@ = 0.5

:STEAL2_27088
if 
  Car.IsPlaybackGoingOn(34@)
goto_if_false @STEAL2_27112
Car.SetPlaybackSpeed(34@, 168@)

:STEAL2_27112
if 
  not Car.IsDead(95@)
goto_if_false @STEAL2_27152
if 
  Car.IsPlaybackGoingOn(95@)
goto_if_false @STEAL2_27152
Car.SetPlaybackSpeed(95@, 168@)

:STEAL2_27152
if 
  99@ == 1
goto_if_false @STEAL2_27410
if 
  not Car.IsDead(38@)
goto_if_false @STEAL2_27210
if 
  Car.IsPlaybackGoingOn(38@)
goto_if_false @STEAL2_27210
Car.SetPlaybackSpeed(38@, 168@)

:STEAL2_27210
if 
  not Car.IsDead(39@)
goto_if_false @STEAL2_27250
if 
  Car.IsPlaybackGoingOn(39@)
goto_if_false @STEAL2_27250
Car.SetPlaybackSpeed(39@, 168@)

:STEAL2_27250
if 
  not Car.IsDead(40@)
goto_if_false @STEAL2_27290
if 
  Car.IsPlaybackGoingOn(40@)
goto_if_false @STEAL2_27290
Car.SetPlaybackSpeed(40@, 168@)

:STEAL2_27290
if 
  not Car.IsDead(41@)
goto_if_false @STEAL2_27330
if 
  Car.IsPlaybackGoingOn(41@)
goto_if_false @STEAL2_27330
Car.SetPlaybackSpeed(41@, 168@)

:STEAL2_27330
if 
  not Car.IsDead(42@)
goto_if_false @STEAL2_27370
if 
  Car.IsPlaybackGoingOn(42@)
goto_if_false @STEAL2_27370
Car.SetPlaybackSpeed(42@, 168@)

:STEAL2_27370
if 
  not Car.IsDead(43@)
goto_if_false @STEAL2_27410
if 
  Car.IsPlaybackGoingOn(43@)
goto_if_false @STEAL2_27410
Car.SetPlaybackSpeed(43@, 168@)

:STEAL2_27410
if 
  99@ == 4
goto_if_false @STEAL2_27452
if 
  not Car.IsDead(51@)
goto_if_false @STEAL2_27452
Car.SetPlaybackSpeed(51@, 168@)

:STEAL2_27452
if 
  99@ == 5
goto_if_false @STEAL2_27494
if 
  not Car.IsDead(38@)
goto_if_false @STEAL2_27494
Car.SetPlaybackSpeed(38@, 168@)

:STEAL2_27494
if 
  99@ == 6
goto_if_false @STEAL2_27584
if 
  not Car.IsDead(50@)
goto_if_false @STEAL2_27536
Car.SetPlaybackSpeed(50@, 168@)

:STEAL2_27536
if 
  not Car.IsDead(52@)
goto_if_false @STEAL2_27560
Car.SetPlaybackSpeed(52@, 168@)

:STEAL2_27560
if 
  not Car.IsDead(53@)
goto_if_false @STEAL2_27584
Car.SetPlaybackSpeed(53@, 168@)

:STEAL2_27584
if 
  99@ == 7
goto_if_false @STEAL2_27626
if 
  not Car.IsDead(39@)
goto_if_false @STEAL2_27626
Car.SetPlaybackSpeed(39@, 168@)

:STEAL2_27626
if 
  99@ == 8
goto_if_false @STEAL2_27692
if 
  not Car.IsDead(43@)
goto_if_false @STEAL2_27668
Car.SetPlaybackSpeed(43@, 168@)

:STEAL2_27668
if 
  not Car.IsDead(44@)
goto_if_false @STEAL2_27692
Car.SetPlaybackSpeed(44@, 168@)

:STEAL2_27692
return 

:STEAL2_27694
111@ = Math.RandomIntInRange(1, 37)
if 
  111@ == 1
goto_if_false @STEAL2_27736
Car.CustomPlateForNextCar(110@, "GOT_M00_")

:STEAL2_27736
if 
  111@ == 2
goto_if_false @STEAL2_27769
Car.CustomPlateForNextCar(110@, "M00TV_4U")

:STEAL2_27769
if 
  111@ == 3
goto_if_false @STEAL2_27802
Car.CustomPlateForNextCar(110@, "MATHEW_2")

:STEAL2_27802
if 
  111@ == 4
goto_if_false @STEAL2_27835
Car.CustomPlateForNextCar(110@, "D4_DEW0R")

:STEAL2_27835
if 
  111@ == 5
goto_if_false @STEAL2_27868
Car.CustomPlateForNextCar(110@, "D0DE_777")

:STEAL2_27868
if 
  111@ == 6
goto_if_false @STEAL2_27901
Car.CustomPlateForNextCar(110@, "DAM0_666")

:STEAL2_27901
if 
  111@ == 7
goto_if_false @STEAL2_27934
Car.CustomPlateForNextCar(110@, "C0NEY_88")

:STEAL2_27934
if 
  111@ == 8
goto_if_false @STEAL2_27967
Car.CustomPlateForNextCar(110@, "PRE4CHER")

:STEAL2_27967
if 
  111@ == 9
goto_if_false @STEAL2_28000
Car.CustomPlateForNextCar(110@, "DBP_4NDY")

:STEAL2_28000
if 
  111@ == 10
goto_if_false @STEAL2_28033
Car.CustomPlateForNextCar(110@, "EV1L_SLY")

:STEAL2_28033
if 
  111@ == 11
goto_if_false @STEAL2_28066
Car.CustomPlateForNextCar(110@, "N1_R4V3N")

:STEAL2_28066
if 
  111@ == 12
goto_if_false @STEAL2_28099
Car.CustomPlateForNextCar(110@, "D1VX_Z00")

:STEAL2_28099
if 
  111@ == 13
goto_if_false @STEAL2_28131
Car.CustomPlateForNextCar(110@, "MR_B3NN")

:STEAL2_28131
if 
  111@ == 14
goto_if_false @STEAL2_28164
Car.CustomPlateForNextCar(110@, "R3D_R4SP")

:STEAL2_28164
if 
  111@ == 15
goto_if_false @STEAL2_28197
Car.CustomPlateForNextCar(110@, "LA_B0MBA")

:STEAL2_28197
if 
  111@ == 16
goto_if_false @STEAL2_28230
Car.CustomPlateForNextCar(110@, "L3337_0G")

:STEAL2_28230
if 
  111@ == 17
goto_if_false @STEAL2_28263
Car.CustomPlateForNextCar(110@, "BUDD4H_X")

:STEAL2_28263
if 
  111@ == 18
goto_if_false @STEAL2_28296
Car.CustomPlateForNextCar(110@, "T3H_BUCK")

:STEAL2_28296
if 
  111@ == 19
goto_if_false @STEAL2_28329
Car.CustomPlateForNextCar(110@, "CHUNKY_1")

:STEAL2_28329
if 
  111@ == 20
goto_if_false @STEAL2_28362
Car.CustomPlateForNextCar(110@, "EV1L_BNZ")

:STEAL2_28362
if 
  111@ == 21
goto_if_false @STEAL2_28395
Car.CustomPlateForNextCar(110@, "S4ND_M4N")

:STEAL2_28395
if 
  111@ == 22
goto_if_false @STEAL2_28428
Car.CustomPlateForNextCar(110@, "RKK_DBP1")

:STEAL2_28428
if 
  111@ == 23
goto_if_false @STEAL2_28461
Car.CustomPlateForNextCar(110@, "RE1_K0KU")

:STEAL2_28461
if 
  111@ == 24
goto_if_false @STEAL2_28494
Car.CustomPlateForNextCar(110@, "S3XY_JUD")

:STEAL2_28494
if 
  111@ == 25
goto_if_false @STEAL2_28527
Car.CustomPlateForNextCar(110@, "SUNRA_93")

:STEAL2_28527
if 
  111@ == 26
goto_if_false @STEAL2_28560
Car.CustomPlateForNextCar(110@, "UG_FUX69")

:STEAL2_28560
if 
  111@ == 27
goto_if_false @STEAL2_28593
Car.CustomPlateForNextCar(110@, "LI0N_CUM")

:STEAL2_28593
if 
  111@ == 28
goto_if_false @STEAL2_28626
Car.CustomPlateForNextCar(110@, "RKK_PWND")

:STEAL2_28626
if 
  111@ == 29
goto_if_false @STEAL2_28659
Car.CustomPlateForNextCar(110@, "HAZE_B0B")

:STEAL2_28659
if 
  111@ == 30
goto_if_false @STEAL2_28692
Car.CustomPlateForNextCar(110@, "T3H_FLUF")

:STEAL2_28692
if 
  111@ == 31
goto_if_false @STEAL2_28725
Car.CustomPlateForNextCar(110@, "BM_4NDY_")

:STEAL2_28725
if 
  111@ == 32
goto_if_false @STEAL2_28758
Car.CustomPlateForNextCar(110@, "BM_D34N_")

:STEAL2_28758
if 
  111@ == 33
goto_if_false @STEAL2_28791
Car.CustomPlateForNextCar(110@, "BM_L4C3Y")

:STEAL2_28791
if 
  111@ == 34
goto_if_false @STEAL2_28824
Car.CustomPlateForNextCar(110@, "BM_D3V__")

:STEAL2_28824
if 
  111@ == 35
goto_if_false @STEAL2_28857
Car.CustomPlateForNextCar(110@, "NU_SK00L")

:STEAL2_28857
if 
  111@ == 36
goto_if_false @STEAL2_28890
Car.CustomPlateForNextCar(110@, "G4L_AVET")

:STEAL2_28890
if 
  111@ == 37
goto_if_false @STEAL2_28923
Car.CustomPlateForNextCar(110@, "M0J0_J0J")

:STEAL2_28923
return 

:STEAL2_28925
if 
  112@ == 1
goto_if_false @STEAL2_29051
if 
  is_int_lvar_greater_than_int_lvar 154@ > 113@
goto_if_false @STEAL2_29044
gosub @STEAL2_32124
gosub @STEAL2_32231
if 
  not Char.IsDead($ryder_car)
goto_if_false @STEAL2_29006
gosub @STEAL2_32385
goto @STEAL2_29037

:STEAL2_29006
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(115@(113@,13s))
155@ = 0
156@ = 0

:STEAL2_29037
goto @STEAL2_29051

:STEAL2_29044
112@ = 0

:STEAL2_29051
if or
  112@ == 4
  112@ == 5
  112@ == 6
goto_if_false @STEAL2_29137
if 
  is_int_lvar_greater_than_int_lvar 154@ > 113@
goto_if_false @STEAL2_29130
gosub @STEAL2_32124
gosub @STEAL2_32231
gosub @STEAL2_32385
goto @STEAL2_29137

:STEAL2_29130
112@ = 0

:STEAL2_29137
if or
  112@ == 7
  112@ == 8
  112@ == 9
  112@ == 10
  112@ == 11
  112@ == 12
goto_if_false @STEAL2_29298
if 
  is_int_lvar_greater_than_int_lvar 154@ > 113@
goto_if_false @STEAL2_29291
gosub @STEAL2_32124
gosub @STEAL2_32231
if 
  not Char.IsDead($ryder_car)
goto_if_false @STEAL2_29253
gosub @STEAL2_32385
goto @STEAL2_29284

:STEAL2_29253
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(115@(113@,13s))
155@ = 0
156@ = 0

:STEAL2_29284
goto @STEAL2_29298

:STEAL2_29291
112@ = 0

:STEAL2_29298
if 
  99@ == 0
goto_if_false @STEAL2_30235
if 
  100@ == 0
goto_if_false @STEAL2_30235
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @STEAL2_29704
if 
  Char.LocateAnyMeansChar3D($ryder_car, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @STEAL2_29697
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsOnFoot($ryder_car)
goto_if_false @STEAL2_29543
if or
  112@ == 2
  112@ == 3
goto_if_false @STEAL2_29543
if 
  is_int_lvar_greater_than_int_lvar 154@ > 113@
goto_if_false @STEAL2_29536
gosub @STEAL2_32124
gosub @STEAL2_32231
if 
  not Char.IsDead($ryder_car)
goto_if_false @STEAL2_29498
gosub @STEAL2_32385
goto @STEAL2_29529

:STEAL2_29498
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(115@(113@,13s))
155@ = 0
156@ = 0

:STEAL2_29529
goto @STEAL2_29543

:STEAL2_29536
112@ = 0

:STEAL2_29543
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar($ryder_car)
goto_if_false @STEAL2_29697
if or
  112@ == 2
  112@ == 3
goto_if_false @STEAL2_29697
if 
  is_int_lvar_greater_than_int_lvar 154@ > 113@
goto_if_false @STEAL2_29690
gosub @STEAL2_32124
gosub @STEAL2_32231
if 
  not Char.IsDead($ryder_car)
goto_if_false @STEAL2_29652
gosub @STEAL2_32385
goto @STEAL2_29683

:STEAL2_29652
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(115@(113@,13s))
155@ = 0
156@ = 0

:STEAL2_29683
goto @STEAL2_29697

:STEAL2_29690
112@ = 0

:STEAL2_29697
goto @STEAL2_29821

:STEAL2_29704
if 
  14 > 112@
goto_if_false @STEAL2_29821
if 
  is_int_lvar_greater_than_int_lvar 154@ > 113@
goto_if_false @STEAL2_29748
113@ += 1

:STEAL2_29748
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(115@(113@,13s))
Text.ClearPrints
set_lvar_int_to_lvar_int 160@ = 112@
set_lvar_int_to_lvar_int 161@ = 113@
112@ = 14
113@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 159@ = 113@
159@ += 1
gosub @STEAL2_30237

:STEAL2_29821
if 
  112@ == 14
goto_if_false @STEAL2_30012
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @STEAL2_29989
if 
  is_int_lvar_greater_than_int_lvar 154@ > 113@
goto_if_false @STEAL2_29959
gosub @STEAL2_32124
gosub @STEAL2_32231
if 
  not Char.IsDead($ryder_car)
goto_if_false @STEAL2_29921
gosub @STEAL2_32385
goto @STEAL2_29952

:STEAL2_29921
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(115@(113@,13s))
155@ = 0
156@ = 0

:STEAL2_29952
goto @STEAL2_29982

:STEAL2_29959
Text.Print('STE2_10', 7000, 1)
112@ = 15

:STEAL2_29982
goto @STEAL2_30012

:STEAL2_29989
Text.Print('STE2_10', 7000, 1)
112@ = 15

:STEAL2_30012
if 
  112@ == 15
goto_if_false @STEAL2_30065
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @STEAL2_30065
112@ = 16
113@ = 0
Text.ClearPrints

:STEAL2_30065
if 
  112@ == 16
goto_if_false @STEAL2_30235
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @STEAL2_30180
TIMERB = 0
set_lvar_int_to_lvar_int 112@ = 160@
set_lvar_int_to_lvar_int 113@ = 161@
gosub @STEAL2_30237
if 
  160@ == 0
goto_if_false @STEAL2_30173
Text.Print('STE2_01', 7000, 1)
TIMERB = 0

:STEAL2_30173
goto @STEAL2_30235

:STEAL2_30180
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(115@(113@,13s))
112@ = 14
113@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 159@ = 113@
159@ += 1
gosub @STEAL2_30237

:STEAL2_30235
return 

:STEAL2_30237
if 
  112@ == 1
goto_if_false @STEAL2_30286
set_lvar_text_label 115@s = 'STL2_AA'
set_lvar_int_to_constant 141@ = 36800
154@ = 1

:STEAL2_30286
if 
  112@ == 2
goto_if_false @STEAL2_30599
set_lvar_text_label 115@s = 'STL2_BA'
set_lvar_text_label 117@s = 'STL2_BB'
set_lvar_text_label 119@s = 'STL2_BC'
set_lvar_text_label 121@s = 'STL2_BD'
set_lvar_text_label 123@s = 'STL2_BE'
set_lvar_text_label 125@s = 'STL2_BF'
set_lvar_text_label 127@s = 'STL2_BG'
set_lvar_text_label 129@s = 'STL2_BH'
set_lvar_text_label 131@s = 'STL2_BJ'
set_lvar_text_label 133@s = 'STL2_BK'
set_lvar_text_label 135@s = 'STL2_BL'
set_lvar_text_label 137@s = 'STL2_BM'
set_lvar_int_to_constant 141@ = 36801
set_lvar_int_to_constant 142@ = 36802
set_lvar_int_to_constant 143@ = 36803
set_lvar_int_to_constant 144@ = 36804
set_lvar_int_to_constant 145@ = 36805
set_lvar_int_to_constant 146@ = 36806
set_lvar_int_to_constant 147@ = 36807
set_lvar_int_to_constant 148@ = 36808
set_lvar_int_to_constant 149@ = 36809
set_lvar_int_to_constant 150@ = 36810
set_lvar_int_to_constant 151@ = 36811
set_lvar_int_to_constant 152@ = 36812
154@ = 12

:STEAL2_30599
if 
  112@ == 3
goto_if_false @STEAL2_30792
set_lvar_text_label 115@s = 'STL2_CA'
set_lvar_text_label 117@s = 'STL2_CB'
set_lvar_text_label 119@s = 'STL2_CC'
set_lvar_text_label 121@s = 'STL2_CD'
set_lvar_text_label 123@s = 'STL2_CE'
set_lvar_text_label 125@s = 'STL2_CF'
set_lvar_text_label 127@s = 'STL2_CG'
set_lvar_int_to_constant 141@ = 36813
set_lvar_int_to_constant 142@ = 36814
set_lvar_int_to_constant 143@ = 36815
set_lvar_int_to_constant 144@ = 36816
set_lvar_int_to_constant 145@ = 36817
set_lvar_int_to_constant 146@ = 36818
set_lvar_int_to_constant 147@ = 36819
154@ = 7

:STEAL2_30792
if 
  112@ == 4
goto_if_false @STEAL2_31034
set_lvar_text_label 115@s = 'STL2_DA'
set_lvar_text_label 117@s = 'STL2_DB'
set_lvar_text_label 119@s = 'STL2_DC'
set_lvar_text_label 121@s = 'STL2_DD'
set_lvar_text_label 123@s = 'STL2_DE'
set_lvar_text_label 125@s = 'STL2_DF'
set_lvar_text_label 127@s = 'STL2_DH'
set_lvar_text_label 129@s = 'STL2_DJ'
set_lvar_text_label 131@s = 'STL2_DK'
set_lvar_int_to_constant 141@ = 36820
set_lvar_int_to_constant 142@ = 36821
set_lvar_int_to_constant 143@ = 36822
set_lvar_int_to_constant 144@ = 36823
set_lvar_int_to_constant 145@ = 36824
set_lvar_int_to_constant 146@ = 36825
set_lvar_int_to_constant 147@ = 36826
set_lvar_int_to_constant 148@ = 36827
set_lvar_int_to_constant 149@ = 36828
set_lvar_int_to_lvar_int 154@ = 159@

:STEAL2_31034
if 
  112@ == 5
goto_if_false @STEAL2_31179
set_lvar_text_label 115@s = 'STL2_EA'
set_lvar_text_label 117@s = 'STL2_EB'
set_lvar_text_label 119@s = 'STL2_EC'
set_lvar_text_label 121@s = 'STL2_ED'
set_lvar_text_label 123@s = 'STL2_EE'
set_lvar_int_to_constant 141@ = 36829
set_lvar_int_to_constant 142@ = 36830
set_lvar_int_to_constant 143@ = 36831
set_lvar_int_to_constant 144@ = 36832
set_lvar_int_to_constant 145@ = 36833
154@ = 5

:STEAL2_31179
if 
  112@ == 6
goto_if_false @STEAL2_31228
set_lvar_text_label 115@s = 'STL2_EF'
set_lvar_int_to_constant 141@ = 36834
154@ = 1

:STEAL2_31228
if 
  112@ == 7
goto_if_false @STEAL2_31325
set_lvar_text_label 115@s = 'STL2_FA'
set_lvar_text_label 117@s = 'STL2_FB'
set_lvar_text_label 119@s = 'STL2_FC'
set_lvar_int_to_constant 141@ = 36835
set_lvar_int_to_constant 142@ = 36836
set_lvar_int_to_constant 143@ = 36837
154@ = 3

:STEAL2_31325
if 
  112@ == 8
goto_if_false @STEAL2_31615
set_lvar_text_label 115@s = 'STL2_FD'
set_lvar_text_label 117@s = 'STL2_FE'
set_lvar_text_label 119@s = 'STL2_FF'
set_lvar_text_label 121@s = 'STL2_FG'
set_lvar_text_label 123@s = 'STL2_FH'
set_lvar_text_label 125@s = 'STL2_FJ'
set_lvar_text_label 129@s = 'STL2_FO'
set_lvar_text_label 131@s = 'STL2_FP'
set_lvar_text_label 133@s = 'STL2_FQ'
set_lvar_text_label 135@s = 'STL2_HB'
set_lvar_text_label 137@s = 'STL2_HC'
set_lvar_int_to_constant 141@ = 36838
set_lvar_int_to_constant 142@ = 36839
set_lvar_int_to_constant 143@ = 36840
set_lvar_int_to_constant 144@ = 36841
set_lvar_int_to_constant 145@ = 36842
set_lvar_int_to_constant 146@ = 36843
set_lvar_int_to_constant 148@ = 36848
set_lvar_int_to_constant 149@ = 36849
set_lvar_int_to_constant 150@ = 36850
set_lvar_int_to_constant 151@ = 36855
set_lvar_int_to_constant 152@ = 36856
set_lvar_int_to_lvar_int 154@ = 159@

:STEAL2_31615
if 
  112@ == 9
goto_if_false @STEAL2_31712
set_lvar_text_label 115@s = 'STL2_FL'
set_lvar_text_label 117@s = 'STL2_FM'
set_lvar_text_label 119@s = 'STL2_FN'
set_lvar_int_to_constant 141@ = 36845
set_lvar_int_to_constant 142@ = 36846
set_lvar_int_to_constant 143@ = 36847
154@ = 3

:STEAL2_31712
if 
  112@ == 10
goto_if_false @STEAL2_31833
set_lvar_text_label 115@s = 'STL2_FR'
set_lvar_text_label 117@s = 'STL2_GA'
set_lvar_text_label 119@s = 'STL2_GB'
set_lvar_text_label 121@s = 'STL2_HA'
set_lvar_int_to_constant 141@ = 36851
set_lvar_int_to_constant 142@ = 36852
set_lvar_int_to_constant 143@ = 36853
set_lvar_int_to_constant 144@ = 36854
154@ = 4

:STEAL2_31833
if 
  112@ == 11
goto_if_false @STEAL2_31906
set_lvar_text_label 115@s = 'STL2_HD'
set_lvar_text_label 117@s = 'STL2_HE'
set_lvar_int_to_constant 141@ = 36857
set_lvar_int_to_constant 142@ = 36858
154@ = 2

:STEAL2_31906
if 
  112@ == 12
goto_if_false @STEAL2_31979
set_lvar_text_label 115@s = 'STL2_HF'
set_lvar_text_label 117@s = 'STL2_HG'
set_lvar_int_to_constant 141@ = 36859
set_lvar_int_to_constant 142@ = 36860
154@ = 2

:STEAL2_31979
if 
  112@ == 14
goto_if_false @STEAL2_32093
set_lvar_text_label 115@s = 'CESX_BA'
set_lvar_text_label 117@s = 'CESX_BB'
set_lvar_text_label 119@s = 'CESX_BC'
set_lvar_text_label 121@s = 'CESX_BD'
set_lvar_int_to_constant 141@ = 10406
set_lvar_int_to_constant 142@ = 10407
set_lvar_int_to_constant 143@ = 10408
set_lvar_int_to_constant 144@ = 10409
set_lvar_int_to_lvar_int 154@ = 159@

:STEAL2_32093
set_lvar_int_to_lvar_int 157@ = 113@
155@ = 0
156@ = 0
158@ = 1
return 

:STEAL2_32124
if 
  is_int_lvar_greater_than_int_lvar 154@ > 157@
goto_if_false @STEAL2_32229
if 
  155@ == 0
goto_if_false @STEAL2_32186
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 141@(157@,13i))
157@ += 1
155@ = 1

:STEAL2_32186
if 
  156@ == 0
goto_if_false @STEAL2_32229
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 141@(157@,13i))
157@ += 1
156@ = 1

:STEAL2_32229
return 

:STEAL2_32231
if 
  158@ == 1
goto_if_false @STEAL2_32307
if 
  155@ == 1
goto_if_false @STEAL2_32307
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @STEAL2_32307
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(115@(113@,13s), 4500, 1)
155@ = 2

:STEAL2_32307
if 
  158@ == 2
goto_if_false @STEAL2_32383
if 
  156@ == 1
goto_if_false @STEAL2_32383
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @STEAL2_32383
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(115@(113@,13s), 4500, 1)
156@ = 2

:STEAL2_32383
return 

:STEAL2_32385
if 
  155@ == 2
goto_if_false @STEAL2_32448
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL2_32448
Text.ClearThisPrint(115@(113@,13s))
113@ += 1
158@ = 2
155@ = 0

:STEAL2_32448
if 
  156@ == 2
goto_if_false @STEAL2_32511
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @STEAL2_32511
Text.ClearThisPrint(115@(113@,13s))
113@ += 1
158@ = 1
156@ = 0

:STEAL2_32511
return 

//-------------Mission 69---------------
// Originally: Customs Fast Track

:STEAL4
script_name 'STEAL4'
gosub @STEAL4_47
if 
  has_deatharrest_been_executed 
goto_if_false @STEAL4_38
gosub @STEAL4_29969

:STEAL4_38
gosub @STEAL4_30816
terminate_this_script 

:STEAL4_47
$weapon_shop1_blip = 1
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0

:STEAL4_89
wait 0
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @STEAL4_115
36@ = 1

:STEAL4_115
39@ += 1
if 
  39@ > 9
goto_if_false @STEAL4_147
39@ = 0

:STEAL4_147
40@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 40@
sub_int_lvar_from_int_lvar 42@ -= 41@
set_lvar_int_to_lvar_int 41@ = 40@
add_int_lvar_to_int_lvar 60@ += 42@
add_int_lvar_to_int_lvar 61@ += 42@
add_int_lvar_to_int_lvar 62@ += 42@
add_int_lvar_to_int_lvar 63@ += 42@
add_int_lvar_to_int_lvar 64@ += 42@
gosub @STEAL4_700
if 
  67@ == 1
goto_if_false @STEAL4_248
goto @STEAL4_598

:STEAL4_248
if 
is_ps2_keyboard_key_just_pressed 138
goto_if_false @STEAL4_302
34@ = 10
35@ = 0
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @STEAL4_302
86@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:STEAL4_302
switch_start 34@ {numCases} 11 {hasDefaultCase} 0 {defaultLabel} @STEAL4_584 {caseNum1} 0 {caseLabel1} @STEAL4_430 {caseNum2} 1 {caseLabel2} @STEAL4_444 {caseNum3} 2 {caseLabel3} @STEAL4_458 {caseNum4} 3 {caseLabel4} @STEAL4_472 {caseNum5} 4 {caseLabel5} @STEAL4_486 {caseNum6} 5 {caseLabel6} @STEAL4_500 {caseNum7} 6 {caseLabel7} @STEAL4_514
switch_continued 7 {caseLabel1} @STEAL4_528 {caseNum2} 8 {caseLabel2} @STEAL4_542 {caseNum3} 9 {caseLabel3} @STEAL4_556 {caseNum4} 10 {caseLabel4} @STEAL4_570 {caseNum5} -1 {caseLabel5} @STEAL4_584 {caseNum6} -1 {caseLabel6} @STEAL4_584 {caseNum7} -1 {caseLabel7} @STEAL4_584 {caseNum8} -1 {caseLabel8} @STEAL4_584 {caseNum9} -1 {caseLabel9} @STEAL4_584

:STEAL4_430
gosub @STEAL4_1358
goto @STEAL4_584

:STEAL4_444
gosub @STEAL4_2503
goto @STEAL4_584

:STEAL4_458
gosub @STEAL4_3836
goto @STEAL4_584

:STEAL4_472
gosub @STEAL4_5024
goto @STEAL4_584

:STEAL4_486
gosub @STEAL4_7747
goto @STEAL4_584

:STEAL4_500
gosub @STEAL4_10598
goto @STEAL4_584

:STEAL4_514
gosub @STEAL4_12659
goto @STEAL4_584

:STEAL4_528
gosub @STEAL4_14739
goto @STEAL4_584

:STEAL4_542
gosub @STEAL4_19626
goto @STEAL4_584

:STEAL4_556
gosub @STEAL4_19628
goto @STEAL4_584

:STEAL4_570
gosub @STEAL4_22092
goto @STEAL4_584

:STEAL4_584
gosub @STEAL4_31331
gosub @STEAL4_25745

:STEAL4_598
if 
  38@ == 0
goto_if_false @STEAL4_698
if 
  37@ == 0
goto_if_false @STEAL4_682
if 
  36@ == 0
goto_if_false @STEAL4_666
goto @STEAL4_89
goto @STEAL4_675

:STEAL4_666
gosub @STEAL4_30732
return 

:STEAL4_675
goto @STEAL4_691

:STEAL4_682
gosub @STEAL4_29969
return 

:STEAL4_691
goto @STEAL4_700

:STEAL4_698
return 

:STEAL4_700
if 
is_ps2_keyboard_key_just_pressed 88
goto_if_false @STEAL4_791
if 
  65@ == 0
goto_if_false @STEAL4_765
65@ = 1
write_debug "LEVEL_DEBUG_ON"
goto @STEAL4_791

:STEAL4_765
65@ = 0
write_debug "LEVEL_DEBUG_OFF"

:STEAL4_791
if 
  65@ == 1
goto_if_false @STEAL4_1356
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @STEAL4_858
clear_all_view_variables 
66@ += 1
if 
  66@ > 2
goto_if_false @STEAL4_858
66@ = 0

:STEAL4_858
if 
  66@ == 1
goto_if_false @STEAL4_1110
set_var_int_to_lvar_int $7410 = 34@
set_var_int_to_lvar_int $7411 = 35@
set_var_int_to_lvar_int $7412 = 124@
set_var_int_to_lvar_int $7413 = 155@
set_var_int_to_lvar_int $st4_mission_attempts = 153@
set_var_int_to_lvar_int $buddy_health = 154@
set_var_int_to_lvar_int $s5_stingers_left = 132@
set_var_int_to_lvar_int $f1_bronze_award = 61@
view_integer_variable $7410 {_p2} "M_STAGE"
view_integer_variable $7411 {_p2} "M_GOALS"
view_integer_variable $7412 {_p2} "PLAYER_ON_FOOT"
view_integer_variable $7413 {_p2} "CONVERSATION_FLAG"
view_integer_variable $st4_mission_attempts {_p2} "ACTIVE_CONVERSATION"
view_integer_variable $buddy_health {_p2} "CONVERSATION_STATUS"
view_integer_variable $s5_stingers_left {_p2} "CRANE_HELP_FLAG"
view_integer_variable $f1_bronze_award {_p2} "CRANE_HELP_TIMER"

:STEAL4_1110
if 
  66@ == 2
goto_if_false @STEAL4_1253
view_float_variable $quarry_arm {_p2} "MAGNO_ARM_ROTATE_Y"
view_float_variable $quarry_base {_p2} "MAGNO_CABIN_H"
view_float_variable $quarry_stand {_p2} "MAGNO_ARM_H"
view_float_variable $magno_arm_h {_p2} "MAGNO_BASE_X"
view_float_variable $magno_arm_rotate_y {_p2} "MAGNO_BASE_Y"
view_float_variable $crane_help3 {_p2} "CRANE_ROPE_LENGTH"

:STEAL4_1253
if 
  67@ == 0
goto_if_false @STEAL4_1316
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @STEAL4_1309
write_debug "LEVEL_PAUSED"
67@ = 1

:STEAL4_1309
goto @STEAL4_1356

:STEAL4_1316
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @STEAL4_1356
write_debug "LEVEL_UNPAUSED"
67@ = 0

:STEAL4_1356
return 

:STEAL4_1358
if 
  35@ == -1
goto_if_false @STEAL4_1608
83@ = Car.Create(413, 0.0, 0.0, 0.0)
107@ = Blip.AddForCoord(0.0, 0.0, 0.0)
104@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
118@ = Blip.AddForCoord(0.0, 0.0, 0.0)
109@ = Blip.AddForCoord(0.0, 0.0, 0.0)
119@ = Blip.AddForCoord(0.0, 0.0, 0.0)
105@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
89@ = Car.Create(413, 0.0, 0.0, 0.0)
118@ = Blip.AddForCoord(0.0, 0.0, 0.0)
106@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
108@ = Blip.AddForCoord(0.0, 0.0, 0.0)

:STEAL4_1608
if 
  35@ == 0
goto_if_false @STEAL4_2439
$f1_gold_award = 0
124@ = 0
125@ = 0
126@ = 0
127@ = 0
128@ = 0
129@ = 0
130@ = 0
131@ = 0
132@ = 0
133@ = 0
134@ = 0
139@ = 0
140@ = 0
135@ = 0
136@ = 0
151@ = 0
152@ = 0
153@ = 0
154@ = 0
155@ = 0
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:STEAL4_1787
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_1811
wait 0
goto @STEAL4_1787

:STEAL4_1811
Text.LoadMissionText('STEAL4')
Streaming.SetAreaVisible(1)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
Streaming.LoadScene(-2031.0, 149.0, 29.0)
Cutscene.Load('STEAL_4')

:STEAL4_1861
if 
  not Cutscene.HasLoaded
goto_if_false @STEAL4_1885
wait 0
goto @STEAL4_1861

:STEAL4_1885
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:STEAL4_1894
if 
  not Cutscene.HasFinished
goto_if_false @STEAL4_1918
wait 0
goto @STEAL4_1894

:STEAL4_1918
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:STEAL4_1933
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_1957
wait 0
goto @STEAL4_1933

:STEAL4_1957
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.SetAreaVisible(0)
World.ClearArea(-2036.17, 179.2839, 27.8359, 10.0, True)
Streaming.LoadSpecialCharacter(1, 'CESAR')
Streaming.RequestModel(567)

:STEAL4_2010
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(567)
goto_if_false @STEAL4_2041
wait 0
goto @STEAL4_2010

:STEAL4_2041
Car.CustomPlateForNextCar(567, "LVA4L")
82@ = Car.Create(567, -2034.706, 177.7413, 27.8359)
Car.ChangeColor(82@, 3, 3)
Car.SetHeading(82@, 244.5958)
Streaming.MarkModelAsNoLongerNeeded(567)
68@ = Char.CreateAsPassenger(82@, PedType.Mission2, 290, 0)
Char.SetNeverTargeted(68@, True)
Char.SetDrownsInWater(68@, False)
Char.SetHealth(68@, 400)
Char.SetMaxHealth(68@, 400)
Char.SetCantBeDraggedOut(68@, True)
Char.SetSuffersCriticalHits(68@, False)
Char.SetCoordinates($stattreadstamina_ctr, -2035.53, 180.7482, 27.8359)
Char.SetHeading($stattreadstamina_ctr, 209.6339)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.SwitchRandomTrains(False)
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
Player.SetGroupToFollowAlways($statbike_temp, True)
171@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
168@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
172@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @STEAL4_2273
$magno_arm_h, $magno_arm_rotate_y, $arm_rotate_y = Object.GetCoordinates($magno_cabin_LOD)

:STEAL4_2273
$quarry_arm = 15.0
$quarry_base = 207.615
$quarry_stand = 207.615
$magno_arm_h = -1586.7
$magno_arm_rotate_y = 84.79579
$crane_help3 = 0.639
gosub @STEAL4_28749
43@ = 0

:STEAL4_2347
if 
  10 > 43@
goto_if_false @STEAL4_2390
141@(43@,10i) = 0
43@ += 1
goto @STEAL4_2347

:STEAL4_2390
Hud.SwitchWidescreen(False)
Game.SetWantedMultiplier(0.001)
Camera.DoFade(1000, Fade.In)

:STEAL4_2408
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_2432
wait 0
goto @STEAL4_2408

:STEAL4_2432
35@ += 1

:STEAL4_2439
if 
  35@ == 1
goto_if_false @STEAL4_2501
Text.PrintNow('ST4_05', 5000, 1)
TIMERA = 0
34@ += 1
35@ = 0
56@ = 0

:STEAL4_2501
return 

:STEAL4_2503
if 
  35@ == 0
goto_if_false @STEAL4_2774
$disable_crane_slide = 1
92@ = Object.CreateNoOffset(#KMB_CONTAINER_BLUE, -1570.986, 55.2009, 17.746)
Object.SetHeading(92@, 40.4082)
93@ = Object.CreateNoOffset(#KMB_CONTAINER_BLUE, -1564.401, 62.1434, 17.7537)
Object.SetHeading(93@, 235.0724)
94@ = Object.CreateNoOffset(#KMB_CONTAINER_BLUE, -1582.202, 54.1735, 17.7537)
Object.SetHeading(94@, 0.0)
96@ = Object.CreateNoOffset(#KMB_CONTAINER_RED, -1658.85, 44.8514, 4.06)
Object.SetHeading(96@, 315.2922)
95@ = Object.CreateNoOffset(#KMB_CONTAINER_YEL, -1649.476, 9.1182, 4.06)
Object.SetHeading(95@, 315.1249)
43@ = 0

:STEAL4_2700
if 
  4 > 43@
goto_if_false @STEAL4_2763
if 
  Object.DoesExist(92@(43@,9i))
goto_if_false @STEAL4_2749
Object.FreezePosition(92@(43@,9i), True)

:STEAL4_2749
43@ += 1
goto @STEAL4_2700

:STEAL4_2763
Audio.SetRadioChannel(RadioChannel.PlaybackFM)
35@ += 1

:STEAL4_2774
if 
  35@ == 1
goto_if_false @STEAL4_2923
if 
  56@ == 0
goto_if_false @STEAL4_2843
if 
  TIMERA > 6000
goto_if_false @STEAL4_2843
153@ = 1
56@ = 1

:STEAL4_2843
if 
  not Car.IsDead(82@)
goto_if_false @STEAL4_2923
if 
  Char.IsInCar($stattreadstamina_ctr, 82@)
goto_if_false @STEAL4_2923
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_2916
Group.SetMember($flag_cell_nation, 68@)
Char.SetDrownsInWater(68@, False)
126@ = 1

:STEAL4_2916
35@ += 1

:STEAL4_2923
if 
  35@ == 2
goto_if_false @STEAL4_3072
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_3072
if 
  not Car.IsDead(82@)
goto_if_false @STEAL4_3072
if 
  Char.IsInCar(68@, 82@)
goto_if_false @STEAL4_3072
if 
  153@ == 0
goto_if_false @STEAL4_3072
35@ += 1
Blip.Remove(108@)
108@ = Blip.AddForCoord(-1585.63, 90.3697, 2.7752)
Text.PrintNow('ST4_43', 7000, 1)
56@ = 0
TIMERA = 0

:STEAL4_3072
if 
  35@ > 2
goto_if_false @STEAL4_3141
if 
  56@ == 0
goto_if_false @STEAL4_3141
if 
  TIMERA > 8000
goto_if_false @STEAL4_3141
153@ = 2
56@ = 1

:STEAL4_3141
if 
  35@ == 3
goto_if_false @STEAL4_3498
if 
  not Car.IsDead(82@)
goto_if_false @STEAL4_3274
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_3274
if 
  Char.IsInCar(68@, 82@)
goto_if_false @STEAL4_3274
if 
  Char.IsInCar($stattreadstamina_ctr, 82@)
goto_if_false @STEAL4_3274
if 
  Car.Locate2D(82@, -1585.63, 90.3697, 100.0, 100.0, False)
goto_if_false @STEAL4_3274
35@ = 99

:STEAL4_3274
if 
  65@ == 1
goto_if_false @STEAL4_3399
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @STEAL4_3399
if 
  not Car.IsDead(82@)
goto_if_false @STEAL4_3399
if 
  Char.IsInCar($stattreadstamina_ctr, 82@)
goto_if_false @STEAL4_3399
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_3399
if 
  Char.IsInCar(68@, 82@)
goto_if_false @STEAL4_3399
Car.SetCoordinates(82@, -1585.63, 90.3, 5.0)

:STEAL4_3399
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_3498
if 
  Char.LocateOnFoot2D(68@, -1585.63, 90.3697, 70.0, 70.0, False)
goto_if_false @STEAL4_3498
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, -1585.63, 90.3697, 70.0, 70.0, False)
goto_if_false @STEAL4_3498
35@ = 99

:STEAL4_3498
if 
  35@ == 99
goto_if_false @STEAL4_3530
35@ = 0
34@ += 1

:STEAL4_3530
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_3729
if 
  not Car.IsDead(82@)
goto_if_false @STEAL4_3729
if 
  Char.IsInCar(68@, 82@)
goto_if_false @STEAL4_3678
if 
  not Char.IsInCar($stattreadstamina_ctr, 82@)
goto_if_false @STEAL4_3639
if 
  133@ <> 1
goto_if_false @STEAL4_3632
133@ = 1
gosub @STEAL4_29801

:STEAL4_3632
goto @STEAL4_3671

:STEAL4_3639
if 
  133@ <> 0
goto_if_false @STEAL4_3671
133@ = 0
gosub @STEAL4_29801

:STEAL4_3671
goto @STEAL4_3729

:STEAL4_3678
if 
  not Char.IsInCar($stattreadstamina_ctr, 82@)
goto_if_false @STEAL4_3729
if 
  133@ <> 1
goto_if_false @STEAL4_3729
133@ = 1
gosub @STEAL4_29801

:STEAL4_3729
gosub @STEAL4_28047
if 
  126@ <> 1
goto_if_false @STEAL4_3782
if 
  Blip.DoesExist(108@)
goto_if_false @STEAL4_3775
Blip.Remove(108@)

:STEAL4_3775
goto @STEAL4_3834

:STEAL4_3782
if 
  not Blip.DoesExist(108@)
goto_if_false @STEAL4_3834
108@ = Blip.AddForCoord(-1585.63, 90.3697, 2.7752)
Text.PrintNow('ST4_43', 7000, 1)

:STEAL4_3834
return 

:STEAL4_3836
if 
  35@ == 0
goto_if_false @STEAL4_3900
Text.ClearPrints
Text.PrintNow('ST4_13', 5000, 1)
$disable_crane_slide = 0
56@ = 0
TIMERA = 0
35@ += 1

:STEAL4_3900
if 
  35@ == 1
goto_if_false @STEAL4_4434
138@ = 0
if 
  56@ == 0
goto_if_false @STEAL4_3976
if 
  TIMERA > 5500
goto_if_false @STEAL4_3976
153@ = 3
56@ += 1

:STEAL4_3976
if 
  126@ <> 1
goto_if_false @STEAL4_4029
if 
  Blip.DoesExist(108@)
goto_if_false @STEAL4_4022
Blip.Remove(108@)
$disable_crane_slide = 1

:STEAL4_4022
goto @STEAL4_4088

:STEAL4_4029
if 
  not Blip.DoesExist(108@)
goto_if_false @STEAL4_4088
108@ = Blip.AddForCoord(-1585.63, 90.3697, 2.7752)
Text.PrintNow('ST4_13', 7000, 1)
$disable_crane_slide = 0

:STEAL4_4088
if 
  $finish_crane_loading_script == 2
goto_if_false @STEAL4_4427
$disable_crane_rotate = 1
$sw6_mission_attempts = 1
Blip.Remove(108@)
60@ = 30000
61@ = 8000
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_4212
Char.RemoveFromGroup(68@)
Char.ClearTasksImmediately(68@)
Char.SetDecisionMaker(68@, 168@)
Char.SetCoordinates(68@, -1627.831, 63.8863, 2.9167)
Char.SetHeading(68@, 299.601)
Char.SetDrownsInWater(68@, False)

:STEAL4_4212
156@ = -1620.938
157@ = 75.4195
158@ = 4.1
159@ = 20.7795
160@ = -1632.786
161@ = 61.2888
162@ = 4.1
163@ = 6.6851
164@ = -1644.017
165@ = 50.9619
166@ = 4.1
167@ = 39.4583
Text.ClearHelp
Text.ClearPrints
43@ = 0

:STEAL4_4343
if 
  4 > 43@
goto_if_false @STEAL4_4406
if 
  Object.DoesExist(92@(43@,9i))
goto_if_false @STEAL4_4392
Object.FreezePosition(92@(43@,9i), False)

:STEAL4_4392
43@ += 1
goto @STEAL4_4343

:STEAL4_4406
gosub @STEAL4_28047
35@ += 1
goto @STEAL4_4434

:STEAL4_4427
gosub @STEAL4_28047

:STEAL4_4434
if 
  35@ == 2
goto_if_false @STEAL4_4552
gosub @STEAL4_35172
Crane.EnableControls(False, False, False)
$disable_crane_slide = 1
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-1517.693, 60.1951, 57.7488, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1518.545, 60.208, 57.2246, SwitchType.JumpCut)
Text.ClearPrints
TIMERA = 0
56@ = 0
35@ += 1

:STEAL4_4552
if and
  35@ > 2
  6 > 35@
goto_if_false @STEAL4_4664
if 
  138@ == 0
goto_if_false @STEAL4_4640
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @STEAL4_4633
gosub @STEAL4_35172
35@ = 6
138@ = 1

:STEAL4_4633
goto @STEAL4_4664

:STEAL4_4640
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @STEAL4_4664
138@ = 0

:STEAL4_4664
if 
  35@ == 3
goto_if_false @STEAL4_4715
if 
  TIMERA > 1000
goto_if_false @STEAL4_4715
153@ = 4
35@ += 1

:STEAL4_4715
if 
  35@ == 4
goto_if_false @STEAL4_4759
if 
  TIMERA > 2500
goto_if_false @STEAL4_4759
35@ += 1

:STEAL4_4759
if 
  35@ == 5
goto_if_false @STEAL4_4849
Camera.SetFixedPosition(-1631.997, 64.4568, 3.1424, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1631.031, 64.5624, 3.3783, SwitchType.JumpCut)
56@ = 0
35@ += 1
TIMERA = 0

:STEAL4_4849
if 
  35@ == 6
goto_if_false @STEAL4_4892
if 
  153@ == 0
goto_if_false @STEAL4_4892
35@ += 1

:STEAL4_4892
if 
  35@ == 7
goto_if_false @STEAL4_4958
$bball_challenge_timer = 1
$remove_player_from_crane = 1
Hud.Display(False)
Hud.DisplayRadar(False)
Hud.SwitchWidescreen(False)
$disable_crane_slide = 0
Crane.EnableControls(True, True, True)
35@ = 99

:STEAL4_4958
if 
  35@ == 99
goto_if_false @STEAL4_5022
Streaming.RequestModel(589)

:STEAL4_4981
if 
  not Streaming.HasModelLoaded(589)
goto_if_false @STEAL4_5008
wait 0
goto @STEAL4_4981

:STEAL4_5008
35@ = 0
34@ += 1

:STEAL4_5022
return 

:STEAL4_5024
if and
  35@ > 0
  3 > 35@
goto_if_false @STEAL4_5143
if 
  138@ == 0
goto_if_false @STEAL4_5119
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @STEAL4_5112
$bball_challenge_timer = 1
$remove_player_from_crane = 1
138@ = 1
35@ = 3

:STEAL4_5112
goto @STEAL4_5143

:STEAL4_5119
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @STEAL4_5143
138@ = 0

:STEAL4_5143
switch_start 35@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @STEAL4_7590 {caseNum1} 0 {caseLabel1} @STEAL4_5271 {caseNum2} 1 {caseLabel2} @STEAL4_5528 {caseNum3} 2 {caseLabel3} @STEAL4_5582 {caseNum4} 3 {caseLabel4} @STEAL4_5638 {caseNum5} 4 {caseLabel5} @STEAL4_5781 {caseNum6} 5 {caseLabel6} @STEAL4_6011 {caseNum7} 6 {caseLabel7} @STEAL4_6462
switch_continued 7 {caseLabel1} @STEAL4_7311 {caseNum2} 99 {caseLabel2} @STEAL4_7569 {caseNum3} -1 {caseLabel3} @STEAL4_7590 {caseNum4} -1 {caseLabel4} @STEAL4_7590 {caseNum5} -1 {caseLabel5} @STEAL4_7590 {caseNum6} -1 {caseLabel6} @STEAL4_7590 {caseNum7} -1 {caseLabel7} @STEAL4_7590 {caseNum8} -1 {caseLabel8} @STEAL4_7590 {caseNum9} -1 {caseLabel9} @STEAL4_7590

:STEAL4_5271
if 
  138@ == 0
goto_if_false @STEAL4_5428
if 
  133@ <> 3
goto_if_false @STEAL4_5321
133@ = 3
gosub @STEAL4_29801

:STEAL4_5321
$disable_crane_slide = 1
$bball_challenge_timer = 0
$remove_player_from_crane = 1
TIMERA = 0
Text.PrintHelpForever('ST4_H08')
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_5414
Char.SetDecisionMaker(68@, 172@)
Char.SetCoordinates(68@, -1626.981, 65.4201, 2.5495)
Char.SetHeading(68@, 306.9205)

:STEAL4_5414
35@ += 1
goto @STEAL4_5521

:STEAL4_5428
if 
  133@ <> 3
goto_if_false @STEAL4_5460
133@ = 3
gosub @STEAL4_29801

:STEAL4_5460
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_5514
Char.SetDecisionMaker(68@, 172@)
Char.SetCoordinates(68@, -1626.981, 65.4201, 2.5495)
Char.SetHeading(68@, 306.9205)

:STEAL4_5514
35@ = 3

:STEAL4_5521
goto @STEAL4_7590

:STEAL4_5528
if 
  TIMERA > 3000
goto_if_false @STEAL4_5575
$bball_challenge_timer = 1
$remove_player_from_crane = 1
TIMERA = 0
35@ += 1

:STEAL4_5575
goto @STEAL4_7590

:STEAL4_5582
if 
  TIMERA > 3000
goto_if_false @STEAL4_5631
Text.ClearHelp
$bball_challenge_timer = 1
$remove_player_from_crane = 1
TIMERA = 0
35@ += 1

:STEAL4_5631
goto @STEAL4_7590

:STEAL4_5638
Hud.Display(True)
Hud.DisplayRadar(True)
Text.ClearHelp
Crane.EnableControls(True, True, True)
$bball_challenge_timer = 1
$remove_player_from_crane = 1
$disable_crane_slide = 0
$bball_challenge_active = 0
$bball_challenge_high_score = 0
$sw6_mission_attempts = 0
128@ = 0
Text.PrintNow('ST4_T01', 5000, 1)
109@ = Blip.AddForObject(92@)
110@ = Blip.AddForObject(93@)
111@ = Blip.AddForObject(94@)
61@ = 10000
132@ = 0
TIMERA = 0
35@ += 1
goto @STEAL4_7590

:STEAL4_5781
83@, 69@, 91@ = Object.GrabEntityOnRope($magno_base_x)
if or
  is_int_lvar_equal_to_int_lvar 91@ == 92@
  is_int_lvar_equal_to_int_lvar 91@ == 93@
  is_int_lvar_equal_to_int_lvar 91@ == 94@
goto_if_false @STEAL4_6004
set_lvar_int_to_lvar_int 106@ = 91@
Crane.EnableControls(True, True, False)
128@ = 1
if 
  Blip.DoesExist(109@)
goto_if_false @STEAL4_5874
Blip.Remove(109@)

:STEAL4_5874
if 
  Blip.DoesExist(110@)
goto_if_false @STEAL4_5895
Blip.Remove(110@)

:STEAL4_5895
if 
  Blip.DoesExist(111@)
goto_if_false @STEAL4_5916
Blip.Remove(111@)

:STEAL4_5916
Blip.Remove(108@)
108@ = Blip.AddForCoord(156@, 157@, 158@)
$bball_challenge_active = 0
$bball_challenge_high_score = 0
Text.ClearHelp
Text.PrintNow('ST4_T02', 5000, 1)
132@ = 0
61@ = 500
TIMERA = 20000
TIMERB = 0
35@ += 1

:STEAL4_6004
goto @STEAL4_7590

:STEAL4_6011
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_6279
  Object.Locate3D(106@, 156@, 157@, 158@, 5.0, 5.0, 3.0, True)
if 
  Object.Locate2D(106@, 156@, 157@, 6.0, 6.0, False)
goto_if_false @STEAL4_6132
if 
  128@ <> 0
goto_if_false @STEAL4_6125
Crane.EnableControls(True, True, True)
128@ = 0

:STEAL4_6125
goto @STEAL4_6165

:STEAL4_6132
if 
  128@ <> 1
goto_if_false @STEAL4_6165
Crane.EnableControls(True, True, False)
128@ = 1

:STEAL4_6165
if 
  Object.Locate3D(106@, 156@, 157@, 158@, 6.0, 6.0, 6.0, False)
goto_if_false @STEAL4_6252
if 
  132@ <> 4
goto_if_false @STEAL4_6245
Text.ClearHelp
Text.PrintHelpForever('ST4_H03')
132@ = 4

:STEAL4_6245
goto @STEAL4_6279

:STEAL4_6252
if 
  132@ == 4
goto_if_false @STEAL4_6279
Text.ClearHelp
132@ = 0

:STEAL4_6279
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_6455
83@, 69@, 91@ = Object.GrabEntityOnRope($magno_base_x)
if 
  not is_int_lvar_equal_to_int_lvar 91@ == 106@
goto_if_false @STEAL4_6455
TIMERA = 0
set_lvar_int_to_lvar_int 104@ = 106@
Text.ClearPrints
Text.ClearHelp
if 
  Blip.DoesExist(109@)
goto_if_false @STEAL4_6368
Blip.Remove(109@)

:STEAL4_6368
if 
  Blip.DoesExist(110@)
goto_if_false @STEAL4_6389
Blip.Remove(110@)

:STEAL4_6389
if 
  Blip.DoesExist(111@)
goto_if_false @STEAL4_6410
Blip.Remove(111@)

:STEAL4_6410
if 
  Blip.DoesExist(108@)
goto_if_false @STEAL4_6431
Blip.Remove(108@)

:STEAL4_6431
35@ += 1
139@ = 0
173@ = 0.0

:STEAL4_6455
goto @STEAL4_7590

:STEAL4_6462
if 
  139@ == 1
goto_if_false @STEAL4_6681
if 
  Object.HasCollidedWithAnything(106@)
goto_if_false @STEAL4_6681
if 
  173@ > 14.0
goto_if_false @STEAL4_6674
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(106@)
Car.CustomPlateForNextCar(589, "N13_LLF")
84@ = Car.Create(589, $on_footY, $on_footZ, $in_carX)
Car.ChangeColor(84@, 11, 0)
Car.AttachToObject(84@, 106@, 0.0, 0.0, -0.8, 0.0, 0.0, 180.0)
Object.SortOutCollisionWithCar(106@, 84@)
Object.Break(106@, 1)
if 
  not Car.IsDead(84@)
goto_if_false @STEAL4_6667
Car.Detach(84@, 0.0, 0.0, 0.0, False)
Car.Explode(84@)

:STEAL4_6667
140@ = 1

:STEAL4_6674
139@ = 2

:STEAL4_6681
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_6758
173@ = Object.GetSpeed(106@)
if 
  173@ > 5.0
goto_if_false @STEAL4_6758
if 
  139@ == 0
goto_if_false @STEAL4_6758
Object.SetRecordsCollisions(106@, True)
139@ = 1

:STEAL4_6758
if 
  TIMERA > 1000
goto_if_false @STEAL4_7304
if 
  140@ <> 1
goto_if_false @STEAL4_7292
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_7285
if or
  Object.IsStatic(106@)
  TIMERA > 2000
goto_if_false @STEAL4_7285
Text.ClearHelp
$disable_crane_slide = 1
Camera.DoFade(150, Fade.Out)

:STEAL4_6851
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_6875
wait 0
goto @STEAL4_6851

:STEAL4_6875
if 
  Object.DoesExist($magno_base_x)
goto_if_false @STEAL4_6901
Object.SetRopeHeight($magno_base_x, 0.5)

:STEAL4_6901
Object.ReleaseEntityFromRope($magno_base_x)
Object.Delete(104@)
101@ = Object.CreateNoOffset(#KMB_CONTAINER_OPEN, 156@, 157@, 158@)
Object.SetHeading(101@, 159@)
Car.CustomPlateForNextCar(589, "N13_LLF")
84@ = Car.Create(589, 0.0, 0.0, 0.0)
Car.ChangeColor(84@, 11, 0)
Streaming.MarkModelAsNoLongerNeeded(589)
Car.AttachToObject(84@, 101@, 0.0, 0.0, -0.8, 0.0, 0.0, 180.0)
Object.SortOutCollisionWithCar(101@, 84@)
135@ = 1
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_7086
Char.SetCoordinates(68@, -1619.436, 68.7884, 2.5495)
Char.SetHeading(68@, 0.0)

:STEAL4_7086
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-1618.103, 66.5178, 4.5138, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1618.392, 67.4668, 4.3861, SwitchType.JumpCut)
Crane.EnableControls(False, False, False)
Streaming.LoadScene(156@, 157@, 158@)
Camera.DoFade(150, Fade.In)

:STEAL4_7167
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_7191
wait 0
goto @STEAL4_7167

:STEAL4_7191
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_7212
Task.ScratchHead(68@)

:STEAL4_7212
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37012)

:STEAL4_7225
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_7251
wait 0
goto @STEAL4_7225

:STEAL4_7251
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('STL4_FA', 5000, 1)
TIMERA = 0
35@ += 1

:STEAL4_7285
goto @STEAL4_7304

:STEAL4_7292
wait 2000
37@ = 1

:STEAL4_7304
goto @STEAL4_7590

:STEAL4_7311
if or
  TIMERA > 5000
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @STEAL4_7562
$remove_player_from_crane = 1
$disable_crane_slide = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Camera.DoFade(0, Fade.In)
Hud.SwitchWidescreen(False)
Crane.EnableControls(True, True, True)
if 
  Object.DoesExist(92@)
goto_if_false @STEAL4_7396
109@ = Blip.AddForObject(92@)

:STEAL4_7396
if 
  Object.DoesExist(93@)
goto_if_false @STEAL4_7420
110@ = Blip.AddForObject(93@)

:STEAL4_7420
if 
  Object.DoesExist(94@)
goto_if_false @STEAL4_7444
111@ = Blip.AddForObject(94@)

:STEAL4_7444
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_7516
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1642.827, 54.0446, 2.5495, MoveState.Run, 10000)
Task.AchieveHeading(-1, 306.0)
Sequence.Close(49@)
Char.PerformSequence(68@, 49@)
Sequence.Clear(49@)

:STEAL4_7516
Text.ClearPrints
Text.Print('ST4_T04', 7000, 1)
TIMERA = 0
TIMERB = 0
132@ = 0
35@ = 99

:STEAL4_7562
goto @STEAL4_7590

:STEAL4_7569
34@ += 1
35@ = 0
goto @STEAL4_7590

:STEAL4_7590
if 
  35@ > 0
goto_if_false @STEAL4_7745
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @STEAL4_7745
if 
  141@ == 0
goto_if_false @STEAL4_7666
Text.PrintHelp('ST4_H10')
141@ = 1
goto @STEAL4_7745

:STEAL4_7666
if 
  142@ == 0
goto_if_false @STEAL4_7709
Text.PrintHelp('ST4_H05')
142@ = 1
goto @STEAL4_7745

:STEAL4_7709
if 
  143@ == 0
goto_if_false @STEAL4_7745
Text.PrintHelp('ST4_H07')
143@ = 1

:STEAL4_7745
return 

:STEAL4_7747
if 
  35@ == 0
goto_if_false @STEAL4_7903
TIMERA = 0
TIMERB = 0
132@ = 0
if 
  Object.DoesExist(92@)
goto_if_false @STEAL4_7809
Object.FreezePosition(92@, True)

:STEAL4_7809
if 
  Object.DoesExist(93@)
goto_if_false @STEAL4_7832
Object.FreezePosition(93@, True)

:STEAL4_7832
if 
  Object.DoesExist(94@)
goto_if_false @STEAL4_7855
Object.FreezePosition(94@, True)

:STEAL4_7855
if 
  $f1_silver_award == 0
goto_if_false @STEAL4_7887
151@ = 0
goto @STEAL4_7896

:STEAL4_7887
151@ = Math.RandomIntInRange(0, 2)

:STEAL4_7896
35@ += 1

:STEAL4_7903
if 
  35@ == 1
goto_if_false @STEAL4_8145
83@, 69@, 91@ = Object.GrabEntityOnRope($magno_base_x)
if or
  is_int_lvar_equal_to_int_lvar 91@ == 92@
  is_int_lvar_equal_to_int_lvar 91@ == 93@
  is_int_lvar_equal_to_int_lvar 91@ == 94@
goto_if_false @STEAL4_8145
Object.FreezePosition(91@, False)
set_lvar_int_to_lvar_int 106@ = 91@
Crane.EnableControls(True, True, False)
$bball_challenge_active = 0
$bball_challenge_high_score = 0
128@ = 1
Text.ClearPrints
Text.PrintNow('ST4_T06', 7000, 1)
if 
  Blip.DoesExist(109@)
goto_if_false @STEAL4_8053
Blip.Remove(109@)

:STEAL4_8053
if 
  Blip.DoesExist(110@)
goto_if_false @STEAL4_8074
Blip.Remove(110@)

:STEAL4_8074
if 
  Blip.DoesExist(111@)
goto_if_false @STEAL4_8095
Blip.Remove(111@)

:STEAL4_8095
Blip.Remove(108@)
108@ = Blip.AddForCoord(160@, 161@, 162@)
Text.ClearHelp
132@ = 0
TIMERA = 20000
TIMERB = 0
35@ += 1

:STEAL4_8145
if 
  35@ == 2
goto_if_false @STEAL4_8292
if 
  151@ == 0
goto_if_false @STEAL4_8240
Streaming.RequestModel(404)
if 
  Streaming.HasModelLoaded(404)
goto_if_false @STEAL4_8233
TIMERA = 20000
35@ += 1
Text.PrintNow('ST4_T06', 7000, 1)

:STEAL4_8233
goto @STEAL4_8292

:STEAL4_8240
Streaming.RequestModel(559)
if 
  Streaming.HasModelLoaded(559)
goto_if_false @STEAL4_8292
TIMERA = 20000
35@ += 1
Text.PrintNow('ST4_T06', 7000, 1)

:STEAL4_8292
if 
  35@ == 3
goto_if_false @STEAL4_8783
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_8599
  Object.Locate3D(106@, 160@, 161@, 162@, 5.0, 5.0, 3.0, True)
if 
  Object.Locate2D(106@, 160@, 161@, 6.0, 6.0, False)
goto_if_false @STEAL4_8431
if 
  128@ <> 0
goto_if_false @STEAL4_8424
Crane.EnableControls(True, True, True)
128@ = 0

:STEAL4_8424
goto @STEAL4_8464

:STEAL4_8431
if 
  128@ <> 1
goto_if_false @STEAL4_8464
Crane.EnableControls(True, True, False)
128@ = 1

:STEAL4_8464
if 
  Object.Locate3D(106@, 160@, 161@, 162@, 6.0, 6.0, 6.0, False)
goto_if_false @STEAL4_8551
if 
  132@ <> 2
goto_if_false @STEAL4_8544
Text.ClearHelp
Text.PrintHelpForever('ST4_H03')
132@ = 2

:STEAL4_8544
goto @STEAL4_8599

:STEAL4_8551
if 
  132@ == 2
goto_if_false @STEAL4_8599
if 
  61@ > 10000
goto_if_false @STEAL4_8590
Text.ClearPrints

:STEAL4_8590
Text.ClearHelp
132@ = 0

:STEAL4_8599
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_8783
83@, 69@, 91@ = Object.GrabEntityOnRope($magno_base_x)
if 
  not is_int_lvar_equal_to_int_lvar 91@ == 106@
goto_if_false @STEAL4_8783
Crane.EnableControls(True, True, True)
128@ = 0
set_lvar_int_to_lvar_int 104@ = 106@
if 
  Blip.DoesExist(109@)
goto_if_false @STEAL4_8692
Blip.Remove(109@)

:STEAL4_8692
if 
  Blip.DoesExist(110@)
goto_if_false @STEAL4_8713
Blip.Remove(110@)

:STEAL4_8713
if 
  Blip.DoesExist(111@)
goto_if_false @STEAL4_8734
Blip.Remove(111@)

:STEAL4_8734
if 
  Blip.DoesExist(108@)
goto_if_false @STEAL4_8755
Blip.Remove(108@)

:STEAL4_8755
TIMERA = 0
139@ = 0
140@ = 0
35@ += 1

:STEAL4_8783
if 
  35@ == 4
goto_if_false @STEAL4_9254
if 
  139@ == 1
goto_if_false @STEAL4_9074
if 
  Object.HasCollidedWithAnything(106@)
goto_if_false @STEAL4_9074
if 
  173@ > 14.0
goto_if_false @STEAL4_9067
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(106@)
if 
  151@ == 0
goto_if_false @STEAL4_8912
86@ = Car.Create(404, $on_footY, $on_footZ, $in_carX)
goto @STEAL4_8929

:STEAL4_8912
86@ = Car.Create(559, $on_footY, $on_footZ, $in_carX)

:STEAL4_8929
Car.AttachToObject(86@, 106@, 0.0, 0.0, -0.8, 0.0, 0.0, 180.0)
Object.SortOutCollisionWithCar(106@, 86@)
Object.Break(106@, 1)
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_9025
Car.Detach(86@, 0.0, 0.0, 0.0, False)
Car.Explode(86@)

:STEAL4_9025
if 
  151@ == 0
goto_if_false @STEAL4_9055
Streaming.MarkModelAsNoLongerNeeded(404)
goto @STEAL4_9060

:STEAL4_9055
Streaming.MarkModelAsNoLongerNeeded(559)

:STEAL4_9060
140@ = 1

:STEAL4_9067
139@ = 2

:STEAL4_9074
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_9151
173@ = Object.GetSpeed(106@)
if 
  173@ > 5.0
goto_if_false @STEAL4_9151
if 
  139@ == 0
goto_if_false @STEAL4_9151
Object.SetRecordsCollisions(106@, True)
139@ = 1

:STEAL4_9151
if 
  TIMERA > 1000
goto_if_false @STEAL4_9254
if 
  140@ <> 1
goto_if_false @STEAL4_9242
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_9235
if or
  Object.IsStatic(106@)
  TIMERA > 2000
goto_if_false @STEAL4_9235
35@ += 1

:STEAL4_9235
goto @STEAL4_9254

:STEAL4_9242
wait 2000
37@ = 1

:STEAL4_9254
if 
  35@ == 5
goto_if_false @STEAL4_10327
if 
  151@ == 0
goto_if_false @STEAL4_9955
Text.ClearHelp
Text.ClearPrints
Camera.DoFade(150, Fade.Out)

:STEAL4_9301
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_9325
wait 0
goto @STEAL4_9301

:STEAL4_9325
Hud.SwitchWidescreen(True)
$disable_crane_slide = 1
Crane.EnableControls(False, False, False)
Object.ReleaseEntityFromRope($magno_base_x)
Object.Delete(104@)
102@ = Object.CreateNoOffset(#KMB_CONTAINER_OPEN, 160@, 161@, 162@)
Object.SetHeading(102@, 163@)
85@ = Car.Create(404, -1632.786, 61.2888, 2.2888)
46@ = Object.GetHeading(102@)
46@ += 180.0
Car.SetHeading(85@, 46@)
Object.SortOutCollisionWithCar(102@, 85@)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_9482
Char.SetCoordinates(68@, -1631.028, 54.3581, 2.5495)
Char.SetHeading(68@, 5.3011)

:STEAL4_9482
Camera.SetFixedPosition(-1632.001, 52.1951, 4.5485, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1631.943, 53.181, 4.3914, SwitchType.JumpCut)
if 
  Object.DoesExist($magno_base_x)
goto_if_false @STEAL4_9559
Object.SetRopeHeight($magno_base_x, 0.5)

:STEAL4_9559
Camera.DoFade(150, Fade.In)

:STEAL4_9566
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_9590
wait 0
goto @STEAL4_9566

:STEAL4_9590
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37013)

:STEAL4_9603
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_9629
wait 0
goto @STEAL4_9603

:STEAL4_9629
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('STL4_FB', 5000, 1)
if 
  not Car.IsDead(85@)
goto_if_false @STEAL4_9839
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(85@)
$on_footX = Car.GetHeading(85@)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("OPEN_CONTAINER2_CAR = ")
save_float_to_debug_file $on_footY
save_float_to_debug_file $on_footZ
save_float_to_debug_file $in_carX
save_float_to_debug_file $on_footX

:STEAL4_9839
43@ = 0
TIMERA = 0

:STEAL4_9853
if 
  43@ == 0
goto_if_false @STEAL4_9934
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  TIMERA > 5000
goto_if_false @STEAL4_9923
Camera.DoFade(0, Fade.In)
35@ += 1
43@ = 1
goto @STEAL4_9927

:STEAL4_9923
wait 0

:STEAL4_9927
goto @STEAL4_9853

:STEAL4_9934
35@ = 0
34@ += 1
goto @STEAL4_10327

:STEAL4_9955
Text.ClearHelp
Text.ClearPrints
Camera.DoFade(150, Fade.Out)

:STEAL4_9966
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_9990
wait 0
goto @STEAL4_9966

:STEAL4_9990
Hud.SwitchWidescreen(True)
$disable_crane_slide = 1
Crane.EnableControls(False, False, False)
Object.ReleaseEntityFromRope($magno_base_x)
Object.Delete(104@)
102@ = Object.CreateNoOffset(#KMB_CONTAINER_OPEN, 160@, 161@, 162@)
Object.SetHeading(102@, 163@)
86@ = Car.Create(559, -1632.786, 61.2888, 2.2888)
46@ = Object.GetHeading(102@)
46@ += 180.0
Car.SetHeading(86@, 46@)
Object.SortOutCollisionWithCar(102@, 86@)
Camera.SetFixedPosition(-1632.001, 52.1951, 4.5485, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1631.943, 53.181, 4.3914, SwitchType.JumpCut)
if 
  Object.DoesExist($magno_base_x)
goto_if_false @STEAL4_10178
Object.SetRopeHeight($magno_base_x, 0.5)

:STEAL4_10178
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @STEAL4_10208
$magno_arm_h, $magno_arm_rotate_y, $arm_rotate_y = Object.GetCoordinates($magno_cabin_LOD)

:STEAL4_10208
$quarry_arm = 15.0
$quarry_base = 133.5261
$quarry_stand = 133.5261
$magno_arm_h = -1610.626
$magno_arm_rotate_y = 60.87417
$crane_help3 = 0.639
gosub @STEAL4_28749
gosub @STEAL4_14506
Camera.DoFade(150, Fade.In)

:STEAL4_10289
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_10313
wait 0
goto @STEAL4_10289

:STEAL4_10313
TIMERA = 0
35@ += 1

:STEAL4_10327
if 
  35@ == 6
goto_if_false @STEAL4_10441
if 
  TIMERA > 1000
goto_if_false @STEAL4_10441
if or
  not Text.IsMessageBeingDisplayed
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @STEAL4_10441
Camera.DoFade(0, Fade.In)
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_10427
Car.SetCoordinates(86@, 174@, 175@, 176@)
Car.SetHeading(86@, 177@)

:STEAL4_10427
35@ = 0
34@ += 2

:STEAL4_10441
if 
  35@ > 0
goto_if_false @STEAL4_10596
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @STEAL4_10596
if 
  141@ == 0
goto_if_false @STEAL4_10517
Text.PrintHelp('ST4_H10')
141@ = 1
goto @STEAL4_10596

:STEAL4_10517
if 
  142@ == 0
goto_if_false @STEAL4_10560
Text.PrintHelp('ST4_H05')
142@ = 1
goto @STEAL4_10596

:STEAL4_10560
if 
  143@ == 0
goto_if_false @STEAL4_10596
Text.PrintHelp('ST4_H07')
143@ = 1

:STEAL4_10596
return 

:STEAL4_10598
if 
  35@ == 0
goto_if_false @STEAL4_10977
$remove_player_from_crane = 1
$disable_crane_slide = 0
Crane.EnableControls(True, True, True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Hud.SwitchWidescreen(False)
if 
  Object.DoesExist(92@)
goto_if_false @STEAL4_10670
109@ = Blip.AddForObject(92@)

:STEAL4_10670
if 
  Object.DoesExist(93@)
goto_if_false @STEAL4_10694
110@ = Blip.AddForObject(93@)

:STEAL4_10694
if 
  Object.DoesExist(94@)
goto_if_false @STEAL4_10718
111@ = Blip.AddForObject(94@)

:STEAL4_10718
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_10790
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1658.476, 33.234, 2.8213, MoveState.Run, 10000)
Task.AchieveHeading(-1, 299.6011)
Sequence.Close(49@)
Char.PerformSequence(68@, 49@)
Sequence.Clear(49@)

:STEAL4_10790
Text.ClearPrints
Text.Print('ST4_T04', 7000, 1)
TIMERA = 0
TIMERB = 0
132@ = 0
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_10901
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1650.464, 44.1144, 2.5495, MoveState.Run, 10000)
Task.AchieveHeading(-1, 317.7216)
Sequence.Close(49@)
Char.PerformSequence(68@, 49@)
Sequence.Clear(49@)

:STEAL4_10901
if 
  Object.DoesExist(92@)
goto_if_false @STEAL4_10924
Object.FreezePosition(92@, True)

:STEAL4_10924
if 
  Object.DoesExist(93@)
goto_if_false @STEAL4_10947
Object.FreezePosition(93@, True)

:STEAL4_10947
if 
  Object.DoesExist(94@)
goto_if_false @STEAL4_10970
Object.FreezePosition(94@, True)

:STEAL4_10970
35@ += 1

:STEAL4_10977
if 
  35@ == 1
goto_if_false @STEAL4_11219
83@, 69@, 91@ = Object.GrabEntityOnRope($magno_base_x)
if or
  is_int_lvar_equal_to_int_lvar 91@ == 92@
  is_int_lvar_equal_to_int_lvar 91@ == 93@
  is_int_lvar_equal_to_int_lvar 91@ == 94@
goto_if_false @STEAL4_11219
Object.FreezePosition(91@, False)
set_lvar_int_to_lvar_int 106@ = 91@
Crane.EnableControls(True, True, False)
$bball_challenge_active = 0
$bball_challenge_high_score = 0
128@ = 1
Text.ClearPrints
Text.PrintNow('ST4_T06', 7000, 1)
if 
  Blip.DoesExist(109@)
goto_if_false @STEAL4_11127
Blip.Remove(109@)

:STEAL4_11127
if 
  Blip.DoesExist(110@)
goto_if_false @STEAL4_11148
Blip.Remove(110@)

:STEAL4_11148
if 
  Blip.DoesExist(111@)
goto_if_false @STEAL4_11169
Blip.Remove(111@)

:STEAL4_11169
Blip.Remove(108@)
108@ = Blip.AddForCoord(164@, 165@, 166@)
Text.ClearHelp
132@ = 0
TIMERA = 20000
TIMERB = 0
35@ += 1

:STEAL4_11219
if 
  35@ == 2
goto_if_false @STEAL4_11289
Streaming.RequestModel(559)
if 
  Streaming.HasModelLoaded(559)
goto_if_false @STEAL4_11289
TIMERA = 20000
35@ += 1
Text.PrintNow('ST4_T06', 7000, 1)

:STEAL4_11289
if 
  35@ == 3
goto_if_false @STEAL4_11780
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_11596
  Object.Locate3D(106@, 164@, 165@, 166@, 5.0, 5.0, 3.0, True)
if 
  Object.Locate2D(106@, 164@, 165@, 6.0, 6.0, False)
goto_if_false @STEAL4_11428
if 
  128@ <> 0
goto_if_false @STEAL4_11421
Crane.EnableControls(True, True, True)
128@ = 0

:STEAL4_11421
goto @STEAL4_11461

:STEAL4_11428
if 
  128@ <> 1
goto_if_false @STEAL4_11461
Crane.EnableControls(True, True, False)
128@ = 1

:STEAL4_11461
if 
  Object.Locate3D(106@, 164@, 165@, 166@, 6.0, 6.0, 6.0, False)
goto_if_false @STEAL4_11548
if 
  132@ <> 2
goto_if_false @STEAL4_11541
Text.ClearHelp
Text.PrintHelpForever('ST4_H03')
132@ = 2

:STEAL4_11541
goto @STEAL4_11596

:STEAL4_11548
if 
  132@ == 2
goto_if_false @STEAL4_11596
if 
  61@ > 10000
goto_if_false @STEAL4_11587
Text.ClearPrints

:STEAL4_11587
Text.ClearHelp
132@ = 0

:STEAL4_11596
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_11780
83@, 69@, 91@ = Object.GrabEntityOnRope($magno_base_x)
if 
  not is_int_lvar_equal_to_int_lvar 91@ == 106@
goto_if_false @STEAL4_11780
Crane.EnableControls(True, True, True)
128@ = 0
set_lvar_int_to_lvar_int 104@ = 106@
if 
  Blip.DoesExist(109@)
goto_if_false @STEAL4_11689
Blip.Remove(109@)

:STEAL4_11689
if 
  Blip.DoesExist(110@)
goto_if_false @STEAL4_11710
Blip.Remove(110@)

:STEAL4_11710
if 
  Blip.DoesExist(111@)
goto_if_false @STEAL4_11731
Blip.Remove(111@)

:STEAL4_11731
if 
  Blip.DoesExist(108@)
goto_if_false @STEAL4_11752
Blip.Remove(108@)

:STEAL4_11752
TIMERA = 0
139@ = 0
140@ = 0
35@ += 1

:STEAL4_11780
if 
  35@ == 4
goto_if_false @STEAL4_12179
if 
  139@ == 1
goto_if_false @STEAL4_11999
if 
  Object.HasCollidedWithAnything(106@)
goto_if_false @STEAL4_11999
if 
  173@ > 14.0
goto_if_false @STEAL4_11992
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(106@)
86@ = Car.Create(559, $on_footY, $on_footZ, $in_carX)
Car.AttachToObject(86@, 106@, 0.0, 0.0, -0.8, 0.0, 0.0, 180.0)
Object.SortOutCollisionWithCar(106@, 86@)
Object.Break(106@, 1)
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_11980
Car.Detach(86@, 0.0, 0.0, 0.0, False)
Car.Explode(86@)

:STEAL4_11980
Streaming.MarkModelAsNoLongerNeeded(559)
140@ = 1

:STEAL4_11992
139@ = 2

:STEAL4_11999
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_12076
173@ = Object.GetSpeed(106@)
if 
  173@ > 5.0
goto_if_false @STEAL4_12076
if 
  139@ == 0
goto_if_false @STEAL4_12076
Object.SetRecordsCollisions(106@, True)
139@ = 1

:STEAL4_12076
if 
  TIMERA > 1000
goto_if_false @STEAL4_12179
if 
  140@ <> 1
goto_if_false @STEAL4_12167
if 
  Object.DoesExist(106@)
goto_if_false @STEAL4_12160
if or
  Object.IsStatic(106@)
  TIMERA > 2000
goto_if_false @STEAL4_12160
35@ += 1

:STEAL4_12160
goto @STEAL4_12179

:STEAL4_12167
wait 2000
37@ = 1

:STEAL4_12179
if 
  35@ == 5
goto_if_false @STEAL4_12543
Text.ClearHelp
Text.ClearPrints
Camera.DoFade(150, Fade.Out)

:STEAL4_12208
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_12232
wait 0
goto @STEAL4_12208

:STEAL4_12232
Hud.SwitchWidescreen(True)
Crane.EnableControls(False, False, False)
$disable_crane_slide = 1
Object.ReleaseEntityFromRope($magno_base_x)
Object.Delete(104@)
103@ = Object.CreateNoOffset(#KMB_CONTAINER_OPEN, 164@, 165@, 166@)
Object.SetHeading(103@, 167@)
86@ = Car.Create(559, -1644.017, 50.9619, 3.0354)
46@ = Object.GetHeading(103@)
46@ += 180.0
Car.SetHeading(86@, 46@)
Object.SortOutCollisionWithCar(103@, 86@)
Camera.SetFixedPosition(-1637.048, 45.8035, 3.6546, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1637.986, 46.1327, 3.5431, SwitchType.JumpCut)
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @STEAL4_12424
$magno_arm_h, $magno_arm_rotate_y, $arm_rotate_y = Object.GetCoordinates($magno_cabin_LOD)

:STEAL4_12424
$quarry_arm = 15.0
$quarry_base = 133.5261
$quarry_stand = 133.5261
$magno_arm_h = -1610.626
$magno_arm_rotate_y = 60.87417
$crane_help3 = 0.4
gosub @STEAL4_28749
gosub @STEAL4_14506
Camera.DoFade(150, Fade.In)

:STEAL4_12505
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_12529
wait 0
goto @STEAL4_12505

:STEAL4_12529
TIMERA = 0
35@ += 1

:STEAL4_12543
if 
  35@ == 6
goto_if_false @STEAL4_12657
if 
  TIMERA > 1000
goto_if_false @STEAL4_12657
if or
  not Text.IsMessageBeingDisplayed
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @STEAL4_12657
Camera.DoFade(0, Fade.In)
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_12643
Car.SetCoordinates(86@, 174@, 175@, 176@)
Car.SetHeading(86@, 177@)

:STEAL4_12643
35@ = 0
34@ += 1

:STEAL4_12657
return 

:STEAL4_12659
if 
  35@ == -1
goto_if_false @STEAL4_12724
70@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
87@ = Car.Create(413, 0.0, 0.0, 0.0)

:STEAL4_12724
if 
  35@ == 0
goto_if_false @STEAL4_12877
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_12863
49@ = Sequence.Open()
Task.CarDriveToCoord(-1, 87@, -1686.422, 25.8359, 2.7752, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 87@, -1643.394, 19.6494, 3.6706, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Sequence.Close(49@)
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_12858
Char.PerformSequence(70@, 49@)

:STEAL4_12858
Sequence.Clear(49@)

:STEAL4_12863
35@ += 1
TIMERA = 0

:STEAL4_12877
if 
  35@ > 0
goto_if_false @STEAL4_12919
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @STEAL4_12919
35@ = 99

:STEAL4_12919
if 
  35@ == 1
goto_if_false @STEAL4_13042
if 
  TIMERA > 500
goto_if_false @STEAL4_13042
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_12986
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(87@)

:STEAL4_12986
Streaming.LoadScene($on_footY, $on_footZ, $in_carX)
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_13035
Car.SetCoordinates(86@, 174@, 175@, 176@)
Car.SetHeading(86@, 177@)

:STEAL4_13035
35@ += 1

:STEAL4_13042
if 
  35@ == 2
goto_if_false @STEAL4_13215
if 
  6000 > TIMERA
goto_if_false @STEAL4_13176
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_13124
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(87@, 2.0, -3.0, 0.0)

:STEAL4_13124
Camera.SetFixedPosition(-1680.086, 28.3067, 3.8465, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
goto @STEAL4_13215

:STEAL4_13176
Camera.SetFixedPosition(-1643.223, 13.6026, 4.1338, 0.0, 0.0, 0.0)
35@ += 1

:STEAL4_13215
if 
  35@ == 3
goto_if_false @STEAL4_13425
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_13278
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(87@, -6.0, 1.0, 1.0)

:STEAL4_13278
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
if 
  20000 > TIMERA
goto_if_false @STEAL4_13383
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_13376
43@ = Char.GetScriptTaskStatus(70@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @STEAL4_13376
56@ = 0
194@ = 0
35@ += 1

:STEAL4_13376
goto @STEAL4_13425

:STEAL4_13383
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_13404
Char.ClearTasks(70@)

:STEAL4_13404
35@ += 1
56@ = 0
194@ = 0

:STEAL4_13425
if 
  35@ == 4
goto_if_false @STEAL4_13842
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_13567
49@ = Sequence.Open()
Task.Pause(-1, 1800)
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_13494
Task.LeaveCar(-1, 87@)

:STEAL4_13494
Task.GoStraightToCoord(-1, -1638.837, 27.1035, 2.8213, MoveState.Run, 999999)
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_13549
Task.KillCharOnFoot(-1, 68@)

:STEAL4_13549
Sequence.Close(49@)
Char.PerformSequence(70@, 49@)
Sequence.Clear(49@)

:STEAL4_13567
if 
  not Char.IsDead(71@)
goto_if_false @STEAL4_13690
49@ = Sequence.Open()
Task.Pause(-1, 0)
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_13617
Task.LeaveCar(-1, 87@)

:STEAL4_13617
Task.GoStraightToCoord(-1, -1639.676, 29.1963, 2.8213, MoveState.Run, 999999)
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_13672
Task.KillCharOnFoot(-1, 68@)

:STEAL4_13672
Sequence.Close(49@)
Char.PerformSequence(71@, 49@)
Sequence.Clear(49@)

:STEAL4_13690
if 
  not Char.IsDead(72@)
goto_if_false @STEAL4_13814
49@ = Sequence.Open()
Task.Pause(-1, 1000)
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_13741
Task.LeaveCar(-1, 87@)

:STEAL4_13741
Task.GoStraightToCoord(-1, -1641.28, 27.2014, 2.8213, MoveState.Run, 999999)
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_13796
Task.KillCharOnFoot(-1, 68@)

:STEAL4_13796
Sequence.Close(49@)
Char.PerformSequence(72@, 49@)
Sequence.Clear(49@)

:STEAL4_13814
56@ = 0
194@ = 0
35@ += 1
TIMERA = 0

:STEAL4_13842
if 
  35@ == 5
goto_if_false @STEAL4_13995
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_13995
if 
  not Char.IsInAnyCar(70@)
goto_if_false @STEAL4_13995
if 
  56@ == 0
goto_if_false @STEAL4_13995
set_lvar_text_label 189@s = 'STL4_GA'
set_lvar_int_to_constant 191@ = 37015
set_lvar_int_to_lvar_int 192@ = 70@
193@ = 0
gosub @STEAL4_35611
if 
  194@ == 4
goto_if_false @STEAL4_13995
194@ = 0
56@ += 1
35@ = 99

:STEAL4_13995
if 
  35@ == 99
goto_if_false @STEAL4_14504
$quarry_stand = 130.0
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_14069
Car.SetCoordinates(87@, -1642.876, 19.5037, 2.5547)
Car.SetHeading(87@, 259.5122)

:STEAL4_14069
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_14197
Char.ClearTasksImmediately(70@)
Char.SetCoordinates(70@, -1638.837, 27.1035, 2.8213)
Char.SetHeading(70@, 0.0)
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_14156
Task.GotoChar(-1, 68@, 10000, 25.0)

:STEAL4_14156
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_14179
Task.KillCharOnFoot(-1, 68@)

:STEAL4_14179
Sequence.Close(49@)
Char.PerformSequence(70@, 49@)
Sequence.Clear(49@)

:STEAL4_14197
if 
  not Char.IsDead(71@)
goto_if_false @STEAL4_14325
Char.ClearTasksImmediately(71@)
Char.SetCoordinates(71@, -1639.676, 29.1963, 2.8213)
Char.SetHeading(71@, 0.0)
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_14284
Task.GotoChar(-1, 68@, 10000, 20.0)

:STEAL4_14284
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_14307
Task.KillCharOnFoot(-1, 68@)

:STEAL4_14307
Sequence.Close(49@)
Char.PerformSequence(71@, 49@)
Sequence.Clear(49@)

:STEAL4_14325
if 
  not Char.IsDead(72@)
goto_if_false @STEAL4_14453
Char.ClearTasksImmediately(72@)
Char.SetCoordinates(72@, -1641.28, 27.2014, 2.8213)
Char.SetHeading(72@, 0.0)
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_14412
Task.GotoChar(-1, 68@, 10000, 18.0)

:STEAL4_14412
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_14435
Task.KillCharOnFoot(-1, 68@)

:STEAL4_14435
Sequence.Close(49@)
Char.PerformSequence(72@, 49@)
Sequence.Clear(49@)

:STEAL4_14453
Text.ClearPrints
Text.ClearHelp
$remove_player_from_crane = 1
$disable_crane_rotate = 0
Hud.SwitchWidescreen(False)
Crane.EnableControls(True, True, True)
$disable_crane_slide = 0
35@ = 0
34@ += 1

:STEAL4_14504
return 

:STEAL4_14506
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_14546
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_14546
Char.WarpIntoCar(68@, 86@)

:STEAL4_14546
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_14572
Char.GiveWeapon(68@, WeaponType.Pistol, 9999)

:STEAL4_14572
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37011)

:STEAL4_14585
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_14611
wait 0
goto @STEAL4_14585

:STEAL4_14611
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('STL4_EA', 5000, 1)
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_14730
Car.SetCruiseSpeed(86@, 3.5)
Car.SetHealth(86@, 2000)
Car.SetCanBurstTires(86@, False)
Car.DoesProvideCover(86@, False)
174@, 175@, 176@ = Car.GetOffsetInWorldCoords(86@, 0.0, 15.0, 0.0)
177@ = Car.GetHeading(86@)
Car.GotoCoordinatesAccurate(86@, 174@, 175@, 176@)

:STEAL4_14730
gosub @STEAL4_28299
return 

:STEAL4_14739
switch_start 35@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @STEAL4_18818 {caseNum1} 0 {caseLabel1} @STEAL4_14867 {caseNum2} 1 {caseLabel2} @STEAL4_14975 {caseNum3} 2 {caseLabel3} @STEAL4_15148 {caseNum4} 3 {caseLabel4} @STEAL4_16252 {caseNum5} 4 {caseLabel5} @STEAL4_16671 {caseNum6} 5 {caseLabel6} @STEAL4_16798 {caseNum7} 6 {caseLabel7} @STEAL4_17195
switch_continued 99 {caseLabel1} @STEAL4_18797 {caseNum2} -1 {caseLabel2} @STEAL4_18818 {caseNum3} -1 {caseLabel3} @STEAL4_18818 {caseNum4} -1 {caseLabel4} @STEAL4_18818 {caseNum5} -1 {caseLabel5} @STEAL4_18818 {caseNum6} -1 {caseLabel6} @STEAL4_18818 {caseNum7} -1 {caseLabel7} @STEAL4_18818 {caseNum8} -1 {caseLabel8} @STEAL4_18818 {caseNum9} -1 {caseLabel9} @STEAL4_18818

:STEAL4_14867
Text.ClearPrints
if 
  133@ <> 2
goto_if_false @STEAL4_14901
133@ = 2
gosub @STEAL4_29801

:STEAL4_14901
194@ = 0
Hud.DisplayNthCounterWithString($f1_gold_award, CounterDisplay.Bar, 1, 'ST4_30')
Text.PrintHelp('ST4_H09')
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_14961
Char.SetDecisionMaker(68@, 168@)

:STEAL4_14961
35@ += 1
goto @STEAL4_18818

:STEAL4_14975
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_15127
49@ = Sequence.Open()
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_15019
Task.LeaveCar(-1, 86@)

:STEAL4_15019
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_15042
Task.KillCharOnFoot(-1, 70@)

:STEAL4_15042
if 
  not Char.IsDead(71@)
goto_if_false @STEAL4_15065
Task.KillCharOnFoot(-1, 71@)

:STEAL4_15065
if 
  not Char.IsDead(72@)
goto_if_false @STEAL4_15088
Task.KillCharOnFoot(-1, 72@)

:STEAL4_15088
Sequence.Close(49@)
Char.PerformSequence(68@, 49@)
Sequence.Clear(49@)
56@ = 0
194@ = 0
35@ += 1

:STEAL4_15127
TIMERA = 0
TIMERB = 0
goto @STEAL4_18818

:STEAL4_15148
if 
  56@ == 0
goto_if_false @STEAL4_15251
set_lvar_text_label 189@s = 'STL4_HA'
set_lvar_int_to_constant 191@ = 37018
set_lvar_int_to_lvar_int 192@ = 68@
193@ = 0
gosub @STEAL4_35611
if 
  194@ == 4
goto_if_false @STEAL4_15251
194@ = 0
56@ += 1
TIMERA = 0

:STEAL4_15251
if 
  TIMERA > 45000
goto_if_false @STEAL4_15286
35@ += 1
goto @STEAL4_15319

:STEAL4_15286
if and
  Char.IsDead(70@)
  Char.IsDead(71@)
  Char.IsDead(72@)
goto_if_false @STEAL4_15319
35@ += 1

:STEAL4_15319
if 
  $finish_crane_loading_script <> 2
goto_if_false @STEAL4_15792
if 
  124@ == 0
goto_if_false @STEAL4_15785
Text.ClearHelp
43@ = 0

:STEAL4_15364
if 
  3 > 43@
goto_if_false @STEAL4_15513
if 
  not Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_15499
Char.SetAccuracy(70@(43@,6i), 30)
44@ = Char.GetHealth(70@(43@,6i))
if 
  200 > 44@
goto_if_false @STEAL4_15490
44@ += 100
if 
  44@ > 200
goto_if_false @STEAL4_15478
44@ = 200

:STEAL4_15478
Char.SetHealth(70@(43@,6i), 44@)

:STEAL4_15490
Char.ClearTasks(70@(43@,6i))

:STEAL4_15499
43@ += 1
goto @STEAL4_15364

:STEAL4_15513
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_15596
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_15565
Task.GotoChar(-1, 68@, 10000, 20.0)

:STEAL4_15565
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(49@)
Char.PerformSequence(70@, 49@)
Sequence.Clear(49@)

:STEAL4_15596
if 
  not Char.IsDead(71@)
goto_if_false @STEAL4_15679
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_15648
Task.GotoChar(-1, 68@, 10000, 24.0)

:STEAL4_15648
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(49@)
Char.PerformSequence(71@, 49@)
Sequence.Clear(49@)

:STEAL4_15679
if 
  not Char.IsDead(72@)
goto_if_false @STEAL4_15778
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_15731
Task.GotoChar(-1, 68@, 10000, 22.0)

:STEAL4_15731
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_15760
Task.KillCharOnFoot(-1, 68@)

:STEAL4_15760
Sequence.Close(49@)
Char.PerformSequence(72@, 49@)
Sequence.Clear(49@)

:STEAL4_15778
124@ = 1

:STEAL4_15785
goto @STEAL4_16245

:STEAL4_15792
if 
  124@ == 1
goto_if_false @STEAL4_16245
Text.PrintHelpForever('ST4_H09')
43@ = 0

:STEAL4_15828
if 
  3 > 43@
goto_if_false @STEAL4_15941
if 
  not Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_15927
Char.SetAccuracy(70@(43@,6i), 40)
44@ = Char.GetHealth(70@(43@,6i))
if 
  44@ > 50
goto_if_false @STEAL4_15918
Char.SetHealth(70@(43@,6i), 50)

:STEAL4_15918
Char.ClearTasks(70@(43@,6i))

:STEAL4_15927
43@ += 1
goto @STEAL4_15828

:STEAL4_15941
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_16040
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_15993
Task.GotoChar(-1, 68@, 10000, 20.0)

:STEAL4_15993
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_16022
Task.KillCharOnFoot(-1, 68@)

:STEAL4_16022
Sequence.Close(49@)
Char.PerformSequence(70@, 49@)
Sequence.Clear(49@)

:STEAL4_16040
if 
  not Char.IsDead(71@)
goto_if_false @STEAL4_16139
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_16092
Task.GotoChar(-1, 68@, 10000, 22.0)

:STEAL4_16092
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_16121
Task.KillCharOnFoot(-1, 68@)

:STEAL4_16121
Sequence.Close(49@)
Char.PerformSequence(71@, 49@)
Sequence.Clear(49@)

:STEAL4_16139
if 
  not Char.IsDead(72@)
goto_if_false @STEAL4_16238
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_16191
Task.GotoChar(-1, 68@, 10000, 24.0)

:STEAL4_16191
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_16220
Task.KillCharOnFoot(-1, 68@)

:STEAL4_16220
Sequence.Close(49@)
Char.PerformSequence(72@, 49@)
Sequence.Clear(49@)

:STEAL4_16238
124@ = 0

:STEAL4_16245
goto @STEAL4_18818

:STEAL4_16252
World.ClearArea(-1711.59, 44.8495, 2.7813, 20.0, True)
88@ = Car.Create(405, -1711.59, 44.8495, 2.7813)
Car.SetHeading(88@, 232.9281)
Car.SetStraightLineDistance(88@, 50)
73@ = Char.CreateInsideCar(88@, PedType.Mission1, 24)
74@ = Char.CreateAsPassenger(88@, PedType.Mission1, 24, 0)
75@ = Char.CreateAsPassenger(88@, PedType.Mission1, 24, 1)
115@ = Blip.AddForChar(73@)
116@ = Blip.AddForChar(74@)
117@ = Blip.AddForChar(75@)
World.ClearArea(-1697.04, 14.7378, 2.7813, 5.0, True)
if 
  not Car.IsDead(88@)
goto_if_false @STEAL4_16525
49@ = Sequence.Open()
Task.CarDriveToCoord(-1, 88@, -1686.422, 25.8359, 2.7752, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 88@, -1647.938, 27.2328, 2.5408, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Sequence.Close(49@)
if 
  not Char.IsDead(73@)
goto_if_false @STEAL4_16520
Char.PerformSequence(73@, 49@)

:STEAL4_16520
Sequence.Clear(49@)

:STEAL4_16525
43@ = 3

:STEAL4_16532
if 
  6 > 43@
goto_if_false @STEAL4_16643
if 
  not Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_16629
Char.GiveWeapon(70@(43@,6i), WeaponType.Pistol, 9999)
Char.SetDecisionMaker(70@(43@,6i), 171@)
Char.SetAccuracy(70@(43@,6i), 40)
Char.SetHealth(70@(43@,6i), 50)
Char.SetSuffersCriticalHits(70@(43@,6i), False)

:STEAL4_16629
43@ += 1
goto @STEAL4_16532

:STEAL4_16643
TIMERA = 0
194@ = 0
35@ += 1
goto @STEAL4_18818

:STEAL4_16671
if 
  15000 > TIMERA
goto_if_false @STEAL4_16763
if 
  not Char.IsDead(73@)
goto_if_false @STEAL4_16749
43@ = Char.GetScriptTaskStatus(73@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @STEAL4_16742
35@ += 1

:STEAL4_16742
goto @STEAL4_16756

:STEAL4_16749
35@ += 1

:STEAL4_16756
goto @STEAL4_16791

:STEAL4_16763
if 
  not Char.IsDead(73@)
goto_if_false @STEAL4_16784
Char.ClearTasks(73@)

:STEAL4_16784
35@ += 1

:STEAL4_16791
goto @STEAL4_18818

:STEAL4_16798
if 
  not Char.IsDead(73@)
goto_if_false @STEAL4_16914
49@ = Sequence.Open()
if 
  not Car.IsDead(88@)
goto_if_false @STEAL4_16842
Task.LeaveCar(-1, 88@)

:STEAL4_16842
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_16873
Task.GotoChar(-1, 68@, 10000, 20.0)

:STEAL4_16873
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_16896
Task.KillCharOnFoot(-1, 68@)

:STEAL4_16896
Sequence.Close(49@)
Char.PerformSequence(73@, 49@)
Sequence.Clear(49@)

:STEAL4_16914
if 
  not Char.IsDead(74@)
goto_if_false @STEAL4_17037
49@ = Sequence.Open()
Task.Pause(-1, 1000)
if 
  not Car.IsDead(88@)
goto_if_false @STEAL4_16965
Task.LeaveCar(-1, 88@)

:STEAL4_16965
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_16996
Task.GotoChar(-1, 68@, 10000, 22.0)

:STEAL4_16996
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_17019
Task.KillCharOnFoot(-1, 68@)

:STEAL4_17019
Sequence.Close(49@)
Char.PerformSequence(74@, 49@)
Sequence.Clear(49@)

:STEAL4_17037
if 
  not Char.IsDead(75@)
goto_if_false @STEAL4_17160
49@ = Sequence.Open()
Task.Pause(-1, 1500)
if 
  not Car.IsDead(88@)
goto_if_false @STEAL4_17088
Task.LeaveCar(-1, 88@)

:STEAL4_17088
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_17119
Task.GotoChar(-1, 68@, 10000, 24.0)

:STEAL4_17119
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_17142
Task.KillCharOnFoot(-1, 68@)

:STEAL4_17142
Sequence.Close(49@)
Char.PerformSequence(75@, 49@)
Sequence.Clear(49@)

:STEAL4_17160
TIMERA = 0
56@ = 0
194@ = 0
35@ += 1
goto @STEAL4_18818

:STEAL4_17195
if 
  56@ == 0
goto_if_false @STEAL4_17291
set_lvar_text_label 189@s = 'STL4_GB'
set_lvar_int_to_constant 191@ = 37016
set_lvar_int_to_lvar_int 192@ = 73@
193@ = 0
gosub @STEAL4_35611
if 
  194@ == 4
goto_if_false @STEAL4_17291
194@ = 0
56@ += 1

:STEAL4_17291
if 
  56@ == 1
goto_if_false @STEAL4_17387
set_lvar_text_label 189@s = 'STL4_HC'
set_lvar_int_to_constant 191@ = 37020
set_lvar_int_to_lvar_int 192@ = 68@
193@ = 0
gosub @STEAL4_35611
if 
  194@ == 4
goto_if_false @STEAL4_17387
194@ = 0
56@ += 1

:STEAL4_17387
if and
  Char.IsDead(70@)
  Char.IsDead(71@)
  Char.IsDead(72@)
  Char.IsDead(73@)
  Char.IsDead(74@)
goto_if_false @STEAL4_17446
if 
  Char.IsDead(75@)
goto_if_false @STEAL4_17446
35@ = 99

:STEAL4_17446
if 
  $finish_crane_loading_script <> 2
goto_if_false @STEAL4_18058
if 
  124@ == 0
goto_if_false @STEAL4_18051
Text.ClearHelp
43@ = 0

:STEAL4_17491
if 
  6 > 43@
goto_if_false @STEAL4_17640
if 
  not Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_17626
Char.SetAccuracy(70@(43@,6i), 30)
44@ = Char.GetHealth(70@(43@,6i))
if 
  200 > 44@
goto_if_false @STEAL4_17617
44@ += 100
if 
  44@ > 200
goto_if_false @STEAL4_17605
44@ = 200

:STEAL4_17605
Char.SetHealth(70@(43@,6i), 44@)

:STEAL4_17617
Char.ClearTasks(70@(43@,6i))

:STEAL4_17626
43@ += 1
goto @STEAL4_17491

:STEAL4_17640
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_17707
49@ = Sequence.Open()
Task.GotoChar(-1, $stattreadstamina_ctr, 10000, 30.0)
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(49@)
Char.PerformSequence(70@, 49@)
Sequence.Clear(49@)

:STEAL4_17707
if 
  not Char.IsDead(71@)
goto_if_false @STEAL4_17774
49@ = Sequence.Open()
Task.GotoChar(-1, $stattreadstamina_ctr, 10000, 32.0)
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(49@)
Char.PerformSequence(71@, 49@)
Sequence.Clear(49@)

:STEAL4_17774
if 
  not Char.IsDead(72@)
goto_if_false @STEAL4_17842
49@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_17824
Task.KillCharOnFoot(-1, 68@)

:STEAL4_17824
Sequence.Close(49@)
Char.PerformSequence(72@, 49@)
Sequence.Clear(49@)

:STEAL4_17842
if 
  not Char.IsDead(73@)
goto_if_false @STEAL4_17909
49@ = Sequence.Open()
Task.GotoChar(-1, $stattreadstamina_ctr, 10000, 34.0)
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(49@)
Char.PerformSequence(73@, 49@)
Sequence.Clear(49@)

:STEAL4_17909
if 
  not Char.IsDead(74@)
goto_if_false @STEAL4_17976
49@ = Sequence.Open()
Task.GotoChar(-1, $stattreadstamina_ctr, 10000, 28.0)
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(49@)
Char.PerformSequence(74@, 49@)
Sequence.Clear(49@)

:STEAL4_17976
if 
  not Char.IsDead(75@)
goto_if_false @STEAL4_18044
49@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18026
Task.KillCharOnFoot(-1, 68@)

:STEAL4_18026
Sequence.Close(49@)
Char.PerformSequence(75@, 49@)
Sequence.Clear(49@)

:STEAL4_18044
124@ = 1

:STEAL4_18051
goto @STEAL4_18790

:STEAL4_18058
if 
  124@ == 1
goto_if_false @STEAL4_18790
Text.PrintHelpForever('ST4_H09')
43@ = 0

:STEAL4_18094
if 
  6 > 43@
goto_if_false @STEAL4_18207
if 
  not Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_18193
Char.SetAccuracy(70@(43@,6i), 40)
44@ = Char.GetHealth(70@(43@,6i))
if 
  44@ > 50
goto_if_false @STEAL4_18184
Char.SetHealth(70@(43@,6i), 50)

:STEAL4_18184
Char.ClearTasks(70@(43@,6i))

:STEAL4_18193
43@ += 1
goto @STEAL4_18094

:STEAL4_18207
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_18306
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18259
Task.GotoChar(-1, 68@, 10000, 28.0)

:STEAL4_18259
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18288
Task.KillCharOnFoot(-1, 68@)

:STEAL4_18288
Sequence.Close(49@)
Char.PerformSequence(70@, 49@)
Sequence.Clear(49@)

:STEAL4_18306
if 
  not Char.IsDead(71@)
goto_if_false @STEAL4_18399
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18358
Task.GotoChar(-1, 68@, 10000, 32.0)

:STEAL4_18358
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18381
Task.KillCharOnFoot(-1, 68@)

:STEAL4_18381
Sequence.Close(49@)
Char.PerformSequence(71@, 49@)
Sequence.Clear(49@)

:STEAL4_18399
if 
  not Char.IsDead(72@)
goto_if_false @STEAL4_18498
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18451
Task.GotoChar(-1, 68@, 10000, 26.0)

:STEAL4_18451
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18480
Task.KillCharOnFoot(-1, 68@)

:STEAL4_18480
Sequence.Close(49@)
Char.PerformSequence(72@, 49@)
Sequence.Clear(49@)

:STEAL4_18498
if 
  not Char.IsDead(73@)
goto_if_false @STEAL4_18591
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18550
Task.GotoChar(-1, 68@, 10000, 29.0)

:STEAL4_18550
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18573
Task.KillCharOnFoot(-1, 68@)

:STEAL4_18573
Sequence.Close(49@)
Char.PerformSequence(73@, 49@)
Sequence.Clear(49@)

:STEAL4_18591
if 
  not Char.IsDead(74@)
goto_if_false @STEAL4_18684
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18643
Task.GotoChar(-1, 68@, 10000, 24.0)

:STEAL4_18643
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18666
Task.KillCharOnFoot(-1, 68@)

:STEAL4_18666
Sequence.Close(49@)
Char.PerformSequence(74@, 49@)
Sequence.Clear(49@)

:STEAL4_18684
if 
  not Char.IsDead(75@)
goto_if_false @STEAL4_18783
49@ = Sequence.Open()
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18736
Task.GotoChar(-1, 68@, 10000, 20.0)

:STEAL4_18736
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_18765
Task.KillCharOnFoot(-1, 68@)

:STEAL4_18765
Sequence.Close(49@)
Char.PerformSequence(75@, 49@)
Sequence.Clear(49@)

:STEAL4_18783
124@ = 0

:STEAL4_18790
goto @STEAL4_18818

:STEAL4_18797
35@ = 0
34@ += 2
goto @STEAL4_18818

:STEAL4_18818
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_19102
43@ = Char.GetScriptTaskStatus(68@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @STEAL4_19102
49@ = Sequence.Open()
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_18904
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 70@)
goto @STEAL4_19077

:STEAL4_18904
if 
  not Char.IsDead(71@)
goto_if_false @STEAL4_18940
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 71@)
goto @STEAL4_19077

:STEAL4_18940
if 
  not Char.IsDead(72@)
goto_if_false @STEAL4_18976
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 72@)
goto @STEAL4_19077

:STEAL4_18976
if 
  not Char.IsDead(73@)
goto_if_false @STEAL4_19012
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 73@)
goto @STEAL4_19077

:STEAL4_19012
if 
  not Char.IsDead(74@)
goto_if_false @STEAL4_19048
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 74@)
goto @STEAL4_19077

:STEAL4_19048
if 
  not Char.IsDead(75@)
goto_if_false @STEAL4_19077
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 75@)

:STEAL4_19077
Task.Pause(-1, 1000)
Sequence.Close(49@)
Char.PerformSequence(68@, 49@)
Sequence.Clear(49@)

:STEAL4_19102
if 
  6 > 39@
goto_if_false @STEAL4_19356
set_lvar_int_to_lvar_int 43@ = 39@
if 
  not Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_19356
if 
  Object.DoesExist(105@)
goto_if_false @STEAL4_19356
if 
  not Object.IsStatic(105@)
goto_if_false @STEAL4_19356
46@ = Object.GetSpeed(105@)
if 
  46@ > 4.0
goto_if_false @STEAL4_19274
if 
  Char.IsTouchingObjectOnFoot(70@(43@,6i), 105@)
goto_if_false @STEAL4_19274
45@ = Char.GetScriptTaskStatus(70@(43@,6i), 1470)
if 
  is_int_lvar_equal_to_constant 45@ == 7
goto_if_false @STEAL4_19274
Task.Die(70@(43@,6i))

:STEAL4_19274
if 
  Char.LocateOnFootObject3D(70@(43@,6i), 105@, 2.0, 2.0, 2.0, False)
goto_if_false @STEAL4_19356
45@ = Char.GetScriptTaskStatus(70@(43@,6i), 1470)
if 
  is_int_lvar_equal_to_constant 45@ == 7
goto_if_false @STEAL4_19356
Task.Die(70@(43@,6i))

:STEAL4_19356
if 
  39@ == 1
goto_if_false @STEAL4_19518
if 
  Car.DoesExist(87@)
goto_if_false @STEAL4_19446
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_19446
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(87@)
if 
  0.0 > $in_carX
goto_if_false @STEAL4_19446
Car.Explode(87@)

:STEAL4_19446
if 
  Car.DoesExist(88@)
goto_if_false @STEAL4_19518
if 
  not Car.IsDead(88@)
goto_if_false @STEAL4_19518
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(88@)
if 
  0.0 > $in_carX
goto_if_false @STEAL4_19518
Car.Explode(88@)

:STEAL4_19518
if 
  39@ == 2
goto_if_false @STEAL4_19624
43@ = 0

:STEAL4_19543
if 
  6 > 43@
goto_if_false @STEAL4_19624
if 
  Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_19610
if 
  Blip.DoesExist(112@(43@,6i))
goto_if_false @STEAL4_19610
Blip.Remove(112@(43@,6i))

:STEAL4_19610
43@ += 1
goto @STEAL4_19543

:STEAL4_19624
return 

:STEAL4_19626
return 

:STEAL4_19628
if 
  $finish_crane_loading_script <> 2
goto_if_false @STEAL4_19680
if 
  124@ == 0
goto_if_false @STEAL4_19673
Text.ClearHelp
124@ = 1

:STEAL4_19673
goto @STEAL4_19716

:STEAL4_19680
if 
  124@ == 1
goto_if_false @STEAL4_19716
Text.PrintHelpForever('ST4_H09')
124@ = 0

:STEAL4_19716
switch_start 35@ {numCases} 11 {hasDefaultCase} 0 {defaultLabel} @STEAL4_21959 {caseNum1} 0 {caseLabel1} @STEAL4_19844 {caseNum2} 1 {caseLabel2} @STEAL4_19865 {caseNum3} 2 {caseLabel3} @STEAL4_19898 {caseNum4} 3 {caseLabel4} @STEAL4_19958 {caseNum5} 4 {caseLabel5} @STEAL4_20344 {caseNum6} 5 {caseLabel6} @STEAL4_20373 {caseNum7} 6 {caseLabel7} @STEAL4_20854
switch_continued 7 {caseLabel1} @STEAL4_21073 {caseNum2} 8 {caseLabel2} @STEAL4_21240 {caseNum3} 9 {caseLabel3} @STEAL4_21861 {caseNum4} 99 {caseLabel4} @STEAL4_21938 {caseNum5} -1 {caseLabel5} @STEAL4_21959 {caseNum6} -1 {caseLabel6} @STEAL4_21959 {caseNum7} -1 {caseLabel7} @STEAL4_21959 {caseNum8} -1 {caseLabel8} @STEAL4_21959 {caseNum9} -1 {caseLabel9} @STEAL4_21959

:STEAL4_19844
TIMERA = 0
35@ += 1
goto @STEAL4_21959

:STEAL4_19865
if 
  TIMERA > 2000
goto_if_false @STEAL4_19891
35@ += 1

:STEAL4_19891
goto @STEAL4_21959

:STEAL4_19898
if 
  $finish_crane_loading_script <> 2
goto_if_false @STEAL4_19930
Player.SetControl($statbike_temp, False)
goto @STEAL4_19937

:STEAL4_19930
$disable_crane_slide = 1

:STEAL4_19937
TIMERA = 0
35@ += 1
goto @STEAL4_21959

:STEAL4_19958
if 
  TIMERA > 0
goto_if_false @STEAL4_20337
Hud.SwitchWidescreen(True)
$disable_crane_slide = 1
Crane.EnableControls(False, False, False)
Camera.SetFixedPosition(-1675.598, 25.4341, 2.8434, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1674.722, 25.8894, 3.0036, SwitchType.JumpCut)
80@ = Char.Create(PedType.Mission1, 24, -1676.095, 26.8479, 2.5869)
Char.SetHeading(80@, 314.8203)
120@ = Blip.AddForChar(80@)
81@ = Char.Create(PedType.Mission1, 24, -1674.404, 23.8107, 2.6233)
Char.SetHeading(81@, 314.8204)
121@ = Blip.AddForChar(81@)
43@ = 0

:STEAL4_20137
if 
  2 > 43@
goto_if_false @STEAL4_20217
Char.SetDecisionMaker(80@(43@,2i), 172@)
Char.SetAccuracy(80@(43@,2i), 20)
Char.SetHealth(80@(43@,2i), 100)
Char.GiveWeapon(80@(43@,2i), WeaponType.Pistol, 9999)
43@ += 1
goto @STEAL4_20137

:STEAL4_20217
Task.GoStraightToCoord(80@, -1664.113, 34.4836, 2.5869, MoveState.Run, 999999)
Task.GoStraightToCoord(81@, -1662.307, 31.2954, 2.5869, MoveState.Run, 999999)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37017)

:STEAL4_20284
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_20310
wait 0
goto @STEAL4_20284

:STEAL4_20310
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('STL4_GC', 5000, 1)
35@ += 1

:STEAL4_20337
goto @STEAL4_21959

:STEAL4_20344
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_20366
35@ += 1

:STEAL4_20366
goto @STEAL4_21959

:STEAL4_20373
Hud.SwitchWidescreen(False)
Crane.EnableControls(True, True, True)
$disable_crane_slide = 0
if 
  not Char.IsDead(80@)
goto_if_false @STEAL4_20438
Char.SetCoordinates(80@, -1657.398, 32.9707, 2.8213)
Char.SetHeading(80@, 320.0)

:STEAL4_20438
if 
  not Char.IsDead(81@)
goto_if_false @STEAL4_20484
Char.SetCoordinates(81@, -1655.264, 31.706, 2.8213)
Char.SetHeading(81@, 320.0)

:STEAL4_20484
43@ = 0

:STEAL4_20491
if 
  2 > 43@
goto_if_false @STEAL4_20653
if 
  not Char.IsDead(80@(43@,2i))
goto_if_false @STEAL4_20639
Char.SetDecisionMaker(80@(43@,2i), 171@)
Char.SetAccuracy(80@(43@,2i), 20)
Char.SetHealth(80@(43@,2i), 100)
Char.GiveWeapon(80@(43@,2i), WeaponType.Pistol, 9999)
Char.SetRelationship(80@(43@,2i), RelationshipType.Hate, PedType.Mission2)
Char.SetRelationship(80@(43@,2i), RelationshipType.Hate, PedType.Player1)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_20639
Task.GotoChar(80@(43@,2i), 68@, 10000, 20.0)

:STEAL4_20639
43@ += 1
goto @STEAL4_20491

:STEAL4_20653
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_20693
if 
  not Char.IsDead(80@)
goto_if_false @STEAL4_20693
Task.KillCharOnFoot(68@, 80@)

:STEAL4_20693
if 
  $finish_crane_loading_script == 2
goto_if_false @STEAL4_20732
$disable_crane_slide = 0
$remove_player_from_crane = 1
goto @STEAL4_20741

:STEAL4_20732
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)

:STEAL4_20741
Text.ClearPrints
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_20790
if 
  not Blip.DoesExist(119@)
goto_if_false @STEAL4_20790
119@ = Blip.AddForCar(86@)
Blip.SetAsFriendly(119@, True)

:STEAL4_20790
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_20840
DecisionMakerChar.AddEventResponse(168@, 12, 603, 0.0, 100.0, 0.0, 100.0, False, True)

:STEAL4_20840
35@ += 1
goto @STEAL4_21959

:STEAL4_20854
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_21066
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_21066
if 
  Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_21024
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 68@, 15.0, 15.0, 5.0, False)
goto_if_false @STEAL4_21024
49@ = Sequence.Open()
Task.GotoCar(-1, 86@, 999999, 10.0)
Task.EnterCarAsPassenger(-1, 86@, 999999, 0)
Sequence.Close(49@)
Char.PerformSequence(68@, 49@)
Sequence.Clear(49@)
TIMERA = 30000
56@ = 0
194@ = 0
35@ += 1

:STEAL4_21024
if and
  Char.IsDead(80@)
  Char.IsDead(81@)
goto_if_false @STEAL4_21066
35@ += 1
56@ = 0
194@ = 0

:STEAL4_21066
goto @STEAL4_21959

:STEAL4_21073
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_21233
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_21233
if 
  not Char.IsInCar(68@, 86@)
goto_if_false @STEAL4_21209
49@ = Sequence.Open()
Task.GotoCar(-1, 86@, 999999, 10.0)
Task.EnterCarAsPassenger(-1, 86@, 999999, 0)
Sequence.Close(49@)
Char.PerformSequence(68@, 49@)
Sequence.Clear(49@)
TIMERA = 30000
35@ += 1
56@ = Math.RandomIntInRange(0, 2)
goto @STEAL4_21233

:STEAL4_21209
TIMERA = 30000
35@ += 1
56@ = Math.RandomIntInRange(0, 2)

:STEAL4_21233
goto @STEAL4_21959

:STEAL4_21240
if 
  56@ == 0
goto_if_false @STEAL4_21336
set_lvar_text_label 189@s = 'STL4_JA'
set_lvar_int_to_constant 191@ = 37021
set_lvar_int_to_lvar_int 192@ = 68@
193@ = 0
gosub @STEAL4_35611
if 
  194@ == 4
goto_if_false @STEAL4_21336
194@ = 0
56@ = 2

:STEAL4_21336
if 
  56@ == 1
goto_if_false @STEAL4_21432
set_lvar_text_label 189@s = 'STL4_JB'
set_lvar_int_to_constant 191@ = 37022
set_lvar_int_to_lvar_int 192@ = 68@
193@ = 0
gosub @STEAL4_35611
if 
  194@ == 4
goto_if_false @STEAL4_21432
194@ = 0
56@ = 2

:STEAL4_21432
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_21629
if 
  Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_21629
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_21629
if 
  not Char.IsInCar(68@, 86@)
goto_if_false @STEAL4_21629
if 
  TIMERA > 35000
goto_if_false @STEAL4_21546
Text.PrintNow('ST4_29', 5000, 1)
TIMERA = 0

:STEAL4_21546
43@ = Char.GetScriptTaskStatus(68@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @STEAL4_21629
49@ = Sequence.Open()
Task.GotoCar(-1, 86@, 999999, 10.0)
Task.EnterCarAsPassenger(-1, 86@, 999999, 0)
Sequence.Close(49@)
Char.PerformSequence(68@, 49@)
Sequence.Clear(49@)

:STEAL4_21629
if 
  194@ == 0
goto_if_false @STEAL4_21759
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_21759
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_21759
if 
  Char.IsInCar(68@, 86@)
goto_if_false @STEAL4_21759
if 
  not Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_21759
if 
  TIMERA > 30000
goto_if_false @STEAL4_21759
Text.PrintNow('ST4_28', 5000, 1)
TIMERA = 0

:STEAL4_21759
if 
  194@ == 0
goto_if_false @STEAL4_21854
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_21854
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_21854
if 
  Char.IsInCar(68@, 86@)
goto_if_false @STEAL4_21854
if 
  Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_21854
35@ += 1

:STEAL4_21854
goto @STEAL4_21959

:STEAL4_21861
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_21919
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_21919
if 
  Char.IsInCar(68@, 86@)
goto_if_false @STEAL4_21919
Char.SetGetOutUpsideDownCar(68@, False)

:STEAL4_21919
Hud.ClearCounter($f1_gold_award)
35@ = 99
goto @STEAL4_21959

:STEAL4_21938
35@ = 0
34@ += 1
goto @STEAL4_21959

:STEAL4_21959
if 
  35@ > 3
goto_if_false @STEAL4_22090
if 
  Blip.DoesExist(119@)
goto_if_false @STEAL4_22040
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_22033
if 
  Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_22033
Blip.Remove(119@)

:STEAL4_22033
goto @STEAL4_22090

:STEAL4_22040
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_22090
if 
  not Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_22090
119@ = Blip.AddForCar(86@)
Blip.SetAsFriendly(119@, True)

:STEAL4_22090
return 

:STEAL4_22092
if 
  $finish_crane_loading_script <> 2
goto_if_false @STEAL4_22144
if 
  124@ == 0
goto_if_false @STEAL4_22137
Text.ClearHelp
124@ = 1

:STEAL4_22137
goto @STEAL4_22180

:STEAL4_22144
if 
  124@ == 1
goto_if_false @STEAL4_22180
Text.PrintHelpForever('ST4_H09')
124@ = 0

:STEAL4_22180
if 
  35@ == -1
goto_if_false @STEAL4_22218
119@ = Blip.AddForCoord(0.0, 0.0, 0.0)

:STEAL4_22218
if 
  35@ == 0
goto_if_false @STEAL4_22362
Text.PrintNow('ST4_26', 5000, 1)
Blip.Remove(108@)
108@ = Blip.AddForCoord(-2024.7, 179.4, 27.4)
if 
  Blip.DoesExist(120@)
goto_if_false @STEAL4_22298
Blip.Remove(120@)

:STEAL4_22298
if 
  Blip.DoesExist(121@)
goto_if_false @STEAL4_22319
Blip.Remove(121@)

:STEAL4_22319
TIMERA = 20000
TIMERB = 0
56@ = 0
62@ = 0
Game.SetWantedMultiplier(1.0)
35@ += 1

:STEAL4_22362
if 
  35@ == 1
goto_if_false @STEAL4_23898
if 
  56@ == 0
goto_if_false @STEAL4_22438
if 
  62@ > 5500
goto_if_false @STEAL4_22431
153@ = 5
56@ += 1

:STEAL4_22431
goto @STEAL4_22669

:STEAL4_22438
if 
  56@ == 1
goto_if_false @STEAL4_22512
if 
  153@ == 0
goto_if_false @STEAL4_22505
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_22498
137@ = Car.GetHealth(86@)

:STEAL4_22498
56@ += 1

:STEAL4_22505
goto @STEAL4_22669

:STEAL4_22512
if 
  56@ == 2
goto_if_false @STEAL4_22587
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_22580
43@ = Car.GetHealth(86@)
if 
  is_int_lvar_greater_than_int_lvar 137@ > 43@
goto_if_false @STEAL4_22580
56@ += 1

:STEAL4_22580
goto @STEAL4_22669

:STEAL4_22587
if 
  56@ == 3
goto_if_false @STEAL4_22626
153@ = 7
56@ += 1
goto @STEAL4_22669

:STEAL4_22626
if 
  56@ == 4
goto_if_false @STEAL4_22669
if 
  153@ == 0
goto_if_false @STEAL4_22669
56@ += 1

:STEAL4_22669
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_22859
if 
  Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_22859
if 
  Car.Locate3D(86@, -2024.7, 179.4, 27.4, 4.0, 4.0, 4.0, True)
goto_if_false @STEAL4_22859
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_22859
if 
  Char.IsInCar(68@, 86@)
goto_if_false @STEAL4_22843
if 
  Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_22836
if 
  Car.IsOnAllWheels(86@)
goto_if_false @STEAL4_22836
Player.SetControl($statbike_temp, False)
35@ += 1

:STEAL4_22836
goto @STEAL4_22859

:STEAL4_22843
Text.PrintNow('ST4_27', 6000, 1)

:STEAL4_22859
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_22931
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_22931
if 
  Char.IsInCar(68@, 86@)
goto_if_false @STEAL4_22931
if 
  Blip.DoesExist(107@)
goto_if_false @STEAL4_22931
Blip.Remove(107@)

:STEAL4_22931
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_23612
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_23612
if 
  Char.IsInCar(68@, 86@)
goto_if_false @STEAL4_23612
if 
  not Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_23539
if 
  not Blip.DoesExist(119@)
goto_if_false @STEAL4_23055
119@ = Blip.AddForCar(86@)
Blip.SetAsFriendly(119@, True)
Text.PrintNow('ST4_05', 5000, 1)
goto @STEAL4_23055

:STEAL4_23055
if 
  Blip.DoesExist(108@)
goto_if_false @STEAL4_23076
Blip.Remove(108@)

:STEAL4_23076
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
  TIMERA > 30000
goto_if_false @STEAL4_23532
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 68@, 20.0, 20.0, 5.0, False)
goto_if_false @STEAL4_23532
178@ += 1
if 
  178@ > 5
goto_if_false @STEAL4_23174
178@ = 0

:STEAL4_23174
switch_start 178@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @STEAL4_23525 {caseNum1} 0 {caseLabel1} @STEAL4_23237 {caseNum2} 1 {caseLabel2} @STEAL4_23285 {caseNum3} 2 {caseLabel3} @STEAL4_23333 {caseNum4} 3 {caseLabel4} @STEAL4_23381 {caseNum5} 4 {caseLabel5} @STEAL4_23429 {caseNum6} 5 {caseLabel6} @STEAL4_23477 {caseNum7} -1 {caseLabel7} @STEAL4_23525

:STEAL4_23237
set_var_text_label s$bd_future_time_shown = 'CESX_AA'
set_var_int_to_constant $bd_x = 10400
start_new_script @AUDIOL 68@ 0 0 1 0 
goto @STEAL4_23525

:STEAL4_23285
set_var_text_label s$bd_future_time_shown = 'CESX_AB'
set_var_int_to_constant $bd_x = 10401
start_new_script @AUDIOL 68@ 0 0 1 0 
goto @STEAL4_23525

:STEAL4_23333
set_var_text_label s$bd_future_time_shown = 'CESX_AC'
set_var_int_to_constant $bd_x = 10402
start_new_script @AUDIOL 68@ 0 0 1 0 
goto @STEAL4_23525

:STEAL4_23381
set_var_text_label s$bd_future_time_shown = 'CESX_AD'
set_var_int_to_constant $bd_x = 10403
start_new_script @AUDIOL 68@ 0 0 1 0 
goto @STEAL4_23525

:STEAL4_23429
set_var_text_label s$bd_future_time_shown = 'CESX_AE'
set_var_int_to_constant $bd_x = 10404
start_new_script @AUDIOL 68@ 0 0 1 0 
goto @STEAL4_23525

:STEAL4_23477
set_var_text_label s$bd_future_time_shown = 'CESX_AF'
set_var_int_to_constant $bd_x = 10405
start_new_script @AUDIOL 68@ 0 0 1 0 
goto @STEAL4_23525

:STEAL4_23525
TIMERA = 0

:STEAL4_23532
goto @STEAL4_23612

:STEAL4_23539
if 
  Blip.DoesExist(119@)
goto_if_false @STEAL4_23560
Blip.Remove(119@)

:STEAL4_23560
if 
  not Blip.DoesExist(108@)
goto_if_false @STEAL4_23612
108@ = Blip.AddForCoord(-2024.7, 179.4, 27.4)
Text.PrintNow('ST4_26', 7000, 1)

:STEAL4_23612
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_23706
if 
  Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_23675
if 
  Blip.DoesExist(119@)
goto_if_false @STEAL4_23668
Blip.Remove(119@)

:STEAL4_23668
goto @STEAL4_23706

:STEAL4_23675
if 
  not Blip.DoesExist(119@)
goto_if_false @STEAL4_23706
119@ = Blip.AddForCar(86@)
Blip.SetAsFriendly(119@, True)

:STEAL4_23706
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_23898
if 
  Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_23898
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_23898
if 
  not Char.IsInCar(68@, 86@)
goto_if_false @STEAL4_23846
if 
  TIMERB > 20000
goto_if_false @STEAL4_23818
Text.PrintNow('ST4_27', 7000, 1)
TIMERB = 0

:STEAL4_23818
if 
  Blip.DoesExist(108@)
goto_if_false @STEAL4_23839
Blip.Remove(108@)

:STEAL4_23839
goto @STEAL4_23898

:STEAL4_23846
if 
  not Blip.DoesExist(108@)
goto_if_false @STEAL4_23898
108@ = Blip.AddForCoord(-2024.7, 179.4, 27.4)
Text.PrintNow('ST4_26', 7000, 1)

:STEAL4_23898
if 
  35@ == 2
goto_if_false @STEAL4_24971
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:STEAL4_23930
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_23954
wait 0
goto @STEAL4_23930

:STEAL4_23954
Garage.Open('HBGDSFS')

:STEAL4_23965
if 
  not Garage.IsOpen('HBGDSFS')
goto_if_false @STEAL4_23998
wait 0
goto @STEAL4_23965

:STEAL4_23998
Streaming.SetAreaVisible(1)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @STEAL4_24025
Char.SetAreaVisible($stattreadstamina_ctr, 1)

:STEAL4_24025
Streaming.LoadSceneInDirection(-2045.4, 173.1, 27.8, 309.5)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.SetFixedPosition(-2045.2, 170.8, 29.4, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2040.1, 181.6, 29.1, SwitchType.JumpCut)
50@ = -2040.1
50@ += 2045.2
51@ = 181.6
51@ -= 170.8
52@ = 29.1
52@ -= 29.4
50@ *= 4.0
51@ *= 4.0
52@ *= 4.0
$on_footY = -2045.2
add_float_lvar_to_float_var $on_footY += 50@
$on_footZ = 170.8
add_float_lvar_to_float_var $on_footZ += 51@
$in_carX = 29.4
add_float_lvar_to_float_var $in_carX += 52@
$on_footX = Math.GetHeadingFromVector2D(50@, 51@)
Streaming.LoadSceneInDirection($on_footY, $on_footZ, $in_carX, $on_footX)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_24310
Char.SetAreaVisible(68@, 1)

:STEAL4_24310
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_24333
Car.SetAreaVisible(86@, 1)

:STEAL4_24333
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_24376
if 
  not Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_24376
Char.WarpIntoCar($stattreadstamina_ctr, 86@)

:STEAL4_24376
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_24422
Car.SetCoordinates(86@, -2033.8, 178.6, 27.6)
Car.SetHeading(86@, 90.0)

:STEAL4_24422
49@ = Sequence.Open()
Task.CarDriveToCoord(-1, 86@, -2044.4, 177.6, 27.6, 5.0, DriveMode.Accurate, 1, DrivingMode.AvoidCars)
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -2034.731, 177.1182, 27.8359, MoveState.Walk, 50000)
Sequence.Close(49@)
Char.PerformSequence($stattreadstamina_ctr, 49@)
Sequence.Clear(49@)
Camera.DoFade(500, Fade.In)

:STEAL4_24515
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_24539
wait 0
goto @STEAL4_24515

:STEAL4_24539
43@ = Math.RandomIntInRange(0, 2)
if 
  43@ == 0
goto_if_false @STEAL4_24632
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37034)

:STEAL4_24579
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_24605
wait 0
goto @STEAL4_24579

:STEAL4_24605
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('STL4_NA', 5000, 1)
goto @STEAL4_24691

:STEAL4_24632
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 37035)

:STEAL4_24645
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_24671
wait 0
goto @STEAL4_24645

:STEAL4_24671
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('STL4_NB', 5000, 1)

:STEAL4_24691
TIMERA = 0

:STEAL4_24698
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_24876
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_24865
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_24865
if 
  Char.IsInCar(68@, 86@)
goto_if_false @STEAL4_24865
if 
  not Char.IsInCar($stattreadstamina_ctr, 86@)
goto_if_false @STEAL4_24865
43@ = Char.GetScriptTaskStatus(68@, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @STEAL4_24865
49@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -2034.731, 177.1182, 27.8359, MoveState.Walk, 50000)
Sequence.Close(49@)
Char.PerformSequence(68@, 49@)
Sequence.Clear(49@)

:STEAL4_24865
wait 0
goto @STEAL4_24698

:STEAL4_24876
if 
  TIMERA <= 5000
goto_if_false @STEAL4_24906
wait 0
goto @STEAL4_24876

:STEAL4_24906
Camera.DoFade(1000, Fade.Out)

:STEAL4_24913
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_24937
wait 0
goto @STEAL4_24913

:STEAL4_24937
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @STEAL4_24964
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:STEAL4_24964
35@ += 1

:STEAL4_24971
if 
  35@ == 3
goto_if_false @STEAL4_25743
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_25049
43@ = Car.GetHealth(86@)
cset_lvar_float_to_lvar_int 46@ =# 43@
46@ /= 1000.0
46@ *= 5000.0
cset_lvar_int_to_lvar_float 152@ =# 46@

:STEAL4_25049
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.Delete(68@)
Car.Delete(86@)
Text.ClearPrints
Garage.Close('HBGDSFS')

:STEAL4_25077
if 
  not Garage.IsClosed('HBGDSFS')
goto_if_false @STEAL4_25110
wait 0
goto @STEAL4_25077

:STEAL4_25110
Char.SetCoordinates($stattreadstamina_ctr, -1569.625, 122.3311, 2.5469)
Camera.SetFixedPosition(-1571.141, 131.4032, 3.3235, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1571.685, 132.226, 3.4872, SwitchType.JumpCut)
Streaming.LoadSceneInDirection(-1571.685, 132.226, 3.4872, 0.0)
World.ClearArea(-1570.718, 131.0493, 3.3547, 50.0, True)
Hud.SwitchWidescreen(True)
$imported_cars = 1
start_new_script @IMPEXPM 
$disable_crane_exit = 1

:STEAL4_25253
if 
  not Streaming.HasModelLoaded(#NF_BLACKBOARD)
goto_if_false @STEAL4_25279
wait 0
goto @STEAL4_25253

:STEAL4_25279
Text.ClearHelp
Camera.DoFade(1500, Fade.In)

:STEAL4_25288
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_25312
wait 0
goto @STEAL4_25288

:STEAL4_25312
Text.ClearHelp
Text.PrintNow('ST4_45', 5000, 1)
wait 5000
Text.PrintNow('ST4_46', 5000, 1)
wait 5000
Camera.DoFade(500, Fade.Out)

:STEAL4_25363
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_25387
wait 0
goto @STEAL4_25363

:STEAL4_25387
Camera.SetFixedPosition(-1554.593, -60.4267, 75.7247, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1554.782, -59.6013, 75.193, SwitchType.JumpCut)
Streaming.LoadSceneInDirection(-1554.782, -59.6013, 75.193, 0.0)
Camera.DoFade(500, Fade.In)

:STEAL4_25467
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_25491
wait 0
goto @STEAL4_25467

:STEAL4_25491
Text.PrintNow('ST4_47', 5000, 1)
wait 5000
Text.PrintNow('ST4_48', 5000, 1)
wait 5000
Camera.DoFade(500, Fade.Out)

:STEAL4_25540
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_25564
wait 0
goto @STEAL4_25540

:STEAL4_25564
Char.SetCoordinates($stattreadstamina_ctr, -2027.2, 179.5, 27.3)
Char.SetHeading($stattreadstamina_ctr, 277.5)
Streaming.LoadScene(-2045.4, 173.1, 27.8)
Streaming.LoadSceneInDirection(-2045.4, 173.1, 27.8, 309.5)

:STEAL4_25633
if 
  Char.IsWaitingForWorldCollision($stattreadstamina_ctr)
goto_if_false @STEAL4_25660
wait 0
goto @STEAL4_25633

:STEAL4_25660
Char.SetCoordinates($stattreadstamina_ctr, -2027.2, 179.5, 27.3)
Char.SetHeading($stattreadstamina_ctr, 277.5)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Camera.DoFade(1000, Fade.In)

:STEAL4_25705
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_25729
wait 0
goto @STEAL4_25705

:STEAL4_25729
Player.SetControl($statbike_temp, True)
36@ = 1

:STEAL4_25743
return 

:STEAL4_25745
if 
  Object.DoesExist($magno_base_x)
goto_if_false @STEAL4_25820
83@, 69@, 91@ = Object.GrabEntityOnRope($magno_base_x)
if 
  91@ <> -1
goto_if_false @STEAL4_25820
if 
  not is_int_lvar_equal_to_int_lvar 105@ == 91@
goto_if_false @STEAL4_25820
set_lvar_int_to_lvar_int 105@ = 91@

:STEAL4_25820
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_25950
if 
  Object.DoesExist(105@)
goto_if_false @STEAL4_25950
if 
  not Object.IsStatic(105@)
goto_if_false @STEAL4_25950
46@ = Object.GetSpeed(105@)
if 
  46@ > 4.0
goto_if_false @STEAL4_25950
if 
  Char.IsTouchingObjectOnFoot(68@, 105@)
goto_if_false @STEAL4_25950
45@ = Char.GetScriptTaskStatus(68@, 1470)
if 
  is_int_lvar_equal_to_constant 45@ == 7
goto_if_false @STEAL4_25950
Task.Die(68@)

:STEAL4_25950
if 
  39@ == 8
goto_if_false @STEAL4_26336
if 
  135@ == 1
goto_if_false @STEAL4_26336
if 
  Object.DoesExist(101@)
goto_if_false @STEAL4_26336
if 
  Car.DoesExist(84@)
goto_if_false @STEAL4_26336
if 
  not Car.IsDead(84@)
goto_if_false @STEAL4_26336
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(101@, 0.0, -1.0, 0.0)
57@, 58@, 59@ = Object.GetCoordinates(101@)
50@ = 1.0
set_lvar_float_to_var_float 51@ = $in_carX
sub_float_lvar_from_float_lvar 51@ -= 59@
53@ = 0.0
54@ = 1.0
46@ = Math.GetAngleBetween2DVectors(50@, 51@, 53@, 54@)
if and
  is_float_lvar_greater_than_float_var 59@ > $in_carX
  46@ > 120.0
goto_if_false @STEAL4_26336
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(84@)
57@, 58@, 59@ = Car.GetOffsetInWorldCoords(84@, 0.0, 1.0, 0.0)
set_lvar_float_to_lvar_float 179@ = 57@
sub_float_var_from_float_lvar 179@ -= $on_footY
set_lvar_float_to_lvar_float 180@ = 58@
sub_float_var_from_float_lvar 180@ -= $on_footZ
set_lvar_float_to_lvar_float 181@ = 59@
sub_float_var_from_float_lvar 181@ -= $in_carX
181@ += 0.1
179@ *= 0.05
180@ *= 0.05
181@ *= 0.05
Car.Detach(84@, 0.0, 0.0, 0.0, False)
64@ = 0
135@ += 1

:STEAL4_26336
if 
  135@ == 2
goto_if_false @STEAL4_26432
if 
  300 > 64@
goto_if_false @STEAL4_26425
if 
  not Car.IsDead(84@)
goto_if_false @STEAL4_26418
Car.ApplyForce(84@, 179@, 180@, 181@, 0.0, 0.0, 0.0)

:STEAL4_26418
goto @STEAL4_26432

:STEAL4_26425
135@ += 1

:STEAL4_26432
if 
  39@ == 9
goto_if_false @STEAL4_26818
if 
  136@ == 1
goto_if_false @STEAL4_26818
if 
  Object.DoesExist(102@)
goto_if_false @STEAL4_26818
if 
  Car.DoesExist(85@)
goto_if_false @STEAL4_26818
if 
  not Car.IsDead(85@)
goto_if_false @STEAL4_26818
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(102@, 0.0, -1.0, 0.0)
57@, 58@, 59@ = Object.GetCoordinates(102@)
50@ = 1.0
set_lvar_float_to_var_float 51@ = $in_carX
sub_float_lvar_from_float_lvar 51@ -= 59@
53@ = 0.0
54@ = 1.0
46@ = Math.GetAngleBetween2DVectors(50@, 51@, 53@, 54@)
if and
  is_float_lvar_greater_than_float_var 59@ > $in_carX
  46@ > 120.0
goto_if_false @STEAL4_26818
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(85@)
57@, 58@, 59@ = Car.GetOffsetInWorldCoords(85@, 0.0, 1.0, 0.0)
set_lvar_float_to_lvar_float 179@ = 57@
sub_float_var_from_float_lvar 179@ -= $on_footY
set_lvar_float_to_lvar_float 180@ = 58@
sub_float_var_from_float_lvar 180@ -= $on_footZ
set_lvar_float_to_lvar_float 181@ = 59@
sub_float_var_from_float_lvar 181@ -= $in_carX
181@ += 0.1
179@ *= 0.05
180@ *= 0.05
181@ *= 0.05
Car.Detach(85@, 0.0, 0.0, 0.0, False)
64@ = 0
136@ += 1

:STEAL4_26818
if 
  135@ == 2
goto_if_false @STEAL4_26914
if 
  300 > 64@
goto_if_false @STEAL4_26907
if 
  not Car.IsDead(85@)
goto_if_false @STEAL4_26900
Car.ApplyForce(85@, 179@, 180@, 181@, 0.0, 0.0, 0.0)

:STEAL4_26900
goto @STEAL4_26914

:STEAL4_26907
136@ += 1

:STEAL4_26914
if 
  Object.DoesExist($magno_base_x)
goto_if_false @STEAL4_27263
83@, 69@, 91@ = Object.GrabEntityOnRope($magno_base_x)
if 
  91@ == -1
goto_if_false @STEAL4_27263
if 
  Object.DoesExist(105@)
goto_if_false @STEAL4_27263
if 
  182@ > 15.0
goto_if_false @STEAL4_27255
if 
  not Car.IsDead(82@)
goto_if_false @STEAL4_27039
if 
  Car.IsTouchingObject(82@, 105@)
goto_if_false @STEAL4_27039
Car.Explode(82@)

:STEAL4_27039
if 
  not Car.IsDead(84@)
goto_if_false @STEAL4_27095
if 
  not Car.IsAttached(84@)
goto_if_false @STEAL4_27095
if 
  Car.IsTouchingObject(84@, 105@)
goto_if_false @STEAL4_27095
Car.Explode(84@)

:STEAL4_27095
if 
  not Car.IsDead(86@)
goto_if_false @STEAL4_27135
if 
  Car.IsTouchingObject(86@, 105@)
goto_if_false @STEAL4_27135
Car.Explode(86@)

:STEAL4_27135
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_27175
if 
  Car.IsTouchingObject(87@, 105@)
goto_if_false @STEAL4_27175
Car.Explode(87@)

:STEAL4_27175
if 
  not Car.IsDead(88@)
goto_if_false @STEAL4_27215
if 
  Car.IsTouchingObject(88@, 105@)
goto_if_false @STEAL4_27215
Car.Explode(88@)

:STEAL4_27215
if 
  not Car.IsDead(89@)
goto_if_false @STEAL4_27255
if 
  Car.IsTouchingObject(89@, 105@)
goto_if_false @STEAL4_27255
Car.Explode(89@)

:STEAL4_27255
182@ = Object.GetSpeed(105@)

:STEAL4_27263
if 
  39@ == 4
goto_if_false @STEAL4_27392
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @STEAL4_27392
if 
  not Car.IsDead(82@)
goto_if_false @STEAL4_27379
if 
  not Char.IsInCar($stattreadstamina_ctr, 82@)
goto_if_false @STEAL4_27372
43@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not is_int_lvar_equal_to_int_lvar 43@ == 86@
goto_if_false @STEAL4_27372
Car.MarkAsNoLongerNeeded(82@)
82@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:STEAL4_27372
goto @STEAL4_27392

:STEAL4_27379
Car.MarkAsNoLongerNeeded(82@)
82@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:STEAL4_27392
if 
  39@ == 5
goto_if_false @STEAL4_27517
if 
  Char.DoesExist(68@)
goto_if_false @STEAL4_27517
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_27517
43@ = Char.GetHealth(68@)
cset_lvar_float_to_lvar_int 46@ =# 43@
46@ /= 500.0
46@ *= 100.0
if 
  46@ > 100.0
goto_if_false @STEAL4_27509
46@ = 100.0

:STEAL4_27509
cset_var_int_to_lvar_float $f1_gold_award =# 46@

:STEAL4_27517
if 
  39@ == 6
goto_if_false @STEAL4_27588
if 
  Car.DoesExist(89@)
goto_if_false @STEAL4_27588
if 
  Car.IsDead(89@)
goto_if_false @STEAL4_27588
if 
  Blip.DoesExist(118@)
goto_if_false @STEAL4_27588
Blip.Remove(118@)

:STEAL4_27588
if 
  39@ == 8
goto_if_false @STEAL4_27768
43@ = 0

:STEAL4_27613
if 
  6 > 43@
goto_if_false @STEAL4_27694
if 
  Blip.DoesExist(112@(43@,6i))
goto_if_false @STEAL4_27680
if 
  Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_27680
Blip.Remove(112@(43@,6i))

:STEAL4_27680
43@ += 1
goto @STEAL4_27613

:STEAL4_27694
if 
  Blip.DoesExist(120@)
goto_if_false @STEAL4_27731
if 
  Char.IsDead(80@)
goto_if_false @STEAL4_27731
Blip.Remove(120@)

:STEAL4_27731
if 
  Blip.DoesExist(121@)
goto_if_false @STEAL4_27768
if 
  Char.IsDead(81@)
goto_if_false @STEAL4_27768
Blip.Remove(121@)

:STEAL4_27768
if 
  128@ == 1
goto_if_false @STEAL4_27849
if 
  Object.DoesExist($magno_base_x)
goto_if_false @STEAL4_27849
83@, 69@, 91@ = Object.GrabEntityOnRope($magno_base_x)
if 
  83@ <> -1
goto_if_false @STEAL4_27849
Crane.EnableControls(True, True, True)
128@ = 2

:STEAL4_27849
if 
  128@ == 2
goto_if_false @STEAL4_27930
if 
  Object.DoesExist($magno_base_x)
goto_if_false @STEAL4_27930
83@, 69@, 91@ = Object.GrabEntityOnRope($magno_base_x)
if 
  83@ == -1
goto_if_false @STEAL4_27930
Crane.EnableControls(True, True, False)
128@ = 1

:STEAL4_27930
if 
  39@ == 7
goto_if_false @STEAL4_28045
if 
  Car.DoesExist(86@)
goto_if_false @STEAL4_27999
if 
  Car.IsDead(86@)
goto_if_false @STEAL4_27999
wait 2000
37@ = 1
140@ = 2

:STEAL4_27999
if 
  Char.DoesExist(68@)
goto_if_false @STEAL4_28045
if 
  Char.IsDead(68@)
goto_if_false @STEAL4_28045
37@ = 1
140@ = 3

:STEAL4_28045
return 

:STEAL4_28047
if 
  126@ == 1
goto_if_false @STEAL4_28173
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_28173
if 
  not Char.IsGroupMember(68@, $flag_cell_nation)
goto_if_false @STEAL4_28173
if 
  $finish_crane_loading_script <> 2
goto_if_false @STEAL4_28134
Text.PrintNow('ST4_42', 5000, 1)

:STEAL4_28134
126@ += 1
if 
  133@ <> 1
goto_if_false @STEAL4_28173
133@ = 1
gosub @STEAL4_29801

:STEAL4_28173
if 
  126@ == 2
goto_if_false @STEAL4_28297
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_28297
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 68@, 15.0, 15.0, 5.0, False)
goto_if_false @STEAL4_28297
Group.SetMember($flag_cell_nation, 68@)
Char.SetDrownsInWater(68@, False)
126@ = 1
if 
  133@ <> 3
goto_if_false @STEAL4_28297
133@ = 3
gosub @STEAL4_29801

:STEAL4_28297
return 

:STEAL4_28299
Streaming.RequestModel(405)
Streaming.RequestModel(346)
Streaming.RequestModel(24)

:STEAL4_28313
if or
  not Streaming.HasModelLoaded(559)
  not Streaming.HasModelLoaded(405)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(24)
goto_if_false @STEAL4_28354
wait 0
goto @STEAL4_28313

:STEAL4_28354
World.ClearArea(-1711.59, 44.8495, 2.7813, 20.0, True)
87@ = Car.Create(405, -1711.59, 44.8495, 2.7813)
Car.SetHeading(87@, 232.9281)
Car.SetStraightLineDistance(87@, 100)
70@ = Char.CreateInsideCar(87@, PedType.Mission1, 24)
71@ = Char.CreateAsPassenger(87@, PedType.Mission1, 24, 0)
72@ = Char.CreateAsPassenger(87@, PedType.Mission1, 24, 1)
112@ = Blip.AddForChar(70@)
113@ = Blip.AddForChar(71@)
114@ = Blip.AddForChar(72@)
43@ = 0

:STEAL4_28489
if 
  3 > 43@
goto_if_false @STEAL4_28600
if 
  not Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_28586
Char.GiveWeapon(70@(43@,6i), WeaponType.Pistol, 9999)
Char.SetDecisionMaker(70@(43@,6i), 171@)
Char.SetAccuracy(70@(43@,6i), 40)
Char.SetHealth(70@(43@,6i), 70)
Char.SetSuffersCriticalHits(70@(43@,6i), False)

:STEAL4_28586
43@ += 1
goto @STEAL4_28489

:STEAL4_28600
World.ClearArea(-1697.04, 14.7378, 2.7813, 5.0, True)
return 
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_28747
49@ = Sequence.Open()
Task.CarDriveToCoord(-1, 87@, -1686.422, 25.8359, 2.7752, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 87@, -1643.394, 19.6494, 3.6706, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Sequence.Close(49@)
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_28742
Char.PerformSequence(70@, 49@)

:STEAL4_28742
Sequence.Clear(49@)

:STEAL4_28747
return 

:STEAL4_28749
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @STEAL4_28779
Object.SetCoordinatesAndVelocity($magno_cabin_LOD, $magno_arm_h, $magno_arm_rotate_y, $arm_rotate_y)

:STEAL4_28779
if 
  Object.DoesExist($magno_base_y)
goto_if_false @STEAL4_28809
Object.SetCoordinatesAndVelocity($magno_base_y, $magno_arm_h, $magno_arm_rotate_y, $arm_rotate_y)

:STEAL4_28809
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @STEAL4_28930
if 
  Object.DoesExist($magno_arm_LOD)
goto_if_false @STEAL4_28930
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($magno_cabin_LOD, 0.0, 0.0, 0.0)
Object.SetHeading($magno_arm_LOD, $quarry_base)
Object.SetCoordinatesAndVelocity($magno_arm_LOD, $on_footY, $on_footZ, $in_carX)
if 
  Object.DoesExist($magno_base_z)
goto_if_false @STEAL4_28930
Object.SetHeading($magno_base_z, $quarry_base)
Object.SetCoordinatesAndVelocity($magno_base_z, $on_footY, $on_footZ, $in_carX)

:STEAL4_28930
if 
  Object.DoesExist($magno_base_x)
goto_if_false @STEAL4_29075
if 
  Object.DoesExist($magno_arm_LOD)
goto_if_false @STEAL4_29075
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($magno_arm_LOD, 0.0, -2.185, 8.51)
$quarry_stand = Object.GetHeading($magno_arm_LOD)
Object.SetCoordinatesAndVelocity($magno_base_x, $on_footY, $on_footZ, $in_carX)
Object.SetRotation($magno_base_x, $quarry_arm, 0.0, $quarry_stand)
if 
  Object.DoesExist($magno_cabin_h)
goto_if_false @STEAL4_29075
Object.SetCoordinatesAndVelocity($magno_cabin_h, $on_footY, $on_footZ, $in_carX)
Object.SetRotation($magno_cabin_h, $quarry_arm, 0.0, $quarry_stand)

:STEAL4_29075
if 
  Object.DoesExist($magno_base_x)
goto_if_false @STEAL4_29107
Object.SetRopeHeight($magno_base_x, $crane_help3)
$crane_help3 = Object.GetRopeHeight($magno_base_x)

:STEAL4_29107
Object.ReleaseEntityFromRope($magno_base_x)
if 
  Object.DoesExist($magno_base_x)
goto_if_false @STEAL4_29136
Object.SetRopeHeight($magno_base_x, $crane_help3)

:STEAL4_29136
return 
if 
  not Char.IsDead(70@)
goto_if_false @STEAL4_29267
Char.ClearTasksImmediately(70@)
Char.SetCoordinates(70@, -1638.942, 26.9517, 3.0869)
Char.SetHeading(70@, 339.6872)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1638.837, 27.1035, 2.8213, MoveState.Run, 999999)
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_29249
Task.KillCharOnFoot(-1, 68@)

:STEAL4_29249
Sequence.Close(49@)
Char.PerformSequence(70@, 49@)
Sequence.Clear(49@)

:STEAL4_29267
if 
  not Char.IsDead(71@)
goto_if_false @STEAL4_29396
Char.ClearTasksImmediately(71@)
Char.SetCoordinates(71@, -1639.896, 21.6694, 3.0869)
Char.SetHeading(71@, 359.1165)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1639.896, 21.6694, 3.5869, MoveState.Run, 999999)
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_29378
Task.KillCharOnFoot(-1, 68@)

:STEAL4_29378
Sequence.Close(49@)
Char.PerformSequence(71@, 49@)
Sequence.Clear(49@)

:STEAL4_29396
if 
  not Char.IsDead(72@)
goto_if_false @STEAL4_29525
Char.ClearTasksImmediately(72@)
Char.SetCoordinates(72@, -1641.346, 27.048, 3.0869)
Char.SetHeading(72@, 331.6584)
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1641.346, 27.048, 3.5869, MoveState.Run, 999999)
Task.KindaStayInSamePlace(-1, True)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_29507
Task.KillCharOnFoot(-1, 68@)

:STEAL4_29507
Sequence.Close(49@)
Char.PerformSequence(72@, 49@)
Sequence.Clear(49@)

:STEAL4_29525
if 
  not Car.IsDead(87@)
goto_if_false @STEAL4_29571
Car.SetCoordinates(87@, -1642.706, 19.5606, 3.4189)
Car.SetHeading(87@, 263.1502)

:STEAL4_29571
43@ = 0

:STEAL4_29578
if 
  3 > 43@
goto_if_false @STEAL4_29642
if 
  not Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_29628
Char.SetDecisionMaker(70@(43@,6i), 171@)

:STEAL4_29628
43@ += 1
goto @STEAL4_29578

:STEAL4_29642
return 
switch_start 131@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @STEAL4_29767 {caseNum1} 0 {caseLabel1} @STEAL4_29707 {caseNum2} 1 {caseLabel2} @STEAL4_29737 {caseNum3} -1 {caseLabel3} @STEAL4_29767 {caseNum4} -1 {caseLabel4} @STEAL4_29767 {caseNum5} -1 {caseLabel5} @STEAL4_29767 {caseNum6} -1 {caseLabel6} @STEAL4_29767 {caseNum7} -1 {caseLabel7} @STEAL4_29767

:STEAL4_29707
Text.PrintNow('ST4_11', 6000, 1)
131@ += 1
goto @STEAL4_29767

:STEAL4_29737
Text.PrintNow('ST4_12', 6000, 1)
131@ += 1
goto @STEAL4_29767

:STEAL4_29767
if 
  131@ > 1
goto_if_false @STEAL4_29792
131@ = 0

:STEAL4_29792
60@ = 0
return 

:STEAL4_29801
if 
  Char.DoesExist(68@)
goto_if_false @STEAL4_29967
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_29967
if 
  Blip.DoesExist(107@)
goto_if_false @STEAL4_29854
Blip.Remove(107@)

:STEAL4_29854
if 
  133@ == 1
goto_if_false @STEAL4_29887
107@ = Blip.AddForChar(68@)
Blip.SetAsFriendly(107@, True)

:STEAL4_29887
if 
  133@ == 2
goto_if_false @STEAL4_29927
107@ = Blip.AddForChar(68@)
Blip.SetAsFriendly(107@, True)
Blip.ChangeDisplay(107@, BlipDisplay.BlipOnly)

:STEAL4_29927
if 
  133@ == 3
goto_if_false @STEAL4_29967
107@ = Blip.AddForChar(68@)
Blip.SetAsFriendly(107@, True)
Blip.ChangeDisplay(107@, BlipDisplay.Neither)

:STEAL4_29967
return 

:STEAL4_29969
Text.ClearPrints
if 
  $finish_crane_loading_script == 2
goto_if_false @STEAL4_30575
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:STEAL4_30003
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_30027
wait 0
goto @STEAL4_30003

:STEAL4_30027
Hud.ClearCounter($f1_gold_award)
$magno_camera_type = 1
switch_start 140@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @STEAL4_30488 {caseNum1} 1 {caseLabel1} @STEAL4_30102 {caseNum2} 2 {caseLabel2} @STEAL4_30232 {caseNum3} 3 {caseLabel3} @STEAL4_30362 {caseNum4} -1 {caseLabel4} @STEAL4_30488 {caseNum5} -1 {caseLabel5} @STEAL4_30488 {caseNum6} -1 {caseLabel6} @STEAL4_30488 {caseNum7} -1 {caseLabel7} @STEAL4_30488

:STEAL4_30102
if 
  not Car.IsDead(82@)
goto_if_false @STEAL4_30225
Car.SetTraction(82@, 2.0)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_30152
Char.WarpIntoCar(68@, 82@)

:STEAL4_30152
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(82@)
$on_footY, $on_footZ, $in_carX = Path.GetClosestCarNode($on_footY, $on_footZ, $in_carX)
Car.SetCoordinates(82@, $on_footY, $on_footZ, $in_carX)
Car.SetHeading(82@, 130.0)
Task.CarDriveWander(68@, 82@, 40.0, DrivingMode.AvoidCars)

:STEAL4_30225
goto @STEAL4_30488

:STEAL4_30232
if 
  not Car.IsDead(82@)
goto_if_false @STEAL4_30355
Car.SetTraction(82@, 2.0)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_30282
Char.WarpIntoCar(68@, 82@)

:STEAL4_30282
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(82@)
$on_footY, $on_footZ, $in_carX = Path.GetClosestCarNode($on_footY, $on_footZ, $in_carX)
Car.SetCoordinates(82@, $on_footY, $on_footZ, $in_carX)
Car.SetHeading(82@, 130.0)
Task.CarDriveWander(68@, 82@, 40.0, DrivingMode.AvoidCars)

:STEAL4_30355
goto @STEAL4_30488

:STEAL4_30362
43@ = 0

:STEAL4_30369
if 
  6 > 43@
goto_if_false @STEAL4_30433
if 
  not Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_30419
Task.KillCharOnFoot(70@(43@,6i), $stattreadstamina_ctr)

:STEAL4_30419
43@ += 1
goto @STEAL4_30369

:STEAL4_30433
if 
  not Char.IsDead(80@)
goto_if_false @STEAL4_30457
Task.KillCharOnFoot(80@, $stattreadstamina_ctr)

:STEAL4_30457
if 
  not Char.IsDead(81@)
goto_if_false @STEAL4_30481
Task.KillCharOnFoot(81@, $stattreadstamina_ctr)

:STEAL4_30481
goto @STEAL4_30488

:STEAL4_30488
if 
  Car.DoesExist(86@)
goto_if_false @STEAL4_30509
Car.Delete(86@)

:STEAL4_30509
if 
  not Car.IsDead(84@)
goto_if_false @STEAL4_30530
Car.Delete(84@)

:STEAL4_30530
Camera.DoFade(1000, Fade.In)

:STEAL4_30537
if 
  Camera.GetFadingStatus
goto_if_false @STEAL4_30561
wait 0
goto @STEAL4_30537

:STEAL4_30561
$f1_silver_award += 1
Player.SetControl($statbike_temp, True)

:STEAL4_30575
switch_start 140@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @STEAL4_30707 {caseNum1} 1 {caseLabel1} @STEAL4_30638 {caseNum2} 2 {caseLabel2} @STEAL4_30661 {caseNum3} 3 {caseLabel3} @STEAL4_30684 {caseNum4} -1 {caseLabel4} @STEAL4_30707 {caseNum5} -1 {caseLabel5} @STEAL4_30707 {caseNum6} -1 {caseLabel6} @STEAL4_30707 {caseNum7} -1 {caseLabel7} @STEAL4_30707

:STEAL4_30638
Text.PrintNow('ST4_44', 5000, 1)
goto @STEAL4_30707

:STEAL4_30661
Text.PrintNow('ST4_03', 5000, 1)
goto @STEAL4_30707

:STEAL4_30684
Text.PrintNow('ST4_02', 5000, 1)
goto @STEAL4_30707

:STEAL4_30707
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
$disable_crane_slide = 1
return 

:STEAL4_30732
Text.ClearPrints
Streaming.SetAreaVisible(0)
Text.PrintWithNumberBig('M_PASSS', 152@, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 152@)
Stat.AwardPlayerMissionRespect(5)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
$garageY += 1
Stat.PlayerMadeProgress(1)
$disable_crane_slide = 0
CarGenerator.Switch($stunt_best_time, 101)
Stat.RegisterMissionPassed('STEAL_4')
return 

:STEAL4_30816
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @STEAL4_30839
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:STEAL4_30839
Streaming.SetAreaVisible(0)
start_new_script @CLEANAU 
Text.ClearHelp
Hud.Display(True)
Hud.DisplayRadar(True)
$imported_cars = 0
$finish_crane_loading_script = 0
$remove_player_from_crane = 0
$disable_crane_rotate = 0
$disable_manual_control = 0
$sw6_mission_attempts = 0
Hud.ClearCounter($f1_gold_award)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @STEAL4_30979
Player.SetGroupToFollowAlways($statbike_temp, False)
if 
  not Char.IsDead(80@)
goto_if_false @STEAL4_30955
Task.KillCharOnFoot(80@, $stattreadstamina_ctr)

:STEAL4_30955
if 
  not Char.IsDead(81@)
goto_if_false @STEAL4_30979
Task.KillCharOnFoot(81@, $stattreadstamina_ctr)

:STEAL4_30979
Game.SetScriptLimitToGangSize(99)
Char.MarkAsNoLongerNeeded(68@)
Char.MarkAsNoLongerNeeded(69@)
43@ = 0

:STEAL4_31000
if 
  6 > 43@
goto_if_false @STEAL4_31089
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @STEAL4_31066
if 
  not Char.IsDead(70@(43@,6i))
goto_if_false @STEAL4_31066
Task.KillCharOnFoot(70@(43@,6i), $stattreadstamina_ctr)

:STEAL4_31066
Char.MarkAsNoLongerNeeded(70@(43@,6i))
43@ += 1
goto @STEAL4_31000

:STEAL4_31089
Char.MarkAsNoLongerNeeded(80@)
Char.MarkAsNoLongerNeeded(81@)
Car.MarkAsNoLongerNeeded(82@)
Car.MarkAsNoLongerNeeded(83@)
Car.MarkAsNoLongerNeeded(84@)
Car.MarkAsNoLongerNeeded(86@)
Car.MarkAsNoLongerNeeded(87@)
Car.MarkAsNoLongerNeeded(88@)
Car.MarkAsNoLongerNeeded(89@)
Game.SwitchRandomTrains(True)
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(589)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(559)
Streaming.MarkModelAsNoLongerNeeded(458)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(405)
Streaming.MarkModelAsNoLongerNeeded(537)
Streaming.MarkModelAsNoLongerNeeded(569)
Streaming.MarkModelAsNoLongerNeeded(24)
Streaming.MarkModelAsNoLongerNeeded(404)
Blip.Remove(107@)
Blip.Remove(118@)
Blip.Remove(108@)
43@ = 0

:STEAL4_31213
if 
  6 > 43@
goto_if_false @STEAL4_31254
Blip.Remove(112@(43@,6i))
43@ += 1
goto @STEAL4_31213

:STEAL4_31254
Blip.Remove(119@)
Blip.Remove(109@)
Blip.Remove(110@)
Blip.Remove(120@)
Blip.Remove(121@)
DecisionMaker.Remove(168@)
DecisionMaker.Remove(171@)
DecisionMaker.Remove(172@)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:STEAL4_31331
switch_start 153@ {numCases} 7 {hasDefaultCase} 1 {defaultLabel} @STEAL4_31492 {caseNum1} 1 {caseLabel1} @STEAL4_31394 {caseNum2} 2 {caseLabel2} @STEAL4_31408 {caseNum3} 3 {caseLabel3} @STEAL4_31422 {caseNum4} 4 {caseLabel4} @STEAL4_31436 {caseNum5} 5 {caseLabel5} @STEAL4_31450 {caseNum6} 6 {caseLabel6} @STEAL4_31464 {caseNum7} 7 {caseLabel7} @STEAL4_31478

:STEAL4_31394
gosub @STEAL4_31526
goto @STEAL4_31524

:STEAL4_31408
gosub @STEAL4_32020
goto @STEAL4_31524

:STEAL4_31422
gosub @STEAL4_32630
goto @STEAL4_31524

:STEAL4_31436
gosub @STEAL4_33046
goto @STEAL4_31524

:STEAL4_31450
gosub @STEAL4_33409
goto @STEAL4_31524

:STEAL4_31464
gosub @STEAL4_34047
goto @STEAL4_31524

:STEAL4_31478
gosub @STEAL4_34596
goto @STEAL4_31524

:STEAL4_31492
if 
  154@ <> 0
goto_if_false @STEAL4_31517
154@ = 0

:STEAL4_31517
goto @STEAL4_31524

:STEAL4_31524
return 

:STEAL4_31526
switch_start 154@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @STEAL4_31828 {caseNum1} 0 {caseLabel1} @STEAL4_31589 {caseNum2} 1 {caseLabel2} @STEAL4_31610 {caseNum3} 2 {caseLabel3} @STEAL4_31694 {caseNum4} 3 {caseLabel4} @STEAL4_31778 {caseNum5} 4 {caseLabel5} @STEAL4_31792 {caseNum6} -1 {caseLabel6} @STEAL4_31828 {caseNum7} -1 {caseLabel7} @STEAL4_31828

:STEAL4_31589
188@ = 0
154@ = 1
goto @STEAL4_31828

:STEAL4_31610
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_31664
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 68@, 15.0, 15.0, False)
goto_if_false @STEAL4_31664
154@ = 2

:STEAL4_31664
if 
  Char.IsDead(68@)
goto_if_false @STEAL4_31687
154@ = 3

:STEAL4_31687
goto @STEAL4_31828

:STEAL4_31694
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_31748
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 68@, 10.0, 10.0, False)
goto_if_false @STEAL4_31748
154@ = 1

:STEAL4_31748
if 
  Char.IsDead(68@)
goto_if_false @STEAL4_31771
154@ = 3

:STEAL4_31771
goto @STEAL4_31828

:STEAL4_31778
153@ = 0
goto @STEAL4_31828

:STEAL4_31792
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_31821
154@ = 3
153@ = 0

:STEAL4_31821
goto @STEAL4_31828

:STEAL4_31828
switch_start 155@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @STEAL4_31997 {caseNum1} 0 {caseLabel1} @STEAL4_31891 {caseNum2} 1 {caseLabel2} @STEAL4_31944 {caseNum3} -1 {caseLabel3} @STEAL4_32018 {caseNum4} -1 {caseLabel4} @STEAL4_32018 {caseNum5} -1 {caseLabel5} @STEAL4_32018 {caseNum6} -1 {caseLabel6} @STEAL4_32018 {caseNum7} -1 {caseLabel7} @STEAL4_32018

:STEAL4_31891
set_lvar_text_label 183@s = 'STL4_AA'
set_lvar_int_to_constant 185@ = 37000
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_32018

:STEAL4_31944
set_lvar_text_label 183@s = 'STL4_AB'
set_lvar_int_to_constant 185@ = 37001
set_lvar_int_to_var_int 186@ = $stattreadstamina_ctr
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_32018

:STEAL4_31997
154@ = 3
gosub @STEAL4_35199
goto @STEAL4_32018

:STEAL4_32018
return 

:STEAL4_32020
switch_start 154@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @STEAL4_32332 {caseNum1} 0 {caseLabel1} @STEAL4_32083 {caseNum2} 1 {caseLabel2} @STEAL4_32104 {caseNum3} 2 {caseLabel3} @STEAL4_32193 {caseNum4} 3 {caseLabel4} @STEAL4_32282 {caseNum5} 4 {caseLabel5} @STEAL4_32296 {caseNum6} -1 {caseLabel6} @STEAL4_32332 {caseNum7} -1 {caseLabel7} @STEAL4_32332

:STEAL4_32083
188@ = 0
154@ = 1
goto @STEAL4_32332

:STEAL4_32104
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_32163
if 
  not Char.LocateAnyMeansChar3D(68@, $stattreadstamina_ctr, 5.0, 5.0, 5.0, False)
goto_if_false @STEAL4_32163
154@ = 2

:STEAL4_32163
if 
  Char.IsDead(68@)
goto_if_false @STEAL4_32186
154@ = 3

:STEAL4_32186
goto @STEAL4_32332

:STEAL4_32193
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_32252
if 
  Char.LocateAnyMeansChar3D(68@, $stattreadstamina_ctr, 5.0, 5.0, 5.0, False)
goto_if_false @STEAL4_32252
154@ = 1

:STEAL4_32252
if 
  Char.IsDead(68@)
goto_if_false @STEAL4_32275
154@ = 3

:STEAL4_32275
goto @STEAL4_32332

:STEAL4_32282
153@ = 0
goto @STEAL4_32332

:STEAL4_32296
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_32325
154@ = 3
153@ = 0

:STEAL4_32325
goto @STEAL4_32332

:STEAL4_32332
switch_start 155@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @STEAL4_32607 {caseNum1} 0 {caseLabel1} @STEAL4_32395 {caseNum2} 1 {caseLabel2} @STEAL4_32448 {caseNum3} 2 {caseLabel3} @STEAL4_32501 {caseNum4} 3 {caseLabel4} @STEAL4_32554 {caseNum5} -1 {caseLabel5} @STEAL4_32628 {caseNum6} -1 {caseLabel6} @STEAL4_32628 {caseNum7} -1 {caseLabel7} @STEAL4_32628

:STEAL4_32395
set_lvar_text_label 183@s = 'STL4_BA'
set_lvar_int_to_constant 185@ = 37002
set_lvar_int_to_var_int 186@ = $stattreadstamina_ctr
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_32628

:STEAL4_32448
set_lvar_text_label 183@s = 'STL4_BB'
set_lvar_int_to_constant 185@ = 37003
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_32628

:STEAL4_32501
set_lvar_text_label 183@s = 'STL4_BC'
set_lvar_int_to_constant 185@ = 37004
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_32628

:STEAL4_32554
set_lvar_text_label 183@s = 'STL4_BD'
set_lvar_int_to_constant 185@ = 37005
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_32628

:STEAL4_32607
154@ = 3
gosub @STEAL4_35199
goto @STEAL4_32628

:STEAL4_32628
return 

:STEAL4_32630
switch_start 154@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @STEAL4_32801 {caseNum1} 0 {caseLabel1} @STEAL4_32693 {caseNum2} 1 {caseLabel2} @STEAL4_32714 {caseNum3} 2 {caseLabel3} @STEAL4_32744 {caseNum4} 3 {caseLabel4} @STEAL4_32751 {caseNum5} 4 {caseLabel5} @STEAL4_32765 {caseNum6} -1 {caseLabel6} @STEAL4_32801 {caseNum7} -1 {caseLabel7} @STEAL4_32801

:STEAL4_32693
188@ = 0
154@ = 1
goto @STEAL4_32801

:STEAL4_32714
if 
  Char.IsDead(68@)
goto_if_false @STEAL4_32737
154@ = 3

:STEAL4_32737
goto @STEAL4_32801

:STEAL4_32744
goto @STEAL4_32801

:STEAL4_32751
153@ = 0
goto @STEAL4_32801

:STEAL4_32765
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_32794
154@ = 3
153@ = 0

:STEAL4_32794
goto @STEAL4_32801

:STEAL4_32801
switch_start 155@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @STEAL4_33023 {caseNum1} 0 {caseLabel1} @STEAL4_32864 {caseNum2} 1 {caseLabel2} @STEAL4_32917 {caseNum3} 2 {caseLabel3} @STEAL4_32970 {caseNum4} -1 {caseLabel4} @STEAL4_33044 {caseNum5} -1 {caseLabel5} @STEAL4_33044 {caseNum6} -1 {caseLabel6} @STEAL4_33044 {caseNum7} -1 {caseLabel7} @STEAL4_33044

:STEAL4_32864
set_lvar_text_label 183@s = 'STL4_CA'
set_lvar_int_to_constant 185@ = 37006
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_33044

:STEAL4_32917
set_lvar_text_label 183@s = 'STL4_CB'
set_lvar_int_to_constant 185@ = 37007
set_lvar_int_to_var_int 186@ = $stattreadstamina_ctr
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_33044

:STEAL4_32970
set_lvar_text_label 183@s = 'STL4_CC'
set_lvar_int_to_constant 185@ = 37008
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_33044

:STEAL4_33023
154@ = 3
gosub @STEAL4_35199
goto @STEAL4_33044

:STEAL4_33044
return 

:STEAL4_33046
switch_start 154@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @STEAL4_33217 {caseNum1} 0 {caseLabel1} @STEAL4_33109 {caseNum2} 1 {caseLabel2} @STEAL4_33130 {caseNum3} 2 {caseLabel3} @STEAL4_33160 {caseNum4} 3 {caseLabel4} @STEAL4_33167 {caseNum5} 4 {caseLabel5} @STEAL4_33181 {caseNum6} -1 {caseLabel6} @STEAL4_33217 {caseNum7} -1 {caseLabel7} @STEAL4_33217

:STEAL4_33109
188@ = 0
154@ = 1
goto @STEAL4_33217

:STEAL4_33130
if 
  Char.IsDead(68@)
goto_if_false @STEAL4_33153
154@ = 3

:STEAL4_33153
goto @STEAL4_33217

:STEAL4_33160
goto @STEAL4_33217

:STEAL4_33167
153@ = 0
goto @STEAL4_33217

:STEAL4_33181
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_33210
154@ = 3
153@ = 0

:STEAL4_33210
goto @STEAL4_33217

:STEAL4_33217
switch_start 155@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @STEAL4_33386 {caseNum1} 0 {caseLabel1} @STEAL4_33280 {caseNum2} 1 {caseLabel2} @STEAL4_33333 {caseNum3} -1 {caseLabel3} @STEAL4_33407 {caseNum4} -1 {caseLabel4} @STEAL4_33407 {caseNum5} -1 {caseLabel5} @STEAL4_33407 {caseNum6} -1 {caseLabel6} @STEAL4_33407 {caseNum7} -1 {caseLabel7} @STEAL4_33407

:STEAL4_33280
set_lvar_text_label 183@s = 'STL4_DA'
set_lvar_int_to_constant 185@ = 37009
set_lvar_int_to_var_int 186@ = $stattreadstamina_ctr
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_33407

:STEAL4_33333
set_lvar_text_label 183@s = 'STL4_DB'
set_lvar_int_to_constant 185@ = 37010
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_33407

:STEAL4_33386
154@ = 3
gosub @STEAL4_35199
goto @STEAL4_33407

:STEAL4_33407
return 

:STEAL4_33409
switch_start 154@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @STEAL4_33749 {caseNum1} 0 {caseLabel1} @STEAL4_33472 {caseNum2} 1 {caseLabel2} @STEAL4_33493 {caseNum3} 2 {caseLabel3} @STEAL4_33603 {caseNum4} 3 {caseLabel4} @STEAL4_33699 {caseNum5} 4 {caseLabel5} @STEAL4_33713 {caseNum6} -1 {caseLabel6} @STEAL4_33749 {caseNum7} -1 {caseLabel7} @STEAL4_33749

:STEAL4_33472
188@ = 0
154@ = 1
goto @STEAL4_33749

:STEAL4_33493
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @STEAL4_33523
154@ = 2
goto @STEAL4_33573

:STEAL4_33523
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_33573
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not Char.IsInCar(68@, $stealth_help_flag)
goto_if_false @STEAL4_33573
154@ = 2

:STEAL4_33573
if 
  Char.IsDead(68@)
goto_if_false @STEAL4_33596
154@ = 3

:STEAL4_33596
goto @STEAL4_33749

:STEAL4_33603
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @STEAL4_33669
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_33669
if 
  Char.IsInCar(68@, $stealth_help_flag)
goto_if_false @STEAL4_33669
154@ = 1

:STEAL4_33669
if 
  Char.IsDead(68@)
goto_if_false @STEAL4_33692
154@ = 3

:STEAL4_33692
goto @STEAL4_33749

:STEAL4_33699
153@ = 0
goto @STEAL4_33749

:STEAL4_33713
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_33742
154@ = 3
153@ = 0

:STEAL4_33742
goto @STEAL4_33749

:STEAL4_33749
switch_start 155@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @STEAL4_34024 {caseNum1} 0 {caseLabel1} @STEAL4_33812 {caseNum2} 1 {caseLabel2} @STEAL4_33865 {caseNum3} 2 {caseLabel3} @STEAL4_33918 {caseNum4} 3 {caseLabel4} @STEAL4_33971 {caseNum5} -1 {caseLabel5} @STEAL4_34045 {caseNum6} -1 {caseLabel6} @STEAL4_34045 {caseNum7} -1 {caseLabel7} @STEAL4_34045

:STEAL4_33812
set_lvar_text_label 183@s = 'STL4_LA'
set_lvar_int_to_constant 185@ = 37025
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_34045

:STEAL4_33865
set_lvar_text_label 183@s = 'STL4_LB'
set_lvar_int_to_constant 185@ = 37026
set_lvar_int_to_var_int 186@ = $stattreadstamina_ctr
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_34045

:STEAL4_33918
set_lvar_text_label 183@s = 'STL4_LC'
set_lvar_int_to_constant 185@ = 37027
set_lvar_int_to_var_int 186@ = $stattreadstamina_ctr
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_34045

:STEAL4_33971
set_lvar_text_label 183@s = 'STL4_LD'
set_lvar_int_to_constant 185@ = 37028
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_34045

:STEAL4_34024
154@ = 3
gosub @STEAL4_35199
goto @STEAL4_34045

:STEAL4_34045
return 

:STEAL4_34047
switch_start 154@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @STEAL4_34298 {caseNum1} 0 {caseLabel1} @STEAL4_34110 {caseNum2} 1 {caseLabel2} @STEAL4_34131 {caseNum3} 2 {caseLabel3} @STEAL4_34241 {caseNum4} 3 {caseLabel4} @STEAL4_34248 {caseNum5} 4 {caseLabel5} @STEAL4_34262 {caseNum6} -1 {caseLabel6} @STEAL4_34298 {caseNum7} -1 {caseLabel7} @STEAL4_34298

:STEAL4_34110
188@ = 0
154@ = 1
goto @STEAL4_34298

:STEAL4_34131
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @STEAL4_34161
154@ = 3
goto @STEAL4_34211

:STEAL4_34161
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_34211
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not Char.IsInCar(68@, $stealth_help_flag)
goto_if_false @STEAL4_34211
154@ = 3

:STEAL4_34211
if 
  Char.IsDead(68@)
goto_if_false @STEAL4_34234
154@ = 3

:STEAL4_34234
goto @STEAL4_34298

:STEAL4_34241
goto @STEAL4_34298

:STEAL4_34248
153@ = 0
goto @STEAL4_34298

:STEAL4_34262
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_34291
154@ = 3
153@ = 0

:STEAL4_34291
goto @STEAL4_34298

:STEAL4_34298
switch_start 155@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @STEAL4_34573 {caseNum1} 0 {caseLabel1} @STEAL4_34361 {caseNum2} 1 {caseLabel2} @STEAL4_34414 {caseNum3} 2 {caseLabel3} @STEAL4_34467 {caseNum4} 3 {caseLabel4} @STEAL4_34520 {caseNum5} -1 {caseLabel5} @STEAL4_34594 {caseNum6} -1 {caseLabel6} @STEAL4_34594 {caseNum7} -1 {caseLabel7} @STEAL4_34594

:STEAL4_34361
set_lvar_text_label 183@s = 'STL4_LA'
set_lvar_int_to_constant 185@ = 37025
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_34594

:STEAL4_34414
set_lvar_text_label 183@s = 'STL4_LB'
set_lvar_int_to_constant 185@ = 37026
set_lvar_int_to_var_int 186@ = $stattreadstamina_ctr
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_34594

:STEAL4_34467
set_lvar_text_label 183@s = 'STL4_LC'
set_lvar_int_to_constant 185@ = 37027
set_lvar_int_to_var_int 186@ = $stattreadstamina_ctr
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_34594

:STEAL4_34520
set_lvar_text_label 183@s = 'STL4_LD'
set_lvar_int_to_constant 185@ = 37028
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_34594

:STEAL4_34573
154@ = 3
gosub @STEAL4_35199
goto @STEAL4_34594

:STEAL4_34594
return 

:STEAL4_34596
switch_start 154@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @STEAL4_34847 {caseNum1} 0 {caseLabel1} @STEAL4_34659 {caseNum2} 1 {caseLabel2} @STEAL4_34680 {caseNum3} 2 {caseLabel3} @STEAL4_34790 {caseNum4} 3 {caseLabel4} @STEAL4_34797 {caseNum5} 4 {caseLabel5} @STEAL4_34811 {caseNum6} -1 {caseLabel6} @STEAL4_34847 {caseNum7} -1 {caseLabel7} @STEAL4_34847

:STEAL4_34659
188@ = 0
154@ = 1
goto @STEAL4_34847

:STEAL4_34680
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @STEAL4_34710
154@ = 3
goto @STEAL4_34760

:STEAL4_34710
if 
  not Char.IsDead(68@)
goto_if_false @STEAL4_34760
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not Char.IsInCar(68@, $stealth_help_flag)
goto_if_false @STEAL4_34760
154@ = 3

:STEAL4_34760
if 
  Char.IsDead(68@)
goto_if_false @STEAL4_34783
154@ = 3

:STEAL4_34783
goto @STEAL4_34847

:STEAL4_34790
goto @STEAL4_34847

:STEAL4_34797
153@ = 0
goto @STEAL4_34847

:STEAL4_34811
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_34840
154@ = 3
153@ = 0

:STEAL4_34840
goto @STEAL4_34847

:STEAL4_34847
switch_start 155@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @STEAL4_35122 {caseNum1} 0 {caseLabel1} @STEAL4_34910 {caseNum2} 1 {caseLabel2} @STEAL4_34963 {caseNum3} 2 {caseLabel3} @STEAL4_35016 {caseNum4} 3 {caseLabel4} @STEAL4_35069 {caseNum5} -1 {caseLabel5} @STEAL4_35143 {caseNum6} -1 {caseLabel6} @STEAL4_35143 {caseNum7} -1 {caseLabel7} @STEAL4_35143

:STEAL4_34910
set_lvar_text_label 183@s = 'STL4_MA'
set_lvar_int_to_constant 185@ = 37030
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_35143

:STEAL4_34963
set_lvar_text_label 183@s = 'STL4_MB'
set_lvar_int_to_constant 185@ = 37031
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_35143

:STEAL4_35016
set_lvar_text_label 183@s = 'STL4_MC'
set_lvar_int_to_constant 185@ = 37032
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_35143

:STEAL4_35069
set_lvar_text_label 183@s = 'STL4_MD'
set_lvar_int_to_constant 185@ = 37033
set_lvar_int_to_lvar_int 186@ = 68@
187@ = 0
gosub @STEAL4_35199
goto @STEAL4_35143

:STEAL4_35122
154@ = 3
gosub @STEAL4_35199
goto @STEAL4_35143

:STEAL4_35143
return 
if 
  153@ <> 0
goto_if_false @STEAL4_35170
154@ = 4

:STEAL4_35170
return 

:STEAL4_35172
if 
  153@ <> 0
goto_if_false @STEAL4_35197
154@ = 3

:STEAL4_35197
return 

:STEAL4_35199
if 
  154@ <> 3
goto_if_false @STEAL4_35552
switch_start 188@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @STEAL4_35545 {caseNum1} -1 {caseLabel1} @STEAL4_35280 {caseNum2} 0 {caseLabel2} @STEAL4_35311 {caseNum3} 1 {caseLabel3} @STEAL4_35352 {caseNum4} 2 {caseLabel4} @STEAL4_35395 {caseNum5} 3 {caseLabel5} @STEAL4_35470 {caseNum6} 4 {caseLabel6} @STEAL4_35506 {caseNum7} -1 {caseLabel7} @STEAL4_35545

:STEAL4_35280
186@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
goto @STEAL4_35545

:STEAL4_35311
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 185@)
if 
  not Char.IsDead(186@)
goto_if_false @STEAL4_35338

:STEAL4_35338
188@ += 1
goto @STEAL4_35545

:STEAL4_35352
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_35388
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(183@s, 3000, 1)
188@ += 1

:STEAL4_35388
goto @STEAL4_35545

:STEAL4_35395
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_35424
188@ += 1
goto @STEAL4_35463

:STEAL4_35424
if 
  Char.DoesExist(186@)
goto_if_false @STEAL4_35463
if 
  Char.IsDead(186@)
goto_if_false @STEAL4_35463
188@ += 1

:STEAL4_35463
goto @STEAL4_35545

:STEAL4_35470
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
if 
  not Char.IsDead(186@)
goto_if_false @STEAL4_35492

:STEAL4_35492
188@ += 1
goto @STEAL4_35545

:STEAL4_35506
if 
  154@ <> 2
goto_if_false @STEAL4_35538
155@ += 1
188@ = 0

:STEAL4_35538
goto @STEAL4_35545

:STEAL4_35545
goto @STEAL4_35609

:STEAL4_35552
if 
  188@ <> 0
goto_if_false @STEAL4_35574
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)

:STEAL4_35574
if 
  not Char.IsDead(186@)
goto_if_false @STEAL4_35590

:STEAL4_35590
Text.ClearThisPrint(183@s)
188@ = 0
155@ = 0

:STEAL4_35609
return 

:STEAL4_35611
switch_start 194@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @STEAL4_35969 {caseNum1} -1 {caseLabel1} @STEAL4_35674 {caseNum2} 0 {caseLabel2} @STEAL4_35705 {caseNum3} 1 {caseLabel3} @STEAL4_35753 {caseNum4} 2 {caseLabel4} @STEAL4_35853 {caseNum5} 3 {caseLabel5} @STEAL4_35928 {caseNum6} -1 {caseLabel6} @STEAL4_35969 {caseNum7} -1 {caseLabel7} @STEAL4_35969

:STEAL4_35674
192@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
goto @STEAL4_35969

:STEAL4_35705
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 191@)
if 
  not Char.IsDead(192@)
goto_if_false @STEAL4_35739
Char.DisableSpeech(192@, False)

:STEAL4_35739
194@ += 1
goto @STEAL4_35969

:STEAL4_35753
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_35846
if 
  not Char.IsDead(192@)
goto_if_false @STEAL4_35825
if 
  not Char.IsTalking(192@)
goto_if_false @STEAL4_35825
if 
  193@ == 1
goto_if_false @STEAL4_35825
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot1, 192@)

:STEAL4_35825
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(189@s, 10000, 1)
194@ += 1

:STEAL4_35846
goto @STEAL4_35969

:STEAL4_35853
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL4_35882
194@ += 1
goto @STEAL4_35921

:STEAL4_35882
if 
  Char.DoesExist(192@)
goto_if_false @STEAL4_35921
if 
  Char.IsDead(192@)
goto_if_false @STEAL4_35921
194@ += 1

:STEAL4_35921
goto @STEAL4_35969

:STEAL4_35928
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
if 
  not Char.IsDead(192@)
goto_if_false @STEAL4_35955
Char.EnableSpeech(192@)

:STEAL4_35955
194@ += 1
goto @STEAL4_35969

:STEAL4_35969
return 

//-------------Mission 70---------------
// Originally: Puncture Wounds

:STEAL5
script_name 'STEAL5'
gosub @STEAL5_47
if 
  has_deatharrest_been_executed 
goto_if_false @STEAL5_38
gosub @STEAL5_5099

:STEAL5_38
gosub @STEAL5_5195
terminate_this_script 

:STEAL5_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('STEAL5')
if 
  $weapon_shop1_blip == 0
goto_if_false @STEAL5_128
36@ = Object.Create(#TEMP_STINGER2, -2025.8, 169.2, 27.7)
40@ = Blip.AddForCoord(-2025.8, 169.2, 27.7)

:STEAL5_128
Text.ClearPrints
wait 0
41@ = 0
42@ = 0
43@ = 0
44@ = 0
45@ = 0
$fleet_destroyed_counter = 3
46@ = 0
47@ = 0
48@ = 0
49@ = 0
50@ = 0
79@ = 0.0
80@ = 0.0
81@ = 0.0
82@ = 0.0
83@ = 0.0
84@ = 0.0
85@ = 0.0
86@ = 0.0
87@ = 0.0
88@ = 0.0
51@ = 0
52@ = 0
53@ = 0
54@ = 0
73@ = 0
74@ = 0
75@ = 0
76@ = 0
77@ = 0
78@ = 0
Player.MakeGangDisappear
Streaming.SetAreaVisible(1)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
Streaming.LoadScene(-2031.0, 149.0, 29.0)
Cutscene.Load('STEAL_5')

:STEAL5_422
if 
  not Cutscene.HasLoaded
goto_if_false @STEAL5_446
wait 0
goto @STEAL5_422

:STEAL5_446
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:STEAL5_455
if 
  not Cutscene.HasFinished
goto_if_false @STEAL5_479
wait 0
goto @STEAL5_455

:STEAL5_479
Camera.DoFade(0, Fade.Out)

:STEAL5_485
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_509
wait 0
goto @STEAL5_485

:STEAL5_509
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Player.MakeGangReappear
Camera.SetFadingColor(0, 0, 0)
wait 0
Streaming.RequestModel(561)
Streaming.RequestModel(549)
Streaming.RequestModel(40)
Streaming.RequestModel(#TEMP_STINGER2)
Streaming.RequestModel(330)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1822)

:STEAL5_574
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @STEAL5_600
wait 0
goto @STEAL5_574

:STEAL5_600
Streaming.LoadAllModelsNow
World.ClearArea(-2025.8, 169.2, 27.7, 5.0, True)
set_lvar_int_to_constant 49@ = 549
gosub @STEAL5_7258
39@ = Car.Create(549, -2025.8, 169.2, 27.7)
World.ClearArea(-1913.5, -593.8, 36.9, 5.0, True)
set_lvar_int_to_constant 49@ = 561
gosub @STEAL5_7258
34@ = Car.Create(561, -1913.5, -593.8, 36.9)
Car.SetHeading(34@, 180.0)
Car.SetCanRespray(34@, False)
Car.SetCanGoAgainstTraffic(34@, True)
Car.LockDoors(34@, CarLock.LockoutPlayerOnly)
Car.SetLoadCollisionFlag(34@, False)
40@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(40@, False)
45@ = 1
Car.SetDrivingStyle(34@, DrivingMode.AvoidCars)
Car.SetOnlyDamagedByPlayer(34@, True)
StuckCarCheck.AddWithWarp(34@, 0.5, 4000, True, True, True, 7)
35@ = Char.CreateInsideCar(34@, PedType.CivFemale, 40)
Char.SetLoadCollisionFlag(35@, True)
Char.SetCanBeShotInVehicle(35@, False)
Hud.DisplayCounterWithString($fleet_destroyed_counter, CounterDisplay.Number, 'STE5_04')
Text.PrintNow('STE5_12', 7000, 1)
World.ClearArea(-2028.6, 162.9, 27.8, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2028.6, 162.9, 27.8)
Char.SetHeading($stattreadstamina_ctr, 336.6)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Garage.ChangeType('AMUMIS', GarageType.ForScriptToOpenAndClose)
Camera.DoFade(500, Fade.In)
TIMERB = 0

:STEAL5_971
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @STEAL5_997
goto @STEAL5_5117

:STEAL5_997
gosub @STEAL5_5303
if 
  44@ == 1
goto_if_false @STEAL5_1029
goto @STEAL5_5099

:STEAL5_1029
if 
  41@ == 0
goto_if_false @STEAL5_1072
if 
  47@ == 1
goto_if_false @STEAL5_1072
gosub @STEAL5_5405

:STEAL5_1072
if 
  41@ == 0
goto_if_false @STEAL5_1735
if 
  45@ == 1
goto_if_false @STEAL5_1191
if 
  not Char.IsInCar($stattreadstamina_ctr, 39@)
goto_if_false @STEAL5_1191
Blip.Remove(40@)
40@ = Blip.AddForCar(39@)
Blip.SetAsFriendly(40@, True)
if 
  TIMERB > 14000
goto_if_false @STEAL5_1182
Text.PrintNow('STE5_06', 4000, 1)

:STEAL5_1182
Text.ClearHelp
45@ = 0

:STEAL5_1191
if 
  45@ == 0
goto_if_false @STEAL5_1290
if 
  Char.IsInCar($stattreadstamina_ctr, 39@)
goto_if_false @STEAL5_1290
Blip.Remove(40@)
40@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(40@, False)
if 
  TIMERB > 14000
goto_if_false @STEAL5_1283
Text.PrintNow('STE5_07', 4000, 1)

:STEAL5_1283
45@ = 1

:STEAL5_1290
if 
  TIMERB > 14000
goto_if_false @STEAL5_1395
if 
  $fleet_destroyed_counter == 3
goto_if_false @STEAL5_1393
if 
  Char.IsInCar($stattreadstamina_ctr, 39@)
goto_if_false @STEAL5_1377
if 
  not Game.IsMinigameInProgress
goto_if_false @STEAL5_1370
Text.PrintHelpForever('STE5_03')

:STEAL5_1370
goto @STEAL5_1379

:STEAL5_1377
Text.ClearHelp

:STEAL5_1379
47@ = 1
goto @STEAL5_1395

:STEAL5_1393
Text.ClearHelp

:STEAL5_1395
if 
  $fleet_destroyed_counter == 0
goto_if_false @STEAL5_1457
if 
  TIMERA > 5000
goto_if_false @STEAL5_1457
Text.ClearPrints
Text.PrintNow('STE5_05', 4000, 1)
goto @STEAL5_5099

:STEAL5_1457
gosub @STEAL5_6321
gosub @STEAL5_6445
gosub @STEAL5_6500
if 
  42@ == 0
goto_if_false @STEAL5_1563
if 
  Char.IsInCar($stattreadstamina_ctr, 39@)
goto_if_false @STEAL5_1563
Text.PrintNow('STE5_01', 7000, 1)
Text.PrintWithNumber('STE5_02', 3, 7000, 1)
TIMERB = 0
42@ = 1

:STEAL5_1563
if 
  42@ == 1
goto_if_false @STEAL5_1735
if 
  Car.IsTireBurst(34@, 2)
goto_if_false @STEAL5_1735
Car.LockDoors(34@, CarLock.Unlocked)
StuckCarCheck.Remove(34@)
if 
  not Char.IsDead(35@)
goto_if_false @STEAL5_1735
89@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.SmartFleeChar(-1, $stattreadstamina_ctr, 100.0, 100000)
Sequence.Close(89@)
Char.PerformSequence(35@, 89@)
Sequence.Clear(89@)
Blip.Remove(40@)
40@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(40@, True)
Car.SetWatertight(34@, False)
Text.PrintNow('STE5_13', 7000, 1)
TIMERA = 0
42@ = 0
41@ = 1

:STEAL5_1735
if 
  41@ == 1
goto_if_false @STEAL5_2832
if 
  42@ == 0
goto_if_false @STEAL5_1832
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @STEAL5_1825
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 34@, 5.0, 5.0, False)
goto_if_false @STEAL5_1825
42@ = 1

:STEAL5_1825
gosub @STEAL5_5405

:STEAL5_1832
if 
  42@ == 1
goto_if_false @STEAL5_1956
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Text.ClearPrints
51@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.ShutAllCharsUp(True)
43@ = 1
skip_cutscene_start_internal @STEAL5_2403
Task.UseMobilePhone($stattreadstamina_ctr, True)
Text.ClearHelp
Hud.ClearCounter($fleet_destroyed_counter)
51@ = 3
53@ = 0
gosub @STEAL5_8489
TIMERA = 0
42@ = 2

:STEAL5_1956
if 
  42@ == 2
goto_if_false @STEAL5_2039
if 
  TIMERA > 2000
goto_if_false @STEAL5_2039
if 
  51@ == 0
goto_if_false @STEAL5_2039
51@ = 1
53@ = 0
gosub @STEAL5_8489
42@ = 3

:STEAL5_2039
if 
  42@ == 3
goto_if_false @STEAL5_2089
if 
  51@ == 0
goto_if_false @STEAL5_2089
Task.UseMobilePhone($stattreadstamina_ctr, False)
42@ = 4

:STEAL5_2089
if 
  42@ == 4
goto_if_false @STEAL5_2291
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1833)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @STEAL5_2291
89@ = Sequence.Open()
Task.GotoCar(-1, 34@, -2, 1.0)
Sequence.Close(89@)
Char.PerformSequence($stattreadstamina_ctr, 89@)
Sequence.Clear(89@)
Audio.SetMusicDoesFade(False)
Text.DrawSubtitlesBeforeFade(False)
Camera.DoFade(700, Fade.Out)

:STEAL5_2188
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_2212
wait 0
goto @STEAL5_2188

:STEAL5_2212
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 32000)

:STEAL5_2219
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @STEAL5_2245
wait 0
goto @STEAL5_2219

:STEAL5_2245
gosub @STEAL5_5303
if 
  44@ == 1
goto_if_false @STEAL5_2277
goto @STEAL5_5099

:STEAL5_2277
TIMERA = 0
42@ = 5

:STEAL5_2291
if 
  42@ == 5
goto_if_false @STEAL5_2360
if 
  TIMERA > 1000
goto_if_false @STEAL5_2360
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
51@ = 2
53@ = 0
gosub @STEAL5_8489
42@ = 6

:STEAL5_2360
if 
  42@ == 6
goto_if_false @STEAL5_2832
if 
  51@ == 0
goto_if_false @STEAL5_2832
43@ = 0

:STEAL5_2403
skip_cutscene_end 
gosub @STEAL5_5303
if 
  44@ == 1
goto_if_false @STEAL5_2437
goto @STEAL5_5099

:STEAL5_2437
Audio.SetMusicDoesFade(True)
Text.DrawSubtitlesBeforeFade(True)
if 
  43@ == 1
goto_if_false @STEAL5_2545
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
51@ = 0
Camera.DoFade(500, Fade.Out)

:STEAL5_2487
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_2511
wait 0
goto @STEAL5_2487

:STEAL5_2511
gosub @STEAL5_5303
if 
  44@ == 1
goto_if_false @STEAL5_2543
goto @STEAL5_5099

:STEAL5_2543
Text.ClearPrints

:STEAL5_2545
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.Delete(35@)
if 
  not Car.IsDead(34@)
goto_if_false @STEAL5_2618
Char.WarpIntoCar($stattreadstamina_ctr, 34@)
Car.SetOnlyDamagedByPlayer(34@, False)
Car.FixTire(34@, 2)
Car.FixTire(34@, 0)
Car.FixTire(34@, 1)
Car.FixTire(34@, 3)

:STEAL5_2618
Object.Delete(36@)
83@, 84@, 85@ = Char.GetCoordinates($stattreadstamina_ctr)
Streaming.LoadScene(83@, 84@, 85@)
Car.MarkAsNoLongerNeeded(39@)
Char.MarkAsNoLongerNeeded(35@)
Streaming.MarkModelAsNoLongerNeeded(549)
Streaming.MarkModelAsNoLongerNeeded(40)
Streaming.MarkModelAsNoLongerNeeded(#TEMP_STINGER2)
Car.SetOnlyDamagedByPlayer(34@, False)
Game.ShutAllCharsUp(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Blip.Remove(40@)
40@ = Blip.AddForCoord(-2026.9, 179.1, 27.5)
45@ = 1
Text.ClearPrints
Text.PrintNow('STE5_11', 7000, 1)
Camera.DoFade(500, Fade.In)

:STEAL5_2762
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_2786
wait 0
goto @STEAL5_2762

:STEAL5_2786
gosub @STEAL5_5303
if 
  44@ == 1
goto_if_false @STEAL5_2818
goto @STEAL5_5099

:STEAL5_2818
42@ = 0
41@ = 2

:STEAL5_2832
if 
  41@ == 2
goto_if_false @STEAL5_4228
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @STEAL5_2911
if 
  not Car.IsDead(34@)
goto_if_false @STEAL5_2911
Car.SetCoordinates(34@, -2011.8, 176.5, 26.6)
Car.SetHeading(34@, 97.7)

:STEAL5_2911
if 
  42@ == 0
goto_if_false @STEAL5_3383
if 
  not Car.IsDead(34@)
goto_if_false @STEAL5_3383
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @STEAL5_3383
if 
  Char.LocateInCar3D($stattreadstamina_ctr, -2033.1, 178.6, 27.8, 4.0, 4.0, 4.0, True)
goto_if_false @STEAL5_3383
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:STEAL5_3026
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_3050
wait 0
goto @STEAL5_3026

:STEAL5_3050
Streaming.SetAreaVisible(1)
Blip.Remove(40@)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
51@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
World.ClearArea(-2033.3, 179.1, 27.4, 25.0, True)
if 
  not Car.IsDead(34@)
goto_if_false @STEAL5_3178
Car.SetAreaVisible(34@, 1)
Car.SetCoordinates(34@, -2033.3, 179.1, 27.4)
Car.SetHeading(34@, 90.8)

:STEAL5_3178
Streaming.LoadSceneInDirection(-2048.1, 178.0, 28.8, 270.0)
Camera.SetFixedPosition(-2048.1, 178.0, 28.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2037.9, 178.8, 27.4, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:STEAL5_3258
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_3282
wait 0
goto @STEAL5_3258

:STEAL5_3282
Garage.Open('HBGDSFS')

:STEAL5_3293
if 
  not Garage.IsOpen('HBGDSFS')
goto_if_false @STEAL5_3326
wait 0
goto @STEAL5_3293

:STEAL5_3326
if 
  not Car.IsDead(34@)
goto_if_false @STEAL5_3376
Task.CarDriveToCoord($stattreadstamina_ctr, 34@, -2045.4, 178.3, 27.6, 10.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)

:STEAL5_3376
42@ = 1

:STEAL5_3383
if 
  42@ == 1
goto_if_false @STEAL5_3510
if 
  not Car.IsDead(34@)
goto_if_false @STEAL5_3510
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1489)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @STEAL5_3510
89@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, -2035.471, 176.6342, 27.8359, MoveState.Walk, -1)
Sequence.Close(89@)
Char.PerformSequence($stattreadstamina_ctr, 89@)
Sequence.Clear(89@)
TIMERA = 0
42@ = 2

:STEAL5_3510
if 
  42@ == 2
goto_if_false @STEAL5_4041
if 
  TIMERA > 2000
goto_if_false @STEAL5_4041
Camera.DoFade(500, Fade.Out)

:STEAL5_3554
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_3578
wait 0
goto @STEAL5_3554

:STEAL5_3578
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.LoadScene(-2045.4, 173.1, 27.8)
Streaming.LoadSceneInDirection(-2045.4, 173.1, 27.8, 309.5)
Text.ClearPrints
Char.ClearTasksImmediately($stattreadstamina_ctr)
Car.Delete(34@)
World.ClearArea(-2027.2, 179.5, 27.8, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2027.2, 179.5, 27.8)
Char.SetHeading($stattreadstamina_ctr, 275.9)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Garage.Close('HBGDSFS')

:STEAL5_3727
if 
  not Garage.IsClosed('HBGDSFS')
goto_if_false @STEAL5_3760
wait 0
goto @STEAL5_3727

:STEAL5_3760
$d5_best_scores = Pickup.CreateProtection(-1969.463, 289.5335, 34.6719, $blood_passed_once, $blood_passed_once)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Streaming.LoadScene(-1980.301, 288.1622, 38.2246)
Camera.SetFixedPosition(-1980.301, 288.1622, 38.2246, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1979.313, 288.0155, 38.1743, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:STEAL5_3872
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_3896
wait 0
goto @STEAL5_3872

:STEAL5_3896
Audio.PlayMissionPassedTune(1)
Text.PrintBig('ASS_ACQ', 5000, TextStyle.WhiteMiddleSmaller)
wait 5000
Camera.SetFixedPosition(-1972.185, 291.1454, 35.7724, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1971.343, 290.6249, 35.6284, SwitchType.JumpCut)
Text.PrintWithNumberNow('ASS_LUV', $blood_passed_once, 6000, 1)
wait 6000
Camera.DoFade(500, Fade.Out)

:STEAL5_4003
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_4027
wait 0
goto @STEAL5_4003

:STEAL5_4027
Camera.DoFade(500, Fade.In)
goto @STEAL5_5117

:STEAL5_4041
if 
  45@ == 1
goto_if_false @STEAL5_4123
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @STEAL5_4123
Blip.Remove(40@)
40@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(40@, True)
Text.ClearPrints
Text.PrintNow('STE5_08', 4000, 1)
45@ = 0

:STEAL5_4123
if 
  45@ == 0
goto_if_false @STEAL5_4228
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @STEAL5_4228
Blip.Remove(40@)
if 
  42@ == 0
goto_if_false @STEAL5_4203
40@ = Blip.AddForCoord(-2033.1, 178.6, 27.8)

:STEAL5_4203
Text.ClearPrints
Text.PrintNow('STE5_11', 7000, 1)
45@ = 1

:STEAL5_4228
if 
  41@ == 10
goto_if_false @STEAL5_5085
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @STEAL5_4788
if 
  50@ == 0
goto_if_false @STEAL5_4788
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:STEAL5_4298
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_4322
wait 0
goto @STEAL5_4298

:STEAL5_4322
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
51@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
World.ClearArea(-2125.5, -2467.5, 29.6, 1.0, True)
86@, 87@, 88@ = Char.GetCoordinates($stattreadstamina_ctr)
Streaming.RequestCollision(-2125.5, -2467.5)
Streaming.LoadScene(-2125.5, -2467.5, 29.6)
Char.SetCoordinates($stattreadstamina_ctr, -2125.5, -2467.5, 29.6)
if 
  not Char.IsDead(35@)
goto_if_false @STEAL5_4467
Char.ClearTasks(35@)

:STEAL5_4467
Streaming.RequestCollision(-2117.8, -2456.8)
Streaming.LoadScene(-2115.6, -2456.5, 30.6)
Streaming.LoadAllModelsNow
if 
  not Car.IsDead(34@)
goto_if_false @STEAL5_4573
StuckCarCheck.Remove(34@)
World.ClearArea(-2117.8, -2456.8, 29.3, 30.0, True)
Car.SetCoordinates(34@, -2117.8, -2456.8, 29.3)
Car.SetHeading(34@, 233.8)

:STEAL5_4573
Camera.SetFixedPosition(-2106.0, -2465.7, 30.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2112.2, -2461.1, 29.6, SwitchType.JumpCut)
Text.PrintNow('STE5_14', 5000, 1)
Camera.DoFade(500, Fade.In)

:STEAL5_4647
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_4671
wait 0
goto @STEAL5_4647

:STEAL5_4671
Garage.Open('AMUMIS')

:STEAL5_4682
if 
  not Garage.IsOpen('AMUMIS')
goto_if_false @STEAL5_4715
wait 0
goto @STEAL5_4682

:STEAL5_4715
if 
  not Char.IsDead(35@)
goto_if_false @STEAL5_4781
if 
  not Car.IsDead(34@)
goto_if_false @STEAL5_4781
Task.CarDriveToCoord(35@, 34@, -2108.0, -2464.2, 29.6, 10.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)

:STEAL5_4781
50@ = 1

:STEAL5_4788
if 
  50@ == 1
goto_if_false @STEAL5_5085
if 
  not Char.IsDead(35@)
goto_if_false @STEAL5_5085
$chickY = Char.GetScriptTaskStatus(35@, 1489)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @STEAL5_5085
Garage.Close('AMUMIS')

:STEAL5_4862
if 
  not Garage.IsClosed('AMUMIS')
goto_if_false @STEAL5_4895
wait 0
goto @STEAL5_4862

:STEAL5_4895
Camera.DoFade(500, Fade.Out)

:STEAL5_4902
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_4926
wait 0
goto @STEAL5_4902

:STEAL5_4926
Streaming.RequestCollision(86@, 87@)
88@ -= 1.0
Streaming.LoadScene(86@, 87@, 88@)
Streaming.LoadAllModelsNow
World.ClearArea(86@, 87@, 88@, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 86@, 87@, 88@)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.ClearPrints
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Text.PrintNow('STE5_14', 5500, 1)
Camera.DoFade(500, Fade.In)

:STEAL5_5054
if 
  Camera.GetFadingStatus
goto_if_false @STEAL5_5078
wait 0
goto @STEAL5_5054

:STEAL5_5078
goto @STEAL5_5099

:STEAL5_5085
gosub @STEAL5_8785
goto @STEAL5_971

:STEAL5_5099
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:STEAL5_5117
$garageY += 1
Blip.Remove($529)
CarGenerator.Switch($2798, 101)
Text.ClearPrints
Text.PrintWithNumberBig('M_PASSS', 5000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 5000)
Stat.AwardPlayerMissionRespect(5)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('STEAL_5')
Stat.PlayerMadeProgress(1)
return 

:STEAL5_5195
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @STEAL5_5213
Camera.RestoreJumpcut

:STEAL5_5213
Audio.SetMusicDoesFade(True)
Blip.Remove(40@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Hud.ClearCounter($fleet_destroyed_counter)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @STEAL5_5254
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:STEAL5_5254
Game.ShutAllCharsUp(False)
Object.Delete(36@)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(561)
Streaming.MarkModelAsNoLongerNeeded(549)
Streaming.MarkModelAsNoLongerNeeded(40)
Streaming.MarkModelAsNoLongerNeeded(#TEMP_STINGER2)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:STEAL5_5303
if 
  Car.IsDead(34@)
goto_if_false @STEAL5_5344
Text.ClearPrints
Text.PrintNow('STE5_09', 4000, 1)
44@ = 1

:STEAL5_5344
if 
  41@ == 0
goto_if_false @STEAL5_5403
if 
  Car.IsDead(39@)
goto_if_false @STEAL5_5403
Text.ClearPrints
Text.PrintNow('STE5_10', 7000, 1)
44@ = 1

:STEAL5_5403
return 

:STEAL5_5405
if 
  not Car.IsDead(39@)
goto_if_false @STEAL5_5652
if 
  Char.IsInCar($stattreadstamina_ctr, 39@)
goto_if_false @STEAL5_5652
if 
  TIMERA > 5000
goto_if_false @STEAL5_5632
if 
  $fleet_destroyed_counter > 0
goto_if_false @STEAL5_5627
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @STEAL5_5620
Object.Delete(36@)
83@, 84@, 85@ = Car.GetOffsetInWorldCoords(39@, 0.0, -3.0, -0.5)
$on_footX = Car.GetHeading(39@)
$on_footX += 90.0
85@ = World.GetGroundZFor3DCoord(83@, 84@, 85@)
36@ = Object.Create(#TEMP_STINGER2, 83@, 84@, 85@)
Object.SetHeading(36@, $on_footX)
Audio.ReportMissionAudioEventAtPosition(83@, 84@, 85@, 1125)
78@ = 1
$fleet_destroyed_counter -= 1
TIMERA = 0

:STEAL5_5620
goto @STEAL5_5632

:STEAL5_5627
Hud.ClearCounter($fleet_destroyed_counter)

:STEAL5_5632
if 
  $fleet_destroyed_counter <> 3
goto_if_false @STEAL5_5652
Text.ClearHelp

:STEAL5_5652
if 
  78@ == 1
goto_if_false @STEAL5_5735
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @STEAL5_5735
83@, 84@, 85@ = Car.GetOffsetInWorldCoords(39@, 0.0, -3.0, -0.5)
Audio.ReportMissionAudioEventAtPosition(83@, 84@, 85@, 1104)
78@ = 2

:STEAL5_5735
if 
  Object.DoesExist(36@)
goto_if_false @STEAL5_6297
79@, 81@, 85@ = Object.GetOffsetInWorldCoords(36@, -0.5, 2.5, 0.0)
80@, 82@, 85@ = Object.GetOffsetInWorldCoords(36@, -0.5, -2.5, 0.0)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @STEAL5_5968
38@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 79@, 81@, 80@, 82@, 1.0, False)
goto_if_false @STEAL5_5968
if 
  not Car.IsTireBurst(38@, 2)
goto_if_false @STEAL5_5893
Car.BurstTire(38@, 2)

:STEAL5_5893
if 
  not Car.IsTireBurst(38@, 0)
goto_if_false @STEAL5_5918
Car.BurstTire(38@, 0)

:STEAL5_5918
if 
  not Car.IsTireBurst(38@, 1)
goto_if_false @STEAL5_5943
Car.BurstTire(38@, 1)

:STEAL5_5943
if 
  not Car.IsTireBurst(38@, 3)
goto_if_false @STEAL5_5968
Car.BurstTire(38@, 3)

:STEAL5_5968
if 
  not Char.IsDead(35@)
goto_if_false @STEAL5_6119
if 
  Char.IsInAngledAreaInCar2D(35@, 79@, 81@, 80@, 82@, 1.0, False)
goto_if_false @STEAL5_6119
if 
  not Car.IsTireBurst(34@, 2)
goto_if_false @STEAL5_6044
Car.BurstTire(34@, 2)

:STEAL5_6044
if 
  not Car.IsTireBurst(34@, 0)
goto_if_false @STEAL5_6069
Car.BurstTire(34@, 0)

:STEAL5_6069
if 
  not Car.IsTireBurst(34@, 1)
goto_if_false @STEAL5_6094
Car.BurstTire(34@, 1)

:STEAL5_6094
if 
  not Car.IsTireBurst(34@, 3)
goto_if_false @STEAL5_6119
Car.BurstTire(34@, 3)

:STEAL5_6119
37@ = World.GetRandomCarOfTypeInAngledAreaNoSave(79@, 81@, 80@, 82@, 1.0, -1)
if 
  not Car.IsDead(37@)
goto_if_false @STEAL5_6297
if 
  not is_int_lvar_equal_to_int_lvar 37@ == 34@
goto_if_false @STEAL5_6297
if 
  not is_int_lvar_equal_to_int_lvar 37@ == 39@
goto_if_false @STEAL5_6297
if 
  not Car.IsTireBurst(37@, 2)
goto_if_false @STEAL5_6222
Car.BurstTire(37@, 2)

:STEAL5_6222
if 
  not Car.IsTireBurst(37@, 0)
goto_if_false @STEAL5_6247
Car.BurstTire(37@, 0)

:STEAL5_6247
if 
  not Car.IsTireBurst(37@, 1)
goto_if_false @STEAL5_6272
Car.BurstTire(37@, 1)

:STEAL5_6272
if 
  not Car.IsTireBurst(37@, 3)
goto_if_false @STEAL5_6297
Car.BurstTire(37@, 3)

:STEAL5_6297
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @STEAL5_6319
Car.BurstTire(34@, 2)

:STEAL5_6319
return 

:STEAL5_6321
if 
  not Car.IsDead(34@)
goto_if_false @STEAL5_6443
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 34@, 60.0, 60.0, False)
goto_if_false @STEAL5_6385
Car.SetCruiseSpeed(34@, 50.0)
goto @STEAL5_6443

:STEAL5_6385
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 34@, 100.0, 100.0, False)
goto_if_false @STEAL5_6433
Car.SetCruiseSpeed(34@, 20.0)
goto @STEAL5_6443

:STEAL5_6433
Car.SetCruiseSpeed(34@, 15.0)

:STEAL5_6443
return 

:STEAL5_6445
if 
  not Car.IsDead(34@)
goto_if_false @STEAL5_6498
if 
  Car.IsOnScreen(34@)
goto_if_false @STEAL5_6491
Car.SetWatertight(34@, False)
goto @STEAL5_6498

:STEAL5_6491
Car.SetWatertight(34@, True)

:STEAL5_6498
return 

:STEAL5_6500
if 
  not Char.IsDead(35@)
goto_if_false @STEAL5_7256
if 
  Char.IsInCar(35@, 34@)
goto_if_false @STEAL5_7256
if 
  46@ == 0
goto_if_false @STEAL5_6847
89@ = Sequence.Open()
Task.CarDriveToCoord(-1, 34@, -1913.1, -593.8, 38.3, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -1912.6, -744.7, 44.7, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -1914.2, -894.9, 45.0, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -1914.3, -1045.0, 38.3, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -1907.9, -1195.2, 39.5, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -1910.7, -1345.3, 40.4, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -1795.1, -1442.4, 35.5, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -1658.5, -1506.1, 35.7, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Sequence.Close(89@)
Char.PerformSequence(35@, 89@)
Sequence.Clear(89@)
46@ = 1

:STEAL5_6847
if 
  46@ == 1
goto_if_false @STEAL5_7188
$chickY = Char.GetScriptTaskStatus(35@, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @STEAL5_7188
89@ = Sequence.Open()
Task.CarDriveToCoord(-1, 34@, -1704.1, -1649.1, 36.3, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -1832.4, -1727.6, 29.2, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -1954.5, -1815.3, 34.4, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -2046.9, -1932.7, 52.4, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -2106.8, -2070.0, 63.5, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -2213.2, -2175.1, 42.2, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -2160.4, -2315.1, 30.5, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(-1, 34@, -2120.2, -2456.7, 29.6, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Sequence.Close(89@)
Char.PerformSequence(35@, 89@)
Sequence.Clear(89@)
46@ = 2

:STEAL5_7188
if 
  46@ == 2
goto_if_false @STEAL5_7256
$chickY = Char.GetScriptTaskStatus(35@, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @STEAL5_7256
50@ = 0
41@ = 10
46@ = 3

:STEAL5_7256
return 

:STEAL5_7258
48@ = Math.RandomIntInRange(1, 37)
if 
  48@ == 1
goto_if_false @STEAL5_7300
Car.CustomPlateForNextCar(49@, "GOT_M00_")

:STEAL5_7300
if 
  48@ == 2
goto_if_false @STEAL5_7333
Car.CustomPlateForNextCar(49@, "M00TV_4U")

:STEAL5_7333
if 
  48@ == 3
goto_if_false @STEAL5_7366
Car.CustomPlateForNextCar(49@, "MATHEW_2")

:STEAL5_7366
if 
  48@ == 4
goto_if_false @STEAL5_7399
Car.CustomPlateForNextCar(49@, "D4_DEW0R")

:STEAL5_7399
if 
  48@ == 5
goto_if_false @STEAL5_7432
Car.CustomPlateForNextCar(49@, "D0DE_777")

:STEAL5_7432
if 
  48@ == 6
goto_if_false @STEAL5_7465
Car.CustomPlateForNextCar(49@, "DAM0_666")

:STEAL5_7465
if 
  48@ == 7
goto_if_false @STEAL5_7498
Car.CustomPlateForNextCar(49@, "C0NEY_88")

:STEAL5_7498
if 
  48@ == 8
goto_if_false @STEAL5_7531
Car.CustomPlateForNextCar(49@, "PRE4CHER")

:STEAL5_7531
if 
  48@ == 9
goto_if_false @STEAL5_7564
Car.CustomPlateForNextCar(49@, "DBP_4NDY")

:STEAL5_7564
if 
  48@ == 10
goto_if_false @STEAL5_7597
Car.CustomPlateForNextCar(49@, "EV1L_SLY")

:STEAL5_7597
if 
  48@ == 11
goto_if_false @STEAL5_7630
Car.CustomPlateForNextCar(49@, "N1_R4V3N")

:STEAL5_7630
if 
  48@ == 12
goto_if_false @STEAL5_7663
Car.CustomPlateForNextCar(49@, "D1VX_Z00")

:STEAL5_7663
if 
  48@ == 13
goto_if_false @STEAL5_7695
Car.CustomPlateForNextCar(49@, "MR_B3NN")

:STEAL5_7695
if 
  48@ == 14
goto_if_false @STEAL5_7728
Car.CustomPlateForNextCar(49@, "R3D_R4SP")

:STEAL5_7728
if 
  48@ == 15
goto_if_false @STEAL5_7761
Car.CustomPlateForNextCar(49@, "LA_B0MBA")

:STEAL5_7761
if 
  48@ == 16
goto_if_false @STEAL5_7794
Car.CustomPlateForNextCar(49@, "L3337_0G")

:STEAL5_7794
if 
  48@ == 17
goto_if_false @STEAL5_7827
Car.CustomPlateForNextCar(49@, "BUDD4H_X")

:STEAL5_7827
if 
  48@ == 18
goto_if_false @STEAL5_7860
Car.CustomPlateForNextCar(49@, "T3H_BUCK")

:STEAL5_7860
if 
  48@ == 19
goto_if_false @STEAL5_7893
Car.CustomPlateForNextCar(49@, "CHUNKY_1")

:STEAL5_7893
if 
  48@ == 20
goto_if_false @STEAL5_7926
Car.CustomPlateForNextCar(49@, "EV1L_BNZ")

:STEAL5_7926
if 
  48@ == 21
goto_if_false @STEAL5_7959
Car.CustomPlateForNextCar(49@, "S4ND_M4N")

:STEAL5_7959
if 
  48@ == 22
goto_if_false @STEAL5_7992
Car.CustomPlateForNextCar(49@, "RKK_DBP1")

:STEAL5_7992
if 
  48@ == 23
goto_if_false @STEAL5_8025
Car.CustomPlateForNextCar(49@, "RE1_K0KU")

:STEAL5_8025
if 
  48@ == 24
goto_if_false @STEAL5_8058
Car.CustomPlateForNextCar(49@, "S3XY_JUD")

:STEAL5_8058
if 
  48@ == 25
goto_if_false @STEAL5_8091
Car.CustomPlateForNextCar(49@, "SUNRA_93")

:STEAL5_8091
if 
  48@ == 26
goto_if_false @STEAL5_8124
Car.CustomPlateForNextCar(49@, "UG_FUX69")

:STEAL5_8124
if 
  48@ == 27
goto_if_false @STEAL5_8157
Car.CustomPlateForNextCar(49@, "LI0N_CUM")

:STEAL5_8157
if 
  48@ == 28
goto_if_false @STEAL5_8190
Car.CustomPlateForNextCar(49@, "RKK_PWND")

:STEAL5_8190
if 
  48@ == 29
goto_if_false @STEAL5_8223
Car.CustomPlateForNextCar(49@, "HAZE_B0B")

:STEAL5_8223
if 
  48@ == 30
goto_if_false @STEAL5_8256
Car.CustomPlateForNextCar(49@, "T3H_FLUF")

:STEAL5_8256
if 
  48@ == 31
goto_if_false @STEAL5_8289
Car.CustomPlateForNextCar(49@, "BM_4NDY_")

:STEAL5_8289
if 
  48@ == 32
goto_if_false @STEAL5_8322
Car.CustomPlateForNextCar(49@, "BM_D34N_")

:STEAL5_8322
if 
  48@ == 33
goto_if_false @STEAL5_8355
Car.CustomPlateForNextCar(49@, "BM_L4C3Y")

:STEAL5_8355
if 
  48@ == 34
goto_if_false @STEAL5_8388
Car.CustomPlateForNextCar(49@, "BM_D3V__")

:STEAL5_8388
if 
  48@ == 35
goto_if_false @STEAL5_8421
Car.CustomPlateForNextCar(49@, "NU_SK00L")

:STEAL5_8421
if 
  48@ == 36
goto_if_false @STEAL5_8454
Car.CustomPlateForNextCar(49@, "G4L_AVET")

:STEAL5_8454
if 
  48@ == 37
goto_if_false @STEAL5_8487
Car.CustomPlateForNextCar(49@, "M0J0_J0J")

:STEAL5_8487
return 

:STEAL5_8489
if 
  51@ == 1
goto_if_false @STEAL5_8634
set_lvar_text_label 55@s = 'STL5_AA'
set_lvar_text_label 57@s = 'STL5_AB'
set_lvar_text_label 59@s = 'STL5_AC'
set_lvar_text_label 61@s = 'STL5_AD'
set_lvar_text_label 63@s = 'STL5_AE'
set_lvar_int_to_constant 67@ = 37200
set_lvar_int_to_constant 68@ = 37201
set_lvar_int_to_constant 69@ = 37202
set_lvar_int_to_constant 70@ = 37203
set_lvar_int_to_constant 71@ = 37204
73@ = 5

:STEAL5_8634
if 
  51@ == 2
goto_if_false @STEAL5_8707
set_lvar_text_label 55@s = 'STL5_AF'
set_lvar_text_label 57@s = 'STL5_AG'
set_lvar_int_to_constant 67@ = 37205
set_lvar_int_to_constant 68@ = 37206
73@ = 2

:STEAL5_8707
if 
  51@ == 3
goto_if_false @STEAL5_8754
set_lvar_text_label 55@s = 'MOBRING'
set_lvar_int_to_constant 67@ = 23000
73@ = 1

:STEAL5_8754
set_lvar_int_to_lvar_int 76@ = 53@
74@ = 0
75@ = 0
77@ = 1
return 

:STEAL5_8785
if or
  51@ == 1
  51@ == 2
  51@ == 3
goto_if_false @STEAL5_8871
if 
  is_int_lvar_greater_than_int_lvar 73@ > 53@
goto_if_false @STEAL5_8864
gosub @STEAL5_8873
gosub @STEAL5_8980
gosub @STEAL5_9134
goto @STEAL5_8871

:STEAL5_8864
51@ = 0

:STEAL5_8871
return 

:STEAL5_8873
if 
  is_int_lvar_greater_than_int_lvar 73@ > 76@
goto_if_false @STEAL5_8978
if 
  74@ == 0
goto_if_false @STEAL5_8935
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 67@(76@,6i))
76@ += 1
74@ = 1

:STEAL5_8935
if 
  75@ == 0
goto_if_false @STEAL5_8978
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 67@(76@,6i))
76@ += 1
75@ = 1

:STEAL5_8978
return 

:STEAL5_8980
if 
  77@ == 1
goto_if_false @STEAL5_9056
if 
  74@ == 1
goto_if_false @STEAL5_9056
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @STEAL5_9056
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(55@(53@,6s), 4500, 1)
74@ = 2

:STEAL5_9056
if 
  77@ == 2
goto_if_false @STEAL5_9132
if 
  75@ == 1
goto_if_false @STEAL5_9132
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @STEAL5_9132
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(55@(53@,6s), 4500, 1)
75@ = 2

:STEAL5_9132
return 

:STEAL5_9134
if 
  74@ == 2
goto_if_false @STEAL5_9197
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @STEAL5_9197
Text.ClearThisPrint(55@(53@,6s))
53@ += 1
77@ = 2
74@ = 0

:STEAL5_9197
if 
  75@ == 2
goto_if_false @STEAL5_9260
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @STEAL5_9260
Text.ClearThisPrint(55@(53@,6s))
53@ += 1
77@ = 1
75@ = 0

:STEAL5_9260
return 

//-------------Mission 71---------------
// Originally: Back to School

:DSKOOL
script_name 'DSKOOL'
gosub @DSKOOL_47
if 
  has_deatharrest_been_executed 
goto_if_false @DSKOOL_38
gosub @DSKOOL_26200

:DSKOOL_38
gosub @DSKOOL_26366
terminate_this_script 

:DSKOOL_47
$weapon_shop1_blip = 1
if 
  $flag_kickstart_passed_1stime == 0
goto_if_false @DSKOOL_74
Stat.RegisterMissionGiven

:DSKOOL_74
Text.LoadMissionText('DS')
if 
  $weapon_shop1_blip == 0
goto_if_false @DSKOOL_291
$202 = Car.Create(429, $circle_start_y, $cone_coords_x, $dummy_car1_health)
$trafficcone_counter = Car.Create(429, $circle_start_y, $cone_coords_x, $dummy_car1_health)
$trafficcones = Car.Create(429, $circle_start_y, $cone_coords_x, $dummy_car1_health)
$205[20] = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 100.0)
$205[30] = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 100.0)
57@ = Object.Create(#AD_JUMP, $circle_start_y, $cone_coords_x, $dummy_car1_health)
58@ = Object.Create(#AD_JUMP, $circle_start_y, $cone_coords_x, $dummy_car1_health)
59@ = Object.Create(#AD_JUMP, $circle_start_y, $cone_coords_x, $dummy_car1_health)
55@ = Char.CreateRandom(0.0, 0.0, 100.0)
56@ = Char.CreateRandom(0.0, 0.0, 100.0)

:DSKOOL_291
Camera.SetFadingColor(0, 0, 0)
Text.ClearPrints
Text.ClearThisPrintBigNow(TextStyle.Middle)
wait 0
Camera.DoFade(500, Fade.Out)

:DSKOOL_316
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_340
wait 0
goto @DSKOOL_316

:DSKOOL_340
34@ = 0
39@ = 0
43@ = 0
44@ = 0
54@ = 0
45@ = 0
46@ = 0
47@ = 0
48@ = 0
$instructor_car_heading = 1
50@ = 1
$area_check1bx = -2050.6
$area_check1by = -130.0
$camera_positiony = -2031.2
$camera_positionz = -118.0
$camera_position_int = 1034.2
61@ = 0
62@ = 0
63@ = 0
64@ = 0
86@ = 0
87@ = 0
88@ = 0
89@ = 0
90@ = 0
60@ = 0
49@ = DecisionMakerChar.Copy(65542)
Streaming.RequestModel(411)
Streaming.RequestModel(496)
Streaming.RequestModel(429)
Streaming.RequestModel(597)
Streaming.RequestModel(281)
Streaming.RequestModel(#TRAFFICCONE)
Streaming.RequestModel(#TEMP_STINGER2)
Streaming.RequestModel(#GARYS_LUV_RAMP)
Streaming.RequestModel(#AD_JUMP)
Streaming.RequestModel(#AD_ROADMARK1)
Streaming.RequestModel(#AD_ROADMARK2)
Streaming.RequestModel(#AD_FINISH)
Streaming.RequestModel(420)
Streaming.RequestModel(506)
Txd.LoadDictionary('LD_DRV')
Txd.LoadSprite(1, "BRONZE")
Txd.LoadSprite(2, "SILVER")
Txd.LoadSprite(3, "GOLD")
Txd.LoadSprite(4, "RIBB")
Txd.LoadSprite(5, "TVCORN")
Txd.LoadSprite(6, "NAWARD")
Txd.LoadSprite(7, "RIBBW")
Txd.LoadSprite(8, "BLKDOT")
Txd.LoadSprite(9, "TVBASE")
Txd.LoadSprite(10, "NAWTXT")
Streaming.LoadAllModelsNow
Streaming.LoadScene(-2031.1, -118.2, 1034.2)
Text.ClearThisBigPrint('FAR_1')
Game.EnableAmbientCrime(False)
Path.SwitchRoadsOff(-2015.37, -76.08, 10.0, -2078.3, -66.75, 50.0)
Player.ClearWantedLevel($statbike_temp)
Garage.Deactivate('BODLAWN')
Garage.Deactivate('MODLAST')
Garage.Deactivate('MDSSFSE')
if 
  $para_flare_Vz == 1
goto_if_false @DSKOOL_887
Garage.Deactivate('MDS1SFS')
Garage.Deactivate('VECMOD')

:DSKOOL_887
Game.SetNoResprays(True)
if 
  $5191 == 0
goto_if_false @DSKOOL_1425

:DSKOOL_909
if 
  $5191 == 0
goto_if_false @DSKOOL_1425
wait 0
if 
  39@ == 0
goto_if_false @DSKOOL_1228
$trigger_final_LA1_missions = 1
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.SetCoordinates($stattreadstamina_ctr, -2031.7, -116.4, 1034.2)
Char.SetHeading($stattreadstamina_ctr, 86.9)
Streaming.RequestModel(50)
Streaming.LoadAllModelsNow
World.ClearArea(-2033.2, -116.5, 1034.2, 30.0, True)
91@ = Char.Create(PedType.Mission1, 50, -2033.2, -116.5, 1034.2)
Char.ShutUpForScriptedSpeech(91@, True)
Char.SetDecisionMaker(91@, 49@)
Char.SetHeading(91@, 270.0)
Char.SetNeverTargeted(91@, True)
Char.SetKeepTask(91@, True)
Task.StandStill(91@, -2)
Camera.SetFixedPosition(-2030.7, -115.8, 1035.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2033.9, -116.1, 1035.7, SwitchType.JumpCut)
61@ = 1
62@ = 0
gosub @DSKOOL_47998
if 
  not Char.IsDead(91@)
goto_if_false @DSKOOL_1200
Char.StartFacialTalk(91@, 20000)

:DSKOOL_1200
Camera.DoFade(1000, Fade.In)
skip_cutscene_start_internal @DSKOOL_1264
TIMERA = 0
39@ = 1

:DSKOOL_1228
if 
  39@ == 1
goto_if_false @DSKOOL_1411
if 
  61@ == 0
goto_if_false @DSKOOL_1411

:DSKOOL_1264
skip_cutscene_end 
if 
  not Char.IsDead(91@)
goto_if_false @DSKOOL_1287
Char.StopFacialTalk(91@)

:DSKOOL_1287
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
61@ = 0
Camera.DoFade(500, Fade.Out)

:DSKOOL_1311
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_1335
wait 0
goto @DSKOOL_1311

:DSKOOL_1335
Text.ClearPrints
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
39@ = 0
$5191 = 1
Camera.DoFade(500, Fade.In)

:DSKOOL_1380
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_1404
wait 0
goto @DSKOOL_1380

:DSKOOL_1404
goto @DSKOOL_26200

:DSKOOL_1411
gosub @DSKOOL_47903
goto @DSKOOL_909

:DSKOOL_1425
Player.SetControl($statbike_temp, False)
Text.ClearHelp
Text.ClearPrints
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
gosub @DSKOOL_31797
34@ = 0
39@ = 0
Text.UseCommands(True)
44@ = 255
43@ = 2
if 
  17 > $trigger_final_LA1_missions
goto_if_false @DSKOOL_1516
set_var_int_to_lvar_int $instructor_car_heading = 50@

:DSKOOL_1516
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_1541
$instructor_car_heading = 4

:DSKOOL_1541
if 
  $instructor_car_heading == 6
goto_if_false @DSKOOL_1566
$instructor_car_heading = 7

:DSKOOL_1566
if 
  $instructor_car_heading == 8
goto_if_false @DSKOOL_1591
$instructor_car_heading = 9

:DSKOOL_1591
if 
  $instructor_car_heading == 12
goto_if_false @DSKOOL_1616
$instructor_car_heading = 13

:DSKOOL_1616
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Char.SetCoordinates($stattreadstamina_ctr, -2035.4, -119.1, 33.2)
Streaming.LoadScene(-2035.4, -119.1, 33.2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 3800)

:DSKOOL_1671
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DSKOOL_1697
wait 0
goto @DSKOOL_1671

:DSKOOL_1697
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
World.ClearExtraColors(False)
Hud.Display(False)
Hud.DisplayRadar(False)
Camera.DoFade(500, Fade.In)
gosub @DSKOOL_27402

:DSKOOL_1727
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_1758
wait 0
gosub @DSKOOL_27402
goto @DSKOOL_1727

:DSKOOL_1758
gosub @DSKOOL_27402

:DSKOOL_1765
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DSKOOL_1791
goto @DSKOOL_26243

:DSKOOL_1791
gosub @DSKOOL_27402
if 
  39@ == 0
goto_if_false @DSKOOL_2877
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  -100 > $been_in_a_bmx
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @DSKOOL_2113
50@ -= 1
$instructor_car_heading -= 1
if 
  50@ == 3
goto_if_false @DSKOOL_1895
50@ = 2

:DSKOOL_1895
if 
  50@ == 6
goto_if_false @DSKOOL_1920
50@ = 5

:DSKOOL_1920
if 
  50@ == 8
goto_if_false @DSKOOL_1945
50@ = 7

:DSKOOL_1945
if 
  50@ == 12
goto_if_false @DSKOOL_1970
50@ = 11

:DSKOOL_1970
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_1995
$instructor_car_heading = 2

:DSKOOL_1995
if 
  $instructor_car_heading == 6
goto_if_false @DSKOOL_2020
$instructor_car_heading = 5

:DSKOOL_2020
if 
  $instructor_car_heading == 8
goto_if_false @DSKOOL_2045
$instructor_car_heading = 7

:DSKOOL_2045
if 
  $instructor_car_heading == 12
goto_if_false @DSKOOL_2070
$instructor_car_heading = 11

:DSKOOL_2070
if 
  $trigger_final_LA1_missions > 1
goto_if_false @DSKOOL_2113
if 
  4 > 34@
goto_if_false @DSKOOL_2113
34@ = 3

:DSKOOL_2113
if or
  $been_in_a_bmx > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @DSKOOL_2394
50@ += 1
$instructor_car_heading += 1
if 
  50@ == 3
goto_if_false @DSKOOL_2176
50@ = 4

:DSKOOL_2176
if 
  50@ == 6
goto_if_false @DSKOOL_2201
50@ = 7

:DSKOOL_2201
if 
  50@ == 8
goto_if_false @DSKOOL_2226
50@ = 9

:DSKOOL_2226
if 
  50@ == 12
goto_if_false @DSKOOL_2251
50@ = 13

:DSKOOL_2251
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_2276
$instructor_car_heading = 4

:DSKOOL_2276
if 
  $instructor_car_heading == 6
goto_if_false @DSKOOL_2301
$instructor_car_heading = 7

:DSKOOL_2301
if 
  $instructor_car_heading == 8
goto_if_false @DSKOOL_2326
$instructor_car_heading = 9

:DSKOOL_2326
if 
  $instructor_car_heading == 12
goto_if_false @DSKOOL_2351
$instructor_car_heading = 13

:DSKOOL_2351
if 
  $trigger_final_LA1_missions > 1
goto_if_false @DSKOOL_2394
if 
  4 > 34@
goto_if_false @DSKOOL_2394
34@ = 3

:DSKOOL_2394
if 
  1 > $instructor_car_heading
goto_if_false @DSKOOL_2428
set_var_int_to_var_int $instructor_car_heading = $trigger_final_LA1_missions
set_lvar_int_to_var_int 50@ = $trigger_final_LA1_missions

:DSKOOL_2428
if 
  is_int_var_greater_than_int_var $instructor_car_heading > $trigger_final_LA1_missions
goto_if_false @DSKOOL_2461
$instructor_car_heading = 1
50@ = 1

:DSKOOL_2461
if 
  $trigger_final_LA1_missions > 1
goto_if_false @DSKOOL_2583

:DSKOOL_2479
if 
  -100 > $been_in_a_bmx
goto_if_false @DSKOOL_2531
wait 0
gosub @DSKOOL_27402
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
goto @DSKOOL_2479

:DSKOOL_2531
if 
  $been_in_a_bmx > 100
goto_if_false @DSKOOL_2583
wait 0
gosub @DSKOOL_27402
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
goto @DSKOOL_2531

:DSKOOL_2583
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @DSKOOL_2618
wait 0
gosub @DSKOOL_27402
goto @DSKOOL_2583

:DSKOOL_2618
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @DSKOOL_2653
wait 0
gosub @DSKOOL_27402
goto @DSKOOL_2618

:DSKOOL_2653
if 
is_japanese_version 
goto_if_false @DSKOOL_2775
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @DSKOOL_2768
if or
  $instructor_car_heading == 4
  $instructor_car_heading == 7
  $instructor_car_heading == 9
  $instructor_car_heading == 13
goto_if_false @DSKOOL_2736
39@ = 1
goto @DSKOOL_2768

:DSKOOL_2736
if 
  4 > 34@
goto_if_false @DSKOOL_2761
34@ = 3

:DSKOOL_2761
goto @DSKOOL_4170

:DSKOOL_2768
goto @DSKOOL_2877

:DSKOOL_2775
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_2877
if or
  $instructor_car_heading == 4
  $instructor_car_heading == 7
  $instructor_car_heading == 9
  $instructor_car_heading == 13
goto_if_false @DSKOOL_2845
39@ = 1
goto @DSKOOL_2877

:DSKOOL_2845
if 
  4 > 34@
goto_if_false @DSKOOL_2870
34@ = 3

:DSKOOL_2870
goto @DSKOOL_4170

:DSKOOL_2877
if 
  39@ == 1
goto_if_false @DSKOOL_3257
if 
  4 > 34@
goto_if_false @DSKOOL_2920
34@ = 3

:DSKOOL_2920
if 
  34@ == 0
goto_if_false @DSKOOL_2945
34@ = 5

:DSKOOL_2945
gosub @DSKOOL_31568
Text.SetColor(255, 255, 255, 255)
Text.Display(320.0, 160.0, 'DS1_59')
gosub @DSKOOL_31568
Text.SetCenter(False)
Text.SetColor(255, 255, 255, 255)
Text.Display(100.0, 205.0, 'DS1_60')
gosub @DSKOOL_31568
Text.SetCenter(False)
Text.SetColor(255, 255, 255, 255)
Text.Display(101.0, 231.0, 'DS1_61')
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  -100 > $been_in_a_bmx
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @DSKOOL_3126
goto @DSKOOL_4170

:DSKOOL_3126
if or
  $been_in_a_bmx > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @DSKOOL_3257
if 
  $instructor_car_heading == 4
goto_if_false @DSKOOL_3175
$instructor_car_heading = 3

:DSKOOL_3175
if 
  $instructor_car_heading == 7
goto_if_false @DSKOOL_3200
$instructor_car_heading = 6

:DSKOOL_3200
if 
  $instructor_car_heading == 9
goto_if_false @DSKOOL_3225
$instructor_car_heading = 8

:DSKOOL_3225
if 
  $instructor_car_heading == 13
goto_if_false @DSKOOL_3250
$instructor_car_heading = 12

:DSKOOL_3250
goto @DSKOOL_4170

:DSKOOL_3257
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @DSKOOL_3402
if 
  $flag_kickstart_passed_1stime == 0
goto_if_false @DSKOOL_3395
$coord_1_x = 100
$one_thirtysecond = 100
$f1_pittechnique_best_score = 100
$f1_alleyoop_best_score = 100
$f1_whiprightterminate_best_score = 100
$f1_the360_best_score = 100
$f1_burnlapleft_best_score = 100
$f1_the180_best_score = 100
$f1_popcontrol_best_score = 100
$camera_secret_help = 100
$f1_conecoilleft_best_score = 100
$f1_wheelieweave_best_score = 100
CarGenerator.Switch($gen_car_flying, 101)
CarGenerator.Switch($5190, 101)
$flag_kickstart_passed_1stime = 1

:DSKOOL_3395
$trigger_final_LA1_missions = 16

:DSKOOL_3402
if 
is_japanese_version 
goto_if_false @DSKOOL_3789
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_3782
gosub @DSKOOL_27402
Camera.DoFade(500, Fade.Out)

:DSKOOL_3446
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_3484
gosub @DSKOOL_27402
wait 0
gosub @DSKOOL_27402
goto @DSKOOL_3446

:DSKOOL_3484
gosub @DSKOOL_27402
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Text.ClearPrints
World.ClearExtraColors(True)
Char.SetAreaVisible($stattreadstamina_ctr, 3)
Streaming.SetAreaVisible(3)
Streaming.RequestCollision(-2031.1, -118.2)
Streaming.LoadScene(-2031.1, -118.2, 1034.2)
Char.SetCoordinates($stattreadstamina_ctr, -2029.7, -115.5, 1034.2)
Char.SetHeading($stattreadstamina_ctr, 0.0)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_3608
if 
  Car.IsPlaybackGoingOn($202)
goto_if_false @DSKOOL_3608
Car.StopPlayback($202)

:DSKOOL_3608
Car.Delete($202)
World.ClearArea(-2051.0, -174.0, 34.0, 300.0, True)
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
Char.Delete(55@)
Char.Delete(56@)
Car.Delete($trafficcone_counter)
Car.Delete($trafficcones)
Object.Delete(57@)
Object.Delete(58@)
Object.Delete(59@)
Streaming.RemoveCarRecording(1)
Streaming.RemoveCarRecording(2)
Streaming.RemoveCarRecording(3)
Streaming.RemoveCarRecording(4)
Streaming.RemoveCarRecording(5)
Streaming.RemoveCarRecording(7)
Streaming.RemoveCarRecording(9)
Streaming.RemoveCarRecording(10)
Streaming.RemoveCarRecording(11)
Streaming.RemoveCarRecording(13)
Streaming.RemoveCarRecording(14)
Streaming.RemoveCarRecording(15)
Streaming.RemoveCarRecording(16)
gosub @DSKOOL_37341
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(500, Fade.In)

:DSKOOL_3751
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_3775
wait 0
goto @DSKOOL_3751

:DSKOOL_3775
goto @DSKOOL_26200

:DSKOOL_3782
goto @DSKOOL_4156

:DSKOOL_3789
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_4156
gosub @DSKOOL_27402
Camera.DoFade(500, Fade.Out)

:DSKOOL_3820
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_3858
gosub @DSKOOL_27402
wait 0
gosub @DSKOOL_27402
goto @DSKOOL_3820

:DSKOOL_3858
gosub @DSKOOL_27402
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Text.ClearPrints
World.ClearExtraColors(True)
Char.SetAreaVisible($stattreadstamina_ctr, 3)
Streaming.SetAreaVisible(3)
Streaming.RequestCollision(-2031.1, -118.2)
Streaming.LoadScene(-2031.1, -118.2, 1034.2)
Char.SetCoordinates($stattreadstamina_ctr, -2029.7, -115.5, 1034.2)
Char.SetHeading($stattreadstamina_ctr, 0.0)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_3982
if 
  Car.IsPlaybackGoingOn($202)
goto_if_false @DSKOOL_3982
Car.StopPlayback($202)

:DSKOOL_3982
Car.Delete($202)
World.ClearArea(-2051.0, -174.0, 34.0, 300.0, True)
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
Char.Delete(55@)
Char.Delete(56@)
Car.Delete($trafficcone_counter)
Car.Delete($trafficcones)
Object.Delete(57@)
Object.Delete(58@)
Object.Delete(59@)
Streaming.RemoveCarRecording(1)
Streaming.RemoveCarRecording(2)
Streaming.RemoveCarRecording(3)
Streaming.RemoveCarRecording(4)
Streaming.RemoveCarRecording(5)
Streaming.RemoveCarRecording(7)
Streaming.RemoveCarRecording(9)
Streaming.RemoveCarRecording(10)
Streaming.RemoveCarRecording(11)
Streaming.RemoveCarRecording(13)
Streaming.RemoveCarRecording(14)
Streaming.RemoveCarRecording(15)
Streaming.RemoveCarRecording(16)
gosub @DSKOOL_37341
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(500, Fade.In)

:DSKOOL_4125
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_4149
wait 0
goto @DSKOOL_4125

:DSKOOL_4149
goto @DSKOOL_26200

:DSKOOL_4156
gosub @DSKOOL_30549
goto @DSKOOL_1765

:DSKOOL_4170
Camera.DoFade(500, Fade.Out)

:DSKOOL_4177
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_4208
wait 0
gosub @DSKOOL_27402
goto @DSKOOL_4177

:DSKOOL_4208
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_4229
Car.StopPlayback($202)

:DSKOOL_4229
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Car.Delete($202)
World.ClearArea($camera_positiony, $camera_positionz, $camera_position_int, 300.0, True)
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
Char.Delete(55@)
Char.Delete(56@)
Car.Delete($trafficcone_counter)
Car.Delete($trafficcones)
Car.Delete($202)
Object.Delete(57@)
Object.Delete(58@)
Object.Delete(59@)
gosub @DSKOOL_37341
34@ = 5
Hud.Display(True)
Hud.DisplayRadar(True)
if 
  $instructor_car_heading == 1
goto_if_false @DSKOOL_6573

:DSKOOL_4345
gosub @DSKOOL_31688

:DSKOOL_4352
$dummy_car2_health = 180.0
$perfect_positionz = 11000
gosub @DSKOOL_31797
$202 = Car.Create(411, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading($202, 180.0)
gosub @DSKOOL_37395
if 
  34@ == 0
goto_if_false @DSKOOL_4506
Camera.SetFixedPosition(-2028.3, -143.0, 38.4, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2052.3, -129.9, 34.2, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_4504
55@ = Char.CreateRandomAsDriver($202)

:DSKOOL_4504
return 

:DSKOOL_4506
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords($202, 0.0, 0.0, 0.0)
Text.ClearPrints
Text.PrintBig('DS1_88', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_44', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_4576
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_4611
$noticeboard_z = 2
goto @DSKOOL_6511

:DSKOOL_4611
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_4643
goto @DSKOOL_26200

:DSKOOL_4643
if 
  $car_timer == 0
goto_if_false @DSKOOL_4725
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_4711
Text.PrintBig('DS1_88', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_44', 5000, 4)

:DSKOOL_4711
gosub @DSKOOL_32683
goto @DSKOOL_6566

:DSKOOL_4725
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_6566
gosub @DSKOOL_33298
$dummy_car2_health = Car.GetHeading($202)
if 
  $car_posy == 0
goto_if_false @DSKOOL_4830
if 
  $dummy_car2_health > 80.0
goto_if_false @DSKOOL_4830
if 
  90.0 > $dummy_car2_health
goto_if_false @DSKOOL_4830
$car_posy = 1
40@ = 1

:DSKOOL_4830
if 
  40@ == 1
goto_if_false @DSKOOL_5049
if 
  $car_posy == 1
goto_if_false @DSKOOL_4915
if 
  $dummy_car2_health > 350.0
goto_if_false @DSKOOL_4915
if 
  360.0 > $dummy_car2_health
goto_if_false @DSKOOL_4915
$car_posy = 2

:DSKOOL_4915
if 
  $car_posy == 2
goto_if_false @DSKOOL_4982
if 
  $dummy_car2_health > 270.0
goto_if_false @DSKOOL_4982
if 
  280.0 > $dummy_car2_health
goto_if_false @DSKOOL_4982
$car_posy = 3

:DSKOOL_4982
if 
  $car_posy == 3
goto_if_false @DSKOOL_5049
if 
  $dummy_car2_health > 170.0
goto_if_false @DSKOOL_5049
if 
  180.0 > $dummy_car2_health
goto_if_false @DSKOOL_5049
$car_posy = 4

:DSKOOL_5049
if 
  $car_posy == 0
goto_if_false @DSKOOL_5123
if 
  $dummy_car2_health > 270.0
goto_if_false @DSKOOL_5123
if 
  280.0 > $dummy_car2_health
goto_if_false @DSKOOL_5123
40@ = 2
$car_posy = 1

:DSKOOL_5123
if 
  40@ == 2
goto_if_false @DSKOOL_5342
if 
  $car_posy == 1
goto_if_false @DSKOOL_5208
if 
  $dummy_car2_health > 350.0
goto_if_false @DSKOOL_5208
if 
  360.0 > $dummy_car2_health
goto_if_false @DSKOOL_5208
$car_posy = 2

:DSKOOL_5208
if 
  $car_posy == 2
goto_if_false @DSKOOL_5275
if 
  $dummy_car2_health > 80.0
goto_if_false @DSKOOL_5275
if 
  90.0 > $dummy_car2_health
goto_if_false @DSKOOL_5275
$car_posy = 3

:DSKOOL_5275
if 
  $car_posy == 3
goto_if_false @DSKOOL_5342
if 
  $dummy_car2_health > 170.0
goto_if_false @DSKOOL_5342
if 
  180.0 > $dummy_car2_health
goto_if_false @DSKOOL_5342
$car_posy = 4

:DSKOOL_5342
if 
is_xbox_version 
goto_if_false @DSKOOL_5964
if or
  not Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  not Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
  $perfect_positionz == 0
goto_if_false @DSKOOL_5957
gosub @DSKOOL_33332
gosub @DSKOOL_33413
if 
  $car_posy == 4
goto_if_false @DSKOOL_5424
$time_score = 100

:DSKOOL_5424
if 
  $car_posy == 3
goto_if_false @DSKOOL_5449
$time_score = 75

:DSKOOL_5449
if 
  $car_posy == 2
goto_if_false @DSKOOL_5474
$time_score = 50

:DSKOOL_5474
if 
  $car_posy == 1
goto_if_false @DSKOOL_5499
$time_score = 25

:DSKOOL_5499
if 
  $car_posy == 0
goto_if_false @DSKOOL_5524
$time_score = 0

:DSKOOL_5524
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @DSKOOL_5572
$variabled = 0

:DSKOOL_5572
if 
  $car_posy == 0
goto_if_false @DSKOOL_5597
$variabled = 0

:DSKOOL_5597
gosub @DSKOOL_33657
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $coord_1_x
goto_if_false @DSKOOL_5667
set_lvar_int_to_var_int 47@ = $coord_1_x
set_var_int_to_var_int $coord_1_x = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_5674

:DSKOOL_5667
45@ = 0

:DSKOOL_5674
if 
  $trigger_final_LA1_missions == 1
goto_if_false @DSKOOL_5738
if 
  $variabled > 69
goto_if_false @DSKOOL_5738
41@ = 2
$trigger_final_LA1_missions = 2
$noticeboard_z = 2
50@ = 2

:DSKOOL_5738
TIMERA = 0

:DSKOOL_5745
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_5856
if 
is_japanese_version 
goto_if_false @DSKOOL_5825
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_5818
$noticeboard_z = 2
goto @DSKOOL_5902

:DSKOOL_5818
goto @DSKOOL_5856

:DSKOOL_5825
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_5856
$noticeboard_z = 2
goto @DSKOOL_5902

:DSKOOL_5856
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_5895
goto @DSKOOL_5902

:DSKOOL_5895
goto @DSKOOL_5745

:DSKOOL_5902
gosub @DSKOOL_37057
gosub @DSKOOL_37341
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_5950
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_5957

:DSKOOL_5950
goto @DSKOOL_4345

:DSKOOL_5957
goto @DSKOOL_6566

:DSKOOL_5964
if or
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  not Pad.IsButtonPressed(PadId.Pad1, Button.Square)
  $perfect_positionz == 0
goto_if_false @DSKOOL_6566
gosub @DSKOOL_33332
gosub @DSKOOL_33413
if 
  $car_posy == 4
goto_if_false @DSKOOL_6033
$time_score = 100

:DSKOOL_6033
if 
  $car_posy == 3
goto_if_false @DSKOOL_6058
$time_score = 75

:DSKOOL_6058
if 
  $car_posy == 2
goto_if_false @DSKOOL_6083
$time_score = 50

:DSKOOL_6083
if 
  $car_posy == 1
goto_if_false @DSKOOL_6108
$time_score = 25

:DSKOOL_6108
if 
  $car_posy == 0
goto_if_false @DSKOOL_6133
$time_score = 0

:DSKOOL_6133
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @DSKOOL_6181
$variabled = 0

:DSKOOL_6181
if 
  $car_posy == 0
goto_if_false @DSKOOL_6206
$variabled = 0

:DSKOOL_6206
gosub @DSKOOL_33657
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $coord_1_x
goto_if_false @DSKOOL_6276
set_lvar_int_to_var_int 47@ = $coord_1_x
set_var_int_to_var_int $coord_1_x = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_6283

:DSKOOL_6276
45@ = 0

:DSKOOL_6283
if 
  $trigger_final_LA1_missions == 1
goto_if_false @DSKOOL_6347
if 
  $variabled > 69
goto_if_false @DSKOOL_6347
41@ = 2
$trigger_final_LA1_missions = 2
$noticeboard_z = 2
50@ = 2

:DSKOOL_6347
TIMERA = 0

:DSKOOL_6354
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_6465
if 
is_japanese_version 
goto_if_false @DSKOOL_6434
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_6427
$noticeboard_z = 2
goto @DSKOOL_6511

:DSKOOL_6427
goto @DSKOOL_6465

:DSKOOL_6434
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_6465
$noticeboard_z = 2
goto @DSKOOL_6511

:DSKOOL_6465
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_6504
goto @DSKOOL_6511

:DSKOOL_6504
goto @DSKOOL_6354

:DSKOOL_6511
gosub @DSKOOL_37057
gosub @DSKOOL_37341
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_6559
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_6566

:DSKOOL_6559
goto @DSKOOL_4345

:DSKOOL_6566
goto @DSKOOL_4576

:DSKOOL_6573
if 
  $instructor_car_heading == 2
goto_if_false @DSKOOL_7943

:DSKOOL_6591
gosub @DSKOOL_31688

:DSKOOL_6598
$dummy_car2_health = 0.0
$perfect_positionz = 11000
gosub @DSKOOL_31797
$202 = Car.Create(496, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading($202, 180.0)
gosub @DSKOOL_37395
if 
  34@ == 0
goto_if_false @DSKOOL_6752
Camera.SetFixedPosition(-2060.2, -227.3, 36.6, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2049.5, -210.6, 34.0, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_6750
55@ = Char.CreateRandomAsDriver($202)

:DSKOOL_6750
return 

:DSKOOL_6752
$area_check2ax, $area_check2ay, $z = Car.GetOffsetInWorldCoords($202, -2.0, 82.0, 0.0)
$area_check2bx, $area_check2by, $z = Car.GetOffsetInWorldCoords($202, 2.0, 88.0, 0.0)
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords($202, 0.0, 0.0, 0.0)
Text.ClearPrints
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_45', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_6880
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_6915
$noticeboard_z = 2
goto @DSKOOL_7881

:DSKOOL_6915
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_6947
goto @DSKOOL_26200

:DSKOOL_6947
if 
  $car_timer == 0
goto_if_false @DSKOOL_7029
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_7015
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_45', 5000, 4)

:DSKOOL_7015
gosub @DSKOOL_32683
goto @DSKOOL_7936

:DSKOOL_7029
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_7936
gosub @DSKOOL_33298
if 
  $car_posy == 0
goto_if_false @DSKOOL_7107
if 
  Car.IsInArea2D($202, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @DSKOOL_7107
$car_posy = 1

:DSKOOL_7107
if 
  Car.IsStopped($202)
goto_if_false @DSKOOL_7936
gosub @DSKOOL_33332
gosub @DSKOOL_33413
if 
  $car_posy == 0
goto_if_false @DSKOOL_7162
$overall_score = 0

:DSKOOL_7162
$perfect_positionx = Car.GetHeading($202)
cset_var_int_to_var_float $perfect_positiony =# $perfect_positionx
if 
  $perfect_positiony == 0
goto_if_false @DSKOOL_7210
$time_score = 100
goto @DSKOOL_7503

:DSKOOL_7210
if 
  $perfect_positiony == 360
goto_if_false @DSKOOL_7243
$time_score = 100
goto @DSKOOL_7503

:DSKOOL_7243
if 
  $perfect_positiony > 0
goto_if_false @DSKOOL_7286
if 
  21 > $perfect_positiony
goto_if_false @DSKOOL_7286
$time_score = 100

:DSKOOL_7286
if 
  $perfect_positiony > 179
goto_if_false @DSKOOL_7373
if 
  340 > $perfect_positiony
goto_if_false @DSKOOL_7373
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 180
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 0.62
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @DSKOOL_7503

:DSKOOL_7373
if 
  $perfect_positiony > 339
goto_if_false @DSKOOL_7418
if 
  360 > $perfect_positiony
goto_if_false @DSKOOL_7418
$time_score = 100

:DSKOOL_7418
if 
  $perfect_positiony > 20
goto_if_false @DSKOOL_7503
if 
  180 > $perfect_positiony
goto_if_false @DSKOOL_7503
cset_var_float_to_var_int $circle_start_x =# $perfect_positiony
$circle_start_x *= 0.62
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @DSKOOL_7503

:DSKOOL_7503
if 
  1 > $time_score
goto_if_false @DSKOOL_7528
$time_score = 0

:DSKOOL_7528
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @DSKOOL_7576
$variabled = 0

:DSKOOL_7576
gosub @DSKOOL_33657
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $one_thirtysecond
goto_if_false @DSKOOL_7646
set_lvar_int_to_var_int 47@ = $one_thirtysecond
set_var_int_to_var_int $one_thirtysecond = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_7653

:DSKOOL_7646
45@ = 0

:DSKOOL_7653
if 
  $trigger_final_LA1_missions == 2
goto_if_false @DSKOOL_7717
if 
  $variabled > 69
goto_if_false @DSKOOL_7717
41@ = 2
$trigger_final_LA1_missions = 4
$noticeboard_z = 2
50@ = 4

:DSKOOL_7717
TIMERA = 0

:DSKOOL_7724
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_7835
if 
is_japanese_version 
goto_if_false @DSKOOL_7804
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_7797
$noticeboard_z = 2
goto @DSKOOL_7881

:DSKOOL_7797
goto @DSKOOL_7835

:DSKOOL_7804
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_7835
$noticeboard_z = 2
goto @DSKOOL_7881

:DSKOOL_7835
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_7874
goto @DSKOOL_7881

:DSKOOL_7874
goto @DSKOOL_7724

:DSKOOL_7881
gosub @DSKOOL_37057
gosub @DSKOOL_37341
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_7929
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_7936

:DSKOOL_7929
goto @DSKOOL_6591

:DSKOOL_7936
goto @DSKOOL_6880

:DSKOOL_7943
if or
  $instructor_car_heading == 3
  $instructor_car_heading == 4
goto_if_false @DSKOOL_9606

:DSKOOL_7968
gosub @DSKOOL_31688

:DSKOOL_7975
$dummy_car2_health = 180.0
$perfect_positionz = 6000
gosub @DSKOOL_31797
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_8028
$players_distance_from_perfectpos += 20.0

:DSKOOL_8028
if 
  $instructor_car_heading == 4
goto_if_false @DSKOOL_8056
$players_distance_from_perfectpos -= 20.0

:DSKOOL_8056
$202 = Car.Create(429, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading($202, $dummy_car2_health)
gosub @DSKOOL_37395
if 
  34@ == 0
goto_if_false @DSKOOL_8183
Camera.SetFixedPosition(-2022.6, -173.4, 36.2, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2034.2, -165.4, 34.5, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_8181
55@ = Char.CreateRandomAsDriver($202)

:DSKOOL_8181
return 

:DSKOOL_8183
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_8237
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords($202, 40.0, 37.0, 0.0)
goto @DSKOOL_8266

:DSKOOL_8237
$start_coordsx, $start_coordsy, $dummy_car1_health = Car.GetOffsetInWorldCoords($202, -40.0, 37.0, 0.0)

:DSKOOL_8266
Text.ClearPrints
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_32', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_8307
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_8342
$noticeboard_z = 2
goto @DSKOOL_9544

:DSKOOL_8342
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_8374
goto @DSKOOL_26200

:DSKOOL_8374
if 
  $car_timer == 0
goto_if_false @DSKOOL_8456
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_8442
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_32', 5000, 4)

:DSKOOL_8442
gosub @DSKOOL_32683
goto @DSKOOL_9599

:DSKOOL_8456
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_9599
gosub @DSKOOL_33298
if 
  Car.IsStopped($202)
goto_if_false @DSKOOL_9599
gosub @DSKOOL_33332
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_8543
set_var_float_to_var_float $players_distance_from_perfectpos = $area_check1ax
set_var_float_to_var_float $instructor_car_health = $area_check1ay
goto @DSKOOL_8559

:DSKOOL_8543
set_var_float_to_var_float $players_distance_from_perfectpos = $start_coordsx
set_var_float_to_var_float $instructor_car_health = $start_coordsy

:DSKOOL_8559
gosub @DSKOOL_33413
$perfect_positionx = Car.GetHeading($202)
cset_var_int_to_var_float $perfect_positiony =# $perfect_positionx
if 
  $perfect_positiony == 0
goto_if_false @DSKOOL_8614
$time_score = 0
goto @DSKOOL_9166

:DSKOOL_8614
if 
  $perfect_positiony == 360
goto_if_false @DSKOOL_8647
$time_score = 0
goto @DSKOOL_9166

:DSKOOL_8647
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_8916
if 
  $perfect_positiony == 90
goto_if_false @DSKOOL_8697
$time_score = 100
goto @DSKOOL_9166

:DSKOOL_8697
if 
  $perfect_positiony > 0
goto_if_false @DSKOOL_8766
if 
  85 > $perfect_positiony
goto_if_false @DSKOOL_8766
cset_var_float_to_var_int $circle_start_x =# $perfect_positiony
$circle_start_x *= 1.16
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @DSKOOL_9166

:DSKOOL_8766
if 
  $perfect_positiony > 84
goto_if_false @DSKOOL_8809
if 
  96 > $perfect_positiony
goto_if_false @DSKOOL_8809
$time_score = 100

:DSKOOL_8809
if 
  $perfect_positiony > 95
goto_if_false @DSKOOL_8909
if 
  360 > $perfect_positiony
goto_if_false @DSKOOL_8909
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 90
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 1.16
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @DSKOOL_9166

:DSKOOL_8909
goto @DSKOOL_9166

:DSKOOL_8916
if 
  $perfect_positiony == 270
goto_if_false @DSKOOL_8949
$time_score = 100
goto @DSKOOL_9166

:DSKOOL_8949
if 
  $perfect_positiony > 0
goto_if_false @DSKOOL_9019
if 
  265 > $perfect_positiony
goto_if_false @DSKOOL_9019
cset_var_float_to_var_int $circle_start_x =# $perfect_positiony
$circle_start_x *= 0.37
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @DSKOOL_9166

:DSKOOL_9019
if 
  $perfect_positiony > 264
goto_if_false @DSKOOL_9064
if 
  276 > $perfect_positiony
goto_if_false @DSKOOL_9064
$time_score = 100

:DSKOOL_9064
if 
  $perfect_positiony > 275
goto_if_false @DSKOOL_9166
if 
  360 > $perfect_positiony
goto_if_false @DSKOOL_9166
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 270
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 1.16
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @DSKOOL_9166

:DSKOOL_9166
if 
  1 > $time_score
goto_if_false @DSKOOL_9191
$time_score = 0

:DSKOOL_9191
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @DSKOOL_9239
$variabled = 0

:DSKOOL_9239
gosub @DSKOOL_33657
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $f1_pittechnique_best_score
goto_if_false @DSKOOL_9309
set_lvar_int_to_var_int 47@ = $f1_pittechnique_best_score
set_var_int_to_var_int $f1_pittechnique_best_score = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_9316

:DSKOOL_9309
45@ = 0

:DSKOOL_9316
if 
  $trigger_final_LA1_missions == 4
goto_if_false @DSKOOL_9380
if 
  $variabled > 69
goto_if_false @DSKOOL_9380
41@ = 2
$trigger_final_LA1_missions = 5
$noticeboard_z = 2
50@ = 5

:DSKOOL_9380
TIMERA = 0

:DSKOOL_9387
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_9498
if 
is_japanese_version 
goto_if_false @DSKOOL_9467
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_9460
$noticeboard_z = 2
goto @DSKOOL_9544

:DSKOOL_9460
goto @DSKOOL_9498

:DSKOOL_9467
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_9498
$noticeboard_z = 2
goto @DSKOOL_9544

:DSKOOL_9498
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_9537
goto @DSKOOL_9544

:DSKOOL_9537
goto @DSKOOL_9387

:DSKOOL_9544
gosub @DSKOOL_37057
gosub @DSKOOL_37341
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_9592
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_9599

:DSKOOL_9592
goto @DSKOOL_7968

:DSKOOL_9599
goto @DSKOOL_8307

:DSKOOL_9606
if 
  $instructor_car_heading == 5
goto_if_false @DSKOOL_11160

:DSKOOL_9624
gosub @DSKOOL_31688

:DSKOOL_9631
$dummy_car2_health = 180.0
$perfect_positionz = 6000
gosub @DSKOOL_31797
$202 = Car.Create(597, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading($202, $dummy_car2_health)
$players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health = Car.GetOffsetInWorldCoords($202, 2.0, 38.0, -0.5)
$circle_start_y, $cone_coords_x, $dummy_car1_health = Car.GetOffsetInWorldCoords($202, -2.0, 40.0, -0.5)
59@ = Object.Create(#TEMP_STINGER2, -2050.8, -167.0, 34.6)
Object.SetHeading(59@, 90.0)
gosub @DSKOOL_37395
if 
  34@ == 0
goto_if_false @DSKOOL_9879
Camera.SetFixedPosition(-2047.7, -243.3, 37.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2049.7, -227.4, 34.1, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_9877
55@ = Char.CreateInsideCar($202, PedType.Mission1, 281)

:DSKOOL_9877
return 

:DSKOOL_9879
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords($202, 0.0, 104.0, 0.0)
Text.ClearPrints
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_30', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_9949
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_9984
$noticeboard_z = 2
goto @DSKOOL_11093

:DSKOOL_9984
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_10016
goto @DSKOOL_26200

:DSKOOL_10016
if 
  $car_timer == 0
goto_if_false @DSKOOL_10098
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_10084
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_30', 5000, 4)

:DSKOOL_10084
gosub @DSKOOL_32683
goto @DSKOOL_11153

:DSKOOL_10098
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_11153
gosub @DSKOOL_33298
if 
  Car.IsInArea2D($202, $players_distance_from_perfectpos, $instructor_car_health, $circle_start_y, $cone_coords_x, False)
goto_if_false @DSKOOL_10176
if 
  not Car.IsTireBurst($202, 3)
goto_if_false @DSKOOL_10176
Car.BurstTire($202, 3)

:DSKOOL_10176
if 
  Car.IsStopped($202)
goto_if_false @DSKOOL_11153
gosub @DSKOOL_33332
set_var_float_to_var_float $players_distance_from_perfectpos = $area_check1ax
set_var_float_to_var_float $instructor_car_health = $area_check1ay
$x, $y, $z = Car.GetCoordinates($202)
$total_instructor_car_health = Math.GetDistanceBetweenCoords2D($x, $y, $players_distance_from_perfectpos, $instructor_car_health)
if 
  $total_instructor_car_health > 1.0
goto_if_false @DSKOOL_10352
if 
  10.0 > $total_instructor_car_health
goto_if_false @DSKOOL_10338
$total_instructor_car_health -= 1.0
$total_instructor_car_health *= 11.0
cset_var_int_to_var_float $car_posx =# $total_instructor_car_health
$overall_score = 100
sub_int_var_from_int_var $overall_score -= $car_posx
goto @DSKOOL_10345

:DSKOOL_10338
$overall_score = 0

:DSKOOL_10345
goto @DSKOOL_10359

:DSKOOL_10352
$overall_score = 100

:DSKOOL_10359
if 
  not Car.IsTireBurst($202, 3)
goto_if_false @DSKOOL_10384
$overall_score = 0

:DSKOOL_10384
$perfect_positionx = Car.GetHeading($202)
cset_var_int_to_var_float $perfect_positiony =# $perfect_positionx
if 
  $perfect_positiony == 0
goto_if_false @DSKOOL_10432
$time_score = 0
goto @DSKOOL_10715

:DSKOOL_10432
if 
  $perfect_positiony == 180
goto_if_false @DSKOOL_10465
$time_score = 100
goto @DSKOOL_10715

:DSKOOL_10465
if 
  $perfect_positiony == 360
goto_if_false @DSKOOL_10498
$time_score = 0
goto @DSKOOL_10715

:DSKOOL_10498
if 
  $perfect_positiony > 0
goto_if_false @DSKOOL_10568
if 
  175 > $perfect_positiony
goto_if_false @DSKOOL_10568
cset_var_float_to_var_int $circle_start_x =# $perfect_positiony
$circle_start_x *= 0.56
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @DSKOOL_10715

:DSKOOL_10568
if 
  $perfect_positiony > 174
goto_if_false @DSKOOL_10613
if 
  186 > $perfect_positiony
goto_if_false @DSKOOL_10613
$time_score = 100

:DSKOOL_10613
if 
  $perfect_positiony > 185
goto_if_false @DSKOOL_10715
if 
  360 > $perfect_positiony
goto_if_false @DSKOOL_10715
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 180
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 0.56
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @DSKOOL_10715

:DSKOOL_10715
if 
  1 > $time_score
goto_if_false @DSKOOL_10740
$time_score = 0

:DSKOOL_10740
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @DSKOOL_10788
$variabled = 0

:DSKOOL_10788
gosub @DSKOOL_33657
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $f1_alleyoop_best_score
goto_if_false @DSKOOL_10858
set_lvar_int_to_var_int 47@ = $f1_alleyoop_best_score
set_var_int_to_var_int $f1_alleyoop_best_score = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_10865

:DSKOOL_10858
45@ = 0

:DSKOOL_10865
if 
  $trigger_final_LA1_missions == 5
goto_if_false @DSKOOL_10929
if 
  $variabled > 69
goto_if_false @DSKOOL_10929
41@ = 2
$trigger_final_LA1_missions = 7
$noticeboard_z = 2
50@ = 7

:DSKOOL_10929
TIMERA = 0

:DSKOOL_10936
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_11047
if 
is_japanese_version 
goto_if_false @DSKOOL_11016
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_11009
$noticeboard_z = 2
goto @DSKOOL_11093

:DSKOOL_11009
goto @DSKOOL_11047

:DSKOOL_11016
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_11047
$noticeboard_z = 2
goto @DSKOOL_11093

:DSKOOL_11047
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_11086
goto @DSKOOL_11093

:DSKOOL_11086
goto @DSKOOL_10936

:DSKOOL_11093
gosub @DSKOOL_37057
Object.Delete(59@)
gosub @DSKOOL_37341
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_11146
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_11153

:DSKOOL_11146
goto @DSKOOL_9624

:DSKOOL_11153
goto @DSKOOL_9949

:DSKOOL_11160
if or
  $instructor_car_heading == 6
  $instructor_car_heading == 7
goto_if_false @DSKOOL_13313

:DSKOOL_11185
gosub @DSKOOL_31688

:DSKOOL_11192
$dummy_car2_health = 180.0
$perfect_positionz = 0
gosub @DSKOOL_31797
$202 = Car.Create(429, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading($202, $dummy_car2_health)
gosub @DSKOOL_37395
if 
  $instructor_car_heading == 6
goto_if_false @DSKOOL_11521
$area_check2ax, $area_check2ay, $z = Car.GetOffsetInWorldCoords($202, -4.0, 50.0, 0.0)
$area_check2bx, $area_check2by, $z = Car.GetOffsetInWorldCoords($202, 4.0, 44.0, 0.0)
$area_check3ax, $area_check3ay, $z = Car.GetOffsetInWorldCoords($202, 12.0, 38.0, 0.0)
$area_check3bx, $area_check3by, $z = Car.GetOffsetInWorldCoords($202, 4.0, 44.0, 0.0)
$area_check4ax, $area_check4ay, $z = Car.GetOffsetInWorldCoords($202, 4.0, 2.0, 0.0)
$area_check4bx, $area_check4by, $z = Car.GetOffsetInWorldCoords($202, 12.0, -4.0, 0.0)
$instructor_car_dead_flag, $finished_watching_scores, $z = Car.GetOffsetInWorldCoords($202, 4.0, 2.0, 0.0)
$noticeboard_x, $noticeboard_y, $z = Car.GetOffsetInWorldCoords($202, -4.0, 8.0, 0.0)
59@ = Object.Create(#AD_FINISH, -2050.5, -135.5, 34.35)

:DSKOOL_11521
if 
  $instructor_car_heading == 7
goto_if_false @DSKOOL_11845
$area_check2ax, $area_check2ay, $z = Car.GetOffsetInWorldCoords($202, 4.0, 44.0, 0.0)
$area_check2bx, $area_check2by, $z = Car.GetOffsetInWorldCoords($202, 12.0, 50.0, 0.0)
$area_check3ax, $area_check3ay, $z = Car.GetOffsetInWorldCoords($202, 4.0, 44.0, 0.0)
$area_check3bx, $area_check3by, $z = Car.GetOffsetInWorldCoords($202, -4.0, 38.0, 0.0)
$area_check4ax, $area_check4ay, $z = Car.GetOffsetInWorldCoords($202, 4.0, 2.0, 0.0)
$area_check4bx, $area_check4by, $z = Car.GetOffsetInWorldCoords($202, -4.0, -4.0, 0.0)
$instructor_car_dead_flag, $finished_watching_scores, $z = Car.GetOffsetInWorldCoords($202, 4.0, 2.0, 0.0)
$noticeboard_x, $noticeboard_y, $z = Car.GetOffsetInWorldCoords($202, 12.0, 8.0, 0.0)
$circle_start_y, $cone_coords_x, $z = Car.GetOffsetInWorldCoords($202, 8.0, 0.0, 0.0)
59@ = Object.Create(#AD_FINISH, -2058.5, -135.5, 34.35)
Car.SetCoordinates($202, $circle_start_y, $cone_coords_x, $z)
Car.SetHeading($202, $dummy_car2_health)

:DSKOOL_11845
if 
  34@ == 0
goto_if_false @DSKOOL_11940
Camera.SetFixedPosition(-2054.6, -109.1, 36.4, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2054.6, -122.0, 34.2, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_11938
55@ = Char.CreateRandomAsDriver($202)

:DSKOOL_11938
return 

:DSKOOL_11940
Text.ClearPrints
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_29', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_11981
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_12016
$noticeboard_z = 2
goto @DSKOOL_13246

:DSKOOL_12016
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_12048
goto @DSKOOL_26200

:DSKOOL_12048
if 
  $car_timer == 0
goto_if_false @DSKOOL_12130
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_12116
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_29', 5000, 4)

:DSKOOL_12116
gosub @DSKOOL_32683
goto @DSKOOL_13306

:DSKOOL_12130
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_13306
if 
  $perfect_positionz > 90000
goto_if_false @DSKOOL_12174
Player.SetControl($statbike_temp, False)

:DSKOOL_12174
if 
  $car_posx == 0
goto_if_false @DSKOOL_12229
if 
  Car.IsInArea2D($202, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @DSKOOL_12229
$car_posx = 1

:DSKOOL_12229
if 
  $car_posx == 1
goto_if_false @DSKOOL_12284
if 
  Car.IsInArea2D($202, $area_check3ax, $area_check3ay, $area_check3bx, $area_check3by, False)
goto_if_false @DSKOOL_12284
$car_posx = 2

:DSKOOL_12284
if 
  $car_posx == 2
goto_if_false @DSKOOL_12339
if 
  Car.IsInArea2D($202, $area_check4ax, $area_check4ay, $area_check4bx, $area_check4by, False)
goto_if_false @DSKOOL_12339
$car_posx = 3

:DSKOOL_12339
if 
  $car_posx == 3
goto_if_false @DSKOOL_12401
if 
  Car.IsInArea2D($202, $instructor_car_dead_flag, $finished_watching_scores, $noticeboard_x, $noticeboard_y, False)
goto_if_false @DSKOOL_12401
$perfect_heading += 1
$car_posx = 0

:DSKOOL_12401
Text.ClearPrints
if 
  4 > $perfect_heading
goto_if_false @DSKOOL_12462
set_var_int_to_var_int $where_to_place_cones = $perfect_heading
$where_to_place_cones += 1
Text.PrintWithNumberNow('DS1_73', $where_to_place_cones, 5000, 4)
goto @DSKOOL_12478

:DSKOOL_12462
Text.PrintNow('DS1_74', 5000, 4)

:DSKOOL_12478
if or
  Car.IsStopped($202)
  $perfect_heading == 5
goto_if_false @DSKOOL_13306
gosub @DSKOOL_33332
set_var_int_to_var_int $car_posx = $perfect_positionz
set_var_int_to_var_int $finish_rightx = $car_posx
$finish_rightx /= 1000
set_var_int_to_var_int $finish_righty = $finish_rightx
$finish_righty *= 1000
set_var_int_to_var_int $car_posy = $car_posx
sub_int_var_from_int_var $car_posy -= $finish_righty
set_var_int_to_var_int $finish_righty = $car_posy
$finish_righty /= 10
$variablec = 0
if 
  5 > $perfect_heading
goto_if_false @DSKOOL_12618
$variablec = 0
goto @DSKOOL_12876

:DSKOOL_12618
if 
  36000 > $car_posx
goto_if_false @DSKOOL_12646
$variablec = 100

:DSKOOL_12646
if 
  $car_posx >= 36000
goto_if_false @DSKOOL_12747
if 
  40000 > $car_posx
goto_if_false @DSKOOL_12747
set_var_int_to_var_int $car_posy = $car_posx
$car_posy -= 35999
cset_var_float_to_var_int $circle_start_x =# $car_posy
$circle_start_x *= 0.0075
cset_var_int_to_var_float $car_posx =# $circle_start_x
$variablec = 100
sub_int_var_from_int_var $variablec -= $car_posx

:DSKOOL_12747
if 
  $car_posx >= 40000
goto_if_false @DSKOOL_12848
if 
  45000 > $car_posx
goto_if_false @DSKOOL_12848
set_var_int_to_var_int $car_posy = $car_posx
$car_posy -= 39999
cset_var_float_to_var_int $circle_start_x =# $car_posy
$circle_start_x *= 0.0138
cset_var_int_to_var_float $car_posx =# $circle_start_x
$variablec = 70
sub_int_var_from_int_var $variablec -= $car_posx

:DSKOOL_12848
if 
  $car_posx >= 45000
goto_if_false @DSKOOL_12876
$variablec = 0

:DSKOOL_12876
if 
  1 > $variablec
goto_if_false @DSKOOL_12901
$variablec = 0

:DSKOOL_12901
if 
  $variablec > 99
goto_if_false @DSKOOL_12926
$variablec = 100

:DSKOOL_12926
set_var_int_to_var_int $variabled = $variablec
gosub @DSKOOL_33657
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $f1_whiprightterminate_best_score
goto_if_false @DSKOOL_13004
set_lvar_int_to_var_int 47@ = $f1_whiprightterminate_best_score
set_var_int_to_var_int $f1_whiprightterminate_best_score = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_13011

:DSKOOL_13004
45@ = 0

:DSKOOL_13011
if 
  $trigger_final_LA1_missions == 7
goto_if_false @DSKOOL_13075
if 
  $variabled > 69
goto_if_false @DSKOOL_13075
41@ = 2
$trigger_final_LA1_missions = 9
$noticeboard_z = 2
50@ = 9

:DSKOOL_13075
$perfect_heading = 6
TIMERA = 0

:DSKOOL_13089
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_13200
if 
is_japanese_version 
goto_if_false @DSKOOL_13169
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_13162
$noticeboard_z = 2
goto @DSKOOL_13246

:DSKOOL_13162
goto @DSKOOL_13200

:DSKOOL_13169
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_13200
$noticeboard_z = 2
goto @DSKOOL_13246

:DSKOOL_13200
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_13239
goto @DSKOOL_13246

:DSKOOL_13239
goto @DSKOOL_13089

:DSKOOL_13246
gosub @DSKOOL_37057
Object.Delete(59@)
gosub @DSKOOL_37341
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_13299
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_13306

:DSKOOL_13299
goto @DSKOOL_11185

:DSKOOL_13306
goto @DSKOOL_11981

:DSKOOL_13313
if or
  $instructor_car_heading == 8
  $instructor_car_heading == 9
goto_if_false @DSKOOL_14860

:DSKOOL_13338
gosub @DSKOOL_31688

:DSKOOL_13345
Streaming.RequestModel(429)

:DSKOOL_13350
if 
  not Streaming.HasModelLoaded(429)
goto_if_false @DSKOOL_13377
wait 0
goto @DSKOOL_13350

:DSKOOL_13377
$dummy_car2_health = 180.0
$perfect_positionz = 11000
gosub @DSKOOL_31797
$202 = Car.Create(429, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading($202, $dummy_car2_health)
59@ = Object.Create(#AD_ROADMARK1, -2050.0, -172.5, 34.35)
Object.SetHeading(59@, 180.0)
gosub @DSKOOL_37395
if 
  34@ == 0
goto_if_false @DSKOOL_13562
Camera.SetFixedPosition(-2042.1, -223.4, 36.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2049.1, -210.0, 34.8, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_13560
55@ = Char.CreateRandomAsDriver($202)

:DSKOOL_13560
return 

:DSKOOL_13562
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetOffsetInWorldCoords($205[15], 0.0, 5.0, 0.0)
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords($202, 0.0, 0.0, 0.0)
Text.ClearPrints
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_36', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_13661
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_13696
$noticeboard_z = 2
goto @DSKOOL_14793

:DSKOOL_13696
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_13728
goto @DSKOOL_26200

:DSKOOL_13728
if 
  $car_timer == 0
goto_if_false @DSKOOL_13810
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_13796
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_36', 5000, 4)

:DSKOOL_13796
gosub @DSKOOL_32683
goto @DSKOOL_14853

:DSKOOL_13810
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_14853
if 
  not Car.IsInArea2D($202, -2042.0, -126.0, -2058.0, -220.0, False)
goto_if_false @DSKOOL_13871
Player.SetControl($statbike_temp, False)

:DSKOOL_13871
if 
  $perfect_heading == 0
goto_if_false @DSKOOL_13938
if 
  Car.Locate3D($202, $lap1_secs, $lap1_millisecs, $overall_lap1, 4.0, 4.0, 4.0, True)
goto_if_false @DSKOOL_13938
$perfect_heading = 1

:DSKOOL_13938
if 
  $perfect_heading == 1
goto_if_false @DSKOOL_14005
if 
  Car.LocateStopped3D($202, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health, 4.0, 4.0, 4.0, True)
goto_if_false @DSKOOL_14005
$perfect_heading = 2

:DSKOOL_14005
gosub @DSKOOL_33298
if 
  Car.IsStopped($202)
goto_if_false @DSKOOL_14853
gosub @DSKOOL_33332
if 
  $perfect_heading > 0
goto_if_false @DSKOOL_14067
gosub @DSKOOL_33413
goto @DSKOOL_14074

:DSKOOL_14067
$overall_score = 0

:DSKOOL_14074
$perfect_positionx = Car.GetHeading($202)
cset_var_int_to_var_float $perfect_positiony =# $perfect_positionx
if 
  $perfect_positiony == 0
goto_if_false @DSKOOL_14122
$time_score = 100
goto @DSKOOL_14415

:DSKOOL_14122
if 
  $perfect_positiony == 360
goto_if_false @DSKOOL_14155
$time_score = 100
goto @DSKOOL_14415

:DSKOOL_14155
if 
  $perfect_positiony > 0
goto_if_false @DSKOOL_14198
if 
  21 > $perfect_positiony
goto_if_false @DSKOOL_14198
$time_score = 100

:DSKOOL_14198
if 
  $perfect_positiony > 179
goto_if_false @DSKOOL_14285
if 
  340 > $perfect_positiony
goto_if_false @DSKOOL_14285
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 180
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 0.62
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @DSKOOL_14415

:DSKOOL_14285
if 
  $perfect_positiony > 339
goto_if_false @DSKOOL_14330
if 
  360 > $perfect_positiony
goto_if_false @DSKOOL_14330
$time_score = 100

:DSKOOL_14330
if 
  $perfect_positiony > 20
goto_if_false @DSKOOL_14415
if 
  180 > $perfect_positiony
goto_if_false @DSKOOL_14415
cset_var_float_to_var_int $circle_start_x =# $perfect_positiony
$circle_start_x *= 0.62
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @DSKOOL_14415

:DSKOOL_14415
if 
  1 > $time_score
goto_if_false @DSKOOL_14440
$time_score = 0

:DSKOOL_14440
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @DSKOOL_14488
$variabled = 0

:DSKOOL_14488
gosub @DSKOOL_33657
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $f1_the360_best_score
goto_if_false @DSKOOL_14558
set_lvar_int_to_var_int 47@ = $f1_the360_best_score
set_var_int_to_var_int $f1_the360_best_score = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_14565

:DSKOOL_14558
45@ = 0

:DSKOOL_14565
if 
  $trigger_final_LA1_missions == 9
goto_if_false @DSKOOL_14629
if 
  $variabled > 69
goto_if_false @DSKOOL_14629
41@ = 2
$trigger_final_LA1_missions = 10
$noticeboard_z = 2
50@ = 10

:DSKOOL_14629
TIMERA = 0

:DSKOOL_14636
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_14747
if 
is_japanese_version 
goto_if_false @DSKOOL_14716
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_14709
$noticeboard_z = 2
goto @DSKOOL_14793

:DSKOOL_14709
goto @DSKOOL_14747

:DSKOOL_14716
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_14747
$noticeboard_z = 2
goto @DSKOOL_14793

:DSKOOL_14747
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_14786
goto @DSKOOL_14793

:DSKOOL_14786
goto @DSKOOL_14636

:DSKOOL_14793
gosub @DSKOOL_37057
Object.Delete(59@)
gosub @DSKOOL_37341
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_14846
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_14853

:DSKOOL_14846
goto @DSKOOL_13338

:DSKOOL_14853
goto @DSKOOL_13661

:DSKOOL_14860
if 
  $instructor_car_heading == 10
goto_if_false @DSKOOL_16809

:DSKOOL_14878
gosub @DSKOOL_31688

:DSKOOL_14885
$dummy_car2_health = 270.0
$perfect_positionz = 6000
gosub @DSKOOL_31797
set_var_float_to_var_float $circle_start_y = $players_distance_from_perfectpos
$circle_start_y += 6.0
set_var_float_to_var_float $cone_coords_x = $instructor_car_health
$cone_coords_x -= 75.0
$trafficcone_counter = Car.Create(429, $circle_start_y, $cone_coords_x, $dummy_car1_health)
Car.SetHeading($trafficcone_counter, $dummy_car2_health)
Car.FreezePosition($trafficcone_counter, True)
set_var_float_to_var_float $circle_start_y = $players_distance_from_perfectpos
$circle_start_y -= 6.0
set_var_float_to_var_float $cone_coords_x = $instructor_car_health
$cone_coords_x -= 75.0
$trafficcones = Car.Create(429, $circle_start_y, $cone_coords_x, $dummy_car1_health)
Car.SetHeading($trafficcones, $dummy_car2_health)
Car.FreezePosition($trafficcones, True)
set_var_float_to_var_float $circle_start_y = $players_distance_from_perfectpos
set_var_float_to_var_float $cone_coords_x = $instructor_car_health
$202 = Car.Create(429, $circle_start_y, $cone_coords_x, $dummy_car1_health)
Car.SetHeading($202, 180.0)
if 
  34@ == 0
goto_if_false @DSKOOL_15184
Camera.SetFixedPosition(-2045.8, -210.5, 35.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2053.5, -198.1, 34.2, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_15182
55@ = Char.CreateRandomAsDriver($202)

:DSKOOL_15182
return 

:DSKOOL_15184
Text.ClearPrints
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_1', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_15225
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_15260
$noticeboard_z = 2
goto @DSKOOL_16744

:DSKOOL_15260
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_15292
goto @DSKOOL_26200

:DSKOOL_15292
if 
  $car_timer == 0
goto_if_false @DSKOOL_15374
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_15360
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_1', 5000, 4)

:DSKOOL_15360
gosub @DSKOOL_32683
goto @DSKOOL_16802

:DSKOOL_15374
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_16802
gosub @DSKOOL_33298
if 
  Car.IsStopped($202)
goto_if_false @DSKOOL_16802
gosub @DSKOOL_33332
$instructor_car_health -= 75.0
$x, $y, $z = Car.GetCoordinates($202)
$total_instructor_car_health = Math.GetDistanceBetweenCoords2D($x, $y, $players_distance_from_perfectpos, $instructor_car_health)
if 
  $total_instructor_car_health > 0.5
goto_if_false @DSKOOL_15567
if 
  5.0 > $total_instructor_car_health
goto_if_false @DSKOOL_15553
$total_instructor_car_health -= 0.5
$total_instructor_car_health *= 22.0
cset_var_int_to_var_float $car_posx =# $total_instructor_car_health
$overall_score = 100
sub_int_var_from_int_var $overall_score -= $car_posx
goto @DSKOOL_15560

:DSKOOL_15553
$overall_score = 0

:DSKOOL_15560
goto @DSKOOL_15574

:DSKOOL_15567
$overall_score = 100

:DSKOOL_15574
add_int_var_to_int_var $variabled += $overall_score
$perfect_positionx = Car.GetHeading($202)
cset_var_int_to_var_float $perfect_positiony =# $perfect_positionx
if 
  $perfect_positiony == 0
goto_if_false @DSKOOL_15630
$time_score = 0
goto @DSKOOL_16174

:DSKOOL_15630
if 
  $perfect_positiony == 90
goto_if_false @DSKOOL_15662
$time_score = 100
goto @DSKOOL_16174

:DSKOOL_15662
if 
  $perfect_positiony == 180
goto_if_false @DSKOOL_15695
$time_score = 0
goto @DSKOOL_16174

:DSKOOL_15695
if 
  $perfect_positiony == 270
goto_if_false @DSKOOL_15728
$time_score = 100
goto @DSKOOL_16174

:DSKOOL_15728
if 
  $perfect_positiony > 0
goto_if_false @DSKOOL_15797
if 
  85 > $perfect_positiony
goto_if_false @DSKOOL_15797
cset_var_float_to_var_int $circle_start_x =# $perfect_positiony
$circle_start_x *= 1.16
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @DSKOOL_16174

:DSKOOL_15797
if 
  $perfect_positiony > 84
goto_if_false @DSKOOL_15840
if 
  96 > $perfect_positiony
goto_if_false @DSKOOL_15840
$time_score = 100

:DSKOOL_15840
if 
  $perfect_positiony > 95
goto_if_false @DSKOOL_15940
if 
  180 > $perfect_positiony
goto_if_false @DSKOOL_15940
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 90
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 1.16
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @DSKOOL_16174

:DSKOOL_15940
if 
  $perfect_positiony > 180
goto_if_false @DSKOOL_16027
if 
  265 > $perfect_positiony
goto_if_false @DSKOOL_16027
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 180
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 1.16
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @DSKOOL_16174

:DSKOOL_16027
if 
  $perfect_positiony > 264
goto_if_false @DSKOOL_16072
if 
  276 > $perfect_positiony
goto_if_false @DSKOOL_16072
$time_score = 100

:DSKOOL_16072
if 
  $perfect_positiony > 275
goto_if_false @DSKOOL_16174
if 
  360 > $perfect_positiony
goto_if_false @DSKOOL_16174
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 270
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 1.16
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @DSKOOL_16174

:DSKOOL_16174
if 
  1 > $time_score
goto_if_false @DSKOOL_16199
$time_score = 0

:DSKOOL_16199
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @DSKOOL_16247
$variabled = 0

:DSKOOL_16247
gosub @DSKOOL_33567
$variablea = 200
if 
  not Car.IsDead($trafficcone_counter)
goto_if_false @DSKOOL_16334
$total_dummy_car2_health = Car.GetHealth($trafficcone_counter)
$player_car_damage = 1000
sub_int_var_from_int_var $player_car_damage -= $total_dummy_car2_health
$player_car_damage /= 10
if 
  $player_car_damage > 100
goto_if_false @DSKOOL_16334
$player_car_damage = 100

:DSKOOL_16334
if 
  not Car.IsDead($trafficcones)
goto_if_false @DSKOOL_16406
$heading_score = Car.GetHealth($trafficcones)
$other_car_damage = 1000
sub_int_var_from_int_var $other_car_damage -= $heading_score
$other_car_damage /= 10
if 
  $other_car_damage > 100
goto_if_false @DSKOOL_16406
$other_car_damage = 100

:DSKOOL_16406
set_var_int_to_var_int $variablea = $player_car_damage
add_int_var_to_int_var $variablea += $other_car_damage
set_var_int_to_var_int $variableb = $total_car_damage
add_int_var_to_int_var $variableb += $variablea
sub_int_var_from_int_var $variabled -= $variableb
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $f1_burnlapleft_best_score
goto_if_false @DSKOOL_16509
set_lvar_int_to_var_int 47@ = $f1_burnlapleft_best_score
set_var_int_to_var_int $f1_burnlapleft_best_score = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_16516

:DSKOOL_16509
45@ = 0

:DSKOOL_16516
if 
  $trigger_final_LA1_missions == 10
goto_if_false @DSKOOL_16580
if 
  $variabled > 69
goto_if_false @DSKOOL_16580
41@ = 2
$trigger_final_LA1_missions = 11
$noticeboard_z = 2
50@ = 11

:DSKOOL_16580
TIMERA = 0

:DSKOOL_16587
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_16698
if 
is_japanese_version 
goto_if_false @DSKOOL_16667
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_16660
$noticeboard_z = 2
goto @DSKOOL_16744

:DSKOOL_16660
goto @DSKOOL_16698

:DSKOOL_16667
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_16698
$noticeboard_z = 2
goto @DSKOOL_16744

:DSKOOL_16698
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_16737
goto @DSKOOL_16744

:DSKOOL_16737
goto @DSKOOL_16587

:DSKOOL_16744
gosub @DSKOOL_37057
Car.Delete($trafficcone_counter)
Car.Delete($trafficcones)
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_16795
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_16802

:DSKOOL_16795
goto @DSKOOL_14878

:DSKOOL_16802
goto @DSKOOL_15225

:DSKOOL_16809
if 
  $instructor_car_heading == 11
goto_if_false @DSKOOL_18464

:DSKOOL_16827
gosub @DSKOOL_31688

:DSKOOL_16834
$dummy_car2_health = 180.0
$perfect_positionz = 0
gosub @DSKOOL_31797
$202 = Car.Create(429, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading($202, $dummy_car2_health)
set_var_float_to_var_float $circle_start_y = $players_distance_from_perfectpos
$circle_start_y += 1.0
set_var_float_to_var_float $cone_coords_x = $instructor_car_health
$cone_coords_x -= 25.0
$dummy_car2_health = 90.0
58@ = Object.Create(#GARYS_LUV_RAMP, $circle_start_y, $cone_coords_x, $dummy_car1_health)
Object.SetHeading(58@, 270.0)
$area_check2ax, $area_check2ay, $z = Car.GetOffsetInWorldCoords($202, -50.0, 30.0, 0.0)
$area_check2bx, $area_check2by, $z = Car.GetOffsetInWorldCoords($202, 50.0, 200.0, 0.0)
if 
  34@ == 0
goto_if_false @DSKOOL_17109
Camera.SetFixedPosition(-2052.6, -138.4, 34.9, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2044.2, -208.2, 37.1, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_17107
55@ = Char.CreateRandomAsDriver($202)

:DSKOOL_17107
return 

:DSKOOL_17109
Text.ClearPrints
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords($202, 0.0, 100.0, 0.0)
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_34', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_17179
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_17214
$noticeboard_z = 2
goto @DSKOOL_18404

:DSKOOL_17214
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_17246
goto @DSKOOL_26200

:DSKOOL_17246
if 
  $car_timer == 0
goto_if_false @DSKOOL_17328
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_17314
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_34', 5000, 4)

:DSKOOL_17314
gosub @DSKOOL_32683
goto @DSKOOL_18457

:DSKOOL_17328
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_18457
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $area_check1ax, $area_check1ay, $dummy_car1_health, 4.0, 4.0, 4.0, True)
goto_if_false @DSKOOL_17386

:DSKOOL_17386
if 
  Car.IsInArea2D($202, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @DSKOOL_17473
$circle_start_x = Car.GetRoll($202)
if 
  4.0 > $circle_start_x
goto_if_false @DSKOOL_17473
if 
  $circle_start_x > -4.0
goto_if_false @DSKOOL_17473
Player.ApplyBrakesToCar($statbike_temp, True)

:DSKOOL_17473
if 
  Car.IsStopped($202)
goto_if_false @DSKOOL_18457
gosub @DSKOOL_33332
if 
  Car.IsStopped($202)
goto_if_false @DSKOOL_18457
gosub @DSKOOL_33332
set_var_float_to_var_float $players_distance_from_perfectpos = $area_check1ax
set_var_float_to_var_float $instructor_car_health = $area_check1ay
$x, $y, $z = Car.GetCoordinates($202)
$total_instructor_car_health = Math.GetDistanceBetweenCoords2D($x, $y, $players_distance_from_perfectpos, $instructor_car_health)
if 
  $total_instructor_car_health > 1.0
goto_if_false @DSKOOL_17672
if 
  10.0 > $total_instructor_car_health
goto_if_false @DSKOOL_17658
$total_instructor_car_health -= 1.0
$total_instructor_car_health *= 11.0
cset_var_int_to_var_float $car_posx =# $total_instructor_car_health
$overall_score = 100
sub_int_var_from_int_var $overall_score -= $car_posx
goto @DSKOOL_17665

:DSKOOL_17658
$overall_score = 0

:DSKOOL_17665
goto @DSKOOL_17679

:DSKOOL_17672
$overall_score = 100

:DSKOOL_17679
$perfect_positionx = Car.GetHeading($202)
cset_var_int_to_var_float $perfect_positiony =# $perfect_positionx
if 
  $perfect_positiony == 0
goto_if_false @DSKOOL_17727
$time_score = 0
goto @DSKOOL_18010

:DSKOOL_17727
if 
  $perfect_positiony == 180
goto_if_false @DSKOOL_17760
$time_score = 100
goto @DSKOOL_18010

:DSKOOL_17760
if 
  $perfect_positiony == 360
goto_if_false @DSKOOL_17793
$time_score = 0
goto @DSKOOL_18010

:DSKOOL_17793
if 
  $perfect_positiony > 0
goto_if_false @DSKOOL_17863
if 
  175 > $perfect_positiony
goto_if_false @DSKOOL_17863
cset_var_float_to_var_int $circle_start_x =# $perfect_positiony
$circle_start_x *= 0.56
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @DSKOOL_18010

:DSKOOL_17863
if 
  $perfect_positiony > 174
goto_if_false @DSKOOL_17908
if 
  186 > $perfect_positiony
goto_if_false @DSKOOL_17908
$time_score = 100

:DSKOOL_17908
if 
  $perfect_positiony > 185
goto_if_false @DSKOOL_18010
if 
  360 > $perfect_positiony
goto_if_false @DSKOOL_18010
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 180
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 0.56
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @DSKOOL_18010

:DSKOOL_18010
if 
  1 > $time_score
goto_if_false @DSKOOL_18035
$time_score = 0

:DSKOOL_18035
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @DSKOOL_18083
$variabled = 0

:DSKOOL_18083
gosub @DSKOOL_33567
set_var_int_to_var_int $variableb = $total_car_damage
sub_int_var_from_int_var $variabled -= $variableb
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $f1_the180_best_score
goto_if_false @DSKOOL_18169
set_lvar_int_to_var_int 47@ = $f1_the180_best_score
set_var_int_to_var_int $f1_the180_best_score = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_18176

:DSKOOL_18169
45@ = 0

:DSKOOL_18176
if 
  $trigger_final_LA1_missions == 11
goto_if_false @DSKOOL_18240
if 
  $variabled > 69
goto_if_false @DSKOOL_18240
41@ = 2
$trigger_final_LA1_missions = 13
$noticeboard_z = 2
50@ = 13

:DSKOOL_18240
TIMERA = 0

:DSKOOL_18247
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_18358
if 
is_japanese_version 
goto_if_false @DSKOOL_18327
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_18320
$noticeboard_z = 2
goto @DSKOOL_18404

:DSKOOL_18320
goto @DSKOOL_18358

:DSKOOL_18327
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_18358
$noticeboard_z = 2
goto @DSKOOL_18404

:DSKOOL_18358
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_18397
goto @DSKOOL_18404

:DSKOOL_18397
goto @DSKOOL_18247

:DSKOOL_18404
gosub @DSKOOL_37057
Object.Delete(58@)
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_18450
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_18457

:DSKOOL_18450
goto @DSKOOL_16827

:DSKOOL_18457
goto @DSKOOL_17179

:DSKOOL_18464
if or
  $instructor_car_heading == 12
  $instructor_car_heading == 13
goto_if_false @DSKOOL_19924

:DSKOOL_18489
gosub @DSKOOL_31688

:DSKOOL_18496
$dummy_car2_health = 0.0
$perfect_positionz = 6000
gosub @DSKOOL_31797
$202 = Car.Create(420, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading($202, $dummy_car2_health)
Car.SetFreebies($202, False)
gosub @DSKOOL_37395
if 
  34@ == 0
goto_if_false @DSKOOL_18655
Camera.SetFixedPosition(-2051.9, -185.5, 37.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2052.2, -152.9, 34.3, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_18653
55@ = Char.CreateRandomAsDriver($202)

:DSKOOL_18653
return 

:DSKOOL_18655
if 
  $instructor_car_heading == 12
goto_if_false @DSKOOL_18709
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords($202, 6.5, -40.0, 0.0)
goto @DSKOOL_18738

:DSKOOL_18709
$start_coordsx, $start_coordsy, $dummy_car1_health = Car.GetOffsetInWorldCoords($202, -6.5, -40.0, 0.0)

:DSKOOL_18738
Text.ClearPrints
Text.PrintBig('DSREVE', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_28', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_18779
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_18814
$noticeboard_z = 2
goto @DSKOOL_19862

:DSKOOL_18814
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_18846
goto @DSKOOL_26200

:DSKOOL_18846
if 
  $car_timer == 0
goto_if_false @DSKOOL_18928
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_18914
Text.PrintBig('DSREVE', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_28', 5000, 4)

:DSKOOL_18914
gosub @DSKOOL_32683
goto @DSKOOL_19917

:DSKOOL_18928
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_19917
gosub @DSKOOL_33298
if 
  Car.IsStopped($202)
goto_if_false @DSKOOL_19917
gosub @DSKOOL_33332
if 
  $instructor_car_heading == 12
goto_if_false @DSKOOL_19015
set_var_float_to_var_float $players_distance_from_perfectpos = $area_check1ax
set_var_float_to_var_float $instructor_car_health = $area_check1ay
goto @DSKOOL_19031

:DSKOOL_19015
set_var_float_to_var_float $players_distance_from_perfectpos = $start_coordsx
set_var_float_to_var_float $instructor_car_health = $start_coordsy

:DSKOOL_19031
gosub @DSKOOL_33413
if 
  $instructor_car_heading == 12
goto_if_false @DSKOOL_19108
if 
  not Car.IsInArea2D($202, -2046.9, -161.4, -2041.2, -174.5, False)
goto_if_false @DSKOOL_19101
$overall_score = 0

:DSKOOL_19101
goto @DSKOOL_19153

:DSKOOL_19108
if 
  not Car.IsInArea2D($202, -2054.2, -161.4, -2060.0, -174.5, False)
goto_if_false @DSKOOL_19153
$overall_score = 0

:DSKOOL_19153
$perfect_positionx = Car.GetHeading($202)
cset_var_int_to_var_float $perfect_positiony =# $perfect_positionx
if 
  $perfect_positiony == 0
goto_if_false @DSKOOL_19201
$time_score = 0
goto @DSKOOL_19484

:DSKOOL_19201
if 
  $perfect_positiony == 180
goto_if_false @DSKOOL_19234
$time_score = 100
goto @DSKOOL_19484

:DSKOOL_19234
if 
  $perfect_positiony == 360
goto_if_false @DSKOOL_19267
$time_score = 0
goto @DSKOOL_19484

:DSKOOL_19267
if 
  $perfect_positiony > 0
goto_if_false @DSKOOL_19337
if 
  175 > $perfect_positiony
goto_if_false @DSKOOL_19337
cset_var_float_to_var_int $circle_start_x =# $perfect_positiony
$circle_start_x *= 0.56
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @DSKOOL_19484

:DSKOOL_19337
if 
  $perfect_positiony > 174
goto_if_false @DSKOOL_19382
if 
  186 > $perfect_positiony
goto_if_false @DSKOOL_19382
$time_score = 100

:DSKOOL_19382
if 
  $perfect_positiony > 185
goto_if_false @DSKOOL_19484
if 
  360 > $perfect_positiony
goto_if_false @DSKOOL_19484
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 180
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 0.56
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @DSKOOL_19484

:DSKOOL_19484
if 
  1 > $time_score
goto_if_false @DSKOOL_19509
$time_score = 0

:DSKOOL_19509
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @DSKOOL_19557
$variabled = 0

:DSKOOL_19557
gosub @DSKOOL_33657
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $f1_popcontrol_best_score
goto_if_false @DSKOOL_19627
set_lvar_int_to_var_int 47@ = $f1_popcontrol_best_score
set_var_int_to_var_int $f1_popcontrol_best_score = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_19634

:DSKOOL_19627
45@ = 0

:DSKOOL_19634
if 
  $trigger_final_LA1_missions == 13
goto_if_false @DSKOOL_19698
if 
  $variabled > 69
goto_if_false @DSKOOL_19698
41@ = 2
$trigger_final_LA1_missions = 14
$noticeboard_z = 2
50@ = 14

:DSKOOL_19698
TIMERA = 0

:DSKOOL_19705
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_19816
if 
is_japanese_version 
goto_if_false @DSKOOL_19785
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_19778
$noticeboard_z = 2
goto @DSKOOL_19862

:DSKOOL_19778
goto @DSKOOL_19816

:DSKOOL_19785
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_19816
$noticeboard_z = 2
goto @DSKOOL_19862

:DSKOOL_19816
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_19855
goto @DSKOOL_19862

:DSKOOL_19855
goto @DSKOOL_19705

:DSKOOL_19862
gosub @DSKOOL_37057
gosub @DSKOOL_37341
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_19910
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_19917

:DSKOOL_19910
goto @DSKOOL_18489

:DSKOOL_19917
goto @DSKOOL_18779

:DSKOOL_19924
if 
  $instructor_car_heading == 14
goto_if_false @DSKOOL_21682

:DSKOOL_19942
gosub @DSKOOL_31688

:DSKOOL_19949
$dummy_car2_health = 180.0
$perfect_positionz = 0
gosub @DSKOOL_31797
$202 = Car.Create(597, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading($202, $dummy_car2_health)
Car.SetFreebies($202, False)
set_var_float_to_var_float $circle_start_y = $players_distance_from_perfectpos
set_var_float_to_var_float $cone_coords_x = $instructor_car_health
$cone_coords_x -= 10.0
$trafficcone_counter = Car.Create(597, $circle_start_y, $cone_coords_x, $dummy_car1_health)
Car.SetHeading($trafficcone_counter, $dummy_car2_health)
56@ = Char.CreateRandomAsDriver($trafficcone_counter)
Car.SetCruiseSpeed($trafficcone_counter, 0.0)
59@ = Object.Create(#AD_ROADMARK2, -2045.0, -177.5, 34.35)
Object.SetHeading(59@, 180.0)
57@ = Object.Create(#AD_ROADMARK2, -2057.0, -177.5, 34.35)
$area_check2ax, $area_check2ay, $z = Car.GetOffsetInWorldCoords($202, -12.0, -4.0, 0.0)
$area_check2bx, $area_check2by, $z = Car.GetOffsetInWorldCoords($202, 12.0, 100.0, 0.0)
if 
  34@ == 0
goto_if_false @DSKOOL_20288
Camera.SetFixedPosition(-2047.0, -220.2, 36.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2050.2, -193.9, 32.5, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_20286
55@ = Char.CreateInsideCar($202, PedType.Mission1, 281)

:DSKOOL_20286
return 

:DSKOOL_20288
Text.ClearPrints
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_35', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_20329
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_20364
$noticeboard_z = 2
goto @DSKOOL_21607

:DSKOOL_20364
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_20396
goto @DSKOOL_26200

:DSKOOL_20396
if 
  $car_timer == 0
goto_if_false @DSKOOL_20478
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_20464
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_35', 5000, 4)

:DSKOOL_20464
gosub @DSKOOL_32683
goto @DSKOOL_21675

:DSKOOL_20478
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_21675
if 
  not Car.IsDead($trafficcone_counter)
goto_if_false @DSKOOL_21675
if 
  not Car.IsInArea2D($trafficcone_counter, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @DSKOOL_20554
Car.FreezePosition($trafficcone_counter, True)
Player.SetControl($statbike_temp, False)

:DSKOOL_20554
if 
  not Car.IsInArea2D($202, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @DSKOOL_20598
Car.FreezePosition($trafficcone_counter, True)
Player.SetControl($statbike_temp, False)

:DSKOOL_20598
$perfect_positionx = Car.GetHeading($trafficcone_counter)
if or
  $perfect_positionx > 340.0
  20.0 > $perfect_positionx
goto_if_false @DSKOOL_20651
Car.FreezePosition($trafficcone_counter, True)
Player.SetControl($statbike_temp, False)

:DSKOOL_20651
if 
  Car.IsStopped($202)
goto_if_false @DSKOOL_21675
Car.FreezePosition($trafficcone_counter, True)
gosub @DSKOOL_33332
$players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health = Car.GetCoordinates($trafficcone_counter)
$x, $y, $z = Car.GetCoordinates($202)
$total_instructor_car_health = Math.GetDistanceBetweenCoords2D($x, $y, $players_distance_from_perfectpos, $instructor_car_health)
if 
  $total_instructor_car_health > 4.0
goto_if_false @DSKOOL_20832
if 
  11.0 > $total_instructor_car_health
goto_if_false @DSKOOL_20818
$total_instructor_car_health -= 4.0
$total_instructor_car_health *= 14.14
cset_var_int_to_var_float $car_posx =# $total_instructor_car_health
$overall_score = 100
sub_int_var_from_int_var $overall_score -= $car_posx
goto @DSKOOL_20825

:DSKOOL_20818
$overall_score = 0

:DSKOOL_20825
goto @DSKOOL_20839

:DSKOOL_20832
$overall_score = 100

:DSKOOL_20839
add_int_var_to_int_var $variabled += $overall_score
$perfect_positionx = Car.GetHeading($trafficcone_counter)
cset_var_int_to_var_float $perfect_positiony =# $perfect_positionx
if 
  $perfect_positiony == 0
goto_if_false @DSKOOL_20895
$time_score = 100
goto @DSKOOL_21188

:DSKOOL_20895
if 
  $perfect_positiony == 360
goto_if_false @DSKOOL_20928
$time_score = 100
goto @DSKOOL_21188

:DSKOOL_20928
if 
  $perfect_positiony > 0
goto_if_false @DSKOOL_20971
if 
  21 > $perfect_positiony
goto_if_false @DSKOOL_20971
$time_score = 100

:DSKOOL_20971
if 
  $perfect_positiony > 179
goto_if_false @DSKOOL_21058
if 
  340 > $perfect_positiony
goto_if_false @DSKOOL_21058
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 180
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 0.62
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @DSKOOL_21188

:DSKOOL_21058
if 
  $perfect_positiony > 339
goto_if_false @DSKOOL_21103
if 
  360 > $perfect_positiony
goto_if_false @DSKOOL_21103
$time_score = 100

:DSKOOL_21103
if 
  $perfect_positiony > 20
goto_if_false @DSKOOL_21188
if 
  180 > $perfect_positiony
goto_if_false @DSKOOL_21188
cset_var_float_to_var_int $circle_start_x =# $perfect_positiony
$circle_start_x *= 0.62
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @DSKOOL_21188

:DSKOOL_21188
if 
  1 > $time_score
goto_if_false @DSKOOL_21213
$time_score = 0

:DSKOOL_21213
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @DSKOOL_21261
$variabled = 0

:DSKOOL_21261
gosub @DSKOOL_33567
if 
  3 > $total_car_damage
goto_if_false @DSKOOL_21293
$total_car_damage = 0

:DSKOOL_21293
set_var_int_to_var_int $variableb = $total_car_damage
sub_int_var_from_int_var $variabled -= $variableb
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $camera_secret_help
goto_if_false @DSKOOL_21372
set_lvar_int_to_var_int 47@ = $camera_secret_help
set_var_int_to_var_int $camera_secret_help = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_21379

:DSKOOL_21372
45@ = 0

:DSKOOL_21379
if 
  $trigger_final_LA1_missions == 14
goto_if_false @DSKOOL_21443
if 
  $variabled > 69
goto_if_false @DSKOOL_21443
41@ = 2
$trigger_final_LA1_missions = 15
$noticeboard_z = 2
50@ = 15

:DSKOOL_21443
TIMERA = 0

:DSKOOL_21450
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_21561
if 
is_japanese_version 
goto_if_false @DSKOOL_21530
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_21523
$noticeboard_z = 2
goto @DSKOOL_21607

:DSKOOL_21523
goto @DSKOOL_21561

:DSKOOL_21530
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_21561
$noticeboard_z = 2
goto @DSKOOL_21607

:DSKOOL_21561
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_21600
goto @DSKOOL_21607

:DSKOOL_21600
goto @DSKOOL_21450

:DSKOOL_21607
gosub @DSKOOL_37057
Car.Delete($trafficcone_counter)
Object.Delete(59@)
Object.Delete(57@)
Char.Delete(56@)
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_21668
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_21675

:DSKOOL_21668
goto @DSKOOL_19942

:DSKOOL_21675
goto @DSKOOL_20329

:DSKOOL_21682
if 
  $instructor_car_heading == 15
goto_if_false @DSKOOL_24385

:DSKOOL_21700
gosub @DSKOOL_31688

:DSKOOL_21707
$dummy_car2_health = 180.0
$perfect_positionz = 6000
gosub @DSKOOL_31797
set_var_float_to_var_float $cone_coords_x = $instructor_car_health
$cone_coords_x += 20.0
$202 = Car.Create(429, $players_distance_from_perfectpos, $cone_coords_x, $dummy_car1_health)
Car.SetHeading($202, $dummy_car2_health)
Car.SetCanBeVisiblyDamaged($202, False)
set_var_float_to_var_float $circle_start_y = $players_distance_from_perfectpos
set_var_float_to_var_float $cone_coords_x = $instructor_car_health
$cone_coords_x -= 55.0
$dummy_car2_health = 90.0
57@ = Object.Create(#AD_JUMP, $circle_start_y, $cone_coords_x, $dummy_car1_health)
Object.SetHeading(57@, 180.0)
set_var_float_to_var_float $cone_coords_x = $instructor_car_health
$cone_coords_x -= 75.0
$trafficcone_counter = Car.Create(411, $circle_start_y, $cone_coords_x, $dummy_car1_health)
Car.SetHeading($trafficcone_counter, $dummy_car2_health)
Car.FreezePosition($trafficcone_counter, True)
set_var_float_to_var_float $cone_coords_x = $instructor_car_health
$cone_coords_x -= 80.0
$trafficcones = Car.Create(411, $circle_start_y, $cone_coords_x, $dummy_car1_health)
Car.SetHeading($trafficcones, $dummy_car2_health)
Car.FreezePosition($trafficcones, True)
if 
  34@ == 0
goto_if_false @DSKOOL_22040
Camera.SetFixedPosition(-2061.2, -158.9, 37.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2040.3, -197.0, 35.1, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_22038
55@ = Char.CreateRandomAsDriver($202)

:DSKOOL_22038
return 

:DSKOOL_22040
Text.ClearPrints
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_33', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_22081
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_22116
$noticeboard_z = 2
goto @DSKOOL_24315

:DSKOOL_22116
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_22148
goto @DSKOOL_26200

:DSKOOL_22148
if 
  $car_timer == 0
goto_if_false @DSKOOL_22230
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_22216
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_33', 5000, 4)

:DSKOOL_22216
gosub @DSKOOL_32683
goto @DSKOOL_24378

:DSKOOL_22230
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_24378
gosub @DSKOOL_33298
if 
  $perfect_heading == 0
goto_if_false @DSKOOL_22326
if 
  Car.IsInArea3D($202, -2047.0, -186.0, 37.2, -2054.0, -190.0, 39.0, False)
goto_if_false @DSKOOL_22326
$perfect_heading = 1

:DSKOOL_22326
if 
  $perfect_heading == 1
goto_if_false @DSKOOL_22406
Car.SetHealth($202, 1000)
if 
  not Car.IsInAirProper($202)
goto_if_false @DSKOOL_22406
if 
  Car.IsUpsidedown($202)
goto_if_false @DSKOOL_22406
Car.SetHealth($202, 700)
Car.SetCanBeVisiblyDamaged($202, True)
$perfect_heading = 2

:DSKOOL_22406
if 
  not Car.IsInAirProper($202)
goto_if_false @DSKOOL_22445
if 
  Car.IsUpsidedown($202)
goto_if_false @DSKOOL_22445
Player.ApplyBrakesToCar($statbike_temp, True)

:DSKOOL_22445
if 
  not Car.IsInArea2D($202, -2042.0, -100.0, -2058.0, -280.0, False)
goto_if_false @DSKOOL_22490
Player.SetControl($statbike_temp, False)

:DSKOOL_22490
$perfect_positionx = Car.GetHeading($202)
if or
  $perfect_positionx > 200.0
  160.0 > $perfect_positionx
goto_if_false @DSKOOL_22539
$circle_start_x = 1.0

:DSKOOL_22539
36@ = Car.GetRoll($202)
if 
  37@ == 0
goto_if_false @DSKOOL_22621
if 
  36@ > 5.0
goto_if_false @DSKOOL_22593
38@ = 1

:DSKOOL_22593
if 
  -5.0 > 36@
goto_if_false @DSKOOL_22621
38@ = 2

:DSKOOL_22621
if 
  38@ == 1
goto_if_false @DSKOOL_22960
if 
  37@ == 0
goto_if_false @DSKOOL_22685
if 
  36@ > 90.0
goto_if_false @DSKOOL_22685
37@ = 1

:DSKOOL_22685
if 
  37@ == 1
goto_if_false @DSKOOL_22731
if 
  36@ > 170.0
goto_if_false @DSKOOL_22731
37@ = 2

:DSKOOL_22731
if 
  37@ == 2
goto_if_false @DSKOOL_22798
if 
  0.0 > 36@
goto_if_false @DSKOOL_22798
if 
  36@ > -170.0
goto_if_false @DSKOOL_22798
37@ = 3

:DSKOOL_22798
if 
  37@ == 3
goto_if_false @DSKOOL_22893
if 
  0.0 > 36@
goto_if_false @DSKOOL_22865
if 
  36@ > -90.0
goto_if_false @DSKOOL_22865
37@ = 4

:DSKOOL_22865
if 
  36@ > 10.0
goto_if_false @DSKOOL_22893
37@ = 0

:DSKOOL_22893
if 
  37@ == 4
goto_if_false @DSKOOL_22960
if 
  0.0 > 36@
goto_if_false @DSKOOL_22960
if 
  36@ > -5.0
goto_if_false @DSKOOL_22960
37@ = 5

:DSKOOL_22960
if 
  38@ == 2
goto_if_false @DSKOOL_23299
if 
  37@ == 0
goto_if_false @DSKOOL_23024
if 
  -90.0 > 36@
goto_if_false @DSKOOL_23024
37@ = 1

:DSKOOL_23024
if 
  37@ == 1
goto_if_false @DSKOOL_23070
if 
  -170.0 > 36@
goto_if_false @DSKOOL_23070
37@ = 2

:DSKOOL_23070
if 
  37@ == 2
goto_if_false @DSKOOL_23137
if 
  36@ > 0.0
goto_if_false @DSKOOL_23137
if 
  170.0 > 36@
goto_if_false @DSKOOL_23137
37@ = 3

:DSKOOL_23137
if 
  37@ == 3
goto_if_false @DSKOOL_23232
if 
  36@ > 0.0
goto_if_false @DSKOOL_23204
if 
  90.0 > 36@
goto_if_false @DSKOOL_23204
37@ = 4

:DSKOOL_23204
if 
  -10.0 > 36@
goto_if_false @DSKOOL_23232
37@ = 0

:DSKOOL_23232
if 
  37@ == 4
goto_if_false @DSKOOL_23299
if 
  36@ > 0.0
goto_if_false @DSKOOL_23299
if 
  5.0 > 36@
goto_if_false @DSKOOL_23299
37@ = 5

:DSKOOL_23299
if 
  Car.IsStopped($202)
goto_if_false @DSKOOL_24378
gosub @DSKOOL_33332
if 
  37@ == 5
goto_if_false @DSKOOL_23347
$overall_score = 100

:DSKOOL_23347
if 
  37@ == 4
goto_if_false @DSKOOL_23372
$overall_score = 80

:DSKOOL_23372
if 
  37@ == 3
goto_if_false @DSKOOL_23397
$overall_score = 60

:DSKOOL_23397
if 
  37@ == 2
goto_if_false @DSKOOL_23422
$overall_score = 40

:DSKOOL_23422
if 
  37@ == 1
goto_if_false @DSKOOL_23447
$overall_score = 20

:DSKOOL_23447
if 
  37@ == 0
goto_if_false @DSKOOL_23472
$overall_score = 0

:DSKOOL_23472
if 
  $perfect_heading == 0
goto_if_false @DSKOOL_23497
$overall_score = 0

:DSKOOL_23497
if 
  Car.IsUpsidedown($202)
goto_if_false @DSKOOL_23520
$overall_score = 0

:DSKOOL_23520
if 
  not Car.IsInArea2D($202, -2042.0, -215.0, -2058.0, -280.0, False)
goto_if_false @DSKOOL_23565
$overall_score = 0

:DSKOOL_23565
$perfect_positionx = Car.GetHeading($202)
cset_var_int_to_var_float $perfect_positiony =# $perfect_positionx
if 
  $perfect_positiony == 0
goto_if_false @DSKOOL_23613
$time_score = 0
goto @DSKOOL_23896

:DSKOOL_23613
if 
  $perfect_positiony == 180
goto_if_false @DSKOOL_23646
$time_score = 100
goto @DSKOOL_23896

:DSKOOL_23646
if 
  $perfect_positiony == 360
goto_if_false @DSKOOL_23679
$time_score = 0
goto @DSKOOL_23896

:DSKOOL_23679
if 
  $perfect_positiony > 0
goto_if_false @DSKOOL_23749
if 
  175 > $perfect_positiony
goto_if_false @DSKOOL_23749
cset_var_float_to_var_int $circle_start_x =# $perfect_positiony
$circle_start_x *= 0.56
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @DSKOOL_23896

:DSKOOL_23749
if 
  $perfect_positiony > 174
goto_if_false @DSKOOL_23794
if 
  186 > $perfect_positiony
goto_if_false @DSKOOL_23794
$time_score = 100

:DSKOOL_23794
if 
  $perfect_positiony > 185
goto_if_false @DSKOOL_23896
if 
  360 > $perfect_positiony
goto_if_false @DSKOOL_23896
set_var_int_to_var_int $car_posx = $perfect_positiony
$car_posx -= 180
cset_var_float_to_var_int $circle_start_x =# $car_posx
$circle_start_x *= 0.56
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @DSKOOL_23896

:DSKOOL_23896
if 
  1 > $time_score
goto_if_false @DSKOOL_23921
$time_score = 0

:DSKOOL_23921
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @DSKOOL_23969
$variabled = 0

:DSKOOL_23969
gosub @DSKOOL_33567
if 
  2 > $total_car_damage
goto_if_false @DSKOOL_24001
$total_car_damage = 0

:DSKOOL_24001
set_var_int_to_var_int $variableb = $total_car_damage
sub_int_var_from_int_var $variabled -= $variableb
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $f1_conecoilleft_best_score
goto_if_false @DSKOOL_24080
set_lvar_int_to_var_int 47@ = $f1_conecoilleft_best_score
set_var_int_to_var_int $f1_conecoilleft_best_score = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_24087

:DSKOOL_24080
45@ = 0

:DSKOOL_24087
if 
  $trigger_final_LA1_missions == 15
goto_if_false @DSKOOL_24151
if 
  $variabled > 69
goto_if_false @DSKOOL_24151
41@ = 2
$trigger_final_LA1_missions = 16
$noticeboard_z = 2
50@ = 16

:DSKOOL_24151
TIMERA = 0

:DSKOOL_24158
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_24269
if 
is_japanese_version 
goto_if_false @DSKOOL_24238
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_24231
$noticeboard_z = 2
goto @DSKOOL_24315

:DSKOOL_24231
goto @DSKOOL_24269

:DSKOOL_24238
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_24269
$noticeboard_z = 2
goto @DSKOOL_24315

:DSKOOL_24269
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_24308
goto @DSKOOL_24315

:DSKOOL_24308
goto @DSKOOL_24158

:DSKOOL_24315
gosub @DSKOOL_37057
Car.Delete($trafficcone_counter)
Car.Delete($trafficcones)
Object.Delete(57@)
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_24371
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_24378

:DSKOOL_24371
goto @DSKOOL_21700

:DSKOOL_24378
goto @DSKOOL_22081

:DSKOOL_24385
if 
  $instructor_car_heading == 16
goto_if_false @DSKOOL_26200

:DSKOOL_24403
gosub @DSKOOL_31688

:DSKOOL_24410
$dummy_car2_health = 180.0
$perfect_positionz = 0
gosub @DSKOOL_31797
$players_distance_from_perfectpos = -2046.7
$instructor_car_health = -90.2
$dummy_car1_health = 33.9
$lap1_secs = -1724.3
$lap1_millisecs = 1294.0
$overall_lap1 = 6.0
$202 = Car.Create(506, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading($202, 0.0)
Car.SetWatertight($202, True)
if 
  34@ == 0
goto_if_false @DSKOOL_24623
Camera.SetFixedPosition(-2017.3, -45.0, 34.41, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2039.0, -100.3, 37.4, SwitchType.JumpCut)
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_24621
55@ = Char.CreateRandomAsDriver($202)

:DSKOOL_24621
return 

:DSKOOL_24623
Text.ClearPrints
World.SetCarDensityMultiplier(0.5)
Streaming.LoadScene($players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
35@ = Blip.AddForCoord($lap1_secs, $lap1_millisecs, $overall_lap1)
42@ = Checkpoint.Create(CheckpointType.TubeArrow, $lap1_secs, $lap1_millisecs, $overall_lap1, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health, 5.0)
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_31', 5000, 4)
gosub @DSKOOL_32509

:DSKOOL_24726
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_24761
$noticeboard_z = 2
goto @DSKOOL_25879

:DSKOOL_24761
gosub @DSKOOL_32577
if 
  $noticeboard_z == 1
goto_if_false @DSKOOL_24793
goto @DSKOOL_26200

:DSKOOL_24793
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_24818
goto @DSKOOL_25879

:DSKOOL_24818
if 
  $car_timer == 0
goto_if_false @DSKOOL_24900
if 
  $noticeboard_z <> 2
goto_if_false @DSKOOL_24886
Text.PrintBig('DSTART', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DS1_31', 5000, 4)

:DSKOOL_24886
gosub @DSKOOL_32683
goto @DSKOOL_26193

:DSKOOL_24900
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_26193
if 
  $perfect_positionz > 260000
goto_if_false @DSKOOL_24944
Player.SetControl($statbike_temp, False)

:DSKOOL_24944
if 
  $perfect_heading == 0
goto_if_false @DSKOOL_25065
if 
  Car.Locate3D($202, $lap1_secs, $lap1_millisecs, $overall_lap1, 4.0, 4.0, 4.0, False)
goto_if_false @DSKOOL_25065
Blip.Remove(35@)
35@ = Blip.AddForCoord($players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Checkpoint.Delete(42@)
42@ = Checkpoint.Create(CheckpointType.TubeEnd, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health, 5.0)
$perfect_heading = 1

:DSKOOL_25065
if 
  $perfect_heading == 1
goto_if_false @DSKOOL_25137
if 
  Car.Locate3D($202, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health, 4.0, 4.0, 4.0, False)
goto_if_false @DSKOOL_25137
Blip.Remove(35@)
$perfect_heading = 2

:DSKOOL_25137
Text.ClearPrints
if or
  Car.IsStopped($202)
  $perfect_heading == 2
  Car.IsInWater($202)
  $perfect_positionz >= 140000
goto_if_false @DSKOOL_26193
gosub @DSKOOL_33332
Checkpoint.Delete(42@)
set_var_int_to_var_int $car_posx = $perfect_positionz
set_var_int_to_var_int $finish_rightx = $car_posx
$finish_rightx /= 1000
set_var_int_to_var_int $finish_righty = $finish_rightx
$finish_righty *= 1000
set_var_int_to_var_int $car_posy = $car_posx
sub_int_var_from_int_var $car_posy -= $finish_righty
set_var_int_to_var_int $finish_righty = $car_posy
$finish_righty /= 10
$variablec = 0
if 
  2 > $perfect_heading
goto_if_false @DSKOOL_25299
$variablec = 0
goto @DSKOOL_25557

:DSKOOL_25299
if 
  100000 > $car_posx
goto_if_false @DSKOOL_25327
$variablec = 100

:DSKOOL_25327
if 
  $car_posx >= 100000
goto_if_false @DSKOOL_25428
if 
  120000 > $car_posx
goto_if_false @DSKOOL_25428
set_var_int_to_var_int $car_posy = $car_posx
$car_posy -= 99999
cset_var_float_to_var_int $circle_start_x =# $car_posy
$circle_start_x *= 0.0015
cset_var_int_to_var_float $car_posx =# $circle_start_x
$variablec = 100
sub_int_var_from_int_var $variablec -= $car_posx

:DSKOOL_25428
if 
  $car_posx >= 120000
goto_if_false @DSKOOL_25529
if 
  140000 > $car_posx
goto_if_false @DSKOOL_25529
set_var_int_to_var_int $car_posy = $car_posx
$car_posy -= 119999
cset_var_float_to_var_int $circle_start_x =# $car_posy
$circle_start_x *= 0.0035
cset_var_int_to_var_float $car_posx =# $circle_start_x
$variablec = 70
sub_int_var_from_int_var $variablec -= $car_posx

:DSKOOL_25529
if 
  $car_posx >= 140000
goto_if_false @DSKOOL_25557
$variablec = 0

:DSKOOL_25557
if 
  1 > $variablec
goto_if_false @DSKOOL_25582
$variablec = 0

:DSKOOL_25582
if 
  $variablec > 99
goto_if_false @DSKOOL_25607
$variablec = 100

:DSKOOL_25607
set_var_int_to_var_int $variabled = $variablec
gosub @DSKOOL_33567
set_var_int_to_var_int $variableb = $total_car_damage
sub_int_var_from_int_var $variabled -= $variableb
gosub @DSKOOL_34280
if 
  is_int_var_greater_than_int_var $variabled > $f1_wheelieweave_best_score
goto_if_false @DSKOOL_25701
set_lvar_int_to_var_int 47@ = $f1_wheelieweave_best_score
set_var_int_to_var_int $f1_wheelieweave_best_score = $variabled
41@ = 1
gosub @DSKOOL_34762
goto @DSKOOL_25708

:DSKOOL_25701
45@ = 0

:DSKOOL_25708
$perfect_heading = 5
TIMERA = 0

:DSKOOL_25722
wait 0
gosub @DSKOOL_34309
if 
  41@ <> 2
goto_if_false @DSKOOL_25833
if 
is_japanese_version 
goto_if_false @DSKOOL_25802
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_25795
$noticeboard_z = 2
goto @DSKOOL_25879

:DSKOOL_25795
goto @DSKOOL_25833

:DSKOOL_25802
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DSKOOL_25833
$noticeboard_z = 2
goto @DSKOOL_25879

:DSKOOL_25833
gosub @DSKOOL_35062
gosub @DSKOOL_36873
if 
  $camera_positionx == 1
goto_if_false @DSKOOL_25872
goto @DSKOOL_25879

:DSKOOL_25872
goto @DSKOOL_25722

:DSKOOL_25879
if 
  $flag_kickstart_passed_1stime == 0
goto_if_false @DSKOOL_26128
if 
  $trigger_final_LA1_missions == 16
goto_if_false @DSKOOL_26128
if 
  $variabled > 69
goto_if_false @DSKOOL_26128
Camera.DoFade(500, Fade.Out)

:DSKOOL_25940
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_25964
wait 0
goto @DSKOOL_25940

:DSKOOL_25964
Streaming.SetAreaVisible(3)
Char.SetAreaVisible($stattreadstamina_ctr, 3)
World.ClearExtraColors(True)
Streaming.RequestCollision(-2031.1, -118.2)
Streaming.LoadScene(-2031.1, -118.2, 1034.2)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -2029.7, -115.5, 1034.2)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Car.Delete($202)
World.ClearArea(-2051.0, -174.0, 34.0, 300.0, True)
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(500, Fade.In)

:DSKOOL_26097
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_26121
wait 0
goto @DSKOOL_26097

:DSKOOL_26121
goto @DSKOOL_26243

:DSKOOL_26128
gosub @DSKOOL_37057
Blip.Remove(35@)
Checkpoint.Delete(42@)
World.SetCarDensityMultiplier(1.0)
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_26186
Text.ClearPrints
goto @DSKOOL_1425
goto @DSKOOL_26193

:DSKOOL_26186
goto @DSKOOL_24403

:DSKOOL_26193
goto @DSKOOL_24726

:DSKOOL_26200
Text.ClearPrints
if or
  $noticeboard_z == 1
  not Player.IsPlaying($statbike_temp)
goto_if_false @DSKOOL_26241
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)

:DSKOOL_26241
return 

:DSKOOL_26243
if 
  $flag_kickstart_passed_1stime == 0
goto_if_false @DSKOOL_26364
Blip.Remove($flag_heist_mission_counter)
$flag_heist_mission_counter = Blip.AddShortRangeSpriteForContactPoint($desert2_contact_blip, $casino_contact_blip, $vcrash_contact_blip, RadarSprite.School)
Blip.ChangeDisplay($flag_heist_mission_counter, BlipDisplay.BlipOnly)
CarGenerator.Switch($gen_car_flying, 101)
CarGenerator.Switch($5190, 101)
Text.ClearPrints
Text.PrintWithNumberBig('DS_PASS', 15, 5000, TextStyle.Middle)
Stat.IncrementFloat(StatId.DrivingSkill, 40.0)
Audio.PlayMissionPassedTune(2)
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('FAR_1')
Stat.PlayerMadeProgress(1)
$flag_kickstart_passed_1stime = 1

:DSKOOL_26364
return 

:DSKOOL_26366
if 
  $transmitter_overallhealth == 0
goto_if_false @DSKOOL_26614
if 
  $coord_1_x >= 70
goto_if_false @DSKOOL_26614
if 
  $one_thirtysecond >= 70
goto_if_false @DSKOOL_26614
if 
  $f1_pittechnique_best_score >= 70
goto_if_false @DSKOOL_26614
if 
  $f1_alleyoop_best_score >= 70
goto_if_false @DSKOOL_26614
if 
  $f1_whiprightterminate_best_score >= 70
goto_if_false @DSKOOL_26614
if 
  $f1_the360_best_score >= 70
goto_if_false @DSKOOL_26614
if 
  $f1_burnlapleft_best_score >= 70
goto_if_false @DSKOOL_26614
if 
  $f1_the180_best_score >= 70
goto_if_false @DSKOOL_26614
if 
  $f1_popcontrol_best_score >= 70
goto_if_false @DSKOOL_26614
if 
  $camera_secret_help >= 70
goto_if_false @DSKOOL_26614
if 
  $f1_conecoilleft_best_score >= 70
goto_if_false @DSKOOL_26614
if 
  $f1_wheelieweave_best_score >= 70
goto_if_false @DSKOOL_26614
CarGenerator.Switch($5182, 101)
$transmitter_overallhealth = 1

:DSKOOL_26614
if 
  $mission_countdown_zero1 == 0
goto_if_false @DSKOOL_26862
if 
  $coord_1_x >= 85
goto_if_false @DSKOOL_26862
if 
  $one_thirtysecond >= 85
goto_if_false @DSKOOL_26862
if 
  $f1_pittechnique_best_score >= 85
goto_if_false @DSKOOL_26862
if 
  $f1_alleyoop_best_score >= 85
goto_if_false @DSKOOL_26862
if 
  $f1_whiprightterminate_best_score >= 85
goto_if_false @DSKOOL_26862
if 
  $f1_the360_best_score >= 85
goto_if_false @DSKOOL_26862
if 
  $f1_burnlapleft_best_score >= 85
goto_if_false @DSKOOL_26862
if 
  $f1_the180_best_score >= 85
goto_if_false @DSKOOL_26862
if 
  $f1_popcontrol_best_score >= 85
goto_if_false @DSKOOL_26862
if 
  $camera_secret_help >= 85
goto_if_false @DSKOOL_26862
if 
  $f1_conecoilleft_best_score >= 85
goto_if_false @DSKOOL_26862
if 
  $f1_wheelieweave_best_score >= 85
goto_if_false @DSKOOL_26862
CarGenerator.Switch($f1_scripted_cut, 101)
$mission_countdown_zero1 = 1

:DSKOOL_26862
if 
  $timer_time_limit_converted_int == 0
goto_if_false @DSKOOL_27110
if 
  $coord_1_x == 100
goto_if_false @DSKOOL_27110
if 
  $one_thirtysecond == 100
goto_if_false @DSKOOL_27110
if 
  $f1_pittechnique_best_score == 100
goto_if_false @DSKOOL_27110
if 
  $f1_alleyoop_best_score == 100
goto_if_false @DSKOOL_27110
if 
  $f1_whiprightterminate_best_score == 100
goto_if_false @DSKOOL_27110
if 
  $f1_the360_best_score == 100
goto_if_false @DSKOOL_27110
if 
  $f1_burnlapleft_best_score == 100
goto_if_false @DSKOOL_27110
if 
  $f1_the180_best_score == 100
goto_if_false @DSKOOL_27110
if 
  $f1_popcontrol_best_score == 100
goto_if_false @DSKOOL_27110
if 
  $camera_secret_help == 100
goto_if_false @DSKOOL_27110
if 
  $f1_conecoilleft_best_score == 100
goto_if_false @DSKOOL_27110
if 
  $f1_wheelieweave_best_score == 100
goto_if_false @DSKOOL_27110
CarGenerator.Switch($f1_blood_car_gen, 101)
$timer_time_limit_converted_int = 1

:DSKOOL_27110
Hud.ClearTimer($perfect_positionz)
Text.UseCommands(False)
Weather.Release
Streaming.MarkModelAsNoLongerNeeded(429)
Streaming.MarkModelAsNoLongerNeeded(420)
Streaming.MarkModelAsNoLongerNeeded(#TRAFFICCONE)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(496)
Streaming.MarkModelAsNoLongerNeeded(411)
Streaming.MarkModelAsNoLongerNeeded(506)
Streaming.MarkModelAsNoLongerNeeded(597)
Streaming.MarkModelAsNoLongerNeeded(281)
Streaming.MarkModelAsNoLongerNeeded(#TEMP_STINGER2)
Streaming.MarkModelAsNoLongerNeeded(#GARYS_LUV_RAMP)
Streaming.MarkModelAsNoLongerNeeded(#AD_JUMP)
Streaming.MarkModelAsNoLongerNeeded(#AD_ROADMARK1)
Streaming.MarkModelAsNoLongerNeeded(#AD_ROADMARK2)
Streaming.MarkModelAsNoLongerNeeded(#AD_FINISH)
Path.SwitchRoadsBackToOriginal(-2015.37, -76.08, 10.0, -2078.3, -66.75, 50.0)
Camera.AllowFixedCollision(False)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1184)
Garage.Activate('BODLAWN')
Garage.Activate('MODLAST')
Garage.Activate('MDSSFSE')
if 
  $para_flare_Vz == 1
goto_if_false @DSKOOL_27324
Garage.Activate('MDS1SFS')
Garage.Activate('VECMOD')

:DSKOOL_27324
Game.SetNoResprays(False)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DSKOOL_27351
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:DSKOOL_27351
Game.ShutAllCharsUp(False)
Txd.Remove
World.SetCarDensityMultiplier(1.0)
Hud.Display(True)
Hud.DisplayRadar(True)
Blip.Remove(35@)
Checkpoint.Delete(42@)
Game.EnableAmbientCrime(True)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:DSKOOL_27402
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 225.0, 612.0, 438.0, 0, 0, 0, 44@)
if 
  43@ == 1
goto_if_false @DSKOOL_27524
if 
  255 > 44@
goto_if_false @DSKOOL_27517
44@ += 5
if 
  44@ > 255
goto_if_false @DSKOOL_27510
44@ = 255

:DSKOOL_27510
goto @DSKOOL_27524

:DSKOOL_27517
43@ = 2

:DSKOOL_27524
if 
  43@ == 3
goto_if_false @DSKOOL_27606
if 
  44@ > 0
goto_if_false @DSKOOL_27599
44@ -= 5
if 
  0 > 44@
goto_if_false @DSKOOL_27592
44@ = 0

:DSKOOL_27592
goto @DSKOOL_27606

:DSKOOL_27599
43@ = 0

:DSKOOL_27606
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 0.0, 640.0, 197.0, 0, 0, 0, 255)
gosub @DSKOOL_31626
Text.SetColor(255, 255, 255, 255)
if 
  $instructor_car_heading == 1
goto_if_false @DSKOOL_27718
Text.Display(322.0, 31.0, 'DS_P')
set_lvar_int_to_var_int 46@ = $coord_1_x
gosub @DSKOOL_29391

:DSKOOL_27718
if 
  $instructor_car_heading == 2
goto_if_false @DSKOOL_27772
Text.Display(322.0, 31.0, 'DS_O')
set_lvar_int_to_var_int 46@ = $one_thirtysecond
gosub @DSKOOL_29391

:DSKOOL_27772
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_27826
Text.Display(322.0, 31.0, 'DS_I')
set_lvar_int_to_var_int 46@ = $f1_pittechnique_best_score
gosub @DSKOOL_29391

:DSKOOL_27826
if 
  $instructor_car_heading == 4
goto_if_false @DSKOOL_27880
Text.Display(322.0, 31.0, 'DS_I')
set_lvar_int_to_var_int 46@ = $f1_pittechnique_best_score
gosub @DSKOOL_29391

:DSKOOL_27880
if 
  $instructor_car_heading == 5
goto_if_false @DSKOOL_27934
Text.Display(322.0, 31.0, 'DS_F')
set_lvar_int_to_var_int 46@ = $f1_alleyoop_best_score
gosub @DSKOOL_29391

:DSKOOL_27934
if 
  $instructor_car_heading == 6
goto_if_false @DSKOOL_27988
Text.Display(322.0, 31.0, 'DS_E')
set_lvar_int_to_var_int 46@ = $f1_whiprightterminate_best_score
gosub @DSKOOL_29391

:DSKOOL_27988
if 
  $instructor_car_heading == 7
goto_if_false @DSKOOL_28042
Text.Display(322.0, 31.0, 'DS_E')
set_lvar_int_to_var_int 46@ = $f1_whiprightterminate_best_score
gosub @DSKOOL_29391

:DSKOOL_28042
if 
  $instructor_car_heading == 8
goto_if_false @DSKOOL_28096
Text.Display(322.0, 31.0, 'DS_N')
set_lvar_int_to_var_int 46@ = $f1_the360_best_score
gosub @DSKOOL_29391

:DSKOOL_28096
if 
  $instructor_car_heading == 9
goto_if_false @DSKOOL_28150
Text.Display(322.0, 31.0, 'DS_N')
set_lvar_int_to_var_int 46@ = $f1_the360_best_score
gosub @DSKOOL_29391

:DSKOOL_28150
if 
  $instructor_car_heading == 10
goto_if_false @DSKOOL_28204
Text.Display(322.0, 31.0, 'DS_A')
set_lvar_int_to_var_int 46@ = $f1_burnlapleft_best_score
gosub @DSKOOL_29391

:DSKOOL_28204
if 
  $instructor_car_heading == 11
goto_if_false @DSKOOL_28258
Text.Display(322.0, 31.0, 'DS_K')
set_lvar_int_to_var_int 46@ = $f1_the180_best_score
gosub @DSKOOL_29391

:DSKOOL_28258
if 
  $instructor_car_heading == 12
goto_if_false @DSKOOL_28312
Text.Display(322.0, 31.0, 'DS_C')
set_lvar_int_to_var_int 46@ = $f1_popcontrol_best_score
gosub @DSKOOL_29391

:DSKOOL_28312
if 
  $instructor_car_heading == 13
goto_if_false @DSKOOL_28366
Text.Display(322.0, 31.0, 'DS_C')
set_lvar_int_to_var_int 46@ = $f1_popcontrol_best_score
gosub @DSKOOL_29391

:DSKOOL_28366
if 
  $instructor_car_heading == 14
goto_if_false @DSKOOL_28420
Text.Display(322.0, 31.0, 'DS_L')
set_lvar_int_to_var_int 46@ = $camera_secret_help
gosub @DSKOOL_29391

:DSKOOL_28420
if 
  $instructor_car_heading == 15
goto_if_false @DSKOOL_28474
Text.Display(322.0, 31.0, 'DS_J')
set_lvar_int_to_var_int 46@ = $f1_conecoilleft_best_score
gosub @DSKOOL_29391

:DSKOOL_28474
if 
  $instructor_car_heading == 16
goto_if_false @DSKOOL_28528
Text.Display(322.0, 31.0, 'DS_G')
set_lvar_int_to_var_int 46@ = $f1_wheelieweave_best_score
gosub @DSKOOL_29391

:DSKOOL_28528
gosub @DSKOOL_31448
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(105.0, 375.0, 'DS1_53')
if 
  39@ <> 1
goto_if_false @DSKOOL_28803
gosub @DSKOOL_31448
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(105.0, 325.0, 'DS1_54')
if 
  $trigger_final_LA1_missions <> 1
goto_if_false @DSKOOL_28745
gosub @DSKOOL_31448
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(105.0, 350.0, 'DS1_52')
goto @DSKOOL_28803

:DSKOOL_28745
gosub @DSKOOL_31448
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Radar)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(105.0, 350.0, 'DS1_52')

:DSKOOL_28803
gosub @DSKOOL_31448
Text.SetScale(1.45, 2.0)
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(70.0, 372.0, 'DS1_63')
if 
  39@ <> 1
goto_if_false @DSKOOL_29137
gosub @DSKOOL_31448
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.SetScale(1.45, 2.0)
Text.Display(70.0, 322.0, 'DS1_64')
if 
  $trigger_final_LA1_missions <> 1
goto_if_false @DSKOOL_29049
gosub @DSKOOL_31448
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.SetScale(1.45, 2.0)
Text.Display(61.4, 347.0, 'DS1_62')

:DSKOOL_29049
if 
  $trigger_final_LA1_missions == 1
goto_if_false @DSKOOL_29137
gosub @DSKOOL_31448
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.SetScale(1.45, 2.0)
Text.Display(61.4, 347.0, 'DS1_62')

:DSKOOL_29137
Text.SetScale(0.52, 1.45)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 160.0, 317.0, 320.0, -224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 480.0, 317.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(9, 160.0, 435.0, 320.0, 17.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(9, 480.0, 435.0, -320.0, 17.0, 150, 150, 150, 255)
return 

:DSKOOL_29391
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 430.0, 640.0, 250.0, 0, 0, 0, 255)
if 
  70 > 46@
goto_if_false @DSKOOL_29453
45@ = 1

:DSKOOL_29453
if 
  46@ > 69
goto_if_false @DSKOOL_29496
if 
  85 > 46@
goto_if_false @DSKOOL_29496
45@ = 2

:DSKOOL_29496
if 
  46@ > 84
goto_if_false @DSKOOL_29539
if 
  100 > 46@
goto_if_false @DSKOOL_29539
45@ = 3

:DSKOOL_29539
if 
  46@ == 100
goto_if_false @DSKOOL_29564
45@ = 4

:DSKOOL_29564
gosub @DSKOOL_31448
Text.SetRightJustify(False)
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(51@, 52@, 53@, 54@)
if 
  45@ > 1
goto_if_false @DSKOOL_29654
Text.DisplayWithNumber(217.0, 75.0, 'DS1_58', 46@)
goto @DSKOOL_29849

:DSKOOL_29654
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @DSKOOL_29693
Text.Display(175.0, 75.0, 'DS1_67')

:DSKOOL_29693
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @DSKOOL_29732
Text.Display(83.0, 75.0, 'DS1_67')

:DSKOOL_29732
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @DSKOOL_29771
Text.Display(89.0, 75.0, 'DS1_67')

:DSKOOL_29771
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @DSKOOL_29810
Text.Display(147.0, 75.0, 'DS1_67')

:DSKOOL_29810
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @DSKOOL_29849
Text.Display(65.0, 75.0, 'DS1_67')

:DSKOOL_29849
if 
  45@ > 1
goto_if_false @DSKOOL_29954
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 250.0, 306.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 395.0, 306.0, 60.0, 60.0, 180, 180, 180, 255)
goto @DSKOOL_30034

:DSKOOL_29954
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(7, 250.0, 306.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(7, 395.0, 306.0, 60.0, 60.0, 180, 180, 180, 255)

:DSKOOL_30034
Hud.SetSpritesDrawBeforeFade(True)
if 
  45@ == 1
goto_if_false @DSKOOL_30211
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @DSKOOL_30117
Hud.DrawSprite(6, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
goto @DSKOOL_30153

:DSKOOL_30117
Hud.DrawSprite(10, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)

:DSKOOL_30153
gosub @DSKOOL_31448
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(266.0, 375.0, 'DS1_68')

:DSKOOL_30211
if 
  45@ == 2
goto_if_false @DSKOOL_30323
Hud.DrawSprite(1, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @DSKOOL_31448
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(280.0, 375.0, 'DS1_57')

:DSKOOL_30323
if 
  45@ == 3
goto_if_false @DSKOOL_30435
Hud.DrawSprite(2, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @DSKOOL_31448
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(283.0, 375.0, 'DS1_56')

:DSKOOL_30435
if 
  45@ == 4
goto_if_false @DSKOOL_30547
Hud.DrawSprite(3, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @DSKOOL_31448
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(294.0, 375.0, 'DS1_55')

:DSKOOL_30547
return 

:DSKOOL_30549
if 
  34@ == 0
goto_if_false @DSKOOL_30874
if 
  $instructor_car_heading == 1
goto_if_false @DSKOOL_30592
gosub @DSKOOL_4352

:DSKOOL_30592
if 
  $instructor_car_heading == 2
goto_if_false @DSKOOL_30617
gosub @DSKOOL_6598

:DSKOOL_30617
if 
  $instructor_car_heading == 4
goto_if_false @DSKOOL_30642
gosub @DSKOOL_7975

:DSKOOL_30642
if 
  $instructor_car_heading == 5
goto_if_false @DSKOOL_30667
gosub @DSKOOL_9631

:DSKOOL_30667
if 
  $instructor_car_heading == 7
goto_if_false @DSKOOL_30692
gosub @DSKOOL_11192

:DSKOOL_30692
if 
  $instructor_car_heading == 9
goto_if_false @DSKOOL_30717
gosub @DSKOOL_13345

:DSKOOL_30717
if 
  $instructor_car_heading == 10
goto_if_false @DSKOOL_30742
gosub @DSKOOL_14885

:DSKOOL_30742
if 
  $instructor_car_heading == 11
goto_if_false @DSKOOL_30767
gosub @DSKOOL_16834

:DSKOOL_30767
if 
  $instructor_car_heading == 13
goto_if_false @DSKOOL_30792
gosub @DSKOOL_18496

:DSKOOL_30792
if 
  $instructor_car_heading == 14
goto_if_false @DSKOOL_30817
gosub @DSKOOL_19949

:DSKOOL_30817
if 
  $instructor_car_heading == 15
goto_if_false @DSKOOL_30842
gosub @DSKOOL_21707

:DSKOOL_30842
if 
  $instructor_car_heading == 16
goto_if_false @DSKOOL_30867
gosub @DSKOOL_24410

:DSKOOL_30867
34@ = 1

:DSKOOL_30874
if 
  34@ == 1
goto_if_false @DSKOOL_31111
if 
  $instructor_car_heading == 14
goto_if_false @DSKOOL_31045
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_31038
if 
  not Streaming.HasCarRecordingBeenLoaded(14)
goto_if_false @DSKOOL_30945
Streaming.RequestCarRecording(14)

:DSKOOL_30945
if 
  not Streaming.HasCarRecordingBeenLoaded(3)
goto_if_false @DSKOOL_30964
Streaming.RequestCarRecording(3)

:DSKOOL_30964
if 
  Streaming.HasCarRecordingBeenLoaded(14)
goto_if_false @DSKOOL_31038
if 
  Streaming.HasCarRecordingBeenLoaded(3)
goto_if_false @DSKOOL_31038
Car.StartPlayback($202, 14)
if 
  not Car.IsDead($trafficcone_counter)
goto_if_false @DSKOOL_31024
Car.StartPlayback($trafficcone_counter, 3)

:DSKOOL_31024
43@ = 3
34@ = 2

:DSKOOL_31038
goto @DSKOOL_31111

:DSKOOL_31045
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_31111
if 
  not Streaming.HasCarRecordingBeenLoaded($instructor_car_heading)
goto_if_false @DSKOOL_31089
Streaming.RequestCarRecording($instructor_car_heading)
goto @DSKOOL_31111

:DSKOOL_31089
Car.StartPlayback($202, $instructor_car_heading)
43@ = 3
34@ = 2

:DSKOOL_31111
if 
  34@ == 2
goto_if_false @DSKOOL_31196
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_31182
if 
  not Car.IsPlaybackGoingOn($202)
goto_if_false @DSKOOL_31175
43@ = 1
34@ = 4

:DSKOOL_31175
goto @DSKOOL_31196

:DSKOOL_31182
43@ = 1
34@ = 4

:DSKOOL_31196
if 
  34@ == 3
goto_if_false @DSKOOL_31228
43@ = 1
34@ = 4

:DSKOOL_31228
if 
  34@ == 4
goto_if_false @DSKOOL_31446
if 
  43@ == 2
goto_if_false @DSKOOL_31446
if 
  $instructor_car_heading == 14
goto_if_false @DSKOOL_31303
if 
  not Car.IsDead($trafficcone_counter)
goto_if_false @DSKOOL_31303
Car.StopPlayback($trafficcone_counter)

:DSKOOL_31303
Car.StopPlayback($202)
Car.Delete($202)
World.ClearArea($camera_positiony, $camera_positionz, $camera_position_int, 300.0, True)
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
Char.Delete(55@)
Char.Delete(56@)
Car.Delete($trafficcone_counter)
Car.Delete($trafficcones)
Car.Delete($202)
Object.Delete(57@)
Object.Delete(58@)
Object.Delete(59@)
Streaming.RemoveCarRecording(1)
Streaming.RemoveCarRecording(2)
Streaming.RemoveCarRecording(3)
Streaming.RemoveCarRecording(4)
Streaming.RemoveCarRecording(5)
Streaming.RemoveCarRecording(7)
Streaming.RemoveCarRecording(9)
Streaming.RemoveCarRecording(10)
Streaming.RemoveCarRecording(11)
Streaming.RemoveCarRecording(13)
Streaming.RemoveCarRecording(14)
Streaming.RemoveCarRecording(15)
Streaming.RemoveCarRecording(16)
gosub @DSKOOL_37341
34@ = 0

:DSKOOL_31446
return 

:DSKOOL_31448
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(False)
Text.SetBackground(False)
Text.SetScale(0.52, 1.45)
Text.SetDropshadow(2, 0, 0, 0, 255)
Text.SetFont(Font.Menu)
return 

:DSKOOL_31510
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(False)
Text.SetBackground(False)
Text.SetScale(0.52, 1.45)
Text.SetDropshadow(2, 0, 0, 0, 255)
Text.SetFont(Font.Menu)
return 

:DSKOOL_31568
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(0.8, 2.6)
Text.SetDropshadow(2, 0, 0, 0, 255)
return 

:DSKOOL_31626
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(1.2, 4.0)
Text.SetDropshadow(3, 0, 0, 0, 255)
Text.SetFont(Font.Pricedown)
return 

:DSKOOL_31688
Camera.DoFade(500, Fade.Out)

:DSKOOL_31695
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_31719
wait 0
goto @DSKOOL_31695

:DSKOOL_31719
if 
  $instructor_car_heading == 16
goto_if_false @DSKOOL_31758
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
goto @DSKOOL_31772

:DSKOOL_31758
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)

:DSKOOL_31772
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Weather.ForceNow(WeatherType.ExtraSunnySf)
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
World.ClearExtraColors(False)
return 

:DSKOOL_31797
$area_check2ax = 0.0
$area_check2ay = 0.0
$area_check2bx = 0.0
$area_check2by = 0.0
$area_check3ax = 0.0
$area_check3ay = 0.0
$area_check3bx = 0.0
$area_check3by = 0.0
$area_check4ax = 0.0
$area_check4ay = 0.0
$area_check4bx = 0.0
$area_check4by = 0.0
$instructor_car_dead_flag = 0.0
$finished_watching_scores = 0.0
$noticeboard_x = 0.0
$noticeboard_y = 0.0
$game_timer = 0
$circle_start_y = 0.0
$cone_coords_x = 0.0
$lap1_secs = 0.0
$lap1_millisecs = 0.0
$overall_lap1 = 0.0
$lap2_secs = 10.0
$car_timer = 0
$cone_coords_z = 0.0
$cone_circle_radius = 0.0
$race1_best_position_airrace = 0.0
$race1_best_time_airrace = 0.0
$race2_best_position_airrace = 0.0
$race2_best_time_airrace = 0
$total_dummy_car2_health = 0
$heading_score = 0
$start_coordsx = 0.0
$start_coordsy = 0.0
$area_check1ax = 0.0
$area_check1ay = 0.0
$camera_positionx = 0
$time_score = 0
$lap_counter = 0.0
$perfect_positionx = 0.0
$perfect_positiony = 0
$total_dummy_car1_health = 0
$noticeboard_z = 0
$perfect_heading = 0
$lap2_millisecs = 0
$overall_lap2 = 0
$lap3_millisecs = 0
$overall_lap3 = 0
$lap4_millisecs = 0
$overall_lap4 = 0
$lap5_millisecs = 0
$overall_lap5 = 0
$overall_millisecs = 0
$finish_leftx = 0
$lap3_secs = 0
$lap4_secs = 0
$lap5_secs = 0
$overall_secs = 0
$finish_lefty = 0
$finish_rightx = 0
$finish_righty = 0
$variabled = 0
$variablea = 0
set_var_float_to_var_float $players_distance_from_perfectpos = $area_check1bx
set_var_float_to_var_float $instructor_car_health = $area_check1by
$dummy_car1_health = World.GetGroundZFor3DCoord($players_distance_from_perfectpos, $instructor_car_health, 50.0)
$total_car_damage = 0
$total_instructor_car_health = 0.0
$overall_score = 0
$variablec = 0
$position_score = 0
$player_car_damage = 0
$other_car_damage = 0
$variableb = 0
$car_posx = 0
$circle_start_x = 0.0
$car_posy = 0
$where_to_place_cones = 0
$cone_coords_y = 0.0
36@ = 0.0
37@ = 0
38@ = 0
41@ = 0
40@ = 0
return 

:DSKOOL_32509
Char.WarpIntoCar($stattreadstamina_ctr, $202)
Car.LockDoors($202, CarLock.LockedPlayerInside)
wait 0
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.ClearWantedLevel($statbike_temp)
Camera.DoFade(500, Fade.In)

:DSKOOL_32544
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_32568
wait 0
goto @DSKOOL_32544

:DSKOOL_32568
Player.SetControl($statbike_temp, True)
return 

:DSKOOL_32577
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_32644
if 
  $car_timer == 1
goto_if_false @DSKOOL_32637
if 
  not Char.IsInCar($stattreadstamina_ctr, $202)
goto_if_false @DSKOOL_32637
$noticeboard_z = 1

:DSKOOL_32637
goto @DSKOOL_32681

:DSKOOL_32644
if 
  Car.IsInWater($202)
goto_if_false @DSKOOL_32674
$noticeboard_z = 2
goto @DSKOOL_32681

:DSKOOL_32674
$noticeboard_z = 1

:DSKOOL_32681
return 

:DSKOOL_32683
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_32726
if 
  Char.IsInCar($stattreadstamina_ctr, $202)
goto_if_false @DSKOOL_32726
$lap_counter = Car.GetSpeed($202)

:DSKOOL_32726
if 
is_xbox_version 
goto_if_false @DSKOOL_33021
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @DSKOOL_33014
if 
  $lap_counter > 0.1
goto_if_false @DSKOOL_33014
Text.ClearPrints
if or
  $instructor_car_heading == 10
  $instructor_car_heading == 12
  $instructor_car_heading == 13
  $instructor_car_heading == 5
  $instructor_car_heading == 3
  $instructor_car_heading == 4
goto_if_false @DSKOOL_32852
Hud.DisplayTimer($perfect_positionz, TimerDirection.Down)
Hud.SetTimerBeepCountdownTime($perfect_positionz, 3)

:DSKOOL_32852
if or
  $instructor_car_heading == 15
  $instructor_car_heading == 8
  $instructor_car_heading == 9
  $instructor_car_heading == 2
  $instructor_car_heading == 1
goto_if_false @DSKOOL_32912
Hud.DisplayTimer($perfect_positionz, TimerDirection.Down)
Hud.SetTimerBeepCountdownTime($perfect_positionz, 3)

:DSKOOL_32912
if or
  $instructor_car_heading == 6
  $instructor_car_heading == 7
  $instructor_car_heading == 16
goto_if_false @DSKOOL_32951
Hud.DisplayTimer($perfect_positionz, TimerDirection.Up)

:DSKOOL_32951
if 
  $instructor_car_heading == 14
goto_if_false @DSKOOL_33007
if 
  not Car.IsDead($trafficcone_counter)
goto_if_false @DSKOOL_33007
Car.SetForwardSpeed($trafficcone_counter, 6.0)
Car.SetTempAction($trafficcone_counter, TempAction.GoForward, 864000000)

:DSKOOL_33007
$car_timer = 1

:DSKOOL_33014
goto @DSKOOL_33296

:DSKOOL_33021
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @DSKOOL_33296
if 
  $lap_counter > 0.1
goto_if_false @DSKOOL_33296
Text.ClearPrints
if or
  $instructor_car_heading == 10
  $instructor_car_heading == 12
  $instructor_car_heading == 13
  $instructor_car_heading == 5
  $instructor_car_heading == 3
  $instructor_car_heading == 4
goto_if_false @DSKOOL_33134
Hud.DisplayTimer($perfect_positionz, TimerDirection.Down)
Hud.SetTimerBeepCountdownTime($perfect_positionz, 3)

:DSKOOL_33134
if or
  $instructor_car_heading == 15
  $instructor_car_heading == 8
  $instructor_car_heading == 9
  $instructor_car_heading == 2
  $instructor_car_heading == 1
goto_if_false @DSKOOL_33194
Hud.DisplayTimer($perfect_positionz, TimerDirection.Down)
Hud.SetTimerBeepCountdownTime($perfect_positionz, 3)

:DSKOOL_33194
if or
  $instructor_car_heading == 6
  $instructor_car_heading == 7
  $instructor_car_heading == 16
goto_if_false @DSKOOL_33233
Hud.DisplayTimer($perfect_positionz, TimerDirection.Up)

:DSKOOL_33233
if 
  $instructor_car_heading == 14
goto_if_false @DSKOOL_33289
if 
  not Car.IsDead($trafficcone_counter)
goto_if_false @DSKOOL_33289
Car.SetForwardSpeed($trafficcone_counter, 6.0)
Car.SetTempAction($trafficcone_counter, TempAction.GoForward, 864000000)

:DSKOOL_33289
$car_timer = 1

:DSKOOL_33296
return 

:DSKOOL_33298
if 
  $perfect_positionz == 0
goto_if_false @DSKOOL_33330
Player.SetControl($statbike_temp, False)
Player.ApplyBrakesToCar($statbike_temp, True)

:DSKOOL_33330
return 

:DSKOOL_33332
Player.SetControl($statbike_temp, False)
Car.FreezePosition($202, True)
Hud.FreezeTimer(True)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1183)
if 
is_japanese_version 
goto_if_false @DSKOOL_33411

:DSKOOL_33383
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_33411
wait 0
goto @DSKOOL_33383

:DSKOOL_33411
return 

:DSKOOL_33413
$x, $y, $z = Car.GetCoordinates($202)
$total_instructor_car_health = Math.GetDistanceBetweenCoords2D($x, $y, $players_distance_from_perfectpos, $instructor_car_health)
if 
  $total_instructor_car_health > 0.5
goto_if_false @DSKOOL_33550
if 
  10.0 > $total_instructor_car_health
goto_if_false @DSKOOL_33536
$total_instructor_car_health -= 0.5
$total_instructor_car_health *= 10.42
cset_var_int_to_var_float $car_posx =# $total_instructor_car_health
$overall_score = 100
sub_int_var_from_int_var $overall_score -= $car_posx
goto @DSKOOL_33543

:DSKOOL_33536
$overall_score = 0

:DSKOOL_33543
goto @DSKOOL_33557

:DSKOOL_33550
$overall_score = 100

:DSKOOL_33557
add_int_var_to_int_var $variabled += $overall_score
return 

:DSKOOL_33567
$total_dummy_car1_health = Car.GetHealth($202)
$total_car_damage = 1000
sub_int_var_from_int_var $total_car_damage -= $total_dummy_car1_health
if 
  $instructor_car_heading == 16
goto_if_false @DSKOOL_33623
$total_car_damage /= 10
goto @DSKOOL_33630

:DSKOOL_33623
$total_car_damage /= 2

:DSKOOL_33630
if 
  $total_car_damage > 100
goto_if_false @DSKOOL_33655
$total_car_damage = 100

:DSKOOL_33655
return 

:DSKOOL_33657
$variableb = 0
$204 = 0
if 
  $instructor_car_heading == 1
goto_if_false @DSKOOL_33748

:DSKOOL_33689
if 
  15 > $204
goto_if_false @DSKOOL_33748
if 
  Object.HasBeenDamaged($205($204,46i))
goto_if_false @DSKOOL_33734
$variableb += 10

:DSKOOL_33734
$204 += 1
goto @DSKOOL_33689

:DSKOOL_33748
if 
  $instructor_car_heading == 2
goto_if_false @DSKOOL_33825

:DSKOOL_33766
if 
  25 > $204
goto_if_false @DSKOOL_33825
if 
  Object.HasBeenDamaged($205($204,46i))
goto_if_false @DSKOOL_33811
$variableb += 10

:DSKOOL_33811
$204 += 1
goto @DSKOOL_33766

:DSKOOL_33825
if or
  $instructor_car_heading == 3
  $instructor_car_heading == 4
goto_if_false @DSKOOL_33909

:DSKOOL_33850
if 
  46 > $204
goto_if_false @DSKOOL_33909
if 
  Object.HasBeenDamaged($205($204,46i))
goto_if_false @DSKOOL_33895
$variableb += 10

:DSKOOL_33895
$204 += 1
goto @DSKOOL_33850

:DSKOOL_33909
if 
  $instructor_car_heading == 5
goto_if_false @DSKOOL_33986

:DSKOOL_33927
if 
  37 > $204
goto_if_false @DSKOOL_33986
if 
  Object.HasBeenDamaged($205($204,46i))
goto_if_false @DSKOOL_33972
$variableb += 10

:DSKOOL_33972
$204 += 1
goto @DSKOOL_33927

:DSKOOL_33986
if or
  $instructor_car_heading == 6
  $instructor_car_heading == 7
goto_if_false @DSKOOL_34070

:DSKOOL_34011
if 
  42 > $204
goto_if_false @DSKOOL_34070
if 
  Object.HasBeenDamaged($205($204,46i))
goto_if_false @DSKOOL_34056
$variableb += 10

:DSKOOL_34056
$204 += 1
goto @DSKOOL_34011

:DSKOOL_34070
if or
  $instructor_car_heading == 8
  $instructor_car_heading == 9
goto_if_false @DSKOOL_34154

:DSKOOL_34095
if 
  30 > $204
goto_if_false @DSKOOL_34154
if 
  Object.HasBeenDamaged($205($204,46i))
goto_if_false @DSKOOL_34140
$variableb += 10

:DSKOOL_34140
$204 += 1
goto @DSKOOL_34095

:DSKOOL_34154
if or
  $instructor_car_heading == 12
  $instructor_car_heading == 13
goto_if_false @DSKOOL_34238

:DSKOOL_34179
if 
  31 > $204
goto_if_false @DSKOOL_34238
if 
  Object.HasBeenDamaged($205($204,46i))
goto_if_false @DSKOOL_34224
$variableb += 10

:DSKOOL_34224
$204 += 1
goto @DSKOOL_34179

:DSKOOL_34238
$variableb *= 2
if 
  $variableb > 90
goto_if_false @DSKOOL_34270
$variableb = 100

:DSKOOL_34270
sub_int_var_from_int_var $variabled -= $variableb
return 

:DSKOOL_34280
if 
  1 > $variabled
goto_if_false @DSKOOL_34305
$variabled = 0

:DSKOOL_34305
Text.ClearPrints
return 

:DSKOOL_34309
if 
  not Car.IsDead($202)
goto_if_false @DSKOOL_34760
if 
  $race2_best_time_airrace == 0
goto_if_false @DSKOOL_34505
$race1_best_position_airrace, $race1_best_time_airrace, $race2_best_position_airrace = Car.GetCoordinates($202)
$race2_best_position_airrace += 5.0
$race1_best_position_airrace, $race1_best_time_airrace, $in_carX = Car.GetOffsetInWorldCoords($202, 15.0, 0.0, 5.0)
Camera.SetFixedPosition($race1_best_position_airrace, $race1_best_time_airrace, $race2_best_position_airrace, 0.0, 0.0, 0.0)
60@ = Camera.GetPlayerInCarMode()
if or
  60@ == 1
  60@ == 2
  60@ == 3
goto_if_false @DSKOOL_34475
Camera.PointAtCar($202, CameraMode.Fixed, SwitchType.Interpolation)
goto @DSKOOL_34484

:DSKOOL_34475
Camera.PointAtCar($202, CameraMode.Fixed, SwitchType.JumpCut)

:DSKOOL_34484
Camera.SetInterpolationParameters(50.0, 2000)
Camera.AllowFixedCollision(True)
$race2_best_time_airrace = 1

:DSKOOL_34505
if 
  TIMERA > 3000
goto_if_false @DSKOOL_34642
if 
  6000 > TIMERA
goto_if_false @DSKOOL_34642
if 
  $race2_best_time_airrace == 1
goto_if_false @DSKOOL_34642
$race1_best_position_airrace, $race1_best_time_airrace, $in_carX = Car.GetOffsetInWorldCoords($202, 0.0, 15.0, 5.0)
Camera.SetFixedPosition($race1_best_position_airrace, $race1_best_time_airrace, $race2_best_position_airrace, 0.0, 0.0, 0.0)
Camera.PointAtCar($202, CameraMode.Fixed, SwitchType.Interpolation)
Camera.SetInterpolationParameters(50.0, 2000)
$race2_best_time_airrace = 2

:DSKOOL_34642
if 
  TIMERA > 6000
goto_if_false @DSKOOL_34760
if 
  $race2_best_time_airrace == 2
goto_if_false @DSKOOL_34760
$race1_best_position_airrace, $race1_best_time_airrace, $in_carX = Car.GetOffsetInWorldCoords($202, -15.0, 0.0, 5.0)
Camera.SetFixedPosition($race1_best_position_airrace, $race1_best_time_airrace, $race2_best_position_airrace, 0.0, 0.0, 0.0)
Camera.PointAtCar($202, CameraMode.Fixed, SwitchType.Interpolation)
Camera.SetInterpolationParameters(50.0, 2000)
$race2_best_time_airrace = 3

:DSKOOL_34760
return 

:DSKOOL_34762
45@ = 0
if 
  $variabled > 69
goto_if_false @DSKOOL_34871
if 
  85 > $variabled
goto_if_false @DSKOOL_34871
if and
  47@ > 69
  85 > 47@
goto_if_false @DSKOOL_34844
45@ = 0
goto @DSKOOL_34871

:DSKOOL_34844
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
45@ = 2

:DSKOOL_34871
if 
  $variabled > 84
goto_if_false @DSKOOL_34973
if 
  100 > $variabled
goto_if_false @DSKOOL_34973
if and
  47@ > 84
  100 > 47@
goto_if_false @DSKOOL_34946
45@ = 0
goto @DSKOOL_34973

:DSKOOL_34946
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
45@ = 3

:DSKOOL_34973
if 
  $variabled == 100
goto_if_false @DSKOOL_35060
if 
  47@ == 100
goto_if_false @DSKOOL_35023
45@ = 0
goto @DSKOOL_35060

:DSKOOL_35023
Stat.IncrementFloat(StatId.DrivingSkill, 30.0)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
45@ = 4

:DSKOOL_35060
return 

:DSKOOL_35062
Hud.Display(False)
Hud.DisplayRadar(False)
Text.ClearPrints
Hud.ClearTimer($perfect_positionz)
if 
  2 > 45@
goto_if_false @DSKOOL_35135
Hud.DrawWindow(160.0, 220.0, 490.0, 400.0, 'DS1_65', 3)
goto @DSKOOL_35168

:DSKOOL_35135
Hud.DrawWindow(160.0, 200.0, 490.0, 400.0, 'DUMMY', 3)

:DSKOOL_35168
if or
  $instructor_car_heading == 6
  $instructor_car_heading == 7
  $instructor_car_heading == 16
goto_if_false @DSKOOL_35476
gosub @DSKOOL_31510
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(180.0, 255.0, 'DS1_72')
gosub @DSKOOL_31510
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
if 
  $finish_righty > 9
goto_if_false @DSKOOL_35335
Text.DisplayWith2Numbers(450.0, 255.0, 'DS1_21', $finish_rightx, $finish_righty)
goto @DSKOOL_35362

:DSKOOL_35335
Text.DisplayWith2Numbers(450.0, 255.0, 'DS1_22', $finish_rightx, $finish_righty)

:DSKOOL_35362
gosub @DSKOOL_31510
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(180.0, 275.0, 'DS1_23')
gosub @DSKOOL_31510
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber(450.0, 275.0, 'DS1_69', $variablec)
goto @DSKOOL_35690

:DSKOOL_35476
gosub @DSKOOL_31510
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(180.0, 255.0, 'DS1_5')
gosub @DSKOOL_31510
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber(450.0, 255.0, 'DS1_69', $time_score)
gosub @DSKOOL_31510
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(180.0, 275.0, 'DS1_6')
gosub @DSKOOL_31510
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber(450.0, 275.0, 'DS1_69', $overall_score)

:DSKOOL_35690
gosub @DSKOOL_31510
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(180.0, 295.0, 'DS1_7')
gosub @DSKOOL_31510
Text.SetRightJustify(True)
51@, 52@, 53@, 54@ = Hud.GetColor(0)
Text.SetColor(51@, 52@, 53@, 54@)
Text.DisplayWithNumber(450.0, 295.0, 'DS1_70', $variableb)
gosub @DSKOOL_31510
51@, 52@, 53@, 54@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(180.0, 315.0, 'DS1_10')
gosub @DSKOOL_31510
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber(450.0, 315.0, 'DS1_69', $variabled)
if or
  41@ == 1
  41@ == 2
goto_if_false @DSKOOL_36280
if 
  45@ > 0
goto_if_false @DSKOOL_36280
Hud.DrawSprite(4, 250.0, 199.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.DrawSprite(4, 392.0, 199.0, 60.0, 60.0, 180, 180, 180, 255)
if 
  45@ == 2
goto_if_false @DSKOOL_36089
Hud.DrawSprite(1, 320.0, 200.0, 110.0, 95.0, 160, 160, 160, 255)

:DSKOOL_36089
if 
  45@ == 3
goto_if_false @DSKOOL_36143
Hud.DrawSprite(2, 320.0, 200.0, 110.0, 95.0, 160, 160, 160, 255)

:DSKOOL_36143
if 
  45@ == 4
goto_if_false @DSKOOL_36197
Hud.DrawSprite(3, 320.0, 200.0, 110.0, 95.0, 160, 160, 160, 255)

:DSKOOL_36197
gosub @DSKOOL_31626
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetScale(1.0, 3.4)
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(323.0, 65.0, 'DS1_47')

:DSKOOL_36280
if or
  41@ == 1
  41@ == 2
goto_if_false @DSKOOL_36372
gosub @DSKOOL_31626
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetScale(1.0, 3.4)
Text.SetColor(255, 255, 255, 255)
Text.Display(323.0, 110.0, 'DS1_46')

:DSKOOL_36372
if 
  41@ <> 2
goto_if_false @DSKOOL_36677
gosub @DSKOOL_31510
Text.SetScale(1.45, 2.0)
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(180.0, 342.0, 'DS1_64')
gosub @DSKOOL_31510
Text.SetScale(0.52, 1.45)
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(215.0, 345.0, 'DS1_66')
gosub @DSKOOL_31510
Text.SetScale(1.45, 2.0)
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(180.0, 362.0, 'DS1_63')
gosub @DSKOOL_31510
Text.SetScale(0.52, 1.45)
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(215.0, 365.0, 'DS1_53')
goto @DSKOOL_36871

:DSKOOL_36677
gosub @DSKOOL_31510
Text.SetScale(0.52, 1.45)
Text.SetColor(255, 255, 255, 255)
Text.Display(180.0, 345.0, 'DS1_71')
gosub @DSKOOL_31510
Text.SetScale(1.45, 2.0)
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(180.0, 362.0, 'DS1_64')
gosub @DSKOOL_31510
Text.SetScale(0.52, 1.45)
51@, 52@, 53@, 54@ = Hud.GetColor(6)
Text.SetColor(51@, 52@, 53@, 54@)
Text.Display(215.0, 365.0, 'DS1_66')

:DSKOOL_36871
return 

:DSKOOL_36873
if 
is_japanese_version 
goto_if_false @DSKOOL_36974
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @DSKOOL_36942
if 
  $game_timer == 1
goto_if_false @DSKOOL_36935
$game_timer = 0
$camera_positionx = 1

:DSKOOL_36935
goto @DSKOOL_36967

:DSKOOL_36942
if 
  $game_timer == 0
goto_if_false @DSKOOL_36967
$game_timer = 1

:DSKOOL_36967
goto @DSKOOL_37055

:DSKOOL_36974
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DSKOOL_37030
if 
  $game_timer == 1
goto_if_false @DSKOOL_37023
$game_timer = 0
$camera_positionx = 1

:DSKOOL_37023
goto @DSKOOL_37055

:DSKOOL_37030
if 
  $game_timer == 0
goto_if_false @DSKOOL_37055
$game_timer = 1

:DSKOOL_37055
return 

:DSKOOL_37057
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1184)
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:DSKOOL_37086
if 
  Camera.GetFadingStatus
goto_if_false @DSKOOL_37110
wait 0
goto @DSKOOL_37086

:DSKOOL_37110
Text.ClearPrints
Text.ClearThisBigPrint('DS1_46')
Text.ClearThisBigPrint('DS1_47')
Camera.AllowFixedCollision(False)
Player.ApplyBrakesToCar($statbike_temp, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  $noticeboard_z == 2
goto_if_false @DSKOOL_37228
Text.ClearPrints
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DSKOOL_37207
Char.WarpFromCarToCoord($stattreadstamina_ctr, $camera_positiony, $camera_positionz, $camera_position_int)
goto @DSKOOL_37221

:DSKOOL_37207
Char.SetCoordinates($stattreadstamina_ctr, $camera_positiony, $camera_positionz, $camera_position_int)

:DSKOOL_37221
goto @DSKOOL_37279

:DSKOOL_37228
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DSKOOL_37265
Char.WarpFromCarToCoord($stattreadstamina_ctr, $camera_positiony, $camera_positionz, $camera_position_int)
goto @DSKOOL_37279

:DSKOOL_37265
Char.SetCoordinates($stattreadstamina_ctr, $camera_positiony, $camera_positionz, $camera_position_int)

:DSKOOL_37279
Text.ClearPrints
wait 0
Text.ClearPrints
Car.Delete($202)
World.ClearArea($camera_positiony, $camera_positionz, $camera_position_int, 300.0, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.ClearPrints
wait 0
Text.ClearPrints
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
Hud.Display(True)
Hud.DisplayRadar(True)
return 

:DSKOOL_37341
Text.ClearPrints
$204 = 0

:DSKOOL_37350
if 
  46 > $204
goto_if_false @DSKOOL_37393
Text.ClearPrints
Object.Delete($205($204,46i))
$204 += 1
goto @DSKOOL_37350

:DSKOOL_37393
return 

:DSKOOL_37395
$204 = 0
if 
  $instructor_car_heading == 1
goto_if_false @DSKOOL_37479

:DSKOOL_37420
if 
  15 > $204
goto_if_false @DSKOOL_37479
$205($204,46i) = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 100.0)
$204 += 1
goto @DSKOOL_37420

:DSKOOL_37479
if 
  $instructor_car_heading == 2
goto_if_false @DSKOOL_37556

:DSKOOL_37497
if 
  25 > $204
goto_if_false @DSKOOL_37556
$205($204,46i) = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 100.0)
$204 += 1
goto @DSKOOL_37497

:DSKOOL_37556
if or
  $instructor_car_heading == 3
  $instructor_car_heading == 4
goto_if_false @DSKOOL_37640

:DSKOOL_37581
if 
  46 > $204
goto_if_false @DSKOOL_37640
$205($204,46i) = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 100.0)
$204 += 1
goto @DSKOOL_37581

:DSKOOL_37640
if 
  $instructor_car_heading == 5
goto_if_false @DSKOOL_37717

:DSKOOL_37658
if 
  37 > $204
goto_if_false @DSKOOL_37717
$205($204,46i) = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 100.0)
$204 += 1
goto @DSKOOL_37658

:DSKOOL_37717
if or
  $instructor_car_heading == 6
  $instructor_car_heading == 7
goto_if_false @DSKOOL_37801

:DSKOOL_37742
if 
  42 > $204
goto_if_false @DSKOOL_37801
$205($204,46i) = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 100.0)
$204 += 1
goto @DSKOOL_37742

:DSKOOL_37801
if or
  $instructor_car_heading == 8
  $instructor_car_heading == 9
goto_if_false @DSKOOL_37885

:DSKOOL_37826
if 
  30 > $204
goto_if_false @DSKOOL_37885
$205($204,46i) = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 100.0)
$204 += 1
goto @DSKOOL_37826

:DSKOOL_37885
if or
  $instructor_car_heading == 12
  $instructor_car_heading == 13
goto_if_false @DSKOOL_37969

:DSKOOL_37910
if 
  31 > $204
goto_if_false @DSKOOL_37969
$205($204,46i) = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 100.0)
$204 += 1
goto @DSKOOL_37910

:DSKOOL_37969
if 
  $instructor_car_heading == 1
goto_if_false @DSKOOL_38673
$lap2_secs = 6.0
$cone_coords_y = 0.0
$cone_coords_z, $cone_circle_radius, $overall_lap1 = Car.GetOffsetInWorldCoords($202, 0.0, 1.0, -0.5)
$overall_lap1 = World.GetGroundZFor3DCoord($cone_coords_z, $cone_circle_radius, 40.0)
$overall_lap1 += 0.4

:DSKOOL_38062
$lap1_secs = Math.Sin($cone_coords_y)
mult_float_var_by_float_var $lap1_secs *= $lap2_secs
add_float_var_to_float_var $lap1_secs += $cone_coords_z
$lap1_millisecs = Math.Cos($cone_coords_y)
mult_float_var_by_float_var $lap1_millisecs *= $lap2_secs
add_float_var_to_float_var $lap1_millisecs += $cone_circle_radius
if 
  $cone_coords_y == 0.0
goto_if_false @DSKOOL_38145
Object.SetCoordinates($205[0], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38145
if 
  $cone_coords_y == 24.0
goto_if_false @DSKOOL_38180
Object.SetCoordinates($205[1], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38180
if 
  $cone_coords_y == 48.0
goto_if_false @DSKOOL_38215
Object.SetCoordinates($205[2], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38215
if 
  $cone_coords_y == 72.0
goto_if_false @DSKOOL_38250
Object.SetCoordinates($205[3], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38250
if 
  $cone_coords_y == 96.0
goto_if_false @DSKOOL_38285
Object.SetCoordinates($205[4], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38285
if 
  $cone_coords_y == 120.0
goto_if_false @DSKOOL_38320
Object.SetCoordinates($205[5], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38320
if 
  $cone_coords_y == 144.0
goto_if_false @DSKOOL_38355
Object.SetCoordinates($205[6], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38355
if 
  $cone_coords_y == 168.0
goto_if_false @DSKOOL_38390
Object.SetCoordinates($205[7], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38390
if 
  $cone_coords_y == 192.0
goto_if_false @DSKOOL_38425
Object.SetCoordinates($205[8], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38425
if 
  $cone_coords_y == 216.0
goto_if_false @DSKOOL_38460
Object.SetCoordinates($205[9], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38460
if 
  $cone_coords_y == 240.0
goto_if_false @DSKOOL_38495
Object.SetCoordinates($205[10], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38495
if 
  $cone_coords_y == 264.0
goto_if_false @DSKOOL_38530
Object.SetCoordinates($205[11], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38530
if 
  $cone_coords_y == 288.0
goto_if_false @DSKOOL_38565
Object.SetCoordinates($205[12], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38565
if 
  $cone_coords_y == 312.0
goto_if_false @DSKOOL_38600
Object.SetCoordinates($205[13], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38600
if 
  $cone_coords_y == 336.0
goto_if_false @DSKOOL_38635
Object.SetCoordinates($205[14], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38635
$cone_coords_y += 24.0
if 
  360.0 > $cone_coords_y
goto_if_false @DSKOOL_38673
goto @DSKOOL_38062

:DSKOOL_38673
if 
  $instructor_car_heading == 2
goto_if_false @DSKOOL_39562
$lap2_secs = 6.0
$cone_coords_y = 90.0
$cone_coords_z, $cone_circle_radius, $overall_lap1 = Car.GetOffsetInWorldCoords($202, 0.0, 86.0, -0.5)
$overall_lap1 = World.GetGroundZFor3DCoord($cone_coords_z, $cone_circle_radius, 40.0)
$overall_lap1 += 0.4

:DSKOOL_38766
$lap1_secs = Math.Sin($cone_coords_y)
mult_float_var_by_float_var $lap1_secs *= $lap2_secs
add_float_var_to_float_var $lap1_secs += $cone_coords_z
$lap1_millisecs = Math.Cos($cone_coords_y)
mult_float_var_by_float_var $lap1_millisecs *= $lap2_secs
add_float_var_to_float_var $lap1_millisecs += $cone_circle_radius
if 
  $cone_coords_y == 120.0
goto_if_false @DSKOOL_38849
Object.SetCoordinates($205[0], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38849
if 
  $cone_coords_y == 150.0
goto_if_false @DSKOOL_38884
Object.SetCoordinates($205[1], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38884
if 
  $cone_coords_y == 180.0
goto_if_false @DSKOOL_38919
Object.SetCoordinates($205[2], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38919
if 
  $cone_coords_y == 210.0
goto_if_false @DSKOOL_38954
Object.SetCoordinates($205[3], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38954
if 
  $cone_coords_y == 240.0
goto_if_false @DSKOOL_38989
Object.SetCoordinates($205[4], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_38989
$cone_coords_y += 30.0
if 
  271.0 > $cone_coords_y
goto_if_false @DSKOOL_39027
goto @DSKOOL_38766

:DSKOOL_39027
Object.PlaceRelativeToCar($205[7], $202, -7.0, 74.0, -0.5)
Object.PlaceRelativeToCar($205[8], $202, 7.0, 74.0, -0.5)
Object.PlaceRelativeToCar($205[9], $202, -7.0, 78.0, -0.5)
Object.PlaceRelativeToCar($205[10], $202, 7.0, 78.0, -0.5)
Object.PlaceRelativeToCar($205[11], $202, -7.0, 82.0, -0.5)
Object.PlaceRelativeToCar($205[12], $202, 7.0, 82.0, -0.5)
Object.PlaceRelativeToCar($205[13], $202, -7.0, 86.0, -0.5)
Object.PlaceRelativeToCar($205[14], $202, 7.0, 86.0, -0.5)
Object.PlaceRelativeToCar($205[15], $202, 0.0, 82.0, -0.5)
Object.PlaceRelativeToCar($205[16], $202, -3.0, 4.0, -0.5)
Object.PlaceRelativeToCar($205[17], $202, 3.0, 4.0, -0.5)
Object.PlaceRelativeToCar($205[18], $202, -3.0, 0.0, -0.5)
Object.PlaceRelativeToCar($205[19], $202, 3.0, 0.0, -0.5)
Object.PlaceRelativeToCar($205[20], $202, -3.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[21], $202, 3.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[22], $202, 0.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[23], $202, 0.0, 74.0, -0.5)
Object.PlaceRelativeToCar($205[24], $202, 0.0, 78.0, -0.5)
$204 = 7

:DSKOOL_39448
if 
  25 > $204
goto_if_false @DSKOOL_39562
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_39548
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_39548
$204 += 1
goto @DSKOOL_39448

:DSKOOL_39562
if or
  $instructor_car_heading == 12
  $instructor_car_heading == 13
goto_if_false @DSKOOL_40053
Object.PlaceRelativeToCar($205[0], $202, 0.0, 4.0, -0.5)
Object.PlaceRelativeToCar($205[1], $202, -3.0, 4.0, -0.5)
Object.PlaceRelativeToCar($205[2], $202, 3.0, 4.0, -0.5)
Object.PlaceRelativeToCar($205[3], $202, -3.0, 0.0, -0.5)
Object.PlaceRelativeToCar($205[4], $202, 3.0, 0.0, -0.5)
Object.PlaceRelativeToCar($205[5], $202, -3.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[6], $202, 3.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[7], $202, -3.0, -8.0, -0.5)
Object.PlaceRelativeToCar($205[8], $202, 3.0, -8.0, -0.5)
Object.PlaceRelativeToCar($205[9], $202, -3.0, -12.0, -0.5)
Object.PlaceRelativeToCar($205[10], $202, 3.0, -12.0, -0.5)
Object.PlaceRelativeToCar($205[11], $202, -3.0, -16.0, -0.5)
Object.PlaceRelativeToCar($205[12], $202, 3.0, -16.0, -0.5)
Object.PlaceRelativeToCar($205[13], $202, -3.0, -20.0, -0.5)
Object.PlaceRelativeToCar($205[14], $202, 3.0, -20.0, -0.5)
$204 = 0

:DSKOOL_39939
if 
  15 > $204
goto_if_false @DSKOOL_40053
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_40039
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_40039
$204 += 1
goto @DSKOOL_39939

:DSKOOL_40053
if 
  $instructor_car_heading == 12
goto_if_false @DSKOOL_40560
Object.PlaceRelativeToCar($205[15], $202, -3.0, -24.0, -0.5)
Object.PlaceRelativeToCar($205[16], $202, 6.0, -22.0, -0.5)
Object.PlaceRelativeToCar($205[17], $202, 0.0, -28.0, -0.5)
Object.PlaceRelativeToCar($205[18], $202, 8.0, -24.0, -0.5)
Object.PlaceRelativeToCar($205[19], $202, 3.0, -30.0, -0.5)
Object.PlaceRelativeToCar($205[20], $202, 10.0, -26.0, -0.5)
Object.PlaceRelativeToCar($205[21], $202, 4.0, -32.0, -0.5)
Object.PlaceRelativeToCar($205[22], $202, 10.0, -30.0, -0.5)
Object.PlaceRelativeToCar($205[23], $202, 9.0, -32.0, -0.5)
Object.PlaceRelativeToCar($205[24], $202, 4.0, -36.0, -0.5)
Object.PlaceRelativeToCar($205[25], $202, 9.0, -36.0, -0.5)
Object.PlaceRelativeToCar($205[26], $202, 4.0, -40.0, -0.5)
Object.PlaceRelativeToCar($205[27], $202, 9.0, -40.0, -0.5)
Object.PlaceRelativeToCar($205[28], $202, 4.0, -44.0, -0.5)
Object.PlaceRelativeToCar($205[29], $202, 9.0, -44.0, -0.5)
Object.PlaceRelativeToCar($205[30], $202, 6.5, -44.0, -0.5)
$204 = 15

:DSKOOL_40446
if 
  31 > $204
goto_if_false @DSKOOL_40560
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_40546
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_40546
$204 += 1
goto @DSKOOL_40446

:DSKOOL_40560
if 
  $instructor_car_heading == 13
goto_if_false @DSKOOL_41067
Object.PlaceRelativeToCar($205[15], $202, 3.0, -24.0, -0.5)
Object.PlaceRelativeToCar($205[16], $202, -6.0, -22.0, -0.5)
Object.PlaceRelativeToCar($205[17], $202, 0.0, -28.0, -0.5)
Object.PlaceRelativeToCar($205[18], $202, -8.0, -24.0, -0.5)
Object.PlaceRelativeToCar($205[19], $202, -3.0, -30.0, -0.5)
Object.PlaceRelativeToCar($205[20], $202, -10.0, -26.0, -0.5)
Object.PlaceRelativeToCar($205[21], $202, -4.0, -32.0, -0.5)
Object.PlaceRelativeToCar($205[22], $202, -10.0, -30.0, -0.5)
Object.PlaceRelativeToCar($205[23], $202, -9.0, -32.0, -0.5)
Object.PlaceRelativeToCar($205[24], $202, -4.0, -36.0, -0.5)
Object.PlaceRelativeToCar($205[25], $202, -9.0, -36.0, -0.5)
Object.PlaceRelativeToCar($205[26], $202, -4.0, -40.0, -0.5)
Object.PlaceRelativeToCar($205[27], $202, -9.0, -40.0, -0.5)
Object.PlaceRelativeToCar($205[28], $202, -4.0, -44.0, -0.5)
Object.PlaceRelativeToCar($205[29], $202, -9.0, -44.0, -0.5)
Object.PlaceRelativeToCar($205[30], $202, -6.5, -44.0, -0.5)
$204 = 15

:DSKOOL_40953
if 
  31 > $204
goto_if_false @DSKOOL_41067
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_41053
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_41053
$204 += 1
goto @DSKOOL_40953

:DSKOOL_41067
if or
  $instructor_car_heading == 6
  $instructor_car_heading == 7
goto_if_false @DSKOOL_42770
Object.PlaceRelativeToCar($205[0], $202, -4.0, 8.0, -0.5)
Object.PlaceRelativeToCar($205[1], $202, 4.0, 8.0, -0.5)
Object.PlaceRelativeToCar($205[2], $202, -4.0, 2.0, -0.5)
Object.PlaceRelativeToCar($205[3], $202, 4.0, 2.0, -0.5)
Object.PlaceRelativeToCar($205[4], $202, -4.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[5], $202, -4.0, 14.0, -0.5)
Object.PlaceRelativeToCar($205[6], $202, 4.0, 14.0, -0.5)
Object.PlaceRelativeToCar($205[7], $202, -4.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[8], $202, 4.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[9], $202, -4.0, 26.0, -0.5)
Object.PlaceRelativeToCar($205[10], $202, 4.0, 26.0, -0.5)
Object.PlaceRelativeToCar($205[11], $202, -4.0, 32.0, -0.5)
Object.PlaceRelativeToCar($205[12], $202, 4.0, 32.0, -0.5)
Object.PlaceRelativeToCar($205[13], $202, -4.0, 38.0, -0.5)
Object.PlaceRelativeToCar($205[14], $202, 4.0, 38.0, -0.5)
Object.PlaceRelativeToCar($205[15], $202, -4.0, 44.0, -0.5)
Object.PlaceRelativeToCar($205[16], $202, 4.0, 44.0, -0.5)
Object.PlaceRelativeToCar($205[17], $202, -4.0, 50.0, -0.5)
$204 = 0

:DSKOOL_41513
if 
  18 > $204
goto_if_false @DSKOOL_41627
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_41613
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_41613
$204 += 1
goto @DSKOOL_41513

:DSKOOL_41627
$cone_coords_y = 90.0
$cone_coords_z, $cone_circle_radius, $overall_lap1 = Car.GetOffsetInWorldCoords($202, 4.0, 50.0, -0.5)
$overall_lap1 = World.GetGroundZFor3DCoord($cone_coords_z, $cone_circle_radius, 40.0)
$overall_lap1 += 0.4

:DSKOOL_41692
$lap1_secs = Math.Sin($cone_coords_y)
mult_float_var_by_float_var $lap1_secs *= $lap2_secs
add_float_var_to_float_var $lap1_secs += $cone_coords_z
$lap1_millisecs = Math.Cos($cone_coords_y)
mult_float_var_by_float_var $lap1_millisecs *= $lap2_secs
add_float_var_to_float_var $lap1_millisecs += $cone_circle_radius
if 
  $cone_coords_y == 126.0
goto_if_false @DSKOOL_41775
Object.SetCoordinates($205[18], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_41775
if 
  $cone_coords_y == 144.0
goto_if_false @DSKOOL_41810
Object.SetCoordinates($205[19], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_41810
if 
  $cone_coords_y == 162.0
goto_if_false @DSKOOL_41845
Object.SetCoordinates($205[20], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_41845
if 
  $cone_coords_y == 180.0
goto_if_false @DSKOOL_41880
Object.SetCoordinates($205[21], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_41880
if 
  $cone_coords_y == 198.0
goto_if_false @DSKOOL_41915
Object.SetCoordinates($205[22], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_41915
if 
  $cone_coords_y == 216.0
goto_if_false @DSKOOL_41950
Object.SetCoordinates($205[23], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_41950
if 
  $cone_coords_y == 234.0
goto_if_false @DSKOOL_41985
Object.SetCoordinates($205[24], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_41985
$cone_coords_y += 18.0
if 
  271.0 > $cone_coords_y
goto_if_false @DSKOOL_42023
goto @DSKOOL_41692

:DSKOOL_42023
Object.PlaceRelativeToCar($205[25], $202, 12.0, 8.0, -0.5)
Object.PlaceRelativeToCar($205[26], $202, 12.0, 2.0, -0.5)
Object.PlaceRelativeToCar($205[27], $202, 12.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[28], $202, 12.0, 14.0, -0.5)
Object.PlaceRelativeToCar($205[29], $202, 12.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[30], $202, 12.0, 26.0, -0.5)
Object.PlaceRelativeToCar($205[31], $202, 12.0, 32.0, -0.5)
Object.PlaceRelativeToCar($205[32], $202, 12.0, 38.0, -0.5)
Object.PlaceRelativeToCar($205[33], $202, 12.0, 44.0, -0.5)
Object.PlaceRelativeToCar($205[34], $202, 12.0, 50.0, -0.5)
$204 = 25

:DSKOOL_42260
if 
  35 > $204
goto_if_false @DSKOOL_42374
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_42360
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_42360
$204 += 1
goto @DSKOOL_42260

:DSKOOL_42374
$cone_coords_y = 270.0
$cone_coords_z, $cone_circle_radius, $overall_lap1 = Car.GetOffsetInWorldCoords($202, 4.0, -4.0, -0.5)
$overall_lap1 = World.GetGroundZFor3DCoord($cone_coords_z, $cone_circle_radius, 40.0)
$overall_lap1 += 0.4

:DSKOOL_42439
$lap1_secs = Math.Sin($cone_coords_y)
mult_float_var_by_float_var $lap1_secs *= $lap2_secs
add_float_var_to_float_var $lap1_secs += $cone_coords_z
$lap1_millisecs = Math.Cos($cone_coords_y)
mult_float_var_by_float_var $lap1_millisecs *= $lap2_secs
add_float_var_to_float_var $lap1_millisecs += $cone_circle_radius
if 
  $cone_coords_y == 306.0
goto_if_false @DSKOOL_42522
Object.SetCoordinates($205[35], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_42522
if 
  $cone_coords_y == 324.0
goto_if_false @DSKOOL_42557
Object.SetCoordinates($205[36], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_42557
if 
  $cone_coords_y == 342.0
goto_if_false @DSKOOL_42592
Object.SetCoordinates($205[37], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_42592
if 
  $cone_coords_y == 360.0
goto_if_false @DSKOOL_42627
Object.SetCoordinates($205[38], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_42627
if 
  $cone_coords_y == 378.0
goto_if_false @DSKOOL_42662
Object.SetCoordinates($205[39], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_42662
if 
  $cone_coords_y == 396.0
goto_if_false @DSKOOL_42697
Object.SetCoordinates($205[40], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_42697
if 
  $cone_coords_y == 414.0
goto_if_false @DSKOOL_42732
Object.SetCoordinates($205[41], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_42732
$cone_coords_y += 18.0
if 
  451.0 > $cone_coords_y
goto_if_false @DSKOOL_42770
goto @DSKOOL_42439

:DSKOOL_42770
if 
  $instructor_car_heading == 5
goto_if_false @DSKOOL_43760
Object.PlaceRelativeToCar($205[0], $202, 2.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[1], $202, -2.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[2], $202, 3.0, 44.0, -0.5)
Object.PlaceRelativeToCar($205[3], $202, -3.0, 44.0, -0.5)
Object.PlaceRelativeToCar($205[4], $202, 3.0, 48.0, -0.5)
Object.PlaceRelativeToCar($205[5], $202, -3.0, 48.0, -0.5)
Object.PlaceRelativeToCar($205[6], $202, 3.0, 52.0, -0.5)
Object.PlaceRelativeToCar($205[7], $202, -3.0, 52.0, -0.5)
Object.PlaceRelativeToCar($205[8], $202, 3.0, 56.0, -0.5)
Object.PlaceRelativeToCar($205[9], $202, -3.0, 56.0, -0.5)
Object.PlaceRelativeToCar($205[10], $202, 4.0, 60.0, -0.5)
Object.PlaceRelativeToCar($205[11], $202, -2.0, 60.0, -0.5)
Object.PlaceRelativeToCar($205[12], $202, 5.0, 64.0, -0.5)
Object.PlaceRelativeToCar($205[13], $202, -1.0, 64.0, -0.5)
Object.PlaceRelativeToCar($205[14], $202, 6.0, 68.0, -0.5)
Object.PlaceRelativeToCar($205[15], $202, 0.0, 68.0, -0.5)
Object.PlaceRelativeToCar($205[16], $202, 6.0, 72.0, -0.5)
Object.PlaceRelativeToCar($205[17], $202, 0.0, 72.0, -0.5)
Object.PlaceRelativeToCar($205[18], $202, 6.0, 76.0, -0.5)
Object.PlaceRelativeToCar($205[19], $202, 0.0, 76.0, -0.5)
Object.PlaceRelativeToCar($205[20], $202, 6.0, 80.0, -0.5)
Object.PlaceRelativeToCar($205[21], $202, 0.0, 80.0, -0.5)
Object.PlaceRelativeToCar($205[22], $202, 5.0, 84.0, -0.5)
Object.PlaceRelativeToCar($205[23], $202, -1.0, 84.0, -0.5)
Object.PlaceRelativeToCar($205[24], $202, 4.0, 88.0, -0.5)
Object.PlaceRelativeToCar($205[25], $202, -2.0, 88.0, -0.5)
Object.PlaceRelativeToCar($205[26], $202, 3.0, 92.0, -0.5)
Object.PlaceRelativeToCar($205[27], $202, -3.0, 92.0, -0.5)
Object.PlaceRelativeToCar($205[28], $202, 3.0, 96.0, -0.5)
Object.PlaceRelativeToCar($205[29], $202, -3.0, 96.0, -0.5)
Object.PlaceRelativeToCar($205[30], $202, 3.0, 100.0, -0.5)
Object.PlaceRelativeToCar($205[31], $202, -3.0, 100.0, -0.5)
Object.PlaceRelativeToCar($205[32], $202, 3.0, 104.0, -0.5)
Object.PlaceRelativeToCar($205[33], $202, -3.0, 104.0, -0.5)
Object.PlaceRelativeToCar($205[34], $202, 3.0, 108.0, -0.5)
Object.PlaceRelativeToCar($205[35], $202, -3.0, 108.0, -0.5)
Object.PlaceRelativeToCar($205[36], $202, 0.0, 108.0, -0.5)
$204 = 0

:DSKOOL_43646
if 
  37 > $204
goto_if_false @DSKOOL_43760
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_43746
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_43746
$204 += 1
goto @DSKOOL_43646

:DSKOOL_43760
if or
  $instructor_car_heading == 3
  $instructor_car_heading == 4
goto_if_false @DSKOOL_44556
Object.PlaceRelativeToCar($205[0], $202, -4.0, 4.0, -0.5)
Object.PlaceRelativeToCar($205[1], $202, 4.0, 4.0, -0.5)
Object.PlaceRelativeToCar($205[2], $202, -4.0, 0.0, -0.5)
Object.PlaceRelativeToCar($205[3], $202, 4.0, 0.0, -0.5)
Object.PlaceRelativeToCar($205[4], $202, -4.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[5], $202, 4.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[6], $202, 0.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[7], $202, -4.0, 8.0, -0.5)
Object.PlaceRelativeToCar($205[8], $202, 4.0, 8.0, -0.5)
Object.PlaceRelativeToCar($205[9], $202, -4.0, 12.0, -0.5)
Object.PlaceRelativeToCar($205[10], $202, 4.0, 12.0, -0.5)
Object.PlaceRelativeToCar($205[11], $202, -4.0, 16.0, -0.5)
Object.PlaceRelativeToCar($205[12], $202, 4.0, 16.0, -0.5)
Object.PlaceRelativeToCar($205[13], $202, -4.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[14], $202, 4.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[15], $202, -4.0, 24.0, -0.5)
Object.PlaceRelativeToCar($205[16], $202, 4.0, 24.0, -0.5)
Object.PlaceRelativeToCar($205[17], $202, -4.0, 28.0, -0.5)
Object.PlaceRelativeToCar($205[18], $202, 4.0, 28.0, -0.5)
Object.PlaceRelativeToCar($205[19], $202, -4.0, 32.0, -0.5)
Object.PlaceRelativeToCar($205[20], $202, 4.0, 32.0, -0.5)
$204 = 0

:DSKOOL_44275
if 
  21 > $204
goto_if_false @DSKOOL_44389
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_44375
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_44375
$204 += 1
goto @DSKOOL_44275

:DSKOOL_44389
$cone_coords_y = 90.0
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_44453
$cone_coords_z, $cone_circle_radius, $overall_lap1 = Car.GetOffsetInWorldCoords($202, 4.0, 30.0, -0.5)
goto @DSKOOL_44482

:DSKOOL_44453
$cone_coords_z, $cone_circle_radius, $overall_lap1 = Car.GetOffsetInWorldCoords($202, -4.0, 30.0, -0.5)

:DSKOOL_44482
$overall_lap1 = World.GetGroundZFor3DCoord($cone_coords_z, $cone_circle_radius, 40.0)
$overall_lap1 += 0.4

:DSKOOL_44508
$lap1_secs = Math.Sin($cone_coords_y)
mult_float_var_by_float_var $lap1_secs *= $lap2_secs
add_float_var_to_float_var $lap1_secs += $cone_coords_z
$lap1_millisecs = Math.Cos($cone_coords_y)
mult_float_var_by_float_var $lap1_millisecs *= $lap2_secs
add_float_var_to_float_var $lap1_millisecs += $cone_circle_radius

:DSKOOL_44556
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_44679
if 
  $cone_coords_y == 126.0
goto_if_false @DSKOOL_44609
Object.SetCoordinates($205[21], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_44609
if 
  $cone_coords_y == 144.0
goto_if_false @DSKOOL_44644
Object.SetCoordinates($205[22], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_44644
if 
  $cone_coords_y == 162.0
goto_if_false @DSKOOL_44679
Object.SetCoordinates($205[23], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_44679
if 
  $instructor_car_heading == 4
goto_if_false @DSKOOL_44802
if 
  $cone_coords_y == 198.0
goto_if_false @DSKOOL_44732
Object.SetCoordinates($205[21], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_44732
if 
  $cone_coords_y == 216.0
goto_if_false @DSKOOL_44767
Object.SetCoordinates($205[22], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_44767
if 
  $cone_coords_y == 234.0
goto_if_false @DSKOOL_44802
Object.SetCoordinates($205[23], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_44802
if or
  $instructor_car_heading == 3
  $instructor_car_heading == 4
goto_if_false @DSKOOL_44953
if 
  $cone_coords_y == 180.0
goto_if_false @DSKOOL_44862
Object.SetCoordinates($205[24], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_44862
$cone_coords_y += 18.0
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_44925
if 
  181.0 > $cone_coords_y
goto_if_false @DSKOOL_44918
goto @DSKOOL_44508

:DSKOOL_44918
goto @DSKOOL_44953

:DSKOOL_44925
if 
  235.0 > $cone_coords_y
goto_if_false @DSKOOL_44953
goto @DSKOOL_44508

:DSKOOL_44953
if 
  $instructor_car_heading == 3
goto_if_false @DSKOOL_45575
Object.PlaceRelativeToCar($205[25], $202, 8.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[26], $202, 8.0, 32.0, -0.5)
Object.PlaceRelativeToCar($205[27], $202, 12.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[28], $202, 12.0, 32.0, -0.5)
Object.PlaceRelativeToCar($205[29], $202, 16.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[30], $202, 16.0, 32.0, -0.5)
Object.PlaceRelativeToCar($205[31], $202, 20.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[32], $202, 20.0, 33.0, -0.5)
Object.PlaceRelativeToCar($205[33], $202, 24.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[34], $202, 24.0, 33.0, -0.5)
Object.PlaceRelativeToCar($205[35], $202, 28.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[36], $202, 28.0, 34.0, -0.5)
Object.PlaceRelativeToCar($205[37], $202, 32.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[38], $202, 32.0, 34.0, -0.5)
Object.PlaceRelativeToCar($205[39], $202, 36.0, 39.0, -0.5)
Object.PlaceRelativeToCar($205[40], $202, 36.0, 35.0, -0.5)
Object.PlaceRelativeToCar($205[41], $202, 40.0, 39.0, -0.5)
Object.PlaceRelativeToCar($205[42], $202, 40.0, 35.0, -0.5)
Object.PlaceRelativeToCar($205[43], $202, 44.0, 39.0, -0.5)
Object.PlaceRelativeToCar($205[44], $202, 44.0, 35.0, -0.5)
Object.PlaceRelativeToCar($205[45], $202, 44.0, 37.0, -0.5)
$204 = 25

:DSKOOL_45461
if 
  46 > $204
goto_if_false @DSKOOL_45575
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_45561
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_45561
$204 += 1
goto @DSKOOL_45461

:DSKOOL_45575
if 
  $instructor_car_heading == 4
goto_if_false @DSKOOL_46197
Object.PlaceRelativeToCar($205[25], $202, -8.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[26], $202, -8.0, 32.0, -0.5)
Object.PlaceRelativeToCar($205[27], $202, -12.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[28], $202, -12.0, 32.0, -0.5)
Object.PlaceRelativeToCar($205[29], $202, -16.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[30], $202, -16.0, 32.0, -0.5)
Object.PlaceRelativeToCar($205[31], $202, -20.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[32], $202, -20.0, 33.0, -0.5)
Object.PlaceRelativeToCar($205[33], $202, -24.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[34], $202, -24.0, 33.0, -0.5)
Object.PlaceRelativeToCar($205[35], $202, -28.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[36], $202, -28.0, 34.0, -0.5)
Object.PlaceRelativeToCar($205[37], $202, -32.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[38], $202, -32.0, 34.0, -0.5)
Object.PlaceRelativeToCar($205[39], $202, -36.0, 39.0, -0.5)
Object.PlaceRelativeToCar($205[40], $202, -36.0, 35.0, -0.5)
Object.PlaceRelativeToCar($205[41], $202, -40.0, 39.0, -0.5)
Object.PlaceRelativeToCar($205[42], $202, -40.0, 35.0, -0.5)
Object.PlaceRelativeToCar($205[43], $202, -44.0, 39.0, -0.5)
Object.PlaceRelativeToCar($205[44], $202, -44.0, 35.0, -0.5)
Object.PlaceRelativeToCar($205[45], $202, -44.0, 37.0, -0.5)
$204 = 25

:DSKOOL_46083
if 
  46 > $204
goto_if_false @DSKOOL_46197
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_46183
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_46183
$204 += 1
goto @DSKOOL_46083

:DSKOOL_46197
if 
  $instructor_car_heading == 8
goto_if_false @DSKOOL_46681
Object.PlaceRelativeToCar($205[0], $202, -8.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[1], $202, -6.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[2], $202, -4.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[3], $202, -2.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[4], $202, 0.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[5], $202, 7.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[6], $202, 5.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[7], $202, 3.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[8], $202, 1.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[9], $202, -1.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[10], $202, -8.0, 60.0, -0.5)
Object.PlaceRelativeToCar($205[11], $202, -6.0, 60.0, -0.5)
Object.PlaceRelativeToCar($205[12], $202, -4.0, 60.0, -0.5)
Object.PlaceRelativeToCar($205[13], $202, -2.0, 60.0, -0.5)
Object.PlaceRelativeToCar($205[14], $202, 0.0, 60.0, -0.5)
$204 = 0

:DSKOOL_46567
if 
  15 > $204
goto_if_false @DSKOOL_46681
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_46667
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_46667
$204 += 1
goto @DSKOOL_46567

:DSKOOL_46681
if 
  $instructor_car_heading == 9
goto_if_false @DSKOOL_47165
Object.PlaceRelativeToCar($205[0], $202, 7.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[1], $202, 5.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[2], $202, 3.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[3], $202, 1.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[4], $202, -1.0, 20.0, -0.5)
Object.PlaceRelativeToCar($205[5], $202, -8.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[6], $202, -6.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[7], $202, -4.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[8], $202, -2.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[9], $202, 0.0, 40.0, -0.5)
Object.PlaceRelativeToCar($205[10], $202, 7.0, 60.0, -0.5)
Object.PlaceRelativeToCar($205[11], $202, 5.0, 60.0, -0.5)
Object.PlaceRelativeToCar($205[12], $202, 3.0, 60.0, -0.5)
Object.PlaceRelativeToCar($205[13], $202, 1.0, 60.0, -0.5)
Object.PlaceRelativeToCar($205[14], $202, -1.0, 60.0, -0.5)
$204 = 0

:DSKOOL_47051
if 
  15 > $204
goto_if_false @DSKOOL_47165
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_47151
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_47151
$204 += 1
goto @DSKOOL_47051

:DSKOOL_47165
if or
  $instructor_car_heading == 8
  $instructor_car_heading == 9
goto_if_false @DSKOOL_47901
$lap2_secs = 8.0
$cone_coords_y = 90.0
$cone_coords_z, $cone_circle_radius, $overall_lap1 = Car.GetOffsetInWorldCoords($202, -0.5, 81.0, -0.5)
$overall_lap1 = World.GetGroundZFor3DCoord($cone_coords_z, $cone_circle_radius, 40.0)
$overall_lap1 += 0.4

:DSKOOL_47265
$lap1_secs = Math.Sin($cone_coords_y)
mult_float_var_by_float_var $lap1_secs *= $lap2_secs
add_float_var_to_float_var $lap1_secs += $cone_coords_z
$lap1_millisecs = Math.Cos($cone_coords_y)
mult_float_var_by_float_var $lap1_millisecs *= $lap2_secs
add_float_var_to_float_var $lap1_millisecs += $cone_circle_radius
if 
  $cone_coords_y == 90.0
goto_if_false @DSKOOL_47348
Object.SetCoordinates($205[23], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_47348
if 
  $cone_coords_y == 120.0
goto_if_false @DSKOOL_47383
Object.SetCoordinates($205[24], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_47383
if 
  $cone_coords_y == 150.0
goto_if_false @DSKOOL_47418
Object.SetCoordinates($205[25], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_47418
if 
  $cone_coords_y == 180.0
goto_if_false @DSKOOL_47453
Object.SetCoordinates($205[26], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_47453
if 
  $cone_coords_y == 210.0
goto_if_false @DSKOOL_47488
Object.SetCoordinates($205[27], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_47488
if 
  $cone_coords_y == 240.0
goto_if_false @DSKOOL_47523
Object.SetCoordinates($205[28], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_47523
if 
  $cone_coords_y == 270.0
goto_if_false @DSKOOL_47558
Object.SetCoordinates($205[29], $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_47558
$cone_coords_y += 30.0
if 
  271.0 > $cone_coords_y
goto_if_false @DSKOOL_47596
goto @DSKOOL_47265

:DSKOOL_47596
Object.PlaceRelativeToCar($205[15], $202, 0.0, 80.0, -0.5)
Object.PlaceRelativeToCar($205[16], $202, -3.0, 4.0, -0.5)
Object.PlaceRelativeToCar($205[17], $202, 3.0, 4.0, -0.5)
Object.PlaceRelativeToCar($205[18], $202, -3.0, 0.0, -0.5)
Object.PlaceRelativeToCar($205[19], $202, 3.0, 0.0, -0.5)
Object.PlaceRelativeToCar($205[20], $202, -3.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[21], $202, 3.0, -4.0, -0.5)
Object.PlaceRelativeToCar($205[22], $202, 0.0, -4.0, -0.5)
$204 = 15

:DSKOOL_47787
if 
  23 > $204
goto_if_false @DSKOOL_47901
if 
  Object.DoesExist($205($204,46i))
goto_if_false @DSKOOL_47887
$lap1_secs, $lap1_millisecs, $overall_lap1 = Object.GetCoordinates($205($204,46i))
$overall_lap1 = World.GetGroundZFor3DCoord($lap1_secs, $lap1_millisecs, 40.0)
$overall_lap1 += 0.4
Object.SetCoordinates($205($204,46i), $lap1_secs, $lap1_millisecs, $overall_lap1)

:DSKOOL_47887
$204 += 1
goto @DSKOOL_47787

:DSKOOL_47901
return 

:DSKOOL_47903
if 
  61@ == 1
goto_if_false @DSKOOL_47996
if 
  is_int_lvar_greater_than_int_lvar 86@ > 62@
goto_if_false @DSKOOL_47968
gosub @DSKOOL_48164
gosub @DSKOOL_48271
gosub @DSKOOL_48425
goto @DSKOOL_47996

:DSKOOL_47968
if 
  not Char.IsDead(91@)
goto_if_false @DSKOOL_47989
Char.StopFacialTalk(91@)

:DSKOOL_47989
61@ = 0

:DSKOOL_47996
return 

:DSKOOL_47998
if 
  61@ == 1
goto_if_false @DSKOOL_48133
set_lvar_text_label 65@s = 'MEC_D1'
set_lvar_text_label 67@s = 'MEC_D2'
set_lvar_text_label 69@s = 'MEC_D3'
set_lvar_text_label 71@s = 'MEC_D4'
set_lvar_text_label 73@s = 'MEC_D5'
set_lvar_int_to_constant 79@ = 26002
set_lvar_int_to_constant 80@ = 26003
set_lvar_int_to_constant 81@ = 26004
set_lvar_int_to_constant 82@ = 26005
set_lvar_int_to_constant 83@ = 26006
86@ = 5

:DSKOOL_48133
set_lvar_int_to_lvar_int 89@ = 62@
87@ = 0
88@ = 0
90@ = 1
return 

:DSKOOL_48164
if 
  is_int_lvar_greater_than_int_lvar 86@ > 89@
goto_if_false @DSKOOL_48269
if 
  87@ == 0
goto_if_false @DSKOOL_48226
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 79@(89@,7i))
89@ += 1
87@ = 1

:DSKOOL_48226
if 
  88@ == 0
goto_if_false @DSKOOL_48269
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 79@(89@,7i))
89@ += 1
88@ = 1

:DSKOOL_48269
return 

:DSKOOL_48271
if 
  90@ == 1
goto_if_false @DSKOOL_48347
if 
  87@ == 1
goto_if_false @DSKOOL_48347
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DSKOOL_48347
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(65@(62@,7s), 4500, 1)
87@ = 2

:DSKOOL_48347
if 
  90@ == 2
goto_if_false @DSKOOL_48423
if 
  88@ == 1
goto_if_false @DSKOOL_48423
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @DSKOOL_48423
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(65@(62@,7s), 4500, 1)
88@ = 2

:DSKOOL_48423
return 

:DSKOOL_48425
if 
  87@ == 2
goto_if_false @DSKOOL_48488
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DSKOOL_48488
Text.ClearThisPrint(65@(62@,7s))
62@ += 1
90@ = 2
87@ = 0

:DSKOOL_48488
if 
  88@ == 2
goto_if_false @DSKOOL_48551
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DSKOOL_48551
Text.ClearThisPrint(65@(62@,7s))
62@ += 1
90@ = 1
88@ = 0

:DSKOOL_48551
return 

//-------------Mission 72---------------
// Originally: Air Raid

:ZERO1
gosub @ZERO1_36
if 
  has_deatharrest_been_executed 
goto_if_false @ZERO1_27
gosub @ZERO1_17283

:ZERO1_27
gosub @ZERO1_17522
terminate_this_script 

:ZERO1_36
$weapon_shop1_blip = 1
World.DisableAllEntryExits(True)
Game.SetScriptLimitToGangSize(0)
Stat.RegisterMissionGiven
script_name 'ZERO1'
Player.SetControl($statbike_temp, False)
Text.LoadMissionText('ZERO1')
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:ZERO1_97
if 
  Camera.GetFadingStatus
goto_if_false @ZERO1_121
wait 0
goto @ZERO1_97

:ZERO1_121
Streaming.SetAreaVisible(6)
Char.SetCoordinates($stattreadstamina_ctr, -2214.436, 123.9208, 56.4219)
362@, 363@ = Clock.GetTimeOfDay()
if or
  362@ > 21
  4 > 362@
goto_if_false @ZERO1_193
362@ = 5
Clock.SetTimeOfDay(362@, 363@)

:ZERO1_193
Cutscene.Load('ZERO_1')
Streaming.RequestModel(366)

:ZERO1_209
if 
  not Cutscene.HasLoaded
goto_if_false @ZERO1_233
wait 0
goto @ZERO1_209

:ZERO1_233
Cutscene.Start
wait 200
Camera.DoFade(1000, Fade.In)

:ZERO1_247
if 
  not Cutscene.HasFinished
goto_if_false @ZERO1_271
wait 0
goto @ZERO1_247

:ZERO1_271
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:ZERO1_292
if 
  Camera.GetFadingStatus
goto_if_false @ZERO1_316
wait 0
goto @ZERO1_292

:ZERO1_316
Cutscene.Clear
Streaming.SetAreaVisible(0)
Weather.ForceNow(WeatherType.SunnySf)
364@ = 0
366@ = 0
365@ = 0
367@ = 0
166@ = 0
147@ = 1
148@ = 0
149@ = 0
150@ = 0
165@ = 0
177@ = 0
$ZERO4_view_debug = 0
160@ = 0
161@ = 0
162@ = 0
163@ = 0
164@ = 0
$7426 = 210000
57@ = -2239.453
58@ = 120.4904
59@ = 56.6585
143@ = 97.5
144@ = 160.0
145@ = 14.0
146@ = 280.0
60@ = -2321.496
68@ = 211.349
61@ = -2252.581
69@ = 235.0999
62@ = -2122.693
70@ = 65.552
63@ = -2233.54
71@ = 16.5174
64@ = -2508.457
72@ = 181.6713
65@ = -2502.908
73@ = 184.0278
66@ = -2508.368
74@ = 183.8913
67@ = -2504.021
75@ = 187.1988
330@ = 0
331@ = 25
332@ = 25
333@ = 25
334@ = 25
77@ = -2237.24
81@ = 143.33
85@ = 57.0
78@ = -2219.5
82@ = 128.68
86@ = 56.72
79@ = -2224.5
83@ = 149.05
87@ = 59.01
80@ = -2226.7
84@ = 94.8
88@ = 50.87
set_var_int_to_lvar_int $7425 = 331@
add_int_lvar_to_int_var $7425 += 332@
add_int_lvar_to_int_var $7425 += 333@
add_int_lvar_to_int_var $7425 += 334@
343@ = Clock.GetGameTimer()
$7425 = 100
151@ = 0
152@ = 1
153@ = 1
154@ = 1
155@ = 1
156@ = 1
157@ = 1
158@ = 1
159@ = 1
329@ = 0
TIMERA = 0
328@ = 0
World.SetCarDensityMultiplier(0.0)
34@ = Object.Create(#MINIGUN_BASE, 57@, 58@, 59@)
Object.SetCollision(34@, False)
335@, 336@, 337@ = Char.GetWeaponInSlot($stattreadstamina_ctr, WeaponSlot.Heavy)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Player.SetControl($statbike_temp, False)
Char.SetCoordinates($stattreadstamina_ctr, -2214.436, 123.9208, 56.4219)
Object.SetHeading(34@, 90.0)
Hud.DisplayTimerWithString($7426, TimerDirection.Down, 'ZER1_26')
Hud.DisplayCounterWithString($7425, CounterDisplay.Bar, 'ZER1_20')
360@ = Clock.GetGameTimer()
328@ = 0

:ZERO1_1103
if 
  4 > 328@
goto_if_false @ZERO1_1168
45@(328@,10i) = Object.Create(#WONGS_ERECTION, 77@(328@,4f), 81@(328@,4f), 85@(328@,4f))
328@ += 1
goto @ZERO1_1103

:ZERO1_1168
if 
  not Streaming.HasModelLoaded(366)
goto_if_false @ZERO1_1195
wait 0
goto @ZERO1_1168

:ZERO1_1195
Streaming.LoadSpecialCharacter(1, 'ZERO')

:ZERO1_1208
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @ZERO1_1234
wait 0
goto @ZERO1_1208

:ZERO1_1234
Hud.SwitchWidescreen(True)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(-2261.838, 118.3496, 55.8344, -2248.469, 121.3517, 60.4838, 6800, True)
Camera.SetVectorTrack(-2261.123, 118.8753, 55.3739, -2247.61, 121.8521, 60.3731, 6800, True)
Streaming.RequestAnimation("ON_LOOKERS")
Streaming.LoadSceneInDirection(-2259.838, 122.3496, 40.8344, 290.0)

:ZERO1_1358
if 
  not Streaming.HasAnimationLoaded("ON_LOOKERS")
goto_if_false @ZERO1_1394
wait 0
goto @ZERO1_1358

:ZERO1_1394
wait 1000
Camera.DoFade(500, Fade.In)
Camera.SetFadingColor(0, 0, 0)

:ZERO1_1414
if 
  Camera.GetFadingStatus
goto_if_false @ZERO1_1438
wait 0
goto @ZERO1_1414

:ZERO1_1438
55@ = Char.Create(PedType.CivMale, 290, -2214.29, 125.49, 56.5985)
Char.SetHealth(55@, 1000)
Char.SetProofs(55@, False, True, True, False, False)
338@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.ClearEventResponse(338@, 46)
DecisionMakerChar.ClearEventResponse(338@, 59)
DecisionMakerChar.AddEventResponse(338@, 59, 604, 100.0, 100.0, 100.0, 100.0, True, True)
Char.SetDecisionMaker(55@, 338@)
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_1662
372@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2231.323, 129.7854, 56.5985, MoveState.Run, -1)
Task.AchieveHeading(-1, 0.0)
Task.PlayAnim(-1, "LKUP_LOOP", "ON_LOOKERS", 4.0, True, False, False, True, 0)
Sequence.Close(372@)
Char.PerformSequence(55@, 372@)
Sequence.Clear(372@)

:ZERO1_1662
372@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2239.703, 119.9904, 56.5985, MoveState.Run, -1)
Task.AchieveHeading(-1, 0.0)
Sequence.Close(372@)
Char.PerformSequence($stattreadstamina_ctr, 372@)
Sequence.Clear(372@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44600)

:ZERO1_1726
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_1752
wait 0
goto @ZERO1_1726

:ZERO1_1752
Text.PrintNow('ZER1_AA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_1772
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_1798
wait 0
goto @ZERO1_1772

:ZERO1_1798
Text.ClearThisPrint('ZER1_AA')
Streaming.RequestModel(#WONGS_ERECTION2)
Streaming.RequestModel(464)
Streaming.RequestModel(362)
Streaming.RequestModel(#RCBOMB)

:ZERO1_1829
if or
  not Streaming.HasModelLoaded(#WONGS_ERECTION2)
  not Streaming.HasModelLoaded(464)
  not Streaming.HasModelLoaded(#RCBOMB)
  not Streaming.HasModelLoaded(362)
goto_if_false @ZERO1_1871
wait 0
goto @ZERO1_1829

:ZERO1_1871
328@ = 0

:ZERO1_1878
if 
  8 > 328@
goto_if_false @ZERO1_1943
178@(328@,10i) = Blip.AddForCoord(0.0, 0.0, 0.0)
Blip.Remove(178@(328@,10i))
328@ += 1
goto @ZERO1_1878

:ZERO1_1943
wait 0
if 
  147@ == 1
goto_if_false @ZERO1_1972
gosub @ZERO1_3247

:ZERO1_1972
if 
  148@ == 1
goto_if_false @ZERO1_1997
gosub @ZERO1_5337

:ZERO1_1997
if 
  149@ == 1
goto_if_false @ZERO1_2022
goto @ZERO1_17215

:ZERO1_2022
if 
  150@ == 1
goto_if_false @ZERO1_2047
goto @ZERO1_17283

:ZERO1_2047
goto @ZERO1_1943

:ZERO1_2054
World.ClearArea(-2208.1, 175.86, 40.46, 25.0, True)
if 
  4 > 328@
goto_if_false @ZERO1_2610
35@(328@,10i) = Car.Create(464, 60@(330@,8f), 68@(330@,8f), 70.0)
Car.TurnToFaceCoord(35@(328@,10i), 77@(329@,4f), 81@(329@,4f))
Car.SetHealth(35@(328@,10i), 260)
StuckCarCheck.Add(35@(328@,10i), 3.0, 3000)
Car.SetProofs(35@(328@,10i), False, False, True, False, False)
Plane.StartsInAir(35@(328@,10i))
Car.SetForwardSpeed(35@(328@,10i), 14.0)
if 
  not Blip.DoesExist(178@(328@,10i))
goto_if_false @ZERO1_2275
178@(328@,10i) = Blip.AddForCar(35@(328@,10i))
Blip.ChangeDisplay(178@(328@,10i), BlipDisplay.BlipOnly)
goto @ZERO1_2311

:ZERO1_2275
Blip.Remove(178@(328@,10i))
178@(328@,10i) = Blip.AddForCar(35@(328@,10i))
Blip.ChangeDisplay(178@(328@,10i), BlipDisplay.BlipOnly)

:ZERO1_2311
Car.SetStatus(35@(328@,10i), EntityStatus.Physics)
188@(328@,10i) = Object.Create(#RCBOMB, 60@(328@,8f), 68@(328@,8f), 130.0)
Object.AttachToCar(188@(328@,10i), 35@(328@,10i), 0.0, 0.0, -0.3, 0.0, 0.0, 0.0)
Object.PlaceRelativeToCar(188@(328@,10i), 35@(328@,10i), 0.0, 0.0, 258@(328@,10f))
Object.SetCollision(188@(328@,10i), False)
Object.SetDynamic(188@(328@,10i), False)
set_lvar_float_to_lvar_float 76@ = 85@(329@,4f)
76@ += 10.5
Plane.GotoCoords(35@(328@,10i), 77@(329@,4f), 81@(329@,4f), 76@, -1.0, 13.5)
Plane.SetThrottle(35@(328@,10i), -0.8)
152@(328@,8i) = 0
167@(328@,10i) = 0
151@ = 1
339@(328@,10i) = Clock.GetGameTimer()
330@ += 1
if 
  330@ > 3
goto_if_false @ZERO1_2596
330@ = 0

:ZERO1_2596
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Game.SetWantedMultiplier(0.001)

:ZERO1_2610
return 

:ZERO1_2612
if or
  328@ > 4
  328@ == 4
goto_if_false @ZERO1_3245
35@(328@,10i) = Car.Create(464, 60@(328@,8f), 68@(328@,8f), 85.0)
Car.TurnToFaceCoord(35@(328@,10i), 77@(329@,4f), 81@(329@,4f))
Car.SetProofs(35@(328@,10i), False, True, True, False, False)
Car.SetHealth(35@(328@,10i), 260)
StuckCarCheck.Add(35@(328@,10i), 3.0, 10000)
if 
  not Blip.DoesExist(178@(328@,10i))
goto_if_false @ZERO1_2793
178@(328@,10i) = Blip.AddForCar(35@(328@,10i))
Blip.ChangeDisplay(178@(328@,10i), BlipDisplay.BlipOnly)
goto @ZERO1_2829

:ZERO1_2793
Blip.Remove(178@(328@,10i))
178@(328@,10i) = Blip.AddForCar(35@(328@,10i))
Blip.ChangeDisplay(178@(328@,10i), BlipDisplay.BlipOnly)

:ZERO1_2829
Car.SetStatus(35@(328@,10i), EntityStatus.Physics)
Car.SetHeading(35@(328@,10i), 258.0)
Plane.StartsInAir(35@(328@,10i))
Car.SetForwardSpeed(35@(328@,10i), 14.0)
167@(328@,10i) = 0
152@(328@,8i) = 0
188@(328@,10i) = Object.Create(#RCBOMB, 60@(328@,8f), 68@(328@,8f), 120.0)
Object.AttachToCar(188@(328@,10i), 35@(328@,10i), 0.0, 0.0, -0.3, 0.0, 0.0, 0.0)
Object.PlaceRelativeToCar(188@(328@,10i), 35@(328@,10i), 0.0, 0.0, 258@(328@,10f))
Object.SetCollision(188@(328@,10i), False)
Object.SetDynamic(188@(328@,10i), False)
339@(328@,10i) = Clock.GetGameTimer()
set_lvar_float_to_lvar_float 76@ = 85@(329@,4f)
76@ += 10.5
Plane.GotoCoords(35@(328@,10i), 77@(329@,4f), 81@(329@,4f), 76@, -1.0, 69.5)
Plane.SetThrottle(35@(328@,10i), -0.8)
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_3245
if 
  364@ == 0
goto_if_false @ZERO1_3245
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44608)

:ZERO1_3155
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_3181
wait 0
goto @ZERO1_3155

:ZERO1_3181
Text.PrintNow('ZER1_BD', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_3201
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_3227
wait 0
goto @ZERO1_3201

:ZERO1_3227
Text.ClearThisPrint('ZER1_BD')
364@ = 1

:ZERO1_3245
return 

:ZERO1_3247
TIMERA = 0
if 
  $ZERO4_view_debug == 0
goto_if_false @ZERO1_5091
177@ = 0
TIMERB = 0

:ZERO1_3286
if 
  177@ <> 10
goto_if_false @ZERO1_4656
wait 0
if 
  177@ == 0
goto_if_false @ZERO1_3517
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44601)

:ZERO1_3335
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_3361
wait 0
goto @ZERO1_3335

:ZERO1_3361
Text.PrintNow('ZER1_AB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_3381
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_3407
wait 0
goto @ZERO1_3381

:ZERO1_3407
Text.ClearThisPrint('ZER1_AC')
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44602)

:ZERO1_3427
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_3453
wait 0
goto @ZERO1_3427

:ZERO1_3453
Text.PrintNow('ZER1_AC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_3473
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_3499
wait 0
goto @ZERO1_3473

:ZERO1_3499
Text.ClearThisPrint('ZER1_AC')
177@ = 1

:ZERO1_3517
if 
  TIMERB > 4500
goto_if_false @ZERO1_3724
if 
  177@ == 1
goto_if_false @ZERO1_3724
177@ = 2
Camera.ResetNewScriptables
Camera.SetFixedPosition(-2240.485, 119.5912, 58.4997, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2239.875, 120.376, 58.6143, SwitchType.JumpCut)
World.ClearArea(57@, 58@, 59@, 1000.0, True)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44605)

:ZERO1_3641
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_3667
wait 0
goto @ZERO1_3641

:ZERO1_3667
Text.PrintNow('ZER1_BA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_3687
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_3713
wait 0
goto @ZERO1_3687

:ZERO1_3713
Text.ClearThisPrint('ZER1_BA')

:ZERO1_3724
if 
  TIMERB > 7500
goto_if_false @ZERO1_4039
if 
  177@ == 2
goto_if_false @ZERO1_4039
177@ = 3
Camera.SetFixedPosition(-2231.676, 127.7127, 57.9036, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2231.965, 128.6361, 58.1563, SwitchType.JumpCut)
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_3879
Task.PlayAnim(55@, "POINTUP_IN", "ON_LOOKERS", 4.0, False, False, False, True, 0)

:ZERO1_3879
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44606)
if 
  151@ == 0
goto_if_false @ZERO1_3956
328@ = 0

:ZERO1_3913
if 
  2 > 328@
goto_if_false @ZERO1_3956
wait 0
gosub @ZERO1_2054
328@ += 1
goto @ZERO1_3913

:ZERO1_3956
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_3982
wait 0
goto @ZERO1_3956

:ZERO1_3982
Text.PrintNow('ZER1_BB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_4002
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_4028
wait 0
goto @ZERO1_4002

:ZERO1_4028
Text.ClearThisPrint('ZER1_BB')

:ZERO1_4039
if 
  TIMERB > 12000
goto_if_false @ZERO1_4363
if 
  177@ == 3
goto_if_false @ZERO1_4363
if 
  not Car.IsDead(36@)
goto_if_false @ZERO1_4363
92@, 93@, 94@ = Car.GetOffsetInWorldCoords(36@, 2.0, 1.5, -1.0)
Camera.SetFixedPosition(92@, 93@, 94@, 0.0, 0.0, 0.0)
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_4172
Camera.PointAtChar(55@, CameraMode.Fixed, SwitchType.JumpCut)

:ZERO1_4172
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44603)

:ZERO1_4181
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_4207
wait 0
goto @ZERO1_4181

:ZERO1_4207
Text.PrintNow('ZER1_AD', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_4227
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_4253
wait 0
goto @ZERO1_4227

:ZERO1_4253
Text.ClearThisPrint('ZER1_AD')
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44604)

:ZERO1_4273
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_4299
wait 0
goto @ZERO1_4273

:ZERO1_4299
Text.PrintNow('ZER1_AE', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_4319
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_4345
wait 0
goto @ZERO1_4319

:ZERO1_4345
Text.ClearThisPrint('ZER1_AE')
177@ = 4

:ZERO1_4363
if 
  TIMERB > 17000
goto_if_false @ZERO1_4531
if 
  177@ == 4
goto_if_false @ZERO1_4531
177@ = 5
Char.SetCoordinates($stattreadstamina_ctr, -2239.703, 119.9904, 56.5985)
Char.SetHeading($stattreadstamina_ctr, 0.0)
if 
  Object.DoesExist(34@)
goto_if_false @ZERO1_4464
Task.LookAtObject($stattreadstamina_ctr, 34@, 3000)

:ZERO1_4464
Camera.SetFixedPosition(-2239.688, 122.1658, 57.6384, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2239.237, 121.2862, 57.7886, SwitchType.JumpCut)
Text.PrintNow('ZER1_22', 5000, 1)

:ZERO1_4531
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @ZERO1_4623
177@ = 10
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
if 
  151@ == 0
goto_if_false @ZERO1_4623
328@ = 0

:ZERO1_4580
if 
  2 > 328@
goto_if_false @ZERO1_4623
wait 0
gosub @ZERO1_2054
328@ += 1
goto @ZERO1_4580

:ZERO1_4623
if 
  TIMERB > 20000
goto_if_false @ZERO1_4649
177@ = 10

:ZERO1_4649
goto @ZERO1_3286

:ZERO1_4656
if 
  not Car.IsDead(35@)
goto_if_false @ZERO1_4717
Car.SetCoordinates(35@, 60@, 68@, 95.0)
Car.TurnToFaceCoord(35@, 77@(329@,4f), 81@(329@,4f))
Car.SetForwardSpeed(35@, 10.0)

:ZERO1_4717
if 
  not Car.IsDead(36@)
goto_if_false @ZERO1_4778
Car.SetCoordinates(36@, 61@, 69@, 95.0)
Car.TurnToFaceCoord(36@, 77@(329@,4f), 81@(329@,4f))
Car.SetForwardSpeed(36@, 10.0)

:ZERO1_4778
Char.AttachToObject($stattreadstamina_ctr, 34@, -0.25, -0.5, 1.25, 2, 360.0, WeaponType.Minigun)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Minigun)
Char.AddAmmo($stattreadstamina_ctr, WeaponType.Minigun, 200000)
Player.SetHeadingForAttached($statbike_temp, 270.0, 300.0)
Char.ClearTasks($stattreadstamina_ctr)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Player.AlterWantedLevel($statbike_temp, 0)
Camera.ResetNewScriptables
Camera.Restore
if 
  Object.DoesExist(34@)
goto_if_false @ZERO1_4901
Object.SetVisible(34@, False)

:ZERO1_4901
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_4927
Char.GiveWeapon(55@, WeaponType.Extinguisher, 1000)

:ZERO1_4927
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Text.PrintHelp('ZER1_24')
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_5061
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44609)

:ZERO1_4978
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_5004
wait 0
goto @ZERO1_4978

:ZERO1_5004
Text.PrintNow('ZER1_BE', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_5024
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_5050
wait 0
goto @ZERO1_5024

:ZERO1_5050
Text.ClearThisPrint('ZER1_BE')

:ZERO1_5061
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Game.SetWantedMultiplier(0.001)
147@ = 0
148@ = 1
return 

:ZERO1_5091
if 
  $ZERO4_view_debug == 1
goto_if_false @ZERO1_5314
if 
  151@ == 0
goto_if_false @ZERO1_5291
328@ = 0

:ZERO1_5134
if 
  4 > 328@
goto_if_false @ZERO1_5284
wait 0
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_5216
Car.SetHealth(35@(328@,10i), 20)
if 
  not Car.IsOnScreen(35@(328@,10i))
goto_if_false @ZERO1_5216
Car.Delete(35@(328@,10i))

:ZERO1_5216
Car.MarkAsNoLongerNeeded(35@(328@,10i))
if 
  Blip.DoesExist(178@(328@,10i))
goto_if_false @ZERO1_5254
Blip.Remove(178@(328@,10i))

:ZERO1_5254
StuckCarCheck.Remove(35@(328@,10i))
gosub @ZERO1_2054
328@ += 1
goto @ZERO1_5134

:ZERO1_5284
151@ = 1

:ZERO1_5291
147@ = 0
148@ = 1
TIMERA = 0
return 

:ZERO1_5314
147@ = 0
148@ = 1
TIMERA = 0
return 

:ZERO1_5337
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @ZERO1_5386
147@ = 0
148@ = 0
149@ = 1
150@ = 0
return 

:ZERO1_5386
gosub @ZERO1_13678
if 
  150@ == 1
goto_if_false @ZERO1_5441
147@ = 0
148@ = 0
149@ = 0
150@ = 1
return 

:ZERO1_5441
if 
  Char.IsDead(55@)
goto_if_false @ZERO1_5493
148@ = 0
150@ = 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('ZER1_25', 5000, 1)
return 

:ZERO1_5493
328@ = 0

:ZERO1_5500
if 
  8 > 328@
goto_if_false @ZERO1_8900
wait 0
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_8875
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_6064
if 
  165@ == 0
goto_if_false @ZERO1_5737
if 
  not Char.IsRespondingToEvent(55@, 59)
goto_if_false @ZERO1_5737
372@ = Sequence.Open()
Task.PlayAnim(-1, "SHOUT_01", "ON_LOOKERS", 4.0, False, False, False, True, 0)
Task.TurnCharToFaceCoord(-1, 268@(328@,10f), 278@(328@,10f), 288@(328@,10f))
Task.PlayAnim(-1, "LKUP_POINT", "ON_LOOKERS", 4.0, False, False, False, True, 0)
Task.ScratchHead(-1)
Sequence.Close(372@)
Char.PerformSequence(55@, 372@)
Sequence.Clear(372@)
165@ = 1

:ZERO1_5737
if 
  165@ == 1
goto_if_false @ZERO1_5791
56@ = Char.GetScriptTaskStatus(55@, 1560)
if 
  is_int_lvar_equal_to_constant 56@ == 7
goto_if_false @ZERO1_5791
165@ = 0

:ZERO1_5791
if 
  367@ == 1
goto_if_false @ZERO1_5898
if 
  Char.HasBeenDamagedByWeapon(55@, WeaponType.Minigun)
goto_if_false @ZERO1_5898
Char.ClearLastWeaponDamage(55@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44620)

:ZERO1_5845
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_5871
wait 0
goto @ZERO1_5845

:ZERO1_5871
Text.PrintNow('ZER1_DB', 5000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
367@ = 0

:ZERO1_5898
if 
  367@ == 0
goto_if_false @ZERO1_6057
if 
  Char.HasBeenDamagedByWeapon(55@, WeaponType.Minigun)
goto_if_false @ZERO1_6057
Char.ClearLastWeaponDamage(55@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44619)

:ZERO1_5952
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_6030
wait 0
if 
  Char.IsDead(55@)
goto_if_false @ZERO1_6023
148@ = 0
150@ = 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('ZER1_25', 5000, 1)
return 

:ZERO1_6023
goto @ZERO1_5952

:ZERO1_6030
Text.PrintNow('ZER1_DA', 5000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
367@ = 1

:ZERO1_6057
goto @ZERO1_6100

:ZERO1_6064
148@ = 0
150@ = 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('ZER1_25', 5000, 1)
return 

:ZERO1_6100
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_8857
if 
  152@(328@,8i) == 0
goto_if_false @ZERO1_6260
359@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 349@(328@,10i) = 359@
sub_int_lvar_from_int_lvar 349@(328@,10i) -= 339@(328@,10i)
if 
  349@(328@,10i) > 45000
goto_if_false @ZERO1_6260
Car.Explode(35@(328@,10i))
152@(328@,8i) = 1
167@(328@,10i) = 0
if 
  Object.DoesExist(188@(328@,10i))
goto_if_false @ZERO1_6260
Object.Delete(188@(328@,10i))

:ZERO1_6260
if 
  152@(328@,8i) == 0
goto_if_false @ZERO1_6382
if 
  Car.DoesHaveStuckCarCheck(35@(328@,10i))
goto_if_false @ZERO1_6382
if 
  StuckCarCheck.IsCarStuck(35@(328@,10i))
goto_if_false @ZERO1_6382
Car.Explode(35@(328@,10i))
if 
  Object.DoesExist(188@(328@,10i))
goto_if_false @ZERO1_6360
Object.Delete(188@(328@,10i))

:ZERO1_6360
152@(328@,8i) = 1
167@(328@,10i) = 0

:ZERO1_6382
if 
  152@(328@,8i) == 0
goto_if_false @ZERO1_6484
if 
  not Car.IsInAirProper(35@(328@,10i))
goto_if_false @ZERO1_6484
Car.Explode(35@(328@,10i))
if 
  Object.DoesExist(188@(328@,10i))
goto_if_false @ZERO1_6462
Object.Delete(188@(328@,10i))

:ZERO1_6462
152@(328@,8i) = 1
167@(328@,10i) = 0

:ZERO1_6484
if 
  152@(328@,8i) == 0
goto_if_false @ZERO1_6590
if 
  Car.HasBeenDamagedByWeapon(35@(328@,10i), WeaponType.Minigun)
goto_if_false @ZERO1_6590
if 
  Object.DoesExist(188@(328@,10i))
goto_if_false @ZERO1_6557
Object.Delete(188@(328@,10i))

:ZERO1_6557
Car.SetHealth(35@(328@,10i), 20)
152@(328@,8i) = 1
167@(328@,10i) = 0

:ZERO1_6590
if 
  152@(328@,8i) == 0
goto_if_false @ZERO1_6730
if 
  167@(328@,10i) == 0
goto_if_false @ZERO1_6730
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_6723
if 
  Car.Locate3D(35@(328@,10i), 77@(329@,4f), 81@(329@,4f), 85@(329@,4f), 18.0, 18.0, 40.0, False)
goto_if_false @ZERO1_6723
167@(328@,10i) = 1

:ZERO1_6723
goto @ZERO1_6730

:ZERO1_6730
if 
  167@(328@,10i) == 1
goto_if_false @ZERO1_6807
gosub @ZERO1_10921
if 
  150@ == 1
goto_if_false @ZERO1_6807
147@ = 0
148@ = 0
149@ = 0
150@ = 1
return 

:ZERO1_6807
if 
  150@ == 1
goto_if_false @ZERO1_6855
147@ = 0
148@ = 0
149@ = 0
150@ = 1
return 

:ZERO1_6855
if 
  167@(328@,10i) > 2
goto_if_false @ZERO1_7005
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_7005
if 
  Car.Locate2D(35@(328@,10i), 60@(328@,8f), 68@(328@,8f), 30.0, 30.0, False)
goto_if_false @ZERO1_7005
Car.Delete(35@(328@,10i))
if 
  Object.DoesExist(188@(328@,10i))
goto_if_false @ZERO1_6981
Object.Delete(188@(328@,10i))

:ZERO1_6981
152@(328@,8i) = 1
167@(328@,10i) = 0
return 

:ZERO1_7005
if 
  167@(328@,10i) == 2
goto_if_false @ZERO1_7158
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_7158
if 
  Car.Locate2D(35@(328@,10i), 95@(328@,8f), 103@(328@,8f), 7.0, 7.0, False)
goto_if_false @ZERO1_7158
Plane.GotoCoords(35@(328@,10i), 119@(328@,8f), 127@(328@,8f), 135@(328@,8f), 5.0, 0.5)
Plane.SetThrottle(35@(328@,10i), -1.1)
167@(328@,10i) = 3

:ZERO1_7158
if 
  167@(328@,10i) == 3
goto_if_false @ZERO1_7307
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_7307
if 
  Car.Locate2D(35@(328@,10i), 119@(328@,8f), 127@(328@,8f), 7.0, 7.0, False)
goto_if_false @ZERO1_7307
Plane.GotoCoords(35@(328@,10i), 77@(329@,4f), 81@(329@,4f), 76@, 3.0, 0.0)
Plane.SetThrottle(35@(328@,10i), -0.9)
167@(328@,10i) = 4

:ZERO1_7307
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_8839
if 
  Car.Locate3D(35@(328@,10i), 77@(329@,4f), 81@(329@,4f), 85@(329@,4f), 4.0, 4.0, 11.0, False)
goto_if_false @ZERO1_8832
89@, 90@, 91@ = Car.GetCoordinates(35@(328@,10i))
Car.Explode(35@(328@,10i))
Car.Delete(35@(328@,10i))
Fx.AddExplosion(89@, 90@, 91@, ExplosionType.Grenade)
if 
  Object.DoesExist(188@(328@,10i))
goto_if_false @ZERO1_7463
Object.Delete(188@(328@,10i))

:ZERO1_7463
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_7596
if 
  365@ == 0
goto_if_false @ZERO1_7596
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44617)

:ZERO1_7506
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_7532
wait 0
goto @ZERO1_7506

:ZERO1_7532
Text.PrintNow('ZER1_BN', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_7552
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_7578
wait 0
goto @ZERO1_7552

:ZERO1_7578
Text.ClearThisPrint('ZER1_BN')
365@ = 1

:ZERO1_7596
152@(328@,8i) = 1
167@(328@,10i) = 0
if 
  329@ == 3
goto_if_false @ZERO1_7972
if 
  334@ > 5
goto_if_false @ZERO1_7668
334@ -= 5
goto @ZERO1_7972

:ZERO1_7668
163@ = 1
Object.Delete(45@(329@,10i))
Fx.AddExplosion(77@(329@,4f), 81@(329@,4f), 85@(329@,4f), ExplosionType.Grenade)
Fx.AddExplosion(77@(329@,4f), 81@(329@,4f), 61.5, ExplosionType.Object)
45@(329@,10i) = Object.Create(#WONGS_ERECTION2, 77@(329@,4f), 81@(329@,4f), 85@(329@,4f))
Object.SetHeading(45@(329@,10i), 143@(329@,4f))
368@(329@,4i) = ScriptFire.Start(77@(329@,4f), 81@(329@,4f), 85@(329@,4f), 5, 3)
147@ = 0
148@ = 0
150@ = 1
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_7944
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44621)

:ZERO1_7861
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_7887
wait 0
goto @ZERO1_7861

:ZERO1_7887
Text.PrintNow('ZER1_EA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_7907
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_7933
wait 0
goto @ZERO1_7907

:ZERO1_7933
Text.ClearThisPrint('ZER1_EA')

:ZERO1_7944
Hud.ClearCounter($7425)
Hud.ClearTimer($7426)
Text.PrintNow('ZER1_19', 5000, 1)
return 

:ZERO1_7972
if 
  329@ == 2
goto_if_false @ZERO1_8392
if 
  333@ > 5
goto_if_false @ZERO1_8022
333@ -= 5
goto @ZERO1_8392

:ZERO1_8022
162@ = 1
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_8392
gosub @ZERO1_14061
if 
  150@ == 1
goto_if_false @ZERO1_8100
147@ = 0
148@ = 0
149@ = 0
150@ = 1
return 

:ZERO1_8100
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_8392
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44614)

:ZERO1_8125
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_8151
wait 0
goto @ZERO1_8125

:ZERO1_8151
Text.PrintNow('ZER1_BK', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_8171
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_8197
wait 0
goto @ZERO1_8171

:ZERO1_8197
Text.ClearThisPrint('ZER1_BK')
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44615)

:ZERO1_8217
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_8243
wait 0
goto @ZERO1_8217

:ZERO1_8243
Text.PrintNow('ZER1_BL', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_8263
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_8289
wait 0
goto @ZERO1_8263

:ZERO1_8289
Text.ClearThisPrint('ZER1_BL')
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44616)

:ZERO1_8309
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_8335
wait 0
goto @ZERO1_8309

:ZERO1_8335
Text.PrintNow('ZER1_BM', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_8355
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_8381
wait 0
goto @ZERO1_8355

:ZERO1_8381
Text.ClearThisPrint('ZER1_BM')

:ZERO1_8392
if 
  329@ == 1
goto_if_false @ZERO1_8612
if 
  332@ > 5
goto_if_false @ZERO1_8442
332@ -= 5
goto @ZERO1_8612

:ZERO1_8442
161@ = 1
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_8612
gosub @ZERO1_14061
if 
  150@ == 1
goto_if_false @ZERO1_8520
147@ = 0
148@ = 0
149@ = 0
150@ = 1
return 

:ZERO1_8520
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44613)

:ZERO1_8529
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_8555
wait 0
goto @ZERO1_8529

:ZERO1_8555
Text.PrintNow('ZER1_BJ', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_8575
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_8601
wait 0
goto @ZERO1_8575

:ZERO1_8601
Text.ClearThisPrint('ZER1_BJ')

:ZERO1_8612
if 
  329@ == 0
goto_if_false @ZERO1_8832
if 
  331@ > 5
goto_if_false @ZERO1_8662
331@ -= 5
goto @ZERO1_8832

:ZERO1_8662
160@ = 1
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_8832
gosub @ZERO1_14061
if 
  150@ == 1
goto_if_false @ZERO1_8740
147@ = 0
148@ = 0
149@ = 0
150@ = 1
return 

:ZERO1_8740
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44611)

:ZERO1_8749
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_8775
wait 0
goto @ZERO1_8749

:ZERO1_8775
Text.PrintNow('ZER1_BG', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_8795
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_8821
wait 0
goto @ZERO1_8795

:ZERO1_8821
Text.ClearThisPrint('ZER1_BG')

:ZERO1_8832
goto @ZERO1_8850

:ZERO1_8839
152@(328@,8i) = 1

:ZERO1_8850
goto @ZERO1_8868

:ZERO1_8857
152@(328@,8i) = 1

:ZERO1_8868
goto @ZERO1_8886

:ZERO1_8875
152@(328@,8i) = 1

:ZERO1_8886
328@ += 1
goto @ZERO1_5500

:ZERO1_8900
if 
  1 > $ZERO4_view_debug
goto_if_false @ZERO1_9414
328@ = 0

:ZERO1_8925
if 
  4 > 328@
goto_if_false @ZERO1_9127
if 
  152@(328@,8i) == 1
goto_if_false @ZERO1_9113
if 
  Blip.DoesExist(178@(328@,10i))
goto_if_false @ZERO1_8994
Blip.Remove(178@(328@,10i))

:ZERO1_8994
if 
  Object.DoesExist(188@(328@,10i))
goto_if_false @ZERO1_9023
Object.Delete(188@(328@,10i))

:ZERO1_9023
StuckCarCheck.Remove(35@(328@,10i))
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_9097
if 
  Car.IsOnScreen(35@(328@,10i))
goto_if_false @ZERO1_9088
Car.MarkAsNoLongerNeeded(35@(328@,10i))
goto @ZERO1_9097

:ZERO1_9088
Car.Delete(35@(328@,10i))

:ZERO1_9097
Car.MarkAsNoLongerNeeded(35@(328@,10i))
$ZERO4_view_debug += 1

:ZERO1_9113
328@ += 1
goto @ZERO1_8925

:ZERO1_9127
if 
  152@ == 1
goto_if_false @ZERO1_9407
if 
  153@ == 1
goto_if_false @ZERO1_9407
if 
  154@ == 1
goto_if_false @ZERO1_9407
if 
  155@ == 1
goto_if_false @ZERO1_9407
$ZERO4_view_debug += 1
148@ = 0
147@ = 1
151@ = 0
$ZERO4_view_debug += 1
Blip.Remove(178@)
Blip.Remove(179@)
Blip.Remove(180@)
Blip.Remove(181@)
328@ = 0

:ZERO1_9261
if 
  4 > 328@
goto_if_false @ZERO1_9407
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_9310
Car.SetHealth(35@(328@,10i), 20)

:ZERO1_9310
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_9375
if 
  Car.IsOnScreen(35@(328@,10i))
goto_if_false @ZERO1_9366
Car.MarkAsNoLongerNeeded(35@(328@,10i))
goto @ZERO1_9375

:ZERO1_9366
Car.Delete(35@(328@,10i))

:ZERO1_9375
Car.MarkAsNoLongerNeeded(35@(328@,10i))
StuckCarCheck.Remove(35@(328@,10i))
328@ += 1
goto @ZERO1_9261

:ZERO1_9407
goto @ZERO1_10103

:ZERO1_9414
328@ = 0

:ZERO1_9421
if 
  4 > 328@
goto_if_false @ZERO1_10117
if 
  152@(328@,8i) == 1
goto_if_false @ZERO1_10103
if 
  Blip.DoesExist(178@(328@,10i))
goto_if_false @ZERO1_9490
Blip.Remove(178@(328@,10i))

:ZERO1_9490
if 
  Object.DoesExist(188@(328@,10i))
goto_if_false @ZERO1_9519
Object.Delete(188@(328@,10i))

:ZERO1_9519
StuckCarCheck.Remove(35@(328@,10i))
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_9593
if 
  Car.IsOnScreen(35@(328@,10i))
goto_if_false @ZERO1_9584
Car.MarkAsNoLongerNeeded(35@(328@,10i))
goto @ZERO1_9593

:ZERO1_9584
Car.Delete(35@(328@,10i))

:ZERO1_9593
Car.MarkAsNoLongerNeeded(35@(328@,10i))
359@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 361@ = 359@
sub_int_lvar_from_int_lvar 361@ -= 360@
if and
  210000 > $7426
  $7426 > 190000
goto_if_false @ZERO1_9687
if 
  TIMERB > 12000
goto_if_false @ZERO1_9687
gosub @ZERO1_2054
TIMERB = 0

:ZERO1_9687
if and
  190000 > $7426
  $7426 > 120000
goto_if_false @ZERO1_9751
if 
  TIMERB > 6000
goto_if_false @ZERO1_9751
gosub @ZERO1_2054
TIMERB = 0

:ZERO1_9751
if and
  120000 > $7426
  $7426 > 0
goto_if_false @ZERO1_9812
if 
  TIMERB > 3500
goto_if_false @ZERO1_9812
gosub @ZERO1_2054
TIMERB = 0

:ZERO1_9812
if 
  152@ == 1
goto_if_false @ZERO1_10103
if 
  153@ == 1
goto_if_false @ZERO1_10103
if 
  154@ == 1
goto_if_false @ZERO1_10103
if 
  155@ == 1
goto_if_false @ZERO1_10103
if 
  156@ == 1
goto_if_false @ZERO1_10103
if 
  157@ == 1
goto_if_false @ZERO1_10103
if 
  158@ == 1
goto_if_false @ZERO1_10103
if 
  159@ == 1
goto_if_false @ZERO1_10103
gosub @ZERO1_2054
if 
  366@ == 0
goto_if_false @ZERO1_10096
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_10096
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44618)

:ZERO1_10006
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_10032
wait 0
goto @ZERO1_10006

:ZERO1_10032
Text.PrintNow('ZER1_CA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_10052
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_10078
wait 0
goto @ZERO1_10052

:ZERO1_10078
Text.ClearThisPrint('ZER1_CA')
366@ = 1

:ZERO1_10096
TIMERB = 0

:ZERO1_10103
328@ += 1
goto @ZERO1_9421

:ZERO1_10117
if 
  210000 > $7426
goto_if_false @ZERO1_10794
if 
  156@ == 1
goto_if_false @ZERO1_10794
if 
  157@ == 1
goto_if_false @ZERO1_10794
if 
  158@ == 1
goto_if_false @ZERO1_10794
if 
  159@ == 1
goto_if_false @ZERO1_10794
if 
  Blip.DoesExist(182@)
goto_if_false @ZERO1_10231
Blip.Remove(182@)

:ZERO1_10231
if 
  Blip.DoesExist(183@)
goto_if_false @ZERO1_10252
Blip.Remove(183@)

:ZERO1_10252
if 
  Blip.DoesExist(184@)
goto_if_false @ZERO1_10273
Blip.Remove(184@)

:ZERO1_10273
if 
  Blip.DoesExist(185@)
goto_if_false @ZERO1_10294
Blip.Remove(185@)

:ZERO1_10294
if 
  not Car.IsDead(39@)
goto_if_false @ZERO1_10317
Car.SetHealth(39@, 10)

:ZERO1_10317
if 
  not Car.IsDead(40@)
goto_if_false @ZERO1_10340
Car.SetHealth(40@, 10)

:ZERO1_10340
if 
  not Car.IsDead(41@)
goto_if_false @ZERO1_10363
Car.SetHealth(41@, 10)

:ZERO1_10363
if 
  not Car.IsDead(42@)
goto_if_false @ZERO1_10386
Car.SetHealth(42@, 10)

:ZERO1_10386
if 
  Object.DoesExist(192@)
goto_if_false @ZERO1_10407
Object.Delete(192@)

:ZERO1_10407
if 
  Object.DoesExist(193@)
goto_if_false @ZERO1_10428
Object.Delete(193@)

:ZERO1_10428
if 
  Object.DoesExist(194@)
goto_if_false @ZERO1_10449
Object.Delete(194@)

:ZERO1_10449
if 
  Object.DoesExist(195@)
goto_if_false @ZERO1_10470
Object.Delete(195@)

:ZERO1_10470
if 
  not Car.IsDead(39@)
goto_if_false @ZERO1_10519
if 
  Car.IsOnScreen(39@)
goto_if_false @ZERO1_10514
Car.MarkAsNoLongerNeeded(39@)
goto @ZERO1_10519

:ZERO1_10514
Car.Delete(39@)

:ZERO1_10519
Car.MarkAsNoLongerNeeded(39@)
if 
  not Car.IsDead(40@)
goto_if_false @ZERO1_10573
if 
  Car.IsOnScreen(40@)
goto_if_false @ZERO1_10568
Car.MarkAsNoLongerNeeded(40@)
goto @ZERO1_10573

:ZERO1_10568
Car.Delete(40@)

:ZERO1_10573
Car.MarkAsNoLongerNeeded(40@)
if 
  not Car.IsDead(41@)
goto_if_false @ZERO1_10627
if 
  Car.IsOnScreen(41@)
goto_if_false @ZERO1_10622
Car.MarkAsNoLongerNeeded(41@)
goto @ZERO1_10627

:ZERO1_10622
Car.Delete(41@)

:ZERO1_10627
Car.MarkAsNoLongerNeeded(41@)
if 
  not Car.IsDead(42@)
goto_if_false @ZERO1_10681
if 
  Car.IsOnScreen(42@)
goto_if_false @ZERO1_10676
Car.MarkAsNoLongerNeeded(42@)
goto @ZERO1_10681

:ZERO1_10676
Car.Delete(42@)

:ZERO1_10681
Car.MarkAsNoLongerNeeded(42@)
StuckCarCheck.Remove(39@)
StuckCarCheck.Remove(40@)
StuckCarCheck.Remove(41@)
StuckCarCheck.Remove(42@)
359@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 353@ = 359@
sub_int_lvar_from_int_lvar 353@ -= 343@
if 
  353@ > 45000
goto_if_false @ZERO1_10794
328@ = 4

:ZERO1_10755
if 
  8 > 328@
goto_if_false @ZERO1_10794
gosub @ZERO1_2612
328@ += 1
goto @ZERO1_10755

:ZERO1_10794
if 
  1 >= $7426
goto_if_false @ZERO1_10919
328@ = 0

:ZERO1_10819
if 
  8 > 328@
goto_if_false @ZERO1_10889
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_10875
Car.Explode(35@(328@,10i))
Car.MarkAsNoLongerNeeded(35@(328@,10i))

:ZERO1_10875
328@ += 1
goto @ZERO1_10819

:ZERO1_10889
147@ = 0
148@ = 0
149@ = 1
150@ = 0
return 

:ZERO1_10919
return 

:ZERO1_10921
248@(328@,10i) = 0
268@(328@,10f), 278@(328@,10f), 288@(328@,10f) = Car.GetCoordinates(35@(328@,10i))
318@(328@,10f) = World.GetGroundZFor3DCoord(268@(328@,10f), 278@(328@,10f), 288@(328@,10f))
if 
  Object.DoesExist(188@(328@,10i))
goto_if_false @ZERO1_11289
set_lvar_float_to_lvar_float 238@(328@,10f) = 288@(328@,10f)
sub_float_lvar_from_float_lvar 238@(328@,10f) -= 318@(328@,10f)
if 
  238@(328@,10f) > 0.5
goto_if_false @ZERO1_11173
World.SetVisibilityOfClosestObjectOfType(268@(328@,10f), 278@(328@,10f), 288@(328@,10f), 10.0, #RCBOMB, True)
sub_timed_val_from_float_lvar 258@(328@,10f) -=@ 0.05
if 
  -0.5 > 258@(328@,10f)
goto_if_false @ZERO1_11166
258@(328@,10f) = -0.5
248@(328@,10i) = 1

:ZERO1_11166
goto @ZERO1_11289

:ZERO1_11173
set_lvar_float_to_lvar_float 258@(328@,10f) = 238@(328@,10f)
258@(328@,10f) -= 1.0
258@(328@,10f) *= -1.0
if 
  258@(328@,10f) > 0.0
goto_if_false @ZERO1_11289
258@(328@,10f) = 0.0
World.SetVisibilityOfClosestObjectOfType(268@(328@,10f), 278@(328@,10f), 288@(328@,10f), 10.0, #RCBOMB, False)

:ZERO1_11289
if 
  167@(328@,10i) == 1
goto_if_false @ZERO1_11677
218@(328@,10i) = Clock.GetGameTimer()
if 
  is_int_lvar_greater_than_int_lvar 218@(328@,10i) > 228@(328@,10i)
goto_if_false @ZERO1_11677
if 
  208@(328@,10i) == 0
goto_if_false @ZERO1_11617
if 
  248@(328@,10i) == 1
goto_if_false @ZERO1_11610
258@(328@,10f) -= 0.5
Object.Detach(188@(328@,10i), 0.0, 0.0, 0.0, False)
Object.SetDynamic(188@(328@,10i), True)
Object.SetCollision(188@(328@,10i), True)
Object.AddToVelocity(188@(328@,10i), 0.0, 0.0, 0.0)
set_lvar_int_to_lvar_int 228@(328@,10i) = 218@(328@,10i)
228@(328@,10i) += 2500
set_lvar_int_to_lvar_int 198@(328@,10i) = 188@(328@,10i)
188@(328@,10i) = -1
Object.SetRecordsCollisions(198@(328@,10i), True)
set_lvar_int_to_lvar_int 298@(328@,10i) = 218@(328@,10i)
298@(328@,10i) += 250
set_lvar_int_to_lvar_int 308@(328@,10i) = 218@(328@,10i)
308@(328@,10i) += 3000
208@(328@,10i) = 1

:ZERO1_11610
goto @ZERO1_11677

:ZERO1_11617
if 
  208@(328@,10i) == 2
goto_if_false @ZERO1_11677
if 
  is_int_lvar_greater_than_int_lvar 218@(328@,10i) > 298@(328@,10i)
goto_if_false @ZERO1_11677
208@(328@,10i) = 0

:ZERO1_11677
if 
  208@(328@,10i) == 1
goto_if_false @ZERO1_13676
if 
  Object.DoesExist(198@(328@,10i))
goto_if_false @ZERO1_13676
268@(328@,10f), 278@(328@,10f), 288@(328@,10f) = Object.GetCoordinates(198@(328@,10i))
318@(328@,10f) = World.GetGroundZFor3DCoord(268@(328@,10f), 278@(328@,10f), 288@(328@,10f))
318@(328@,10f) += 0.5
if 
  6.0 > 318@(328@,10f)
goto_if_false @ZERO1_11832
318@(328@,10f) = 6.0

:ZERO1_11832
if or
  Object.HasCollidedWithAnything(198@(328@,10i))
  is_int_lvar_greater_than_int_lvar 218@(328@,10i) > 308@(328@,10i)
  Object.IsInWater(198@(328@,10i))
goto_if_false @ZERO1_13676
Object.SetRecordsCollisions(198@(328@,10i), False)
Fx.AddExplosion(268@(328@,10f), 278@(328@,10f), 288@(328@,10f), ExplosionType.Grenade)
Object.MarkAsNoLongerNeeded(198@(328@,10i))
Object.Delete(198@(328@,10i))
198@(328@,10i) = -1
208@(328@,10i) = 2
167@(328@,10i) = 2
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_12097
if 
  166@ == 0
goto_if_false @ZERO1_12097
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44607)

:ZERO1_12007
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_12033
wait 0
goto @ZERO1_12007

:ZERO1_12033
Text.PrintNow('ZER1_BC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_12053
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_12079
wait 0
goto @ZERO1_12053

:ZERO1_12079
Text.ClearThisPrint('ZER1_BC')
166@ = 1

:ZERO1_12097
if 
  not Car.IsDead(35@(328@,10i))
goto_if_false @ZERO1_12377
set_lvar_float_to_lvar_float 76@ = 85@(329@,4f)
76@ += 4.0
if 
  Car.Locate2D(35@(328@,10i), -2235.66, 182.43, 50.0, 50.0, False)
goto_if_false @ZERO1_12233
119@(328@,8f), 127@(328@,8f), 135@(328@,8f) = Car.GetOffsetInWorldCoords(35@(328@,10i), -25.0, 0.0, 5.0)
goto @ZERO1_12278

:ZERO1_12233
119@(328@,8f), 127@(328@,8f), 135@(328@,8f) = Car.GetOffsetInWorldCoords(35@(328@,10i), 25.0, 0.0, 5.0)

:ZERO1_12278
95@(328@,8f), 103@(328@,8f), 111@(328@,8f) = Car.GetOffsetInWorldCoords(35@(328@,10i), 0.0, 20.0, 4.0)
Plane.GotoCoords(35@(328@,10i), 95@(328@,8f), 103@(328@,8f), 111@(328@,8f), -1.0, 0.5)
Plane.SetThrottle(35@(328@,10i), -0.9)

:ZERO1_12377
if 
  160@ == 0
goto_if_false @ZERO1_12674
if 
  Object.DoesExist(45@)
goto_if_false @ZERO1_12674
if 
  Object.Locate3D(45@, 268@(328@,10f), 278@(328@,10f), 288@(328@,10f), 15.0, 15.0, 10.0, False)
goto_if_false @ZERO1_12674
if 
  331@ > 5
goto_if_false @ZERO1_12497
331@ -= 5
goto @ZERO1_12674

:ZERO1_12497
160@ = 1
gosub @ZERO1_14061
if 
  150@ == 1
goto_if_false @ZERO1_12559
147@ = 0
148@ = 0
149@ = 0
150@ = 1
return 

:ZERO1_12559
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_12674
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44611)

:ZERO1_12584
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_12610
wait 0
goto @ZERO1_12584

:ZERO1_12610
Text.PrintNow('ZER1_BG', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_12630
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_12656
wait 0
goto @ZERO1_12630

:ZERO1_12656
Text.ClearThisPrint('ZER1_BG')
331@ = 0

:ZERO1_12674
if 
  161@ == 0
goto_if_false @ZERO1_12971
if 
  Object.DoesExist(46@)
goto_if_false @ZERO1_12971
if 
  Object.Locate3D(46@, 268@(328@,10f), 278@(328@,10f), 288@(328@,10f), 15.0, 15.0, 10.0, False)
goto_if_false @ZERO1_12971
if 
  332@ > 5
goto_if_false @ZERO1_12794
332@ -= 5
goto @ZERO1_12971

:ZERO1_12794
161@ = 1
gosub @ZERO1_14061
if 
  150@ == 1
goto_if_false @ZERO1_12856
147@ = 0
148@ = 0
149@ = 0
150@ = 1
return 

:ZERO1_12856
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_12971
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44613)

:ZERO1_12881
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_12907
wait 0
goto @ZERO1_12881

:ZERO1_12907
Text.PrintNow('ZER1_BJ', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_12927
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_12953
wait 0
goto @ZERO1_12927

:ZERO1_12953
Text.ClearThisPrint('ZER1_BJ')
332@ = 0

:ZERO1_12971
if 
  162@ == 0
goto_if_false @ZERO1_13268
if 
  Object.DoesExist(47@)
goto_if_false @ZERO1_13268
if 
  Object.Locate3D(47@, 268@(328@,10f), 278@(328@,10f), 288@(328@,10f), 15.0, 15.0, 10.0, False)
goto_if_false @ZERO1_13268
if 
  333@ > 5
goto_if_false @ZERO1_13091
333@ -= 5
goto @ZERO1_13268

:ZERO1_13091
162@ = 1
gosub @ZERO1_14061
if 
  150@ == 1
goto_if_false @ZERO1_13153
147@ = 0
148@ = 0
149@ = 0
150@ = 1
return 

:ZERO1_13153
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_13268
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44614)

:ZERO1_13178
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_13204
wait 0
goto @ZERO1_13178

:ZERO1_13204
Text.PrintNow('ZER1_BK', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_13224
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_13250
wait 0
goto @ZERO1_13224

:ZERO1_13250
Text.ClearThisPrint('ZER1_BK')
333@ = 0

:ZERO1_13268
if 
  163@ == 0
goto_if_false @ZERO1_13676
if 
  Object.DoesExist(48@)
goto_if_false @ZERO1_13676
if 
  Object.Locate3D(48@, 268@(328@,10f), 278@(328@,10f), 288@(328@,10f), 15.0, 15.0, 10.0, False)
goto_if_false @ZERO1_13676
if 
  334@ > 5
goto_if_false @ZERO1_13388
334@ -= 5
goto @ZERO1_13676

:ZERO1_13388
163@ = 1
Object.Delete(45@(329@,10i))
Fx.AddExplosion(77@(329@,4f), 81@(329@,4f), 85@(329@,4f), ExplosionType.Grenade)
45@(329@,10i) = Object.Create(#WONGS_ERECTION2, 77@(329@,4f), 81@(329@,4f), 85@(329@,4f))
Object.SetHeading(45@(329@,10i), 143@(329@,4f))
368@(329@,4i) = ScriptFire.Start(77@(329@,4f), 81@(329@,4f), 85@(329@,4f), 5, 3)
334@ = 0
147@ = 0
148@ = 0
150@ = 1
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_13648
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44621)

:ZERO1_13565
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_13591
wait 0
goto @ZERO1_13565

:ZERO1_13591
Text.PrintNow('ZER1_EA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_13611
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_13637
wait 0
goto @ZERO1_13611

:ZERO1_13637
Text.ClearThisPrint('ZER1_EA')

:ZERO1_13648
Hud.ClearCounter($7425)
Hud.ClearTimer($7426)
Text.PrintNow('ZER1_19', 5000, 1)
return 

:ZERO1_13676
return 

:ZERO1_13678
if or
  329@ > 3
  5 >= $7425
goto_if_false @ZERO1_14027
147@ = 0
148@ = 0
150@ = 1
if 
  Object.DoesExist(45@(329@,10i))
goto_if_false @ZERO1_13884
Object.Delete(45@(329@,10i))
Fx.AddExplosion(77@(329@,4f), 81@(329@,4f), 85@(329@,4f), ExplosionType.Grenade)
Fx.AddExplosion(77@(329@,4f), 81@(329@,4f), 61.5, ExplosionType.Object)
45@(329@,10i) = Object.Create(#WONGS_ERECTION2, 77@(329@,4f), 81@(329@,4f), 85@(329@,4f))
Object.SetHeading(45@(329@,10i), 143@(329@,4f))
368@(329@,4i) = ScriptFire.Start(77@(329@,4f), 81@(329@,4f), 85@(329@,4f), 5, 3)

:ZERO1_13884
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_13992
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44621)

:ZERO1_13909
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_13935
wait 0
goto @ZERO1_13909

:ZERO1_13935
Text.PrintNow('ZER1_EA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_13955
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_13981
wait 0
goto @ZERO1_13955

:ZERO1_13981
Text.ClearThisPrint('ZER1_EA')

:ZERO1_13992
Hud.ClearCounter($7425)
Hud.ClearTimer($7426)
Text.PrintNow('ZER1_19', 5000, 1)
return 
goto @ZERO1_14059

:ZERO1_14027
set_var_int_to_lvar_int $7425 = 331@
add_int_lvar_to_int_var $7425 += 332@
add_int_lvar_to_int_var $7425 += 333@
add_int_lvar_to_int_var $7425 += 334@

:ZERO1_14059
return 

:ZERO1_14061
Object.Delete(45@(329@,10i))
Fx.AddExplosion(77@(329@,4f), 81@(329@,4f), 61.5, ExplosionType.Object)
Fx.AddExplosion(77@(329@,4f), 81@(329@,4f), 85@(329@,4f), ExplosionType.Grenade)
45@(329@,10i) = Object.Create(#WONGS_ERECTION2, 77@(329@,4f), 81@(329@,4f), 85@(329@,4f))
Object.SetHeading(45@(329@,10i), 143@(329@,4f))
368@(329@,4i) = ScriptFire.Start(77@(329@,4f), 81@(329@,4f), 85@(329@,4f), 5, 3)
if and
  4 > 329@
  329@ >= 0
goto_if_false @ZERO1_15220
329@ += 1
if 
  329@ == 1
goto_if_false @ZERO1_14411
60@ = -2308.496
68@ = 131.349
61@ = -2080.581
69@ = 122.0999
62@ = -2308.693
70@ = 190.552
63@ = -2124.54
71@ = 63.5174
64@ = -2112.457
72@ = 143.6713
65@ = -2111.908
73@ = 149.0278
66@ = -2110.368
74@ = 126.8913
67@ = -2110.021
75@ = 120.1988

:ZERO1_14411
if 
  329@ == 2
goto_if_false @ZERO1_14589
60@ = -2308.496
68@ = 131.349
61@ = -2080.581
69@ = 122.0999
62@ = -2308.693
70@ = 190.552
63@ = -2124.54
71@ = 63.5174
64@ = -2112.457
72@ = 143.6713
65@ = -2111.908
73@ = 149.0278
66@ = -2110.368
74@ = 126.8913
67@ = -2110.021
75@ = 120.1988

:ZERO1_14589
if 
  329@ == 3
goto_if_false @ZERO1_14774
DecisionMakerChar.ClearEventResponse(338@, 59)
60@ = -2119.496
68@ = 91.349
61@ = -2258.581
69@ = 169.0999
62@ = -2278.693
70@ = 66.552
63@ = -2248.54
71@ = 181.5174
64@ = -2180.457
72@ = 22.6713
65@ = -2181.908
73@ = 25.0278
66@ = -2181.368
74@ = 18.8913
67@ = -2180.021
75@ = 18.1988

:ZERO1_14774
set_lvar_float_to_lvar_float 76@ = 85@(329@,4f)
76@ += 10.0
if 
  not Car.IsDead(35@)
goto_if_false @ZERO1_14849
Plane.GotoCoords(35@, 77@(329@,4f), 81@(329@,4f), 76@, -1.0, 0.5)
339@ = Clock.GetGameTimer()

:ZERO1_14849
if 
  not Car.IsDead(36@)
goto_if_false @ZERO1_14902
Plane.GotoCoords(36@, 77@(329@,4f), 81@(329@,4f), 76@, -1.0, 0.5)
340@ = Clock.GetGameTimer()

:ZERO1_14902
if 
  not Car.IsDead(37@)
goto_if_false @ZERO1_14955
Plane.GotoCoords(37@, 77@(329@,4f), 81@(329@,4f), 76@, -1.0, 0.5)
341@ = Clock.GetGameTimer()

:ZERO1_14955
if 
  not Car.IsDead(38@)
goto_if_false @ZERO1_15008
Plane.GotoCoords(38@, 77@(329@,4f), 81@(329@,4f), 76@, -1.0, 0.5)
342@ = Clock.GetGameTimer()

:ZERO1_15008
if 
  not Car.IsDead(39@)
goto_if_false @ZERO1_15061
Plane.GotoCoords(39@, 77@(329@,4f), 81@(329@,4f), 76@, -1.0, 0.5)
343@ = Clock.GetGameTimer()

:ZERO1_15061
if 
  not Car.IsDead(40@)
goto_if_false @ZERO1_15114
Plane.GotoCoords(40@, 77@(329@,4f), 81@(329@,4f), 76@, -1.0, 0.5)
344@ = Clock.GetGameTimer()

:ZERO1_15114
if 
  not Car.IsDead(41@)
goto_if_false @ZERO1_15167
Plane.GotoCoords(41@, 77@(329@,4f), 81@(329@,4f), 76@, -1.0, 0.5)
345@ = Clock.GetGameTimer()

:ZERO1_15167
if 
  not Car.IsDead(42@)
goto_if_false @ZERO1_15220
Plane.GotoCoords(42@, 77@(329@,4f), 81@(329@,4f), 76@, -1.0, 0.5)
346@ = Clock.GetGameTimer()

:ZERO1_15220
return 
178@(328@,10i) = Blip.AddForCar(35@(328@,10i))
Blip.ChangeDisplay(178@(328@,10i), BlipDisplay.BlipOnly)
return 

:ZERO1_15251
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)
Player.ClearWantedLevel($statbike_temp)

:ZERO1_15271
if 
  Camera.GetFadingStatus
goto_if_false @ZERO1_15295
wait 0
goto @ZERO1_15271

:ZERO1_15295
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Player.SetHeadingForAttached($statbike_temp, 270.0, 270.0)
Streaming.RequestAnimation("CASINO")

:ZERO1_15331
if 
  not Streaming.HasAnimationLoaded("CASINO")
goto_if_false @ZERO1_15363
wait 0
goto @ZERO1_15331

:ZERO1_15363
Streaming.RemoveAnimation("ON_LOOKERS")
DecisionMakerChar.ClearEventResponse(338@, 59)
Task.ShootAtCoord($stattreadstamina_ctr, -2237.22, 170.55, 58.45, 3000)
if 
  Char.IsDead(55@)
goto_if_false @ZERO1_15466
55@ = Char.Create(PedType.CivMale, 290, -2235.0, 123.0, 57.1)
Char.SetHealth(55@, 1000)
Char.SetHeading(55@, 160.0)

:ZERO1_15466
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_15675
Char.ClearTasks(55@)
Char.SetCoordinates(55@, -2235.0, 123.0, 57.1)
Char.SetHeading(55@, 160.0)
372@ = Sequence.Open()
Task.GoStraightToCoord(-1, -2237.93, 121.4, 57.0, MoveState.Run, -1)
Task.PlayAnim(-1, "MANWIND", "CASINO", 4.0, True, False, False, False, 2000)
Task.AchieveHeading(-1, 100.0)
Task.ScratchHead(-1)
Task.ChatWithChar(-1, $stattreadstamina_ctr, True, 1)
Sequence.Close(372@)
Char.PerformSequence(55@, 372@)
Sequence.Clear(372@)
Camera.SetFixedPosition(-2242.837, 130.3954, 60.7181, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2242.324, 129.5807, 60.4482, SwitchType.JumpCut)

:ZERO1_15675
Camera.DoFade(1000, Fade.In)
Camera.SetFadingColor(0, 0, 0)

:ZERO1_15690
if 
  Camera.GetFadingStatus
goto_if_false @ZERO1_15714
wait 0
goto @ZERO1_15690

:ZERO1_15714
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44624)

:ZERO1_15723
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_15749
wait 0
goto @ZERO1_15723

:ZERO1_15749
Text.PrintNow('ZER1_FA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_15769
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_15795
wait 0
goto @ZERO1_15769

:ZERO1_15795
Text.ClearThisPrint('ZER1_FA')
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44625)

:ZERO1_15815
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_15841
wait 0
goto @ZERO1_15815

:ZERO1_15841
Text.PrintNow('ZER1_FB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_15861
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_15887
wait 0
goto @ZERO1_15861

:ZERO1_15887
Text.ClearThisPrint('ZER1_FB')
177@ = 0
TIMERB = 0
TIMERA = 0

:ZERO1_15919
if 
  177@ <> 10
goto_if_false @ZERO1_17032
wait 0
if 
  177@ == 0
goto_if_false @ZERO1_16344
if 
  TIMERA > 2000
goto_if_false @ZERO1_16344
177@ = 1
Camera.SetFixedPosition(-2238.853, 124.0934, 57.5797, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2238.476, 123.2044, 57.8399, SwitchType.JumpCut)
TIMERA = 0
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16070
Task.LookAtChar($stattreadstamina_ctr, 55@, 3500)

:ZERO1_16070
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44626)

:ZERO1_16079
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_16105
wait 0
goto @ZERO1_16079

:ZERO1_16105
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16129
Char.StartFacialTalk(55@, 10000)

:ZERO1_16129
Text.PrintNow('ZER1_FC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_16149
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_16175
wait 0
goto @ZERO1_16149

:ZERO1_16175
Text.ClearThisPrint('ZER1_FC')
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16207
Char.StopFacialTalk(55@)

:ZERO1_16207
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44627)

:ZERO1_16216
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_16242
wait 0
goto @ZERO1_16216

:ZERO1_16242
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16266
Char.StartFacialTalk(55@, 10000)

:ZERO1_16266
Text.PrintNow('ZER1_FD', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_16286
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_16312
wait 0
goto @ZERO1_16286

:ZERO1_16312
Text.ClearThisPrint('ZER1_FD')
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16344
Char.StopFacialTalk(55@)

:ZERO1_16344
if 
  177@ == 1
goto_if_false @ZERO1_16450
if 
  TIMERA > 100
goto_if_false @ZERO1_16450
177@ = 2
TIMERA = 0
Char.DetachFromCar($stattreadstamina_ctr)
Camera.SetFixedPosition(-2237.975, 122.7383, 58.3408, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2238.193, 121.7735, 58.4879, SwitchType.JumpCut)

:ZERO1_16450
if 
  177@ == 2
goto_if_false @ZERO1_16999
if 
  TIMERA > 200
goto_if_false @ZERO1_16999
177@ = 3
TIMERA = 0
372@ = Sequence.Open()
Task.AchieveHeading(-1, 270.0)
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16542
Task.ChatWithChar(-1, 55@, False, 1)

:ZERO1_16542
Sequence.Close(372@)
Char.PerformSequence($stattreadstamina_ctr, 372@)
Sequence.Clear(372@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44628)

:ZERO1_16569
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_16595
wait 0
goto @ZERO1_16569

:ZERO1_16595
Text.PrintNow('ZER1_FE', 10000, 1)
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16635
Char.StartFacialTalk(55@, 10000)

:ZERO1_16635
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_16639
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_16665
wait 0
goto @ZERO1_16639

:ZERO1_16665
Text.ClearThisPrint('ZER1_FE')
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16697
Char.StopFacialTalk(55@)

:ZERO1_16697
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44630)

:ZERO1_16706
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_16732
wait 0
goto @ZERO1_16706

:ZERO1_16732
Text.PrintNow('ZER1_FG', 10000, 1)
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16772
Char.StartFacialTalk(55@, 10000)

:ZERO1_16772
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_16776
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_16802
wait 0
goto @ZERO1_16776

:ZERO1_16802
Text.ClearThisPrint('ZER1_FG')
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16834
Char.StopFacialTalk(55@)

:ZERO1_16834
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16855
Task.ScratchHead(55@)

:ZERO1_16855
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44629)

:ZERO1_16864
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_16890
wait 0
goto @ZERO1_16864

:ZERO1_16890
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16914
Char.StartFacialTalk(55@, 10000)

:ZERO1_16914
Text.PrintNow('ZER1_FF', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO1_16934
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO1_16960
wait 0
goto @ZERO1_16934

:ZERO1_16960
Text.ClearThisPrint('ZER1_FF')
if 
  not Char.IsDead(55@)
goto_if_false @ZERO1_16992
Char.StopFacialTalk(55@)

:ZERO1_16992
177@ = 10

:ZERO1_16999
if 
  TIMERB > 14000
goto_if_false @ZERO1_17025
177@ = 10

:ZERO1_17025
goto @ZERO1_15919

:ZERO1_17032
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.Out)

:ZERO1_17047
if 
  Camera.GetFadingStatus
goto_if_false @ZERO1_17071
wait 0
goto @ZERO1_17047

:ZERO1_17071
Hud.SwitchWidescreen(False)
Hud.ClearCounter($7425)
Hud.ClearTimer($7426)
Char.DetachFromCar($stattreadstamina_ctr)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO1_17151
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
Task.AchieveHeading($stattreadstamina_ctr, 90.0)

:ZERO1_17151
wait 500
Camera.RestoreJumpcut
World.ClearArea(-2246.026, 134.895, 34.3047, 1000.0, True)
Camera.DoFade(1000, Fade.In)

:ZERO1_17189
if 
  Camera.GetFadingStatus
goto_if_false @ZERO1_17213
wait 0
goto @ZERO1_17189

:ZERO1_17213
return 

:ZERO1_17215
gosub @ZERO1_15251
Player.SetControl($statbike_temp, True)
Text.PrintWithNumberBig('M_PASS', 3000, 100, TextStyle.Middle)
Player.AddScore($statbike_temp, 3000)
Audio.PlayMissionPassedTune(1)
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('ZERO_1')
$flag_scrash_mission_counter += 1
return 

:ZERO1_17283
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
wait 5000
Camera.DoFade(500, Fade.Out)
Camera.SetFadingColor(0, 0, 0)

:ZERO1_17319
if 
  Camera.GetFadingStatus
goto_if_false @ZERO1_17343
wait 0
goto @ZERO1_17319

:ZERO1_17343
Hud.ClearCounter($7425)
Hud.ClearTimer($7426)
Char.DetachFromCar($stattreadstamina_ctr)
Hud.SwitchWidescreen(False)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO1_17423
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
Task.AchieveHeading($stattreadstamina_ctr, 90.0)

:ZERO1_17423
Streaming.LoadScene(-2246.026, 134.895, 34.3047)
Camera.RestoreJumpcut
World.ClearArea(-2246.026, 134.895, 34.3047, 1000.0, True)
Camera.DoFade(1000, Fade.In)

:ZERO1_17473
if 
  Camera.GetFadingStatus
goto_if_false @ZERO1_17497
wait 0
goto @ZERO1_17473

:ZERO1_17497
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO1_17520
Player.SetControl($statbike_temp, True)

:ZERO1_17520
return 

:ZERO1_17522
if 
  not has_deatharrest_been_executed 
goto_if_false @ZERO1_17535

:ZERO1_17535
Char.DetachFromCar($stattreadstamina_ctr)
Weather.Release
Camera.SetFadingColor(0, 0, 0)
World.RemoveAllScriptFires
$weapon_shop1_blip = 0
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Game.SetWantedMultiplier(1.0)
Rc.RemoveBuggy
World.SetCarDensityMultiplier(1.0)
Streaming.MarkModelAsNoLongerNeeded(464)
Streaming.MarkModelAsNoLongerNeeded(465)
Streaming.MarkModelAsNoLongerNeeded(362)
Streaming.MarkModelAsNoLongerNeeded(#WONGS_ERECTION)
Streaming.MarkModelAsNoLongerNeeded(#RCBOMB)
Streaming.MarkModelAsNoLongerNeeded(#WONGS_ERECTION2)
Streaming.MarkModelAsNoLongerNeeded(#MINIGUN_BASE)
Streaming.MarkModelAsNoLongerNeeded(366)
Streaming.UnloadSpecialCharacter(1)
Hud.ClearCounter($7425)
Hud.ClearTimer($7426)
Car.Delete(35@)
Car.Delete(36@)
Car.Delete(37@)
Car.Delete(38@)
Car.Delete(39@)
Car.Delete(40@)
Car.Delete(41@)
Car.Delete(42@)
Car.Delete(43@)
Car.Delete(44@)
Text.ClearSmallPrints
Camera.ResetNewScriptables
World.DisableAllEntryExits(False)
Object.Delete(45@)
Object.Delete(46@)
Object.Delete(47@)
Object.Delete(48@)
Object.Delete(49@)
Object.Delete(50@)
Object.Delete(51@)
Object.Delete(52@)
Object.Delete(53@)
Object.Delete(54@)
Object.Delete(188@)
Object.Delete(189@)
Object.Delete(190@)
Object.Delete(191@)
Object.Delete(192@)
Object.Delete(193@)
Object.Delete(194@)
Object.Delete(195@)
Object.Delete(196@)
Object.Delete(197@)
Object.Delete(198@)
Object.Delete(199@)
Object.Delete(200@)
Object.Delete(201@)
Object.Delete(202@)
Object.Delete(203@)
Object.Delete(204@)
Object.Delete(205@)
Object.Delete(206@)
Object.Delete(207@)
Blip.Remove(178@)
Blip.Remove(179@)
Blip.Remove(180@)
Blip.Remove(181@)
Blip.Remove(182@)
Blip.Remove(183@)
Blip.Remove(184@)
Blip.Remove(185@)
Blip.Remove(186@)
Blip.Remove(187@)
StuckCarCheck.Remove(35@)
StuckCarCheck.Remove(36@)
StuckCarCheck.Remove(37@)
StuckCarCheck.Remove(38@)
StuckCarCheck.Remove(39@)
StuckCarCheck.Remove(40@)
StuckCarCheck.Remove(41@)
StuckCarCheck.Remove(42@)
StuckCarCheck.Remove(43@)
StuckCarCheck.Remove(44@)
$flag_courier_mission_passed = Clock.GetGameTimer()
Char.RemoveElegantly(55@)
Object.MarkAsNoLongerNeeded(34@)
Streaming.RemoveAnimation("CASINO")
Streaming.RemoveAnimation("ON_LOOKERS")
Mission.Finish
return 

//-------------Mission 73---------------
// Originally: Supply Lines...

:ZERO2
gosub @ZERO2_36
if 
  has_deatharrest_been_executed 
goto_if_false @ZERO2_27
gosub @ZERO2_10381

:ZERO2_27
gosub @ZERO2_10383
terminate_this_script 

:ZERO2_36
119@ = 0
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
script_name 'ZERO2'
Player.SetControl($statbike_temp, False)
Text.LoadMissionText('ZERO2')
Hud.DisplayCarNames(False)
Camera.SetFadingColor(0, 0, 0)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Streaming.SetAreaVisible(6)
Player.SetControl($statbike_temp, False)
Weather.ForceNow(WeatherType.SunnySf)
Cutscene.Load('ZERO_2')

:ZERO2_126
if 
  not Cutscene.HasLoaded
goto_if_false @ZERO2_150
wait 0
goto @ZERO2_126

:ZERO2_150
Cutscene.Start
Camera.DoFade(1000, Fade.In)
Player.SetControl($statbike_temp, False)

:ZERO2_166
if 
  not Cutscene.HasFinished
goto_if_false @ZERO2_190
wait 0
goto @ZERO2_166

:ZERO2_190
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:ZERO2_213
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_237
wait 0
goto @ZERO2_213

:ZERO2_237
Cutscene.Clear
Streaming.SetAreaVisible(0)
Player.SetControl($statbike_temp, False)
96@ = 1
97@ = 0
98@ = 0
99@ = 0
110@ = 0
108@ = 0
109@ = 0
116@ = 0
117@ = 0
100@ = 0
101@ = 0
111@ = 0
112@ = 0
113@ = 0
121@ = 0
59@ = 390000.0
set_lvar_float_to_lvar_float 60@ = 59@
63@ = -2006.77
68@ = 365.69
73@ = 34.35
78@ = 0.0
64@ = -2250.573
69@ = 22.8303
74@ = 34.4634
79@ = 180.0
65@ = -2266.27
70@ = 53.1194
75@ = 34.38
80@ = 90.0
66@ = -2441.424
71@ = 41.963
76@ = 33.004
81@ = 90.0
67@ = -1728.08
72@ = 850.89
77@ = 23.73
82@ = 270.0
103@ = 0
104@ = 0
105@ = 0
106@ = 0
107@ = 0
122@ = 0
83@ = -2205.44
84@ = 128.99
85@ = 57.33
86@ = 90.0
87@ = -2227.0
88@ = 113.0
89@ = 35.5
61@ = 100.0
$7427 = 100
TIMERA = 0
129@ = 0
World.DisableAllEntryExits(True)
Streaming.RequestModel(464)
Streaming.RequestModel(459)
Streaming.RequestModel(352)
Streaming.RequestModel(510)
Streaming.RequestModel(468)
Streaming.LoadSpecialCharacter(1, 'ZERO')
Streaming.LoadAllModelsNow

:ZERO2_760
if or
  not Streaming.HasModelLoaded(464)
  not Streaming.HasModelLoaded(459)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(510)
  not Streaming.HasModelLoaded(468)
goto_if_false @ZERO2_807
wait 0
goto @ZERO2_760

:ZERO2_807
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @ZERO2_833
wait 0
goto @ZERO2_807

:ZERO2_833
56@ = DecisionMakerChar.Load(DecisionMakerType.Empty)

:ZERO2_840
wait 0
if 
  96@ == 1
goto_if_false @ZERO2_869
gosub @ZERO2_951

:ZERO2_869
if 
  116@ == 1
goto_if_false @ZERO2_894
gosub @ZERO2_7651

:ZERO2_894
if 
  100@ == 1
goto_if_false @ZERO2_919
goto @ZERO2_10352

:ZERO2_919
if 
  101@ == 1
goto_if_false @ZERO2_944
goto @ZERO2_10381

:ZERO2_944
goto @ZERO2_840

:ZERO2_951
World.ClearArea(87@, 88@, 89@, 1000.0, True)
35@ = Car.Create(459, -2250.9, 124.6, 28.48)
Car.SetLoadCollisionFlag(35@, False)
Car.FreezePosition(35@, True)
Car.OpenDoor(35@, CarDoor.LeftRearDoor)
Car.OpenDoor(35@, CarDoor.RightRearDoor)
Char.WarpIntoCar($stattreadstamina_ctr, 35@)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
if 
  not Car.IsDead(35@)
goto_if_false @ZERO2_1086
57@ = Char.CreateAsPassenger(35@, PedType.CivMale, 290, 0)
Car.SetHealth(35@, 1000)
Car.SetProofs(35@, True, True, True, True, True)

:ZERO2_1086
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Rc.GiveModelToPlayer($statbike_temp, 83@, 84@, 85@, 40.09, 464)
34@ = Rc.GetCar($statbike_temp)
Car.SetHeading(34@, 90.0)
Rc.SetEnableDetonateOnContact(False)
Rc.SetEnableDetonate(False)
Car.SetHealth(34@, 900)
Car.SetProofs(34@, False, True, True, False, False)
129@ = 0

:ZERO2_1171
if 
  5 > 129@
goto_if_false @ZERO2_1776
wait 0
World.ClearArea(63@(129@,5f), 68@(129@,5f), 73@(129@,5f), 1000.0, True)
if 
  129@ == 0
goto_if_false @ZERO2_1286
46@(129@,5i) = Car.Create(468, 63@(129@,5f), 68@(129@,5f), 73@(129@,5f))
Car.SetHealth(46@(129@,5i), 1000)

:ZERO2_1286
if 
  129@ == 1
goto_if_false @ZERO2_1349
46@(129@,5i) = Car.Create(510, 63@(129@,5f), 68@(129@,5f), 73@(129@,5f))
Car.SetHealth(46@(129@,5i), 1500)

:ZERO2_1349
if 
  129@ == 2
goto_if_false @ZERO2_1412
46@(129@,5i) = Car.Create(459, 63@(129@,5f), 68@(129@,5f), 73@(129@,5f))
Car.SetHealth(46@(129@,5i), 1500)

:ZERO2_1412
if 
  129@ == 3
goto_if_false @ZERO2_1475
46@(129@,5i) = Car.Create(459, 63@(129@,5f), 68@(129@,5f), 73@(129@,5f))
Car.SetHealth(46@(129@,5i), 1500)

:ZERO2_1475
if 
  129@ == 4
goto_if_false @ZERO2_1549
46@(129@,5i) = Car.Create(459, 63@(129@,5f), 68@(129@,5f), 73@(129@,5f))
Car.SetHealth(46@(129@,5i), 1500)
Car.LockDoors(46@(129@,5i), CarLock.SkipShutDoors)

:ZERO2_1549
Car.SetHeading(46@(129@,5i), 78@(129@,5f))
Car.SetProofs(46@(129@,5i), False, True, True, False, False)
36@(129@,5i) = Char.CreateRandomAsDriver(46@(129@,5i))
Char.GiveWeapon(36@(129@,5i), WeaponType.MicroUzi, 500)
Char.SetAccuracy(36@(129@,5i), 80)
Car.SetLoadCollisionFlag(46@(129@,5i), False)
if or
  129@ == 3
  129@ == 0
goto_if_false @ZERO2_1728
51@(129@,5i) = Char.CreateRandomAsPassenger(46@(129@,5i), 0)
Char.GiveWeapon(51@(129@,5i), WeaponType.MicroUzi, 500)
Char.SetAccuracy(51@(129@,5i), 80)
Char.SetDecisionMaker(51@(129@,5i), 56@)
Char.SetDecisionMaker(36@(129@,5i), 56@)

:ZERO2_1728
Task.CarDriveWander(36@(129@,5i), 46@(129@,5i), 3.0, DrivingMode.StopForCars)
103@(129@,5i) = 0
129@ += 1
goto @ZERO2_1171

:ZERO2_1776
TIMERB = 0
Camera.SetFixedPosition(-2273.841, 45.5794, 37.0987, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2273.297, 46.4174, 37.1385, SwitchType.JumpCut)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(-2285.54, 41.31, 35.01, 1000.0, True)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(-2273.841, 45.5794, 37.0987, -2280.653, 50.3058, 35.7357, 5000, True)
Camera.SetVectorTrack(-2273.297, 46.4174, 37.1385, -2280.054, 51.104, 35.6677, 5000, True)
Hud.SwitchWidescreen(True)
TIMERA = 0
TIMERB = 0
Streaming.LoadSceneInDirection(-2273.841, 45.5794, 37.0987, 310.0)
Camera.SetFadingColor(0, 0, 0)
wait 1000
Camera.DoFade(1000, Fade.In)
120@ = 0

:ZERO2_2023
if 
  120@ <> 10
goto_if_false @ZERO2_2460
wait 0
if 
  120@ == 0
goto_if_false @ZERO2_2169
120@ = 1
skip_cutscene_start_internal @ZERO2_2460
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44801)

:ZERO2_2086
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_2112
wait 0
goto @ZERO2_2086

:ZERO2_2112
Text.PrintNow('ZER2_AB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_2132
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_2158
wait 0
goto @ZERO2_2132

:ZERO2_2158
Text.ClearThisPrint('ZER2_AB')

:ZERO2_2169
if 
  120@ == 1
goto_if_false @ZERO2_2286
120@ = 2
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44802)

:ZERO2_2203
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_2229
wait 0
goto @ZERO2_2203

:ZERO2_2229
Text.PrintNow('ZER2_AC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_2249
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_2275
wait 0
goto @ZERO2_2249

:ZERO2_2275
Text.ClearThisPrint('ZER2_AC')

:ZERO2_2286
if 
  120@ == 2
goto_if_false @ZERO2_2403
120@ = 3
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44803)

:ZERO2_2320
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_2346
wait 0
goto @ZERO2_2320

:ZERO2_2346
Text.PrintNow('ZER2_AD', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_2366
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_2392
wait 0
goto @ZERO2_2366

:ZERO2_2392
Text.ClearThisPrint('ZER2_AD')

:ZERO2_2403
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @ZERO2_2427
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
120@ = 10

:ZERO2_2427
if 
  TIMERA > 5000
goto_if_false @ZERO2_2453
120@ = 10

:ZERO2_2453
goto @ZERO2_2023

:ZERO2_2460
skip_cutscene_end 
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:ZERO2_2477
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_2501
wait 0
goto @ZERO2_2477

:ZERO2_2501
Camera.ResetNewScriptables
if 
  not Car.IsDead(35@)
goto_if_false @ZERO2_2556
Car.SetCoordinates(35@, -2233.9, 122.6, 700.48)
Car.SetHeading(35@, 90.0)
Car.FreezePosition(35@, True)

:ZERO2_2556
Audio.SetRadioChannel(RadioChannel.RadioX)
if 
  not Car.IsDead(35@)
goto_if_false @ZERO2_2581
Car.CloseAllDoors(35@)

:ZERO2_2581
Hud.SwitchWidescreen(False)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Camera.RestoreJumpcut
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_2641
Camera.PointAtCar(34@, CameraMode.CamOnAString, SwitchType.JumpCut)
Car.FreezePosition(34@, False)
wait 0
Camera.SetZoom(1)

:ZERO2_2641
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:ZERO2_2656
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_2680
wait 0
goto @ZERO2_2656

:ZERO2_2680
Player.SetControl($statbike_temp, True)
129@ = 0

:ZERO2_2694
if 
  5 > 129@
goto_if_false @ZERO2_2762
if 
  not Char.IsDead(36@(129@,5i))
goto_if_false @ZERO2_2748
123@(129@,5i) = Blip.AddForChar(36@(129@,5i))

:ZERO2_2748
129@ += 1
goto @ZERO2_2694

:ZERO2_2762
Hud.DisplayCounterWithString($7427, CounterDisplay.Bar, 'ZER2_28')
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44800)

:ZERO2_2791
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_2817
wait 0
goto @ZERO2_2791

:ZERO2_2817
Text.PrintNow('ZER2_AA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_2837
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_2863
wait 0
goto @ZERO2_2837

:ZERO2_2863
Text.ClearThisPrint('ZER2_AA')
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_7493

:ZERO2_2890
if 
  110@ <> 1
goto_if_false @ZERO2_7493
wait 0
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_3098
if 
is_xbox_version 
goto_if_false @ZERO2_3009
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @ZERO2_3002
59@ -= 45.0
set_lvar_float_to_lvar_float 61@ = 59@
div_float_lvar_by_float_lvar 61@ /= 60@
61@ *= 100.0
cset_var_int_to_lvar_float $7427 =# 61@

:ZERO2_3002
goto @ZERO2_3070

:ZERO2_3009
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @ZERO2_3070
59@ -= 45.0
set_lvar_float_to_lvar_float 61@ = 59@
div_float_lvar_by_float_lvar 61@ /= 60@
61@ *= 100.0
cset_var_int_to_lvar_float $7427 =# 61@

:ZERO2_3070
83@, 84@, 85@ = Car.GetCoordinates(34@)
58@ = World.GetCityFromCoords(83@, 84@, 85@)

:ZERO2_3098
if or
  is_int_lvar_equal_to_constant 58@ == 1
  is_int_lvar_equal_to_constant 58@ == 3
goto_if_false @ZERO2_3133
Car.Explode(34@)
Car.Explode(34@)

:ZERO2_3133
if 
  119@ == 0
goto_if_false @ZERO2_3176
Text.PrintHelp('ZER2_1')
119@ = 1
TIMERA = 0

:ZERO2_3176
if 
  119@ == 1
goto_if_false @ZERO2_3240
if 
  TIMERA > 8000
goto_if_false @ZERO2_3240
Text.ClearHelp
Text.PrintHelp('ZER2_2')
119@ = 2
TIMERA = 0

:ZERO2_3240
if 
  119@ == 2
goto_if_false @ZERO2_3304
if 
  TIMERA > 8000
goto_if_false @ZERO2_3304
Text.ClearHelp
Text.PrintHelp('ZER2_30')
119@ = 3
TIMERA = 0

:ZERO2_3304
if 
  119@ == 3
goto_if_false @ZERO2_3366
if 
  TIMERA > 8000
goto_if_false @ZERO2_3366
Text.ClearHelp
Text.PrintNow('ZER2_14', 10000, 1)
119@ = 4

:ZERO2_3366
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @ZERO2_3434
wait 0
wait 0
wait 0
wait 0
96@ = 0
97@ = 0
98@ = 0
100@ = 1
101@ = 0
return 

:ZERO2_3434
if 
  122@ == 0
goto_if_false @ZERO2_3569
if 
  50 >= $7427
goto_if_false @ZERO2_3569
122@ = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44811)

:ZERO2_3486
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_3512
wait 0
goto @ZERO2_3486

:ZERO2_3512
Text.PrintNow('ZER2_DA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_3532
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_3558
wait 0
goto @ZERO2_3532

:ZERO2_3558
Text.ClearThisPrint('ZER2_DA')

:ZERO2_3569
if 
  122@ == 1
goto_if_false @ZERO2_3704
if 
  10 >= $7427
goto_if_false @ZERO2_3704
122@ = 2
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44812)

:ZERO2_3621
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_3647
wait 0
goto @ZERO2_3621

:ZERO2_3647
Text.PrintNow('ZER2_DB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_3667
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_3693
wait 0
goto @ZERO2_3667

:ZERO2_3693
Text.ClearThisPrint('ZER2_DB')

:ZERO2_3704
if 
  0 >= $7427
goto_if_false @ZERO2_4121
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_3752
Car.SetEngineOn(34@, False)
Car.SetHeavy(34@, True)

:ZERO2_3752
Hud.ClearCounter($7427)
TIMERA = 0
96@ = 0
97@ = 0
98@ = 0
99@ = 0
100@ = 0
101@ = 1
Player.SetControl($statbike_temp, False)
Text.PrintNow('ZER2_42', 5000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44623)

:ZERO2_3854
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_3880
wait 0
goto @ZERO2_3854

:ZERO2_3880
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_3884
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_3936
wait 0
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_3929
Car.SetForwardSpeed(34@, 0.0)

:ZERO2_3929
goto @ZERO2_3884

:ZERO2_3936
Rc.RemoveBuggy
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO2_4027
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO2_3997
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
goto @ZERO2_4017

:ZERO2_3997
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)

:ZERO2_4017
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO2_4027
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:ZERO2_4042
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_4066
wait 0
goto @ZERO2_4042

:ZERO2_4066
Streaming.LoadScene(-2245.026, 126.895, 34.3047)
wait 1000
Camera.DoFade(1000, Fade.In)

:ZERO2_4095
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_4119
wait 0
goto @ZERO2_4095

:ZERO2_4119
return 

:ZERO2_4121
if 
  Car.IsDead(34@)
goto_if_false @ZERO2_4471
Hud.ClearCounter($7427)
101@ = 1
Player.SetControl($statbike_temp, False)
96@ = 0
Text.PrintNow('ZER2_8', 5000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44622)

:ZERO2_4204
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_4230
wait 0
goto @ZERO2_4204

:ZERO2_4230
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_4234
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_4286
wait 0
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_4279
Car.SetForwardSpeed(34@, 0.0)

:ZERO2_4279
goto @ZERO2_4234

:ZERO2_4286
Rc.RemoveBuggy
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO2_4377
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO2_4347
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
goto @ZERO2_4367

:ZERO2_4347
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)

:ZERO2_4367
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO2_4377
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:ZERO2_4392
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_4416
wait 0
goto @ZERO2_4392

:ZERO2_4416
Streaming.LoadScene(-2245.026, 126.895, 34.3047)
wait 1000
Camera.DoFade(1000, Fade.In)

:ZERO2_4445
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_4469
wait 0
goto @ZERO2_4445

:ZERO2_4469
return 

:ZERO2_4471
129@ = 0

:ZERO2_4478
if 
  5 > 129@
goto_if_false @ZERO2_7389
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_5118
83@, 84@, 85@ = Car.GetCoordinates(34@)
if 
  111@(129@,5i) == 0
goto_if_false @ZERO2_5118
if 
  not Char.IsDead(36@(129@,5i))
goto_if_false @ZERO2_4597
if 
  103@(129@,5i) == 1
goto_if_false @ZERO2_4590

:ZERO2_4590
goto @ZERO2_5118

:ZERO2_4597
111@(129@,5i) = 1
Blip.Remove(123@(129@,5i))
Car.MarkAsNoLongerNeeded(46@(129@,5i))
if or
  129@ == 3
  129@ == 0
goto_if_false @ZERO2_4660
Char.MarkAsNoLongerNeeded(51@(129@,5i))

:ZERO2_4660
121@ += 1
111@(129@,5i) = 1
if 
  121@ == 1
goto_if_false @ZERO2_4788
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44806)

:ZERO2_4705
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_4731
wait 0
goto @ZERO2_4705

:ZERO2_4731
Text.PrintNow('ZER2_CA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_4751
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_4777
wait 0
goto @ZERO2_4751

:ZERO2_4777
Text.ClearThisPrint('ZER2_CA')

:ZERO2_4788
if 
  121@ == 2
goto_if_false @ZERO2_4898
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44808)

:ZERO2_4815
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_4841
wait 0
goto @ZERO2_4815

:ZERO2_4841
Text.PrintNow('ZER2_CC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_4861
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_4887
wait 0
goto @ZERO2_4861

:ZERO2_4887
Text.ClearThisPrint('ZER2_CC')

:ZERO2_4898
if 
  121@ == 3
goto_if_false @ZERO2_5008
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44809)

:ZERO2_4925
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_4951
wait 0
goto @ZERO2_4925

:ZERO2_4951
Text.PrintNow('ZER2_CD', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_4971
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_4997
wait 0
goto @ZERO2_4971

:ZERO2_4997
Text.ClearThisPrint('ZER2_CD')

:ZERO2_5008
if 
  121@ == 4
goto_if_false @ZERO2_5118
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44810)

:ZERO2_5035
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_5061
wait 0
goto @ZERO2_5035

:ZERO2_5061
Text.PrintNow('ZER2_CE', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_5081
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_5107
wait 0
goto @ZERO2_5081

:ZERO2_5107
Text.ClearThisPrint('ZER2_CE')

:ZERO2_5118
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_7041
95@ = Clock.GetGameTimer()
if 
  not Car.Locate3D(34@, 91@, 92@, 93@, 1.5, 1.5, 1.5, False)
goto_if_false @ZERO2_5218
91@, 92@, 93@ = Car.GetCoordinates(34@)
set_lvar_int_to_lvar_int 94@ = 95@
94@ += 4000
117@ = 0

:ZERO2_5218
if 
  Car.Locate3D(34@, 91@, 92@, 93@, 1.5, 1.5, 1.5, False)
goto_if_false @ZERO2_6099
if 
  is_int_lvar_greater_than_int_lvar 95@ > 94@
goto_if_false @ZERO2_6099
if 
  119@ > 3
goto_if_false @ZERO2_6099
if 
  117@ == 0
goto_if_false @ZERO2_5333
Text.PrintHelp('ZER2_4')
117@ = 1

:ZERO2_5333
if 
is_xbox_version 
goto_if_false @ZERO2_5726
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @ZERO2_5719
96@ = 0
97@ = 0
98@ = 0
99@ = 0
100@ = 0
101@ = 1
Player.SetControl($statbike_temp, False)
Text.PrintNow('ZER2_8', 5000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Car.SetHealth(34@, 1)
Hud.ClearCounter($7427)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO2_5545
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO2_5515
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
goto @ZERO2_5535

:ZERO2_5515
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)

:ZERO2_5535
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO2_5545
Fx.AddExplosion(91@, 92@, 93@, ExplosionType.Grenade)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44623)

:ZERO2_5567
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_5593
wait 0
goto @ZERO2_5567

:ZERO2_5593
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_5597
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_5623
wait 0
goto @ZERO2_5597

:ZERO2_5623
Rc.RemoveBuggy
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:ZERO2_5640
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_5664
wait 0
goto @ZERO2_5640

:ZERO2_5664
Streaming.LoadScene(-2245.026, 126.895, 34.3047)
wait 1000
Camera.DoFade(1000, Fade.In)

:ZERO2_5693
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_5717
wait 0
goto @ZERO2_5693

:ZERO2_5717
return 

:ZERO2_5719
goto @ZERO2_6099

:ZERO2_5726
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @ZERO2_6099
96@ = 0
97@ = 0
98@ = 0
99@ = 0
100@ = 0
101@ = 1
Player.SetControl($statbike_temp, False)
Text.PrintNow('ZER2_8', 5000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Car.SetHealth(34@, 1)
Hud.ClearCounter($7427)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO2_5925
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO2_5895
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
goto @ZERO2_5915

:ZERO2_5895
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)

:ZERO2_5915
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO2_5925
Fx.AddExplosion(91@, 92@, 93@, ExplosionType.Grenade)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44623)

:ZERO2_5947
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_5973
wait 0
goto @ZERO2_5947

:ZERO2_5973
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_5977
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_6003
wait 0
goto @ZERO2_5977

:ZERO2_6003
Rc.RemoveBuggy
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:ZERO2_6020
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_6044
wait 0
goto @ZERO2_6020

:ZERO2_6044
Streaming.LoadScene(-2245.026, 126.895, 34.3047)
wait 1000
Camera.DoFade(1000, Fade.In)

:ZERO2_6073
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_6097
wait 0
goto @ZERO2_6073

:ZERO2_6097
return 

:ZERO2_6099
if 
  not Car.IsDead(46@(129@,5i))
goto_if_false @ZERO2_7034
if 
  103@(129@,5i) == 0
goto_if_false @ZERO2_6787
if or
  Car.HasBeenDamagedByCar(46@(129@,5i), 34@)
  Car.HasBeenDamagedByWeapon(46@(129@,5i), WeaponType.M4)
goto_if_false @ZERO2_6787
103@(129@,5i) = 1
if or
  129@ == 2
  129@ == 1
goto_if_false @ZERO2_6495
if 
  not Char.IsDead(36@(129@,5i))
goto_if_false @ZERO2_6488
Task.LeaveCarAndFlee(36@(129@,5i), 46@(129@,5i), 83@, 84@, 85@)
Task.DestroyCar(36@(129@,5i), 34@)
if 
  129@ == 1
goto_if_false @ZERO2_6378
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44805)

:ZERO2_6295
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_6321
wait 0
goto @ZERO2_6295

:ZERO2_6321
Text.PrintNow('ZER2_BB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_6341
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_6367
wait 0
goto @ZERO2_6341

:ZERO2_6367
Text.ClearThisPrint('ZER2_BB')

:ZERO2_6378
if 
  129@ == 2
goto_if_false @ZERO2_6488
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44804)

:ZERO2_6405
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_6431
wait 0
goto @ZERO2_6405

:ZERO2_6431
Text.PrintNow('ZER2_BA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_6451
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_6477
wait 0
goto @ZERO2_6451

:ZERO2_6477
Text.ClearThisPrint('ZER2_BA')

:ZERO2_6488
goto @ZERO2_6576

:ZERO2_6495
if 
  not Car.IsDead(46@(129@,5i))
goto_if_false @ZERO2_6576
if 
  not Char.IsDead(36@(129@,5i))
goto_if_false @ZERO2_6576
if 
  129@ <> 4
goto_if_false @ZERO2_6576
Task.CarDriveWander(36@(129@,5i), 46@(129@,5i), 12.0, DrivingMode.PloughThrough)

:ZERO2_6576
if or
  129@ == 3
  129@ == 0
goto_if_false @ZERO2_6677
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_6677
if 
  not Char.IsDead(51@(129@,5i))
goto_if_false @ZERO2_6677
Task.DriveBy(51@(129@,5i), -1, 34@, 0.0, 0.0, 0.0, 1000.0, DriveByType.Ai, False, 100)

:ZERO2_6677
if 
  129@ == 0
goto_if_false @ZERO2_6787
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44631)

:ZERO2_6704
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_6730
wait 0
goto @ZERO2_6704

:ZERO2_6730
Text.PrintNow('ZER1_FH', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_6750
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_6776
wait 0
goto @ZERO2_6750

:ZERO2_6776
Text.ClearThisPrint('ZER1_FH')

:ZERO2_6787
if 
  119@ == 4
goto_if_false @ZERO2_7034
if 
  not Car.IsDead(46@(129@,5i))
goto_if_false @ZERO2_7034
if 
  Car.Locate3D(46@(129@,5i), 83@, 84@, 85@, 50.0, 50.0, 50.0, False)
goto_if_false @ZERO2_6932
if 
  Car.IsOnScreen(46@(129@,5i))
goto_if_false @ZERO2_6932
if 
  98@ == 0
goto_if_false @ZERO2_6932
Text.Print('ZER2_7', 5000, 1)
98@ = 1

:ZERO2_6932
if 
  Car.Locate3D(46@(129@,5i), 83@, 84@, 85@, 30.0, 30.0, 30.0, False)
goto_if_false @ZERO2_7034
if 
  Car.IsOnScreen(46@(129@,5i))
goto_if_false @ZERO2_7034
if 
  98@ == 1
goto_if_false @ZERO2_7034
Text.PrintHelp('ZER2_30')
98@ = 2

:ZERO2_7034
goto @ZERO2_7375

:ZERO2_7041
101@ = 1
Player.SetControl($statbike_temp, False)
96@ = 0
Text.PrintNow('ZER2_8', 5000, 1)
Hud.ClearCounter($7427)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO2_7172
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO2_7142
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
goto @ZERO2_7162

:ZERO2_7142
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)

:ZERO2_7162
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO2_7172
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44622)

:ZERO2_7197
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_7223
wait 0
goto @ZERO2_7197

:ZERO2_7223
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_7227
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_7279
wait 0
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_7272
Car.SetForwardSpeed(34@, 0.0)

:ZERO2_7272
goto @ZERO2_7227

:ZERO2_7279
Rc.RemoveBuggy
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:ZERO2_7296
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_7320
wait 0
goto @ZERO2_7296

:ZERO2_7320
Streaming.LoadScene(-2245.026, 126.895, 34.3047)
wait 1000
Camera.DoFade(1000, Fade.In)

:ZERO2_7349
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_7373
wait 0
goto @ZERO2_7349

:ZERO2_7373
return 

:ZERO2_7375
129@ += 1
goto @ZERO2_4478

:ZERO2_7389
if 
  111@ == 1
goto_if_false @ZERO2_7486
if 
  112@ == 1
goto_if_false @ZERO2_7486
if 
  113@ == 1
goto_if_false @ZERO2_7486
if 
  114@ == 1
goto_if_false @ZERO2_7486
if 
  115@ == 1
goto_if_false @ZERO2_7486
110@ = 1

:ZERO2_7486
goto @ZERO2_2890

:ZERO2_7493
96@ = 0
100@ = 0
116@ = 1
108@ = 0
128@ = Blip.AddForCoord(-2237.31, 140.08, 57.23)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44816)

:ZERO2_7550
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_7576
wait 0
goto @ZERO2_7550

:ZERO2_7576
Text.PrintNow('ZER2_EB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_7596
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_7622
wait 0
goto @ZERO2_7596

:ZERO2_7622
Text.ClearThisPrint('ZER2_EB')
Text.PrintNow('ZER2_41', 5000, 1)
return 

:ZERO2_7651
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_9320
62@ = Car.GetSpeed(34@)
if 
is_xbox_version 
goto_if_false @ZERO2_7756
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @ZERO2_7749
59@ -= 45.0
set_lvar_float_to_lvar_float 61@ = 59@
div_float_lvar_by_float_lvar 61@ /= 60@
61@ *= 100.0
cset_var_int_to_lvar_float $7427 =# 61@

:ZERO2_7749
goto @ZERO2_7817

:ZERO2_7756
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @ZERO2_7817
59@ -= 45.0
set_lvar_float_to_lvar_float 61@ = 59@
div_float_lvar_by_float_lvar 61@ /= 60@
61@ *= 100.0
cset_var_int_to_lvar_float $7427 =# 61@

:ZERO2_7817
if or
  is_int_lvar_equal_to_constant 58@ == 1
  is_int_lvar_equal_to_constant 58@ == 3
goto_if_false @ZERO2_7852
Car.Explode(34@)
Car.Explode(34@)

:ZERO2_7852
95@ = Clock.GetGameTimer()
if 
  not Car.Locate3D(34@, 91@, 92@, 93@, 1.5, 1.5, 1.5, False)
goto_if_false @ZERO2_7936
91@, 92@, 93@ = Car.GetCoordinates(34@)
set_lvar_int_to_lvar_int 94@ = 95@
94@ += 4000
117@ = 0

:ZERO2_7936
if 
  Car.Locate3D(34@, 91@, 92@, 93@, 1.5, 1.5, 1.5, False)
goto_if_false @ZERO2_8857
if 
  is_int_lvar_greater_than_int_lvar 95@ > 94@
goto_if_false @ZERO2_8857
if 
  119@ > 3
goto_if_false @ZERO2_8857
if 
  117@ == 0
goto_if_false @ZERO2_8051
Text.PrintHelp('ZER2_4')
117@ = 1

:ZERO2_8051
if 
is_xbox_version 
goto_if_false @ZERO2_8464
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @ZERO2_8457
96@ = 0
97@ = 0
98@ = 0
99@ = 0
100@ = 0
101@ = 1
Player.SetControl($statbike_temp, False)
Text.PrintNow('ZER2_8', 5000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Car.SetHealth(34@, 1)
Hud.ClearCounter($7427)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO2_8263
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO2_8233
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
goto @ZERO2_8253

:ZERO2_8233
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)

:ZERO2_8253
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO2_8263
Fx.AddExplosion(91@, 92@, 93@, ExplosionType.Grenade)
Car.Explode(34@)
Car.Explode(34@)
Car.Explode(34@)
Car.Explode(34@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44623)

:ZERO2_8305
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_8331
wait 0
goto @ZERO2_8305

:ZERO2_8331
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_8335
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_8361
wait 0
goto @ZERO2_8335

:ZERO2_8361
Rc.RemoveBuggy
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:ZERO2_8378
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_8402
wait 0
goto @ZERO2_8378

:ZERO2_8402
Streaming.LoadScene(-2245.026, 126.895, 34.3047)
wait 1000
Camera.DoFade(1000, Fade.In)

:ZERO2_8431
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_8455
wait 0
goto @ZERO2_8431

:ZERO2_8455
return 

:ZERO2_8457
goto @ZERO2_8857

:ZERO2_8464
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @ZERO2_8857
96@ = 0
97@ = 0
98@ = 0
99@ = 0
100@ = 0
101@ = 1
Player.SetControl($statbike_temp, False)
Text.PrintNow('ZER2_8', 5000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Car.SetHealth(34@, 1)
Hud.ClearCounter($7427)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO2_8663
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO2_8633
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
goto @ZERO2_8653

:ZERO2_8633
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)

:ZERO2_8653
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO2_8663
Fx.AddExplosion(91@, 92@, 93@, ExplosionType.Grenade)
Car.Explode(34@)
Car.Explode(34@)
Car.Explode(34@)
Car.Explode(34@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44623)

:ZERO2_8705
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_8731
wait 0
goto @ZERO2_8705

:ZERO2_8731
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_8735
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_8761
wait 0
goto @ZERO2_8735

:ZERO2_8761
Rc.RemoveBuggy
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:ZERO2_8778
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_8802
wait 0
goto @ZERO2_8778

:ZERO2_8802
Streaming.LoadScene(-2245.026, 126.895, 34.3047)
wait 1000
Camera.DoFade(1000, Fade.In)

:ZERO2_8831
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_8855
wait 0
goto @ZERO2_8831

:ZERO2_8855
return 

:ZERO2_8857
if 
  Car.Locate3D(34@, -2237.31, 140.08, 57.23, 4.0, 4.0, 4.0, True)
goto_if_false @ZERO2_9313
Player.SetControl($statbike_temp, False)
96@ = 0
100@ = 1
116@ = 0
108@ = 0
Car.SetEngineOn(34@, False)
Car.SetHeavy(34@, True)
Text.PrintWithNumberBig('M_PASS', 5000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 5000)
Audio.PlayMissionPassedTune(1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44818)

:ZERO2_8994
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_9020
wait 0
goto @ZERO2_8994

:ZERO2_9020
Text.PrintNow('ZER2_FB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_9040
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_9066
wait 0
goto @ZERO2_9040

:ZERO2_9066
Text.ClearThisPrint('ZER2_FB')
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44819)

:ZERO2_9086
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_9112
wait 0
goto @ZERO2_9086

:ZERO2_9112
Text.PrintNow('ZER2_FC', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_9132
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_9158
wait 0
goto @ZERO2_9132

:ZERO2_9158
Text.ClearThisPrint('ZER2_FC')
Rc.RemoveBuggy
Hud.ClearCounter($7427)
Streaming.LoadScene(-2245.026, 126.895, 34.3047)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO2_9282
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO2_9252
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
goto @ZERO2_9272

:ZERO2_9252
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)

:ZERO2_9272
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO2_9282
wait 1200

:ZERO2_9287
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_9311
wait 0
goto @ZERO2_9287

:ZERO2_9311
return 

:ZERO2_9313
goto @ZERO2_9656

:ZERO2_9320
101@ = 1
Player.SetControl($statbike_temp, False)
96@ = 0
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
TIMERA = 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO2_9453
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO2_9423
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
goto @ZERO2_9443

:ZERO2_9423
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)

:ZERO2_9443
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO2_9453
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44622)

:ZERO2_9462
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_9488
wait 0
goto @ZERO2_9462

:ZERO2_9488
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_9492
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_9544
wait 0
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_9537
Car.SetForwardSpeed(34@, 0.0)

:ZERO2_9537
goto @ZERO2_9492

:ZERO2_9544
Rc.RemoveBuggy
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:ZERO2_9561
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_9585
wait 0
goto @ZERO2_9561

:ZERO2_9585
Streaming.LoadScene(-2245.026, 126.895, 34.3047)
wait 1000
Camera.DoFade(1000, Fade.In)

:ZERO2_9614
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_9638
wait 0
goto @ZERO2_9614

:ZERO2_9638
Text.PrintNow('ZER2_8', 10000, 1)
return 

:ZERO2_9656
if 
  122@ == 0
goto_if_false @ZERO2_9791
if 
  50 >= $7427
goto_if_false @ZERO2_9791
122@ = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44811)

:ZERO2_9708
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_9734
wait 0
goto @ZERO2_9708

:ZERO2_9734
Text.PrintNow('ZER2_DA', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_9754
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_9780
wait 0
goto @ZERO2_9754

:ZERO2_9780
Text.ClearThisPrint('ZER2_DA')

:ZERO2_9791
if 
  122@ == 1
goto_if_false @ZERO2_9926
if 
  20 >= $7427
goto_if_false @ZERO2_9926
122@ = 2
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44812)

:ZERO2_9843
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_9869
wait 0
goto @ZERO2_9843

:ZERO2_9869
Text.PrintNow('ZER2_DB', 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_9889
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_9915
wait 0
goto @ZERO2_9889

:ZERO2_9915
Text.ClearThisPrint('ZER2_DB')

:ZERO2_9926
if 
  0 >= $7427
goto_if_false @ZERO2_10350
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_9974
Car.SetEngineOn(34@, False)
Car.SetHeavy(34@, True)

:ZERO2_9974
TIMERA = 0
96@ = 0
97@ = 0
98@ = 0
99@ = 0
100@ = 0
101@ = 1
Player.SetControl($statbike_temp, False)
Text.PrintNow('ZER2_42', 5000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
TIMERA = 0
Hud.ClearCounter($7427)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @ZERO2_10163
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO2_10133
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
goto @ZERO2_10153

:ZERO2_10133
Char.SetCoordinates($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)

:ZERO2_10153
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO2_10163
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44623)

:ZERO2_10172
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_10198
wait 0
goto @ZERO2_10172

:ZERO2_10198
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:ZERO2_10202
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @ZERO2_10254
wait 0
if 
  not Car.IsDead(34@)
goto_if_false @ZERO2_10247
Car.SetForwardSpeed(34@, 0.0)

:ZERO2_10247
goto @ZERO2_10202

:ZERO2_10254
Rc.RemoveBuggy
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:ZERO2_10271
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_10295
wait 0
goto @ZERO2_10271

:ZERO2_10295
Streaming.LoadScene(-2245.026, 126.895, 34.3047)
wait 1000
Camera.DoFade(1000, Fade.In)

:ZERO2_10324
if 
  Camera.GetFadingStatus
goto_if_false @ZERO2_10348
wait 0
goto @ZERO2_10324

:ZERO2_10348
return 

:ZERO2_10350
return 

:ZERO2_10352
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('ZERO_2')
Stat.PlayerMadeProgress(1)
$flag_scrash_mission_counter += 1
return 

:ZERO2_10381
return 

:ZERO2_10383
World.DisableAllEntryExits(False)
Camera.ResetNewScriptables
Hud.DisplayCarNames(True)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @ZERO2_10462
Player.SetControl($statbike_temp, True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @ZERO2_10462
Char.WarpFromCarToCoord($stattreadstamina_ctr, -2244.444, 136.8633, 34.3203)
Char.SetHeading($stattreadstamina_ctr, 90.0)

:ZERO2_10462
$weapon_shop1_blip = 0
Game.SetPoliceIgnorePlayer($statbike_temp, False)
if 
  not Car.IsDead(35@)
goto_if_false @ZERO2_10522
Car.SetHealth(35@, 300)
Car.SetLoadCollisionFlag(35@, True)
Car.SetProofs(35@, False, False, False, False, False)

:ZERO2_10522
Car.MarkAsNoLongerNeeded(35@)
Weather.Release
Blip.Remove(128@)
Car.Delete(46@)
Car.Delete(47@)
Car.Delete(48@)
Car.Delete(49@)
Car.Delete(50@)
Char.Delete(51@)
Char.Delete(54@)
Blip.Remove(123@)
Blip.Remove(124@)
Blip.Remove(125@)
Blip.Remove(126@)
Blip.Remove(127@)
Rc.RemoveBuggy
Streaming.MarkModelAsNoLongerNeeded(459)
Streaming.MarkModelAsNoLongerNeeded(464)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(510)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.UnloadSpecialCharacter(1)
Char.RemoveElegantly(57@)
Hud.ClearCounter($7427)
$flag_courier_mission_passed = Clock.GetGameTimer()
Text.ClearPrints
Mission.Finish
return 

//-------------Mission 74---------------
// Originally: New Model Army

:ZERO4
script_name 'ZERO4'
gosub @ZERO4_47
if 
  has_deatharrest_been_executed 
goto_if_false @ZERO4_38
gosub @ZERO4_26437

:ZERO4_38
gosub @ZERO4_26462
terminate_this_script 

:ZERO4_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
62@ = 0
63@ = 0
64@ = 0
65@ = 0
TIMERA = 0
TIMERB = 0

:ZERO4_133
wait 0
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @ZERO4_186
66@ += 1
if 
  66@ > 8
goto_if_false @ZERO4_184
66@ = 0

:ZERO4_184
clear_all_view_variables 

:ZERO4_186
if 
  66@ == 1
goto_if_false @ZERO4_396
set_var_int_to_lvar_int $7428 = 34@
set_var_int_to_lvar_int $7429 = 35@
set_var_int_to_lvar_int $7430 = 62@
set_var_int_to_lvar_int $7431 = 64@
set_var_int_to_lvar_int $zero4_timer = 63@
set_var_int_to_lvar_int $z4_pcar_health = 65@
set_var_int_to_lvar_int $des1_board_name = TIMERA
set_var_int_to_lvar_int $7435 = TIMERB
view_integer_variable $7428 {_p2} "M_STAGE"
view_integer_variable $7429 {_p2} "M_GOALS"
view_integer_variable $7430 {_p2} "DIALOGUE_FLAG"
view_integer_variable $7431 {_p2} "DIALOGUE_TIMER"
view_integer_variable $zero4_timer {_p2} "HELP_FLAG"
view_integer_variable $z4_pcar_health {_p2} "HELP_TIMER"
view_integer_variable $des1_board_name {_p2} "TIMERA"
view_integer_variable $7435 {_p2} "TIMERB"

:ZERO4_396
if 
  66@ == 2
goto_if_false @ZERO4_659
set_var_int_to_lvar_int $7428 = 110@
set_var_int_to_lvar_int $7429 = 111@
set_var_int_to_lvar_int $7430 = 112@
set_var_int_to_lvar_int $7431 = 113@
set_var_int_to_lvar_int $zero4_timer = 115@
set_var_int_to_lvar_int $z4_pcar_health = 116@
set_var_int_to_lvar_int $des1_board_name = 117@
set_var_int_to_lvar_int $7435 = 118@
view_integer_variable $7428 {_p2} "PCAR_PROGRESS"
view_integer_variable $7429 {_p2} "PCAR_LIVES_LEFT"
view_integer_variable $7430 {_p2} "FIRST_BRIDGE"
view_integer_variable $7431 {_p2} "SECOND_BRIDGE"
view_integer_variable $zero4_timer {_p2} "FIRST_BRIDGE_LAID"
view_integer_variable $z4_pcar_health {_p2} "SECOND_BRIDGE_LAID"
view_integer_variable $des1_board_name {_p2} "FIRST_BRIDGE_PLANK"
view_integer_variable $7435 {_p2} "SECOND_BRIDGE_PLANK"

:ZERO4_659
if 
  66@ == 3
goto_if_false @ZERO4_916
set_var_int_to_lvar_int $7428 = 119@
set_var_int_to_lvar_int $7429 = 120@
set_var_int_to_lvar_int $7430 = 121@
set_var_int_to_lvar_int $7431 = 122@
set_var_int_to_lvar_int $zero4_timer = 123@
set_var_int_to_lvar_int $z4_pcar_health = 102@
set_var_int_to_lvar_int $des1_board_name = 103@
set_var_int_to_lvar_int $7435 = 124@
view_integer_variable $7428 {_p2} "PCAR_IS_PAUSED"
view_integer_variable $7429 {_p2} "PCAR_IS_OBSTRUCTED"
view_integer_variable $7430 {_p2} "BOMB_IS_ARMED"
view_integer_variable $7431 {_p2} "HELI_IS_CARRYING"
view_integer_variable $zero4_timer {_p2} "CIRCLE_IS_PRESSED"
view_integer_variable $z4_pcar_health {_p2} "RC_BOMB_TIMER"
view_integer_variable $des1_board_name {_p2} "PHELI_PICKUP_TIMER"
view_integer_variable $7435 {_p2} "OHELI_FLAG"

:ZERO4_916
if 
  66@ == 4
goto_if_false @ZERO4_1153
set_var_int_to_lvar_int $7428 = 125@
set_var_int_to_lvar_int $7429 = 126@
set_var_int_to_lvar_int $7430 = 127@
set_var_int_to_lvar_int $7431 = 128@
set_var_int_to_lvar_int $zero4_timer = 129@
set_var_int_to_lvar_int $z4_pcar_health = 130@
set_var_int_to_lvar_int $des1_board_name = 134@
set_var_int_to_var_int $7435 = $7437
view_integer_variable $7428 {_p2} "OHELI_ROCK"
view_integer_variable $7429 {_p2} "OHELI_GOTO"
view_integer_variable $7430 {_p2} "PHELI_LIVES"
view_integer_variable $7431 {_p2} "OTANK_FLAG[0]"
view_integer_variable $zero4_timer {_p2} "OTANK_FLAG[1]"
view_integer_variable $z4_pcar_health {_p2} "OTANK_FLAG[2]"
view_integer_variable $des1_board_name {_p2} "RESPAWNED_TANKS"
view_integer_variable $7435 {_p2} "Z4_PCAR_HEALTH"

:ZERO4_1153
if 
  66@ == 5
goto_if_false @ZERO4_1397
set_var_int_to_lvar_int $7428 = 131@
set_var_int_to_lvar_int $7429 = 132@
set_var_int_to_lvar_int $7430 = 133@
set_var_int_to_lvar_int $7431 = 135@
set_var_int_to_lvar_int $zero4_timer = 136@
set_var_int_to_lvar_int $z4_pcar_health = 107@
set_var_int_to_lvar_int $des1_board_name = 137@
set_var_int_to_lvar_int $7435 = 138@
view_integer_variable $7428 {_p2} "OTANK_GOTO[0]"
view_integer_variable $7429 {_p2} "OTANK_GOTO[1]"
view_integer_variable $7430 {_p2} "OTANK_GOTO[2]"
view_integer_variable $7431 {_p2} "LAST_HEALTH"
view_integer_variable $zero4_timer {_p2} "BANDIT_TAKING_DAMAGE"
view_integer_variable $z4_pcar_health {_p2} "PCAR_TIMER"
view_integer_variable $des1_board_name {_p2} "PCAR_HALTED"
view_integer_variable $7435 {_p2} "PCAR_R3_PRESSED"

:ZERO4_1397
if 
  66@ == 6
goto_if_false @ZERO4_1610
set_var_int_to_lvar_int $7428 = 139@
set_var_int_to_lvar_int $7429 = 140@
set_var_int_to_lvar_int $7430 = 141@
set_var_int_to_lvar_int $7431 = 142@
set_var_int_to_var_int $zero4_timer = $7436
set_var_int_to_lvar_int $z4_pcar_health = 155@
set_var_int_to_lvar_int $des1_board_name = 156@
view_integer_variable $7428 {_p2} "OTANK_TARGET[0]"
view_integer_variable $7429 {_p2} "OTANK_TARGET[1]"
view_integer_variable $7430 {_p2} "OTANK_TARGET[2]"
view_integer_variable $7431 {_p2} "CARRIED_OBJECT"
view_integer_variable $zero4_timer {_p2} "ZERO4_TIMER"
view_integer_variable $z4_pcar_health {_p2} "GET_PLANK1"
view_integer_variable $des1_board_name {_p2} "GET_PLANK2"

:ZERO4_1610
if 
  66@ == 7
goto_if_false @ZERO4_1891
set_var_int_to_lvar_int $7428 = 159@
set_var_int_to_lvar_int $7429 = 160@
set_var_int_to_lvar_int $7430 = 161@
set_var_int_to_lvar_int $7431 = 162@
set_var_int_to_lvar_int $zero4_timer = 163@
set_var_int_to_lvar_int $z4_pcar_health = 164@
set_var_int_to_lvar_int $des1_board_name = 165@
set_var_int_to_lvar_int $7435 = 166@
view_integer_variable $7428 {_p2} "FIRST_PICKUP_HELP"
view_integer_variable $7429 {_p2} "FIRST_TIME_STUCK_AT_RIVER"
view_integer_variable $7430 {_p2} "PLANK_BLIP"
view_integer_variable $7431 {_p2} "STUCK_AT_RIVER_DIALOGUE"
view_integer_variable $zero4_timer {_p2} "OBSTRUCT_AUDIO1"
view_integer_variable $z4_pcar_health {_p2} "OBSTRUCT_AUDIO2"
view_integer_variable $des1_board_name {_p2} "PLAY_FIRST_TIME_BLOCKED_AUDIO"
view_integer_variable $7435 {_p2} "BOMB_BLIP"

:ZERO4_1891
if 
  66@ == 8
goto_if_false @ZERO4_2083
set_var_int_to_lvar_int $7428 = 167@
set_var_int_to_lvar_int $7429 = 168@
set_var_int_to_lvar_int $7430 = 169@
set_var_int_to_lvar_int $7431 = 170@
set_var_int_to_lvar_int $zero4_timer = 171@
view_integer_variable $7428 {_p2} "FIRST_TIME_TAKING_DAMAGE_FROM_TANK"
view_integer_variable $7429 {_p2} "BOMB_TANK_DIALOGUE"
view_integer_variable $7430 {_p2} "DEAD_DIALOGUE"
view_integer_variable $7431 {_p2} "NEARLY_DEAD_DIALOGUE"
view_integer_variable $zero4_timer {_p2} "STUCK_AT_RIVER"

:ZERO4_2083
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @ZERO4_2105
38@ = 1

:ZERO4_2105
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @ZERO4_2134
gosub @ZERO4_24198
36@ = 1

:ZERO4_2134
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @ZERO4_2222
if 
  67@ == 0
goto_if_false @ZERO4_2197
67@ = 1
write_debug "LEVEL_PAUSED"
goto @ZERO4_2222

:ZERO4_2197
67@ = 0
write_debug "LEVEL_UNPAUSED"

:ZERO4_2222
if 
  67@ == 1
goto_if_false @ZERO4_2247
goto @ZERO4_23828

:ZERO4_2247
39@ += 1
if 
  39@ > 9
goto_if_false @ZERO4_2279
39@ = 0

:ZERO4_2279
40@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 40@
sub_int_lvar_from_int_lvar 42@ -= 41@
set_lvar_int_to_lvar_int 41@ = 40@
add_int_lvar_to_int_lvar 64@ += 42@
add_int_lvar_to_int_lvar 65@ += 42@
add_int_lvar_to_int_lvar 102@ += 42@
add_int_lvar_to_int_lvar 103@ += 42@
add_int_lvar_to_int_lvar 104@ += 42@
add_int_lvar_to_int_lvar 105@ += 42@
add_int_lvar_to_int_lvar 106@ += 42@
add_int_lvar_to_int_lvar 107@ += 42@
add_int_lvar_to_int_lvar 108@ += 42@
add_int_lvar_to_int_lvar 109@ += 42@
if 
  34@ == 0
goto_if_false @ZERO4_6793
if 
  35@ == -1
goto_if_false @ZERO4_2701
68@ = Car.Create(413, 0.0, 0.0, 0.0)
69@ = Car.Create(413, 0.0, 0.0, 0.0)
70@ = Car.Create(413, 0.0, 0.0, 0.0)
75@ = Car.Create(413, 0.0, 0.0, 0.0)
77@ = Object.Create(#BARREL2, 0.0, 0.0, 0.0)
87@ = Object.Create(#BARREL2, 0.0, 0.0, 0.0)
92@ = Object.Create(#BARREL2, 0.0, 0.0, 0.0)
142@ = Object.Create(#BARREL2, 0.0, 0.0, 0.0)
93@ = Object.Create(#BARREL2, 0.0, 0.0, 0.0)
96@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
76@ = Car.Create(413, 0.0, 0.0, 0.0)
543@ = Car.Create(413, 0.0, 0.0, 0.0)

:ZERO4_2701
110@ = 0
111@ = 0
112@ = 0
113@ = 0
115@ = 0
116@ = 0
117@ = -1
118@ = -1
119@ = 0
120@ = 0
121@ = 0
122@ = 0
123@ = 0
124@ = 0
125@ = 0
126@ = 0
127@ = 0
128@ = 99
129@ = 99
130@ = 99
131@ = 0
132@ = 0
133@ = 0
134@ = 0
$7437 = 0
135@ = 0
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0
155@ = 0
156@ = 0
43@ = 0

:ZERO4_2953
if 
  12 > 43@
goto_if_false @ZERO4_2996
143@(43@,12i) = 0
43@ += 1
goto @ZERO4_2953

:ZERO4_2996
157@ = 0
158@ = 0
76@ = 0
159@ = 0
160@ = 0
161@ = 0
162@ = 0
163@ = 0
164@ = 0
165@ = 0
166@ = 0
167@ = 0
168@ = 0
169@ = 0
170@ = 0
171@ = 0
542@ = 0
172@ = 0
173@ = -1115.122
175@ = 1029.26
177@ = 1342.483
174@ = -1106.916
176@ = 1056.403
178@ = 1342.053
179@ = -1115.122
181@ = 1029.26
183@ = 1342.483
180@ = -1098.931
182@ = 1070.193
184@ = 1341.467
185@ = -1115.122
187@ = 1029.26
189@ = 342.4828
186@ = -1098.257
188@ = 1063.368
190@ = 1341.791
191@ = -975.6996
308@ = 1061.162
425@ = 1344.8
192@ = -978.6938
309@ = 1061.163
426@ = 1344.554
193@ = -981.6267
310@ = 1061.594
427@ = 1343.677
194@ = -984.4323
311@ = 1062.194
428@ = 1342.66
195@ = -987.3215
312@ = 1063.042
429@ = 1341.941
196@ = -990.1523
313@ = 1064.209
430@ = 1341.847
197@ = -992.064
314@ = 1066.628
431@ = 1341.692
198@ = -994.1041
315@ = 1068.89
432@ = 1341.474
199@ = -996.1589
316@ = 1071.105
433@ = 1341.261
200@ = -998.0826
317@ = 1073.413
434@ = 1341.215
201@ = -1000.138
318@ = 1075.662
435@ = 1341.332
202@ = -1002.858
319@ = 1076.918
436@ = 1341.709
203@ = -1005.518
320@ = 1078.249
437@ = 1342.229
204@ = -1008.56
321@ = 1078.889
438@ = 1342.339
205@ = -1011.59
322@ = 1079.111
439@ = 1342.346
206@ = -1014.66
323@ = 1079.339
440@ = 1342.318
207@ = -1017.696
324@ = 1079.674
441@ = 1342.458
208@ = -1020.666
325@ = 1080.433
442@ = 1342.718
209@ = -1023.609
326@ = 1081.364
443@ = 1342.59
210@ = -1026.497
327@ = 1082.288
444@ = 1342.452
211@ = -1029.534
328@ = 1082.446
445@ = 1342.314
212@ = -1031.727
329@ = 1080.38
446@ = 1342.169
213@ = -1031.45
330@ = 1077.383
447@ = 1342.259
214@ = -1030.556
331@ = 1074.519
448@ = 1342.367
215@ = -1028.476
332@ = 1072.276
449@ = 1342.547
216@ = -1026.12
333@ = 1070.452
450@ = 1342.934
217@ = -1023.345
334@ = 1069.297
451@ = 1342.862
218@ = -1020.924
335@ = 1067.455
452@ = 1342.679
219@ = -1019.808
336@ = 1064.636
453@ = 1342.367
220@ = -1019.498
337@ = 1061.604
454@ = 1342.15
221@ = -1020.352
338@ = 1058.707
455@ = 1342.003
222@ = -1022.205
339@ = 1056.248
456@ = 1341.946
223@ = -1024.654
340@ = 1054.396
457@ = 1342.029
224@ = -1026.949
341@ = 1052.463
458@ = 1341.672
225@ = -1029.535
342@ = 1050.962
459@ = 1341.421
226@ = -1032.204
343@ = 1049.539
460@ = 1341.398
227@ = -1035.146
344@ = 1048.822
461@ = 1341.167
228@ = -1038.131
345@ = 1048.269
462@ = 1340.837
229@ = -1040.29
346@ = 1046.164
463@ = 1340.975
230@ = -1042.149
347@ = 1043.761
464@ = 1341.278
231@ = -1043.827
348@ = 1041.252
465@ = 1341.398
232@ = -1045.285
349@ = 1038.573
466@ = 1341.563
233@ = -1047.242
350@ = 1036.283
467@ = 1341.951
234@ = -1049.558
351@ = 1034.348
468@ = 1342.022
235@ = -1052.581
352@ = 1034.296
469@ = 1342.218
236@ = -1054.624
353@ = 1036.551
470@ = 1342.324
237@ = -1055.726
354@ = 1039.338
471@ = 1342.655
238@ = -1056.591
355@ = 1042.222
472@ = 1343.016
239@ = -1057.64
356@ = 1045.126
473@ = 1343.071
240@ = -1058.867
357@ = 1047.883
474@ = 1343.278
241@ = -1059.966
358@ = 1050.707
475@ = 1343.335
242@ = -1062.282
359@ = 1052.656
476@ = 1342.973
243@ = -1065.312
360@ = 1052.257
477@ = 1342.987
244@ = -1067.413
361@ = 1050.103
478@ = 1343.338
245@ = -1069.68
362@ = 1048.061
479@ = 1343.303
246@ = -1072.397
363@ = 1046.49
480@ = 1343.299
247@ = -1074.844
364@ = 1044.621
481@ = 1343.278
248@ = -1077.279
365@ = 1042.863
482@ = 1343.309
249@ = -1080.09
366@ = 1041.396
483@ = 1343.312
250@ = -1082.901
367@ = 1039.968
484@ = 1343.159
251@ = -1085.723
368@ = 1038.973
485@ = 1342.747
252@ = -1088.693
369@ = 1038.244
486@ = 1342.491
253@ = -1091.744
370@ = 1038.05
487@ = 1342.389
254@ = -1094.634
371@ = 1038.856
488@ = 1342.213
255@ = -1096.468
372@ = 1041.286
489@ = 1342.353
256@ = -1095.897
373@ = 1044.239
490@ = 1342.386
257@ = -1094.407
374@ = 1046.863
491@ = 1342.303
258@ = -1092.616
375@ = 1049.353
492@ = 1342.144
259@ = -1090.795
376@ = 1051.852
493@ = 1342.036
260@ = -1089.037
377@ = 1054.289
494@ = 1341.924
261@ = -1087.131
378@ = 1056.68
495@ = 1341.963
262@ = -1084.63
379@ = 1058.476
496@ = 1342.046
263@ = -1082.026
380@ = 1060.059
497@ = 1342.07
264@ = -1079.68
381@ = 1061.984
498@ = 1342.161
265@ = -1077.382
382@ = 1064.059
499@ = 1342.054
266@ = -1075.023
383@ = 1066.061
500@ = 1341.956
267@ = -1072.544
384@ = 1067.771
501@ = 1341.676
268@ = -1069.934
385@ = 1069.4
502@ = 1341.464
269@ = -1067.392
386@ = 1071.067
503@ = 1340.94
270@ = -1065.172
387@ = 1073.217
504@ = 1340.98
271@ = -1063.084
388@ = 1075.436
505@ = 1341.265
272@ = -1061.741
389@ = 1078.158
506@ = 1341.507
273@ = -1060.928
390@ = 1081.111
507@ = 1341.705
274@ = -1059.851
391@ = 1083.965
508@ = 1341.717
275@ = -1059.096
392@ = 1086.929
509@ = 1341.773
276@ = -1059.464
393@ = 1089.908
510@ = 1341.888
277@ = -1061.656
394@ = 1092.006
511@ = 1342.118
278@ = -1064.414
395@ = 1093.172
512@ = 1342.378
279@ = -1067.396
396@ = 1093.724
513@ = 1342.255
280@ = -1070.372
397@ = 1094.422
514@ = 1342.176
281@ = -1073.385
398@ = 1094.066
515@ = 1342.039
282@ = -1075.899
399@ = 1092.264
516@ = 1342.026
283@ = -1078.33
400@ = 1090.476
517@ = 1341.883
284@ = -1080.692
401@ = 1088.514
518@ = 1341.762
285@ = -1082.786
402@ = 1086.317
519@ = 1341.725
286@ = -1084.715
403@ = 1083.926
520@ = 1341.718
287@ = -1086.711
404@ = 1081.678
521@ = 1341.657
288@ = -1088.739
405@ = 1079.458
522@ = 1341.739
289@ = -1090.599
406@ = 1077.074
523@ = 1341.737
290@ = -1091.925
407@ = 1074.311
524@ = 1341.754
291@ = -1093.073
408@ = 1071.465
525@ = 1341.751
292@ = -1094.317
409@ = 1068.679
526@ = 1341.752
293@ = -1095.859
410@ = 1066.073
527@ = 1341.752
294@ = -1097.911
411@ = 1063.855
528@ = 1341.739
295@ = -1100.731
412@ = 1062.77
529@ = 1341.786
296@ = -1103.847
413@ = 1062.781
530@ = 1341.79
297@ = -1106.772
414@ = 1061.895
531@ = 1341.79
298@ = -1109.576
415@ = 1060.658
532@ = 1341.825
299@ = -1112.578
416@ = 1060.848
533@ = 1341.9
300@ = -1116.12
417@ = 1059.64
534@ = 1342.25
set_lvar_float_to_lvar_float 301@ = 300@
set_lvar_float_to_lvar_float 418@ = 417@
set_lvar_float_to_lvar_float 535@ = 534@
set_lvar_float_to_lvar_float 302@ = 300@
set_lvar_float_to_lvar_float 419@ = 417@
set_lvar_float_to_lvar_float 536@ = 534@
set_lvar_float_to_lvar_float 303@ = 300@
set_lvar_float_to_lvar_float 420@ = 417@
set_lvar_float_to_lvar_float 537@ = 534@
set_lvar_float_to_lvar_float 304@ = 300@
set_lvar_float_to_lvar_float 421@ = 417@
set_lvar_float_to_lvar_float 538@ = 534@
set_lvar_float_to_lvar_float 305@ = 300@
set_lvar_float_to_lvar_float 422@ = 417@
set_lvar_float_to_lvar_float 539@ = 534@
set_lvar_float_to_lvar_float 306@ = 300@
set_lvar_float_to_lvar_float 423@ = 417@
set_lvar_float_to_lvar_float 540@ = 534@
set_lvar_float_to_lvar_float 307@ = 300@
set_lvar_float_to_lvar_float 424@ = 417@
set_lvar_float_to_lvar_float 541@ = 534@
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
gosub @ZERO4_26379

:ZERO4_6793
if 
  34@ == 1
goto_if_false @ZERO4_9245
if 
  35@ == 0
goto_if_false @ZERO4_8237
Text.LoadMissionText('ZERO4')
Streaming.SetAreaVisible(6)
Cutscene.Load('ZERO_4')

:ZERO4_6855
if 
  not Cutscene.HasLoaded
goto_if_false @ZERO4_6879
wait 0
goto @ZERO4_6855

:ZERO4_6879
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:ZERO4_6888
if 
  not Cutscene.HasFinished
goto_if_false @ZERO4_6912
wait 0
goto @ZERO4_6888

:ZERO4_6912
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:ZERO4_6927
if 
  Camera.GetFadingStatus
goto_if_false @ZERO4_6951
wait 0
goto @ZERO4_6927

:ZERO4_6951
Streaming.SetAreaVisible(0)
Player.SetControl($statbike_temp, False)
Game.HideAllFrontendBlips(True)
Camera.SetPlayerInCarMode(2)
Clock.Store
Weather.ForceNow(WeatherType.ExtraSunnySf)
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(0.1)
Streaming.RequestModel(441)
Streaming.RequestModel(501)
Streaming.RequestModel(481)
Streaming.RequestModel(564)
Streaming.LoadAllModelsNow

:ZERO4_7010
if or
  not Streaming.HasModelLoaded(441)
  not Streaming.HasModelLoaded(501)
  not Streaming.HasModelLoaded(481)
  not Streaming.HasModelLoaded(564)
goto_if_false @ZERO4_7052
wait 0
goto @ZERO4_7010

:ZERO4_7052
Char.SetAreaVisible($stattreadstamina_ctr, 10)
World.ClearArea(-1004.097, 1000.789, 1349.749, 300.0, True)
69@ = Car.Create(481, -1004.097, 1000.789, 1349.749)
Car.FreezePosition(69@, True)
Char.WarpIntoCar($stattreadstamina_ctr, 69@)
Car.LockDoors(69@, CarLock.LockedPlayerInside)
Car.SetAreaVisible(69@, 10)
68@ = Car.Create(441, -975.6997, 1061.162, 1344.8)
Car.SetHeading(68@, 90.0)
Car.SetAreaVisible(68@, 10)
Car.SetProofs(68@, False, True, True, False, False)
Car.SetHealth(68@, 2000)
70@ = Car.Create(501, -973.759, 1077.152, 1350.399)
Car.SetHeading(70@, 90.0)
Car.SetAreaVisible(70@, 10)
94@ = Object.Create(#MINI_MAGNET, -973.759, 1077.152, 1344.399)
Object.AttachToCar(94@, 70@, 0.0, 0.0, -0.2, 0.0, 0.0, 0.0)
Object.SetCollision(94@, True)
Car.FreezePosition(70@, True)
Car.SetCoordinates(70@, -973.759, 1077.152, 1346.399)
Heli.SetBladesFullSpeed(70@)
Heli.GotoCoords(70@, -973.759, 1077.152, 1344.399, 344.0, 3.0)
71@ = Car.Create(501, -1131.694, 1041.791, 1350.141)
Car.SetHeading(71@, 270.0)
Car.SetAreaVisible(71@, 10)
98@ = Blip.AddForCar(71@)
Blip.SetAsFriendly(98@, False)
Blip.ChangeDisplay(98@, BlipDisplay.BlipOnly)
Blip.ChangeScale(98@, 2)
95@ = Object.Create(#MINI_MAGNET, -973.759, 1077.152, 1344.399)
Object.AttachToCar(95@, 71@, 0.0, 0.0, -0.2, 0.0, 0.0, 0.0)
Object.SetCollision(95@, True)
Heli.SetBladesFullSpeed(71@)
Heli.GotoCoords(71@, -1131.694, 1041.791, 1344.141, 344.0, 3.0)
77@ = Object.CreateNoOffset(#BARREL2, -1007.213, 1078.535, 1342.682)
78@ = Object.CreateNoOffset(#BARREL2, -1093.137, 1037.856, 1342.732)
79@ = Object.CreateNoOffset(#BARREL2, -1073.466, 1094.407, 1342.322)
Object.SetRotation(77@, 0.0, 90.0, 0.0)
Object.SetRotation(78@, 0.0, 90.0, 0.0)
Object.SetRotation(79@, 0.0, 90.0, 0.0)
87@ = Object.CreateNoOffset(#KMB_PLANK, -973.0, 1064.0, 1344.147)
88@ = Object.CreateNoOffset(#KMB_PLANK, -973.0, 1065.0, 1344.146)
89@ = Object.CreateNoOffset(#KMB_PLANK, -973.0, 1066.0, 1344.144)
90@ = Object.CreateNoOffset(#KMB_PLANK, -973.0, 1067.0, 1344.143)
91@ = Object.CreateNoOffset(#KMB_PLANK, -973.0, 1068.0, 1344.142)
Object.SetHeading(87@, 270.0)
Object.SetHeading(88@, 270.0)
Object.SetHeading(89@, 270.0)
Object.SetHeading(90@, 270.0)
Object.SetHeading(91@, 270.0)
92@ = Object.CreateNoOffset(#RCBOMB, -974.5125, 1072.045, 1344.298)
Object.SetHeading(92@, 90.0)
72@ = Car.Create(564, -1076.873, 1046.542, 1343.365)
73@ = Car.Create(564, -1073.193, 1070.426, 1341.375)
74@ = Car.Create(564, -1106.479, 1060.975, 1341.864)
Car.SetHeading(72@, 286.4071)
Car.SetHeading(73@, 145.4881)
Car.SetHeading(74@, 278.5302)
99@ = Blip.AddForCar(72@)
100@ = Blip.AddForCar(73@)
101@ = Blip.AddForCar(74@)
Blip.ChangeDisplay(99@, BlipDisplay.BlipOnly)
Blip.ChangeDisplay(100@, BlipDisplay.BlipOnly)
Blip.ChangeDisplay(101@, BlipDisplay.BlipOnly)
Car.SetAreaVisible(72@, 10)
Car.SetAreaVisible(73@, 10)
Car.SetAreaVisible(74@, 10)
Blip.ChangeScale(99@, 2)
Blip.ChangeScale(100@, 2)
Blip.ChangeScale(101@, 2)
Streaming.SetAreaVisible(10)
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
Crane.EnableControls(False, False, False)
Hud.Display(False)
Hud.DisplayRadar(True)
Hud.SetRadarZoom(100)
Streaming.LoadScene(-975.6997, 1061.162, 344.7998)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-987.9526, 1099.303, 1352.45, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-987.5282, 1098.519, 1351.997, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:ZERO4_8170
if 
  Camera.GetFadingStatus
goto_if_false @ZERO4_8194
wait 0
goto @ZERO4_8170

:ZERO4_8194
TIMERA = 0
TIMERB = 0
62@ = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
$audio_line_terminate_all = 0
35@ += 1

:ZERO4_8237
if 
  35@ > 0
goto_if_false @ZERO4_8728
if 
  TIMERB > 1000
goto_if_false @ZERO4_8728
if 
  $audio_line_terminate_all == 0
goto_if_false @ZERO4_8728
switch_start 62@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @ZERO4_8714 {caseNum1} 0 {caseLabel1} @ZERO4_8355 {caseNum2} 1 {caseLabel2} @ZERO4_8417 {caseNum3} 2 {caseLabel3} @ZERO4_8479 {caseNum4} 3 {caseLabel4} @ZERO4_8541 {caseNum5} 4 {caseLabel5} @ZERO4_8603 {caseNum6} 5 {caseLabel6} @ZERO4_8665 {caseNum7} -1 {caseLabel7} @ZERO4_8714

:ZERO4_8355
set_var_text_label s$bd_future_time_shown = 'ZER4_AA'
set_var_int_to_constant $bd_x = 45200
start_new_script @AUDIOL -1 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 45201)
goto @ZERO4_8714

:ZERO4_8417
set_var_text_label s$bd_future_time_shown = 'ZER4_AB'
set_var_int_to_constant $bd_x = 45201
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 45202)
goto @ZERO4_8714

:ZERO4_8479
set_var_text_label s$bd_future_time_shown = 'ZER4_AC'
set_var_int_to_constant $bd_x = 45202
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 45203)
goto @ZERO4_8714

:ZERO4_8541
set_var_text_label s$bd_future_time_shown = 'ZER4_AD'
set_var_int_to_constant $bd_x = 45203
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 45204)
goto @ZERO4_8714

:ZERO4_8603
set_var_text_label s$bd_future_time_shown = 'ZER4_AE'
set_var_int_to_constant $bd_x = 45204
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 45205)
goto @ZERO4_8714

:ZERO4_8665
set_var_text_label s$bd_future_time_shown = 'ZER4_AF'
set_var_int_to_constant $bd_x = 45205
start_new_script @AUDIOL -1 0 1 2 1 
goto @ZERO4_8714

:ZERO4_8714
62@ += 1
TIMERB = 0

:ZERO4_8728
if 
  35@ == 1
goto_if_false @ZERO4_8840
if 
  TIMERA > 4000
goto_if_false @ZERO4_8840
Camera.SetInterpolationParameters(0.0, 7000)
Camera.SetFixedPosition(-982.6354, 1055.88, 1348.926, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-981.919, 1056.504, 1348.614, SwitchType.JumpCut)
TIMERA = 0
35@ += 1

:ZERO4_8840
if 
  35@ == 2
goto_if_false @ZERO4_8952
if 
  TIMERA > 2000
goto_if_false @ZERO4_8952
Camera.SetInterpolationParameters(0.0, 10000)
Camera.SetFixedPosition(-1137.938, 1058.032, 1355.257, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1136.989, 1058.099, 1354.947, SwitchType.Interpolation)
TIMERA = 0
35@ += 1

:ZERO4_8952
if 
  35@ == 3
goto_if_false @ZERO4_9002
if and
  62@ > 6
  $audio_line_terminate_all == 0
goto_if_false @ZERO4_9002
35@ = 99

:ZERO4_9002
if 
  35@ > 0
goto_if_false @ZERO4_9044
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @ZERO4_9044
35@ = 99

:ZERO4_9044
if 
  35@ == 99
goto_if_false @ZERO4_9245
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Camera.SetInterpolationParameters(50.0, 500)
Text.ClearPrints
Camera.SetFixedPosition(-968.2972, 1077.413, 1346.686, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-969.2341, 1077.368, 1346.339, SwitchType.JumpCut)
Hud.SwitchWidescreen(False)
Text.ClearPrints
Player.SetControl($statbike_temp, True)
if 
  not Car.IsDead(70@)
goto_if_false @ZERO4_9207
Car.FreezePosition(70@, False)
Car.SetCoordinates(70@, -973.759, 1077.152, 1349.399)
Car.SetHeading(70@, 90.0)

:ZERO4_9207
if 
  not Car.IsDead(71@)
goto_if_false @ZERO4_9230
Car.FreezePosition(71@, False)

:ZERO4_9230
wait 0
Camera.SetBehindPlayer
Camera.RestoreJumpcut
gosub @ZERO4_26379

:ZERO4_9245
if 
  34@ == 2
goto_if_false @ZERO4_23828
if 
  35@ == 0
goto_if_false @ZERO4_9505
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_9319
97@ = Blip.AddForCar(68@)
Blip.SetAsFriendly(97@, True)
Blip.ChangeScale(97@, 2)

:ZERO4_9319
if 
  not Car.IsDead(70@)
goto_if_false @ZERO4_9343
Rc.TakeCar($statbike_temp, 70@)

:ZERO4_9343
Rc.SetEnableDetonate(False)
Rc.SetEnableDetonateOnContact(False)
Streaming.RequestCarRecording(521)

:ZERO4_9356
if 
  not Streaming.HasCarRecordingBeenLoaded(521)
goto_if_false @ZERO4_9383
wait 0
goto @ZERO4_9356

:ZERO4_9383
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_9417
Car.StartPlayback(68@, 521)
Car.SetPlaybackSpeed(68@, 0.5)

:ZERO4_9417
110@ = 0
111@ = 3
127@ = 3
$7436 = 480000
Hud.DisplayTimerWithString($7436, TimerDirection.Down, 'Z4_M11')
Hud.DisplayNthCounterWithString($7437, CounterDisplay.Bar, 1, 'Z4_M06')
65@ = -1000
64@ = 10000
35@ += 1

:ZERO4_9505
if 
  35@ == 1
goto_if_false @ZERO4_23803
World.RemoveOilPuddlesInArea(-963.0789, 1006.747, -1152.824, 1105.155)
if 
  not Streaming.HasCarRecordingBeenLoaded(521)
goto_if_false @ZERO4_9573
Streaming.RequestCarRecording(521)
goto @ZERO4_23803

:ZERO4_9573
Clock.SetTimeOfDay(0, 30)
43@ = 0

:ZERO4_9586
if 
  10 > 43@
goto_if_false @ZERO4_9686
if 
  Object.DoesExist(77@(43@,10i))
goto_if_false @ZERO4_9672
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(77@(43@,10i))
if 
  1335.0 > $in_carX
goto_if_false @ZERO4_9672
Object.Delete(77@(43@,10i))

:ZERO4_9672
43@ += 1
goto @ZERO4_9586

:ZERO4_9686
43@ = 0

:ZERO4_9693
if 
  5 > 43@
goto_if_false @ZERO4_9822
if 
  Object.DoesExist(87@(43@,5i))
goto_if_false @ZERO4_9808
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(87@(43@,5i))
if 
  1335.0 > $in_carX
goto_if_false @ZERO4_9808
Object.SetCoordinates(87@(43@,5i), -973.0, 1064.0, 1345.147)
Object.SetHeading(87@(43@,5i), 270.0)

:ZERO4_9808
43@ += 1
goto @ZERO4_9693

:ZERO4_9822
43@ = 0

:ZERO4_9829
if 
  3 > 43@
goto_if_false @ZERO4_9949
if 
  Car.DoesExist(72@(43@,3i))
goto_if_false @ZERO4_9935
if 
  not Car.IsDead(72@(43@,3i))
goto_if_false @ZERO4_9935
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(72@(43@,3i))
if 
  1335.0 > $in_carX
goto_if_false @ZERO4_9935
Car.Explode(72@(43@,3i))

:ZERO4_9935
43@ += 1
goto @ZERO4_9829

:ZERO4_9949
if 
  Object.DoesExist(92@)
goto_if_false @ZERO4_10005
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(92@)
if 
  1335.0 > $in_carX
goto_if_false @ZERO4_10005
Object.Delete(92@)

:ZERO4_10005
if and
  159@ == 0
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @ZERO4_10450
if 
  not Car.IsDead(70@)
goto_if_false @ZERO4_10450
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(70@, 0.0, 0.0, -1.0)
43@ = 0

:ZERO4_10079
if 
  10 > 43@
goto_if_false @ZERO4_10204
if 
  Object.DoesExist(77@(43@,10i))
goto_if_false @ZERO4_10190
if 
  Object.Locate3D(77@(43@,10i), $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_10190
Text.ClearHelp
Text.PrintHelp('Z4_H13')
159@ += 1
43@ = 10

:ZERO4_10190
43@ += 1
goto @ZERO4_10079

:ZERO4_10204
if 
  159@ == 0
goto_if_false @ZERO4_10354
43@ = 0

:ZERO4_10229
if 
  5 > 43@
goto_if_false @ZERO4_10354
if 
  Object.DoesExist(87@(43@,5i))
goto_if_false @ZERO4_10340
if 
  Object.Locate3D(87@(43@,5i), $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_10340
Text.ClearHelp
Text.PrintHelp('Z4_H13')
159@ += 1
43@ = 5

:ZERO4_10340
43@ += 1
goto @ZERO4_10229

:ZERO4_10354
if 
  159@ == 0
goto_if_false @ZERO4_10450
if 
  Object.DoesExist(92@)
goto_if_false @ZERO4_10450
if 
  Object.Locate3D(92@, $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_10450
Text.ClearHelp
Text.PrintHelp('Z4_H13')
159@ += 1

:ZERO4_10450
if and
  159@ == 1
  not Text.IsMessageBeingDisplayed
goto_if_false @ZERO4_10506
if 
  142@ <> 0
goto_if_false @ZERO4_10506
159@ += 1
Text.PrintHelp('Z4_H14')

:ZERO4_10506
if and
  143@ == 0
  65@ > 1000
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @ZERO4_10561
Text.PrintHelp('Z4_H1')
65@ = 0
143@ += 1

:ZERO4_10561
if and
  143@ == 1
  65@ > 1000
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  110@ > 18
goto_if_false @ZERO4_10623
Text.PrintHelp('Z4_H4')
65@ = 0
143@ += 1

:ZERO4_10623
if and
  65@ > 1000
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @ZERO4_10901
switch_start 542@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @ZERO4_10901 {caseNum1} 0 {caseLabel1} @ZERO4_10709 {caseNum2} 1 {caseLabel2} @ZERO4_10741 {caseNum3} 2 {caseLabel3} @ZERO4_10773 {caseNum4} 3 {caseLabel4} @ZERO4_10805 {caseNum5} 4 {caseLabel5} @ZERO4_10837 {caseNum6} 5 {caseLabel6} @ZERO4_10869 {caseNum7} -1 {caseLabel7} @ZERO4_10901

:ZERO4_10709
Text.PrintHelp('Z4_H17')
65@ = 0
542@ += 1
goto @ZERO4_10901

:ZERO4_10741
Text.PrintHelp('Z4_H18')
65@ = 0
542@ += 1
goto @ZERO4_10901

:ZERO4_10773
Text.PrintHelp('Z4_H19')
65@ = 0
542@ += 1
goto @ZERO4_10901

:ZERO4_10805
Text.PrintHelp('Z4_H20')
65@ = 0
542@ += 1
goto @ZERO4_10901

:ZERO4_10837
Text.PrintHelp('Z4_H21')
65@ = 0
542@ += 1
goto @ZERO4_10901

:ZERO4_10869
Text.PrintHelp('Z4_H22')
65@ = 0
542@ += 1
goto @ZERO4_10901

:ZERO4_10901
if 
  120@ <> 0
goto_if_false @ZERO4_10962
if 
  157@ == 1
goto_if_false @ZERO4_10962
if 
  165@ == 0
goto_if_false @ZERO4_10962
165@ += 1

:ZERO4_10962
if and
  165@ == 1
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
goto_if_false @ZERO4_11406
if 
  165@ == 0
goto_if_false @ZERO4_11204
if 
  64@ > 1000
goto_if_false @ZERO4_11204
163@ = Math.RandomIntInRange(0, 3)
164@ = Math.RandomIntInRange(0, 3)
if 
  163@ == 0
goto_if_false @ZERO4_11088
set_var_text_label s$bd_future_time_shown = 'ZER4_BA'
set_var_int_to_constant $bd_x = 45206

:ZERO4_11088
if 
  163@ == 1
goto_if_false @ZERO4_11130
set_var_text_label s$bd_future_time_shown = 'ZER4_BB'
set_var_int_to_constant $bd_x = 45207

:ZERO4_11130
if 
  163@ == 2
goto_if_false @ZERO4_11172
set_var_text_label s$bd_future_time_shown = 'ZER4_BC'
set_var_int_to_constant $bd_x = 45208

:ZERO4_11172
start_new_script @AUDIOL -1 0 1 1 0 
64@ = 0
165@ += 1

:ZERO4_11204
if 
  165@ == 1
goto_if_false @ZERO4_11406
if 
  64@ > 1000
goto_if_false @ZERO4_11406
if 
  163@ == 0
goto_if_false @ZERO4_11283
set_var_text_label s$bd_future_time_shown = 'ZER4_CA'
set_var_int_to_constant $bd_x = 45209

:ZERO4_11283
if 
  163@ == 1
goto_if_false @ZERO4_11325
set_var_text_label s$bd_future_time_shown = 'ZER4_CB'
set_var_int_to_constant $bd_x = 45210

:ZERO4_11325
if 
  163@ == 2
goto_if_false @ZERO4_11367
set_var_text_label s$bd_future_time_shown = 'ZER4_CC'
set_var_int_to_constant $bd_x = 45211

:ZERO4_11367
start_new_script @AUDIOL -1 0 1 1 0 
64@ = 0
165@ += 1
163@ = 0

:ZERO4_11406
if and
  165@ == 2
  120@ <> 0
goto_if_false @ZERO4_11490
if 
  64@ > 1000
goto_if_false @ZERO4_11490
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @ZERO4_11490
Text.PrintHelp('Z4_H5')
165@ += 1
64@ = 0

:ZERO4_11490
if 
  165@ == 3
goto_if_false @ZERO4_11838
if and
  120@ == 1
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  64@ > 10000
  $audio_line_terminate_all == 0
goto_if_false @ZERO4_11838
if 
  157@ == 1
goto_if_false @ZERO4_11838
163@ += 1
if 
  163@ > 4
goto_if_false @ZERO4_11595
163@ = 0

:ZERO4_11595
switch_start 163@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @ZERO4_11813 {caseNum1} 0 {caseLabel1} @ZERO4_11658 {caseNum2} 1 {caseLabel2} @ZERO4_11689 {caseNum3} 2 {caseLabel3} @ZERO4_11720 {caseNum4} 3 {caseLabel4} @ZERO4_11751 {caseNum5} 4 {caseLabel5} @ZERO4_11782 {caseNum6} -1 {caseLabel6} @ZERO4_11813 {caseNum7} -1 {caseLabel7} @ZERO4_11813

:ZERO4_11658
set_var_text_label s$bd_future_time_shown = 'ZER4_DA'
set_var_int_to_constant $bd_x = 45212
goto @ZERO4_11813

:ZERO4_11689
set_var_text_label s$bd_future_time_shown = 'ZER4_DB'
set_var_int_to_constant $bd_x = 45213
goto @ZERO4_11813

:ZERO4_11720
set_var_text_label s$bd_future_time_shown = 'ZER4_DC'
set_var_int_to_constant $bd_x = 45214
goto @ZERO4_11813

:ZERO4_11751
set_var_text_label s$bd_future_time_shown = 'ZER4_DD'
set_var_int_to_constant $bd_x = 45215
goto @ZERO4_11813

:ZERO4_11782
set_var_text_label s$bd_future_time_shown = 'ZER4_DE'
set_var_int_to_constant $bd_x = 45216
goto @ZERO4_11813

:ZERO4_11813
start_new_script @AUDIOL -1 0 1 1 0 
64@ = 0

:ZERO4_11838
if 
  172@ == 0
goto_if_false @ZERO4_11889
if and
  Car.IsDead(72@)
  Car.IsDead(73@)
  Car.IsDead(74@)
goto_if_false @ZERO4_11889
172@ = 1

:ZERO4_11889
if 
  172@ == 0
goto_if_false @ZERO4_12930
if 
  110@ > 42
goto_if_false @ZERO4_12040
if 
  167@ == 0
goto_if_false @ZERO4_12040
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
goto_if_false @ZERO4_12040
if 
  64@ > 1000
goto_if_false @ZERO4_12040
set_var_text_label s$bd_future_time_shown = 'ZER4_EA'
set_var_int_to_constant $bd_x = 45217
start_new_script @AUDIOL -1 0 1 1 0 
167@ += 1
64@ = 0

:ZERO4_12040
if 
  167@ == 1
goto_if_false @ZERO4_12155
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
goto_if_false @ZERO4_12155
if 
  64@ > 1000
goto_if_false @ZERO4_12155
set_var_text_label s$bd_future_time_shown = 'ZER4_EB'
set_var_int_to_constant $bd_x = 45218
start_new_script @AUDIOL -1 0 1 1 0 
167@ += 1
64@ = 0

:ZERO4_12155
if 
  167@ == 2
goto_if_false @ZERO4_12296
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
  64@ > 1000
goto_if_false @ZERO4_12296
if 
  549@ == 0
goto_if_false @ZERO4_12289
Text.PrintNow('Z4_M26', 7000, 1)
if 
  Object.DoesExist(92@)
goto_if_false @ZERO4_12282
166@ = Blip.AddForObject(92@)
Blip.SetAsFriendly(166@, True)
167@ += 1
64@ = 0

:ZERO4_12282
goto @ZERO4_12296

:ZERO4_12289
167@ += 1

:ZERO4_12296
if 
  167@ == 3
goto_if_false @ZERO4_12406
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
  64@ > 1000
goto_if_false @ZERO4_12406
if 
  549@ <> 0
goto_if_false @ZERO4_12406
if 
  Blip.DoesExist(166@)
goto_if_false @ZERO4_12383
Blip.Remove(166@)

:ZERO4_12383
Text.PrintNow('Z4_M27', 7000, 1)
167@ += 1

:ZERO4_12406
if 
  167@ == 4
goto_if_false @ZERO4_12471
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  549@ == 0
goto_if_false @ZERO4_12471
Text.PrintHelp('Z4_H11')
167@ += 1
64@ = 0

:ZERO4_12471
if 
  167@ == 5
goto_if_false @ZERO4_12923
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  64@ > 10000
  $audio_line_terminate_all == 0
  545@ == 1
goto_if_false @ZERO4_12923
168@ += 1
if 
  168@ > 5
goto_if_false @ZERO4_12558
168@ = 0

:ZERO4_12558
43@ = 0

:ZERO4_12565
if 
  3 > 43@
goto_if_false @ZERO4_12624
if 
  not Car.IsDead(72@(43@,3i))
goto_if_false @ZERO4_12610
43@ = 99

:ZERO4_12610
43@ += 1
goto @ZERO4_12565

:ZERO4_12624
if 
  43@ == 99
goto_if_false @ZERO4_12916
switch_start 168@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @ZERO4_12891 {caseNum1} 0 {caseLabel1} @ZERO4_12705 {caseNum2} 1 {caseLabel2} @ZERO4_12736 {caseNum3} 2 {caseLabel3} @ZERO4_12767 {caseNum4} 3 {caseLabel4} @ZERO4_12798 {caseNum5} 4 {caseLabel5} @ZERO4_12829 {caseNum6} 5 {caseLabel6} @ZERO4_12860 {caseNum7} -1 {caseLabel7} @ZERO4_12891

:ZERO4_12705
set_var_text_label s$bd_future_time_shown = 'ZER4_FA'
set_var_int_to_constant $bd_x = 45219
goto @ZERO4_12891

:ZERO4_12736
set_var_text_label s$bd_future_time_shown = 'ZER4_FB'
set_var_int_to_constant $bd_x = 45220
goto @ZERO4_12891

:ZERO4_12767
set_var_text_label s$bd_future_time_shown = 'ZER4_FC'
set_var_int_to_constant $bd_x = 45221
goto @ZERO4_12891

:ZERO4_12798
set_var_text_label s$bd_future_time_shown = 'ZER4_FD'
set_var_int_to_constant $bd_x = 45222
goto @ZERO4_12891

:ZERO4_12829
set_var_text_label s$bd_future_time_shown = 'ZER4_FE'
set_var_int_to_constant $bd_x = 45223
goto @ZERO4_12891

:ZERO4_12860
set_var_text_label s$bd_future_time_shown = 'ZER4_FF'
set_var_int_to_constant $bd_x = 45224
goto @ZERO4_12891

:ZERO4_12891
start_new_script @AUDIOL -1 0 1 1 0 
64@ = 0

:ZERO4_12916
545@ = 0

:ZERO4_12923
goto @ZERO4_12951

:ZERO4_12930
if 
  Blip.DoesExist(166@)
goto_if_false @ZERO4_12951
Blip.Remove(166@)

:ZERO4_12951
if 
  Blip.DoesExist(166@)
goto_if_false @ZERO4_12988
if 
  Object.IsAttached(92@)
goto_if_false @ZERO4_12988
Blip.Remove(166@)

:ZERO4_12988
if 
  171@ == 1
goto_if_false @ZERO4_13110
if 
  160@ == 0
goto_if_false @ZERO4_13110
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
  64@ > 1000
goto_if_false @ZERO4_13110
set_var_text_label s$bd_future_time_shown = 'ZER4_GA'
set_var_int_to_constant $bd_x = 45225
start_new_script @AUDIOL -1 0 1 1 0 
160@ += 1
64@ = 0

:ZERO4_13110
if 
  160@ == 1
goto_if_false @ZERO4_13248
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
  64@ > 1000
goto_if_false @ZERO4_13248
if 
  171@ == 1
goto_if_false @ZERO4_13234
if 
  548@ <> 1
goto_if_false @ZERO4_13234
Text.PrintNow('Z4_M28', 7000, 1)
if 
  Object.DoesExist(89@)
goto_if_false @ZERO4_13234
161@ = Blip.AddForObject(89@)

:ZERO4_13234
160@ += 1
64@ = 0

:ZERO4_13248
if 
  160@ == 2
goto_if_false @ZERO4_13372
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  $audio_line_terminate_all == 0
  64@ > 1000
  548@ == 1
goto_if_false @ZERO4_13372
if 
  171@ == 1
goto_if_false @ZERO4_13337
Text.PrintNow('Z4_M29', 7000, 1)

:ZERO4_13337
if 
  Blip.DoesExist(161@)
goto_if_false @ZERO4_13358
Blip.Remove(161@)

:ZERO4_13358
160@ += 1
64@ = 0

:ZERO4_13372
if and
  160@ == 3
  171@ == 1
  $audio_line_terminate_all == 0
  64@ > 10000
goto_if_false @ZERO4_13640
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @ZERO4_13640
162@ += 1
if 
  162@ > 2
goto_if_false @ZERO4_13459
162@ = 0

:ZERO4_13459
switch_start 162@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @ZERO4_13615 {caseNum1} 0 {caseLabel1} @ZERO4_13522 {caseNum2} 1 {caseLabel2} @ZERO4_13553 {caseNum3} 2 {caseLabel3} @ZERO4_13584 {caseNum4} -1 {caseLabel4} @ZERO4_13615 {caseNum5} -1 {caseLabel5} @ZERO4_13615 {caseNum6} -1 {caseLabel6} @ZERO4_13615 {caseNum7} -1 {caseLabel7} @ZERO4_13615

:ZERO4_13522
set_var_text_label s$bd_future_time_shown = 'ZER4_HA'
set_var_int_to_constant $bd_x = 45226
goto @ZERO4_13615

:ZERO4_13553
set_var_text_label s$bd_future_time_shown = 'ZER4_HB'
set_var_int_to_constant $bd_x = 45227
goto @ZERO4_13615

:ZERO4_13584
set_var_text_label s$bd_future_time_shown = 'ZER4_HC'
set_var_int_to_constant $bd_x = 45228
goto @ZERO4_13615

:ZERO4_13615
start_new_script @AUDIOL -1 0 1 1 0 
64@ = 0

:ZERO4_13640
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_14137
43@ = Car.GetHealth(68@)
if 
  1400 > 43@
goto_if_false @ZERO4_14137
if and
  not Text.IsMessageBeingDisplayed
  not Text.IsHelpMessageBeingDisplayed
  64@ > 10000
  $audio_line_terminate_all == 0
goto_if_false @ZERO4_14137
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(68@)
set_lvar_float_to_var_float 56@ = $on_footY
56@ -= 5.0
set_lvar_float_to_var_float 57@ = $on_footZ
57@ -= 5.0
set_lvar_float_to_var_float 58@ = $in_carX
58@ -= 5.0
set_lvar_float_to_var_float 59@ = $on_footY
59@ += 5.0
set_lvar_float_to_var_float 60@ = $on_footZ
60@ += 5.0
set_lvar_float_to_var_float 61@ = $in_carX
61@ += 5.0
if 
  not World.IsExplosionInArea(ExplosionType.Small, 56@, 57@, 58@, 59@, 60@, 61@)
goto_if_false @ZERO4_14088
170@ += 1
if 
  170@ > 2
goto_if_false @ZERO4_13900
170@ = 0

:ZERO4_13900
switch_start 170@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @ZERO4_14056 {caseNum1} 0 {caseLabel1} @ZERO4_13963 {caseNum2} 1 {caseLabel2} @ZERO4_13994 {caseNum3} 2 {caseLabel3} @ZERO4_14025 {caseNum4} -1 {caseLabel4} @ZERO4_14056 {caseNum5} -1 {caseLabel5} @ZERO4_14056 {caseNum6} -1 {caseLabel6} @ZERO4_14056 {caseNum7} -1 {caseLabel7} @ZERO4_14056

:ZERO4_13963
set_var_text_label s$bd_future_time_shown = 'ZER4_KA'
set_var_int_to_constant $bd_x = 45235
goto @ZERO4_14056

:ZERO4_13994
set_var_text_label s$bd_future_time_shown = 'ZER4_KB'
set_var_int_to_constant $bd_x = 45236
goto @ZERO4_14056

:ZERO4_14025
set_var_text_label s$bd_future_time_shown = 'ZER4_KC'
set_var_int_to_constant $bd_x = 45237
goto @ZERO4_14056

:ZERO4_14056
start_new_script @AUDIOL -1 0 1 1 0 
64@ = 0
goto @ZERO4_14137

:ZERO4_14088
set_var_text_label s$bd_future_time_shown = 'ZER4_LC'
set_var_int_to_constant $bd_x = 45240
start_new_script @AUDIOL -1 0 1 1 0 
64@ = 0

:ZERO4_14137
if and
  149@ == 99
  150@ == 0
goto_if_false @ZERO4_14207
if 
  111@ == 3
goto_if_false @ZERO4_14207
Text.ClearHelp
Text.PrintHelp('Z4_H12')
150@ += 1
65@ = 0

:ZERO4_14207
if 
  150@ == 1
goto_if_false @ZERO4_14232
150@ = 99

:ZERO4_14232
if 
  Car.IsDead(70@)
goto_if_false @ZERO4_14546
if 
  122@ == 1
goto_if_false @ZERO4_14445
if 
  Object.DoesExist(142@)
goto_if_false @ZERO4_14379
Object.Detach(142@, 0.0, 0.0, 0.0, False)
Object.SetCollision(94@, True)
122@ = 0
103@ = 0
if 
  is_int_lvar_equal_to_int_lvar 142@ == 92@
goto_if_false @ZERO4_14365
121@ = 1
Object.SetRecordsCollisions(92@, True)
102@ = 0

:ZERO4_14365
142@ = 0
goto @ZERO4_14445

:ZERO4_14379
if 
  Car.DoesExist(76@)
goto_if_false @ZERO4_14445
Car.Detach(76@, 0.0, 0.0, 0.0, False)
Object.SetCollision(94@, True)
122@ = 0
103@ = 0
76@ = 0

:ZERO4_14445
wait 1000
set_lvar_int_to_lvar_int 543@ = 70@
Car.MarkAsNoLongerNeeded(70@)
127@ -= 1
if 
  127@ > 0
goto_if_false @ZERO4_14539
Camera.SetFixedPosition(-968.2972, 1077.413, 1346.686, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-969.2341, 1077.368, 1346.339, SwitchType.JumpCut)

:ZERO4_14539
70@ = 0

:ZERO4_14546
if 
  not Car.IsDead(70@)
goto_if_false @ZERO4_14621
if 
  544@ == 1
goto_if_false @ZERO4_14621
if 
  109@ > 10000
goto_if_false @ZERO4_14621
Car.SetProofs(70@, False, False, False, False, False)
544@ = 0

:ZERO4_14621
if 
  70@ == 0
goto_if_false @ZERO4_14968
if 
  127@ <> 0
goto_if_false @ZERO4_14968
Camera.Restore
World.ExtinguishFireAtPoint(-973.759, 1077.152, 1350.399, 200.0)
70@ = Car.Create(501, -973.759, 1077.152, 1350.399)
Car.SetProofs(70@, True, True, True, True, True)
544@ = 1
109@ = 0
Car.SetHeading(70@, 90.0)
Heli.SetBladesFullSpeed(70@)
Car.SetAreaVisible(70@, 10)
Rc.TakeCar($statbike_temp, 70@)
if 
  127@ == 2
goto_if_false @ZERO4_14797
Text.PrintNow('Z4_M14', 5000, 1)

:ZERO4_14797
if 
  127@ == 1
goto_if_false @ZERO4_14831
Text.PrintNow('Z4_M23', 5000, 1)

:ZERO4_14831
if 
  not Object.DoesExist(94@)
goto_if_false @ZERO4_14870
94@ = Object.Create(#MINI_MAGNET, -973.759, 1077.152, 1344.399)

:ZERO4_14870
Object.AttachToCar(94@, 70@, 0.0, 0.0, -0.2, 0.0, 0.0, 0.0)
Object.SetCollision(94@, True)
if 
  127@ == 0
goto_if_false @ZERO4_14947
Car.SetVisible(70@, False)
Object.SetVisible(94@, False)

:ZERO4_14947
if 
  Car.DoesExist(543@)
goto_if_false @ZERO4_14968
Car.Delete(543@)

:ZERO4_14968
if 
  68@ == 0
goto_if_false @ZERO4_15361
68@ = Car.Create(441, -975.6997, 1061.162, 1344.8)
Car.SetHeading(68@, 90.0)
Car.SetAreaVisible(68@, 10)
Car.SetProofs(68@, False, True, True, False, False)
Car.StartPlayback(68@, 521)
Car.SetPlaybackSpeed(68@, 0.5)
97@ = Blip.AddForCar(68@)
Blip.SetAsFriendly(97@, True)
Car.SetHealth(68@, 2000)
Blip.ChangeScale(97@, 2)
if 
  111@ == 2
goto_if_false @ZERO4_15225
43@ = Math.RandomIntInRange(0, 2)
if 
  43@ == 0
goto_if_false @ZERO4_15183
set_var_text_label s$bd_future_time_shown = 'ZER4_MA'
set_var_int_to_constant $bd_x = 45242
start_new_script @AUDIOL -1 0 1 1 0 
goto @ZERO4_15225

:ZERO4_15183
set_var_text_label s$bd_future_time_shown = 'ZER4_MB'
set_var_int_to_constant $bd_x = 45243
start_new_script @AUDIOL -1 0 1 1 0 

:ZERO4_15225
if 
  111@ == 1
goto_if_false @ZERO4_15361
43@ = Math.RandomIntInRange(0, 2)
if 
  43@ == 0
goto_if_false @ZERO4_15319
set_var_text_label s$bd_future_time_shown = 'ZER4_MC'
set_var_int_to_constant $bd_x = 45244
start_new_script @AUDIOL -1 0 1 1 0 
goto @ZERO4_15361

:ZERO4_15319
set_var_text_label s$bd_future_time_shown = 'ZER4_MD'
set_var_int_to_constant $bd_x = 45245
start_new_script @AUDIOL -1 0 1 1 0 

:ZERO4_15361
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_15928
43@ = Car.GetHealth(68@)
if 
  1000 > 43@
goto_if_false @ZERO4_15928
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(68@)
set_lvar_float_to_var_float 56@ = $on_footY
56@ -= 5.0
set_lvar_float_to_var_float 57@ = $on_footZ
57@ -= 5.0
set_lvar_float_to_var_float 58@ = $in_carX
58@ -= 5.0
set_lvar_float_to_var_float 59@ = $on_footY
59@ += 5.0
set_lvar_float_to_var_float 60@ = $on_footZ
60@ += 5.0
set_lvar_float_to_var_float 61@ = $in_carX
61@ += 5.0
Car.Explode(68@)
if 
  not World.IsExplosionInArea(ExplosionType.Small, 56@, 57@, 58@, 59@, 60@, 61@)
goto_if_false @ZERO4_15810
169@ += 1
if 
  169@ > 2
goto_if_false @ZERO4_15596
169@ = 0

:ZERO4_15596
switch_start 169@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @ZERO4_15752 {caseNum1} 0 {caseLabel1} @ZERO4_15659 {caseNum2} 1 {caseLabel2} @ZERO4_15690 {caseNum3} 2 {caseLabel3} @ZERO4_15721 {caseNum4} -1 {caseLabel4} @ZERO4_15752 {caseNum5} -1 {caseLabel5} @ZERO4_15752 {caseNum6} -1 {caseLabel6} @ZERO4_15752 {caseNum7} -1 {caseLabel7} @ZERO4_15752

:ZERO4_15659
set_var_text_label s$bd_future_time_shown = 'ZER4_LA'
set_var_int_to_constant $bd_x = 45238
goto @ZERO4_15752

:ZERO4_15690
set_var_text_label s$bd_future_time_shown = 'ZER4_LB'
set_var_int_to_constant $bd_x = 45239
goto @ZERO4_15752

:ZERO4_15721
set_var_text_label s$bd_future_time_shown = 'ZER4_LD'
set_var_int_to_constant $bd_x = 45241
goto @ZERO4_15752

:ZERO4_15752
start_new_script @AUDIOL -1 0 1 1 0 
wait 100

:ZERO4_15774
if 
  $audio_line_terminate_all == 1
goto_if_false @ZERO4_15803
wait 0
goto @ZERO4_15774

:ZERO4_15803
goto @ZERO4_15885

:ZERO4_15810
set_var_text_label s$bd_future_time_shown = 'ZER4_LC'
set_var_int_to_constant $bd_x = 45240
start_new_script @AUDIOL -1 0 1 1 0 
wait 100

:ZERO4_15856
if 
  $audio_line_terminate_all == 1
goto_if_false @ZERO4_15885
wait 0
goto @ZERO4_15856

:ZERO4_15885
Car.MarkAsNoLongerNeeded(68@)
Car.StopPlayback(68@)
Blip.Remove(97@)
68@ = 0
111@ -= 1
110@ = 0
137@ = 0

:ZERO4_15928
if 
  Car.DoesExist(71@)
goto_if_false @ZERO4_16155
if 
  Car.IsDead(71@)
goto_if_false @ZERO4_16155
if 
  Object.DoesExist(95@)
goto_if_false @ZERO4_15981
Object.Delete(95@)

:ZERO4_15981
if 
  Object.DoesExist(77@(125@,10i))
goto_if_false @ZERO4_16148
if 
  Object.IsAttached(77@(125@,10i))
goto_if_false @ZERO4_16148
Object.Detach(77@(125@,10i), 0.0, 0.0, 0.0, False)
Object.SetCollision(77@(125@,10i), True)
if 
  Object.IsIntersectingWorld(77@(125@,10i))
goto_if_false @ZERO4_16148
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(77@(125@,10i))
$on_footX = Object.GetHeading(77@(125@,10i))
$in_carX += 1.0
Object.SetCoordinates(77@(125@,10i), $on_footY, $on_footZ, $in_carX)
Object.SetHeading(77@(125@,10i), $on_footX)

:ZERO4_16148
71@ = 0

:ZERO4_16155
if 
  115@ == 0
goto_if_false @ZERO4_16397
43@ = 0

:ZERO4_16180
if 
  5 > 43@
goto_if_false @ZERO4_16397
if 
  Object.DoesExist(87@(43@,5i))
goto_if_false @ZERO4_16383
if 
  not Object.IsAttached(87@(43@,5i))
goto_if_false @ZERO4_16383
if 
  Object.Locate3D(87@(43@,5i), -1043.508, 1041.38, 1341.294, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_16383
Object.SetCoordinates(87@(43@,5i), -1043.508, 1041.38, 1341.294)
Object.SetRotation(87@(43@,5i), -2.77, -2.13, -38.12)
Object.FreezePosition(87@(43@,5i), True)
Audio.ReportMissionAudioEventAtObject(87@(43@,5i), 1009)
115@ = 1
set_lvar_int_to_lvar_int 117@ = 43@
43@ = 5

:ZERO4_16383
43@ += 1
goto @ZERO4_16180

:ZERO4_16397
if 
  115@ == 1
goto_if_false @ZERO4_16480
if 
  Object.DoesExist(87@(117@,5i))
goto_if_false @ZERO4_16480
if 
  Object.IsAttached(87@(117@,5i))
goto_if_false @ZERO4_16480
Object.FreezePosition(87@(117@,5i), False)
115@ = 0
117@ = -1

:ZERO4_16480
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_16698
if 
  119@ == 0
goto_if_false @ZERO4_16613
if 
  115@ == 0
goto_if_false @ZERO4_16606
if 
  Car.Locate3D(68@, -1041.83, 1044.25, 1341.42, 1.5, 1.5, 1.5, False)
goto_if_false @ZERO4_16606
Car.PausePlayback(68@)
119@ = 1
155@ = 1
171@ = 1

:ZERO4_16606
goto @ZERO4_16698

:ZERO4_16613
if 
  115@ == 1
goto_if_false @ZERO4_16698
if 
  Car.Locate3D(68@, -1041.83, 1044.25, 1341.42, 1.5, 1.5, 1.5, False)
goto_if_false @ZERO4_16698
Car.UnpausePlayback(68@)
119@ = 0
171@ = 0

:ZERO4_16698
if 
  155@ == 1
goto_if_false @ZERO4_16757
if 
  147@ == 99
goto_if_false @ZERO4_16757
Text.PrintNow('Z4_M20', 7000, 1)
155@ += 1

:ZERO4_16757
if 
  155@ == 2
goto_if_false @ZERO4_16935
if 
  Object.DoesExist(142@)
goto_if_false @ZERO4_16935
43@ = 0
44@ = 0

:ZERO4_16805
if 
  5 > 43@
goto_if_false @ZERO4_16894
if 
  Object.DoesExist(87@(43@,5i))
goto_if_false @ZERO4_16880
if 
  is_int_lvar_equal_to_int_lvar 87@(43@,5i) == 142@
goto_if_false @ZERO4_16880
44@ = 1
43@ = 5

:ZERO4_16880
43@ += 1
goto @ZERO4_16805

:ZERO4_16894
if 
  44@ == 1
goto_if_false @ZERO4_16935
Text.PrintNow('Z4_M21', 7000, 1)
155@ += 1

:ZERO4_16935
if 
  155@ == 3
goto_if_false @ZERO4_16980
if 
  115@ == 1
goto_if_false @ZERO4_16980
Text.ClearPrints
155@ = 99

:ZERO4_16980
if 
  116@ == 0
goto_if_false @ZERO4_17222
43@ = 0

:ZERO4_17005
if 
  5 > 43@
goto_if_false @ZERO4_17222
if 
  Object.DoesExist(87@(43@,5i))
goto_if_false @ZERO4_17208
if 
  not Object.IsAttached(87@(43@,5i))
goto_if_false @ZERO4_17208
if 
  Object.Locate3D(87@(43@,5i), -1062.833, 1076.628, 1341.23, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_17208
Object.SetCoordinates(87@(43@,5i), -1062.833, 1076.628, 1341.23)
Object.SetRotation(87@(43@,5i), 4.7, -4.77, -31.58)
Object.FreezePosition(87@(43@,5i), True)
Audio.ReportMissionAudioEventAtObject(87@(43@,5i), 1009)
116@ = 1
set_lvar_int_to_lvar_int 118@ = 43@
43@ = 5

:ZERO4_17208
43@ += 1
goto @ZERO4_17005

:ZERO4_17222
if 
  116@ == 1
goto_if_false @ZERO4_17305
if 
  Object.DoesExist(87@(118@,5i))
goto_if_false @ZERO4_17305
if 
  Object.IsAttached(87@(118@,5i))
goto_if_false @ZERO4_17305
Object.FreezePosition(87@(118@,5i), False)
116@ = 0
118@ = -1

:ZERO4_17305
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_17523
if 
  119@ == 0
goto_if_false @ZERO4_17438
if 
  116@ == 0
goto_if_false @ZERO4_17431
if 
  Car.Locate3D(68@, -1064.09, 1074.37, 1341.32, 1.5, 1.5, 1.5, False)
goto_if_false @ZERO4_17431
Car.PausePlayback(68@)
171@ = 1
119@ = 1
156@ = 1

:ZERO4_17431
goto @ZERO4_17523

:ZERO4_17438
if 
  116@ == 1
goto_if_false @ZERO4_17523
if 
  Car.Locate3D(68@, -1064.09, 1074.37, 1341.32, 1.5, 1.5, 1.5, False)
goto_if_false @ZERO4_17523
Car.UnpausePlayback(68@)
171@ = 0
119@ = 0

:ZERO4_17523
if 
  156@ == 1
goto_if_false @ZERO4_17564
Text.PrintNow('Z4_M20', 7000, 1)
156@ += 1

:ZERO4_17564
if 
  156@ == 2
goto_if_false @ZERO4_17742
if 
  Object.DoesExist(142@)
goto_if_false @ZERO4_17742
43@ = 0
44@ = 0

:ZERO4_17612
if 
  5 > 43@
goto_if_false @ZERO4_17701
if 
  Object.DoesExist(87@(43@,5i))
goto_if_false @ZERO4_17687
if 
  is_int_lvar_equal_to_int_lvar 87@(43@,5i) == 142@
goto_if_false @ZERO4_17687
44@ = 1
43@ = 5

:ZERO4_17687
43@ += 1
goto @ZERO4_17612

:ZERO4_17701
if 
  44@ == 1
goto_if_false @ZERO4_17742
Text.PrintNow('Z4_M21', 7000, 1)
156@ += 1

:ZERO4_17742
if 
  156@ == 3
goto_if_false @ZERO4_17787
if 
  116@ == 1
goto_if_false @ZERO4_17787
Text.ClearPrints
156@ = 99

:ZERO4_17787
if 
  137@ == 0
goto_if_false @ZERO4_19148
if 
  119@ == 0
goto_if_false @ZERO4_18441
if 
  120@ == 0
goto_if_false @ZERO4_18434
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_18434
108@ = 0
157@ = 0
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(68@, 0.0, 2.0, 0.0)
43@ = 0

:ZERO4_17907
if 
  10 > 43@
goto_if_false @ZERO4_18094
if 
  Object.DoesExist(77@(43@,10i))
goto_if_false @ZERO4_18080
if 
  Object.Locate3D(77@(43@,10i), $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_18080
56@, 57@, 58@ = Object.GetCoordinates(77@(43@,10i))
46@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 56@, 57@)
if 
  0.8 > 46@
goto_if_false @ZERO4_18080
Car.PausePlayback(68@)
119@ = 1
120@ = 1
157@ = 1
goto @ZERO4_18434

:ZERO4_18080
43@ += 1
goto @ZERO4_17907

:ZERO4_18094
43@ = 0

:ZERO4_18101
if 
  3 > 43@
goto_if_false @ZERO4_18324
if 
  Car.DoesExist(72@(43@,3i))
goto_if_false @ZERO4_18310
if 
  not Car.IsDead(72@(43@,3i))
goto_if_false @ZERO4_18310
if 
  Car.Locate3D(72@(43@,3i), $on_footY, $on_footZ, $in_carX, 2.0, 2.0, 2.0, False)
goto_if_false @ZERO4_18310
56@, 57@, 58@ = Car.GetCoordinates(72@(43@,3i))
46@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 56@, 57@)
if 
  0.9 > 46@
goto_if_false @ZERO4_18310
Car.PausePlayback(68@)
119@ = 1
120@ = 1
157@ = 2
Text.PrintNow('Z4_M18', 5000, 1)
goto @ZERO4_18434

:ZERO4_18310
43@ += 1
goto @ZERO4_18101

:ZERO4_18324
if 
  not Car.IsDead(70@)
goto_if_false @ZERO4_18408
if 
  Car.Locate3D(70@, $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_18408
Car.PausePlayback(68@)
119@ = 1
120@ = 1
goto @ZERO4_18434

:ZERO4_18408
if 
  120@ == 1
goto_if_false @ZERO4_18434
108@ = 30000

:ZERO4_18434
goto @ZERO4_19148

:ZERO4_18441
if 
  120@ == 1
goto_if_false @ZERO4_19148
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_19148
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(68@, 0.0, 2.0, 0.0)
120@ = 0
43@ = 0

:ZERO4_18518
if 
  10 > 43@
goto_if_false @ZERO4_18693
if 
  Object.DoesExist(77@(43@,10i))
goto_if_false @ZERO4_18679
if 
  Object.Locate3D(77@(43@,10i), $on_footY, $on_footZ, $in_carX, 2.0, 2.0, 2.0, False)
goto_if_false @ZERO4_18679
56@, 57@, 58@ = Object.GetCoordinates(77@(43@,10i))
46@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 56@, 57@)
if 
  0.9 > 46@
goto_if_false @ZERO4_18679
120@ = 1
157@ = 1
goto @ZERO4_19148

:ZERO4_18679
43@ += 1
goto @ZERO4_18518

:ZERO4_18693
43@ = 0

:ZERO4_18700
if 
  3 > 43@
goto_if_false @ZERO4_18895
if 
  Car.DoesExist(72@(43@,3i))
goto_if_false @ZERO4_18881
if 
  not Car.IsDead(72@(43@,3i))
goto_if_false @ZERO4_18881
if 
  Car.Locate3D(72@(43@,3i), $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_18881
56@, 57@, 58@ = Car.GetCoordinates(72@(43@,3i))
46@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 56@, 57@)
if 
  0.8 > 46@
goto_if_false @ZERO4_18881
120@ = 1
157@ = 2
goto @ZERO4_19148

:ZERO4_18881
43@ += 1
goto @ZERO4_18700

:ZERO4_18895
if 
  not Car.IsDead(70@)
goto_if_false @ZERO4_18967
if 
  Car.Locate3D(70@, $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_18967
120@ = 1
goto @ZERO4_19148

:ZERO4_18967
if and
  120@ == 1
  108@ > 30000
  3 > 158@
goto_if_false @ZERO4_19075
if 
  157@ == 1
goto_if_false @ZERO4_19034
Text.Print('Z4_M18', 5000, 1)

:ZERO4_19034
if 
  157@ == 2
goto_if_false @ZERO4_19068
Text.Print('Z4_M25', 5000, 1)

:ZERO4_19068
108@ = 0

:ZERO4_19075
if 
  120@ == 0
goto_if_false @ZERO4_19148
Car.UnpausePlayback(68@)
119@ = 0
157@ = 0
Text.ClearPrints
if and
  108@ > 1000
  30000 > 108@
goto_if_false @ZERO4_19148
158@ += 1

:ZERO4_19148
if 
  137@ == 0
goto_if_false @ZERO4_19568
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_19568
if 
  Car.HasBeenDamagedByWeapon(68@, WeaponType.MicroUzi)
goto_if_false @ZERO4_19212
545@ = 1
Car.ClearLastWeaponDamage(68@)

:ZERO4_19212
$7437 = Car.GetHealth(68@)
$7437 += -1000
cset_lvar_float_to_var_int 46@ =# $7437
46@ /= 1000.0
46@ *= 100.0
cset_var_int_to_lvar_float $7437 =# 46@
if 
  is_int_lvar_greater_than_int_var 135@ > $7437
goto_if_false @ZERO4_19297
136@ = 1
107@ = 0

:ZERO4_19297
set_lvar_int_to_var_int 135@ = $7437
if 
  136@ == 1
goto_if_false @ZERO4_19393
if 
  119@ == 1
goto_if_false @ZERO4_19353
Car.UnpausePlayback(68@)
119@ = 0

:ZERO4_19353
if 
  Car.IsPlaybackGoingOn(68@)
goto_if_false @ZERO4_19393
Car.SetPlaybackSpeed(68@, -0.2)
136@ += 1
107@ = 0

:ZERO4_19393
if 
  136@ == 2
goto_if_false @ZERO4_19444
if 
  107@ > 4000
goto_if_false @ZERO4_19444
136@ += 1
107@ = 0

:ZERO4_19444
if 
  136@ == 3
goto_if_false @ZERO4_19498
Car.SetPlaybackSpeed(68@, 0.5)
Car.PausePlayback(68@)
119@ = 1
107@ = 0
136@ += 1

:ZERO4_19498
if 
  136@ == 4
goto_if_false @ZERO4_19568
if 
  107@ > 4000
goto_if_false @ZERO4_19568
Car.UnpausePlayback(68@)
119@ = 0
136@ = 0
107@ = 0
120@ = 0

:ZERO4_19568
if 
  not Car.IsDead(70@)
goto_if_false @ZERO4_20518
if 
  546@ == 1
goto_if_false @ZERO4_20518
if 
  122@ <> 0
goto_if_false @ZERO4_20511
if 
  548@ == 1
goto_if_false @ZERO4_20062
56@, 57@, 58@ = Car.GetCoordinates(70@)
58@ = World.GetGroundZFor3DCoord(56@, 57@, 58@)
43@ = 0
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(142@, 0.0, 1.7, 0.0)
set_lvar_float_to_var_float 46@ = $in_carX
46@ += 0.5
if 
  is_float_lvar_greater_than_float_var 58@ > $in_carX
goto_if_false @ZERO4_19746
43@ = 1

:ZERO4_19746
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(142@, 0.0, -1.7, 0.0)
set_lvar_float_to_var_float 46@ = $in_carX
46@ += 0.5
if 
  is_float_lvar_greater_than_float_var 58@ > $in_carX
goto_if_false @ZERO4_19819
43@ = 1

:ZERO4_19819
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(142@, 0.2, 0.0, 0.0)
set_lvar_float_to_var_float 46@ = $in_carX
46@ += 0.5
if 
  is_float_lvar_greater_than_float_var 58@ > $in_carX
goto_if_false @ZERO4_19892
43@ = 1

:ZERO4_19892
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(142@, -0.2, 0.0, 0.0)
set_lvar_float_to_var_float 46@ = $in_carX
46@ += 0.5
if 
  is_float_lvar_greater_than_float_var 58@ > $in_carX
goto_if_false @ZERO4_19965
43@ = 1

:ZERO4_19965
if 
  43@ == 1
goto_if_false @ZERO4_20048
Object.SetCollision(142@, False)
if 
  not Car.IsDead(70@)
goto_if_false @ZERO4_20041
Car.ApplyForce(70@, 0.0, 0.0, 0.005, 0.0, 0.0, 0.0)

:ZERO4_20041
goto @ZERO4_20062

:ZERO4_20048
Object.SetCollision(142@, True)
546@ = 0

:ZERO4_20062
if 
  547@ == 1
goto_if_false @ZERO4_20504
56@, 57@, 58@ = Car.GetCoordinates(70@)
58@ = World.GetGroundZFor3DCoord(56@, 57@, 58@)
43@ = 0
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(142@, 0.0, 1.0, 0.0)
set_lvar_float_to_var_float 46@ = $in_carX
46@ += 0.5
if 
  is_float_lvar_greater_than_float_var 58@ > $in_carX
goto_if_false @ZERO4_20188
43@ = 1

:ZERO4_20188
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(142@, 0.0, -1.0, 0.0)
set_lvar_float_to_var_float 46@ = $in_carX
46@ += 0.5
if 
  is_float_lvar_greater_than_float_var 58@ > $in_carX
goto_if_false @ZERO4_20261
43@ = 1

:ZERO4_20261
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(142@, 1.0, 0.0, 0.0)
set_lvar_float_to_var_float 46@ = $in_carX
46@ += 0.5
if 
  is_float_lvar_greater_than_float_var 58@ > $in_carX
goto_if_false @ZERO4_20334
43@ = 1

:ZERO4_20334
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(142@, -1.0, 0.0, 0.0)
set_lvar_float_to_var_float 46@ = $in_carX
46@ += 0.5
if 
  is_float_lvar_greater_than_float_var 58@ > $in_carX
goto_if_false @ZERO4_20407
43@ = 1

:ZERO4_20407
if 
  43@ == 1
goto_if_false @ZERO4_20490
Object.SetCollision(142@, False)
if 
  not Car.IsDead(70@)
goto_if_false @ZERO4_20483
Car.ApplyForce(70@, 0.0, 0.0, 0.005, 0.0, 0.0, 0.0)

:ZERO4_20483
goto @ZERO4_20504

:ZERO4_20490
Object.SetCollision(142@, True)
546@ = 0

:ZERO4_20504
goto @ZERO4_20518

:ZERO4_20511
546@ = 0

:ZERO4_20518
if 
  not Car.IsDead(70@)
goto_if_false @ZERO4_21716
if 
  122@ == 0
goto_if_false @ZERO4_21420
if 
  123@ == 0
goto_if_false @ZERO4_21389
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
  103@ > 1000
goto_if_false @ZERO4_21375
123@ = 1
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(70@, 0.0, 0.0, -1.0)
43@ = 0

:ZERO4_20638
if 
  10 > 43@
goto_if_false @ZERO4_20924
if 
  Object.DoesExist(77@(43@,10i))
goto_if_false @ZERO4_20910
if 
  Object.Locate3D(77@(43@,10i), $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_20910
44@ = 0
if 
  Object.IsAttached(77@(43@,10i))
goto_if_false @ZERO4_20756
44@ = 1

:ZERO4_20756
if 
  44@ == 0
goto_if_false @ZERO4_20910
set_lvar_int_to_lvar_int 142@ = 77@(43@,10i)
46@ = Object.GetHeading(77@(43@,10i))
Object.AttachToCar(142@, 70@, 0.0, 0.0, -1.2, 0.0, 90.0, 0.0)
if 
  Object.DoesExist(142@)
goto_if_false @ZERO4_20860
Audio.ReportMissionAudioEventAtObject(142@, 1009)

:ZERO4_20860
Object.SetCollision(94@, True)
Object.SortOutCollisionWithCar(142@, 70@)
43@ = 10
122@ = 1
547@ = 1
546@ = 1
goto @ZERO4_21368

:ZERO4_20910
43@ += 1
goto @ZERO4_20638

:ZERO4_20924
43@ = 0

:ZERO4_20931
if 
  5 > 43@
goto_if_false @ZERO4_21153
if 
  Object.DoesExist(87@(43@,5i))
goto_if_false @ZERO4_21139
if 
  Object.Locate3D(87@(43@,5i), $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_21139
set_lvar_int_to_lvar_int 142@ = 87@(43@,5i)
Object.AttachToCar(142@, 70@, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0)
if 
  Object.DoesExist(142@)
goto_if_false @ZERO4_21089
Audio.ReportMissionAudioEventAtObject(142@, 1009)

:ZERO4_21089
Object.SetCollision(94@, True)
Object.SortOutCollisionWithCar(142@, 70@)
43@ = 6
122@ = 1
548@ = 1
546@ = 1
goto @ZERO4_21368

:ZERO4_21139
43@ += 1
goto @ZERO4_20931

:ZERO4_21153
if 
  Object.DoesExist(92@)
goto_if_false @ZERO4_21368
if 
  Object.Locate3D(92@, $on_footY, $on_footZ, $in_carX, 1.0, 1.0, 1.0, False)
goto_if_false @ZERO4_21368
set_lvar_int_to_lvar_int 142@ = 92@
Object.AttachToCar(142@, 70@, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0)
if 
  Object.DoesExist(142@)
goto_if_false @ZERO4_21332
if 
  Object.IsIntersectingWorld(142@)
goto_if_false @ZERO4_21324
Car.ApplyForce(70@, 0.0, 0.0, 0.1, 0.0, 0.0, 0.0)

:ZERO4_21324
Audio.ReportMissionAudioEventAtObject(142@, 1009)

:ZERO4_21332
Object.SetCollision(94@, True)
Object.SortOutCollisionWithCar(142@, 70@)
122@ = 1
549@ = 1
goto @ZERO4_21368

:ZERO4_21368
goto @ZERO4_21382

:ZERO4_21375
123@ = 0

:ZERO4_21382
goto @ZERO4_21413

:ZERO4_21389
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @ZERO4_21413
123@ = 0

:ZERO4_21413
goto @ZERO4_21716

:ZERO4_21420
if 
  123@ == 1
goto_if_false @ZERO4_21469
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @ZERO4_21462
123@ = 0

:ZERO4_21462
goto @ZERO4_21716

:ZERO4_21469
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @ZERO4_21716
if 
  Object.DoesExist(142@)
goto_if_false @ZERO4_21643
if 
  not Object.IsIntersectingWorld(142@)
goto_if_false @ZERO4_21636
Object.Detach(142@, 0.0, 0.0, 0.0, False)
Object.SetCollision(94@, True)
122@ = 0
103@ = 0
if 
  is_int_lvar_equal_to_int_lvar 142@ == 92@
goto_if_false @ZERO4_21601
121@ = 1
Object.SetRecordsCollisions(92@, True)
102@ = 0

:ZERO4_21601
142@ = 0
123@ = 1
549@ = 0
548@ = 0
547@ = 0

:ZERO4_21636
goto @ZERO4_21716

:ZERO4_21643
if 
  Car.DoesExist(76@)
goto_if_false @ZERO4_21716
Car.Detach(76@, 0.0, 0.0, 0.0, False)
Object.SetCollision(94@, True)
122@ = 0
103@ = 0
76@ = 0
123@ = 1

:ZERO4_21716
if 
  Object.DoesExist(92@)
goto_if_false @ZERO4_21839
if 
  121@ == 1
goto_if_false @ZERO4_21832
if or
  Object.HasCollidedWithAnything(92@)
  102@ > 10000
goto_if_false @ZERO4_21832
if 
  102@ > 500
goto_if_false @ZERO4_21832
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(92@)
Fx.AddExplosion($on_footY, $on_footZ, $in_carX, ExplosionType.Small)
Object.Delete(92@)
121@ = 0

:ZERO4_21832
goto @ZERO4_21879

:ZERO4_21839
92@ = Object.CreateNoOffset(#RCBOMB, -974.5125, 1072.045, 1344.298)
Object.SetHeading(92@, 90.0)
121@ = 0

:ZERO4_21879
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_22061
set_lvar_int_to_lvar_int 43@ = 110@

:ZERO4_21903
if 
  117 > 43@
goto_if_false @ZERO4_22036
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_22015
if 
  Car.Locate2D(68@, 191@(43@,117f), 308@(43@,117f), 1.0, 1.0, False)
goto_if_false @ZERO4_22001
set_lvar_int_to_lvar_int 110@ = 43@
110@ += 1
goto @ZERO4_22008

:ZERO4_22001
43@ = 117

:ZERO4_22008
goto @ZERO4_22022

:ZERO4_22015
110@ = 0

:ZERO4_22022
43@ += 1
goto @ZERO4_21903

:ZERO4_22036
if 
  110@ > 116
goto_if_false @ZERO4_22061
110@ = 116

:ZERO4_22061
if 
  not Car.IsDead(71@)
goto_if_false @ZERO4_23144
if 
  124@ == 0
goto_if_false @ZERO4_22423
125@ = -1
43@ = 3

:ZERO4_22109
if 
  10 > 43@
goto_if_false @ZERO4_22176
if 
  not Object.DoesExist(77@(43@,10i))
goto_if_false @ZERO4_22162
set_lvar_int_to_lvar_int 125@ = 43@
43@ = 10

:ZERO4_22162
43@ += 1
goto @ZERO4_22109

:ZERO4_22176
if 
  125@ > -1
goto_if_false @ZERO4_22328
77@(125@,10i) = Object.Create(#BARREL2, 0.0, 0.0, 0.0)
Object.AttachToCar(77@(125@,10i), 71@, 0.0, 0.0, -1.2, 0.0, 90.0, 0.0)
if 
  Object.DoesExist(77@(125@,10i))
goto_if_false @ZERO4_22295
Audio.ReportMissionAudioEventAtObject(77@(125@,10i), 1009)

:ZERO4_22295
Object.SetCollision(95@, False)
Object.SortOutCollisionWithCar(77@(125@,10i), 71@)
124@ += 1
goto @ZERO4_22423

:ZERO4_22328
43@ = 3

:ZERO4_22335
if 
  10 > 43@
goto_if_false @ZERO4_22423
if 
  Object.DoesExist(77@(43@,10i))
goto_if_false @ZERO4_22409
if 
  not Object.IsOnScreen(77@(43@,10i))
goto_if_false @ZERO4_22409
Object.Delete(77@(43@,10i))
43@ = 10

:ZERO4_22409
43@ += 1
goto @ZERO4_22335

:ZERO4_22423
if 
  124@ == 1
goto_if_false @ZERO4_22538
set_lvar_int_to_lvar_int 126@ = 110@
126@ += 30
if 
  126@ > 114
goto_if_false @ZERO4_22481
126@ = 114

:ZERO4_22481
Heli.SetStabiliser(71@, False)
Heli.SetReachedTargetDistance(71@, 0)
Heli.GotoCoords(71@, 191@(126@,117f), 308@(126@,117f), 425@(126@,117f), 5.0, 352.0)
124@ += 1

:ZERO4_22538
if 
  124@ == 2
goto_if_false @ZERO4_22821
if 
  Car.Locate3D(71@, 191@(126@,117f), 308@(126@,117f), 425@(126@,117f), 5.0, 5.0, 15.0, False)
goto_if_false @ZERO4_22726
if 
  is_int_lvar_greater_than_int_lvar 110@ > 126@
goto_if_false @ZERO4_22712
set_lvar_int_to_lvar_int 126@ = 110@
126@ += 10
if 
  126@ > 114
goto_if_false @ZERO4_22669
126@ = 114

:ZERO4_22669
Heli.GotoCoords(71@, 191@(126@,117f), 308@(126@,117f), 425@(126@,117f), 5.0, 352.0)
goto @ZERO4_22719

:ZERO4_22712
124@ += 1

:ZERO4_22719
goto @ZERO4_22821

:ZERO4_22726
if 
  is_int_lvar_greater_than_int_lvar 110@ > 126@
goto_if_false @ZERO4_22821
set_lvar_int_to_lvar_int 126@ = 110@
126@ += 10
if 
  126@ > 114
goto_if_false @ZERO4_22785
126@ = 114

:ZERO4_22785
Heli.GotoCoords(71@, 191@(126@,117f), 308@(126@,117f), 425@(126@,117f), 5.0, 352.0)

:ZERO4_22821
if 
  124@ == 3
goto_if_false @ZERO4_22882
Heli.GotoCoords(71@, 191@(126@,117f), 308@(126@,117f), 425@(126@,117f), 1.0, 343.0)
124@ += 1

:ZERO4_22882
if 
  124@ == 4
goto_if_false @ZERO4_22961
if 
  Car.Locate3D(71@, 191@(126@,117f), 308@(126@,117f), 425@(126@,117f), 1.5, 1.5, 5.0, False)
goto_if_false @ZERO4_22961
124@ += 1

:ZERO4_22961
if 
  124@ == 5
goto_if_false @ZERO4_23019
Object.Detach(77@(125@,10i), 0.0, 0.0, 0.0, False)
Object.SetCollision(95@, True)
124@ += 1

:ZERO4_23019
if 
  124@ == 6
goto_if_false @ZERO4_23074
Heli.GotoCoords(71@, -1131.694, 1041.791, 1345.141, 5.0, 350.0)
124@ += 1

:ZERO4_23074
if 
  124@ == 7
goto_if_false @ZERO4_23137
if 
  Car.Locate2D(71@, -1131.694, 1041.791, 4.0, 4.0, False)
goto_if_false @ZERO4_23137
124@ = 0

:ZERO4_23137
goto @ZERO4_23179

:ZERO4_23144
if 
  124@ <> 99
goto_if_false @ZERO4_23179
Car.MarkAsNoLongerNeeded(71@)
Blip.Remove(98@)
124@ = 99

:ZERO4_23179
43@ = 0

:ZERO4_23186
if 
  3 > 43@
goto_if_false @ZERO4_23498
if 
  not Car.IsDead(72@(43@,3i))
goto_if_false @ZERO4_23484
44@ = 0

:ZERO4_23231
if 
  10 > 44@
goto_if_false @ZERO4_23484
if 
  Object.DoesExist(77@(44@,10i))
goto_if_false @ZERO4_23470
if 
  Car.IsTouchingObject(72@(43@,3i), 77@(44@,10i))
goto_if_false @ZERO4_23470
46@ = Object.GetSpeed(77@(44@,10i))
if 
  46@ > 5.0
goto_if_false @ZERO4_23386
45@ = Car.GetHealth(72@(43@,3i))
45@ += -200
if 
  0 >= 45@
goto_if_false @ZERO4_23374
45@ = 1

:ZERO4_23374
Car.SetHealth(72@(43@,3i), 45@)

:ZERO4_23386
if 
  122@ == 1
goto_if_false @ZERO4_23470
if 
  is_int_lvar_equal_to_int_lvar 142@ == 77@(44@,10i)
goto_if_false @ZERO4_23470
Object.Detach(142@, 0.0, 0.0, 0.0, False)
Object.SetCollision(94@, True)
122@ = 0
103@ = 0

:ZERO4_23470
44@ += 1
goto @ZERO4_23231

:ZERO4_23484
43@ += 1
goto @ZERO4_23186

:ZERO4_23498
44@ = 0

:ZERO4_23505
if 
  3 > 44@
goto_if_false @ZERO4_23552
set_lvar_int_to_lvar_int 551@ = 44@
gosub @ZERO4_24681
44@ += 1
goto @ZERO4_23505

:ZERO4_23552
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_23630
if 
  Car.Locate3D(68@, -1131.6, 1057.7, 1345.7, 2.5, 2.5, 2.0, False)
goto_if_false @ZERO4_23630
gosub @ZERO4_24198
36@ = 1

:ZERO4_23630
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @ZERO4_23659
gosub @ZERO4_23930
37@ = 1

:ZERO4_23659
if 
  111@ == 0
goto_if_false @ZERO4_23707
gosub @ZERO4_23930
Text.PrintNow('Z4_M15', 5000, 1)
37@ = 1

:ZERO4_23707
if 
  127@ == 0
goto_if_false @ZERO4_23755
gosub @ZERO4_23930
Text.PrintNow('Z4_M13', 5000, 1)
37@ = 1

:ZERO4_23755
if 
  0 >= $7436
goto_if_false @ZERO4_23803
gosub @ZERO4_23930
Text.PrintNow('Z4_M12', 5000, 1)
37@ = 1

:ZERO4_23803
if 
  35@ == 99
goto_if_false @ZERO4_23828
gosub @ZERO4_26379

:ZERO4_23828
if 
  38@ == 0
goto_if_false @ZERO4_23928
if 
  37@ == 0
goto_if_false @ZERO4_23912
if 
  36@ == 0
goto_if_false @ZERO4_23896
goto @ZERO4_133
goto @ZERO4_23905

:ZERO4_23896
gosub @ZERO4_26460
return 

:ZERO4_23905
goto @ZERO4_23921

:ZERO4_23912
gosub @ZERO4_26437
return 

:ZERO4_23921
goto @ZERO4_23930

:ZERO4_23928
return 

:ZERO4_23930
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Text.ClearHelp
Hud.ClearTimer($7436)
Hud.ClearCounter($7437)
wait 100
62@ = Math.RandomIntInRange(0, 3)
switch_start 62@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @ZERO4_24129 {caseNum1} 0 {caseLabel1} @ZERO4_24036 {caseNum2} 1 {caseLabel2} @ZERO4_24067 {caseNum3} 2 {caseLabel3} @ZERO4_24098 {caseNum4} -1 {caseLabel4} @ZERO4_24129 {caseNum5} -1 {caseLabel5} @ZERO4_24129 {caseNum6} -1 {caseLabel6} @ZERO4_24129 {caseNum7} -1 {caseLabel7} @ZERO4_24129

:ZERO4_24036
set_var_text_label s$bd_future_time_shown = 'ZER4_NA'
set_var_int_to_constant $bd_x = 45246
goto @ZERO4_24129

:ZERO4_24067
set_var_text_label s$bd_future_time_shown = 'ZER4_NB'
set_var_int_to_constant $bd_x = 45247
goto @ZERO4_24129

:ZERO4_24098
set_var_text_label s$bd_future_time_shown = 'ZER4_NC'
set_var_int_to_constant $bd_x = 45248
goto @ZERO4_24129

:ZERO4_24129
start_new_script @AUDIOL -1 0 1 1 0 
wait 100

:ZERO4_24151
if 
  $audio_line_terminate_all == 1
goto_if_false @ZERO4_24180
wait 0
goto @ZERO4_24151

:ZERO4_24180
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
return 

:ZERO4_24198
Hud.ClearTimer($7436)
Hud.ClearCounter($7437)
62@ = 0

:ZERO4_24215
if 
  550@ == 0
goto_if_false @ZERO4_24679
wait 0
if and
  TIMERB > 1000
  $audio_line_terminate_all == 0
goto_if_false @ZERO4_24672
switch_start 62@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @ZERO4_24622 {caseNum1} 0 {caseLabel1} @ZERO4_24391 {caseNum2} 1 {caseLabel2} @ZERO4_24422 {caseNum3} 2 {caseLabel3} @ZERO4_24453 {caseNum4} 3 {caseLabel4} @ZERO4_24484 {caseNum5} 4 {caseLabel5} @ZERO4_24515 {caseNum6} 5 {caseLabel6} @ZERO4_24546 {caseNum7} 6 {caseLabel7} @ZERO4_24577
switch_continued 7 {caseLabel1} @ZERO4_24608 {caseNum2} -1 {caseLabel2} @ZERO4_24622 {caseNum3} -1 {caseLabel3} @ZERO4_24622 {caseNum4} -1 {caseLabel4} @ZERO4_24622 {caseNum5} -1 {caseLabel5} @ZERO4_24622 {caseNum6} -1 {caseLabel6} @ZERO4_24622 {caseNum7} -1 {caseLabel7} @ZERO4_24622 {caseNum8} -1 {caseLabel8} @ZERO4_24622 {caseNum9} -1 {caseLabel9} @ZERO4_24622

:ZERO4_24391
set_var_text_label s$bd_future_time_shown = 'ZER4_OA'
set_var_int_to_constant $bd_x = 45249
goto @ZERO4_24622

:ZERO4_24422
set_var_text_label s$bd_future_time_shown = 'ZER4_OB'
set_var_int_to_constant $bd_x = 45250
goto @ZERO4_24622

:ZERO4_24453
set_var_text_label s$bd_future_time_shown = 'ZER4_OC'
set_var_int_to_constant $bd_x = 45251
goto @ZERO4_24622

:ZERO4_24484
set_var_text_label s$bd_future_time_shown = 'ZER4_OD'
set_var_int_to_constant $bd_x = 45252
goto @ZERO4_24622

:ZERO4_24515
set_var_text_label s$bd_future_time_shown = 'ZER4_OE'
set_var_int_to_constant $bd_x = 45253
goto @ZERO4_24622

:ZERO4_24546
set_var_text_label s$bd_future_time_shown = 'ZER4_OF'
set_var_int_to_constant $bd_x = 45254
goto @ZERO4_24622

:ZERO4_24577
set_var_text_label s$bd_future_time_shown = 'ZER4_OG'
set_var_int_to_constant $bd_x = 45255
goto @ZERO4_24622

:ZERO4_24608
550@ = 1
goto @ZERO4_24622

:ZERO4_24622
if 
  550@ == 0
goto_if_false @ZERO4_24672
start_new_script @AUDIOL -1 0 1 1 0 
TIMERB = 0
62@ += 1

:ZERO4_24672
goto @ZERO4_24215

:ZERO4_24679
return 

:ZERO4_24681
if 
  not Car.IsDead(72@(551@,3i))
goto_if_false @ZERO4_26328
if 
  139@(551@,3i) == 0
goto_if_false @ZERO4_25442
if 
  is_int_lvar_equal_to_int_lvar 39@ == 551@
goto_if_false @ZERO4_25435
if 
  not Car.IsDead(68@)
goto_if_false @ZERO4_24830
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(68@)
if 
  Car.Locate3D(72@(551@,3i), $on_footY, $on_footZ, $in_carX, 10.0, 10.0, 3.0, False)
goto_if_false @ZERO4_24830
set_lvar_int_to_lvar_int 139@(551@,3i) = 68@

:ZERO4_24830
if 
  128@(551@,3i) <> 99
goto_if_false @ZERO4_25435
if 
  139@(551@,3i) == 0
goto_if_false @ZERO4_25435
if 
  128@(551@,3i) == 0
goto_if_false @ZERO4_25063
set_lvar_int_to_lvar_int 43@ = 131@(551@,3i)
if 
  551@ == 0
goto_if_false @ZERO4_24956
Car.GotoCoordinatesAccurate(72@(551@,3i), 173@(43@,2f), 175@(43@,2f), 177@(43@,2f))

:ZERO4_24956
if 
  551@ == 1
goto_if_false @ZERO4_25004
Car.GotoCoordinatesAccurate(72@(551@,3i), 179@(43@,2f), 181@(43@,2f), 183@(43@,2f))

:ZERO4_25004
if 
  551@ == 2
goto_if_false @ZERO4_25052
Car.GotoCoordinatesAccurate(72@(551@,3i), 185@(43@,2f), 187@(43@,2f), 189@(43@,2f))

:ZERO4_25052
128@(551@,3i) += 1

:ZERO4_25063
if 
  128@(551@,3i) == 1
goto_if_false @ZERO4_25435
set_lvar_int_to_lvar_int 43@ = 131@(551@,3i)
if 
  551@ == 0
goto_if_false @ZERO4_25195
if 
  Car.Locate3D(72@(551@,3i), 173@(43@,2f), 175@(43@,2f), 177@(43@,2f), 2.0, 2.0, 1.0, False)
goto_if_false @ZERO4_25195
131@(551@,3i) += 1
128@(551@,3i) = 0

:ZERO4_25195
if 
  551@ == 1
goto_if_false @ZERO4_25293
if 
  Car.Locate3D(72@(551@,3i), 179@(43@,2f), 181@(43@,2f), 183@(43@,2f), 2.0, 2.0, 1.0, False)
goto_if_false @ZERO4_25293
131@(551@,3i) += 1
128@(551@,3i) = 0

:ZERO4_25293
if 
  551@ == 2
goto_if_false @ZERO4_25391
if 
  Car.Locate3D(72@(551@,3i), 185@(43@,2f), 187@(43@,2f), 189@(43@,2f), 2.0, 2.0, 1.0, False)
goto_if_false @ZERO4_25391
131@(551@,3i) += 1
128@(551@,3i) = 0

:ZERO4_25391
if 
  131@(551@,3i) > 1
goto_if_false @ZERO4_25435
128@(551@,3i) = 99
131@(551@,3i) = 0

:ZERO4_25435
goto @ZERO4_26321

:ZERO4_25442
if 
  not Car.IsDead(139@(551@,3i))
goto_if_false @ZERO4_26310
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(139@(551@,3i))
if 
  Car.Locate3D(72@(551@,3i), $on_footY, $on_footZ, $in_carX, 10.0, 10.0, 3.0, False)
goto_if_false @ZERO4_26292
46@ = Car.GetHeading(72@(551@,3i))
56@, 57@, 58@ = Car.GetCoordinates(72@(551@,3i))
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 56@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 57@
47@ = Math.GetHeadingFromVector2D(50@, 51@)
set_lvar_float_to_lvar_float 48@ = 47@
sub_float_lvar_from_float_lvar 48@ -= 46@
if 
  48@ > 180.0
goto_if_false @ZERO4_25646
48@ += -360.0

:ZERO4_25646
if 
  -180.0 > 48@
goto_if_false @ZERO4_25677
48@ += 360.0

:ZERO4_25677
48@ *= 0.1
add_float_lvar_to_float_lvar 46@ += 48@
Car.SetHeading(72@(551@,3i), 46@)
if 
  104@(551@,3i) > 500
goto_if_false @ZERO4_26285
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(139@(551@,3i))
56@, 57@, 58@ = Car.GetCoordinates(72@(551@,3i))
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 56@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 57@
set_lvar_float_to_var_float 52@ = $in_carX
sub_float_lvar_from_float_lvar 52@ -= 58@
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(72@(551@,3i), 0.0, 1.0, 0.0)
set_lvar_float_to_var_float 53@ = $on_footY
sub_float_lvar_from_float_lvar 53@ -= 56@
set_lvar_float_to_var_float 54@ = $on_footZ
sub_float_lvar_from_float_lvar 54@ -= 57@
set_lvar_float_to_var_float 55@ = $in_carX
sub_float_lvar_from_float_lvar 55@ -= 58@
46@ = Math.GetAngleBetween2DVectors(50@, 51@, 53@, 54@)
if 
  5.0 > 46@
goto_if_false @ZERO4_26285
46@ = Math.GetAngleBetween2DVectors(1.0, 52@, 1.0, 0.0)
if 
  45.0 > 46@
goto_if_false @ZERO4_26285
552@, 553@, 554@ = Car.GetOffsetInWorldCoords(72@(551@,3i), 0.0, 1.5, 0.35)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(139@(551@,3i))
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 552@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 553@
set_lvar_float_to_var_float 52@ = $in_carX
sub_float_lvar_from_float_lvar 52@ -= 554@
46@ = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 552@, 553@, 554@)
div_float_lvar_by_float_lvar 50@ /= 46@
div_float_lvar_by_float_lvar 51@ /= 46@
div_float_lvar_by_float_lvar 52@ /= 46@
50@ *= 10.0
51@ *= 10.0
52@ *= 10.0
set_lvar_float_to_lvar_float 555@ = 552@
add_float_lvar_to_float_lvar 555@ += 50@
set_lvar_float_to_lvar_float 556@ = 553@
add_float_lvar_to_float_lvar 556@ += 51@
set_lvar_float_to_lvar_float 557@ = 554@
add_float_lvar_to_float_lvar 557@ += 52@
if 
  is_int_lvar_equal_to_int_lvar 139@(551@,3i) == 68@
goto_if_false @ZERO4_26240
Text.PrintNow('Z4_M19', 5000, 1)

:ZERO4_26240
Audio.ReportMissionAudioEventAtCar(72@(551@,3i), 1157)
World.FireSingleBullet(552@, 553@, 554@, 555@, 556@, 557@, 50)
104@(551@,3i) = 0

:ZERO4_26285
goto @ZERO4_26303

:ZERO4_26292
139@(551@,3i) = 0

:ZERO4_26303
goto @ZERO4_26321

:ZERO4_26310
139@(551@,3i) = 0

:ZERO4_26321
goto @ZERO4_26377

:ZERO4_26328
if 
  Blip.DoesExist(99@(551@,3i))
goto_if_false @ZERO4_26368
Blip.Remove(99@(551@,3i))
104@(551@,3i) = 0

:ZERO4_26368
Car.MarkAsNoLongerNeeded(72@(551@,3i))

:ZERO4_26377
return 

:ZERO4_26379
34@ += 1
35@ = 0
62@ = 0
63@ = 0
64@ = 0
65@ = 0
TIMERA = 0
TIMERB = 0
return 

:ZERO4_26437
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
wait 5000
return 

:ZERO4_26460
return 

:ZERO4_26462
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:ZERO4_26476
if 
  Camera.GetFadingStatus
goto_if_false @ZERO4_26500
wait 0
goto @ZERO4_26476

:ZERO4_26500
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Streaming.LoadScene(-2246.983, 136.9301, 34.3125)
Streaming.RequestCollision(-2246.983, 136.9301)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.SetAreaVisible(0)
Player.SetControl($statbike_temp, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -2244.669, 132.1672, 34.3203)
Char.SetHeading($stattreadstamina_ctr, 92.111)

:ZERO4_26598
if 
  Char.IsWaitingForWorldCollision($stattreadstamina_ctr)
goto_if_false @ZERO4_26625
wait 0
goto @ZERO4_26598

:ZERO4_26625
Char.SetCoordinates($stattreadstamina_ctr, -2244.669, 132.1672, 34.3203)
Char.SetHeading($stattreadstamina_ctr, 92.111)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Streaming.LoadScene(-2244.669, 132.1672, 34.3203)
Game.SetIsInStadium(False)
Game.HideAllFrontendBlips(False)
Car.Delete(68@)
Car.Delete(69@)
Car.Delete(70@)
Car.Delete(71@)
Car.Delete(72@)
Car.Delete(73@)
Car.Delete(74@)
43@ = 0

:ZERO4_26726
if 
  10 > 43@
goto_if_false @ZERO4_26767
Object.Delete(77@(43@,10i))
43@ += 1
goto @ZERO4_26726

:ZERO4_26767
43@ = 0

:ZERO4_26774
if 
  5 > 43@
goto_if_false @ZERO4_26815
Object.Delete(87@(43@,5i))
43@ += 1
goto @ZERO4_26774

:ZERO4_26815
Object.Delete(92@)
Hud.Display(True)
Hud.ClearTimer($7436)
Hud.ClearCounter($7437)
Streaming.MarkModelAsNoLongerNeeded(441)
Streaming.MarkModelAsNoLongerNeeded(564)
Streaming.MarkModelAsNoLongerNeeded(501)
Streaming.MarkModelAsNoLongerNeeded(481)
Blip.Remove(97@)
Blip.Remove(98@)
Blip.Remove(99@)
Blip.Remove(100@)
Blip.Remove(101@)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
Hud.SetRadarZoom(0)
Clock.Restore
Weather.Release
if 
  36@ == 1
goto_if_false @ZERO4_27224
$disable_crane = Pickup.CreateProtection(-2243.007, 136.9601, 34.8203, $reset_crane_camera, $reset_crane_camera)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.DoFade(500, Fade.Out)

:ZERO4_26970
if 
  Camera.GetFadingStatus
goto_if_false @ZERO4_26994
wait 0
goto @ZERO4_26970

:ZERO4_26994
Streaming.LoadScene(-2254.872, 133.2548, 38.7597)
Camera.SetFixedPosition(-2254.872, 133.2548, 38.7597, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2253.899, 133.2602, 38.527, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:ZERO4_27069
if 
  Camera.GetFadingStatus
goto_if_false @ZERO4_27093
wait 0
goto @ZERO4_27069

:ZERO4_27093
Audio.PlayMissionPassedTune(1)
Text.PrintBig('ASS_ACQ', 5000, TextStyle.WhiteMiddleSmaller)
wait 5000
Camera.SetFixedPosition(-2246.787, 136.6037, 36.2636, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2245.825, 136.601, 35.9893, SwitchType.JumpCut)
Text.PrintWithNumberNow('ASS_LUV', $reset_crane_camera, 6000, 1)
wait 6000
Camera.DoFade(500, Fade.Out)

:ZERO4_27200
if 
  Camera.GetFadingStatus
goto_if_false @ZERO4_27224
wait 0
goto @ZERO4_27200

:ZERO4_27224
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.ClearPrints
Rc.RemoveBuggy
if 
  36@ == 1
goto_if_false @ZERO4_27317
Text.PrintWithNumberBig('M_PASS', 7000, 5000, TextStyle.Middle)
Stat.RegisterMissionPassed('ZERO_4')
Stat.PlayerMadeProgress(1)
Player.AddScore($statbike_temp, 7000)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Blip.Remove($531)
$flag_scrash_mission_counter += 1

:ZERO4_27317
$flag_courier_mission_passed = Clock.GetGameTimer()
Player.SetControl($statbike_temp, True)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 75---------------
// Originally: Monster

:TORENO1
script_name 'TORENO1'
gosub @TORENO1_47
if 
  has_deatharrest_been_executed 
goto_if_false @TORENO1_38
gosub @TORENO1_14439

:TORENO1_38
gosub @TORENO1_14529
terminate_this_script 

:TORENO1_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Camera.SetFadingColor(0, 0, 0)
Weather.Force(WeatherType.SunnyCountryside)
Text.LoadMissionText('TORENO1')
Cutscene.Load('DESERT1')

:TORENO1_90
if 
  not Cutscene.HasLoaded
goto_if_false @TORENO1_114
wait 0
goto @TORENO1_90

:TORENO1_114
World.ClearArea(-694.4335, 964.9288, 11.2431, 100.0, True)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:TORENO1_147
if 
  not Cutscene.HasFinished
goto_if_false @TORENO1_171
wait 0
goto @TORENO1_147

:TORENO1_171
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:TORENO1_184
if 
  Camera.GetFadingStatus
goto_if_false @TORENO1_208
wait 0
goto @TORENO1_184

:TORENO1_208
Cutscene.Clear
Weather.Release
wait 0
34@ = 0
41@ = 0
42@ = 0
43@ = 0
44@ = 0
45@ = 0
46@ = 0
48@ = 0
49@ = 0
50@ = 0
51@ = 0
83@ = 0
84@ = 0
85@ = 0
86@ = 0
34@ = 0
40@ = 0
88@ = 0
195@ = 33
36@ = 35
37@ = 0
52@ = 582.7242
59@ = 356.2812
66@ = 60.2072
73@ = 52.2072
53@ = 581.7789
60@ = 329.3647
67@ = 0.5427
74@ = 2.0841
54@ = 569.0
61@ = 323.5937
68@ = 0.7585
75@ = 3.8106
55@ = 577.7526
62@ = 335.6341
69@ = 0.4929
76@ = 1.8511
56@ = 583.3384
63@ = 355.0323
70@ = 0.4993
77@ = 2.637
57@ = 582.7242
64@ = 356.2812
71@ = 64.2072
78@ = 56.2072
58@ = 582.7242
65@ = 356.2812
72@ = 66.2072
79@ = 58.2072
90@ = -824.7935
125@ = 1078.275
160@ = 34.9479
91@ = -955.9566
126@ = 1359.621
161@ = 33.8826
92@ = -1030.999
127@ = 1446.298
162@ = 38.34
93@ = -1132.675
128@ = 1759.152
163@ = 35.3673
94@ = -1088.92
129@ = 1981.801
164@ = 125.1471
95@ = -990.0067
130@ = 2014.025
165@ = 113.5758
96@ = -1028.137
131@ = 2116.468
166@ = 88.2456
97@ = -1102.431
132@ = 2369.945
167@ = 84.0834
98@ = -1130.04
133@ = 2323.309
168@ = 87.9125
99@ = -1150.184
134@ = 2261.943
169@ = 96.1878
100@ = -1293.377
135@ = 2221.605
170@ = 98.322
101@ = -1349.91
136@ = 2342.396
171@ = 94.5565
102@ = -1285.214
137@ = 2441.422
172@ = 88.557
103@ = -1248.606
138@ = 2596.99
173@ = 89.817
104@ = -1174.87
139@ = 2304.589
174@ = 113.1954
105@ = -1094.353
140@ = 2304.949
175@ = 85.4543
106@ = -1108.603
141@ = 2491.693
176@ = 79.8438
107@ = -1224.763
142@ = 2680.323
177@ = 46.8193
108@ = -1333.673
143@ = 2660.205
178@ = 49.0624
109@ = -1622.432
144@ = 2670.262
179@ = 53.5027
110@ = -1646.642
145@ = 2478.291
180@ = 85.833
111@ = -1742.658
146@ = 2458.663
181@ = 71.4663
112@ = -1687.3
147@ = 2394.693
182@ = 58.0739
113@ = -1752.384
148@ = 2299.294
183@ = 37.9221
114@ = -1687.584
149@ = 2336.405
184@ = 32.4859
115@ = -1575.405
150@ = 2275.412
185@ = 55.2948
116@ = -1508.816
151@ = 1929.009
186@ = 46.1035
117@ = -1330.147
152@ = 1888.01
187@ = 46.2572
118@ = -1147.85
153@ = 1721.926
188@ = 43.41
119@ = -1036.475
154@ = 1564.297
189@ = 32.8195
120@ = -995.6179
155@ = 1395.26
190@ = 40.9086
121@ = -810.2653
156@ = 1149.114
191@ = 33.024
122@ = -702.602
157@ = 1118.19
192@ = 35.5621
123@ = -700.9643
158@ = 955.246
193@ = 12.7168
34@ = 0

:TORENO1_1670
if 
  34 > 34@
goto_if_false @TORENO1_1716
160@(34@,35f) -= 1.0
34@ += 1
goto @TORENO1_1670

:TORENO1_1716
34@ = 0
224@ = 0
225@ = 1
226@ = 2
227@ = 0
228@ = 0
229@ = 0
230@ = 0
231@ = 0
232@ = 0
233@ = 0
set_var_text_label s$7448[1] = 'DES1_BA'
set_var_text_label s$7448[2] = 'DES1_BB'
set_var_text_label s$7448[3] = 'DES1_BC'
set_var_text_label s$7448[4] = 'DES1_BD'
set_var_text_label s$7448[5] = 'DES1_BE'
set_var_text_label s$7448[6] = 'DES1_BF'
set_var_text_label s$7448[7] = 'DES1_BG'
set_var_text_label s$7448[8] = 'DES1_BH'
set_var_text_label s$7448[9] = 'DES1_CA'
set_var_text_label s$7448[10] = 'DES1_CB'
set_var_text_label s$7448[11] = 'DES1_CC'
set_var_text_label s$7448[12] = 'DES1_CD'
set_var_text_label s$7448[13] = 'DES1_CE'
set_var_text_label s$7448[14] = 'DES1_CF'
set_var_text_label s$7448[15] = 'DES1_CG'
set_var_text_label s$7448[16] = 'DES1_BJ'
set_lvar_int_to_constant 208@ = 12817
set_lvar_int_to_constant 209@ = 12818
set_lvar_int_to_constant 210@ = 12819
set_lvar_int_to_constant 211@ = 12820
set_lvar_int_to_constant 212@ = 12821
set_lvar_int_to_constant 213@ = 12822
set_lvar_int_to_constant 214@ = 12823
set_lvar_int_to_constant 215@ = 12824
set_lvar_int_to_constant 216@ = 12826
set_lvar_int_to_constant 217@ = 12827
set_lvar_int_to_constant 218@ = 12828
set_lvar_int_to_constant 219@ = 12829
set_lvar_int_to_constant 220@ = 12830
set_lvar_int_to_constant 221@ = 12831
set_lvar_int_to_constant 222@ = 12832
set_lvar_int_to_constant 223@ = 12825
set_var_text_label s$7438 = 'DES1_45'
set_var_text_label s$7440 = 'DES1_46'
set_var_text_label s$7442 = 'DES1_47'
set_var_text_label s$des1_text = 'DES1_48'
set_var_text_label s$7446 = 'DES1_49'
200@ = 260
201@ = 300
202@ = 330
203@ = 360
204@ = 390
205@ = 0
Camera.SetFadingColor(0, 0, 0)
wait 0
Camera.DoFade(1500, Fade.Out)

:TORENO1_2281
if 
  Camera.GetFadingStatus
goto_if_false @TORENO1_2305
wait 0
goto @TORENO1_2281

:TORENO1_2305
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Streaming.RequestModel(444)
Streaming.RequestModel(25)
Streaming.RequestAnimation("GANGS")

:TORENO1_2334
if or
  not Streaming.HasModelLoaded(444)
  not Streaming.HasModelLoaded(25)
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @TORENO1_2374
wait 0
goto @TORENO1_2334

:TORENO1_2374
World.ClearArea(-694.4335, 964.9288, 11.2431, 50.0, True)
80@ = Car.Create(444, -694.4335, 964.9288, 11.2431)
Car.SetHeading(80@, 85.85)
Car.FreezePosition(80@, True)
81@ = Char.Create(PedType.Mission1, 25, -698.2989, 963.026, 11.3035)
Char.SetHeading(81@, 211.0638)
39@ = Car.GetHealth(80@)
Char.SetCoordinates($stattreadstamina_ctr, -697.7833, 961.7714, 11.2955)
Char.SetHeading($stattreadstamina_ctr, 15.8778)
Camera.SetFixedPosition(-699.15, 961.41, 12.76, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-685.7, 971.97, 13.1, SwitchType.JumpCut)
Hud.DisplayCarNames(False)
Hud.DisplayZoneNames(False)
Camera.DoFade(1500, Fade.In)

:TORENO1_2576
if 
  Camera.GetFadingStatus
goto_if_false @TORENO1_2600
wait 0
goto @TORENO1_2576

:TORENO1_2600
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_2632
Task.LookAtChar($stattreadstamina_ctr, 81@, 20000)
Char.ClearTasks(81@)

:TORENO1_2632
224@ = 0
225@ = 1
226@ = 2
227@ = 0
233@ = 0
228@ = 0
skip_cutscene_start_internal @TORENO1_4801

:TORENO1_2681
wait 0
if 
  228@ == 0
goto_if_false @TORENO1_4801
if 
  224@ <> 0
goto_if_false @TORENO1_3068
if 
  227@ == 0
goto_if_false @TORENO1_2767
if 
  Audio.HasMissionAudioLoaded(226@)
goto_if_false @TORENO1_2760
Audio.ClearMissionAudio(226@)

:TORENO1_2760
227@ = 1

:TORENO1_2767
if 
  227@ == 1
goto_if_false @TORENO1_2804
Audio.LoadMissionAudio(225@, 207@(224@,17i))
227@ = 2

:TORENO1_2804
if 
  227@ == 2
goto_if_false @TORENO1_2864
if 
  Audio.HasMissionAudioLoaded(225@)
goto_if_false @TORENO1_2864
Audio.PlayMissionAudio(225@)
Text.PrintNow($7448(224@,17s), 10000, 1)
227@ = 3

:TORENO1_2864
if 
  227@ == 3
goto_if_false @TORENO1_3068
if 
  Audio.HasMissionAudioFinished(225@)
goto_if_false @TORENO1_3007
Text.ClearThisPrint($7448(224@,17s))
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_2928
Char.StopFacialTalk(81@)

:TORENO1_2928
Char.StopFacialTalk($stattreadstamina_ctr)
if 
  225@ == 1
goto_if_false @TORENO1_2972
225@ = 2
226@ = 1
goto @TORENO1_2986

:TORENO1_2972
225@ = 1
226@ = 2

:TORENO1_2986
224@ = 0
227@ = 0
goto @TORENO1_3068

:TORENO1_3007
if 
  not Audio.HasMissionAudioLoaded(226@)
goto_if_false @TORENO1_3068
if 
  8 > 224@
goto_if_false @TORENO1_3068
set_lvar_int_to_lvar_int 233@ = 224@
233@ += 1
Audio.LoadMissionAudio(226@, 207@(233@,17i))

:TORENO1_3068
switch_start 229@ {numCases} 9 {hasDefaultCase} 1 {defaultLabel} @TORENO1_4701 {caseNum1} 0 {caseLabel1} @TORENO1_3196 {caseNum2} 1 {caseLabel2} @TORENO1_3312 {caseNum3} 2 {caseLabel3} @TORENO1_3468 {caseNum4} 3 {caseLabel4} @TORENO1_3624 {caseNum5} 4 {caseLabel5} @TORENO1_3780 {caseNum6} 5 {caseLabel6} @TORENO1_4010 {caseNum7} 6 {caseLabel7} @TORENO1_4150
switch_continued 7 {caseLabel1} @TORENO1_4311 {caseNum2} 8 {caseLabel2} @TORENO1_4531 {caseNum3} -1 {caseLabel3} @TORENO1_4794 {caseNum4} -1 {caseLabel4} @TORENO1_4794 {caseNum5} -1 {caseLabel5} @TORENO1_4794 {caseNum6} -1 {caseLabel6} @TORENO1_4794 {caseNum7} -1 {caseLabel7} @TORENO1_4794 {caseNum8} -1 {caseLabel8} @TORENO1_4794 {caseNum9} -1 {caseLabel9} @TORENO1_4794

:TORENO1_3196
if 
  227@ == 0
goto_if_false @TORENO1_3305
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_3286
Char.StopFacialTalk(81@)
Char.StartFacialTalk(81@, 4000)
Task.PlayAnim(81@, "PRTIAL_GNGTLKA", "GANGS", 4.0, False, False, False, False, -1)

:TORENO1_3286
224@ = 1
229@ = 1
232@ = Clock.GetGameTimer()

:TORENO1_3305
goto @TORENO1_4794

:TORENO1_3312
231@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 230@ = 231@
sub_int_lvar_from_int_lvar 230@ -= 232@
if 
  230@ > 1000
goto_if_false @TORENO1_3461
if 
  227@ == 0
goto_if_false @TORENO1_3461
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_3442
Char.StopFacialTalk(81@)
Char.StartFacialTalk(81@, 4000)
Task.PlayAnim(81@, "PRTIAL_GNGTLKB", "GANGS", 4.0, False, False, False, False, -1)

:TORENO1_3442
224@ = 2
229@ = 2
232@ = Clock.GetGameTimer()

:TORENO1_3461
goto @TORENO1_4794

:TORENO1_3468
231@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 230@ = 231@
sub_int_lvar_from_int_lvar 230@ -= 232@
if 
  230@ > 1000
goto_if_false @TORENO1_3617
if 
  227@ == 0
goto_if_false @TORENO1_3617
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_3598
Char.StopFacialTalk(81@)
Char.StartFacialTalk(81@, 4000)
Task.PlayAnim(81@, "PRTIAL_GNGTLKF", "GANGS", 4.0, False, False, False, False, -1)

:TORENO1_3598
224@ = 3
229@ = 3
232@ = Clock.GetGameTimer()

:TORENO1_3617
goto @TORENO1_4794

:TORENO1_3624
231@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 230@ = 231@
sub_int_lvar_from_int_lvar 230@ -= 232@
if 
  230@ > 1000
goto_if_false @TORENO1_3773
if 
  227@ == 0
goto_if_false @TORENO1_3773
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_3754
Char.StopFacialTalk(81@)
Char.StartFacialTalk(81@, 4000)
Task.PlayAnim(81@, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, False, False, False, -1)

:TORENO1_3754
224@ = 4
229@ = 4
232@ = Clock.GetGameTimer()

:TORENO1_3773
goto @TORENO1_4794

:TORENO1_3780
231@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 230@ = 231@
sub_int_lvar_from_int_lvar 230@ -= 232@
if 
  230@ > 1000
goto_if_false @TORENO1_4003
if 
  227@ == 0
goto_if_false @TORENO1_4003
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_3877
Char.StopFacialTalk(81@)
Char.StartFacialTalk($stattreadstamina_ctr, 4000)
Char.ClearTasks(81@)
Char.ClearTasks(81@)

:TORENO1_3877
87@ = Sequence.Open()
Task.PlayAnim(-1, "PRTIAL_GNGTLKF", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKD", "GANGS", 4.0, False, False, False, False, -1)
Sequence.Close(87@)
Char.PerformSequence($stattreadstamina_ctr, 87@)
Sequence.Clear(87@)
224@ = 5
229@ = 5
232@ = Clock.GetGameTimer()

:TORENO1_4003
goto @TORENO1_4794

:TORENO1_4010
231@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 230@ = 231@
sub_int_lvar_from_int_lvar 230@ -= 232@
if 
  230@ > 1000
goto_if_false @TORENO1_4143
if 
  227@ == 0
goto_if_false @TORENO1_4143
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk($stattreadstamina_ctr, 4000)
Task.PlayAnim($stattreadstamina_ctr, "PRTIAL_GNGTLKB", "GANGS", 4.0, False, False, False, False, -1)
224@ = 16
229@ = 6
232@ = Clock.GetGameTimer()

:TORENO1_4143
goto @TORENO1_4794

:TORENO1_4150
231@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 230@ = 231@
sub_int_lvar_from_int_lvar 230@ -= 232@
if 
  230@ > 1000
goto_if_false @TORENO1_4304
if 
  227@ == 0
goto_if_false @TORENO1_4304
Char.ClearTasks($stattreadstamina_ctr)
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_4285
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk(81@, 4000)
Task.PlayAnim(81@, "PRTIAL_GNGTLKH", "GANGS", 4.0, False, False, False, False, -1)

:TORENO1_4285
224@ = 6
229@ = 7
232@ = Clock.GetGameTimer()

:TORENO1_4304
goto @TORENO1_4794

:TORENO1_4311
231@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 230@ = 231@
sub_int_lvar_from_int_lvar 230@ -= 232@
if 
  230@ > 1000
goto_if_false @TORENO1_4524
if 
  227@ == 0
goto_if_false @TORENO1_4524
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_4505
Char.StopFacialTalk(81@)
Char.StartFacialTalk(81@, 4000)
87@ = Sequence.Open()
Task.PlayAnim(-1, "PRTIAL_GNGTLKE", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKB", "GANGS", 4.0, False, False, False, False, -1)
Sequence.Close(87@)
Char.PerformSequence(81@, 87@)
Sequence.Clear(87@)

:TORENO1_4505
224@ = 7
229@ = 8
232@ = Clock.GetGameTimer()

:TORENO1_4524
goto @TORENO1_4794

:TORENO1_4531
231@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 230@ = 231@
sub_int_lvar_from_int_lvar 230@ -= 232@
if 
  230@ > 1000
goto_if_false @TORENO1_4694
if 
  227@ == 0
goto_if_false @TORENO1_4694
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_4646
Char.ClearTasks(81@)
Task.PlayAnim(81@, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)

:TORENO1_4646
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_4675
Char.StopFacialTalk(81@)
Char.StartFacialTalk(81@, 4000)

:TORENO1_4675
224@ = 8
229@ = 9
232@ = Clock.GetGameTimer()

:TORENO1_4694
goto @TORENO1_4794

:TORENO1_4701
231@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 230@ = 231@
sub_int_lvar_from_int_lvar 230@ -= 232@
if 
  230@ > 1000
goto_if_false @TORENO1_4787
if 
  227@ == 0
goto_if_false @TORENO1_4787
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_4780
Char.StopFacialTalk(81@)

:TORENO1_4780
228@ = 1

:TORENO1_4787
goto @TORENO1_4794

:TORENO1_4794
goto @TORENO1_2681

:TORENO1_4801
skip_cutscene_end 
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_4824
Char.StopFacialTalk(81@)

:TORENO1_4824
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(225@)
Audio.ClearMissionAudio(226@)
Char.ClearTasks($stattreadstamina_ctr)
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_4865
Char.ClearTasks(81@)

:TORENO1_4865
Text.ClearPrints
set_lvar_int_to_lvar_int 48@ = 204@
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 204@
sub_int_lvar_from_int_lvar 49@ -= 35@
skip_cutscene_start_internal @TORENO1_5013
if 
  49@ > 9
goto_if_false @TORENO1_4967
Text.PrintWith2NumbersNow('DES1_69', 48@, 49@, 4000, TextStyle.Middle)
goto @TORENO1_4989

:TORENO1_4967
Text.PrintWith2NumbersNow('DES1_70', 48@, 49@, 4000, TextStyle.Middle)

:TORENO1_4989
if 
  Text.IsMessageBeingDisplayed
goto_if_false @TORENO1_5013
wait 0
goto @TORENO1_4989

:TORENO1_5013
skip_cutscene_end 
Text.ClearPrints
Camera.DoFade(1000, Fade.Out)

:TORENO1_5024
if 
  Camera.GetFadingStatus
goto_if_false @TORENO1_5048
wait 0
goto @TORENO1_5024

:TORENO1_5048
Char.Delete(81@)
Char.SetCoordinates($stattreadstamina_ctr, -691.7533, 960.2396, 11.209)
skip_cutscene_start_internal @TORENO1_5084
Text.UseCommands(True)

:TORENO1_5084
skip_cutscene_end 
Text.ClearPrints
Menu.Delete(206@)
Streaming.RemoveAnimation("GANGS")
Char.ClearLookAt($stattreadstamina_ctr)
Camera.RestoreJumpcut
Char.ClearTasks($stattreadstamina_ctr)
Text.Print('DES1_10', 10000, 1)
if 
  not Car.IsDead(80@)
goto_if_false @TORENO1_5173
Car.FreezePosition(80@, False)
Char.Delete(81@)
82@ = Blip.AddForCar(80@)
Blip.SetAsFriendly(82@, True)

:TORENO1_5173
Char.SetCoordinates($stattreadstamina_ctr, -697.7833, 961.7714, 11.2955)
Char.SetHeading($stattreadstamina_ctr, 15.8778)
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Camera.DoFade(1000, Fade.In)

:TORENO1_5216
if 
  Camera.GetFadingStatus
goto_if_false @TORENO1_5240
wait 0
goto @TORENO1_5216

:TORENO1_5240
Player.SetControl($statbike_temp, True)

:TORENO1_5247
wait 0
if 
  83@ == 0
goto_if_false @TORENO1_5563
if 
  not Car.IsDead(80@)
goto_if_false @TORENO1_5538
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 80@)
goto_if_false @TORENO1_5511
Text.ClearPrints
Blip.Remove(82@)
82@ = Blip.AddForCoord(-719.5559, 980.5707, 11.1371)
Blip.SetCoordAppearance(82@, 2)
199@ = Checkpoint.Create(CheckpointType.TubeArrow, -719.5559, 980.5707, 11.1371, 90@(88@,35f), 125@(88@,35f), 160@(88@,35f), 6.0)
Text.Print('DES1_58', 5000, 1)
38@ = Pad.GetControllerMode()
if 
  2 > 38@
goto_if_false @TORENO1_5443
Text.PrintHelpForever('DES1_59')
goto @TORENO1_5490

:TORENO1_5443
if 
  38@ == 2
goto_if_false @TORENO1_5479
Text.PrintHelpForever('DES1_60')
goto @TORENO1_5490

:TORENO1_5479
Text.PrintHelpForever('DES1_61')

:TORENO1_5490
85@ = 1
83@ = 1
goto @TORENO1_5531

:TORENO1_5511
Text.ClearPrints
Text.ClearHelp
Text.Print('DES1_10', 1000, 1)

:TORENO1_5531
goto @TORENO1_5563

:TORENO1_5538
Text.ClearPrints
Text.Print('DES1_11', 2000, 1)
goto @TORENO1_14439

:TORENO1_5563
if 
  83@ == 1
goto_if_false @TORENO1_6129
if 
  not Car.IsDead(80@)
goto_if_false @TORENO1_6104
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 80@)
goto_if_false @TORENO1_6027
if 
  85@ == 0
goto_if_false @TORENO1_5827
Text.ClearPrints
Text.Print('DES1_58', 5000, 1)
Blip.Remove(82@)
82@ = Blip.AddForCoord(-719.5559, 980.5707, 11.1371)
199@ = Checkpoint.Create(CheckpointType.TubeArrow, -719.5559, 980.5707, 11.1371, 90@(88@,35f), 125@(88@,35f), 160@(88@,35f), 6.0)
Blip.SetCoordAppearance(82@, 2)
38@ = Pad.GetControllerMode()
if 
  2 > 38@
goto_if_false @TORENO1_5773
Text.PrintHelpForever('DES1_59')
goto @TORENO1_5820

:TORENO1_5773
if 
  38@ == 2
goto_if_false @TORENO1_5809
Text.PrintHelpForever('DES1_60')
goto @TORENO1_5820

:TORENO1_5809
Text.PrintHelpForever('DES1_61')

:TORENO1_5820
85@ = 1

:TORENO1_5827
if 
  Char.LocateInCar3D($stattreadstamina_ctr, -719.5559, 980.5707, 11.1371, 8.0, 8.0, 8.5, False)
goto_if_false @TORENO1_6020
Text.ClearPrints
Sound.AddOneOffSound(-719.5559, 980.5707, 11.1371, ScriptSound.SoundPartMissionComplete)
Blip.Remove(82@)
Checkpoint.Delete(199@)
43@ = Clock.GetGameTimer()
89@ = 1
199@ = Checkpoint.Create(CheckpointType.TubeArrow, 90@(88@,35f), 125@(88@,35f), 160@(88@,35f), 90@(89@,35f), 125@(89@,35f), 160@(89@,35f), 6.0)
82@ = Blip.AddForCoord(90@(88@,35f), 125@(88@,35f), 160@(88@,35f))
Blip.SetCoordAppearance(82@, 2)
86@ = 1
83@ = 2

:TORENO1_6020
goto @TORENO1_6097

:TORENO1_6027
if 
  85@ == 1
goto_if_false @TORENO1_6081
Blip.Remove(82@)
Checkpoint.Delete(199@)
82@ = Blip.AddForCar(80@)
Blip.SetAsFriendly(82@, True)
85@ = 0
Text.ClearHelp
Text.ClearPrints

:TORENO1_6081
Text.Print('DES1_10', 4000, 1)

:TORENO1_6097
goto @TORENO1_6129

:TORENO1_6104
Text.ClearPrints
Text.Print('DES1_11', 2000, 1)
goto @TORENO1_14439

:TORENO1_6129
if 
  83@ == 2
goto_if_false @TORENO1_7669
Hud.DrawRect(58@, 65@, 72@, 79@, 0, 0, 0, 255)
Hud.DrawRect(57@, 64@, 71@, 78@, 180, 180, 180, 255)
Hud.DrawRect(52@, 59@, 66@, 73@, 0, 0, 0, 255)
set_lvar_int_to_lvar_int 37@ = 89@
gosub @TORENO1_14303
Text.SetScale(69@, 76@)
Text.SetCenter(True)
if 
  37@ == 11
goto_if_false @TORENO1_6268
Text.SetProportional(False)

:TORENO1_6268
Text.DisplayWith2Numbers(583.7526, 62@, 'DES1_67', 37@, 36@)
gosub @TORENO1_14303
Text.SetScale(69@, 76@)
44@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 47@ = 44@
sub_int_lvar_from_int_lvar 47@ -= 43@
47@ /= 1000
gosub @TORENO1_14303
if 
  is_int_lvar_greater_than_int_lvar 47@ > 204@
goto_if_false @TORENO1_6375
Text.SetColor(180, 0, 0, 255)

:TORENO1_6375
set_lvar_int_to_lvar_int 48@ = 47@
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 47@
sub_int_lvar_from_int_lvar 49@ -= 35@
Text.SetCenter(True)
Text.SetScale(70@, 77@)
if or
  49@ == 11
  48@ == 11
goto_if_false @TORENO1_6462
Text.SetProportional(False)

:TORENO1_6462
if 
  48@ > 99
goto_if_false @TORENO1_6505
Text.ClearPrints
Text.Print('DES1_28', 4000, 1)
goto @TORENO1_14439

:TORENO1_6505
if 
  49@ > 9
goto_if_false @TORENO1_6553
Text.DisplayWith2Numbers(56@, 63@, 'DES1_65', 48@, 49@)
goto @TORENO1_6576

:TORENO1_6553
Text.DisplayWith2Numbers(56@, 63@, 'DES1_66', 48@, 49@)

:TORENO1_6576
if 
  not Car.IsDead(80@)
goto_if_false @TORENO1_7066
if 
  not Char.IsInCar($stattreadstamina_ctr, 80@)
goto_if_false @TORENO1_6844
if 
  86@ == 1
goto_if_false @TORENO1_6673
Checkpoint.Delete(199@)
Blip.Remove(82@)
82@ = Blip.AddForCar(80@)
Blip.SetAsFriendly(82@, True)
50@ = Clock.GetGameTimer()
86@ = 0
goto @TORENO1_6837

:TORENO1_6673
51@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 47@ = 51@
sub_int_lvar_from_int_lvar 47@ -= 50@
49@ = 10000
sub_int_lvar_from_int_lvar 49@ -= 47@
49@ /= 1000
if 
  49@ > 0
goto_if_false @TORENO1_6812
Text.ClearPrints
Text.AddNextMessageToPreviousBriefs(False)
if 
  2 > 49@
goto_if_false @TORENO1_6786
Text.PrintWithNumber('DES1_26', 49@, 4000, 1)
goto @TORENO1_6805

:TORENO1_6786
Text.PrintWithNumber('DES1_25', 49@, 4000, 1)

:TORENO1_6805
goto @TORENO1_6837

:TORENO1_6812
Text.ClearPrints
Text.Print('DES1_27', 4000, 1)
goto @TORENO1_14439

:TORENO1_6837
goto @TORENO1_7059

:TORENO1_6844
if 
  86@ == 0
goto_if_false @TORENO1_7059
Blip.Remove(82@)
Text.ClearPrints
Text.Print('DES1_44', 4000, 1)
if 
  is_int_lvar_greater_or_equal_to_int_lvar 195@ >= 89@
goto_if_false @TORENO1_6965
199@ = Checkpoint.Create(CheckpointType.TubeArrow, 90@(88@,35f), 125@(88@,35f), 160@(88@,35f), 90@(89@,35f), 125@(89@,35f), 160@(89@,35f), 6.0)
goto @TORENO1_7019

:TORENO1_6965
199@ = Checkpoint.Create(CheckpointType.TubeEnd, 90@(88@,35f), 125@(88@,35f), 160@(88@,35f), 90@(195@,35f), 125@(195@,35f), 160@(195@,35f), 6.0)

:TORENO1_7019
82@ = Blip.AddForCoord(90@(88@,35f), 125@(88@,35f), 160@(88@,35f))
Blip.SetCoordAppearance(82@, 2)
86@ = 1

:TORENO1_7059
goto @TORENO1_7091

:TORENO1_7066
Text.ClearPrints
Text.Print('DES1_43', 4000, 1)
goto @TORENO1_14439

:TORENO1_7091
if 
  86@ == 1
goto_if_false @TORENO1_7669
if 
  is_int_lvar_greater_than_int_lvar 195@ > 88@
goto_if_false @TORENO1_7543
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 90@(88@,35f), 125@(88@,35f), 160@(88@,35f), 8.0, 8.0, 8.0, False)
goto_if_false @TORENO1_7536
Text.ClearHelp
Sound.AddOneOffSound(90@(88@,35f), 125@(88@,35f), 160@(88@,35f), ScriptSound.SoundPartMissionComplete)
Checkpoint.Delete(199@)
Blip.Remove(82@)
88@ += 1
set_lvar_int_to_lvar_int 89@ = 88@
89@ += 1
if 
  is_int_lvar_greater_than_int_lvar 88@ > 195@
goto_if_false @TORENO1_7269
set_lvar_int_to_lvar_int 88@ = 195@

:TORENO1_7269
if 
  is_int_lvar_greater_or_equal_to_int_lvar 195@ >= 89@
goto_if_false @TORENO1_7382
199@ = Checkpoint.Create(CheckpointType.TubeArrow, 90@(88@,35f), 125@(88@,35f), 160@(88@,35f), 90@(89@,35f), 125@(89@,35f), 160@(89@,35f), 6.0)
82@ = Blip.AddForCoord(90@(88@,35f), 125@(88@,35f), 160@(88@,35f))
Blip.SetCoordAppearance(82@, 2)
goto @TORENO1_7469

:TORENO1_7382
199@ = Checkpoint.Create(CheckpointType.TubeEnd, 90@(88@,35f), 125@(88@,35f), 160@(88@,35f), 90@(195@,35f), 125@(195@,35f), 160@(195@,35f), 6.0)
82@ = Blip.AddForCoord(90@(88@,35f), 125@(88@,35f), 160@(88@,35f))
Blip.SetCoordAppearance(82@, 2)

:TORENO1_7469
if 
  not Car.IsDead(80@)
goto_if_false @TORENO1_7536
39@ = Car.GetHealth(80@)
39@ += 200
if 
  39@ > 1000
goto_if_false @TORENO1_7528
39@ = 1000

:TORENO1_7528
Car.SetHealth(80@, 39@)

:TORENO1_7536
goto @TORENO1_7669

:TORENO1_7543
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 90@(195@,35f), 125@(195@,35f), 160@(195@,35f), 4.0, 4.0, 8.0, False)
goto_if_false @TORENO1_7669
Checkpoint.Delete(199@)
Blip.Remove(82@)
gosub @TORENO1_7811
if 
  5 > 205@
goto_if_false @TORENO1_7646
goto @TORENO1_14457
goto @TORENO1_7669

:TORENO1_7646
Text.PrintNow('DES1_68', 5000, 1)
goto @TORENO1_14439

:TORENO1_7669
if 
is_ps2_keyboard_key_pressed 135
goto_if_false @TORENO1_7693
43@ -= 1000

:TORENO1_7693
if 
is_ps2_keyboard_key_pressed 97
goto_if_false @TORENO1_7736
196@, 197@, 198@ = Char.GetCoordinates($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 196@, 197@, 198@)

:TORENO1_7736
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @TORENO1_7782
45@ = 360000
43@ = 0
gosub @TORENO1_7811
goto @TORENO1_14457

:TORENO1_7782
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @TORENO1_7804
goto @TORENO1_14457

:TORENO1_7804
goto @TORENO1_5247

:TORENO1_7811
45@ = Clock.GetGameTimer()
Camera.DoFade(1000, Fade.Out)
Streaming.RequestModel(25)
Streaming.RequestAnimation("GANGS")
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)

:TORENO1_7847
if 
  Camera.GetFadingStatus
goto_if_false @TORENO1_7871
wait 0
goto @TORENO1_7847

:TORENO1_7871
if or
  not Streaming.HasModelLoaded(25)
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @TORENO1_7906
wait 0
goto @TORENO1_7871

:TORENO1_7906
World.ClearArea(-684.8021, 948.1096, 11.125, 100.0, True)
if 
  not Car.IsDead(80@)
goto_if_false @TORENO1_7976
Car.SetCoordinates(80@, -680.7953, 953.2972, 11.125)
Car.SetHeading(80@, 238.0439)

:TORENO1_7976
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TORENO1_8019
Char.WarpFromCarToCoord($stattreadstamina_ctr, -684.8021, 948.1096, 11.125)
goto @TORENO1_8039

:TORENO1_8019
Char.SetCoordinates($stattreadstamina_ctr, -684.8021, 948.1096, 11.125)

:TORENO1_8039
Char.SetHeading($stattreadstamina_ctr, 124.6699)
81@ = Char.Create(PedType.Mission3, 25, -687.6009, 946.4823, 12.0389)
Char.SetHeading(81@, 293.1942)
Camera.SetFixedPosition(-688.32, 945.02, 14.13, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-680.57, 951.17, 10.63, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 46@ = 45@
sub_int_lvar_from_int_lvar 46@ -= 43@
46@ /= 1000
set_lvar_int_to_lvar_int 48@ = 46@
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 46@
sub_int_lvar_from_int_lvar 49@ -= 35@
Text.ClearPrints
Camera.DoFade(1500, Fade.In)

:TORENO1_8213
if 
  Camera.GetFadingStatus
goto_if_false @TORENO1_8237
wait 0
goto @TORENO1_8213

:TORENO1_8237
if 
  10 > 49@
goto_if_false @TORENO1_8284
Text.PrintWith2NumbersNow('DES1_32', 48@, 49@, 4000, TextStyle.Middle)
goto @TORENO1_8306

:TORENO1_8284
Text.PrintWith2NumbersNow('DES1_33', 48@, 49@, 4000, TextStyle.Middle)

:TORENO1_8306
205@ = 5
34@ = 0

:TORENO1_8320
if 
  5 > 34@
goto_if_false @TORENO1_8382
if 
  is_int_lvar_greater_than_int_lvar 200@(34@,5i) > 46@
goto_if_false @TORENO1_8368
205@ -= 1

:TORENO1_8368
34@ += 1
goto @TORENO1_8320

:TORENO1_8382
switch_start 205@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @TORENO1_12100 {caseNum1} 0 {caseLabel1} @TORENO1_8445 {caseNum2} 1 {caseLabel2} @TORENO1_9176 {caseNum3} 2 {caseLabel3} @TORENO1_9907 {caseNum4} 3 {caseLabel4} @TORENO1_10638 {caseNum5} 4 {caseLabel5} @TORENO1_11369 {caseNum6} -1 {caseLabel6} @TORENO1_12744 {caseNum7} -1 {caseLabel7} @TORENO1_12744

:TORENO1_8445
206@ = Menu.Create('DES1_34', 354.0, 200.0, 80.0, 3, False, True, 0)
Menu.SetColumn(206@, 0, 'DES1_52', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 1, 'DES1_53', 'DES1_50', s$7438, s$7440, s$7442, s$des1_text, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 2, 'DES1_54', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
34@ = 0

:TORENO1_8837
if 
  5 > 34@
goto_if_false @TORENO1_8906
set_lvar_int_to_lvar_int 35@ = 34@
35@ += 1
Menu.SetItemWithNumber(206@, 0, 34@, 'DES1_51', 35@)
34@ += 1
goto @TORENO1_8837

:TORENO1_8906
40@ = 0
34@ = 0

:TORENO1_8920
if 
  5 > 34@
goto_if_false @TORENO1_9169
if 
  34@ == 0
goto_if_false @TORENO1_9009
set_lvar_int_to_lvar_int 48@ = 46@
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 46@
sub_int_lvar_from_int_lvar 49@ -= 35@
goto @TORENO1_9080

:TORENO1_9009
set_lvar_int_to_lvar_int 48@ = 200@(40@,5i)
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 200@(40@,5i)
sub_int_lvar_from_int_lvar 49@ -= 35@
Menu.ActivateItem(206@, 34@, False)
40@ += 1

:TORENO1_9080
if 
  10 > 49@
goto_if_false @TORENO1_9130
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_66', 48@, 49@)
goto @TORENO1_9155

:TORENO1_9130
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_65', 48@, 49@)

:TORENO1_9155
34@ += 1
goto @TORENO1_8920

:TORENO1_9169
goto @TORENO1_12744

:TORENO1_9176
206@ = Menu.Create('DES1_34', 354.0, 200.0, 80.0, 3, False, True, 0)
Menu.SetColumn(206@, 0, 'DES1_52', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 1, 'DES1_53', s$7438, 'DES1_50', s$7440, s$7442, s$des1_text, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 2, 'DES1_54', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
34@ = 0

:TORENO1_9568
if 
  5 > 34@
goto_if_false @TORENO1_9637
set_lvar_int_to_lvar_int 35@ = 34@
35@ += 1
Menu.SetItemWithNumber(206@, 0, 34@, 'DES1_51', 35@)
34@ += 1
goto @TORENO1_9568

:TORENO1_9637
34@ = 0
40@ = 0

:TORENO1_9651
if 
  5 > 34@
goto_if_false @TORENO1_9900
if 
  34@ == 1
goto_if_false @TORENO1_9740
set_lvar_int_to_lvar_int 48@ = 46@
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 46@
sub_int_lvar_from_int_lvar 49@ -= 35@
goto @TORENO1_9811

:TORENO1_9740
set_lvar_int_to_lvar_int 48@ = 200@(40@,5i)
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 200@(40@,5i)
sub_int_lvar_from_int_lvar 49@ -= 35@
Menu.ActivateItem(206@, 34@, False)
40@ += 1

:TORENO1_9811
if 
  10 > 49@
goto_if_false @TORENO1_9861
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_66', 48@, 49@)
goto @TORENO1_9886

:TORENO1_9861
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_65', 48@, 49@)

:TORENO1_9886
34@ += 1
goto @TORENO1_9651

:TORENO1_9900
goto @TORENO1_12744

:TORENO1_9907
206@ = Menu.Create('DES1_34', 354.0, 200.0, 80.0, 3, False, True, 0)
Menu.SetColumn(206@, 0, 'DES1_52', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 1, 'DES1_53', s$7438, s$7440, 'DES1_50', s$7442, s$des1_text, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 2, 'DES1_54', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
34@ = 0

:TORENO1_10299
if 
  5 > 34@
goto_if_false @TORENO1_10368
set_lvar_int_to_lvar_int 35@ = 34@
35@ += 1
Menu.SetItemWithNumber(206@, 0, 34@, 'DES1_51', 35@)
34@ += 1
goto @TORENO1_10299

:TORENO1_10368
40@ = 0
34@ = 0

:TORENO1_10382
if 
  5 > 34@
goto_if_false @TORENO1_10631
if 
  34@ == 2
goto_if_false @TORENO1_10471
set_lvar_int_to_lvar_int 48@ = 46@
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 46@
sub_int_lvar_from_int_lvar 49@ -= 35@
goto @TORENO1_10542

:TORENO1_10471
set_lvar_int_to_lvar_int 48@ = 200@(40@,5i)
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 200@(40@,5i)
sub_int_lvar_from_int_lvar 49@ -= 35@
Menu.ActivateItem(206@, 34@, False)
40@ += 1

:TORENO1_10542
if 
  10 > 49@
goto_if_false @TORENO1_10592
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_66', 48@, 49@)
goto @TORENO1_10617

:TORENO1_10592
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_65', 48@, 49@)

:TORENO1_10617
34@ += 1
goto @TORENO1_10382

:TORENO1_10631
goto @TORENO1_12744

:TORENO1_10638
206@ = Menu.Create('DES1_34', 354.0, 200.0, 80.0, 3, False, True, 0)
Menu.SetColumn(206@, 0, 'DES1_52', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 1, 'DES1_53', s$7438, s$7440, s$7442, 'DES1_50', s$des1_text, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 2, 'DES1_54', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
34@ = 0

:TORENO1_11030
if 
  5 > 34@
goto_if_false @TORENO1_11099
set_lvar_int_to_lvar_int 35@ = 34@
35@ += 1
Menu.SetItemWithNumber(206@, 0, 34@, 'DES1_51', 35@)
34@ += 1
goto @TORENO1_11030

:TORENO1_11099
34@ = 0
40@ = 0

:TORENO1_11113
if 
  5 > 34@
goto_if_false @TORENO1_11362
if 
  34@ == 3
goto_if_false @TORENO1_11202
set_lvar_int_to_lvar_int 48@ = 46@
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 46@
sub_int_lvar_from_int_lvar 49@ -= 35@
goto @TORENO1_11273

:TORENO1_11202
set_lvar_int_to_lvar_int 48@ = 200@(40@,5i)
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 200@(40@,5i)
sub_int_lvar_from_int_lvar 49@ -= 35@
Menu.ActivateItem(206@, 34@, False)
40@ += 1

:TORENO1_11273
if 
  10 > 49@
goto_if_false @TORENO1_11323
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_66', 48@, 49@)
goto @TORENO1_11348

:TORENO1_11323
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_65', 48@, 49@)

:TORENO1_11348
34@ += 1
goto @TORENO1_11113

:TORENO1_11362
goto @TORENO1_12744

:TORENO1_11369
206@ = Menu.Create('DES1_34', 354.0, 200.0, 80.0, 3, False, True, 0)
Menu.SetColumn(206@, 0, 'DES1_52', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 1, 'DES1_53', s$7438, s$7440, s$7442, s$des1_text, 'DES1_50', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 2, 'DES1_54', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
34@ = 0

:TORENO1_11761
if 
  5 > 34@
goto_if_false @TORENO1_11830
set_lvar_int_to_lvar_int 35@ = 34@
35@ += 1
Menu.SetItemWithNumber(206@, 0, 34@, 'DES1_51', 35@)
34@ += 1
goto @TORENO1_11761

:TORENO1_11830
34@ = 0
40@ = 0

:TORENO1_11844
if 
  5 > 34@
goto_if_false @TORENO1_12093
if 
  34@ == 4
goto_if_false @TORENO1_11933
set_lvar_int_to_lvar_int 48@ = 46@
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 46@
sub_int_lvar_from_int_lvar 49@ -= 35@
goto @TORENO1_12004

:TORENO1_11933
set_lvar_int_to_lvar_int 48@ = 200@(40@,5i)
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 200@(40@,5i)
sub_int_lvar_from_int_lvar 49@ -= 35@
Menu.ActivateItem(206@, 34@, False)
40@ += 1

:TORENO1_12004
if 
  10 > 49@
goto_if_false @TORENO1_12054
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_66', 48@, 49@)
goto @TORENO1_12079

:TORENO1_12054
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_65', 48@, 49@)

:TORENO1_12079
34@ += 1
goto @TORENO1_11844

:TORENO1_12093
goto @TORENO1_12744

:TORENO1_12100
206@ = Menu.Create('DES1_34', 354.0, 200.0, 80.0, 3, False, True, 0)
Menu.SetColumn(206@, 0, 'DES1_52', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 1, 'DES1_53', s$7438, s$7440, s$7442, s$des1_text, s$7446, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(206@, 2, 'DES1_54', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
34@ = 0

:TORENO1_12486
if 
  5 > 34@
goto_if_false @TORENO1_12555
set_lvar_int_to_lvar_int 35@ = 34@
35@ += 1
Menu.SetItemWithNumber(206@, 0, 34@, 'DES1_51', 35@)
34@ += 1
goto @TORENO1_12486

:TORENO1_12555
34@ = 0
40@ = 0

:TORENO1_12569
if 
  5 > 34@
goto_if_false @TORENO1_12737
set_lvar_int_to_lvar_int 48@ = 200@(40@,5i)
48@ /= 60
set_lvar_int_to_lvar_int 35@ = 48@
35@ *= 60
set_lvar_int_to_lvar_int 49@ = 200@(40@,5i)
sub_int_lvar_from_int_lvar 49@ -= 35@
40@ += 1
if 
  10 > 49@
goto_if_false @TORENO1_12698
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_66', 48@, 49@)
goto @TORENO1_12723

:TORENO1_12698
Menu.SetItemWith2Numbers(206@, 2, 34@, 'DES1_65', 48@, 49@)

:TORENO1_12723
34@ += 1
goto @TORENO1_12569

:TORENO1_12737
goto @TORENO1_12744

:TORENO1_12744
if 
  Text.IsMessageBeingDisplayed
goto_if_false @TORENO1_12768
wait 0
goto @TORENO1_12744

:TORENO1_12768
224@ = 0
225@ = 1
226@ = 2
227@ = 0
233@ = 0
228@ = 0
229@ = 0

:TORENO1_12817
wait 0
if 
  228@ == 0
goto_if_false @TORENO1_13642
if 
  224@ <> 0
goto_if_false @TORENO1_13117
if 
  227@ == 0
goto_if_false @TORENO1_12903
if 
  Audio.HasMissionAudioLoaded(226@)
goto_if_false @TORENO1_12896
Audio.ClearMissionAudio(226@)

:TORENO1_12896
227@ = 1

:TORENO1_12903
if 
  227@ == 1
goto_if_false @TORENO1_12940
Audio.LoadMissionAudio(225@, 207@(224@,17i))
227@ = 2

:TORENO1_12940
if 
  227@ == 2
goto_if_false @TORENO1_13000
if 
  Audio.HasMissionAudioLoaded(225@)
goto_if_false @TORENO1_13000
Audio.PlayMissionAudio(225@)
Text.PrintNow($7448(224@,17s), 10000, 1)
227@ = 3

:TORENO1_13000
if 
  227@ == 3
goto_if_false @TORENO1_13117
if 
  Audio.HasMissionAudioFinished(225@)
goto_if_false @TORENO1_13117
Text.ClearThisPrint($7448(224@,17s))
if 
  225@ == 1
goto_if_false @TORENO1_13082
225@ = 2
226@ = 1
goto @TORENO1_13096

:TORENO1_13082
225@ = 1
226@ = 2

:TORENO1_13096
224@ = 0
227@ = 0
228@ = 1

:TORENO1_13117
if 
  229@ == 0
goto_if_false @TORENO1_13635
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_13207
Char.StopFacialTalk(81@)
Char.StartFacialTalk(81@, 4000)
Task.PlayAnim(81@, "PRTIAL_GNGTLKF", "GANGS", 4.0, False, False, False, False, -1)

:TORENO1_13207
switch_start 205@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @TORENO1_13575 {caseNum1} 0 {caseLabel1} @TORENO1_13270 {caseNum2} 1 {caseLabel2} @TORENO1_13331 {caseNum3} 2 {caseLabel3} @TORENO1_13392 {caseNum4} 3 {caseLabel4} @TORENO1_13453 {caseNum5} 4 {caseLabel5} @TORENO1_13514 {caseNum6} -1 {caseLabel6} @TORENO1_13635 {caseNum7} -1 {caseLabel7} @TORENO1_13635

:TORENO1_13270
if 
  227@ == 0
goto_if_false @TORENO1_13302
224@ = 9
229@ = 1

:TORENO1_13302
Text.PrintNow($7448(224@,17s), 10000, 1)
42@ = 5000
goto @TORENO1_13635

:TORENO1_13331
if 
  227@ == 0
goto_if_false @TORENO1_13363
224@ = 15
229@ = 1

:TORENO1_13363
42@ = 4000
Text.PrintNow($7448(224@,17s), 10000, 1)
goto @TORENO1_13635

:TORENO1_13392
if 
  227@ == 0
goto_if_false @TORENO1_13424
224@ = 10
229@ = 1

:TORENO1_13424
42@ = 3000
Text.PrintNow($7448(224@,17s), 10000, 1)
goto @TORENO1_13635

:TORENO1_13453
if 
  227@ == 0
goto_if_false @TORENO1_13485
224@ = 14
229@ = 1

:TORENO1_13485
42@ = 2000
Text.PrintNow($7448(224@,17s), 10000, 1)
goto @TORENO1_13635

:TORENO1_13514
if 
  227@ == 0
goto_if_false @TORENO1_13546
224@ = 11
229@ = 1

:TORENO1_13546
42@ = 1000
Text.PrintNow($7448(224@,17s), 10000, 1)
goto @TORENO1_13635

:TORENO1_13575
if 
  227@ == 0
goto_if_false @TORENO1_13607
224@ = 13
229@ = 1

:TORENO1_13607
42@ = 0
Text.PrintNow($7448(224@,17s), 10000, 1)
goto @TORENO1_13635

:TORENO1_13635
goto @TORENO1_12817

:TORENO1_13642
Menu.Delete(206@)
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_13750
Task.LookAtChar($stattreadstamina_ctr, 81@, 4000)
Char.ClearTasks(81@)
87@ = Sequence.Open()
Task.GoStraightToCoord(-1, -688.0, 944.0, 14.0, MoveState.Walk, 20000)
Task.GoStraightToCoord(-1, -688.0, 938.0, 14.0, MoveState.Walk, 3000)
Sequence.Close(87@)
Char.PerformSequence(81@, 87@)
Sequence.Clear(87@)

:TORENO1_13750
Camera.SetFixedPosition(-685.08, 949.38, 12.36, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-688.21, 938.04, 14.72, SwitchType.JumpCut)
Text.ClearPrints
if 
  5 > 205@
goto_if_false @TORENO1_14171
84@ = 0
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_13857
Char.StopFacialTalk(81@)
Char.StartFacialTalk(81@, 4000)

:TORENO1_13857
224@ = 12

:TORENO1_13864
if 
  84@ == 0
goto_if_false @TORENO1_14171
if 
  224@ <> 0
goto_if_false @TORENO1_14160
if 
  227@ == 0
goto_if_false @TORENO1_13946
if 
  Audio.HasMissionAudioLoaded(226@)
goto_if_false @TORENO1_13939
Audio.ClearMissionAudio(226@)

:TORENO1_13939
227@ = 1

:TORENO1_13946
if 
  227@ == 1
goto_if_false @TORENO1_13983
Audio.LoadMissionAudio(225@, 207@(224@,17i))
227@ = 2

:TORENO1_13983
if 
  227@ == 2
goto_if_false @TORENO1_14043
if 
  Audio.HasMissionAudioLoaded(225@)
goto_if_false @TORENO1_14043
Audio.PlayMissionAudio(225@)
Text.PrintNow($7448(224@,17s), 10000, 1)
227@ = 3

:TORENO1_14043
if 
  227@ == 3
goto_if_false @TORENO1_14160
if 
  Audio.HasMissionAudioFinished(225@)
goto_if_false @TORENO1_14160
Text.ClearThisPrint($7448(224@,17s))
if 
  225@ == 1
goto_if_false @TORENO1_14125
225@ = 2
226@ = 1
goto @TORENO1_14139

:TORENO1_14125
225@ = 1
226@ = 2

:TORENO1_14139
224@ = 0
227@ = 0
84@ = 1

:TORENO1_14160
wait 0
goto @TORENO1_13864

:TORENO1_14171
84@ = 0

:TORENO1_14178
if 
  84@ == 0
goto_if_false @TORENO1_14273
if 
  not Char.IsDead(81@)
goto_if_false @TORENO1_14255
41@ = Char.GetScriptTaskStatus(81@, 1560)
if 
  is_int_lvar_equal_to_constant 41@ == 7
goto_if_false @TORENO1_14248
84@ = 1

:TORENO1_14248
goto @TORENO1_14262

:TORENO1_14255
84@ = 1

:TORENO1_14262
wait 0
goto @TORENO1_14178

:TORENO1_14273
Char.ClearTasks($stattreadstamina_ctr)
Char.ClearLookAt($stattreadstamina_ctr)
Char.Delete(81@)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
return 

:TORENO1_14303
Text.SetColor(180, 180, 180, 255)
Text.SetScale(0.6146, 2.4961)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
Text.SetDropshadow(2, 0, 0, 0, 180)
return 
Text.SetColor(180, 180, 180, 255)
Text.SetScale(0.6146, 2.4961)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
Text.SetDropshadow(2, 0, 0, 0, 180)
return 

:TORENO1_14439
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:TORENO1_14457
Text.PrintWithNumberBig('M_PASS', 42@, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 42@)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.SetInt(StatId.PassedDesert1, 1)
Stat.RegisterMissionPassed('DESERT1')
Stat.PlayerMadeProgress(1)
Blip.Remove($doc_contact_blip)
$flag_casino_mission_counter += 1
return 

:TORENO1_14529
$flag_courier_mission_passed = Clock.GetGameTimer()
Text.UseCommands(False)
Car.MarkAsNoLongerNeeded(80@)
Menu.Delete(206@)
Char.RemoveElegantly(81@)
Char.MarkAsNoLongerNeeded(81@)
Blip.Remove(82@)
Checkpoint.Delete(199@)
Streaming.MarkModelAsNoLongerNeeded(444)
Streaming.MarkModelAsNoLongerNeeded(25)
Streaming.MarkModelAsNoLongerNeeded(348)
Streaming.RemoveAnimation("ON_LOOKERS")
Streaming.RemoveAnimation("GANGS")
World.SetCarDensityMultiplier(1.0)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 76---------------
// Originally: Highjack

:TORENO2
script_name 'TORENO2'
gosub @TORENO2_47
if 
  has_deatharrest_been_executed 
goto_if_false @TORENO2_38
gosub @TORENO2_10697

:TORENO2_38
gosub @TORENO2_10787
terminate_this_script 

:TORENO2_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('TORENO2')
Text.ClearPrints
wait 0
41@ = 0
42@ = 0
43@ = 0
44@ = 0
75@ = 0
58@ = 0
59@ = 0
60@ = 0
61@ = 0
111@ = 0.0
112@ = 0.0
113@ = 0.0
114@ = 0.0
115@ = 0.0
116@ = 0.0
45@ = 0
46@ = 0
47@ = 0
48@ = 0
49@ = 0
50@ = 0
51@ = 0
52@ = 0.0
53@ = 0.0
54@ = 0
117@ = 0.0
118@ = 0.0
119@ = 0.0
120@ = 0.0
121@ = 0.0
122@ = 0.0
123@ = 0.0
55@ = 0
56@ = 0
124@ = 0.0
73@ = 0
74@ = 0
75@ = 0
100@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
105@ = 0
106@ = 0
107@ = 0
108@ = 0
109@ = 0
110@ = 0
57@ = 0
62@ = 0.0
63@ = 0.0
64@ = 0.0
65@ = 0.0
66@ = 0.0
67@ = 0.0
68@ = 0.0
69@ = 0.0
70@ = 0.0
71@ = 0.0
72@ = 0.0
World.ClearArea(-685.1, 922.0, 10.9, 180.0, True)
World.ClearArea(-692.2, 948.0, 11.2, 100.0, True)
Weather.ForceNow(WeatherType.ExtraSunnyVegas)
Player.MakeGangDisappear
Cutscene.Load('DESERT2')

:TORENO2_646
if 
  not Cutscene.HasLoaded
goto_if_false @TORENO2_670
wait 0
goto @TORENO2_646

:TORENO2_670
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:TORENO2_679
if 
  not Cutscene.HasFinished
goto_if_false @TORENO2_703
wait 0
goto @TORENO2_679

:TORENO2_703
Camera.DoFade(0, Fade.Out)

:TORENO2_709
if 
  Camera.GetFadingStatus
goto_if_false @TORENO2_733
wait 0
goto @TORENO2_709

:TORENO2_733
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Player.MakeGangReappear
Weather.Release
Camera.SetFadingColor(0, 0, 0)
wait 0
Streaming.RequestModel(514)
Streaming.RequestModel(461)
Streaming.RequestModel(584)
Streaming.RequestModel(567)
Streaming.RequestAnimation("BIKELEAP")
Streaming.LoadSpecialCharacter(1, 'CESAR')
Path.LoadPathNodesInArea(-1695.1, 587.6, -1771.3, -1310.0)
Group.Remove($flag_cell_nation)
Player.SetGroupRecruitment($statbike_temp, False)
Player.SetGroupToFollowAlways($statbike_temp, True)
Streaming.LoadAllModelsNow
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.SetFixedPosition(-701.09, 917.26, 12.08, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-694.0, 938.7, 16.69, SwitchType.JumpCut)
CarGenerator.SuppressCarModel(403)
CarGenerator.SuppressCarModel(409)
CarGenerator.SuppressCarModel(413)
CarGenerator.SuppressCarModel(414)
CarGenerator.SuppressCarModel(418)
CarGenerator.SuppressCarModel(423)
CarGenerator.SuppressCarModel(428)
CarGenerator.SuppressCarModel(431)
CarGenerator.SuppressCarModel(437)
CarGenerator.SuppressCarModel(440)
CarGenerator.SuppressCarModel(455)
CarGenerator.SuppressCarModel(456)
CarGenerator.SuppressCarModel(458)
CarGenerator.SuppressCarModel(482)
CarGenerator.SuppressCarModel(483)
CarGenerator.SuppressCarModel(489)
CarGenerator.SuppressCarModel(498)
CarGenerator.SuppressCarModel(499)
CarGenerator.SuppressCarModel(508)
CarGenerator.SuppressCarModel(524)
CarGenerator.SuppressCarModel(525)
CarGenerator.SuppressCarModel(527)
CarGenerator.SuppressCarModel(552)
CarGenerator.SuppressCarModel(582)
CarGenerator.SuppressCarModel(588)
CarGenerator.SuppressCarModel(461)
CarGenerator.SuppressCarModel(462)
CarGenerator.SuppressCarModel(463)
CarGenerator.SuppressCarModel(468)
CarGenerator.SuppressCarModel(509)
CarGenerator.SuppressCarModel(510)
CarGenerator.SuppressCarModel(521)
CarGenerator.SuppressCarModel(522)
CarGenerator.SuppressCarModel(581)
CarGenerator.SuppressCarModel(586)
World.ClearArea(-693.6, 924.5, 11.3, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -693.6, 924.5, 11.3)
Char.SetHeading($stattreadstamina_ctr, 71.2)
World.ClearArea(-685.1, 922.0, 10.9, 180.0, True)
World.ClearArea(-692.2, 948.0, 11.2, 100.0, True)
Car.CustomPlateForNextCar(461, "PREACHER")
36@ = Car.Create(461, -712.5, 943.5, 10.8)
Car.SetHeading(36@, 32.7)
World.ClearArea(-709.0, 952.0, 11.2, 5.0, True)
Car.CustomPlateForNextCar(567, "_LVA4L__")
39@ = Car.Create(567, -709.0, 952.0, 11.2)
Car.SetHeading(39@, 240.7)
Car.ChangeColor(39@, 3, 3)
$ryder_car = Char.Create(PedType.Mission1, 290, -703.7, 932.4, 11.4)
Char.SetGetOutUpsideDownCar($ryder_car, False)
Char.SetHeading($ryder_car, 214.6)
Char.SetNeverTargeted($ryder_car, True)
Char.SetOnlyDamagedByPlayer($ryder_car, True)
Char.SetCantBeDraggedOut($ryder_car, True)
126@ = DecisionMakerChar.Copy(65542)
Char.SetDecisionMaker($ryder_car, 126@)
Char.SetNextDesiredMoveState(MoveState.Walk)
125@ = Sequence.Open()
Task.GotoCharOffset(-1, $stattreadstamina_ctr, 10000, 3.0, 0.0)
Task.Pause(-1, 5300)
Task.GoStraightToCoord(-1, -710.0, 938.4, 11.4, MoveState.Walk, -1)
Sequence.Close(125@)
Char.PerformSequence($ryder_car, 125@)
Sequence.Clear(125@)
Char.SetNextDesiredMoveState(MoveState.Walk)
125@ = Sequence.Open()
Task.GotoCharOffset(-1, $ryder_car, 10000, 5.0, 0.0)
Task.Pause(-1, 5000)
Task.GoStraightToCoord(-1, -708.0, 937.9, 11.4, MoveState.Walk, -1)
Sequence.Close(125@)
Char.PerformSequence($stattreadstamina_ctr, 125@)
Sequence.Clear(125@)
Game.ShutAllCharsUp(True)
43@ = 1
skip_cutscene_start_internal @TORENO2_1800
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 19400)

:TORENO2_1576
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @TORENO2_1602
wait 0
goto @TORENO2_1576

:TORENO2_1602
TIMERB = 0
Camera.DoFade(500, Fade.In)

:TORENO2_1616
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @TORENO2_1642
goto @TORENO2_10715

:TORENO2_1642
gosub @TORENO2_10920
if 
  44@ == 1
goto_if_false @TORENO2_1674
goto @TORENO2_10697

:TORENO2_1674
if 
  41@ == 0
goto_if_false @TORENO2_2182
if 
  42@ == 0
goto_if_false @TORENO2_1757
if 
  TIMERB > 1000
goto_if_false @TORENO2_1757
73@ = 1
74@ = 0
gosub @TORENO2_15177
42@ = 1

:TORENO2_1757
if 
  42@ == 1
goto_if_false @TORENO2_2182
if 
  73@ == 0
goto_if_false @TORENO2_2182
43@ = 0

:TORENO2_1800
skip_cutscene_end 
gosub @TORENO2_10920
if 
  44@ == 1
goto_if_false @TORENO2_1834
goto @TORENO2_10697

:TORENO2_1834
if 
  43@ == 1
goto_if_false @TORENO2_1932
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
73@ = 0
Camera.DoFade(500, Fade.Out)

:TORENO2_1876
if 
  Camera.GetFadingStatus
goto_if_false @TORENO2_1900
wait 0
goto @TORENO2_1876

:TORENO2_1900
gosub @TORENO2_10920
if 
  44@ == 1
goto_if_false @TORENO2_1932
goto @TORENO2_10697

:TORENO2_1932
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -710.0, 938.4, 11.4)
Char.SetHeading($stattreadstamina_ctr, 47.9)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, -708.0, 937.9, 11.4)
Char.SetHeading($ryder_car, 47.9)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $ryder_car)
46@ = 1
Player.SetGroupRecruitment($statbike_temp, False)
Group.SetDefaultTaskAllocator($flag_cell_nation, DefaultTaskAllocator.FollowLimited)
40@ = Blip.AddForCar(36@)
Blip.SetAsFriendly(40@, True)
Text.PrintNow('TOR1_01', 7000, 1)
Game.ShutAllCharsUp(False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
if 
  43@ == 1
goto_if_false @TORENO2_2168
Camera.DoFade(500, Fade.In)

:TORENO2_2112
if 
  Camera.GetFadingStatus
goto_if_false @TORENO2_2136
wait 0
goto @TORENO2_2112

:TORENO2_2136
gosub @TORENO2_10920
if 
  44@ == 1
goto_if_false @TORENO2_2168
goto @TORENO2_10697

:TORENO2_2168
42@ = 0
41@ = 1

:TORENO2_2182
if 
  41@ == 1
goto_if_false @TORENO2_2486
if 
  42@ == 0
goto_if_false @TORENO2_2472
if 
  46@ == 1
goto_if_false @TORENO2_2472
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TORENO2_2472
34@ = Car.Create(514, -1687.8, 537.7, 36.8)
Car.SetHeading(34@, 137.0)
37@ = Car.Create(584, -1679.5, 545.9, 36.9)
Car.SetHeading(37@, 137.0)
Trailer.AttachToCab(37@, 34@)
Car.SetCanBurstTires(34@, False)
Car.LockDoors(34@, CarLock.LockoutPlayerOnly)
35@ = Char.CreateRandomAsDriver(34@)
Car.SetOnlyDamagedByPlayer(34@, True)
Char.SetCanBeShotInVehicle(35@, False)
Car.SetCruiseSpeed(34@, 0.0)
Car.SetDrivingStyle(34@, DrivingMode.AvoidCars)
Car.SetStayInSlowLane(34@, True)
Car.MarkAsNoLongerNeeded(39@)
Streaming.MarkModelAsNoLongerNeeded(567)
Text.ClearPrints
Char.ShutUpForScriptedSpeech($ryder_car, True)
73@ = 2
74@ = 0
gosub @TORENO2_15177
Blip.Remove(40@)
if 
  not Car.IsDead(34@)
goto_if_false @TORENO2_2458
40@ = Blip.AddForCar(34@)

:TORENO2_2458
75@ = 0
41@ = 2

:TORENO2_2472
gosub @TORENO2_11832
gosub @TORENO2_11512

:TORENO2_2486
if 
  41@ == 2
goto_if_false @TORENO2_5717
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TORENO2_2598
if 
  Char.IsInAnyCar($ryder_car)
goto_if_false @TORENO2_2598
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @TORENO2_2598
Streaming.LoadScene(-1641.0, 586.5, 38.5)
Char.SetCoordinates($stattreadstamina_ctr, -1641.0, 586.5, 38.5)
Car.SetHeading(36@, 136.9)

:TORENO2_2598
if 
  75@ == 0
goto_if_false @TORENO2_2657
if 
  73@ == 0
goto_if_false @TORENO2_2657
Text.PrintNow('TOR1_04', 7000, 1)
75@ = 1

:TORENO2_2657
if 
  75@ == 1
goto_if_false @TORENO2_3140
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TORENO2_3140
if 
  Char.IsInCar($ryder_car, 36@)
goto_if_false @TORENO2_3140
if 
  Char.IsInAngledArea3D($stattreadstamina_ctr, -1042.5, 1016.4, 15.3, -810.5, 1300.7, 50.0, 250.0, False)
goto_if_false @TORENO2_2837
if 
  105@ == 0
goto_if_false @TORENO2_2830
if 
  73@ == 0
goto_if_false @TORENO2_2830
73@ = 3
74@ = 0
gosub @TORENO2_15177
105@ = 1

:TORENO2_2830
goto @TORENO2_2844

:TORENO2_2837
105@ = 0

:TORENO2_2844
if 
  Char.IsInAngledArea3D($stattreadstamina_ctr, -881.0, 1029.0, 50.9, -970.2, 955.7, 33.0, -20.0, False)
goto_if_false @TORENO2_2985
if 
  106@ == 0
goto_if_false @TORENO2_2978
if 
  73@ == 0
goto_if_false @TORENO2_2978
73@ = 4
74@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 108@ = 74@
108@ += 1
gosub @TORENO2_15177
106@ = 1

:TORENO2_2978
goto @TORENO2_2992

:TORENO2_2985
106@ = 0

:TORENO2_2992
if 
  Char.IsInAngledArea3D($stattreadstamina_ctr, -774.9, 1445.6, 10.0, -1187.0, 1275.6, 50.0, -250.0, False)
goto_if_false @TORENO2_3133
if 
  107@ == 0
goto_if_false @TORENO2_3126
if 
  73@ == 0
goto_if_false @TORENO2_3126
73@ = 5
74@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 108@ = 74@
108@ += 1
gosub @TORENO2_15177
107@ = 1

:TORENO2_3126
goto @TORENO2_3140

:TORENO2_3133
107@ = 0

:TORENO2_3140
if 
  2 > 75@
goto_if_false @TORENO2_3264
if 
  Char.IsInAngledArea3D($stattreadstamina_ctr, -1143.8, 1041.0, 50.9, -1393.7, 797.3, 33.0, -60.0, False)
goto_if_false @TORENO2_3264
if 
  73@ == 0
goto_if_false @TORENO2_3264
73@ = 6
74@ = 1
108@ = 6
gosub @TORENO2_15177
75@ = 3

:TORENO2_3264
if 
  75@ == 3
goto_if_false @TORENO2_3411
if 
  73@ == 0
goto_if_false @TORENO2_3411
if 
  Char.LocateInCarCar2D($stattreadstamina_ctr, 34@, 180.0, 180.0, False)
goto_if_false @TORENO2_3411
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TORENO2_3411
if 
  Char.IsInCar($ryder_car, 36@)
goto_if_false @TORENO2_3411
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
73@ = 6
74@ = 0
108@ = 1
gosub @TORENO2_15177
75@ = 4

:TORENO2_3411
if 
  75@ == 4
goto_if_false @TORENO2_3461
if 
  73@ == 0
goto_if_false @TORENO2_3461
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
75@ = 5

:TORENO2_3461
if 
  42@ == 0
goto_if_false @TORENO2_3616
if 
  Char.LocateInCarCar2D($stattreadstamina_ctr, 34@, 180.0, 180.0, False)
goto_if_false @TORENO2_3606
Car.SetForwardSpeed(34@, 35.0)
if 
  not Char.IsDead(35@)
goto_if_false @TORENO2_3592
125@ = Sequence.Open()
Task.CarDriveToCoord(-1, 34@, -1914.6, -1187.7, 30.0, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Sequence.Close(125@)
Char.PerformSequence(35@, 125@)
Sequence.Clear(125@)

:TORENO2_3592
42@ = 1
goto @TORENO2_3616

:TORENO2_3606
Car.SetHeading(34@, 137.0)

:TORENO2_3616
if 
  42@ == 1
goto_if_false @TORENO2_3722
if 
  Char.LocateInCarCar3D($stattreadstamina_ctr, 34@, 20.0, 20.0, 20.0, False)
goto_if_false @TORENO2_3722
if 
  Char.IsInCar($ryder_car, 36@)
goto_if_false @TORENO2_3722
Text.PrintNow('TOR1_10', 11000, 1)
Car.SetCruiseSpeed(34@, 37.0)
42@ = 2

:TORENO2_3722
if 
  42@ == 2
goto_if_false @TORENO2_5682
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TORENO2_5682
if 
  Char.IsInCar($ryder_car, 36@)
goto_if_false @TORENO2_5682
111@, 112@, 113@ = Car.GetOffsetInWorldCoords(34@, -3.0, 4.0, 10.0)
114@, 115@, 116@ = Car.GetOffsetInWorldCoords(34@, -3.0, 0.0, -10.0)
if 
  Char.IsInAngledAreaInCar3D($stattreadstamina_ctr, 111@, 112@, 113@, 114@, 115@, 116@, 3.0, False)
goto_if_false @TORENO2_4178
if 
  47@ == 0
goto_if_false @TORENO2_3966
Task.PlayAnim($ryder_car, "BK_RDY_IN", "BIKELEAP", 4.0, False, False, False, True, -1)
51@ = 2
Text.PrintNow('HOLD_1', 7000, 1)
47@ = 1

:TORENO2_3966
if 
  47@ == 1
goto_if_false @TORENO2_4171
if 
  61@ == 0
goto_if_false @TORENO2_4021
60@ = Clock.GetGameTimer()
61@ = 1
goto @TORENO2_4171

:TORENO2_4021
59@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 58@ = 59@
sub_int_lvar_from_int_lvar 58@ -= 60@
if 
  58@ > 3500
goto_if_false @TORENO2_4127
Player.SetControl($statbike_temp, False)
Car.AttachToCar(36@, 34@, -2.692, 2.484, -1.0, 0.0, 0.0, 0.0)
42@ = 0
54@ = 0
41@ = 3

:TORENO2_4127
if 
  54@ == 0
goto_if_false @TORENO2_4171
if 
  58@ > 1000
goto_if_false @TORENO2_4171
54@ = 1

:TORENO2_4171
goto @TORENO2_4203

:TORENO2_4178
Text.ClearThisPrint('HOLD_1')
61@ = 0
47@ = 0

:TORENO2_4203
111@, 112@, 113@ = Car.GetOffsetInWorldCoords(34@, -3.0, 12.0, 10.0)
114@, 115@, 116@ = Car.GetOffsetInWorldCoords(34@, -3.0, 4.0, -10.0)
if 
  Char.IsInAngledAreaInCar3D($stattreadstamina_ctr, 111@, 112@, 113@, 114@, 115@, 116@, 3.0, False)
goto_if_false @TORENO2_4653
if 
  48@ == 0
goto_if_false @TORENO2_4646
if 
  51@ == 0
goto_if_false @TORENO2_4516
if 
  Char.IsPlayingAnim($ryder_car, "BK_BLNCE_IN")
goto_if_false @TORENO2_4466
52@ = Char.GetAnimCurrentTime($ryder_car, "BK_BLNCE_IN")
if 
  52@ == 1.0
goto_if_false @TORENO2_4459
Task.PlayAnim($ryder_car, "BK_BLNCE_IN", "BIKELEAP", 4.0, False, False, False, True, -1)
51@ = 1

:TORENO2_4459
goto @TORENO2_4516

:TORENO2_4466
Task.PlayAnim($ryder_car, "BK_BLNCE_IN", "BIKELEAP", 4.0, False, False, False, True, -1)
51@ = 1

:TORENO2_4516
if 
  51@ == 2
goto_if_false @TORENO2_4583
Task.PlayAnim($ryder_car, "BK_RDY_OUT", "BIKELEAP", 4.0, False, False, False, False, -1)
51@ = 1

:TORENO2_4583
if 
  73@ == 0
goto_if_false @TORENO2_4639
73@ = 10
74@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 108@ = 74@
108@ += 1
gosub @TORENO2_15177

:TORENO2_4639
48@ = 1

:TORENO2_4646
goto @TORENO2_4660

:TORENO2_4653
48@ = 0

:TORENO2_4660
111@, 112@, 113@ = Car.GetOffsetInWorldCoords(34@, -6.0, 8.0, 10.0)
114@, 115@, 116@ = Car.GetOffsetInWorldCoords(34@, -6.0, -8.0, -10.0)
if 
  Char.IsInAngledAreaInCar3D($stattreadstamina_ctr, 111@, 112@, 113@, 114@, 115@, 116@, 3.0, False)
goto_if_false @TORENO2_5110
if 
  49@ == 0
goto_if_false @TORENO2_5103
if 
  51@ == 0
goto_if_false @TORENO2_4973
if 
  Char.IsPlayingAnim($ryder_car, "BK_BLNCE_IN")
goto_if_false @TORENO2_4923
52@ = Char.GetAnimCurrentTime($ryder_car, "BK_BLNCE_IN")
if 
  52@ == 1.0
goto_if_false @TORENO2_4916
Task.PlayAnim($ryder_car, "BK_BLNCE_IN", "BIKELEAP", 4.0, False, False, False, True, -1)
51@ = 1

:TORENO2_4916
goto @TORENO2_4973

:TORENO2_4923
Task.PlayAnim($ryder_car, "BK_BLNCE_IN", "BIKELEAP", 4.0, False, False, False, True, -1)
51@ = 1

:TORENO2_4973
if 
  51@ == 2
goto_if_false @TORENO2_5040
Task.PlayAnim($ryder_car, "BK_RDY_OUT", "BIKELEAP", 4.0, False, False, False, False, -1)
51@ = 1

:TORENO2_5040
if 
  73@ == 0
goto_if_false @TORENO2_5096
73@ = 7
74@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 108@ = 74@
108@ += 1
gosub @TORENO2_15177

:TORENO2_5096
49@ = 1

:TORENO2_5103
goto @TORENO2_5117

:TORENO2_5110
49@ = 0

:TORENO2_5117
111@, 112@, 113@ = Car.GetOffsetInWorldCoords(34@, -3.0, 0.0, 10.0)
114@, 115@, 116@ = Car.GetOffsetInWorldCoords(34@, -3.0, -8.0, -10.0)
if 
  Char.IsInAngledAreaInCar3D($stattreadstamina_ctr, 111@, 112@, 113@, 114@, 115@, 116@, 3.0, False)
goto_if_false @TORENO2_5567
if 
  50@ == 0
goto_if_false @TORENO2_5560
if 
  51@ == 0
goto_if_false @TORENO2_5430
if 
  Char.IsPlayingAnim($ryder_car, "BK_BLNCE_IN")
goto_if_false @TORENO2_5380
52@ = Char.GetAnimCurrentTime($ryder_car, "BK_BLNCE_IN")
if 
  52@ == 1.0
goto_if_false @TORENO2_5373
Task.PlayAnim($ryder_car, "BK_BLNCE_IN", "BIKELEAP", 4.0, False, False, False, True, -1)
51@ = 1

:TORENO2_5373
goto @TORENO2_5430

:TORENO2_5380
Task.PlayAnim($ryder_car, "BK_BLNCE_IN", "BIKELEAP", 4.0, False, False, False, True, -1)
51@ = 1

:TORENO2_5430
if 
  51@ == 2
goto_if_false @TORENO2_5497
Task.PlayAnim($ryder_car, "BK_RDY_OUT", "BIKELEAP", 4.0, False, False, False, False, -1)
51@ = 1

:TORENO2_5497
if 
  73@ == 0
goto_if_false @TORENO2_5553
73@ = 9
74@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 108@ = 74@
108@ += 1
gosub @TORENO2_15177

:TORENO2_5553
50@ = 1

:TORENO2_5560
goto @TORENO2_5574

:TORENO2_5567
50@ = 0

:TORENO2_5574
if and
  47@ == 0
  48@ == 0
  49@ == 0
  50@ == 0
goto_if_false @TORENO2_5682
if 
  51@ > 0
goto_if_false @TORENO2_5682
Task.PlayAnim($ryder_car, "BK_BLNCE_OUT", "BIKELEAP", 4.0, False, False, False, False, -1)
51@ = 0

:TORENO2_5682
gosub @TORENO2_12035
gosub @TORENO2_11512
gosub @TORENO2_11832
gosub @TORENO2_12104
gosub @TORENO2_12228

:TORENO2_5717
if 
  41@ == 3
goto_if_false @TORENO2_8119
if 
  42@ == 0
goto_if_false @TORENO2_5803
Char.RemoveFromGroup($ryder_car)
Task.PlayAnim($ryder_car, "BK_JMP", "BIKELEAP", 4.0, False, False, False, True, -1)
42@ = 1

:TORENO2_5803
if 
  42@ == 1
goto_if_false @TORENO2_5889
if 
  Char.IsPlayingAnim($ryder_car, "BK_JMP")
goto_if_false @TORENO2_5889
52@ = Char.GetAnimCurrentTime($ryder_car, "BK_JMP")
if 
  52@ == 1.0
goto_if_false @TORENO2_5889
42@ = 2

:TORENO2_5889
if 
  42@ == 2
goto_if_false @TORENO2_6058
if 
  not Car.IsDead(36@)
goto_if_false @TORENO2_5931
Char.RemoveFromCarMaintainPosition($ryder_car, 36@)

:TORENO2_5931
Char.AttachToCar($ryder_car, 34@, -1.0, 0.0, 0.0, 3, 360.0, WeaponType.Unarmed)
Task.PlayAnim($ryder_car, "TRUCK_GETIN", "BIKELEAP", 1000.0, False, False, False, True, -1)
if 
  not Car.IsDead(36@)
goto_if_false @TORENO2_6044
Car.Detach(36@, 0.0, 0.0, 0.0, False)

:TORENO2_6044
Player.SetControl($statbike_temp, True)
42@ = 3

:TORENO2_6058
if 
  42@ > 3
goto_if_false @TORENO2_6092
53@ = Car.GetHeading(34@)
Char.SetHeading($ryder_car, 53@)

:TORENO2_6092
if 
  42@ == 3
goto_if_false @TORENO2_6195
if 
  Char.IsPlayingAnim($ryder_car, "TRUCK_GETIN")
goto_if_false @TORENO2_6195
52@ = Char.GetAnimCurrentTime($ryder_car, "TRUCK_GETIN")
if 
  52@ > 0.41
goto_if_false @TORENO2_6195
56@ = 1
42@ = 4

:TORENO2_6195
if 
  42@ == 4
goto_if_false @TORENO2_6358
if 
  Char.IsPlayingAnim($ryder_car, "TRUCK_GETIN")
goto_if_false @TORENO2_6358
52@ = Char.GetAnimCurrentTime($ryder_car, "TRUCK_GETIN")
if 
  52@ > 0.66
goto_if_false @TORENO2_6358
if 
  not Char.IsDead(35@)
goto_if_false @TORENO2_6358
Task.PlayAnim(35@, "TRUCK_DRIVER", "BIKELEAP", 4.0, False, False, False, True, -1)
54@ = 1
42@ = 5

:TORENO2_6358
if 
  42@ == 5
goto_if_false @TORENO2_6593
if 
  Char.IsPlayingAnim($ryder_car, "TRUCK_GETIN")
goto_if_false @TORENO2_6593
52@ = Char.GetAnimCurrentTime($ryder_car, "TRUCK_GETIN")
if 
  52@ == 1.0
goto_if_false @TORENO2_6593
if 
  not Char.IsDead(35@)
goto_if_false @TORENO2_6540
Char.WarpFromCarToCoord(35@, 0.0, 0.0, 0.0)
Char.WarpIntoCarAsPassenger(35@, 34@, -1)
Task.PlayAnim(35@, "STRUGGLE_DRIVER", "BIKELEAP", 1000.0, True, False, False, True, -1)

:TORENO2_6540
Task.PlayAnim($ryder_car, "STRUGGLE_CESAR", "BIKELEAP", 1000.0, True, False, False, True, -1)
42@ = 6

:TORENO2_6593
if 
  42@ == 6
goto_if_false @TORENO2_6692
if 
  54@ == 16
goto_if_false @TORENO2_6692
if 
  not Char.IsDead(35@)
goto_if_false @TORENO2_6692
Char.ClearTasks($ryder_car)
Char.ClearTasks(35@)
125@ = Sequence.Open()
Task.LeaveCarImmediately(-1, 34@)
Sequence.Close(125@)
Char.PerformSequence(35@, 125@)
Sequence.Clear(125@)
42@ = 8

:TORENO2_6692
if 
  42@ == 8
goto_if_false @TORENO2_6884
if 
  not Char.IsDead(35@)
goto_if_false @TORENO2_6884
if 
  not Char.IsInAnyCar(35@)
goto_if_false @TORENO2_6884
Car.SetTempAction(34@, TempAction.None, -1)
Car.SetOnlyDamagedByPlayer(34@, False)
Task.Dead(35@)
Char.DetachFromCar($ryder_car)
Char.WarpIntoCarAsPassenger($ryder_car, 34@, -1)
45@ = 1
Car.LockDoors(34@, CarLock.Unlocked)
Streaming.MarkModelAsNoLongerNeeded(461)
Streaming.RemoveAnimation("BIKELEAP")
Path.ReleaseNodes
Text.ClearPrints
Blip.Remove(40@)
40@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(40@, True)
Char.ShutUpForScriptedSpeech($ryder_car, False)
Text.PrintNow('TOR1_11', 4000, 1)
42@ = 0
73@ = 0
75@ = 0
41@ = 4

:TORENO2_6884
if 
  54@ == 1
goto_if_false @TORENO2_6943
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.TurnLeft, 200)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 2

:TORENO2_6943
if 
  54@ == 2
goto_if_false @TORENO2_7021
if 
  TIMERA > 200
goto_if_false @TORENO2_7021
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.GoForward, 300)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 3

:TORENO2_7021
if 
  54@ == 3
goto_if_false @TORENO2_7099
if 
  TIMERA > 300
goto_if_false @TORENO2_7099
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.TurnRight, 200)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 4

:TORENO2_7099
if 
  54@ == 4
goto_if_false @TORENO2_7177
if 
  TIMERA > 200
goto_if_false @TORENO2_7177
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.GoForward, 500)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 5

:TORENO2_7177
if 
  54@ == 5
goto_if_false @TORENO2_7255
if 
  TIMERA > 500
goto_if_false @TORENO2_7255
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.TurnLeft, 500)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 6

:TORENO2_7255
if 
  54@ == 6
goto_if_false @TORENO2_7333
if 
  TIMERA > 500
goto_if_false @TORENO2_7333
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.GoForward, 1000)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 7

:TORENO2_7333
if 
  54@ == 7
goto_if_false @TORENO2_7411
if 
  TIMERA > 1000
goto_if_false @TORENO2_7411
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.TurnRight, 500)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 8

:TORENO2_7411
if 
  54@ == 8
goto_if_false @TORENO2_7489
if 
  TIMERA > 500
goto_if_false @TORENO2_7489
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.GoForward, 1000)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 9

:TORENO2_7489
if 
  54@ == 9
goto_if_false @TORENO2_7567
if 
  TIMERA > 1000
goto_if_false @TORENO2_7567
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.TurnLeft, 500)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 10

:TORENO2_7567
if 
  54@ == 10
goto_if_false @TORENO2_7645
if 
  TIMERA > 500
goto_if_false @TORENO2_7645
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.GoForward, 1000)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 11

:TORENO2_7645
if 
  54@ == 11
goto_if_false @TORENO2_7723
if 
  TIMERA > 1000
goto_if_false @TORENO2_7723
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.TurnRight, 500)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 12

:TORENO2_7723
if 
  54@ == 12
goto_if_false @TORENO2_7801
if 
  TIMERA > 500
goto_if_false @TORENO2_7801
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.GoForward, 1000)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 13

:TORENO2_7801
if 
  54@ == 13
goto_if_false @TORENO2_7879
if 
  TIMERA > 1000
goto_if_false @TORENO2_7879
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.TurnLeft, 500)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 14

:TORENO2_7879
if 
  54@ == 14
goto_if_false @TORENO2_7957
if 
  TIMERA > 500
goto_if_false @TORENO2_7957
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.GoForward, 1000)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 15

:TORENO2_7957
if 
  54@ == 15
goto_if_false @TORENO2_8035
if 
  TIMERA > 1000
goto_if_false @TORENO2_8035
Car.SetStatus(34@, EntityStatus.Physics)
Car.SetTempAction(34@, TempAction.HandbrakeStraight, 1000)
Car.SetCruiseSpeed(34@, 35.0)
TIMERA = 0
54@ = 16

:TORENO2_8035
if 
  56@ == 1
goto_if_false @TORENO2_8105
if 
  not Car.IsDoorFullyOpen(34@, CarDoor.LeftFrontDoor)
goto_if_false @TORENO2_8098
124@ += 0.1
Car.OpenDoorABit(34@, CarDoor.LeftFrontDoor, 124@)
goto @TORENO2_8105

:TORENO2_8098
56@ = 2

:TORENO2_8105
gosub @TORENO2_12228
gosub @TORENO2_12035

:TORENO2_8119
if 
  41@ == 4
goto_if_false @TORENO2_8617
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TORENO2_8198
if 
  Char.IsInAnyCar($ryder_car)
goto_if_false @TORENO2_8198
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @TORENO2_8198
42@ = 0
41@ = 5

:TORENO2_8198
if 
  42@ == 0
goto_if_false @TORENO2_8377
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TORENO2_8377
if 
  Trailer.IsAttachedToCab(37@, 34@)
goto_if_false @TORENO2_8309
Blip.Remove(40@)
40@ = Blip.AddForCoord(-2016.5, 157.7, 26.7)
Text.Print('TOR1_06', 7000, 1)
55@ = 1
goto @TORENO2_8352

:TORENO2_8309
Blip.Remove(40@)
40@ = Blip.AddForCar(37@)
Blip.SetAsFriendly(40@, True)
Text.Print('TOR1_21', 7000, 1)
55@ = 0

:TORENO2_8352
Audio.SetRadioChannel(RadioChannel.PlaybackFM)
45@ = 1
42@ = 1
TIMERB = 0

:TORENO2_8377
if 
  42@ == 1
goto_if_false @TORENO2_8617
if 
  75@ == 0
goto_if_false @TORENO2_8496
if 
  TIMERB > 7000
goto_if_false @TORENO2_8496
if 
  55@ == 1
goto_if_false @TORENO2_8496
if 
  45@ == 1
goto_if_false @TORENO2_8496
73@ = 11
74@ = 0
gosub @TORENO2_15177
75@ = 1

:TORENO2_8496
if 
  Trailer.IsAttachedToCab(37@, 34@)
goto_if_false @TORENO2_8603
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TORENO2_8603
if 
  Car.Locate3D(34@, -2016.5, 157.7, 26.7, 4.0, 4.0, 4.0, True)
goto_if_false @TORENO2_8603
Player.SetControl($statbike_temp, False)
42@ = 0
41@ = 5

:TORENO2_8603
gosub @TORENO2_11122
gosub @TORENO2_11303

:TORENO2_8617
if 
  41@ == 5
goto_if_false @TORENO2_9737
if 
  42@ == 0
goto_if_false @TORENO2_8707
Player.SetControl($statbike_temp, False)
Player.ApplyBrakesToCar($statbike_temp, True)
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:TORENO2_8676
if 
  Camera.GetFadingStatus
goto_if_false @TORENO2_8700
wait 0
goto @TORENO2_8676

:TORENO2_8700
42@ = 1

:TORENO2_8707
if 
  42@ == 1
goto_if_false @TORENO2_9379
Streaming.RequestAnimation("POLICE")

:TORENO2_8735
if 
  not Streaming.HasAnimationLoaded("POLICE")
goto_if_false @TORENO2_8767
wait 0
goto @TORENO2_8735

:TORENO2_8767
Garage.Open('HBGDSFS')

:TORENO2_8778
if 
  not Garage.IsOpen('HBGDSFS')
goto_if_false @TORENO2_8811
wait 0
goto @TORENO2_8778

:TORENO2_8811
gosub @TORENO2_10920
if 
  44@ == 1
goto_if_false @TORENO2_8843
goto @TORENO2_10697

:TORENO2_8843
Streaming.RequestCollision(-1998.7, 178.4)
Streaming.LoadSceneInDirection(-1998.7, 178.4, 26.3, 270.0)
World.ClearArea(-1998.7, 178.4, 26.3, 200.0, False)
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
if 
  not Car.IsDead(37@)
goto_if_false @TORENO2_8988
if 
  Trailer.IsAttachedToCab(37@, 34@)
goto_if_false @TORENO2_8988
Trailer.DetachFromCab(37@, 34@)
Car.SetCoordinates(37@, -1998.7, 178.4, 26.3)
Car.SetHeading(37@, 88.7)

:TORENO2_8988
Car.SetCoordinates(34@, -2006.7, 178.4, 26.3)
Car.SetHeading(34@, 88.7)
wait 0
gosub @TORENO2_10920
if 
  44@ == 1
goto_if_false @TORENO2_9054
goto @TORENO2_10697

:TORENO2_9054
if 
  not Car.IsDead(37@)
goto_if_false @TORENO2_9078
Trailer.AttachToCab(37@, 34@)

:TORENO2_9078
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -2035.3, 180.5, 27.8)
Char.SetHeading($stattreadstamina_ctr, 277.5)
125@ = Sequence.Open()
Task.PlayAnim(-1, "COPTRAF_COME", "POLICE", 4.0, False, False, False, False, -1)
Sequence.Close(125@)
Char.PerformSequence($stattreadstamina_ctr, 125@)
Sequence.Clear(125@)
Char.ClearTasksImmediately($ryder_car)
Char.WarpIntoCar($ryder_car, 34@)
Task.CarDriveToCoord($ryder_car, 34@, -2053.3, 178.8, 27.8, 10.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
73@ = 0
Game.ShutAllCharsUp(True)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.SetFixedPosition(-2038.0, 182.8, 29.2, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2001.0, 166.2, 31.2, SwitchType.JumpCut)
Camera.DoFade(2000, Fade.In)

:TORENO2_9316
if 
  Camera.GetFadingStatus
goto_if_false @TORENO2_9340
wait 0
goto @TORENO2_9316

:TORENO2_9340
gosub @TORENO2_10920
if 
  44@ == 1
goto_if_false @TORENO2_9372
goto @TORENO2_10697

:TORENO2_9372
42@ = 2

:TORENO2_9379
if 
  42@ == 2
goto_if_false @TORENO2_9545
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1541)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @TORENO2_9545
125@ = Sequence.Open()
Task.PlayAnim(-1, "COPTRAF_COME", "POLICE", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "COPTRAF_LEFT", "POLICE", 4.0, False, False, False, False, -1)
Sequence.Close(125@)
Char.PerformSequence($stattreadstamina_ctr, 125@)
Sequence.Clear(125@)
TIMERA = 0
42@ = 3

:TORENO2_9545
if 
  42@ == 3
goto_if_false @TORENO2_9737
if 
  TIMERA > 5000
goto_if_false @TORENO2_9737
Camera.DoFade(500, Fade.Out)

:TORENO2_9589
if 
  Camera.GetFadingStatus
goto_if_false @TORENO2_9613
wait 0
goto @TORENO2_9589

:TORENO2_9613
Streaming.UnloadSpecialCharacter(1)
Car.Delete(34@)
Car.Delete(37@)
Garage.Close('HBGDSFS')

:TORENO2_9638
if 
  not Garage.IsClosed('HBGDSFS')
goto_if_false @TORENO2_9671
wait 0
goto @TORENO2_9638

:TORENO2_9671
Game.ShutAllCharsUp(False)
Camera.DoFade(500, Fade.In)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:TORENO2_9706
if 
  Camera.GetFadingStatus
goto_if_false @TORENO2_9730
wait 0
goto @TORENO2_9706

:TORENO2_9730
goto @TORENO2_10715

:TORENO2_9737
if 
  3 > 41@
goto_if_false @TORENO2_9823
if 
  not Char.IsDead(35@)
goto_if_false @TORENO2_9823
if 
  Car.Locate2D(34@, -1914.6, -1187.7, 5.0, 5.0, False)
goto_if_false @TORENO2_9823
42@ = 0
41@ = 6

:TORENO2_9823
if 
  41@ == 6
goto_if_false @TORENO2_10683
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @TORENO2_10561
if 
  42@ == 0
goto_if_false @TORENO2_10561
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:TORENO2_9893
if 
  Camera.GetFadingStatus
goto_if_false @TORENO2_9917
wait 0
goto @TORENO2_9893

:TORENO2_9917
gosub @TORENO2_10920
if 
  44@ == 1
goto_if_false @TORENO2_9949
goto @TORENO2_10697

:TORENO2_9949
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
73@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.SetFixedPosition(-1932.8, -991.8, 31.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1959.7, -1019.9, 43.1, SwitchType.JumpCut)
if 
  Char.IsInArea2D($stattreadstamina_ctr, -1915.0, -977.8, -2013.4, -1074.8, False)
goto_if_false @TORENO2_10095
Char.SetCoordinates($stattreadstamina_ctr, -1984.5, -1072.9, 31.5)

:TORENO2_10095
if 
  Char.IsInArea2D($ryder_car, -1915.0, -977.8, -2013.4, -1074.8, False)
goto_if_false @TORENO2_10153
Char.SetCoordinates($ryder_car, -1984.5, -1074.9, 31.5)

:TORENO2_10153
Streaming.RequestCollision(-1984.3, -1045.7)
Streaming.LoadScene(-1984.3, -1045.7, 31.6)
World.ClearArea(-1984.3, -1045.7, 31.6, 25.0, True)
Car.SetCoordinates(34@, -1984.3, -1045.7, 31.6)
Car.SetHeading(34@, 0.0)
if 
  not Car.IsDead(37@)
goto_if_false @TORENO2_10290
Car.SetCoordinates(37@, -1984.3, -1055.7, 31.6)
Car.SetHeading(37@, 0.0)
Trailer.AttachToCab(37@, 34@)

:TORENO2_10290
if 
  not Char.IsDead(35@)
goto_if_false @TORENO2_10461
125@ = Sequence.Open()
Task.CarDriveToCoord(-1, 34@, -1984.8, -1022.1, 31.6, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 34@, -1954.4, -1007.4, 31.6, 15.0, DriveMode.Normal, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 34@, -1943.6, -1040.1, 31.6, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(-1, 34@, -1946.6, -1018.0, 31.6, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Sequence.Close(125@)
Char.PerformSequence(35@, 125@)
Sequence.Clear(125@)

:TORENO2_10461
Text.PrintNow('TOR1_12', 11000, 1)
Camera.DoFade(1000, Fade.In)

:TORENO2_10484
if 
  Camera.GetFadingStatus
goto_if_false @TORENO2_10515
wait 0
gosub @TORENO2_12035
goto @TORENO2_10484

:TORENO2_10515
gosub @TORENO2_10920
if 
  44@ == 1
goto_if_false @TORENO2_10547
goto @TORENO2_10697

:TORENO2_10547
skip_cutscene_start_internal @TORENO2_10624
42@ = 1

:TORENO2_10561
if 
  42@ == 1
goto_if_false @TORENO2_10683
gosub @TORENO2_12035
if 
  Car.Locate2D(34@, -1943.6, -1040.1, 5.0, 5.0, False)
goto_if_false @TORENO2_10683

:TORENO2_10624
skip_cutscene_end 
gosub @TORENO2_10920
if 
  44@ == 1
goto_if_false @TORENO2_10658
goto @TORENO2_10697

:TORENO2_10658
Text.ClearPrints
Text.PrintNow('TOR1_12', 4000, 1)
goto @TORENO2_10697

:TORENO2_10683
gosub @TORENO2_12933
goto @TORENO2_1616

:TORENO2_10697
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:TORENO2_10715
$flag_casino_mission_counter += 1
Text.PrintWithNumberBig('M_PASS', 7000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 7000)
Stat.SetInt(StatId.PassedDesert12, 1)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('DESERT2')
Blip.Remove($doc_contact_blip)
Stat.PlayerMadeProgress(1)
return 

:TORENO2_10787
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @TORENO2_10805
Camera.RestoreJumpcut

:TORENO2_10805
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TORENO2_10828
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:TORENO2_10828
Game.ShutAllCharsUp(False)
Path.ReleaseNodes
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Streaming.MarkModelAsNoLongerNeeded(514)
Streaming.MarkModelAsNoLongerNeeded(461)
Streaming.MarkModelAsNoLongerNeeded(584)
Streaming.MarkModelAsNoLongerNeeded(567)
Char.RemoveElegantly($ryder_car)
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveAnimation("BIKELEAP")
Streaming.RemoveAnimation("POLICE")
Blip.Remove(40@)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:TORENO2_10920
if 
  3 > 41@
goto_if_false @TORENO2_10979
if 
  Car.IsDead(36@)
goto_if_false @TORENO2_10979
Text.ClearPrints
Text.PrintNow('TOR1_02', 4000, 1)
44@ = 1

:TORENO2_10979
if 
  41@ > 1
goto_if_false @TORENO2_11079
if 
  Car.IsDead(34@)
goto_if_false @TORENO2_11038
Text.ClearPrints
Text.PrintNow('TOR1_14', 4000, 1)
44@ = 1

:TORENO2_11038
if 
  Car.IsDead(37@)
goto_if_false @TORENO2_11079
Text.ClearPrints
Text.PrintNow('TOR1_14', 4000, 1)
44@ = 1

:TORENO2_11079
if 
  Char.IsDead($ryder_car)
goto_if_false @TORENO2_11120
Text.ClearPrints
Text.PrintNow('TOR1_03', 4000, 1)
44@ = 1

:TORENO2_11120
return 

:TORENO2_11122
if 
  45@ == 0
goto_if_false @TORENO2_11237
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TORENO2_11237
if 
  not Trailer.IsAttachedToCab(37@, 34@)
goto_if_false @TORENO2_11205
Blip.Remove(40@)
40@ = Blip.AddForCar(37@)
Blip.SetAsFriendly(40@, True)
goto @TORENO2_11230

:TORENO2_11205
Blip.Remove(40@)
40@ = Blip.AddForCoord(-2016.5, 157.7, 26.7)

:TORENO2_11230
45@ = 1

:TORENO2_11237
if 
  45@ == 1
goto_if_false @TORENO2_11301
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TORENO2_11301
Blip.Remove(40@)
40@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(40@, True)
45@ = 0

:TORENO2_11301
return 

:TORENO2_11303
if 
  45@ == 1
goto_if_false @TORENO2_11510
if 
  not Car.IsDead(37@)
goto_if_false @TORENO2_11510
Car.SetHealth(37@, 1000)
if 
  55@ == 1
goto_if_false @TORENO2_11425
if 
  not Trailer.IsAttachedToCab(37@, 34@)
goto_if_false @TORENO2_11425
Blip.Remove(40@)
40@ = Blip.AddForCar(37@)
Blip.SetAsFriendly(40@, True)
Text.PrintNow('TOR1_21', 4000, 1)
55@ = 0

:TORENO2_11425
if 
  55@ == 0
goto_if_false @TORENO2_11510
if 
  Trailer.IsAttachedToCab(37@, 34@)
goto_if_false @TORENO2_11510
Blip.Remove(40@)
40@ = Blip.AddForCoord(-2016.5, 157.7, 26.7)
Text.Print('TOR1_06', 4000, 1)
55@ = 1

:TORENO2_11510
return 

:TORENO2_11512
if 
  46@ == 1
goto_if_false @TORENO2_11830
if 
  45@ == 0
goto_if_false @TORENO2_11700
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TORENO2_11700
Text.ClearThisPrint(76@(74@,8s))
Text.ClearThisPrint('TOR1_20')
Blip.Remove(40@)
if 
  not Car.IsDead(34@)
goto_if_false @TORENO2_11616
40@ = Blip.AddForCar(34@)

:TORENO2_11616
if 
  TIMERB > 8000
goto_if_false @TORENO2_11693
if 
  Char.IsInCar($ryder_car, 36@)
goto_if_false @TORENO2_11677
Text.PrintNow('TOR1_05', 4000, 1)
goto @TORENO2_11693

:TORENO2_11677
Text.PrintNow('TOR1_16', 4000, 1)

:TORENO2_11693
45@ = 1

:TORENO2_11700
if 
  45@ == 1
goto_if_false @TORENO2_11830
if 
  not Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TORENO2_11830
Text.ClearThisPrint(76@(74@,8s))
Text.ClearThisPrint('TOR1_10')
Text.ClearThisPrint('TOR1_16')
Blip.Remove(40@)
40@ = Blip.AddForCar(36@)
Blip.SetAsFriendly(40@, True)
if 
  TIMERB > 8000
goto_if_false @TORENO2_11823
Text.PrintNow('TOR1_20', 4000, 1)

:TORENO2_11823
45@ = 0

:TORENO2_11830
return 

:TORENO2_11832
if 
  46@ == 1
goto_if_false @TORENO2_11896
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @TORENO2_11896
Blip.Remove(40@)
40@ = Blip.AddForChar($ryder_car)
Blip.SetAsFriendly(40@, True)
46@ = 0

:TORENO2_11896
if 
  46@ == 0
goto_if_false @TORENO2_12033
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $ryder_car, 8.0, 8.0, 8.0, False)
goto_if_false @TORENO2_12033
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @TORENO2_11981
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $ryder_car)

:TORENO2_11981
Blip.Remove(40@)
if 
  not Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TORENO2_12019
45@ = 1
goto @TORENO2_12026

:TORENO2_12019
45@ = 0

:TORENO2_12026
46@ = 1

:TORENO2_12033
return 

:TORENO2_12035
if 
  not Car.IsDead(34@)
goto_if_false @TORENO2_12102
if 
  not Car.IsDead(37@)
goto_if_false @TORENO2_12102
Car.SetHealth(37@, 1000)
if 
  not Trailer.IsAttachedToCab(37@, 34@)
goto_if_false @TORENO2_12102
Trailer.AttachToCab(37@, 34@)

:TORENO2_12102
return 

:TORENO2_12104
if 
  not Car.IsDead(34@)
goto_if_false @TORENO2_12226
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 34@, 20.0, 20.0, False)
goto_if_false @TORENO2_12168
Car.SetCruiseSpeed(34@, 37.0)
goto @TORENO2_12226

:TORENO2_12168
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 34@, 40.0, 40.0, False)
goto_if_false @TORENO2_12216
Car.SetCruiseSpeed(34@, 20.0)
goto @TORENO2_12226

:TORENO2_12216
Car.SetCruiseSpeed(34@, 15.0)

:TORENO2_12226
return 

:TORENO2_12228
if 
  not Car.IsDead(34@)
goto_if_false @TORENO2_12931
120@, 121@, $in_carX = Car.GetOffsetInWorldCoords(34@, -3.0, 2.0, 0.0)
122@, 123@, $in_carX = Car.GetOffsetInWorldCoords(34@, 3.0, 11.0, 0.0)
38@ = World.GetRandomCarOfTypeInAreaNoSave(120@, 121@, 122@, 123@, -1)
if 
  not Car.IsDead(38@)
goto_if_false @TORENO2_12931
if 
  not is_int_lvar_equal_to_int_lvar 38@ == 36@
goto_if_false @TORENO2_12931
57@ = Car.GetHealth(38@)
if 
  57@ > 500
goto_if_false @TORENO2_12931
69@ = Car.GetSpeed(34@)
69@ *= 0.02
120@ = Car.GetForwardX(34@)
121@ = Car.GetForwardY(34@)
set_lvar_float_to_lvar_float 122@ = 121@
123@ = -1.0
mult_float_lvar_by_float_lvar 123@ *= 120@
65@, 66@, 67@ = Car.GetCoordinates(38@)
62@, 63@, 64@ = Car.GetCoordinates(34@)
sub_float_lvar_from_float_lvar 65@ -= 62@
sub_float_lvar_from_float_lvar 66@ -= 63@
set_lvar_float_to_lvar_float 70@ = 122@
mult_float_lvar_by_float_lvar 70@ *= 65@
set_lvar_float_to_lvar_float 71@ = 123@
mult_float_lvar_by_float_lvar 71@ *= 66@
set_lvar_float_to_lvar_float 68@ = 70@
add_float_lvar_to_float_lvar 68@ += 71@
if 
  2.5 > 68@
goto_if_false @TORENO2_12921
if 
  68@ > -2.5
goto_if_false @TORENO2_12921
if 
  68@ > 0.0
goto_if_false @TORENO2_12615
68@ = 1.0
goto @TORENO2_12625

:TORENO2_12615
68@ = -1.0

:TORENO2_12625
set_lvar_float_to_lvar_float 70@ = 120@
mult_float_lvar_by_float_lvar 70@ *= 69@
set_lvar_float_to_lvar_float 71@ = 68@
mult_float_lvar_by_float_lvar 71@ *= 122@
71@ *= 0.5
set_lvar_float_to_lvar_float 72@ = 69@
mult_float_lvar_by_float_lvar 72@ *= 71@
set_lvar_float_to_lvar_float 62@ = 70@
add_float_lvar_to_float_lvar 62@ += 72@
set_lvar_float_to_lvar_float 70@ = 121@
mult_float_lvar_by_float_lvar 70@ *= 69@
set_lvar_float_to_lvar_float 71@ = 68@
mult_float_lvar_by_float_lvar 71@ *= 123@
71@ *= 0.5
set_lvar_float_to_lvar_float 72@ = 69@
mult_float_lvar_by_float_lvar 72@ *= 71@
set_lvar_float_to_lvar_float 63@ = 70@
add_float_lvar_to_float_lvar 63@ += 72@
set_lvar_float_to_lvar_float 64@ = 69@
64@ += 0.008
64@ *= 0.5
65@ = -1.0
mult_float_lvar_by_float_lvar 65@ *= 68@
mult_float_lvar_by_float_lvar 65@ *= 122@
mult_float_lvar_by_float_lvar 65@ *= 69@
66@ = -1.0
mult_float_lvar_by_float_lvar 66@ *= 68@
mult_float_lvar_by_float_lvar 66@ *= 123@
mult_float_lvar_by_float_lvar 66@ *= 69@
67@ = 0.0
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Car.SetStatus(38@, EntityStatus.Physics)
Car.ApplyForce(38@, 62@, 63@, 64@, 65@, 66@, 67@)
Car.SetHealth(38@, 499)

:TORENO2_12921
Car.ClearLastDamageEntity(38@)
Car.MarkAsNoLongerNeeded(38@)

:TORENO2_12931
return 

:TORENO2_12933
if 
  73@ == 1
goto_if_false @TORENO2_13005
if 
  is_int_lvar_greater_than_int_lvar 100@ > 74@
goto_if_false @TORENO2_12998
gosub @TORENO2_16465
gosub @TORENO2_16572
gosub @TORENO2_16726
goto @TORENO2_13005

:TORENO2_12998
73@ = 0

:TORENO2_13005
if or
  41@ == 1
  41@ == 2
goto_if_false @TORENO2_14376
if or
  14 > 41@
  41@ == 16
goto_if_false @TORENO2_14376
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @TORENO2_13789
if 
  Char.LocateAnyMeansChar3D($ryder_car, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @TORENO2_13782
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsOnFoot($ryder_car)
goto_if_false @TORENO2_13285
if or
  73@ == 2
  73@ == 3
  73@ == 4
  73@ == 5
  73@ == 6
goto_if_false @TORENO2_13285
if 
  is_int_lvar_greater_than_int_lvar 100@ > 74@
goto_if_false @TORENO2_13278
gosub @TORENO2_16465
gosub @TORENO2_16572
if 
  not Char.IsDead($ryder_car)
goto_if_false @TORENO2_13240
gosub @TORENO2_16726
goto @TORENO2_13271

:TORENO2_13240
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(76@(74@,8s))
101@ = 0
102@ = 0

:TORENO2_13271
goto @TORENO2_13285

:TORENO2_13278
73@ = 0

:TORENO2_13285
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar($ryder_car)
goto_if_false @TORENO2_13460
if or
  73@ == 2
  73@ == 3
  73@ == 4
  73@ == 5
  73@ == 6
goto_if_false @TORENO2_13460
if 
  is_int_lvar_greater_than_int_lvar 100@ > 74@
goto_if_false @TORENO2_13453
gosub @TORENO2_16465
gosub @TORENO2_16572
if 
  not Char.IsDead($ryder_car)
goto_if_false @TORENO2_13415
gosub @TORENO2_16726
goto @TORENO2_13446

:TORENO2_13415
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(76@(74@,8s))
101@ = 0
102@ = 0

:TORENO2_13446
goto @TORENO2_13460

:TORENO2_13453
73@ = 0

:TORENO2_13460
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsOnFoot($ryder_car)
goto_if_false @TORENO2_13621
if or
  73@ == 7
  73@ == 9
  73@ == 10
goto_if_false @TORENO2_13621
if 
  is_int_lvar_greater_than_int_lvar 100@ > 74@
goto_if_false @TORENO2_13614
gosub @TORENO2_16465
gosub @TORENO2_16572
if 
  not Char.IsDead($ryder_car)
goto_if_false @TORENO2_13576
gosub @TORENO2_16726
goto @TORENO2_13607

:TORENO2_13576
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(76@(74@,8s))
101@ = 0
102@ = 0

:TORENO2_13607
goto @TORENO2_13621

:TORENO2_13614
73@ = 0

:TORENO2_13621
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar($ryder_car)
goto_if_false @TORENO2_13782
if or
  73@ == 7
  73@ == 9
  73@ == 10
goto_if_false @TORENO2_13782
if 
  is_int_lvar_greater_than_int_lvar 100@ > 74@
goto_if_false @TORENO2_13775
gosub @TORENO2_16465
gosub @TORENO2_16572
if 
  not Char.IsDead($ryder_car)
goto_if_false @TORENO2_13737
gosub @TORENO2_16726
goto @TORENO2_13768

:TORENO2_13737
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(76@(74@,8s))
101@ = 0
102@ = 0

:TORENO2_13768
goto @TORENO2_13782

:TORENO2_13775
73@ = 0

:TORENO2_13782
goto @TORENO2_13906

:TORENO2_13789
if 
  14 > 73@
goto_if_false @TORENO2_13906
if 
  is_int_lvar_greater_than_int_lvar 100@ > 74@
goto_if_false @TORENO2_13833
74@ += 1

:TORENO2_13833
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(76@(74@,8s))
Text.ClearPrints
set_lvar_int_to_lvar_int 109@ = 73@
set_lvar_int_to_lvar_int 110@ = 74@
73@ = 14
74@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 108@ = 74@
108@ += 1
gosub @TORENO2_15177

:TORENO2_13906
if 
  73@ == 14
goto_if_false @TORENO2_14097
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @TORENO2_14074
if 
  is_int_lvar_greater_than_int_lvar 100@ > 74@
goto_if_false @TORENO2_14044
gosub @TORENO2_16465
gosub @TORENO2_16572
if 
  not Char.IsDead($ryder_car)
goto_if_false @TORENO2_14006
gosub @TORENO2_16726
goto @TORENO2_14037

:TORENO2_14006
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(76@(74@,8s))
101@ = 0
102@ = 0

:TORENO2_14037
goto @TORENO2_14067

:TORENO2_14044
Text.Print('TOR1_13', 4000, 1)
73@ = 15

:TORENO2_14067
goto @TORENO2_14097

:TORENO2_14074
Text.Print('TOR1_13', 4000, 1)
73@ = 15

:TORENO2_14097
if 
  73@ == 15
goto_if_false @TORENO2_14150
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @TORENO2_14150
73@ = 16
74@ = 0
Text.ClearPrints

:TORENO2_14150
if 
  73@ == 16
goto_if_false @TORENO2_14376
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @TORENO2_14321
TIMERB = 0
set_lvar_int_to_lvar_int 73@ = 109@
set_lvar_int_to_lvar_int 74@ = 110@
gosub @TORENO2_15177
if 
  109@ == 0
goto_if_false @TORENO2_14314
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @TORENO2_14277
Text.Print('TOR1_05', 7000, 1)
goto @TORENO2_14293

:TORENO2_14277
Text.Print('TOR1_20', 4000, 1)

:TORENO2_14293
TIMERB = 0
74@ = 0
73@ = 0

:TORENO2_14314
goto @TORENO2_14376

:TORENO2_14321
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(76@(74@,8s))
73@ = 14
74@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 108@ = 74@
108@ += 1
gosub @TORENO2_15177

:TORENO2_14376
if 
  41@ == 4
goto_if_false @TORENO2_15175
if 
  42@ == 1
goto_if_false @TORENO2_15175
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @TORENO2_14557
if 
  73@ == 11
goto_if_false @TORENO2_14557
if 
  is_int_lvar_greater_than_int_lvar 100@ > 74@
goto_if_false @TORENO2_14550
gosub @TORENO2_16465
gosub @TORENO2_16572
if 
  not Char.IsDead($ryder_car)
goto_if_false @TORENO2_14512
gosub @TORENO2_16726
goto @TORENO2_14543

:TORENO2_14512
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(76@(74@,8s))
101@ = 0
102@ = 0

:TORENO2_14543
goto @TORENO2_14557

:TORENO2_14550
73@ = 0

:TORENO2_14557
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TORENO2_14693
if 
  17 > 73@
goto_if_false @TORENO2_14693
if 
  is_int_lvar_greater_than_int_lvar 100@ > 74@
goto_if_false @TORENO2_14620
74@ += 1

:TORENO2_14620
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Text.ClearThisPrint(76@(74@,8s))
set_lvar_int_to_lvar_int 109@ = 73@
set_lvar_int_to_lvar_int 110@ = 74@
73@ = 17
74@ = Math.RandomIntInRange(0, 6)
set_lvar_int_to_lvar_int 108@ = 74@
108@ += 1
gosub @TORENO2_15177

:TORENO2_14693
if 
  73@ == 17
goto_if_false @TORENO2_14906
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TORENO2_14854
if 
  is_int_lvar_greater_than_int_lvar 100@ > 74@
goto_if_false @TORENO2_14831
gosub @TORENO2_16465
gosub @TORENO2_16572
if 
  not Char.IsDead($ryder_car)
goto_if_false @TORENO2_14793
gosub @TORENO2_16726
goto @TORENO2_14824

:TORENO2_14793
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(76@(74@,8s))
101@ = 0
102@ = 0

:TORENO2_14824
goto @TORENO2_14854

:TORENO2_14831
Text.Print('TOR1_11', 4000, 1)
73@ = 18

:TORENO2_14854
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @TORENO2_14906
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(76@(74@,8s))
73@ = 19
74@ = 0
Text.ClearPrints

:TORENO2_14906
if 
  73@ == 18
goto_if_false @TORENO2_14959
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @TORENO2_14959
73@ = 19
74@ = 0
Text.ClearPrints

:TORENO2_14959
if 
  73@ == 19
goto_if_false @TORENO2_15175
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 34@)
goto_if_false @TORENO2_15101
TIMERB = 0
set_lvar_int_to_lvar_int 73@ = 109@
set_lvar_int_to_lvar_int 74@ = 110@
gosub @TORENO2_15177
if 
  109@ == 0
goto_if_false @TORENO2_15101
if 
  55@ == 1
goto_if_false @TORENO2_15085
Text.Print('TOR1_06', 4000, 1)
goto @TORENO2_15101

:TORENO2_15085
Text.Print('TOR1_21', 4000, 1)

:TORENO2_15101
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @TORENO2_15175
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(76@(74@,8s))
73@ = 17
74@ = Math.RandomIntInRange(0, 6)
set_lvar_int_to_lvar_int 108@ = 74@
108@ += 1
gosub @TORENO2_15177

:TORENO2_15175
return 

:TORENO2_15177
if 
  73@ == 1
goto_if_false @TORENO2_15334
set_lvar_text_label 76@s = 'DES2_AA'
set_lvar_text_label 78@s = 'DES2_AB'
set_lvar_text_label 80@s = 'DES2_AC'
set_lvar_text_label 82@s = 'DES2_AD'
set_lvar_text_label 84@s = 'DES2_AE'
set_lvar_text_label 86@s = 'DES2_AF'
set_lvar_int_to_constant 92@ = 13000
set_lvar_int_to_constant 93@ = 13001
set_lvar_int_to_constant 94@ = 13002
set_lvar_int_to_constant 95@ = 13003
set_lvar_int_to_constant 96@ = 13004
set_lvar_int_to_constant 97@ = 13005
100@ = 6

:TORENO2_15334
if 
  73@ == 2
goto_if_false @TORENO2_15403
set_lvar_text_label 76@s = 'DES2_BA'
set_lvar_text_label 78@s = 'DES2_BB'
set_lvar_int_to_constant 92@ = 13006
set_lvar_int_to_constant 93@ = 13007
100@ = 2

:TORENO2_15403
if 
  73@ == 3
goto_if_false @TORENO2_15450
set_lvar_text_label 76@s = 'DES2_BC'
set_lvar_int_to_constant 92@ = 13008
100@ = 1

:TORENO2_15450
if 
  73@ == 4
goto_if_false @TORENO2_15542
set_lvar_text_label 76@s = 'DES2_CA'
set_lvar_text_label 78@s = 'DES2_CB'
set_lvar_text_label 80@s = 'DES2_CC'
set_lvar_int_to_constant 92@ = 13009
set_lvar_int_to_constant 93@ = 13010
set_lvar_int_to_constant 94@ = 13011
set_lvar_int_to_lvar_int 100@ = 108@

:TORENO2_15542
if 
  73@ == 5
goto_if_false @TORENO2_15634
set_lvar_text_label 76@s = 'DES2_DA'
set_lvar_text_label 78@s = 'DES2_DB'
set_lvar_text_label 80@s = 'DES2_DC'
set_lvar_int_to_constant 92@ = 13012
set_lvar_int_to_constant 93@ = 13013
set_lvar_int_to_constant 94@ = 13014
set_lvar_int_to_lvar_int 100@ = 108@

:TORENO2_15634
if 
  73@ == 6
goto_if_false @TORENO2_15792
set_lvar_text_label 76@s = 'DES2_EA'
set_lvar_text_label 78@s = 'DES2_EB'
set_lvar_text_label 80@s = 'DES2_EC'
set_lvar_text_label 82@s = 'DES2_ED'
set_lvar_text_label 84@s = 'DES2_EE'
set_lvar_text_label 86@s = 'DES2_EF'
set_lvar_int_to_constant 92@ = 13015
set_lvar_int_to_constant 93@ = 13016
set_lvar_int_to_constant 94@ = 13017
set_lvar_int_to_constant 95@ = 13018
set_lvar_int_to_constant 96@ = 13019
set_lvar_int_to_constant 97@ = 13020
set_lvar_int_to_lvar_int 100@ = 108@

:TORENO2_15792
if 
  73@ == 7
goto_if_false @TORENO2_15884
set_lvar_text_label 76@s = 'DES2_FA'
set_lvar_text_label 78@s = 'DES2_FB'
set_lvar_text_label 80@s = 'DES2_FC'
set_lvar_int_to_constant 92@ = 13021
set_lvar_int_to_constant 93@ = 13022
set_lvar_int_to_constant 94@ = 13023
set_lvar_int_to_lvar_int 100@ = 108@

:TORENO2_15884
if 
  73@ == 9
goto_if_false @TORENO2_15976
set_lvar_text_label 76@s = 'DES2_HA'
set_lvar_text_label 78@s = 'DES2_HB'
set_lvar_text_label 80@s = 'DES2_HC'
set_lvar_int_to_constant 92@ = 13027
set_lvar_int_to_constant 93@ = 13028
set_lvar_int_to_constant 94@ = 13029
set_lvar_int_to_lvar_int 100@ = 108@

:TORENO2_15976
if 
  73@ == 10
goto_if_false @TORENO2_16068
set_lvar_text_label 76@s = 'DES2_JA'
set_lvar_text_label 78@s = 'DES2_JB'
set_lvar_text_label 80@s = 'DES2_JC'
set_lvar_int_to_constant 92@ = 13030
set_lvar_int_to_constant 93@ = 13031
set_lvar_int_to_constant 94@ = 13032
set_lvar_int_to_lvar_int 100@ = 108@

:TORENO2_16068
if 
  73@ == 11
goto_if_false @TORENO2_16115
set_lvar_text_label 76@s = 'DES2_KA'
set_lvar_int_to_constant 92@ = 13033
100@ = 1

:TORENO2_16115
if 
  73@ == 12
goto_if_false @TORENO2_16162
set_lvar_text_label 76@s = 'DES2_LA'
set_lvar_int_to_constant 92@ = 13038
100@ = 1

:TORENO2_16162
if 
  73@ == 14
goto_if_false @TORENO2_16276
set_lvar_text_label 76@s = 'CESX_BA'
set_lvar_text_label 78@s = 'CESX_BB'
set_lvar_text_label 80@s = 'CESX_BC'
set_lvar_text_label 82@s = 'CESX_BD'
set_lvar_int_to_constant 92@ = 10406
set_lvar_int_to_constant 93@ = 10407
set_lvar_int_to_constant 94@ = 10408
set_lvar_int_to_constant 95@ = 10409
set_lvar_int_to_lvar_int 100@ = 108@

:TORENO2_16276
if 
  73@ == 17
goto_if_false @TORENO2_16434
set_lvar_text_label 76@s = 'CESX_AA'
set_lvar_text_label 78@s = 'CESX_AB'
set_lvar_text_label 80@s = 'CESX_AC'
set_lvar_text_label 82@s = 'CESX_AD'
set_lvar_text_label 84@s = 'CESX_AE'
set_lvar_text_label 86@s = 'CESX_AF'
set_lvar_int_to_constant 92@ = 10400
set_lvar_int_to_constant 93@ = 10401
set_lvar_int_to_constant 94@ = 10402
set_lvar_int_to_constant 95@ = 10403
set_lvar_int_to_constant 96@ = 10404
set_lvar_int_to_constant 97@ = 10405
set_lvar_int_to_lvar_int 100@ = 108@

:TORENO2_16434
set_lvar_int_to_lvar_int 103@ = 74@
101@ = 0
102@ = 0
104@ = 1
return 

:TORENO2_16465
if 
  is_int_lvar_greater_than_int_lvar 100@ > 103@
goto_if_false @TORENO2_16570
if 
  101@ == 0
goto_if_false @TORENO2_16527
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 92@(103@,8i))
103@ += 1
101@ = 1

:TORENO2_16527
if 
  102@ == 0
goto_if_false @TORENO2_16570
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 92@(103@,8i))
103@ += 1
102@ = 1

:TORENO2_16570
return 

:TORENO2_16572
if 
  104@ == 1
goto_if_false @TORENO2_16648
if 
  101@ == 1
goto_if_false @TORENO2_16648
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @TORENO2_16648
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(76@(74@,8s), 4500, 1)
101@ = 2

:TORENO2_16648
if 
  104@ == 2
goto_if_false @TORENO2_16724
if 
  102@ == 1
goto_if_false @TORENO2_16724
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @TORENO2_16724
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(76@(74@,8s), 4500, 1)
102@ = 2

:TORENO2_16724
return 

:TORENO2_16726
if 
  101@ == 2
goto_if_false @TORENO2_16789
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @TORENO2_16789
Text.ClearThisPrint(76@(74@,8s))
74@ += 1
104@ = 2
101@ = 0

:TORENO2_16789
if 
  102@ == 2
goto_if_false @TORENO2_16852
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @TORENO2_16852
Text.ClearThisPrint(76@(74@,8s))
74@ += 1
104@ = 1
102@ = 0

:TORENO2_16852
return 

//-------------Mission 77---------------
// Originally: Interdiction

:DES3
script_name 'DES3'
gosub @DES3_47
if 
  has_deatharrest_been_executed 
goto_if_false @DES3_38
gosub @DES3_26916

:DES3_38
gosub @DES3_27032
terminate_this_script 

:DES3_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
62@ = 0
63@ = 0
64@ = 0
65@ = 0
TIMERA = 0
TIMERB = 0
66@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
67@ = DecisionMakerChar.Load(DecisionMakerType.Tough)

:DES3_147
wait 0
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @DES3_173
36@ = 1

:DES3_173
39@ += 1
if 
  39@ > 10
goto_if_false @DES3_205
39@ = 0

:DES3_205
40@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 40@
sub_int_lvar_from_int_lvar 42@ -= 41@
set_lvar_int_to_lvar_int 41@ = 40@
add_int_lvar_to_int_lvar 64@ += 42@
add_int_lvar_to_int_lvar 65@ += 42@
add_int_lvar_to_int_lvar 135@ += 42@
add_int_lvar_to_int_lvar 136@ += 42@
add_int_lvar_to_int_lvar 137@ += 42@
add_int_lvar_to_int_lvar 138@ += 42@
sub_int_lvar_from_int_lvar 224@ -= 42@
add_int_lvar_to_int_lvar 139@ += 42@
gosub @DES3_575
switch_start 34@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @DES3_466 {caseNum1} 0 {caseLabel1} @DES3_368 {caseNum2} 1 {caseLabel2} @DES3_382 {caseNum3} 2 {caseLabel3} @DES3_396 {caseNum4} 3 {caseLabel4} @DES3_410 {caseNum5} 4 {caseLabel5} @DES3_424 {caseNum6} 5 {caseLabel6} @DES3_438 {caseNum7} 6 {caseLabel7} @DES3_452

:DES3_368
gosub @DES3_2306
goto @DES3_466

:DES3_382
gosub @DES3_2848
goto @DES3_466

:DES3_396
gosub @DES3_5177
goto @DES3_466

:DES3_410
gosub @DES3_5992
goto @DES3_466

:DES3_424
gosub @DES3_10729
goto @DES3_466

:DES3_438
gosub @DES3_12361
goto @DES3_466

:DES3_452
gosub @DES3_14045
goto @DES3_466

:DES3_466
gosub @DES3_16382

:DES3_473
if 
  38@ == 0
goto_if_false @DES3_573
if 
  37@ == 0
goto_if_false @DES3_557
if 
  36@ == 0
goto_if_false @DES3_541
goto @DES3_147
goto @DES3_550

:DES3_541
gosub @DES3_26934
return 

:DES3_550
goto @DES3_566

:DES3_557
gosub @DES3_26916
return 

:DES3_566
goto @DES3_575

:DES3_573
return 

:DES3_575
if 
is_ps2_keyboard_key_just_pressed 88
goto_if_false @DES3_666
if 
  68@ == 0
goto_if_false @DES3_640
68@ = 1
write_debug "LEVEL_DEBUG_ON"
goto @DES3_666

:DES3_640
68@ = 0
write_debug "LEVEL_DEBUG_OFF"

:DES3_666
if 
  68@ == 1
goto_if_false @DES3_2304
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @DES3_733
69@ += 1
if 
  69@ > 6
goto_if_false @DES3_731
69@ = 0

:DES3_731
clear_all_view_variables 

:DES3_733
if 
  69@ == 1
goto_if_false @DES3_943
set_var_int_to_lvar_int $7483 = 34@
set_var_int_to_lvar_int $7484 = 35@
set_var_int_to_lvar_int $7485 = 62@
set_var_int_to_lvar_int $7486 = 64@
set_var_int_to_lvar_int $DES3_view_debug_f = 63@
set_var_int_to_lvar_int $7488 = 65@
set_var_int_to_lvar_int $7489 = TIMERA
set_var_int_to_lvar_int $7490 = TIMERB
view_integer_variable $7483 {_p2} "M_STAGE"
view_integer_variable $7484 {_p2} "M_GOALS"
view_integer_variable $7485 {_p2} "DIALOGUE_FLAG"
view_integer_variable $7486 {_p2} "DIALOGUE_TIMER"
view_integer_variable $DES3_view_debug_f {_p2} "HELP_FLAG"
view_integer_variable $7488 {_p2} "HELP_TIMER"
view_integer_variable $7489 {_p2} "TIMERA"
view_integer_variable $7490 {_p2} "TIMERB"

:DES3_943
if 
  69@ == 2
goto_if_false @DES3_1217
set_var_int_to_lvar_int $7483 = 108@
set_var_int_to_lvar_int $7484 = 119@
set_var_int_to_lvar_int $7485 = 120@
set_var_int_to_lvar_int $7486 = 121@
set_var_int_to_lvar_int $DES3_view_debug_f = 122@
set_var_int_to_lvar_int $7488 = 127@
set_var_int_to_lvar_int $7489 = 128@
set_var_int_to_lvar_int $7490 = 131@
view_integer_variable $7483 {_p2} "PHELI_PROGRESS"
view_integer_variable $7484 {_p2} "BRAVO_PED_FLAG[0]"
view_integer_variable $7485 {_p2} "BRAVO_PED_FLAG[1]"
view_integer_variable $7486 {_p2} "BRAVO_PED_FLAG[2]"
view_integer_variable $DES3_view_debug_f {_p2} "BRAVO_PED_FLAG[3]"
view_integer_variable $7488 {_p2} "ALPHA_HELIS_FUCKED"
view_integer_variable $7489 {_p2} "BRAVO_HELIS_FUCKED"
view_integer_variable $7490 {_p2} "TOTAL_FUCKED_HELIS"

:DES3_1217
if 
  69@ == 3
goto_if_false @DES3_1455
set_var_int_to_lvar_int $7483 = 109@
set_var_int_to_lvar_int $7484 = 112@
set_var_int_to_lvar_int $7485 = 115@
set_var_int_to_lvar_int $7486 = 116@
set_var_int_to_lvar_int $DES3_view_debug_f = 117@
set_var_int_to_lvar_int $7488 = 118@
set_var_int_to_lvar_int $7489 = 129@
view_integer_variable $7483 {_p2} "ALPHA_HELI_AI"
view_integer_variable $7484 {_p2} "ALPHA_HELI_GOALS"
view_integer_variable $7485 {_p2} "ALPHA_PED_FLAG[0]"
view_integer_variable $7486 {_p2} "ALPHA_PED_FLAG[1]"
view_integer_variable $DES3_view_debug_f {_p2} "ALPHA_PED_FLAG[2]"
view_integer_variable $7488 {_p2} "ALPHA_PED_FLAG[3]"
view_integer_variable $7489 {_p2} "ALPHA_HELI_CONTROL"

:DES3_1455
if 
  69@ == 4
goto_if_false @DES3_1668
set_var_int_to_lvar_int $7483 = 123@
set_var_int_to_lvar_int $7484 = 124@
set_var_int_to_lvar_int $7485 = 125@
set_var_int_to_lvar_int $7486 = 126@
set_var_float_to_lvar_float $pheli_health = 140@
set_var_int_to_lvar_int $7488 = 137@
view_integer_variable $7483 {_p2} "ALPHA_PED_ATTACHED[0]"
view_integer_variable $7484 {_p2} "ALPHA_PED_ATTACHED[1]"
view_integer_variable $7485 {_p2} "ALPHA_PED_ATTACHED[2]"
view_integer_variable $7486 {_p2} "ALPHA_PED_ATTACHED[3]"
view_float_variable $pheli_health {_p2} "FED_DISTANCE"
view_integer_variable $7488 {_p2} "FED_TIMER"

:DES3_1668
if 
  69@ == 5
goto_if_false @DES3_1915
set_var_float_to_lvar_float $7491 = 199@
set_var_float_to_lvar_float $7492 = 202@
set_var_float_to_lvar_float $7493 = 205@
set_var_float_to_lvar_float $7494 = 208@
set_var_float_to_lvar_float $pheli_health = 211@
set_var_float_to_lvar_float $des3_heat = 221@
set_var_float_to_lvar_float $g_Desert6_visibilityKM = 222@
set_var_float_to_lvar_float $g_Desert6_failureKM = 223@
view_float_variable $7491 {_p2} "SWING_SPEED_X"
view_float_variable $7492 {_p2} "SWING_ACCEL_X"
view_float_variable $7493 {_p2} "SWING_ROT_X"
view_float_variable $7494 {_p2} "SWING_DEST_X"
view_float_variable $pheli_health {_p2} "SWING_DIST_X"
view_float_variable $des3_heat {_p2} "SWING_ANGLE_FOR_XY"
view_float_variable $g_Desert6_visibilityKM {_p2} "SWING_DIRECT_DIST"
view_float_variable $g_Desert6_failureKM {_p2} "SWING_2D_DIST"

:DES3_1915
if 
  69@ == 6
goto_if_false @DES3_2169
set_var_float_to_lvar_float $7491 = 220@
set_var_float_to_lvar_float $7492 = 213@
set_var_int_to_lvar_int $7485 = 110@
set_var_int_to_lvar_int $7486 = 113@
set_var_int_to_lvar_int $DES3_view_debug_f = 83@
set_var_int_to_lvar_int $7488 = 76@
set_var_int_to_lvar_int $7489 = 133@
set_var_int_to_lvar_int $7490 = 130@
view_float_variable $7491 {_p2} "SWING_ANGLE_FOR_Z"
view_float_variable $7492 {_p2} "SWING_DIST_Z"
view_integer_variable $7485 {_p2} "BRAVO_HELI_AI"
view_integer_variable $7486 {_p2} "BRAVO_HELI_GOALS"
view_integer_variable $DES3_view_debug_f {_p2} "BRAVO_PILOT"
view_integer_variable $7488 {_p2} "BRAVO_HELI"
view_integer_variable $7489 {_p2} "TOTAL_CREATED_HELIS"
view_integer_variable $7490 {_p2} "BRAVO_HELI_CONTROL"

:DES3_2169
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @DES3_2191
38@ = 1

:DES3_2191
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @DES3_2279
if 
  70@ == 0
goto_if_false @DES3_2254
70@ = 1
write_debug "LEVEL_PAUSED"
goto @DES3_2279

:DES3_2254
70@ = 0
write_debug "LEVEL_UNPAUSED"

:DES3_2279
if 
  70@ == 1
goto_if_false @DES3_2304
goto @DES3_473

:DES3_2304
return 

:DES3_2306
if 
  35@ == -1
goto_if_false @DES3_2642
74@ = Car.Create(413, 0.0, 0.0, 0.0)
75@ = Car.Create(413, 0.0, 0.0, 0.0)
76@ = Car.Create(413, 0.0, 0.0, 0.0)
285@ = Car.Create(413, 0.0, 0.0, 0.0)
286@ = Car.Create(413, 0.0, 0.0, 0.0)
78@ = Car.Create(413, 0.0, 0.0, 0.0)
81@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
82@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
83@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
84@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
88@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
102@ = Blip.AddForCoord(0.0, 0.0, 0.0)
103@ = Blip.AddForCoord(0.0, 0.0, 0.0)
107@ = Blip.AddForCoord(0.0, 0.0, 0.0)

:DES3_2642
108@ = 0
set_lvar_int_to_constant 109@ = 0
set_lvar_int_to_constant 110@ = 0
111@ = 0
112@ = 0
113@ = 0
114@ = 0
43@ = 0

:DES3_2698
if 
  4 > 43@
goto_if_false @DES3_2763
115@(43@,4i) = 0
119@(43@,4i) = 0
123@(43@,4i) = 0
43@ += 1
goto @DES3_2698

:DES3_2763
127@ = 0
128@ = 0
129@ = 0
130@ = 0
$g_Desert6_timerKM = 0
131@ = 0
132@ = 0
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.LoadMissionText('DSERT3')
gosub @DES3_26858
return 

:DES3_2848
if 
  35@ == 0
goto_if_false @DES3_3481
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:DES3_2880
if 
  Camera.GetFadingStatus
goto_if_false @DES3_2904
wait 0
goto @DES3_2880

:DES3_2904
World.ClearArea(-691.0, 941.0, 13.0, 10.0, True)
Cutscene.Load('DESERT3')

:DES3_2939
if 
  not Cutscene.HasLoaded
goto_if_false @DES3_2963
wait 0
goto @DES3_2939

:DES3_2963
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DES3_2972
if 
  not Cutscene.HasFinished
goto_if_false @DES3_2996
wait 0
goto @DES3_2972

:DES3_2996
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:DES3_3009
if 
  Camera.GetFadingStatus
goto_if_false @DES3_3033
wait 0
goto @DES3_3009

:DES3_3033
Cutscene.Clear
World.ClearArea(-701.5853, 965.8546, 11.3768, 5.0, True)
Streaming.RequestModel(424)

:DES3_3064
if 
  not Streaming.HasModelLoaded(424)
goto_if_false @DES3_3091
wait 0
goto @DES3_3064

:DES3_3091
$stealth_help_flag = Car.Create(424, -701.5853, 965.8546, 11.3768)
Car.SetHeading($stealth_help_flag, 90.4785)
Streaming.MarkModelAsNoLongerNeeded(424)
Audio.SetRadioChannel(RadioChannel.WCTR)
if 
  $7482 > 0
goto_if_false @DES3_3173
Skip.SetUp(-426.8536, 2213.783, 41.4297, 9.9101)

:DES3_3173
Char.SetCoordinates($stattreadstamina_ctr, -688.7614, 946.5271, 12.0312)
Char.SetHeading($stattreadstamina_ctr, 94.6779)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Weather.Force(WeatherType.ExtraSunnyDesert)
101@ = Blip.AddForCoord(-429.025, 2226.223, 41.4297)
Text.Print('AIR1_13', 5000, 1)
Streaming.RequestModel(568)
Streaming.RequestModel(471)
Streaming.RequestModel(468)
Streaming.RequestModel(360)
Streaming.LoadAllModelsNow

:DES3_3269
if or
  not Streaming.HasModelLoaded(568)
  not Streaming.HasModelLoaded(471)
  not Streaming.HasModelLoaded(468)
  not Streaming.HasModelLoaded(360)
goto_if_false @DES3_3311
wait 0
goto @DES3_3269

:DES3_3311
Camera.DoFade(500, Fade.In)

:DES3_3318
if 
  Camera.GetFadingStatus
goto_if_false @DES3_3342
wait 0
goto @DES3_3318

:DES3_3342
Player.SetControl($statbike_temp, True)
71@ = Car.Create(471, -434.5365, 2237.567, 41.869)
72@ = Car.Create(468, -426.2288, 2240.41, 41.4297)
73@ = Car.Create(568, -428.1476, 2235.207, 42.3505)
Car.SetHeading(71@, 291.5598)
Car.SetHeading(72@, 179.3694)
Car.SetHeading(73@, 102.7597)
Streaming.MarkModelAsNoLongerNeeded(471)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(568)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 13200)
35@ += 1

:DES3_3481
if 
  35@ == 1
goto_if_false @DES3_3767
if 
  68@ == 1
goto_if_false @DES3_3554
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @DES3_3554
Char.SetCoordinates($stattreadstamina_ctr, -424.6452, 2207.541, 41.4297)

:DES3_3554
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -429.025, 2226.223, 41.4297, 4.0, 4.0, 4.0, True)
goto_if_false @DES3_3767
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DES3_3705
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if and
  not Char.IsInAnyHeli($stattreadstamina_ctr)
  not Char.IsInAnyPlane($stattreadstamina_ctr)
goto_if_false @DES3_3684
if 
  Car.IsOnAllWheels($stealth_help_flag)
goto_if_false @DES3_3677
Player.SetControl($statbike_temp, False)
35@ += 1

:DES3_3677
goto @DES3_3698

:DES3_3684
Player.SetControl($statbike_temp, False)
35@ += 1

:DES3_3698
goto @DES3_3767

:DES3_3705
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, -429.025, 2226.223, 41.4297, 4.0, 4.0, 4.0, False)
goto_if_false @DES3_3767
Player.SetControl($statbike_temp, False)
35@ += 1

:DES3_3767
if 
  35@ == 2
goto_if_false @DES3_3956
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DES3_3949
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if and
  not Char.IsInAnyHeli($stattreadstamina_ctr)
  not Char.IsInAnyPlane($stattreadstamina_ctr)
goto_if_false @DES3_3860
if 
  Car.IsStopped($stealth_help_flag)
goto_if_false @DES3_3853
35@ += 1

:DES3_3853
goto @DES3_3942

:DES3_3860
Camera.DoFade(500, Fade.Out)

:DES3_3867
if 
  Camera.GetFadingStatus
goto_if_false @DES3_3891
wait 0
goto @DES3_3867

:DES3_3891
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @DES3_3935
Car.SetCoordinates($stealth_help_flag, -429.025, 2226.223, 41.4297)

:DES3_3935
35@ += 1

:DES3_3942
goto @DES3_3956

:DES3_3949
35@ += 1

:DES3_3956
if 
  35@ == 3
goto_if_false @DES3_4210
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DES3_4005
134@ = 1
goto @DES3_4012

:DES3_4005
134@ = 0

:DES3_4012
Blip.Remove(101@)
Skip.Clear
World.ClearArea(-432.3058, 2234.375, 41.4697, 5.0, True)
Camera.SetFixedPosition(-433.342, 2232.176, 43.6323, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-432.7942, 2232.997, 43.4724, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -433.0047, 2230.246, 40.4297)
Char.SetHeading($stattreadstamina_ctr, 341.959)
Task.GoStraightToCoord($stattreadstamina_ctr, -432.3058, 2234.375, 41.4697, MoveState.Walk, 5000)
Camera.DoFade(500, Fade.In)

:DES3_4172
if 
  Camera.GetFadingStatus
goto_if_false @DES3_4196
wait 0
goto @DES3_4172

:DES3_4196
TIMERA = 0
35@ += 1

:DES3_4210
if 
  35@ > 3
goto_if_false @DES3_4309
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DES3_4284
if 
  134@ == 0
goto_if_false @DES3_4277
35@ = 99
134@ = 1

:DES3_4277
goto @DES3_4309

:DES3_4284
if 
  134@ == 1
goto_if_false @DES3_4309
134@ = 0

:DES3_4309
if 
  35@ == 4
goto_if_false @DES3_4411
if 
  TIMERA > 1000
goto_if_false @DES3_4411
set_var_text_label s$bd_future_time_shown = 'DES3_AA'
set_var_int_to_constant $bd_x = 13200
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 13201)
TIMERB = 0
35@ += 1

:DES3_4411
if 
  35@ == 5
goto_if_false @DES3_4591
if 
  TIMERB > 1000
goto_if_false @DES3_4591
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_4591
Camera.SetFixedPosition(-433.6039, 2235.21, 43.11, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-432.6751, 2234.851, 43.0197, SwitchType.JumpCut)
set_var_text_label s$bd_future_time_shown = 'DES3_AB'
set_var_int_to_constant $bd_x = 13201
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 13202)
Task.LookAbout($stattreadstamina_ctr, 2000)
TIMERB = 0
35@ += 1

:DES3_4591
if 
  35@ == 6
goto_if_false @DES3_4785
if 
  TIMERB > 1000
goto_if_false @DES3_4785
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_4785
Camera.SetFixedPosition(-430.2061, 2236.695, 42.8085, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-429.379, 2237.234, 42.9687, SwitchType.JumpCut)
set_var_text_label s$bd_future_time_shown = 'DES3_AC'
set_var_int_to_constant $bd_x = 13202
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 13203)
Camera.ResetNewScriptables
Camera.PersistFov(True)
Camera.SetLerpFov(70.0, 100.0, 10000, True)
TIMERB = 0
35@ += 1

:DES3_4785
if 
  35@ == 7
goto_if_false @DES3_4905
if 
  TIMERB > 1000
goto_if_false @DES3_4905
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_4905
set_var_text_label s$bd_future_time_shown = 'DES3_AD'
set_var_int_to_constant $bd_x = 13203
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 13204)
TIMERB = 0
35@ += 1

:DES3_4905
if 
  35@ == 8
goto_if_false @DES3_5014
if 
  TIMERB > 1000
goto_if_false @DES3_5014
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_5014
set_var_text_label s$bd_future_time_shown = 'DES3_AE'
set_var_int_to_constant $bd_x = 13204
start_new_script @AUDIOL -1 0 1 1 1 
TIMERB = 0
35@ += 1

:DES3_5014
if 
  35@ == 9
goto_if_false @DES3_5076
if 
  TIMERB > 1000
goto_if_false @DES3_5076
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_5076
35@ = 99

:DES3_5076
if 
  35@ == 99
goto_if_false @DES3_5175
$7482 += 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -432.3058, 2234.375, 41.4697)
Char.SetHeading($stattreadstamina_ctr, 341.959)
Car.MarkAsNoLongerNeeded($stealth_help_flag)
Camera.ResetNewScriptables
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
gosub @DES3_26858

:DES3_5175
return 

:DES3_5177
if 
  35@ == 0
goto_if_false @DES3_5260
97@ = Pickup.CreateWithAmmo(359, PickupType.Once, 40, -431.3719, 2240.132, 42.6177)
106@ = Blip.AddForPickup(97@)
Text.PrintNow('AIR1_15', 5000, 1)
TIMERA = 0
35@ += 1

:DES3_5260
if 
  35@ == 1
goto_if_false @DES3_5429
if or
  Pickup.HasBeenCollected(97@)
  TIMERA > 7000
goto_if_false @DES3_5429
Blip.Remove(106@)
Blip.Remove(101@)
101@ = Blip.AddForCoord(-804.5877, 2377.843, 151.7558)
Text.PrintNow('AIR1_16', 7000, 1)
Streaming.RequestAnimation("BOMBER")

:DES3_5358
if 
  not Streaming.HasAnimationLoaded("BOMBER")
goto_if_false @DES3_5390
wait 0
goto @DES3_5358

:DES3_5390
Streaming.RequestModel(343)

:DES3_5395
if 
  not Streaming.HasModelLoaded(343)
goto_if_false @DES3_5422
wait 0
goto @DES3_5395

:DES3_5422
35@ += 1

:DES3_5429
if 
  35@ == 2
goto_if_false @DES3_5715
if 
  68@ == 1
goto_if_false @DES3_5502
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @DES3_5502
Char.SetCoordinates($stattreadstamina_ctr, -798.1865, 2419.41, 155.9362)

:DES3_5502
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -804.5877, 2377.843, 151.7558, 4.0, 4.0, 4.0, True)
goto_if_false @DES3_5715
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DES3_5653
80@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if and
  not Char.IsInAnyHeli($stattreadstamina_ctr)
  not Char.IsInAnyPlane($stattreadstamina_ctr)
goto_if_false @DES3_5632
if 
  Car.IsOnAllWheels(80@)
goto_if_false @DES3_5625
Player.SetControl($statbike_temp, False)
35@ += 1

:DES3_5625
goto @DES3_5646

:DES3_5632
Player.SetControl($statbike_temp, False)
35@ += 1

:DES3_5646
goto @DES3_5715

:DES3_5653
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, -804.5877, 2377.843, 151.7558, 4.0, 4.0, 4.0, False)
goto_if_false @DES3_5715
Player.SetControl($statbike_temp, False)
35@ += 1

:DES3_5715
if 
  35@ == 3
goto_if_false @DES3_5904
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DES3_5897
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if and
  not Char.IsInAnyHeli($stattreadstamina_ctr)
  not Char.IsInAnyPlane($stattreadstamina_ctr)
goto_if_false @DES3_5808
if 
  Car.IsStopped($stealth_help_flag)
goto_if_false @DES3_5801
35@ += 1

:DES3_5801
goto @DES3_5890

:DES3_5808
Camera.DoFade(500, Fade.Out)

:DES3_5815
if 
  Camera.GetFadingStatus
goto_if_false @DES3_5839
wait 0
goto @DES3_5815

:DES3_5839
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @DES3_5883
Car.SetCoordinates($stealth_help_flag, -804.5877, 2377.843, 151.7558)

:DES3_5883
35@ += 1

:DES3_5890
goto @DES3_5904

:DES3_5897
35@ += 1

:DES3_5904
if 
  35@ == 4
goto_if_false @DES3_5965
Camera.DoFade(500, Fade.Out)

:DES3_5929
if 
  Camera.GetFadingStatus
goto_if_false @DES3_5953
wait 0
goto @DES3_5929

:DES3_5953
Blip.Remove(101@)
35@ = 99

:DES3_5965
if 
  35@ == 99
goto_if_false @DES3_5990
gosub @DES3_26858

:DES3_5990
return 

:DES3_5992
if 
  35@ == 0
goto_if_false @DES3_6261
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DES3_6034
134@ = 1

:DES3_6034
100@ = 0
Player.SetControl($statbike_temp, False)
Streaming.RequestModel(487)
Streaming.RequestModel(165)
Streaming.RequestModel(166)
Streaming.RequestModel(61)
Streaming.RequestModel(355)
Streaming.RequestModel(417)
Streaming.RequestAnimation("BOMBER")
Streaming.LoadAllModelsNow

:DES3_6089
if or
  not Streaming.HasModelLoaded(487)
  not Streaming.HasModelLoaded(165)
  not Streaming.HasModelLoaded(166)
  not Streaming.HasModelLoaded(61)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasModelLoaded(417)
goto_if_false @DES3_6140
wait 0
goto @DES3_6089

:DES3_6140
if 
  not Streaming.HasAnimationLoaded("BOMBER")
goto_if_false @DES3_6172
wait 0
goto @DES3_6140

:DES3_6172
Streaming.RequestCarRecording(530)
Streaming.RequestCarRecording(531)
Streaming.RequestCarRecording(532)
Streaming.RequestCarRecording(533)
Streaming.RequestCarRecording(534)
Streaming.RequestCarRecording(535)

:DES3_6202
if or
  not Streaming.HasCarRecordingBeenLoaded(530)
  not Streaming.HasCarRecordingBeenLoaded(531)
  not Streaming.HasCarRecordingBeenLoaded(532)
  not Streaming.HasCarRecordingBeenLoaded(533)
  not Streaming.HasCarRecordingBeenLoaded(534)
  not Streaming.HasCarRecordingBeenLoaded(535)
goto_if_false @DES3_6254
wait 0
goto @DES3_6202

:DES3_6254
35@ += 1

:DES3_6261
if 
  35@ > 0
goto_if_false @DES3_6360
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DES3_6335
if 
  134@ == 0
goto_if_false @DES3_6328
35@ = 99
134@ = 1

:DES3_6328
goto @DES3_6360

:DES3_6335
if 
  134@ == 1
goto_if_false @DES3_6360
134@ = 0

:DES3_6360
if 
  35@ == 1
goto_if_false @DES3_6593
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
World.ClearArea(-800.611, 2404.788, 155.168, 5.0, True)
World.ClearArea(-800.8441, 2408.354, 155.4525, 5.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -800.611, 2404.788, 155.168)
Char.SetHeading($stattreadstamina_ctr, 342.2393)
Task.GoStraightToCoord($stattreadstamina_ctr, -800.8441, 2408.354, 155.4525, MoveState.Walk, 10000)
Camera.SetFixedPosition(-797.7917, 2403.735, 157.1193, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-798.3541, 2404.542, 156.9353, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Camera.DoFade(500, Fade.In)

:DES3_6555
if 
  Camera.GetFadingStatus
goto_if_false @DES3_6579
wait 0
goto @DES3_6555

:DES3_6579
35@ += 1
TIMERA = 0

:DES3_6593
if 
  35@ == 2
goto_if_false @DES3_6674
if or
  Char.LocateOnFoot3D($stattreadstamina_ctr, -800.8441, 2408.354, 155.4525, 1.0, 1.0, 2.0, False)
  TIMERA > 5000
goto_if_false @DES3_6674
35@ += 1

:DES3_6674
if 
  35@ == 3
goto_if_false @DES3_6869
94@ = Object.Create(343, 0.0, 0.0, 0.0)
49@ = Sequence.Open()
Task.PickUpObject(-1, 94@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
Task.PlayAnim(-1, "BOM_PLANT_IN", "BOMBER", 4.0, False, False, False, True, -1)
Task.PlayAnim(-1, "BOM_PLANT_LOOP", "BOMBER", 4.0, False, False, False, False, -1)
Sequence.Close(49@)
Char.PerformSequence($stattreadstamina_ctr, 49@)
Sequence.Clear(49@)
35@ += 1

:DES3_6869
if 
  35@ == 4
goto_if_false @DES3_6977
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BOM_PLANT_LOOP")
goto_if_false @DES3_6977
Camera.SetFixedPosition(-789.7653, 2416.895, 163.5839, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-790.3218, 2416.124, 163.2729, SwitchType.JumpCut)
35@ += 1

:DES3_6977
if 
  35@ == 5
goto_if_false @DES3_7178
43@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 43@ == 7
goto_if_false @DES3_7178
Char.DropObject($stattreadstamina_ctr, False)
Object.FreezePosition(94@, True)
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
$in_carX += 0.05
Object.SetCoordinates(94@, $on_footY, $on_footZ, $in_carX)
100@ = Particle.CreateOnObject("SMOKE_FLARE", 94@, 0.0, 0.0, 0.1, 1)
Particle.Play(100@)
Char.ClearTasks($stattreadstamina_ctr)
TIMERA = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 13205)
35@ += 1

:DES3_7178
if 
  35@ == 6
goto_if_false @DES3_7222
if 
  TIMERA > 4000
goto_if_false @DES3_7222
35@ += 1

:DES3_7222
if 
  35@ == 7
goto_if_false @DES3_7388
Camera.SetFixedPosition(-779.9253, 2418.338, 157.8122, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-778.9708, 2418.629, 157.7476, SwitchType.JumpCut)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -786.2731, 2416.113, 156.0893)
Char.SetHeading($stattreadstamina_ctr, 284.998)
Task.GoStraightToCoord($stattreadstamina_ctr, -782.2095, 2417.027, 156.1289, MoveState.Walk, 5000)
Camera.ResetNewScriptables
Camera.PersistFov(True)
Camera.SetLerpFov(70.0, 100.0, 10000, True)
TIMERA = 0
35@ += 1

:DES3_7388
if 
  35@ == 8
goto_if_false @DES3_7515
if 
  TIMERA > 1000
goto_if_false @DES3_7515
set_var_text_label s$bd_future_time_shown = 'DES3_BA'
set_var_int_to_constant $bd_x = 13205
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 13206)
Task.LookAtCoord($stattreadstamina_ctr, -809.4514, 2426.515, 158.8622, 99999)
TIMERA = 0
35@ += 1

:DES3_7515
if 
  35@ == 9
goto_if_false @DES3_7636
if 
  TIMERA > 1000
goto_if_false @DES3_7636
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_7636
set_var_text_label s$bd_future_time_shown = 'DES3_BB'
set_var_int_to_constant $bd_x = 13206
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 13207)
TIMERA = 0
35@ += 1

:DES3_7636
if 
  35@ == 10
goto_if_false @DES3_7698
if 
  TIMERA > 1000
goto_if_false @DES3_7698
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_7698
35@ += 1

:DES3_7698
if 
  35@ == 11
goto_if_false @DES3_8436
Camera.DoFade(500, Fade.Out)

:DES3_7723
if 
  Camera.GetFadingStatus
goto_if_false @DES3_7747
wait 0
goto @DES3_7723

:DES3_7747
196@ = Audio.GetRadioChannel()
Audio.SetRadioChannel(RadioChannel.UserTracks)
if 
  Car.DoesExist(71@)
goto_if_false @DES3_7824
if 
  not Car.IsDead(71@)
goto_if_false @DES3_7824
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 71@, 100.0, 100.0, False)
goto_if_false @DES3_7824
Car.MarkAsNoLongerNeeded(71@)

:DES3_7824
if 
  Car.DoesExist(73@)
goto_if_false @DES3_7892
if 
  not Car.IsDead(73@)
goto_if_false @DES3_7892
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 73@, 100.0, 100.0, False)
goto_if_false @DES3_7892
Car.MarkAsNoLongerNeeded(73@)

:DES3_7892
if 
  Car.DoesExist(72@)
goto_if_false @DES3_7960
if 
  not Car.IsDead(72@)
goto_if_false @DES3_7960
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 72@, 100.0, 100.0, False)
goto_if_false @DES3_7960
Car.MarkAsNoLongerNeeded(72@)

:DES3_7960
$on_footY = -778.9708
$on_footY += 779.9253
$on_footZ = 2418.629
$on_footZ -= 2418.338
$on_footX = Math.GetHeadingFromVector2D($on_footY, $on_footZ)
Streaming.LoadSceneInDirection(-1373.0, 2004.0, 108.0, $on_footX)
gosub @DES3_17557
if 
  not Car.IsDead(74@)
goto_if_false @DES3_8142
Car.StartPlayback(74@, 530)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, 0.0, -20.0, 0.0)
77@ = Car.Create(417, $on_footY, $on_footZ, $in_carX)
Heli.SetBladesFullSpeed(77@)
Car.StartPlayback(77@, 531)
Car.SetVisible(77@, False)
Hud.SwitchWidescreen(True)
Char.WarpIntoCarAsPassenger($stattreadstamina_ctr, 74@, 0)

:DES3_8142
108@ = 0
62@ = 0
if 
  not Car.IsDead(77@)
goto_if_false @DES3_8219
Heli.DisableAudio(77@, True)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(77@)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)

:DES3_8219
if 
  not Car.IsDead(74@)
goto_if_false @DES3_8277
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, 5.0, -10.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:DES3_8277
Camera.DoFade(500, Fade.In)

:DES3_8284
if 
  Camera.GetFadingStatus
goto_if_false @DES3_8422
if 
  not Car.IsDead(77@)
goto_if_false @DES3_8353
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(77@)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)

:DES3_8353
if 
  not Car.IsDead(74@)
goto_if_false @DES3_8411
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, 5.0, -10.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:DES3_8411
wait 0
goto @DES3_8284

:DES3_8422
TIMERA = 0
35@ += 1

:DES3_8436
if 
  35@ == 12
goto_if_false @DES3_8608
if 
  not Car.IsDead(77@)
goto_if_false @DES3_8510
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(77@)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)

:DES3_8510
if 
  not Car.IsDead(74@)
goto_if_false @DES3_8568
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, 5.0, -10.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:DES3_8568
if 
  TIMERA > 11700
goto_if_false @DES3_8608
Camera.DoFade(300, Fade.Out)
TIMERA = 0
35@ += 1

:DES3_8608
if 
  35@ == 13
goto_if_false @DES3_8806
if 
  Camera.GetFadingStatus
goto_if_false @DES3_8760
if 
  not Car.IsDead(77@)
goto_if_false @DES3_8695
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(77@)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)

:DES3_8695
if 
  not Car.IsDead(74@)
goto_if_false @DES3_8753
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, 5.0, -10.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:DES3_8753
goto @DES3_8806

:DES3_8760
Camera.SetFixedPosition(-1047.62, 2164.925, 88.4215, 0.0, 0.0, 0.0)
TIMERA = 0
35@ += 1

:DES3_8806
if 
  35@ == 14
goto_if_false @DES3_9254
if 
  not Car.IsDead(74@)
goto_if_false @DES3_8861
if 
  Car.IsPlaybackGoingOn(74@)
goto_if_false @DES3_8861
Car.StopPlayback(74@)

:DES3_8861
gosub @DES3_18288
gosub @DES3_23443
if 
  not Car.IsDead(75@)
goto_if_false @DES3_8904
Car.StartPlayback(75@, 532)
Car.PausePlayback(75@)

:DES3_8904
if 
  not Car.IsDead(76@)
goto_if_false @DES3_8933
Car.StartPlayback(76@, 533)
Car.PausePlayback(76@)

:DES3_8933
if 
  not Car.IsDead(74@)
goto_if_false @DES3_8962
Car.StartPlayback(74@, 535)
Car.PausePlayback(74@)

:DES3_8962
Camera.SetFixedPosition(-798.5942, 2436.184, 172.1772, 0.0, 0.0, 0.0)
if 
  not Car.IsDead(74@)
goto_if_false @DES3_9039
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, -15.0, 5.0, -3.0)

:DES3_9039
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
Streaming.LoadSceneInDirection(-778.0, 2465.0, 168.0, 45.0)
if 
  not Car.IsDead(75@)
goto_if_false @DES3_9095
Car.UnpausePlayback(75@)

:DES3_9095
if 
  not Car.IsDead(76@)
goto_if_false @DES3_9116
Car.UnpausePlayback(76@)

:DES3_9116
if 
  not Car.IsDead(74@)
goto_if_false @DES3_9137
Car.UnpausePlayback(74@)

:DES3_9137
Camera.DoFade(300, Fade.In)

:DES3_9144
if 
  Camera.GetFadingStatus
goto_if_false @DES3_9226
if 
  not Car.IsDead(74@)
goto_if_false @DES3_9202
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, -15.0, 5.0, -3.0)

:DES3_9202
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
wait 0
goto @DES3_9144

:DES3_9226
62@ = 0
TIMERB = 0
TIMERA = 0
35@ += 1

:DES3_9254
if 
  35@ == 15
goto_if_false @DES3_10273
if 
  62@ <> 7
goto_if_false @DES3_10006
if 
  not Car.IsDead(74@)
goto_if_false @DES3_9335
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, -15.0, 5.0, -3.0)

:DES3_9335
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
if 
  TIMERB > 1000
goto_if_false @DES3_9999
switch_start 62@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @DES3_9999 {caseNum1} 0 {caseLabel1} @DES3_9430 {caseNum2} 1 {caseLabel2} @DES3_9520 {caseNum3} 2 {caseLabel3} @DES3_9610 {caseNum4} 3 {caseLabel4} @DES3_9700 {caseNum5} 4 {caseLabel5} @DES3_9790 {caseNum6} 5 {caseLabel6} @DES3_9881 {caseNum7} 6 {caseLabel7} @DES3_9960

:DES3_9430
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_9513
set_var_text_label s$bd_future_time_shown = 'DES3_BC'
set_var_int_to_constant $bd_x = 13207
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 13208)
TIMERB = 0
62@ += 1

:DES3_9513
goto @DES3_9999

:DES3_9520
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_9603
set_var_text_label s$bd_future_time_shown = 'DES3_BD'
set_var_int_to_constant $bd_x = 13208
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 13209)
TIMERB = 0
62@ += 1

:DES3_9603
goto @DES3_9999

:DES3_9610
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_9693
set_var_text_label s$bd_future_time_shown = 'DES3_BE'
set_var_int_to_constant $bd_x = 13209
start_new_script @AUDIOL -1 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 13210)
TIMERB = 0
62@ += 1

:DES3_9693
goto @DES3_9999

:DES3_9700
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_9783
set_var_text_label s$bd_future_time_shown = 'DES3_BF'
set_var_int_to_constant $bd_x = 13210
start_new_script @AUDIOL -1 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 13211)
TIMERB = 0
62@ += 1

:DES3_9783
goto @DES3_9999

:DES3_9790
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_9874
set_var_text_label s$bd_future_time_shown = 'DES3_BG'
set_var_int_to_constant $bd_x = 13211
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 13212)
TIMERB = 0
62@ += 1

:DES3_9874
goto @DES3_9999

:DES3_9881
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_9953
set_var_text_label s$bd_future_time_shown = 'DES3_BH'
set_var_int_to_constant $bd_x = 13212
start_new_script @AUDIOL -1 0 1 2 1 
TIMERB = 0
62@ += 1

:DES3_9953
goto @DES3_9999

:DES3_9960
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_9992
TIMERB = 0
62@ += 1

:DES3_9992
goto @DES3_9999

:DES3_9999
goto @DES3_10273

:DES3_10006
if 
  TIMERB > 2000
goto_if_false @DES3_10215
if 
  not Car.IsDead(74@)
goto_if_false @DES3_10070
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, -15.0, 5.0, -3.0)

:DES3_10070
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
if 
  not Car.IsDead(75@)
goto_if_false @DES3_10120
if 
  Car.IsPlaybackGoingOn(75@)
goto_if_false @DES3_10120
Car.StopPlayback(75@)

:DES3_10120
if 
  not Car.IsDead(76@)
goto_if_false @DES3_10157
if 
  Car.IsPlaybackGoingOn(76@)
goto_if_false @DES3_10157
Car.StopPlayback(76@)

:DES3_10157
if 
  not Car.IsDead(74@)
goto_if_false @DES3_10194
if 
  Car.IsPlaybackGoingOn(74@)
goto_if_false @DES3_10194
Car.StopPlayback(74@)

:DES3_10194
Camera.DoFade(150, Fade.Out)
35@ += 1
goto @DES3_10273

:DES3_10215
if 
  not Car.IsDead(74@)
goto_if_false @DES3_10260
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, -15.0, 5.0, -3.0)

:DES3_10260
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:DES3_10273
if 
  35@ == 16
goto_if_false @DES3_10376
if 
  Camera.GetFadingStatus
goto_if_false @DES3_10369
if 
  not Car.IsDead(74@)
goto_if_false @DES3_10349
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, -15.0, 5.0, -3.0)

:DES3_10349
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
goto @DES3_10376

:DES3_10369
35@ = 99

:DES3_10376
if 
  35@ == 99
goto_if_false @DES3_10727
Camera.DoFade(0, Fade.Out)
if 
  Object.DoesExist(94@)
goto_if_false @DES3_10510
if 
  Char.IsHoldingObject($stattreadstamina_ctr, 94@)
goto_if_false @DES3_10442
Char.DropObject($stattreadstamina_ctr, True)

:DES3_10442
if 
  100@ == 0
goto_if_false @DES3_10503
100@ = Particle.CreateOnObject("SMOKE_FLARE", 94@, 0.0, 0.0, 0.1, 1)
Particle.Play(100@)

:DES3_10503
goto @DES3_10624

:DES3_10510
$on_footY = -800.8441
$on_footZ = 2408.354
$in_carX = 155.4525
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
$in_carX += 1.0
94@ = Object.Create(343, $on_footY, $on_footZ, $in_carX)
100@ = Particle.CreateOnObject("SMOKE_FLARE", 94@, 0.0, 0.0, 0.1, 1)
Particle.Play(100@)

:DES3_10624
Camera.ResetNewScriptables
Char.ClearTasksImmediately($stattreadstamina_ctr)
Streaming.LoadScene(-806.467, 2420.75, 155.9102)
Char.SetCoordinates($stattreadstamina_ctr, -806.467, 2420.75, 155.9102)
Char.SetHeading($stattreadstamina_ctr, 190.8497)
if 
  Car.DoesExist(77@)
goto_if_false @DES3_10699
Car.Delete(77@)

:DES3_10699
gosub @DES3_17660
gosub @DES3_19147
gosub @DES3_24422
gosub @DES3_26858

:DES3_10727
return 

:DES3_10729
if 
  35@ == 0
goto_if_false @DES3_11344
Streaming.RequestModel(487)
Streaming.RequestModel(165)
Streaming.RequestModel(166)
Streaming.RequestModel(61)
Streaming.RequestModel(355)
Streaming.RequestModel(417)

:DES3_10776
if or
  not Streaming.HasModelLoaded(487)
  not Streaming.HasModelLoaded(165)
  not Streaming.HasModelLoaded(166)
  not Streaming.HasModelLoaded(61)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasModelLoaded(417)
goto_if_false @DES3_10827
wait 0
goto @DES3_10776

:DES3_10827
133@ = 0
231@ = -780.6791
232@ = 2482.339
233@ = 170.8723
234@ = 151.9289
gosub @DES3_18288
259@ = -750.933
260@ = 2465.285
261@ = 180.7247
262@ = 144.1498
gosub @DES3_23443
227@ = -772.2108
228@ = 2419.843
229@ = 174.0836
230@ = 176.9396
gosub @DES3_17557
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -789.7678, 2416.916, 156.022)
Char.SetHeading($stattreadstamina_ctr, 190.8497)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
TIMERA = 0
111@ = 0
114@ = 0
set_lvar_int_to_constant 109@ = 5
112@ = 0
set_lvar_int_to_constant 110@ = 0
113@ = 0
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
$g_Desert6_timerKM = 100
Text.PrintNow('AIR1_06', 7000, 1)
Hud.DisplayCounterWithString($g_Desert6_timerKM, CounterDisplay.Bar, 'AIR1_17')
if 
  not Car.IsDead(71@)
goto_if_false @DES3_11140
Car.CanBeTargetedByHsMissile(71@, False)

:DES3_11140
if 
  not Car.IsDead(72@)
goto_if_false @DES3_11163
Car.CanBeTargetedByHsMissile(72@, False)

:DES3_11163
if 
  not Car.IsDead(73@)
goto_if_false @DES3_11186
Car.CanBeTargetedByHsMissile(73@, False)

:DES3_11186
if 
  not Car.IsDead(74@)
goto_if_false @DES3_11209
Car.CanBeTargetedByHsMissile(74@, False)

:DES3_11209
98@ = Pickup.Create(#HEALTH, PickupType.Once, -770.752, 2423.63, 157.0753)
99@ = Pickup.CreateWithAmmo(359, PickupType.Once, 20, -808.1523, 2430.788, 156.9872)
Game.SetMaxFireGenerations(3)
Game.SetWantedMultiplier(0.5)
Game.SetMaxWantedLevel(2)
Game.SwitchPoliceHelis(False)
197@ = 0
129@ = 1
130@ = 1
Audio.SetRadioChannel(196@)
Camera.DoFade(150, Fade.In)

:DES3_11313
if 
  Camera.GetFadingStatus
goto_if_false @DES3_11337
wait 0
goto @DES3_11313

:DES3_11337
35@ += 1

:DES3_11344
if 
  not Car.IsDead(74@)
goto_if_false @DES3_11704
if 
  139@ > 50
goto_if_false @DES3_11660
43@ = Car.GetHealth(74@)
if 
  43@ > 100
goto_if_false @DES3_11653
43@ = 0
if 
  not Car.IsDead(75@)
goto_if_false @DES3_11490
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(75@)
if 
  Car.Locate3D(74@, $on_footY, $on_footZ, $in_carX, 40.0, 40.0, 40.0, False)
goto_if_false @DES3_11490
43@ = 1

:DES3_11490
if 
  43@ == 0
goto_if_false @DES3_11587
if 
  not Car.IsDead(76@)
goto_if_false @DES3_11587
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(76@)
if 
  Car.Locate3D(74@, $on_footY, $on_footZ, $in_carX, 40.0, 40.0, 40.0, False)
goto_if_false @DES3_11587
43@ = 1

:DES3_11587
if 
  43@ == 1
goto_if_false @DES3_11653
43@ = Car.GetHealth(74@)
43@ += -5
if 
  0 > 43@
goto_if_false @DES3_11645
43@ = 1

:DES3_11645
Car.SetHealth(74@, 43@)

:DES3_11653
139@ = 0

:DES3_11660
43@ = Car.GetHealth(74@)
cset_lvar_float_to_lvar_int 46@ =# 43@
46@ /= 5000.0
46@ *= 100.0
cset_var_int_to_lvar_float $g_Desert6_timerKM =# 46@

:DES3_11704
if 
  35@ == 1
goto_if_false @DES3_12253
if 
  133@ == 5
goto_if_false @DES3_11772
if 
  197@ == 0
goto_if_false @DES3_11772
set_lvar_int_to_constant 109@ = 5
197@ += 1

:DES3_11772
if 
  5 > 133@
goto_if_false @DES3_11901
if 
  75@ == 0
goto_if_false @DES3_11901
if 
  129@ == 0
goto_if_false @DES3_11901
231@ = -344.9471
232@ = 2724.421
233@ = 186.0
234@ = 110.0
gosub @DES3_18288
set_lvar_int_to_constant 109@ = 0
112@ = 0
129@ += 1
TIMERA = 0

:DES3_11901
if 
  5 > 133@
goto_if_false @DES3_12030
if 
  76@ == 0
goto_if_false @DES3_12030
if 
  130@ == 0
goto_if_false @DES3_12030
259@ = -324.9471
260@ = 2704.421
261@ = 186.0
262@ = 110.0
gosub @DES3_23443
set_lvar_int_to_constant 110@ = 0
113@ = 0
130@ += 1
TIMERB = 0

:DES3_12030
if 
  129@ > 0
goto_if_false @DES3_12094
if 
  75@ == 0
goto_if_false @DES3_12094
127@ += 1
131@ += 1
129@ = 0
TIMERA = 0

:DES3_12094
if 
  130@ > 0
goto_if_false @DES3_12158
if 
  76@ == 0
goto_if_false @DES3_12158
128@ += 1
131@ += 1
130@ = 0
TIMERB = 0

:DES3_12158
if 
  68@ == 1
goto_if_false @DES3_12200
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @DES3_12200
131@ = 5

:DES3_12200
if 
  131@ == 5
goto_if_false @DES3_12232
TIMERA = 0
35@ += 1

:DES3_12232
gosub @DES3_17718
gosub @DES3_19279
gosub @DES3_24554

:DES3_12253
if 
  35@ == 2
goto_if_false @DES3_12297
if 
  TIMERA > 2000
goto_if_false @DES3_12297
35@ = 99

:DES3_12297
if 
  35@ == 99
goto_if_false @DES3_12359
Game.SetWantedMultiplier(1.0)
Game.SetMaxWantedLevel(6)
Hud.ClearCounter($g_Desert6_timerKM)
gosub @DES3_17660
gosub @DES3_19147
gosub @DES3_24422
gosub @DES3_26858

:DES3_12359
return 

:DES3_12361
if 
  35@ == 0
goto_if_false @DES3_12673
Streaming.RequestModel(417)
Streaming.RequestModel(61)
Streaming.RequestModel(355)
Streaming.RequestModel(#KMB_HOLDALL)
Streaming.RequestModel(#KMB_PARACHUTE)
Streaming.RequestModel(508)
Streaming.RequestModel(68)
Streaming.RequestModel(75)
Streaming.RequestModel(568)

:DES3_12421
if or
  not Streaming.HasModelLoaded(417)
  not Streaming.HasModelLoaded(61)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasModelLoaded(#KMB_HOLDALL)
  not Streaming.HasModelLoaded(#KMB_PARACHUTE)
goto_if_false @DES3_12467
wait 0
goto @DES3_12421

:DES3_12467
if or
  not Streaming.HasModelLoaded(508)
  not Streaming.HasModelLoaded(568)
goto_if_false @DES3_12499
wait 0
goto @DES3_12467

:DES3_12499
Streaming.RequestCarRecording(536)
Streaming.RequestCarRecording(537)
Streaming.RequestCarRecording(538)

:DES3_12514
if or
  not Streaming.HasCarRecordingBeenLoaded(536)
  not Streaming.HasCarRecordingBeenLoaded(537)
  not Streaming.HasCarRecordingBeenLoaded(538)
goto_if_false @DES3_12551
wait 0
goto @DES3_12514

:DES3_12551
gosub @DES3_17557
if 
  not Car.IsDead(74@)
goto_if_false @DES3_12582
Car.StartPlayback(74@, 536)

:DES3_12582
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Char.FreezePosition($stattreadstamina_ctr, True)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-720.812, 2476.182, 171.2749, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-721.6284, 2475.607, 171.2184, SwitchType.JumpCut)
TIMERA = 0
35@ += 1

:DES3_12673
if and
  35@ > 0
  TIMERA > 3000
goto_if_false @DES3_12723
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DES3_12723
35@ = 99

:DES3_12723
if 
  35@ == 1
goto_if_false @DES3_12900
if 
  5000 > TIMERA
goto_if_false @DES3_12825
if 
  not Car.IsDead(74@)
goto_if_false @DES3_12818
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, 3.0, -5.0, -2.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:DES3_12818
goto @DES3_12900

:DES3_12825
Camera.DoFade(300, Fade.Out)

:DES3_12832
if 
  Camera.GetFadingStatus
goto_if_false @DES3_12856
wait 0
goto @DES3_12832

:DES3_12856
if 
  not Car.IsDead(74@)
goto_if_false @DES3_12893
if 
  Car.IsPlaybackGoingOn(74@)
goto_if_false @DES3_12893
Car.StopPlayback(74@)

:DES3_12893
35@ += 1

:DES3_12900
if 
  35@ == 2
goto_if_false @DES3_13189
if 
  not Car.IsDead(74@)
goto_if_false @DES3_13189
Camera.DoFade(300, Fade.In)
Car.StartPlaybackLooped(74@, 538)
Camera.SetFixedPosition(247.7597, 2515.937, 82.7789, 0.0, 0.0, 0.0)
Camera.PointAtPoint(246.7721, 2515.894, 82.6276, SwitchType.JumpCut)
Car.SkipInPlayback(74@, 100.0)
96@ = Object.Create(#KMB_HOLDALL, 0.0, 0.0, 0.0)
Object.AttachToCar(96@, 74@, 0.0, -2.0, -0.5, 0.0, 0.0, 0.0)
Object.SetVisible(96@, False)
95@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
Object.AttachToCar(95@, 74@, 0.0, 0.0, -2.5, 0.0, 0.0, 0.0)
Object.SetVisible(95@, False)
TIMERA = 0
142@ = 2.0
143@ = -7.0
144@ = 1.0
35@ += 1

:DES3_13189
if 
  35@ == 3
goto_if_false @DES3_13426
if 
  Object.DoesExist(95@)
goto_if_false @DES3_13246
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(95@, 142@, 143@, 144@)

:DES3_13246
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
if 
  TIMERA > 7000
goto_if_false @DES3_13426
Camera.SetFixedPosition(296.2388, 2480.553, 97.5696, 0.0, 0.0, 0.0)
Camera.PointAtPoint(295.5632, 2481.153, 97.141, SwitchType.JumpCut)
if 
  Object.DoesExist(96@)
goto_if_false @DES3_13367
Object.Detach(96@, 0.0, 0.0, 0.0, False)

:DES3_13367
Object.SetVisible(96@, True)
if 
  Object.DoesExist(95@)
goto_if_false @DES3_13412
Object.Detach(95@, 0.0, 0.0, 0.0, False)

:DES3_13412
TIMERA = 0
35@ += 1

:DES3_13426
if 
  35@ == 4
goto_if_false @DES3_13616
if 
  TIMERA > 1200
goto_if_false @DES3_13558
208@ = 264.2501
209@ = 2877.011
210@ = 13.7096
gosub @DES3_16532
if 
  Object.DoesExist(96@)
goto_if_false @DES3_13544
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(96@)
Audio.ReportMissionAudioEventAtPosition($on_footY, $on_footZ, $in_carX, 1039)

:DES3_13544
TIMERA = 0
35@ += 1

:DES3_13558
if 
  Object.DoesExist(95@)
goto_if_false @DES3_13616
$on_footY, $on_footZ, $in_carX = Object.GetVelocity(95@)
$in_carX *= -0.1
Object.AddToVelocity(95@, 0.0, 0.0, $in_carX)

:DES3_13616
if 
  35@ == 5
goto_if_false @DES3_13725
gosub @DES3_16957
if 
  TIMERA > 5000
goto_if_false @DES3_13667
35@ = 99

:DES3_13667
if 
  Object.DoesExist(95@)
goto_if_false @DES3_13725
$on_footY, $on_footZ, $in_carX = Object.GetVelocity(95@)
$in_carX *= -0.5
Object.AddToVelocity(95@, 0.0, 0.0, $in_carX)

:DES3_13725
if 
  35@ == 99
goto_if_false @DES3_14043
Camera.DoFade(0, Fade.In)
if 
  not Car.IsDead(80@)
goto_if_false @DES3_13780
107@ = Blip.AddForCar(80@)
goto @DES3_13840

:DES3_13780
Car.MarkAsNoLongerNeeded(80@)
World.ClearArea(-804.5877, 2377.843, 151.7558, 5.0, True)
80@ = Car.Create(568, -804.5877, 2377.843, 151.7558)
107@ = Blip.AddForCar(80@)

:DES3_13840
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
World.ClearArea($on_footY, $on_footZ, $in_carX, 20.0, True)
Blip.SetAsFriendly(107@, True)
Streaming.MarkModelAsNoLongerNeeded(568)
79@ = Car.Create(508, -680.7584, 2466.081, 114.9057)
Car.SetHeading(79@, 75.939)
92@ = Char.CreateInsideCar(79@, PedType.CivMale, 68)
93@ = Char.CreateAsPassenger(79@, PedType.CivFemale, 75, 0)
Task.CarDriveToCoord(92@, 79@, -726.9384, 2357.388, 125.5138, 10.0, DriveMode.Normal, 1, DrivingMode.AvoidCars)
Streaming.MarkModelAsNoLongerNeeded(68)
Streaming.MarkModelAsNoLongerNeeded(75)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Char.FreezePosition($stattreadstamina_ctr, False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
wait 0
Object.Delete(96@)
Object.Delete(95@)
gosub @DES3_17660
gosub @DES3_26858

:DES3_14043
return 

:DES3_14045
if 
  35@ == 0
goto_if_false @DES3_14308
Text.PrintNow('AIR1_09', 7000, 1)
Streaming.RequestModel(487)
Streaming.RequestModel(61)
Streaming.RequestModel(355)
Streaming.RequestModel(#KMB_HOLDALL)
Streaming.RequestModel(#KMB_PARACHUTE)
Streaming.RequestModel(165)
Streaming.RequestModel(166)

:DES3_14113
if or
  not Streaming.HasModelLoaded(487)
  not Streaming.HasModelLoaded(61)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasModelLoaded(#KMB_HOLDALL)
  not Streaming.HasModelLoaded(165)
  not Streaming.HasModelLoaded(166)
goto_if_false @DES3_14164
wait 0
goto @DES3_14113

:DES3_14164
if 
  not Streaming.HasModelLoaded(#KMB_PARACHUTE)
goto_if_false @DES3_14191
wait 0
goto @DES3_14164

:DES3_14191
214@ = 216.9669
215@ = 2689.149
216@ = 90.0
208@ = 264.2501
209@ = 2877.011
210@ = 13.7096
if 
  Object.DoesExist(96@)
goto_if_false @DES3_14272
Object.Delete(96@)

:DES3_14272
gosub @DES3_16532
105@ = Blip.AddForObject(96@)
Object.SetScale(96@, 0.3)
Game.SwitchPoliceHelis(True)
35@ += 1

:DES3_14308
if 
  35@ == 1
goto_if_false @DES3_14516
if 
  68@ == 1
goto_if_false @DES3_14381
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @DES3_14381
Char.SetCoordinates($stattreadstamina_ctr, 417.0, 2493.0, 27.83)

:DES3_14381
if 
  226@ == 0
goto_if_false @DES3_14516
if 
  Object.DoesExist(96@)
goto_if_false @DES3_14516
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(96@)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 1.5, 1.5, 1.5, False)
goto_if_false @DES3_14516
if 
  Blip.DoesExist(107@)
goto_if_false @DES3_14492
Blip.Remove(107@)

:DES3_14492
Object.Delete(96@)
Blip.Remove(105@)
TIMERA = 0
35@ += 1

:DES3_14516
if 
  35@ == 2
goto_if_false @DES3_14691
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(269.6016, 2868.464, 15.2584, 0.0, 0.0, 0.0)
Camera.PointAtPoint(269.2238, 2869.373, 15.0806, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 265.7708, 2873.078, 13.4336)
Char.SetHeading($stattreadstamina_ctr, 266.1126)
set_var_text_label s$bd_future_time_shown = 'DES3_CA'
set_var_int_to_constant $bd_x = 13213
start_new_script @AUDIOL -1 0 1 1 0 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 13214)
TIMERB = 0
35@ += 1

:DES3_14691
if 
  35@ == 3
goto_if_false @DES3_14812
if 
  TIMERB > 1000
goto_if_false @DES3_14812
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_14812
set_var_text_label s$bd_future_time_shown = 'DES3_CB'
set_var_int_to_constant $bd_x = 13214
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 13215)
35@ += 1
TIMERB = 0

:DES3_14812
if 
  35@ == 4
goto_if_false @DES3_14933
if 
  TIMERB > 1000
goto_if_false @DES3_14933
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_14933
set_var_text_label s$bd_future_time_shown = 'DES3_CC'
set_var_int_to_constant $bd_x = 13215
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 13216)
35@ += 1
TIMERB = 0

:DES3_14933
if 
  35@ == 5
goto_if_false @DES3_15042
if 
  TIMERB > 1000
goto_if_false @DES3_15042
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_15042
set_var_text_label s$bd_future_time_shown = 'DES3_CD'
set_var_int_to_constant $bd_x = 13216
start_new_script @AUDIOL -1 0 1 2 1 
35@ += 1
TIMERB = 0

:DES3_15042
if 
  35@ == 6
goto_if_false @DES3_15127
if 
  TIMERB > 1000
goto_if_false @DES3_15127
if 
  $audio_line_terminate_all == 0
goto_if_false @DES3_15127
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
35@ += 1

:DES3_15127
if 
  35@ == 7
goto_if_false @DES3_15195
Text.PrintNow('AIR1_10', 7000, 1)
101@ = Blip.AddForCoord(-394.8462, 2226.622, 41.4259)
198@ = 0
35@ += 1

:DES3_15195
if 
  35@ == 8
goto_if_false @DES3_15594
if 
  198@ == 0
goto_if_false @DES3_15304
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -394.8462, 2226.622, 41.4259, 25.0, 25.0, 20.0, False)
goto_if_false @DES3_15297
Garage.Open('GHOSTDR')
198@ = 1

:DES3_15297
goto @DES3_15370

:DES3_15304
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, -394.8462, 2226.622, 41.4259, 40.0, 40.0, 20.0, False)
goto_if_false @DES3_15370
Garage.Close('GHOSTDR')
198@ = 0

:DES3_15370
if 
  Blip.DoesExist(101@)
goto_if_false @DES3_15550
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DES3_15488
if 
  Char.LocateInCar3D($stattreadstamina_ctr, -394.8462, 2226.622, 41.4259, 4.0, 4.0, 4.0, True)
goto_if_false @DES3_15481
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsOnAllWheels($stealth_help_flag)
goto_if_false @DES3_15481
35@ += 1

:DES3_15481
goto @DES3_15543

:DES3_15488
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -394.8462, 2226.622, 41.4259, 1.2, 1.2, 2.0, True)
goto_if_false @DES3_15543
35@ += 1

:DES3_15543
goto @DES3_15594

:DES3_15550
if 
  TIMERA > 60000
goto_if_false @DES3_15594
Text.PrintNow('AIR1_11', 7000, 1)
TIMERA = 0

:DES3_15594
if 
  35@ == 9
goto_if_false @DES3_15740
Player.SetControl($statbike_temp, False)
Garage.Close('GHOSTDR')
Camera.DoFade(1000, Fade.Out)

:DES3_15637
if 
  Camera.GetFadingStatus
goto_if_false @DES3_15661
wait 0
goto @DES3_15637

:DES3_15661
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -389.8034, 2230.742, 41.4297)
Char.SetHeading($stattreadstamina_ctr, 270.0)
Camera.SetInFrontOfPlayer
Camera.RestoreJumpcut

:DES3_15700
if 
  not Garage.IsClosed('GHOSTDR')
goto_if_false @DES3_15733
wait 0
goto @DES3_15700

:DES3_15733
36@ = 1

:DES3_15740
if 
  132@ == 0
goto_if_false @DES3_15906
if 
  Car.DoesExist(75@)
goto_if_false @DES3_15906
if 
  not Car.IsDead(75@)
goto_if_false @DES3_15906
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if 
  not Car.Locate3D(75@, $on_footY, $on_footZ, $in_carX, 100.0, 100.0, 100.0, False)
goto_if_false @DES3_15860
Heli.ActivateSpeedCheat(75@, 10)
goto @DES3_15906

:DES3_15860
$Desert6_view_debug = 100
Hud.DisplayCounterWithString($Desert6_view_debug, CounterDisplay.Bar, 'AIR1_12')
132@ = 1
Text.PrintNow('AIR1_11', 7000, 1)

:DES3_15906
if 
  132@ == 1
goto_if_false @DES3_16230
if 
  Car.DoesExist(75@)
goto_if_false @DES3_16230
if 
  not Car.IsDead(75@)
goto_if_false @DES3_16202
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
56@, 57@, 58@ = Car.GetCoordinates(75@)
140@ = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 56@, 57@, 58@)
if 
  175.0 > 140@
goto_if_false @DES3_16085
if 
  100 > $Desert6_view_debug
goto_if_false @DES3_16078
if 
  137@ > 100
goto_if_false @DES3_16078
$Desert6_view_debug += 1
137@ = 0

:DES3_16078
goto @DES3_16135

:DES3_16085
if 
  $Desert6_view_debug > 0
goto_if_false @DES3_16135
if 
  137@ > 100
goto_if_false @DES3_16135
$Desert6_view_debug += -1
137@ = 0

:DES3_16135
if 
  $Desert6_view_debug == 0
goto_if_false @DES3_16195
set_lvar_int_to_constant 109@ = 99
112@ = 0
Text.PrintNow('AIR1_10', 7000, 1)
132@ = 2
Hud.ClearCounter($Desert6_view_debug)

:DES3_16195
goto @DES3_16230

:DES3_16202
Text.PrintNow('AIR1_10', 7000, 1)
132@ = 2
Hud.ClearCounter($Desert6_view_debug)

:DES3_16230
if 
  35@ > 1
goto_if_false @DES3_16332
if 
  Blip.DoesExist(101@)
goto_if_false @DES3_16294
if 
  132@ == 1
goto_if_false @DES3_16287
Blip.Remove(101@)

:DES3_16287
goto @DES3_16332

:DES3_16294
if 
  132@ == 2
goto_if_false @DES3_16332
101@ = Blip.AddForCoord(-450.9301, 2238.45, 43.4409)

:DES3_16332
if 
  39@ == 3
goto_if_false @DES3_16373
if 
  Car.DoesExist(75@)
goto_if_false @DES3_16373
gosub @DES3_19279

:DES3_16373
gosub @DES3_16957
return 

:DES3_16382
if 
  Blip.DoesExist(107@)
goto_if_false @DES3_16450
if 
  not Car.IsDead(80@)
goto_if_false @DES3_16445
if 
  Char.IsInCar($stattreadstamina_ctr, 80@)
goto_if_false @DES3_16438
Blip.Remove(107@)

:DES3_16438
goto @DES3_16450

:DES3_16445
Blip.Remove(107@)

:DES3_16450
if 
  Car.DoesExist(74@)
goto_if_false @DES3_16505
if 
  Car.IsDead(74@)
goto_if_false @DES3_16505
37@ = 1
Text.PrintNow('AIR1_08', 5000, 1)

:DES3_16505
if 
  39@ == 7
goto_if_false @DES3_16530
gosub @DES3_26440

:DES3_16530
return 

:DES3_16532
if 
  Object.DoesExist(96@)
goto_if_false @DES3_16577
214@, 215@, 216@ = Object.GetCoordinates(96@)
216@ += 6.679
Object.Delete(96@)

:DES3_16577
96@ = Object.CreateNoOffset(#KMB_PARACHUTE, 214@, 215@, 216@)
Object.SetCollision(96@, False)
Object.SetDynamic(96@, False)
199@ = 1.0
200@ = 0.5
201@ = 0.0
205@ = 0.0
206@ = 0.0
207@ = 0.0
224@ = 80000
cset_lvar_float_to_lvar_int 225@ =# 224@
222@ = Math.GetDistanceBetweenCoords3D(214@, 215@, 216@, 208@, 209@, 210@)
223@ = Math.GetDistanceBetweenCoords2D(214@, 215@, 208@, 209@)
set_lvar_float_to_lvar_float 211@ = 214@
sub_float_lvar_from_float_lvar 211@ -= 208@
set_lvar_float_to_lvar_float 212@ = 215@
sub_float_lvar_from_float_lvar 212@ -= 209@
set_lvar_float_to_lvar_float 213@ = 216@
sub_float_lvar_from_float_lvar 213@ -= 210@
set_lvar_float_to_lvar_float 217@ = 208@
sub_float_lvar_from_float_lvar 217@ -= 214@
set_lvar_float_to_lvar_float 218@ = 209@
sub_float_lvar_from_float_lvar 218@ -= 215@
set_lvar_float_to_lvar_float 219@ = 210@
sub_float_lvar_from_float_lvar 219@ -= 216@
div_float_lvar_by_float_lvar 217@ /= 222@
div_float_lvar_by_float_lvar 218@ /= 222@
div_float_lvar_by_float_lvar 219@ /= 222@
set_lvar_float_to_lvar_float 50@ = 223@
51@ = 0.0
set_lvar_float_to_lvar_float 53@ = 223@
set_lvar_float_to_lvar_float 54@ = 213@
220@ = Math.GetAngleBetween2DVectors(50@, 51@, 53@, 54@)
set_lvar_float_to_lvar_float 50@ = 211@
51@ = 0.0
set_lvar_float_to_lvar_float 53@ = 211@
set_lvar_float_to_lvar_float 54@ = 212@
221@ = Math.GetAngleBetween2DVectors(50@, 51@, 53@, 54@)
226@ = 1
return 

:DES3_16957
if 
  226@ == 1
goto_if_false @DES3_17555
if 
  224@ > 1000
goto_if_false @DES3_17424
if 
  Object.DoesExist(96@)
goto_if_false @DES3_17417
if 
  205@ > 180.0
goto_if_false @DES3_17041
205@ = -180.0

:DES3_17041
if 
  -180.0 > 205@
goto_if_false @DES3_17072
205@ = 180.0

:DES3_17072
if 
  205@ >= 0.0
goto_if_false @DES3_17110
202@ = -0.01
goto @DES3_17120

:DES3_17110
202@ = 0.01

:DES3_17120
add_timed_float_lvar_to_float_lvar 199@ +=@ 202@
if 
  199@ > 1.0
goto_if_false @DES3_17159
199@ = 1.0

:DES3_17159
if 
  -1.0 > 199@
goto_if_false @DES3_17190
199@ = -1.0

:DES3_17190
add_timed_float_lvar_to_float_lvar 205@ +=@ 199@
cset_lvar_float_to_lvar_int 46@ =# 224@
set_lvar_float_to_lvar_float 47@ = 225@
sub_float_lvar_from_float_lvar 47@ -= 46@
div_float_lvar_by_float_lvar 47@ /= 225@
mult_float_lvar_by_float_lvar 47@ *= 222@
set_lvar_float_to_lvar_float 50@ = 217@
mult_float_lvar_by_float_lvar 50@ *= 47@
set_lvar_float_to_lvar_float 51@ = 218@
mult_float_lvar_by_float_lvar 51@ *= 47@
set_lvar_float_to_lvar_float 52@ = 219@
mult_float_lvar_by_float_lvar 52@ *= 47@
set_var_float_to_lvar_float $on_footY = 214@
add_float_lvar_to_float_var $on_footY += 50@
set_var_float_to_lvar_float $on_footZ = 215@
add_float_lvar_to_float_var $on_footZ += 51@
set_var_float_to_lvar_float $in_carX = 216@
add_float_lvar_to_float_var $in_carX += 52@
set_lvar_float_to_var_float 145@ = $on_footY
set_lvar_float_to_var_float 146@ = $on_footZ
set_lvar_float_to_var_float 147@ = $in_carX
if 
  is_float_lvar_greater_than_float_lvar 210@ > 147@
goto_if_false @DES3_17385
set_lvar_float_to_lvar_float 147@ = 210@

:DES3_17385
Object.SetCoordinates(96@, 145@, 146@, 147@)
Object.SetRotation(96@, 205@, 0.0, 90.0)

:DES3_17417
goto @DES3_17555

:DES3_17424
145@, 146@, 147@ = Object.GetCoordinates(96@)
147@ = World.GetGroundZFor3DCoord(145@, 146@, 147@)
147@ += 0.5
if 
  is_float_lvar_greater_than_float_lvar 210@ > 147@
goto_if_false @DES3_17489
set_lvar_float_to_lvar_float 147@ = 210@

:DES3_17489
Object.Delete(96@)
Blip.Remove(105@)
96@ = Object.CreateNoOffset(#KMB_HOLDALL, 145@, 146@, 147@)
Object.SetScale(96@, 0.3)
105@ = Blip.AddForObject(96@)
Object.FreezePosition(96@, True)
Object.SetCollision(96@, False)
226@ = 0

:DES3_17555
return 

:DES3_17557
74@ = Car.Create(417, 227@, 228@, 229@)
Car.SetHeading(74@, 230@)
Heli.SetBladesFullSpeed(74@)
Heli.SetStabiliser(74@, True)
81@ = Char.CreateInsideCar(74@, PedType.Mission1, 61)
Car.SetHealth(74@, 5000)
Car.SetProofs(74@, False, False, False, True, False)
104@ = Blip.AddForCar(74@)
Blip.SetAsFriendly(104@, True)
Car.SetLoadCollisionFlag(74@, False)
Car.SetOnlyDamagedByPlayer(74@, True)
return 

:DES3_17660
if 
  Char.DoesExist(81@)
goto_if_false @DES3_17681
Char.Delete(81@)

:DES3_17681
if 
  Car.DoesExist(74@)
goto_if_false @DES3_17702
Car.Delete(74@)

:DES3_17702
Streaming.MarkModelAsNoLongerNeeded(417)
Streaming.MarkModelAsNoLongerNeeded(61)
Blip.Remove(104@)
return 

:DES3_17718
if 
  not Car.IsDead(74@)
goto_if_false @DES3_18286
if 
  111@ == 0
goto_if_false @DES3_18286
if 
  114@ == 0
goto_if_false @DES3_18069
151@ = -784.6607
166@ = 2442.231
181@ = 180.0
152@ = -804.959
167@ = 2425.576
182@ = 180.0
153@ = -787.8075
168@ = 2405.689
183@ = 180.0
154@ = -772.5547
169@ = 2413.223
184@ = 180.0
155@ = -772.9753
170@ = 2432.284
185@ = 180.0
156@ = -789.0908
171@ = 2424.852
186@ = 180.0
157@ = -802.8
172@ = 2431.09
187@ = 180.0
158@ = -772.5547
173@ = 2413.223
188@ = 180.0
108@ = 0
Heli.GotoCoords(74@, 151@(108@,15f), 166@(108@,15f), 181@(108@,15f), 15.0, 181@(108@,15f))
Heli.ActivateSpeedCheat(74@, 1)
114@ += 1

:DES3_18069
if 
  Car.Locate3D(74@, 151@(108@,15f), 166@(108@,15f), 181@(108@,15f), 10.0, 10.0, 10.0, False)
goto_if_false @DES3_18229
43@ = Math.RandomIntInRange(0, 8)
if 
  is_int_lvar_equal_to_int_lvar 43@ == 108@
goto_if_false @DES3_18183
43@ += 1
if 
  43@ > 7
goto_if_false @DES3_18183
43@ = 0

:DES3_18183
set_lvar_int_to_lvar_int 108@ = 43@
Heli.GotoCoords(74@, 151@(108@,15f), 166@(108@,15f), 181@(108@,15f), 15.0, 181@(108@,15f))

:DES3_18229
43@ = Car.GetHealth(74@)
if 
  300 >= 43@
goto_if_false @DES3_18286
if 
  111@ <> 99
goto_if_false @DES3_18286
Heli.MakeComeCrashingDown(74@)
111@ = 99

:DES3_18286
return 

:DES3_18288
if 
  not Car.DoesExist(75@)
goto_if_false @DES3_18341
75@ = Car.Create(487, 0.0, 0.0, 0.0)
Car.CanBeTargetedByHsMissile(75@, True)
Car.SetLoadCollisionFlag(75@, False)

:DES3_18341
if 
  not Char.DoesExist(82@)
goto_if_false @DES3_18370
82@ = Char.CreateInsideCar(75@, PedType.Mission2, 166)

:DES3_18370
if 
  not Char.DoesExist(84@)
goto_if_false @DES3_18411
84@ = Char.Create(PedType.Mission2, 165, 0.0, 0.0, 0.0)

:DES3_18411
if 
  not Char.DoesExist(85@)
goto_if_false @DES3_18452
85@ = Char.Create(PedType.Mission2, 166, 0.0, 0.0, 0.0)

:DES3_18452
if 
  not Char.DoesExist(86@)
goto_if_false @DES3_18493
86@ = Char.Create(PedType.Mission2, 165, 0.0, 0.0, 0.0)

:DES3_18493
if 
  not Char.DoesExist(87@)
goto_if_false @DES3_18534
87@ = Char.Create(PedType.Mission2, 166, 0.0, 0.0, 0.0)

:DES3_18534
if 
  not Car.IsDead(75@)
goto_if_false @DES3_18607
Car.SetCoordinates(75@, 231@, 232@, 233@)
Car.SetHeading(75@, 234@)
Heli.SetBladesFullSpeed(75@)
Car.ChangeColor(75@, 0, 0)
Heli.SetStabiliser(75@, True)
Car.SetOnlyDamagedByPlayer(75@, True)
Car.LockDoors(75@, CarLock.Locked)

:DES3_18607
if 
  not Char.IsDead(82@)
goto_if_false @DES3_18652
Char.SetCanBeShotInVehicle(82@, False)
Char.SetCantBeDraggedOut(82@, True)
Char.SetCanBeShotInVehicle(82@, False)
Char.SetDecisionMaker(82@, 66@)

:DES3_18652
if 
  not Car.IsDead(75@)
goto_if_false @DES3_19079
if 
  not Char.IsDead(84@)
goto_if_false @DES3_18723
Char.AttachToCar(84@, 75@, 1.0, 1.25, -0.1, 3, 310.0, WeaponType.Ak47)
123@ = 1

:DES3_18723
if 
  not Char.IsDead(85@)
goto_if_false @DES3_18778
Char.AttachToCar(85@, 75@, 1.1, -0.3, -0.1, 3, 310.0, WeaponType.Ak47)
124@ = 1

:DES3_18778
if 
  not Char.IsDead(86@)
goto_if_false @DES3_18833
Char.AttachToCar(86@, 75@, -1.0, 1.25, -0.1, 1, 50.0, WeaponType.Ak47)
125@ = 1

:DES3_18833
if 
  not Char.IsDead(87@)
goto_if_false @DES3_18888
Char.AttachToCar(87@, 75@, -1.1, -0.3, -0.1, 1, 50.0, WeaponType.Ak47)
126@ = 1

:DES3_18888
43@ = 0

:DES3_18895
if 
  4 > 43@
goto_if_false @DES3_19079
if 
  not Char.IsDead(84@(43@,4i))
goto_if_false @DES3_19065
Char.SetShootRate(84@(43@,4i), 20)
Char.SetAccuracy(84@(43@,4i), 27)
if or
  43@ == 0
  43@ == 2
goto_if_false @DES3_19009
Char.SetMaxHealth(84@(43@,4i), 125)
Char.SetHealth(84@(43@,4i), 125)
goto @DES3_19031

:DES3_19009
Char.SetMaxHealth(84@(43@,4i), 100)
Char.SetHealth(84@(43@,4i), 100)

:DES3_19031
Char.SetOnlyDamagedByPlayer(84@(43@,4i), True)
Char.SetDecisionMaker(84@(43@,4i), 66@)
115@(43@,4i) = 0

:DES3_19065
43@ += 1
goto @DES3_18895

:DES3_19079
if 
  not Car.IsDead(75@)
goto_if_false @DES3_19124
if 
  Blip.DoesExist(102@)
goto_if_false @DES3_19116
Blip.Remove(102@)

:DES3_19116
102@ = Blip.AddForCar(75@)

:DES3_19124
set_lvar_int_to_constant 109@ = 0
112@ = 0
133@ += 1
return 

:DES3_19147
if 
  Char.DoesExist(82@)
goto_if_false @DES3_19168
Char.Delete(82@)

:DES3_19168
43@ = 0

:DES3_19175
if 
  4 > 43@
goto_if_false @DES3_19236
if 
  Char.DoesExist(84@(43@,4i))
goto_if_false @DES3_19222
Char.Delete(84@(43@,4i))

:DES3_19222
43@ += 1
goto @DES3_19175

:DES3_19236
if 
  Car.DoesExist(75@)
goto_if_false @DES3_19257
Car.Delete(75@)

:DES3_19257
Streaming.MarkModelAsNoLongerNeeded(487)
Streaming.MarkModelAsNoLongerNeeded(165)
Streaming.MarkModelAsNoLongerNeeded(166)
Streaming.MarkModelAsNoLongerNeeded(355)
return 

:DES3_19279
if 
  TIMERA > 240000
goto_if_false @DES3_19333
if 
  not Car.IsDead(75@)
goto_if_false @DES3_19333
Car.Explode(75@)
Car.Explode(75@)
TIMERA = 0

:DES3_19333
switch_start 109@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DES3_22132 {caseNum1} 0 {caseLabel1} @DES3_19396 {caseNum2} 4 {caseLabel2} @DES3_21962 {caseNum3} 5 {caseLabel3} @DES3_19903 {caseNum4} -1 {caseLabel4} @DES3_22132 {caseNum5} -1 {caseLabel5} @DES3_22132 {caseNum6} -1 {caseLabel6} @DES3_22132 {caseNum7} -1 {caseLabel7} @DES3_22132

:DES3_19396
if 
  not Car.IsDead(75@)
goto_if_false @DES3_19896
if 
  112@ == 0
goto_if_false @DES3_19475
if 
  not Car.IsDead(74@)
goto_if_false @DES3_19475
Heli.FollowEntity(75@, -1, 74@, 20.0)
112@ += 1
135@ = 0

:DES3_19475
if 
  112@ == 1
goto_if_false @DES3_19845
if 
  10000 > 135@
goto_if_false @DES3_19816
if 
  not Car.IsDead(74@)
goto_if_false @DES3_19809
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(74@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, 10.0, -10.0, 5.0)
if 
  not Car.Locate3D(75@, $on_footY, $on_footZ, $in_carX, 50.0, 50.0, 50.0, False)
goto_if_false @DES3_19809
56@, 57@, 58@ = Car.GetCoordinates(75@)
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 56@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 57@
set_lvar_float_to_var_float 52@ = $in_carX
sub_float_lvar_from_float_lvar 52@ -= 58@
$heading = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 56@, 57@, 58@)
if 
  $heading > 0.01
goto_if_false @DES3_19802
div_float_lvar_by_float_var 50@ /= $heading
div_float_lvar_by_float_var 51@ /= $heading
div_float_lvar_by_float_var 52@ /= $heading
50@ *= 0.01
51@ *= 0.01
52@ *= 0.01
Car.ApplyForce(75@, 50@, 51@, 52@, 0.0, 0.0, 0.0)

:DES3_19802
goto @DES3_19809

:DES3_19809
goto @DES3_19845

:DES3_19816
Heli.FollowEntity(75@, $stattreadstamina_ctr, -1, 20.0)
112@ += 1
135@ = 0

:DES3_19845
if 
  112@ == 2
goto_if_false @DES3_19896
if 
  135@ > 25000
goto_if_false @DES3_19896
112@ = 0
135@ = 0

:DES3_19896
goto @DES3_22132

:DES3_19903
if 
  not Car.IsDead(75@)
goto_if_false @DES3_21550
if 
  112@ == 0
goto_if_false @DES3_19992
Heli.KeepEntityInView(75@, $stattreadstamina_ctr, -1, 15.0, 170.0)
115@ = 0
116@ = 0
117@ = 0
118@ = 0
112@ += 1

:DES3_19992
if 
  112@ == 1
goto_if_false @DES3_20206
if 
  39@ == 10
goto_if_false @DES3_20206
56@, 57@, 58@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  Car.Locate2D(75@, 56@, 57@, 20.0, 20.0, False)
goto_if_false @DES3_20206
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(75@)
46@ = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
set_lvar_float_to_lvar_float 47@ = 58@
sub_float_lvar_from_float_lvar 47@ -= 46@
if 
  5.0 > 47@
goto_if_false @DES3_20206
set_lvar_float_to_var_float 148@ = $on_footY
set_lvar_float_to_var_float 149@ = $on_footZ
set_lvar_float_to_lvar_float 150@ = 46@
150@ += 10.0
Heli.GotoCoords(75@, 148@, 149@, 150@, 10.0, 0.0)
112@ += 1

:DES3_20206
if 
  112@ == 2
goto_if_false @DES3_20621
if 
  Car.Locate3D(75@, 148@, 149@, 150@, 4.0, 4.0, 8.0, False)
goto_if_false @DES3_20403
46@ = Car.GetSpeed(75@)
if 
  46@ > 1.0
goto_if_false @DES3_20375
50@, 51@, 52@ = Car.GetSpeedVector(75@)
50@ *= -0.001
51@ *= -0.001
52@ *= -0.001
Car.ApplyForce(75@, 50@, 51@, 52@, 0.0, 0.0, 0.0)
goto @DES3_20396

:DES3_20375
Car.FreezePosition(75@, True)
135@ = 0
112@ += 1

:DES3_20396
goto @DES3_20621

:DES3_20403
46@ = Car.GetSpeed(75@)
if 
  10.0 > 46@
goto_if_false @DES3_20621
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(75@)
set_lvar_float_to_lvar_float 50@ = 148@
sub_float_var_from_float_lvar 50@ -= $on_footY
set_lvar_float_to_lvar_float 51@ = 149@
sub_float_var_from_float_lvar 51@ -= $on_footZ
set_lvar_float_to_lvar_float 52@ = 150@
sub_float_var_from_float_lvar 52@ -= $in_carX
$heading = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 148@, 149@, 150@)
if 
  $heading > 0.01
goto_if_false @DES3_20621
div_float_lvar_by_float_var 50@ /= $heading
div_float_lvar_by_float_var 51@ /= $heading
div_float_lvar_by_float_var 52@ /= $heading
50@ *= 0.01
51@ *= 0.01
52@ *= 0.01
Car.ApplyForce(75@, 50@, 51@, 52@, 0.0, 0.0, 0.0)

:DES3_20621
if 
  112@ == 3
goto_if_false @DES3_20825
if 
  135@ > 1500
goto_if_false @DES3_20825
Car.FreezePosition(75@, True)
if 
  not Char.IsDead(84@)
goto_if_false @DES3_20811
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(75@, 1.0, 1.25, -0.1)
Char.Delete(84@)
84@ = Char.CreateSwatRope(PedType.Mission2, 165, $on_footY, $on_footZ, $in_carX)
Char.SetShootRate(84@, 30)
Char.SetAccuracy(84@, 27)
Char.SetMaxHealth(84@, 125)
Char.SetHealth(84@, 125)
Char.SetOnlyDamagedByPlayer(84@, True)
Char.SetDecisionMaker(84@, 66@)
Char.GiveWeapon(84@, WeaponType.Ak47, 9999)
Char.SetFollowNodeThresholdDistance(84@, 2000.0)
123@ = 0
115@ = 1

:DES3_20811
135@ = 0
112@ += 1

:DES3_20825
if 
  112@ == 4
goto_if_false @DES3_21014
if 
  135@ > 0
goto_if_false @DES3_21014
if 
  not Char.IsDead(85@)
goto_if_false @DES3_21000
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(75@, 1.1, -0.3, -0.1)
Char.Delete(85@)
85@ = Char.CreateSwatRope(PedType.Mission2, 166, $on_footY, $on_footZ, $in_carX)
Char.SetShootRate(85@, 30)
Char.SetAccuracy(85@, 27)
Char.SetHealth(85@, 100)
Char.SetOnlyDamagedByPlayer(85@, True)
Char.SetDecisionMaker(85@, 66@)
Char.GiveWeapon(85@, WeaponType.Ak47, 9999)
Char.SetFollowNodeThresholdDistance(85@, 2000.0)
124@ = 0
116@ = 1

:DES3_21000
135@ = 0
112@ += 1

:DES3_21014
if 
  112@ == 5
goto_if_false @DES3_21211
if 
  135@ > 2000
goto_if_false @DES3_21211
if 
  not Char.IsDead(86@)
goto_if_false @DES3_21197
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(75@, -1.0, 1.25, -0.1)
Char.Delete(86@)
86@ = Char.CreateSwatRope(PedType.Mission2, 165, $on_footY, $on_footZ, $in_carX)
Char.SetShootRate(86@, 30)
Char.SetAccuracy(86@, 27)
Char.SetMaxHealth(86@, 125)
Char.SetHealth(86@, 125)
Char.SetOnlyDamagedByPlayer(86@, True)
Char.SetDecisionMaker(86@, 66@)
Char.GiveWeapon(86@, WeaponType.Ak47, 9999)
Char.SetFollowNodeThresholdDistance(86@, 2000.0)
125@ = 0
117@ = 1

:DES3_21197
135@ = 0
112@ += 1

:DES3_21211
if 
  112@ == 6
goto_if_false @DES3_21401
if 
  135@ > 500
goto_if_false @DES3_21401
if 
  not Char.IsDead(87@)
goto_if_false @DES3_21387
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(75@, -1.1, -0.3, -0.1)
Char.Delete(87@)
87@ = Char.CreateSwatRope(PedType.Mission2, 165, $on_footY, $on_footZ, $in_carX)
Char.SetShootRate(87@, 30)
Char.SetAccuracy(87@, 27)
Char.SetHealth(87@, 100)
Char.SetOnlyDamagedByPlayer(87@, True)
Char.SetDecisionMaker(87@, 66@)
Char.GiveWeapon(87@, WeaponType.Ak47, 9999)
Char.SetFollowNodeThresholdDistance(87@, 2000.0)
126@ = 0
118@ = 1

:DES3_21387
135@ = 0
112@ += 1

:DES3_21401
if 
  112@ == 7
goto_if_false @DES3_21525
if or
  115@ == 2
  Char.IsDead(84@)
goto_if_false @DES3_21525
if or
  116@ == 2
  Char.IsDead(85@)
goto_if_false @DES3_21525
if or
  117@ == 2
  Char.IsDead(86@)
goto_if_false @DES3_21525
if or
  118@ == 2
  Char.IsDead(87@)
goto_if_false @DES3_21525
135@ = 0
112@ += 1

:DES3_21525
if 
  112@ == 8
goto_if_false @DES3_21550
109@ = 99

:DES3_21550
set_lvar_int_to_lvar_int 43@ = 39@
43@ -= 5
if and
  4 > 43@
  43@ > -1
goto_if_false @DES3_21955
if 
  Char.DoesExist(84@(43@,4i))
goto_if_false @DES3_21955
if 
  not Char.IsDead(84@(43@,4i))
goto_if_false @DES3_21955
if 
  123@(43@,4i) == 0
goto_if_false @DES3_21955
if 
  115@(43@,4i) == 0
goto_if_false @DES3_21719
44@ = Char.GetScriptTaskStatus(84@(43@,4i), 1506)
if 
  is_int_lvar_equal_to_constant 44@ == 7
goto_if_false @DES3_21719
Task.KillCharOnFoot(84@(43@,4i), $stattreadstamina_ctr)

:DES3_21719
if 
  115@(43@,4i) == 1
goto_if_false @DES3_21810
44@ = Char.GetScriptTaskStatus(84@(43@,4i), 1283)
if 
  is_int_lvar_equal_to_constant 44@ == 7
goto_if_false @DES3_21810
Char.SetDecisionMaker(84@(43@,4i), 67@)
Char.SetRelationship(84@(43@,4i), RelationshipType.Hate, PedType.Player1)
115@(43@,4i) += 1

:DES3_21810
if 
  115@(43@,4i) == 2
goto_if_false @DES3_21892
Char.ClearTasks(84@(43@,4i))
49@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(49@)
Char.PerformSequence(84@(43@,4i), 49@)
Sequence.Clear(49@)
115@(43@,4i) += 1

:DES3_21892
if 
  115@(43@,4i) == 3
goto_if_false @DES3_21955
set_lvar_int_to_lvar_int 263@ = 84@(43@,4i)
gosub @DES3_26311
84@(43@,4i) = 0
115@(43@,4i) = 0

:DES3_21955
goto @DES3_22132

:DES3_21962
if 
  not Car.IsDead(75@)
goto_if_false @DES3_22125
if 
  112@ == 0
goto_if_false @DES3_22023
Heli.KeepEntityInView(75@, $stattreadstamina_ctr, -1, 25.0, 15.0)
112@ += 1

:DES3_22023
46@ = Car.GetSpeed(75@)
if 
  5.0 > 46@
goto_if_false @DES3_22125
50@, 51@, 52@ = Car.GetSpeedVector(75@)
50@ *= 0.0001
51@ *= 0.0001
52@ *= 0.0001
Car.ApplyForce(75@, 50@, 51@, 52@, 0.0, 0.0, 0.0)

:DES3_22125
goto @DES3_22132

:DES3_22132
if 
  109@ == 99
goto_if_false @DES3_22366
if 
  not Car.IsDead(75@)
goto_if_false @DES3_22366
Car.CanBeTargetedByHsMissile(75@, False)
Car.FreezePosition(75@, False)
43@ = Car.GetHealth(75@)
if 
  300 >= 43@
goto_if_false @DES3_22267
Char.MarkAsNoLongerNeeded(82@)
if 
  not Char.IsDead(82@)
goto_if_false @DES3_22236
Char.SetDecisionMaker(82@, 66@)

:DES3_22236
Heli.MakeComeCrashingDown(75@)
Car.MarkAsNoLongerNeeded(75@)
75@ = 0
82@ = 0
goto @DES3_22345

:DES3_22267
Char.MarkAsNoLongerNeeded(82@)
if 
  not Char.IsDead(82@)
goto_if_false @DES3_22296
Char.SetDecisionMaker(82@, 66@)

:DES3_22296
Heli.GotoCoords(75@, 204.0, 2816.0, 186.0, 50.0, 186.0)
Car.MarkAsNoLongerNeeded(75@)
75@ = 0
82@ = 0

:DES3_22345
if 
  Blip.DoesExist(102@)
goto_if_false @DES3_22366
Blip.Remove(102@)

:DES3_22366
if 
  not Car.IsDead(75@)
goto_if_false @DES3_22481
if and
  123@ == 1
  Char.IsDead(84@)
goto_if_false @DES3_22481
if and
  124@ == 1
  Char.IsDead(85@)
goto_if_false @DES3_22481
if and
  125@ == 1
  Char.IsDead(86@)
goto_if_false @DES3_22481
if and
  126@ == 1
  Char.IsDead(87@)
goto_if_false @DES3_22481
109@ = 99

:DES3_22481
set_lvar_int_to_lvar_int 43@ = 39@
43@ -= 5
if and
  4 > 43@
  43@ > -1
goto_if_false @DES3_23063
if 
  Char.DoesExist(84@(43@,4i))
goto_if_false @DES3_23063
if 
  not Char.IsDead(84@(43@,4i))
goto_if_false @DES3_23063
if 
  123@(43@,4i) == 1
goto_if_false @DES3_23063
if 
  115@(43@,4i) == 0
goto_if_false @DES3_22705
if 
  not Char.IsDead(81@)
goto_if_false @DES3_22694
Char.ClearTasks(84@(43@,4i))
49@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 81@)
Task.StayInSamePlace(-1, True)
Sequence.Close(49@)
Char.PerformSequence(84@(43@,4i), 49@)
Sequence.Clear(49@)
115@(43@,4i) += 1
goto @DES3_22705

:DES3_22694
115@(43@,4i) += 1

:DES3_22705
if 
  115@(43@,4i) == 1
goto_if_false @DES3_22876
if or
  43@ == 1
  43@ == 3
  109@ == 4
goto_if_false @DES3_22876
if 
  Char.LocateAnyMeansChar3D(84@(43@,4i), $stattreadstamina_ctr, 60.0, 60.0, 60.0, False)
goto_if_false @DES3_22876
Char.ClearTasks(84@(43@,4i))
49@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, True)
Sequence.Close(49@)
Char.PerformSequence(84@(43@,4i), 49@)
Sequence.Clear(49@)
Char.SetShootRate(84@(43@,4i), 100)
115@(43@,4i) += 1

:DES3_22876
if 
  115@(43@,4i) == 2
goto_if_false @DES3_23063
if or
  43@ == 1
  43@ == 3
  109@ == 4
goto_if_false @DES3_23063
if 
  not Char.LocateAnyMeansChar3D(84@(43@,4i), $stattreadstamina_ctr, 80.0, 80.0, 80.0, False)
goto_if_false @DES3_23063
if 
  not Char.IsDead(81@)
goto_if_false @DES3_23063
Char.ClearTasks(84@(43@,4i))
49@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 81@)
Task.StayInSamePlace(-1, True)
Sequence.Close(49@)
Char.PerformSequence(84@(43@,4i), 49@)
Sequence.Clear(49@)
Char.SetShootRate(84@(43@,4i), 20)
115@(43@,4i) = 1

:DES3_23063
if 
  not Car.IsDead(75@)
goto_if_false @DES3_23131
43@ = Car.GetHealth(75@)
if 
  300 >= 43@
goto_if_false @DES3_23131
if 
  109@ <> 99
goto_if_false @DES3_23131
109@ = 99

:DES3_23131
43@ = 0

:DES3_23138
if 
  4 > 43@
goto_if_false @DES3_23260
if 
  Char.DoesExist(84@(43@,4i))
goto_if_false @DES3_23246
if 
  Char.IsDead(84@(43@,4i))
goto_if_false @DES3_23246
Char.DetachFromCar(84@(43@,4i))
115@(43@,4i) = 0
set_lvar_int_to_lvar_int 263@ = 84@(43@,4i)
gosub @DES3_26311
84@(43@,4i) = 0

:DES3_23246
43@ += 1
goto @DES3_23138

:DES3_23260
if and
  Car.IsDead(75@)
  75@ <> 0
goto_if_false @DES3_23441
Char.MarkAsNoLongerNeeded(82@)
if 
  not Char.IsDead(82@)
goto_if_false @DES3_23312
Char.SetDecisionMaker(82@, 66@)

:DES3_23312
Car.MarkAsNoLongerNeeded(75@)
75@ = 0
82@ = 0
43@ = 0

:DES3_23338
if 
  4 > 43@
goto_if_false @DES3_23420
if 
  Char.DoesExist(84@(43@,4i))
goto_if_false @DES3_23406
set_lvar_int_to_lvar_int 263@ = 84@(43@,4i)
gosub @DES3_26311
84@(43@,4i) = 0

:DES3_23406
43@ += 1
goto @DES3_23338

:DES3_23420
if 
  Blip.DoesExist(102@)
goto_if_false @DES3_23441
Blip.Remove(102@)

:DES3_23441
return 

:DES3_23443
if 
  Car.DoesExist(76@)
goto_if_false @DES3_23471
Car.MarkAsNoLongerNeeded(76@)
76@ = 0

:DES3_23471
if 
  not Car.DoesExist(76@)
goto_if_false @DES3_23524
76@ = Car.Create(487, 0.0, 0.0, 0.0)
Car.CanBeTargetedByHsMissile(76@, True)
Car.SetLoadCollisionFlag(76@, False)

:DES3_23524
if 
  Char.DoesExist(83@)
goto_if_false @DES3_23576
Char.MarkAsNoLongerNeeded(83@)
if 
  not Char.IsDead(83@)
goto_if_false @DES3_23569
Char.SetDecisionMaker(83@, 66@)

:DES3_23569
83@ = 0

:DES3_23576
if 
  not Char.DoesExist(83@)
goto_if_false @DES3_23605
83@ = Char.CreateInsideCar(76@, PedType.Mission2, 166)

:DES3_23605
43@ = 0

:DES3_23612
if 
  4 > 43@
goto_if_false @DES3_23684
if 
  Char.DoesExist(88@(43@,4i))
goto_if_false @DES3_23670
Char.MarkAsNoLongerNeeded(88@(43@,4i))
88@(43@,4i) = 0

:DES3_23670
43@ += 1
goto @DES3_23612

:DES3_23684
if 
  not Char.DoesExist(88@)
goto_if_false @DES3_23725
88@ = Char.Create(PedType.Mission2, 165, 0.0, 0.0, 0.0)

:DES3_23725
if 
  not Char.DoesExist(89@)
goto_if_false @DES3_23766
89@ = Char.Create(PedType.Mission2, 166, 0.0, 0.0, 0.0)

:DES3_23766
if 
  not Char.DoesExist(90@)
goto_if_false @DES3_23807
90@ = Char.Create(PedType.Mission2, 165, 0.0, 0.0, 0.0)

:DES3_23807
if 
  not Char.DoesExist(91@)
goto_if_false @DES3_23848
91@ = Char.Create(PedType.Mission2, 166, 0.0, 0.0, 0.0)

:DES3_23848
if 
  not Car.IsDead(76@)
goto_if_false @DES3_23921
Car.SetCoordinates(76@, 259@, 260@, 261@)
Car.SetHeading(76@, 262@)
Heli.SetBladesFullSpeed(76@)
Car.ChangeColor(76@, 0, 0)
Heli.SetStabiliser(76@, True)
Car.SetOnlyDamagedByPlayer(76@, True)
Car.LockDoors(76@, CarLock.Locked)

:DES3_23921
if 
  not Char.IsDead(83@)
goto_if_false @DES3_23966
Char.SetCanBeShotInVehicle(83@, False)
Char.SetCantBeDraggedOut(83@, True)
Char.SetCanBeShotInVehicle(83@, False)
Char.SetDecisionMaker(83@, 66@)

:DES3_23966
if 
  not Car.IsDead(76@)
goto_if_false @DES3_24354
if 
  not Char.IsDead(88@)
goto_if_false @DES3_24030
Char.AttachToCar(88@, 76@, 1.0, 1.25, 0.2, 3, 310.0, WeaponType.Ak47)

:DES3_24030
if 
  not Char.IsDead(89@)
goto_if_false @DES3_24078
Char.AttachToCar(89@, 76@, 1.1, -0.3, 0.2, 3, 310.0, WeaponType.Ak47)

:DES3_24078
if 
  not Char.IsDead(90@)
goto_if_false @DES3_24126
Char.AttachToCar(90@, 76@, -1.0, 1.25, 0.2, 1, 50.0, WeaponType.Ak47)

:DES3_24126
if 
  not Char.IsDead(91@)
goto_if_false @DES3_24174
Char.AttachToCar(91@, 76@, -1.1, -0.3, 0.2, 1, 50.0, WeaponType.Ak47)

:DES3_24174
43@ = 0

:DES3_24181
if 
  4 > 43@
goto_if_false @DES3_24354
if 
  not Char.IsDead(88@(43@,4i))
goto_if_false @DES3_24340
Char.SetShootRate(88@(43@,4i), 30)
Char.SetAccuracy(88@(43@,4i), 27)
if or
  43@ == 0
  43@ == 2
goto_if_false @DES3_24295
Char.SetMaxHealth(88@(43@,4i), 125)
Char.SetHealth(88@(43@,4i), 125)
goto @DES3_24306

:DES3_24295
Char.SetHealth(88@(43@,4i), 100)

:DES3_24306
Char.SetOnlyDamagedByPlayer(88@(43@,4i), True)
Char.SetDecisionMaker(88@(43@,4i), 66@)
119@(43@,4i) = 0

:DES3_24340
43@ += 1
goto @DES3_24181

:DES3_24354
if 
  not Car.IsDead(76@)
goto_if_false @DES3_24399
if 
  Blip.DoesExist(103@)
goto_if_false @DES3_24391
Blip.Remove(103@)

:DES3_24391
103@ = Blip.AddForCar(76@)

:DES3_24399
110@ = 0
113@ = 0
133@ += 1
return 

:DES3_24422
if 
  Char.DoesExist(83@)
goto_if_false @DES3_24443
Char.Delete(83@)

:DES3_24443
43@ = 0

:DES3_24450
if 
  4 > 43@
goto_if_false @DES3_24511
if 
  Char.DoesExist(88@(43@,4i))
goto_if_false @DES3_24497
Char.Delete(88@(43@,4i))

:DES3_24497
43@ += 1
goto @DES3_24450

:DES3_24511
if 
  Car.DoesExist(76@)
goto_if_false @DES3_24532
Car.Delete(76@)

:DES3_24532
Streaming.MarkModelAsNoLongerNeeded(487)
Streaming.MarkModelAsNoLongerNeeded(165)
Streaming.MarkModelAsNoLongerNeeded(166)
Streaming.MarkModelAsNoLongerNeeded(355)
return 

:DES3_24554
if 
  TIMERB > 240000
goto_if_false @DES3_24608
if 
  not Car.IsDead(76@)
goto_if_false @DES3_24608
Car.Explode(76@)
Car.Explode(76@)
TIMERB = 0

:DES3_24608
if 
  not Car.IsDead(76@)
goto_if_false @DES3_25318
if 
  110@ == 0
goto_if_false @DES3_25107
if 
  113@ == 0
goto_if_false @DES3_24705
if 
  not Car.IsDead(74@)
goto_if_false @DES3_24705
Heli.FollowEntity(76@, -1, 74@, 20.0)
113@ += 1
136@ = 0

:DES3_24705
if 
  113@ == 1
goto_if_false @DES3_25054
if 
  15000 > 136@
goto_if_false @DES3_25025
if 
  not Car.IsDead(74@)
goto_if_false @DES3_25018
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(74@, -10.0, -10.0, 0.0)
if 
  not Car.Locate3D(76@, $on_footY, $on_footZ, $in_carX, 50.0, 50.0, 50.0, False)
goto_if_false @DES3_25018
56@, 57@, 58@ = Car.GetCoordinates(76@)
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 56@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 57@
set_lvar_float_to_var_float 52@ = $in_carX
sub_float_lvar_from_float_lvar 52@ -= 58@
$heading = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 56@, 57@, 58@)
if 
  $heading > 0.01
goto_if_false @DES3_25018
div_float_lvar_by_float_var 50@ /= $heading
div_float_lvar_by_float_var 51@ /= $heading
div_float_lvar_by_float_var 52@ /= $heading
50@ *= 0.01
51@ *= 0.01
52@ *= 0.01
Car.ApplyForce(76@, 50@, 51@, 52@, 0.0, 0.0, 0.0)

:DES3_25018
goto @DES3_25054

:DES3_25025
Heli.FollowEntity(76@, $stattreadstamina_ctr, -1, 20.0)
113@ += 1
136@ = 0

:DES3_25054
if 
  113@ == 2
goto_if_false @DES3_25107
if 
  136@ > 35000
goto_if_false @DES3_25107
113@ = 0
136@ = 0

:DES3_25107
if 
  110@ == 99
goto_if_false @DES3_25318
Car.FreezePosition(76@, False)
43@ = Car.GetHealth(76@)
if 
  300 >= 43@
goto_if_false @DES3_25219
Char.MarkAsNoLongerNeeded(83@)
if 
  not Char.IsDead(83@)
goto_if_false @DES3_25188
Char.SetDecisionMaker(83@, 66@)

:DES3_25188
Heli.MakeComeCrashingDown(76@)
Car.MarkAsNoLongerNeeded(76@)
76@ = 0
83@ = 0
goto @DES3_25297

:DES3_25219
Char.MarkAsNoLongerNeeded(83@)
if 
  not Char.IsDead(83@)
goto_if_false @DES3_25248
Char.SetDecisionMaker(83@, 66@)

:DES3_25248
Heli.GotoCoords(76@, 204.0, 2816.0, 186.0, 50.0, 186.0)
Car.MarkAsNoLongerNeeded(76@)
76@ = 0
83@ = 0

:DES3_25297
if 
  Blip.DoesExist(103@)
goto_if_false @DES3_25318
Blip.Remove(103@)

:DES3_25318
set_lvar_int_to_lvar_int 43@ = 39@
if 
  4 > 43@
goto_if_false @DES3_25832
if 
  Char.DoesExist(88@(43@,4i))
goto_if_false @DES3_25832
if 
  not Char.IsDead(88@(43@,4i))
goto_if_false @DES3_25832
if 
  119@(43@,4i) == 0
goto_if_false @DES3_25488
if 
  not Char.IsDead(81@)
goto_if_false @DES3_25488
Char.ClearTasks(88@(43@,4i))
49@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 81@)
Task.StayInSamePlace(-1, True)
Sequence.Close(49@)
Char.PerformSequence(88@(43@,4i), 49@)
Sequence.Clear(49@)
119@(43@,4i) += 1

:DES3_25488
if 
  119@(43@,4i) == 1
goto_if_false @DES3_25652
if or
  43@ == 1
  43@ == 3
goto_if_false @DES3_25652
if 
  Char.LocateAnyMeansChar3D(88@(43@,4i), $stattreadstamina_ctr, 60.0, 60.0, 60.0, False)
goto_if_false @DES3_25652
Char.ClearTasks(88@(43@,4i))
49@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, True)
Sequence.Close(49@)
Char.PerformSequence(88@(43@,4i), 49@)
Sequence.Clear(49@)
Char.SetShootRate(88@(43@,4i), 100)
119@(43@,4i) += 1

:DES3_25652
if 
  119@(43@,4i) == 2
goto_if_false @DES3_25832
if or
  43@ == 1
  43@ == 3
goto_if_false @DES3_25832
if 
  not Char.LocateAnyMeansChar3D(88@(43@,4i), $stattreadstamina_ctr, 80.0, 80.0, 80.0, False)
goto_if_false @DES3_25832
if 
  not Char.IsDead(81@)
goto_if_false @DES3_25832
Char.ClearTasks(88@(43@,4i))
49@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 81@)
Task.StayInSamePlace(-1, True)
Sequence.Close(49@)
Char.PerformSequence(88@(43@,4i), 49@)
Sequence.Clear(49@)
Char.SetShootRate(88@(43@,4i), 30)
119@(43@,4i) = 1

:DES3_25832
if 
  39@ == 4
goto_if_false @DES3_25937
if 
  not Car.IsDead(76@)
goto_if_false @DES3_25937
if 
  Char.IsDead(88@)
goto_if_false @DES3_25937
if 
  Char.IsDead(89@)
goto_if_false @DES3_25937
if 
  Char.IsDead(90@)
goto_if_false @DES3_25937
if 
  Char.IsDead(91@)
goto_if_false @DES3_25937
110@ = 99

:DES3_25937
if 
  not Car.IsDead(76@)
goto_if_false @DES3_26012
43@ = Car.GetHealth(76@)
if 
  300 >= 43@
goto_if_false @DES3_26012
if 
  110@ <> 99
goto_if_false @DES3_26012
110@ = 99
Car.CanBeTargetedByHsMissile(76@, False)

:DES3_26012
set_lvar_int_to_lvar_int 43@ = 39@
if 
  4 > 43@
goto_if_false @DES3_26128
if 
  Char.DoesExist(88@(43@,4i))
goto_if_false @DES3_26128
if 
  Char.IsDead(88@(43@,4i))
goto_if_false @DES3_26128
Char.DetachFromCar(88@(43@,4i))
119@(43@,4i) = 0
set_lvar_int_to_lvar_int 263@ = 88@(43@,4i)
gosub @DES3_26311
88@(43@,4i) = 0

:DES3_26128
if and
  Car.IsDead(76@)
  76@ <> 0
goto_if_false @DES3_26309
Char.MarkAsNoLongerNeeded(83@)
if 
  not Char.IsDead(83@)
goto_if_false @DES3_26180
Char.SetDecisionMaker(83@, 66@)

:DES3_26180
Car.MarkAsNoLongerNeeded(76@)
76@ = 0
83@ = 0
43@ = 0

:DES3_26206
if 
  4 > 43@
goto_if_false @DES3_26288
if 
  Char.DoesExist(88@(43@,4i))
goto_if_false @DES3_26274
set_lvar_int_to_lvar_int 263@ = 88@(43@,4i)
gosub @DES3_26311
88@(43@,4i) = 0

:DES3_26274
43@ += 1
goto @DES3_26206

:DES3_26288
if 
  Blip.DoesExist(103@)
goto_if_false @DES3_26309
Blip.Remove(103@)

:DES3_26309
return 

:DES3_26311
264@ = 0
if 
  264@ == -1
goto_if_false @DES3_26360
265@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)

:DES3_26360
if 
  20 > 264@
goto_if_false @DES3_26438
if 
  not Char.DoesExist(265@(264@,20i))
goto_if_false @DES3_26424
set_lvar_int_to_lvar_int 265@(264@,20i) = 263@
264@ = 20
goto @DES3_26431

:DES3_26424
264@ += 1

:DES3_26431
goto @DES3_26360

:DES3_26438
return 

:DES3_26440
264@ = 0

:DES3_26447
if 
  20 > 264@
goto_if_false @DES3_26528
if 
  Char.DoesExist(265@(264@,20i))
goto_if_false @DES3_26514
if 
  Char.IsDead(265@(264@,20i))
goto_if_false @DES3_26514
Char.RemoveElegantly(265@(264@,20i))

:DES3_26514
264@ += 1
goto @DES3_26447

:DES3_26528
264@ = 0

:DES3_26535
if 
  4 > 264@
goto_if_false @DES3_26687
if 
  Char.DoesExist(84@(264@,4i))
goto_if_false @DES3_26613
if 
  Char.IsDead(84@(264@,4i))
goto_if_false @DES3_26613
Char.RemoveElegantly(84@(264@,4i))
84@(264@,4i) = 0

:DES3_26613
if 
  Char.DoesExist(88@(264@,4i))
goto_if_false @DES3_26673
if 
  Char.IsDead(88@(264@,4i))
goto_if_false @DES3_26673
Char.RemoveElegantly(88@(264@,4i))
88@(264@,4i) = 0

:DES3_26673
264@ += 1
goto @DES3_26535

:DES3_26687
return 
if 
  not Car.IsDead(286@)
goto_if_false @DES3_26719
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(286@)

:DES3_26719
if 
  not Car.IsDead(285@)
goto_if_false @DES3_26856
56@, 57@, 58@ = Car.GetCoordinates(285@)
set_lvar_float_to_var_float 50@ = $on_footY
sub_float_lvar_from_float_lvar 50@ -= 56@
set_lvar_float_to_var_float 51@ = $on_footZ
sub_float_lvar_from_float_lvar 51@ -= 57@
set_lvar_float_to_var_float 52@ = $in_carX
sub_float_lvar_from_float_lvar 52@ -= 58@
50@ *= -0.0001
51@ *= -0.0001
52@ *= -0.0001
Car.ApplyForce(285@, 50@, 51@, 52@, 0.0, 0.0, 0.0)

:DES3_26856
return 

:DES3_26858
34@ += 1
35@ = 0
62@ = 0
63@ = 0
64@ = 0
65@ = 0
TIMERA = 0
TIMERB = 0
return 

:DES3_26916
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:DES3_26934
Text.PrintWithNumberBig('M_PASS', 1000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 1000)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('DESERT3')
Stat.PlayerMadeProgress(1)
$flag_casino_mission_counter += 1
Stat.SetInt(StatId.PassedDesert3, 1)
Camera.DoFade(1000, Fade.In)

:DES3_27006
if 
  Camera.GetFadingStatus
goto_if_false @DES3_27030
wait 0
goto @DES3_27006

:DES3_27030
return 

:DES3_27032
if 
  not Garage.IsClosed('GHOSTDR')
goto_if_false @DES3_27065
Garage.Close('GHOSTDR')

:DES3_27065
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Streaming.MarkModelAsNoLongerNeeded(568)
Streaming.MarkModelAsNoLongerNeeded(471)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(343)
Streaming.MarkModelAsNoLongerNeeded(360)
Streaming.MarkModelAsNoLongerNeeded(165)
Streaming.MarkModelAsNoLongerNeeded(166)
Streaming.MarkModelAsNoLongerNeeded(61)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(487)
Streaming.MarkModelAsNoLongerNeeded(#KMB_HOLDALL)
Streaming.MarkModelAsNoLongerNeeded(417)
Streaming.MarkModelAsNoLongerNeeded(508)
Streaming.MarkModelAsNoLongerNeeded(#KMB_PARACHUTE)
Streaming.MarkModelAsNoLongerNeeded(68)
Streaming.MarkModelAsNoLongerNeeded(75)
Blip.Remove(101@)
Blip.Remove(102@)
Blip.Remove(103@)
Blip.Remove(104@)
Blip.Remove(105@)
Blip.Remove(106@)
Blip.Remove(107@)
Streaming.RemoveAnimation("BOMBER")
Weather.Release
Hud.ClearCounter($g_Desert6_timerKM)
Hud.ClearCounter($Desert6_view_debug)
Pickup.Remove(97@)
Pickup.Remove(98@)
Pickup.Remove(99@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DES3_27253
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)

:DES3_27253
DecisionMaker.Remove(66@)
DecisionMaker.Remove(67@)
Particle.Kill(100@)
Player.SetControl($statbike_temp, True)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
Game.SwitchPoliceHelis(True)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 78---------------
// Originally: Verdant Meadows

:DESERT4
script_name 'DESERT4'
gosub @DESERT4_47
if 
  has_deatharrest_been_executed 
goto_if_false @DESERT4_38
gosub @DESERT4_292

:DESERT4_38
gosub @DESERT4_429
terminate_this_script 

:DESERT4_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
Text.LoadMissionText('DSERT4')
Weather.Force(WeatherType.ExtraSunnyDesert)
World.ClearArea(-688.1717, 937.9888, 12.6328, 10.0, True)
Cutscene.Load('DESERT4')

:DESERT4_110
if 
  not Cutscene.HasLoaded
goto_if_false @DESERT4_134
wait 0
goto @DESERT4_110

:DESERT4_134
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DESERT4_143
if 
  not Cutscene.HasFinished
goto_if_false @DESERT4_167
wait 0
goto @DESERT4_143

:DESERT4_167
Camera.DoFade(0, Fade.Out)

:DESERT4_173
if 
  Camera.GetFadingStatus
goto_if_false @DESERT4_197
wait 0
goto @DESERT4_173

:DESERT4_197
Weather.Release
Cutscene.Clear
Char.SetCoordinates($stattreadstamina_ctr, -696.0359, 948.1198, 11.276)
Char.SetHeading($stattreadstamina_ctr, 33.1992)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Streaming.LoadScene(-696.0359, 948.1198, 11.276)
Camera.DoFade(1000, Fade.In)
wait 1000
Text.PrintNow('BUY_AIR', 10000, 1)
goto @DESERT4_310

:DESERT4_292
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:DESERT4_310
$flag_casino_mission_counter += 1
Stat.RegisterMissionPassed('DESERT4')
Blip.Remove($doc_contact_blip)
CarGenerator.Switch($f1_silver_car_gen, 101)
CarGenerator.Switch($f1_gold_car_gen, 101)
start_new_script @BUY3 
Blip.Remove($trigger_ice_cold_mission)
$trigger_ice_cold_mission = Blip.AddShortRangeSpriteForContactPoint($1528[2], $1560[2], $1592[2], RadarSprite.PropertyG)
Blip.ChangeDisplay($trigger_ice_cold_mission, BlipDisplay.BlipOnly)
Blip.Remove($heist_contact_blip)
$heist_contact_blip = Blip.AddSpriteForContactPoint($wasted_help2, $busted_help1, $flag_store_day_food, $pilot_blip_icon)
Blip.ChangeDisplay($heist_contact_blip, BlipDisplay.BlipOnly)
Stat.SetInt(StatId.PassedDesert4, 1)
Game.SetMaxWantedLevel(6)
Stat.PlayerMadeProgress(1)
return 

:DESERT4_429
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 79---------------
// Originally: N.O.E.

:DESERT6
script_name 'DESERT6'
gosub @DESERT6_47
if 
  has_deatharrest_been_executed 
goto_if_false @DESERT6_38
gosub @DESERT6_10307

:DESERT6_38
gosub @DESERT6_10519
terminate_this_script 

:DESERT6_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
75@ = 0
76@ = 0
77@ = 0
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
39@ = 0
40@ = 0
45@ = 0
46@ = 0
47@ = 0
TIMERA = 0
TIMERB = 0
78@ = 1
79@ = 0
80@ = 0
81@ = 0
82@ = -1
83@ = 0
84@ = 0
86@ = 0
85@ = 0
48@ = 0

:DESERT6_231
87@(48@,3i) = 0
48@ += 1
  48@ >= 3
goto_if_false @DESERT6_231
48@ = 0

:DESERT6_270
184@(48@,2i) = 0
48@ += 1
  48@ >= 2
goto_if_false @DESERT6_270
167@ = 0
168@ = 0
169@ = 0
170@ = 0
171@ = 0
179@ = 0
180@ = 0
181@ = 0
182@ = 0
183@ = 0
if 
  34@ == -99
goto_if_false @DESERT6_694
write_debug "SHOULD_NEVER_BE_IN_FAKE_ENTITY_CREATION"
125@ = Car.Create(476, 0.0, 0.0, 0.0)
48@ = 0

:DESERT6_463
126@(48@,2i) = Car.Create(520, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 2
goto_if_false @DESERT6_463
48@ = 0

:DESERT6_518
123@(48@,2i) = Char.Create(PedType.CivMale, 43, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 2
goto_if_false @DESERT6_518
48@ = 0

:DESERT6_574
128@(48@,4i) = Object.Create(#AMMO_CAPSULE, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 4
goto_if_false @DESERT6_574
133@ = Blip.AddForCar(125@)
132@ = Blip.AddForCoord(0.0, 0.0, 0.0)
48@ = 0

:DESERT6_657
134@(48@,2i) = Blip.AddForCar(126@(48@,2i))
48@ += 1
  48@ >= 2
goto_if_false @DESERT6_657

:DESERT6_694
Text.LoadMissionText('DSERT6')
gosub @DESERT6_9725
136@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
gosub @DESERT6_9939

:DESERT6_726
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DESERT6_759
36@ = 1
goto @DESERT6_1014

:DESERT6_759
gosub @DESERT6_9057
gosub @DESERT6_9410
if or
  38@ == 1
  39@ == 1
goto_if_false @DESERT6_805
goto @DESERT6_1014

:DESERT6_805
gosub @DESERT6_9622
gosub @DESERT6_9656
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT6_849
37@ = 1
goto @DESERT6_1014

:DESERT6_849
if 
  34@ == 0
goto_if_false @DESERT6_907
write_debug "STAGE_SHOULD_NEVER_BE_0_IN_MAIN_LOOP"

:DESERT6_907
if 
  34@ == 1
goto_if_false @DESERT6_932
gosub @DESERT6_1162

:DESERT6_932
if 
  34@ == 2
goto_if_false @DESERT6_957
gosub @DESERT6_1336

:DESERT6_957
if 
  34@ == 3
goto_if_false @DESERT6_982
gosub @DESERT6_2968

:DESERT6_982
if 
  34@ == 4
goto_if_false @DESERT6_1007
36@ = 1

:DESERT6_1007
gosub @DESERT6_6815

:DESERT6_1014
if 
  38@ == 0
goto_if_false @DESERT6_1114
if 
  37@ == 0
goto_if_false @DESERT6_1098
if 
  36@ == 0
goto_if_false @DESERT6_1082
goto @DESERT6_726
goto @DESERT6_1091

:DESERT6_1082
gosub @DESERT6_10459
return 

:DESERT6_1091
goto @DESERT6_1107

:DESERT6_1098
gosub @DESERT6_10307
return 

:DESERT6_1107
goto @DESERT6_1116

:DESERT6_1114
return 

:DESERT6_1116
write_debug "SHOULD_NEVER_BE_HERE_IN_END_OF_MAIN_LOOP"
return 

:DESERT6_1162
if 
  35@ == 0
goto_if_false @DESERT6_1228
Text.PrintNow('DES6_00', 7000, 1)
gosub @DESERT6_6258
81@ = 1
gosub @DESERT6_7633
Audio.SetRadioChannel(RadioChannel.UserTracks)
35@ += 1

:DESERT6_1228
if 
  Car.IsDead(125@)
goto_if_false @DESERT6_1260
37@ = 1
45@ = 1
return 

:DESERT6_1260
if 
  35@ == 1
goto_if_false @DESERT6_1309
if 
  Char.IsInCar($stattreadstamina_ctr, 125@)
goto_if_false @DESERT6_1309
Blip.Remove(133@)
35@ = 99

:DESERT6_1309
if 
  35@ == 99
goto_if_false @DESERT6_1334
gosub @DESERT6_9695

:DESERT6_1334
return 

:DESERT6_1336
if 
  35@ == 0
goto_if_false @DESERT6_1620
181@ = 0
set_lvar_int_to_lvar_int 137@ = 46@
137@ += 2000
159@ = -2135.59
160@ = -2488.454
161@ = 55.895
132@ = Blip.AddForCoord(159@, 160@, 161@)
set_lvar_float_to_lvar_float 70@ = 160@
70@ += 1.0
152@ = Checkpoint.Create(CheckpointType.Torus, 159@, 160@, 161@, 159@, 70@, 161@, 25.0)
$7501 = 0
138@ = 0
163@ = 0
165@ = 0
166@ = 0
172@ = 0
$7503 = 10
$7503 *= 60000
Hud.DisplayTimerWithString($7503, TimerDirection.Down, 'DES6_51')
162@ = Char.GetHeightAboveGround($stattreadstamina_ctr)
48@ = 0

:DESERT6_1559
177@(48@,2i) = 0
150@(48@,2i) = 0
48@ += 1
  48@ >= 2
goto_if_false @DESERT6_1559
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 30600)
Zone.SetDisableMilitaryZones(True)
35@ += 1

:DESERT6_1620
if 
  Car.IsDead(125@)
goto_if_false @DESERT6_1709
48@ = 0

:DESERT6_1643
if 
  Object.DoesExist(128@(48@,4i))
goto_if_false @DESERT6_1672
Object.Delete(128@(48@,4i))

:DESERT6_1672
48@ += 1
  48@ >= 4
goto_if_false @DESERT6_1643
37@ = 1
45@ = 1
return 

:DESERT6_1709
gosub @DESERT6_4831
if 
  37@ == 1
goto_if_false @DESERT6_1736
return 

:DESERT6_1736
if 
  $7503 == 0
goto_if_false @DESERT6_1770
37@ = 1
45@ = 3
return 

:DESERT6_1770
if 
  35@ == 1
goto_if_false @DESERT6_1867
if 
  is_int_lvar_greater_than_int_lvar 46@ > 137@
goto_if_false @DESERT6_1867
70@ = Char.GetHeightAboveGround($stattreadstamina_ctr)
sub_float_lvar_from_float_lvar 70@ -= 162@
if 
  70@ > 2.0
goto_if_false @DESERT6_1867
Hud.DisplayCounterWithString($7501, CounterDisplay.Bar, 'DES6_50')
35@ += 1

:DESERT6_1867
if 
  35@ == 2
goto_if_false @DESERT6_2061
set_lvar_float_to_lvar_float 57@ = 159@
57@ -= 25.0
set_lvar_float_to_lvar_float 58@ = 160@
58@ -= 2.0
set_lvar_float_to_lvar_float 59@ = 161@
59@ -= 25.0
set_lvar_float_to_lvar_float 60@ = 159@
60@ += 25.0
set_lvar_float_to_lvar_float 61@ = 160@
61@ += 2.0
set_lvar_float_to_lvar_float 62@ = 161@
62@ += 25.0
if and
  Char.IsInArea3D($stattreadstamina_ctr, 57@, 58@, 59@, 60@, 61@, 62@, False)
  Char.IsInCar($stattreadstamina_ctr, 125@)
goto_if_false @DESERT6_2061
Blip.Remove(132@)
Checkpoint.Delete(152@)
gosub @DESERT6_6561
35@ = 99

:DESERT6_2061
gosub @DESERT6_4188
gosub @DESERT6_5173
if 
  165@ == 1
goto_if_false @DESERT6_2119
if 
  is_int_lvar_greater_than_int_lvar 46@ > 140@
goto_if_false @DESERT6_2119
166@ = 1

:DESERT6_2119
if 
  166@ == 1
goto_if_false @DESERT6_2175
gosub @DESERT6_5600
50@ = 30
50@ *= 1000
set_lvar_int_to_lvar_int 140@ = 46@
add_int_lvar_to_int_lvar 140@ += 50@

:DESERT6_2175
gosub @DESERT6_6031
if 
  168@ == 0
goto_if_false @DESERT6_2331
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
72@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 159@, 160@, 161@)
if 
  500.0 > 72@
goto_if_false @DESERT6_2331
if 
  Camera.IsPointOnScreen(159@, 160@, 161@, 5.0)
goto_if_false @DESERT6_2331
Text.PrintNow('DES6_09', 7000, 1)
168@ = 1
169@ = 1
set_lvar_int_to_lvar_int 144@ = 46@
144@ += 7000

:DESERT6_2331
if 
  169@ == 1
goto_if_false @DESERT6_2375
if 
  is_int_lvar_greater_than_int_lvar 46@ > 144@
goto_if_false @DESERT6_2375
169@ = 0

:DESERT6_2375
if 
  not is_local_var_bit_set_const 85@ {n} 2
goto_if_false @DESERT6_2471
if and
  is_local_var_bit_set_const 85@ {n} 1
  80@ == 0
goto_if_false @DESERT6_2439
81@ = 2
gosub @DESERT6_7633
goto @DESERT6_2471

:DESERT6_2439
if and
  80@ == 1
  $7501 >= 40
goto_if_false @DESERT6_2471
gosub @DESERT6_7857

:DESERT6_2471
if and
  163@ == 1
  165@ == 0
  169@ == 0
goto_if_false @DESERT6_2549
if and
  not is_local_var_bit_set_const 85@ {n} 2
  80@ == 2
  79@ == 1
  $7501 >= 40
goto_if_false @DESERT6_2549
gosub @DESERT6_7788

:DESERT6_2549
if and
  not is_local_var_bit_set_const 85@ {n} 3
  is_local_var_bit_set_const 85@ {n} 2
  80@ == 0
goto_if_false @DESERT6_2595
81@ = 3
gosub @DESERT6_7633

:DESERT6_2595
if and
  165@ == 1
  not is_local_var_bit_set_const 85@ {n} 3
  80@ == 3
  79@ == 1
goto_if_false @DESERT6_2641
gosub @DESERT6_7788

:DESERT6_2641
if 
  167@ == 0
goto_if_false @DESERT6_2707
if and
  is_local_var_bit_set_const 85@ {n} 3
  79@ <> 2
goto_if_false @DESERT6_2707
Text.PrintNow('DES6_06', 7000, 1)
167@ = 1

:DESERT6_2707
if 
  180@ == 0
goto_if_false @DESERT6_2820
if 
  Char.IsInArea2D($stattreadstamina_ctr, -67.0004, 1646.886, 423.298, 2132.188, False)
goto_if_false @DESERT6_2820
if or
  Char.IsInAnyPlane($stattreadstamina_ctr)
  Char.IsInAnyHeli($stattreadstamina_ctr)
goto_if_false @DESERT6_2820
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @DESERT6_2820
Text.PrintNow('AREA51', 7000, 1)
180@ = 1

:DESERT6_2820
if 
  181@ == 0
goto_if_false @DESERT6_2887
if 
  is_int_lvar_greater_than_int_lvar 46@ > 137@
goto_if_false @DESERT6_2887
gosub @DESERT6_7788
set_lvar_int_to_lvar_int 137@ = 46@
137@ += 5000
181@ = 1

:DESERT6_2887
if 
  183@ == 0
goto_if_false @DESERT6_2941
if 
  is_local_var_bit_set_const 85@ {n} 1
goto_if_false @DESERT6_2941
Text.PrintHelp('DES6_12')
183@ = 1

:DESERT6_2941
if 
  35@ == 99
goto_if_false @DESERT6_2966
gosub @DESERT6_9695

:DESERT6_2966
return 

:DESERT6_2968
if 
  35@ == 0
goto_if_false @DESERT6_3201
Text.PrintNow('DES6_10', 5000, 1)
set_lvar_int_to_lvar_int 137@ = 46@
137@ += 5000
153@ = -76.4228
154@ = 2478.64
155@ = 14.2844
156@ = 433.6483
157@ = 2525.658
158@ = 18.6279
set_lvar_float_to_lvar_float 159@ = 156@
sub_float_lvar_from_float_lvar 159@ -= 153@
159@ /= 2.0
add_float_lvar_to_float_lvar 159@ += 153@
set_lvar_float_to_lvar_float 160@ = 157@
sub_float_lvar_from_float_lvar 160@ -= 154@
160@ /= 2.0
add_float_lvar_to_float_lvar 160@ += 154@
set_lvar_float_to_lvar_float 161@ = 158@
sub_float_lvar_from_float_lvar 161@ -= 155@
161@ /= 2.0
add_float_lvar_to_float_lvar 161@ += 155@
132@ = Blip.AddForCoord(159@, 160@, 161@)
35@ += 1

:DESERT6_3201
if 
  Car.IsDead(125@)
goto_if_false @DESERT6_3233
37@ = 1
45@ = 1
return 

:DESERT6_3233
gosub @DESERT6_4831
if 
  37@ == 1
goto_if_false @DESERT6_3260
return 

:DESERT6_3260
if 
  $7503 == 0
goto_if_false @DESERT6_3294
37@ = 1
45@ = 3
return 

:DESERT6_3294
if 
  35@ == 1
goto_if_false @DESERT6_3437
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 159@, 160@, 161@, 10.0, 10.0, 10.0, True)
if and
  Char.IsInArea3D($stattreadstamina_ctr, 153@, 154@, 155@, 156@, 157@, 158@, False)
  Char.IsInCar($stattreadstamina_ctr, 125@)
  Car.IsStopped(125@)
  not Car.IsInAirProper(125@)
goto_if_false @DESERT6_3437
Blip.Remove(132@)
gosub @DESERT6_7788
Player.SetControl($statbike_temp, False)
165@ = 0
141@ = 0
35@ += 1

:DESERT6_3437
if 
  35@ == 2
goto_if_false @DESERT6_3487
if 
  is_local_var_bit_set_const 85@ {n} 4
goto_if_false @DESERT6_3487
Player.SetControl($statbike_temp, True)
35@ = 99

:DESERT6_3487
gosub @DESERT6_4188
gosub @DESERT6_5173
if 
  165@ == 1
goto_if_false @DESERT6_3545
if 
  is_int_lvar_greater_than_int_lvar 46@ > 140@
goto_if_false @DESERT6_3545
166@ = 1

:DESERT6_3545
if 
  166@ == 1
goto_if_false @DESERT6_3601
gosub @DESERT6_5600
50@ = 30
50@ *= 1000
set_lvar_int_to_lvar_int 140@ = 46@
add_int_lvar_to_int_lvar 140@ += 50@

:DESERT6_3601
gosub @DESERT6_6031
if 
  170@ == 0
goto_if_false @DESERT6_3730
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
72@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 159@, 160@, 161@)
if 
  500.0 > 72@
goto_if_false @DESERT6_3730
Text.PrintNow('DES6_11', 7000, 1)
170@ = 1
171@ = 1
set_lvar_int_to_lvar_int 145@ = 46@
145@ += 7000

:DESERT6_3730
if 
  171@ == 1
goto_if_false @DESERT6_3808
if 
  is_int_lvar_greater_than_int_lvar 46@ > 145@
goto_if_false @DESERT6_3792
171@ = 0
Text.ClearThisPrint('DES6_11')
goto @DESERT6_3808

:DESERT6_3792
Text.PrintNow('DES6_11', 7000, 1)

:DESERT6_3808
if 
  172@ == 0
goto_if_false @DESERT6_3833
gosub @DESERT6_6621

:DESERT6_3833
if and
  170@ == 1
  80@ <> 4
  not is_local_var_bit_set_const 85@ {n} 4
goto_if_false @DESERT6_3963
switch_start 79@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @DESERT6_3963 {caseNum1} 0 {caseLabel1} @DESERT6_3928 {caseNum2} 1 {caseLabel2} @DESERT6_3949 {caseNum3} -1 {caseLabel3} @DESERT6_3963 {caseNum4} -1 {caseLabel4} @DESERT6_3963 {caseNum5} -1 {caseLabel5} @DESERT6_3963 {caseNum6} -1 {caseLabel6} @DESERT6_3963 {caseNum7} -1 {caseLabel7} @DESERT6_3963

:DESERT6_3928
81@ = 4
gosub @DESERT6_7633
goto @DESERT6_3963

:DESERT6_3949
gosub @DESERT6_7857
goto @DESERT6_3963

:DESERT6_3963
if 
  180@ == 0
goto_if_false @DESERT6_4076
if 
  Char.IsInArea2D($stattreadstamina_ctr, -67.0004, 1646.886, 423.298, 2132.188, False)
goto_if_false @DESERT6_4076
if or
  Char.IsInAnyPlane($stattreadstamina_ctr)
  Char.IsInAnyHeli($stattreadstamina_ctr)
goto_if_false @DESERT6_4076
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @DESERT6_4076
Text.PrintNow('AREA51', 7000, 1)
180@ = 1

:DESERT6_4076
if 
  35@ == 99
goto_if_false @DESERT6_4101
gosub @DESERT6_9695

:DESERT6_4101
return 

:DESERT6_4103
57@ = 323.5454
58@ = 2540.254
59@ = 15.8085
63@ = 180.0
World.ClearArea(57@, 58@, 59@, 15.0, True)
125@ = Car.Create(476, 57@, 58@, 59@)
Car.SetHeading(125@, 63@)
return 

:DESERT6_4188
57@, 58@, 59@ = Car.GetCoordinates(125@)
70@ = World.GetGroundZFor3DCoord(57@, 58@, 59@)
71@ = World.GetWaterHeightAtCoords(57@, 58@, False)
if 
  is_float_lvar_greater_than_float_lvar 71@ > 70@
goto_if_false @DESERT6_4256
set_lvar_float_to_lvar_float 70@ = 71@

:DESERT6_4256
set_lvar_float_to_lvar_float 71@ = 59@
sub_float_lvar_from_float_lvar 71@ -= 70@
if 
  71@ > 40.0
goto_if_false @DESERT6_4581
if 
  163@ == 1
goto_if_false @DESERT6_4527
if 
  is_int_lvar_greater_than_int_lvar 46@ > 138@
goto_if_false @DESERT6_4454
$7501 += 1
if 
  $7501 > 100
goto_if_false @DESERT6_4362
$7501 = 100

:DESERT6_4362
if and
  $7501 == 100
  165@ == 0
goto_if_false @DESERT6_4439
165@ = 1
166@ = 0
182@ = 0
50@ = 3
50@ *= 1000
set_lvar_int_to_lvar_int 140@ = 46@
add_int_lvar_to_int_lvar 140@ += 50@

:DESERT6_4439
set_lvar_int_to_lvar_int 138@ = 46@
138@ += 80

:DESERT6_4454
if and
  165@ == 0
  169@ == 0
  179@ == 0
goto_if_false @DESERT6_4520
if 
  79@ <> 2
goto_if_false @DESERT6_4520
Text.PrintNow('DES6_07', 1000, 1)

:DESERT6_4520
goto @DESERT6_4574

:DESERT6_4527
if 
  71@ > 41.0
goto_if_false @DESERT6_4574
163@ = 1
set_lvar_int_to_lvar_int 138@ = 46@
138@ += 80
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:DESERT6_4574
goto @DESERT6_4829

:DESERT6_4581
if 
  163@ == 1
goto_if_false @DESERT6_4738
163@ = 0
if 
  $7501 > 0
goto_if_false @DESERT6_4646
set_lvar_int_to_lvar_int 138@ = 46@
138@ += 40
goto @DESERT6_4653

:DESERT6_4646
138@ = 0

:DESERT6_4653
if 
  165@ == 1
goto_if_false @DESERT6_4702
50@ = 10
50@ *= 1000
set_lvar_int_to_lvar_int 141@ = 46@
add_int_lvar_to_int_lvar 141@ += 50@

:DESERT6_4702
165@ = 0
140@ = 0
Text.ClearThisPrint('DES6_07')
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
goto @DESERT6_4829

:DESERT6_4738
if 
  $7501 > 0
goto_if_false @DESERT6_4829
if 
  is_int_lvar_greater_than_int_lvar 46@ > 138@
goto_if_false @DESERT6_4829
$7501 -= 1
if 
  $7501 == 0
goto_if_false @DESERT6_4814
138@ = 0
goto @DESERT6_4829

:DESERT6_4814
set_lvar_int_to_lvar_int 138@ = 46@
138@ += 40

:DESERT6_4829
return 

:DESERT6_4831
if 
  not Char.IsInCar($stattreadstamina_ctr, 125@)
goto_if_false @DESERT6_5111
if 
  164@ == 1
goto_if_false @DESERT6_5027
if 
  is_int_lvar_greater_than_int_lvar 46@ > 139@
goto_if_false @DESERT6_5020
if 
  $7502 == 0
goto_if_false @DESERT6_4928
37@ = 1
45@ = 2
return 
goto @DESERT6_5020

:DESERT6_4928
$7502 -= 1
set_lvar_int_to_lvar_int 139@ = 46@
139@ += 1000
Text.ClearSmallPrints
Text.AddNextMessageToPreviousBriefs(False)
if 
  $7502 == 1
goto_if_false @DESERT6_5001
Text.PrintWithNumberNow('DES6_04', $7502, 1500, 1)
goto @DESERT6_5020

:DESERT6_5001
Text.PrintWithNumberNow('DES6_03', $7502, 1500, 1)

:DESERT6_5020
goto @DESERT6_5104

:DESERT6_5027
$7502 = 30
set_lvar_int_to_lvar_int 139@ = 46@
139@ += 1000
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('DES6_03', $7502, 1500, 1)
Blip.Remove(132@)
133@ = Blip.AddForCar(125@)
Blip.SetAsFriendly(133@, True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
164@ = 1

:DESERT6_5104
goto @DESERT6_5171

:DESERT6_5111
if 
  164@ == 1
goto_if_false @DESERT6_5171
164@ = 0
Blip.Remove(133@)
132@ = Blip.AddForCoord(159@, 160@, 161@)
139@ = 0
$7502 = 0
Text.ClearSmallPrints

:DESERT6_5171
return 

:DESERT6_5173
179@ = 0
48@ = 0

:DESERT6_5187
73@ = 0
if 
  184@(48@,2i) == 1
goto_if_false @DESERT6_5577
179@ = 1
if or
  Car.IsDead(126@(48@,2i))
  Char.IsDead(123@(48@,2i))
goto_if_false @DESERT6_5259
73@ = 1

:DESERT6_5259
if 
  73@ == 0
goto_if_false @DESERT6_5304
if 
  Car.IsInWater(126@(48@,2i))
goto_if_false @DESERT6_5304
73@ = 1

:DESERT6_5304
if 
  73@ == 0
goto_if_false @DESERT6_5485
if 
  177@(48@,2i) == 1
goto_if_false @DESERT6_5430
if 
  Car.IsInAirProper(126@(48@,2i))
goto_if_false @DESERT6_5393
177@(48@,2i) = 0
150@(48@,2i) = 0
goto @DESERT6_5423

:DESERT6_5393
if 
  is_int_lvar_greater_than_int_lvar 46@ > 150@(48@,2i)
goto_if_false @DESERT6_5423
73@ = 1

:DESERT6_5423
goto @DESERT6_5485

:DESERT6_5430
if 
  not Car.IsInAirProper(126@(48@,2i))
goto_if_false @DESERT6_5485
177@(48@,2i) = 1
set_lvar_int_to_lvar_int 150@(48@,2i) = 46@
150@(48@,2i) += 5000

:DESERT6_5485
if 
  73@ == 1
goto_if_false @DESERT6_5577
Car.MarkAsNoLongerNeeded(126@(48@,2i))
Char.MarkAsNoLongerNeeded(123@(48@,2i))
Blip.Remove(134@(48@,2i))
184@(48@,2i) = 0
if 
  165@ == 1
goto_if_false @DESERT6_5575
set_lvar_int_to_lvar_int 140@ = 46@
140@ += 2000

:DESERT6_5575
return 

:DESERT6_5577
48@ += 1
  48@ >= 2
goto_if_false @DESERT6_5187
return 

:DESERT6_5600
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
48@ = 0

:DESERT6_5621
if 
  184@(48@,2i) == 0
goto_if_false @DESERT6_6008
50@ = Math.RandomIntInRange(150, 200)
cset_lvar_float_to_lvar_int 70@ =# 50@
51@ = Math.RandomIntInRange(0, 2)
if 
  51@ == 0
goto_if_false @DESERT6_5704
add_float_lvar_to_float_lvar 57@ += 70@
goto @DESERT6_5712

:DESERT6_5704
sub_float_lvar_from_float_lvar 57@ -= 70@

:DESERT6_5712
50@ = Math.RandomIntInRange(150, 200)
cset_lvar_float_to_lvar_int 70@ =# 50@
51@ = Math.RandomIntInRange(0, 2)
if 
  51@ == 0
goto_if_false @DESERT6_5773
add_float_lvar_to_float_lvar 58@ += 70@
goto @DESERT6_5781

:DESERT6_5773
sub_float_lvar_from_float_lvar 58@ -= 70@

:DESERT6_5781
70@ = World.GetGroundZFor3DCoord(57@, 58@, 59@)
71@ = World.GetWaterHeightAtCoords(57@, 58@, False)
if 
  is_float_lvar_greater_than_float_lvar 71@ > 70@
goto_if_false @DESERT6_5835
set_lvar_float_to_lvar_float 70@ = 71@

:DESERT6_5835
set_lvar_float_to_lvar_float 59@ = 70@
59@ += 200.0
126@(48@,2i) = Car.Create(520, 57@, 58@, 59@)
Plane.StartsInAir(126@(48@,2i))
Plane.AttackPlayer(126@(48@,2i), $statbike_temp, 10.0)
134@(48@,2i) = Blip.AddForCar(126@(48@,2i))
Blip.ChangeDisplay(134@(48@,2i), BlipDisplay.BlipOnly)
123@(48@,2i) = Char.CreateInsideCar(126@(48@,2i), PedType.CivMale, 43)
Char.SetDecisionMaker(123@(48@,2i), 136@)
177@(48@,2i) = 0
150@(48@,2i) = 0
184@(48@,2i) = 1
166@ = 0
182@ = 1
return 

:DESERT6_6008
48@ += 1
  48@ >= 2
goto_if_false @DESERT6_5621
return 

:DESERT6_6031
if 
  165@ == 1
goto_if_false @DESERT6_6051
return 

:DESERT6_6051
if 
  is_int_lvar_greater_than_int_lvar 141@ > 46@
goto_if_false @DESERT6_6072
return 

:DESERT6_6072
if 
  182@ == 0
goto_if_false @DESERT6_6092
return 

:DESERT6_6092
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
48@ = 0

:DESERT6_6113
if 
  184@(48@,2i) == 1
goto_if_false @DESERT6_6235
57@, 58@, 59@ = Car.GetCoordinates(126@(48@,2i))
70@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 60@, 61@, 62@)
if 
  70@ > 250.0
goto_if_false @DESERT6_6235
Char.RemoveElegantly(123@(48@,2i))
Car.Delete(126@(48@,2i))
Blip.Remove(134@(48@,2i))
184@(48@,2i) = 0

:DESERT6_6235
48@ += 1
  48@ >= 2
goto_if_false @DESERT6_6113
return 

:DESERT6_6258
if 
  Car.IsDead(125@)
goto_if_false @DESERT6_6276
return 

:DESERT6_6276
128@ = Object.Create(#AMMO_CAPSULE, 370.5, 2498.75, 25.5)
129@ = Object.Create(#AMMO_CAPSULE, 371.25, 2498.35, 25.3)
130@ = Object.Create(#AMMO_CAPSULE, 371.25, 2499.15, 25.7)
131@ = Object.Create(#AMMO_CAPSULE, 372.0, 2498.35, 25.4)
Object.AttachToCar(128@, 125@, -0.75, 0.3, -1.05, 88.0, 0.0, 0.0)
Object.AttachToCar(129@, 125@, -0.25, 0.3, -1.1, 88.0, 0.0, 0.0)
Object.AttachToCar(130@, 125@, 0.25, 0.3, -1.1, 88.0, 0.0, 0.0)
Object.AttachToCar(131@, 125@, 0.75, 0.3, -1.05, 88.0, 0.0, 0.0)
48@ = 0

:DESERT6_6527
Object.SetCollision(128@(48@,4i), False)
48@ += 1
  48@ >= 4
goto_if_false @DESERT6_6527
return 

:DESERT6_6561
172@ = 0
48@ = 0

:DESERT6_6575
set_lvar_int_to_lvar_int 146@(48@,4i) = 46@
173@(48@,4i) = 0
48@ += 1
  48@ >= 4
goto_if_false @DESERT6_6575
return 

:DESERT6_6621
48@ = 0

:DESERT6_6628
if 
  173@(48@,4i) == 0
goto_if_false @DESERT6_6733
if 
  is_int_lvar_greater_than_int_lvar 46@ > 146@(48@,4i)
goto_if_false @DESERT6_6733
Object.Detach(128@(48@,4i), 0.0, 0.0, 0.0, True)
Object.SetDynamic(128@(48@,4i), True)
Audio.ReportMissionAudioEventAtObject(128@(48@,4i), 1009)
173@(48@,4i) = 1

:DESERT6_6733
48@ += 1
  48@ >= 4
goto_if_false @DESERT6_6628
48@ = 0

:DESERT6_6761
if 
  173@(48@,4i) == 0
goto_if_false @DESERT6_6785
return 

:DESERT6_6785
48@ += 1
  48@ >= 4
goto_if_false @DESERT6_6761
172@ = 1
return 

:DESERT6_6815
switch_start 79@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @DESERT6_6899 {caseNum1} 0 {caseLabel1} @DESERT6_6878 {caseNum2} 1 {caseLabel2} @DESERT6_6878 {caseNum3} 2 {caseLabel3} @DESERT6_6885 {caseNum4} 3 {caseLabel4} @DESERT6_6878 {caseNum5} 4 {caseLabel5} @DESERT6_6878 {caseNum6} -1 {caseLabel6} @DESERT6_6935 {caseNum7} -1 {caseLabel7} @DESERT6_6935

:DESERT6_6878
goto @DESERT6_6935

:DESERT6_6885
gosub @DESERT6_7075
goto @DESERT6_6935

:DESERT6_6899
write_debug "UNKNOWN_CONVERSATION_STATUS_ID"
return 

:DESERT6_6935
return 

:DESERT6_6937
if 
  is_int_lvar_equal_to_int_lvar 84@ == 83@
goto_if_false @DESERT6_6958
return 

:DESERT6_6958
50@ = 1
87@(50@,3i) = 1
Audio.LoadMissionAudio(50@, 90@(84@,11i))
84@ += 1
if 
  is_int_lvar_equal_to_int_lvar 84@ == 83@
goto_if_false @DESERT6_7016
return 

:DESERT6_7016
50@ += 1
if 
  50@ > 2
goto_if_false @DESERT6_7043
return 

:DESERT6_7043
87@(50@,3i) = 1
Audio.LoadMissionAudio(50@, 90@(84@,11i))
84@ += 1
return 

:DESERT6_7075
gosub @DESERT6_8047
if 
  79@ == 3
goto_if_false @DESERT6_7109
gosub @DESERT6_7325
return 

:DESERT6_7109
switch_start 87@(78@,3i) {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @DESERT6_7292 {caseNum1} 0 {caseLabel1} @DESERT6_7176 {caseNum2} 1 {caseLabel2} @DESERT6_7185 {caseNum3} 2 {caseLabel3} @DESERT6_7221 {caseNum4} 3 {caseLabel4} @DESERT6_7260 {caseNum5} -1 {caseLabel5} @DESERT6_7323 {caseNum6} -1 {caseLabel6} @DESERT6_7323 {caseNum7} -1 {caseLabel7} @DESERT6_7323

:DESERT6_7176
return 
goto @DESERT6_7323

:DESERT6_7185
if 
  not Audio.HasMissionAudioLoaded(78@)
goto_if_false @DESERT6_7203
return 

:DESERT6_7203
87@(78@,3i) = 2
goto @DESERT6_7323

:DESERT6_7221
Audio.PlayMissionAudio(78@)
Text.PrintNow(101@(82@,11s), 10000, 1)
87@(78@,3i) = 3
return 
goto @DESERT6_7323

:DESERT6_7260
if 
  not Audio.HasMissionAudioFinished(78@)
goto_if_false @DESERT6_7278
return 

:DESERT6_7278
gosub @DESERT6_7378
goto @DESERT6_7323

:DESERT6_7292
write_debug "UNKNOWN_AUDIO_SLOT_STATUS"
return 

:DESERT6_7323
return 

:DESERT6_7325
50@ = 1

:DESERT6_7332
if 
  2 >= 50@
goto_if_false @DESERT6_7369
Audio.ClearMissionAudio(50@)
50@ += 1
goto @DESERT6_7332

:DESERT6_7369
gosub @DESERT6_7507
return 

:DESERT6_7378
87@(78@,3i) = 0
82@ += 1
if 
  is_int_lvar_equal_to_int_lvar 82@ == 83@
goto_if_false @DESERT6_7424
gosub @DESERT6_7507
return 

:DESERT6_7424
if 
  is_int_lvar_greater_than_int_lvar 83@ > 84@
goto_if_false @DESERT6_7473
87@(78@,3i) = 1
Audio.LoadMissionAudio(78@, 90@(84@,11i))
84@ += 1

:DESERT6_7473
78@ += 1
if 
  78@ > 2
goto_if_false @DESERT6_7505
78@ = 1

:DESERT6_7505
return 

:DESERT6_7507
set_local_var_bit_lvar 85@ {var_n} 80@
80@ = 0
79@ = 0
81@ = 0
78@ = 1
82@ = 0
83@ = 0
84@ = 0
50@ = 1

:DESERT6_7571
if 
  2 > 50@
goto_if_false @DESERT6_7614
87@(50@,3i) = 0
50@ += 1
goto @DESERT6_7571

:DESERT6_7614
Text.ClearSmallPrints
set_lvar_int_to_lvar_int 86@ = 46@
86@ += 120
return 

:DESERT6_7633
if 
  79@ <> 0
goto_if_false @DESERT6_7658
gosub @DESERT6_7857

:DESERT6_7658
if 
  is_int_lvar_greater_than_int_lvar 86@ > 46@
goto_if_false @DESERT6_7679
return 

:DESERT6_7679
86@ = 0
set_lvar_int_to_lvar_int 80@ = 81@
81@ = 0
78@ = 1
82@ = 0
83@ = 0
84@ = 0
50@ = 1

:DESERT6_7736
if 
  2 > 50@
goto_if_false @DESERT6_7779
87@(50@,3i) = 0
50@ += 1
goto @DESERT6_7736

:DESERT6_7779
gosub @DESERT6_7886
return 

:DESERT6_7788
if 
  79@ <> 1
goto_if_false @DESERT6_7848
write_debug "A_CONVERSATION_HAS_NOT_BEEN_PREPARED"
return 

:DESERT6_7848
79@ = 2
return 

:DESERT6_7857
if 
  79@ == 0
goto_if_false @DESERT6_7877
return 

:DESERT6_7877
gosub @DESERT6_7325
return 

:DESERT6_7886
switch_start 80@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @DESERT6_8005 {caseNum1} 1 {caseLabel1} @DESERT6_7949 {caseNum2} 2 {caseLabel2} @DESERT6_7963 {caseNum3} 3 {caseLabel3} @DESERT6_7977 {caseNum4} 4 {caseLabel4} @DESERT6_7991 {caseNum5} -1 {caseLabel5} @DESERT6_8031 {caseNum6} -1 {caseLabel6} @DESERT6_8031 {caseNum7} -1 {caseLabel7} @DESERT6_8031

:DESERT6_7949
gosub @DESERT6_8127
goto @DESERT6_8031

:DESERT6_7963
gosub @DESERT6_8600
goto @DESERT6_8031

:DESERT6_7977
gosub @DESERT6_8797
goto @DESERT6_8031

:DESERT6_7991
gosub @DESERT6_9011
goto @DESERT6_8031

:DESERT6_8005
write_debug "UNKNOWN_CONVERSATION"
return 

:DESERT6_8031
gosub @DESERT6_6937
79@ = 1
return 

:DESERT6_8047
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT6_8072
79@ = 3
return 

:DESERT6_8072
if 
  Car.IsDead(125@)
goto_if_false @DESERT6_8097
79@ = 3
return 

:DESERT6_8097
if 
  not Char.IsInCar($stattreadstamina_ctr, 125@)
goto_if_false @DESERT6_8125
79@ = 3
return 

:DESERT6_8125
return 

:DESERT6_8127
50@ = 0
set_lvar_int_to_constant 90@(50@,11i) = 13400
set_lvar_text_label 101@(50@,11s) = 'DES6_AA'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13401
set_lvar_text_label 101@(50@,11s) = 'DES6_AB'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13402
set_lvar_text_label 101@(50@,11s) = 'DES6_AD'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13403
set_lvar_text_label 101@(50@,11s) = 'DES6_AE'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13404
set_lvar_text_label 101@(50@,11s) = 'DES6_AF'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13405
set_lvar_text_label 101@(50@,11s) = 'DES6_AG'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13406
set_lvar_text_label 101@(50@,11s) = 'DES6_AH'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13407
set_lvar_text_label 101@(50@,11s) = 'DES6_AJ'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13408
set_lvar_text_label 101@(50@,11s) = 'DES6_AK'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13409
set_lvar_text_label 101@(50@,11s) = 'DES6_AM'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13410
set_lvar_text_label 101@(50@,11s) = 'DES6_AN'
50@ += 1
if 
  50@ > 11
goto_if_false @DESERT6_8590
write_debug "TOO_MANY_CONVERSATION_LINES"

:DESERT6_8590
set_lvar_int_to_lvar_int 83@ = 50@
return 

:DESERT6_8600
50@ = Math.RandomIntInRange(0, 4)
switch_start 50@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @DESERT6_8788 {caseNum1} 0 {caseLabel1} @DESERT6_8672 {caseNum2} 1 {caseLabel2} @DESERT6_8701 {caseNum3} 2 {caseLabel3} @DESERT6_8730 {caseNum4} 3 {caseLabel4} @DESERT6_8759 {caseNum5} -1 {caseLabel5} @DESERT6_8788 {caseNum6} -1 {caseLabel6} @DESERT6_8788 {caseNum7} -1 {caseLabel7} @DESERT6_8788

:DESERT6_8672
set_lvar_int_to_constant 90@ = 13411
set_lvar_text_label 101@s = 'DES6_BA'
goto @DESERT6_8788

:DESERT6_8701
set_lvar_int_to_constant 90@ = 13412
set_lvar_text_label 101@s = 'DES6_BB'
goto @DESERT6_8788

:DESERT6_8730
set_lvar_int_to_constant 90@ = 13413
set_lvar_text_label 101@s = 'DES6_BC'
goto @DESERT6_8788

:DESERT6_8759
set_lvar_int_to_constant 90@ = 13414
set_lvar_text_label 101@s = 'DES6_BD'
goto @DESERT6_8788

:DESERT6_8788
83@ = 1
return 

:DESERT6_8797
50@ = 0
set_lvar_int_to_constant 90@(50@,11i) = 13415
set_lvar_text_label 101@(50@,11s) = 'DES6_CA'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13416
set_lvar_text_label 101@(50@,11s) = 'DES6_CB'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13417
set_lvar_text_label 101@(50@,11s) = 'DES6_CC'
50@ += 1
set_lvar_int_to_constant 90@(50@,11i) = 13418
set_lvar_text_label 101@(50@,11s) = 'DES6_CD'
50@ += 1
if 
  50@ > 11
goto_if_false @DESERT6_9001
write_debug "TOO_MANY_CONVERSATION_LINES"

:DESERT6_9001
set_lvar_int_to_lvar_int 83@ = 50@
return 

:DESERT6_9011
50@ = 0
set_lvar_int_to_constant 90@(50@,11i) = 13419
set_lvar_text_label 101@(50@,11s) = 'DES6_DA'
83@ = 1
return 

:DESERT6_9057
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @DESERT6_9106
47@ += 1
if 
  47@ > 2
goto_if_false @DESERT6_9104
47@ = 0

:DESERT6_9104
clear_all_view_variables 

:DESERT6_9106
if 
  47@ == 1
goto_if_false @DESERT6_9280
set_var_int_to_lvar_int $7504 = 34@
set_var_int_to_lvar_int $7505 = 35@
set_var_int_to_lvar_int $7506 = 46@
set_var_int_to_lvar_int $7507 = 80@
set_var_int_to_lvar_int $cut_timerr = 85@
$start_timerr = 0
$d9_counting = 0
$pilot_revenue = 0
view_integer_variable $7504 {_p2} "M_STAGE"
view_integer_variable $7505 {_p2} "M_GOALS"
view_integer_variable $7506 {_p2} "M_MISSION_TIMER"
view_integer_variable $7507 {_p2} "CONVERSATION"
view_integer_variable $cut_timerr {_p2} "CONVERSATIONSPLAYED"

:DESERT6_9280
if 
  47@ == 2
goto_if_false @DESERT6_9298

:DESERT6_9298
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @DESERT6_9320
38@ = 1

:DESERT6_9320
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @DESERT6_9408
if 
  39@ == 0
goto_if_false @DESERT6_9383
39@ = 1
write_debug "LEVEL_PAUSED"
goto @DESERT6_9408

:DESERT6_9383
39@ = 0
write_debug "LEVEL_UNPAUSED"

:DESERT6_9408
return 

:DESERT6_9410
if 
  not is_ps2_keyboard_key_just_pressed 74
goto_if_false @DESERT6_9427
return 

:DESERT6_9427
if 
  34@ == 2
goto_if_false @DESERT6_9548
if 
  2 > 35@
goto_if_false @DESERT6_9531
World.ClearArea(-2246.706, -2539.1, 30.7512, 25.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -2246.706, -2539.1, 30.7512)
Char.SetHeading($stattreadstamina_ctr, 144.5365)
35@ = 2
goto @DESERT6_9548

:DESERT6_9531
Blip.Remove(132@)
Checkpoint.Delete(152@)
35@ = 99

:DESERT6_9548
if 
  34@ == 3
goto_if_false @DESERT6_9620
World.ClearArea(384.4035, 2449.35, 15.4921, 25.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 384.4035, 2449.35, 15.4921)
Char.SetHeading($stattreadstamina_ctr, 7.1386)

:DESERT6_9620
return 

:DESERT6_9622
41@ += 1
if 
  41@ > 9
goto_if_false @DESERT6_9654
41@ = 0

:DESERT6_9654
return 

:DESERT6_9656
42@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 44@ = 42@
sub_int_lvar_from_int_lvar 44@ -= 43@
set_lvar_int_to_lvar_int 43@ = 42@
add_int_lvar_to_int_lvar 46@ += 44@
return 

:DESERT6_9695
34@ += 1
35@ = 0
TIMERA = 0
TIMERB = 0
return 

:DESERT6_9725
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT6_9748
Player.SetControl($statbike_temp, False)

:DESERT6_9748
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:DESERT6_9763
if 
  Camera.GetFadingStatus
goto_if_false @DESERT6_9787
wait 0
goto @DESERT6_9763

:DESERT6_9787
World.ClearArea(335.0, 2529.0, 16.0, 20.0, True)
Cutscene.Load('DESERT6')

:DESERT6_9822
if 
  not Cutscene.HasLoaded
goto_if_false @DESERT6_9846
wait 0
goto @DESERT6_9822

:DESERT6_9846
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)
Weather.Force(WeatherType.ExtraSunnyDesert)

:DESERT6_9867
if 
  not Cutscene.HasFinished
goto_if_false @DESERT6_9891
wait 0
goto @DESERT6_9867

:DESERT6_9891
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:DESERT6_9905
if 
  Camera.GetFadingStatus
goto_if_false @DESERT6_9929
wait 0
goto @DESERT6_9905

:DESERT6_9929
Cutscene.Clear
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
return 

:DESERT6_9939
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @DESERT6_9966
wait 0
goto @DESERT6_9939

:DESERT6_9966
CarGenerator.Switch($d5_silver_generator_unlocked, 0)
CarGenerator.Switch($d5_gold_generator_unlocked, 0)
CarGenerator.Switch($boat_which_missions_are_open_flag, 0)
World.ClearArea(368.1973, 2519.421, 15.5961, 300.0, False)
gosub @DESERT6_10197
gosub @DESERT6_10305
gosub @DESERT6_4103
133@ = Blip.AddForCar(125@)
Blip.SetAsFriendly(133@, True)
World.ClearArea(331.9908, 2533.767, 15.8044, 0.5, False)
Streaming.LoadScene(331.9908, 2533.767, 15.8044)
Char.SetCoordinates($stattreadstamina_ctr, 331.9908, 2533.767, 15.8044)
Char.SetHeading($stattreadstamina_ctr, 48.4743)
Camera.SetBehindPlayer
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
Game.SwitchAmbientPlanes(False)
wait 500
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT6_10171
Player.SetControl($statbike_temp, True)

:DESERT6_10171
Restart.SetRespawnPointForDurationOfMission(322.8019, 2530.124, 15.8089)
gosub @DESERT6_9695
return 

:DESERT6_10197
Streaming.RequestModel(476)
Streaming.RequestModel(520)
Streaming.RequestModel(43)
Streaming.RequestModel(#AMMO_CAPSULE)
Streaming.LoadAllModelsNow

:DESERT6_10218
if or
  not Streaming.HasModelLoaded(476)
  not Streaming.HasModelLoaded(520)
goto_if_false @DESERT6_10250
wait 0
goto @DESERT6_10218

:DESERT6_10250
if 
  not Streaming.HasModelLoaded(43)
goto_if_false @DESERT6_10276
wait 0
goto @DESERT6_10250

:DESERT6_10276
if 
  not Streaming.HasModelLoaded(#AMMO_CAPSULE)
goto_if_false @DESERT6_10303
wait 0
goto @DESERT6_10276

:DESERT6_10303
return 

:DESERT6_10305
return 

:DESERT6_10307
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Text.ClearSmallPrints
switch_start 45@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DESERT6_10457 {caseNum1} 1 {caseLabel1} @DESERT6_10388 {caseNum2} 2 {caseLabel2} @DESERT6_10411 {caseNum3} 3 {caseLabel3} @DESERT6_10434 {caseNum4} -1 {caseLabel4} @DESERT6_10457 {caseNum5} -1 {caseLabel5} @DESERT6_10457 {caseNum6} -1 {caseLabel6} @DESERT6_10457 {caseNum7} -1 {caseLabel7} @DESERT6_10457

:DESERT6_10388
Text.PrintNow('DES6_99', 5000, 1)
goto @DESERT6_10457

:DESERT6_10411
Text.PrintNow('DES6_98', 5000, 1)
goto @DESERT6_10457

:DESERT6_10434
Text.PrintNow('DES6_97', 5000, 1)
goto @DESERT6_10457

:DESERT6_10457
return 

:DESERT6_10459
Text.PrintWithNumberBig('M_PASS', 15000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 15000)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('DESERT6')
Stat.PlayerMadeProgress(1)
$flag_casino_mission_counter += 1
return 

:DESERT6_10519
Car.MarkAsNoLongerNeeded(125@)
48@ = 0

:DESERT6_10531
Car.MarkAsNoLongerNeeded(126@(48@,2i))
Char.MarkAsNoLongerNeeded(123@(48@,2i))
48@ += 1
  48@ >= 2
goto_if_false @DESERT6_10531
48@ = 0

:DESERT6_10577
Object.Delete(128@(48@,4i))
48@ += 1
  48@ >= 4
goto_if_false @DESERT6_10577
Blip.Remove(133@)
Blip.Remove(132@)
48@ = 0

:DESERT6_10624
Blip.Remove(134@(48@,2i))
48@ += 1
  48@ >= 2
goto_if_false @DESERT6_10624
Hud.ClearCounter($7501)
Hud.ClearTimer($7503)
Checkpoint.Delete(152@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Streaming.MarkModelAsNoLongerNeeded(476)
Streaming.MarkModelAsNoLongerNeeded(520)
Streaming.MarkModelAsNoLongerNeeded(43)
Streaming.MarkModelAsNoLongerNeeded(#AMMO_CAPSULE)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
Game.SwitchAmbientPlanes(True)
Weather.Release
Zone.SetDisableMilitaryZones(False)
$flag_courier_mission_passed = Clock.GetGameTimer()
if 
  $boat_accelerate_best_score == 1
goto_if_false @DESERT6_10753
CarGenerator.Switch($d5_silver_generator_unlocked, 101)

:DESERT6_10753
if 
  $boat_simplecircuit_best_score == 1
goto_if_false @DESERT6_10778
CarGenerator.Switch($d5_gold_generator_unlocked, 101)

:DESERT6_10778
if 
  $boat_slalom_best_score == 1
goto_if_false @DESERT6_10803
CarGenerator.Switch($boat_which_missions_are_open_flag, 101)

:DESERT6_10803
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 80---------------
// Originally: Stowaway

:DESERT9
script_name 'DESERT9'
gosub @DESERT9_49

:DESERT9_18
if 
  has_deatharrest_been_executed 
goto_if_false @DESERT9_38
gosub @DESERT9_21880

:DESERT9_38
gosub @DESERT9_21988

:DESERT9_45
Mission.Finish
terminate_this_script 

:DESERT9_49
Stat.RegisterMissionGiven
Text.LoadMissionText('DSERT9')
Game.SetWantedMultiplier(0.0)
Game.SetScriptLimitToGangSize(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
$weapon_shop1_blip = 1
World.SwitchEntryExit('DESHOUS', False)
150@ = 100.0
if 
  150@ == 0.0
goto_if_false @DESERT9_372
91@ = Object.Create(#BARREL1, 0.0, 0.0, 0.0)
225@ = Object.Create(#BARREL1, 0.0, 0.0, 0.0)
56@ = Object.Create(#KB_BARREL, 0.0, 0.0, 0.0)
35@ = Car.Create(461, 426.6481, 2535.713, 15.5538)
Car.SetHeading(35@, 107.0)
152@ = Blip.AddForCoord(74@, 75@, 76@)
$ai_target_z = Pickup.Create(371, PickupType.Once, 1797.602, -1308.881, 133.8128)
153@ = Blip.AddForCar(35@)
49@ = Object.Create(#CR_GUNCRATE, 365.0146, 2500.676, 15.492)
50@ = Object.Create(#CR_CRATESTACK, 365.9573, 2502.763, 15.4921)
51@ = Object.Create(#CR_CRATESTACK, 365.5524, 2503.46, 15.492)
52@ = Object.Create(#CR_CRATESTACK, 364.5623, 2503.406, 15.4921)

:DESERT9_372
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DESERT9_398
goto @DESERT9_21903

:DESERT9_398
if 
is_ps2_keyboard_key_pressed 68
goto_if_false @DESERT9_468

:DESERT9_413
if 
  not Streaming.HasModelLoaded(371)
goto_if_false @DESERT9_445
Streaming.RequestModel(371)
wait 0
goto @DESERT9_413

:DESERT9_445
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Parachute, 1)
68@ = 0
71@ = 0

:DESERT9_468
switch_start 68@ {numCases} 12 {hasDefaultCase} 0 {defaultLabel} @DESERT9_764 {caseNum1} 0 {caseLabel1} @DESERT9_596 {caseNum2} 2 {caseLabel2} @DESERT9_652 {caseNum3} 3 {caseLabel3} @DESERT9_666 {caseNum4} 4 {caseLabel4} @DESERT9_680 {caseNum5} 5 {caseLabel5} @DESERT9_694 {caseNum6} 6 {caseLabel6} @DESERT9_708 {caseNum7} 7 {caseLabel7} @DESERT9_722
switch_continued 8 {caseLabel1} @DESERT9_736 {caseNum2} 9 {caseLabel2} @DESERT9_750 {caseNum3} 20 {caseLabel3} @DESERT9_610 {caseNum4} 21 {caseLabel4} @DESERT9_624 {caseNum5} 22 {caseLabel5} @DESERT9_638 {caseNum6} -1 {caseLabel6} @DESERT9_764 {caseNum7} -1 {caseLabel7} @DESERT9_764 {caseNum8} -1 {caseLabel8} @DESERT9_764 {caseNum9} -1 {caseLabel9} @DESERT9_764

:DESERT9_596
gosub @DESERT9_864
goto @DESERT9_764

:DESERT9_610
gosub @DESERT9_889
goto @DESERT9_764

:DESERT9_624
gosub @DESERT9_4350
goto @DESERT9_764

:DESERT9_638
gosub @DESERT9_4519
goto @DESERT9_764

:DESERT9_652
gosub @DESERT9_6284
goto @DESERT9_764

:DESERT9_666
gosub @DESERT9_7444
goto @DESERT9_764

:DESERT9_680
gosub @DESERT9_11098
goto @DESERT9_764

:DESERT9_694
gosub @DESERT9_12941
goto @DESERT9_764

:DESERT9_708
gosub @DESERT9_13168
goto @DESERT9_764

:DESERT9_722
gosub @DESERT9_13222
goto @DESERT9_764

:DESERT9_736
gosub @DESERT9_13784
goto @DESERT9_764

:DESERT9_750
gosub @DESERT9_14291
goto @DESERT9_764

:DESERT9_764
gosub @DESERT9_21727
gosub @DESERT9_792
gosub @DESERT9_20496
goto @DESERT9_372

:DESERT9_792
switch_start 68@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @DESERT9_862 {caseNum1} 2 {caseLabel1} @DESERT9_855 {caseNum2} -1 {caseLabel2} @DESERT9_862 {caseNum3} -1 {caseLabel3} @DESERT9_862 {caseNum4} -1 {caseLabel4} @DESERT9_862 {caseNum5} -1 {caseLabel5} @DESERT9_862 {caseNum6} -1 {caseLabel6} @DESERT9_862 {caseNum7} -1 {caseLabel7} @DESERT9_862

:DESERT9_855
goto @DESERT9_862

:DESERT9_862
return 

:DESERT9_864
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Like, PedType.Mission2, PedType.Player1)
68@ = 20
return 

:DESERT9_889
Camera.SetFadingColor(0, 0, 0)
if 
  71@ == 0
goto_if_false @DESERT9_936
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Camera.DoFade(1000, Fade.Out)
71@ = 1

:DESERT9_936
if 
  71@ == 1
goto_if_false @DESERT9_1110
if 
  not Camera.GetFadingStatus
goto_if_false @DESERT9_1110
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearAreaOfCars(-120.5297, 2593.665, 69.1939, 502.5016, 2365.418, -1.2447)
World.ClearAreaOfChars(-120.5297, 2593.665, 69.1939, 502.5016, 2365.418, -1.2447)
Char.SetCoordinatesNoOffset($stattreadstamina_ctr, 222.7755, 2508.972, 15.5214)
Streaming.RequestModel(592)
Streaming.RequestModel(422)
Streaming.RequestModel(165)
Streaming.RequestModel(352)
Streaming.RequestModel(166)
Streaming.RequestCarRecording(450)
Streaming.RequestCarRecording(168)
Streaming.RequestCarRecording(452)
Streaming.RequestCarRecording(453)
Streaming.LoadAllModelsNow
71@ = 1

:DESERT9_1110
if 
  71@ == 1
goto_if_false @DESERT9_1607
if and
  Streaming.HasModelLoaded(592)
  Streaming.HasModelLoaded(422)
  Streaming.HasModelLoaded(165)
  Streaming.HasModelLoaded(352)
  Streaming.HasModelLoaded(166)
goto_if_false @DESERT9_1607
if and
  Streaming.HasCarRecordingBeenLoaded(450)
  Streaming.HasCarRecordingBeenLoaded(168)
  Streaming.HasCarRecordingBeenLoaded(452)
  Streaming.HasCarRecordingBeenLoaded(453)
goto_if_false @DESERT9_1607
34@ = Car.Create(592, 339.9034, 2499.805, 15.4884)
36@ = Car.Create(422, -22.1321, 2504.942, 15.2566)
37@ = Car.Create(422, -15.9009, 2507.28, 15.2543)
38@ = Car.Create(422, -17.3227, 2501.011, 15.252)
Car.ChangeColor(36@, 0, 0)
Car.ChangeColor(37@, 0, 0)
Car.ChangeColor(38@, 0, 0)
Car.SetHeading(36@, 270.0)
Car.SetHeading(37@, 270.0)
Car.SetHeading(38@, 270.0)
40@ = Char.CreateInsideCar(36@, PedType.Mission1, 166)
41@ = Char.CreateInsideCar(37@, PedType.Mission1, 165)
42@ = Char.CreateInsideCar(38@, PedType.Mission1, 165)
43@ = Char.CreateAsPassenger(36@, PedType.Mission1, 165, 0)
44@ = Char.CreateAsPassenger(37@, PedType.Mission1, 166, 0)
45@ = Char.Create(PedType.Mission1, 165, -28.1475, 2492.807, 15.2513)
46@ = Char.Create(PedType.Mission1, 166, -28.1475, 2493.807, 15.2513)
47@ = Char.Create(PedType.Mission1, 166, -28.1475, 2494.807, 15.2513)
Char.AttachToCar(45@, 36@, 0.5, -1.0, 0.4, 0, 10.0, WeaponType.MicroUzi)
Char.AttachToCar(46@, 37@, -0.5, -1.0, 0.4, 0, 10.0, WeaponType.MicroUzi)
Char.AttachToCar(47@, 37@, 0.5, -1.0, 0.4, 0, 10.0, WeaponType.MicroUzi)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 1500
71@ = 2

:DESERT9_1607
if 
  71@ == 2
goto_if_false @DESERT9_1914
if 
  is_int_lvar_greater_than_int_lvar 86@ > TIMERA
goto_if_false @DESERT9_1914
if and
  not Car.IsDead(36@)
  not Car.IsDead(37@)
  not Car.IsDead(38@)
  not Car.IsDead(34@)
goto_if_false @DESERT9_1914
if and
  Streaming.HasCarRecordingBeenLoaded(450)
  Streaming.HasCarRecordingBeenLoaded(168)
  Streaming.HasCarRecordingBeenLoaded(452)
  Streaming.HasCarRecordingBeenLoaded(453)
goto_if_false @DESERT9_1894
Car.StartPlayback(36@, 450)
Car.StartPlayback(37@, 453)
Car.StartPlayback(38@, 452)
Car.StartPlayback(34@, 168)
Car.SetEngineOn(34@, True)
Car.SetPlaybackSpeed(36@, 0.8)
Car.SetPlaybackSpeed(37@, 0.9)
Car.SetPlaybackSpeed(38@, 0.8)
Camera.SetFixedPosition(-123.0824, 2533.057, 21.679, 0.0, 0.0, 0.0)
Streaming.LoadSceneInDirection(-123.0824, 2533.057, 21.679, 100.0)
Streaming.RequestCollision(-123.0824, 2533.057)
Camera.DoFade(600, Fade.In)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 5000
set_lvar_int_to_lvar_int 155@ = TIMERA
155@ += 1000
71@ = 3
goto @DESERT9_1914

:DESERT9_1894
Streaming.RequestCarRecording(450)
Streaming.RequestCarRecording(168)
Streaming.RequestCarRecording(452)
Streaming.RequestCarRecording(453)

:DESERT9_1914
if 
  71@ == 3
goto_if_false @DESERT9_2227
if and
  not Car.IsDead(36@)
  not Car.IsDead(37@)
  not Car.IsDead(38@)
  not Car.IsDead(34@)
goto_if_false @DESERT9_2227
148@ = 0.0
149@ = 0.0
150@ = 0.0
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(36@)
add_float_var_to_float_lvar 148@ += $on_footY
add_float_var_to_float_lvar 149@ += $on_footZ
add_float_var_to_float_lvar 150@ += $in_carX
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(37@)
add_float_var_to_float_lvar 148@ += $on_footY
add_float_var_to_float_lvar 149@ += $on_footZ
add_float_var_to_float_lvar 150@ += $in_carX
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(38@)
add_float_var_to_float_lvar 148@ += $on_footY
add_float_var_to_float_lvar 149@ += $on_footZ
add_float_var_to_float_lvar 150@ += $in_carX
148@ /= 3.0
149@ /= 3.0
150@ /= 3.0
Camera.PointAtPoint(148@, 149@, 150@, SwitchType.JumpCut)
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_2176
71@ = 4

:DESERT9_2176
if 
  155@ <> 0
goto_if_false @DESERT9_2227
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 155@
goto_if_false @DESERT9_2227
626@ = 1
155@ = 0

:DESERT9_2227
if 
  71@ == 4
goto_if_false @DESERT9_2700
if and
  not Car.IsDead(36@)
  not Car.IsDead(37@)
  not Car.IsDead(38@)
goto_if_false @DESERT9_2534
if and
  not Char.IsDead(40@)
  not Char.IsDead(41@)
  not Char.IsDead(42@)
goto_if_false @DESERT9_2534
Car.StopPlayback(36@)
Car.StopPlayback(37@)
Car.StopPlayback(38@)
Car.SetCoordinates(36@, 90.1321, 2504.942, 15.4766)
Car.SetCoordinates(37@, 83.9009, 2510.28, 15.4766)
Car.SetCoordinates(38@, 85.3227, 2497.011, 15.4766)
Task.CarDriveToCoord(40@, 36@, 400.2219, 2504.942, 15.4766, 12.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(41@, 37@, 400.2219, 2510.28, 15.4766, 12.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(42@, 38@, 400.2219, 2497.011, 15.4766, 12.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Car.SetHeading(36@, 270.0)
Car.SetHeading(37@, 270.0)
Car.SetHeading(38@, 270.0)
Car.SetForwardSpeed(36@, 12.0)
Car.SetForwardSpeed(37@, 12.0)
Car.SetForwardSpeed(38@, 12.0)

:DESERT9_2534
Car.SetPlaybackSpeed(34@, 0.7)
Char.SetHeading($stattreadstamina_ctr, 270.0)
66@ = Sequence.Open()
Task.PlayAnim(-1, "FLEE_LKAROUND_01", "PED", 8.0, False, False, False, False, -1)
Sequence.Close(66@)
Char.PerformSequence($stattreadstamina_ctr, 66@)
Sequence.Clear(66@)
626@ = 2
Camera.SetFixedPosition(224.1743, 2508.426, 16.7184, 0.0, 0.0, 0.0)
Camera.PointAtPoint(223.194, 2508.535, 16.8827, SwitchType.JumpCut)
71@ = 5
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 1700

:DESERT9_2700
if 
  71@ == 5
goto_if_false @DESERT9_3194
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_3194
if and
  not Car.IsDead(36@)
  not Car.IsDead(37@)
  not Car.IsDead(38@)
goto_if_false @DESERT9_3011
if and
  not Char.IsDead(40@)
  not Char.IsDead(41@)
  not Char.IsDead(42@)
goto_if_false @DESERT9_3011
Car.SetCoordinates(36@, 90.1321, 2504.942, 15.4766)
Car.SetCoordinates(37@, 83.9009, 2510.28, 15.4766)
Car.SetCoordinates(38@, 85.3227, 2497.011, 15.4766)
Task.CarDriveToCoord(40@, 36@, 400.2219, 2504.942, 15.4766, 30.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(41@, 37@, 400.2219, 2510.28, 15.4766, 30.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(42@, 38@, 400.2219, 2497.011, 15.4766, 30.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Car.SetHeading(36@, 270.0)
Car.SetHeading(37@, 270.0)
Car.SetHeading(38@, 270.0)
Car.SetForwardSpeed(36@, 30.0)
Car.SetForwardSpeed(37@, 30.0)
Car.SetForwardSpeed(38@, 30.0)

:DESERT9_3011
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_3032
Car.StopPlayback(34@)

:DESERT9_3032
Camera.SetFixedPosition(125.3001, 2504.329, 15.5565, 0.0, 0.0, 0.0)
Camera.PointAtPoint(124.312, 2504.361, 15.7067, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 2700
71@ = 6
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_3134
Car.SetEngineOn(34@, True)
Heli.SetBladesFullSpeed(34@)

:DESERT9_3134
Char.SetCoordinates($stattreadstamina_ctr, 412.6561, 2530.908, 15.617)
Char.SetHeading($stattreadstamina_ctr, 136.0)
74@ = 25.6646
75@ = 2504.646
76@ = 29.1834

:DESERT9_3194
if 
  71@ == 6
goto_if_false @DESERT9_3485
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_3326
set_lvar_int_to_lvar_int 115@ = TIMERA
sub_int_lvar_from_int_lvar 115@ -= 86@
115@ += 2700
cset_lvar_float_to_lvar_int 156@ =# 115@
156@ /= 20.0
set_var_float_to_lvar_float $on_footY = 74@
add_float_lvar_to_float_var $on_footY += 156@
156@ /= 14.0
set_var_float_to_lvar_float $in_carX = 76@
sub_float_lvar_from_float_var $in_carX -= 156@
Car.SetCoordinatesNoOffset(34@, $on_footY, 75@, $in_carX)

:DESERT9_3326
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_3485
Char.SetCoordinates($stattreadstamina_ctr, 403.0466, 2522.19, 15.4843)
Task.GoStraightToCoord($stattreadstamina_ctr, 415.1068, 2528.624, 15.5375, MoveState.Run, -2)
Streaming.LoadSceneInDirection(404.7372, 2524.857, 15.5671, 300.0)
Camera.SetFixedPosition(404.7372, 2524.857, 15.5671, 0.0, 0.0, 0.0)
Camera.PointAtPoint(405.6275, 2525.301, 15.6661, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 2500
71@ = 8

:DESERT9_3485
if 
  71@ == 7
goto_if_false @DESERT9_3881
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_3881
71@ = 8
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_3881
Car.SetCoordinates(34@, 380.6384, 2503.927, 15.4884)
if and
  not Car.IsDead(36@)
  not Car.IsDead(37@)
  not Car.IsDead(38@)
goto_if_false @DESERT9_3779
if and
  not Char.IsDead(40@)
  not Char.IsDead(41@)
  not Char.IsDead(42@)
goto_if_false @DESERT9_3779
Car.SetCoordinates(36@, 331.2219, 2504.942, 15.4766)
Car.SetCoordinates(37@, 338.2219, 2507.942, 15.4766)
Car.SetCoordinates(38@, 325.2219, 2501.942, 15.4766)
Task.CarDriveToCoord(40@, 36@, 430.2219, 2504.942, 15.4766, 13.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(41@, 37@, 430.2219, 2507.28, 15.4766, 13.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarDriveToCoord(42@, 38@, 430.2219, 2501.011, 15.4766, 13.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:DESERT9_3779
Car.SetHeading(34@, 270.0)
Car.SetForwardSpeed(34@, 7.0)
Heli.SetBladesFullSpeed(34@)
Camera.SetFixedPosition(413.1315, 2533.297, 15.8551, 0.0, 0.0, 0.0)
Camera.PointAtPoint(412.508, 2532.519, 15.9255, SwitchType.JumpCut)
81@ = 0.0
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 4000

:DESERT9_3881
if 
  71@ == 8
goto_if_false @DESERT9_3953
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_3953
Camera.DoFade(800, Fade.Out)
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_3953
Car.StopPlayback(34@)
71@ = 9

:DESERT9_3953
if 
  71@ == 9
goto_if_false @DESERT9_4238
if 
  not Camera.GetFadingStatus
goto_if_false @DESERT9_4238
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_4005
Car.StopPlayback(34@)

:DESERT9_4005
if and
  not Car.IsDead(36@)
  not Car.IsDead(37@)
  not Car.IsDead(38@)
goto_if_false @DESERT9_4046
Car.StopPlayback(36@)
Car.StopPlayback(37@)
Car.StopPlayback(38@)

:DESERT9_4046
Streaming.MarkModelAsNoLongerNeeded(592)
Streaming.MarkModelAsNoLongerNeeded(422)
Streaming.MarkModelAsNoLongerNeeded(165)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(166)
Streaming.RemoveCarRecording(450)
Streaming.RemoveCarRecording(168)
Streaming.RemoveCarRecording(452)
Streaming.RemoveCarRecording(453)
Car.Delete(36@)
Car.Delete(37@)
Car.Delete(38@)
Char.Delete(40@)
Char.Delete(41@)
Char.Delete(42@)
Char.Delete(43@)
Char.Delete(44@)
Char.Delete(45@)
Char.Delete(46@)
Char.Delete(47@)
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_4192
Car.SetCoordinates(34@, 394.6384, 2497.927, 15.4884)
Car.SetHeading(34@, 90.0)

:DESERT9_4192
71@ = 0
if 
  157@ > 0
goto_if_false @DESERT9_4231
68@ = 22
goto @DESERT9_4238

:DESERT9_4231
68@ = 21

:DESERT9_4238
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @DESERT9_4296
if 
  not Camera.GetFadingStatus
goto_if_false @DESERT9_4296
if 
  157@ == 0
goto_if_false @DESERT9_4296
Camera.DoFade(600, Fade.Out)
157@ = 1

:DESERT9_4296
if 
  157@ == 1
goto_if_false @DESERT9_4348
if 
  not Camera.GetFadingStatus
goto_if_false @DESERT9_4348
629@ = 5
157@ = 2
71@ = 9

:DESERT9_4348
return 

:DESERT9_4350
Cutscene.Load('DESERT9')

:DESERT9_4361
if 
  not Cutscene.HasLoaded
goto_if_false @DESERT9_4385
wait 0
goto @DESERT9_4361

:DESERT9_4385
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DESERT9_4394
if 
  not Cutscene.HasFinished
goto_if_false @DESERT9_4418
wait 0
goto @DESERT9_4394

:DESERT9_4418
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @DESERT9_4456
if 
  157@ == 0
goto_if_false @DESERT9_4456
157@ = 2

:DESERT9_4456
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.DoFade(0, Fade.Out)

:DESERT9_4473
if 
  Camera.GetFadingStatus
goto_if_false @DESERT9_4497
wait 0
goto @DESERT9_4473

:DESERT9_4497
Cutscene.Clear
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
68@ = 22
return 

:DESERT9_4519
if 
  71@ == 0
goto_if_false @DESERT9_4626
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.RequestModel(592)
Streaming.RequestModel(422)
Streaming.RequestModel(165)
Streaming.RequestModel(352)
Streaming.RequestModel(166)
Streaming.RequestModel(461)
Streaming.RequestModel(363)
Streaming.RequestModel(364)
Streaming.RequestAnimation("AIRPORT")
Streaming.RequestAnimation("CARRY")
Streaming.RequestCarRecording(149)
Streaming.RequestCarRecording(135)
Streaming.RequestCarRecording(134)
71@ = 1

:DESERT9_4626
if 
  71@ == 1
goto_if_false @DESERT9_4743
if and
  Streaming.HasModelLoaded(422)
  Streaming.HasModelLoaded(165)
  Streaming.HasModelLoaded(352)
  Streaming.HasModelLoaded(166)
  Streaming.HasModelLoaded(461)
  Streaming.HasCarRecordingBeenLoaded(134)
goto_if_false @DESERT9_4743
if and
  Streaming.HasModelLoaded(363)
  Streaming.HasModelLoaded(364)
  Streaming.HasAnimationLoaded("AIRPORT")
  Streaming.HasAnimationLoaded("CARRY")
  Streaming.HasCarRecordingBeenLoaded(149)
  Streaming.HasCarRecordingBeenLoaded(135)
goto_if_false @DESERT9_4743
71@ = 2

:DESERT9_4743
if 
  71@ == 2
goto_if_false @DESERT9_5554
36@ = Car.Create(422, 366.764, 2512.655, 15.5677)
37@ = Car.Create(422, 367.134, 2490.174, 15.4884)
38@ = Car.Create(422, 357.6567, 2509.594, 15.5221)
Car.ChangeColor(36@, 0, 0)
Car.ChangeColor(37@, 0, 0)
Car.ChangeColor(38@, 0, 0)
40@ = Char.Create(PedType.Mission1, 166, 359.7588, 2511.474, 15.5501)
41@ = Char.Create(PedType.Mission1, 165, 369.7111, 2505.838, 15.4921)
42@ = Char.Create(PedType.Mission1, 165, 363.5374, 2497.674, 15.4921)
43@ = Char.CreateAsPassenger(36@, PedType.Mission1, 165, 0)
44@ = Char.CreateAsPassenger(37@, PedType.Mission1, 166, 0)
45@ = Char.Create(PedType.Mission1, 165, 363.6662, 2500.094, 15.4921)
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_5013
Car.SetHeading(34@, 90.0)

:DESERT9_5013
Car.ControlMovablePart(34@, 1.0)
Char.GiveWeapon(40@, WeaponType.MicroUzi, 9999)
Char.GiveWeapon(41@, WeaponType.MicroUzi, 9999)
Char.GiveWeapon(42@, WeaponType.MicroUzi, 9999)
Car.OpenDoor(36@, CarDoor.LeftFrontDoor)
Car.OpenDoor(36@, CarDoor.RightFrontDoor)
49@ = Object.Create(#CR_GUNCRATE, 365.0146, 2500.676, 15.492)
50@ = Object.Create(#CR_CRATESTACK, 365.9573, 2502.763, 15.4921)
51@ = Object.Create(#CR_CRATESTACK, 365.5524, 2503.46, 15.492)
52@ = Object.Create(#CR_CRATESTACK, 364.5623, 2503.406, 15.4921)
Object.SetHeading(50@, 245.0)
World.ClearArea(435.2751, 2527.523, 15.871, 10.0, False)
35@ = Car.Create(461, 435.2751, 2527.523, 15.871)
Car.SetHeading(35@, 90.0)
Car.SetCanBurstTires(35@, False)
Char.SetHeading(40@, 340.9066)
Char.SetHeading(41@, 309.4871)
Char.SetHeading(42@, 175.4073)
Task.PlayAnim(40@, "IDLE_ARMED", "PED", 4.0, True, False, False, False, 0)
Task.PlayAnim(41@, "IDLE_ARMED", "PED", 4.0, True, False, False, False, 0)
Task.PlayAnim(42@, "IDLE_ARMED", "PED", 4.0, True, False, False, False, 0)
Char.SetCoordinates($stattreadstamina_ctr, 412.6561, 2530.908, 15.617)
Char.SetHeading($stattreadstamina_ctr, 136.0)
Streaming.MarkModelAsNoLongerNeeded(461)
Streaming.MarkModelAsNoLongerNeeded(422)
Streaming.MarkModelAsNoLongerNeeded(165)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(346)
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_5463
Car.StartPlayback(34@, 149)
Car.SetPlaybackSpeed(34@, 0.0)

:DESERT9_5463
Camera.SetFixedPosition(350.8692, 2488.932, 17.5906, 0.0, 0.0, 0.0)
Camera.PointAtPoint(351.4443, 2489.747, 17.52, SwitchType.JumpCut)
Streaming.LoadScene(367.134, 2490.174, 15.4884)
71@ = 3
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 1000

:DESERT9_5554
if 
  71@ == 3
goto_if_false @DESERT9_5745
if 
  is_int_lvar_greater_than_int_lvar 86@ > TIMERA
goto_if_false @DESERT9_5745
if and
  not Char.IsDead(45@)
  Object.DoesExist(52@)
goto_if_false @DESERT9_5665
66@ = Sequence.Open()
Task.ComplexPickupObject(-1, 52@)
Task.GoStraightToCoord(-1, 360.2195, 2500.023, 15.4921, MoveState.Walk, -2)
Sequence.Close(66@)
Char.PerformSequence(45@, 66@)
Sequence.Clear(66@)

:DESERT9_5665
Camera.DoFade(1000, Fade.In)
if 
  157@ == 0
goto_if_false @DESERT9_5713
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 4000
goto @DESERT9_5720

:DESERT9_5713
86@ = 0

:DESERT9_5720
71@ = 4
Text.ClearPrints
Text.Print('DES9_3', 4000, 1)

:DESERT9_5745
if 
  71@ == 4
goto_if_false @DESERT9_5954
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_5954
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(438.18, 2526.193, 17.1554, 0.0, 0.0, 0.0)
Camera.PointAtPoint(437.2076, 2526.339, 16.9735, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 426.895, 2529.479, 15.6483)
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_5883
Task.EnterCarAsDriver($stattreadstamina_ctr, 35@, -2)

:DESERT9_5883
Text.Print('DES9_4', 3000, 1)
if 
  157@ == 0
goto_if_false @DESERT9_5940
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 3000
goto @DESERT9_5947

:DESERT9_5940
86@ = 0

:DESERT9_5947
71@ = 5

:DESERT9_5954
if 
  71@ == 5
goto_if_false @DESERT9_6209
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_6209
Text.ClearPrints
Text.Print('DES9_44', 4000, 1)
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_6054
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DESERT9_6054
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, 35@)

:DESERT9_6054
56@ = Object.Create(#KB_BARREL, 0.0, 0.0, 0.0)
Object.SetCollision(56@, False)
Object.SetVisible(56@, False)
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_6145
Object.AttachToCar(56@, 34@, 0.0, -15.223, -1.489, 0.0, 0.0, 0.0)

:DESERT9_6145
158@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Satchel)
if 
  158@ == 0
goto_if_false @DESERT9_6182
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Satchel, 1)

:DESERT9_6182
Camera.SetBehindPlayer
Camera.RestoreJumpcut
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 3000
71@ = 6

:DESERT9_6209
if 
  71@ == 6
goto_if_false @DESERT9_6282
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_6282
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Text.ClearPrints
Text.Print('DES9_A4', 4000, 1)
68@ = 2

:DESERT9_6282
return 

:DESERT9_6284
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  73@ > 0
goto_if_false @DESERT9_6407
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_6407
74@, 75@, 76@ = Car.GetCoordinates(34@)
Blip.Remove(152@)
152@ = Blip.AddForCoord(74@, 75@, 76@)
Blip.ChangeDisplay(152@, BlipDisplay.BlipOnly)
if 
  -83.0 > 74@
goto_if_false @DESERT9_6407
68@ = 8
71@ = 0

:DESERT9_6407
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_6687
148@, 149@, 150@ = Car.GetCoordinates(35@)
154@ = 2499.7
sub_float_lvar_from_float_lvar 154@ -= 149@
154@ = Math.Abs()
154@ /= 10.0
if 
  154@ > 2.0
goto_if_false @DESERT9_6501
154@ = 2.0

:DESERT9_6501
if 
  0.2 > 154@
goto_if_false @DESERT9_6532
154@ = 0.2

:DESERT9_6532
Car.SetAirResistanceMultiplier(35@, 154@)
154@ -= 2.0
154@ = Math.Abs()
154@ *= 50.0
set_lvar_float_to_lvar_float 159@ = 74@
sub_float_lvar_from_float_lvar 159@ -= 148@
159@ = Math.Abs()
set_lvar_float_to_lvar_float 160@ = 159@
160@ /= 100.0
if 
  160@ > 1.0
goto_if_false @DESERT9_6635
160@ = 1.0

:DESERT9_6635
159@ = 1.0
sub_float_lvar_from_float_lvar 159@ -= 160@
mult_float_lvar_by_float_lvar 159@ *= 154@
cset_lvar_int_to_lvar_float 88@ =# 159@
Camera.Shake(88@)
88@ -= 256
abs_lvar_int 88@

:DESERT9_6687
if 
  73@ == 0
goto_if_false @DESERT9_6792
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_6792
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 412.6561, 2530.908, 15.617, 5.0, 5.0, 5.0, False)
goto_if_false @DESERT9_6792
set_lvar_int_to_lvar_int 72@ = TIMERA
72@ += 8000
73@ = 2

:DESERT9_6792
if 
  73@ == 2
goto_if_false @DESERT9_7010
if or
  Char.IsInAnyCar($stattreadstamina_ctr)
  is_int_lvar_greater_than_int_lvar TIMERA > 72@
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 354.8564, 2500.152, 18.3701, 50.0, 50.0, 50.0, False)
goto_if_false @DESERT9_7010
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_7010
set_lvar_int_to_lvar_int 72@ = TIMERA
72@ += 1350
73@ = 3
if 
  not Char.IsDead(40@)
goto_if_false @DESERT9_6934
Task.KillCharOnFoot(40@, $stattreadstamina_ctr)

:DESERT9_6934
if 
  not Char.IsDead(41@)
goto_if_false @DESERT9_6965
Task.ToggleDuck(41@, True)
Task.KillCharOnFoot(41@, $stattreadstamina_ctr)

:DESERT9_6965
if 
  not Char.IsDead(42@)
goto_if_false @DESERT9_6989
Task.KillCharOnFoot(42@, $stattreadstamina_ctr)

:DESERT9_6989
if 
  not Char.IsDead(45@)
goto_if_false @DESERT9_7010
Char.ClearTasksImmediately(45@)

:DESERT9_7010
if 
  73@ == 3
goto_if_false @DESERT9_7064
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 72@
goto_if_false @DESERT9_7064
Car.SetPlaybackSpeed(34@, 1.0)
73@ = 4

:DESERT9_7064
if 
  73@ == 4
goto_if_false @DESERT9_7442
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(56@)
148@, 149@, 150@ = Char.GetCoordinates($stattreadstamina_ctr)
146@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 148@, 149@)
162@ = 200.0
div_float_lvar_by_float_lvar 162@ /= 146@
if 
  162@ > 1.0
goto_if_false @DESERT9_7176
162@ = 1.0

:DESERT9_7176
if 
  0.3 > 162@
goto_if_false @DESERT9_7207
162@ = 0.3

:DESERT9_7207
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_7231
Car.SetPlaybackSpeed(34@, 162@)

:DESERT9_7231
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 15.0, 15.0, 5.0, False)
goto_if_false @DESERT9_7312
if 
  2 > 163@
goto_if_false @DESERT9_7305
gosub @DESERT9_16171
163@ = 1

:DESERT9_7305
goto @DESERT9_7337

:DESERT9_7312
if 
  163@ == 1
goto_if_false @DESERT9_7337
163@ = 2

:DESERT9_7337
if 
  Char.LocateAnyMeansObject3D($stattreadstamina_ctr, 56@, 4.0, 1.0, 1.0, False)
goto_if_false @DESERT9_7442
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_7442
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @DESERT9_7442
Char.SetCanBeKnockedOffBike($stattreadstamina_ctr, True)
Blip.Remove(152@)
Player.SetControl($statbike_temp, False)
71@ = 20
68@ = 3
Audio.SetRadioChannel(RadioChannel.UserTracks)

:DESERT9_7442
return 

:DESERT9_7444
439@ = 1
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @DESERT9_7542
if 
  11 > 71@
goto_if_false @DESERT9_7496
86@ = 0
71@ = 11

:DESERT9_7496
if and
  71@ > 19
  23 > 71@
goto_if_false @DESERT9_7542
86@ = 0
71@ = 24
65@ = 1

:DESERT9_7542
if 
  71@ == 20
goto_if_false @DESERT9_7691
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_7691
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
if 
  Car.IsPlaybackGoingOn(34@)
goto_if_false @DESERT9_7608
Car.StopPlayback(34@)

:DESERT9_7608
Car.StartPlayback(34@, 135)
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_7646
Car.FreezePosition(35@, True)
Car.SetVisible(35@, False)

:DESERT9_7646
Char.SetVisible($stattreadstamina_ctr, False)
Car.Delete(36@)
Car.Delete(37@)
Car.Delete(38@)
Streaming.MarkModelAsNoLongerNeeded(422)
Streaming.RequestAnimation("AIRPORT")
71@ = 21

:DESERT9_7691
if 
  71@ == 21
goto_if_false @DESERT9_7816
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(66.4737, 2494.118, 17.9816, -43.8545, 2492.902, 19.8651, 5500, True)
Camera.SetVectorTrack(67.4593, 2494.287, 17.9942, -44.3218, 2493.184, 20.7031, 5500, True)
71@ = 22
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 4500

:DESERT9_7816
if 
  71@ == 22
goto_if_false @DESERT9_7867
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_7867
Camera.DoFade(1000, Fade.Out)
71@ = 23

:DESERT9_7867
if 
  71@ == 23
goto_if_false @DESERT9_7905
if 
  not Camera.GetFadingStatus
goto_if_false @DESERT9_7905
71@ = 0

:DESERT9_7905
if 
  71@ == 24
goto_if_false @DESERT9_7937
Camera.DoFade(1000, Fade.Out)
71@ = 25

:DESERT9_7937
if 
  71@ == 25
goto_if_false @DESERT9_7982
if 
  not Camera.GetFadingStatus
goto_if_false @DESERT9_7982
71@ = 0
65@ = 1

:DESERT9_7982
if 
  71@ == 0
goto_if_false @DESERT9_8581
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_8030
Car.FreezePosition(35@, False)
Car.SetVisible(35@, True)

:DESERT9_8030
Streaming.SetAreaVisible(9)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT9_8057
Char.SetAreaVisible($stattreadstamina_ctr, 9)

:DESERT9_8057
Char.Delete(44@)
44@ = Char.Create(PedType.Mission3, 165, 316.0887, 983.9927, 1958.138)
Char.SetHeading(44@, 90.0)
if 
  not Char.IsDead(44@)
goto_if_false @DESERT9_8120
Char.SetAreaVisible(44@, 9)

:DESERT9_8120
if 
  not Char.IsDead(44@)
goto_if_false @DESERT9_8166
Char.SetCoordinates(44@, 317.081, 979.907, 1960.108)
Char.SetHeading(44@, 90.0)

:DESERT9_8166
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_8189
Car.SetAreaVisible(35@, 9)

:DESERT9_8189
Hud.DisplayRadar(False)
85@ = Object.Create(#D9_RUNWAY, 305.191, 1030.752, 1938.134)
Streaming.RequestCarRecording(150)
Streaming.RequestCarRecording(152)

:DESERT9_8226
if or
  not Streaming.HasCarRecordingBeenLoaded(150)
  not Streaming.HasCarRecordingBeenLoaded(152)
goto_if_false @DESERT9_8258
wait 0
goto @DESERT9_8226

:DESERT9_8258
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_8374
Car.SetCoordinates(35@, 331.8417, 1038.314, 1956.177)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DESERT9_8318
Char.WarpIntoCar($stattreadstamina_ctr, 35@)

:DESERT9_8318
Text.ClearPrints
Char.SetAreaVisible($stattreadstamina_ctr, 9)
Char.SetVisible($stattreadstamina_ctr, True)
Car.StartPlayback(35@, 150)
Car.SkipToEndAndStopPlayback(35@)
if 
  not Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @DESERT9_8374
Char.WarpIntoCar($stattreadstamina_ctr, 35@)

:DESERT9_8374
Streaming.LoadScene(331.8417, 1038.314, 1956.177)
Streaming.RequestCollision(331.8417, 1038.314)
wait 800
Camera.ResetNewScriptables
Camera.SetFixedPosition(320.1115, 1035.373, 1948.154, 0.0, 0.0, 0.0)
Camera.PointAtChar($stattreadstamina_ctr, CameraMode.Fixed, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 168@ = TIMERA
wait 500
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 2200
Streaming.RequestModel(371)

:DESERT9_8485
if 
  not Streaming.HasModelLoaded(371)
goto_if_false @DESERT9_8512
wait 0
goto @DESERT9_8485

:DESERT9_8512
Camera.DoFade(600, Fade.In)
Text.Print('DES9_A5', 4000, 1)
if 
  65@ == 1
goto_if_false @DESERT9_8574
71@ = 11
86@ = 0
goto @DESERT9_8581

:DESERT9_8574
71@ = 1

:DESERT9_8581
if and
  71@ > 0
  20 > 71@
goto_if_false @DESERT9_8613
gosub @DESERT9_17085

:DESERT9_8613
if 
  435@ == 0
goto_if_false @DESERT9_8657
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 168@
goto_if_false @DESERT9_8657
435@ = 1

:DESERT9_8657
if 
  Object.DoesExist(85@)
goto_if_false @DESERT9_8697
164@, 165@, 166@ = Object.GetCoordinates(85@)
165@ += 0.05

:DESERT9_8697
if 
  71@ == 1
goto_if_false @DESERT9_8762
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_8762
Task.LeaveAnyCar($stattreadstamina_ctr)
71@ = 2
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 300

:DESERT9_8762
if 
  71@ == 2
goto_if_false @DESERT9_8894
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_8894
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_8820
Car.Delete(34@)

:DESERT9_8820
Camera.SetFixedPosition(317.7203, 1027.301, 1949.071, 0.0, 0.0, 0.0)
Camera.PointAtPoint(316.9413, 1026.675, 1949.027, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 1000
71@ = 3

:DESERT9_8894
if 
  71@ == 3
goto_if_false @DESERT9_9043
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_9043
Object.Delete(85@)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(317.7203, 1027.301, 1949.071, 317.7203, 1027.301, 1949.071, 1000, True)
Camera.SetVectorTrack(316.9413, 1026.675, 1949.027, 317.3408, 1026.377, 1949.13, 1000, True)
71@ = 4
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 1500

:DESERT9_9043
if 
  71@ == 4
goto_if_false @DESERT9_9402
set_lvar_int_to_lvar_int 169@ = 86@
sub_int_lvar_from_int_lvar 169@ -= TIMERA
cset_lvar_float_to_lvar_int 170@ =# 169@
170@ /= 2000.0
170@ -= 1.0
170@ = Math.Abs()
292@, 312@, 332@ = Object.GetCoordinates(96@)
if 
  312@ > 1020.214
goto_if_false @DESERT9_9294
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_9169
Car.StartPlayback(35@, 152)

:DESERT9_9169
Task.DiveAndGetUp($stattreadstamina_ctr, 1.0, 0.0, 1000)
71@ = 6
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 2000
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(317.7203, 1027.301, 1949.071, 317.7203, 1027.301, 1949.071, 2000, True)
Camera.SetVectorTrack(317.3408, 1026.377, 1949.13, 317.1811, 1027.991, 1948.589, 2000, True)

:DESERT9_9294
set_lvar_float_to_lvar_float 148@ = 292@
148@ -= 317.5107
set_lvar_float_to_lvar_float 149@ = 312@
149@ -= 1024.815
set_lvar_float_to_lvar_float 150@ = 332@
150@ -= 1949.35
mult_float_lvar_by_float_lvar 148@ *= 170@
mult_float_lvar_by_float_lvar 149@ *= 170@
mult_float_lvar_by_float_lvar 150@ *= 170@
148@ += 317.5107
149@ += 1024.815
150@ += 1949.35

:DESERT9_9402
if 
  71@ == 5
goto_if_false @DESERT9_9434
292@, 312@, 332@ = Object.GetCoordinates(96@)

:DESERT9_9434
if 
  71@ == 6
goto_if_false @DESERT9_9494
292@, 312@, 332@ = Object.GetCoordinates(96@)
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_9494
71@ = 11
Text.ClearPrints

:DESERT9_9494
if 
  71@ == 7
goto_if_false @DESERT9_9667
Camera.ResetNewScriptables
Camera.SetFixedPosition(316.0625, 988.6853, 1957.741, 0.0, 0.0, 0.0)
Camera.PointAtPoint(316.0338, 987.7417, 1958.07, SwitchType.JumpCut)
71@ = 8
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 2000
if 
  not Char.IsDead(44@)
goto_if_false @DESERT9_9667
Char.SetCoordinates(44@, 315.7535, 983.4348, 1958.265)
Char.SetHeading(44@, 0.0)
Task.PlayAnim(44@, "FUCKU", "PED", 4.0, False, False, False, False, 3000)

:DESERT9_9667
if 
  71@ == 8
goto_if_false @DESERT9_9891
if 
  Streaming.HasModelLoaded(371)
goto_if_false @DESERT9_9886
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_9879
Text.ClearPrints
Text.Print('DES9_45', 4000, 1)
Camera.SetFixedPosition(317.5727, 1024.791, 1949.854, 0.0, 0.0, 0.0)
Camera.PointAtPoint(317.4102, 1023.809, 1949.95, SwitchType.JumpCut)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 317.9964, 1023.477, 1949.033)
Char.SetHeading($stattreadstamina_ctr, 121.0)
if 
  not Char.IsDead(44@)
goto_if_false @DESERT9_9856
Char.GiveWeapon(44@, WeaponType.Parachute, 1)
Char.SetDeathWeaponsPersist(44@, True)

:DESERT9_9856
71@ = 9
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 4000

:DESERT9_9879
goto @DESERT9_9891

:DESERT9_9886
Streaming.RequestModel(371)

:DESERT9_9891
if 
  71@ == 9
goto_if_false @DESERT9_10153
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_10153
Camera.SetFixedPosition(318.8293, 975.9706, 1960.759, 0.0, 0.0, 0.0)
Camera.PointAtPoint(318.3584, 976.8294, 1960.557, SwitchType.JumpCut)
if 
  not Char.IsDead(44@)
goto_if_false @DESERT9_10114
Char.SetCoordinates(44@, 317.4929, 981.1245, 1958.806)
Char.SetHeading(44@, 90.0)

:DESERT9_10025
if 
  not Streaming.HasAnimationLoaded("AIRPORT")
goto_if_false @DESERT9_10069
Streaming.RequestAnimation("AIRPORT")
wait 0
goto @DESERT9_10025

:DESERT9_10069
Task.PlayAnim(44@, "THRW_BARL_THRW", "AIRPORT", 4.0, False, False, False, False, -1)

:DESERT9_10114
Text.Print('DES9_46', 4000, 1)
71@ = 10
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 1100

:DESERT9_10153
if 
  71@ == 10
goto_if_false @DESERT9_10220
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_10220
435@ = 2
71@ = 11
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 2900

:DESERT9_10220
if 
  71@ == 11
goto_if_false @DESERT9_11096
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_11096
Streaming.RequestModel(371)

:DESERT9_10262
if 
  not Streaming.HasModelLoaded(371)
goto_if_false @DESERT9_10289
wait 0
goto @DESERT9_10262

:DESERT9_10289
Camera.ResetNewScriptables
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DESERT9_10339
Char.WarpFromCarToCoord($stattreadstamina_ctr, 318.1163, 1024.791, 1948.729)
goto @DESERT9_10359

:DESERT9_10339
Char.SetCoordinates($stattreadstamina_ctr, 318.1163, 1024.791, 1948.729)

:DESERT9_10359
Char.SetHeading($stattreadstamina_ctr, 121.0)
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_10416
if 
  Car.IsPlaybackGoingOn(35@)
goto_if_false @DESERT9_10406
Car.StopPlayback(35@)

:DESERT9_10406
Car.Delete(35@)
Streaming.MarkModelAsNoLongerNeeded(461)

:DESERT9_10416
Char.SetHeading($stattreadstamina_ctr, 225.0)
if 
  not Char.IsDead(44@)
goto_if_false @DESERT9_10462
Char.SetCoordinates(44@, 317.4565, 980.5405, 1958.935)

:DESERT9_10462
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_10499
if 
  Car.IsPlaybackGoingOn(35@)
goto_if_false @DESERT9_10499
Car.StopPlayback(35@)

:DESERT9_10499
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Object.Delete(85@)
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_10540
Car.Delete(34@)

:DESERT9_10540
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DESERT9_10563
Player.DisableSprint($statbike_temp, True)

:DESERT9_10563
174@ = Particle.Create("CLOUDFAST", 315.2994, 1028.151, 1936.464, 1)
Particle.Play(174@)
Char.Delete(40@)
Char.Delete(41@)
Char.Delete(42@)
Char.Delete(43@)
40@ = Char.Create(PedType.Mission3, 165, 313.4011, 1012.37, 1951.588)
41@ = Char.Create(PedType.Mission3, 166, 312.5008, 1004.962, 1953.297)
42@ = Char.Create(PedType.Mission3, 165, 318.7976, 988.7245, 1957.044)
43@ = Char.Create(PedType.Mission3, 166, 313.1324, 991.6313, 1956.374)
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_10751
Car.FreezePosition(35@, False)
Car.SetVisible(35@, True)

:DESERT9_10751
Char.SetVisible($stattreadstamina_ctr, True)
Char.SetShootRate(40@, 100)
Char.SetShootRate(41@, 100)
Char.SetShootRate(42@, 100)
Char.SetShootRate(43@, 100)
Char.SetWeaponSkill(40@, 2)
Char.SetWeaponSkill(41@, 2)
Char.SetWeaponSkill(42@, 2)
Char.SetWeaponSkill(43@, 2)
Char.SetWeaponSkill(44@, 2)
Char.SetHeading(40@, 288.4161)
Char.SetHeading(41@, 298.9878)
Char.SetHeading(42@, 85.3329)
Char.SetHeading(43@, 308.2083)
if 
  not Char.IsDead(40@)
goto_if_false @DESERT9_10884
Char.SetAreaVisible(40@, 9)

:DESERT9_10884
if 
  not Char.IsDead(41@)
goto_if_false @DESERT9_10907
Char.SetAreaVisible(41@, 9)

:DESERT9_10907
if 
  not Char.IsDead(42@)
goto_if_false @DESERT9_10930
Char.SetAreaVisible(42@, 9)

:DESERT9_10930
if 
  not Char.IsDead(43@)
goto_if_false @DESERT9_10953
Char.SetAreaVisible(43@, 9)

:DESERT9_10953
if 
  not Char.IsDead(44@)
goto_if_false @DESERT9_11030
Char.SetCoordinates(44@, 317.881, 979.907, 1960.108)
if 
  not Char.HasGotWeapon(44@, WeaponType.Parachute)
goto_if_false @DESERT9_11030
Char.GiveWeapon(44@, WeaponType.Parachute, 1)
Char.SetDeathWeaponsPersist(44@, True)
Char.SetShootRate(44@, 100)

:DESERT9_11030
68@ = 4
178@ = 0
439@ = 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT9_11082
Char.SetProofs($stattreadstamina_ctr, False, True, True, False, False)

:DESERT9_11082
171@ = 1
$bcesar3_passed_mission = 1

:DESERT9_11096
return 

:DESERT9_11098
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
is_ps2_keyboard_key_pressed 49
goto_if_false @DESERT9_11151
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_11151
start_recording_car 35@ {_p2} 152

:DESERT9_11151
if 
is_ps2_keyboard_key_pressed 50
goto_if_false @DESERT9_11203
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_11203
if 
is_recording_going_on_for_car 35@
goto_if_false @DESERT9_11203
stop_recording_car 35@

:DESERT9_11203
if 
  178@ == 0
goto_if_false @DESERT9_11495
if or
  Player.IsLastBuildingModelShot($statbike_temp, #CARGO_TEST)
  Player.IsLastBuildingModelShot($statbike_temp, #CARGO_STUFF)
  Player.IsLastBuildingModelShot($statbike_temp, #CARGO_STORE)
goto_if_false @DESERT9_11280
Player.ClearLastBuildingModelShot($statbike_temp)
Fx.AddExplosion(316.0, 1000.0, 1954.6, ExplosionType.Aircraft)

:DESERT9_11280
if 
  World.IsExplosionInArea(-1, 325.0714, 967.935, 1971.838, 310.7184, 1047.574, 1939.683)
goto_if_false @DESERT9_11495
178@ = 1
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT9_11363
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)

:DESERT9_11363
159@ = 972.5745
88@ = 0

:DESERT9_11380
if 
  1050.574 >= 159@
goto_if_false @DESERT9_11495
set_lvar_float_to_lvar_float 160@ = 159@
160@ -= 5.0
if 
  World.IsExplosionInArea(-1, 325.0714, 159@, 1971.838, 310.7184, 160@, 1939.683)
goto_if_false @DESERT9_11471
462@(88@,15i) = 1

:DESERT9_11471
88@ += 1
159@ += 5.0
goto @DESERT9_11380

:DESERT9_11495
if 
  178@ == 1
goto_if_false @DESERT9_11520
gosub @DESERT9_19971

:DESERT9_11520
if 
  173@ == 0
goto_if_false @DESERT9_11577
if 
  Char.IsDead(44@)
goto_if_false @DESERT9_11577
Text.Print('DES9_27', 4000, 1)
173@ = 1

:DESERT9_11577
if 
  173@ == 1
goto_if_false @DESERT9_11702
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Parachute)
goto_if_false @DESERT9_11702
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
Text.ClearPrints
if 
  178@ == 0
goto_if_false @DESERT9_11679
Text.Print('DES9_A1', 4000, 1)
Text.Print('DES9_A2', 4000, 1)
goto @DESERT9_11695

:DESERT9_11679
Text.Print('DES9_26', 4000, 1)

:DESERT9_11695
173@ = 2

:DESERT9_11702
if 
  180@ == 0
goto_if_false @DESERT9_11781
if 
  1942.27 > $z
goto_if_false @DESERT9_11781
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT9_11772
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)

:DESERT9_11772
180@ = 1
Player.UseDetonator

:DESERT9_11781
if 
  173@ == 2
goto_if_false @DESERT9_11946
if 
  1940.27 > $z
goto_if_false @DESERT9_11946
if 
  178@ == 1
goto_if_false @DESERT9_11894
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT9_11887
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
Particle.Kill(174@)
68@ = 9
71@ = 0
$lowrider_meeting_is_loaded = 1

:DESERT9_11887
goto @DESERT9_11946

:DESERT9_11894
Text.ClearPrints
Text.Print('DES9_39', 4000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
gosub @DESERT9_21988
Streaming.SetAreaVisible(0)
goto @DESERT9_45

:DESERT9_11946
if 
  not Char.IsDead(44@)
goto_if_false @DESERT9_12166
148@, 149@, 150@ = Char.GetCoordinates(44@)
if and
  1940.0 > 150@
  not Char.IsInAir($stattreadstamina_ctr)
goto_if_false @DESERT9_12166
Text.ClearPrints
Text.Print('DES9_29', 5000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Pickup.Remove($ai_target_z)
wait 1000
Camera.DoFade(1000, Fade.Out)

:DESERT9_12053
if 
  Camera.GetFadingStatus
goto_if_false @DESERT9_12077
wait 0
goto @DESERT9_12053

:DESERT9_12077
Streaming.SetAreaVisible(0)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 408.6996, 2538.272, 15.6057)
Char.SetHeading($stattreadstamina_ctr, 139.0)
gosub @DESERT9_21988
wait 1500
Camera.DoFade(1000, Fade.In)

:DESERT9_12135
if 
  Camera.GetFadingStatus
goto_if_false @DESERT9_12159
wait 0
goto @DESERT9_12135

:DESERT9_12159
goto @DESERT9_45

:DESERT9_12166
if and
  1938.0 > $z
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT9_12896
Text.ClearPrints
if 
  2 > 173@
goto_if_false @DESERT9_12896
Camera.DoFade(1000, Fade.Out)

:DESERT9_12219
if 
  Camera.GetFadingStatus
goto_if_false @DESERT9_12243
wait 0
goto @DESERT9_12219

:DESERT9_12243
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.LoadScene(125.1739, 1074.067, 12.0)
Streaming.RequestModel(445)
Streaming.RequestModel(91)
Streaming.RequestAnimation("PARACHUTE")

:DESERT9_12293
if or
  not Streaming.HasModelLoaded(445)
  not Streaming.HasModelLoaded(91)
  not Streaming.HasAnimationLoaded("PARACHUTE")
goto_if_false @DESERT9_12337
wait 0
goto @DESERT9_12293

:DESERT9_12337
Camera.SetFixedPosition(125.1739, 1074.067, 12.8138, 0.0, 0.0, 0.0)
Camera.PointAtPoint(124.591, 1073.27, 12.9688, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 122.3556, 1069.892, 99.6832)
181@ = Car.Create(445, 119.3556, 1069.892, 13.665)
182@ = Char.CreateAsPassenger(181@, PedType.CivMale, 91, 0)
Streaming.MarkModelAsNoLongerNeeded(91)
Streaming.MarkModelAsNoLongerNeeded(445)
Streaming.MarkModelAsNoLongerNeeded(363)
Streaming.MarkModelAsNoLongerNeeded(364)
Car.SetHeading(181@, 180.0)
Char.SetCoordinates($stattreadstamina_ctr, 119.3, 1070.47, 189.3266)
Char.SetVelocity($stattreadstamina_ctr, 0.0, 0.0, 0.0)
Camera.DoFade(1000, Fade.In)

:DESERT9_12537
if 
  Camera.GetFadingStatus
goto_if_false @DESERT9_12561
wait 0
goto @DESERT9_12537

:DESERT9_12561
Char.SetCoordinates($stattreadstamina_ctr, 119.3, 1070.47, 80.3266)
Char.SetVelocity($stattreadstamina_ctr, 0.0, 0.0, 0.0)

:DESERT9_12601
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT9_12883
184@ = Char.GetHeightAboveGround($stattreadstamina_ctr)
if and
  4.8 > 184@
  183@ == 0
goto_if_false @DESERT9_12872
183@ = 1
Task.DieNamedAnim($stattreadstamina_ctr, "FALL_SKYDIVE_DIE", "PARACHUTE", 1000.0, 0)
if 
  not Car.IsDead(181@)
goto_if_false @DESERT9_12872
Car.PopDoor(181@, CarDoor.LeftFrontDoor, True)
Car.PopDoor(181@, CarDoor.LeftRearDoor, True)
Car.PopDoor(181@, CarDoor.RightFrontDoor, True)
Car.BurstTire(181@, 0)
Car.BurstTire(181@, 2)
Car.BurstTire(181@, 1)
Car.DamagePanel(181@, 4)
Car.DamagePanel(181@, 0)
Car.DamagePanel(181@, 6)
Car.DamagePanel(181@, 6)
Car.ApplyForce(181@, 0.0, 0.0, -0.15, 0.0, 0.0, 0.0)
if 
  not Char.IsDead(182@)
goto_if_false @DESERT9_12872
Char.ClearTasks(182@)
Task.LeaveCarAndFlee(182@, 181@, 119.3556, 1069.892, 13.665)

:DESERT9_12872
wait 0
goto @DESERT9_12601

:DESERT9_12883
Streaming.RemoveAnimation("PARACHUTE")

:DESERT9_12896
if 
  $y > 1033.0
goto_if_false @DESERT9_12928
Camera.Shake(40)
goto @DESERT9_12932

:DESERT9_12928
Camera.Shake(10)

:DESERT9_12932
gosub @DESERT9_17085
return 

:DESERT9_12941
Hud.SwitchWidescreen(True)
$bcesar3_passed_mission = 1

:DESERT9_12952
if 
  185@ == 0
goto_if_false @DESERT9_13101
Streaming.SetAreaVisible(0)
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_12995
Car.Delete(34@)

:DESERT9_12995
34@ = Car.Create(592, 316.212, 1003.495, 1957.529)
Car.StartPlayback(34@, 134)
Car.SetHeading(34@, 180.0)
Camera.AttachToChar($stattreadstamina_ctr, 0.0, 2.0, -2.0, 0.0, 0.0, 0.0, 0.0, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 4000
185@ = 1

:DESERT9_13101
if 
  185@ == 1
goto_if_false @DESERT9_13155
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_13155
$bcesar3_passed_mission = 0
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
return 

:DESERT9_13155
wait 0
goto @DESERT9_12952
return 

:DESERT9_13168
Streaming.SetAreaVisible(0)

:DESERT9_13172
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DESERT9_13198
goto @DESERT9_21903

:DESERT9_13198
if 
is_ps2_keyboard_key_pressed 84
goto_if_false @DESERT9_13213

:DESERT9_13213
goto @DESERT9_13172
return 

:DESERT9_13222
if 
  71@ == 0
goto_if_false @DESERT9_13304
186@ = Car.Create(592, 339.9034, 2499.805, 15.4884)
Car.StartPlayback(186@, 134)
Car.SetPlaybackSpeed(186@, 1.0)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 1000
71@ = 1

:DESERT9_13304
if 
  71@ == 1
goto_if_false @DESERT9_13528
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_13528
Text.ClearPrints
Text.Print('DES9_42', 5000, 1)
Char.SetVisible($stattreadstamina_ctr, False)
Streaming.SetAreaVisible(0)
34@ = Car.Create(592, 339.9034, 2499.805, 15.4884)
Car.SetProofs(34@, True, True, True, True, True)
Car.StartPlayback(34@, 134)
Car.SetHealth(34@, 350)
if 
  not Car.IsDead(186@)
goto_if_false @DESERT9_13487
Car.SetPlaybackSpeed(186@, 0.5)
Camera.AttachToVehicleLookAtVehicle(186@, 15.0, 15.0, 10.0, 34@, 15.0, SwitchType.JumpCut)
Car.SetVisible(186@, False)

:DESERT9_13487
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
203@ = 1
71@ = 3
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 5000

:DESERT9_13528
if 
  203@ == 1
goto_if_false @DESERT9_13671
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 204@
goto_if_false @DESERT9_13671
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_13671
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(34@)
if 
  6 > 206@
goto_if_false @DESERT9_13633
Fx.AddExplosion($on_footY, $on_footZ, $in_carX, ExplosionType.Aircraft)
goto @DESERT9_13646

:DESERT9_13633
Fx.AddExplosionNoSound($on_footY, $on_footZ, $in_carX, ExplosionType.Aircraft)

:DESERT9_13646
206@ += 1
204@ = Math.RandomIntInRange(100, 250)
add_int_lvar_to_int_lvar 204@ += TIMERA

:DESERT9_13671
if 
  71@ == 3
goto_if_false @DESERT9_13738
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_13738
71@ = 4
Camera.DoFade(1000, Fade.Out)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 1000

:DESERT9_13738
if 
  71@ == 4
goto_if_false @DESERT9_13782
if 
  not Camera.GetFadingStatus
goto_if_false @DESERT9_13782
Game.ForceDeathRestart
Camera.SetBehindPlayer
Camera.RestoreJumpcut
goto @DESERT9_18

:DESERT9_13782
return 

:DESERT9_13784
if 
  71@ == 0
goto_if_false @DESERT9_14198
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_14198
Camera.SetFixedPosition(-158.5012, 2492.161, 31.0353, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-157.5606, 2492.445, 31.2209, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Car.SetPlaybackSpeed(34@, 1.0)
if 
  not Car.IsDead(36@)
goto_if_false @DESERT9_13930
if 
  not Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @DESERT9_13930
Car.Delete(36@)

:DESERT9_13930
if 
  not Car.IsDead(186@)
goto_if_false @DESERT9_13951
Car.Delete(186@)

:DESERT9_13951
if 
  not Car.IsDead(37@)
goto_if_false @DESERT9_13991
if 
  not Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @DESERT9_13991
Car.Delete(37@)

:DESERT9_13991
if 
  not Car.IsDead(38@)
goto_if_false @DESERT9_14031
if 
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @DESERT9_14031
Car.Delete(38@)

:DESERT9_14031
414@ = 0

:DESERT9_14038
if 
  8 > 414@
goto_if_false @DESERT9_14079
Char.Delete(40@(414@,8i))
414@ += 1
goto @DESERT9_14038

:DESERT9_14079
414@ = 0

:DESERT9_14086
if 
  15 > 414@
goto_if_false @DESERT9_14127
Object.Delete(225@(414@,15i))
414@ += 1
goto @DESERT9_14086

:DESERT9_14127
414@ = 0

:DESERT9_14134
if 
  5 > 414@
goto_if_false @DESERT9_14175
Object.Delete(49@(414@,6i))
414@ += 1
goto @DESERT9_14134

:DESERT9_14175
71@ = 1
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 3000

:DESERT9_14198
if 
  71@ == 1
goto_if_false @DESERT9_14289
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_14289
Text.Print('DES9_32', 4000, 1)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
goto @DESERT9_18

:DESERT9_14289
return 

:DESERT9_14291
set_var_int_to_lvar_int $pilot_cash_pickup = TIMERA
sub_int_var_from_int_var $pilot_cash_pickup -= $d5_cur_pitch
if 
  71@ == 0
goto_if_false @DESERT9_14671
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT9_14356
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)

:DESERT9_14356
set_var_int_to_lvar_int $d5_cur_pitch = TIMERA
set_var_int_to_lvar_int $pilot_cash_pickup = TIMERA
sub_int_var_from_int_var $pilot_cash_pickup -= $d5_cur_pitch
$on_footY, $on_footZ, $in_carX = Char.GetVelocity($stattreadstamina_ctr)
186@ = Car.Create(592, 339.9034, 2499.805, 15.4884)
Car.StartPlayback(186@, 134)
Car.SetPlaybackSpeed(186@, 0.5)
Char.SetCoordinates($stattreadstamina_ctr, 177.9967, 1099.621, 1977.491)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Char.SetVelocity($stattreadstamina_ctr, $on_footY, -30.0, $in_carX)
Car.SetVisible(186@, True)
Car.ControlMovablePart(186@, 1.0)
Streaming.SetAreaVisible(0)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 5300
197@ = 175.5399
198@ = 1097.84
199@ = 1978.912
200@ = 185.4931
201@ = 1028.03
202@ = 1763.16
190@ = 175.0676
191@ = 1097.025
192@ = 1979.246
193@ = 185.4931
194@ = 1028.03
195@ = 1763.16
71@ = 999
203@ = 1

:DESERT9_14671
if 
  203@ == 1
goto_if_false @DESERT9_14814
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 204@
goto_if_false @DESERT9_14814
if 
  not Car.IsDead(186@)
goto_if_false @DESERT9_14814
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(186@)
if 
  6 > 206@
goto_if_false @DESERT9_14776
Fx.AddExplosion($on_footY, $on_footZ, $in_carX, ExplosionType.Aircraft)
goto @DESERT9_14789

:DESERT9_14776
Fx.AddExplosionNoSound($on_footY, $on_footZ, $in_carX, ExplosionType.Aircraft)

:DESERT9_14789
206@ += 1
204@ = Math.RandomIntInRange(100, 250)
add_int_lvar_to_int_lvar 204@ += TIMERA

:DESERT9_14814
if 
  69@ <> 1
goto_if_false @DESERT9_14883
if 
  205@ == 0
goto_if_false @DESERT9_14883
if 
  $pilot_cash_pickup > 4070
goto_if_false @DESERT9_14883
gosub @DESERT9_21903
205@ = 1

:DESERT9_14883
if 
  $pilot_cash_pickup > 8070
goto_if_false @DESERT9_14924
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
goto @DESERT9_18

:DESERT9_14924
if 
  71@ == 999
goto_if_false @DESERT9_15201
cset_lvar_float_to_var_int 196@ =# $pilot_cash_pickup
196@ /= 8070.0
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_var_float 187@ = $on_footY
set_lvar_float_to_lvar_float 189@ = 196@
189@ *= 7.5
add_float_var_to_float_lvar 189@ += $in_carX
189@ -= 2.5
set_lvar_float_to_var_float 188@ = $on_footZ
188@ -= 5.0
set_lvar_float_to_lvar_float 187@ = 200@
sub_float_lvar_from_float_lvar 187@ -= 197@
set_lvar_float_to_lvar_float 188@ = 201@
sub_float_lvar_from_float_lvar 188@ -= 198@
set_lvar_float_to_lvar_float 189@ = 202@
sub_float_lvar_from_float_lvar 189@ -= 199@
cset_lvar_float_to_var_int 196@ =# $pilot_cash_pickup
196@ /= 8070.0
mult_float_lvar_by_float_lvar 187@ *= 196@
mult_float_lvar_by_float_lvar 188@ *= 196@
mult_float_lvar_by_float_lvar 189@ *= 196@
add_float_lvar_to_float_lvar 187@ += 197@
add_float_lvar_to_float_lvar 188@ += 198@
add_float_lvar_to_float_lvar 189@ += 199@
Camera.AttachToChar($stattreadstamina_ctr, 0.0, 5.0, 1.5, 0.0, -5.0, -1.5, 0.0, SwitchType.JumpCut)
71@ = 1020

:DESERT9_15201
if 
  71@ == 1020
goto_if_false @DESERT9_15230
Char.SetHeading($stattreadstamina_ctr, 180.0)

:DESERT9_15230
if 
  71@ == 40
goto_if_false @DESERT9_15263
set_lvar_int_to_lvar_int 88@ = TIMERA
71@ = 41

:DESERT9_15263
if 
  69@ <> 1
goto_if_false @DESERT9_15370
if 
  71@ == 41
goto_if_false @DESERT9_15370
set_var_int_to_lvar_int $d5_last_pitch = TIMERA
sub_int_lvar_from_int_var $d5_last_pitch -= 88@
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_15370
71@ = 42
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
gosub @DESERT9_21903
goto @DESERT9_18

:DESERT9_15370
if 
  71@ == 1
goto_if_false @DESERT9_15605
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_15605
Text.ClearPrints
Text.Print('DES9_42', 5000, 1)
Char.SetVisible($stattreadstamina_ctr, False)
Streaming.SetAreaVisible(0)
34@ = Car.Create(592, 339.9034, 2499.805, 15.4884)
Car.SetProofs(34@, True, True, True, True, True)
Car.StartPlayback(34@, 134)
Car.SetHealth(34@, 350)
if 
  not Car.IsDead(186@)
goto_if_false @DESERT9_15553
Car.SetPlaybackSpeed(186@, 0.5)
Camera.AttachToVehicleLookAtVehicle(186@, 15.0, 15.0, 10.0, 34@, 15.0, SwitchType.JumpCut)
Car.SetVisible(186@, False)

:DESERT9_15553
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Fx.AddExplosion(179.0872, 1127.109, 1959.805, ExplosionType.Aircraft)
71@ = 10
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 80

:DESERT9_15605
if 
  71@ == 10
goto_if_false @DESERT9_15664
Fx.AddExplosion(178.0018, 1120.319, 1963.485, ExplosionType.Aircraft)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 80
71@ = 11

:DESERT9_15664
if 
  71@ == 11
goto_if_false @DESERT9_15723
Fx.AddExplosion(177.9817, 1114.131, 1967.356, ExplosionType.Aircraft)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 80
71@ = 12

:DESERT9_15723
if 
  71@ == 12
goto_if_false @DESERT9_15783
Fx.AddExplosion(179.386, 1109.919, 1972.504, ExplosionType.Aircraft)
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 3760
71@ = 3

:DESERT9_15783
if 
  71@ == 2
goto_if_false @DESERT9_15801

:DESERT9_15801
if 
  71@ == 3
goto_if_false @DESERT9_15861
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_15861
71@ = 4
set_lvar_int_to_lvar_int 86@ = TIMERA
86@ += 6000

:DESERT9_15861
if 
  71@ == 4
goto_if_false @DESERT9_15907
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 86@
goto_if_false @DESERT9_15907
Game.ForceDeathRestart
goto @DESERT9_18

:DESERT9_15907
return 
Camera.SetFixedPosition(-189.0987, 2493.957, 66.7341, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-188.1982, 2494.105, 66.3252, SwitchType.JumpCut)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_15987

:DESERT9_15987
set_lvar_int_to_lvar_int 57@ = TIMERA
57@ += 4000

:DESERT9_16003
wait 0
if 
  58@ == 0
goto_if_false @DESERT9_16074
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 57@
goto_if_false @DESERT9_16074
Camera.DoFade(1000, Fade.Out)
set_lvar_int_to_lvar_int 57@ = TIMERA
57@ += 1000
58@ = 1

:DESERT9_16074
if 
  58@ == 1
goto_if_false @DESERT9_16162
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 57@
goto_if_false @DESERT9_16162
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(0, Fade.In)
Text.Print('DES9_32', 5000, 1)
gosub @DESERT9_21880
goto @DESERT9_18

:DESERT9_16162
goto @DESERT9_16003
return 

:DESERT9_16171
if 
  207@ == 0
goto_if_false @DESERT9_16557
208@ = 2000
209@ = 2300
210@ = 2600
211@ = 4000
212@ = 4300
213@ = 4600
214@ = 6000
215@ = 6300
216@ = 6600
217@ = 8000
218@ = 8300
219@ = 8600
220@ = 10000
221@ = 10300
222@ = 10600
240@ = 1
241@ = 1
242@ = 1
243@ = 1
244@ = 1
245@ = 1
246@ = 1
247@ = 1
248@ = 0
249@ = 1
250@ = 1
251@ = 1
252@ = 1
253@ = 1
254@ = 1
255@ = 0

:DESERT9_16421
if 
  15 > 255@
goto_if_false @DESERT9_16550
223@ = Math.RandomIntInRange(-500, 500)
add_int_lvar_to_int_lvar 208@(255@,15i) += TIMERA
add_int_lvar_to_int_lvar 208@(255@,15i) += 223@
255@ += 1
add_int_lvar_to_int_lvar 208@(255@,15i) += TIMERA
add_int_lvar_to_int_lvar 208@(255@,15i) += 223@
255@ += 1
add_int_lvar_to_int_lvar 208@(255@,15i) += TIMERA
add_int_lvar_to_int_lvar 208@(255@,15i) += 223@
255@ += 1
goto @DESERT9_16421

:DESERT9_16550
207@ = 1

:DESERT9_16557
if 
  207@ == 1
goto_if_false @DESERT9_17083
if 
  15 > 224@
goto_if_false @DESERT9_17083
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 208@(224@,15i)
goto_if_false @DESERT9_17083
277@ = 0

:DESERT9_16623
if 
  15 > 277@
goto_if_false @DESERT9_16741
if 
  Object.DoesExist(225@(277@,15i))
goto_if_false @DESERT9_16727
if 
  not Object.IsOnScreen(225@(277@,15i))
goto_if_false @DESERT9_16727
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(225@(277@,15i))
if 
  is_float_var_greater_than_float_var $on_footY > $x
goto_if_false @DESERT9_16727
Object.Delete(225@(277@,15i))

:DESERT9_16727
277@ += 1
goto @DESERT9_16623

:DESERT9_16741
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_16765
259@ = Car.GetSpeed(34@)

:DESERT9_16765
set_lvar_float_to_lvar_float 257@ = 74@
257@ += 18.538
258@ = 15.61
set_lvar_float_to_lvar_float 260@ = 259@
260@ -= 18.0
260@ *= -1.0
if 
  240@(224@,15i) == 1
goto_if_false @DESERT9_16999
261@ = Math.RandomFloatInRange(-10.0, 10.0)
225@(224@,15i) = Object.Create(#KB_BARREL, 257@, 75@, 258@)
Object.SetHeading(225@(224@,15i), 90.0)
Object.SetDynamic(225@(224@,15i), False)
Object.SetDynamic(225@(224@,15i), True)
Object.SetVelocity(225@(224@,15i), 260@, 261@, 0.0)
Object.SetRotation(225@(224@,15i), 0.0, 0.0, 0.0)
set_lvar_float_to_lvar_float 151@ = 260@
151@ *= 2.0
Object.AddToRotationVelocity(225@(224@,15i), 0.0, 151@, 0.0)

:DESERT9_16999
if 
  240@(224@,15i) == 2
goto_if_false @DESERT9_17076
256@ = Car.Create(422, 257@, 75@, 258@)
Car.SetHeading(256@, 270.0)
Car.SetForwardSpeed(256@, 260@)
Car.SetRotationVelocity(256@, 0.0, 23.0, 0.0)

:DESERT9_17076
224@ += 1

:DESERT9_17083
return 

:DESERT9_17085
if 
  111@ == 0
goto_if_false @DESERT9_17551
111@ = 1
set_lvar_int_to_lvar_int 112@ = TIMERA
112@ += 1000
278@ = 316.465
282@ = 981.694
286@ = 1958.96
279@ = 315.248
283@ = 981.694
287@ = 1958.96
280@ = 316.465
284@ = 981.909
288@ = 1959.92
281@ = 315.248
285@ = 981.909
289@ = 1959.92
290@ = -0.996
291@ = 0.232
352@ = 3
353@ = 4
354@ = 4
355@ = 5
356@ = 6
357@ = 1
358@ = 3
359@ = 3
360@ = 4
361@ = 5
362@ = 2
363@ = 2
364@ = 6
365@ = 6
366@ = 7
367@ = 6
368@ = 6
369@ = 7
370@ = 7
371@ = 8
372@ = 0
373@ = 0
374@ = 300
375@ = 0
376@ = 0
377@ = 0
378@ = 0
379@ = 0
380@ = 0
381@ = 0
382@ = 0
383@ = 0
384@ = 300
385@ = 0
386@ = 300
387@ = 0
388@ = 300
389@ = 0
390@ = 300
391@ = 0

:DESERT9_17551
if 
  111@ == 1
goto_if_false @DESERT9_17871
393@ = 0
392@ = 0

:DESERT9_17583
if 
  4 > 392@
goto_if_false @DESERT9_17864
440@ = 0.0

:DESERT9_17611
if 
  5.0 > 440@
goto_if_false @DESERT9_17850
set_lvar_float_to_lvar_float 292@(393@,20f) = 278@(392@,4f)
set_lvar_float_to_lvar_float 312@(393@,20f) = 440@
mult_float_lvar_by_float_lvar 312@(393@,20f) *= 290@
add_float_lvar_to_float_lvar 312@(393@,20f) += 282@(392@,4f)
set_lvar_float_to_lvar_float 332@(393@,20f) = 440@
mult_float_lvar_by_float_lvar 332@(393@,20f) *= 291@
add_float_lvar_to_float_lvar 332@(393@,20f) += 286@(392@,4f)
91@(393@,20i) = Object.Create(#KB_BARREL, 292@(393@,20f), 312@(393@,20f), 332@(393@,20f))
set_lvar_int_to_lvar_int 114@ = TIMERA
Object.SetRotation(91@(393@,20i), 0.0, 13.0, 90.0)
Object.SetDynamic(91@(393@,20i), False)
Object.SetDynamic(91@(393@,20i), True)
Object.FreezePosition(91@(393@,20i), True)
393@ += 1
440@ += 1.0
goto @DESERT9_17611

:DESERT9_17850
392@ += 1
goto @DESERT9_17583

:DESERT9_17864
111@ = 2

:DESERT9_17871
if 
  111@ == 2
goto_if_false @DESERT9_19969
414@ = 0
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  439@ == 0
goto_if_false @DESERT9_17981
if 
  990.0 >= $y
goto_if_false @DESERT9_17981
439@ = 1
if 
  not Char.IsDead(44@)
goto_if_false @DESERT9_17981
Char.SetRelationship(44@, RelationshipType.Hate, PedType.Player1)

:DESERT9_17981
if 
  60@ == 0
goto_if_false @DESERT9_18052
if 
  1021.0 > $y
goto_if_false @DESERT9_18052
if 
  not Char.IsDead(40@)
goto_if_false @DESERT9_18052
Char.SetRelationship(40@, RelationshipType.Hate, PedType.Player1)
60@ = 1

:DESERT9_18052
if 
  61@ == 0
goto_if_false @DESERT9_18123
if 
  1011.0 > $y
goto_if_false @DESERT9_18123
if 
  not Char.IsDead(41@)
goto_if_false @DESERT9_18123
Char.SetRelationship(41@, RelationshipType.Hate, PedType.Player1)
61@ = 1

:DESERT9_18123
if 
  62@ == 0
goto_if_false @DESERT9_18194
if 
  1000.0 > $y
goto_if_false @DESERT9_18194
if 
  not Char.IsDead(42@)
goto_if_false @DESERT9_18194
Char.SetRelationship(42@, RelationshipType.Hate, PedType.Player1)
62@ = 1

:DESERT9_18194
if 
  63@ == 0
goto_if_false @DESERT9_18265
if 
  1000.0 > $y
goto_if_false @DESERT9_18265
if 
  not Char.IsDead(43@)
goto_if_false @DESERT9_18265
Char.SetRelationship(43@, RelationshipType.Hate, PedType.Player1)
63@ = 1

:DESERT9_18265
if 
  439@ == 0
goto_if_false @DESERT9_18463
if or
  1021.0 > $y
  435@ == 1
goto_if_false @DESERT9_18463
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 436@
goto_if_false @DESERT9_18463
set_lvar_int_to_lvar_int 436@ = TIMERA
436@ += 6500
set_lvar_int_to_lvar_int 437@ = TIMERA
435@ += 1
if 
  not Char.IsDead(44@)
goto_if_false @DESERT9_18463
if 
  Streaming.HasAnimationLoaded("AIRPORT")
goto_if_false @DESERT9_18452
Task.PlayAnim(44@, "THRW_BARL_THRW", "AIRPORT", 4.0, False, False, False, False, 3000)
goto @DESERT9_18463

:DESERT9_18452
Streaming.RequestAnimation("AIRPORT")

:DESERT9_18463
if 
  20 > 414@
goto_if_false @DESERT9_19969
if 
  is_int_lvar_greater_or_equal_to_int_lvar 435@ >= 352@(414@,20i)
goto_if_false @DESERT9_19955
if 
  415@(414@,20i) == 0
goto_if_false @DESERT9_18625
set_lvar_int_to_lvar_int 438@ = 437@
add_int_lvar_to_int_lvar 438@ += 372@(414@,20i)
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 438@
goto_if_false @DESERT9_18625
415@(414@,20i) = 1
if 
  414@ == 5
goto_if_false @DESERT9_18625
Object.SetCoordinates(96@, 315.1264, 986.6496, 1957.926)
415@(414@,20i) = 6

:DESERT9_18625
if 
  415@(414@,20i) == 1
goto_if_false @DESERT9_18705
if 
  10 > 414@
goto_if_false @DESERT9_18683
415@(414@,20i) = 2
goto @DESERT9_18694

:DESERT9_18683
415@(414@,20i) = 3

:DESERT9_18694
Object.SetCollision(91@(414@,20i), False)

:DESERT9_18705
if 
  415@(414@,20i) == 2
goto_if_false @DESERT9_18792
if 
  Object.Slide(91@(414@,20i), 292@(414@,20f), 981.691, 1959.418, 0.0, 0.183, 0.0412, False)
goto_if_false @DESERT9_18792
415@(414@,20i) = 4

:DESERT9_18792
if 
  415@(414@,20i) == 3
goto_if_false @DESERT9_18879
if 
  Object.Slide(91@(414@,20i), 292@(414@,20f), 981.909, 1960.339, 0.0, 0.183, 0.0412, False)
goto_if_false @DESERT9_18879
415@(414@,20i) = 5

:DESERT9_18879
if 
  415@(414@,20i) == 4
goto_if_false @DESERT9_18966
if 
  Object.Slide(91@(414@,20i), 292@(414@,20f), 984.242, 1958.532, 0.0, 0.287, 0.1, False)
goto_if_false @DESERT9_18966
415@(414@,20i) = 5

:DESERT9_18966
if 
  415@(414@,20i) == 5
goto_if_false @DESERT9_19053
if 
  Object.Slide(91@(414@,20i), 292@(414@,20f), 984.242, 1958.532, 0.0, 0.21, 0.162, False)
goto_if_false @DESERT9_19053
415@(414@,20i) = 6

:DESERT9_19053
if 
  415@(414@,20i) == 6
goto_if_false @DESERT9_19140
if 
  Object.Slide(91@(414@,20i), 292@(414@,20f), 1027.961, 1948.424, 0.0, 0.244, 0.0564, False)
goto_if_false @DESERT9_19140
415@(414@,20i) = 7

:DESERT9_19140
if 
  415@(414@,20i) == 7
goto_if_false @DESERT9_19227
if 
  Object.Slide(91@(414@,20i), 292@(414@,20f), 1039.494, 1942.693, 0.0, 0.432, 0.2145, False)
goto_if_false @DESERT9_19227
415@(414@,20i) = 8

:DESERT9_19227
if 
  415@(414@,20i) == 8
goto_if_false @DESERT9_19314
if 
  Object.Slide(91@(414@,20i), 292@(414@,20f), 1086.909, 1908.631, 0.0, 0.882, 0.6645, False)
goto_if_false @DESERT9_19314
415@(414@,20i) = 9

:DESERT9_19314
if 
  415@(414@,20i) == 9
goto_if_false @DESERT9_19358
Object.SetVisible(91@(414@,20i), False)
415@(414@,20i) = 10

:DESERT9_19358
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 113@
goto_if_false @DESERT9_19592
if and
  2 <= 415@(414@,20i)
  415@(414@,20i) < 8
goto_if_false @DESERT9_19592
292@(414@,20f), 144@, 145@ = Object.GetCoordinates(91@(414@,20i))
set_lvar_float_to_var_float 148@ = $x
sub_float_lvar_from_float_lvar 148@ -= 292@(414@,20f)
set_lvar_float_to_var_float 149@ = $y
sub_float_lvar_from_float_lvar 149@ -= 144@
set_lvar_float_to_var_float 150@ = $z
sub_float_lvar_from_float_lvar 150@ -= 145@
148@ = Math.Abs()
if 
  0.6 > 148@
goto_if_false @DESERT9_19592
if and
  0.5 > 149@
  149@ > 0.0
goto_if_false @DESERT9_19592
if 
  0.6 > 150@
goto_if_false @DESERT9_19592
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.FallAndGetUp($stattreadstamina_ctr, False, 0)
set_lvar_int_to_lvar_int 113@ = TIMERA
113@ += 1500

:DESERT9_19592
444@ = 0

:DESERT9_19599
if 
  4 > 444@
goto_if_false @DESERT9_19876
if 
  not Char.IsDead(40@(444@,8i))
goto_if_false @DESERT9_19862
if and
  2 <= 415@(414@,20i)
  415@(414@,20i) < 8
goto_if_false @DESERT9_19862
441@, 442@, 443@ = Char.GetCoordinates(40@(444@,8i))
292@(414@,20f), 144@, 145@ = Object.GetCoordinates(91@(414@,20i))
set_lvar_float_to_lvar_float 148@ = 441@
sub_float_lvar_from_float_lvar 148@ -= 292@(414@,20f)
set_lvar_float_to_lvar_float 149@ = 442@
sub_float_lvar_from_float_lvar 149@ -= 144@
set_lvar_float_to_lvar_float 150@ = 443@
sub_float_lvar_from_float_lvar 150@ -= 145@
148@ = Math.Abs()
if 
  0.6 > 148@
goto_if_false @DESERT9_19862
if and
  0.5 > 149@
  149@ > 0.0
goto_if_false @DESERT9_19862
if 
  0.6 > 150@
goto_if_false @DESERT9_19862
Char.ClearTasksImmediately(40@(444@,8i))
Task.FallAndGetUp(40@(444@,8i), False, 0)

:DESERT9_19862
444@ += 1
goto @DESERT9_19599

:DESERT9_19876
116@(414@,20f) += 20.0
Object.SetRotation(91@(414@,20i), 0.0, 116@(414@,20f), 90.0)
if 
  116@(414@,20f) == 360.0
goto_if_false @DESERT9_19955
116@(414@,20f) = 0.0

:DESERT9_19955
414@ += 1
goto @DESERT9_18463

:DESERT9_19969
return 

:DESERT9_19971
88@ = 0

:DESERT9_19978
if 
  15 > 88@
goto_if_false @DESERT9_20435
if 
  462@(88@,15i) == 1
goto_if_false @DESERT9_20052
set_lvar_int_to_lvar_int 447@(88@,15i) = TIMERA
447@(88@,15i) += 120
462@(88@,15i) = 2

:DESERT9_20052
if 
  462@(88@,15i) == 2
goto_if_false @DESERT9_20421
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 447@(88@,15i)
goto_if_false @DESERT9_20421
462@(88@,15i) = 3
set_lvar_int_to_lvar_int 89@ = 88@
89@ -= 1
set_lvar_int_to_lvar_int 90@ = 88@
90@ += 1
if 
  0 > 89@
goto_if_false @DESERT9_20163
89@ = 0

:DESERT9_20163
if 
  90@ > 14
goto_if_false @DESERT9_20188
90@ = 14

:DESERT9_20188
if 
  462@(89@,15i) == 0
goto_if_false @DESERT9_20221
462@(89@,15i) = 1

:DESERT9_20221
if 
  462@(90@,15i) == 0
goto_if_false @DESERT9_20254
462@(90@,15i) = 1

:DESERT9_20254
cset_lvar_float_to_lvar_int 161@ =# 88@
160@ = 5.0
mult_float_lvar_by_float_lvar 160@ *= 161@
159@ = 967.5745
add_float_lvar_to_float_lvar 159@ += 160@
set_lvar_float_to_lvar_float 160@ = 159@
160@ += 5.0
if and
  is_float_lvar_greater_than_float_var 160@ > $y
  is_float_var_greater_than_float_lvar $y > 159@
goto_if_false @DESERT9_20368
if 
  $flag_returned_shoehorses == 0
goto_if_false @DESERT9_20368
69@ = 1

:DESERT9_20368
159@ += 2.25
set_lvar_float_to_lvar_float 160@ = 161@
160@ *= -1.19
160@ += 1962.38
Fx.AddExplosion(315.8258, 159@, 160@, ExplosionType.Aircraft)

:DESERT9_20421
88@ += 1
goto @DESERT9_19978

:DESERT9_20435
if 
  69@ == 1
goto_if_false @DESERT9_20494
Task.FallAndGetUp($stattreadstamina_ctr, False, 0)
68@ = 7
71@ = 0
Text.ClearPrints
Text.Print('DES9_42', 4000, 1)

:DESERT9_20494
return 

:DESERT9_20496
if 
  477@ <> 0
goto_if_false @DESERT9_20696
if 
  478@ == 0
goto_if_false @DESERT9_20574
478@ = 1
set_lvar_int_to_lvar_int 479@ = TIMERA
480@ = 0
set_lvar_int_to_lvar_int 682@ = 479@
add_int_lvar_to_int_lvar 682@ += 481@(480@,10i)

:DESERT9_20574
if 
  478@ == 1
goto_if_false @DESERT9_20696
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 682@
goto_if_false @DESERT9_20696
set_lvar_int_to_lvar_int 626@ = 491@(480@,10i)
480@ += 1
501@ -= 1
if 
  501@ == 0
goto_if_false @DESERT9_20676
477@ = 0
478@ = 0
goto @DESERT9_20696

:DESERT9_20676
set_lvar_int_to_lvar_int 682@ = 479@
add_int_lvar_to_int_lvar 682@ += 481@(480@,10i)

:DESERT9_20696
switch_start 629@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @DESERT9_21725 {caseNum1} 0 {caseLabel1} @DESERT9_20759 {caseNum2} 1 {caseLabel2} @DESERT9_20867 {caseNum3} 2 {caseLabel3} @DESERT9_21396 {caseNum4} 3 {caseLabel4} @DESERT9_21472 {caseNum5} 4 {caseLabel5} @DESERT9_21530 {caseNum6} 5 {caseLabel6} @DESERT9_21644 {caseNum7} -1 {caseLabel7} @DESERT9_21725

:DESERT9_20759
set_lvar_text_label 504@s = 'DES9_BA'
set_lvar_text_label 506@s = 'DES9_BB'
set_lvar_int_to_constant 583@ = 13802
set_lvar_int_to_constant 584@ = 13803
632@ = 0
633@ = 0
set_lvar_int_to_var_int 672@ = $stattreadstamina_ctr
629@ = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 583@)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 584@)
623@ = 1
624@ = 2
goto @DESERT9_21725

:DESERT9_20867
if 
  626@ <> 0
goto_if_false @DESERT9_21389
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 630@
goto_if_false @DESERT9_21389
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @DESERT9_21389
if 
  is_int_lvar_equal_to_int_lvar 623@ == 626@
goto_if_false @DESERT9_20956
625@ = 1
goto @DESERT9_21019

:DESERT9_20956
if 
  is_int_lvar_equal_to_int_lvar 624@ == 626@
goto_if_false @DESERT9_20989
625@ = 2
goto @DESERT9_21019

:DESERT9_20989
625@ = 1
set_lvar_int_to_lvar_int 623@ = 626@
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 582@(626@,40i))

:DESERT9_21019
if 
  Audio.HasMissionAudioLoaded(625@)
goto_if_false @DESERT9_21377
if 
  631@(626@,40i) <> 0
goto_if_false @DESERT9_21150
set_lvar_int_to_lvar_int 679@ = 631@(626@,40i)
set_lvar_int_to_lvar_int 680@ = 671@(679@,7i)
if 
  not Char.IsDead(680@)
goto_if_false @DESERT9_21150
Audio.AttachMissionAudioToChar(625@, 680@)
if 
  not Char.IsTalking(680@)
goto_if_false @DESERT9_21143
678@ = 1
Char.StartFacialTalk(680@, 15000)
goto @DESERT9_21150

:DESERT9_21143
Char.DisableSpeech(680@, False)

:DESERT9_21150
if 
  631@(626@,40i) == 0
goto_if_false @DESERT9_21179
678@ = 1

:DESERT9_21179
if 
  678@ == 1
goto_if_false @DESERT9_21370
Audio.PlayMissionAudio(625@)
Text.ClearPrints
Text.Print(502@(626@,40s), 10000, 1)
629@ += 1
678@ = 0
626@ += 1
set_lvar_int_to_lvar_int 627@ = 626@
if 
  582@(626@,40i) <> 0
goto_if_false @DESERT9_21370
if 
  625@ == 1
goto_if_false @DESERT9_21332
if 
  not is_int_lvar_equal_to_int_lvar 624@ == 626@
goto_if_false @DESERT9_21325
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 582@(626@,40i))
set_lvar_int_to_lvar_int 624@ = 626@

:DESERT9_21325
goto @DESERT9_21370

:DESERT9_21332
if 
  not is_int_lvar_equal_to_int_lvar 623@ == 626@
goto_if_false @DESERT9_21370
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 582@(626@,40i))
set_lvar_int_to_lvar_int 623@ = 626@

:DESERT9_21370
goto @DESERT9_21389

:DESERT9_21377
Audio.LoadMissionAudio(625@, 582@(626@,40i))

:DESERT9_21389
goto @DESERT9_21725

:DESERT9_21396
if 
  Audio.HasMissionAudioFinished(625@)
goto_if_false @DESERT9_21426
629@ += 1
goto @DESERT9_21465

:DESERT9_21426
if 
  Char.DoesExist(680@)
goto_if_false @DESERT9_21465
if 
  Char.IsDead(680@)
goto_if_false @DESERT9_21465
629@ += 1

:DESERT9_21465
goto @DESERT9_21725

:DESERT9_21472
Audio.ClearMissionAudio(625@)
622@(625@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(680@)
goto_if_false @DESERT9_21516
Char.StopFacialTalk(680@)
Char.EnableSpeech(680@)

:DESERT9_21516
629@ += 1
goto @DESERT9_21725

:DESERT9_21530
626@ += 1
if 
  582@(626@,40i) <> 0
goto_if_false @DESERT9_21583
Audio.LoadMissionAudio(625@, 582@(626@,40i))
set_lvar_int_to_lvar_int 622@(625@,3i) = 626@

:DESERT9_21583
628@ -= 1
if 
  628@ <= 0
goto_if_false @DESERT9_21622
626@ = 0
goto @DESERT9_21630

:DESERT9_21622
set_lvar_int_to_lvar_int 626@ = 627@

:DESERT9_21630
629@ = 1
goto @DESERT9_21725

:DESERT9_21644
629@ = 1
626@ = 0
628@ = 0
477@ = 0
501@ = 0
Audio.ClearMissionAudio(625@)
622@(625@,3i) = 0
Text.ClearPrints
if 
  not Char.IsDead(680@)
goto_if_false @DESERT9_21718
Char.EnableSpeech(680@)

:DESERT9_21718
goto @DESERT9_21725

:DESERT9_21725
return 

:DESERT9_21727
if 
  171@ == 1
goto_if_false @DESERT9_21878
if 
  684@ == 0
goto_if_false @DESERT9_21802
set_lvar_int_to_lvar_int 683@ = TIMERA
683@ += 5000
Text.Print('DES9_A9', 4000, 1)
684@ = 1

:DESERT9_21802
if 
  684@ == 1
goto_if_false @DESERT9_21878
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 683@
goto_if_false @DESERT9_21878
set_lvar_int_to_lvar_int 683@ = TIMERA
683@ += 4500
Text.Print('DES9_A6', 4500, 1)
684@ = 2

:DESERT9_21878
return 

:DESERT9_21880
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Pickup.Remove($ai_target_z)
return 

:DESERT9_21903
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Detonator)
goto_if_false @DESERT9_21928
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Detonator)

:DESERT9_21928
$flag_casino_mission_counter += 1
Stat.RegisterMissionPassed('DESERT9')
Text.PrintWithNumberBig('M_PASS', 20000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 20000)
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
return 

:DESERT9_21988
$lowrider_meeting_is_loaded = 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT9_22026
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)

:DESERT9_22026
Pad.SetPlayerFireButton($statbike_temp, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT9_22067
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.SetAreaVisible(0)
Char.SetVisible($stattreadstamina_ctr, True)

:DESERT9_22067
Camera.ResetNewScriptables
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DESERT9_22114
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Char.FreezePosition($stattreadstamina_ctr, False)
Player.DisableSprint($statbike_temp, False)

:DESERT9_22114
World.SwitchEntryExit('DESHOUS', True)
Streaming.MarkModelAsNoLongerNeeded(445)
Streaming.MarkModelAsNoLongerNeeded(91)
Streaming.MarkModelAsNoLongerNeeded(461)
Streaming.MarkModelAsNoLongerNeeded(592)
Streaming.MarkModelAsNoLongerNeeded(422)
Streaming.MarkModelAsNoLongerNeeded(165)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(166)
Streaming.MarkModelAsNoLongerNeeded(364)
Streaming.MarkModelAsNoLongerNeeded(363)
Streaming.MarkModelAsNoLongerNeeded(371)
Streaming.RemoveAnimation("AIRPORT")
Streaming.RemoveAnimation("CARRY")
Streaming.MarkModelAsNoLongerNeeded(335)
Streaming.RemoveCarRecording(150)
Streaming.RemoveCarRecording(152)
Streaming.RemoveCarRecording(149)
Streaming.RemoveCarRecording(167)
Streaming.RemoveCarRecording(168)
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveCarRecording(149)
414@ = 0

:DESERT9_22252
if 
  8 > 414@
goto_if_false @DESERT9_22313
if 
  not Char.IsDead(40@(414@,8i))
goto_if_false @DESERT9_22299
Char.Delete(40@(414@,8i))

:DESERT9_22299
414@ += 1
goto @DESERT9_22252

:DESERT9_22313
414@ = 0

:DESERT9_22320
if 
  15 > 414@
goto_if_false @DESERT9_22361
Object.Delete(225@(414@,15i))
414@ += 1
goto @DESERT9_22320

:DESERT9_22361
World.RemoveAllScriptFires
if 
  not Car.IsDead(36@)
goto_if_false @DESERT9_22403
if 
  not Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @DESERT9_22403
Car.Delete(36@)

:DESERT9_22403
if 
  not Car.IsDead(186@)
goto_if_false @DESERT9_22424
Car.Delete(186@)

:DESERT9_22424
if 
  not Car.IsDead(37@)
goto_if_false @DESERT9_22464
if 
  not Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @DESERT9_22464
Car.Delete(37@)

:DESERT9_22464
if 
  not Car.IsDead(38@)
goto_if_false @DESERT9_22504
if 
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @DESERT9_22504
Car.Delete(38@)

:DESERT9_22504
if 
  not Car.IsDead(34@)
goto_if_false @DESERT9_22525
Car.Delete(34@)

:DESERT9_22525
if 
  not Car.IsDead(35@)
goto_if_false @DESERT9_22579
if 
  not Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @DESERT9_22579
Car.SetAreaVisible(35@, 0)
Car.SetVisible(35@, True)
Car.MarkAsNoLongerNeeded(35@)

:DESERT9_22579
if 
  68@ <> 9
goto_if_false @DESERT9_22625
if 
  not Car.IsDead(186@)
goto_if_false @DESERT9_22618
Car.Delete(186@)

:DESERT9_22618
goto @DESERT9_22646

:DESERT9_22625
if 
  not Car.IsDead(186@)
goto_if_false @DESERT9_22646
Car.MarkAsNoLongerNeeded(186@)

:DESERT9_22646
Particle.Kill(174@)
Blip.Remove(152@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DESERT9_22679
Player.DisableSprint($statbike_temp, False)

:DESERT9_22679
Char.SetCanBeKnockedOffBike($stattreadstamina_ctr, False)
Blip.Remove(152@)
Blip.Remove(153@)
Hud.DisplayRadar(True)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
$bcesar3_passed_mission = 0
return 
return 

//-------------Mission 81---------------
// Originally: Black Project

:MAF4
script_name 'MAF4'
gosub @MAF4_47
if 
  has_deatharrest_been_executed 
goto_if_false @MAF4_38
gosub @MAF4_29865

:MAF4_38
gosub @MAF4_30189
terminate_this_script 

:MAF4_47
Stat.RegisterMissionGiven
wait 0
Text.LoadMissionText('DSERT8')
Weather.ForceNow(WeatherType.SunnyDesert)
34@ = Stat.GetInt(StatId.Fat)
if 
  34@ > 600
goto_if_false @MAF4_326
Cutscene.Load('D8_ALT')

:MAF4_105
if 
  not Cutscene.HasLoaded
goto_if_false @MAF4_129
wait 0
goto @MAF4_105

:MAF4_129
World.ClearArea(405.2136, 2525.9, 16.4918, 7.5, False)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MAF4_162
if 
  not Cutscene.HasFinished
goto_if_false @MAF4_186
wait 0
goto @MAF4_162

:MAF4_186
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:MAF4_199
if 
  Camera.GetFadingStatus
goto_if_false @MAF4_223
wait 0
goto @MAF4_199

:MAF4_223
Cutscene.Clear
World.ClearArea(419.4488, 2529.914, 15.6219, 0.5, False)
Streaming.LoadScene(419.4488, 2529.914, 15.6219)
Char.SetCoordinates($stattreadstamina_ctr, 419.4488, 2529.914, 15.6219)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Camera.SetBehindPlayer
Camera.DoFade(1500, Fade.In)
Player.SetControl($statbike_temp, True)
goto @MAF4_30189
goto @MAF4_451

:MAF4_326
World.ClearArea($casinoY, $casinoZ, $TheheistX, 100.0, False)
Cutscene.Load('DESERT8')

:MAF4_355
if 
  not Cutscene.HasLoaded
goto_if_false @MAF4_379
wait 0
goto @MAF4_355

:MAF4_379
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MAF4_388
if 
  not Cutscene.HasFinished
goto_if_false @MAF4_412
wait 0
goto @MAF4_388

:MAF4_412
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:MAF4_427
if 
  Camera.GetFadingStatus
goto_if_false @MAF4_451
wait 0
goto @MAF4_427

:MAF4_451
49@ = 108.51
56@ = 1917.268
63@ = 17.63
70@ = 135.323
77@ = 1917.776
84@ = 18.71
50@ = 180.018
57@ = 1904.214
64@ = 17.255
71@ = 243.707
78@ = 1903.543
85@ = 18.639
51@ = 239.0798
58@ = 1904.087
65@ = 16.899
72@ = 188.371
79@ = 1905.376
86@ = 16.825
52@ = 166.119
59@ = 1857.384
66@ = 16.764
73@ = 276.669
80@ = 1856.339
87@ = 16.671
53@ = 191.28
60@ = 1822.46
67@ = 16.83
74@ = 252.37
81@ = 1821.89
88@ = 17.04
54@ = 138.07
61@ = 1823.01
68@ = 16.88
75@ = 105.1
82@ = 1867.21
89@ = 16.97
55@ = 192.9
62@ = 1809.56
69@ = 16.8
76@ = 144.2
83@ = 1812.52
90@ = 16.78
163@ = 0
164@ = 0
165@ = 0
166@ = 0

:MAF4_899
if 
  7 > 165@
goto_if_false @MAF4_942
167@(165@,7i) = 0
165@ += 1
goto @MAF4_899

:MAF4_942
174@ = 0
175@ = 0
163@ = 0
164@ = 0
165@ = 0
166@ = 0
174@ = 0
175@ = 0
176@ = 0
177@ = 0
178@ = 0
179@ = 0
180@ = 0
181@ = 0
182@ = 0
183@ = 0
184@ = 0
185@ = 0
186@ = 0
187@ = 0
188@ = 0
189@ = 0
190@ = 0
191@ = 0
192@ = 0
193@ = 0
194@ = 0
195@ = 0
196@ = 0
197@ = 0
199@ = 0
200@ = 0
201@ = 0
202@ = 0
198@ = 0
203@ = 0
204@ = 0
Game.SetWantedMultiplier(0.0)
Camera.SetFadingColor(0, 0, 0)
wait 500
Streaming.RequestModel(287)
Streaming.RequestModel(356)
Streaming.RequestModel(#A51_SPOTBULB)
Streaming.RequestModel(#A51_SPOTHOUSING)
Streaming.RequestModel(#A51_SPOTBASE)
Streaming.RequestModel(483)
Streaming.LoadSpecialCharacter(1, 'TRUTH')
Streaming.RequestCarRecording(340)
Streaming.RequestCarRecording(341)
Streaming.RequestModel(335)
Streaming.RequestModel(347)
Streaming.RequestModel(358)
Streaming.RequestModel(369)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1809)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 41418)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 13642)
Streaming.LoadAllModelsNow

:MAF4_1319
if or
  not Streaming.HasModelLoaded(287)
  not Streaming.HasModelLoaded(356)
  not Streaming.HasModelLoaded(#A51_SPOTBULB)
  not Streaming.HasModelLoaded(#A51_SPOTHOUSING)
  not Streaming.HasModelLoaded(#A51_SPOTBASE)
  not Streaming.HasModelLoaded(483)
goto_if_false @MAF4_1371
wait 0
goto @MAF4_1319

:MAF4_1371
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasCarRecordingBeenLoaded(340)
  not Streaming.HasCarRecordingBeenLoaded(341)
  not Streaming.HasModelLoaded(335)
  not Streaming.HasModelLoaded(347)
  not Streaming.HasModelLoaded(358)
goto_if_false @MAF4_1422
wait 0
goto @MAF4_1371

:MAF4_1422
if or
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
  not Streaming.HasModelLoaded(369)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MAF4_1461
wait 0
goto @MAF4_1422

:MAF4_1461
Zone.SetDisableMilitaryZones(True)
Streaming.LoadSceneInDirection(49.8744, 1900.289, 17.7833, 99.0)
160@ = DecisionMakerChar.Load(DecisionMakerType.Steal)
159@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
161@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
162@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Mission1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission3, PedType.Mission1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Mission3)
107@ = Car.Create(483, 22.4045, 1881.61, 16.6484)
Car.SetHeading(107@, 306.3276)
Car.ChangeColor(107@, 1, 1)
Car.GivePaintjob(107@, 0)
106@ = Char.CreateAsPassenger(107@, PedType.Special, 290, 0)
Char.SetDecisionMaker(106@, 159@)
Char.WarpIntoCar($stattreadstamina_ctr, 107@)
Camera.SetFixedPosition(49.8744, 1900.289, 17.7833, 0.0, 0.0, 0.0)
Camera.PointAtPoint(48.9571, 1899.896, 17.8444, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 36.09, 1921.04, 18.93)
Char.SetHeading($stattreadstamina_ctr, 268.5112)
Streaming.LoadScene(106.9, -1923.21, 18.35)
World.ClearArea(82.775, 1917.325, 17.733, 150.0, True)
World.SetCarDensityMultiplier(0.1)
World.SetPedDensityMultiplier(0.1)
Hud.SetRadarZoom(75)
Player.ForceInteriorLighting($statbike_temp, True)
Clock.SetTimeOfDay(23, 30)
TIMERA = 0
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Char.ShutUp($stattreadstamina_ctr, True)
Camera.DoFade(1000, Fade.In)
146@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 108.48, 1919.29, 18.56)
147@ = Pickup.Create(#HEALTH, PickupType.Once, 228.91, 1858.65, 14.8)
148@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 247.016, 1859.22, 14.08)
149@ = Pickup.Create(#HEALTH, PickupType.Once, 273.61, 1816.32, 1.02)
150@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 255.36, 1802.007, 7.47)
151@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 292.46, 1817.89, 1.015)
Game.ShowBlipsOnAllLevels(True)
Object.Delete($5181)
World.ClearArea(22.4045, 1881.61, 400.0, 400.0, False)
Player.ClearWantedLevel($statbike_temp)

:MAF4_1996
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @MAF4_2022
goto @MAF4_29935

:MAF4_2022
if 
  5 > 164@
goto_if_false @MAF4_13441
if 
  164@ == 0
goto_if_false @MAF4_2116
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_2116
if 
  not Char.IsDead(106@)
goto_if_false @MAF4_2116
Car.StartPlayback(107@, 340)
Task.LookAtChar($stattreadstamina_ctr, 106@, 10000)
164@ = 1

:MAF4_2116
if 
  164@ == 1
goto_if_false @MAF4_2217
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_2217
if 
  not Char.IsDead(106@)
goto_if_false @MAF4_2217
if 
  not Car.IsPlaybackGoingOn(107@)
goto_if_false @MAF4_2217
176@ = 0
177@ = 0
skip_cutscene_start_internal @MAF4_8236
TIMERA = 0
164@ = 2

:MAF4_2217
if 
  164@ == 2
goto_if_false @MAF4_2442
if 
  TIMERA > 1000
goto_if_false @MAF4_2442
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_2442
if 
  not Char.IsDead(106@)
goto_if_false @MAF4_2442
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 107@)
goto_if_false @MAF4_2442
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DES8_LA', 3000, 1)

:MAF4_2325
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MAF4_2351
wait 0
goto @MAF4_2325

:MAF4_2351
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 13643)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('TRUX_AS', 2500, 1)

:MAF4_2378
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @MAF4_2404
wait 0
goto @MAF4_2378

:MAF4_2404
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_2428
Task.LeaveCar($stattreadstamina_ctr, 107@)

:MAF4_2428
TIMERA = 0
164@ = 3

:MAF4_2442
if 
  164@ == 3
goto_if_false @MAF4_2684
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_2684
if 
  not Char.IsDead(106@)
goto_if_false @MAF4_2684
if 
  not Char.IsInCar($stattreadstamina_ctr, 107@)
goto_if_false @MAF4_2684
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @MAF4_2684
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MAF4_2684
if 
  Char.IsInCar(106@, 107@)
goto_if_false @MAF4_2568
Task.ShuffleToNextCarSeat(106@, 107@)

:MAF4_2568
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_2595
Task.LookAtVehicle($stattreadstamina_ctr, 107@, 5000)

:MAF4_2595
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DES8_LC', 2000, 1)

:MAF4_2615
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MAF4_2641
wait 0
goto @MAF4_2615

:MAF4_2641
wait 350
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_2670
Car.StartPlayback(107@, 341)

:MAF4_2670
TIMERA = 0
164@ = 4

:MAF4_2684
if 
  164@ == 4
goto_if_false @MAF4_13441
if 
  TIMERA > 4000
goto_if_false @MAF4_13441
35@ = Searchlight.Create(161.513, 1932.982, 35.391, 49@, 56@, 63@, 12.5, 0.5)
42@ = Object.CreateNoOffset(#A51_SPOTBULB, 103.946, 1901.047, 36.246)
92@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 103.946, 1901.047, 36.246)
93@ = Object.CreateNoOffset(#A51_SPOTBASE, 103.946, 1901.047, 36.246)
Searchlight.AttachToObject(35@, 93@, 92@, 42@, 0.0, 1.181, 0.768)
Object.SetHealth(42@, 5000)
Object.SetOnlyDamagedByPlayer(42@, True)
136@ = Particle.CreateOnObject("SHOOTLIGHT", 42@, 0.0, 1.181, 0.768, 1)
36@ = Searchlight.Create(233.067, 1934.892, 33.139, 50@, 57@, 64@, 10.5, 0.5)
43@ = Object.CreateNoOffset(#A51_SPOTBULB, 161.962, 1933.043, 36.246)
94@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 161.962, 1933.043, 36.246)
95@ = Object.CreateNoOffset(#A51_SPOTBASE, 161.962, 1933.043, 36.246)
Searchlight.AttachToObject(36@, 95@, 94@, 43@, 0.0, 1.181, 0.768)
Object.SetHealth(43@, 5000)
Object.SetOnlyDamagedByPlayer(43@, True)
137@ = Particle.CreateOnObject("SHOOTLIGHT", 43@, 0.0, 1.181, 0.768, 1)
37@ = Searchlight.Create(266.713, 1894.979, 34.139, 51@, 58@, 65@, 10.5, 0.5)
44@ = Object.CreateNoOffset(#A51_SPOTBULB, 233.486, 1934.789, 36.246)
96@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 233.486, 1934.789, 36.246)
97@ = Object.CreateNoOffset(#A51_SPOTBASE, 233.486, 1934.789, 36.246)
Searchlight.AttachToObject(37@, 97@, 96@, 44@, 0.0, 1.181, 0.768)
Object.SetHealth(44@, 5000)
Object.SetOnlyDamagedByPlayer(44@, True)
138@ = Particle.CreateOnObject("SHOOTLIGHT", 44@, 0.0, 1.181, 0.768, 1)
38@ = Searchlight.Create(261.97, 1808.07, 34.05, 52@, 59@, 66@, 10.5, 0.5)
45@ = Object.CreateNoOffset(#A51_SPOTBULB, 267.116, 1895.241, 36.246)
98@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 267.116, 1895.241, 36.246)
99@ = Object.CreateNoOffset(#A51_SPOTBASE, 267.116, 1895.241, 36.246)
Searchlight.AttachToObject(38@, 99@, 98@, 45@, 0.0, 1.181, 0.768)
Object.SetHealth(45@, 5000)
Object.SetOnlyDamagedByPlayer(45@, True)
139@ = Particle.CreateOnObject("SHOOTLIGHT", 45@, 0.0, 1.181, 0.768, 1)
39@ = Searchlight.Create(164.228, 1837.892, 34.05, 53@, 60@, 67@, 10.5, 0.5)
46@ = Object.CreateNoOffset(#A51_SPOTBULB, 262.145, 1807.62, 36.246)
100@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 262.145, 1807.62, 36.246)
101@ = Object.CreateNoOffset(#A51_SPOTBASE, 262.145, 1807.62, 36.246)
Searchlight.AttachToObject(39@, 101@, 100@, 46@, 0.0, 1.181, 0.768)
Object.SetHealth(46@, 5000)
Object.SetOnlyDamagedByPlayer(46@, True)
140@ = Particle.CreateOnObject("SHOOTLIGHT", 46@, 0.0, 1.181, 0.768, 1)
40@ = Searchlight.Create(103.887, 1901.057, 35.723, 54@, 61@, 68@, 10.5, 0.5)
47@ = Object.CreateNoOffset(#A51_SPOTBULB, 166.003, 1849.937, 36.246)
102@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 166.003, 1849.937, 36.246)
103@ = Object.CreateNoOffset(#A51_SPOTBASE, 166.003, 1849.937, 36.246)
Searchlight.AttachToObject(40@, 103@, 102@, 47@, 0.0, 1.181, 0.768)
Object.SetHealth(47@, 5000)
Object.SetOnlyDamagedByPlayer(47@, True)
141@ = Particle.CreateOnObject("SHOOTLIGHT", 47@, 0.0, 1.181, 0.768, 1)
41@ = Searchlight.Create(261.97, 1808.07, 36.05, 55@, 62@, 69@, 10.5, 0.5)
48@ = Object.CreateNoOffset(#A51_SPOTBULB, 113.439, 1814.405, 36.246)
104@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 113.439, 1814.405, 36.246)
105@ = Object.CreateNoOffset(#A51_SPOTBASE, 113.439, 1814.405, 36.246)
Searchlight.AttachToObject(41@, 105@, 104@, 48@, 0.0, 1.181, 0.768)
Object.SetHealth(48@, 5000)
Object.SetOnlyDamagedByPlayer(48@, True)
142@ = Particle.CreateOnObject("SHOOTLIGHT", 48@, 0.0, 1.181, 0.768, 1)
gosub @MAF4_29632
178@ = 1
109@ = Char.Create(PedType.Mission1, 287, 112.39, 1931.193, 17.77)
Char.SetDecisionMaker(109@, 160@)
Char.GiveWeapon(109@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(109@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(114.51, 1914.793, 18.8, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(112.39, 1931.193, 18.77, "ROADCROSS", "PED")
Task.FollowPatrolRoute(109@, 4, RouteMode.Loop)
205@ = Blip.AddForChar(109@)
Blip.SetAlwaysDisplayOnZoomedRadar(205@, True)
Blip.ChangeDisplay(205@, BlipDisplay.BlipOnly)
Char.SetInformRespectedFriends(109@, 20.0, 1)
110@ = Char.Create(PedType.Mission1, 287, 125.135, 1916.59, 17.9)
Char.SetDecisionMaker(110@, 160@)
Char.GiveWeapon(110@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(110@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(124.716, 1890.25, 18.33, "NONE", "NONE")
Path.ExtendPatrolRoute(159.0, 1887.9, 19.5, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(161.32, 1914.42, 18.6, "NONE", "NONE")
Path.ExtendPatrolRoute(125.135, 1916.59, 18.9, "ROADCROSS", "PED")
Task.FollowPatrolRoute(110@, 4, RouteMode.Loop)
206@ = Blip.AddForChar(110@)
Blip.SetAlwaysDisplayOnZoomedRadar(206@, True)
Blip.ChangeDisplay(206@, BlipDisplay.BlipOnly)
Char.SetAccuracy(110@, 85)
Char.SetInformRespectedFriends(110@, 30.0, 1)
111@ = Char.Create(PedType.Mission1, 287, 131.37, 1821.139, 16.6)
Char.SetDecisionMaker(111@, 160@)
Char.GiveWeapon(111@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(111@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(130.62, 1855.297, 17.73, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(102.09, 1858.6, 17.7, "NONE", "NONE")
Path.ExtendPatrolRoute(102.94, 1839.78, 17.6, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(131.37, 1821.139, 17.6, "NONE", "NONE")
Task.FollowPatrolRoute(111@, 4, RouteMode.Loop)
207@ = Blip.AddForChar(111@)
Blip.SetAlwaysDisplayOnZoomedRadar(207@, True)
Blip.ChangeDisplay(207@, BlipDisplay.BlipOnly)
Char.SetAccuracy(111@, 80)
Char.SetInformRespectedFriends(111@, 30.0, 1)
112@ = Char.Create(PedType.Mission1, 287, 163.458, 1824.58, 17.64)
Char.SetHeading(112@, 180.123)
Char.SetDecisionMaker(112@, 160@)
Char.GiveWeapon(112@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(112@, 200.0)
208@ = Blip.AddForChar(112@)
Blip.SetAlwaysDisplayOnZoomedRadar(208@, True)
Blip.ChangeDisplay(208@, BlipDisplay.BlipOnly)
Char.SetAccuracy(112@, 85)
Char.SetInformRespectedFriends(112@, 30.0, 1)
113@ = Char.Create(PedType.Mission1, 287, 189.91, 1916.399, 16.64)
Char.SetDecisionMaker(113@, 160@)
Char.GiveWeapon(113@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(113@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(168.0187, 1916.279, 18.37, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(189.91, 1916.399, 17.64, "ROADCROSS", "PED")
Task.FollowPatrolRoute(113@, 4, RouteMode.Loop)
209@ = Blip.AddForChar(113@)
Blip.SetAlwaysDisplayOnZoomedRadar(209@, True)
Blip.ChangeDisplay(209@, BlipDisplay.BlipOnly)
Char.SetAccuracy(113@, 85)
Char.SetInformRespectedFriends(113@, 30.0, 1)
114@ = Char.Create(PedType.Mission1, 287, 191.535, 1809.588, 16.641)
Char.SetDecisionMaker(114@, 160@)
Char.GiveWeapon(114@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(114@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(131.24, 1811.194, 17.6, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(191.535, 1809.588, 17.641, "ROADCROSS", "PED")
Task.FollowPatrolRoute(114@, 4, RouteMode.Loop)
210@ = Blip.AddForChar(114@)
Blip.SetAlwaysDisplayOnZoomedRadar(210@, True)
Blip.ChangeDisplay(210@, BlipDisplay.BlipOnly)
Char.SetAccuracy(114@, 85)
Char.SetInformRespectedFriends(114@, 30.0, 1)
115@ = Char.Create(PedType.Mission1, 287, 195.36, 1872.92, 16.64)
Char.SetDecisionMaker(115@, 160@)
Char.GiveWeapon(115@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(115@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(231.095, 1872.9, 17.64, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(195.36, 1872.92, 17.64, "ROADCROSS", "PED")
Task.FollowPatrolRoute(115@, 4, RouteMode.Loop)
211@ = Blip.AddForChar(115@)
Blip.SetAlwaysDisplayOnZoomedRadar(211@, True)
Blip.ChangeDisplay(211@, BlipDisplay.BlipOnly)
Char.SetAccuracy(115@, 85)
Char.SetInformRespectedFriends(115@, 20.0, 1)
116@ = Char.Create(PedType.Mission1, 287, 108.673, 1886.18, 17.04)
Char.SetDecisionMaker(116@, 160@)
Char.GiveWeapon(116@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(116@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(107.065, 1865.8, 17.78, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(126.78, 1864.25, 17.8, "NONE", "NONE")
Path.ExtendPatrolRoute(127.842, 1885.04, 18.027, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(108.673, 1886.18, 18.04, "NONE", "NONE")
Task.FollowPatrolRoute(116@, 4, RouteMode.Loop)
212@ = Blip.AddForChar(116@)
Blip.SetAlwaysDisplayOnZoomedRadar(212@, True)
Blip.ChangeDisplay(212@, BlipDisplay.BlipOnly)
Char.SetAccuracy(116@, 85)
Char.SetInformRespectedFriends(116@, 30.0, 1)
117@ = Char.Create(PedType.Mission1, 287, 173.671, 1886.841, 19.9)
Char.SetDecisionMaker(117@, 160@)
Char.GiveWeapon(117@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(117@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(174.25, 1866.51, 20.7, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(173.671, 1886.841, 20.9, "ROADCROSS", "PED")
Task.FollowPatrolRoute(117@, 4, RouteMode.Loop)
213@ = Blip.AddForChar(117@)
Blip.SetAlwaysDisplayOnZoomedRadar(213@, True)
Blip.ChangeDisplay(213@, BlipDisplay.BlipOnly)
Char.SetAccuracy(117@, 85)
Char.SetInformRespectedFriends(117@, 30.0, 1)
118@ = Char.Create(PedType.Mission1, 287, 249.99, 1874.78, 19.6)
Char.SetDecisionMaker(118@, 160@)
Char.GiveWeapon(118@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(118@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(250.99, 1906.56, 20.6, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(249.99, 1874.78, 20.6, "ROADCROSS", "PED")
Task.FollowPatrolRoute(118@, 4, RouteMode.Loop)
214@ = Blip.AddForChar(118@)
Blip.SetAlwaysDisplayOnZoomedRadar(214@, True)
Blip.ChangeDisplay(214@, BlipDisplay.BlipOnly)
Char.SetAccuracy(118@, 85)
Char.SetInformRespectedFriends(118@, 30.0, 1)
119@ = Char.Create(PedType.Mission1, 287, 224.26, 1916.79, 16.64)
Char.SetDecisionMaker(119@, 160@)
Char.GiveWeapon(119@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(119@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(204.475, 1915.9, 17.64, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(204.628, 1904.521, 17.64, "NONE", "NONE")
Path.ExtendPatrolRoute(221.645, 1905.13, 17.64, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(224.26, 1916.79, 17.64, "NONE", "NONE")
Task.FollowPatrolRoute(119@, 4, RouteMode.Loop)
215@ = Blip.AddForChar(119@)
Blip.SetAlwaysDisplayOnZoomedRadar(215@, True)
Blip.ChangeDisplay(215@, BlipDisplay.BlipOnly)
Char.SetAccuracy(119@, 85)
Char.SetInformRespectedFriends(119@, 30.0, 1)
120@ = Char.Create(PedType.Mission1, 287, 209.07, 1833.63, 16.64)
Char.SetHeading(120@, 346.579)
Char.SetDecisionMaker(120@, 160@)
Char.GiveWeapon(120@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(120@, 200.0)
216@ = Blip.AddForChar(120@)
Blip.SetAlwaysDisplayOnZoomedRadar(216@, True)
Blip.ChangeDisplay(216@, BlipDisplay.BlipOnly)
Char.SetAccuracy(120@, 85)
Char.SetInformRespectedFriends(120@, 30.0, 1)
121@ = Char.Create(PedType.Mission1, 287, 268.027, 1862.269, 17.64)
Char.SetDecisionMaker(121@, 160@)
Char.GiveWeapon(121@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(121@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(266.9, 1822.3, 17.64, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(268.027, 1862.269, 17.64, "ROADCROSS", "PED")
Task.FollowPatrolRoute(121@, 4, RouteMode.Loop)
217@ = Blip.AddForChar(121@)
Blip.SetAlwaysDisplayOnZoomedRadar(217@, True)
Blip.ChangeDisplay(217@, BlipDisplay.BlipOnly)
Char.SetAccuracy(121@, 85)
Char.SetInformRespectedFriends(121@, 30.0, 1)
122@ = Char.Create(PedType.Mission1, 287, 221.16, 1858.28, 20.63)
Char.SetDecisionMaker(122@, 160@)
Char.GiveWeapon(122@, WeaponType.M4, 9999)
Char.SetAccuracy(122@, 90)
Char.SetFollowNodeThresholdDistance(122@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(198.711, 1857.64, 19.633, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(221.16, 1858.28, 20.63, "ROADCROSS", "PED")
Task.FollowPatrolRoute(122@, 4, RouteMode.Loop)
218@ = Blip.AddForChar(122@)
Blip.SetAlwaysDisplayOnZoomedRadar(218@, True)
Blip.ChangeDisplay(218@, BlipDisplay.BlipOnly)
Char.SetAccuracy(122@, 90)
Char.SetInformRespectedFriends(122@, 30.0, 1)
123@ = Char.Create(PedType.Mission1, 287, 218.45, 1820.78, 16.64)
Char.SetDecisionMaker(123@, 160@)
Char.GiveWeapon(123@, WeaponType.M4, 9999)
Char.SetAccuracy(123@, 90)
Char.SetFollowNodeThresholdDistance(123@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(250.31, 1821.924, 17.64, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(218.45, 1820.78, 17.64, "NONE", "NONE")
Task.FollowPatrolRoute(123@, 4, RouteMode.Loop)
219@ = Blip.AddForChar(123@)
Blip.SetAlwaysDisplayOnZoomedRadar(219@, True)
Blip.ChangeDisplay(219@, BlipDisplay.BlipOnly)
Char.SetAccuracy(123@, 80)
Char.SetInformRespectedFriends(123@, 30.0, 1)
Camera.DoFade(100, Fade.Out)

:MAF4_6742
if 
  Camera.GetFadingStatus
goto_if_false @MAF4_6766
wait 0
goto @MAF4_6742

:MAF4_6766
Camera.SetFixedPosition(312.659, 1806.521, 26.272, 0.0, 0.0, 0.0)
Camera.PointAtPoint(311.7959, 1807.022, 26.2183, SwitchType.JumpCut)
Streaming.LoadSceneInDirection(312.659, 1806.521, 26.272, 60.2)
Camera.DoFade(100, Fade.In)
Text.PrintNow('DST8_1', 7000, 1)
Char.SetCoordinates($stattreadstamina_ctr, 69.91, 1916.007, 16.648)
Char.SetHeading($stattreadstamina_ctr, 273.363)
TIMERA = 0

:MAF4_6898
if 
  7000 > TIMERA
goto_if_false @MAF4_6928
wait 0
goto @MAF4_6898

:MAF4_6928
Text.PrintNow('DST8_18', 8000, 1)
Camera.SetFixedPosition(232.5476, 1911.022, 34.7955, 0.0, 0.0, 0.0)
Camera.PointAtPoint(231.9904, 1910.261, 34.4617, SwitchType.JumpCut)
TIMERA = 0

:MAF4_7002
if 
  4000 > TIMERA
goto_if_false @MAF4_7032
wait 0
goto @MAF4_7002

:MAF4_7032
Camera.SetFixedPosition(183.9385, 1801.77, 29.0751, 0.0, 0.0, 0.0)
Camera.PointAtPoint(184.8011, 1802.215, 28.8356, SwitchType.JumpCut)
TIMERA = 0

:MAF4_7090
if 
  4000 > TIMERA
goto_if_false @MAF4_7120
wait 0
goto @MAF4_7090

:MAF4_7120
Camera.SetFixedPosition(120.4534, 1943.522, 29.8174, 0.0, 0.0, 0.0)
Camera.PointAtPoint(120.5729, 1942.533, 29.7278, SwitchType.JumpCut)
Text.PrintNow('DST8_19', 4000, 1)
Text.Print('DST8_47', 4000, 1)
Text.Print('DST8_48', 4000, 1)
TIMERA = 0

:MAF4_7226
if 
  12000 > TIMERA
goto_if_false @MAF4_7256
wait 0
goto @MAF4_7226

:MAF4_7256
124@ = Char.Create(PedType.Mission3, 287, 103.9055, 1900.535, 24.4985)
Char.SetDecisionMaker(124@, 159@)
Char.SetHeading(124@, 6.0802)
Char.GiveWeapon(124@, WeaponType.M4, 9999)
Task.StayInSamePlace(124@, True)
Char.SetHealth(124@, 10)
220@ = Blip.AddForChar(124@)
Blip.SetAlwaysDisplayOnZoomedRadar(220@, True)
Blip.ChangeDisplay(220@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(124@, 162@)
125@ = Char.Create(PedType.Mission3, 287, 113.3839, 1814.261, 24.4985)
Char.SetDecisionMaker(125@, 159@)
Char.SetHeading(125@, 5.0273)
Char.GiveWeapon(125@, WeaponType.M4, 9999)
Task.StayInSamePlace(125@, True)
Char.SetHealth(125@, 10)
221@ = Blip.AddForChar(125@)
Blip.SetAlwaysDisplayOnZoomedRadar(221@, True)
Blip.ChangeDisplay(221@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(125@, 162@)
126@ = Char.Create(PedType.Mission3, 287, 165.6023, 1850.07, 24.4985)
Char.SetDecisionMaker(126@, 159@)
Char.SetHeading(126@, 5.0273)
Char.GiveWeapon(126@, WeaponType.M4, 9999)
Task.StayInSamePlace(126@, True)
Char.SetHealth(126@, 10)
222@ = Blip.AddForChar(126@)
Blip.SetAlwaysDisplayOnZoomedRadar(222@, True)
Blip.ChangeDisplay(222@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(126@, 162@)
127@ = Char.Create(PedType.Mission3, 287, 261.8728, 1807.938, 24.4985)
Char.SetDecisionMaker(127@, 159@)
Char.SetHeading(127@, 5.0273)
Char.GiveWeapon(127@, WeaponType.M4, 9999)
Task.StayInSamePlace(127@, True)
Char.SetHealth(127@, 10)
223@ = Blip.AddForChar(127@)
Blip.SetAlwaysDisplayOnZoomedRadar(223@, True)
Blip.ChangeDisplay(223@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(127@, 162@)
128@ = Char.Create(PedType.Mission3, 287, 267.1389, 1895.485, 24.4985)
Char.SetDecisionMaker(128@, 159@)
Char.SetHeading(128@, 119.7683)
Char.GiveWeapon(128@, WeaponType.M4, 9999)
Task.StayInSamePlace(128@, True)
Char.SetHealth(128@, 10)
224@ = Blip.AddForChar(128@)
Blip.SetAlwaysDisplayOnZoomedRadar(224@, True)
Blip.ChangeDisplay(224@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(128@, 162@)
129@ = Char.Create(PedType.Mission3, 287, 161.9575, 1933.342, 24.4985)
Char.SetDecisionMaker(129@, 159@)
Char.SetHeading(129@, 119.7683)
Char.GiveWeapon(129@, WeaponType.M4, 9999)
Task.StayInSamePlace(129@, True)
Char.SetHealth(129@, 10)
225@ = Blip.AddForChar(129@)
Blip.SetAlwaysDisplayOnZoomedRadar(225@, True)
Blip.ChangeDisplay(225@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(129@, 162@)
130@ = Char.Create(PedType.Mission3, 287, 233.6724, 1934.623, 24.4985)
Char.SetDecisionMaker(130@, 159@)
Char.SetHeading(130@, 119.7683)
Char.GiveWeapon(130@, WeaponType.M4, 9999)
Task.StayInSamePlace(130@, True)
Char.SetHealth(130@, 10)
226@ = Blip.AddForChar(130@)
Blip.SetAlwaysDisplayOnZoomedRadar(226@, True)
Blip.ChangeDisplay(226@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(130@, 162@)
Camera.SetFixedPosition(113.0058, 1934.089, 18.245, 0.0, 0.0, 0.0)
Camera.PointAtPoint(113.0995, 1933.112, 18.4334, SwitchType.JumpCut)
Text.PrintNow('DST8_21', 5000, 1)
TIMERA = 0

:MAF4_8009
if 
  5000 > TIMERA
goto_if_false @MAF4_8039
wait 0
goto @MAF4_8009

:MAF4_8039
Camera.SetFixedPosition(112.0028, 1893.846, 19.5192, 0.0, 0.0, 0.0)
Camera.PointAtPoint(111.2033, 1894.447, 19.5192, SwitchType.JumpCut)
Camera.ResetNewScriptables
Camera.PersistPos(True)
Camera.SetVectorMove(112.0028, 1893.846, 19.5192, 112.0028, 1893.846, 35.5192, 6000, True)
Text.PrintNow('DST8_22', 6500, 1)
TIMERA = 0

:MAF4_8156
if 
  6500 > TIMERA
goto_if_false @MAF4_8186
wait 0
goto @MAF4_8156

:MAF4_8186
177@ = 1
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Knife, 1)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.PistolSilenced, 70)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Infrared, 1)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Sniper, 35)
176@ = 1

:MAF4_8236
skip_cutscene_end 
if 
  176@ == 0
goto_if_false @MAF4_13283
Camera.DoFade(250, Fade.Out)
Text.ClearPrints

:MAF4_8265
if 
  Camera.GetFadingStatus
goto_if_false @MAF4_8289
wait 0
goto @MAF4_8265

:MAF4_8289
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_8326
if 
  Car.IsPlaybackGoingOn(107@)
goto_if_false @MAF4_8326
Car.StopPlayback(107@)

:MAF4_8326
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MAF4_8372
Char.WarpFromCarToCoord($stattreadstamina_ctr, 69.91, 1916.007, 16.648)
Char.SetHeading($stattreadstamina_ctr, 273.363)

:MAF4_8372
Char.SetCoordinates($stattreadstamina_ctr, 69.91, 1916.007, 16.648)
Char.SetHeading($stattreadstamina_ctr, 273.363)
Char.Delete(106@)
Car.Delete(107@)
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(483)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.ClearPrints
if 
  177@ == 0
goto_if_false @MAF4_8492
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Knife, 1)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.PistolSilenced, 70)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Infrared, 1)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Sniper, 35)

:MAF4_8492
if 
  178@ == 0
goto_if_false @MAF4_9840
35@ = Searchlight.Create(161.513, 1932.982, 35.391, 49@, 56@, 63@, 12.5, 0.5)
42@ = Object.CreateNoOffset(#A51_SPOTBULB, 103.946, 1901.047, 36.246)
92@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 103.946, 1901.047, 36.246)
93@ = Object.CreateNoOffset(#A51_SPOTBASE, 103.946, 1901.047, 36.246)
Searchlight.AttachToObject(35@, 93@, 92@, 42@, 0.0, 1.181, 0.768)
Object.SetHealth(42@, 5000)
Object.SetOnlyDamagedByPlayer(42@, True)
136@ = Particle.CreateOnObject("SHOOTLIGHT", 42@, 0.0, 1.181, 0.768, 1)
36@ = Searchlight.Create(233.067, 1934.892, 33.139, 50@, 57@, 64@, 10.5, 0.5)
43@ = Object.CreateNoOffset(#A51_SPOTBULB, 161.962, 1933.043, 36.246)
94@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 161.962, 1933.043, 36.246)
95@ = Object.CreateNoOffset(#A51_SPOTBASE, 161.962, 1933.043, 36.246)
Searchlight.AttachToObject(36@, 95@, 94@, 43@, 0.0, 1.181, 0.768)
Object.SetHealth(43@, 5000)
Object.SetOnlyDamagedByPlayer(43@, True)
137@ = Particle.CreateOnObject("SHOOTLIGHT", 43@, 0.0, 1.181, 0.768, 1)
37@ = Searchlight.Create(266.713, 1894.979, 34.139, 51@, 58@, 65@, 10.5, 0.5)
44@ = Object.CreateNoOffset(#A51_SPOTBULB, 233.486, 1934.789, 36.246)
96@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 233.486, 1934.789, 36.246)
97@ = Object.CreateNoOffset(#A51_SPOTBASE, 233.486, 1934.789, 36.246)
Searchlight.AttachToObject(37@, 97@, 96@, 44@, 0.0, 1.181, 0.768)
Object.SetHealth(44@, 5000)
Object.SetOnlyDamagedByPlayer(44@, True)
138@ = Particle.CreateOnObject("SHOOTLIGHT", 44@, 0.0, 1.181, 0.768, 1)
38@ = Searchlight.Create(261.97, 1808.07, 34.05, 52@, 59@, 66@, 10.5, 0.5)
45@ = Object.CreateNoOffset(#A51_SPOTBULB, 267.116, 1895.241, 36.246)
98@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 267.116, 1895.241, 36.246)
99@ = Object.CreateNoOffset(#A51_SPOTBASE, 267.116, 1895.241, 36.246)
Searchlight.AttachToObject(38@, 99@, 98@, 45@, 0.0, 1.181, 0.768)
Object.SetHealth(45@, 5000)
Object.SetOnlyDamagedByPlayer(45@, True)
139@ = Particle.CreateOnObject("SHOOTLIGHT", 45@, 0.0, 1.181, 0.768, 1)
39@ = Searchlight.Create(164.228, 1837.892, 34.05, 53@, 60@, 67@, 10.5, 0.5)
46@ = Object.CreateNoOffset(#A51_SPOTBULB, 262.145, 1807.62, 36.246)
100@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 262.145, 1807.62, 36.246)
101@ = Object.CreateNoOffset(#A51_SPOTBASE, 262.145, 1807.62, 36.246)
Searchlight.AttachToObject(39@, 101@, 100@, 46@, 0.0, 1.181, 0.768)
Object.SetHealth(46@, 5000)
Object.SetOnlyDamagedByPlayer(46@, True)
140@ = Particle.CreateOnObject("SHOOTLIGHT", 46@, 0.0, 1.181, 0.768, 1)
40@ = Searchlight.Create(103.887, 1901.057, 35.723, 54@, 61@, 68@, 10.5, 0.5)
47@ = Object.CreateNoOffset(#A51_SPOTBULB, 166.003, 1849.937, 36.246)
102@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 166.003, 1849.937, 36.246)
103@ = Object.CreateNoOffset(#A51_SPOTBASE, 166.003, 1849.937, 36.246)
Searchlight.AttachToObject(40@, 103@, 102@, 47@, 0.0, 1.181, 0.768)
Object.SetHealth(47@, 5000)
Object.SetOnlyDamagedByPlayer(47@, True)
141@ = Particle.CreateOnObject("SHOOTLIGHT", 47@, 0.0, 1.181, 0.768, 1)
41@ = Searchlight.Create(261.97, 1808.07, 36.05, 55@, 62@, 69@, 10.5, 0.5)
48@ = Object.CreateNoOffset(#A51_SPOTBULB, 113.439, 1814.405, 36.246)
104@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 113.439, 1814.405, 36.246)
105@ = Object.CreateNoOffset(#A51_SPOTBASE, 113.439, 1814.405, 36.246)
Searchlight.AttachToObject(41@, 105@, 104@, 48@, 0.0, 1.181, 0.768)
Object.SetHealth(48@, 5000)
Object.SetOnlyDamagedByPlayer(48@, True)
142@ = Particle.CreateOnObject("SHOOTLIGHT", 48@, 0.0, 1.181, 0.768, 1)
gosub @MAF4_29632

:MAF4_9840
165@ = 0

:MAF4_9847
if 
  22 > 165@
goto_if_false @MAF4_9897
Char.Delete(109@(165@,22i))
Blip.Remove(205@(165@,22i))
165@ += 1
goto @MAF4_9847

:MAF4_9897
109@ = Char.Create(PedType.Mission1, 287, 112.39, 1931.193, 17.77)
Char.SetDecisionMaker(109@, 160@)
Char.GiveWeapon(109@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(109@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(114.51, 1914.793, 18.8, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(112.39, 1931.193, 18.77, "ROADCROSS", "PED")
Task.FollowPatrolRoute(109@, 4, RouteMode.Loop)
205@ = Blip.AddForChar(109@)
Blip.SetAlwaysDisplayOnZoomedRadar(205@, True)
Blip.ChangeDisplay(205@, BlipDisplay.BlipOnly)
Char.SetInformRespectedFriends(109@, 20.0, 1)
110@ = Char.Create(PedType.Mission1, 287, 125.135, 1916.59, 17.9)
Char.SetDecisionMaker(110@, 160@)
Char.GiveWeapon(110@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(110@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(124.716, 1890.25, 18.33, "NONE", "NONE")
Path.ExtendPatrolRoute(159.0, 1887.9, 19.5, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(161.32, 1914.42, 18.6, "NONE", "NONE")
Path.ExtendPatrolRoute(125.135, 1916.59, 18.9, "ROADCROSS", "PED")
Task.FollowPatrolRoute(110@, 4, RouteMode.Loop)
206@ = Blip.AddForChar(110@)
Blip.SetAlwaysDisplayOnZoomedRadar(206@, True)
Blip.ChangeDisplay(206@, BlipDisplay.BlipOnly)
Char.SetAccuracy(110@, 80)
Char.SetInformRespectedFriends(110@, 30.0, 1)
111@ = Char.Create(PedType.Mission1, 287, 131.37, 1821.139, 16.6)
Char.SetDecisionMaker(111@, 160@)
Char.GiveWeapon(111@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(111@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(130.62, 1855.297, 17.73, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(102.09, 1858.6, 17.7, "NONE", "NONE")
Path.ExtendPatrolRoute(102.94, 1839.78, 17.6, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(131.37, 1821.139, 17.6, "NONE", "NONE")
Task.FollowPatrolRoute(111@, 4, RouteMode.Loop)
207@ = Blip.AddForChar(111@)
Blip.SetAlwaysDisplayOnZoomedRadar(207@, True)
Blip.ChangeDisplay(207@, BlipDisplay.BlipOnly)
Char.SetAccuracy(111@, 80)
Char.SetInformRespectedFriends(111@, 30.0, 1)
112@ = Char.Create(PedType.Mission1, 287, 163.458, 1824.58, 17.64)
Char.SetHeading(112@, 180.123)
Char.SetDecisionMaker(112@, 160@)
Char.GiveWeapon(112@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(112@, 200.0)
208@ = Blip.AddForChar(112@)
Blip.SetAlwaysDisplayOnZoomedRadar(208@, True)
Blip.ChangeDisplay(208@, BlipDisplay.BlipOnly)
Char.SetAccuracy(112@, 85)
Char.SetInformRespectedFriends(112@, 30.0, 1)
113@ = Char.Create(PedType.Mission1, 287, 189.91, 1916.399, 16.64)
Char.SetDecisionMaker(113@, 160@)
Char.GiveWeapon(113@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(113@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(168.0187, 1916.279, 18.37, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(189.91, 1916.399, 17.64, "ROADCROSS", "PED")
Task.FollowPatrolRoute(113@, 4, RouteMode.Loop)
209@ = Blip.AddForChar(113@)
Blip.SetAlwaysDisplayOnZoomedRadar(209@, True)
Blip.ChangeDisplay(209@, BlipDisplay.BlipOnly)
Char.SetAccuracy(113@, 85)
Char.SetInformRespectedFriends(113@, 30.0, 1)
114@ = Char.Create(PedType.Mission1, 287, 191.535, 1809.588, 16.641)
Char.SetDecisionMaker(114@, 160@)
Char.GiveWeapon(114@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(114@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(131.24, 1811.194, 17.6, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(191.535, 1809.588, 17.641, "ROADCROSS", "PED")
Task.FollowPatrolRoute(114@, 4, RouteMode.Loop)
210@ = Blip.AddForChar(114@)
Blip.SetAlwaysDisplayOnZoomedRadar(210@, True)
Blip.ChangeDisplay(210@, BlipDisplay.BlipOnly)
Char.SetAccuracy(114@, 85)
Char.SetInformRespectedFriends(114@, 30.0, 1)
115@ = Char.Create(PedType.Mission1, 287, 195.36, 1872.92, 16.64)
Char.SetDecisionMaker(115@, 160@)
Char.GiveWeapon(115@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(115@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(231.095, 1872.9, 17.64, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(195.36, 1872.92, 17.64, "ROADCROSS", "PED")
Task.FollowPatrolRoute(115@, 4, RouteMode.Loop)
211@ = Blip.AddForChar(115@)
Blip.SetAlwaysDisplayOnZoomedRadar(211@, True)
Blip.ChangeDisplay(211@, BlipDisplay.BlipOnly)
Char.SetAccuracy(115@, 85)
Char.SetInformRespectedFriends(115@, 20.0, 1)
116@ = Char.Create(PedType.Mission1, 287, 108.673, 1886.18, 17.04)
Char.SetDecisionMaker(116@, 160@)
Char.GiveWeapon(116@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(116@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(107.065, 1865.8, 17.78, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(126.78, 1864.25, 17.8, "NONE", "NONE")
Path.ExtendPatrolRoute(127.842, 1885.04, 18.027, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(108.673, 1886.18, 18.04, "NONE", "NONE")
Task.FollowPatrolRoute(116@, 4, RouteMode.Loop)
212@ = Blip.AddForChar(116@)
Blip.SetAlwaysDisplayOnZoomedRadar(212@, True)
Blip.ChangeDisplay(212@, BlipDisplay.BlipOnly)
Char.SetAccuracy(116@, 85)
Char.SetInformRespectedFriends(116@, 30.0, 1)
117@ = Char.Create(PedType.Mission1, 287, 173.671, 1886.841, 19.9)
Char.SetDecisionMaker(117@, 160@)
Char.GiveWeapon(117@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(117@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(174.25, 1866.51, 20.7, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(173.671, 1886.841, 20.9, "ROADCROSS", "PED")
Task.FollowPatrolRoute(117@, 4, RouteMode.Loop)
213@ = Blip.AddForChar(117@)
Blip.SetAlwaysDisplayOnZoomedRadar(213@, True)
Blip.ChangeDisplay(213@, BlipDisplay.BlipOnly)
Char.SetAccuracy(117@, 85)
Char.SetInformRespectedFriends(117@, 30.0, 1)
118@ = Char.Create(PedType.Mission1, 287, 249.99, 1874.78, 19.6)
Char.SetDecisionMaker(118@, 160@)
Char.GiveWeapon(118@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(118@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(250.99, 1906.56, 20.6, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(249.99, 1874.78, 20.6, "ROADCROSS", "PED")
Task.FollowPatrolRoute(118@, 4, RouteMode.Loop)
214@ = Blip.AddForChar(118@)
Blip.SetAlwaysDisplayOnZoomedRadar(214@, True)
Blip.ChangeDisplay(214@, BlipDisplay.BlipOnly)
Char.SetAccuracy(118@, 85)
Char.SetInformRespectedFriends(118@, 30.0, 1)
119@ = Char.Create(PedType.Mission1, 287, 224.26, 1916.79, 16.64)
Char.SetDecisionMaker(119@, 160@)
Char.GiveWeapon(119@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(119@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(204.475, 1915.9, 17.64, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(204.628, 1904.521, 17.64, "NONE", "NONE")
Path.ExtendPatrolRoute(221.645, 1905.13, 17.64, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(224.26, 1916.79, 17.64, "NONE", "NONE")
Task.FollowPatrolRoute(119@, 4, RouteMode.Loop)
215@ = Blip.AddForChar(119@)
Blip.SetAlwaysDisplayOnZoomedRadar(215@, True)
Blip.ChangeDisplay(215@, BlipDisplay.BlipOnly)
Char.SetAccuracy(119@, 85)
Char.SetInformRespectedFriends(119@, 30.0, 1)
120@ = Char.Create(PedType.Mission1, 287, 209.07, 1833.63, 16.64)
Char.SetHeading(120@, 346.579)
Char.SetDecisionMaker(120@, 160@)
Char.GiveWeapon(120@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(120@, 200.0)
216@ = Blip.AddForChar(120@)
Blip.SetAlwaysDisplayOnZoomedRadar(216@, True)
Blip.ChangeDisplay(216@, BlipDisplay.BlipOnly)
Char.SetAccuracy(120@, 85)
Char.SetInformRespectedFriends(120@, 30.0, 1)
121@ = Char.Create(PedType.Mission1, 287, 268.027, 1862.269, 17.64)
Char.SetDecisionMaker(121@, 160@)
Char.GiveWeapon(121@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(121@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(266.9, 1822.3, 17.64, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(268.027, 1862.269, 17.64, "ROADCROSS", "PED")
Task.FollowPatrolRoute(121@, 4, RouteMode.Loop)
217@ = Blip.AddForChar(121@)
Blip.SetAlwaysDisplayOnZoomedRadar(217@, True)
Blip.ChangeDisplay(217@, BlipDisplay.BlipOnly)
Char.SetAccuracy(121@, 85)
Char.SetInformRespectedFriends(121@, 30.0, 1)
122@ = Char.Create(PedType.Mission1, 287, 221.16, 1858.28, 20.63)
Char.SetDecisionMaker(122@, 160@)
Char.GiveWeapon(122@, WeaponType.M4, 9999)
Char.SetAccuracy(122@, 90)
Char.SetFollowNodeThresholdDistance(122@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(198.711, 1857.64, 19.633, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(221.16, 1858.28, 20.63, "ROADCROSS", "PED")
Task.FollowPatrolRoute(122@, 4, RouteMode.Loop)
218@ = Blip.AddForChar(122@)
Blip.SetAlwaysDisplayOnZoomedRadar(218@, True)
Blip.ChangeDisplay(218@, BlipDisplay.BlipOnly)
Char.SetAccuracy(122@, 90)
Char.SetInformRespectedFriends(122@, 30.0, 1)
123@ = Char.Create(PedType.Mission1, 287, 218.45, 1820.78, 16.64)
Char.SetDecisionMaker(123@, 160@)
Char.GiveWeapon(123@, WeaponType.M4, 9999)
Char.SetAccuracy(123@, 90)
Char.SetFollowNodeThresholdDistance(123@, 200.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(250.31, 1821.924, 17.64, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(218.45, 1820.78, 17.64, "NONE", "NONE")
Task.FollowPatrolRoute(123@, 4, RouteMode.Loop)
219@ = Blip.AddForChar(123@)
Blip.SetAlwaysDisplayOnZoomedRadar(219@, True)
Blip.ChangeDisplay(219@, BlipDisplay.BlipOnly)
Char.SetAccuracy(123@, 80)
Char.SetInformRespectedFriends(123@, 30.0, 1)
124@ = Char.Create(PedType.Mission3, 287, 103.9055, 1900.535, 24.4985)
Char.SetDecisionMaker(124@, 159@)
Char.SetHeading(124@, 6.0802)
Char.GiveWeapon(124@, WeaponType.M4, 9999)
Task.StayInSamePlace(124@, True)
Char.SetHealth(124@, 10)
220@ = Blip.AddForChar(124@)
Blip.SetAlwaysDisplayOnZoomedRadar(220@, True)
Blip.ChangeDisplay(220@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(124@, 162@)
125@ = Char.Create(PedType.Mission3, 287, 113.3839, 1814.261, 24.4985)
Char.SetDecisionMaker(125@, 159@)
Char.SetHeading(125@, 5.0273)
Char.GiveWeapon(125@, WeaponType.M4, 9999)
Task.StayInSamePlace(125@, True)
Char.SetHealth(125@, 10)
221@ = Blip.AddForChar(125@)
Blip.SetAlwaysDisplayOnZoomedRadar(221@, True)
Blip.ChangeDisplay(221@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(125@, 162@)
126@ = Char.Create(PedType.Mission3, 287, 165.6023, 1850.07, 24.4985)
Char.SetDecisionMaker(126@, 159@)
Char.SetHeading(126@, 5.0273)
Char.GiveWeapon(126@, WeaponType.M4, 9999)
Task.StayInSamePlace(126@, True)
Char.SetHealth(126@, 10)
222@ = Blip.AddForChar(126@)
Blip.SetAlwaysDisplayOnZoomedRadar(222@, True)
Blip.ChangeDisplay(222@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(126@, 162@)
127@ = Char.Create(PedType.Mission3, 287, 261.8728, 1807.938, 24.4985)
Char.SetDecisionMaker(127@, 159@)
Char.SetHeading(127@, 5.0273)
Char.GiveWeapon(127@, WeaponType.M4, 9999)
Task.StayInSamePlace(127@, True)
Char.SetHealth(127@, 10)
223@ = Blip.AddForChar(127@)
Blip.SetAlwaysDisplayOnZoomedRadar(223@, True)
Blip.ChangeDisplay(223@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(127@, 162@)
128@ = Char.Create(PedType.Mission3, 287, 267.1389, 1895.485, 24.4985)
Char.SetDecisionMaker(128@, 159@)
Char.SetHeading(128@, 119.7683)
Char.GiveWeapon(128@, WeaponType.M4, 9999)
Task.StayInSamePlace(128@, True)
Char.SetHealth(128@, 10)
224@ = Blip.AddForChar(128@)
Blip.SetAlwaysDisplayOnZoomedRadar(224@, True)
Blip.ChangeDisplay(224@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(128@, 162@)
129@ = Char.Create(PedType.Mission3, 287, 161.9575, 1933.342, 24.4985)
Char.SetDecisionMaker(129@, 159@)
Char.SetHeading(129@, 119.7683)
Char.GiveWeapon(129@, WeaponType.M4, 9999)
Task.StayInSamePlace(129@, True)
Char.SetHealth(129@, 10)
225@ = Blip.AddForChar(129@)
Blip.SetAlwaysDisplayOnZoomedRadar(225@, True)
Blip.ChangeDisplay(225@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(129@, 162@)
130@ = Char.Create(PedType.Mission3, 287, 233.6724, 1934.623, 24.4985)
Char.SetDecisionMaker(130@, 159@)
Char.SetHeading(130@, 119.7683)
Char.GiveWeapon(130@, WeaponType.M4, 9999)
Task.StayInSamePlace(130@, True)
Char.SetHealth(130@, 10)
226@ = Blip.AddForChar(130@)
Blip.SetAlwaysDisplayOnZoomedRadar(226@, True)
Blip.ChangeDisplay(226@, BlipDisplay.BlipOnly)
Char.SetDecisionMaker(130@, 162@)
Streaming.LoadSceneInDirection(69.91, 1916.007, 16.648, 273.4)
Camera.DoFade(250, Fade.In)

:MAF4_13283
Char.ClearTasksImmediately($stattreadstamina_ctr)
Clock.SetTimeOfDay(21, 30)
Text.ClearPrints
Camera.ResetNewScriptables
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.ClearPrints
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_13352
if 
  Car.IsPlaybackGoingOn(107@)
goto_if_false @MAF4_13352
Car.StopPlayback(107@)

:MAF4_13352
Char.Delete(106@)
Car.Delete(107@)
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(483)
227@ = Blip.AddForCoord(211.604, 1811.091, 20.8)
Text.PrintNow('DST8_38', 5000, 1)
Text.Print('DST8_7', 5000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 13600)
164@ = 5

:MAF4_13441
if 
  164@ == 5
goto_if_false @MAF4_19124
if 
  192@ == 0
goto_if_false @MAF4_13513
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Infrared)
goto_if_false @MAF4_13513
Text.PrintHelp('DST8_37')
192@ = 1

:MAF4_13513
if 
  195@ == 0
goto_if_false @MAF4_13706
134@, 135@ = Clock.GetTimeOfDay()
if 
  134@ == 5
goto_if_false @MAF4_13706
if 
  135@ > 29
goto_if_false @MAF4_13706
Camera.DoFade(500, Fade.Out)
193@ = 1

:MAF4_13589
if 
  Camera.GetFadingStatus
goto_if_false @MAF4_13613
wait 0
goto @MAF4_13589

:MAF4_13613
Char.SetCoordinates($stattreadstamina_ctr, 296.348, 2474.277, 15.477)
Char.SetHeading($stattreadstamina_ctr, 359.722)
Camera.SetBehindPlayer
Camera.DoFade(500, Fade.In)
Text.PrintNow('DST8_41', 5000, 1)

:MAF4_13668
if 
  Camera.GetFadingStatus
goto_if_false @MAF4_13692
wait 0
goto @MAF4_13668

:MAF4_13692
goto @MAF4_29865
195@ = 1

:MAF4_13706
if 
  193@ == 0
goto_if_false @MAF4_14035
if 
  194@ == 0
goto_if_false @MAF4_13803
if 
  not Char.IsInArea2D($stattreadstamina_ctr, 52.5, 1952.11, 295.92, 1775.93, False)
goto_if_false @MAF4_13803
Text.PrintNow('DST8_39', 5000, 1)
194@ = 1

:MAF4_13803
if 
  194@ == 1
goto_if_false @MAF4_14035
if 
  Char.IsInArea2D($stattreadstamina_ctr, 52.5, 1952.11, 295.92, 1775.93, False)
goto_if_false @MAF4_13873
194@ = 0
goto @MAF4_14035

:MAF4_13873
if 
  not Char.IsInArea2D($stattreadstamina_ctr, 36.9, 1961.82, 319.56, 1760.29, False)
goto_if_false @MAF4_14035
Camera.DoFade(500, Fade.Out)

:MAF4_13918
if 
  Camera.GetFadingStatus
goto_if_false @MAF4_13942
wait 0
goto @MAF4_13918

:MAF4_13942
Char.SetCoordinates($stattreadstamina_ctr, 296.348, 2474.277, 15.477)
Char.SetHeading($stattreadstamina_ctr, 359.722)
Camera.SetBehindPlayer
Camera.DoFade(500, Fade.In)
Text.PrintNow('DST8_40', 5000, 1)

:MAF4_13997
if 
  Camera.GetFadingStatus
goto_if_false @MAF4_14021
wait 0
goto @MAF4_13997

:MAF4_14021
goto @MAF4_29865
194@ = 2

:MAF4_14035
if 
  3 > 175@
goto_if_false @MAF4_14878
if 
  2 > 175@
goto_if_false @MAF4_14871
if 
  182@ == 0
goto_if_false @MAF4_14144
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 211.604, 1811.091, 20.8, 3.0, 3.0, 3.0, True)
goto_if_false @MAF4_14144
182@ = 1

:MAF4_14144
if 
  182@ == 1
goto_if_false @MAF4_14871
if 
  179@ == 0
goto_if_false @MAF4_14255
Blip.Remove(227@)
227@ = Blip.AddForCoord(214.0, 1872.0, 12.14)
Text.PrintNow('DST8_8', 5000, 1)
TIMERB = 0
Audio.ReportMissionAudioEventAtPosition(213.85, 1874.68, 14.12, 1007)
179@ = 1

:MAF4_14255
if 
  179@ == 1
goto_if_false @MAF4_14419
if 
  180@ == 0
goto_if_false @MAF4_14346
if 
  Object.Slide($init_portakabin, 219.941, 1874.571, 13.903, 0.1, 0.0, 0.0, False)
goto_if_false @MAF4_14346
180@ = 1

:MAF4_14346
if 
  181@ == 0
goto_if_false @MAF4_14419
if 
  Object.Slide($2672, 207.842, 1874.571, 13.903, 0.1, 0.0, 0.0, False)
goto_if_false @MAF4_14419
181@ = 1

:MAF4_14419
if 
  179@ == 1
goto_if_false @MAF4_14500
if 
  180@ == 1
goto_if_false @MAF4_14500
if 
  181@ == 1
goto_if_false @MAF4_14500
Audio.ReportMissionAudioEventAtPosition(213.85, 1874.68, 14.12, 1008)
179@ = 2

:MAF4_14500
if 
  179@ == 2
goto_if_false @MAF4_14564
if 
  TIMERB > 30000
goto_if_false @MAF4_14564
Audio.ReportMissionAudioEventAtPosition(213.85, 1874.68, 14.12, 1007)
179@ = 3

:MAF4_14564
if 
  179@ == 3
goto_if_false @MAF4_14728
if 
  180@ == 1
goto_if_false @MAF4_14655
if 
  Object.Slide($init_portakabin, 215.941, 1874.571, 13.903, 0.1, 0.0, 0.0, False)
goto_if_false @MAF4_14655
180@ = 0

:MAF4_14655
if 
  181@ == 1
goto_if_false @MAF4_14728
if 
  Object.Slide($2672, 211.842, 1874.571, 13.903, 0.1, 0.0, 0.0, False)
goto_if_false @MAF4_14728
181@ = 0

:MAF4_14728
if 
  179@ == 3
goto_if_false @MAF4_14871
if 
  180@ == 0
goto_if_false @MAF4_14871
if 
  181@ == 0
goto_if_false @MAF4_14871
Audio.ReportMissionAudioEventAtPosition(213.85, 1874.68, 14.12, 1008)
Blip.Remove(227@)
227@ = Blip.AddForCoord(211.604, 1811.091, 20.8)
Text.PrintNow('DST8_9', 5000, 1)
179@ = 0
180@ = 0
180@ = 0
182@ = 0

:MAF4_14871
goto @MAF4_15024

:MAF4_14878
if 
  180@ == 5
goto_if_false @MAF4_14951
if 
  Object.Slide($init_portakabin, 215.941, 1874.571, 13.903, 0.1, 0.0, 0.0, False)
goto_if_false @MAF4_14951
180@ = 6

:MAF4_14951
if 
  181@ == 5
goto_if_false @MAF4_15024
if 
  Object.Slide($2672, 211.842, 1874.571, 13.903, 0.1, 0.0, 0.0, False)
goto_if_false @MAF4_15024
181@ = 6

:MAF4_15024
if 
  191@ == 0
goto_if_false @MAF4_15167
if 
  Char.IsInArea3D($stattreadstamina_ctr, 254.37, 1850.1, 21.7, 207.08, 1873.36, 10.0, False)
goto_if_false @MAF4_15167
165@ = 0

:MAF4_15097
if 
  7 > 165@
goto_if_false @MAF4_15160
if 
  Searchlight.DoesExist(35@(165@,7i))
goto_if_false @MAF4_15146
Searchlight.SwitchOnGround(35@(165@,7i), False)

:MAF4_15146
165@ += 1
goto @MAF4_15097

:MAF4_15160
191@ = 1

:MAF4_15167
if 
  191@ == 1
goto_if_false @MAF4_15310
if 
  not Char.IsInArea3D($stattreadstamina_ctr, 254.37, 1850.1, 21.7, 207.08, 1873.36, 10.0, False)
goto_if_false @MAF4_15310
165@ = 0

:MAF4_15240
if 
  7 > 165@
goto_if_false @MAF4_15303
if 
  Searchlight.DoesExist(35@(165@,7i))
goto_if_false @MAF4_15289
Searchlight.SwitchOnGround(35@(165@,7i), True)

:MAF4_15289
165@ += 1
goto @MAF4_15240

:MAF4_15303
191@ = 0

:MAF4_15310
165@ = 0

:MAF4_15317
if 
  7 > 165@
goto_if_false @MAF4_15478
if 
  167@(165@,7i) == 0
goto_if_false @MAF4_15464
if 
  Object.DoesExist(42@(165@,7i))
goto_if_false @MAF4_15464
91@ = Object.GetHealth(42@(165@,7i))
if 
  5000 > 91@
goto_if_false @MAF4_15464
if 
  Searchlight.DoesExist(35@(165@,7i))
goto_if_false @MAF4_15464
Searchlight.Delete(35@(165@,7i))
Particle.PlayAndKill(136@(165@,7i))
174@ += 1
167@(165@,7i) = 1

:MAF4_15464
165@ += 1
goto @MAF4_15317

:MAF4_15478
if 
  175@ == 0
goto_if_false @MAF4_15620
165@ = 0

:MAF4_15503
if and
  7 > 165@
  175@ == 0
goto_if_false @MAF4_15620
if 
  Searchlight.DoesExist(35@(165@,7i))
goto_if_false @MAF4_15606
if 
  Searchlight.IsCharIn(35@(165@,7i), $stattreadstamina_ctr)
goto_if_false @MAF4_15606
198@ = 1
199@ = 0
gosub @MAF4_29749
TIMERA = 0
175@ = 1

:MAF4_15606
165@ += 1
goto @MAF4_15503

:MAF4_15620
if 
  175@ == 1
goto_if_false @MAF4_15792
if 
  TIMERA > 10000
goto_if_false @MAF4_15792
165@ = 0
175@ = 0

:MAF4_15671
if 
  7 > 165@
goto_if_false @MAF4_15753
if 
  Searchlight.DoesExist(35@(165@,7i))
goto_if_false @MAF4_15739
if 
  Searchlight.IsCharIn(35@(165@,7i), $stattreadstamina_ctr)
goto_if_false @MAF4_15739
175@ = 2

:MAF4_15739
165@ += 1
goto @MAF4_15671

:MAF4_15753
if 
  175@ == 0
goto_if_false @MAF4_15792
198@ = 2
201@ = 0
gosub @MAF4_29632

:MAF4_15792
if and
  174@ > 2
  2 > 175@
goto_if_false @MAF4_15824
175@ = 2

:MAF4_15824
if 
  175@ == 2
goto_if_false @MAF4_15987
Blip.Remove(227@)
198@ = 3
196@ = 0
227@ = Blip.AddForCoord(246.0, 1862.64, 19.89)
165@ = 15

:MAF4_15888
if 
  22 > 165@
goto_if_false @MAF4_15959
if 
  not Char.IsDead(109@(165@,22i))
goto_if_false @MAF4_15945
set_lvar_int_to_lvar_int 153@ = 109@(165@,22i)
gosub @MAF4_29827

:MAF4_15945
165@ += 1
goto @MAF4_15888

:MAF4_15959
gosub @MAF4_29749
180@ = 5
181@ = 5
175@ = 3

:MAF4_15987
165@ = 0

:MAF4_15994
if 
  22 > 165@
goto_if_false @MAF4_16084
if 
  Char.IsDead(109@(165@,22i))
goto_if_false @MAF4_16070
if 
  Blip.DoesExist(205@(165@,22i))
goto_if_false @MAF4_16070
Blip.Remove(205@(165@,22i))
Char.MarkAsNoLongerNeeded(109@(165@,22i))

:MAF4_16070
165@ += 1
goto @MAF4_15994

:MAF4_16084
if 
  175@ == 3
goto_if_false @MAF4_16183
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 246.0, 1862.64, 5.0, 5.0, False)
goto_if_false @MAF4_16183
Text.PrintHelp('DST8_10')
Blip.Remove(227@)
227@ = Blip.AddForCoord(224.99, 1859.18, 12.31)
175@ = 4

:MAF4_16183
gosub @MAF4_29484
if 
  198@ == 1
goto_if_false @MAF4_16399
if 
  199@ == 0
goto_if_false @MAF4_16399
if 
  197@ == 0
goto_if_false @MAF4_16399
if 
  200@ > 1
goto_if_false @MAF4_16291
set_lvar_int_to_constant 156@ = 13604
set_lvar_text_label 157@s = 'DES8_BD'
gosub @MAF4_29442

:MAF4_16291
if 
  200@ == 1
goto_if_false @MAF4_16345
set_lvar_int_to_constant 156@ = 13602
set_lvar_text_label 157@s = 'DES8_BB'
gosub @MAF4_29442
200@ += 1

:MAF4_16345
if 
  200@ == 0
goto_if_false @MAF4_16399
set_lvar_int_to_constant 156@ = 13601
set_lvar_text_label 157@s = 'DES8_BA'
gosub @MAF4_29442
200@ += 1

:MAF4_16399
if 
  198@ == 2
goto_if_false @MAF4_16608
if 
  201@ == 0
goto_if_false @MAF4_16608
if 
  197@ == 0
goto_if_false @MAF4_16608
if 
  202@ > 1
goto_if_false @MAF4_16500
set_lvar_int_to_constant 156@ = 13607
set_lvar_text_label 157@s = 'DES8_CC'
gosub @MAF4_29442

:MAF4_16500
if 
  202@ == 1
goto_if_false @MAF4_16554
set_lvar_int_to_constant 156@ = 13606
set_lvar_text_label 157@s = 'DES8_CB'
gosub @MAF4_29442
202@ += 1

:MAF4_16554
if 
  202@ == 0
goto_if_false @MAF4_16608
set_lvar_int_to_constant 156@ = 13605
set_lvar_text_label 157@s = 'DES8_CA'
gosub @MAF4_29442
202@ += 1

:MAF4_16608
if 
  198@ == 3
goto_if_false @MAF4_16862
if 
  196@ == 0
goto_if_false @MAF4_16691
if 
  197@ == 0
goto_if_false @MAF4_16691
set_lvar_int_to_constant 156@ = 13611
set_lvar_text_label 157@s = 'DES8_DC'
gosub @MAF4_29442

:MAF4_16691
if 
  196@ == 1
goto_if_false @MAF4_16756
if 
  197@ == 0
goto_if_false @MAF4_16756
set_lvar_int_to_constant 156@ = 13617
set_lvar_text_label 157@s = 'DES8_EE'
gosub @MAF4_29442

:MAF4_16756
if 
  196@ == 2
goto_if_false @MAF4_16821
if 
  197@ == 0
goto_if_false @MAF4_16821
set_lvar_int_to_constant 156@ = 13616
set_lvar_text_label 157@s = 'DES8_ED'
gosub @MAF4_29442

:MAF4_16821
if 
  196@ == 3
goto_if_false @MAF4_16862
Text.PrintNow('DST8_14', 7000, 1)
196@ = 4

:MAF4_16862
if 
  183@ == 0
goto_if_false @MAF4_19124
if or
  Char.IsInArea3D($stattreadstamina_ctr, 207.917, 1874.33, 10.0, 2224.917, 1868.78, 14.6, False)
  Char.LocateOnFoot3D($stattreadstamina_ctr, 224.99, 1859.18, 12.31, 8.0, 8.0, 2.0, False)
  Char.IsInArea3D($stattreadstamina_ctr, 201.99, 1874.7, 12.3, 225.47, 1851.43, 14.31, False)
  Char.LocateOnFoot3D($stattreadstamina_ctr, 226.38, 1872.33, 12.93, 4.0, 4.0, 3.5, False)
goto_if_false @MAF4_19124
Camera.DoFade(250, Fade.Out)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints

:MAF4_17052
if 
  Camera.GetFadingStatus
goto_if_false @MAF4_17076
wait 0
goto @MAF4_17052

:MAF4_17076
Object.Delete($5181)
$5181 = Object.Create(#A51_VENTCOVERB, 245.968, 1862.843, 19.49)
Object.SetRotation($5181, 0.0, 0.0, -140.998)
Object.DontRemove($5181)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Streaming.MarkModelAsNoLongerNeeded(#A51_SPOTBULB)
Streaming.MarkModelAsNoLongerNeeded(#A51_SPOTHOUSING)
Streaming.MarkModelAsNoLongerNeeded(#A51_SPOTBASE)
Streaming.MarkModelAsNoLongerNeeded(483)
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveCarRecording(340)
Streaming.RemoveCarRecording(341)
Streaming.MarkModelAsNoLongerNeeded(335)
Streaming.MarkModelAsNoLongerNeeded(347)
Streaming.RequestModel(583)
Streaming.RequestModel(70)
Streaming.RequestModel(468)
Streaming.LoadAllModelsNow

:MAF4_17199
if or
  not Streaming.HasModelLoaded(583)
  not Streaming.HasModelLoaded(70)
  not Streaming.HasModelLoaded(468)
goto_if_false @MAF4_17235
wait 0
goto @MAF4_17199

:MAF4_17235
Text.ClearPrints
165@ = 0

:MAF4_17244
if 
  7 > 165@
goto_if_false @MAF4_17294
Searchlight.Delete(35@(165@,7i))
Object.Delete(42@(165@,7i))
165@ += 1
goto @MAF4_17244

:MAF4_17294
Object.Delete(92@)
Object.Delete(93@)
Object.Delete(94@)
Object.Delete(95@)
Object.Delete(96@)
Object.Delete(97@)
Object.Delete(98@)
Object.Delete(99@)
Object.Delete(100@)
Object.Delete(101@)
Object.Delete(102@)
Object.Delete(103@)
Object.Delete(104@)
Object.Delete(105@)
165@ = 0

:MAF4_17371
if 
  22 > 165@
goto_if_false @MAF4_17421
Char.Delete(109@(165@,22i))
Blip.Remove(205@(165@,22i))
165@ += 1
goto @MAF4_17371

:MAF4_17421
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 225.0, 1859.0, 5.0, 5.0, False)
goto_if_false @MAF4_17496
Char.SetCoordinates($stattreadstamina_ctr, 224.44, 1859.34, 12.14)
Char.SetHeading($stattreadstamina_ctr, 6.82)
goto @MAF4_17526

:MAF4_17496
Char.SetCoordinates($stattreadstamina_ctr, 214.14, 1872.388, 12.14)
Char.SetHeading($stattreadstamina_ctr, 267.68)

:MAF4_17526
Object.Delete($init_portakabin)
Object.Delete($2672)
$init_portakabin = Object.CreateNoOffset(#A51_BLASTDOORR, 215.941, 1874.571, 13.903)
Object.SetHeading($init_portakabin, 0.0)
$2672 = Object.CreateNoOffset(#A51_BLASTDOORL, 211.842, 1874.571, 13.903)
Object.SetHeading($2672, 0.0)
Object.DontRemove($init_portakabin)
Object.DontRemove($2672)
Blip.Remove(227@)
110@ = Char.Create(PedType.Mission1, 287, 248.128, 1860.732, 8.76)
Char.SetHeading(110@, 266.82)
Char.SetDecisionMaker(110@, 160@)
Char.GiveWeapon(110@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(110@, 5.0)
206@ = Blip.AddForChar(110@)
Blip.ChangeDisplay(206@, BlipDisplay.BlipOnly)
Task.PlayAnim(110@, "ROADCROSS", "PED", 4.0, True, False, False, False, -1)
Blip.SetAlwaysDisplayOnZoomedRadar(206@, True)
111@ = Char.Create(PedType.Mission1, 287, 245.1791, 1879.571, 10.4609)
Char.SetHeading(111@, 266.1505)
Char.SetDecisionMaker(111@, 160@)
Char.GiveWeapon(111@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(111@, 5.0)
Char.SetAccuracy(111@, 80)
207@ = Blip.AddForChar(111@)
Blip.ChangeDisplay(207@, BlipDisplay.BlipOnly)
Task.PlayAnim(111@, "ROADCROSS", "PED", 4.0, True, False, False, False, -1)
Blip.SetAlwaysDisplayOnZoomedRadar(207@, True)
112@ = Char.Create(PedType.Mission1, 287, 245.1999, 1863.952, 7.5618)
Char.SetHeading(112@, 175.5655)
Char.SetDecisionMaker(112@, 160@)
Char.GiveWeapon(112@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(112@, 5.0)
208@ = Blip.AddForChar(112@)
Blip.ChangeDisplay(208@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(208@, True)
113@ = Char.Create(PedType.Mission1, 287, 261.9116, 1870.728, 7.7578)
Char.SetDecisionMaker(113@, 160@)
Char.SetHeading(113@, 186.0656)
Char.GiveWeapon(113@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(113@, 5.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(261.6897, 1860.464, 7.765, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(256.1913, 1859.627, 7.765, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(256.0048, 1870.207, 7.79, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(261.9116, 1870.728, 7.7578, "ROADCROSS", "PED")
Task.FollowPatrolRoute(113@, 4, RouteMode.Loop)
209@ = Blip.AddForChar(113@)
Blip.ChangeDisplay(209@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(209@, True)
132@ = Car.Create(583, 241.0877, 1843.951, 7.7578)
Car.SetHeading(132@, 268.7216)
114@ = Char.Create(PedType.Mission1, 287, 243.0288, 1846.451, 7.765)
Char.SetDecisionMaker(114@, 160@)
Char.SetHealth(114@, 10)
Char.SetHeading(114@, 270.7867)
Char.GiveWeapon(114@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(114@, 5.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(255.3062, 1846.276, 7.7734, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(243.0288, 1846.451, 7.765, "ROADCROSS", "PED")
Task.FollowPatrolRoute(114@, 4, RouteMode.Loop)
210@ = Blip.AddForChar(114@)
Blip.ChangeDisplay(210@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(210@, True)
228@ = Blip.AddForCoord(267.015, 1862.51, 7.76)
Blip.SetAlwaysDisplayOnZoomedRadar(228@, True)
Player.TakeOffGoggles($statbike_temp, False)
Streaming.LoadScene(248.83, 1827.63, 7.46)
Streaming.LoadSceneInDirection(282.28, 1814.04, 7.54, 326.0)
Camera.DoFade(500, Fade.In)
Hud.SetRadarZoom(100)
131@ = Char.Create(PedType.Mission1, 287, 248.925, 1832.315, 6.55)
Char.SetHeading(131@, 1.5)
Char.GiveWeapon(131@, WeaponType.M4, 9999)
Task.PlayAnim(131@, "ROADCROSS", "PED", 4.0, False, False, False, False, 1000)
skip_cutscene_start_internal @MAF4_19024
Camera.SetFixedPosition(278.6251, 1812.837, 4.8301, 0.0, 0.0, 0.0)
Camera.PointAtPoint(279.2745, 1813.558, 5.0711, SwitchType.JumpCut)
Text.PrintNow('DST8_42', 5000, 1)
TIMERA = 0

:MAF4_18632
if 
  5000 > TIMERA
goto_if_false @MAF4_18662
wait 0
goto @MAF4_18632

:MAF4_18662
Streaming.LoadSceneInDirection(255.93, 1838.05, 7.73, 142.0)
Camera.SetFixedPosition(252.5037, 1836.242, 8.5554, 0.0, 0.0, 0.0)
Camera.PointAtPoint(252.0391, 1835.363, 8.4453, SwitchType.JumpCut)
Text.PrintNow('DST8_43', 8000, 1)
TIMERA = 0

:MAF4_18758
if 
  4000 > TIMERA
goto_if_false @MAF4_18788
wait 0
goto @MAF4_18758

:MAF4_18788
Streaming.LoadScene(249.6, 1869.03, 11.0)
Camera.SetFixedPosition(262.0718, 1869.727, 13.162, 0.0, 0.0, 0.0)
Camera.PointAtPoint(261.4835, 1868.997, 12.8154, SwitchType.JumpCut)
TIMERA = 0

:MAF4_18863
if 
  4000 > TIMERA
goto_if_false @MAF4_18893
wait 0
goto @MAF4_18863

:MAF4_18893
Streaming.LoadSceneInDirection(223.75, 1822.57, 7.51, 68.0)
Camera.SetFixedPosition(217.0121, 1822.658, 6.4205, 0.0, 0.0, 0.0)
Camera.PointAtPoint(216.015, 1822.672, 6.4959, SwitchType.JumpCut)
Char.Delete(131@)
Text.PrintNow('DST8_44', 5000, 1)
TIMERA = 0

:MAF4_18994
if 
  5000 > TIMERA
goto_if_false @MAF4_19024
wait 0
goto @MAF4_18994

:MAF4_19024
skip_cutscene_end 
Char.Delete(131@)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.PrintNow('DST8_45', 5000, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1005)
TIMERB = 0
203@ = 1
196@ = 0
197@ = 0
164@ = 6
183@ = 1

:MAF4_19124
if 
  183@ == 1
goto_if_false @MAF4_26649
if 
  203@ == 1
goto_if_false @MAF4_19186
if 
  TIMERB > 5000
goto_if_false @MAF4_19186
203@ = 2

:MAF4_19186
if 
  203@ == 2
goto_if_false @MAF4_20716
gosub @MAF4_29484
if 
  3 > 184@
goto_if_false @MAF4_20549
if 
  196@ == 0
goto_if_false @MAF4_19294
if 
  197@ == 0
goto_if_false @MAF4_19294
set_lvar_int_to_constant 156@ = 13620
set_lvar_text_label 157@s = 'DES8_FB'
gosub @MAF4_29442

:MAF4_19294
if 
  196@ == 1
goto_if_false @MAF4_19366
if 
  197@ == 0
goto_if_false @MAF4_19366
set_lvar_int_to_constant 156@ = 13621
set_lvar_text_label 157@s = 'DES8_FC'
gosub @MAF4_29442
TIMERB = 0

:MAF4_19366
if 
  TIMERB > 10000
goto_if_false @MAF4_19457
if 
  196@ == 2
goto_if_false @MAF4_19457
if 
  197@ == 0
goto_if_false @MAF4_19457
set_lvar_int_to_constant 156@ = 13625
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_19457
if 
  TIMERB > 7500
goto_if_false @MAF4_19548
if 
  196@ == 3
goto_if_false @MAF4_19548
if 
  197@ == 0
goto_if_false @MAF4_19548
set_lvar_int_to_constant 156@ = 13626
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_19548
if 
  TIMERB > 5500
goto_if_false @MAF4_19639
if 
  196@ == 4
goto_if_false @MAF4_19639
if 
  197@ == 0
goto_if_false @MAF4_19639
set_lvar_int_to_constant 156@ = 13631
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_19639
if 
  TIMERB > 8000
goto_if_false @MAF4_19730
if 
  196@ == 5
goto_if_false @MAF4_19730
if 
  197@ == 0
goto_if_false @MAF4_19730
set_lvar_int_to_constant 156@ = 13622
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_19730
if 
  TIMERB > 12000
goto_if_false @MAF4_19821
if 
  196@ == 6
goto_if_false @MAF4_19821
if 
  197@ == 0
goto_if_false @MAF4_19821
set_lvar_int_to_constant 156@ = 13632
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_19821
if 
  TIMERB > 12500
goto_if_false @MAF4_19912
if 
  196@ == 7
goto_if_false @MAF4_19912
if 
  197@ == 0
goto_if_false @MAF4_19912
set_lvar_int_to_constant 156@ = 13628
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_19912
if 
  TIMERB > 12000
goto_if_false @MAF4_20003
if 
  196@ == 8
goto_if_false @MAF4_20003
if 
  197@ == 0
goto_if_false @MAF4_20003
set_lvar_int_to_constant 156@ = 13624
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_20003
if 
  TIMERB > 25000
goto_if_false @MAF4_20094
if 
  196@ == 9
goto_if_false @MAF4_20094
if 
  197@ == 0
goto_if_false @MAF4_20094
set_lvar_int_to_constant 156@ = 13633
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_20094
if 
  TIMERB > 15000
goto_if_false @MAF4_20185
if 
  196@ == 10
goto_if_false @MAF4_20185
if 
  197@ == 0
goto_if_false @MAF4_20185
set_lvar_int_to_constant 156@ = 13634
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_20185
if 
  TIMERB > 20000
goto_if_false @MAF4_20276
if 
  196@ == 11
goto_if_false @MAF4_20276
if 
  197@ == 0
goto_if_false @MAF4_20276
set_lvar_int_to_constant 156@ = 13627
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_20276
if 
  TIMERB > 15000
goto_if_false @MAF4_20367
if 
  196@ == 12
goto_if_false @MAF4_20367
if 
  197@ == 0
goto_if_false @MAF4_20367
set_lvar_int_to_constant 156@ = 13635
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_20367
if 
  TIMERB > 10000
goto_if_false @MAF4_20458
if 
  196@ == 13
goto_if_false @MAF4_20458
if 
  197@ == 0
goto_if_false @MAF4_20458
set_lvar_int_to_constant 156@ = 13623
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_20458
if 
  TIMERB > 12000
goto_if_false @MAF4_20549
if 
  196@ == 14
goto_if_false @MAF4_20549
if 
  197@ == 0
goto_if_false @MAF4_20549
set_lvar_int_to_constant 156@ = 13629
set_lvar_text_label 157@s = 'DUMMY'
gosub @MAF4_29442
TIMERB = 0

:MAF4_20549
if 
  187@ == 2
goto_if_false @MAF4_20716
if 
  196@ == 0
goto_if_false @MAF4_20651
if 
  TIMERB > 2000
goto_if_false @MAF4_20651
if 
  197@ == 0
goto_if_false @MAF4_20651
set_lvar_int_to_constant 156@ = 13636
set_lvar_text_label 157@s = 'DST8_34'
gosub @MAF4_29442

:MAF4_20651
if 
  196@ == 1
goto_if_false @MAF4_20716
if 
  197@ == 0
goto_if_false @MAF4_20716
set_lvar_int_to_constant 156@ = 13637
set_lvar_text_label 157@s = 'DES8_HB'
gosub @MAF4_29442

:MAF4_20716
if 
  184@ == 0
goto_if_false @MAF4_21878
if 
  Char.IsInArea3D($stattreadstamina_ctr, 266.53, 1849.53, 8.0, 237.01, 1837.55, 10.52, False)
goto_if_false @MAF4_21878
115@ = Char.Create(PedType.Mission1, 287, 248.5208, 1806.681, 6.5619)
Char.SetDecisionMaker(115@, 160@)
Char.SetHeading(115@, 359.2584)
Char.GiveWeapon(115@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(115@, 5.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(248.8298, 1835.772, 6.5471, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(248.5208, 1809.681, 6.5619, "ROADCROSS", "PED")
Task.FollowPatrolRoute(115@, 4, RouteMode.Loop)
211@ = Blip.AddForChar(115@)
Blip.ChangeDisplay(211@, BlipDisplay.BlipOnly)
Char.SetAccuracy(115@, 80)
Blip.SetAlwaysDisplayOnZoomedRadar(211@, True)
116@ = Char.Create(PedType.Mission1, 287, 254.1943, 1835.365, 3.7175)
Char.SetHeading(116@, 271.2598)
Char.SetDecisionMaker(116@, 160@)
Char.GiveWeapon(116@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(116@, 5.0)
212@ = Blip.AddForChar(116@)
Blip.ChangeDisplay(212@, BlipDisplay.BlipOnly)
Task.PlayAnim(116@, "ROADCROSS", "PED", 4.0, True, False, False, False, 6000)
Blip.SetAlwaysDisplayOnZoomedRadar(212@, True)
Char.SetAccuracy(116@, 80)
117@ = Char.Create(PedType.Mission1, 287, 249.41, 1825.84, 4.7)
Char.SetDecisionMaker(117@, 160@)
Char.SetHeading(117@, 180.5658)
Char.GiveWeapon(117@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(117@, 5.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(249.63, 1816.64, 4.71, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(249.41, 1825.84, 4.7, "ROADCROSS", "PED")
Task.FollowPatrolRoute(117@, 4, RouteMode.Loop)
213@ = Blip.AddForChar(117@)
Blip.ChangeDisplay(213@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(213@, True)
118@ = Char.Create(PedType.Mission1, 287, 236.5669, 1813.103, 6.4213)
Char.SetDecisionMaker(118@, 160@)
Char.SetHeading(118@, 167.7513)
Char.GiveWeapon(118@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(118@, 5.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(236.0416, 1803.519, 6.4219, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(243.165, 1803.049, 6.4219, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(236.0416, 1803.519, 6.4219, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(236.5669, 1813.103, 6.4213, "ROADCROSS", "PED")
Task.FollowPatrolRoute(118@, 4, RouteMode.Loop)
214@ = Blip.AddForChar(118@)
Blip.ChangeDisplay(214@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(214@, True)
120@ = Char.Create(PedType.Mission1, 287, 284.416, 1816.59, 3.8)
Char.SetDecisionMaker(120@, 160@)
Char.SetHeading(120@, 83.92)
Char.GiveWeapon(120@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(120@, 5.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(265.829, 1816.31, 4.7, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(284.416, 1816.59, 4.72, "ROADCROSS", "PED")
Task.FollowPatrolRoute(120@, 4, RouteMode.Loop)
216@ = Blip.AddForChar(120@)
Blip.ChangeDisplay(216@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(216@, True)
121@ = Char.Create(PedType.Mission1, 70, 245.3671, 1830.29, 6.5547)
Char.SetHeading(121@, 178.5107)
Char.SetDecisionMaker(121@, 161@)
Char.SetHealth(121@, 10)
Task.PlayAnim(121@, "ATM", "PED", 4.0, True, False, False, False, -1)
122@ = Char.Create(PedType.Mission1, 70, 213.3669, 1825.511, 5.4141)
Char.SetHeading(122@, 67.6565)
Char.SetDecisionMaker(122@, 161@)
Char.SetHealth(122@, 10)
Task.PlayAnim(122@, "ATM", "PED", 4.0, True, False, False, False, -1)
123@ = Char.Create(PedType.Mission1, 70, 214.1768, 1818.739, 5.4216)
Char.SetHeading(123@, 113.5239)
Char.SetDecisionMaker(123@, 161@)
Char.SetHealth(123@, 10)
Task.PlayAnim(123@, "ATM", "PED", 4.0, True, False, False, False, -1)
184@ = 1

:MAF4_21878
if 
  184@ == 1
goto_if_false @MAF4_22763
if 
  Char.IsInArea3D($stattreadstamina_ctr, 301.6813, 1821.801, 7.1396, 272.5243, 1826.948, 10.3607, False)
goto_if_false @MAF4_22763
124@ = Char.Create(PedType.Mission1, 287, 280.7216, 1840.162, 6.7266)
Char.SetDecisionMaker(124@, 160@)
Char.SetHeading(124@, 262.0249)
Char.GiveWeapon(124@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(124@, 5.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(292.8436, 1839.781, 6.7266, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(280.7216, 1840.162, 6.7266, "ROADCROSS", "PED")
Task.FollowPatrolRoute(124@, 4, RouteMode.Loop)
220@ = Blip.AddForChar(124@)
Blip.ChangeDisplay(220@, BlipDisplay.BlipOnly)
Char.SetAccuracy(124@, 80)
Blip.SetAlwaysDisplayOnZoomedRadar(220@, True)
125@ = Char.Create(PedType.Mission1, 287, 301.3004, 1839.902, 6.7266)
Char.SetDecisionMaker(125@, 160@)
Char.SetHeading(125@, 91.0904)
Char.GiveWeapon(125@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(125@, 5.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(328.527, 1839.673, 6.8281, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(301.3004, 1839.902, 6.7266, "ROADCROSS", "PED")
Task.FollowPatrolRoute(125@, 4, RouteMode.Loop)
221@ = Blip.AddForChar(125@)
Char.SetAccuracy(125@, 80)
Blip.ChangeDisplay(221@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(221@, True)
126@ = Char.Create(PedType.Mission1, 287, 329.3857, 1855.295, 6.8357)
Char.SetDecisionMaker(126@, 160@)
Char.SetHeading(126@, 272.6715)
Char.GiveWeapon(126@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(126@, 5.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(317.411, 1855.274, 6.7341, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(329.3857, 1855.295, 6.8357, "ROADCROSS", "PED")
Task.FollowPatrolRoute(126@, 4, RouteMode.Loop)
222@ = Blip.AddForChar(126@)
Blip.ChangeDisplay(222@, BlipDisplay.BlipOnly)
Char.SetAccuracy(126@, 80)
Blip.SetAlwaysDisplayOnZoomedRadar(222@, True)
127@ = Char.Create(PedType.Mission1, 287, 298.3582, 1856.054, 6.8281)
Char.SetDecisionMaker(127@, 160@)
Char.SetHeading(127@, 167.8933)
Char.GiveWeapon(127@, WeaponType.M4, 9999)
Char.SetFollowNodeThresholdDistance(127@, 5.0)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(297.3482, 1868.002, 7.7578, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(298.3582, 1856.054, 6.8281, "ROADCROSS", "PED")
Task.FollowPatrolRoute(127@, 4, RouteMode.Loop)
223@ = Blip.AddForChar(127@)
Blip.ChangeDisplay(223@, BlipDisplay.BlipOnly)
Char.SetAccuracy(127@, 80)
Blip.SetAlwaysDisplayOnZoomedRadar(223@, True)
128@ = Char.Create(PedType.Mission1, 287, 313.7065, 1845.551, 6.7341)
Char.SetHeading(128@, 2.8719)
Char.SetDecisionMaker(128@, 160@)
Char.GiveWeapon(128@, WeaponType.M4, 99999)
Char.SetFollowNodeThresholdDistance(128@, 5.0)
224@ = Blip.AddForChar(128@)
Blip.ChangeDisplay(224@, BlipDisplay.BlipOnly)
Char.SetAccuracy(128@, 80)
Blip.SetAlwaysDisplayOnZoomedRadar(224@, True)
143@ = Object.CreateNoOffset(#A51_LABDOOR, 268.66, 1864.059, 7.5)
Object.DontRemove(143@)
Object.SetProofs(143@, True, True, True, True, True)
184@ = 2

:MAF4_22763
if 
  185@ == 0
goto_if_false @MAF4_22891
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 212.93, 1822.82, 5.41, 1.0, 1.0, 3.0, True)
goto_if_false @MAF4_22891
TIMERA = 0
Player.SetControl($statbike_temp, False)
Char.SetHeading($stattreadstamina_ctr, 92.24)
Task.PlayAnim($stattreadstamina_ctr, "ATM", "PED", 8.0, False, False, False, False, 500)
185@ = 1

:MAF4_22891
if 
  185@ == 1
goto_if_false @MAF4_22967
if 
  TIMERA > 500
goto_if_false @MAF4_22967
Char.ClearTasks($stattreadstamina_ctr)
Text.PrintNow('DES8_21', 4000, 1)
Game.SetArea51SamSite(False)
Player.SetControl($statbike_temp, True)
185@ = 2

:MAF4_22967
165@ = 0

:MAF4_22974
if 
  22 > 165@
goto_if_false @MAF4_23064
if 
  Char.IsDead(109@(165@,22i))
goto_if_false @MAF4_23050
if 
  Blip.DoesExist(205@(165@,22i))
goto_if_false @MAF4_23050
Blip.Remove(205@(165@,22i))
Char.MarkAsNoLongerNeeded(109@(165@,22i))

:MAF4_23050
165@ += 1
goto @MAF4_22974

:MAF4_23064
if 
  184@ == 2
goto_if_false @MAF4_23247
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 287.0, 1870.0, 9.0, 6.0, 6.0, 6.0, False)
goto_if_false @MAF4_23247
Text.PrintNow('DST8_46', 5000, 1)
133@ = Char.Create(PedType.Mission1, 70, 276.57, 1854.53, 7.75)
Char.SetHeading(133@, 175.15)
Char.SetDecisionMaker(133@, 159@)
Char.SetHealth(133@, 10)
Task.StayInSamePlace(133@, True)
Task.PlayAnim(133@, "ATM", "PED", 8.0, True, False, False, False, 1000)
186@ = 1
184@ = 3

:MAF4_23247
if 
  186@ == 1
goto_if_false @MAF4_23537
if 
  not Char.IsDead(133@)
goto_if_false @MAF4_23482
if or
  Char.HasBeenDamagedByChar(133@, $stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, 133@)
  Char.IsShootingInArea($stattreadstamina_ctr, 282.25, 1852.36, 264.28, 1863.69, False)
  Char.IsInArea2D($stattreadstamina_ctr, 282.25, 1852.36, 264.28, 1863.69, False)
goto_if_false @MAF4_23475
Task.HandsUp(133@, 20000)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @MAF4_23412
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot2, 133@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('DES8_AA', 2000, 1)

:MAF4_23412
145@ = Pickup.Create(#KEYCARD, PickupType.Once, 276.57, 1854.53, 8.75)
Char.SetDecisionMaker(133@, 161@)
229@ = Blip.AddForPickup(145@)
Text.Print('DST8_25', 5000, 1)
186@ = 2

:MAF4_23475
goto @MAF4_23537

:MAF4_23482
145@ = Pickup.Create(#KEYCARD, PickupType.Once, 276.57, 1854.53, 8.75)
229@ = Blip.AddForPickup(145@)
Text.PrintNow('DST8_25', 5000, 1)
186@ = 2

:MAF4_23537
if 
  186@ == 2
goto_if_false @MAF4_23639
if 
  Char.IsDead(133@)
goto_if_false @MAF4_23611
if 
  204@ == 0
goto_if_false @MAF4_23611
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('DST8_25')
204@ = 1

:MAF4_23611
if 
  Pickup.HasBeenCollected(145@)
goto_if_false @MAF4_23639
Blip.Remove(229@)
186@ = 3

:MAF4_23639
if 
  184@ == 3
goto_if_false @MAF4_23808
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 267.015, 1862.51, 7.76, 1.0, 1.0, 5.0, True)
goto_if_false @MAF4_23808
if 
  186@ == 3
goto_if_false @MAF4_23792
Char.SetHeading($stattreadstamina_ctr, 6.3)
TIMERA = 0
Player.SetControl($statbike_temp, False)
Task.PlayAnim($stattreadstamina_ctr, "ATM", "PED", 8.0, False, False, False, False, 500)
184@ = 4
goto @MAF4_23808

:MAF4_23792
Text.PrintNow('DST8_24', 5000, 1)

:MAF4_23808
if 
  184@ == 4
goto_if_false @MAF4_25042
if 
  Object.DoesExist(143@)
goto_if_false @MAF4_25042
if 
  TIMERA > 500
goto_if_false @MAF4_25042
187@ = 1
if 
  Object.DoesExist(143@)
goto_if_false @MAF4_23892
Audio.ReportMissionAudioEventAtObject(143@, 1035)

:MAF4_23892
Char.Delete(115@)
Char.Delete(118@)
Char.Delete(121@)
Char.Delete(122@)
Char.Delete(123@)
Char.Delete(110@)
Char.Delete(111@)
Char.Delete(112@)
Char.Delete(113@)
Char.Delete(114@)
Char.ClearTasks($stattreadstamina_ctr)
Player.SetControl($statbike_temp, True)
115@ = Char.Create(PedType.Mission1, 287, 261.5664, 1891.85, 7.4446)
Char.SetDecisionMaker(115@, 159@)
Char.SetHeading(115@, 212.7731)
Char.GiveWeapon(115@, WeaponType.M4, 9999)
Task.StayInSamePlace(115@, True)
Char.SetHealth(115@, 150)
Char.SetAccuracy(115@, 80)
211@ = Blip.AddForChar(115@)
Blip.ChangeDisplay(211@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(211@, True)
set_lvar_int_to_lvar_int 153@ = 115@
gosub @MAF4_29827
118@ = Char.Create(PedType.Mission1, 287, 268.4905, 1890.074, 4.875)
Char.SetDecisionMaker(118@, 159@)
Char.SetHeading(118@, 176.3921)
Char.GiveWeapon(118@, WeaponType.M4, 9999)
Task.StayInSamePlace(118@, True)
Char.SetHealth(118@, 150)
Char.SetAccuracy(118@, 30)
214@ = Blip.AddForChar(118@)
Blip.ChangeDisplay(214@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(214@, True)
set_lvar_int_to_lvar_int 153@ = 118@
gosub @MAF4_29827
122@ = Char.Create(PedType.Mission1, 287, 274.3991, 1880.725, -1.3518)
Char.SetDecisionMaker(122@, 159@)
Char.SetHeading(122@, 65.8577)
Char.GiveWeapon(122@, WeaponType.M4, 9999)
Task.StayInSamePlace(122@, True)
Char.SetHealth(122@, 150)
Char.SetAccuracy(122@, 80)
218@ = Blip.AddForChar(122@)
Blip.ChangeDisplay(218@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(218@, True)
set_lvar_int_to_lvar_int 153@ = 122@
gosub @MAF4_29827
123@ = Char.Create(PedType.Mission1, 287, 268.9641, 1878.019, -4.5078)
Char.SetDecisionMaker(123@, 159@)
Char.SetHeading(123@, 352.3847)
Char.GiveWeapon(123@, WeaponType.M4, 9999)
Task.StayInSamePlace(123@, True)
Char.SetHealth(123@, 150)
Char.SetAccuracy(123@, 40)
219@ = Blip.AddForChar(123@)
Blip.ChangeDisplay(219@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(219@, True)
set_lvar_int_to_lvar_int 153@ = 123@
gosub @MAF4_29827
110@ = Char.Create(PedType.Mission1, 287, 262.9983, 1883.624, -9.2031)
Char.SetDecisionMaker(110@, 159@)
Char.SetHeading(110@, 259.5976)
Char.GiveWeapon(110@, WeaponType.M4, 9999)
Task.StayInSamePlace(110@, True)
Char.SetHealth(110@, 100)
Char.SetAccuracy(110@, 80)
206@ = Blip.AddForChar(110@)
Blip.ChangeDisplay(206@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(206@, True)
set_lvar_int_to_lvar_int 153@ = 110@
gosub @MAF4_29827
111@ = Char.Create(PedType.Mission1, 287, 268.0892, 1889.709, -13.8984)
Char.SetDecisionMaker(111@, 159@)
Char.SetHeading(111@, 197.1955)
Char.GiveWeapon(111@, WeaponType.M4, 9999)
Task.StayInSamePlace(111@, True)
Char.SetHealth(111@, 150)
Char.SetAccuracy(111@, 25)
207@ = Blip.AddForChar(111@)
Blip.ChangeDisplay(207@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(207@, True)
set_lvar_int_to_lvar_int 153@ = 111@
gosub @MAF4_29827
112@ = Char.Create(PedType.Mission1, 287, 274.8945, 1884.525, -18.5859)
Char.SetDecisionMaker(112@, 159@)
Char.SetHeading(112@, 117.7696)
Char.GiveWeapon(112@, WeaponType.M4, 9999)
Task.StayInSamePlace(112@, True)
Char.SetHealth(112@, 120)
Char.SetAccuracy(112@, 80)
208@ = Blip.AddForChar(112@)
Blip.ChangeDisplay(208@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(208@, True)
set_lvar_int_to_lvar_int 153@ = 112@
gosub @MAF4_29827
113@ = Char.Create(PedType.Mission1, 287, 270.4637, 1878.031, -22.7266)
Char.SetDecisionMaker(113@, 159@)
Char.SetHeading(113@, 117.7696)
Char.GiveWeapon(113@, WeaponType.M4, 9999)
Task.StayInSamePlace(113@, True)
Char.SetHealth(113@, 150)
Char.SetAccuracy(113@, 85)
209@ = Blip.AddForChar(113@)
Blip.ChangeDisplay(209@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(209@, True)
set_lvar_int_to_lvar_int 153@ = 113@
gosub @MAF4_29827
114@ = Char.Create(PedType.Mission1, 287, 262.6877, 1883.484, -27.9766)
Char.SetDecisionMaker(114@, 159@)
Char.SetHeading(114@, 117.7696)
Char.GiveWeapon(114@, WeaponType.M4, 9999)
Task.StayInSamePlace(114@, True)
Char.SetHealth(114@, 150)
Char.SetAccuracy(114@, 80)
210@ = Blip.AddForChar(114@)
Blip.ChangeDisplay(210@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(210@, True)
set_lvar_int_to_lvar_int 153@ = 114@
gosub @MAF4_29827
Car.MarkAsNoLongerNeeded(132@)
Streaming.MarkModelAsNoLongerNeeded(583)
144@ = Pickup.CreateWithAmmo(370, PickupType.Once, 0, 268.7, 1884.1, -30.085)
Blip.Remove(228@)
228@ = Blip.AddForPickup(144@)
Blip.SetAlwaysDisplayOnZoomedRadar(228@, True)
Text.ClearPrints
Text.PrintNow('DST8_34', 5000, 1)
184@ = 5

:MAF4_25042
if 
  187@ == 1
goto_if_false @MAF4_25160
if 
  Object.DoesExist(143@)
goto_if_false @MAF4_25160
if 
  Object.Slide(143@, 268.66, 1864.059, 12.2, 0.0, 0.0, 0.08, False)
goto_if_false @MAF4_25160
Audio.ReportMissionAudioEventAtObject(143@, 1036)
196@ = 0
197@ = 0
TIMERB = 0
187@ = 2

:MAF4_25160
if 
  184@ == 5
goto_if_false @MAF4_26071
if 
  Pickup.HasBeenCollected(144@)
goto_if_false @MAF4_26071
Blip.Remove(228@)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Clock.SetTimeOfDay(9, 0)
Char.SetCoordinates($stattreadstamina_ctr, 268.591, 1884.469, -31.0869)
Char.SetHeading($stattreadstamina_ctr, 180.99)
Task.Jetpack($stattreadstamina_ctr)
Camera.SetFixedPosition(268.5177, 1886.297, -29.5611, 0.0, 0.0, 0.0)
Camera.PointAtPoint(268.5393, 1885.316, -29.7523, SwitchType.JumpCut)
Camera.SetInterpolationParameters(0.0, 3000)
Streaming.RequestModel(352)
Streaming.RequestModel(483)
Streaming.LoadSpecialCharacter(1, 'TRUTH')
Text.PrintNow('DST8_26', 7000, 1)

:MAF4_25351
if or
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(483)
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @MAF4_25387
wait 0
goto @MAF4_25351

:MAF4_25387
Car.Delete(132@)
Streaming.MarkModelAsNoLongerNeeded(583)
165@ = 0

:MAF4_25404
if 
  22 > 165@
goto_if_false @MAF4_25454
Char.Delete(109@(165@,22i))
Blip.Remove(205@(165@,22i))
165@ += 1
goto @MAF4_25404

:MAF4_25454
112@ = Char.Create(PedType.Mission1, 287, 139.9523, 1929.079, 18.2062)
Char.SetDecisionMaker(112@, 159@)
Char.GiveWeapon(112@, WeaponType.M4, 9999)
Task.StayInSamePlace(112@, True)
Char.SetHealth(112@, 50)
Char.SetAccuracy(112@, 30)
113@ = Char.Create(PedType.Mission1, 287, 127.6658, 1885.153, 17.0346)
Char.SetDecisionMaker(113@, 159@)
Char.GiveWeapon(113@, WeaponType.M4, 9999)
Task.StayInSamePlace(113@, True)
Char.SetHealth(113@, 50)
Char.SetAccuracy(113@, 30)
114@ = Char.Create(PedType.Mission1, 287, 114.7912, 1830.386, 16.6406)
Char.SetDecisionMaker(114@, 159@)
Char.GiveWeapon(114@, WeaponType.M4, 9999)
Task.StayInSamePlace(114@, True)
Char.SetHealth(114@, 50)
Char.SetAccuracy(114@, 40)
115@ = Char.Create(PedType.Mission1, 287, 205.6079, 1860.557, 19.6406)
Char.SetDecisionMaker(115@, 159@)
Char.GiveWeapon(115@, WeaponType.M4, 9999)
Task.StayInSamePlace(115@, True)
Char.SetHealth(115@, 50)
Char.SetAccuracy(115@, 30)
116@ = Char.Create(PedType.Mission1, 287, 245.2025, 1881.998, 19.1052)
Char.SetDecisionMaker(116@, 159@)
Char.GiveWeapon(116@, WeaponType.M4, 9999)
Task.StayInSamePlace(116@, True)
Char.SetHealth(116@, 50)
Char.SetAccuracy(116@, 40)
117@ = Char.Create(PedType.Mission1, 287, 262.8257, 1807.669, 24.4985)
Char.SetDecisionMaker(117@, 159@)
Char.GiveWeapon(117@, WeaponType.M4, 9999)
Task.StayInSamePlace(117@, True)
Char.SetHealth(117@, 50)
Char.SetAccuracy(117@, 30)
118@ = Char.Create(PedType.Mission1, 287, 279.2588, 1863.757, 16.6406)
Char.SetDecisionMaker(118@, 159@)
Char.GiveWeapon(118@, WeaponType.M4, 9999)
Task.StayInSamePlace(118@, True)
Char.SetHealth(118@, 50)
Char.SetAccuracy(118@, 30)
119@ = Char.Create(PedType.Mission1, 287, 279.2344, 1901.905, 16.6406)
Char.SetDecisionMaker(119@, 159@)
Char.GiveWeapon(119@, WeaponType.M4, 9999)
Task.StayInSamePlace(119@, True)
Char.SetHealth(119@, 50)
Char.SetAccuracy(119@, 40)
120@ = Char.Create(PedType.Mission1, 287, 254.6844, 1907.714, 19.4742)
Char.SetDecisionMaker(120@, 159@)
Char.GiveWeapon(120@, WeaponType.M4, 9999)
Task.StayInSamePlace(120@, True)
Char.SetHealth(120@, 50)
Char.SetAccuracy(120@, 30)
Object.Delete(143@)
143@ = Object.CreateNoOffset(#A51_LABDOOR, 268.66, 1864.059, 7.5)
TIMERA = 0
184@ = 6

:MAF4_26071
if 
  189@ == 1
goto_if_false @MAF4_26160
if 
  Object.DoesExist($2674)
goto_if_false @MAF4_26160
if 
  Object.Slide($2674, 276.14, 1884.06, 15.924, 0.05, 0.0, 0.0, False)
goto_if_false @MAF4_26160
189@ = 2

:MAF4_26160
if 
  184@ == 6
goto_if_false @MAF4_26237
if 
  TIMERA > 1000
goto_if_false @MAF4_26237
Camera.PointAtPoint(268.5247, 1886.084, -28.5841, SwitchType.Interpolation)
189@ = 1
TIMERA = 0
184@ = 7

:MAF4_26237
if 
  184@ == 7
goto_if_false @MAF4_26649
if 
  TIMERA > 4000
goto_if_false @MAF4_26649
Weather.ForceNow(WeatherType.SunnyDesert)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi, 200)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Object.SetCoordinates($2674, 276.14, 1884.06, 15.924)
Pad.SetPlayerEnterCarButton($statbike_temp, False)
Text.ClearPrints
Blip.Remove(228@)
Hud.SetRadarZoom(0)
228@ = Blip.AddForCoord(268.9, 1884.33, 19.91)
109@ = Char.Create(PedType.Mission1, 287, 271.62, 1878.08, -2.32)
Char.SetDecisionMaker(109@, 159@)
Char.SetHeading(109@, 212.7731)
Char.GiveWeapon(109@, WeaponType.M4, 9999)
Task.StayInSamePlace(109@, True)
Char.SetHealth(109@, 50)
Char.SetAccuracy(109@, 30)
set_lvar_int_to_lvar_int 153@ = 109@
gosub @MAF4_29827
110@ = Char.Create(PedType.Mission1, 287, 266.112, 1876.84, 7.44)
Char.SetDecisionMaker(110@, 159@)
Char.SetHeading(110@, 328.04)
Char.GiveWeapon(110@, WeaponType.M4, 9999)
Task.StayInSamePlace(110@, True)
Char.SetHealth(110@, 50)
Char.SetAccuracy(110@, 30)
set_lvar_int_to_lvar_int 153@ = 110@
gosub @MAF4_29827
111@ = Char.Create(PedType.Mission1, 287, 274.432, 1888.28, 3.21)
Char.SetDecisionMaker(111@, 159@)
Char.SetHeading(111@, 328.0)
Char.GiveWeapon(111@, WeaponType.M4, 9999)
Task.StayInSamePlace(111@, True)
Char.SetHealth(111@, 50)
Char.SetAccuracy(111@, 30)
set_lvar_int_to_lvar_int 153@ = 111@
gosub @MAF4_29827
183@ = 2
188@ = 1
184@ = 8

:MAF4_26649
if 
  183@ == 2
goto_if_false @MAF4_29435
if 
  187@ == 3
goto_if_false @MAF4_26887
gosub @MAF4_29484
if 
  196@ == 0
goto_if_false @MAF4_26757
if 
  197@ == 0
goto_if_false @MAF4_26757
set_lvar_int_to_constant 156@ = 13638
set_lvar_text_label 157@s = 'DST8_35'
gosub @MAF4_29442

:MAF4_26757
if 
  196@ == 1
goto_if_false @MAF4_26822
if 
  197@ == 0
goto_if_false @MAF4_26822
set_lvar_int_to_constant 156@ = 13639
set_lvar_text_label 157@s = 'DES8_JB'
gosub @MAF4_29442

:MAF4_26822
if 
  196@ == 2
goto_if_false @MAF4_26887
if 
  197@ == 0
goto_if_false @MAF4_26887
set_lvar_int_to_constant 156@ = 13640
set_lvar_text_label 157@s = 'DES8_JC'
gosub @MAF4_29442

:MAF4_26887
if 
  8 > 188@
goto_if_false @MAF4_27320
if 
  188@ == 1
goto_if_false @MAF4_26948
Text.PrintHelp('DST8_27')
TIMERB = 0
188@ = 2

:MAF4_26948
if 
  188@ == 2
goto_if_false @MAF4_27010
if 
  TIMERB > 6000
goto_if_false @MAF4_27010
Text.PrintHelp('DST8_28')
TIMERB = 0
188@ = 3

:MAF4_27010
if 
  188@ == 3
goto_if_false @MAF4_27072
if 
  TIMERB > 6000
goto_if_false @MAF4_27072
Text.PrintHelp('DST8_29')
TIMERB = 0
188@ = 4

:MAF4_27072
if 
  188@ == 4
goto_if_false @MAF4_27134
if 
  TIMERB > 6000
goto_if_false @MAF4_27134
Text.PrintHelp('DST8_30')
TIMERB = 0
188@ = 5

:MAF4_27134
if 
  188@ == 5
goto_if_false @MAF4_27196
if 
  TIMERB > 6000
goto_if_false @MAF4_27196
Text.PrintHelp('DST8_31')
TIMERB = 0
188@ = 6

:MAF4_27196
if 
  188@ == 6
goto_if_false @MAF4_27258
if 
  TIMERB > 6000
goto_if_false @MAF4_27258
Text.PrintHelp('DST8_32')
TIMERB = 0
188@ = 7

:MAF4_27258
if 
  188@ == 7
goto_if_false @MAF4_27320
if 
  TIMERB > 6000
goto_if_false @MAF4_27320
Text.PrintHelp('DST8_33')
TIMERB = 0
188@ = 8

:MAF4_27320
if 
  184@ == 8
goto_if_false @MAF4_28275
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 268.73, 1883.96, 17.85, 30.0, 30.0, 10.0, False)
goto_if_false @MAF4_28275
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1006)
187@ = 3
196@ = 0
197@ = 0
Audio.ReportMissionAudioEventAtPosition(268.73, 1883.96, 17.85, 1005)
42@ = Object.CreateNoOffset(#A51_SPOTBULB, 103.946, 1901.047, 36.246)
92@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 103.946, 1901.047, 36.246)
93@ = Object.CreateNoOffset(#A51_SPOTBASE, 103.946, 1901.047, 36.246)
Object.SetHealth(42@, 5000)
Object.SetOnlyDamagedByPlayer(42@, True)
43@ = Object.CreateNoOffset(#A51_SPOTBULB, 161.962, 1933.043, 36.246)
94@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 161.962, 1933.043, 36.246)
95@ = Object.CreateNoOffset(#A51_SPOTBASE, 161.962, 1933.043, 36.246)
Object.SetHealth(43@, 5000)
Object.SetOnlyDamagedByPlayer(43@, True)
44@ = Object.CreateNoOffset(#A51_SPOTBULB, 233.486, 1934.789, 36.246)
96@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 233.486, 1934.789, 36.246)
97@ = Object.CreateNoOffset(#A51_SPOTBASE, 233.486, 1934.789, 36.246)
Object.SetHealth(44@, 5000)
Object.SetOnlyDamagedByPlayer(44@, True)
45@ = Object.CreateNoOffset(#A51_SPOTBULB, 267.116, 1895.241, 36.246)
98@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 267.116, 1895.241, 36.246)
99@ = Object.CreateNoOffset(#A51_SPOTBASE, 267.116, 1895.241, 36.246)
Object.SetHealth(45@, 5000)
Object.SetOnlyDamagedByPlayer(45@, True)
46@ = Object.CreateNoOffset(#A51_SPOTBULB, 262.145, 1807.62, 36.246)
100@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 262.145, 1807.62, 36.246)
101@ = Object.CreateNoOffset(#A51_SPOTBASE, 262.145, 1807.62, 36.246)
Object.SetHealth(46@, 5000)
Object.SetOnlyDamagedByPlayer(46@, True)
47@ = Object.CreateNoOffset(#A51_SPOTBULB, 166.003, 1849.937, 36.246)
102@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 166.003, 1849.937, 36.246)
103@ = Object.CreateNoOffset(#A51_SPOTBASE, 166.003, 1849.937, 36.246)
Object.SetHealth(47@, 5000)
Object.SetOnlyDamagedByPlayer(47@, True)
48@ = Object.CreateNoOffset(#A51_SPOTBULB, 113.439, 1814.405, 36.246)
104@ = Object.CreateNoOffset(#A51_SPOTHOUSING, 113.439, 1814.405, 36.246)
105@ = Object.CreateNoOffset(#A51_SPOTBASE, 113.439, 1814.405, 36.246)
Object.SetHealth(48@, 5000)
Object.SetOnlyDamagedByPlayer(48@, True)
165@ = 0

:MAF4_28042
if 
  22 > 165@
goto_if_false @MAF4_28106
if 
  not Char.IsDead(109@(165@,22i))
goto_if_false @MAF4_28092
Task.KillCharOnFoot(109@(165@,22i), $stattreadstamina_ctr)

:MAF4_28092
165@ += 1
goto @MAF4_28042

:MAF4_28106
Blip.Remove(228@)
228@ = Blip.AddForCoord(-794.8, 2425.184, 156.124)
Text.PrintNow('DST8_35', 7000, 1)
107@ = Car.Create(483, -783.169, 2430.03, 156.23)
Car.FreezePositionAndDontLoadCollision(107@, True)
Car.SetHeading(107@, 171.04)
Car.ChangeColor(107@, 1, 1)
Car.GivePaintjob(107@, 0)
106@ = Char.CreateInsideCar(107@, PedType.Special, 290)
Char.SetDecisionMaker(106@, 159@)
Car.SetProofs(107@, True, True, True, True, True)
Char.SetProofs(106@, True, True, True, True, True)
Car.SetIsConsideredByPlayer(107@, False)
190@ = 1
184@ = 9

:MAF4_28275
if 
  184@ == 9
goto_if_false @MAF4_28396
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 276.14, 1884.06, 100.0, 100.0, False)
goto_if_false @MAF4_28396
165@ = 0

:MAF4_28338
if 
  22 > 165@
goto_if_false @MAF4_28389
Char.MarkAsNoLongerNeeded(109@(165@,22i))
Streaming.MarkModelAsNoLongerNeeded(287)
Streaming.MarkModelAsNoLongerNeeded(356)
165@ += 1
goto @MAF4_28338

:MAF4_28389
184@ = 10

:MAF4_28396
if 
  190@ == 1
goto_if_false @MAF4_28544
if 
  not Char.IsDead(106@)
goto_if_false @MAF4_28544
if 
  Char.LocateAnyMeansChar2D(106@, $stattreadstamina_ctr, 200.0, 200.0, False)
goto_if_false @MAF4_28544
Audio.ReportMissionAudioEventAtPosition(268.73, 1883.96, 17.85, 1006)
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_28504
Car.FreezePositionAndDontLoadCollision(107@, False)

:MAF4_28504
108@ = Car.Create(468, -776.66, 2426.41, 156.11)
Car.SetHeading(108@, 175.776)
190@ = 2

:MAF4_28544
if 
  190@ == 2
goto_if_false @MAF4_28772
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -791.14, 2425.33, 156.2, 3.0, 3.0, 3.0, True)
goto_if_false @MAF4_28772
World.ClearArea(-810.94, 2360.42, 150.81, 200.0, True)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.DoFade(500, Fade.Out)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41431)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 13644)

:MAF4_28676
if or
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @MAF4_28706
wait 0
goto @MAF4_28676

:MAF4_28706
if 
  Camera.GetFadingStatus
goto_if_false @MAF4_28730
wait 0
goto @MAF4_28706

:MAF4_28730
Char.SetCoordinates($stattreadstamina_ctr, -791.178, 2425.34, 156.16)
Char.SetHeading($stattreadstamina_ctr, 256.615)
Char.ClearTasksImmediately($stattreadstamina_ctr)
190@ = 3

:MAF4_28772
if 
  190@ == 3
goto_if_false @MAF4_29318
Camera.SetFixedPosition(-785.0004, 2435.679, 157.5931, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-784.9536, 2434.682, 157.5342, SwitchType.JumpCut)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Camera.DoFade(250, Fade.In)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('TRUX_BH', 2000, 1)

:MAF4_28875
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MAF4_28901
wait 0
goto @MAF4_28875

:MAF4_28901
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 41432)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('DES8_MB', 3000, 1)
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)

:MAF4_28972
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @MAF4_28998
wait 0
goto @MAF4_28972

:MAF4_28998
Char.ClearTasksImmediately($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 13645)

:MAF4_29014
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MAF4_29040
wait 0
goto @MAF4_29014

:MAF4_29040
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DES8_MC', 3000, 1)

:MAF4_29060
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MAF4_29086
wait 0
goto @MAF4_29060

:MAF4_29086
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 13646)
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_29147
Car.GotoCoordinates(107@, -810.94, 2360.42, 150.81)
TIMERA = 0
190@ = 4

:MAF4_29147
if 
  not Car.IsDead(107@)
goto_if_false @MAF4_29174
Task.LookAtVehicle($stattreadstamina_ctr, 107@, 5000)

:MAF4_29174
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @MAF4_29200
wait 0
goto @MAF4_29174

:MAF4_29200
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('DES8_MD', 2000, 1)

:MAF4_29220
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @MAF4_29246
wait 0
goto @MAF4_29220

:MAF4_29246
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MAF4_29272
wait 0
goto @MAF4_29246

:MAF4_29272
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DES8_ME', 2000, 1)

:MAF4_29292
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MAF4_29318
wait 0
goto @MAF4_29292

:MAF4_29318
if 
  190@ == 4
goto_if_false @MAF4_29435
if 
  TIMERA > 2000
goto_if_false @MAF4_29435
Camera.DoFade(500, Fade.Out)

:MAF4_29362
if 
  Camera.GetFadingStatus
goto_if_false @MAF4_29386
wait 0
goto @MAF4_29362

:MAF4_29386
Char.ClearTasksImmediately($stattreadstamina_ctr)
Car.Delete(107@)
Char.Delete(106@)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.DoFade(500, Fade.In)
goto @MAF4_29935
190@ = 5

:MAF4_29435
goto @MAF4_1996

:MAF4_29442
if 
  197@ == 0
goto_if_false @MAF4_29482
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 156@)
set_lvar_text_label 154@s = 157@s
197@ = 1

:MAF4_29482
return 

:MAF4_29484
if 
  197@ == 1
goto_if_false @MAF4_29563
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MAF4_29563
if 
  not is_lvar_text_label_equal_to_text_label 154@s == 'DUMMY'
goto_if_false @MAF4_29552
Text.PrintNow(154@s, 4000, 1)

:MAF4_29552
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
197@ = 2

:MAF4_29563
if 
  197@ == 2
goto_if_false @MAF4_29630
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @MAF4_29630
196@ += 1
199@ += 1
201@ += 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
197@ = 0

:MAF4_29630
return 

:MAF4_29632
165@ = 0

:MAF4_29639
if 
  7 > 165@
goto_if_false @MAF4_29747
if 
  Searchlight.DoesExist(35@(165@,7i))
goto_if_false @MAF4_29733
Searchlight.MoveBetweenCoords(35@(165@,7i), 49@(165@,7f), 56@(165@,7f), 63@(165@,7f), 70@(165@,7f), 77@(165@,7f), 84@(165@,7f), 0.3)

:MAF4_29733
165@ += 1
goto @MAF4_29639

:MAF4_29747
return 

:MAF4_29749
166@ = 0

:MAF4_29756
if 
  7 > 166@
goto_if_false @MAF4_29825
if 
  Searchlight.DoesExist(35@(166@,7i))
goto_if_false @MAF4_29811
Searchlight.PointAtChar(35@(166@,7i), $stattreadstamina_ctr, 0.125)

:MAF4_29811
166@ += 1
goto @MAF4_29756

:MAF4_29825
return 

:MAF4_29827
152@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(152@)
Char.PerformSequence(153@, 152@)
Sequence.Clear(152@)
return 

:MAF4_29865
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Object.Delete($5181)
$5181 = Object.Create(#A51_VENTCOVERB, 245.968, 1862.843, 19.49)
Object.SetRotation($5181, 0.0, 0.0, -140.998)
Object.DontRemove($5181)
return 

:MAF4_29935
$flag_casino_mission_counter += 1
Stat.SetInt(StatId.PassedDesert8, 1)
$3246 = Pickup.CreateWithAmmo(351, PickupType.OnStreetSlow, 30, 297.8289, 1846.623, 6.7266)
$3247 = Pickup.CreateWithAmmo(370, PickupType.OnStreetSlow, 0, 268.7, 1884.1, -30.085)
$3347 = Pickup.Create(#BODYARMOUR, PickupType.OnStreetSlow, 266.2813, 1816.398, 1.594)
$3253 = Pickup.CreateWithAmmo(369, PickupType.Once, 1, 212.8813, 1811.005, 21.4187)
$3254 = Pickup.CreateWithAmmo(369, PickupType.Once, 1, 1270.52, -795.5929, 1084.254)
$3255 = Pickup.CreateWithAmmo(369, PickupType.Once, 1, -350.499, 1608.437, 75.642)
$3256 = Pickup.CreateWithAmmo(369, PickupType.Once, 1, -2224.68, 129.1278, 1035.62)
Blip.Remove($heist_contact_blip)
Stat.RegisterMissionPassed('DESERT8')
Audio.PlayMissionPassedTune(1)
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSD', 1, 5000, TextStyle.Middle)
Player.ClearWantedLevel($statbike_temp)
Blip.Remove($heist_contact_blip)
return 

:MAF4_30189
$weapon_shop1_blip = 0
Streaming.MarkModelAsNoLongerNeeded(287)
Streaming.MarkModelAsNoLongerNeeded(356)
Streaming.MarkModelAsNoLongerNeeded(#A51_SPOTBULB)
Streaming.MarkModelAsNoLongerNeeded(#A51_SPOTHOUSING)
Streaming.MarkModelAsNoLongerNeeded(#A51_SPOTBASE)
Streaming.MarkModelAsNoLongerNeeded(483)
Streaming.MarkModelAsNoLongerNeeded(335)
Streaming.MarkModelAsNoLongerNeeded(347)
Streaming.MarkModelAsNoLongerNeeded(583)
Streaming.MarkModelAsNoLongerNeeded(70)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(358)
Streaming.MarkModelAsNoLongerNeeded(369)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Hud.SetRadarZoom(0)
Weather.Release
Player.ForceInteriorLighting($statbike_temp, False)
Zone.SetDisableMilitaryZones(False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MAF4_30326
Char.ShutUp($stattreadstamina_ctr, False)
Pad.SetPlayerEnterCarButton($statbike_temp, False)

:MAF4_30326
Char.MarkAsNoLongerNeeded(106@)
Streaming.UnloadSpecialCharacter(1)
Object.Delete(143@)
Pickup.Remove(144@)
Pickup.Remove(145@)
Pickup.Remove(146@)
Pickup.Remove(147@)
Pickup.Remove(148@)
Pickup.Remove(149@)
Pickup.Remove(150@)
Pickup.Remove(151@)
Game.ShowBlipsOnAllLevels(False)
if 
  Object.DoesExist($2674)
goto_if_false @MAF4_30420
Object.SetCoordinates($2674, 268.664, 1884.06, 15.925)

:MAF4_30420
Object.Delete($init_portakabin)
Object.Delete($2672)
$init_portakabin = Object.CreateNoOffset(#A51_BLASTDOORR, 215.941, 1874.571, 13.903)
Object.SetHeading($init_portakabin, 0.0)
$2672 = Object.CreateNoOffset(#A51_BLASTDOORL, 211.842, 1874.571, 13.903)
Object.SetHeading($2672, 0.0)
Object.DontRemove($init_portakabin)
Object.DontRemove($2672)
165@ = 0

:MAF4_30511
if 
  22 > 165@
goto_if_false @MAF4_30552
Blip.Remove(205@(165@,22i))
165@ += 1
goto @MAF4_30511

:MAF4_30552
Blip.Remove(227@)
Blip.Remove(228@)
Blip.Remove(229@)
165@ = 0

:MAF4_30574
if 
  7 > 165@
goto_if_false @MAF4_30624
Searchlight.Delete(35@(165@,7i))
Object.Delete(42@(165@,7i))
165@ += 1
goto @MAF4_30574

:MAF4_30624
Object.Delete(92@)
Object.Delete(93@)
Object.Delete(94@)
Object.Delete(95@)
Object.Delete(96@)
Object.Delete(97@)
Object.Delete(98@)
Object.Delete(99@)
Object.Delete(100@)
Object.Delete(101@)
Object.Delete(102@)
Object.Delete(103@)
Object.Delete(104@)
Object.Delete(105@)
Weather.Release
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Game.SetArea51SamSite(True)
Game.SetWantedMultiplier(1.0)
Weather.Release
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 82---------------
// Originally: Green Goo

:DES10
gosub @DES10_36
if 
  has_deatharrest_been_executed 
goto_if_false @DES10_27
gosub @DES10_4112

:DES10_27
gosub @DES10_4515
terminate_this_script 

:DES10_36
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
script_name 'DES10'
wait 0
Text.LoadMissionText('DSERT10')
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
Player.MakeGangDisappear
57@ = Stat.GetInt(StatId.Fat)
if 
  57@ > 600
goto_if_false @DES10_330
Cutscene.Load('D10_ALT')

:DES10_114
if 
  not Cutscene.HasLoaded
goto_if_false @DES10_138
wait 0
goto @DES10_114

:DES10_138
World.ClearArea(405.2136, 2525.9, 16.4918, 7.5, False)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DES10_171
if 
  not Cutscene.HasFinished
goto_if_false @DES10_195
wait 0
goto @DES10_171

:DES10_195
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:DES10_208
if 
  Camera.GetFadingStatus
goto_if_false @DES10_232
wait 0
goto @DES10_208

:DES10_232
Cutscene.Clear
World.ClearArea(419.4488, 2529.914, 15.6219, 0.5, False)
Streaming.LoadScene(419.4488, 2529.914, 15.6219)
Char.SetCoordinates($stattreadstamina_ctr, 419.4488, 2529.914, 15.6219)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Camera.SetBehindPlayer
Camera.DoFade(1500, Fade.In)
Player.SetControl($statbike_temp, True)
return 
goto @DES10_461

:DES10_330
Cutscene.Load('DES_10A')

:DES10_341
if 
  not Cutscene.HasLoaded
goto_if_false @DES10_365
wait 0
goto @DES10_341

:DES10_365
World.ClearArea(419.6919, 2529.914, 16.6612, 6.86, False)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DES10_398
if 
  not Cutscene.HasFinished
goto_if_false @DES10_422
wait 0
goto @DES10_398

:DES10_422
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:DES10_435
if 
  Camera.GetFadingStatus
goto_if_false @DES10_459
wait 0
goto @DES10_435

:DES10_459
Cutscene.Clear

:DES10_461
Weather.Release
Streaming.RequestModel(352)
Streaming.RequestModel(537)
Streaming.RequestModel(569)
Streaming.RequestModel(353)
Streaming.RequestModel(432)
Streaming.RequestModel(287)
Streaming.RequestModel(370)
Streaming.LoadAllModelsNow

:DES10_500
if or
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(537)
  not Streaming.HasModelLoaded(569)
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(432)
  not Streaming.HasModelLoaded(287)
goto_if_false @DES10_552
wait 0
goto @DES10_500

:DES10_552
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @DES10_579
wait 0
goto @DES10_552

:DES10_579
Game.SwitchRandomTrains(False)
World.ClearArea(419.4488, 2529.914, 15.6219, 0.5, False)
Streaming.LoadScene(419.4488, 2529.914, 15.6219)
Char.SetCoordinates($stattreadstamina_ctr, 419.4488, 2529.914, 15.6219)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Camera.SetBehindPlayer
Game.SetRelationship(RelationshipType.Like, PedType.Gang8, PedType.Player1)
//Task.Jetpack($stattreadstamina_ctr)
//Char.GiveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi, 2000)

:DES10_678
if 
  not Streaming.HasModelLoaded(370)
goto_if_false @DES10_705
wait 0
goto @DES10_678

:DES10_705
Player.MakeGangReappear
Camera.DoFade(1500, Fade.In)
Player.SetControl($statbike_temp, True)
58@ = Train.Create(13, 2120.257, 2694.058, 9.8359, False)
Car.LockDoors(58@, CarLock.Locked)
Train.SetSpeed(58@, 5.0)
Train.SetCruiseSpeed(58@, 5.0)
Text.PrintNow('DE10_01', 5000, 1)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(58@)
$in_carX += 10.0
44@ = 0

:DES10_819
if 
  12 > 44@
goto_if_false @DES10_960
66@(44@,12i) = Char.Create(PedType.CivMale, 287, $on_footY, $on_footZ, $in_carX)
Task.StayInSamePlace(66@(44@,12i), True)
Char.SetOnlyDamagedByPlayer(66@(44@,12i), True)
Char.GiveWeapon(66@(44@,12i), WeaponType.Mp5, 9999)
Task.KillCharOnFoot(66@(44@,12i), $stattreadstamina_ctr)
Char.SetRelationship(66@(44@,12i), RelationshipType.Hate, PedType.Player1)
Char.SetSenseRange(66@(44@,12i), 150.0)
Char.SetLoadCollisionFlag(66@(44@,12i), False)
44@ += 1
goto @DES10_819

:DES10_960
Char.AttachToCar(66@, 58@, -0.0032, -8.3584, -0.055, 3, 360.0, WeaponType.Mp5)
Char.AttachToCar(67@, 58@, 0.1129, 6.521, 1.9285, 1, 360.0, WeaponType.Mp5)
59@ = Train.GetCarriage(58@, 1)
Char.AttachToCar(68@, 59@, -0.014, -7.179, -0.055, 3, 360.0, WeaponType.Mp5)
Char.AttachToCar(69@, 59@, -1.0891, 0.6968, -0.055, 1, 360.0, WeaponType.Mp5)
78@ = Object.CreateNoOffset(#KMILITARY_CRATE, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(78@, 59@, -0.0485, 5.578, -1.0661, 0.0, 0.0, 90.1967)
Object.MakeTargetable(78@, True)
Object.SetHealth(78@, 180)
81@ = Blip.AddForObject(78@)
84@ = Object.CreateNoOffset(#KMILITARY_BASE, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(84@, 59@, -0.0485, 5.578, -1.0661, 0.0, 0.0, 90.1967)
85@ = Object.CreateNoOffset(#BLOCKPALLET, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(85@, 59@, 0.2634, 1.2508, -0.3321, 0.0, 0.0, 90.1967)
86@ = Object.CreateNoOffset(#TEMP_CRATE1, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(86@, 59@, 1.1025, -7.3122, -1.0766, 0.0, 0.0, 90.1967)
87@ = Object.CreateNoOffset(#TEMP_CRATE1, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(87@, 59@, 0.8835, -6.5365, -1.1047, 0.0, 0.0, 93.7464)
88@ = Object.CreateNoOffset(#TEMP_CRATE1, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(88@, 59@, 1.1395, -5.6969, -1.0827, 0.0, 0.0, 83.6459)
89@ = Object.CreateNoOffset(#K_SMASHBOXES, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(89@, 59@, 0.4817, -1.5356, -1.0651, 0.0, 0.0, 93.1856)
60@ = Train.GetCarriage(58@, 2)
Char.AttachToCar(70@, 60@, -0.014, -7.179, -0.055, 3, 360.0, WeaponType.Mp5)
Char.AttachToCar(71@, 60@, -1.0891, 0.6968, -0.055, 1, 360.0, WeaponType.Mp5)
61@ = Train.GetCarriage(58@, 3)
Char.AttachToCar(72@, 61@, 0.3372, -1.3877, -0.055, 3, 360.0, WeaponType.Mp5)
Char.AttachToCar(73@, 61@, -0.0956, 2.1291, -0.055, 3, 360.0, WeaponType.Mp5)
79@ = Object.CreateNoOffset(#KMILITARY_CRATE, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(79@, 61@, -0.0403, 4.0293, -1.0661, 0.0, 0.0, 90.1967)
Object.MakeTargetable(79@, True)
Object.SetHealth(79@, 180)
82@ = Blip.AddForObject(79@)
90@ = Object.CreateNoOffset(#KMILITARY_BASE, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(90@, 61@, -0.0403, 4.0293, -1.0661, 0.0, 0.0, 2.7605)
91@ = Object.CreateNoOffset(#K_CARGO1, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(91@, 61@, -0.0177, 0.6971, -1.0662, 0.0, 0.0, 91.0)
92@ = Object.CreateNoOffset(#K_SMASHBOXES, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(92@, 61@, -0.0228, -2.9213, -1.0651, 0.0, 0.0, 87.9095)
93@ = Object.CreateNoOffset(#K_SMASHBOXES, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(93@, 61@, 0.1054, 6.4364, -1.0651, 0.0, 0.0, 89.7187)
96@ = Object.CreateNoOffset(#K_CARGO4, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(96@, 61@, 0.4192, -6.0624, -1.0628, 0.0, 0.0, 2.7605)
62@ = Train.GetCarriage(58@, 4)
Char.AttachToCar(74@, 62@, -0.516, 7.4724, -0.055, 3, 360.0, WeaponType.Mp5)
103@ = Car.Create(432, $on_footY, $on_footZ, $in_carX)
Car.LockDoors(103@, CarLock.Locked)
Car.AttachToCar(103@, 62@, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
63@ = Train.GetCarriage(58@, 5)
Char.AttachToCar(75@, 63@, 0.2861, -5.3712, -0.055, 3, 360.0, WeaponType.Mp5)
Char.AttachToCar(76@, 63@, -0.2277, 7.3808, -0.055, 3, 360.0, WeaponType.Mp5)
Char.AttachToCar(77@, 63@, 0.6604, 3.8015, -0.055, 3, 360.0, WeaponType.Mp5)
80@ = Object.CreateNoOffset(#KMILITARY_CRATE, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(80@, 63@, 0.0853, 5.9501, -1.0583, 0.0, 0.0, 90.1967)
Object.MakeTargetable(80@, True)
Object.SetHealth(80@, 180)
83@ = Blip.AddForObject(80@)
97@ = Object.CreateNoOffset(#KMILITARY_BASE, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(97@, 63@, 0.0853, 5.9501, -1.0583, 0.0, 0.0, 92.239)
98@ = Object.CreateNoOffset(#K_CARGO4, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(98@, 63@, -0.8464, -6.5879, -1.0628, 0.0, 0.0, 0.12)
100@ = Object.CreateNoOffset(#K_CARGO1, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(100@, 63@, 0.8877, 0.1707, -1.0564, 0.0, 0.0, 177.5167)
101@ = Object.CreateNoOffset(#K_CARGO1, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(101@, 63@, -0.6907, 0.205, -1.0662, 0.0, 0.0, 179.6863)
102@ = Object.CreateNoOffset(#K_CARGO1, $on_footY, $on_footZ, $in_carX)
Object.AttachToCar(102@, 63@, 0.0036, 2.2326, -1.0644, 0.0, 0.0, 267.6086)
104@ = 0
105@ = 0
106@ = 0
107@ = 0
108@ = 0
$RStickY = Clock.GetGameTimer()
set_lvar_int_to_var_int 36@ = $RStickY
36@ += 600000
35@ = 0
109@ = 0
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 40600)

:DES10_2651
wait 0
$RStickY = Clock.GetGameTimer()
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DES10_2682
goto @DES10_4130

:DES10_2682
if 
  not Car.IsDead(58@)
goto_if_false @DES10_2708
Train.SetCruiseSpeed(58@, 10.0)

:DES10_2708
if 
  109@ == 0
goto_if_false @DES10_2780
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 58@, 150.0, 150.0, False)
goto_if_false @DES10_2780
Text.PrintNow('DE10_06', 5000, 1)
109@ += 1

:DES10_2780
44@ = 0

:DES10_2787
if 
  3 > 44@
goto_if_false @DES10_3998
if 
  104@(44@,3i) == 0
goto_if_false @DES10_2865
if 
  Object.DoesExist(78@(44@,3i))
goto_if_false @DES10_2865
107@ += 1
104@(44@,3i) += 1

:DES10_2865
if 
  104@(44@,3i) == 1
goto_if_false @DES10_2934
if 
  Object.HasBeenDamaged(78@(44@,3i))
goto_if_false @DES10_2934
Blip.Remove(81@(44@,3i))
108@ += 1
104@(44@,3i) += 1

:DES10_2934
if 
  104@(44@,3i) == 2
goto_if_false @DES10_3393
if 
  is_int_lvar_equal_to_int_lvar 108@ == 107@
goto_if_false @DES10_3357
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(78@(44@,3i))
$in_carX += 1.0
Object.Delete(78@(44@,3i))
78@(44@,3i) = Object.CreateNoOffset(#GREEN_GLOOP, $on_footY, $on_footZ, $in_carX)
if 
  44@ == 0
goto_if_false @DES10_3116
if 
  not Car.IsDead(59@)
goto_if_false @DES10_3109
Object.AttachToCar(78@(44@,3i), 59@, -0.0485, 5.578, -0.0661, 0.0, 0.0, 90.1967)

:DES10_3109
goto @DES10_3257

:DES10_3116
if 
  44@ == 1
goto_if_false @DES10_3199
if 
  not Car.IsDead(61@)
goto_if_false @DES10_3192
Object.AttachToCar(78@(44@,3i), 61@, -0.0485, 5.578, -0.0661, 0.0, 0.0, 90.1967)

:DES10_3192
goto @DES10_3257

:DES10_3199
if 
  not Car.IsDead(63@)
goto_if_false @DES10_3257
Object.AttachToCar(78@(44@,3i), 63@, -0.0485, 5.578, -0.0661, 0.0, 0.0, 90.1967)

:DES10_3257
Object.SetCollision(78@(44@,3i), False)
81@(44@,3i) = Blip.AddForObject(78@(44@,3i))
Text.PrintNow('DE10_02', 5000, 1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 40600)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DES10_3339
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot3, 78@(44@,3i))
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:DES10_3339
104@(44@,3i) = 4
goto @DES10_3393

:DES10_3357
Object.MarkAsNoLongerNeeded(78@(44@,3i))
Text.PrintNow('DE10_03', 5000, 1)
104@(44@,3i) += 1

:DES10_3393
if 
  104@(44@,3i) == 4
goto_if_false @DES10_3660
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(78@(44@,3i))
add_float_lvar_to_float_lvar 110@ += 111@
if 
  110@ > 0.2
goto_if_false @DES10_3472
111@ = -0.01

:DES10_3472
if 
  0.0 > 110@
goto_if_false @DES10_3513
110@ = 0.0
111@ = 0.01

:DES10_3513
Fx.DrawWeaponshopCorona($on_footY, $on_footZ, $in_carX, 110@, CoronaType.Moon, FlareType.Headlights, 0, 255, 0)
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 1.5, 1.5, 1.5, False)
goto_if_false @DES10_3660
Object.Delete(78@(44@,3i))
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Text.PrintNow('DE10_04', 5000, 1)
Blip.Remove(81@(44@,3i))
81@(44@,3i) = Blip.AddForCoord(408.7383, 2515.838, 15.4918)
104@(44@,3i) += 1
35@ += 1

:DES10_3660
if 
  104@(44@,3i) == 5
goto_if_false @DES10_3984
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 408.7383, 2515.838, 15.4918, 1.5, 1.5, 1.5, True)
goto_if_false @DES10_3984
Camera.DoFade(1000, Fade.Out)

:DES10_3737
if 
  Camera.GetFadingStatus
goto_if_false @DES10_3761
wait 0
goto @DES10_3737

:DES10_3761
Char.ClearTasksImmediately($stattreadstamina_ctr)
Cutscene.Load('DES_10B')

:DES10_3777
if 
  not Cutscene.HasLoaded
goto_if_false @DES10_3801
wait 0
goto @DES10_3777

:DES10_3801
World.ClearArea(398.7038, 2529.735, 16.563, 150.0, False)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DES10_3834
if 
  not Cutscene.HasFinished
goto_if_false @DES10_3858
wait 0
goto @DES10_3834

:DES10_3858
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:DES10_3871
if 
  Camera.GetFadingStatus
goto_if_false @DES10_3895
wait 0
goto @DES10_3871

:DES10_3895
Cutscene.Clear
World.ClearArea(402.8737, 2531.582, 15.5558, 0.5, False)
Streaming.LoadScene(402.8737, 2531.582, 15.5558)
Char.SetCoordinates($stattreadstamina_ctr, 402.8737, 2531.582, 15.5558)
Char.SetHeading($stattreadstamina_ctr, 224.0)
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
goto @DES10_4130

:DES10_3984
44@ += 1
goto @DES10_2787

:DES10_3998
if 
  35@ == 0
goto_if_false @DES10_4105
if 
  not Car.IsDead(58@)
goto_if_false @DES10_4105
if 
  is_int_var_greater_than_int_lvar $RStickY > 36@
goto_if_false @DES10_4105
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 58@, 300.0, 300.0, False)
goto_if_false @DES10_4105
Text.PrintNow('DE10_05', 5000, 1)
goto @DES10_4112

:DES10_4105
goto @DES10_2651

:DES10_4112
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:DES10_4130
$d5_pitch_diff = 10000
112@ = Pickup.Create(370, PickupType.OnStreetSlow, 431.045, 2537.78, 16.2463)
$d5_pitch_progress = Pickup.CreateProtection(420.5204, 2532.687, 16.0869, $d5_pitch_diff, $d5_pitch_diff)
Player.SetControl($statbike_temp, False)
wait 0
Hud.SwitchWidescreen(True)
Streaming.LoadScene(407.8369, 2515.65, 18.9138)
Camera.SetFixedPosition(407.8369, 2515.65, 18.9138, 0.0, 0.0, 0.0)
Camera.PointAtPoint(408.3296, 2516.52, 18.9449, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:DES10_4279
if 
  Camera.GetFadingStatus
goto_if_false @DES10_4303
wait 0
goto @DES10_4279

:DES10_4303
Audio.PlayMissionPassedTune(1)
Text.PrintBig('ASS_ACQ', 5000, TextStyle.WhiteMiddleSmaller)
wait 5000
Camera.SetFixedPosition(419.7284, 2526.546, 16.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(419.897, 2527.531, 16.8356, SwitchType.JumpCut)
Text.PrintWithNumberNow('ASS_LUV', $d5_pitch_diff, 6000, 1)
wait 6000
Camera.DoFade(500, Fade.Out)

:DES10_4410
if 
  Camera.GetFadingStatus
goto_if_false @DES10_4434
wait 0
goto @DES10_4410

:DES10_4434
Camera.DoFade(500, Fade.In)
Stat.SetInt(StatId.PassedDesert10, 1)
Camera.RestoreJumpcut
$flag_casino_mission_counter += 1
Text.PrintWithNumberBig('M_PASS', 20000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 20000)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('DESER10')
Stat.PlayerMadeProgress(1)
Blip.Remove($heist_contact_blip)
return 

:DES10_4515
if 
  is_int_lvar_equal_to_int_lvar 108@ == 107@
goto_if_false @DES10_4538
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:DES10_4538
Blip.Remove(81@)
Blip.Remove(82@)
Blip.Remove(83@)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(537)
Streaming.MarkModelAsNoLongerNeeded(569)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(432)
Streaming.MarkModelAsNoLongerNeeded(287)
Streaming.MarkModelAsNoLongerNeeded(370)
Game.SwitchRandomTrains(True)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 83---------------
// Originally: Learning to Fly

:DESERT5
script_name 'DESERT5'
gosub @DESERT5_47
if 
  has_deatharrest_been_executed 
goto_if_false @DESERT5_38
gosub @DESERT5_30068

:DESERT5_38
gosub @DESERT5_30260
terminate_this_script 

:DESERT5_47
Text.ClearThisPrint('M_FAIL')
$weapon_shop1_blip = 1
if 
  $f1_the90_best_score <> 1
goto_if_false @DESERT5_85
Stat.RegisterMissionGiven

:DESERT5_85
Text.LoadMissionText('DSERT5')
Camera.SetFadingColor(0, 0, 0)
wait 0
Camera.DoFade(500, Fade.Out)

:DESERT5_115
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_139
wait 0
goto @DESERT5_115

:DESERT5_139
$camera_positiony = 415.55
$camera_positionz = 2533.57
$camera_position_int = 19.18
230@ = 0
226@ = 0
227@ = 0
229@ = 0
228@ = 0
231@ = 0
232@ = 0
233@ = 0
235@ = 0
236@ = 0
237@ = 0
238@ = 0
44@ = -81.36
45@ = 2476.0
46@ = 435.92
47@ = 2528.62
set_lvar_float_to_lvar_float 48@ = 44@
add_float_lvar_to_float_lvar 48@ += 46@
48@ /= 2.0
set_lvar_float_to_lvar_float 49@ = 45@
add_float_lvar_to_float_lvar 49@ += 47@
49@ /= 2.0
50@ = 321.52
set_lvar_float_to_lvar_float 51@ = 49@
52@ = 17.16
73@ = -383.79
set_lvar_float_to_lvar_float 76@ = 49@
79@ = 147.09
set_lvar_float_to_lvar_float 74@ = 73@
74@ -= 300.0
set_lvar_float_to_lvar_float 77@ = 76@
set_lvar_float_to_lvar_float 80@ = 79@
80@ -= 20.0
set_lvar_float_to_lvar_float 75@ = 73@
75@ -= 650.0
set_lvar_float_to_lvar_float 78@ = 76@
set_lvar_float_to_lvar_float 81@ = 79@
81@ += 10.0
53@ = -383.79
set_lvar_float_to_lvar_float 54@ = 49@
55@ = 85.09
set_lvar_float_to_lvar_float 82@ = 44@
set_lvar_float_to_lvar_float 83@ = 49@
84@ = 33.3
set_lvar_float_to_lvar_float 109@ = 50@
109@ -= 500.0
set_lvar_float_to_lvar_float 110@ = 51@
set_lvar_float_to_lvar_float 111@ = 52@
111@ += 120.0
56@ = 308.0
set_lvar_float_to_lvar_float 57@ = 49@
58@ = 17.07
63@ = 3
66@ = 2
set_lvar_float_to_lvar_float 112@ = 48@
set_lvar_float_to_lvar_float 113@ = 49@
114@ = 80.0
set_lvar_float_to_lvar_float 115@ = 112@
115@ += 200.0
129@ = 15.0
set_lvar_float_to_lvar_float 136@ = 48@
set_lvar_float_to_lvar_float 137@ = 49@
138@ = 15.53
set_lvar_float_to_lvar_float 139@ = 136@
139@ += 350.0
set_lvar_float_to_lvar_float 140@ = 137@
141@ = 900.0
$ca1_test = 0
$ca1_spooked = 0
$ca1_random_dialogue = 0
159@ = 0
160@ = 0
177@ = 0
178@ = 0
215@ = 0
216@ = 0
218@ = 0
219@ = 0
if 
  219@ == 1
goto_if_false @DESERT5_954
35@ = Car.Create(476, 0.0, 0.0, -100.0)
70@ = Char.Create(PedType.Mission1, 0, 0.0, 0.0, -100.0)
156@ = 0

:DESERT5_894
if 
  is_int_lvar_greater_than_int_lvar 63@ > 156@
goto_if_false @DESERT5_954
60@(156@,3i) = Car.Create(514, 0.0, 0.0, -100.0)
156@ += 1
goto @DESERT5_894

:DESERT5_954
Text.ClearThisPrintBigNow(TextStyle.Middle)
World.ClearAreaOfCars(44@, 45@, 0.0, 46@, 47@, 50.0)
Stat.ShowUpdateStats(False)
Game.SetArea51SamSite(False)
Game.SwitchPoliceHelis(False)
239@ = Game.GetMaxWantedLevel()
Game.SetMaxWantedLevel(0)
Streaming.RequestModel(476)
Streaming.RequestModel(425)
Streaming.RequestModel(514)
Streaming.RequestModel(400)
Streaming.RequestModel(513)
StreamedScript.Stream(1)
Streaming.LoadAllModelsNow

:DESERT5_1034
if or
  not Streaming.HasModelLoaded(476)
  not Streaming.HasModelLoaded(425)
  not Streaming.HasModelLoaded(514)
  not Streaming.HasModelLoaded(400)
  not Streaming.HasModelLoaded(513)
goto_if_false @DESERT5_1081
wait 0
goto @DESERT5_1034

:DESERT5_1081
if 
  not StreamedScript.HasLoaded(1)
goto_if_false @DESERT5_1107
wait 0
goto @DESERT5_1081

:DESERT5_1107
Txd.LoadDictionary('LD_DRV')
Txd.LoadSprite(1, "BRFLY")
Txd.LoadSprite(2, "SILFLY")
Txd.LoadSprite(3, "GOLFLY")
Txd.LoadSprite(4, "RIBB")
Txd.LoadSprite(5, "TVCORN")
Txd.LoadSprite(6, "NAWARD")
Txd.LoadSprite(7, "RIBBW")
Txd.LoadSprite(8, "BLKDOT")
Txd.LoadSprite(9, "TVBASE")
Txd.LoadSprite(10, "NAWTXT")
Game.SetAlwaysDraw3DMarkers(True)
if 
  $d5_gold_generator == 0
goto_if_false @DESERT5_2570
World.ClearArea($camera_positiony, $camera_positionz, $camera_position_int, 50.0, False)
Char.SetCoordinates($stattreadstamina_ctr, 414.8, 2534.2, 18.18)
Char.SetHeading($stattreadstamina_ctr, 200.0)
set_lvar_text_label 179@s = 'MTOR04A'
set_lvar_text_label 181@s = 'MTOR04B'
set_lvar_text_label 183@s = 'MTOR04C'
set_lvar_text_label 185@s = 'MTOR04D'
set_lvar_text_label 187@s = 'MTOR04E'
set_lvar_text_label 189@s = 'MTOR04F'
set_lvar_text_label 191@s = 'MTOR04G'
set_lvar_text_label 193@s = 'MTOR04H'
set_lvar_text_label 195@s = 'MTOR04J'
set_lvar_text_label 197@s = 'MTOR04K'
set_lvar_text_label 199@s = 'MTOR04L'
set_lvar_text_label 201@s = 'MTOR04M'
set_lvar_int_to_constant 203@ = 29618
set_lvar_int_to_constant 204@ = 29619
set_lvar_int_to_constant 205@ = 29620
set_lvar_int_to_constant 206@ = 29621
set_lvar_int_to_constant 207@ = 29622
set_lvar_int_to_constant 208@ = 29623
set_lvar_int_to_constant 209@ = 29624
set_lvar_int_to_constant 210@ = 29625
set_lvar_int_to_constant 211@ = 29626
set_lvar_int_to_constant 212@ = 29627
set_lvar_int_to_constant 213@ = 29628
set_lvar_int_to_constant 214@ = 29629
217@ = 12
215@ = 0
218@ = 0
Player.SetControl($statbike_temp, False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(True)
Streaming.RequestModel(330)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 23000)

:DESERT5_1616
if or
  not Streaming.HasModelLoaded(330)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DESERT5_1647
wait 0
goto @DESERT5_1616

:DESERT5_1647
Task.UseMobilePhone($stattreadstamina_ctr, True)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Camera.SetFixedPosition(415.83, 2532.94, 19.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(415.28, 2533.65, 19.5, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:DESERT5_1716
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_1740
wait 0
goto @DESERT5_1716

:DESERT5_1740
240@ = 1
skip_cutscene_start_internal @DESERT5_2377
wait 600
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
wait 1000
216@ = 0

:DESERT5_1775
if 
  1 > 216@
goto_if_false @DESERT5_1811
wait 0
gosub @DESERT5_29837
goto @DESERT5_1775

:DESERT5_1811
if 
  2 > 216@
goto_if_false @DESERT5_1887
wait 0
gosub @DESERT5_29837
if and
  215@ == 2
  218@ <> 1
goto_if_false @DESERT5_1880
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
218@ = 1

:DESERT5_1880
goto @DESERT5_1811

:DESERT5_1887
Char.StopFacialTalk($stattreadstamina_ctr)

:DESERT5_1892
if 
  3 > 216@
goto_if_false @DESERT5_1968
wait 0
gosub @DESERT5_29837
if and
  215@ == 2
  218@ <> 1
goto_if_false @DESERT5_1961
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
218@ = 1

:DESERT5_1961
goto @DESERT5_1892

:DESERT5_1968
Char.StopFacialTalk($stattreadstamina_ctr)

:DESERT5_1973
if 
  5 > 216@
goto_if_false @DESERT5_2009
wait 0
gosub @DESERT5_29837
goto @DESERT5_1973

:DESERT5_2009
if 
  6 > 216@
goto_if_false @DESERT5_2085
wait 0
gosub @DESERT5_29837
if and
  215@ == 2
  218@ <> 1
goto_if_false @DESERT5_2078
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
218@ = 1

:DESERT5_2078
goto @DESERT5_2009

:DESERT5_2085
Char.StopFacialTalk($stattreadstamina_ctr)

:DESERT5_2090
if 
  8 > 216@
goto_if_false @DESERT5_2216
wait 0
gosub @DESERT5_29837
if and
  215@ == 2
  216@ == 7
  218@ <> 1
goto_if_false @DESERT5_2209
Camera.SetFixedPosition(414.83, 2532.13, 19.43, 0.0, 0.0, 0.0)
Camera.PointAtPoint(415.01, 2533.11, 19.42, SwitchType.JumpCut)
218@ = 1

:DESERT5_2209
goto @DESERT5_2090

:DESERT5_2216
if 
  10 > 216@
goto_if_false @DESERT5_2252
wait 0
gosub @DESERT5_29837
goto @DESERT5_2216

:DESERT5_2252
if 
  11 > 216@
goto_if_false @DESERT5_2328
wait 0
gosub @DESERT5_29837
if and
  215@ == 2
  218@ <> 1
goto_if_false @DESERT5_2321
Char.StartFacialTalk($stattreadstamina_ctr, 10000)
218@ = 1

:DESERT5_2321
goto @DESERT5_2252

:DESERT5_2328
Char.StopFacialTalk($stattreadstamina_ctr)

:DESERT5_2333
if 
  is_int_lvar_greater_than_int_lvar 217@ > 216@
goto_if_false @DESERT5_2370
wait 0
gosub @DESERT5_29837
goto @DESERT5_2333

:DESERT5_2370
240@ = 0

:DESERT5_2377
skip_cutscene_end 
if 
  240@ <> 1
goto_if_false @DESERT5_2404
Task.UseMobilePhone($stattreadstamina_ctr, False)

:DESERT5_2404
Camera.DoFade(1000, Fade.Out)

:DESERT5_2411
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_2435
wait 0
goto @DESERT5_2411

:DESERT5_2435
if 
  240@ == 1
goto_if_false @DESERT5_2460
Task.UseMobilePhone($stattreadstamina_ctr, False)

:DESERT5_2460
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Char.SetCoordinates($stattreadstamina_ctr, 413.94, $camera_positionz, 18.18)
Char.SetHeading($stattreadstamina_ctr, 270.0)
178@ = 1
$d5_gold_generator = 1
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(1000, Fade.In)

:DESERT5_2539
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_2563
wait 0
goto @DESERT5_2539

:DESERT5_2563
goto @DESERT5_30068

:DESERT5_2570
Char.SetCoordinates($stattreadstamina_ctr, 412.38, 2533.65, 18.18)
Char.SetHeading($stattreadstamina_ctr, 90.0)

:DESERT5_2600
Player.SetControl($statbike_temp, False)
Text.ClearHelp
Text.ClearPrints
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
232@ = 0
233@ = 0
235@ = 0
236@ = 0
238@ = 0
231@ = 0
230@ = 0
Text.UseCommands(True)
227@ = 255
226@ = 2
set_lvar_int_to_var_int 34@ = $d5_silver_generator
if 
  34@ == 3
goto_if_false @DESERT5_2726
34@ = 4

:DESERT5_2726
if 
  34@ == 5
goto_if_false @DESERT5_2751
34@ = 6

:DESERT5_2751
Hud.Display(False)
Hud.DisplayRadar(False)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 3800)

:DESERT5_2766
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DESERT5_2792
wait 0
goto @DESERT5_2766

:DESERT5_2792
Camera.DoFade(1000, Fade.In)
gosub @DESERT5_20498

:DESERT5_2806
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_2837
wait 0
gosub @DESERT5_20498
goto @DESERT5_2806

:DESERT5_2837
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @DESERT5_2863
goto @DESERT5_30111

:DESERT5_2863
gosub @DESERT5_20498
if 
  230@ == 0
goto_if_false @DESERT5_3393
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  -100 > $been_in_a_bmx
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @DESERT5_3035
34@ -= 1
$d5_silver_generator -= 1
if 
  34@ == 3
goto_if_false @DESERT5_2967
34@ = 2

:DESERT5_2967
if 
  34@ == 5
goto_if_false @DESERT5_2992
34@ = 4

:DESERT5_2992
if 
  $d5_bronze_generator > 1
goto_if_false @DESERT5_3035
if 
  4 > 231@
goto_if_false @DESERT5_3035
231@ = 3

:DESERT5_3035
if or
  $been_in_a_bmx > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @DESERT5_3166
34@ += 1
$d5_silver_generator += 1
if 
  34@ == 3
goto_if_false @DESERT5_3098
34@ = 4

:DESERT5_3098
if 
  34@ == 5
goto_if_false @DESERT5_3123
34@ = 6

:DESERT5_3123
if 
  $d5_bronze_generator > 1
goto_if_false @DESERT5_3166
if 
  4 > 231@
goto_if_false @DESERT5_3166
231@ = 3

:DESERT5_3166
if 
  1 > 34@
goto_if_false @DESERT5_3200
set_lvar_int_to_var_int 34@ = $d5_bronze_generator
set_var_int_to_var_int $d5_silver_generator = $d5_bronze_generator

:DESERT5_3200
if 
  is_int_lvar_greater_than_int_var 34@ > $d5_bronze_generator
goto_if_false @DESERT5_3233
34@ = 1
$d5_silver_generator = 1

:DESERT5_3233
if or
  -100 > $been_in_a_bmx
  $been_in_a_bmx > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @DESERT5_3304
wait 0
gosub @DESERT5_20498
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
goto @DESERT5_3233

:DESERT5_3304
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DESERT5_3393
if or
  34@ == 4
  34@ == 6
goto_if_false @DESERT5_3361
230@ = 1
goto @DESERT5_3393

:DESERT5_3361
if 
  4 > 231@
goto_if_false @DESERT5_3386
231@ = 3

:DESERT5_3386
goto @DESERT5_3795

:DESERT5_3393
if 
  230@ == 1
goto_if_false @DESERT5_3723
if 
  4 > 231@
goto_if_false @DESERT5_3436
231@ = 3

:DESERT5_3436
if 
  231@ == 0
goto_if_false @DESERT5_3461
231@ = 5

:DESERT5_3461
gosub @DESERT5_24715
Text.SetColor(255, 255, 255, 255)
Text.Display(320.0, 140.0, 'DES5_FH')
gosub @DESERT5_24715
Text.SetCenter(False)
Text.SetColor(255, 255, 255, 255)
Text.Display(182.0, 185.0, 'DES5_FI')
gosub @DESERT5_24715
Text.SetCenter(False)
Text.SetColor(255, 255, 255, 255)
Text.Display(182.0, 211.0, 'DES5_FJ')
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  -100 > $been_in_a_bmx
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @DESERT5_3642
goto @DESERT5_3795

:DESERT5_3642
if or
  $been_in_a_bmx > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @DESERT5_3723
if 
  34@ == 4
goto_if_false @DESERT5_3691
34@ = 3

:DESERT5_3691
if 
  34@ == 6
goto_if_false @DESERT5_3716
34@ = 5

:DESERT5_3716
goto @DESERT5_3795

:DESERT5_3723
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @DESERT5_3752
$d5_bronze_generator = 12
$f1_the90_best_score = 1

:DESERT5_3752
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DESERT5_3777
goto @DESERT5_30068

:DESERT5_3777
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
gosub @DESERT5_23120
goto @DESERT5_2837

:DESERT5_3795
Camera.DoFade(500, Fade.Out)

:DESERT5_3802
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_3833
wait 0
gosub @DESERT5_20498
goto @DESERT5_3802

:DESERT5_3833
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_3854
Car.StopPlayback(35@)

:DESERT5_3854
Car.Delete(35@)
Camera.RestoreJumpcut
Char.Delete(70@)
156@ = 0

:DESERT5_3873
if 
  is_int_lvar_greater_than_int_lvar 63@ > 156@
goto_if_false @DESERT5_3915
Car.Delete(60@(156@,3i))
156@ += 1
goto @DESERT5_3873

:DESERT5_3915
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
World.ClearArea($camera_positiony, $camera_positionz, $camera_position_int, 500.0, True)
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
231@ = 5
Hud.Display(True)
Hud.DisplayRadar(True)
if 
  34@ == 1
goto_if_false @DESERT5_5472

:DESERT5_3979
gosub @DESERT5_24893

:DESERT5_3986
$perfect_positionz = 0
238@ = 0
232@ = 0
233@ = 0
235@ = 0
236@ = 0
$ca1_test = 0
$ca1_spooked = 0
157@ = 0
35@ = Car.Create(476, 50@, 51@, 52@)
Car.SetHeading(35@, 90.0)
if 
  231@ == 0
goto_if_false @DESERT5_4137
Camera.SetFixedPosition(172.6, 2466.14, 17.05, 0.0, 0.0, 0.0)
Camera.PointAtCar(35@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:DESERT5_4137
wait 500
Text.ClearPrints
Text.PrintNow('DES5_1A', 5000, 4)
gosub @DESERT5_24930

:DESERT5_4167
wait 0
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DESERT5_4206
232@ = 2
goto @DESERT5_5419

:DESERT5_4206
gosub @DESERT5_25083
if 
  232@ == 1
goto_if_false @DESERT5_4275
if 
  Car.IsInWater(35@)
goto_if_false @DESERT5_4268
232@ = 2
goto @DESERT5_5419
goto @DESERT5_4275

:DESERT5_4268
goto @DESERT5_30068

:DESERT5_4275
if 
  233@ == 0
goto_if_false @DESERT5_4357
Text.PrintNow('DES5_1A', 5000, 4)
gosub @DESERT5_25159
if 
  233@ == 1
goto_if_false @DESERT5_4350
Text.PrintNow('DES5_1B', 10000, 4)

:DESERT5_4350
goto @DESERT5_5465

:DESERT5_4357
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_5465
if 
  $ca1_spooked <> 1
goto_if_false @DESERT5_4563
if 
  $ca1_test <> 1
goto_if_false @DESERT5_4461
$d5_cur_roll = Car.GetPitch(35@)
if 
  5.0 >= $d5_cur_roll
goto_if_false @DESERT5_4461
$ca1_test = 1
Text.PrintNow('DES5_1C', 10000, 4)

:DESERT5_4461
37@, 38@, 39@ = Car.GetCoordinates(35@)
if 
  39@ >= 25.0
goto_if_false @DESERT5_4526
$ca1_spooked = 1
Text.PrintNow('DES5_1I', 10000, 4)
goto @DESERT5_4563

:DESERT5_4526
if 
  not Char.IsInArea2D($stattreadstamina_ctr, 44@, 45@, 46@, 47@, False)
goto_if_false @DESERT5_4563
236@ = 1

:DESERT5_4563
if 
  $ca1_spooked == 1
goto_if_false @DESERT5_4988
if 
  157@ <> 1
goto_if_false @DESERT5_4727
151@ = Plane.GetUndercarriagePosition(35@)
if 
  151@ > 0.0
goto_if_false @DESERT5_4720
157@ = 1
220@ = Blip.AddForCoord(73@, 76@, 79@)
118@ = Checkpoint.Create(CheckpointType.Torus, 73@, 76@, 79@, 0.0, 76@, 79@, 129@)
116@ = 0
Text.ClearPrints
Text.PrintNow('DES5_1F', 7000, 4)
Text.Print('DES5_1J', 10000, 4)

:DESERT5_4720
goto @DESERT5_4988

:DESERT5_4727
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 73@(116@,3f), 76@(116@,3f), 79@(116@,3f), 129@, 129@, 129@, False)
goto_if_false @DESERT5_4988
Blip.Remove(220@)
Checkpoint.Delete(118@)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
116@ += 1
if 
  3 > 116@
goto_if_false @DESERT5_4981
220@ = Blip.AddForCoord(73@(116@,3f), 76@(116@,3f), 79@(116@,3f))
118@ = Checkpoint.Create(CheckpointType.Torus, 73@(116@,3f), 76@(116@,3f), 79@(116@,3f), 0.0, 76@(116@,3f), 79@(116@,3f), 129@)
if 
  116@ == 1
goto_if_false @DESERT5_4940
Text.PrintNow('DES5_1G', 10000, 4)

:DESERT5_4940
if 
  116@ == 2
goto_if_false @DESERT5_4974
Text.PrintNow('DES5_1H', 10000, 4)

:DESERT5_4974
goto @DESERT5_4988

:DESERT5_4981
235@ = 1

:DESERT5_4988
if 
  $ca1_spooked == 1
goto_if_false @DESERT5_5029
if 
  not Car.IsInAirProper(35@)
goto_if_false @DESERT5_5029
236@ = 1

:DESERT5_5029
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, -450.0, 49@, 1250.0, 1250.0, False)
goto_if_false @DESERT5_5072
236@ = 1

:DESERT5_5072
if or
  235@ == 1
  236@ == 1
goto_if_false @DESERT5_5465
gosub @DESERT5_25488
if 
  235@ == 1
goto_if_false @DESERT5_5171
gosub @DESERT5_26109
gosub @DESERT5_26842
147@ = 30
148@ = 45
gosub @DESERT5_27003
gosub @DESERT5_27165
goto @DESERT5_5199

:DESERT5_5171
$finish_rightx = 0
$overall_score = 0
145@ = 0
$variabled = 0

:DESERT5_5199
if 
  is_int_var_greater_than_int_var $variabled > $1946[0]
goto_if_false @DESERT5_5248
set_lvar_int_to_var_int 237@ = $1946[0]
set_var_int_to_var_int $1946[0] = $variabled
238@ = 1
gosub @DESERT5_25533

:DESERT5_5248
if 
  $d5_bronze_generator == 1
goto_if_false @DESERT5_5319
if 
  $variabled > 69
goto_if_false @DESERT5_5319
Stat.IncrementInt(StatId.FlyingSkill, 60)
238@ = 2
$d5_bronze_generator = 2
$d5_silver_generator = 2
232@ = 2

:DESERT5_5319
gosub @DESERT5_27741

:DESERT5_5326
if 
  219@ == 0
goto_if_false @DESERT5_5419
wait 0
gosub @DESERT5_29446
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DESERT5_5387
232@ = 2
goto @DESERT5_5419

:DESERT5_5387
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DESERT5_5412
goto @DESERT5_5419

:DESERT5_5412
goto @DESERT5_5326

:DESERT5_5419
gosub @DESERT5_27321
if 
  232@ == 2
goto_if_false @DESERT5_5458
goto @DESERT5_2600
goto @DESERT5_5465

:DESERT5_5458
goto @DESERT5_3979

:DESERT5_5465
goto @DESERT5_4167

:DESERT5_5472
if 
  34@ == 2
goto_if_false @DESERT5_6930

:DESERT5_5490
gosub @DESERT5_24893

:DESERT5_5497
$perfect_positionz = 0
238@ = 0
232@ = 0
233@ = 0
235@ = 0
236@ = 0
159@ = 0
160@ = 0
158@ = 0
35@ = Car.Create(476, 53@, 54@, 55@)
Car.SetHeading(35@, 270.0)
if 
  231@ == 0
goto_if_false @DESERT5_5648
Camera.SetFixedPosition(27.29, 2466.31, 16.76, 0.0, 0.0, 0.0)
Camera.PointAtCar(35@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:DESERT5_5648
Plane.SetUndercarriageUp(35@, True)
Car.FreezePosition(35@, True)
wait 500
Text.ClearPrints
Text.PrintNow('DES5_2J', 5000, 4)
gosub @DESERT5_24930

:DESERT5_5692
wait 0
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DESERT5_5731
232@ = 2
goto @DESERT5_6877

:DESERT5_5731
gosub @DESERT5_25083
if 
  232@ == 1
goto_if_false @DESERT5_5800
if 
  Car.IsInWater(35@)
goto_if_false @DESERT5_5793
232@ = 2
goto @DESERT5_6877
goto @DESERT5_5800

:DESERT5_5793
goto @DESERT5_30068

:DESERT5_5800
if 
  233@ == 0
goto_if_false @DESERT5_5941
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_5934
Car.FreezePosition(35@, False)
Car.SetForwardSpeed(35@, 30.0)
220@ = Blip.AddForCoord(82@, 83@, 84@)
118@ = Checkpoint.Create(CheckpointType.Torus, 82@, 83@, 84@, -200.0, 83@, 84@, 129@)
Hud.DisplayTimerWithString($perfect_positionz, TimerDirection.Up, 'DES5_T4')
Text.PrintNow('DES5_2J', 5000, 4)
233@ = 1

:DESERT5_5934
goto @DESERT5_6923

:DESERT5_5941
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_6923
if 
  159@ == 0
goto_if_false @DESERT5_6175
if 
  158@ <> 1
goto_if_false @DESERT5_6045
151@ = Plane.GetUndercarriagePosition(35@)
if 
  1.0 > 151@
goto_if_false @DESERT5_6045
158@ = 1
Text.PrintNow('DES5_2C', 5000, 4)

:DESERT5_6045
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 82@, 83@, 84@, 129@, 129@, 129@, False)
goto_if_false @DESERT5_6168
Blip.Remove(220@)
Checkpoint.Delete(118@)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
159@ = 1
220@ = Blip.AddForCoord(308.0, 49@, 52@)
Text.ClearPrints
Text.PrintNow('DES5_2I', 5000, 4)
Text.Print('DES5_2D', 7000, 4)

:DESERT5_6168
goto @DESERT5_6372

:DESERT5_6175
  Car.IsStoppedInArea3D(35@, 288.0, 45@, 16.0, 328.0, 47@, 18.0, True)
if 
  160@ <> 1
goto_if_false @DESERT5_6325
37@, 38@, 39@ = Car.GetCoordinates(35@)
if 
  17.66 >= 39@
goto_if_false @DESERT5_6318
160@ = 1
Text.ClearPrints
Text.PrintNow('DES5_2E', 7000, 4)
Text.Print('DES5_2F', 7000, 4)
Text.Print('DES5_2G', 7000, 4)

:DESERT5_6318
goto @DESERT5_6372

:DESERT5_6325
if and
  Car.IsStoppedInArea2D(35@, 44@, 45@, 46@, 47@, False)
  not Car.IsInAirProper(35@)
  not Car.IsUpsidedown(35@)
goto_if_false @DESERT5_6372
235@ = 1

:DESERT5_6372
if 
  not Car.IsInAirProper(35@)
goto_if_false @DESERT5_6487
if 
  159@ <> 1
goto_if_false @DESERT5_6420
236@ = 1
goto @DESERT5_6487

:DESERT5_6420
if 
  not Char.IsInArea2D($stattreadstamina_ctr, 44@, 45@, 46@, 47@, False)
goto_if_false @DESERT5_6464
236@ = 1
goto @DESERT5_6487

:DESERT5_6464
if 
  Car.IsUpsidedown(35@)
goto_if_false @DESERT5_6487
236@ = 1

:DESERT5_6487
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, -450.0, 49@, 1250.0, 1250.0, False)
goto_if_false @DESERT5_6530
236@ = 1

:DESERT5_6530
if or
  235@ == 1
  236@ == 1
goto_if_false @DESERT5_6923
gosub @DESERT5_25488
if 
  235@ == 1
goto_if_false @DESERT5_6629
gosub @DESERT5_26109
gosub @DESERT5_26842
147@ = 25
148@ = 40
gosub @DESERT5_27003
gosub @DESERT5_27165
goto @DESERT5_6657

:DESERT5_6629
$finish_rightx = 0
$overall_score = 0
145@ = 0
$variabled = 0

:DESERT5_6657
if 
  is_int_var_greater_than_int_var $variabled > $1946[1]
goto_if_false @DESERT5_6706
set_lvar_int_to_var_int 237@ = $1946[1]
set_var_int_to_var_int $1946[1] = $variabled
238@ = 1
gosub @DESERT5_25533

:DESERT5_6706
if 
  $d5_bronze_generator == 2
goto_if_false @DESERT5_6777
if 
  $variabled > 69
goto_if_false @DESERT5_6777
Stat.IncrementInt(StatId.FlyingSkill, 60)
238@ = 2
$d5_bronze_generator = 4
$d5_silver_generator = 4
232@ = 2

:DESERT5_6777
gosub @DESERT5_27741

:DESERT5_6784
if 
  219@ == 0
goto_if_false @DESERT5_6877
wait 0
gosub @DESERT5_29446
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DESERT5_6845
232@ = 2
goto @DESERT5_6877

:DESERT5_6845
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DESERT5_6870
goto @DESERT5_6877

:DESERT5_6870
goto @DESERT5_6784

:DESERT5_6877
gosub @DESERT5_27321
if 
  232@ == 2
goto_if_false @DESERT5_6916
goto @DESERT5_2600
goto @DESERT5_6923

:DESERT5_6916
goto @DESERT5_5490

:DESERT5_6923
goto @DESERT5_5692

:DESERT5_6930
if or
  34@ == 3
  34@ == 4
goto_if_false @DESERT5_8511

:DESERT5_6955
gosub @DESERT5_24893

:DESERT5_6962
gosub @DESERT5_19980
$perfect_positionz = 0
238@ = 0
232@ = 0
233@ = 0
235@ = 0
236@ = 0
$ca1_spooked = 0
116@ = 0
35@ = Car.Create(476, 50@, 51@, 52@)
Car.SetHeading(35@, 90.0)
if 
  231@ == 0
goto_if_false @DESERT5_7120
Plane.SetUndercarriageUp(35@, True)
Camera.SetFixedPosition(-1251.02, 2301.32, 140.44, 0.0, 0.0, 0.0)
Camera.PointAtCar(35@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:DESERT5_7120
wait 500
Text.ClearPrints
Text.PrintNow('DES5_1A', 5000, 4)
gosub @DESERT5_24930

:DESERT5_7150
wait 0
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DESERT5_7189
232@ = 2
goto @DESERT5_8410

:DESERT5_7189
gosub @DESERT5_25083
if 
  232@ == 1
goto_if_false @DESERT5_7258
if 
  Car.IsInWater(35@)
goto_if_false @DESERT5_7251
232@ = 2
goto @DESERT5_8410
goto @DESERT5_7258

:DESERT5_7251
goto @DESERT5_30068

:DESERT5_7258
if 
  233@ == 0
goto_if_false @DESERT5_7451
Text.PrintNow('DES5_1A', 5000, 4)
gosub @DESERT5_25159
if 
  233@ == 1
goto_if_false @DESERT5_7444
116@ = 0
220@ = Blip.AddForCoord(85@, 93@, 101@)
119@ = Checkpoint.Create(CheckpointType.Torus, 85@, 93@, 101@, 0.0, 93@, 101@, 129@)
120@ = Checkpoint.Create(CheckpointType.Torus, 86@, 94@, 102@, 85@, 93@, 101@, 129@)
Text.PrintNow('DES5_3B', 10000, 4)
Text.Print('DES5_3C', 7000, 4)
Text.Print('DES5_3D', 10000, 4)

:DESERT5_7444
goto @DESERT5_8504

:DESERT5_7451
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_8504
if 
  $ca1_spooked <> 1
goto_if_false @DESERT5_7527
37@, 38@, 39@ = Car.GetCoordinates(35@)
if 
  39@ >= 25.0
goto_if_false @DESERT5_7527
$ca1_spooked = 1

:DESERT5_7527
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 85@(116@,8f), 93@(116@,8f), 101@(116@,8f), 129@, 129@, 129@, False)
goto_if_false @DESERT5_7979
Blip.Remove(220@)
Checkpoint.Delete(119@(116@,8i))
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
116@ += 1
if 
  8 > 116@
goto_if_false @DESERT5_7972
220@ = Blip.AddForCoord(85@(116@,8f), 93@(116@,8f), 101@(116@,8f))
set_lvar_int_to_lvar_int 117@ = 116@
117@ += 1
if 
  8 > 117@
goto_if_false @DESERT5_7749
119@(117@,8i) = Checkpoint.Create(CheckpointType.Torus, 85@(117@,8f), 93@(117@,8f), 101@(117@,8f), 85@(116@,8f), 93@(116@,8f), 101@(116@,8f), 129@)

:DESERT5_7749
if 
  116@ == 1
goto_if_false @DESERT5_7824
if 
  34@ == 4
goto_if_false @DESERT5_7808
Text.PrintNow('DES5_3F', 10000, 4)
goto @DESERT5_7824

:DESERT5_7808
Text.PrintNow('DES5_3E', 10000, 4)

:DESERT5_7824
if 
  116@ == 2
goto_if_false @DESERT5_7899
if 
  34@ == 4
goto_if_false @DESERT5_7883
Text.PrintNow('DES5_3G', 10000, 4)
goto @DESERT5_7899

:DESERT5_7883
Text.PrintNow('DES5_3H', 10000, 4)

:DESERT5_7899
if 
  116@ == 3
goto_if_false @DESERT5_7965
Text.PrintNow('DES5_3K', 10000, 4)
Text.Print('DES5_3L', 7000, 4)
Text.Print('DES5_3M', 10000, 4)

:DESERT5_7965
goto @DESERT5_7979

:DESERT5_7972
235@ = 1

:DESERT5_7979
if 
  $ca1_spooked == 1
goto_if_false @DESERT5_8020
if 
  not Car.IsInAirProper(35@)
goto_if_false @DESERT5_8020
236@ = 1

:DESERT5_8020
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, -450.0, 49@, 1250.0, 1250.0, False)
goto_if_false @DESERT5_8063
236@ = 1

:DESERT5_8063
if or
  235@ == 1
  236@ == 1
goto_if_false @DESERT5_8504
gosub @DESERT5_25488
if 
  235@ == 1
goto_if_false @DESERT5_8162
gosub @DESERT5_26109
gosub @DESERT5_26842
147@ = 60
148@ = 75
gosub @DESERT5_27003
gosub @DESERT5_27165
goto @DESERT5_8190

:DESERT5_8162
$finish_rightx = 0
$overall_score = 0
145@ = 0
$variabled = 0

:DESERT5_8190
if 
  is_int_var_greater_than_int_var $variabled > $1946[2]
goto_if_false @DESERT5_8239
set_lvar_int_to_var_int 237@ = $1946[2]
set_var_int_to_var_int $1946[2] = $variabled
238@ = 1
gosub @DESERT5_25533

:DESERT5_8239
if 
  $d5_bronze_generator == 4
goto_if_false @DESERT5_8310
if 
  $variabled > 69
goto_if_false @DESERT5_8310
Stat.IncrementInt(StatId.FlyingSkill, 60)
238@ = 2
$d5_bronze_generator = 6
$d5_silver_generator = 6
232@ = 2

:DESERT5_8310
gosub @DESERT5_27741

:DESERT5_8317
if 
  219@ == 0
goto_if_false @DESERT5_8410
wait 0
gosub @DESERT5_29446
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DESERT5_8378
232@ = 2
goto @DESERT5_8410

:DESERT5_8378
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DESERT5_8403
goto @DESERT5_8410

:DESERT5_8403
goto @DESERT5_8317

:DESERT5_8410
gosub @DESERT5_27321
156@ = 0

:DESERT5_8424
if 
  8 > 156@
goto_if_false @DESERT5_8465
Checkpoint.Delete(119@(156@,8i))
156@ += 1
goto @DESERT5_8424

:DESERT5_8465
if 
  232@ == 2
goto_if_false @DESERT5_8497
goto @DESERT5_2600
goto @DESERT5_8504

:DESERT5_8497
goto @DESERT5_6955

:DESERT5_8504
goto @DESERT5_7150

:DESERT5_8511
if or
  34@ == 5
  34@ == 6
goto_if_false @DESERT5_10310

:DESERT5_8536
gosub @DESERT5_24893

:DESERT5_8543
gosub @DESERT5_19980
$perfect_positionz = 0
238@ = 0
232@ = 0
233@ = 0
235@ = 0
236@ = 0
$ca1_spooked = 0
116@ = 0
161@ = 0
35@ = Car.Create(476, 50@, 51@, 52@)
Car.SetHeading(35@, 90.0)
if 
  231@ == 0
goto_if_false @DESERT5_8708
Plane.SetUndercarriageUp(35@, True)
Camera.SetFixedPosition(-394.09, 2601.47, 134.89, 0.0, 0.0, 0.0)
Camera.PointAtCar(35@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:DESERT5_8708
wait 500
Text.ClearPrints
Text.PrintNow('DES5_1A', 5000, 4)
gosub @DESERT5_24930

:DESERT5_8738
wait 0
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DESERT5_8777
232@ = 2
goto @DESERT5_10209

:DESERT5_8777
gosub @DESERT5_25083
if 
  232@ == 1
goto_if_false @DESERT5_8846
if 
  Car.IsInWater(35@)
goto_if_false @DESERT5_8839
232@ = 2
goto @DESERT5_10209
goto @DESERT5_8846

:DESERT5_8839
goto @DESERT5_30068

:DESERT5_8846
if 
  233@ == 0
goto_if_false @DESERT5_9007
Text.PrintNow('DES5_1A', 5000, 4)
gosub @DESERT5_25159
if 
  233@ == 1
goto_if_false @DESERT5_9000
116@ = 0
220@ = Blip.AddForCoord(85@, 93@, 101@)
119@ = Checkpoint.Create(CheckpointType.Torus, 85@, 93@, 101@, 0.0, 93@, 101@, 129@)
120@ = Checkpoint.Create(CheckpointType.Torus, 86@, 94@, 102@, 85@, 93@, 101@, 129@)
Text.PrintNow('DES5_3B', 10000, 4)

:DESERT5_9000
goto @DESERT5_10303

:DESERT5_9007
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_10303
if 
  $ca1_spooked <> 1
goto_if_false @DESERT5_9083
37@, 38@, 39@ = Car.GetCoordinates(35@)
if 
  39@ >= 25.0
goto_if_false @DESERT5_9083
$ca1_spooked = 1

:DESERT5_9083
if 
  161@ <> 1
goto_if_false @DESERT5_9617
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 85@(116@,8f), 93@(116@,8f), 101@(116@,8f), 129@, 129@, 129@, False)
goto_if_false @DESERT5_9610
Blip.Remove(220@)
Checkpoint.Delete(119@(116@,8i))
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
116@ += 1
if 
  8 > 116@
goto_if_false @DESERT5_9514
220@ = Blip.AddForCoord(85@(116@,8f), 93@(116@,8f), 101@(116@,8f))
set_lvar_int_to_lvar_int 117@ = 116@
117@ += 1
if 
  8 > 117@
goto_if_false @DESERT5_9323
119@(117@,8i) = Checkpoint.Create(CheckpointType.Torus, 85@(117@,8f), 93@(117@,8f), 101@(117@,8f), 85@(116@,8f), 93@(116@,8f), 101@(116@,8f), 129@)

:DESERT5_9323
if 
  116@ == 1
goto_if_false @DESERT5_9398
if 
  34@ == 6
goto_if_false @DESERT5_9382
Text.PrintNow('DES5_3H', 10000, 4)
goto @DESERT5_9398

:DESERT5_9382
Text.PrintNow('DES5_3G', 10000, 4)

:DESERT5_9398
if 
  116@ == 2
goto_if_false @DESERT5_9473
if 
  34@ == 6
goto_if_false @DESERT5_9457
Text.PrintNow('DES5_3G', 10000, 4)
goto @DESERT5_9473

:DESERT5_9457
Text.PrintNow('DES5_3H', 10000, 4)

:DESERT5_9473
if 
  116@ == 3
goto_if_false @DESERT5_9507
Text.PrintNow('DES5_3K', 10000, 4)

:DESERT5_9507
goto @DESERT5_9610

:DESERT5_9514
161@ = 1
220@ = Blip.AddForCoord(308.0, 45@, 52@)
if 
  34@ == 6
goto_if_false @DESERT5_9578
Text.PrintNow('DES5_5I', 10000, 4)
goto @DESERT5_9594

:DESERT5_9578
Text.PrintNow('DES5_5H', 10000, 4)

:DESERT5_9594
Text.Print('DES5_5J', 10000, 4)

:DESERT5_9610
goto @DESERT5_9697

:DESERT5_9617
  Car.IsStoppedInArea3D(35@, 288.0, 45@, 16.0, 328.0, 47@, 18.0, True)
if and
  Car.IsStoppedInArea2D(35@, 44@, 45@, 46@, 47@, False)
  not Car.IsInAirProper(35@)
  not Car.IsUpsidedown(35@)
goto_if_false @DESERT5_9697
235@ = 1

:DESERT5_9697
if and
  $ca1_spooked == 1
  not Car.IsInAirProper(35@)
goto_if_false @DESERT5_9819
if 
  161@ <> 1
goto_if_false @DESERT5_9752
236@ = 1
goto @DESERT5_9819

:DESERT5_9752
if 
  not Char.IsInArea2D($stattreadstamina_ctr, 44@, 45@, 46@, 47@, False)
goto_if_false @DESERT5_9796
236@ = 1
goto @DESERT5_9819

:DESERT5_9796
if 
  Car.IsUpsidedown(35@)
goto_if_false @DESERT5_9819
236@ = 1

:DESERT5_9819
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, -450.0, 49@, 1250.0, 1250.0, False)
goto_if_false @DESERT5_9862
236@ = 1

:DESERT5_9862
if or
  235@ == 1
  236@ == 1
goto_if_false @DESERT5_10303
gosub @DESERT5_25488
if 
  235@ == 1
goto_if_false @DESERT5_9961
gosub @DESERT5_26109
gosub @DESERT5_26842
147@ = 80
148@ = 95
gosub @DESERT5_27003
gosub @DESERT5_27165
goto @DESERT5_9989

:DESERT5_9961
$finish_rightx = 0
$overall_score = 0
145@ = 0
$variabled = 0

:DESERT5_9989
if 
  is_int_var_greater_than_int_var $variabled > $1946[3]
goto_if_false @DESERT5_10038
set_lvar_int_to_var_int 237@ = $1946[3]
set_var_int_to_var_int $1946[3] = $variabled
238@ = 1
gosub @DESERT5_25533

:DESERT5_10038
if 
  $d5_bronze_generator == 6
goto_if_false @DESERT5_10109
if 
  $variabled > 69
goto_if_false @DESERT5_10109
Stat.IncrementInt(StatId.FlyingSkill, 60)
238@ = 2
$d5_bronze_generator = 7
$d5_silver_generator = 7
232@ = 2

:DESERT5_10109
gosub @DESERT5_27741

:DESERT5_10116
if 
  219@ == 0
goto_if_false @DESERT5_10209
wait 0
gosub @DESERT5_29446
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DESERT5_10177
232@ = 2
goto @DESERT5_10209

:DESERT5_10177
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DESERT5_10202
goto @DESERT5_10209

:DESERT5_10202
goto @DESERT5_10116

:DESERT5_10209
gosub @DESERT5_27321
156@ = 0

:DESERT5_10223
if 
  8 > 156@
goto_if_false @DESERT5_10264
Checkpoint.Delete(119@(156@,8i))
156@ += 1
goto @DESERT5_10223

:DESERT5_10264
if 
  232@ == 2
goto_if_false @DESERT5_10296
goto @DESERT5_2600
goto @DESERT5_10303

:DESERT5_10296
goto @DESERT5_8536

:DESERT5_10303
goto @DESERT5_8738

:DESERT5_10310
if 
  34@ == 7
goto_if_false @DESERT5_11748

:DESERT5_10328
gosub @DESERT5_24893

:DESERT5_10335
$perfect_positionz = 0
238@ = 0
232@ = 0
233@ = 0
235@ = 0
236@ = 0
$ca1_spooked = 0
$ca1_random_dialogue = 0
set_lvar_float_to_lvar_float 132@ = 111@
234@ = 0
35@ = Car.Create(425, 50@, 51@, 15.07)
Car.SetHeading(35@, 270.0)
Car.SetIdle(35@)
if 
  231@ == 0
goto_if_false @DESERT5_10501
Camera.SetFixedPosition(323.02, 2446.81, 117.65, 0.0, 0.0, 0.0)
Camera.PointAtCar(35@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:DESERT5_10501
241@ = 1

:DESERT5_10508
if 
  241@ == 1
goto_if_false @DESERT5_10576
wait 0
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_10569
if 
  Car.IsStopped(35@)
goto_if_false @DESERT5_10569
241@ = 0

:DESERT5_10569
goto @DESERT5_10508

:DESERT5_10576
wait 500
Text.ClearPrints
Text.PrintNow('DES5_7A', 5000, 4)
gosub @DESERT5_24930

:DESERT5_10606
wait 0
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DESERT5_10645
232@ = 2
goto @DESERT5_11695

:DESERT5_10645
gosub @DESERT5_25083
if 
  232@ == 1
goto_if_false @DESERT5_10714
if 
  Car.IsInWater(35@)
goto_if_false @DESERT5_10707
232@ = 2
goto @DESERT5_11695
goto @DESERT5_10714

:DESERT5_10707
goto @DESERT5_30068

:DESERT5_10714
if 
  233@ == 0
goto_if_false @DESERT5_10826
Text.PrintNow('DES5_7A', 10000, 4)
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_10819
if 
  Car.IsInAirProper(35@)
goto_if_false @DESERT5_10819
Hud.DisplayTimerWithString($perfect_positionz, TimerDirection.Up, 'DES5_T4')
Text.PrintNow('DES5_7B', 10000, 4)
233@ = 1

:DESERT5_10819
goto @DESERT5_11741

:DESERT5_10826
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_11741
if 
  $ca1_random_dialogue <> 1
goto_if_false @DESERT5_10932
37@, 38@, 39@ = Car.GetCoordinates(35@)
if 
  is_float_lvar_greater_or_equal_to_float_lvar 39@ >= 132@
goto_if_false @DESERT5_10932
$ca1_random_dialogue = 1
Text.PrintNow('DES5_7C', 5000, 4)
Text.Print('DES5_7D', 10000, 4)

:DESERT5_10932
if 
  $ca1_random_dialogue == 1
goto_if_false @DESERT5_11204
if 
  234@ <> 1
goto_if_false @DESERT5_11131
40@ = Car.GetHeading(35@)
if and
  40@ >= 80.0
  100.0 >= 40@
goto_if_false @DESERT5_11124
234@ = 1
220@ = Blip.AddForCoord(109@, 110@, 111@)
118@ = Checkpoint.Create(CheckpointType.Torus, 109@, 110@, 111@, 0.0, 110@, 111@, 129@)
Text.ClearPrints
Text.PrintNow('DES5_7F', 10000, 4)
Text.Print('DES5_7G', 10000, 4)
Text.Print('DES5_7H', 10000, 4)
Text.Print('DES5_7I', 10000, 4)

:DESERT5_11124
goto @DESERT5_11204

:DESERT5_11131
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 109@, 110@, 111@, 129@, 129@, 129@, False)
goto_if_false @DESERT5_11204
Blip.Remove(220@)
Checkpoint.Delete(118@)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
235@ = 1

:DESERT5_11204
if 
  $ca1_spooked <> 1
goto_if_false @DESERT5_11264
37@, 38@, 39@ = Car.GetCoordinates(35@)
if 
  39@ >= 25.0
goto_if_false @DESERT5_11264
$ca1_spooked = 1

:DESERT5_11264
if 
  $ca1_spooked == 1
goto_if_false @DESERT5_11305
if 
  not Car.IsInAirProper(35@)
goto_if_false @DESERT5_11305
236@ = 1

:DESERT5_11305
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, -450.0, 49@, 1250.0, 1250.0, False)
goto_if_false @DESERT5_11348
236@ = 1

:DESERT5_11348
if or
  235@ == 1
  236@ == 1
goto_if_false @DESERT5_11741
gosub @DESERT5_25488
if 
  235@ == 1
goto_if_false @DESERT5_11447
gosub @DESERT5_26109
gosub @DESERT5_26842
147@ = 45
148@ = 60
gosub @DESERT5_27003
gosub @DESERT5_27165
goto @DESERT5_11475

:DESERT5_11447
$finish_rightx = 0
$overall_score = 0
145@ = 0
$variabled = 0

:DESERT5_11475
if 
  is_int_var_greater_than_int_var $variabled > $1946[4]
goto_if_false @DESERT5_11524
set_lvar_int_to_var_int 237@ = $1946[4]
set_var_int_to_var_int $1946[4] = $variabled
238@ = 1
gosub @DESERT5_25533

:DESERT5_11524
if 
  $d5_bronze_generator == 7
goto_if_false @DESERT5_11595
if 
  $variabled > 69
goto_if_false @DESERT5_11595
Stat.IncrementInt(StatId.FlyingSkill, 60)
238@ = 2
$d5_bronze_generator = 8
$d5_silver_generator = 8
232@ = 2

:DESERT5_11595
gosub @DESERT5_27741

:DESERT5_11602
if 
  219@ == 0
goto_if_false @DESERT5_11695
wait 0
gosub @DESERT5_29446
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DESERT5_11663
232@ = 2
goto @DESERT5_11695

:DESERT5_11663
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DESERT5_11688
goto @DESERT5_11695

:DESERT5_11688
goto @DESERT5_11602

:DESERT5_11695
gosub @DESERT5_27321
if 
  232@ == 2
goto_if_false @DESERT5_11734
goto @DESERT5_2600
goto @DESERT5_11741

:DESERT5_11734
goto @DESERT5_10328

:DESERT5_11741
goto @DESERT5_10606

:DESERT5_11748
if 
  34@ == 8
goto_if_false @DESERT5_12969

:DESERT5_11766
gosub @DESERT5_24893

:DESERT5_11773
$perfect_positionz = 0
238@ = 0
232@ = 0
233@ = 0
235@ = 0
236@ = 0
162@ = 0
35@ = Car.Create(425, 53@, 54@, 55@)
Car.SetHeading(35@, 270.0)
Heli.SetBladesFullSpeed(35@)
if 
  231@ == 0
goto_if_false @DESERT5_11915
Camera.SetFixedPosition(301.56, 2455.21, 55.82, 0.0, 0.0, 0.0)
Camera.PointAtCar(35@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:DESERT5_11915
Car.FreezePosition(35@, True)
wait 500
Text.ClearPrints
Text.PrintNow('DES5_8A', 5000, 4)
gosub @DESERT5_24930

:DESERT5_11952
wait 0
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DESERT5_11991
232@ = 2
goto @DESERT5_12916

:DESERT5_11991
gosub @DESERT5_25083
if 
  232@ == 1
goto_if_false @DESERT5_12060
if 
  Car.IsInWater(35@)
goto_if_false @DESERT5_12053
232@ = 2
goto @DESERT5_12916
goto @DESERT5_12060

:DESERT5_12053
goto @DESERT5_30068

:DESERT5_12060
if 
  233@ == 0
goto_if_false @DESERT5_12187
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_12180
Car.FreezePosition(35@, False)
Car.SetForwardSpeed(35@, 15.0)
Hud.DisplayTimerWithString($perfect_positionz, TimerDirection.Up, 'DES5_T4')
Text.PrintNow('DES5_8A', 10000, 4)
Text.Print('DES5_8B', 10000, 4)
220@ = Blip.AddForCoord(56@, 57@, 58@)
233@ = 1

:DESERT5_12180
goto @DESERT5_12962

:DESERT5_12187
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_12962
if 
  162@ <> 1
goto_if_false @DESERT5_12333
if 
  Char.LocateInCar2D($stattreadstamina_ctr, 56@, 57@, 300.0, 300.0, False)
goto_if_false @DESERT5_12326
162@ = 1
Text.PrintNow('DES5_8G', 4000, 4)
Text.Print('DES5_8C', 10000, 4)
Text.Print('DES5_8D', 10000, 4)
Text.Print('DES5_8E', 10000, 4)

:DESERT5_12326
goto @DESERT5_12411

:DESERT5_12333
  Car.LocateStopped3D(35@, 56@, 57@, 58@, 26.31, 26.31, 26.31, True)
if and
  Car.IsStoppedInArea2D(35@, 44@, 45@, 46@, 47@, False)
  not Car.IsInAirProper(35@)
  not Car.IsUpsidedown(35@)
goto_if_false @DESERT5_12411
235@ = 1

:DESERT5_12411
if 
  not Car.IsInAirProper(35@)
goto_if_false @DESERT5_12526
if 
  162@ <> 1
goto_if_false @DESERT5_12459
236@ = 1
goto @DESERT5_12526

:DESERT5_12459
if 
  not Char.IsInArea2D($stattreadstamina_ctr, 44@, 45@, 46@, 47@, False)
goto_if_false @DESERT5_12503
236@ = 1
goto @DESERT5_12526

:DESERT5_12503
if 
  Car.IsUpsidedown(35@)
goto_if_false @DESERT5_12526
236@ = 1

:DESERT5_12526
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, -450.0, 49@, 1250.0, 1250.0, False)
goto_if_false @DESERT5_12569
236@ = 1

:DESERT5_12569
if or
  235@ == 1
  236@ == 1
goto_if_false @DESERT5_12962
gosub @DESERT5_25488
if 
  235@ == 1
goto_if_false @DESERT5_12668
gosub @DESERT5_26109
gosub @DESERT5_26842
147@ = 30
148@ = 45
gosub @DESERT5_27003
gosub @DESERT5_27165
goto @DESERT5_12696

:DESERT5_12668
$finish_rightx = 0
$overall_score = 0
145@ = 0
$variabled = 0

:DESERT5_12696
if 
  is_int_var_greater_than_int_var $variabled > $1946[5]
goto_if_false @DESERT5_12745
set_lvar_int_to_var_int 237@ = $1946[5]
set_var_int_to_var_int $1946[5] = $variabled
238@ = 1
gosub @DESERT5_25533

:DESERT5_12745
if 
  $d5_bronze_generator == 8
goto_if_false @DESERT5_12816
if 
  $variabled > 69
goto_if_false @DESERT5_12816
Stat.IncrementInt(StatId.FlyingSkill, 60)
238@ = 2
$d5_bronze_generator = 9
$d5_silver_generator = 9
232@ = 2

:DESERT5_12816
gosub @DESERT5_27741

:DESERT5_12823
if 
  219@ == 0
goto_if_false @DESERT5_12916
wait 0
gosub @DESERT5_29446
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DESERT5_12884
232@ = 2
goto @DESERT5_12916

:DESERT5_12884
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DESERT5_12909
goto @DESERT5_12916

:DESERT5_12909
goto @DESERT5_12823

:DESERT5_12916
gosub @DESERT5_27321
if 
  232@ == 2
goto_if_false @DESERT5_12955
goto @DESERT5_2600
goto @DESERT5_12962

:DESERT5_12955
goto @DESERT5_11766

:DESERT5_12962
goto @DESERT5_11952

:DESERT5_12969
if 
  34@ == 9
goto_if_false @DESERT5_15300

:DESERT5_12987
gosub @DESERT5_24893

:DESERT5_12994
$perfect_positionz = 0
238@ = 0
232@ = 0
233@ = 0
235@ = 0
236@ = 0
169@ = 0
35@ = Car.Create(425, 53@, 54@, 55@)
Car.SetHeading(35@, 270.0)
Heli.SetBladesFullSpeed(35@)
if 
  231@ == 0
goto_if_false @DESERT5_13247
Camera.SetFixedPosition(365.5, 2339.25, 63.23, 0.0, 0.0, 0.0)
Camera.PointAtPoint(363.09, 2473.76, 33.46, SwitchType.JumpCut)
69@ = 418.5
156@ = 0

:DESERT5_13161
if 
  is_int_lvar_greater_than_int_lvar 63@ > 156@
goto_if_false @DESERT5_13238
60@(156@,3i) = Car.Create(514, 69@, 49@, 17.1)
69@ -= 40.0
170@(156@,3i) = 0
156@ += 1
goto @DESERT5_13161

:DESERT5_13238
TIMERB = 0
return 

:DESERT5_13247
Car.FreezePosition(35@, True)
wait 500
Text.ClearPrints
Text.PrintNow('DES5_9A', 5000, 4)
gosub @DESERT5_24930

:DESERT5_13284
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DESERT5_13319
232@ = 2
goto @DESERT5_15112

:DESERT5_13319
gosub @DESERT5_25083
if 
  232@ == 1
goto_if_false @DESERT5_13388
if 
  Car.IsInWater(35@)
goto_if_false @DESERT5_13381
232@ = 2
goto @DESERT5_15112
goto @DESERT5_13388

:DESERT5_13381
goto @DESERT5_30068

:DESERT5_13388
if 
  233@ == 0
goto_if_false @DESERT5_13618
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_13611
Car.FreezePosition(35@, False)
Car.SetForwardSpeed(35@, 15.0)
Hud.DisplayTimerWithString($perfect_positionz, TimerDirection.Up, 'DES5_T4')
Text.PrintNow('DES5_9A', 10000, 4)
Text.Print('DES5_9B', 10000, 4)
69@ = 418.5
156@ = 0

:DESERT5_13504
if 
  is_int_lvar_greater_than_int_lvar 63@ > 156@
goto_if_false @DESERT5_13597
60@(156@,3i) = Car.Create(514, 69@, 49@, 17.1)
221@(156@,3i) = Blip.AddForCar(60@(156@,3i))
163@(156@,3i) = 1
69@ -= 40.0
156@ += 1
goto @DESERT5_13504

:DESERT5_13597
59@ = 0
233@ = 1

:DESERT5_13611
goto @DESERT5_15293

:DESERT5_13618
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_15293
if 
  169@ <> 1
goto_if_false @DESERT5_14529
168@ = 1
switch_start 59@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @DESERT5_14508 {caseNum1} 0 {caseLabel1} @DESERT5_13722 {caseNum2} 1 {caseLabel2} @DESERT5_14307 {caseNum3} -1 {caseLabel3} @DESERT5_14522 {caseNum4} -1 {caseLabel4} @DESERT5_14522 {caseNum5} -1 {caseLabel5} @DESERT5_14522 {caseNum6} -1 {caseLabel6} @DESERT5_14522 {caseNum7} -1 {caseLabel7} @DESERT5_14522

:DESERT5_13722
156@ = 0

:DESERT5_13729
if 
  is_int_lvar_greater_than_int_lvar 63@ > 156@
goto_if_false @DESERT5_13838
if 
  Car.IsDead(60@(156@,3i))
goto_if_false @DESERT5_13817
if 
  163@(156@,3i) == 1
goto_if_false @DESERT5_13810
Blip.Remove(221@(156@,3i))
163@(156@,3i) = 0

:DESERT5_13810
goto @DESERT5_13824

:DESERT5_13817
168@ = 0

:DESERT5_13824
156@ += 1
goto @DESERT5_13729

:DESERT5_13838
if 
  168@ == 1
goto_if_false @DESERT5_14300
59@ = 1
64@ = Car.Create(400, 22.61, 2322.06, 22.35)
65@ = Car.Create(400, 74.58, 2375.99, 16.52)
67@ = Char.CreateInsideCar(64@, PedType.Mission1, 7)
68@ = Char.CreateInsideCar(65@, PedType.Mission1, 7)
Path.FlushRoute
Path.ExtendRoute(76.44, 2327.46, 20.63)
Path.ExtendRoute(74.58, 2375.99, 16.52)
Path.ExtendRoute(19.12, 2370.77, 18.97)
Path.ExtendRoute(22.61, 2322.06, 22.35)
71@ = Sequence.Open()
Task.DrivePointRoute(-1, 64@, 10.0)
Sequence.SetToRepeat(71@, True)
Sequence.Close(71@)
Char.PerformSequence(67@, 71@)
Sequence.Clear(71@)
Path.FlushRoute
Path.ExtendRoute(19.12, 2370.77, 18.97)
Path.ExtendRoute(22.61, 2322.06, 22.35)
Path.ExtendRoute(76.44, 2327.46, 20.63)
Path.ExtendRoute(74.58, 2375.99, 16.52)
72@ = Sequence.Open()
Task.DrivePointRoute(-1, 65@, 10.0)
Sequence.SetToRepeat(72@, True)
Sequence.Close(72@)
Char.PerformSequence(68@, 72@)
Sequence.Clear(72@)
156@ = 0

:DESERT5_14164
if 
  is_int_lvar_greater_than_int_lvar 66@ > 156@
goto_if_false @DESERT5_14235
Car.LockDoors(64@(156@,2i), CarLock.Locked)
224@(156@,2i) = Blip.AddForCar(64@(156@,2i))
166@(156@,2i) = 1
156@ += 1
goto @DESERT5_14164

:DESERT5_14235
Text.PrintNow('DES5_9D', 10000, 4)
156@ = 0

:DESERT5_14258
if 
  is_int_lvar_greater_than_int_lvar 63@ > 156@
goto_if_false @DESERT5_14300
Car.MarkAsNoLongerNeeded(60@(156@,3i))
156@ += 1
goto @DESERT5_14258

:DESERT5_14300
goto @DESERT5_14522

:DESERT5_14307
156@ = 0

:DESERT5_14314
if 
  is_int_lvar_greater_than_int_lvar 66@ > 156@
goto_if_false @DESERT5_14423
if 
  Car.IsDead(64@(156@,2i))
goto_if_false @DESERT5_14402
if 
  166@(156@,2i) == 1
goto_if_false @DESERT5_14395
Blip.Remove(224@(156@,2i))
166@(156@,2i) = 0

:DESERT5_14395
goto @DESERT5_14409

:DESERT5_14402
168@ = 0

:DESERT5_14409
156@ += 1
goto @DESERT5_14314

:DESERT5_14423
if 
  168@ == 1
goto_if_false @DESERT5_14501
59@ = -1
220@ = Blip.AddForCoord(56@, 57@, 58@)
Text.PrintNow('DES5_9E', 10000, 4)
Text.Print('DES5_5J', 10000, 4)
169@ = 1

:DESERT5_14501
goto @DESERT5_14522

:DESERT5_14508
169@ = 1
goto @DESERT5_14522

:DESERT5_14522
goto @DESERT5_14607

:DESERT5_14529
  Car.LocateStopped3D(35@, 56@, 57@, 58@, 26.31, 26.31, 26.31, True)
if and
  Car.IsStoppedInArea2D(35@, 44@, 45@, 46@, 47@, False)
  not Car.IsInAirProper(35@)
  not Car.IsUpsidedown(35@)
goto_if_false @DESERT5_14607
235@ = 1

:DESERT5_14607
if 
  not Car.IsInAirProper(35@)
goto_if_false @DESERT5_14722
if 
  169@ <> 1
goto_if_false @DESERT5_14655
236@ = 1
goto @DESERT5_14722

:DESERT5_14655
if 
  not Char.IsInArea2D($stattreadstamina_ctr, 44@, 45@, 46@, 47@, False)
goto_if_false @DESERT5_14699
236@ = 1
goto @DESERT5_14722

:DESERT5_14699
if 
  Car.IsUpsidedown(35@)
goto_if_false @DESERT5_14722
236@ = 1

:DESERT5_14722
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, -450.0, 49@, 1250.0, 1250.0, False)
goto_if_false @DESERT5_14765
236@ = 1

:DESERT5_14765
if or
  235@ == 1
  236@ == 1
goto_if_false @DESERT5_15293
gosub @DESERT5_25488
if 
  235@ == 1
goto_if_false @DESERT5_14864
gosub @DESERT5_26109
gosub @DESERT5_26842
147@ = 80
148@ = 105
gosub @DESERT5_27003
gosub @DESERT5_27165
goto @DESERT5_14892

:DESERT5_14864
$finish_rightx = 0
$overall_score = 0
145@ = 0
$variabled = 0

:DESERT5_14892
if 
  is_int_var_greater_than_int_var $variabled > $1946[6]
goto_if_false @DESERT5_14941
set_lvar_int_to_var_int 237@ = $1946[6]
set_var_int_to_var_int $1946[6] = $variabled
238@ = 1
gosub @DESERT5_25533

:DESERT5_14941
if 
  $d5_bronze_generator == 9
goto_if_false @DESERT5_15012
if 
  $variabled > 69
goto_if_false @DESERT5_15012
Stat.IncrementInt(StatId.FlyingSkill, 60)
238@ = 2
$d5_bronze_generator = 10
$d5_silver_generator = 10
232@ = 2

:DESERT5_15012
gosub @DESERT5_27741

:DESERT5_15019
if 
  219@ == 0
goto_if_false @DESERT5_15112
wait 0
gosub @DESERT5_29446
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DESERT5_15080
232@ = 2
goto @DESERT5_15112

:DESERT5_15080
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DESERT5_15105
goto @DESERT5_15112

:DESERT5_15105
goto @DESERT5_15019

:DESERT5_15112
gosub @DESERT5_27321
Sequence.Clear(71@)
Sequence.Clear(72@)
156@ = 0

:DESERT5_15136
if 
  is_int_lvar_greater_than_int_lvar 63@ > 156@
goto_if_false @DESERT5_15187
Car.Delete(60@(156@,3i))
Blip.Remove(221@(156@,3i))
156@ += 1
goto @DESERT5_15136

:DESERT5_15187
156@ = 0

:DESERT5_15194
if 
  is_int_lvar_greater_than_int_lvar 66@ > 156@
goto_if_false @DESERT5_15254
Char.Delete(67@(156@,2i))
Car.Delete(64@(156@,2i))
Blip.Remove(224@(156@,2i))
156@ += 1
goto @DESERT5_15194

:DESERT5_15254
if 
  232@ == 2
goto_if_false @DESERT5_15286
goto @DESERT5_2600
goto @DESERT5_15293

:DESERT5_15286
goto @DESERT5_12987

:DESERT5_15293
goto @DESERT5_13284

:DESERT5_15300
if 
  34@ == 10
goto_if_false @DESERT5_16980

:DESERT5_15318
gosub @DESERT5_24893

:DESERT5_15325
$perfect_positionz = 0
238@ = 0
232@ = 0
233@ = 0
235@ = 0
236@ = 0
173@ = 0
174@ = 0
35@ = Car.Create(513, 53@, 113@, 114@)
Car.SetHeading(35@, 270.0)
if 
  231@ == 0
goto_if_false @DESERT5_15469
Camera.SetFixedPosition(269.53, 2445.3, 88.46, 0.0, 0.0, 0.0)
Camera.PointAtCar(35@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:DESERT5_15469
Car.FreezePosition(35@, True)
wait 500
Text.ClearPrints
Text.PrintNow('DES5_AA', 5000, 4)
gosub @DESERT5_24930

:DESERT5_15506
wait 0
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DESERT5_15545
232@ = 2
goto @DESERT5_16917

:DESERT5_15545
gosub @DESERT5_25083
if 
  232@ == 1
goto_if_false @DESERT5_15614
if 
  Car.IsInWater(35@)
goto_if_false @DESERT5_15607
232@ = 2
goto @DESERT5_16917
goto @DESERT5_15614

:DESERT5_15607
goto @DESERT5_30068

:DESERT5_15614
if 
  233@ == 0
goto_if_false @DESERT5_15801
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_15794
Car.FreezePosition(35@, False)
Car.SetForwardSpeed(35@, 20.0)
233@ = 1
220@ = Blip.AddForCoord(112@, 113@, 114@)
127@ = Checkpoint.Create(CheckpointType.Torus, 112@, 113@, 114@, 0.0, 113@, 114@, 129@)
128@ = Checkpoint.Create(CheckpointType.Torus, 115@, 113@, 114@, 0.0, 113@, 114@, 129@)
Hud.DisplayTimerWithString($perfect_positionz, TimerDirection.Up, 'DES5_T4')
Text.PrintNow('DES5_AA', 7000, 4)
Text.Print('DES5_AB', 10000, 4)

:DESERT5_15794
goto @DESERT5_16973

:DESERT5_15801
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_16973
if 
  173@ <> 1
goto_if_false @DESERT5_15959
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 112@, 113@, 114@, 129@, 129@, 129@, False)
goto_if_false @DESERT5_15952
Blip.Remove(220@)
Checkpoint.Delete(127@)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
173@ = 1
Text.PrintNow('DES5_AC', 5000, 4)
$d5_last_roll = Car.GetPitch(35@)
$d5_roll_progress = 0.0
$d5_plane_reached_required_altitude = 0.0

:DESERT5_15952
goto @DESERT5_16504

:DESERT5_15959
if 
  174@ <> 1
goto_if_false @DESERT5_16431
$d5_negative_progress = Car.GetRoll(35@)
if 
  0.0 > $d5_negative_progress
goto_if_false @DESERT5_16016
$d5_negative_progress += 360.0

:DESERT5_16016
$d5_mission_plane_speed = Car.GetUprightValue(35@)
if 
  $d5_mission_plane_speed >= 0.0
goto_if_false @DESERT5_16090
if and
  $d5_negative_progress >= 20.0
  340.0 >= $d5_negative_progress
goto_if_false @DESERT5_16083
236@ = 1

:DESERT5_16083
goto @DESERT5_16128

:DESERT5_16090
if or
  160.0 >= $d5_negative_progress
  $d5_negative_progress >= 200.0
goto_if_false @DESERT5_16128
236@ = 1

:DESERT5_16128
$d5_cur_roll = Car.GetPitch(35@)
set_var_float_to_var_float $d5_roll_diff = $d5_cur_roll
sub_float_var_from_float_var $d5_roll_diff -= $d5_last_roll
set_var_float_to_var_float $d5_last_roll = $d5_cur_roll
if 
  $d5_roll_diff > 180.0
goto_if_false @DESERT5_16191
$d5_roll_diff -= 360.0

:DESERT5_16191
if 
  -180.0 > $d5_roll_diff
goto_if_false @DESERT5_16222
$d5_roll_diff += 360.0

:DESERT5_16222
if 
  0.0 > $d5_roll_diff
goto_if_false @DESERT5_16258
add_float_var_to_float_var $d5_plane_reached_required_altitude += $d5_roll_diff
goto @DESERT5_16320

:DESERT5_16258
if 
  0.0 > $d5_plane_reached_required_altitude
goto_if_false @DESERT5_16294
add_float_var_to_float_var $d5_plane_reached_required_altitude += $d5_roll_diff
goto @DESERT5_16320

:DESERT5_16294
add_float_var_to_float_var $d5_roll_progress += $d5_plane_reached_required_altitude
$d5_plane_reached_required_altitude = 0.0
add_float_var_to_float_var $d5_roll_progress += $d5_roll_diff

:DESERT5_16320
if 
  -20.0 > $d5_plane_reached_required_altitude
goto_if_false @DESERT5_16348
236@ = 1

:DESERT5_16348
if 
  236@ <> 1
goto_if_false @DESERT5_16424
if 
  $d5_roll_progress >= 360.0
goto_if_false @DESERT5_16424
174@ = 1
220@ = Blip.AddForCoord(115@, 113@, 114@)
Text.PrintNow('DES5_AD', 10000, 4)

:DESERT5_16424
goto @DESERT5_16504

:DESERT5_16431
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 115@, 113@, 114@, 129@, 129@, 129@, False)
goto_if_false @DESERT5_16504
Blip.Remove(220@)
Checkpoint.Delete(128@)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
235@ = 1

:DESERT5_16504
if 
  not Car.IsInAirProper(35@)
goto_if_false @DESERT5_16527
236@ = 1

:DESERT5_16527
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, -450.0, 49@, 1250.0, 1250.0, False)
goto_if_false @DESERT5_16570
236@ = 1

:DESERT5_16570
if or
  235@ == 1
  236@ == 1
goto_if_false @DESERT5_16973
gosub @DESERT5_25488
if 
  235@ == 1
goto_if_false @DESERT5_16669
gosub @DESERT5_26109
gosub @DESERT5_26842
147@ = 21
148@ = 27
gosub @DESERT5_27003
gosub @DESERT5_27165
goto @DESERT5_16697

:DESERT5_16669
$finish_rightx = 0
$overall_score = 0
145@ = 0
$variabled = 0

:DESERT5_16697
if 
  is_int_var_greater_than_int_var $variabled > $1946[7]
goto_if_false @DESERT5_16746
set_lvar_int_to_var_int 237@ = $1946[7]
set_var_int_to_var_int $1946[7] = $variabled
238@ = 1
gosub @DESERT5_25533

:DESERT5_16746
if 
  $d5_bronze_generator == 10
goto_if_false @DESERT5_16817
if 
  $variabled > 69
goto_if_false @DESERT5_16817
Stat.IncrementInt(StatId.FlyingSkill, 60)
238@ = 2
$d5_bronze_generator = 11
$d5_silver_generator = 11
232@ = 2

:DESERT5_16817
gosub @DESERT5_27741

:DESERT5_16824
if 
  219@ == 0
goto_if_false @DESERT5_16917
wait 0
gosub @DESERT5_29446
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DESERT5_16885
232@ = 2
goto @DESERT5_16917

:DESERT5_16885
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DESERT5_16910
goto @DESERT5_16917

:DESERT5_16910
goto @DESERT5_16824

:DESERT5_16917
gosub @DESERT5_27321
Checkpoint.Delete(127@)
Checkpoint.Delete(128@)
if 
  232@ == 2
goto_if_false @DESERT5_16966
goto @DESERT5_2600
goto @DESERT5_16973

:DESERT5_16966
goto @DESERT5_15318

:DESERT5_16973
goto @DESERT5_15506

:DESERT5_16980
if 
  34@ == 11
goto_if_false @DESERT5_18562

:DESERT5_16998
gosub @DESERT5_24893

:DESERT5_17005
$perfect_positionz = 0
238@ = 0
232@ = 0
233@ = 0
235@ = 0
236@ = 0
173@ = 0
174@ = 0
35@ = Car.Create(513, 53@, 113@, 114@)
Car.SetHeading(35@, 270.0)
if 
  231@ == 0
goto_if_false @DESERT5_17149
Camera.SetFixedPosition(292.95, 2445.3, 93.46, 0.0, 0.0, 0.0)
Camera.PointAtCar(35@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:DESERT5_17149
Car.FreezePosition(35@, True)
wait 500
Text.ClearPrints
Text.PrintNow('DES5_AA', 5000, 4)
gosub @DESERT5_24930

:DESERT5_17186
wait 0
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DESERT5_17225
232@ = 2
goto @DESERT5_18499

:DESERT5_17225
gosub @DESERT5_25083
if 
  232@ == 1
goto_if_false @DESERT5_17294
if 
  Car.IsInWater(35@)
goto_if_false @DESERT5_17287
232@ = 2
goto @DESERT5_18499
goto @DESERT5_17294

:DESERT5_17287
goto @DESERT5_30068

:DESERT5_17294
if 
  233@ == 0
goto_if_false @DESERT5_17481
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_17474
Car.FreezePosition(35@, False)
Car.SetForwardSpeed(35@, 20.0)
233@ = 1
220@ = Blip.AddForCoord(112@, 113@, 114@)
127@ = Checkpoint.Create(CheckpointType.Torus, 112@, 113@, 114@, 0.0, 113@, 114@, 129@)
128@ = Checkpoint.Create(CheckpointType.Torus, 115@, 113@, 114@, 0.0, 113@, 114@, 129@)
Hud.DisplayTimerWithString($perfect_positionz, TimerDirection.Up, 'DES5_T4')
Text.PrintNow('DES5_AA', 7000, 4)
Text.Print('DES5_BB', 10000, 4)

:DESERT5_17474
goto @DESERT5_18555

:DESERT5_17481
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_18555
if 
  173@ <> 1
goto_if_false @DESERT5_17672
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 112@, 113@, 114@, 129@, 129@, 129@, False)
goto_if_false @DESERT5_17665
Blip.Remove(220@)
Checkpoint.Delete(127@)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
173@ = 1
Text.ClearPrints
Text.PrintNow('DES5_BC', 5000, 4)
$d5_plane_up_component = Car.GetRoll(35@)
if 
  0.0 > $d5_plane_up_component
goto_if_false @DESERT5_17645
$d5_plane_up_component += 360.0

:DESERT5_17645
$d5_plane_taken_off = 0.0
$d5_plane_reached_required_altitude = 0.0

:DESERT5_17665
goto @DESERT5_18086

:DESERT5_17672
if 
  174@ <> 1
goto_if_false @DESERT5_18013
$d5_negative_progress = Car.GetRoll(35@)
if 
  0.0 > $d5_negative_progress
goto_if_false @DESERT5_17729
$d5_negative_progress += 360.0

:DESERT5_17729
set_var_float_to_var_float $d5_plane_reached_takeoff_point = $d5_negative_progress
sub_float_var_from_float_var $d5_plane_reached_takeoff_point -= $d5_plane_up_component
set_var_float_to_var_float $d5_plane_up_component = $d5_negative_progress
if 
  $d5_plane_reached_takeoff_point > 180.0
goto_if_false @DESERT5_17784
$d5_plane_reached_takeoff_point -= 360.0

:DESERT5_17784
if 
  -180.0 > $d5_plane_reached_takeoff_point
goto_if_false @DESERT5_17815
$d5_plane_reached_takeoff_point += 360.0

:DESERT5_17815
if 
  0.0 > $d5_plane_reached_takeoff_point
goto_if_false @DESERT5_17851
add_float_var_to_float_var $d5_plane_reached_required_altitude += $d5_plane_reached_takeoff_point
goto @DESERT5_17913

:DESERT5_17851
if 
  0.0 > $d5_plane_reached_required_altitude
goto_if_false @DESERT5_17887
add_float_var_to_float_var $d5_plane_reached_required_altitude += $d5_plane_reached_takeoff_point
goto @DESERT5_17913

:DESERT5_17887
add_float_var_to_float_var $d5_plane_taken_off += $d5_plane_reached_required_altitude
$d5_plane_reached_required_altitude = 0.0
add_float_var_to_float_var $d5_plane_taken_off += $d5_plane_reached_takeoff_point

:DESERT5_17913
if 
  -20.0 > $d5_plane_reached_required_altitude
goto_if_false @DESERT5_17948
236@ = 1
goto @DESERT5_18006

:DESERT5_17948
if 
  $d5_plane_taken_off >= 360.0
goto_if_false @DESERT5_18006
174@ = 1
220@ = Blip.AddForCoord(115@, 113@, 114@)
Text.PrintNow('DES5_AD', 10000, 4)

:DESERT5_18006
goto @DESERT5_18086

:DESERT5_18013
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 115@, 113@, 114@, 129@, 129@, 129@, False)
goto_if_false @DESERT5_18086
Blip.Remove(220@)
Checkpoint.Delete(128@)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
235@ = 1

:DESERT5_18086
if 
  not Car.IsInAirProper(35@)
goto_if_false @DESERT5_18109
236@ = 1

:DESERT5_18109
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, -450.0, 49@, 1250.0, 1250.0, False)
goto_if_false @DESERT5_18152
236@ = 1

:DESERT5_18152
if or
  235@ == 1
  236@ == 1
goto_if_false @DESERT5_18555
gosub @DESERT5_25488
if 
  235@ == 1
goto_if_false @DESERT5_18251
gosub @DESERT5_26109
gosub @DESERT5_26842
147@ = 18
148@ = 23
gosub @DESERT5_27003
gosub @DESERT5_27165
goto @DESERT5_18279

:DESERT5_18251
$finish_rightx = 0
$overall_score = 0
145@ = 0
$variabled = 0

:DESERT5_18279
if 
  is_int_var_greater_than_int_var $variabled > $1946[8]
goto_if_false @DESERT5_18328
set_lvar_int_to_var_int 237@ = $1946[8]
set_var_int_to_var_int $1946[8] = $variabled
238@ = 1
gosub @DESERT5_25533

:DESERT5_18328
if 
  $d5_bronze_generator == 11
goto_if_false @DESERT5_18399
if 
  $variabled > 69
goto_if_false @DESERT5_18399
Stat.IncrementInt(StatId.FlyingSkill, 60)
238@ = 2
$d5_bronze_generator = 12
$d5_silver_generator = 12
232@ = 2

:DESERT5_18399
gosub @DESERT5_27741

:DESERT5_18406
if 
  219@ == 0
goto_if_false @DESERT5_18499
wait 0
gosub @DESERT5_29446
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DESERT5_18467
232@ = 2
goto @DESERT5_18499

:DESERT5_18467
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DESERT5_18492
goto @DESERT5_18499

:DESERT5_18492
goto @DESERT5_18406

:DESERT5_18499
gosub @DESERT5_27321
Checkpoint.Delete(127@)
Checkpoint.Delete(128@)
if 
  232@ == 2
goto_if_false @DESERT5_18548
goto @DESERT5_2600
goto @DESERT5_18555

:DESERT5_18548
goto @DESERT5_16998

:DESERT5_18555
goto @DESERT5_17186

:DESERT5_18562
if 
  34@ == 12
goto_if_false @DESERT5_19980

:DESERT5_18580
gosub @DESERT5_24893

:DESERT5_18587
$perfect_positionz = 0
238@ = 0
232@ = 0
233@ = 0
235@ = 0
236@ = 0
175@ = 0
176@ = 0
if 
  231@ == 0
goto_if_false @DESERT5_18800
70@ = Char.Create(PedType.Mission1, 0, 46@, 49@, 250.0)
Char.SetHeading(70@, 90.0)
Char.FreezePosition(70@, True)
set_var_float_to_lvar_float $has_freefall_started = 136@
set_var_float_to_lvar_float $tempf1 = 137@
set_var_float_to_lvar_float $tempf2 = 138@
StreamedScript.StartNew(1, -1, -10.0, 10.0, -5.0, -2.0, 10.0, 12.0, 1, 70@)
StreamedScript.Stream(1)
Camera.AttachToCharLookAtChar(70@, 0.0, -5.0, 4.0, 70@, 0.0, SwitchType.JumpCut)
return 

:DESERT5_18800
Char.SetCoordinates($stattreadstamina_ctr, 139@, 140@, 141@)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Streaming.RequestModel(371)

:DESERT5_18829
if 
  not Streaming.HasModelLoaded(371)
goto_if_false @DESERT5_18856
wait 0
goto @DESERT5_18829

:DESERT5_18856
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Parachute, 1)
$para_freefall_Vz = 5.0
$para_freefall_Vy = -5.0
$para_default_Vy = 8.5
$para_Vx = -1.5
$para_Vy = -30.0
$para_Vz = 15.0
$can_skip_smoking_cutscene = 0

:DESERT5_18932
if 
  2 > $para_float_Vz
goto_if_false @DESERT5_18961
wait 0
goto @DESERT5_18932

:DESERT5_18961
135@ = Object.Create(#BASEJUMP_TARGET, 136@, 137@, 138@)
Object.SetHeading(135@, 90.0)
143@ = Checkpoint.Create(CheckpointType.Torus, 136@, 137@, 138@, 136@, 137@, 900.0, 6.5)
wait 500
Text.ClearPrints
Text.PrintNow('DES5_CA', 7000, 4)
Text.Print('DES5_CI', 10000, 4)
gosub @DESERT5_24930

:DESERT5_19066
wait 0
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DESERT5_19105
232@ = 2
goto @DESERT5_19864

:DESERT5_19105
if 
  233@ == 0
goto_if_false @DESERT5_19167
Hud.DisplayTimerWithString($perfect_positionz, TimerDirection.Up, 'DES5_T4')
220@ = Blip.AddForCoord(136@, 137@, 138@)
233@ = 1
goto @DESERT5_19973

:DESERT5_19167
if 
  176@ <> 1
goto_if_false @DESERT5_19351
if 
  175@ <> 1
goto_if_false @DESERT5_19261
41@, 42@, 43@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  300.0 >= 43@
goto_if_false @DESERT5_19261
175@ = 1
Text.PrintNow('DES5_CC', 10000, 4)

:DESERT5_19261
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @DESERT5_19351
176@ = 1
Text.ClearPrints
Text.PrintNow('DES5_CD', 7000, 4)
Text.Print('DES5_CF', 7000, 4)
Text.Print('DES5_CH', 7000, 4)
Text.Print('DES5_CE', 7000, 4)

:DESERT5_19351
if 
  176@ == 1
goto_if_false @DESERT5_19460
if 
  $para_flare_Vy == 1
goto_if_false @DESERT5_19460
41@, 42@, 43@ = Char.GetCoordinates($stattreadstamina_ctr)
142@ = Math.GetDistanceBetweenCoords2D(41@, 42@, 136@, 137@)
if 
  10.0 >= 142@
goto_if_false @DESERT5_19453
235@ = 1
goto @DESERT5_19460

:DESERT5_19453
236@ = 1

:DESERT5_19460
if 
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, -450.0, 49@, 1250.0, 1250.0, False)
goto_if_false @DESERT5_19503
236@ = 1

:DESERT5_19503
if or
  235@ == 1
  236@ == 1
goto_if_false @DESERT5_19973
gosub @DESERT5_25488
if 
  235@ == 1
goto_if_false @DESERT5_19602
gosub @DESERT5_26109
gosub @DESERT5_26842
147@ = 55
148@ = 70
gosub @DESERT5_27003
gosub @DESERT5_27165
goto @DESERT5_19630

:DESERT5_19602
$finish_rightx = 0
$overall_score = 0
145@ = 0
$variabled = 0

:DESERT5_19630
if 
  is_int_var_greater_than_int_var $variabled > $1946[9]
goto_if_false @DESERT5_19679
set_lvar_int_to_var_int 237@ = $1946[9]
set_var_int_to_var_int $1946[9] = $variabled
238@ = 1
gosub @DESERT5_25533

:DESERT5_19679
if 
  $f1_the90_best_score <> 1
goto_if_false @DESERT5_19764
if 
  $variabled > 69
goto_if_false @DESERT5_19764
238@ = 2
$d5_bronze_generator = 12
$d5_silver_generator = 12
232@ = 2
Stat.IncrementInt(StatId.FlyingSkill, 60)
$f1_the90_best_score = 1
177@ = 1

:DESERT5_19764
gosub @DESERT5_27741

:DESERT5_19771
if 
  219@ == 0
goto_if_false @DESERT5_19864
wait 0
gosub @DESERT5_29446
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @DESERT5_19832
232@ = 2
goto @DESERT5_19864

:DESERT5_19832
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @DESERT5_19857
goto @DESERT5_19864

:DESERT5_19857
goto @DESERT5_19771

:DESERT5_19864
gosub @DESERT5_27321
Char.FreezePosition($stattreadstamina_ctr, False)
if 
  177@ == 1
goto_if_false @DESERT5_19934
Camera.DoFade(500, Fade.In)

:DESERT5_19903
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_19927
wait 0
goto @DESERT5_19903

:DESERT5_19927
goto @DESERT5_30111

:DESERT5_19934
if 
  232@ == 2
goto_if_false @DESERT5_19966
goto @DESERT5_2600
goto @DESERT5_19973

:DESERT5_19966
goto @DESERT5_18580

:DESERT5_19973
goto @DESERT5_19066

:DESERT5_19980
85@ = -383.79
set_lvar_float_to_lvar_float 93@ = 49@
101@ = 147.09
set_lvar_float_to_lvar_float 86@ = 85@
86@ -= 300.0
set_lvar_float_to_lvar_float 91@ = 85@
91@ -= 300.0
if or
  34@ == 3
  34@ == 5
goto_if_false @DESERT5_20112
set_lvar_float_to_lvar_float 94@ = 93@
94@ -= 300.0
set_lvar_float_to_lvar_float 99@ = 93@
99@ += 300.0
goto @DESERT5_20148

:DESERT5_20112
set_lvar_float_to_lvar_float 94@ = 93@
94@ += 300.0
set_lvar_float_to_lvar_float 99@ = 93@
99@ -= 300.0

:DESERT5_20148
set_lvar_float_to_lvar_float 102@ = 101@
set_lvar_float_to_lvar_float 107@ = 101@
130@ = 350.0
if or
  34@ == 3
  34@ == 5
goto_if_false @DESERT5_20216
131@ = 270.0
goto @DESERT5_20226

:DESERT5_20216
131@ = 90.0

:DESERT5_20226
set_lvar_float_to_lvar_float 133@ = 85@
133@ -= 600.0
set_lvar_float_to_lvar_float 134@ = 93@
156@ = 2

:DESERT5_20259
if 
  5 >= 156@
goto_if_false @DESERT5_20427
85@(156@,8f) = Math.Cos(131@)
93@(156@,8f) = Math.Sin(131@)
mult_float_lvar_by_float_lvar 85@(156@,8f) *= 130@
mult_float_lvar_by_float_lvar 93@(156@,8f) *= 130@
add_float_lvar_to_float_lvar 85@(156@,8f) += 133@
add_float_lvar_to_float_lvar 93@(156@,8f) += 134@
set_lvar_float_to_lvar_float 101@(156@,8f) = 101@
if or
  34@ == 3
  34@ == 5
goto_if_false @DESERT5_20403
131@ -= 60.0
goto @DESERT5_20413

:DESERT5_20403
131@ += 60.0

:DESERT5_20413
156@ += 1
goto @DESERT5_20259

:DESERT5_20427
set_lvar_float_to_lvar_float 92@ = 85@
set_lvar_float_to_lvar_float 100@ = 93@
set_lvar_float_to_lvar_float 108@ = 101@
if or
  34@ == 5
  34@ == 6
goto_if_false @DESERT5_20496
92@ += 20.0
108@ -= 30.0

:DESERT5_20496
return 

:DESERT5_20498
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 225.0, 612.0, 438.0, 0, 0, 0, 227@)
if 
  226@ == 1
goto_if_false @DESERT5_20620
if 
  255 > 227@
goto_if_false @DESERT5_20613
227@ += 5
if 
  227@ > 255
goto_if_false @DESERT5_20606
227@ = 255

:DESERT5_20606
goto @DESERT5_20620

:DESERT5_20613
226@ = 2

:DESERT5_20620
if 
  226@ == 3
goto_if_false @DESERT5_20702
if 
  227@ > 0
goto_if_false @DESERT5_20695
227@ -= 5
if 
  0 > 227@
goto_if_false @DESERT5_20688
227@ = 0

:DESERT5_20688
goto @DESERT5_20702

:DESERT5_20695
226@ = 0

:DESERT5_20702
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 0.0, 640.0, 197.0, 0, 0, 0, 255)
gosub @DESERT5_24773
Text.SetColor(255, 255, 255, 255)
if 
  34@ == 1
goto_if_false @DESERT5_20814
Text.Display(322.0, 31.0, 'DES5_MA')
set_lvar_int_to_var_int 228@ = $1946[0]
gosub @DESERT5_22111

:DESERT5_20814
if 
  34@ == 2
goto_if_false @DESERT5_20868
Text.Display(322.0, 31.0, 'DES5_MB')
set_lvar_int_to_var_int 228@ = $1946[1]
gosub @DESERT5_22111

:DESERT5_20868
if 
  34@ == 3
goto_if_false @DESERT5_20922
Text.Display(322.0, 31.0, 'DES5_MC')
set_lvar_int_to_var_int 228@ = $1946[2]
gosub @DESERT5_22111

:DESERT5_20922
if 
  34@ == 4
goto_if_false @DESERT5_20976
Text.Display(322.0, 31.0, 'DES5_MC')
set_lvar_int_to_var_int 228@ = $1946[2]
gosub @DESERT5_22111

:DESERT5_20976
if 
  34@ == 5
goto_if_false @DESERT5_21030
Text.Display(322.0, 31.0, 'DES5_MD')
set_lvar_int_to_var_int 228@ = $1946[3]
gosub @DESERT5_22111

:DESERT5_21030
if 
  34@ == 6
goto_if_false @DESERT5_21084
Text.Display(322.0, 31.0, 'DES5_MD')
set_lvar_int_to_var_int 228@ = $1946[3]
gosub @DESERT5_22111

:DESERT5_21084
if 
  34@ == 7
goto_if_false @DESERT5_21138
Text.Display(322.0, 31.0, 'DES5_ME')
set_lvar_int_to_var_int 228@ = $1946[4]
gosub @DESERT5_22111

:DESERT5_21138
if 
  34@ == 8
goto_if_false @DESERT5_21192
Text.Display(322.0, 31.0, 'DES5_MF')
set_lvar_int_to_var_int 228@ = $1946[5]
gosub @DESERT5_22111

:DESERT5_21192
if 
  34@ == 9
goto_if_false @DESERT5_21246
Text.Display(322.0, 31.0, 'DES5_MG')
set_lvar_int_to_var_int 228@ = $1946[6]
gosub @DESERT5_22111

:DESERT5_21246
if 
  34@ == 10
goto_if_false @DESERT5_21300
Text.Display(322.0, 31.0, 'DES5_MH')
set_lvar_int_to_var_int 228@ = $1946[7]
gosub @DESERT5_22111

:DESERT5_21300
if 
  34@ == 11
goto_if_false @DESERT5_21354
Text.Display(322.0, 31.0, 'DES5_MI')
set_lvar_int_to_var_int 228@ = $1946[8]
gosub @DESERT5_22111

:DESERT5_21354
if 
  34@ == 12
goto_if_false @DESERT5_21408
Text.Display(322.0, 31.0, 'DES5_MJ')
set_lvar_int_to_var_int 228@ = $1946[9]
gosub @DESERT5_22111

:DESERT5_21408
gosub @DESERT5_24653
152@, 153@, 154@, 155@ = Hud.GetColor(6)
Text.SetColor(152@, 153@, 154@, 155@)
Text.Display(105.0, 375.0, 'DES5_FO')
if 
  230@ <> 1
goto_if_false @DESERT5_21641
gosub @DESERT5_24653
152@, 153@, 154@, 155@ = Hud.GetColor(6)
Text.SetColor(152@, 153@, 154@, 155@)
Text.Display(105.0, 325.0, 'DES5_FP')
gosub @DESERT5_24653
if 
  $d5_bronze_generator <> 1
goto_if_false @DESERT5_21590
152@, 153@, 154@, 155@ = Hud.GetColor(6)
goto @DESERT5_21606

:DESERT5_21590
152@, 153@, 154@, 155@ = Hud.GetColor(HudObject.Radar)

:DESERT5_21606
Text.SetColor(152@, 153@, 154@, 155@)
Text.Display(105.0, 350.0, 'DES5_FN')

:DESERT5_21641
gosub @DESERT5_24653
Text.SetScale(1.45, 2.0)
152@, 153@, 154@, 155@ = Hud.GetColor(6)
Text.SetColor(152@, 153@, 154@, 155@)
Text.Display(70.0, 372.0, 'DES5_FL')
if 
  230@ <> 1
goto_if_false @DESERT5_21869
gosub @DESERT5_24653
Text.SetScale(1.45, 2.0)
152@, 153@, 154@, 155@ = Hud.GetColor(6)
Text.SetColor(152@, 153@, 154@, 155@)
Text.Display(70.0, 322.0, 'DES5_FM')
gosub @DESERT5_24653
Text.SetScale(1.45, 2.0)
152@, 153@, 154@, 155@ = Hud.GetColor(6)
Text.SetColor(152@, 153@, 154@, 155@)
Text.Display(61.4, 347.0, 'DES5_FK')

:DESERT5_21869
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 160.0, 317.0, 320.0, -224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 480.0, 317.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(9, 160.0, 435.0, 320.0, 17.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(9, 480.0, 435.0, -320.0, 17.0, 150, 150, 150, 255)
return 

:DESERT5_22111
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 430.0, 640.0, 250.0, 0, 0, 0, 255)
if 
  70 > 228@
goto_if_false @DESERT5_22173
229@ = 1

:DESERT5_22173
if 
  228@ > 69
goto_if_false @DESERT5_22216
if 
  85 > 228@
goto_if_false @DESERT5_22216
229@ = 2

:DESERT5_22216
if 
  228@ > 84
goto_if_false @DESERT5_22259
if 
  100 > 228@
goto_if_false @DESERT5_22259
229@ = 3

:DESERT5_22259
if 
  228@ == 100
goto_if_false @DESERT5_22284
229@ = 4

:DESERT5_22284
gosub @DESERT5_24653
Text.SetRightJustify(False)
Text.SetCenter(True)
152@, 153@, 154@, 155@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(152@, 153@, 154@, 155@)
if 
  229@ > 1
goto_if_false @DESERT5_22378
Text.DisplayWithNumber(320.0, 75.0, 'DES5_FQ', 228@)
goto @DESERT5_22399

:DESERT5_22378
Text.Display(320.0, 75.0, 'DES5_FR')

:DESERT5_22399
if 
  229@ > 1
goto_if_false @DESERT5_22504
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 250.0, 306.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 395.0, 306.0, 60.0, 60.0, 180, 180, 180, 255)
goto @DESERT5_22584

:DESERT5_22504
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(7, 250.0, 306.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(7, 395.0, 306.0, 60.0, 60.0, 180, 180, 180, 255)

:DESERT5_22584
Hud.SetSpritesDrawBeforeFade(True)
if 
  229@ == 1
goto_if_false @DESERT5_22770
242@ = Game.GetCurrentLanguage()
if 
  is_int_lvar_equal_to_constant 242@ == 0
goto_if_false @DESERT5_22672
Hud.DrawSprite(6, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
goto @DESERT5_22708

:DESERT5_22672
Hud.DrawSprite(10, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)

:DESERT5_22708
gosub @DESERT5_24653
Text.SetCenter(True)
152@, 153@, 154@, 155@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(152@, 153@, 154@, 155@)
Text.Display(320.0, 375.0, 'DES5_FS')

:DESERT5_22770
if 
  229@ == 2
goto_if_false @DESERT5_22886
Hud.DrawSprite(1, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @DESERT5_24653
Text.SetCenter(True)
152@, 153@, 154@, 155@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(152@, 153@, 154@, 155@)
Text.Display(320.0, 375.0, 'DES5_FF')

:DESERT5_22886
if 
  229@ == 3
goto_if_false @DESERT5_23002
Hud.DrawSprite(2, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @DESERT5_24653
Text.SetCenter(True)
152@, 153@, 154@, 155@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(152@, 153@, 154@, 155@)
Text.Display(320.0, 375.0, 'DES5_FE')

:DESERT5_23002
if 
  229@ == 4
goto_if_false @DESERT5_23118
Hud.DrawSprite(3, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @DESERT5_24653
Text.SetCenter(True)
152@, 153@, 154@, 155@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(152@, 153@, 154@, 155@)
Text.Display(320.0, 375.0, 'DES5_FD')

:DESERT5_23118
return 

:DESERT5_23120
if 
  231@ == 0
goto_if_false @DESERT5_23399
if 
  34@ == 1
goto_if_false @DESERT5_23163
gosub @DESERT5_3986

:DESERT5_23163
if 
  34@ == 2
goto_if_false @DESERT5_23188
gosub @DESERT5_5497

:DESERT5_23188
if 
  34@ == 4
goto_if_false @DESERT5_23213
gosub @DESERT5_6962

:DESERT5_23213
if 
  34@ == 6
goto_if_false @DESERT5_23238
gosub @DESERT5_8543

:DESERT5_23238
if 
  34@ == 7
goto_if_false @DESERT5_23263
gosub @DESERT5_10335

:DESERT5_23263
if 
  34@ == 8
goto_if_false @DESERT5_23288
gosub @DESERT5_11773

:DESERT5_23288
if 
  34@ == 9
goto_if_false @DESERT5_23313
gosub @DESERT5_12994

:DESERT5_23313
if 
  34@ == 10
goto_if_false @DESERT5_23338
gosub @DESERT5_15325

:DESERT5_23338
if 
  34@ == 11
goto_if_false @DESERT5_23363
gosub @DESERT5_17005

:DESERT5_23363
if 
  34@ == 12
goto_if_false @DESERT5_23388
gosub @DESERT5_18587

:DESERT5_23388
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
231@ = 1

:DESERT5_23399
if 
  231@ == 1
goto_if_false @DESERT5_23697
if 
  34@ <> 12
goto_if_false @DESERT5_23602
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_23581
150@ = 589
add_int_lvar_to_int_lvar 150@ += 34@
if 
  34@ == 4
goto_if_false @DESERT5_23492
150@ -= 1

:DESERT5_23492
if 
  34@ >= 6
goto_if_false @DESERT5_23517
150@ -= 2

:DESERT5_23517
if 
  not Streaming.HasCarRecordingBeenLoaded(150@)
goto_if_false @DESERT5_23545
Streaming.RequestCarRecording(150@)
goto @DESERT5_23574

:DESERT5_23545
Car.StartPlayback(35@, 150@)
gosub @DESERT5_24297
226@ = 3
231@ = 2

:DESERT5_23574
goto @DESERT5_23595

:DESERT5_23581
226@ = 3
231@ = 2

:DESERT5_23595
goto @DESERT5_23697

:DESERT5_23602
if 
  not Char.IsDead(70@)
goto_if_false @DESERT5_23683
if 
  Char.IsPlayingAnim(70@, "FALL_SKYDIVE")
goto_if_false @DESERT5_23676
Char.FreezePosition(70@, False)
TIMERB = 0
226@ = 3
231@ = 2

:DESERT5_23676
goto @DESERT5_23697

:DESERT5_23683
226@ = 3
231@ = 2

:DESERT5_23697
if 
  231@ == 2
goto_if_false @DESERT5_24055
if 
  34@ <> 12
goto_if_false @DESERT5_23978
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_23957
if 
  not Car.IsPlaybackGoingOn(35@)
goto_if_false @DESERT5_23793
Car.FreezePosition(35@, True)
226@ = 1
231@ = 4
goto @DESERT5_23950

:DESERT5_23793
Heli.SetBladesFullSpeed(35@)
if 
  34@ == 9
goto_if_false @DESERT5_23950
Heli.FireHunterGun(35@)
if and
  172@ <> 1
  not Car.IsDead(62@)
  TIMERB > 3000
goto_if_false @DESERT5_23864
Car.ExplodeInCutscene(62@)
172@ = 1

:DESERT5_23864
if and
  171@ <> 1
  not Car.IsDead(61@)
  TIMERB > 4500
goto_if_false @DESERT5_23907
Car.ExplodeInCutscene(61@)
171@ = 1

:DESERT5_23907
if and
  170@ <> 1
  not Car.IsDead(60@)
  TIMERB > 6000
goto_if_false @DESERT5_23950
Car.ExplodeInCutscene(60@)
170@ = 1

:DESERT5_23950
goto @DESERT5_23971

:DESERT5_23957
226@ = 1
231@ = 4

:DESERT5_23971
goto @DESERT5_24055

:DESERT5_23978
if 
  not Char.IsDead(70@)
goto_if_false @DESERT5_24041
if 
  TIMERB > 15000
goto_if_false @DESERT5_24034
Char.FreezePosition(70@, True)
226@ = 1
231@ = 4

:DESERT5_24034
goto @DESERT5_24055

:DESERT5_24041
226@ = 1
231@ = 4

:DESERT5_24055
if 
  231@ == 3
goto_if_false @DESERT5_24110
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_24096
Car.FreezePosition(35@, True)

:DESERT5_24096
226@ = 1
231@ = 4

:DESERT5_24110
if 
  231@ == 4
goto_if_false @DESERT5_24295
if 
  226@ == 2
goto_if_false @DESERT5_24295
Car.StopPlayback(35@)
Camera.RestoreJumpcut
Char.Delete(70@)
Car.Delete(35@)
156@ = 0

:DESERT5_24170
if 
  is_int_lvar_greater_than_int_lvar 63@ > 156@
goto_if_false @DESERT5_24212
Car.Delete(60@(156@,3i))
156@ += 1
goto @DESERT5_24170

:DESERT5_24212
Streaming.RemoveCarRecording(590)
Streaming.RemoveCarRecording(591)
Streaming.RemoveCarRecording(592)
Streaming.RemoveCarRecording(593)
Streaming.RemoveCarRecording(594)
Streaming.RemoveCarRecording(595)
Streaming.RemoveCarRecording(596)
Streaming.RemoveCarRecording(597)
Streaming.RemoveCarRecording(598)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
World.ClearArea($camera_positiony, $camera_positionz, $camera_position_int, 300.0, True)
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
231@ = 0

:DESERT5_24295
return 

:DESERT5_24297
switch_start 34@ {numCases} 10 {hasDefaultCase} 1 {defaultLabel} @DESERT5_24622 {caseNum1} 1 {caseLabel1} @DESERT5_24425 {caseNum2} 2 {caseLabel2} @DESERT5_24449 {caseNum3} 3 {caseLabel3} @DESERT5_24473 {caseNum4} 4 {caseLabel4} @DESERT5_24473 {caseNum5} 5 {caseLabel5} @DESERT5_24502 {caseNum6} 6 {caseLabel6} @DESERT5_24502 {caseNum7} 7 {caseLabel7} @DESERT5_24526
switch_continued 9 {caseLabel1} @DESERT5_24550 {caseNum2} 10 {caseLabel2} @DESERT5_24574 {caseNum3} 11 {caseLabel3} @DESERT5_24598 {caseNum4} -1 {caseLabel4} @DESERT5_24629 {caseNum5} -1 {caseLabel5} @DESERT5_24629 {caseNum6} -1 {caseLabel6} @DESERT5_24629 {caseNum7} -1 {caseLabel7} @DESERT5_24629 {caseNum8} -1 {caseLabel8} @DESERT5_24629 {caseNum9} -1 {caseLabel9} @DESERT5_24629

:DESERT5_24425
Streaming.LoadScene(172.6, 2466.14, 17.05)
goto @DESERT5_24629

:DESERT5_24449
Streaming.LoadScene(27.29, 2466.31, 16.76)
goto @DESERT5_24629

:DESERT5_24473
Streaming.LoadSceneInDirection(-1251.02, 2301.32, 120.44, 60.0)
goto @DESERT5_24629

:DESERT5_24502
Streaming.LoadScene(-394.09, 2601.47, 134.89)
goto @DESERT5_24629

:DESERT5_24526
Streaming.LoadScene(323.02, 2446.81, 117.65)
goto @DESERT5_24629

:DESERT5_24550
Streaming.LoadScene(365.5, 2339.25, 63.23)
goto @DESERT5_24629

:DESERT5_24574
Streaming.LoadScene(269.53, 2445.3, 88.46)
goto @DESERT5_24629

:DESERT5_24598
Streaming.LoadScene(292.95, 2445.3, 93.46)
goto @DESERT5_24629

:DESERT5_24622
goto @DESERT5_24629

:DESERT5_24629
Streaming.LoadSceneInDirection(412.38, 2533.65, 18.18, 90.0)
return 

:DESERT5_24653
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(False)
Text.SetBackground(False)
Text.SetScale(0.52, 1.45)
Text.SetDropshadow(2, 0, 0, 0, 255)
Text.SetFont(Font.Menu)
return 

:DESERT5_24715
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(0.8, 2.6)
Text.SetDropshadow(2, 0, 0, 0, 255)
return 

:DESERT5_24773
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(1.2, 4.0)
Text.SetDropshadow(3, 0, 0, 0, 255)
Text.SetFont(Font.Pricedown)
return 

:DESERT5_24835
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(1.0, 3.4)
Text.SetDropshadow(3, 0, 0, 0, 255)
Text.SetFont(Font.Pricedown)
return 

:DESERT5_24893
Camera.DoFade(500, Fade.Out)

:DESERT5_24900
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_24924
wait 0
goto @DESERT5_24900

:DESERT5_24924
Camera.RestoreJumpcut
Camera.SetBehindPlayer
return 

:DESERT5_24930
if 
  34@ <> 12
goto_if_false @DESERT5_24972
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_24972
Char.WarpIntoCar($stattreadstamina_ctr, 35@)

:DESERT5_24972
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
Streaming.RequestCollision($x, $y)
Streaming.LoadScene($x, $y, $z)
wait 0
if 
  34@ <> 9
goto_if_false @DESERT5_25031
Weather.ForceNow(WeatherType.ExtraSunnyDesert)

:DESERT5_25031
Hud.Display(True)
Hud.DisplayRadar(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(500, Fade.In)

:DESERT5_25050
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_25074
wait 0
goto @DESERT5_25050

:DESERT5_25074
Player.SetControl($statbike_temp, True)
return 

:DESERT5_25083
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_25150
if 
  233@ == 1
goto_if_false @DESERT5_25143
if 
  not Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @DESERT5_25143
232@ = 1

:DESERT5_25143
goto @DESERT5_25157

:DESERT5_25150
232@ = 1

:DESERT5_25157
return 

:DESERT5_25159
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_25202
if 
  Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @DESERT5_25202
$ca1_random_dialogue_last = Car.GetSpeed(35@)

:DESERT5_25202
if 
is_xbox_version 
goto_if_false @DESERT5_25337
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @DESERT5_25330
if 
  $ca1_random_dialogue_last > 0.1
goto_if_false @DESERT5_25330
Text.ClearPrints
if or
  34@ == 1
  34@ == 3
  34@ == 4
  34@ == 5
  34@ == 6
goto_if_false @DESERT5_25323
Hud.DisplayTimerWithString($perfect_positionz, TimerDirection.Up, 'DES5_T4')

:DESERT5_25323
233@ = 1

:DESERT5_25330
goto @DESERT5_25452

:DESERT5_25337
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @DESERT5_25452
if 
  $ca1_random_dialogue_last > 0.1
goto_if_false @DESERT5_25452
Text.ClearPrints
if or
  34@ == 1
  34@ == 3
  34@ == 4
  34@ == 5
  34@ == 6
goto_if_false @DESERT5_25445
Hud.DisplayTimerWithString($perfect_positionz, TimerDirection.Up, 'DES5_T4')

:DESERT5_25445
233@ = 1

:DESERT5_25452
return 
if 
  $perfect_positionz == 0
goto_if_false @DESERT5_25486
Player.SetControl($statbike_temp, False)
Player.ApplyBrakesToCar($statbike_temp, True)

:DESERT5_25486
return 

:DESERT5_25488
Player.SetControl($statbike_temp, False)
if 
  34@ <> 12
goto_if_false @DESERT5_25520
goto @DESERT5_25527

:DESERT5_25520
Char.FreezePosition($stattreadstamina_ctr, True)

:DESERT5_25527
Hud.FreezeTimer(True)
return 

:DESERT5_25533
229@ = 0
if 
  $variabled > 69
goto_if_false @DESERT5_25622
if 
  85 > $variabled
goto_if_false @DESERT5_25622
if and
  237@ > 69
  85 > 237@
goto_if_false @DESERT5_25615
229@ = 0
goto @DESERT5_25622

:DESERT5_25615
229@ = 2

:DESERT5_25622
if 
  $variabled > 84
goto_if_false @DESERT5_25704
if 
  100 > $variabled
goto_if_false @DESERT5_25704
if and
  237@ > 84
  100 > 237@
goto_if_false @DESERT5_25697
229@ = 0
goto @DESERT5_25704

:DESERT5_25697
229@ = 3

:DESERT5_25704
if 
  $variabled == 100
goto_if_false @DESERT5_25761
if 
  237@ == 100
goto_if_false @DESERT5_25754
229@ = 0
goto @DESERT5_25761

:DESERT5_25754
229@ = 4

:DESERT5_25761
243@ = 1
244@ = 1
245@ = 1
156@ = 0

:DESERT5_25789
if 
  10 > 156@
goto_if_false @DESERT5_25983
if 
  $boat_accelerate_best_score <> 1
goto_if_false @DESERT5_25861
if and
  70 > $1946(156@,10i)
  243@ == 1
goto_if_false @DESERT5_25861
243@ = 0

:DESERT5_25861
if 
  $boat_simplecircuit_best_score <> 1
goto_if_false @DESERT5_25915
if and
  85 > $1946(156@,10i)
  244@ == 1
goto_if_false @DESERT5_25915
244@ = 0

:DESERT5_25915
if 
  $boat_slalom_best_score <> 1
goto_if_false @DESERT5_25969
if and
  100 > $1946(156@,10i)
  245@ == 1
goto_if_false @DESERT5_25969
245@ = 0

:DESERT5_25969
156@ += 1
goto @DESERT5_25789

:DESERT5_25983
if and
  $boat_accelerate_best_score <> 1
  243@ == 1
goto_if_false @DESERT5_26022
CarGenerator.Switch($d5_silver_generator_unlocked, 101)
$boat_accelerate_best_score = 1

:DESERT5_26022
if and
  $boat_simplecircuit_best_score <> 1
  244@ == 1
goto_if_false @DESERT5_26061
CarGenerator.Switch($d5_gold_generator_unlocked, 101)
$boat_simplecircuit_best_score = 1

:DESERT5_26061
if and
  $boat_slalom_best_score <> 1
  245@ == 1
goto_if_false @DESERT5_26107
CarGenerator.Switch($boat_which_missions_are_open_flag, 101)
CarGenerator.Switch($5193[25], 101)
$boat_slalom_best_score = 1

:DESERT5_26107
return 

:DESERT5_26109
if or
  34@ == 1
  34@ == 3
  34@ == 4
  34@ == 7
  34@ == 10
  34@ == 11
goto_if_false @DESERT5_26176
$overall_score = 100
goto @DESERT5_26790

:DESERT5_26176
if 
  34@ <> 12
goto_if_false @DESERT5_26608
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_26594
$overall_score = 100
if 
  34@ == 2
goto_if_false @DESERT5_26286
if 
  not Car.IsStoppedInArea3D(35@, 288.0, 45@, 16.0, 328.0, 47@, 18.0, False)
goto_if_false @DESERT5_26286
$overall_score -= 50

:DESERT5_26286
if or
  34@ == 5
  34@ == 6
goto_if_false @DESERT5_26362
if 
  not Car.IsStoppedInArea3D(35@, 288.0, 45@, 16.0, 328.0, 47@, 18.0, True)
goto_if_false @DESERT5_26362
$overall_score -= 50

:DESERT5_26362
if 
  34@ == 8
goto_if_false @DESERT5_26429
if 
  not Car.LocateStopped3D(35@, 56@, 57@, 58@, 26.31, 26.31, 26.31, True)
goto_if_false @DESERT5_26429
$overall_score -= 50

:DESERT5_26429
if 
  34@ == 9
goto_if_false @DESERT5_26496
if 
  not Car.LocateStopped3D(35@, 56@, 57@, 58@, 26.31, 26.31, 26.31, True)
goto_if_false @DESERT5_26496
$overall_score -= 50

:DESERT5_26496
40@ = Car.GetHeading(35@)
if or
  40@ < 260.0
  280.0 < 40@
goto_if_false @DESERT5_26587
if and
  40@ >= 181.0
  359.0 >= 40@
goto_if_false @DESERT5_26580
$overall_score -= 10
goto @DESERT5_26587

:DESERT5_26580
$overall_score -= 25

:DESERT5_26587
goto @DESERT5_26601

:DESERT5_26594
$overall_score = 0

:DESERT5_26601
goto @DESERT5_26790

:DESERT5_26608
if 
  0.8 >= 142@
goto_if_false @DESERT5_26643
$overall_score = 100
goto @DESERT5_26790

:DESERT5_26643
if 
  2.1 >= 142@
goto_if_false @DESERT5_26678
$overall_score = 85
goto @DESERT5_26790

:DESERT5_26678
if 
  4.0 >= 142@
goto_if_false @DESERT5_26713
$overall_score = 75
goto @DESERT5_26790

:DESERT5_26713
if 
  6.0 >= 142@
goto_if_false @DESERT5_26748
$overall_score = 70
goto @DESERT5_26790

:DESERT5_26748
if 
  10.0 >= 142@
goto_if_false @DESERT5_26783
$overall_score = 35
goto @DESERT5_26790

:DESERT5_26783
$overall_score = 0

:DESERT5_26790
if 
  0 > $overall_score
goto_if_false @DESERT5_26815
$overall_score = 0

:DESERT5_26815
if 
  $overall_score > 100
goto_if_false @DESERT5_26840
$overall_score = 100

:DESERT5_26840
return 

:DESERT5_26842
if 
  34@ <> 12
goto_if_false @DESERT5_26994
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_26980
36@ = Car.GetHealth(35@)
$total_car_damage = 1000
sub_int_var_from_int_var $total_car_damage -= $total_dummy_car1_health
145@ = 1000
sub_int_lvar_from_int_lvar 145@ -= 36@
145@ /= 10
if 
  0 > 145@
goto_if_false @DESERT5_26948
145@ = 0

:DESERT5_26948
if 
  145@ > 100
goto_if_false @DESERT5_26973
145@ = 100

:DESERT5_26973
goto @DESERT5_26987

:DESERT5_26980
145@ = 100

:DESERT5_26987
goto @DESERT5_27001

:DESERT5_26994
145@ = 0

:DESERT5_27001
return 

:DESERT5_27003
set_var_int_to_var_int $finish_rightx = $perfect_positionz
$finish_rightx /= 1000
if 
  is_int_lvar_greater_or_equal_to_int_var 147@ >= $finish_rightx
goto_if_false @DESERT5_27052
146@ = 100
goto @DESERT5_27163

:DESERT5_27052
set_lvar_int_to_var_int 146@ = $finish_rightx
sub_int_lvar_from_int_lvar 146@ -= 147@
146@ *= 30
set_lvar_int_to_lvar_int 149@ = 148@
sub_int_lvar_from_int_lvar 149@ -= 147@
div_int_lvar_by_int_lvar 146@ /= 149@
146@ *= -1
146@ += 100
if 
  0 > 146@
goto_if_false @DESERT5_27138
146@ = 0

:DESERT5_27138
if 
  146@ > 100
goto_if_false @DESERT5_27163
146@ = 100

:DESERT5_27163
return 

:DESERT5_27165
set_var_int_to_lvar_int $variabled = 146@
if or
  34@ == 2
  34@ == 5
  34@ == 6
  34@ == 8
  34@ == 9
  34@ == 12
goto_if_false @DESERT5_27241
add_int_var_to_int_var $variabled += $overall_score
$variabled /= 2

:DESERT5_27241
if 
  34@ <> 12
goto_if_false @DESERT5_27267
sub_int_lvar_from_int_var $variabled -= 145@

:DESERT5_27267
if 
  0 > $variabled
goto_if_false @DESERT5_27292
$variabled = 0

:DESERT5_27292
if 
  $variabled > 100
goto_if_false @DESERT5_27317
$variabled = 100

:DESERT5_27317
Text.ClearPrints
return 

:DESERT5_27321
Player.SetControl($statbike_temp, False)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1188)
Camera.DoFade(500, Fade.Out)

:DESERT5_27355
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_27386
wait 0
gosub @DESERT5_29446
goto @DESERT5_27355

:DESERT5_27386
Menu.Delete(144@)
Text.ClearHelp
Text.ClearPrints
Text.ClearThisBigPrint('DES5_SA')
Text.ClearThisBigPrint('DES5_SB')
Text.SetScale(1.0, 1.0)
Player.ApplyBrakesToCar($statbike_temp, False)
if 
  34@ == 12
goto_if_false @DESERT5_27471
Object.Delete(135@)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Parachute)
Streaming.MarkModelAsNoLongerNeeded(371)

:DESERT5_27471
Camera.RestoreJumpcut
Char.Delete(70@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Blip.Remove(220@)
Checkpoint.Delete(118@)
Checkpoint.Delete(143@)
if 
  232@ == 2
goto_if_false @DESERT5_27518
Text.ClearPrints

:DESERT5_27518
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_27560
if 
  Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @DESERT5_27560
Car.FreezePosition(35@, True)

:DESERT5_27560
Char.FreezePosition($stattreadstamina_ctr, True)
wait 0
Streaming.RequestCollision(412.38, 2533.65)
Streaming.LoadScene(412.38, 2533.65, 18.18)
World.ClearArea($camera_positiony, $camera_positionz, $camera_position_int, 300.0, True)
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_27641
Car.FreezePosition(35@, False)

:DESERT5_27641
Char.FreezePosition($stattreadstamina_ctr, False)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DESERT5_27691
Char.WarpFromCarToCoord($stattreadstamina_ctr, 412.38, 2533.65, 18.18)
goto @DESERT5_27711

:DESERT5_27691
Char.SetCoordinates($stattreadstamina_ctr, 412.38, 2533.65, 18.18)

:DESERT5_27711
Char.SetHeading($stattreadstamina_ctr, 90.0)
Car.Delete(35@)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
return 

:DESERT5_27741
Player.SetControl($statbike_temp, False)
Camera.DoFade(200, Fade.Out)

:DESERT5_27755
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_27779
wait 0
goto @DESERT5_27755

:DESERT5_27779
Text.ClearHelp
Text.ClearPrints
Hud.ClearTimer($perfect_positionz)
Blip.Remove(220@)
Checkpoint.Delete(118@)
if or
  34@ == 3
  34@ == 4
  34@ == 5
  34@ == 6
goto_if_false @DESERT5_27885
156@ = 0

:DESERT5_27844
if 
  8 > 156@
goto_if_false @DESERT5_27885
Checkpoint.Delete(119@(156@,8i))
156@ += 1
goto @DESERT5_27844

:DESERT5_27885
if 
  34@ == 9
goto_if_false @DESERT5_28001
156@ = 0

:DESERT5_27910
if 
  is_int_lvar_greater_than_int_lvar 63@ > 156@
goto_if_false @DESERT5_27952
Blip.Remove(221@(156@,3i))
156@ += 1
goto @DESERT5_27910

:DESERT5_27952
156@ = 0

:DESERT5_27959
if 
  is_int_lvar_greater_than_int_lvar 66@ > 156@
goto_if_false @DESERT5_28001
Blip.Remove(224@(156@,2i))
156@ += 1
goto @DESERT5_27959

:DESERT5_28001
if or
  34@ == 10
  34@ == 11
goto_if_false @DESERT5_28036
Checkpoint.Delete(127@)
Checkpoint.Delete(128@)

:DESERT5_28036
if 
  34@ == 12
goto_if_false @DESERT5_28081
Object.Delete(135@)
Checkpoint.Delete(143@)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Parachute)
Streaming.MarkModelAsNoLongerNeeded(371)
Char.ClearTasksImmediately($stattreadstamina_ctr)

:DESERT5_28081
Camera.RestoreJumpcut
Char.Delete(70@)
if 
  232@ == 2
goto_if_false @DESERT5_28108
Text.ClearPrints

:DESERT5_28108
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_28150
if 
  Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @DESERT5_28150
Car.FreezePosition(35@, True)

:DESERT5_28150
Char.FreezePosition($stattreadstamina_ctr, True)
wait 0
Streaming.RequestCollision(412.38, 2533.65)
Streaming.LoadScene(300.0, 2501.94, 19.65)
World.ClearArea($camera_positiony, $camera_positionz, $camera_position_int, 300.0, True)
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_28231
Car.FreezePosition(35@, False)

:DESERT5_28231
Char.FreezePosition($stattreadstamina_ctr, False)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DESERT5_28281
Char.WarpFromCarToCoord($stattreadstamina_ctr, 412.38, 2533.65, 18.18)
goto @DESERT5_28301

:DESERT5_28281
Char.SetCoordinates($stattreadstamina_ctr, 412.38, 2533.65, 18.18)

:DESERT5_28301
Char.SetHeading($stattreadstamina_ctr, 90.0)
Car.Delete(35@)
Hud.Display(False)
Hud.DisplayRadar(False)
Camera.SetFixedPosition(370.0, 2501.94, 19.65, 0.0, 0.0, 0.0)
Camera.PointAtPoint(320.0, 2501.94, 19.65, SwitchType.JumpCut)
144@ = Menu.Create('DUMMY', 184.0, 200.0, 128.0, 2, False, True, 0)
Menu.SetColumn(144@, 1, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnOrientation(144@, 0, 1)
Menu.SetColumnOrientation(144@, 1, 0)
Menu.SetColumnWidth(144@, 0, 192)
Menu.SetColumnWidth(144@, 1, 64)
270@ = 0
if and
  238@ > 0
  229@ > 0
goto_if_false @DESERT5_28630
set_lvar_text_label 246@(270@,12s) = 'DUMMY'
270@ += 1

:DESERT5_28630
set_lvar_text_label 246@(270@,12s) = 'DES5_S3'
Menu.SetItemWithNumber(144@, 1, 270@, 'DES5_SC', $finish_rightx)
270@ += 1
if or
  34@ == 2
  34@ == 5
  34@ == 6
  34@ == 8
  34@ == 9
  34@ == 12
goto_if_false @DESERT5_28777
set_lvar_text_label 246@(270@,12s) = 'DES5_S5'
Menu.SetItemWithNumber(144@, 1, 270@, 'DES5_SD', $overall_score)
270@ += 1

:DESERT5_28777
if 
  34@ <> 12
goto_if_false @DESERT5_28842
set_lvar_text_label 246@(270@,12s) = 'DES5_S6'
Menu.SetItemWithNumber(144@, 1, 270@, 'DES5_SD', 145@)
270@ += 1

:DESERT5_28842
set_lvar_text_label 246@(270@,12s) = 'DES5_S7'
Menu.SetItemWithNumber(144@, 1, 270@, 'DES5_SD', $variabled)
270@ += 1
if 
  238@ == 2
goto_if_false @DESERT5_29166
set_lvar_text_label 246@(270@,12s) = 'DUMMY'
270@ += 1
set_lvar_text_label 246@(270@,12s) = 'DES5_SF'
270@ += 1
if 
  $d5_bronze_generator_unlocked <> 1
goto_if_false @DESERT5_29166
271@ = Stat.GetInt(StatId.FlyingSkill)
if 
  271@ >= 180
goto_if_false @DESERT5_29166
$d5_bronze_generator_unlocked = 1
156@ = 0

:DESERT5_29016
if 
  24 >= 156@
goto_if_false @DESERT5_29084
if and
  156@ <> 8
  156@ <> 9
goto_if_false @DESERT5_29070
CarGenerator.Switch($5193(156@,28i), 101)

:DESERT5_29070
156@ += 1
goto @DESERT5_29016

:DESERT5_29084
CarGenerator.Switch($5193[27], 101)
156@ = 0

:DESERT5_29098
if 
  11 >= 156@
goto_if_false @DESERT5_29141
CarGenerator.Switch($5221(156@,12i), 0)
156@ += 1
goto @DESERT5_29098

:DESERT5_29141
set_lvar_text_label 246@(270@,12s) = 'DES5_SG'
270@ += 1

:DESERT5_29166
set_lvar_text_label 246@(270@,12s) = 'DUMMY'
270@ += 1
if 
  238@ == 2
goto_if_false @DESERT5_29234
set_lvar_text_label 246@(270@,12s) = 'DES5_S8'
goto @DESERT5_29252

:DESERT5_29234
set_lvar_text_label 246@(270@,12s) = 'DES5_SE'

:DESERT5_29252
270@ += 1
set_lvar_text_label 246@(270@,12s) = 'DES5_S9'
270@ += 1

:DESERT5_29284
if 
  12 > 270@
goto_if_false @DESERT5_29334
set_lvar_text_label 246@(270@,12s) = 'DUMMY'
270@ += 1
goto @DESERT5_29284

:DESERT5_29334
Menu.SetColumn(144@, 0, 'DUMMY', 246@s, 248@s, 250@s, 252@s, 254@s, 256@s, 258@s, 260@s, 262@s, 264@s, 266@s, 268@s)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1187)
Camera.DoFade(500, Fade.In)

:DESERT5_29413
if 
  Camera.GetFadingStatus
goto_if_false @DESERT5_29444
wait 0
gosub @DESERT5_29446
goto @DESERT5_29413

:DESERT5_29444
return 

:DESERT5_29446
if or
  238@ == 1
  238@ == 2
goto_if_false @DESERT5_29835
gosub @DESERT5_24835
Text.SetColor(255, 255, 255, 255)
Text.Display(320.0, 120.0, 'DES5_SB')
if 
  229@ > 0
goto_if_false @DESERT5_29835
gosub @DESERT5_24835
152@, 153@, 154@, 155@ = Hud.GetColor(6)
Text.SetColor(152@, 153@, 154@, 155@)
Text.Display(320.0, 85.0, 'DES5_SA')
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 261.7, 200.0, -50.0, 50.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 378.3, 200.0, 50.0, 50.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
if 
  229@ == 2
goto_if_false @DESERT5_29727
Hud.DrawSprite(1, 320.0, 200.0, 91.7, 79.2, 160, 160, 160, 255)

:DESERT5_29727
if 
  229@ == 3
goto_if_false @DESERT5_29781
Hud.DrawSprite(2, 320.0, 200.0, 91.7, 79.2, 160, 160, 160, 255)

:DESERT5_29781
if 
  229@ == 4
goto_if_false @DESERT5_29835
Hud.DrawSprite(3, 320.0, 200.0, 91.7, 79.2, 160, 160, 160, 255)

:DESERT5_29835
return 

:DESERT5_29837
if or
  215@ == 0
  215@ == 1
goto_if_false @DESERT5_29907
if 
  is_int_lvar_greater_than_int_lvar 217@ > 216@
goto_if_false @DESERT5_29907
if 
  TIMERB > 200
goto_if_false @DESERT5_29907
gosub @DESERT5_29972

:DESERT5_29907
if 
  215@ == 2
goto_if_false @DESERT5_29970
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DESERT5_29970
215@ = 0
216@ += 1
218@ = 0
Text.ClearPrints
TIMERB = 0

:DESERT5_29970
return 

:DESERT5_29972
if 
  215@ == 0
goto_if_false @DESERT5_30008
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 203@(216@,12i))
215@ = 1

:DESERT5_30008
if 
  215@ == 1
goto_if_false @DESERT5_30066
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DESERT5_30066
Text.PrintNow(179@(216@,12s), 10000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
215@ = 2

:DESERT5_30066
return 

:DESERT5_30068
Text.ClearPrints
if or
  232@ == 1
  not Player.IsPlaying($statbike_temp)
goto_if_false @DESERT5_30109
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)

:DESERT5_30109
return 

:DESERT5_30111
if 
  $f1_the90_best_score <> 1
goto_if_false @DESERT5_30136
$f1_the90_best_score = 1

:DESERT5_30136
if 
  $f1_the90_best_score == 1
goto_if_false @DESERT5_30258
Stat.RegisterMissionPassed('DESERT5')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSR', 5, 5000, TextStyle.Middle)
Stat.SetInt(StatId.PassedDesert5, 1)
Stat.AwardPlayerMissionRespect(5)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Blip.Remove($dschool_contact_blip)
$dschool_contact_blip = Blip.AddShortRangeSpriteForContactPoint($wasted_help2, $busted_help1, $flag_store_day_food, $Theheist_contact_blip)
Blip.Remove($heist_contact_blip)
$heist_contact_blip = Blip.AddSpriteForContactPoint($casinoY, $casinoZ, $TheheistX, $pilot_blip_icon)
$flag_casino_mission_counter += 1

:DESERT5_30258
return 

:DESERT5_30260
Streaming.MarkModelAsNoLongerNeeded(476)
Streaming.MarkModelAsNoLongerNeeded(425)
Streaming.MarkModelAsNoLongerNeeded(514)
Streaming.MarkModelAsNoLongerNeeded(400)
Streaming.MarkModelAsNoLongerNeeded(513)
Streaming.MarkModelAsNoLongerNeeded(371)
Streaming.MarkModelAsNoLongerNeeded(330)
StreamedScript.MarkAsNoLongerNeeded(1)
Txd.Remove
Blip.Remove(220@)
Checkpoint.Delete(118@)
156@ = 0

:DESERT5_30318
if 
  8 > 156@
goto_if_false @DESERT5_30359
Checkpoint.Delete(119@(156@,8i))
156@ += 1
goto @DESERT5_30318

:DESERT5_30359
Checkpoint.Delete(127@)
Checkpoint.Delete(128@)
Checkpoint.Delete(143@)
156@ = 0

:DESERT5_30381
if 
  is_int_lvar_greater_than_int_lvar 63@ > 156@
goto_if_false @DESERT5_30423
Blip.Remove(221@(156@,3i))
156@ += 1
goto @DESERT5_30381

:DESERT5_30423
156@ = 0

:DESERT5_30430
if 
  is_int_lvar_greater_than_int_lvar 66@ > 156@
goto_if_false @DESERT5_30472
Blip.Remove(224@(156@,2i))
156@ += 1
goto @DESERT5_30430

:DESERT5_30472
Text.ClearHelp
Text.ClearThisBigPrint('DES5_SA')
Text.ClearThisBigPrint('DES5_SB')
Sequence.Clear(71@)
Sequence.Clear(72@)
Game.SetAlwaysDraw3DMarkers(False)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Text.UseCommands(False)
Menu.Delete(144@)
Object.Delete(135@)
$can_skip_smoking_cutscene = 1
if 
  not Car.IsDead(35@)
goto_if_false @DESERT5_30566
Car.StopPlayback(35@)

:DESERT5_30566
Car.Delete(35@)
156@ = 0

:DESERT5_30578
if 
  is_int_lvar_greater_than_int_lvar 63@ > 156@
goto_if_false @DESERT5_30620
Car.Delete(60@(156@,3i))
156@ += 1
goto @DESERT5_30578

:DESERT5_30620
Streaming.RemoveCarRecording(590)
Streaming.RemoveCarRecording(591)
Streaming.RemoveCarRecording(592)
Streaming.RemoveCarRecording(593)
Streaming.RemoveCarRecording(594)
Streaming.RemoveCarRecording(595)
Streaming.RemoveCarRecording(596)
Streaming.RemoveCarRecording(597)
Streaming.RemoveCarRecording(598)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1188)
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
Weather.Release
Hud.DisplayRadar(True)
Stat.ShowUpdateStats(True)
Game.SetArea51SamSite(True)
Game.SwitchPoliceHelis(True)
Game.SetMaxWantedLevel(239@)
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @DESERT5_30739
Camera.RestoreJumpcut

:DESERT5_30739
Char.Delete(70@)
Camera.SetBehindPlayer
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 84---------------
// Originally: Fender Ketchup

:CASINO1
script_name 'CASINO1'
gosub @CASINO1_484
if 
  has_deatharrest_been_executed 
goto_if_false @CASINO1_38
gosub @CASINO1_19524

:CASINO1_38
gosub @CASINO1_19606
terminate_this_script 

:CASINO1_47
Streaming.LoadScene(326@, 327@, 328@)
Streaming.LoadSpecialCharacter(1, 'SINDACO')
Streaming.RequestModel(533)
Streaming.RequestAnimation("CAR")
Streaming.LoadAllModelsNow

:CASINO1_85
if or
  not Streaming.HasModelLoaded(533)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasAnimationLoaded("CAR")
goto_if_false @CASINO1_123
wait 0
goto @CASINO1_85

:CASINO1_123
return 

:CASINO1_125
326@ = 1903.857
327@ = 974.1888
328@ = 9.8127
329@ = 177.4801
Audio.SetRadioChannel(RadioChannel.KRose)
322@ = Car.Create(533, 326@, 327@, 328@)
Car.SetHeading(322@, 329@)
Car.SetCanBurstTires(322@, False)
324@ = Char.Create(PedType.Special, 290, 0.0, 0.0, 0.0)
Char.AttachToCar(324@, 322@, 0.0, 1.266, 0.391, 0, 0.0, WeaponType.Unarmed)
Char.SetHealth(324@, 300)
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_LOW", "CAR", 4.0, False, False, False, True, 0)
320@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.SetDecisionMaker(324@, 320@)
DecisionMakerChar.ClearEventResponse(320@, 12)
DecisionMakerChar.ClearEventResponse(320@, 13)
DecisionMakerChar.ClearEventResponse(320@, 56)
Car.SetHealth(322@, 1000)
return 
323@ = Blip.AddForCar(322@)
50@ = Blip.AddForCoord(79@, 80@, 81@)

:CASINO1_372
Streaming.MarkModelAsNoLongerNeeded(533)
return 

:CASINO1_379
Streaming.RequestModel(118)

:CASINO1_383
if 
  not Streaming.HasModelLoaded(118)
goto_if_false @CASINO1_409
wait 0
goto @CASINO1_383

:CASINO1_409
337@ = 1911.024
338@ = 956.8084
339@ = 9.8203
340@ = 95.5462
334@ = Char.Create(PedType.CivMale, 118, 337@, 338@, 339@)
Char.SetHeading(334@, 340@)
return 

:CASINO1_477
Char.Delete(334@)
return 

:CASINO1_484
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
34@ = -1
35@ = 0
36@ = 0
98@ = 0
$cas4_text = 0
47@ = 0
48@ = 0
39@ = 0
40@ = 0
41@ = 0
42@ = 0
43@ = 0
44@ = 0
45@ = 0
95@ = 0
38@ = 0
49@ = 0
$c2_cp = 0
58@ = 0
59@ = 0
57@ = 0
335@ = 1
70@ = 0.1
79@ = 1904.75
80@ = 960.74
81@ = 9.36
308@ = 1427.4
312@ = 2666.4
316@ = 13.01
303@ = 1
304@ = 2
305@ = 0
306@ = 1
307@ = 0
set_lvar_text_label 104@s = 'CAS1_AA'
set_lvar_text_label 106@s = 'CAS1_AB'
set_lvar_text_label 108@s = 'CAS1_AC'
set_lvar_text_label 110@s = 'CAS1_AD'
set_lvar_text_label 112@s = 'CAS1_AE'
set_lvar_text_label 114@s = 'CAS1_BA'
set_lvar_text_label 116@s = 'CAS1_BB'
set_lvar_text_label 118@s = 'CAS1_BC'
set_lvar_text_label 120@s = 'CAS1_BD'
set_lvar_text_label 122@s = 'CAS1_BE'
set_lvar_text_label 124@s = 'CAS1_CA'
set_lvar_text_label 126@s = 'CAS1_CB'
set_lvar_text_label 128@s = 'CAS1_CC'
set_lvar_text_label 130@s = 'CAS1_CD'
set_lvar_text_label 132@s = 'CAS1_CE'
set_lvar_text_label 134@s = 'CAS1_DA'
set_lvar_text_label 136@s = 'CAS1_DB'
set_lvar_text_label 138@s = 'CAS1_DC'
set_lvar_text_label 140@s = 'CAS1_DD'
set_lvar_text_label 142@s = 'CAS1_DE'
set_lvar_text_label 144@s = 'CAS1_EA'
set_lvar_text_label 146@s = 'CAS1_EB'
set_lvar_text_label 148@s = 'CAS1_EC'
set_lvar_text_label 150@s = 'CAS1_ED'
set_lvar_text_label 152@s = 'CAS1_EE'
set_lvar_text_label 154@s = 'CAS1_EF'
set_lvar_text_label 156@s = 'CAS1_EG'
set_lvar_text_label 158@s = 'CAS1_EH'
set_lvar_text_label 160@s = 'CAS1_EI'
set_lvar_text_label 162@s = 'CAS1_EJ'
set_lvar_text_label 164@s = 'CAS1_EK'
set_lvar_text_label 166@s = 'CAS1_EL'
set_lvar_text_label 168@s = 'CAS1_EM'
set_lvar_text_label 170@s = 'CAS1_EN'
set_lvar_text_label 172@s = 'CAS1_EO'
set_lvar_text_label 174@s = 'CAS1_EP'
set_lvar_text_label 176@s = 'CAS1_EQ'
set_lvar_text_label 180@s = 'CAS1_ES'
set_lvar_text_label 182@s = 'CAS1_ET'
set_lvar_text_label 184@s = 'CAS1_EU'
set_lvar_text_label 186@s = 'CAS1_EV'
set_lvar_text_label 190@s = 'CAS1_EX'
set_lvar_text_label 192@s = 'CAS1_EY'
set_lvar_text_label 194@s = 'CAS1_EZ'
set_lvar_text_label 196@s = 'CAS1_FA'
set_lvar_text_label 198@s = 'CAS1_FB'
set_lvar_text_label 200@s = 'CAS1_GA'
set_lvar_text_label 202@s = 'CAS1_GB'
set_lvar_text_label 204@s = 'CAS1_GC'
set_lvar_text_label 206@s = 'CAS1_GD'
set_lvar_text_label 208@s = 'CAS1_GE'
set_lvar_text_label 210@s = 'CAS1_HA'
set_lvar_text_label 212@s = 'CAS1_HB'
set_lvar_text_label 214@s = 'CAS1_HC'
set_lvar_text_label 216@s = 'CAS1_HD'
set_lvar_text_label 218@s = 'CAS1_HE'
set_lvar_text_label 220@s = 'CAS1_JA'
set_lvar_text_label 222@s = 'CAS1_JB'
set_lvar_text_label 224@s = 'CAS1B00'
set_lvar_text_label 226@s = 'CAS1B02'
set_lvar_text_label 228@s = 'CAS1B03'
set_lvar_text_label 230@s = 'CAS1B04'
set_lvar_text_label 232@s = 'CAS1B05'
set_lvar_text_label 234@s = 'CAS1B06'
set_lvar_int_to_constant 237@ = 7007
set_lvar_int_to_constant 238@ = 7008
set_lvar_int_to_constant 239@ = 7009
set_lvar_int_to_constant 240@ = 7010
set_lvar_int_to_constant 241@ = 7011
set_lvar_int_to_constant 242@ = 7012
set_lvar_int_to_constant 243@ = 7013
set_lvar_int_to_constant 244@ = 7014
set_lvar_int_to_constant 245@ = 7015
set_lvar_int_to_constant 246@ = 7016
set_lvar_int_to_constant 247@ = 7017
set_lvar_int_to_constant 248@ = 7018
set_lvar_int_to_constant 249@ = 7019
set_lvar_int_to_constant 250@ = 7020
set_lvar_int_to_constant 251@ = 7021
set_lvar_int_to_constant 252@ = 7022
set_lvar_int_to_constant 253@ = 7023
set_lvar_int_to_constant 254@ = 7024
set_lvar_int_to_constant 255@ = 7025
set_lvar_int_to_constant 256@ = 7026
set_lvar_int_to_constant 257@ = 7027
set_lvar_int_to_constant 258@ = 7028
set_lvar_int_to_constant 259@ = 7029
set_lvar_int_to_constant 260@ = 7030
set_lvar_int_to_constant 261@ = 7031
set_lvar_int_to_constant 262@ = 7032
set_lvar_int_to_constant 263@ = 7033
set_lvar_int_to_constant 264@ = 7034
set_lvar_int_to_constant 265@ = 7035
set_lvar_int_to_constant 266@ = 7036
set_lvar_int_to_constant 267@ = 7037
set_lvar_int_to_constant 268@ = 7038
set_lvar_int_to_constant 269@ = 7039
set_lvar_int_to_constant 270@ = 7040
set_lvar_int_to_constant 271@ = 7041
set_lvar_int_to_constant 272@ = 7042
set_lvar_int_to_constant 273@ = 7043
set_lvar_int_to_constant 275@ = 7044
set_lvar_int_to_constant 276@ = 7045
set_lvar_int_to_constant 277@ = 7046
set_lvar_int_to_constant 278@ = 7047
set_lvar_int_to_constant 280@ = 7049
set_lvar_int_to_constant 281@ = 7050
set_lvar_int_to_constant 282@ = 7051
set_lvar_int_to_constant 283@ = 7052
set_lvar_int_to_constant 284@ = 7053
set_lvar_int_to_constant 285@ = 7055
set_lvar_int_to_constant 286@ = 7056
set_lvar_int_to_constant 287@ = 7057
set_lvar_int_to_constant 288@ = 7058
set_lvar_int_to_constant 289@ = 7059
set_lvar_int_to_constant 290@ = 7060
set_lvar_int_to_constant 291@ = 7061
set_lvar_int_to_constant 292@ = 7062
set_lvar_int_to_constant 293@ = 7063
set_lvar_int_to_constant 294@ = 7064
set_lvar_int_to_constant 295@ = 7065
set_lvar_int_to_constant 296@ = 7066
set_lvar_int_to_constant 297@ = 7000
set_lvar_int_to_constant 298@ = 7002
set_lvar_int_to_constant 299@ = 7003
set_lvar_int_to_constant 300@ = 7004
set_lvar_int_to_constant 301@ = 7005
set_lvar_int_to_constant 302@ = 7006
Text.LoadMissionText('CASINO1')
Player.SetGroupRecruitment($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:CASINO1_2189
if 
  Camera.GetFadingStatus
goto_if_false @CASINO1_2213
wait 0
goto @CASINO1_2189

:CASINO1_2213
Streaming.SetAreaVisible(11)
Cutscene.Load('CAS_1A')

:CASINO1_2228
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO1_2252
wait 0
goto @CASINO1_2228

:CASINO1_2252
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASINO1_2261
if 
  not Cutscene.HasFinished
goto_if_false @CASINO1_2285
wait 0
goto @CASINO1_2261

:CASINO1_2285
Camera.DoFade(0, Fade.Out)

:CASINO1_2291
if 
  Camera.GetFadingStatus
goto_if_false @CASINO1_2315
wait 0
goto @CASINO1_2291

:CASINO1_2315
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Player.AlterWantedLevel($statbike_temp, 0)
Streaming.SetAreaVisible(0)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2016.422, 1017.102, 10.0)
Camera.SetFirstPersonInCarMode(False)
Camera.SetFixedPosition(1908.156, 977.3071, 10.2294, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1907.488, 976.5921, 10.4377, SwitchType.JumpCut)
World.ClearArea(1903.27, 955.95, 9.8203, 30.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 1909.826, 977.4828, 9.8127)
Char.SetHeading($stattreadstamina_ctr, 136.9741)
Streaming.RequestModel(#TRDCSGRGDOOR_LVS)
Streaming.LoadAllModelsNow

:CASINO1_2470
if 
  not Streaming.HasModelLoaded(#TRDCSGRGDOOR_LVS)
goto_if_false @CASINO1_2496
wait 0
goto @CASINO1_2470

:CASINO1_2496
gosub @CASINO1_47
gosub @CASINO1_125
Streaming.LoadSceneInDirection(1908.156, 977.3071, 10.2294, 136.9741)
Hud.SwitchWidescreen(True)
wait 150
Camera.DoFade(1500, Fade.In)

:CASINO1_2548
if 
  Camera.GetFadingStatus
goto_if_false @CASINO1_2572
wait 0
goto @CASINO1_2548

:CASINO1_2572
if 
  not Char.IsDead(324@)
goto_if_false @CASINO1_2601
Task.LookAtChar($stattreadstamina_ctr, 324@, 100000)

:CASINO1_2601
wait 0
if 
  305@ <> 0
goto_if_false @CASINO1_3234
if 
  307@ == 0
goto_if_false @CASINO1_2669
if 
  Audio.HasMissionAudioLoaded(304@)
goto_if_false @CASINO1_2662
Audio.ClearMissionAudio(304@)

:CASINO1_2662
307@ = 1

:CASINO1_2669
if 
  307@ == 1
goto_if_false @CASINO1_2706
Audio.LoadMissionAudio(303@, 236@(305@,67i))
307@ = 2

:CASINO1_2706
if 
  307@ == 2
goto_if_false @CASINO1_2864
if 
  Audio.HasMissionAudioLoaded(303@)
goto_if_false @CASINO1_2864
if or
  305@ == 61
  305@ == 63
goto_if_false @CASINO1_2789
if 
  not Char.IsDead(324@)
goto_if_false @CASINO1_2789
Char.StartFacialTalk(324@, 10000)

:CASINO1_2789
if or
  305@ == 62
  305@ == 64
goto_if_false @CASINO1_2838
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO1_2838
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:CASINO1_2838
Audio.PlayMissionAudio(303@)
Text.PrintNow(102@(305@,67s), 10000, 1)
307@ = 3

:CASINO1_2864
if 
  307@ == 3
goto_if_false @CASINO1_3234
if 
  Audio.HasMissionAudioFinished(303@)
goto_if_false @CASINO1_3173
Text.ClearThisPrint(102@(305@,67s))
if or
  305@ == 61
  305@ == 63
goto_if_false @CASINO1_2953
if 
  not Char.IsDead(324@)
goto_if_false @CASINO1_2953
Char.StopFacialTalk(324@)

:CASINO1_2953
if or
  305@ == 62
  305@ == 64
goto_if_false @CASINO1_2999
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO1_2999
Char.StopFacialTalk($stattreadstamina_ctr)

:CASINO1_2999
if 
  303@ == 1
goto_if_false @CASINO1_3038
303@ = 2
304@ = 1
goto @CASINO1_3052

:CASINO1_3038
303@ = 1
304@ = 2

:CASINO1_3052
305@ = 0
307@ = 0
if 
  35@ == 0
goto_if_false @CASINO1_3091
35@ = 1

:CASINO1_3091
if 
  35@ == 4
goto_if_false @CASINO1_3116
35@ = 5

:CASINO1_3116
if 
  35@ == 3
goto_if_false @CASINO1_3141
35@ = 4

:CASINO1_3141
if 
  35@ == 7
goto_if_false @CASINO1_3166
35@ = 8

:CASINO1_3166
goto @CASINO1_3234

:CASINO1_3173
if 
  not Audio.HasMissionAudioLoaded(304@)
goto_if_false @CASINO1_3234
if 
  66 > 305@
goto_if_false @CASINO1_3234
set_lvar_int_to_lvar_int 306@ = 305@
306@ += 1
Audio.LoadMissionAudio(304@, 236@(306@,67i))

:CASINO1_3234
if 
  not Char.IsDead(324@)
goto_if_false @CASINO1_3359
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_LOW")
goto_if_false @CASINO1_3359
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_LOW")
if 
  96@ == 1.0
goto_if_false @CASINO1_3359
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_LOW", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_3359
if 
  35@ > 0
goto_if_false @CASINO1_3401
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO1_3401
35@ = 10

:CASINO1_3401
if 
  35@ == 0
goto_if_false @CASINO1_3451
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_3451
305@ = 61

:CASINO1_3451
if 
  35@ == 1
goto_if_false @CASINO1_3500
Task.GoStraightToCoord($stattreadstamina_ctr, 1905.45, 973.9371, 9.8127, MoveState.Walk, -2)
35@ = 2

:CASINO1_3500
if 
  35@ == 2
goto_if_false @CASINO1_3629
97@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1491)
if 
  is_int_lvar_equal_to_constant 97@ == 7
goto_if_false @CASINO1_3629
if 
  not Char.IsDead(324@)
goto_if_false @CASINO1_3629
Task.TurnCharToFaceChar($stattreadstamina_ctr, 324@)
Camera.SetFixedPosition(1903.005, 974.7813, 11.1887, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1903.732, 974.0975, 11.2553, SwitchType.JumpCut)
35@ = 3

:CASINO1_3629
if 
  35@ == 3
goto_if_false @CASINO1_3679
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_3679
305@ = 62

:CASINO1_3679
if or
  35@ == 4
  35@ == 5
goto_if_false @CASINO1_3741
  Object.Slide($2662, 1903.383, 967.62, 15.438, 0.0, 0.0, 0.1, False)

:CASINO1_3741
if 
  35@ == 9
goto_if_false @CASINO1_3796
  Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.05, False)

:CASINO1_3796
if 
  35@ == 4
goto_if_false @CASINO1_3846
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_3846
305@ = 63

:CASINO1_3846
if 
  35@ == 5
goto_if_false @CASINO1_3897
if 
  not Car.IsDead(322@)
goto_if_false @CASINO1_3897
Task.EnterCarAsDriver($stattreadstamina_ctr, 322@, -2)
35@ = 6

:CASINO1_3897
if 
  35@ == 6
goto_if_false @CASINO1_4039
97@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1483)
if 
  is_int_lvar_equal_to_constant 97@ == 7
goto_if_false @CASINO1_4039
Camera.SetFixedPosition(1906.528, 970.1409, 10.433, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1905.823, 970.8365, 10.5694, SwitchType.JumpCut)
  Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.1, False)
35@ = 7

:CASINO1_4039
if 
  35@ == 7
goto_if_false @CASINO1_4089
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_4089
305@ = 64

:CASINO1_4089
if 
  35@ == 8
goto_if_false @CASINO1_4164
if 
  not Car.IsDead(322@)
goto_if_false @CASINO1_4164
Task.CarDriveToCoord($stattreadstamina_ctr, 322@, 1903.27, 955.95, 9.8203, 10.0, DriveMode.Accurate, 0, DrivingMode.AvoidCars)
35@ = 9

:CASINO1_4164
if 
  35@ == 9
goto_if_false @CASINO1_4218
97@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1489)
if 
  is_int_lvar_equal_to_constant 97@ == 7
goto_if_false @CASINO1_4218
35@ = 10

:CASINO1_4218
if 
  35@ <> 10
goto_if_false @CASINO1_4243
goto @CASINO1_2601

:CASINO1_4243
if 
  not Car.IsDead(322@)
goto_if_false @CASINO1_4356
Object.SetCoordinates($2662, 1903.383, 967.82, 11.438)
Car.SetCoordinates(322@, 1903.27, 955.95, 9.8203)
Car.SetHeading(322@, 180.7793)
if 
  Char.IsInCar($stattreadstamina_ctr, 322@)
goto_if_false @CASINO1_4348
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1903.27, 955.95, 9.8203)

:CASINO1_4348
Char.WarpIntoCar($stattreadstamina_ctr, 322@)

:CASINO1_4356
Streaming.MarkModelAsNoLongerNeeded(#TRDCSGRGDOOR_LVS)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Char.ClearLookAt($stattreadstamina_ctr)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
35@ = 0

:CASINO1_4387
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CASINO1_4413
goto @CASINO1_19542

:CASINO1_4413
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @CASINO1_4435
$c2_cp = 100

:CASINO1_4435
if 
  305@ <> 0
goto_if_false @CASINO1_4774
if 
  307@ == 0
goto_if_false @CASINO1_4499
if 
  Audio.HasMissionAudioLoaded(304@)
goto_if_false @CASINO1_4492
Audio.ClearMissionAudio(304@)

:CASINO1_4492
307@ = 1

:CASINO1_4499
if 
  307@ == 1
goto_if_false @CASINO1_4536
Audio.LoadMissionAudio(303@, 236@(305@,67i))
307@ = 2

:CASINO1_4536
if 
  307@ == 2
goto_if_false @CASINO1_4596
if 
  Audio.HasMissionAudioLoaded(303@)
goto_if_false @CASINO1_4596
Audio.PlayMissionAudio(303@)
Text.PrintNow(102@(305@,67s), 10000, 1)
307@ = 3

:CASINO1_4596
if 
  307@ == 3
goto_if_false @CASINO1_4774
if 
  Audio.HasMissionAudioFinished(303@)
goto_if_false @CASINO1_4713
Text.ClearThisPrint(102@(305@,67s))
if 
  303@ == 1
goto_if_false @CASINO1_4678
303@ = 2
304@ = 1
goto @CASINO1_4692

:CASINO1_4678
303@ = 1
304@ = 2

:CASINO1_4692
305@ = 0
307@ = 0
goto @CASINO1_4774

:CASINO1_4713
if 
  not Audio.HasMissionAudioLoaded(304@)
goto_if_false @CASINO1_4774
if 
  66 > 305@
goto_if_false @CASINO1_4774
set_lvar_int_to_lvar_int 306@ = 305@
306@ += 1
Audio.LoadMissionAudio(304@, 236@(306@,67i))

:CASINO1_4774
if or
  Char.IsInZone($stattreadstamina_ctr, 'PINT')
  Char.IsInZone($stattreadstamina_ctr, 'BINT')
  Char.IsInZone($stattreadstamina_ctr, 'JTN')
  Char.IsInZone($stattreadstamina_ctr, 'JTS')
  Char.IsInZone($stattreadstamina_ctr, 'JTW')
  Char.IsInZone($stattreadstamina_ctr, 'JTE')
goto_if_false @CASINO1_4967
if and
  98@ == 0
  38@ == 0
goto_if_false @CASINO1_4924
Text.Print('CAS1_10', 5000, 1)
Player.AlterWantedLevelNoDrop($statbike_temp, 3)
38@ = 1

:CASINO1_4924
if 
  38@ == 1
goto_if_false @CASINO1_4967
if 
  not Player.IsWantedLevelGreater($statbike_temp, 2)
goto_if_false @CASINO1_4967
38@ = 0

:CASINO1_4967
if 
  34@ == -1
goto_if_false @CASINO1_5335
  Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.05, False)
if 
  $flag_on_courier_mission == 0
goto_if_false @CASINO1_5308
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(322@)
goto_if_false @CASINO1_5301
if 
  Char.IsInCar($stattreadstamina_ctr, 322@)
goto_if_false @CASINO1_5301
if 
  $cas4_text == 0
goto_if_false @CASINO1_5187
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_5142
305@ = 65
$cas4_text += 1
101@ = Clock.GetGameTimer()

:CASINO1_5142
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_5187
101@ = Clock.GetGameTimer()

:CASINO1_5187
if 
  $cas4_text == 1
goto_if_false @CASINO1_5301
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_5256
305@ = 66
$cas4_text += 1
34@ = 0
101@ = Clock.GetGameTimer()

:CASINO1_5256
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_5301
101@ = Clock.GetGameTimer()

:CASINO1_5301
goto @CASINO1_5335

:CASINO1_5308
Object.SetCoordinates($2662, 1903.383, 967.82, 11.438)
34@ = 0

:CASINO1_5335
if 
  34@ == 0
goto_if_false @CASINO1_5473
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(322@)
goto_if_false @CASINO1_5473
if 
  Char.IsInCar($stattreadstamina_ctr, 322@)
goto_if_false @CASINO1_5473
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_5473
Text.ClearPrints
Text.Print('CAS1_11', 5000, 1)
Text.Print('CAS1_12', 5000, 1)
98@ = 2
34@ = 2
36@ = 1

:CASINO1_5473
if 
  5 > 34@
goto_if_false @CASINO1_5794
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(322@)
goto_if_false @CASINO1_5794
if 
  36@ == 0
goto_if_false @CASINO1_5655
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 322@)
goto_if_false @CASINO1_5655
Text.ClearPrints
Camera.SetFirstPersonInCarMode(False)
101@ = Clock.GetGameTimer()
Blip.Remove(323@)
Blip.Remove(50@)
if and
  34@ > 0
  4 > 34@
goto_if_false @CASINO1_5616
Hud.ClearCounter($c2_cp)
Hud.DisplayCounterWithString($c2_cp, CounterDisplay.Bar, 'CAS1_05')

:CASINO1_5616
if 
  34@ == 4
goto_if_false @CASINO1_5648
50@ = Blip.AddForCoord(79@, 80@, 81@)

:CASINO1_5648
36@ = 1

:CASINO1_5655
if 
  36@ == 1
goto_if_false @CASINO1_5794
if 
  not Char.IsSittingInCar($stattreadstamina_ctr, 322@)
goto_if_false @CASINO1_5794
Text.ClearPrints
Camera.SetFirstPersonInCarMode(True)
Blip.Remove(323@)
323@ = Blip.AddForCar(322@)
Blip.SetAsFriendly(323@, True)
if and
  34@ > 0
  4 > 34@
goto_if_false @CASINO1_5748
Hud.ClearCounter($c2_cp)

:CASINO1_5748
if 
  34@ == 4
goto_if_false @CASINO1_5771
Blip.Remove(50@)

:CASINO1_5771
Text.PrintNow('CAS1_01', 7500, 2)
36@ = 0

:CASINO1_5794
if 
  34@ == 2
goto_if_false @CASINO1_6007
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(324@)
goto_if_false @CASINO1_6007
Hud.DisplayCounterWithString($c2_cp, CounterDisplay.Bar, 'CAS1_05')
37@ = Math.RandomIntInRange(0, 4)
if 
  37@ == 0
goto_if_false @CASINO1_5894
Text.PrintHelp('CAS1_06')
34@ = 3

:CASINO1_5894
if 
  37@ == 1
goto_if_false @CASINO1_5930
Text.PrintHelp('CAS1_07')
34@ = 3

:CASINO1_5930
if 
  37@ == 2
goto_if_false @CASINO1_5966
Text.PrintHelp('CAS1_08')
34@ = 3

:CASINO1_5966
if 
  37@ == 3
goto_if_false @CASINO1_6002
Text.PrintHelp('CAS1_09')
34@ = 3

:CASINO1_6002
74@ = Clock.GetGameTimer()

:CASINO1_6007
if 
  34@ == 3
goto_if_false @CASINO1_15346
if and
  not Car.IsDead(322@)
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(324@)
goto_if_false @CASINO1_15346
if 
  335@ == 0
goto_if_false @CASINO1_6163
if 
  not Char.IsDead(334@)
goto_if_false @CASINO1_6163
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 1910.75, 960.74, 10.86, 15.0, 15.0, 15.0, False)
goto_if_false @CASINO1_6163
if 
  not Char.IsOnScreen(334@)
goto_if_false @CASINO1_6163
gosub @CASINO1_477
335@ = 1

:CASINO1_6163
if 
  Car.IsDoorDamaged(322@, CarDoor.Hood)
goto_if_false @CASINO1_6214
Task.Die(324@)
Char.DetachFromCar(324@)
Text.PrintNow('CAS1_04', 5000, 1)
goto @CASINO1_19524

:CASINO1_6214
if 
  Char.IsInCar($stattreadstamina_ctr, 322@)
goto_if_false @CASINO1_15346
if 
  8 > 49@
goto_if_false @CASINO1_6443
73@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 72@ = 73@
sub_int_lvar_from_int_lvar 72@ -= 74@
if 
  72@ > 30000
goto_if_false @CASINO1_6443
37@ = Math.RandomIntInRange(0, 4)
if 
  37@ == 0
goto_if_false @CASINO1_6334
Text.PrintHelp('CAS1_06')
74@ = Clock.GetGameTimer()

:CASINO1_6334
if 
  37@ == 1
goto_if_false @CASINO1_6368
Text.PrintHelp('CAS1_07')
74@ = Clock.GetGameTimer()

:CASINO1_6368
if 
  37@ == 2
goto_if_false @CASINO1_6402
Text.PrintHelp('CAS1_08')
74@ = Clock.GetGameTimer()

:CASINO1_6402
if 
  37@ == 3
goto_if_false @CASINO1_6436
Text.PrintHelp('CAS1_09')
74@ = Clock.GetGameTimer()

:CASINO1_6436
49@ += 1

:CASINO1_6443
if 
  $c2_cp > 100
goto_if_false @CASINO1_6506
$c2_cp = 100
$cas4_text = 0
Hud.ClearCounter($c2_cp)
50@ = Blip.AddForCoord(79@, 80@, 81@)
62@ = Clock.GetGameTimer()
34@ = 4

:CASINO1_6506
if and
  39@ == 0
  41@ == 0
  40@ == 0
goto_if_false @CASINO1_6601
if 
  71@ > 15.0
goto_if_false @CASINO1_6601
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @CASINO1_6601
331@ = Car.GetHeading(322@)
333@ = 0.0
39@ = 1

:CASINO1_6601
if 
  39@ == 1
goto_if_false @CASINO1_6835
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @CASINO1_6676
332@ = Car.GetHeading(322@)
set_lvar_float_to_lvar_float 330@ = 332@
sub_float_lvar_from_float_lvar 330@ -= 331@
add_float_lvar_to_float_lvar 333@ += 330@
331@ = Car.GetHeading(322@)

:CASINO1_6676
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @CASINO1_6835
if 
  0.0 > 333@
goto_if_false @CASINO1_6724
333@ += 360.0

:CASINO1_6724
if 
  333@ > 0.0
goto_if_false @CASINO1_6828
if and
  333@ > 14.0
  210.0 > 333@
goto_if_false @CASINO1_6790
$c2_cp += 7
goto @CASINO1_6828

:CASINO1_6790
if and
  333@ > 90.0
  270.0 > 333@
goto_if_false @CASINO1_6828
$c2_cp += 3

:CASINO1_6828
39@ = 0

:CASINO1_6835
if and
  40@ == 0
  39@ == 0
  41@ == 0
goto_if_false @CASINO1_6895
if 
  Car.IsInAirProper(322@)
goto_if_false @CASINO1_6895
53@ = Clock.GetGameTimer()
40@ = 1

:CASINO1_6895
if 
  40@ == 1
goto_if_false @CASINO1_6973
if 
  not Car.IsInAirProper(322@)
goto_if_false @CASINO1_6973
52@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 51@ = 52@
sub_int_lvar_from_int_lvar 51@ -= 53@
51@ /= 250
add_int_lvar_to_int_var $c2_cp += 51@
40@ = 0

:CASINO1_6973
if and
  41@ == 0
  39@ == 0
  40@ == 0
  20 > 59@
goto_if_false @CASINO1_7123
if 
  1.0 > 71@
goto_if_false @CASINO1_7123
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @CASINO1_7123
52@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 51@ = 52@
sub_int_lvar_from_int_lvar 51@ -= 53@
if 
  51@ > 3000
goto_if_false @CASINO1_7123
69@ = 0.0
70@ = 0.15
41@ = 1

:CASINO1_7123
if 
  41@ == 1
goto_if_false @CASINO1_7333
91@, 92@, 93@, 94@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @CASINO1_7181
41@ = 0

:CASINO1_7181
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO1_7205
41@ = 0

:CASINO1_7205
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @CASINO1_7333
if 
  not is_int_lvar_equal_to_int_lvar 91@ == 95@
goto_if_false @CASINO1_7333
if and
  69@ >= 0.0
  70@ >= 0.0
goto_if_false @CASINO1_7333
53@ = Clock.GetGameTimer()
add_float_lvar_to_float_lvar 69@ += 70@
70@ -= 0.025
cset_lvar_int_to_lvar_float 54@ =# 69@
add_int_lvar_to_int_var $c2_cp += 54@
add_int_lvar_to_int_lvar 59@ += 54@
set_lvar_int_to_lvar_int 95@ = 91@

:CASINO1_7333
71@ = Car.GetSpeed(322@)
if 
  42@ == 0
goto_if_false @CASINO1_7410
if 
  71@ > 30.0
goto_if_false @CASINO1_7410
if 
  40 > 58@
goto_if_false @CASINO1_7410
65@ = Clock.GetGameTimer()
42@ = 1

:CASINO1_7410
if 
  42@ == 1
goto_if_false @CASINO1_7515
64@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 63@ = 64@
sub_int_lvar_from_int_lvar 63@ -= 65@
if 
  63@ > 600
goto_if_false @CASINO1_7487
65@ = Clock.GetGameTimer()
58@ += 1
$c2_cp += 1

:CASINO1_7487
if 
  30.0 > 71@
goto_if_false @CASINO1_7515
42@ = 0

:CASINO1_7515
if 
  43@ == 0
goto_if_false @CASINO1_7581
if 
  $distance_decimals_int_hj > 0
goto_if_false @CASINO1_7581
set_lvar_int_to_var_int 55@ = $y_float_hj
55@ /= 5
add_int_lvar_to_int_var $c2_cp += 55@
43@ = 1

:CASINO1_7581
if 
  43@ == 1
goto_if_false @CASINO1_7624
if 
  $distance_decimals_int_hj == 0
goto_if_false @CASINO1_7624
43@ = 0

:CASINO1_7624
if and
  44@ == 0
  46@ == 0
goto_if_false @CASINO1_8338
if 
  71@ > 15.0
goto_if_false @CASINO1_8324
91@, 92@, 93@, 94@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if 
  91@ <> 0
goto_if_false @CASINO1_8303
56@ += 1
if 
  56@ > 20
goto_if_false @CASINO1_8296
if or
  91@ > 96
  -96 > 91@
goto_if_false @CASINO1_8296
if 
  45@ == 0
goto_if_false @CASINO1_8296
if 
  20 > 57@
goto_if_false @CASINO1_7804
$c2_cp += 1
57@ += 1

:CASINO1_7804
if 
  91@ > 0
goto_if_false @CASINO1_8050
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_TURNL")
goto_if_false @CASINO1_7965
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_TURNL")
if 
  96@ == 1.0
goto_if_false @CASINO1_7958
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_TURNR", "CAR", 4.0, False, False, False, True, 0)
$c2_time_left = 1
56@ = 0
45@ = 1

:CASINO1_7958
goto @CASINO1_8050

:CASINO1_7965
if 
  not Char.IsPlayingAnim(324@, "TYD2CAR_TURNR")
goto_if_false @CASINO1_8050
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_TURNR", "CAR", 4.0, False, False, False, True, 0)
56@ = 0
45@ = 1

:CASINO1_8050
if 
  0 > 91@
goto_if_false @CASINO1_8296
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_TURNR")
goto_if_false @CASINO1_8211
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_TURNR")
if 
  96@ == 1.0
goto_if_false @CASINO1_8204
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_TURNL", "CAR", 4.0, False, False, False, True, 0)
$c2_time_left = 1
56@ = 0
45@ = 1

:CASINO1_8204
goto @CASINO1_8296

:CASINO1_8211
if 
  not Char.IsPlayingAnim(324@, "TYD2CAR_TURNL")
goto_if_false @CASINO1_8296
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_TURNL", "CAR", 4.0, False, False, False, True, 0)
56@ = 0
45@ = 1

:CASINO1_8296
goto @CASINO1_8317

:CASINO1_8303
45@ = 0
56@ = 0

:CASINO1_8317
goto @CASINO1_8338

:CASINO1_8324
45@ = 0
56@ = 0

:CASINO1_8338
if 
  46@ == 0
goto_if_false @CASINO1_8424
if 
  71@ > 15.0
goto_if_false @CASINO1_8424
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO1_8424
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @CASINO1_8424
46@ = 1

:CASINO1_8424
if 
  46@ == 1
goto_if_false @CASINO1_8558
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO1_8558
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @CASINO1_8558
78@ += 1
if 
  78@ > 12
goto_if_false @CASINO1_8558
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_BUMP", "CAR", 4.0, False, False, False, True, 0)
77@ = Clock.GetGameTimer()
46@ = 2

:CASINO1_8558
if 
  46@ == 2
goto_if_false @CASINO1_8710
76@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 75@ = 76@
sub_int_lvar_from_int_lvar 75@ -= 77@
if 
  75@ > 1000
goto_if_false @CASINO1_8710
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_BUMP")
goto_if_false @CASINO1_8710
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_BUMP")
if 
  96@ == 1.0
goto_if_false @CASINO1_8710
$c2_cp += 1
78@ = 0
46@ = 0

:CASINO1_8710
if 
  71@ > 30.0
goto_if_false @CASINO1_9065
88@, 89@, 90@ = Car.GetOffsetInWorldCoords(322@, 0.0, 4.0, 0.0)
set_lvar_float_to_lvar_float 82@ = 88@
82@ -= 0.1
set_lvar_float_to_lvar_float 83@ = 89@
83@ -= 0.1
set_lvar_float_to_lvar_float 84@ = 90@
84@ -= 0.1
set_lvar_float_to_lvar_float 85@ = 88@
85@ += 0.1
set_lvar_float_to_lvar_float 86@ = 89@
86@ += 0.1
set_lvar_float_to_lvar_float 87@ = 90@
87@ += 0.1
if 
  48@ == 0
goto_if_false @CASINO1_8939
if 
  World.IsAreaOccupied(82@, 83@, 84@, 85@, 86@, 87@, False, True, False, False, False)
goto_if_false @CASINO1_8939
68@ = Clock.GetGameTimer()
48@ = 1

:CASINO1_8939
if 
  48@ == 1
goto_if_false @CASINO1_9065
67@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 66@ = 67@
sub_int_lvar_from_int_lvar 66@ -= 68@
if 
  66@ > 50
goto_if_false @CASINO1_9065
if 
  World.IsAreaOccupied(82@, 83@, 84@, 85@, 86@, 87@, False, True, False, False, False)
goto_if_false @CASINO1_9058
$c2_cp += 1
48@ = 0
goto @CASINO1_9065

:CASINO1_9058
48@ = 0

:CASINO1_9065
if or
  40@ == 1
  39@ == 1
  41@ == 1
  45@ == 1
goto_if_false @CASINO1_9241
if 
  98@ == 0
goto_if_false @CASINO1_9241
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 5000
goto_if_false @CASINO1_9241
$cas4_text = Math.RandomIntInRange(0, 6)
101@ = Clock.GetGameTimer()
98@ = 1
if 
  is_int_var_equal_to_int_var $cas4_text == $7534
goto_if_false @CASINO1_9241
if 
  6 > $cas4_text
goto_if_false @CASINO1_9234
$cas4_text += 1
goto @CASINO1_9241

:CASINO1_9234
$cas4_text -= 1

:CASINO1_9241
if 
  98@ == 1
goto_if_false @CASINO1_13989
if 
  $cas4_text == 0
goto_if_false @CASINO1_9369
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_9309
305@ = 27

:CASINO1_9309
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_9369
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_9369
if 
  $cas4_text == 1
goto_if_false @CASINO1_9479
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_9419
305@ = 28

:CASINO1_9419
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_9479
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_9479
if 
  $cas4_text == 2
goto_if_false @CASINO1_9589
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_9529
305@ = 29

:CASINO1_9529
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_9589
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_9589
if 
  $cas4_text == 3
goto_if_false @CASINO1_9699
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_9639
305@ = 30

:CASINO1_9639
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_9699
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_9699
if 
  $cas4_text == 4
goto_if_false @CASINO1_9809
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_9749
305@ = 31

:CASINO1_9749
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_9809
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_9809
if 
  $cas4_text == 5
goto_if_false @CASINO1_9919
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_9859
305@ = 32

:CASINO1_9859
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_9919
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_9919
if 
  $cas4_text == 6
goto_if_false @CASINO1_10029
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_9969
305@ = 33

:CASINO1_9969
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_10029
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_10029
if 
  $cas4_text == 7
goto_if_false @CASINO1_10139
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_10079
305@ = 21

:CASINO1_10079
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_10139
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_10139
if 
  $cas4_text == 8
goto_if_false @CASINO1_10249
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_10189
305@ = 22

:CASINO1_10189
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_10249
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_10249
if 
  $cas4_text == 9
goto_if_false @CASINO1_10359
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_10299
305@ = 23

:CASINO1_10299
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_10359
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_10359
if 
  $cas4_text == 10
goto_if_false @CASINO1_10469
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_10409
305@ = 45

:CASINO1_10409
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_10469
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_10469
if 
  $cas4_text == 11
goto_if_false @CASINO1_10579
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_10519
305@ = 46

:CASINO1_10519
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_10579
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_10579
if 
  $cas4_text == 12
goto_if_false @CASINO1_10689
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_10629
305@ = 47

:CASINO1_10629
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_10689
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_10689
if 
  $cas4_text == 13
goto_if_false @CASINO1_10799
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_10739
305@ = 48

:CASINO1_10739
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_10799
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_10799
if 
  $cas4_text == 14
goto_if_false @CASINO1_10909
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_10849
305@ = 24

:CASINO1_10849
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_10909
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_10909
if 
  $cas4_text == 15
goto_if_false @CASINO1_11019
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_10959
305@ = 25

:CASINO1_10959
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_11019
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_11019
if 
  $cas4_text == 16
goto_if_false @CASINO1_11129
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_11069
305@ = 26

:CASINO1_11069
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_11129
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_11129
if 
  $cas4_text == 17
goto_if_false @CASINO1_11239
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_11179
305@ = 34

:CASINO1_11179
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_11239
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_11239
if 
  $cas4_text == 18
goto_if_false @CASINO1_11349
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_11289
305@ = 35

:CASINO1_11289
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_11349
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_11349
if 
  $cas4_text == 19
goto_if_false @CASINO1_11459
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_11399
305@ = 36

:CASINO1_11399
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_11459
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_11459
if 
  $cas4_text == 20
goto_if_false @CASINO1_11569
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_11509
305@ = 37

:CASINO1_11509
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_11569
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_11569
if 
  $cas4_text == 21
goto_if_false @CASINO1_11679
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_11619
305@ = 40

:CASINO1_11619
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_11679
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_11679
if 
  $cas4_text == 22
goto_if_false @CASINO1_11789
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_11729
305@ = 39

:CASINO1_11729
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_11789
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_11789
if 
  $cas4_text == 23
goto_if_false @CASINO1_11899
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_11839
305@ = 40

:CASINO1_11839
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_11899
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_11899
if 
  $cas4_text == 24
goto_if_false @CASINO1_12009
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_11949
305@ = 41

:CASINO1_11949
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_12009
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_12009
if 
  $cas4_text == 25
goto_if_false @CASINO1_12119
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_12059
305@ = 42

:CASINO1_12059
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_12119
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_12119
if 
  $cas4_text == 26
goto_if_false @CASINO1_12229
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_12169
305@ = 44

:CASINO1_12169
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_12229
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_12229
if 
  $cas4_text == 27
goto_if_false @CASINO1_12339
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_12279
305@ = 44

:CASINO1_12279
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_12339
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_12339
if 
  $cas4_text == 28
goto_if_false @CASINO1_12449
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_12389
305@ = 6

:CASINO1_12389
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_12449
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_12449
if 
  $cas4_text == 29
goto_if_false @CASINO1_12559
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_12499
305@ = 7

:CASINO1_12499
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_12559
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_12559
if 
  $cas4_text == 30
goto_if_false @CASINO1_12669
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_12609
305@ = 8

:CASINO1_12609
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_12669
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_12669
if 
  $cas4_text == 31
goto_if_false @CASINO1_12779
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_12719
305@ = 9

:CASINO1_12719
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_12779
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_12779
if 
  $cas4_text == 32
goto_if_false @CASINO1_12889
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_12829
305@ = 10

:CASINO1_12829
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_12889
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_12889
if 
  $cas4_text == 33
goto_if_false @CASINO1_12999
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_12939
305@ = 11

:CASINO1_12939
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_12999
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_12999
if 
  $cas4_text == 34
goto_if_false @CASINO1_13109
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_13049
305@ = 12

:CASINO1_13049
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_13109
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_13109
if 
  $cas4_text == 35
goto_if_false @CASINO1_13219
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_13159
305@ = 13

:CASINO1_13159
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_13219
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_13219
if 
  $cas4_text == 36
goto_if_false @CASINO1_13329
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_13269
305@ = 14

:CASINO1_13269
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_13329
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_13329
if 
  $cas4_text == 37
goto_if_false @CASINO1_13439
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_13379
305@ = 15

:CASINO1_13379
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_13439
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_13439
if 
  $cas4_text == 38
goto_if_false @CASINO1_13549
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_13489
305@ = 16

:CASINO1_13489
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_13549
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_13549
if 
  $cas4_text == 39
goto_if_false @CASINO1_13659
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_13599
305@ = 17

:CASINO1_13599
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_13659
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_13659
if 
  $cas4_text == 40
goto_if_false @CASINO1_13769
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_13709
305@ = 18

:CASINO1_13709
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_13769
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_13769
if 
  $cas4_text == 41
goto_if_false @CASINO1_13879
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_13819
305@ = 19

:CASINO1_13819
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_13879
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_13879
if 
  $cas4_text == 42
goto_if_false @CASINO1_13989
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_13929
305@ = 20

:CASINO1_13929
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_13989
set_var_int_to_var_int $7534 = $cas4_text
101@ = Clock.GetGameTimer()
98@ = 2

:CASINO1_13989
if 
  98@ == 2
goto_if_false @CASINO1_14054
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_14054
98@ = 0

:CASINO1_14054
if 
  98@ == 0
goto_if_false @CASINO1_14478
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 10000
goto_if_false @CASINO1_14478
if and
  $c2_cp >= 0
  34 > $c2_cp
goto_if_false @CASINO1_14234
$cas4_text = Math.RandomIntInRange(28, 32)
101@ = Clock.GetGameTimer()
98@ = 1
if 
  is_int_var_equal_to_int_var $cas4_text == $7534
goto_if_false @CASINO1_14234
if 
  32 > $cas4_text
goto_if_false @CASINO1_14209
$cas4_text += 1
goto @CASINO1_14234

:CASINO1_14209
if 
  $cas4_text > 28
goto_if_false @CASINO1_14234
$cas4_text -= 1

:CASINO1_14234
if and
  $c2_cp > 33
  67 > $c2_cp
goto_if_false @CASINO1_14356
$cas4_text = Math.RandomIntInRange(33, 37)
101@ = Clock.GetGameTimer()
98@ = 1
if 
  is_int_var_equal_to_int_var $cas4_text == $7534
goto_if_false @CASINO1_14356
if 
  37 > $cas4_text
goto_if_false @CASINO1_14331
$cas4_text += 1
goto @CASINO1_14356

:CASINO1_14331
if 
  $cas4_text > 33
goto_if_false @CASINO1_14356
$cas4_text -= 1

:CASINO1_14356
if and
  $c2_cp > 66
  100 > $c2_cp
goto_if_false @CASINO1_14478
$cas4_text = Math.RandomIntInRange(38, 42)
101@ = Clock.GetGameTimer()
98@ = 1
if 
  is_int_var_equal_to_int_var $cas4_text == $7534
goto_if_false @CASINO1_14478
if 
  42 > $cas4_text
goto_if_false @CASINO1_14453
$cas4_text += 1
goto @CASINO1_14478

:CASINO1_14453
if 
  $cas4_text > 38
goto_if_false @CASINO1_14478
$cas4_text -= 1

:CASINO1_14478
if 
  42@ == 1
goto_if_false @CASINO1_14651
if 
  98@ == 0
goto_if_false @CASINO1_14651
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 5000
goto_if_false @CASINO1_14651
$cas4_text = Math.RandomIntInRange(7, 9)
101@ = Clock.GetGameTimer()
98@ = 1
if 
  is_int_var_equal_to_int_var $cas4_text == $7534
goto_if_false @CASINO1_14651
if 
  9 > $cas4_text
goto_if_false @CASINO1_14626
$cas4_text += 1
goto @CASINO1_14651

:CASINO1_14626
if 
  $cas4_text > 7
goto_if_false @CASINO1_14651
$cas4_text -= 1

:CASINO1_14651
if 
  43@ == 1
goto_if_false @CASINO1_14824
if 
  98@ == 0
goto_if_false @CASINO1_14824
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 5000
goto_if_false @CASINO1_14824
$cas4_text = Math.RandomIntInRange(14, 16)
101@ = Clock.GetGameTimer()
98@ = 1
if 
  is_int_var_equal_to_int_var $cas4_text == $7534
goto_if_false @CASINO1_14824
if 
  16 > $cas4_text
goto_if_false @CASINO1_14799
$cas4_text += 1
goto @CASINO1_14824

:CASINO1_14799
if 
  $cas4_text > 14
goto_if_false @CASINO1_14824
$cas4_text -= 1

:CASINO1_14824
if or
  46@ == 2
  48@ == 1
goto_if_false @CASINO1_15004
if 
  98@ == 0
goto_if_false @CASINO1_15004
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 5000
goto_if_false @CASINO1_15004
$cas4_text = Math.RandomIntInRange(17, 24)
101@ = Clock.GetGameTimer()
98@ = 1
if 
  is_int_var_equal_to_int_var $cas4_text == $7534
goto_if_false @CASINO1_15004
if 
  24 > $cas4_text
goto_if_false @CASINO1_14979
$cas4_text += 1
goto @CASINO1_15004

:CASINO1_14979
if 
  $cas4_text > 17
goto_if_false @CASINO1_15004
$cas4_text -= 1

:CASINO1_15004
if 
  Car.IsOnFire(322@)
goto_if_false @CASINO1_15175
if 
  98@ == 0
goto_if_false @CASINO1_15175
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 5000
goto_if_false @CASINO1_15175
$cas4_text = Math.RandomIntInRange(10, 13)
101@ = Clock.GetGameTimer()
98@ = 1
if 
  is_int_var_equal_to_int_var $cas4_text == $7534
goto_if_false @CASINO1_15175
if 
  13 > $cas4_text
goto_if_false @CASINO1_15150
$cas4_text += 1
goto @CASINO1_15175

:CASINO1_15150
if 
  $cas4_text > 10
goto_if_false @CASINO1_15175
$cas4_text -= 1

:CASINO1_15175
if 
  Car.IsUpsidedown(322@)
goto_if_false @CASINO1_15346
if 
  98@ == 0
goto_if_false @CASINO1_15346
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 5000
goto_if_false @CASINO1_15346
$cas4_text = Math.RandomIntInRange(25, 27)
101@ = Clock.GetGameTimer()
98@ = 1
if 
  is_int_var_equal_to_int_var $cas4_text == $7534
goto_if_false @CASINO1_15346
if 
  27 > $cas4_text
goto_if_false @CASINO1_15321
$cas4_text += 1
goto @CASINO1_15346

:CASINO1_15321
if 
  $cas4_text > 25
goto_if_false @CASINO1_15346
$cas4_text -= 1

:CASINO1_15346
if 
  not Char.IsDead(324@)
goto_if_false @CASINO1_17351
if and
  $c2_cp >= 0
  34 > $c2_cp
goto_if_false @CASINO1_15988
if and
  45@ == 0
  46@ == 0
goto_if_false @CASINO1_15988
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_LOW")
goto_if_false @CASINO1_15535
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_LOW")
if 
  96@ == 1.0
goto_if_false @CASINO1_15528
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_LOW", "CAR", 4.0, False, False, False, True, 0)
$c2_time_left = 1

:CASINO1_15528
goto @CASINO1_15988

:CASINO1_15535
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_TURNR")
goto_if_false @CASINO1_15648
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_TURNR")
if 
  96@ == 1.0
goto_if_false @CASINO1_15648
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_LOW", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_15648
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_TURNL")
goto_if_false @CASINO1_15761
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_TURNL")
if 
  96@ == 1.0
goto_if_false @CASINO1_15761
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_LOW", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_15761
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_BUMP")
goto_if_false @CASINO1_15872
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_BUMP")
if 
  96@ == 1.0
goto_if_false @CASINO1_15872
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_LOW", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_15872
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_MED")
goto_if_false @CASINO1_15988
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_MED")
if 
  96@ == 1.0
goto_if_false @CASINO1_15988
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_LOW", "CAR", 4.0, False, False, False, True, 0)
$c2_time_left = 2

:CASINO1_15988
if and
  $c2_cp > 33
  67 > $c2_cp
goto_if_false @CASINO1_16718
if and
  45@ == 0
  46@ == 0
goto_if_false @CASINO1_16718
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_MED")
goto_if_false @CASINO1_16161
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_MED")
if 
  96@ == 1.0
goto_if_false @CASINO1_16154
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_MED", "CAR", 4.0, False, False, False, True, 0)
$c2_time_left = 2

:CASINO1_16154
goto @CASINO1_16718

:CASINO1_16161
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_TURNR")
goto_if_false @CASINO1_16274
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_TURNR")
if 
  96@ == 1.0
goto_if_false @CASINO1_16274
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_MED", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_16274
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_TURNL")
goto_if_false @CASINO1_16387
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_TURNL")
if 
  96@ == 1.0
goto_if_false @CASINO1_16387
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_MED", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_16387
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_BUMP")
goto_if_false @CASINO1_16498
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_BUMP")
if 
  96@ == 1.0
goto_if_false @CASINO1_16498
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_MED", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_16498
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_HIGH")
goto_if_false @CASINO1_16609
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_HIGH")
if 
  96@ > 1.0
goto_if_false @CASINO1_16609
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_MED", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_16609
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_LOW")
goto_if_false @CASINO1_16718
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_LOW")
if 
  96@ == 1.0
goto_if_false @CASINO1_16718
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_MED", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_16718
if and
  $c2_cp > 66
  100 > $c2_cp
goto_if_false @CASINO1_17351
if and
  45@ == 0
  46@ == 0
goto_if_false @CASINO1_17351
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_HIGH")
goto_if_false @CASINO1_16894
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_HIGH")
if 
  96@ == 1.0
goto_if_false @CASINO1_16887
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_HIGH", "CAR", 4.0, False, False, False, True, 0)
$c2_time_left = 3

:CASINO1_16887
goto @CASINO1_17351

:CASINO1_16894
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_TURNR")
goto_if_false @CASINO1_17008
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_TURNR")
if 
  96@ == 1.0
goto_if_false @CASINO1_17008
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_HIGH", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_17008
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_TURNL")
goto_if_false @CASINO1_17122
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_TURNL")
if 
  96@ == 1.0
goto_if_false @CASINO1_17122
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_HIGH", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_17122
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_BUMP")
goto_if_false @CASINO1_17234
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_BUMP")
if 
  96@ == 1.0
goto_if_false @CASINO1_17234
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_HIGH", "CAR", 4.0, False, False, False, True, 0)

:CASINO1_17234
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_MED")
goto_if_false @CASINO1_17351
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_MED")
if 
  96@ == 1.0
goto_if_false @CASINO1_17351
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_HIGH", "CAR", 4.0, False, False, False, True, 0)
$c2_time_left = 2

:CASINO1_17351
if 
  34@ > 3
goto_if_false @CASINO1_17570
if 
  47@ == 0
goto_if_false @CASINO1_17433
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_HIGH", "CAR", 4.0, False, False, False, True, 0)
47@ = 1

:CASINO1_17433
if 
  47@ == 1
goto_if_false @CASINO1_17570
if 
  Char.IsPlayingAnim(324@, "TYD2CAR_HIGH")
goto_if_false @CASINO1_17570
96@ = Char.GetAnimCurrentTime(324@, "TYD2CAR_HIGH")
if 
  96@ == 1.0
goto_if_false @CASINO1_17570
Task.PlayAnimNonInterruptable(324@, "TYD2CAR_HIGH", "CAR", 4.0, False, False, False, True, 0)
$c2_time_left = 2

:CASINO1_17570
if 
  34@ == 4
goto_if_false @CASINO1_18500
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(322@)
goto_if_false @CASINO1_18500
if 
  Char.IsInCar($stattreadstamina_ctr, 322@)
goto_if_false @CASINO1_18229
if 
  $cas4_text == 0
goto_if_false @CASINO1_17735
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_17690
305@ = 49
$cas4_text += 1
101@ = Clock.GetGameTimer()

:CASINO1_17690
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_17735
101@ = Clock.GetGameTimer()

:CASINO1_17735
if 
  $cas4_text == 1
goto_if_false @CASINO1_17842
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_17797
305@ = 50
$cas4_text += 1
101@ = Clock.GetGameTimer()

:CASINO1_17797
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_17842
101@ = Clock.GetGameTimer()

:CASINO1_17842
if 
  $cas4_text == 2
goto_if_false @CASINO1_17949
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_17904
305@ = 51
$cas4_text += 1
101@ = Clock.GetGameTimer()

:CASINO1_17904
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_17949
101@ = Clock.GetGameTimer()

:CASINO1_17949
if 
  $cas4_text == 3
goto_if_false @CASINO1_18056
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_18011
305@ = 52
$cas4_text += 1
101@ = Clock.GetGameTimer()

:CASINO1_18011
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_18056
101@ = Clock.GetGameTimer()

:CASINO1_18056
if 
  $cas4_text == 4
goto_if_false @CASINO1_18163
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_18118
305@ = 53
$cas4_text += 1
101@ = Clock.GetGameTimer()

:CASINO1_18118
99@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 100@ = 99@
sub_int_lvar_from_int_lvar 100@ -= 101@
if 
  100@ > 500
goto_if_false @CASINO1_18163
101@ = Clock.GetGameTimer()

:CASINO1_18163
if 
  $cas4_text == 5
goto_if_false @CASINO1_18229
if and
  307@ == 0
  305@ == 0
goto_if_false @CASINO1_18229
Text.Print('CAS1_03', 7000, 1)
$cas4_text += 1

:CASINO1_18229
if 
  Char.IsInCar($stattreadstamina_ctr, 322@)
goto_if_false @CASINO1_18500
if 
  335@ == 1
goto_if_false @CASINO1_18321
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1910.75, 960.74, 10.86, 100.0, 100.0, 100.0, False)
goto_if_false @CASINO1_18321
335@ = 2

:CASINO1_18321
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 79@, 80@, 81@, 4.0, 4.0, 4.0, True)
goto_if_false @CASINO1_18500
Player.SetControl($statbike_temp, False)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO1_18500
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)
if and
  not Char.IsDead(324@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO1_18500
Camera.DoFade(300, Fade.Out)

:CASINO1_18437
if 
  Camera.GetFadingStatus
goto_if_false @CASINO1_18461
wait 0
goto @CASINO1_18437

:CASINO1_18461
World.ClearArea(79@, 80@, 81@, 35.0, True)
gosub @CASINO1_379
34@ = 5
35@ = 0

:CASINO1_18500
if 
  34@ == 5
goto_if_false @CASINO1_19367
if and
  35@ > 0
  3 > 35@
goto_if_false @CASINO1_18580
  Object.Slide($2662, 1903.383, 967.62, 15.438, 0.0, 0.0, 0.1, False)

:CASINO1_18580
if 
  35@ == 0
goto_if_false @CASINO1_18824
if and
  not Car.IsDead(322@)
  not Char.IsDead(334@)
goto_if_false @CASINO1_18824
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1907.11, 953.0226, 10.9148, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1906.713, 953.9378, 10.9839, SwitchType.JumpCut)
Streaming.RequestCarRecording(179)

:CASINO1_18686
if 
  not Streaming.HasCarRecordingBeenLoaded(179)
goto_if_false @CASINO1_18713
wait 0
goto @CASINO1_18686

:CASINO1_18713
if and
  not Car.IsDead(322@)
  not Char.IsDead(334@)
goto_if_false @CASINO1_18824
Car.StartPlayback(322@, 179)
Car.PausePlayback(322@)
Camera.DoFade(300, Fade.In)

:CASINO1_18754
if 
  Camera.GetFadingStatus
goto_if_false @CASINO1_18778
wait 0
goto @CASINO1_18754

:CASINO1_18778
if and
  not Car.IsDead(322@)
  not Char.IsDead(334@)
goto_if_false @CASINO1_18824
Task.LeaveCar($stattreadstamina_ctr, 322@)
Task.EnterCarAsDriver(334@, 322@, -1)
35@ = 1

:CASINO1_18824
if 
  35@ == 1
goto_if_false @CASINO1_19131
if 
  not Object.Slide($2662, 1903.383, 967.62, 15.438, 0.0, 0.0, 0.05, False)
goto_if_false @CASINO1_18890

:CASINO1_18890
if and
  not Car.IsDead(322@)
  not Char.IsDead(334@)
goto_if_false @CASINO1_19131
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @CASINO1_18974
97@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
if 
  is_int_lvar_equal_to_constant 97@ == 7
goto_if_false @CASINO1_18974
Task.TurnCharToFaceChar($stattreadstamina_ctr, 334@)
Task.LookAtChar($stattreadstamina_ctr, 334@, -2)

:CASINO1_18974
if 
  Char.IsInCar(334@, 322@)
goto_if_false @CASINO1_19092
Char.ClearLookAt($stattreadstamina_ctr)
Task.GoStraightToCoord($stattreadstamina_ctr, 1900.727, 951.1921, 9.8203, MoveState.Walk, -2)
Camera.SetFixedPosition(1901.262, 961.8007, 11.2363, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1901.62, 960.8673, 11.2165, SwitchType.JumpCut)
Car.UnpausePlayback(322@)
35@ = 2
goto @CASINO1_19131

:CASINO1_19092
336@ = Char.GetScriptTaskStatus(334@, 1483)
if 
  is_int_lvar_equal_to_constant 336@ == 7
goto_if_false @CASINO1_19131
Task.EnterCarAsDriver(334@, 322@, -1)

:CASINO1_19131
if 
  35@ == 2
goto_if_false @CASINO1_19193
if 
  not Car.IsDead(322@)
goto_if_false @CASINO1_19193
if 
  not Car.IsPlaybackGoingOn(322@)
goto_if_false @CASINO1_19193
53@ = Clock.GetGameTimer()
35@ = 3

:CASINO1_19193
if 
  35@ == 3
goto_if_false @CASINO1_19295
  Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.2, False)
52@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 51@ = 52@
sub_int_lvar_from_int_lvar 51@ -= 53@
if 
  51@ > 1250
goto_if_false @CASINO1_19295
35@ = 4

:CASINO1_19295
if 
  35@ == 4
goto_if_false @CASINO1_19367
Object.SetCoordinates($2662, 1903.383, 967.82, 11.438)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
35@ = 5
goto @CASINO1_19542

:CASINO1_19367
if 
  34@ > -2
goto_if_false @CASINO1_19517
if 
  not Char.IsDead(324@)
goto_if_false @CASINO1_19460
325@ = Char.GetHealth(324@)
if 
  325@ == 0
goto_if_false @CASINO1_19460
Task.Die(324@)
Char.DetachFromCar(324@)
Text.PrintNow('CAS1_04', 5000, 1)
goto @CASINO1_19524

:CASINO1_19460
if 
  Car.IsInWater(322@)
goto_if_false @CASINO1_19517
$c2_time_left = 999
Task.Die(324@)
Char.DetachFromCar(324@)
Text.PrintNow('CAS1_04', 5000, 1)
goto @CASINO1_19524

:CASINO1_19517
goto @CASINO1_4387

:CASINO1_19524
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:CASINO1_19542
$desertX += 1
Stat.RegisterMissionPassed('CASINO1')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSS', 5000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 5000)
Stat.AwardPlayerMissionRespect(10)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
return 

:CASINO1_19606
gosub @CASINO1_372
if 
  not Char.IsDead(324@)
goto_if_false @CASINO1_19637
Task.DiveFromAttachmentAndGetUp(324@, 10000)

:CASINO1_19637
Object.SetCoordinates($2662, 1903.383, 967.62, 11.438)
Blip.Remove(323@)
Blip.Remove(50@)
if 
  34@ == 5
goto_if_false @CASINO1_19700
Char.Delete(334@)
Char.Delete(324@)
Car.Delete(322@)

:CASINO1_19700
Streaming.MarkModelAsNoLongerNeeded(533)
Streaming.MarkModelAsNoLongerNeeded(118)
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveAnimation("CAR")
DecisionMaker.Remove(320@)
Camera.SetFirstPersonInCarMode(True)
Hud.ClearCounter($c2_cp)
if 
  $flag_on_courier_mission == 0
goto_if_false @CASINO1_19759
$flag_on_courier_mission = 1

:CASINO1_19759
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 85---------------
// Originally: Explosive Situation

:CASINO2
script_name 'CASINO2'
gosub @CASINO2_47
if 
  has_deatharrest_been_executed 
goto_if_false @CASINO2_38
gosub @CASINO2_16384

:CASINO2_38
gosub @CASINO2_16551
terminate_this_script 

:CASINO2_47
Text.LoadMissionText('CASINO2')
$cammy_off_Z = 1
$7535 = 0
$7536 = 0
Camera.SetFadingColor(0, 0, 0)
138@ = 542.6064
144@ = 880.7817
150@ = -36.4105
139@ = 585.3983
145@ = 870.3217
151@ = -38.6206
140@ = 518.1696
146@ = 814.9295
152@ = -9.7489
141@ = 484.6667
147@ = 937.2839
153@ = -16.6201
142@ = 438.5849
148@ = 870.4443
154@ = -4.264
143@ = 455.1732
149@ = 803.1501
155@ = 5.3843
156@ = 561.1495
162@ = 875.8472
168@ = -37.2976
157@ = 585.9339
163@ = 851.1839
169@ = -36.1799
158@ = 464.2791
164@ = 860.6772
170@ = -17.3952
159@ = 443.1031
165@ = 902.137
171@ = -7.5636
160@ = 429.2553
166@ = 923.7551
172@ = 0.5245
161@ = 476.2539
167@ = 779.3841
173@ = 8.0929
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
53@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
127@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
252@ = DecisionMakerChar.Load(DecisionMakerType.Normal)
78@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Game.SetRelationship(RelationshipType.Like, PedType.Mission1, PedType.Mission1)
Game.SetRelationship(RelationshipType.Like, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Like, PedType.Mission2, PedType.Mission1)
Game.SetRelationship(RelationshipType.Like, PedType.Mission2, PedType.Mission2)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Player1)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CASINO2_547
if 
  Camera.GetFadingStatus
goto_if_false @CASINO2_571
wait 0
goto @CASINO2_547

:CASINO2_571
Cutscene.Load('CAS_2')

:CASINO2_582
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO2_606
wait 0
goto @CASINO2_582

:CASINO2_606
Streaming.SetAreaVisible(11)
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:CASINO2_627
if 
  not Cutscene.HasFinished
goto_if_false @CASINO2_651
wait 0
goto @CASINO2_627

:CASINO2_651
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:CASINO2_665
if 
  Camera.GetFadingStatus
goto_if_false @CASINO2_689
wait 0
goto @CASINO2_665

:CASINO2_689
Cutscene.Clear
Streaming.SetAreaVisible(0)
CarGenerator.SuppressCarModel(406)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_814
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2016.422, 1017.102, 10.0)
Streaming.LoadScene(2028.932, 1023.292, 9.8127)
World.ClearArea(2028.932, 1023.292, 9.8127, 20.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2028.932, 1023.292, 9.8127)
Char.SetHeading($stattreadstamina_ctr, 278.4092)
Camera.SetBehindPlayer
wait 500

:CASINO2_814
Streaming.RequestModel(260)

:CASINO2_819
if 
  not Streaming.HasModelLoaded(260)
goto_if_false @CASINO2_846
wait 0
goto @CASINO2_819

:CASINO2_846
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)
Player.SetControl($statbike_temp, True)
182@ = Char.Create(PedType.CivMale, 260, 819.707, 857.8054, 11.0547)
Char.SetHeading(182@, 204.1414)
Char.SetDecisionMaker(182@, 53@)
60@ = Object.Create(#DES_QUARRYGATE2, 806.5, 846.9, 8.6822)
Object.SetHeading(60@, 0.0)
61@ = Object.Create(#DES_QUARRYGATE, 810.3, 838.6, 8.6822)
Object.SetHeading(61@, 45.0)
186@ = Blip.AddForCoord(811.1817, 843.9733, 8.9859)
Text.PrintNow('PD_16', 8000, 1)
191@ = Object.Create(#GUNBOX, 600.8789, 826.5641, -44.2392)
Object.SetHeading(191@, 131.8763)
191@ = Object.Create(#GUNBOX, 599.4742, 827.0499, -44.2844)
Object.SetHeading(191@, 129.5516)
191@ = Object.Create(#GUNBOX, 600.8787, 828.1313, -44.271)
Object.SetHeading(191@, 72.6773)
191@ = Object.Create(#GUNBOX, 671.1311, 816.2497, -43.9456)
Object.SetHeading(191@, 280.6081)
191@ = Object.Create(#GUNBOX, 672.9714, 817.7601, -43.9456)
Object.SetHeading(191@, 295.8181)
191@ = Object.Create(#GUNBOX, 673.1854, 817.8634, -43.9456)
Object.SetHeading(191@, 295.8181)
Game.SetWantedMultiplier(0.0)

:CASINO2_1218
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_1413
wait 0
gosub @CASINO2_18111
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CASINO2_1267
goto @CASINO2_16402

:CASINO2_1267
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 811.1817, 843.9733, 8.9859, 4.0, 4.0, 4.0, True)
goto_if_false @CASINO2_1406
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:CASINO2_1329
if 
  Camera.GetFadingStatus
goto_if_false @CASINO2_1353
wait 0
goto @CASINO2_1329

:CASINO2_1353
Blip.Remove(186@)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO2_1399
83@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetStatus(83@, EntityStatus.Physics)
Car.SetTempAction(83@, TempAction.HandbrakeTurnRight, 1500)

:CASINO2_1399
goto @CASINO2_1425

:CASINO2_1406
goto @CASINO2_1218

:CASINO2_1413
wait 1000
goto @CASINO2_16384

:CASINO2_1425
84@ = 662.1465
88@ = 917.9582
92@ = -41.8491
96@ = 318.2808
85@ = 583.0025
89@ = 934.0627
93@ = -43.9531
97@ = 114.8609
86@ = 552.9266
90@ = 846.8138
94@ = -42.8758
98@ = 197.0568
87@ = 640.8603
91@ = 810.404
95@ = -43.9531
99@ = 250.0977
246@ = 2
262@ = 2
Streaming.RequestModel(330)
Streaming.RequestModel(153)
Streaming.RequestModel(71)
Streaming.RequestModel(260)
Streaming.RequestModel(346)
Streaming.RequestModel(337)
Streaming.RequestModel(530)
Streaming.RequestModel(406)

:CASINO2_1638
if 
  not Streaming.HasModelLoaded(330)
goto_if_false @CASINO2_1665
wait 0
goto @CASINO2_1638

:CASINO2_1665
if or
  not Streaming.HasModelLoaded(153)
  not Streaming.HasModelLoaded(71)
  not Streaming.HasModelLoaded(260)
  not Streaming.HasModelLoaded(346)
goto_if_false @CASINO2_1706
wait 0
goto @CASINO2_1665

:CASINO2_1706
if or
  not Streaming.HasModelLoaded(337)
  not Streaming.HasModelLoaded(530)
  not Streaming.HasModelLoaded(406)
goto_if_false @CASINO2_1743
wait 0
goto @CASINO2_1706

:CASINO2_1743
254@ = Car.Create(406, 684.158, 899.4011, -41.382)
Car.SetHeading(254@, 50.0)
250@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 661.397, 917.1706, -41.4059, 4, -1)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 1.0, True, False, False, False, -1)
Sequence.SetToRepeat(250@, True)
Sequence.Close(250@)
251@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 662.605, 916.313, -41.4059, 4, -1)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 1.0, True, False, False, False, -1)
Sequence.SetToRepeat(251@, True)
Sequence.Close(251@)
215@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 661.397, 917.1706, -41.4059, 4, -1)
Sequence.SetToRepeat(215@, True)
Sequence.Close(215@)
212@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 590.1505, 875.5482, -43.4973, 4, -1)
Task.LookAbout(-1, 40000)
Sequence.SetToRepeat(212@, True)
Sequence.Close(212@)
72@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(72@)
59@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 416.7344, 894.5847, 1.64, 6, -1)
Sequence.Close(59@)
185@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 811.1705, 840.3314, 8.8556, 4, -1)
Task.GoToCoordAnyMeans(-1, 835.0692, 854.228, 11.5339, 4, -1)
Task.GoToCoordAnyMeans(-1, 831.1895, 869.6328, 11.7659, 4, -1)
Task.GoToCoordAnyMeans(-1, 812.9305, 865.5474, 11.2512, 4, -1)
Sequence.Close(185@)
217@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.ShootAtChar(-1, $stattreadstamina_ctr, -1)
Sequence.SetToRepeat(217@, True)
Sequence.Close(217@)
206@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(652.6294, 920.1244, -41.6245)
Path.ExtendRoute(643.2743, 944.6199, -36.1984)
Path.ExtendRoute(650.2857, 948.2803, -35.9383)
Path.ExtendRoute(676.3673, 939.0834, -31.2018)
Path.ExtendRoute(695.1881, 918.9306, -31.3478)
Path.ExtendRoute(709.0739, 891.5104, -28.7325)
Task.FollowPointRoute(-1, 7, RouteMode.Once)
Path.FlushRoute
Path.ExtendRoute(728.9528, 889.2318, -27.4689)
Path.ExtendRoute(718.7523, 918.5203, -19.886)
Task.FollowPointRoute(-1, 7, RouteMode.Once)
Path.FlushRoute
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(206@)
55@ = Sequence.Open()
Task.StandStill(-1, 4000)
Task.ScratchHead(-1)
Task.LookAbout(-1, 4000)
Sequence.SetToRepeat(55@, True)
Sequence.Close(55@)
56@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 625.9337, 831.7066, -43.9531, 4, -1)
Task.LookAbout(-1, 2000)
Task.GoToCoordAnyMeans(-1, 629.7086, 863.9051, -43.9456, 4, -1)
Task.LookAbout(-1, 2000)
Task.GoToCoordAnyMeans(-1, 633.362, 899.4764, -43.8397, 4, -1)
Task.LookAbout(-1, 2000)
Sequence.SetToRepeat(56@, True)
Sequence.Close(56@)
57@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 531.6239, 860.3109, -43.6083, 4, -1)
Task.GoToCoordAnyMeans(-1, 536.4184, 852.4755, -43.4897, 4, -1)
Task.GoToCoordAnyMeans(-1, 548.7656, 858.6099, -43.83, 4, -1)
Task.GoToCoordAnyMeans(-1, 544.7462, 868.412, -43.0847, 4, -1)
Sequence.SetToRepeat(57@, True)
Sequence.Close(57@)
58@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 580.5311, 830.0402, -30.9456, 4, -1)
Task.LookAbout(-1, 2000)
Task.GoToCoordAnyMeans(-1, 570.5531, 828.2956, -26.8808, 4, -1)
Task.GoToCoordAnyMeans(-1, 561.6993, 826.1243, -23.1406, 4, -1)
Task.LookAbout(-1, 2000)
Sequence.SetToRepeat(58@, True)
Sequence.Close(58@)
205@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 576.2826, 880.9235, -44.6488, 4, -1)
Task.GoToCoordAnyMeans(-1, 575.4687, 871.9396, -44.6139, 4, -1)
Task.GoToCoordAnyMeans(-1, 577.0265, 862.7321, -44.0826, 4, -1)
Task.GoToCoordAnyMeans(-1, 584.0759, 844.0593, -43.4072, 4, -1)
Sequence.SetToRepeat(205@, True)
Sequence.Close(205@)
211@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(473.5352, 916.5417, -19.6808)
Path.ExtendRoute(467.0137, 925.6787, -19.4363)
Path.ExtendRoute(476.3217, 939.0852, -17.1781)
Path.ExtendRoute(493.3413, 945.0632, -16.4974)
Path.ExtendRoute(508.5752, 956.9808, -15.2792)
Path.ExtendRoute(493.3413, 945.0632, -16.4974)
Path.ExtendRoute(476.3217, 939.0852, -17.1781)
Path.ExtendRoute(467.0137, 925.6787, -19.4363)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Path.FlushRoute
Sequence.SetToRepeat(211@, True)
Sequence.Close(211@)
221@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 420.7673, 866.2073, 5.7531, 6, -1)
Task.StayInSamePlace(-1, True)
Task.ShootAtChar(-1, $stattreadstamina_ctr, -1)
Sequence.Close(221@)
222@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 413.9022, 863.8785, 7.0415, 6, -1)
Task.StayInSamePlace(-1, True)
Task.ShootAtChar(-1, $stattreadstamina_ctr, -1)
Sequence.Close(222@)
198@ = Char.Create(PedType.Mission1, 153, 590.366, 876.7747, -43.4973)
Char.SetHeading(198@, 177.7406)
Char.SetDecisionMaker(198@, 252@)
Char.GiveWeapon(198@, WeaponType.Pistol, 30000)
Char.SetCurrentWeapon(198@, WeaponType.Pistol)
Char.SetHealth(198@, 200)
Char.SetMaxHealth(198@, 200)
Task.StayInSamePlace(198@, True)
Task.UseMobilePhone(198@, True)
197@ = Object.Create(#CJ_DYN_PLUNGE_1, 591.2704, 876.7986, -43.4973)
Object.SetHeading(197@, 270.0)
187@ = Car.Create(530, 640.8603, 810.404, -43.9531)
Car.SetHeading(187@, 250.0977)
Car.ControlMovablePart(187@, 0.5)
190@ = Sequence.Open()
if 
  not Car.IsDead(187@)
goto_if_false @CASINO2_3477
Path.FlushRoute
Path.ExtendRoute(667.7962, 819.8148, -43.9456)
Path.ExtendRoute(655.5785, 831.1092, -43.9456)
Path.ExtendRoute(643.8084, 819.2715, -43.9456)
Path.ExtendRoute(605.1934, 820.2333, -44.0023)
Task.DrivePointRouteAdvanced(-1, 187@, 10.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
Path.FlushRoute
Path.ExtendRoute(608.6918, 819.8881, -43.9456)
Path.ExtendRoute(643.8084, 819.2715, -43.9456)
Path.ExtendRoute(655.5785, 831.1092, -43.9456)
Path.ExtendRoute(667.7962, 819.8148, -43.9456)
Task.DrivePointRouteAdvanced(-1, 187@, 10.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
Path.FlushRoute
Sequence.SetToRepeat(190@, True)

:CASINO2_3477
Sequence.Close(190@)
43@ = Char.Create(PedType.Mission1, 260, 625.9337, 831.7066, -43.9531)
Char.SetHeading(43@, 156.9796)
Char.SetDecisionMaker(43@, 53@)
Char.PerformSequence(43@, 56@)
44@ = Char.Create(PedType.Mission2, 260, 531.6239, 860.3109, -43.6083)
Char.SetHeading(44@, 156.9796)
Char.SetDecisionMaker(44@, 78@)
Char.GiveWeapon(44@, WeaponType.Shovel, 30000)
Char.SetCurrentWeapon(44@, WeaponType.Shovel)
Char.PerformSequence(44@, 57@)
45@ = Char.Create(PedType.Mission1, 260, 637.8237, 825.2736, -41.2744)
Char.SetHeading(45@, 309.4228)
Char.SetDecisionMaker(45@, 53@)
46@ = Char.Create(PedType.Mission1, 260, 638.5316, 826.1287, -41.2291)
Char.SetHeading(46@, 144.6359)
Char.SetDecisionMaker(46@, 53@)
47@ = Char.Create(PedType.Mission1, 260, 583.0614, 849.4081, -43.5974)
Char.SetHeading(47@, 26.0656)
Char.SetDecisionMaker(47@, 53@)
Char.PerformSequence(47@, 205@)
49@ = Char.Create(PedType.Mission2, 71, 491.5784, 940.8132, -17.1478)
Char.GiveWeapon(49@, WeaponType.Pistol, 30000)
Char.SetCurrentWeapon(49@, WeaponType.Pistol)
Char.SetHeading(49@, 279.9455)
Char.SetDecisionMaker(49@, 78@)
Char.PerformSequence(49@, 211@)
50@ = Char.Create(PedType.Mission2, 71, 590.1505, 875.5482, -43.4973)
Char.SetHeading(50@, 278.2997)
Char.SetDecisionMaker(50@, 78@)
Char.GiveWeapon(50@, WeaponType.Pistol, 30000)
Char.SetCurrentWeapon(50@, WeaponType.Pistol)
Char.PerformSequence(50@, 212@)
51@ = Char.Create(PedType.Mission1, 260, 655.8689, 904.3282, -42.0397)
Char.SetHeading(51@, 330.4476)
Char.SetDecisionMaker(51@, 53@)
52@ = Char.Create(PedType.Mission1, 260, 654.8843, 906.4748, -42.0822)
Char.SetHeading(52@, 324.192)
Char.GiveWeapon(52@, WeaponType.Shovel, 30000)
Char.SetCurrentWeapon(52@, WeaponType.Shovel)
Char.SetDecisionMaker(52@, 53@)
35@ = 0

:CASINO2_3982
if 
  not Char.IsDead(43@(35@,10i))
goto_if_false @CASINO2_4016
Char.SetSenseRange(43@(35@,10i), 15.0)

:CASINO2_4016
35@ += 1
  35@ >= 10
goto_if_false @CASINO2_3982
if 
  not Car.IsDead(187@)
goto_if_false @CASINO2_4082
183@ = Char.CreateInsideCar(187@, PedType.Mission1, 260)
Char.SetDecisionMaker(183@, 53@)
Char.PerformSequence(183@, 190@)

:CASINO2_4082
Camera.SetBehindPlayer
35@ = 0

:CASINO2_4091
109@(35@,4i) = Object.CreateNoOffset(#DYNAMITE, 84@(35@,4f), 88@(35@,4f), 92@(35@,4f))
Object.SetProofs(109@(35@,4i), False, False, False, False, False)
121@(35@,4i) = Object.CreateNoOffset(#DYNO_BOX_A, 84@(35@,4f), 88@(35@,4f), 92@(35@,4f))
Object.SetCollision(109@(35@,4i), False)
Object.SetHeading(121@(35@,4i), 96@(35@,4f))
113@(35@,4i) = Object.CreateNoOffset(#DYNO_BOX_B, 84@(35@,4f), 88@(35@,4f), 92@(35@,4f))
Object.SetHeading(113@(35@,4i), 96@(35@,4f))
101@(35@,4i) = Blip.AddForObject(109@(35@,4i))
Blip.ChangeDisplay(101@(35@,4i), BlipDisplay.Both)
Object.MakeTargetable(113@(35@,4i), False)
Object.MakeTargetable(109@(35@,4i), False)
Object.MakeTargetable(121@(35@,4i), False)
Object.SetHealth(113@(35@,4i), 1000)
35@ += 1
  35@ >= 4
goto_if_false @CASINO2_4091
Object.AttachToObject(112@, 116@, 0.0, 0.0, 0.4, 0.0, 0.0, 0.0)
Object.AttachToObject(124@, 116@, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
Object.AttachToCar(116@, 187@, 0.0, 0.8, -0.3, 0.0, 0.0, 0.0)
77@ = Object.Create(#PRIVATESIGN3, 470.3749, 965.7881, 4.5134)
Object.SetHeading(77@, 311.2527)
76@ = Object.Create(#PRIVATESIGN1, 546.1226, 879.7054, -42.1212)
Object.SetHeading(76@, 76.924)
132@ = Blip.AddForCoord(542.6064, 880.7817, -36.3928)
Blip.ChangeDisplay(132@, BlipDisplay.Neither)
133@ = Blip.AddForCoord(585.3983, 870.3217, -39.4206)
Blip.ChangeDisplay(133@, BlipDisplay.Neither)
134@ = Blip.AddForCoord(518.1917, 814.9812, -9.7609)
Blip.ChangeDisplay(134@, BlipDisplay.Neither)
135@ = Blip.AddForCoord(479.1757, 930.0793, -16.6475)
Blip.ChangeDisplay(135@, BlipDisplay.Neither)
136@ = Blip.AddForCoord(437.9441, 869.2394, -4.0196)
Blip.ChangeDisplay(136@, BlipDisplay.Neither)
137@ = Blip.AddForCoord(455.1732, 803.1501, 5.3872)
Blip.ChangeDisplay(137@, BlipDisplay.Neither)
204@ = Blip.AddForCoord(1030.157, 744.3469, 9.7922)
Blip.ChangeDisplay(204@, BlipDisplay.Neither)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_4771
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO2_4771
83@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetStatus(83@, EntityStatus.Physics)
Car.SetTempAction(83@, TempAction.HandbrakeTurnRight, 1500)

:CASINO2_4771
gosub @CASINO2_17995
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_4921
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO2_4867
Car.SetCoordinates(83@, 777.9584, 838.6478, 4.861)
Car.SetHeading(83@, 0.0)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 774.3173, 835.658, 4.8819)
goto @CASINO2_4887

:CASINO2_4867
Char.SetCoordinates($stattreadstamina_ctr, 775.5965, 834.8624, 4.8713)

:CASINO2_4887
Task.GoToCoordAnyMeans($stattreadstamina_ctr, 771.6103, 836.6703, 4.8969, 4, -1)
Char.SetHeading($stattreadstamina_ctr, 87.4579)

:CASINO2_4921
Streaming.LoadSceneInDirection(773.9383, 834.7843, 4.8835, 74.4105)
Camera.SetFixedPosition(776.3613, 837.3477, 7.3533, 0.0, 0.0, 0.0)
Camera.PointAtPoint(775.4211, 837.4819, 7.0403, SwitchType.JumpCut)
wait 500
gosub @CASINO2_18078
Text.PrintNow('PD_01', 4500, 1)
TIMERA = 0

:CASINO2_5029
if 
  4500 > TIMERA
goto_if_false @CASINO2_5083
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_5076
goto @CASINO2_5639

:CASINO2_5076
goto @CASINO2_5029

:CASINO2_5083
Streaming.LoadSceneInDirection(610.9529, 869.6495, -40.7211, 77.0)
Camera.SetFixedPosition(610.9529, 869.6495, -40.7211, 0.0, 0.0, 0.0)
Camera.PointAtPoint(610.0316, 870.0207, -40.8371, SwitchType.JumpCut)
Text.PrintNow('PD_20', 5000, 1)
TIMERA = 0

:CASINO2_5179
if 
  2000 > TIMERA
goto_if_false @CASINO2_5233
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_5226
goto @CASINO2_5639

:CASINO2_5226
goto @CASINO2_5179

:CASINO2_5233
if and
  not Char.IsDead(51@)
  not Char.IsDead(52@)
goto_if_false @CASINO2_5270
Char.PerformSequence(51@, 251@)
Char.PerformSequence(52@, 250@)

:CASINO2_5270
TIMERA = 0

:CASINO2_5277
if 
  3000 > TIMERA
goto_if_false @CASINO2_5331
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_5324
goto @CASINO2_5639

:CASINO2_5324
goto @CASINO2_5277

:CASINO2_5331
Camera.SetFixedPosition(664.9276, 918.5754, -40.8955, 0.0, 0.0, 0.0)
Camera.PointAtPoint(663.9788, 918.2599, -40.9078, SwitchType.JumpCut)
Text.PrintNow('PD_21', 4000, 1)
if 
  not Char.IsDead(46@)
goto_if_false @CASINO2_5450
Task.PlayAnim(46@, "IDLE_CHAT", "PED", 1.0, True, False, False, False, -1)

:CASINO2_5450
TIMERA = 0

:CASINO2_5457
if 
  4000 > TIMERA
goto_if_false @CASINO2_5511
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_5504
goto @CASINO2_5639

:CASINO2_5504
goto @CASINO2_5457

:CASINO2_5511
Camera.SetFixedPosition(661.5589, 921.2776, -40.5538, 0.0, 0.0, 0.0)
Camera.PointAtPoint(661.9819, 920.3747, -40.6291, SwitchType.JumpCut)
Text.PrintNow('PD_27', 6000, 1)
TIMERA = 0

:CASINO2_5585
if 
  6000 > TIMERA
goto_if_false @CASINO2_5639
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_5632
goto @CASINO2_5639

:CASINO2_5632
goto @CASINO2_5585

:CASINO2_5639
if and
  not Char.IsDead(51@)
  not Char.IsDead(52@)
goto_if_false @CASINO2_5676
Char.PerformSequence(51@, 251@)
Char.PerformSequence(52@, 250@)

:CASINO2_5676
if 
  not Char.IsDead(46@)
goto_if_false @CASINO2_5728
Task.PlayAnim(46@, "IDLE_CHAT", "PED", 1.0, True, False, False, False, -1)

:CASINO2_5728
gosub @CASINO2_18043
gosub @CASINO2_18017
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_5793
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 775.4108, 834.5572, 4.8721)
Char.SetHeading($stattreadstamina_ctr, 93.2533)

:CASINO2_5793
gosub @CASINO2_18078
Text.ClearPrints
$7535 = 150000
Hud.DisplayTimerWithString($7535, TimerDirection.Down, 'PD_25')
goto @CASINO2_8497

:CASINO2_5835
Streaming.RequestModel(117)
Streaming.RequestModel(410)
Streaming.RequestAnimation("CARRY")

:CASINO2_5853
if or
  not Streaming.HasModelLoaded(117)
  not Streaming.HasModelLoaded(410)
  not Streaming.HasAnimationLoaded("CARRY")
goto_if_false @CASINO2_5893
wait 0
goto @CASINO2_5853

:CASINO2_5893
48@ = Char.Create(PedType.Mission2, 71, 580.5311, 830.0402, -30.9456)
Char.SetHeading(48@, 57.3299)
Char.SetDecisionMaker(48@, 78@)
Char.GiveWeapon(48@, WeaponType.Pistol, 30000)
Char.SetCurrentWeapon(48@, WeaponType.Pistol)
Char.PerformSequence(48@, 58@)
World.ClearArea(1032.678, 741.7072, 9.8044, 10.0, True)
223@ = Car.Create(410, 1032.678, 741.7072, 9.8044)
Car.LockDoors(223@, CarLock.Locked)
Car.FreezePosition(223@, True)
Car.PopBoot(223@)
Car.SetHeading(223@, 292.6477)
224@ = Char.Create(PedType.CivMale, 117, 1029.173, 740.8435, 9.8018)
Char.SetHeading(224@, 63.6493)
Char.SetSuffersCriticalHits(224@, False)
Char.SetNeverTargeted(224@, True)
Char.SetOnlyDamagedByPlayer(224@, True)
Char.SetDecisionMaker(224@, 127@)
Streaming.RequestModel(428)
Streaming.RequestModel(349)

:CASINO2_6109
if or
  not Streaming.HasModelLoaded(428)
  not Streaming.HasModelLoaded(349)
goto_if_false @CASINO2_6141
wait 0
goto @CASINO2_6109

:CASINO2_6141
World.ClearArea(812.6123, 845.2352, 9.1419, 20.0, True)
73@ = Car.Create(428, 812.6123, 845.2352, 9.1419)
Car.SetHeading(73@, 101.1888)
74@ = Car.Create(428, 812.4752, 840.8808, 8.9765)
Car.SetHeading(74@, 101.8471)
75@ = Car.Create(428, 422.5194, 856.283, 6.1078)
Car.SetHeading(75@, 33.0215)
62@ = Char.CreateInsideCar(73@, PedType.Mission2, 71)
63@ = Char.CreateAsPassenger(73@, PedType.Mission2, 71, 0)
64@ = Char.CreateInsideCar(74@, PedType.Mission2, 71)
65@ = Char.CreateAsPassenger(74@, PedType.Mission2, 71, 0)
35@ = 0

:CASINO2_6323
Char.GiveWeapon(62@(35@,10i), WeaponType.Shotgun, 30000)
Char.SetCurrentWeapon(62@(35@,10i), WeaponType.Shotgun)
Char.SetDecisionMaker(62@(35@,10i), 78@)
35@ += 1
  35@ >= 4
goto_if_false @CASINO2_6323
World.ClearArea(783.6387, 841.395, 4.8177, 20.0, True)
Task.CarDriveToCoord(62@, 73@, 783.6387, 841.395, 4.8177, 20.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
Task.CarDriveToCoord(64@, 74@, 781.6849, 833.6969, 4.8296, 20.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
131@ = 1
Text.ClearPrints
gosub @CASINO2_18043
35@ = 0

:CASINO2_6496
if and
  35@ <> 5
  35@ <> 6
  35@ <> 7
goto_if_false @CASINO2_6557
if 
  not Char.IsDead(43@(35@,10i))
goto_if_false @CASINO2_6557
Char.Delete(43@(35@,10i))

:CASINO2_6557
if 
  35@ == 7
goto_if_false @CASINO2_6616
if 
  not Char.IsDead(43@(35@,10i))
goto_if_false @CASINO2_6616
Char.ClearTasksImmediately(43@(35@,10i))
Task.KillCharOnFoot(43@(35@,10i), $stattreadstamina_ctr)

:CASINO2_6616
35@ += 1
  35@ >= 10
goto_if_false @CASINO2_6496
if 
  not Char.IsDead(182@)
goto_if_false @CASINO2_6658
Char.Delete(182@)

:CASINO2_6658
if 
  not Char.IsDead(183@)
goto_if_false @CASINO2_6679
Char.Delete(183@)

:CASINO2_6679
if 
  not Char.IsDead(198@)
goto_if_false @CASINO2_6700
Char.Delete(198@)

:CASINO2_6700
Streaming.RequestModel(468)

:CASINO2_6705
if 
  not Streaming.HasModelLoaded(468)
goto_if_false @CASINO2_6732
wait 0
goto @CASINO2_6705

:CASINO2_6732
82@ = Car.Create(468, 583.0051, 881.9482, -45.0648)
Car.SetCanBurstTires(82@, False)
Car.SetHeading(82@, 93.6785)
World.ClearArea(583.0051, 881.9482, -45.0648, 10.0, True)
World.ClearArea(583.0051, 881.9482, -45.0648, 10.0, True)
192@ = Blip.AddForCar(82@)
Blip.SetAsFriendly(192@, True)
gosub @CASINO2_17995
Weather.ForceNow(WeatherType.SandstormDesert)
Camera.SetFixedPosition(772.3265, 828.7196, 5.8497, 0.0, 0.0, 0.0)
Camera.PointAtPoint(773.1074, 829.3431, 5.8867, SwitchType.JumpCut)
gosub @CASINO2_18078
TIMERA = 0

:CASINO2_6911
if 
  2000 > TIMERA
goto_if_false @CASINO2_6965
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_6958
goto @CASINO2_7851

:CASINO2_6958
goto @CASINO2_6911

:CASINO2_6965
Camera.SetFixedPosition(772.3265, 828.7196, 5.8497, 0.0, 0.0, 0.0)
Camera.PointAtPoint(773.1074, 829.3431, 5.8867, SwitchType.JumpCut)
Text.PrintNow('PD_10', 3500, 1)
TIMERA = 0

:CASINO2_7039
if 
  1000 > TIMERA
goto_if_false @CASINO2_7093
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_7086
goto @CASINO2_7851

:CASINO2_7086
goto @CASINO2_7039

:CASINO2_7093
if 
  not Car.IsDead(74@)
goto_if_false @CASINO2_7114
Car.TaskEveryoneLeave(74@)

:CASINO2_7114
TIMERA = 0

:CASINO2_7121
if 
  500 > TIMERA
goto_if_false @CASINO2_7175
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_7168
goto @CASINO2_7851

:CASINO2_7168
goto @CASINO2_7121

:CASINO2_7175
if 
  not Car.IsDead(73@)
goto_if_false @CASINO2_7196
Car.TaskEveryoneLeave(73@)

:CASINO2_7196
TIMERA = 0

:CASINO2_7203
if 
  2000 > TIMERA
goto_if_false @CASINO2_7257
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_7250
goto @CASINO2_7851

:CASINO2_7250
goto @CASINO2_7203

:CASINO2_7257
Camera.SetFixedPosition(587.0494, 883.9788, -44.1279, 0.0, 0.0, 0.0)
Camera.PointAtPoint(586.0945, 883.6844, -44.1663, SwitchType.JumpCut)
Text.PrintNow('PD_11', 4000, 1)
TIMERA = 0

:CASINO2_7331
if 
  4000 > TIMERA
goto_if_false @CASINO2_7385
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_7378
goto @CASINO2_7851

:CASINO2_7378
goto @CASINO2_7331

:CASINO2_7385
Camera.SetFixedPosition(560.5041, 888.881, -42.2954, 0.0, 0.0, 0.0)
Camera.PointAtPoint(559.5857, 888.5298, -42.1132, SwitchType.JumpCut)
TIMERA = 0

:CASINO2_7443
if 
  100 > TIMERA
goto_if_false @CASINO2_7496
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_7489
goto @CASINO2_7851

:CASINO2_7489
goto @CASINO2_7443

:CASINO2_7496
Camera.SetInterpolationParameters(0.0, 5000)
Camera.SetFixedPosition(560.5041, 888.881, -42.2954, 0.0, 0.0, 0.0)
Camera.PointAtPoint(561.1447, 888.1351, -42.1132, SwitchType.Interpolation)
TIMERA = 0

:CASINO2_7564
if 
  5000 > TIMERA
goto_if_false @CASINO2_7618
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_7611
goto @CASINO2_7851

:CASINO2_7611
goto @CASINO2_7564

:CASINO2_7618
Camera.SetFixedPosition(584.2947, 833.9013, -23.7385, 0.0, 0.0, 0.0)
Camera.PointAtPoint(583.8419, 833.3374, -24.4291, SwitchType.JumpCut)
TIMERA = 0

:CASINO2_7676
if 
  100 > TIMERA
goto_if_false @CASINO2_7729
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_7722
goto @CASINO2_7851

:CASINO2_7722
goto @CASINO2_7676

:CASINO2_7729
Camera.SetInterpolationParameters(0.0, 4000)
Camera.SetFixedPosition(584.2947, 833.9013, -23.7385, 0.0, 0.0, 0.0)
Camera.PointAtPoint(583.3537, 833.6394, -23.5241, SwitchType.Interpolation)
TIMERA = 0

:CASINO2_7797
if 
  4000 > TIMERA
goto_if_false @CASINO2_7851
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_7844
goto @CASINO2_7851

:CASINO2_7844
goto @CASINO2_7797

:CASINO2_7851
gosub @CASINO2_18043
Text.ClearPrints
gosub @CASINO2_18017
gosub @CASINO2_18078
Object.SetHeading(60@, 115.0)
Object.SetHeading(61@, -65.0)
if 
  not Car.IsDead(73@)
goto_if_false @CASINO2_7930
Car.SetCoordinates(73@, 783.6387, 841.395, 4.8177)

:CASINO2_7930
if 
  not Car.IsDead(74@)
goto_if_false @CASINO2_7966
Car.SetCoordinates(74@, 781.6849, 833.6969, 4.8296)

:CASINO2_7966
131@ = 1
125@ = Object.CreateNoOffset(#BARRIER_4ANDY, 783.3699, 847.4722, 4.8193)
Object.SetHeading(125@, 10.654)
125@ = Object.CreateNoOffset(#BARRIER_4ANDY, 778.0906, 847.8346, 4.8515)
Object.SetHeading(125@, 10.5331)
if 
  not Char.IsDead(62@)
goto_if_false @CASINO2_8138
if 
  not Char.IsInAnyCar(62@)
goto_if_false @CASINO2_8108
Char.SetCoordinates(62@, 781.9483, 848.7029, 4.828)
Char.SetHeading(62@, 20.7251)
goto @CASINO2_8138

:CASINO2_8108
Char.WarpFromCarToCoord(62@, 781.9483, 848.7029, 4.828)
Char.SetHeading(62@, 20.7251)

:CASINO2_8138
if 
  not Char.IsDead(63@)
goto_if_false @CASINO2_8237
if 
  not Char.IsInAnyCar(63@)
goto_if_false @CASINO2_8207
Char.SetCoordinates(63@, 777.5142, 849.4856, 4.8551)
Char.SetHeading(63@, 22.0536)
goto @CASINO2_8237

:CASINO2_8207
Char.WarpFromCarToCoord(63@, 777.5142, 849.4856, 4.8551)
Char.SetHeading(63@, 22.0536)

:CASINO2_8237
if 
  not Char.IsDead(64@)
goto_if_false @CASINO2_8336
if 
  not Char.IsInAnyCar(64@)
goto_if_false @CASINO2_8306
Char.SetCoordinates(64@, 773.2135, 821.8822, 4.3934)
Char.SetHeading(64@, 168.8133)
goto @CASINO2_8336

:CASINO2_8306
Char.WarpFromCarToCoord(64@, 773.2135, 821.8822, 4.3934)
Char.SetHeading(64@, 168.8133)

:CASINO2_8336
if 
  not Char.IsDead(65@)
goto_if_false @CASINO2_8435
if 
  not Char.IsInAnyCar(65@)
goto_if_false @CASINO2_8405
Char.SetCoordinates(65@, 778.8481, 819.9525, 4.3237)
Char.SetHeading(65@, 156.0701)
goto @CASINO2_8435

:CASINO2_8405
Char.WarpFromCarToCoord(65@, 778.8481, 819.9525, 4.3237)
Char.SetHeading(65@, 156.0701)

:CASINO2_8435
35@ = 0

:CASINO2_8442
if 
  not Char.IsDead(62@(35@,10i))
goto_if_false @CASINO2_8474
Char.PerformSequence(62@(35@,10i), 72@)

:CASINO2_8474
35@ += 1
  35@ >= 4
goto_if_false @CASINO2_8442
return 

:CASINO2_8497
TIMERB = 0
Text.ClearPrints
Text.PrintNow('PD_26', 7000, 1)

:CASINO2_8522
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_15955
wait 0
256@ += 1
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @CASINO2_8571
goto @CASINO2_16402

:CASINO2_8571
gosub @CASINO2_18111
gosub @CASINO2_20305
gosub @CASINO2_20433
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_8622
218@, 219@, 220@ = Char.GetCoordinates($stattreadstamina_ctr)

:CASINO2_8622
gosub @CASINO2_17855
if and
  22000 >= $7535
  234@ == 0
goto_if_false @CASINO2_8695
if 
  257@ == 1
goto_if_false @CASINO2_8688
set_lvar_int_to_constant 261@ = 14800
gosub @CASINO2_20413

:CASINO2_8688
234@ = 1

:CASINO2_8695
if and
  20000 >= $7535
  234@ == 1
goto_if_false @CASINO2_8775
if 
  257@ == 1
goto_if_false @CASINO2_8768
set_lvar_text_label 264@s = 'CAS2_BA'
set_lvar_int_to_constant 247@ = 7415
gosub @CASINO2_20285

:CASINO2_8768
234@ = 2

:CASINO2_8775
if and
  6000 >= $7535
  234@ == 2
goto_if_false @CASINO2_8855
if 
  257@ == 1
goto_if_false @CASINO2_8848
set_lvar_text_label 264@s = 'CAS2_BB'
set_lvar_int_to_constant 247@ = 7416
gosub @CASINO2_20285

:CASINO2_8848
234@ = 3

:CASINO2_8855
if and
  3800 >= $7535
  234@ == 3
goto_if_false @CASINO2_8935
if 
  257@ == 1
goto_if_false @CASINO2_8928
set_lvar_text_label 264@s = 'CAS2_BC'
set_lvar_int_to_constant 247@ = 7417
gosub @CASINO2_20285

:CASINO2_8928
234@ = 4

:CASINO2_8935
if and
  2800 >= $7535
  234@ == 4
goto_if_false @CASINO2_9015
if 
  257@ == 1
goto_if_false @CASINO2_9008
set_lvar_text_label 264@s = 'CAS2_BD'
set_lvar_int_to_constant 247@ = 7418
gosub @CASINO2_20285

:CASINO2_9008
234@ = 5

:CASINO2_9015
if and
  Car.IsDead(254@)
  81@ == 0
goto_if_false @CASINO2_9061
Text.PrintNow('PD_33', 4000, 1)
goto @CASINO2_16384

:CASINO2_9061
if and
  not Char.IsDead(198@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_9124
if and
  Char.IsShooting(198@)
  259@ == 0
goto_if_false @CASINO2_9124
Char.ClearTasksImmediately(198@)
Task.UseMobilePhone(198@, False)
259@ = 1

:CASINO2_9124
if and
  1800 >= $7535
  not Char.IsDead(198@)
goto_if_false @CASINO2_9550
if 
  257@ == 1
goto_if_false @CASINO2_9527
gosub @CASINO2_17995
Text.ClearHelp
Text.ClearPrints
Camera.SetFixedPosition(586.0814, 876.6778, -41.6123, 0.0, 0.0, 0.0)
Camera.PointAtPoint(587.0665, 876.6669, -41.7839, SwitchType.JumpCut)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 7419)
Streaming.RequestAnimation("MISC")

:CASINO2_9247
if or
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Streaming.HasAnimationLoaded("MISC")
goto_if_false @CASINO2_9281
wait 0
goto @CASINO2_9247

:CASINO2_9281
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('CAS2_BE', 2000, 1)
wait 1000
TIMERA = 0

:CASINO2_9313
if 
  1000 > TIMERA
goto_if_false @CASINO2_9367
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_9360
goto @CASINO2_9505

:CASINO2_9360
goto @CASINO2_9313

:CASINO2_9367
if 
  not Char.IsDead(198@)
goto_if_false @CASINO2_9444
Char.ClearTasksImmediately(198@)
Char.SetDecisionMaker(198@, 53@)
Char.SetHeading(198@, 270.0)
Task.PlayAnim(198@, "PLUNGER_01", "MISC", 1.0, True, False, False, False, -1)

:CASINO2_9444
TIMERA = 0

:CASINO2_9451
if 
  2000 > TIMERA
goto_if_false @CASINO2_9505
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_9498
goto @CASINO2_9505

:CASINO2_9498
goto @CASINO2_9451

:CASINO2_9505
Streaming.RemoveAnimation("MISC")
gosub @CASINO2_17030
gosub @CASINO2_18017

:CASINO2_9527
Text.PrintNow('PD_19', 4000, 1)
goto @CASINO2_16384

:CASINO2_9550
if and
  Char.IsDead(198@)
  189@ == 0
goto_if_false @CASINO2_9585
Hud.ClearTimer($7535)
189@ = 1

:CASINO2_9585
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_9625
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO2_9625
193@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:CASINO2_9625
if and
  not Car.IsDead(193@)
  not Car.IsDead(187@)
  196@ == 1
goto_if_false @CASINO2_9981
if and
  Car.HasBeenDamagedByCar(187@, 193@)
  194@ == 0
goto_if_false @CASINO2_9981
194@ = 1
if 
  not Car.IsDead(187@)
goto_if_false @CASINO2_9816
if 
  Object.DoesExist(124@)
goto_if_false @CASINO2_9725
Object.SetCollision(124@, False)

:CASINO2_9725
if 
  Object.DoesExist(112@)
goto_if_false @CASINO2_9793
Object.SetCollision(112@, False)
Object.Detach(112@, 0.0, 0.0, 0.0, False)
Object.PlaceRelativeToCar(112@, 187@, 0.0, 1.8, -0.4)

:CASINO2_9793
if 
  Object.DoesExist(116@)
goto_if_false @CASINO2_9816
Object.SetCollision(116@, False)

:CASINO2_9816
Object.Break(116@, 1)
Object.Delete(124@)
set_lvar_float_to_lvar_float 100@ = 95@
100@ += 0.3
Blip.ChangeColor(104@, BlipColor.Red)
213@ = Particle.Create("EXPLOSION_CRATE", 87@, 91@, 95@, 1)
Audio.ReportMissionAudioEventAtObject(116@, 1159)
Particle.PlayAndKill(213@)
120@ = 1
36@ = 2
126@ += 1
if and
  not Char.IsDead(183@)
  not Car.IsDead(187@)
goto_if_false @CASINO2_9981
if and
  Char.IsInCar(183@, 187@)
  not Car.IsDead(187@)
goto_if_false @CASINO2_9981
Task.LeaveCar(183@, 187@)
Task.KillCharOnFoot(183@, $stattreadstamina_ctr)

:CASINO2_9981
if and
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 429.469, 916.0814, 0.9027, 20.0, 20.0, 20.0, False)
  227@ == 0
goto_if_false @CASINO2_10161
66@ = Char.Create(PedType.Mission2, 71, 416.5302, 862.1686, 6.7328)
Char.SetHeading(66@, 357.0781)
Char.GiveWeapon(66@, WeaponType.Pistol, 30000)
Char.SetCurrentWeapon(66@, WeaponType.Pistol)
Char.PerformSequence(66@, 217@)
67@ = Char.Create(PedType.Mission2, 71, 423.9201, 861.7891, 5.5413)
Char.SetHeading(67@, 352.4637)
Char.GiveWeapon(67@, WeaponType.Pistol, 30000)
Char.SetCurrentWeapon(67@, WeaponType.Pistol)
Char.PerformSequence(67@, 217@)
227@ = 1

:CASINO2_10161
if 
  Object.DoesExist(112@)
goto_if_false @CASINO2_10191
87@, 91@, 95@ = Object.GetCoordinates(112@)

:CASINO2_10191
if and
  Char.IsInModel($stattreadstamina_ctr, 530)
  188@ <> 2
  120@ <> 1
goto_if_false @CASINO2_10298
Text.PrintHelpForever('PD_17')
$stealth_help_flag = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  Object.DoesExist(124@)
goto_if_false @CASINO2_10259

:CASINO2_10259
if 
  Object.DoesExist(112@)
goto_if_false @CASINO2_10275

:CASINO2_10275
if 
  Object.DoesExist(116@)
goto_if_false @CASINO2_10291

:CASINO2_10291
goto @CASINO2_10366

:CASINO2_10298
if 
  Object.DoesExist(124@)
goto_if_false @CASINO2_10314

:CASINO2_10314
if 
  Object.DoesExist(112@)
goto_if_false @CASINO2_10330

:CASINO2_10330
if 
  Object.DoesExist(116@)
goto_if_false @CASINO2_10346

:CASINO2_10346
if 
  79@ <> 4
goto_if_false @CASINO2_10366
Text.ClearHelp

:CASINO2_10366
if or
  Char.IsInModel($stattreadstamina_ctr, 406)
  Char.IsInModel($stattreadstamina_ctr, 486)
goto_if_false @CASINO2_10497
35@ = 0

:CASINO2_10400
if 
  Object.DoesExist(113@(35@,4i))
goto_if_false @CASINO2_10431
Object.SetCollision(113@(35@,4i), False)

:CASINO2_10431
if 
  Object.DoesExist(121@(35@,4i))
goto_if_false @CASINO2_10462
Object.SetCollision(121@(35@,4i), False)

:CASINO2_10462
35@ += 1
  35@ >= 4
goto_if_false @CASINO2_10400
196@ = 1
goto @CASINO2_10594

:CASINO2_10497
35@ = 0

:CASINO2_10504
if 
  Object.DoesExist(113@(35@,4i))
goto_if_false @CASINO2_10535
Object.SetCollision(113@(35@,4i), True)

:CASINO2_10535
if 
  Object.DoesExist(121@(35@,4i))
goto_if_false @CASINO2_10566
Object.SetCollision(121@(35@,4i), True)

:CASINO2_10566
35@ += 1
  35@ >= 4
goto_if_false @CASINO2_10504
196@ = 0

:CASINO2_10594
35@ = 0

:CASINO2_10601
if 
  not Char.IsDead(43@(35@,10i))
goto_if_false @CASINO2_11113
231@, 232@, 233@ = Char.GetCoordinates(43@(35@,10i))
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 231@, 232@, 233@, 15.0, 15.0, 3.0, False)
goto_if_false @CASINO2_11113
if and
  129@ == 0
  256@ > 300
  131@ == 0
goto_if_false @CASINO2_11088
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO2_11088
249@ = 0

:CASINO2_10734
130@ = Math.RandomIntInRange(0, 6)
if 
  is_int_lvar_equal_to_int_lvar 130@ == 248@
goto_if_false @CASINO2_10794
249@ += 1
if 
  5 > 249@
goto_if_false @CASINO2_10794
goto @CASINO2_10734

:CASINO2_10794
switch_start 130@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @CASINO2_11073 {caseNum1} 0 {caseLabel1} @CASINO2_10857 {caseNum2} 1 {caseLabel2} @CASINO2_10893 {caseNum3} 2 {caseLabel3} @CASINO2_10929 {caseNum4} 3 {caseLabel4} @CASINO2_10965 {caseNum5} 4 {caseLabel5} @CASINO2_11001 {caseNum6} 5 {caseLabel6} @CASINO2_11037 {caseNum7} -1 {caseLabel7} @CASINO2_11073

:CASINO2_10857
set_lvar_text_label 264@s = 'CAS2_AA'
set_lvar_int_to_constant 247@ = 7400
gosub @CASINO2_20285
goto @CASINO2_11073

:CASINO2_10893
set_lvar_text_label 264@s = 'CAS2_AB'
set_lvar_int_to_constant 247@ = 7401
gosub @CASINO2_20285
goto @CASINO2_11073

:CASINO2_10929
set_lvar_text_label 264@s = 'CAS2_AC'
set_lvar_int_to_constant 247@ = 7402
gosub @CASINO2_20285
goto @CASINO2_11073

:CASINO2_10965
set_lvar_text_label 264@s = 'CAS2_AJ'
set_lvar_int_to_constant 247@ = 7409
gosub @CASINO2_20285
goto @CASINO2_11073

:CASINO2_11001
set_lvar_text_label 264@s = 'CAS2_AK'
set_lvar_int_to_constant 247@ = 7410
gosub @CASINO2_20285
goto @CASINO2_11073

:CASINO2_11037
set_lvar_text_label 264@s = 'CAS2_AL'
set_lvar_int_to_constant 247@ = 7411
gosub @CASINO2_20285
goto @CASINO2_11073

:CASINO2_11073
set_lvar_int_to_lvar_int 248@ = 130@
256@ = 0

:CASINO2_11088
if 
  128@ == 0
goto_if_false @CASINO2_11113
128@ = 1

:CASINO2_11113
35@ += 1
  35@ >= 10
goto_if_false @CASINO2_10601
35@ = 0

:CASINO2_11141
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 84@(35@,4f), 88@(35@,4f), 92@(35@,4f), 5.0, 5.0, 5.0, False)
  128@ == 1
  36@ == 2
goto_if_false @CASINO2_11386
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO2_11386
130@ = Math.RandomIntInRange(0, 3)
if 
  130@ == 0
goto_if_false @CASINO2_11278
set_lvar_text_label 264@s = 'CAS2_AD'
set_lvar_int_to_constant 247@ = 7403
gosub @CASINO2_20285

:CASINO2_11278
if 
  130@ == 1
goto_if_false @CASINO2_11325
set_lvar_text_label 264@s = 'CAS2_AE'
set_lvar_int_to_constant 247@ = 7404
gosub @CASINO2_20285

:CASINO2_11325
if 
  130@ == 2
goto_if_false @CASINO2_11372
set_lvar_text_label 264@s = 'CAS2_AF'
set_lvar_int_to_constant 247@ = 7405
gosub @CASINO2_20285

:CASINO2_11372
128@ = 2
TIMERB = 0

:CASINO2_11386
if 
  117@(35@,4i) == 0
goto_if_false @CASINO2_12016
if 
  Object.DoesExist(112@)
goto_if_false @CASINO2_11438
87@, 91@, 95@ = Object.GetCoordinates(112@)

:CASINO2_11438
if and
  Char.LocateInCar3D($stattreadstamina_ctr, 84@(35@,4f), 88@(35@,4f), 92@(35@,4f), 3.0, 3.0, 3.0, False)
  117@(35@,4i) == 0
goto_if_false @CASINO2_11905
if or
  Char.IsInModel($stattreadstamina_ctr, 406)
  Char.IsInModel($stattreadstamina_ctr, 486)
goto_if_false @CASINO2_11905
if and
  35@ == 3
  not Car.IsDead(187@)
  not Char.IsDead(183@)
goto_if_false @CASINO2_11585
if 
  Char.IsInCar(183@, 187@)
goto_if_false @CASINO2_11585
Task.LeaveCar(183@, 187@)

:CASINO2_11585
if 
  35@ == 0
goto_if_false @CASINO2_11671
if and
  not Char.IsDead(51@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_11637
Char.ClearTasksImmediately(51@)
Char.PerformSequence(51@, 206@)

:CASINO2_11637
if and
  not Char.IsDead(52@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_11671
Char.ClearTasksImmediately(52@)
Char.PerformSequence(52@, 206@)

:CASINO2_11671
if 
  225@ == 0
goto_if_false @CASINO2_11712
Text.PrintNow('PD_29', 4000, 1)
225@ = 1

:CASINO2_11712
Pad.Shake(PadId.Pad1, 300, 200)
Object.Break(113@(35@,4i), 1)
set_lvar_float_to_lvar_float 100@ = 92@(35@,4f)
100@ += 0.3
Object.MakeTargetable(113@(35@,4i), False)
Object.SetCoordinates(109@(35@,4i), 84@(35@,4f), 88@(35@,4f), 100@)
Blip.ChangeColor(101@(35@,4i), BlipColor.Red)
37@(35@,4i) = Particle.Create("EXPLOSION_CRATE", 84@(35@,4f), 88@(35@,4f), 92@(35@,4f), 1)
Particle.PlayAndKill(37@(35@,4i))
Audio.ReportMissionAudioEventAtObject(113@(35@,4i), 1140)
117@(35@,4i) = 1
36@ = 2
126@ += 1
gosub @CASINO2_16290

:CASINO2_11905
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 84@(35@,4f), 88@(35@,4f), 92@(35@,4f), 2.0, 2.0, 2.0, False)
  36@ == 0
goto_if_false @CASINO2_12016
if and
  not Char.IsInModel($stattreadstamina_ctr, 406)
  not Char.IsInModel($stattreadstamina_ctr, 486)
goto_if_false @CASINO2_12016
Text.PrintNow('PD_02', 4000, 1)
36@ = 1

:CASINO2_12016
if and
  105@(35@,4i) == 0
  117@(35@,4i) == 1
goto_if_false @CASINO2_12247
set_lvar_float_to_lvar_float 100@ = 92@(35@,4f)
100@ += 0.3
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 84@(35@,4f), 88@(35@,4f), 92@(35@,4f), 1.5, 1.5, 1.5, False)
goto_if_false @CASINO2_12247
80@ = 0
if or
  Char.IsInModel($stattreadstamina_ctr, 406)
  Char.IsInModel($stattreadstamina_ctr, 486)
goto_if_false @CASINO2_12166
80@ = 1

:CASINO2_12166
if 
  80@ == 0
goto_if_false @CASINO2_12247
Blip.Remove(101@(35@,4i))
105@(35@,4i) = 1
Object.SetCollision(109@(35@,4i), False)
Object.Delete(109@(35@,4i))
Pad.Shake(PadId.Pad1, 200, 100)
gosub @CASINO2_16023
126@ = 5

:CASINO2_12247
35@ += 1
  35@ >= 4
goto_if_false @CASINO2_11141
if 
  126@ == 4
goto_if_false @CASINO2_12345
if 
  not Char.IsDead(50@)
goto_if_false @CASINO2_12315
Char.ClearTasksImmediately(50@)
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)

:CASINO2_12315
Text.PrintNow('PD_12', 4000, 1)
81@ = 1
126@ = 5

:CASINO2_12345
if and
  79@ == 3
  235@ == 0
goto_if_false @CASINO2_13912
if 
  not Car.IsDead(82@)
goto_if_false @CASINO2_12472
if and
  Char.IsInCar($stattreadstamina_ctr, 82@)
  203@ == 0
goto_if_false @CASINO2_12472
Blip.ChangeDisplay(132@, BlipDisplay.BlipOnly)
174@ = Checkpoint.Create(CheckpointType.TubeArrow, 138@, 144@, 150@, 156@, 162@, 168@, 4.0)
Text.PrintNow('PD_23', 4000, 1)
203@ = 1

:CASINO2_12472
if 
  not Car.IsDead(82@)
goto_if_false @CASINO2_12804
if 
  Char.IsInCar($stattreadstamina_ctr, 82@)
goto_if_false @CASINO2_12539
if 
  255@ == 0
goto_if_false @CASINO2_12532
255@ = 1

:CASINO2_12532
goto @CASINO2_12580

:CASINO2_12539
if 
  255@ == 1
goto_if_false @CASINO2_12580
Text.PrintNow('PD_X', 4000, 1)
255@ = 0

:CASINO2_12580
if 
  Char.IsInCar($stattreadstamina_ctr, 82@)
goto_if_false @CASINO2_12734
if 
  216@ == 0
goto_if_false @CASINO2_12727
if 
  6 > $7536
goto_if_false @CASINO2_12713
Blip.ChangeDisplay(132@($7536,6i), BlipDisplay.BlipOnly)
Checkpoint.Delete(174@($7536,6i))
174@($7536,6i) = Checkpoint.Create(CheckpointType.TubeArrow, 138@($7536,6f), 144@($7536,6f), 150@($7536,6f), 156@($7536,6f), 162@($7536,6f), 168@($7536,6f), 4.0)

:CASINO2_12713
Blip.ChangeDisplay(192@, BlipDisplay.Neither)
216@ = 1

:CASINO2_12727
goto @CASINO2_12804

:CASINO2_12734
if 
  216@ == 1
goto_if_false @CASINO2_12804
if 
  6 > $7536
goto_if_false @CASINO2_12790
Blip.ChangeDisplay(132@($7536,6i), BlipDisplay.Neither)
Checkpoint.Delete(174@($7536,6i))

:CASINO2_12790
Blip.ChangeDisplay(192@, BlipDisplay.Both)
216@ = 0

:CASINO2_12804
if 
  216@ == 1
goto_if_false @CASINO2_13549
if and
  -4.0 > 220@
  $7536 > 4
goto_if_false @CASINO2_12939
if 
  6 > $7536
goto_if_false @CASINO2_12888
Blip.ChangeDisplay(132@($7536,6i), BlipDisplay.Neither)
Checkpoint.Delete(174@($7536,6i))

:CASINO2_12888
Blip.ChangeDisplay(136@, BlipDisplay.BlipOnly)
178@ = Checkpoint.Create(CheckpointType.TubeArrow, 142@, 148@, 154@, 160@, 166@, 172@, 4.0)
Blip.ChangeDisplay(204@, BlipDisplay.Neither)
$7536 = 4

:CASINO2_12939
if and
  -16.0 > 220@
  $7536 > 3
goto_if_false @CASINO2_13056
if 
  6 > $7536
goto_if_false @CASINO2_13005
Blip.ChangeDisplay(132@($7536,6i), BlipDisplay.Neither)
Checkpoint.Delete(174@($7536,6i))

:CASINO2_13005
Blip.ChangeDisplay(135@, BlipDisplay.BlipOnly)
177@ = Checkpoint.Create(CheckpointType.TubeArrow, 141@, 147@, 153@, 159@, 165@, 171@, 4.0)
Blip.ChangeDisplay(204@, BlipDisplay.Neither)
$7536 = 3

:CASINO2_13056
if and
  -30.0 > 220@
  $7536 > 2
goto_if_false @CASINO2_13173
if 
  6 > $7536
goto_if_false @CASINO2_13122
Blip.ChangeDisplay(132@($7536,6i), BlipDisplay.Neither)
Checkpoint.Delete(174@($7536,6i))

:CASINO2_13122
Blip.ChangeDisplay(134@, BlipDisplay.BlipOnly)
176@ = Checkpoint.Create(CheckpointType.TubeArrow, 140@, 146@, 152@, 158@, 164@, 170@, 4.0)
Blip.ChangeDisplay(204@, BlipDisplay.Neither)
$7536 = 2

:CASINO2_13173
if and
  -40.0 > 220@
  $7536 <> 0
goto_if_false @CASINO2_13290
if 
  6 > $7536
goto_if_false @CASINO2_13239
Blip.ChangeDisplay(132@($7536,6i), BlipDisplay.Neither)
Checkpoint.Delete(174@($7536,6i))

:CASINO2_13239
Blip.ChangeDisplay(132@, BlipDisplay.BlipOnly)
174@ = Checkpoint.Create(CheckpointType.TubeArrow, 138@, 144@, 150@, 156@, 162@, 168@, 4.0)
Blip.ChangeDisplay(204@, BlipDisplay.Neither)
$7536 = 0

:CASINO2_13290
if 
  6 > $7536
goto_if_false @CASINO2_13549
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 138@($7536,6f), 144@($7536,6f), 150@($7536,6f), 3.0, 3.0, 3.0, False)
  216@ == 1
goto_if_false @CASINO2_13549
Blip.ChangeDisplay(132@($7536,6i), BlipDisplay.Neither)
Checkpoint.Delete(174@($7536,6i))
$7536 += 1
if 
  6 > $7536
goto_if_false @CASINO2_13483
174@($7536,6i) = Checkpoint.Create(CheckpointType.TubeArrow, 138@($7536,6f), 144@($7536,6f), 150@($7536,6f), 156@($7536,6f), 162@($7536,6f), 168@($7536,6f), 4.0)
Blip.ChangeDisplay(132@($7536,6i), BlipDisplay.BlipOnly)

:CASINO2_13483
if 
  $7536 == 6
goto_if_false @CASINO2_13549
Blip.ChangeDisplay(204@, BlipDisplay.Both)
if 
  226@ == 0
goto_if_false @CASINO2_13549
Text.PrintNow('PD_28', 7000, 1)
226@ = 1

:CASINO2_13549
if and
  Car.IsDead(82@)
  235@ == 0
goto_if_false @CASINO2_13829
Car.MarkAsNoLongerNeeded(82@)
if 
  Blip.DoesExist(192@)
goto_if_false @CASINO2_13598
Blip.Remove(192@)

:CASINO2_13598
if 
  260@ == 0
goto_if_false @CASINO2_13709
World.ClearArea(639.3412, 850.4575, -43.9534, 15.0, True)
82@ = Car.Create(468, 639.3412, 850.4575, -43.9534)
Car.SetCanBurstTires(82@, False)
Car.SetHeading(82@, 90.0)
192@ = Blip.AddForCar(82@)
Blip.SetAsFriendly(192@, True)
260@ = 1
goto @CASINO2_13795

:CASINO2_13709
World.ClearArea(583.0051, 881.9482, -45.0648, 15.0, True)
82@ = Car.Create(468, 583.0051, 881.9482, -45.0648)
Car.SetCanBurstTires(82@, False)
Car.SetHeading(82@, 93.6785)
192@ = Blip.AddForCar(82@)
Blip.SetAsFriendly(192@, True)
260@ = 0

:CASINO2_13795
if 
  258@ == 0
goto_if_false @CASINO2_13829
Text.PrintNow('PD_34', 4000, 1)

:CASINO2_13829
if and
  not Car.IsDead(82@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_13912
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
$on_footY, $on_footZ, 266@ = Car.GetCoordinates(82@)
266@ -= 6.0
if 
  is_float_lvar_greater_than_float_var 266@ > $in_carX
goto_if_false @CASINO2_13912
Car.Explode(82@)

:CASINO2_13912
if 
  79@ > 0
goto_if_false @CASINO2_15563
if and
  TIMERA > 3000
  79@ == 1
goto_if_false @CASINO2_13979
Text.PrintNow('PD_22', 4000, 1)
79@ = 2

:CASINO2_13979
if and
  TIMERA > 7000
  79@ == 2
goto_if_false @CASINO2_14019
gosub @CASINO2_5835
79@ = 3

:CASINO2_14019
if 
  79@ == 3
goto_if_false @CASINO2_14115
if 
  Car.IsDead(223@)
goto_if_false @CASINO2_14076
Text.PrintNow('PD_30', 4000, 1)
goto @CASINO2_16384

:CASINO2_14076
if 
  Char.IsDead(224@)
goto_if_false @CASINO2_14115
Text.PrintNow('PD_31', 4000, 1)
goto @CASINO2_16384

:CASINO2_14115
if 
  79@ <> 4
goto_if_false @CASINO2_15563
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1030.157, 744.3469, 9.7922, 2.0, 2.0, 2.0, True)
goto_if_false @CASINO2_15563
Player.SetControl($statbike_temp, False)
if 
  Blip.DoesExist(204@)
goto_if_false @CASINO2_14209
Blip.Remove(204@)

:CASINO2_14209
35@ = 0

:CASINO2_14216
if 
  Blip.DoesExist(132@(35@,6i))
goto_if_false @CASINO2_14245
Blip.Remove(132@(35@,6i))

:CASINO2_14245
35@ += 1
  35@ >= 5
goto_if_false @CASINO2_14216
Text.ClearPrints
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_15538
gosub @CASINO2_18043
World.ClearArea(1023.937, 738.5938, 9.808, 30.0, True)
if 
  not Car.IsDead(223@)
goto_if_false @CASINO2_14338
Car.FreezePosition(223@, False)

:CASINO2_14338
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_14455
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO2_14435
269@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetCoordinates(269@, 1025.296, 746.0016, 9.8302)
Car.SetHeading(269@, 300.0064)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1028.168, 741.3518, 9.7989)
goto @CASINO2_14455

:CASINO2_14435
Char.SetCoordinates($stattreadstamina_ctr, 1028.168, 741.3518, 9.7989)

:CASINO2_14455
if 
  not Char.IsDead(224@)
goto_if_false @CASINO2_14506
Char.ClearTasksImmediately(224@)
Char.SetCoordinates(224@, 1029.173, 740.8435, 9.8018)
Char.SetHeading(224@, 63.6493)

:CASINO2_14506
Char.SetHeading($stattreadstamina_ctr, 232.6414)
228@ = Object.Create(#DYNAMITE, 1028.935, 741.1799, 9.8005)
Object.SetHeading(228@, 90.0)
Object.SetCollision(228@, False)
229@ = Object.Create(#DYNAMITE, 1028.935, 741.0, 9.8005)
Object.SetCollision(229@, False)
230@ = Object.Create(#DYNAMITE, 1028.935, 741.0, 9.8005)
Object.SetCollision(230@, False)
Object.AttachToObject(229@, 228@, 0.2, 0.0, -0.2, 0.0, 90.0, 40.0)
Object.AttachToObject(230@, 228@, 0.3, 0.0, 0.0, 0.0, 45.0, 60.0)
if 
  not Char.IsDead(224@)
goto_if_false @CASINO2_14716
Task.ComplexPickupObject(224@, 228@)

:CASINO2_14716
gosub @CASINO2_17995
Streaming.LoadScene(1028.935, 741.1799, 9.8005)
Camera.SetFixedPosition(1026.36, 737.9733, 11.3745, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1026.991, 738.7281, 11.1933, SwitchType.JumpCut)
gosub @CASINO2_18078
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_14850
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 1.0, False, False, False, False, -1)

:CASINO2_14850
Text.PrintNow('CAS2_CA', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 7420)

:CASINO2_14877
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CASINO2_14903
wait 0
goto @CASINO2_14877

:CASINO2_14903
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:CASINO2_14914
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CASINO2_14940
wait 0
goto @CASINO2_14914

:CASINO2_14940
Text.PrintNow('CAS2_CB', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 7421)

:CASINO2_14967
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CASINO2_14993
wait 0
goto @CASINO2_14967

:CASINO2_14993
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:CASINO2_15004
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CASINO2_15030
wait 0
goto @CASINO2_15004

:CASINO2_15030
TIMERA = 0

:CASINO2_15037
if 
  2000 > TIMERA
goto_if_false @CASINO2_15091
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_15084
goto @CASINO2_15405

:CASINO2_15084
goto @CASINO2_15037

:CASINO2_15091
gosub @CASINO2_18043
if 
  not Car.IsDead(223@)
goto_if_false @CASINO2_15119
Car.Delete(223@)

:CASINO2_15119
223@ = Car.Create(410, 1032.678, 741.7072, 9.8044)
Camera.SetFixedPosition(1020.499, 740.7717, 14.7072, 0.0, 0.0, 0.0)
if 
  not Car.IsDead(223@)
goto_if_false @CASINO2_15199
Camera.PointAtCar(223@, CameraMode.Fixed, SwitchType.JumpCut)

:CASINO2_15199
if or
  not Char.IsDead(224@)
  not Car.IsDead(223@)
goto_if_false @CASINO2_15277
Object.Delete(229@)
Object.Delete(230@)
Object.Delete(228@)
Char.WarpIntoCar(224@, 223@)
Task.CarDriveToCoord(224@, 223@, 1052.568, 754.0004, 9.8094, 25.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:CASINO2_15277
TIMERA = 0

:CASINO2_15284
if 
  10 > TIMERA
goto_if_false @CASINO2_15337
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_15330
goto @CASINO2_15405

:CASINO2_15330
goto @CASINO2_15284

:CASINO2_15337
gosub @CASINO2_18078
TIMERA = 0

:CASINO2_15351
if 
  3000 > TIMERA
goto_if_false @CASINO2_15405
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_15398
goto @CASINO2_15405

:CASINO2_15398
goto @CASINO2_15351

:CASINO2_15405
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_15426
Char.ClearTasksImmediately($stattreadstamina_ctr)

:CASINO2_15426
if 
  Object.DoesExist(228@)
goto_if_false @CASINO2_15447
Object.Delete(228@)

:CASINO2_15447
if 
  Object.DoesExist(229@)
goto_if_false @CASINO2_15468
Object.Delete(229@)

:CASINO2_15468
if 
  Object.DoesExist(230@)
goto_if_false @CASINO2_15489
Object.Delete(230@)

:CASINO2_15489
if 
  not Char.IsDead(224@)
goto_if_false @CASINO2_15510
Char.Delete(224@)

:CASINO2_15510
if 
  not Car.IsDead(223@)
goto_if_false @CASINO2_15531
Car.Delete(223@)

:CASINO2_15531
gosub @CASINO2_18017

:CASINO2_15538
Text.PrintHelp('PD_32')
79@ = 4
TIMERA = 0

:CASINO2_15563
if and
  79@ == 4
  TIMERA > 4000
goto_if_false @CASINO2_15596
goto @CASINO2_16402

:CASINO2_15596
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 454.5292, 804.0931, 5.3702, 2.0, 2.0, 2.0, False)
goto_if_false @CASINO2_15651
258@ = 1

:CASINO2_15651
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 447.3409, 811.1259, 5.4896, 2.0, 2.0, 2.0, False)
goto_if_false @CASINO2_15706
258@ = 0

:CASINO2_15706
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 562.4489, 871.3499, -17.0245, 250.0, 250.0, 250.0, False)
goto_if_false @CASINO2_15768
257@ = 0
goto @CASINO2_15775

:CASINO2_15768
257@ = 1

:CASINO2_15775
if and
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 562.4489, 871.3499, -17.0245, 250.0, 250.0, 250.0, False)
  79@ == 3
  6 > $7536
goto_if_false @CASINO2_15948
if 
  235@ == 0
goto_if_false @CASINO2_15948
Blip.ChangeDisplay(132@($7536,6i), BlipDisplay.Neither)
Blip.ChangeDisplay(192@($7536,1i), BlipDisplay.Neither)
Checkpoint.Delete(174@($7536,6i))
$7536 = 6
Blip.ChangeDisplay(204@, BlipDisplay.Both)
if 
  226@ == 0
goto_if_false @CASINO2_15941
Text.PrintNow('PD_28', 4000, 1)
226@ = 1

:CASINO2_15941
235@ = 1

:CASINO2_15948
goto @CASINO2_8522

:CASINO2_15955
goto @CASINO2_16384

:CASINO2_15962
if 
  42@ == 0
goto_if_false @CASINO2_16014
if 
  41@ == 1
goto_if_false @CASINO2_16014
Text.Print('CAS4_AD', 4000, 1)

:CASINO2_16014
42@ = 1
return 

:CASINO2_16023
if 
  34@ == 0
goto_if_false @CASINO2_16088
gosub @CASINO2_15962
Text.Print('PD_05', 4000, 1)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_16088
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1150)

:CASINO2_16088
if 
  34@ == 1
goto_if_false @CASINO2_16146
Text.PrintNow('PD_06', 4000, 1)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_16146
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1150)

:CASINO2_16146
if 
  34@ == 2
goto_if_false @CASINO2_16204
Text.PrintNow('PD_07', 4000, 1)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_16204
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1150)

:CASINO2_16204
if 
  34@ == 3
goto_if_false @CASINO2_16281
Text.PrintNow('PD_08', 4000, 1)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_16262
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1150)

:CASINO2_16262
TIMERA = 0
79@ = 1
Hud.ClearTimer($7535)

:CASINO2_16281
34@ += 1
return 

:CASINO2_16290
if 
  54@ == 0
goto_if_false @CASINO2_16316
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)

:CASINO2_16316
return 
if 
  41@ == 0
goto_if_false @CASINO2_16343
41@ = 1

:CASINO2_16343
return 
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Text.PrintNow('PD_09', 4000, 1)
wait 4000
return 

:CASINO2_16384
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:CASINO2_16402
start_new_script @HEIST 
start_new_script @QUARRYS 
Blip.Remove($flag_doc_mission_counter)
$flag_doc_mission_counter = Blip.AddSpriteForContactPoint($vcrashY, $vcrashZ, $docX, $flag_vcrash_mission_counter)
Blip.SetEntryExit($flag_doc_mission_counter, 2024.39, 1008.62, 20.0)
$desertX += 1
Stat.RegisterMissionPassed('CASEEN2')
Text.PrintWithNumberBig('M_PASSS', 7000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 7000)
Stat.AwardPlayerMissionRespect(15)
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Weather.Release
Weather.Force(WeatherType.SunnyLa)
Blip.Remove($bike_school_blip)
$bike_school_blip = Blip.AddShortRangeSpriteForContactPoint($mountbY, $mountbZ, $carcraneX, RadarSprite.Bulldozer)
return 

:CASINO2_16551
if 
  $flag_returned_shoehorses > 0
goto_if_false @CASINO2_16576
$flag_returned_shoehorses = 6

:CASINO2_16576
$cammy_off_Z = 0
Hud.ClearTimer($7535)
35@ = 0

:CASINO2_16595
if 
  Blip.DoesExist(101@(35@,4i))
goto_if_false @CASINO2_16624
Blip.Remove(101@(35@,4i))

:CASINO2_16624
35@ += 1
  35@ >= 4
goto_if_false @CASINO2_16595
35@ = 0

:CASINO2_16652
if 
  Blip.DoesExist(132@(35@,6i))
goto_if_false @CASINO2_16681
Blip.Remove(132@(35@,6i))

:CASINO2_16681
35@ += 1
  35@ >= 5
goto_if_false @CASINO2_16652
if 
  Blip.DoesExist(204@)
goto_if_false @CASINO2_16723
Blip.Remove(204@)

:CASINO2_16723
if 
  Blip.DoesExist(192@)
goto_if_false @CASINO2_16744
Blip.Remove(192@)

:CASINO2_16744
if 
  Blip.DoesExist(186@)
goto_if_false @CASINO2_16765
Blip.Remove(186@)

:CASINO2_16765
if 
  not Car.IsDead(73@)
goto_if_false @CASINO2_16786
Car.Delete(73@)

:CASINO2_16786
if 
  not Car.IsDead(74@)
goto_if_false @CASINO2_16807
Car.Delete(74@)

:CASINO2_16807
if 
  not Car.IsDead(75@)
goto_if_false @CASINO2_16828
Car.Delete(75@)

:CASINO2_16828
if 
  Object.DoesExist(60@)
goto_if_false @CASINO2_16854
Object.SetHeading(60@, 0.0)

:CASINO2_16854
if 
  Object.DoesExist(61@)
goto_if_false @CASINO2_16880
Object.SetHeading(61@, 15.0)

:CASINO2_16880
if 
  Object.DoesExist(77@)
goto_if_false @CASINO2_16901
Object.Delete(77@)

:CASINO2_16901
if 
  Object.DoesExist(76@)
goto_if_false @CASINO2_16922
Object.Delete(76@)

:CASINO2_16922
Streaming.MarkModelAsNoLongerNeeded(260)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(153)
Streaming.MarkModelAsNoLongerNeeded(71)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(337)
Streaming.MarkModelAsNoLongerNeeded(530)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(410)
Streaming.MarkModelAsNoLongerNeeded(428)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(406)
Streaming.RemoveAnimation("CARRY")
Streaming.RemoveAnimation("MISC")
$flag_courier_mission_passed = Clock.GetGameTimer()
Player.ClearWantedLevel($statbike_temp)
CarGenerator.DontSuppressCarModel(406)
Weather.Release
Mission.Finish
$weapon_shop1_blip = 0
return 

:CASINO2_17030
35@ = 0

:CASINO2_17037
if 
  Object.DoesExist(109@(35@,4i))
goto_if_false @CASINO2_17832
switch_start 35@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @CASINO2_17663 {caseNum1} 0 {caseLabel1} @CASINO2_17120 {caseNum2} 1 {caseLabel2} @CASINO2_17220 {caseNum3} 2 {caseLabel3} @CASINO2_17278 {caseNum4} 3 {caseLabel4} @CASINO2_17336 {caseNum5} -1 {caseLabel5} @CASINO2_17663 {caseNum6} -1 {caseLabel6} @CASINO2_17663 {caseNum7} -1 {caseLabel7} @CASINO2_17663

:CASINO2_17120
if 
  not Char.IsDead(51@)
goto_if_false @CASINO2_17141
Char.Delete(51@)

:CASINO2_17141
if 
  not Char.IsDead(52@)
goto_if_false @CASINO2_17162
Char.Delete(52@)

:CASINO2_17162
Camera.SetFixedPosition(656.9689, 914.2382, -38.7741, 0.0, 0.0, 0.0)
Camera.PointAtPoint(657.7072, 914.8211, -39.1131, SwitchType.JumpCut)
goto @CASINO2_17663

:CASINO2_17220
Camera.SetFixedPosition(578.0302, 926.3607, -39.6861, 0.0, 0.0, 0.0)
Camera.PointAtPoint(578.5041, 927.1686, -40.0363, SwitchType.JumpCut)
goto @CASINO2_17663

:CASINO2_17278
Camera.SetFixedPosition(543.1476, 853.9489, -38.0164, 0.0, 0.0, 0.0)
Camera.PointAtPoint(543.9039, 853.3993, -38.3712, SwitchType.JumpCut)
goto @CASINO2_17663

:CASINO2_17336
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_17597
if and
  not Car.IsDead(187@)
  188@ == 0
  not Char.IsInModel($stattreadstamina_ctr, 530)
goto_if_false @CASINO2_17597
if 
  Object.DoesExist(124@)
goto_if_false @CASINO2_17444
Object.Detach(124@, 0.0, 0.0, 0.0, False)
Object.PlaceRelativeToCar(124@, 187@, 0.0, 1.8, -0.6)

:CASINO2_17444
if 
  Object.DoesExist(112@)
goto_if_false @CASINO2_17505
Object.Detach(112@, 0.0, 0.0, 0.0, False)
Object.PlaceRelativeToCar(112@, 187@, 0.0, 1.8, -0.6)

:CASINO2_17505
if 
  Object.DoesExist(116@)
goto_if_false @CASINO2_17566
Object.Detach(116@, 0.0, 0.0, 0.0, False)
Object.PlaceRelativeToCar(116@, 187@, 0.0, 1.8, -0.6)

:CASINO2_17566
if 
  not Char.IsDead(183@)
goto_if_false @CASINO2_17592
Char.ClearTasksImmediately(183@)
Char.Delete(183@)

:CASINO2_17592
Car.Delete(187@)

:CASINO2_17597
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(112@)
Camera.SetFixedPosition(635.8651, 827.8486, -34.5451, 0.0, 0.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
goto @CASINO2_17663

:CASINO2_17663
if 
  Object.DoesExist(121@(35@,4i))
goto_if_false @CASINO2_17694
Object.FreezePosition(121@(35@,4i), True)

:CASINO2_17694
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(109@(35@,4i))
Fx.AddExplosionVariableShake($on_footY, $on_footZ, $in_carX, 11, 5.0)
199@(35@,4i) = Particle.Create("EXPLOSION_SMALL", $on_footY, $on_footZ, $in_carX, 1)
Particle.PlayAndKill(199@(35@,4i))
Object.Delete(109@(35@,4i))
if 
  117@(35@,4i) == 0
goto_if_false @CASINO2_17818
Object.Break(113@(35@,4i), 1)

:CASINO2_17818
wait 2000
Particle.Kill(199@(35@,4i))

:CASINO2_17832
35@ += 1
  35@ >= 4
goto_if_false @CASINO2_17037
return 

:CASINO2_17855
if 
  not Char.IsDead(51@)
goto_if_false @CASINO2_17924
if 
  Char.LocateAnyMeans3D(51@, 718.7523, 918.5203, -19.886, 3.0, 3.0, 3.0, False)
goto_if_false @CASINO2_17924
Char.RemoveElegantly(51@)

:CASINO2_17924
if 
  not Char.IsDead(52@)
goto_if_false @CASINO2_17993
if 
  Char.LocateAnyMeans3D(52@, 718.7523, 918.5203, -19.886, 3.0, 3.0, 3.0, False)
goto_if_false @CASINO2_17993
Char.RemoveElegantly(52@)

:CASINO2_17993
return 

:CASINO2_17995
Text.ClearPrints
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
return 

:CASINO2_18017
Text.ClearPrints
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
return 

:CASINO2_18043
Camera.DoFade(500, Fade.Out)

:CASINO2_18050
if 
  Camera.GetFadingStatus
goto_if_false @CASINO2_18074
wait 0
goto @CASINO2_18050

:CASINO2_18074
Text.ClearPrints
return 

:CASINO2_18078
Camera.DoFade(500, Fade.In)

:CASINO2_18085
if 
  Camera.GetFadingStatus
goto_if_false @CASINO2_18109
wait 0
goto @CASINO2_18085

:CASINO2_18109
return 

:CASINO2_18111
if 
is_ps2_keyboard_key_just_pressed 81
goto_if_false @CASINO2_18256
if 
  not Car.IsDead(187@)
goto_if_false @CASINO2_18256
Object.AttachToCar(124@, 187@, -0.4, 0.0, 0.0, 0.0, 90.0, 90.0)
Object.AttachToCar(112@, 187@, 0.0, 0.0, 0.0, 0.0, 90.0, 90.0)
Object.AttachToCar(116@, 187@, -0.4, 0.0, 0.0, 0.0, 90.0, 90.0)

:CASINO2_18256
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @CASINO2_18535
Streaming.RequestModel(117)
Streaming.RequestModel(410)
Streaming.RequestAnimation("CARRY")

:CASINO2_18289
if or
  not Streaming.HasModelLoaded(117)
  not Streaming.HasModelLoaded(410)
  not Streaming.HasAnimationLoaded("CARRY")
goto_if_false @CASINO2_18329
wait 0
goto @CASINO2_18289

:CASINO2_18329
World.ClearArea(1032.678, 741.7072, 9.8044, 10.0, True)
223@ = Car.Create(410, 1032.678, 741.7072, 9.8044)
Car.LockDoors(223@, CarLock.Locked)
Car.FreezePosition(223@, True)
Car.PopBoot(223@)
Car.SetHeading(223@, 292.6477)
224@ = Char.Create(PedType.CivMale, 117, 1029.173, 740.8435, 9.8018)
Char.SetHeading(224@, 63.6493)
Char.SetSuffersCriticalHits(224@, False)
Char.SetNeverTargeted(224@, True)
Char.SetOnlyDamagedByPlayer(224@, True)
Char.SetDecisionMaker(224@, 127@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_18535
Char.SetCoordinates($stattreadstamina_ctr, 1010.221, 736.1201, 9.8047)
Char.SetHeading($stattreadstamina_ctr, 275.6392)
79@ = 3
$7536 = 6
235@ = 1

:CASINO2_18535
if 
is_ps2_keyboard_key_just_pressed 87
goto_if_false @CASINO2_18680
if 
  not Car.IsDead(187@)
goto_if_false @CASINO2_18680
Object.AttachToCar(124@, 187@, -0.6, 0.0, 0.0, 0.0, 90.0, 90.0)
Object.AttachToCar(112@, 187@, 0.0, 0.5, 0.0, 0.0, 90.0, 90.0)
Object.AttachToCar(116@, 187@, -0.6, 0.0, 0.0, 0.0, 90.0, 90.0)

:CASINO2_18680
if 
is_ps2_keyboard_key_just_pressed 69
goto_if_false @CASINO2_18825
if 
  not Car.IsDead(187@)
goto_if_false @CASINO2_18825
Object.AttachToCar(124@, 187@, -1.0, 0.0, 0.0, 0.0, 90.0, 90.0)
Object.AttachToCar(112@, 187@, 0.0, -1.0, 0.0, 0.0, 90.0, 90.0)
Object.AttachToCar(116@, 187@, -1.0, 0.0, 0.0, 0.0, 90.0, 90.0)

:CASINO2_18825
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @CASINO2_18848
$7535 = 25000

:CASINO2_18848
if 
is_ps2_keyboard_key_just_pressed 89
goto_if_false @CASINO2_18913
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_18913
Text.ClearPrints
Char.SetCoordinates($stattreadstamina_ctr, 820.8088, 847.8527, 10.0376)
Char.SetHeading($stattreadstamina_ctr, 114.6715)
Camera.SetBehindPlayer

:CASINO2_18913
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @CASINO2_19000
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_19000
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO2_19000
270@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetCoordinates(270@, 495.8263, 820.5667, -9.8729)
Car.SetHeading(270@, 30.4329)
Camera.SetBehindPlayer

:CASINO2_19000
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @CASINO2_19083
75@ = Car.Create(428, 428.4801, 840.5771, 5.5835)
Car.SetHeading(75@, 28.5847)
Streaming.MarkModelAsNoLongerNeeded(428)
66@ = Char.CreateInsideCar(75@, PedType.Mission2, 71)
67@ = Char.CreateAsPassenger(75@, PedType.Mission2, 71, 0)
Streaming.MarkModelAsNoLongerNeeded(71)

:CASINO2_19083
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @CASINO2_19168
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_19148
Text.ClearPrints
Char.SetCoordinates($stattreadstamina_ctr, 658.134, 947.6506, -35.8939)
Char.SetHeading($stattreadstamina_ctr, 194.3468)
Camera.SetBehindPlayer

:CASINO2_19148
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)

:CASINO2_19168
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @CASINO2_20283
Streaming.RequestModel(117)
Streaming.RequestModel(410)

:CASINO2_19192
if or
  not Streaming.HasModelLoaded(117)
  not Streaming.HasModelLoaded(410)
goto_if_false @CASINO2_19223
wait 0
goto @CASINO2_19192

:CASINO2_19223
World.ClearArea(1032.678, 741.7072, 9.8044, 10.0, True)
223@ = Car.Create(410, 1032.678, 741.7072, 9.8044)
Car.LockDoors(223@, CarLock.Locked)
Car.PopBoot(223@)
Car.SetHeading(223@, 292.6477)
224@ = Char.Create(PedType.CivMale, 117, 1029.173, 740.8435, 9.8018)
Char.SetHeading(224@, 63.6493)
gosub @CASINO2_18043
World.ClearArea(1032.678, 741.7072, 9.8044, 10.0, True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO2_19400
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1028.168, 741.3518, 9.7989)
goto @CASINO2_19420

:CASINO2_19400
Char.SetCoordinates($stattreadstamina_ctr, 1028.168, 741.3518, 9.7989)

:CASINO2_19420
if 
  not Char.IsDead(224@)
goto_if_false @CASINO2_19466
Char.SetCoordinates(224@, 1029.173, 740.8435, 9.8018)
Char.SetHeading(224@, 63.6493)

:CASINO2_19466
Char.SetHeading($stattreadstamina_ctr, 232.6414)
Streaming.RequestAnimation("CARRY")

:CASINO2_19485
if 
  not Streaming.HasAnimationLoaded("CARRY")
goto_if_false @CASINO2_19516
wait 0
goto @CASINO2_19485

:CASINO2_19516
228@ = Object.Create(#DYNAMITE, 1028.935, 741.1799, 9.8005)
Object.SetHeading(228@, 90.0)
Object.SetCollision(228@, False)
229@ = Object.Create(#DYNAMITE, 1028.935, 741.0, 9.8005)
Object.SetCollision(229@, False)
230@ = Object.Create(#DYNAMITE, 1028.935, 741.0, 9.8005)
Object.SetCollision(230@, False)
Object.AttachToObject(229@, 228@, 0.2, 0.0, -0.2, 0.0, 90.0, 40.0)
Object.AttachToObject(230@, 228@, 0.3, 0.0, 0.0, 0.0, 45.0, 60.0)
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Char.IsDead(224@)
goto_if_false @CASINO2_19721
Task.ComplexPickupObject(224@, 228@)

:CASINO2_19721
gosub @CASINO2_17995
Camera.SetFixedPosition(1026.36, 737.9733, 11.3745, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1026.991, 738.7281, 11.1933, SwitchType.JumpCut)
gosub @CASINO2_18078
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO2_19838
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 1.0, False, False, False, False, -1)

:CASINO2_19838
Text.PrintNow('PD_32', 4000, 1)
wait 1000
TIMERA = 0

:CASINO2_19866
if 
  3000 > TIMERA
goto_if_false @CASINO2_19920
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_19913
goto @CASINO2_20234

:CASINO2_19913
goto @CASINO2_19866

:CASINO2_19920
gosub @CASINO2_18043
if 
  not Car.IsDead(223@)
goto_if_false @CASINO2_19948
Car.Delete(223@)

:CASINO2_19948
223@ = Car.Create(410, 1032.678, 741.7072, 9.8044)
Camera.SetFixedPosition(1020.499, 740.7717, 14.7072, 0.0, 0.0, 0.0)
if 
  not Car.IsDead(223@)
goto_if_false @CASINO2_20028
Camera.PointAtCar(223@, CameraMode.Fixed, SwitchType.JumpCut)

:CASINO2_20028
if or
  not Char.IsDead(224@)
  not Car.IsDead(223@)
goto_if_false @CASINO2_20106
Object.Delete(228@)
Object.Delete(229@)
Object.Delete(230@)
Char.WarpIntoCar(224@, 223@)
Task.CarDriveToCoord(224@, 223@, 1065.901, 775.0016, 9.8227, 25.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:CASINO2_20106
TIMERA = 0

:CASINO2_20113
if 
  10 > TIMERA
goto_if_false @CASINO2_20166
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_20159
goto @CASINO2_15405

:CASINO2_20159
goto @CASINO2_20113

:CASINO2_20166
gosub @CASINO2_18078
TIMERA = 0

:CASINO2_20180
if 
  2000 > TIMERA
goto_if_false @CASINO2_20234
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO2_20227
goto @CASINO2_15405

:CASINO2_20227
goto @CASINO2_20180

:CASINO2_20234
if 
  not Char.IsDead(224@)
goto_if_false @CASINO2_20255
Char.Delete(224@)

:CASINO2_20255
if 
  not Car.IsDead(223@)
goto_if_false @CASINO2_20276
Car.Delete(223@)

:CASINO2_20276
gosub @CASINO2_18017

:CASINO2_20283
return 

:CASINO2_20285
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 247@)
246@ = 0
return 

:CASINO2_20305
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  246@ == 0
goto_if_false @CASINO2_20373
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
if 
  not is_lvar_text_label_equal_to_text_label 264@s == 'DUMMY'
goto_if_false @CASINO2_20366
Text.PrintNow(264@s, 10000, 1)

:CASINO2_20366
246@ = 1

:CASINO2_20373
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  246@ == 1
goto_if_false @CASINO2_20411
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(264@s)
246@ = 2

:CASINO2_20411
return 

:CASINO2_20413
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 261@)
262@ = 0
return 

:CASINO2_20433
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
  262@ == 0
goto_if_false @CASINO2_20485
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot3, 591.091, 877.4084, -43.4973)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
262@ = 1

:CASINO2_20485
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
  262@ == 1
goto_if_false @CASINO2_20518
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
262@ = 2

:CASINO2_20518
return 

//-------------Mission 86---------------
// Originally: You've Had Your Chips

:CASINO3
script_name 'CASINO3'
gosub @CASINO3_47
if 
  has_deatharrest_been_executed 
goto_if_false @CASINO3_38
gosub @CASINO3_14111

:CASINO3_38
gosub @CASINO3_14221
terminate_this_script 

:CASINO3_47
Stat.RegisterMissionGiven
Text.LoadMissionText('CASINO3')
$weapon_shop1_blip = 1
wait 0
Streaming.SetAreaVisible(11)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2016.422, 1017.102, 10.0)
Char.SetCoordinates($stattreadstamina_ctr, 2027.391, 1008.087, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 297.1696)
Cutscene.Load('CAS_3')

:CASINO3_136
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO3_160
wait 0
goto @CASINO3_136

:CASINO3_160
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASINO3_169
if 
  not Cutscene.HasFinished
goto_if_false @CASINO3_193
wait 0
goto @CASINO3_169

:CASINO3_193
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASINO3_206
if 
  Camera.GetFadingStatus
goto_if_false @CASINO3_230
wait 0
goto @CASINO3_206

:CASINO3_230
Cutscene.Clear
Streaming.SetAreaVisible(0)
73@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
wait 0
Camera.SetFadingColor(0, 0, 0)
Streaming.RequestModel(401)
Streaming.RequestModel(445)
Streaming.RequestModel(50)
Streaming.RequestModel(50)
Streaming.RequestModel(336)
Streaming.RequestModel(346)
Streaming.RequestModel(351)
Streaming.RequestModel(352)
Streaming.RequestModel(124)
Streaming.RequestModel(125)
Streaming.RequestModel(126)
Streaming.RequestModel(127)
Streaming.RequestModel(530)
Streaming.LoadAllModelsNow

:CASINO3_316
if or
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(401)
goto_if_false @CASINO3_348
wait 0
goto @CASINO3_316

:CASINO3_348
if or
  not Streaming.HasModelLoaded(50)
  not Streaming.HasModelLoaded(124)
  not Streaming.HasModelLoaded(125)
  not Streaming.HasModelLoaded(351)
  not Streaming.HasModelLoaded(352)
goto_if_false @CASINO3_392
wait 0
goto @CASINO3_348

:CASINO3_392
if or
  not Streaming.HasModelLoaded(530)
  not Streaming.HasModelLoaded(127)
  not Streaming.HasModelLoaded(127)
goto_if_false @CASINO3_427
wait 0
goto @CASINO3_392

:CASINO3_427
if or
  not Streaming.HasModelLoaded(50)
  not Streaming.HasModelLoaded(336)
  not Streaming.HasModelLoaded(445)
goto_if_false @CASINO3_463
wait 0
goto @CASINO3_427

:CASINO3_463
Streaming.LoadScene(2031.168, 1030.918, 9.813)
51@ = 99
186@ = 0
187@ = 0
36@ = 0
53@ = 5
54@ = 0
55@ = 0
117@ = 0
142@ = 0
143@ = 0
56@ = 0
144@ = 0
145@ = 0
146@ = 0
147@ = 1
141@ = 0
91@ = 0
93@ = 0
94@ = 0
118@ = 0
149@ = 0
151@ = 0
152@ = 0
153@ = 0
155@ = 0
154@ = 0
156@ = 0
36@ = 0
157@ = 0
122@ = 0
124@ = 0
169@ = 0
170@ = 0
247@ = 0
171@ = 1
238@ = 1
239@ = 2
240@ = 0
241@ = 1
242@ = 0
243@ = 0
set_lvar_text_label 195@s = 'CAS3_AA'
set_lvar_text_label 197@s = 'CAS3_AB'
set_lvar_text_label 199@s = 'CAS3_AC'
set_lvar_text_label 201@s = 'CAS3_AD'
set_lvar_text_label 203@s = 'CAS3_BA'
set_lvar_text_label 205@s = 'CAS3_BB'
set_lvar_text_label 207@s = 'CAS3_BC'
set_lvar_text_label 209@s = 'CAS3_BD'
set_lvar_text_label 211@s = 'CAS3_BE'
set_lvar_text_label 213@s = 'CAS3_CA'
set_lvar_text_label 215@s = 'CAS3_CB'
set_lvar_text_label 217@s = 'CAS3_CC'
set_lvar_int_to_constant 224@ = 7600
set_lvar_int_to_constant 225@ = 7601
set_lvar_int_to_constant 226@ = 7602
set_lvar_int_to_constant 227@ = 7603
set_lvar_int_to_constant 228@ = 7604
set_lvar_int_to_constant 229@ = 7605
set_lvar_int_to_constant 230@ = 7606
set_lvar_int_to_constant 231@ = 7607
set_lvar_int_to_constant 232@ = 7608
set_lvar_int_to_constant 233@ = 7609
set_lvar_int_to_constant 234@ = 7610
set_lvar_int_to_constant 235@ = 7611
34@ = Game.GetMaxWantedLevel()
if 
  55@ == -13
goto_if_false @CASINO3_1077
179@ = Car.Create(445, 1029.856, 2142.858, 9.813)

:CASINO3_1077
Object.SetCollision($2662, True)
57@ = Car.Create(401, 2014.72, 1035.238, 9.8127)
Car.SetHeading(57@, 1.0755)
Car.ChangeColor(57@, 10, 2)
58@ = Car.Create(445, 1044.271, 2096.714, 9.813)
Car.SetProofs(58@, False, False, True, False, False)
Car.SetHeading(58@, 27.1148)
Car.ChangeColor(58@, 2, 1)
60@ = Car.Create(530, 1063.887, 2134.724, 9.8203)
Car.SetHeading(60@, 252.0755)
61@ = Car.Create(530, 1060.146, 2083.986, 9.8203)
Car.SetHeading(61@, 233.609)
76@ = Char.CreateInsideCar(61@, PedType.CivMale, 50)
Char.GiveWeapon(76@, WeaponType.MicroUzi, 2000)
Char.SetCanBeShotInVehicle(76@, True)
Streaming.MarkModelAsNoLongerNeeded(401)
Streaming.MarkModelAsNoLongerNeeded(530)
71@ = Char.CreateInsideCar(58@, PedType.Mission1, 124)
Char.GiveWeapon(71@, WeaponType.Pistol, 2000)
Char.SetHeading(71@, 56.724)
Char.SetDecisionMaker(71@, 73@)
Char.SetCanBeShotInVehicle(71@, False)
72@ = Char.CreateAsPassenger(58@, PedType.Mission1, 125, 0)
Char.GiveWeapon(72@, WeaponType.Pistol, 2000)
Char.SetHeading(72@, 148.026)
Char.SetDecisionMaker(72@, 73@)
Char.SetCanBeShotInVehicle(72@, False)
81@ = Char.Create(PedType.Mission1, 127, 1064.213, 2140.694, 9.8203)
Char.GiveWeapon(81@, WeaponType.MicroUzi, 2000)
Char.SetHeading(81@, 156.0958)
Char.SetDecisionMaker(81@, 73@)
82@ = Char.Create(PedType.Mission1, 125, 1093.068, 2107.341, 9.8203)
Char.GiveWeapon(82@, WeaponType.Pistol, 2000)
Char.SetHeading(82@, 115.2591)
Char.SetDecisionMaker(82@, 73@)
83@ = Char.Create(PedType.Mission1, 124, 1092.082, 2116.792, 14.3504)
Char.GiveWeapon(83@, WeaponType.Pistol, 2000)
Char.SetHeading(83@, 115.409)
Char.SetDecisionMaker(83@, 73@)
80@ = Char.Create(PedType.Mission1, 126, 1083.688, 2121.599, 14.3504)
Char.GiveWeapon(80@, WeaponType.Spas12, 2000)
Char.SetDecisionMaker(80@, 73@)
Char.AddArmor(80@, 50)
Char.SetHeading(80@, 115.6952)
74@ = Char.Create(PedType.Mission1, 50, 1056.655, 2108.551, 9.8203)
Char.SetHeading(74@, 186.9465)
Char.SetDecisionMaker(74@, 73@)
Char.SetCanBeShotInVehicle(74@, True)
75@ = Char.Create(PedType.Mission1, 50, 1092.607, 2116.912, 9.8203)
Char.SetHeading(75@, 116.0465)
Char.SetDecisionMaker(75@, 73@)
Char.SetCanBeShotInVehicle(75@, True)
257@ = Object.CreateNoOffset(#CJ_CHIP_MAKER_BITS, 1074.903, 2139.611, 10.7203)
Object.SetProofs(257@, True, True, True, True, True)
266@ = Object.CreateNoOffset(#CJ_CHIP_MAKER, 1074.903, 2139.611, 10.7203)
Object.SetCollision(257@, True)
Object.SetRotation(257@, 0.0, 0.0, 180.0)
Object.SetRotation(266@, 0.0, 0.0, 180.0)
258@ = Object.CreateNoOffset(#CJ_CHIP_MAKER_BITS, 1069.485, 2139.611, 10.7203)
Object.SetProofs(258@, True, True, True, True, True)
267@ = Object.CreateNoOffset(#CJ_CHIP_MAKER, 1069.485, 2139.611, 10.7203)
Object.SetCollision(258@, True)
Object.SetRotation(258@, 0.0, 0.0, 180.0)
Object.SetRotation(267@, 0.0, 0.0, 180.0)
259@ = Object.CreateNoOffset(#CJ_CHIP_MAKER_BITS, 1062.456, 2139.611, 10.7203)
Object.SetProofs(259@, True, True, True, True, True)
268@ = Object.CreateNoOffset(#CJ_CHIP_MAKER, 1062.456, 2139.611, 10.7203)
Object.SetCollision(259@, True)
Object.SetRotation(259@, 0.0, 0.0, 180.0)
Object.SetRotation(268@, 0.0, 0.0, 180.0)
260@ = Object.CreateNoOffset(#CJ_CHIP_MAKER_BITS, 1081.268, 2123.686, 10.7203)
Object.SetProofs(260@, True, True, True, True, True)
269@ = Object.CreateNoOffset(#CJ_CHIP_MAKER, 1081.268, 2123.686, 10.7203)
Object.SetRotation(260@, 0.0, 0.0, 90.0)
Object.SetRotation(269@, 0.0, 0.0, 90.0)
Object.SetCollision(260@, True)
261@ = Object.CreateNoOffset(#CJ_CHIP_MAKER_BITS, 1081.236, 2130.681, 10.7203)
Object.SetProofs(261@, True, True, True, True, True)
270@ = Object.CreateNoOffset(#CJ_CHIP_MAKER, 1081.236, 2130.681, 10.7203)
Object.SetRotation(261@, 0.0, 0.0, 90.0)
Object.SetRotation(270@, 0.0, 0.0, 90.0)
Object.SetCollision(261@, True)
262@ = Object.CreateNoOffset(#CJ_CHIP_MAKER_BITS, 1086.855, 2077.532, 10.7203)
Object.SetProofs(262@, True, True, True, True, True)
271@ = Object.CreateNoOffset(#CJ_CHIP_MAKER, 1086.855, 2077.532, 10.7203)
Object.SetCollision(262@, True)
263@ = Object.CreateNoOffset(#CJ_CHIP_MAKER_BITS, 1091.818, 2121.257, 10.7203)
Object.SetProofs(263@, True, True, True, True, True)
272@ = Object.CreateNoOffset(#CJ_CHIP_MAKER, 1091.818, 2121.257, 10.7203)
Object.SetRotation(263@, 0.0, 0.0, 180.0)
Object.SetRotation(272@, 0.0, 0.0, 180.0)
Object.SetCollision(263@, True)
264@ = Object.CreateNoOffset(#CJ_CHIP_MAKER_BITS, 1094.163, 2102.352, 10.7203)
Object.SetProofs(264@, True, True, True, True, True)
273@ = Object.CreateNoOffset(#CJ_CHIP_MAKER, 1094.163, 2102.352, 10.7203)
Object.SetRotation(264@, 0.0, 0.0, 90.0)
Object.SetRotation(273@, 0.0, 0.0, 90.0)
Object.SetCollision(264@, True)
265@ = Object.CreateNoOffset(#CJ_CHIP_MAKER_BITS, 1094.163, 2092.352, 10.7203)
Object.SetProofs(265@, True, True, True, True, True)
274@ = Object.CreateNoOffset(#CJ_CHIP_MAKER, 1094.163, 2092.352, 10.7203)
Object.SetRotation(265@, 0.0, 0.0, 90.0)
Object.SetRotation(274@, 0.0, 0.0, 90.0)
Object.SetCollision(265@, True)
284@ = 0

:CASINO3_2636
if 
  9 > 284@
goto_if_false @CASINO3_2691
275@(284@,9i) = 0
Object.SetHealth(257@(284@,9i), 1000)
284@ += 1
goto @CASINO3_2636

:CASINO3_2691
106@ = Object.CreateNoOffset(#KMB_CONTAINER_RED, 1023.181, 2106.604, 14.7301)
Object.SetRotation(106@, 0.0, 0.0, 0.0)
107@ = Object.CreateNoOffset(#KMB_CONTAINER_RED, 1077.014, 2070.743, 14.7635)
Object.SetRotation(107@, 0.0, 0.0, 0.0)
139@ = 0.0
140@ = 0.0
37@ = Blip.AddForCoord(1057.636, 2089.694, 9.8203)
Streaming.LoadScene(2031.168, 1030.918, 9.813)
Streaming.RequestCollision(2031.168, 1030.918)
Hud.DisplayZoneNames(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
wait 1000
Camera.DoFade(1000, Fade.In)

:CASINO3_2866
if 
  Camera.GetFadingStatus
goto_if_false @CASINO3_2890
wait 0
goto @CASINO3_2866

:CASINO3_2890
Text.PrintNow('CA3_1', 10000, 1)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.DisplayZoneNames(True)

:CASINO3_2921
wait 0
if 
  Object.DoesExist($frontdoorl_a51)
goto_if_false @CASINO3_2961
Object.SetCoordinates($frontdoorl_a51, 1055.629, 2087.67, 0.299)

:CASINO3_2961
if 
  240@ <> 0
goto_if_false @CASINO3_3314
if 
  242@ == 0
goto_if_false @CASINO3_3032
if 
  Audio.HasMissionAudioLoaded(239@)
goto_if_false @CASINO3_3018
Audio.ClearMissionAudio(239@)

:CASINO3_3018
242@ = 1
243@ = 1

:CASINO3_3032
if 
  242@ == 1
goto_if_false @CASINO3_3069
Audio.LoadMissionAudio(238@, 223@(240@,15i))
242@ = 2

:CASINO3_3069
if 
  242@ == 2
goto_if_false @CASINO3_3129
if 
  Audio.HasMissionAudioLoaded(238@)
goto_if_false @CASINO3_3129
Audio.PlayMissionAudio(238@)
Text.PrintNow(193@(240@,15s), 10000, 1)
242@ = 3

:CASINO3_3129
if 
  242@ == 3
goto_if_false @CASINO3_3314
if 
  Audio.HasMissionAudioFinished(238@)
goto_if_false @CASINO3_3253
Text.ClearThisPrint(193@(240@,15s))
if 
  238@ == 1
goto_if_false @CASINO3_3211
238@ = 2
239@ = 1
goto @CASINO3_3225

:CASINO3_3211
238@ = 1
239@ = 2

:CASINO3_3225
240@ = 0
242@ = 0
243@ = 0
goto @CASINO3_3314

:CASINO3_3253
if 
  not Audio.HasMissionAudioLoaded(239@)
goto_if_false @CASINO3_3314
if 
  10 > 240@
goto_if_false @CASINO3_3314
set_lvar_int_to_lvar_int 241@ = 240@
241@ += 1
Audio.LoadMissionAudio(239@, 223@(241@,15i))

:CASINO3_3314
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CASINO3_3336
goto @CASINO3_14129

:CASINO3_3336
Object.SetRotation(106@, 0.0, 0.0, 139@)
if 
  36@ <> 1
goto_if_false @CASINO3_3382
139@ += 0.2

:CASINO3_3382
if 
  36@ == 1
goto_if_false @CASINO3_3410
139@ += 0.4

:CASINO3_3410
if 
  139@ > 359.0
goto_if_false @CASINO3_3441
139@ = 0.0

:CASINO3_3441
Object.SetRotation(107@, 0.0, 0.0, 140@)
140@ += 0.25
if 
  140@ > 359.0
goto_if_false @CASINO3_3500
140@ = 0.0

:CASINO3_3500
if 
  36@ == 1
goto_if_false @CASINO3_3595
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO3_3595

:CASINO3_3535
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO3_3563
wait 0
goto @CASINO3_3535

:CASINO3_3563
if 
  150@ > 1
goto_if_false @CASINO3_3595
150@ = 10
36@ = 0

:CASINO3_3595
if 
is_ps2_keyboard_key_pressed 87
goto_if_false @CASINO3_3642
Char.SetCoordinates($stattreadstamina_ctr, 1002.171, 2079.443, 9.8203)
Camera.SetBehindPlayer
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Spas12, 2000)

:CASINO3_3642
if 
  155@ == 1
goto_if_false @CASINO3_3719
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO3_3719

:CASINO3_3677
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO3_3705
wait 0
goto @CASINO3_3677

:CASINO3_3705
153@ = 5
155@ = 0

:CASINO3_3719
if 
  156@ == 1
goto_if_false @CASINO3_3796
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO3_3796

:CASINO3_3754
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO3_3782
wait 0
goto @CASINO3_3754

:CASINO3_3782
154@ = 5
156@ = 0

:CASINO3_3796
if 
  157@ == 1
goto_if_false @CASINO3_3873
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO3_3873

:CASINO3_3831
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CASINO3_3859
wait 0
goto @CASINO3_3831

:CASINO3_3859
55@ = 40
157@ = 0

:CASINO3_3873
if 
  171@ == 1
goto_if_false @CASINO3_3938
if 
  $2005 == 1
goto_if_false @CASINO3_3938
Skip.SetUp(1009.683, 1987.64, 9.6796, 1.816)
171@ = 0

:CASINO3_3938
if 
  53@ == 5
goto_if_false @CASINO3_4110
if 
  not Char.IsDead(71@)
goto_if_false @CASINO3_4053
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 71@, 100.0, 100.0, False)
goto_if_false @CASINO3_4053
Skip.Clear
171@ = 0
Text.ClearPrints
Text.PrintNow('CA3_2', 6000, 1)
53@ = 10
34@ = Game.GetMaxWantedLevel()
Game.SetMaxWantedLevel(0)
$2005 = 1

:CASINO3_4053
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1009.683, 1987.64, 9.6796, 25.0, 25.0, 5.0, False)
goto_if_false @CASINO3_4110
Skip.Clear
171@ = 0

:CASINO3_4110
if 
  53@ == 10
goto_if_false @CASINO3_4358
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 1048.428, 2093.521, 1048.822, 2081.844, 15.0, False)
goto_if_false @CASINO3_4185
55@ = 1
53@ = 99

:CASINO3_4185
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 1055.174, 2064.71, 1054.835, 21099.81, 15.0, False)
goto_if_false @CASINO3_4258
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @CASINO3_4258
170@ = 1
TIMERB = 0

:CASINO3_4258
if 
  Char.DoesExist(76@)
goto_if_false @CASINO3_4307
if 
  Char.HasBeenDamagedByChar(76@, $stattreadstamina_ctr)
goto_if_false @CASINO3_4307
55@ = 1
53@ = 99

:CASINO3_4307
if 
  170@ == 1
goto_if_false @CASINO3_4358
if 
  TIMERB > 500
goto_if_false @CASINO3_4358
55@ = 1
53@ = 99

:CASINO3_4358
if 
  55@ == 0
goto_if_false @CASINO3_4729
if 
  0 > 53@
goto_if_false @CASINO3_4729
if 
  151@ == 0
goto_if_false @CASINO3_4485
if 
  not Char.IsDead(76@)
goto_if_false @CASINO3_4485
if 
  not Car.IsDead(61@)
goto_if_false @CASINO3_4485
Task.CarDriveToCoord(76@, 61@, 1030.442, 2106.319, 9.8203, 10.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
151@ = 1

:CASINO3_4485
if 
  151@ == 1
goto_if_false @CASINO3_4624
if 
  not Char.IsDead(76@)
goto_if_false @CASINO3_4624
if 
  not Car.IsDead(61@)
goto_if_false @CASINO3_4624
if 
  Car.Locate3D(61@, 1030.442, 2106.319, 9.8203, 3.0, 3.0, 3.0, False)
goto_if_false @CASINO3_4624
151@ = 2
Task.CarDriveToCoord(76@, 61@, 1060.146, 2084.986, 9.8203, 10.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)

:CASINO3_4624
if 
  151@ == 2
goto_if_false @CASINO3_4729
if 
  not Char.IsDead(76@)
goto_if_false @CASINO3_4729
if 
  not Car.IsDead(61@)
goto_if_false @CASINO3_4729
if 
  Car.Locate3D(61@, 1060.146, 2084.986, 9.8203, 5.0, 5.0, 3.0, False)
goto_if_false @CASINO3_4729
151@ = 0

:CASINO3_4729
if 
  55@ == 1
goto_if_false @CASINO3_6971
if 
  149@ == 0
goto_if_false @CASINO3_5875
if 
  153@ == 0
goto_if_false @CASINO3_5210
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Camera.DoFade(500, Fade.Out)

:CASINO3_4804
if 
  Camera.GetFadingStatus
goto_if_false @CASINO3_4828
wait 0
goto @CASINO3_4804

:CASINO3_4828
89@ = Char.Create(PedType.Mission1, 127, 1083.01, 2099.131, 14.3504)
Char.SetHeading(89@, 186.4201)
Char.GiveWeapon(89@, WeaponType.Pistol, 2000)
Char.SetDecisionMaker(89@, 73@)
87@ = Char.Create(PedType.Mission1, 124, 1084.281, 2097.948, 14.3504)
Char.SetHeading(87@, 153.4201)
Char.GiveWeapon(87@, WeaponType.Pistol, 2000)
Char.SetDecisionMaker(87@, 73@)
Char.SetCoordinates($stattreadstamina_ctr, 1050.532, 2087.933, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 282.0)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1088.848, 2094.239, 17.2308, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1087.869, 2094.222, 17.0277, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:CASINO3_5024
if 
  Camera.GetFadingStatus
goto_if_false @CASINO3_5048
wait 0
goto @CASINO3_5024

:CASINO3_5048
TIMERA = 0
153@ = 1
if 
  not Char.IsDead(89@)
goto_if_false @CASINO3_5106
Path.FlushRoute
Path.ExtendRoute(1083.361, 2093.45, 14.3504)
Task.FollowPointRoute(89@, 4, RouteMode.Once)

:CASINO3_5106
if 
  not Char.IsDead(87@)
goto_if_false @CASINO3_5150
Path.FlushRoute
Path.ExtendRoute(1084.752, 2093.208, 14.3504)
Task.FollowPointRoute(87@, 4, RouteMode.Once)

:CASINO3_5150
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO3_5210
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO3_5210
Path.FlushRoute
Path.ExtendRoute(1057.532, 2087.933, 9.8203)
Task.FollowPointRoute($stattreadstamina_ctr, 4, RouteMode.Once)

:CASINO3_5210
if 
  153@ == 1
goto_if_false @CASINO3_5360
if 
  TIMERA > 1000
goto_if_false @CASINO3_5254
155@ = 1

:CASINO3_5254
if 
  TIMERA > 3000
goto_if_false @CASINO3_5360
240@ = 8
if 
  not Char.IsDead(89@)
goto_if_false @CASINO3_5309
Char.ClearTasks(89@)
Task.TurnCharToFaceChar(89@, $stattreadstamina_ctr)

:CASINO3_5309
if 
  not Char.IsDead(87@)
goto_if_false @CASINO3_5353
Path.FlushRoute
Path.ExtendRoute(1082.375, 2090.25, 14.35044)
Task.FollowPointRoute(87@, 4, RouteMode.Once)

:CASINO3_5353
153@ = 2

:CASINO3_5360
if 
  153@ == 2
goto_if_false @CASINO3_5565
if 
  TIMERA > 6000
goto_if_false @CASINO3_5565
240@ = 9
if 
  not Char.IsDead(89@)
goto_if_false @CASINO3_5453
Char.ClearTasks(89@)
Path.FlushRoute
Path.ExtendRoute(1088.526, 2112.616, 14.3504)
Task.FollowPointRoute(89@, 6, RouteMode.Once)

:CASINO3_5453
if 
  not Char.IsDead(76@)
goto_if_false @CASINO3_5519
if 
  not Car.IsDead(61@)
goto_if_false @CASINO3_5519
Task.CarDriveToCoord(76@, 61@, 1076.809, 2080.526, 9.8203, 9.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)

:CASINO3_5519
if 
  not Char.IsDead(87@)
goto_if_false @CASINO3_5551
Char.ClearTasks(87@)
Task.AimGunAtChar(87@, $stattreadstamina_ctr, 4000)

:CASINO3_5551
153@ = 3
TIMERA = 0

:CASINO3_5565
if 
  153@ == 3
goto_if_false @CASINO3_5687
if 
  TIMERA > 2000
goto_if_false @CASINO3_5687
153@ = 5
155@ = 0
if 
  not Char.IsDead(76@)
goto_if_false @CASINO3_5687
Char.ClearTasks(76@)
167@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 1088.783, 2077.573, 9.8203, MoveState.Run, -1)
Sequence.Close(167@)
Char.PerformSequence(76@, 167@)
Sequence.Clear(167@)

:CASINO3_5687
if 
  153@ == 5
goto_if_false @CASINO3_5875
Hud.SwitchWidescreen(False)
if 
  not Char.IsDead(76@)
goto_if_false @CASINO3_5761
if 
  Char.IsSittingInAnyCar(76@)
goto_if_false @CASINO3_5761
Char.WarpFromCarToCoord(76@, 1088.783, 2077.573, 9.8203)

:CASINO3_5761
if 
  not Car.IsDead(61@)
goto_if_false @CASINO3_5807
Car.SetCoordinates(61@, 1076.809, 2080.526, 9.8203)
Car.SetHeading(61@, 273.0)

:CASINO3_5807
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Char.ClearTasks($stattreadstamina_ctr)
if 
  not Car.IsDead(58@)
goto_if_false @CASINO3_5847
Car.SetProofs(58@, False, False, False, False, False)

:CASINO3_5847
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
55@ = 2
141@ = 1

:CASINO3_5875
if 
  149@ > 0
goto_if_false @CASINO3_6971
if 
  154@ == 0
goto_if_false @CASINO3_6264
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:CASINO3_5932
if 
  Camera.GetFadingStatus
goto_if_false @CASINO3_5956
wait 0
goto @CASINO3_5932

:CASINO3_5956
Char.SetCoordinates($stattreadstamina_ctr, 1050.532, 2087.933, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 282.0)
89@ = Char.Create(PedType.Mission1, 127, 1086.869, 2078.61, 14.3504)
Char.SetHeading(89@, 86.4201)
Char.GiveWeapon(89@, WeaponType.Pistol, 2000)
Char.SetDecisionMaker(89@, 73@)
87@ = Char.Create(PedType.Mission1, 124, 1086.42, 2077.292, 14.3504)
Char.SetHeading(87@, 74.4201)
Char.GiveWeapon(87@, WeaponType.Pistol, 2000)
Char.SetDecisionMaker(87@, 73@)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1075.725, 2094.545, 18.0271, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1074.852, 2094.529, 17.5392, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:CASINO3_6159
if 
  Camera.GetFadingStatus
goto_if_false @CASINO3_6183
wait 0
goto @CASINO3_6159

:CASINO3_6183
TIMERA = 0
154@ = 1
240@ = 7
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASINO3_6264
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO3_6264
Path.FlushRoute
Path.ExtendRoute(1057.532, 2087.933, 9.8203)
Task.FollowPointRoute($stattreadstamina_ctr, 4, RouteMode.Once)

:CASINO3_6264
if 
  154@ == 1
goto_if_false @CASINO3_6620
if 
  TIMERA > 300
goto_if_false @CASINO3_6580
if 
  169@ == 0
goto_if_false @CASINO3_6580
if 
  not Char.IsDead(87@)
goto_if_false @CASINO3_6390
Char.ClearTasks(87@)
Task.GoToCoordWhileAiming(87@, 1079.871, 2079.303, 14.3516, 4, 0.5, 0.5, $stattreadstamina_ctr, 0.0, 0.0, 0.0)

:CASINO3_6390
if 
  not Char.IsDead(76@)
goto_if_false @CASINO3_6456
if 
  not Car.IsDead(61@)
goto_if_false @CASINO3_6456
Task.CarDriveToCoord(76@, 61@, 1076.809, 2080.526, 9.8203, 9.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)

:CASINO3_6456
if 
  not Char.IsDead(71@)
goto_if_false @CASINO3_6536
Char.ClearTasks(71@)
168@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1064.677, 2094.79, 13.6896, MoveState.Run, -1)
Task.ToggleDuck(-1, True)
Sequence.Close(168@)
Char.PerformSequence(71@, 168@)
Sequence.Clear(168@)
Task.StayInSamePlace(71@, True)

:CASINO3_6536
if 
  not Char.IsDead(72@)
goto_if_false @CASINO3_6566
Task.ToggleDuck(72@, True)
Task.StayInSamePlace(72@, True)

:CASINO3_6566
156@ = 1
169@ = 1

:CASINO3_6580
if 
  TIMERA > 4000
goto_if_false @CASINO3_6620
240@ = 6
154@ = 3
TIMERA = 0

:CASINO3_6620
if 
  154@ == 3
goto_if_false @CASINO3_6742
if 
  TIMERA > 3000
goto_if_false @CASINO3_6742
154@ = 5
156@ = 0
if 
  not Char.IsDead(76@)
goto_if_false @CASINO3_6742
Char.ClearTasks(76@)
167@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 1088.783, 2077.573, 9.8203, MoveState.Run, -1)
Sequence.Close(167@)
Char.PerformSequence(76@, 167@)
Sequence.Clear(167@)

:CASINO3_6742
if 
  154@ == 5
goto_if_false @CASINO3_6971
Hud.SwitchWidescreen(False)
if 
  not Char.IsDead(87@)
goto_if_false @CASINO3_6805
Char.ClearTasks(87@)
Char.SetCoordinates(87@, 1079.871, 2079.303, 14.3516)

:CASINO3_6805
if 
  not Char.IsDead(76@)
goto_if_false @CASINO3_6857
if 
  Char.IsSittingInAnyCar(76@)
goto_if_false @CASINO3_6857
Char.WarpFromCarToCoord(76@, 1088.783, 2077.573, 9.8203)

:CASINO3_6857
if 
  not Car.IsDead(61@)
goto_if_false @CASINO3_6903
Car.SetCoordinates(61@, 1076.809, 2080.526, 9.8203)
Car.SetHeading(61@, 273.0)

:CASINO3_6903
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Char.ClearTasks($stattreadstamina_ctr)
if 
  not Car.IsDead(58@)
goto_if_false @CASINO3_6943
Car.SetProofs(58@, False, False, False, False, False)

:CASINO3_6943
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
55@ = 2
141@ = 1

:CASINO3_6971
if 
  55@ == 2
goto_if_false @CASINO3_7231
Blip.Remove(37@)
284@ = 0

:CASINO3_7001
if 
  9 > 284@
goto_if_false @CASINO3_7113
275@(284@,9i) = 0
40@(284@,11i) = Blip.AddForObject(257@(284@,9i))
Object.SetProofs(257@(284@,9i), False, False, False, False, False)
Blip.ChangeScale(40@(284@,11i), 2)
Object.SetHealth(257@(284@,9i), 1000)
Object.MakeTargetable(257@(284@,9i), True)
284@ += 1
goto @CASINO3_7001

:CASINO3_7113
Text.ClearPrints
Text.PrintNow('CA3_7', 6000, 1)
if 
  not Char.IsDead(76@)
goto_if_false @CASINO3_7160
Char.ClearTasks(76@)
Task.KillCharOnFoot(76@, $stattreadstamina_ctr)

:CASINO3_7160
if 
  149@ > 0
goto_if_false @CASINO3_7192
gosub @CASINO3_13413
55@ = 4

:CASINO3_7192
if 
  149@ == 0
goto_if_false @CASINO3_7224
gosub @CASINO3_12849
55@ = 4

:CASINO3_7224
gosub @CASINO3_14056

:CASINO3_7231
if 
  55@ == 8
goto_if_false @CASINO3_7360
Text.PrintNow('CA3_23', 6000, 1)
Game.SetMaxWantedLevel(34@)
39@ = Blip.AddForCoord(1918.59, 958.3391, 9.8203)
Blip.ChangeColor(39@, BlipColor.Yellow)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.RequestModel(117)
Streaming.RequestModel(118)
Streaming.RequestModel(421)
55@ = 9

:CASINO3_7325
if or
  not Streaming.HasModelLoaded(117)
  not Streaming.HasModelLoaded(421)
  not Streaming.HasModelLoaded(118)
goto_if_false @CASINO3_7360
wait 0
goto @CASINO3_7325

:CASINO3_7360
if 
  55@ == 9
goto_if_false @CASINO3_7704
35@ = Streaming.GetAreaVisible()
if 
  35@ == 0
goto_if_false @CASINO3_7421
if 
  not Game.IsMinigameInProgress
goto_if_false @CASINO3_7421
Player.SetControl($statbike_temp, True)

:CASINO3_7421
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1918.59, 958.3391, 9.8203, 4.0, 4.0, 2.0, True)
goto_if_false @CASINO3_7704
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO3_7606
Player.SetControl($statbike_temp, False)
if 
  Char.IsStopped($stattreadstamina_ctr)
goto_if_false @CASINO3_7599
69@ = Car.Create(421, 1902.168, 974.9742, 9.8203)
Car.SetHeading(69@, 197.2609)
Car.ChangeColor(69@, 4, 2)
if 
  not Car.IsDead(69@)
goto_if_false @CASINO3_7592
68@ = Char.CreateInsideCar(69@, PedType.Mission2, 117)
67@ = Char.CreateAsPassenger(69@, PedType.Mission2, 118, 1)

:CASINO3_7592
55@ = 15

:CASINO3_7599
goto @CASINO3_7704

:CASINO3_7606
Player.SetControl($statbike_temp, False)
69@ = Car.Create(421, 1902.168, 974.9742, 9.8203)
Car.SetHeading(69@, 197.2609)
Car.ChangeColor(69@, 4, 2)
if 
  not Car.IsDead(69@)
goto_if_false @CASINO3_7697
68@ = Char.CreateInsideCar(69@, PedType.Mission2, 117)
67@ = Char.CreateAsPassenger(69@, PedType.Mission2, 118, 1)

:CASINO3_7697
55@ = 15

:CASINO3_7704
if 
  55@ == 15
goto_if_false @CASINO3_7989
Car.MarkAsNoLongerNeeded(179@)
Car.MarkAsNoLongerNeeded(58@)
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Text.ClearPrints
World.ClearArea(1913.682, 962.0125, 9.8203, 20.0, True)
World.ClearArea(1903.468, 967.1692, 9.8127, 20.0, True)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1922.234, 951.8628, 12.2282, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1921.715, 952.7101, 12.1171, SwitchType.JumpCut)
55@ = 17
TIMERA = 0
Char.ClearTasks($stattreadstamina_ctr)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO3_7943
166@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 1913.682, 962.0125, 9.8203, MoveState.Walk, -1)
Sequence.Close(166@)
Char.PerformSequence($stattreadstamina_ctr, 166@)
Sequence.Clear(166@)
goto @CASINO3_7989

:CASINO3_7943
166@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1913.682, 962.0125, 9.8203, MoveState.Walk, -1)
Sequence.Close(166@)
Char.PerformSequence($stattreadstamina_ctr, 166@)
Sequence.Clear(166@)

:CASINO3_7989
if 
  55@ == 17
goto_if_false @CASINO3_8053
if 
  TIMERA > 1000
goto_if_false @CASINO3_8053
55@ = 20
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1035)

:CASINO3_8053
if 
  55@ == 20
goto_if_false @CASINO3_8356
if 
  not Object.Slide($2662, 1903.383, 967.62, 15.438, 0.0, 0.0, 0.02, False)
goto_if_false @CASINO3_8156
  Object.Slide($2662, 1903.383, 967.62, 15.438, 0.0, 0.0, 0.02, False)

:CASINO3_8156
if 
  TIMERA > 4000
goto_if_false @CASINO3_8356
55@ = 30
if 
  not Char.IsDead(68@)
goto_if_false @CASINO3_8356
if 
  not Car.IsDead(69@)
goto_if_false @CASINO3_8356
Task.CarDriveToCoord(68@, 69@, 1909.04, 959.7415, 9.8203, 7.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
Camera.SetFixedPosition(1914.831, 962.6716, 11.3214, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1913.837, 962.5726, 11.2813, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 1913.682, 962.0125, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 100.3)
TIMERA = 0
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1036)

:CASINO3_8356
if 
  55@ == 30
goto_if_false @CASINO3_8548
if 
  not Car.IsDead(69@)
goto_if_false @CASINO3_8548
if 
  Car.Locate2D(69@, 1909.04, 959.7415, 3.0, 3.0, False)
goto_if_false @CASINO3_8495
55@ = 35
if 
  not Char.IsDead(67@)
goto_if_false @CASINO3_8461
Task.LookAtChar(67@, $stattreadstamina_ctr, -1)

:CASINO3_8461
240@ = 10
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1035)
TIMERA = 0

:CASINO3_8495
if 
  TIMERA > 10000
goto_if_false @CASINO3_8548
55@ = 35
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1035)
TIMERA = 0

:CASINO3_8548
if 
  55@ == 35
goto_if_false @CASINO3_8711
if 
  not Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.02, False)
goto_if_false @CASINO3_8651
  Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.02, False)

:CASINO3_8651
if 
  TIMERA > 3000
goto_if_false @CASINO3_8711
55@ = 36
TIMERA = 0
247@ = 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1036)

:CASINO3_8711
if 
  247@ > 0
goto_if_false @CASINO3_8852
if 
  243@ == 0
goto_if_false @CASINO3_8852
switch_start 247@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @CASINO3_8852 {caseNum1} 1 {caseLabel1} @CASINO3_8810 {caseNum2} 2 {caseLabel2} @CASINO3_8831 {caseNum3} -1 {caseLabel3} @CASINO3_8852 {caseNum4} -1 {caseLabel4} @CASINO3_8852 {caseNum5} -1 {caseLabel5} @CASINO3_8852 {caseNum6} -1 {caseLabel6} @CASINO3_8852 {caseNum7} -1 {caseLabel7} @CASINO3_8852

:CASINO3_8810
240@ = 11
247@ = 2
goto @CASINO3_8852

:CASINO3_8831
240@ = 12
247@ = 0
goto @CASINO3_8852

:CASINO3_8852
if 
  55@ == 36
goto_if_false @CASINO3_9104
if 
  not Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.02, False)
goto_if_false @CASINO3_8955
  Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.02, False)

:CASINO3_8955
if 
  TIMERA > 2000
goto_if_false @CASINO3_9104
if 
  TIMERA > 4000
goto_if_false @CASINO3_9104
if 
  not Car.IsDead(69@)
goto_if_false @CASINO3_9104
if 
  not Char.IsDead(68@)
goto_if_false @CASINO3_9104
Char.ClearTasks(68@)
55@ = 37
Task.CarDriveToCoord(68@, 69@, 1915.04, 940.7415, 9.8203, 10.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
TIMERA = 0
if 
  not Char.IsDead(67@)
goto_if_false @CASINO3_9104
Task.LookAtChar($stattreadstamina_ctr, 67@, -1)

:CASINO3_9104
if 
  55@ == 37
goto_if_false @CASINO3_9233
if 
  not Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.02, False)
goto_if_false @CASINO3_9207
  Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.02, False)

:CASINO3_9207
if 
  TIMERA > 4000
goto_if_false @CASINO3_9233
55@ = 40

:CASINO3_9233
if 
  55@ == 40
goto_if_false @CASINO3_9473
if 
  not Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.02, False)
goto_if_false @CASINO3_9336
  Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.02, False)

:CASINO3_9336
157@ = 0
if 
  not Char.IsDead(67@)
goto_if_false @CASINO3_9369
Char.ClearTasksImmediately(67@)
Char.Delete(67@)

:CASINO3_9369
if 
  not Char.IsDead(68@)
goto_if_false @CASINO3_9395
Char.ClearTasksImmediately(68@)
Char.Delete(68@)

:CASINO3_9395
Car.Delete(69@)
Hud.SwitchWidescreen(False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Object.SetCoordinates($2662, 1903.383, 967.82, 11.438)
Object.SetHeading($2662, 0.0)
55@ = 45
Text.ClearPrints
goto @CASINO3_14129

:CASINO3_9473
if 
  1 > 55@
goto_if_false @CASINO3_10031
if 
  Char.IsInAngledArea2D($stattreadstamina_ctr, 1030.105, 2095.715, 1054.818, 2098.778, 30.0, False)
goto_if_false @CASINO3_9668
if 
  149@ == 0
goto_if_false @CASINO3_9601
if 
  not Char.IsDead(71@)
goto_if_false @CASINO3_9601
if 
  Char.HasSpottedCharInFront(71@, $stattreadstamina_ctr)
goto_if_false @CASINO3_9601
149@ = 1
150@ = 1

:CASINO3_9601
if 
  149@ == 0
goto_if_false @CASINO3_9668
if 
  not Char.IsDead(72@)
goto_if_false @CASINO3_9668
if 
  Char.HasSpottedCharInFront(72@, $stattreadstamina_ctr)
goto_if_false @CASINO3_9668
149@ = 1
150@ = 1

:CASINO3_9668
if 
  149@ == 0
goto_if_false @CASINO3_9735
if 
  Char.DoesExist(71@)
goto_if_false @CASINO3_9735
if 
  Char.HasBeenDamagedByChar(71@, $stattreadstamina_ctr)
goto_if_false @CASINO3_9735
149@ = 1
150@ = 1

:CASINO3_9735
if 
  149@ == 0
goto_if_false @CASINO3_9802
if 
  Char.DoesExist(72@)
goto_if_false @CASINO3_9802
if 
  Char.HasBeenDamagedByChar(72@, $stattreadstamina_ctr)
goto_if_false @CASINO3_9802
149@ = 1
150@ = 1

:CASINO3_9802
if 
  149@ == 0
goto_if_false @CASINO3_9869
if 
  not Car.IsDead(58@)
goto_if_false @CASINO3_9869
if 
  Car.HasBeenDamagedByChar(58@, $stattreadstamina_ctr)
goto_if_false @CASINO3_9869
149@ = 1
150@ = 1

:CASINO3_9869
if 
  149@ == 3
goto_if_false @CASINO3_9950
if 
  Char.DoesExist(71@)
goto_if_false @CASINO3_9950
if 
  Char.HasBeenDamagedByChar(71@, $stattreadstamina_ctr)
goto_if_false @CASINO3_9950
149@ = 4
gosub @CASINO3_12691
55@ = 1
53@ = 99

:CASINO3_9950
if 
  149@ == 3
goto_if_false @CASINO3_10031
if 
  Char.DoesExist(72@)
goto_if_false @CASINO3_10031
if 
  Char.HasBeenDamagedByChar(72@, $stattreadstamina_ctr)
goto_if_false @CASINO3_10031
149@ = 4
gosub @CASINO3_12691
55@ = 1
53@ = 99

:CASINO3_10031
if 
  150@ == 1
goto_if_false @CASINO3_10247
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1039.3, 2100.435, 12.2503, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1040.13, 2099.906, 12.0705, SwitchType.JumpCut)
240@ = 1
if 
  not Char.IsDead(71@)
goto_if_false @CASINO3_10160
if 
  not Char.IsDead(72@)
goto_if_false @CASINO3_10160
Task.LookAtChar(71@, 72@, -1)

:CASINO3_10160
240@ = 1
TIMERB = 0
150@ = 3
if 
  not Char.IsDead(76@)
goto_if_false @CASINO3_10247
if 
  not Car.IsDead(61@)
goto_if_false @CASINO3_10247
Task.CarDriveToCoord(76@, 61@, 1076.804, 2080.491, 9.8203, 9.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)

:CASINO3_10247
if 
  150@ == 3
goto_if_false @CASINO3_10331
if 
  TIMERB > 1000
goto_if_false @CASINO3_10291
36@ = 1

:CASINO3_10291
if 
  TIMERB > 3000
goto_if_false @CASINO3_10331
150@ = 5
240@ = 2
TIMERB = 0

:CASINO3_10331
if 
  150@ == 5
goto_if_false @CASINO3_10451
if 
  not Car.IsDead(58@)
goto_if_false @CASINO3_10451
if 
  not Char.IsDead(71@)
goto_if_false @CASINO3_10437
Char.ClearTasks(71@)
137@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 1062.345, 2087.318, 9.8203, MoveState.Run, 10000)
Sequence.Close(137@)
Char.PerformSequence(71@, 137@)
Sequence.Clear(137@)

:CASINO3_10437
150@ = 6
TIMERB = 0

:CASINO3_10451
if 
  150@ == 6
goto_if_false @CASINO3_10590
if 
  TIMERB > 1000
goto_if_false @CASINO3_10590
if 
  not Car.IsDead(58@)
goto_if_false @CASINO3_10590
if 
  not Char.IsDead(72@)
goto_if_false @CASINO3_10576
Char.ClearTasks(72@)
138@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 1056.874, 2084.136, 9.8203, MoveState.Run, 10000)
Sequence.Close(138@)
Char.PerformSequence(72@, 138@)
Sequence.Clear(138@)

:CASINO3_10576
TIMERB = 0
150@ = 8

:CASINO3_10590
if 
  150@ == 8
goto_if_false @CASINO3_10634
if 
  TIMERB > 3700
goto_if_false @CASINO3_10634
150@ = 10

:CASINO3_10634
if 
  150@ == 10
goto_if_false @CASINO3_10854
Hud.SwitchWidescreen(False)
36@ = 0
Char.SetHeading($stattreadstamina_ctr, 228.0)
if 
  not Char.IsDead(71@)
goto_if_false @CASINO3_10724
Char.ClearTasksImmediately(71@)
Char.SetCoordinates(71@, 1073.558, 2094.413, 13.6896)
Char.SetHeading(71@, 83.0)

:CASINO3_10724
if 
  not Char.IsDead(72@)
goto_if_false @CASINO3_10775
Char.ClearTasksImmediately(72@)
Char.SetCoordinates(72@, 1066.096, 2098.85, 13.7429)
Char.SetHeading(72@, 132.0)

:CASINO3_10775
if 
  not Car.IsDead(61@)
goto_if_false @CASINO3_10811
Car.SetCoordinates(61@, 1076.804, 2080.491, 9.8203)

:CASINO3_10811
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.ClearPrints
Text.PrintNow('CA3_8', 6000, 1)
Player.SetControl($statbike_temp, True)
150@ = 99
149@ = 99

:CASINO3_10854
if 
  141@ == 1
goto_if_false @CASINO3_11401
284@ = 0

:CASINO3_10879
if 
  9 > 284@
goto_if_false @CASINO3_11232
if 
  275@(284@,9i) == 0
goto_if_false @CASINO3_11218
52@ = Object.GetHealth(257@(284@,9i))
if 
  Object.HasBeenDamagedByWeapon(257@(284@,9i), WeaponType.Spas12)
goto_if_false @CASINO3_10960
52@ = 0

:CASINO3_10960
if 
  Object.HasBeenDamagedByWeapon(257@(284@,9i), WeaponType.Shotgun)
goto_if_false @CASINO3_10989
52@ = 0

:CASINO3_10989
if 
  Object.HasBeenDamagedByWeapon(257@(284@,9i), WeaponType.Sawnoff)
goto_if_false @CASINO3_11018
52@ = 0

:CASINO3_11018
if 
  52@ == 0
goto_if_false @CASINO3_11218
125@, 126@, 127@ = Object.GetCoordinates(257@(284@,9i))
248@(284@,9i) = Particle.Create("OVERHEAT_CAR_ELECTRIC", 125@, 126@, 127@, 1)
127@ += 1.0
Fx.AddExplosionVariableShake(125@, 126@, 127@, 11, 1.0)
Object.Break(257@(284@,9i), 1)
Blip.Remove(40@(284@,11i))
Object.MakeTargetable(257@(284@,9i), False)
if 
  51@ <> 99
goto_if_false @CASINO3_11183
Particle.Kill(248@(51@,9i))

:CASINO3_11183
Particle.Play(248@(284@,9i))
set_lvar_int_to_lvar_int 51@ = 284@
275@(284@,9i) += 1
117@ += 1

:CASINO3_11218
284@ += 1
goto @CASINO3_10879

:CASINO3_11232
if 
  148@ == 0
goto_if_false @CASINO3_11369
if 
  not Char.IsDead(81@)
goto_if_false @CASINO3_11369
if 
  Char.LocateAnyMeans3D(81@, 1067.581, 2122.251, 9.8203, 1.5, 1.5, 3.0, False)
goto_if_false @CASINO3_11369
Char.ClearTasks(81@)
129@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 5000, 60)
Sequence.Close(129@)
Char.PerformSequence(81@, 129@)
Sequence.Clear(129@)
148@ = 1

:CASINO3_11369
if 
  117@ == 9
goto_if_false @CASINO3_11401
55@ = 8
141@ = 99

:CASINO3_11401
if 
  186@ == 0
goto_if_false @CASINO3_11846
if 
  117@ == 3
goto_if_false @CASINO3_11846
172@ = Char.Create(PedType.Mission1, 50, 1020.017, 2082.9, 17.9296)
Char.GiveWeapon(172@, WeaponType.Spas12, 2000)
Char.SetHeading(172@, 269.9465)
Char.SetDecisionMaker(172@, 73@)
if 
  not Char.IsDead(172@)
goto_if_false @CASINO3_11575
Char.ClearTasks(172@)
175@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1038.717, 2082.798, 13.9297, MoveState.Run, -1)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(175@)
Char.PerformSequence(172@, 175@)
Sequence.Clear(175@)

:CASINO3_11575
173@ = Char.Create(PedType.Mission1, 50, 1020.263, 2097.185, 13.9297)
Char.GiveWeapon(173@, WeaponType.Pistol, 2000)
Char.SetHeading(173@, 274.9465)
Char.SetDecisionMaker(173@, 73@)
if 
  not Char.IsDead(173@)
goto_if_false @CASINO3_11701
Char.ClearTasks(173@)
176@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1038.426, 2098.644, 9.8203, MoveState.Run, -2)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(176@)
Char.PerformSequence(173@, 176@)
Sequence.Clear(176@)

:CASINO3_11701
174@ = Char.Create(PedType.Mission1, 50, 1019.671, 2078.126, 13.9297)
Char.GiveWeapon(174@, WeaponType.MicroUzi, 2000)
Char.SetHeading(174@, 267.9465)
Char.SetDecisionMaker(174@, 73@)
if 
  not Char.IsDead(174@)
goto_if_false @CASINO3_11839
Char.ClearTasks(174@)
177@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1068.708, 2085.24, 9.8203, MoveState.Run, -2)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(177@)
Char.PerformSequence(174@, 177@)
Sequence.Clear(177@)

:CASINO3_11839
186@ = 1

:CASINO3_11846
if 
  187@ == 0
goto_if_false @CASINO3_11982
if 
  117@ > 5
goto_if_false @CASINO3_11982
Car.CustomPlateForNextCar(445, "G1RUYHUN")
179@ = Car.Create(445, 1029.856, 2142.858, 9.813)
Car.SetHeading(179@, 205.1437)
Car.ChangeColor(179@, 123, 10)
Car.SetProofs(179@, True, True, True, True, True)
Car.LockDoors(179@, CarLock.LockoutPlayerOnly)
Car.FreezePosition(179@, True)
Car.SetCanBurstTires(179@, False)
187@ = 1

:CASINO3_11982
if 
  187@ == 1
goto_if_false @CASINO3_12269
if 
  117@ > 5
goto_if_false @CASINO3_12269
if 
  not Car.IsDead(179@)
goto_if_false @CASINO3_12269
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 179@, 25.0, 25.0, False)
goto_if_false @CASINO3_12269
178@ = Char.CreateInsideCar(179@, PedType.Mission1, 124)
Char.SetDecisionMaker(178@, 73@)
Char.GiveWeapon(178@, WeaponType.MicroUzi, 2000)
180@ = Char.CreateAsPassenger(179@, PedType.Mission1, 125, 1)
Char.SetDecisionMaker(180@, 73@)
Char.GiveWeapon(180@, WeaponType.MicroUzi, 2000)
Task.DriveBy(180@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 90)
181@ = Char.CreateAsPassenger(179@, PedType.Mission1, 127, 2)
Char.SetDecisionMaker(181@, 73@)
Char.GiveWeapon(181@, WeaponType.MicroUzi, 2000)
Task.DriveBy(181@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 90)
Car.FreezePosition(179@, False)
Car.SetTempAction(179@, TempAction.GoForward, 5500)
Car.LockDoors(179@, CarLock.Unlocked)
187@ = 2
TIMERB = 0

:CASINO3_12269
if 
  187@ == 2
goto_if_false @CASINO3_12422
if 
  TIMERB > 6500
goto_if_false @CASINO3_12422
if 
  not Car.IsDead(179@)
goto_if_false @CASINO3_12422
if 
  not Char.IsDead(178@)
goto_if_false @CASINO3_12422
if 
  Car.IsStopped(179@)
goto_if_false @CASINO3_12422
Car.SetProofs(179@, False, False, False, False, False)
Char.ClearTasks(178@)
182@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(182@)
Char.PerformSequence(178@, 182@)
Sequence.Clear(182@)
187@ = 3
TIMERB = 0

:CASINO3_12422
if 
  187@ == 3
goto_if_false @CASINO3_12553
if 
  TIMERB > 15000
goto_if_false @CASINO3_12553
if 
  not Car.IsDead(179@)
goto_if_false @CASINO3_12553
if 
  not Char.IsDead(181@)
goto_if_false @CASINO3_12553
if 
  Car.IsStopped(179@)
goto_if_false @CASINO3_12553
Char.ClearTasks(181@)
184@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(184@)
Char.PerformSequence(181@, 184@)
Sequence.Clear(184@)
187@ = 4

:CASINO3_12553
if 
  187@ == 4
goto_if_false @CASINO3_12684
if 
  TIMERB > 25000
goto_if_false @CASINO3_12684
if 
  not Car.IsDead(179@)
goto_if_false @CASINO3_12684
if 
  not Char.IsDead(180@)
goto_if_false @CASINO3_12684
if 
  Car.IsStopped(179@)
goto_if_false @CASINO3_12684
Char.ClearTasks(180@)
183@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(183@)
Char.PerformSequence(180@, 183@)
Sequence.Clear(183@)
187@ = 5

:CASINO3_12684
goto @CASINO3_2921

:CASINO3_12691
if 
  not Char.IsDead(71@)
goto_if_false @CASINO3_12715
Task.KillCharOnFoot(71@, $stattreadstamina_ctr)

:CASINO3_12715
if 
  not Char.IsDead(72@)
goto_if_false @CASINO3_12739
Task.KillCharOnFoot(72@, $stattreadstamina_ctr)

:CASINO3_12739
if 
  not Char.IsDead(74@)
goto_if_false @CASINO3_12795
Char.SetCoordinates(74@, 1084.126, 2107.637, 14.3504)
Char.SetHeading(74@, 111.4468)
Char.GiveWeapon(74@, WeaponType.Pistol, 2000)

:CASINO3_12795
88@ = Char.Create(PedType.Mission1, 124, 1084.71, 2116.736, 14.3504)
Char.SetHeading(88@, 94.4201)
Char.GiveWeapon(88@, WeaponType.MicroUzi, 2000)
Char.SetDecisionMaker(88@, 73@)
return 

:CASINO3_12849
if 
  144@ == 0
goto_if_false @CASINO3_13411
if 
  not Char.IsDead(87@)
goto_if_false @CASINO3_12924
Char.ClearTasks(87@)
135@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(135@)
Char.PerformSequence(87@, 135@)
Sequence.Clear(135@)

:CASINO3_12924
if 
  not Char.IsDead(81@)
goto_if_false @CASINO3_12999
129@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1067.581, 2122.251, 9.8203, MoveState.Run, -2)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(129@)
Char.PerformSequence(81@, 129@)
Sequence.Clear(129@)

:CASINO3_12999
if 
  not Char.IsDead(82@)
goto_if_false @CASINO3_13085
128@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 1085.596, 2106.83, 9.8203, 6, 100.0, 2.0, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(128@)
Char.PerformSequence(82@, 128@)
Sequence.Clear(128@)

:CASINO3_13085
if 
  not Char.IsDead(83@)
goto_if_false @CASINO3_13178
130@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 1082.391, 2091.13, 14.3504, 6, 100.0, 1.0, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 3000, 50)
Sequence.Close(130@)
Char.PerformSequence(83@, 130@)
Sequence.Clear(130@)

:CASINO3_13178
if 
  not Char.IsDead(89@)
goto_if_false @CASINO3_13214
Char.ClearTasks(89@)
Task.KillCharOnFoot(89@, $stattreadstamina_ctr)
Task.StayInSamePlace(89@, True)

:CASINO3_13214
if 
  not Char.IsDead(74@)
goto_if_false @CASINO3_13253
Char.ClearTasks(74@)
Char.GiveWeapon(74@, WeaponType.Pistol, 2000)
Task.KillCharOnFoot(74@, $stattreadstamina_ctr)

:CASINO3_13253
if 
  not Char.IsDead(75@)
goto_if_false @CASINO3_13356
Char.ClearTasks(75@)
Char.GiveWeapon(75@, WeaponType.Pistol, 2000)
Char.SetCoordinates(75@, 1057.055, 2122.319, 13.6896)
Char.SetHeading(75@, 279.0)
79@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(79@)
Char.PerformSequence(75@, 79@)
Sequence.Clear(79@)

:CASINO3_13356
if 
  not Char.IsDead(71@)
goto_if_false @CASINO3_13380
Task.KillCharOnFoot(71@, $stattreadstamina_ctr)

:CASINO3_13380
if 
  not Char.IsDead(72@)
goto_if_false @CASINO3_13404
Task.KillCharOnFoot(72@, $stattreadstamina_ctr)

:CASINO3_13404
144@ = 1

:CASINO3_13411
return 

:CASINO3_13413
if 
  144@ == 0
goto_if_false @CASINO3_14054
if 
  not Char.IsDead(87@)
goto_if_false @CASINO3_13488
Char.ClearTasks(87@)
135@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(135@)
Char.PerformSequence(87@, 135@)
Sequence.Clear(135@)

:CASINO3_13488
if 
  not Char.IsDead(88@)
goto_if_false @CASINO3_13545
Char.ClearTasks(88@)
136@ = Sequence.Open()
Task.Jump(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(136@)
Char.PerformSequence(88@, 136@)
Sequence.Clear(136@)

:CASINO3_13545
if 
  not Char.IsDead(74@)
goto_if_false @CASINO3_13612
Char.GiveWeapon(74@, WeaponType.Pistol, 2000)
Char.ClearTasks(74@)
78@ = Sequence.Open()
Task.Jump(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(78@)
Char.PerformSequence(74@, 78@)
Sequence.Clear(78@)

:CASINO3_13612
if 
  not Char.IsDead(75@)
goto_if_false @CASINO3_13715
Char.GiveWeapon(75@, WeaponType.MicroUzi, 2000)
Char.ClearTasks(75@)
Char.SetCoordinates(75@, 1057.055, 2122.319, 13.6896)
Char.SetHeading(75@, 279.0)
79@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(79@)
Char.PerformSequence(75@, 79@)
Sequence.Clear(79@)

:CASINO3_13715
if 
  not Char.IsDead(81@)
goto_if_false @CASINO3_13790
129@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1067.581, 2122.251, 9.8203, MoveState.Run, -2)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(129@)
Char.PerformSequence(81@, 129@)
Sequence.Clear(129@)

:CASINO3_13790
if 
  not Char.IsDead(82@)
goto_if_false @CASINO3_13870
128@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 1085.596, 2106.83, 9.8203, 6, 100.0, 2.0, $stattreadstamina_ctr)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(128@)
Char.PerformSequence(82@, 128@)
Sequence.Clear(128@)

:CASINO3_13870
if 
  not Char.IsDead(83@)
goto_if_false @CASINO3_13963
130@ = Sequence.Open()
Task.GoToCoordWhileShooting(-1, 1082.391, 2091.13, 14.3504, 6, 100.0, 1.0, $stattreadstamina_ctr)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 3000, 50)
Sequence.Close(130@)
Char.PerformSequence(83@, 130@)
Sequence.Clear(130@)

:CASINO3_13963
if 
  not Char.IsDead(89@)
goto_if_false @CASINO3_13999
Char.ClearTasks(89@)
Task.StayInSamePlace(89@, True)
Task.KillCharOnFoot(89@, $stattreadstamina_ctr)

:CASINO3_13999
if 
  not Char.IsDead(71@)
goto_if_false @CASINO3_14023
Task.KillCharOnFoot(71@, $stattreadstamina_ctr)

:CASINO3_14023
if 
  not Char.IsDead(72@)
goto_if_false @CASINO3_14047
Task.KillCharOnFoot(72@, $stattreadstamina_ctr)

:CASINO3_14047
144@ = 1

:CASINO3_14054
return 

:CASINO3_14056
if 
  not Char.IsDead(80@)
goto_if_false @CASINO3_14109
131@ = Sequence.Open()
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 3000, 50)
Sequence.Close(131@)
Char.PerformSequence(80@, 131@)
Sequence.Clear(131@)

:CASINO3_14109
return 

:CASINO3_14111
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:CASINO3_14129
$desertX += 1
Stat.RegisterMissionPassed('CASINO3')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSS', 10000, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(20)
Player.AddScore($statbike_temp, 10000)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Blip.Remove($desert_blip_icon)
$desert_blip_icon = Blip.AddSpriteForContactPoint(2026.603, 1007.735, 9.8127, $pilot_contact_blip)
return 

:CASINO3_14221
if 
  not Car.IsDead(58@)
goto_if_false @CASINO3_14252
Car.SetProofs(58@, False, False, False, False, False)

:CASINO3_14252
if 
  not Car.IsDead(179@)
goto_if_false @CASINO3_14283
Car.SetProofs(179@, False, False, False, False, False)

:CASINO3_14283
if 
  Object.DoesExist($2662)
goto_if_false @CASINO3_14329
Object.SetCoordinates($2662, 1903.383, 967.62, 11.438)
Object.SetHeading($2662, 0.0)

:CASINO3_14329
Game.SetMaxWantedLevel(34@)
$flag_courier_mission_passed = Clock.GetGameTimer()
Player.ClearWantedLevel($statbike_temp)
if 
  Object.DoesExist($frontdoorl_a51)
goto_if_false @CASINO3_14380
Object.SetCoordinates($frontdoorl_a51, 1055.629, 2087.67, 12.469)

:CASINO3_14380
Blip.Remove(37@)
Blip.Remove(39@)
284@ = 0

:CASINO3_14397
if 
  9 > 284@
goto_if_false @CASINO3_14438
Blip.Remove(40@(284@,11i))
284@ += 1
goto @CASINO3_14397

:CASINO3_14438
if 
  51@ <> 99
goto_if_false @CASINO3_14465
Particle.Kill(248@(51@,9i))

:CASINO3_14465
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(127)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(118)
Streaming.MarkModelAsNoLongerNeeded(421)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(351)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(336)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(445)
Streaming.MarkModelAsNoLongerNeeded(401)
Streaming.MarkModelAsNoLongerNeeded(530)
World.RemoveAllScriptFires
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 87---------------
// Originally: Fish in a Barrel

:CASINO7
script_name 'CASINO7'
gosub @CASINO7_47
if 
  has_deatharrest_been_executed 
goto_if_false @CASINO7_38
gosub @CASINO7_301

:CASINO7_38
gosub @CASINO7_360
terminate_this_script 

:CASINO7_47
Text.LoadMissionText('CASINO7')
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
wait 0
Streaming.SetAreaVisible(11)
Cutscene.Load('CAS_7B')

:CASINO7_86
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO7_110
wait 0
goto @CASINO7_86

:CASINO7_110
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASINO7_119
if 
  not Cutscene.HasFinished
goto_if_false @CASINO7_143
wait 0
goto @CASINO7_119

:CASINO7_143
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASINO7_156
if 
  Camera.GetFadingStatus
goto_if_false @CASINO7_180
wait 0
goto @CASINO7_156

:CASINO7_180
Cutscene.Clear
Streaming.SetAreaVisible(0)
Camera.SetFadingColor(0, 0, 0)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2016.422, 1017.102, 10.0)
Streaming.RequestCollision(2025.8, 1007.87)
Streaming.LoadSceneInDirection(2025.8, 1007.87, 9.81, 279.83)
Char.SetCoordinates($stattreadstamina_ctr, 2025.8, 1007.87, 9.81)
Char.SetHeading($stattreadstamina_ctr, 279.83)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Camera.DoFade(2000, Fade.In)
goto @CASINO7_319

:CASINO7_301
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:CASINO7_319
Blip.Remove($desert_blip_icon)
$desertX += 1
Stat.RegisterMissionPassed('CASINO7')
Stat.SetInt(StatId.PassedCasino7, 1)
Player.ClearWantedLevel($statbike_temp)
Stat.PlayerMadeProgress(1)
return 

:CASINO7_360
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 88---------------
// Originally: Don Peyote

:CASINO4
script_name 'CASINO4'
gosub @CASINO4_86
if 
  has_deatharrest_been_executed 
goto_if_false @CASINO4_38
gosub @CASINO4_45872

:CASINO4_38
gosub @CASINO4_45957
terminate_this_script 
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:CASINO4_62
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_86
wait 0
goto @CASINO4_62

:CASINO4_86
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
Weather.Force(WeatherType.SunnyVegas)
Text.LoadMissionText('CASINO4')
Cutscene.Load('CAS_4A')

:CASINO4_121
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO4_145
wait 0
goto @CASINO4_121

:CASINO4_145
World.ClearArea(2027.359, 1007.738, 9.8127, 10.0, True)
Char.SetHeading($stattreadstamina_ctr, 265.5486)
294@ = Clock.GetGameTimer()
295@ = 0
if 
  295@ == 99
goto_if_false @CASINO4_316
289@ = Car.Create(291@, 2044.621, 1110.198, 9.6719)
290@ = Char.CreateRandomAsDriver(289@)
73@ = Char.CreateRandomAsDriver(289@)
75@ = Char.CreateRandomAsDriver(289@)
74@ = Char.CreateRandomAsDriver(289@)
76@ = Char.CreateRandomAsDriver(289@)
136@ = Particle.Create("PUKE", 95@, 96@, 97@, 1)
137@ = Particle.Create("PUKE", 95@, 96@, 97@, 1)

:CASINO4_316
Player.MakeGangDisappear
Cutscene.Start
Camera.DoFade(1000, Fade.In)
TIMERA = 0

:CASINO4_334
if 
  not Cutscene.HasFinished
goto_if_false @CASINO4_857
293@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 296@ = 293@
sub_int_lvar_from_int_lvar 296@ -= 294@
if 
  296@ > 15000
goto_if_false @CASINO4_846
if 
  TIMERA > 2000
goto_if_false @CASINO4_846
switch_start 295@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @CASINO4_832 {caseNum1} 0 {caseLabel1} @CASINO4_469 {caseNum2} 1 {caseLabel2} @CASINO4_574 {caseNum3} 2 {caseLabel3} @CASINO4_647 {caseNum4} 3 {caseLabel4} @CASINO4_752 {caseNum5} -1 {caseLabel5} @CASINO4_839 {caseNum6} -1 {caseLabel6} @CASINO4_839 {caseNum7} -1 {caseLabel7} @CASINO4_839

:CASINO4_469
291@, 292@ = Streaming.GetRandomCarModelInMemory(True)
if 
  291@ <> -1
goto_if_false @CASINO4_560
289@ = Car.Create(291@, 2051.544, 1100.511, 9.6719)
Car.SetToFadeIn(289@, 0)
Car.SetHeading(289@, 183.2183)
290@ = Char.CreateRandomAsDriver(289@)
Car.WanderRandomly(289@)
Char.MarkAsNoLongerNeeded(290@)
Car.MarkAsNoLongerNeeded(289@)

:CASINO4_560
295@ += 1
goto @CASINO4_839

:CASINO4_574
290@ = Char.CreateRandom(2034.814, 993.6725, 9.813)
Char.SetHeading(290@, 357.2051)
Task.FollowPathNodesToCoord(290@, 2033.856, 1051.804, 9.8203, 4, -2)
Char.MarkAsNoLongerNeeded(290@)
295@ += 1
goto @CASINO4_839

:CASINO4_647
291@, 292@ = Streaming.GetRandomCarModelInMemory(True)
if 
  291@ <> -1
goto_if_false @CASINO4_738
289@ = Car.Create(291@, 2051.544, 1100.511, 9.6719)
Car.SetToFadeIn(289@, 0)
Car.SetHeading(289@, 183.2183)
290@ = Char.CreateRandomAsDriver(289@)
Car.WanderRandomly(289@)
Char.MarkAsNoLongerNeeded(290@)
Car.MarkAsNoLongerNeeded(289@)

:CASINO4_738
295@ += 1
goto @CASINO4_839

:CASINO4_752
290@ = Char.CreateRandom(2033.856, 1041.804, 9.8203)
Char.SetHeading(290@, 181.0345)
Task.FollowPathNodesToCoord(290@, 2032.257, 986.0109, 9.813, 4, -2)
Char.MarkAsNoLongerNeeded(290@)
295@ = 0
goto @CASINO4_839
295@ = 0

:CASINO4_832
goto @CASINO4_839

:CASINO4_839
TIMERA = 0

:CASINO4_846
wait 0
goto @CASINO4_334

:CASINO4_857
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASINO4_870
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_894
wait 0
goto @CASINO4_870

:CASINO4_894
Cutscene.Clear
Player.MakeGangReappear
Weather.Release
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
39@ = DecisionMakerGroup.Load(0)
Group.SetDecisionMaker($flag_cell_nation, 39@)
37@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
38@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Player.SetControl($statbike_temp, False)
Camera.DoFade(1500, Fade.Out)

:CASINO4_957
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_981
wait 0
goto @CASINO4_957

:CASINO4_981
Char.MarkAsNoLongerNeeded(290@)
Car.MarkAsNoLongerNeeded(289@)
wait 0
Streaming.LoadSpecialCharacter(1, 'MACCER')
Streaming.LoadSpecialCharacter(2, 'PAUL')
Streaming.LoadAllModelsNow

:CASINO4_1023
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
goto_if_false @CASINO4_1053
wait 0
goto @CASINO4_1023

:CASINO4_1053
Hud.SwitchWidescreen(False)
44@ = 0
45@ = 0
46@ = 0
47@ = 0
48@ = 0
49@ = 0
50@ = 0
51@ = 0
52@ = 0
53@ = 0
55@ = 0
54@ = 0
56@ = 0
57@ = 0
58@ = 0
59@ = 0
60@ = 0
61@ = 0
62@ = 0
98@ = 0
63@ = 0
64@ = 0
65@ = 0
91@ = 0.0
92@ = 0.0
93@ = 0.0
95@ = 0.0
96@ = 0.0
97@ = 0.0
99@ = 0
100@ = 0

:CASINO4_1292
if 
  4 > 99@
goto_if_false @CASINO4_1335
101@(99@,4i) = 0
99@ += 1
goto @CASINO4_1292

:CASINO4_1335
119@ = 0
120@ = 0
135@ = 0
121@ = 0
122@ = 0
123@ = 0
133@ = 0
134@ = 0
124@ = 0
125@ = 0
126@ = 0
130@ = 0
131@ = 0
132@ = 99999
94@ = 0.0
262@ = 0
263@ = 0
264@ = 0
265@ = 0
266@ = 0
267@ = 0
268@ = 0
269@ = 0
270@ = 0
271@ = 0
272@ = 0
273@ = 0
274@ = 0
275@ = 0
276@ = 0
277@ = 0
282@ = 0
278@ = 0
279@ = 0
280@ = 0
281@ = 0
127@ = 0
128@ = 0
set_var_text_label s$7537[7] = 'CAS4_BA'
set_var_text_label s$7537[8] = 'CAS4_BB'
set_var_text_label s$7537[9] = 'CAS4_CA'
set_var_text_label s$7537[10] = 'CAS4_CB'
set_var_text_label s$7537[11] = 'CAS4_CC'
set_var_text_label s$7537[12] = 'CAS4_CD'
set_var_text_label s$7537[13] = 'CAS4_CE'
set_var_text_label s$7537[14] = 'CAS4_CF'
set_var_text_label s$7537[15] = 'CAS4_CG'
set_var_text_label s$7537[16] = 'CAS4_CH'
set_var_text_label s$7537[17] = 'CAS4_CJ'
set_var_text_label s$7537[18] = 'CAS4_CK'
set_var_text_label s$7537[19] = 'CAS4_CL'
set_var_text_label s$7537[20] = 'CAS4_DA'
set_var_text_label s$7537[21] = 'CAS4_DB'
set_var_text_label s$7537[22] = 'CAS4_DC'
set_var_text_label s$7537[23] = 'CAS4_DD'
set_var_text_label s$7537[24] = 'CAS4_DE'
set_var_text_label s$7537[25] = 'CAS4_EA'
set_var_text_label s$7537[26] = 'CAS4_EB'
set_var_text_label s$7537[27] = 'CAS4_EC'
set_var_text_label s$7537[28] = 'CAS4_ED'
set_var_text_label s$7537[29] = 'CAS4_EE'
set_var_text_label s$7537[30] = 'CAS4_EF'
set_var_text_label s$7537[31] = 'CAS4_EG'
set_var_text_label s$7537[32] = 'CAS4_EH'
set_var_text_label s$7537[33] = 'CAS4_FA'
set_var_text_label s$7537[34] = 'CAS4_FB'
set_var_text_label s$7537[35] = 'CAS4_FC'
set_var_text_label s$7537[36] = 'CAS4_GA'
set_var_text_label s$7537[37] = 'CAS4_GB'
set_var_text_label s$7537[38] = 'CAS4_HA'
set_var_text_label s$7537[39] = 'CAS4_HB'
set_var_text_label s$7537[40] = 'CAS4_HC'
set_var_text_label s$7537[41] = 'CAS4_HD'
set_var_text_label s$7537[42] = 'CAS4_JA'
set_var_text_label s$7537[43] = 'CAS4_JB'
set_var_text_label s$7537[44] = 'CAS4_JC'
set_var_text_label s$7537[45] = 'CAS4_JD'
set_var_text_label s$7537[46] = 'CAS4_KA'
set_var_text_label s$7537[47] = 'CAS4_KB'
set_var_text_label s$7537[48] = 'CAS4_KC'
set_var_text_label s$7537[49] = 'CAS4_KD'
set_var_text_label s$7537[50] = 'CAS4_KE'
set_var_text_label s$7537[51] = 'CAS4_KF'
set_var_text_label s$7537[52] = 'CAS4_KG'
set_var_text_label s$7537[53] = 'CAS4_KH'
set_var_text_label s$7537[54] = 'CAS4_KJ'
set_var_text_label s$7537[55] = 'CAS4_LA'
set_var_text_label s$7537[56] = 'CAS4_LB'
set_var_text_label s$7537[57] = 'CAS4_LC'
set_var_text_label s$7537[58] = 'CAS4_LD'
set_var_text_label s$7537[59] = 'CAS4_LE'
set_var_text_label s$7537[60] = 'CAS4_MA'
set_var_text_label s$7537[61] = 'CAS4_NA'
set_var_text_label s$7537[62] = 'CAS4_NB'
set_var_text_label s$7537[63] = 'CAS4_NC'
set_var_text_label s$7537[64] = 'CAS4_ND'
set_var_text_label s$7537[65] = 'CAS4_NE'
set_var_text_label s$7537[66] = 'CAS4_NF'
set_var_text_label s$7537[67] = 'CAS4_NG'
set_var_text_label s$7537[68] = 'CAS4_NH'
set_var_text_label s$7537[69] = 'CAS4_NJ'
set_var_text_label s$7537[70] = 'CAS4_OA'
set_var_text_label s$7537[71] = 'CAS4_OB'
set_var_text_label s$7537[72] = 'CAS4_OC'
set_var_text_label s$7537[73] = 'CAS4_OD'
set_var_text_label s$7537[74] = 'CAS4_OE'
set_var_text_label s$7537[75] = 'CAS4_OF'
set_var_text_label s$7537[76] = 'CAS4_OG'
set_var_text_label s$7537[77] = 'CAS4_OH'
set_var_text_label s$7537[78] = 'CAS4_OJ'
set_var_text_label s$7537[79] = 'CAS4_OK'
set_var_text_label s$7537[80] = 'CAS4_OL'
set_var_text_label s$7537[81] = 'CAS4_OM'
set_var_text_label s$7537[82] = 'CAS4_PA'
set_var_text_label s$7537[83] = 'CAS4_PB'
set_var_text_label s$7537[85] = 'CAS4_PD'
set_var_text_label s$7537[86] = 'CAS4_PE'
set_var_text_label s$7537[87] = 'CAS4_PF'
set_var_text_label s$7537[88] = 'CAS4_PG'
set_var_text_label s$7537[89] = 'CAS4_PH'
set_var_text_label s$7537[90] = 'CAS4_PJ'
set_var_text_label s$7537[91] = 'CAS4_PK'
set_var_text_label s$7537[92] = 'CAS4_QA'
set_var_text_label s$7537[93] = 'CAS4_QB'
set_var_text_label s$7537[94] = 'CAS4_RA'
set_var_text_label s$7537[95] = 'CAS4_RB'
set_var_text_label s$7537[97] = 'CAS4_RD'
set_var_text_label s$7537[98] = 'CAS4_RE'
set_var_text_label s$7537[99] = 'CAS4_SA'
set_var_text_label s$7537[100] = 'CAS4_TA'
set_var_text_label s$7537[101] = 'CAS4_TB'
set_var_text_label s$7537[102] = 'CAS4_TC'
set_var_text_label s$7537[103] = 'CAS4_FD'
set_var_text_label s$7537[104] = 'CAS4_FE'
set_var_text_label s$7537[105] = 'CAS4_FF'
set_var_text_label s$7537[106] = 'CAS4_FG'
set_var_text_label s$7537[107] = 'CAS4_FH'
set_var_text_label s$7537[108] = 'CAS4_FJ'
set_var_text_label s$7537[109] = 'CAS4_FK'
set_var_text_label s$7537[110] = 'CAS4_FL'
set_var_text_label s$7537[111] = 'MACX_AF'
set_var_text_label s$7537[112] = 'MACX_AG'
set_var_text_label s$7537[113] = 'MACX_AI'
set_lvar_int_to_constant 145@ = 7800
set_lvar_int_to_constant 146@ = 7801
set_lvar_int_to_constant 147@ = 7802
set_lvar_int_to_constant 148@ = 7803
set_lvar_int_to_constant 149@ = 7804
set_lvar_int_to_constant 150@ = 7805
set_lvar_int_to_constant 151@ = 7806
set_lvar_int_to_constant 152@ = 7807
set_lvar_int_to_constant 153@ = 7808
set_lvar_int_to_constant 154@ = 7809
set_lvar_int_to_constant 155@ = 7810
set_lvar_int_to_constant 156@ = 7811
set_lvar_int_to_constant 157@ = 7812
set_lvar_int_to_constant 158@ = 7813
set_lvar_int_to_constant 159@ = 7814
set_lvar_int_to_constant 160@ = 7815
set_lvar_int_to_constant 161@ = 7816
set_lvar_int_to_constant 162@ = 7817
set_lvar_int_to_constant 163@ = 7818
set_lvar_int_to_constant 164@ = 7819
set_lvar_int_to_constant 165@ = 7820
set_lvar_int_to_constant 166@ = 7821
set_lvar_int_to_constant 167@ = 7822
set_lvar_int_to_constant 168@ = 7823
set_lvar_int_to_constant 169@ = 7824
set_lvar_int_to_constant 170@ = 7825
set_lvar_int_to_constant 171@ = 7826
set_lvar_int_to_constant 172@ = 7827
set_lvar_int_to_constant 173@ = 7828
set_lvar_int_to_constant 174@ = 7837
set_lvar_int_to_constant 175@ = 7838
set_lvar_int_to_constant 176@ = 7839
set_lvar_int_to_constant 177@ = 7840
set_lvar_int_to_constant 178@ = 7841
set_lvar_int_to_constant 179@ = 7842
set_lvar_int_to_constant 180@ = 7843
set_lvar_int_to_constant 181@ = 7844
set_lvar_int_to_constant 182@ = 7845
set_lvar_int_to_constant 183@ = 7846
set_lvar_int_to_constant 184@ = 7847
set_lvar_int_to_constant 185@ = 7848
set_lvar_int_to_constant 186@ = 7849
set_lvar_int_to_constant 187@ = 7850
set_lvar_int_to_constant 188@ = 7851
set_lvar_int_to_constant 189@ = 7852
set_lvar_int_to_constant 190@ = 7853
set_lvar_int_to_constant 191@ = 7854
set_lvar_int_to_constant 192@ = 7855
set_lvar_int_to_constant 193@ = 7856
set_lvar_int_to_constant 194@ = 7857
set_lvar_int_to_constant 195@ = 7858
set_lvar_int_to_constant 196@ = 7859
set_lvar_int_to_constant 197@ = 7860
set_lvar_int_to_constant 198@ = 7861
set_lvar_int_to_constant 199@ = 7862
set_lvar_int_to_constant 200@ = 7863
set_lvar_int_to_constant 201@ = 7864
set_lvar_int_to_constant 202@ = 7865
set_lvar_int_to_constant 203@ = 7866
set_lvar_int_to_constant 204@ = 7867
set_lvar_int_to_constant 205@ = 7868
set_lvar_int_to_constant 206@ = 7869
set_lvar_int_to_constant 207@ = 7870
set_lvar_int_to_constant 208@ = 7871
set_lvar_int_to_constant 209@ = 7872
set_lvar_int_to_constant 210@ = 7873
set_lvar_int_to_constant 211@ = 7874
set_lvar_int_to_constant 212@ = 7875
set_lvar_int_to_constant 213@ = 7876
set_lvar_int_to_constant 214@ = 7877
set_lvar_int_to_constant 215@ = 7878
set_lvar_int_to_constant 216@ = 7879
set_lvar_int_to_constant 217@ = 7880
set_lvar_int_to_constant 218@ = 7881
set_lvar_int_to_constant 219@ = 7882
set_lvar_int_to_constant 220@ = 7883
set_lvar_int_to_constant 221@ = 7884
set_lvar_int_to_constant 223@ = 7885
set_lvar_int_to_constant 224@ = 7886
set_lvar_int_to_constant 225@ = 7887
set_lvar_int_to_constant 226@ = 7888
set_lvar_int_to_constant 227@ = 7889
set_lvar_int_to_constant 228@ = 7890
set_lvar_int_to_constant 229@ = 7891
set_lvar_int_to_constant 230@ = 7892
set_lvar_int_to_constant 231@ = 7893
set_lvar_int_to_constant 232@ = 7894
set_lvar_int_to_constant 233@ = 7895
set_lvar_int_to_constant 235@ = 7896
set_lvar_int_to_constant 236@ = 7897
set_lvar_int_to_constant 237@ = 7898
set_lvar_int_to_constant 238@ = 7900
set_lvar_int_to_constant 239@ = 7901
set_lvar_int_to_constant 240@ = 7902
set_lvar_int_to_constant 241@ = 7829
set_lvar_int_to_constant 242@ = 7830
set_lvar_int_to_constant 243@ = 7831
set_lvar_int_to_constant 244@ = 7832
set_lvar_int_to_constant 245@ = 7833
set_lvar_int_to_constant 246@ = 7834
set_lvar_int_to_constant 247@ = 7835
set_lvar_int_to_constant 248@ = 7836
set_lvar_int_to_constant 249@ = 23205
set_lvar_int_to_constant 250@ = 23206
set_lvar_int_to_constant 251@ = 23208
set_lvar_int_to_constant 286@ = 14200
252@ = 0
253@ = 1
254@ = 2
255@ = 0
256@ = 0
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
287@ = 0
288@ = 0
283@ = 0
284@ = 0
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(1)
Game.MakeRoomInPlayerGangForMissionPeds(2)
wait 1000

:CASINO4_4043
wait 0
if 
is_ps2_keyboard_key_pressed 49
goto_if_false @CASINO4_4082
Char.SetCoordinates($stattreadstamina_ctr, -725.0, 2392.69, 128.0)

:CASINO4_4082
if 
is_ps2_keyboard_key_pressed 50
goto_if_false @CASINO4_4117
Char.SetCoordinates($stattreadstamina_ctr, -45.0, 2322.0, 23.0)

:CASINO4_4117
if 
is_ps2_keyboard_key_pressed 51
goto_if_false @CASINO4_4152
Char.SetCoordinates($stattreadstamina_ctr, 2062.0, 1362.0, 10.7)

:CASINO4_4152
if 
is_ps2_keyboard_key_pressed 71
goto_if_false @CASINO4_4175
TIMERA = 27000

:CASINO4_4175
if 
is_ps2_keyboard_key_pressed 99
goto_if_false @CASINO4_4249
122@ = 0
123@ = 0
134@ = 0
133@ = 0
124@ = 0
125@ = 0
126@ = 0
94@ = 0.0

:CASINO4_4249
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @CASINO4_4821
252@ = 103
253@ = 1
254@ = 2
255@ = 0
256@ = 0
257@ = 0
if 
  255@ == 0
goto_if_false @CASINO4_4343
252@ = 103
257@ = 103
260@ = Clock.GetGameTimer()

:CASINO4_4343
wait 0
if 
  256@ == 0
goto_if_false @CASINO4_4821
if 
  252@ <> 0
goto_if_false @CASINO4_4704
if 
  255@ == 0
goto_if_false @CASINO4_4429
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_4422
Audio.ClearMissionAudio(254@)

:CASINO4_4422
255@ = 1

:CASINO4_4429
if 
  255@ == 1
goto_if_false @CASINO4_4466
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_4466
if 
  255@ == 2
goto_if_false @CASINO4_4526
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_4526
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_4526
if 
  255@ == 3
goto_if_false @CASINO4_4704
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_4643
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_4608
253@ = 2
254@ = 1
goto @CASINO4_4622

:CASINO4_4608
253@ = 1
254@ = 2

:CASINO4_4622
252@ = 0
255@ = 0
goto @CASINO4_4704

:CASINO4_4643
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_4704
if 
  102 > 252@
goto_if_false @CASINO4_4704
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_4704
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_4814
if 
  255@ == 0
goto_if_false @CASINO4_4814
if 
  110 > 257@
goto_if_false @CASINO4_4807
257@ += 1
set_lvar_int_to_lvar_int 252@ = 257@
260@ = Clock.GetGameTimer()
goto @CASINO4_4814

:CASINO4_4807
256@ = 1

:CASINO4_4814
goto @CASINO4_4343

:CASINO4_4821
if 
is_ps2_keyboard_key_pressed 48
goto_if_false @CASINO4_4852
TIMERA = 27000
TIMERB = 27000

:CASINO4_4852
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CASINO4_4874
goto @CASINO4_45890

:CASINO4_4874
if and
  47@ == 0
  48@ == 0
goto_if_false @CASINO4_5063

:CASINO4_4899
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_4923
wait 0
goto @CASINO4_4899

:CASINO4_4923
66@ = Blip.AddForCoord(-735.0, 2398.69, 126.0)
Blip.SetCoordAppearance(66@, 1)
Char.SetHeading($stattreadstamina_ctr, 265.5486)
Camera.SetBehindPlayer
Text.Print('CAS4_01', 10000, 1)
48@ = 1
Camera.DoFade(1500, Fade.In)

:CASINO4_4992
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_5016
wait 0
goto @CASINO4_4992

:CASINO4_5016
Player.SetControl($statbike_temp, True)
if 
  $pickup_horseshoe == 1
goto_if_false @CASINO4_5063
Skip.SetUp(-698.0, 2398.0, 131.0, 60.0)

:CASINO4_5063
if and
  47@ == 0
  48@ == 1
goto_if_false @CASINO4_5645
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_5112
77@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:CASINO4_5112
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -735.0, 2398.69, 126.0, 4.0, 4.0, 2.0, True)
goto_if_false @CASINO4_5179
Blip.Remove(66@)
47@ = 1
goto @CASINO4_5645

:CASINO4_5179
if 
  44@ == 0
goto_if_false @CASINO4_5645
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -735.0, 2398.69, 126.0, 100.0, 100.0, 100.0, False)
goto_if_false @CASINO4_5645
if 
  $pickup_horseshoe == 0
goto_if_false @CASINO4_5270
$pickup_horseshoe = 1

:CASINO4_5270
Streaming.RequestAnimation("SUNBATHE")

:CASINO4_5282
if 
  not Streaming.HasAnimationLoaded("SUNBATHE")
goto_if_false @CASINO4_5316
wait 0
goto @CASINO4_5282

:CASINO4_5316
71@ = Char.Create(PedType.Special, 290, -751.1198, 2395.199, 128.2378)
Char.SetHeading(71@, 246.0)
Char.SetDecisionMaker(71@, 38@)
Char.SetNeverTargeted(71@, True)
Char.SetSuffersCriticalHits(71@, False)
72@ = Char.Create(PedType.Special, 291, -752.2823, 2391.054, 127.8083)
Char.SetHeading(72@, 220.2451)
Char.SetDecisionMaker(72@, 38@)
Char.SetProofs(71@, False, False, False, False, True)
Char.SetProofs(72@, False, False, False, False, True)
Char.SetNeverTargeted(72@, True)
Char.SetSuffersCriticalHits(72@, False)
81@ = Sequence.Open()
Task.LookAtChar(-1, $stattreadstamina_ctr, -1)
Task.PlayAnim(-1, "SBATHE_F_LIEB2SIT", "SUNBATHE", 60000.0, False, False, False, True, -1)
Sequence.Close(81@)
Char.PerformSequence(72@, 81@)
Sequence.Clear(81@)
80@ = Sequence.Open()
Task.LookAtChar(-1, $stattreadstamina_ctr, -1)
Task.PlayAnim(-1, "SBATHE_F_LIEB2SIT", "SUNBATHE", 60000.0, False, False, False, True, -1)
Sequence.Close(80@)
Char.PerformSequence(71@, 80@)
Sequence.Clear(80@)
Char.SetRelationship(71@, RelationshipType.Respect, PedType.Player1)
Char.SetRelationship(72@, RelationshipType.Respect, PedType.Player1)
44@ = 1

:CASINO4_5645
if and
  47@ == 1
  49@ == 0
goto_if_false @CASINO4_6625
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:CASINO4_5684
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_5708
wait 0
goto @CASINO4_5684

:CASINO4_5708
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)
Weather.Force(WeatherType.SunnyDesert)
Char.Delete(71@)
Char.Delete(72@)
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(72@)
Streaming.RemoveAnimation("SUNBATHE")

:CASINO4_5765
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_5789
wait 0
goto @CASINO4_5765

:CASINO4_5789
World.ClearArea(-738.0978, 2391.592, 127.9015, 100.0, True)
if 
  not Car.IsDead(77@)
goto_if_false @CASINO4_5897
if 
  Car.Locate3D(77@, -738.0, 2391.0, 127.0, 10.0, 10.0, 5.0, False)
goto_if_false @CASINO4_5897
Car.SetCoordinates(77@, -735.0, 2398.69, 126.0)

:CASINO4_5897
Player.MakeSafeForCutscene($statbike_temp)
Cutscene.Load('CAS_4B')

:CASINO4_5913
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO4_5937
wait 0
goto @CASINO4_5913

:CASINO4_5937
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASINO4_5946
if 
  not Cutscene.HasFinished
goto_if_false @CASINO4_5970
wait 0
goto @CASINO4_5946

:CASINO4_5970
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASINO4_5985
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_6009
wait 0
goto @CASINO4_5985

:CASINO4_6009
Weather.Release
DecisionMakerChar.AddEventResponse(38@, 79, 706, 100.0, 100.0, 100.0, 100.0, True, False)
71@ = Char.Create(PedType.Special, 290, -751.1198, 2395.199, 128.2378)
Char.SetDecisionMaker(71@, 38@)
Char.SetNeverTargeted(71@, True)
Char.SetSuffersCriticalHits(71@, False)
72@ = Char.Create(PedType.Special, 291, -752.2823, 2391.054, 127.8083)
Char.SetDecisionMaker(72@, 38@)
Char.SetProofs(71@, False, False, False, False, True)
Char.SetProofs(72@, False, False, False, False, True)
Char.SetNeverTargeted(72@, True)
Char.SetSuffersCriticalHits(72@, False)
Char.SetRelationship(71@, RelationshipType.Respect, PedType.Player1)
Char.SetRelationship(72@, RelationshipType.Respect, PedType.Player1)
Char.SetMaxHealth(72@, 200)
Char.SetHealth(72@, 200)
Char.SetMaxHealth(71@, 200)
Char.SetHealth(71@, 200)
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_6300
Char.SetCoordinates(72@, -738.0978, 2385.592, 124.9015)
Char.SetHeading(72@, 0.0)
Char.SetCoordinates(71@, -736.8244, 2385.102, 125.0871)
Char.SetHeading(71@, 0.0)

:CASINO4_6300
Streaming.RequestModel(478)
Streaming.RequestModel(32)
Streaming.RequestModel(34)
Streaming.RequestAnimation("SMOKING")
Streaming.RequestModel(346)
if and
  not Char.IsDead(71@)
  not Char.IsDead(72@)
goto_if_false @CASINO4_6395
Char.ClearTasks($stattreadstamina_ctr)
Char.ClearTasks(72@)
Char.ClearTasks(71@)
68@ = Blip.AddForChar(71@)
Blip.SetAsFriendly(68@, True)
67@ = Blip.AddForChar(72@)
Blip.SetAsFriendly(67@, True)

:CASINO4_6395
if or
  not Streaming.HasModelLoaded(478)
  not Streaming.HasModelLoaded(32)
  not Streaming.HasModelLoaded(34)
  not Streaming.HasAnimationLoaded("SMOKING")
  //not Streaming.HasAnimationLoaded("COLT45")
goto_if_false @CASINO4_6451
wait 0
goto @CASINO4_6395

:CASINO4_6451
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_6494
Char.SetCoordinates($stattreadstamina_ctr, -738.0603, 2388.346, 125.1527)
goto @CASINO4_6514

:CASINO4_6494
Char.WarpFromCarToCoord($stattreadstamina_ctr, -738.0603, 2388.346, 125.1527)

:CASINO4_6514
Char.SetHeading($stattreadstamina_ctr, 176.0)
Streaming.RequestAnimation("PAULNMAC")

:CASINO4_6536
if 
  not Streaming.HasAnimationLoaded("PAULNMAC")
goto_if_false @CASINO4_6570
wait 0
goto @CASINO4_6536

:CASINO4_6570
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.DoFade(1500, Fade.In)

:CASINO4_6585
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_6609
wait 0
goto @CASINO4_6585

:CASINO4_6609
Player.SetControl($statbike_temp, True)
Text.ClearPrints
49@ = 1

:CASINO4_6625
if 
  44@ == 1
goto_if_false @CASINO4_6772
if or
  Char.IsDead(72@)
  Char.IsDead(71@)
goto_if_false @CASINO4_6772
Text.ClearPrints
if and
  Char.IsDead(71@)
  Char.IsDead(72@)
goto_if_false @CASINO4_6710
Text.Print('CAS4_47', 3000, 1)
goto @CASINO4_6765

:CASINO4_6710
if 
  Char.IsDead(71@)
goto_if_false @CASINO4_6749
Text.Print('CAS4_05', 3000, 1)
goto @CASINO4_6765

:CASINO4_6749
Text.Print('CAS4_04', 3000, 1)

:CASINO4_6765
goto @CASINO4_45872

:CASINO4_6772
if 
  51@ == 0
goto_if_false @CASINO4_22506
if 
  49@ == 1
goto_if_false @CASINO4_22506
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_6897
77@ = Char.StoreCarIsIn($stattreadstamina_ctr)
135@ = Car.GetMaximumNumberOfPassengers(77@)
if 
  119@ == 1
goto_if_false @CASINO4_6865
135@ -= 1

:CASINO4_6865
if 
  120@ == 1
goto_if_false @CASINO4_6890
135@ -= 1

:CASINO4_6890
goto @CASINO4_7234

:CASINO4_6897
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_7063
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_7063
if 
  119@ == 1
goto_if_false @CASINO4_7006
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_7006
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_6984
Task.LeaveAnyCar(72@)

:CASINO4_6984
67@ = Blip.AddForChar(72@)
Blip.SetAsFriendly(67@, True)
119@ = 0

:CASINO4_7006
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_7063
90@ = Char.GetScriptTaskStatus(72@, 1587)
if and
  not is_int_lvar_equal_to_constant 90@ == 1
  not is_int_lvar_equal_to_constant 90@ == 0
goto_if_false @CASINO4_7063
Task.LeaveAnyCar(72@)

:CASINO4_7063
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_7213
if 
  120@ == 1
goto_if_false @CASINO4_7156
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_7156
if 
  Char.IsInAnyCar(71@)
goto_if_false @CASINO4_7134
Task.LeaveAnyCar(71@)

:CASINO4_7134
68@ = Blip.AddForChar(71@)
Blip.SetAsFriendly(68@, True)
120@ = 0

:CASINO4_7156
if 
  Char.IsInAnyCar(71@)
goto_if_false @CASINO4_7213
90@ = Char.GetScriptTaskStatus(71@, 1587)
if and
  not is_int_lvar_equal_to_constant 90@ == 1
  not is_int_lvar_equal_to_constant 90@ == 0
goto_if_false @CASINO4_7213
Task.LeaveAnyCar(71@)

:CASINO4_7213
130@ = 0
131@ = 0
135@ = 0

:CASINO4_7234
if 
  121@ > 0
goto_if_false @CASINO4_7336
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_7336
if 
  135@ > 1
goto_if_false @CASINO4_7336
Char.ClearTasks(72@)
Char.ClearTasks(71@)
274@ = 0
275@ = 0
276@ = 0
277@ = 0
121@ = 0

:CASINO4_7336
if 
  121@ == 0
goto_if_false @CASINO4_8643
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_8636
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_7994
if 
  119@ == 0
goto_if_false @CASINO4_7908
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 72@, 8.0, 8.0, 5.0, False)
goto_if_false @CASINO4_7860
if 
  135@ > 0
goto_if_false @CASINO4_7616
if 
  not Car.IsDead(77@)
goto_if_false @CASINO4_7609
if 
  Char.IsSittingInCar(72@, 77@)
goto_if_false @CASINO4_7519
Blip.Remove(67@)
135@ -= 1
119@ = 1
goto @CASINO4_7609

:CASINO4_7519
if 
  130@ == 0
goto_if_false @CASINO4_7563
Task.EnterCarAsPassenger(72@, 77@, -2, -1)
130@ = 1
goto @CASINO4_7609

:CASINO4_7563
90@ = Char.GetScriptTaskStatus(72@, 1482)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_7609
Char.ClearTasks(72@)
Task.EnterCarAsPassenger(72@, 77@, -2, -1)

:CASINO4_7609
goto @CASINO4_7853

:CASINO4_7616
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_7853
if 
  120@ == 1
goto_if_false @CASINO4_7853
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_7688
68@ = Blip.AddForChar(71@)
Blip.SetAsFriendly(68@, True)
120@ = 0

:CASINO4_7688
if 
  121@ == 0
goto_if_false @CASINO4_7853
89@ = Sequence.Open()
Task.GotoChar(-1, 71@, -1, 2.0)
Task.TurnCharToFaceChar(-1, 71@)
Sequence.Close(89@)
Char.PerformSequence(72@, 89@)
Sequence.Clear(89@)
89@ = Sequence.Open()
if 
  Char.IsInAnyCar(71@)
goto_if_false @CASINO4_7775
Task.LeaveAnyCar(-1)

:CASINO4_7775
Task.GotoChar(-1, 72@, -1, 2.0)
Task.TurnCharToFaceChar(-1, 72@)
Sequence.Close(89@)
Char.PerformSequence(71@, 89@)
Sequence.Clear(89@)
Text.ClearPrints
Text.Print('CAS4_44', 10000, 1)
282@ = 1
132@ = 6
121@ = 1

:CASINO4_7853
goto @CASINO4_7901

:CASINO4_7860
90@ = Char.GetScriptTaskStatus(72@, 1482)
if 
  is_int_lvar_equal_to_constant 90@ == 1
goto_if_false @CASINO4_7894
Char.ClearTasks(72@)

:CASINO4_7894
130@ = 0

:CASINO4_7901
goto @CASINO4_7994

:CASINO4_7908
if 
  not Char.LocateInCarChar3D($stattreadstamina_ctr, 72@, 10.0, 10.0, 5.0, False)
goto_if_false @CASINO4_7994
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_7965
Task.LeaveAnyCar(72@)

:CASINO4_7965
67@ = Blip.AddForChar(72@)
Blip.SetAsFriendly(67@, True)
130@ = 0
119@ = 0

:CASINO4_7994
if 
  121@ == 0
goto_if_false @CASINO4_8636
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_8636
if 
  120@ == 0
goto_if_false @CASINO4_8550
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 71@, 8.0, 8.0, 5.0, False)
goto_if_false @CASINO4_8502
if 
  135@ > 0
goto_if_false @CASINO4_8258
if 
  not Car.IsDead(77@)
goto_if_false @CASINO4_8251
if 
  Char.IsSittingInCar(71@, 77@)
goto_if_false @CASINO4_8161
Blip.Remove(68@)
135@ -= 1
120@ = 1
goto @CASINO4_8251

:CASINO4_8161
if 
  131@ == 0
goto_if_false @CASINO4_8205
Task.EnterCarAsPassenger(71@, 77@, -2, -1)
131@ = 1
goto @CASINO4_8251

:CASINO4_8205
90@ = Char.GetScriptTaskStatus(71@, 1482)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_8251
Char.ClearTasks(71@)
Task.EnterCarAsPassenger(71@, 77@, -2, -1)

:CASINO4_8251
goto @CASINO4_8495

:CASINO4_8258
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_8495
if 
  119@ == 1
goto_if_false @CASINO4_8495
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_8330
67@ = Blip.AddForChar(72@)
Blip.SetAsFriendly(67@, True)
119@ = 0

:CASINO4_8330
if 
  121@ == 0
goto_if_false @CASINO4_8495
89@ = Sequence.Open()
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_8373
Task.LeaveAnyCar(-1)

:CASINO4_8373
Task.GotoChar(-1, 71@, -1, 2.0)
Task.TurnCharToFaceChar(-1, 71@)
Sequence.Close(89@)
Char.PerformSequence(72@, 89@)
Sequence.Clear(89@)
89@ = Sequence.Open()
Task.GotoChar(-1, 72@, -1, 2.0)
Task.TurnCharToFaceChar(-1, 72@)
Sequence.Close(89@)
Char.PerformSequence(71@, 89@)
Sequence.Clear(89@)
Text.ClearPrints
Text.Print('CAS4_44', 10000, 1)
282@ = 2
132@ = 6
121@ = 1

:CASINO4_8495
goto @CASINO4_8543

:CASINO4_8502
90@ = Char.GetScriptTaskStatus(71@, 1482)
if 
  is_int_lvar_equal_to_constant 90@ == 1
goto_if_false @CASINO4_8543
Char.ClearTasks(71@)
131@ = 0

:CASINO4_8543
goto @CASINO4_8636

:CASINO4_8550
if 
  not Char.LocateInCarChar3D($stattreadstamina_ctr, 71@, 10.0, 10.0, 5.0, False)
goto_if_false @CASINO4_8636
if 
  Char.IsInAnyCar(71@)
goto_if_false @CASINO4_8607
Task.LeaveAnyCar(71@)

:CASINO4_8607
68@ = Blip.AddForChar(71@)
Blip.SetAsFriendly(68@, True)
131@ = 0
120@ = 0

:CASINO4_8636
goto @CASINO4_10220

:CASINO4_8643
if 
  121@ == 1
goto_if_false @CASINO4_8812
if and
  not Char.IsDead(71@)
  not Char.IsDead(72@)
goto_if_false @CASINO4_8805
90@ = Char.GetScriptTaskStatus(71@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_8805
90@ = Char.GetScriptTaskStatus(72@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_8805
40@, 41@, 42@ = Char.GetOffsetInWorldCoords(71@, 0.0, 1.5, 0.0)
Task.CharSlideToCoord(72@, 40@, 41@, 42@, 43@, 0.5)
gosub @CASINO4_38648
121@ = 2

:CASINO4_8805
goto @CASINO4_10220

:CASINO4_8812
if 
  121@ == 2
goto_if_false @CASINO4_10220
if 
  252@ <> 0
goto_if_false @CASINO4_9169
if 
  255@ == 0
goto_if_false @CASINO4_8894
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_8887
Audio.ClearMissionAudio(254@)

:CASINO4_8887
255@ = 1

:CASINO4_8894
if 
  255@ == 1
goto_if_false @CASINO4_8931
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_8931
if 
  255@ == 2
goto_if_false @CASINO4_8991
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_8991
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_8991
if 
  255@ == 3
goto_if_false @CASINO4_9169
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_9108
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_9073
253@ = 2
254@ = 1
goto @CASINO4_9087

:CASINO4_9073
253@ = 1
254@ = 2

:CASINO4_9087
252@ = 0
255@ = 0
goto @CASINO4_9169

:CASINO4_9108
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_9169
if 
  110 > 252@
goto_if_false @CASINO4_9169
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_9169
if 
  282@ == 1
goto_if_false @CASINO4_9740
if 
  275@ == 0
goto_if_false @CASINO4_9733
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_9733
switch_start 274@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @CASINO4_9661 {caseNum1} 0 {caseLabel1} @CASINO4_9281 {caseNum2} 1 {caseLabel2} @CASINO4_9325 {caseNum3} 2 {caseLabel3} @CASINO4_9409 {caseNum4} 3 {caseLabel4} @CASINO4_9493 {caseNum5} 4 {caseLabel5} @CASINO4_9577 {caseNum6} -1 {caseLabel6} @CASINO4_9733 {caseNum7} -1 {caseLabel7} @CASINO4_9733

:CASINO4_9281
if 
  255@ == 0
goto_if_false @CASINO4_9318
252@ = 9
274@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_9318
goto @CASINO4_9733

:CASINO4_9325
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_9402
if 
  255@ == 0
goto_if_false @CASINO4_9402
252@ = 10
274@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_9402
goto @CASINO4_9733

:CASINO4_9409
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_9486
if 
  255@ == 0
goto_if_false @CASINO4_9486
252@ = 11
274@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_9486
goto @CASINO4_9733

:CASINO4_9493
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_9570
if 
  255@ == 0
goto_if_false @CASINO4_9570
252@ = 12
274@ = 4
260@ = Clock.GetGameTimer()

:CASINO4_9570
goto @CASINO4_9733

:CASINO4_9577
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_9654
if 
  255@ == 0
goto_if_false @CASINO4_9654
252@ = 19
274@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_9654
goto @CASINO4_9733

:CASINO4_9661
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_9726
if 
  255@ == 0
goto_if_false @CASINO4_9726
275@ = 1

:CASINO4_9726
goto @CASINO4_9733

:CASINO4_9733
goto @CASINO4_10220

:CASINO4_9740
if 
  282@ == 2
goto_if_false @CASINO4_10220
if 
  277@ == 0
goto_if_false @CASINO4_10220
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_10220
switch_start 276@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @CASINO4_10148 {caseNum1} 0 {caseLabel1} @CASINO4_9852 {caseNum2} 1 {caseLabel2} @CASINO4_9896 {caseNum3} 2 {caseLabel3} @CASINO4_9980 {caseNum4} 3 {caseLabel4} @CASINO4_10064 {caseNum5} -1 {caseLabel5} @CASINO4_10220 {caseNum6} -1 {caseLabel6} @CASINO4_10220 {caseNum7} -1 {caseLabel7} @CASINO4_10220

:CASINO4_9852
if 
  255@ == 0
goto_if_false @CASINO4_9889
252@ = 13
276@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_9889
goto @CASINO4_10220

:CASINO4_9896
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_9973
if 
  255@ == 0
goto_if_false @CASINO4_9973
252@ = 14
276@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_9973
goto @CASINO4_10220

:CASINO4_9980
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_10057
if 
  255@ == 0
goto_if_false @CASINO4_10057
252@ = 15
276@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_10057
goto @CASINO4_10220

:CASINO4_10064
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_10141
if 
  255@ == 0
goto_if_false @CASINO4_10141
252@ = 16
276@ = 4
260@ = Clock.GetGameTimer()

:CASINO4_10141
goto @CASINO4_10220

:CASINO4_10148
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_10213
if 
  255@ == 0
goto_if_false @CASINO4_10213
277@ = 1

:CASINO4_10213
goto @CASINO4_10220

:CASINO4_10220
if or
  Char.IsDead(72@)
  Char.IsDead(71@)
goto_if_false @CASINO4_10349
Text.ClearPrints
if and
  Char.IsDead(71@)
  Char.IsDead(72@)
goto_if_false @CASINO4_10287
Text.Print('CAS4_47', 3000, 1)
goto @CASINO4_10342

:CASINO4_10287
if 
  Char.IsDead(71@)
goto_if_false @CASINO4_10326
Text.Print('CAS4_05', 3000, 1)
goto @CASINO4_10342

:CASINO4_10326
Text.Print('CAS4_04', 3000, 1)

:CASINO4_10342
goto @CASINO4_45872

:CASINO4_10349
if 
  121@ == 0
goto_if_false @CASINO4_11039
if and
  119@ == 0
  120@ == 0
goto_if_false @CASINO4_10591
if 
  135@ > 1
goto_if_false @CASINO4_10504
if 
  132@ <> 0
goto_if_false @CASINO4_10497
Text.ClearThisPrint('CAS4_19')
Text.ClearThisPrint('CAS4_03')
Text.ClearThisPrint('CAS4_02')
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_10497
Text.Print('CAS4_37', 7000, 1)
132@ = 0

:CASINO4_10497
goto @CASINO4_10591

:CASINO4_10504
if 
  132@ <> 1
goto_if_false @CASINO4_10591
Text.ClearThisPrint('CAS4_37')
Text.ClearThisPrint('CAS4_03')
Text.ClearThisPrint('CAS4_02')
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_10591
Text.Print('CAS4_19', 7000, 1)
132@ = 1

:CASINO4_10591
if and
  119@ == 1
  120@ == 0
goto_if_false @CASINO4_10815
if 
  135@ > 0
goto_if_false @CASINO4_10728
if 
  132@ <> 2
goto_if_false @CASINO4_10721
Text.ClearThisPrint('CAS4_19')
Text.ClearThisPrint('CAS4_37')
Text.ClearThisPrint('CAS4_02')
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_10721
Text.Print('CAS4_03', 7000, 1)
132@ = 2

:CASINO4_10721
goto @CASINO4_10815

:CASINO4_10728
if 
  132@ <> 3
goto_if_false @CASINO4_10815
Text.ClearThisPrint('CAS4_37')
Text.ClearThisPrint('CAS4_03')
Text.ClearThisPrint('CAS4_02')
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_10815
Text.Print('CAS4_19', 7000, 1)
132@ = 3

:CASINO4_10815
if and
  119@ == 0
  120@ == 1
goto_if_false @CASINO4_11039
if 
  135@ > 0
goto_if_false @CASINO4_10952
if 
  132@ <> 4
goto_if_false @CASINO4_10945
Text.ClearThisPrint('CAS4_19')
Text.ClearThisPrint('CAS4_03')
Text.ClearThisPrint('CAS4_37')
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_10945
Text.Print('CAS4_02', 7000, 1)
132@ = 4

:CASINO4_10945
goto @CASINO4_11039

:CASINO4_10952
if 
  132@ <> 5
goto_if_false @CASINO4_11039
Text.ClearThisPrint('CAS4_37')
Text.ClearThisPrint('CAS4_03')
Text.ClearThisPrint('CAS4_02')
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_11039
Text.Print('CAS4_19', 7000, 1)
132@ = 5

:CASINO4_11039
if 
  126@ == 0
goto_if_false @CASINO4_18462
if 
  129@ == 1
goto_if_false @CASINO4_18271
if 
  TIMERA > 30000
goto_if_false @CASINO4_18264
if 
  252@ <> 0
goto_if_false @CASINO4_11487
if 
  255@ == 0
goto_if_false @CASINO4_11158
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_11151
Audio.ClearMissionAudio(254@)

:CASINO4_11151
255@ = 1

:CASINO4_11158
if 
  255@ == 1
goto_if_false @CASINO4_11195
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_11195
if 
  255@ == 2
goto_if_false @CASINO4_11309
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_11309
Audio.PlayMissionAudio(253@)
if 
  252@ <> 65
goto_if_false @CASINO4_11302
if 
  252@ <> 67
goto_if_false @CASINO4_11302
if 
  252@ <> 78
goto_if_false @CASINO4_11302
Text.PrintNow($7537(252@,114s), 10000, 1)

:CASINO4_11302
255@ = 3

:CASINO4_11309
if 
  255@ == 3
goto_if_false @CASINO4_11487
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_11426
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_11391
253@ = 2
254@ = 1
goto @CASINO4_11405

:CASINO4_11391
253@ = 1
254@ = 2

:CASINO4_11405
252@ = 0
255@ = 0
goto @CASINO4_11487

:CASINO4_11426
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_11487
if 
  110 > 252@
goto_if_false @CASINO4_11487
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_11487
if 
  287@ <> 0
goto_if_false @CASINO4_11721
if 
  288@ == 0
goto_if_false @CASINO4_11549
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @CASINO4_11542
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:CASINO4_11542
288@ = 1

:CASINO4_11549
if 
  288@ == 1
goto_if_false @CASINO4_11585
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 285@(287@,2i))
288@ = 2

:CASINO4_11585
if 
  288@ == 2
goto_if_false @CASINO4_11670
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @CASINO4_11670
if 
  287@ == 1
goto_if_false @CASINO4_11659
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_11659
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot3, 71@)

:CASINO4_11659
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
288@ = 3

:CASINO4_11670
if 
  288@ == 3
goto_if_false @CASINO4_11721
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @CASINO4_11721
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
287@ = 0
288@ = 0

:CASINO4_11721
if 
  5 > 122@
goto_if_false @CASINO4_15662
if and
  not Char.IsDead(72@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_15655
if 
  122@ == 0
goto_if_false @CASINO4_12691
if 
  263@ == 1
goto_if_false @CASINO4_12684
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_12684
switch_start 280@ {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @CASINO4_12583 {caseNum1} 0 {caseLabel1} @CASINO4_11937 {caseNum2} 1 {caseLabel2} @CASINO4_11995 {caseNum3} 2 {caseLabel3} @CASINO4_12079 {caseNum4} 3 {caseLabel4} @CASINO4_12163 {caseNum5} 4 {caseLabel5} @CASINO4_12247 {caseNum6} 5 {caseLabel6} @CASINO4_12331 {caseNum7} 6 {caseLabel7} @CASINO4_12415
switch_continued 7 {caseLabel1} @CASINO4_12499 {caseNum2} -1 {caseLabel2} @CASINO4_12684 {caseNum3} -1 {caseLabel3} @CASINO4_12684 {caseNum4} -1 {caseLabel4} @CASINO4_12684 {caseNum5} -1 {caseLabel5} @CASINO4_12684 {caseNum6} -1 {caseLabel6} @CASINO4_12684 {caseNum7} -1 {caseLabel7} @CASINO4_12684 {caseNum8} -1 {caseLabel8} @CASINO4_12684 {caseNum9} -1 {caseLabel9} @CASINO4_12684

:CASINO4_11937
Char.ShutUpForScriptedSpeech(72@, True)
Char.ShutUpForScriptedSpeech(71@, True)
if 
  255@ == 0
goto_if_false @CASINO4_11988
252@ = 62
280@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_11988
goto @CASINO4_12684

:CASINO4_11995
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_12072
if 
  255@ == 0
goto_if_false @CASINO4_12072
252@ = 63
280@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_12072
goto @CASINO4_12684

:CASINO4_12079
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_12156
if 
  255@ == 0
goto_if_false @CASINO4_12156
252@ = 64
280@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_12156
goto @CASINO4_12684

:CASINO4_12163
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_12240
if 
  255@ == 0
goto_if_false @CASINO4_12240
252@ = 65
280@ = 4
260@ = Clock.GetGameTimer()

:CASINO4_12240
goto @CASINO4_12684

:CASINO4_12247
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_12324
if 
  255@ == 0
goto_if_false @CASINO4_12324
252@ = 66
280@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_12324
goto @CASINO4_12684

:CASINO4_12331
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_12408
if 
  255@ == 0
goto_if_false @CASINO4_12408
252@ = 67
280@ = 6
260@ = Clock.GetGameTimer()

:CASINO4_12408
goto @CASINO4_12684

:CASINO4_12415
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_12492
if 
  255@ == 0
goto_if_false @CASINO4_12492
252@ = 68
280@ = 7
260@ = Clock.GetGameTimer()

:CASINO4_12492
goto @CASINO4_12684

:CASINO4_12499
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_12576
if 
  255@ == 0
goto_if_false @CASINO4_12576
252@ = 69
280@ = 8
260@ = Clock.GetGameTimer()

:CASINO4_12576
goto @CASINO4_12684

:CASINO4_12583
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_12677
if 
  255@ == 0
goto_if_false @CASINO4_12677
132@ = 99
Streaming.RequestAnimation("FOOD")
TIMERB = 0
280@ = 0
122@ = 1

:CASINO4_12677
goto @CASINO4_12684

:CASINO4_12684
goto @CASINO4_15655

:CASINO4_12691
if 
  122@ == 1
goto_if_false @CASINO4_14093
if 
  TIMERB > 5000
goto_if_false @CASINO4_13925
switch_start 280@ {numCases} 12 {hasDefaultCase} 1 {defaultLabel} @CASINO4_13824 {caseNum1} 0 {caseLabel1} @CASINO4_12856 {caseNum2} 1 {caseLabel2} @CASINO4_12900 {caseNum3} 2 {caseLabel3} @CASINO4_12984 {caseNum4} 3 {caseLabel4} @CASINO4_13068 {caseNum5} 4 {caseLabel5} @CASINO4_13152 {caseNum6} 5 {caseLabel6} @CASINO4_13236 {caseNum7} 6 {caseLabel7} @CASINO4_13320
switch_continued 7 {caseLabel1} @CASINO4_13404 {caseNum2} 8 {caseLabel2} @CASINO4_13488 {caseNum3} 9 {caseLabel3} @CASINO4_13572 {caseNum4} 10 {caseLabel4} @CASINO4_13656 {caseNum5} 11 {caseLabel5} @CASINO4_13740 {caseNum6} -1 {caseLabel6} @CASINO4_13918 {caseNum7} -1 {caseLabel7} @CASINO4_13918 {caseNum8} -1 {caseLabel8} @CASINO4_13918 {caseNum9} -1 {caseLabel9} @CASINO4_13918

:CASINO4_12856
if 
  255@ == 0
goto_if_false @CASINO4_12893
252@ = 70
280@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_12893
goto @CASINO4_13918

:CASINO4_12900
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_12977
if 
  255@ == 0
goto_if_false @CASINO4_12977
252@ = 71
280@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_12977
goto @CASINO4_13918

:CASINO4_12984
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_13061
if 
  255@ == 0
goto_if_false @CASINO4_13061
252@ = 72
280@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_13061
goto @CASINO4_13918

:CASINO4_13068
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_13145
if 
  255@ == 0
goto_if_false @CASINO4_13145
252@ = 73
280@ = 4
260@ = Clock.GetGameTimer()

:CASINO4_13145
goto @CASINO4_13918

:CASINO4_13152
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_13229
if 
  255@ == 0
goto_if_false @CASINO4_13229
252@ = 74
280@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_13229
goto @CASINO4_13918

:CASINO4_13236
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_13313
if 
  255@ == 0
goto_if_false @CASINO4_13313
252@ = 75
280@ = 6
260@ = Clock.GetGameTimer()

:CASINO4_13313
goto @CASINO4_13918

:CASINO4_13320
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_13397
if 
  255@ == 0
goto_if_false @CASINO4_13397
252@ = 76
280@ = 7
260@ = Clock.GetGameTimer()

:CASINO4_13397
goto @CASINO4_13918

:CASINO4_13404
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_13481
if 
  255@ == 0
goto_if_false @CASINO4_13481
252@ = 77
280@ = 8
260@ = Clock.GetGameTimer()

:CASINO4_13481
goto @CASINO4_13918

:CASINO4_13488
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_13565
if 
  255@ == 0
goto_if_false @CASINO4_13565
252@ = 78
280@ = 9
260@ = Clock.GetGameTimer()

:CASINO4_13565
goto @CASINO4_13918

:CASINO4_13572
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_13649
if 
  255@ == 0
goto_if_false @CASINO4_13649
252@ = 79
280@ = 10
260@ = Clock.GetGameTimer()

:CASINO4_13649
goto @CASINO4_13918

:CASINO4_13656
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_13733
if 
  255@ == 0
goto_if_false @CASINO4_13733
252@ = 80
280@ = 11
260@ = Clock.GetGameTimer()

:CASINO4_13733
goto @CASINO4_13918

:CASINO4_13740
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_13817
if 
  255@ == 0
goto_if_false @CASINO4_13817
252@ = 81
280@ = 12
260@ = Clock.GetGameTimer()

:CASINO4_13817
goto @CASINO4_13918

:CASINO4_13824
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_13911
if 
  255@ == 0
goto_if_false @CASINO4_13911
TIMERA = 0
124@ = 0
128@ = 1
122@ = 9999

:CASINO4_13911
goto @CASINO4_13918

:CASINO4_13918
goto @CASINO4_14086

:CASINO4_13925
if and
  Streaming.HasAnimationLoaded("FOOD")
  Car.IsStopped(77@)
goto_if_false @CASINO4_14086
95@, 96@, 97@ = Car.GetOffsetInWorldCoords(77@, 4.0, 2.0, 0.0)
89@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 95@, 96@, 97@, MoveState.Sprint, 5000)
Task.PlayAnim(-1, "EAT_VOMIT_P", "FOOD", 1004.0, False, False, False, False, -1)
Task.EnterCarAsPassenger(-1, 77@, -2, -1)
Sequence.Close(89@)
Char.PerformSequence(72@, 89@)
Sequence.Clear(89@)
122@ = 2
124@ = 1

:CASINO4_14086
goto @CASINO4_15655

:CASINO4_14093
if 
  122@ <> 3
goto_if_false @CASINO4_14961
if 
  3 > 122@
goto_if_false @CASINO4_14961
switch_start 280@ {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @CASINO4_14889 {caseNum1} 0 {caseLabel1} @CASINO4_14257 {caseNum2} 1 {caseLabel2} @CASINO4_14301 {caseNum3} 2 {caseLabel3} @CASINO4_14385 {caseNum4} 3 {caseLabel4} @CASINO4_14469 {caseNum5} 4 {caseLabel5} @CASINO4_14553 {caseNum6} 5 {caseLabel6} @CASINO4_14637 {caseNum7} 6 {caseLabel7} @CASINO4_14721
switch_continued 7 {caseLabel1} @CASINO4_14805 {caseNum2} -1 {caseLabel2} @CASINO4_14961 {caseNum3} -1 {caseLabel3} @CASINO4_14961 {caseNum4} -1 {caseLabel4} @CASINO4_14961 {caseNum5} -1 {caseLabel5} @CASINO4_14961 {caseNum6} -1 {caseLabel6} @CASINO4_14961 {caseNum7} -1 {caseLabel7} @CASINO4_14961 {caseNum8} -1 {caseLabel8} @CASINO4_14961 {caseNum9} -1 {caseLabel9} @CASINO4_14961

:CASINO4_14257
if 
  255@ == 0
goto_if_false @CASINO4_14294
252@ = 70
280@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_14294
goto @CASINO4_14961

:CASINO4_14301
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_14378
if 
  255@ == 0
goto_if_false @CASINO4_14378
252@ = 71
280@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_14378
goto @CASINO4_14961

:CASINO4_14385
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_14462
if 
  255@ == 0
goto_if_false @CASINO4_14462
252@ = 72
280@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_14462
goto @CASINO4_14961

:CASINO4_14469
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_14546
if 
  255@ == 0
goto_if_false @CASINO4_14546
252@ = 73
280@ = 4
260@ = Clock.GetGameTimer()

:CASINO4_14546
goto @CASINO4_14961

:CASINO4_14553
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_14630
if 
  255@ == 0
goto_if_false @CASINO4_14630
252@ = 74
280@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_14630
goto @CASINO4_14961

:CASINO4_14637
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_14714
if 
  255@ == 0
goto_if_false @CASINO4_14714
252@ = 75
280@ = 6
260@ = Clock.GetGameTimer()

:CASINO4_14714
goto @CASINO4_14961

:CASINO4_14721
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_14798
if 
  255@ == 0
goto_if_false @CASINO4_14798
252@ = 76
280@ = 7
260@ = Clock.GetGameTimer()

:CASINO4_14798
goto @CASINO4_14961

:CASINO4_14805
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_14882
if 
  255@ == 0
goto_if_false @CASINO4_14882
252@ = 77
280@ = 8
260@ = Clock.GetGameTimer()

:CASINO4_14882
goto @CASINO4_14961

:CASINO4_14889
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_14954
if 
  255@ == 0
goto_if_false @CASINO4_14954
281@ = 1

:CASINO4_14954
goto @CASINO4_14961

:CASINO4_14961
if 
  122@ == 2
goto_if_false @CASINO4_15183
90@ = Char.GetScriptTaskStatus(72@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_15051
Streaming.RemoveAnimation("FOOD")
122@ = 5
128@ = 1
124@ = 0
TIMERA = 0
goto @CASINO4_15176

:CASINO4_15051
if 
  Char.IsPlayingAnim(72@, "EAT_VOMIT_P")
goto_if_false @CASINO4_15176
95@, 96@, 97@ = Char.GetOffsetInWorldCoords(72@, 0.355, -0.116, 0.048)
94@ = Char.GetAnimCurrentTime(72@, "EAT_VOMIT_P")
136@ = Particle.Create("PUKE", 95@, 96@, 97@, 1)
134@ = 0
94@ = 0.0
122@ = 3

:CASINO4_15176
goto @CASINO4_15655

:CASINO4_15183
if 
  122@ == 3
goto_if_false @CASINO4_15555
90@ = Char.GetScriptTaskStatus(72@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_15301
Streaming.RemoveAnimation("FOOD")
122@ = 5
128@ = 1
124@ = 0
if 
  134@ == 1
goto_if_false @CASINO4_15294
Particle.Stop(136@)
Particle.Kill(136@)
134@ = 0

:CASINO4_15294
TIMERA = 0

:CASINO4_15301
if 
  94@ <> 1.0
goto_if_false @CASINO4_15510
if 
  134@ == 0
goto_if_false @CASINO4_15403
if 
  94@ >= 0.42
goto_if_false @CASINO4_15403
Particle.Play(136@)
if 
  255@ == 0
goto_if_false @CASINO4_15396
252@ = 78
260@ = Clock.GetGameTimer()

:CASINO4_15396
134@ = 1

:CASINO4_15403
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_15493
if 
  Char.IsPlayingAnim(72@, "EAT_VOMIT_P")
goto_if_false @CASINO4_15476
94@ = Char.GetAnimCurrentTime(72@, "EAT_VOMIT_P")
goto @CASINO4_15486

:CASINO4_15476
94@ = 1.0

:CASINO4_15486
goto @CASINO4_15503

:CASINO4_15493
94@ = 1.0

:CASINO4_15503
goto @CASINO4_15548

:CASINO4_15510
Particle.Stop(136@)
Particle.Kill(136@)
TIMERA = 0
134@ = 0
124@ = 0
122@ = 4

:CASINO4_15548
goto @CASINO4_15655

:CASINO4_15555
90@ = Char.GetScriptTaskStatus(72@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_15655
Streaming.RemoveAnimation("FOOD")
122@ = 5
128@ = 1
124@ = 0
TIMERA = 0
if 
  134@ == 1
goto_if_false @CASINO4_15655
Particle.Stop(136@)
Particle.Kill(136@)
134@ = 0

:CASINO4_15655
goto @CASINO4_18264

:CASINO4_15662
if 
  5 > 123@
goto_if_false @CASINO4_18208
if and
  not Char.IsDead(71@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_18201
if 
  123@ == 0
goto_if_false @CASINO4_16308
if 
  265@ == 1
goto_if_false @CASINO4_16294
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_16294
switch_start 278@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @CASINO4_16193 {caseNum1} 0 {caseLabel1} @CASINO4_15813 {caseNum2} 1 {caseLabel2} @CASINO4_15857 {caseNum3} 2 {caseLabel3} @CASINO4_15941 {caseNum4} 3 {caseLabel4} @CASINO4_16025 {caseNum5} 4 {caseLabel5} @CASINO4_16109 {caseNum6} -1 {caseLabel6} @CASINO4_16294 {caseNum7} -1 {caseLabel7} @CASINO4_16294

:CASINO4_15813
if 
  255@ == 0
goto_if_false @CASINO4_15850
252@ = 50
278@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_15850
goto @CASINO4_16294

:CASINO4_15857
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_15934
if 
  255@ == 0
goto_if_false @CASINO4_15934
252@ = 51
278@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_15934
goto @CASINO4_16294

:CASINO4_15941
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_16018
if 
  255@ == 0
goto_if_false @CASINO4_16018
252@ = 52
278@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_16018
goto @CASINO4_16294

:CASINO4_16025
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_16102
if 
  255@ == 0
goto_if_false @CASINO4_16102
252@ = 53
278@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_16102
goto @CASINO4_16294

:CASINO4_16109
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_16186
if 
  255@ == 0
goto_if_false @CASINO4_16186
252@ = 54
278@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_16186
goto @CASINO4_16294

:CASINO4_16193
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_16287
if 
  255@ == 0
goto_if_false @CASINO4_16287
132@ = 99
Streaming.RequestAnimation("FOOD")
TIMERB = 0
278@ = 0
123@ = 1

:CASINO4_16287
goto @CASINO4_16294

:CASINO4_16294
279@ = 0
goto @CASINO4_18201

:CASINO4_16308
if 
  123@ == 1
goto_if_false @CASINO4_17262
if 
  TIMERB > 5000
goto_if_false @CASINO4_17011
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_17004
switch_start 278@ {numCases} 6 {hasDefaultCase} 1 {defaultLabel} @CASINO4_16892 {caseNum1} 0 {caseLabel1} @CASINO4_16421 {caseNum2} 1 {caseLabel2} @CASINO4_16465 {caseNum3} 2 {caseLabel3} @CASINO4_16549 {caseNum4} 3 {caseLabel4} @CASINO4_16640 {caseNum5} 4 {caseLabel5} @CASINO4_16724 {caseNum6} 5 {caseLabel6} @CASINO4_16808 {caseNum7} -1 {caseLabel7} @CASINO4_17004

:CASINO4_16421
if 
  255@ == 0
goto_if_false @CASINO4_16458
252@ = 55
278@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_16458
goto @CASINO4_17004

:CASINO4_16465
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_16542
if 
  255@ == 0
goto_if_false @CASINO4_16542
252@ = 56
278@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_16542
goto @CASINO4_17004

:CASINO4_16549
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_16633
if 
  255@ == 0
goto_if_false @CASINO4_16633
252@ = 57
278@ = 5
287@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_16633
goto @CASINO4_17004

:CASINO4_16640
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_16717
if 
  255@ == 0
goto_if_false @CASINO4_16717
252@ = 58
278@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_16717
goto @CASINO4_17004

:CASINO4_16724
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_16801
if 
  255@ == 0
goto_if_false @CASINO4_16801
252@ = 58
278@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_16801
goto @CASINO4_17004

:CASINO4_16808
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_16885
if 
  255@ == 0
goto_if_false @CASINO4_16885
252@ = 59
278@ = 6
260@ = Clock.GetGameTimer()

:CASINO4_16885
goto @CASINO4_17004

:CASINO4_16892
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_16997
if 
  255@ == 0
goto_if_false @CASINO4_16997
132@ = 99
TIMERA = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
287@ = 0
288@ = 0
125@ = 0
123@ = 9999

:CASINO4_16997
goto @CASINO4_17004

:CASINO4_17004
goto @CASINO4_17255

:CASINO4_17011
if and
  Streaming.HasAnimationLoaded("PAULNMAC")
  Car.IsStopped(77@)
goto_if_false @CASINO4_17255
95@, 96@, 97@ = Car.GetOffsetInWorldCoords(77@, 4.0, 2.0, 0.0)
89@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 95@, 96@, 97@, MoveState.Sprint, 5000)
Task.PlayAnim(-1, "PISS_IN", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PISS_LOOP", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PISS_OUT", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.EnterCarAsPassenger(-1, 77@, -2, -1)
Sequence.Close(89@)
Char.PerformSequence(71@, 89@)
Sequence.Clear(89@)
123@ = 2
125@ = 1

:CASINO4_17255
goto @CASINO4_18201

:CASINO4_17262
if 
  123@ == 2
goto_if_false @CASINO4_17570
90@ = Char.GetScriptTaskStatus(71@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_17330
123@ = 5
125@ = 0
goto @CASINO4_17563

:CASINO4_17330
if 
  is_int_lvar_equal_to_constant 90@ == 1
goto_if_false @CASINO4_17413
90@ = Char.GetSequenceProgress(71@)
if 
  90@ > 4
goto_if_false @CASINO4_17413
if 
  133@ == 1
goto_if_false @CASINO4_17413
Particle.Stop(137@)
Particle.Kill(137@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
133@ = 0

:CASINO4_17413
if 
  Char.IsPlayingAnim(71@, "PISS_IN")
goto_if_false @CASINO4_17563
95@, 96@, 97@ = Char.GetOffsetInWorldCoords(71@, 0.0, 0.0, -0.2)
94@ = Char.GetAnimCurrentTime(71@, "PISS_IN")
137@ = Particle.CreateOnCharWithDirection("PETROLCAN", 71@, 0.0, 0.116, 0.048, 95@, 96@, 97@, 1)
Particle.AttachToCharBone(137@, 71@, 1)
94@ = 0.0
123@ = 3
133@ = 0

:CASINO4_17563
goto @CASINO4_18201

:CASINO4_17570
if 
  123@ == 3
goto_if_false @CASINO4_17925
90@ = Char.GetScriptTaskStatus(71@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_17677
123@ = 5
125@ = 0
if 
  133@ == 1
goto_if_false @CASINO4_17670
Particle.Stop(137@)
Particle.Kill(137@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
133@ = 0

:CASINO4_17670
goto @CASINO4_17760

:CASINO4_17677
if 
  is_int_lvar_equal_to_constant 90@ == 1
goto_if_false @CASINO4_17760
90@ = Char.GetSequenceProgress(71@)
if 
  90@ > 4
goto_if_false @CASINO4_17760
if 
  133@ == 1
goto_if_false @CASINO4_17760
Particle.Stop(137@)
Particle.Kill(137@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
133@ = 0

:CASINO4_17760
if 
  Char.IsPlayingAnim(71@, "PISS_IN")
goto_if_false @CASINO4_17918
94@ = Char.GetAnimCurrentTime(71@, "PISS_IN")
if 
  94@ <> 1.0
goto_if_false @CASINO4_17918
if 
  133@ == 0
goto_if_false @CASINO4_17918
if 
  94@ >= 0.6
goto_if_false @CASINO4_17918
if 
  255@ == 0
goto_if_false @CASINO4_17892
252@ = 60
260@ = Clock.GetGameTimer()

:CASINO4_17892
Particle.Play(137@)
287@ = 1
133@ = 1
123@ = 4

:CASINO4_17918
goto @CASINO4_18201

:CASINO4_17925
90@ = Char.GetScriptTaskStatus(71@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_18014
123@ = 5
125@ = 0
if 
  133@ == 1
goto_if_false @CASINO4_18007
Particle.Stop(137@)
Particle.Kill(137@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
133@ = 0

:CASINO4_18007
goto @CASINO4_18097

:CASINO4_18014
if 
  is_int_lvar_equal_to_constant 90@ == 1
goto_if_false @CASINO4_18097
90@ = Char.GetSequenceProgress(71@)
if 
  90@ > 4
goto_if_false @CASINO4_18097
if 
  133@ == 1
goto_if_false @CASINO4_18097
Particle.Stop(137@)
Particle.Kill(137@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
133@ = 0

:CASINO4_18097
if 
  Char.IsPlayingAnim(71@, "PISS_OUT")
goto_if_false @CASINO4_18201
94@ = Char.GetAnimCurrentTime(71@, "PISS_OUT")
if 
  133@ == 1
goto_if_false @CASINO4_18201
if 
  94@ >= 0.42
goto_if_false @CASINO4_18201
Particle.Stop(137@)
Particle.Kill(137@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
133@ = 0

:CASINO4_18201
goto @CASINO4_18264

:CASINO4_18208
125@ = 0
126@ = 1
if and
  not Char.IsDead(71@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_18264
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech(72@, False)
Char.ShutUpForScriptedSpeech(71@, False)

:CASINO4_18264
goto @CASINO4_18455

:CASINO4_18271
if 
  125@ == 1
goto_if_false @CASINO4_18359
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_18317
Char.ClearTasks(71@)
Char.ShutUpForScriptedSpeech(71@, False)

:CASINO4_18317
Particle.Stop(137@)
Particle.Kill(137@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
123@ = 5
125@ = 0
133@ = 0
126@ = 1

:CASINO4_18359
if 
  124@ == 1
goto_if_false @CASINO4_18455
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_18405
Char.ClearTasks(72@)
Char.ShutUpForScriptedSpeech(72@, False)

:CASINO4_18405
Particle.Stop(136@)
Particle.Kill(136@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Streaming.RemoveAnimation("FOOD")
122@ = 5
128@ = 1
124@ = 0
134@ = 0

:CASINO4_18455
goto @CASINO4_18532

:CASINO4_18462
if 
  133@ == 1
goto_if_false @CASINO4_18497
Particle.Stop(137@)
Particle.Kill(137@)
133@ = 0

:CASINO4_18497
if 
  134@ == 1
goto_if_false @CASINO4_18532
Particle.Stop(136@)
Particle.Kill(136@)
134@ = 0

:CASINO4_18532
if and
  120@ == 1
  119@ == 1
goto_if_false @CASINO4_18733
129@ = 1
if 
  52@ == 0
goto_if_false @CASINO4_18726
if and
  124@ == 0
  125@ == 0
goto_if_false @CASINO4_18726
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_18726
if and
  Char.IsSittingInCar(72@, 77@)
  Char.IsSittingInCar(71@, 77@)
goto_if_false @CASINO4_18726
TIMERA = 0
Text.ClearPrints
Text.Print('CAS4_16', 8000, 1)
70@ = Blip.AddForCoord(-24.0, 2331.0, 24.0)
52@ = 1
272@ = 0
273@ = 0

:CASINO4_18726
goto @CASINO4_20438

:CASINO4_18733
129@ = 0
if 
  52@ == 1
goto_if_false @CASINO4_18770
Blip.Remove(70@)
52@ = 0

:CASINO4_18770
if 
  272@ == 0
goto_if_false @CASINO4_19152
if 
  252@ <> 0
goto_if_false @CASINO4_19152
if 
  255@ == 0
goto_if_false @CASINO4_18852
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_18845
Audio.ClearMissionAudio(254@)

:CASINO4_18845
255@ = 1

:CASINO4_18852
if 
  255@ == 1
goto_if_false @CASINO4_18889
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_18889
if 
  255@ == 2
goto_if_false @CASINO4_18974
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_18974
Audio.PlayMissionAudio(253@)
if or
  252@ == 7
  252@ == 8
goto_if_false @CASINO4_18967
Text.PrintNow($7537(252@,114s), 10000, 1)

:CASINO4_18967
255@ = 3

:CASINO4_18974
if 
  255@ == 3
goto_if_false @CASINO4_19152
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_19091
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_19056
253@ = 2
254@ = 1
goto @CASINO4_19070

:CASINO4_19056
253@ = 1
254@ = 2

:CASINO4_19070
252@ = 0
255@ = 0
goto @CASINO4_19152

:CASINO4_19091
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_19152
if 
  110 > 252@
goto_if_false @CASINO4_19152
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_19152
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_20438
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_20438
if or
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 72@, 10.0, 10.0, 5.0, False)
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 71@, 10.0, 10.0, 5.0, False)
goto_if_false @CASINO4_20410
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_20007
284@ = 0
283@ = 1
if 
  272@ == 0
goto_if_false @CASINO4_20000
if and
  120@ == 1
  119@ == 0
goto_if_false @CASINO4_19542
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 72@, 10.0, 10.0, 5.0, False)
goto_if_false @CASINO4_19542
switch_start 273@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @CASINO4_19463 {caseNum1} 0 {caseLabel1} @CASINO4_19419 {caseNum2} -1 {caseLabel2} @CASINO4_19542 {caseNum3} -1 {caseLabel3} @CASINO4_19542 {caseNum4} -1 {caseLabel4} @CASINO4_19542 {caseNum5} -1 {caseLabel5} @CASINO4_19542 {caseNum6} -1 {caseLabel6} @CASINO4_19542 {caseNum7} -1 {caseLabel7} @CASINO4_19542

:CASINO4_19419
if 
  255@ == 0
goto_if_false @CASINO4_19456
252@ = 40
273@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_19456
goto @CASINO4_19542

:CASINO4_19463
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_19535
if 
  255@ == 0
goto_if_false @CASINO4_19535
273@ = 0
272@ = 1

:CASINO4_19535
goto @CASINO4_19542

:CASINO4_19542
if and
  120@ == 0
  119@ == 1
goto_if_false @CASINO4_19789
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 71@, 10.0, 10.0, 5.0, False)
goto_if_false @CASINO4_19789
switch_start 273@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @CASINO4_19710 {caseNum1} 0 {caseLabel1} @CASINO4_19666 {caseNum2} -1 {caseLabel2} @CASINO4_19789 {caseNum3} -1 {caseLabel3} @CASINO4_19789 {caseNum4} -1 {caseLabel4} @CASINO4_19789 {caseNum5} -1 {caseLabel5} @CASINO4_19789 {caseNum6} -1 {caseLabel6} @CASINO4_19789 {caseNum7} -1 {caseLabel7} @CASINO4_19789

:CASINO4_19666
if 
  255@ == 0
goto_if_false @CASINO4_19703
252@ = 39
273@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_19703
goto @CASINO4_19789

:CASINO4_19710
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_19782
if 
  255@ == 0
goto_if_false @CASINO4_19782
273@ = 0
272@ = 1

:CASINO4_19782
goto @CASINO4_19789

:CASINO4_19789
if and
  120@ == 0
  119@ == 0
goto_if_false @CASINO4_20000
switch_start 273@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @CASINO4_19921 {caseNum1} 0 {caseLabel1} @CASINO4_19877 {caseNum2} -1 {caseLabel2} @CASINO4_20000 {caseNum3} -1 {caseLabel3} @CASINO4_20000 {caseNum4} -1 {caseLabel4} @CASINO4_20000 {caseNum5} -1 {caseLabel5} @CASINO4_20000 {caseNum6} -1 {caseLabel6} @CASINO4_20000 {caseNum7} -1 {caseLabel7} @CASINO4_20000

:CASINO4_19877
if 
  255@ == 0
goto_if_false @CASINO4_19914
252@ = 38
273@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_19914
goto @CASINO4_20000

:CASINO4_19921
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_19993
if 
  255@ == 0
goto_if_false @CASINO4_19993
273@ = 0
272@ = 1

:CASINO4_19993
goto @CASINO4_20000

:CASINO4_20000
goto @CASINO4_20403

:CASINO4_20007
272@ = 0
273@ = 0
if 
  284@ == 0
goto_if_false @CASINO4_20403
switch_start 283@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @CASINO4_20293 {caseNum1} 0 {caseLabel1} @CASINO4_20102 {caseNum2} 1 {caseLabel2} @CASINO4_20175 {caseNum3} -1 {caseLabel3} @CASINO4_20403 {caseNum4} -1 {caseLabel4} @CASINO4_20403 {caseNum5} -1 {caseLabel5} @CASINO4_20403 {caseNum6} -1 {caseLabel6} @CASINO4_20403 {caseNum7} -1 {caseLabel7} @CASINO4_20403

:CASINO4_20102
if 
  255@ == 0
goto_if_false @CASINO4_20168
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_20149
Char.StopFacialTalk(71@)
Char.StartFacialTalk(71@, 3000)

:CASINO4_20149
252@ = 7
283@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_20168
goto @CASINO4_20403

:CASINO4_20175
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_20286
if 
  255@ == 0
goto_if_false @CASINO4_20286
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_20267
Char.StopFacialTalk(71@)
Char.StartFacialTalk(72@, 3000)

:CASINO4_20267
252@ = 8
283@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_20286
goto @CASINO4_20403

:CASINO4_20293
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_20396
if 
  255@ == 0
goto_if_false @CASINO4_20396
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_20382
Char.StopFacialTalk(71@)
Char.StopFacialTalk(72@)

:CASINO4_20382
283@ = 0
284@ = 1

:CASINO4_20396
goto @CASINO4_20403

:CASINO4_20403
goto @CASINO4_20438

:CASINO4_20410
272@ = 0
273@ = 0
284@ = 0
283@ = 1

:CASINO4_20438
if 
  52@ == 1
goto_if_false @CASINO4_22506
if and
  124@ == 0
  125@ == 0
goto_if_false @CASINO4_22476
if 
  265@ == 0
goto_if_false @CASINO4_22469
if 
  252@ <> 0
goto_if_false @CASINO4_20838
if 
  255@ == 0
goto_if_false @CASINO4_20563
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_20556
Audio.ClearMissionAudio(254@)

:CASINO4_20556
255@ = 1

:CASINO4_20563
if 
  255@ == 1
goto_if_false @CASINO4_20600
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_20600
if 
  255@ == 2
goto_if_false @CASINO4_20660
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_20660
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_20660
if 
  255@ == 3
goto_if_false @CASINO4_20838
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_20777
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_20742
253@ = 2
254@ = 1
goto @CASINO4_20756

:CASINO4_20742
253@ = 1
254@ = 2

:CASINO4_20756
252@ = 0
255@ = 0
goto @CASINO4_20838

:CASINO4_20777
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_20838
if 
  110 > 252@
goto_if_false @CASINO4_20838
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_20838
if 
  263@ == 0
goto_if_false @CASINO4_21502
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_21495
switch_start 262@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @CASINO4_21354 {caseNum1} 0 {caseLabel1} @CASINO4_20932 {caseNum2} 1 {caseLabel2} @CASINO4_21018 {caseNum3} 2 {caseLabel3} @CASINO4_21102 {caseNum4} 3 {caseLabel4} @CASINO4_21186 {caseNum5} 4 {caseLabel5} @CASINO4_21270 {caseNum6} -1 {caseLabel6} @CASINO4_21495 {caseNum7} -1 {caseLabel7} @CASINO4_21495

:CASINO4_20932
if 
  255@ == 0
goto_if_false @CASINO4_21011
if and
  not Char.IsDead(71@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_20992
Char.ShutUpForScriptedSpeech(72@, True)
Char.ShutUpForScriptedSpeech(71@, True)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:CASINO4_20992
252@ = 20
262@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_21011
goto @CASINO4_21495

:CASINO4_21018
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_21095
if 
  255@ == 0
goto_if_false @CASINO4_21095
252@ = 21
262@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_21095
goto @CASINO4_21495

:CASINO4_21102
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_21179
if 
  255@ == 0
goto_if_false @CASINO4_21179
252@ = 22
262@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_21179
goto @CASINO4_21495

:CASINO4_21186
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_21263
if 
  255@ == 0
goto_if_false @CASINO4_21263
252@ = 23
262@ = 4
260@ = Clock.GetGameTimer()

:CASINO4_21263
goto @CASINO4_21495

:CASINO4_21270
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_21347
if 
  255@ == 0
goto_if_false @CASINO4_21347
252@ = 24
262@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_21347
goto @CASINO4_21495

:CASINO4_21354
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_21488
if 
  255@ == 0
goto_if_false @CASINO4_21488
if and
  not Char.IsDead(71@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_21454
Char.ShutUpForScriptedSpeech(72@, False)
Char.ShutUpForScriptedSpeech(71@, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:CASINO4_21454
263@ = 1
if 
  TIMERA > 25000
goto_if_false @CASINO4_21488
TIMERA = 25000

:CASINO4_21488
goto @CASINO4_21495

:CASINO4_21495
goto @CASINO4_22469

:CASINO4_21502
if and
  265@ == 0
  128@ == 1
goto_if_false @CASINO4_22469
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_22469
switch_start 264@ {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @CASINO4_22335 {caseNum1} 0 {caseLabel1} @CASINO4_21668 {caseNum2} 1 {caseLabel2} @CASINO4_21747 {caseNum3} 2 {caseLabel3} @CASINO4_21831 {caseNum4} 3 {caseLabel4} @CASINO4_21915 {caseNum5} 4 {caseLabel5} @CASINO4_21999 {caseNum6} 5 {caseLabel6} @CASINO4_22083 {caseNum7} 6 {caseLabel7} @CASINO4_22167
switch_continued 7 {caseLabel1} @CASINO4_22251 {caseNum2} -1 {caseLabel2} @CASINO4_22469 {caseNum3} -1 {caseLabel3} @CASINO4_22469 {caseNum4} -1 {caseLabel4} @CASINO4_22469 {caseNum5} -1 {caseLabel5} @CASINO4_22469 {caseNum6} -1 {caseLabel6} @CASINO4_22469 {caseNum7} -1 {caseLabel7} @CASINO4_22469 {caseNum8} -1 {caseLabel8} @CASINO4_22469 {caseNum9} -1 {caseLabel9} @CASINO4_22469

:CASINO4_21668
if 
  255@ == 0
goto_if_false @CASINO4_21740
if and
  not Char.IsDead(71@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_21721
Char.ShutUpForScriptedSpeech(72@, True)
Char.ShutUpForScriptedSpeech(71@, True)

:CASINO4_21721
252@ = 25
264@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_21740
goto @CASINO4_22469

:CASINO4_21747
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_21824
if 
  255@ == 0
goto_if_false @CASINO4_21824
252@ = 26
264@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_21824
goto @CASINO4_22469

:CASINO4_21831
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_21908
if 
  255@ == 0
goto_if_false @CASINO4_21908
252@ = 27
264@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_21908
goto @CASINO4_22469

:CASINO4_21915
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_21992
if 
  255@ == 0
goto_if_false @CASINO4_21992
252@ = 28
264@ = 4
260@ = Clock.GetGameTimer()

:CASINO4_21992
goto @CASINO4_22469

:CASINO4_21999
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_22076
if 
  255@ == 0
goto_if_false @CASINO4_22076
252@ = 29
264@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_22076
goto @CASINO4_22469

:CASINO4_22083
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_22160
if 
  255@ == 0
goto_if_false @CASINO4_22160
252@ = 30
264@ = 6
260@ = Clock.GetGameTimer()

:CASINO4_22160
goto @CASINO4_22469

:CASINO4_22167
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_22244
if 
  255@ == 0
goto_if_false @CASINO4_22244
252@ = 31
264@ = 7
260@ = Clock.GetGameTimer()

:CASINO4_22244
goto @CASINO4_22469

:CASINO4_22251
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_22328
if 
  255@ == 0
goto_if_false @CASINO4_22328
252@ = 32
264@ = 8
260@ = Clock.GetGameTimer()

:CASINO4_22328
goto @CASINO4_22469

:CASINO4_22335
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_22462
if 
  255@ == 0
goto_if_false @CASINO4_22462
if and
  not Char.IsDead(71@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_22428
Char.ShutUpForScriptedSpeech(72@, False)
Char.ShutUpForScriptedSpeech(71@, False)

:CASINO4_22428
265@ = 1
if 
  TIMERA > 25000
goto_if_false @CASINO4_22462
TIMERA = 25000

:CASINO4_22462
goto @CASINO4_22469

:CASINO4_22469
goto @CASINO4_22506

:CASINO4_22476
if 
  52@ == 1
goto_if_false @CASINO4_22506
Blip.Remove(70@)
52@ = 0

:CASINO4_22506
if and
  49@ == 1
  60@ == 0
goto_if_false @CASINO4_22724
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -32.0, 2337.0, 24.0, 100.0, 100.0, 20.0, False)
goto_if_false @CASINO4_22724
Car.CustomPlateForNextCar(478, "__TIM___")
78@ = Car.Create(478, -50.0, 2358.0, 24.0)
Car.LockDoors(78@, CarLock.LockoutPlayerOnly)
Car.SetCanBeDamaged(78@, False)
Car.SetHeading(78@, 188.0)
Car.FreezePosition(78@, True)
Car.CustomPlateForNextCar(478, "_TAMMY__")
79@ = Car.Create(478, -46.0, 2355.0, 24.0)
Car.LockDoors(79@, CarLock.LockoutPlayerOnly)
Car.SetHeading(79@, 188.0)
Car.FreezePosition(79@, True)
Car.SetCanBeDamaged(79@, False)
60@ = 1

:CASINO4_22724
if and
  52@ == 1
  51@ == 0
  49@ == 1
goto_if_false @CASINO4_29670
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_29670
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -24.0, 2331.0, 24.0, 4.0, 4.0, 2.0, True)
  Char.LocateAnyMeans3D(72@, -24.0, 2331.0, 24.0, 4.0, 4.0, 2.0, False)
  Char.LocateAnyMeans3D(71@, -24.0, 2331.0, 24.0, 4.0, 4.0, 2.0, False)
goto_if_false @CASINO4_29670
Blip.Remove(70@)
Text.ClearPrints
Audio.ClearMissionAudio(254@)
Audio.ClearMissionAudio(253@)
Camera.SetFixedPosition(-21.46, 2335.33, 23.52, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-49.14, 2356.75, 26.09, SwitchType.JumpCut)
Player.MakeGangDisappear
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
World.ClearArea(-24.0, 2331.0, 24.0, 50.0, True)
Streaming.RemoveAnimation("PAULNMAC")
Streaming.RemoveAnimation("FOOD")
Streaming.RequestAnimation("SMOKING")
Streaming.RequestModel(346)

:CASINO4_23047
if or
  not Streaming.HasAnimationLoaded("SMOKING")
  not Streaming.HasModelLoaded(346)
goto_if_false @CASINO4_23085
wait 0
goto @CASINO4_23047

:CASINO4_23085
73@ = Char.Create(PedType.Mission2, 32, -32.3702, 2348.239, 23.1328)
Char.SetHeading(73@, 180.1098)
Char.SetIsTargetPriority(73@, True)
Char.GiveWeapon(73@, WeaponType.Pistol, 3000)
109@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKSTND_LOOP", "SMOKING", 4.0, True, False, False, False, -1)
Sequence.Close(109@)
Char.PerformSequence(73@, 109@)
Sequence.Clear(109@)
74@ = Char.Create(PedType.Mission2, 34, -34.288, 2350.204, 23.1328)
Char.SetHeading(74@, 177.5823)
Char.SetIsTargetPriority(74@, True)
Char.GiveWeapon(74@, WeaponType.Pistol, 3000)
109@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMKLEAN_LOOP", "SMOKING", 4.0, True, False, False, False, -1)
Sequence.Close(109@)
Char.PerformSequence(74@, 109@)
Sequence.Clear(109@)
Camera.SetFixedPosition(-21.46, 2335.33, 23.52, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-49.14, 2356.75, 26.09, SwitchType.JumpCut)
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_23671
World.ClearArea(-25.7433, 2334.629, 23.1328, 100.0, True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_23495
77@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetMission(77@, CarMission.EmergencyVehicleStop)
Char.WarpFromCarToCoord($stattreadstamina_ctr, -25.7433, 2334.629, 23.1328)
Car.SetCoordinates(77@, -24.0, 2331.0, 24.0)
goto @CASINO4_23515

:CASINO4_23495
Char.SetCoordinates($stattreadstamina_ctr, -25.7433, 2334.629, 23.1328)

:CASINO4_23515
Char.SetHeading($stattreadstamina_ctr, 35.8419)
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_23568
Char.WarpFromCarToCoord(72@, -23.6752, 2335.531, 23.1328)
goto @CASINO4_23588

:CASINO4_23568
Char.SetCoordinates(72@, -23.6752, 2334.531, 23.1328)

:CASINO4_23588
Char.SetHeading(72@, 35.8419)
if 
  Char.IsInAnyCar(71@)
goto_if_false @CASINO4_23641
Char.WarpFromCarToCoord(71@, -27.9403, 2335.105, 23.1328)
goto @CASINO4_23661

:CASINO4_23641
Char.SetCoordinates(71@, -27.9403, 2334.105, 23.1328)

:CASINO4_23661
Char.SetHeading(71@, 35.8419)

:CASINO4_23671
82@ = Sequence.Open()
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_23696
Task.LeaveAnyCar(-1)

:CASINO4_23696
Task.GoStraightToCoord(-1, -31.7411, 2342.68, 23.125, MoveState.Walk, -1)
Task.AchieveHeading(-1, 35.5196)
Sequence.Close(82@)
Char.PerformSequence($stattreadstamina_ctr, 82@)
Sequence.Clear(82@)
DecisionMakerChar.ClearEventResponse(38@, 13)
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_23872
Char.SetProofs(71@, True, True, True, True, True)
Char.RemoveFromGroup(71@)
80@ = Sequence.Open()
if 
  Char.IsInAnyCar(71@)
goto_if_false @CASINO4_23814
Task.LeaveAnyCar(-1)

:CASINO4_23814
Task.GoStraightToCoord(-1, -33.0398, 2342.354, 23.125, MoveState.Walk, -1)
Task.AchieveHeading(-1, 37.553)
Sequence.Close(80@)
Char.PerformSequence(71@, 80@)
Sequence.Clear(80@)
Char.SetDecisionMaker(71@, 38@)

:CASINO4_23872
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_23991
Char.SetProofs(72@, True, True, True, True, True)
Char.RemoveFromGroup(72@)
81@ = Sequence.Open()
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_23933
Task.LeaveAnyCar(-1)

:CASINO4_23933
Task.GoStraightToCoord(-1, -30.0669, 2344.002, 23.125, MoveState.Walk, -1)
Task.AchieveHeading(-1, 19.556)
Sequence.Close(81@)
Char.PerformSequence(72@, 81@)
Sequence.Clear(81@)
Char.SetDecisionMaker(72@, 38@)

:CASINO4_23991
252@ = 0
253@ = 1
254@ = 2
255@ = 0
256@ = 0
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
TIMERB = 0

:CASINO4_24068
wait 0
if 
  256@ == 0
goto_if_false @CASINO4_24887
if 
  252@ <> 0
goto_if_false @CASINO4_24429
if 
  255@ == 0
goto_if_false @CASINO4_24154
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_24147
Audio.ClearMissionAudio(254@)

:CASINO4_24147
255@ = 1

:CASINO4_24154
if 
  255@ == 1
goto_if_false @CASINO4_24191
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_24191
if 
  255@ == 2
goto_if_false @CASINO4_24251
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_24251
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_24251
if 
  255@ == 3
goto_if_false @CASINO4_24429
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_24368
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_24333
253@ = 2
254@ = 1
goto @CASINO4_24347

:CASINO4_24333
253@ = 1
254@ = 2

:CASINO4_24347
252@ = 0
255@ = 0
goto @CASINO4_24429

:CASINO4_24368
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_24429
if 
  110 > 252@
goto_if_false @CASINO4_24429
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_24429
switch_start 257@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @CASINO4_24787 {caseNum1} 0 {caseLabel1} @CASINO4_24492 {caseNum2} 1 {caseLabel2} @CASINO4_24549 {caseNum3} 2 {caseLabel3} @CASINO4_24669 {caseNum4} -1 {caseLabel4} @CASINO4_24880 {caseNum5} -1 {caseLabel5} @CASINO4_24880 {caseNum6} -1 {caseLabel6} @CASINO4_24880 {caseNum7} -1 {caseLabel7} @CASINO4_24880

:CASINO4_24492
if 
  255@ == 0
goto_if_false @CASINO4_24542
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
252@ = 33
257@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_24542
goto @CASINO4_24880

:CASINO4_24549
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_24662
if 
  255@ == 0
goto_if_false @CASINO4_24662
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_24636
Char.StopFacialTalk(71@)
Char.StartFacialTalk(71@, 3000)

:CASINO4_24636
252@ = 34
257@ = 2
skip_cutscene_start_internal @CASINO4_27893
260@ = Clock.GetGameTimer()

:CASINO4_24662
goto @CASINO4_24880

:CASINO4_24669
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_24780
if 
  255@ == 0
goto_if_false @CASINO4_24780
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_24761
Char.StopFacialTalk(71@)
Char.StartFacialTalk(72@, 3000)

:CASINO4_24761
252@ = 35
257@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_24780
goto @CASINO4_24880

:CASINO4_24787
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_24873
if 
  255@ == 0
goto_if_false @CASINO4_24873
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_24866
Char.StopFacialTalk(72@)

:CASINO4_24866
256@ = 1

:CASINO4_24873
goto @CASINO4_24880

:CASINO4_24880
goto @CASINO4_24068

:CASINO4_24887
53@ = 0

:CASINO4_24894
if 
  53@ == 0
goto_if_false @CASINO4_24986
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -31.7411, 2342.68, 23.125, 3.0, 3.0, 3.0, False)
  TIMERB > 10000
goto_if_false @CASINO4_24975
53@ = 1

:CASINO4_24975
wait 0
goto @CASINO4_24894

:CASINO4_24986
Char.SetCoordinates($stattreadstamina_ctr, -31.7411, 2342.68, 23.125)
Char.SetHeading($stattreadstamina_ctr, 37.553)
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_25067
Char.ClearTasks(72@)
Char.SetCoordinates(72@, -30.0669, 2344.002, 23.125)
Char.SetHeading(72@, 19.556)

:CASINO4_25067
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_25118
Char.ClearTasks(71@)
Char.SetCoordinates(71@, -33.0398, 2342.354, 23.125)
Char.SetHeading(71@, 37.553)

:CASINO4_25118
Camera.SetFixedPosition(-29.85, 2341.05, 23.81, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-48.53, 2366.47, 31.65, SwitchType.JumpCut)
Streaming.RequestModel(31)
Streaming.RequestModel(33)
Streaming.RequestAnimation("MISC")
if and
  not Char.IsDead(73@)
  not Char.IsDead(74@)
goto_if_false @CASINO4_25249
82@ = Sequence.Open()
Task.LookAtChar(-1, 73@, 3000)
Task.LookAtChar(-1, 74@, 3000)
Sequence.Close(82@)
Char.PerformSequence($stattreadstamina_ctr, 82@)
Sequence.Clear(82@)

:CASINO4_25249
252@ = 0
253@ = 1
254@ = 2
255@ = 0
256@ = 0
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0

:CASINO4_25319
wait 0
if 
  256@ == 0
goto_if_false @CASINO4_27893
if 
  252@ <> 0
goto_if_false @CASINO4_25764
if 
  255@ == 0
goto_if_false @CASINO4_25405
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_25398
Audio.ClearMissionAudio(254@)

:CASINO4_25398
255@ = 1

:CASINO4_25405
if 
  255@ == 1
goto_if_false @CASINO4_25442
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_25442
if 
  255@ == 2
goto_if_false @CASINO4_25502
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_25502
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_25502
if 
  255@ == 3
goto_if_false @CASINO4_25764
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_25703
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_25584
253@ = 2
254@ = 1
goto @CASINO4_25598

:CASINO4_25584
253@ = 1
254@ = 2

:CASINO4_25598
if 
  not Char.IsDead(75@)
goto_if_false @CASINO4_25619
Char.StopFacialTalk(75@)

:CASINO4_25619
if 
  not Char.IsDead(73@)
goto_if_false @CASINO4_25640
Char.StopFacialTalk(73@)

:CASINO4_25640
if 
  not Char.IsDead(76@)
goto_if_false @CASINO4_25661
Char.StopFacialTalk(76@)

:CASINO4_25661
if 
  not Char.IsDead(74@)
goto_if_false @CASINO4_25682
Char.StopFacialTalk(74@)

:CASINO4_25682
252@ = 0
255@ = 0
goto @CASINO4_25764

:CASINO4_25703
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_25764
if 
  110 > 252@
goto_if_false @CASINO4_25764
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_25764
switch_start 257@ {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @CASINO4_27814 {caseNum1} 0 {caseLabel1} @CASINO4_25892 {caseNum2} 1 {caseLabel2} @CASINO4_25960 {caseNum3} 2 {caseLabel3} @CASINO4_26193 {caseNum4} 3 {caseLabel4} @CASINO4_26301 {caseNum5} 4 {caseLabel5} @CASINO4_26976 {caseNum6} 5 {caseLabel6} @CASINO4_27084 {caseNum7} 6 {caseLabel7} @CASINO4_27306
switch_continued 7 {caseLabel1} @CASINO4_27580 {caseNum2} -1 {caseLabel2} @CASINO4_27886 {caseNum3} -1 {caseLabel3} @CASINO4_27886 {caseNum4} -1 {caseLabel4} @CASINO4_27886 {caseNum5} -1 {caseLabel5} @CASINO4_27886 {caseNum6} -1 {caseLabel6} @CASINO4_27886 {caseNum7} -1 {caseLabel7} @CASINO4_27886 {caseNum8} -1 {caseLabel8} @CASINO4_27886 {caseNum9} -1 {caseLabel9} @CASINO4_27886

:CASINO4_25892
if 
  255@ == 0
goto_if_false @CASINO4_25953
if 
  not Char.IsDead(73@)
goto_if_false @CASINO4_25934
Char.StartFacialTalk(73@, 10000)

:CASINO4_25934
252@ = 103
257@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_25953
goto @CASINO4_27886

:CASINO4_25960
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_26186
if 
  255@ == 0
goto_if_false @CASINO4_26186
if 
  Streaming.HasAnimationLoaded("MISC")
goto_if_false @CASINO4_26178
Char.ClearLookAt($stattreadstamina_ctr)
if and
  not Char.IsDead(71@)
  not Char.IsDead(72@)
goto_if_false @CASINO4_26128
Task.LookAtChar($stattreadstamina_ctr, 71@, 6000)
Task.LookAtChar(72@, 71@, 6000)
82@ = Sequence.Open()
Task.LookAtChar(-1, 72@, 3000)
Task.LookAtChar(-1, $stattreadstamina_ctr, 3000)
Sequence.Close(82@)
Char.PerformSequence(71@, 82@)
Sequence.Clear(82@)

:CASINO4_26128
if 
  not Char.IsDead(74@)
goto_if_false @CASINO4_26152
Char.StartFacialTalk(74@, 10000)

:CASINO4_26152
252@ = 104
257@ = 2
260@ = Clock.GetGameTimer()
goto @CASINO4_26186

:CASINO4_26178
Streaming.RequestAnimation("MISC")

:CASINO4_26186
goto @CASINO4_27886

:CASINO4_26193
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_26294
if 
  255@ == 0
goto_if_false @CASINO4_26294
if 
  not Char.IsDead(74@)
goto_if_false @CASINO4_26275
Char.StartFacialTalk(74@, 10000)

:CASINO4_26275
252@ = 105
257@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_26294
goto @CASINO4_27886

:CASINO4_26301
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_26969
if or
  not Streaming.HasModelLoaded(31)
  not Streaming.HasModelLoaded(33)
goto_if_false @CASINO4_26375
Streaming.RequestModel(31)
Streaming.RequestModel(33)
goto @CASINO4_26969

:CASINO4_26375
if 
  255@ == 0
goto_if_false @CASINO4_26969
if and
  not Char.IsDead(71@)
  not Char.IsDead(72@)
goto_if_false @CASINO4_26429
Char.ClearLookAt($stattreadstamina_ctr)
Char.ClearLookAt(72@)
Char.ClearLookAt(71@)

:CASINO4_26429
if and
  not Char.IsDead(71@)
  not Char.IsDead(72@)
goto_if_false @CASINO4_26564
82@ = Sequence.Open()
Task.StandStill(-1, 2000)
Task.PlayAnim(-1, "PLYR_SHKHEAD", "MISC", 4.0, False, False, False, False, -1)
Sequence.Close(82@)
Char.PerformSequence(71@, 82@)
Sequence.Clear(82@)
Task.LookAtChar($stattreadstamina_ctr, 71@, 6000)
82@ = Sequence.Open()
Task.StandStill(-1, 3000)
Task.ScratchHead(-1)
Sequence.Close(82@)
Char.PerformSequence(72@, 82@)
Sequence.Clear(82@)

:CASINO4_26564
Char.ClearLookAt($stattreadstamina_ctr)
76@ = Char.Create(PedType.Mission2, 31, -45.2021, 2350.32, 23.125)
Char.SetHeading(76@, 176.976)
Char.SetAnimGroup(76@, "SEXYWOMAN")
Char.SetIsTargetPriority(76@, True)
Char.SetDecisionMaker(76@, 38@)
Path.FlushRoute
Path.ExtendRoute(-44.052, 2348.615, 23.125)
Path.ExtendRoute(-39.8254, 2346.733, 23.125)
Path.ExtendRoute(-36.6941, 2346.5, 23.125)
109@ = Sequence.Open()
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(109@)
Char.PerformSequence(76@, 109@)
Sequence.Clear(109@)
75@ = Char.Create(PedType.Mission2, 33, -46.1256, 2351.387, 23.125)
Char.SetHeading(75@, 176.976)
Char.SetDecisionMaker(75@, 38@)
Path.FlushRoute
Path.ExtendRoute(-44.052, 2348.615, 23.125)
Path.ExtendRoute(-39.8254, 2346.733, 23.125)
Path.ExtendRoute(-38.286, 2346.675, 23.125)
Path.ExtendRoute(-36.1799, 2348.412, 23.125)
109@ = Sequence.Open()
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(109@)
Char.PerformSequence(75@, 109@)
Sequence.Clear(109@)
Camera.SetFixedPosition(-36.34, 2345.19, 24.52, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-50.23, 2366.32, 23.72, SwitchType.JumpCut)
if 
  not Char.IsDead(75@)
goto_if_false @CASINO4_26950
Char.StartFacialTalk(75@, 10000)

:CASINO4_26950
252@ = 106
257@ = 4
260@ = Clock.GetGameTimer()

:CASINO4_26969
goto @CASINO4_27886

:CASINO4_26976
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_27077
if 
  255@ == 0
goto_if_false @CASINO4_27077
if 
  not Char.IsDead(75@)
goto_if_false @CASINO4_27058
Char.StartFacialTalk(75@, 10000)

:CASINO4_27058
252@ = 107
257@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_27077
goto @CASINO4_27886

:CASINO4_27084
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_27299
if 
  255@ == 0
goto_if_false @CASINO4_27299
if 
  not Char.IsDead(76@)
goto_if_false @CASINO4_27280
90@ = Char.GetScriptTaskStatus(76@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_27273
Task.PlayAnim(76@, "SCRATCHBALLS_01", "MISC", 4.0, True, False, False, False, -1)
252@ = 108
if 
  not Char.IsDead(76@)
goto_if_false @CASINO4_27261
Char.StartFacialTalk(76@, 10000)

:CASINO4_27261
257@ = 6
260@ = Clock.GetGameTimer()

:CASINO4_27273
goto @CASINO4_27299

:CASINO4_27280
252@ = 108
257@ = 6
260@ = Clock.GetGameTimer()

:CASINO4_27299
goto @CASINO4_27886

:CASINO4_27306
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_27573
if 
  255@ == 0
goto_if_false @CASINO4_27573
Camera.SetFixedPosition(-30.33, 2342.29, 24.71, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-41.67, 2352.5, 23.55, SwitchType.JumpCut)
if 
  not Char.IsDead(75@)
goto_if_false @CASINO4_27474
Task.PlayAnim(75@, "SCRATCHBALLS_01", "MISC", 4.0, True, False, False, False, -1)

:CASINO4_27474
if 
  not Char.IsDead(73@)
goto_if_false @CASINO4_27530
Task.PlayAnim(73@, "M_SMK_OUT", "SMOKING", 4.0, False, False, False, False, -1)

:CASINO4_27530
if 
  not Char.IsDead(73@)
goto_if_false @CASINO4_27554
Char.StartFacialTalk(73@, 10000)

:CASINO4_27554
252@ = 109
257@ = 7
260@ = Clock.GetGameTimer()

:CASINO4_27573
goto @CASINO4_27886

:CASINO4_27580
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_27807
if 
  255@ == 0
goto_if_false @CASINO4_27807
if 
  not Char.IsDead(73@)
goto_if_false @CASINO4_27764
109@ = Sequence.Open()
Task.PlayAnim(-1, "ROADCROSS", "PED", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "COLT45_RELOAD", "COLT45", 4.0, False, False, False, False, -1)
Task.AimGunAtChar(-1, $stattreadstamina_ctr, 6000)
Sequence.Close(109@)
Char.PerformSequence(73@, 109@)
Sequence.Clear(109@)

:CASINO4_27764
if 
  not Char.IsDead(73@)
goto_if_false @CASINO4_27788
Char.StartFacialTalk(73@, 10000)

:CASINO4_27788
252@ = 110
257@ = 8
260@ = Clock.GetGameTimer()

:CASINO4_27807
goto @CASINO4_27886

:CASINO4_27814
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_27879
if 
  255@ == 0
goto_if_false @CASINO4_27879
256@ = 1

:CASINO4_27879
goto @CASINO4_27886

:CASINO4_27886
goto @CASINO4_25319

:CASINO4_27893
skip_cutscene_end 
Player.MakeGangReappear
Audio.ClearMissionAudio(253@)
Audio.ClearMissionAudio(254@)
DecisionMakerChar.AddEventResponse(38@, 13, 917, 100.0, 0.0, 0.0, 100.0, True, False)

:CASINO4_27941
if or
  not Streaming.HasModelLoaded(32)
  not Streaming.HasModelLoaded(34)
  not Streaming.HasModelLoaded(31)
  not Streaming.HasModelLoaded(33)
  not Streaming.HasModelLoaded(346)
goto_if_false @CASINO4_28001
wait 0
Streaming.RequestModel(34)
Streaming.RequestModel(31)
Streaming.RequestModel(33)
Streaming.RequestModel(346)
goto @CASINO4_27941

:CASINO4_28001
Char.Delete(73@)
Char.MarkAsNoLongerNeeded(73@)
73@ = Char.Create(PedType.Mission2, 32, -32.3702, 2348.239, 23.125)
Char.SetHeading(73@, 180.1098)
Char.SetIsTargetPriority(73@, True)
Char.GiveWeapon(73@, WeaponType.Pistol, 3000)
Char.Delete(74@)
Char.MarkAsNoLongerNeeded(74@)
74@ = Char.Create(PedType.Mission2, 34, -34.288, 2350.204, 23.125)
Char.SetHeading(74@, 177.5823)
Char.SetIsTargetPriority(74@, True)
Char.GiveWeapon(74@, WeaponType.Pistol, 3000)
Char.Delete(76@)
Char.MarkAsNoLongerNeeded(76@)
76@ = Char.Create(PedType.Mission2, 31, -36.6941, 2346.5, 23.125)
Char.SetHeading(76@, 259.6481)
Char.SetAnimGroup(76@, "SEXYWOMAN")
Char.SetIsTargetPriority(76@, True)
Char.Delete(75@)
Char.MarkAsNoLongerNeeded(75@)
75@ = Char.Create(PedType.Mission2, 33, -36.1799, 2348.412, 23.125)
Char.SetHeading(75@, 265.8938)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_28277
Char.WarpFromCarToCoord($stattreadstamina_ctr, -31.7411, 2342.68, 23.125)
goto @CASINO4_28297

:CASINO4_28277
Char.SetCoordinates($stattreadstamina_ctr, -31.7411, 2342.68, 23.125)

:CASINO4_28297
Char.SetHeading($stattreadstamina_ctr, 37.553)
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_28401
Char.ClearTasks(72@)
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_28371
Char.WarpFromCarToCoord(72@, -30.0669, 2344.002, 23.125)
goto @CASINO4_28391

:CASINO4_28371
Char.SetCoordinates(72@, -30.0669, 2344.002, 23.125)

:CASINO4_28391
Char.SetHeading(72@, 19.556)

:CASINO4_28401
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_28495
Char.ClearTasks(71@)
if 
  Char.IsInAnyCar(71@)
goto_if_false @CASINO4_28465
Char.WarpFromCarToCoord(71@, -33.0398, 2342.354, 23.125)
goto @CASINO4_28485

:CASINO4_28465
Char.SetCoordinates(71@, -33.0398, 2342.354, 23.125)

:CASINO4_28485
Char.SetHeading(71@, 37.553)

:CASINO4_28495
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_28530
Task.ToggleDuck(71@, True)
Task.ToggleDuck(72@, True)

:CASINO4_28530
34@, 35@, 36@ = Char.GetCoordinates($stattreadstamina_ctr)
if and
  not Char.IsDead(73@)
  not Car.IsDead(79@)
goto_if_false @CASINO4_28689
Car.FreezePosition(79@, False)
83@ = Sequence.Open()
Task.ShootAtCoord(-1, 34@, 35@, 36@, 5000)
Task.GoStraightToCoord(-1, -46.3592, 2346.977, 23.1348, MoveState.Run, 10000)
Task.EnterCarAsPassenger(-1, 79@, 3000, 0)
Task.DriveBy(-1, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 10.0, DriveByType.Ai, True, 50)
Sequence.Close(83@)
Char.PerformSequence(73@, 83@)
Sequence.Clear(83@)
goto @CASINO4_28734

:CASINO4_28689
if or
  Car.IsDead(79@)
  Char.IsDead(76@)
goto_if_false @CASINO4_28734
if 
  not Char.IsDead(73@)
goto_if_false @CASINO4_28734
Task.KillCharOnFoot(73@, $stattreadstamina_ctr)

:CASINO4_28734
if and
  not Char.IsDead(74@)
  not Car.IsDead(78@)
goto_if_false @CASINO4_28879
Car.FreezePosition(78@, False)
84@ = Sequence.Open()
Task.ShootAtCoord(-1, 34@, 35@, 36@, 5000)
Task.GoStraightToCoord(-1, -44.9959, 2346.381, 23.1348, MoveState.Run, 10000)
Task.EnterCarAsPassenger(-1, 78@, 3000, 0)
Task.DriveBy(-1, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 10.0, DriveByType.Ai, True, 50)
Sequence.Close(84@)
Char.PerformSequence(74@, 84@)
Sequence.Clear(84@)
goto @CASINO4_28924

:CASINO4_28879
if or
  Car.IsDead(78@)
  Char.IsDead(75@)
goto_if_false @CASINO4_28924
if 
  not Char.IsDead(74@)
goto_if_false @CASINO4_28924
Task.KillCharOnFoot(74@, $stattreadstamina_ctr)

:CASINO4_28924
if and
  not Char.IsDead(75@)
  not Car.IsDead(78@)
goto_if_false @CASINO4_29032
Car.FreezePosition(78@, False)
86@ = Sequence.Open()
Task.ShootAtCoord(-1, 34@, 35@, 36@, 5000)
Task.GoStraightToCoord(-1, -44.9959, 2346.381, 23.1348, MoveState.Run, 10000)
Task.EnterCarAsDriver(-1, 78@, 3000)
Sequence.Close(86@)
Char.PerformSequence(75@, 86@)
Sequence.Clear(86@)
goto @CASINO4_29061

:CASINO4_29032
if and
  Car.IsDead(78@)
  not Char.IsDead(75@)
goto_if_false @CASINO4_29061
Task.KillCharOnFoot(75@, $stattreadstamina_ctr)

:CASINO4_29061
if and
  not Char.IsDead(76@)
  not Car.IsDead(79@)
goto_if_false @CASINO4_29169
Car.FreezePosition(79@, False)
85@ = Sequence.Open()
Task.ShootAtCoord(-1, 34@, 35@, 36@, 5000)
Task.GoStraightToCoord(-1, -46.3592, 2346.977, 23.1348, MoveState.Run, 10000)
Task.EnterCarAsDriver(-1, 79@, 3000)
Sequence.Close(85@)
Char.PerformSequence(76@, 85@)
Sequence.Clear(85@)
goto @CASINO4_29198

:CASINO4_29169
if and
  Car.IsDead(79@)
  not Char.IsDead(76@)
goto_if_false @CASINO4_29198
Task.KillCharOnFoot(76@, $stattreadstamina_ctr)

:CASINO4_29198
Game.SetPoliceIgnorePlayer($statbike_temp, False)
if 
  not Car.IsDead(78@)
goto_if_false @CASINO4_29235
Car.SetCanBeDamaged(78@, True)
Car.SetOnlyDamagedByPlayer(78@, True)

:CASINO4_29235
if 
  not Car.IsDead(79@)
goto_if_false @CASINO4_29265
Car.SetCanBeDamaged(79@, True)
Car.SetOnlyDamagedByPlayer(79@, True)

:CASINO4_29265
if and
  not Char.IsDead(71@)
  not Char.IsDead(72@)
goto_if_false @CASINO4_29316
Char.ClearTasks($stattreadstamina_ctr)
Char.ClearTasks(72@)
Char.ClearTasks(71@)
Char.ClearLookAt($stattreadstamina_ctr)
Char.ClearLookAt(72@)
Char.ClearLookAt(71@)

:CASINO4_29316
Streaming.RemoveAnimation("SMOKING")
Streaming.RemoveAnimation("MISC")
DecisionMakerChar.ClearEventResponse(38@, 49)
DecisionMakerChar.ClearEventResponse(38@, 15)
DecisionMakerChar.AddEventResponse(38@, 49, 311, 100.0, 100.0, 100.0, 100.0, True, True)
DecisionMakerChar.AddEventResponse(38@, 15, 415, 100.0, 100.0, 100.0, 100.0, True, True)
DecisionMakerGroup.ClearEventResponse(39@, 9)
DecisionMakerGroup.AddEventResponse(39@, 15, 1510, 100.0, 100.0, 100.0, 100.0, True, True)
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_29533
if 
  not Char.IsGroupMember(72@, $flag_cell_nation)
goto_if_false @CASINO4_29506
Group.SetMember($flag_cell_nation, 72@)

:CASINO4_29506
if 
  not Char.IsGroupMember(71@, $flag_cell_nation)
goto_if_false @CASINO4_29533
Group.SetMember($flag_cell_nation, 71@)

:CASINO4_29533
set_lvar_int_to_lvar_int 113@ = 73@
set_lvar_int_to_lvar_int 114@ = 76@
set_lvar_int_to_lvar_int 115@ = 75@
set_lvar_int_to_lvar_int 116@ = 74@
272@ = 0
273@ = 0
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
if 
  46@ == 0
goto_if_false @CASINO4_29653
69@ = Blip.AddForCoord(2175.21, 1679.37, 9.85)
Text.PrintNow('CAS4_06', 8000, 1)
46@ = 1

:CASINO4_29653
51@ = 1
132@ = 9999999

:CASINO4_29670
if 
  51@ > 0
goto_if_false @CASINO4_33661
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_29926
if 
  120@ == 1
goto_if_false @CASINO4_29856
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 71@, 20.0, 20.0, False)
goto_if_false @CASINO4_29849
Char.RemoveFromGroup(71@)
if 
  not Char.IsInAnyCar(71@)
goto_if_false @CASINO4_29791
Task.Tired(71@, 60000)
goto @CASINO4_29827

:CASINO4_29791
80@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.Tired(-1, 60000)
Sequence.Close(80@)
Char.PerformSequence(71@, 80@)
Sequence.Clear(80@)

:CASINO4_29827
68@ = Blip.AddForChar(71@)
Blip.SetAsFriendly(68@, True)
120@ = 0

:CASINO4_29849
goto @CASINO4_29926

:CASINO4_29856
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 71@, 5.0, 5.0, False)
goto_if_false @CASINO4_29926
if 
  not Char.IsGroupMember(71@, $flag_cell_nation)
goto_if_false @CASINO4_29914
Group.SetMember($flag_cell_nation, 71@)

:CASINO4_29914
Blip.Remove(68@)
120@ = 1

:CASINO4_29926
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_30164
if 
  119@ == 1
goto_if_false @CASINO4_30094
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 72@, 20.0, 20.0, False)
goto_if_false @CASINO4_30087
Char.RemoveFromGroup(72@)
if 
  not Char.IsInAnyCar(72@)
goto_if_false @CASINO4_30029
Task.Tired(72@, 60000)
goto @CASINO4_30065

:CASINO4_30029
80@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.Tired(-1, 60000)
Sequence.Close(80@)
Char.PerformSequence(72@, 80@)
Sequence.Clear(80@)

:CASINO4_30065
67@ = Blip.AddForChar(72@)
Blip.SetAsFriendly(67@, True)
119@ = 0

:CASINO4_30087
goto @CASINO4_30164

:CASINO4_30094
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 72@, 5.0, 5.0, False)
goto_if_false @CASINO4_30164
if 
  not Char.IsGroupMember(72@, $flag_cell_nation)
goto_if_false @CASINO4_30152
Group.SetMember($flag_cell_nation, 72@)

:CASINO4_30152
Blip.Remove(67@)
119@ = 1

:CASINO4_30164
if and
  119@ == 1
  120@ == 1
goto_if_false @CASINO4_32774
if 
  269@ == 0
goto_if_false @CASINO4_32697
if 
  252@ <> 0
goto_if_false @CASINO4_30546
if 
  255@ == 0
goto_if_false @CASINO4_30271
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_30264
Audio.ClearMissionAudio(254@)

:CASINO4_30264
255@ = 1

:CASINO4_30271
if 
  255@ == 1
goto_if_false @CASINO4_30308
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_30308
if 
  255@ == 2
goto_if_false @CASINO4_30368
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_30368
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_30368
if 
  255@ == 3
goto_if_false @CASINO4_30546
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_30485
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_30450
253@ = 2
254@ = 1
goto @CASINO4_30464

:CASINO4_30450
253@ = 1
254@ = 2

:CASINO4_30464
252@ = 0
255@ = 0
goto @CASINO4_30546

:CASINO4_30485
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_30546
if 
  110 > 252@
goto_if_false @CASINO4_30546
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_30546
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_32697
if 
  267@ == 0
goto_if_false @CASINO4_31617
if 
  271@ == 0
goto_if_false @CASINO4_30872
switch_start 270@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @CASINO4_30786 {caseNum1} 0 {caseLabel1} @CASINO4_30658 {caseNum2} 1 {caseLabel2} @CASINO4_30702 {caseNum3} -1 {caseLabel3} @CASINO4_30865 {caseNum4} -1 {caseLabel4} @CASINO4_30865 {caseNum5} -1 {caseLabel5} @CASINO4_30865 {caseNum6} -1 {caseLabel6} @CASINO4_30865 {caseNum7} -1 {caseLabel7} @CASINO4_30865

:CASINO4_30658
if 
  255@ == 0
goto_if_false @CASINO4_30695
252@ = 36
270@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_30695
goto @CASINO4_30865

:CASINO4_30702
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_30779
if 
  255@ == 0
goto_if_false @CASINO4_30779
252@ = 37
270@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_30779
goto @CASINO4_30865

:CASINO4_30786
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_30858
if 
  255@ == 0
goto_if_false @CASINO4_30858
271@ = 1
TIMERB = 0

:CASINO4_30858
goto @CASINO4_30865

:CASINO4_30865
goto @CASINO4_31610

:CASINO4_30872
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_31610
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_31610
if 
  TIMERB > 10000
goto_if_false @CASINO4_31610
switch_start 266@ {numCases} 6 {hasDefaultCase} 1 {defaultLabel} @CASINO4_31489 {caseNum1} 0 {caseLabel1} @CASINO4_30983 {caseNum2} 1 {caseLabel2} @CASINO4_31069 {caseNum3} 2 {caseLabel3} @CASINO4_31153 {caseNum4} 3 {caseLabel4} @CASINO4_31237 {caseNum5} 4 {caseLabel5} @CASINO4_31321 {caseNum6} 5 {caseLabel6} @CASINO4_31405 {caseNum7} -1 {caseLabel7} @CASINO4_31610

:CASINO4_30983
if 
  255@ == 0
goto_if_false @CASINO4_31062
if and
  not Char.IsDead(71@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_31043
Char.ShutUpForScriptedSpeech(72@, True)
Char.ShutUpForScriptedSpeech(71@, True)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:CASINO4_31043
252@ = 46
266@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_31062
goto @CASINO4_31610

:CASINO4_31069
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_31146
if 
  255@ == 0
goto_if_false @CASINO4_31146
252@ = 47
266@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_31146
goto @CASINO4_31610

:CASINO4_31153
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_31230
if 
  255@ == 0
goto_if_false @CASINO4_31230
252@ = 48
266@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_31230
goto @CASINO4_31610

:CASINO4_31237
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_31314
if 
  255@ == 0
goto_if_false @CASINO4_31314
252@ = 49
266@ = 4
260@ = Clock.GetGameTimer()

:CASINO4_31314
goto @CASINO4_31610

:CASINO4_31321
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_31398
if 
  255@ == 0
goto_if_false @CASINO4_31398
252@ = 92
266@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_31398
goto @CASINO4_31610

:CASINO4_31405
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_31482
if 
  255@ == 0
goto_if_false @CASINO4_31482
252@ = 93
266@ = 6
260@ = Clock.GetGameTimer()

:CASINO4_31482
goto @CASINO4_31610

:CASINO4_31489
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_31603
if 
  255@ == 0
goto_if_false @CASINO4_31603
if and
  not Char.IsDead(71@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_31589
Char.ShutUpForScriptedSpeech(72@, False)
Char.ShutUpForScriptedSpeech(71@, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:CASINO4_31589
267@ = 1
TIMERB = 0

:CASINO4_31603
goto @CASINO4_31610

:CASINO4_31610
goto @CASINO4_32697

:CASINO4_31617
if 
  269@ == 0
goto_if_false @CASINO4_32697
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_32697
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_32697
if 
  TIMERB > 10000
goto_if_false @CASINO4_32697
switch_start 268@ {numCases} 10 {hasDefaultCase} 1 {defaultLabel} @CASINO4_32583 {caseNum1} 0 {caseLabel1} @CASINO4_31811 {caseNum2} 1 {caseLabel2} @CASINO4_31897 {caseNum3} 2 {caseLabel3} @CASINO4_31981 {caseNum4} 3 {caseLabel4} @CASINO4_31995 {caseNum5} 4 {caseLabel5} @CASINO4_32079 {caseNum6} 5 {caseLabel6} @CASINO4_32163 {caseNum7} 6 {caseLabel7} @CASINO4_32247
switch_continued 7 {caseLabel1} @CASINO4_32331 {caseNum2} 8 {caseLabel2} @CASINO4_32415 {caseNum3} 9 {caseLabel3} @CASINO4_32499 {caseNum4} -1 {caseLabel4} @CASINO4_32697 {caseNum5} -1 {caseLabel5} @CASINO4_32697 {caseNum6} -1 {caseLabel6} @CASINO4_32697 {caseNum7} -1 {caseLabel7} @CASINO4_32697 {caseNum8} -1 {caseLabel8} @CASINO4_32697 {caseNum9} -1 {caseLabel9} @CASINO4_32697

:CASINO4_31811
if 
  255@ == 0
goto_if_false @CASINO4_31890
if and
  not Char.IsDead(71@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_31871
Char.ShutUpForScriptedSpeech(72@, True)
Char.ShutUpForScriptedSpeech(71@, True)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:CASINO4_31871
252@ = 82
268@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_31890
goto @CASINO4_32697

:CASINO4_31897
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_31974
if 
  255@ == 0
goto_if_false @CASINO4_31974
252@ = 83
268@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_31974
goto @CASINO4_32697

:CASINO4_31981
268@ = 3
goto @CASINO4_32697

:CASINO4_31995
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_32072
if 
  255@ == 0
goto_if_false @CASINO4_32072
252@ = 85
268@ = 4
260@ = Clock.GetGameTimer()

:CASINO4_32072
goto @CASINO4_32697

:CASINO4_32079
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_32156
if 
  255@ == 0
goto_if_false @CASINO4_32156
252@ = 86
268@ = 5
260@ = Clock.GetGameTimer()

:CASINO4_32156
goto @CASINO4_32697

:CASINO4_32163
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_32240
if 
  255@ == 0
goto_if_false @CASINO4_32240
252@ = 87
268@ = 6
260@ = Clock.GetGameTimer()

:CASINO4_32240
goto @CASINO4_32697

:CASINO4_32247
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_32324
if 
  255@ == 0
goto_if_false @CASINO4_32324
252@ = 88
268@ = 7
260@ = Clock.GetGameTimer()

:CASINO4_32324
goto @CASINO4_32697

:CASINO4_32331
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_32408
if 
  255@ == 0
goto_if_false @CASINO4_32408
252@ = 89
268@ = 8
260@ = Clock.GetGameTimer()

:CASINO4_32408
goto @CASINO4_32697

:CASINO4_32415
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_32492
if 
  255@ == 0
goto_if_false @CASINO4_32492
252@ = 90
268@ = 9
260@ = Clock.GetGameTimer()

:CASINO4_32492
goto @CASINO4_32697

:CASINO4_32499
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_32576
if 
  255@ == 0
goto_if_false @CASINO4_32576
252@ = 91
268@ = 10
260@ = Clock.GetGameTimer()

:CASINO4_32576
goto @CASINO4_32697

:CASINO4_32583
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_32690
if 
  255@ == 0
goto_if_false @CASINO4_32690
if and
  not Char.IsDead(71@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_32683
Char.ShutUpForScriptedSpeech(72@, False)
Char.ShutUpForScriptedSpeech(71@, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:CASINO4_32683
269@ = 1

:CASINO4_32690
goto @CASINO4_32697

:CASINO4_32697
if 
  46@ == 0
goto_if_false @CASINO4_32767
272@ = 0
69@ = Blip.AddForCoord(2175.21, 1679.37, 9.85)
Text.ClearPrints
Text.Print('CAS4_06', 8000, 1)
46@ = 1

:CASINO4_32767
goto @CASINO4_33661

:CASINO4_32774
if 
  46@ == 1
goto_if_false @CASINO4_32804
Blip.Remove(69@)
46@ = 0

:CASINO4_32804
if and
  119@ == 0
  120@ == 0
goto_if_false @CASINO4_32872
if 
  132@ <> 0
goto_if_false @CASINO4_32872
Text.ClearPrints
Text.Print('CAS4_37', 7000, 1)
132@ = 0

:CASINO4_32872
if and
  119@ == 1
  120@ == 0
goto_if_false @CASINO4_32940
if 
  132@ <> 1
goto_if_false @CASINO4_32940
Text.ClearPrints
Text.Print('CAS4_03', 7000, 1)
132@ = 1

:CASINO4_32940
if and
  119@ == 0
  120@ == 1
goto_if_false @CASINO4_33008
if 
  132@ <> 2
goto_if_false @CASINO4_33008
Text.ClearPrints
Text.Print('CAS4_02', 7000, 1)
132@ = 2

:CASINO4_33008
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_33661
if 
  272@ == 0
goto_if_false @CASINO4_33661
if 
  252@ <> 0
goto_if_false @CASINO4_33378
if 
  255@ == 0
goto_if_false @CASINO4_33103
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_33096
Audio.ClearMissionAudio(254@)

:CASINO4_33096
255@ = 1

:CASINO4_33103
if 
  255@ == 1
goto_if_false @CASINO4_33140
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_33140
if 
  255@ == 2
goto_if_false @CASINO4_33200
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_33200
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_33200
if 
  255@ == 3
goto_if_false @CASINO4_33378
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_33317
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_33282
253@ = 2
254@ = 1
goto @CASINO4_33296

:CASINO4_33282
253@ = 1
254@ = 2

:CASINO4_33296
252@ = 0
255@ = 0
goto @CASINO4_33378

:CASINO4_33317
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_33378
if 
  110 > 252@
goto_if_false @CASINO4_33378
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_33378
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO4_33661
switch_start 273@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @CASINO4_33582 {caseNum1} 0 {caseLabel1} @CASINO4_33454 {caseNum2} 1 {caseLabel2} @CASINO4_33498 {caseNum3} -1 {caseLabel3} @CASINO4_33661 {caseNum4} -1 {caseLabel4} @CASINO4_33661 {caseNum5} -1 {caseLabel5} @CASINO4_33661 {caseNum6} -1 {caseLabel6} @CASINO4_33661 {caseNum7} -1 {caseLabel7} @CASINO4_33661

:CASINO4_33454
if 
  255@ == 0
goto_if_false @CASINO4_33491
252@ = 40
273@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_33491
goto @CASINO4_33661

:CASINO4_33498
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_33575
if 
  255@ == 0
goto_if_false @CASINO4_33575
252@ = 41
273@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_33575
goto @CASINO4_33661

:CASINO4_33582
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_33654
if 
  255@ == 0
goto_if_false @CASINO4_33654
273@ = 0
272@ = 1

:CASINO4_33654
goto @CASINO4_33661

:CASINO4_33661
if 
  51@ == 1
goto_if_false @CASINO4_34188
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_33703
77@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:CASINO4_33703
if and
  not Char.IsDead(73@)
  not Car.IsDead(79@)
goto_if_false @CASINO4_33757
if 
  Char.IsInCar(73@, 79@)
goto_if_false @CASINO4_33750
55@ = 1

:CASINO4_33750
goto @CASINO4_33764

:CASINO4_33757
55@ = 1

:CASINO4_33764
if and
  55@ == 1
  64@ == 0
goto_if_false @CASINO4_33897
if and
  not Char.IsDead(76@)
  not Car.IsDead(79@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_33897
87@ = Sequence.Open()
Task.CarDriveToCoord(-1, 79@, -44.86, 2345.23, 23.16, 30.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarMission(-1, 79@, 77@, CarMission.RamPlayerClose, 35.0, DrivingMode.AvoidCars)
Sequence.Close(87@)
Char.PerformSequence(76@, 87@)
Sequence.Clear(87@)
64@ = 1

:CASINO4_33897
if and
  not Char.IsDead(74@)
  not Car.IsDead(78@)
goto_if_false @CASINO4_33951
if 
  Char.IsInCar(74@, 78@)
goto_if_false @CASINO4_33944
54@ = 1

:CASINO4_33944
goto @CASINO4_33958

:CASINO4_33951
54@ = 1

:CASINO4_33958
if and
  54@ == 1
  65@ == 0
goto_if_false @CASINO4_34091
if and
  not Char.IsDead(75@)
  not Car.IsDead(78@)
  not Car.IsDead(77@)
goto_if_false @CASINO4_34091
88@ = Sequence.Open()
Task.CarDriveToCoord(-1, 78@, -50.86, 2349.23, 23.16, 30.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.CarMission(-1, 78@, 77@, CarMission.RamPlayerClose, 35.0, DrivingMode.AvoidCars)
Sequence.Close(88@)
Char.PerformSequence(75@, 88@)
Sequence.Clear(88@)
65@ = 1

:CASINO4_34091
if and
  54@ == 1
  55@ == 1
goto_if_false @CASINO4_34188
if and
  not Char.IsDead(71@)
  not Char.IsDead(72@)
goto_if_false @CASINO4_34167
Char.SetProofs(72@, False, False, False, False, True)
Char.SetProofs(71@, False, False, False, False, True)

:CASINO4_34167
DecisionMakerChar.ClearEventResponse(38@, 49)
DecisionMakerChar.ClearEventResponse(38@, 15)
51@ = 2

:CASINO4_34188
if and
  51@ == 2
  98@ == 0
goto_if_false @CASINO4_35567
if 
  Char.IsDead(76@)
goto_if_false @CASINO4_34243
61@ = 0
goto @CASINO4_34299

:CASINO4_34243
if 
  not Car.IsDead(79@)
goto_if_false @CASINO4_34299
if 
  Char.IsInCar(76@, 79@)
goto_if_false @CASINO4_34292
61@ = 1
goto @CASINO4_34299

:CASINO4_34292
61@ = 0

:CASINO4_34299
if 
  Char.IsDead(75@)
goto_if_false @CASINO4_34329
62@ = 0
goto @CASINO4_34399

:CASINO4_34329
if 
  not Car.IsDead(78@)
goto_if_false @CASINO4_34392
if 
  Char.IsInCar(75@, 78@)
goto_if_false @CASINO4_34378
62@ = 1
goto @CASINO4_34385

:CASINO4_34378
62@ = 0

:CASINO4_34385
goto @CASINO4_34399

:CASINO4_34392
62@ = 0

:CASINO4_34399
if 
  not Char.IsDead(73@)
goto_if_false @CASINO4_34573
if or
  Car.IsDead(79@)
  not Char.IsInAnyCar(73@)
  61@ == 0
goto_if_false @CASINO4_34573
90@ = Char.GetScriptTaskStatus(73@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_34573
90@ = Char.GetScriptTaskStatus(73@, 1506)
if and
  not is_int_lvar_equal_to_constant 90@ == 0
  not is_int_lvar_equal_to_constant 90@ == 1
goto_if_false @CASINO4_34548
if 
  56@ == 0
goto_if_false @CASINO4_34541
Task.KillCharOnFoot(73@, $stattreadstamina_ctr)
56@ = 1

:CASINO4_34541
goto @CASINO4_34573

:CASINO4_34548
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_34573
56@ = 0

:CASINO4_34573
if 
  not Char.IsDead(76@)
goto_if_false @CASINO4_34742
if or
  Car.IsDead(79@)
  61@ == 0
goto_if_false @CASINO4_34742
90@ = Char.GetScriptTaskStatus(76@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_34742
90@ = Char.GetScriptTaskStatus(76@, 1506)
if and
  not is_int_lvar_equal_to_constant 90@ == 0
  not is_int_lvar_equal_to_constant 90@ == 1
goto_if_false @CASINO4_34717
if 
  58@ == 0
goto_if_false @CASINO4_34710
Task.KillCharOnFoot(76@, $stattreadstamina_ctr)
58@ = 1

:CASINO4_34710
goto @CASINO4_34742

:CASINO4_34717
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_34742
58@ = 0

:CASINO4_34742
if 
  not Char.IsDead(74@)
goto_if_false @CASINO4_34916
if or
  Car.IsDead(78@)
  not Char.IsInAnyCar(74@)
  62@ == 0
goto_if_false @CASINO4_34916
90@ = Char.GetScriptTaskStatus(74@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_34916
90@ = Char.GetScriptTaskStatus(74@, 1506)
if and
  not is_int_lvar_equal_to_constant 90@ == 0
  not is_int_lvar_equal_to_constant 90@ == 1
goto_if_false @CASINO4_34891
if 
  59@ == 0
goto_if_false @CASINO4_34884
Task.KillCharOnFoot(74@, $stattreadstamina_ctr)
59@ = 1

:CASINO4_34884
goto @CASINO4_34916

:CASINO4_34891
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_34916
59@ = 0

:CASINO4_34916
if 
  not Char.IsDead(75@)
goto_if_false @CASINO4_35085
if or
  Car.IsDead(78@)
  62@ == 0
goto_if_false @CASINO4_35085
90@ = Char.GetScriptTaskStatus(75@, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_35085
90@ = Char.GetScriptTaskStatus(75@, 1506)
if and
  not is_int_lvar_equal_to_constant 90@ == 0
  not is_int_lvar_equal_to_constant 90@ == 1
goto_if_false @CASINO4_35060
if 
  57@ == 0
goto_if_false @CASINO4_35053
Task.KillCharOnFoot(75@, $stattreadstamina_ctr)
57@ = 1

:CASINO4_35053
goto @CASINO4_35085

:CASINO4_35060
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_35085
57@ = 0

:CASINO4_35085
if and
  not Char.IsDead(76@)
  not Car.IsDead(79@)
goto_if_false @CASINO4_35326
if 
  Char.IsInCar(76@, 79@)
goto_if_false @CASINO4_35326
Car.SetCruiseSpeed(79@, 35.0)
if and
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 76@, 100.0, 100.0, False)
  not Car.IsOnScreen(79@)
goto_if_false @CASINO4_35326
if 
  not Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @CASINO4_35326
91@, 92@, 93@ = Char.GetCoordinates($stattreadstamina_ctr)
95@, 96@, 97@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -10.0, -10.0, 0.0)
if 
  not World.IsPointObscuredByAMissionEntity(95@, 96@, 97@, 4.0, 4.0, 3.0)
goto_if_false @CASINO4_35326
if 
  not Camera.IsPointOnScreen(95@, 96@, 97@, 4.0)
goto_if_false @CASINO4_35326
Car.SetCoordinates(79@, 95@, 96@, 97@)
Car.TurnToFaceCoord(79@, 91@, 92@)
Car.SetMission(79@, CarMission.RamPlayerClose)

:CASINO4_35326
if and
  not Char.IsDead(75@)
  not Car.IsDead(78@)
goto_if_false @CASINO4_35567
if 
  Char.IsInCar(75@, 78@)
goto_if_false @CASINO4_35567
Car.SetCruiseSpeed(78@, 35.0)
if and
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 75@, 100.0, 100.0, False)
  not Car.IsOnScreen(78@)
goto_if_false @CASINO4_35567
if 
  not Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @CASINO4_35567
91@, 92@, 93@ = Char.GetCoordinates($stattreadstamina_ctr)
95@, 96@, 97@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -13.0, -13.0, 0.0)
if 
  not World.IsPointObscuredByAMissionEntity(95@, 96@, 97@, 4.0, 4.0, 3.0)
goto_if_false @CASINO4_35567
if 
  not Camera.IsPointOnScreen(95@, 96@, 97@, 4.0)
goto_if_false @CASINO4_35567
Car.SetCoordinates(78@, 95@, 96@, 97@)
Car.TurnToFaceCoord(78@, 91@, 92@)
Car.SetMission(78@, CarMission.RamPlayerClose)

:CASINO4_35567
99@ = 0
100@ = 0

:CASINO4_35581
if 
  4 > 99@
goto_if_false @CASINO4_35669
if 
  Char.IsDead(113@(99@,4i))
goto_if_false @CASINO4_35637
101@(99@,4i) = 1
goto @CASINO4_35655

:CASINO4_35637
101@(99@,4i) = 0
100@ += 1

:CASINO4_35655
99@ += 1
goto @CASINO4_35581

:CASINO4_35669
if or
  46@ == 1
  45@ == 1
goto_if_false @CASINO4_38641
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_38641
if 
  45@ == 0
goto_if_false @CASINO4_35977
if and
  100@ > 0
  98@ == 0
goto_if_false @CASINO4_35834
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2175.21, 1679.37, 9.85, 4.0, 4.0, 2.0, True)
goto_if_false @CASINO4_35827
gosub @CASINO4_39191
98@ = 1
45@ = 1

:CASINO4_35827
goto @CASINO4_35970

:CASINO4_35834
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2175.21, 1679.37, 9.85, 4.0, 4.0, 2.0, True)
  Char.LocateAnyMeans3D(72@, 2175.21, 1679.37, 9.85, 6.0, 6.0, 2.0, False)
  Char.LocateAnyMeans3D(71@, 2175.21, 1679.37, 9.85, 6.0, 6.0, 2.0, False)
goto_if_false @CASINO4_35970
Blip.Remove(69@)
45@ = 1
Text.ClearPrints

:CASINO4_35970
goto @CASINO4_38641

:CASINO4_35977
if and
  not Char.IsDead(71@)
  not Char.IsDead(72@)
goto_if_false @CASINO4_38641
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Camera.DoFade(1500, Fade.Out)

:CASINO4_36014
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_36038
wait 0
goto @CASINO4_36014

:CASINO4_36038
Char.MarkAsNoLongerNeeded(75@)
Char.MarkAsNoLongerNeeded(73@)
Char.MarkAsNoLongerNeeded(76@)
Char.MarkAsNoLongerNeeded(74@)
Car.MarkAsNoLongerNeeded(79@)
Car.MarkAsNoLongerNeeded(78@)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2188.26, 1678.0, 11.19, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2153.54, 1692.94, 12.04, SwitchType.JumpCut)
if and
  not Char.IsDead(71@)
  not Char.IsDead(72@)
goto_if_false @CASINO4_36480
if 
  Char.IsInAnyCar(71@)
goto_if_false @CASINO4_36187
Char.WarpFromCarToCoord(71@, 2179.708, 1680.568, 10.0469)
goto @CASINO4_36207

:CASINO4_36187
Char.SetCoordinates(71@, 2179.708, 1680.568, 10.0469)

:CASINO4_36207
Char.SetHeading(71@, 266.3517)
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_36260
Char.WarpFromCarToCoord(72@, 2179.708, 1677.568, 10.0469)
goto @CASINO4_36280

:CASINO4_36260
Char.SetCoordinates(72@, 2179.708, 1677.568, 10.0469)

:CASINO4_36280
Char.SetHeading(72@, 266.3517)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_36333
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2179.759, 1678.957, 10.0469)
goto @CASINO4_36353

:CASINO4_36333
Char.SetCoordinates($stattreadstamina_ctr, 2179.759, 1678.957, 10.0469)

:CASINO4_36353
Char.SetHeading($stattreadstamina_ctr, 269.249)
DecisionMaker.Remove(38@)
38@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.ClearEventResponse(38@, 13)
Char.SetDecisionMaker(71@, 38@)
Char.SetDecisionMaker(72@, 38@)
Task.GoStraightToCoord($stattreadstamina_ctr, 2187.0, 1680.0, 11.4, MoveState.Walk, -1)
Char.RemoveFromGroup(71@)
Task.GoStraightToCoord(71@, 2187.0, 1680.0, 11.4, MoveState.Walk, -1)
Char.RemoveFromGroup(72@)
Task.GoStraightToCoord(72@, 2187.0, 1680.0, 11.4, MoveState.Walk, -1)

:CASINO4_36480
Camera.DoFade(1000, Fade.In)

:CASINO4_36487
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_36511
wait 0
goto @CASINO4_36487

:CASINO4_36511
TIMERA = 0
252@ = 0
253@ = 1
254@ = 2
255@ = 0
256@ = 0
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0

:CASINO4_36588
wait 0
if 
  256@ == 0
goto_if_false @CASINO4_37185
if 
  252@ <> 0
goto_if_false @CASINO4_36949
if 
  255@ == 0
goto_if_false @CASINO4_36674
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_36667
Audio.ClearMissionAudio(254@)

:CASINO4_36667
255@ = 1

:CASINO4_36674
if 
  255@ == 1
goto_if_false @CASINO4_36711
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_36711
if 
  255@ == 2
goto_if_false @CASINO4_36771
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_36771
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_36771
if 
  255@ == 3
goto_if_false @CASINO4_36949
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_36888
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_36853
253@ = 2
254@ = 1
goto @CASINO4_36867

:CASINO4_36853
253@ = 1
254@ = 2

:CASINO4_36867
252@ = 0
255@ = 0
goto @CASINO4_36949

:CASINO4_36888
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_36949
if 
  110 > 252@
goto_if_false @CASINO4_36949
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_36949
switch_start 257@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @CASINO4_37085 {caseNum1} 0 {caseLabel1} @CASINO4_37012 {caseNum2} -1 {caseLabel2} @CASINO4_37178 {caseNum3} -1 {caseLabel3} @CASINO4_37178 {caseNum4} -1 {caseLabel4} @CASINO4_37178 {caseNum5} -1 {caseLabel5} @CASINO4_37178 {caseNum6} -1 {caseLabel6} @CASINO4_37178 {caseNum7} -1 {caseLabel7} @CASINO4_37178

:CASINO4_37012
if 
  255@ == 0
goto_if_false @CASINO4_37078
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_37059
Char.StopFacialTalk(72@)
Char.StartFacialTalk(72@, 3000)

:CASINO4_37059
252@ = 99
257@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_37078
goto @CASINO4_37178

:CASINO4_37085
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_37171
if 
  255@ == 0
goto_if_false @CASINO4_37171
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_37164
Char.StopFacialTalk(72@)

:CASINO4_37164
256@ = 1

:CASINO4_37171
goto @CASINO4_37178

:CASINO4_37178
goto @CASINO4_36588

:CASINO4_37185
if 
  50@ == 0
goto_if_false @CASINO4_37348
wait 0
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2187.0, 1680.0, 2.0, 2.0, False)
goto_if_false @CASINO4_37252
50@ = 1

:CASINO4_37252
if 
  TIMERA > 15000
goto_if_false @CASINO4_37341
if 
  not World.IsPointObscuredByAMissionEntity(2195.35, 1680.058, 11.4, 1.5, 1.5, 3.0)
goto_if_false @CASINO4_37334
Char.SetCoordinates($stattreadstamina_ctr, 2187.0, 1680.0, 11.4)

:CASINO4_37334
50@ = 1

:CASINO4_37341
goto @CASINO4_37185

:CASINO4_37348
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CASINO4_37363
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_37387
wait 0
goto @CASINO4_37363

:CASINO4_37387
Weather.Force(WeatherType.SunnyVegas)
Car.MarkAsNoLongerNeeded(77@)
Car.MarkAsNoLongerNeeded(78@)
Car.MarkAsNoLongerNeeded(79@)
Car.MarkAsNoLongerNeeded(289@)
Char.RemoveElegantly(72@)
Char.RemoveElegantly(71@)
Char.MarkAsNoLongerNeeded(73@)
Char.MarkAsNoLongerNeeded(76@)
Char.MarkAsNoLongerNeeded(74@)
Char.MarkAsNoLongerNeeded(75@)
Streaming.MarkModelAsNoLongerNeeded(478)
Streaming.MarkModelAsNoLongerNeeded(31)
Streaming.MarkModelAsNoLongerNeeded(32)
Streaming.MarkModelAsNoLongerNeeded(33)
Streaming.MarkModelAsNoLongerNeeded(34)
Streaming.MarkModelAsNoLongerNeeded(34)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Player.MakeSafeForCutscene($statbike_temp)
Streaming.SetAreaVisible(2)
Cutscene.Load('CAS_4C')

:CASINO4_37499
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO4_37523
wait 0
goto @CASINO4_37499

:CASINO4_37523
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASINO4_37532
if 
  not Cutscene.HasFinished
goto_if_false @CASINO4_37556
wait 0
goto @CASINO4_37532

:CASINO4_37556
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASINO4_37571
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_37595
wait 0
goto @CASINO4_37571

:CASINO4_37595
Streaming.SetAreaVisible(0)
Weather.Release
Camera.RestoreJumpcut
Char.Delete(72@)
Char.MarkAsNoLongerNeeded(72@)
Char.Delete(71@)
Char.MarkAsNoLongerNeeded(71@)
Char.SetCoordinates($stattreadstamina_ctr, 2187.0, 1680.0, 10.106)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Streaming.LoadScene(2187.0, 1680.0, 10.106)
Streaming.RequestModel(330)

:CASINO4_37675
if 
  not Streaming.HasModelLoaded(330)
goto_if_false @CASINO4_37702
wait 0
goto @CASINO4_37675

:CASINO4_37702
Camera.SetFixedPosition(2186.524, 1679.363, 11.6094, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2186.983, 1680.246, 11.7063, SwitchType.JumpCut)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Camera.DoFade(1500, Fade.In)

:CASINO4_37773
if 
  Camera.GetFadingStatus
goto_if_false @CASINO4_37797
wait 0
goto @CASINO4_37773

:CASINO4_37797
Task.UseMobilePhone($stattreadstamina_ctr, True)
wait 2000
252@ = 0
253@ = 1
254@ = 2
255@ = 0
256@ = 0
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
skip_cutscene_start_internal @CASINO4_38552

:CASINO4_37886
wait 0
if 
  256@ == 0
goto_if_false @CASINO4_38552
if 
  252@ <> 0
goto_if_false @CASINO4_38247
if 
  255@ == 0
goto_if_false @CASINO4_37972
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_37965
Audio.ClearMissionAudio(254@)

:CASINO4_37965
255@ = 1

:CASINO4_37972
if 
  255@ == 1
goto_if_false @CASINO4_38009
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_38009
if 
  255@ == 2
goto_if_false @CASINO4_38069
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_38069
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_38069
if 
  255@ == 3
goto_if_false @CASINO4_38247
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_38186
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_38151
253@ = 2
254@ = 1
goto @CASINO4_38165

:CASINO4_38151
253@ = 1
254@ = 2

:CASINO4_38165
252@ = 0
255@ = 0
goto @CASINO4_38247

:CASINO4_38186
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_38247
if 
  110 > 252@
goto_if_false @CASINO4_38247
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_38247
switch_start 257@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @CASINO4_38468 {caseNum1} 0 {caseLabel1} @CASINO4_38310 {caseNum2} 1 {caseLabel2} @CASINO4_38367 {caseNum3} 2 {caseLabel3} @CASINO4_38424 {caseNum4} -1 {caseLabel4} @CASINO4_38545 {caseNum5} -1 {caseLabel5} @CASINO4_38545 {caseNum6} -1 {caseLabel6} @CASINO4_38545 {caseNum7} -1 {caseLabel7} @CASINO4_38545

:CASINO4_38310
if 
  255@ == 0
goto_if_false @CASINO4_38360
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
252@ = 100
257@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_38360
goto @CASINO4_38545

:CASINO4_38367
if 
  255@ == 0
goto_if_false @CASINO4_38417
252@ = 101
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
257@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_38417
goto @CASINO4_38545

:CASINO4_38424
if 
  255@ == 0
goto_if_false @CASINO4_38461
252@ = 102
257@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_38461
goto @CASINO4_38545

:CASINO4_38468
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_38538
if 
  255@ == 0
goto_if_false @CASINO4_38538
Char.StopFacialTalk($stattreadstamina_ctr)
256@ = 1

:CASINO4_38538
goto @CASINO4_38545

:CASINO4_38545
goto @CASINO4_37886

:CASINO4_38552
skip_cutscene_end 
Player.MakeGangReappear
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.ClearMissionAudio(253@)
Audio.ClearMissionAudio(254@)
90@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1833)
if 
  not is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_38607
Task.UseMobilePhone($stattreadstamina_ctr, False)

:CASINO4_38607
Streaming.MarkModelAsNoLongerNeeded(330)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
goto @CASINO4_45890
49@ = 1

:CASINO4_38641
goto @CASINO4_4043

:CASINO4_38648
if and
  not Char.IsDead(71@)
  not Char.IsDead(72@)
goto_if_false @CASINO4_39189
89@ = Sequence.Open()
Task.GotoChar(-1, 71@, -1, 1.2)
Task.TurnCharToFaceChar(-1, 71@)
Task.PlayAnim(-1, "PNM_LOOP_A", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PNM_ARGUE2_A", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PNM_LOOP_A", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PNM_ARGUE1_A", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PNM_LOOP_A", "PAULNMAC", 4.0, False, False, False, False, -1)
Sequence.SetToRepeat(89@, True)
Sequence.Close(89@)
Char.PerformSequence(72@, 89@)
Sequence.Clear(89@)
89@ = Sequence.Open()
Task.GotoChar(-1, 72@, -1, 1.2)
Task.TurnCharToFaceChar(-1, 72@)
Task.PlayAnim(-1, "PNM_LOOP_B", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PNM_ARGUE2_B", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PNM_LOOP_B", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PNM_ARGUE1_B", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PNM_LOOP_B", "PAULNMAC", 4.0, False, False, False, False, -1)
Sequence.SetToRepeat(89@, True)
Sequence.Close(89@)
Char.PerformSequence(71@, 89@)
Sequence.Clear(89@)

:CASINO4_39189
return 

:CASINO4_39191
Group.SetDecisionMaker($flag_cell_nation, -1)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Game.SetWantedMultiplier(0.0)
set_lvar_int_to_lvar_int 113@ = 73@
set_lvar_int_to_lvar_int 114@ = 76@
set_lvar_int_to_lvar_int 115@ = 75@
set_lvar_int_to_lvar_int 116@ = 74@
99@ = 0
100@ = 0

:CASINO4_39258
if 
  4 > 99@
goto_if_false @CASINO4_39366
if 
  Char.IsDead(113@(99@,4i))
goto_if_false @CASINO4_39314
101@(99@,4i) = 1
goto @CASINO4_39352

:CASINO4_39314
Char.ClearTasks(113@(99@,4i))
Char.SetCurrentWeapon(113@(99@,4i), WeaponType.Unarmed)
101@(99@,4i) = 0
100@ += 1

:CASINO4_39352
99@ += 1
goto @CASINO4_39258

:CASINO4_39366
if 
  100@ > 0
goto_if_false @CASINO4_45870
Blip.Remove(69@)
46@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
World.ClearArea(2165.612, 1680.619, 9.8047, 50.0, True)
Text.ClearPrints
Camera.SetFixedPosition(2171.91, 1669.08, 10.32, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2164.93, 1708.54, 16.85, SwitchType.JumpCut)
Streaming.RequestAnimation("MISC")
Streaming.RequestAnimation("GANGS")
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
if 
  not Car.IsDead(78@)
goto_if_false @CASINO4_39630
if 
  not Char.IsDead(75@)
goto_if_false @CASINO4_39630
if 
  Char.IsInCar(75@, 78@)
goto_if_false @CASINO4_39630
Car.SetCoordinates(78@, 2096.136, 1643.952, 9.7768)
Car.SetHeading(78@, 270.9418)
Task.CarDriveToCoord(75@, 78@, 2158.518, 1681.402, 9.8047, 30.0, DriveMode.Accurate, 0, DrivingMode.SlowDownForCars)

:CASINO4_39630
if 
  not Car.IsDead(79@)
goto_if_false @CASINO4_39745
if 
  not Char.IsDead(76@)
goto_if_false @CASINO4_39745
if 
  Char.IsInCar(76@, 79@)
goto_if_false @CASINO4_39745
Car.SetCoordinates(79@, 2080.934, 1643.649, 9.6757)
Car.SetHeading(79@, 271.0448)
Task.CarDriveToCoord(76@, 79@, 2154.275, 1664.964, 9.8125, 30.0, DriveMode.Accurate, 0, DrivingMode.SlowDownForCars)

:CASINO4_39745
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_40172
77@ = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  not Car.IsDead(77@)
goto_if_false @CASINO4_40165
Car.SetMission(77@, CarMission.StopForever)
53@ = 0
TIMERB = 0

:CASINO4_39806
if 
  53@ == 0
goto_if_false @CASINO4_40165
if 
  63@ == 0
goto_if_false @CASINO4_40128
if 
  not Car.IsDead(77@)
goto_if_false @CASINO4_40128
if 
  Car.IsStopped(77@)
goto_if_false @CASINO4_40128
109@ = Sequence.Open()
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_39899
Task.LeaveAnyCar(-1)

:CASINO4_39899
Task.GoStraightToCoord(-1, 2171.0, 1671.0, 11.0, MoveState.Walk, -1)
Sequence.Close(109@)
Char.PerformSequence($stattreadstamina_ctr, 109@)
Sequence.Clear(109@)
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_40027
Char.RemoveFromGroup(71@)
109@ = Sequence.Open()
if 
  Char.IsInAnyCar(71@)
goto_if_false @CASINO4_39986
Task.LeaveAnyCar(-1)

:CASINO4_39986
Task.GoStraightToCoord(-1, 2172.0, 1669.0, 10.8125, MoveState.Walk, -1)
Sequence.Close(109@)
Char.PerformSequence(71@, 109@)
Sequence.Clear(109@)

:CASINO4_40027
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_40114
Char.RemoveFromGroup(72@)
109@ = Sequence.Open()
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_40073
Task.LeaveAnyCar(-1)

:CASINO4_40073
Task.GoStraightToCoord(-1, 2170.0, 1673.0, 10.8203, MoveState.Walk, -1)
Sequence.Close(109@)
Char.PerformSequence(72@, 109@)
Sequence.Clear(109@)

:CASINO4_40114
53@ = 1
63@ = 1

:CASINO4_40128
if 
  TIMERB > 20000
goto_if_false @CASINO4_40154
53@ = 1

:CASINO4_40154
wait 0
goto @CASINO4_39806

:CASINO4_40165
goto @CASINO4_40402

:CASINO4_40172
109@ = Sequence.Open()
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_40197
Task.LeaveAnyCar(-1)

:CASINO4_40197
Task.GoStraightToCoord(-1, 2165.612, 1680.619, 9.8047, MoveState.Walk, -1)
Sequence.Close(109@)
Char.PerformSequence($stattreadstamina_ctr, 109@)
Sequence.Clear(109@)
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_40320
109@ = Sequence.Open()
if 
  Char.IsInAnyCar(71@)
goto_if_false @CASINO4_40279
Task.LeaveAnyCar(-1)

:CASINO4_40279
Task.GoStraightToCoord(-1, 2166.443, 1678.606, 9.8125, MoveState.Walk, -1)
Sequence.Close(109@)
Char.PerformSequence(71@, 109@)
Sequence.Clear(109@)

:CASINO4_40320
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_40402
109@ = Sequence.Open()
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_40361
Task.LeaveAnyCar(-1)

:CASINO4_40361
Task.GoStraightToCoord(-1, 2166.706, 1683.291, 9.8203, MoveState.Walk, -1)
Sequence.Close(109@)
Char.PerformSequence(72@, 109@)
Sequence.Clear(109@)

:CASINO4_40402
252@ = 0
253@ = 1
254@ = 2
255@ = 0
256@ = 0
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
53@ = 0
300@ = 0
301@ = 0
302@ = 0
TIMERB = 0

:CASINO4_40507
wait 0
if 
  256@ == 0
goto_if_false @CASINO4_41585
if 
  252@ <> 0
goto_if_false @CASINO4_40873
if 
  255@ == 0
goto_if_false @CASINO4_40593
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_40586
Audio.ClearMissionAudio(254@)

:CASINO4_40586
255@ = 1

:CASINO4_40593
if 
  255@ == 1
goto_if_false @CASINO4_40630
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_40630
if 
  255@ == 2
goto_if_false @CASINO4_40690
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_40690
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_40690
if 
  255@ == 3
goto_if_false @CASINO4_40873
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_40812
Char.StopFacialTalk($stattreadstamina_ctr)
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_40777
253@ = 2
254@ = 1
goto @CASINO4_40791

:CASINO4_40777
253@ = 1
254@ = 2

:CASINO4_40791
252@ = 0
255@ = 0
goto @CASINO4_40873

:CASINO4_40812
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_40873
if 
  110 > 252@
goto_if_false @CASINO4_40873
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_40873
switch_start 257@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @CASINO4_41080 {caseNum1} 0 {caseLabel1} @CASINO4_40936 {caseNum2} 1 {caseLabel2} @CASINO4_40988 {caseNum3} -1 {caseLabel3} @CASINO4_41206 {caseNum4} -1 {caseLabel4} @CASINO4_41206 {caseNum5} -1 {caseLabel5} @CASINO4_41206 {caseNum6} -1 {caseLabel6} @CASINO4_41206 {caseNum7} -1 {caseLabel7} @CASINO4_41206

:CASINO4_40936
if 
  255@ == 0
goto_if_false @CASINO4_40981
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
252@ = 94
257@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_40981
goto @CASINO4_41206

:CASINO4_40988
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_41073
if 
  255@ == 0
goto_if_false @CASINO4_41073
Char.StartFacialTalk($stattreadstamina_ctr, 3000)
252@ = 95
257@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_41073
goto @CASINO4_41206

:CASINO4_41080
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_41199
if 
  255@ == 0
goto_if_false @CASINO4_41199
if 
  300@ == 1
goto_if_false @CASINO4_41199
if 
  301@ == 1
goto_if_false @CASINO4_41199
if 
  302@ == 1
goto_if_false @CASINO4_41199
256@ = 1

:CASINO4_41199
goto @CASINO4_41206

:CASINO4_41206
90@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 90@ == 7
goto_if_false @CASINO4_41242
300@ = 1

:CASINO4_41242
if 
  301@ == 0
goto_if_false @CASINO4_41397
if 
  not Car.IsDead(79@)
goto_if_false @CASINO4_41390
303@ = Car.GetDriver(79@)
if 
  303@ <> -1
goto_if_false @CASINO4_41376
if 
  Car.Locate3D(79@, 2154.275, 1664.964, 9.8125, 4.0, 4.0, 3.0, False)
goto_if_false @CASINO4_41369
Car.SetMission(79@, CarMission.StopForever)
Car.TaskEveryoneLeave(79@)
301@ = 1

:CASINO4_41369
goto @CASINO4_41383

:CASINO4_41376
301@ = 1

:CASINO4_41383
goto @CASINO4_41397

:CASINO4_41390
301@ = 1

:CASINO4_41397
if 
  302@ == 0
goto_if_false @CASINO4_41552
if 
  not Car.IsDead(78@)
goto_if_false @CASINO4_41545
303@ = Car.GetDriver(78@)
if 
  303@ <> -1
goto_if_false @CASINO4_41531
if 
  Car.Locate3D(78@, 2158.518, 1681.402, 9.8047, 4.0, 4.0, 3.0, False)
goto_if_false @CASINO4_41524
Car.SetMission(78@, CarMission.StopForever)
Car.TaskEveryoneLeave(78@)
302@ = 1

:CASINO4_41524
goto @CASINO4_41538

:CASINO4_41531
300@ = 1

:CASINO4_41538
goto @CASINO4_41552

:CASINO4_41545
302@ = 1

:CASINO4_41552
if 
  TIMERB > 20000
goto_if_false @CASINO4_41578
256@ = 1

:CASINO4_41578
goto @CASINO4_40507

:CASINO4_41585
Car.MarkAsNoLongerNeeded(78@)
Car.MarkAsNoLongerNeeded(79@)
Streaming.MarkModelAsNoLongerNeeded(478)

:CASINO4_41600
if or
  not Streaming.HasAnimationLoaded("GANGS")
  not Streaming.HasAnimationLoaded("MISC")
goto_if_false @CASINO4_41656
Streaming.RequestAnimation("GANGS")
Streaming.RequestAnimation("MISC")
wait 0
goto @CASINO4_41600

:CASINO4_41656
World.ClearArea(2175.21, 1679.37, 9.85, 50.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO4_41728
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2171.0, 1671.0, 9.8125)
goto @CASINO4_41748

:CASINO4_41728
Char.SetCoordinates($stattreadstamina_ctr, 2171.0, 1671.0, 9.8125)

:CASINO4_41748
Char.SetHeading($stattreadstamina_ctr, 109.2628)
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_41867
Char.SetDecisionMaker(72@, 37@)
119@ = 0
Char.ClearTasksImmediately(72@)
if 
  Char.IsInAnyCar(72@)
goto_if_false @CASINO4_41837
Char.WarpFromCarToCoord(72@, 2170.0, 1673.0, 9.8125)
goto @CASINO4_41857

:CASINO4_41837
Char.SetCoordinates(72@, 2170.0, 1673.0, 9.8125)

:CASINO4_41857
Char.SetHeading(72@, 153.2628)

:CASINO4_41867
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_41976
Char.SetDecisionMaker(71@, 38@)
120@ = 0
Char.ClearTasksImmediately(71@)
if 
  Char.IsInAnyCar(71@)
goto_if_false @CASINO4_41946
Char.WarpFromCarToCoord(71@, 2172.0, 1669.0, 9.8125)
goto @CASINO4_41966

:CASINO4_41946
Char.SetCoordinates(71@, 2172.0, 1669.0, 9.8125)

:CASINO4_41966
Char.SetHeading(71@, 133.2628)

:CASINO4_41976
91@, 92@, 93@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  not Char.IsDead(113@)
goto_if_false @CASINO4_42151
if 
  Char.IsInAnyCar(113@)
goto_if_false @CASINO4_42049
Char.WarpFromCarToCoord(113@, 2163.43, 1660.721, 9.8203)
goto @CASINO4_42069

:CASINO4_42049
Char.SetCoordinates(113@, 2163.43, 1660.721, 9.8203)

:CASINO4_42069
Char.SetHeading(113@, 327.8448)
109@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "SCRATCHBALLS_01", "MISC", 4.0, True, False, False, False, -1)
Sequence.Close(109@)
Char.PerformSequence(113@, 109@)
Sequence.Clear(109@)

:CASINO4_42151
if 
  not Char.IsDead(114@)
goto_if_false @CASINO4_42312
if 
  Char.IsInAnyCar(114@)
goto_if_false @CASINO4_42210
Char.WarpFromCarToCoord(114@, 2162.691, 1664.223, 9.8203)
goto @CASINO4_42230

:CASINO4_42210
Char.SetCoordinates(114@, 2162.691, 1664.223, 9.8203)

:CASINO4_42230
Char.SetHeading(114@, 355.144)
109@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "SCRATCHBALLS_01", "MISC", 4.0, True, False, False, False, -1)
Sequence.Close(109@)
Char.PerformSequence(114@, 109@)
Sequence.Clear(109@)

:CASINO4_42312
if 
  not Char.IsDead(115@)
goto_if_false @CASINO4_42473
if 
  Char.IsInAnyCar(115@)
goto_if_false @CASINO4_42371
Char.WarpFromCarToCoord(115@, 2166.566, 1661.498, 9.8203)
goto @CASINO4_42391

:CASINO4_42371
Char.SetCoordinates(115@, 2166.566, 1661.498, 9.8203)

:CASINO4_42391
Char.SetHeading(115@, 343.0)
109@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "SCRATCHBALLS_01", "MISC", 4.0, True, False, False, False, -1)
Sequence.Close(109@)
Char.PerformSequence(115@, 109@)
Sequence.Clear(109@)

:CASINO4_42473
if 
  not Char.IsDead(116@)
goto_if_false @CASINO4_42634
if 
  Char.IsInAnyCar(116@)
goto_if_false @CASINO4_42532
Char.WarpFromCarToCoord(116@, 2160.908, 1664.875, 9.8047)
goto @CASINO4_42552

:CASINO4_42532
Char.SetCoordinates(116@, 2160.908, 1664.875, 9.8047)

:CASINO4_42552
Char.SetHeading(116@, 315.7)
109@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "SCRATCHBALLS_01", "MISC", 4.0, True, False, False, False, -1)
Sequence.Close(109@)
Char.PerformSequence(116@, 109@)
Sequence.Clear(109@)

:CASINO4_42634
Camera.SetFixedPosition(2171.65, 1673.89, 11.12, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2158.4, 1649.68, 11.08, SwitchType.JumpCut)
Player.MakeGangDisappear
252@ = 0
253@ = 1
254@ = 2
255@ = 0
256@ = 0
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
skip_cutscene_start_internal @CASINO4_43746

:CASINO4_42764
wait 0
if 
  256@ == 0
goto_if_false @CASINO4_43746
if 
  252@ <> 0
goto_if_false @CASINO4_43125
if 
  255@ == 0
goto_if_false @CASINO4_42850
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_42843
Audio.ClearMissionAudio(254@)

:CASINO4_42843
255@ = 1

:CASINO4_42850
if 
  255@ == 1
goto_if_false @CASINO4_42887
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_42887
if 
  255@ == 2
goto_if_false @CASINO4_42947
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_42947
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_42947
if 
  255@ == 3
goto_if_false @CASINO4_43125
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_43064
Text.ClearThisPrint($7537(252@,114s))
if 
  253@ == 1
goto_if_false @CASINO4_43029
253@ = 2
254@ = 1
goto @CASINO4_43043

:CASINO4_43029
253@ = 1
254@ = 2

:CASINO4_43043
252@ = 0
255@ = 0
goto @CASINO4_43125

:CASINO4_43064
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_43125
if 
  110 > 252@
goto_if_false @CASINO4_43125
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_43125
switch_start 257@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @CASINO4_43646 {caseNum1} 0 {caseLabel1} @CASINO4_43188 {caseNum2} 1 {caseLabel2} @CASINO4_43290 {caseNum3} 2 {caseLabel3} @CASINO4_43517 {caseNum4} -1 {caseLabel4} @CASINO4_43739 {caseNum5} -1 {caseLabel5} @CASINO4_43739 {caseNum6} -1 {caseLabel6} @CASINO4_43739 {caseNum7} -1 {caseLabel7} @CASINO4_43739

:CASINO4_43188
if 
  255@ == 0
goto_if_false @CASINO4_43283
257@ = 1
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_43267
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_43256
Task.LookAtChar(71@, 72@, 10000)

:CASINO4_43256
Task.LookAtChar($stattreadstamina_ctr, 72@, 10000)

:CASINO4_43267
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_43283

:CASINO4_43283
goto @CASINO4_43739

:CASINO4_43290
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_43510
if 
  255@ == 0
goto_if_false @CASINO4_43510
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_43372
Char.StartFacialTalk(71@, 3000)

:CASINO4_43372
252@ = 97
257@ = 2
299@ = 0

:CASINO4_43393
if 
  4 > 299@
goto_if_false @CASINO4_43473
if 
  not Char.IsDead(113@(299@,4i))
goto_if_false @CASINO4_43459
Task.GoStraightToCoord(113@(299@,4i), 2167.999, 1666.121, 9.8203, MoveState.Walk, -1)

:CASINO4_43459
299@ += 1
goto @CASINO4_43393

:CASINO4_43473
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_43489

:CASINO4_43489
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_43505

:CASINO4_43505
260@ = Clock.GetGameTimer()

:CASINO4_43510
goto @CASINO4_43739

:CASINO4_43517
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_43639
if 
  255@ == 0
goto_if_false @CASINO4_43639
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_43596
Char.StopFacialTalk(71@)

:CASINO4_43596
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_43620
Char.StartFacialTalk(72@, 3000)

:CASINO4_43620
252@ = 98
257@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_43639
goto @CASINO4_43739

:CASINO4_43646
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_43732
if 
  255@ == 0
goto_if_false @CASINO4_43732
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_43725
Char.StopFacialTalk(72@)

:CASINO4_43725
256@ = 1

:CASINO4_43732
goto @CASINO4_43739

:CASINO4_43739
goto @CASINO4_42764

:CASINO4_43746
skip_cutscene_end 
Player.MakeGangReappear
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_43771
Char.StopFacialTalk(71@)

:CASINO4_43771
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_43792
Char.StopFacialTalk(72@)

:CASINO4_43792
Audio.ClearMissionAudio(253@)
Audio.ClearMissionAudio(254@)
99@ = 3

:CASINO4_43809
if 
  99@ > -1
goto_if_false @CASINO4_43944
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_43930
if 
  not Char.IsDead(113@(99@,4i))
goto_if_false @CASINO4_43930
Char.ClearLookAt(71@)
Task.KillCharOnFoot(71@, 113@(99@,4i))
set_lvar_int_to_lvar_int 298@ = 113@(99@,4i)
Char.SetRelationship(71@, RelationshipType.Hate, PedType.Mission2)
117@ = Blip.AddForChar(71@)
Blip.SetAsFriendly(117@, True)
Blip.ChangeScale(117@, 2)
99@ = -1

:CASINO4_43930
99@ -= 1
goto @CASINO4_43809

:CASINO4_43944
99@ = 0

:CASINO4_43951
if 
  4 > 99@
goto_if_false @CASINO4_44086
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_44072
if 
  not Char.IsDead(113@(99@,4i))
goto_if_false @CASINO4_44072
Char.ClearLookAt(72@)
Task.KillCharOnFoot(72@, 113@(99@,4i))
set_lvar_int_to_lvar_int 297@ = 113@(99@,4i)
Char.SetRelationship(72@, RelationshipType.Hate, PedType.Mission2)
118@ = Blip.AddForChar(72@)
Blip.SetAsFriendly(118@, True)
Blip.ChangeScale(118@, 2)
99@ = 4

:CASINO4_44072
99@ += 1
goto @CASINO4_43951

:CASINO4_44086
99@ = 0

:CASINO4_44093
if 
  4 > 99@
goto_if_false @CASINO4_44290
if 
  not Char.IsDead(113@(99@,4i))
goto_if_false @CASINO4_44276
105@(99@,4i) = Blip.AddForChar(113@(99@,4i))
Blip.ChangeDisplay(105@(99@,4i), BlipDisplay.BlipOnly)
Blip.ChangeScale(105@(99@,4i), 2)
Char.SetRelationship(113@(99@,4i), RelationshipType.Hate, PedType.Special)
Char.SetRelationship(113@(99@,4i), RelationshipType.Hate, PedType.Player1)
if 
  2 > 99@
goto_if_false @CASINO4_44248
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_44241
Task.KillCharOnFoot(113@(99@,4i), 72@)

:CASINO4_44241
goto @CASINO4_44276

:CASINO4_44248
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_44276
Task.KillCharOnFoot(113@(99@,4i), 71@)

:CASINO4_44276
99@ += 1
goto @CASINO4_44093

:CASINO4_44290
Camera.RestoreJumpcut
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Char.ClearTasks($stattreadstamina_ctr)
Char.ClearLookAt($stattreadstamina_ctr)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Streaming.RemoveAnimation("MISC")
Streaming.RemoveAnimation("GANGS")
252@ = 0
253@ = 1
254@ = 2
255@ = 0
256@ = 0
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
TIMERB = 0
53@ = 0

:CASINO4_44428
if 
  53@ == 0
goto_if_false @CASINO4_45795
if 
  252@ <> 0
goto_if_false @CASINO4_44841
if 
  255@ == 0
goto_if_false @CASINO4_44510
if 
  Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_44503
Audio.ClearMissionAudio(254@)

:CASINO4_44503
255@ = 1

:CASINO4_44510
if 
  255@ == 1
goto_if_false @CASINO4_44547
Audio.LoadMissionAudio(253@, 138@(252@,114i))
255@ = 2

:CASINO4_44547
if 
  255@ == 2
goto_if_false @CASINO4_44607
if 
  Audio.HasMissionAudioLoaded(253@)
goto_if_false @CASINO4_44607
Audio.PlayMissionAudio(253@)
Text.PrintNow($7537(252@,114s), 10000, 1)
255@ = 3

:CASINO4_44607
if 
  255@ == 3
goto_if_false @CASINO4_44841
if 
  Audio.HasMissionAudioFinished(253@)
goto_if_false @CASINO4_44780
Text.ClearThisPrint($7537(252@,114s))
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_44678
Char.StopFacialTalk(71@)
Char.ShutUpForScriptedSpeech(71@, False)

:CASINO4_44678
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_44706
Char.StopFacialTalk(72@)
Char.ShutUpForScriptedSpeech(72@, False)

:CASINO4_44706
if 
  253@ == 1
goto_if_false @CASINO4_44745
253@ = 2
254@ = 1
goto @CASINO4_44759

:CASINO4_44745
253@ = 1
254@ = 2

:CASINO4_44759
252@ = 0
255@ = 0
goto @CASINO4_44841

:CASINO4_44780
if 
  not Audio.HasMissionAudioLoaded(254@)
goto_if_false @CASINO4_44841
if 
  110 > 252@
goto_if_false @CASINO4_44841
set_lvar_int_to_lvar_int 261@ = 252@
261@ += 1
Audio.LoadMissionAudio(254@, 138@(261@,114i))

:CASINO4_44841
switch_start 257@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @CASINO4_45228 {caseNum1} 0 {caseLabel1} @CASINO4_44904 {caseNum2} 1 {caseLabel2} @CASINO4_44998 {caseNum3} 2 {caseLabel3} @CASINO4_45113 {caseNum4} -1 {caseLabel4} @CASINO4_45300 {caseNum5} -1 {caseLabel5} @CASINO4_45300 {caseNum6} -1 {caseLabel6} @CASINO4_45300 {caseNum7} -1 {caseLabel7} @CASINO4_45300

:CASINO4_44904
if 
  TIMERB > 5000
goto_if_false @CASINO4_44991
if 
  255@ == 0
goto_if_false @CASINO4_44991
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_44972
Char.ShutUpForScriptedSpeech(71@, True)
Char.StartFacialTalk(71@, 3000)

:CASINO4_44972
252@ = 112
257@ = 1
260@ = Clock.GetGameTimer()

:CASINO4_44991
goto @CASINO4_45300

:CASINO4_44998
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 7000
goto_if_false @CASINO4_45106
if 
  255@ == 0
goto_if_false @CASINO4_45106
252@ = 17
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_45094
Char.ShutUpForScriptedSpeech(72@, True)
Char.StartFacialTalk(72@, 3000)

:CASINO4_45094
257@ = 2
260@ = Clock.GetGameTimer()

:CASINO4_45106
goto @CASINO4_45300

:CASINO4_45113
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 7000
goto_if_false @CASINO4_45221
if 
  255@ == 0
goto_if_false @CASINO4_45221
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_45202
Char.ShutUpForScriptedSpeech(71@, True)
Char.StartFacialTalk(71@, 3000)

:CASINO4_45202
252@ = 111
257@ = 3
260@ = Clock.GetGameTimer()

:CASINO4_45221
goto @CASINO4_45300

:CASINO4_45228
259@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 258@ = 259@
sub_int_lvar_from_int_lvar 258@ -= 260@
if 
  258@ > 1000
goto_if_false @CASINO4_45293
if 
  255@ == 0
goto_if_false @CASINO4_45293
256@ = 1

:CASINO4_45293
goto @CASINO4_45300

:CASINO4_45300
99@ = 0

:CASINO4_45307
if 
  4 > 99@
goto_if_false @CASINO4_45675
if 
  101@(99@,4i) == 0
goto_if_false @CASINO4_45661
if 
  Char.IsDead(113@(99@,4i))
goto_if_false @CASINO4_45661
if 
  is_int_lvar_equal_to_int_lvar 298@ == 113@(99@,4i)
goto_if_false @CASINO4_45496
299@ = 3

:CASINO4_45397
if 
  299@ > -1
goto_if_false @CASINO4_45496
if 
  not Char.IsDead(71@)
goto_if_false @CASINO4_45482
if 
  not Char.IsDead(113@(299@,4i))
goto_if_false @CASINO4_45482
Task.KillCharOnFoot(71@, 113@(299@,4i))
set_lvar_int_to_lvar_int 298@ = 113@(299@,4i)
299@ = -1

:CASINO4_45482
299@ -= 1
goto @CASINO4_45397

:CASINO4_45496
if 
  is_int_lvar_equal_to_int_lvar 297@ == 113@(99@,4i)
goto_if_false @CASINO4_45625
299@ = 0

:CASINO4_45526
if 
  4 > 299@
goto_if_false @CASINO4_45625
if 
  not Char.IsDead(72@)
goto_if_false @CASINO4_45611
if 
  not Char.IsDead(113@(299@,4i))
goto_if_false @CASINO4_45611
Task.KillCharOnFoot(72@, 113@(299@,4i))
set_lvar_int_to_lvar_int 297@ = 113@(299@,4i)
299@ = 4

:CASINO4_45611
299@ += 1
goto @CASINO4_45526

:CASINO4_45625
Blip.Remove(105@(99@,4i))
Char.MarkAsNoLongerNeeded(113@(99@,4i))
101@(99@,4i) = 1
100@ -= 1

:CASINO4_45661
99@ += 1
goto @CASINO4_45307

:CASINO4_45675
if 
  1 > 100@
goto_if_false @CASINO4_45754
53@ = 1
if 
  46@ == 0
goto_if_false @CASINO4_45754
Car.MarkAsNoLongerNeeded(77@)
World.ClearArea(2175.21, 1679.37, 9.85, 10.0, True)
46@ = 1

:CASINO4_45754
if or
  Char.IsDead(72@)
  Char.IsDead(71@)
goto_if_false @CASINO4_45784
Text.ClearPrints
53@ = 1

:CASINO4_45784
wait 0
goto @CASINO4_44428

:CASINO4_45795
Audio.ClearMissionAudio(254@)
Audio.ClearMissionAudio(253@)
Game.SetWantedMultiplier(1.0)
Blip.Remove(118@)
Blip.Remove(117@)
if and
  not Char.IsDead(72@)
  not Char.IsDead(71@)
goto_if_false @CASINO4_45870
Char.StopFacialTalk(71@)
Char.StopFacialTalk(72@)
Char.ClearTasksImmediately(72@)
Char.ClearTasksImmediately(71@)
Group.SetDefaultTaskAllocator($flag_cell_nation, DefaultTaskAllocator.FollowAnyMeans)

:CASINO4_45870
return 

:CASINO4_45872
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:CASINO4_45890
$desertX += 1
Stat.SetInt(StatId.PassedCasino4, 1)
Stat.RegisterMissionPassed('CASINO4')
Text.PrintWithNumberBig('M_PASSR', 5, 5000, TextStyle.Middle)
Audio.PlayMissionPassedTune(1)
Stat.AwardPlayerMissionRespect(5)
Player.ClearWantedLevel($statbike_temp)
Stat.PlayerMadeProgress(1)
Blip.Remove($desert_blip_icon)
return 

:CASINO4_45957
$flag_courier_mission_passed = Clock.GetGameTimer()
Game.SetPoliceIgnorePlayer($statbike_temp, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CASINO4_45992
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:CASINO4_45992
Particle.Kill(136@)
Particle.Kill(137@)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Blip.Remove(69@)
Blip.Remove(68@)
Blip.Remove(67@)
Blip.Remove(70@)
Blip.Remove(66@)
Blip.Remove(105@)
Blip.Remove(106@)
Blip.Remove(107@)
Blip.Remove(108@)
Blip.Remove(117@)
Blip.Remove(118@)
Car.MarkAsNoLongerNeeded(77@)
Car.MarkAsNoLongerNeeded(78@)
Car.MarkAsNoLongerNeeded(79@)
Car.MarkAsNoLongerNeeded(289@)
Char.RemoveElegantly(72@)
Char.RemoveElegantly(71@)
Char.MarkAsNoLongerNeeded(73@)
Char.MarkAsNoLongerNeeded(76@)
Char.MarkAsNoLongerNeeded(74@)
Char.MarkAsNoLongerNeeded(75@)
Char.MarkAsNoLongerNeeded(303@)
Char.MarkAsNoLongerNeeded(113@)
Char.MarkAsNoLongerNeeded(114@)
Char.MarkAsNoLongerNeeded(115@)
Char.MarkAsNoLongerNeeded(116@)
Char.MarkAsNoLongerNeeded(290@)
Streaming.MarkModelAsNoLongerNeeded(478)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(31)
Streaming.MarkModelAsNoLongerNeeded(32)
Streaming.MarkModelAsNoLongerNeeded(33)
Streaming.MarkModelAsNoLongerNeeded(34)
Streaming.MarkModelAsNoLongerNeeded(34)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.RemoveAnimation("SUNBATHE")
Streaming.RemoveAnimation("PAULNMAC")
Streaming.RemoveAnimation("FOOD")
Streaming.RemoveAnimation("SMOKING")
Streaming.RemoveAnimation("MISC")
Streaming.RemoveAnimation("GANGS")
DecisionMaker.Remove(37@)
DecisionMaker.Remove(38@)
DecisionMaker.Remove(39@)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 89---------------
// Originally: Intensive Care

:CASINO5
script_name 'CASINO5'
gosub @CASINO5_47
if 
  has_deatharrest_been_executed 
goto_if_false @CASINO5_38
gosub @CASINO5_12932

:CASINO5_38
gosub @CASINO5_12978
terminate_this_script 

:CASINO5_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
Text.LoadMissionText('CASINO5')
Char.SetCoordinates($stattreadstamina_ctr, 2175.412, 1681.548, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2233.5, 1712.8, 9.8203)
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
$1253 = 1
Streaming.SetAreaVisible(2)
Cutscene.Load('CAS_5A')

:CASINO5_150
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO5_174
wait 0
goto @CASINO5_150

:CASINO5_174
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASINO5_183
if 
  not Cutscene.HasFinished
goto_if_false @CASINO5_207
wait 0
goto @CASINO5_183

:CASINO5_207
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASINO5_222
if 
  Camera.GetFadingStatus
goto_if_false @CASINO5_246
wait 0
goto @CASINO5_222

:CASINO5_246
Streaming.SetAreaVisible(0)
Game.SetScriptLimitToGangSize(99)
start_new_script @A_CONT 
Streaming.LoadScene(2175.412, 1681.548, 9.8203)
Streaming.RequestModel(416)
Streaming.RequestModel(470)
Streaming.RequestModel(275)
Streaming.RequestModel(124)
Streaming.RequestModel(125)
Streaming.LoadSpecialCharacter(1, 'SINDACO')
Streaming.RequestModel(353)
Streaming.RequestAnimation("GANGS")

:CASINO5_329
if or
  not Streaming.HasModelLoaded(416)
  not Streaming.HasModelLoaded(470)
  not Streaming.HasModelLoaded(275)
  not Streaming.HasModelLoaded(124)
  not Streaming.HasModelLoaded(125)
goto_if_false @CASINO5_374
wait 0
goto @CASINO5_329

:CASINO5_374
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(353)
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @CASINO5_414
wait 0
goto @CASINO5_374

:CASINO5_414
47@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
49@ = DecisionMakerChar.Load(DecisionMakerType.Normal)
48@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
54@ = 0
if 
  54@ == 1
goto_if_false @CASINO5_547
72@ = Char.Create(PedType.Mission1, 124, 0.0, 0.0, 0.0)
99@(40@,2i) = Char.Create(PedType.Mission1, 124, 0.0, 0.0, 0.0)
97@(40@,2i) = Car.Create(416, 0.0, 0.0, 0.0)

:CASINO5_547
Camera.SetFadingColor(0, 0, 0)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Camera.DoFade(0, Fade.In)
Text.PrintNow('CAS5_00', 8000, 1)
44@ = Blip.AddForCoord(1604.158, 1838.765, 9.828)
set_lvar_text_label 140@s = 'CAS5_AA'
set_lvar_int_to_constant 124@ = 8000
set_lvar_text_label 142@s = 'CAS5_AB'
set_lvar_int_to_constant 125@ = 8001
set_lvar_text_label 144@s = 'CAS5_BA'
set_lvar_int_to_constant 126@ = 8002
set_lvar_text_label 146@s = 'CAS5_BB'
set_lvar_int_to_constant 127@ = 8003
set_lvar_text_label 148@s = 'CAS5_BC'
set_lvar_int_to_constant 128@ = 8004
set_lvar_text_label 150@s = 'CAS5_BD'
set_lvar_int_to_constant 129@ = 8005
set_lvar_text_label 152@s = 'CAS5_BE'
set_lvar_int_to_constant 130@ = 8006
set_lvar_text_label 154@s = 'CAS5_CA'
set_lvar_int_to_constant 131@ = 8007
set_lvar_text_label 156@s = 'CAS5_CB'
set_lvar_int_to_constant 132@ = 8008
set_lvar_text_label 158@s = 'CAS5_CC'
set_lvar_int_to_constant 133@ = 8009
set_lvar_text_label 160@s = 'CAS5_CD'
set_lvar_int_to_constant 134@ = 8010
set_lvar_text_label 162@s = 'CAS5_CE'
set_lvar_int_to_constant 135@ = 8011
set_lvar_text_label 164@s = 'CAS5_CF'
set_lvar_int_to_constant 136@ = 8012
set_lvar_text_label 166@s = 'CAS5_CG'
set_lvar_int_to_constant 137@ = 8013
set_lvar_text_label 168@s = 'CAS5_DA'
set_lvar_int_to_constant 138@ = 8014
set_lvar_text_label 170@s = 'CAS5_DB'
set_lvar_int_to_constant 139@ = 8015
set_lvar_int_to_lvar_int 122@ = 123@
TIMERB = 0

:CASINO5_979
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CASINO5_1005
goto @CASINO5_12838

:CASINO5_1005
if 
  56@ == 0
goto_if_false @CASINO5_1186
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1604.158, 1838.765, 9.828, 120.0, 120.0, 120.0, False)
goto_if_false @CASINO5_1186
World.ClearArea(1604.158, 1838.765, 9.828, 30.0, True)
CarGenerator.SuppressCarModel(470)
Car.CustomPlateForNextCar(470, "H_CARMAN")
World.ClearArea(1624.598, 1850.607, 9.828, 8.0, True)
55@ = Car.Create(470, 1624.598, 1850.607, 9.828)
Car.SetHeading(55@, 180.0)
Car.SetStrong(55@, True)
56@ += 1

:CASINO5_1186
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1604.158, 1838.765, 9.828, 4.0, 4.0, 4.0, True)
goto_if_false @CASINO5_1325
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO5_1309
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Camera.DoFade(400, Fade.Out)

:CASINO5_1266
if 
  Camera.GetFadingStatus
goto_if_false @CASINO5_1290
wait 0
goto @CASINO5_1266

:CASINO5_1290
Blip.Remove(44@)
goto @CASINO5_1339
goto @CASINO5_1325

:CASINO5_1309
Text.PrintNow('CAS5_01', 4000, 1)

:CASINO5_1325
gosub @CASINO5_10202
goto @CASINO5_979

:CASINO5_1339
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1595.199, 1838.316, 12.4095, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1596.18, 1838.252, 12.2269, SwitchType.JumpCut)
if 
  0 <= $cash[0]
goto_if_false @CASINO5_1426
$cash[0] = -2

:CASINO5_1426
if 
  0 <= $cash[0]
goto_if_false @CASINO5_1451
$cash[1] = -2

:CASINO5_1451
50@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetHealth(50@, 2000)
World.ClearArea(1604.158, 1838.765, 9.828, 15.0, True)
Camera.DoFade(0, Fade.In)
42@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 1606.106, 1825.065, 9.828, MoveState.Run, -1)
Task.StandStill(-1, 100)
Sequence.Close(42@)
Char.PerformSequence($stattreadstamina_ctr, 42@)
Sequence.Clear(42@)
43@ = 0
46@ = 0

:CASINO5_1567
if 
  2 > 43@
goto_if_false @CASINO5_1604
wait 0
43@ = Char.GetSequenceProgress($stattreadstamina_ctr)
goto @CASINO5_1567

:CASINO5_1604
skip_cutscene_start_internal @CASINO5_1831
123@ = 4

:CASINO5_1618
if 
  7 > 122@
goto_if_false @CASINO5_1654
wait 0
gosub @CASINO5_10202
goto @CASINO5_1618

:CASINO5_1654
42@ = Sequence.Open()
Task.StandStill(-1, 3800)
if 
  not Car.IsDead(50@)
goto_if_false @CASINO5_1691
Task.EnterCarAsDriver(-1, 50@, -1)

:CASINO5_1691
Sequence.Close(42@)
Char.PerformSequence($stattreadstamina_ctr, 42@)
Sequence.Clear(42@)
40@ = 0

:CASINO5_1716
if 
  40@ == 0
goto_if_false @CASINO5_1787
wait 0
if 
  not Car.IsDead(50@)
goto_if_false @CASINO5_1780
if 
  Char.IsInCar($stattreadstamina_ctr, 50@)
goto_if_false @CASINO5_1780
40@ = 1

:CASINO5_1780
goto @CASINO5_1716

:CASINO5_1787
46@ = 1
TIMERA = 0

:CASINO5_1801
if 
  500 > TIMERA
goto_if_false @CASINO5_1831
wait 0
goto @CASINO5_1801

:CASINO5_1831
skip_cutscene_end 
Text.ClearPrints
if 
  0 <= $cash[0]
goto_if_false @CASINO5_1860
$cash[0] = -2

:CASINO5_1860
if 
  0 <= $cash[0]
goto_if_false @CASINO5_1885
$cash[1] = -2

:CASINO5_1885
if or
  not Char.IsGettingInToACar($stattreadstamina_ctr)
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO5_1935
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  not Car.IsDead(50@)
goto_if_false @CASINO5_1935
Char.WarpIntoCar($stattreadstamina_ctr, 50@)

:CASINO5_1935
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.PrintNow('CAS5_03', 8000, 1)
Path.MarkRoadNodeAsDontWander(2066.25, 956.0, 9.125)
Path.MarkRoadNodeAsDontWander(2048.625, 953.8749, 9.125)
Path.MarkRoadNodeAsDontWander(2032.5, 973.25, 9.5)
Path.MarkRoadNodeAsDontWander(2027.25, 1093.125, 9.625)
Path.MarkRoadNodeAsDontWander(2030.125, 1273.0, 9.625)
Path.MarkRoadNodeAsDontWander(2029.0, 1453.25, 9.625)
Path.MarkRoadNodeAsDontWander(2033.75, 1713.125, 9.625)
Path.MarkRoadNodeAsDontWander(2112.125, 1863.125, 9.75)
Path.MarkRoadNodeAsDontWander(2104.0, 1969.125, 9.75)
Path.MarkRoadNodeAsDontWander(2108.25, 2022.0, 9.625)
Path.MarkRoadNodeAsDontWander(2107.625, 2113.125, 9.625)
Path.MarkRoadNodeAsDontWander(2091.25, 2283.125, 9.625)
Path.MarkRoadNodeAsDontWander(2005.625, 2393.25, 9.625)
Path.MarkRoadNodeAsDontWander(1605.375, 2589.75, 9.625)
Path.MarkRoadNodeAsDontWander(1477.375, 2563.125, 9.625)
Path.MarkRoadNodeAsDontWander(1385.625, 2575.0, 9.625)
Path.MarkRoadNodeAsDontWander(1293.875, 2574.625, 9.625)
Path.MarkRoadNodeAsDontWander(1528.125, 2773.125, 9.625)
Path.MarkRoadNodeAsDontWander(2127.375, 2792.875, 9.625)
Path.MarkRoadNodeAsDontWander(2397.375, 2713.125, 9.625)
Path.MarkRoadNodeAsDontWander(2404.625, 2513.125, 9.625)
Path.MarkRoadNodeAsDontWander(2628.625, 2301.75, 9.625)
Path.MarkRoadNodeAsDontWander(2787.25, 2303.5, 9.625)
Path.MarkRoadNodeAsDontWander(2860.125, 2293.0, 9.625)
Path.MarkRoadNodeAsDontWander(2796.125, 2135.375, 9.75)
Path.MarkRoadNodeAsDontWander(2796.125, 2090.875, 9.625)
Path.MarkRoadNodeAsDontWander(2638.375, 2135.375, 9.625)
Path.MarkRoadNodeAsDontWander(2638.375, 2090.875, 9.75)
Path.MarkRoadNodeAsDontWander(2621.625, 1473.125, 9.625)
Path.MarkRoadNodeAsDontWander(2645.375, 1313.125, 9.75)
Path.MarkRoadNodeAsDontWander(2547.25, 923.125, 9.625)
Path.MarkRoadNodeAsDontWander(2287.25, 957.8749, 9.625)
Path.MarkRoadNodeAsDontWander(2147.25, 963.2499, 9.625)
World.ClearArea(2152.029, 1912.456, 9.6797, 10.0, True)
57@ = Car.Create(416, 2152.029, 1912.456, 9.6797)
Car.SetHeading(57@, 0.0)
Car.SetHealth(57@, 2000)
60@ = Blip.AddForCar(57@)
Car.LockDoors(57@, CarLock.LockoutPlayerOnly)
Car.SetLoadCollisionFlag(57@, False)
66@ = Char.CreateInsideCar(57@, PedType.Mission1, 275)
Char.SetCantBeDraggedOut(66@, True)
Char.SetDecisionMaker(66@, 48@)
69@ = Char.CreateAsPassenger(57@, PedType.Mission1, 275, 0)
Char.SetCantBeDraggedOut(69@, True)
Char.SetDecisionMaker(69@, 48@)
Task.CarDriveWander(66@, 57@, 15.0, DrivingMode.StopForCars)
63@ = 0
93@ = 0
World.ClearArea(2050.291, 1358.516, 9.6719, 10.0, True)
58@ = Car.Create(416, 2050.291, 1358.516, 9.6719)
Car.SetHeading(58@, 180.0)
Car.SetHealth(58@, 2000)
61@ = Blip.AddForCar(58@)
Car.LockDoors(58@, CarLock.LockoutPlayerOnly)
Car.SetLoadCollisionFlag(58@, False)
67@ = Char.CreateInsideCar(58@, PedType.Mission1, 275)
Char.SetCantBeDraggedOut(67@, True)
Char.SetDecisionMaker(67@, 48@)
70@ = Char.CreateAsPassenger(58@, PedType.Mission1, 275, 0)
Char.SetCantBeDraggedOut(70@, True)
Char.SetDecisionMaker(70@, 48@)
Task.CarDriveWander(67@, 58@, 15.0, DrivingMode.StopForCars)
64@ = 0
94@ = 0
World.ClearArea(2544.98, 1395.797, 9.78, 10.0, True)
59@ = Car.Create(416, 2544.98, 1395.797, 9.78)
Car.SetHeading(59@, 180.0)
Car.SetHealth(59@, 2000)
62@ = Blip.AddForCar(59@)
Car.LockDoors(59@, CarLock.LockoutPlayerOnly)
Car.SetLoadCollisionFlag(59@, False)
68@ = Char.CreateInsideCar(59@, PedType.Mission1, 275)
Char.SetCantBeDraggedOut(68@, True)
Char.SetDecisionMaker(68@, 48@)
71@ = Char.CreateAsPassenger(59@, PedType.Mission1, 275, 0)
Char.SetCantBeDraggedOut(71@, True)
Char.SetDecisionMaker(71@, 48@)
Task.CarDriveWander(68@, 59@, 15.0, DrivingMode.StopForCars)
65@ = 0
95@ = 0
73@ = 0
74@ = -1
76@ = 0
80@ = 0

:CASINO5_3077
wait 0
40@ = 0

:CASINO5_3088
if 
  3 > 40@
goto_if_false @CASINO5_7042
if and
  not Car.IsDead(57@(40@,3i))
  6 > 63@(40@,3i)
goto_if_false @CASINO5_7028
switch_start 63@(40@,3i) {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @CASINO5_7028 {caseNum1} 0 {caseLabel1} @CASINO5_3204 {caseNum2} 1 {caseLabel2} @CASINO5_4019 {caseNum3} 2 {caseLabel3} @CASINO5_4588 {caseNum4} 3 {caseLabel4} @CASINO5_5080 {caseNum5} 4 {caseLabel5} @CASINO5_5177 {caseNum6} 5 {caseLabel6} @CASINO5_5731 {caseNum7} -1 {caseLabel7} @CASINO5_7028

:CASINO5_3204
if or
  Char.IsDead(66@(40@,3i))
  Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_3272
77@ = 0
if 
  76@ == 0
goto_if_false @CASINO5_3265
gosub @CASINO5_7432

:CASINO5_3265
goto @CASINO5_3426

:CASINO5_3272
if 
  Car.HasBeenDamagedByChar(57@(40@,3i), $stattreadstamina_ctr)
goto_if_false @CASINO5_3334
77@ = 1
if 
  76@ == 0
goto_if_false @CASINO5_3327
gosub @CASINO5_7432

:CASINO5_3327
goto @CASINO5_3426

:CASINO5_3334
if 
  78@ == 0
goto_if_false @CASINO5_3419
if and
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 57@(40@,3i), 40.0, 40.0, False)
  Car.IsOnScreen(57@(40@,3i))
goto_if_false @CASINO5_3419
Text.PrintNow('CAS5_04', 8000, 1)
78@ = 1

:CASINO5_3419
goto @CASINO5_7028

:CASINO5_3426
if 
  77@ == 0
goto_if_false @CASINO5_3508
if 
  76@ == 0
goto_if_false @CASINO5_3485
Text.PrintNow('CAS5_07', 8000, 1)
goto @CASINO5_3501

:CASINO5_3485
Text.PrintNow('CAS5_08', 8000, 1)

:CASINO5_3501
goto @CASINO5_3565

:CASINO5_3508
if 
  76@ == 0
goto_if_false @CASINO5_3549
Text.PrintNow('CAS5_05', 8000, 1)
goto @CASINO5_3565

:CASINO5_3549
Text.PrintNow('CAS5_06', 8000, 1)

:CASINO5_3565
Blip.Remove(60@(40@,3i))
76@ += 1
81@(40@,3i) = 0
Car.SetTempAction(57@(40@,3i), TempAction.HandbrakeStraight, 5000)
if 
  not Char.IsDead(66@(40@,3i))
goto_if_false @CASINO5_3787
Char.ClearTasks(66@(40@,3i))
42@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.LookAtChar(-1, $stattreadstamina_ctr, 1500)
Task.PlayAnim(-1, "PRTIAL_GNGTLKH", "GANGS", 1000.0, False, False, False, False, 2000)
Task.PlayAnim(-1, "PRTIAL_GNGTLKG", "GANGS", 1000.0, False, False, False, False, 2000)
Task.StandStill(-1, 5000)
Sequence.Close(42@)
Char.PerformSequence(66@(40@,3i), 42@)
Sequence.Clear(42@)
81@(40@,3i) += 1

:CASINO5_3787
if 
  not Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_3968
Char.ClearTasks(69@(40@,3i))
42@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.LookAtChar(-1, $stattreadstamina_ctr, 1500)
Task.PlayAnim(-1, "PRTIAL_GNGTLKB", "GANGS", 1000.0, False, False, False, False, 2000)
Task.PlayAnim(-1, "PRTIAL_GNGTLKC", "GANGS", 1000.0, False, False, False, False, 2000)
Task.StandStill(-1, 5000)
Sequence.Close(42@)
Char.PerformSequence(69@(40@,3i), 42@)
Sequence.Clear(42@)
81@(40@,3i) += 2

:CASINO5_3968
if 
  81@(40@,3i) == 0
goto_if_false @CASINO5_4008
63@(40@,3i) = 3
goto @CASINO5_7028

:CASINO5_4008
63@(40@,3i) += 1

:CASINO5_4019
if or
  81@(40@,3i) == 1
  81@(40@,3i) == 3
goto_if_false @CASINO5_4202
if 
  not Char.IsDead(66@(40@,3i))
goto_if_false @CASINO5_4158
if 
  not Char.IsInAnyCar(66@(40@,3i))
goto_if_false @CASINO5_4151
43@ = Char.GetSequenceProgress(66@(40@,3i))
if 
  43@ == 5
goto_if_false @CASINO5_4151
Task.EnterCarAsDriver(66@(40@,3i), 57@(40@,3i), -2)
81@(40@,3i) -= 1

:CASINO5_4151
goto @CASINO5_4202

:CASINO5_4158
if or
  81@(40@,3i) == 1
  81@(40@,3i) == 3
goto_if_false @CASINO5_4202
81@(40@,3i) -= 1

:CASINO5_4202
if or
  81@(40@,3i) == 2
  81@(40@,3i) == 3
goto_if_false @CASINO5_4432
if 
  not Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_4388
if 
  not Char.IsInAnyCar(69@(40@,3i))
goto_if_false @CASINO5_4381
43@ = Char.GetSequenceProgress(69@(40@,3i))
if 
  43@ == 5
goto_if_false @CASINO5_4381
if 
  Char.IsDead(66@(40@,3i))
goto_if_false @CASINO5_4350
Task.EnterCarAsDriver(69@(40@,3i), 57@(40@,3i), -2)
goto @CASINO5_4370

:CASINO5_4350
Task.EnterCarAsPassenger(69@(40@,3i), 57@(40@,3i), -2, 0)

:CASINO5_4370
81@(40@,3i) -= 2

:CASINO5_4381
goto @CASINO5_4432

:CASINO5_4388
if or
  81@(40@,3i) == 2
  81@(40@,3i) == 3
goto_if_false @CASINO5_4432
81@(40@,3i) -= 2

:CASINO5_4432
if 
  81@(40@,3i) == 0
goto_if_false @CASINO5_4581
if 
  not Char.IsDead(66@(40@,3i))
goto_if_false @CASINO5_4485
81@(40@,3i) += 1

:CASINO5_4485
if 
  not Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_4516
81@(40@,3i) += 2

:CASINO5_4516
if 
  81@(40@,3i) == 0
goto_if_false @CASINO5_4563
63@(40@,3i) = 3
goto @CASINO5_7028
goto @CASINO5_4574

:CASINO5_4563
63@(40@,3i) += 1

:CASINO5_4574
goto @CASINO5_4588

:CASINO5_4581
goto @CASINO5_7028

:CASINO5_4588
if or
  81@(40@,3i) == 1
  81@(40@,3i) == 3
goto_if_false @CASINO5_4730
if 
  not Char.IsDead(66@(40@,3i))
goto_if_false @CASINO5_4686
if 
  Char.IsInCar(66@(40@,3i), 57@(40@,3i))
goto_if_false @CASINO5_4679
81@(40@,3i) -= 1

:CASINO5_4679
goto @CASINO5_4730

:CASINO5_4686
if or
  81@(40@,3i) == 1
  81@(40@,3i) == 3
goto_if_false @CASINO5_4730
81@(40@,3i) -= 1

:CASINO5_4730
if or
  81@(40@,3i) == 2
  81@(40@,3i) == 3
goto_if_false @CASINO5_4872
if 
  not Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_4828
if 
  Char.IsInCar(69@(40@,3i), 57@(40@,3i))
goto_if_false @CASINO5_4821
81@(40@,3i) -= 2

:CASINO5_4821
goto @CASINO5_4872

:CASINO5_4828
if or
  81@(40@,3i) == 2
  81@(40@,3i) == 3
goto_if_false @CASINO5_4872
81@(40@,3i) -= 2

:CASINO5_4872
if 
  81@(40@,3i) == 0
goto_if_false @CASINO5_5073
if 
  not Char.IsDead(66@(40@,3i))
goto_if_false @CASINO5_4944
Task.CarDriveWander(66@(40@,3i), 57@(40@,3i), 15.0, DrivingMode.StopForCars)
goto @CASINO5_5055

:CASINO5_4944
if 
  not Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_5055
87@ = Car.GetDriver(57@(40@,3i))
42@ = Sequence.Open()
if 
  not is_int_lvar_equal_to_int_lvar 87@ == 69@(40@,3i)
goto_if_false @CASINO5_5015
Task.ShuffleToNextCarSeat(-1, 57@(40@,3i))

:CASINO5_5015
Task.CarDriveWander(-1, 57@(40@,3i), 15.0, DrivingMode.StopForCars)
Sequence.Close(42@)
Char.PerformSequence(69@(40@,3i), 42@)
Sequence.Clear(42@)

:CASINO5_5055
63@(40@,3i) += 1
goto @CASINO5_5080

:CASINO5_5073
goto @CASINO5_7028

:CASINO5_5080
if or
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 57@(40@,3i), 50.0, 50.0, False)
  Car.IsOnScreen(57@(40@,3i))
goto_if_false @CASINO5_5131
goto @CASINO5_7028

:CASINO5_5131
Car.MarkAsNoLongerNeeded(57@(40@,3i))
Char.MarkAsNoLongerNeeded(66@(40@,3i))
Char.MarkAsNoLongerNeeded(69@(40@,3i))
63@(40@,3i) = 10000
goto @CASINO5_7028

:CASINO5_5177
if 
  not Char.IsDead(72@)
goto_if_false @CASINO5_5703
if or
  Char.IsDead(66@(40@,3i))
  Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_5256
Text.PrintNow('CAS5_10', 8000, 1)
63@(40@,3i) = 5
goto @CASINO5_5696

:CASINO5_5256
if 
  Car.HasBeenDamagedByChar(57@(40@,3i), $stattreadstamina_ctr)
goto_if_false @CASINO5_5313
Text.PrintNow('CAS5_09', 8000, 1)
63@(40@,3i) = 5
goto @CASINO5_5696

:CASINO5_5313
if 
  TIMERA > 120000
goto_if_false @CASINO5_5574
if or
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 57@(40@,3i), 60.0, 60.0, False)
  Car.IsOnScreen(57@(40@,3i))
goto_if_false @CASINO5_5422
if 
  Char.IsInCar($stattreadstamina_ctr, 57@(40@,3i))
goto_if_false @CASINO5_5408
89@ = 1

:CASINO5_5408
goto @CASINO5_7028
goto @CASINO5_5567

:CASINO5_5422
Blip.Remove(60@(40@,3i))
if 
  Char.DoesExist(72@)
goto_if_false @CASINO5_5452
Char.Delete(72@)

:CASINO5_5452
if 
  Char.DoesExist(66@(40@,3i))
goto_if_false @CASINO5_5481
Char.Delete(66@(40@,3i))

:CASINO5_5481
if 
  Char.DoesExist(69@(40@,3i))
goto_if_false @CASINO5_5510
Char.Delete(69@(40@,3i))

:CASINO5_5510
if 
  Car.DoesExist(57@(40@,3i))
goto_if_false @CASINO5_5539
Car.Delete(57@(40@,3i))

:CASINO5_5539
51@ = 1
set_lvar_text_label 52@s = 'CAS5_32'
goto @CASINO5_12932

:CASINO5_5567
goto @CASINO5_5696

:CASINO5_5574
if 
  2 > 79@
goto_if_false @CASINO5_5689
if 
  79@ == 0
goto_if_false @CASINO5_5653
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO5_5646
Text.PrintNow('CAS5_30', 8000, 1)
79@ += 1

:CASINO5_5646
goto @CASINO5_5689

:CASINO5_5653
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @CASINO5_5689
Text.PrintNow('CAS5_31', 8000, 1)
79@ += 1

:CASINO5_5689
goto @CASINO5_7028

:CASINO5_5696
goto @CASINO5_5731

:CASINO5_5703
51@ = 1
set_lvar_text_label 52@s = 'CAS5_17'
goto @CASINO5_12932

:CASINO5_5731
if 
  not Char.IsDead(72@)
goto_if_false @CASINO5_6993
if 
  80@ == 0
goto_if_false @CASINO5_6171
41@ = 0

:CASINO5_5772
if 
  3 > 41@
goto_if_false @CASINO5_5865
if 
  not is_int_lvar_equal_to_int_lvar 40@ == 41@
goto_if_false @CASINO5_5851
Blip.Remove(60@(41@,3i))
if 
  3 > 63@(41@,3i)
goto_if_false @CASINO5_5851
63@(41@,3i) = 3

:CASINO5_5851
41@ += 1
goto @CASINO5_5772

:CASINO5_5865
Streaming.MarkModelAsNoLongerNeeded(275)
Streaming.RemoveAnimation("GANGS")
Streaming.RequestModel(405)
if 
  89@ == 0
goto_if_false @CASINO5_6120
if 
  not Char.IsDead(66@(40@,3i))
goto_if_false @CASINO5_6028
Char.ClearTasks(66@(40@,3i))
Task.CarDriveWander(66@(40@,3i), 57@(40@,3i), 25.0, DrivingMode.AvoidCars)
if 
  not Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_6014
Task.DriveBy(69@(40@,3i), $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 300.0, DriveByType.FixedRight, True, 35)

:CASINO5_6014
88@ = 0
goto @CASINO5_6120

:CASINO5_6028
if 
  not Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_6120
Char.ClearTasks(69@(40@,3i))
42@ = Sequence.Open()
Task.ShuffleToNextCarSeat(-1, 57@(40@,3i))
Task.CarDriveWander(-1, 57@(40@,3i), 25.0, DrivingMode.AvoidCars)
Sequence.Close(42@)
Char.PerformSequence(69@(40@,3i), 42@)
Sequence.Clear(42@)
88@ = 1

:CASINO5_6120
Car.SwitchSiren(57@(40@,3i), True)
Car.SetHealth(57@(40@,3i), 96@)
80@ = 1
92@ = 0
112@ = 0
goto @CASINO5_6986

:CASINO5_6171
90@ = Car.GetHealth(57@(40@,3i))
if 
  Car.HasBeenDamagedByChar(57@(40@,3i), $stattreadstamina_ctr)
goto_if_false @CASINO5_6298
set_lvar_int_to_lvar_int 91@ = 96@
sub_int_lvar_from_int_lvar 91@ -= 90@
if 
  Car.HasBeenDamagedByWeapon(57@(40@,3i), WeaponType.AnyWeapon)
goto_if_false @CASINO5_6283
91@ /= 20
if 
  91@ == 0
goto_if_false @CASINO5_6276
91@ = 1

:CASINO5_6276
goto @CASINO5_6290

:CASINO5_6283
91@ *= 2

:CASINO5_6290
add_int_lvar_to_int_lvar 92@ += 91@

:CASINO5_6298
Car.SetHealth(57@(40@,3i), 96@)
Car.ClearLastDamageEntity(57@(40@,3i))
if 
  200 > 92@
goto_if_false @CASINO5_6526
if 
  not Char.IsInCar($stattreadstamina_ctr, 57@(40@,3i))
goto_if_false @CASINO5_6519
if 
  Char.IsDead(66@(40@,3i))
goto_if_false @CASINO5_6505
if 
  not Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_6498
if 
  88@ == 0
goto_if_false @CASINO5_6491
Char.ClearTasks(69@(40@,3i))
42@ = Sequence.Open()
Task.ShuffleToNextCarSeat(-1, 57@(40@,3i))
Task.CarDriveWander(-1, 57@(40@,3i), 25.0, DrivingMode.AvoidCars)
Sequence.Close(42@)
Char.PerformSequence(69@(40@,3i), 42@)
Sequence.Clear(42@)
88@ = 1

:CASINO5_6491
goto @CASINO5_7028

:CASINO5_6498
goto @CASINO5_6512

:CASINO5_6505
goto @CASINO5_7028

:CASINO5_6512
goto @CASINO5_6526

:CASINO5_6519
89@ = 1

:CASINO5_6526
Car.SetHealth(57@(40@,3i), 3000)
if 
  89@ == 0
goto_if_false @CASINO5_6570
Car.SetTempAction(57@(40@,3i), TempAction.HandbrakeStraight, 5000)

:CASINO5_6570
if 
  not Char.IsDead(66@(40@,3i))
goto_if_false @CASINO5_6657
Char.ClearTasks(66@(40@,3i))
42@ = Sequence.Open()
Task.LeaveCar(-1, 57@(40@,3i))
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(42@)
Char.PerformSequence(66@(40@,3i), 42@)
Sequence.Clear(42@)
goto @CASINO5_6657

:CASINO5_6657
if 
  not Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_6744
Char.ClearTasks(69@(40@,3i))
42@ = Sequence.Open()
Task.LeaveCar(-1, 57@(40@,3i))
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(42@)
Char.PerformSequence(69@(40@,3i), 42@)
Sequence.Clear(42@)
goto @CASINO5_6744

:CASINO5_6744
if 
  89@ == 0
goto_if_false @CASINO5_6884
Blip.Remove(60@(40@,3i))
60@(40@,3i) = Blip.AddForCar(57@(40@,3i))
Blip.SetAsFriendly(60@(40@,3i), True)
Car.LockDoors(57@(40@,3i), CarLock.Unlocked)
if or
  not Char.IsDead(66@(40@,3i))
  not Char.IsDead(69@(40@,3i))
goto_if_false @CASINO5_6861
Text.PrintNow('CAS5_11', 8000, 1)
goto @CASINO5_6877

:CASINO5_6861
Text.PrintNow('CAS5_12', 8000, 1)

:CASINO5_6877
goto @CASINO5_6893

:CASINO5_6884
Blip.Remove(60@(40@,3i))

:CASINO5_6893
World.SetCarDensityMultiplier(0.6)
World.SetPedDensityMultiplier(0.6)
Path.UnmarkAllRoadNodesAsDontWander
109@ = 100.0
106@ = 0
101@ = -1
102@ = -1
107@ = -10.0
108@ = -10.0
77@ = 0
Car.SetHealth(57@(40@,3i), 1250)
goto @CASINO5_8780

:CASINO5_6986
goto @CASINO5_7021

:CASINO5_6993
51@ = 1
set_lvar_text_label 52@s = 'CAS5_17'
goto @CASINO5_12932

:CASINO5_7021
goto @CASINO5_7028

:CASINO5_7028
40@ += 1
goto @CASINO5_3088

:CASINO5_7042
gosub @CASINO5_7056
goto @CASINO5_3077

:CASINO5_7056
if 
  TIMERB > 500
goto_if_false @CASINO5_7430
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
40@ = 0

:CASINO5_7096
if 
  3 > 40@
goto_if_false @CASINO5_7423
if 
  not Car.IsDead(57@(40@,3i))
goto_if_false @CASINO5_7409
if 
  63@(40@,3i) == 0
goto_if_false @CASINO5_7365
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(57@(40@,3i))
$heading = Math.GetDistanceBetweenCoords2D($x, $y, $on_footY, $on_footZ)
switch_start 93@(40@,3i) {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @CASINO5_7358 {caseNum1} 0 {caseLabel1} @CASINO5_7258 {caseNum2} 1 {caseLabel2} @CASINO5_7308 {caseNum3} -1 {caseLabel3} @CASINO5_7358 {caseNum4} -1 {caseLabel4} @CASINO5_7358 {caseNum5} -1 {caseLabel5} @CASINO5_7358 {caseNum6} -1 {caseLabel6} @CASINO5_7358 {caseNum7} -1 {caseLabel7} @CASINO5_7358

:CASINO5_7258
if 
  120.0 > $heading
goto_if_false @CASINO5_7301
Car.SetLoadCollisionFlag(57@(40@,3i), True)
93@(40@,3i) += 1

:CASINO5_7301
goto @CASINO5_7358

:CASINO5_7308
if 
  $heading > 140.0
goto_if_false @CASINO5_7351
Car.SetLoadCollisionFlag(57@(40@,3i), False)
93@(40@,3i) -= 1

:CASINO5_7351
goto @CASINO5_7358

:CASINO5_7358
goto @CASINO5_7409

:CASINO5_7365
if 
  93@(40@,3i) == 0
goto_if_false @CASINO5_7409
Car.SetLoadCollisionFlag(57@(40@,3i), True)
93@(40@,3i) = 1

:CASINO5_7409
40@ += 1
goto @CASINO5_7096

:CASINO5_7423
TIMERB = 0

:CASINO5_7430
return 

:CASINO5_7432
45@ = Math.RandomIntInRange(0, 2)
switch_start 40@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @CASINO5_7642 {caseNum1} 0 {caseLabel1} @CASINO5_7504 {caseNum2} 1 {caseLabel2} @CASINO5_7550 {caseNum3} 2 {caseLabel3} @CASINO5_7596 {caseNum4} -1 {caseLabel4} @CASINO5_7642 {caseNum5} -1 {caseLabel5} @CASINO5_7642 {caseNum6} -1 {caseLabel6} @CASINO5_7642 {caseNum7} -1 {caseLabel7} @CASINO5_7642

:CASINO5_7504
if 
  45@ == 0
goto_if_false @CASINO5_7536
74@ = 1
goto @CASINO5_7543

:CASINO5_7536
74@ = 2

:CASINO5_7543
goto @CASINO5_7642

:CASINO5_7550
if 
  45@ == 0
goto_if_false @CASINO5_7582
74@ = 0
goto @CASINO5_7589

:CASINO5_7582
74@ = 2

:CASINO5_7589
goto @CASINO5_7642

:CASINO5_7596
if 
  45@ == 0
goto_if_false @CASINO5_7628
74@ = 0
goto @CASINO5_7635

:CASINO5_7628
74@ = 1

:CASINO5_7635
goto @CASINO5_7642

:CASINO5_7642
if 
  not Car.IsDead(57@(74@,3i))
goto_if_false @CASINO5_7980
96@ = 5000
Car.SetHealth(57@(74@,3i), 96@)
Car.SetCanBurstTires(57@(74@,3i), False)
if 
  not Char.IsDead(66@(74@,3i))
goto_if_false @CASINO5_7731
Char.ClearTasks(66@(74@,3i))
Char.Delete(66@(74@,3i))

:CASINO5_7731
66@(74@,3i) = Char.CreateInsideCar(57@(74@,3i), PedType.Mission1, 124)
Char.SetCantBeDraggedOut(66@(74@,3i), True)
Char.GiveWeapon(66@(74@,3i), WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(66@(74@,3i), WeaponType.Mp5)
Char.SetDecisionMaker(66@(74@,3i), 47@)
if 
  not Char.IsDead(69@(74@,3i))
goto_if_false @CASINO5_7837
Char.ClearTasks(69@(74@,3i))
Char.Delete(69@(74@,3i))

:CASINO5_7837
69@(74@,3i) = Char.CreateAsPassenger(57@(74@,3i), PedType.Mission1, 125, 0)
Char.SetCantBeDraggedOut(69@(74@,3i), True)
Char.GiveWeapon(69@(74@,3i), WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(69@(74@,3i), WeaponType.Mp5)
Char.SetDecisionMaker(69@(74@,3i), 47@)
72@ = Char.CreateAsPassenger(57@(74@,3i), PedType.Special, 290, 1)
Char.SetStayInCarWhenJacked(72@, True)
Char.SetForceDieInCar(72@, True)
Char.SetDecisionMaker(72@, 48@)
Char.SetGetOutUpsideDownCar(72@, False)
TIMERA = 0
79@ = 0
63@(74@,3i) = 4

:CASINO5_7980
return 

:CASINO5_7982
105@ = 0

:CASINO5_7989
if 
  2 > 105@
goto_if_false @CASINO5_8778
if and
  not Char.IsDead(99@(105@,2i))
  not Car.IsDead(97@(105@,2i))
goto_if_false @CASINO5_8416
switch_start 101@(105@,2i) {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @CASINO5_8409 {caseNum1} 1 {caseLabel1} @CASINO5_8103 {caseNum2} 2 {caseLabel2} @CASINO5_8332 {caseNum3} -1 {caseLabel3} @CASINO5_8409 {caseNum4} -1 {caseLabel4} @CASINO5_8409 {caseNum5} -1 {caseLabel5} @CASINO5_8409 {caseNum6} -1 {caseLabel6} @CASINO5_8409 {caseNum7} -1 {caseLabel7} @CASINO5_8409

:CASINO5_8103
if 
  106@ == 0
goto_if_false @CASINO5_8135
gosub @CASINO5_9852
goto @CASINO5_8325

:CASINO5_8135
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(97@(105@,2i))
$in_carX = Math.GetDistanceBetweenCoords2D(1074.461, 2392.227, $on_footY, $on_footZ)
$heading = Math.GetDistanceBetweenCoords2D(1010.673, 1487.184, $on_footY, $on_footZ)
Char.ClearTasks(99@(105@,2i))
if 
  is_float_var_greater_than_float_var $heading > $in_carX
goto_if_false @CASINO5_8272
Task.CarDriveToCoord(99@(105@,2i), 97@(105@,2i), 1074.461, 2392.227, 9.6796, 25.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
goto @CASINO5_8314

:CASINO5_8272
Task.CarDriveToCoord(99@(105@,2i), 97@(105@,2i), 1010.673, 1487.184, 9.6797, 25.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:CASINO5_8314
101@(105@,2i) = 2

:CASINO5_8325
goto @CASINO5_8409

:CASINO5_8332
if 
  106@ == 0
goto_if_false @CASINO5_8402
101@(105@,2i) = 1
Char.ClearTasks(99@(105@,2i))
Task.CarMission(99@(105@,2i), 97@(105@,2i), 57@(74@,3i), CarMission.RamPlayerClose, 32.0, DrivingMode.AvoidCars)

:CASINO5_8402
goto @CASINO5_8409

:CASINO5_8409
goto @CASINO5_8764

:CASINO5_8416
switch_start 101@(105@,2i) {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @CASINO5_8483 {caseNum1} -1 {caseLabel1} @CASINO5_8519 {caseNum2} 0 {caseLabel2} @CASINO5_8526 {caseNum3} -1 {caseLabel3} @CASINO5_8764 {caseNum4} -1 {caseLabel4} @CASINO5_8764 {caseNum5} -1 {caseLabel5} @CASINO5_8764 {caseNum6} -1 {caseLabel6} @CASINO5_8764 {caseNum7} -1 {caseLabel7} @CASINO5_8764

:CASINO5_8483
Char.MarkAsNoLongerNeeded(99@(105@,2i))
Car.MarkAsNoLongerNeeded(97@(105@,2i))
101@(105@,2i) = -1
goto @CASINO5_8764

:CASINO5_8519
goto @CASINO5_8764

:CASINO5_8526
if 
  103@(105@,2i) > 9000
goto_if_false @CASINO5_8757
if 
  Streaming.HasModelLoaded(405)
goto_if_false @CASINO5_8757
gosub @CASINO5_10001
if 
  114@ == 1
goto_if_false @CASINO5_8757
97@(105@,2i) = Car.Create(405, 118@, 119@, 120@)
Car.SetHeading(97@(105@,2i), 121@)
Car.LockDoors(97@(105@,2i), CarLock.LockoutPlayerOnly)
Car.SetCanBeVisiblyDamaged(97@(105@,2i), False)
Car.SetHealth(97@(105@,2i), 5000)
99@(105@,2i) = Char.CreateInsideCar(97@(105@,2i), PedType.Mission1, 125)
Char.GiveWeapon(99@(105@,2i), WeaponType.Mp5, 30000)
Char.SetDecisionMaker(99@(105@,2i), 48@)
Char.SetCantBeDraggedOut(99@(105@,2i), True)
Task.CarMission(99@(105@,2i), 97@(105@,2i), 57@(74@,3i), CarMission.RamPlayerClose, 32.0, DrivingMode.AvoidCars)
101@(105@,2i) = 1

:CASINO5_8757
goto @CASINO5_8764

:CASINO5_8764
105@ += 1
goto @CASINO5_7989

:CASINO5_8778
return 

:CASINO5_8780
wait 0
if 
  not Char.IsDead(72@)
goto_if_false @CASINO5_9817
if 
  not Car.IsDead(57@(74@,3i))
goto_if_false @CASINO5_9810
if 
  Char.IsInCar($stattreadstamina_ctr, 57@(74@,3i))
goto_if_false @CASINO5_9197
if 
  110@ == 0
goto_if_false @CASINO5_8999
Blip.Remove(60@(74@,3i))
44@ = Blip.AddForCoord(981.4241, 2132.469, 9.8203)
if 
  77@ == 0
goto_if_false @CASINO5_8976
Text.PrintNow('CAS5_13', 8000, 1)
101@ = 0
102@ = 0
103@ = 0
104@ = 0
77@ = 1
Car.MarkAsNoLongerNeeded(55@)
Streaming.MarkModelAsNoLongerNeeded(470)
goto @CASINO5_8992

:CASINO5_8976
Text.PrintNow('CAS5_14', 8000, 1)

:CASINO5_8992
110@ = 1

:CASINO5_8999
if 
  Char.LocateInCar2D($stattreadstamina_ctr, 981.4241, 2132.469, 109@, 109@, False)
goto_if_false @CASINO5_9130
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 981.4241, 2132.469, 9.8203, 4.0, 4.0, 4.0, True)
goto_if_false @CASINO5_9088
goto @CASINO5_10933

:CASINO5_9088
if 
  106@ == 0
goto_if_false @CASINO5_9123
109@ = 120.0
106@ = 1

:CASINO5_9123
goto @CASINO5_9165

:CASINO5_9130
if 
  106@ == 1
goto_if_false @CASINO5_9165
109@ = 100.0
106@ = 0

:CASINO5_9165
if 
  112@ == 1
goto_if_false @CASINO5_9190
gosub @CASINO5_10202

:CASINO5_9190
goto @CASINO5_9550

:CASINO5_9197
if 
  110@ == 1
goto_if_false @CASINO5_9270
Blip.Remove(44@)
60@(74@,3i) = Blip.AddForCar(57@(74@,3i))
Blip.SetAsFriendly(60@(74@,3i), True)
Text.PrintNow('CAS5_15', 8000, 1)
110@ = 0

:CASINO5_9270
if 
  2 > 111@
goto_if_false @CASINO5_9550
if 
  111@ == 0
goto_if_false @CASINO5_9415
if 
  not Char.IsDead(66@(74@,3i))
goto_if_false @CASINO5_9401
if 
  not Char.IsInAnyCar(66@(74@,3i))
goto_if_false @CASINO5_9394
set_var_int_to_constant $1280 = 8016
set_var_text_label s$SLOT_status = 'CAS5_EA'
start_new_script @A_ALAP 2 100 66@(74@,3i) 
111@ += 1

:CASINO5_9394
goto @CASINO5_9408

:CASINO5_9401
111@ += 1

:CASINO5_9408
goto @CASINO5_9550

:CASINO5_9415
if 
  not Char.IsDead(69@(74@,3i))
goto_if_false @CASINO5_9543
if 
  not Char.IsInAnyCar(69@(74@,3i))
goto_if_false @CASINO5_9536
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO5_9536
$cash($height_int_hj,2i) = -4
set_var_int_to_constant $1280 = 8017
set_var_text_label s$SLOT_status = 'CAS5_EB'
start_new_script @A_ALAP 2 100 69@(74@,3i) 
111@ += 1

:CASINO5_9536
goto @CASINO5_9550

:CASINO5_9543
111@ += 1

:CASINO5_9550
if 
  112@ == 0
goto_if_false @CASINO5_9758
if 
  not Car.IsDead(97@)
goto_if_false @CASINO5_9638
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 97@, 10.0, 10.0, False)
goto_if_false @CASINO5_9638
Text.PrintNow('CAS5_16', 8000, 1)
112@ = 1

:CASINO5_9638
if 
  112@ == 0
goto_if_false @CASINO5_9726
if 
  not Car.IsDead(98@)
goto_if_false @CASINO5_9726
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 98@, 10.0, 10.0, False)
goto_if_false @CASINO5_9726
Text.PrintNow('CAS5_16', 8000, 1)
112@ = 1

:CASINO5_9726
if 
  112@ == 1
goto_if_false @CASINO5_9758
TIMERB = 0
123@ = 7

:CASINO5_9758
37@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 39@ = 37@
sub_int_lvar_from_int_lvar 39@ -= 38@
set_lvar_int_to_lvar_int 38@ = 37@
add_int_lvar_to_int_lvar 103@ += 39@
add_int_lvar_to_int_lvar 104@ += 39@
gosub @CASINO5_7982

:CASINO5_9810
goto @CASINO5_9845

:CASINO5_9817
51@ = 1
set_lvar_text_label 52@s = 'CAS5_17'
goto @CASINO5_12932

:CASINO5_9845
goto @CASINO5_8780

:CASINO5_9852
if 
  103@(105@,2i) > 500
goto_if_false @CASINO5_9999
if and
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 97@(105@,2i), 75.0, 75.0, False)
  not Car.IsOnScreen(97@(105@,2i))
goto_if_false @CASINO5_9988
gosub @CASINO5_10001
if 
  114@ == 1
goto_if_false @CASINO5_9988
Car.SetCoordinates(97@(105@,2i), 118@, 119@, 120@)
Car.SetHeading(97@(105@,2i), 121@)
Car.SetForwardSpeed(97@(105@,2i), 32.0)

:CASINO5_9988
103@(105@,2i) = 0

:CASINO5_9999
return 

:CASINO5_10001
113@ = 1
114@ = 0

:CASINO5_10015
if and
  10 > 113@
  114@ == 0
goto_if_false @CASINO5_10200
115@, 116@, 117@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 107@(105@,2f), 0.0)
118@, 119@, 120@, 121@ = Path.GetNthClosestCarNodeWithHeading(115@, 116@, 117@, 113@)
if 
  not World.IsPointObscuredByAMissionEntity(118@, 119@, 120@, 5.0, 5.0, 5.0)
goto_if_false @CASINO5_10186
if 
  not Camera.IsPointOnScreen(118@, 119@, 120@, 5.0)
goto_if_false @CASINO5_10186
World.ClearArea(118@, 119@, 120@, 5.0, True)
114@ = 1

:CASINO5_10186
113@ += 1
goto @CASINO5_10015

:CASINO5_10200
return 

:CASINO5_10202
switch_start 123@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @CASINO5_10931 {caseNum1} 0 {caseLabel1} @CASINO5_10330 {caseNum2} 1 {caseLabel2} @CASINO5_10363 {caseNum3} 2 {caseLabel3} @CASINO5_10452 {caseNum4} 4 {caseLabel4} @CASINO5_10499 {caseNum5} 5 {caseLabel5} @CASINO5_10588 {caseNum6} 7 {caseLabel6} @CASINO5_10635 {caseNum7} 8 {caseLabel7} @CASINO5_10677
switch_continued 9 {caseLabel1} @CASINO5_10813 {caseNum2} 10 {caseLabel2} @CASINO5_10898 {caseNum3} -1 {caseLabel3} @CASINO5_10931 {caseNum4} -1 {caseLabel4} @CASINO5_10931 {caseNum5} -1 {caseLabel5} @CASINO5_10931 {caseNum6} -1 {caseLabel6} @CASINO5_10931 {caseNum7} -1 {caseLabel7} @CASINO5_10931 {caseNum8} -1 {caseLabel8} @CASINO5_10931 {caseNum9} -1 {caseLabel9} @CASINO5_10931

:CASINO5_10330
if 
  TIMERB > 8500
goto_if_false @CASINO5_10356
123@ += 1

:CASINO5_10356
goto @CASINO5_10931

:CASINO5_10363
if 
  2 > 122@
goto_if_false @CASINO5_10438
set_var_int_to_lvar_int $1280 = 124@(122@,16i)
set_var_text_label s$SLOT_status = 140@(122@,16s)
start_new_script @A_ALAP 0 100 
122@ += 1
123@ += 1
goto @CASINO5_10452

:CASINO5_10438
123@ = 3
goto @CASINO5_10931

:CASINO5_10452
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO5_10492
123@ = 1
$cash($height_int_hj,2i) = -4

:CASINO5_10492
goto @CASINO5_10931

:CASINO5_10499
if 
  7 > 122@
goto_if_false @CASINO5_10574
set_var_int_to_lvar_int $1280 = 124@(122@,16i)
set_var_text_label s$SLOT_status = 140@(122@,16s)
start_new_script @A_ALAP 0 100 
122@ += 1
123@ += 1
goto @CASINO5_10588

:CASINO5_10574
123@ = 6
goto @CASINO5_10931

:CASINO5_10588
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO5_10628
123@ = 4
$cash($height_int_hj,2i) = -4

:CASINO5_10628
goto @CASINO5_10931

:CASINO5_10635
if 
  TIMERB > 8500
goto_if_false @CASINO5_10670
122@ = Math.RandomIntInRange(7, 14)
123@ += 1

:CASINO5_10670
goto @CASINO5_10931

:CASINO5_10677
if 
  not Car.IsDead(97@)
goto_if_false @CASINO5_10728
if 
  Car.HasBeenDamagedByCar(57@(74@,3i), 97@)
goto_if_false @CASINO5_10723
123@ = 9

:CASINO5_10723
Car.ClearLastDamageEntity(97@)

:CASINO5_10728
if 
  not Car.IsDead(98@)
goto_if_false @CASINO5_10797
if 
  123@ <> 9
goto_if_false @CASINO5_10792
if 
  Car.HasBeenDamagedByCar(57@(74@,3i), 98@)
goto_if_false @CASINO5_10792
123@ = 9

:CASINO5_10792
Car.ClearLastDamageEntity(98@)

:CASINO5_10797
Car.ClearLastDamageEntity(57@(74@,3i))
goto @CASINO5_10931

:CASINO5_10813
set_var_int_to_lvar_int $1280 = 124@(122@,16i)
set_var_text_label s$SLOT_status = 140@(122@,16s)
start_new_script @A_ALAP 2 100 72@ 
123@ = 10
122@ += 1
if 
  122@ == 14
goto_if_false @CASINO5_10891
122@ = 7

:CASINO5_10891
TIMERB = 0

:CASINO5_10898
if 
  TIMERB > 10000
goto_if_false @CASINO5_10924
123@ = 8

:CASINO5_10924
goto @CASINO5_10931

:CASINO5_10931
return 

:CASINO5_10933
Camera.DoFade(0, Fade.Out)

:CASINO5_10939
if 
  Camera.GetFadingStatus
goto_if_false @CASINO5_10963
wait 0
goto @CASINO5_10939

:CASINO5_10963
Text.ClearPrints
World.ClearArea(979.7058, 2137.247, 9.8203, 200.0, True)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  not Car.IsDead(57@(74@,3i))
goto_if_false @CASINO5_11032
Car.SetHealth(57@(74@,3i), 3000)

:CASINO5_11032
Streaming.RequestModel(126)
Streaming.RequestModel(127)
Streaming.RequestModel(#CJ_WHEELCHAIR1)

:CASINO5_11045
if or
  not Streaming.HasModelLoaded(126)
  not Streaming.HasModelLoaded(127)
  not Streaming.HasModelLoaded(#CJ_WHEELCHAIR1)
goto_if_false @CASINO5_11080
wait 0
goto @CASINO5_11045

:CASINO5_11080
if 
  not Car.IsDead(57@(74@,3i))
goto_if_false @CASINO5_11182
Car.SetCoordinates(57@(74@,3i), 979.7058, 2137.247, 9.8203)
Car.SetHeading(57@(74@,3i), 237.8897)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 998.5278, 2118.589, 9.8203)
172@ = Char.CreateInsideCar(57@(74@,3i), PedType.Mission1, 126)
Char.SetDecisionMaker(172@, 48@)

:CASINO5_11182
Camera.SetFixedPosition(972.8329, 2141.334, 11.0496, 0.0, 0.0, 0.0)
Camera.PointAtPoint(973.6994, 2140.839, 11.1103, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:CASINO5_11240
if 
  Camera.GetFadingStatus
goto_if_false @CASINO5_11264
wait 0
goto @CASINO5_11240

:CASINO5_11264
if and
  not Car.IsDead(57@(74@,3i))
  not Char.IsDead(172@)
goto_if_false @CASINO5_11351
42@ = Sequence.Open()
Task.CarTempAction(-1, 57@(74@,3i), TempAction.ReverseStraight, 500)
Task.CarTempAction(-1, 57@(74@,3i), TempAction.HandbrakeStraight, 300)
Task.StandStill(-1, 8000)
Sequence.Close(42@)
Char.PerformSequence(172@, 42@)
Sequence.Clear(42@)

:CASINO5_11351
46@ = 0

:CASINO5_11358
if 
  46@ == 0
goto_if_false @CASINO5_11436
wait 0
if 
  not Char.IsDead(172@)
goto_if_false @CASINO5_11429
43@ = Char.GetSequenceProgress(172@)
if 
  43@ > 0
goto_if_false @CASINO5_11429
46@ = 1

:CASINO5_11429
goto @CASINO5_11358

:CASINO5_11436
if and
  not Char.IsDead(172@)
  not Car.IsDead(57@(74@,3i))
goto_if_false @CASINO5_11696
Char.WarpFromCarToCoord(172@, 971.7789, 2137.288, 9.8203)
Char.SetHeading(172@, 316.6316)
Char.ClearTasksImmediately(172@)
42@ = Sequence.Open()
Task.GoStraightToCoord(-1, 974.2065, 2140.108, 9.8203, MoveState.Walk, -2)
Task.LookAtVehicle(-1, 57@(74@,3i), 8000)
Task.StandStill(-1, 8000)
Sequence.Close(42@)
Char.PerformSequence(172@, 42@)
Sequence.Clear(42@)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO5_11591
Char.WarpIntoCar($stattreadstamina_ctr, 57@(74@,3i))

:CASINO5_11591
173@ = Char.Create(PedType.Mission1, 127, 975.8311, 2144.959, 9.8203)
Char.SetHeading(173@, 162.2693)
Char.SetDecisionMaker(173@, 48@)
42@ = Sequence.Open()
Task.GoStraightToCoord(-1, 975.0208, 2141.366, 9.8203, MoveState.Walk, -2)
Task.LookAtChar(-1, 173@, 8000)
Task.StandStill(-1, 8000)
Sequence.Close(42@)
Char.PerformSequence(173@, 42@)
Sequence.Clear(42@)

:CASINO5_11696
46@ = 0

:CASINO5_11703
if 
  46@ == 0
goto_if_false @CASINO5_11781
wait 0
if 
  not Char.IsDead(172@)
goto_if_false @CASINO5_11774
43@ = Char.GetSequenceProgress(172@)
if 
  43@ > 0
goto_if_false @CASINO5_11774
46@ = 1

:CASINO5_11774
goto @CASINO5_11703

:CASINO5_11781
set_var_int_to_constant $1280 = 8014
set_var_text_label s$SLOT_status = 'CAS5_DA'
start_new_script @A_ALAP 2 200 172@ 
46@ = 0

:CASINO5_11826
if 
  46@ == 0
goto_if_false @CASINO5_11904
wait 0
if 
  not Char.IsDead(173@)
goto_if_false @CASINO5_11897
43@ = Char.GetSequenceProgress(173@)
if 
  43@ > 0
goto_if_false @CASINO5_11897
46@ = 1

:CASINO5_11897
goto @CASINO5_11826

:CASINO5_11904
if 
  $cash($height_int_hj,2i) <> -3
goto_if_false @CASINO5_11937
wait 0
goto @CASINO5_11904

:CASINO5_11937
set_var_int_to_constant $1280 = 8015
set_var_text_label s$SLOT_status = 'CAS5_DB'
start_new_script @A_ALAP 2 200 173@ 
TIMERA = 0

:CASINO5_11982
if 
  4500 > TIMERA
goto_if_false @CASINO5_12012
wait 0
goto @CASINO5_11982

:CASINO5_12012
Camera.DoFade(0, Fade.Out)

:CASINO5_12018
if 
  Camera.GetFadingStatus
goto_if_false @CASINO5_12042
wait 0
goto @CASINO5_12018

:CASINO5_12042
174@ = Object.Create(#CJ_WHEELCHAIR1, 971.5, 2140.5, 9.8203)
Object.SetHeading(174@, 180.0)
if 
  not Char.IsDead(72@)
goto_if_false @CASINO5_12179
Char.WarpFromCarToCoord(72@, 0.0, 0.0, 0.0)
Char.AttachToObject(72@, 174@, 0.0, -0.575, 0.525, 2, 0.0, WeaponType.Unarmed)
Task.PlayAnim(72@, "SEAT_DOWN", "PED", 9.0, False, False, False, True, -1)

:CASINO5_12179
if 
  not Char.IsDead(172@)
goto_if_false @CASINO5_12225
Char.SetCoordinates(172@, 972.5, 2140.5, 9.8203)
Char.SetHeading(172@, 0.0)

:CASINO5_12225
if 
  not Char.IsDead(173@)
goto_if_false @CASINO5_12271
Char.SetCoordinates(173@, 971.5, 2139.5, 9.8203)
Char.SetHeading(173@, 0.0)

:CASINO5_12271
46@ = 0

:CASINO5_12278
if 
  46@ == 0
goto_if_false @CASINO5_12378
wait 0
if 
  not Char.IsDead(72@)
goto_if_false @CASINO5_12371
if 
  Char.IsPlayingAnim(72@, "SEAT_DOWN")
goto_if_false @CASINO5_12371
Char.SetAnimCurrentTime(72@, "SEAT_DOWN", 1.0)
46@ = 1

:CASINO5_12371
goto @CASINO5_12278

:CASINO5_12378
Camera.SetFixedPosition(971.4178, 2146.135, 14.0976, 0.0, 0.0, 0.0)
Camera.PointAtPoint(971.5663, 2145.275, 13.6106, SwitchType.JumpCut)
TIMERA = 0

:CASINO5_12436
if 
  200 > TIMERA
goto_if_false @CASINO5_12466
wait 0
goto @CASINO5_12436

:CASINO5_12466
if 
  not Char.IsDead(172@)
goto_if_false @CASINO5_12487
Char.ClearTasks(172@)

:CASINO5_12487
Camera.DoFade(500, Fade.In)

:CASINO5_12494
if 
  Camera.GetFadingStatus
goto_if_false @CASINO5_12518
wait 0
goto @CASINO5_12494

:CASINO5_12518
if 
  not Char.IsDead(172@)
goto_if_false @CASINO5_12558
Task.GoStraightToCoord(172@, 972.8889, 2148.039, 9.8203, MoveState.Walk, -2)

:CASINO5_12558
if 
  not Car.IsDead(57@(74@,3i))
goto_if_false @CASINO5_12616
Task.CarDriveToCoord($stattreadstamina_ctr, 57@(74@,3i), 991.3741, 2136.312, 9.8203, 5.0, DriveMode.Normal, 0, DrivingMode.StopForCars)

:CASINO5_12616
TIMERA = 0

:CASINO5_12623
if 
  1700 > TIMERA
goto_if_false @CASINO5_12653
wait 0
goto @CASINO5_12623

:CASINO5_12653
Camera.DoFade(1000, Fade.Out)

:CASINO5_12660
if 
  Camera.GetFadingStatus
goto_if_false @CASINO5_12684
wait 0
goto @CASINO5_12660

:CASINO5_12684
if 
  not Car.IsDead(57@(74@,3i))
goto_if_false @CASINO5_12750
Car.SetForwardSpeed(57@(74@,3i), 0.0)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 0.0, 0.0, 0.0)
Char.WarpIntoCar($stattreadstamina_ctr, 57@(74@,3i))

:CASINO5_12750
Char.DetachFromCar(72@)
Char.Delete(72@)
Char.Delete(172@)
Char.Delete(173@)
Object.Delete(174@)
Char.ClearTasks($stattreadstamina_ctr)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(True)
TIMERA = 0

:CASINO5_12802
if 
  200 > TIMERA
goto_if_false @CASINO5_12832
wait 0
goto @CASINO5_12802

:CASINO5_12832
Camera.DoFade(0, Fade.In)

:CASINO5_12838
$desertX += 1
Stat.RegisterMissionPassed('CASINO5')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSS', 5000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 5000)
Stat.AwardPlayerMissionRespect(5)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Blip.Remove($desert2_blip_icon)
$desert2_blip_icon = Blip.AddSpriteForContactPoint($docY, $docZ, $heistX, $flag_intro_mission_counter)
start_new_script @VCRASH 
return 

:CASINO5_12932
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  51@ == 1
goto_if_false @CASINO5_12976
Text.PrintNow(52@s, 5000, 1)

:CASINO5_12976
return 

:CASINO5_12978
start_new_script @A_TERM 
Path.UnmarkAllRoadNodesAsDontWander
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CASINO5_13015
Player.SetGroupRecruitment($statbike_temp, True)
Game.SetScriptLimitToGangSize(99)

:CASINO5_13015
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Blip.Remove(44@)
Blip.Remove(60@)
Blip.Remove(61@)
Blip.Remove(62@)
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(67@)
Char.MarkAsNoLongerNeeded(68@)
Char.MarkAsNoLongerNeeded(69@)
Char.MarkAsNoLongerNeeded(70@)
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(72@)
Char.MarkAsNoLongerNeeded(99@)
Char.MarkAsNoLongerNeeded(100@)
Car.MarkAsNoLongerNeeded(55@)
Car.MarkAsNoLongerNeeded(57@)
Car.MarkAsNoLongerNeeded(58@)
Car.MarkAsNoLongerNeeded(59@)
Car.MarkAsNoLongerNeeded(97@)
Car.MarkAsNoLongerNeeded(98@)
CarGenerator.DontSuppressCarModel(470)
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(275)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(127)
Streaming.MarkModelAsNoLongerNeeded(470)
Streaming.MarkModelAsNoLongerNeeded(416)
Streaming.MarkModelAsNoLongerNeeded(405)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(#CJ_WHEELCHAIR1)
Streaming.RemoveAnimation("GANGS")
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 90---------------
// Originally: The Meat Business

:CASINO6
script_name 'CASINO6'
gosub @CASINO6_47
if 
  has_deatharrest_been_executed 
goto_if_false @CASINO6_38
gosub @CASINO6_31162

:CASINO6_38
gosub @CASINO6_31910
terminate_this_script 

:CASINO6_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
World.SwitchEntryExit('ABATOIR', True)
Text.LoadMissionText('CASINO6')
Char.SetCoordinates($stattreadstamina_ctr, 2179.934, 1684.148, 10.0533)
Char.SetHeading($stattreadstamina_ctr, 108.0825)
Char.FreezePosition($stattreadstamina_ctr, True)
Player.SetControl($statbike_temp, False)
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
$1253 = 1
Streaming.SetAreaVisible(2)
Cutscene.Load('CAS_6A')

:CASINO6_157
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO6_181
wait 0
goto @CASINO6_157

:CASINO6_181
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASINO6_190
if 
  not Cutscene.HasFinished
goto_if_false @CASINO6_214
wait 0
goto @CASINO6_190

:CASINO6_214
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASINO6_227
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_251
wait 0
goto @CASINO6_227

:CASINO6_251
Cutscene.Clear
Streaming.SetAreaVisible(0)
Game.SetScriptLimitToGangSize(99)
if 
  230@ == 1
goto_if_false @CASINO6_342
314@ = Car.Create(405, 0.0, 0.0, 0.0)
218@ = Blip.AddForCoord(0.0, 0.0, 0.0)
40@ = Blip.AddForCoord(0.0, 0.0, 0.0)

:CASINO6_342
Player.SetGroupRecruitment($statbike_temp, False)
start_new_script @A_CONT 
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.LoadSceneInDirection(2179.934, 1684.148, 10.0533, 108.0825)
34@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
35@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Game.SetRelationship(RelationshipType.Hate, PedType.Special, PedType.Mission2)
Game.SetRelationship(RelationshipType.Respect, PedType.Special, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Special)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Player1)
308@ = Player.GetGroup($statbike_temp)
Group.SetDefaultTaskAllocator(308@, DefaultTaskAllocator.FollowLimited)
Streaming.LoadSpecialCharacter(1, 'ROSE')

:CASINO6_460
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @CASINO6_486
wait 0
goto @CASINO6_460

:CASINO6_486
39@ = Char.Create(PedType.Special, 290, 2181.372, 1680.926, 10.0636)
Char.SetHeading(39@, 71.6745)
Char.SetAreaVisible(39@, 0)
Blip.Remove(40@)
40@ = Blip.AddForChar(39@)
Blip.ChangeDisplay(40@, BlipDisplay.BlipOnly)
Blip.SetAsFriendly(40@, True)
Char.SetDecisionMaker(39@, 34@)
Char.SetNeverTargeted(39@, True)
Char.SetSuffersCriticalHits(39@, False)
Char.SetHealth(39@, 300)
Char.SetNeverLeavesGroup(39@, True)
Group.SetMember(308@, 39@)
Char.SetShootRate(39@, 100)
218@ = Blip.AddForCoord(967.3132, 2161.154, 9.8203)
Text.PrintNow('CAS6_10', 8000, 1)
Char.FreezePosition($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
231@ = Pickup.Create(#HEALTH, PickupType.Once, 958.9762, 2096.836, 1011.1)
Camera.DoFade(500, Fade.In)

:CASINO6_689
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_713
wait 0
goto @CASINO6_689

:CASINO6_713
set_lvar_text_label 364@s = 'CAS6_AA'
set_lvar_int_to_constant 318@ = 8200
set_lvar_int_to_var_int 341@ = $stattreadstamina_ctr
set_lvar_text_label 366@s = 'CAS6_AB'
set_lvar_int_to_constant 319@ = 8201
set_lvar_int_to_lvar_int 342@ = 39@
set_lvar_text_label 368@s = 'CAS6_AC'
set_lvar_int_to_constant 320@ = 8202
set_lvar_int_to_lvar_int 343@ = 39@
set_lvar_text_label 370@s = 'CAS6_AD'
set_lvar_int_to_constant 321@ = 8203
set_lvar_int_to_lvar_int 344@ = 39@
set_lvar_text_label 372@s = 'CAS6_AE'
set_lvar_int_to_constant 322@ = 8204
set_lvar_int_to_var_int 345@ = $stattreadstamina_ctr
set_lvar_text_label 374@s = 'CAS6_AF'
set_lvar_int_to_constant 323@ = 8205
set_lvar_int_to_lvar_int 346@ = 39@
set_lvar_text_label 376@s = 'CAS6_BA'
set_lvar_int_to_constant 324@ = 8206
set_lvar_int_to_lvar_int 347@ = 39@
set_lvar_text_label 378@s = 'CAS6_BB'
set_lvar_int_to_constant 325@ = 8207
set_lvar_int_to_lvar_int 348@ = 39@
set_lvar_text_label 380@s = 'CAS6_BC'
set_lvar_int_to_constant 326@ = 8208
set_lvar_int_to_lvar_int 349@ = 39@
set_lvar_text_label 382@s = 'CAS6_BD'
set_lvar_int_to_constant 327@ = 8209
set_lvar_int_to_var_int 350@ = $stattreadstamina_ctr
set_lvar_text_label 384@s = 'CAS6_BE'
set_lvar_int_to_constant 328@ = 8210
set_lvar_int_to_lvar_int 351@ = 39@
set_lvar_text_label 386@s = 'CAS6_BF'
set_lvar_int_to_constant 329@ = 8211
set_lvar_int_to_lvar_int 352@ = 39@
set_lvar_text_label 388@s = 'CAS6_BH'
set_lvar_int_to_constant 330@ = 8212
set_lvar_int_to_lvar_int 353@ = 39@
set_lvar_text_label 390@s = 'CAS6_BK'
set_lvar_int_to_constant 331@ = 8213
set_lvar_int_to_var_int 354@ = $stattreadstamina_ctr
set_lvar_text_label 392@s = 'CAS6_BL'
set_lvar_int_to_constant 332@ = 8214
set_lvar_int_to_lvar_int 355@ = 39@
set_lvar_text_label 394@s = 'CAS6_BM'
set_lvar_int_to_constant 333@ = 8215
set_lvar_int_to_lvar_int 356@ = 39@
set_lvar_text_label 396@s = 'CAS6_BN'
set_lvar_int_to_constant 334@ = 8216
set_lvar_int_to_lvar_int 357@ = 39@
set_lvar_text_label 398@s = 'CAS6_CA'
set_lvar_int_to_constant 335@ = 8217
set_lvar_int_to_lvar_int 358@ = 39@
set_lvar_text_label 400@s = 'CAS6_CB'
set_lvar_int_to_constant 336@ = 8218
set_lvar_int_to_lvar_int 359@ = 39@
TIMERB = 0

:CASINO6_1290
wait 0
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_1739
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CASINO6_1381
World.SwitchEntryExit('ABATOIR', True)
$bball_r3_is_pressed = 0
$lowrider_game_is_active = 0
set_var_text_label s$lowrider_pscore = 'ABATOIR'
start_new_script @ENTEXT 
goto @CASINO6_31014

:CASINO6_1381
284@ = Streaming.GetAreaVisible()
if 
  284@ <> 0
goto_if_false @CASINO6_1502
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 967.3132, 2161.154, 5.0, 5.0, False)
goto_if_false @CASINO6_1466
goto @CASINO6_2758
goto @CASINO6_1502

:CASINO6_1466
Char.FreezePosition(39@, True)
Blip.Remove(218@)
Blip.Remove(40@)
Char.RemoveFromGroup(39@)
313@ = 0
goto @CASINO6_1774

:CASINO6_1502
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 967.3132, 2161.154, 30.0, 30.0, False)
goto_if_false @CASINO6_1711
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 39@, 30.0, 30.0, False)
goto_if_false @CASINO6_1641
if 
  2 > 315@
goto_if_false @CASINO6_1596
315@ = 2

:CASINO6_1596
if 
  232@ == 0
goto_if_false @CASINO6_1634
World.SwitchEntryExit('ABATOIR', False)
232@ = 1

:CASINO6_1634
goto @CASINO6_1711

:CASINO6_1641
if 
  5 > 317@
goto_if_false @CASINO6_1673
316@ = 17
317@ = 5

:CASINO6_1673
if 
  232@ == 1
goto_if_false @CASINO6_1711
World.SwitchEntryExit('ABATOIR', True)
232@ = 0

:CASINO6_1711
gosub @CASINO6_29469
gosub @CASINO6_2522
gosub @CASINO6_1949
goto @CASINO6_1767

:CASINO6_1739
227@ = 1
set_lvar_text_label 228@s = 'CAS6_F0'
goto @CASINO6_31162

:CASINO6_1767
goto @CASINO6_1290

:CASINO6_1774
wait 0
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_1914
284@ = Streaming.GetAreaVisible()
if 
  284@ == 0
goto_if_false @CASINO6_1907
Char.FreezePosition(39@, False)
Char.SetNeverLeavesGroup(39@, True)
Group.SetMember(308@, 39@)
Blip.Remove(40@)
40@ = Blip.AddForChar(39@)
Blip.SetAsFriendly(40@, True)
Blip.ChangeDisplay(40@, BlipDisplay.BlipOnly)
218@ = Blip.AddForCoord(967.3132, 2161.154, 9.8203)
TIMERA = 0
315@ = 3
goto @CASINO6_1290

:CASINO6_1907
goto @CASINO6_1942

:CASINO6_1914
227@ = 1
set_lvar_text_label 228@s = 'CAS6_F0'
goto @CASINO6_31162

:CASINO6_1942
goto @CASINO6_1774

:CASINO6_1949
switch_start 317@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @CASINO6_2520 {caseNum1} 0 {caseLabel1} @CASINO6_2012 {caseNum2} 1 {caseLabel2} @CASINO6_2045 {caseNum3} 2 {caseLabel3} @CASINO6_2172 {caseNum4} 3 {caseLabel4} @CASINO6_2258 {caseNum5} 4 {caseLabel5} @CASINO6_2351 {caseNum6} 5 {caseLabel6} @CASINO6_2398 {caseNum7} 6 {caseLabel7} @CASINO6_2473

:CASINO6_2012
if 
  TIMERB > 8000
goto_if_false @CASINO6_2038
317@ += 1

:CASINO6_2038
goto @CASINO6_2520

:CASINO6_2045
if 
  6 > 316@
goto_if_false @CASINO6_2158
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 39@, 20.0, 20.0, False)
goto_if_false @CASINO6_2151
set_var_int_to_lvar_int $1280 = 318@(316@,23i)
set_var_text_label s$SLOT_status = 364@(316@,23s)
start_new_script @A_ALAP 2 100 341@(316@,23i) 
316@ += 1
317@ += 1

:CASINO6_2151
goto @CASINO6_2172

:CASINO6_2158
317@ = 3
goto @CASINO6_2520

:CASINO6_2172
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO6_2251
if 
  313@ == 1
goto_if_false @CASINO6_2233
316@ = 6
317@ = 3
goto @CASINO6_2240

:CASINO6_2233
317@ = 1

:CASINO6_2240
$cash($height_int_hj,2i) = -4

:CASINO6_2251
goto @CASINO6_2520

:CASINO6_2258
if 
  313@ == 1
goto_if_false @CASINO6_2351
if 
  17 > 316@
goto_if_false @CASINO6_2351
set_var_int_to_lvar_int $1280 = 318@(316@,23i)
set_var_text_label s$SLOT_status = 364@(316@,23s)
start_new_script @A_ALAP 1 100 341@(316@,23i) 
316@ += 1
317@ += 1

:CASINO6_2351
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO6_2391
317@ = 3
$cash($height_int_hj,2i) = -4

:CASINO6_2391
goto @CASINO6_2520

:CASINO6_2398
if 
  19 > 316@
goto_if_false @CASINO6_2473
set_var_int_to_lvar_int $1280 = 318@(316@,23i)
set_var_text_label s$SLOT_status = 364@(316@,23s)
start_new_script @A_ALAP 2 100 341@(316@,23i) 
316@ += 1
317@ += 1

:CASINO6_2473
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO6_2513
317@ = 5
$cash($height_int_hj,2i) = -4

:CASINO6_2513
goto @CASINO6_2520

:CASINO6_2520
return 

:CASINO6_2522
switch_start 315@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @CASINO6_2756 {caseNum1} 0 {caseLabel1} @CASINO6_2585 {caseNum2} 1 {caseLabel2} @CASINO6_2653 {caseNum3} 2 {caseLabel3} @CASINO6_2686 {caseNum4} 3 {caseLabel4} @CASINO6_2723 {caseNum5} -1 {caseLabel5} @CASINO6_2756 {caseNum6} -1 {caseLabel6} @CASINO6_2756 {caseNum7} -1 {caseLabel7} @CASINO6_2756

:CASINO6_2585
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 39@, 60.0, 60.0, False)
goto_if_false @CASINO6_2646
Text.PrintNow('CAS6_11', 8000, 1)
TIMERA = 0
315@ += 1

:CASINO6_2646
goto @CASINO6_2756

:CASINO6_2653
if 
  TIMERA > 20000
goto_if_false @CASINO6_2679
315@ -= 1

:CASINO6_2679
goto @CASINO6_2756

:CASINO6_2686
Text.PrintNow('CAS6_12', 8000, 1)
TIMERA = 0
315@ += 1
goto @CASINO6_2756

:CASINO6_2723
if 
  TIMERA > 20000
goto_if_false @CASINO6_2749
315@ = 0

:CASINO6_2749
goto @CASINO6_2756

:CASINO6_2756
return 

:CASINO6_2758
Player.ClearWantedLevel($statbike_temp)
if 
  not Car.IsDead(314@)
goto_if_false @CASINO6_3064
if 
  Car.IsInArea2D(314@, 960.4431, 2087.975, 996.5055, 2182.153, False)
goto_if_false @CASINO6_3054
if 
  not Car.IsUpsidedown(314@)
goto_if_false @CASINO6_3054
233@ = 1
241@, 242@, 243@ = Car.GetCoordinates(314@)
244@ = Car.GetHeading(314@)
234@ = Car.GetModel(314@)
235@, 236@ = Car.GetColors(314@)
237@, 238@ = Car.GetExtraColors(314@)
216@ = 0

:CASINO6_2899
if 
  4 > 216@
goto_if_false @CASINO6_2958
if 
  Car.IsTireBurst(314@, 216@)
goto_if_false @CASINO6_2944
set_local_var_bit_lvar 239@ {var_n} 216@

:CASINO6_2944
216@ += 1
goto @CASINO6_2899

:CASINO6_2958
if 
  Streaming.IsThisModelACar(234@)
goto_if_false @CASINO6_3047
216@ = 0

:CASINO6_2981
if 
  6 > 216@
goto_if_false @CASINO6_3040
if 
  Car.IsDoorDamaged(314@, 216@)
goto_if_false @CASINO6_3026
set_local_var_bit_lvar 240@ {var_n} 216@

:CASINO6_3026
216@ += 1
goto @CASINO6_2981

:CASINO6_3040
goto @CASINO6_3054

:CASINO6_3047
240@ = -1

:CASINO6_3054
Car.Fix(314@)
Streaming.MarkModelAsNoLongerNeeded(234@)

:CASINO6_3064
284@ = 0

:CASINO6_3071
if 
  284@ == 0
goto_if_false @CASINO6_3108
wait 0
284@ = Char.GetAreaVisible($stattreadstamina_ctr)
goto @CASINO6_3071

:CASINO6_3108
Camera.DoFade(0, Fade.Out)

:CASINO6_3114
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_3138
wait 0
goto @CASINO6_3114

:CASINO6_3138
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 963.7808, 2165.35, 1010.031)
Player.SetControl($statbike_temp, False)
Player.DisableSprint($statbike_temp, True)
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_3268
if 
  not Char.IsInAnyCar(39@)
goto_if_false @CASINO6_3231
Char.SetCoordinates(39@, 963.8596, 2162.615, 1010.031)
goto @CASINO6_3251

:CASINO6_3231
Char.WarpFromCarToCoord(39@, 963.8596, 2162.615, 1010.031)

:CASINO6_3251
Char.FreezePosition(39@, True)
Blip.Remove(40@)
Char.RemoveFromGroup(39@)

:CASINO6_3268
Blip.Remove(218@)
if 
  not Car.IsDead(314@)
goto_if_false @CASINO6_3294
Car.Delete(314@)

:CASINO6_3294
317@ = 0
316@ = 0
World.ClearAreaOfChars(930.0, 2178.0, 1008.0, 964.0, 2095.0, 1014.0)
Player.MakeSafeForCutscene($statbike_temp)
Streaming.SetAreaVisible(1)
Cutscene.Load('CAS6B_1')

:CASINO6_3360
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO6_3384
wait 0
goto @CASINO6_3360

:CASINO6_3384
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASINO6_3393
if 
  not Cutscene.HasFinished
goto_if_false @CASINO6_3417
wait 0
goto @CASINO6_3393

:CASINO6_3417
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASINO6_3432
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_3456
wait 0
goto @CASINO6_3432

:CASINO6_3456
if 
  not Cutscene.WasSkipped
goto_if_false @CASINO6_3576
Cutscene.Load('CAS6B_2')

:CASINO6_3480
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO6_3504
wait 0
goto @CASINO6_3480

:CASINO6_3504
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASINO6_3513
if 
  not Cutscene.HasFinished
goto_if_false @CASINO6_3537
wait 0
goto @CASINO6_3513

:CASINO6_3537
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASINO6_3552
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_3576
wait 0
goto @CASINO6_3552

:CASINO6_3576
Hud.SwitchWidescreen(True)
Streaming.LoadScene(942.8142, 2111.484, 1010.031)
Streaming.RequestCollision(942.8142, 2111.484)
Char.SetCoordinates($stattreadstamina_ctr, 961.4175, 2111.39, 1010.03)
Char.SetHeading($stattreadstamina_ctr, 100.0)
Char.FreezePosition($stattreadstamina_ctr, False)
36@ = 0
Streaming.RequestModel(124)
Streaming.RequestModel(125)
Streaming.RequestModel(126)
Streaming.RequestModel(127)
Streaming.RequestModel(344)
Streaming.RequestModel(353)
Streaming.RequestModel(341)
Streaming.RequestModel(336)
Streaming.RequestModel(366)
Streaming.RequestModel(#BODYARMOUR)
Streaming.RequestModel(#AB_CARCASS)
Streaming.RequestModel(#AB_HOOK)
Streaming.RequestModel(#FREEZER_DOOR)
Streaming.RequestModel(#SEC_KEYPAD)
Streaming.RequestModel(#CARDBOARDBOX2)
Streaming.RequestModel(#CJ_MEAT_BAG_1)
Streaming.RequestModel(#CJ_MEAT_1)
Streaming.RequestModel(#CJ_MEAT_2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1812)

:CASINO6_3745
if or
  not Streaming.HasModelLoaded(124)
  not Streaming.HasModelLoaded(125)
  not Streaming.HasModelLoaded(126)
  not Streaming.HasModelLoaded(127)
  not Streaming.HasModelLoaded(344)
goto_if_false @CASINO6_3788
wait 0
goto @CASINO6_3745

:CASINO6_3788
if or
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(341)
  not Streaming.HasModelLoaded(336)
  not Streaming.HasModelLoaded(366)
  not Streaming.HasModelLoaded(#BODYARMOUR)
goto_if_false @CASINO6_3834
wait 0
goto @CASINO6_3788

:CASINO6_3834
if or
  not Streaming.HasModelLoaded(#AB_CARCASS)
  not Streaming.HasModelLoaded(#AB_HOOK)
  not Streaming.HasModelLoaded(#FREEZER_DOOR)
  not Streaming.HasModelLoaded(#SEC_KEYPAD)
  not Streaming.HasModelLoaded(#CARDBOARDBOX2)
  not Streaming.HasModelLoaded(#CJ_MEAT_BAG_1)
goto_if_false @CASINO6_3886
wait 0
goto @CASINO6_3834

:CASINO6_3886
if or
  not Streaming.HasModelLoaded(#CJ_MEAT_1)
  not Streaming.HasModelLoaded(#CJ_MEAT_2)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @CASINO6_3922
wait 0
goto @CASINO6_3886

:CASINO6_3922
220@, 230@, 230@ = Char.GetWeaponInSlot($stattreadstamina_ctr, WeaponSlot.Melee)
if 
  is_int_lvar_equal_to_constant 220@ == 9
goto_if_false @CASINO6_3975
set_lvar_int_to_constant 220@ = 5
Streaming.MarkModelAsNoLongerNeeded(341)
goto @CASINO6_3982

:CASINO6_3975
set_lvar_int_to_constant 220@ = 9

:CASINO6_3982
Game.SetMaxFireGenerations(0)
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_4109
Char.SetCoordinates(39@, 959.7906, 2108.67, 1010.03)
Char.SetHeading(39@, 51.5)
Char.SetAreaVisible(39@, 1)
Char.FreezePosition(39@, False)
Blip.Remove(40@)
40@ = Blip.AddForChar(39@)
Blip.ChangeDisplay(40@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(40@, 968.3954, 2160.965, 1.0)
Blip.SetAsFriendly(40@, True)
Char.SetDecisionMaker(39@, 34@)
Char.SetHealth(39@, 300)

:CASINO6_4109
Hud.DisplayCounterWithString($7765, CounterDisplay.Bar, 'CAS6_C0')
41@ = 0
42@ = 0
44@ = 0
51@ = 0
37@ = Pickup.Create(366, PickupType.Once, 962.9547, 2101.918, 1011.0)
43@ = Object.CreateNoOffset(366, 959.9, 2098.1, 1010.6)
Object.SetRotation(43@, 0.0, 45.0, 90.0)
38@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 958.4733, 2144.251, 1011.0)
Hud.SetRadarZoom(95)
285@ = 0
227@ = 0
307@ = 0
303@ = 0
304@ = 0
180@ = 1.062
set_lvar_float_to_lvar_float 178@ = 180@
178@ *= 2.0
178@ *= 3.141593
178@ /= 360.0
176@ = 0.0
177@ = -0.0001
162@ = 1
161@ = 0
163@ = 0
181@ = 945.725
189@ = 2175.24
182@ = 946.787
190@ = 2174.185
183@ = 946.787
191@ = 2118.155
184@ = 945.725
192@ = 2117.069
185@ = 938.357
193@ = 2117.069
186@ = 937.262
194@ = 2118.155
187@ = 937.262
195@ = 2174.185
188@ = 938.357
196@ = 2175.24
197@ = 1016.288
160@ = Object.CreateNoOffset(#SEC_KEYPAD, 946.35, 2113.55, 1011.522)
Object.SetCollision(160@, False)
Object.FreezePosition(160@, True)
154@ = Object.CreateNoOffset(#CARDBOARDBOX2, 937.262, 2126.155, 197@)
Object.SetDynamic(154@, False)
Object.SetCollision(154@, False)
Object.SetVisible(154@, False)
148@ = 6
164@ = 0.0
170@ = 0.0
142@ = Object.CreateNoOffset(#AB_CARCASS, 937.228, 2121.157, 197@)
Object.AttachToObject(142@, 154@, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
155@ = Object.CreateNoOffset(#CARDBOARDBOX2, 940.356, 2175.24, 197@)
Object.SetDynamic(155@, False)
Object.SetCollision(155@, False)
Object.SetVisible(155@, False)
149@ = 0
165@ = 90.0
171@ = 0.0
143@ = Object.CreateNoOffset(#AB_CARCASS, 940.356, 2175.264, 197@)
Object.AttachToObject(143@, 155@, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
156@ = Object.CreateNoOffset(#CARDBOARDBOX2, 946.846, 2135.264, 197@)
Object.SetDynamic(156@, False)
Object.SetCollision(156@, False)
Object.SetVisible(156@, False)
150@ = 2
166@ = 0.0
172@ = 0.0
144@ = Object.CreateNoOffset(#AB_CARCASS, 946.846, 2135.264, 197@)
Object.AttachToObject(144@, 156@, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
157@ = Object.CreateNoOffset(#AB_HOOK, 941.727, 2117.076, 197@)
151@ = 4
167@ = 90.0
173@ = 45.0
Object.SetRotation(157@, 0.0, 0.0, 173@)
158@ = Object.CreateNoOffset(#AB_HOOK, 937.228, 2162.24, 197@)
152@ = 6
168@ = 0.0
174@ = -45.0
Object.SetRotation(158@, 0.0, 0.0, 174@)
159@ = Object.CreateNoOffset(#AB_HOOK, 946.846, 2172.24, 197@)
153@ = 2
169@ = 0.0
175@ = 135.0
Object.SetRotation(159@, 0.0, 0.0, 175@)
245@ = Object.CreateNoOffset(#CJ_MEAT_BAG_1, 933.6226, 2118.948, 1012.313)
Object.SetHeading(245@, 65.0793)
246@ = Object.CreateNoOffset(#CJ_MEAT_BAG_1, 933.1715, 2133.366, 1012.767)
Object.SetHeading(246@, 65.0783)
247@ = Object.CreateNoOffset(#CJ_MEAT_BAG_1, 942.9017, 2155.644, 1013.479)
Object.SetHeading(247@, 64.6149)
248@ = Object.CreateNoOffset(#CJ_MEAT_BAG_1, 950.8132, 2166.67, 1012.296)
Object.SetHeading(248@, 88.701)
249@ = Object.CreateNoOffset(#CJ_MEAT_2, 942.7145, 2154.633, 1011.213)
Object.SetHeading(249@, 73.973)
250@ = Object.CreateNoOffset(#CJ_MEAT_2, 950.4804, 2155.572, 1011.902)
Object.SetHeading(250@, 131.2515)
251@ = Object.CreateNoOffset(#CJ_MEAT_2, 942.3651, 2118.868, 1011.241)
Object.SetHeading(251@, 64.6148)
252@ = Object.CreateNoOffset(#CJ_MEAT_2, 950.6234, 2132.096, 1011.947)
Object.SetHeading(252@, 24.2141)
253@ = Object.CreateNoOffset(#CJ_MEAT_2, 934.5715, 2171.173, 1011.266)
Object.SetHeading(253@, 354.6342)
202@ = Object.CreateNoOffset(#FREEZER_DOOR, 951.859, 2121.648, 1012.094)
Object.SetProofs(202@, True, True, True, True, True)
203@ = Object.CreateNoOffset(#SEC_KEYPAD, 950.9305, 2114.348, 1011.522)
Object.SetHeading(203@, 180.0)
Object.FreezePosition(203@, True)
Object.SetCollision(203@, False)
204@ = 0
214@ = 0.0
215@ = 0.001
287@ = -1
206@ = Sequence.Open()
Task.AchieveHeading(-1, 180.0)
Task.StandStill(-1, 800)
Sequence.Close(206@)
208@ = Object.CreateNoOffset(#AB_CARCASS, 962.4035, 2119.817, 197@)
209@ = Object.CreateNoOffset(#AB_CARCASS, 962.4035, 2121.641, 197@)
210@ = Object.CreateNoOffset(#AB_CARCASS, 962.4035, 2124.842, 197@)
211@ = Object.CreateNoOffset(#AB_CARCASS, 955.9693, 2128.817, 197@)
212@ = Object.CreateNoOffset(#AB_CARCASS, 955.9693, 2131.641, 197@)
213@ = Object.CreateNoOffset(#AB_CARCASS, 955.9693, 2134.842, 197@)
140@ = 29
141@ = 0
216@ = 0

:CASINO6_5751
if 
  is_int_lvar_greater_than_int_lvar 140@ > 216@
goto_if_false @CASINO6_5795
111@(216@,29i) = -1
216@ += 1
goto @CASINO6_5751

:CASINO6_5795
53@ = Char.Create(PedType.Mission2, 126, 937.3484, 2112.078, 1010.031)
Char.SetHeading(53@, 264.0)
Char.SetHealth(53@, 200)
Char.SetMaxHealth(53@, 200)
82@ = Blip.AddForChar(53@)
Blip.ChangeDisplay(82@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(82@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(53@, True)
Char.GiveWeapon(53@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(53@, WeaponType.Mp5)
Char.SetAccuracy(53@, 30)
Char.SetDecisionMaker(53@, 34@)
111@ = 0
54@ = Char.Create(PedType.Mission2, 127, 937.135, 2108.94, 1010.031)
Char.SetHeading(54@, 271.5)
Char.SetHealth(54@, 200)
Char.SetMaxHealth(54@, 200)
83@ = Blip.AddForChar(54@)
Blip.ChangeDisplay(83@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(83@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(54@, True)
Char.GiveWeapon(54@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(54@, WeaponType.Mp5)
Char.SetAccuracy(54@, 30)
Char.SetDecisionMaker(54@, 34@)
112@ = 0
55@ = Char.Create(PedType.Mission2, 124, 939.319, 2124.888, 1010.031)
Char.SetHeading(55@, 195.0)
Char.SetHealth(53@, 200)
Char.SetMaxHealth(53@, 200)
84@ = Blip.AddForChar(55@)
Blip.ChangeDisplay(84@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(84@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(55@, 220@, 0)
Char.SetCurrentWeapon(55@, 220@)
113@ = 0
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.ToggleDuck(-1, False)
Task.StandStill(-1, 800)
Task.StayInSamePlace(-1, False)
Task.GoStraightToCoord(-1, 940.5833, 2116.169, 1010.031, MoveState.Run, -1)
Task.Jump(-1, True)
Task.KillCharOnFoot(-1, 39@)
Task.SetCharDecisionMaker(-1, 35@)
Sequence.Close(288@)
Char.PerformSequence(55@, 288@)
Sequence.Clear(288@)
56@ = Char.Create(PedType.Mission2, 125, 937.819, 2137.487, 1010.03)
Char.SetHeading(56@, 188.0)
Char.SetHealth(53@, 200)
Char.SetMaxHealth(53@, 200)
85@ = Blip.AddForChar(56@)
Blip.ChangeDisplay(85@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(85@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(56@, WeaponType.BaseballBat, 0)
Char.SetCurrentWeapon(56@, WeaponType.BaseballBat)
Char.SetAccuracy(56@, 35)
114@ = 0
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.ToggleDuck(-1, False)
Task.StandStill(-1, 800)
Task.StayInSamePlace(-1, False)
Task.GoStraightToCoord(-1, 940.5833, 2116.169, 1010.031, MoveState.Run, -1)
Task.Jump(-1, True)
Task.KillCharOnFoot(-1, 39@)
Task.SetCharDecisionMaker(-1, 35@)
Sequence.Close(288@)
Char.PerformSequence(56@, 288@)
Sequence.Clear(288@)
57@ = Char.Create(PedType.Mission2, 127, 948.0, 2124.0, 1010.031)
Char.SetHeading(57@, 135.0)
Char.SetHealth(57@, 200)
Char.SetMaxHealth(57@, 200)
86@ = Blip.AddForChar(57@)
Blip.ChangeDisplay(86@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(86@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(57@, True)
Char.SetAccuracy(57@, 30)
115@ = 0
254@ = Object.CreateNoOffset(344, 948.0, 2124.0, 1010.031)
Object.SetDynamic(254@, False)
Object.SetCollision(254@, False)
Task.PickUpObject(57@, 254@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
256@ = Particle.CreateOnObject("FIRE", 254@, 0.0, 0.0, 0.6, 1)
288@ = Sequence.Open()
Task.StandStill(-1, 200)
Task.PlayAnim(-1, "UZI_RELOAD", "UZI", 4.0, False, False, False, False, 300)
Task.PlayAnim(-1, "WEAPON_START_THROW", "GRENADE", 10.0, False, False, False, False, -1)
Task.PlayAnim(-1, "WEAPON_THROW", "GRENADE", 10.0, False, False, False, False, -1)
Task.StandStill(-1, 500)
Task.GoToCoordAnyMeans(-1, 944.032, 2119.907, 1010.031, 6, -1)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Sequence.Close(288@)
Char.PerformSequence(57@, 288@)
Sequence.Clear(288@)
58@ = Char.Create(PedType.Mission2, 125, 940.7016, 2138.933, 1010.031)
Char.SetHeading(58@, 180.0)
Char.SetHealth(58@, 200)
Char.SetMaxHealth(58@, 200)
87@ = Blip.AddForChar(58@)
Blip.ChangeDisplay(87@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(87@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(58@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(58@, WeaponType.Mp5)
Char.SetAccuracy(58@, 30)
116@ = 0
set_lvar_int_to_lvar_int 289@ = 58@
290@ = 0
291@ = 1
293@ = 940.8504
294@ = 2120.21
295@ = 1010.031
296@ = 184.0
gosub @CASINO6_20743
59@ = Char.Create(PedType.Mission2, 124, 938.9517, 2132.403, 1010.031)
Char.SetHeading(59@, 170.0)
Char.SetHealth(59@, 200)
Char.SetMaxHealth(59@, 200)
88@ = Blip.AddForChar(59@)
Blip.ChangeDisplay(88@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(88@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(59@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(59@, WeaponType.Mp5)
Char.SetAccuracy(59@, 30)
117@ = 0
set_lvar_int_to_lvar_int 289@ = 59@
290@ = 0
291@ = 1
293@ = 933.7762
294@ = 2120.589
295@ = 1010.031
296@ = 230.0
gosub @CASINO6_20743
60@ = Char.Create(PedType.Mission2, 126, 942.4279, 2129.262, 1011.228)
Char.SetHeading(60@, 180.0)
Char.SetHealth(60@, 200)
Char.SetMaxHealth(60@, 200)
89@ = Blip.AddForChar(60@)
Blip.ChangeDisplay(89@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(89@, 968.3954, 2160.965, 1.0)
Task.ToggleDuck(60@, True)
Task.StayInSamePlace(60@, True)
Char.GiveWeapon(60@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(60@, WeaponType.Mp5)
Char.SetAccuracy(60@, 30)
118@ = 0
61@ = Char.Create(PedType.Mission2, 125, 941.8554, 2141.05, 1010.03)
Char.SetHeading(61@, 198.3264)
Char.SetHealth(61@, 200)
Char.SetMaxHealth(61@, 200)
90@ = Blip.AddForChar(61@)
Blip.ChangeDisplay(90@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(90@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(61@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(61@, WeaponType.Mp5)
Char.SetAccuracy(61@, 30)
119@ = 0
set_lvar_int_to_lvar_int 289@ = 61@
290@ = 0
291@ = 1
293@ = 950.5577
294@ = 2126.734
295@ = 1010.031
296@ = 150.0
gosub @CASINO6_20743
Camera.SetFixedPosition(946.2746, 2122.199, 1011.263, 0.0, 0.0, 0.0)
Camera.PointAtPoint(947.4866, 2124.386, 1011.263, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Player.ClearWantedLevel($statbike_temp)
Game.SetMaxWantedLevel(0)
219@ = 0
wait 0
280@ = 0.2
Clock.SetTimeScale(280@)
TIMERA = 0

:CASINO6_7669
if 
  100 > TIMERA
goto_if_false @CASINO6_7698
wait 0
goto @CASINO6_7669

:CASINO6_7698
Camera.DoFade(0, Fade.In)
skip_cutscene_start_internal @CASINO6_9228
274@ = 0.5
mult_float_lvar_by_float_lvar 274@ *= 280@
276@ = -0.0002
mult_float_lvar_by_float_lvar 276@ *= 280@
278@ = 0.8
mult_float_lvar_by_float_lvar 278@ *= 280@
275@ = 0.3
mult_float_lvar_by_float_lvar 275@ *= 280@
277@ = -0.03
mult_float_lvar_by_float_lvar 277@ *= 280@
mult_float_lvar_by_float_lvar 277@ *= 280@
279@ = 0.0
TIMERA = 0

:CASINO6_7826
if 
  500 > TIMERA
goto_if_false @CASINO6_7856
wait 0
goto @CASINO6_7826

:CASINO6_7856
Particle.Play(256@)

:CASINO6_7861
if 
  1390 > TIMERA
goto_if_false @CASINO6_7891
wait 0
goto @CASINO6_7861

:CASINO6_7891
if 
  not Char.IsDead(57@)
goto_if_false @CASINO6_8028
268@, 269@, 270@ = Object.GetCoordinates(254@)
Char.DropObject(57@, False)
Particle.Kill(256@)
Object.Delete(254@)
219@ = 1
255@ = Object.CreateNoOffset(344, 268@, 269@, 270@)
257@ = Particle.CreateOnObject("FIRE", 255@, 0.0, 0.0, 0.6, 1)
Particle.Play(257@)
271@ = 0.0
272@ = 0.0
273@ = 0.0

:CASINO6_8028
198@ = Math.Cos(241.0)
199@ = Math.Sin(241.0)
$in_carX = 5000.0

:CASINO6_8058
if 
  1010.031 < $in_carX
goto_if_false @CASINO6_8491
wait 0
add_float_lvar_to_float_lvar 274@ += 276@
add_float_lvar_to_float_lvar 278@ += 274@
set_lvar_float_to_lvar_float 200@ = 278@
mult_float_lvar_by_float_lvar 200@ *= 198@
set_lvar_float_to_lvar_float 201@ = 278@
mult_float_lvar_by_float_lvar 201@ *= 199@
add_float_lvar_to_float_lvar 275@ += 277@
add_float_lvar_to_float_lvar 279@ += 275@
set_var_float_to_lvar_float $on_footY = 268@
add_float_lvar_to_float_var $on_footY += 200@
set_var_float_to_lvar_float $on_footZ = 269@
add_float_lvar_to_float_var $on_footZ += 201@
set_var_float_to_lvar_float $in_carX = 270@
add_float_lvar_to_float_var $in_carX += 279@
Object.SetCoordinates(255@, $on_footY, $on_footZ, $in_carX)
271@ += 1.0
272@ += 1.0
273@ += 1.0
Object.SetRotation(255@, 271@, 272@, 273@)
set_lvar_float_to_lvar_float 281@ = 278@
281@ += 1.5
set_lvar_float_to_lvar_float 282@ = 278@
282@ -= 1.0
set_lvar_float_to_lvar_float 200@ = 281@
mult_float_lvar_by_float_lvar 200@ *= 198@
set_lvar_float_to_lvar_float 201@ = 281@
mult_float_lvar_by_float_lvar 201@ *= 199@
set_var_float_to_lvar_float $on_footY = 268@
add_float_lvar_to_float_var $on_footY += 200@
set_var_float_to_lvar_float $on_footZ = 269@
add_float_lvar_to_float_var $on_footZ += 201@
Camera.SetFixedPosition($on_footY, $on_footZ, 270@, 0.0, 0.0, 0.0)
set_lvar_float_to_lvar_float 200@ = 282@
mult_float_lvar_by_float_lvar 200@ *= 198@
set_lvar_float_to_lvar_float 201@ = 282@
mult_float_lvar_by_float_lvar 201@ *= 199@
set_var_float_to_lvar_float $on_footY = 268@
add_float_lvar_to_float_var $on_footY += 200@
set_var_float_to_lvar_float $on_footZ = 269@
add_float_lvar_to_float_var $on_footZ += 201@
Camera.PointAtPoint($on_footY, $on_footZ, 270@, SwitchType.JumpCut)
if 
  1010.5 >= $in_carX
goto_if_false @CASINO6_8484
Object.FreezePosition(255@, True)

:CASINO6_8484
goto @CASINO6_8058

:CASINO6_8491
Particle.Kill(257@)
Object.Delete(255@)
Streaming.MarkModelAsNoLongerNeeded(344)
219@ = 2
258@ = Particle.Create("EXPLOSION_MOLOTOV", $on_footY, $on_footZ, 1010.0, 1)
Particle.PlayAndKill(258@)
Weather.SetHeathazeEffect(True)
259@ = ScriptFire.Start(940.35, 2114.0, 1010.03, 0, 2)
219@ = 3
260@ = ScriptFire.Start(941.1, 2114.0, 1010.03, 0, 1)
219@ = 4
261@ = ScriptFire.Start(941.5, 2114.0, 1010.03, 0, 1)
219@ = 5
262@ = ScriptFire.Start(942.3, 2114.0, 1010.03, 0, 1)
219@ = 6
263@ = ScriptFire.Start(942.9, 2114.0, 1010.03, 0, 1)
219@ = 7
264@ = ScriptFire.Start(943.65, 2114.0, 1010.03, 0, 2)
219@ = 8
TIMERA = 0

:CASINO6_8752
if 
  220 > TIMERA
goto_if_false @CASINO6_8993
wait 0
add_float_lvar_to_float_lvar 278@ += 274@
set_lvar_float_to_lvar_float 281@ = 278@
281@ += 1.5
set_lvar_float_to_lvar_float 282@ = 278@
282@ -= 1.0
set_lvar_float_to_lvar_float 200@ = 281@
mult_float_lvar_by_float_lvar 200@ *= 198@
set_lvar_float_to_lvar_float 201@ = 281@
mult_float_lvar_by_float_lvar 201@ *= 199@
set_var_float_to_lvar_float $on_footY = 268@
add_float_lvar_to_float_var $on_footY += 200@
set_var_float_to_lvar_float $on_footZ = 269@
add_float_lvar_to_float_var $on_footZ += 201@
Camera.SetFixedPosition($on_footY, $on_footZ, 270@, 0.0, 0.0, 0.0)
set_lvar_float_to_lvar_float 200@ = 282@
mult_float_lvar_by_float_lvar 200@ *= 198@
set_lvar_float_to_lvar_float 201@ = 282@
mult_float_lvar_by_float_lvar 201@ *= 199@
set_var_float_to_lvar_float $on_footY = 268@
add_float_lvar_to_float_var $on_footY += 200@
set_var_float_to_lvar_float $on_footZ = 269@
add_float_lvar_to_float_var $on_footZ += 201@
Camera.PointAtPoint($on_footY, $on_footZ, 270@, SwitchType.JumpCut)
goto @CASINO6_8752

:CASINO6_8993
283@ = 61.0
224@, 225@, 226@ = Camera.GetActiveCoordinates()
TIMERA = 0

:CASINO6_9021
if 
  1000 > TIMERA
goto_if_false @CASINO6_9051
wait 0
goto @CASINO6_9021

:CASINO6_9051
TIMERA = 0

:CASINO6_9058
if 
  1300 > TIMERA
goto_if_false @CASINO6_9191
wait 0
198@ = Math.Cos(283@)
199@ = Math.Sin(283@)
set_lvar_float_to_lvar_float 200@ = 282@
mult_float_lvar_by_float_lvar 200@ *= 198@
set_lvar_float_to_lvar_float 201@ = 282@
mult_float_lvar_by_float_lvar 201@ *= 199@
set_var_float_to_lvar_float $on_footY = 224@
add_float_lvar_to_float_var $on_footY += 200@
set_var_float_to_lvar_float $on_footZ = 225@
add_float_lvar_to_float_var $on_footZ += 201@
Camera.PointAtPoint($on_footY, $on_footZ, 270@, SwitchType.JumpCut)
283@ -= 0.25
goto @CASINO6_9058

:CASINO6_9191
TIMERA = 0

:CASINO6_9198
if 
  500 > TIMERA
goto_if_false @CASINO6_9228
wait 0
goto @CASINO6_9198

:CASINO6_9228
skip_cutscene_end 
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
switch_start 219@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @CASINO6_9567 {caseNum1} 0 {caseLabel1} @CASINO6_9368 {caseNum2} 1 {caseLabel2} @CASINO6_9401 {caseNum3} 2 {caseLabel3} @CASINO6_9416 {caseNum4} 3 {caseLabel4} @CASINO6_9440 {caseNum5} 4 {caseLabel5} @CASINO6_9464 {caseNum6} 5 {caseLabel6} @CASINO6_9488 {caseNum7} 6 {caseLabel7} @CASINO6_9512
switch_continued 7 {caseLabel1} @CASINO6_9536 {caseNum2} -1 {caseLabel2} @CASINO6_9567 {caseNum3} -1 {caseLabel3} @CASINO6_9567 {caseNum4} -1 {caseLabel4} @CASINO6_9567 {caseNum5} -1 {caseLabel5} @CASINO6_9567 {caseNum6} -1 {caseLabel6} @CASINO6_9567 {caseNum7} -1 {caseLabel7} @CASINO6_9567 {caseNum8} -1 {caseLabel8} @CASINO6_9567 {caseNum9} -1 {caseLabel9} @CASINO6_9567

:CASINO6_9368
if 
  not Char.IsDead(57@)
goto_if_false @CASINO6_9391
Char.DropObject(57@, False)

:CASINO6_9391
Particle.Kill(256@)
Object.Delete(254@)

:CASINO6_9401
Particle.Kill(257@)
Object.Delete(255@)
Streaming.MarkModelAsNoLongerNeeded(344)

:CASINO6_9416
259@ = ScriptFire.Start(940.35, 2114.0, 1010.03, 0, 2)

:CASINO6_9440
260@ = ScriptFire.Start(941.1, 2114.0, 1010.03, 0, 1)

:CASINO6_9464
261@ = ScriptFire.Start(941.5, 2114.0, 1010.03, 0, 1)

:CASINO6_9488
262@ = ScriptFire.Start(942.3, 2114.0, 1010.03, 0, 1)

:CASINO6_9512
263@ = ScriptFire.Start(942.9, 2114.0, 1010.03, 0, 1)

:CASINO6_9536
264@ = ScriptFire.Start(943.65, 2114.0, 1010.03, 0, 2)
goto @CASINO6_9567

:CASINO6_9567
Particle.Kill(258@)
Text.ClearHelp
Text.PrintHelp('CAS6_G0')
TIMERA = 0
Weather.SetHeathazeEffect(False)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
World.SwitchEntryExit('ABATOIR', False)
265@ = 0
266@ = 0
267@ = 0
Clock.SetTimeScale(1.0)
if 
  not Char.IsDead(53@)
goto_if_false @CASINO6_9735
111@ = 0
set_lvar_int_to_lvar_int 289@ = 53@
290@ = 0
293@ = 945.2795
294@ = 2108.657
295@ = 1010.031
set_lvar_int_to_var_int 292@ = $stattreadstamina_ctr
gosub @CASINO6_20973

:CASINO6_9735
if 
  not Char.IsDead(54@)
goto_if_false @CASINO6_9818
112@ = 0
set_lvar_int_to_lvar_int 289@ = 54@
290@ = 0
293@ = 937.135
294@ = 2108.94
295@ = 1010.031
set_lvar_int_to_var_int 292@ = $stattreadstamina_ctr
gosub @CASINO6_20973

:CASINO6_9818
if 
  not Char.IsDead(55@)
goto_if_false @CASINO6_9893
Char.ClearTasks(55@)
Char.SetCoordinates(55@, 941.481, 2111.887, 1010.031)
Char.SetHeading(55@, 260.0)
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_9893
Task.KillCharOnFoot(55@, 39@)

:CASINO6_9893
if 
  not Char.IsDead(56@)
goto_if_false @CASINO6_10052
Char.ClearTasks(56@)
Char.SetCoordinates(56@, 939.6515, 2123.306, 1010.031)
Char.SetHeading(56@, 187.5)
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.ToggleDuck(-1, False)
Task.StandStill(-1, 800)
Task.StayInSamePlace(-1, False)
Task.GoStraightToCoord(-1, 940.5833, 2116.169, 1010.031, MoveState.Run, -1)
Task.Jump(-1, True)
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_10027
Task.KillCharOnFoot(-1, 39@)

:CASINO6_10027
Task.SetCharDecisionMaker(-1, 35@)
Sequence.Close(288@)
Char.PerformSequence(56@, 288@)
Sequence.Clear(288@)

:CASINO6_10052
if 
  not Char.IsDead(57@)
goto_if_false @CASINO6_10142
Char.ClearTasks(57@)
Char.SetCoordinates(57@, 944.032, 2119.907, 1010.031)
Char.SetHeading(57@, 160.0)
Task.ToggleDuck(57@, True)
Task.StayInSamePlace(57@, True)
Char.GiveWeapon(57@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(57@, WeaponType.Mp5)
Task.KillCharOnFoot(57@, $stattreadstamina_ctr)

:CASINO6_10142
if 
  not Char.IsDead(60@)
goto_if_false @CASINO6_10166
Task.KillCharOnFoot(60@, $stattreadstamina_ctr)

:CASINO6_10166
set_lvar_text_label 364@s = 'CAS6_EP'
set_lvar_int_to_constant 318@ = 8235
set_lvar_int_to_var_int 341@ = $stattreadstamina_ctr
set_lvar_text_label 366@s = 'CAS6_EQ'
set_lvar_int_to_constant 319@ = 8236
set_lvar_int_to_var_int 342@ = $stattreadstamina_ctr
set_lvar_text_label 368@s = 'CAS6_ED'
set_lvar_int_to_constant 320@ = 8224
set_lvar_int_to_lvar_int 343@ = 39@
set_lvar_text_label 370@s = 'CAS6_DA'
set_lvar_int_to_constant 321@ = 8219
set_lvar_int_to_lvar_int 344@ = 39@
set_lvar_text_label 372@s = 'CAS6_DB'
set_lvar_int_to_constant 322@ = 8220
set_lvar_int_to_var_int 345@ = $stattreadstamina_ctr
set_lvar_text_label 374@s = 'CAS6_ET'
set_lvar_int_to_constant 323@ = 8239
set_lvar_int_to_lvar_int 346@ = 39@
set_lvar_text_label 376@s = 'CAS6_EU'
set_lvar_int_to_constant 324@ = 8240
set_lvar_int_to_var_int 347@ = $stattreadstamina_ctr
set_lvar_text_label 378@s = 'CAS6_EA'
set_lvar_int_to_constant 325@ = 8221
set_lvar_int_to_lvar_int 348@ = 39@
set_lvar_text_label 380@s = 'CAS6_EB'
set_lvar_int_to_constant 326@ = 8222
set_lvar_int_to_lvar_int 349@ = 39@
set_lvar_text_label 382@s = 'CAS6_EC'
set_lvar_int_to_constant 327@ = 8223
set_lvar_int_to_lvar_int 350@ = 39@
set_lvar_text_label 384@s = 'CAS6_GH'
set_lvar_int_to_constant 328@ = 8250
set_lvar_int_to_lvar_int 351@ = 39@
set_lvar_text_label 386@s = 'CAS6_GJ'
set_lvar_int_to_constant 329@ = 8251
set_lvar_int_to_lvar_int 352@ = 39@
set_lvar_text_label 388@s = 'CAS6_GK'
set_lvar_int_to_constant 330@ = 8252
set_lvar_int_to_lvar_int 353@ = 39@
set_lvar_text_label 390@s = 'CAS6_FM'
set_lvar_int_to_constant 331@ = 8245
set_lvar_int_to_lvar_int 354@ = 39@
222@ = Clock.GetGameTimer()

:CASINO6_10591
wait 0
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_11095
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CASINO6_10682
World.SwitchEntryExit('ABATOIR', True)
$bball_r3_is_pressed = 0
$lowrider_game_is_active = 0
set_var_text_label s$lowrider_pscore = 'ABATOIR'
start_new_script @ENTEXT 
goto @CASINO6_31014

:CASINO6_10682
if 
  227@ == 2
goto_if_false @CASINO6_10707
goto @CASINO6_31162

:CASINO6_10707
221@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 223@ = 221@
sub_int_lvar_from_int_lvar 223@ -= 222@
set_lvar_int_to_lvar_int 222@ = 221@
add_int_lvar_to_int_lvar 42@ += 223@
add_int_lvar_to_int_lvar 51@ += 223@
add_int_lvar_to_int_lvar 163@ += 223@
add_int_lvar_to_int_lvar 207@ += 223@
add_int_lvar_to_int_lvar 304@ += 223@
gosub @CASINO6_11148
gosub @CASINO6_15175
gosub @CASINO6_20126
gosub @CASINO6_21183
gosub @CASINO6_23366
if 
  300@ <> 2
goto_if_false @CASINO6_10836
gosub @CASINO6_25108

:CASINO6_10836
216@ = Char.GetHealth(39@)
set_var_int_to_lvar_int $7765 = 216@
$7765 /= 3
if 
  not is_int_lvar_equal_to_int_lvar 141@ == 140@
goto_if_false @CASINO6_11030
216@ = 0

:CASINO6_10885
if 
  is_int_lvar_greater_than_int_lvar 140@ > 216@
goto_if_false @CASINO6_11023
if 
  111@(216@,29i) <> -1
goto_if_false @CASINO6_11009
if 
  Char.IsDead(53@(216@,29i))
goto_if_false @CASINO6_11009
Char.MarkAsNoLongerNeeded(53@(216@,29i))
Blip.Remove(82@(216@,29i))
111@(216@,29i) = -1
141@ += 1
if 
  is_int_lvar_equal_to_int_lvar 141@ == 140@
goto_if_false @CASINO6_11009
Char.SetDecisionMaker(39@, 34@)

:CASINO6_11009
216@ += 1
goto @CASINO6_10885

:CASINO6_11023
goto @CASINO6_11067

:CASINO6_11030
gosub @CASINO6_26956
284@ = Streaming.GetAreaVisible()
if 
  284@ == 0
goto_if_false @CASINO6_11067
goto @CASINO6_27734

:CASINO6_11067
gosub @CASINO6_25285
gosub @CASINO6_24857
gosub @CASINO6_26246
goto @CASINO6_11141

:CASINO6_11095
if 
  227@ == 0
goto_if_false @CASINO6_11134
227@ = 1
set_lvar_text_label 228@s = 'CAS6_F0'

:CASINO6_11134
goto @CASINO6_31162

:CASINO6_11141
goto @CASINO6_10591

:CASINO6_11148
switch_start 285@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CASINO6_15173 {caseNum1} 0 {caseLabel1} @CASINO6_11211 {caseNum2} 1 {caseLabel2} @CASINO6_12550 {caseNum3} 2 {caseLabel3} @CASINO6_13622 {caseNum4} 3 {caseLabel4} @CASINO6_14899 {caseNum5} 4 {caseLabel5} @CASINO6_15036 {caseNum6} -1 {caseLabel6} @CASINO6_15173 {caseNum7} -1 {caseLabel7} @CASINO6_15173

:CASINO6_11211
if 
  Char.IsInArea2D($stattreadstamina_ctr, 935.0, 2114.0, 947.0, 2116.0, False)
goto_if_false @CASINO6_12543
285@ += 1
62@ = Char.Create(PedType.Mission2, 124, 944.947, 2146.821, 1010.03)
Char.SetHeading(62@, 180.0)
Char.SetHealth(62@, 200)
Char.SetMaxHealth(62@, 200)
91@ = Blip.AddForChar(62@)
Blip.ChangeDisplay(91@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(91@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(62@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(62@, WeaponType.Mp5)
Char.SetAccuracy(62@, 35)
120@ = 0
set_lvar_int_to_lvar_int 289@ = 62@
290@ = 0
291@ = 0
293@ = 950.4513
294@ = 2133.938
295@ = 1010.03
296@ = 156.0
gosub @CASINO6_20743
63@ = Char.Create(PedType.Mission2, 125, 938.7369, 2146.927, 1010.031)
Char.SetHeading(63@, 180.0)
Char.SetHealth(63@, 200)
Char.SetMaxHealth(63@, 200)
92@ = Blip.AddForChar(63@)
Blip.ChangeDisplay(92@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(92@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(63@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(63@, WeaponType.Mp5)
Char.SetAccuracy(63@, 40)
121@ = 0
set_lvar_int_to_lvar_int 289@ = 63@
290@ = 0
291@ = 0
293@ = 935.2033
294@ = 2135.923
295@ = 1010.031
296@ = 195.0
gosub @CASINO6_20743
64@ = Char.Create(PedType.Mission2, 126, 938.8906, 2150.719, 1010.031)
Char.SetHeading(64@, 222.0)
Char.SetHealth(64@, 200)
Char.SetMaxHealth(64@, 200)
93@ = Blip.AddForChar(64@)
Blip.ChangeDisplay(93@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(93@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(64@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(64@, WeaponType.Mp5)
Char.SetAccuracy(64@, 35)
122@ = 0
set_lvar_int_to_lvar_int 289@ = 64@
290@ = 0
293@ = 941.6102
294@ = 2144.133
295@ = 1010.03
set_lvar_int_to_var_int 292@ = $stattreadstamina_ctr
gosub @CASINO6_20973
65@ = Char.Create(PedType.Mission2, 125, 951.4207, 2146.367, 1010.03)
Char.SetHeading(65@, 148.0)
94@ = Blip.AddForChar(65@)
Blip.ChangeDisplay(94@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(94@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(65@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(65@, WeaponType.Mp5)
Char.SetAccuracy(65@, 40)
Char.SetShootRate(65@, 60)
123@ = 0
set_lvar_int_to_lvar_int 289@ = 65@
290@ = 0
291@ = 0
293@ = 946.5566
294@ = 2141.394
295@ = 1010.031
296@ = 180.0
gosub @CASINO6_20743
66@ = Char.Create(PedType.Mission2, 126, 932.7236, 2146.784, 1010.031)
Char.SetHeading(66@, 220.0)
Char.SetHealth(66@, 150)
Char.SetMaxHealth(66@, 150)
95@ = Blip.AddForChar(66@)
Blip.ChangeDisplay(95@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(95@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(66@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(66@, WeaponType.Mp5)
Char.SetAccuracy(66@, 35)
124@ = 0
set_lvar_int_to_lvar_int 289@ = 66@
290@ = 0
291@ = 0
293@ = 937.0684
294@ = 2141.996
295@ = 1010.031
296@ = 180.0
gosub @CASINO6_20743
if 
  not Char.IsDead(53@)
goto_if_false @CASINO6_12318
if 
  2 > 41@
goto_if_false @CASINO6_12244
293@ = 940.4404
294@ = 2111.781
295@ = 1010.031
296@ = 350.3034
goto @CASINO6_12284

:CASINO6_12244
293@ = 959.418
294@ = 2104.867
295@ = 1010.03
296@ = 167.1333

:CASINO6_12284
set_lvar_int_to_lvar_int 289@ = 53@
290@ = 0
291@ = 1
Char.ClearTasks(53@)
gosub @CASINO6_20858

:CASINO6_12318
if 
  not Char.IsDead(54@)
goto_if_false @CASINO6_12543
if 
  2 > 41@
goto_if_false @CASINO6_12399
293@ = 943.3311
294@ = 2111.713
295@ = 1010.031
296@ = 0.2979
goto @CASINO6_12543

:CASINO6_12399
set_lvar_int_to_lvar_int 289@ = 54@
290@ = 0
291@ = 1
Char.ClearTasks(54@)
if 
  not Char.IsDead(53@)
goto_if_false @CASINO6_12496
293@ = 943.3311
294@ = 2111.713
295@ = 1010.031
296@ = 0.2979
gosub @CASINO6_20743
goto @CASINO6_12543

:CASINO6_12496
293@ = 959.418
294@ = 2104.867
295@ = 1010.03
296@ = 167.1333
gosub @CASINO6_20858

:CASINO6_12543
goto @CASINO6_15173

:CASINO6_12550
if or
  Char.IsInArea2D($stattreadstamina_ctr, 930.0, 2120.0, 952.25, 2125.0, False)
  Char.IsInArea2D($stattreadstamina_ctr, 952.25, 2140.0, 967.0, 2147.0, False)
goto_if_false @CASINO6_13615
285@ += 1
67@ = Char.Create(PedType.Mission2, 124, 951.3571, 2143.16, 1010.031)
Char.SetHeading(67@, 90.0)
Char.SetHealth(67@, 200)
Char.SetMaxHealth(67@, 200)
96@ = Blip.AddForChar(67@)
Blip.ChangeDisplay(96@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(96@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(67@, WeaponType.BaseballBat, 3000)
125@ = 0
set_lvar_int_to_lvar_int 289@ = 67@
290@ = 0
293@ = 943.5978
294@ = 2138.572
295@ = 1010.031
set_lvar_int_to_var_int 292@ = $stattreadstamina_ctr
gosub @CASINO6_20973
68@ = Char.Create(PedType.Mission2, 127, 932.6479, 2144.118, 1010.031)
Char.SetHeading(68@, 270.0)
Char.SetHealth(68@, 200)
Char.SetMaxHealth(68@, 200)
97@ = Blip.AddForChar(68@)
Blip.ChangeDisplay(97@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(97@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(68@, WeaponType.BaseballBat, 3000)
126@ = 0
set_lvar_int_to_lvar_int 289@ = 68@
290@ = 0
293@ = 940.223
294@ = 2139.419
295@ = 1010.031
set_lvar_int_to_var_int 292@ = $stattreadstamina_ctr
gosub @CASINO6_20973
69@ = Char.Create(PedType.Mission2, 126, 950.7346, 2156.716, 1010.03)
Char.SetHeading(69@, 135.0)
Char.SetHealth(69@, 150)
Char.SetMaxHealth(69@, 150)
98@ = Blip.AddForChar(69@)
Blip.ChangeDisplay(98@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(98@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(69@, True)
Char.GiveWeapon(69@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(69@, WeaponType.Mp5)
Char.SetAccuracy(69@, 35)
Char.SetDecisionMaker(69@, 35@)
Task.KillCharOnFoot(69@, $stattreadstamina_ctr)
127@ = 0
70@ = Char.Create(PedType.Mission2, 125, 933.3263, 2160.188, 1010.031)
Char.SetHeading(70@, 214.0)
99@ = Blip.AddForChar(70@)
Blip.ChangeDisplay(99@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(99@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(70@, True)
Char.GiveWeapon(70@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(70@, WeaponType.Mp5)
Char.SetAccuracy(70@, 40)
Char.SetDecisionMaker(70@, 35@)
Task.KillCharOnFoot(70@, $stattreadstamina_ctr)
128@ = 0
71@ = Char.Create(PedType.Mission2, 124, 942.5138, 2165.1, 1011.228)
Char.SetHeading(71@, 180.0)
Char.SetHealth(71@, 150)
Char.SetMaxHealth(71@, 150)
100@ = Blip.AddForChar(71@)
Blip.ChangeDisplay(100@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(100@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(71@, True)
Char.GiveWeapon(71@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(71@, WeaponType.Mp5)
Char.SetAccuracy(71@, 35)
Char.SetShootRate(71@, 60)
Task.ToggleDuck(71@, True)
Task.KillCharOnFoot(71@, $stattreadstamina_ctr)
129@ = 0
72@ = Char.Create(PedType.Mission2, 125, 950.2886, 2172.38, 1010.03)
Char.SetHeading(72@, 163.5)
101@ = Blip.AddForChar(72@)
Blip.ChangeDisplay(101@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(101@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(72@, True)
Char.GiveWeapon(72@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(72@, WeaponType.Mp5)
Char.SetAccuracy(72@, 40)
Char.SetDecisionMaker(72@, 35@)
Task.KillCharOnFoot(72@, $stattreadstamina_ctr)
130@ = 0
73@ = Char.Create(PedType.Mission2, 126, 934.5824, 2172.318, 1010.03)
Char.SetHeading(73@, 197.0)
Char.SetHealth(73@, 150)
Char.SetMaxHealth(73@, 150)
102@ = Blip.AddForChar(73@)
Blip.ChangeDisplay(102@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(102@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(73@, True)
Char.GiveWeapon(73@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(73@, WeaponType.Mp5)
Char.SetAccuracy(73@, 35)
Char.SetDecisionMaker(73@, 35@)
Task.KillCharOnFoot(73@, $stattreadstamina_ctr)
131@ = 0

:CASINO6_13615
goto @CASINO6_15173

:CASINO6_13622
if 
  Char.IsInArea2D($stattreadstamina_ctr, 951.5627, 2146.944, 932.642, 2141.283, False)
goto_if_false @CASINO6_14892
285@ += 1
74@ = Char.Create(PedType.Mission2, 127, 954.0464, 2157.825, 1010.031)
Char.SetHeading(74@, 30.0)
Char.SetHealth(74@, 150)
Char.SetMaxHealth(74@, 150)
103@ = Blip.AddForChar(74@)
Blip.ChangeDisplay(103@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(103@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(74@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(74@, WeaponType.Mp5)
Char.SetAccuracy(74@, 40)
132@ = 0
set_lvar_int_to_lvar_int 289@ = 74@
290@ = 0
293@ = 944.0997
294@ = 2173.731
295@ = 1010.03
set_lvar_int_to_var_int 292@ = $stattreadstamina_ctr
gosub @CASINO6_20973
75@ = Char.Create(PedType.Mission2, 124, 952.8911, 2165.843, 1010.031)
Char.SetHeading(75@, 180.0)
Char.SetHealth(75@, 150)
Char.SetMaxHealth(75@, 150)
104@ = Blip.AddForChar(75@)
Blip.ChangeDisplay(104@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(104@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(75@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(75@, WeaponType.Mp5)
Char.SetAccuracy(75@, 35)
Char.SetShootRate(75@, 70)
133@ = 0
set_lvar_int_to_lvar_int 289@ = 75@
290@ = 0
293@ = 949.5583
294@ = 2159.848
295@ = 1010.031
set_lvar_int_to_var_int 292@ = $stattreadstamina_ctr
gosub @CASINO6_20973
76@ = Char.Create(PedType.Mission2, 126, 953.709, 2167.353, 1010.031)
Char.SetHeading(76@, 180.0)
Char.SetHealth(76@, 150)
Char.SetMaxHealth(76@, 150)
105@ = Blip.AddForChar(76@)
Blip.ChangeDisplay(105@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(105@, 968.3954, 2160.965, 1.0)
Char.GiveWeapon(76@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(76@, WeaponType.Mp5)
Char.SetAccuracy(76@, 40)
134@ = 0
set_lvar_int_to_lvar_int 289@ = 76@
290@ = 0
293@ = 947.7441
294@ = 2162.758
295@ = 1010.031
set_lvar_int_to_var_int 292@ = $stattreadstamina_ctr
gosub @CASINO6_20973
77@ = Char.Create(PedType.Mission2, 127, 955.1686, 2155.968, 1013.643)
Char.SetHeading(77@, 25.0)
Char.SetHealth(77@, 150)
Char.SetMaxHealth(77@, 150)
106@ = Blip.AddForChar(77@)
Blip.ChangeDisplay(106@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(106@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(77@, True)
Char.GiveWeapon(77@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(77@, WeaponType.Mp5)
Char.SetAccuracy(77@, 35)
Task.ToggleDuck(77@, True)
Task.KillCharOnFoot(77@, $stattreadstamina_ctr)
135@ = 0
78@ = Char.Create(PedType.Mission2, 124, 957.3302, 2172.359, 1011.832)
Char.SetHeading(78@, 88.0)
Char.SetHealth(78@, 150)
Char.SetMaxHealth(78@, 150)
107@ = Blip.AddForChar(78@)
Blip.ChangeDisplay(107@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(107@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(78@, True)
Char.GiveWeapon(78@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(78@, WeaponType.Mp5)
Char.SetAccuracy(78@, 40)
Task.ToggleDuck(78@, True)
Task.KillCharOnFoot(78@, $stattreadstamina_ctr)
136@ = 0
79@ = Char.Create(PedType.Mission2, 126, 955.526, 2175.984, 1010.031)
Char.SetHeading(79@, 169.0)
Char.SetHealth(79@, 150)
Char.SetMaxHealth(79@, 150)
108@ = Blip.AddForChar(79@)
Blip.ChangeDisplay(108@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(108@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(79@, True)
Char.GiveWeapon(79@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(79@, WeaponType.Mp5)
Char.SetAccuracy(79@, 35)
Task.ToggleDuck(79@, True)
Task.KillCharOnFoot(79@, $stattreadstamina_ctr)
137@ = 0
80@ = Char.Create(PedType.Mission2, 125, 959.0216, 2172.0, 1010.031)
Char.SetHeading(80@, 283.0)
Char.SetHealth(80@, 150)
Char.SetMaxHealth(80@, 150)
109@ = Blip.AddForChar(80@)
Blip.ChangeDisplay(109@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(109@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(80@, True)
Char.GiveWeapon(80@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(80@, WeaponType.Mp5)
Char.SetAccuracy(80@, 40)
Task.ToggleDuck(80@, True)
Task.KillCharOnFoot(80@, $stattreadstamina_ctr)
138@ = 0
81@ = Char.Create(PedType.Mission2, 126, 958.8845, 2152.117, 1011.832)
Char.SetHeading(81@, 0.0)
Char.SetHealth(81@, 150)
Char.SetMaxHealth(81@, 150)
110@ = Blip.AddForChar(81@)
Blip.ChangeDisplay(110@, BlipDisplay.BlipOnly)
Blip.SetEntryExit(110@, 968.3954, 2160.965, 1.0)
Task.StayInSamePlace(81@, True)
Char.GiveWeapon(81@, WeaponType.Mp5, 3000)
Char.SetCurrentWeapon(81@, WeaponType.Mp5)
Char.SetAccuracy(81@, 35)
Task.ToggleDuck(81@, True)
Task.KillCharOnFoot(81@, $stattreadstamina_ctr)
139@ = 0

:CASINO6_14892
goto @CASINO6_15173

:CASINO6_14899
if 
  Char.IsInArea2D($stattreadstamina_ctr, 952.7594, 2156.425, 955.3043, 2166.761, False)
goto_if_false @CASINO6_15029
285@ += 1
if 
  not Char.IsDead(79@)
goto_if_false @CASINO6_15029
set_lvar_int_to_lvar_int 289@ = 79@
290@ = 0
291@ = 0
293@ = 960.9915
294@ = 2177.387
295@ = 1010.031
296@ = 107.0
gosub @CASINO6_20743

:CASINO6_15029
goto @CASINO6_15173

:CASINO6_15036
if 
  Char.IsInArea2D($stattreadstamina_ctr, 961.765, 2174.899, 965.3094, 2171.588, False)
goto_if_false @CASINO6_15166
285@ += 1
if 
  not Char.IsDead(80@)
goto_if_false @CASINO6_15166
set_lvar_int_to_lvar_int 289@ = 80@
290@ = 0
291@ = 0
293@ = 958.909
294@ = 2158.502
295@ = 1010.031
296@ = 0.0
gosub @CASINO6_20743

:CASINO6_15166
goto @CASINO6_15173

:CASINO6_15173
return 

:CASINO6_15175
switch_start 41@ {numCases} 23 {hasDefaultCase} 0 {defaultLabel} @CASINO6_20124 {caseNum1} 0 {caseLabel1} @CASINO6_15368 {caseNum2} 1 {caseLabel2} @CASINO6_15396 {caseNum3} 2 {caseLabel3} @CASINO6_15774 {caseNum4} 3 {caseLabel4} @CASINO6_16205 {caseNum5} 4 {caseLabel5} @CASINO6_16538 {caseNum6} 5 {caseLabel6} @CASINO6_16805 {caseNum7} 6 {caseLabel7} @CASINO6_16948
switch_continued 7 {caseLabel1} @CASINO6_17233 {caseNum2} 8 {caseLabel2} @CASINO6_17283 {caseNum3} 9 {caseLabel3} @CASINO6_17402 {caseNum4} 10 {caseLabel4} @CASINO6_17452 {caseNum5} 11 {caseLabel5} @CASINO6_17542 {caseNum6} 12 {caseLabel6} @CASINO6_17603 {caseNum7} 13 {caseLabel7} @CASINO6_18059 {caseNum8} 14 {caseLabel8} @CASINO6_18178 {caseNum9} 15 {caseLabel9} @CASINO6_18365
switch_continued 16 {caseLabel1} @CASINO6_18487 {caseNum2} 17 {caseLabel2} @CASINO6_18655 {caseNum3} 18 {caseLabel3} @CASINO6_19175 {caseNum4} 19 {caseLabel4} @CASINO6_19279 {caseNum5} 20 {caseLabel5} @CASINO6_19630 {caseNum6} 21 {caseLabel6} @CASINO6_19763 {caseNum7} 22 {caseLabel7} @CASINO6_19849 {caseNum8} -1 {caseLabel8} @CASINO6_20124 {caseNum9} -1 {caseLabel9} @CASINO6_20124

:CASINO6_15368
Task.StayInSamePlace(39@, True)
Task.ToggleDuck(39@, True)
41@ += 1
goto @CASINO6_20124

:CASINO6_15396
if and
  Char.IsDead(55@)
  Char.IsDead(56@)
goto_if_false @CASINO6_15524
288@ = Sequence.Open()
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, False)
Task.GoToCoordAnyMeans(-1, 959.2689, 2098.59, 1010.03, 6, -1)
Task.AchieveHeading(-1, 255.0)
Task.ToggleDuck(-1, True)
Task.StandStill(-1, 300)
Task.StandStill(-1, 300)
Task.ToggleDuck(-1, False)
Sequence.Close(288@)
Char.PerformSequence(39@, 288@)
Sequence.Clear(288@)
41@ += 1
goto @CASINO6_15767

:CASINO6_15524
if 
  36@ == 1
goto_if_false @CASINO6_15649
288@ = Sequence.Open()
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, False)
Task.GoToCoordAnyMeans(-1, 959.2689, 2098.59, 1010.03, 6, -1)
Task.AchieveHeading(-1, 255.0)
Task.ToggleDuck(-1, True)
Task.StandStill(-1, 300)
Task.StandStill(-1, 300)
Task.ToggleDuck(-1, False)
Sequence.Close(288@)
Char.PerformSequence(39@, 288@)
Sequence.Clear(288@)
41@ += 1
goto @CASINO6_15767

:CASINO6_15649
if 
  45@ == 0
goto_if_false @CASINO6_15767
52@ = Math.RandomIntInRange(0, 101)
if 
  50 > 52@
goto_if_false @CASINO6_15723
set_var_int_to_constant $1280 = 8227
set_var_text_label s$SLOT_status = 'CAS6_EG'
goto @CASINO6_15745

:CASINO6_15723
set_var_int_to_constant $1280 = 8225
set_var_text_label s$SLOT_status = 'CAS6_EE'

:CASINO6_15745
start_new_script @A_ALAP 2 50 39@ 
45@ = 1

:CASINO6_15767
goto @CASINO6_20124

:CASINO6_15774
286@ = Char.GetSequenceProgress(39@)
if 
  286@ == 6
goto_if_false @CASINO6_16198
Char.GiveWeapon(39@, WeaponType.Extinguisher, 3000)
Char.SetCurrentWeapon(39@, WeaponType.Extinguisher)
Object.Delete(43@)
set_var_int_to_constant $1280 = 8228
set_var_text_label s$SLOT_status = 'CAS6_EH'
start_new_script @A_ALAP 2 100 39@ 
51@ = 0
if and
  Char.IsDead(53@)
  Char.IsDead(54@)
goto_if_false @CASINO6_15999
Char.ClearTasks(39@)
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, False)
Task.GoToCoordAnyMeans(-1, 946.1957, 2112.372, 1010.031, 6, -1)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.AchieveHeading(-1, 79.1071)
Sequence.Close(288@)
Char.PerformSequence(39@, 288@)
Sequence.Clear(288@)
51@ = 0
41@ = 4
goto @CASINO6_16198

:CASINO6_15999
if 
  36@ == 1
goto_if_false @CASINO6_16122
Char.ClearTasks(39@)
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, False)
Task.GoToCoordAnyMeans(-1, 946.1957, 2112.372, 1010.031, 6, -1)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.AchieveHeading(-1, 79.1071)
Sequence.Close(288@)
Char.PerformSequence(39@, 288@)
Sequence.Clear(288@)
41@ = 4
goto @CASINO6_16198

:CASINO6_16122
set_lvar_int_to_lvar_int 289@ = 39@
290@ = 0
291@ = 0
293@ = 957.9808
294@ = 2100.714
295@ = 1010.031
296@ = 346.0
gosub @CASINO6_21075
41@ += 1

:CASINO6_16198
goto @CASINO6_20124

:CASINO6_16205
if and
  Char.IsDead(53@)
  Char.IsDead(54@)
goto_if_false @CASINO6_16331
Char.ClearTasks(39@)
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, False)
Task.GoToCoordAnyMeans(-1, 945.1309, 2112.711, 1010.031, 6, -1)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.AchieveHeading(-1, 79.1071)
Sequence.Close(288@)
Char.PerformSequence(39@, 288@)
Sequence.Clear(288@)
41@ += 1
goto @CASINO6_16531

:CASINO6_16331
if 
  36@ == 1
goto_if_false @CASINO6_16461
Char.ClearTasks(39@)
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, False)
Task.GoToCoordAnyMeans(-1, 945.1309, 2112.711, 1010.031, 6, -1)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.AchieveHeading(-1, 79.1071)
Sequence.Close(288@)
Char.PerformSequence(39@, 288@)
Sequence.Clear(288@)
41@ += 1
51@ = 0
goto @CASINO6_16531

:CASINO6_16461
if and
  46@ == 0
  51@ > 500
goto_if_false @CASINO6_16531
set_var_int_to_constant $1280 = 8226
set_var_text_label s$SLOT_status = 'CAS6_EF'
start_new_script @A_ALAP 2 100 39@ 
46@ = 1

:CASINO6_16531
goto @CASINO6_20124

:CASINO6_16538
if 
  Char.LocateOnFoot2D(39@, 945.1309, 2112.711, 1.5, 1.5, False)
goto_if_false @CASINO6_16689
if 
  161@ == 0
goto_if_false @CASINO6_16608
41@ = 21
goto @CASINO6_16682

:CASINO6_16608
if 
  285@ > 0
goto_if_false @CASINO6_16640
41@ = 6
goto @CASINO6_16682

:CASINO6_16640
if and
  Char.IsDead(57@)
  Char.IsDead(58@)
goto_if_false @CASINO6_16675
41@ = 6
goto @CASINO6_16682

:CASINO6_16675
41@ += 1

:CASINO6_16682
goto @CASINO6_16798

:CASINO6_16689
if and
  47@ == 0
  51@ > 2500
goto_if_false @CASINO6_16798
if 
  36@ == 0
goto_if_false @CASINO6_16798
if or
  not Char.IsDead(57@)
  not Char.IsDead(58@)
goto_if_false @CASINO6_16798
set_var_int_to_constant $1280 = 8229
set_var_text_label s$SLOT_status = 'CAS6_EJ'
start_new_script @A_ALAP 2 101 39@ 
47@ = 1

:CASINO6_16798
goto @CASINO6_20124

:CASINO6_16805
if 
  285@ > 0
goto_if_false @CASINO6_16837
41@ += 1
goto @CASINO6_16941

:CASINO6_16837
if and
  Char.IsDead(57@)
  Char.IsDead(58@)
goto_if_false @CASINO6_16941
if 
  not Char.LocateOnFoot2D(39@, 945.1309, 2112.711, 1.5, 1.5, False)
goto_if_false @CASINO6_16934
Task.GoToCoordAnyMeans(39@, 945.1309, 2112.711, 1010.031, 6, -1)
41@ -= 1
goto @CASINO6_16941

:CASINO6_16934
41@ += 1

:CASINO6_16941
goto @CASINO6_20124

:CASINO6_16948
if 
  not is_int_lvar_equal_to_int_lvar 141@ == 140@
goto_if_false @CASINO6_17114
if 
  36@ == 0
goto_if_false @CASINO6_17114
if 
  Char.IsInArea3D($stattreadstamina_ctr, 930.0, 2114.0, 1010.0, 966.0, 2095.0, 1012.0, False)
goto_if_false @CASINO6_17077
set_var_int_to_constant $1280 = 8230
set_var_text_label s$SLOT_status = 'CAS6_EK'
start_new_script @A_ALAP 2 101 39@ 
goto @CASINO6_17114

:CASINO6_17077
set_var_int_to_constant $1280 = 8231
set_var_text_label s$SLOT_status = 'CAS6_EL'
start_new_script @A_ALAP 2 101 39@ 

:CASINO6_17114
Char.ClearTasks(39@)
42@ = 0
if or
  not ScriptFire.IsExtinguished(264@)
  not ScriptFire.IsExtinguished(263@)
goto_if_false @CASINO6_17211
Char.ClearTasks(39@)
288@ = Sequence.Open()
Task.ShootAtCoord(-1, 943.2, 2114.0, 1011.0, 3000)
Task.StandStill(-1, 500)
Sequence.Close(288@)
Char.PerformSequence(39@, 288@)
Sequence.Clear(288@)
goto @CASINO6_17219

:CASINO6_17211
42@ = 10000

:CASINO6_17219
41@ += 1
goto @CASINO6_20124

:CASINO6_17233
if 
  42@ > 2850
goto_if_false @CASINO6_17276
ScriptFire.Remove(264@)
ScriptFire.Remove(263@)
265@ = 1
41@ += 1

:CASINO6_17276
goto @CASINO6_20124

:CASINO6_17283
Char.ClearTasks(39@)
42@ = 0
if or
  not ScriptFire.IsExtinguished(262@)
  not ScriptFire.IsExtinguished(261@)
goto_if_false @CASINO6_17380
Char.ClearTasks(39@)
288@ = Sequence.Open()
Task.ShootAtCoord(-1, 941.9, 2114.0, 1011.0, 2000)
Task.StandStill(-1, 500)
Sequence.Close(288@)
Char.PerformSequence(39@, 288@)
Sequence.Clear(288@)
goto @CASINO6_17388

:CASINO6_17380
42@ = 10000

:CASINO6_17388
41@ += 1
goto @CASINO6_20124

:CASINO6_17402
if 
  42@ > 1250
goto_if_false @CASINO6_17445
ScriptFire.Remove(262@)
ScriptFire.Remove(261@)
266@ = 1
41@ += 1

:CASINO6_17445
goto @CASINO6_20124

:CASINO6_17452
Char.ClearTasks(39@)
42@ = 0
if or
  not ScriptFire.IsExtinguished(260@)
  not ScriptFire.IsExtinguished(259@)
goto_if_false @CASINO6_17520
Char.ClearTasks(39@)
Task.ShootAtCoord(39@, 940.7, 2114.0, 1011.0, 3000)
goto @CASINO6_17528

:CASINO6_17520
42@ = 10000

:CASINO6_17528
41@ += 1
goto @CASINO6_20124

:CASINO6_17542
if 
  42@ > 2850
goto_if_false @CASINO6_17596
ScriptFire.Remove(260@)
ScriptFire.Remove(259@)
267@ = 1
300@ = 2
Weather.SetHeathazeEffect(False)
41@ += 1

:CASINO6_17596
goto @CASINO6_20124

:CASINO6_17603
if 
  285@ > 0
goto_if_false @CASINO6_17927
if 
  285@ == 1
goto_if_false @CASINO6_17721
if or
  204@ == 0
  204@ == 3
goto_if_false @CASINO6_17707
Char.ClearTasks(39@)
Task.GoToCoordAnyMeans(39@, 960.0, 2110.0, 1010.031, 6, -1)
41@ = 15
goto @CASINO6_17714

:CASINO6_17707
41@ = 13

:CASINO6_17714
goto @CASINO6_17858

:CASINO6_17721
if 
  285@ == 2
goto_if_false @CASINO6_17821
if or
  204@ == 0
  204@ == 3
goto_if_false @CASINO6_17807
Char.ClearTasks(39@)
Task.GoToCoordAnyMeans(39@, 960.0, 2110.0, 1010.031, 6, -1)
41@ = 15
goto @CASINO6_17814

:CASINO6_17807
41@ = 13

:CASINO6_17814
goto @CASINO6_17858

:CASINO6_17821
if 
  285@ > 2
goto_if_false @CASINO6_17858
Char.ClearTasks(39@)
41@ = 19
goto @CASINO6_20124

:CASINO6_17858
if 
  36@ == 0
goto_if_false @CASINO6_17920
set_var_int_to_constant $1280 = 8241
set_var_text_label s$SLOT_status = 'CAS6_FA'
start_new_script @A_ALAP 2 100 39@ 
51@ = 0

:CASINO6_17920
goto @CASINO6_18052

:CASINO6_17927
if 
  48@ == 0
goto_if_false @CASINO6_18052
52@ = Math.RandomIntInRange(0, 101)
if 
  50 > 52@
goto_if_false @CASINO6_18001
set_var_int_to_constant $1280 = 8232
set_var_text_label s$SLOT_status = 'CAS6_EM'
goto @CASINO6_18023

:CASINO6_18001
set_var_int_to_constant $1280 = 8233
set_var_text_label s$SLOT_status = 'CAS6_EN'

:CASINO6_18023
start_new_script @A_ALAP 2 100 39@ 
48@ = 1
51@ = 0

:CASINO6_18052
goto @CASINO6_20124

:CASINO6_18059
205@ = Attractor.Add(950.9462, 2114.972, 1011.5, 180.0, 15.0, 206@)
Attractor.AddPedTypeAsUser(205@, PedType.Mission1)
Char.ClearTasks(39@)
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.GoToCoordAnyMeans(-1, 950.2319, 2115.927, 1010.031, 6, -1)
Task.UseAttractor(-1, 205@)
Sequence.Close(288@)
Char.PerformSequence(39@, 288@)
Sequence.Clear(288@)
41@ += 1
goto @CASINO6_20124

:CASINO6_18178
if 
  Char.IsAtScriptedAttractor(39@, 205@)
goto_if_false @CASINO6_18358
if or
  204@ == 1
  204@ == 2
goto_if_false @CASINO6_18249
214@ = 0.0
215@ = 0.0005
204@ = 3

:CASINO6_18249
if 
  36@ == 1
goto_if_false @CASINO6_18274
51@ = 0

:CASINO6_18274
Char.SetProofs(39@, False, False, False, False, False)
Task.GoToCoordAnyMeans(39@, 963.4875, 2119.283, 1010.031, 6, -1)
Attractor.Clear(205@)
if 
  not is_int_lvar_equal_to_int_lvar 141@ == 140@
goto_if_false @CASINO6_18351
41@ += 1
goto @CASINO6_18358

:CASINO6_18351
41@ = 19

:CASINO6_18358
goto @CASINO6_20124

:CASINO6_18365
if 
  Char.IsInArea3D(39@, 952.25, 2147.0, 1010.0, 967.0, 2114.0, 1012.0, False)
goto_if_false @CASINO6_18427
41@ += 1
goto @CASINO6_18480

:CASINO6_18427
286@ = Char.GetScriptTaskStatus(39@, 1539)
if 
  is_int_lvar_equal_to_constant 286@ == 7
goto_if_false @CASINO6_18480
Task.GoToCoordAnyMeans(39@, 963.4875, 2119.283, 1010.031, 6, -1)

:CASINO6_18480
goto @CASINO6_20124

:CASINO6_18487
286@ = Char.GetScriptTaskStatus(39@, 1539)
if 
  is_int_lvar_equal_to_constant 286@ == 7
goto_if_false @CASINO6_18648
if 
  Char.LocateOnFoot2D(39@, 963.4875, 2119.283, 1.2, 1.2, False)
goto_if_false @CASINO6_18624
Char.ClearTasks(39@)
288@ = Sequence.Open()
Task.AchieveHeading(-1, 104.0)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.SetCharDecisionMaker(-1, 35@)
Sequence.Close(288@)
Char.PerformSequence(39@, 288@)
Sequence.Clear(288@)
41@ += 1
goto @CASINO6_18648

:CASINO6_18624
Task.GoToCoordAnyMeans(39@, 963.4875, 2119.283, 1010.031, 6, -1)

:CASINO6_18648
goto @CASINO6_20124

:CASINO6_18655
if or
  204@ == 0
  204@ == 3
goto_if_false @CASINO6_19161
if 
  285@ >= 2
goto_if_false @CASINO6_19154
if or
  not Char.IsDead(67@)
  not Char.IsDead(68@)
goto_if_false @CASINO6_18733
goto @CASINO6_20124
goto @CASINO6_19154

:CASINO6_18733
if or
  not Char.IsDead(57@)
  not Char.IsDead(58@)
  not Char.IsDead(59@)
  not Char.IsDead(60@)
  not Char.IsDead(61@)
  not Char.IsDead(62@)
goto_if_false @CASINO6_18788
goto @CASINO6_20124
goto @CASINO6_19154

:CASINO6_18788
if or
  not Char.IsDead(63@)
  not Char.IsDead(64@)
  not Char.IsDead(54@)
goto_if_false @CASINO6_18828
goto @CASINO6_20124
goto @CASINO6_19154

:CASINO6_18828
set_lvar_int_to_lvar_int 289@ = 39@
290@ = 0
291@ = 1
if or
  not Char.IsDead(65@)
  not Char.IsDead(66@)
goto_if_false @CASINO6_18925
293@ = 942.1362
294@ = 2116.977
295@ = 1010.031
296@ = 310.9558
41@ = 18
goto @CASINO6_18972

:CASINO6_18925
293@ = 944.9211
294@ = 2138.566
295@ = 1010.031
296@ = 49.7997
41@ = 19

:CASINO6_18972
gosub @CASINO6_21075
if 
  not is_int_lvar_equal_to_int_lvar 141@ == 140@
goto_if_false @CASINO6_19053
if 
  298@ == 1
goto_if_false @CASINO6_19053
set_var_int_to_constant $1280 = 8238
set_var_text_label s$SLOT_status = 'CAS6_ES'
start_new_script @A_ALAP 1 100 $stattreadstamina_ctr 

:CASINO6_19053
if 
  49@ == 0
goto_if_false @CASINO6_19147
52@ = Math.RandomIntInRange(0, 101)
if 
  50 > 52@
goto_if_false @CASINO6_19119
317@ = 2
316@ = 3
goto @CASINO6_19133

:CASINO6_19119
317@ = 4
316@ = 5

:CASINO6_19133
TIMERA = 0
49@ = 1

:CASINO6_19147
51@ = 0

:CASINO6_19154
goto @CASINO6_19168

:CASINO6_19161
gosub @CASINO6_26098

:CASINO6_19168
goto @CASINO6_20124

:CASINO6_19175
if and
  Char.IsDead(65@)
  Char.IsDead(66@)
goto_if_false @CASINO6_19272
set_lvar_int_to_lvar_int 289@ = 39@
290@ = 0
291@ = 1
293@ = 944.9211
294@ = 2138.566
295@ = 1010.031
296@ = 49.7997
gosub @CASINO6_21075
41@ += 1

:CASINO6_19272
goto @CASINO6_20124

:CASINO6_19279
if 
  285@ > 2
goto_if_false @CASINO6_19623
if or
  not Char.IsDead(69@)
  not Char.IsDead(70@)
  not Char.IsDead(71@)
  not Char.IsDead(72@)
  not Char.IsDead(73@)
  not Char.IsDead(74@)
goto_if_false @CASINO6_19352
goto @CASINO6_20124
goto @CASINO6_19623

:CASINO6_19352
if or
  not Char.IsDead(75@)
  not Char.IsDead(76@)
goto_if_false @CASINO6_19387
goto @CASINO6_20124
goto @CASINO6_19623

:CASINO6_19387
set_lvar_int_to_lvar_int 289@ = 39@
290@ = 0
if or
  not Char.IsDead(77@)
  not Char.IsDead(78@)
  not Char.IsDead(79@)
  not Char.IsDead(80@)
  not Char.IsDead(81@)
goto_if_false @CASINO6_19499
291@ = 1
293@ = 949.2078
294@ = 2153.648
295@ = 1010.03
296@ = 0.0
41@ = 20
goto @CASINO6_19553

:CASINO6_19499
291@ = 0
293@ = 965.2232
294@ = 2156.294
295@ = 1010.031
296@ = 22.0
41@ = 30

:CASINO6_19553
gosub @CASINO6_21075
if 
  not is_int_lvar_equal_to_int_lvar 141@ == 140@
goto_if_false @CASINO6_19616
set_var_int_to_constant $1280 = 8238
set_var_text_label s$SLOT_status = 'CAS6_ES'
start_new_script @A_ALAP 1 100 $stattreadstamina_ctr 

:CASINO6_19616
51@ = 0

:CASINO6_19623
goto @CASINO6_20124

:CASINO6_19630
if or
  not Char.IsDead(77@)
  not Char.IsDead(78@)
  not Char.IsDead(79@)
  not Char.IsDead(80@)
  not Char.IsDead(81@)
goto_if_false @CASINO6_19680
goto @CASINO6_20124
goto @CASINO6_19756

:CASINO6_19680
set_lvar_int_to_lvar_int 289@ = 39@
290@ = 0
291@ = 0
293@ = 965.2232
294@ = 2156.294
295@ = 1010.031
296@ = 22.0
gosub @CASINO6_21075
41@ = 30

:CASINO6_19756
goto @CASINO6_20124

:CASINO6_19763
Char.ClearTasks(39@)
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.ToggleDuck(-1, False)
Task.AchieveHeading(-1, 0.0)
Task.StandStill(-1, 500)
Task.AchieveHeading(-1, 90.0)
Task.ToggleDuck(-1, True)
Sequence.Close(288@)
Char.PerformSequence(39@, 288@)
Sequence.Clear(288@)
41@ += 1
goto @CASINO6_20124

:CASINO6_19849
286@ = Char.GetSequenceProgress(39@)
if 
  286@ == 3
goto_if_false @CASINO6_20117
if 
  161@ == 0
goto_if_false @CASINO6_20110
177@ = 0.0001
161@ = 1
163@ = 0
Audio.ReportMissionAudioEventAtPosition(941.9891, 2144.288, 1016.206, 1081)
if 
  36@ == 0
goto_if_false @CASINO6_20110
if 
  not is_int_lvar_equal_to_int_lvar 141@ == 140@
goto_if_false @CASINO6_20103
if 
  Char.IsInArea3D($stattreadstamina_ctr, 930.0, 2114.25, 1010.0, 966.0, 2095.0, 1012.0, False)
goto_if_false @CASINO6_20066
set_var_int_to_constant $1280 = 8234
set_var_text_label s$SLOT_status = 'CAS6_EO'
start_new_script @A_ALAP 2 100 39@ 
goto @CASINO6_20103

:CASINO6_20066
set_var_int_to_constant $1280 = 8237
set_var_text_label s$SLOT_status = 'CAS6_ER'
start_new_script @A_ALAP 1 100 $stattreadstamina_ctr 

:CASINO6_20103
51@ = 0

:CASINO6_20110
41@ = 4

:CASINO6_20117
goto @CASINO6_20124

:CASINO6_20124
return 

:CASINO6_20126
if 
  287@ <> -2
goto_if_false @CASINO6_20272
if 
  285@ >= 2
goto_if_false @CASINO6_20272
if 
  204@ == 0
goto_if_false @CASINO6_20272
if or
  Char.IsInArea3D($stattreadstamina_ctr, 952.25, 2147.0, 1010.0, 967.0, 2114.0, 1012.0, False)
  Char.IsInArea3D(39@, 952.25, 2147.0, 1010.0, 967.0, 2114.0, 1012.0, False)
goto_if_false @CASINO6_20272
gosub @CASINO6_20274

:CASINO6_20272
return 

:CASINO6_20274
if 
  287@ == -1
goto_if_false @CASINO6_20529
if 
  not Char.IsDead(67@)
goto_if_false @CASINO6_20322
287@ = 14
goto @CASINO6_20359

:CASINO6_20322
if 
  not Char.IsDead(68@)
goto_if_false @CASINO6_20352
287@ = 15
goto @CASINO6_20359

:CASINO6_20352
287@ = -2

:CASINO6_20359
if 
  287@ <> -2
goto_if_false @CASINO6_20522
if 
  204@ == 0
goto_if_false @CASINO6_20515
205@ = Attractor.Add(950.9462, 2114.972, 1011.5, 180.0, 15.0, 206@)
Attractor.AddPedTypeAsUser(205@, PedType.Mission2)
Char.ClearTasks(53@(287@,29i))
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.GoToCoordAnyMeans(-1, 950.2319, 2115.927, 1010.031, 6, -1)
Task.UseAttractor(-1, 205@)
Sequence.Close(288@)
Char.PerformSequence(53@(287@,29i), 288@)
Sequence.Clear(288@)
goto @CASINO6_20522

:CASINO6_20515
287@ = -1

:CASINO6_20522
goto @CASINO6_20741

:CASINO6_20529
if 
  Char.IsDead(53@(287@,29i))
goto_if_false @CASINO6_20568
Attractor.Clear(205@)
287@ = -1
goto @CASINO6_20741

:CASINO6_20568
if 
  Char.IsAtScriptedAttractor(53@(287@,29i), 205@)
goto_if_false @CASINO6_20683
if or
  204@ == 0
  204@ == 3
goto_if_false @CASINO6_20643
214@ = 0.0
215@ = -0.0005
204@ = 1

:CASINO6_20643
Char.ClearTasks(53@(287@,29i))
Char.SetDecisionMaker(53@(287@,29i), 35@)
Attractor.Clear(205@)
287@ = -1
goto @CASINO6_20741

:CASINO6_20683
if or
  204@ == 1
  204@ == 2
goto_if_false @CASINO6_20741
Char.ClearTasks(53@(287@,29i))
Char.SetDecisionMaker(53@(287@,29i), 35@)
Attractor.Clear(205@)
287@ = -1

:CASINO6_20741
return 

:CASINO6_20743
Char.ClearTasks(289@)
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.StayInSamePlace(-1, False)
Task.GoToCoordAnyMeans(-1, 293@, 294@, 295@, 6, -1)
Task.ToggleDuck(-1, 291@)
Task.StayInSamePlace(-1, True)
if 
  296@ <> -1.0
goto_if_false @CASINO6_20824
Task.AchieveHeading(-1, 296@)

:CASINO6_20824
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Task.SetCharDecisionMaker(-1, 35@)
Sequence.Close(288@)
Char.PerformSequence(289@, 288@)
Sequence.Clear(288@)
return 

:CASINO6_20858
Char.ClearTasks(289@)
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.StayInSamePlace(-1, False)
Task.GoToCoordAnyMeans(-1, 293@, 294@, 295@, 6, -1)
Task.ToggleDuck(-1, 291@)
Task.StayInSamePlace(-1, True)
if 
  296@ <> -1.0
goto_if_false @CASINO6_20939
Task.AchieveHeading(-1, 296@)

:CASINO6_20939
Task.KillCharOnFoot(-1, 39@)
Task.SetCharDecisionMaker(-1, 35@)
Sequence.Close(288@)
Char.PerformSequence(289@, 288@)
Sequence.Clear(288@)
return 

:CASINO6_20973
Char.ClearTasks(289@)
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.ToggleDuck(-1, 290@)
Task.StayInSamePlace(-1, False)
if 
  293@ <> -1.0
goto_if_false @CASINO6_21041
Task.GoToCoordAnyMeans(-1, 293@, 294@, 295@, 6, -1)

:CASINO6_21041
Task.KillCharOnFoot(-1, 292@)
Task.SetCharDecisionMaker(-1, 35@)
Sequence.Close(288@)
Char.PerformSequence(289@, 288@)
Sequence.Clear(288@)
return 

:CASINO6_21075
Char.ClearTasks(289@)
288@ = Sequence.Open()
Task.SetCharDecisionMaker(-1, 34@)
Task.StayInSamePlace(-1, False)
Task.GoToCoordAnyMeans(-1, 293@, 294@, 295@, 6, -1)
Task.ToggleDuck(-1, 291@)
Task.StayInSamePlace(-1, True)
if 
  296@ <> -1.0
goto_if_false @CASINO6_21156
Task.AchieveHeading(-1, 296@)

:CASINO6_21156
Task.SetCharDecisionMaker(-1, 35@)
Sequence.Close(288@)
Char.PerformSequence(289@, 288@)
Sequence.Clear(288@)
return 

:CASINO6_21183
if 
is_ps2_keyboard_key_pressed 49
goto_if_false @CASINO6_21215
177@ = 0.0001
goto @CASINO6_21240

:CASINO6_21215
if 
is_ps2_keyboard_key_pressed 50
goto_if_false @CASINO6_21240
177@ = -0.0001

:CASINO6_21240
add_timed_float_lvar_to_float_lvar 176@ +=@ 177@
if 
  176@ > 0.06
goto_if_false @CASINO6_21286
176@ = 0.06
goto @CASINO6_21317

:CASINO6_21286
if 
  0.0 > 176@
goto_if_false @CASINO6_21317
176@ = 0.0

:CASINO6_21317
if or
  161@ == 1
  176@ > 0.0
goto_if_false @CASINO6_23184
216@ = 0

:CASINO6_21352
if 
  6 > 216@
goto_if_false @CASINO6_23184
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(154@(216@,6i))
set_lvar_int_to_lvar_int 217@ = 148@(216@,6i)
switch_start 217@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @CASINO6_23152 {caseNum1} 0 {caseLabel1} @CASINO6_21528 {caseNum2} 1 {caseLabel2} @CASINO6_21584 {caseNum3} 2 {caseLabel3} @CASINO6_21934 {caseNum4} 3 {caseLabel4} @CASINO6_21990 {caseNum5} 4 {caseLabel5} @CASINO6_22340 {caseNum6} 5 {caseLabel6} @CASINO6_22396 {caseNum7} 6 {caseLabel7} @CASINO6_22746
switch_continued 7 {caseLabel1} @CASINO6_22802 {caseNum2} -1 {caseLabel2} @CASINO6_23152 {caseNum3} -1 {caseLabel3} @CASINO6_23152 {caseNum4} -1 {caseLabel4} @CASINO6_23152 {caseNum5} -1 {caseLabel5} @CASINO6_23152 {caseNum6} -1 {caseLabel6} @CASINO6_23152 {caseNum7} -1 {caseLabel7} @CASINO6_23152 {caseNum8} -1 {caseLabel8} @CASINO6_23152 {caseNum9} -1 {caseLabel9} @CASINO6_23152

:CASINO6_21528
if 
  is_float_var_greater_or_equal_to_float_lvar $on_footY >= 181@(217@,8f)
goto_if_false @CASINO6_21569
148@(216@,6i) += 1
goto @CASINO6_21584

:CASINO6_21569
add_float_lvar_to_float_var $on_footY += 176@
goto @CASINO6_23152

:CASINO6_21584
if 
  164@(216@,6f) >= 180.0
goto_if_false @CASINO6_21649
164@(216@,6f) = 0.0
sub_float_lvar_from_float_var $on_footZ -= 176@
148@(216@,6i) += 1
goto @CASINO6_21927

:CASINO6_21649
set_lvar_float_to_lvar_float 179@ = 176@
div_float_lvar_by_float_lvar 179@ /= 178@
add_float_lvar_to_float_lvar 164@(216@,6f) += 179@
if 
  164@(216@,6f) >= 180.0
goto_if_false @CASINO6_21716
164@(216@,6f) = 180.0

:CASINO6_21716
sub_float_lvar_from_float_lvar 170@(216@,6f) -= 179@
if 
  -180.0 >= 170@(216@,6f)
goto_if_false @CASINO6_21774
170@(216@,6f) += 360.0
goto @CASINO6_21813

:CASINO6_21774
if 
  170@(216@,6f) >= 180.0
goto_if_false @CASINO6_21813
170@(216@,6f) += -360.0

:CASINO6_21813
Object.SetRotation(154@(216@,6i), 0.0, 0.0, 170@(216@,6f))
198@ = Math.Cos(164@(216@,6f))
199@ = Math.Sin(164@(216@,6f))
set_lvar_float_to_lvar_float 200@ = 180@
mult_float_lvar_by_float_lvar 200@ *= 198@
set_lvar_float_to_lvar_float 201@ = 180@
mult_float_lvar_by_float_lvar 201@ *= 199@
set_var_float_to_lvar_float $on_footY = 181@
sub_float_lvar_from_float_var $on_footY -= 200@
set_var_float_to_lvar_float $on_footZ = 190@
add_float_lvar_to_float_var $on_footZ += 201@

:CASINO6_21927
goto @CASINO6_23152

:CASINO6_21934
if 
  is_float_lvar_greater_or_equal_to_float_var 189@(217@,8f) >= $on_footZ
goto_if_false @CASINO6_21975
148@(216@,6i) += 1
goto @CASINO6_21990

:CASINO6_21975
sub_float_lvar_from_float_var $on_footZ -= 176@
goto @CASINO6_23152

:CASINO6_21990
if 
  -90.0 >= 164@(216@,6f)
goto_if_false @CASINO6_22055
164@(216@,6f) = 90.0
sub_float_lvar_from_float_var $on_footY -= 176@
148@(216@,6i) += 1
goto @CASINO6_22333

:CASINO6_22055
set_lvar_float_to_lvar_float 179@ = 176@
div_float_lvar_by_float_lvar 179@ /= 178@
sub_float_lvar_from_float_lvar 164@(216@,6f) -= 179@
if 
  -90.0 >= 164@(216@,6f)
goto_if_false @CASINO6_22122
164@(216@,6f) = -90.0

:CASINO6_22122
sub_float_lvar_from_float_lvar 170@(216@,6f) -= 179@
if 
  -180.0 >= 170@(216@,6f)
goto_if_false @CASINO6_22180
170@(216@,6f) += 360.0
goto @CASINO6_22219

:CASINO6_22180
if 
  170@(216@,6f) >= 180.0
goto_if_false @CASINO6_22219
170@(216@,6f) += -360.0

:CASINO6_22219
Object.SetRotation(154@(216@,6i), 0.0, 0.0, 170@(216@,6f))
198@ = Math.Cos(164@(216@,6f))
199@ = Math.Sin(164@(216@,6f))
set_lvar_float_to_lvar_float 200@ = 180@
mult_float_lvar_by_float_lvar 200@ *= 198@
set_lvar_float_to_lvar_float 201@ = 180@
mult_float_lvar_by_float_lvar 201@ *= 199@
set_var_float_to_lvar_float $on_footY = 184@
add_float_lvar_to_float_var $on_footY += 200@
set_var_float_to_lvar_float $on_footZ = 191@
add_float_lvar_to_float_var $on_footZ += 201@

:CASINO6_22333
goto @CASINO6_23152

:CASINO6_22340
if 
  is_float_lvar_greater_or_equal_to_float_var 181@(217@,8f) >= $on_footY
goto_if_false @CASINO6_22381
148@(216@,6i) += 1
goto @CASINO6_22396

:CASINO6_22381
sub_float_lvar_from_float_var $on_footY -= 176@
goto @CASINO6_23152

:CASINO6_22396
if 
  164@(216@,6f) >= 180.0
goto_if_false @CASINO6_22461
164@(216@,6f) = 0.0
add_float_lvar_to_float_var $on_footZ += 176@
148@(216@,6i) += 1
goto @CASINO6_22739

:CASINO6_22461
set_lvar_float_to_lvar_float 179@ = 176@
div_float_lvar_by_float_lvar 179@ /= 178@
add_float_lvar_to_float_lvar 164@(216@,6f) += 179@
if 
  164@(216@,6f) >= 180.0
goto_if_false @CASINO6_22528
164@(216@,6f) = 180.0

:CASINO6_22528
sub_float_lvar_from_float_lvar 170@(216@,6f) -= 179@
if 
  -180.0 >= 170@(216@,6f)
goto_if_false @CASINO6_22586
170@(216@,6f) += 360.0
goto @CASINO6_22625

:CASINO6_22586
if 
  170@(216@,6f) >= 180.0
goto_if_false @CASINO6_22625
170@(216@,6f) += -360.0

:CASINO6_22625
Object.SetRotation(154@(216@,6i), 0.0, 0.0, 170@(216@,6f))
198@ = Math.Cos(164@(216@,6f))
199@ = Math.Sin(164@(216@,6f))
set_lvar_float_to_lvar_float 200@ = 180@
mult_float_lvar_by_float_lvar 200@ *= 198@
set_lvar_float_to_lvar_float 201@ = 180@
mult_float_lvar_by_float_lvar 201@ *= 199@
set_var_float_to_lvar_float $on_footY = 185@
add_float_lvar_to_float_var $on_footY += 200@
set_var_float_to_lvar_float $on_footZ = 194@
sub_float_lvar_from_float_var $on_footZ -= 201@

:CASINO6_22739
goto @CASINO6_23152

:CASINO6_22746
if 
  is_float_var_greater_or_equal_to_float_lvar $on_footZ >= 189@(217@,8f)
goto_if_false @CASINO6_22787
148@(216@,6i) += 1
goto @CASINO6_22802

:CASINO6_22787
add_float_lvar_to_float_var $on_footZ += 176@
goto @CASINO6_23152

:CASINO6_22802
if 
  -90.0 >= 164@(216@,6f)
goto_if_false @CASINO6_22867
164@(216@,6f) = 90.0
add_float_lvar_to_float_var $on_footY += 176@
148@(216@,6i) = 0
goto @CASINO6_23145

:CASINO6_22867
set_lvar_float_to_lvar_float 179@ = 176@
div_float_lvar_by_float_lvar 179@ /= 178@
sub_float_lvar_from_float_lvar 164@(216@,6f) -= 179@
if 
  -90.0 >= 164@(216@,6f)
goto_if_false @CASINO6_22934
164@(216@,6f) = -90.0

:CASINO6_22934
sub_float_lvar_from_float_lvar 170@(216@,6f) -= 179@
if 
  -180.0 >= 170@(216@,6f)
goto_if_false @CASINO6_22992
170@(216@,6f) += 360.0
goto @CASINO6_23031

:CASINO6_22992
if 
  170@(216@,6f) >= 180.0
goto_if_false @CASINO6_23031
170@(216@,6f) += -360.0

:CASINO6_23031
Object.SetRotation(154@(216@,6i), 0.0, 0.0, 170@(216@,6f))
198@ = Math.Cos(164@(216@,6f))
199@ = Math.Sin(164@(216@,6f))
set_lvar_float_to_lvar_float 200@ = 180@
mult_float_lvar_by_float_lvar 200@ *= 198@
set_lvar_float_to_lvar_float 201@ = 180@
mult_float_lvar_by_float_lvar 201@ *= 199@
set_var_float_to_lvar_float $on_footY = 188@
sub_float_lvar_from_float_var $on_footY -= 200@
set_var_float_to_lvar_float $on_footZ = 195@
sub_float_lvar_from_float_var $on_footZ -= 201@

:CASINO6_23145
goto @CASINO6_23152

:CASINO6_23152
Object.SetCoordinatesAndVelocity(154@(216@,6i), $on_footY, $on_footZ, $in_carX)
216@ += 1
goto @CASINO6_21352

:CASINO6_23184
if 
  163@ > 500
goto_if_false @CASINO6_23364
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CASINO6_23364
if 
  Char.IsInArea2D($stattreadstamina_ctr, 945.7303, 2113.197, 947.412, 2112.319, False)
goto_if_false @CASINO6_23364
if 
  161@ == 0
goto_if_false @CASINO6_23320
177@ = 0.0001
161@ = 1
Audio.ReportMissionAudioEventAtPosition(941.9891, 2144.288, 1016.206, 1081)
goto @CASINO6_23357

:CASINO6_23320
177@ = -0.0001
161@ = 0
Audio.ReportMissionAudioEventAtPosition(941.9891, 2144.288, 1016.206, 1082)

:CASINO6_23357
163@ = 0

:CASINO6_23364
return 

:CASINO6_23366
switch_start 204@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @CASINO6_24855 {caseNum1} 0 {caseLabel1} @CASINO6_23429 {caseNum2} 1 {caseLabel2} @CASINO6_23518 {caseNum3} 2 {caseLabel3} @CASINO6_24142 {caseNum4} 3 {caseLabel4} @CASINO6_24673 {caseNum5} -1 {caseLabel5} @CASINO6_24855 {caseNum6} -1 {caseLabel6} @CASINO6_24855 {caseNum7} -1 {caseLabel7} @CASINO6_24855

:CASINO6_23429
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CASINO6_23511
if 
  Char.IsInArea2D($stattreadstamina_ctr, 951.954, 2115.744, 949.9608, 2114.699, False)
goto_if_false @CASINO6_23511
214@ = 0.0
215@ = -0.0005
204@ += 1

:CASINO6_23511
goto @CASINO6_24855

:CASINO6_23518
if 
  297@ == 0
goto_if_false @CASINO6_23551
Audio.ReportMissionAudioEventAtObject(202@, 1079)
297@ = 1

:CASINO6_23551
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(202@)
set_lvar_float_to_var_float 299@ = $on_footZ
299@ -= 2.5
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, $on_footY, 299@, 0.8, 0.8, True)
goto_if_false @CASINO6_23624
goto @CASINO6_24855

:CASINO6_23624
add_float_lvar_to_float_lvar 214@ += 215@
if 
  -0.4 > 214@
goto_if_false @CASINO6_23663
214@ = -0.4

:CASINO6_23663
add_float_lvar_to_float_var $on_footZ += 214@
if 
  2117.448 >= $on_footZ
goto_if_false @CASINO6_24121
$on_footZ = 2117.448
204@ += 1
Audio.ReportMissionAudioEventAtObject(202@, 1080)
297@ = 0
if 
  Char.IsInArea3D($stattreadstamina_ctr, 952.25, 2147.0, 1010.0, 967.0, 2114.0, 1012.0, False)
goto_if_false @CASINO6_23793
36@ = 1
207@ = 0
goto @CASINO6_23800

:CASINO6_23793
36@ = 0

:CASINO6_23800
if 
  Char.IsInArea3D(39@, 952.25, 2147.0, 1010.0, 967.0, 2114.0, 1012.0, False)
goto_if_false @CASINO6_23973
44@ = 1
207@ = 0
if 
  36@ == 1
goto_if_false @CASINO6_23908
227@ = 2
set_lvar_text_label 228@s = 'CAS6_F2'
goto @CASINO6_23966

:CASINO6_23908
set_var_int_to_constant $1280 = 8242
set_var_text_label s$SLOT_status = 'CAS6_FC'
start_new_script @A_ALAP 2 102 39@ 
51@ = 0
301@ = 1
TIMERB = 0

:CASINO6_23966
goto @CASINO6_24114

:CASINO6_23973
if 
  36@ == 1
goto_if_false @CASINO6_24082
set_var_int_to_constant $1280 = 8248
set_var_text_label s$SLOT_status = 'CAS6_FP'
start_new_script @A_ALAP 1 102 $stattreadstamina_ctr 
51@ = 0
Char.SetProofs(39@, True, True, True, True, True)
if 
  41@ >= 15
goto_if_false @CASINO6_24075
41@ = 13

:CASINO6_24075
goto @CASINO6_24107

:CASINO6_24082
if 
  41@ == 15
goto_if_false @CASINO6_24107
41@ = 13

:CASINO6_24107
44@ = 0

:CASINO6_24114
goto @CASINO6_24121

:CASINO6_24121
Object.SetCoordinatesAndVelocity(202@, $on_footY, $on_footZ, $in_carX)
goto @CASINO6_24855

:CASINO6_24142
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CASINO6_24666
if 
  Char.IsInArea2D($stattreadstamina_ctr, 951.954, 2115.744, 949.9608, 2114.699, False)
goto_if_false @CASINO6_24666
214@ = 0.0
215@ = 0.0005
204@ += 1
if 
  44@ == 1
goto_if_false @CASINO6_24652
if or
  not Char.IsDead(67@)
  not Char.IsDead(68@)
goto_if_false @CASINO6_24321
set_var_int_to_constant $1280 = 8278
set_var_text_label s$SLOT_status = 'CAS6_LD'
start_new_script @A_ALAP 1 102 $stattreadstamina_ctr 
298@ = 1
51@ = 0
goto @CASINO6_24652

:CASINO6_24321
if or
  not Char.IsDead(57@)
  not Char.IsDead(58@)
  not Char.IsDead(59@)
  not Char.IsDead(60@)
  not Char.IsDead(61@)
  not Char.IsDead(62@)
goto_if_false @CASINO6_24420
set_var_int_to_constant $1280 = 8278
set_var_text_label s$SLOT_status = 'CAS6_LD'
start_new_script @A_ALAP 1 102 $stattreadstamina_ctr 
298@ = 1
51@ = 0
goto @CASINO6_24652

:CASINO6_24420
if or
  not Char.IsDead(63@)
  not Char.IsDead(64@)
  not Char.IsDead(54@)
goto_if_false @CASINO6_24504
set_var_int_to_constant $1280 = 8278
set_var_text_label s$SLOT_status = 'CAS6_LD'
start_new_script @A_ALAP 1 102 $stattreadstamina_ctr 
298@ = 1
51@ = 0
goto @CASINO6_24652

:CASINO6_24504
52@ = Math.RandomIntInRange(0, 151)
if 
  50 > 52@
goto_if_false @CASINO6_24561
set_var_int_to_constant $1280 = 8277
set_var_text_label s$SLOT_status = 'CAS6_LC'
goto @CASINO6_24630

:CASINO6_24561
if 
  52@ > 100
goto_if_false @CASINO6_24608
set_var_int_to_constant $1280 = 8244
set_var_text_label s$SLOT_status = 'CAS6_FK'
goto @CASINO6_24630

:CASINO6_24608
set_var_int_to_constant $1280 = 8276
set_var_text_label s$SLOT_status = 'CAS6_LB'

:CASINO6_24630
start_new_script @A_ALAP 2 102 39@ 
51@ = 0

:CASINO6_24652
36@ = 0
44@ = 0

:CASINO6_24666
goto @CASINO6_24855

:CASINO6_24673
if 
  297@ == 0
goto_if_false @CASINO6_24706
Audio.ReportMissionAudioEventAtObject(202@, 1079)
297@ = 1

:CASINO6_24706
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(202@)
add_float_lvar_to_float_lvar 214@ += 215@
if 
  214@ > 0.4
goto_if_false @CASINO6_24759
214@ = 0.4

:CASINO6_24759
add_float_lvar_to_float_var $on_footZ += 214@
if 
  $on_footZ >= 2121.648
goto_if_false @CASINO6_24820
$on_footZ = 2121.648
204@ = 0
Audio.ReportMissionAudioEventAtObject(202@, 1080)
297@ = 0

:CASINO6_24820
Object.SetCoordinatesAndVelocity(202@, $on_footY, $on_footZ, $in_carX)
36@ = 0
44@ = 0
goto @CASINO6_24855

:CASINO6_24855
return 

:CASINO6_24857
if 
  36@ == 1
goto_if_false @CASINO6_24985
if 
  207@ > 1500
goto_if_false @CASINO6_24978
216@ = Char.GetHealth($stattreadstamina_ctr)
216@ -= 3
if 
  0 >= 216@
goto_if_false @CASINO6_24962
227@ = 1
set_lvar_text_label 228@s = 'CAS6_F3'
Char.SetHealth($stattreadstamina_ctr, 0)
goto @CASINO6_24971

:CASINO6_24962
Char.Damage($stattreadstamina_ctr, 3, False)

:CASINO6_24971
207@ = 0

:CASINO6_24978
goto @CASINO6_25106

:CASINO6_24985
if 
  44@ == 1
goto_if_false @CASINO6_25106
if 
  207@ > 1500
goto_if_false @CASINO6_25106
216@ = Char.GetHealth(39@)
216@ -= 6
if 
  0 >= 216@
goto_if_false @CASINO6_25090
227@ = 1
set_lvar_text_label 228@s = 'CAS6_F1'
Char.SetHealth(39@, 0)
goto @CASINO6_25099

:CASINO6_25090
Char.Damage(39@, 6, False)

:CASINO6_25099
207@ = 0

:CASINO6_25106
return 

:CASINO6_25108
switch_start 300@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @CASINO6_25283 {caseNum1} 0 {caseLabel1} @CASINO6_25171 {caseNum2} 1 {caseLabel2} @CASINO6_25227 {caseNum3} -1 {caseLabel3} @CASINO6_25283 {caseNum4} -1 {caseLabel4} @CASINO6_25283 {caseNum5} -1 {caseLabel5} @CASINO6_25283 {caseNum6} -1 {caseLabel6} @CASINO6_25283 {caseNum7} -1 {caseLabel7} @CASINO6_25283

:CASINO6_25171
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, 941.5, 2114.0, 9.0, 9.0, False)
goto_if_false @CASINO6_25220
Weather.SetHeathazeEffect(True)
300@ += 1

:CASINO6_25220
goto @CASINO6_25283

:CASINO6_25227
if 
  not Char.LocateOnFoot2D($stattreadstamina_ctr, 941.5, 2114.0, 11.0, 11.0, False)
goto_if_false @CASINO6_25276
Weather.SetHeathazeEffect(False)
300@ -= 1

:CASINO6_25276
goto @CASINO6_25283

:CASINO6_25283
return 

:CASINO6_25285
switch_start 317@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @CASINO6_26096 {caseNum1} 0 {caseLabel1} @CASINO6_25413 {caseNum2} 1 {caseLabel2} @CASINO6_25488 {caseNum3} 2 {caseLabel3} @CASINO6_25535 {caseNum4} 3 {caseLabel4} @CASINO6_25657 {caseNum5} 4 {caseLabel5} @CASINO6_25704 {caseNum6} 5 {caseLabel6} @CASINO6_25826 {caseNum7} 6 {caseLabel7} @CASINO6_25873
switch_continued 7 {caseLabel1} @CASINO6_25974 {caseNum2} 8 {caseLabel2} @CASINO6_26021 {caseNum3} -1 {caseLabel3} @CASINO6_26096 {caseNum4} -1 {caseLabel4} @CASINO6_26096 {caseNum5} -1 {caseLabel5} @CASINO6_26096 {caseNum6} -1 {caseLabel6} @CASINO6_26096 {caseNum7} -1 {caseLabel7} @CASINO6_26096 {caseNum8} -1 {caseLabel8} @CASINO6_26096 {caseNum9} -1 {caseLabel9} @CASINO6_26096

:CASINO6_25413
if 
  3 > 316@
goto_if_false @CASINO6_25488
set_var_int_to_lvar_int $1280 = 318@(316@,23i)
set_var_text_label s$SLOT_status = 364@(316@,23s)
start_new_script @A_ALAP 2 70 341@(316@,23i) 
316@ += 1
317@ += 1

:CASINO6_25488
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO6_25528
317@ = 0
$cash($height_int_hj,2i) = -4

:CASINO6_25528
goto @CASINO6_26096

:CASINO6_25535
if 
  5 > 316@
goto_if_false @CASINO6_25636
if 
  TIMERA > 2500
goto_if_false @CASINO6_25629
set_var_int_to_lvar_int $1280 = 318@(316@,23i)
set_var_text_label s$SLOT_status = 364@(316@,23s)
start_new_script @A_ALAP 2 70 341@(316@,23i) 
316@ += 1
317@ += 1

:CASINO6_25629
goto @CASINO6_25657

:CASINO6_25636
TIMERA = 0
317@ = 6
316@ = 7

:CASINO6_25657
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO6_25697
317@ = 2
$cash($height_int_hj,2i) = -4

:CASINO6_25697
goto @CASINO6_26096

:CASINO6_25704
if 
  7 > 316@
goto_if_false @CASINO6_25805
if 
  TIMERA > 2500
goto_if_false @CASINO6_25798
set_var_int_to_lvar_int $1280 = 318@(316@,23i)
set_var_text_label s$SLOT_status = 364@(316@,23s)
start_new_script @A_ALAP 2 70 341@(316@,23i) 
316@ += 1
317@ += 1

:CASINO6_25798
goto @CASINO6_25826

:CASINO6_25805
TIMERA = 0
317@ = 6
316@ = 7

:CASINO6_25826
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO6_25866
317@ = 4
$cash($height_int_hj,2i) = -4

:CASINO6_25866
goto @CASINO6_26096

:CASINO6_25873
if 
  13 > 316@
goto_if_false @CASINO6_25974
if 
  TIMERA > 7000
goto_if_false @CASINO6_25974
set_var_int_to_lvar_int $1280 = 318@(316@,23i)
set_var_text_label s$SLOT_status = 364@(316@,23s)
start_new_script @A_ALAP 2 70 341@(316@,23i) 
316@ += 1
317@ += 1
TIMERA = 0

:CASINO6_25974
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO6_26014
317@ = 6
$cash($height_int_hj,2i) = -4

:CASINO6_26014
goto @CASINO6_26096

:CASINO6_26021
if 
  TIMERA > 9000
goto_if_false @CASINO6_26096
set_var_int_to_lvar_int $1280 = 331@
set_var_text_label s$SLOT_status = 390@s
start_new_script @A_ALAP 2 70 341@(316@,23i) 
316@ += 1
317@ += 1
TIMERA = 0

:CASINO6_26096
return 

:CASINO6_26098
if and
  301@ == 1
  TIMERB > 20000
goto_if_false @CASINO6_26244
if 
  302@ == 0
goto_if_false @CASINO6_26193
set_var_int_to_constant $1280 = 8243
set_var_text_label s$SLOT_status = 'CAS6_FF'
start_new_script @A_ALAP 2 75 39@ 
302@ = 1
goto @CASINO6_26237

:CASINO6_26193
set_var_int_to_constant $1280 = 8275
set_var_text_label s$SLOT_status = 'CAS6_LA'
start_new_script @A_ALAP 2 75 $stattreadstamina_ctr 
302@ = 0

:CASINO6_26237
TIMERB = 0

:CASINO6_26244
return 

:CASINO6_26246
switch_start 303@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CASINO6_26954 {caseNum1} 0 {caseLabel1} @CASINO6_26309 {caseNum2} 1 {caseLabel2} @CASINO6_26393 {caseNum3} 2 {caseLabel3} @CASINO6_26469 {caseNum4} 3 {caseLabel4} @CASINO6_26644 {caseNum5} 4 {caseLabel5} @CASINO6_26725 {caseNum6} -1 {caseLabel6} @CASINO6_26954 {caseNum7} -1 {caseLabel7} @CASINO6_26954

:CASINO6_26309
if 
  Char.IsInArea2D($stattreadstamina_ctr, 950.4901, 2113.204, 940.3504, 2103.84, False)
goto_if_false @CASINO6_26386
Text.PrintHelpForever('CAS6_H0')
304@ = 0
305@ = 0
306@ = 0
303@ += 1

:CASINO6_26386
goto @CASINO6_26954

:CASINO6_26393
if 
  304@ > 8000
goto_if_false @CASINO6_26428
Text.ClearHelp
303@ += 1
goto @CASINO6_26462

:CASINO6_26428
if or
  36@ == 1
  44@ == 1
goto_if_false @CASINO6_26462
Text.ClearHelp
303@ += 1

:CASINO6_26462
goto @CASINO6_26954

:CASINO6_26469
if and
  36@ == 1
  305@ == 0
goto_if_false @CASINO6_26544
if 
  44@ <> 1
goto_if_false @CASINO6_26537
Text.PrintHelpForever('CAS6_H3')
304@ = 0
303@ = 3

:CASINO6_26537
goto @CASINO6_26637

:CASINO6_26544
if 
  44@ == 1
goto_if_false @CASINO6_26637
if 
  306@ == 0
goto_if_false @CASINO6_26612
Text.PrintHelpForever('CAS6_H1')
304@ = 0
303@ = 4
goto @CASINO6_26637

:CASINO6_26612
if 
  306@ == 1
goto_if_false @CASINO6_26637
303@ = 4

:CASINO6_26637
goto @CASINO6_26954

:CASINO6_26644
if or
  304@ > 8000
  36@ == 0
goto_if_false @CASINO6_26718
Text.ClearHelp
305@ = 1
if 
  306@ == 3
goto_if_false @CASINO6_26711
303@ = -1
goto @CASINO6_26718

:CASINO6_26711
303@ = 2

:CASINO6_26718
goto @CASINO6_26954

:CASINO6_26725
if 
  306@ == 0
goto_if_false @CASINO6_26837
if 
  304@ > 8000
goto_if_false @CASINO6_26796
Text.ClearHelp
Text.PrintHelpForever('CAS6_H2')
304@ = 0
306@ = 2
goto @CASINO6_26830

:CASINO6_26796
if 
  44@ == 0
goto_if_false @CASINO6_26830
Text.ClearHelp
306@ = 1
303@ = 2

:CASINO6_26830
goto @CASINO6_26947

:CASINO6_26837
if 
  306@ == 1
goto_if_false @CASINO6_26887
Text.PrintHelpForever('CAS6_H2')
304@ = 0
306@ = 2
goto @CASINO6_26947

:CASINO6_26887
if 
  306@ == 2
goto_if_false @CASINO6_26947
if or
  304@ > 8000
  44@ == 0
goto_if_false @CASINO6_26947
Text.ClearHelp
306@ = 3
303@ = 2

:CASINO6_26947
goto @CASINO6_26954

:CASINO6_26954
return 

:CASINO6_26956
switch_start 307@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @CASINO6_27544 {caseNum1} 0 {caseLabel1} @CASINO6_27019 {caseNum2} 1 {caseLabel2} @CASINO6_27253 {caseNum3} 2 {caseLabel3} @CASINO6_27370 {caseNum4} 3 {caseLabel4} @CASINO6_27487 {caseNum5} -1 {caseLabel5} @CASINO6_27544 {caseNum6} -1 {caseLabel6} @CASINO6_27544 {caseNum7} -1 {caseLabel7} @CASINO6_27544

:CASINO6_27019
if 
  44@ == 1
goto_if_false @CASINO6_27067
Text.PrintNow('CAS6_G2', 8000, 1)
307@ = 1
goto @CASINO6_27246

:CASINO6_27067
if 
  36@ == 0
goto_if_false @CASINO6_27223
Text.PrintNow('CAS6_G1', 8000, 1)
if 
  not Blip.DoesExist(218@)
goto_if_false @CASINO6_27157
218@ = Blip.AddForCoord(964.788, 2159.504, 1011.055)
Blip.SetEntryExit(218@, 964.788, 2159.504, 4.0)

:CASINO6_27157
World.SwitchEntryExit('ABATOIR', True)
307@ = 3
if 
  50@ == 0
goto_if_false @CASINO6_27216
317@ = 8
TIMERA = 0
50@ = 1

:CASINO6_27216
goto @CASINO6_27246

:CASINO6_27223
Text.PrintNow('CAS6_G3', 8000, 1)
307@ = 2

:CASINO6_27246
goto @CASINO6_27544

:CASINO6_27253
if 
  44@ == 0
goto_if_false @CASINO6_27363
Text.PrintNow('CAS6_G4', 8000, 1)
if 
  not Blip.DoesExist(218@)
goto_if_false @CASINO6_27343
218@ = Blip.AddForCoord(964.788, 2159.504, 1011.055)
Blip.SetEntryExit(218@, 964.788, 2159.504, 4.0)

:CASINO6_27343
World.SwitchEntryExit('ABATOIR', True)
307@ = 3

:CASINO6_27363
goto @CASINO6_27544

:CASINO6_27370
if 
  36@ == 0
goto_if_false @CASINO6_27480
Text.PrintNow('CAS6_G4', 8000, 1)
if 
  not Blip.DoesExist(218@)
goto_if_false @CASINO6_27460
218@ = Blip.AddForCoord(964.788, 2159.504, 1011.055)
Blip.SetEntryExit(218@, 964.788, 2159.504, 4.0)

:CASINO6_27460
World.SwitchEntryExit('ABATOIR', True)
307@ = 3

:CASINO6_27480
goto @CASINO6_27544

:CASINO6_27487
if or
  36@ == 1
  44@ == 1
goto_if_false @CASINO6_27537
Blip.Remove(218@)
World.SwitchEntryExit('ABATOIR', False)
307@ = 0

:CASINO6_27537
goto @CASINO6_27544

:CASINO6_27544
return 

:CASINO6_27546
216@ = 0

:CASINO6_27553
if 
  6 > 216@
goto_if_false @CASINO6_27612
Object.MarkAsNoLongerNeeded(154@(216@,6i))
Object.MarkAsNoLongerNeeded(142@(216@,6i))
Object.MarkAsNoLongerNeeded(208@(216@,6i))
216@ += 1
goto @CASINO6_27553

:CASINO6_27612
Pickup.Remove(37@)
Pickup.Remove(38@)
Object.MarkAsNoLongerNeeded(43@)
Object.MarkAsNoLongerNeeded(160@)
Object.MarkAsNoLongerNeeded(202@)
Object.MarkAsNoLongerNeeded(203@)
Object.MarkAsNoLongerNeeded(254@)
Object.MarkAsNoLongerNeeded(255@)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(127)
Streaming.MarkModelAsNoLongerNeeded(#AB_CARCASS)
Streaming.MarkModelAsNoLongerNeeded(#AB_HOOK)
Streaming.MarkModelAsNoLongerNeeded(#FREEZER_DOOR)
Streaming.MarkModelAsNoLongerNeeded(#SEC_KEYPAD)
Streaming.MarkModelAsNoLongerNeeded(#CARDBOARDBOX2)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(336)
Streaming.MarkModelAsNoLongerNeeded(341)
Streaming.MarkModelAsNoLongerNeeded(366)
Streaming.MarkModelAsNoLongerNeeded(#BODYARMOUR)
Streaming.MarkModelAsNoLongerNeeded(#CJ_MEAT_BAG_1)
Streaming.MarkModelAsNoLongerNeeded(#CJ_MEAT_1)
Streaming.MarkModelAsNoLongerNeeded(#CJ_MEAT_2)
return 

:CASINO6_27734
284@ = 1

:CASINO6_27741
if 
  284@ == 1
goto_if_false @CASINO6_27778
wait 0
284@ = Char.GetAreaVisible($stattreadstamina_ctr)
goto @CASINO6_27741

:CASINO6_27778
Camera.DoFade(0, Fade.Out)

:CASINO6_27784
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_27808
wait 0
goto @CASINO6_27784

:CASINO6_27808
Player.DisableSprint($statbike_temp, False)
Hud.ClearCounter($7765)
Blip.Remove(40@)
Text.ClearHelp
Hud.SetRadarZoom(0)
gosub @CASINO6_27546
World.SwitchEntryExit('ABATOIR', False)
Blip.Remove(218@)
218@ = Blip.AddForCoord(2165.185, 1692.317, 9.8203)
Player.ClearWantedLevel($statbike_temp)
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_27979
Char.SetCoordinates(39@, 970.7965, 2155.644, 9.8203)
Char.SetHeading(39@, 295.3334)
Char.ClearTasksImmediately(39@)
Char.SetAreaVisible(39@, 0)
Char.SetNeverLeavesGroup(39@, True)
Group.SetMember(308@, 39@)
Char.RemoveAllWeapons(39@)
Blip.Remove(40@)
40@ = Blip.AddForChar(39@)
Blip.SetAsFriendly(40@, True)

:CASINO6_27979
if 
  233@ == 1
goto_if_false @CASINO6_28234
Streaming.RequestModel(234@)

:CASINO6_28002
if 
  not Streaming.HasModelLoaded(234@)
goto_if_false @CASINO6_28029
wait 0
goto @CASINO6_28002

:CASINO6_28029
314@ = Car.Create(234@, 977.1431, 2164.063, 9.8203)
Car.SetHeading(314@, 194.2554)
Car.ChangeColor(314@, 235@, 236@)
Car.SetExtraColors(314@, 237@, 238@)
216@ = 0

:CASINO6_28091
if 
  4 > 216@
goto_if_false @CASINO6_28150
if 
  is_local_var_bit_set_lvar 239@ {var_n} 216@
goto_if_false @CASINO6_28136
Car.BurstTire(314@, 216@)

:CASINO6_28136
216@ += 1
goto @CASINO6_28091

:CASINO6_28150
if 
  240@ <> -1
goto_if_false @CASINO6_28234
216@ = 0

:CASINO6_28175
if 
  6 > 216@
goto_if_false @CASINO6_28234
if 
  is_local_var_bit_set_lvar 240@ {var_n} 216@
goto_if_false @CASINO6_28220
Car.DamageDoor(314@, 216@)

:CASINO6_28220
216@ += 1
goto @CASINO6_28175

:CASINO6_28234
Camera.DoFade(500, Fade.In)
Text.PrintNow('CAS6_G5', 8000, 1)
315@ = 0
Player.ClearWantedLevel($statbike_temp)
Game.SetMaxWantedLevel(6)
if 
  0 <= $cash[0]
goto_if_false @CASINO6_28298
$cash[0] = -2

:CASINO6_28298
if 
  0 <= $cash[0]
goto_if_false @CASINO6_28323
$cash[1] = -2

:CASINO6_28323
set_lvar_text_label 364@s = 'CAS6_HA'
set_lvar_int_to_constant 318@ = 8253
set_lvar_int_to_lvar_int 341@ = 39@
set_lvar_text_label 366@s = 'CAS6_HB'
set_lvar_int_to_constant 319@ = 8254
set_lvar_int_to_lvar_int 342@ = 39@
set_lvar_text_label 368@s = 'CAS6_HC'
set_lvar_int_to_constant 320@ = 8255
set_lvar_int_to_lvar_int 343@ = 39@
set_lvar_text_label 370@s = 'CAS6_HD'
set_lvar_int_to_constant 321@ = 8256
set_lvar_int_to_var_int 344@ = $stattreadstamina_ctr
set_lvar_text_label 372@s = 'CAS6_JA'
set_lvar_int_to_constant 322@ = 8257
set_lvar_int_to_lvar_int 345@ = 39@
set_lvar_text_label 374@s = 'CAS6_JB'
set_lvar_int_to_constant 323@ = 8258
set_lvar_int_to_lvar_int 346@ = 39@
set_lvar_text_label 376@s = 'CAS6_JC'
set_lvar_int_to_constant 324@ = 8259
set_lvar_int_to_lvar_int 347@ = 39@
set_lvar_text_label 378@s = 'CAS6_JD'
set_lvar_int_to_constant 325@ = 8260
set_lvar_int_to_var_int 348@ = $stattreadstamina_ctr
set_lvar_text_label 380@s = 'CAS6_JE'
set_lvar_int_to_constant 326@ = 8261
set_lvar_int_to_lvar_int 349@ = 39@
set_lvar_text_label 382@s = 'CAS6_JF'
set_lvar_int_to_constant 327@ = 8262
set_lvar_int_to_lvar_int 350@ = 39@
set_lvar_text_label 384@s = 'CAS6_JG'
set_lvar_int_to_constant 328@ = 8263
set_lvar_int_to_lvar_int 351@ = 39@
set_lvar_text_label 386@s = 'CAS6_JJ'
set_lvar_int_to_constant 329@ = 8264
set_lvar_int_to_var_int 352@ = $stattreadstamina_ctr
set_lvar_text_label 388@s = 'CAS6_JK'
set_lvar_int_to_constant 330@ = 8265
set_lvar_int_to_var_int 353@ = $stattreadstamina_ctr
set_lvar_text_label 390@s = 'CAS6_JL'
set_lvar_int_to_constant 331@ = 8266
set_lvar_int_to_var_int 354@ = $stattreadstamina_ctr
set_lvar_text_label 392@s = 'CAS6_JM'
set_lvar_int_to_constant 332@ = 8267
set_lvar_int_to_lvar_int 355@ = 39@
set_lvar_text_label 394@s = 'CAS6_JN'
set_lvar_int_to_constant 333@ = 8268
set_lvar_int_to_var_int 356@ = $stattreadstamina_ctr
set_lvar_text_label 396@s = 'CAS6_JO'
set_lvar_int_to_constant 334@ = 8269
set_lvar_int_to_var_int 357@ = $stattreadstamina_ctr
set_lvar_text_label 398@s = 'CAS6_KA'
set_lvar_int_to_constant 335@ = 8270
set_lvar_int_to_var_int 358@ = $stattreadstamina_ctr
set_lvar_text_label 400@s = 'CAS6_KB'
set_lvar_int_to_constant 336@ = 8271
set_lvar_int_to_lvar_int 359@ = 39@
set_lvar_text_label 402@s = 'CAS6_KC'
set_lvar_int_to_constant 337@ = 8272
set_lvar_int_to_lvar_int 360@ = 39@
set_lvar_text_label 404@s = 'CAS6_KD'
set_lvar_int_to_constant 338@ = 8273
set_lvar_int_to_lvar_int 361@ = 39@
set_lvar_text_label 406@s = 'CAS6_KE'
set_lvar_int_to_constant 339@ = 8274
set_lvar_int_to_lvar_int 362@ = 39@
316@ = 0
317@ = 0
TIMERB = 0
Player.SetGroupRecruitment($statbike_temp, True)

:CASINO6_29011
wait 0
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_29259
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2165.185, 1692.317, 9.8203, 4.0, 4.0, 4.0, True)
goto_if_false @CASINO6_29170
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 39@, 15.0, 15.0, False)
goto_if_false @CASINO6_29124
goto @CASINO6_30383
goto @CASINO6_29163

:CASINO6_29124
if 
  2 > 315@
goto_if_false @CASINO6_29149
315@ = 2

:CASINO6_29149
gosub @CASINO6_29653
gosub @CASINO6_29889

:CASINO6_29163
goto @CASINO6_29191

:CASINO6_29170
gosub @CASINO6_29469
gosub @CASINO6_29653
gosub @CASINO6_29889

:CASINO6_29191
284@ = Streaming.GetAreaVisible()
if 
  284@ <> 0
goto_if_false @CASINO6_29252
Text.ClearPrints
Char.FreezePosition(39@, True)
Blip.Remove(218@)
Blip.Remove(40@)
Char.RemoveFromGroup(39@)
313@ = 0
goto @CASINO6_29294

:CASINO6_29252
goto @CASINO6_29287

:CASINO6_29259
227@ = 1
set_lvar_text_label 228@s = 'CAS6_F0'
goto @CASINO6_31162

:CASINO6_29287
goto @CASINO6_29011

:CASINO6_29294
wait 0
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_29434
284@ = Streaming.GetAreaVisible()
if 
  284@ == 0
goto_if_false @CASINO6_29427
Char.FreezePosition(39@, False)
Char.SetNeverLeavesGroup(39@, True)
Group.SetMember(308@, 39@)
Blip.Remove(40@)
40@ = Blip.AddForChar(39@)
Blip.SetAsFriendly(40@, True)
Blip.ChangeDisplay(40@, BlipDisplay.BlipOnly)
218@ = Blip.AddForCoord(2165.185, 1692.317, 9.8203)
TIMERA = 0
315@ = 3
goto @CASINO6_29011

:CASINO6_29427
goto @CASINO6_29462

:CASINO6_29434
227@ = 1
set_lvar_text_label 228@s = 'CAS6_F0'
goto @CASINO6_31162

:CASINO6_29462
goto @CASINO6_29294

:CASINO6_29469
switch_start 313@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @CASINO6_29651 {caseNum1} 0 {caseLabel1} @CASINO6_29532 {caseNum2} 1 {caseLabel2} @CASINO6_29594 {caseNum3} -1 {caseLabel3} @CASINO6_29651 {caseNum4} -1 {caseLabel4} @CASINO6_29651 {caseNum5} -1 {caseLabel5} @CASINO6_29651 {caseNum6} -1 {caseLabel6} @CASINO6_29651 {caseNum7} -1 {caseLabel7} @CASINO6_29651

:CASINO6_29532
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO6_29587
314@ = Char.GetCarIsUsing($stattreadstamina_ctr)
if 
  Char.IsInCar(39@, 314@)
goto_if_false @CASINO6_29587
Blip.Remove(40@)
313@ += 1

:CASINO6_29587
goto @CASINO6_29651

:CASINO6_29594
if 
  not Char.IsInAnyCar(39@)
goto_if_false @CASINO6_29644
Blip.Remove(40@)
40@ = Blip.AddForChar(39@)
Blip.SetAsFriendly(40@, True)
Blip.ChangeDisplay(40@, BlipDisplay.BlipOnly)
313@ -= 1

:CASINO6_29644
goto @CASINO6_29651

:CASINO6_29651
return 

:CASINO6_29653
switch_start 315@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @CASINO6_29887 {caseNum1} 0 {caseLabel1} @CASINO6_29716 {caseNum2} 1 {caseLabel2} @CASINO6_29784 {caseNum3} 2 {caseLabel3} @CASINO6_29817 {caseNum4} 3 {caseLabel4} @CASINO6_29854 {caseNum5} -1 {caseLabel5} @CASINO6_29887 {caseNum6} -1 {caseLabel6} @CASINO6_29887 {caseNum7} -1 {caseLabel7} @CASINO6_29887

:CASINO6_29716
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 39@, 60.0, 60.0, False)
goto_if_false @CASINO6_29777
Text.PrintNow('CAS6_G6', 8000, 1)
TIMERA = 0
315@ += 1

:CASINO6_29777
goto @CASINO6_29887

:CASINO6_29784
if 
  TIMERA > 20000
goto_if_false @CASINO6_29810
315@ -= 1

:CASINO6_29810
goto @CASINO6_29887

:CASINO6_29817
Text.PrintNow('CAS6_G7', 8000, 1)
TIMERA = 0
315@ += 1
goto @CASINO6_29887

:CASINO6_29854
if 
  TIMERA > 20000
goto_if_false @CASINO6_29880
315@ = 0

:CASINO6_29880
goto @CASINO6_29887

:CASINO6_29887
return 

:CASINO6_29889
switch_start 317@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CASINO6_30381 {caseNum1} 0 {caseLabel1} @CASINO6_29952 {caseNum2} 1 {caseLabel2} @CASINO6_29985 {caseNum3} 2 {caseLabel3} @CASINO6_30112 {caseNum4} 3 {caseLabel4} @CASINO6_30159 {caseNum5} 4 {caseLabel5} @CASINO6_30334 {caseNum6} -1 {caseLabel6} @CASINO6_30381 {caseNum7} -1 {caseLabel7} @CASINO6_30381

:CASINO6_29952
if 
  TIMERB > 8000
goto_if_false @CASINO6_29978
317@ += 1

:CASINO6_29978
goto @CASINO6_30381

:CASINO6_29985
if 
  4 > 316@
goto_if_false @CASINO6_30098
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 39@, 15.0, 15.0, False)
goto_if_false @CASINO6_30091
set_var_int_to_lvar_int $1280 = 318@(316@,23i)
set_var_text_label s$SLOT_status = 364@(316@,23s)
start_new_script @A_ALAP 2 100 341@(316@,23i) 
316@ += 1
317@ += 1

:CASINO6_30091
goto @CASINO6_30112

:CASINO6_30098
317@ = 3
goto @CASINO6_30381

:CASINO6_30112
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO6_30152
317@ = 1
$cash($height_int_hj,2i) = -4

:CASINO6_30152
goto @CASINO6_30381

:CASINO6_30159
if 
  313@ == 1
goto_if_false @CASINO6_30259
if 
  17 > 316@
goto_if_false @CASINO6_30252
set_var_int_to_lvar_int $1280 = 318@(316@,23i)
set_var_text_label s$SLOT_status = 364@(316@,23s)
start_new_script @A_ALAP 1 100 341@(316@,23i) 
316@ += 1
317@ += 1

:CASINO6_30252
goto @CASINO6_30334

:CASINO6_30259
if 
  316@ <> 4
goto_if_false @CASINO6_30327
if 
  0 <= $cash[0]
goto_if_false @CASINO6_30302
$cash[0] = -2

:CASINO6_30302
if 
  0 <= $cash[0]
goto_if_false @CASINO6_30327
$cash[1] = -2

:CASINO6_30327
goto @CASINO6_30381

:CASINO6_30334
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO6_30374
317@ = 3
$cash($height_int_hj,2i) = -4

:CASINO6_30374
goto @CASINO6_30381

:CASINO6_30381
return 

:CASINO6_30383
Player.SetControl($statbike_temp, False)
if 
  0 <= $cash[0]
goto_if_false @CASINO6_30415
$cash[0] = -2

:CASINO6_30415
if 
  0 <= $cash[0]
goto_if_false @CASINO6_30440
$cash[1] = -2

:CASINO6_30440
Camera.DoFade(500, Fade.Out)

:CASINO6_30447
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_30471
wait 0
goto @CASINO6_30447

:CASINO6_30471
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO6_30514
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2171.511, 1687.368, 9.8203)
goto @CASINO6_30534

:CASINO6_30514
Char.SetCoordinates($stattreadstamina_ctr, 2171.511, 1687.368, 9.8203)

:CASINO6_30534
Char.SetHeading($stattreadstamina_ctr, 352.2379)
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_30633
if 
  Char.IsInAnyCar(39@)
goto_if_false @CASINO6_30603
Char.WarpFromCarToCoord(39@, 2171.519, 1688.526, 9.8203)
goto @CASINO6_30623

:CASINO6_30603
Char.SetCoordinates(39@, 2171.519, 1688.526, 9.8203)

:CASINO6_30623
Char.SetHeading(39@, 194.051)

:CASINO6_30633
Camera.SetFixedPosition(2172.856, 1688.255, 11.0927, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2171.891, 1688.013, 11.1875, SwitchType.JumpCut)
World.ClearArea(2171.511, 1687.368, 9.8203, 60.0, True)
Car.Delete(314@)
316@ = 17
Hud.SwitchWidescreen(True)
Camera.DoFade(500, Fade.In)
skip_cutscene_start_internal @CASINO6_30928

:CASINO6_30738
if 
  22 > 316@
goto_if_false @CASINO6_30857
set_var_int_to_lvar_int $1280 = 318@(316@,23i)
set_var_text_label s$SLOT_status = 364@(316@,23s)
start_new_script @A_ALAP 2 100 341@(316@,23i) 

:CASINO6_30799
if 
  $cash($height_int_hj,2i) <> -3
goto_if_false @CASINO6_30832
wait 0
goto @CASINO6_30799

:CASINO6_30832
$cash($height_int_hj,2i) = -4
316@ += 1
goto @CASINO6_30738

:CASINO6_30857
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_30904
Task.GoStraightToCoord(39@, 2178.015, 1689.698, 9.8203, MoveState.Walk, -2)
Camera.DoFade(2500, Fade.Out)

:CASINO6_30904
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_30928
wait 0
goto @CASINO6_30904

:CASINO6_30928
skip_cutscene_end 
Camera.DoFade(0, Fade.Out)

:CASINO6_30936
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_30960
wait 0
goto @CASINO6_30936

:CASINO6_30960
Text.ClearPrints
Char.SetHeading($stattreadstamina_ctr, 95.0)
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_30993
Char.Delete(39@)

:CASINO6_30993
Camera.DoFade(0, Fade.In)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer

:CASINO6_31014
$desertX += 1
Stat.RegisterMissionPassed('CASINO6')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSS', 8000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 8000)
Stat.AwardPlayerMissionRespect(25)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.SetInt(StatId.PassedCasino6, 1)
start_new_script @DOC 
Blip.Remove($casino_blip_icon)
$casino_blip_icon = Blip.AddSpriteForContactPoint($heistY, $heistZ, $mansion_contact_blip, $flag_desert_mission_counter)
Blip.Remove($doc_blip_icon)
Blip.Remove($desert_blip_icon)
$desert_blip_icon = Blip.AddSpriteForContactPoint($TheheistY, $TheheistZ, $vcrashX, $pilot_contact_blip)
Blip.SetEntryExit($desert_blip_icon, 2026.603, 1007.735, 20.0)
return 

:CASINO6_31162
switch_start 227@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @CASINO6_31872 {caseNum1} 0 {caseLabel1} @CASINO6_31273 {caseNum2} 1 {caseLabel2} @CASINO6_31225 {caseNum3} 2 {caseLabel3} @CASINO6_31296 {caseNum4} -1 {caseLabel4} @CASINO6_31872 {caseNum5} -1 {caseLabel5} @CASINO6_31872 {caseNum6} -1 {caseLabel6} @CASINO6_31872 {caseNum7} -1 {caseLabel7} @CASINO6_31872

:CASINO6_31225
Text.PrintNow(228@s, 5000, 1)
if 
  36@ == 1
goto_if_false @CASINO6_31273
Object.SetCoordinates(202@, 951.859, 2121.648, 1012.094)

:CASINO6_31273
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
goto @CASINO6_31872

:CASINO6_31296
Camera.DoFade(0, Fade.Out)

:CASINO6_31302
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_31326
wait 0
goto @CASINO6_31302

:CASINO6_31326
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(963.9219, 2124.63, 1013.85, 0.0, 0.0, 0.0)
Camera.PointAtPoint(963.0831, 2124.185, 1013.536, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 955.6613, 2116.203, 1010.03)
Char.SetHeading($stattreadstamina_ctr, 72.8077)
if 
  not Char.IsDead(39@)
goto_if_false @CASINO6_31484
Char.ClearTasksImmediately(39@)
Task.ToggleDuck(39@, False)
Char.SetDecisionMaker(39@, 34@)
Char.SetCoordinates(39@, 955.32, 2119.472, 1010.031)
Char.SetHeading(39@, 113.9337)

:CASINO6_31484
216@ = 0

:CASINO6_31491
if 
  is_int_lvar_greater_than_int_lvar 140@ > 216@
goto_if_false @CASINO6_31605
if 
  not Char.IsDead(53@(216@,29i))
goto_if_false @CASINO6_31591
if 
  Char.IsInArea3D(53@(216@,29i), 952.25, 2147.0, 1010.0, 967.0, 2114.0, 1012.0, False)
goto_if_false @CASINO6_31591
Char.Delete(53@(216@,29i))

:CASINO6_31591
216@ += 1
goto @CASINO6_31491

:CASINO6_31605
TIMERA = 0

:CASINO6_31612
if 
  400 > TIMERA
goto_if_false @CASINO6_31642
wait 0
goto @CASINO6_31612

:CASINO6_31642
Camera.DoFade(1000, Fade.In)

:CASINO6_31649
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_31673
wait 0
goto @CASINO6_31649

:CASINO6_31673
Text.PrintBig('M_FAIL', 4000, TextStyle.Middle)
Text.PrintNow(228@s, 4000, 1)
TIMERA = 0

:CASINO6_31706
if 
  4000 > TIMERA
goto_if_false @CASINO6_31736
wait 0
goto @CASINO6_31706

:CASINO6_31736
Camera.DoFade(500, Fade.Out)

:CASINO6_31743
if 
  Camera.GetFadingStatus
goto_if_false @CASINO6_31767
wait 0
goto @CASINO6_31743

:CASINO6_31767
Streaming.LoadScene(1578.446, 1770.682, 9.828)
Streaming.RequestCollision(1578.446, 1770.682)
Char.SetCoordinatesNoOffset($stattreadstamina_ctr, 1578.446, 1770.682, 9.828)
Char.SetHeading($stattreadstamina_ctr, 99.7567)
Game.ResetStuffUponResurrection
TIMERA = 0

:CASINO6_31835
if 
  400 > TIMERA
goto_if_false @CASINO6_31865
wait 0
goto @CASINO6_31835

:CASINO6_31865
goto @CASINO6_31872

:CASINO6_31872
284@ = Streaming.GetAreaVisible()
if 
  284@ <> 0
goto_if_false @CASINO6_31908
World.SwitchEntryExit('ABATOIR', True)

:CASINO6_31908
return 

:CASINO6_31910
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CASINO6_31937
Player.SetGroupRecruitment($statbike_temp, True)
Game.SetScriptLimitToGangSize(99)

:CASINO6_31937
start_new_script @A_TERM 
$bball_r3_is_pressed = 0
$lowrider_game_is_active = 0
set_var_text_label s$lowrider_pscore = 'ABATOIR'
start_new_script @ENTEXT 
Game.SetMaxWantedLevel(6)
Hud.ClearCounter($7765)
Blip.Remove(218@)
Text.ClearHelp
Weather.SetHeathazeEffect(False)
Hud.SetRadarZoom(0)
if 
  265@ == 0
goto_if_false @CASINO6_32033
ScriptFire.Remove(264@)
ScriptFire.Remove(263@)

:CASINO6_32033
if 
  266@ == 0
goto_if_false @CASINO6_32061
ScriptFire.Remove(262@)
ScriptFire.Remove(261@)

:CASINO6_32061
if 
  267@ == 0
goto_if_false @CASINO6_32089
ScriptFire.Remove(260@)
ScriptFire.Remove(259@)

:CASINO6_32089
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CASINO6_32216
Player.DisableSprint($statbike_temp, False)
216@ = 0

:CASINO6_32119
if 
  is_int_lvar_greater_than_int_lvar 140@ > 216@
goto_if_false @CASINO6_32216
if 
  not Char.IsDead(53@(216@,29i))
goto_if_false @CASINO6_32193
Char.SetDecisionMaker(53@(216@,29i), 34@)
Task.KillCharOnFoot(53@(216@,29i), $stattreadstamina_ctr)
Char.SetKeepTask(53@(216@,29i), True)

:CASINO6_32193
Blip.Remove(82@(216@,29i))
216@ += 1
goto @CASINO6_32119

:CASINO6_32216
Char.MarkAsNoLongerNeeded(39@)
Blip.Remove(40@)
216@ = 0

:CASINO6_32233
if 
  6 > 216@
goto_if_false @CASINO6_32292
Object.MarkAsNoLongerNeeded(154@(216@,6i))
Object.MarkAsNoLongerNeeded(142@(216@,6i))
Object.MarkAsNoLongerNeeded(208@(216@,6i))
216@ += 1
goto @CASINO6_32233

:CASINO6_32292
216@ = 0

:CASINO6_32299
if 
  6 > 216@
goto_if_false @CASINO6_32340
Object.MarkAsNoLongerNeeded(245@(216@,9i))
216@ += 1
goto @CASINO6_32299

:CASINO6_32340
Pickup.Remove(37@)
Pickup.Remove(38@)
Car.MarkAsNoLongerNeeded(314@)
Object.MarkAsNoLongerNeeded(43@)
Object.MarkAsNoLongerNeeded(160@)
Object.MarkAsNoLongerNeeded(202@)
Object.MarkAsNoLongerNeeded(203@)
Object.MarkAsNoLongerNeeded(254@)
Object.MarkAsNoLongerNeeded(255@)
Particle.Kill(256@)
Particle.Kill(257@)
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(127)
Streaming.MarkModelAsNoLongerNeeded(344)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(341)
Streaming.MarkModelAsNoLongerNeeded(336)
Streaming.MarkModelAsNoLongerNeeded(366)
Streaming.MarkModelAsNoLongerNeeded(#BODYARMOUR)
Streaming.MarkModelAsNoLongerNeeded(#AB_CARCASS)
Streaming.MarkModelAsNoLongerNeeded(#AB_HOOK)
Streaming.MarkModelAsNoLongerNeeded(#FREEZER_DOOR)
Streaming.MarkModelAsNoLongerNeeded(#SEC_KEYPAD)
Streaming.MarkModelAsNoLongerNeeded(#CARDBOARDBOX2)
Streaming.MarkModelAsNoLongerNeeded(#CJ_MEAT_BAG_1)
Streaming.MarkModelAsNoLongerNeeded(#CJ_MEAT_1)
Streaming.MarkModelAsNoLongerNeeded(#CJ_MEAT_2)
Streaming.MarkModelAsNoLongerNeeded(234@)
$flag_courier_mission_passed = Clock.GetGameTimer()
if 
  227@ == 2
goto_if_false @CASINO6_32523
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Camera.DoFade(1000, Fade.In)

:CASINO6_32523
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 91---------------
// Originally: Freefall

:CASINO9
script_name 'CASINO9'
gosub @CASINO9_47
if 
  has_deatharrest_been_executed 
goto_if_false @CASINO9_38
gosub @CASINO9_11792

:CASINO9_38
gosub @CASINO9_12096
terminate_this_script 

:CASINO9_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
Text.LoadMissionText('CASINO9')
Char.SetCoordinates($stattreadstamina_ctr, 2175.412, 1681.548, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2233.5, 1712.8, 10.0)
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
$1253 = 1
Streaming.SetAreaVisible(2)
Cutscene.Load('CAS_9A1')

:CASINO9_150
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO9_174
wait 0
goto @CASINO9_150

:CASINO9_174
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASINO9_183
if 
  not Cutscene.HasFinished
goto_if_false @CASINO9_207
wait 0
goto @CASINO9_183

:CASINO9_207
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASINO9_222
if 
  Camera.GetFadingStatus
goto_if_false @CASINO9_246
wait 0
goto @CASINO9_222

:CASINO9_246
if 
  not Cutscene.WasSkipped
goto_if_false @CASINO9_366
Cutscene.Load('CAS_9A2')

:CASINO9_270
if 
  not Cutscene.HasLoaded
goto_if_false @CASINO9_294
wait 0
goto @CASINO9_270

:CASINO9_294
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASINO9_303
if 
  not Cutscene.HasFinished
goto_if_false @CASINO9_327
wait 0
goto @CASINO9_303

:CASINO9_327
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASINO9_342
if 
  Camera.GetFadingStatus
goto_if_false @CASINO9_366
wait 0
goto @CASINO9_342

:CASINO9_366
Streaming.SetAreaVisible(0)
Game.SetScriptLimitToGangSize(99)
start_new_script @A_CONT 
Streaming.LoadScene(2175.412, 1681.548, 9.8203)
Streaming.RequestModel(593)
Streaming.RequestModel(521)

:CASINO9_409
if or
  not Streaming.HasModelLoaded(593)
  not Streaming.HasModelLoaded(521)
goto_if_false @CASINO9_441
wait 0
goto @CASINO9_409

:CASINO9_441
Weather.ForceNow(WeatherType.SunnyVegas)
68@ = 0
if 
  68@ == 1
goto_if_false @CASINO9_501
34@ = Car.Create(593, 0.0, 0.0, 0.0)
35@ = Blip.AddForCar(34@)

:CASINO9_501
36@ = 0
Camera.SetBehindPlayer
Game.SwitchAmbientPlanes(False)
37@ = Car.Create(521, 2163.249, 1679.976, 9.8125)
Car.SetHeading(37@, 350.0)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Restart.SetRespawnPointForDurationOfMission(1581.374, 1768.996, 9.8203)
Camera.DoFade(500, Fade.In)
Text.PrintNow('CAS9_08', 8500, 1)
43@ = Blip.AddForCoord(1707.828, 1606.639, 9.055)
50@ = 0
36@ = 0
39@ = 0
47@ = 0
53@ = 1465.0
54@ = 5200.0
55@ = 200.0
59@ = 1465.0
60@ = 5220.0
61@ = 215.0

:CASINO9_710
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CASINO9_736
goto @CASINO9_12027

:CASINO9_736
if 
  47@ == 0
goto_if_false @CASINO9_875
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1707.828, 1606.639, 4.0, 4.0, False)
goto_if_false @CASINO9_868
Blip.Remove(43@)
34@ = Car.Create(593, 1279.625, 1361.605, 9.8203)
Car.SetHeading(34@, 270.0)
35@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(35@, True)
Text.PrintNow('CAS9_09', 6000, 1)
47@ += 1

:CASINO9_868
goto @CASINO9_1739

:CASINO9_875
if 
  not Car.IsDead(34@)
goto_if_false @CASINO9_1711
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @CASINO9_1652
if 
  Blip.DoesExist(35@)
goto_if_false @CASINO9_988
Blip.Remove(35@)
43@ = Blip.AddForCoord(53@, 54@, 55@)
Text.ClearPrints
if 
  36@ == 0
goto_if_false @CASINO9_988
Text.PrintNow('CAS9_50', 8000, 1)
36@ += 1

:CASINO9_988
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(34@)
$heading = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 53@, 54@)
switch_start 39@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @CASINO9_1645 {caseNum1} 0 {caseLabel1} @CASINO9_1082 {caseNum2} 1 {caseLabel2} @CASINO9_1136 {caseNum3} 2 {caseLabel3} @CASINO9_1260 {caseNum4} 3 {caseLabel4} @CASINO9_1377 {caseNum5} -1 {caseLabel5} @CASINO9_1645 {caseNum6} -1 {caseLabel6} @CASINO9_1645 {caseNum7} -1 {caseLabel7} @CASINO9_1645

:CASINO9_1082
if 
  $heading > 4400.0
goto_if_false @CASINO9_1110
goto @CASINO9_1645

:CASINO9_1110
Streaming.RequestModel(519)
Streaming.RequestModel(61)
Streaming.MarkModelAsNoLongerNeeded(521)
Car.MarkAsNoLongerNeeded(37@)
39@ += 1

:CASINO9_1136
if or
  $heading > 600.0
  not Streaming.HasModelLoaded(519)
  not Streaming.HasModelLoaded(61)
goto_if_false @CASINO9_1173
goto @CASINO9_1645

:CASINO9_1173
Blip.Remove(43@)
38@ = Car.Create(519, 53@, 54@, 55@)
Car.SetHeading(38@, 180.0)
Plane.SetUndercarriageUp(38@, True)
Car.FreezePosition(38@, True)
40@ = Char.CreateInsideCar(38@, PedType.Mission1, 61)
43@ = Blip.AddForCar(38@)
Blip.ChangeDisplay(43@, BlipDisplay.BlipOnly)
Blip.ChangeColor(43@, BlipColor.Yellow)
39@ += 1

:CASINO9_1260
if 
  $heading > 300.0
goto_if_false @CASINO9_1288
goto @CASINO9_1645

:CASINO9_1288
set_lvar_float_to_lvar_float 60@ = 54@
60@ += 20.0
set_var_float_to_lvar_float $on_footZ = 60@
$on_footZ -= 1.0
48@ = Checkpoint.Create(CheckpointType.Torus, 59@, 60@, 61@, 59@, $on_footZ, 61@, 3.0)
Text.PrintNow('CAS9_51', 8000, 1)
39@ += 1

:CASINO9_1377
if 
  not Car.IsDead(38@)
goto_if_false @CASINO9_1638
54@ -= 1.0
Car.SetCoordinatesNoOffset(38@, 53@, 54@, 55@)
set_lvar_float_to_lvar_float 60@ = 54@
60@ += 20.0
Checkpoint.SetCoords(48@, 59@, 60@, 61@)
set_var_float_to_lvar_float $in_carX = 61@
$in_carX -= 3.0
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 59@, 60@, $in_carX, 4.0, 4.0, 4.0, False)
goto_if_false @CASINO9_1562
$on_footX = Car.GetHeading(34@)
if and
  240.0 > $on_footX
  $on_footX > 120.0
goto_if_false @CASINO9_1555
goto @CASINO9_1746

:CASINO9_1555
goto @CASINO9_1569

:CASINO9_1562
TIMERA = 0

:CASINO9_1569
if 
  3000.0 >= 54@
goto_if_false @CASINO9_1638
Plane.FlyInDirection(38@, 180.0, 200.0, 200.0)
50@ = 1
set_lvar_text_label 51@s = 'CAS9_52'
goto @CASINO9_11792

:CASINO9_1638
goto @CASINO9_1645

:CASINO9_1645
goto @CASINO9_1704

:CASINO9_1652
if 
  not Blip.DoesExist(35@)
goto_if_false @CASINO9_1704
Text.PrintNow('CAS9_04', 8000, 1)
35@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(35@, True)
Blip.Remove(43@)

:CASINO9_1704
goto @CASINO9_1739

:CASINO9_1711
50@ = 1
set_lvar_text_label 51@s = 'CAS9_F1'
goto @CASINO9_11792

:CASINO9_1739
goto @CASINO9_710

:CASINO9_1746
Camera.DoFade(0, Fade.Out)

:CASINO9_1752
if 
  Camera.GetFadingStatus
goto_if_false @CASINO9_1776
wait 0
goto @CASINO9_1752

:CASINO9_1776
Hud.DisplayZoneNames(False)
72@ = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 16200)
Player.SetControl($statbike_temp, False)
if 
  not Car.IsDead(38@)
goto_if_false @CASINO9_1834
Car.SetHeading(38@, 0.0)
Plane.SetUndercarriageUp(38@, True)

:CASINO9_1834
if 
  not Car.IsDead(34@)
goto_if_false @CASINO9_1960
set_lvar_float_to_lvar_float 56@ = 53@
set_lvar_float_to_lvar_float 57@ = 54@
57@ -= 25.0
set_lvar_float_to_lvar_float 58@ = 55@
58@ += 20.0
Car.SetCoordinates(34@, 56@, 57@, 58@)
Car.SetHeading(34@, 0.0)
Car.FreezePosition(34@, True)
Car.SetHealth(34@, 4000)
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @CASINO9_1960
Char.WarpIntoCar($stattreadstamina_ctr, 34@)

:CASINO9_1960
Checkpoint.Delete(48@)
Streaming.RequestAnimation("MISC")

:CASINO9_1973
if 
  not Streaming.HasAnimationLoaded("MISC")
goto_if_false @CASINO9_2003
wait 0
goto @CASINO9_1973

:CASINO9_2003
62@ = -3.0
63@ = -4.0
64@ = 0.0
65@ = -1.0
66@ = 0.0
67@ = 0.0
if 
  not Car.IsDead(34@)
goto_if_false @CASINO9_2109
Camera.AttachToVehicle(34@, 62@, 63@, 64@, 65@, 66@, 67@, 2.0, SwitchType.JumpCut)

:CASINO9_2109
71@ = 0
Camera.DoFade(400, Fade.In)
Hud.SwitchWidescreen(True)
TIMERA = 0
TIMERB = 0
Player.ClearWantedLevel($statbike_temp)
Game.SetMaxWantedLevel(0)
skip_cutscene_start_internal @CASINO9_2970

:CASINO9_2157
wait 0
if and
  not Car.IsDead(38@)
  not Car.IsDead(34@)
goto_if_false @CASINO9_3841
Camera.Shake(20)
57@ += 1.0
Car.SetCoordinates(34@, 56@, 57@, 58@)
54@ += 1.0
Car.SetCoordinates(38@, 53@, 54@, 55@)
switch_start 71@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @CASINO9_3841 {caseNum1} 0 {caseLabel1} @CASINO9_2297 {caseNum2} 1 {caseLabel2} @CASINO9_2623 {caseNum3} 2 {caseLabel3} @CASINO9_2703 {caseNum4} 3 {caseLabel4} @CASINO9_2757 {caseNum5} 4 {caseLabel5} @CASINO9_2858 {caseNum6} 5 {caseLabel6} @CASINO9_3535 {caseNum7} -1 {caseLabel7} @CASINO9_3841

:CASINO9_2297
if 
  1000 > TIMERB
goto_if_false @CASINO9_2323
goto @CASINO9_3841

:CASINO9_2323
Char.AttachToCar($stattreadstamina_ctr, 34@, 0.0, 0.0, 0.0, 0, 0.0, WeaponType.Unarmed)
Task.PlayAnim($stattreadstamina_ctr, "PLANE_EXIT", "MISC", 1000.0, False, False, False, False, 0)
75@ = 741
90@ = 0.0
76@ = 794
91@ = 0.33
77@ = 847
92@ = 0.71
78@ = 953
93@ = 1.0
79@ = 1006
94@ = 0.87
80@ = 1059
95@ = 0.83
81@ = 1165
96@ = 0.81
82@ = 2118
97@ = 0.81
83@ = 2277
98@ = 0.78
84@ = 3336
99@ = 0.78
85@ = 4000
100@ = 0.78
88@ = 0
101@ = 0.0
set_lvar_int_to_lvar_int 89@ = 34@
71@ += 1

:CASINO9_2623
if 
  1000 > TIMERB
goto_if_false @CASINO9_2649
goto @CASINO9_3841

:CASINO9_2649
if 
  1500 > TIMERB
goto_if_false @CASINO9_2689
gosub @CASINO9_3848
goto @CASINO9_3841
goto @CASINO9_2703

:CASINO9_2689
TIMERA = 0
71@ += 1

:CASINO9_2703
gosub @CASINO9_3848
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @CASINO9_2750
Audio.AttachMissionAudioToCar(MissionAudioSlot.Slot3, 34@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
71@ += 1
goto @CASINO9_2757

:CASINO9_2750
goto @CASINO9_3841

:CASINO9_2757
if 
  5000 > TIMERB
goto_if_false @CASINO9_2851
if 
  -1.4 > 63@
goto_if_false @CASINO9_2837
63@ += 0.1
Camera.AttachToVehicle(34@, 62@, 63@, 64@, 65@, 66@, 67@, 2.0, SwitchType.JumpCut)

:CASINO9_2837
gosub @CASINO9_3848
goto @CASINO9_3841

:CASINO9_2851
71@ += 1

:CASINO9_2858
if 
  62@ > -7.0
goto_if_false @CASINO9_2929
62@ -= 0.1
64@ -= 0.045
Camera.AttachToVehicle(34@, 62@, 63@, 64@, 65@, 66@, 67@, 2.0, SwitchType.JumpCut)

:CASINO9_2929
74@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLANE_EXIT")
if 
  74@ > 0.95
goto_if_false @CASINO9_3521

:CASINO9_2970
skip_cutscene_end 
Camera.DoFade(0, Fade.Out)

:CASINO9_2978
if 
  Camera.GetFadingStatus
goto_if_false @CASINO9_3002
wait 0
goto @CASINO9_2978

:CASINO9_3002
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.DetachFromCar($stattreadstamina_ctr)
Char.FreezePosition($stattreadstamina_ctr, True)

:CASINO9_3019
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLANE_EXIT")
goto_if_false @CASINO9_3058
wait 0
goto @CASINO9_3019

:CASINO9_3058
if 
  not Car.IsDead(38@)
goto_if_false @CASINO9_3106
Char.AttachToCar($stattreadstamina_ctr, 38@, 0.0, 0.0, 0.0, 0, 360.0, WeaponType.Unarmed)

:CASINO9_3106
wait 0
Camera.DoFade(50, Fade.In)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PLANE_HIJACK", "MISC", 1000.0, False, False, False, False, 0)
75@ = 3229
90@ = 0.0
76@ = 3282
91@ = 0.04
77@ = 3335
92@ = 0.09
78@ = 3388
93@ = 0.14
79@ = 3440
94@ = 0.19
80@ = 3493
95@ = 0.22
81@ = 5028
96@ = 0.22
82@ = 5081
97@ = 0.15
83@ = 5134
98@ = 0.08
84@ = 5187
99@ = 0.01
85@ = 5240
100@ = 0.0
88@ = 0
101@ = 0.0
set_lvar_int_to_lvar_int 89@ = 38@
62@ = -3.0
63@ = 6.0
64@ = -0.5
65@ = -2.0
66@ = -8.0
67@ = 1.0
Camera.SetShakeSimulationSimple(1, 20000.0, 3.0)
TIMERA = 0
TIMERB = 0
if 
  not Car.IsDead(34@)
goto_if_false @CASINO9_3490
Car.FreezePosition(34@, False)

:CASINO9_3490
73@ = 0.0
skip_cutscene_start_internal @CASINO9_3653
71@ = 5
goto @CASINO9_3535

:CASINO9_3521
gosub @CASINO9_3848
goto @CASINO9_3841

:CASINO9_3535
if 
  7000 > TIMERB
goto_if_false @CASINO9_3653
if 
  not Car.IsDead(34@)
goto_if_false @CASINO9_3632
73@ -= 3.0
56@ -= 0.3
57@ += 0.3
58@ -= 0.3
Car.SetCoordinates(34@, 56@, 57@, 58@)
Car.SetRoll(34@, 73@)

:CASINO9_3632
gosub @CASINO9_3848
gosub @CASINO9_4153
goto @CASINO9_3841

:CASINO9_3653
skip_cutscene_end 
Camera.DoFade(0, Fade.Out)

:CASINO9_3661
if 
  Camera.GetFadingStatus
goto_if_false @CASINO9_3685
wait 0
goto @CASINO9_3661

:CASINO9_3685
Camera.ResetNewScriptables
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.DetachFromCar($stattreadstamina_ctr)
Char.FreezePosition($stattreadstamina_ctr, True)

:CASINO9_3704
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLANE_HIJACK")
goto_if_false @CASINO9_3745
wait 0
goto @CASINO9_3704

:CASINO9_3745
Char.MarkAsNoLongerNeeded(40@)
Car.MarkAsNoLongerNeeded(34@)
Car.MarkAsNoLongerNeeded(38@)
Streaming.MarkModelAsNoLongerNeeded(61)
Streaming.MarkModelAsNoLongerNeeded(593)
Streaming.MarkModelAsNoLongerNeeded(519)
Streaming.RemoveAnimation("MISC")
Streaming.SetAreaVisible(1)
Char.SetCoordinates($stattreadstamina_ctr, 1.6127, 34.7411, 1199.0)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Char.FreezePosition($stattreadstamina_ctr, False)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
goto @CASINO9_4306

:CASINO9_3841
goto @CASINO9_2157

:CASINO9_3848
if 
  11 > 88@
goto_if_false @CASINO9_4125
if 
  is_int_lvar_greater_than_int_lvar 75@(88@,11i) > TIMERA
goto_if_false @CASINO9_4002
add_float_lvar_to_float_lvar 102@ += 101@
if 
  101@ >= 0.0
goto_if_false @CASINO9_3960
if 
  is_float_lvar_greater_than_float_lvar 102@ > 90@(88@,11f)
goto_if_false @CASINO9_3953
set_lvar_float_to_lvar_float 102@ = 90@(88@,11f)

:CASINO9_3953
goto @CASINO9_3995

:CASINO9_3960
if 
  is_float_lvar_greater_than_float_lvar 90@(88@,11f) > 102@
goto_if_false @CASINO9_3995
set_lvar_float_to_lvar_float 102@ = 90@(88@,11f)

:CASINO9_3995
goto @CASINO9_4125

:CASINO9_4002
cset_lvar_float_to_lvar_int 103@ =# 75@(88@,11i)
set_lvar_float_to_lvar_float 105@ = 90@(88@,11f)
88@ += 1
if 
  88@ > 10
goto_if_false @CASINO9_4053
return 

:CASINO9_4053
cset_lvar_float_to_lvar_int 104@ =# 75@(88@,11i)
set_lvar_float_to_lvar_float 106@ = 90@(88@,11f)
sub_float_lvar_from_float_lvar 104@ -= 103@
sub_float_lvar_from_float_lvar 106@ -= 105@
div_float_lvar_by_float_lvar 106@ /= 104@
set_lvar_float_to_lvar_float 101@ = 106@
mult_float_lvar_by_float_lvar 101@ *= 104@
add_float_lvar_to_float_lvar 102@ += 101@

:CASINO9_4125
if 
  not Car.IsDead(89@)
goto_if_false @CASINO9_4151
Car.OpenDoorABit(89@, CarDoor.LeftFrontDoor, 102@)

:CASINO9_4151
return 

:CASINO9_4153
if 
  not Car.IsDead(38@)
goto_if_false @CASINO9_4304
if 
  107@ == 0
goto_if_false @CASINO9_4304
if 
  -4.0 >= 62@
goto_if_false @CASINO9_4224
107@ = 1
return 
goto @CASINO9_4274

:CASINO9_4224
62@ += -0.02
63@ += 0.02
64@ += -0.01
66@ += 0.23
67@ += -0.02

:CASINO9_4274
Camera.AttachToVehicle(38@, 62@, 63@, 64@, 65@, 66@, 67@, 0.0, SwitchType.JumpCut)

:CASINO9_4304
return 

:CASINO9_4306
72@ = 0
Streaming.RequestModel(124)
Streaming.RequestModel(125)
Streaming.RequestModel(126)
Streaming.RequestModel(127)
Streaming.RequestModel(346)
Streaming.RequestModel(#JET_BAGGAGE_DOOR)
Streaming.RequestModel(#CARDBOARDBOX2)
Streaming.RequestModel(#JET_INTERIOR)

:CASINO9_4349
if or
  not Streaming.HasModelLoaded(124)
  not Streaming.HasModelLoaded(125)
  not Streaming.HasModelLoaded(126)
  not Streaming.HasModelLoaded(127)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(#JET_BAGGAGE_DOOR)
goto_if_false @CASINO9_4397
wait 0
goto @CASINO9_4349

:CASINO9_4397
if or
  not Streaming.HasModelLoaded(#CARDBOARDBOX2)
  not Streaming.HasModelLoaded(#JET_INTERIOR)
goto_if_false @CASINO9_4429
wait 0
goto @CASINO9_4397

:CASINO9_4429
49@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Streaming.LoadSceneInDirection(2.3947, 32.9835, 1198.594, 155.9863)
165@ = 2.9
166@ = 32.4
167@ = 1198.75
163@ = 0
164@ = Object.Create(#CARDBOARDBOX2, 165@, 166@, 167@)
Object.SetAreaVisible(164@, 1)
Object.SetDynamic(164@, False)
Object.SetCollision(164@, False)
Object.SetVisible(164@, False)
Char.AttachToObject($stattreadstamina_ctr, 164@, 0.0, 0.0, 0.5, 2, 85.0, WeaponType.Pistol)
Player.SetHeadingForAttached($statbike_temp, 30.0, 30.0)
Char.FreezePosition($stattreadstamina_ctr, True)
Hud.DisplayRadar(False)
108@ = Char.Create(PedType.Mission1, 124, 2.9739, 28.7207, 1198.594)
Char.SetAreaVisible(108@, 1)
Char.SetHeading(108@, 0.0)
Char.SetHealth(108@, 150)
Char.GiveWeapon(108@, WeaponType.Pistol, 3000)
Char.SetCurrentWeapon(108@, WeaponType.Pistol)
Char.SetDecisionMaker(108@, 49@)
Char.SetNeverTargeted(108@, True)
Task.StayInSamePlace(108@, True)
Task.SitDown(108@, 80000)
Char.SetDropsWeaponsWhenDead(108@, False)
Char.SetShootRate(108@, 90)
Char.SetAccuracy(108@, 0)
132@ = 2
146@ = 197.6
150@ = 214.0
154@ = 1199.851
158@ = 1200.366
109@ = Char.Create(PedType.Mission1, 125, 0.5102, 27.6804, 1198.594)
Char.SetAreaVisible(109@, 1)
Char.SetHeading(109@, 0.0)
Char.SetHealth(109@, 150)
Char.GiveWeapon(109@, WeaponType.Pistol, 3000)
Char.SetCurrentWeapon(109@, WeaponType.Pistol)
Char.SetDecisionMaker(109@, 49@)
Char.SetNeverTargeted(109@, True)
Task.StayInSamePlace(109@, True)
Task.SitDown(109@, 80000)
Char.SetDropsWeaponsWhenDead(109@, False)
Char.SetShootRate(109@, 90)
Char.SetAccuracy(109@, 0)
133@ = 3
147@ = 158.7
151@ = 170.2
155@ = 1199.972
159@ = 1200.34
110@ = Char.Create(PedType.Mission1, 126, 2.8831, 26.4404, 1198.601)
Char.SetAreaVisible(110@, 1)
Char.SetHeading(110@, 0.0)
Char.SetHealth(110@, 150)
Char.GiveWeapon(110@, WeaponType.Pistol, 3000)
Char.SetCurrentWeapon(110@, WeaponType.Pistol)
Char.SetDecisionMaker(110@, 49@)
Char.SetNeverTargeted(110@, True)
Task.StayInSamePlace(110@, True)
Task.SitDown(110@, 80000)
Char.SetDropsWeaponsWhenDead(110@, False)
Char.SetShootRate(110@, 90)
Char.SetAccuracy(110@, 0)
134@ = 0
148@ = 189.4
152@ = 196.9
156@ = 200.1145
160@ = 200.3232
111@ = Char.Create(PedType.Mission1, 127, 0.5068, 25.3824, 1198.601)
Char.SetAreaVisible(111@, 1)
Char.SetHeading(111@, 0.0)
Char.SetHealth(111@, 150)
Char.GiveWeapon(111@, WeaponType.Pistol, 3000)
Char.SetCurrentWeapon(111@, WeaponType.Pistol)
Char.SetDecisionMaker(111@, 49@)
Char.SetNeverTargeted(111@, True)
Task.StayInSamePlace(111@, True)
Task.SitDown(111@, 80000)
Char.SetDropsWeaponsWhenDead(111@, False)
Char.SetShootRate(111@, 90)
Char.SetAccuracy(111@, 0)
135@ = 1
149@ = 167.51
153@ = 174.11
157@ = 1200.148
161@ = 1200.328
set_lvar_text_label 208@s = 'CAS9_AA'
set_lvar_int_to_constant 184@ = 8400
set_lvar_int_to_lvar_int 188@ = 108@
set_lvar_text_label 210@s = 'CAS9_AB'
set_lvar_int_to_constant 185@ = 8401
set_lvar_int_to_lvar_int 189@ = 109@
set_lvar_text_label 212@s = 'CAS9_AC'
set_lvar_int_to_constant 186@ = 8402
set_lvar_int_to_lvar_int 190@ = 110@
set_lvar_text_label 214@s = 'CAS9_AD'
set_lvar_int_to_constant 187@ = 8403
set_lvar_int_to_lvar_int 191@ = 110@
set_lvar_text_label 216@s = 'CAS9_BA'
set_lvar_int_to_constant 192@ = 8404
set_lvar_text_label 218@s = 'CAS9_BB'
set_lvar_int_to_constant 193@ = 8405
set_lvar_text_label 220@s = 'CAS9_BC'
set_lvar_int_to_constant 194@ = 8406
set_lvar_text_label 222@s = 'CAS9_BD'
set_lvar_int_to_constant 195@ = 8407
set_lvar_text_label 224@s = 'CAS9_CA'
set_lvar_int_to_constant 196@ = 8408
set_lvar_text_label 226@s = 'CAS9_CB'
set_lvar_int_to_constant 197@ = 8409
set_lvar_text_label 228@s = 'CAS9_CC'
set_lvar_int_to_constant 198@ = 8410
set_lvar_text_label 230@s = 'CAS9_CD'
set_lvar_int_to_constant 199@ = 8411
Pad.SetPlayerFireButton($statbike_temp, False)
Pad.SetPlayerDuckButton($statbike_temp, False)
162@ = 0
112@ = 0
113@ = 0
114@ = 0
115@ = 0
138@ = 4
139@ = -1
137@ = -1
168@ = Object.CreateNoOffset(#JET_BAGGAGE_DOOR, 0.752, 25.518, 1201.15)
169@ = Object.CreateNoOffset(#JET_BAGGAGE_DOOR, 0.752, 28.024, 1201.15)
170@ = Object.CreateNoOffset(#JET_BAGGAGE_DOOR, 0.752, 30.403, 1201.15)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(True)
TIMERA = 0

:CASINO9_5715
if 
  500 > TIMERA
goto_if_false @CASINO9_5745
wait 0
goto @CASINO9_5715

:CASINO9_5745
Camera.DoFade(500, Fade.In)
Text.PrintHelpForever('CAS9_H2')

:CASINO9_5763
if 
  Camera.GetFadingStatus
goto_if_false @CASINO9_5787
wait 0
goto @CASINO9_5763

:CASINO9_5787
TIMERA = 0

:CASINO9_5794
if 
  2000 > TIMERA
goto_if_false @CASINO9_5824
wait 0
goto @CASINO9_5794

:CASINO9_5824
Pad.SetPlayerFireButton($statbike_temp, True)
Hud.SwitchWidescreen(False)
178@ = 0
172@ = Clock.GetGameTimer()

:CASINO9_5847
wait 0
171@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 173@ = 171@
sub_int_lvar_from_int_lvar 173@ -= 172@
set_lvar_int_to_lvar_int 172@ = 171@
add_int_lvar_to_int_lvar 120@ += 173@
add_int_lvar_to_int_lvar 121@ += 173@
add_int_lvar_to_int_lvar 122@ += 173@
add_int_lvar_to_int_lvar 123@ += 173@
add_int_lvar_to_int_lvar 178@ += 173@
gosub @CASINO9_9013
gosub @CASINO9_9682
if 
  175@ == 0
goto_if_false @CASINO9_6215
if or
  162@ == 0
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @CASINO9_6208
if and
  not Char.IsDead(108@)
  not Char.IsDead(109@)
  not Char.IsDead(110@)
  not Char.IsDead(111@)
goto_if_false @CASINO9_6208
Char.ClearTasks(108@)
Task.GoToCoordWhileShooting(108@, 3.0228, 29.7474, 1198.594, 6, 20.0, 0.5, $stattreadstamina_ctr)
112@ = -1
Char.ClearTasks(109@)
Task.GoToCoordWhileShooting(109@, 0.739, 28.6978, 1198.594, 6, 20.0, 0.5, $stattreadstamina_ctr)
113@ = -1
Char.ClearTasks(110@)
Task.GoToCoordWhileShooting(110@, 2.9224, 27.2966, 1198.601, 6, 20.0, 0.5, $stattreadstamina_ctr)
114@ = -1
Char.ClearTasks(111@)
Task.GoToCoordWhileShooting(111@, 0.5596, 26.2475, 1198.601, 6, 20.0, 0.5, $stattreadstamina_ctr)
115@ = -1
175@ = 1

:CASINO9_6208
goto @CASINO9_7321

:CASINO9_6215
if 
  181@ <> 2
goto_if_false @CASINO9_6240
gosub @CASINO9_9914

:CASINO9_6240
if 
  138@ <> 0
goto_if_false @CASINO9_7314
174@ = Math.RandomIntInRange(0, 24)
switch_start 174@ {numCases} 24 {hasDefaultCase} 0 {defaultLabel} @CASINO9_7300 {caseNum1} 0 {caseLabel1} @CASINO9_6460 {caseNum2} 1 {caseLabel2} @CASINO9_6495 {caseNum3} 2 {caseLabel3} @CASINO9_6530 {caseNum4} 3 {caseLabel4} @CASINO9_6565 {caseNum5} 4 {caseLabel5} @CASINO9_6600 {caseNum6} 5 {caseLabel6} @CASINO9_6635 {caseNum7} 6 {caseLabel7} @CASINO9_6670
switch_continued 7 {caseLabel1} @CASINO9_6705 {caseNum2} 8 {caseLabel2} @CASINO9_6740 {caseNum3} 9 {caseLabel3} @CASINO9_6775 {caseNum4} 10 {caseLabel4} @CASINO9_6810 {caseNum5} 11 {caseLabel5} @CASINO9_6845 {caseNum6} 12 {caseLabel6} @CASINO9_6880 {caseNum7} 13 {caseLabel7} @CASINO9_6915 {caseNum8} 14 {caseLabel8} @CASINO9_6950 {caseNum9} 15 {caseLabel9} @CASINO9_6985
switch_continued 16 {caseLabel1} @CASINO9_7020 {caseNum2} 17 {caseLabel2} @CASINO9_7055 {caseNum3} 18 {caseLabel3} @CASINO9_7090 {caseNum4} 19 {caseLabel4} @CASINO9_7125 {caseNum5} 20 {caseLabel5} @CASINO9_7160 {caseNum6} 21 {caseLabel6} @CASINO9_7195 {caseNum7} 22 {caseLabel7} @CASINO9_7230 {caseNum8} 23 {caseLabel8} @CASINO9_7265 {caseNum9} -1 {caseLabel9} @CASINO9_7300

:CASINO9_6460
141@ = 0
142@ = 1
143@ = 2
144@ = 3
goto @CASINO9_7300

:CASINO9_6495
141@ = 0
142@ = 1
143@ = 3
144@ = 2
goto @CASINO9_7300

:CASINO9_6530
141@ = 0
142@ = 2
143@ = 1
144@ = 3
goto @CASINO9_7300

:CASINO9_6565
141@ = 0
142@ = 2
143@ = 3
144@ = 1
goto @CASINO9_7300

:CASINO9_6600
141@ = 0
142@ = 3
143@ = 1
144@ = 2
goto @CASINO9_7300

:CASINO9_6635
141@ = 0
142@ = 3
143@ = 2
144@ = 1
goto @CASINO9_7300

:CASINO9_6670
141@ = 1
142@ = 0
143@ = 2
144@ = 3
goto @CASINO9_7300

:CASINO9_6705
141@ = 1
142@ = 0
143@ = 3
144@ = 2
goto @CASINO9_7300

:CASINO9_6740
141@ = 1
142@ = 2
143@ = 0
144@ = 3
goto @CASINO9_7300

:CASINO9_6775
141@ = 1
142@ = 2
143@ = 3
144@ = 0
goto @CASINO9_7300

:CASINO9_6810
141@ = 1
142@ = 3
143@ = 0
144@ = 2
goto @CASINO9_7300

:CASINO9_6845
141@ = 1
142@ = 3
143@ = 2
144@ = 0
goto @CASINO9_7300

:CASINO9_6880
141@ = 2
142@ = 0
143@ = 1
144@ = 3
goto @CASINO9_7300

:CASINO9_6915
141@ = 2
142@ = 0
143@ = 3
144@ = 1
goto @CASINO9_7300

:CASINO9_6950
141@ = 2
142@ = 1
143@ = 0
144@ = 3
goto @CASINO9_7300

:CASINO9_6985
141@ = 2
142@ = 1
143@ = 3
144@ = 0
goto @CASINO9_7300

:CASINO9_7020
141@ = 2
142@ = 3
143@ = 0
144@ = 1
goto @CASINO9_7300

:CASINO9_7055
141@ = 2
142@ = 3
143@ = 1
144@ = 0
goto @CASINO9_7300

:CASINO9_7090
141@ = 3
142@ = 0
143@ = 1
144@ = 2
goto @CASINO9_7300

:CASINO9_7125
141@ = 3
142@ = 0
143@ = 2
144@ = 1
goto @CASINO9_7300

:CASINO9_7160
141@ = 3
142@ = 1
143@ = 0
144@ = 2
goto @CASINO9_7300

:CASINO9_7195
141@ = 3
142@ = 1
143@ = 2
144@ = 0
goto @CASINO9_7300

:CASINO9_7230
141@ = 3
142@ = 2
143@ = 0
144@ = 1
goto @CASINO9_7300

:CASINO9_7265
141@ = 3
142@ = 2
143@ = 1
144@ = 0
goto @CASINO9_7300

:CASINO9_7300
gosub @CASINO9_7328
goto @CASINO9_7321

:CASINO9_7314
goto @CASINO9_10129

:CASINO9_7321
goto @CASINO9_5847

:CASINO9_7328
41@ = 0

:CASINO9_7335
if 
  4 > 41@
goto_if_false @CASINO9_9011
set_lvar_int_to_lvar_int 145@ = 141@(41@,4i)
if 
  not Char.IsDead(108@(145@,4i))
goto_if_false @CASINO9_8923
switch_start 112@(145@,4i) {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @CASINO9_8916 {caseNum1} -1 {caseLabel1} @CASINO9_7452 {caseNum2} 0 {caseLabel2} @CASINO9_7529 {caseNum3} 1 {caseLabel3} @CASINO9_7907 {caseNum4} 2 {caseLabel4} @CASINO9_8497 {caseNum5} 3 {caseLabel5} @CASINO9_8793 {caseNum6} 4 {caseLabel6} @CASINO9_8864 {caseNum7} -1 {caseLabel7} @CASINO9_8916

:CASINO9_7452
46@ = Char.GetScriptTaskStatus(108@(145@,4i), 1591)
if 
  is_int_lvar_equal_to_constant 46@ == 7
goto_if_false @CASINO9_7529
Char.FreezePosition(108@(145@,4i), True)
Task.ToggleDuck(108@(145@,4i), True)
Char.SetAccuracy(108@(145@,4i), 65)
112@(145@,4i) = 0

:CASINO9_7529
if 
  137@ == -1
goto_if_false @CASINO9_7900
46@ = Char.GetScriptTaskStatus(108@(145@,4i), 1259)
if 
  is_int_lvar_equal_to_constant 46@ == 7
goto_if_false @CASINO9_7705
set_lvar_int_to_lvar_int 42@ = 132@(145@,4i)
if 
  not is_int_lvar_equal_to_int_lvar 139@ == 42@
goto_if_false @CASINO9_7626
set_lvar_int_to_lvar_int 137@ = 145@
goto @CASINO9_7705

:CASINO9_7626
if 
  138@ == 1
goto_if_false @CASINO9_7659
set_lvar_int_to_lvar_int 137@ = 145@
goto @CASINO9_7705

:CASINO9_7659
if 
  138@ == 2
goto_if_false @CASINO9_7705
if 
  not Char.IsDead(108@(42@,4i))
goto_if_false @CASINO9_7705
set_lvar_int_to_lvar_int 137@ = 145@

:CASINO9_7705
if 
  is_int_lvar_equal_to_int_lvar 137@ == 145@
goto_if_false @CASINO9_7900
112@(145@,4i) = 4
116@(145@,4i) = 0
120@(145@,4i) = 0
140@ = Char.GetHealth(108@(145@,4i))
set_lvar_int_to_lvar_int 124@(145@,4i) = 140@
124@(145@,4i) *= 15
if 
  2000 > 124@(145@,4i)
goto_if_false @CASINO9_7834
124@(145@,4i) = 2000
goto @CASINO9_7869

:CASINO9_7834
if 
  124@(145@,4i) > 5000
goto_if_false @CASINO9_7869
124@(145@,4i) = 5000

:CASINO9_7869
Char.ClearTasks(108@(145@,4i))
Task.ToggleDuck(108@(145@,4i), False)
Char.SetAllowedToDuck(108@(145@,4i), False)

:CASINO9_7900
goto @CASINO9_8916

:CASINO9_7907
if 
  is_int_lvar_equal_to_int_lvar 137@ == 145@
goto_if_false @CASINO9_8490
if 
  138@ <> 1
goto_if_false @CASINO9_8149
if 
  is_int_lvar_greater_or_equal_to_int_lvar 120@(145@,4i) >= 124@(145@,4i)
goto_if_false @CASINO9_8019
112@(145@,4i) = 2
120@(145@,4i) = 0
124@(145@,4i) = 500
goto @CASINO9_8916
goto @CASINO9_8149

:CASINO9_8019
$on_footX = Char.GetHeading($stattreadstamina_ctr)
if and
  is_float_var_greater_or_equal_to_float_lvar $on_footX >= 146@(145@,4f)
  is_float_lvar_greater_or_equal_to_float_var 150@(145@,4f) >= $on_footX
goto_if_false @CASINO9_8149
$on_footY, $on_footZ, $in_carX = Camera.GetActivePointAt()
if and
  is_float_var_greater_or_equal_to_float_lvar $in_carX >= 154@(145@,4f)
  is_float_lvar_greater_or_equal_to_float_var 158@(145@,4f) >= $in_carX
goto_if_false @CASINO9_8149
112@(145@,4i) = 2
120@(145@,4i) = 0
124@(145@,4i) = 700
goto @CASINO9_8916

:CASINO9_8149
if 
  162@ == 0
goto_if_false @CASINO9_8325
if 
  116@(145@,4i) <> 1
goto_if_false @CASINO9_8221
116@(145@,4i) = 1
Char.ClearTasks(108@(145@,4i))
Task.KillCharOnFoot(108@(145@,4i), $stattreadstamina_ctr)

:CASINO9_8221
if and
  183@ == 1
  200@(145@,4i) == 0
goto_if_false @CASINO9_8318
set_var_int_to_lvar_int $1280 = 192@(145@,4i)
set_var_text_label s$SLOT_status = 216@(145@,4s)
start_new_script @A_ALAP 2 100 108@(145@,4i) 
183@ = 0
TIMERB = 0
200@(145@,4i) += 1

:CASINO9_8318
goto @CASINO9_8490

:CASINO9_8325
if and
  183@ == 2
  204@(145@,4i) == 0
goto_if_false @CASINO9_8422
set_var_int_to_lvar_int $1280 = 196@(145@,4i)
set_var_text_label s$SLOT_status = 224@(145@,4s)
start_new_script @A_ALAP 2 100 108@(145@,4i) 
183@ = 0
TIMERB = 0
204@(145@,4i) += 1

:CASINO9_8422
if 
  116@(145@,4i) <> 2
goto_if_false @CASINO9_8490
116@(145@,4i) = 2
Char.ClearTasks(108@(145@,4i))
Task.ShootAtCoord(108@(145@,4i), 1.8121, 37.2617, 1200.396, -1)

:CASINO9_8490
goto @CASINO9_8916

:CASINO9_8497
if 
  is_int_lvar_greater_or_equal_to_int_lvar 120@(145@,4i) >= 124@(145@,4i)
goto_if_false @CASINO9_8639
112@(145@,4i) = 0
Char.ClearTasks(108@(145@,4i))
Char.SetAllowedToDuck(108@(145@,4i), True)
46@ = Char.GetScriptTaskStatus(108@(145@,4i), 1259)
if 
  is_int_lvar_equal_to_constant 46@ == 7
goto_if_false @CASINO9_8606
Task.ToggleDuck(108@(145@,4i), True)
goto @CASINO9_8617

:CASINO9_8606
112@(145@,4i) = 3

:CASINO9_8617
set_lvar_int_to_lvar_int 139@ = 145@
137@ = -1
goto @CASINO9_8786

:CASINO9_8639
if 
  162@ == 0
goto_if_false @CASINO9_8718
if 
  116@(145@,4i) <> 1
goto_if_false @CASINO9_8711
116@(145@,4i) = 1
Char.ClearTasks(108@(145@,4i))
Task.KillCharOnFoot(108@(145@,4i), $stattreadstamina_ctr)

:CASINO9_8711
goto @CASINO9_8786

:CASINO9_8718
if 
  116@(145@,4i) <> 2
goto_if_false @CASINO9_8786
116@(145@,4i) = 2
Char.ClearTasks(108@(145@,4i))
Task.ShootAtCoord(108@(145@,4i), 1.8121, 37.2617, 1200.396, -1)

:CASINO9_8786
goto @CASINO9_8916

:CASINO9_8793
46@ = Char.GetScriptTaskStatus(108@(145@,4i), 1259)
if 
  is_int_lvar_equal_to_constant 46@ == 7
goto_if_false @CASINO9_8857
Char.ClearTasks(108@(145@,4i))
Task.ToggleDuck(108@(145@,4i), True)
112@(145@,4i) = 0

:CASINO9_8857
goto @CASINO9_8916

:CASINO9_8864
if 
  120@(145@,4i) >= 200
goto_if_false @CASINO9_8909
120@(145@,4i) = 0
112@(145@,4i) = 1

:CASINO9_8909
goto @CASINO9_8916

:CASINO9_8916
goto @CASINO9_8997

:CASINO9_8923
if 
  112@(145@,4i) <> -2
goto_if_false @CASINO9_8997
112@(145@,4i) = -2
138@ -= 1
if 
  is_int_lvar_equal_to_int_lvar 137@ == 145@
goto_if_false @CASINO9_8997
set_lvar_int_to_lvar_int 139@ = 145@
137@ = -1

:CASINO9_8997
41@ += 1
goto @CASINO9_7335

:CASINO9_9011
return 

:CASINO9_9013
165@, 166@, 167@ = Object.GetCoordinates(164@)
if or
  165@ > 2.6
  0.2 > 165@
goto_if_false @CASINO9_9148
if 
  162@ == 0
goto_if_false @CASINO9_9097
162@ = 1
TIMERB = 0
goto @CASINO9_9141

:CASINO9_9097
if 
  TIMERB > 9000
goto_if_false @CASINO9_9141
if 
  181@ == 2
goto_if_false @CASINO9_9141
183@ = 2

:CASINO9_9141
goto @CASINO9_9231

:CASINO9_9148
if 
  162@ == 1
goto_if_false @CASINO9_9187
162@ = 0
TIMERB = 0
goto @CASINO9_9231

:CASINO9_9187
if 
  TIMERB > 9000
goto_if_false @CASINO9_9231
if 
  181@ == 2
goto_if_false @CASINO9_9231
183@ = 1

:CASINO9_9231
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.RightStickX)
  Pad.IsButtonPressed(PadId.Pad1, Button.RightStickY)
goto_if_false @CASINO9_9268
180@ = 1
goto @CASINO9_9275

:CASINO9_9268
180@ = 0

:CASINO9_9275
if and
  not Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder2)
  not Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder2)
goto_if_false @CASINO9_9381
  Object.Slide(164@, 1.7, 166@, 167@, 0.18, 0.0, 0.0, False)
if and
  165@ <> 1.7
  180@ == 0
goto_if_false @CASINO9_9374
Player.SetHeadingForAttached($statbike_temp, 90.0, 9.0)

:CASINO9_9374
goto @CASINO9_9680

:CASINO9_9381
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder2)
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder2)
goto_if_false @CASINO9_9487
  Object.Slide(164@, 1.7, 166@, 167@, 0.18, 0.0, 0.0, False)
if and
  165@ <> 1.7
  180@ == 0
goto_if_false @CASINO9_9480
Player.SetHeadingForAttached($statbike_temp, 90.0, 9.0)

:CASINO9_9480
goto @CASINO9_9680

:CASINO9_9487
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder2)
goto_if_false @CASINO9_9587
  Object.Slide(164@, 2.9, 166@, 167@, 0.18, 0.0, 0.0, False)
if and
  2.9 > 165@
  180@ == 0
goto_if_false @CASINO9_9580
Player.SetHeadingForAttached($statbike_temp, 30.0, 9.0)

:CASINO9_9580
goto @CASINO9_9680

:CASINO9_9587
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder2)
goto_if_false @CASINO9_9680
  Object.Slide(164@, 0.5, 166@, 167@, 0.18, 0.0, 0.0, False)
if and
  165@ > 0.5
  180@ == 0
goto_if_false @CASINO9_9680
Player.SetHeadingForAttached($statbike_temp, 150.0, 9.0)

:CASINO9_9680
return 

:CASINO9_9682
switch_start 179@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @CASINO9_9912 {caseNum1} 0 {caseLabel1} @CASINO9_9745 {caseNum2} 1 {caseLabel2} @CASINO9_9787 {caseNum3} 2 {caseLabel3} @CASINO9_9870 {caseNum4} -1 {caseLabel4} @CASINO9_9912 {caseNum5} -1 {caseLabel5} @CASINO9_9912 {caseNum6} -1 {caseLabel6} @CASINO9_9912 {caseNum7} -1 {caseLabel7} @CASINO9_9912

:CASINO9_9745
if 
  178@ >= 6000
goto_if_false @CASINO9_9780
Text.ClearHelp
179@ += 1
178@ = 0

:CASINO9_9780
goto @CASINO9_9912

:CASINO9_9787
if 
  162@ == 0
goto_if_false @CASINO9_9856
if 
  178@ > 20000
goto_if_false @CASINO9_9849
Text.PrintHelpForever('CAS9_H2')
179@ += 1
178@ = 0

:CASINO9_9849
goto @CASINO9_9863

:CASINO9_9856
178@ = 0

:CASINO9_9863
goto @CASINO9_9912

:CASINO9_9870
if 
  178@ > 6000
goto_if_false @CASINO9_9905
Text.ClearHelp
179@ -= 1
178@ = 0

:CASINO9_9905
goto @CASINO9_9912

:CASINO9_9912
return 

:CASINO9_9914
switch_start 181@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @CASINO9_10127 {caseNum1} 0 {caseLabel1} @CASINO9_9977 {caseNum2} 1 {caseLabel2} @CASINO9_10080 {caseNum3} -1 {caseLabel3} @CASINO9_10127 {caseNum4} -1 {caseLabel4} @CASINO9_10127 {caseNum5} -1 {caseLabel5} @CASINO9_10127 {caseNum6} -1 {caseLabel6} @CASINO9_10127 {caseNum7} -1 {caseLabel7} @CASINO9_10127

:CASINO9_9977
if 
  4 > 182@
goto_if_false @CASINO9_10059
set_var_int_to_lvar_int $1280 = 184@(182@,4i)
set_var_text_label s$SLOT_status = 208@(182@,4s)
start_new_script @A_ALAP 2 100 188@(182@,4i) 
182@ += 1
181@ += 1
goto @CASINO9_10080

:CASINO9_10059
TIMERB = 0
181@ = 2
goto @CASINO9_10127

:CASINO9_10080
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @CASINO9_10120
181@ -= 1
$cash($height_int_hj,2i) = -4

:CASINO9_10120
goto @CASINO9_10127

:CASINO9_10127
return 

:CASINO9_10129
if 
  0 <= $cash[0]
goto_if_false @CASINO9_10154
$cash[0] = -2

:CASINO9_10154
if 
  0 <= $cash[0]
goto_if_false @CASINO9_10179
$cash[1] = -2

:CASINO9_10179
Text.ClearPrints
Text.ClearHelp
Streaming.RequestModel(61)

:CASINO9_10187
if 
  not Streaming.HasModelLoaded(61)
goto_if_false @CASINO9_10213
wait 0
goto @CASINO9_10187

:CASINO9_10213
TIMERA = 0

:CASINO9_10220
if 
  1000 > TIMERA
goto_if_false @CASINO9_10250
wait 0
goto @CASINO9_10220

:CASINO9_10250
Camera.DoFade(500, Fade.Out)

:CASINO9_10257
if 
  Camera.GetFadingStatus
goto_if_false @CASINO9_10281
wait 0
goto @CASINO9_10257

:CASINO9_10281
Char.DetachFromCar($stattreadstamina_ctr)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Char.FreezePosition($stattreadstamina_ctr, False)
Camera.SetFixedPosition(2.7271, 24.965, 1201.535, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2.422, 25.7162, 1200.95, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 1.8227, 31.0635, 1198.609)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Object.SetCoordinates(164@, 1.7, 26.8, 1198.75)
44@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StandStill(-1, 1000)
Task.GoStraightToCoord(-1, 1.7221, 26.7679, 1198.602, MoveState.Walk, -1)
Sequence.Close(44@)
Char.PerformSequence($stattreadstamina_ctr, 44@)
Sequence.Clear(44@)
Camera.DoFade(500, Fade.In)
TIMERA = 0

:CASINO9_10478
if 
  3000 > TIMERA
goto_if_false @CASINO9_10508
wait 0
goto @CASINO9_10478

:CASINO9_10508
40@ = Char.Create(PedType.Mission1, 61, 1.881, 34.9202, 1198.602)
Char.SetHeading(40@, 180.0)
Char.GiveWeapon(40@, WeaponType.Pistol, 3000)
Char.SetCurrentWeapon(40@, WeaponType.Pistol)
Char.SetDropsWeaponsWhenDead(40@, False)
Char.SetShootRate(40@, 70)
Char.SetAccuracy(40@, 65)
Char.SetDecisionMaker(40@, 49@)
Char.SetNeverTargeted(40@, True)
Task.StayInSamePlace(40@, True)
Task.GoToCoordAnyMeans(40@, 1.7462, 32.3896, 1198.602, 4, -1)
TIMERA = 0

:CASINO9_10633
if 
  3000 > TIMERA
goto_if_false @CASINO9_10663
wait 0
goto @CASINO9_10633

:CASINO9_10663
Camera.DoFade(500, Fade.Out)

:CASINO9_10670
if 
  Camera.GetFadingStatus
goto_if_false @CASINO9_10694
wait 0
goto @CASINO9_10670

:CASINO9_10694
Camera.Restore
Task.ToggleDuck($stattreadstamina_ctr, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.AttachToObject($stattreadstamina_ctr, 164@, 0.0, 0.0, 0.5, 0, 85.0, WeaponType.Pistol)
Player.SetHeadingForAttached($statbike_temp, 270.0, 270.0)
Char.FreezePosition($stattreadstamina_ctr, True)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.DoFade(0, Fade.In)
232@ = 0
set_var_int_to_constant $1280 = 8412
set_var_text_label s$SLOT_status = 'CAS9_DA'
start_new_script @A_ALAP 2 100 40@ 
if 
  not Char.IsDead(40@)
goto_if_false @CASINO9_10847
Task.KillCharOnFoot(40@, $stattreadstamina_ctr)

:CASINO9_10847
wait 0
if 
  Char.IsDead(40@)
goto_if_false @CASINO9_10874
goto @CASINO9_10881

:CASINO9_10874
goto @CASINO9_10847

:CASINO9_10881
Streaming.RequestModel(519)

:CASINO9_10886
if 
  not Streaming.HasModelLoaded(519)
goto_if_false @CASINO9_10913
wait 0
goto @CASINO9_10886

:CASINO9_10913
TIMERA = 0

:CASINO9_10920
if 
  1000 > TIMERA
goto_if_false @CASINO9_10950
wait 0
goto @CASINO9_10920

:CASINO9_10950
Camera.DoFade(500, Fade.Out)

:CASINO9_10957
if 
  Camera.GetFadingStatus
goto_if_false @CASINO9_10981
wait 0
goto @CASINO9_10957

:CASINO9_10981
Char.FreezePosition($stattreadstamina_ctr, False)
Char.DetachFromCar($stattreadstamina_ctr)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Hud.DisplayRadar(True)
Camera.SetFixedPosition(3.0968, 36.596, 1200.369, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2.4708, 35.9141, 1199.991, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 1.7462, 32.3896, 1198.602)
Char.SetHeading($stattreadstamina_ctr, 0.0)
44@ = Sequence.Open()
Task.StandStill(-1, 550)
Task.GoToCoordAnyMeans(-1, 1.7037, 34.9246, 1198.602, 4, -1)
Sequence.Close(44@)
Char.PerformSequence($stattreadstamina_ctr, 44@)
Sequence.Clear(44@)
Camera.DoFade(500, Fade.In)
TIMERA = 0

:CASINO9_11156
if 
  2500 > TIMERA
goto_if_false @CASINO9_11186
wait 0
goto @CASINO9_11156

:CASINO9_11186
Camera.DoFade(500, Fade.Out)

:CASINO9_11193
if 
  Camera.GetFadingStatus
goto_if_false @CASINO9_11217
wait 0
goto @CASINO9_11193

:CASINO9_11217
Char.MarkAsNoLongerNeeded(108@)
Char.MarkAsNoLongerNeeded(109@)
Char.MarkAsNoLongerNeeded(110@)
Char.MarkAsNoLongerNeeded(111@)
Char.MarkAsNoLongerNeeded(40@)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(127)
Streaming.MarkModelAsNoLongerNeeded(61)
Streaming.MarkModelAsNoLongerNeeded(#JET_INTERIOR)
Object.Delete(164@)
Object.Delete(168@)
Object.Delete(169@)
Object.Delete(170@)
Streaming.MarkModelAsNoLongerNeeded(#JET_BAGGAGE_DOOR)
Streaming.MarkModelAsNoLongerNeeded(#CARDBOARDBOX2)
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.LoadScene(1405.0, 6000.0, 210.0)
Streaming.RequestCollision(1405.0, 6000.0)
38@ = Car.Create(519, 1405.0, 6000.0, 210.0)
Car.SetHeading(38@, 210.0)
Car.SetAreaVisible(38@, 0)
Char.WarpIntoCar($stattreadstamina_ctr, 38@)
Car.SetForwardSpeed(38@, 45.0)
Plane.SetUndercarriageUp(38@, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Hud.DisplayZoneNames(True)
Camera.DoFade(100, Fade.In)
43@ = Blip.AddForCoord(1476.219, 1463.623, 9.8203)
233@ = 1
234@ = 1
Game.SetMaxWantedLevel(6)
Text.PrintNow('CAS9_41', 8000, 1)

:CASINO9_11481
wait 0
if 
  not Car.IsDead(38@)
goto_if_false @CASINO9_11757
if 
  Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @CASINO9_11595
if 
  233@ == 0
goto_if_false @CASINO9_11588
Text.ClearPrints
Text.PrintNow('CAS9_41', 8000, 1)
Blip.Remove(43@)
43@ = Blip.AddForCoord(1476.219, 1463.623, 9.8203)
233@ = 1

:CASINO9_11588
goto @CASINO9_11658

:CASINO9_11595
if 
  233@ == 1
goto_if_false @CASINO9_11658
Text.ClearPrints
Text.PrintNow('IN_VEH', 8000, 1)
Blip.Remove(43@)
43@ = Blip.AddForCar(38@)
Blip.SetAsFriendly(43@, True)
233@ = 0

:CASINO9_11658
if and
  Car.IsStoppedInArea3D(38@, 1636.319, 1144.478, 7.0, 1261.411, 1780.672, 14.0, False)
  Char.IsInArea3D($stattreadstamina_ctr, 1636.319, 1144.478, 7.0, 1261.411, 1780.672, 14.0, False)
goto_if_false @CASINO9_11750
goto @CASINO9_12027

:CASINO9_11750
goto @CASINO9_11785

:CASINO9_11757
50@ = 1
set_lvar_text_label 51@s = 'CAS9_F1'
goto @CASINO9_11792

:CASINO9_11785
goto @CASINO9_11481

:CASINO9_11792
Char.DetachFromCar($stattreadstamina_ctr)
Char.FreezePosition($stattreadstamina_ctr, False)
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  50@ == 1
goto_if_false @CASINO9_11848
Text.PrintNow(51@s, 6000, 1)

:CASINO9_11848
236@ = 0
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASINO9_11909
235@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsInWater(235@)
goto_if_false @CASINO9_11902
236@ = 1

:CASINO9_11902
goto @CASINO9_11985

:CASINO9_11909
if 
  not Player.IsUsingJetpack($statbike_temp)
goto_if_false @CASINO9_11985
if 
  Char.IsInWater($stattreadstamina_ctr)
goto_if_false @CASINO9_11955
236@ = 1
goto @CASINO9_11985

:CASINO9_11955
if and
  Char.IsInAir($stattreadstamina_ctr)
  0 >= $flag_returned_shoehorses
goto_if_false @CASINO9_11985
236@ = 1

:CASINO9_11985
if 
  236@ == 1
goto_if_false @CASINO9_12025
Skip.SetUpAfterMission(2097.009, 1728.285, 9.8203, 169.1748)

:CASINO9_12025
return 

:CASINO9_12027
$desertX += 1
Stat.RegisterMissionPassed('CASINO9')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSS', 15000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 15000)
Stat.AwardPlayerMissionRespect(30)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Blip.Remove($desert_blip_icon)
return 

:CASINO9_12096
if 
  72@ == 1
goto_if_false @CASINO9_12121
Char.DetachFromCar($stattreadstamina_ctr)
Camera.RestoreJumpcut

:CASINO9_12121
Hud.DisplayZoneNames(True)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CASINO9_12152
Player.SetGroupRecruitment($statbike_temp, True)
Game.SetScriptLimitToGangSize(99)

:CASINO9_12152
start_new_script @A_TERM 
Streaming.RemoveAnimation("MISC")
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(127)
Streaming.MarkModelAsNoLongerNeeded(61)
Streaming.MarkModelAsNoLongerNeeded(521)
Streaming.MarkModelAsNoLongerNeeded(593)
Streaming.MarkModelAsNoLongerNeeded(519)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(#SMLPLANE_DOOR)
Streaming.MarkModelAsNoLongerNeeded(#JET_DOOR)
Streaming.MarkModelAsNoLongerNeeded(#JET_BAGGAGE_DOOR)
Streaming.MarkModelAsNoLongerNeeded(#CARDBOARDBOX2)
Streaming.MarkModelAsNoLongerNeeded(#JET_INTERIOR)
Char.MarkAsNoLongerNeeded(108@)
Char.MarkAsNoLongerNeeded(109@)
Char.MarkAsNoLongerNeeded(110@)
Char.MarkAsNoLongerNeeded(111@)
Char.MarkAsNoLongerNeeded(40@)
Car.MarkAsNoLongerNeeded(34@)
Car.MarkAsNoLongerNeeded(38@)
Object.MarkAsNoLongerNeeded(168@)
Object.MarkAsNoLongerNeeded(169@)
Object.MarkAsNoLongerNeeded(170@)
Object.MarkAsNoLongerNeeded(164@)
Game.SetMaxWantedLevel(6)
Game.SwitchAmbientPlanes(True)
Blip.Remove(35@)
Blip.Remove(43@)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 92---------------
// Originally: Saint Mark's Bistro

:CASIN10
script_name 'CASIN10'
gosub @CASIN10_294
if 
  has_deatharrest_been_executed 
goto_if_false @CASIN10_38
gosub @CASIN10_15190

:CASIN10_38
gosub @CASIN10_15491
terminate_this_script 

:CASIN10_47
switch_start 134@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @CASIN10_292 {caseNum1} 0 {caseLabel1} @CASIN10_110 {caseNum2} 1 {caseLabel2} @CASIN10_212 {caseNum3} -1 {caseLabel3} @CASIN10_292 {caseNum4} -1 {caseLabel4} @CASIN10_292 {caseNum5} -1 {caseLabel5} @CASIN10_292 {caseNum6} -1 {caseLabel6} @CASIN10_292 {caseNum7} -1 {caseLabel7} @CASIN10_292

:CASIN10_110
set_var_text_label s$7766[0] = 'CAS11BA'
set_var_text_label s$7766[1] = 'CAS11BB'
set_var_text_label s$7766[2] = 'CAS11BC'
set_var_text_label s$7766[3] = 'CAS11CA'
set_lvar_int_to_constant 135@ = 7204
set_lvar_int_to_constant 136@ = 7205
set_lvar_int_to_constant 137@ = 7206
set_lvar_int_to_constant 138@ = 7207
$1426 = 3
goto @CASIN10_292

:CASIN10_212
set_var_text_label s$7766[0] = 'CAS11GA'
set_var_text_label s$7766[1] = 'CAS11GB'
set_var_text_label s$7766[2] = 'CAS11GC'
set_lvar_int_to_constant 135@ = 7218
set_lvar_int_to_constant 136@ = 7219
set_lvar_int_to_constant 137@ = 7220
$1426 = 2
goto @CASIN10_292

:CASIN10_292
return 

:CASIN10_294
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
36@ = 0
43@ = 0
42@ = 0
44@ = 0
45@ = 0
46@ = 1000
48@ = 0
49@ = 0
51@ = 0
52@ = 0
54@ = 0
55@ = 0
57@ = 0
58@ = 0
60@ = 0
61@ = 0
63@ = 0
64@ = 0
66@ = 0
68@ = 0
70@ = 0
72@ = 0
99@ = 0.0
83@ = 0
83@ = 0
88@ = 0
89@ = 0
91@ = 0
92@ = 0
94@ = 0
95@ = 0
114@ = 0
115@ = 0
116@ = 0
117@ = 0
118@ = 0
119@ = 0
127@ = 0
128@ = 0
129@ = 0
76@ = 0
74@ = 0
80@ = 0
78@ = 0
82@ = 0
85@ = 0
152@ = 0
153@ = 0
155@ = 0
157@ = 0
154@ = 0
156@ = 0
158@ = 0
159@ = 0
Text.LoadMissionText('CASIN10')
wait 0
World.ClearArea(2163.589, 1682.247, 9.86, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2163.589, 1682.247, 9.86)
Char.SetHeading($stattreadstamina_ctr, 80.0)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
$1253 = 1
Streaming.SetAreaVisible(2)
Cutscene.Load('CAS_11A')

:CASIN10_783
if 
  not Cutscene.HasLoaded
goto_if_false @CASIN10_807
wait 0
goto @CASIN10_783

:CASIN10_807
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:CASIN10_816
if 
  not Cutscene.HasFinished
goto_if_false @CASIN10_840
wait 0
goto @CASIN10_816

:CASIN10_840
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:CASIN10_853
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_877
wait 0
goto @CASIN10_853

:CASIN10_877
Cutscene.Clear
Streaming.SetAreaVisible(0)
$1253 = 0
Game.SetWantedMultiplier(0.5)
Player.SetControl($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2233.5, 1712.8, 10.0)
wait 1000
Streaming.RequestModel(519)
Streaming.RequestModel(405)
Streaming.LoadSpecialCharacter(1, 'MACCER')
Streaming.LoadSpecialCharacter(2, 'PAUL')
Streaming.LoadSpecialCharacter(3, 'ROSE')
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 7200)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 7201)
goto @CASIN10_1146
96@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Sequence.Close(96@)
97@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Sequence.Close(97@)
98@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Sequence.Close(98@)
38@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Sequence.Close(38@)
39@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Sequence.Close(39@)
123@ = Car.Create(405, 0.0, 0.0, 0.0)
Car.Delete(123@)
113@ = Blip.AddForCoord(0.0, 0.0, 0.0)
Blip.Remove(113@)

:CASIN10_1146
105@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
106@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
DecisionMakerChar.AddEventResponse(106@, 49, 311, 0.0, 100.0, 100.0, 100.0, False, True)
110@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Streaming.LoadAllModelsNow

:CASIN10_1203
if or
  not Streaming.HasModelLoaded(519)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasModelLoaded(405)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @CASIN10_1251
wait 0
goto @CASIN10_1203

:CASIN10_1251
if 
  not Streaming.HasSpecialCharacterLoaded(3)
goto_if_false @CASIN10_1277
wait 0
goto @CASIN10_1251

:CASIN10_1277
World.ClearArea(2163.589, 1682.247, 9.86, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2163.589, 1682.247, 9.86)
Char.SetHeading($stattreadstamina_ctr, 80.0)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Streaming.LoadScene(2163.589, 1682.247, 9.86)
Path.SwitchRoadsOff(2095.35, 1734.179, 8.0, 2337.495, 1524.991, 15.0)
Path.SwitchPedRoadsOff(2095.35, 1734.179, 8.0, 2337.495, 1524.991, 15.0)
107@ = Char.Create(PedType.Mission1, 290, 2162.213, 1682.752, 9.86)
Char.SetDecisionMaker(107@, 110@)
Char.SetHeading(107@, 280.0)
Char.SetOnlyDamagedByPlayer(107@, True)
Task.TurnCharToFaceChar(107@, $stattreadstamina_ctr)
Char.SetProofs(107@, True, True, True, True, True)
Char.ShutUpForScriptedSpeech(107@, True)
World.ClearArea(2160.582, 1682.103, 9.735, 4.0, True)
111@ = Car.Create(405, 2160.582, 1682.103, 9.735)
Car.SetHeading(111@, 0.0)
Car.SetOnlyDamagedByPlayer(111@, True)
Car.SetProofs(111@, True, True, True, True, True)
109@ = Char.CreateAsPassenger(111@, PedType.Mission1, 292, 1)
Char.SetDecisionMaker(109@, 110@)
Char.SetOnlyDamagedByPlayer(109@, True)
Char.SetProofs(109@, True, True, True, True, True)
Char.ShutUpForScriptedSpeech(109@, True)
108@ = Char.CreateInsideCar(111@, PedType.Mission1, 291)
Char.SetDecisionMaker(108@, 110@)
Char.SetOnlyDamagedByPlayer(108@, True)
Char.SetProofs(108@, True, True, True, True, True)
Char.ShutUpForScriptedSpeech(108@, True)
Car.SetIdle(111@)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2165.228, 1680.256, 9.9643, 2164.975, 1684.109, 11.4927, 14500, True)
Camera.SetVectorTrack(2162.274, 1682.247, 11.86, 2160.582, 1682.103, 11.0, 14500, True)
Camera.SetFadingColor(0, 0, 0)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Camera.DoFade(2000, Fade.In)
World.ClearArea(2162.274, 1682.247, 9.86, 120.0, True)

:CASIN10_1814
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_1838
wait 0
goto @CASIN10_1814

:CASIN10_1838
skip_cutscene_start_internal @CASIN10_3929
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CASIN10_1934
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('CAS11AA', 10000, 1)
Char.StartFacialTalk($stattreadstamina_ctr, 999999)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
goto @CASIN10_1953

:CASIN10_1934
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('CAS11AA')

:CASIN10_1953
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CASIN10_2182
wait 0
if 
  Char.IsDead(107@)
goto_if_false @CASIN10_2018
Text.PrintNow('CM10_11', 8000, 1)
goto @CASIN10_15190
goto @CASIN10_2023

:CASIN10_2018
Char.ClearTasks(107@)

:CASIN10_2023
if 
  Char.IsDead(108@)
goto_if_false @CASIN10_2062
Text.PrintNow('CM10_12', 8000, 1)
goto @CASIN10_15190

:CASIN10_2062
if 
  Char.IsDead(109@)
goto_if_false @CASIN10_2101
Text.PrintNow('CM10_13', 8000, 1)
goto @CASIN10_15190

:CASIN10_2101
if 
  Car.IsDead(111@)
goto_if_false @CASIN10_2140
Text.PrintNow('CM10_14', 8000, 1)
goto @CASIN10_15190

:CASIN10_2140
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @CASIN10_2175
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('CAS11AA')

:CASIN10_2175
goto @CASIN10_1953

:CASIN10_2182
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint('CAS11AA')
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 7202)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('CAS11AB', 10000, 1)
Char.StartFacialTalk($stattreadstamina_ctr, 999999)

:CASIN10_2239
if or
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CASIN10_2472
wait 0
if 
  Char.IsDead(107@)
goto_if_false @CASIN10_2308
Text.PrintNow('CM10_11', 8000, 1)
goto @CASIN10_15190
goto @CASIN10_2313

:CASIN10_2308
Char.ClearTasks(107@)

:CASIN10_2313
if 
  Char.IsDead(108@)
goto_if_false @CASIN10_2352
Text.PrintNow('CM10_12', 8000, 1)
goto @CASIN10_15190

:CASIN10_2352
if 
  Char.IsDead(109@)
goto_if_false @CASIN10_2391
Text.PrintNow('CM10_13', 8000, 1)
goto @CASIN10_15190

:CASIN10_2391
if 
  Car.IsDead(111@)
goto_if_false @CASIN10_2430
Text.PrintNow('CM10_14', 8000, 1)
goto @CASIN10_15190

:CASIN10_2430
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @CASIN10_2465
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('CAS11AB')

:CASIN10_2465
goto @CASIN10_2239

:CASIN10_2472
Char.ClearTasks($stattreadstamina_ctr)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('CAS11AB')
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 7203)
if 
  not Char.IsDead(107@)
goto_if_false @CASIN10_2593
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('CAS11AC', 10000, 1)
Char.StartFacialTalk(107@, 999999)
Task.PlayAnimNonInterruptable(107@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
goto @CASIN10_2616

:CASIN10_2593
Text.PrintNow('CM10_11', 8000, 1)
goto @CASIN10_15190

:CASIN10_2616
if or
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @CASIN10_2821
wait 0
if 
  Char.IsDead(107@)
goto_if_false @CASIN10_2697
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('CAS11AC')
Text.PrintNow('CM10_11', 8000, 1)
goto @CASIN10_15190

:CASIN10_2697
if 
  Char.IsDead(108@)
goto_if_false @CASIN10_2736
Text.PrintNow('CM10_12', 8000, 1)
goto @CASIN10_15190

:CASIN10_2736
if 
  Char.IsDead(109@)
goto_if_false @CASIN10_2775
Text.PrintNow('CM10_13', 8000, 1)
goto @CASIN10_15190

:CASIN10_2775
if 
  Car.IsDead(111@)
goto_if_false @CASIN10_2814
Text.PrintNow('CM10_14', 8000, 1)
goto @CASIN10_15190

:CASIN10_2814
goto @CASIN10_2616

:CASIN10_2821
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint('CAS11AC')
if 
  not Char.IsDead(107@)
goto_if_false @CASIN10_2869
Char.StopFacialTalk(107@)
Char.ClearTasks(107@)
goto @CASIN10_2892

:CASIN10_2869
Text.PrintNow('CM10_11', 8000, 1)
goto @CASIN10_15190

:CASIN10_2892
if 
  not Char.IsDead(109@)
goto_if_false @CASIN10_2955
Task.LookAtChar(109@, $stattreadstamina_ctr, -2)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('CAS11AD', 10000, 1)
Char.StartFacialTalk(109@, 999999)
goto @CASIN10_2997

:CASIN10_2955
Text.PrintNow('CM10_13', 8000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('CAS11AD')
goto @CASIN10_15190

:CASIN10_2997
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @CASIN10_3198
wait 0
if 
  Char.IsDead(107@)
goto_if_false @CASIN10_3055
Text.PrintNow('CM10_11', 8000, 1)
goto @CASIN10_15190

:CASIN10_3055
if 
  Char.IsDead(108@)
goto_if_false @CASIN10_3094
Text.PrintNow('CM10_12', 8000, 1)
goto @CASIN10_15190

:CASIN10_3094
if 
  Char.IsDead(109@)
goto_if_false @CASIN10_3152
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('CAS11AC')
Text.PrintNow('CM10_13', 8000, 1)
goto @CASIN10_15190

:CASIN10_3152
if 
  Car.IsDead(111@)
goto_if_false @CASIN10_3191
Text.PrintNow('CM10_14', 8000, 1)
goto @CASIN10_15190

:CASIN10_3191
goto @CASIN10_2997

:CASIN10_3198
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('CAS11AD')
if 
  not Char.IsDead(109@)
goto_if_false @CASIN10_3246
Char.StopFacialTalk(109@)
Char.ClearLookAt(109@)
goto @CASIN10_3269

:CASIN10_3246
Text.PrintNow('CM10_13', 8000, 1)
goto @CASIN10_15190

:CASIN10_3269
if 
  not Car.IsDead(111@)
goto_if_false @CASIN10_3468
if 
  not Char.IsDead(107@)
goto_if_false @CASIN10_3321
Task.EnterCarAsPassenger(107@, 111@, 10000, 0)
goto @CASIN10_3344

:CASIN10_3321
Text.PrintNow('CM10_11', 8000, 1)
goto @CASIN10_15190

:CASIN10_3344
if 
  Char.IsDead(107@)
goto_if_false @CASIN10_3383
Text.PrintNow('CM10_11', 8000, 1)
goto @CASIN10_15190

:CASIN10_3383
if 
  Char.IsDead(109@)
goto_if_false @CASIN10_3422
Text.PrintNow('CM10_13', 8000, 1)
goto @CASIN10_15190

:CASIN10_3422
if 
  Char.IsDead(108@)
goto_if_false @CASIN10_3461
Text.PrintNow('CM10_12', 8000, 1)
goto @CASIN10_15190

:CASIN10_3461
goto @CASIN10_3491

:CASIN10_3468
Text.PrintNow('CM10_14', 8000, 1)
goto @CASIN10_15190

:CASIN10_3491
if or
  not Char.IsInCar(107@, 111@)
  not Char.IsInCar(108@, 111@)
  not Char.IsInCar(109@, 111@)
goto_if_false @CASIN10_3693
wait 0
if 
  Char.IsDead(107@)
goto_if_false @CASIN10_3569
Text.PrintNow('CM10_11', 8000, 1)
goto @CASIN10_15190

:CASIN10_3569
if 
  Char.IsDead(108@)
goto_if_false @CASIN10_3608
Text.PrintNow('CM10_12', 8000, 1)
goto @CASIN10_15190

:CASIN10_3608
if 
  Char.IsDead(109@)
goto_if_false @CASIN10_3647
Text.PrintNow('CM10_13', 8000, 1)
goto @CASIN10_15190

:CASIN10_3647
if 
  Car.IsDead(111@)
goto_if_false @CASIN10_3686
Text.PrintNow('CM10_14', 8000, 1)
goto @CASIN10_15190

:CASIN10_3686
goto @CASIN10_3491

:CASIN10_3693
if 
  not Car.IsDead(111@)
goto_if_false @CASIN10_3753
Car.GotoCoordinates(111@, 2148.048, 1703.466, 9.727)
Car.SetDrivingStyle(111@, DrivingMode.AvoidCars)
Car.SetCruiseSpeed(111@, 30.0)
goto @CASIN10_3776

:CASIN10_3753
Text.PrintNow('CM10_14', 8000, 1)
goto @CASIN10_15190

:CASIN10_3776
wait 2000
Char.Delete(107@)
Char.Delete(108@)
Char.Delete(109@)
Car.Delete(111@)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Streaming.MarkModelAsNoLongerNeeded(405)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Path.SwitchRoadsBackToOriginal(2095.35, 1734.179, 8.0, 2337.495, 1524.991, 15.0)
Path.SwitchPedRoadsBackToOriginal(2095.35, 1734.179, 8.0, 2337.495, 1524.991, 15.0)
114@ = 1

:CASIN10_3929
skip_cutscene_end 
if 
  114@ == 0
goto_if_false @CASIN10_4237
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CASIN10_3974
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_3998
wait 0
goto @CASIN10_3974

:CASIN10_3998
Player.MakeGangReappear
World.ClearArea(2163.589, 1682.247, 9.86, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2163.589, 1682.247, 9.86)
Char.SetHeading($stattreadstamina_ctr, 80.0)
Char.Delete(107@)
Char.Delete(108@)
Char.Delete(109@)
Car.Delete(111@)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Streaming.MarkModelAsNoLongerNeeded(405)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Hud.SwitchWidescreen(False)
Camera.ResetNewScriptables
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.SetFadingColor(0, 0, 0)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Path.SwitchRoadsBackToOriginal(2095.35, 1734.179, 8.0, 2337.495, 1524.991, 15.0)
Path.SwitchPedRoadsBackToOriginal(2095.35, 1734.179, 8.0, 2337.495, 1524.991, 15.0)
Camera.DoFade(1000, Fade.In)

:CASIN10_4192
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_4216
wait 0
goto @CASIN10_4192

:CASIN10_4216
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, False)

:CASIN10_4237
Text.PrintNow('CM10_1', 10000, 1)
35@ = Blip.AddForCoord(1707.828, 1606.639, 9.055)
World.ClearArea(1707.828, 1606.639, 9.055, 2.0, False)

:CASIN10_4297
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 1707.828, 1606.639, 9.055, 4.0, 4.0, 3.0, False)
goto_if_false @CASIN10_4378
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CASIN10_4371
goto @CASIN10_15339

:CASIN10_4371
goto @CASIN10_4297

:CASIN10_4378
Blip.Remove(35@)
Text.PrintNow('CM10_10', 10000, 1)
World.ClearArea(1479.714, 1758.306, 12.098, 2.0, True)
112@ = Car.Create(519, 1479.714, 1758.306, 12.098)
Car.SetOnlyDamagedByPlayer(112@, True)
Car.SetHeading(112@, 180.0)
34@ = Blip.AddForCar(112@)
Blip.SetAsFriendly(34@, True)

:CASIN10_4478
if 
  not Char.IsInCar($stattreadstamina_ctr, 112@)
goto_if_false @CASIN10_4552
wait 0
if 
  Car.IsDead(112@)
goto_if_false @CASIN10_4545
Text.PrintNow('CM10_17', 8000, 1)
Blip.Remove(34@)
goto @CASIN10_15190

:CASIN10_4545
goto @CASIN10_4478

:CASIN10_4552
if 
  not Car.IsDead(112@)
goto_if_false @CASIN10_4582
Car.SetOnlyDamagedByPlayer(112@, False)
goto @CASIN10_4610

:CASIN10_4582
Text.PrintNow('CM10_17', 8000, 1)
Blip.Remove(34@)
goto @CASIN10_15190

:CASIN10_4610
Blip.Remove(34@)
Text.PrintNow('CM10_18', 8000, 1)
126@ = Blip.AddForCoord(7500.0, 2478.34, 200.0)
TIMERA = 0

:CASIN10_4658
if or
  not Char.LocateInCar3D($stattreadstamina_ctr, 7500.0, 2478.34, 200.0, 100.0, 100.0, 200.0, False)
  not Char.IsSittingInCar($stattreadstamina_ctr, 112@)
goto_if_false @CASIN10_4995
wait 0
if 
  Car.IsDead(112@)
goto_if_false @CASIN10_4764
Text.PrintNow('CM10_17', 8000, 1)
goto @CASIN10_15190
goto @CASIN10_4988

:CASIN10_4764
if 
  Char.IsInCar($stattreadstamina_ctr, 112@)
goto_if_false @CASIN10_4920
if 
  159@ == 0
goto_if_false @CASIN10_4840
if 
  TIMERA > 40000
goto_if_false @CASIN10_4840
Text.PrintHelp('CM10_99')
159@ = 1

:CASIN10_4840
if 
  129@ == 1
goto_if_false @CASIN10_4913
Text.PrintNow('CM10_18', 8000, 1)
126@ = Blip.AddForCoord(7500.0, 2478.34, 200.0)
Blip.Remove(34@)
$sweet = 1
129@ = 0

:CASIN10_4913
goto @CASIN10_4988

:CASIN10_4920
if 
  129@ == 0
goto_if_false @CASIN10_4988
Blip.Remove(126@)
34@ = Blip.AddForCar(112@)
Blip.SetAsFriendly(34@, True)
Text.PrintNow('IN_VEH', 5000, 1)
$sweet = 0
129@ = 1

:CASIN10_4988
goto @CASIN10_4658

:CASIN10_4995
Blip.Remove(126@)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.Out)

:CASIN10_5015
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_5039
wait 0
goto @CASIN10_5015

:CASIN10_5039
Text.SetAreaName('MARKS')
Player.MakeGangDisappear
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Player.ClearWantedLevel($statbike_temp)
Game.SetMaxWantedLevel(0)
Restart.SetRespawnPointForDurationOfMission(1578.446, 1770.682, 9.8358)
Weather.ForceNow(WeatherType.SunnySf)
Streaming.RequestModel(124)
Streaming.RequestModel(346)
Streaming.RequestModel(420)
Streaming.RequestModel(405)
Streaming.RequestCarRecording(602)
Streaming.RequestCarRecording(603)
Streaming.RequestModel(17)
Streaming.RequestModel(150)
Streaming.LoadAllModelsNow

:CASIN10_5143
if or
  not Streaming.HasModelLoaded(124)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(420)
  not Streaming.HasModelLoaded(405)
  not Streaming.HasCarRecordingBeenLoaded(602)
  not Streaming.HasCarRecordingBeenLoaded(603)
goto_if_false @CASIN10_5194
wait 0
goto @CASIN10_5143

:CASIN10_5194
if or
  not Streaming.HasModelLoaded(17)
  not Streaming.HasModelLoaded(150)
goto_if_false @CASIN10_5225
wait 0
goto @CASIN10_5194

:CASIN10_5225
Streaming.SetAreaVisible(1)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
Streaming.RequestCollision(-811.999, 457.027)
Streaming.LoadSceneInDirection(-811.999, 457.027, 1356.622, 82.0)
Streaming.LoadAllModelsNow
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASIN10_5335
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Char.WarpFromCarToCoord($stattreadstamina_ctr, -813.833, 459.11, 998.989)
Char.ClearTasksImmediately($stattreadstamina_ctr)
goto @CASIN10_5375

:CASIN10_5335
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -813.833, 459.11, 998.989)

:CASIN10_5375
Camera.SetBehindPlayer
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Car.Delete(112@)
Streaming.MarkModelAsNoLongerNeeded(519)
161@ = Car.Create(420, -811.999, 457.027, 1356.622)
Car.SetHeading(161@, 270.0)
Car.SetAreaVisible(161@, 1)
Car.SetOnlyDamagedByPlayer(161@, True)
160@ = Char.CreateInsideCar(161@, PedType.CivMale, 124)
Char.SetAreaVisible(160@, 1)
Car.SetIdle(161@)
Char.WarpIntoCarAsPassenger($stattreadstamina_ctr, 161@, 1)
163@ = Car.Create(405, -729.2895, 514.4813, 1370.969)
Car.SetHeading(163@, 161.5196)
Car.SetAreaVisible(163@, 1)
Car.SetOnlyDamagedByPlayer(163@, True)
164@ = Char.CreateInsideCar(163@, PedType.CivMale, 124)
Char.SetAreaVisible(164@, 1)
Car.SetIdle(163@)

:CASIN10_5553
if 
  not Car.IsWaitingForWorldCollision(161@)
goto_if_false @CASIN10_5612
wait 0
if 
  Car.IsDead(161@)
goto_if_false @CASIN10_5589

:CASIN10_5589
if 
  Car.IsDead(163@)
goto_if_false @CASIN10_5605

:CASIN10_5605
goto @CASIN10_5553

:CASIN10_5612
165@ = Char.Create(PedType.CivMale, 17, -864.653, 451.569, 1348.584)
Task.WanderStandard(165@)
166@ = Char.Create(PedType.CivFemale, 150, -884.251, 466.693, 1346.577)
Task.WanderStandard(166@)
167@ = Char.Create(PedType.CivMale, 17, -857.588, 467.419, 1349.29)
Task.WanderStandard(167@)
168@ = Char.Create(PedType.CivFemale, 150, -814.46, 466.873, 1356.137)
Task.WanderStandard(168@)
169@ = Char.Create(PedType.CivMale, 17, -781.615, 468.628, 1363.266)
Task.WanderStandard(169@)
170@ = Char.Create(PedType.CivFemale, 150, -737.431, 503.6, 1370.968)
Task.WanderStandard(170@)
171@ = Char.Create(PedType.CivMale, 17, -738.769, 476.826, 1370.306)
Task.WanderStandard(171@)
172@ = Char.Create(PedType.CivFemale, 150, -771.993, 456.237, 1364.445)
Task.WanderStandard(172@)
173@ = Char.Create(PedType.CivMale, 17, -799.539, 453.03, 1359.074)
Task.WanderStandard(173@)
174@ = Char.Create(PedType.CivFemale, 150, -753.076, 484.357, 1369.885)
Task.WanderStandard(174@)
Camera.SetFixedPosition(-751.2452, 449.8578, 1370.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-752.1519, 450.2614, 1370.378, SwitchType.JumpCut)
if 
  not Car.IsDead(161@)
goto_if_false @CASIN10_5992
Car.StartPlayback(161@, 602)
Car.SetPlaybackSpeed(161@, 1.1)

:CASIN10_5992
if 
  not Car.IsDead(163@)
goto_if_false @CASIN10_6026
Car.StartPlayback(163@, 603)
Car.SetPlaybackSpeed(163@, 1.1)

:CASIN10_6026
wait 800
if 
  Car.IsDead(161@)
goto_if_false @CASIN10_6052
Car.StopPlayback(161@)

:CASIN10_6052
if 
  Car.IsDead(163@)
goto_if_false @CASIN10_6073
Car.StopPlayback(163@)

:CASIN10_6073
Camera.SetFadingColor(0, 0, 0)
Hud.SwitchWidescreen(True)
Camera.DoFade(2000, Fade.In)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(-751.2452, 449.8578, 1370.5, -730.0718, 483.3791, 1373.472, 8600, True)
Camera.SetVectorTrack(-752.1519, 450.2614, 1370.378, -730.9146, 483.9166, 1373.496, 8600, True)

:CASIN10_6176
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_6200
wait 0
goto @CASIN10_6176

:CASIN10_6200
Game.SetIsInStadium(True)
Game.HideAllFrontendBlips(True)
if 
  Car.IsDead(161@)
goto_if_false @CASIN10_6229
Car.StopPlayback(161@)

:CASIN10_6229
if 
  Car.IsDead(163@)
goto_if_false @CASIN10_6250
Car.StopPlayback(163@)

:CASIN10_6250
skip_cutscene_start_internal @CASIN10_6465

:CASIN10_6257
if 
  Car.IsPlaybackGoingOn(161@)
goto_if_false @CASIN10_6326
wait 0
if 
  Car.IsDead(161@)
goto_if_false @CASIN10_6298
Car.StopPlayback(161@)

:CASIN10_6298
if 
  Car.IsDead(163@)
goto_if_false @CASIN10_6319
Car.StopPlayback(163@)

:CASIN10_6319
goto @CASIN10_6257

:CASIN10_6326
162@ = Sequence.Open()
if 
  not Car.IsDead(161@)
goto_if_false @CASIN10_6354
Task.LeaveCar(-1, 161@)

:CASIN10_6354
Task.GoStraightToCoord(-1, -760.2046, 492.1819, 1370.677, MoveState.Walk, 10000)
Sequence.Close(162@)
Char.PerformSequence($stattreadstamina_ctr, 162@)
Sequence.Clear(162@)
TIMERA = 0

:CASIN10_6403
if 
  3000 > TIMERA
goto_if_false @CASIN10_6465
wait 0
if 
  Car.IsDead(161@)
goto_if_false @CASIN10_6442

:CASIN10_6442
if 
  Car.IsDead(163@)
goto_if_false @CASIN10_6458

:CASIN10_6458
goto @CASIN10_6403

:CASIN10_6465
skip_cutscene_end 
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CASIN10_6482
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_6506
wait 0
goto @CASIN10_6482

:CASIN10_6506
Weather.SetToAppropriateTypeNow
Char.ClearTasksImmediately($stattreadstamina_ctr)
Sequence.Clear(162@)
if 
  not Car.IsDead(161@)
goto_if_false @CASIN10_6669
Car.StopPlayback(161@)
if 
  Char.IsInCar($stattreadstamina_ctr, 161@)
goto_if_false @CASIN10_6669
Char.WarpFromCarToCoord($stattreadstamina_ctr, -760.2046, 492.1819, 1370.677)

:CASIN10_6578
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CASIN10_6669
wait 0
if 
  Car.IsDead(161@)
goto_if_false @CASIN10_6614

:CASIN10_6614
if 
  Car.IsDead(163@)
goto_if_false @CASIN10_6630

:CASIN10_6630
if 
  Char.IsDead(160@)
goto_if_false @CASIN10_6646

:CASIN10_6646
if 
  Char.IsDead(164@)
goto_if_false @CASIN10_6662

:CASIN10_6662
goto @CASIN10_6578

:CASIN10_6669
if 
  not Car.IsDead(163@)
goto_if_false @CASIN10_6690
Car.StopPlayback(163@)

:CASIN10_6690
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Pistol)
goto_if_false @CASIN10_6731
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Pistol, 60)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Pistol)
goto @CASIN10_6738

:CASIN10_6731
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Pistol)

:CASIN10_6738
Streaming.RemoveCarRecording(602)
Streaming.RemoveCarRecording(603)
Camera.ResetNewScriptables
Car.Delete(161@)
Char.Delete(160@)
Car.Delete(163@)
Char.Delete(164@)
Char.Delete(165@)
Char.Delete(166@)
Char.Delete(167@)
Char.Delete(168@)
Char.Delete(169@)
Char.Delete(170@)
Char.Delete(171@)
Char.Delete(172@)
Char.Delete(173@)
Char.Delete(174@)
Streaming.MarkModelAsNoLongerNeeded(17)
Streaming.MarkModelAsNoLongerNeeded(150)
Streaming.MarkModelAsNoLongerNeeded(420)
Streaming.RequestModel(124)
Streaming.RequestModel(125)
Streaming.RequestModel(126)
Streaming.RequestModel(349)
Streaming.RequestModel(352)
Streaming.RequestModel(346)
Streaming.RequestAnimation("SWAT")
Streaming.RequestModel(405)
Streaming.LoadSpecialCharacter(1, 'FORELLI')
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 7208)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 7209)
Streaming.LoadAllModelsNow

:CASIN10_6903
if or
  not Streaming.HasModelLoaded(124)
  not Streaming.HasModelLoaded(125)
  not Streaming.HasAnimationLoaded("SWAT")
  not Streaming.HasModelLoaded(349)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @CASIN10_6955
wait 0
goto @CASIN10_6903

:CASIN10_6955
if or
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(126)
  not Streaming.HasModelLoaded(405)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @CASIN10_6999
wait 0
goto @CASIN10_6955

:CASIN10_6999
40@ = Char.Create(PedType.Mission1, 290, -783.62, 505.055, 1370.788)
Char.SetAllowedToDuck(40@, False)
Char.GiveWeapon(40@, WeaponType.MicroUzi, 30000)
Char.SetWeaponSkill(40@, 2)
Char.SetUsesUpperbodyDamageAnimsOnly(40@, True)
Char.SetHeading(40@, 348.44)
41@ = Blip.AddForChar(40@)
Char.SetDecisionMaker(40@, 110@)
Char.SetSuffersCriticalHits(40@, False)
Char.SetMaxHealth(40@, 1000)
Char.SetHealth(40@, 1000)
Char.SetAccuracy(40@, 80)
Char.SetShootRate(40@, 50)
47@ = Char.Create(PedType.Mission1, 124, -783.223, 497.549, 1370.78)
Char.SetAllowedToDuck(47@, False)
Char.GiveWeapon(47@, WeaponType.Shotgun, 30000)
Char.SetHeading(47@, 348.44)
Char.SetDecisionMaker(47@, 106@)
Char.SetAccuracy(47@, 65)
Char.SetShootRate(47@, 40)
50@ = Char.Create(PedType.Mission1, 125, -788.965, 497.522, 1370.78)
Char.SetAllowedToDuck(50@, False)
Char.GiveWeapon(50@, WeaponType.Shotgun, 30000)
Char.SetHeading(50@, 348.44)
Char.SetDecisionMaker(50@, 106@)
Char.SetAccuracy(50@, 65)
Char.SetShootRate(50@, 45)
53@ = Char.Create(PedType.Mission1, 126, -791.034, 500.973, 1370.78)
Char.SetAllowedToDuck(53@, False)
Char.GiveWeapon(53@, WeaponType.MicroUzi, 30000)
Char.SetHeading(53@, 5.1)
Char.SetDecisionMaker(53@, 105@)
Char.SetAccuracy(53@, 70)
Char.SetShootRate(53@, 50)
56@ = Char.Create(PedType.Mission1, 124, -780.395, 500.947, 1370.78)
Char.SetAllowedToDuck(56@, False)
Char.GiveWeapon(56@, WeaponType.MicroUzi, 30000)
Char.SetHeading(56@, 5.1)
Char.SetDecisionMaker(56@, 105@)
Char.SetAccuracy(56@, 40)
Char.SetShootRate(56@, 60)
59@ = Char.Create(PedType.Mission1, 125, -794.945, 507.819, 1370.788)
Char.SetAllowedToDuck(59@, False)
Char.GiveWeapon(59@, WeaponType.MicroUzi, 30000)
Char.SetHeading(59@, 174.837)
Char.SetDecisionMaker(59@, 105@)
Char.SetAccuracy(59@, 70)
Char.SetShootRate(59@, 45)
62@ = Char.Create(PedType.Mission1, 126, -793.0, 506.434, 1370.788)
Char.SetAllowedToDuck(62@, False)
Char.GiveWeapon(62@, WeaponType.MicroUzi, 30000)
Char.SetHeading(62@, 113.867)
Char.SetDecisionMaker(62@, 105@)
Char.SetAccuracy(62@, 65)
Char.SetShootRate(62@, 40)
65@ = Char.Create(PedType.Mission1, 125, -785.853, 508.372, 1370.774)
Char.SetAllowedToDuck(65@, False)
Char.GiveWeapon(65@, WeaponType.MicroUzi, 30000)
Char.SetHeading(65@, 212.0)
Char.SetDecisionMaker(65@, 105@)
Char.SetAccuracy(65@, 65)
Char.SetShootRate(65@, 40)
69@ = Char.Create(PedType.Mission1, 124, -792.191, 508.908, 1370.788)
Char.SetAllowedToDuck(69@, False)
Char.GiveWeapon(69@, WeaponType.MicroUzi, 30000)
Char.SetHeading(69@, 188.0)
Char.SetDecisionMaker(69@, 105@)
Char.SetAccuracy(69@, 70)
Char.SetShootRate(69@, 40)
73@ = Char.Create(PedType.Mission1, 126, -783.975, 498.564, 1375.195)
Char.SetAllowedToDuck(73@, False)
Char.GiveWeapon(73@, WeaponType.MicroUzi, 30000)
Char.SetHeading(73@, 172.352)
Char.SetDecisionMaker(73@, 105@)
Char.SetAccuracy(73@, 65)
Char.SetShootRate(73@, 40)
77@ = Char.Create(PedType.Mission1, 124, -792.542, 494.229, 1375.235)
Char.SetAllowedToDuck(77@, False)
Char.GiveWeapon(77@, WeaponType.MicroUzi, 30000)
Char.SetHeading(77@, 279.542)
Char.SetDecisionMaker(77@, 105@)
Char.SetAccuracy(77@, 70)
Char.SetShootRate(77@, 50)
81@ = Char.Create(PedType.Mission1, 125, -786.142, 491.815, 1375.235)
Char.SetAllowedToDuck(81@, False)
Char.GiveWeapon(81@, WeaponType.Shotgun, 30000)
Char.SetHeading(81@, 270.0)
Char.SetDecisionMaker(81@, 110@)
Char.SetAccuracy(81@, 75)
Char.SetShootRate(81@, 40)
84@ = Char.Create(PedType.Mission1, 124, -793.7, 494.999, 1375.243)
Char.SetAllowedToDuck(84@, False)
Char.GiveWeapon(84@, WeaponType.MicroUzi, 30000)
Char.SetHeading(84@, 270.0)
Char.SetDecisionMaker(84@, 110@)
Char.SetAccuracy(84@, 65)
Char.SetShootRate(84@, 40)
87@ = Char.Create(PedType.Mission1, 124, -781.141, 494.625, 1367.571)
Char.SetAllowedToDuck(87@, False)
Char.GiveWeapon(87@, WeaponType.MicroUzi, 30000)
Char.SetHeading(87@, 90.0)
Char.SetDecisionMaker(87@, 105@)
Char.SetAccuracy(87@, 65)
Char.SetShootRate(87@, 40)
90@ = Char.Create(PedType.Mission1, 126, -786.705, 501.671, 1366.414)
Char.SetAllowedToDuck(90@, False)
Char.GiveWeapon(90@, WeaponType.MicroUzi, 30000)
Char.SetHeading(90@, 270.0)
Char.SetDecisionMaker(90@, 105@)
Char.SetAccuracy(90@, 65)
Char.SetShootRate(90@, 40)
93@ = Char.Create(PedType.Mission1, 125, -790.646, 505.521, 1366.414)
Char.SetAllowedToDuck(93@, False)
Char.GiveWeapon(93@, WeaponType.MicroUzi, 30000)
Char.SetHeading(93@, 231.0)
Char.SetDecisionMaker(93@, 106@)
Char.SetAccuracy(93@, 65)
Char.SetShootRate(93@, 50)
goto @CASIN10_8307
120@ = Char.Create(PedType.Mission1, 126, -816.005, 493.329, 1358.293)
Char.Delete(120@)
121@ = Char.Create(PedType.Mission1, 124, -821.268, 508.167, 1358.273)
Char.Delete(121@)
122@ = Char.Create(PedType.Mission1, 125, -828.77, 510.594, 1357.307)
Char.Delete(122@)

:CASIN10_8307
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -783.104, 490.814, 1375.235)
Char.SetHeading($stattreadstamina_ctr, 8.832)
Streaming.LoadSceneInDirection(-783.104, 490.814, 1375.235, 8.832)
Camera.SetFixedPosition(-787.9748, 493.9206, 1375.796, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-787.056, 494.3102, 1375.859, SwitchType.JumpCut)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:CASIN10_8430
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_8454
wait 0
goto @CASIN10_8430

:CASIN10_8454
116@ = 1
skip_cutscene_start_internal @CASIN10_9952
Task.GoStraightToCoord($stattreadstamina_ctr, -783.153, 495.215, 1375.227, MoveState.Walk, -1)
if 
  not Char.IsDead(73@)
goto_if_false @CASIN10_8525
Task.LookAtChar($stattreadstamina_ctr, 73@, -1)
goto @CASIN10_8557

:CASIN10_8525
if 
  74@ == 0
goto_if_false @CASIN10_8557
152@ += 1
74@ = 1

:CASIN10_8557
if 
  not Char.IsDead(77@)
goto_if_false @CASIN10_8590
Task.LookAtChar(77@, $stattreadstamina_ctr, -1)
goto @CASIN10_8622

:CASIN10_8590
if 
  78@ == 0
goto_if_false @CASIN10_8622
152@ += 1
78@ = 1

:CASIN10_8622
75@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, -783.336, 496.837, 1375.235, 4, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.LookAtChar(-1, $stattreadstamina_ctr, -1)
Task.AimGunAtChar(-1, $stattreadstamina_ctr, 15000)
Sequence.Close(75@)
if 
  not Char.IsDead(73@)
goto_if_false @CASIN10_8717
Char.PerformSequence(73@, 75@)
Sequence.Clear(75@)
goto @CASIN10_8749

:CASIN10_8717
if 
  74@ == 0
goto_if_false @CASIN10_8749
152@ += 1
74@ = 1

:CASIN10_8749
if 
  not Char.IsDead(73@)
goto_if_false @CASIN10_8809
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('CAS11DA', 10000, 1)
Char.StartFacialTalk(73@, 999999)
Char.ShutUpForScriptedSpeech(73@, True)
goto @CASIN10_8845

:CASIN10_8809
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
if 
  74@ == 0
goto_if_false @CASIN10_8845
152@ += 1
74@ = 1

:CASIN10_8845
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CASIN10_8930
wait 0
gosub @CASIN10_15776
if 
  74@ == 0
goto_if_false @CASIN10_8923
if 
  Char.IsDead(73@)
goto_if_false @CASIN10_8923
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
152@ += 1
74@ = 1

:CASIN10_8923
goto @CASIN10_8845

:CASIN10_8930
Text.ClearThisPrint('CAS11DA')
if 
  not Char.IsDead(73@)
goto_if_false @CASIN10_8983
Char.StopFacialTalk(73@)
Char.ShutUpForScriptedSpeech(73@, False)
Task.StayInSamePlace($stattreadstamina_ctr, True)
goto @CASIN10_9015

:CASIN10_8983
if 
  74@ == 0
goto_if_false @CASIN10_9015
152@ += 1
74@ = 1

:CASIN10_9015
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('CAS11DB', 4000, 1)
Char.StartFacialTalk($stattreadstamina_ctr, 999999)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Camera.SetFixedPosition(-785.9136, 497.3071, 1375.579, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-785.0042, 496.9065, 1375.69, SwitchType.JumpCut)
if 
  not Char.IsDead(73@)
goto_if_false @CASIN10_9170
Task.ToggleDuck(73@, True)
Char.SetAccuracy(73@, 5)
Task.ShootAtCoord(73@, -781.079, 495.708, 1376.195, 10000)
Char.SetShootRate(73@, 80)
goto @CASIN10_9202

:CASIN10_9170
if 
  74@ == 0
goto_if_false @CASIN10_9202
152@ += 1
74@ = 1

:CASIN10_9202
37@ = Sequence.Open()
Task.AchieveHeading(-1, 270.0)
Task.PlayAnimNonInterruptable(-1, "JMP_WALL1M_180", "SWAT", 4.0, False, False, False, True, -1)
99@ = 0.0
Sequence.Close(37@)
Char.PerformSequence($stattreadstamina_ctr, 37@)
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "JMP_WALL1M_180")
goto_if_false @CASIN10_9336
99@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "JMP_WALL1M_180")

:CASIN10_9336
if 
  99@ <> 1.0
goto_if_false @CASIN10_9431
wait 0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "JMP_WALL1M_180")
goto_if_false @CASIN10_9417
99@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "JMP_WALL1M_180")

:CASIN10_9417
gosub @CASIN10_15776
goto @CASIN10_9336

:CASIN10_9431
67@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.FollowPathNodesToCoord(-1, -781.563, 505.346, 1370.782, 6, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(67@)
if 
  not Char.IsDead(65@)
goto_if_false @CASIN10_9519
Char.PerformSequence(65@, 67@)
Sequence.Clear(67@)
goto @CASIN10_9551

:CASIN10_9519
if 
  66@ == 0
goto_if_false @CASIN10_9551
152@ += 1
66@ = 1

:CASIN10_9551
71@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.FollowPathNodesToCoord(-1, -786.511, 505.073, 1370.782, 6, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(71@)
if 
  not Char.IsDead(69@)
goto_if_false @CASIN10_9639
Char.PerformSequence(69@, 71@)
Sequence.Clear(71@)
goto @CASIN10_9671

:CASIN10_9639
if 
  70@ == 0
goto_if_false @CASIN10_9671
152@ += 1
70@ = 1

:CASIN10_9671
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @CASIN10_9724
wait 0
gosub @CASIN10_15776
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @CASIN10_9717
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)

:CASIN10_9717
goto @CASIN10_9671

:CASIN10_9724
Text.ClearThisPrint('CAS11DB')
Char.StopFacialTalk($stattreadstamina_ctr)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
79@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(79@)
if 
  not Char.IsDead(77@)
goto_if_false @CASIN10_9812
Char.PerformSequence(77@, 79@)
Sequence.Clear(79@)
goto @CASIN10_9844

:CASIN10_9812
if 
  78@ == 0
goto_if_false @CASIN10_9844
152@ += 1
78@ = 1

:CASIN10_9844
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Hud.SwitchWidescreen(False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -780.806, 495.717, 1375.0)
Char.SetHeading($stattreadstamina_ctr, 100.0)
Task.ToggleDuck($stattreadstamina_ctr, True)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "WEAPON_CROUCH", "PED", 1000.0, False, False, False, False, -1)
Camera.RestoreJumpcut
Sequence.Clear(37@)
36@ = 1

:CASIN10_9952
skip_cutscene_end 
if 
  36@ == 0
goto_if_false @CASIN10_10266
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
67@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.FollowPathNodesToCoord(-1, -781.563, 505.346, 1370.782, 6, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(67@)
if 
  not Char.IsDead(65@)
goto_if_false @CASIN10_10077
Char.PerformSequence(65@, 67@)
Sequence.Clear(67@)
goto @CASIN10_10109

:CASIN10_10077
if 
  66@ == 0
goto_if_false @CASIN10_10109
152@ += 1
66@ = 1

:CASIN10_10109
71@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.FollowPathNodesToCoord(-1, -786.511, 505.073, 1370.782, 6, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(71@)
if 
  not Char.IsDead(69@)
goto_if_false @CASIN10_10197
Char.PerformSequence(69@, 71@)
Sequence.Clear(71@)
goto @CASIN10_10229

:CASIN10_10197
if 
  70@ == 0
goto_if_false @CASIN10_10229
152@ += 1
70@ = 1

:CASIN10_10229
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -780.806, 495.717, 1375.0)
Char.SetHeading($stattreadstamina_ctr, 100.0)
Camera.RestoreJumpcut

:CASIN10_10266
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
if 
  not Char.IsDead(73@)
goto_if_false @CASIN10_10387
Char.SetAccuracy(73@, 40)
if 
  76@ == 0
goto_if_false @CASIN10_10380
Char.SetShootRate(73@, 40)
Task.StayInSamePlace(73@, False)
Task.KillCharOnFoot(73@, $stattreadstamina_ctr)
76@ = 1

:CASIN10_10380
goto @CASIN10_10419

:CASIN10_10387
if 
  74@ == 0
goto_if_false @CASIN10_10419
152@ += 1
74@ = 1

:CASIN10_10419
Player.MakeGangReappear
if 
  116@ == 1
goto_if_false @CASIN10_10884
if 
  Char.IsInArea3D($stattreadstamina_ctr, -778.0, 486.0, 1370.0, -797.0, 500.0, 1380.0, False)
goto_if_false @CASIN10_10684
if 
  not Char.IsDead(59@)
goto_if_false @CASIN10_10550
if 
  61@ == 0
goto_if_false @CASIN10_10543
set_lvar_int_to_lvar_int 101@ = 59@
gosub @CASIN10_18943
61@ = 1

:CASIN10_10543
goto @CASIN10_10582

:CASIN10_10550
if 
  60@ == 0
goto_if_false @CASIN10_10582
152@ += 1
60@ = 1

:CASIN10_10582
if 
  not Char.IsDead(62@)
goto_if_false @CASIN10_10645
if 
  64@ == 0
goto_if_false @CASIN10_10638
set_lvar_int_to_lvar_int 102@ = 62@
gosub @CASIN10_19026
64@ = 1

:CASIN10_10638
goto @CASIN10_10677

:CASIN10_10645
if 
  63@ == 0
goto_if_false @CASIN10_10677
152@ += 1
63@ = 1

:CASIN10_10677
goto @CASIN10_10884

:CASIN10_10684
if 
  not Char.IsDead(59@)
goto_if_false @CASIN10_10752
if 
  61@ == 0
goto_if_false @CASIN10_10745
Char.ClearTasks(59@)
Task.StayInSamePlace(59@, False)
Task.KillCharOnFoot(59@, $stattreadstamina_ctr)
61@ = 1

:CASIN10_10745
goto @CASIN10_10784

:CASIN10_10752
if 
  60@ == 0
goto_if_false @CASIN10_10784
152@ += 1
60@ = 1

:CASIN10_10784
if 
  not Char.IsDead(62@)
goto_if_false @CASIN10_10852
if 
  64@ == 0
goto_if_false @CASIN10_10845
Char.ClearTasks(62@)
Task.StayInSamePlace(62@, False)
Task.KillCharOnFoot(62@, $stattreadstamina_ctr)
64@ = 1

:CASIN10_10845
goto @CASIN10_10884

:CASIN10_10852
if 
  63@ == 0
goto_if_false @CASIN10_10884
152@ += 1
63@ = 1

:CASIN10_10884
Text.PrintNow('CM10_2', 10000, 1)

:CASIN10_10900
if 
  152@ <> 19
goto_if_false @CASIN10_13775
wait 0
if 
  118@ == 0
goto_if_false @CASIN10_11020
if 
  Char.IsInArea3D($stattreadstamina_ctr, -777.097, 501.709, 1365.0, -784.992, 497.66, 1370.0, False)
goto_if_false @CASIN10_11020
gosub @CASIN10_19307
if 
  119@ == 0
goto_if_false @CASIN10_11020
gosub @CASIN10_19952

:CASIN10_11020
if 
  119@ == 1
goto_if_false @CASIN10_11045
gosub @CASIN10_20515

:CASIN10_11045
gosub @CASIN10_15776
if 
  55@ == 0
goto_if_false @CASIN10_11302
if 
  Char.IsInArea3D($stattreadstamina_ctr, -778.0, 486.0, 1370.0, -797.0, 500.0, 1380.0, False)
goto_if_false @CASIN10_11220
if 
  60@ == 1
goto_if_false @CASIN10_11213
if 
  not Char.IsDead(53@)
goto_if_false @CASIN10_11181
set_lvar_int_to_lvar_int 101@ = 53@
gosub @CASIN10_18943
55@ = 1
goto @CASIN10_11213

:CASIN10_11181
if 
  54@ == 0
goto_if_false @CASIN10_11213
152@ += 1
54@ = 1

:CASIN10_11213
goto @CASIN10_11302

:CASIN10_11220
if 
  not Char.IsDead(53@)
goto_if_false @CASIN10_11270
Char.ClearTasks(53@)
Task.StayInSamePlace(53@, False)
Task.KillCharOnFoot(53@, $stattreadstamina_ctr)
55@ = 2
goto @CASIN10_11302

:CASIN10_11270
if 
  54@ == 0
goto_if_false @CASIN10_11302
152@ += 1
54@ = 1

:CASIN10_11302
if 
  58@ == 0
goto_if_false @CASIN10_11552
if 
  Char.IsInArea3D($stattreadstamina_ctr, -778.0, 486.0, 1370.0, -797.0, 500.0, 1380.0, False)
goto_if_false @CASIN10_11470
if 
  63@ == 1
goto_if_false @CASIN10_11463
if 
  not Char.IsDead(56@)
goto_if_false @CASIN10_11431
set_lvar_int_to_lvar_int 102@ = 56@
gosub @CASIN10_19026
58@ = 1
goto @CASIN10_11463

:CASIN10_11431
if 
  57@ == 0
goto_if_false @CASIN10_11463
152@ += 1
57@ = 1

:CASIN10_11463
goto @CASIN10_11552

:CASIN10_11470
if 
  not Char.IsDead(56@)
goto_if_false @CASIN10_11520
Char.ClearTasks(56@)
Task.StayInSamePlace(56@, False)
Task.KillCharOnFoot(56@, $stattreadstamina_ctr)
58@ = 2
goto @CASIN10_11552

:CASIN10_11520
if 
  57@ == 0
goto_if_false @CASIN10_11552
152@ += 1
57@ = 1

:CASIN10_11552
if 
  89@ == 0
goto_if_false @CASIN10_11695
if 
  not Char.IsDead(87@)
goto_if_false @CASIN10_11663
if 
  Char.IsInArea3D($stattreadstamina_ctr, -792.344, 489.644, 1370.782, -783.436, 493.662, 1366.0, False)
goto_if_false @CASIN10_11656
set_lvar_int_to_lvar_int 103@ = 87@
gosub @CASIN10_19109
89@ = 1

:CASIN10_11656
goto @CASIN10_11695

:CASIN10_11663
if 
  88@ == 0
goto_if_false @CASIN10_11695
152@ += 1
88@ = 1

:CASIN10_11695
if 
  92@ == 0
goto_if_false @CASIN10_11838
if 
  not Char.IsDead(90@)
goto_if_false @CASIN10_11806
if 
  Char.IsInArea3D($stattreadstamina_ctr, -777.097, 501.709, 1365.0, -784.992, 497.66, 1370.0, False)
goto_if_false @CASIN10_11799
set_lvar_int_to_lvar_int 104@ = 90@
gosub @CASIN10_19208
92@ = 1

:CASIN10_11799
goto @CASIN10_11838

:CASIN10_11806
if 
  91@ == 0
goto_if_false @CASIN10_11838
152@ += 1
91@ = 1

:CASIN10_11838
if 
  95@ == 0
goto_if_false @CASIN10_11986
if 
  not Char.IsDead(93@)
goto_if_false @CASIN10_11954
if 
  Char.IsInArea3D($stattreadstamina_ctr, -777.097, 501.709, 1365.0, -784.992, 497.66, 1370.0, False)
goto_if_false @CASIN10_11947
Char.ClearTasks(93@)
Task.StayInSamePlace(93@, True)
Task.KillCharOnFoot(93@, $stattreadstamina_ctr)
95@ = 1

:CASIN10_11947
goto @CASIN10_11986

:CASIN10_11954
if 
  94@ == 0
goto_if_false @CASIN10_11986
152@ += 1
94@ = 1

:CASIN10_11986
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CASIN10_12016
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)

:CASIN10_12016
if 
  42@ == 0
goto_if_false @CASIN10_13768
if 
  Char.IsDead(40@)
goto_if_false @CASIN10_12076
Blip.Remove(41@)
152@ += 1
42@ = 1
goto @CASIN10_13768

:CASIN10_12076
46@ = Char.GetHealth(40@)
if 
  43@ == 0
goto_if_false @CASIN10_12148
Char.ClearRelationship(40@, RelationshipType.Hate, PedType.Player1)
Char.ClearTasksImmediately(40@)
Task.FollowPathNodesToCoord(40@, -781.09, 497.79, 1370.782, 6, 10000)
43@ = 1

:CASIN10_12148
if 
  43@ == 1
goto_if_false @CASIN10_12246
if 
  Char.LocateOnFoot3D(40@, -781.09, 497.79, 1370.782, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_12246
Task.FollowPathNodesToCoord(40@, -791.749, 491.447, 1370.782, 6, 10000)
43@ = 2

:CASIN10_12246
if 
  43@ == 2
goto_if_false @CASIN10_12531
if 
  Char.IsInAreaOnFoot3D($stattreadstamina_ctr, -777.827, 510.0, 1369.0, -797.0, 494.0, 1373.0, False)
goto_if_false @CASIN10_12319
117@ = 1

:CASIN10_12319
if 
  Char.LocateOnFoot3D(40@, -791.749, 491.447, 1370.782, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_12531
if 
  44@ == 0
goto_if_false @CASIN10_12424
Char.SetHeading(40@, 0.0)
Task.StayInSamePlace(40@, True)
Task.KillCharOnFoot(40@, $stattreadstamina_ctr)
TIMERB = 0
44@ = 1

:CASIN10_12424
if 
  117@ == 1
goto_if_false @CASIN10_12531
if 
  44@ == 1
goto_if_false @CASIN10_12531
if or
  TIMERB >= 6000
  800 >= 46@
goto_if_false @CASIN10_12531
Char.ClearTasks(40@)
Task.StayInSamePlace(40@, False)
Task.FollowPathNodesToCoord(40@, -779.844, 492.67, 1367.616, 6, 10000)
43@ = 3

:CASIN10_12531
if 
  43@ == 3
goto_if_false @CASIN10_12629
if 
  Char.LocateOnFoot3D(40@, -779.844, 492.67, 1367.616, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_12629
Task.FollowPathNodesToCoord(40@, -779.844, 499.811, 1367.571, 6, 10000)
43@ = 4

:CASIN10_12629
if 
  43@ == 4
goto_if_false @CASIN10_12752
if 
  Char.LocateOnFoot3D(40@, -779.844, 499.811, 1367.571, 0.75, 0.75, 2.0, False)
goto_if_false @CASIN10_12752
if 
  46@ > 99
goto_if_false @CASIN10_12720
Char.SetHealth(40@, 100)

:CASIN10_12720
Task.FollowPathNodesToCoord(40@, -787.237, 499.939, 1366.414, 6, 10000)
43@ = 5

:CASIN10_12752
if 
  43@ == 5
goto_if_false @CASIN10_12850
if 
  Char.LocateOnFoot3D(40@, -787.237, 499.939, 1366.414, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_12850
Task.FollowPathNodesToCoord(40@, -787.543, 508.034, 1366.414, 6, 10000)
43@ = 6

:CASIN10_12850
if 
  43@ == 6
goto_if_false @CASIN10_12948
if 
  Char.LocateOnFoot3D(40@, -787.543, 508.034, 1366.414, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_12948
Task.FollowPathNodesToCoord(40@, -791.552, 507.859, 1366.414, 6, 10000)
43@ = 7

:CASIN10_12948
if 
  43@ == 7
goto_if_false @CASIN10_13046
if 
  Char.LocateOnFoot3D(40@, -791.552, 507.859, 1366.414, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_13046
Task.FollowPathNodesToCoord(40@, -791.045, 498.883, 1366.414, 6, 10000)
43@ = 8

:CASIN10_13046
if 
  43@ == 8
goto_if_false @CASIN10_13144
if 
  Char.LocateOnFoot3D(40@, -791.045, 498.883, 1366.414, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_13144
Task.FollowPathNodesToCoord(40@, -791.81, 492.473, 1366.414, 6, 10000)
43@ = 9

:CASIN10_13144
if 
  43@ == 9
goto_if_false @CASIN10_13242
if 
  Char.LocateOnFoot3D(40@, -791.81, 492.473, 1366.414, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_13242
Task.FollowPathNodesToCoord(40@, -798.194, 492.462, 1366.274, 6, 10000)
43@ = 10

:CASIN10_13242
if 
  43@ == 10
goto_if_false @CASIN10_13340
if 
  Char.LocateOnFoot3D(40@, -798.194, 492.462, 1366.274, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_13340
Task.FollowPathNodesToCoord(40@, -799.081, 503.71, 1361.913, 6, 10000)
43@ = 11

:CASIN10_13340
if 
  43@ == 11
goto_if_false @CASIN10_13438
if 
  Char.LocateOnFoot3D(40@, -799.081, 503.71, 1361.913, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_13438
Task.FollowPathNodesToCoord(40@, -821.412, 504.901, 1357.35, 6, 10000)
43@ = 12

:CASIN10_13438
if 
  43@ == 12
goto_if_false @CASIN10_13631
if 
  Char.LocateOnFoot3D(40@, -821.412, 504.901, 1357.358, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_13631
124@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, -830.889, 501.107, 1357.374, 6, -1)
Task.FollowPathNodesToCoord(-1, -830.711, 498.369, 1357.385, 6, -1)
Task.AchieveHeading(-1, 260.984)
Sequence.Close(124@)
if 
  not Char.IsDead(40@)
goto_if_false @CASIN10_13612
Char.PerformSequence(40@, 124@)
Sequence.Clear(124@)
43@ = 13
goto @CASIN10_13631

:CASIN10_13612
Blip.Remove(41@)
152@ += 1
42@ = 1

:CASIN10_13631
if 
  43@ == 13
goto_if_false @CASIN10_13768
if 
  Char.LocateOnFoot3D(40@, -830.711, 498.369, 1357.385, 0.5, 0.5, 2.0, False)
goto_if_false @CASIN10_13768
if 
  not Char.IsDead(40@)
goto_if_false @CASIN10_13749
Task.StayInSamePlace(40@, True)
Task.ToggleDuck(40@, True)
Task.KillCharOnFoot(40@, $stattreadstamina_ctr)
43@ = 14
goto @CASIN10_13768

:CASIN10_13749
Blip.Remove(41@)
152@ += 1
42@ = 1

:CASIN10_13768
goto @CASIN10_10900

:CASIN10_13775
wait 3000
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:CASIN10_13816
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_13840
wait 0
goto @CASIN10_13816

:CASIN10_13840
Player.MakeGangDisappear
if 
  118@ == 0
goto_if_false @CASIN10_13867
gosub @CASIN10_19307

:CASIN10_13867
Char.Delete(87@)
Char.Delete(90@)
Char.Delete(93@)
Char.Delete(120@)
Char.Delete(121@)
Char.Delete(122@)
Car.Delete(123@)
Streaming.MarkModelAsNoLongerNeeded(405)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(420)
Streaming.MarkModelAsNoLongerNeeded(17)
Streaming.MarkModelAsNoLongerNeeded(150)
Streaming.RemoveAnimation("SWAT")
Char.RemoveElegantly(40@)
Streaming.UnloadSpecialCharacter(1)
Streaming.RequestModel(519)
Streaming.RequestCarRecording(601)
Streaming.LoadAllModelsNow

:CASIN10_13977
if or
  not Streaming.HasModelLoaded(519)
  not Streaming.HasCarRecordingBeenLoaded(601)
goto_if_false @CASIN10_14009
wait 0
goto @CASIN10_13977

:CASIN10_14009
Streaming.SetAreaVisible(0)
Game.SetIsInStadium(False)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Text.ClearHelp
Text.ClearPrints
112@ = Car.Create(519, 7500.0, 2478.34, 200.0)
Plane.StartsInAir(112@)
Car.SetOnlyDamagedByPlayer(112@, True)
Car.SetProofs(112@, True, True, True, True, True)
Car.SetHeading(112@, 110.0)
Plane.SetUndercarriageUp(112@, True)
Char.WarpIntoCar($stattreadstamina_ctr, 112@)
Car.StartPlayback(112@, 601)
Camera.SetFixedPosition(8867.637, 1581.89, 193.188, 0.0, 0.0, 0.0)
Camera.PointAtPoint(8867.605, 1582.883, 193.0727, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:CASIN10_14181
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_14205
wait 0
goto @CASIN10_14181

:CASIN10_14205
skip_cutscene_start_internal @CASIN10_14288
TIMERA = 0

:CASIN10_14219
if 
  2800 > TIMERA
goto_if_false @CASIN10_14288
wait 0
if 
  Car.IsDead(112@)
goto_if_false @CASIN10_14281
Text.PrintNow('CM10_17', 8000, 1)
goto @CASIN10_15190

:CASIN10_14281
goto @CASIN10_14219

:CASIN10_14288
skip_cutscene_end 
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.Out)

:CASIN10_14305
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_14329
wait 0
goto @CASIN10_14305

:CASIN10_14329
if 
  not Car.IsDead(112@)
goto_if_false @CASIN10_14366
if 
  Car.IsPlaybackGoingOn(112@)
goto_if_false @CASIN10_14366
Car.StopPlayback(112@)

:CASIN10_14366
Streaming.RemoveCarRecording(601)
if 
  not Car.IsDead(112@)
goto_if_false @CASIN10_14458
Car.SetCoordinates(112@, 7500.0, 2478.34, 200.0)
Car.FreezePosition(112@, True)
Plane.StartsInAir(112@)
Car.SetOnlyDamagedByPlayer(112@, False)
Car.SetProofs(112@, False, False, False, False, False)
Car.SetHeading(112@, 110.0)
Plane.SetUndercarriageUp(112@, True)

:CASIN10_14458
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.MakeGangReappear
Camera.SetFadingColor(0, 0, 0)
Game.HideAllFrontendBlips(False)
Game.SetMaxWantedLevel(6)
Camera.DoFade(500, Fade.In)
Hud.SwitchWidescreen(False)

:CASIN10_14491
if 
  Camera.GetFadingStatus
goto_if_false @CASIN10_14515
wait 0
goto @CASIN10_14491

:CASIN10_14515
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
if 
  not Car.IsDead(112@)
goto_if_false @CASIN10_14576
Car.FreezePosition(112@, False)
Car.SetForwardSpeed(112@, 30.0)
goto @CASIN10_14599

:CASIN10_14576
Text.PrintNow('CM10_17', 8000, 1)
goto @CASIN10_15190

:CASIN10_14599
Text.PrintNow('CM10_19', 8000, 1)
130@ = Blip.AddForCoord(1477.225, 1640.364, 9.86)
Game.SetAlwaysDraw3DMarkers(True)
131@ = 0
132@ = 0
133@ = 0
134@ = 1
gosub @CASIN10_47
129@ = 0

:CASIN10_14681
if or
  not Car.IsStoppedInArea3D(112@, 1636.319, 1144.478, 7.0, 1261.411, 1780.672, 14.0, False)
  not Char.IsInArea3D($stattreadstamina_ctr, 1636.319, 1144.478, 7.0, 1261.411, 1780.672, 14.0, False)
goto_if_false @CASIN10_15159
wait 0
if 
  Car.IsDead(112@)
goto_if_false @CASIN10_14826
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Text.PrintNow('CM10_17', 8000, 1)
goto @CASIN10_15190
goto @CASIN10_15152

:CASIN10_14826
if 
  Char.IsInCar($stattreadstamina_ctr, 112@)
goto_if_false @CASIN10_15028
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 1477.225, 1640.364, 9.86, 350.0, 350.0, 500.0, False)
goto_if_false @CASIN10_14900
gosub @CASIN10_20310

:CASIN10_14900
if 
  not Car.IsStoppedInArea3D(112@, 1636.319, 1144.478, 7.0, 1261.411, 1780.672, 14.0, False)
goto_if_false @CASIN10_15021
if 
  129@ == 1
goto_if_false @CASIN10_15021
Text.PrintNow('CM10_19', 8000, 1)
130@ = Blip.AddForCoord(1477.225, 1640.364, 9.86)
Blip.Remove(113@)
$sweet = 1
129@ = 0

:CASIN10_15021
goto @CASIN10_15152

:CASIN10_15028
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  not Car.IsStoppedInArea3D(112@, 1636.319, 1144.478, 7.0, 1261.411, 1780.672, 14.0, False)
goto_if_false @CASIN10_15152
if 
  129@ == 0
goto_if_false @CASIN10_15152
Blip.Remove(130@)
113@ = Blip.AddForCar(112@)
Blip.SetAsFriendly(34@, True)
Text.PrintNow('IN_VEH', 5000, 1)
$sweet = 0
129@ = 1

:CASIN10_15152
goto @CASIN10_14681

:CASIN10_15159
Blip.Remove(130@)
Blip.Remove(113@)
Game.SetAlwaysDraw3DMarkers(False)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
goto @CASIN10_15339

:CASIN10_15190
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if or
  Char.IsInWater($stattreadstamina_ctr)
  Car.IsInWater(112@)
goto_if_false @CASIN10_15249
Skip.SetUpAfterMission(2149.609, 1681.117, 9.82, 90.0)

:CASIN10_15249
if 
  Char.IsInAir($stattreadstamina_ctr)
goto_if_false @CASIN10_15337
if 
  not Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @CASIN10_15337
if 
  not Player.IsUsingJetpack($statbike_temp)
goto_if_false @CASIN10_15337
if 
  $flag_returned_shoehorses <= 0
goto_if_false @CASIN10_15337
Skip.SetUpAfterMission(2149.609, 1681.117, 9.82, 90.0)

:CASIN10_15337
return 

:CASIN10_15339
$desertX += 1
Stat.RegisterMissionPassed('CASIN10')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSS', 20000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 20000)
Stat.AwardPlayerMissionRespect(35)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Blip.Remove($doc_blip_icon)
Stat.SetInt(StatId.CitiesPassed, 3)
start_new_script @MANSION 
Blip.Remove($desert_blip_icon)
$desert_blip_icon = Blip.AddSpriteForContactPoint($TheheistY, $TheheistZ, $vcrashX, $pilot_contact_blip)
Blip.SetEntryExit($desert_blip_icon, 2026.603, 1007.735, 20.0)
terminate_all_scripts_with_this_name 'MOBLA2'
start_new_script @MOB_LA2 
Stat.SetInt(StatId.PassedCasino10, 1)
return 

:CASIN10_15491
Game.SetMaxWantedLevel(6)
Game.SetWantedMultiplier(1.0)
Char.RemoveElegantly(40@)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Path.SwitchRoadsBackToOriginal(2095.35, 1734.179, 8.0, 2337.495, 1524.991, 15.0)
Path.SwitchPedRoadsBackToOriginal(2095.35, 1734.179, 8.0, 2337.495, 1524.991, 15.0)
Sequence.Clear(75@)
Sequence.Clear(79@)
Sequence.Clear(97@)
Sequence.Clear(98@)
Sequence.Clear(96@)
Sequence.Clear(162@)
Sequence.Clear(67@)
Sequence.Clear(71@)
Sequence.Clear(38@)
Sequence.Clear(39@)
Sequence.Clear(124@)
Blip.Remove(41@)
Blip.Remove(34@)
Blip.Remove(35@)
Blip.Remove(126@)
Blip.Remove(113@)
Blip.Remove(130@)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(519)
Streaming.MarkModelAsNoLongerNeeded(405)
Streaming.MarkModelAsNoLongerNeeded(420)
Streaming.MarkModelAsNoLongerNeeded(17)
Streaming.MarkModelAsNoLongerNeeded(150)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
DecisionMaker.Remove(105@)
DecisionMaker.Remove(110@)
Streaming.RemoveCarRecording(601)
Streaming.RemoveCarRecording(602)
Streaming.RemoveCarRecording(603)
Streaming.RemoveAnimation("SWAT")
Game.SetAlwaysDraw3DMarkers(False)
Game.SetIsInStadium(False)
Mission.Finish
return 

:CASIN10_15776
if 
  42@ == 0
goto_if_false @CASIN10_15829
if 
  Char.IsDead(40@)
goto_if_false @CASIN10_15829
Blip.Remove(41@)
152@ += 1
42@ = 1

:CASIN10_15829
if 
  48@ == 0
goto_if_false @CASIN10_16104
if 
  Char.IsDead(47@)
goto_if_false @CASIN10_15884
152@ += 1
48@ = 1
goto @CASIN10_16104

:CASIN10_15884
if 
  116@ == 1
goto_if_false @CASIN10_16104
if 
  42@ == 0
goto_if_false @CASIN10_16020
if 
  49@ == 0
goto_if_false @CASIN10_16013
if 
  not Char.IsInArea3D($stattreadstamina_ctr, -796.172, 488.58, 1370.0, -777.902, 498.668, 1378.235, False)
goto_if_false @CASIN10_16013
Char.ClearTasks(47@)
Task.StayInSamePlace(47@, True)
Task.KillCharOnFoot(47@, $stattreadstamina_ctr)
49@ = 1

:CASIN10_16013
goto @CASIN10_16104

:CASIN10_16020
if 
  49@ == 1
goto_if_false @CASIN10_16059
Task.StayInSamePlace(47@, False)
49@ = 2
goto @CASIN10_16104

:CASIN10_16059
if 
  49@ <> 2
goto_if_false @CASIN10_16104
Char.ClearTasks(47@)
Task.StayInSamePlace(47@, False)
Task.KillCharOnFoot(47@, $stattreadstamina_ctr)
49@ = 2

:CASIN10_16104
if 
  51@ == 0
goto_if_false @CASIN10_16379
if 
  Char.IsDead(50@)
goto_if_false @CASIN10_16159
152@ += 1
51@ = 1
goto @CASIN10_16379

:CASIN10_16159
if 
  116@ == 1
goto_if_false @CASIN10_16379
if 
  42@ == 0
goto_if_false @CASIN10_16295
if 
  52@ == 0
goto_if_false @CASIN10_16288
if 
  not Char.IsInArea3D($stattreadstamina_ctr, -796.172, 488.58, 1370.0, -777.902, 498.668, 1378.235, False)
goto_if_false @CASIN10_16288
Char.ClearTasks(50@)
Task.StayInSamePlace(50@, True)
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)
52@ = 1

:CASIN10_16288
goto @CASIN10_16379

:CASIN10_16295
if 
  52@ == 1
goto_if_false @CASIN10_16334
Task.StayInSamePlace(50@, False)
52@ = 2
goto @CASIN10_16379

:CASIN10_16334
if 
  52@ <> 2
goto_if_false @CASIN10_16379
Char.ClearTasks(50@)
Task.StayInSamePlace(50@, False)
Task.KillCharOnFoot(50@, $stattreadstamina_ctr)
52@ = 2

:CASIN10_16379
if 
  54@ == 0
goto_if_false @CASIN10_16484
if 
  Char.IsDead(53@)
goto_if_false @CASIN10_16434
152@ += 1
54@ = 1
goto @CASIN10_16484

:CASIN10_16434
if 
  42@ == 1
goto_if_false @CASIN10_16484
if 
  2 > 55@
goto_if_false @CASIN10_16484
Task.StayInSamePlace(53@, False)
55@ = 2

:CASIN10_16484
if 
  57@ == 0
goto_if_false @CASIN10_16589
if 
  Char.IsDead(56@)
goto_if_false @CASIN10_16539
152@ += 1
57@ = 1
goto @CASIN10_16589

:CASIN10_16539
if 
  42@ == 1
goto_if_false @CASIN10_16589
if 
  2 > 58@
goto_if_false @CASIN10_16589
Task.StayInSamePlace(56@, False)
58@ = 2

:CASIN10_16589
if 
  60@ == 0
goto_if_false @CASIN10_16746
if 
  Char.IsDead(59@)
goto_if_false @CASIN10_16644
152@ += 1
60@ = 1
goto @CASIN10_16746

:CASIN10_16644
if 
  42@ == 1
goto_if_false @CASIN10_16746
if 
  61@ == 0
goto_if_false @CASIN10_16714
Char.ClearTasks(59@)
Task.StayInSamePlace(59@, False)
Task.KillCharOnFoot(59@, $stattreadstamina_ctr)
61@ = 1
goto @CASIN10_16746

:CASIN10_16714
if 
  2 > 61@
goto_if_false @CASIN10_16746
Task.StayInSamePlace(59@, False)
61@ = 2

:CASIN10_16746
if 
  63@ == 0
goto_if_false @CASIN10_16903
if 
  Char.IsDead(62@)
goto_if_false @CASIN10_16801
152@ += 1
63@ = 1
goto @CASIN10_16903

:CASIN10_16801
if 
  42@ == 1
goto_if_false @CASIN10_16903
if 
  64@ == 0
goto_if_false @CASIN10_16871
Char.ClearTasks(62@)
Task.StayInSamePlace(62@, False)
Task.KillCharOnFoot(62@, $stattreadstamina_ctr)
64@ = 1
goto @CASIN10_16903

:CASIN10_16871
if 
  2 > 64@
goto_if_false @CASIN10_16903
Task.StayInSamePlace(62@, False)
64@ = 2

:CASIN10_16903
if 
  66@ == 0
goto_if_false @CASIN10_17008
if 
  Char.IsDead(65@)
goto_if_false @CASIN10_16958
152@ += 1
66@ = 1
goto @CASIN10_17008

:CASIN10_16958
if 
  42@ == 1
goto_if_false @CASIN10_17008
if 
  68@ == 0
goto_if_false @CASIN10_17008
Task.StayInSamePlace(65@, False)
68@ = 1

:CASIN10_17008
if 
  70@ == 0
goto_if_false @CASIN10_17113
if 
  Char.IsDead(69@)
goto_if_false @CASIN10_17063
152@ += 1
70@ = 1
goto @CASIN10_17113

:CASIN10_17063
if 
  42@ == 1
goto_if_false @CASIN10_17113
if 
  72@ == 0
goto_if_false @CASIN10_17113
Task.StayInSamePlace(69@, False)
72@ = 1

:CASIN10_17113
if 
  74@ == 0
goto_if_false @CASIN10_17231
if 
  Char.IsDead(73@)
goto_if_false @CASIN10_17168
152@ += 1
74@ = 1
goto @CASIN10_17231

:CASIN10_17168
if 
  42@ == 1
goto_if_false @CASIN10_17231
if 
  76@ == 0
goto_if_false @CASIN10_17231
Char.ClearTasks(73@)
Task.StayInSamePlace(73@, False)
Task.KillCharOnFoot(73@, $stattreadstamina_ctr)
76@ = 1

:CASIN10_17231
if 
  78@ == 0
goto_if_false @CASIN10_17467
if 
  Char.IsDead(77@)
goto_if_false @CASIN10_17286
152@ += 1
78@ = 1
goto @CASIN10_17467

:CASIN10_17286
if 
  116@ == 1
goto_if_false @CASIN10_17467
if 
  42@ == 0
goto_if_false @CASIN10_17422
if 
  80@ == 0
goto_if_false @CASIN10_17415
if 
  not Char.IsInArea3D($stattreadstamina_ctr, -778.0, 486.0, 1370.0, -797.0, 500.0, 1380.0, False)
goto_if_false @CASIN10_17415
Char.ClearTasks(77@)
Task.StayInSamePlace(77@, False)
Task.KillCharOnFoot(77@, $stattreadstamina_ctr)
80@ = 1

:CASIN10_17415
goto @CASIN10_17467

:CASIN10_17422
if 
  80@ == 0
goto_if_false @CASIN10_17467
Char.ClearTasks(77@)
Task.StayInSamePlace(77@, False)
Task.KillCharOnFoot(77@, $stattreadstamina_ctr)
80@ = 1

:CASIN10_17467
if 
  82@ == 0
goto_if_false @CASIN10_17831
if 
  Char.IsDead(81@)
goto_if_false @CASIN10_17522
152@ += 1
82@ = 1
goto @CASIN10_17831

:CASIN10_17522
if 
  116@ == 1
goto_if_false @CASIN10_17831
if 
  42@ == 0
goto_if_false @CASIN10_17786
if 
  Char.IsInArea3D($stattreadstamina_ctr, -781.646, 498.659, 1374.0, -780.146, 487.315, 1378.0, False)
goto_if_false @CASIN10_17734
if 
  83@ == 0
goto_if_false @CASIN10_17646
set_lvar_int_to_lvar_int 100@ = 81@
gosub @CASIN10_18719
83@ = 1

:CASIN10_17646
if 
  83@ == 1
goto_if_false @CASIN10_17727
if 
  Char.HasBeenDamagedByWeapon(81@, WeaponType.AnyWeapon)
goto_if_false @CASIN10_17727
if 
  83@ == 1
goto_if_false @CASIN10_17727
Char.ClearTasks(81@)
Task.StayInSamePlace(81@, False)
Task.KillCharOnFoot(81@, $stattreadstamina_ctr)
83@ = 2

:CASIN10_17727
goto @CASIN10_17779

:CASIN10_17734
if 
  83@ == 1
goto_if_false @CASIN10_17779
Char.ClearTasks(81@)
Task.StayInSamePlace(81@, False)
Task.KillCharOnFoot(81@, $stattreadstamina_ctr)
83@ = 2

:CASIN10_17779
goto @CASIN10_17831

:CASIN10_17786
if 
  83@ <> 2
goto_if_false @CASIN10_17831
Char.ClearTasks(81@)
Task.StayInSamePlace(81@, False)
Task.KillCharOnFoot(81@, $stattreadstamina_ctr)
83@ = 2

:CASIN10_17831
if 
  85@ == 0
goto_if_false @CASIN10_18246
if 
  Char.IsDead(84@)
goto_if_false @CASIN10_17886
152@ += 1
85@ = 1
goto @CASIN10_18246

:CASIN10_17886
if 
  116@ == 1
goto_if_false @CASIN10_18246
if 
  42@ == 0
goto_if_false @CASIN10_18201
if 
  Char.IsInArea3D($stattreadstamina_ctr, -781.646, 498.659, 1374.0, -780.146, 487.315, 1378.0, False)
goto_if_false @CASIN10_18149
if 
  86@ == 0
goto_if_false @CASIN10_18002
TIMERA = 0
86@ = 1

:CASIN10_18002
if 
  86@ == 1
goto_if_false @CASIN10_18061
if 
  TIMERA >= 800
goto_if_false @CASIN10_18061
set_lvar_int_to_lvar_int 100@ = 84@
gosub @CASIN10_18719
86@ = 2

:CASIN10_18061
if 
  86@ == 1
goto_if_false @CASIN10_18142
if 
  Char.HasBeenDamagedByWeapon(84@, WeaponType.AnyWeapon)
goto_if_false @CASIN10_18142
if 
  3 > 86@
goto_if_false @CASIN10_18142
Char.ClearTasks(84@)
Task.StayInSamePlace(84@, False)
Task.KillCharOnFoot(84@, $stattreadstamina_ctr)
86@ = 3

:CASIN10_18142
goto @CASIN10_18194

:CASIN10_18149
if 
  86@ == 2
goto_if_false @CASIN10_18194
Char.ClearTasks(84@)
Task.StayInSamePlace(84@, False)
Task.KillCharOnFoot(84@, $stattreadstamina_ctr)
86@ = 3

:CASIN10_18194
goto @CASIN10_18246

:CASIN10_18201
if 
  3 > 86@
goto_if_false @CASIN10_18246
Char.ClearTasks(84@)
Task.StayInSamePlace(84@, False)
Task.KillCharOnFoot(84@, $stattreadstamina_ctr)
86@ = 3

:CASIN10_18246
if 
  88@ == 0
goto_if_false @CASIN10_18403
if 
  Char.IsDead(87@)
goto_if_false @CASIN10_18301
152@ += 1
88@ = 1
goto @CASIN10_18403

:CASIN10_18301
if 
  42@ == 1
goto_if_false @CASIN10_18403
if 
  89@ == 0
goto_if_false @CASIN10_18371
Char.ClearTasks(87@)
Task.StayInSamePlace(87@, False)
Task.KillCharOnFoot(87@, $stattreadstamina_ctr)
89@ = 1
goto @CASIN10_18403

:CASIN10_18371
if 
  2 > 89@
goto_if_false @CASIN10_18403
Task.StayInSamePlace(87@, False)
89@ = 2

:CASIN10_18403
if 
  91@ == 0
goto_if_false @CASIN10_18560
if 
  Char.IsDead(90@)
goto_if_false @CASIN10_18458
152@ += 1
91@ = 1
goto @CASIN10_18560

:CASIN10_18458
if 
  42@ == 1
goto_if_false @CASIN10_18560
if 
  92@ == 0
goto_if_false @CASIN10_18528
Char.ClearTasks(90@)
Task.StayInSamePlace(90@, False)
Task.KillCharOnFoot(90@, $stattreadstamina_ctr)
92@ = 1
goto @CASIN10_18560

:CASIN10_18528
if 
  2 > 92@
goto_if_false @CASIN10_18560
Task.StayInSamePlace(90@, False)
92@ = 2

:CASIN10_18560
if 
  94@ == 0
goto_if_false @CASIN10_18717
if 
  Char.IsDead(93@)
goto_if_false @CASIN10_18615
152@ += 1
94@ = 1
goto @CASIN10_18717

:CASIN10_18615
if 
  42@ == 1
goto_if_false @CASIN10_18717
if 
  95@ == 0
goto_if_false @CASIN10_18685
Char.ClearTasks(93@)
Task.StayInSamePlace(93@, False)
Task.KillCharOnFoot(93@, $stattreadstamina_ctr)
95@ = 1
goto @CASIN10_18717

:CASIN10_18685
if 
  2 > 95@
goto_if_false @CASIN10_18717
Task.StayInSamePlace(93@, False)
95@ = 2

:CASIN10_18717
return 

:CASIN10_18719
96@ = Sequence.Open()
Task.PlayAnim(-1, "SWT_WLLPK_R", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SWT_WLLSHOOT_IN_R", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 1500)
Task.StayInSamePlace(-1, False)
Task.PlayAnim(-1, "SWT_WLLSHOOT_OUT_R", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnim(-1, "SWT_WLLPK_R_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(96@, True)
Sequence.Close(96@)
Char.PerformSequence(100@, 96@)
Sequence.Clear(96@)
return 

:CASIN10_18943
97@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.FollowPathNodesToCoord(-1, -788.611, 497.731, 1375.227, 6, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(97@)
if 
  not Char.IsDead(101@)
goto_if_false @CASIN10_19019
Char.PerformSequence(101@, 97@)

:CASIN10_19019
Sequence.Clear(97@)
return 

:CASIN10_19026
98@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.FollowPathNodesToCoord(-1, -789.542, 495.862, 1376.235, 6, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(98@)
if 
  not Char.IsDead(102@)
goto_if_false @CASIN10_19102
Char.PerformSequence(102@, 98@)

:CASIN10_19102
Sequence.Clear(98@)
return 

:CASIN10_19109
38@ = Sequence.Open()
Task.PlayAnim(-1, "CROUCH_ROLL_L", "PED", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(38@)
if 
  not Char.IsDead(103@)
goto_if_false @CASIN10_19201
Char.PerformSequence(103@, 38@)

:CASIN10_19201
Sequence.Clear(38@)
return 

:CASIN10_19208
39@ = Sequence.Open()
Task.PlayAnim(-1, "CROUCH_ROLL_R", "PED", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(39@)
if 
  not Char.IsDead(104@)
goto_if_false @CASIN10_19300
Char.PerformSequence(104@, 39@)

:CASIN10_19300
Sequence.Clear(39@)
return 

:CASIN10_19307
if 
  48@ == 0
goto_if_false @CASIN10_19360
if 
  not Char.IsDead(47@)
goto_if_false @CASIN10_19360
Char.Delete(47@)
152@ += 1
48@ = 1

:CASIN10_19360
if 
  51@ == 0
goto_if_false @CASIN10_19413
if 
  not Char.IsDead(50@)
goto_if_false @CASIN10_19413
Char.Delete(50@)
152@ += 1
51@ = 1

:CASIN10_19413
if 
  54@ == 0
goto_if_false @CASIN10_19466
if 
  not Char.IsDead(53@)
goto_if_false @CASIN10_19466
Char.Delete(53@)
152@ += 1
54@ = 1

:CASIN10_19466
if 
  57@ == 0
goto_if_false @CASIN10_19519
if 
  not Char.IsDead(56@)
goto_if_false @CASIN10_19519
Char.Delete(56@)
152@ += 1
57@ = 1

:CASIN10_19519
if 
  60@ == 0
goto_if_false @CASIN10_19572
if 
  not Char.IsDead(59@)
goto_if_false @CASIN10_19572
Char.Delete(59@)
152@ += 1
60@ = 1

:CASIN10_19572
if 
  63@ == 0
goto_if_false @CASIN10_19625
if 
  not Char.IsDead(62@)
goto_if_false @CASIN10_19625
Char.Delete(62@)
152@ += 1
63@ = 1

:CASIN10_19625
if 
  66@ == 0
goto_if_false @CASIN10_19678
if 
  not Char.IsDead(65@)
goto_if_false @CASIN10_19678
Char.Delete(65@)
152@ += 1
66@ = 1

:CASIN10_19678
if 
  70@ == 0
goto_if_false @CASIN10_19731
if 
  not Char.IsDead(69@)
goto_if_false @CASIN10_19731
Char.Delete(69@)
152@ += 1
70@ = 1

:CASIN10_19731
if 
  74@ == 0
goto_if_false @CASIN10_19784
if 
  not Char.IsDead(73@)
goto_if_false @CASIN10_19784
Char.Delete(73@)
152@ += 1
74@ = 1

:CASIN10_19784
if 
  78@ == 0
goto_if_false @CASIN10_19837
if 
  not Char.IsDead(77@)
goto_if_false @CASIN10_19837
Char.Delete(77@)
152@ += 1
78@ = 1

:CASIN10_19837
if 
  82@ == 0
goto_if_false @CASIN10_19890
if 
  not Char.IsDead(81@)
goto_if_false @CASIN10_19890
Char.Delete(81@)
152@ += 1
82@ = 0

:CASIN10_19890
if 
  85@ == 0
goto_if_false @CASIN10_19943
if 
  not Char.IsDead(84@)
goto_if_false @CASIN10_19943
Char.Delete(84@)
152@ += 1
85@ = 1

:CASIN10_19943
118@ = 1
return 

:CASIN10_19952
Car.CustomPlateForNextCar(405, "_4GEDIT_")
123@ = Car.Create(405, -831.107, 503.678, 1357.348)
Car.ChangeColor(123@, 24, 24)
Car.SetHeading(123@, 292.606)
Car.LockDoors(123@, CarLock.Locked)
Car.SetAreaVisible(123@, 1)
120@ = Char.Create(PedType.Mission1, 126, -816.005, 493.329, 1358.293)
Char.SetAllowedToDuck(120@, False)
Char.GiveWeapon(120@, WeaponType.MicroUzi, 30000)
Char.SetHeading(120@, 302.139)
Char.SetDecisionMaker(120@, 106@)
Task.StayInSamePlace(120@, True)
Task.KillCharOnFoot(120@, $stattreadstamina_ctr)
Char.SetAccuracy(120@, 80)
Char.SetShootRate(120@, 50)
121@ = Char.Create(PedType.Mission1, 124, -821.268, 508.167, 1358.273)
Char.SetAllowedToDuck(121@, False)
Char.GiveWeapon(121@, WeaponType.MicroUzi, 30000)
Char.SetHeading(121@, 234.012)
Char.SetDecisionMaker(121@, 106@)
Task.ToggleDuck(121@, True)
Task.StayInSamePlace(121@, True)
Task.KillCharOnFoot(121@, $stattreadstamina_ctr)
Char.SetAccuracy(121@, 50)
Char.SetShootRate(121@, 80)
122@ = Char.Create(PedType.Mission1, 125, -828.77, 510.594, 1357.307)
Char.SetAllowedToDuck(122@, False)
Char.GiveWeapon(122@, WeaponType.MicroUzi, 30000)
Char.SetHeading(122@, 241.767)
Char.SetDecisionMaker(122@, 106@)
Task.ToggleDuck(122@, True)
Task.StayInSamePlace(122@, True)
Task.KillCharOnFoot(122@, $stattreadstamina_ctr)
Char.SetAccuracy(122@, 75)
Char.SetShootRate(122@, 50)
119@ = 1
return 

:CASIN10_20310
if or
  132@ == 0
  132@ == 1
goto_if_false @CASIN10_20361
if 
  is_int_var_greater_or_equal_to_int_lvar $1426 >= 131@
goto_if_false @CASIN10_20361
gosub @CASIN10_20419

:CASIN10_20361
if 
  132@ == 2
goto_if_false @CASIN10_20417
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @CASIN10_20417
132@ = 0
131@ += 1
133@ = 0
Text.ClearPrints

:CASIN10_20417
return 

:CASIN10_20419
if 
  132@ == 0
goto_if_false @CASIN10_20455
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 135@(131@,17i))
132@ = 1

:CASIN10_20455
if 
  132@ == 1
goto_if_false @CASIN10_20513
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @CASIN10_20513
Text.PrintNow($7766(131@,17s), 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
132@ = 2

:CASIN10_20513
return 

:CASIN10_20515
if 
  153@ == 0
goto_if_false @CASIN10_20620
if 
  Char.IsDead(120@)
goto_if_false @CASIN10_20570
152@ += 1
153@ = 1
goto @CASIN10_20620

:CASIN10_20570
if 
  42@ == 1
goto_if_false @CASIN10_20620
if 
  154@ == 0
goto_if_false @CASIN10_20620
Char.SetStayInSamePlace(120@, False)
154@ = 1

:CASIN10_20620
if 
  155@ == 0
goto_if_false @CASIN10_20725
if 
  Char.IsDead(121@)
goto_if_false @CASIN10_20675
152@ += 1
155@ = 1
goto @CASIN10_20725

:CASIN10_20675
if 
  42@ == 1
goto_if_false @CASIN10_20725
if 
  156@ == 0
goto_if_false @CASIN10_20725
Char.SetStayInSamePlace(121@, False)
156@ = 1

:CASIN10_20725
if 
  157@ == 0
goto_if_false @CASIN10_20830
if 
  Char.IsDead(122@)
goto_if_false @CASIN10_20780
152@ += 1
157@ = 1
goto @CASIN10_20830

:CASIN10_20780
if 
  42@ == 1
goto_if_false @CASIN10_20830
if 
  158@ == 0
goto_if_false @CASIN10_20830
Char.SetStayInSamePlace(122@, False)
158@ = 1

:CASIN10_20830
return 

//-------------Mission 93---------------
// Originally: Misappropriation

:VCRASH1
gosub @VCRASH1_36
if 
  has_deatharrest_been_executed 
goto_if_false @VCRASH1_27
gosub @VCRASH1_7873

:VCRASH1_27
gosub @VCRASH1_8041
terminate_this_script 

:VCRASH1_36
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
script_name 'VCRASH1'
wait 0
Text.LoadMissionText('VCR1')
Player.MakeGangDisappear
Cutscene.Load('CRASHV1')

:VCRASH1_84
if 
  not Cutscene.HasLoaded
goto_if_false @VCRASH1_108
wait 0
goto @VCRASH1_84

:VCRASH1_108
Weather.ForceNow(WeatherType.ExtraSunnyVegas)
Cutscene.Start
World.ClearArea(1653.347, 2668.373, 10.8203, 10.0, False)
Camera.DoFade(1000, Fade.In)

:VCRASH1_145
if 
  not Cutscene.HasFinished
goto_if_false @VCRASH1_169
wait 0
goto @VCRASH1_145

:VCRASH1_169
Camera.DoFade(0, Fade.Out)

:VCRASH1_175
if 
  Camera.GetFadingStatus
goto_if_false @VCRASH1_199
wait 0
goto @VCRASH1_175

:VCRASH1_199
Cutscene.Clear

:VCRASH1_201
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @VCRASH1_228
wait 0
goto @VCRASH1_201

:VCRASH1_228
World.ClearArea(1599.09, 2667.725, 9.8203, 0.5, False)
Streaming.LoadScene(1599.09, 2667.725, 9.8203)
Char.SetCoordinates($stattreadstamina_ctr, 1599.09, 2667.725, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Camera.SetBehindPlayer
Weather.Release
Player.MakeGangReappear
Camera.DoFade(1000, Fade.In)

:VCRASH1_312
if 
  Camera.GetFadingStatus
goto_if_false @VCRASH1_336
wait 0
goto @VCRASH1_312

:VCRASH1_336
Restart.SetRespawnPointForDurationOfMission(1599.09, 2667.725, 9.8203)
Text.PrintNow('VCR1__1', 15000, 1)
34@ = Blip.AddForCoord(-1306.191, 2532.48, 86.7332)
Blip.ChangeColor(34@, BlipColor.Red)
59@ = 0
60@ = 0
61@ = 0
49@ = 0

:VCRASH1_424
if 
  10 > 49@
goto_if_false @VCRASH1_467
62@(49@,10i) = 0
49@ += 1
goto @VCRASH1_424

:VCRASH1_467
36@ = 0
72@ = 0
73@ = 0
if 
  36@ == 1
goto_if_false @VCRASH1_525
106@ = Pickup.Create(#BRIEFCASE, PickupType.Once, 103@, 104@, 105@)

:VCRASH1_525
Char.SetRelationship($stattreadstamina_ctr, RelationshipType.Hate, PedType.Mission1)
if 
  $2883 == 1
goto_if_false @VCRASH1_574
Skip.SetUp(-1346.614, 2304.482, 93.539, 4.8156)

:VCRASH1_574
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @VCRASH1_601
goto @VCRASH1_574

:VCRASH1_601
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @VCRASH1_623
goto @VCRASH1_7980

:VCRASH1_623
$RStickY = Clock.GetGameTimer()
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2511.364, 2388.914, 6.2421, 38.6, 26.4, 3.4, False)
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1306.191, 2532.48, 200.0, 200.0, False)
goto_if_false @VCRASH1_710
Player.AlterWantedLevel($statbike_temp, 0)

:VCRASH1_710
if 
  36@ == 0
goto_if_false @VCRASH1_3167
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -1306.191, 2532.48, 250.0, 250.0, False)
goto_if_false @VCRASH1_3167
44@ = 0
if 
  not Streaming.HasModelLoaded(487)
goto_if_false @VCRASH1_801
Streaming.RequestModel(487)
goto @VCRASH1_808

:VCRASH1_801
44@ += 1

:VCRASH1_808
if 
  not Streaming.HasModelLoaded(500)
goto_if_false @VCRASH1_836
Streaming.RequestModel(500)
goto @VCRASH1_843

:VCRASH1_836
44@ += 1

:VCRASH1_843
if 
  not Streaming.HasModelLoaded(490)
goto_if_false @VCRASH1_871
Streaming.RequestModel(490)
goto @VCRASH1_878

:VCRASH1_871
44@ += 1

:VCRASH1_878
if 
  not Streaming.HasModelLoaded(468)
goto_if_false @VCRASH1_906
Streaming.RequestModel(468)
goto @VCRASH1_913

:VCRASH1_906
44@ += 1

:VCRASH1_913
if 
  not Streaming.HasModelLoaded(402)
goto_if_false @VCRASH1_941
Streaming.RequestModel(402)
goto @VCRASH1_948

:VCRASH1_941
44@ += 1

:VCRASH1_948
if 
  not Streaming.HasModelLoaded(355)
goto_if_false @VCRASH1_976
Streaming.RequestModel(355)
goto @VCRASH1_983

:VCRASH1_976
44@ += 1

:VCRASH1_983
if 
  not Streaming.HasModelLoaded(286)
goto_if_false @VCRASH1_1011
Streaming.RequestModel(286)
goto @VCRASH1_1018

:VCRASH1_1011
44@ += 1

:VCRASH1_1018
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @VCRASH1_1046
Streaming.RequestModel(147)
goto @VCRASH1_1053

:VCRASH1_1046
44@ += 1

:VCRASH1_1053
if 
  not Streaming.HasModelLoaded(352)
goto_if_false @VCRASH1_1081
Streaming.RequestModel(352)
goto @VCRASH1_1088

:VCRASH1_1081
44@ += 1

:VCRASH1_1088
if 
  not Streaming.HasCarRecordingBeenLoaded(114)
goto_if_false @VCRASH1_1114
Streaming.RequestCarRecording(114)
goto @VCRASH1_1121

:VCRASH1_1114
44@ += 1

:VCRASH1_1121
if 
  not Streaming.HasCarRecordingBeenLoaded(109)
goto_if_false @VCRASH1_1147
Streaming.RequestCarRecording(109)
goto @VCRASH1_1154

:VCRASH1_1147
44@ += 1

:VCRASH1_1154
if 
  44@ == 11
goto_if_false @VCRASH1_3167
$2883 = 1
74@ = Car.Create(487, -1325.514, 2559.87, 87.6329)
Car.SetHeading(74@, 90.0)
Car.LockDoors(74@, CarLock.LockoutPlayerOnly)
Car.SetHealth(74@, 50000)
Car.SetProofs(74@, True, True, True, True, True)
Car.StartPlayback(74@, 114)
Car.SetPlaybackSpeed(74@, 0.0)
Heli.SetBladesFullSpeed(74@)
75@ = Car.Create(487, -1343.22, 2538.337, 87.0107)
Car.SetHeading(75@, 10.304)
Car.SetProofs(75@, True, True, True, True, True)
Streaming.MarkModelAsNoLongerNeeded(487)
76@ = Car.Create(500, -1304.416, 2498.821, 87.0571)
Streaming.MarkModelAsNoLongerNeeded(500)
Car.SetHeading(76@, 240.0877)
77@ = Car.Create(490, -1291.948, 2497.782, 87.1105)
Streaming.MarkModelAsNoLongerNeeded(490)
Car.SetHeading(77@, 107.4866)
78@ = Car.Create(468, -1311.13, 2512.169, 86.7085)
Car.SetHeading(78@, 177.3181)
79@ = Car.Create(468, -1308.107, 2542.577, 87.4072)
Streaming.MarkModelAsNoLongerNeeded(468)
Car.SetHeading(79@, 179.8761)
80@ = Char.Create(PedType.Mission1, 147, -1312.009, 2549.6, 86.7332)
Char.SetHeading(80@, 259.3965)
Char.GiveWeapon(80@, WeaponType.MicroUzi, 9999)
Char.SetInformRespectedFriends(80@, 30.0, 5)
Blip.Remove(34@)
34@ = Blip.AddForChar(80@)
Char.SetOnlyDamagedByPlayer(80@, True)
Char.SetHealth(80@, 200)
90@ = DecisionMakerChar.Copy(-1)
DecisionMakerChar.ClearEventResponse(90@, 31)
Char.SetDecisionMaker(80@, 90@)
91@ = 0
81@ = Char.Create(PedType.Mission1, 286, -1302.715, 2534.374, 86.7332)
Char.SetHeading(81@, 183.0002)
Char.GiveWeapon(81@, WeaponType.Ak47, 9999)
Task.TogglePedThreatScanner(81@, False, False, True)
Char.SetInformRespectedFriends(81@, 30.0, 8)
Char.SetRelationship(81@, RelationshipType.Hate, PedType.Player1)
Char.SetSenseRange(81@, 70.0)
Char.SetKeepTask(81@, True)
82@ = Char.Create(PedType.Mission1, 286, -1325.868, 2525.353, 89.2044)
Char.SetHeading(82@, 226.106)
Char.GiveWeapon(82@, WeaponType.Ak47, 9999)
Task.TogglePedThreatScanner(82@, False, False, True)
Char.SetInformRespectedFriends(82@, 30.0, 8)
Char.SetRelationship(82@, RelationshipType.Hate, PedType.Player1)
Char.SetSenseRange(82@, 70.0)
Char.SetKeepTask(82@, True)
83@ = Char.Create(PedType.Mission1, 286, -1303.204, 2530.197, 86.6889)
Char.SetHeading(83@, 4.8042)
Char.GiveWeapon(83@, WeaponType.Ak47, 9999)
Task.TogglePedThreatScanner(83@, False, False, True)
Char.SetInformRespectedFriends(83@, 30.0, 8)
Char.SetRelationship(83@, RelationshipType.Hate, PedType.Player1)
Char.SetSenseRange(83@, 70.0)
Char.SetKeepTask(83@, True)
84@ = Char.Create(PedType.Mission1, 286, -1315.783, 2502.167, 88.8673)
Char.SetHeading(84@, 242.7848)
Char.GiveWeapon(84@, WeaponType.Ak47, 9999)
Task.TogglePedThreatScanner(84@, False, False, True)
Char.SetInformRespectedFriends(84@, 30.0, 8)
Char.SetRelationship(84@, RelationshipType.Hate, PedType.Player1)
Char.SetSenseRange(84@, 70.0)
Char.SetKeepTask(84@, True)
85@ = Char.Create(PedType.Mission1, 286, -1299.54, 2555.919, 86.5877)
Char.GiveWeapon(85@, WeaponType.Ak47, 9999)
Task.TogglePedThreatScanner(85@, False, False, True)
Char.SetInformRespectedFriends(85@, 30.0, 8)
Char.SetRelationship(85@, RelationshipType.Hate, PedType.Player1)
Char.SetSenseRange(85@, 70.0)
Char.SetKeepTask(85@, True)
Path.FlushRoute
Path.ExtendRoute(-1299.54, 2555.919, 86.5877)
Path.ExtendRoute(-1310.96, 2556.232, 86.7332)
Path.ExtendRoute(-1311.968, 2538.963, 86.7332)
Path.ExtendRoute(-1321.357, 2531.076, 86.6104)
Path.ExtendRoute(-1321.043, 2522.5, 86.285)
Path.ExtendRoute(-1314.539, 2513.364, 86.0349)
Path.ExtendRoute(-1309.208, 2508.24, 86.0349)
Path.ExtendRoute(-1296.686, 2524.012, 86.4456)
Task.FollowPointRoute(85@, 4, RouteMode.Loop)
86@ = Char.Create(PedType.Mission1, 286, -1328.974, 2533.529, 86.409)
Char.GiveWeapon(86@, WeaponType.Ak47, 9999)
Task.TogglePedThreatScanner(86@, False, False, True)
Char.SetInformRespectedFriends(86@, 30.0, 8)
Char.SetRelationship(86@, RelationshipType.Hate, PedType.Player1)
Char.SetSenseRange(86@, 70.0)
Char.SetKeepTask(86@, True)
Path.FlushRoute
Path.ExtendRoute(-1328.974, 2533.529, 86.409)
Path.ExtendRoute(-1329.293, 2521.88, 86.0349)
Path.ExtendRoute(-1309.195, 2521.418, 86.3435)
Path.ExtendRoute(-1308.755, 2535.446, 86.7332)
Task.FollowPointRoute(86@, 4, RouteMode.Loop)
87@ = Char.Create(PedType.Mission1, 286, -1288.024, 2516.431, 86.1473)
Char.GiveWeapon(87@, WeaponType.Ak47, 9999)
Task.TogglePedThreatScanner(87@, False, False, True)
Char.SetInformRespectedFriends(87@, 30.0, 8)
Char.SetRelationship(87@, RelationshipType.Hate, PedType.Player1)
Char.SetSenseRange(87@, 70.0)
Char.SetKeepTask(87@, True)
Path.FlushRoute
Path.ExtendRoute(-1288.024, 2516.431, 86.1473)
Path.ExtendRoute(-1287.43, 2508.769, 86.0176)
Path.ExtendRoute(-1295.208, 2506.548, 85.9726)
Path.ExtendRoute(-1310.584, 2517.543, 86.191)
Path.ExtendRoute(-1311.336, 2524.432, 86.4621)
Path.ExtendRoute(-1305.55, 2521.813, 86.359)
Path.ExtendRoute(-1300.198, 2521.183, 86.3342)
Path.ExtendRoute(-1296.416, 2525.185, 86.4917)
Task.FollowPointRoute(87@, 4, RouteMode.BackForward)
88@ = Char.Create(PedType.Mission1, 286, -1294.97, 2499.619, 85.9347)
Char.SetHeading(88@, 102.9169)
Char.GiveWeapon(88@, WeaponType.Ak47, 9999)
Task.TogglePedThreatScanner(88@, False, False, True)
Char.SetInformRespectedFriends(88@, 30.0, 8)
Char.SetRelationship(88@, RelationshipType.Hate, PedType.Player1)
Char.SetSenseRange(88@, 70.0)
Char.SetKeepTask(88@, True)
89@ = Char.Create(PedType.Mission1, 286, -1296.548, 2499.436, 85.9413)
Char.SetHeading(89@, 281.057)
Char.GiveWeapon(89@, WeaponType.Ak47, 9999)
Task.TogglePedThreatScanner(89@, False, False, True)
Task.ChatWithChar(88@, 89@, True, 1)
Task.ChatWithChar(89@, 88@, False, 1)
Char.SetInformRespectedFriends(89@, 30.0, 12)
Char.SetRelationship(89@, RelationshipType.Hate, PedType.Player1)
Char.SetSenseRange(89@, 70.0)
Char.SetKeepTask(89@, True)
92@ = Car.Create(402, 2077.761, 2420.901, 48.5234)
Car.SetHeading(92@, 90.0)
Car.StartPlayback(92@, 109)
Car.SetPlaybackSpeed(92@, 0.0)
Car.SetProofs(92@, True, True, True, True, True)
Car.SetHealth(92@, 50000)
Car.LockDoors(92@, CarLock.LockoutPlayerOnly)
93@ = Car.Create(402, 2077.761, 2416.901, 48.5234)
Car.SetHeading(93@, 90.0)
Car.SetHealth(93@, 1750)
Car.LockDoors(93@, CarLock.LockoutPlayerOnly)
94@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1324.902, 2554.654, 87.8548, MoveState.Sprint, -2)
Task.EnterCarAsDriver(-1, 74@, 20000)
Sequence.Close(94@)
95@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoToCoordWhileShooting(-1, 2112.607, 2422.873, 59.8223, 7, 1.0, 0.5, $stattreadstamina_ctr)
Task.GoToCoordWhileShooting(-1, 2097.288, 2436.618, 59.8223, 7, 1.0, 0.5, $stattreadstamina_ctr)
Task.GoToCoordWhileShooting(-1, 2096.757, 2440.394, 59.8151, 7, 1.0, 0.5, $stattreadstamina_ctr)
Task.GoToCoordWhileShooting(-1, 2074.036, 2440.098, 48.5176, 7, 1.0, 0.5, $stattreadstamina_ctr)
Task.GoToCoordWhileShooting(-1, 2078.0, 2427.004, 48.5244, 7, 1.0, 0.5, $stattreadstamina_ctr)
Task.EnterCarAsDriver(-1, 92@, 20000)
Sequence.Close(95@)
36@ += 1

:VCRASH1_3167
if 
  72@ == 0
goto_if_false @VCRASH1_3253
if 
  62@(91@,10i) == 2
goto_if_false @VCRASH1_3253
Text.PrintNow('VCR1__7', 8000, 1)
CarGenerator.Switch($5193[7], 0)
set_lvar_int_to_var_int 37@ = $RStickY
37@ += 8000
72@ += 1

:VCRASH1_3253
if 
  72@ == 1
goto_if_false @VCRASH1_3401
if 
  1 > 61@
goto_if_false @VCRASH1_3401
if 
  is_int_var_greater_than_int_lvar $RStickY > 37@
goto_if_false @VCRASH1_3401
if 
  not Car.IsDead(75@)
goto_if_false @VCRASH1_3378
if 
  not Char.IsInAnyHeli($stattreadstamina_ctr)
goto_if_false @VCRASH1_3378
Text.PrintNow('VCR1__9', 6000, 1)
35@ = Blip.AddForCar(75@)
Blip.SetAsFriendly(35@, True)
Blip.ChangeDisplay(34@, BlipDisplay.MarkerOnly)

:VCRASH1_3378
set_lvar_int_to_var_int 37@ = $RStickY
37@ += 6000
72@ += 1

:VCRASH1_3401
if 
  72@ == 2
goto_if_false @VCRASH1_3583
if 
  is_int_var_greater_than_int_lvar $RStickY > 37@
goto_if_false @VCRASH1_3583
if 
  Char.IsInAnyHeli($stattreadstamina_ctr)
goto_if_false @VCRASH1_3551
Text.PrintNow('VCR1_10', 5000, 1)
if 
  not Car.IsDead(74@)
goto_if_false @VCRASH1_3501
Car.SetProofs(74@, False, False, False, False, False)

:VCRASH1_3501
if 
  not Car.IsDead(75@)
goto_if_false @VCRASH1_3532
Car.SetProofs(75@, False, False, False, False, False)

:VCRASH1_3532
Blip.ChangeDisplay(34@, BlipDisplay.Both)
Blip.Remove(35@)
72@ += 1

:VCRASH1_3551
if 
  Char.IsDead(80@(91@,10i))
goto_if_false @VCRASH1_3583
Blip.Remove(35@)
72@ += 1

:VCRASH1_3583
if 
  36@ > 0
goto_if_false @VCRASH1_6883
49@ = 0

:VCRASH1_3608
if 
  10 > 49@
goto_if_false @VCRASH1_6883
if 
  is_int_lvar_equal_to_int_lvar 49@ == 91@
goto_if_false @VCRASH1_6189
if 
  not Char.IsDead(80@(49@,10i))
goto_if_false @VCRASH1_5884
if 
  62@(91@,10i) == 0
goto_if_false @VCRASH1_3732
if 
  59@ > 0
goto_if_false @VCRASH1_3732
Char.PerformSequence(80@(91@,10i), 94@)
Game.SetArea51SamSite(False)
62@(91@,10i) += 1

:VCRASH1_3732
if 
  not Car.IsDead(74@)
goto_if_false @VCRASH1_4114
if 
  62@(91@,10i) == 1
goto_if_false @VCRASH1_3827
if 
  Char.IsInCar(80@(91@,10i), 74@)
goto_if_false @VCRASH1_3827
Car.SetHealth(74@, 1750)
Car.SetProofs(74@, False, False, False, False, False)
62@(91@,10i) += 1

:VCRASH1_3827
if 
  62@(91@,10i) == 2
goto_if_false @VCRASH1_4114
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(74@)
51@, 52@, 53@ = Char.GetCoordinates($stattreadstamina_ctr)
$heading = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 51@, 52@)
96@ = 7000.0
div_float_lvar_by_float_var 96@ /= $heading
96@ /= 100.0
if 
  96@ > 2.0
goto_if_false @VCRASH1_3953
96@ = 2.0

:VCRASH1_3953
if 
  0.3 > 96@
goto_if_false @VCRASH1_3984
96@ = 0.3

:VCRASH1_3984
Car.SetPlaybackSpeed(74@, 96@)
if 
  not Car.IsPlaybackGoingOn(74@)
goto_if_false @VCRASH1_4114
if 
  not Car.IsDead(93@)
goto_if_false @VCRASH1_4031
Car.LockDoors(93@, CarLock.Unlocked)

:VCRASH1_4031
Char.PerformSequence(80@(91@,10i), 95@)
Text.PrintNow('VCR1__8', 5000, 1)
Blip.Remove(35@)
Blip.ChangeDisplay(34@, BlipDisplay.Both)
Path.SwitchRoadsOff(2475.428, 2345.007, 2.7255, 2517.416, 2398.874, 12.369)
62@(91@,10i) += 1

:VCRASH1_4114
if 
  not Car.IsDead(92@)
goto_if_false @VCRASH1_4555
if 
  62@(91@,10i) == 3
goto_if_false @VCRASH1_4306
if 
  Char.IsInCar(80@(91@,10i), 92@)
goto_if_false @VCRASH1_4306
Car.SetHealth(92@, 1750)
Car.SetProofs(92@, False, False, False, False, False)
Car.MarkAsNoLongerNeeded(74@)
Car.MarkAsNoLongerNeeded(75@)
Car.MarkAsNoLongerNeeded(76@)
Car.MarkAsNoLongerNeeded(77@)
Car.MarkAsNoLongerNeeded(78@)
Car.MarkAsNoLongerNeeded(79@)
42@ = 0

:VCRASH1_4235
if 
  10 > 42@
goto_if_false @VCRASH1_4295
if 
  not is_int_lvar_equal_to_int_lvar 42@ == 91@
goto_if_false @VCRASH1_4281
Char.MarkAsNoLongerNeeded(80@(42@,10i))

:VCRASH1_4281
42@ += 1
goto @VCRASH1_4235

:VCRASH1_4295
62@(91@,10i) += 1

:VCRASH1_4306
if 
  62@(91@,10i) == 4
goto_if_false @VCRASH1_4555
if 
  Car.IsPlaybackGoingOn(92@)
goto_if_false @VCRASH1_4500
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(92@)
51@, 52@, 53@ = Char.GetCoordinates($stattreadstamina_ctr)
$heading = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, 51@, 52@, 53@)
96@ = 5000.0
div_float_lvar_by_float_var 96@ /= $heading
96@ /= 100.0
if 
  96@ > 1.1
goto_if_false @VCRASH1_4454
96@ = 1.1

:VCRASH1_4454
if 
  0.6 > 96@
goto_if_false @VCRASH1_4485
96@ = 0.6

:VCRASH1_4485
Car.SetPlaybackSpeed(92@, 96@)
goto @VCRASH1_4555

:VCRASH1_4500
Task.CarDriveToCoord(80@(91@,10i), -1, 2538.067, 2389.819, 3.22, 100.0, DriveMode.Normal, 1, DrivingMode.AvoidCars)
Car.SetStraightLineDistance(92@, 1)
62@(91@,10i) += 1

:VCRASH1_4555
if 
  62@(91@,10i) == 5
goto_if_false @VCRASH1_5588
if 
  Char.IsInAnyCar(80@(91@,10i))
goto_if_false @VCRASH1_5577
97@ = Char.StoreCarIsInNoSave(80@(91@,10i))
Car.SetDrivingStyle(97@, DrivingMode.AvoidCars)
Car.SetStraightLineDistance(97@, 1)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(97@)
51@, 52@, 53@ = Char.GetCoordinates($stattreadstamina_ctr)
$heading = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 51@, 52@)
57@ = 3000.0
div_float_lvar_by_float_var 57@ /= $heading
if 
  Char.LocateInCar3D(80@(91@,10i), 2506.65, 2355.857, 10.8203, 29.9399, 15.57, 2.0, False)
goto_if_false @VCRASH1_4748
57@ = 20.0

:VCRASH1_4748
if 
  57@ > 100.0
goto_if_false @VCRASH1_4779
57@ = 100.0

:VCRASH1_4779
if 
  15.0 > 57@
goto_if_false @VCRASH1_4810
57@ = 15.0

:VCRASH1_4810
Car.SetCruiseSpeed(97@, 57@)
40@ = Car.GetHealth(97@)
if 
  251 > 40@
goto_if_false @VCRASH1_4910
Car.SetTempAction(97@, TempAction.HandbrakeTurnLeft, 5000)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(80@(91@,10i))
Task.FleePoint(80@(91@,10i), $on_footY, $on_footZ, $in_carX, 15.0, 1500)
62@(91@,10i) += 1

:VCRASH1_4910
if and
  Car.IsUpsidedown(97@)
  Car.IsStopped(97@)
goto_if_false @VCRASH1_5170
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 97@, 90.0, 90.0, False)
goto_if_false @VCRASH1_5031
Car.SetUpsidedownNotDamaged(97@, False)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(80@(91@,10i))
Task.FleePoint(80@(91@,10i), $on_footY, $on_footZ, $in_carX, 15.0, 1500)
62@(91@,10i) += 1
goto @VCRASH1_5170

:VCRASH1_5031
if 
  not World.IsPointObscuredByAMissionEntity($on_footY, $on_footZ, $in_carX, 4.0, 4.0, 4.0)
goto_if_false @VCRASH1_5170
if 
  not Car.IsOnScreen(97@)
goto_if_false @VCRASH1_5170
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(97@)
$on_footY, $on_footZ, $in_carX, $on_footX = Path.GetClosestCarNodeWithHeading($on_footY, $on_footZ, $in_carX)
if 
  not Camera.IsPointOnScreen($on_footY, $on_footZ, $in_carX, 4.0)
goto_if_false @VCRASH1_5170
Car.SetCoordinates(97@, $on_footY, $on_footZ, $in_carX)
Car.SetHeading(97@, $on_footX)

:VCRASH1_5170
if 
  Car.Locate3D(97@, 98@, 99@, 100@, 4.0, 4.0, 4.0, False)
goto_if_false @VCRASH1_5477
if 
  is_int_var_greater_than_int_lvar $RStickY > 101@
goto_if_false @VCRASH1_5470
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 97@, 90.0, 90.0, False)
goto_if_false @VCRASH1_5331
Car.SetUpsidedownNotDamaged(97@, False)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(80@(91@,10i))
Task.FleePoint(80@(91@,10i), $on_footY, $on_footZ, $in_carX, 15.0, 500)
62@(91@,10i) += 1
goto @VCRASH1_5470

:VCRASH1_5331
if 
  not Car.IsOnScreen(97@)
goto_if_false @VCRASH1_5470
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(97@)
$on_footY, $on_footZ, $in_carX, $on_footX = Path.GetClosestCarNodeWithHeading($on_footY, $on_footZ, $in_carX)
if 
  not World.IsPointObscuredByAMissionEntity($on_footY, $on_footZ, $in_carX, 4.0, 4.0, 4.0)
goto_if_false @VCRASH1_5470
if 
  not Camera.IsPointOnScreen($on_footY, $on_footZ, $in_carX, 4.0)
goto_if_false @VCRASH1_5470
Car.SetCoordinates(97@, $on_footY, $on_footZ, $in_carX)
Car.SetHeading(97@, $on_footX)

:VCRASH1_5470
goto @VCRASH1_5507

:VCRASH1_5477
98@, 99@, 100@ = Car.GetCoordinates(97@)
set_lvar_int_to_var_int 101@ = $RStickY
101@ += 5000

:VCRASH1_5507
if 
  Char.LocateInCar3D(80@(91@,10i), 2538.067, 2389.819, 3.22, 5.0, 5.0, 2.0, False)
goto_if_false @VCRASH1_5570
62@(91@,10i) = 7

:VCRASH1_5570
goto @VCRASH1_5588

:VCRASH1_5577
62@(91@,10i) += 1

:VCRASH1_5588
if 
  62@(91@,10i) == 6
goto_if_false @VCRASH1_5733
$chickY = Char.GetScriptTaskStatus(80@(91@,10i), 1498)
102@ = Char.GetScriptTaskStatus(80@(91@,10i), 1489)
if or
  is_int_var_equal_to_constant $chickY == 7
  Char.IsInAnyCar(80@(91@,10i))
goto_if_false @VCRASH1_5733
if 
  is_int_lvar_equal_to_constant 102@ == 7
goto_if_false @VCRASH1_5733
Task.CarDriveToCoord(80@(91@,10i), -1, 2538.067, 2389.819, 3.22, 100.0, DriveMode.Normal, 1, DrivingMode.AvoidCars)
62@(91@,10i) -= 1

:VCRASH1_5733
if 
  Char.IsInAnyCar(80@(91@,10i))
goto_if_false @VCRASH1_5785
if 
  60@ == 0
goto_if_false @VCRASH1_5778
60@ = 1

:VCRASH1_5778
goto @VCRASH1_5810

:VCRASH1_5785
if 
  60@ == 1
goto_if_false @VCRASH1_5810
60@ = 0

:VCRASH1_5810
if 
  62@(91@,10i) == 7
goto_if_false @VCRASH1_5877
$chickY = Char.GetScriptTaskStatus(80@(91@,10i), 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @VCRASH1_5877
Task.KillCharOnFoot(80@(91@,10i), $stattreadstamina_ctr)

:VCRASH1_5877
goto @VCRASH1_6182

:VCRASH1_5884
if 
  62@(91@,10i) == 2
goto_if_false @VCRASH1_5959
if 
  not Car.IsDead(74@)
goto_if_false @VCRASH1_5959
if 
  Car.IsPlaybackGoingOn(74@)
goto_if_false @VCRASH1_5943
Car.StopPlayback(74@)

:VCRASH1_5943
Heli.MakeComeCrashingDown(74@)
62@(91@,10i) = 90

:VCRASH1_5959
if 
  Char.DoesExist(80@(91@,10i))
goto_if_false @VCRASH1_6134
if 
  not Char.IsInWater(80@(91@,10i))
goto_if_false @VCRASH1_6104
if 
  61@ == 0
goto_if_false @VCRASH1_6097
Blip.Remove(34@)
103@, 104@, 105@ = World.GetDeadCharPickupCoords(80@(91@,10i))
106@ = Pickup.Create(#BRIEFCASE, PickupType.Once, 103@, 104@, 105@)
34@ = Blip.AddForPickup(106@)
Text.PrintNow('VCR1__3', 5000, 1)
60@ = 2
61@ = 1

:VCRASH1_6097
goto @VCRASH1_6127

:VCRASH1_6104
Text.PrintNow('VCR1__4', 5000, 1)
goto @VCRASH1_7873

:VCRASH1_6127
goto @VCRASH1_6157

:VCRASH1_6134
Text.PrintNow('VCR1__5', 5000, 1)
goto @VCRASH1_7873

:VCRASH1_6157
if 
  59@ == 0
goto_if_false @VCRASH1_6182
59@ = 1

:VCRASH1_6182
goto @VCRASH1_6765

:VCRASH1_6189
if 
  not Char.IsDead(80@(49@,10i))
goto_if_false @VCRASH1_6729
if 
  3 > 62@(91@,10i)
goto_if_false @VCRASH1_6722
if 
  62@(49@,10i) == 0
goto_if_false @VCRASH1_6463
if 
  73@ == 1
goto_if_false @VCRASH1_6316
$chickY = Char.GetScriptTaskStatus(80@(49@,10i), 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @VCRASH1_6316
Task.KillCharOnFoot(80@(49@,10i), $stattreadstamina_ctr)

:VCRASH1_6316
if 
  2 > 62@(49@,10i)
goto_if_false @VCRASH1_6463
if 
  61@ == 1
goto_if_false @VCRASH1_6463
if 
  Char.LocateOnFoot2D(80@(49@,10i), 103@, 104@, 65.0, 65.0, False)
goto_if_false @VCRASH1_6463
Char.GiveWeapon(80@(49@,10i), WeaponType.MicroUzi, 9999)
Char.SetCurrentWeapon(80@(49@,10i), WeaponType.MicroUzi)
Task.GoToCoordWhileShooting(80@(49@,10i), 103@, 104@, 105@, 6, 1.0, 0.5, $stattreadstamina_ctr)
62@(49@,10i) += 1

:VCRASH1_6463
if 
  62@(49@,10i) == 1
goto_if_false @VCRASH1_6722
if 
  61@ == 1
goto_if_false @VCRASH1_6711
$chickY = Char.GetScriptTaskStatus(80@(49@,10i), 1591)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @VCRASH1_6704
if 
  Char.LocateOnFoot2D(80@(49@,10i), 103@, 104@, 2.0, 2.0, False)
goto_if_false @VCRASH1_6704
Char.MarkAsNoLongerNeeded(80@(91@,10i))
80@(91@,10i) = -1
set_lvar_int_to_lvar_int 91@ = 49@
Blip.Remove(34@)
Pickup.Remove(106@)
34@ = Blip.AddForChar(80@(91@,10i))
Char.SetOnlyDamagedByPlayer(80@(91@,10i), True)
if 
  not Player.IsTargetingChar($statbike_temp, 80@(91@,10i))
goto_if_false @VCRASH1_6670
Char.SetHealth(80@(91@,10i), 200)

:VCRASH1_6670
62@(91@,10i) = 0
Text.PrintNow('VCR1__2', 5000, 1)
61@ = 0

:VCRASH1_6704
goto @VCRASH1_6722

:VCRASH1_6711
62@(49@,10i) -= 1

:VCRASH1_6722
goto @VCRASH1_6765

:VCRASH1_6729
Char.MarkAsNoLongerNeeded(80@(49@,10i))
if 
  59@ == 0
goto_if_false @VCRASH1_6765
Skip.Clear
59@ = 1

:VCRASH1_6765
if 
  59@ == 0
goto_if_false @VCRASH1_6869
if or
  Char.IsRespondingToEvent(80@(49@,10i), 36)
  Char.IsRespondingToEvent(80@(49@,10i), 12)
  Char.IsRespondingToEvent(80@(49@,10i), 15)
  Char.IsRespondingToEvent(80@(49@,10i), 11)
  Char.IsRespondingToEvent(80@(49@,10i), 49)
  Char.IsRespondingToEvent(80@(49@,10i), 30)
goto_if_false @VCRASH1_6869
Skip.Clear
59@ = 1

:VCRASH1_6869
49@ += 1
goto @VCRASH1_3608

:VCRASH1_6883
if 
  73@ == 0
goto_if_false @VCRASH1_6958
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1308.928, 2527.466, 92.816, 26.85, 38.6399, 8.9, False)
goto_if_false @VCRASH1_6958
Skip.Clear
73@ += 1

:VCRASH1_6958
if 
  59@ == 1
goto_if_false @VCRASH1_7001
Text.PrintNow('VCR1_11', 5000, 1)
Skip.Clear
59@ += 1

:VCRASH1_7001
if 
  36@ == 1
goto_if_false @VCRASH1_7541
if 
  62@(91@,10i) > 2
goto_if_false @VCRASH1_7541
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2511.364, 2388.914, 6.2421, 38.6, 26.4, 3.4, False)
goto_if_false @VCRASH1_7541
107@ = Car.Create(402, 2522.211, 2383.629, 4.0162)
Car.SetHeading(107@, 339.2576)
108@ = Car.Create(402, 2518.511, 2393.821, 4.0104)
Car.SetHeading(108@, 168.2849)
109@ = Car.Create(402, 2510.336, 2380.583, 4.0139)
Car.SetHeading(109@, 110.7153)
110@ = 2524.221
120@ = 2385.007
111@ = 2520.053
121@ = 2392.282
112@ = 2513.938
122@ = 2381.334
113@ = 2513.91
123@ = 2385.471
114@ = 2511.99
124@ = 2392.347
115@ = 2519.308
125@ = 2399.535
116@ = 2530.169
126@ = 2388.519
117@ = 2504.144
127@ = 2382.468
118@ = 2504.832
128@ = 2397.616
119@ = 2506.832
129@ = 2397.616
43@ = 0

:VCRASH1_7395
if 
  10 > 43@
goto_if_false @VCRASH1_7518
if 
  not is_int_lvar_equal_to_int_lvar 43@ == 91@
goto_if_false @VCRASH1_7504
80@(43@,10i) = Char.Create(PedType.Mission1, 286, 110@(43@,10f), 120@(43@,10f), 3.2262)
Char.SetHeading(80@(43@,10i), 91.4967)
Char.GiveWeapon(80@(43@,10i), WeaponType.MicroUzi, 9999)
Char.SetKeepTask(80@(43@,10i), True)

:VCRASH1_7504
43@ += 1
goto @VCRASH1_7395

:VCRASH1_7518
set_lvar_int_to_var_int 37@ = $RStickY
37@ += 3000
36@ += 1

:VCRASH1_7541
if 
  36@ == 2
goto_if_false @VCRASH1_7689
if 
  is_int_var_greater_than_int_lvar $RStickY > 37@
goto_if_false @VCRASH1_7689
43@ = 0

:VCRASH1_7585
if 
  10 > 43@
goto_if_false @VCRASH1_7666
if 
  not Char.IsDead(80@(43@,10i))
goto_if_false @VCRASH1_7652
Char.SetInformRespectedFriends(80@(43@,10i), 50.0, 8)
Char.SetRelationship(80@(43@,10i), RelationshipType.Hate, PedType.Player1)

:VCRASH1_7652
43@ += 1
goto @VCRASH1_7585

:VCRASH1_7666
set_lvar_int_to_var_int 37@ = $RStickY
37@ += 3000
36@ += 1

:VCRASH1_7689
if 
  36@ == 3
goto_if_false @VCRASH1_7804
if 
  is_int_var_greater_than_int_lvar $RStickY > 37@
goto_if_false @VCRASH1_7804
43@ = 0

:VCRASH1_7733
if 
  10 > 43@
goto_if_false @VCRASH1_7797
if 
  not Char.IsDead(80@(43@,10i))
goto_if_false @VCRASH1_7783
Task.KillCharOnFoot(80@(43@,10i), $stattreadstamina_ctr)

:VCRASH1_7783
43@ += 1
goto @VCRASH1_7733

:VCRASH1_7797
36@ += 1

:VCRASH1_7804
if 
  61@ == 1
goto_if_false @VCRASH1_7866
if 
  Pickup.HasBeenCollected(106@)
goto_if_false @VCRASH1_7866
Blip.Remove(34@)
Text.PrintNow('VCR1__6', 5000, 1)
goto @VCRASH1_7980

:VCRASH1_7866
goto @VCRASH1_574

:VCRASH1_7873
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  not Char.IsDead(80@(91@,10i))
goto_if_false @VCRASH1_7978
if 
  not Car.IsDead(74@)
goto_if_false @VCRASH1_7978
if 
  Char.IsInCar(80@(91@,10i), 74@)
goto_if_false @VCRASH1_7978
Heli.GotoCoords(74@, 0.0, 0.0, 0.0, 20.0, 40.0)

:VCRASH1_7978
return 

:VCRASH1_7980
$desertY += 1
Text.PrintBig('M_PASSD', 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 0)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('VCRASH1')
Stat.PlayerMadeProgress(1)
Blip.Remove($desert2_blip_icon)
return 

:VCRASH1_8041
Blip.Remove(34@)
Blip.Remove(35@)
Game.SetArea51SamSite(True)
Pickup.Remove(106@)
if 
  not Car.IsDead(75@)
goto_if_false @VCRASH1_8091
Car.SetProofs(75@, False, False, False, False, False)

:VCRASH1_8091
Path.SwitchRoadsOn(2475.428, 2345.007, 2.7255, 2517.416, 2398.874, 12.369)
if 
  $d5_bronze_generator_unlocked == 1
goto_if_false @VCRASH1_8148
CarGenerator.Switch($5193[7], 101)

:VCRASH1_8148
Streaming.MarkModelAsNoLongerNeeded(487)
Streaming.MarkModelAsNoLongerNeeded(500)
Streaming.MarkModelAsNoLongerNeeded(490)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(402)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(286)
Streaming.MarkModelAsNoLongerNeeded(147)
Streaming.MarkModelAsNoLongerNeeded(352)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VCRASH1_8218
Char.ClearRelationship($stattreadstamina_ctr, RelationshipType.Hate, PedType.Mission1)

:VCRASH1_8218
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 94---------------
// Originally: High Noon

:VCR2
gosub @VCR2_36
if 
  has_deatharrest_been_executed 
goto_if_false @VCR2_27
gosub @VCR2_5040

:VCR2_27
gosub @VCR2_5126
terminate_this_script 

:VCR2_36
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
script_name 'VCR2'
wait 0
Text.LoadMissionText('VCR2')
Player.MakeGangDisappear
Cutscene.Load('CRASV2A')

:VCR2_84
if 
  not Cutscene.HasLoaded
goto_if_false @VCR2_108
wait 0
goto @VCR2_84

:VCR2_108
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
World.ClearArea(-359.5421, 2225.525, 42.4562, 30.9, False)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:VCR2_145
if 
  not Cutscene.HasFinished
goto_if_false @VCR2_169
wait 0
goto @VCR2_145

:VCR2_169
Camera.DoFade(0, Fade.Out)

:VCR2_175
if 
  Camera.GetFadingStatus
goto_if_false @VCR2_199
wait 0
goto @VCR2_175

:VCR2_199
Cutscene.Clear
if 
  not Cutscene.WasSkipped
goto_if_false @VCR2_342
Cutscene.Load('CRASV2B')

:VCR2_225
if 
  not Cutscene.HasLoaded
goto_if_false @VCR2_249
wait 0
goto @VCR2_225

:VCR2_249
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
World.ClearArea(-359.5421, 2225.525, 42.4562, 30.9, False)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:VCR2_286
if 
  not Cutscene.HasFinished
goto_if_false @VCR2_310
wait 0
goto @VCR2_286

:VCR2_310
Camera.DoFade(0, Fade.Out)

:VCR2_316
if 
  Camera.GetFadingStatus
goto_if_false @VCR2_340
wait 0
goto @VCR2_316

:VCR2_340
Cutscene.Clear

:VCR2_342
Streaming.LoadSpecialCharacter(1, 'PULASKI')
Streaming.RequestModel(568)
Streaming.RequestModel(402)
Streaming.RequestModel(348)
Streaming.LoadAllModelsNow

:VCR2_372
if or
  not Streaming.HasModelLoaded(568)
  not Streaming.HasModelLoaded(402)
  not Streaming.HasModelLoaded(348)
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @VCR2_413
wait 0
goto @VCR2_372

:VCR2_413
set_lvar_text_label 48@s = 'VCR2_AA'
set_lvar_text_label 50@s = 'VCR2_AB'
set_lvar_text_label 52@s = 'VCR2_AC'
set_lvar_text_label 54@s = 'VCR2_AD'
set_lvar_text_label 56@s = 'VCR2_AE'
set_lvar_text_label 58@s = 'VCR2_BA'
set_lvar_text_label 60@s = 'VCR2_BB'
set_lvar_text_label 62@s = 'VCR2_BC'
set_lvar_text_label 64@s = 'VCR2_BE'
set_lvar_text_label 66@s = 'VCR2_BF'
set_lvar_text_label 68@s = 'VCR2_BG'
set_lvar_text_label 70@s = 'VCR2_BH'
set_lvar_text_label 72@s = 'VCR2_BJ'
set_lvar_text_label 74@s = 'VCR2_CA'
set_lvar_text_label 76@s = 'VCR2_CB'
set_lvar_text_label 78@s = 'VCR2_CC'
set_lvar_text_label 80@s = 'VCR2_CD'
set_lvar_text_label 82@s = 'VCR2_CE'
set_lvar_text_label 84@s = 'VCR2_CF'
set_lvar_text_label 86@s = 'VCR2_CG'
set_lvar_int_to_constant 88@ = 42400
set_lvar_int_to_constant 89@ = 42401
set_lvar_int_to_constant 90@ = 42402
set_lvar_int_to_constant 91@ = 42403
set_lvar_int_to_constant 92@ = 42404
set_lvar_int_to_constant 93@ = 42405
set_lvar_int_to_constant 94@ = 42406
set_lvar_int_to_constant 95@ = 42407
set_lvar_int_to_constant 96@ = 42408
set_lvar_int_to_constant 97@ = 42409
set_lvar_int_to_constant 98@ = 42410
set_lvar_int_to_constant 99@ = 42411
set_lvar_int_to_constant 100@ = 42412
set_lvar_int_to_constant 101@ = 42413
set_lvar_int_to_constant 102@ = 42414
set_lvar_int_to_constant 103@ = 42415
set_lvar_int_to_constant 104@ = 42416
set_lvar_int_to_constant 105@ = 42417
set_lvar_int_to_constant 106@ = 42418
set_lvar_int_to_constant 107@ = 42419
109@ = 0
110@ = 1
$RStickY = Clock.GetGameTimer()
set_lvar_int_to_var_int 111@ = $RStickY
111@ += 6000
Car.CustomPlateForNextCar(402, "PULASKI")
112@ = Car.Create(402, -371.0292, 2209.82, 41.4921)
Car.SetHeading(112@, 159.2268)
Car.ChangeColor(112@, 8, 0)
Car.SetPetrolTankWeakpoint(112@, False)
Car.SetOnlyDamagedByPlayer(112@, True)
Car.SetCanGoAgainstTraffic(112@, True)
Car.SetProofs(112@, True, True, True, True, True)
Car.SetHealth(112@, 2250)
113@ = Char.Create(PedType.Mission1, 290, -335.4141, 2218.942, 41.4921)
Char.SetRelationship($stattreadstamina_ctr, RelationshipType.Hate, PedType.Mission1)
Char.SetHeading(113@, 104.108)
Char.SetOnlyDamagedByPlayer(113@, True)
Char.SetMaxHealth(113@, 500)
Char.SetHealth(113@, 500)
Char.SetSuffersCriticalHits(113@, False)
Char.SetUsesUpperbodyDamageAnimsOnly(113@, True)
Char.SetAccuracy(113@, 80)
Char.SetProofs(113@, True, True, True, False, False)
37@ = Sequence.Open()
Task.GoStraightToCoord(-1, -346.4254, 2216.427, 41.4921, MoveState.Run, -2)
Task.EnterCarAsDriver(-1, 112@, -2)
Task.CarDriveToCoord(-1, 112@, -472.778, 1958.194, 83.5515, 40.0, DriveMode.Normal, 1, DrivingMode.AvoidCars)
Sequence.Close(37@)
Char.PerformSequence(113@, 37@)
Sequence.Clear(37@)
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
wait 0
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
Camera.SetFixedPosition(-341.3325, 2213.11, 42.837, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-340.718, 2213.898, 42.8258, SwitchType.JumpCut)
Streaming.LoadSceneInDirection(-341.3325, 2213.11, 42.837, 327.4725)
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(-334.1724, 2214.62, 40.4911, 30.0, False)
Streaming.LoadScene(-334.1724, 2214.62, 40.4911)
Char.SetCoordinates($stattreadstamina_ctr, -334.1724, 2214.62, 40.4911)
Char.SetHeading($stattreadstamina_ctr, 232.082)
Camera.SetBehindPlayer
114@ = Car.Create(568, -342.2552, 2221.39, 41.4911)
Car.SetHeading(114@, 168.7771)
Camera.DoFade(500, Fade.In)
$RStickY = Clock.GetGameTimer()
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 1500
47@ = 0
115@ = 0
Weather.Release

:VCR2_1480
wait 0
$RStickY = Clock.GetGameTimer()
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @VCR2_1511
goto @VCR2_5058

:VCR2_1511
if 
  Char.IsDead(113@)
goto_if_false @VCR2_1568
if 
  9 > 47@
goto_if_false @VCR2_1568
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 2000
47@ = 9

:VCR2_1568
if 
  47@ == 0
goto_if_false @VCR2_1653
if 
  is_int_var_greater_than_int_lvar $RStickY > 35@
goto_if_false @VCR2_1653
Task.GoStraightToCoord($stattreadstamina_ctr, -337.9653, 2218.594, 41.4911, MoveState.Run, 2000)
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 1500
47@ += 1

:VCR2_1653
if 
  47@ == 1
goto_if_false @VCR2_1832
if 
  is_int_var_greater_than_int_lvar $RStickY > 35@
goto_if_false @VCR2_1832
Char.SetCoordinates($stattreadstamina_ctr, -337.9653, 2218.594, 41.4911)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Char.SetCoordinates(113@, -359.3949, 2213.404, 41.4911)
Char.SetHeading(113@, 90.0)
Player.SetControl($statbike_temp, True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
34@ = Blip.AddForChar(113@)
Text.PrintNow('VCR2__1', 15000, 1)
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 26000
47@ += 1

:VCR2_1832
if 
  47@ == 2
goto_if_false @VCR2_2019
if 
  is_int_var_greater_than_int_lvar $RStickY > 35@
goto_if_false @VCR2_2019
Task.CarDriveWander(113@, -1, 40.0, DrivingMode.AvoidCars)
Char.GiveWeapon(113@, WeaponType.DesertEagle, 9999)
Char.SetRelationship(113@, RelationshipType.Hate, PedType.Player1)
Char.SetProofs(113@, False, True, True, False, False)
if 
  115@ == 0
goto_if_false @VCR2_1994
if 
  not Car.IsDead(112@)
goto_if_false @VCR2_1987
Car.SetProofs(112@, False, False, False, False, False)
StuckCarCheck.AddWithWarp(112@, 4.0, 4000, True, True, False, -1)

:VCR2_1987
115@ = 1

:VCR2_1994
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 240000
47@ += 1

:VCR2_2019
if 
  47@ == 3
goto_if_false @VCR2_2782
if 
  Char.LocateAnyMeans2D(113@, 184.0797, 1715.949, 40.6, 1108.668, False)
goto_if_false @VCR2_2160
$chickY = Char.GetScriptTaskStatus(113@, 1489)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @VCR2_2160
Task.CarDriveToCoord(113@, -1, -2466.309, 2244.328, 3.8078, 40.0, DriveMode.Normal, 1, DrivingMode.AvoidCars)
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 10000
47@ = 2

:VCR2_2160
if 
  Char.LocateAnyMeans2D(113@, -2747.482, 2334.301, 36.34, 5.86, False)
goto_if_false @VCR2_2283
$chickY = Char.GetScriptTaskStatus(113@, 1489)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @VCR2_2283
Task.CarDriveToCoord(113@, -1, -1446.225, 2670.991, 54.9682, 40.0, DriveMode.Normal, 1, DrivingMode.AvoidCars)
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 10000
47@ = 2

:VCR2_2283
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 113@, 200.0, 200.0, False)
goto_if_false @VCR2_2375
set_lvar_int_to_var_int 116@ = $RStickY
116@ += 8000
if 
  not Blip.DoesExist(34@)
goto_if_false @VCR2_2368
Task.CarDriveWander(113@, -1, 50.0, DrivingMode.AvoidCars)
34@ = Blip.AddForChar(113@)

:VCR2_2368
goto @VCR2_2468

:VCR2_2375
if 
  Blip.DoesExist(34@)
goto_if_false @VCR2_2426
Task.CarDriveWander(113@, -1, 28.0, DrivingMode.AvoidCars)
Text.PrintNow('VCR2__2', 5000, 1)
Blip.Remove(34@)

:VCR2_2426
if 
  is_int_var_greater_than_int_lvar $RStickY > 116@
goto_if_false @VCR2_2468
Text.PrintNow('VCR2__3', 5000, 1)
goto @VCR2_5040

:VCR2_2468
if 
  20 > 109@
goto_if_false @VCR2_2695
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 113@, 30.0, 30.0, False)
goto_if_false @VCR2_2695
if 
  is_int_var_greater_than_int_lvar $RStickY > 111@
goto_if_false @VCR2_2695
if 
  $audio_line_terminate_all == 0
goto_if_false @VCR2_2695
set_var_text_label s$bd_future_time_shown = 48@(109@,20s)
set_var_int_to_lvar_int $bd_x = 88@(109@,21i)
start_new_script @AUDIOL -1 0 1 110@ 109@ 
if 
  110@ == 1
goto_if_false @VCR2_2630
110@ = 2
goto @VCR2_2637

:VCR2_2630
110@ = 1

:VCR2_2637
set_lvar_int_to_var_int 111@ = $RStickY
111@ += 500
109@ += 1
if 
  20 > 109@
goto_if_false @VCR2_2695
Audio.ClearMissionAudio(110@)
Audio.LoadMissionAudio(110@, 88@(109@,21i))

:VCR2_2695
if 
  not Char.IsInAnyCar(113@)
goto_if_false @VCR2_2782
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 113@, 20.0, 20.0, False)
goto_if_false @VCR2_2782
$chickY = Char.GetScriptTaskStatus(113@, 1957)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @VCR2_2782
Task.KillCharOnFootTimed(113@, $stattreadstamina_ctr, 4000)

:VCR2_2782
if 
  47@ == 9
goto_if_false @VCR2_2863
if 
  is_int_var_greater_than_int_lvar $RStickY > 35@
goto_if_false @VCR2_2863
if 
  Char.IsInWater(113@)
goto_if_false @VCR2_2849
goto @VCR2_5058
goto @VCR2_2863

:VCR2_2849
Camera.DoFade(500, Fade.Out)
47@ += 1

:VCR2_2863
if 
  47@ == 10
goto_if_false @VCR2_3045
Streaming.RequestAnimation("SWAT")
if 
  not Camera.GetFadingStatus
goto_if_false @VCR2_3045
Char.ClearTasksImmediately($stattreadstamina_ctr)
Car.Delete(112@)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinatesOfDied(113@)
Char.Delete(113@)
$on_footY, $on_footZ, $in_carX = Path.GetClosestCarNode($on_footY, $on_footZ, $in_carX)
World.ClearArea($on_footY, $on_footZ, $in_carX, 100.0, True)
Car.CustomPlateForNextCar(402, "PULASKI")
112@ = Car.Create(402, $on_footY, $on_footZ, $in_carX)
Car.ChangeColor(112@, 8, 0)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 100
47@ += 1

:VCR2_3045
if 
  47@ == 11
goto_if_false @VCR2_3649
if 
  is_int_var_greater_than_int_lvar $RStickY > 35@
goto_if_false @VCR2_3649
if 
  Streaming.HasAnimationLoaded("SWAT")
goto_if_false @VCR2_3649
if 
  Car.IsDead(112@)
goto_if_false @VCR2_3131
Camera.DoFade(500, Fade.In)
goto @VCR2_5058

:VCR2_3131
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(112@, 1.6, -1.0, 0.0)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
117@ = Char.Create(PedType.Mission1, 290, $on_footY, $on_footZ, $in_carX)
$on_footX = Car.GetHeading(112@)
$on_footX += -90.0
Char.SetHeading(117@, $on_footX)
Char.SetBleeding(117@, True)
Task.PlayAnimNonInterruptable(117@, "GNSTWALL_INJURD", "SWAT", 9999.0, True, False, False, False, -1)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(112@, 3.0, -1.0, 0.0)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)
$on_footX = Car.GetHeading(112@)
$on_footX += 90.0
Char.SetHeading($stattreadstamina_ctr, $on_footX)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(112@, 3.3455, -1.6234, 1.1443)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(112@, 2.5461, -1.3539, 0.6073)
Camera.PointAtChar(117@, CameraMode.Fixed, SwitchType.JumpCut)
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(112@, 1.2837, -0.8452, -0.2859)
Task.LookAtCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 20000)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 42420)
Camera.DoFade(500, Fade.In)
if 
  not Car.IsDead(114@)
goto_if_false @VCR2_3621
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(112@)
if 
  Car.Locate2D(114@, $on_footY, $on_footZ, 6.0, 6.0, False)
goto_if_false @VCR2_3614
Car.Delete(114@)

:VCR2_3614
goto @VCR2_3626

:VCR2_3621
Car.Delete(114@)

:VCR2_3626
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 400
47@ += 1

:VCR2_3649
if 
  47@ == 12
goto_if_false @VCR2_3839
if 
  not Camera.GetFadingStatus
goto_if_false @VCR2_3839
if 
  $audio_line_terminate_all == 0
goto_if_false @VCR2_3839
set_var_text_label s$bd_future_time_shown = 'VCR2_DA'
set_var_int_to_constant $bd_x = 42420
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 42421)
if 
  not Car.IsDead(112@)
goto_if_false @VCR2_3816
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(112@, 1.2837, -0.8452, -0.2859)
Task.LookAtCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 20000)

:VCR2_3816
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 500
47@ += 1

:VCR2_3839
if 
  47@ == 13
goto_if_false @VCR2_4035
if 
  is_int_var_greater_than_int_lvar $RStickY > 35@
goto_if_false @VCR2_4035
if 
  $audio_line_terminate_all == 0
goto_if_false @VCR2_4035
set_var_text_label s$bd_future_time_shown = 'VCR2_DB'
set_var_int_to_constant $bd_x = 42421
start_new_script @AUDIOL 117@ 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 42422)
if 
  not Car.IsDead(112@)
goto_if_false @VCR2_4012
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(112@, 1.2837, -0.8452, -0.2859)
Task.LookAtCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 20000)

:VCR2_4012
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 500
47@ += 1

:VCR2_4035
if 
  47@ == 14
goto_if_false @VCR2_4231
if 
  is_int_var_greater_than_int_lvar $RStickY > 35@
goto_if_false @VCR2_4231
if 
  $audio_line_terminate_all == 0
goto_if_false @VCR2_4231
set_var_text_label s$bd_future_time_shown = 'VCR2_DC'
set_var_int_to_constant $bd_x = 42422
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 42423)
if 
  not Car.IsDead(112@)
goto_if_false @VCR2_4208
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(112@, 1.2837, -0.8452, -0.2859)
Task.LookAtCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 20000)

:VCR2_4208
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 500
47@ += 1

:VCR2_4231
if 
  47@ == 15
goto_if_false @VCR2_4427
if 
  is_int_var_greater_than_int_lvar $RStickY > 35@
goto_if_false @VCR2_4427
if 
  $audio_line_terminate_all == 0
goto_if_false @VCR2_4427
set_var_text_label s$bd_future_time_shown = 'VCR2_DD'
set_var_int_to_constant $bd_x = 42423
start_new_script @AUDIOL 117@ 0 1 2 1 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 42424)
if 
  not Car.IsDead(112@)
goto_if_false @VCR2_4404
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(112@, 1.2837, -0.8452, -0.2859)
Task.LookAtCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 20000)

:VCR2_4404
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 500
47@ += 1

:VCR2_4427
if 
  47@ == 16
goto_if_false @VCR2_4685
if 
  is_int_var_greater_than_int_lvar $RStickY > 35@
goto_if_false @VCR2_4685
if 
  $audio_line_terminate_all == 0
goto_if_false @VCR2_4685
set_var_text_label s$bd_future_time_shown = 'VCR2_DE'
set_var_int_to_constant $bd_x = 42424
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 1 
Camera.SetNearClip(0.1)
if 
  not Car.IsDead(112@)
goto_if_false @VCR2_4662
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(112@, 1.2837, -0.8452, -0.2859)
Task.LookAtCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 20000)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(112@, 2.1414, -0.908, 0.2244)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:VCR2_4662
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 500
47@ += 1

:VCR2_4685
if 
  47@ == 17
goto_if_false @VCR2_4782
if 
  is_int_var_greater_than_int_lvar $RStickY > 35@
goto_if_false @VCR2_4782
if 
  $audio_line_terminate_all == 0
goto_if_false @VCR2_4782
Task.PlayAnim($stattreadstamina_ctr, "FIGHTA_G", "PED", 4.0, False, False, False, False, -1)
47@ += 1

:VCR2_4782
if 
  47@ == 18
goto_if_false @VCR2_4939
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "FIGHTA_G")
goto_if_false @VCR2_4939
118@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "FIGHTA_G")
if 
  118@ > 0.351
goto_if_false @VCR2_4939
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1136)
Audio.SetMusicDoesFade(False)
Camera.DoFade(0, Fade.Out)
if 
  not Char.IsDead(117@)
goto_if_false @VCR2_4916
Task.Die(117@)

:VCR2_4916
set_lvar_int_to_var_int 35@ = $RStickY
35@ += 1000
47@ += 1

:VCR2_4939
if 
  47@ == 19
goto_if_false @VCR2_5033
if 
  is_int_var_greater_than_int_lvar $RStickY > 35@
goto_if_false @VCR2_5033
Camera.DoFade(500, Fade.In)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Player.SetControl($statbike_temp, True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
goto @VCR2_5058

:VCR2_5033
goto @VCR2_1480

:VCR2_5040
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:VCR2_5058
Text.PrintBig('M_PASSD', 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 0)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('VCRASH2')
Stat.PlayerMadeProgress(1)
Blip.Remove($desert2_blip_icon)
Stat.SetInt(StatId.PassedVcrash2, 1)
$desertY += 1
return 

:VCR2_5126
Blip.Remove(34@)
$flag_courier_mission_passed = Clock.GetGameTimer()
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(568)
Streaming.MarkModelAsNoLongerNeeded(402)
Streaming.MarkModelAsNoLongerNeeded(348)
Audio.SetMusicDoesFade(True)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VCR2_5184
Char.ClearRelationship($stattreadstamina_ctr, RelationshipType.Hate, PedType.Mission1)

:VCR2_5184
Streaming.RemoveAnimation("SWAT")
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 95---------------
// Originally: Madd Dogg

:DOC2
script_name 'DOC2'
gosub @DOC2_47
if 
  has_deatharrest_been_executed 
goto_if_false @DOC2_38
gosub @DOC2_13046

:DOC2_38
gosub @DOC2_13757
terminate_this_script 

:DOC2_47
131@ = 0
$7803 = 40
$7804 = 0
$d2_anim_rnd = 0
$hei3_spook = 0
$hei3_text = 0
99@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
Camera.SetFadingColor(0, 0, 0)
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
Text.LoadMissionText('DOC2')
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:DOC2_137
if 
  Camera.GetFadingStatus
goto_if_false @DOC2_161
wait 0
goto @DOC2_137

:DOC2_161
Cutscene.Load('DOC_2')

:DOC2_172
if 
  not Cutscene.HasLoaded
goto_if_false @DOC2_196
wait 0
goto @DOC2_172

:DOC2_196
World.ClearArea(2159.899, 1443.042, 9.8203, 40.0, True)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:DOC2_229
if 
  not Cutscene.HasFinished
goto_if_false @DOC2_253
wait 0
goto @DOC2_229

:DOC2_253
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:DOC2_274
if 
  Camera.GetFadingStatus
goto_if_false @DOC2_298
wait 0
goto @DOC2_274

:DOC2_298
Cutscene.Clear
Streaming.RequestModel(83)
Streaming.RequestModel(85)
Streaming.RequestModel(78)
Streaming.RequestModel(68)
Streaming.RequestModel(330)
Streaming.RequestModel(258)
Streaming.RequestModel(259)
Streaming.RequestAnimation("ON_LOOKERS")
Streaming.LoadSpecialCharacter(1, 'MADDOGG')

:DOC2_358
if or
  not Streaming.HasModelLoaded(83)
  not Streaming.HasModelLoaded(85)
  not Streaming.HasModelLoaded(78)
goto_if_false @DOC2_392
wait 0
goto @DOC2_358

:DOC2_392
if or
  not Streaming.HasModelLoaded(68)
  not Streaming.HasModelLoaded(330)
  not Streaming.HasModelLoaded(258)
goto_if_false @DOC2_428
wait 0
goto @DOC2_392

:DOC2_428
if or
  not Streaming.HasModelLoaded(259)
  not Streaming.HasAnimationLoaded("ON_LOOKERS")
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @DOC2_473
wait 0
goto @DOC2_428

:DOC2_473
Path.SwitchRoadsOff(2090.981, 1388.51, 8.8203, 2234.686, 1517.077, 10.8203)
Path.SwitchPedRoadsOff(2090.981, 1388.51, 8.8203, 2234.686, 1517.077, 10.8203)
105@ = 2163.638
106@ = 1443.663
107@ = 9.8203
World.SetCarDensityMultiplier(0.0)
World.ClearArea(2161.34, 1442.504, 9.8203, 20.0, True)
World.ClearArea(2107.19, 1409.153, 9.8203, 10.0, True)
95@ = Char.Create(PedType.CivMale, 290, 2162.62, 1451.475, 23.1719)
Char.SetAnimGroup(95@, "DRUNKMAN")
Char.SetHeading(95@, 180.0)
Char.SetHealth(95@, 1)
73@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2154.192, 1437.948, 9.8203, MoveState.Walk, 8000)
Task.TurnCharToFaceChar(-1, 95@)
Task.PlayAnim(-1, "LKAROUND_IN", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "LKAROUND_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "LKAROUND_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "LKAROUND_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "LKAROUND_OUT", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Sequence.SetToRepeat(73@, True)
Sequence.Close(73@)
74@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2164.596, 1435.169, 9.8203, MoveState.Walk, 8000)
Task.TurnCharToFaceChar(-1, 95@)
Task.PlayAnim(-1, "POINTUP_IN", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "POINTUP_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "POINTUP_SHOUT", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "POINTUP_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "POINTUP_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Sequence.SetToRepeat(74@, True)
Sequence.Close(74@)
75@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2160.696, 1435.38, 9.8203, MoveState.Walk, 8000)
Task.TurnCharToFaceChar(-1, 95@)
Task.Pause(-1, 100)
Task.PlayAnim(-1, "POINTUP_IN", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "POINTUP_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "POINTUP_SHOUT", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "POINTUP_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "POINTUP_OUT", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Sequence.SetToRepeat(75@, True)
Sequence.Close(75@)
76@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2169.263, 1435.927, 9.8203, MoveState.Walk, 8000)
Task.TurnCharToFaceChar(-1, 95@)
Task.PlayAnim(-1, "SHOUT_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_02", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_01", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Sequence.SetToRepeat(76@, True)
Sequence.Close(76@)
77@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2155.42, 1436.42, 9.8203, MoveState.Walk, 8000)
Task.TurnCharToFaceChar(-1, 95@)
Task.Pause(-1, 500)
Task.PlayAnim(-1, "SHOUT_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_01", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_01", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Sequence.SetToRepeat(77@, True)
Sequence.Close(77@)
78@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2168.29, 1436.191, 9.8203, MoveState.Walk, 8000)
Task.TurnCharToFaceChar(-1, 95@)
Task.PlayAnim(-1, "SHOUT_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_02", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_01", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "SHOUT_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Sequence.SetToRepeat(78@, True)
Sequence.Close(78@)
79@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2159.253, 1435.312, 9.8203, MoveState.Walk, 8000)
Task.TurnCharToFaceChar(-1, 95@)
Task.Pause(-1, 500)
Task.PlayAnim(-1, "LKUP_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "LKUP_POINT", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "LKUP_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "LKUP_POINT", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.PlayAnim(-1, "LKUP_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Sequence.SetToRepeat(79@, True)
Sequence.Close(79@)
96@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2165.651, 1452.0, 23.1721, MoveState.Walk, 8000)
Task.GoStraightToCoord(-1, 2160.56, 1452.0, 23.1719, MoveState.Walk, 8000)
Sequence.SetToRepeat(96@, True)
Sequence.Close(96@)
97@ = Sequence.Open()
Task.Jump(-1, False)
Sequence.Close(97@)
98@ = Sequence.Open()
Task.Duck(-1, -1)
Sequence.SetToRepeat(98@, True)
Sequence.Close(98@)
116@ = Sequence.Open()
Task.PlayAnim(-1, "LKAROUND_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Sequence.SetToRepeat(116@, True)
Sequence.Close(116@)
110@ = Sequence.Open()
Task.PlayAnim(-1, "WAVE_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.WanderStandard(-1)
Sequence.Close(110@)
111@ = Sequence.Open()
Task.PlayAnim(-1, "SHOUT_LOOP", "ON_LOOKERS", 1.0, False, False, False, False, -1)
Task.WanderStandard(-1)
Sequence.Close(111@)
100@ = Object.CreateNoOffset(#SMASH_BOX_STAY, 2156.719, 1482.352, 19.1794)
101@ = Object.CreateNoOffset(#SMASH_BOX_BRK, 2156.719, 1482.352, 19.1794)
$d2_anim_rnd = 100
Char.SetNeverTargeted(95@, True)
92@ = Blip.AddForCoord(105@, 106@, 107@)
93@ = Blip.AddForCoord(1878.546, 2240.82, 9.813)
Blip.ChangeDisplay(92@, BlipDisplay.Neither)
Blip.ChangeDisplay(93@, BlipDisplay.Neither)
$hei3_spook = Math.RandomIntInRange(0, 5)
switch_start $hei3_spook {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @DOC2_3089 {caseNum1} 0 {caseLabel1} @DOC2_3014 {caseNum2} 1 {caseLabel2} @DOC2_3029 {caseNum3} 2 {caseLabel3} @DOC2_3044 {caseNum4} 3 {caseLabel4} @DOC2_3059 {caseNum5} 4 {caseLabel5} @DOC2_3074 {caseNum6} -1 {caseLabel6} @DOC2_3089 {caseNum7} -1 {caseLabel7} @DOC2_3089

:DOC2_3014
$hei3_spook = 16000
goto @DOC2_3089

:DOC2_3029
$hei3_spook = 18000
goto @DOC2_3089

:DOC2_3044
$hei3_spook = 20000
goto @DOC2_3089

:DOC2_3059
$hei3_spook = 22000
goto @DOC2_3089

:DOC2_3074
$hei3_spook = 24000
goto @DOC2_3089

:DOC2_3089
88@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, 95@)
Task.ScratchHead(-1)
Task.LookAbout(-1, 4000)
Task.Pause(-1, 1000)
Sequence.SetToRepeat(88@, True)
Sequence.Close(88@)
39@ = 0
$hei3_text = 0
43@ = Char.Create(PedType.CivMale, 78, 2154.192, 1437.948, 9.8203)
Char.SetHeading(43@, 341.9008)
Char.SetDecisionMaker(43@, 99@)
Char.PerformSequence(43@, 73@)
44@ = Char.Create(PedType.CivMale, 83, 2164.596, 1435.169, 9.8203)
Char.SetHeading(44@, 8.2163)
Char.SetDecisionMaker(44@, 99@)
Char.PerformSequence(44@, 74@)
45@ = Char.Create(PedType.CivMale, 259, 2160.696, 1435.38, 9.8203)
Char.SetHeading(45@, 8.2163)
Char.SetDecisionMaker(45@, 99@)
Char.PerformSequence(45@, 75@)
46@ = Char.Create(PedType.CivMale, 78, 2169.263, 1435.927, 9.8203)
Char.SetHeading(46@, 8.2163)
Char.SetDecisionMaker(46@, 99@)
Char.PerformSequence(46@, 76@)
47@ = Char.Create(PedType.CivMale, 85, 2155.42, 1436.42, 9.8203)
Char.SetHeading(47@, 8.2163)
Char.SetDecisionMaker(47@, 99@)
Char.PerformSequence(47@, 77@)
48@ = Char.Create(PedType.CivMale, 68, 2168.29, 1436.191, 9.8203)
Char.SetHeading(48@, 8.2163)
Char.SetDecisionMaker(48@, 99@)
Char.PerformSequence(48@, 78@)
49@ = Char.Create(PedType.CivMale, 258, 2159.253, 1435.312, 9.8203)
Char.SetHeading(49@, 2.018)
Char.SetDecisionMaker(49@, 99@)
Char.PerformSequence(49@, 79@)
Streaming.RequestModel(478)
Streaming.RequestModel(50)
Streaming.RequestModel(#SMASHBOXPILE)

:DOC2_3511
if or
  not Streaming.HasModelLoaded(478)
  not Streaming.HasModelLoaded(50)
  not Streaming.HasModelLoaded(#SMASHBOXPILE)
goto_if_false @DOC2_3547
wait 0
goto @DOC2_3511

:DOC2_3547
102@ = Object.Create(#SMASHBOXPILE, 2112.753, 1403.973, 10.1484)
Object.SetHeading(102@, 86.7997)
Streaming.MarkModelAsNoLongerNeeded(#SMASHBOXPILE)
Car.SetModelComponents(478, 4, 4)
34@ = Car.Create(478, 2107.19, 1409.153, 9.8203)
Streaming.MarkModelAsNoLongerNeeded(478)
Car.SetHeading(34@, 180.0)
Car.ChangeColor(34@, 1, 1)
35@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(35@, True)
Blip.ChangeDisplay(35@, BlipDisplay.Both)
109@ = 0.0
if 
  not Car.IsDead(34@)
goto_if_false @DOC2_3761
Object.AttachToCar(100@, 34@, -0.3, -1.0, 109@, 0.0, 0.0, 0.0)
Object.AttachToCar(101@, 34@, -0.3, -1.0, 109@, 0.0, 0.0, 0.0)

:DOC2_3761
114@ = Char.Create(PedType.CivMale, 50, 2109.793, 1407.857, 9.8203)
Streaming.MarkModelAsNoLongerNeeded(50)
Char.SetHeading(114@, 180.0)
Task.UseMobilePhone(114@, True)
gosub @DOC2_14005
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_3864
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2162.498, 1434.396, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 358.0)

:DOC2_3864
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_3893
Char.ClearTasksImmediately(95@)
Char.PerformSequence(95@, 116@)

:DOC2_3893
World.ClearArea(2162.705, 1430.309, 9.8203, 10.0, True)
Camera.SetFixedPosition(2162.541, 1423.84, 9.9728, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2162.558, 1424.803, 10.2424, SwitchType.JumpCut)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.In)
130@ = 2
135@ = 2
wait 1000
Text.PrintNow('DOC2_X', 5000, 1)
TIMERB = 0

:DOC2_4024
if 
  2000 > TIMERB
goto_if_false @DOC2_4078
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_4071
goto @DOC2_4170

:DOC2_4071
goto @DOC2_4024

:DOC2_4078
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_4109
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.AchieveHeading($stattreadstamina_ctr, 172.0)

:DOC2_4109
TIMERB = 0

:DOC2_4116
if 
  2000 > TIMERB
goto_if_false @DOC2_4170
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_4163
goto @DOC2_4170

:DOC2_4163
goto @DOC2_4116

:DOC2_4170
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_4201
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetHeading($stattreadstamina_ctr, 172.0)

:DOC2_4201
Text.ClearPrints
gosub @DOC2_14020
Camera.SetBehindPlayer
Text.PrintNow('DOC2_01', 7000, 1)

:DOC2_4228
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(34@)
  not Char.IsDead(95@)
goto_if_false @DOC2_13032
wait 0
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @DOC2_4280
goto @DOC2_13233

:DOC2_4280
131@ += 1
gosub @DOC2_14105
gosub @DOC2_14907
if 
  4 > 91@
goto_if_false @DOC2_5044
if and
  131@ > 200
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2154.192, 1437.948, 9.8203, 20.0, 20.0, 20.0, False)
  not Text.IsMessageBeingDisplayed
goto_if_false @DOC2_5044

:DOC2_4377
$hei3_text = Math.RandomIntInRange(0, 9)
if and
  is_int_var_equal_to_int_lvar $hei3_text == 132@
  3 > 133@
goto_if_false @DOC2_4426
goto @DOC2_4377
133@ += 1

:DOC2_4426
set_lvar_int_to_var_int 132@ = $hei3_text
133@ = 0
if 
  not Char.IsDead(43@)
goto_if_false @DOC2_4685
if and
  Char.LocateAnyMeans3D(43@, 2154.192, 1437.948, 9.8203, 2.0, 2.0, 2.0, False)
  not Text.IsMessageBeingDisplayed
  126@ == 0
goto_if_false @DOC2_4685
switch_start $hei3_text {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DOC2_4685 {caseNum1} 0 {caseLabel1} @DOC2_4577 {caseNum2} 1 {caseLabel2} @DOC2_4613 {caseNum3} 2 {caseLabel3} @DOC2_4649 {caseNum4} -1 {caseLabel4} @DOC2_4685 {caseNum5} -1 {caseLabel5} @DOC2_4685 {caseNum6} -1 {caseLabel6} @DOC2_4685 {caseNum7} -1 {caseLabel7} @DOC2_4685

:DOC2_4577
set_lvar_text_label 127@s = 'DC2_AA'
set_lvar_int_to_constant 129@ = 12400
gosub @DOC2_14887
goto @DOC2_4685

:DOC2_4613
set_lvar_text_label 127@s = 'DC2_AB'
set_lvar_int_to_constant 129@ = 12401
gosub @DOC2_14887
goto @DOC2_4685

:DOC2_4649
set_lvar_text_label 127@s = 'DC2_AC'
set_lvar_int_to_constant 129@ = 12402
gosub @DOC2_14887
goto @DOC2_4685

:DOC2_4685
if 
  not Char.IsDead(44@)
goto_if_false @DOC2_5037
if and
  Char.LocateAnyMeans3D(44@, 2164.596, 1435.169, 9.8203, 2.0, 2.0, 2.0, False)
  not Text.IsMessageBeingDisplayed
  126@ == 0
goto_if_false @DOC2_5037
switch_start $hei3_text {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @DOC2_5037 {caseNum1} 3 {caseLabel1} @DOC2_4821 {caseNum2} 4 {caseLabel2} @DOC2_4857 {caseNum3} 5 {caseLabel3} @DOC2_4893 {caseNum4} 6 {caseLabel4} @DOC2_4929 {caseNum5} 7 {caseLabel5} @DOC2_4965 {caseNum6} 8 {caseLabel6} @DOC2_5001 {caseNum7} -1 {caseLabel7} @DOC2_5037

:DOC2_4821
set_lvar_text_label 127@s = 'DC2_AD'
set_lvar_int_to_constant 129@ = 12403
gosub @DOC2_14887
goto @DOC2_5037

:DOC2_4857
set_lvar_text_label 127@s = 'DC2_AE'
set_lvar_int_to_constant 129@ = 12404
gosub @DOC2_14887
goto @DOC2_5037

:DOC2_4893
set_lvar_text_label 127@s = 'DC2_AF'
set_lvar_int_to_constant 129@ = 12405
gosub @DOC2_14887
goto @DOC2_5037

:DOC2_4929
set_lvar_text_label 127@s = 'DC2_AJ'
set_lvar_int_to_constant 129@ = 12409
gosub @DOC2_14887
goto @DOC2_5037

:DOC2_4965
set_lvar_text_label 127@s = 'DC2_AK'
set_lvar_int_to_constant 129@ = 12410
gosub @DOC2_14887
goto @DOC2_5037

:DOC2_5001
set_lvar_text_label 127@s = 'DC2_AL'
set_lvar_int_to_constant 129@ = 12411
gosub @DOC2_14887
goto @DOC2_5037

:DOC2_5037
131@ = 0

:DOC2_5044
if and
  not Car.IsDead(34@)
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(95@)
goto_if_false @DOC2_6975
39@ = 0

:DOC2_5077
if 
  not Char.IsDead(43@(39@,15i))
goto_if_false @DOC2_5272
if and
  Char.HasBeenDamagedByChar(43@(39@,15i), $stattreadstamina_ctr)
  58@(39@,15i) == 0
goto_if_false @DOC2_5180
Char.ClearTasks(43@(39@,15i))
Task.GoStraightToCoord(43@(39@,15i), 2082.005, 1415.909, 9.8047, MoveState.Sprint, 20000)
58@(39@,15i) = 1

:DOC2_5180
if and
  Char.LocateAnyMeans3D(43@(39@,15i), 2082.381, 1416.636, 9.8047, 10.0, 10.0, 10.0, False)
  58@(39@,15i) <> 3
goto_if_false @DOC2_5272
Char.ClearTasks(43@(39@,15i))
Task.WanderStandard(43@(39@,15i))
58@(39@,15i) = 3

:DOC2_5272
39@ += 1
  39@ >= 7
goto_if_false @DOC2_5077
if or
  91@ == 1
  91@ == 0
goto_if_false @DOC2_5748
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @DOC2_5588
if and
  not Char.IsDead(114@)
  113@ == 0
goto_if_false @DOC2_5560
Char.ClearTasksImmediately(114@)
Task.KillCharOnFoot(114@, $stattreadstamina_ctr)
$hei3_text = Math.RandomIntInRange(0, 2)
switch_start $hei3_text {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DOC2_5553 {caseNum1} 0 {caseLabel1} @DOC2_5445 {caseNum2} 1 {caseLabel2} @DOC2_5481 {caseNum3} 2 {caseLabel3} @DOC2_5517 {caseNum4} -1 {caseLabel4} @DOC2_5553 {caseNum5} -1 {caseLabel5} @DOC2_5553 {caseNum6} -1 {caseLabel6} @DOC2_5553 {caseNum7} -1 {caseLabel7} @DOC2_5553

:DOC2_5445
set_lvar_text_label 127@s = 'DOGG_GA'
set_lvar_int_to_constant 129@ = 14039
gosub @DOC2_14887
goto @DOC2_5553

:DOC2_5481
set_lvar_text_label 127@s = 'DOGG_GB'
set_lvar_int_to_constant 129@ = 14040
gosub @DOC2_14887
goto @DOC2_5553

:DOC2_5517
set_lvar_text_label 127@s = 'DOGG_GC'
set_lvar_int_to_constant 129@ = 14041
gosub @DOC2_14887
goto @DOC2_5553

:DOC2_5553
113@ = 1

:DOC2_5560
Blip.ChangeDisplay(35@, BlipDisplay.Neither)
Blip.ChangeDisplay(92@, BlipDisplay.Both)
91@ = 1
goto @DOC2_5609

:DOC2_5588
Blip.ChangeDisplay(35@, BlipDisplay.Both)
Blip.ChangeDisplay(92@, BlipDisplay.Neither)
91@ = 0

:DOC2_5609
if 
  91@ == 1
goto_if_false @DOC2_5748
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 105@, 106@, 107@, 4.0, 4.0, 4.0, True)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_5748
Player.SetControl($statbike_temp, False)
91@ = 2
108@ = Char.GetHeading($stattreadstamina_ctr)
if and
  108@ > 45.0
  145.0 > 108@
goto_if_false @DOC2_5741
125@ = 0
goto @DOC2_5748

:DOC2_5741
125@ = 1

:DOC2_5748
if 
  91@ == 2
goto_if_false @DOC2_6975
gosub @DOC2_14005
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_5830
Char.ClearTasksImmediately(95@)
Task.PlayAnim(95@, "IDLE_CHAT", "PED", 1.0, False, False, False, False, -1)

:DOC2_5830
Camera.SetFixedPosition(2162.62, 1450.208, 25.1198, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2162.62, 1451.192, 24.9414, SwitchType.JumpCut)
$hei3_text = Math.RandomIntInRange(0, 3)
switch_start $hei3_text {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DOC2_6217 {caseNum1} 0 {caseLabel1} @DOC2_5953 {caseNum2} 1 {caseLabel2} @DOC2_6041 {caseNum3} 2 {caseLabel3} @DOC2_6129 {caseNum4} -1 {caseLabel4} @DOC2_6217 {caseNum5} -1 {caseLabel5} @DOC2_6217 {caseNum6} -1 {caseLabel6} @DOC2_6217 {caseNum7} -1 {caseLabel7} @DOC2_6217

:DOC2_5953
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14000)

:DOC2_5964
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_5990
wait 0
goto @DOC2_5964

:DOC2_5990
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_6014
Char.StartFacialTalk(95@, 2000)

:DOC2_6014
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_AA', 3000, 1)
goto @DOC2_6217

:DOC2_6041
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14002)

:DOC2_6052
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_6078
wait 0
goto @DOC2_6052

:DOC2_6078
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_6102
Char.StartFacialTalk(95@, 2000)

:DOC2_6102
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_AC', 3000, 1)
goto @DOC2_6217

:DOC2_6129
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14006)

:DOC2_6140
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_6166
wait 0
goto @DOC2_6140

:DOC2_6166
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_6190
Char.StartFacialTalk(95@, 2000)

:DOC2_6190
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_AG', 3000, 1)
goto @DOC2_6217

:DOC2_6217
if 
  not Char.IsDead(114@)
goto_if_false @DOC2_6238
Char.RemoveElegantly(114@)

:DOC2_6238
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(50)
wait 1000
TIMERB = 0

:DOC2_6259
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DOC2_6316
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_6309
134@ = 1
goto @DOC2_6747

:DOC2_6309
goto @DOC2_6259

:DOC2_6316
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_6337
Char.StopFacialTalk(95@)

:DOC2_6337
TIMERB = 0

:DOC2_6344
if 
  2000 > TIMERB
goto_if_false @DOC2_6405
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_6398
134@ = 1
goto @DOC2_6747

:DOC2_6398
goto @DOC2_6344

:DOC2_6405
Camera.SetInterpolationParameters(0.0, 2000)
Camera.SetFixedPosition(2162.62, 1450.208, 25.1198, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2162.62, 1450.499, 24.1631, SwitchType.Interpolation)
TIMERB = 0

:DOC2_6473
if 
  2000 > TIMERB
goto_if_false @DOC2_6534
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_6527
134@ = 1
goto @DOC2_6747

:DOC2_6527
goto @DOC2_6473

:DOC2_6534
Camera.SetInterpolationParameters(0.0, 2000)
Camera.SetFixedPosition(2162.62, 1445.077, 13.6736, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2162.62, 1445.815, 14.7476, SwitchType.Interpolation)
TIMERB = 0

:DOC2_6602
if 
  1000 > TIMERB
goto_if_false @DOC2_6663
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_6656
134@ = 1
goto @DOC2_6747

:DOC2_6656
goto @DOC2_6602

:DOC2_6663
Text.PrintNow('DOC2_05', 3000, 1)
TIMERB = 0

:DOC2_6686
if 
  3000 > TIMERB
goto_if_false @DOC2_6747
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_6740
134@ = 1
goto @DOC2_6747

:DOC2_6740
goto @DOC2_6686

:DOC2_6747
if 
  134@ == 1
goto_if_false @DOC2_6781
Text.PrintNow('DOC2_05', 3000, 1)

:DOC2_6781
Text.ClearPrints
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_6807
Char.PerformSequence(95@, 96@)

:DOC2_6807
if 
  125@ == 0
goto_if_false @DOC2_6878
if 
  not Car.IsDead(34@)
goto_if_false @DOC2_6871
Car.SetCoordinates(34@, 2163.888, 1444.0, 9.8203)
Car.SetHeading(34@, 90.0)

:DOC2_6871
goto @DOC2_6924

:DOC2_6878
if 
  not Car.IsDead(34@)
goto_if_false @DOC2_6924
Car.SetCoordinates(34@, 2163.888, 1444.0, 9.8203)
Car.SetHeading(34@, 270.0)

:DOC2_6924
Player.ApplyBrakesToCar($statbike_temp, False)
if 
  Blip.DoesExist(92@)
goto_if_false @DOC2_6954
Blip.SetCoordAppearance(92@, 1)

:DOC2_6954
gosub @DOC2_14020
91@ = 3
TIMERA = 0

:DOC2_6975
if and
  not Car.IsDead(34@)
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(95@)
goto_if_false @DOC2_12980
if 
  91@ == 3
goto_if_false @DOC2_9058
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2149.407, 1431.497, 9.8203, 100.0, 100.0, 100.0, False)
goto_if_false @DOC2_7090
Text.PrintNow('DOC2_10', 4000, 1)
goto @DOC2_13046

:DOC2_7090
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @DOC2_7155
if 
  89@ == 0
goto_if_false @DOC2_7148
Blip.ChangeDisplay(35@, BlipDisplay.Neither)
Blip.ChangeDisplay(92@, BlipDisplay.Both)
89@ = 1

:DOC2_7148
goto @DOC2_7210

:DOC2_7155
if 
  89@ == 1
goto_if_false @DOC2_7210
Text.PrintNow('DOC2_19', 4000, 1)
Blip.ChangeDisplay(35@, BlipDisplay.Both)
Blip.ChangeDisplay(92@, BlipDisplay.Neither)
89@ = 0

:DOC2_7210
if and
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 105@, 106@, 107@, 12.0, 12.0, 12.0, False)
  112@ == 1
goto_if_false @DOC2_7275
TIMERB = 0
Camera.RestoreJumpcut
112@ = 2

:DOC2_7275
if and
  TIMERB > 1000
  112@ == 2
goto_if_false @DOC2_7324
Text.PrintNow('DOC2_11', 4000, 1)
112@ = 0

:DOC2_7324
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 105@, 106@, 107@, 12.0, 12.0, 12.0, False)
goto_if_false @DOC2_9058
112@ = 1
if 
  40000 > TIMERA
goto_if_false @DOC2_7445
Camera.SetFixedPosition(2163.702, 1435.87, 37.0031, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2163.699, 1436.447, 36.1861, SwitchType.JumpCut)

:DOC2_7445
if and
  TIMERA > 10000
  11000 > TIMERA
goto_if_false @DOC2_7761
if 
  126@ == 0
goto_if_false @DOC2_7761
$hei3_text = Math.RandomIntInRange(0, 3)
switch_start $hei3_text {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DOC2_7754 {caseNum1} 0 {caseLabel1} @DOC2_7562 {caseNum2} 1 {caseLabel2} @DOC2_7626 {caseNum3} 2 {caseLabel3} @DOC2_7690 {caseNum4} -1 {caseLabel4} @DOC2_7754 {caseNum5} -1 {caseLabel5} @DOC2_7754 {caseNum6} -1 {caseLabel6} @DOC2_7754 {caseNum7} -1 {caseLabel7} @DOC2_7754

:DOC2_7562
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14010)

:DOC2_7573
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_7599
wait 0
goto @DOC2_7573

:DOC2_7599
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_BA', 4000, 1)
goto @DOC2_7754

:DOC2_7626
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14011)

:DOC2_7637
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_7663
wait 0
goto @DOC2_7637

:DOC2_7663
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_BB', 4000, 1)
goto @DOC2_7754

:DOC2_7690
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14012)

:DOC2_7701
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_7727
wait 0
goto @DOC2_7701

:DOC2_7727
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_BC', 4000, 1)
goto @DOC2_7754

:DOC2_7754
126@ = 1

:DOC2_7761
if 
  is_int_lvar_greater_than_int_var TIMERA > $hei3_spook
goto_if_false @DOC2_9058
Player.SetControl($statbike_temp, True)
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_7818
Char.ClearTasksImmediately(95@)
Char.SetHeading(95@, 177.7059)

:DOC2_7818
Clock.SetTimeScale(0.4)
Camera.SetFixedPosition(2163.22, 1454.533, 35.0248, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2163.227, 1454.063, 34.1425, SwitchType.JumpCut)
wait 500
Object.SetCollision(100@, False)
Object.SetCollision(101@, False)
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_7919
Char.PerformSequence(95@, 97@)

:DOC2_7919
TIMERB = 0
91@ = 4
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 23400)

:DOC2_7944
if 
  TIMERB <= 2000
goto_if_false @DOC2_8558
wait 0
if and
  TIMERB > 500
  103@ == 0
goto_if_false @DOC2_8021
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_8014
Char.ClearTasks(95@)

:DOC2_8014
103@ = 1

:DOC2_8021
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_8117
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(95@)
if and
  12.0 > $in_carX
  TIMERA > 10
goto_if_false @DOC2_8117
TIMERA = 0
Fx.AddBlood($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 2.0, 40, 95@)

:DOC2_8117
if 
  TIMERB > 1000
goto_if_false @DOC2_8201
gosub @DOC2_14005
Camera.SetFixedPosition(2172.002, 1441.702, 10.2111, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2171.076, 1442.003, 10.4368, SwitchType.JumpCut)
Player.SetControl($statbike_temp, False)

:DOC2_8201
if 
  not Car.IsDead(34@)
goto_if_false @DOC2_8551
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_8551
if 
  91@ <> 5
goto_if_false @DOC2_8551
40@, 41@, 42@ = Car.GetOffsetInWorldCoords(34@, 0.0, -1.5, 0.5)
if 
  Char.LocateAnyMeans3D(95@, 40@, 41@, 42@, 1.3, 1.3, 1.0, False)
goto_if_false @DOC2_8551
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @DOC2_8341
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:DOC2_8341
109@ = -0.1
Object.Break(101@, 1)
Char.SetCollision(95@, False)
Char.SetHealth(95@, 100)
Char.ClearTasksImmediately(95@)
Task.PlayAnimNonInterruptable(95@, "KO_SHOT_FRONT", "PED", 2.0, False, False, False, True, -1)
Char.AttachToCar(95@, 34@, 0.0, -2.0, 1.0, 0, 0.0, WeaponType.Unarmed)
91@ = 5
if and
  not Char.IsDead(95@)
  not Car.IsDead(34@)
goto_if_false @DOC2_8551
90@ = Particle.Create("EXPLOSION_BARREL", 40@, 41@, 42@, 1)
Particle.PlayAndKill(90@)
Pad.Shake(PadId.Pad1, 500, 200)
World.SetCarDensityMultiplier(2.0)
Char.SetHealth(95@, 100)
Hud.Display(True)
gosub @DOC2_13316

:DOC2_8551
goto @DOC2_7944

:DOC2_8558
TIMERA = 0
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @DOC2_8584
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:DOC2_8584
Clock.SetTimeScale(1.0)
gosub @DOC2_14020
if and
  not Char.IsDead(95@)
  not Car.IsDead(34@)
goto_if_false @DOC2_8656
Char.DetachFromCar(95@)
Char.AttachToCar(95@, 34@, 0.0, -2.5, 1.0, 0, 0.0, WeaponType.Unarmed)

:DOC2_8656
if 
  91@ == 4
goto_if_false @DOC2_8747
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_8740
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(95@)
Fx.AddBlood($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 10.0, 100, 95@)
Task.Die(95@)

:DOC2_8740
goto @DOC2_9058

:DOC2_8747
if 
  not Car.IsDead(34@)
goto_if_false @DOC2_8793
World.SetCarDensityMultiplier(2.0)
36@ = Car.GetHealth(34@)
Car.SetProofs(34@, True, False, False, False, True)

:DOC2_8793
set_lvar_int_to_lvar_int 37@ = 36@
Hud.DisplayCounterWithString($7803, CounterDisplay.Bar, 'DOC2_07')
Blip.ChangeDisplay(93@, BlipDisplay.Both)
Blip.ChangeDisplay(92@, BlipDisplay.Neither)
39@ = 0

:DOC2_8838
if 
  not Char.IsDead(43@(39@,15i))
goto_if_false @DOC2_8995
Char.ClearTasksImmediately(43@(39@,15i))
$hei3_text = Math.RandomIntInRange(0, 2)
if 
  $hei3_text == 0
goto_if_false @DOC2_8948
$hei3_text = Math.RandomIntInRange(10, 200)
wait $hei3_text
if 
  not Char.IsDead(43@(39@,15i))
goto_if_false @DOC2_8941
Char.PerformSequence(43@(39@,15i), 110@)

:DOC2_8941
goto @DOC2_8995

:DOC2_8948
$hei3_text = Math.RandomIntInRange(10, 200)
wait $hei3_text
if 
  not Char.IsDead(43@(39@,15i))
goto_if_false @DOC2_8995
Char.PerformSequence(43@(39@,15i), 111@)

:DOC2_8995
39@ += 1
  39@ >= 7
goto_if_false @DOC2_8838
Streaming.RemoveAnimation("ON_LOOKERS")
wait 1000
Text.PrintNow('DOC2_06', 5000, 1)
TIMERA = 0

:DOC2_9058
if and
  not Car.IsDead(34@)
  not Char.IsDead(95@)
goto_if_false @DOC2_12980
if 
  91@ == 5
goto_if_false @DOC2_12980
if 
  TIMERA > 5000
goto_if_false @DOC2_9482
if and
  130@ == 2
  124@ == 0
goto_if_false @DOC2_9177
set_lvar_text_label 127@s = 'DOGG_CA'
set_lvar_int_to_constant 129@ = 14013
gosub @DOC2_14887
124@ = 1

:DOC2_9177
if and
  130@ == 2
  124@ == 1
goto_if_false @DOC2_9238
set_lvar_text_label 127@s = 'DOGG_CB'
set_lvar_int_to_constant 129@ = 14014
gosub @DOC2_14887
124@ = 2

:DOC2_9238
if and
  130@ == 2
  124@ == 2
goto_if_false @DOC2_9299
set_lvar_text_label 127@s = 'DOGG_CC'
set_lvar_int_to_constant 129@ = 14015
gosub @DOC2_14887
124@ = 3

:DOC2_9299
if and
  130@ == 2
  124@ == 3
goto_if_false @DOC2_9360
set_lvar_text_label 127@s = 'DOGG_CD'
set_lvar_int_to_constant 129@ = 14016
gosub @DOC2_14887
124@ = 4

:DOC2_9360
if and
  130@ == 2
  124@ == 4
goto_if_false @DOC2_9421
set_lvar_text_label 127@s = 'DOGG_CE'
set_lvar_int_to_constant 129@ = 14017
gosub @DOC2_14887
124@ = 5

:DOC2_9421
if and
  130@ == 2
  124@ == 5
goto_if_false @DOC2_9482
set_lvar_text_label 127@s = 'DOGG_CF'
set_lvar_int_to_constant 129@ = 14018
gosub @DOC2_14887
124@ = 6

:DOC2_9482
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(34@)
goto_if_false @DOC2_9618
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @DOC2_9577
if 
  117@ == 0
goto_if_false @DOC2_9570
124@ = 6
Text.PrintNow('DOC2_19', 4000, 1)
117@ = 1

:DOC2_9570
goto @DOC2_9618

:DOC2_9577
if 
  117@ == 1
goto_if_false @DOC2_9618
Text.PrintNow('DOC2_20', 4000, 1)
117@ = 0

:DOC2_9618
set_lvar_int_to_lvar_int 37@ = 36@
36@ = Car.GetHealth(34@)
if and
  not Char.IsDead(95@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_9700
if 
  Char.HasBeenDamagedByChar(95@, $stattreadstamina_ctr)
goto_if_false @DOC2_9700
if 
  is_int_lvar_equal_to_int_lvar 36@ == 37@
goto_if_false @DOC2_9700
36@ -= 50

:DOC2_9700
if 
  is_int_lvar_greater_than_int_lvar 37@ > 36@
goto_if_false @DOC2_10835
set_lvar_int_to_lvar_int 38@ = 37@
sub_int_lvar_from_int_lvar 38@ -= 36@
sub_int_lvar_from_int_var $7803 -= 38@
if 
  0 > $7803
goto_if_false @DOC2_10022
$7803 = 0
Text.ClearPrints
$hei3_text = Math.RandomIntInRange(0, 3)
switch_start $hei3_text {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DOC2_9950 {caseNum1} 0 {caseLabel1} @DOC2_9842 {caseNum2} 1 {caseLabel2} @DOC2_9878 {caseNum3} 2 {caseLabel3} @DOC2_9914 {caseNum4} -1 {caseLabel4} @DOC2_9950 {caseNum5} -1 {caseLabel5} @DOC2_9950 {caseNum6} -1 {caseLabel6} @DOC2_9950 {caseNum7} -1 {caseLabel7} @DOC2_9950

:DOC2_9842
set_lvar_text_label 127@s = 'DOGG_EA'
set_lvar_int_to_constant 129@ = 14029
gosub @DOC2_14887
goto @DOC2_9950

:DOC2_9878
set_lvar_text_label 127@s = 'DOGG_EB'
set_lvar_int_to_constant 129@ = 14030
gosub @DOC2_14887
goto @DOC2_9950

:DOC2_9914
set_lvar_text_label 127@s = 'DOGG_EC'
set_lvar_int_to_constant 129@ = 14031
gosub @DOC2_14887
goto @DOC2_9950

:DOC2_9950
if 
  not Car.IsDead(34@)
goto_if_false @DOC2_9980
91@ = 6
goto @DOC2_9992

:DOC2_9980
Char.RemoveElegantly(95@)
goto @DOC2_13046

:DOC2_9992
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_10015
Char.SetBleeding(95@, False)

:DOC2_10015
TIMERB = 0

:DOC2_10022
if and
  94@ == 0
  91@ <> 6
goto_if_false @DOC2_10835
Text.ClearPrints
124@ = 4
94@ = 1
TIMERB = 0
Char.SetBleeding(95@, True)
if or
  137@ == 0
  137@ == 1
goto_if_false @DOC2_10118
$hei3_text = Math.RandomIntInRange(0, 3)
goto @DOC2_10127

:DOC2_10118
$hei3_text = Math.RandomIntInRange(0, 2)

:DOC2_10127
switch_start 137@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @DOC2_10796 {caseNum1} 0 {caseLabel1} @DOC2_10190 {caseNum2} 1 {caseLabel2} @DOC2_10338 {caseNum3} 2 {caseLabel3} @DOC2_10486 {caseNum4} 3 {caseLabel4} @DOC2_10641 {caseNum5} -1 {caseLabel5} @DOC2_10796 {caseNum6} -1 {caseLabel6} @DOC2_10796 {caseNum7} -1 {caseLabel7} @DOC2_10796

:DOC2_10190
if 
  $hei3_text == 0
goto_if_false @DOC2_10237
set_lvar_text_label 127@s = 'DOGG_DC'
set_lvar_int_to_constant 129@ = 14021
gosub @DOC2_14887

:DOC2_10237
if 
  $hei3_text == 1
goto_if_false @DOC2_10284
set_lvar_text_label 127@s = 'DOGG_DD'
set_lvar_int_to_constant 129@ = 14022
gosub @DOC2_14887

:DOC2_10284
if 
  $hei3_text == 2
goto_if_false @DOC2_10331
set_lvar_text_label 127@s = 'DOGG_DI'
set_lvar_int_to_constant 129@ = 14027
gosub @DOC2_14887

:DOC2_10331
goto @DOC2_10796

:DOC2_10338
if 
  $hei3_text == 0
goto_if_false @DOC2_10385
set_lvar_text_label 127@s = 'DOGG_DJ'
set_lvar_int_to_constant 129@ = 14028
gosub @DOC2_14887

:DOC2_10385
if 
  $hei3_text == 1
goto_if_false @DOC2_10432
set_lvar_text_label 127@s = 'DOGG_DE'
set_lvar_int_to_constant 129@ = 14023
gosub @DOC2_14887

:DOC2_10432
if 
  $hei3_text == 2
goto_if_false @DOC2_10479
set_lvar_text_label 127@s = 'DOGG_DF'
set_lvar_int_to_constant 129@ = 14024
gosub @DOC2_14887

:DOC2_10479
goto @DOC2_10796

:DOC2_10486
if 
  $hei3_text == 0
goto_if_false @DOC2_10533
set_lvar_text_label 127@s = 'DOGG_DG'
set_lvar_int_to_constant 129@ = 14025
gosub @DOC2_14887

:DOC2_10533
if 
  $hei3_text == 1
goto_if_false @DOC2_10634
if 
  124@ == 6
goto_if_false @DOC2_10605
set_lvar_text_label 127@s = 'DOGG_DH'
set_lvar_int_to_constant 129@ = 14026
gosub @DOC2_14887
goto @DOC2_10634

:DOC2_10605
set_lvar_text_label 127@s = 'DOGG_DG'
set_lvar_int_to_constant 129@ = 14025
gosub @DOC2_14887

:DOC2_10634
goto @DOC2_10796

:DOC2_10641
if 
  $hei3_text == 0
goto_if_false @DOC2_10688
set_lvar_text_label 127@s = 'DOGG_DA'
set_lvar_int_to_constant 129@ = 14019
gosub @DOC2_14887

:DOC2_10688
if 
  $hei3_text == 1
goto_if_false @DOC2_10789
if 
  124@ == 6
goto_if_false @DOC2_10760
set_lvar_text_label 127@s = 'DOGG_DB'
set_lvar_int_to_constant 129@ = 14020
gosub @DOC2_14887
goto @DOC2_10789

:DOC2_10760
set_lvar_text_label 127@s = 'DOGG_DA'
set_lvar_int_to_constant 129@ = 14019
gosub @DOC2_14887

:DOC2_10789
goto @DOC2_10796

:DOC2_10796
137@ += 1
if 
  137@ == 4
goto_if_false @DOC2_10828
137@ = 0

:DOC2_10828
124@ = 6

:DOC2_10835
if and
  94@ == 1
  TIMERB > 4000
goto_if_false @DOC2_10875
Char.SetBleeding(95@, False)
94@ = 0

:DOC2_10875
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @DOC2_10915
Blip.ChangeDisplay(35@, BlipDisplay.Neither)
Blip.ChangeDisplay(93@, BlipDisplay.Both)
goto @DOC2_10929

:DOC2_10915
Blip.ChangeDisplay(35@, BlipDisplay.Both)
Blip.ChangeDisplay(93@, BlipDisplay.Neither)

:DOC2_10929
if 
  not Car.IsDead(34@)
goto_if_false @DOC2_12980
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @DOC2_12980
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1878.546, 2240.82, 9.813, 4.0, 4.0, 4.0, True)
  not Car.IsDead(34@)
goto_if_false @DOC2_12980
Player.SetControl($statbike_temp, False)
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_12947
Player.ApplyBrakesToCar($statbike_temp, True)
gosub @DOC2_14005
108@ = Char.GetHeading($stattreadstamina_ctr)
if and
  108@ > 0.0
  180.0 > 108@
goto_if_false @DOC2_11107
115@ = 0
goto @DOC2_11114

:DOC2_11107
115@ = 1

:DOC2_11114
World.ClearArea(1878.546, 2240.82, 9.813, 10.0, True)
Char.DetachFromCar(95@)
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_11189
Char.SetCoordinates(95@, 1876.335, 2236.9, 10.125)
Char.SetHeading(95@, 242.5344)

:DOC2_11189
if 
  not Car.IsDead(34@)
goto_if_false @DOC2_11270
Car.SetCoordinates(34@, 1878.546, 2240.82, 9.813)
if 
  115@ == 0
goto_if_false @DOC2_11260
Car.SetHeading(34@, 90.0)
goto @DOC2_11270

:DOC2_11260
Car.SetHeading(34@, 270.0)

:DOC2_11270
Camera.SetFixedPosition(1854.521, 2272.75, 11.9889, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1854.83, 2271.8, 11.9363, SwitchType.JumpCut)
wait 1000
TIMERB = 0

:DOC2_11333
if 
  2000 > TIMERB
goto_if_false @DOC2_11387
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_11380
goto @DOC2_12813

:DOC2_11380
goto @DOC2_11333

:DOC2_11387
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_11456
139@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 1878.493, 2235.108, 10.125, 6, -1)
Task.TurnCharToFaceChar(-1, 95@)
Task.Pause(-1, 2000)
Task.ToggleDuck(-1, True)
Sequence.Close(139@)

:DOC2_11456
120@ = Char.Create(PedType.CivMale, 274, 1875.337, 2235.227, 10.125)
Char.SetHeading(120@, 329.5542)
Task.ToggleDuck(120@, True)
121@ = Char.Create(PedType.CivMale, 274, 1886.007, 2235.067, 10.125)
Char.SetHeading(121@, 84.1029)
Char.PerformSequence(121@, 139@)
Camera.SetFixedPosition(1872.495, 2243.844, 14.0672, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1873.321, 2243.282, 14.1094, SwitchType.JumpCut)
wait 100
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14032)

:DOC2_11607
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_11633
wait 0
goto @DOC2_11607

:DOC2_11633
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_FA', 3000, 1)
Camera.SetInterpolationParameters(0.0, 6000)
Camera.SetFixedPosition(1872.495, 2243.844, 14.0672, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1872.971, 2243.143, 13.5352, SwitchType.Interpolation)
TIMERB = 0

:DOC2_11721
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DOC2_11771
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_11764
goto @DOC2_12813

:DOC2_11764
goto @DOC2_11721

:DOC2_11771
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14033)

:DOC2_11782
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_11808
wait 0
goto @DOC2_11782

:DOC2_11808
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_FB', 3000, 1)
TIMERB = 0

:DOC2_11835
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DOC2_11885
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_11878
goto @DOC2_12813

:DOC2_11878
goto @DOC2_11835

:DOC2_11885
TIMERB = 0

:DOC2_11892
if 
  1000 > TIMERB
goto_if_false @DOC2_11946
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_11939
goto @DOC2_12813

:DOC2_11939
goto @DOC2_11892

:DOC2_11946
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14034)

:DOC2_11957
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_11983
wait 0
goto @DOC2_11957

:DOC2_11983
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_FC', 3000, 1)
TIMERB = 0

:DOC2_12010
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DOC2_12060
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_12053
goto @DOC2_12813

:DOC2_12053
goto @DOC2_12010

:DOC2_12060
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14035)

:DOC2_12071
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_12097
wait 0
goto @DOC2_12071

:DOC2_12097
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_FD', 3000, 1)
TIMERB = 0

:DOC2_12124
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DOC2_12174
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_12167
goto @DOC2_12813

:DOC2_12167
goto @DOC2_12124

:DOC2_12174
TIMERB = 0

:DOC2_12181
if 
  1000 > TIMERB
goto_if_false @DOC2_12235
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_12228
goto @DOC2_12813

:DOC2_12228
goto @DOC2_12181

:DOC2_12235
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14036)

:DOC2_12246
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_12272
wait 0
goto @DOC2_12246

:DOC2_12272
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_FE', 3000, 1)
TIMERB = 0

:DOC2_12299
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DOC2_12349
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_12342
goto @DOC2_12813

:DOC2_12342
goto @DOC2_12299

:DOC2_12349
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14037)

:DOC2_12360
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_12386
wait 0
goto @DOC2_12360

:DOC2_12386
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_FF', 2000, 1)
TIMERB = 0

:DOC2_12413
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DOC2_12463
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_12456
goto @DOC2_12813

:DOC2_12456
goto @DOC2_12413

:DOC2_12463
TIMERB = 0

:DOC2_12470
if 
  1000 > TIMERB
goto_if_false @DOC2_12524
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_12517
goto @DOC2_12813

:DOC2_12517
goto @DOC2_12470

:DOC2_12524
if and
  not Car.IsDead(34@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_12638
if 
  115@ == 0
goto_if_false @DOC2_12604
Task.CarDriveToCoord($stattreadstamina_ctr, 34@, 1853.302, 2239.55, 9.8203, 10.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
goto @DOC2_12638

:DOC2_12604
Task.CarDriveToCoord($stattreadstamina_ctr, 34@, 1902.168, 2238.136, 9.8203, 10.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)

:DOC2_12638
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 14038)

:DOC2_12649
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @DOC2_12675
wait 0
goto @DOC2_12649

:DOC2_12675
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('DOGG_FG', 3000, 1)
TIMERB = 0

:DOC2_12702
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @DOC2_12752
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_12745
goto @DOC2_12813

:DOC2_12745
goto @DOC2_12702

:DOC2_12752
TIMERB = 0

:DOC2_12759
if 
  1000 > TIMERB
goto_if_false @DOC2_12813
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DOC2_12806
goto @DOC2_12813

:DOC2_12806
goto @DOC2_12759

:DOC2_12813
gosub @DOC2_13671
if 
  not Car.IsDead(34@)
goto_if_false @DOC2_12928
Car.SetStatus(34@, EntityStatus.Player)
if 
  115@ == 1
goto_if_false @DOC2_12898
Car.SetCoordinates(34@, 1913.238, 2240.401, 9.8203)
Car.SetHeading(34@, 270.0)
goto @DOC2_12928

:DOC2_12898
Car.SetCoordinates(34@, 1867.3, 2260.574, 9.8203)
Car.SetHeading(34@, 0.0)

:DOC2_12928
Hud.ClearCounter($d2_anim_rnd)
gosub @DOC2_14020
Player.ApplyBrakesToCar($statbike_temp, False)

:DOC2_12947
Char.Delete(95@)
if 
  Blip.DoesExist(93@)
goto_if_false @DOC2_12973
Blip.Remove(93@)

:DOC2_12973
goto @DOC2_13233

:DOC2_12980
if and
  91@ == 6
  TIMERB > 3000
goto_if_false @DOC2_13025
Char.SetBleeding(95@, False)
Char.RemoveElegantly(95@)
goto @DOC2_13046

:DOC2_13025
goto @DOC2_4228

:DOC2_13032
gosub @DOC2_14020
goto @DOC2_13046

:DOC2_13046
if 
  104@ == 0
goto_if_false @DOC2_13231
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  91@ == 5
goto_if_false @DOC2_13103
Hud.ClearCounter($7803)

:DOC2_13103
if 
  Car.IsDead(34@)
goto_if_false @DOC2_13192
if 
  5 > 91@
goto_if_false @DOC2_13160
Text.PrintNow('DOC2_09', 4000, 1)
goto @DOC2_13176

:DOC2_13160
Text.PrintNow('DOC2_10', 4000, 1)

:DOC2_13176
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_13192

:DOC2_13192
if or
  Char.IsDead(95@)
  $7803 == 0
goto_if_false @DOC2_13231
Text.PrintNow('DOC2_10', 4000, 1)

:DOC2_13231
return 

:DOC2_13233
104@ = 1
if 
  Blip.DoesExist($casino_blip_icon)
goto_if_false @DOC2_13261
Blip.Remove($casino_blip_icon)

:DOC2_13261
$desertZ += 1
Stat.RegisterMissionPassed('DOC_2')
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(1)
Text.PrintWithNumberBig('M_PASSR', 10, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(10)
Player.ClearWantedLevel($statbike_temp)
return 

:DOC2_13316
Streaming.RequestModel(274)
Streaming.RequestModel(416)

:DOC2_13326
if or
  not Streaming.HasModelLoaded(274)
  not Streaming.HasModelLoaded(416)
goto_if_false @DOC2_13358
wait 0
goto @DOC2_13326

:DOC2_13358
118@ = Char.Create(PedType.CivMale, 274, 1853.996, 2264.554, 9.9245)
Char.SetHeading(118@, 261.1915)
119@ = Char.Create(PedType.CivMale, 274, 1855.156, 2264.286, 9.8885)
Char.SetHeading(119@, 62.9217)
122@ = Car.Create(416, 1889.046, 2256.128, 9.8203)
Car.SetHeading(122@, 359.5048)
123@ = Car.Create(416, 1896.493, 2256.069, 9.8203)
Car.SetHeading(123@, 2.7445)
142@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 1853.996, 2264.554, 9.9245, 4, -1)
Task.AchieveHeading(-1, 242.922)
if 
  not Char.IsDead(119@)
goto_if_false @DOC2_13582
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 1.0, True, False, False, False, -1)

:DOC2_13582
Sequence.SetToRepeat(142@, True)
Sequence.Close(142@)
Char.PerformSequence(118@, 142@)
Sequence.Clear(142@)
142@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 1855.156, 2264.286, 9.8885, 4, -1)
Task.AchieveHeading(-1, 62.9217)
Sequence.SetToRepeat(142@, True)
Sequence.Close(142@)
Char.PerformSequence(119@, 142@)
Streaming.MarkModelAsNoLongerNeeded(416)
return 

:DOC2_13671
if 
  not Char.IsDead(118@)
goto_if_false @DOC2_13692
Char.RemoveElegantly(118@)

:DOC2_13692
if 
  not Char.IsDead(119@)
goto_if_false @DOC2_13713
Char.RemoveElegantly(119@)

:DOC2_13713
if 
  not Char.IsDead(120@)
goto_if_false @DOC2_13734
Char.RemoveElegantly(120@)

:DOC2_13734
if 
  not Char.IsDead(121@)
goto_if_false @DOC2_13755
Char.RemoveElegantly(121@)

:DOC2_13755
return 

:DOC2_13757
$weapon_shop1_blip = 0
if 
  not Char.IsDead(95@)
goto_if_false @DOC2_13785
Char.RemoveElegantly(95@)

:DOC2_13785
if 
  Blip.DoesExist(92@)
goto_if_false @DOC2_13806
Blip.Remove(92@)

:DOC2_13806
if 
  Blip.DoesExist(93@)
goto_if_false @DOC2_13827
Blip.Remove(93@)

:DOC2_13827
if 
  Blip.DoesExist(35@)
goto_if_false @DOC2_13848
Blip.Remove(35@)

:DOC2_13848
Hud.ClearCounter($7803)
Particle.Kill(90@)
Path.SwitchRoadsBackToOriginal(2090.981, 1388.51, 8.8203, 2234.686, 1517.077, 10.8203)
Path.SwitchPedRoadsBackToOriginal(2090.981, 1388.51, 8.8203, 2234.686, 1517.077, 10.8203)
Streaming.MarkModelAsNoLongerNeeded(478)
Streaming.MarkModelAsNoLongerNeeded(27)
Streaming.MarkModelAsNoLongerNeeded(83)
Streaming.MarkModelAsNoLongerNeeded(85)
Streaming.MarkModelAsNoLongerNeeded(78)
Streaming.MarkModelAsNoLongerNeeded(274)
Streaming.MarkModelAsNoLongerNeeded(416)
Streaming.MarkModelAsNoLongerNeeded(258)
Streaming.MarkModelAsNoLongerNeeded(259)
Streaming.MarkModelAsNoLongerNeeded(68)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveAnimation("ON_LOOKERS")
Weather.Release
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

:DOC2_14005
Text.ClearPrints
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
return 

:DOC2_14020
Text.ClearPrints
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
return 
Camera.DoFade(500, Fade.Out)

:DOC2_14046
if 
  Camera.GetFadingStatus
goto_if_false @DOC2_14070
wait 0
goto @DOC2_14046

:DOC2_14070
return 
Camera.DoFade(500, Fade.In)

:DOC2_14079
if 
  Camera.GetFadingStatus
goto_if_false @DOC2_14103
wait 0
goto @DOC2_14079

:DOC2_14103
return 

:DOC2_14105
if 
is_ps2_keyboard_key_just_pressed 87
goto_if_false @DOC2_14175
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_14175
Task.PlayAnim($stattreadstamina_ctr, "KO_SHOT_FACE", "PED", 2.0, False, False, False, True, -1)

:DOC2_14175
if 
is_ps2_keyboard_key_just_pressed 67
goto_if_false @DOC2_14246
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_14246
Task.PlayAnim($stattreadstamina_ctr, "KO_SHOT_FRONT", "PED", 2.0, False, False, False, True, -1)

:DOC2_14246
if 
is_ps2_keyboard_key_just_pressed 69
goto_if_false @DOC2_14316
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_14316
Task.PlayAnim($stattreadstamina_ctr, "KO_SHOT_STOM", "PED", 2.0, False, False, False, True, -1)

:DOC2_14316
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @DOC2_14401
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_14401
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DOC2_14401
143@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetCoordinates(143@, 1893.958, 2240.108, 9.8203)
Car.SetHeading(143@, 77.6686)

:DOC2_14401
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @DOC2_14431
view_integer_variable $hei3_spook {_p2} "DOC2_RND"

:DOC2_14431
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @DOC2_14530
if 
  not Car.IsDead(34@)
goto_if_false @DOC2_14491
40@, 41@, 42@ = Car.GetOffsetInWorldCoords(34@, 0.0, -1.5, 0.5)

:DOC2_14491
90@ = Particle.Create("EXPLOSION_BARREL", 40@, 41@, 42@, 1)
Particle.Play(90@)

:DOC2_14530
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @DOC2_14566
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_14566
Task.Die($stattreadstamina_ctr)

:DOC2_14566
if 
is_ps2_keyboard_key_just_pressed 81
goto_if_false @DOC2_14642
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_14642
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
Fx.AddBlood($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 2.0, 40, $stattreadstamina_ctr)

:DOC2_14642
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @DOC2_14687
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DOC2_14687
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:DOC2_14687
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @DOC2_14851
if and
  not Char.IsDead(95@)
  not Car.IsDead(34@)
  91@ <> 5
goto_if_false @DOC2_14851
Object.Break(101@, 1)
Char.ClearTasksImmediately(95@)
Task.PlayAnimNonInterruptable(95@, "KO_SHOT_FRONT", "PED", 2.0, False, False, False, True, -1)
Char.AttachToCar(95@, 34@, 0.0, -2.5, 1.0, 0, 0.0, WeaponType.Unarmed)
91@ = 5
Hud.DisplayCounterWithString($d2_anim_rnd, CounterDisplay.Bar, 'DOC2_07')
Blip.ChangeDisplay(93@, BlipDisplay.Both)
Blip.ChangeDisplay(92@, BlipDisplay.Neither)

:DOC2_14851
if 
is_ps2_keyboard_key_just_pressed 90
goto_if_false @DOC2_14870
Weather.ForceNow(WeatherType.RainyCountryside)

:DOC2_14870
if 
is_ps2_keyboard_key_just_pressed 85
goto_if_false @DOC2_14885

:DOC2_14885
return 

:DOC2_14887
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 129@)
130@ = 0
return 

:DOC2_14907
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  130@ == 0
goto_if_false @DOC2_14950
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(127@s, 10000, 1)
130@ = 1

:DOC2_14950
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  130@ == 1
goto_if_false @DOC2_14988
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(127@s)
130@ = 2

:DOC2_14988
return 

//-------------Mission 96---------------
// Originally: Architectural Espionage

:HEIST1
script_name 'HEIST1'
gosub @HEIST1_47
if 
  has_deatharrest_been_executed 
goto_if_false @HEIST1_38
gosub @HEIST1_23673

:HEIST1_38
gosub @HEIST1_23771
terminate_this_script 

:HEIST1_47
Stat.RegisterMissionGiven
Text.LoadMissionText('HEIST1')
$weapon_shop1_blip = 1
$cs1_race_is_go = 1
318@ = 0
wait 0
Streaming.SetAreaVisible(10)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2016.422, 1017.102, 10.0)
Char.SetCoordinates($stattreadstamina_ctr, 2026.225, 1007.423, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 307.0)
322@, 323@ = Clock.GetTimeOfDay()
Clock.SetTimeOfDay(0, 0)
Camera.SetDarknessEffect(True, -1)
318@ = 0
Cutscene.Load('HEIST1A')

:HEIST1_177
if 
  not Cutscene.HasLoaded
goto_if_false @HEIST1_201
wait 0
goto @HEIST1_177

:HEIST1_201
$cesar = 0
Weather.ForceNow(WeatherType.RainyCountryside)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:HEIST1_221
if 
  not Cutscene.HasFinished
goto_if_false @HEIST1_372
wait 0
$cesar = Cutscene.GetTime()
if 
  318@ == 0
goto_if_false @HEIST1_303
if 
  $cesar > 12666
goto_if_false @HEIST1_303
318@ = 1
Weather.ForceNow(WeatherType.ExtraSunnyVegas)
Clock.SetTimeOfDay(12, 0)
Camera.SetDarknessEffect(False, -1)

:HEIST1_303
if 
  318@ == 1
goto_if_false @HEIST1_365
if 
  $cesar > 46000
goto_if_false @HEIST1_365
318@ = 99
Weather.ForceNow(WeatherType.RainyCountryside)
Clock.SetTimeOfDay(0, 0)
Camera.SetDarknessEffect(True, -1)

:HEIST1_365
goto @HEIST1_221

:HEIST1_372
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:HEIST1_385
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_409
wait 0
goto @HEIST1_385

:HEIST1_409
Cutscene.Clear
Weather.ForceNow(WeatherType.CloudyVegas)
Weather.Release
Camera.SetDarknessEffect(False, -1)
Streaming.SetAreaVisible(0)
Streaming.LoadScene(2031.168, 1030.918, 9.813)
wait 0
Camera.SetFadingColor(0, 0, 0)
Clock.SetTimeOfDay(322@, 323@)
Camera.SetDarknessEffect(False, -1)
Weather.Release
Streaming.RequestModel(367)
Streaming.RequestModel(346)
Streaming.RequestModel(349)
Streaming.RequestModel(59)
Streaming.RequestModel(12)
Streaming.RequestModel(54)
Streaming.RequestModel(70)
Streaming.RequestModel(147)
Streaming.RequestModel(17)
Streaming.RequestModel(71)
Streaming.RequestModel(57)
Streaming.RequestModel(58)
Streaming.RequestAnimation("CAMERA")
Streaming.LoadAllModelsNow

:HEIST1_536
if or
  not Streaming.HasModelLoaded(59)
  not Streaming.HasModelLoaded(12)
  not Streaming.HasModelLoaded(54)
goto_if_false @HEIST1_570
wait 0
goto @HEIST1_536

:HEIST1_570
if or
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(349)
  not Streaming.HasModelLoaded(367)
goto_if_false @HEIST1_607
wait 0
goto @HEIST1_570

:HEIST1_607
if or
  not Streaming.HasModelLoaded(70)
  not Streaming.HasModelLoaded(147)
  not Streaming.HasModelLoaded(17)
  not Streaming.HasModelLoaded(71)
goto_if_false @HEIST1_646
wait 0
goto @HEIST1_607

:HEIST1_646
if or
  not Streaming.HasModelLoaded(58)
  not Streaming.HasModelLoaded(57)
  not Streaming.HasAnimationLoaded("CAMERA")
goto_if_false @HEIST1_686
wait 0
goto @HEIST1_646

:HEIST1_686
102@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
103@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
104@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
105@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
Streaming.LoadScene(2031.168, 1030.918, 9.813)
Streaming.RequestCollision(2031.168, 1030.918)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
wait 2000
Camera.DoFade(1000, Fade.In)

:HEIST1_759
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_783
wait 0
goto @HEIST1_759

:HEIST1_783
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
41@ = 0
226@ = 0
227@ = 0
228@ = 0
113@ = 0
177@ = 0
175@ = 0
174@ = 0
180@ = 0
179@ = 0
181@ = 0
182@ = 0
183@ = 0
184@ = 0
185@ = 0
186@ = 0
188@ = 0
189@ = 0
190@ = 0
191@ = 0
192@ = 0
193@ = 0
194@ = 0
195@ = 0
196@ = 0
197@ = 0
198@ = 0
176@ = 0
173@ = 0
199@ = 0
211@ = 0
216@ = 0
215@ = 0
218@ = 0
219@ = 0
151@ = 0
220@ = 0
222@ = 0
223@ = 0
224@ = 0
225@ = 0
221@ = 0
324@ = 0
306@ = 1
307@ = 2
308@ = 0
309@ = 1
310@ = 0
311@ = 0
315@ = 0
316@ = 0
set_lvar_text_label 236@s = 'HE1_AG'
set_lvar_text_label 238@s = 'HE1_AH'
set_lvar_text_label 240@s = 'HE1_AI'
set_lvar_text_label 242@s = 'HE1_AJ'
set_lvar_text_label 244@s = 'HE1_AK'
set_lvar_text_label 246@s = 'HE1_AL'
set_lvar_text_label 248@s = 'HE1_ZA'
set_lvar_text_label 250@s = 'HE1_ZB'
set_lvar_text_label 252@s = 'HE1_ZC'
set_lvar_text_label 254@s = 'HE1_ZD'
set_lvar_text_label 256@s = 'HE1_ZE'
set_lvar_text_label 258@s = 'HEX2B'
set_lvar_text_label 260@s = 'HE1_ZG'
set_lvar_text_label 262@s = 'HE1_ZH'
set_lvar_text_label 264@s = 'HE1_ZJ'
set_lvar_text_label 266@s = 'HE1_ZK'
set_lvar_text_label 268@s = 'HE1_ZL'
set_lvar_text_label 270@s = 'HE1_ZM'
set_lvar_text_label 272@s = 'HE1_XA'
set_lvar_text_label 274@s = 'HE1_XB'
set_lvar_text_label 276@s = 'HEX3'
set_lvar_int_to_constant 283@ = 18006
set_lvar_int_to_constant 284@ = 18007
set_lvar_int_to_constant 285@ = 18008
set_lvar_int_to_constant 286@ = 18009
set_lvar_int_to_constant 287@ = 18010
set_lvar_int_to_constant 288@ = 18011
set_lvar_int_to_constant 289@ = 18014
set_lvar_int_to_constant 290@ = 18015
set_lvar_int_to_constant 291@ = 18016
set_lvar_int_to_constant 292@ = 18017
set_lvar_int_to_constant 293@ = 18018
set_lvar_int_to_constant 294@ = 19216
set_lvar_int_to_constant 295@ = 18020
set_lvar_int_to_constant 296@ = 18021
set_lvar_int_to_constant 297@ = 18022
set_lvar_int_to_constant 298@ = 18023
set_lvar_int_to_constant 299@ = 18024
set_lvar_int_to_constant 300@ = 18025
set_lvar_int_to_constant 301@ = 18012
set_lvar_int_to_constant 302@ = 18013
set_lvar_int_to_constant 303@ = 19219
107@ = Object.Create(#ST_ARCH_PLAN, 346.7, 164.98, 1026.8)
Object.SetRotation(107@, 90.0, 0.0, 0.0)
Object.SetCollision($2662, True)
35@ = Char.Create(PedType.Mission1, 58, 2024.26, 1525.787, 9.8203)
Char.SetDecisionMaker(35@, 102@)
DecisionMakerChar.ClearEventResponse(102@, 9)
Char.SetHeading(35@, 287.789)
if 
  not Char.IsDead(35@)
goto_if_false @HEIST1_1728

:HEIST1_1728
36@ = Char.Create(PedType.Mission1, 57, 2022.34, 1529.559, 9.8196)
Char.SetDecisionMaker(36@, 102@)
Char.SetHeading(36@, 223.9212)
37@ = Char.Create(PedType.Mission1, 59, 2026.092, 1530.428, 9.8203)
Char.SetDecisionMaker(37@, 102@)
Char.SetAllowedToDuck(37@, False)
Char.SetHeading(37@, 129.789)
if 
  not Char.IsDead(37@)
goto_if_false @HEIST1_1867
Char.GiveWeapon(37@, WeaponType.Camera, 30000)
Task.KillCharOnFoot(37@, 35@)
Char.SetDropsWeaponsWhenDead(37@, False)
Char.SetDrownsInWater(37@, False)

:HEIST1_1867
38@ = Char.Create(PedType.Mission1, 57, 2017.924, 1536.108, 9.8228)
Char.SetDecisionMaker(38@, 102@)
Char.SetAllowedToDuck(37@, False)
Char.SetHeading(38@, 170.9212)
39@ = Char.Create(PedType.Mission1, 59, 2017.708, 1535.127, 9.825)
Char.SetDecisionMaker(39@, 102@)
Char.SetHeading(39@, 11.9212)
if 
  not Char.IsDead(38@)
goto_if_false @HEIST1_2028
if 
  not Char.IsDead(39@)
goto_if_false @HEIST1_2028
Char.DisableSpeech(38@, False)
Char.DisableSpeech(39@, False)
Task.ChatWithChar(38@, 39@, True, 1)
Task.ChatWithChar(39@, 38@, False, 1)

:HEIST1_2028
Streaming.MarkModelAsNoLongerNeeded(58)
Streaming.MarkModelAsNoLongerNeeded(59)
Streaming.MarkModelAsNoLongerNeeded(57)
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_2126
168@ = Blip.AddForChar(35@)
Blip.ChangeScale(168@, 1)
169@ = Blip.AddForChar(36@)
Blip.ChangeScale(169@, 1)
170@ = Blip.AddForChar(37@)
171@ = Blip.AddForChar(38@)
Blip.ChangeScale(171@, 1)
172@ = Blip.AddForChar(39@)
Blip.ChangeScale(172@, 1)

:HEIST1_2126
151@ = 1
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_2167
Text.PrintNow('HEI1_41', 10000, 1)

:HEIST1_2167
109@ = Object.CreateNoOffset(#GEN_DOORINT01, 371.2516, 166.6324, 1007.359)
Object.SetRotation(109@, 0.0, 0.0, 0.0)
Object.FreezePosition(109@, True)
110@ = Object.Create(#KMB_LOCKEDDOOR, 370.8048, 179.0889, 1018.958)
Object.SetHeading(110@, 88.5679)
111@ = Object.Create(#GEN_DOORINT01, 368.8954, 161.5299, 1013.274)
Object.SetRotation(111@, 0.0, 0.0, 90.0)
Object.LockDoor(111@, True)
Game.SetMaxFireGenerations(1)
177@ = 1

:HEIST1_2311
wait 0
if 
  316@ == 1
goto_if_false @HEIST1_2351
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 3401)
316@ = 2

:HEIST1_2351
if 
  316@ == 2
goto_if_false @HEIST1_2395
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST1_2395
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
316@ = 3

:HEIST1_2395
if 
  308@ <> 0
goto_if_false @HEIST1_2748
if 
  310@ == 0
goto_if_false @HEIST1_2466
if 
  Audio.HasMissionAudioLoaded(307@)
goto_if_false @HEIST1_2452
Audio.ClearMissionAudio(307@)

:HEIST1_2452
310@ = 1
311@ = 1

:HEIST1_2466
if 
  310@ == 1
goto_if_false @HEIST1_2503
Audio.LoadMissionAudio(306@, 282@(308@,24i))
310@ = 2

:HEIST1_2503
if 
  310@ == 2
goto_if_false @HEIST1_2563
if 
  Audio.HasMissionAudioLoaded(306@)
goto_if_false @HEIST1_2563
Audio.PlayMissionAudio(306@)
Text.PrintNow(234@(308@,24s), 10000, 1)
310@ = 3

:HEIST1_2563
if 
  310@ == 3
goto_if_false @HEIST1_2748
if 
  Audio.HasMissionAudioFinished(306@)
goto_if_false @HEIST1_2687
Text.ClearThisPrint(234@(308@,24s))
if 
  306@ == 1
goto_if_false @HEIST1_2645
306@ = 2
307@ = 1
goto @HEIST1_2659

:HEIST1_2645
306@ = 1
307@ = 2

:HEIST1_2659
308@ = 0
310@ = 0
311@ = 0
goto @HEIST1_2748

:HEIST1_2687
if 
  not Audio.HasMissionAudioLoaded(307@)
goto_if_false @HEIST1_2748
if 
  18 > 308@
goto_if_false @HEIST1_2748
set_lvar_int_to_lvar_int 309@ = 308@
309@ += 1
Audio.LoadMissionAudio(307@, 282@(309@,24i))

:HEIST1_2748
if 
  35 > 177@
goto_if_false @HEIST1_2790
World.ClearArea(362.2167, 174.5354, 1007.398, 1000.0, False)

:HEIST1_2790
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @HEIST1_2812
goto @HEIST1_23709

:HEIST1_2812
if 
is_ps2_keyboard_key_pressed 67
goto_if_false @HEIST1_2862
216@ = 9
184@ = 11
177@ = -13
180@ = -13
179@ = -13

:HEIST1_2862
if 
is_ps2_keyboard_key_pressed 79
goto_if_false @HEIST1_2950
World.ClearArea(2419.827, 1120.785, 9.8203, 0.5, False)
Streaming.LoadScene(2419.827, 1120.785, 9.8203)
Char.SetCoordinates($stattreadstamina_ctr, 2419.827, 1120.785, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetBehindPlayer

:HEIST1_2950
if 
  185@ == 1
goto_if_false @HEIST1_2992
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST1_2992
177@ = 55

:HEIST1_2992
if 
  186@ == 1
goto_if_false @HEIST1_3034
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST1_3034
184@ = 5

:HEIST1_3034
if 
  187@ == 1
goto_if_false @HEIST1_3076
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST1_3076
188@ = 4

:HEIST1_3076
if 
  215@ == 1
goto_if_false @HEIST1_3153
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST1_3153

:HEIST1_3111
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST1_3139
wait 0
goto @HEIST1_3111

:HEIST1_3139
216@ = 40
215@ = 0

:HEIST1_3153
if 
  177@ == 1
goto_if_false @HEIST1_5293
if 
  175@ == 0
goto_if_false @HEIST1_4029
if 
  Char.IsDead(35@)
goto_if_false @HEIST1_3210
Blip.Remove(168@)

:HEIST1_3210
if 
  Char.IsDead(36@)
goto_if_false @HEIST1_3231
Blip.Remove(172@)

:HEIST1_3231
if 
  Char.IsDead(39@)
goto_if_false @HEIST1_3252
Blip.Remove(172@)

:HEIST1_3252
if 
  40@ == 0
goto_if_false @HEIST1_3377
if 
  TIMERA > 2000
goto_if_false @HEIST1_3377
if 
  not Char.IsDead(35@)
goto_if_false @HEIST1_3377
if 
  not Char.IsDead(37@)
goto_if_false @HEIST1_3377
if 
  not Char.IsInWater(37@)
goto_if_false @HEIST1_3377
Char.ClearTasks(37@)
Char.ClearTasks(35@)
Task.TurnCharToFaceChar(37@, 35@)
Task.TurnCharToFaceChar(35@, 37@)
TIMERA = 0
40@ = 1

:HEIST1_3377
if 
  40@ == 1
goto_if_false @HEIST1_3535
if 
  TIMERA > 2000
goto_if_false @HEIST1_3535
if 
  not Char.IsDead(37@)
goto_if_false @HEIST1_3535
if 
  not Char.IsInWater(37@)
goto_if_false @HEIST1_3535
Char.ClearTasks(37@)
Task.PlayAnim(37@, "PICSTND_TAKE", "CAMERA", 8.0, False, False, False, True, -1)
42@, 43@, 44@ = Char.GetCoordinates(37@)
Audio.ReportMissionAudioEventAtPosition(42@, 43@, 44@, 1132)
TIMERA = 0
40@ = 2

:HEIST1_3535
if 
  40@ == 2
goto_if_false @HEIST1_3660
if 
  TIMERA > 1000
goto_if_false @HEIST1_3660
if 
  not Char.IsDead(36@)
goto_if_false @HEIST1_3660
if 
  not Char.IsDead(37@)
goto_if_false @HEIST1_3660
if 
  not Char.IsInWater(37@)
goto_if_false @HEIST1_3660
Char.ClearTasks(37@)
Char.ClearTasks(36@)
Task.TurnCharToFaceChar(36@, 37@)
Task.TurnCharToFaceChar(37@, 36@)
TIMERA = 0
40@ = 3

:HEIST1_3660
if 
  40@ == 3
goto_if_false @HEIST1_3818
if 
  TIMERA > 1000
goto_if_false @HEIST1_3818
if 
  not Char.IsDead(37@)
goto_if_false @HEIST1_3818
if 
  not Char.IsInWater(37@)
goto_if_false @HEIST1_3818
Char.ClearTasks(37@)
Task.PlayAnim(37@, "PICCRCH_TAKE", "CAMERA", 8.0, False, False, False, True, -1)
42@, 43@, 44@ = Char.GetCoordinates(37@)
Audio.ReportMissionAudioEventAtPosition(42@, 43@, 44@, 1132)
TIMERA = 0
40@ = 0

:HEIST1_3818
if 
  not Char.IsDead(38@)
goto_if_false @HEIST1_3942
if 
  not Char.IsDead(39@)
goto_if_false @HEIST1_3942
206@ = Char.GetScriptTaskStatus(38@, 1655)
if 
  is_int_lvar_equal_to_constant 206@ == 7
goto_if_false @HEIST1_3942
206@ = Char.GetScriptTaskStatus(39@, 1655)
if 
  is_int_lvar_equal_to_constant 206@ == 7
goto_if_false @HEIST1_3942
Char.ClearTasks(38@)
Char.ClearTasks(39@)
Task.ChatWithChar(38@, 39@, True, 1)
Task.ChatWithChar(39@, 38@, False, 1)

:HEIST1_3942
if 
  TIMERB > 4000
goto_if_false @HEIST1_4029
if 
  not Char.IsDead(36@)
goto_if_false @HEIST1_4029
if 
  not Char.IsDead(37@)
goto_if_false @HEIST1_4029
if 
  not Char.IsDead(38@)
goto_if_false @HEIST1_4029
Char.ClearTasks(36@)
Task.TurnCharToFaceChar(36@, 37@)
TIMERB = 0

:HEIST1_4029
if 
  174@ == 0
goto_if_false @HEIST1_4132
if 
  not Char.IsDead(37@)
goto_if_false @HEIST1_4132
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 37@, 5.0, 5.0, False)
goto_if_false @HEIST1_4132
if 
  not Char.IsDead(36@)
goto_if_false @HEIST1_4132
Char.ClearTasks(36@)
Task.LookAtChar(36@, $stattreadstamina_ctr, 5)
174@ = 99

:HEIST1_4132
if 
  220@ == 0
goto_if_false @HEIST1_4206
if 
  not Char.IsDead(37@)
goto_if_false @HEIST1_4206
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 37@, 35.0, 35.0, False)
goto_if_false @HEIST1_4206
Text.ClearPrints
220@ = 99

:HEIST1_4206
if 
  175@ == 0
goto_if_false @HEIST1_4275
if 
  Char.DoesExist(37@)
goto_if_false @HEIST1_4275
if 
  Char.HasBeenDamagedByChar(37@, $stattreadstamina_ctr)
goto_if_false @HEIST1_4275
Text.ClearPrints
308@ = 1
175@ = 1

:HEIST1_4275
if 
  175@ == 0
goto_if_false @HEIST1_4342
if 
  Char.DoesExist(36@)
goto_if_false @HEIST1_4342
if 
  Char.HasBeenDamagedByChar(36@, $stattreadstamina_ctr)
goto_if_false @HEIST1_4342
308@ = 2
175@ = 1

:HEIST1_4342
if 
  175@ == 0
goto_if_false @HEIST1_4411
if 
  Char.DoesExist(35@)
goto_if_false @HEIST1_4411
if 
  Char.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
goto_if_false @HEIST1_4411
Text.ClearPrints
308@ = 3
175@ = 1

:HEIST1_4411
if 
  175@ == 0
goto_if_false @HEIST1_4480
if 
  Char.DoesExist(38@)
goto_if_false @HEIST1_4480
if 
  Char.HasBeenDamagedByChar(38@, $stattreadstamina_ctr)
goto_if_false @HEIST1_4480
Text.ClearPrints
308@ = 4
175@ = 1

:HEIST1_4480
if 
  175@ == 0
goto_if_false @HEIST1_4549
if 
  Char.DoesExist(39@)
goto_if_false @HEIST1_4549
if 
  Char.HasBeenDamagedByChar(39@, $stattreadstamina_ctr)
goto_if_false @HEIST1_4549
Text.ClearPrints
308@ = 6
175@ = 1

:HEIST1_4549
if 
  175@ == 1
goto_if_false @HEIST1_4876
174@ = 99
if 
  Char.IsDead(35@)
goto_if_false @HEIST1_4595
Blip.Remove(168@)

:HEIST1_4595
if 
  Char.IsDead(36@)
goto_if_false @HEIST1_4616
Blip.Remove(169@)

:HEIST1_4616
if 
  Char.IsDead(38@)
goto_if_false @HEIST1_4637
Blip.Remove(171@)

:HEIST1_4637
if 
  Char.IsDead(39@)
goto_if_false @HEIST1_4658
Blip.Remove(172@)

:HEIST1_4658
if 
  not Char.IsDead(37@)
goto_if_false @HEIST1_4701
Char.ClearTasks(37@)
Task.StayInSamePlace(37@, False)
Task.SmartFleeChar(37@, $stattreadstamina_ctr, 100.0, -1)

:HEIST1_4701
if 
  not Char.IsDead(36@)
goto_if_false @HEIST1_4737
Char.ClearTasks(36@)
Task.SmartFleeChar(36@, $stattreadstamina_ctr, 100.0, -1)

:HEIST1_4737
if 
  not Char.IsDead(35@)
goto_if_false @HEIST1_4773
Char.ClearTasks(35@)
Task.SmartFleeChar(35@, $stattreadstamina_ctr, 100.0, -1)

:HEIST1_4773
if 
  not Char.IsDead(38@)
goto_if_false @HEIST1_4816
Char.ClearTasks(38@)
Char.DisableSpeech(38@, True)
Task.SmartFleeChar(38@, $stattreadstamina_ctr, 100.0, -1)

:HEIST1_4816
if 
  not Char.IsDead(39@)
goto_if_false @HEIST1_4859
Char.ClearTasks(39@)
Char.DisableSpeech(39@, True)
Task.SmartFleeChar(39@, $stattreadstamina_ctr, 100.0, -1)

:HEIST1_4859
Streaming.RemoveAnimation("CAMERA")
175@ = 2

:HEIST1_4876
if 
  175@ == 2
goto_if_false @HEIST1_5168
if 
  Char.IsDead(35@)
goto_if_false @HEIST1_4915
Blip.Remove(168@)

:HEIST1_4915
if 
  Char.IsDead(36@)
goto_if_false @HEIST1_4936
Blip.Remove(169@)

:HEIST1_4936
if 
  Char.IsDead(39@)
goto_if_false @HEIST1_4957
Blip.Remove(172@)

:HEIST1_4957
if 
  Char.IsDead(38@)
goto_if_false @HEIST1_4978
Blip.Remove(171@)

:HEIST1_4978
if 
  Char.IsDead(37@)
goto_if_false @HEIST1_5168
if 
  311@ == 0
goto_if_false @HEIST1_5168
151@ = 1

:HEIST1_5019
if 
  6 > 151@
goto_if_false @HEIST1_5060
Blip.Remove(167@(151@,6i))
151@ += 1
goto @HEIST1_5019

:HEIST1_5060
Text.ClearPrints
202@, 203@, 204@ = World.GetDeadCharPickupCoords(37@)
154@ = Pickup.CreateWithAmmo(367, PickupType.Once, 20, 202@, 203@, 204@)
155@ = Blip.AddForPickup(154@)
Blip.ChangeColor(155@, BlipColor.Green)
308@ = 0
Text.ClearPrints
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
311@ = 0
310@ = 0
Text.PrintNow('HEI1_39', 6000, 1)
175@ = 3

:HEIST1_5168
if 
  Pickup.HasBeenCollected(154@)
goto_if_false @HEIST1_5293
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_5293
Blip.Remove(155@)
199@ = 1
Text.ClearPrints
Text.PrintNow('HEI1_40', 6000, 1)
177@ = 5
205@ = 1
TIMERB = 0
156@ = Blip.AddForCoord(2414.812, 1124.435, 9.813)
Blip.ChangeColor(156@, BlipColor.Yellow)
World.SwitchEntryExit('PAPER', True)

:HEIST1_5293
if 
  205@ == 1
goto_if_false @HEIST1_5355
if 
  TIMERB > 12000
goto_if_false @HEIST1_5355
Text.ClearPrints
Text.Print('HEI1_1', 6000, 1)
205@ = 2

:HEIST1_5355
if 
  199@ == 1
goto_if_false @HEIST1_5525
if 
  184@ == 0
goto_if_false @HEIST1_5525
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_5525
Text.PrintNow('HEI1_11', 6000, 1)
82@(201@,20i) = Char.Create(PedType.CivMale, 59, 2030.703, 1489.388, 9.8203)
Task.WanderStandard(82@(201@,20i))
164@ = Blip.AddForChar(82@(201@,20i))
Blip.ChangeColor(164@, BlipColor.Red)
Char.GiveWeapon(82@(201@,20i), WeaponType.Camera, 30000)
Char.SetDropsWeaponsWhenDead(82@(201@,20i), False)
Char.SetDecisionMaker(82@(201@,20i), 102@)
199@ = 2

:HEIST1_5525
if 
  199@ == 2
goto_if_false @HEIST1_5797
if 
  184@ == 0
goto_if_false @HEIST1_5797
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_5706
if 
  Char.IsDead(82@(201@,20i))
goto_if_false @HEIST1_5706
Blip.Remove(164@)
202@, 203@, 204@ = World.GetDeadCharPickupCoords(82@(201@,20i))
154@ = Pickup.CreateWithAmmo(367, PickupType.Once, 60, 202@, 203@, 204@)
164@ = Blip.AddForPickup(154@)
Blip.ChangeColor(164@, BlipColor.Green)
Char.MarkAsNoLongerNeeded(82@(201@,20i))
if 
  19 > 201@
goto_if_false @HEIST1_5699
201@ += 1
227@ = 0

:HEIST1_5699
199@ = 3

:HEIST1_5706
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_5797
if 
  Char.DoesExist(82@(201@,20i))
goto_if_false @HEIST1_5785
Char.MarkAsNoLongerNeeded(82@(201@,20i))
if 
  19 > 201@
goto_if_false @HEIST1_5785
201@ += 1
227@ = 0

:HEIST1_5785
Blip.Remove(164@)
199@ = 1

:HEIST1_5797
if 
  199@ == 3
goto_if_false @HEIST1_5861
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_5861
if 
  Pickup.HasBeenCollected(154@)
goto_if_false @HEIST1_5861
Blip.Remove(164@)
199@ = 1

:HEIST1_5861
if 
  227@ == 0
goto_if_false @HEIST1_5957
if 
  Char.DoesExist(82@(201@,20i))
goto_if_false @HEIST1_5957
if 
  Char.HasBeenDamagedByChar(82@(201@,20i), $stattreadstamina_ctr)
goto_if_false @HEIST1_5957
Char.ClearTasks(82@(201@,20i))
Task.SmartFleeChar(82@(201@,20i), $stattreadstamina_ctr, 100.0, -1)
227@ = 1

:HEIST1_5957
if 
  199@ > 0
goto_if_false @HEIST1_6053
if 
  184@ == 0
goto_if_false @HEIST1_6053
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_6053
200@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Camera)
if 
  200@ == 0
goto_if_false @HEIST1_6053
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Camera)
199@ = 1

:HEIST1_6053
if 
  177@ == 5
goto_if_false @HEIST1_7852
if 
  218@ == 0
goto_if_false @HEIST1_7663
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2414.812, 1124.435, 9.813, 50.0, 50.0, 20.0, False)
goto_if_false @HEIST1_7663
65@ = Char.Create(PedType.CivMale, 147, 366.2195, 178.2328, 1007.398)
Char.DisableSpeech(65@, False)
Char.SetDecisionMaker(65@, 102@)
Char.SetHeading(65@, 256.0)
Char.SetHasUsedEntryExit(65@, 2415.348, 1123.942, 10.0)
66@ = Char.Create(PedType.CivMale, 17, 367.4051, 178.2571, 1007.397)
Char.SetDecisionMaker(66@, 102@)
Char.DisableSpeech(66@, False)
Char.SetHeading(66@, 75.0)
Char.SetHasUsedEntryExit(66@, 2415.348, 1123.942, 10.0)
67@ = Char.Create(PedType.CivMale, 17, 336.205, 173.5649, 1018.984)
Char.SetDecisionMaker(67@, 102@)
Char.DisableSpeech(67@, False)
Char.SetHeading(67@, 21.0)
Char.SetHasUsedEntryExit(67@, 2415.348, 1123.942, 10.0)
68@ = Char.Create(PedType.CivMale, 147, 335.1483, 175.8309, 1018.984)
Char.SetDecisionMaker(68@, 102@)
Char.DisableSpeech(68@, False)
Char.SetHeading(68@, 200.0)
Char.SetHasUsedEntryExit(68@, 2415.348, 1123.942, 10.0)
69@ = Char.Create(PedType.CivMale, 17, 347.6199, 171.2935, 1018.991)
Char.SetDecisionMaker(69@, 102@)
Char.DisableSpeech(69@, False)
Char.SetHeading(69@, 89.0)
Char.SetHasUsedEntryExit(69@, 2415.348, 1123.942, 10.0)
70@ = Char.Create(PedType.CivMale, 147, 347.7367, 172.3383, 1018.991)
Char.SetDecisionMaker(70@, 102@)
Char.DisableSpeech(70@, False)
Char.SetHeading(70@, 270.0)
Char.SetHasUsedEntryExit(70@, 2415.348, 1123.942, 10.0)
71@ = Char.Create(PedType.CivMale, 147, 360.7583, 175.1333, 1018.984)
Char.SetDecisionMaker(71@, 102@)
Char.DisableSpeech(71@, False)
Char.SetHeading(71@, 162.0)
Char.SetHasUsedEntryExit(71@, 2415.348, 1123.942, 10.0)
72@ = Char.Create(PedType.CivFemale, 12, 361.4531, 176.2417, 1018.984)
Char.SetDecisionMaker(72@, 102@)
Char.SetHeading(72@, 0.0)
Char.DisableSpeech(72@, False)
Char.SetHasUsedEntryExit(72@, 2415.348, 1123.942, 10.0)
73@ = Char.Create(PedType.CivMale, 17, 359.5063, 177.6107, 1018.984)
Char.SetDecisionMaker(73@, 102@)
Char.SetHeading(73@, 184.0)
Char.DisableSpeech(73@, False)
Char.SetHasUsedEntryExit(73@, 2415.348, 1123.942, 10.0)
Task.SitDown(73@, 500000)
45@ = Char.Create(PedType.CivFemale, 12, 359.7724, 173.5793, 1007.389)
Char.SetHasUsedEntryExit(45@, 2415.348, 1123.942, 10.0)
Char.SetHeading(45@, 261.0)
Char.SetDecisionMaker(45@, 103@)
Char.SetNeverTargeted(45@, True)
52@ = Char.Create(PedType.Mission1, 71, 365.3421, 188.8672, 1007.391)
Char.SetHeading(52@, 172.9746)
Char.SetDecisionMaker(52@, 103@)
Char.GiveWeapon(52@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(52@, 2415.348, 1123.942, 10.0)
53@ = Char.Create(PedType.Mission1, 71, 376.3221, 170.1705, 1007.398)
Char.SetHeading(53@, 314.7879)
Char.SetDecisionMaker(53@, 103@)
Char.GiveWeapon(53@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(53@, 2415.348, 1123.942, 10.0)
54@ = Char.Create(PedType.Mission1, 71, 351.8366, 163.8015, 1024.786)
Char.SetHeading(54@, 239.6)
Char.SetDecisionMaker(54@, 103@)
Char.GiveWeapon(54@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(54@, 2415.348, 1123.942, 10.0)
47@ = Char.Create(PedType.Mission1, 147, 355.1732, 172.5407, 1024.781)
Char.SetHeading(47@, 259.56)
Char.SetDecisionMaker(47@, 102@)
Char.SetHasUsedEntryExit(47@, 2415.348, 1123.942, 10.0)
48@ = Char.Create(PedType.Mission1, 17, 355.8736, 172.4779, 1024.781)
Char.SetHeading(48@, 80.67)
Char.SetDecisionMaker(48@, 102@)
Char.SetHasUsedEntryExit(48@, 2415.348, 1123.942, 10.0)
49@ = Char.Create(PedType.Mission1, 147, 362.339, 155.2859, 1024.781)
Char.SetHeading(49@, 178.989)
Char.SetDecisionMaker(49@, 102@)
Task.ScratchHead(49@)
Char.SetHasUsedEntryExit(49@, 2415.348, 1123.942, 10.0)
50@ = Char.Create(PedType.Mission1, 17, 362.7949, 156.2016, 1024.781)
Char.SetHeading(50@, 20.989)
Char.SetDecisionMaker(50@, 102@)
Task.ScratchHead(50@)
Char.SetHasUsedEntryExit(50@, 2415.348, 1123.942, 10.0)
if 
  not Char.IsDead(65@)
goto_if_false @HEIST1_7383
if 
  not Char.IsDead(66@)
goto_if_false @HEIST1_7383
Char.ClearTasks(65@)
Char.ClearTasks(66@)
Task.ChatWithChar(65@, 66@, True, 1)
Task.ChatWithChar(66@, 65@, False, 1)

:HEIST1_7383
if 
  not Char.IsDead(67@)
goto_if_false @HEIST1_7449
if 
  not Char.IsDead(68@)
goto_if_false @HEIST1_7449
Char.ClearTasks(67@)
Char.ClearTasks(68@)
Task.ChatWithChar(67@, 68@, True, 1)
Task.ChatWithChar(68@, 67@, False, 1)

:HEIST1_7449
if 
  not Char.IsDead(69@)
goto_if_false @HEIST1_7515
if 
  not Char.IsDead(70@)
goto_if_false @HEIST1_7515
Char.ClearTasks(69@)
Char.ClearTasks(70@)
Task.ChatWithChar(69@, 70@, True, 1)
Task.ChatWithChar(70@, 69@, False, 1)

:HEIST1_7515
if 
  not Char.IsDead(47@)
goto_if_false @HEIST1_7581
if 
  not Char.IsDead(48@)
goto_if_false @HEIST1_7581
Char.ClearTasks(47@)
Char.ClearTasks(48@)
Task.ChatWithChar(47@, 48@, True, 1)
Task.ChatWithChar(48@, 47@, False, 1)

:HEIST1_7581
if 
  not Char.IsDead(49@)
goto_if_false @HEIST1_7647
if 
  not Char.IsDead(50@)
goto_if_false @HEIST1_7647
Char.ClearTasks(49@)
Char.ClearTasks(50@)
Task.ChatWithChar(49@, 50@, True, 1)
Task.ChatWithChar(50@, 49@, False, 1)

:HEIST1_7647
Streaming.MarkModelAsNoLongerNeeded(147)
Streaming.MarkModelAsNoLongerNeeded(17)
218@ = 1

:HEIST1_7663
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 387.278, 173.576, 1007.391, 5.0, 5.0, 2.0, False)
goto_if_false @HEIST1_7852
177@ = 10
TIMERA = 0
TIMERB = 0
Text.PrintNow('HEI1_9', 4000, 1)
180@ = 1
179@ = 1
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2415.348, 1123.942, 10.0)
Hud.SetRadarZoom(95)
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_7852
Char.SetHasUsedEntryExit(45@, 2415.348, 1123.942, 10.0)
Task.SitDown(45@, 500000)
Blip.Remove(156@)
157@ = Blip.AddForChar(45@)
Blip.ChangeColor(157@, BlipColor.Blue)

:HEIST1_7852
if 
  177@ > 5
goto_if_false @HEIST1_8237
if 
  179@ == 0
goto_if_false @HEIST1_8070
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 387.278, 173.576, 1007.391, 5.0, 5.0, 2.0, False)
goto_if_false @HEIST1_8070
World.ClearArea(362.2167, 174.5354, 1007.398, 1000.0, False)
179@ = 1
Hud.SetRadarZoom(95)
if 
  316@ > 1
goto_if_false @HEIST1_7996
316@ = 1

:HEIST1_7996
if 
  25 > 177@
goto_if_false @HEIST1_8070
Blip.Remove(156@)
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_8070
Char.SetHasUsedEntryExit(45@, 2415.348, 1123.942, 10.0)
157@ = Blip.AddForChar(45@)
Blip.ChangeColor(157@, BlipColor.Blue)

:HEIST1_8070
if 
  179@ == 1
goto_if_false @HEIST1_8237
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2415.6, 1123.24, 9.813, 5.0, 5.0, 2.0, False)
goto_if_false @HEIST1_8237
181@ = 0
Text.ClearPrints
179@ = 0
Hud.SetRadarZoom(0)
if 
  25 > 177@
goto_if_false @HEIST1_8215
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_8215
Blip.Remove(157@)
156@ = Blip.AddForCoord(2414.812, 1124.435, 9.813)

:HEIST1_8215
if 
  316@ > 1
goto_if_false @HEIST1_8237
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:HEIST1_8237
if 
  177@ == 10
goto_if_false @HEIST1_8514
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_8514
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 45@, 4.0, 4.0, False)
goto_if_false @HEIST1_8514
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Conversation.ClearForChar(45@)
Char.ClearTasks(45@)
Task.TurnCharToFaceChar(45@, $stattreadstamina_ctr)
Conversation.StartSettingUp(45@)
Conversation.SetUpNodeWithScriptedSpeech('HEQ1', 'HEQ2', 'HEX1B', 19200, 19202, 19201)
Conversation.SetUpEndNodeWithScriptedSpeech('HEX1B', 19214)
Conversation.SetUpNodeWithScriptedSpeech('HEQ2', 'HEQ4', 'HEX2', 19203, 19205, 19204)
Conversation.SetUpEndNodeWithScriptedSpeech('HEQ4', 19207)
Conversation.SetUpNodeWithScriptedSpeech('HEX2', 'HEQ4C', 'HEQ5', 19215, 19218, 19217)
Conversation.SetUpEndNodeWithScriptedSpeech('HEQ4C', 19209)
Conversation.SetUpEndNodeWithScriptedSpeech('HEQ5', 19210)
Conversation.FinishSettingUp
177@ = 15

:HEIST1_8514
if 
  177@ == 15
goto_if_false @HEIST1_8598
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_8598
if 
  Conversation.IsAtNode(45@, 'HEQ1')
goto_if_false @HEIST1_8598
Text.ClearHelp
Blip.Remove(157@)
Text.PrintHelpForever('TALK_1')
177@ = 20

:HEIST1_8598
if 
  177@ == 20
goto_if_false @HEIST1_9287
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @HEIST1_8641
Text.ClearHelp

:HEIST1_8641
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_9287
if 
  Conversation.IsAtNode(45@, 'HEQ4')
goto_if_false @HEIST1_8708
Text.ClearHelp
Blip.Remove(157@)
Blip.Remove(156@)
177@ = 24
228@ = 0

:HEIST1_8708
if 
  Conversation.IsAtNode(45@, 'HEQ4C')
goto_if_false @HEIST1_8759
Text.ClearHelp
Blip.Remove(157@)
Blip.Remove(156@)
228@ = 0
177@ = 24

:HEIST1_8759
if 
  Conversation.IsAtNode(45@, 'HEX1B')
goto_if_false @HEIST1_8860
Text.PrintHelpForever('HEIH9')
183@ = 1
177@ = 22
228@ = 0
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_8860
Char.ClearTasks(45@)
Task.SitDown(45@, 10000)
157@ = Blip.AddForChar(45@)
Blip.ChangeColor(157@, BlipColor.Blue)

:HEIST1_8860
if 
  Conversation.IsAtNode(45@, 'HEQ5')
goto_if_false @HEIST1_8961
Text.PrintHelpForever('HEIH9')
183@ = 1
177@ = 22
228@ = 0
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_8961
Char.ClearTasks(45@)
Task.SitDown(45@, 10000)
157@ = Blip.AddForChar(45@)
Blip.ChangeColor(157@, BlipColor.Blue)

:HEIST1_8961
if 
  Conversation.IsAtNode(45@, 'HEX1')
goto_if_false @HEIST1_9062
Text.PrintHelpForever('HEIH9')
183@ = 1
177@ = 22
228@ = 0
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_9062
Char.ClearTasks(45@)
Task.SitDown(45@, 10000)
157@ = Blip.AddForChar(45@)
Blip.ChangeColor(157@, BlipColor.Blue)

:HEIST1_9062
if 
  228@ == 0
goto_if_false @HEIST1_9119
if 
  Conversation.IsAtNode(45@, 'HEX2')
goto_if_false @HEIST1_9119
TIMERA = 0
228@ = 1

:HEIST1_9119
if 
  228@ == 1
goto_if_false @HEIST1_9172
if 
  TIMERA > 4000
goto_if_false @HEIST1_9172
Text.ClearPrints
308@ = 12
228@ = 2

:HEIST1_9172
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 45@, 5.0, 5.0, False)
goto_if_false @HEIST1_9287
183@ = 1
177@ = 22
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_9287
Char.ClearTasks(45@)
Task.SitDown(45@, 10000)
Text.ClearPrints
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
308@ = 21
157@ = Blip.AddForChar(45@)
Blip.ChangeColor(157@, BlipColor.Blue)
228@ = 0

:HEIST1_9287
if 
  177@ == 22
goto_if_false @HEIST1_9340
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_9326
Conversation.ClearForChar(45@)

:HEIST1_9326
228@ = 0
177@ = 23

:HEIST1_9340
if 
  177@ == 23
goto_if_false @HEIST1_9498
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_9498
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 45@, 10.0, 10.0, False)
goto_if_false @HEIST1_9465
Text.PrintHelpForever('HEIH9')
if 
  183@ == 1
goto_if_false @HEIST1_9465
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @HEIST1_9465
177@ = 10
183@ = 0

:HEIST1_9465
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 45@, 10.0, 10.0, False)
goto_if_false @HEIST1_9498
Text.ClearHelp

:HEIST1_9498
if 
  177@ == 24
goto_if_false @HEIST1_9598
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_9544
228@ = 0
Conversation.ClearForChar(45@)

:HEIST1_9544
166@ = Blip.AddForCoord(372.253, 164.4298, 1007.398)
Blip.SetEntryExit(166@, 2415.348, 1123.942, 10.0)
177@ = 25
183@ = 0

:HEIST1_9598
if 
  177@ == 25
goto_if_false @HEIST1_9796
Text.ClearHelp
189@ = 1
Object.FreezePosition(109@, False)
114@ = Object.Create(#DYN_AIRCON, 349.3042, 189.4448, 1018.984)
Object.SetRotation(114@, 0.0, 0.0, 90.0)
Object.SetHealth(114@, 450)
116@ = Object.Create(#DYN_AIRCON, 349.3042, 189.4448, 1019.784)
Object.MakeTargetable(116@, True)
Object.SetRotation(116@, 0.0, 0.0, 90.0)
Object.SetHealth(116@, 450)
117@ = Object.GetHealth(116@)
118@ = Object.GetMass(116@)
177@ = 27
173@ = 1
TIMERA = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 3400)
315@ = 1

:HEIST1_9796
if 
  315@ == 1
goto_if_false @HEIST1_9863
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST1_9863
if 
  Object.DoesExist(116@)
goto_if_false @HEIST1_9863
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot3, 116@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
315@ = 2

:HEIST1_9863
if 
  177@ == 27
goto_if_false @HEIST1_10075
if 
  TIMERA > 3000
goto_if_false @HEIST1_9943
if 
  173@ == 1
goto_if_false @HEIST1_9943
Text.ClearPrints
Text.PrintNow('HEI1_33', 4000, 1)
173@ = 0

:HEIST1_9943
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 372.253, 164.4298, 1007.398, 1.0, 1.0, 1.5, False)
goto_if_false @HEIST1_10075
Blip.Remove(166@)
173@ = 0
Text.ClearPrints
Text.PrintNow('HEI1_34', 6000, 1)
158@ = Blip.AddForCoord(346.9205, 165.9382, 1024.781)
Blip.SetEntryExit(158@, 2415.348, 1123.942, 10.0)
Blip.ChangeColor(158@, BlipColor.Yellow)
177@ = 30

:HEIST1_10075
if 
  180@ == 1
goto_if_false @HEIST1_14682
if 
  179@ == 1
goto_if_false @HEIST1_14682
if 
  178@ == 0
goto_if_false @HEIST1_14682
if 
  not Char.IsDead(52@)
goto_if_false @HEIST1_10695
if 
  40 > 177@
goto_if_false @HEIST1_10321
if 
  173@ == 0
goto_if_false @HEIST1_10321
if 
  228@ == 0
goto_if_false @HEIST1_10321
if 
  TIMERA > 2000
goto_if_false @HEIST1_10321
if 
  207@ == 0
goto_if_false @HEIST1_10321
Char.ClearTasksImmediately(52@)
Task.TurnCharToFaceChar(52@, $stattreadstamina_ctr)
if 
  not Char.IsDead(53@)
goto_if_false @HEIST1_10321
if 
  not Char.IsDead(54@)
goto_if_false @HEIST1_10321
Char.ClearTasksImmediately(53@)
Char.ClearTasksImmediately(54@)
Task.TurnCharToFaceChar(53@, $stattreadstamina_ctr)
Task.TurnCharToFaceChar(54@, $stattreadstamina_ctr)
TIMERA = 0
113@ = 1

:HEIST1_10321
if 
  Char.HasBeenDamagedByChar(52@, $stattreadstamina_ctr)
goto_if_false @HEIST1_10383
Char.ClearTasks(52@)
Task.KillCharOnFoot(52@, $stattreadstamina_ctr)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_10383
if 
  181@ == 0
goto_if_false @HEIST1_10629
if 
  Char.HasSpottedChar(52@, $stattreadstamina_ctr)
goto_if_false @HEIST1_10629
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
goto_if_false @HEIST1_10629
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_10629
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles)
goto_if_false @HEIST1_10629
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Flowers)
goto_if_false @HEIST1_10629
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Dildo1)
goto_if_false @HEIST1_10629
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Dildo2)
goto_if_false @HEIST1_10629
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Vibe1)
goto_if_false @HEIST1_10629
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Vibe2)
goto_if_false @HEIST1_10629
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
goto_if_false @HEIST1_10629
Text.ClearPrints
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
311@ = 0
310@ = 0
308@ = 7
TIMERB = 0
181@ = 1

:HEIST1_10629
if 
  207@ == 1
goto_if_false @HEIST1_10695
if 
  208@ == 0
goto_if_false @HEIST1_10695
Char.ClearTasksImmediately(52@)
Task.StayInSamePlace(52@, True)
Task.AimGunAtChar(52@, $stattreadstamina_ctr, 5000)
208@ = 1

:HEIST1_10695
if 
  not Char.IsDead(53@)
goto_if_false @HEIST1_11085
if 
  Char.HasBeenDamagedByChar(53@, $stattreadstamina_ctr)
goto_if_false @HEIST1_10773
Char.ClearTasks(53@)
Task.KillCharOnFoot(53@, $stattreadstamina_ctr)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_10773
if 
  181@ == 0
goto_if_false @HEIST1_11019
if 
  Char.HasSpottedChar(53@, $stattreadstamina_ctr)
goto_if_false @HEIST1_11019
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
goto_if_false @HEIST1_11019
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_11019
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles)
goto_if_false @HEIST1_11019
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Flowers)
goto_if_false @HEIST1_11019
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Dildo1)
goto_if_false @HEIST1_11019
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Dildo2)
goto_if_false @HEIST1_11019
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Vibe1)
goto_if_false @HEIST1_11019
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Vibe2)
goto_if_false @HEIST1_11019
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
goto_if_false @HEIST1_11019
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
Text.ClearPrints
311@ = 0
310@ = 0
308@ = 7
TIMERB = 0
181@ = 1

:HEIST1_11019
if 
  207@ == 1
goto_if_false @HEIST1_11085
if 
  209@ == 0
goto_if_false @HEIST1_11085
Char.ClearTasksImmediately(53@)
Task.StayInSamePlace(53@, True)
Task.AimGunAtChar(53@, $stattreadstamina_ctr, 5000)
209@ = 1

:HEIST1_11085
if 
  not Char.IsDead(54@)
goto_if_false @HEIST1_12157
if 
  Char.HasBeenDamagedByChar(54@, $stattreadstamina_ctr)
goto_if_false @HEIST1_11163
Char.ClearTasks(54@)
Task.KillCharOnFoot(54@, $stattreadstamina_ctr)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_11163
if 
  189@ == 1
goto_if_false @HEIST1_11272
if 
  188@ == 0
goto_if_false @HEIST1_11272
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 367.6113, 162.3746, 1024.781, 3.5, 3.5, 1.5, False)
goto_if_false @HEIST1_11272
if 
  181@ == 0
goto_if_false @HEIST1_11272
188@ = 1

:HEIST1_11272
if 
  Object.HasBeenPhotographed(107@)
goto_if_false @HEIST1_11320
Text.ClearPrints
Text.PrintNow('HEI1_52', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_11320
if 
  181@ == 0
goto_if_false @HEIST1_11604
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 54@, 10.0, 10.0, 2.0, False)
goto_if_false @HEIST1_11604
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
goto_if_false @HEIST1_11604
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles)
goto_if_false @HEIST1_11604
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Flowers)
goto_if_false @HEIST1_11604
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Dildo1)
goto_if_false @HEIST1_11604
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Dildo2)
goto_if_false @HEIST1_11604
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Vibe1)
goto_if_false @HEIST1_11604
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Vibe2)
goto_if_false @HEIST1_11604
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
goto_if_false @HEIST1_11604
Text.ClearPrints
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
311@ = 0
310@ = 0
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_11576
308@ = 10
goto @HEIST1_11583

:HEIST1_11576
308@ = 7

:HEIST1_11583
TIMERB = 0
181@ = 1
211@ = 1

:HEIST1_11604
if 
  207@ == 1
goto_if_false @HEIST1_11670
if 
  210@ == 0
goto_if_false @HEIST1_11670
Char.ClearTasksImmediately(54@)
Task.StayInSamePlace(54@, True)
Task.AimGunAtChar(54@, $stattreadstamina_ctr, 5000)
210@ = 1

:HEIST1_11670
if 
  189@ == 1
goto_if_false @HEIST1_12157
if 
  188@ == 1
goto_if_false @HEIST1_11893
Player.SetControl($statbike_temp, False)
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
311@ = 0
310@ = 0
308@ = 0
Camera.DoFade(500, Fade.Out)

:HEIST1_11751
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_11775
wait 0
goto @HEIST1_11751

:HEIST1_11775
Text.ClearPrints
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(345.0205, 163.0617, 1026.826, 0.0, 0.0, 0.0)
Camera.PointAtPoint(345.8946, 163.5473, 1026.817, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:HEIST1_11839
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_11863
wait 0
goto @HEIST1_11839

:HEIST1_11863
188@ = 2
Text.PrintNow('HEI1_6', 4000, 1)
TIMERB = 0

:HEIST1_11893
if 
  188@ == 2
goto_if_false @HEIST1_11972
if 
  TIMERB > 1000
goto_if_false @HEIST1_11937
187@ = 1

:HEIST1_11937
if 
  TIMERB > 4000
goto_if_false @HEIST1_11972
Text.ClearPrints
188@ = 4
TIMERB = 0

:HEIST1_11972
if 
  188@ == 4
goto_if_false @HEIST1_12157
187@ = 0
Camera.DoFade(500, Fade.Out)
Text.ClearPrints

:HEIST1_12006
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_12030
wait 0
goto @HEIST1_12006

:HEIST1_12030
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Camera.DoFade(500, Fade.In)

:HEIST1_12045
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_12069
wait 0
goto @HEIST1_12045

:HEIST1_12069
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.ClearPrints
Blip.Remove(158@)
160@ = Blip.AddForCoord(357.3549, 193.415, 1018.984)
Blip.SetEntryExit(160@, 2415.348, 1123.942, 10.0)
Blip.ChangeColor(160@, BlipColor.Yellow)
188@ = 99
Text.PrintNow('HEI1_7', 6000, 1)

:HEIST1_12157
if 
  181@ == 1
goto_if_false @HEIST1_13240
if 
  TIMERB > 6000
goto_if_false @HEIST1_12288
if 
  207@ == 0
goto_if_false @HEIST1_12288
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
goto_if_false @HEIST1_12288
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
Text.ClearPrints
311@ = 0
310@ = 0
if 
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_12281
308@ = 9

:HEIST1_12281
207@ = 1

:HEIST1_12288
if 
  TIMERB > 12000
goto_if_false @HEIST1_12339
Text.ClearPrints
Text.PrintNow('HEI1_50', 6000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_12339
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
goto_if_false @HEIST1_12432
181@ = 0
207@ = 0
208@ = 0
209@ = 0
210@ = 0
211@ = 0
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
Text.ClearPrints
311@ = 0
310@ = 0
308@ = 8

:HEIST1_12432
if 
  211@ <> 1
goto_if_false @HEIST1_12543
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @HEIST1_12543
181@ = 0
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
Text.ClearPrints
311@ = 0
310@ = 0
308@ = 8
207@ = 0
208@ = 0
209@ = 0
210@ = 0
211@ = 0

:HEIST1_12543
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles)
goto_if_false @HEIST1_12636
181@ = 0
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
Text.ClearPrints
311@ = 0
310@ = 0
308@ = 8
207@ = 0
208@ = 0
209@ = 0
210@ = 0
211@ = 0

:HEIST1_12636
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Flowers)
goto_if_false @HEIST1_12729
181@ = 0
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
Text.ClearPrints
311@ = 0
310@ = 0
308@ = 8
207@ = 0
208@ = 0
209@ = 0
210@ = 0
211@ = 0

:HEIST1_12729
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Dildo1)
goto_if_false @HEIST1_12822
181@ = 0
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
Text.ClearPrints
311@ = 0
310@ = 0
308@ = 8
207@ = 0
208@ = 0
209@ = 0
210@ = 0
211@ = 0

:HEIST1_12822
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Dildo2)
goto_if_false @HEIST1_12915
181@ = 0
207@ = 0
208@ = 0
209@ = 0
210@ = 0
211@ = 0
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
Text.ClearPrints
311@ = 0
310@ = 0
308@ = 8

:HEIST1_12915
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Vibe1)
goto_if_false @HEIST1_13008
181@ = 0
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
Text.ClearPrints
311@ = 0
310@ = 0
308@ = 8
207@ = 0
208@ = 0
209@ = 0
210@ = 0
211@ = 0

:HEIST1_13008
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Vibe2)
goto_if_false @HEIST1_13101
181@ = 0
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
Text.ClearPrints
311@ = 0
310@ = 0
308@ = 8
207@ = 0
208@ = 0
209@ = 0
210@ = 0
211@ = 0

:HEIST1_13101
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
goto_if_false @HEIST1_13194
181@ = 0
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
Text.ClearPrints
311@ = 0
310@ = 0
308@ = 8
207@ = 0
208@ = 0
209@ = 0
210@ = 0
211@ = 0

:HEIST1_13194
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @HEIST1_13240
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_13240
if 
  Char.DoesExist(65@)
goto_if_false @HEIST1_13341
if 
  Char.HasBeenDamagedByChar(65@, $stattreadstamina_ctr)
goto_if_false @HEIST1_13341
if 
  not Char.IsDead(65@)
goto_if_false @HEIST1_13341
Char.ClearTasks(65@)
Task.SmartFleeChar(65@, $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_13341
if 
  Char.DoesExist(66@)
goto_if_false @HEIST1_13442
if 
  Char.HasBeenDamagedByChar(66@, $stattreadstamina_ctr)
goto_if_false @HEIST1_13442
if 
  not Char.IsDead(66@)
goto_if_false @HEIST1_13442
Char.ClearTasks(66@)
Task.SmartFleeChar(66@, $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_13442
if 
  Char.DoesExist(67@)
goto_if_false @HEIST1_13543
if 
  Char.HasBeenDamagedByChar(67@, $stattreadstamina_ctr)
goto_if_false @HEIST1_13543
if 
  not Char.IsDead(67@)
goto_if_false @HEIST1_13543
Char.ClearTasks(67@)
Task.SmartFleeChar(67@, $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_13543
if 
  Char.DoesExist(68@)
goto_if_false @HEIST1_13644
if 
  Char.HasBeenDamagedByChar(68@, $stattreadstamina_ctr)
goto_if_false @HEIST1_13644
if 
  not Char.IsDead(68@)
goto_if_false @HEIST1_13644
Char.ClearTasks(68@)
Task.SmartFleeChar(68@, $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_13644
if 
  Char.DoesExist(69@)
goto_if_false @HEIST1_13745
if 
  Char.HasBeenDamagedByChar(69@, $stattreadstamina_ctr)
goto_if_false @HEIST1_13745
if 
  not Char.IsDead(69@)
goto_if_false @HEIST1_13745
Char.ClearTasks(69@)
Task.SmartFleeChar(69@, $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_13745
if 
  Char.DoesExist(70@)
goto_if_false @HEIST1_13846
if 
  Char.HasBeenDamagedByChar(70@, $stattreadstamina_ctr)
goto_if_false @HEIST1_13846
if 
  not Char.IsDead(70@)
goto_if_false @HEIST1_13846
Char.ClearTasks(70@)
Task.SmartFleeChar(70@, $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_13846
if 
  Char.DoesExist(71@)
goto_if_false @HEIST1_13947
if 
  Char.HasBeenDamagedByChar(71@, $stattreadstamina_ctr)
goto_if_false @HEIST1_13947
if 
  not Char.IsDead(71@)
goto_if_false @HEIST1_13947
Char.ClearTasks(71@)
Task.SmartFleeChar(71@, $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_13947
if 
  Char.DoesExist(72@)
goto_if_false @HEIST1_14048
if 
  Char.HasBeenDamagedByChar(72@, $stattreadstamina_ctr)
goto_if_false @HEIST1_14048
if 
  not Char.IsDead(72@)
goto_if_false @HEIST1_14048
Char.ClearTasks(72@)
Task.SmartFleeChar(72@, $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_14048
if 
  Char.DoesExist(73@)
goto_if_false @HEIST1_14149
if 
  Char.HasBeenDamagedByChar(73@, $stattreadstamina_ctr)
goto_if_false @HEIST1_14149
if 
  not Char.IsDead(73@)
goto_if_false @HEIST1_14149
Char.ClearTasks(73@)
Task.SmartFleeChar(73@, $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_14149
if 
  Char.DoesExist(45@)
goto_if_false @HEIST1_14250
if 
  Char.HasBeenDamagedByChar(45@, $stattreadstamina_ctr)
goto_if_false @HEIST1_14250
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_14250
Char.ClearTasks(45@)
Task.SmartFleeChar(45@, $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_14250
if 
  Char.DoesExist(47@)
goto_if_false @HEIST1_14358
if 
  Char.HasBeenDamagedByChar(47@, $stattreadstamina_ctr)
goto_if_false @HEIST1_14358
if 
  not Char.IsDead(47@)
goto_if_false @HEIST1_14358
Char.ClearTasks(47@)
Task.SmartFleeChar(47@, $stattreadstamina_ctr, 100.0, -1)
gosub @HEIST1_23610
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_14358
if 
  Char.DoesExist(48@)
goto_if_false @HEIST1_14466
if 
  Char.HasBeenDamagedByChar(48@, $stattreadstamina_ctr)
goto_if_false @HEIST1_14466
if 
  not Char.IsDead(48@)
goto_if_false @HEIST1_14466
Char.ClearTasks(48@)
Task.SmartFleeChar(48@, $stattreadstamina_ctr, 100.0, -1)
gosub @HEIST1_23610
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_14466
if 
  Char.DoesExist(49@)
goto_if_false @HEIST1_14574
if 
  Char.HasBeenDamagedByChar(49@, $stattreadstamina_ctr)
goto_if_false @HEIST1_14574
if 
  not Char.IsDead(49@)
goto_if_false @HEIST1_14574
Char.ClearTasks(49@)
Task.SmartFleeChar(49@, $stattreadstamina_ctr, 100.0, -1)
gosub @HEIST1_23610
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_14574
if 
  Char.DoesExist(50@)
goto_if_false @HEIST1_14682
if 
  Char.HasBeenDamagedByChar(50@, $stattreadstamina_ctr)
goto_if_false @HEIST1_14682
if 
  not Char.IsDead(50@)
goto_if_false @HEIST1_14682
Char.ClearTasks(50@)
Task.SmartFleeChar(50@, $stattreadstamina_ctr, 100.0, -1)
gosub @HEIST1_23610
Text.PrintNow('HEI1_50', 4000, 1)
gosub @HEIST1_23641
goto @HEIST1_23673

:HEIST1_14682
if 
  177@ == 30
goto_if_false @HEIST1_15276
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 364.4255, 188.2647, 1018.984, 2.0, 2.0, 2.0, False)
goto_if_false @HEIST1_14842
if 
  188@ > 1
goto_if_false @HEIST1_14842
if 
  221@ == 0
goto_if_false @HEIST1_14842
Blip.Remove(160@)
163@ = Blip.AddForObject(114@)
Blip.SetEntryExit(163@, 2415.348, 1123.942, 10.0)
Text.ClearPrints
Text.PrintNow('HEI1_10', 6000, 1)
221@ = 1

:HEIST1_14842
if 
  191@ == 0
goto_if_false @HEIST1_14925
if 
  Object.HasBeenDamaged(114@)
goto_if_false @HEIST1_14925
151@ = Math.RandomIntInRange(1, 4)
Object.Break(114@, 1)
Blip.Remove(163@)
190@ += 1
191@ = 1
190@ = 2
Object.MakeTargetable(114@, False)

:HEIST1_14925
if 
  192@ == 0
goto_if_false @HEIST1_15033
if 
  2 > 190@
goto_if_false @HEIST1_15033
if 
  Object.HasBeenDamaged(116@)
goto_if_false @HEIST1_15033
151@ = Math.RandomIntInRange(1, 4)
Object.Break(116@, 1)
Blip.Remove(163@)
190@ += 1
192@ = 1
190@ = 2
Object.MakeTargetable(116@, False)
TIMERA = 0

:HEIST1_15033
if 
  190@ == 2
goto_if_false @HEIST1_15113
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
315@ = 99
if 
  TIMERA > 1000
goto_if_false @HEIST1_15113
148@ = ScriptFire.Start(350.8387, 190.3284, 1019.0, 1, 151@)
190@ = 3

:HEIST1_15113
if 
  190@ == 3
goto_if_false @HEIST1_15276
177@ = 40
141@ = Particle.Create("TEARGAS", 350.6574, 189.2716, 1019.0, 1)
142@ = Particle.Create("TEARGAS", 350.6574, 189.2716, 1020.0, 1)
143@ = Particle.Create("TEARGAS", 350.8387, 190.3284, 1019.0, 1)
Particle.Play(141@)
Particle.Play(142@)
Particle.Play(143@)
TIMERA = 0
Text.PrintNow('HEI1_20', 4000, 1)
316@ = 1

:HEIST1_15276
if 
  177@ == 40
goto_if_false @HEIST1_15334
if 
  TIMERA > 3000
goto_if_false @HEIST1_15334
180@ = 0
178@ = 1
177@ = 45

:HEIST1_15334
if 
  177@ > 9
goto_if_false @HEIST1_15891
if 
  113@ == 1
goto_if_false @HEIST1_15891
if 
  45 > 177@
goto_if_false @HEIST1_15891
if 
  not Char.IsDead(65@)
goto_if_false @HEIST1_15512
if 
  not Char.IsDead(66@)
goto_if_false @HEIST1_15512
206@ = Char.GetScriptTaskStatus(65@, 1655)
if 
  is_int_lvar_equal_to_constant 206@ == 7
goto_if_false @HEIST1_15512
206@ = Char.GetScriptTaskStatus(66@, 1655)
if 
  is_int_lvar_equal_to_constant 206@ == 7
goto_if_false @HEIST1_15512
Char.ClearTasks(65@)
Char.ClearTasks(66@)
Task.ChatWithChar(65@, 66@, True, 1)
Task.ChatWithChar(66@, 65@, False, 1)

:HEIST1_15512
if 
  not Char.IsDead(67@)
goto_if_false @HEIST1_15636
if 
  not Char.IsDead(68@)
goto_if_false @HEIST1_15636
206@ = Char.GetScriptTaskStatus(67@, 1655)
if 
  is_int_lvar_equal_to_constant 206@ == 7
goto_if_false @HEIST1_15636
206@ = Char.GetScriptTaskStatus(68@, 1655)
if 
  is_int_lvar_equal_to_constant 206@ == 7
goto_if_false @HEIST1_15636
Char.ClearTasks(67@)
Char.ClearTasks(68@)
Task.ChatWithChar(67@, 68@, True, 1)
Task.ChatWithChar(68@, 67@, False, 1)

:HEIST1_15636
if 
  not Char.IsDead(69@)
goto_if_false @HEIST1_15760
if 
  not Char.IsDead(70@)
goto_if_false @HEIST1_15760
206@ = Char.GetScriptTaskStatus(69@, 1655)
if 
  is_int_lvar_equal_to_constant 206@ == 7
goto_if_false @HEIST1_15760
206@ = Char.GetScriptTaskStatus(70@, 1655)
if 
  is_int_lvar_equal_to_constant 206@ == 7
goto_if_false @HEIST1_15760
Char.ClearTasks(69@)
Char.ClearTasks(70@)
Task.ChatWithChar(69@, 70@, True, 1)
Task.ChatWithChar(70@, 69@, False, 1)

:HEIST1_15760
if 
  not Char.IsDead(71@)
goto_if_false @HEIST1_15884
if 
  not Char.IsDead(72@)
goto_if_false @HEIST1_15884
206@ = Char.GetScriptTaskStatus(71@, 1655)
if 
  is_int_lvar_equal_to_constant 206@ == 7
goto_if_false @HEIST1_15884
206@ = Char.GetScriptTaskStatus(72@, 1655)
if 
  is_int_lvar_equal_to_constant 206@ == 7
goto_if_false @HEIST1_15884
Char.ClearTasks(71@)
Char.ClearTasks(72@)
Task.ChatWithChar(71@, 72@, True, 1)
Task.ChatWithChar(72@, 71@, False, 1)

:HEIST1_15884
113@ = 0

:HEIST1_15891
if 
  177@ == 45
goto_if_false @HEIST1_16932
if 
  not Char.IsDead(67@)
goto_if_false @HEIST1_15954
Char.ClearTasks(67@)
Task.FollowPathNodesToCoord(67@, 370.877, 171.6468, 1007.397, 4, -2)

:HEIST1_15954
if 
  not Char.IsDead(69@)
goto_if_false @HEIST1_15999
Char.ClearTasks(69@)
Task.FollowPathNodesToCoord(69@, 370.877, 171.6468, 1007.397, 4, -2)

:HEIST1_15999
if 
  not Char.IsDead(68@)
goto_if_false @HEIST1_16044
Char.ClearTasks(68@)
Task.FollowPathNodesToCoord(68@, 370.877, 171.6468, 1007.397, 4, -2)

:HEIST1_16044
if 
  not Char.IsDead(70@)
goto_if_false @HEIST1_16089
Char.ClearTasks(70@)
Task.FollowPathNodesToCoord(70@, 370.877, 171.6468, 1007.397, 4, -2)

:HEIST1_16089
if 
  not Char.IsDead(71@)
goto_if_false @HEIST1_16134
Char.ClearTasks(71@)
Task.FollowPathNodesToCoord(71@, 370.877, 171.6468, 1007.397, 4, -2)

:HEIST1_16134
if 
  not Char.IsDead(72@)
goto_if_false @HEIST1_16179
Char.ClearTasks(72@)
Task.FollowPathNodesToCoord(72@, 370.877, 171.6468, 1007.397, 4, -2)

:HEIST1_16179
if 
  not Char.IsDead(73@)
goto_if_false @HEIST1_16224
Char.ClearTasks(73@)
Task.FollowPathNodesToCoord(73@, 370.877, 171.6468, 1007.397, 4, -2)

:HEIST1_16224
if 
  not Char.IsDead(50@)
goto_if_false @HEIST1_16273
Char.ClearTasks(50@)
Char.SetDecisionMaker(50@, 103@)
Char.SetCoordinates(50@, 377.7027, 153.2545, 1022.774)

:HEIST1_16273
Camera.DoFade(500, Fade.Out)

:HEIST1_16280
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_16304
wait 0
goto @HEIST1_16280

:HEIST1_16304
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
ScriptFire.Remove(148@)
Camera.SetFixedPosition(350.4867, 162.1073, 1026.989, 0.0, 0.0, 0.0)
Camera.PointAtPoint(351.4692, 162.1195, 1026.804, SwitchType.JumpCut)
if 
  not Char.IsDead(54@)
goto_if_false @HEIST1_16439
Task.StayInSamePlace(54@, False)
Path.FlushRoute
Path.ExtendRoute(353.4759, 161.9657, 1024.781)
Path.ExtendRoute(365.8191, 162.2179, 1024.781)
Task.FollowPointRoute(54@, 4, RouteMode.Once)

:HEIST1_16439
if 
  not Char.IsDead(47@)
goto_if_false @HEIST1_16580
Char.SetDecisionMaker(47@, 103@)
Char.ClearTasks(47@)
Char.SetCoordinates(47@, 353.9879, 164.0512, 1024.781)
Char.SetHeading(47@, 224.0)
Char.ClearTasks(47@)
Char.SetDecisionMaker(47@, 103@)
Path.FlushRoute
Path.ExtendRoute(355.5494, 162.7226, 1024.774)
Path.ExtendRoute(368.749, 162.4855, 1024.774)
Path.ExtendRoute(378.824, 162.5327, 1024.774)
Task.FollowPointRoute(47@, 4, RouteMode.Once)
194@ = 1

:HEIST1_16580
if 
  not Char.IsDead(48@)
goto_if_false @HEIST1_16721
Char.SetDecisionMaker(48@, 103@)
Char.ClearTasks(48@)
Char.SetCoordinates(48@, 354.1077, 160.163, 1024.781)
Char.SetHeading(48@, 302.0)
Char.ClearTasks(48@)
Char.SetDecisionMaker(48@, 103@)
Path.FlushRoute
Path.ExtendRoute(355.5494, 162.7226, 1024.774)
Path.ExtendRoute(368.749, 162.4855, 1024.774)
Path.ExtendRoute(378.824, 162.5327, 1024.774)
Task.FollowPointRoute(48@, 4, RouteMode.Once)
195@ = 2

:HEIST1_16721
if 
  not Char.IsDead(49@)
goto_if_false @HEIST1_16845
Char.SetDecisionMaker(49@, 103@)
Char.ClearTasks(49@)
Char.SetCoordinates(49@, 364.2849, 160.2124, 1024.789)
Char.SetHeading(49@, 294.5)
Char.ClearTasks(49@)
Char.SetDecisionMaker(49@, 103@)
Path.FlushRoute
Path.ExtendRoute(369.2587, 162.4347, 1024.774)
Path.ExtendRoute(377.2099, 163.5096, 1024.781)
Task.FollowPointRoute(49@, 4, RouteMode.Once)
196@ = 1

:HEIST1_16845
Text.ClearPrints
Camera.DoFade(500, Fade.In)

:HEIST1_16854
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_16878
wait 0
goto @HEIST1_16854

:HEIST1_16878
177@ = 50
TIMERB = 0
185@ = 1
Text.ClearPrints
Audio.ClearMissionAudio(307@)
Audio.ClearMissionAudio(306@)
311@ = 0
310@ = 0
308@ = 13

:HEIST1_16932
if 
  177@ == 50
goto_if_false @HEIST1_16976
if 
  TIMERB > 4000
goto_if_false @HEIST1_16976
177@ = 55

:HEIST1_16976
if 
  177@ == 55
goto_if_false @HEIST1_17621
185@ = 0
Camera.DoFade(500, Fade.Out)

:HEIST1_17008
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_17032
wait 0
goto @HEIST1_17008

:HEIST1_17032
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Char.ClearTasks($stattreadstamina_ctr)
Hud.SwitchWidescreen(False)
Camera.DoFade(500, Fade.In)
Char.ClearTasks($stattreadstamina_ctr)
Player.SetControl($statbike_temp, True)
151@ = 3
147@ = ScriptFire.Start(350.6574, 189.5716, 1019.0, 1, 151@)
148@ = ScriptFire.Start(350.8387, 190.3284, 1019.0, 1, 2)
177@ = 60
if 
  not Char.IsDead(54@)
goto_if_false @HEIST1_17171
Char.SetDecisionMaker(54@, 104@)
Char.SetCoordinates(54@, 2419.994, 1153.71, 9.8047)

:HEIST1_17171
if 
  not Char.IsDead(53@)
goto_if_false @HEIST1_17215
Char.SetDecisionMaker(53@, 104@)
Char.SetCoordinates(53@, 2419.994, 1145.71, 9.8047)

:HEIST1_17215
if 
  not Char.IsDead(52@)
goto_if_false @HEIST1_17259
Char.SetDecisionMaker(52@, 104@)
Char.SetCoordinates(52@, 2417.655, 1154.085, 9.8047)

:HEIST1_17259
if 
  not Char.IsDead(45@)
goto_if_false @HEIST1_17305
Char.SetCoordinates(45@, 2419.363, 1132.672, 9.8047)
Char.SetHeading(45@, 135.0)

:HEIST1_17305
if 
  not Char.IsDead(65@)
goto_if_false @HEIST1_17326
Char.Delete(65@)

:HEIST1_17326
if 
  not Char.IsDead(66@)
goto_if_false @HEIST1_17347
Char.Delete(66@)

:HEIST1_17347
if 
  not Char.IsDead(47@)
goto_if_false @HEIST1_17398
Char.ClearTasks(47@)
Char.SetCoordinates(47@, 372.0212, 163.0494, 1024.773)
Char.SetHeading(47@, 276.1)

:HEIST1_17398
if 
  not Char.IsDead(48@)
goto_if_false @HEIST1_17449
Char.ClearTasks(48@)
Char.SetCoordinates(48@, 375.6833, 163.8624, 1024.773)
Char.SetHeading(48@, 266.1)

:HEIST1_17449
if 
  not Char.IsDead(49@)
goto_if_false @HEIST1_17500
Char.ClearTasks(49@)
Char.SetCoordinates(49@, 378.0436, 162.5748, 1024.775)
Char.SetHeading(49@, 168.1)

:HEIST1_17500
if 
  not Char.IsDead(50@)
goto_if_false @HEIST1_17551
Char.ClearTasks(50@)
Char.SetCoordinates(50@, 377.7027, 153.2545, 1022.774)
Char.SetHeading(50@, 101.1)

:HEIST1_17551
Text.ClearPrints
Text.PrintNow('HEI1_22', 6000, 1)
Blip.Remove(158@)
158@ = Blip.AddForCoord(346.9205, 165.9382, 1024.781)
Blip.SetEntryExit(158@, 2415.348, 1123.942, 10.0)
Blip.ChangeColor(158@, BlipColor.Yellow)

:HEIST1_17621
if 
  177@ == 60
goto_if_false @HEIST1_18697
if 
  219@ == 0
goto_if_false @HEIST1_17892
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 371.0459, 161.5409, 1018.984, 1.5, 1.5, 2.0, False)
goto_if_false @HEIST1_17892
if 
  not Char.IsDead(50@)
goto_if_false @HEIST1_17750
Char.ClearTasks(50@)
Task.FollowPathNodesToCoord(50@, 370.877, 171.6468, 1007.397, 4, -2)

:HEIST1_17750
if 
  not Char.IsDead(49@)
goto_if_false @HEIST1_17795
Char.ClearTasks(49@)
Task.FollowPathNodesToCoord(49@, 379.2716, 173.4771, 1007.397, 4, -2)

:HEIST1_17795
if 
  not Char.IsDead(48@)
goto_if_false @HEIST1_17840
Char.ClearTasks(48@)
Task.FollowPathNodesToCoord(48@, 370.9119, 175.3713, 1007.397, 4, -2)

:HEIST1_17840
if 
  not Char.IsDead(47@)
goto_if_false @HEIST1_17885
Char.ClearTasks(47@)
Task.FollowPathNodesToCoord(47@, 370.877, 171.6468, 1007.397, 4, -2)

:HEIST1_17885
219@ = 1

:HEIST1_17892
if 
  219@ == 1
goto_if_false @HEIST1_18230
if 
  225@ == 0
goto_if_false @HEIST1_17990
if 
  not Char.IsDead(50@)
goto_if_false @HEIST1_17990
if 
  Char.HasBeenDamagedByChar(50@, $stattreadstamina_ctr)
goto_if_false @HEIST1_17990
Char.ClearTasks(50@)
Task.SmartFleeChar(50@, $stattreadstamina_ctr, 100.0, -1)
225@ = 1

:HEIST1_17990
if 
  224@ == 0
goto_if_false @HEIST1_18070
if 
  not Char.IsDead(49@)
goto_if_false @HEIST1_18070
if 
  Char.HasBeenDamagedByChar(49@, $stattreadstamina_ctr)
goto_if_false @HEIST1_18070
Char.ClearTasks(49@)
Task.SmartFleeChar(49@, $stattreadstamina_ctr, 100.0, -1)
224@ = 1

:HEIST1_18070
if 
  223@ == 0
goto_if_false @HEIST1_18150
if 
  not Char.IsDead(48@)
goto_if_false @HEIST1_18150
if 
  Char.HasBeenDamagedByChar(48@, $stattreadstamina_ctr)
goto_if_false @HEIST1_18150
Char.ClearTasks(48@)
Task.SmartFleeChar(48@, $stattreadstamina_ctr, 100.0, -1)
223@ = 1

:HEIST1_18150
if 
  222@ == 0
goto_if_false @HEIST1_18230
if 
  not Char.IsDead(47@)
goto_if_false @HEIST1_18230
if 
  Char.HasBeenDamagedByChar(47@, $stattreadstamina_ctr)
goto_if_false @HEIST1_18230
Char.ClearTasks(47@)
Task.SmartFleeChar(47@, $stattreadstamina_ctr, 100.0, -1)
222@ = 1

:HEIST1_18230
if 
  Object.HasBeenPhotographed(107@)
goto_if_false @HEIST1_18697
184@ = 1
Blip.Remove(158@)
Text.ClearPrints
Text.ClearHelp
Text.PrintNow('HEI1_25', 6000, 1)
161@ = Blip.AddForCoord(2418.682, 1123.352, 9.8047)
Blip.ChangeColor(161@, BlipColor.Yellow)
Particle.Kill(141@)
Particle.Kill(142@)
Particle.Kill(143@)
138@ = Particle.Create("TEARGAS", 369.2483, 162.346, 1026.774, 1)
139@ = Particle.Create("TEARGAS", 373.3976, 162.6828, 1026.774, 1)
140@ = Particle.Create("TEARGAS", 378.9187, 163.1306, 1026.774, 1)
Particle.Play(138@)
Particle.Play(139@)
Particle.Play(140@)
if 
  not Char.IsDead(47@)
goto_if_false @HEIST1_18449
Char.Delete(47@)

:HEIST1_18449
if 
  not Char.IsDead(48@)
goto_if_false @HEIST1_18470
Char.Delete(48@)

:HEIST1_18470
if 
  not Char.IsDead(49@)
goto_if_false @HEIST1_18491
Char.Delete(49@)

:HEIST1_18491
if 
  not Char.IsDead(50@)
goto_if_false @HEIST1_18512
Char.Delete(50@)

:HEIST1_18512
if 
  not Char.IsDead(67@)
goto_if_false @HEIST1_18533
Char.Delete(67@)

:HEIST1_18533
if 
  not Char.IsDead(68@)
goto_if_false @HEIST1_18554
Char.Delete(68@)

:HEIST1_18554
if 
  not Char.IsDead(69@)
goto_if_false @HEIST1_18575
Char.Delete(69@)

:HEIST1_18575
if 
  not Char.IsDead(70@)
goto_if_false @HEIST1_18596
Char.Delete(70@)

:HEIST1_18596
if 
  not Char.IsDead(71@)
goto_if_false @HEIST1_18617
Char.Delete(71@)

:HEIST1_18617
if 
  not Char.IsDead(72@)
goto_if_false @HEIST1_18638
Char.Delete(72@)

:HEIST1_18638
if 
  not Char.IsDead(73@)
goto_if_false @HEIST1_18659
Char.Delete(73@)

:HEIST1_18659
198@ = 1
TIMERA = 0
177@ = 99
Streaming.LoadScene(376.9717, 192.0647, 1013.18)

:HEIST1_18697
if 
  184@ == 1
goto_if_false @HEIST1_19005
if 
  TIMERA > 2500
goto_if_false @HEIST1_19005
Streaming.RequestModel(275)
Streaming.RequestModel(282)
Streaming.RequestModel(147)

:HEIST1_18749
if or
  not Streaming.HasModelLoaded(275)
  not Streaming.HasModelLoaded(282)
  not Streaming.HasModelLoaded(147)
goto_if_false @HEIST1_18786
wait 0
goto @HEIST1_18749

:HEIST1_18786
78@ = Char.Create(PedType.Mission1, 147, 376.9717, 192.0647, 1013.18)
Char.SetHeading(78@, 266.7879)
Char.SetDecisionMaker(78@, 105@)
Char.SetHasUsedEntryExit(78@, 2415.348, 1123.942, 10.0)
79@ = Char.Create(PedType.Mission1, 282, 377.2169, 190.7318, 1013.18)
Char.SetHeading(79@, 5.7879)
Char.SetDecisionMaker(79@, 105@)
Char.GiveWeapon(79@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(79@, 2415.348, 1123.942, 10.0)
Task.TurnCharToFaceChar(78@, 79@)
80@ = Char.Create(PedType.Mission1, 282, 377.9352, 192.4556, 1013.18)
Char.SetHeading(80@, 124.31)
Char.SetDecisionMaker(80@, 105@)
Char.SetHasUsedEntryExit(80@, 2415.348, 1123.942, 10.0)
Streaming.MarkModelAsNoLongerNeeded(275)
184@ = 2

:HEIST1_19005
if 
  184@ == 2
goto_if_false @HEIST1_19189
Text.ClearPrints
Camera.DoFade(1000, Fade.Out)
Player.SetControl($statbike_temp, False)

:HEIST1_19039
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_19063
wait 0
goto @HEIST1_19039

:HEIST1_19063
Text.ClearPrints
Hud.SwitchWidescreen(True)
Streaming.LoadScene(376.9717, 192.0647, 1013.18)
Camera.SetFixedPosition(374.0174, 190.0682, 1014.494, 0.0, 0.0, 0.0)
Camera.PointAtPoint(374.8688, 190.5916, 1014.458, SwitchType.JumpCut)
Camera.DoFade(2000, Fade.In)

:HEIST1_19144
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_19168
wait 0
goto @HEIST1_19144

:HEIST1_19168
184@ = 3
186@ = 1
TIMERA = 0

:HEIST1_19189
if 
  184@ == 3
goto_if_false @HEIST1_19283
Text.ClearPrints
308@ = 15
if 
  not Char.IsDead(78@)
goto_if_false @HEIST1_19269
Task.PlayAnim(78@, "ENDCHAT_01", "PED", 4.0, True, False, False, False, -1)

:HEIST1_19269
184@ = 4
TIMERA = 0

:HEIST1_19283
if 
  184@ == 4
goto_if_false @HEIST1_19334
if 
  TIMERA > 2000
goto_if_false @HEIST1_19334
184@ = 5
TIMERA = 0

:HEIST1_19334
if 
  184@ == 5
goto_if_false @HEIST1_20919
186@ = 0
if 
  not Char.IsDead(78@)
goto_if_false @HEIST1_19401
if 
  not Char.IsDead(79@)
goto_if_false @HEIST1_19401
Char.ClearTasks(78@)
Char.ClearTasks(79@)

:HEIST1_19401
Camera.DoFade(500, Fade.Out)

:HEIST1_19408
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_19432
wait 0
goto @HEIST1_19408

:HEIST1_19432
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Camera.DoFade(500, Fade.In)

:HEIST1_19454
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_19478
wait 0
goto @HEIST1_19454

:HEIST1_19478
184@ = 10
Char.Delete(78@)
if 
  not Char.IsDead(54@)
goto_if_false @HEIST1_19577
Char.SetCoordinates(54@, 378.2106, 154.386, 1022.782)
Char.SetHeading(54@, 312.89)
Char.ClearTasks(54@)
76@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(76@)
Char.PerformSequence(54@, 76@)
Sequence.Clear(76@)

:HEIST1_19577
56@ = Char.Create(PedType.Mission1, 282, 371.6575, 153.1287, 1020.796)
Char.SetHeading(56@, 264.7879)
Char.SetShootRate(56@, 60)
Char.SetDecisionMaker(56@, 103@)
Char.GiveWeapon(56@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(56@, 2415.348, 1123.942, 10.0)
76@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(76@)
Char.PerformSequence(56@, 76@)
Sequence.Clear(76@)
57@ = Char.Create(PedType.Mission1, 282, 378.6946, 163.6932, 1018.984)
Char.SetHeading(57@, 91.89)
Char.SetDecisionMaker(57@, 103@)
Char.GiveWeapon(57@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(57@, 2415.348, 1123.942, 10.0)
76@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(76@)
Char.PerformSequence(57@, 76@)
Sequence.Clear(76@)
58@ = Char.Create(PedType.Mission1, 282, 371.9029, 164.5795, 1013.18)
Char.SetHeading(58@, 195.89)
Char.SetDecisionMaker(58@, 103@)
Char.GiveWeapon(58@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(58@, 2415.348, 1123.942, 10.0)
76@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 3000, 50)
Sequence.Close(76@)
Char.PerformSequence(58@, 76@)
Sequence.Clear(76@)
59@ = Char.Create(PedType.Mission1, 282, 371.2767, 154.0267, 1014.984)
Char.SetHeading(59@, 195.89)
Char.SetShootRate(59@, 60)
Char.SetDecisionMaker(59@, 103@)
Char.GiveWeapon(59@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(59@, 2415.348, 1123.942, 10.0)
76@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 3000, 50)
Sequence.Close(76@)
Char.PerformSequence(59@, 76@)
Sequence.Clear(76@)
60@ = Char.Create(PedType.Mission1, 282, 378.0627, 152.9613, 1011.195)
Char.SetHeading(60@, 285.89)
Char.SetDecisionMaker(60@, 103@)
Char.GiveWeapon(60@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(60@, 2415.348, 1123.942, 10.0)
76@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, False)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 3000, 50)
Sequence.Close(76@)
Char.PerformSequence(60@, 76@)
Sequence.Clear(76@)
61@ = Char.Create(PedType.Mission1, 282, 372.2917, 162.8527, 1007.389)
Char.SetHeading(61@, 195.89)
Char.SetDecisionMaker(61@, 103@)
Char.GiveWeapon(61@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(61@, 2415.348, 1123.942, 10.0)
76@ = Sequence.Open()
Task.KindaStayInSamePlace(-1, True)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 3000, 50)
Sequence.Close(76@)
Char.PerformSequence(61@, 76@)
Sequence.Clear(76@)
64@ = Char.Create(PedType.Mission1, 282, 379.1144, 153.0811, 1011.195)
Char.SetHeading(64@, 4.89)
Char.SetDecisionMaker(64@, 103@)
Task.ToggleDuck(64@, True)
Char.SetShootRate(64@, 50)
Char.SetHealth(64@, 120)
Char.GiveWeapon(64@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(64@, 2415.348, 1123.942, 10.0)
76@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(76@)
Char.PerformSequence(64@, 76@)
Sequence.Clear(76@)
63@ = Char.Create(PedType.Mission1, 282, 369.8178, 162.4074, 1018.977)
Char.SetHeading(63@, 217.89)
Char.SetShootRate(63@, 50)
Char.SetHealth(63@, 120)
Char.SetDecisionMaker(63@, 103@)
Char.GiveWeapon(63@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(63@, 2415.348, 1123.942, 10.0)
76@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootWhileDucking(-1, $stattreadstamina_ctr, 4, 3000, 70)
Sequence.Close(76@)
Char.PerformSequence(63@, 76@)
Sequence.Clear(76@)
62@ = Char.Create(PedType.Mission1, 282, 370.1607, 179.6097, 1007.391)
Char.SetHeading(62@, 170.89)
Char.SetShootRate(62@, 50)
Char.SetHealth(62@, 120)
Char.SetDecisionMaker(62@, 103@)
Task.ToggleDuck(62@, True)
Char.GiveWeapon(62@, WeaponType.Pistol, 30000)
Char.SetHasUsedEntryExit(62@, 2415.348, 1123.942, 10.0)
76@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(76@)
Char.PerformSequence(62@, 76@)
Sequence.Clear(76@)
if 
  not Char.IsDead(53@)
goto_if_false @HEIST1_20729
Char.ClearTasks(53@)
Char.SetCoordinates(53@, 375.0372, 177.4968, 1007.391)
Char.SetHeading(53@, 193.0)
Task.StayInSamePlace(53@, True)
Task.KillCharOnFoot(53@, $stattreadstamina_ctr)

:HEIST1_20729
if 
  not Char.IsDead(52@)
goto_if_false @HEIST1_20795
Char.ClearTasks(52@)
Char.SetCoordinates(52@, 385.5123, 174.311, 1007.389)
Char.SetHeading(52@, 82.0)
Task.KindaStayInSamePlace(52@, True)
Task.KillCharOnFoot(52@, $stattreadstamina_ctr)

:HEIST1_20795
if 
  not Char.IsDead(79@)
goto_if_false @HEIST1_20824
Char.ClearTasks(79@)
Task.KillCharOnFoot(79@, $stattreadstamina_ctr)

:HEIST1_20824
Text.ClearPrints
Text.PrintNow('HEI1_46', 6000, 1)
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
Streaming.RequestModel(401)

:HEIST1_20854
if 
  not Streaming.HasModelLoaded(401)
goto_if_false @HEIST1_20881
wait 0
goto @HEIST1_20854

:HEIST1_20881
106@ = Car.Create(401, 2423.733, 1120.273, 9.6719)
Car.SetHeading(106@, 179.4729)
Streaming.MarkModelAsNoLongerNeeded(401)

:HEIST1_20919
if 
  198@ == 1
goto_if_false @HEIST1_21362
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 369.2483, 162.346, 1024.774, 2.0, 2.0, 2.0, False)
goto_if_false @HEIST1_21362
129@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 0.0, 0.0, 2.0, 1)
130@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 0.0, 2.0, 1.8, 1)
131@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 0.0, -2.0, 2.0, 1)
132@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 1.0, 5.0, 1.5, 1)
133@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, -1.0, 8.0, 1.8, 1)
134@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 2.0, 0.0, 1.5, 1)
135@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, -2.0, 0.0, 1.5, 1)
136@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, -2.0, 2.0, 1.5, 1)
137@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 2.0, 2.0, 1.5, 1)
Weather.SetHeathazeEffect(True)
Particle.Play(129@)
Particle.Play(130@)
Particle.Play(131@)
Particle.Play(132@)
Particle.Play(133@)
Particle.Play(134@)
Particle.Play(135@)
Particle.Play(136@)
Particle.Play(137@)
Particle.Kill(138@)
Particle.Kill(139@)
Particle.Kill(140@)
198@ = 2

:HEIST1_21362
if 
  184@ == 10
goto_if_false @HEIST1_21571
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2418.682, 1123.352, 9.8047, 5.0, 5.0, 5.0, False)
goto_if_false @HEIST1_21571
Weather.SetHeathazeEffect(False)
Particle.Kill(138@)
Particle.Kill(139@)
Particle.Kill(140@)
Particle.Kill(129@)
Particle.Kill(130@)
Particle.Kill(131@)
Particle.Kill(132@)
Particle.Kill(133@)
Particle.Kill(134@)
Particle.Kill(135@)
Particle.Kill(136@)
Particle.Kill(137@)
184@ = 11
Blip.Remove(161@)
165@ = Blip.AddForCoord(1918.59, 958.3391, 9.8203)
Text.ClearPrints
Text.PrintNow('HEI1_29', 6000, 1)
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
324@ = 1
TIMERB = 0
Streaming.MarkModelAsNoLongerNeeded(71)
Streaming.MarkModelAsNoLongerNeeded(54)

:HEIST1_21571
if 
  324@ == 1
goto_if_false @HEIST1_21622
if 
  TIMERB > 4000
goto_if_false @HEIST1_21622
Player.AlterWantedLevelNoDrop($statbike_temp, 4)
324@ = 2

:HEIST1_21622
if 
  184@ == 11
goto_if_false @HEIST1_21702
Streaming.RequestModel(117)
Streaming.RequestModel(421)
Streaming.RequestModel(118)

:HEIST1_21653
if or
  not Streaming.HasModelLoaded(118)
  not Streaming.HasModelLoaded(117)
  not Streaming.HasModelLoaded(421)
goto_if_false @HEIST1_21688
wait 0
goto @HEIST1_21653

:HEIST1_21688
184@ = 13
216@ = 9

:HEIST1_21702
if 
  216@ == 9
goto_if_false @HEIST1_22046
34@ = Streaming.GetAreaVisible()
if 
  34@ == 0
goto_if_false @HEIST1_21763
if 
  not Game.IsMinigameInProgress
goto_if_false @HEIST1_21763
Player.SetControl($statbike_temp, True)

:HEIST1_21763
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1918.59, 958.3391, 9.8203, 4.0, 4.0, 2.0, True)
goto_if_false @HEIST1_22046
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HEIST1_21948
Player.SetControl($statbike_temp, False)
if 
  Char.IsStopped($stattreadstamina_ctr)
goto_if_false @HEIST1_21941
213@ = Car.Create(421, 1902.168, 974.9742, 9.8203)
Car.SetHeading(213@, 197.2609)
Car.ChangeColor(213@, 4, 2)
if 
  not Car.IsDead(213@)
goto_if_false @HEIST1_21934
214@ = Char.CreateInsideCar(213@, PedType.Mission2, 117)
212@ = Char.CreateAsPassenger(213@, PedType.Mission2, 118, 1)

:HEIST1_21934
216@ = 15

:HEIST1_21941
goto @HEIST1_22046

:HEIST1_21948
Player.SetControl($statbike_temp, False)
213@ = Car.Create(421, 1902.168, 974.9742, 9.8203)
Car.SetHeading(213@, 197.2609)
Car.ChangeColor(213@, 4, 2)
if 
  not Car.IsDead(213@)
goto_if_false @HEIST1_22039
214@ = Char.CreateInsideCar(213@, PedType.Mission2, 117)
212@ = Char.CreateAsPassenger(213@, PedType.Mission2, 118, 1)

:HEIST1_22039
216@ = 15

:HEIST1_22046
if 
  216@ == 15
goto_if_false @HEIST1_22388
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Camera.DoFade(1000, Fade.Out)

:HEIST1_22085
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_22109
wait 0
goto @HEIST1_22085

:HEIST1_22109
Text.ClearPrints
Car.MarkAsNoLongerNeeded(106@)
World.ClearArea(1913.682, 962.0125, 9.8203, 60.0, True)
World.ClearArea(1903.468, 967.1692, 9.8127, 60.0, True)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(1922.234, 951.8628, 12.2282, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1921.715, 952.7101, 12.1171, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)

:HEIST1_22226
if 
  Camera.GetFadingStatus
goto_if_false @HEIST1_22250
wait 0
goto @HEIST1_22226

:HEIST1_22250
216@ = 17
TIMERA = 0
Char.ClearTasks($stattreadstamina_ctr)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HEIST1_22342
217@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 1913.682, 962.0125, 9.8203, MoveState.Walk, -1)
Sequence.Close(217@)
Char.PerformSequence($stattreadstamina_ctr, 217@)
Sequence.Clear(217@)
goto @HEIST1_22388

:HEIST1_22342
217@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1913.682, 962.0125, 9.8203, MoveState.Walk, -1)
Sequence.Close(217@)
Char.PerformSequence($stattreadstamina_ctr, 217@)
Sequence.Clear(217@)

:HEIST1_22388
if 
  216@ == 17
goto_if_false @HEIST1_22452
if 
  TIMERA > 1000
goto_if_false @HEIST1_22452
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1035)
216@ = 20

:HEIST1_22452
if 
  216@ == 20
goto_if_false @HEIST1_22784
if 
  not Object.Slide($2662, 1903.383, 967.62, 15.438, 0.0, 0.0, 0.02, False)
goto_if_false @HEIST1_22555
  Object.Slide($2662, 1903.383, 967.62, 15.438, 0.0, 0.0, 0.02, False)

:HEIST1_22555
if 
  TIMERA > 4000
goto_if_false @HEIST1_22784
216@ = 30
if 
  not Char.IsDead(214@)
goto_if_false @HEIST1_22784
if 
  not Car.IsDead(213@)
goto_if_false @HEIST1_22784
Task.CarDriveToCoord(214@, 213@, 1909.04, 959.7415, 9.8203, 7.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
Camera.SetFixedPosition(1901.587, 965.5023, 11.8636, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1902.538, 965.246, 11.6931, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 1913.682, 962.0125, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 100.3)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1036)
Char.ClearTasks($stattreadstamina_ctr)
Task.GoStraightToCoord($stattreadstamina_ctr, 1909.887, 962.3391, 9.8203, MoveState.Walk, -1)
TIMERA = 0

:HEIST1_22784
if 
  216@ == 30
goto_if_false @HEIST1_22944
if 
  not Car.IsDead(213@)
goto_if_false @HEIST1_22944
if 
  Car.Locate2D(213@, 1909.04, 959.7415, 3.0, 3.0, False)
goto_if_false @HEIST1_22903
216@ = 35
if 
  not Char.IsDead(212@)
goto_if_false @HEIST1_22889
Task.LookAtChar(212@, $stattreadstamina_ctr, -1)

:HEIST1_22889
308@ = 19
TIMERA = 0

:HEIST1_22903
if 
  TIMERA > 10000
goto_if_false @HEIST1_22944
216@ = 35
write_debug "TEST"
TIMERA = 0

:HEIST1_22944
if 
  216@ == 35
goto_if_false @HEIST1_23002
if 
  TIMERA > 3000
goto_if_false @HEIST1_23002
308@ = 20
216@ = 36
TIMERA = 0

:HEIST1_23002
if 
  216@ == 36
goto_if_false @HEIST1_23150
if 
  TIMERA > 1000
goto_if_false @HEIST1_23150
if 
  not Car.IsDead(213@)
goto_if_false @HEIST1_23150
if 
  not Char.IsDead(214@)
goto_if_false @HEIST1_23150
Char.ClearTasks(214@)
216@ = 37
Task.CarDriveToCoord(214@, 213@, 1905.279, 934.162, 9.8352, 10.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
TIMERA = 0
if 
  not Char.IsDead(212@)
goto_if_false @HEIST1_23150
Task.LookAtChar($stattreadstamina_ctr, 212@, -1)

:HEIST1_23150
if 
  216@ == 37
goto_if_false @HEIST1_23343
if 
  TIMERA > 1000
goto_if_false @HEIST1_23317
if 
  not Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.04, False)
goto_if_false @HEIST1_23272
  Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.04, False)

:HEIST1_23272
if 
  41@ == 0
goto_if_false @HEIST1_23317
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1035)
41@ = 1

:HEIST1_23317
if 
  TIMERA > 3000
goto_if_false @HEIST1_23343
216@ = 40

:HEIST1_23343
if 
  216@ == 40
goto_if_false @HEIST1_23603
if 
  not Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.04, False)
goto_if_false @HEIST1_23446
  Object.Slide($2662, 1903.383, 967.62, 11.438, 0.0, 0.0, 0.04, False)

:HEIST1_23446
215@ = 0
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1036)
if 
  not Char.IsDead(212@)
goto_if_false @HEIST1_23499
Char.ClearTasksImmediately(212@)
Char.Delete(212@)

:HEIST1_23499
if 
  not Char.IsDead(214@)
goto_if_false @HEIST1_23525
Char.ClearTasksImmediately(214@)
Char.Delete(214@)

:HEIST1_23525
Car.Delete(213@)
Hud.SwitchWidescreen(False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Object.SetCoordinates($2662, 1903.383, 967.82, 11.438)
Object.SetHeading($2662, 0.0)
216@ = 45
Text.ClearPrints
goto @HEIST1_23709

:HEIST1_23603
goto @HEIST1_2311

:HEIST1_23610
if 
  not Char.IsDead(54@)
goto_if_false @HEIST1_23639
Char.ClearTasks(54@)
Task.KillCharOnFoot(54@, $stattreadstamina_ctr)

:HEIST1_23639
return 

:HEIST1_23641
226@ = 1
Text.PrintBig('M_FAIL', 8000, TextStyle.Middle)
TIMERB = 0
return 

:HEIST1_23673
if 
  226@ <> 1
goto_if_false @HEIST1_23707
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)

:HEIST1_23707
return 

:HEIST1_23709
$desert2X += 1
Text.PrintWithNumberBig('M_PASSR', 10, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(10)
Stat.RegisterMissionPassed('HEIST_1')
Stat.PlayerMadeProgress(1)
Stat.SetInt(StatId.PassedHeist1, 1)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
return 

:HEIST1_23771
World.SwitchEntryExit('PAPER', False)
$cs1_race_is_go = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST1_23816
Char.ClearTasks($stattreadstamina_ctr)

:HEIST1_23816
Player.ClearWantedLevel($statbike_temp)
if 
  Object.DoesExist($2662)
goto_if_false @HEIST1_23867
Object.SetCoordinates($2662, 1903.383, 967.62, 11.438)
Object.SetHeading($2662, 0.0)

:HEIST1_23867
Hud.SetRadarZoom(0)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST1_23887

:HEIST1_23887
Blip.Remove(155@)
Blip.Remove(156@)
Blip.Remove(157@)
Blip.Remove(158@)
Blip.Remove(160@)
Blip.Remove(163@)
Blip.Remove(161@)
Blip.Remove(164@)
Blip.Remove(165@)
Blip.Remove(166@)
151@ = 1

:HEIST1_23944
if 
  6 > 151@
goto_if_false @HEIST1_23985
Blip.Remove(167@(151@,6i))
151@ += 1
goto @HEIST1_23944

:HEIST1_23985
Pickup.Remove(154@)
World.RemoveAllScriptFires
Particle.Kill(138@)
Particle.Kill(139@)
Particle.Kill(140@)
Particle.Kill(141@)
Particle.Kill(142@)
Particle.Kill(143@)
Particle.Kill(129@)
Particle.Kill(130@)
Particle.Kill(131@)
Particle.Kill(132@)
Particle.Kill(133@)
Particle.Kill(134@)
Particle.Kill(135@)
Particle.Kill(136@)
Particle.Kill(137@)
Weather.SetHeathazeEffect(False)
Streaming.MarkModelAsNoLongerNeeded(57)
Streaming.MarkModelAsNoLongerNeeded(58)
Streaming.MarkModelAsNoLongerNeeded(367)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(12)
Streaming.MarkModelAsNoLongerNeeded(59)
Streaming.MarkModelAsNoLongerNeeded(54)
Streaming.MarkModelAsNoLongerNeeded(401)
Streaming.MarkModelAsNoLongerNeeded(71)
Streaming.MarkModelAsNoLongerNeeded(70)
Streaming.MarkModelAsNoLongerNeeded(147)
Streaming.MarkModelAsNoLongerNeeded(17)
Streaming.MarkModelAsNoLongerNeeded(282)
Streaming.MarkModelAsNoLongerNeeded(275)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(118)
Streaming.MarkModelAsNoLongerNeeded(421)
Streaming.RemoveAnimation("CAMERA")
if 
  226@ == 1
goto_if_false @HEIST1_24203
Restart.OverrideNext(2337.083, 2453.802, 13.9765, 90.7643)
Game.ForceDeathRestart

:HEIST1_24203
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 97---------------
// Originally: Key To Her Heart

:HEIST3
script_name 'HEIST3'
gosub @HEIST3_47
if 
  has_deatharrest_been_executed 
goto_if_false @HEIST3_38
gosub @HEIST3_22985

:HEIST3_38
gosub @HEIST3_23065
terminate_this_script 

:HEIST3_47
Stat.RegisterMissionGiven
Camera.SetFadingColor(0, 0, 0)
$weapon_shop1_blip = 1
Camera.DoFade(2000, Fade.Out)

:HEIST3_71
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_95
wait 0
goto @HEIST3_71

:HEIST3_95
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_138
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)

:HEIST3_138
Player.StoreClothesState
Weather.Force(WeatherType.SunnyVegas)
Streaming.SetAreaVisible(10)
Text.LoadMissionText('HEIST3')
Cutscene.Load('HEIST2A')

:HEIST3_170
if 
  not Cutscene.HasLoaded
goto_if_false @HEIST3_194
wait 0
goto @HEIST3_170

:HEIST3_194
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:HEIST3_203
if 
  not Cutscene.HasFinished
goto_if_false @HEIST3_227
wait 0
goto @HEIST3_203

:HEIST3_227
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:HEIST3_240
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_264
wait 0
goto @HEIST3_240

:HEIST3_264
Cutscene.Clear
Streaming.SetAreaVisible(0)
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:HEIST3_284
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_308
wait 0
goto @HEIST3_284

:HEIST3_308
Weather.Release
Streaming.LoadScene(2030.103, 1020.79, 9.8203)
wait 0
Streaming.RequestCollision(2030.103, 1020.79)
Streaming.LoadScene(2030.103, 1020.79, 9.8203)
Char.SetCoordinates($stattreadstamina_ctr, 2030.103, 1020.79, 9.813)
Char.SetHeading($stattreadstamina_ctr, 277.5123)
Streaming.SetAreaVisible(0)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2016.422, 1017.102, 10.0)
42@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
47@ = 0
48@ = 0
49@ = 0
50@ = 0
51@ = 0
52@ = 0
53@ = 0
54@ = 0
55@ = 0
44@ = 0.0
46@ = 0.0
36@ = 0
$7805 = 0
37@ = 0
38@ = 0
39@ = 0
77@ = 2090.0
78@ = 2074.0
79@ = 11.0
86@ = 2036.929
87@ = 2721.449
88@ = 10.5469
133@ = 0
134@ = 1
135@ = 2
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0
set_var_text_label s$7806[1] = 'HE3_AA'
set_var_text_label s$7806[2] = 'HE3_BA'
set_var_text_label s$7806[3] = 'HE3_BB'
set_var_text_label s$7806[4] = 'HE3_CA'
set_var_text_label s$7806[5] = 'HE3_CB'
set_var_text_label s$7806[6] = 'HE3_CC'
set_var_text_label s$7806[7] = 'HE3_CD'
set_var_text_label s$7806[8] = 'HE3_CE'
set_var_text_label s$7806[9] = 'HE3_CF'
set_var_text_label s$7806[10] = 'HE3_CG'
set_var_text_label s$7806[11] = 'HE3_CH'
set_var_text_label s$7806[12] = 'HE3_DA'
set_var_text_label s$7806[13] = 'HE3_DB'
set_var_text_label s$7806[14] = 'HE3_DC'
set_var_text_label s$7806[15] = 'HE3_DD'
set_var_text_label s$7806[16] = 'HE3_DE'
set_var_text_label s$7806[17] = 'HE3_DF'
set_var_text_label s$7806[18] = 'HE3_DG'
set_var_text_label s$7806[19] = 'HE3_EA'
set_var_text_label s$7806[20] = 'HE3_EB'
set_var_text_label s$7806[21] = 'HE3_EC'
set_var_text_label s$7806[22] = 'HE3_FA'
set_var_text_label s$7806[23] = 'HE3_FB'
set_var_text_label s$7806[24] = 'HE3_FC'
set_var_text_label s$7806[25] = 'HE3_FD'
set_var_text_label s$7806[26] = 'HE3_FE'
set_var_text_label s$7806[27] = 'HE3_FF'
set_var_text_label s$7806[28] = 'HE3_FG'
set_var_text_label s$7806[29] = 'HE3_GA'
set_var_text_label s$7806[30] = 'HE3_GB'
set_var_text_label s$7806[31] = 'HE3_GC'
set_var_text_label s$7806[32] = 'HE3_GD'
set_var_text_label s$7806[33] = 'HE3_GE'
set_var_text_label s$7806[34] = 'HE3_HA'
set_var_text_label s$7806[35] = 'HE3_HB'
set_var_text_label s$7806[36] = 'HE3_HC'
set_var_text_label s$7806[37] = 'HE3_HD'
set_var_text_label s$7806[38] = 'HE3_HE'
set_var_text_label s$7806[39] = 'HE3_HF'
set_var_text_label s$7806[40] = 'HE3_HG'
set_var_text_label s$7806[41] = 'HE3_HH'
set_var_text_label s$7806[42] = 'HE3_HJ'
set_var_text_label s$7806[43] = 'HE3_AB'
set_lvar_int_to_constant 90@ = 18400
set_lvar_int_to_constant 91@ = 18402
set_lvar_int_to_constant 92@ = 18403
set_lvar_int_to_constant 93@ = 18404
set_lvar_int_to_constant 94@ = 18405
set_lvar_int_to_constant 95@ = 18406
set_lvar_int_to_constant 96@ = 18407
set_lvar_int_to_constant 97@ = 18408
set_lvar_int_to_constant 98@ = 18409
set_lvar_int_to_constant 99@ = 18410
set_lvar_int_to_constant 100@ = 18411
set_lvar_int_to_constant 101@ = 18412
set_lvar_int_to_constant 102@ = 18413
set_lvar_int_to_constant 103@ = 18414
set_lvar_int_to_constant 104@ = 18415
set_lvar_int_to_constant 105@ = 18416
set_lvar_int_to_constant 106@ = 18417
set_lvar_int_to_constant 107@ = 18418
set_lvar_int_to_constant 108@ = 18419
set_lvar_int_to_constant 109@ = 18420
set_lvar_int_to_constant 110@ = 18421
set_lvar_int_to_constant 111@ = 18422
set_lvar_int_to_constant 112@ = 18423
set_lvar_int_to_constant 113@ = 18424
set_lvar_int_to_constant 114@ = 18425
set_lvar_int_to_constant 115@ = 18426
set_lvar_int_to_constant 116@ = 18427
set_lvar_int_to_constant 117@ = 18428
set_lvar_int_to_constant 118@ = 18429
set_lvar_int_to_constant 119@ = 18430
set_lvar_int_to_constant 120@ = 18431
set_lvar_int_to_constant 121@ = 18432
set_lvar_int_to_constant 122@ = 18433
set_lvar_int_to_constant 123@ = 18434
set_lvar_int_to_constant 124@ = 65535
set_lvar_int_to_constant 125@ = 65535
set_lvar_int_to_constant 126@ = 65535
set_lvar_int_to_constant 127@ = 65535
set_lvar_int_to_constant 128@ = 65535
set_lvar_int_to_constant 129@ = 65535
set_lvar_int_to_constant 130@ = 65535
set_lvar_int_to_constant 131@ = 65535
set_lvar_int_to_constant 132@ = 18401
set_lvar_int_to_constant 144@ = 20803
set_lvar_int_to_constant 145@ = 20801
set_lvar_int_to_constant 146@ = 20802
set_lvar_int_to_constant 147@ = 20804
148@ = 0
149@ = 0
150@ = 0
72@ = Blip.AddForCoord(2169.0, 1662.0, 11.0)
Camera.SetBehindPlayer
Hud.SwitchWidescreen(True)
Streaming.LoadScene(2030.103, 1020.79, 9.8203)
Camera.DoFade(1000, Fade.In)

:HEIST3_1734
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_1758
wait 0
goto @HEIST3_1734

:HEIST3_1758
skip_cutscene_start_internal @HEIST3_2328

:HEIST3_1765
wait 0
if 
  137@ == 0
goto_if_false @HEIST3_2328
if 
  133@ <> 0
goto_if_false @HEIST3_2058
if 
  136@ == 0
goto_if_false @HEIST3_1851
if 
  Audio.HasMissionAudioLoaded(135@)
goto_if_false @HEIST3_1844
Audio.ClearMissionAudio(135@)

:HEIST3_1844
136@ = 1

:HEIST3_1851
if 
  136@ == 1
goto_if_false @HEIST3_1888
Audio.LoadMissionAudio(134@, 89@(133@,44i))
136@ = 2

:HEIST3_1888
if 
  136@ == 2
goto_if_false @HEIST3_1948
if 
  Audio.HasMissionAudioLoaded(134@)
goto_if_false @HEIST3_1948
Audio.PlayMissionAudio(134@)
Text.PrintNow($7806(133@,44s), 10000, 1)
136@ = 3

:HEIST3_1948
if 
  136@ == 3
goto_if_false @HEIST3_2058
if 
  Audio.HasMissionAudioFinished(134@)
goto_if_false @HEIST3_2058
Text.ClearThisPrint($7806(133@,44s))
if 
  134@ == 1
goto_if_false @HEIST3_2030
134@ = 2
135@ = 1
goto @HEIST3_2044

:HEIST3_2030
134@ = 1
135@ = 2

:HEIST3_2044
133@ = 0
136@ = 0

:HEIST3_2058
switch_start 138@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @HEIST3_2249 {caseNum1} 0 {caseLabel1} @HEIST3_2121 {caseNum2} 1 {caseLabel2} @HEIST3_2165 {caseNum3} -1 {caseLabel3} @HEIST3_2321 {caseNum4} -1 {caseLabel4} @HEIST3_2321 {caseNum5} -1 {caseLabel5} @HEIST3_2321 {caseNum6} -1 {caseLabel6} @HEIST3_2321 {caseNum7} -1 {caseLabel7} @HEIST3_2321

:HEIST3_2121
if 
  136@ == 0
goto_if_false @HEIST3_2158
133@ = 1
138@ = 1
141@ = Clock.GetGameTimer()

:HEIST3_2158
goto @HEIST3_2321

:HEIST3_2165
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_2242
if 
  136@ == 0
goto_if_false @HEIST3_2242
133@ = 43
138@ = 2
141@ = Clock.GetGameTimer()

:HEIST3_2242
goto @HEIST3_2321

:HEIST3_2249
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_2314
if 
  136@ == 0
goto_if_false @HEIST3_2314
137@ = 1

:HEIST3_2314
goto @HEIST3_2321

:HEIST3_2321
goto @HEIST3_1765

:HEIST3_2328
skip_cutscene_end 
if 
  Audio.HasMissionAudioLoaded(134@)
goto_if_false @HEIST3_2351
Audio.ClearMissionAudio(134@)

:HEIST3_2351
Text.ClearPrints
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Text.Print('HEI3_33', 5000, 1)

:HEIST3_2380
wait 0
if 
  48@ == 99999
goto_if_false @HEIST3_2606
68@ = Blip.AddForCoord(0.0, 0.0, 0.0)
71@ = Blip.AddForCoord(0.0, 0.0, 0.0)
69@ = Blip.AddForCoord(0.0, 0.0, 0.0)
70@ = Blip.AddForCoord(0.0, 0.0, 0.0)
56@ = Char.Create(PedType.Mission1, 194, 2191.0, 1679.0, 11.0)
65@ = Car.Create(589, 2175.181, 1695.522, 9.8203)
57@ = Char.Create(PedType.Mission1, 194, 2191.0, 1679.0, 11.0)
66@ = Car.Create(533, 2175.181, 1695.522, 9.8203)
58@ = Char.Create(PedType.Mission1, 194, 2191.0, 1679.0, 11.0)

:HEIST3_2606
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @HEIST3_2635
set_global_var_bit_const $spray_help {n} 5
goto @HEIST3_23003

:HEIST3_2635
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @HEIST3_2739

:HEIST3_2650
if or
  not Streaming.HasModelLoaded(555)
  not Streaming.HasModelLoaded(194)
  not Streaming.HasModelLoaded(589)
goto_if_false @HEIST3_2732
Streaming.RequestModel(589)
Streaming.RequestModel(194)
Streaming.RequestModel(555)
Player.GiveClothesOutsideShop($statbike_temp, "GIMPLEG", "GIMPLEG", BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
wait 0
goto @HEIST3_2650

:HEIST3_2732
47@ = 5

:HEIST3_2739
if 
is_ps2_keyboard_key_pressed 49
goto_if_false @HEIST3_2774
Char.SetCoordinates($stattreadstamina_ctr, 2152.774, 1653.351, 10.0469)

:HEIST3_2774
if 
is_ps2_keyboard_key_pressed 57
goto_if_false @HEIST3_2896
Streaming.RequestModel(321)

:HEIST3_2794
if 
  not Streaming.HasModelLoaded(321)
goto_if_false @HEIST3_2821
wait 0
goto @HEIST3_2794

:HEIST3_2821
Blip.Remove(72@)
Blip.Remove(69@)
Blip.Remove(68@)
Char.Delete(57@)
Car.Delete(66@)
Char.Delete(56@)
Car.Delete(65@)
Char.SetCoordinates($stattreadstamina_ctr, 86@, 87@, 88@)
Blip.Remove(71@)
71@ = Blip.AddForCoord(86@, 87@, 88@)
47@ = 9

:HEIST3_2896
if 
  47@ == 0
goto_if_false @HEIST3_3476
if 
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 2169.0, 1662.0, 11.0, 4.0, 4.0, 4.0, True)
goto_if_false @HEIST3_3476
Blip.Remove(72@)
Player.SetControl($statbike_temp, False)
Camera.DoFade(1500, Fade.Out)

:HEIST3_2981
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_3005
wait 0
goto @HEIST3_2981

:HEIST3_3005
Path.SwitchPedRoadsOff(2096.335, 1656.397, 8.0, 2161.659, 1728.287, 10.0)
Path.SwitchRoadsOff(2096.335, 1656.397, 8.0, 2161.659, 1728.287, 10.0)
Streaming.RequestModel(194)
Streaming.RequestModel(589)
Streaming.RequestModel(111)

:HEIST3_3083
if or
  not Streaming.HasModelLoaded(194)
  not Streaming.HasModelLoaded(111)
  not Streaming.HasModelLoaded(589)
goto_if_false @HEIST3_3119
wait 0
goto @HEIST3_3083

:HEIST3_3119
World.ClearArea(2175.181, 1695.522, 9.8203, 30.0, True)
Car.CustomPlateForNextCar(589, "_SPANK__")
65@ = Car.Create(589, 2175.181, 1695.522, 9.8203)
Car.ChangeColor(65@, 126, 126)
Car.SetCanBurstTires(65@, False)
Car.LockDoors(65@, CarLock.LockoutPlayerOnly)
Car.SetHeading(65@, 66.1016)
56@ = Char.Create(PedType.Mission1, 194, 2191.0, 1679.0, 11.0)
Char.SetDecisionMaker(56@, 42@)
Char.SetAnimGroup(56@, "SEXYWOMAN")
68@ = Blip.AddForChar(56@)
Char.SetHeading(56@, 76.0)
58@ = Char.Create(PedType.Mission2, 111, 2188.1, 1686.4, 10.0)
Char.SetHeading(58@, 78.0)
Char.SetDecisionMaker(58@, 42@)
Hud.SwitchWidescreen(True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HEIST3_3388
67@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetCoordinates(67@, 2174.0, 1662.0, 9.8203)
Car.SetHeading(67@, 27.0)
goto @HEIST3_3418

:HEIST3_3388
Char.SetCoordinates($stattreadstamina_ctr, 2174.0, 1662.0, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 27.0)

:HEIST3_3418
Camera.SetFixedPosition(2191.4, 1677.08, 12.48, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2182.17, 1688.45, 8.05, SwitchType.JumpCut)
47@ = 1

:HEIST3_3476
if 
  47@ == 1
goto_if_false @HEIST3_5104
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_5104
if 
  not Car.IsDead(65@)
goto_if_false @HEIST3_5104
Path.FlushRoute
Path.ExtendRoute(2336.219, 1891.09, 9.7792)
Path.ExtendRoute(2355.281, 2114.817, 9.6719)
Path.ExtendRoute(2171.746, 2149.146, 9.6794)
Path.ExtendRoute(2123.564, 2134.417, 9.6797)
75@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2175.093, 1692.705, 9.8203, MoveState.Walk, 30000)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsDriver(-1, 65@, 20000)
Task.DrivePointRouteAdvanced(-1, 65@, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCarsObeyLights)
Task.CarDriveToCoord(-1, 65@, 2130.536, 2061.717, 9.6875, 20.0, DriveMode.Straightline, 0, DrivingMode.AvoidCarsObeyLights)
Task.CarDriveToCoord(-1, 65@, 2116.264, 2044.594, 9.8125, 20.0, DriveMode.Straightline, 0, DrivingMode.AvoidCarsObeyLights)
Task.CarDriveToCoord(-1, 65@, 2101.0, 2040.0, 9.8203, 20.0, DriveMode.Straightline, 0, DrivingMode.AvoidCarsObeyLights)
Task.CarDriveToCoord(-1, 65@, 2096.0, 2073.0, 9.8203, 20.0, DriveMode.Straightline, 0, DrivingMode.AvoidCarsObeyLights)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)
Camera.DoFade(1500, Fade.In)

:HEIST3_3814
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_3838
wait 0
goto @HEIST3_3814

:HEIST3_3838
Text.ClearPrints
Text.Print('HEI3_01', 7000, 1)
133@ = 0
134@ = 1
135@ = 2
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0
48@ = 0
35@ = 0
TIMERA = 0

:HEIST3_3947
if 
  48@ == 0
goto_if_false @HEIST3_5033
if 
  137@ == 0
goto_if_false @HEIST3_4357
if 
  133@ <> 0
goto_if_false @HEIST3_4290
if 
  136@ == 0
goto_if_false @HEIST3_4047
if 
  Audio.HasMissionAudioLoaded(135@)
goto_if_false @HEIST3_4040
Audio.ClearMissionAudio(135@)

:HEIST3_4040
136@ = 1

:HEIST3_4047
if 
  136@ == 1
goto_if_false @HEIST3_4084
Audio.LoadMissionAudio(134@, 89@(133@,44i))
136@ = 2

:HEIST3_4084
if 
  136@ == 2
goto_if_false @HEIST3_4144
if 
  Audio.HasMissionAudioLoaded(134@)
goto_if_false @HEIST3_4144
Audio.PlayMissionAudio(134@)
Text.PrintNow($7806(133@,44s), 10000, 1)
136@ = 3

:HEIST3_4144
if 
  136@ == 3
goto_if_false @HEIST3_4290
if 
  Audio.HasMissionAudioFinished(134@)
goto_if_false @HEIST3_4290
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_4207
Char.StopFacialTalk(56@)
Char.StartFacialTalk(56@, 3000)

:HEIST3_4207
Text.ClearThisPrint($7806(133@,44s))
if 
  134@ == 1
goto_if_false @HEIST3_4255
134@ = 2
135@ = 1
goto @HEIST3_4269

:HEIST3_4255
134@ = 1
135@ = 2

:HEIST3_4269
133@ = 0
136@ = 0
137@ = 1

:HEIST3_4290
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @HEIST3_4357
if 
  136@ == 0
goto_if_false @HEIST3_4357
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_4350
Char.StopFacialTalk(56@)
Char.StartFacialTalk(56@, 3000)

:HEIST3_4350
133@ = 2

:HEIST3_4357
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST3_4701
48@ = 1
if and
  not Char.IsDead(56@)
  not Car.IsDead(65@)
goto_if_false @HEIST3_4701
if 
  not Char.IsInCar(56@, 65@)
goto_if_false @HEIST3_4429
Char.WarpIntoCar(56@, 65@)

:HEIST3_4429
Car.CloseAllDoors(65@)
Path.FlushRoute
Path.ExtendRoute(2336.219, 1891.09, 9.7792)
Path.ExtendRoute(2355.281, 2114.817, 9.6719)
Path.ExtendRoute(2171.746, 2149.146, 9.6794)
Path.ExtendRoute(2128.564, 2134.417, 9.6797)
75@ = Sequence.Open()
Task.DrivePointRouteAdvanced(-1, 65@, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCarsObeyLights)
Task.CarDriveToCoord(-1, 65@, 2130.536, 2061.717, 9.6875, 20.0, DriveMode.Straightline, 0, DrivingMode.AvoidCarsObeyLights)
Task.CarDriveToCoord(-1, 65@, 2116.264, 2044.594, 9.8125, 20.0, DriveMode.Straightline, 0, DrivingMode.AvoidCarsObeyLights)
Task.CarDriveToCoord(-1, 65@, 2101.0, 2040.0, 9.8203, 20.0, DriveMode.Straightline, 0, DrivingMode.AvoidCarsObeyLights)
Task.CarDriveToCoord(-1, 65@, 2096.0, 2073.0, 9.8203, 20.0, DriveMode.Straightline, 0, DrivingMode.AvoidCarsObeyLights)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)
World.ClearArea(2175.181, 1695.522, 9.8203, 30.0, True)

:HEIST3_4701
if and
  not Char.IsDead(56@)
  not Car.IsDead(65@)
goto_if_false @HEIST3_5015
34@ = Char.GetScriptTaskStatus(56@, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 1
goto_if_false @HEIST3_5008
34@ = Char.GetSequenceProgress(56@)
if 
  Char.LocateAnyMeansCar3D(56@, 65@, 7.0, 7.0, 5.0, False)
goto_if_false @HEIST3_4933
if 
  35@ == 0
goto_if_false @HEIST3_4933
Text.Print('HEI3_02', 5000, 1)
Camera.SetFixedPosition(2182.17, 1694.54, 11.72, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2108.69, 1674.08, -4.6, SwitchType.JumpCut)
if 
  not Char.IsDead(58@)
goto_if_false @HEIST3_4926
Char.ClearTasks(58@)
Task.GoStraightToCoord(58@, 2196.62, 1684.18, 12.41, MoveState.Walk, 30000)

:HEIST3_4926
35@ = 1

:HEIST3_4933
if 
  34@ == 2
goto_if_false @HEIST3_5008
wait 1000
World.ClearArea(2175.181, 1695.522, 9.8203, 30.0, True)
if 
  not Car.IsDead(65@)
goto_if_false @HEIST3_5001
Car.CloseAllDoors(65@)

:HEIST3_5001
48@ = 1

:HEIST3_5008
goto @HEIST3_5022

:HEIST3_5015
48@ = 1

:HEIST3_5022
wait 0
goto @HEIST3_3947

:HEIST3_5033
Text.ClearPrints
Char.MarkAsNoLongerNeeded(58@)
Char.RemoveElegantly(58@)
Streaming.MarkModelAsNoLongerNeeded(111)
Car.MarkAsNoLongerNeeded(67@)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Hud.DisplayCounterWithString($7805, CounterDisplay.Bar, 'HEI3_94')
TIMERB = 0
TIMERA = 0
47@ = 2

:HEIST3_5104
if 
  47@ == 2
goto_if_false @HEIST3_6977
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_6847
if 
  not Car.IsDead(65@)
goto_if_false @HEIST3_6710
34@ = Char.GetScriptTaskStatus(56@, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_5739
World.ClearArea(2096.0, 2073.0, 9.8203, 20.0, True)
Hud.ClearCounter($7805)
ENTEXT_63()
if 
  $played_scipted_airscript_cut == 1
goto_if_false @HEIST3_5609
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearPrints
Car.SetCoordinates(65@, 2095.913, 2074.081, 9.8203)
Car.SetHeading(65@, 4.4441)
Camera.SetFixedPosition(2098.45, 2081.99, 9.88, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2056.37, 2043.26, 26.3, SwitchType.JumpCut)
skip_cutscene_start_internal @HEIST3_5607
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HEIST3_5432
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2088.0, 2076.0, 11.0, 5.0, 5.0, 3.0, False)
goto_if_false @HEIST3_5432
Char.SetCoordinates($stattreadstamina_ctr, 2092.0, 2063.0, 11.0)
Char.SetHeading($stattreadstamina_ctr, 0.0)

:HEIST3_5432
75@ = Sequence.Open()
if 
  Char.IsInAnyCar(56@)
goto_if_false @HEIST3_5457
Task.LeaveAnyCar(-1)

:HEIST3_5457
Task.GoStraightToCoord(-1, 2085.721, 2074.76, 10.0579, MoveState.Walk, -1)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)
48@ = 0
TIMERA = 0

:HEIST3_5512
if 
  48@ == 0
goto_if_false @HEIST3_5607
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_5589
34@ = Char.GetScriptTaskStatus(56@, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_5582
48@ = 1

:HEIST3_5582
goto @HEIST3_5596

:HEIST3_5589
48@ = 1

:HEIST3_5596
wait 0
goto @HEIST3_5512

:HEIST3_5607
skip_cutscene_end 

:HEIST3_5609
if 
  not Car.IsDead(65@)
goto_if_false @HEIST3_5660
Car.SetCoordinates(65@, 2095.913, 2074.081, 9.8203)
Car.SetHeading(65@, 4.4441)
Car.CloseAllDoors(65@)

:HEIST3_5660
Camera.RestoreJumpcut
Blip.Remove(68@)
70@ = Blip.AddForCoord(77@, 78@, 79@)
Char.Delete(56@)
Char.MarkAsNoLongerNeeded(56@)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Text.Print('HEI3_03', 5000, 1)
35@ = 0
47@ = 3
goto @HEIST3_6703

:HEIST3_5739
80@, 81@, 82@ = Char.GetCoordinates($stattreadstamina_ctr)
83@, 84@, 85@ = Char.GetCoordinates(56@)
46@ = Math.GetDistanceBetweenCoords3D(80@, 81@, 82@, 83@, 84@, 85@)
cset_lvar_int_to_lvar_float 36@ =# 46@
if 
  is_int_lvar_equal_to_constant 34@ == 1
goto_if_false @HEIST3_6703
34@ = Char.GetSequenceProgress(56@)
if 
  5 > 34@
goto_if_false @HEIST3_6703
if 
  51@ == 1
goto_if_false @HEIST3_6223
if 
  36@ > 140
goto_if_false @HEIST3_6090
Text.ClearPrints
if 
  36@ > 168
goto_if_false @HEIST3_6074
if 
  not Char.IsOnScreen(56@)
goto_if_false @HEIST3_6051
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_6021
Camera.DoFade(1000, Fade.Out)

:HEIST3_5950
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_5974
wait 0
goto @HEIST3_5950

:HEIST3_5974
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_5997
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_6021
wait 0
goto @HEIST3_5997

:HEIST3_6021
Text.Print('HEI3_16', 5000, 1)
goto @HEIST3_22985
goto @HEIST3_6067

:HEIST3_6051
Text.Print('HEI3_10', 1000, 1)

:HEIST3_6067
goto @HEIST3_6090

:HEIST3_6074
Text.Print('HEI3_10', 1000, 1)

:HEIST3_6090
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 56@, 22.5, 22.5, 20.0, False)
goto_if_false @HEIST3_6165
if 
  TIMERA > 64
goto_if_false @HEIST3_6158
$7805 += 1
TIMERA = 0

:HEIST3_6158
goto @HEIST3_6216

:HEIST3_6165
if 
  TIMERA > 150
goto_if_false @HEIST3_6216
if 
  $7805 > 0
goto_if_false @HEIST3_6209
$7805 -= 1

:HEIST3_6209
TIMERA = 0

:HEIST3_6216
goto @HEIST3_6267

:HEIST3_6223
if 
  51@ == 0
goto_if_false @HEIST3_6267
if 
  TIMERB > 4000
goto_if_false @HEIST3_6267
51@ = 1

:HEIST3_6267
if 
  0 > $7805
goto_if_false @HEIST3_6299
$7805 = 0
goto @HEIST3_6324

:HEIST3_6299
if 
  $7805 > 100
goto_if_false @HEIST3_6324
$7805 = 100

:HEIST3_6324
if 
  $7805 > 10
goto_if_false @HEIST3_6383
if 
  52@ == 0
goto_if_false @HEIST3_6383
Text.PrintNow('HEI3_11', 5000, 1)
52@ = 1

:HEIST3_6383
if 
  $7805 == 100
goto_if_false @HEIST3_6531
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_6508
Text.ClearPrints
Camera.DoFade(1000, Fade.Out)

:HEIST3_6437
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_6461
wait 0
goto @HEIST3_6437

:HEIST3_6461
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_6484
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_6508
wait 0
goto @HEIST3_6484

:HEIST3_6508
Text.PrintNow('HEI3_17', 5000, 1)
goto @HEIST3_22985

:HEIST3_6531
if or
  not Char.IsInCar(56@, 65@)
  Char.IsTouchingVehicle($stattreadstamina_ctr, 65@)
  Car.HasBeenDamagedByChar(65@, $stattreadstamina_ctr)
goto_if_false @HEIST3_6703
$7805 = 100
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_6680
Text.ClearPrints
Camera.DoFade(1000, Fade.Out)

:HEIST3_6609
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_6633
wait 0
goto @HEIST3_6609

:HEIST3_6633
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_6656
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_6680
wait 0
goto @HEIST3_6656

:HEIST3_6680
Text.PrintNow('HEI3_31', 5000, 1)
goto @HEIST3_22985

:HEIST3_6703
goto @HEIST3_6840

:HEIST3_6710
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_6817
Camera.DoFade(1000, Fade.Out)

:HEIST3_6746
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_6770
wait 0
goto @HEIST3_6746

:HEIST3_6770
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_6793
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_6817
wait 0
goto @HEIST3_6793

:HEIST3_6817
Text.Print('HEI3_18', 5000, 1)
goto @HEIST3_22985

:HEIST3_6840
goto @HEIST3_6977

:HEIST3_6847
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_6954
Camera.DoFade(1000, Fade.Out)

:HEIST3_6883
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_6907
wait 0
goto @HEIST3_6883

:HEIST3_6907
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_6930
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_6954
wait 0
goto @HEIST3_6930

:HEIST3_6954
Text.Print('HEI3_14', 5000, 1)
goto @HEIST3_22985

:HEIST3_6977
if 
  47@ == 3
goto_if_false @HEIST3_13413
if 
  Car.IsDead(65@)
goto_if_false @HEIST3_7141
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_7118
Camera.DoFade(1000, Fade.Out)

:HEIST3_7047
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_7071
wait 0
goto @HEIST3_7047

:HEIST3_7071
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_7094
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_7118
wait 0
goto @HEIST3_7094

:HEIST3_7118
Text.Print('HEI3_18', 5000, 1)
goto @HEIST3_22985

:HEIST3_7141
if 
  35@ == 0
goto_if_false @HEIST3_7926
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2086.726, 2074.352, 10.0579, 2.0, 2.0, 3.0, True)
goto_if_false @HEIST3_7926
35@ = 1
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:HEIST3_7228
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_7252
wait 0
goto @HEIST3_7228

:HEIST3_7252
Text.ClearPrints
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2086.726, 2074.352, 5.0579)
Streaming.SetAreaVisible(3)
Streaming.RequestCollision(-100.432, -23.1933)
Streaming.LoadScene(-100.432, -23.1933, 999.7261)
Char.SetCoordinates($stattreadstamina_ctr, -100.432, -23.1933, 999.7261)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Streaming.LoadSpecialCharacter(1, 'CROGRL2')
Streaming.RequestModel(330)
Streaming.RequestModel(249)
Streaming.RequestModel(178)
Streaming.RequestModel(168)
Streaming.RequestModel(101)

:HEIST3_7374
if or
  not Streaming.HasModelLoaded(330)
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @HEIST3_7405
wait 0
goto @HEIST3_7374

:HEIST3_7405
if or
  not Streaming.HasModelLoaded(249)
  not Streaming.HasModelLoaded(178)
  not Streaming.HasModelLoaded(168)
  not Streaming.HasModelLoaded(101)
goto_if_false @HEIST3_7446
wait 0
goto @HEIST3_7405

:HEIST3_7446
59@ = Char.Create(PedType.Mission1, 168, -100.6538, -17.633, 999.7188)
Char.SetHeading(59@, 93.7683)
60@ = Char.Create(PedType.Mission1, 101, -108.0798, -18.0669, 999.7261)
Char.SetHeading(60@, 89.3157)
61@ = Char.Create(PedType.Mission1, 249, -105.6009, -13.6508, 999.7261)
Char.SetHeading(61@, 176.841)
62@ = Char.Create(PedType.Mission1, 178, -103.7278, -24.3711, 999.7261)
Char.SetHeading(62@, 349.7995)
63@ = Char.Create(PedType.Mission1, 178, -104.715, -8.9155, 999.7188)
Char.SetHeading(63@, 179.3188)
56@ = Char.Create(PedType.Special, 290, -113.9837, -8.3695, 999.7812)
Char.SetNeverTargeted(56@, True)
Char.SetHealth(56@, 200)
Char.SetSuffersCriticalHits(56@, False)
Char.SetDecisionMaker(56@, 42@)
Char.SetAnimGroup(56@, "SEXYWOMAN")
Char.SetHeading(56@, 183.0375)
if 
  Streaming.HasAnimationLoaded("CLOTHES")
goto_if_false @HEIST3_7768
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_POSE_TORSO", "CLOTHES", 1000.0, True, False, False, True, -1)

:HEIST3_7768
Blip.Remove(70@)
Blip.Remove(68@)
58@ = Char.Create(PedType.Mission1, 178, -115.8863, -12.0374, 999.7886)
Char.SetAnimGroup(58@, "SEXYWOMAN")
Char.SetDecisionMaker(58@, 42@)
Char.SetHeading(58@, 297.3894)
Char.SetCoordinates($stattreadstamina_ctr, -100.432, -23.1933, 999.7261)
Char.SetHeading($stattreadstamina_ctr, 0.0)
wait 1000
Camera.DoFade(1000, Fade.In)

:HEIST3_7879
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_7903
wait 0
goto @HEIST3_7879

:HEIST3_7903
Player.SetControl($statbike_temp, True)
Text.Print('HEI3_29', 5000, 1)

:HEIST3_7926
if 
  35@ == 1
goto_if_false @HEIST3_13413
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -107.1254, -12.2446, 1000.821, 15.2999, 15.0999, 35.2997, False)
goto_if_false @HEIST3_13283
if 
  not Char.IsDead(62@)
goto_if_false @HEIST3_8060
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 62@, 3.0, 3.0, 3.0, False)
goto_if_false @HEIST3_8060
43@ = Char.SetSayContextImportant(62@, 88, True, False, False)

:HEIST3_8060
if 
  not Char.IsDead(63@)
goto_if_false @HEIST3_8128
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 63@, 3.0, 3.0, 3.0, False)
goto_if_false @HEIST3_8128
43@ = Char.SetSayContextImportant(63@, 109, True, False, False)

:HEIST3_8128
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_13146
if 
  not Char.IsDead(58@)
goto_if_false @HEIST3_13009
if or
  Char.HasBeenDamagedByChar(56@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByChar(58@, $stattreadstamina_ctr)
goto_if_false @HEIST3_8410
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_8294
Camera.DoFade(1000, Fade.Out)

:HEIST3_8223
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_8247
wait 0
goto @HEIST3_8223

:HEIST3_8247
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_8270
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_8294
wait 0
goto @HEIST3_8270

:HEIST3_8294
if and
  not Char.IsDead(56@)
  not Char.IsHeadMissing(56@)
goto_if_false @HEIST3_8387
35@ = Char.GetHealth(56@)
if 
  35@ > 0
goto_if_false @HEIST3_8364
Text.Print('HEI3_31', 5000, 1)
goto @HEIST3_8380

:HEIST3_8364
Text.Print('HEI3_14', 5000, 1)

:HEIST3_8380
goto @HEIST3_8403

:HEIST3_8387
Text.Print('HEI3_14', 5000, 1)

:HEIST3_8403
goto @HEIST3_22985

:HEIST3_8410
if 
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, -109.7757, -12.6704, 999.7188, 1.2, 1.2, 3.1, True)
goto_if_false @HEIST3_13002
World.ClearArea(-107.7856, -12.4046, 999.7812, 50.0, True)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearPrints
Camera.SetFixedPosition(-113.08, -12.39, 1000.76, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-119.54, -8.15, 1001.83, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, -109.7757, -12.6704, 999.7188)
Char.SetHeading($stattreadstamina_ctr, 59.7399)
skip_cutscene_start_internal @HEIST3_12821
133@ = 0
134@ = 1
135@ = 2
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0

:HEIST3_8653
wait 0
if 
  137@ == 0
goto_if_false @HEIST3_9463
if 
  133@ <> 0
goto_if_false @HEIST3_9014
if 
  136@ == 0
goto_if_false @HEIST3_8739
if 
  Audio.HasMissionAudioLoaded(135@)
goto_if_false @HEIST3_8732
Audio.ClearMissionAudio(135@)

:HEIST3_8732
136@ = 1

:HEIST3_8739
if 
  136@ == 1
goto_if_false @HEIST3_8776
Audio.LoadMissionAudio(134@, 89@(133@,44i))
136@ = 2

:HEIST3_8776
if 
  136@ == 2
goto_if_false @HEIST3_8836
if 
  Audio.HasMissionAudioLoaded(134@)
goto_if_false @HEIST3_8836
Audio.PlayMissionAudio(134@)
Text.PrintNow($7806(133@,44s), 10000, 1)
136@ = 3

:HEIST3_8836
if 
  136@ == 3
goto_if_false @HEIST3_9014
if 
  Audio.HasMissionAudioFinished(134@)
goto_if_false @HEIST3_8953
Text.ClearThisPrint($7806(133@,44s))
if 
  134@ == 1
goto_if_false @HEIST3_8918
134@ = 2
135@ = 1
goto @HEIST3_8932

:HEIST3_8918
134@ = 1
135@ = 2

:HEIST3_8932
133@ = 0
136@ = 0
goto @HEIST3_9014

:HEIST3_8953
if 
  not Audio.HasMissionAudioLoaded(135@)
goto_if_false @HEIST3_9014
if 
  8 > 133@
goto_if_false @HEIST3_9014
set_lvar_int_to_lvar_int 142@ = 133@
142@ += 1
Audio.LoadMissionAudio(135@, 89@(142@,44i))

:HEIST3_9014
switch_start 138@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @HEIST3_9363 {caseNum1} 0 {caseLabel1} @HEIST3_9077 {caseNum2} 1 {caseLabel2} @HEIST3_9150 {caseNum3} 2 {caseLabel3} @HEIST3_9279 {caseNum4} -1 {caseLabel4} @HEIST3_9456 {caseNum5} -1 {caseLabel5} @HEIST3_9456 {caseNum6} -1 {caseLabel6} @HEIST3_9456 {caseNum7} -1 {caseLabel7} @HEIST3_9456

:HEIST3_9077
if 
  136@ == 0
goto_if_false @HEIST3_9143
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_9124
Char.StopFacialTalk(56@)
Char.StartFacialTalk(56@, 3000)

:HEIST3_9124
133@ = 4
138@ = 1
141@ = Clock.GetGameTimer()

:HEIST3_9143
goto @HEIST3_9456

:HEIST3_9150
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_9272
if 
  136@ == 0
goto_if_false @HEIST3_9272
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_9229
Char.StopFacialTalk(56@)

:HEIST3_9229
if 
  not Char.IsDead(58@)
goto_if_false @HEIST3_9253
Char.StartFacialTalk(58@, 3000)

:HEIST3_9253
133@ = 5
138@ = 2
141@ = Clock.GetGameTimer()

:HEIST3_9272
goto @HEIST3_9456

:HEIST3_9279
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_9356
if 
  136@ == 0
goto_if_false @HEIST3_9356
133@ = 6
138@ = 3
141@ = Clock.GetGameTimer()

:HEIST3_9356
goto @HEIST3_9456

:HEIST3_9363
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_9449
if 
  136@ == 0
goto_if_false @HEIST3_9449
if 
  not Char.IsDead(58@)
goto_if_false @HEIST3_9442
Char.StopFacialTalk(58@)

:HEIST3_9442
137@ = 1

:HEIST3_9449
goto @HEIST3_9456

:HEIST3_9456
goto @HEIST3_8653

:HEIST3_9463
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_9571
if 
  not Char.IsDead(58@)
goto_if_false @HEIST3_9571
75@ = Sequence.Open()
Task.GoStraightToCoord(-1, -113.8582, -9.7549, 999.7812, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -114.2882, -11.5372, 999.7886, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, 58@)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)

:HEIST3_9571
133@ = 0
134@ = 1
135@ = 2
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0
48@ = 0
35@ = 0
TIMERA = 0

:HEIST3_9662
if 
  48@ == 0
goto_if_false @HEIST3_10222
if 
  137@ == 0
goto_if_false @HEIST3_9997
if 
  133@ <> 0
goto_if_false @HEIST3_9997
if 
  136@ == 0
goto_if_false @HEIST3_9762
if 
  Audio.HasMissionAudioLoaded(135@)
goto_if_false @HEIST3_9755
Audio.ClearMissionAudio(135@)

:HEIST3_9755
136@ = 1

:HEIST3_9762
if 
  136@ == 1
goto_if_false @HEIST3_9799
Audio.LoadMissionAudio(134@, 89@(133@,44i))
136@ = 2

:HEIST3_9799
if 
  136@ == 2
goto_if_false @HEIST3_9859
if 
  Audio.HasMissionAudioLoaded(134@)
goto_if_false @HEIST3_9859
Audio.PlayMissionAudio(134@)
Text.PrintNow($7806(133@,44s), 10000, 1)
136@ = 3

:HEIST3_9859
if 
  136@ == 3
goto_if_false @HEIST3_9997
if 
  Audio.HasMissionAudioFinished(134@)
goto_if_false @HEIST3_9997
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_9914
Char.StopFacialTalk(56@)

:HEIST3_9914
Text.ClearThisPrint($7806(133@,44s))
if 
  134@ == 1
goto_if_false @HEIST3_9962
134@ = 2
135@ = 1
goto @HEIST3_9976

:HEIST3_9962
134@ = 1
135@ = 2

:HEIST3_9976
133@ = 0
136@ = 0
137@ = 1

:HEIST3_9997
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_10204
34@ = Char.GetScriptTaskStatus(56@, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_10074
if 
  136@ == 0
goto_if_false @HEIST3_10067
48@ = 1

:HEIST3_10067
goto @HEIST3_10197

:HEIST3_10074
if 
  35@ == 0
goto_if_false @HEIST3_10197
if 
  is_int_lvar_equal_to_constant 34@ == 1
goto_if_false @HEIST3_10197
34@ = Char.GetSequenceProgress(56@)
if 
  34@ == 2
goto_if_false @HEIST3_10197
if 
  136@ == 0
goto_if_false @HEIST3_10197
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_10183
Char.StopFacialTalk(56@)
Char.StartFacialTalk(56@, 2000)

:HEIST3_10183
133@ = 7
35@ = 1

:HEIST3_10197
goto @HEIST3_10211

:HEIST3_10204
48@ = 1

:HEIST3_10211
wait 0
goto @HEIST3_9662

:HEIST3_10222
if 
  Text.IsMessageBeingDisplayed
goto_if_false @HEIST3_10246
wait 0
goto @HEIST3_10222

:HEIST3_10246
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_10317
75@ = Sequence.Open()
Task.GoStraightToCoord(-1, -112.6415, -12.4015, 999.7812, MoveState.Walk, -1)
Task.AchieveHeading(-1, 247.0)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)

:HEIST3_10317
Camera.SetFixedPosition(-112.15, -11.94, 1001.16, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-123.84, -14.32, 1002.43, SwitchType.JumpCut)
48@ = 0
35@ = 0
TIMERA = 0

:HEIST3_10389
if 
  48@ == 0
goto_if_false @HEIST3_10724
if 
  148@ <> 0
goto_if_false @HEIST3_10603
if 
  149@ == 0
goto_if_false @HEIST3_10469
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_10462
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:HEIST3_10462
149@ = 1

:HEIST3_10469
if 
  149@ == 1
goto_if_false @HEIST3_10505
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 143@(148@,5i))
149@ = 2

:HEIST3_10505
if 
  149@ == 2
goto_if_false @HEIST3_10549
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_10549
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
149@ = 3

:HEIST3_10549
if 
  149@ == 3
goto_if_false @HEIST3_10603
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_10603
148@ = 0
149@ = 0
TIMERA = 0

:HEIST3_10603
if 
  149@ == 0
goto_if_false @HEIST3_10647
if 
  2000 > TIMERA
goto_if_false @HEIST3_10647
148@ = 4

:HEIST3_10647
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_10706
34@ = Char.GetScriptTaskStatus(56@, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_10699
48@ = 1

:HEIST3_10699
goto @HEIST3_10713

:HEIST3_10706
48@ = 1

:HEIST3_10713
wait 0
goto @HEIST3_10389

:HEIST3_10724
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_10756
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Task.UseMobilePhone(56@, True)
wait 2000

:HEIST3_10756
133@ = 0
134@ = 1
135@ = 2
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0

:HEIST3_10826
wait 0
if 
  137@ == 0
goto_if_false @HEIST3_11747
if 
  133@ <> 0
goto_if_false @HEIST3_11208
if 
  136@ == 0
goto_if_false @HEIST3_10912
if 
  Audio.HasMissionAudioLoaded(135@)
goto_if_false @HEIST3_10905
Audio.ClearMissionAudio(135@)

:HEIST3_10905
136@ = 1

:HEIST3_10912
if 
  136@ == 1
goto_if_false @HEIST3_10949
Audio.LoadMissionAudio(134@, 89@(133@,44i))
136@ = 2

:HEIST3_10949
if 
  136@ == 2
goto_if_false @HEIST3_11009
if 
  Audio.HasMissionAudioLoaded(134@)
goto_if_false @HEIST3_11009
Audio.PlayMissionAudio(134@)
Text.PrintNow($7806(133@,44s), 10000, 1)
136@ = 3

:HEIST3_11009
if 
  136@ == 3
goto_if_false @HEIST3_11208
if 
  Audio.HasMissionAudioFinished(134@)
goto_if_false @HEIST3_11147
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_11064
Char.StopFacialTalk(56@)

:HEIST3_11064
Text.ClearThisPrint($7806(133@,44s))
if 
  134@ == 1
goto_if_false @HEIST3_11112
134@ = 2
135@ = 1
goto @HEIST3_11126

:HEIST3_11112
134@ = 1
135@ = 2

:HEIST3_11126
133@ = 0
136@ = 0
goto @HEIST3_11208

:HEIST3_11147
if 
  not Audio.HasMissionAudioLoaded(135@)
goto_if_false @HEIST3_11208
if 
  8 > 133@
goto_if_false @HEIST3_11208
set_lvar_int_to_lvar_int 142@ = 133@
142@ += 1
Audio.LoadMissionAudio(135@, 89@(142@,44i))

:HEIST3_11208
switch_start 138@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @HEIST3_11668 {caseNum1} 0 {caseLabel1} @HEIST3_11271 {caseNum2} 1 {caseLabel2} @HEIST3_11344 {caseNum3} 2 {caseLabel3} @HEIST3_11452 {caseNum4} 3 {caseLabel4} @HEIST3_11560 {caseNum5} -1 {caseLabel5} @HEIST3_11740 {caseNum6} -1 {caseLabel6} @HEIST3_11740 {caseNum7} -1 {caseLabel7} @HEIST3_11740

:HEIST3_11271
if 
  136@ == 0
goto_if_false @HEIST3_11337
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_11318
Char.StopFacialTalk(56@)
Char.StartFacialTalk(56@, 3000)

:HEIST3_11318
133@ = 8
138@ = 1
141@ = Clock.GetGameTimer()

:HEIST3_11337
goto @HEIST3_11740

:HEIST3_11344
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_11445
if 
  136@ == 0
goto_if_false @HEIST3_11445
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_11426
Char.StartFacialTalk(56@, 3000)

:HEIST3_11426
133@ = 9
138@ = 2
141@ = Clock.GetGameTimer()

:HEIST3_11445
goto @HEIST3_11740

:HEIST3_11452
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_11553
if 
  136@ == 0
goto_if_false @HEIST3_11553
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_11534
Char.StartFacialTalk(56@, 2000)

:HEIST3_11534
133@ = 10
138@ = 3
141@ = Clock.GetGameTimer()

:HEIST3_11553
goto @HEIST3_11740

:HEIST3_11560
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_11661
if 
  136@ == 0
goto_if_false @HEIST3_11661
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_11642
Char.StartFacialTalk(56@, 3000)

:HEIST3_11642
133@ = 11
138@ = 4
141@ = Clock.GetGameTimer()

:HEIST3_11661
goto @HEIST3_11740

:HEIST3_11668
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_11733
if 
  136@ == 0
goto_if_false @HEIST3_11733
137@ = 1

:HEIST3_11733
goto @HEIST3_11740

:HEIST3_11740
goto @HEIST3_10826

:HEIST3_11747
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_11804
34@ = Char.GetScriptTaskStatus(56@, 1833)
if 
  not is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_11799
Task.UseMobilePhone(56@, False)

:HEIST3_11799
Streaming.MarkModelAsNoLongerNeeded(330)

:HEIST3_11804
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_11921
75@ = Sequence.Open()
Task.AchieveHeading(-1, 87.0)
Task.GoStraightToCoord(-1, -114.2882, -11.5372, 999.7886, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -113.8582, -9.7549, 999.7812, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -113.9837, -8.3695, 999.7812, MoveState.Walk, -1)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)

:HEIST3_11921
if 
  not Char.IsDead(58@)
goto_if_false @HEIST3_11990
75@ = Sequence.Open()
Task.StandStill(-1, 3000)
Task.GoStraightToCoord(-1, -102.0, -12.0, 1001.0, MoveState.Walk, -1)
Sequence.Close(75@)
Char.PerformSequence(58@, 75@)
Sequence.Clear(75@)

:HEIST3_11990
Camera.SetFixedPosition(-106.63, -11.88, 1001.28, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-120.22, -11.77, 1000.71, SwitchType.JumpCut)
48@ = 0
35@ = 0
TIMERA = 0

:HEIST3_12062
if 
  48@ == 0
goto_if_false @HEIST3_12215
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_12197
34@ = Char.GetScriptTaskStatus(56@, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_12139
48@ = 1
goto @HEIST3_12190

:HEIST3_12139
if 
  is_int_lvar_equal_to_constant 34@ == 1
goto_if_false @HEIST3_12190
34@ = Char.GetSequenceProgress(56@)
if 
  34@ == 3
goto_if_false @HEIST3_12190
48@ = 1

:HEIST3_12190
goto @HEIST3_12204

:HEIST3_12197
48@ = 1

:HEIST3_12204
wait 0
goto @HEIST3_12062

:HEIST3_12215
48@ = 0
148@ = 3
149@ = 0

:HEIST3_12236
if 
  48@ == 0
goto_if_false @HEIST3_12461
if 
  148@ <> 0
goto_if_false @HEIST3_12450
if 
  149@ == 0
goto_if_false @HEIST3_12316
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_12309
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:HEIST3_12309
149@ = 1

:HEIST3_12316
if 
  149@ == 1
goto_if_false @HEIST3_12352
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 143@(148@,5i))
149@ = 2

:HEIST3_12352
if 
  149@ == 2
goto_if_false @HEIST3_12396
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_12396
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
149@ = 3

:HEIST3_12396
if 
  149@ == 3
goto_if_false @HEIST3_12450
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_12450
148@ = 0
149@ = 0
48@ = 1

:HEIST3_12450
wait 0
goto @HEIST3_12236

:HEIST3_12461
Camera.DoFade(1500, Fade.Out)

:HEIST3_12468
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_12492
wait 0
goto @HEIST3_12468

:HEIST3_12492
Char.Delete(56@)
Char.MarkAsNoLongerNeeded(56@)
56@ = Char.Create(PedType.Mission1, 194, -100.3376, -20.1905, 999.7812)
Char.SetDecisionMaker(56@, 42@)
Char.SetAnimGroup(56@, "SEXYWOMAN")
Char.SetHeading(56@, 183.4416)
Camera.SetFixedPosition(-101.69, -20.2, 1000.67, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-84.83, -44.52, 1005.63, SwitchType.JumpCut)
Camera.DoFade(1500, Fade.In)

:HEIST3_12619
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_12643
wait 0
goto @HEIST3_12619

:HEIST3_12643
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_12705
75@ = Sequence.Open()
Task.GoStraightToCoord(-1, -100.2427, -24.2149, 999.7886, MoveState.Walk, -1)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)

:HEIST3_12705
48@ = 0
35@ = 0
TIMERA = 0

:HEIST3_12726
if 
  48@ == 0
goto_if_false @HEIST3_12821
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_12803
34@ = Char.GetScriptTaskStatus(56@, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_12796
48@ = 1

:HEIST3_12796
goto @HEIST3_12810

:HEIST3_12803
48@ = 1

:HEIST3_12810
wait 0
goto @HEIST3_12726

:HEIST3_12821
skip_cutscene_end 
Audio.ClearMissionAudio(134@)
Audio.ClearMissionAudio(135@)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Camera.DoFade(500, Fade.In)

:HEIST3_12846
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_12870
wait 0
goto @HEIST3_12846

:HEIST3_12870
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
64@ = Pickup.Create(#CLOTHESP, PickupType.Once, -114.6156, -8.6308, 1000.713)
73@ = Blip.AddForPickup(64@)
Blip.SetEntryExit(73@, 2090.0, 2074.0, 10.0)
Text.Print('HEI3_04', 5000, 1)
Char.MarkAsNoLongerNeeded(56@)
Char.MarkAsNoLongerNeeded(58@)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.UnloadSpecialCharacter(1)
Char.Delete(58@)
Char.Delete(56@)
Streaming.RequestModel(555)
35@ = 0
47@ = 4

:HEIST3_13002
goto @HEIST3_13139

:HEIST3_13009
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_13116
Camera.DoFade(1000, Fade.Out)

:HEIST3_13045
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_13069
wait 0
goto @HEIST3_13045

:HEIST3_13069
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_13092
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_13116
wait 0
goto @HEIST3_13092

:HEIST3_13116
Text.Print('HEI3_31', 5000, 1)
goto @HEIST3_22985

:HEIST3_13139
goto @HEIST3_13276

:HEIST3_13146
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_13253
Camera.DoFade(1000, Fade.Out)

:HEIST3_13182
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_13206
wait 0
goto @HEIST3_13182

:HEIST3_13206
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_13229
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_13253
wait 0
goto @HEIST3_13229

:HEIST3_13253
Text.Print('HEI3_14', 5000, 1)
goto @HEIST3_22985

:HEIST3_13276
goto @HEIST3_13413

:HEIST3_13283
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_13390
Camera.DoFade(1000, Fade.Out)

:HEIST3_13319
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_13343
wait 0
goto @HEIST3_13319

:HEIST3_13343
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_13366
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_13390
wait 0
goto @HEIST3_13366

:HEIST3_13390
Text.Print('HEI3_16', 5000, 1)
goto @HEIST3_22985

:HEIST3_13413
if 
  47@ == 4
goto_if_false @HEIST3_14396
if 
  50@ == 0
goto_if_false @HEIST3_14311
if 
  35@ == 0
goto_if_false @HEIST3_13478
World.DisableAllEntryExits(True)
35@ = 1

:HEIST3_13478
if 
  Pickup.HasBeenCollected(64@)
goto_if_false @HEIST3_14304
Pickup.Remove(64@)
Text.ClearPrints
$flag_1st_time_nitro_shop = Player.StoreScore($statbike_temp)
if 
  $flag_1st_time_nitro_shop >= 200
goto_if_false @HEIST3_13543
Player.AddScore($statbike_temp, -200)
goto @HEIST3_13576

:HEIST3_13543
if 
  $flag_1st_time_nitro_shop > 0
goto_if_false @HEIST3_13576
$flag_1st_time_nitro_shop *= -1
Player.AddScore($statbike_temp, $flag_1st_time_nitro_shop)

:HEIST3_13576
Player.SetControl($statbike_temp, False)
Audio.SetMusicDoesFade(False)
Camera.DoFade(1500, Fade.Out)

:HEIST3_13594
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_13618
wait 0
goto @HEIST3_13594

:HEIST3_13618
Hud.SwitchWidescreen(True)
Blip.Remove(73@)
Player.StoreClothesState
53@ = 1
Player.GiveClothesOutsideShop($statbike_temp, "GIMPLEG", "GIMPLEG", BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
48@ = 0
148@ = 1
149@ = 0

:HEIST3_13687
if 
  48@ == 0
goto_if_false @HEIST3_13912
if 
  148@ <> 0
goto_if_false @HEIST3_13901
if 
  149@ == 0
goto_if_false @HEIST3_13767
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_13760
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:HEIST3_13760
149@ = 1

:HEIST3_13767
if 
  149@ == 1
goto_if_false @HEIST3_13803
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 143@(148@,5i))
149@ = 2

:HEIST3_13803
if 
  149@ == 2
goto_if_false @HEIST3_13847
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_13847
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
149@ = 3

:HEIST3_13847
if 
  149@ == 3
goto_if_false @HEIST3_13901
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_13901
148@ = 0
149@ = 0
48@ = 1

:HEIST3_13901
wait 0
goto @HEIST3_13687

:HEIST3_13912
Camera.SetFixedPosition(-111.19, -12.67, 1002.69, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-124.89, -3.78, 997.61, SwitchType.JumpCut)
World.ClearArea(-113.9837, -8.3695, 999.7812, 20.0, True)
Char.SetCoordinates($stattreadstamina_ctr, -113.9837, -8.3695, 999.7812)
Char.SetHeading($stattreadstamina_ctr, 183.0)
Camera.DoFade(1000, Fade.In)

:HEIST3_14024
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_14048
wait 0
goto @HEIST3_14024

:HEIST3_14048
Audio.SetMusicDoesFade(True)
74@ = Sequence.Open()
Task.StandStill(-1, 1000)
Task.GoStraightToCoord(-1, -113.8582, -9.7549, 999.7812, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, -114.2882, -11.5372, 999.7886, MoveState.Walk, -1)
Task.AchieveHeading(-1, 252.0)
Task.ScratchHead(-1)
Sequence.Close(74@)
Char.PerformSequence($stattreadstamina_ctr, 74@)
Sequence.Clear(74@)
48@ = 0

:HEIST3_14148
if 
  48@ == 0
goto_if_false @HEIST3_14243
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST3_14225
34@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_14218
48@ = 1

:HEIST3_14218
goto @HEIST3_14232

:HEIST3_14225
48@ = 1

:HEIST3_14232
wait 0
goto @HEIST3_14148

:HEIST3_14243
World.DisableAllEntryExits(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Text.Print('HEI3_30', 5000, 1)
Blip.Remove(70@)
70@ = Blip.AddForCoord(77@, 78@, 79@)
50@ = 1

:HEIST3_14304
goto @HEIST3_14396

:HEIST3_14311
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -100.5496, -24.1101, 999.7886, 1.3, 1.3, 50.0, False)
goto_if_false @HEIST3_14366
47@ = 5

:HEIST3_14366
35@ = Streaming.GetAreaVisible()
if 
  35@ == 0
goto_if_false @HEIST3_14396
47@ = 5

:HEIST3_14396
if 
  47@ == 5
goto_if_false @HEIST3_16063
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:HEIST3_14428
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_14452
wait 0
goto @HEIST3_14428

:HEIST3_14452
Blip.Remove(70@)
Char.MarkAsNoLongerNeeded(58@)
Char.MarkAsNoLongerNeeded(59@)
Char.MarkAsNoLongerNeeded(60@)
Char.MarkAsNoLongerNeeded(61@)
Char.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(63@)
Streaming.MarkModelAsNoLongerNeeded(249)
Streaming.MarkModelAsNoLongerNeeded(178)
Streaming.MarkModelAsNoLongerNeeded(168)
Streaming.MarkModelAsNoLongerNeeded(101)
Streaming.SetAreaVisible(0)
Streaming.RequestModel(162)
Streaming.RequestModel(321)
Streaming.RequestModel(555)

:HEIST3_14525
if or
  not Streaming.HasModelLoaded(162)
  not Streaming.HasModelLoaded(321)
  not Streaming.HasModelLoaded(555)
goto_if_false @HEIST3_14562
wait 0
goto @HEIST3_14525

:HEIST3_14562
Streaming.LoadScene(2085.12, 2077.086, 15.8434)
World.ClearArea(2105.957, 2039.186, 9.8203, 6.0, True)
World.ClearArea(2093.913, 2047.081, 9.8203, 6.0, True)
World.ClearArea(2093.913, 2055.081, 9.8203, 6.0, True)
World.ClearArea(2093.913, 2060.081, 9.8203, 6.0, True)
World.ClearArea(2093.913, 2065.081, 9.8203, 6.0, True)
World.ClearArea(2093.913, 2070.081, 9.8203, 6.0, True)
World.ClearArea(2088.827, 2076.001, 9.8203, 12.0, True)
67@ = Car.Create(555, 2103.957, 2073.186, 9.8203)
Car.SetHeading(67@, 270.8618)
Car.MarkAsNoLongerNeeded(67@)
Streaming.MarkModelAsNoLongerNeeded(555)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, -100.3132, -25.1503, 20.0)
Char.SetCoordinates($stattreadstamina_ctr, 2085.12, 2077.086, 15.8434)
Char.SetHeading($stattreadstamina_ctr, 268.8011)
Streaming.SetAreaVisible(0)
56@ = Char.Create(PedType.Mission1, 194, 2085.721, 2074.76, 10.0579)
Char.SetDecisionMaker(56@, 42@)
Char.SetAnimGroup(56@, "SEXYWOMAN")
68@ = Blip.AddForChar(56@)
Char.SetHeading(56@, 271.0)
Path.FlushRoute
Path.ExtendRoute(2037.671, 2743.196, 9.6875)
Car.Delete(65@)
Car.MarkAsNoLongerNeeded(65@)
Car.CustomPlateForNextCar(589, "_SPANK__")
65@ = Car.Create(589, 2095.913, 2074.081, 9.8203)
Car.ChangeColor(65@, 126, 126)
Car.SetCanBurstTires(65@, False)
Car.LockDoors(65@, CarLock.LockoutPlayerOnly)
if 
  not Car.IsDead(65@)
goto_if_false @HEIST3_15115
Car.SetCoordinates(65@, 2095.913, 2074.081, 9.8203)
Car.SetHeading(65@, 4.444)
Car.SetHealth(65@, 1000)
75@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2093.418, 2073.646, 9.8203, MoveState.Walk, -1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsDriver(-1, 65@, 20000)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)

:HEIST3_15115
Text.ClearPrints
Text.Print('HEI3_09', 5000, 1)
Camera.SetFixedPosition(2098.5, 2076.12, 11.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2075.2, 2067.39, 7.26, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Camera.DoFade(1500, Fade.In)

:HEIST3_15195
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_15219
wait 0
goto @HEIST3_15195

:HEIST3_15219
49@ = 0
48@ = 0
35@ = 0
TIMERA = 0

:HEIST3_15247
if 
  48@ == 0
goto_if_false @HEIST3_15378
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST3_15296
48@ = 1
49@ = 1

:HEIST3_15296
if and
  not Char.IsDead(56@)
  not Car.IsDead(65@)
goto_if_false @HEIST3_15360
34@ = Char.GetScriptTaskStatus(56@, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_15353
48@ = 1

:HEIST3_15353
goto @HEIST3_15367

:HEIST3_15360
48@ = 1

:HEIST3_15367
wait 0
goto @HEIST3_15247

:HEIST3_15378
if 
  49@ == 0
goto_if_false @HEIST3_15631
Streaming.RequestCarRecording(803)

:HEIST3_15401
if 
  not Streaming.HasCarRecordingBeenLoaded(803)
goto_if_false @HEIST3_15428
wait 0
goto @HEIST3_15401

:HEIST3_15428
if 
  not Car.IsDead(65@)
goto_if_false @HEIST3_15452
Car.StartPlayback(65@, 803)

:HEIST3_15452
Streaming.LoadSceneInDirection(2084.08, 2068.62, 11.22, 206.8418)
Camera.SetFixedPosition(2088.506, 2079.985, 10.6126, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2088.675, 2079.0, 10.5742, SwitchType.JumpCut)
48@ = 0

:HEIST3_15532
if 
  48@ == 0
goto_if_false @HEIST3_15631
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST3_15581
49@ = 1
48@ = 1

:HEIST3_15581
if 
  not Car.IsDead(65@)
goto_if_false @HEIST3_15620
if 
  not Car.IsPlaybackGoingOn(65@)
goto_if_false @HEIST3_15620
48@ = 1

:HEIST3_15620
wait 0
goto @HEIST3_15532

:HEIST3_15631
Streaming.RemoveCarRecording(803)
Text.ClearPrints
if 
  49@ == 1
goto_if_false @HEIST3_15734
if and
  not Car.IsDead(65@)
  not Char.IsDead(56@)
goto_if_false @HEIST3_15734
if 
  not Char.IsInCar(56@, 65@)
goto_if_false @HEIST3_15704
Char.WarpIntoCar(56@, 65@)

:HEIST3_15704
Car.SetCoordinates(65@, 2109.004, 2039.756, 9.8125)
Car.SetHeading(65@, 269.4456)

:HEIST3_15734
if 
  not Car.IsDead(65@)
goto_if_false @HEIST3_15769
Car.CloseAllDoors(65@)
Car.LockDoors(65@, CarLock.ForceShutDoors)
Car.LockDoors(65@, CarLock.LockoutPlayerOnly)

:HEIST3_15769
Char.SetCoordinates($stattreadstamina_ctr, 2089.653, 2083.562, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 223.4858)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
$7805 = 0
Hud.DisplayCounterWithString($7805, CounterDisplay.Bar, 'HEI3_94')
Path.FlushRoute
Path.ExtendRoute(2123.365, 2030.273, 9.6719)
Path.ExtendRoute(2038.803, 2023.952, 9.6875)
Path.ExtendRoute(1929.384, 2175.129, 9.7972)
Path.ExtendRoute(1931.512, 2385.797, 9.6719)
Path.ExtendRoute(2029.426, 2417.225, 9.7143)
Path.ExtendRoute(2045.03, 2745.491, 9.6719)
Path.ExtendRoute(2035.317, 2737.322, 9.6719)
Path.ExtendRoute(2035.338, 2726.573, 9.8281)
if and
  not Car.IsDead(65@)
  not Char.IsDead(56@)
goto_if_false @HEIST3_16035
75@ = Sequence.Open()
Task.DrivePointRouteAdvanced(-1, 65@, 20.0, DriveMode.Normal, 0, DrivingMode.AvoidCarsObeyLights)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)

:HEIST3_16035
TIMERA = 0
TIMERB = 0
51@ = 0
47@ = 6

:HEIST3_16063
if 
  47@ == 6
goto_if_false @HEIST3_18150
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_18020
if 
  not Car.IsDead(65@)
goto_if_false @HEIST3_17883
34@ = Char.GetScriptTaskStatus(56@, 1560)
if 
  55@ == 0
goto_if_false @HEIST3_17229
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2037.891, 2749.534, 9.8125, 40.0, 40.0, 4.0, False)
goto_if_false @HEIST3_16227
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2037.891, 2749.534, 9.8125, 4.0, 4.0, 4.0, True)

:HEIST3_16227
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_16302
Blip.Remove(68@)
68@ = Blip.AddForCoord(2038.836, 2749.803, 9.8203)
Text.ClearPrints
Text.Print('HEI3_96', 5000, 1)
55@ = 1
goto @HEIST3_17222

:HEIST3_16302
80@, 81@, 82@ = Char.GetCoordinates($stattreadstamina_ctr)
83@, 84@, 85@ = Char.GetCoordinates(56@)
46@ = Math.GetDistanceBetweenCoords3D(80@, 81@, 82@, 83@, 84@, 85@)
cset_lvar_int_to_lvar_float 36@ =# 46@
if 
  36@ > 140
goto_if_false @HEIST3_16591
Text.ClearPrints
if 
  36@ > 168
goto_if_false @HEIST3_16575
if 
  not Char.IsOnScreen(56@)
goto_if_false @HEIST3_16552
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_16522
Camera.DoFade(1000, Fade.Out)

:HEIST3_16451
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_16475
wait 0
goto @HEIST3_16451

:HEIST3_16475
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_16498
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_16522
wait 0
goto @HEIST3_16498

:HEIST3_16522
Text.Print('HEI3_16', 5000, 1)
goto @HEIST3_22985
goto @HEIST3_16568

:HEIST3_16552
Text.Print('HEI3_10', 1000, 1)

:HEIST3_16568
goto @HEIST3_16591

:HEIST3_16575
Text.Print('HEI3_10', 1000, 1)

:HEIST3_16591
if 
  51@ == 1
goto_if_false @HEIST3_16742
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 56@, 22.5, 22.5, 2.0, False)
goto_if_false @HEIST3_16684
if 
  TIMERA > 64
goto_if_false @HEIST3_16677
$7805 += 1
TIMERA = 0

:HEIST3_16677
goto @HEIST3_16735

:HEIST3_16684
if 
  TIMERA > 150
goto_if_false @HEIST3_16735
if 
  $7805 > 0
goto_if_false @HEIST3_16728
$7805 -= 1

:HEIST3_16728
TIMERA = 0

:HEIST3_16735
goto @HEIST3_16786

:HEIST3_16742
if 
  51@ == 0
goto_if_false @HEIST3_16786
if 
  TIMERB > 4000
goto_if_false @HEIST3_16786
51@ = 1

:HEIST3_16786
if 
  0 > $7805
goto_if_false @HEIST3_16818
$7805 = 0
goto @HEIST3_16843

:HEIST3_16818
if 
  $7805 > 100
goto_if_false @HEIST3_16843
$7805 = 100

:HEIST3_16843
if 
  $7805 > 10
goto_if_false @HEIST3_16902
if 
  52@ == 0
goto_if_false @HEIST3_16902
Text.PrintNow('HEI3_11', 5000, 1)
52@ = 1

:HEIST3_16902
if 
  $7805 == 100
goto_if_false @HEIST3_17050
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_17027
Text.ClearPrints
Camera.DoFade(1000, Fade.Out)

:HEIST3_16956
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_16980
wait 0
goto @HEIST3_16956

:HEIST3_16980
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_17003
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_17027
wait 0
goto @HEIST3_17003

:HEIST3_17027
Text.PrintNow('HEI3_17', 5000, 1)
goto @HEIST3_22985

:HEIST3_17050
if or
  not Char.IsInCar(56@, 65@)
  Char.IsTouchingVehicle($stattreadstamina_ctr, 65@)
  Car.HasBeenDamagedByChar(65@, $stattreadstamina_ctr)
goto_if_false @HEIST3_17222
$7805 = 100
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_17199
Text.ClearPrints
Camera.DoFade(1000, Fade.Out)

:HEIST3_17128
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_17152
wait 0
goto @HEIST3_17128

:HEIST3_17152
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_17175
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_17199
wait 0
goto @HEIST3_17175

:HEIST3_17199
Text.PrintNow('HEI3_31', 5000, 1)
goto @HEIST3_22985

:HEIST3_17222
goto @HEIST3_17876

:HEIST3_17229
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2037.891, 2749.534, 9.8125, 4.0, 4.0, 4.0, True)
goto_if_false @HEIST3_17876
Blip.Remove(68@)
World.ClearArea(2034.794, 2724.465, 9.8281, 20.0, True)
Hud.ClearCounter($7805)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearPrints
Car.SetCoordinates(65@, 2035.01, 2725.36, 9.8281)
Car.SetHeading(65@, 184.0343)
Camera.SetFixedPosition(2041.206, 2753.339, 11.9601, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2040.648, 2752.515, 11.8569, SwitchType.JumpCut)
skip_cutscene_start_internal @HEIST3_17626
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_17517
75@ = Sequence.Open()
if 
  Char.IsInAnyCar(56@)
goto_if_false @HEIST3_17453
Task.LeaveAnyCar(-1)

:HEIST3_17453
Task.GoStraightToCoord(-1, 2037.468, 2724.142, 9.8281, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 2037.378, 2721.449, 10.5469, MoveState.Walk, -1)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)

:HEIST3_17517
48@ = 0
TIMERA = 0

:HEIST3_17531
if 
  48@ == 0
goto_if_false @HEIST3_17626
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_17608
34@ = Char.GetScriptTaskStatus(56@, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_17601
48@ = 1

:HEIST3_17601
goto @HEIST3_17615

:HEIST3_17608
48@ = 1

:HEIST3_17615
wait 0
goto @HEIST3_17531

:HEIST3_17626
skip_cutscene_end 
World.ClearArea(1936.196, 2734.011, 9.8203, 2.0, True)
57@ = Char.Create(PedType.Mission2, 162, 1999.788, 2733.692, 9.8203)
Char.SetHeading(57@, 354.8084)
Char.GiveWeapon(57@, WeaponType.Dildo1, 0)
Char.SetCurrentWeapon(57@, WeaponType.Dildo1)
76@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2021.594, 2734.576, 9.8203, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 2029.786, 2730.539, 9.8281, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 2038.505, 2729.846, 9.8281, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 2037.28, 2722.567, 9.8281, MoveState.Walk, -2)
Sequence.Close(76@)
Char.PerformSequence(57@, 76@)
Sequence.Clear(76@)
Camera.RestoreJumpcut
Char.Delete(56@)
Char.MarkAsNoLongerNeeded(56@)
Streaming.MarkModelAsNoLongerNeeded(194)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Text.ClearPrints
Text.Print('HEI3_08', 8000, 1)
37@ = Clock.GetGameTimer()
47@ = 8

:HEIST3_17876
goto @HEIST3_18013

:HEIST3_17883
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_17990
Camera.DoFade(1000, Fade.Out)

:HEIST3_17919
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_17943
wait 0
goto @HEIST3_17919

:HEIST3_17943
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_17966
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_17990
wait 0
goto @HEIST3_17966

:HEIST3_17990
Text.Print('HEI3_18', 5000, 1)
goto @HEIST3_22985

:HEIST3_18013
goto @HEIST3_18150

:HEIST3_18020
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_18127
Camera.DoFade(1000, Fade.Out)

:HEIST3_18056
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_18080
wait 0
goto @HEIST3_18056

:HEIST3_18080
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_18103
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_18127
wait 0
goto @HEIST3_18103

:HEIST3_18127
Text.Print('HEI3_14', 5000, 1)
goto @HEIST3_22985

:HEIST3_18150
if 
  47@ == 8
goto_if_false @HEIST3_18675
if 
  not Char.IsDead(57@)
goto_if_false @HEIST3_18631
if 
  Char.LocateAnyMeans3D(57@, 2037.312, 2722.288, 10.8281, 1.2, 1.6, 3.0, False)
goto_if_false @HEIST3_18367
Text.ClearPrints
Char.RemoveElegantly(57@)
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_18344
Camera.DoFade(1000, Fade.Out)

:HEIST3_18273
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_18297
wait 0
goto @HEIST3_18273

:HEIST3_18297
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_18320
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_18344
wait 0
goto @HEIST3_18320

:HEIST3_18344
Text.Print('HEI3_92', 5000, 1)
goto @HEIST3_22985

:HEIST3_18367
34@ = Char.GetScriptTaskStatus(57@, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 1
goto_if_false @HEIST3_18447
34@ = Char.GetSequenceProgress(57@)
if 
  34@ == 2
goto_if_false @HEIST3_18440
Text.ClearPrints
Text.Print('HEI3_93', 5000, 1)

:HEIST3_18440
goto @HEIST3_18624

:HEIST3_18447
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_18624
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 57@, 100.0, 100.0, 20.0, False)
goto_if_false @HEIST3_18624
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_18624
Camera.DoFade(1000, Fade.Out)

:HEIST3_18535
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_18559
wait 0
goto @HEIST3_18535

:HEIST3_18559
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_18582
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_18606
wait 0
goto @HEIST3_18582

:HEIST3_18606
Text.ClearPrints
Text.Print('HEI3_15', 5000, 1)

:HEIST3_18624
goto @HEIST3_18675

:HEIST3_18631
Blip.Remove(69@)
Text.ClearPrints
Text.Print('HEI3_22', 5000, 1)
71@ = Blip.AddForCoord(86@, 87@, 88@)
47@ = 9

:HEIST3_18675
if 
  47@ == 9
goto_if_false @HEIST3_19967
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 2037.307, 2722.106, 10.2989, 1.2, 1.2, 3.0, True)
goto_if_false @HEIST3_19967
Text.ClearPrints
Blip.Remove(71@)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Char.SetCoordinates($stattreadstamina_ctr, 2037.165, 2721.895, 10.2989)
Char.SetHeading($stattreadstamina_ctr, 174.4355)
Camera.SetFixedPosition(2035.66, 2722.75, 11.84, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2039.39, 2717.31, 12.2, SwitchType.JumpCut)
133@ = 0
134@ = 1
135@ = 2
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0
148@ = 2
149@ = 0
150@ = 0

:HEIST3_18931
wait 0
if 
  137@ == 0
goto_if_false @HEIST3_19534
if 
  148@ <> 0
goto_if_false @HEIST3_19156
if 
  149@ == 0
goto_if_false @HEIST3_19015
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_19008
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:HEIST3_19008
149@ = 1

:HEIST3_19015
if 
  149@ == 1
goto_if_false @HEIST3_19051
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 143@(148@,5i))
149@ = 2

:HEIST3_19051
if 
  149@ == 2
goto_if_false @HEIST3_19095
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_19095
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
149@ = 3

:HEIST3_19095
if 
  149@ == 3
goto_if_false @HEIST3_19156
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @HEIST3_19156
148@ = 0
149@ = 0
48@ = 1
TIMERA = 0

:HEIST3_19156
if 
  133@ <> 0
goto_if_false @HEIST3_19455
if 
  136@ == 0
goto_if_false @HEIST3_19220
if 
  Audio.HasMissionAudioLoaded(135@)
goto_if_false @HEIST3_19213
Audio.ClearMissionAudio(135@)

:HEIST3_19213
136@ = 1

:HEIST3_19220
if 
  136@ == 1
goto_if_false @HEIST3_19257
Audio.LoadMissionAudio(134@, 89@(133@,44i))
136@ = 2

:HEIST3_19257
if 
  136@ == 2
goto_if_false @HEIST3_19317
if 
  Audio.HasMissionAudioLoaded(134@)
goto_if_false @HEIST3_19317
Audio.PlayMissionAudio(134@)
Text.PrintNow($7806(133@,44s), 10000, 1)
136@ = 3

:HEIST3_19317
if 
  136@ == 3
goto_if_false @HEIST3_19455
if 
  Audio.HasMissionAudioFinished(134@)
goto_if_false @HEIST3_19455
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_19372
Char.StopFacialTalk(56@)

:HEIST3_19372
Text.ClearThisPrint($7806(133@,44s))
if 
  134@ == 1
goto_if_false @HEIST3_19420
134@ = 2
135@ = 1
goto @HEIST3_19434

:HEIST3_19420
134@ = 1
135@ = 2

:HEIST3_19434
133@ = 0
136@ = 0
137@ = 1

:HEIST3_19455
if 
  136@ == 0
goto_if_false @HEIST3_19527
if 
  149@ == 0
goto_if_false @HEIST3_19527
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_19520
Char.StopFacialTalk(56@)
Char.StartFacialTalk(56@, 3000)

:HEIST3_19520
133@ = 12

:HEIST3_19527
goto @HEIST3_18931

:HEIST3_19534
if 
  Text.IsMessageBeingDisplayed
goto_if_false @HEIST3_19558
wait 0
goto @HEIST3_19534

:HEIST3_19558
Camera.DoFade(1000, Fade.Out)

:HEIST3_19565
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_19589
wait 0
goto @HEIST3_19565

:HEIST3_19589
Streaming.SetAreaVisible(6)
Streaming.LoadSpecialCharacter(1, 'CROGRL2')

:HEIST3_19606
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @HEIST3_19632
wait 0
goto @HEIST3_19606

:HEIST3_19632
Streaming.RequestCollision(344.8872, 305.4298)
Streaming.LoadScene(344.8872, 305.4298, 998.2638)
Hud.DisplayRadar(False)
Char.SetCoordinates($stattreadstamina_ctr, 344.412, 305.033, 998.1484)
Char.SetHeading($stattreadstamina_ctr, 296.283)
Char.MarkAsNoLongerNeeded(57@)
Car.MarkAsNoLongerNeeded(66@)
Car.MarkAsNoLongerNeeded(65@)
Streaming.MarkModelAsNoLongerNeeded(162)
Streaming.MarkModelAsNoLongerNeeded(507)
Streaming.MarkModelAsNoLongerNeeded(589)
Char.ClearTasks($stattreadstamina_ctr)
Text.ClearPrints
56@ = Char.Create(PedType.Special, 290, 349.1921, 308.5705, 998.1484)
Char.SetDecisionMaker(56@, 42@)
Char.SetAreaVisible(56@, 6)
Char.SetAreaVisible($stattreadstamina_ctr, 6)
Char.SetAnimGroup(56@, "SEXYWOMAN")
Char.SetHeading(56@, 147.245)
Camera.SetFixedPosition(348.8104, 310.0784, 999.4993, 0.0, 0.0, 0.0)
Camera.PointAtPoint(348.6377, 309.0935, 999.5004, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 344.412, 305.033, 998.1484)
Char.SetHeading($stattreadstamina_ctr, 296.283)
Char.SetCoordinates(56@, 349.1921, 308.5705, 998.1484)
Char.SetHeading(56@, 147.245)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 56@)
wait 1000
Camera.DoFade(1000, Fade.In)

:HEIST3_19936
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_19960
wait 0
goto @HEIST3_19936

:HEIST3_19960
47@ = 10

:HEIST3_19967
if and
  47@ >= 5
  9 > 47@
goto_if_false @HEIST3_20065
35@ = Streaming.GetAreaVisible()
if 
  35@ == 0
goto_if_false @HEIST3_20065
if 
  not Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_20065
Text.Print('HEI3_34', 5000, 1)
goto @HEIST3_22985

:HEIST3_20065
if 
  47@ == 10
goto_if_false @HEIST3_22141
skip_cutscene_start_internal @HEIST3_22078
Text.ClearPrints
133@ = 0
134@ = 1
135@ = 2
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0

:HEIST3_20162
wait 0
if 
  137@ == 0
goto_if_false @HEIST3_22078
if 
  133@ <> 0
goto_if_false @HEIST3_20523
if 
  136@ == 0
goto_if_false @HEIST3_20248
if 
  Audio.HasMissionAudioLoaded(135@)
goto_if_false @HEIST3_20241
Audio.ClearMissionAudio(135@)

:HEIST3_20241
136@ = 1

:HEIST3_20248
if 
  136@ == 1
goto_if_false @HEIST3_20285
Audio.LoadMissionAudio(134@, 89@(133@,44i))
136@ = 2

:HEIST3_20285
if 
  136@ == 2
goto_if_false @HEIST3_20345
if 
  Audio.HasMissionAudioLoaded(134@)
goto_if_false @HEIST3_20345
Audio.PlayMissionAudio(134@)
Text.PrintNow($7806(133@,44s), 10000, 1)
136@ = 3

:HEIST3_20345
if 
  136@ == 3
goto_if_false @HEIST3_20523
if 
  Audio.HasMissionAudioFinished(134@)
goto_if_false @HEIST3_20462
Text.ClearThisPrint($7806(133@,44s))
if 
  134@ == 1
goto_if_false @HEIST3_20427
134@ = 2
135@ = 1
goto @HEIST3_20441

:HEIST3_20427
134@ = 1
135@ = 2

:HEIST3_20441
133@ = 0
136@ = 0
goto @HEIST3_20523

:HEIST3_20462
if 
  not Audio.HasMissionAudioLoaded(135@)
goto_if_false @HEIST3_20523
if 
  8 > 133@
goto_if_false @HEIST3_20523
set_lvar_int_to_lvar_int 142@ = 133@
142@ += 1
Audio.LoadMissionAudio(135@, 89@(142@,44i))

:HEIST3_20523
switch_start 138@ {numCases} 7 {hasDefaultCase} 1 {defaultLabel} @HEIST3_21978 {caseNum1} 0 {caseLabel1} @HEIST3_20586 {caseNum2} 1 {caseLabel2} @HEIST3_20659 {caseNum3} 2 {caseLabel3} @HEIST3_20874 {caseNum4} 3 {caseLabel4} @HEIST3_20987 {caseNum5} 4 {caseLabel5} @HEIST3_21229 {caseNum6} 5 {caseLabel6} @HEIST3_21413 {caseNum7} 6 {caseLabel7} @HEIST3_21789

:HEIST3_20586
if 
  136@ == 0
goto_if_false @HEIST3_20652
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_20633
Char.StopFacialTalk(56@)
Char.StartFacialTalk(56@, 3000)

:HEIST3_20633
133@ = 13
138@ = 1
141@ = Clock.GetGameTimer()

:HEIST3_20652
goto @HEIST3_22071

:HEIST3_20659
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_20867
if 
  136@ == 0
goto_if_false @HEIST3_20867
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_20819
74@ = Sequence.Open()
Task.LookAtChar(-1, 56@, 20000)
Task.GoStraightToCoord(-1, 347.0207, 306.2751, 998.2088, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 348.2744, 307.7908, 998.204, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, 56@)
Sequence.Close(74@)
Char.PerformSequence($stattreadstamina_ctr, 74@)
Sequence.Clear(74@)

:HEIST3_20819
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_20848
Char.StopFacialTalk(56@)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)

:HEIST3_20848
133@ = 14
138@ = 2
141@ = Clock.GetGameTimer()

:HEIST3_20867
goto @HEIST3_22071

:HEIST3_20874
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_20980
if 
  136@ == 0
goto_if_false @HEIST3_20980
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_20961
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk(56@, 3000)

:HEIST3_20961
133@ = 15
138@ = 3
141@ = Clock.GetGameTimer()

:HEIST3_20980
goto @HEIST3_22071

:HEIST3_20987
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_21222
if 
  136@ == 0
goto_if_false @HEIST3_21222
48@ = 0
35@ = 0
TIMERA = 0

:HEIST3_21066
if 
  48@ == 0
goto_if_false @HEIST3_21174
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_21156
34@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_21149
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @HEIST3_21149
48@ = 1

:HEIST3_21149
goto @HEIST3_21163

:HEIST3_21156
48@ = 1

:HEIST3_21163
wait 0
goto @HEIST3_21066

:HEIST3_21174
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_21203
Char.StopFacialTalk(56@)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)

:HEIST3_21203
133@ = 25
138@ = 4
141@ = Clock.GetGameTimer()

:HEIST3_21222
goto @HEIST3_22071

:HEIST3_21229
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_21406
if 
  136@ == 0
goto_if_false @HEIST3_21406
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_21316
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk(56@, 3000)

:HEIST3_21316
133@ = 21
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_21394
75@ = Sequence.Open()
Task.GoStraightToCoord(-1, 344.6502, 307.6453, 998.1963, MoveState.Walk, -1)
Task.AchieveHeading(-1, 245.3258)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)

:HEIST3_21394
138@ = 5
141@ = Clock.GetGameTimer()

:HEIST3_21406
goto @HEIST3_22071

:HEIST3_21413
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_21782
if 
  136@ == 0
goto_if_false @HEIST3_21782
48@ = 0
35@ = 0

:HEIST3_21485
if 
  48@ == 0
goto_if_false @HEIST3_21734
wait 0
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_21720
34@ = Char.GetScriptTaskStatus(56@, 1560)
if 
  is_int_lvar_equal_to_constant 34@ == 7
goto_if_false @HEIST3_21577
Task.LookAtChar(56@, $stattreadstamina_ctr, 10000)
48@ = 1
goto @HEIST3_21713

:HEIST3_21577
if 
  35@ == 0
goto_if_false @HEIST3_21713
Camera.SetFixedPosition(347.32, 308.43, 999.52, 0.0, 0.0, 0.0)
Camera.PointAtPoint(339.91, 301.08, 998.31, SwitchType.JumpCut)
74@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, 56@)
Task.GoStraightToCoord(-1, 345.7446, 304.2489, 998.1641, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, 56@)
Sequence.Close(74@)
Char.PerformSequence($stattreadstamina_ctr, 74@)
Sequence.Clear(74@)
35@ = 1

:HEIST3_21713
goto @HEIST3_21727

:HEIST3_21720
48@ = 1

:HEIST3_21727
goto @HEIST3_21485

:HEIST3_21734
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_21763
Char.StopFacialTalk(56@)
Char.StartFacialTalk($stattreadstamina_ctr, 3000)

:HEIST3_21763
133@ = 26
138@ = 6
141@ = Clock.GetGameTimer()

:HEIST3_21782
goto @HEIST3_22071

:HEIST3_21789
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_21971
if 
  136@ == 0
goto_if_false @HEIST3_21971
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_21923
75@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.GoStraightToCoord(-1, 345.3145, 305.0605, 998.1641, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(75@)
Char.PerformSequence(56@, 75@)
Sequence.Clear(75@)

:HEIST3_21923
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_21952
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk(56@, 3000)

:HEIST3_21952
133@ = 17
138@ = 7
141@ = Clock.GetGameTimer()

:HEIST3_21971
goto @HEIST3_22071

:HEIST3_21978
140@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 139@ = 140@
sub_int_lvar_from_int_lvar 139@ -= 141@
if 
  139@ > 1000
goto_if_false @HEIST3_22064
if 
  136@ == 0
goto_if_false @HEIST3_22064
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_22057
Char.StopFacialTalk(56@)

:HEIST3_22057
137@ = 1

:HEIST3_22064
goto @HEIST3_22071

:HEIST3_22071
goto @HEIST3_20162

:HEIST3_22078
skip_cutscene_end 
if 
  not Char.IsDead(56@)
goto_if_false @HEIST3_22106
Char.StopFacialTalk(56@)
Char.StopFacialTalk($stattreadstamina_ctr)

:HEIST3_22106
Text.ClearPrints
Char.ClearLookAt($stattreadstamina_ctr)
49@ = 0
40@ = 5
41@ = 1
47@ = 11

:HEIST3_22141
if 
  47@ == 11
goto_if_false @HEIST3_22363
if 
  49@ == 0
goto_if_false @HEIST3_22295
$flag_cat_mission4_passed = StreamedScript.GetNumberOfInstances(26)
if 
  $flag_cat_mission4_passed == 0
goto_if_false @HEIST3_22295
StreamedScript.Stream(26)
if 
  StreamedScript.HasLoaded(26)
goto_if_false @HEIST3_22295
$iGFBonusPickupID = 0
set_global_var_bit_const $iGFBonusPickupID {n} 5
World.DisableAllEntryExits(True)
StreamedScript.StartNew(26, 40@, 41@, 0, 2037.651, 2723.871, 9.8352, 0.0702)
Camera.DoFade(0, Fade.Out)
Char.Delete(56@)
Char.MarkAsNoLongerNeeded(56@)
49@ = 1

:HEIST3_22295
if 
  49@ == 1
goto_if_false @HEIST3_22363
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 4
goto_if_false @HEIST3_22338
54@ = 1

:HEIST3_22338
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 5
goto_if_false @HEIST3_22363
47@ = 12

:HEIST3_22363
if 
  47@ == 12
goto_if_false @HEIST3_22978
Camera.SetFixedPosition(2033.274, 2719.888, 10.2275, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2033.727, 2720.774, 10.3282, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
World.DisableAllEntryExits(False)
skip_cutscene_start_internal @HEIST3_22757
74@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2036.875, 2734.282, 9.8203, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 2029.545, 2735.628, 9.8203, MoveState.Walk, -1)
Sequence.Close(74@)
Char.PerformSequence($stattreadstamina_ctr, 74@)
Sequence.Clear(74@)
if 
  54@ == 1
goto_if_false @HEIST3_22624
Text.ClearHelp
Text.PrintHelpForever('HEI3_95')
133@ = 0
134@ = 1
135@ = 2
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0

:HEIST3_22624
48@ = 0
TIMERA = 0

:HEIST3_22638
if 
  48@ == 0
goto_if_false @HEIST3_22757
if 
  54@ == 1
goto_if_false @HEIST3_22720
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @HEIST3_22713
if 
  TIMERA > 5000
goto_if_false @HEIST3_22713
48@ = 1

:HEIST3_22713
goto @HEIST3_22746

:HEIST3_22720
if 
  TIMERA > 7000
goto_if_false @HEIST3_22746
48@ = 1

:HEIST3_22746
wait 0
goto @HEIST3_22638

:HEIST3_22757
skip_cutscene_end 
Char.ClearTasks($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2029.545, 2735.628, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 68.4474)
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Text.ClearHelp
if 
  54@ == 1
goto_if_false @HEIST3_22848
set_global_var_bit_const $spray_help {n} 5
goto @HEIST3_23003
goto @HEIST3_22978

:HEIST3_22848
Text.ClearPrints
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @HEIST3_22955
Camera.DoFade(1000, Fade.Out)

:HEIST3_22884
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_22908
wait 0
goto @HEIST3_22884

:HEIST3_22908
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:HEIST3_22931
if 
  Camera.GetFadingStatus
goto_if_false @HEIST3_22955
wait 0
goto @HEIST3_22931

:HEIST3_22955
Text.Print('HEI3_24', 5000, 1)
goto @HEIST3_22985

:HEIST3_22978
goto @HEIST3_2380

:HEIST3_22985
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:HEIST3_23003
$desert2X += 1
$flag_player_got_country_clothes = 1
Text.PrintWithNumberBig('M_PASSR', 15, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(15)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('HEIST_3')
Stat.PlayerMadeProgress(1)
return 

:HEIST3_23065
Path.SwitchPedRoadsBackToOriginal(2096.335, 1656.397, 8.0, 2161.659, 1728.287, 10.0)
Path.SwitchRoadsBackToOriginal(2096.335, 1656.397, 8.0, 2161.659, 1728.287, 10.0)
StreamedScript.MarkAsNoLongerNeeded(26)
$flag_courier_mission_passed = Clock.GetGameTimer()
Hud.ClearCounter($7805)
Hud.DisplayRadar(True)
World.DisableAllEntryExits(False)
Streaming.MarkModelAsNoLongerNeeded(249)
Streaming.MarkModelAsNoLongerNeeded(178)
Streaming.MarkModelAsNoLongerNeeded(168)
Streaming.MarkModelAsNoLongerNeeded(101)
Streaming.MarkModelAsNoLongerNeeded(194)
Streaming.MarkModelAsNoLongerNeeded(589)
Streaming.MarkModelAsNoLongerNeeded(162)
Streaming.MarkModelAsNoLongerNeeded(111)
Streaming.MarkModelAsNoLongerNeeded(555)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(321)
if 
  not Car.IsDead(65@)
goto_if_false @HEIST3_23227
Car.LockDoors(65@, CarLock.Unlocked)

:HEIST3_23227
Car.MarkAsNoLongerNeeded(65@)
Car.MarkAsNoLongerNeeded(67@)
Char.MarkAsNoLongerNeeded(59@)
Char.MarkAsNoLongerNeeded(60@)
Char.MarkAsNoLongerNeeded(61@)
Char.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(63@)
Char.RemoveElegantly(56@)
Char.MarkAsNoLongerNeeded(56@)
Char.MarkAsNoLongerNeeded(58@)
Pickup.Remove(64@)
Blip.Remove(68@)
Blip.Remove(70@)
Blip.Remove(72@)
Blip.Remove(73@)
Streaming.RemoveCarRecording(803)
Streaming.UnloadSpecialCharacter(1)
DecisionMaker.Remove(42@)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 98---------------
// Originally: Dam And Blast

:HEIST2
script_name 'HEIST2'
gosub @HEIST2_47
if 
  has_deatharrest_been_executed 
goto_if_false @HEIST2_38
gosub @HEIST2_18779

:HEIST2_38
gosub @HEIST2_18847
terminate_this_script 

:HEIST2_47
Text.LoadMissionText('HEIST2')
Stat.RegisterMissionGiven
Camera.SetFadingColor(0, 0, 0)
$weapon_shop1_blip = 1
Camera.DoFade(2000, Fade.Out)

:HEIST2_82
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_106
wait 0
goto @HEIST2_82

:HEIST2_106
Streaming.SetAreaVisible(10)
Weather.Force(WeatherType.SunnyVegas)
Cutscene.Load('HEIST4A')

:HEIST2_125
if 
  not Cutscene.HasLoaded
goto_if_false @HEIST2_149
wait 0
goto @HEIST2_125

:HEIST2_149
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:HEIST2_158
if 
  not Cutscene.HasFinished
goto_if_false @HEIST2_182
wait 0
goto @HEIST2_158

:HEIST2_182
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)
Streaming.LoadScene(2030.103, 1020.79, 9.8203)

:HEIST2_212
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_236
wait 0
goto @HEIST2_212

:HEIST2_236
Cutscene.Clear
Weather.Release
Streaming.SetAreaVisible(0)
wait 0
Streaming.RequestCollision(2030.103, 1020.79)
Streaming.LoadScene(2030.103, 1020.79, 9.8203)
Char.SetCoordinates($stattreadstamina_ctr, 2030.103, 1020.79, 9.813)
Char.SetHeading($stattreadstamina_ctr, 277.5123)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2016.422, 1017.102, 10.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
152@ = Blip.AddForCoord(1717.017, 1602.497, 9.3368)
Blip.SetAsFriendly(152@, True)
Streaming.RequestAnimation("BOMBER")

:HEIST2_368
if 
  not Streaming.HasAnimationLoaded("BOMBER")
goto_if_false @HEIST2_400
wait 0
goto @HEIST2_368

:HEIST2_400
Camera.SetFadingColor(0, 0, 0)
Hud.SwitchWidescreen(False)
38@ = DecisionMakerChar.Load(DecisionMakerType.Steal)
Streaming.LoadScene(2030.103, 1020.79, 9.8203)
Camera.DoFade(1500, Fade.In)

:HEIST2_443
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_467
wait 0
goto @HEIST2_443

:HEIST2_467
Player.SetControl($statbike_temp, True)
Text.Print('HEI2_90', 10000, 1)
105@ = 0
107@ = 0
106@ = 0
119@ = 0
121@ = 0
122@ = 0
124@ = 0
132@ = 0
125@ = 0
133@ = 0
137@ = 0
138@ = 0
136@ = 0
139@ = 0
123@ = 0
36@ = 0

:HEIST2_602
if 
  6 > 36@
goto_if_false @HEIST2_674
113@(36@,6i) = 0
if 
  5 > 36@
goto_if_false @HEIST2_660
108@(36@,5i) = 0

:HEIST2_660
36@ += 1
goto @HEIST2_602

:HEIST2_674
34@ = 0
120@ = 0
35@ = 1
36@ = 0
37@ = 0
47@ = -955.7253
53@ = 1920.637
59@ = 8.0078
65@ = 294.0869
48@ = -959.8978
54@ = 1861.884
60@ = 8.0078
66@ = 87.9045
49@ = -945.822
55@ = 1868.03
61@ = 4.0051
67@ = 177.415
50@ = -945.5732
56@ = 1911.255
62@ = 4.0
68@ = 183.0188
51@ = -959.6175
57@ = 1858.156
63@ = 8.0078
69@ = 180.4759
52@ = -959.7453
58@ = 1914.674
64@ = 8.0078
70@ = 185.4313
71@ = -955.7253
77@ = 1920.637
83@ = 8.0078
72@ = -959.8978
78@ = 1861.884
84@ = 8.0078
73@ = -943.7589
79@ = 1888.943
85@ = 4.0051
74@ = -943.0214
80@ = 1932.352
86@ = 4.0
75@ = -959.4366
81@ = 1900.022
87@ = 8.0078
76@ = -959.496
82@ = 1936.925
88@ = 8.0061
89@ = -952.56
94@ = 1943.52
99@ = 8.0
90@ = -952.56
95@ = 1922.07
100@ = 8.0
91@ = -952.56
96@ = 1900.44
101@ = 8.0
92@ = -952.56
97@ = 1878.16
102@ = 8.0
93@ = -952.56
98@ = 1857.7
103@ = 8.0
185@ = 0
209@ = 0
210@ = 1
211@ = 2
212@ = 0
213@ = 0
214@ = 0
215@ = 0
216@ = 0
217@ = 0
218@ = 0
42@ = 0
set_lvar_int_to_constant 221@ = 11200
222@ = 0
223@ = 0
224@ = 0
set_var_text_label s$7895[1] = 'HE2_AA'
set_var_text_label s$7895[2] = 'HE2_AB'
set_var_text_label s$7895[3] = 'HE2_AC'
set_var_text_label s$7895[4] = 'HE2_AD'
set_var_text_label s$7895[5] = 'HE2_AE'
set_var_text_label s$7895[6] = 'HE2_AF'
set_var_text_label s$7895[7] = 'HE2_AG'
set_var_text_label s$7895[8] = 'HE2_AH'
set_var_text_label s$7895[9] = 'HE2_AJ'
set_var_text_label s$7895[10] = 'HE2_AK'
set_var_text_label s$7895[11] = 'HE2_AL'
set_var_text_label s$7895[12] = 'HE2_BA'
set_var_text_label s$7895[13] = 'HE2_BB'
set_var_text_label s$7895[14] = 'HE2_CA'
set_var_text_label s$7895[15] = 'HE2_CB'
set_var_text_label s$7895[16] = 'HE2_DA'
set_var_text_label s$7895[17] = 'HE2_DB'
set_lvar_int_to_constant 192@ = 18200
set_lvar_int_to_constant 193@ = 18201
set_lvar_int_to_constant 194@ = 18202
set_lvar_int_to_constant 195@ = 18203
set_lvar_int_to_constant 196@ = 18204
set_lvar_int_to_constant 197@ = 18205
set_lvar_int_to_constant 198@ = 18206
set_lvar_int_to_constant 199@ = 18207
set_lvar_int_to_constant 200@ = 18208
set_lvar_int_to_constant 201@ = 18209
set_lvar_int_to_constant 202@ = 18210
set_lvar_int_to_constant 203@ = 18211
set_lvar_int_to_constant 204@ = 18212
set_lvar_int_to_constant 205@ = 18213
set_lvar_int_to_constant 206@ = 18214
set_lvar_int_to_constant 207@ = 18215
set_lvar_int_to_constant 208@ = 18216
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Mission1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission2, PedType.Mission2)
World.SwitchEntryExit('DAMIN', False)
World.SwitchEntryExit('DAMOUT', False)
wait 1000

:HEIST2_1813
wait 0
if 
is_ps2_keyboard_key_pressed 49
goto_if_false @HEIST2_1852
Char.SetCoordinates($stattreadstamina_ctr, -585.0, 2026.0, 60.0)

:HEIST2_1852
if 
is_ps2_keyboard_key_pressed 50
goto_if_false @HEIST2_1887
Char.SetCoordinates($stattreadstamina_ctr, 1423.657, 1643.182, 9.8359)

:HEIST2_1887
if 
is_ps2_keyboard_key_pressed 51
goto_if_false @HEIST2_1922
Char.SetCoordinates($stattreadstamina_ctr, -828.64, 1971.644, 6.0)

:HEIST2_1922
if 
is_ps2_keyboard_key_pressed 52
goto_if_false @HEIST2_1957
Char.SetCoordinates($stattreadstamina_ctr, -693.98, 1806.81, 800.0)

:HEIST2_1957
if 
is_ps2_keyboard_key_pressed 97
goto_if_false @HEIST2_1993
119@ = 0
125@ = 0
gosub @HEIST2_14797

:HEIST2_1993
if 
is_ps2_keyboard_key_pressed 54
goto_if_false @HEIST2_2015
107@ = 6

:HEIST2_2015
if 
is_ps2_keyboard_key_pressed 55
goto_if_false @HEIST2_2037
123@ = 6

:HEIST2_2037
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @HEIST2_2059
goto @HEIST2_18797

:HEIST2_2059
if 
  107@ == 99999
goto_if_false @HEIST2_2120
154@ = Blip.AddForCoord(0.0, 0.0, 0.0)
155@ = Blip.AddForCoord(0.0, 0.0, 0.0)

:HEIST2_2120
if 
  107@ == 0
goto_if_false @HEIST2_2168
Text.Print('HEI2_90', 7000, 1)
107@ = 1
123@ = 1

:HEIST2_2168
if 
  12 > 123@
goto_if_false @HEIST2_9179
if 
  4 > 123@
goto_if_false @HEIST2_2907
if 
  123@ == 1
goto_if_false @HEIST2_2400
if or
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1477.401, 1677.399, 250.0, 250.0, False)
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1717.017, 1602.497, 20.0, 20.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1477.178, 1639.083, 10.9203, 79.499, 143.0963, 4.9, False)
goto_if_false @HEIST2_2400
Streaming.RequestModel(553)

:HEIST2_2329
if 
  not Streaming.HasModelLoaded(553)
goto_if_false @HEIST2_2356
wait 0
goto @HEIST2_2329

:HEIST2_2356
Game.SetArea51SamSite(False)
168@ = Car.Create(553, 1477.401, 1677.399, 9.8425)
Car.SetHeading(168@, 180.049)
123@ = 2

:HEIST2_2400
if 
  136@ == 0
goto_if_false @HEIST2_2554
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1477.178, 1639.083, 10.9203, 79.499, 143.0963, 4.9, False)
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1717.017, 1602.497, 20.0, 20.0, False)
goto_if_false @HEIST2_2554
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_2554
Blip.Remove(152@)
152@ = Blip.AddForCar(168@)
Blip.SetAsFriendly(152@, True)
Text.ClearPrints
Text.Print('HEI2_57', 7000, 1)
136@ = 1

:HEIST2_2554
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1717.017, 1602.497, 9.3368, 10.0, 10.0, 5.0, False)
goto_if_false @HEIST2_2602

:HEIST2_2602
if 
  123@ > 1
goto_if_false @HEIST2_2679
if 
  4 > 123@
goto_if_false @HEIST2_2679
if 
  Car.IsDead(168@)
goto_if_false @HEIST2_2679
Text.ClearPrints
Text.Print('HEI2_25', 5000, 1)
goto @HEIST2_18779

:HEIST2_2679
if 
  123@ == 2
goto_if_false @HEIST2_2900
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_2900
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 168@)
goto_if_false @HEIST2_2900
Car.LockDoors(168@, CarLock.LockedPlayerInside)
137@ = 1
Camera.SetBehindPlayer
Text.ClearPrints
Text.Print('HEI2_26', 10000, 1)
Blip.Remove(152@)
152@ = Blip.AddForCoord(-592.42, 1555.88, 750.0)
153@ = Checkpoint.Create(CheckpointType.Torus, -592.42, 1555.88, 750.0, -592.42, 1555.88, 750.0, 25.0)
Streaming.RequestModel(371)

:HEIST2_2838
if 
  not Streaming.HasModelLoaded(371)
goto_if_false @HEIST2_2870
Streaming.RequestModel(371)
wait 0
goto @HEIST2_2838

:HEIST2_2870
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Parachute, 1)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
$can_skip_smoking_cutscene = 0
123@ = 3

:HEIST2_2900
goto @HEIST2_2907

:HEIST2_2907
if 
  123@ == 3
goto_if_false @HEIST2_4803
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_4803
if or
  Char.IsSittingInCar($stattreadstamina_ctr, 168@)
  138@ == 1
goto_if_false @HEIST2_4623
if 
  132@ == 1
goto_if_false @HEIST2_3075
Blip.Remove(152@)
152@ = Blip.AddForCoord(-592.42, 1555.88, 750.0)
153@ = Checkpoint.Create(CheckpointType.Torus, -592.42, 1555.88, 750.0, -592.42, 1555.88, 750.0, 25.0)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Parachute, 1)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
132@ = 0

:HEIST2_3075
if 
  Char.LocateInCar3D($stattreadstamina_ctr, -592.42, 1555.88, 750.0, 50.0, 50.0, 25.0, False)
goto_if_false @HEIST2_4442
if 
  137@ == 1
goto_if_false @HEIST2_3186
Car.LockDoors(168@, CarLock.Unlocked)
Text.ClearHelp
Text.PrintHelpForever('HEI2_50')
Text.ClearPrints
Text.Print('HEI2_15', 10000, 1)
137@ = 0

:HEIST2_3186
if 
  138@ == 1
goto_if_false @HEIST2_4435
Text.ClearHelp
Text.ClearPrints
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Text.ClearPrints
Checkpoint.Delete(153@)
Car.FreezePosition(168@, True)
Car.SetCoordinates(168@, -592.42, 1555.88, 750.0)
Car.SetHeading(168@, 180.0)
Heli.SetBladesFullSpeed(168@)
TIMERA = 0
$bcesar3_passed_mission = 1
Streaming.RequestCarRecording(805)
TIMERA = 0
106@ = 0

:HEIST2_3301
if 
  106@ == 0
goto_if_false @HEIST2_3366
if and
  Streaming.HasCarRecordingBeenLoaded(805)
  TIMERA > 3000
goto_if_false @HEIST2_3355
106@ = 1
Streaming.RequestCarRecording(805)

:HEIST2_3355
wait 0
goto @HEIST2_3301

:HEIST2_3366
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_3453
Car.StartPlayback(168@, 805)
Camera.SetFixedPosition(-590.9276, 1546.75, 735.8972, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-591.0876, 1546.227, 735.0595, SwitchType.JumpCut)
Char.SetVisible($stattreadstamina_ctr, False)
186@ = Clock.GetGameTimer()

:HEIST2_3453
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_3476
Car.FreezePosition(168@, False)

:HEIST2_3476
skip_cutscene_start_internal @HEIST2_4297
$para_Vy = 0.0
106@ = 0
41@ = 0

:HEIST2_3507
if 
  106@ == 0
goto_if_false @HEIST2_3884
$para_Vy = 0.0
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_3873
if 
  not Car.IsPlaybackGoingOn(168@)
goto_if_false @HEIST2_3581
106@ = 1
goto @HEIST2_3873

:HEIST2_3581
187@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 188@ = 187@
sub_int_lvar_from_int_lvar 188@ -= 186@
if 
  41@ == 0
goto_if_false @HEIST2_3873
if 
  188@ > 6000
goto_if_false @HEIST2_3873
Camera.DoFade(1000, Fade.Out)

:HEIST2_3646
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_3670
wait 0
goto @HEIST2_3646

:HEIST2_3670
Streaming.RequestModel(#SW_BIT_09)

:HEIST2_3675
if 
  not Streaming.HasModelLoaded(#SW_BIT_09)
goto_if_false @HEIST2_3702
wait 0
goto @HEIST2_3675

:HEIST2_3702
Camera.SetFixedPosition(-781.9676, 1163.64, 28.421, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-781.364, 1164.077, 29.0876, SwitchType.JumpCut)
Streaming.LoadScene(-781.364, 1164.077, 29.0876)
Streaming.RequestCollision(-781.364, 1164.077)
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_3813
Car.SkipInPlayback(168@, 80.0)
Heli.SetBladesFullSpeed(168@)

:HEIST2_3813
Streaming.LoadSceneInDirection(-781.364, 1164.077, 29.0876, 270.0)
Camera.DoFade(1000, Fade.In)

:HEIST2_3842
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_3866
wait 0
goto @HEIST2_3842

:HEIST2_3866
41@ = 1

:HEIST2_3873
wait 0
goto @HEIST2_3507

:HEIST2_3884
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_3905
Heli.SetBladesFullSpeed(168@)

:HEIST2_3905
189@ = Particle.Create("SMOKE50LIT", -761.2061, 1174.616, 39.0387, 1)
190@ = Particle.Create("EXPLOSION_SMALL", -761.2061, 1174.616, 38.5387, 1)
if 
  189@ == -1
goto_if_false @HEIST2_4003
goto @HEIST2_4018

:HEIST2_4003
wait 300
Particle.Play(190@)
Particle.Play(189@)

:HEIST2_4018
Fx.AddExplosion(-761.2062, 1175.616, 39.5387, ExplosionType.Molotov)
Fx.AddExplosion(-761.206, 1173.616, 39.5387, ExplosionType.Molotov)
Fx.AddExplosion(-761.2061, 1174.616, 39.5387, ExplosionType.Molotov)
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_4096
Car.Explode(168@)

:HEIST2_4096
TIMERA = 0

:HEIST2_4103
if 
  2000 > TIMERA
goto_if_false @HEIST2_4297
if 
  500 > TIMERA
goto_if_false @HEIST2_4167
Fx.AddExplosion(-761.2062, 1175.616, 39.5387, ExplosionType.Rocket)
goto @HEIST2_4257

:HEIST2_4167
if 
  1000 > TIMERA
goto_if_false @HEIST2_4193
goto @HEIST2_4257

:HEIST2_4193
if 
  1500 > TIMERA
goto_if_false @HEIST2_4238
Fx.AddExplosion(-761.206, 1173.616, 39.5387, ExplosionType.Grenade)
goto @HEIST2_4257

:HEIST2_4238
Fx.AddExplosion(-761.2061, 1174.616, 39.5387, ExplosionType.Aircraft)

:HEIST2_4257
if or
  Char.IsDead($stattreadstamina_ctr)
  Car.IsDead(168@)
goto_if_false @HEIST2_4286
TIMERA = 2000

:HEIST2_4286
wait 0
goto @HEIST2_4103

:HEIST2_4297
skip_cutscene_end 
Streaming.MarkModelAsNoLongerNeeded(#SW_BIT_09)
Camera.DoFade(500, Fade.In)

:HEIST2_4311
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_4335
wait 0
goto @HEIST2_4311

:HEIST2_4335
Streaming.RemoveCarRecording(805)
Particle.Kill(189@)
Particle.Kill(190@)
Char.SetVisible($stattreadstamina_ctr, True)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
$bcesar3_passed_mission = 0
$para_Vy = -30.0
Camera.RestoreJumpcut
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_4423
Car.SetCoordinates(168@, -761.2061, 1174.616, 39.5387)

:HEIST2_4423
Car.MarkAsNoLongerNeeded(168@)
123@ = 4

:HEIST2_4435
goto @HEIST2_4616

:HEIST2_4442
Text.ClearHelp
Text.ClearThisPrint('HEI2_15')
$7894 = Char.GetHeightAboveGround($stattreadstamina_ctr)
if 
  5.0 > $7894
goto_if_false @HEIST2_4523
if 
  137@ == 1
goto_if_false @HEIST2_4516
Car.LockDoors(168@, CarLock.Unlocked)
137@ = 0

:HEIST2_4516
goto @HEIST2_4555

:HEIST2_4523
if 
  137@ == 0
goto_if_false @HEIST2_4555
Car.LockDoors(168@, CarLock.LockedPlayerInside)
137@ = 1

:HEIST2_4555
if 
  Char.LocateInCar3D($stattreadstamina_ctr, -592.42, 1555.88, 750.0, 400.0, 400.0, 300.0, False)
goto_if_false @HEIST2_4616
Text.PrintHelpForever('HEI2_88')
Text.ClearPrints

:HEIST2_4616
goto @HEIST2_4803

:HEIST2_4623
if 
  138@ == 0
goto_if_false @HEIST2_4803
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -592.42, 1555.88, 750.0, 100.0, 100.0, 100.0, False)
goto_if_false @HEIST2_4703
138@ = 1
goto @HEIST2_4803

:HEIST2_4703
Text.ClearPrints
Text.Print('HEI2_28', 1000, 1)
if 
  132@ == 0
goto_if_false @HEIST2_4771
Blip.Remove(152@)
Checkpoint.Delete(153@)
152@ = Blip.AddForCar(168@)
Blip.SetAsFriendly(152@, True)
132@ = 1

:HEIST2_4771
if 
  137@ == 1
goto_if_false @HEIST2_4803
Car.LockDoors(168@, CarLock.Unlocked)
137@ = 0

:HEIST2_4803
if 
  123@ == 4
goto_if_false @HEIST2_5568
153@ = Checkpoint.Create(CheckpointType.Tube, -811.07, 1816.08, 7.0, -811.07, 1816.08, 200.0, 6.0)
Blip.Remove(152@)
152@ = Blip.AddForCoord(-811.07, 1816.08, 7.0)
Car.MarkAsNoLongerNeeded(168@)
Streaming.MarkModelAsNoLongerNeeded(553)
Streaming.RequestModel(#SMASHBOXPILE)
Streaming.RequestModel(#K_CARGO1)
Streaming.RequestModel(#KMB_CONTAINER_RED)
Streaming.RequestModel(#K_CARGO4)
Streaming.RequestModel(71)
Streaming.RequestModel(334)
Streaming.LoadAllModelsNow

:HEIST2_4929
if or
  not Streaming.HasModelLoaded(#K_CARGO4)
  not Streaming.HasModelLoaded(#SMASHBOXPILE)
  not Streaming.HasModelLoaded(#K_CARGO1)
  not Streaming.HasModelLoaded(#KMB_CONTAINER_RED)
  not Streaming.HasModelLoaded(71)
  not Streaming.HasModelLoaded(334)
goto_if_false @HEIST2_4980
wait 0
goto @HEIST2_4929

:HEIST2_4980
174@ = Object.CreateNoOffset(#SMASHBOXPILE, -829.8794, 1957.827, 6.4364)
Object.SetHeading(174@, 7.1004)
175@ = Object.CreateNoOffset(#SMASHBOXPILE, -824.9033, 1958.443, 6.5048)
Object.SetHeading(175@, 9.1604)
176@ = Object.CreateNoOffset(#K_CARGO1, -828.3333, 1952.527, 5.9651)
Object.SetHeading(176@, 102.0394)
177@ = Object.CreateNoOffset(#K_CARGO1, -825.9227, 1953.171, 5.9651)
Object.SetHeading(177@, 100.9489)
178@ = Object.CreateNoOffset(#K_CARGO4, -827.6044, 1958.276, 5.9873)
Object.SetHeading(178@, 101.9089)
179@ = Object.CreateNoOffset(#KMB_CONTAINER_RED, -820.3694, 1933.666, 7.3952)
Object.SetHeading(179@, 11.8154)
180@ = Object.CreateNoOffset(#KMB_CONTAINER_RED, -822.3879, 1945.519, 7.4836)
Object.SetHeading(180@, 11.8154)
163@ = Char.Create(PedType.Mission1, 71, -826.3729, 1946.988, 6.0692)
Char.GiveWeapon(163@, WeaponType.NightStick, 3000)
Char.SetDropsWeaponsWhenDead(163@, False)
Char.SetHeading(163@, 0.0)
Char.SetSenseRange(163@, 10.0)
164@ = Char.Create(PedType.Mission1, 71, -823.3655, 1956.276, 6.04)
Char.GiveWeapon(164@, WeaponType.NightStick, 3000)
Char.SetDropsWeaponsWhenDead(164@, False)
Char.SetHeading(164@, 301.2606)
Char.SetSenseRange(164@, 10.0)
Char.SetDecisionMaker(163@, 38@)
Char.SetDecisionMaker(164@, 38@)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(-825.4943, 1938.904, 6.0, "NONE", "NONE")
Path.ExtendPatrolRoute(-823.3667, 1933.54, 6.0, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(-825.4943, 1938.904, 6.0, "NONE", "NONE")
Path.ExtendPatrolRoute(-826.9571, 1947.569, 6.0, "ROADCROSS", "PED")
Task.FollowPatrolRoute(163@, 4, RouteMode.BackForward)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(-828.9601, 1955.366, 6.0, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(-823.2458, 1957.016, 6.007, "ROADCROSS", "PED")
Task.FollowPatrolRoute(164@, 4, RouteMode.BackForward)
123@ = 5

:HEIST2_5568
if and
  123@ > 4
  12 > 123@
goto_if_false @HEIST2_7009
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_5640
if 
  not Car.IsOnScreen(168@)
goto_if_false @HEIST2_5640
Car.MarkAsNoLongerNeeded(168@)
Streaming.MarkModelAsNoLongerNeeded(553)
Car.Delete(168@)

:HEIST2_5640
if 
  209@ <> 0
goto_if_false @HEIST2_5911
if 
  212@ == 0
goto_if_false @HEIST2_5704
if 
  Audio.HasMissionAudioLoaded(211@)
goto_if_false @HEIST2_5697
Audio.ClearMissionAudio(211@)

:HEIST2_5697
212@ = 1

:HEIST2_5704
if 
  212@ == 1
goto_if_false @HEIST2_5741
Audio.LoadMissionAudio(210@, 191@(209@,18i))
212@ = 2

:HEIST2_5741
if 
  212@ == 2
goto_if_false @HEIST2_5801
if 
  Audio.HasMissionAudioLoaded(210@)
goto_if_false @HEIST2_5801
Audio.PlayMissionAudio(210@)
Text.PrintNow($7895(209@,18s), 10000, 1)
212@ = 3

:HEIST2_5801
if 
  212@ == 3
goto_if_false @HEIST2_5911
if 
  Audio.HasMissionAudioFinished(210@)
goto_if_false @HEIST2_5911
Text.ClearThisPrint($7895(209@,18s))
if 
  210@ == 1
goto_if_false @HEIST2_5883
210@ = 2
211@ = 1
goto @HEIST2_5897

:HEIST2_5883
210@ = 1
211@ = 2

:HEIST2_5897
209@ = 0
212@ = 0

:HEIST2_5911
36@ = 0

:HEIST2_5918
if 
  2 > 36@
goto_if_false @HEIST2_6950
if 
  not Char.IsDead(163@(36@,2i))
goto_if_false @HEIST2_6894
if 
  126@(36@,6i) == 0
goto_if_false @HEIST2_6157
if or
  Char.IsRespondingToEvent(163@(36@,2i), 62)
  Char.IsRespondingToEvent(163@(36@,2i), 63)
goto_if_false @HEIST2_6157
if 
  not Char.IsRespondingToEvent(163@(36@,2i), 36)
goto_if_false @HEIST2_6157
if 
  212@ == 0
goto_if_false @HEIST2_6131
41@ = Math.RandomIntInRange(0, 4)
if 
  41@ == 0
goto_if_false @HEIST2_6092
209@ = 1
goto @HEIST2_6131

:HEIST2_6092
if 
  41@ == 1
goto_if_false @HEIST2_6124
209@ = 8
goto @HEIST2_6131

:HEIST2_6124
209@ = 12

:HEIST2_6131
126@(36@,6i) = 1
219@ = Char.SetSayContext(163@(36@,2i), 203)

:HEIST2_6157
if 
  126@(36@,6i) == 1
goto_if_false @HEIST2_6379
if and
  not Char.IsRespondingToEvent(163@(36@,2i), 62)
  not Char.IsRespondingToEvent(163@(36@,2i), 63)
  not Char.IsRespondingToEvent(163@(36@,2i), 36)
  not Char.IsRespondingToEvent(163@(36@,2i), 15)
  not Char.IsRespondingToEvent(163@(36@,2i), 9)
  not Char.IsRespondingToEvent(163@(36@,2i), 31)
goto_if_false @HEIST2_6379
if 
  212@ == 0
goto_if_false @HEIST2_6354
41@ = Math.RandomIntInRange(0, 3)
if 
  41@ == 0
goto_if_false @HEIST2_6315
209@ = 6
goto @HEIST2_6354

:HEIST2_6315
if 
  41@ == 1
goto_if_false @HEIST2_6347
209@ = 3
goto @HEIST2_6354

:HEIST2_6347
209@ = 2

:HEIST2_6354
219@ = Char.SetSayContext(163@(36@,2i), 13)
126@(36@,6i) = 0

:HEIST2_6379
if or
  126@(36@,6i) == 0
  126@(36@,6i) == 1
goto_if_false @HEIST2_6696
if or
  Char.IsRespondingToEvent(163@(36@,2i), 36)
  Char.IsRespondingToEvent(163@(36@,2i), 15)
  Char.IsRespondingToEvent(163@(36@,2i), 9)
  Char.IsRespondingToEvent(163@(36@,2i), 31)
goto_if_false @HEIST2_6696
if 
  212@ == 0
goto_if_false @HEIST2_6597
41@ = Math.RandomIntInRange(0, 4)
if 
  41@ == 0
goto_if_false @HEIST2_6526
209@ = 1
goto @HEIST2_6597

:HEIST2_6526
if 
  41@ == 5
goto_if_false @HEIST2_6558
209@ = 8
goto @HEIST2_6597

:HEIST2_6558
if 
  41@ == 2
goto_if_false @HEIST2_6590
209@ = 7
goto @HEIST2_6597

:HEIST2_6590
209@ = 10

:HEIST2_6597
if 
  105@ == 0
goto_if_false @HEIST2_6670
if 
  not Char.IsDead(163@)
goto_if_false @HEIST2_6639
Task.KillCharOnFoot(163@, $stattreadstamina_ctr)

:HEIST2_6639
if 
  not Char.IsDead(164@)
goto_if_false @HEIST2_6663
Task.KillCharOnFoot(164@, $stattreadstamina_ctr)

:HEIST2_6663
105@ = 1

:HEIST2_6670
219@ = Char.SetSayContext(163@(36@,2i), 204)
126@(36@,6i) = 2

:HEIST2_6696
if 
  126@(36@,6i) == 2
goto_if_false @HEIST2_6887
if and
  not Char.IsRespondingToEvent(163@(36@,2i), 62)
  not Char.IsRespondingToEvent(163@(36@,2i), 63)
  not Char.IsRespondingToEvent(163@(36@,2i), 36)
  not Char.IsRespondingToEvent(163@(36@,2i), 15)
  not Char.IsRespondingToEvent(163@(36@,2i), 9)
  not Char.IsRespondingToEvent(163@(36@,2i), 31)
goto_if_false @HEIST2_6887
if 
  212@ == 0
goto_if_false @HEIST2_6861
41@ = Math.RandomIntInRange(0, 2)
if 
  41@ == 0
goto_if_false @HEIST2_6854
209@ = 11
goto @HEIST2_6861

:HEIST2_6854
209@ = 9

:HEIST2_6861
219@ = Char.SetSayContext(163@(36@,2i), 205)
126@(36@,6i) = 0

:HEIST2_6887
goto @HEIST2_6936

:HEIST2_6894
if 
  113@(36@,6i) == 1
goto_if_false @HEIST2_6936
Blip.Remove(154@(36@,2i))
113@(36@,6i) = 0

:HEIST2_6936
36@ += 1
goto @HEIST2_5918

:HEIST2_6950
if 
  212@ == 0
goto_if_false @HEIST2_7009
if 
  not is_int_lvar_equal_to_int_lvar 42@ == 209@
goto_if_false @HEIST2_7002
set_lvar_int_to_lvar_int 42@ = 209@
goto @HEIST2_7009

:HEIST2_7002
209@ = 0

:HEIST2_7009
if 
  123@ == 5
goto_if_false @HEIST2_8449
if or
  Char.IsPlayingAnim($stattreadstamina_ctr, "PARA_OPEN")
  Char.IsPlayingAnim($stattreadstamina_ctr, "PARA_FLOAT")
goto_if_false @HEIST2_7073
Text.ClearHelp

:HEIST2_7073
if or
  $para_flare_Vy == 2
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -811.07, 1816.08, 7.0, 6.0, 6.0, 3.0, False)
goto_if_false @HEIST2_8383
Pad.SetPlayerCycleWeaponButton($statbike_temp, False)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Unarmed, 1)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Checkpoint.Delete(153@)
Blip.Remove(152@)
Text.ClearPrints
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Camera.DoFade(1500, Fade.Out)

:HEIST2_7179
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_7203
wait 0
goto @HEIST2_7179

:HEIST2_7203
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HEIST2_7224
Task.LeaveAnyCar($stattreadstamina_ctr)

:HEIST2_7224
Streaming.MarkModelAsNoLongerNeeded(371)
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -828.4104, 1945.76, 7.04, 13.1, 19.2998, 4.5, False)
goto_if_false @HEIST2_7307
Char.SetCoordinates($stattreadstamina_ctr, -820.3474, 1939.728, 6.0)
Char.SetHeading($stattreadstamina_ctr, 295.9757)

:HEIST2_7307
Hud.SwitchWidescreen(True)
Task.TurnCharToFaceCoord($stattreadstamina_ctr, -830.94, 1983.23, 9.0)
terminate_all_scripts_with_this_name 'PARACH'
$para_flare_Vy = 2
Char.ClearTasksImmediately($stattreadstamina_ctr)
Camera.RestoreJumpcut
Hud.SetRadarZoom(90)
Streaming.RequestModel(335)

:HEIST2_7365
if 
  not Streaming.HasModelLoaded(335)
goto_if_false @HEIST2_7392
wait 0
goto @HEIST2_7365

:HEIST2_7392
104@ = Pickup.Create(335, PickupType.Once, -819.0, 1929.0, 7.0)
156@ = Blip.AddForPickup(104@)
Blip.ChangeDisplay(156@, BlipDisplay.BlipOnly)
Char.Delete(163@)
Char.MarkAsNoLongerNeeded(163@)
Char.Delete(164@)
Char.MarkAsNoLongerNeeded(164@)
163@ = Char.Create(PedType.Mission1, 71, -826.3729, 1946.988, 6.0692)
Char.GiveWeapon(163@, WeaponType.NightStick, 3000)
Char.SetDropsWeaponsWhenDead(163@, False)
Char.SetHeading(163@, 0.0)
Char.SetSenseRange(163@, 10.0)
164@ = Char.Create(PedType.Mission1, 71, -823.3655, 1956.276, 6.04)
Char.GiveWeapon(164@, WeaponType.NightStick, 3000)
Char.SetDropsWeaponsWhenDead(164@, False)
Char.SetHeading(164@, 301.2606)
Char.SetSenseRange(164@, 10.0)
Char.SetDecisionMaker(163@, 38@)
Char.SetDecisionMaker(164@, 38@)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(-823.3667, 1933.54, 6.0, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(-825.4943, 1938.904, 6.0, "NONE", "NONE")
Path.ExtendPatrolRoute(-826.9571, 1947.569, 6.0, "ROADCROSS", "PED")
Task.FollowPatrolRoute(163@, 4, RouteMode.BackForward)
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(-828.9601, 1955.366, 6.0, "ROADCROSS", "PED")
Path.ExtendPatrolRoute(-823.2458, 1957.016, 6.007, "ROADCROSS", "PED")
Task.FollowPatrolRoute(164@, 4, RouteMode.BackForward)
Camera.SetFixedPosition(-794.19, 1856.16, 8.89, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-833.48, 1914.18, 3.2, SwitchType.JumpCut)
Camera.DoFade(1500, Fade.In)

:HEIST2_7831
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_7855
wait 0
goto @HEIST2_7831

:HEIST2_7855
Text.Print('HEI2_52', 6000, 1)
skip_cutscene_start_internal @HEIST2_8175

:HEIST2_7878
if 
  Text.IsMessageBeingDisplayed
goto_if_false @HEIST2_7902
wait 0
goto @HEIST2_7878

:HEIST2_7902
Camera.SetFixedPosition(-821.12, 1953.34, 7.52, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-842.66, 1973.89, 3.84, SwitchType.JumpCut)
Text.Print('HEI2_52', 6000, 1)

:HEIST2_7969
if 
  Text.IsMessageBeingDisplayed
goto_if_false @HEIST2_7993
wait 0
goto @HEIST2_7969

:HEIST2_7993
Camera.SetFixedPosition(-828.18, 1949.82, 6.79, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-807.1, 1918.51, 8.91, SwitchType.JumpCut)
Text.Print('HEI2_53', 6000, 1)

:HEIST2_8060
if 
  Text.IsMessageBeingDisplayed
goto_if_false @HEIST2_8084
wait 0
goto @HEIST2_8060

:HEIST2_8084
Text.Print('HEI2_46', 6000, 1)
Camera.SetFixedPosition(-823.48, 1924.82, 6.71, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-808.71, 1959.51, 9.43, SwitchType.JumpCut)

:HEIST2_8151
if 
  Text.IsMessageBeingDisplayed
goto_if_false @HEIST2_8175
wait 0
goto @HEIST2_8151

:HEIST2_8175
skip_cutscene_end 
Text.ClearPrints
if 
  not Char.IsDead(163@)
goto_if_false @HEIST2_8217
154@ = Blip.AddForChar(163@)
Blip.ChangeDisplay(154@, BlipDisplay.BlipOnly)
113@ = 1

:HEIST2_8217
if 
  not Char.IsDead(164@)
goto_if_false @HEIST2_8255
155@ = Blip.AddForChar(164@)
Blip.ChangeDisplay(155@, BlipDisplay.BlipOnly)
114@ = 1

:HEIST2_8255
Hud.SwitchWidescreen(False)
Text.Print('HEI2_60', 5000, 1)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
if 
  not Char.IsDead(163@)
goto_if_false @HEIST2_8321
Char.SetRelationship(163@, RelationshipType.Hate, PedType.Player1)
Char.SetInformRespectedFriends(163@, 30.0, 10)

:HEIST2_8321
if 
  not Char.IsDead(164@)
goto_if_false @HEIST2_8358
Char.SetRelationship(164@, RelationshipType.Hate, PedType.Player1)
Char.SetInformRespectedFriends(164@, 30.0, 10)

:HEIST2_8358
Text.PrintHelp('HEI2_89')
123@ = 7
goto @HEIST2_8449

:HEIST2_8383
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Parachute)
goto_if_false @HEIST2_8449
if 
  139@ == 0
goto_if_false @HEIST2_8449
Pad.SetPlayerCycleWeaponButton($statbike_temp, False)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Unarmed, 1)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
139@ = 1

:HEIST2_8449
if 
  123@ == 7
goto_if_false @HEIST2_8680
if 
  Char.IsInWater($stattreadstamina_ctr)
goto_if_false @HEIST2_8562
if 
  124@ == 0
goto_if_false @HEIST2_8555
Text.ClearPrints
Text.Print('HEI2_40', 7000, 1)
Blip.Remove(152@)
152@ = Blip.AddForCoord(-799.5823, 1813.156, 2.0061)
Hud.SetRadarZoom(0)
124@ = 1

:HEIST2_8555
goto @HEIST2_8614

:HEIST2_8562
if 
  124@ == 1
goto_if_false @HEIST2_8614
Blip.Remove(152@)
124@ = 0
Text.ClearPrints
Hud.SetRadarZoom(90)
Text.Print('HEI2_60', 5000, 1)

:HEIST2_8614
if 
  Pickup.HasBeenCollected(104@)
goto_if_false @HEIST2_8680
Text.ClearPrints
Text.Print('HEI2_34', 7000, 1)
Blip.Remove(152@)
152@ = Blip.AddForCoord(-830.94, 1983.23, 9.0)
123@ = 8

:HEIST2_8680
if 
  123@ == 8
goto_if_false @HEIST2_9179
if 
  Char.IsDead(163@)
goto_if_false @HEIST2_8719
Blip.Remove(154@)

:HEIST2_8719
if 
  Char.IsDead(164@)
goto_if_false @HEIST2_8740
Blip.Remove(155@)

:HEIST2_8740
if 
  Char.IsInWater($stattreadstamina_ctr)
goto_if_false @HEIST2_8835
if 
  124@ == 0
goto_if_false @HEIST2_8828
Text.ClearPrints
Blip.Remove(152@)
Text.Print('HEI2_40', 7000, 1)
152@ = Blip.AddForCoord(-799.5823, 1813.156, 2.0061)
Hud.SetRadarZoom(0)
124@ = 1

:HEIST2_8828
goto @HEIST2_9179

:HEIST2_8835
if 
  124@ == 1
goto_if_false @HEIST2_8907
124@ = 0
Text.ClearPrints
Blip.Remove(152@)
152@ = Blip.AddForCoord(-830.94, 1983.23, 9.0)
Hud.SetRadarZoom(90)
Text.Print('HEI2_34', 7000, 1)

:HEIST2_8907
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -830.2665, 1982.124, 8.25, 1.2, 1.2, 3.0, True)
goto_if_false @HEIST2_9179
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:HEIST2_8971
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_8995
wait 0
goto @HEIST2_8971

:HEIST2_8995
Char.SetCoordinates($stattreadstamina_ctr, -942.0, 1847.0, 4.0)
Streaming.SetAreaVisible(17)
Streaming.LoadScene(-942.0, 1847.0, 4.0)
Streaming.RequestCollision(-942.0, 1847.0)
World.SetExtraColors(1, False)
Text.ClearPrints
Blip.Remove(152@)
Char.MarkAsNoLongerNeeded(163@)
Char.MarkAsNoLongerNeeded(164@)
Object.MarkAsNoLongerNeeded(174@)
Object.MarkAsNoLongerNeeded(175@)
Object.MarkAsNoLongerNeeded(176@)
Object.MarkAsNoLongerNeeded(177@)
Object.MarkAsNoLongerNeeded(178@)
Object.MarkAsNoLongerNeeded(179@)
Object.MarkAsNoLongerNeeded(180@)
Blip.Remove(154@)
Blip.Remove(155@)
Streaming.MarkModelAsNoLongerNeeded(#SMASHBOXPILE)
Streaming.MarkModelAsNoLongerNeeded(#K_CARGO1)
Streaming.MarkModelAsNoLongerNeeded(#KMB_CONTAINER_RED)
Streaming.MarkModelAsNoLongerNeeded(#K_CARGO4)
Streaming.MarkModelAsNoLongerNeeded(335)
Pickup.Remove(104@)
Blip.Remove(156@)
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
107@ = 2
123@ = 12

:HEIST2_9179
if 
  123@ > 11
goto_if_false @HEIST2_14790
if 
  107@ == 2
goto_if_false @HEIST2_10102
Streaming.RequestModel(363)
Streaming.RequestModel(50)
Streaming.RequestModel(346)
Streaming.RequestModel(330)

:HEIST2_9234
if or
  not Streaming.HasModelLoaded(363)
  not Streaming.HasModelLoaded(50)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(330)
goto_if_false @HEIST2_9275
wait 0
goto @HEIST2_9234

:HEIST2_9275
104@ = Pickup.Create(335, PickupType.OnStreetSlow, -938.3901, 1901.649, 4.3)
166@ = Char.Create(PedType.Mission2, 71, -960.0, 1927.0, 8.04)
Char.SetHeading(166@, 81.0)
Task.UseMobilePhone(166@, True)
113@ = 0
114@ = 0
105@ = 0
36@ = 0

:HEIST2_9369
if 
  6 > 36@
goto_if_false @HEIST2_10095
if 
  36@ > 1
goto_if_false @HEIST2_9774
157@(36@,6i) = Char.Create(PedType.Mission2, 71, 47@(36@,6f), 53@(36@,6f), 59@(36@,6f))
Char.SetFollowNodeThresholdDistance(157@(36@,6i), 1.0)
Char.SetSenseRange(157@(36@,6i), 10.0)
Char.SetAccuracy(157@(36@,6i), 85)
Char.SetInformRespectedFriends(157@(36@,6i), 20.0, 1)
if or
  36@ == 2
  36@ == 4
goto_if_false @HEIST2_9562
Char.GiveWeapon(157@(36@,6i), WeaponType.NightStick, 3000)
Char.SetShootRate(157@(36@,6i), 70)
Char.SetWeaponSkill(157@(36@,6i), 2)
goto @HEIST2_9598

:HEIST2_9562
Char.GiveWeapon(157@(36@,6i), WeaponType.Pistol, 3000)
Char.SetShootRate(157@(36@,6i), 60)
Char.SetWeaponSkill(157@(36@,6i), 1)

:HEIST2_9598
Char.SetDropsWeaponsWhenDead(157@(36@,6i), False)
Char.SetHeading(157@(36@,6i), 65@(36@,6f))
146@(36@,6i) = Blip.AddForChar(157@(36@,6i))
Blip.ChangeDisplay(146@(36@,6i), BlipDisplay.BlipOnly)
113@(36@,6i) = 1
126@(36@,6i) = 0
Path.FlushPatrolRoute
Path.ExtendPatrolRoute(71@(36@,6f), 77@(36@,6f), 83@(36@,6f), "ROADCROSS", "PED")
Path.ExtendPatrolRoute(47@(36@,6f), 53@(36@,6f), 59@(36@,6f), "ROADCROSS", "PED")
Task.FollowPatrolRoute(157@(36@,6i), 4, RouteMode.BackForward)
goto @HEIST2_10081

:HEIST2_9774
157@(36@,6i) = Char.Create(PedType.Mission2, 50, 47@(36@,6f), 53@(36@,6f), 59@(36@,6f))
Char.SetFollowNodeThresholdDistance(157@(36@,6i), 1.0)
Char.SetSenseRange(157@(36@,6i), 10.0)
Char.SetAccuracy(157@(36@,6i), 85)
Char.SetInformRespectedFriends(157@(36@,6i), 20.0, 1)
Char.SetHeading(157@(36@,6i), 65@(36@,6f))
if 
  36@ == 0
goto_if_false @HEIST2_9908
Task.Duck(157@(36@,6i), -2)

:HEIST2_9908
146@(36@,6i) = Blip.AddForChar(157@(36@,6i))
Blip.ChangeDisplay(146@(36@,6i), BlipDisplay.BlipOnly)
113@(36@,6i) = 1
126@(36@,6i) = 0
184@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 47@(36@,6f), 53@(36@,6f), 59@(36@,6f), 4, -2)
Task.AchieveHeading(-1, 65@(36@,6f))
Task.Duck(-1, 5000)
Task.ScratchHead(-1)
Task.PlayAnim(-1, "FUCKU", "PED", 4.0, False, False, False, False, -1)
Task.UseAtm(-1)
Task.ScratchHead(-1)
Sequence.SetToRepeat(184@, True)
Sequence.Close(184@)
Char.PerformSequence(157@(36@,6i), 184@)
Sequence.Clear(184@)

:HEIST2_10081
36@ += 1
goto @HEIST2_9369

:HEIST2_10095
107@ = 3

:HEIST2_10102
if 
  107@ == 3
goto_if_false @HEIST2_11549
120@ = 1
if or
  Char.LocateOnFoot3D($stattreadstamina_ctr, -942.0, 1847.0, 5.0, 2.0, 2.0, 2.0, False)
  Char.LocateOnFoot3D($stattreadstamina_ctr, -960.0, 1952.0, 9.0, 2.0, 2.0, 2.0, False)
goto_if_false @HEIST2_11549
Camera.SetFixedPosition(-940.3428, 1845.949, 5.4312, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-940.8073, 1846.819, 5.5962, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Text.ClearPrints
Text.ClearHelp
Camera.DoFade(1500, Fade.In)

:HEIST2_10278
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_10302
wait 0
goto @HEIST2_10278

:HEIST2_10302
Text.Print('HEI2_20', 6000, 1)
skip_cutscene_start_internal @HEIST2_11265

:HEIST2_10325
if 
  Text.IsMessageBeingDisplayed
goto_if_false @HEIST2_10349
wait 0
goto @HEIST2_10325

:HEIST2_10349
Camera.SetFixedPosition(-959.851, 1925.822, 8.6787, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-959.1008, 1925.218, 8.9476, SwitchType.JumpCut)
if 
  not Char.IsDead(162@)
goto_if_false @HEIST2_10423
Char.FreezePosition(162@, True)

:HEIST2_10423
Text.Print('HEI2_2', 6000, 1)

:HEIST2_10439
if 
  Text.IsMessageBeingDisplayed
goto_if_false @HEIST2_10463
wait 0
goto @HEIST2_10439

:HEIST2_10463
Camera.SetFixedPosition(-960.33, 1925.24, 9.12, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-938.79, 1959.11, 15.19, SwitchType.JumpCut)
209@ = 0
210@ = 1
211@ = 2
212@ = 0
213@ = 0
214@ = 0
215@ = 0
216@ = 0
217@ = 0
218@ = 0

:HEIST2_10584
wait 0
if 
  213@ == 0
goto_if_false @HEIST2_11265
if 
  209@ <> 0
goto_if_false @HEIST2_10945
if 
  212@ == 0
goto_if_false @HEIST2_10670
if 
  Audio.HasMissionAudioLoaded(211@)
goto_if_false @HEIST2_10663
Audio.ClearMissionAudio(211@)

:HEIST2_10663
212@ = 1

:HEIST2_10670
if 
  212@ == 1
goto_if_false @HEIST2_10707
Audio.LoadMissionAudio(210@, 191@(209@,18i))
212@ = 2

:HEIST2_10707
if 
  212@ == 2
goto_if_false @HEIST2_10767
if 
  Audio.HasMissionAudioLoaded(210@)
goto_if_false @HEIST2_10767
Audio.PlayMissionAudio(210@)
Text.PrintNow($7895(209@,18s), 10000, 1)
212@ = 3

:HEIST2_10767
if 
  212@ == 3
goto_if_false @HEIST2_10945
if 
  Audio.HasMissionAudioFinished(210@)
goto_if_false @HEIST2_10884
Text.ClearThisPrint($7895(209@,18s))
if 
  210@ == 1
goto_if_false @HEIST2_10849
210@ = 2
211@ = 1
goto @HEIST2_10863

:HEIST2_10849
210@ = 1
211@ = 2

:HEIST2_10863
209@ = 0
212@ = 0
goto @HEIST2_10945

:HEIST2_10884
if 
  not Audio.HasMissionAudioLoaded(211@)
goto_if_false @HEIST2_10945
if 
  8 > 209@
goto_if_false @HEIST2_10945
set_lvar_int_to_lvar_int 218@ = 209@
218@ += 1
Audio.LoadMissionAudio(211@, 191@(218@,18i))

:HEIST2_10945
switch_start 214@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @HEIST2_11186 {caseNum1} 0 {caseLabel1} @HEIST2_11008 {caseNum2} 1 {caseLabel2} @HEIST2_11081 {caseNum3} -1 {caseLabel3} @HEIST2_11258 {caseNum4} -1 {caseLabel4} @HEIST2_11258 {caseNum5} -1 {caseLabel5} @HEIST2_11258 {caseNum6} -1 {caseLabel6} @HEIST2_11258 {caseNum7} -1 {caseLabel7} @HEIST2_11258

:HEIST2_11008
if 
  212@ == 0
goto_if_false @HEIST2_11074
if 
  not Char.IsDead(166@)
goto_if_false @HEIST2_11055
Char.StopFacialTalk(166@)
Char.StartFacialTalk(166@, 4000)

:HEIST2_11055
209@ = 12
214@ = 1
217@ = Clock.GetGameTimer()

:HEIST2_11074
goto @HEIST2_11258

:HEIST2_11081
216@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 215@ = 216@
sub_int_lvar_from_int_lvar 215@ -= 217@
if 
  215@ > 1000
goto_if_false @HEIST2_11179
if 
  212@ == 0
goto_if_false @HEIST2_11179
if 
  not Char.IsDead(166@)
goto_if_false @HEIST2_11160
Char.StopFacialTalk(166@)

:HEIST2_11160
209@ = 13
214@ = 2
217@ = Clock.GetGameTimer()

:HEIST2_11179
goto @HEIST2_11258

:HEIST2_11186
216@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 215@ = 216@
sub_int_lvar_from_int_lvar 215@ -= 217@
if 
  215@ > 1000
goto_if_false @HEIST2_11251
if 
  212@ == 0
goto_if_false @HEIST2_11251
213@ = 1

:HEIST2_11251
goto @HEIST2_11258

:HEIST2_11258
goto @HEIST2_10584

:HEIST2_11265
skip_cutscene_end 
if 
  not Char.IsDead(162@)
goto_if_false @HEIST2_11290
Char.FreezePosition(162@, False)

:HEIST2_11290
Text.ClearPrints
Text.Print('HEI2_2', 4000, 1)
Camera.RestoreJumpcut
if 
  not Char.IsDead(166@)
goto_if_false @HEIST2_11367
39@ = Char.GetScriptTaskStatus(166@, 1833)
if 
  not is_int_lvar_equal_to_constant 39@ == 7
goto_if_false @HEIST2_11362
Task.UseMobilePhone(166@, False)

:HEIST2_11362
Streaming.MarkModelAsNoLongerNeeded(330)

:HEIST2_11367
Char.Delete(166@)
Char.MarkAsNoLongerNeeded(166@)
Hud.SetRadarZoom(90)
Text.ClearPrints
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
37@ = 0

:HEIST2_11401
if 
  6 > 37@
goto_if_false @HEIST2_11542
if 
  5 > 37@
goto_if_false @HEIST2_11467
140@(37@,5i) = Blip.AddForCoord(89@(37@,5f), 94@(37@,5f), 99@(37@,5f))

:HEIST2_11467
if 
  not Char.IsDead(157@(37@,6i))
goto_if_false @HEIST2_11528
Char.SetRelationship(157@(37@,6i), RelationshipType.Hate, PedType.Player1)
Char.SetDecisionMaker(157@(37@,6i), 38@)
Char.SetInformRespectedFriends(157@(37@,6i), 40.0, 10)

:HEIST2_11528
37@ += 1
goto @HEIST2_11401

:HEIST2_11542
107@ = 4

:HEIST2_11549
if 
  6 > 107@
goto_if_false @HEIST2_11693
if 
  120@ == 1
goto_if_false @HEIST2_11686
36@ = 0

:HEIST2_11592
if 
  6 > 36@
goto_if_false @HEIST2_11686
if 
  Char.IsDead(157@(36@,6i))
goto_if_false @HEIST2_11672
if 
  113@(36@,6i) == 1
goto_if_false @HEIST2_11672
Blip.Remove(146@(36@,6i))
113@(36@,6i) = 0

:HEIST2_11672
36@ += 1
goto @HEIST2_11592

:HEIST2_11686
goto @HEIST2_11792

:HEIST2_11693
if 
  107@ == 6
goto_if_false @HEIST2_11792
36@ = 0

:HEIST2_11718
if 
  6 > 36@
goto_if_false @HEIST2_11792
if 
  113@(36@,6i) == 1
goto_if_false @HEIST2_11778
Blip.Remove(146@(36@,6i))
113@(36@,6i) = 0

:HEIST2_11778
36@ += 1
goto @HEIST2_11718

:HEIST2_11792
if and
  107@ > 2
  185@ == 0
goto_if_false @HEIST2_13314
if 
  not Car.IsDead(168@)
goto_if_false @HEIST2_11864
if 
  not Car.IsOnScreen(168@)
goto_if_false @HEIST2_11864
Car.MarkAsNoLongerNeeded(168@)
Streaming.MarkModelAsNoLongerNeeded(553)
Car.Delete(168@)

:HEIST2_11864
if 
  209@ <> 0
goto_if_false @HEIST2_12135
if 
  212@ == 0
goto_if_false @HEIST2_11928
if 
  Audio.HasMissionAudioLoaded(211@)
goto_if_false @HEIST2_11921
Audio.ClearMissionAudio(211@)

:HEIST2_11921
212@ = 1

:HEIST2_11928
if 
  212@ == 1
goto_if_false @HEIST2_11965
Audio.LoadMissionAudio(210@, 191@(209@,18i))
212@ = 2

:HEIST2_11965
if 
  212@ == 2
goto_if_false @HEIST2_12025
if 
  Audio.HasMissionAudioLoaded(210@)
goto_if_false @HEIST2_12025
Audio.PlayMissionAudio(210@)
Text.PrintNow($7895(209@,18s), 10000, 1)
212@ = 3

:HEIST2_12025
if 
  212@ == 3
goto_if_false @HEIST2_12135
if 
  Audio.HasMissionAudioFinished(210@)
goto_if_false @HEIST2_12135
Text.ClearThisPrint($7895(209@,18s))
if 
  210@ == 1
goto_if_false @HEIST2_12107
210@ = 2
211@ = 1
goto @HEIST2_12121

:HEIST2_12107
210@ = 1
211@ = 2

:HEIST2_12121
209@ = 0
212@ = 0

:HEIST2_12135
36@ = 0

:HEIST2_12142
if 
  6 > 36@
goto_if_false @HEIST2_13187
if 
  not Char.IsDead(157@(36@,6i))
goto_if_false @HEIST2_13173
if 
  126@(36@,6i) == 0
goto_if_false @HEIST2_12405
if or
  Char.IsRespondingToEvent(157@(36@,6i), 62)
  Char.IsRespondingToEvent(157@(36@,6i), 63)
goto_if_false @HEIST2_12405
if 
  not Char.IsRespondingToEvent(157@(36@,6i), 36)
goto_if_false @HEIST2_12405
if 
  212@ == 0
goto_if_false @HEIST2_12373
if 
  36@ > 1
goto_if_false @HEIST2_12373
41@ = Math.RandomIntInRange(0, 3)
if 
  41@ == 0
goto_if_false @HEIST2_12334
209@ = 6
goto @HEIST2_12373

:HEIST2_12334
if 
  41@ == 1
goto_if_false @HEIST2_12366
209@ = 3
goto @HEIST2_12373

:HEIST2_12366
209@ = 2

:HEIST2_12373
219@ = Char.SetSayContextImportant(157@(36@,6i), 203, True, False, False)
126@(36@,6i) = 1

:HEIST2_12405
if 
  126@(36@,6i) == 1
goto_if_false @HEIST2_12619
if and
  not Char.IsRespondingToEvent(157@(36@,6i), 62)
  not Char.IsRespondingToEvent(157@(36@,6i), 63)
  not Char.IsRespondingToEvent(157@(36@,6i), 36)
  not Char.IsRespondingToEvent(157@(36@,6i), 15)
  not Char.IsRespondingToEvent(157@(36@,6i), 9)
  not Char.IsRespondingToEvent(157@(36@,6i), 31)
goto_if_false @HEIST2_12619
if 
  212@ == 0
goto_if_false @HEIST2_12588
if 
  36@ > 1
goto_if_false @HEIST2_12588
41@ = Math.RandomIntInRange(0, 2)
if 
  41@ == 0
goto_if_false @HEIST2_12581
209@ = 11
goto @HEIST2_12588

:HEIST2_12581
209@ = 9

:HEIST2_12588
219@ = Char.SetSayContextImportant(157@(36@,6i), 13, True, False, False)
126@(36@,6i) = 0

:HEIST2_12619
if or
  126@(36@,6i) == 0
  126@(36@,6i) == 1
goto_if_false @HEIST2_12894
if or
  Char.IsRespondingToEvent(157@(36@,6i), 36)
  Char.IsRespondingToEvent(157@(36@,6i), 15)
  Char.IsRespondingToEvent(157@(36@,6i), 9)
  Char.IsRespondingToEvent(157@(36@,6i), 31)
goto_if_false @HEIST2_12894
if 
  212@ == 0
goto_if_false @HEIST2_12855
if 
  36@ > 1
goto_if_false @HEIST2_12855
41@ = Math.RandomIntInRange(0, 4)
if 
  41@ == 0
goto_if_false @HEIST2_12784
209@ = 1
goto @HEIST2_12855

:HEIST2_12784
if 
  41@ == 1
goto_if_false @HEIST2_12816
209@ = 8
goto @HEIST2_12855

:HEIST2_12816
if 
  41@ == 2
goto_if_false @HEIST2_12848
209@ = 4
goto @HEIST2_12855

:HEIST2_12848
209@ = 12

:HEIST2_12855
219@ = Char.SetSayContextImportant(157@(36@,6i), 204, True, False, False)
105@ = 1
126@(36@,6i) = 2

:HEIST2_12894
if 
  126@(36@,6i) == 2
goto_if_false @HEIST2_13173
if and
  not Char.IsRespondingToEvent(157@(36@,6i), 62)
  not Char.IsRespondingToEvent(157@(36@,6i), 63)
  not Char.IsRespondingToEvent(157@(36@,6i), 36)
  not Char.IsRespondingToEvent(157@(36@,6i), 15)
  not Char.IsRespondingToEvent(157@(36@,6i), 9)
  not Char.IsRespondingToEvent(157@(36@,6i), 31)
goto_if_false @HEIST2_13173
if 
  212@ == 0
goto_if_false @HEIST2_13141
if 
  36@ > 1
goto_if_false @HEIST2_13141
41@ = Math.RandomIntInRange(0, 4)
if 
  41@ == 0
goto_if_false @HEIST2_13070
209@ = 1
goto @HEIST2_13141

:HEIST2_13070
if 
  41@ == 5
goto_if_false @HEIST2_13102
209@ = 8
goto @HEIST2_13141

:HEIST2_13102
if 
  41@ == 2
goto_if_false @HEIST2_13134
209@ = 7
goto @HEIST2_13141

:HEIST2_13134
209@ = 10

:HEIST2_13141
219@ = Char.SetSayContextImportant(157@(36@,6i), 205, True, False, False)
126@(36@,6i) = 0

:HEIST2_13173
36@ += 1
goto @HEIST2_12142

:HEIST2_13187
if 
  133@ == 0
goto_if_false @HEIST2_13255
if 
  105@ == 1
goto_if_false @HEIST2_13255
if 
  212@ == 0
goto_if_false @HEIST2_13255
133@ = 1
209@ = 4

:HEIST2_13255
if 
  212@ == 0
goto_if_false @HEIST2_13314
if 
  not is_int_lvar_equal_to_int_lvar 42@ == 209@
goto_if_false @HEIST2_13307
set_lvar_int_to_lvar_int 42@ = 209@
goto @HEIST2_13314

:HEIST2_13307
209@ = 0

:HEIST2_13314
if 
  107@ == 4
goto_if_false @HEIST2_14433
if 
  5 > 34@
goto_if_false @HEIST2_14370
122@ = 0
37@ = 0

:HEIST2_13364
if 
  5 > 37@
goto_if_false @HEIST2_14343
if 
  108@(37@,5i) == 0
goto_if_false @HEIST2_14329
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 89@(37@,5f), 94@(37@,5f), 99@(37@,5f), 4.0, 4.0, 3.0, False)
goto_if_false @HEIST2_14329
122@ = 1
if 
  121@ == 0
goto_if_false @HEIST2_13501
121@ = 1
Text.PrintHelp('HEI2_6')

:HEIST2_13501
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @HEIST2_14329
Text.ClearHelp
121@ = 0
34@ += 1
Blip.Remove(140@(37@,5i))
if 
  Char.IsDucking($stattreadstamina_ctr)
goto_if_false @HEIST2_13573
134@ = 1
goto @HEIST2_13580

:HEIST2_13573
134@ = 0

:HEIST2_13580
Player.SetControl($statbike_temp, False)
182@ = Sequence.Open()
if 
  134@ == 0
goto_if_false @HEIST2_13683
Task.TurnCharToFaceCoord(-1, 89@(37@,5f), 94@(37@,5f), 99@(37@,5f))
Task.PlayAnim(-1, "BOM_PLANT_IN", "BOMBER", 4.0, False, False, False, False, -1)
goto @HEIST2_13731

:HEIST2_13683
Task.PlayAnim(-1, "BOM_PLANT_CROUCH_IN", "BOMBER", 4.0, False, False, False, False, -1)

:HEIST2_13731
Task.PlayAnim(-1, "BOM_PLANT_LOOP", "BOMBER", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "BOM_PLANT_LOOP", "BOMBER", 4.0, False, False, False, False, -1)
if 
  134@ == 1
goto_if_false @HEIST2_13897
Task.PlayAnim(-1, "BOM_PLANT_CROUCH_OUT", "BOMBER", 4.0, False, False, False, False, -1)
Task.ToggleDuck(-1, True)
goto @HEIST2_13941

:HEIST2_13897
Task.PlayAnim(-1, "BOM_PLANT_2IDLE", "BOMBER", 4.0, False, False, False, False, -1)

:HEIST2_13941
Sequence.Close(182@)
Char.PerformSequence($stattreadstamina_ctr, 182@)
Sequence.Clear(182@)
TIMERA = 0
106@ = 0

:HEIST2_13973
if 
  106@ == 0
goto_if_false @HEIST2_14295
if 
  134@ == 0
goto_if_false @HEIST2_14152
if or
  Char.IsPlayingAnim($stattreadstamina_ctr, "BOM_PLANT_2IDLE")
  TIMERA > 6000
goto_if_false @HEIST2_14145
89@(37@,5f), 94@(37@,5f), 99@(37@,5f) = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.5, -1.0)
169@(37@,5i) = Object.Create(363, 89@(37@,5f), 94@(37@,5f), 99@(37@,5f))
Object.SetHeading(169@(37@,5i), 100.0)
106@ = 1

:HEIST2_14145
goto @HEIST2_14284

:HEIST2_14152
39@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if or
  is_int_lvar_equal_to_constant 39@ == 7
  TIMERA > 6000
goto_if_false @HEIST2_14284
89@(37@,5f), 94@(37@,5f), 99@(37@,5f) = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.5, -1.0)
169@(37@,5i) = Object.Create(363, 89@(37@,5f), 94@(37@,5f), 99@(37@,5f))
Object.SetHeading(169@(37@,5i), 100.0)
106@ = 1

:HEIST2_14284
wait 0
goto @HEIST2_13973

:HEIST2_14295
Text.PrintNow('HEI2_58', 4000, 1)
Player.SetControl($statbike_temp, True)
108@(37@,5i) = 1

:HEIST2_14329
37@ += 1
goto @HEIST2_13364

:HEIST2_14343
if 
  122@ == 0
goto_if_false @HEIST2_14370
Text.ClearHelp
121@ = 0

:HEIST2_14370
if 
  34@ == 5
goto_if_false @HEIST2_14433
Text.ClearPrints
145@ = Blip.AddForCoord(-959.5947, 1953.122, 8.0078)
Text.Print('HEI2_5', 10000, 1)
107@ = 5

:HEIST2_14433
if 
  107@ == 5
goto_if_false @HEIST2_14790
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -959.5947, 1953.122, 8.0078, 2.0, 2.0, 2.0, 35@)
goto_if_false @HEIST2_14783
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.DoFade(1500, Fade.Out)

:HEIST2_14518
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_14542
wait 0
goto @HEIST2_14518

:HEIST2_14542
185@ = 1
35@ = 0
Blip.Remove(145@)
Pickup.Remove(104@)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Object.Delete(169@)
Object.Delete(170@)
Object.Delete(171@)
Object.Delete(172@)
Object.Delete(173@)
Char.Delete(157@)
Char.Delete(158@)
Char.Delete(159@)
Char.Delete(160@)
Char.Delete(161@)
Char.Delete(162@)
Object.MarkAsNoLongerNeeded(169@)
Object.MarkAsNoLongerNeeded(170@)
Object.MarkAsNoLongerNeeded(171@)
Object.MarkAsNoLongerNeeded(172@)
Object.MarkAsNoLongerNeeded(173@)
Char.MarkAsNoLongerNeeded(157@)
Char.MarkAsNoLongerNeeded(158@)
Char.MarkAsNoLongerNeeded(159@)
Char.MarkAsNoLongerNeeded(160@)
Char.MarkAsNoLongerNeeded(161@)
Char.MarkAsNoLongerNeeded(162@)
Streaming.MarkModelAsNoLongerNeeded(363)
Streaming.RequestModel(453)

:HEIST2_14700
if 
  not Streaming.HasModelLoaded(453)
goto_if_false @HEIST2_14727
wait 0
goto @HEIST2_14700

:HEIST2_14727
167@ = Car.Create(453, -638.0, 1955.0, 1.0)
Car.SetHeading(167@, 180.0)
gosub @HEIST2_14797
Text.ClearPrints
goto @HEIST2_18797
goto @HEIST2_14790

:HEIST2_14783
35@ = 1

:HEIST2_14790
goto @HEIST2_1813

:HEIST2_14797
if 
  119@ == 0
goto_if_false @HEIST2_18777
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Parachute)
goto_if_false @HEIST2_14853
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Parachute)

:HEIST2_14853
Streaming.RequestAnimation("DAM_JUMP")
Streaming.RequestAnimation("BD_FIRE")
Streaming.RequestAnimation("BOMBER")
Streaming.RequestModel(427)
Streaming.RequestModel(599)
Streaming.SetAreaVisible(0)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)

:HEIST2_14914
if or
  not Streaming.HasAnimationLoaded("DAM_JUMP")
  not Streaming.HasAnimationLoaded("BD_FIRE")
  not Streaming.HasAnimationLoaded("BOMBER")
  not Streaming.HasModelLoaded(599)
  not Streaming.HasModelLoaded(427)
goto_if_false @HEIST2_14979
wait 0
goto @HEIST2_14914

:HEIST2_14979
World.ClearExtraColors(False)
Char.SetCoordinates($stattreadstamina_ctr, -596.3235, 2015.608, 75.9845)
Char.SetHeading($stattreadstamina_ctr, 330.0)
Streaming.LoadScene(-594.9886, 2018.639, 76.8829)
Streaming.RequestCollision(-594.9886, 2018.639)
Camera.SetFixedPosition(-595.73, 2001.92, 78.66, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-601.02, 2033.63, 73.91, SwitchType.JumpCut)
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
World.ClearArea(-683.0, 2053.0, 59.1719, 50.0, True)
World.ClearArea(-488.0, 2001.0, 59.4028, 50.0, True)
225@ = Car.Create(599, -683.0, 2053.0, 59.1719)
Car.SetHeading(225@, 268.7848)
Car.SetCanGoAgainstTraffic(225@, True)
Car.SwitchSiren(225@, True)
226@ = Car.Create(599, -486.0, 2006.0, 59.4028)
Car.SetHeading(226@, 130.7071)
Car.SetCanGoAgainstTraffic(226@, True)
Car.SwitchSiren(226@, True)
227@ = Car.Create(427, -694.0, 2055.0, 59.1719)
Car.SetHeading(227@, 268.7848)
Car.SetCanGoAgainstTraffic(227@, True)
Car.SwitchSiren(227@, True)
228@ = Car.Create(427, -491.0, 1997.0, 59.4028)
Car.SetHeading(228@, 126.7071)
Car.SetCanGoAgainstTraffic(228@, True)
Car.SwitchSiren(228@, True)
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
Camera.DoFade(1500, Fade.In)

:HEIST2_15357
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_15381
wait 0
goto @HEIST2_15357

:HEIST2_15381
TIMERB = 0
Char.ClearTasks($stattreadstamina_ctr)
skip_cutscene_start_internal @HEIST2_18567
209@ = 0
210@ = 1
211@ = 2
212@ = 0
213@ = 0
214@ = 0
215@ = 0
216@ = 0
217@ = 0
218@ = 0
222@ = 0
224@ = 0
223@ = 0

:HEIST2_15491
wait 0
if 
  209@ <> 0
goto_if_false @HEIST2_15766
if 
  212@ == 0
goto_if_false @HEIST2_15559
if 
  Audio.HasMissionAudioLoaded(211@)
goto_if_false @HEIST2_15552
Audio.ClearMissionAudio(211@)

:HEIST2_15552
212@ = 1

:HEIST2_15559
if 
  212@ == 1
goto_if_false @HEIST2_15596
Audio.LoadMissionAudio(210@, 191@(209@,18i))
212@ = 2

:HEIST2_15596
if 
  212@ == 2
goto_if_false @HEIST2_15656
if 
  Audio.HasMissionAudioLoaded(210@)
goto_if_false @HEIST2_15656
Audio.PlayMissionAudio(210@)
Text.PrintNow($7895(209@,18s), 10000, 1)
212@ = 3

:HEIST2_15656
if 
  212@ == 3
goto_if_false @HEIST2_15766
if 
  Audio.HasMissionAudioFinished(210@)
goto_if_false @HEIST2_15766
Text.ClearThisPrint($7895(209@,18s))
if 
  210@ == 1
goto_if_false @HEIST2_15738
210@ = 2
211@ = 1
goto @HEIST2_15752

:HEIST2_15738
210@ = 1
211@ = 2

:HEIST2_15752
209@ = 0
212@ = 0

:HEIST2_15766
if 
  222@ <> 0
goto_if_false @HEIST2_15955
if 
  223@ == 0
goto_if_false @HEIST2_15828
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST2_15821
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:HEIST2_15821
223@ = 1

:HEIST2_15828
if 
  223@ == 1
goto_if_false @HEIST2_15864
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 220@(222@,2i))
223@ = 2

:HEIST2_15864
if 
  223@ == 2
goto_if_false @HEIST2_15908
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST2_15908
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
223@ = 3

:HEIST2_15908
if 
  223@ == 3
goto_if_false @HEIST2_15955
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot3)
goto_if_false @HEIST2_15955
222@ = 0
223@ = 0

:HEIST2_15955
switch_start 214@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @HEIST2_16459 {caseNum1} 0 {caseLabel1} @HEIST2_16018 {caseNum2} 1 {caseLabel2} @HEIST2_16080 {caseNum3} -1 {caseLabel3} @HEIST2_16544 {caseNum4} -1 {caseLabel4} @HEIST2_16544 {caseNum5} -1 {caseLabel5} @HEIST2_16544 {caseNum6} -1 {caseLabel6} @HEIST2_16544 {caseNum7} -1 {caseLabel7} @HEIST2_16544

:HEIST2_16018
if 
  212@ == 0
goto_if_false @HEIST2_16073
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk($stattreadstamina_ctr, 4000)
209@ = 16
Task.ScratchHead($stattreadstamina_ctr)
214@ = 1
217@ = Clock.GetGameTimer()

:HEIST2_16073
goto @HEIST2_16544

:HEIST2_16080
216@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 215@ = 216@
sub_int_lvar_from_int_lvar 215@ -= 217@
if 
  215@ > 2000
goto_if_false @HEIST2_16452
if 
  212@ == 0
goto_if_false @HEIST2_16452
if 
  224@ == 1
goto_if_false @HEIST2_16420
if 
  223@ == 0
goto_if_false @HEIST2_16413
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk($stattreadstamina_ctr, 4000)
209@ = 14
214@ = 2
217@ = Clock.GetGameTimer()
Camera.SetFixedPosition(-596.53, 2013.11, 76.53, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-598.08, 2045.39, 79.93, SwitchType.JumpCut)
Char.ClearTasks($stattreadstamina_ctr)
183@ = Sequence.Open()
Task.PlayAnim(-1, "BOM_PLANT_IN", "BOMBER", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "BOM_PLANT_LOOP", "BOMBER", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "BOM_PLANT_2IDLE", "BOMBER", 4.0, False, False, False, False, -1)
Sequence.Close(183@)
Char.PerformSequence($stattreadstamina_ctr, 183@)
Sequence.Clear(183@)

:HEIST2_16413
goto @HEIST2_16452

:HEIST2_16420
if 
  224@ == 0
goto_if_false @HEIST2_16452
222@ = 1
224@ = 1

:HEIST2_16452
goto @HEIST2_16544

:HEIST2_16459
216@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 215@ = 216@
sub_int_lvar_from_int_lvar 215@ -= 217@
if 
  215@ > 1000
goto_if_false @HEIST2_16537
if 
  212@ == 0
goto_if_false @HEIST2_16537
Char.StopFacialTalk($stattreadstamina_ctr)
Char.StartFacialTalk($stattreadstamina_ctr, 4000)
213@ = 1

:HEIST2_16537
goto @HEIST2_16544

:HEIST2_16544
if 
  213@ == 0
goto_if_false @HEIST2_16569
goto @HEIST2_15491

:HEIST2_16569
106@ = 0
TIMERA = 0

:HEIST2_16583
if 
  106@ == 0
goto_if_false @HEIST2_16648
39@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 39@ == 7
goto_if_false @HEIST2_16637
106@ = 1

:HEIST2_16637
wait 0
goto @HEIST2_16583

:HEIST2_16648
Char.ClearTasks($stattreadstamina_ctr)
Char.ClearLookAt($stattreadstamina_ctr)
183@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, -598.5344, 2017.53, 75.9845, 4, -1)
Task.AchieveHeading(-1, 70.0)
Task.PlayAnimNonInterruptable(-1, "BD_PANIC_02", "BD_FIRE", 4.0, False, False, False, False, -1)
Sequence.Close(183@)
Char.PerformSequence($stattreadstamina_ctr, 183@)
Sequence.Clear(183@)
209@ = 17
210@ = 1
211@ = 2
212@ = 0
213@ = 0
214@ = 0
215@ = 0
216@ = 0
217@ = 0
218@ = 0
106@ = 0
TIMERA = 0

:HEIST2_16838
if 
  106@ == 0
goto_if_false @HEIST2_17388
if 
  209@ <> 0
goto_if_false @HEIST2_17127
if 
  212@ == 0
goto_if_false @HEIST2_16920
if 
  Audio.HasMissionAudioLoaded(211@)
goto_if_false @HEIST2_16913
Audio.ClearMissionAudio(211@)

:HEIST2_16913
212@ = 1

:HEIST2_16920
if 
  212@ == 1
goto_if_false @HEIST2_16957
Audio.LoadMissionAudio(210@, 191@(209@,18i))
212@ = 2

:HEIST2_16957
if 
  212@ == 2
goto_if_false @HEIST2_17017
if 
  Audio.HasMissionAudioLoaded(210@)
goto_if_false @HEIST2_17017
Audio.PlayMissionAudio(210@)
Text.PrintNow($7895(209@,18s), 10000, 1)
212@ = 3

:HEIST2_17017
if 
  212@ == 3
goto_if_false @HEIST2_17127
if 
  Audio.HasMissionAudioFinished(210@)
goto_if_false @HEIST2_17127
Text.ClearThisPrint($7895(209@,18s))
if 
  210@ == 1
goto_if_false @HEIST2_17099
210@ = 2
211@ = 1
goto @HEIST2_17113

:HEIST2_17099
210@ = 1
211@ = 2

:HEIST2_17113
209@ = 0
212@ = 0

:HEIST2_17127
39@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 39@ == 7
goto_if_false @HEIST2_17170
106@ = 1
goto @HEIST2_17377

:HEIST2_17170
if 
  is_int_lvar_equal_to_constant 39@ == 1
goto_if_false @HEIST2_17377
39@ = Char.GetSequenceProgress($stattreadstamina_ctr)
if 
  39@ == 1
goto_if_false @HEIST2_17377
if 
  not Car.IsDead(225@)
goto_if_false @HEIST2_17270
Car.SetForwardSpeed(225@, 20.0)
Car.SetCruiseSpeed(225@, 40.0)
Car.GotoCoordinates(225@, -591.4136, 2024.863, 59.1719)

:HEIST2_17270
if 
  not Car.IsDead(227@)
goto_if_false @HEIST2_17326
Car.SetForwardSpeed(227@, 20.0)
Car.SetCruiseSpeed(227@, 40.0)
Car.GotoCoordinates(227@, -591.4136, 2024.863, 59.1719)

:HEIST2_17326
Camera.SetFixedPosition(-597.14, 2017.04, 78.03, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-637.05, 2036.76, 64.61, SwitchType.JumpCut)

:HEIST2_17377
wait 0
goto @HEIST2_16838

:HEIST2_17388
Char.SetCoordinates($stattreadstamina_ctr, -598.5344, 2017.53, 75.9845)
Char.SetHeading($stattreadstamina_ctr, 70.0)
Camera.SetFixedPosition(-601.69, 2017.41, 78.85, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-576.19, 2014.02, 68.86, SwitchType.JumpCut)
183@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BD_PANIC_04", "BD_FIRE", 4.0, False, False, False, False, -1)
Task.GoToCoordAnyMeans(-1, -596.3235, 2015.608, 75.9845, 4, -1)
Task.AchieveHeading(-1, 148.5634)
Sequence.Close(183@)
Char.PerformSequence($stattreadstamina_ctr, 183@)
Sequence.Clear(183@)
106@ = 0
TIMERA = 0

:HEIST2_17579
if 
  106@ == 0
goto_if_false @HEIST2_17807
39@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 39@ == 7
goto_if_false @HEIST2_17640
106@ = 1
goto @HEIST2_17796

:HEIST2_17640
if 
  is_int_lvar_equal_to_constant 39@ == 1
goto_if_false @HEIST2_17796
39@ = Char.GetSequenceProgress($stattreadstamina_ctr)
if 
  39@ == 0
goto_if_false @HEIST2_17796
if 
  not Car.IsDead(226@)
goto_if_false @HEIST2_17740
Car.SetForwardSpeed(226@, 20.0)
Car.SetCruiseSpeed(226@, 40.0)
Car.GotoCoordinates(226@, -587.4136, 2036.863, 59.1719)

:HEIST2_17740
if 
  not Car.IsDead(228@)
goto_if_false @HEIST2_17796
Car.SetForwardSpeed(228@, 20.0)
Car.SetCruiseSpeed(228@, 40.0)
Car.GotoCoordinates(228@, -587.4136, 2036.863, 59.1719)

:HEIST2_17796
wait 0
goto @HEIST2_17579

:HEIST2_17807
Camera.SetFixedPosition(-596.51, 2000.5, 79.7, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-600.79, 2009.02, 75.31, SwitchType.JumpCut)
Char.ClearLookAt($stattreadstamina_ctr)
Char.ClearTasks($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -596.3235, 2015.608, 75.9845)
Char.SetHeading($stattreadstamina_ctr, 148.5634)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "DAM_LAUNCH", "DAM_JUMP", 4.0, False, False, False, False, -1)
106@ = 0

:HEIST2_17947
if 
  106@ == 0
goto_if_false @HEIST2_18037
39@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 2066)
if 
  is_int_lvar_equal_to_constant 39@ == 7
goto_if_false @HEIST2_18026
Char.SetCoordinates($stattreadstamina_ctr, -613.74, 1980.77, 52.13)
wait 200
106@ = 1

:HEIST2_18026
wait 0
goto @HEIST2_17947

:HEIST2_18037
Camera.SetFixedPosition(-607.52, 1963.5, 41.26, 0.0, 0.0, 0.0)
Camera.PointAtChar($stattreadstamina_ctr, CameraMode.Fixed, SwitchType.JumpCut)
Car.Delete(225@)
Car.Delete(226@)
Car.Delete(227@)
Car.Delete(228@)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "DAM_DIVE_LOOP", "DAM_JUMP", 1000.0, True, False, False, False, -1)
106@ = 0

:HEIST2_18150
if 
  106@ == 0
goto_if_false @HEIST2_18234
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -613.74, 1980.77, 10.824, 50.0, 50.0, 1.0, False)
goto_if_false @HEIST2_18223
106@ = 1

:HEIST2_18223
wait 0
goto @HEIST2_18150

:HEIST2_18234
Camera.SetFixedPosition(-620.95, 1970.46, 4.58, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-610.92, 1984.83, -2.79, SwitchType.JumpCut)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "DAM_LAND", "DAM_JUMP", 4.0, False, True, True, False, -1)
106@ = 0
125@ = 0

:HEIST2_18339
if 
  106@ == 0
goto_if_false @HEIST2_18567
39@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 2066)
if 
  is_int_lvar_equal_to_constant 39@ == 7
goto_if_false @HEIST2_18400
106@ = 1
goto @HEIST2_18556

:HEIST2_18400
if 
  125@ == 0
goto_if_false @HEIST2_18556
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "DAM_LAND")
goto_if_false @HEIST2_18556
46@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "DAM_LAND")
if 
  46@ > 0.115
goto_if_false @HEIST2_18556
40@ = Particle.Create("WATER_SPLASH", -613.74, 1980.77, -0.8, 1)
if 
  40@ == -1
goto_if_false @HEIST2_18544
goto @HEIST2_18556

:HEIST2_18544
Particle.PlayAndKill(40@)
125@ = 1

:HEIST2_18556
wait 0
goto @HEIST2_18339

:HEIST2_18567
skip_cutscene_end 
Audio.ClearMissionAudio(210@)
Audio.ClearMissionAudio(211@)
Text.ClearPrints
Camera.DoFade(1000, Fade.Out)

:HEIST2_18588
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_18612
wait 0
goto @HEIST2_18588

:HEIST2_18612
Char.SetCoordinatesNoOffset($stattreadstamina_ctr, -613.74, 1980.77, -0.5)
Char.SetHeading($stattreadstamina_ctr, 148.5634)
Streaming.RemoveAnimation("DAM_JUMP")
Streaming.RemoveAnimation("BOMBER")
Streaming.RemoveAnimation("BD_FIRE")
Car.MarkAsNoLongerNeeded(225@)
Car.MarkAsNoLongerNeeded(226@)
Car.MarkAsNoLongerNeeded(227@)
Car.MarkAsNoLongerNeeded(228@)
Streaming.MarkModelAsNoLongerNeeded(599)
Streaming.MarkModelAsNoLongerNeeded(427)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Camera.RestoreJumpcut
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Camera.DoFade(1500, Fade.In)

:HEIST2_18739
if 
  Camera.GetFadingStatus
goto_if_false @HEIST2_18763
wait 0
goto @HEIST2_18739

:HEIST2_18763
Player.SetControl($statbike_temp, True)
119@ = 1

:HEIST2_18777
return 

:HEIST2_18779
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:HEIST2_18797
$desert2X += 1
Stat.RegisterMissionPassed('HEIST_2')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSR', 5, 5000, TextStyle.Middle)
Audio.PlayMissionPassedTune(1)
Stat.AwardPlayerMissionRespect(5)
return 

:HEIST2_18847
$can_skip_smoking_cutscene = 1
$flag_courier_mission_passed = Clock.GetGameTimer()
Hud.DisplayRadar(True)
Weather.Release
Hud.SetRadarZoom(0)
World.SwitchEntryExit('DAMIN', True)
World.SwitchEntryExit('DAMOUT', True)
Streaming.RemoveCarRecording(805)
if 
  135@ == 1
goto_if_false @HEIST2_18941
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HEIST2_18941
Pad.SetPlayerCycleWeaponButton($statbike_temp, True)

:HEIST2_18941
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetArea51SamSite(True)
Blip.Remove(140@)
Blip.Remove(141@)
Blip.Remove(142@)
Blip.Remove(143@)
Blip.Remove(144@)
Blip.Remove(154@)
Blip.Remove(155@)
Blip.Remove(145@)
Blip.Remove(152@)
Blip.Remove(156@)
36@ = 0

:HEIST2_19016
if 
  6 > 36@
goto_if_false @HEIST2_19057
Blip.Remove(146@(36@,6i))
36@ += 1
goto @HEIST2_19016

:HEIST2_19057
Checkpoint.Delete(153@)
Object.MarkAsNoLongerNeeded(169@)
Object.MarkAsNoLongerNeeded(170@)
Object.MarkAsNoLongerNeeded(171@)
Object.MarkAsNoLongerNeeded(172@)
Object.MarkAsNoLongerNeeded(173@)
Object.MarkAsNoLongerNeeded(174@)
Object.MarkAsNoLongerNeeded(175@)
Object.MarkAsNoLongerNeeded(176@)
Object.MarkAsNoLongerNeeded(177@)
Object.MarkAsNoLongerNeeded(178@)
Object.MarkAsNoLongerNeeded(179@)
Object.MarkAsNoLongerNeeded(180@)
Char.MarkAsNoLongerNeeded(163@)
Char.MarkAsNoLongerNeeded(164@)
Char.MarkAsNoLongerNeeded(157@)
Char.MarkAsNoLongerNeeded(158@)
Char.MarkAsNoLongerNeeded(159@)
Char.MarkAsNoLongerNeeded(160@)
Char.MarkAsNoLongerNeeded(161@)
Char.MarkAsNoLongerNeeded(162@)
Char.MarkAsNoLongerNeeded(165@)
Char.MarkAsNoLongerNeeded(165@)
Car.MarkAsNoLongerNeeded(167@)
Car.MarkAsNoLongerNeeded(225@)
Car.MarkAsNoLongerNeeded(226@)
Car.MarkAsNoLongerNeeded(227@)
Car.MarkAsNoLongerNeeded(228@)
Streaming.MarkModelAsNoLongerNeeded(427)
Streaming.MarkModelAsNoLongerNeeded(599)
Streaming.MarkModelAsNoLongerNeeded(#SMASHBOXPILE)
Streaming.MarkModelAsNoLongerNeeded(#K_CARGO1)
Streaming.MarkModelAsNoLongerNeeded(#KMB_CONTAINER_RED)
Streaming.MarkModelAsNoLongerNeeded(#K_CARGO4)
Streaming.MarkModelAsNoLongerNeeded(371)
Streaming.MarkModelAsNoLongerNeeded(71)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(334)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(335)
Streaming.MarkModelAsNoLongerNeeded(363)
Streaming.MarkModelAsNoLongerNeeded(453)
Streaming.MarkModelAsNoLongerNeeded(335)
Car.LockDoors(168@, CarLock.Unlocked)
Car.MarkAsNoLongerNeeded(168@)
Streaming.MarkModelAsNoLongerNeeded(553)
Streaming.MarkModelAsNoLongerNeeded(#SW_BIT_09)
Pickup.Remove(104@)
Streaming.RemoveAnimation("BOMBER")
Streaming.RemoveAnimation("DAM_JUMP")
Streaming.RemoveAnimation("BD_FIRE")
DecisionMaker.Remove(38@)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 99---------------
// Originally: Cop Wheels

:HEIST4
script_name 'HEIST4'
gosub @HEIST4_47
if 
  has_deatharrest_been_executed 
goto_if_false @HEIST4_38
gosub @HEIST4_13141

:HEIST4_38
gosub @HEIST4_13214
terminate_this_script 

:HEIST4_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('HEIST4')
wait 0
Streaming.SetAreaVisible(10)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2016.422, 1017.102, 10.0)
Char.SetCoordinates($stattreadstamina_ctr, 2033.974, 1017.29, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 288.0)
34@ = Player.GetGroup($statbike_temp)
Player.SetGroupRecruitment($statbike_temp, False)
Group.SetFollowStatus(34@, False)
Player.SetGroupToFollowNever($statbike_temp, True)
Cutscene.Load('HEIST5A')

:HEIST4_165
if 
  not Cutscene.HasLoaded
goto_if_false @HEIST4_189
wait 0
goto @HEIST4_165

:HEIST4_189
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:HEIST4_198
if 
  not Cutscene.HasFinished
goto_if_false @HEIST4_222
wait 0
goto @HEIST4_198

:HEIST4_222
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:HEIST4_235
if 
  Camera.GetFadingStatus
goto_if_false @HEIST4_259
wait 0
goto @HEIST4_235

:HEIST4_259
Cutscene.Clear
Game.SwitchCopsOnBikes(False)
Streaming.LoadScene(2031.168, 1030.918, 9.813)
Streaming.RequestCollision(2031.168, 1030.918)
Streaming.SetAreaVisible(0)
wait 0
Player.SetControl($statbike_temp, False)
104@ = 0
194@ = 1
195@ = 2
196@ = 0
197@ = 1
198@ = 0
199@ = 0
set_lvar_text_label 139@s = 'HE4_AA'
set_lvar_text_label 141@s = 'HE4_AB'
set_lvar_text_label 143@s = 'HE4_AC'
set_lvar_text_label 145@s = 'HE4_BA'
set_lvar_text_label 147@s = 'HE4_BB'
set_lvar_text_label 149@s = 'HE4_BC'
set_lvar_text_label 151@s = 'HE4_BD'
set_lvar_text_label 153@s = 'HE4_BE'
set_lvar_text_label 155@s = 'HE4_BF'
set_lvar_text_label 157@s = 'HE4_BG'
set_lvar_text_label 159@s = 'HE4_BH'
set_lvar_text_label 161@s = 'HE4_BJ'
set_lvar_text_label 163@s = 'HE4_BK'
set_lvar_text_label 165@s = 'HE4_BL'
set_lvar_text_label 167@s = 'HE4_BM'
set_lvar_text_label 169@s = 'HE4_CA'
set_lvar_text_label 171@s = 'HE4_CB'
set_lvar_int_to_constant 176@ = 18600
set_lvar_int_to_constant 177@ = 18601
set_lvar_int_to_constant 178@ = 18602
set_lvar_int_to_constant 179@ = 18603
set_lvar_int_to_constant 180@ = 18604
set_lvar_int_to_constant 181@ = 18605
set_lvar_int_to_constant 182@ = 18606
set_lvar_int_to_constant 183@ = 18607
set_lvar_int_to_constant 184@ = 18608
set_lvar_int_to_constant 185@ = 18609
set_lvar_int_to_constant 186@ = 18610
set_lvar_int_to_constant 187@ = 18611
set_lvar_int_to_constant 188@ = 18612
set_lvar_int_to_constant 189@ = 18613
set_lvar_int_to_constant 190@ = 18614
set_lvar_int_to_constant 191@ = 18615
set_lvar_int_to_constant 192@ = 18616
Streaming.RequestModel(443)
Streaming.RequestModel(523)
Streaming.RequestModel(284)
Streaming.RequestModel(346)
Streaming.RequestModel(598)
Streaming.RequestModel(32)
Streaming.RequestModel(463)
Streaming.RequestModel(34)
Streaming.RequestModel(33)
Streaming.RequestModel(50)
Streaming.RequestModel(117)
Streaming.RequestAnimation("SMOKING")
Streaming.RequestAnimation("MISC")
Char.SetHeading($stattreadstamina_ctr, 342.8127)
Streaming.LoadAllModelsNow

:HEIST4_813
if or
  not Streaming.HasModelLoaded(443)
  not Streaming.HasModelLoaded(523)
  not Streaming.HasModelLoaded(284)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(32)
goto_if_false @HEIST4_859
wait 0
goto @HEIST4_813

:HEIST4_859
if or
  not Streaming.HasAnimationLoaded("SMOKING")
  not Streaming.HasModelLoaded(598)
  not Streaming.HasAnimationLoaded("MISC")
  not Streaming.HasModelLoaded(463)
goto_if_false @HEIST4_910
wait 0
goto @HEIST4_859

:HEIST4_910
if or
  not Streaming.HasModelLoaded(50)
  not Streaming.HasModelLoaded(33)
  not Streaming.HasModelLoaded(34)
  not Streaming.HasModelLoaded(117)
goto_if_false @HEIST4_948
wait 0
goto @HEIST4_910

:HEIST4_948
Streaming.LoadScene(2031.168, 1030.918, 9.813)
61@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
62@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
111@, 112@, 113@ = Char.GetCoordinates($stattreadstamina_ctr)
World.ClearArea(111@, 112@, 113@, 1000.0, False)

:HEIST4_1011
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @HEIST4_1038
wait 0
goto @HEIST4_1011

:HEIST4_1038
204@ = 2710.623
224@ = 1397.883
205@ = 2711.071
225@ = 1175.003
206@ = 2590.812
226@ = 898.2437
207@ = 2203.896
227@ = 849.0437
208@ = 1833.473
228@ = 850.4182
209@ = 1541.602
229@ = 848.788
210@ = 1288.89
230@ = 901.789
211@ = 1224.975
231@ = 1240.59
212@ = 1224.064
232@ = 1744.703
213@ = 1224.173
233@ = 2071.703
214@ = 1279.245
234@ = 2398.683
215@ = 1566.816
235@ = 2457.233
216@ = 1931.45
236@ = 2521.858
217@ = 2442.573
237@ = 2609.429
218@ = 2704.658
238@ = 2343.654
219@ = 2710.891
239@ = 2065.317
220@ = 2711.892
240@ = 1830.5
World.ClearArea(2710.525, 1567.009, 100.0, 100.0, False)
Car.CustomPlateForNextCar(443, "CFC_1888")
244@ = Car.Create(443, 2711.326, 1567.045, 6.2)
Car.SetHeading(244@, 175.1379)
Car.ChangeColor(244@, 16, 16)
Car.SetUpsidedownNotDamaged(244@, True)
Car.SetHealth(244@, 2500)
Car.AddUpsidedownCheck(244@)
StuckCarCheck.Add(244@, 4.0, 3000)
Car.OpenDoor(244@, CarDoor.RightFrontDoor)
Car.SetStayInFastLane(244@, True)
Car.SetOnlyDamagedByPlayer(244@, True)
Car.LockDoors(244@, CarLock.Locked)
Car.SetCanGoAgainstTraffic(244@, False)
245@ = Char.CreateInsideCar(244@, PedType.Mission1, 117)
115@ = Char.Create(PedType.Mission1, 50, 2715.326, 1569.045, 7.2)
Char.SetProofs(115@, True, True, True, True, True)
Char.SetNeverTargeted(115@, True)
Char.AttachToCar(115@, 244@, 1.0, 3.1, 0.4, 2, 0.0, WeaponType.Unarmed)
Char.SetLoadCollisionFlag(115@, False)
Char.SetDecisionMaker(245@, 61@)
Char.SetDecisionMaker(115@, 61@)
Char.SetLoadCollisionFlag(245@, False)
Char.SetCanBeShotInVehicle(245@, False)
Char.SetCantBeDraggedOut(245@, True)
Char.SetStayInCarWhenJacked(245@, True)
Char.SetSuffersCriticalHits(245@, False)
Char.SetGetOutUpsideDownCar(245@, False)
Car.SetLoadCollisionFlag(244@, False)
Streaming.MarkModelAsNoLongerNeeded(443)
246@ = 2770.213
250@ = 1433.86
254@ = 9.3804
258@ = 257.0
247@ = 2620.683
251@ = 2333.686
255@ = 9.8203
259@ = 174.5638
248@ = 2316.935
252@ = 2457.006
256@ = 9.8203
260@ = 140.3
249@ = 1610.588
253@ = 1845.602
257@ = 9.828
261@ = 235.7296
60@ = 99
$gate_drive_car_heist5 = 720000
66@ = 0
72@ = 0
80@ = 0
85@ = 0
88@ = 0
67@ = 0
73@ = 0
89@ = 0
90@ = 0
101@ = 0
102@ = 0
103@ = 0
106@ = 0
107@ = 0
108@ = 0
109@ = 0
110@ = 0
114@ = 0
131@ = 0
48@ = 0
if 
  48@ == -1
goto_if_false @HEIST4_2102
279@(48@,4i) = Car.Create(523, $on_footY, $on_footZ, $in_carX)
35@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
63@ = Char.Create(PedType.Mission1, 284, $on_footY, $on_footZ, $in_carX)
70@ = Char.Create(PedType.Mission1, 284, $on_footY, $on_footZ, $in_carX)

:HEIST4_2102
if 
  4 > 48@
goto_if_false @HEIST4_2197
283@(48@,4i) = Blip.AddForCoord(246@(48@,4f), 250@(48@,4f), 254@(48@,4f))
Blip.ChangeColor(283@(48@,4i), BlipColor.Green)
262@(48@,4i) = 0
266@(48@,4i) = 0
48@ += 1
goto @HEIST4_2102

:HEIST4_2197
270@ = 0.6
271@ = 0.0
272@ = 1.9
273@ = 0
274@ = 15.0
47@ = 0
275@ = 0
76@ = Char.Create(PedType.Mission1, 284, 2311.019, 2438.368, 9.8203)
Char.SetDecisionMaker(76@, 61@)
Char.SetHeading(76@, 297.0)
Char.GiveWeapon(76@, WeaponType.Pistol, 2000)
77@ = Char.Create(PedType.Mission1, 284, 2311.85, 2439.375, 9.8203)
Char.SetDecisionMaker(77@, 61@)
Char.SetHeading(77@, 115.0)
Char.GiveWeapon(77@, WeaponType.Pistol, 2000)
82@ = Char.Create(PedType.Mission1, 284, 1612.244, 1845.855, 9.828)
Char.SetDecisionMaker(82@, 61@)
Char.SetHeading(82@, 110.0)
Char.GiveWeapon(82@, WeaponType.Pistol, 2000)
Char.SetCanBeKnockedOffBike(82@, 3)
63@ = Char.Create(PedType.Mission1, 284, 2768.797, 1431.239, 9.487)
Char.GiveWeapon(63@, WeaponType.Pistol, 2000)
Char.SetDecisionMaker(63@, 61@)
Char.SetHeading(63@, 111.0)
Streaming.MarkModelAsNoLongerNeeded(284)
68@ = Char.Create(PedType.Mission1, 34, 2767.537, 1424.877, 9.2195)
Char.SetAnimGroup(68@, "DRUNKMAN")
Char.SetDecisionMaker(68@, 61@)
Char.SetHeading(68@, 347.0)
70@ = Char.Create(PedType.Mission1, 284, 2619.858, 2339.256, 10.0081)
Char.SetCanBeKnockedOffBike(70@, 3)
Char.GiveWeapon(70@, WeaponType.Pistol, 2000)
Char.SetDecisionMaker(70@, 61@)
Char.SetHeading(70@, 300.0)
92@ = Car.Create(463, 2634.011, 2343.212, 9.6797)
Car.SetHeading(92@, 120.0386)
Car.SetLoadCollisionFlag(92@, False)
93@ = Car.Create(463, 2625.69, 2336.85, 9.6875)
Car.SetHeading(93@, 183.0386)
Car.SetLoadCollisionFlag(93@, False)
94@ = Car.Create(463, 2637.847, 2347.576, 9.6797)
Car.SetHeading(94@, 126.0963)
Car.SetLoadCollisionFlag(94@, False)
95@ = Char.CreateInsideCar(92@, PedType.Mission1, 34)
Char.SetDecisionMaker(95@, 61@)
96@ = Char.CreateInsideCar(93@, PedType.Mission1, 32)
Char.SetDecisionMaker(96@, 61@)
97@ = Char.CreateInsideCar(94@, PedType.Mission1, 33)
Char.SetDecisionMaker(97@, 61@)
Streaming.MarkModelAsNoLongerNeeded(34)
Streaming.MarkModelAsNoLongerNeeded(32)
Streaming.MarkModelAsNoLongerNeeded(33)
Streaming.MarkModelAsNoLongerNeeded(463)
Task.ChatWithChar(77@, 76@, True, 1)
Task.ChatWithChar(76@, 77@, False, 1)
Task.PlayAnim(82@, "M_SMKSTND_LOOP", "SMOKING", 4.0, True, False, False, False, -1)
Game.SwitchCopsOnBikes(False)
TIMERA = 0
TIMERB = 0
World.SetCarDensityMultiplier(1.5)
if 
  not Char.IsDead(245@)
goto_if_false @HEIST4_2996
if 
  not Car.IsDead(244@)
goto_if_false @HEIST4_2996
Char.ClearTasks(245@)
World.ClearArea(2710.525, 1731.009, 100.0, 100.0, False)
47@ = 0
Task.CarDriveToCoord(245@, 244@, 204@(47@,20f), 224@(47@,20f), 6.0, 15.0, DriveMode.Normal, 0, DrivingMode.SlowDownForCars)

:HEIST4_2996
116@ = 0
203@ = 0
276@ = Char.Create(PedType.Mission1, 117, 2029.561, 1006.041, 9.8203)
Char.SetHeading(276@, 280.0)
Char.SetDecisionMaker(276@, 61@)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(50)
Char.SetCoordinates($stattreadstamina_ctr, 2028.875, 1006.87, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 265.0)
World.ClearArea(2033.974, 1017.29, 9.8203, 1000.0, False)
wait 500
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2025.905, 1003.544, 12.1278, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2026.726, 1004.074, 11.9155, SwitchType.JumpCut)
if 
  not Char.IsDead(276@)
goto_if_false @HEIST4_3206
Task.TurnCharToFaceChar(276@, $stattreadstamina_ctr)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 276@)

:HEIST4_3206
Camera.DoFade(2000, Fade.In)

:HEIST4_3213
if 
  Camera.GetFadingStatus
goto_if_false @HEIST4_3237
wait 0
goto @HEIST4_3213

:HEIST4_3237
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
275@ = 1
TIMERA = 0

:HEIST4_3287
if 
  104@ == 1
goto_if_false @HEIST4_3392
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST4_3392

:HEIST4_3322
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST4_3350
wait 0
goto @HEIST4_3322

:HEIST4_3350
if 
  275@ > 1
goto_if_false @HEIST4_3392
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
275@ = 5
104@ = 0

:HEIST4_3392
if 
  275@ == 1
goto_if_false @HEIST4_3431
196@ = 16
275@ = 2
TIMERA = 0

:HEIST4_3431
if 
  275@ == 2
goto_if_false @HEIST4_3591
if 
  TIMERA > 3000
goto_if_false @HEIST4_3591
104@ = 1
196@ = 17
275@ = 3
TIMERA = 0
Char.ClearTasks($stattreadstamina_ctr)
Task.PlayAnim($stattreadstamina_ctr, "ENDCHAT_01", "PED", 4.0, True, False, False, False, -1)
if 
  not Char.IsDead(276@)
goto_if_false @HEIST4_3591
Task.PlayAnim(276@, "ENDCHAT_03", "PED", 4.0, True, False, False, False, -1)

:HEIST4_3591
if 
  275@ == 3
goto_if_false @HEIST4_3692
if 
  TIMERA > 2000
goto_if_false @HEIST4_3692
if 
  not Char.IsDead(276@)
goto_if_false @HEIST4_3692
Char.ClearTasks($stattreadstamina_ctr)
Char.ClearTasks(276@)
Task.GoStraightToCoord(276@, 2030.431, 984.6912, 9.8131, MoveState.Run, -2)
275@ = 4
TIMERA = 0

:HEIST4_3692
if 
  275@ == 4
goto_if_false @HEIST4_3736
if 
  TIMERA > 2000
goto_if_false @HEIST4_3736
275@ = 5

:HEIST4_3736
if 
  275@ == 5
goto_if_false @HEIST4_3857
104@ = 0
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Char.ClearTasks($stattreadstamina_ctr)
Char.SetHeading($stattreadstamina_ctr, 305.0)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Char.EnableSpeech($stattreadstamina_ctr)
Char.Delete(276@)
Text.ClearPrints
Text.PrintNow('HEI4_01', 8000, 1)
TIMERA = 0
TIMERB = 0
60@ = 2
275@ = -99

:HEIST4_3857
if 
  203@ == 0
goto_if_false @HEIST4_3889
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1096)
203@ = 1

:HEIST4_3889
if 
  203@ == 1
goto_if_false @HEIST4_3929
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST4_3929
203@ = 2

:HEIST4_3929
if 
  196@ <> 0
goto_if_false @HEIST4_4282
if 
  198@ == 0
goto_if_false @HEIST4_4000
if 
  Audio.HasMissionAudioLoaded(195@)
goto_if_false @HEIST4_3986
Audio.ClearMissionAudio(195@)

:HEIST4_3986
198@ = 1
199@ = 1

:HEIST4_4000
if 
  198@ == 1
goto_if_false @HEIST4_4037
Audio.LoadMissionAudio(194@, 175@(196@,19i))
198@ = 2

:HEIST4_4037
if 
  198@ == 2
goto_if_false @HEIST4_4097
if 
  Audio.HasMissionAudioLoaded(194@)
goto_if_false @HEIST4_4097
Audio.PlayMissionAudio(194@)
Text.Print(137@(196@,19s), 10000, 1)
198@ = 3

:HEIST4_4097
if 
  198@ == 3
goto_if_false @HEIST4_4282
if 
  Audio.HasMissionAudioFinished(194@)
goto_if_false @HEIST4_4221
Text.ClearThisPrint(137@(196@,19s))
if 
  194@ == 1
goto_if_false @HEIST4_4179
194@ = 2
195@ = 1
goto @HEIST4_4193

:HEIST4_4179
194@ = 1
195@ = 2

:HEIST4_4193
196@ = 0
198@ = 0
199@ = 0
goto @HEIST4_4282

:HEIST4_4221
if 
  not Audio.HasMissionAudioLoaded(195@)
goto_if_false @HEIST4_4282
if 
  15 > 196@
goto_if_false @HEIST4_4282
set_lvar_int_to_lvar_int 197@ = 196@
197@ += 1
Audio.LoadMissionAudio(195@, 175@(197@,19i))

:HEIST4_4282
if 
  not Car.IsDead(244@)
goto_if_false @HEIST4_4383
121@, 122@, 123@ = Car.GetOffsetInWorldCoords(244@, -1.3, -40.0, -2.0)
124@, 125@, 126@ = Car.GetOffsetInWorldCoords(244@, 1.3, 0.0, 2.0)
129@ = World.GetRandomCarOfTypeInAreaNoSave(121@, 122@, 124@, 125@, -1)
127@ = Car.GetSpeed(244@)

:HEIST4_4383
if 
  not Car.IsDead(129@)
goto_if_false @HEIST4_4425
set_lvar_float_to_lvar_float 128@ = 127@
128@ -= 4.0
Car.SetCruiseSpeed(129@, 128@)

:HEIST4_4425
if 
  not Car.IsDead(244@)
goto_if_false @HEIST4_4504
if 
  not Char.IsDead(245@)
goto_if_false @HEIST4_4504
if 
  not Char.IsInCar(245@, 244@)
goto_if_false @HEIST4_4504
if 
  not Char.IsDead(115@)
goto_if_false @HEIST4_4497
Char.DetachFromCar(115@)

:HEIST4_4497
goto @HEIST4_13141

:HEIST4_4504
if 
  114@ == 1
goto_if_false @HEIST4_4598
if 
  TIMERB > 1000
goto_if_false @HEIST4_4598
if 
  not Car.IsDead(244@)
goto_if_false @HEIST4_4598
118@, 119@, 120@ = Car.GetCoordinates(244@)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1095)
114@ = 2

:HEIST4_4598
if 
  114@ == 2
goto_if_false @HEIST4_4728
if 
  TIMERB > 1500
goto_if_false @HEIST4_4728
if 
  not Char.IsDead(115@)
goto_if_false @HEIST4_4721
if 
  not Char.IsPlayingAnim(115@, "HIKER_POSE_L")
goto_if_false @HEIST4_4721
Task.PlayAnim(115@, "HIKER_POSE_L", "MISC", 4.0, False, False, False, True, -1)

:HEIST4_4721
114@ = 3

:HEIST4_4728
if 
  114@ == 3
goto_if_false @HEIST4_4772
if 
  TIMERB > 2000
goto_if_false @HEIST4_4772
114@ = 4

:HEIST4_4772
if 
  114@ == 4
goto_if_false @HEIST4_4988
if 
  TIMERB > 4000
goto_if_false @HEIST4_4988
Char.ClearTasks($stattreadstamina_ctr)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
if 
  273@ == 4
goto_if_false @HEIST4_4845
Text.ClearPrints

:HEIST4_4845
if 
  273@ == 1
goto_if_false @HEIST4_4881
Text.ClearPrints
Text.PrintNow('HEI4_06', 5000, 1)

:HEIST4_4881
if 
  273@ == 2
goto_if_false @HEIST4_4917
Text.ClearPrints
Text.PrintNow('HEI4_08', 5000, 1)

:HEIST4_4917
if 
  273@ == 3
goto_if_false @HEIST4_4960
Text.ClearPrints
Text.PrintNow('HEI4_09', 5000, 1)
TIMERA = 0

:HEIST4_4960
if 
  not Char.IsDead(115@)
goto_if_false @HEIST4_4981
Char.ClearTasks(115@)

:HEIST4_4981
114@ = 0

:HEIST4_4988
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @HEIST4_5010
goto @HEIST4_13159

:HEIST4_5010
if 
is_ps2_keyboard_key_pressed 87
goto_if_false @HEIST4_5035
$gate_drive_car_heist5 += 60000

:HEIST4_5035
if 
is_ps2_keyboard_key_pressed 80
goto_if_false @HEIST4_5057
Player.AlterWantedLevel($statbike_temp, 2)

:HEIST4_5057
if 
is_ps2_keyboard_key_pressed 79
goto_if_false @HEIST4_5079
Player.AlterWantedLevel($statbike_temp, 0)

:HEIST4_5079
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @HEIST4_5124
Char.SetCoordinates($stattreadstamina_ctr, 2608.193, 2315.54, 9.6719)
Char.SetHeading($stattreadstamina_ctr, 354.7109)

:HEIST4_5124
if 
  103@ == 1
goto_if_false @HEIST4_5201
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST4_5201

:HEIST4_5159
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST4_5187
wait 0
goto @HEIST4_5159

:HEIST4_5187
102@ = 50
103@ = 0

:HEIST4_5201
wait 0
if 
  101@ == 0
goto_if_false @HEIST4_5272
if 
  not Car.IsDead(280@)
goto_if_false @HEIST4_5272
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 280@)
goto_if_false @HEIST4_5272
Car.SwitchSiren(280@, False)
101@ = 1

:HEIST4_5272
if 
  89@ == 0
goto_if_false @HEIST4_5423
if 
  TIMERB > 5000
goto_if_false @HEIST4_5423
Streaming.MarkModelAsNoLongerNeeded(598)
Streaming.RequestModel(497)

:HEIST4_5319
if 
  not Streaming.HasModelLoaded(497)
goto_if_false @HEIST4_5346
wait 0
goto @HEIST4_5319

:HEIST4_5346
86@ = Car.Create(497, 1589.198, 1850.619, 9.8358)
Car.SetHeading(86@, 51.0)
Car.OpenDoor(86@, CarDoor.LeftFrontDoor)
87@ = Char.CreateInsideCar(86@, PedType.Mission1, 284)
Char.SetLoadCollisionFlag(87@, False)
Heli.SetBladesFullSpeed(86@)
Streaming.MarkModelAsNoLongerNeeded(497)
89@ = 1

:HEIST4_5423
if 
  60@ == 2
goto_if_false @HEIST4_5544
if 
  TIMERA > 12000
goto_if_false @HEIST4_5544
if 
  131@ == 0
goto_if_false @HEIST4_5544
Text.ClearPrints
Text.ClearThisPrint('HEI4_01')
Text.PrintNow('HEI4_11', 8000, 1)
Hud.DisplayTimerWithString($gate_drive_car_heist5, TimerDirection.Down, 'HEI4_12')
131@ = 1
60@ = 3
TIMERA = 0

:HEIST4_5544
if 
  60@ == 3
goto_if_false @HEIST4_5588
if 
  TIMERA > 10000
goto_if_false @HEIST4_5588
60@ = 4

:HEIST4_5588
if 
  1 > $gate_drive_car_heist5
goto_if_false @HEIST4_5631
Text.ClearPrints
Text.PrintNow('HEI4_10', 8000, 1)
goto @HEIST4_13141

:HEIST4_5631
if 
  102@ == 0
goto_if_false @HEIST4_7611
if 
  not Car.IsDead(244@)
goto_if_false @HEIST4_7588
if 
  Car.Locate2D(244@, 204@(47@,20f), 224@(47@,20f), 15.0, 15.0, False)
goto_if_false @HEIST4_5798
47@ += 1
if 
  47@ == 17
goto_if_false @HEIST4_5739
47@ = 0

:HEIST4_5739
if 
  not Char.IsDead(245@)
goto_if_false @HEIST4_5798
Char.ClearTasks(245@)
Task.CarDriveToCoord(245@, 244@, 204@(47@,20f), 224@(47@,20f), 8.0, 15.0, DriveMode.Normal, 0, DrivingMode.SlowDownForCars)

:HEIST4_5798
48@ = 0

:HEIST4_5805
if 
  4 > 48@
goto_if_false @HEIST4_7391
if 
  2 > 266@(48@,4i)
goto_if_false @HEIST4_7377
if 
  not Car.IsDead(279@(48@,4i))
goto_if_false @HEIST4_7119
if 
  Char.IsInCar($stattreadstamina_ctr, 279@(48@,4i))
goto_if_false @HEIST4_6819
if 
  266@(48@,4i) == 0
goto_if_false @HEIST4_6030
43@ = 0

:HEIST4_5917
if 
  4 > 43@
goto_if_false @HEIST4_5958
Blip.Remove(283@(43@,4i))
43@ += 1
goto @HEIST4_5917

:HEIST4_5958
Blip.Remove(35@)
35@ = Blip.AddForCar(244@)
Blip.SetAsFriendly(35@, True)
if 
  273@ <> 4
goto_if_false @HEIST4_6012
Text.PrintNow('HEI4_02', 8000, 1)

:HEIST4_6012
266@(48@,4i) = 1
gosub @HEIST4_11579

:HEIST4_6030
if 
  266@(48@,4i) == 1
goto_if_false @HEIST4_6812
if 
  2 > 273@
goto_if_false @HEIST4_6128
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(244@, -1.3, -3.2, -0.8)
52@, 53@, 54@ = Car.GetOffsetInWorldCoords(244@, 1.3, -3.2, 2.6)

:HEIST4_6128
if 
  273@ > 1
goto_if_false @HEIST4_6204
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(244@, -1.3, -8.2, -0.8)
52@, 53@, 54@ = Car.GetOffsetInWorldCoords(244@, 1.3, -8.2, 2.6)

:HEIST4_6204
if 
  Char.LocateInCarCar2D($stattreadstamina_ctr, 244@, 30.0, 30.0, False)
goto_if_false @HEIST4_6251
Text.PrintNow('HEI4_13', 8000, 1)

:HEIST4_6251
if 
  Char.IsInAngledAreaInCar3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 52@, 53@, 54@, 4.8, False)
goto_if_false @HEIST4_6812
277@ = Car.GetSpeed(244@)
278@ = Car.GetSpeed(279@(48@,4i))
277@ += 10.0
if 
  is_float_lvar_greater_than_float_lvar 277@ > 278@
goto_if_false @HEIST4_6812
277@ -= 10.0
if 
  is_float_lvar_greater_than_float_lvar 278@ > 277@
goto_if_false @HEIST4_6812
Car.AttachToCar(279@(48@,4i), 244@, 270@, 271@, 272@, 16.0, 0.0, 0.0)
Car.FreezePosition(279@(48@,4i), True)
if or
  273@ == 1
  273@ == 3
goto_if_false @HEIST4_6462
271@ -= 2.5
272@ -= 0.7

:HEIST4_6462
if 
  270@ == 0.6
goto_if_false @HEIST4_6500
270@ = -0.6
goto @HEIST4_6510

:HEIST4_6500
270@ = 0.6

:HEIST4_6510
273@ += 1
if 
  4 > 273@
goto_if_false @HEIST4_6588
Camera.AttachToVehicleLookAtVehicle(244@, 3.0, 5.0, 2.2, 244@, 0.0, SwitchType.JumpCut)
114@ = 1
Player.SetControl($statbike_temp, False)
Text.ClearPrints
TIMERB = 0

:HEIST4_6588
274@ += 10.0
266@(48@,4i) = 2
Blip.Remove(35@)
Text.ClearThisPrint('HEI4_02')
43@ = 0

:HEIST4_6632
if 
  4 > 43@
goto_if_false @HEIST4_6812
if 
  2 > 266@(43@,4i)
goto_if_false @HEIST4_6798
if 
  262@(43@,4i) == 1
goto_if_false @HEIST4_6757
Blip.Remove(283@(43@,4i))
if 
  not Car.IsDead(279@(43@,4i))
goto_if_false @HEIST4_6750
283@(43@,4i) = Blip.AddForCar(279@(43@,4i))
Blip.ChangeColor(283@(43@,4i), BlipColor.Green)

:HEIST4_6750
goto @HEIST4_6787

:HEIST4_6757
283@(43@,4i) = Blip.AddForCoord(246@(43@,4f), 250@(43@,4f), 254@(43@,4f))

:HEIST4_6787
Blip.ChangeColor(283@(43@,4i), BlipColor.Green)

:HEIST4_6798
43@ += 1
goto @HEIST4_6632

:HEIST4_6812
goto @HEIST4_7112

:HEIST4_6819
if 
  266@(48@,4i) == 1
goto_if_false @HEIST4_7112
43@ = 0

:HEIST4_6848
if 
  4 > 43@
goto_if_false @HEIST4_7112
if 
  266@(43@,4i) == 1
goto_if_false @HEIST4_6899
266@(43@,4i) = 0

:HEIST4_6899
if 
  2 > 266@(43@,4i)
goto_if_false @HEIST4_7098
Blip.Remove(283@(43@,4i))
if 
  262@(43@,4i) == 1
goto_if_false @HEIST4_7036
if 
  not Car.IsDead(279@(43@,4i))
goto_if_false @HEIST4_7006
283@(43@,4i) = Blip.AddForCar(279@(43@,4i))
Blip.ChangeColor(283@(43@,4i), BlipColor.Green)
goto @HEIST4_7029

:HEIST4_7006
Text.PrintNow('HEI4_04', 8000, 1)
goto @HEIST4_13141

:HEIST4_7029
goto @HEIST4_7066

:HEIST4_7036
283@(43@,4i) = Blip.AddForCoord(246@(43@,4f), 250@(43@,4f), 254@(43@,4f))

:HEIST4_7066
Blip.Remove(35@)
Blip.ChangeColor(283@(43@,4i), BlipColor.Green)
Text.PrintNow('HEI4_03', 5000, 1)

:HEIST4_7098
43@ += 1
goto @HEIST4_6848

:HEIST4_7112
goto @HEIST4_7377

:HEIST4_7119
if 
  262@(48@,4i) == 0
goto_if_false @HEIST4_7354
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 246@(48@,4f), 250@(48@,4f), 200.0, 200.0, False)
goto_if_false @HEIST4_7347
World.ClearArea(246@(48@,4f), 250@(48@,4f), 254@(48@,4f), 40.0, False)
279@(48@,4i) = Car.Create(523, 246@(48@,4f), 250@(48@,4f), 254@(48@,4f))
Car.SetHeading(279@(48@,4i), 258@(48@,4f))
Car.SetCanBurstTires(279@(48@,4i), False)
Car.SetLoadCollisionFlag(279@(48@,4i), False)
if 
  not Blip.DoesExist(35@)
goto_if_false @HEIST4_7336
Blip.Remove(283@(48@,4i))
283@(48@,4i) = Blip.AddForCar(279@(48@,4i))
Blip.ChangeColor(283@(48@,4i), BlipColor.Green)

:HEIST4_7336
262@(48@,4i) = 1

:HEIST4_7347
goto @HEIST4_7377

:HEIST4_7354
Text.PrintNow('HEI4_04', 5000, 1)
goto @HEIST4_13141

:HEIST4_7377
48@ += 1
goto @HEIST4_5805

:HEIST4_7391
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 244@, 120.0, 120.0, False)
goto_if_false @HEIST4_7437
Car.SetCruiseSpeed(244@, 274@)
goto @HEIST4_7447

:HEIST4_7437
Car.SetCruiseSpeed(244@, 15.0)

:HEIST4_7447
if or
  Car.IsStuckOnRoof(244@)
  StuckCarCheck.IsCarStuck(244@)
goto_if_false @HEIST4_7581
if 
  not Car.IsOnScreen(244@)
goto_if_false @HEIST4_7581
if 
  not Camera.IsPointOnScreen(204@(47@,20f), 224@(47@,20f), 6.0, 4.0)
goto_if_false @HEIST4_7581
World.ClearArea(204@(47@,20f), 224@(47@,20f), 7.0, 10.0, False)
Car.SetCoordinates(244@, 204@(47@,20f), 224@(47@,20f), 10.0)
Car.SetHeading(244@, $on_footX)

:HEIST4_7581
goto @HEIST4_7611

:HEIST4_7588
Text.PrintNow('HEI4_05', 5000, 1)
goto @HEIST4_13141

:HEIST4_7611
if 
  102@ == 0
goto_if_false @HEIST4_7659
if 
  273@ == 4
goto_if_false @HEIST4_7659
Hud.ClearTimer($gate_drive_car_heist5)
102@ = 1

:HEIST4_7659
if 
  102@ == 1
goto_if_false @HEIST4_8097
Camera.DoFade(1000, Fade.Out)
Text.ClearPrints
Hud.ClearTimer($gate_drive_car_heist5)
Player.SetControl($statbike_temp, False)
Player.ClearWantedLevel($statbike_temp)

:HEIST4_7703
if 
  Camera.GetFadingStatus
goto_if_false @HEIST4_7727
wait 0
goto @HEIST4_7703

:HEIST4_7727
Task.Jump($stattreadstamina_ctr, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Streaming.LoadSceneInDirection(1009.781, 1929.377, 9.6719, 122.0)
wait 0
Hud.SwitchWidescreen(True)
102@ = 10
Camera.SetFixedPosition(1022.831, 1899.513, 18.6192, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1021.961, 1899.518, 18.126, SwitchType.JumpCut)
if 
  not Char.IsDead(245@)
goto_if_false @HEIST4_7994
if 
  not Car.IsDead(244@)
goto_if_false @HEIST4_7994
Char.ClearTasks(245@)
World.ClearArea(1009.994, 1880.02, 150.0, 150.0, False)
Car.SetCoordinates(244@, 1009.994, 1870.02, 9.6797)
Car.SetHeading(244@, 2.3)
Char.AttachToCar($stattreadstamina_ctr, 244@, 0.5, -10.0, -0.3, 2, 10.0, WeaponType.Unarmed)
Char.SetHeading($stattreadstamina_ctr, 300.0)
Task.CarDriveToCoord(245@, 244@, 1009.781, 1900.377, 9.6719, 15.0, DriveMode.Normal, 0, DrivingMode.SlowDownForCars)

:HEIST4_7994
World.ClearArea(1009.994, 1910.02, 150.0, 150.0, False)
Camera.DoFade(500, Fade.In)

:HEIST4_8025
if 
  Camera.GetFadingStatus
goto_if_false @HEIST4_8073
wait 0
World.ClearArea(1009.994, 1910.02, 150.0, 150.0, False)
goto @HEIST4_8025

:HEIST4_8073
World.ClearArea(1009.994, 1910.02, 150.0, 150.0, False)

:HEIST4_8097
if 
  102@ == 10
goto_if_false @HEIST4_8273
World.ClearArea(1009.994, 1910.02, 150.0, 150.0, False)
if 
  not Car.IsDead(244@)
goto_if_false @HEIST4_8273
if 
  not Char.IsDead(245@)
goto_if_false @HEIST4_8273
if 
  Car.IsStopped(244@)
goto_if_false @HEIST4_8273
102@ = 20
103@ = 1
Char.DetachFromCar($stattreadstamina_ctr)
105@ = Sequence.Open()
Task.Jump(-1, True)
Task.GoStraightToCoord(-1, 1014.013, 1902.325, 9.8125, MoveState.Run, 10000)
Task.TurnCharToFaceChar(-1, 245@)
Sequence.Close(105@)
Char.PerformSequence($stattreadstamina_ctr, 105@)
Sequence.Clear(105@)
TIMERA = 0

:HEIST4_8273
if 
  201@ > 0
goto_if_false @HEIST4_8456
if 
  199@ == 0
goto_if_false @HEIST4_8456
switch_start 201@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @HEIST4_8456 {caseNum1} 1 {caseLabel1} @HEIST4_8372 {caseNum2} 2 {caseLabel2} @HEIST4_8393 {caseNum3} 3 {caseLabel3} @HEIST4_8414 {caseNum4} 4 {caseLabel4} @HEIST4_8435 {caseNum5} -1 {caseLabel5} @HEIST4_8456 {caseNum6} -1 {caseLabel6} @HEIST4_8456 {caseNum7} -1 {caseLabel7} @HEIST4_8456

:HEIST4_8372
196@ = 1
201@ = 2
goto @HEIST4_8456

:HEIST4_8393
196@ = 2
201@ = 3
goto @HEIST4_8456

:HEIST4_8414
196@ = 3
201@ = 4
goto @HEIST4_8456

:HEIST4_8435
196@ = 0
201@ = 0
goto @HEIST4_8456

:HEIST4_8456
if 
  102@ == 20
goto_if_false @HEIST4_8538
World.ClearArea(1009.994, 1910.02, 150.0, 150.0, False)
if 
  TIMERA > 3000
goto_if_false @HEIST4_8538
201@ = 1
102@ = 30
TIMERA = 0

:HEIST4_8538
if 
  102@ == 30
goto_if_false @HEIST4_8679
World.ClearArea(1009.994, 1910.02, 150.0, 150.0, False)
if 
  TIMERA > 3000
goto_if_false @HEIST4_8679
if 
  not Char.IsDead(245@)
goto_if_false @HEIST4_8679
if 
  not Car.IsDead(244@)
goto_if_false @HEIST4_8679
102@ = 40
Task.CarDriveToCoord(245@, 244@, 1009.781, 2000.377, 9.6719, 15.0, DriveMode.Normal, 0, DrivingMode.SlowDownForCars)
TIMERA = 0

:HEIST4_8679
if 
  102@ == 40
goto_if_false @HEIST4_8780
World.ClearArea(1009.994, 1910.02, 150.0, 150.0, False)
if 
  TIMERA > 500
goto_if_false @HEIST4_8780
if 
  not Char.IsDead(245@)
goto_if_false @HEIST4_8780
Task.LookAtChar($stattreadstamina_ctr, 245@, -2)
102@ = 45
TIMERA = 0

:HEIST4_8780
if 
  102@ == 45
goto_if_false @HEIST4_8848
World.ClearArea(1009.994, 1910.02, 150.0, 150.0, False)
if 
  TIMERA > 3000
goto_if_false @HEIST4_8848
102@ = 50

:HEIST4_8848
if 
  102@ == 50
goto_if_false @HEIST4_8967
103@ = 0
Car.Delete(279@)
Car.Delete(280@)
Car.Delete(281@)
Car.Delete(282@)
Car.Delete(244@)
Char.Delete(245@)
Char.Delete(115@)
Hud.SwitchWidescreen(False)
Char.ClearTasks($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1014.013, 1902.325, 9.8125)
Char.SetHeading($stattreadstamina_ctr, 59.0)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Text.ClearPrints
goto @HEIST4_13159

:HEIST4_8967
if 
  102@ == 0
goto_if_false @HEIST4_9089
90@ = 0

:HEIST4_8992
if 
  4 > 90@
goto_if_false @HEIST4_9089
if 
  266@(90@,4i) == 2
goto_if_false @HEIST4_9075
if 
  Car.IsDead(279@(90@,4i))
goto_if_false @HEIST4_9075
Text.PrintNow('HEI4_04', 5000, 1)
goto @HEIST4_13141

:HEIST4_9075
90@ += 1
goto @HEIST4_8992

:HEIST4_9089
if 
  66@ == 0
goto_if_false @HEIST4_9376
if 
  Char.DoesExist(63@)
goto_if_false @HEIST4_9267
if 
  Char.HasBeenDamagedByChar(63@, $stattreadstamina_ctr)
goto_if_false @HEIST4_9213
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
gosub @HEIST4_12490
if 
  not Char.IsDead(63@)
goto_if_false @HEIST4_9192
66@ = 1
Char.ClearTasks(63@)
Task.KillCharOnFoot(63@, $stattreadstamina_ctr)

:HEIST4_9192
if 
  not Char.IsDead(68@)
goto_if_false @HEIST4_9213
Char.MarkAsNoLongerNeeded(68@)

:HEIST4_9213
if 
  not Char.IsDead(63@)
goto_if_false @HEIST4_9267
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 63@, 25.0, 25.0, False)
goto_if_false @HEIST4_9267
gosub @HEIST4_12490

:HEIST4_9267
if 
  Char.DoesExist(68@)
goto_if_false @HEIST4_9376
if 
  Char.HasBeenDamagedByChar(68@, $stattreadstamina_ctr)
goto_if_false @HEIST4_9376
Player.AlterWantedLevelNoDrop($statbike_temp, 1)
if 
  not Char.IsDead(68@)
goto_if_false @HEIST4_9340
Task.SmartFleeChar(68@, $stattreadstamina_ctr, 100.0, -1)

:HEIST4_9340
if 
  not Char.IsDead(63@)
goto_if_false @HEIST4_9376
66@ = 1
Char.ClearTasks(63@)
Task.KillCharOnFoot(63@, $stattreadstamina_ctr)

:HEIST4_9376
if 
  72@ == 0
goto_if_false @HEIST4_9998
if 
  Char.DoesExist(70@)
goto_if_false @HEIST4_9596
if 
  Char.HasBeenDamagedByChar(70@, $stattreadstamina_ctr)
goto_if_false @HEIST4_9542
Player.AlterWantedLevelNoDrop($statbike_temp, 1)
gosub @HEIST4_12636
if 
  not Char.IsDead(70@)
goto_if_false @HEIST4_9479
72@ = 1
Char.ClearTasks(70@)
Task.KillCharOnFoot(70@, $stattreadstamina_ctr)

:HEIST4_9479
if 
  not Char.IsDead(95@)
goto_if_false @HEIST4_9500
Char.MarkAsNoLongerNeeded(95@)

:HEIST4_9500
if 
  not Char.IsDead(96@)
goto_if_false @HEIST4_9521
Char.MarkAsNoLongerNeeded(96@)

:HEIST4_9521
if 
  not Char.IsDead(97@)
goto_if_false @HEIST4_9542
Char.MarkAsNoLongerNeeded(97@)

:HEIST4_9542
if 
  not Char.IsDead(70@)
goto_if_false @HEIST4_9596
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 70@, 30.0, 30.0, False)
goto_if_false @HEIST4_9596
gosub @HEIST4_12636

:HEIST4_9596
if 
  Char.DoesExist(95@)
goto_if_false @HEIST4_9730
if 
  Char.HasBeenDamagedByChar(95@, $stattreadstamina_ctr)
goto_if_false @HEIST4_9730
if 
  not Char.IsDead(70@)
goto_if_false @HEIST4_9667
72@ = 1
Char.ClearTasks(70@)
Task.KillCharOnFoot(70@, $stattreadstamina_ctr)

:HEIST4_9667
if 
  not Char.IsDead(95@)
goto_if_false @HEIST4_9688
Char.MarkAsNoLongerNeeded(95@)

:HEIST4_9688
if 
  not Char.IsDead(96@)
goto_if_false @HEIST4_9709
Char.MarkAsNoLongerNeeded(96@)

:HEIST4_9709
if 
  not Char.IsDead(97@)
goto_if_false @HEIST4_9730
Char.MarkAsNoLongerNeeded(97@)

:HEIST4_9730
if 
  Char.DoesExist(96@)
goto_if_false @HEIST4_9864
if 
  Char.HasBeenDamagedByChar(96@, $stattreadstamina_ctr)
goto_if_false @HEIST4_9864
if 
  not Char.IsDead(70@)
goto_if_false @HEIST4_9801
72@ = 1
Char.ClearTasks(70@)
Task.KillCharOnFoot(70@, $stattreadstamina_ctr)

:HEIST4_9801
if 
  not Char.IsDead(95@)
goto_if_false @HEIST4_9822
Char.MarkAsNoLongerNeeded(95@)

:HEIST4_9822
if 
  not Char.IsDead(96@)
goto_if_false @HEIST4_9843
Char.MarkAsNoLongerNeeded(96@)

:HEIST4_9843
if 
  not Char.IsDead(97@)
goto_if_false @HEIST4_9864
Char.MarkAsNoLongerNeeded(97@)

:HEIST4_9864
if 
  Char.DoesExist(97@)
goto_if_false @HEIST4_9998
if 
  Char.HasBeenDamagedByChar(97@, $stattreadstamina_ctr)
goto_if_false @HEIST4_9998
if 
  not Char.IsDead(70@)
goto_if_false @HEIST4_9935
72@ = 1
Char.ClearTasks(70@)
Task.KillCharOnFoot(70@, $stattreadstamina_ctr)

:HEIST4_9935
if 
  not Char.IsDead(95@)
goto_if_false @HEIST4_9956
Char.MarkAsNoLongerNeeded(95@)

:HEIST4_9956
if 
  not Char.IsDead(96@)
goto_if_false @HEIST4_9977
Char.MarkAsNoLongerNeeded(96@)

:HEIST4_9977
if 
  not Char.IsDead(97@)
goto_if_false @HEIST4_9998
Char.MarkAsNoLongerNeeded(97@)

:HEIST4_9998
if 
  80@ == 0
goto_if_false @HEIST4_10114
if 
  Char.DoesExist(77@)
goto_if_false @HEIST4_10065
if 
  Char.HasBeenDamagedByChar(77@, $stattreadstamina_ctr)
goto_if_false @HEIST4_10065
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
gosub @HEIST4_12188

:HEIST4_10065
if 
  Char.DoesExist(76@)
goto_if_false @HEIST4_10114
if 
  Char.HasBeenDamagedByChar(76@, $stattreadstamina_ctr)
goto_if_false @HEIST4_10114
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
gosub @HEIST4_12188

:HEIST4_10114
if 
  85@ == 0
goto_if_false @HEIST4_10271
if 
  Char.DoesExist(82@)
goto_if_false @HEIST4_10271
if 
  Char.HasBeenDamagedByChar(82@, $stattreadstamina_ctr)
goto_if_false @HEIST4_10217
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
gosub @HEIST4_12262
if 
  not Char.IsDead(82@)
goto_if_false @HEIST4_10217
85@ = 1
Char.ClearTasks(82@)
Task.KillCharOnFoot(82@, $stattreadstamina_ctr)

:HEIST4_10217
if 
  not Char.IsDead(82@)
goto_if_false @HEIST4_10271
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 82@, 35.0, 35.0, False)
goto_if_false @HEIST4_10271
gosub @HEIST4_12262

:HEIST4_10271
if 
  106@ == 0
goto_if_false @HEIST4_10338
if 
  Char.DoesExist(82@)
goto_if_false @HEIST4_10338
if 
  Char.HasBeenDamagedByChar(82@, $stattreadstamina_ctr)
goto_if_false @HEIST4_10338
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
106@ = 1

:HEIST4_10338
if 
  107@ == 0
goto_if_false @HEIST4_10405
if 
  Char.DoesExist(70@)
goto_if_false @HEIST4_10405
if 
  Char.HasBeenDamagedByChar(70@, $stattreadstamina_ctr)
goto_if_false @HEIST4_10405
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
107@ = 1

:HEIST4_10405
if 
  108@ == 0
goto_if_false @HEIST4_10472
if 
  Char.DoesExist(63@)
goto_if_false @HEIST4_10472
if 
  Char.HasBeenDamagedByChar(63@, $stattreadstamina_ctr)
goto_if_false @HEIST4_10472
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
108@ = 1

:HEIST4_10472
if 
  109@ == 0
goto_if_false @HEIST4_10539
if 
  Char.DoesExist(76@)
goto_if_false @HEIST4_10539
if 
  Char.HasBeenDamagedByChar(76@, $stattreadstamina_ctr)
goto_if_false @HEIST4_10539
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
109@ = 1

:HEIST4_10539
if 
  110@ == 0
goto_if_false @HEIST4_10606
if 
  Char.DoesExist(77@)
goto_if_false @HEIST4_10606
if 
  Char.HasBeenDamagedByChar(77@, $stattreadstamina_ctr)
goto_if_false @HEIST4_10606
Player.AlterWantedLevelNoDrop($statbike_temp, 2)
110@ = 1

:HEIST4_10606
if 
  88@ == 1
goto_if_false @HEIST4_10693
if 
  not Car.IsDead(86@)
goto_if_false @HEIST4_10693
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 86@, 200.0, 200.0, 200.0, False)
goto_if_false @HEIST4_10693
88@ = 2
Char.MarkAsNoLongerNeeded(87@)
Car.MarkAsNoLongerNeeded(86@)

:HEIST4_10693
if 
  not Char.IsDead(82@)
goto_if_false @HEIST4_10766
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 82@, 120.0, 120.0, 120.0, False)
goto_if_false @HEIST4_10759
Char.FreezePositionAndDontLoadCollision(82@, False)
goto @HEIST4_10766

:HEIST4_10759
Char.FreezePositionAndDontLoadCollision(82@, True)

:HEIST4_10766
if 
  not Char.IsDead(70@)
goto_if_false @HEIST4_10839
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 70@, 120.0, 120.0, 120.0, False)
goto_if_false @HEIST4_10832
Char.FreezePositionAndDontLoadCollision(70@, False)
goto @HEIST4_10839

:HEIST4_10832
Char.FreezePositionAndDontLoadCollision(70@, True)

:HEIST4_10839
if 
  73@ == 0
goto_if_false @HEIST4_11076
if 
  not Char.IsDead(95@)
goto_if_false @HEIST4_10930
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 95@, 150.0, 150.0, 150.0, False)
goto_if_false @HEIST4_10923
Char.FreezePositionAndDontLoadCollision(95@, False)
goto @HEIST4_10930

:HEIST4_10923
Char.FreezePositionAndDontLoadCollision(95@, True)

:HEIST4_10930
if 
  not Char.IsDead(96@)
goto_if_false @HEIST4_11003
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 96@, 150.0, 150.0, 150.0, False)
goto_if_false @HEIST4_10996
Char.FreezePositionAndDontLoadCollision(96@, False)
goto @HEIST4_11003

:HEIST4_10996
Char.FreezePositionAndDontLoadCollision(96@, True)

:HEIST4_11003
if 
  not Char.IsDead(97@)
goto_if_false @HEIST4_11076
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 97@, 150.0, 150.0, 150.0, False)
goto_if_false @HEIST4_11069
Char.FreezePositionAndDontLoadCollision(97@, False)
goto @HEIST4_11076

:HEIST4_11069
Char.FreezePositionAndDontLoadCollision(97@, True)

:HEIST4_11076
if 
  73@ == 1
goto_if_false @HEIST4_11280
if 
  not Char.IsDead(95@)
goto_if_false @HEIST4_11156
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 95@, 120.0, 120.0, 150.0, False)
goto_if_false @HEIST4_11156
Char.MarkAsNoLongerNeeded(95@)
Car.MarkAsNoLongerNeeded(92@)

:HEIST4_11156
if 
  not Char.IsDead(96@)
goto_if_false @HEIST4_11218
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 96@, 120.0, 120.0, 150.0, False)
goto_if_false @HEIST4_11218
Char.MarkAsNoLongerNeeded(96@)
Car.MarkAsNoLongerNeeded(93@)

:HEIST4_11218
if 
  not Char.IsDead(97@)
goto_if_false @HEIST4_11280
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 97@, 120.0, 120.0, 150.0, False)
goto_if_false @HEIST4_11280
Char.MarkAsNoLongerNeeded(97@)
Car.MarkAsNoLongerNeeded(94@)

:HEIST4_11280
if 
  not Char.IsDead(77@)
goto_if_false @HEIST4_11353
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 77@, 120.0, 120.0, 120.0, False)
goto_if_false @HEIST4_11346
Char.FreezePositionAndDontLoadCollision(77@, False)
goto @HEIST4_11353

:HEIST4_11346
Char.FreezePositionAndDontLoadCollision(77@, True)

:HEIST4_11353
if 
  not Char.IsDead(76@)
goto_if_false @HEIST4_11426
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 76@, 120.0, 120.0, 120.0, False)
goto_if_false @HEIST4_11419
Char.FreezePositionAndDontLoadCollision(76@, False)
goto @HEIST4_11426

:HEIST4_11419
Char.FreezePositionAndDontLoadCollision(76@, True)

:HEIST4_11426
if 
  not Char.IsDead(63@)
goto_if_false @HEIST4_11499
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 63@, 120.0, 120.0, 120.0, False)
goto_if_false @HEIST4_11492
Char.FreezePositionAndDontLoadCollision(63@, False)
goto @HEIST4_11499

:HEIST4_11492
Char.FreezePositionAndDontLoadCollision(63@, True)

:HEIST4_11499
if 
  not Char.IsDead(68@)
goto_if_false @HEIST4_11572
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 68@, 120.0, 120.0, 120.0, False)
goto_if_false @HEIST4_11565
Char.FreezePositionAndDontLoadCollision(68@, False)
goto @HEIST4_11572

:HEIST4_11565
Char.FreezePositionAndDontLoadCollision(68@, True)

:HEIST4_11572
goto @HEIST4_3287

:HEIST4_11579
if 
  48@ == 0
goto_if_false @HEIST4_11745
if 
  66@ == 0
goto_if_false @HEIST4_11745
if 
  not Char.IsDead(63@)
goto_if_false @HEIST4_11690
Char.ClearTasks(63@)
65@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2785.789, 1439.454, 9.5579, MoveState.Run, 10000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(65@)
Char.PerformSequence(63@, 65@)
Sequence.Clear(65@)

:HEIST4_11690
if 
  not Char.IsDead(68@)
goto_if_false @HEIST4_11731
Char.ClearTasks(68@)
Char.MarkAsNoLongerNeeded(68@)
Task.SmartFleeChar(68@, $stattreadstamina_ctr, 100.0, -1)

:HEIST4_11731
66@ = 1
Player.AlterWantedLevelNoDrop($statbike_temp, 1)

:HEIST4_11745
if 
  48@ == 1
goto_if_false @HEIST4_11885
if 
  72@ == 0
goto_if_false @HEIST4_11885
if 
  not Char.IsDead(70@)
goto_if_false @HEIST4_11856
Char.ClearTasks(70@)
71@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2646.582, 2348.17, 9.6797, MoveState.Run, 10000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(71@)
Char.PerformSequence(70@, 71@)
Sequence.Clear(71@)

:HEIST4_11856
72@ = 1
Player.AlterWantedLevelNoDrop($statbike_temp, 1)
Car.MarkAsNoLongerNeeded(92@)
Car.MarkAsNoLongerNeeded(93@)
Car.MarkAsNoLongerNeeded(94@)

:HEIST4_11885
if 
  48@ == 2
goto_if_false @HEIST4_12061
if 
  80@ == 0
goto_if_false @HEIST4_12061
if 
  not Char.IsDead(77@)
goto_if_false @HEIST4_11972
Char.ClearTasks(77@)
79@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(79@)
Char.PerformSequence(77@, 79@)
Sequence.Clear(79@)

:HEIST4_11972
if 
  not Char.IsDead(76@)
goto_if_false @HEIST4_12047
Char.ClearTasks(76@)
78@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2311.004, 2436.764, 9.8203, MoveState.Run, 10000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(78@)
Char.PerformSequence(76@, 78@)
Sequence.Clear(78@)

:HEIST4_12047
80@ = 1
Player.AlterWantedLevelNoDrop($statbike_temp, 1)

:HEIST4_12061
if 
  48@ == 3
goto_if_false @HEIST4_12186
if 
  85@ == 0
goto_if_false @HEIST4_12186
if 
  not Char.IsDead(82@)
goto_if_false @HEIST4_12172
Char.ClearTasks(82@)
83@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1593.289, 1836.808, 9.8281, MoveState.Run, 10000)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(83@)
Char.PerformSequence(82@, 83@)
Sequence.Clear(83@)

:HEIST4_12172
85@ = 1
Player.AlterWantedLevelNoDrop($statbike_temp, 1)

:HEIST4_12186
return 

:HEIST4_12188
if 
  not Char.IsDead(77@)
goto_if_false @HEIST4_12217
Char.ClearTasks(77@)
Task.KillCharOnFoot(77@, $stattreadstamina_ctr)

:HEIST4_12217
if 
  not Char.IsDead(76@)
goto_if_false @HEIST4_12246
Char.ClearTasks(76@)
Task.KillCharOnFoot(76@, $stattreadstamina_ctr)

:HEIST4_12246
Player.AlterWantedLevelNoDrop($statbike_temp, 1)
80@ = 1
return 

:HEIST4_12262
if 
  88@ == 0
goto_if_false @HEIST4_12488
if 
  not Char.IsDead(87@)
goto_if_false @HEIST4_12357
if 
  not Car.IsDead(86@)
goto_if_false @HEIST4_12357
Car.SetCruiseSpeed(86@, 100.0)
Car.CloseAllDoors(86@)
Heli.GotoCoords(86@, -2303.627, 2105.29, 200.0, 200.0, 200.0)

:HEIST4_12357
if 
  not Car.IsDead(282@)
goto_if_false @HEIST4_12481
if 
  not Char.IsDead(82@)
goto_if_false @HEIST4_12481
Char.ClearTasks(82@)
84@ = Sequence.Open()
Task.EnterCarAsDriver(-1, 282@, 6000)
Task.CarDriveToCoord(-1, 282@, 1570.712, 1834.135, 9.6969, 15.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveWander(-1, 282@, 15.0, DrivingMode.AvoidCars)
Sequence.Close(84@)
Char.PerformSequence(82@, 84@)
Sequence.Clear(84@)
Char.SetCanBeKnockedOffBike(82@, 3)

:HEIST4_12481
88@ = 1

:HEIST4_12488
return 

:HEIST4_12490
if 
  67@ == 0
goto_if_false @HEIST4_12634
if 
  not Char.IsDead(63@)
goto_if_false @HEIST4_12627
if 
  not Char.IsDead(68@)
goto_if_false @HEIST4_12627
Char.ClearTasks(68@)
69@ = Sequence.Open()
Sequence.SetToRepeat(69@, True)
Task.GoStraightToCoord(-1, 2762.117, 1432.399, 9.5325, MoveState.Walk, 30000)
Task.FallAndGetUp(-1, False, 3000)
Task.GoStraightToCoord(-1, 2767.537, 1424.877, 9.2195, MoveState.Walk, 30000)
Sequence.Close(69@)
Char.PerformSequence(68@, 69@)

:HEIST4_12627
67@ = 1

:HEIST4_12634
return 

:HEIST4_12636
if 
  73@ == 0
goto_if_false @HEIST4_13139
if 
  203@ == 2
goto_if_false @HEIST4_12676
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:HEIST4_12676
if 
  not Car.IsDead(92@)
goto_if_false @HEIST4_12783
if 
  not Char.IsDead(95@)
goto_if_false @HEIST4_12783
Char.ClearTasks(95@)
98@ = Sequence.Open()
Task.CarDriveToCoord(-1, 92@, 2648.744, 2293.42, 9.6875, 25.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveWander(-1, 92@, 25.0, DrivingMode.AvoidCars)
Sequence.Close(98@)
Char.PerformSequence(95@, 98@)
Sequence.Clear(98@)

:HEIST4_12783
if 
  not Car.IsDead(93@)
goto_if_false @HEIST4_12890
if 
  not Char.IsDead(96@)
goto_if_false @HEIST4_12890
Char.ClearTasks(96@)
99@ = Sequence.Open()
Task.CarDriveToCoord(-1, 93@, 2650.566, 2290.315, 9.6875, 26.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveWander(-1, 93@, 25.0, DrivingMode.AvoidCars)
Sequence.Close(99@)
Char.PerformSequence(96@, 99@)
Sequence.Clear(99@)

:HEIST4_12890
if 
  not Car.IsDead(94@)
goto_if_false @HEIST4_12997
if 
  not Char.IsDead(97@)
goto_if_false @HEIST4_12997
Char.ClearTasks(97@)
100@ = Sequence.Open()
Task.CarDriveToCoord(-1, 94@, 2651.681, 2294.87, 9.6875, 25.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveWander(-1, 94@, 25.0, DrivingMode.AvoidCars)
Sequence.Close(100@)
Char.PerformSequence(97@, 100@)
Sequence.Clear(100@)

:HEIST4_12997
if 
  not Car.IsDead(280@)
goto_if_false @HEIST4_13132
if 
  not Char.IsDead(70@)
goto_if_false @HEIST4_13121
Char.ClearTasks(70@)
71@ = Sequence.Open()
Task.EnterCarAsDriver(-1, 280@, 10000)
Task.CarDriveToCoord(-1, 280@, 2647.941, 2293.222, 9.6875, 21.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
Task.CarDriveWander(-1, 280@, 17.0, DrivingMode.AvoidCars)
Sequence.Close(71@)
Char.PerformSequence(70@, 71@)
Sequence.Clear(71@)
Char.SetCanBeKnockedOffBike(70@, 3)

:HEIST4_13121
Car.SwitchSiren(280@, True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:HEIST4_13132
73@ = 1

:HEIST4_13139
return 

:HEIST4_13141
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:HEIST4_13159
$desert2X += 1
Text.PrintWithNumberBig('M_PASSR', 20, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(20)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('HEIST_4')
Stat.PlayerMadeProgress(1)
return 

:HEIST4_13214
Player.SetControl($statbike_temp, True)
Player.SetGroupRecruitment($statbike_temp, True)
Group.SetFollowStatus(34@, True)
Player.SetGroupToFollowNever($statbike_temp, False)
World.SetCarDensityMultiplier(1.0)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Weather.Release
Game.SwitchCopsOnBikes(True)
Blip.Remove(35@)
Blip.Remove(283@)
Blip.Remove(284@)
Blip.Remove(285@)
Blip.Remove(286@)
Streaming.MarkModelAsNoLongerNeeded(443)
Streaming.MarkModelAsNoLongerNeeded(523)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(284)
Streaming.MarkModelAsNoLongerNeeded(598)
Streaming.MarkModelAsNoLongerNeeded(497)
Streaming.MarkModelAsNoLongerNeeded(463)
Streaming.MarkModelAsNoLongerNeeded(33)
Streaming.MarkModelAsNoLongerNeeded(34)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(32)
Streaming.RemoveAnimation("SMOKING")
Streaming.RemoveAnimation("MISC")
Hud.ClearTimer($gate_drive_car_heist5)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 100---------------
// Originally: Up, Up and Away!

:HEIST5
script_name 'HEIST5'
gosub @HEIST5_47
if 
  has_deatharrest_been_executed 
goto_if_false @HEIST5_38
gosub @HEIST5_13721

:HEIST5_38
gosub @HEIST5_13824
terminate_this_script 

:HEIST5_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
39@ = 406.989
40@ = 2516.901
41@ = 15.4918
36@ = 0
104@ = 0
100@ = 0
99@ = 0
89@ = 0
101@ = 0
102@ = 0
103@ = 0
62@ = 0
64@ = 0
66@ = 0
49@ = 0
50@ = 0
51@ = 0
52@ = 0
53@ = 0
54@ = 0
55@ = 0
68@ = 0
70@ = 0
72@ = 0
74@ = 0
76@ = 0
78@ = 0
80@ = 0
98@ = 0
82@ = 0
84@ = 0
86@ = 0
88@ = 0
112@ = 0
113@ = 0
133@ = 0.0
134@ = 0.0
135@ = 0.0
136@ = 0.0
137@ = 0.0
138@ = 0.0
111@ = 0
125@ = 0
$gate_drive_car_ai_heist5 = 1000
124@ = 0
126@ = 0
127@ = 0
128@ = 0
129@ = 0
139@ = 0
$h9_health = 0.0
108@ = 0.0
140@ = 0
141@ = 0
142@ = 0
90@ = 0
143@ = 0
145@ = 365.356
146@ = 2538.113
147@ = 15.712
$h9_offset = 0
150@ = 0
151@ = 0
152@ = 0
153@ = 0
154@ = 0
155@ = 0
159@ = 0
160@ = 0.0
161@ = 0.0
162@ = 0.0
163@ = 0
164@ = 0
Text.LoadMissionText('HEIST5')
wait 0
World.ClearArea(2030.108, 1007.929, 9.852, 1.0, False)
Char.SetCoordinates($stattreadstamina_ctr, 2030.108, 1007.929, 9.852)
Char.SetHeading($stattreadstamina_ctr, 270.0)
$1253 = 1
Streaming.SetAreaVisible(10)
Cutscene.Load('HEIST6A')

:HEIST5_710
if 
  not Cutscene.HasLoaded
goto_if_false @HEIST5_734
wait 0
goto @HEIST5_710

:HEIST5_734
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:HEIST5_743
if 
  not Cutscene.HasFinished
goto_if_false @HEIST5_767
wait 0
goto @HEIST5_743

:HEIST5_767
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:HEIST5_780
if 
  Camera.GetFadingStatus
goto_if_false @HEIST5_804
wait 0
goto @HEIST5_780

:HEIST5_804
Cutscene.Clear
Streaming.SetAreaVisible(0)
$1253 = 0
CarGenerator.Switch($d5_silver_generator_unlocked, 0)
CarGenerator.Switch($d5_gold_generator_unlocked, 0)
CarGenerator.Switch($boat_which_missions_are_open_flag, 0)
Game.SwitchAmbientPlanes(False)
Game.SwitchPoliceHelis(False)
155@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Grenade)
if 
  5 > 155@
goto_if_false @HEIST5_899
156@ = Pickup.Create(342, PickupType.Once, 2550.967, 2824.343, 10.6)

:HEIST5_899
157@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2557.337, 2817.809, 10.82)
158@ = Pickup.Create(#HEALTH, PickupType.Once, 2573.734, 2814.91, 10.82)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2016.422, 1017.102, 10.0)
Streaming.LoadScene(2030.108, 1007.929, 9.852)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
59@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(59@)
60@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(60@)
91@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2604.0, 2837.0, 9.86, 6, 10000)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(91@)
92@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2608.0, 2827.0, 9.86, 6, 10000)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(92@)
93@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2585.0, 2815.0, 18.999, 6, 10000)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(93@)
94@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2593.0, 2835.0, 18.999, 6, 10000)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(94@)
95@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2585.0, 2809.0, 18.999, 6, 10000)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(95@)
96@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2575.0, 2833.0, 18.999, 6, 10000)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(96@)
57@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
DecisionMakerChar.AddEventResponse(57@, 49, 311, 0.0, 100.0, 100.0, 100.0, False, True)
58@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
56@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Streaming.RequestModel(417)
Streaming.RequestModel(287)
Streaming.RequestModel(356)
Streaming.RequestModel(359)
Streaming.RequestModel(425)
Streaming.RequestModel(#MINIGUN_BASE)
Streaming.RequestModel(362)
Streaming.RequestModel(428)
Streaming.RequestModel(470)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 41800)
Streaming.LoadAllModelsNow

:HEIST5_1422
if or
  not Streaming.HasModelLoaded(417)
  not Streaming.HasModelLoaded(287)
  not Streaming.HasModelLoaded(356)
  not Streaming.HasModelLoaded(359)
  not Streaming.HasModelLoaded(470)
goto_if_false @HEIST5_1469
wait 0
goto @HEIST5_1422

:HEIST5_1469
if or
  not Streaming.HasModelLoaded(425)
  not Streaming.HasModelLoaded(#MINIGUN_BASE)
  not Streaming.HasModelLoaded(362)
  not Streaming.HasModelLoaded(428)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST5_1515
wait 0
goto @HEIST5_1469

:HEIST5_1515
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1500, Fade.In)

:HEIST5_1530
if 
  Camera.GetFadingStatus
goto_if_false @HEIST5_1554
wait 0
goto @HEIST5_1530

:HEIST5_1554
Player.SetControl($statbike_temp, True)
Text.PrintNow('HM5_1', 5000, 1)
38@ = Blip.AddForCoord(2616.408, 2721.367, 35.563)
Blip.SetAsFriendly(38@, True)
109@ = Object.Create(#MINIGUN_BASE, 2595.549, 2758.04, 22.832)
Object.SetHeading(109@, 180.0)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 18804)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 18807)

:HEIST5_1651
if or
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2502.702, 2778.55, 9.868, 200.0, 200.0, 400.0, False)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @HEIST5_1740
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @HEIST5_1733
goto @HEIST5_13739

:HEIST5_1733
goto @HEIST5_1651

:HEIST5_1740
34@ = Car.Create(417, 2614.603, 2720.745, 35.563)
Car.SetHeading(34@, 90.0)
Heli.AttachWinch(34@, True)
Car.LockDoors(34@, CarLock.Locked)
Car.SetProofs(34@, True, True, True, True, False)
Car.FreezePosition(34@, True)
104@ = 1
97@ = Char.Create(PedType.Mission1, 287, 2502.702, 2778.55, 9.868)
Char.GiveWeapon(97@, WeaponType.M4, 30000)
Char.SetHeading(97@, 90.0)
Char.SetAccuracy(97@, 70)
Char.SetShootRate(97@, 40)
Char.SetDecisionMaker(97@, 56@)
67@ = Char.Create(PedType.Mission1, 287, 2615.0, 2835.0, 9.86)
Char.GiveWeapon(67@, WeaponType.M4, 30000)
Char.SetHeading(67@, 105.0)
Char.SetDecisionMaker(67@, 57@)
Char.ClearAllRelationships(67@, RelationshipType.Hate)
Char.SetRelationship(67@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(67@, 70)
Char.SetShootRate(67@, 40)
69@ = Char.Create(PedType.Mission1, 287, 2615.0, 2817.0, 9.86)
Char.GiveWeapon(69@, WeaponType.M4, 30000)
Char.SetHeading(69@, 105.0)
Char.SetDecisionMaker(69@, 57@)
Char.ClearAllRelationships(69@, RelationshipType.Hate)
Char.SetRelationship(69@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(69@, 70)
Char.SetShootRate(69@, 40)
71@ = Char.Create(PedType.Mission1, 287, 2585.927, 2837.06, 9.82)
Char.GiveWeapon(71@, WeaponType.M4, 30000)
Char.SetHeading(71@, 127.0)
Char.SetDecisionMaker(71@, 57@)
Char.ClearAllRelationships(71@, RelationshipType.Hate)
Char.SetRelationship(71@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(71@, 70)
Char.SetShootRate(71@, 50)
Task.PlayAnim(71@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, -1)
73@ = Char.Create(PedType.Mission1, 287, 2568.0, 2821.0, 9.86)
Char.GiveWeapon(73@, WeaponType.M4, 30000)
Char.SetHeading(73@, 80.0)
Char.SetDecisionMaker(73@, 57@)
Char.ClearAllRelationships(73@, RelationshipType.Hate)
Char.SetRelationship(73@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(73@, 70)
Char.SetShootRate(73@, 40)
75@ = Char.Create(PedType.Mission1, 287, 2562.0, 2818.0, 9.86)
Char.GiveWeapon(75@, WeaponType.M4, 30000)
Char.SetHeading(75@, 96.0)
Char.SetDecisionMaker(75@, 57@)
Char.ClearAllRelationships(75@, RelationshipType.Hate)
Char.SetRelationship(75@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(75@, 70)
Char.SetShootRate(75@, 45)
Task.PlayAnim(75@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, -1)
77@ = Char.Create(PedType.Mission1, 287, 2571.933, 2831.912, 9.82)
Char.GiveWeapon(77@, WeaponType.M4, 30000)
Char.SetHeading(77@, 70.0)
Char.SetDecisionMaker(77@, 57@)
Char.ClearAllRelationships(77@, RelationshipType.Hate)
Char.SetRelationship(77@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(77@, 70)
Char.SetShootRate(77@, 40)
Task.PlayAnim(77@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, -1)
79@ = Char.Create(PedType.Mission1, 287, 2595.0, 2840.0, 9.86)
Char.GiveWeapon(79@, WeaponType.M4, 30000)
Char.SetHeading(79@, 96.0)
Char.SetDecisionMaker(79@, 57@)
Char.ClearAllRelationships(79@, RelationshipType.Hate)
Char.SetRelationship(79@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(79@, 70)
Char.SetShootRate(79@, 50)
81@ = Char.Create(PedType.Mission1, 287, 2613.0, 2806.0, 18.999)
Char.GiveWeapon(81@, WeaponType.M4, 30000)
Char.SetHeading(81@, 96.0)
Char.SetHealth(81@, 100)
Char.SetDecisionMaker(81@, 58@)
Char.ClearAllRelationships(81@, RelationshipType.Hate)
Char.SetRelationship(81@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(81@, 70)
Char.SetShootRate(81@, 45)
83@ = Char.Create(PedType.Mission1, 287, 2614.0, 2848.0, 18.999)
Char.GiveWeapon(83@, WeaponType.M4, 30000)
Char.SetHeading(83@, 96.0)
Char.SetHealth(83@, 100)
Char.SetDecisionMaker(83@, 58@)
Char.ClearAllRelationships(83@, RelationshipType.Hate)
Char.SetRelationship(83@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(83@, 70)
Char.SetShootRate(83@, 40)
85@ = Char.Create(PedType.Mission1, 287, 2545.0, 2806.0, 18.999)
Char.GiveWeapon(85@, WeaponType.M4, 30000)
Char.SetHeading(85@, 274.0)
Char.SetHealth(85@, 100)
Char.SetDecisionMaker(85@, 58@)
Char.ClearAllRelationships(85@, RelationshipType.Hate)
Char.SetRelationship(85@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(85@, 70)
Char.SetShootRate(85@, 45)
87@ = Char.Create(PedType.Mission1, 287, 2563.0, 2848.0, 18.999)
Char.GiveWeapon(87@, WeaponType.M4, 30000)
Char.SetHeading(87@, 274.0)
Char.SetHealth(87@, 100)
Char.SetDecisionMaker(87@, 58@)
Char.ClearAllRelationships(87@, RelationshipType.Hate)
Char.SetRelationship(87@, RelationshipType.Hate, PedType.Player1)
Char.SetAccuracy(87@, 70)
Char.SetShootRate(87@, 40)
42@ = Char.Create(PedType.Mission1, 287, 2621.0, 2804.0, 9.86)
Char.SetDecisionMaker(42@, 58@)
Char.GiveWeapon(42@, WeaponType.M4, 30000)
Char.SetAccuracy(42@, 70)
Char.SetShootRate(42@, 50)
Path.FlushRoute
Path.ExtendRoute(2629.0, 2795.0, 9.86)
Path.ExtendRoute(2642.0, 2788.0, 9.86)
Path.ExtendRoute(2659.0, 2786.0, 9.86)
Path.ExtendRoute(2621.0, 2804.0, 9.86)
Task.FollowPointRoute(42@, 4, RouteMode.Loop)
43@ = Char.Create(PedType.Mission1, 287, 2649.0, 2768.0, 18.375)
Char.SetDecisionMaker(43@, 58@)
Char.GiveWeapon(43@, WeaponType.M4, 30000)
Char.SetStayInSamePlace(43@, True)
Char.SetHeading(43@, 330.0)
Char.SetAccuracy(43@, 70)
Char.SetShootRate(43@, 40)
Task.PlayAnim(43@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, -1)
44@ = Char.Create(PedType.Mission1, 287, 2626.37, 2800.007, 9.82)
Char.SetDecisionMaker(44@, 58@)
Char.SetHeading(44@, 14.7)
Char.GiveWeapon(44@, WeaponType.M4, 30000)
Char.SetAccuracy(44@, 70)
Char.SetShootRate(44@, 45)
Task.ToggleDuck(44@, True)
Char.SetStayInSamePlace(44@, True)
61@ = Char.Create(PedType.Mission1, 287, 2504.0, 2763.0, 9.86)
Char.GiveWeapon(61@, WeaponType.M4, 30000)
Char.SetHeading(61@, 364.0)
Char.SetDecisionMaker(61@, 58@)
Char.SetAccuracy(61@, 70)
Char.SetShootRate(61@, 45)
Path.FlushRoute
Path.ExtendRoute(2504.0, 2753.0, 9.86)
Path.ExtendRoute(2504.0, 2737.0, 9.86)
Path.ExtendRoute(2505.0, 2711.0, 9.86)
Path.ExtendRoute(2504.0, 2737.0, 9.86)
Path.ExtendRoute(2504.0, 2753.0, 9.86)
Path.ExtendRoute(2504.0, 2763.0, 9.86)
Task.FollowPointRoute(61@, 4, RouteMode.Loop)
63@ = Char.Create(PedType.Mission1, 287, 2509.0, 2791.0, 9.86)
Char.GiveWeapon(63@, WeaponType.M4, 30000)
Char.SetHeading(63@, 90.0)
Char.SetDecisionMaker(63@, 58@)
Char.SetAccuracy(63@, 70)
Char.SetShootRate(63@, 40)
Path.FlushRoute
Path.ExtendRoute(2511.0, 2809.0, 9.86)
Path.ExtendRoute(2511.0, 2833.0, 9.86)
Path.ExtendRoute(2511.0, 2844.0, 9.86)
Path.ExtendRoute(2527.0, 2844.0, 9.86)
Path.ExtendRoute(2511.0, 2844.0, 9.86)
Path.ExtendRoute(2511.0, 2833.0, 9.86)
Path.ExtendRoute(2511.0, 2809.0, 9.86)
Path.ExtendRoute(2509.0, 2791.0, 9.86)
Task.FollowPointRoute(63@, 4, RouteMode.Loop)
65@ = Char.Create(PedType.Mission1, 287, 2583.0, 2801.0, 9.86)
Char.GiveWeapon(65@, WeaponType.M4, 30000)
Char.SetHeading(65@, 184.0)
Char.SetDecisionMaker(65@, 58@)
Char.SetAccuracy(65@, 70)
Char.SetShootRate(65@, 50)
Path.FlushRoute
Path.ExtendRoute(2568.0, 2801.0, 9.86)
Path.ExtendRoute(2551.0, 2801.0, 9.86)
Path.ExtendRoute(2538.0, 2801.0, 9.845)
Path.ExtendRoute(2551.0, 2801.0, 9.845)
Path.ExtendRoute(2568.0, 2801.0, 9.855)
Path.ExtendRoute(2583.0, 2801.0, 9.845)
Task.FollowPointRoute(65@, 4, RouteMode.Loop)
45@ = Char.Create(PedType.Mission1, 287, 2606.119, 2733.683, 35.563)
Char.SetDecisionMaker(45@, 58@)
Char.GiveWeapon(45@, WeaponType.M4, 30000)
Char.SetStayInSamePlace(45@, True)
Char.SetAccuracy(45@, 70)
Char.SetShootRate(45@, 50)
46@ = Char.Create(PedType.Mission1, 287, 2628.508, 2733.41, 35.564)
Char.SetDecisionMaker(46@, 58@)
Char.GiveWeapon(46@, WeaponType.M4, 30000)
Char.SetStayInSamePlace(46@, True)
Char.SetAccuracy(46@, 70)
Char.SetShootRate(46@, 40)
47@ = Char.Create(PedType.Mission1, 287, 2595.279, 2755.393, 22.822)
Char.SetHeading(47@, 80.0)
Char.SetDecisionMaker(47@, 58@)
Char.GiveWeapon(47@, WeaponType.M4, 30000)
Char.SetStayInSamePlace(47@, True)
Char.SetAccuracy(47@, 70)
Char.SetShootRate(47@, 45)
48@ = Char.Create(PedType.Mission1, 287, 2658.506, 2784.133, 14.93)
Char.SetHeading(48@, 54.818)
Char.SetDecisionMaker(48@, 58@)
Char.GiveWeapon(48@, WeaponType.M4, 30000)
Char.SetStayInSamePlace(48@, True)
Char.SetAccuracy(48@, 70)
Char.SetShootRate(48@, 50)
$h9_player_in_casino = Car.Create(470, 2520.737, 2769.963, 9.816)
Car.SetHeading($h9_player_in_casino, 0.563)
$h9_safe_timer = Char.CreateInsideCar($h9_player_in_casino, PedType.Mission1, 287)
Char.SetDecisionMaker($h9_safe_timer, 56@)
Char.GiveWeapon($h9_safe_timer, WeaponType.M4, 30000)
Char.SetAccuracy($h9_safe_timer, 70)
Char.SetShootRate($h9_safe_timer, 40)
Car.SetIdle($h9_player_in_casino)

:HEIST5_4208
if 
  112@ <> 2
goto_if_false @HEIST5_7629
wait 0
if 
  100@ >= 1
goto_if_false @HEIST5_4347
if 
  159@ == 0
goto_if_false @HEIST5_4296
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot3, 2502.943, 2778.928, 10.82)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
159@ = 1

:HEIST5_4296
if 
  103@ == 1
goto_if_false @HEIST5_4347
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @HEIST5_4347
Text.ClearThisPrint('HE5_BD')
103@ = 2

:HEIST5_4347
if 
  154@ == 0
goto_if_false @HEIST5_5816
if 
  $h9_offset == 0
goto_if_false @HEIST5_4684
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2502.702, 2778.55, 9.868, 80.0, 80.0, 80.0, False)
  99@ == 1
  100@ == 1
goto_if_false @HEIST5_4684
if 
  not Car.IsDead($h9_player_in_casino)
goto_if_false @HEIST5_4684
if 
  not Char.IsDead($h9_safe_timer)
goto_if_false @HEIST5_4684
if 
  Char.IsInCar($h9_safe_timer, $h9_player_in_casino)
goto_if_false @HEIST5_4644
if 
  100@ >= 1
goto_if_false @HEIST5_4554
if 
  154@ == 0
goto_if_false @HEIST5_4554
Task.KillCharOnFoot($h9_safe_timer, $stattreadstamina_ctr)
$1525 = 0
154@ = 1

:HEIST5_4554
if 
  154@ == 0
goto_if_false @HEIST5_4637
Task.CarDriveToCoord($h9_safe_timer, $h9_player_in_casino, 2506.34, 2772.69, 9.8203, 10.0, DriveMode.Accurate, 0, DrivingMode.PloughThrough)
World.ClearArea(2501.494, 2775.199, 9.8203, 3.0, False)
$h9_offset = 1

:HEIST5_4637
goto @HEIST5_4684

:HEIST5_4644
if 
  154@ == 0
goto_if_false @HEIST5_4684
Task.KillCharOnFoot($h9_safe_timer, $stattreadstamina_ctr)
$1525 = 0
154@ = 1

:HEIST5_4684
if 
  $h9_offset == 1
goto_if_false @HEIST5_4945
if 
  not Car.IsDead($h9_player_in_casino)
goto_if_false @HEIST5_4945
if 
  not Char.IsDead($h9_safe_timer)
goto_if_false @HEIST5_4945
if 
  Char.IsInCar($h9_safe_timer, $h9_player_in_casino)
goto_if_false @HEIST5_4905
if 
  100@ >= 1
goto_if_false @HEIST5_4811
if 
  154@ == 0
goto_if_false @HEIST5_4811
Task.KillCharOnFoot($h9_safe_timer, $stattreadstamina_ctr)
$1525 = 0
154@ = 1

:HEIST5_4811
if 
  154@ == 0
goto_if_false @HEIST5_4898
if 
  Car.Locate3D($h9_player_in_casino, 2506.34, 2772.69, 9.8203, 2.0, 2.0, 2.0, False)
goto_if_false @HEIST5_4898
$number_of_instances_of_streamed_script = 1
$1525 = 1
$h9_offset = 2

:HEIST5_4898
goto @HEIST5_4945

:HEIST5_4905
if 
  154@ == 0
goto_if_false @HEIST5_4945
Task.KillCharOnFoot($h9_safe_timer, $stattreadstamina_ctr)
$1525 = 0
154@ = 1

:HEIST5_4945
if 
  $h9_offset == 2
goto_if_false @HEIST5_5344
if 
  not Car.IsDead($h9_player_in_casino)
goto_if_false @HEIST5_5313
if 
  not Car.IsInArea3D($h9_player_in_casino, 2497.387, 2858.018, 8.0, 2676.413, 2683.661, 60.0, False)
goto_if_false @HEIST5_5058
World.ClearArea(2497.289, 2772.606, 9.8262, 5.0, False)
$1525 = 0

:HEIST5_5058
if 
  not Char.IsDead($h9_safe_timer)
goto_if_false @HEIST5_5306
if 
  Char.IsInCar($h9_safe_timer, $h9_player_in_casino)
goto_if_false @HEIST5_5266
if 
  $number_of_instances_of_streamed_script == 3
goto_if_false @HEIST5_5201
if 
  154@ == 0
goto_if_false @HEIST5_5194
Task.CarDriveToCoord($h9_safe_timer, $h9_player_in_casino, 2472.188, 2775.916, 9.7097, 20.0, DriveMode.Accurate, 0, DrivingMode.AvoidCars)
World.ClearArea(2472.188, 2775.916, 9.7097, 3.0, False)
$h9_offset = 3

:HEIST5_5194
goto @HEIST5_5259

:HEIST5_5201
if 
  100@ >= 1
goto_if_false @HEIST5_5259
if 
  154@ == 0
goto_if_false @HEIST5_5259
Task.KillCharOnFoot($h9_safe_timer, $stattreadstamina_ctr)
$1525 = 0
154@ = 1

:HEIST5_5259
goto @HEIST5_5306

:HEIST5_5266
if 
  154@ == 0
goto_if_false @HEIST5_5306
Task.KillCharOnFoot($h9_safe_timer, $stattreadstamina_ctr)
$1525 = 0
154@ = 1

:HEIST5_5306
goto @HEIST5_5344

:HEIST5_5313
World.ClearArea(2497.289, 2772.606, 9.8262, 5.0, False)
$1525 = 0

:HEIST5_5344
if 
  $h9_offset == 3
goto_if_false @HEIST5_5647
if 
  not Car.IsDead($h9_player_in_casino)
goto_if_false @HEIST5_5616
if 
  not Car.IsInArea3D($h9_player_in_casino, 2497.387, 2858.018, 8.0, 2676.413, 2683.661, 60.0, False)
goto_if_false @HEIST5_5457
World.ClearArea(2497.289, 2772.606, 9.8262, 5.0, False)
$1525 = 0

:HEIST5_5457
if 
  not Char.IsDead($h9_safe_timer)
goto_if_false @HEIST5_5609
if 
  Char.IsInCar($h9_safe_timer, $h9_player_in_casino)
goto_if_false @HEIST5_5569
if 
  Car.Locate3D($h9_player_in_casino, 2472.188, 2775.916, 9.7097, 2.0, 2.0, 2.0, False)
goto_if_false @HEIST5_5562
Task.CarDriveWander($h9_safe_timer, $h9_player_in_casino, 30.0, DrivingMode.AvoidCars)
$h9_offset = 4

:HEIST5_5562
goto @HEIST5_5609

:HEIST5_5569
if 
  154@ == 0
goto_if_false @HEIST5_5609
Task.KillCharOnFoot($h9_safe_timer, $stattreadstamina_ctr)
$1525 = 0
154@ = 1

:HEIST5_5609
goto @HEIST5_5647

:HEIST5_5616
World.ClearArea(2497.289, 2772.606, 9.8262, 5.0, False)
$1525 = 0

:HEIST5_5647
if 
  $1525 == 1
goto_if_false @HEIST5_5816
if 
  4 >= $h9_offset
goto_if_false @HEIST5_5816
if 
  not Car.IsDead($h9_player_in_casino)
goto_if_false @HEIST5_5785
if 
  not Car.IsInArea3D($h9_player_in_casino, 2497.387, 2858.018, 8.0, 2676.413, 2683.661, 60.0, False)
goto_if_false @HEIST5_5778
World.ClearArea(2497.289, 2772.606, 9.8262, 5.0, False)
$1525 = 0

:HEIST5_5778
goto @HEIST5_5816

:HEIST5_5785
World.ClearArea(2497.289, 2772.606, 9.8262, 5.0, False)
$1525 = 0

:HEIST5_5816
if 
  99@ == 0
goto_if_false @HEIST5_5977
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2497.387, 2858.018, 8.0, 2676.413, 2683.661, 100.0, False)
goto_if_false @HEIST5_5977
Blip.Remove(38@)
if 
  not Car.IsDead(34@)
goto_if_false @HEIST5_5925
35@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(35@, True)
goto @HEIST5_5958

:HEIST5_5925
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_5958
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(0.0)
99@ = 1

:HEIST5_5977
gosub @HEIST5_19775
gosub @HEIST5_16771
if 
  99@ == 1
goto_if_false @HEIST5_6080
gosub @HEIST5_15420
gosub @HEIST5_14166
if 
  100@ == 1
goto_if_false @HEIST5_6080
if 
  89@ == 0
goto_if_false @HEIST5_6073
gosub @HEIST5_14495
goto @HEIST5_6080

:HEIST5_6073
gosub @HEIST5_14893

:HEIST5_6080
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_6119
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_6119
if 
  Char.IsInAreaOnFoot3D($stattreadstamina_ctr, 2656.523, 2782.107, 17.0, 2594.178, 2695.773, 60.0, False)
goto_if_false @HEIST5_6199
if 
  113@ == 0
goto_if_false @HEIST5_6199
gosub @HEIST5_20275
113@ = 1

:HEIST5_6199
if 
  113@ == 1
goto_if_false @HEIST5_6272
if 
  Char.IsInAreaOnFoot3D($stattreadstamina_ctr, 2646.055, 2782.106, 21.0, 2594.268, 2724.261, 60.0, False)
goto_if_false @HEIST5_6272
113@ = 2

:HEIST5_6272
if 
  113@ == 2
goto_if_false @HEIST5_7141
if 
  111@ == 0
goto_if_false @HEIST5_6580
114@ = Car.Create(425, 2253.509, 2806.941, 15.0)
115@ = Blip.AddForCar(114@)
Car.SetHealth(114@, 4000)
117@ = Char.CreateInsideCar(114@, PedType.Mission1, 287)
Car.SetForwardSpeed(114@, 20.0)
Car.SelectWeapons(114@, 1)
Heli.AttackPlayer(114@, $statbike_temp, 50.0)
StuckCarCheck.Add(114@, 2.0, 5000)
118@ = Car.Create(425, 2306.756, 2806.941, 15.0)
119@ = Blip.AddForCar(118@)
Car.SetHealth(118@, 4000)
121@ = Char.CreateInsideCar(118@, PedType.Mission1, 287)
Car.SetForwardSpeed(118@, 20.0)
Car.SelectWeapons(118@, 1)
Heli.AttackPlayer(118@, $statbike_temp, 50.0)
StuckCarCheck.Add(118@, 2.0, 5000)
Text.PrintNow('HM5_6', 12000, 1)
110@ = Blip.AddForCoord(2595.549, 2758.04, 22.832)
149@ = Sphere.Create(2596.589, 2758.158, 22.862, 1.0)
TIMERB = 0
153@ = 1
111@ = 1

:HEIST5_6580
if 
  111@ == 1
goto_if_false @HEIST5_6810
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2596.589, 2758.158, 22.862, 1.0, 1.0, 3.0, False)
goto_if_false @HEIST5_6801
if 
  151@ == 0
goto_if_false @HEIST5_6682
Text.PrintHelp('HM5_20')
151@ = 1

:HEIST5_6682
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @HEIST5_6794
if 
  152@ == 0
goto_if_false @HEIST5_6794
Text.ClearThisPrint('HM5_20')
Text.ClearHelp
Blip.Remove(110@)
Sphere.Remove(149@)
Char.AttachToObject($stattreadstamina_ctr, 109@, 0.0, 0.0, 2.0, 1, 360.0, WeaponType.Minigun)
Object.SetVisible(109@, False)
111@ = 2
152@ = 1

:HEIST5_6794
goto @HEIST5_6810

:HEIST5_6801
Text.ClearHelp
151@ = 0

:HEIST5_6810
if 
  111@ == 2
goto_if_false @HEIST5_6853
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @HEIST5_6853
111@ = 3

:HEIST5_6853
if 
  111@ == 3
goto_if_false @HEIST5_6932
if 
  150@ == 0
goto_if_false @HEIST5_6907
Text.PrintHelp('HM5_21')
150@ = 1

:HEIST5_6907
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @HEIST5_6932
111@ = 4

:HEIST5_6932
if 
  111@ == 4
goto_if_false @HEIST5_7141
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @HEIST5_7141
if 
  152@ == 1
goto_if_false @HEIST5_7141
Char.DetachFromCar($stattreadstamina_ctr)
World.ClearArea(2596.129, 2757.112, 22.862, 1.0, False)
Char.SetCoordinates($stattreadstamina_ctr, 2596.129, 2757.112, 22.862)
Char.SetHeading($stattreadstamina_ctr, 217.0)
Object.SetVisible(109@, True)
Text.ClearThisPrint('HM5_21')
Text.ClearHelp
Blip.Remove(110@)
Sphere.Remove(149@)
110@ = Blip.AddForCoord(2595.549, 2758.04, 22.832)
149@ = Sphere.Create(2596.589, 2758.158, 22.862, 1.0)
150@ = 0
111@ = 1
152@ = 0

:HEIST5_7141
if 
  153@ == 1
goto_if_false @HEIST5_7475
if 
  116@ == 0
goto_if_false @HEIST5_7317
if 
  Car.IsDead(114@)
goto_if_false @HEIST5_7219
Blip.Remove(115@)
112@ += 1
116@ = 1
goto @HEIST5_7317

:HEIST5_7219
if 
  StuckCarCheck.IsCarStuck(114@)
goto_if_false @HEIST5_7317
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_var_float 133@ = $x
133@ += 80.0
set_lvar_float_to_var_float 134@ = $y
134@ += 80.0
set_lvar_float_to_var_float 135@ = $z
135@ += 50.0
Car.SetCoordinates(114@, 133@, 134@, 135@)

:HEIST5_7317
if 
  120@ == 0
goto_if_false @HEIST5_7475
if 
  Car.IsDead(118@)
goto_if_false @HEIST5_7377
Blip.Remove(119@)
112@ += 1
120@ = 1
goto @HEIST5_7475

:HEIST5_7377
if 
  StuckCarCheck.IsCarStuck(118@)
goto_if_false @HEIST5_7475
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_var_float 136@ = $x
136@ += 90.0
set_lvar_float_to_var_float 137@ = $y
137@ += 90.0
set_lvar_float_to_var_float 138@ = $z
138@ += 60.0
Car.SetCoordinates(118@, 136@, 137@, 138@)

:HEIST5_7475
if 
  TIMERB > 240000
goto_if_false @HEIST5_7622
if 
  116@ == 0
goto_if_false @HEIST5_7559
if 
  not Car.IsDead(114@)
goto_if_false @HEIST5_7559
Car.Explode(114@)
Car.Explode(114@)
Blip.Remove(115@)
112@ += 1
116@ = 1

:HEIST5_7559
if 
  120@ == 0
goto_if_false @HEIST5_7622
if 
  not Car.IsDead(118@)
goto_if_false @HEIST5_7622
Car.Explode(118@)
Car.Explode(118@)
Blip.Remove(119@)
112@ += 1
120@ = 1

:HEIST5_7622
goto @HEIST5_4208

:HEIST5_7629
$1525 = 0
Text.ClearThisPrint('HM5_20')
Text.ClearThisPrint('HM5_21')
Text.ClearHelp
Sphere.Remove(149@)
Blip.Remove(38@)
Blip.Remove(110@)
Blip.Remove(115@)
Blip.Remove(119@)
Streaming.MarkModelAsNoLongerNeeded(425)
Streaming.MarkModelAsNoLongerNeeded(362)
if 
  152@ == 1
goto_if_false @HEIST5_7772
Char.DetachFromCar($stattreadstamina_ctr)
World.ClearArea(2596.129, 2757.112, 22.862, 1.0, False)
Char.SetCoordinates($stattreadstamina_ctr, 2596.129, 2757.112, 22.862)
Char.SetHeading($stattreadstamina_ctr, 217.0)

:HEIST5_7772
if 
  Object.DoesExist(109@)
goto_if_false @HEIST5_7795
Object.SetVisible(109@, True)

:HEIST5_7795
if 
  not Car.IsDead(34@)
goto_if_false @HEIST5_7847
Car.LockDoors(34@, CarLock.Unlocked)
Car.SetProofs(34@, False, False, False, False, False)
Car.FreezePosition(34@, False)
goto @HEIST5_7870

:HEIST5_7847
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_7870
Text.PrintNow('HM5_7', 8000, 1)

:HEIST5_7886
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @HEIST5_8128
wait 0
gosub @HEIST5_19775
gosub @HEIST5_16771
if 
  99@ == 1
goto_if_false @HEIST5_7998
if 
  100@ == 1
goto_if_false @HEIST5_7998
if 
  89@ == 0
goto_if_false @HEIST5_7991
gosub @HEIST5_14495
goto @HEIST5_7998

:HEIST5_7991
gosub @HEIST5_14893

:HEIST5_7998
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_8044
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721
goto @HEIST5_8121

:HEIST5_8044
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 2614.603, 2720.745, 35.563, 4.0, 4.0, 4.0, False)
goto_if_false @HEIST5_8121
Car.LockDoors(34@, CarLock.Unlocked)
Car.SetProofs(34@, False, False, False, False, False)
Car.FreezePosition(34@, False)

:HEIST5_8121
goto @HEIST5_7886

:HEIST5_8128
if 
  159@ == 1
goto_if_false @HEIST5_8157
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
159@ = 0

:HEIST5_8157
Player.ClearWantedLevel($statbike_temp)
Blip.Remove(35@)
Streaming.MarkModelAsNoLongerNeeded(359)
122@ = Car.Create(428, 2847.391, 904.2733, 9.75)
Car.SetUpsidedownNotDamaged(122@, True)
Car.LockDoors(122@, CarLock.Locked)
Car.SetHeading(122@, 353.511)
123@ = Blip.AddForCar(122@)
Blip.SetAsFriendly(123@, True)
$h9_health = Car.GetUprightValue(122@)
129@ = 1
Text.PrintNow('HM5_8', 8000, 1)
TIMERA = 0

:HEIST5_8272
if 
  125@ == 0
goto_if_false @HEIST5_8925
wait 0
if 
  124@ == 0
goto_if_false @HEIST5_8418
if 
  Car.IsDead(122@)
goto_if_false @HEIST5_8395
if 
  129@ == 1
goto_if_false @HEIST5_8358
Blip.Remove(123@)
129@ = 0

:HEIST5_8358
Text.PrintNow('HM5_9', 8000, 1)
goto @HEIST5_13721
124@ = 1
goto @HEIST5_8418

:HEIST5_8395
$gate_drive_car_ai_heist5 = Car.GetHealth(122@)
$gate_drive_car_ai_heist5 /= 10
$h9_health = Car.GetUprightValue(122@)

:HEIST5_8418
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_8464
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721
goto @HEIST5_8918

:HEIST5_8464
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @HEIST5_8809
if 
  163@ == 0
goto_if_false @HEIST5_8549
if 
  TIMERA >= 5000
goto_if_false @HEIST5_8549
Text.ClearThisPrint('HM5_8')
Text.PrintHelp('WINCH_V')
163@ = 1

:HEIST5_8549
if 
  90@ == 0
goto_if_false @HEIST5_8622
if 
  not Char.IsInArea3D($stattreadstamina_ctr, 2497.387, 2858.018, 8.0, 2676.413, 2683.661, 80.0, False)
goto_if_false @HEIST5_8622
gosub @HEIST5_20968

:HEIST5_8622
126@, 127@, 128@ = Heli.GrabEntityOnWinch(34@)
if 
  not Car.IsDead(122@)
goto_if_false @HEIST5_8693
if 
  is_int_lvar_equal_to_int_lvar 126@ == 122@
goto_if_false @HEIST5_8693
$gate_drive_car_ai_heist5 = Car.GetHealth(122@)
$gate_drive_car_ai_heist5 /= 10
125@ = 1

:HEIST5_8693
if 
  36@ == 1
goto_if_false @HEIST5_8802
$sweet = 1
Blip.Remove(35@)
if 
  not Car.IsDead(122@)
goto_if_false @HEIST5_8795
if 
  129@ == 0
goto_if_false @HEIST5_8795
123@ = Blip.AddForCar(122@)
Blip.SetAsFriendly(123@, True)
Text.PrintNow('HM5_10', 8000, 1)
129@ = 1

:HEIST5_8795
36@ = 0

:HEIST5_8802
goto @HEIST5_8918

:HEIST5_8809
if 
  36@ == 0
goto_if_false @HEIST5_8918
$sweet = 0
if 
  not Car.IsDead(122@)
goto_if_false @HEIST5_8880
if 
  129@ == 1
goto_if_false @HEIST5_8880
Blip.Remove(123@)
129@ = 0

:HEIST5_8880
35@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(35@, True)
Text.PrintNow('IN_VEH', 5000, 1)
36@ = 1

:HEIST5_8918
goto @HEIST5_8272

:HEIST5_8925
if 
  not Car.IsDead(122@)
goto_if_false @HEIST5_8993
if 
  129@ == 1
goto_if_false @HEIST5_8986
Blip.Remove(123@)
Car.SetProofs(122@, False, False, False, False, False)
129@ = 0

:HEIST5_8986
goto @HEIST5_9053

:HEIST5_8993
if 
  129@ == 1
goto_if_false @HEIST5_9023
Blip.Remove(123@)
129@ = 0

:HEIST5_9023
Text.PrintNow('HM5_9', 8000, 1)
goto @HEIST5_13721
124@ = 1

:HEIST5_9053
Streaming.MarkModelAsNoLongerNeeded(287)
Streaming.RequestModel(117)
Text.PrintNow('HM5_2', 5000, 1)
37@ = Blip.AddForCoord(39@, 40@, 41@)
139@ = 1
36@ = 0
129@ = 0
$sweet = 1

:HEIST5_9120
if or
  142@ <> 1
  not Car.LocateStopped3D(122@, 39@, 40@, 41@, 6.0, 6.0, 5.0, $sweet)
  not Streaming.HasModelLoaded(117)
goto_if_false @HEIST5_10604
wait 0
if 
  124@ == 0
goto_if_false @HEIST5_9542
if 
  Car.IsDead(122@)
goto_if_false @HEIST5_9279
if 
  129@ == 1
goto_if_false @HEIST5_9242
Blip.Remove(123@)
129@ = 0

:HEIST5_9242
Text.PrintNow('HM5_9', 8000, 1)
goto @HEIST5_13721
124@ = 1
goto @HEIST5_9542

:HEIST5_9279
$gate_drive_car_ai_heist5 = Car.GetHealth(122@)
$gate_drive_car_ai_heist5 /= 10
$h9_health = Car.GetUprightValue(122@)
if 
  Car.LocateStopped3D(122@, 39@, 40@, 41@, 6.0, 6.0, 5.0, False)
goto_if_false @HEIST5_9535
if 
  140@ == 0
goto_if_false @HEIST5_9499
if and
  1.0 >= $h9_health
  $h9_health > 0.8
goto_if_false @HEIST5_9444
if 
  not Car.IsInAirProper(122@)
goto_if_false @HEIST5_9430
Car.WinchCanPickUp(122@, False)
142@ = 1
goto @HEIST5_9437

:HEIST5_9430
142@ = 0

:HEIST5_9437
goto @HEIST5_9451

:HEIST5_9444
142@ = 0

:HEIST5_9451
if 
  142@ == 0
goto_if_false @HEIST5_9492
Text.PrintNow('HM5_12', 8000, 1)
140@ = 1

:HEIST5_9492
goto @HEIST5_9528

:HEIST5_9499
if 
  142@ == 1
goto_if_false @HEIST5_9528
Text.ClearThisPrint('HM5_12')

:HEIST5_9528
goto @HEIST5_9542

:HEIST5_9535
140@ = 0

:HEIST5_9542
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_9588
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721
goto @HEIST5_10597

:HEIST5_9588
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @HEIST5_10469
126@, 127@, 128@ = Heli.GrabEntityOnWinch(34@)
if 
  not Car.IsDead(122@)
goto_if_false @HEIST5_10082
if 
  is_int_lvar_equal_to_int_lvar 126@ == 122@
goto_if_false @HEIST5_9789
if 
  129@ == 1
goto_if_false @HEIST5_9701
Blip.Remove(123@)
$gate_drive_car_ai_heist5 = Car.GetHealth(122@)
$gate_drive_car_ai_heist5 /= 10
129@ = 0

:HEIST5_9701
if 
  139@ == 0
goto_if_false @HEIST5_9768
Blip.Remove(37@)
37@ = Blip.AddForCoord(39@, 40@, 41@)
Text.PrintNow('HM5_2', 5000, 1)
$sweet = 1
139@ = 1

:HEIST5_9768
141@ = 0
125@ = 1
goto @HEIST5_10082

:HEIST5_9789
130@, 131@, 132@ = Car.GetCoordinates(122@)
105@, 106@, 107@ = Car.GetCoordinates(34@)
108@ = Math.GetDistanceBetweenCoords2D(105@, 106@, 130@, 131@)
if 
  10.0 > 108@
goto_if_false @HEIST5_9977
if 
  not World.IsLineOfSightClear(105@, 106@, 107@, 130@, 131@, 132@, True, False, False, False, False)
goto_if_false @HEIST5_9977
if 
  141@ == 0
goto_if_false @HEIST5_9935
TIMERA = 0
141@ = 1
goto @HEIST5_9977

:HEIST5_9935
if 
  TIMERA >= 10000
goto_if_false @HEIST5_9977
Text.PrintNow('HM5_14', 8000, 1)
goto @HEIST5_13721

:HEIST5_9977
125@ = 0
if 
  139@ == 1
goto_if_false @HEIST5_10014
Blip.Remove(37@)
139@ = 0

:HEIST5_10014
if 
  129@ == 0
goto_if_false @HEIST5_10082
Blip.Remove(123@)
123@ = Blip.AddForCar(122@)
Blip.SetAsFriendly(123@, True)
Text.PrintNow('HM5_10', 8000, 1)
$sweet = 0
129@ = 1

:HEIST5_10082
if 
  36@ == 1
goto_if_false @HEIST5_10462
Blip.Remove(35@)
if 
  125@ == 1
goto_if_false @HEIST5_10204
if 
  139@ == 0
goto_if_false @HEIST5_10167
Blip.Remove(37@)
37@ = Blip.AddForCoord(39@, 40@, 41@)
139@ = 1

:HEIST5_10167
Text.PrintNow('HM5_2', 5000, 1)
$sweet = 1
36@ = 0
goto @HEIST5_10462

:HEIST5_10204
if 
  not Car.IsDead(122@)
goto_if_false @HEIST5_10455
if 
  129@ == 0
goto_if_false @HEIST5_10455
Blip.Remove(123@)
123@ = Blip.AddForCar(122@)
Blip.SetAsFriendly(123@, True)
Text.PrintNow('HM5_10', 8000, 1)
$sweet = 0
130@, 131@, 132@ = Car.GetCoordinates(122@)
105@, 106@, 107@ = Car.GetCoordinates(34@)
108@ = Math.GetDistanceBetweenCoords2D(105@, 106@, 130@, 131@)
if 
  not World.IsLineOfSightClear(105@, 106@, 107@, 130@, 131@, 132@, True, False, False, False, False)
goto_if_false @HEIST5_10448
if 
  141@ == 0
goto_if_false @HEIST5_10406
TIMERA = 0
141@ = 1
goto @HEIST5_10448

:HEIST5_10406
if 
  TIMERA >= 10000
goto_if_false @HEIST5_10448
Text.PrintNow('HM5_14', 8000, 1)
goto @HEIST5_13721

:HEIST5_10448
129@ = 1

:HEIST5_10455
36@ = 0

:HEIST5_10462
goto @HEIST5_10597

:HEIST5_10469
if 
  36@ == 0
goto_if_false @HEIST5_10597
$sweet = 0
if 
  139@ == 1
goto_if_false @HEIST5_10524
Blip.Remove(37@)
139@ = 0

:HEIST5_10524
if 
  129@ == 1
goto_if_false @HEIST5_10554
Blip.Remove(123@)
129@ = 0

:HEIST5_10554
Blip.Remove(35@)
35@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(35@, True)
Text.PrintNow('IN_VEH', 5000, 1)
36@ = 1

:HEIST5_10597
goto @HEIST5_9120

:HEIST5_10604
Text.ClearThisPrint('HM5_12')
Blip.Remove(37@)
if 
  not Car.IsDead(122@)
goto_if_false @HEIST5_10699
Blip.Remove(123@)
if 
  not Car.IsDead(34@)
goto_if_false @HEIST5_10669
Heli.ReleaseEntityFromWinch(34@)
goto @HEIST5_10692

:HEIST5_10669
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_10692
goto @HEIST5_10727

:HEIST5_10699
Blip.Remove(123@)
Text.PrintNow('HM5_9', 8000, 1)
goto @HEIST5_13721

:HEIST5_10727
Text.PrintNow('HM5_13', 8000, 1)
144@ = Blip.AddForCoord(145@, 146@, 147@)
36@ = 0
$sweet = 1
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 18800)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 18801)

:HEIST5_10785
if or
  not Car.LocateStopped3D(34@, 145@, 146@, 147@, 20.0, 20.0, 4.0, $sweet)
  not Char.IsSittingInCar($stattreadstamina_ctr, 34@)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @HEIST5_11106
wait 0
if 
  Car.IsDead(122@)
goto_if_false @HEIST5_10892
Blip.Remove(123@)
Text.PrintNow('HM5_9', 8000, 1)
goto @HEIST5_13721

:HEIST5_10892
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_10938
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721
goto @HEIST5_11099

:HEIST5_10938
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @HEIST5_11031
if 
  36@ == 1
goto_if_false @HEIST5_11024
Blip.Remove(35@)
Text.PrintNow('HM5_13', 8000, 1)
144@ = Blip.AddForCoord(145@, 146@, 147@)
$sweet = 1
36@ = 0

:HEIST5_11024
goto @HEIST5_11099

:HEIST5_11031
if 
  36@ == 0
goto_if_false @HEIST5_11099
Blip.Remove(144@)
35@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(35@, True)
Text.PrintNow('IN_VEH', 5000, 1)
$sweet = 0
36@ = 1

:HEIST5_11099
goto @HEIST5_10785

:HEIST5_11106
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Blip.Remove(144@)
Blip.Remove(35@)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Car.Delete(122@)
Streaming.MarkModelAsNoLongerNeeded(428)
Player.MakeGangDisappear
145@ = 365.87
146@ = 2537.868
if 
  not Car.IsDead(34@)
goto_if_false @HEIST5_11235
Car.SetCoordinates(34@, 145@, 146@, 147@)
Car.SetHeading(34@, 214.0)
Car.SetProofs(34@, True, True, True, True, True)
goto @HEIST5_11258

:HEIST5_11235
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_11258
Camera.SetFixedPosition(371.7336, 2544.856, 16.6086, 0.0, 0.0, 0.0)
Camera.PointAtPoint(371.3514, 2543.944, 16.7564, SwitchType.JumpCut)
wait 2000
skip_cutscene_start_internal @HEIST5_13381
if 
  not Car.IsDead(34@)
goto_if_false @HEIST5_11366
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Task.LeaveCar($stattreadstamina_ctr, 34@)
goto @HEIST5_11389

:HEIST5_11366
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_11389
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HEIST5_11455
wait 0
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_11448
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_11448
goto @HEIST5_11389

:HEIST5_11455
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
148@ = Char.Create(PedType.CivMale, 117, 375.081, 2535.866, 15.64)
Char.SetDecisionMaker(148@, 56@)
Char.SetOnlyDamagedByPlayer(148@, True)
Char.SetProofs(148@, True, True, True, True, True)
Char.ShutUpForScriptedSpeech(148@, True)
Task.GoStraightToCoord($stattreadstamina_ctr, 370.364, 2538.753, 15.643, MoveState.Walk, -1)

:HEIST5_11547
if 
  not Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 370.364, 2538.753, 15.643, 1.0, 1.0, 2.0, False)
goto_if_false @HEIST5_11684
wait 0
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_11638
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_11638
if 
  Char.IsDead(148@)
goto_if_false @HEIST5_11677
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_11677
goto @HEIST5_11547

:HEIST5_11684
if 
  not Char.IsDead(148@)
goto_if_false @HEIST5_11796
Task.GotoChar(148@, $stattreadstamina_ctr, -1, 1.3)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('HE5_AA', 10000, 1)
Char.StartFacialTalk(148@, 999999)
Task.PlayAnimNonInterruptable(148@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 148@)
goto @HEIST5_11819

:HEIST5_11796
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_11819
TIMERA = 0

:HEIST5_11826
if or
  not Char.LocateOnFootChar3D(148@, $stattreadstamina_ctr, 1.2, 1.2, 2.0, False)
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST5_12020
wait 0
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_11928
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_AA')
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_11928
if 
  Char.IsDead(148@)
goto_if_false @HEIST5_11974
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721
goto @HEIST5_12013

:HEIST5_11974
if 
  TIMERA >= 15000
goto_if_false @HEIST5_12013
Char.SetCoordinates(148@, 371.364, 2538.753, 15.643)

:HEIST5_12013
goto @HEIST5_11826

:HEIST5_12020
if 
  not Char.IsDead(148@)
goto_if_false @HEIST5_12048
Char.ClearTasks(148@)
goto @HEIST5_12071

:HEIST5_12048
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_12071
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint('HE5_AA')
if 
  not Char.IsDead(148@)
goto_if_false @HEIST5_12114
Char.StopFacialTalk(148@)
goto @HEIST5_12137

:HEIST5_12114
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_12137
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HEIST5_12280
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('HE5_AB', 10000, 1)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
Char.StartFacialTalk($stattreadstamina_ctr, 999999)
if 
  not Char.IsDead(148@)
goto_if_false @HEIST5_12250
Task.TurnCharToFaceChar($stattreadstamina_ctr, 148@)
goto @HEIST5_12273

:HEIST5_12250
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_12273
goto @HEIST5_12299

:HEIST5_12280
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_AB')

:HEIST5_12299
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 18802)

:HEIST5_12306
if or
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST5_12449
wait 0
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_12368
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_12368
if 
  Char.IsDead(148@)
goto_if_false @HEIST5_12407
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_12407
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @HEIST5_12442
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_AB')

:HEIST5_12442
goto @HEIST5_12306

:HEIST5_12449
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_AB')
Char.ClearTasks($stattreadstamina_ctr)
Char.StopFacialTalk($stattreadstamina_ctr)
if 
  not Char.IsDead(148@)
goto_if_false @HEIST5_12563
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('HE5_AC', 10000, 1)
Char.StartFacialTalk(148@, 999999)
Task.PlayAnimNonInterruptable(148@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
goto @HEIST5_12605

:HEIST5_12563
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_AC')
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_12605
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 18803)

:HEIST5_12612
if or
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @HEIST5_12739
wait 0
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_12674
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_12674
if 
  Char.IsDead(148@)
goto_if_false @HEIST5_12732
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_AC')
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_12732
goto @HEIST5_12612

:HEIST5_12739
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint('HE5_AC')
if 
  not Char.IsDead(148@)
goto_if_false @HEIST5_12782
Char.StopFacialTalk(148@)
goto @HEIST5_12805

:HEIST5_12782
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_12805
if 
  not Char.IsDead(148@)
goto_if_false @HEIST5_12833
Char.ClearTasks(148@)
goto @HEIST5_12856

:HEIST5_12833
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_12856
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HEIST5_12945
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('HE5_AD', 10000, 1)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
Char.StartFacialTalk($stattreadstamina_ctr, 999999)
goto @HEIST5_12964

:HEIST5_12945
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_AD')

:HEIST5_12964
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @HEIST5_13103
wait 0
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_13022
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_13022
if 
  Char.IsDead(148@)
goto_if_false @HEIST5_13061
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_13061
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @HEIST5_13096
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_AD')

:HEIST5_13096
goto @HEIST5_12964

:HEIST5_13103
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_AD')
Char.ClearTasks($stattreadstamina_ctr)
Char.StopFacialTalk($stattreadstamina_ctr)
if 
  not Char.IsDead(148@)
goto_if_false @HEIST5_13175
Task.GoStraightToCoord(148@, 378.998, 2534.098, 15.624, MoveState.Walk, -1)
goto @HEIST5_13198

:HEIST5_13175
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_13198
wait 1200
Task.GoStraightToCoord($stattreadstamina_ctr, 379.998, 2534.098, 15.624, MoveState.Walk, -1)
TIMERA = 0

:HEIST5_13234
if 
  3000 >= TIMERA
goto_if_false @HEIST5_13342
wait 0
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_13296
Text.PrintNow('HM5_3', 5000, 1)
goto @HEIST5_13721

:HEIST5_13296
if 
  Char.IsDead(148@)
goto_if_false @HEIST5_13335
Text.PrintNow('HM5_16', 8000, 1)
goto @HEIST5_13721

:HEIST5_13335
goto @HEIST5_13234

:HEIST5_13342
Car.Delete(34@)
Char.Delete(148@)
Char.SetCoordinates($stattreadstamina_ctr, 388.007, 2532.546, 15.594)
Camera.SetBehindPlayer
164@ = 1

:HEIST5_13381
skip_cutscene_end 
if 
  164@ == 0
goto_if_false @HEIST5_13683
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:HEIST5_13416
if 
  Camera.GetFadingStatus
goto_if_false @HEIST5_13440
wait 0
goto @HEIST5_13416

:HEIST5_13440
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearHelp
Text.ClearPrints
Hud.SwitchWidescreen(False)
World.ClearArea(388.007, 2532.546, 15.594, 5.0, True)
if 
  Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @HEIST5_13600
165@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 388.007, 2532.546, 15.594)

:HEIST5_13524
if 
  Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @HEIST5_13583
wait 0
if 
  Car.IsDead(34@)
goto_if_false @HEIST5_13560

:HEIST5_13560
if 
  Char.IsDead(148@)
goto_if_false @HEIST5_13576

:HEIST5_13576
goto @HEIST5_13524

:HEIST5_13583
Char.SetHeading($stattreadstamina_ctr, 270.0)
goto @HEIST5_13630

:HEIST5_13600
Char.SetCoordinates($stattreadstamina_ctr, 388.007, 2532.546, 15.594)
Char.SetHeading($stattreadstamina_ctr, 270.0)

:HEIST5_13630
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Car.Delete(34@)
Char.Delete(148@)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:HEIST5_13659
if 
  Camera.GetFadingStatus
goto_if_false @HEIST5_13683
wait 0
goto @HEIST5_13659

:HEIST5_13683
Player.MakeGangReappear
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
goto @HEIST5_13739

:HEIST5_13721
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:HEIST5_13739
$desert2X += 1
Stat.RegisterMissionPassed('HEIST_5')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSR', 0, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(25)
Player.ClearWantedLevel($statbike_temp)
if 
  $1388 == 0
goto_if_false @HEIST5_13811
Blip.Remove($flag_doc_mission_counter)

:HEIST5_13811
CarGenerator.Switch($pimpZ, 101)
Audio.PlayMissionPassedTune(1)
return 

:HEIST5_13824
Char.DetachFromCar($stattreadstamina_ctr)
Game.SetWantedMultiplier(1.0)
if 
  $boat_accelerate_best_score == 1
goto_if_false @HEIST5_13861
CarGenerator.Switch($d5_silver_generator_unlocked, 101)

:HEIST5_13861
if 
  $boat_simplecircuit_best_score == 1
goto_if_false @HEIST5_13886
CarGenerator.Switch($d5_gold_generator_unlocked, 101)

:HEIST5_13886
if 
  $boat_slalom_best_score == 1
goto_if_false @HEIST5_13911
CarGenerator.Switch($boat_which_missions_are_open_flag, 101)

:HEIST5_13911
if 
  not Pickup.HasBeenCollected(156@)
goto_if_false @HEIST5_13932
Pickup.Remove(156@)

:HEIST5_13932
if 
  not Pickup.HasBeenCollected(157@)
goto_if_false @HEIST5_13953
Pickup.Remove(157@)

:HEIST5_13953
if 
  not Pickup.HasBeenCollected(158@)
goto_if_false @HEIST5_13974
Pickup.Remove(158@)

:HEIST5_13974
$1525 = 0
Game.SwitchAmbientPlanes(True)
Game.SwitchPoliceHelis(True)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Sphere.Remove(149@)
Streaming.MarkModelAsNoLongerNeeded(417)
Streaming.MarkModelAsNoLongerNeeded(287)
Streaming.MarkModelAsNoLongerNeeded(356)
Streaming.MarkModelAsNoLongerNeeded(359)
Streaming.MarkModelAsNoLongerNeeded(425)
Streaming.MarkModelAsNoLongerNeeded(#MINIGUN_BASE)
Streaming.MarkModelAsNoLongerNeeded(362)
Streaming.MarkModelAsNoLongerNeeded(428)
Streaming.MarkModelAsNoLongerNeeded(470)
Streaming.MarkModelAsNoLongerNeeded(117)
DecisionMaker.Remove(57@)
DecisionMaker.Remove(58@)
DecisionMaker.Remove(56@)
Blip.Remove(35@)
Blip.Remove(37@)
Blip.Remove(38@)
Blip.Remove(144@)
Blip.Remove(110@)
Blip.Remove(115@)
Blip.Remove(119@)
Blip.Remove(123@)
Sequence.Clear(59@)
Sequence.Clear(60@)
Sequence.Clear(91@)
Sequence.Clear(92@)
Sequence.Clear(93@)
Sequence.Clear(94@)
Sequence.Clear(95@)
Sequence.Clear(96@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Mission.Finish
return 

:HEIST5_14166
if 
  not Char.IsDead(45@)
goto_if_false @HEIST5_14275
if or
  Char.IsInFlyingVehicle($stattreadstamina_ctr)
  Player.IsUsingJetpack($statbike_temp)
  $flag_returned_shoehorses > 0
goto_if_false @HEIST5_14246
Char.RemoveAllWeapons(45@)
Char.GiveWeapon(45@, WeaponType.RocketLauncher, 30000)
Char.SetAccuracy(45@, 85)
Char.SetShootRate(45@, 40)
goto @HEIST5_14275

:HEIST5_14246
Char.RemoveAllWeapons(45@)
Char.GiveWeapon(45@, WeaponType.M4, 30000)
Char.SetAccuracy(45@, 70)
Char.SetShootRate(45@, 40)

:HEIST5_14275
if 
  not Char.IsDead(46@)
goto_if_false @HEIST5_14384
if or
  Char.IsInFlyingVehicle($stattreadstamina_ctr)
  Player.IsUsingJetpack($statbike_temp)
  $flag_returned_shoehorses > 0
goto_if_false @HEIST5_14355
Char.RemoveAllWeapons(46@)
Char.GiveWeapon(46@, WeaponType.RocketLauncher, 30000)
Char.SetAccuracy(46@, 85)
Char.SetShootRate(46@, 40)
goto @HEIST5_14384

:HEIST5_14355
Char.RemoveAllWeapons(46@)
Char.GiveWeapon(46@, WeaponType.M4, 30000)
Char.SetAccuracy(46@, 70)
Char.SetShootRate(46@, 45)

:HEIST5_14384
if 
  not Char.IsDead(47@)
goto_if_false @HEIST5_14493
if or
  Char.IsInFlyingVehicle($stattreadstamina_ctr)
  Player.IsUsingJetpack($statbike_temp)
  $flag_returned_shoehorses > 0
goto_if_false @HEIST5_14464
Char.RemoveAllWeapons(47@)
Char.GiveWeapon(47@, WeaponType.RocketLauncher, 30000)
Char.SetAccuracy(47@, 85)
Char.SetShootRate(47@, 40)
goto @HEIST5_14493

:HEIST5_14464
Char.RemoveAllWeapons(47@)
Char.GiveWeapon(47@, WeaponType.M4, 30000)
Char.SetAccuracy(47@, 70)
Char.SetShootRate(47@, 50)

:HEIST5_14493
return 

:HEIST5_14495
if 
  89@ == 0
goto_if_false @HEIST5_14891
if 
  not Char.IsDead(61@)
goto_if_false @HEIST5_14537
Task.KillCharOnFoot(61@, $stattreadstamina_ctr)

:HEIST5_14537
if 
  not Char.IsDead(63@)
goto_if_false @HEIST5_14561
Task.KillCharOnFoot(63@, $stattreadstamina_ctr)

:HEIST5_14561
if 
  not Char.IsDead(65@)
goto_if_false @HEIST5_14585
Task.KillCharOnFoot(65@, $stattreadstamina_ctr)

:HEIST5_14585
if 
  not Char.IsDead(67@)
goto_if_false @HEIST5_14609
Char.PerformSequence(67@, 91@)

:HEIST5_14609
if 
  not Char.IsDead(69@)
goto_if_false @HEIST5_14633
Char.PerformSequence(69@, 92@)

:HEIST5_14633
if 
  not Char.IsDead(71@)
goto_if_false @HEIST5_14664
Task.KillCharOnFoot(71@, $stattreadstamina_ctr)
Char.SetStayInSamePlace(71@, True)

:HEIST5_14664
if 
  not Char.IsDead(73@)
goto_if_false @HEIST5_14695
Task.KillCharOnFoot(73@, $stattreadstamina_ctr)
Char.SetStayInSamePlace(73@, True)

:HEIST5_14695
if 
  not Char.IsDead(75@)
goto_if_false @HEIST5_14726
Task.KillCharOnFoot(75@, $stattreadstamina_ctr)
Char.SetStayInSamePlace(75@, True)

:HEIST5_14726
if 
  not Char.IsDead(77@)
goto_if_false @HEIST5_14757
Task.KillCharOnFoot(77@, $stattreadstamina_ctr)
Char.SetStayInSamePlace(77@, True)

:HEIST5_14757
if 
  not Char.IsDead(79@)
goto_if_false @HEIST5_14788
Task.KillCharOnFoot(79@, $stattreadstamina_ctr)
Char.SetStayInSamePlace(79@, True)

:HEIST5_14788
if 
  not Char.IsDead(81@)
goto_if_false @HEIST5_14812
Char.PerformSequence(81@, 93@)

:HEIST5_14812
if 
  not Char.IsDead(83@)
goto_if_false @HEIST5_14836
Char.PerformSequence(83@, 94@)

:HEIST5_14836
if 
  not Char.IsDead(85@)
goto_if_false @HEIST5_14860
Char.PerformSequence(85@, 95@)

:HEIST5_14860
if 
  not Char.IsDead(87@)
goto_if_false @HEIST5_14884
Char.PerformSequence(87@, 96@)

:HEIST5_14884
89@ = 1

:HEIST5_14891
return 

:HEIST5_14893
if 
  not Char.IsDead(67@)
goto_if_false @HEIST5_14968
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 67@, 3.0, 3.0, 2.0, False)
goto_if_false @HEIST5_14960
Char.SetDecisionMaker(67@, 58@)
goto @HEIST5_14968

:HEIST5_14960
Char.SetDecisionMaker(67@, 57@)

:HEIST5_14968
if 
  not Char.IsDead(69@)
goto_if_false @HEIST5_15043
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 69@, 3.0, 3.0, 2.0, False)
goto_if_false @HEIST5_15035
Char.SetDecisionMaker(69@, 58@)
goto @HEIST5_15043

:HEIST5_15035
Char.SetDecisionMaker(69@, 57@)

:HEIST5_15043
if 
  not Char.IsDead(71@)
goto_if_false @HEIST5_15118
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 71@, 3.0, 3.0, 2.0, False)
goto_if_false @HEIST5_15110
Char.SetDecisionMaker(71@, 58@)
goto @HEIST5_15118

:HEIST5_15110
Char.SetDecisionMaker(71@, 57@)

:HEIST5_15118
if 
  not Char.IsDead(73@)
goto_if_false @HEIST5_15193
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 73@, 3.0, 3.0, 2.0, False)
goto_if_false @HEIST5_15185
Char.SetDecisionMaker(73@, 58@)
goto @HEIST5_15193

:HEIST5_15185
Char.SetDecisionMaker(73@, 57@)

:HEIST5_15193
if 
  not Char.IsDead(75@)
goto_if_false @HEIST5_15268
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 75@, 3.0, 3.0, 2.0, False)
goto_if_false @HEIST5_15260
Char.SetDecisionMaker(75@, 58@)
goto @HEIST5_15268

:HEIST5_15260
Char.SetDecisionMaker(75@, 57@)

:HEIST5_15268
if 
  not Char.IsDead(77@)
goto_if_false @HEIST5_15343
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 77@, 3.0, 3.0, 2.0, False)
goto_if_false @HEIST5_15335
Char.SetDecisionMaker(77@, 58@)
goto @HEIST5_15343

:HEIST5_15335
Char.SetDecisionMaker(77@, 57@)

:HEIST5_15343
if 
  not Char.IsDead(79@)
goto_if_false @HEIST5_15418
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 79@, 3.0, 3.0, 2.0, False)
goto_if_false @HEIST5_15410
Char.SetDecisionMaker(79@, 58@)
goto @HEIST5_15418

:HEIST5_15410
Char.SetDecisionMaker(79@, 57@)

:HEIST5_15418
return 

:HEIST5_15420
if 
  not Char.IsDead(97@)
goto_if_false @HEIST5_16707
if 
  100@ == 0
goto_if_false @HEIST5_16550
if or
  Player.IsTargetingChar($statbike_temp, 97@)
  Char.HasBeenDamagedByWeapon(97@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_15487
100@ = 1

:HEIST5_15487
if 
  not Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @HEIST5_16536
if 
  not Player.IsUsingJetpack($statbike_temp)
goto_if_false @HEIST5_16522
if 
  $flag_returned_shoehorses == 0
goto_if_false @HEIST5_16508
if or
  Char.HasSpottedChar(97@, $stattreadstamina_ctr)
  Char.IsInArea3D($stattreadstamina_ctr, 2497.387, 2858.018, 8.0, 2676.413, 2683.661, 60.0, False)
goto_if_false @HEIST5_16501
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  101@ == 0
goto_if_false @HEIST5_15754
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 97@, 8.0, 8.0, 8.0, False)
goto_if_false @HEIST5_15677
Text.PrintNow('HE5_BA', 8000, 1)

:HEIST5_15677
160@, 161@, 162@ = Char.GetCoordinates(97@)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot1, 160@, 161@, 162@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Char.StartFacialTalk(97@, 999999)
Char.ShutUpForScriptedSpeech(97@, True)
TIMERB = 0
Task.GotoChar(97@, $stattreadstamina_ctr, -1, 2.0)
101@ = 1

:HEIST5_15754
if 
  101@ == 1
goto_if_false @HEIST5_15808
102@ = Char.GetScriptTaskStatus(97@, 1497)
if 
  is_int_lvar_equal_to_constant 102@ == 7
goto_if_false @HEIST5_15808
101@ = 2

:HEIST5_15808
if 
  101@ >= 1
goto_if_false @HEIST5_16501

:HEIST5_15826
if 
  3000 > TIMERB
goto_if_false @HEIST5_16194
wait 0
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST5_15917
Text.ClearThisPrint('HE5_BA')
if 
  not Char.IsDead(97@)
goto_if_false @HEIST5_15910
Char.StopFacialTalk(97@)
Char.ShutUpForScriptedSpeech(97@, False)
goto @HEIST5_15917

:HEIST5_15910
98@ = 1

:HEIST5_15917
if 
  100@ == 1
goto_if_false @HEIST5_16069
if 
  not Char.IsDead(97@)
goto_if_false @HEIST5_16007
if 
  103@ == 0
goto_if_false @HEIST5_16000
Char.ClearAllRelationships(97@, RelationshipType.Hate)
Char.SetRelationship(97@, RelationshipType.Hate, PedType.Player1)
Task.KillCharOnFoot(97@, $stattreadstamina_ctr)
103@ = 1

:HEIST5_16000
goto @HEIST5_16062

:HEIST5_16007
if 
  98@ == 0
goto_if_false @HEIST5_16062
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_BA')
Text.ClearThisPrint('HE5_BB')
98@ = 1

:HEIST5_16062
goto @HEIST5_16187

:HEIST5_16069
if 
  98@ == 0
goto_if_false @HEIST5_16187
if 
  Char.IsDead(97@)
goto_if_false @HEIST5_16154
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_BA')
Text.ClearThisPrint('HE5_BB')
100@ = 1
98@ = 1
goto @HEIST5_16187

:HEIST5_16154
if or
  Player.IsTargetingChar($statbike_temp, 97@)
  Char.HasBeenDamagedByWeapon(97@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_16187
100@ = 1

:HEIST5_16187
goto @HEIST5_15826

:HEIST5_16194
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2497.387, 2858.018, 8.0, 2676.413, 2683.661, 60.0, False)
goto_if_false @HEIST5_16501
if 
  not Char.IsDead(97@)
goto_if_false @HEIST5_16439
if 
  100@ >= 0
goto_if_false @HEIST5_16376
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 97@, 8.0, 8.0, 8.0, False)
goto_if_false @HEIST5_16328
Text.PrintNow('HE5_BD', 8000, 1)

:HEIST5_16328
Char.StartFacialTalk(97@, 999999)
Char.ShutUpForScriptedSpeech(97@, True)
160@, 161@, 162@ = Char.GetCoordinates(97@)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot2, 160@, 161@, 162@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)

:HEIST5_16376
if 
  103@ == 0
goto_if_false @HEIST5_16425
Char.ClearAllRelationships(97@, RelationshipType.Hate)
Char.SetRelationship(97@, RelationshipType.Hate, PedType.Player1)
Task.KillCharOnFoot(97@, $stattreadstamina_ctr)
103@ = 1

:HEIST5_16425
100@ = 1
goto @HEIST5_16501

:HEIST5_16439
if 
  98@ == 0
goto_if_false @HEIST5_16494
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_BA')
Text.ClearThisPrint('HE5_BB')
98@ = 1

:HEIST5_16494
100@ = 1

:HEIST5_16501
goto @HEIST5_16515

:HEIST5_16508
100@ = 1

:HEIST5_16515
goto @HEIST5_16529

:HEIST5_16522
100@ = 1

:HEIST5_16529
goto @HEIST5_16543

:HEIST5_16536
100@ = 1

:HEIST5_16543
goto @HEIST5_16700

:HEIST5_16550
if 
  not Char.IsDead(97@)
goto_if_false @HEIST5_16638
if 
  103@ == 0
goto_if_false @HEIST5_16631
Char.ClearAllRelationships(97@, RelationshipType.Hate)
Char.ClearAllRelationships(97@, RelationshipType.Like)
Char.SetRelationship(97@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(97@, RelationshipType.Like, PedType.Mission1)
Task.KillCharOnFoot(97@, $stattreadstamina_ctr)
103@ = 1

:HEIST5_16631
goto @HEIST5_16700

:HEIST5_16638
if 
  98@ == 0
goto_if_false @HEIST5_16693
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_BA')
Text.ClearThisPrint('HE5_BB')
98@ = 1

:HEIST5_16693
100@ = 1

:HEIST5_16700
goto @HEIST5_16769

:HEIST5_16707
if 
  98@ == 0
goto_if_false @HEIST5_16762
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint('HE5_BA')
Text.ClearThisPrint('HE5_BB')
98@ = 1

:HEIST5_16762
100@ = 1

:HEIST5_16769
return 

:HEIST5_16771
if 
  62@ == 0
goto_if_false @HEIST5_16958
if 
  Char.IsDead(61@)
goto_if_false @HEIST5_16826
100@ = 1
62@ = 1
goto @HEIST5_16958

:HEIST5_16826
if 
  99@ == 1
goto_if_false @HEIST5_16958
if 
  100@ == 0
goto_if_false @HEIST5_16958
if or
  Player.IsTargetingChar($statbike_temp, 61@)
  Char.HasBeenDamagedByWeapon(61@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_16895
100@ = 1

:HEIST5_16895
if 
  101@ > 1
goto_if_false @HEIST5_16958
if 
  TIMERB > 3000
goto_if_false @HEIST5_16958
if 
  Char.HasSpottedChar(61@, $stattreadstamina_ctr)
goto_if_false @HEIST5_16958
100@ = 1

:HEIST5_16958
if 
  64@ == 0
goto_if_false @HEIST5_17145
if 
  Char.IsDead(63@)
goto_if_false @HEIST5_17013
100@ = 1
64@ = 1
goto @HEIST5_17145

:HEIST5_17013
if 
  99@ == 1
goto_if_false @HEIST5_17145
if 
  100@ == 0
goto_if_false @HEIST5_17145
if or
  Player.IsTargetingChar($statbike_temp, 63@)
  Char.HasBeenDamagedByWeapon(63@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_17082
100@ = 1

:HEIST5_17082
if 
  101@ > 1
goto_if_false @HEIST5_17145
if 
  TIMERB > 3000
goto_if_false @HEIST5_17145
if 
  Char.HasSpottedChar(63@, $stattreadstamina_ctr)
goto_if_false @HEIST5_17145
100@ = 1

:HEIST5_17145
if 
  66@ == 0
goto_if_false @HEIST5_17332
if 
  Char.IsDead(65@)
goto_if_false @HEIST5_17200
100@ = 1
66@ = 1
goto @HEIST5_17332

:HEIST5_17200
if 
  99@ == 1
goto_if_false @HEIST5_17332
if 
  100@ == 0
goto_if_false @HEIST5_17332
if or
  Player.IsTargetingChar($statbike_temp, 65@)
  Char.HasBeenDamagedByWeapon(65@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_17269
100@ = 1

:HEIST5_17269
if 
  101@ > 1
goto_if_false @HEIST5_17332
if 
  TIMERB > 3000
goto_if_false @HEIST5_17332
if 
  Char.HasSpottedChar(65@, $stattreadstamina_ctr)
goto_if_false @HEIST5_17332
100@ = 1

:HEIST5_17332
if 
  68@ == 0
goto_if_false @HEIST5_17519
if 
  Char.IsDead(67@)
goto_if_false @HEIST5_17387
100@ = 1
68@ = 1
goto @HEIST5_17519

:HEIST5_17387
if 
  99@ == 1
goto_if_false @HEIST5_17519
if 
  100@ == 0
goto_if_false @HEIST5_17519
if or
  Player.IsTargetingChar($statbike_temp, 67@)
  Char.HasBeenDamagedByWeapon(67@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_17456
100@ = 1

:HEIST5_17456
if 
  101@ > 1
goto_if_false @HEIST5_17519
if 
  TIMERB > 3000
goto_if_false @HEIST5_17519
if 
  Char.HasSpottedChar(67@, $stattreadstamina_ctr)
goto_if_false @HEIST5_17519
100@ = 1

:HEIST5_17519
if 
  70@ == 0
goto_if_false @HEIST5_17706
if 
  Char.IsDead(69@)
goto_if_false @HEIST5_17574
100@ = 1
70@ = 1
goto @HEIST5_17706

:HEIST5_17574
if 
  99@ == 1
goto_if_false @HEIST5_17706
if 
  100@ == 0
goto_if_false @HEIST5_17706
if or
  Player.IsTargetingChar($statbike_temp, 69@)
  Char.HasBeenDamagedByWeapon(69@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_17643
100@ = 1

:HEIST5_17643
if 
  101@ > 1
goto_if_false @HEIST5_17706
if 
  TIMERB > 3000
goto_if_false @HEIST5_17706
if 
  Char.HasSpottedChar(69@, $stattreadstamina_ctr)
goto_if_false @HEIST5_17706
100@ = 1

:HEIST5_17706
if 
  72@ == 0
goto_if_false @HEIST5_17893
if 
  Char.IsDead(71@)
goto_if_false @HEIST5_17761
100@ = 1
72@ = 1
goto @HEIST5_17893

:HEIST5_17761
if 
  99@ == 1
goto_if_false @HEIST5_17893
if 
  100@ == 0
goto_if_false @HEIST5_17893
if or
  Player.IsTargetingChar($statbike_temp, 71@)
  Char.HasBeenDamagedByWeapon(71@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_17830
100@ = 1

:HEIST5_17830
if 
  101@ > 1
goto_if_false @HEIST5_17893
if 
  TIMERB > 3000
goto_if_false @HEIST5_17893
if 
  Char.HasSpottedChar(71@, $stattreadstamina_ctr)
goto_if_false @HEIST5_17893
100@ = 1

:HEIST5_17893
if 
  74@ == 0
goto_if_false @HEIST5_18080
if 
  Char.IsDead(73@)
goto_if_false @HEIST5_17948
100@ = 1
74@ = 1
goto @HEIST5_18080

:HEIST5_17948
if 
  99@ == 1
goto_if_false @HEIST5_18080
if 
  100@ == 0
goto_if_false @HEIST5_18080
if or
  Player.IsTargetingChar($statbike_temp, 73@)
  Char.HasBeenDamagedByWeapon(73@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_18017
100@ = 1

:HEIST5_18017
if 
  101@ > 1
goto_if_false @HEIST5_18080
if 
  TIMERB > 3000
goto_if_false @HEIST5_18080
if 
  Char.HasSpottedChar(73@, $stattreadstamina_ctr)
goto_if_false @HEIST5_18080
100@ = 1

:HEIST5_18080
if 
  76@ == 0
goto_if_false @HEIST5_18267
if 
  Char.IsDead(75@)
goto_if_false @HEIST5_18135
100@ = 1
76@ = 1
goto @HEIST5_18267

:HEIST5_18135
if 
  99@ == 1
goto_if_false @HEIST5_18267
if 
  100@ == 0
goto_if_false @HEIST5_18267
if or
  Player.IsTargetingChar($statbike_temp, 75@)
  Char.HasBeenDamagedByWeapon(75@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_18204
100@ = 1

:HEIST5_18204
if 
  101@ > 1
goto_if_false @HEIST5_18267
if 
  TIMERB > 3000
goto_if_false @HEIST5_18267
if 
  Char.HasSpottedChar(75@, $stattreadstamina_ctr)
goto_if_false @HEIST5_18267
100@ = 1

:HEIST5_18267
if 
  78@ == 0
goto_if_false @HEIST5_18454
if 
  Char.IsDead(77@)
goto_if_false @HEIST5_18322
100@ = 1
78@ = 1
goto @HEIST5_18454

:HEIST5_18322
if 
  99@ == 1
goto_if_false @HEIST5_18454
if 
  100@ == 0
goto_if_false @HEIST5_18454
if or
  Player.IsTargetingChar($statbike_temp, 77@)
  Char.HasBeenDamagedByWeapon(77@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_18391
100@ = 1

:HEIST5_18391
if 
  101@ > 1
goto_if_false @HEIST5_18454
if 
  TIMERB > 3000
goto_if_false @HEIST5_18454
if 
  Char.HasSpottedChar(77@, $stattreadstamina_ctr)
goto_if_false @HEIST5_18454
100@ = 1

:HEIST5_18454
if 
  80@ == 0
goto_if_false @HEIST5_18641
if 
  Char.IsDead(79@)
goto_if_false @HEIST5_18509
100@ = 1
80@ = 1
goto @HEIST5_18641

:HEIST5_18509
if 
  99@ == 1
goto_if_false @HEIST5_18641
if 
  100@ == 0
goto_if_false @HEIST5_18641
if or
  Player.IsTargetingChar($statbike_temp, 79@)
  Char.HasBeenDamagedByWeapon(79@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_18578
100@ = 1

:HEIST5_18578
if 
  101@ > 1
goto_if_false @HEIST5_18641
if 
  TIMERB > 3000
goto_if_false @HEIST5_18641
if 
  Char.HasSpottedChar(79@, $stattreadstamina_ctr)
goto_if_false @HEIST5_18641
100@ = 1

:HEIST5_18641
if 
  82@ == 0
goto_if_false @HEIST5_18828
if 
  Char.IsDead(81@)
goto_if_false @HEIST5_18696
100@ = 1
82@ = 1
goto @HEIST5_18828

:HEIST5_18696
if 
  99@ == 1
goto_if_false @HEIST5_18828
if 
  100@ == 0
goto_if_false @HEIST5_18828
if or
  Player.IsTargetingChar($statbike_temp, 81@)
  Char.HasBeenDamagedByWeapon(81@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_18765
100@ = 1

:HEIST5_18765
if 
  101@ > 1
goto_if_false @HEIST5_18828
if 
  TIMERB > 3000
goto_if_false @HEIST5_18828
if 
  Char.HasSpottedChar(81@, $stattreadstamina_ctr)
goto_if_false @HEIST5_18828
100@ = 1

:HEIST5_18828
if 
  84@ == 0
goto_if_false @HEIST5_19015
if 
  Char.IsDead(83@)
goto_if_false @HEIST5_18883
100@ = 1
84@ = 1
goto @HEIST5_19015

:HEIST5_18883
if 
  99@ == 1
goto_if_false @HEIST5_19015
if 
  100@ == 0
goto_if_false @HEIST5_19015
if or
  Player.IsTargetingChar($statbike_temp, 83@)
  Char.HasBeenDamagedByWeapon(83@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_18952
100@ = 1

:HEIST5_18952
if 
  101@ > 1
goto_if_false @HEIST5_19015
if 
  TIMERB > 3000
goto_if_false @HEIST5_19015
if 
  Char.HasSpottedChar(83@, $stattreadstamina_ctr)
goto_if_false @HEIST5_19015
100@ = 1

:HEIST5_19015
if 
  86@ == 0
goto_if_false @HEIST5_19202
if 
  Char.IsDead(85@)
goto_if_false @HEIST5_19070
100@ = 1
86@ = 1
goto @HEIST5_19202

:HEIST5_19070
if 
  99@ == 1
goto_if_false @HEIST5_19202
if 
  100@ == 0
goto_if_false @HEIST5_19202
if or
  Player.IsTargetingChar($statbike_temp, 85@)
  Char.HasBeenDamagedByWeapon(85@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_19139
100@ = 1

:HEIST5_19139
if 
  101@ > 1
goto_if_false @HEIST5_19202
if 
  TIMERB > 3000
goto_if_false @HEIST5_19202
if 
  Char.HasSpottedChar(85@, $stattreadstamina_ctr)
goto_if_false @HEIST5_19202
100@ = 1

:HEIST5_19202
if 
  88@ == 0
goto_if_false @HEIST5_19389
if 
  Char.IsDead(87@)
goto_if_false @HEIST5_19257
100@ = 1
88@ = 1
goto @HEIST5_19389

:HEIST5_19257
if 
  99@ == 1
goto_if_false @HEIST5_19389
if 
  100@ == 0
goto_if_false @HEIST5_19389
if or
  Player.IsTargetingChar($statbike_temp, 87@)
  Char.HasBeenDamagedByWeapon(87@, WeaponType.AnyWeapon)
goto_if_false @HEIST5_19326
100@ = 1

:HEIST5_19326
if 
  101@ > 1
goto_if_false @HEIST5_19389
if 
  TIMERB > 3000
goto_if_false @HEIST5_19389
if 
  Char.HasSpottedChar(87@, $stattreadstamina_ctr)
goto_if_false @HEIST5_19389
100@ = 1

:HEIST5_19389
if 
  98@ == 0
goto_if_false @HEIST5_19437
if 
  Char.IsDead(97@)
goto_if_false @HEIST5_19437
100@ = 1
98@ = 1

:HEIST5_19437
if 
  49@ == 0
goto_if_false @HEIST5_19485
if 
  Char.IsDead(42@)
goto_if_false @HEIST5_19485
100@ = 1
49@ = 1

:HEIST5_19485
if 
  50@ == 0
goto_if_false @HEIST5_19533
if 
  Char.IsDead(43@)
goto_if_false @HEIST5_19533
100@ = 1
50@ = 1

:HEIST5_19533
if 
  51@ == 0
goto_if_false @HEIST5_19581
if 
  Char.IsDead(44@)
goto_if_false @HEIST5_19581
100@ = 1
51@ = 1

:HEIST5_19581
if 
  52@ == 0
goto_if_false @HEIST5_19629
if 
  Char.IsDead(45@)
goto_if_false @HEIST5_19629
100@ = 1
52@ = 1

:HEIST5_19629
if 
  53@ == 0
goto_if_false @HEIST5_19677
if 
  Char.IsDead(46@)
goto_if_false @HEIST5_19677
100@ = 1
53@ = 1

:HEIST5_19677
if 
  54@ == 0
goto_if_false @HEIST5_19725
if 
  Char.IsDead(47@)
goto_if_false @HEIST5_19725
100@ = 1
54@ = 1

:HEIST5_19725
if 
  55@ == 0
goto_if_false @HEIST5_19773
if 
  Char.IsDead(48@)
goto_if_false @HEIST5_19773
100@ = 1
55@ = 1

:HEIST5_19773
return 

:HEIST5_19775
166@ = 0

:HEIST5_19782
if 
  7 > 166@
goto_if_false @HEIST5_20273
wait 0
gosub @HEIST5_16771
if 
  99@ == 1
goto_if_false @HEIST5_20029
gosub @HEIST5_15420
gosub @HEIST5_14166
if 
  100@ == 1
goto_if_false @HEIST5_19900
if 
  89@ == 0
goto_if_false @HEIST5_19893
gosub @HEIST5_14495
goto @HEIST5_19900

:HEIST5_19893
gosub @HEIST5_14893

:HEIST5_19900
if 
  100@ >= 1
goto_if_false @HEIST5_20029
if 
  103@ == 1
goto_if_false @HEIST5_20029
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @HEIST5_20029
Text.ClearThisPrint('HE5_BD')
if 
  98@ == 0
goto_if_false @HEIST5_20022
if 
  not Char.IsDead(97@)
goto_if_false @HEIST5_20015
Char.StopFacialTalk(97@)
Char.ShutUpForScriptedSpeech(97@, False)
goto @HEIST5_20022

:HEIST5_20015
98@ = 1

:HEIST5_20022
103@ = 2

:HEIST5_20029
if 
  not Char.IsDead(42@(166@,7i))
goto_if_false @HEIST5_20252
$chickY = Char.GetScriptTaskStatus(42@(166@,7i), 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @HEIST5_20245
if 
  99@ == 1
goto_if_false @HEIST5_20245
if 
  100@ == 0
goto_if_false @HEIST5_20233
if or
  Player.IsTargetingChar($statbike_temp, 42@(166@,7i))
  Char.HasBeenDamagedByWeapon(42@(166@,7i), WeaponType.AnyWeapon)
goto_if_false @HEIST5_20159
100@ = 1

:HEIST5_20159
if 
  101@ > 1
goto_if_false @HEIST5_20226
if 
  TIMERB > 3000
goto_if_false @HEIST5_20226
if 
  Char.HasSpottedChar(42@(166@,7i), $stattreadstamina_ctr)
goto_if_false @HEIST5_20226
100@ = 1

:HEIST5_20226
goto @HEIST5_20245

:HEIST5_20233
Task.KillCharOnFoot(42@(166@,7i), $stattreadstamina_ctr)

:HEIST5_20245
goto @HEIST5_20259

:HEIST5_20252
100@ = 1

:HEIST5_20259
166@ += 1
goto @HEIST5_19782

:HEIST5_20273
return 

:HEIST5_20275
if 
  62@ == 0
goto_if_false @HEIST5_20321
if 
  not Char.IsDead(61@)
goto_if_false @HEIST5_20321
Char.Delete(61@)
62@ = 1

:HEIST5_20321
if 
  64@ == 0
goto_if_false @HEIST5_20367
if 
  not Char.IsDead(63@)
goto_if_false @HEIST5_20367
Char.Delete(63@)
64@ = 1

:HEIST5_20367
if 
  66@ == 0
goto_if_false @HEIST5_20413
if 
  not Char.IsDead(65@)
goto_if_false @HEIST5_20413
Char.Delete(65@)
66@ = 1

:HEIST5_20413
if 
  68@ == 0
goto_if_false @HEIST5_20459
if 
  not Char.IsDead(67@)
goto_if_false @HEIST5_20459
Char.Delete(67@)
68@ = 1

:HEIST5_20459
if 
  70@ == 0
goto_if_false @HEIST5_20505
if 
  not Char.IsDead(69@)
goto_if_false @HEIST5_20505
Char.Delete(69@)
70@ = 1

:HEIST5_20505
if 
  72@ == 0
goto_if_false @HEIST5_20551
if 
  not Char.IsDead(71@)
goto_if_false @HEIST5_20551
Char.Delete(71@)
72@ = 1

:HEIST5_20551
if 
  74@ == 0
goto_if_false @HEIST5_20597
if 
  not Char.IsDead(73@)
goto_if_false @HEIST5_20597
Char.Delete(73@)
74@ = 1

:HEIST5_20597
if 
  76@ == 0
goto_if_false @HEIST5_20643
if 
  not Char.IsDead(75@)
goto_if_false @HEIST5_20643
Char.Delete(75@)
76@ = 1

:HEIST5_20643
if 
  78@ == 0
goto_if_false @HEIST5_20689
if 
  not Char.IsDead(77@)
goto_if_false @HEIST5_20689
Char.Delete(77@)
78@ = 1

:HEIST5_20689
if 
  80@ == 0
goto_if_false @HEIST5_20735
if 
  not Char.IsDead(79@)
goto_if_false @HEIST5_20735
Char.Delete(79@)
80@ = 1

:HEIST5_20735
if 
  82@ == 0
goto_if_false @HEIST5_20781
if 
  not Char.IsDead(81@)
goto_if_false @HEIST5_20781
Char.Delete(81@)
82@ = 1

:HEIST5_20781
if 
  84@ == 0
goto_if_false @HEIST5_20827
if 
  not Char.IsDead(83@)
goto_if_false @HEIST5_20827
Char.Delete(83@)
84@ = 1

:HEIST5_20827
if 
  86@ == 0
goto_if_false @HEIST5_20873
if 
  not Char.IsDead(85@)
goto_if_false @HEIST5_20873
Char.Delete(85@)
86@ = 1

:HEIST5_20873
if 
  88@ == 0
goto_if_false @HEIST5_20919
if 
  not Char.IsDead(87@)
goto_if_false @HEIST5_20919
Char.Delete(87@)
88@ = 1

:HEIST5_20919
if 
  not Char.IsDead($h9_safe_timer)
goto_if_false @HEIST5_20940
Char.Delete($h9_safe_timer)

:HEIST5_20940
if 
  not Car.IsDead($h9_player_in_casino)
goto_if_false @HEIST5_20961
Car.Delete($h9_player_in_casino)

:HEIST5_20961
Streaming.MarkModelAsNoLongerNeeded(470)
return 

:HEIST5_20968
if 
  98@ == 0
goto_if_false @HEIST5_21014
if 
  not Char.IsDead(97@)
goto_if_false @HEIST5_21014
Char.Delete(97@)
98@ = 1

:HEIST5_21014
if 
  49@ == 0
goto_if_false @HEIST5_21060
if 
  not Char.IsDead(42@)
goto_if_false @HEIST5_21060
Char.Delete(42@)
49@ = 1

:HEIST5_21060
if 
  50@ == 0
goto_if_false @HEIST5_21106
if 
  not Char.IsDead(43@)
goto_if_false @HEIST5_21106
Char.Delete(43@)
50@ = 1

:HEIST5_21106
if 
  51@ == 0
goto_if_false @HEIST5_21152
if 
  not Char.IsDead(44@)
goto_if_false @HEIST5_21152
Char.Delete(44@)
51@ = 1

:HEIST5_21152
if 
  52@ == 0
goto_if_false @HEIST5_21198
if 
  not Char.IsDead(45@)
goto_if_false @HEIST5_21198
Char.Delete(45@)
52@ = 1

:HEIST5_21198
if 
  53@ == 0
goto_if_false @HEIST5_21244
if 
  not Char.IsDead(46@)
goto_if_false @HEIST5_21244
Char.Delete(46@)
53@ = 1

:HEIST5_21244
if 
  54@ == 0
goto_if_false @HEIST5_21290
if 
  not Char.IsDead(47@)
goto_if_false @HEIST5_21290
Char.Delete(47@)
54@ = 1

:HEIST5_21290
if 
  55@ == 0
goto_if_false @HEIST5_21336
if 
  not Char.IsDead(48@)
goto_if_false @HEIST5_21336
Char.Delete(48@)
55@ = 1

:HEIST5_21336
90@ = 1
return 

//-------------Mission 101---------------
// Originally: Breaking the Bank at Caligula's

:HEIST9
script_name 'HEIST9'
gosub @HEIST9_47
if 
  has_deatharrest_been_executed 
goto_if_false @HEIST9_38
gosub @HEIST9_44468

:HEIST9_38
gosub @HEIST9_44948
terminate_this_script 

:HEIST9_47
if 
  $boat_accelerate_best_score == 1
goto_if_false @HEIST9_72
CarGenerator.Switch($d5_silver_generator_unlocked, 0)

:HEIST9_72
if 
  $boat_simplecircuit_best_score == 1
goto_if_false @HEIST9_97
CarGenerator.Switch($d5_gold_generator_unlocked, 0)

:HEIST9_97
if 
  $boat_slalom_best_score == 1
goto_if_false @HEIST9_122
CarGenerator.Switch($boat_which_missions_are_open_flag, 0)

:HEIST9_122
Zone.SetNoCops('MEAD', True)
Text.LoadMissionText('HEIST9')
$h9_z1 = 0
$h9_can_see = 0.0
$h9_TIMERC = 0.0
$h9_fuck_off = 0.0
$Mansion2_view_debug = 0.0
$7944 = 0
$7945 = 0
Camera.SetFadingColor(0, 0, 0)
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
$iPrintStripperHelp = 0
231@ = 2
$cs1_race_is_go = 1
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_340
Player.StoreClothesState
Player.GiveClothesOutsideShop($statbike_temp, "CROUPIER", "VALET", BodyPart.SpecialCostume)
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.Head)
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.Necklace)
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.Glasses)
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.Hat)
Player.BuildModel($statbike_temp)

:HEIST9_340
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:HEIST9_355
if 
  Camera.GetFadingStatus
goto_if_false @HEIST9_379
wait 0
goto @HEIST9_355

:HEIST9_379
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_490
Streaming.SetAreaVisible(0)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2016.422, 1017.102, 10.0)
Streaming.LoadScene(2028.932, 1023.292, 9.813)
World.ClearArea(2028.932, 1023.292, 9.813, 20.0, True)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2028.932, 1023.292, 9.813)
Char.SetHeading($stattreadstamina_ctr, 278.4092)

:HEIST9_490
Streaming.SetAreaVisible(0)
Cutscene.Load('HEIST8A')

:HEIST9_505
if 
  not Cutscene.HasLoaded
goto_if_false @HEIST9_529
wait 0
goto @HEIST9_505

:HEIST9_529
World.ClearArea(1908.433, 957.3687, 9.8203, 40.0, True)
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:HEIST9_570
if 
  not Cutscene.HasFinished
goto_if_false @HEIST9_594
wait 0
goto @HEIST9_570

:HEIST9_594
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:HEIST9_608
if 
  Camera.GetFadingStatus
goto_if_false @HEIST9_632
wait 0
goto @HEIST9_608

:HEIST9_632
Cutscene.Clear
39@ = Blip.AddForCoord(2196.715, 1677.198, 11.375)
217@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
89@ = DecisionMakerChar.Load(DecisionMakerType.Normal)
120@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
245@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Game.SetRelationship(RelationshipType.Like, PedType.Mission3, PedType.Mission3)
Game.SetRelationship(RelationshipType.Dislike, PedType.Mission3, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Like, PedType.Mission2, PedType.Player1)
DecisionMakerChar.AddEventResponse(89@, 37, 300, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse(245@, 37, 300, 0.0, 100.0, 0.0, 0.0, True, True)
Streaming.RequestModel(347)
Streaming.RequestModel(343)
Streaming.RequestModel(368)
Streaming.RequestModel(#BODYARMOUR)
Streaming.RequestModel(353)
Streaming.RequestModel(335)
Streaming.RequestModel(346)
Streaming.RequestAnimation("HEIST9")

:HEIST9_834
if or
  not Streaming.HasModelLoaded(347)
  not Streaming.HasModelLoaded(343)
  not Streaming.HasModelLoaded(368)
  not Streaming.HasModelLoaded(#BODYARMOUR)
goto_if_false @HEIST9_875
wait 0
goto @HEIST9_834

:HEIST9_875
if or
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(335)
  not Streaming.HasAnimationLoaded("HEIST9")
  not Streaming.HasModelLoaded(346)
goto_if_false @HEIST9_922
wait 0
goto @HEIST9_875

:HEIST9_922
$h9_calculus = 240000
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(0.0)
Player.SetControl($statbike_temp, True)
171@ = Object.Create(#GENERATOR_BIG, 2145.05, 1613.49, 999.9764)
Object.SetAreaVisible(171@, 1)
Object.SetHeading(171@, 1.2043)
172@ = Object.Create(#GENERATOR_BIG, 2148.8, 1613.49, 999.9764)
Object.SetAreaVisible(172@, 1)
Object.SetHeading(172@, 354.0372)
212@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R", "HEIST9", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_R", "HEIST9", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 2000)
Task.StayInSamePlace(-1, False)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_OUT_R", "HEIST9", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R_BACK", "HEIST9", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(212@, True)
Sequence.Close(212@)
213@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L", "HEIST9", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_L", "HEIST9", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 2000)
Task.StayInSamePlace(-1, False)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_OUT_L", "HEIST9", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L_BACK", "HEIST9", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(213@, True)
Sequence.Close(213@)
Group.SetSeparationRange($flag_cell_nation, 300.0)
Group.SetDefaultTaskAllocator($flag_cell_nation, DefaultTaskAllocator.FollowAnyMeans)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.PistolSilenced, 300)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Teargas, 10)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Mp5, 300)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.NightVision, 300)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Knife, 300)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Teargas)
Streaming.MarkModelAsNoLongerNeeded(335)
Streaming.MarkModelAsNoLongerNeeded(347)
Streaming.MarkModelAsNoLongerNeeded(368)
Streaming.MarkModelAsNoLongerNeeded(343)
41@ = Object.CreateNoOffset(#AB_CASDORLOK, 2148.56, 1604.609, 1006.5)
Object.SetAreaVisible(41@, 1)
Object.SetHeading(41@, 180.0)
48@ = Object.CreateNoOffset(#AB_CASDORLOK, 2177.16, 1594.322, 1000.4)
Object.SetAreaVisible(48@, 1)
Object.SetHeading(48@, 180.0)
49@ = Object.CreateNoOffset(#WAREHOUSE_DOOR2B, 2220.188, 1571.763, 1001.6)
Object.SetAreaVisible(49@, 1)
Object.SetHeading(49@, 270.0)
Object.SetCollisionDamageEffect(49@, False)
196@ = Object.CreateNoOffset(#WAREHOUSE_DOOR2B, 2220.188, 1571.7, 1005.8)
Object.SetAreaVisible(196@, 1)
Object.SetHeading(196@, 270.0)
Object.SetCollision(196@, False)
Object.SetCollisionDamageEffect(49@, False)
42@ = Object.CreateNoOffset(#WAREHOUSE_DOOR2B, 2203.2, 1551.743, 1009.0)
Object.SetAreaVisible(42@, 1)
Object.SetHeading(42@, 0.0)
Object.SetCollisionDamageEffect(42@, False)
34@ = 1001.4
60@ = Object.CreateNoOffset(#AB_VAULTDOOR, 2144.18, 1626.947, 994.28)
Object.SetHeading(60@, 180.0)
Object.SetAreaVisible(60@, 1)
96@ = Object.CreateNoOffset(#SEC_KEYPAD, 2168.5, 1617.335, 1000.4)
Object.SetAreaVisible(96@, 1)
Object.SetHeading(96@, 270.0)
Object.SetCollision(96@, False)
$h9_z1 = Pickup.Create(#BODYARMOUR, PickupType.Once, 2176.471, 1597.394, 1000.0)
285@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2144.339, 1640.666, 993.5)
goto @HEIST9_2362

:HEIST9_1936
Streaming.RequestModel(117)
Streaming.RequestModel(428)
Streaming.LoadSpecialCharacter(2, 'WUZIMU')
Streaming.LoadSpecialCharacter(3, 'JANITOR')

:HEIST9_1971
if or
  not Streaming.HasModelLoaded(117)
  not Streaming.HasModelLoaded(428)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasSpecialCharacterLoaded(3)
goto_if_false @HEIST9_2010
wait 0
goto @HEIST9_1971

:HEIST9_2010
51@ = Car.Create(428, 2220.344, 1551.767, 1003.719)
Car.SetAreaVisible(51@, 1)
Car.SetHeading(51@, 176.7739)
Car.SetAlwaysCreateSkids(51@, False)
Car.LockDoors(51@, CarLock.LockoutPlayerOnly)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Like, PedType.Mission2, PedType.Player1)
54@ = Char.CreateInsideCar(51@, PedType.Mission2, 291)
Char.SetAreaVisible(54@, 1)
55@ = Char.CreateAsPassenger(51@, PedType.Mission2, 117, 2)
Char.SetAreaVisible(55@, 1)
56@ = Char.CreateAsPassenger(51@, PedType.Mission2, 117, 1)
Char.SetAreaVisible(56@, 1)
57@ = Char.CreateAsPassenger(51@, PedType.Mission2, 292, 0)
Char.SetAreaVisible(57@, 1)
Char.SetAnimGroup(54@, "BLINDMAN")
58@ = 0

:HEIST9_2194
Char.SetFollowNodeThresholdDistance(54@(58@,4i), 2.0)
Char.GiveWeapon(54@(58@,4i), WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(54@(58@,4i), WeaponType.Mp5)
Char.SetDecisionMaker(54@(58@,4i), 120@)
Char.SetNeverTargeted(54@(58@,4i), True)
Char.SetProofs(54@(58@,4i), False, False, False, True, False)
Char.SetSuffersCriticalHits(54@(58@,4i), False)
Char.SetMaxHealth(54@(58@,4i), 500)
Char.SetHealth(54@(58@,4i), 500)
Char.SetAccuracy(54@(58@,4i), 60)
Char.SetSignalAfterKill(54@(58@,4i), False)
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_2194
250@ = 1
return 

:HEIST9_2362
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_2390
Char.SetHeading($stattreadstamina_ctr, 270.0)
Camera.SetBehindPlayer

:HEIST9_2390
gosub @HEIST9_46358
215@ = 1
231@ = 2
38@ = 1
107@ = 0
TIMERB = 0
World.SwitchEntryExit('JUMP1', False)
World.SwitchEntryExit('JUMP2', False)
World.SwitchEntryExit('MAFCAS2', False)
290@ = 1
308@ = Object.CreateNoOffset(#TMP_BIN, 2188.845, 1619.136, 999.3)
Object.SetAreaVisible(308@, 1)
Object.SetHeading(308@, 270.0)
310@ = Object.CreateNoOffset(#K_SMASHBOXES, 2139.343, 1617.604, 992.5)
Object.SetAreaVisible(310@, 1)
Object.SetHeading(310@, 0.1132)
311@ = Object.CreateNoOffset(#K_SMASHBOXES, 2148.0, 1622.107, 992.5)
Object.SetAreaVisible(311@, 1)
Object.SetHeading(311@, 179.6736)

:HEIST9_2598
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_43649
wait 0
gosub @HEIST9_46391
gosub @HEIST9_50668
$7946 = Streaming.GetAreaVisible()
if 
  0 >= $h9_calculus
goto_if_false @HEIST9_2690
gosub @HEIST9_50388
Text.PrintNow('HM9_1B', 4000, 1)
goto @HEIST9_44468
Hud.ClearTimer($h9_calculus)

:HEIST9_2690
if 
  290@ <> 0
goto_if_false @HEIST9_3136
if and
  231@ == 2
  290@ == 1
goto_if_false @HEIST9_2792
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_2756
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:HEIST9_2756
set_lvar_text_label 288@s = 'HE8_AA'
set_lvar_int_to_constant 232@ = 19000
gosub @HEIST9_50648
290@ = 2

:HEIST9_2792
if and
  231@ == 2
  290@ == 2
goto_if_false @HEIST9_2877
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_2841
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:HEIST9_2841
set_lvar_text_label 288@s = 'HE8_AB'
set_lvar_int_to_constant 232@ = 19001
gosub @HEIST9_50648
290@ = 3

:HEIST9_2877
if and
  231@ == 2
  290@ == 3
goto_if_false @HEIST9_2959
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_2923
Char.StopFacialTalk($stattreadstamina_ctr)

:HEIST9_2923
set_lvar_text_label 288@s = 'HE8_AC'
set_lvar_int_to_constant 232@ = 19002
gosub @HEIST9_50648
290@ = 4

:HEIST9_2959
if and
  231@ == 2
  290@ == 4
goto_if_false @HEIST9_3044
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_3008
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:HEIST9_3008
set_lvar_text_label 288@s = 'HE8_AD'
set_lvar_int_to_constant 232@ = 19003
gosub @HEIST9_50648
290@ = 5

:HEIST9_3044
if and
  231@ == 2
  290@ == 5
goto_if_false @HEIST9_3136
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_3090
Char.StopFacialTalk($stattreadstamina_ctr)

:HEIST9_3090
Text.PrintNow('HM9_28', 9000, 1)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_3129
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:HEIST9_3129
290@ = 6

:HEIST9_3136
$7945 = Streaming.GetAreaVisible()
if 
  $7945 == 0
goto_if_false @HEIST9_3207
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_3200
Player.DisableSprint($statbike_temp, False)
$iPrintStripperHelp = 0
$h9_under_door = 0
Hud.SetRadarZoom(0)

:HEIST9_3200
goto @HEIST9_3234

:HEIST9_3207
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_3234
Player.DisableSprint($statbike_temp, True)
Hud.SetRadarZoom(100)

:HEIST9_3234
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2233.91, 1712.599, 1010.877, 50.0, 50.0, 50.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2265.79, 1619.58, 1089.445, 50.0, 50.0, 50.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2267.056, 1675.385, 1089.445, 50.0, 50.0, 50.0, False)
goto_if_false @HEIST9_3367
Hud.SetRadarZoom(100)
$h9_under_door = 1

:HEIST9_3367
if and
  303@ == 0
  $h9_under_door == 1
goto_if_false @HEIST9_3506
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_3506
if and
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.NightVision)
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Teargas)
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles)
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Knife)
goto_if_false @HEIST9_3491
Game.SetRelationship(RelationshipType.Hate, PedType.CivMale, PedType.Player1)
Text.PrintNow('HM9_99', 100, 1)
300@ = 1
goto @HEIST9_3506

:HEIST9_3491
Game.SetRelationship(RelationshipType.Like, PedType.CivMale, PedType.Player1)
300@ = 0

:HEIST9_3506
if 
  not Player.IsWearing($statbike_temp, 17, "CROUPIER")
goto_if_false @HEIST9_3557
Text.PrintNow('HM9_52', 4000, 1)
goto @HEIST9_44468

:HEIST9_3557
if and
  $iPrintStripperHelp == 1
  106@ == 0
  $h9_under_door == 1
goto_if_false @HEIST9_3619
gosub @HEIST9_50388
Text.PrintNow('HM9_52', 4000, 1)
goto @HEIST9_44468

:HEIST9_3619
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_3713
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2180.981, 1677.813, 10.0609, 30.0, 30.0, 30.0, False)
  243@ == 0
goto_if_false @HEIST9_3713
Text.PrintNow('HM9_54', 7000, 1)
243@ = 1

:HEIST9_3713
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @HEIST9_3735
goto @HEIST9_44516

:HEIST9_3735
if and
  2 >= 38@
  not Char.IsDead($stattreadstamina_ctr)
  284@ == 0
goto_if_false @HEIST9_3814
175@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Teargas)
if and
  0 >= 175@
  2 >= 38@
goto_if_false @HEIST9_3814
284@ = 1
TIMERA = 0

:HEIST9_3814
if and
  TIMERA > 2000
  284@ == 1
  173@ == 0
goto_if_false @HEIST9_3934
if or
  $h9_under_door == 1
  $7945 == 0
goto_if_false @HEIST9_3934
if 
  $h9_under_door == 1
goto_if_false @HEIST9_3904
gosub @HEIST9_50388
goto @HEIST9_3911

:HEIST9_3904
gosub @HEIST9_50602

:HEIST9_3911
Text.PrintNow('HM9_48', 4000, 1)
goto @HEIST9_44468

:HEIST9_3934
if and
  Car.IsDead(51@)
  174@ == 0
  250@ == 1
goto_if_false @HEIST9_3994
gosub @HEIST9_50388
Text.PrintNow('HM9_15', 4000, 1)
goto @HEIST9_44468

:HEIST9_3994
$7944 += 1
if 
  38@ == 1
goto_if_false @HEIST9_4398
if 
  $h9_under_door == 1
goto_if_false @HEIST9_4398
if 
  Blip.DoesExist(39@)
goto_if_false @HEIST9_4058
Blip.Remove(39@)

:HEIST9_4058
Text.ClearPrints
38@ = 2
215@ = 1
TIMERB = 0
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
44@ = Blip.AddForCoord(2148.995, 1605.08, 1005.172)
Blip.SetEntryExit(44@, 2196.635, 1676.841, 10.0)
Streaming.RequestModel(163)
Streaming.RequestModel(164)

:HEIST9_4138
if or
  not Streaming.HasModelLoaded(163)
  not Streaming.HasModelLoaded(164)
goto_if_false @HEIST9_4170
wait 0
goto @HEIST9_4138

:HEIST9_4170
109@ = Char.Create(PedType.Mission1, 163, 2146.58, 1622.228, 992.6882)
Char.SetAreaVisible(109@, 1)
Char.SetHeading(109@, 83.607)
110@ = Char.Create(PedType.Mission1, 163, 2141.41, 1626.068, 992.6882)
Char.SetAreaVisible(110@, 1)
Char.SetHeading(110@, 188.011)
111@ = Char.Create(PedType.CivMale, 164, 2151.187, 1605.832, 1005.188)
Char.SetAreaVisible(111@, 1)
Char.SetHeading(111@, 359.346)
Char.SetDecisionMaker(111@, 120@)
Task.StayInSamePlace(111@, True)
58@ = 0

:HEIST9_4318
Char.GiveWeapon(109@(58@,5i), WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(109@(58@,5i), WeaponType.Mp5)
Char.AddArmor(109@(58@,5i), 200)
Task.StayInSamePlace(109@(58@,5i), True)
Char.SetNeverTargeted(109@(58@,5i), True)
58@ += 1
  58@ >= 2
goto_if_false @HEIST9_4318

:HEIST9_4398
if 
  38@ == 2
goto_if_false @HEIST9_10444
if 
  not Char.IsDead(111@)
goto_if_false @HEIST9_4481
if 
  Char.HasBeenDamagedByChar(111@, $stattreadstamina_ctr)
goto_if_false @HEIST9_4481
gosub @HEIST9_50388
Text.PrintNow('HM9_52', 4000, 1)
goto @HEIST9_44468

:HEIST9_4481
if and
  Char.IsDead(111@)
  106@ == 0
goto_if_false @HEIST9_4534
gosub @HEIST9_50388
Text.PrintNow('HM9_52', 4000, 1)
goto @HEIST9_44468

:HEIST9_4534
if 
  215@ <> 0
goto_if_false @HEIST9_5179
if 
  215@ == 1
goto_if_false @HEIST9_4628
$h9_calculus = 240000
Hud.DisplayTimerWithString($h9_calculus, TimerDirection.Down, 'HM9_1A')
Text.PrintWithNumberNow('HM9_1D', 4, 5000, 1)
TIMERB = 0
215@ = 2

:HEIST9_4628
if and
  TIMERB > 4000
  215@ == 2
goto_if_false @HEIST9_4713
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_4677
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:HEIST9_4677
set_lvar_text_label 288@s = 'HE8_BA'
set_lvar_int_to_constant 232@ = 19004
gosub @HEIST9_50648
215@ = 3

:HEIST9_4713
if and
  231@ == 2
  215@ == 3
goto_if_false @HEIST9_4798
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_4762
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:HEIST9_4762
set_lvar_text_label 288@s = 'HE8_BB'
set_lvar_int_to_constant 232@ = 19005
gosub @HEIST9_50648
215@ = 4

:HEIST9_4798
if and
  231@ == 2
  215@ == 4
goto_if_false @HEIST9_4880
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_4844
Char.StopFacialTalk($stattreadstamina_ctr)

:HEIST9_4844
set_lvar_text_label 288@s = 'HE8_BC'
set_lvar_int_to_constant 232@ = 19006
gosub @HEIST9_50648
215@ = 5

:HEIST9_4880
if and
  231@ == 2
  215@ == 5
goto_if_false @HEIST9_4965
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_4929
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:HEIST9_4929
set_lvar_text_label 288@s = 'HE8_BD'
set_lvar_int_to_constant 232@ = 19007
gosub @HEIST9_50648
215@ = 6

:HEIST9_4965
if and
  231@ == 2
  215@ == 6
goto_if_false @HEIST9_5047
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_5011
Char.StopFacialTalk($stattreadstamina_ctr)

:HEIST9_5011
set_lvar_text_label 288@s = 'HE8_BE'
set_lvar_int_to_constant 232@ = 19008
gosub @HEIST9_50648
215@ = 7

:HEIST9_5047
if and
  231@ == 2
  215@ == 7
goto_if_false @HEIST9_5108
set_lvar_text_label 288@s = 'HE8_BF'
set_lvar_int_to_constant 232@ = 19009
gosub @HEIST9_50648
215@ = 8

:HEIST9_5108
if and
  231@ == 2
  215@ == 8
goto_if_false @HEIST9_5179
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_5156
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:HEIST9_5156
Text.PrintNow('HM9_2', 7000, 1)
215@ = 0

:HEIST9_5179
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2147.756, 1605.401, 1005.17, 3.0, 3.0, 3.0, False)
  216@ == 0
goto_if_false @HEIST9_6325
if 
  300@ == 1
goto_if_false @HEIST9_5282
gosub @HEIST9_50388
Text.PrintNow('HM9_52', 4000, 1)
goto @HEIST9_44468

:HEIST9_5282
gosub @HEIST9_46289
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(111@)
goto_if_false @HEIST9_5363
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2147.675, 1607.399, 1005.188)
Char.SetHeading($stattreadstamina_ctr, 188.6317)
Player.SetControl($statbike_temp, False)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 111@)
Task.TurnCharToFaceChar(111@, $stattreadstamina_ctr)

:HEIST9_5363
if 
  not Char.IsDead(111@)
goto_if_false @HEIST9_5409
Char.SetCoordinatesDontWarpGang(111@, 2151.187, 1605.832, 1005.188)
Char.SetHeading(111@, 359.346)

:HEIST9_5409
Camera.SetFixedPosition(2152.125, 1606.502, 1006.716, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2151.135, 1606.365, 1006.719, SwitchType.JumpCut)
Text.PrintNow('HE8_CA', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19010)

:HEIST9_5487
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_5513
wait 0
goto @HEIST9_5487

:HEIST9_5513
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
wait 1000
TIMERB = 0

:HEIST9_5529
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_5579
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_5572
goto @HEIST9_6254

:HEIST9_5572
goto @HEIST9_5529

:HEIST9_5579
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_5631
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 1.0, False, False, False, False, -1)

:HEIST9_5631
Text.PrintNow('HE8_CB', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19011)

:HEIST9_5658
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_5684
wait 0
goto @HEIST9_5658

:HEIST9_5684
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_5695
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_5745
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_5738
goto @HEIST9_6254

:HEIST9_5738
goto @HEIST9_5695

:HEIST9_5745
Text.PrintNow('HE8_CC', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19012)

:HEIST9_5772
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_5798
wait 0
goto @HEIST9_5772

:HEIST9_5798
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_5809
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_5859
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_5852
goto @HEIST9_6254

:HEIST9_5852
goto @HEIST9_5809

:HEIST9_5859
Text.PrintNow('HE8_CD', 2000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19013)

:HEIST9_5886
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_5912
wait 0
goto @HEIST9_5886

:HEIST9_5912
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_5923
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_5973
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_5966
goto @HEIST9_6254

:HEIST9_5966
goto @HEIST9_5923

:HEIST9_5973
Text.PrintNow('HE8_CE', 2000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19014)

:HEIST9_6000
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_6026
wait 0
goto @HEIST9_6000

:HEIST9_6026
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_6037
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_6087
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_6080
goto @HEIST9_6254

:HEIST9_6080
goto @HEIST9_6037

:HEIST9_6087
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_6140
Task.PlayAnim($stattreadstamina_ctr, "IDLE_TIRED", "PED", 1.0, False, False, False, False, -1)

:HEIST9_6140
Text.PrintNow('HE8_CF', 3000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19015)

:HEIST9_6167
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_6193
wait 0
goto @HEIST9_6167

:HEIST9_6193
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_6204
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_6254
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_6247
goto @HEIST9_6254

:HEIST9_6247
goto @HEIST9_6204

:HEIST9_6254
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(111@)
goto_if_false @HEIST9_6304
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetHeading(111@, 3.8184)
Char.SetHeading($stattreadstamina_ctr, 207.6449)

:HEIST9_6304
gosub @HEIST9_46306
215@ = 0
216@ = 1

:HEIST9_6325
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2149.008, 1605.299, 1005.172, 2.0, 2.0, 2.0, False)
  36@ == 0
goto_if_false @HEIST9_6642
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @HEIST9_6404
Text.PrintHelpForever('HM9_29')

:HEIST9_6404
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @HEIST9_6635
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Player.IsDead($statbike_temp)
goto_if_false @HEIST9_6527
Player.SetControl($statbike_temp, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2149.008, 1605.299, 1005.172)
Char.SetHeading($stattreadstamina_ctr, 188.7539)
Task.PlayAnim($stattreadstamina_ctr, "USE_SWIPECARD", "HEIST9", 2.0, False, False, False, False, -1)

:HEIST9_6527
wait 500
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 6400)

:HEIST9_6543
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST9_6569
wait 0
goto @HEIST9_6543

:HEIST9_6569
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST9_6588
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:HEIST9_6588
wait 1000
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Player.IsDead($statbike_temp)
goto_if_false @HEIST9_6621
Player.SetControl($statbike_temp, True)

:HEIST9_6621
303@ = 1
36@ = 1

:HEIST9_6635
goto @HEIST9_6644

:HEIST9_6642
Text.ClearHelp

:HEIST9_6644
if and
  36@ == 1
  107@ == 0
goto_if_false @HEIST9_7355
Text.ClearHelp
Streaming.RequestModel(11)
Streaming.RequestModel(172)

:HEIST9_6680
if or
  not Streaming.HasModelLoaded(172)
  not Streaming.HasModelLoaded(11)
goto_if_false @HEIST9_6711
wait 0
goto @HEIST9_6680

:HEIST9_6711
53@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2144.01, 1603.086, 1000.968)
Path.ExtendRoute(2163.409, 1602.779, 998.9785)
Path.ExtendRoute(2158.457, 1602.36, 998.9719)
Path.ExtendRoute(2158.192, 1597.875, 998.9711)
Path.ExtendRoute(2157.961, 1612.835, 998.9677)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Path.FlushRoute
Path.ExtendRoute(2158.395, 1618.554, 998.9647)
Path.ExtendRoute(2157.961, 1612.835, 998.9677)
Path.ExtendRoute(2158.192, 1597.875, 998.9711)
Path.ExtendRoute(2158.457, 1602.36, 998.9719)
Path.ExtendRoute(2163.409, 1602.779, 998.9785)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Path.FlushRoute
Sequence.SetToRepeat(53@, True)
Sequence.Close(53@)
218@ = Char.Create(PedType.Mission3, 172, 2144.01, 1603.086, 1000.968)
Char.SetAreaVisible(218@, 1)
Char.SetDecisionMaker(218@, 89@)
Char.PerformSequence(218@, 53@)
219@ = Char.Create(PedType.Mission3, 11, 2148.394, 1596.737, 998.768)
Char.SetAreaVisible(219@, 1)
Char.SetDecisionMaker(219@, 89@)
220@ = Char.Create(PedType.Mission3, 172, 2149.355, 1597.133, 998.768)
Char.SetAreaVisible(220@, 1)
Char.SetDecisionMaker(220@, 89@)
222@ = Char.Create(PedType.Mission3, 163, 2146.831, 1603.942, 1000.968)
Char.SetHeading(222@, 187.4626)
Char.SetAreaVisible(222@, 1)
Char.GiveWeapon(222@, WeaponType.Pistol, 30000)
Char.SetCurrentWeapon(222@, WeaponType.Pistol)
Char.SetDecisionMaker(222@, 245@)
Task.StayInSamePlace(222@, True)
223@ = Char.Create(PedType.Mission3, 172, 2170.674, 1603.371, 998.9696)
Char.SetAreaVisible(223@, 1)
Char.SetDecisionMaker(223@, 89@)
224@ = Char.Create(PedType.Mission3, 172, 2169.843, 1605.299, 998.9706)
Char.SetAreaVisible(224@, 1)
Char.SetDecisionMaker(224@, 89@)
Task.ChatWithChar(219@, 220@, True, 1)
Task.ChatWithChar(220@, 219@, False, 1)
Task.ChatWithChar(223@, 224@, True, 1)
Task.ChatWithChar(224@, 223@, False, 1)
117@ = 1
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_7277
Char.ClearTasksImmediately($stattreadstamina_ctr)

:HEIST9_7277
Sequence.Clear(53@)
Blip.Remove(44@)
35@ = 1
108@ = Blip.AddForCoord(2143.046, 1620.661, 999.968)
Blip.SetEntryExit(108@, 2196.635, 1676.841, 10.0)
107@ = 1
302@ = 2
TIMERA = 0

:HEIST9_7355
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2147.863, 1599.649, 1003.534, 2.0, 2.0, 2.0, False)
  106@ == 0
goto_if_false @HEIST9_7460
106@ = 1
World.ClearArea(2192.605, 1601.92, 1004.063, 100.0, True)
World.SetPedDensityMultiplier(0.0)
Char.Delete(111@)
TIMERB = 0

:HEIST9_7460
if and
  231@ == 2
  302@ == 2
  TIMERA > 1000
goto_if_false @HEIST9_7552
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_7516
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:HEIST9_7516
set_lvar_text_label 288@s = 'HE8_DB'
set_lvar_int_to_constant 232@ = 19017
gosub @HEIST9_50648
302@ = 3

:HEIST9_7552
if and
  231@ == 2
  302@ == 3
goto_if_false @HEIST9_7613
set_lvar_text_label 288@s = 'HE8_DD'
set_lvar_int_to_constant 232@ = 19019
gosub @HEIST9_50648
302@ = 0

:HEIST9_7613
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2148.252, 1605.901, 1000.114, 1.2, 1.2, 1.2, False)
  244@ == 0
goto_if_false @HEIST9_7682
244@ = 1
302@ = 0

:HEIST9_7682
if and
  231@ == 2
  244@ == 1
goto_if_false @HEIST9_7774
303@ = 1
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_7738
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:HEIST9_7738
set_lvar_text_label 288@s = 'HE8_EA'
set_lvar_int_to_constant 232@ = 19020
gosub @HEIST9_50648
244@ = 2

:HEIST9_7774
if and
  231@ == 2
  244@ == 2
goto_if_false @HEIST9_7856
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_7820
Char.StopFacialTalk($stattreadstamina_ctr)

:HEIST9_7820
set_lvar_text_label 288@s = 'HE8_EB'
set_lvar_int_to_constant 232@ = 19021
gosub @HEIST9_50648
244@ = 3

:HEIST9_7856
if and
  231@ == 2
  244@ == 3
goto_if_false @HEIST9_7917
set_lvar_text_label 288@s = 'HE8_EC'
set_lvar_int_to_constant 232@ = 19022
gosub @HEIST9_50648
244@ = 4

:HEIST9_7917
if and
  231@ == 2
  244@ == 4
goto_if_false @HEIST9_8001
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_7965
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:HEIST9_7965
set_lvar_text_label 288@s = 'HE8_ED'
set_lvar_int_to_constant 232@ = 19023
gosub @HEIST9_50648
244@ = 5

:HEIST9_8001
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2254.543, 1706.5, 1.1746, 1.2, 1.2, 1.2, False)
goto_if_false @HEIST9_8065
Text.PrintNow('HM9_36', 1000, 1)

:HEIST9_8065
if and
  45 > 106@
  106@ <> 0
goto_if_false @HEIST9_8114
  Object.Rotate(41@, 180.0, 2.0, False)
106@ += 1

:HEIST9_8114
if and
  45 > 117@
  117@ <> 0
goto_if_false @HEIST9_8163
  Object.Rotate(41@, 270.0, 2.0, False)
117@ += 1

:HEIST9_8163
58@ = 0

:HEIST9_8170
if 
  not Char.IsDead(109@(58@,5i))
goto_if_false @HEIST9_8349
if 
  Char.HasBeenDamagedByChar(109@(58@,5i), $stattreadstamina_ctr)
goto_if_false @HEIST9_8243
gosub @HEIST9_50388
Text.PrintNow('HM9_52', 4000, 1)
goto @HEIST9_44468

:HEIST9_8243
if 
  Char.HasBeenDamagedByChar($stattreadstamina_ctr, 109@(58@,5i))
goto_if_false @HEIST9_8296
gosub @HEIST9_50388
Text.PrintNow('HM9_52', 4000, 1)
goto @HEIST9_44468

:HEIST9_8296
if 
  Char.HasSpottedChar(109@(58@,5i), $stattreadstamina_ctr)
goto_if_false @HEIST9_8349
gosub @HEIST9_50388
Text.PrintNow('HM9_37', 4000, 1)
goto @HEIST9_44468

:HEIST9_8349
58@ += 1
  58@ >= 2
goto_if_false @HEIST9_8170
if and
  World.IsProjectileInArea(2144.464, 1621.26, 1002.136, 2136.209, 1626.877, 997.7474)
  173@ == 0
goto_if_false @HEIST9_8475
173@ = 1
302@ = 0
244@ = 0
Game.SwitchObjectBrains(ScriptBrainAttachType.Object, False)
$1253 = 1
TIMERA = 0
gosub @HEIST9_46325
gosub @HEIST9_1936

:HEIST9_8475
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2145.79, 1613.851, 999.968, 5.0, 5.0, 5.0, False)
  114@ == 0
  173@ == 0
goto_if_false @HEIST9_8625
114@ = 1
World.ClearArea(2144.323, 1622.684, 992.5681, 30.0, True)
58@ = 0

:HEIST9_8575
if 
  not Char.IsDead(109@(58@,5i))
goto_if_false @HEIST9_8604
Char.ClearTasksImmediately(109@(58@,5i))

:HEIST9_8604
58@ += 1
  58@ >= 2
goto_if_false @HEIST9_8575

:HEIST9_8625
if 
  173@ == 1
goto_if_false @HEIST9_10412
303@ = 1
Text.ClearPrints
World.SwitchEntryExit('MAFCAS', False)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_8688
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:HEIST9_8688
gosub @HEIST9_46289
Camera.SetFixedPosition(2139.85, 1609.236, 995.7649, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2140.229, 1610.145, 995.5919, SwitchType.JumpCut)
Streaming.RequestModel(343)

:HEIST9_8751
if 
  not Streaming.HasModelLoaded(343)
goto_if_false @HEIST9_8778
wait 0
goto @HEIST9_8751

:HEIST9_8778
World.ClearArea(2144.323, 1622.684, 997.0, 10.0, True)
World.ClearArea(2143.266, 1618.145, 999.9764, 10.0, True)
314@ = Object.Create(343, 2144.323, 1622.684, 997.0)
gosub @HEIST9_46358
$on_footY, $on_footZ, 313@ = Object.GetCoordinates(314@)

:HEIST9_8870
if 
  313@ > 992.6
goto_if_false @HEIST9_8940
wait 20
$on_footY, $on_footZ, 313@ = Object.GetCoordinates(314@)
313@ -= 0.3
Object.SetCoordinates(314@, $on_footY, $on_footZ, 313@)
goto @HEIST9_8870

:HEIST9_8940
139@ = Particle.Create("TEARGASAD", 2144.323, 1622.684, 992.5681, 1)
Particle.Play(139@)
wait 1500
58@ = 0

:HEIST9_8990
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_9014
goto @HEIST9_10100

:HEIST9_9014
if 
  not Char.IsDead(109@(58@,5i))
goto_if_false @HEIST9_9189
if 
  58@ == 0
goto_if_false @HEIST9_9112
Char.ClearTasksImmediately(109@(58@,5i))
Task.PlayAnim(109@(58@,5i), "CAS_G2_GASKO", "HEIST9", 1.0, False, False, False, True, -1)
wait 200

:HEIST9_9112
if 
  58@ == 1
goto_if_false @HEIST9_9189
Char.ClearTasksImmediately(109@(58@,5i))
Task.PlayAnim(109@(58@,5i), "CAS_G2_GASKO", "HEIST9", 1.0, False, False, False, True, -1)
wait 100

:HEIST9_9189
if 
  not Char.IsDead(109@(58@,5i))
goto_if_false @HEIST9_9220
Char.SetCollision(109@(58@,5i), False)

:HEIST9_9220
58@ += 1
  58@ >= 2
goto_if_false @HEIST9_8990
TIMERB = 0

:HEIST9_9248
if 
  1000 > TIMERB
goto_if_false @HEIST9_9302
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_9295
goto @HEIST9_10100

:HEIST9_9295
goto @HEIST9_9248

:HEIST9_9302
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19024)

:HEIST9_9313
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_9339
wait 0
goto @HEIST9_9313

:HEIST9_9339
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_9350
if 
  1500 > TIMERB
goto_if_false @HEIST9_9404
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_9397
goto @HEIST9_10100

:HEIST9_9397
goto @HEIST9_9350

:HEIST9_9404
if 
  not Char.IsDead(110@)
goto_if_false @HEIST9_9428
Audio.ReportMissionAudioEventAtChar(110@, 1163)

:HEIST9_9428
TIMERB = 0

:HEIST9_9435
if 
  500 > TIMERB
goto_if_false @HEIST9_9489
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_9482
goto @HEIST9_10100

:HEIST9_9482
goto @HEIST9_9435

:HEIST9_9489
Text.PrintNow('HE8_FB', 2000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19025)

:HEIST9_9516
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_9542
wait 0
goto @HEIST9_9516

:HEIST9_9542
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_9553
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_9603
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_9596
goto @HEIST9_10100

:HEIST9_9596
goto @HEIST9_9553

:HEIST9_9603
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_9649
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2143.376, 1619.655, 999.9764)
Char.SetHeading($stattreadstamina_ctr, 182.7419)

:HEIST9_9649
Particle.Stop(139@)
Particle.KillNow(139@)
World.ClearArea(2144.323, 1622.684, 997.0, 10.0, True)
World.ClearArea(2143.266, 1618.145, 999.9764, 10.0, True)
Camera.SetFixedPosition(2142.75, 1617.836, 1001.143, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2142.997, 1618.803, 1001.197, SwitchType.JumpCut)
Text.PrintNow('HE8_FC', 2000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19026)

:HEIST9_9785
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_9811
wait 0
goto @HEIST9_9785

:HEIST9_9811
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_9822
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_9872
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_9865
goto @HEIST9_10100

:HEIST9_9865
goto @HEIST9_9822

:HEIST9_9872
Text.PrintNow('HE8_FD', 2000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19027)

:HEIST9_9899
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_9925
wait 0
goto @HEIST9_9899

:HEIST9_9925
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_9936
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_9986
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_9979
goto @HEIST9_10100

:HEIST9_9979
goto @HEIST9_9936

:HEIST9_9986
Text.PrintNow('HE8_FE', 2000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19028)

:HEIST9_10013
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_10039
wait 0
goto @HEIST9_10013

:HEIST9_10039
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_10050
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_10100
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_10093
goto @HEIST9_10100

:HEIST9_10093
goto @HEIST9_10050

:HEIST9_10100
Object.Delete(314@)
Streaming.MarkModelAsNoLongerNeeded(343)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_10156
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2143.22, 1618.372, 999.9688)
Char.SetHeading($stattreadstamina_ctr, 175.5027)

:HEIST9_10156
if 
  not Char.IsDead(109@)
goto_if_false @HEIST9_10238
Char.ClearTasksImmediately(109@)
Task.PlayAnimNonInterruptable(109@, "CAS_G2_GASKO", "HEIST9", 1.0, False, False, False, True, -1)
Task.TogglePedThreatScanner(109@, False, False, False)
Char.SetDecisionMaker(109@, 120@)

:HEIST9_10238
if 
  not Char.IsDead(110@)
goto_if_false @HEIST9_10320
Char.ClearTasksImmediately(110@)
Task.PlayAnimNonInterruptable(110@, "CAS_G2_GASKO", "HEIST9", 1.0, False, False, False, True, -1)
Task.TogglePedThreatScanner(110@, False, False, False)
Char.SetDecisionMaker(110@, 120@)

:HEIST9_10320
gosub @HEIST9_46306
Particle.Stop(139@)
Particle.KillNow(139@)

:HEIST9_10337
Text.PrintNow('HM9_12', 5000, 1)
Blip.Remove(108@)
45@ = Blip.AddForCoord(2168.173, 1616.986, 998.97)
Blip.SetEntryExit(45@, 2196.635, 1676.841, 10.0)
38@ = 3
246@ = 1

:HEIST9_10412
if 
  116@ == 4
goto_if_false @HEIST9_10444
116@ = 5
goto @HEIST9_10337

:HEIST9_10444
if and
  not Text.IsMessageBeingDisplayed
  246@ <> 12
  246@ <> 0
goto_if_false @HEIST9_11312
if and
  231@ == 2
  246@ == 1
goto_if_false @HEIST9_10555
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_10519
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:HEIST9_10519
set_lvar_text_label 288@s = 'HE8_GB'
set_lvar_int_to_constant 232@ = 19030
gosub @HEIST9_50648
246@ = 2

:HEIST9_10555
if and
  231@ == 2
  246@ == 2
goto_if_false @HEIST9_10616
set_lvar_text_label 288@s = 'HE8_GC'
set_lvar_int_to_constant 232@ = 19031
gosub @HEIST9_50648
246@ = 3

:HEIST9_10616
if and
  231@ == 2
  246@ == 3
goto_if_false @HEIST9_10677
set_lvar_text_label 288@s = 'HE8_GD'
set_lvar_int_to_constant 232@ = 19032
gosub @HEIST9_50648
246@ = 4

:HEIST9_10677
if and
  231@ == 2
  246@ == 4
goto_if_false @HEIST9_10982
Camera.SetDarknessEffect(True, 220)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 6402)

:HEIST9_10720
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST9_10746
wait 0
goto @HEIST9_10720

:HEIST9_10746
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST9_10765
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:HEIST9_10765
wait 100
set_lvar_text_label 288@s = 'HE8_GE'
set_lvar_int_to_constant 232@ = 19033
gosub @HEIST9_50648
53@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2157.597, 1597.863, 998.9694, 6, -1)
Task.LookAtCoord(-1, 2155.781, 1598.063, 998.9686, -2)
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 1.0, True, False, False, False, -1)
Task.Pause(-1, 1000)
Sequence.SetToRepeat(53@, True)
Sequence.Close(53@)
58@ = 0

:HEIST9_10908
if 
  not Char.IsDead(218@(58@,10i))
goto_if_false @HEIST9_10949
Char.ClearTasksImmediately(218@(58@,10i))
Char.PerformSequence(218@(58@,10i), 53@)

:HEIST9_10949
58@ += 1
  58@ >= 7
goto_if_false @HEIST9_10908
Sequence.Clear(53@)
246@ = 5

:HEIST9_10982
if and
  231@ == 2
  246@ == 5
goto_if_false @HEIST9_11080
if 
  not Game.IsNightVisionActive
goto_if_false @HEIST9_11073
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_11044
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:HEIST9_11044
set_lvar_text_label 288@s = 'HE8_GF'
set_lvar_int_to_constant 232@ = 19034
gosub @HEIST9_50648

:HEIST9_11073
246@ = 9

:HEIST9_11080
if and
  231@ == 2
  246@ == 9
goto_if_false @HEIST9_11156
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_11126
Char.StopFacialTalk($stattreadstamina_ctr)

:HEIST9_11126
Text.PrintNow('HM9_49', 5000, 1)
246@ = 10
TIMERB = 0

:HEIST9_11156
if and
  TIMERB > 5000
  249@ == 0
goto_if_false @HEIST9_11312
if and
  38@ == 5
  231@ == 2
  246@ == 10
goto_if_false @HEIST9_11221
246@ = 11

:HEIST9_11221
if and
  38@ == 5
  231@ == 2
  246@ == 11
goto_if_false @HEIST9_11312
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_11276
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:HEIST9_11276
set_lvar_text_label 288@s = 'HE8_HB'
set_lvar_int_to_constant 232@ = 19038
gosub @HEIST9_50648
246@ = 12

:HEIST9_11312
if 
  38@ == 3
goto_if_false @HEIST9_11712
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2167.599, 1617.412, 998.9715, 2.0, 2.0, 2.0, False)
goto_if_false @HEIST9_11710
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @HEIST9_11402
Text.PrintHelpForever('HM9_29')

:HEIST9_11402
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @HEIST9_11703
58@ = 0

:HEIST9_11426
Char.Delete(218@(58@,10i))
58@ += 1
  58@ >= 7
goto_if_false @HEIST9_11426
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 6400)

:HEIST9_11467
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST9_11493
wait 0
goto @HEIST9_11467

:HEIST9_11493
Streaming.MarkModelAsNoLongerNeeded(172)
Streaming.MarkModelAsNoLongerNeeded(164)
Streaming.MarkModelAsNoLongerNeeded(214)
Blip.Remove(45@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2167.599, 1617.287, 998.9715)
Char.SetHeading($stattreadstamina_ctr, 270.0)
Task.PlayAnim($stattreadstamina_ctr, "USE_SWIPECARD", "HEIST9", 2.0, False, False, False, False, -1)
wait 500
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST9_11615
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:HEIST9_11615
wait 500
58@ = 0

:HEIST9_11627
if 
  58@ <> 33
goto_if_false @HEIST9_11680
wait 0
  Object.Rotate($2707, 180.0, 3.0, False)
58@ += 1
goto @HEIST9_11627

:HEIST9_11680
38@ = 5
Text.ClearHelp
215@ = 0
TIMERA = 0

:HEIST9_11703
goto @HEIST9_11712

:HEIST9_11710
Text.ClearHelp

:HEIST9_11712
if 
  38@ == 5
goto_if_false @HEIST9_12426
if and
  231@ == 2
  215@ == 0
goto_if_false @HEIST9_11913
Streaming.RequestModel(530)

:HEIST9_11760
if 
  not Streaming.HasModelLoaded(530)
goto_if_false @HEIST9_11787
wait 0
goto @HEIST9_11760

:HEIST9_11787
46@ = Car.Create(530, 2173.621, 1585.964, 998.9722)
Car.SetAreaVisible(46@, 1)
Car.SetHeading(46@, 270.0)
Car.ChangeColor(46@, 6, 6)
209@ = 1
if 
  not Car.IsDead(46@)
goto_if_false @HEIST9_11866
Car.SetAreaVisible(46@, 1)

:HEIST9_11866
90@ = Blip.AddForCoord(2220.543, 1572.625, 998.9531)
Blip.SetEntryExit(90@, 2196.635, 1676.841, 10.0)
215@ = 1

:HEIST9_11913
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2224.452, 1595.435, 998.9753, 1.2, 1.2, 1.2, False)
  249@ == 0
goto_if_false @HEIST9_11975
249@ = 1

:HEIST9_11975
if and
  231@ == 2
  249@ == 1
goto_if_false @HEIST9_12036
set_lvar_text_label 288@s = 'HE8_JA'
set_lvar_int_to_constant 232@ = 19039
gosub @HEIST9_50648
249@ = 2

:HEIST9_12036
if and
  231@ == 2
  249@ == 2
goto_if_false @HEIST9_12097
set_lvar_text_label 288@s = 'HE8_JB'
set_lvar_int_to_constant 232@ = 19040
gosub @HEIST9_50648
249@ = 3

:HEIST9_12097
if and
  231@ == 2
  249@ == 3
goto_if_false @HEIST9_12201
if 
  Blip.DoesExist(90@)
goto_if_false @HEIST9_12143
Blip.Remove(90@)

:HEIST9_12143
if 
  not Car.IsDead(46@)
goto_if_false @HEIST9_12194
47@ = Blip.AddForCar(46@)
Blip.SetEntryExit(47@, 2196.635, 1676.841, 10.0)
Blip.SetAsFriendly(47@, True)

:HEIST9_12194
249@ = 4

:HEIST9_12201
if and
  231@ == 2
  249@ == 4
goto_if_false @HEIST9_12249
Text.PrintNow('HM9_51', 7000, 1)
249@ = 5

:HEIST9_12249
if 
  209@ == 1
goto_if_false @HEIST9_12426
if 
  not Car.IsDead(46@)
goto_if_false @HEIST9_12426
if 
  Char.IsInCar($stattreadstamina_ctr, 46@)
goto_if_false @HEIST9_12426
if and
  50@ == 0
  Char.IsInCar($stattreadstamina_ctr, 46@)
goto_if_false @HEIST9_12426
Text.PrintNow('HM9_5', 5000, 1)
50@ = 1
38@ = 6
211@ = 1
if 
  Blip.DoesExist(90@)
goto_if_false @HEIST9_12386
Blip.Remove(90@)

:HEIST9_12386
90@ = Blip.AddForCoord(2220.543, 1572.625, 998.9531)
Blip.SetEntryExit(90@, 2196.635, 1676.841, 10.0)

:HEIST9_12426
if and
  Car.IsDead(46@)
  7 > 38@
  209@ == 1
goto_if_false @HEIST9_12486
gosub @HEIST9_50388
Text.PrintNow('HM9_13', 4000, 1)
goto @HEIST9_44468

:HEIST9_12486
if 
  38@ == 6
goto_if_false @HEIST9_17984
if 
  not Car.IsDead(46@)
goto_if_false @HEIST9_12630
if and
  Char.IsInCar($stattreadstamina_ctr, 46@)
  95@ == 0
goto_if_false @HEIST9_12567
Blip.ChangeDisplay(47@, BlipDisplay.Neither)
Blip.ChangeDisplay(90@, BlipDisplay.Both)
95@ = 1

:HEIST9_12567
if and
  not Char.IsInCar($stattreadstamina_ctr, 46@)
  95@ == 1
goto_if_false @HEIST9_12630
Text.PrintNow('HM9_23', 3000, 1)
Blip.ChangeDisplay(47@, BlipDisplay.Both)
Blip.ChangeDisplay(90@, BlipDisplay.Neither)
95@ = 0

:HEIST9_12630
if 
  not Car.IsDead(46@)
goto_if_false @HEIST9_13014
$h9_TIMERC = Car.GetMovingComponentOffset(46@)
if 
  Char.IsInCar($stattreadstamina_ctr, 46@)
goto_if_false @HEIST9_13014
if 
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 2220.543, 1573.141, 998.9672, 6.0, 6.0, 6.0, False)
goto_if_false @HEIST9_12739
Text.PrintHelpForever('HM9_53')
goto @HEIST9_12741

:HEIST9_12739
Text.ClearHelp

:HEIST9_12741
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
287@ = Char.GetHeading($stattreadstamina_ctr)
set_var_float_to_var_float $h9_fuck_off = $h9_TIMERC
$h9_fuck_off += 1001.6
add_float_var_to_float_var $h9_TIMERC += $in_carX
if and
  287@ > 140.0
  220.0 > 287@
goto_if_false @HEIST9_13014
if and
  $on_footZ > 1572.8
  1573.8 > $on_footZ
goto_if_false @HEIST9_13014
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.RightStickY)
goto_if_false @HEIST9_12981
177@, 178@, $h9_can_see = Object.GetCoordinates(49@)
$game_starts_from_scratch = 0
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
set_var_float_to_var_float $h9_can_see = $h9_fuck_off
$h9_can_see -= 0.1
Object.SetCoordinates(49@, 2220.188, 1571.763, $h9_can_see)
if 
  305@ == 0
goto_if_false @HEIST9_12974
Audio.ReportMissionAudioEventAtObject(49@, 1165)
305@ = 1

:HEIST9_12974
goto @HEIST9_13014

:HEIST9_12981
if 
  305@ == 1
goto_if_false @HEIST9_13014
Audio.ReportMissionAudioEventAtObject(49@, 1166)
305@ = 0

:HEIST9_13014
if and
  $h9_can_see >= 1002.8
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_17984
if 
  Char.IsInModel($stattreadstamina_ctr, 530)
goto_if_false @HEIST9_17968
214@ = Pickup.CreateWithAmmo(363, PickupType.Once, 10, 2146.487, 1622.805, 993.5)
if 
  not Char.IsDead(225@)
goto_if_false @HEIST9_13107
Char.Delete(225@)

:HEIST9_13107
if 
  not Char.IsDead(226@)
goto_if_false @HEIST9_13128
Char.Delete(226@)

:HEIST9_13128
if 
  not Char.IsDead(227@)
goto_if_false @HEIST9_13149
Char.Delete(227@)

:HEIST9_13149
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_13172
Player.SetControl($statbike_temp, False)

:HEIST9_13172
Blip.Remove(90@)
Text.ClearHelp
Streaming.RequestCarRecording(499)
Streaming.RequestCarRecording(487)

:HEIST9_13189
if or
  not Streaming.HasCarRecordingBeenLoaded(499)
  not Streaming.HasCarRecordingBeenLoaded(487)
goto_if_false @HEIST9_13221
wait 0
goto @HEIST9_13189

:HEIST9_13221
if 
  not Car.IsDead(51@)
goto_if_false @HEIST9_13251
Car.SetAreaVisible(51@, 1)
Car.SwitchSiren(51@, True)

:HEIST9_13251
if 
  not Car.IsDead(46@)
goto_if_false @HEIST9_13297
Car.SetCoordinates(46@, 2220.543, 1573.141, 998.9672)
Car.SetHeading(46@, 180.0)

:HEIST9_13297
gosub @HEIST9_46289
Camera.SetFixedPosition(2224.694, 1577.632, 1002.633, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2224.199, 1576.857, 1002.241, SwitchType.JumpCut)
if and
  Streaming.HasCarRecordingBeenLoaded(487)
  not Car.IsDead(46@)
goto_if_false @HEIST9_13384
Car.StartPlayback(46@, 487)

:HEIST9_13384
Audio.ReportMissionAudioEventAtObject(49@, 1035)
if 
  Object.DoesExist(49@)
goto_if_false @HEIST9_13422
177@, 178@, $h9_can_see = Object.GetCoordinates(49@)

:HEIST9_13422
if 
  $h9_can_see <= 1005.4
goto_if_false @HEIST9_13482
wait 50
$h9_can_see += 0.1
Object.SetCoordinates(49@, 2220.188, 1571.763, $h9_can_see)
goto @HEIST9_13422

:HEIST9_13482
Audio.ReportMissionAudioEventAtObject(49@, 1036)
if and
  Streaming.HasCarRecordingBeenLoaded(499)
  not Car.IsDead(51@)
goto_if_false @HEIST9_13519
Car.StartPlayback(51@, 499)

:HEIST9_13519
if 
  not Car.IsDead(46@)
goto_if_false @HEIST9_13586
if 
  Car.IsPlaybackGoingOn(46@)
goto_if_false @HEIST9_13556
Car.StopPlayback(46@)

:HEIST9_13556
Car.SetCoordinates(46@, 2218.039, 1592.232, 998.9783)
Car.SetHeading(46@, 26.1233)

:HEIST9_13586
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_13675
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HEIST9_13645
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2217.115, 1589.683, 998.9709)
goto @HEIST9_13665

:HEIST9_13645
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2217.115, 1589.683, 998.9709)

:HEIST9_13665
Char.SetHeading($stattreadstamina_ctr, 209.5064)

:HEIST9_13675
58@ = 0

:HEIST9_13682
if 
  not Char.IsDead(218@(58@,10i))
goto_if_false @HEIST9_13711
Char.Delete(218@(58@,10i))

:HEIST9_13711
58@ += 1
  58@ >= 7
goto_if_false @HEIST9_13682
Streaming.RequestModel(363)
Streaming.RequestModel(364)
Streaming.RequestModel(353)
Streaming.RequestModel(164)

:HEIST9_13752
if or
  not Streaming.HasModelLoaded(363)
  not Streaming.HasModelLoaded(364)
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(164)
goto_if_false @HEIST9_13794
wait 0
goto @HEIST9_13752

:HEIST9_13794
Camera.SetFixedPosition(2217.37, 1580.595, 1000.582, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2217.663, 1579.639, 1000.559, SwitchType.JumpCut)
TIMERB = 0

:HEIST9_13852
if 
  3000 > TIMERB
goto_if_false @HEIST9_13906
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_13899
goto @HEIST9_15911

:HEIST9_13899
goto @HEIST9_13852

:HEIST9_13906
Camera.SetFixedPosition(2215.132, 1594.248, 1002.778, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2215.409, 1593.319, 1002.531, SwitchType.JumpCut)
if 
  not Car.IsDead(51@)
goto_if_false @HEIST9_13980
Car.FreezePosition(51@, True)

:HEIST9_13980
Text.PrintNow('HE8_KA', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19042)

:HEIST9_14007
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_14033
wait 0
goto @HEIST9_14007

:HEIST9_14033
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_14044
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_14094
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_14087
goto @HEIST9_15911

:HEIST9_14087
goto @HEIST9_14044

:HEIST9_14094
if 
  not Car.IsDead(51@)
goto_if_false @HEIST9_14557
53@ = Sequence.Open()
Task.Pause(-1, 500)
Task.LeaveCar(-1, 51@)
Path.FlushRoute
Path.ExtendRoute(2224.155, 1579.691, 998.9739)
Path.ExtendRoute(2223.636, 1585.549, 998.9675)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 1.0, True, False, False, False, -1)
Sequence.Close(53@)
if 
  not Char.IsDead(54@)
goto_if_false @HEIST9_14239
Char.PerformSequence(54@, 53@)

:HEIST9_14239
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.LeaveCar(-1, 51@)
Path.FlushRoute
Path.ExtendRoute(2220.033, 1584.614, 998.9719)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.TurnCharToFaceCoord(-1, 2216.44, 1589.13, 998.979)
Sequence.Close(53@)
if 
  not Char.IsDead(55@)
goto_if_false @HEIST9_14333
Char.PerformSequence(55@, 53@)

:HEIST9_14333
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.Pause(-1, 500)
Task.LeaveCar(-1, 51@)
Path.FlushRoute
Path.ExtendRoute(2221.495, 1584.948, 998.9701)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.TurnCharToFaceCoord(-1, 2216.44, 1589.13, 998.979)
Sequence.Close(53@)
if 
  not Char.IsDead(56@)
goto_if_false @HEIST9_14434
Char.PerformSequence(56@, 53@)

:HEIST9_14434
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.LeaveCar(-1, 51@)
Path.FlushRoute
Path.ExtendRoute(2216.699, 1578.363, 998.9761)
Path.ExtendRoute(2217.538, 1583.64, 998.9749)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.TurnCharToFaceCoord(-1, 2216.44, 1589.13, 998.979)
Sequence.Close(53@)
if 
  not Char.IsDead(57@)
goto_if_false @HEIST9_14552
Char.PerformSequence(57@, 53@)

:HEIST9_14552
Sequence.Clear(53@)

:HEIST9_14557
Text.PrintNow('HE8_KB', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19043)

:HEIST9_14584
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_14610
wait 0
goto @HEIST9_14584

:HEIST9_14610
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_14621
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_14671
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_14664
goto @HEIST9_15911

:HEIST9_14664
goto @HEIST9_14621

:HEIST9_14671
Text.PrintNow('HE8_KC', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19044)

:HEIST9_14698
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_14724
wait 0
goto @HEIST9_14698

:HEIST9_14724
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_14735
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_14785
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_14778
goto @HEIST9_15911

:HEIST9_14778
goto @HEIST9_14735

:HEIST9_14785
Text.PrintNow('HE8_KD', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19045)

:HEIST9_14812
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_14838
wait 0
goto @HEIST9_14812

:HEIST9_14838
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_14849
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_14899
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_14892
goto @HEIST9_15911

:HEIST9_14892
goto @HEIST9_14849

:HEIST9_14899
Camera.SetFixedPosition(2219.653, 1584.915, 1001.211, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2220.18, 1585.746, 1001.034, SwitchType.JumpCut)
Text.PrintNow('HE8_KE', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19046)

:HEIST9_14977
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_15003
wait 0
goto @HEIST9_14977

:HEIST9_15003
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead(54@)
goto_if_false @HEIST9_15151
53@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2224.192, 1589.193, 998.9668)
Path.ExtendRoute(2225.465, 1592.997, 998.9677)
Path.ExtendRoute(2226.739, 1597.796, 998.9755)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.PlayAnim(-1, "GETUP_FRONT", "PED", 1.0, False, False, False, False, -1)
Sequence.Close(53@)
Char.ClearTasksImmediately(54@)
Char.PerformSequence(54@, 53@)
Sequence.Clear(53@)

:HEIST9_15151
TIMERB = 0

:HEIST9_15158
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_15208
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_15201
goto @HEIST9_15911

:HEIST9_15201
goto @HEIST9_15158

:HEIST9_15208
TIMERB = 0

:HEIST9_15215
if 
  2500 > TIMERB
goto_if_false @HEIST9_15269
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_15262
goto @HEIST9_15911

:HEIST9_15262
goto @HEIST9_15215

:HEIST9_15269
Camera.Shake(30)
TIMERB = 0

:HEIST9_15280
if 
  1500 > TIMERB
goto_if_false @HEIST9_15334
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_15327
goto @HEIST9_15911

:HEIST9_15327
goto @HEIST9_15280

:HEIST9_15334
if 
  not Char.IsDead(54@)
goto_if_false @HEIST9_15484
if 
  not Char.IsDead(55@)
goto_if_false @HEIST9_15379
Char.ClearTasks(55@)
Task.TurnCharToFaceChar(55@, 54@)

:HEIST9_15379
if 
  not Char.IsDead(56@)
goto_if_false @HEIST9_15408
Char.ClearTasks(56@)
Task.TurnCharToFaceChar(56@, 54@)

:HEIST9_15408
wait 100
if and
  not Char.IsDead(57@)
  not Char.IsDead(54@)
goto_if_false @HEIST9_15446
Char.ClearTasks(57@)
Task.TurnCharToFaceChar(57@, 54@)

:HEIST9_15446
wait 100
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(54@)
goto_if_false @HEIST9_15484
Char.ClearTasks($stattreadstamina_ctr)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 54@)

:HEIST9_15484
Text.PrintNow('HE8_KF', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19047)

:HEIST9_15511
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_15537
wait 0
goto @HEIST9_15511

:HEIST9_15537
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_15548
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_15598
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_15591
goto @HEIST9_15911

:HEIST9_15591
goto @HEIST9_15548

:HEIST9_15598
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(54@)
goto_if_false @HEIST9_15632
Char.ClearTasks(54@)
Task.TurnCharToFaceChar(54@, $stattreadstamina_ctr)

:HEIST9_15632
Camera.SetFixedPosition(2216.963, 1581.526, 1000.579, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2217.403, 1582.416, 1000.465, SwitchType.JumpCut)
Text.PrintNow('HE8_KG', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19048)

:HEIST9_15710
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_15736
wait 0
goto @HEIST9_15710

:HEIST9_15736
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_15747
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_15797
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_15790
goto @HEIST9_15911

:HEIST9_15790
goto @HEIST9_15747

:HEIST9_15797
Text.PrintNow('HE8_KH', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19049)

:HEIST9_15824
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_15850
wait 0
goto @HEIST9_15824

:HEIST9_15850
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_15861
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_15911
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_15904
goto @HEIST9_15911

:HEIST9_15904
goto @HEIST9_15861

:HEIST9_15911
315@ = Char.Create(PedType.Mission1, 163, 2201.126, 1617.877, 998.9827)
Char.SetAreaVisible(315@, 1)
Char.SetHeading(315@, 267.4834)
Task.ToggleDuck(315@, True)
316@ = Char.Create(PedType.Mission1, 164, 2196.083, 1618.684, 998.9766)
Char.SetAreaVisible(316@, 1)
Char.SetHeading(316@, 263.4616)
317@ = Char.Create(PedType.Mission1, 163, 2207.917, 1620.372, 998.9827)
Char.SetAreaVisible(317@, 1)
Char.SetHeading(317@, 267.4754)
Task.ToggleDuck(317@, True)
Char.SetOnlyDamagedByPlayer(317@, True)
58@ = 0

:HEIST9_16065
Char.SetMoney(315@(58@,5i), 0)
if 
  58@ <> 2
goto_if_false @HEIST9_16118
Char.SetHealth(315@(58@,5i), 200)
Char.SetMaxHealth(315@(58@,5i), 200)

:HEIST9_16118
320@(58@,15i) = Blip.AddForChar(315@(58@,5i))
Blip.SetEntryExit(320@(58@,15i), 2196.635, 1676.841, 10.0)
Blip.ChangeDisplay(320@(58@,15i), BlipDisplay.BlipOnly)
Char.GiveWeapon(315@(58@,5i), WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(315@(58@,5i), WeaponType.Mp5)
Char.SetAccuracy(315@(58@,5i), 20)
Char.SetShootRate(315@(58@,5i), 20)
Char.SetDecisionMaker(315@(58@,5i), 245@)
Task.StayInSamePlace(315@(58@,5i), True)
58@ += 1
  58@ >= 3
goto_if_false @HEIST9_16065
335@ = Char.Create(PedType.Mission1, 163, 2180.075, 1611.573, 998.9766)
Char.SetAreaVisible(335@, 1)
Char.SetHeading(335@, 273.7555)
Char.SetOnlyDamagedByPlayer(335@, True)
336@ = Char.Create(PedType.Mission1, 164, 2186.142, 1612.398, 998.9777)
Char.SetAreaVisible(336@, 1)
Char.SetHeading(336@, 306.4445)
Task.ToggleDuck(336@, True)
337@ = Char.Create(PedType.Mission1, 163, 2183.521, 1615.246, 998.9766)
Char.SetAreaVisible(337@, 1)
Char.SetHeading(337@, 294.2185)
338@ = Char.Create(PedType.Mission1, 164, 2182.612, 1623.697, 998.9742)
Char.SetAreaVisible(338@, 1)
Char.SetHeading(338@, 248.6147)
Task.ToggleDuck(338@, True)
339@ = Char.Create(PedType.Mission1, 164, 2179.681, 1622.404, 998.9764)
Char.SetAreaVisible(339@, 1)
Char.SetHeading(339@, 268.7008)
Char.SetOnlyDamagedByPlayer(339@, True)
340@ = Char.Create(PedType.Mission1, 163, 2178.853, 1625.603, 998.9709)
Char.SetAreaVisible(340@, 1)
Char.SetHeading(340@, 250.7106)
341@ = Char.Create(PedType.Mission1, 163, 2176.363, 1606.599, 998.9827)
Char.SetAreaVisible(341@, 1)
Char.SetHeading(341@, 0.8709)
Char.SetSenseRange(341@, 5.0)
Task.ToggleDuck(341@, True)
342@ = Char.Create(PedType.Mission1, 164, 2176.491, 1600.897, 998.9827)
Char.SetAreaVisible(342@, 1)
Char.SetSenseRange(342@, 5.0)
Char.SetHeading(342@, 352.937)
343@ = Char.Create(PedType.Mission1, 163, 2169.117, 1618.626, 998.9766)
Char.SetAreaVisible(343@, 1)
Char.SetHeading(343@, 272.9878)
344@ = Char.Create(PedType.Mission1, 163, 2161.208, 1602.776, 998.9812)
Char.SetAreaVisible(344@, 1)
Char.SetHeading(344@, 4.2093)
345@ = Char.Create(PedType.Mission1, 164, 2156.54, 1605.252, 998.9725)
Char.SetAreaVisible(345@, 1)
Char.SetHeading(345@, 353.705)
58@ = 0

:HEIST9_16784
Char.SetMoney(335@(58@,15i), 0)
if and
  58@ <> 0
  58@ <> 4
goto_if_false @HEIST9_16844
Char.SetHealth(335@(58@,15i), 200)
Char.SetMaxHealth(335@(58@,15i), 200)

:HEIST9_16844
350@(58@,15i) = Blip.AddForChar(335@(58@,15i))
Blip.SetEntryExit(350@(58@,15i), 2196.635, 1676.841, 10.0)
Blip.ChangeDisplay(350@(58@,15i), BlipDisplay.BlipOnly)
Char.GiveWeapon(335@(58@,15i), WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(335@(58@,15i), WeaponType.Mp5)
Char.SetShootRate(335@(58@,15i), 20)
Char.SetAccuracy(335@(58@,15i), 20)
Char.SetDecisionMaker(335@(58@,15i), 245@)
Task.StayInSamePlace(335@(58@,15i), True)
58@ += 1
  58@ >= 11
goto_if_false @HEIST9_16784
$h9_calculus = 420000
Hud.ClearTimer($h9_calculus)
Hud.DisplayTimerWithString($h9_calculus, TimerDirection.Down, 'HM9_1A')
gosub @HEIST9_46306
Object.Delete(49@)
if 
  not Car.IsDead(51@)
goto_if_false @HEIST9_17101
if 
  Car.IsPlaybackGoingOn(51@)
goto_if_false @HEIST9_17066
Car.StopPlayback(51@)

:HEIST9_17066
Car.SetCoordinates(51@, 2220.39, 1577.623, 998.967)
Car.SetHeading(51@, 179.9804)
Car.SkipToEndAndStopPlayback(51@)

:HEIST9_17101
if 
  not Car.IsDead(51@)
goto_if_false @HEIST9_17850
if and
  not Char.IsDead(54@)
  not Char.IsDead(55@)
  not Char.IsDead(56@)
  not Char.IsDead(57@)
goto_if_false @HEIST9_17850
286@ = Sequence.Open()
Task.Pause(-1, 10)
if 
  not Char.IsDead(315@)
goto_if_false @HEIST9_17182
Task.KillCharOnFoot(-1, 315@)

:HEIST9_17182
if 
  not Char.IsDead(316@)
goto_if_false @HEIST9_17205
Task.KillCharOnFoot(-1, 316@)

:HEIST9_17205
if 
  not Char.IsDead(317@)
goto_if_false @HEIST9_17228
Task.KillCharOnFoot(-1, 317@)

:HEIST9_17228
Sequence.Close(286@)
365@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2221.952, 1586.563, 998.9695)
Path.ExtendRoute(2223.39, 1591.61, 998.9678)
Path.ExtendRoute(2224.253, 1597.906, 998.9766)
Path.ExtendRoute(2224.359, 1599.682, 998.983)
Task.ToggleDuck(-1, False)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Sequence.Close(365@)
366@ = Sequence.Open()
Path.FlushRoute
Task.ToggleDuck(-1, True)
Path.ExtendRoute(2224.593, 1602.669, 998.9816)
Path.ExtendRoute(2224.79, 1609.521, 998.975)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Sequence.Close(366@)
53@ = Sequence.Open()
if 
  Char.IsInCar(55@, 51@)
goto_if_false @HEIST9_17422
Task.LeaveCar(-1, 51@)

:HEIST9_17422
Char.PerformSequence(-1, 365@)
Char.PerformSequence(-1, 366@)
Task.FollowPathNodesToCoord(-1, 2222.452, 1617.022, 998.9678, 6, -1)
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 286@)
Sequence.Close(53@)
Char.ClearTasks(55@)
Char.PerformSequence(55@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.Pause(-1, 500)
if 
  Char.IsInCar(56@, 51@)
goto_if_false @HEIST9_17533
Task.LeaveCar(-1, 51@)

:HEIST9_17533
Char.PerformSequence(-1, 365@)
Task.Pause(-1, 1000)
Char.PerformSequence(-1, 366@)
Task.FollowPathNodesToCoord(-1, 2222.943, 1620.636, 998.9709, 6, -1)
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 286@)
Sequence.Close(53@)
Char.ClearTasks(56@)
Char.PerformSequence(56@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.Pause(-1, 1500)
if 
  Char.IsInCar(57@, 51@)
goto_if_false @HEIST9_17651
Task.LeaveCar(-1, 51@)

:HEIST9_17651
Char.PerformSequence(-1, 365@)
Task.Pause(-1, 3000)
Char.PerformSequence(-1, 366@)
Task.FollowPathNodesToCoord(-1, 2223.133, 1610.966, 998.9728, 4, -1)
Task.StayInSamePlace(-1, True)
Sequence.Close(53@)
Char.ClearTasks(57@)
Char.PerformSequence(57@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.Pause(-1, 2000)
if 
  Char.IsInCar(54@, 51@)
goto_if_false @HEIST9_17762
Task.LeaveCar(-1, 51@)

:HEIST9_17762
Char.PerformSequence(-1, 365@)
Task.Pause(-1, 2500)
Char.PerformSequence(-1, 366@)
Task.FollowPathNodesToCoord(-1, 2223.133, 1610.966, 998.9728, 4, -1)
Task.StayInSamePlace(-1, True)
Sequence.Close(53@)
Char.ClearTasks(54@)
Char.PerformSequence(54@, 53@)
Sequence.Clear(286@)
Sequence.Clear(53@)
Sequence.Clear(365@)
Sequence.Clear(366@)

:HEIST9_17850
58@ = 0

:HEIST9_17857
if and
  not Char.IsDead(54@(58@,4i))
  not Car.IsDead(51@)
goto_if_false @HEIST9_17933
91@(58@,4i) = Blip.AddForChar(54@(58@,4i))
Blip.SetEntryExit(91@(58@,4i), 2196.635, 1676.841, 10.0)
Blip.SetAsFriendly(91@(58@,4i), True)

:HEIST9_17933
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_17857
38@ = 7
goto @HEIST9_17984

:HEIST9_17968
Text.PrintNow('HM9_14', 5000, 1)

:HEIST9_17984
if 
  38@ == 7
goto_if_false @HEIST9_18058
Streaming.RequestAnimation("BOMBER")

:HEIST9_18012
if 
  not Streaming.HasAnimationLoaded("BOMBER")
goto_if_false @HEIST9_18044
wait 0
goto @HEIST9_18012

:HEIST9_18044
38@ = 8
TIMERA = 0

:HEIST9_18058
if 
  38@ == 8
goto_if_false @HEIST9_24146
58@ = 0

:HEIST9_18083
if and
  Char.IsDead(315@(58@,5i))
  320@(58@,15i) <> 0
goto_if_false @HEIST9_18163
if 
  Blip.DoesExist(320@(58@,15i))
goto_if_false @HEIST9_18163
Blip.Remove(320@(58@,15i))
320@(58@,15i) = 0
Char.MarkAsNoLongerNeeded(315@(58@,5i))

:HEIST9_18163
58@ += 1
  58@ >= 3
goto_if_false @HEIST9_18083
58@ = 0

:HEIST9_18191
if and
  Char.IsDead(335@(58@,15i))
  350@(58@,15i) <> 0
goto_if_false @HEIST9_18271
if 
  Blip.DoesExist(350@(58@,15i))
goto_if_false @HEIST9_18271
Blip.Remove(350@(58@,15i))
350@(58@,15i) = 0
Char.MarkAsNoLongerNeeded(335@(58@,15i))

:HEIST9_18271
58@ += 1
  58@ >= 11
goto_if_false @HEIST9_18191
if and
  Char.IsDead(315@)
  Char.IsDead(316@)
  Char.IsDead(317@)
  257@ == 0
goto_if_false @HEIST9_19157
if and
  not Char.IsDead(54@)
  not Char.IsDead(55@)
  not Char.IsDead(56@)
  not Char.IsDead(57@)
goto_if_false @HEIST9_19150
286@ = Sequence.Open()
Task.Pause(-1, 1)
if 
  not Char.IsDead(335@)
goto_if_false @HEIST9_18390
Task.KillCharOnFoot(-1, 335@)

:HEIST9_18390
if 
  not Char.IsDead(337@)
goto_if_false @HEIST9_18413
Task.KillCharOnFoot(-1, 337@)

:HEIST9_18413
if 
  not Char.IsDead(336@)
goto_if_false @HEIST9_18436
Task.KillCharOnFoot(-1, 336@)

:HEIST9_18436
if 
  not Char.IsDead(341@)
goto_if_false @HEIST9_18459
Task.KillCharOnFoot(-1, 341@)

:HEIST9_18459
if 
  not Char.IsDead(342@)
goto_if_false @HEIST9_18482
Task.KillCharOnFoot(-1, 342@)

:HEIST9_18482
Sequence.Close(286@)
365@ = Sequence.Open()
Path.FlushRoute
Task.ToggleDuck(-1, True)
Path.ExtendRoute(2217.468, 1619.031, 998.9766)
Path.ExtendRoute(2209.887, 1618.989, 998.9766)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.ToggleDuck(-1, True)
Path.ExtendRoute(2203.74, 1619.167, 998.9827)
Path.ExtendRoute(2199.119, 1618.858, 998.9827)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Sequence.Close(365@)
53@ = Sequence.Open()
Char.PerformSequence(-1, 365@)
Task.FollowPathNodesToCoord(-1, 2196.144, 1618.719, 998.9766, 6, -1)
Task.FollowPathNodesToCoord(-1, 2192.726, 1618.628, 998.9766, 6, -1)
Task.FollowPathNodesToCoord(-1, 2190.531, 1617.373, 998.9766, 6, -1)
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 286@)
Sequence.Close(53@)
Char.ClearTasks(55@)
Char.PerformSequence(55@, 53@)
Sequence.Clear(286@)
286@ = Sequence.Open()
Task.Pause(-1, 1)
if 
  not Char.IsDead(338@)
goto_if_false @HEIST9_18750
Task.KillCharOnFoot(-1, 338@)

:HEIST9_18750
if 
  not Char.IsDead(339@)
goto_if_false @HEIST9_18773
Task.KillCharOnFoot(-1, 339@)

:HEIST9_18773
if 
  not Char.IsDead(340@)
goto_if_false @HEIST9_18796
Task.KillCharOnFoot(-1, 340@)

:HEIST9_18796
if 
  not Char.IsDead(341@)
goto_if_false @HEIST9_18819
Task.KillCharOnFoot(-1, 341@)

:HEIST9_18819
if 
  not Char.IsDead(342@)
goto_if_false @HEIST9_18842
Task.KillCharOnFoot(-1, 342@)

:HEIST9_18842
Sequence.Close(286@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Char.PerformSequence(-1, 365@)
Task.FollowPathNodesToCoord(-1, 2196.144, 1618.719, 998.9766, 6, -1)
Task.FollowPathNodesToCoord(-1, 2191.214, 1620.229, 998.9802, 6, -1)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 286@)
Sequence.Close(53@)
Char.ClearTasks(56@)
Char.PerformSequence(56@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.Pause(-1, 500)
Task.FollowPathNodesToCoord(-1, 2223.391, 1619.15, 998.9672, 6, -1)
Char.PerformSequence(-1, 365@)
Task.FollowPathNodesToCoord(-1, 2198.942, 1617.974, 998.9766, 6, -1)
Task.StayInSamePlace(-1, True)
Sequence.Close(53@)
Char.ClearTasks(57@)
Char.PerformSequence(57@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.Pause(-1, 500)
Task.FollowPathNodesToCoord(-1, 2223.391, 1619.15, 998.9672, 6, -1)
Char.PerformSequence(-1, 365@)
Task.FollowPathNodesToCoord(-1, 2197.816, 1617.827, 998.9766, 6, -1)
Task.StayInSamePlace(-1, True)
Sequence.Close(53@)
Char.ClearTasks(54@)
Char.PerformSequence(54@, 53@)
Sequence.Clear(286@)
Sequence.Clear(53@)
Sequence.Clear(365@)

:HEIST9_19150
257@ = 1

:HEIST9_19157
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2158.438, 1618.74, 998.965, 4.0, 4.0, 4.0, False)
  37@ == 0
goto_if_false @HEIST9_19248
if 
  not Char.IsDead(344@)
goto_if_false @HEIST9_19241
Char.ClearTasks(344@)
Char.PerformSequence(344@, 212@)

:HEIST9_19241
37@ = 1

:HEIST9_19248
if and
  Char.IsDead(335@)
  Char.IsDead(336@)
  Char.IsDead(337@)
  Char.IsDead(338@)
  258@ == 0
goto_if_false @HEIST9_19839
if and
  Char.IsDead(339@)
  Char.IsDead(340@)
  257@ == 1
goto_if_false @HEIST9_19839
if and
  not Char.IsDead(54@)
  not Char.IsDead(55@)
  not Char.IsDead(56@)
  not Char.IsDead(57@)
goto_if_false @HEIST9_19839
286@ = Sequence.Open()
Task.Pause(-1, 1)
if 
  not Char.IsDead(343@)
goto_if_false @HEIST9_19379
Task.KillCharOnFoot(-1, 343@)

:HEIST9_19379
if 
  not Char.IsDead(341@)
goto_if_false @HEIST9_19402
Task.KillCharOnFoot(-1, 341@)

:HEIST9_19402
if 
  not Char.IsDead(342@)
goto_if_false @HEIST9_19425
Task.KillCharOnFoot(-1, 342@)

:HEIST9_19425
Sequence.Close(286@)
53@ = Sequence.Open()
Path.FlushRoute
Task.ToggleDuck(-1, True)
Path.ExtendRoute(2188.958, 1615.043, 998.9766)
Path.ExtendRoute(2184.968, 1614.836, 998.9766)
Path.ExtendRoute(2181.061, 1612.783, 998.9766)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 286@)
Sequence.Close(53@)
Char.ClearTasks(55@)
Char.PerformSequence(55@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Path.FlushRoute
Task.ToggleDuck(-1, True)
Path.ExtendRoute(2187.532, 1623.486, 998.9746)
Path.ExtendRoute(2182.643, 1624.14, 998.9734)
Path.ExtendRoute(2180.778, 1624.237, 998.9733)
Path.ExtendRoute(2178.494, 1623.014, 998.9754)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 286@)
Sequence.Close(53@)
Char.ClearTasks(56@)
Char.PerformSequence(56@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Path.FlushRoute
Task.ToggleDuck(-1, True)
Path.ExtendRoute(2195.998, 1618.965, 998.9766)
Path.ExtendRoute(2190.157, 1620.457, 998.9797)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Sequence.Close(53@)
Char.ClearTasks(57@)
Char.PerformSequence(57@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Path.FlushRoute
Task.ToggleDuck(-1, True)
Path.ExtendRoute(2195.998, 1618.965, 998.9766)
Path.ExtendRoute(2190.435, 1616.811, 998.9766)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Sequence.Close(53@)
Char.ClearTasks(54@)
Char.PerformSequence(54@, 53@)
Sequence.Clear(53@)
Sequence.Clear(286@)
258@ = 1

:HEIST9_19839
if and
  Char.IsDead(341@)
  Char.IsDead(342@)
  Char.IsDead(343@)
  258@ == 1
goto_if_false @HEIST9_20545
if and
  not Char.IsDead(54@)
  not Char.IsDead(55@)
  not Char.IsDead(56@)
  not Char.IsDead(57@)
goto_if_false @HEIST9_20545
286@ = Sequence.Open()
Task.Pause(-1, 1)
if 
  not Char.IsDead(345@)
goto_if_false @HEIST9_19937
Task.KillCharOnFoot(-1, 345@)

:HEIST9_19937
if 
  not Char.IsDead(344@)
goto_if_false @HEIST9_19960
Task.KillCharOnFoot(-1, 344@)

:HEIST9_19960
Sequence.Close(286@)
53@ = Sequence.Open()
Path.FlushRoute
Task.ToggleDuck(-1, True)
Path.ExtendRoute(2177.684, 1614.631, 998.9766)
Path.ExtendRoute(2173.296, 1618.374, 998.9766)
Path.ExtendRoute(2169.075, 1618.589, 998.9766)
Path.ExtendRoute(2165.563, 1618.568, 998.9752)
Path.ExtendRoute(2159.532, 1617.056, 998.9662)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 286@)
Sequence.Close(53@)
Char.ClearTasks(55@)
Char.PerformSequence(55@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Path.FlushRoute
Task.ToggleDuck(-1, True)
Path.ExtendRoute(2174.709, 1621.068, 998.978)
Path.ExtendRoute(2169.154, 1618.646, 998.9766)
Path.ExtendRoute(2161.401, 1619.628, 998.9706)
Path.ExtendRoute(2155.982, 1619.06, 998.9666)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.AchieveHeading(-1, 180.0)
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 286@)
Sequence.Close(53@)
Char.ClearTasks(56@)
Char.PerformSequence(56@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Path.FlushRoute
Task.ToggleDuck(-1, True)
Path.ExtendRoute(2190.003, 1622.425, 998.9764)
Path.ExtendRoute(2186.135, 1623.306, 998.9749)
Path.ExtendRoute(2182.44, 1624.333, 998.9731)
Path.ExtendRoute(2178.639, 1623.895, 998.9739)
Path.ExtendRoute(2174.756, 1622.692, 998.976)
Path.ExtendRoute(2169.405, 1620.61, 998.9795)
Task.AchieveHeading(-1, 172.0)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Sequence.Close(53@)
Char.ClearTasks(57@)
Char.PerformSequence(57@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Path.FlushRoute
Task.ToggleDuck(-1, True)
Path.ExtendRoute(2188.537, 1615.527, 998.9766)
Path.ExtendRoute(2184.411, 1614.467, 998.9766)
Path.ExtendRoute(2180.224, 1614.09, 998.9766)
Path.ExtendRoute(2175.855, 1615.655, 998.9766)
Path.ExtendRoute(2169.48, 1617.185, 998.9766)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Sequence.Close(53@)
Char.ClearTasks(54@)
Char.PerformSequence(54@, 53@)
Sequence.Clear(53@)
Sequence.Clear(286@)
258@ = 2

:HEIST9_20545
if and
  Char.IsDead(344@)
  Char.IsDead(345@)
  258@ == 2
goto_if_false @HEIST9_20730
53@ = Sequence.Open()
Task.ToggleDuck(-1, False)
Task.FollowPathNodesToCoord(-1, 2157.872, 1603.249, 998.973, 6, -1)
Task.FollowPathNodesToCoord(-1, 2144.301, 1610.444, 992.6882, 6, -1)
Sequence.Close(53@)
58@ = 0

:HEIST9_20642
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_20683
Char.ClearTasks(54@(58@,4i))
Char.PerformSequence(54@(58@,4i), 53@)

:HEIST9_20683
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_20642
Sequence.Clear(53@)
367@ = 1
TIMERB = 0
258@ = 3

:HEIST9_20730
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2195.041, 1618.905, 998.9766, 2.0, 2.0, 2.0, False)
goto_if_false @HEIST9_21072
if and
  not Car.IsDead(46@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_20828
if 
  not Char.IsInCar($stattreadstamina_ctr, 46@)
goto_if_false @HEIST9_20828
Car.Delete(46@)
Streaming.MarkModelAsNoLongerNeeded(530)

:HEIST9_20828
if 
  304@ == 0
goto_if_false @HEIST9_21072
if 
  not Char.IsDead(341@)
goto_if_false @HEIST9_20953
53@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.Pause(-1, 3000)
Path.FlushRoute
Path.ExtendRoute(2176.628, 1610.473, 998.9766)
Path.ExtendRoute(2173.56, 1623.915, 998.9739)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.AchieveHeading(-1, 270.0)
Sequence.Close(53@)
Char.PerformSequence(341@, 53@)
Sequence.Clear(53@)

:HEIST9_20953
if 
  not Char.IsDead(342@)
goto_if_false @HEIST9_21065
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.StayInSamePlace(-1, False)
Task.Pause(-1, 3000)
Path.FlushRoute
Path.ExtendRoute(2176.628, 1610.473, 998.9766)
Path.ExtendRoute(2175.972, 1613.853, 998.9766)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.AchieveHeading(-1, 270.0)
Sequence.Close(53@)
Char.PerformSequence(342@, 53@)
Sequence.Clear(53@)

:HEIST9_21065
304@ = 1

:HEIST9_21072
if 
  251@ == 0
goto_if_false @HEIST9_21252
if and
  231@ == 2
  105@ == 0
goto_if_false @HEIST9_21147
Text.PrintWithNumberNow('HM9_1C', 7, 5000, 1)
105@ = 1
TIMERB = 0

:HEIST9_21147
if and
  TIMERB > 5000
  105@ == 1
goto_if_false @HEIST9_21203
Text.PrintNow('HM9_21', 6000, 1)
105@ = 2
TIMERB = 0

:HEIST9_21203
if and
  TIMERB > 6000
  105@ == 2
goto_if_false @HEIST9_21252
Text.PrintNow('HM9_1G', 7000, 1)
105@ = 3

:HEIST9_21252
if 
  367@ <> 0
goto_if_false @HEIST9_21722
if 
  367@ == 1
goto_if_false @HEIST9_21355
58@ = 0

:HEIST9_21295
Char.Delete(315@(58@,5i))
58@ += 1
  58@ >= 3
goto_if_false @HEIST9_21295
Text.PrintNow('HM9_1E', 5000, 1)
367@ = 2
TIMERA = 0

:HEIST9_21355
if and
  TIMERA > 4000
  367@ == 2
goto_if_false @HEIST9_21417
set_lvar_text_label 288@s = 'HE8_LA'
set_lvar_int_to_constant 232@ = 19050
gosub @HEIST9_50648
367@ = 3

:HEIST9_21417
if and
  231@ == 2
  367@ == 3
goto_if_false @HEIST9_21478
set_lvar_text_label 288@s = 'HE8_LB'
set_lvar_int_to_constant 232@ = 19051
gosub @HEIST9_50648
367@ = 4

:HEIST9_21478
if and
  231@ == 2
  367@ == 4
goto_if_false @HEIST9_21539
set_lvar_text_label 288@s = 'HE8_LC'
set_lvar_int_to_constant 232@ = 19052
gosub @HEIST9_50648
367@ = 5

:HEIST9_21539
if and
  231@ == 2
  367@ == 5
goto_if_false @HEIST9_21600
set_lvar_text_label 288@s = 'HE8_LD'
set_lvar_int_to_constant 232@ = 19053
gosub @HEIST9_50648
367@ = 6

:HEIST9_21600
if and
  231@ == 2
  367@ == 6
goto_if_false @HEIST9_21661
set_lvar_text_label 288@s = 'HE8_LE'
set_lvar_int_to_constant 232@ = 19054
gosub @HEIST9_50648
367@ = 7

:HEIST9_21661
if and
  231@ == 2
  367@ == 7
goto_if_false @HEIST9_21722
set_lvar_text_label 288@s = 'HE8_LF'
set_lvar_int_to_constant 232@ = 19055
gosub @HEIST9_50648
367@ = 0

:HEIST9_21722
234@ = 0
if and
  251@ > 1
  252@ == 1
goto_if_false @HEIST9_22816
if and
  231@ == 2
  105@ == 0
goto_if_false @HEIST9_21899
58@ = 0

:HEIST9_21786
Char.Delete(335@(58@,15i))
58@ += 1
  58@ >= 11
goto_if_false @HEIST9_21786
233@ = Blip.AddForCoord(2144.101, 1623.453, 993.5677)
Blip.SetEntryExit(233@, 2196.635, 1676.841, 10.0)
Blip.ChangeDisplay(233@, BlipDisplay.Neither)
set_lvar_text_label 288@s = 'HE8_MA'
set_lvar_int_to_constant 232@ = 19056
gosub @HEIST9_50648
105@ = 1

:HEIST9_21899
if and
  231@ == 2
  105@ == 1
goto_if_false @HEIST9_21960
set_lvar_text_label 288@s = 'HE8_MB'
set_lvar_int_to_constant 232@ = 19057
gosub @HEIST9_50648
105@ = 2

:HEIST9_21960
if and
  231@ == 2
  105@ == 2
goto_if_false @HEIST9_22028
set_lvar_text_label 288@s = 'HE8_MC'
set_lvar_int_to_constant 232@ = 19058
gosub @HEIST9_50648
105@ = 3
TIMERA = 0

:HEIST9_22028
if and
  231@ == 2
  105@ == 3
goto_if_false @HEIST9_22089
set_lvar_text_label 288@s = 'HE8_NA'
set_lvar_int_to_constant 232@ = 19059
gosub @HEIST9_50648
105@ = 4

:HEIST9_22089
if and
  231@ == 2
  105@ == 4
goto_if_false @HEIST9_22150
set_lvar_text_label 288@s = 'HE8_NB'
set_lvar_int_to_constant 232@ = 19060
gosub @HEIST9_50648
105@ = 5

:HEIST9_22150
if and
  231@ == 2
  105@ == 5
goto_if_false @HEIST9_22218
set_lvar_text_label 288@s = 'HE8_NC'
set_lvar_int_to_constant 232@ = 19061
gosub @HEIST9_50648
105@ = 6
TIMERA = 0

:HEIST9_22218
if and
  231@ == 2
  105@ == 6
goto_if_false @HEIST9_22279
set_lvar_text_label 288@s = 'HE8_ND'
set_lvar_int_to_constant 232@ = 19062
gosub @HEIST9_50648
105@ = 7

:HEIST9_22279
if and
  231@ == 2
  105@ == 7
goto_if_false @HEIST9_22347
set_lvar_text_label 288@s = 'HE8_NE'
set_lvar_int_to_constant 232@ = 19063
gosub @HEIST9_50648
105@ = 8
TIMERA = 0

:HEIST9_22347
if and
  231@ == 2
  105@ == 8
goto_if_false @HEIST9_22816
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Satchel)
goto_if_false @HEIST9_22758
Streaming.RequestModel(163)

:HEIST9_22395
if 
  not Streaming.HasModelLoaded(163)
goto_if_false @HEIST9_22422
wait 0
goto @HEIST9_22395

:HEIST9_22422
295@ = Char.Create(PedType.Mission1, 164, 2146.665, 1611.452, 999.9764)
Char.SetAreaVisible(295@, 1)
Char.SetHeading(295@, 189.8734)
Char.SetDecisionMaker(295@, 89@)
Char.GiveWeapon(295@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(295@, WeaponType.Mp5)
Task.StayInSamePlace(295@, True)
Char.SetMoney(295@, 0)
296@ = Char.Create(PedType.Mission1, 163, 2147.982, 1605.254, 1000.752)
Char.SetAreaVisible(296@, 1)
Char.SetHeading(296@, 191.7168)
Char.GiveWeapon(296@, WeaponType.Mp5, 30000)
Char.SetDecisionMaker(296@, 89@)
Char.SetCurrentWeapon(296@, WeaponType.Mp5)
Task.StayInSamePlace(296@, True)
Char.SetMoney(296@, 0)
if 
  Blip.DoesExist(233@)
goto_if_false @HEIST9_22605
Blip.Remove(233@)

:HEIST9_22605
58@ = 0

:HEIST9_22612
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_22651
Char.SetProofs(54@(58@,4i), False, True, True, True, False)

:HEIST9_22651
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_22612
Text.PrintNow('HM9_22', 4000, 1)
38@ = 13
228@ = Blip.AddForObject(171@)
Blip.SetEntryExit(228@, 2196.635, 1676.841, 10.0)
229@ = Blip.AddForObject(172@)
Blip.SetEntryExit(229@, 2196.635, 1676.841, 10.0)
goto @HEIST9_22802

:HEIST9_22758
Text.PrintNow('HM9_PK', 4000, 1)
299@ = Blip.AddForPickup(214@)
Blip.SetEntryExit(299@, 2196.635, 1676.841, 10.0)

:HEIST9_22802
105@ = 101
TIMERA = 0

:HEIST9_22816
if and
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Satchel)
  105@ == 101
  38@ <> 13
goto_if_false @HEIST9_23216
Streaming.RequestModel(163)

:HEIST9_22853
if 
  not Streaming.HasModelLoaded(163)
goto_if_false @HEIST9_22880
wait 0
goto @HEIST9_22853

:HEIST9_22880
295@ = Char.Create(PedType.Mission1, 164, 2146.665, 1611.452, 999.9764)
Char.SetAreaVisible(295@, 1)
Char.SetHeading(295@, 189.8734)
Char.SetDecisionMaker(295@, 89@)
Char.GiveWeapon(295@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(295@, WeaponType.Mp5)
Task.StayInSamePlace(295@, True)
296@ = Char.Create(PedType.Mission1, 163, 2147.982, 1605.254, 1000.752)
Char.SetAreaVisible(296@, 1)
Char.SetHeading(296@, 191.7168)
Char.GiveWeapon(296@, WeaponType.Mp5, 30000)
Char.SetDecisionMaker(296@, 89@)
Char.SetCurrentWeapon(296@, WeaponType.Mp5)
Task.StayInSamePlace(296@, True)
if 
  Blip.DoesExist(233@)
goto_if_false @HEIST9_23049
Blip.Remove(233@)

:HEIST9_23049
58@ = 0

:HEIST9_23056
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_23095
Char.SetProofs(54@(58@,4i), False, True, True, True, False)

:HEIST9_23095
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_23056
if 
  Blip.DoesExist(299@)
goto_if_false @HEIST9_23137
Blip.Remove(299@)

:HEIST9_23137
Text.PrintNow('HM9_22', 4000, 1)
38@ = 13
228@ = Blip.AddForObject(171@)
Blip.SetEntryExit(228@, 2196.635, 1676.841, 10.0)
229@ = Blip.AddForObject(172@)
Blip.SetEntryExit(229@, 2196.635, 1676.841, 10.0)

:HEIST9_23216
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2144.393, 1616.653, 992.5681, 20.0, 20.0, 2.0, False)
goto_if_false @HEIST9_23333
if and
  105@ <> 0
  105@ <> 9
  251@ > 1
goto_if_false @HEIST9_23319
if 
  Blip.DoesExist(233@)
goto_if_false @HEIST9_23319
Blip.ChangeDisplay(233@, BlipDisplay.Neither)

:HEIST9_23319
252@ = 1
goto @HEIST9_23411

:HEIST9_23333
if and
  105@ <> 0
  105@ <> 9
  251@ > 1
goto_if_false @HEIST9_23404
if 
  Blip.DoesExist(233@)
goto_if_false @HEIST9_23388
Blip.ChangeDisplay(233@, BlipDisplay.Both)

:HEIST9_23388
Text.PrintNow('HM9_56', 1000, 1)

:HEIST9_23404
252@ = 0

:HEIST9_23411
58@ = 0

:HEIST9_23418
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_24125
if and
  Char.LocateAnyMeans3D(54@(58@,4i), 2143.693, 1610.628, 992.6882, 4.0, 4.0, 2.0, False)
  239@(58@,4i) == 0
goto_if_false @HEIST9_24125
if and
  58@ == 0
  not Char.IsDead(54@)
goto_if_false @HEIST9_23669
53@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2144.202, 1618.696, 992.6882)
Path.ExtendRoute(2143.036, 1626.497, 992.5681)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.TurnCharToFaceCoord(-1, 2144.231, 1629.507, 992.5703)
Task.StayInSamePlace(-1, True)
Task.PlayAnim(-1, "BOM_PLANT_LOOP", "BOMBER", 1.0, True, False, False, False, -1)
Task.StayInSamePlace(-1, True)
Sequence.SetToRepeat(53@, True)
Sequence.Close(53@)
Char.PerformSequence(54@, 53@)

:HEIST9_23669
if and
  58@ == 1
  not Char.IsDead(55@)
goto_if_false @HEIST9_23831
53@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2144.202, 1618.696, 992.6882)
Path.ExtendRoute(2145.696, 1626.496, 992.5681)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.TurnCharToFaceCoord(-1, 2144.231, 1629.507, 992.5703)
Task.StayInSamePlace(-1, True)
Task.PlayAnim(-1, "BOM_PLANT_LOOP", "BOMBER", 1.0, True, False, False, False, -1)
Sequence.SetToRepeat(53@, True)
Sequence.Close(53@)
Char.PerformSequence(55@, 53@)

:HEIST9_23831
if and
  58@ == 2
  not Char.IsDead(56@)
goto_if_false @HEIST9_23943
53@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2144.202, 1618.696, 992.6882)
Path.ExtendRoute(2147.744, 1620.447, 992.6882)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.StayInSamePlace(-1, True)
Task.TurnCharToFaceCoord(-1, 2144.231, 1629.507, 992.5703)
Sequence.Close(53@)
Char.PerformSequence(56@, 53@)

:HEIST9_23943
if and
  58@ == 3
  not Char.IsDead(57@)
goto_if_false @HEIST9_24055
53@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2144.202, 1618.696, 992.6882)
Path.ExtendRoute(2136.254, 1621.628, 992.6882)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.StayInSamePlace(-1, True)
Task.TurnCharToFaceCoord(-1, 2144.231, 1629.507, 992.5703)
Sequence.Close(53@)
Char.PerformSequence(57@, 53@)

:HEIST9_24055
Sequence.Clear(53@)
Char.SetOnlyDamagedByPlayer(54@(58@,4i), False)
Blip.ChangeDisplay(91@(58@,4i), BlipDisplay.Neither)
239@(58@,4i) = 1
if 
  251@ == 0
goto_if_false @HEIST9_24118
105@ = 0

:HEIST9_24118
251@ += 1

:HEIST9_24125
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_23418

:HEIST9_24146
if and
  38@ == 13
  TIMERA > 5000
goto_if_false @HEIST9_31401
if 
  119@ == 0
goto_if_false @HEIST9_24617
if and
  231@ == 2
  105@ == 0
goto_if_false @HEIST9_24251
set_lvar_text_label 288@s = 'HE8_OA'
set_lvar_int_to_constant 232@ = 19064
gosub @HEIST9_50648
105@ = 1

:HEIST9_24251
if and
  231@ == 2
  105@ == 1
goto_if_false @HEIST9_24312
set_lvar_text_label 288@s = 'HE8_OB'
set_lvar_int_to_constant 232@ = 19065
gosub @HEIST9_50648
105@ = 2

:HEIST9_24312
if and
  231@ == 2
  105@ == 2
goto_if_false @HEIST9_24373
set_lvar_text_label 288@s = 'HE8_OC'
set_lvar_int_to_constant 232@ = 19066
gosub @HEIST9_50648
105@ = 3

:HEIST9_24373
if and
  231@ == 2
  105@ == 3
goto_if_false @HEIST9_24434
set_lvar_text_label 288@s = 'HE8_OD'
set_lvar_int_to_constant 232@ = 19067
gosub @HEIST9_50648
105@ = 4

:HEIST9_24434
if and
  231@ == 2
  105@ == 4
goto_if_false @HEIST9_24495
set_lvar_text_label 288@s = 'HE8_OE'
set_lvar_int_to_constant 232@ = 19068
gosub @HEIST9_50648
105@ = 5

:HEIST9_24495
if and
  231@ == 2
  105@ == 5
goto_if_false @HEIST9_24556
set_lvar_text_label 288@s = 'HE8_OF'
set_lvar_int_to_constant 232@ = 19069
gosub @HEIST9_50648
105@ = 8

:HEIST9_24556
if and
  231@ == 2
  105@ == 8
goto_if_false @HEIST9_24617
set_lvar_text_label 288@s = 'HE8_OJ'
set_lvar_int_to_constant 232@ = 19072
gosub @HEIST9_50648
105@ = 9

:HEIST9_24617
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_24643
175@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Satchel)

:HEIST9_24643
if 
  not World.IsAnyPickupAtCoords(2146.487, 1622.805, 993.0)
goto_if_false @HEIST9_24739
if and
  0 >= 175@
  119@ == 0
goto_if_false @HEIST9_24739
if 
  not Pickup.DoesExist(214@)
goto_if_false @HEIST9_24739
214@ = Pickup.CreateWithAmmo(363, PickupType.Once, 5, 2146.487, 1622.805, 993.0)

:HEIST9_24739
if or
  World.IsExplosionInArea(ExplosionType.Grenade, 2150.966, 1618.857, 999.9688, 2142.472, 1608.066, 1003.0)
  World.IsExplosionInArea(ExplosionType.Molotov, 2150.966, 1618.857, 999.9688, 2142.472, 1608.066, 1003.0)
  World.IsExplosionInArea(ExplosionType.WeakRocket, 2150.966, 1618.857, 999.9688, 2142.472, 1608.066, 1003.0)
  World.IsExplosionInArea(ExplosionType.Rocket, 2150.966, 1618.857, 999.9688, 2142.472, 1608.066, 1003.0)
goto_if_false @HEIST9_25621
if 
  119@ == 0
goto_if_false @HEIST9_25621
312@ = Object.CreateNoOffset(#WAREHOUSE_DOOR2B, 2195.769, 1585.199, 1002.0)
Object.SetAreaVisible(312@, 1)
Object.SetHeading(312@, 180.0)
Object.SetCollisionDamageEffect(312@, False)
gosub @HEIST9_46289
Object.SetCollisionDamageEffect(60@, True)
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2146.146, 1613.818, 999.968, 7.0, 7.0, 2.0, False)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_25023
Task.Die($stattreadstamina_ctr)

:HEIST9_25023
if 
  Blip.DoesExist(228@)
goto_if_false @HEIST9_25044
Blip.Remove(228@)

:HEIST9_25044
if 
  Blip.DoesExist(229@)
goto_if_false @HEIST9_25065
Blip.Remove(229@)

:HEIST9_25065
Camera.SetFixedPosition(2141.361, 1619.829, 1000.669, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2141.925, 1619.005, 1000.723, SwitchType.JumpCut)
gosub @HEIST9_43886
Object.Delete(171@)
Object.Delete(172@)
Streaming.MarkModelAsNoLongerNeeded(#GENERATOR_BIG)
171@ = Object.Create(#GENERATOR_BIG_D, 2145.05, 1613.49, 999.9764)
Object.SetHeading(171@, 1.2043)
172@ = Object.Create(#GENERATOR_BIG_D, 2148.8, 1613.49, 999.9764)
Object.SetHeading(172@, 354.0372)
368@ = 0

:HEIST9_25211
Fx.AddExplosion(2143.107, 1611.332, 1000.5, ExplosionType.Small)
201@ = Particle.Create("EXPLOSION_SMALL", 2143.107, 1611.332, 1000.5, 1)
Particle.Play(201@)
wait 150
Fx.AddExplosion(2149.51, 1614.586, 1000.5, ExplosionType.Small)
202@ = Particle.Create("EXPLOSION_SMALL", 2149.51, 1614.586, 1000.5, 1)
Particle.Play(202@)
wait 10
58@ = 0

:HEIST9_25353
Particle.Stop(201@(58@,6i))
Particle.Kill(201@(58@,6i))
58@ += 1
  58@ >= 6
goto_if_false @HEIST9_25353
368@ += 1
  368@ >= 3
goto_if_false @HEIST9_25211
wait 2000
58@ = 0

:HEIST9_25425
Blip.ChangeDisplay(91@(58@,4i), BlipDisplay.Both)
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_25486
Task.StayInSamePlace(54@(58@,4i), False)
Char.SetProofs(54@(58@,4i), False, False, False, True, False)

:HEIST9_25486
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_25425
105@ = 6
gosub @HEIST9_46306
gosub @HEIST9_43955
TIMERA = 0
119@ = 1
Text.ClearHelp
58@ = 0

:HEIST9_25551
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_25551
if 
  World.IsAnyPickupAtCoords(2146.487, 1622.805, 993.0)
goto_if_false @HEIST9_25605
Pickup.Remove(214@)

:HEIST9_25605
Text.PrintNow('HM9_40', 5000, 1)

:HEIST9_25621
if 
  119@ == 1
goto_if_false @HEIST9_25700
if and
  231@ == 2
  105@ == 0
goto_if_false @HEIST9_25700
set_lvar_text_label 288@s = 'HE8_OK'
set_lvar_int_to_constant 232@ = 19073
gosub @HEIST9_50648
105@ = 10

:HEIST9_25700
if and
  121@ == 0
  119@ == 1
goto_if_false @HEIST9_27722
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2143.975, 1624.443, 992.5681, 20.0, 20.0, 2.0, False)
goto_if_false @HEIST9_27722
105@ = 10
121@ = 1
58@ = 0

:HEIST9_25794
Blip.ChangeDisplay(91@(58@,4i), BlipDisplay.Neither)
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_25794
gosub @HEIST9_46289
if 
  not Char.IsDead(56@)
goto_if_false @HEIST9_25879
Char.SetCoordinatesDontWarpGang(56@, 2147.744, 1620.447, 992.6882)
Char.SetHeading(56@, 346.8824)

:HEIST9_25879
if 
  not Char.IsDead(57@)
goto_if_false @HEIST9_25925
Char.SetCoordinatesDontWarpGang(57@, 2136.254, 1621.628, 992.6882)
Char.SetHeading(57@, 358.8987)

:HEIST9_25925
Camera.SetFixedPosition(2140.489, 1617.689, 993.7817, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2140.831, 1618.629, 993.7844, SwitchType.JumpCut)
wait 1000
Text.PrintNow('HE8_QA', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19083)

:HEIST9_26008
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_26034
wait 0
goto @HEIST9_26008

:HEIST9_26034
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_26045
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_26088
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_26081

:HEIST9_26081
goto @HEIST9_26045

:HEIST9_26088
Text.PrintNow('HE8_QC', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19085)

:HEIST9_26115
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_26141
wait 0
goto @HEIST9_26115

:HEIST9_26141
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead(54@)
goto_if_false @HEIST9_26211
Task.Pause(54@, 1000)
Char.ClearTasksImmediately(54@)
Path.FlushRoute
Path.ExtendRoute(2135.497, 1625.518, 992.5681)
Task.ToggleDuck(54@, True)
Task.FollowPointRoute(54@, 6, RouteMode.Once)
Path.FlushRoute

:HEIST9_26211
if 
  not Char.IsDead(55@)
goto_if_false @HEIST9_26269
Char.ClearTasksImmediately(55@)
Path.FlushRoute
Path.ExtendRoute(2152.954, 1625.076, 992.5681)
Task.ToggleDuck(55@, True)
Task.FollowPointRoute(55@, 6, RouteMode.Once)
Path.FlushRoute

:HEIST9_26269
TIMERB = 0

:HEIST9_26276
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_26319
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_26312

:HEIST9_26312
goto @HEIST9_26276

:HEIST9_26319
Text.PrintNow('HE8_QB', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19084)

:HEIST9_26346
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_26372
wait 0
goto @HEIST9_26346

:HEIST9_26372
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_26383
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_26426
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_26419

:HEIST9_26419
goto @HEIST9_26383

:HEIST9_26426
58@ = 0

:HEIST9_26433
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_26473
Char.ClearTasksImmediately(54@(58@,4i))
Task.ToggleDuck(54@(58@,4i), True)

:HEIST9_26473
Blip.ChangeDisplay(91@(58@,4i), BlipDisplay.Both)
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_26433
Fx.AddExplosion(2144.533, 1626.747, 992.707, ExplosionType.Small)
369@ = Particle.Create("EXPLOSION_SMALL", 2144.533, 1626.747, 992.707, 1)
Particle.PlayAndKill(369@)
Fx.AddExplosion(2144.533, 1626.747, 994.0, ExplosionType.Small)
wait 500
370@ = Particle.Create("EXPLOSION_SMALL", 2144.533, 1626.747, 994.0, 1)
Particle.PlayAndKill(370@)
Fx.AddExplosion(2144.533, 1626.747, 996.0, ExplosionType.Small)
Object.Delete(60@)
wait 500
371@ = Particle.Create("EXPLOSION_SMALL", 2144.533, 1626.747, 996.0, 1)
Particle.PlayAndKill(371@)
Text.PrintNow('HE8_RA', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19086)

:HEIST9_26736
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_26762
wait 0
goto @HEIST9_26736

:HEIST9_26762
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_26773
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_26816
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_26809

:HEIST9_26809
goto @HEIST9_26773

:HEIST9_26816
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_26862
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2144.266, 1610.649, 992.5681)
Char.SetHeading($stattreadstamina_ctr, 359.3881)

:HEIST9_26862
gosub @HEIST9_46306
Text.PrintNow('HM9_58', 7000, 1)
61@ = Object.Create(#CJ_MONEY_BAG, 2146.27, 1636.314, 992.5683)
Object.SetAreaVisible(61@, 1)
Object.SetHeading(61@, 268.4277)
Object.SetCollision(61@, False)
62@ = Object.Create(#CJ_MONEY_BAG, 2146.137, 1632.404, 992.5683)
Object.SetAreaVisible(62@, 1)
Object.SetHeading(62@, 89.5044)
Object.SetCollision(62@, False)
63@ = Object.Create(#CJ_MONEY_BAG, 2142.148, 1632.426, 992.5683)
Object.SetAreaVisible(63@, 1)
Object.SetHeading(63@, 97.3067)
Object.SetCollision(63@, False)
64@ = Object.Create(#CJ_MONEY_BAG, 2142.07, 1636.137, 992.5683)
Object.SetAreaVisible(64@, 1)
Object.SetHeading(64@, 51.5319)
Object.SetCollision(64@, False)
if and
  not Char.IsDead(54@)
  not Char.IsDead(55@)
  not Char.IsDead(56@)
  not Char.IsDead(57@)
goto_if_false @HEIST9_27722
373@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.Pause(-1, 500)
Sequence.SetToRepeat(373@, True)
Sequence.Close(373@)
53@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.Pause(-1, 3000)
Task.FollowPathNodesToCoord(-1, 2146.27, 1636.314, 992.5683, 6, -1)
Task.PickUpObject(-1, 61@, 0.0, 0.0, -0.5, 6, 1, "NULL", "NULL", 0)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 373@)
Sequence.Close(53@)
Char.ClearTasksImmediately(54@)
Task.ToggleDuck(54@, False)
Char.PerformSequence(54@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.Pause(-1, 100)
Task.ToggleDuck(-1, True)
Task.FollowPathNodesToCoord(-1, 2146.137, 1632.404, 992.5683, 6, -1)
Task.PickUpObject(-1, 62@, 0.0, 0.0, -0.5, 6, 1, "NULL", "NULL", 0)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 373@)
Sequence.Close(53@)
Char.ClearTasksImmediately(55@)
Task.ToggleDuck(55@, False)
Char.PerformSequence(55@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.Pause(-1, 200)
Task.ToggleDuck(-1, True)
Task.Pause(-1, 2000)
Task.FollowPathNodesToCoord(-1, 2142.148, 1632.426, 992.5683, 6, -1)
Task.PickUpObject(-1, 63@, 0.0, 0.0, -0.5, 6, 1, "NULL", "NULL", 0)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 373@)
Sequence.Close(53@)
Char.ClearTasksImmediately(56@)
Task.ToggleDuck(56@, False)
Char.PerformSequence(56@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.Pause(-1, 100)
Task.ToggleDuck(-1, True)
Task.Pause(-1, 3000)
Task.FollowPathNodesToCoord(-1, 2142.07, 1636.137, 992.5683, 6, -1)
Task.PickUpObject(-1, 64@, 0.0, 0.0, -0.5, 6, 1, "NULL", "NULL", 0)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, True)
Char.PerformSequence(-1, 373@)
Sequence.Close(53@)
Char.ClearTasksImmediately(57@)
Task.ToggleDuck(57@, False)
Char.PerformSequence(57@, 53@)
Streaming.RemoveAnimation("BOMBER")
372@ = Blip.AddForCoord(2144.152, 1636.462, 992.5703)
Blip.SetEntryExit(372@, 2196.635, 1676.841, 10.0)
Sequence.Clear(373@)
Sequence.Clear(53@)

:HEIST9_27722
if 
  121@ == 1
goto_if_false @HEIST9_27915
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2144.152, 1636.462, 992.5703, 10.0, 10.0, 2.0, False)
  Blip.DoesExist(372@)
goto_if_false @HEIST9_27915
if 
  Blip.DoesExist(372@)
goto_if_false @HEIST9_27814
Blip.Remove(372@)

:HEIST9_27814
140@ = 1
121@ = 2
TIMERB = 0
58@ = 0

:HEIST9_27842
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_27894
142@(58@,5i) = Char.GetHealth(54@(58@,4i))
set_lvar_int_to_lvar_int 148@(58@,5i) = 142@(58@,5i)

:HEIST9_27894
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_27842

:HEIST9_27915
if and
  231@ == 2
  140@ == 1
goto_if_false @HEIST9_27976
set_lvar_text_label 288@s = 'HE8_RB'
set_lvar_int_to_constant 232@ = 19087
gosub @HEIST9_50648
140@ = 2

:HEIST9_27976
if and
  231@ == 2
  140@ == 2
goto_if_false @HEIST9_28044
set_lvar_text_label 288@s = 'HE8_RC'
set_lvar_int_to_constant 232@ = 19088
gosub @HEIST9_50648
TIMERA = 0
140@ = 3

:HEIST9_28044
if and
  231@ == 2
  140@ == 3
  TIMERA > 3000
goto_if_false @HEIST9_29538
gosub @HEIST9_46325
gosub @HEIST9_46289
131@ = 4
58@ = 0

:HEIST9_28105
if 
  not Char.IsDead(335@(58@,15i))
goto_if_false @HEIST9_28134
Char.Delete(335@(58@,15i))

:HEIST9_28134
58@ += 1
  58@ >= 11
goto_if_false @HEIST9_28105
58@ = 0

:HEIST9_28162
Char.Delete(109@(58@,5i))
58@ += 1
  58@ >= 3
goto_if_false @HEIST9_28162
Char.Delete(295@)
Char.Delete(296@)
Streaming.MarkModelAsNoLongerNeeded(163)
Streaming.MarkModelAsNoLongerNeeded(164)
Streaming.RequestModel(124)
Streaming.RequestModel(125)

:HEIST9_28220
if or
  not Streaming.HasModelLoaded(124)
  not Streaming.HasModelLoaded(125)
goto_if_false @HEIST9_28250
wait 0
goto @HEIST9_28220

:HEIST9_28250
335@ = Char.Create(PedType.Mission1, 124, 2150.831, 1611.033, 992.6882)
Char.SetAreaVisible(335@, 1)
Char.SetHeading(335@, 353.2278)
Char.SetOnlyDamagedByPlayer(335@, True)
336@ = Char.Create(PedType.Mission1, 124, 2135.702, 1611.064, 992.6882)
Char.SetAreaVisible(336@, 1)
Char.SetHeading(336@, 354.2745)
374@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2144.14, 1610.015, 992.6882)
Path.ExtendRoute(2146.085, 1611.896, 992.6882)
Task.ToggleDuck(-1, True)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Task.AchieveHeading(-1, 6.3138)
Task.StandStill(-1, 1)
Path.FlushRoute
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_28434
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)

:HEIST9_28434
Sequence.Close(374@)
337@ = Char.Create(PedType.Mission1, 125, 2144.029, 1605.352, 992.5684)
Char.SetAreaVisible(337@, 1)
Char.SetHeading(337@, 356.695)
Char.PerformSequence(337@, 374@)
Sequence.Clear(374@)
374@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2144.14, 1610.015, 992.6882)
Path.ExtendRoute(2139.815, 1615.471, 992.6882)
Task.ToggleDuck(-1, True)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Task.ToggleDuck(-1, False)
Task.AchieveHeading(-1, 335.8946)
Task.StandStill(-1, 1)
Path.FlushRoute
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_28594
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)

:HEIST9_28594
Sequence.Close(374@)
338@ = Char.Create(PedType.Mission1, 124, 2144.22, 1601.963, 992.5684)
Char.SetAreaVisible(338@, 1)
Char.SetHeading(338@, 358.3628)
Char.PerformSequence(338@, 374@)
339@ = Char.Create(PedType.Mission1, 125, 2146.605, 1597.785, 994.5676)
Char.SetAreaVisible(339@, 1)
Char.SetHeading(339@, 89.7654)
Char.SetOnlyDamagedByPlayer(339@, True)
Task.StayInSamePlace(339@, True)
Char.SetSenseRange(339@, 5.0)
340@ = Char.Create(PedType.Mission1, 125, 2147.77, 1596.479, 994.5676)
Char.SetAreaVisible(340@, 1)
Char.SetHeading(340@, 78.7631)
Task.StayInSamePlace(340@, True)
Char.SetSenseRange(340@, 5.0)
341@ = Char.Create(PedType.Mission1, 124, 2148.627, 1602.235, 996.7766)
Char.SetAreaVisible(341@, 1)
Char.SetHeading(341@, 170.4726)
Task.StayInSamePlace(341@, True)
Char.SetSenseRange(341@, 5.0)
342@ = Char.Create(PedType.Mission1, 125, 2148.358, 1603.734, 996.7766)
Char.SetAreaVisible(342@, 1)
Char.SetHeading(342@, 158.879)
Task.StayInSamePlace(342@, True)
Char.SetSenseRange(342@, 5.0)
Sequence.Clear(374@)
58@ = 0

:HEIST9_28899
Char.SetKeepTask(335@(58@,15i), True)
Char.SetMoney(335@(58@,15i), 0)
if and
  58@ <> 0
  58@ <> 4
goto_if_false @HEIST9_28970
Char.SetHealth(335@(58@,15i), 200)
Char.SetMaxHealth(335@(58@,15i), 200)

:HEIST9_28970
if or
  58@ == 3
  58@ == 4
  58@ == 7
goto_if_false @HEIST9_29034
Char.SetWeaponSkill(335@(58@,15i), 2)
Char.GiveWeapon(335@(58@,15i), WeaponType.Pistol, 9999)
goto @HEIST9_29059

:HEIST9_29034
Char.GiveWeapon(335@(58@,15i), WeaponType.Mp5, 9999)
Char.SetCurrentWeapon(335@(58@,15i), WeaponType.Mp5)

:HEIST9_29059
350@(58@,15i) = Blip.AddForChar(335@(58@,15i))
Blip.SetEntryExit(350@(58@,15i), 2196.635, 1676.841, 10.0)
Blip.ChangeDisplay(350@(58@,15i), BlipDisplay.BlipOnly)
Char.SetShootRate(335@(58@,15i), 30)
Char.SetAccuracy(335@(58@,15i), 20)
Char.SetDecisionMaker(335@(58@,15i), 245@)
58@ += 1
  58@ >= 8
goto_if_false @HEIST9_28899
Camera.SetFixedPosition(2142.248, 1611.113, 993.2602, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2142.669, 1610.211, 993.3487, SwitchType.JumpCut)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_29262
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2144.048, 1627.986, 992.5703)
Char.SetHeading($stattreadstamina_ctr, 181.8141)

:HEIST9_29262
gosub @HEIST9_46358
Text.PrintNow('HM9_57', 5000, 1)
wait 2000
Camera.SetFixedPosition(2140.785, 1619.831, 993.4654, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2141.078, 1618.876, 993.4291, SwitchType.JumpCut)
if 
  not Char.IsDead(338@)
goto_if_false @HEIST9_29399
Char.ClearTasks(338@)
Task.ToggleDuck(338@, True)
Char.SetCoordinatesDontWarpGang(338@, 2140.249, 1615.12, 992.6882)
Char.SetHeading(338@, 340.6346)

:HEIST9_29399
wait 3000
if 
  not Char.IsDead(335@)
goto_if_false @HEIST9_29428
Char.PerformSequence(335@, 212@)

:HEIST9_29428
if 
  not Char.IsDead(336@)
goto_if_false @HEIST9_29452
Char.PerformSequence(336@, 213@)

:HEIST9_29452
if 
  Object.DoesExist(308@)
goto_if_false @HEIST9_29488
Object.SetCoordinates(308@, 2173.867, 1619.415, 999.3)

:HEIST9_29488
gosub @HEIST9_46306
set_lvar_text_label 288@s = 'HE8_RD'
set_lvar_int_to_constant 232@ = 19089
gosub @HEIST9_50648
140@ = 4
TIMERA = 0

:HEIST9_29538
if 
  140@ == 4
goto_if_false @HEIST9_30079
if and
  Char.IsDead(335@)
  Char.IsDead(336@)
  Char.IsDead(337@)
  Char.IsDead(338@)
  375@ == 0
goto_if_false @HEIST9_29760
Sequence.Clear(374@)
374@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2143.927, 1597.674, 994.5676)
Path.ExtendRoute(2144.14, 1603.111, 992.5684)
Path.ExtendRoute(2142.907, 1614.151, 992.6882)
Path.ExtendRoute(2143.105, 1621.571, 992.6882)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.ToggleDuck(-1, True)
Sequence.Close(374@)
if 
  not Char.IsDead(339@)
goto_if_false @HEIST9_29724
Char.ClearTasks(339@)
Char.PerformSequence(339@, 374@)

:HEIST9_29724
if 
  not Char.IsDead(340@)
goto_if_false @HEIST9_29753
Char.ClearTasks(340@)
Char.PerformSequence(340@, 374@)

:HEIST9_29753
375@ = 1

:HEIST9_29760
if and
  Char.IsDead(339@)
  Char.IsDead(340@)
  375@ == 1
goto_if_false @HEIST9_29971
Sequence.Clear(374@)
374@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2147.772, 1597.552, 994.5676)
Path.ExtendRoute(2144.127, 1597.792, 994.5676)
Path.ExtendRoute(2144.378, 1603.689, 992.5684)
Path.ExtendRoute(2143.987, 1609.467, 992.6882)
Path.ExtendRoute(2143.722, 1618.05, 992.6882)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.ToggleDuck(-1, True)
Sequence.Close(374@)
if 
  not Char.IsDead(341@)
goto_if_false @HEIST9_29935
Char.ClearTasks(341@)
Char.PerformSequence(341@, 374@)

:HEIST9_29935
if 
  not Char.IsDead(342@)
goto_if_false @HEIST9_29964
Char.ClearTasks(342@)
Char.PerformSequence(342@, 374@)

:HEIST9_29964
375@ = 2

:HEIST9_29971
58@ = 0

:HEIST9_29978
if and
  Char.IsDead(335@(58@,15i))
  350@(58@,15i) <> 0
goto_if_false @HEIST9_30058
if 
  Blip.DoesExist(350@(58@,15i))
goto_if_false @HEIST9_30058
Blip.Remove(350@(58@,15i))
350@(58@,15i) = 0
Char.MarkAsNoLongerNeeded(335@(58@,15i))

:HEIST9_30058
58@ += 1
  58@ >= 8
goto_if_false @HEIST9_29978

:HEIST9_30079
if and
  140@ > 3
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2144.245, 1606.821, 992.6882, 3.0, 3.0, 3.0, False)
  256@ == 0
goto_if_false @HEIST9_30490
Sequence.Clear(374@)
374@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2143.927, 1597.674, 994.5676)
Path.ExtendRoute(2144.14, 1603.111, 992.5684)
Path.ExtendRoute(2142.907, 1614.151, 992.6882)
Path.ExtendRoute(2143.105, 1621.571, 992.6882)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.ToggleDuck(-1, True)
Sequence.Close(374@)
if 
  not Char.IsDead(339@)
goto_if_false @HEIST9_30271
Char.ClearTasks(339@)
Char.PerformSequence(339@, 374@)

:HEIST9_30271
if 
  not Char.IsDead(340@)
goto_if_false @HEIST9_30300
Char.ClearTasks(340@)
Char.PerformSequence(340@, 374@)

:HEIST9_30300
Sequence.Clear(374@)
374@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2147.772, 1597.552, 994.5676)
Path.ExtendRoute(2144.127, 1597.792, 994.5676)
Path.ExtendRoute(2144.378, 1603.689, 992.5684)
Path.ExtendRoute(2143.987, 1609.467, 992.6882)
Path.ExtendRoute(2143.722, 1618.05, 992.6882)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Task.ToggleDuck(-1, True)
Sequence.Close(374@)
if 
  not Char.IsDead(341@)
goto_if_false @HEIST9_30447
Char.ClearTasks(341@)
Char.PerformSequence(341@, 374@)

:HEIST9_30447
if 
  not Char.IsDead(342@)
goto_if_false @HEIST9_30476
Char.ClearTasks(342@)
Char.PerformSequence(342@, 374@)

:HEIST9_30476
375@ = 2
256@ = 1

:HEIST9_30490
if 
  121@ == 2
goto_if_false @HEIST9_30631
58@ = 0

:HEIST9_30515
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_30610
set_lvar_int_to_lvar_int 148@(58@,5i) = 142@(58@,5i)
142@(58@,5i) = Char.GetHealth(54@(58@,4i))
if 
  not is_int_lvar_equal_to_int_lvar 148@(58@,5i) == 142@(58@,5i)
goto_if_false @HEIST9_30610
Text.PrintNow('HM9_44', 4000, 1)

:HEIST9_30610
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_30515

:HEIST9_30631
if 
  121@ == 2
goto_if_false @HEIST9_30681
if and
  140@ == 4
  52@ == 0
goto_if_false @HEIST9_30681
gosub @HEIST9_44024

:HEIST9_30681
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2146.329, 1597.409, 998.7676, 4.0, 4.0, 4.0, False)
  52@ == 1
goto_if_false @HEIST9_31401
58@ = 0

:HEIST9_30743
Char.Delete(335@(58@,15i))
58@ += 1
  58@ >= 8
goto_if_false @HEIST9_30743
335@ = Char.Create(PedType.Mission1, 124, 2152.015, 1602.51, 1000.971)
Char.SetAreaVisible(335@, 1)
Char.SetHeading(335@, 270.0812)
Task.StayInSamePlace(335@, True)
336@ = Char.Create(PedType.Mission1, 125, 2160.985, 1616.689, 998.9657)
Char.SetAreaVisible(336@, 1)
Char.SetHeading(336@, 178.5078)
Char.PerformSequence(336@, 213@)
337@ = Char.Create(PedType.Mission1, 124, 2181.32, 1625.335, 998.9714)
Char.SetAreaVisible(337@, 1)
Char.SetHeading(337@, 117.5403)
Task.StayInSamePlace(337@, True)
Task.ToggleDuck(337@, True)
338@ = Char.Create(PedType.Mission1, 124, 2183.653, 1623.66, 998.9743)
Char.SetAreaVisible(338@, 1)
Char.SetHeading(338@, 98.1814)
Task.StayInSamePlace(338@, True)
339@ = Char.Create(PedType.Mission1, 125, 2182.494, 1611.846, 998.9766)
Char.SetAreaVisible(339@, 1)
Char.SetHeading(339@, 57.0007)
Task.StayInSamePlace(339@, True)
340@ = Char.Create(PedType.Mission1, 125, 2191.278, 1619.051, 998.9766)
Char.SetAreaVisible(340@, 1)
Char.SetHeading(340@, 85.6714)
341@ = Char.Create(PedType.Mission1, 124, 2222.654, 1616.012, 998.9688)
Char.SetAreaVisible(341@, 1)
Char.SetHeading(341@, 97.3112)
Char.PerformSequence(341@, 213@)
342@ = Char.Create(PedType.Mission1, 125, 2210.106, 1620.387, 998.9766)
Char.SetAreaVisible(342@, 1)
Char.SetHeading(342@, 90.3344)
Task.ToggleDuck(342@, True)
Task.StayInSamePlace(342@, True)
343@ = Char.Create(PedType.Mission1, 124, 2224.578, 1619.114, 998.9679)
Char.SetAreaVisible(343@, 1)
Char.SetHeading(343@, 86.7328)
Task.ToggleDuck(343@, True)
Task.StayInSamePlace(343@, True)
58@ = 0

:HEIST9_31228
Char.SetMoney(335@(58@,15i), 0)
350@(58@,15i) = Blip.AddForChar(335@(58@,15i))
Blip.SetEntryExit(350@(58@,15i), 2196.635, 1676.841, 10.0)
Blip.ChangeDisplay(350@(58@,15i), BlipDisplay.BlipOnly)
Char.SetHealth(335@(58@,15i), 200)
Char.SetMaxHealth(335@(58@,15i), 200)
Char.GiveWeapon(335@(58@,15i), WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(335@(58@,15i), WeaponType.Mp5)
Char.SetShootRate(335@(58@,15i), 30)
Char.SetAccuracy(335@(58@,15i), 20)
Char.SetDecisionMaker(335@(58@,15i), 245@)
58@ += 1
  58@ >= 9
goto_if_false @HEIST9_31228
38@ = 15

:HEIST9_31401
if 
  38@ == 15
goto_if_false @HEIST9_35092
58@ = 0

:HEIST9_31426
if and
  Char.IsDead(335@(58@,15i))
  350@(58@,15i) <> 0
goto_if_false @HEIST9_31506
if 
  Blip.DoesExist(350@(58@,15i))
goto_if_false @HEIST9_31506
Blip.Remove(350@(58@,15i))
350@(58@,15i) = 0
Char.MarkAsNoLongerNeeded(335@(58@,15i))

:HEIST9_31506
58@ += 1
  58@ >= 9
goto_if_false @HEIST9_31426
if and
  TIMERB > 7000
  278@ == 1
goto_if_false @HEIST9_31589
set_lvar_text_label 288@s = 'HE8_TA'
set_lvar_int_to_constant 232@ = 19093
gosub @HEIST9_50648
278@ = 2

:HEIST9_31589
if and
  231@ == 2
  278@ == 2
goto_if_false @HEIST9_31650
set_lvar_text_label 288@s = 'HE8_TB'
set_lvar_int_to_constant 232@ = 19094
gosub @HEIST9_50648
278@ = 3

:HEIST9_31650
if and
  231@ == 2
  278@ == 3
goto_if_false @HEIST9_31711
set_lvar_text_label 288@s = 'HE8_TC'
set_lvar_int_to_constant 232@ = 19095
gosub @HEIST9_50648
278@ = 0

:HEIST9_31711
if and
  Char.IsDead(335@)
  257@ == 0
goto_if_false @HEIST9_31844
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2157.629, 1602.604, 998.9766, 6, -1)
Sequence.Close(53@)
58@ = 0

:HEIST9_31779
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_31811
Char.PerformSequence(54@(58@,4i), 53@)

:HEIST9_31811
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_31779
Sequence.Clear(53@)
257@ = 1

:HEIST9_31844
if and
  Char.IsDead(336@)
  257@ == 1
goto_if_false @HEIST9_31972
53@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2165.423, 1618.386, 998.9747, 6, -1)
Sequence.Close(53@)
58@ = 0

:HEIST9_31907
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_31939
Char.PerformSequence(54@(58@,4i), 53@)

:HEIST9_31939
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_31907
Sequence.Clear(53@)
257@ = 2

:HEIST9_31972
if and
  Char.IsDead(337@)
  Char.IsDead(338@)
  Char.IsDead(339@)
  Char.IsDead(340@)
  257@ == 2
goto_if_false @HEIST9_32388
53@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2169.045, 1618.73, 998.9766)
Path.ExtendRoute(2171.097, 1618.622, 998.9766)
Path.ExtendRoute(2172.748, 1621.935, 998.9772)
Path.ExtendRoute(2179.594, 1623.489, 998.9745)
Path.ExtendRoute(2184.2, 1623.908, 998.9739)
Path.ExtendRoute(2187.764, 1622.788, 998.9758)
Path.ExtendRoute(2190.13, 1618.664, 998.9766)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Sequence.Close(53@)
if 
  not Char.IsDead(54@)
goto_if_false @HEIST9_32175
Char.PerformSequence(54@, 53@)

:HEIST9_32175
if 
  not Char.IsDead(55@)
goto_if_false @HEIST9_32199
Char.PerformSequence(55@, 53@)

:HEIST9_32199
Sequence.Clear(53@)
53@ = Sequence.Open()
Path.FlushRoute
Path.ExtendRoute(2169.019, 1618.764, 998.9766)
Path.ExtendRoute(2171.71, 1618.252, 998.9766)
Path.ExtendRoute(2174.539, 1615.005, 998.9766)
Path.ExtendRoute(2180.379, 1614.246, 998.9766)
Path.ExtendRoute(2185.445, 1614.739, 998.9766)
Path.ExtendRoute(2190.13, 1618.664, 998.9766)
Task.FollowPointRoute(-1, 6, RouteMode.Once)
Path.FlushRoute
Sequence.Close(53@)
if 
  not Char.IsDead(56@)
goto_if_false @HEIST9_32352
Char.PerformSequence(56@, 53@)

:HEIST9_32352
if 
  not Char.IsDead(57@)
goto_if_false @HEIST9_32376
Char.PerformSequence(57@, 53@)

:HEIST9_32376
Sequence.Clear(53@)
257@ = 3

:HEIST9_32388
if 
  257@ == 3
goto_if_false @HEIST9_32698
Streaming.RequestModel(523)
Streaming.RequestModel(284)
Streaming.LoadSpecialCharacter(1, 'ZERO')

:HEIST9_32429
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(523)
  not Streaming.HasModelLoaded(284)
goto_if_false @HEIST9_32465
wait 0
goto @HEIST9_32429

:HEIST9_32465
Streaming.RequestCarRecording(494)
Streaming.LoadSpecialCharacter(1, 'ZERO')

:HEIST9_32483
if 
  not Streaming.HasCarRecordingBeenLoaded(494)
goto_if_false @HEIST9_32510
wait 0
goto @HEIST9_32483

:HEIST9_32510
World.ClearArea(2220.34, 1582.068, 998.9764, 10.0, True)
97@ = Char.Create(PedType.Mission2, 290, 2220.34, 1582.068, 998.9764)
Char.SetAreaVisible(97@, 1)
Char.SetHeading(97@, 350.4443)
Char.SetNeverTargeted(97@, True)
279@ = Car.Create(523, 2223.699, 1582.78, 998.0)
Car.SetAreaVisible(279@, 1)
Car.SetHeading(279@, 175.8434)
Car.LockDoors(279@, CarLock.LockoutPlayerOnly)
Car.FreezePosition(279@, True)
280@ = Car.Create(523, 2217.549, 1583.667, 998.0)
Car.SetAreaVisible(280@, 1)
Car.SetHeading(280@, 175.3717)
Car.LockDoors(280@, CarLock.LockoutPlayerOnly)
Car.FreezePosition(280@, True)
257@ = 4

:HEIST9_32698
if and
  Char.IsDead(341@)
  Char.IsDead(342@)
  Char.IsDead(343@)
  257@ == 4
goto_if_false @HEIST9_32859
53@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2222.995, 1618.726, 998.9672, 6, -1)
Task.FollowPathNodesToCoord(-1, 2220.908, 1585.695, 998.9708, 6, -1)
Sequence.Close(53@)
58@ = 0

:HEIST9_32794
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_32826
Char.PerformSequence(54@(58@,4i), 53@)

:HEIST9_32826
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_32794
Sequence.Clear(53@)
257@ = 5

:HEIST9_32859
if 
  257@ >= 4
goto_if_false @HEIST9_33015
if 
  Char.IsDead(97@)
goto_if_false @HEIST9_32923
gosub @HEIST9_50388
Text.PrintNow('HM9_63', 4000, 1)
goto @HEIST9_44468

:HEIST9_32923
if 
  Car.IsDead(279@)
goto_if_false @HEIST9_32969
gosub @HEIST9_50388
Text.PrintNow('HM9_60', 4000, 1)
goto @HEIST9_44468

:HEIST9_32969
if 
  Car.IsDead(280@)
goto_if_false @HEIST9_33015
gosub @HEIST9_50388
Text.PrintNow('HM9_60', 4000, 1)
goto @HEIST9_44468

:HEIST9_33015
58@ = 0

:HEIST9_33022
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_33117
set_lvar_int_to_lvar_int 148@(58@,5i) = 142@(58@,5i)
142@(58@,5i) = Char.GetHealth(54@(58@,4i))
if 
  not is_int_lvar_equal_to_int_lvar 148@(58@,5i) == 142@(58@,5i)
goto_if_false @HEIST9_33117
Text.PrintNow('HM9_44', 5000, 1)

:HEIST9_33117
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_33022
58@ = 0

:HEIST9_33145
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_33246
if and
  Char.LocateAnyMeans3D(54@(58@,4i), 2220.205, 1585.422, 998.9717, 5.0, 5.0, 5.0, False)
  78@(58@,4i) == 0
goto_if_false @HEIST9_33246
82@ += 1
78@(58@,4i) = 1

:HEIST9_33246
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_33145
if 
  257@ <> 5
goto_if_false @HEIST9_33349
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2220.205, 1585.422, 998.9717, 10.0, 10.0, 10.0, False)
goto_if_false @HEIST9_33349
Text.PrintNow('HM9_1F', 4000, 1)

:HEIST9_33349
if and
  257@ == 5
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2220.205, 1585.422, 998.9717, 10.0, 10.0, 10.0, False)
goto_if_false @HEIST9_35092
Text.ClearPrints
gosub @HEIST9_46325
if 
  Blip.DoesExist(90@)
goto_if_false @HEIST9_33434
Blip.Remove(90@)

:HEIST9_33434
if 
  not Char.IsDead(54@)
goto_if_false @HEIST9_33485
Char.ClearTasksImmediately(54@)
Char.SetCoordinatesDontWarpGang(54@, 2224.042, 1589.367, 998.967)
Char.SetHeading(54@, 165.2519)

:HEIST9_33485
if 
  not Char.IsDead(55@)
goto_if_false @HEIST9_33536
Char.ClearTasksImmediately(55@)
Char.SetCoordinatesDontWarpGang(55@, 2222.893, 1589.583, 998.9684)
Char.SetHeading(55@, 173.9364)

:HEIST9_33536
if 
  not Char.IsDead(56@)
goto_if_false @HEIST9_33587
Char.ClearTasksImmediately(56@)
Char.SetCoordinatesDontWarpGang(56@, 2221.866, 1589.245, 998.9696)
Char.SetHeading(56@, 177.0563)

:HEIST9_33587
if 
  not Char.IsDead(57@)
goto_if_false @HEIST9_33638
Char.ClearTasksImmediately(57@)
Char.SetCoordinatesDontWarpGang(57@, 2220.723, 1589.224, 998.971)
Char.SetHeading(57@, 171.7417)

:HEIST9_33638
if 
  not Char.IsDead(97@)
goto_if_false @HEIST9_33684
Char.SetCoordinatesDontWarpGang(97@, 2220.34, 1582.068, 998.9764)
Char.SetHeading(97@, 350.4443)

:HEIST9_33684
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_33773
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HEIST9_33743
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2225.541, 1586.834, 998.9651)
goto @HEIST9_33763

:HEIST9_33743
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2225.541, 1586.834, 998.9651)

:HEIST9_33763
Char.SetHeading($stattreadstamina_ctr, 124.4066)

:HEIST9_33773
if 
  not Car.IsDead(279@)
goto_if_false @HEIST9_33796
Car.FreezePosition(279@, False)

:HEIST9_33796
if 
  not Car.IsDead(280@)
goto_if_false @HEIST9_33819
Car.FreezePosition(280@, False)

:HEIST9_33819
Hud.ClearTimer($h9_calculus)
gosub @HEIST9_46289
Camera.SetFixedPosition(2216.721, 1579.81, 1000.833, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2217.382, 1580.538, 1000.654, SwitchType.JumpCut)
gosub @HEIST9_46358
if 
  not Char.IsDead(97@)
goto_if_false @HEIST9_33946
Char.ClearTasks(97@)
Task.PlayAnim(97@, "IDLE_CHAT", "PED", 1.0, True, False, False, False, -1)

:HEIST9_33946
Text.PrintNow('HE8_UA', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19104)

:HEIST9_33973
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_33999
wait 0
goto @HEIST9_33973

:HEIST9_33999
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_34010
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_34060
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_34053
goto @HEIST9_34841

:HEIST9_34053
goto @HEIST9_34010

:HEIST9_34060
Text.PrintNow('HE8_UB', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19105)

:HEIST9_34087
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_34113
wait 0
goto @HEIST9_34087

:HEIST9_34113
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_34124
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_34174
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_34167
goto @HEIST9_34841

:HEIST9_34167
goto @HEIST9_34124

:HEIST9_34174
Char.Delete(97@)
Char.Delete(56@)
Char.Delete(57@)
Camera.SetFixedPosition(2216.914, 1571.622, 999.7229, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2217.27, 1572.557, 999.7267, SwitchType.JumpCut)
281@ = Char.Create(PedType.Mission2, 284, 2220.8, 1581.163, 998.9764)
Char.SetHeading(281@, 196.0524)
Char.SetAreaVisible(281@, 1)
282@ = Char.Create(PedType.Mission2, 284, 2220.019, 1581.179, 998.9772)
Char.SetHeading(282@, 74.4668)
Char.SetAreaVisible(282@, 1)
if and
  not Car.IsDead(51@)
  not Char.IsDead(54@)
goto_if_false @HEIST9_34356
Task.EnterCarAsDriver(54@, 51@, 8000)

:HEIST9_34356
if and
  not Car.IsDead(51@)
  not Char.IsDead(55@)
goto_if_false @HEIST9_34390
Task.EnterCarAsPassenger(55@, 51@, 8000, 0)

:HEIST9_34390
if and
  not Car.IsDead(279@)
  not Char.IsDead(281@)
goto_if_false @HEIST9_34422
Task.EnterCarAsDriver(281@, 279@, 8000)

:HEIST9_34422
if and
  not Car.IsDead(280@)
  not Char.IsDead(282@)
goto_if_false @HEIST9_34454
Task.EnterCarAsDriver(282@, 280@, 8000)

:HEIST9_34454
TIMERB = 0

:HEIST9_34461
if 
  8000 > TIMERB
goto_if_false @HEIST9_34515
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_34508
goto @HEIST9_34841

:HEIST9_34508
goto @HEIST9_34461

:HEIST9_34515
Camera.SetFixedPosition(2223.85, 1572.014, 1001.623, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2223.371, 1572.844, 1001.336, SwitchType.JumpCut)
if and
  Streaming.HasCarRecordingBeenLoaded(494)
  not Car.IsDead(51@)
goto_if_false @HEIST9_34595
Car.StartPlayback(51@, 494)

:HEIST9_34595
TIMERB = 0

:HEIST9_34602
if 
  500 > TIMERB
goto_if_false @HEIST9_34656
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_34649
goto @HEIST9_34841

:HEIST9_34649
goto @HEIST9_34602

:HEIST9_34656
if and
  not Car.IsDead(279@)
  not Char.IsDead(281@)
goto_if_false @HEIST9_34718
Car.SwitchSiren(279@, True)
Task.CarDriveToCoord(281@, 279@, 2223.455, 1564.892, 1000.873, 10.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:HEIST9_34718
if and
  not Car.IsDead(280@)
  not Char.IsDead(282@)
goto_if_false @HEIST9_34780
Car.SwitchSiren(280@, True)
Task.CarDriveToCoord(282@, 280@, 2217.319, 1566.6, 1000.3, 10.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:HEIST9_34780
TIMERB = 0

:HEIST9_34787
if 
  2000 > TIMERB
goto_if_false @HEIST9_34841
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_34834
goto @HEIST9_34841

:HEIST9_34834
goto @HEIST9_34787

:HEIST9_34841
58@ = 0

:HEIST9_34848
if 
  Blip.DoesExist(91@(58@,4i))
goto_if_false @HEIST9_34886
Blip.Remove(91@(58@,4i))
Char.Delete(54@(58@,4i))

:HEIST9_34886
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_34848
gosub @HEIST9_46306
if 
  not Char.IsDead(97@)
goto_if_false @HEIST9_34935
Char.Delete(97@)

:HEIST9_34935
if 
  not Char.IsDead(281@)
goto_if_false @HEIST9_34956
Char.Delete(281@)

:HEIST9_34956
if 
  not Char.IsDead(282@)
goto_if_false @HEIST9_34977
Char.Delete(282@)

:HEIST9_34977
if 
  not Car.IsDead(279@)
goto_if_false @HEIST9_34998
Car.Delete(279@)

:HEIST9_34998
if 
  not Car.IsDead(280@)
goto_if_false @HEIST9_35019
Car.Delete(280@)

:HEIST9_35019
if 
  not Car.IsDead(51@)
goto_if_false @HEIST9_35040
Car.Delete(51@)

:HEIST9_35040
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(284)
Streaming.MarkModelAsNoLongerNeeded(523)
Streaming.MarkModelAsNoLongerNeeded(428)
Streaming.UnloadSpecialCharacter(3)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(1)
174@ = 1
38@ = 16
TIMERA = 0

:HEIST9_35092
if 
  38@ == 16
goto_if_false @HEIST9_35852
58@ = 0

:HEIST9_35117
Char.Delete(335@(58@,15i))
58@ += 1
  58@ >= 9
goto_if_false @HEIST9_35117
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.RequestModel(126)
Streaming.RequestModel(127)

:HEIST9_35163
if or
  not Streaming.HasModelLoaded(126)
  not Streaming.HasModelLoaded(127)
goto_if_false @HEIST9_35193
wait 0
goto @HEIST9_35163

:HEIST9_35193
335@ = Char.Create(PedType.Mission1, 127, 2221.34, 1616.971, 998.9719)
Char.SetAreaVisible(335@, 1)
Char.SetHeading(335@, 173.3951)
Task.StayInSamePlace(335@, True)
Char.PerformSequence(335@, 212@)
336@ = Char.Create(PedType.Mission1, 126, 2204.911, 1615.991, 998.982)
Char.SetAreaVisible(336@, 1)
Char.SetHeading(336@, 266.9222)
Task.StayInSamePlace(336@, True)
337@ = Char.Create(PedType.Mission1, 127, 2196.664, 1618.759, 998.9766)
Char.SetAreaVisible(337@, 1)
Char.SetHeading(337@, 266.9185)
338@ = Char.Create(PedType.Mission1, 126, 2172.996, 1616.329, 998.9766)
Char.SetAreaVisible(338@, 1)
Char.SetHeading(338@, 263.6073)
339@ = Char.Create(PedType.Mission1, 127, 2173.003, 1622.626, 998.9761)
Char.SetAreaVisible(339@, 1)
Char.SetHeading(339@, 261.2549)
340@ = Char.Create(PedType.Mission1, 126, 2179.727, 1611.811, 998.9766)
Char.SetAreaVisible(340@, 1)
Char.SetHeading(340@, 263.1769)
Task.ToggleDuck(340@, True)
Task.StayInSamePlace(340@, True)
341@ = Char.Create(PedType.Mission1, 126, 2181.543, 1622.657, 998.976)
Char.SetAreaVisible(341@, 1)
Char.SetHeading(341@, 263.6053)
Task.ToggleDuck(341@, True)
Task.StayInSamePlace(341@, True)
342@ = Char.Create(PedType.Mission1, 126, 2151.578, 1602.322, 1000.971)
Char.SetAreaVisible(342@, 1)
Char.SetHeading(342@, 264.2166)
Task.StayInSamePlace(342@, True)
58@ = 0

:HEIST9_35585
350@(58@,15i) = 1
Char.SetMoney(335@(58@,15i), 0)
Char.SetHealth(335@(58@,15i), 200)
Char.SetMaxHealth(335@(58@,15i), 200)
if or
  58@ == 3
  58@ == 4
  58@ == 7
goto_if_false @HEIST9_35695
Char.SetWeaponSkill(335@(58@,15i), 2)
Char.GiveWeapon(335@(58@,15i), WeaponType.Pistol, 9999)
goto @HEIST9_35720

:HEIST9_35695
Char.GiveWeapon(335@(58@,15i), WeaponType.Mp5, 9999)
Char.SetCurrentWeapon(335@(58@,15i), WeaponType.Mp5)

:HEIST9_35720
Char.SetShootRate(335@(58@,15i), 30)
Char.SetAccuracy(335@(58@,15i), 30)
Char.SetDecisionMaker(335@(58@,15i), 245@)
58@ += 1
  58@ >= 8
goto_if_false @HEIST9_35585
Text.PrintNow('HM9_10', 7000, 1)
84@ = Blip.AddForCoord(2156.188, 1597.98, 998.9766)
Blip.SetEntryExit(84@, 2196.635, 1676.841, 10.0)
38@ = 17
255@ = 1
TIMERA = 0

:HEIST9_35852
if 
  38@ == 17
goto_if_false @HEIST9_37681
58@ = 0

:HEIST9_35877
if and
  Char.IsDead(335@(58@,15i))
  350@(58@,15i) <> 0
goto_if_false @HEIST9_35928
350@(58@,15i) = 0
Char.MarkAsNoLongerNeeded(335@(58@,15i))

:HEIST9_35928
58@ += 1
  58@ >= 8
goto_if_false @HEIST9_35877
if and
  not Char.IsDead(336@)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2208.021, 1619.125, 998.9827, 5.0, 5.0, 5.0, False)
goto_if_false @HEIST9_36073
if 
  351@ == 1
goto_if_false @HEIST9_36073
Char.ClearTasksImmediately(336@)
53@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.WeaponRoll(-1, False)
Task.ToggleDuck(-1, True)
Sequence.Close(53@)
Char.PerformSequence(336@, 53@)
Sequence.Clear(53@)
351@ = 2

:HEIST9_36073
if and
  not Char.IsDead(337@)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2224.02, 1618.927, 998.9655, 5.0, 5.0, 5.0, False)
goto_if_false @HEIST9_36186
if 
  352@ == 1
goto_if_false @HEIST9_36186
Char.ClearTasksImmediately(337@)
Path.FlushRoute
Path.ExtendRoute(2224.02, 1618.927, 998.9655)
Task.FollowPointRoute(337@, 6, RouteMode.Once)
Path.FlushRoute
352@ = 2

:HEIST9_36186
if and
  not Char.IsDead(340@)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2183.907, 1613.572, 998.9766, 5.0, 5.0, 5.0, False)
goto_if_false @HEIST9_36329
if 
  355@ == 1
goto_if_false @HEIST9_36329
Task.ToggleDuck(340@, False)
355@ = 2
if 
  not Char.IsDead(338@)
goto_if_false @HEIST9_36329
Char.ClearTasksImmediately(338@)
Path.FlushRoute
Path.ExtendRoute(2183.907, 1613.572, 998.9766)
Task.ToggleDuck(338@, True)
Task.FollowPointRoute(338@, 6, RouteMode.Once)
Path.FlushRoute

:HEIST9_36329
if and
  not Char.IsDead(341@)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2185.579, 1624.431, 998.973, 5.0, 5.0, 5.0, False)
goto_if_false @HEIST9_36511
if 
  356@ == 1
goto_if_false @HEIST9_36511
Char.ClearTasksImmediately(341@)
53@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.WeaponRoll(-1, False)
Task.ToggleDuck(-1, True)
Sequence.Close(53@)
Char.PerformSequence(341@, 53@)
Sequence.Clear(53@)
356@ = 2
if 
  not Char.IsDead(339@)
goto_if_false @HEIST9_36511
Char.ClearTasksImmediately(339@)
Path.FlushRoute
Path.ExtendRoute(2185.579, 1624.431, 998.973)
Task.ToggleDuck(339@, True)
Task.FollowPointRoute(339@, 6, RouteMode.Once)
Path.FlushRoute

:HEIST9_36511
if and
  not Char.IsDead(342@)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2160.279, 1618.668, 998.9676, 5.0, 5.0, 5.0, False)
goto_if_false @HEIST9_36641
if 
  357@ == 1
goto_if_false @HEIST9_36641
Char.ClearTasksImmediately(342@)
Path.FlushRoute
Path.ExtendRoute(2157.58, 1601.944, 998.9766)
Path.ExtendRoute(2157.832, 1616.024, 998.9669)
Task.FollowPointRoute(342@, 6, RouteMode.Once)
Path.FlushRoute
357@ = 2

:HEIST9_36641
if and
  TIMERA > 7000
  255@ == 1
goto_if_false @HEIST9_36703
set_lvar_text_label 288@s = 'HE8_VA'
set_lvar_int_to_constant 232@ = 19112
gosub @HEIST9_50648
255@ = 2

:HEIST9_36703
if and
  231@ == 2
  255@ == 2
goto_if_false @HEIST9_36764
set_lvar_text_label 288@s = 'HE8_VB'
set_lvar_int_to_constant 232@ = 19113
gosub @HEIST9_50648
255@ = 3

:HEIST9_36764
if and
  231@ == 2
  255@ == 3
goto_if_false @HEIST9_36825
set_lvar_text_label 288@s = 'HE8_VC'
set_lvar_int_to_constant 232@ = 19114
gosub @HEIST9_50648
255@ = 4

:HEIST9_36825
if and
  231@ == 2
  255@ == 4
goto_if_false @HEIST9_36886
set_lvar_text_label 288@s = 'HE8_VD'
set_lvar_int_to_constant 232@ = 19115
gosub @HEIST9_50648
255@ = 101

:HEIST9_36886
if and
  255@ == 101
  254@ == 0
goto_if_false @HEIST9_36977
Camera.SetDarknessEffect(False, 0)
World.SwitchEntryExit('JUMP1', True)
World.SwitchEntryExit('JUMP2', False)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_36966
Player.TakeOffGoggles($statbike_temp, True)

:HEIST9_36966
Game.SetNightVision(False)
254@ = 1

:HEIST9_36977
if and
  254@ <> 0
  254@ <> 7
goto_if_false @HEIST9_37352
if and
  231@ == 2
  254@ == 1
goto_if_false @HEIST9_37063
set_lvar_text_label 288@s = 'HE8_WA'
set_lvar_int_to_constant 232@ = 19116
gosub @HEIST9_50648
254@ = 2

:HEIST9_37063
if and
  231@ == 2
  254@ == 2
goto_if_false @HEIST9_37124
set_lvar_text_label 288@s = 'HE8_WB'
set_lvar_int_to_constant 232@ = 19117
gosub @HEIST9_50648
254@ = 3

:HEIST9_37124
if and
  231@ == 2
  254@ == 3
goto_if_false @HEIST9_37209
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_37173
Char.StartFacialTalk($stattreadstamina_ctr, 10000)

:HEIST9_37173
set_lvar_text_label 288@s = 'HE8_WC'
set_lvar_int_to_constant 232@ = 19118
gosub @HEIST9_50648
254@ = 4

:HEIST9_37209
if and
  231@ == 2
  254@ == 4
goto_if_false @HEIST9_37291
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_37255
Char.StopFacialTalk($stattreadstamina_ctr)

:HEIST9_37255
set_lvar_text_label 288@s = 'HE8_WE'
set_lvar_int_to_constant 232@ = 19120
gosub @HEIST9_50648
254@ = 5

:HEIST9_37291
if and
  231@ == 2
  254@ == 5
goto_if_false @HEIST9_37352
set_lvar_text_label 288@s = 'HE8_WF'
set_lvar_int_to_constant 232@ = 19121
gosub @HEIST9_50648
254@ = 7

:HEIST9_37352
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2156.188, 1597.98, 998.9766, 1.2, 1.2, 2.0, True)
  153@ == 0
goto_if_false @HEIST9_37681
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_37430
Player.SetControl($statbike_temp, False)

:HEIST9_37430
gosub @HEIST9_46325
if 
  Blip.DoesExist(84@)
goto_if_false @HEIST9_37458
Blip.Remove(84@)

:HEIST9_37458
Streaming.LoadScene(2266.511, 1647.517, 1083.241)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_37525
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2266.511, 1647.517, 1083.241)
Char.SetHeading($stattreadstamina_ctr, 268.927)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:HEIST9_37525
376@ = Blip.AddForCoord(2266.225, 1619.766, 1089.445)
Blip.SetEntryExit(376@, 2196.635, 1676.841, 10.0)
gosub @HEIST9_44781
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 6401)

:HEIST9_37583
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST9_37609
wait 0
goto @HEIST9_37583

:HEIST9_37609
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @HEIST9_37628
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:HEIST9_37628
gosub @HEIST9_46358
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_37658
Player.SetControl($statbike_temp, True)

:HEIST9_37658
Text.PrintNow('HM9_45', 4000, 1)
153@ = 1

:HEIST9_37681
if or
  38@ == 17
  38@ == 18
goto_if_false @HEIST9_40679
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2266.598, 1647.378, 1083.241, 1.2, 1.2, 2.0, False)
  294@ == 0
goto_if_false @HEIST9_38136
58@ = 0

:HEIST9_37768
Char.Delete(335@(58@,15i))
58@ += 1
  58@ >= 8
goto_if_false @HEIST9_37768
Streaming.RequestModel(371)

:HEIST9_37803
if 
  not Streaming.HasModelLoaded(371)
goto_if_false @HEIST9_37830
wait 0
goto @HEIST9_37803

:HEIST9_37830
298@ = Pickup.Create(371, PickupType.Once, 2267.989, 1699.668, 101.4)
$para_Vy = -6.0
$para_Vz = 35.0
292@ = Char.Create(PedType.Mission1, 126, 2269.732, 1620.345, 1085.25)
Char.SetAreaVisible(292@, 1)
Char.SetHeading(292@, 0.7663)
Char.GiveWeapon(292@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(292@, WeaponType.Mp5)
Char.SetAccuracy(292@, 80)
Char.SetDecisionMaker(292@, 89@)
Path.FlushRoute
Path.ExtendRoute(2269.577, 1624.246, 1083.258)
Path.ExtendRoute(2269.986, 1628.803, 1083.245)
Path.ExtendRoute(2268.948, 1641.64, 1083.234)
Task.FollowPointRoute(292@, 6, RouteMode.Once)
Path.FlushRoute
Char.SetMoney(292@, 0)
293@ = Char.Create(PedType.Mission1, 127, 2265.832, 1624.938, 1087.448)
Char.SetAreaVisible(293@, 1)
Char.SetHeading(293@, 178.1353)
Char.GiveWeapon(293@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(293@, WeaponType.Mp5)
Char.SetAccuracy(293@, 80)
Char.SetDecisionMaker(293@, 89@)
Task.ToggleDuck(293@, True)
Task.StayInSamePlace(293@, True)
Char.SetMoney(293@, 0)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(127)
294@ = 1

:HEIST9_38136
if 
  100@ == 0
goto_if_false @HEIST9_39553
if and
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2269.068, 1624.648, 93.922, 10.0, 10.0, 10.0, False)
  100@ == 0
goto_if_false @HEIST9_39553
Hud.SetRadarZoom(0)
Game.SetWantedMultiplier(1.0)
Camera.DoFade(0, Fade.Out)
Clock.SetTimeOfDay(0, 0)
gosub @HEIST9_46289
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_38285
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2268.666, 1620.91, 93.922)
Char.SetHeading($stattreadstamina_ctr, 270.0)

:HEIST9_38285
Streaming.LoadScene(2269.811, 1625.442, 93.922)
Streaming.LoadSceneInDirection(2270.095, 1692.939, 101.2986, 129.3904)
Streaming.RequestModel(497)

:HEIST9_38329
if 
  not Streaming.HasModelLoaded(497)
goto_if_false @HEIST9_38356
wait 0
goto @HEIST9_38329

:HEIST9_38356
198@ = Car.Create(497, 2295.622, 1839.804, 38.2713)
Car.SetHeading(198@, 191.5123)
Streaming.RequestModel(285)
Streaming.RequestCarRecording(484)

:HEIST9_38399
if or
  not Streaming.HasModelLoaded(285)
  not Streaming.HasCarRecordingBeenLoaded(484)
goto_if_false @HEIST9_38431
wait 0
goto @HEIST9_38399

:HEIST9_38431
377@ = Car.Create(497, 2253.068, 1626.562, 87.9584)
378@ = Char.CreateInsideCar(377@, PedType.Mission4, 285)
Char.SetCanBeShotInVehicle(378@, False)
Car.LockDoors(377@, CarLock.Locked)
Char.SetCantBeDraggedOut(378@, True)
Heli.SetBladesFullSpeed(377@)
Car.SetForwardSpeed(377@, 10.0)
380@ = Char.Create(PedType.Mission1, 285, 2253.068, 1626.562, 87.9584)
Char.SetDecisionMaker(380@, 245@)
381@ = Char.Create(PedType.Mission1, 285, 2253.068, 1626.562, 87.9584)
Char.SetDecisionMaker(381@, 245@)
382@ = Char.Create(PedType.Mission1, 285, 2253.068, 1626.562, 87.9584)
Char.SetDecisionMaker(382@, 245@)
383@ = Char.Create(PedType.Mission1, 285, 2253.068, 1626.562, 87.9584)
Char.SetDecisionMaker(383@, 245@)
Char.AttachToCar(380@, 377@, 1.4, 1.3, -0.1, 3, 190.0, WeaponType.Mp5)
Char.AttachToCar(381@, 377@, 1.4, -0.8, -0.1, 3, 190.0, WeaponType.Mp5)
Char.AttachToCar(382@, 377@, -1.4, 1.3, -0.1, 1, 190.0, WeaponType.Mp5)
Char.AttachToCar(383@, 377@, -1.4, -0.8, -0.1, 1, 190.0, WeaponType.Mp5)
58@ = 0

:HEIST9_38770
Char.SetMoney(380@(58@,4i), 0)
Char.SetHealth(380@(58@,4i), 150)
Char.SetShootRate(380@(58@,4i), 40)
Char.SetAccuracy(380@(58@,4i), 40)
Task.StayInSamePlace(380@(58@,4i), True)
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_38770
379@ = Searchlight.CreateOnVehicle(377@, 0.0, 1.0, -0.5, 2269.456, 1625.442, 93.922, 5.0, 0.4)
Searchlight.PointAtChar(379@, $stattreadstamina_ctr, 10.0)
if 
  not Car.IsDead(377@)
goto_if_false @HEIST9_38953
if 
  Streaming.HasCarRecordingBeenLoaded(484)
goto_if_false @HEIST9_38953
Car.StartPlayback(377@, 484)
Car.PausePlayback(377@)

:HEIST9_38953
335@ = Char.Create(PedType.Mission1, 285, 2293.68, 1837.016, 38.2713)
Char.SetHeading(335@, 164.9221)
Task.StandStill(335@, 1)
336@ = Char.Create(PedType.Mission1, 285, 2298.492, 1836.946, 38.2713)
Char.SetHeading(336@, 170.0207)
Task.StandStill(336@, 1)
Task.ToggleDuck(336@, True)
58@ = 0

:HEIST9_39051
350@(58@,15i) = 1
Char.SetHealth(335@(58@,15i), 200)
Char.SetMaxHealth(335@(58@,15i), 200)
Char.GiveWeapon(335@(58@,15i), WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(335@(58@,15i), WeaponType.Mp5)
Char.SetShootRate(335@(58@,15i), 30)
Char.SetAccuracy(335@(58@,15i), 20)
Char.SetDecisionMaker(335@(58@,15i), 245@)
58@ += 1
  58@ >= 2
goto_if_false @HEIST9_39051
World.SwitchEntryExit('JUMP1', False)
World.SwitchEntryExit('JUMP2', False)
World.ClearArea(2270.021, 1623.486, 93.922, 20.0, True)
if 
  Blip.DoesExist(84@)
goto_if_false @HEIST9_39237
Blip.Remove(84@)

:HEIST9_39237
if 
  Blip.DoesExist(376@)
goto_if_false @HEIST9_39258
Blip.Remove(376@)

:HEIST9_39258
384@ = Blip.AddForPickup(298@)
World.SetCarDensityMultiplier(1.0)
Camera.SetFixedPosition(2305.338, 1721.1, 126.2864, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2304.813, 1720.407, 125.7915, SwitchType.JumpCut)
gosub @HEIST9_46358
Camera.SetInterpolationParameters(0.0, 8000)
Camera.SetFixedPosition(2307.409, 1599.532, 118.4341, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2306.749, 1600.164, 118.0293, SwitchType.Interpolation)
Text.PrintNow('HM9_25', 8000, 1)
wait 3000
if 
  not Car.IsDead(377@)
goto_if_false @HEIST9_39450
if 
  Streaming.HasCarRecordingBeenLoaded(484)
goto_if_false @HEIST9_39450
Car.UnpausePlayback(377@)

:HEIST9_39450
wait 5000
gosub @HEIST9_46306
385@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2265.825, 1617.069, 94.5)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_39539
Char.ClearTasks($stattreadstamina_ctr)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2269.139, 1622.576, 93.922)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetBehindPlayer

:HEIST9_39539
100@ = 1
TIMERB = 0

:HEIST9_39553
if 
  Car.IsDead(377@)
goto_if_false @HEIST9_39590
if 
  Searchlight.DoesExist(379@)
goto_if_false @HEIST9_39590
Searchlight.Delete(379@)

:HEIST9_39590
if and
  100@ == 1
  TIMERB > 10800
  not Car.IsDead(377@)
goto_if_false @HEIST9_40122
if 
  Car.IsPlaybackGoingOn(377@)
goto_if_false @HEIST9_39642
Car.PausePlayback(377@)

:HEIST9_39642
58@ = 0

:HEIST9_39649
if 
  not Char.IsDead(380@(58@,4i))
goto_if_false @HEIST9_39778
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(380@(58@,4i))
Char.Delete(380@(58@,4i))
380@(58@,4i) = Char.CreateSwatRope(PedType.Mission1, 285, $on_footY, $on_footZ, $in_carX)
Char.SetShootRate(380@(58@,4i), 70)
Char.SetDecisionMaker(380@(58@,4i), 245@)
Char.GiveWeapon(380@(58@,4i), WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(380@(58@,4i), WeaponType.Mp5)
Task.StayInSamePlace(380@(58@,4i), True)

:HEIST9_39778
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_39649
53@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.AchieveHeading(-1, 170.7766)
Task.ToggleDuck(-1, False)
Task.Pause(-1, 3000)
Task.ShootAtChar(-1, $stattreadstamina_ctr, -1)
Sequence.Close(53@)
if 
  not Char.IsDead(380@)
goto_if_false @HEIST9_39876
Char.PerformSequence(380@, 53@)

:HEIST9_39876
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.AchieveHeading(-1, 170.7766)
Task.Pause(-1, 3000)
Task.ShootAtChar(-1, $stattreadstamina_ctr, -1)
Sequence.Close(53@)
if 
  not Char.IsDead(381@)
goto_if_false @HEIST9_39952
Char.PerformSequence(381@, 53@)

:HEIST9_39952
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.AchieveHeading(-1, 170.7766)
Task.ToggleDuck(-1, False)
Task.Pause(-1, 3000)
Task.ShootAtChar(-1, $stattreadstamina_ctr, -1)
Sequence.Close(53@)
if 
  not Char.IsDead(382@)
goto_if_false @HEIST9_40034
Char.PerformSequence(382@, 53@)

:HEIST9_40034
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.AchieveHeading(-1, 170.7766)
Task.Pause(-1, 3000)
Task.ShootAtChar(-1, $stattreadstamina_ctr, -1)
Sequence.Close(53@)
if 
  not Char.IsDead(383@)
goto_if_false @HEIST9_40110
Char.PerformSequence(383@, 53@)

:HEIST9_40110
Sequence.Clear(53@)
100@ = 2

:HEIST9_40122
if and
  100@ == 2
  TIMERB > 18000
  not Car.IsDead(377@)
goto_if_false @HEIST9_40181
if 
  Car.IsPlaybackGoingOn(377@)
goto_if_false @HEIST9_40174
Car.UnpausePlayback(377@)

:HEIST9_40174
100@ = 3

:HEIST9_40181
if 
  294@ == 1
goto_if_false @HEIST9_40540
if 
  Pickup.HasBeenCollected(298@)
goto_if_false @HEIST9_40540
if 
  Blip.DoesExist(384@)
goto_if_false @HEIST9_40236
Blip.Remove(384@)

:HEIST9_40236
if 
  not Car.IsDead(198@)
goto_if_false @HEIST9_40267
247@ = Blip.AddForCar(198@)
Blip.SetAsFriendly(247@, True)

:HEIST9_40267
38@ = 18
99@ = 2
if 
  not Car.IsDead(198@)
goto_if_false @HEIST9_40471
gosub @HEIST9_46289
Camera.SetFixedPosition(2267.88, 1692.82, 111.0014, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2267.876, 1693.396, 110.1835, SwitchType.JumpCut)
wait 100
Camera.SetInterpolationParameters(0.0, 6000)
Camera.SetFixedPosition(2293.709, 1832.279, 41.1442, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2294.057, 1833.15, 40.7979, SwitchType.Interpolation)
Text.PrintNow('HM9_24', 6000, 1)
wait 6000
gosub @HEIST9_46306
Text.PrintNow('HM9_1H', 6000, 1)
goto @HEIST9_40507

:HEIST9_40471
102@ = Blip.AddForCoord(365.5647, 2536.76, 15.6637)
Text.PrintNow('HM9_X', 6000, 1)

:HEIST9_40507
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_40533
Char.SetHeading($stattreadstamina_ctr, 353.9519)

:HEIST9_40533
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)

:HEIST9_40540
if and
  Car.IsDead(198@)
  Blip.DoesExist(247@)
goto_if_false @HEIST9_40618
if 
  not Blip.DoesExist(102@)
goto_if_false @HEIST9_40613
102@ = Blip.AddForCoord(365.5647, 2536.76, 15.6637)
Text.PrintNow('HM9_1J', 6000, 1)

:HEIST9_40613
Blip.Remove(247@)

:HEIST9_40618
if 
  not Car.IsDead(377@)
goto_if_false @HEIST9_40679
if and
  not Car.IsPlaybackGoingOn(377@)
  40@ == 0
goto_if_false @HEIST9_40679
Heli.ChaseEntity(377@, $stattreadstamina_ctr, -1, 20.0)
40@ = 1

:HEIST9_40679
if 
  38@ == 18
goto_if_false @HEIST9_43350
if and
  Car.IsDead(198@)
  Blip.DoesExist(247@)
goto_if_false @HEIST9_40723
Blip.Remove(247@)

:HEIST9_40723
if and
  not Car.IsDead(198@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_40825
if and
  Blip.DoesExist(247@)
  Char.IsInCar($stattreadstamina_ctr, 198@)
goto_if_false @HEIST9_40825
if 
  not Blip.DoesExist(102@)
goto_if_false @HEIST9_40820
102@ = Blip.AddForCoord(365.5647, 2536.76, 15.6637)
Text.PrintNow('HM9_1J', 6000, 1)

:HEIST9_40820
Blip.Remove(247@)

:HEIST9_40825
if and
  not Char.IsDead($stattreadstamina_ctr)
  Blip.DoesExist(384@)
goto_if_false @HEIST9_40909
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if 
  90.0 > $in_carX
goto_if_false @HEIST9_40909
if and
  Blip.DoesExist(384@)
  $7945 == 0
goto_if_false @HEIST9_40909
Blip.Remove(384@)

:HEIST9_40909
if and
  not Char.IsDead($stattreadstamina_ctr)
  Blip.DoesExist(247@)
goto_if_false @HEIST9_41059
if 
  not Car.IsDead(198@)
goto_if_false @HEIST9_41059
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if 
  36.0 > $in_carX
goto_if_false @HEIST9_41059
if and
  Blip.DoesExist(247@)
  $7945 == 0
  307@ == 0
goto_if_false @HEIST9_41059
Blip.Remove(247@)
102@ = Blip.AddForCoord(365.5647, 2536.76, 15.6637)
Text.PrintNow('HM9_1J', 6000, 1)
307@ = 1

:HEIST9_41059
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 365.5647, 2536.76, 15.6637, 4.0, 4.0, 4.0, True)
goto_if_false @HEIST9_43350
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_41130
Player.SetControl($statbike_temp, False)

:HEIST9_41130
43@ = 1
Blip.Remove(102@)
gosub @HEIST9_46325
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_41189
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HEIST9_41189
$stealth_help_flag = Char.StoreCarIsIn($stattreadstamina_ctr)

:HEIST9_41189
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_41278
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HEIST9_41248
Char.WarpFromCarToCoord($stattreadstamina_ctr, 345.389, 2539.21, 15.7622)
goto @HEIST9_41268

:HEIST9_41248
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 345.389, 2539.21, 15.7622)

:HEIST9_41268
Char.SetHeading($stattreadstamina_ctr, 300.8022)

:HEIST9_41278
if 
  not Car.IsDead(377@)
goto_if_false @HEIST9_41299
Car.Delete(377@)

:HEIST9_41299
if 
  not Car.IsDead(198@)
goto_if_false @HEIST9_41320
Car.Delete(198@)

:HEIST9_41320
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @HEIST9_41341
Car.Delete($stealth_help_flag)

:HEIST9_41341
Streaming.RequestModel(428)
Streaming.RequestModel(523)
Streaming.RequestModel(284)
Streaming.LoadSpecialCharacter(1, 'ZERO')
Streaming.LoadSpecialCharacter(2, 'WUZIMU')

:HEIST9_41382
if or
  not Streaming.HasModelLoaded(428)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasModelLoaded(523)
  not Streaming.HasModelLoaded(284)
goto_if_false @HEIST9_41427
wait 0
goto @HEIST9_41382

:HEIST9_41427
61@ = Object.Create(#CJ_MONEY_BAG, 344.9779, 2545.213, 15.7642)
62@ = Object.Create(#CJ_MONEY_BAG, 347.936, 2543.972, 15.7498)
63@ = Object.Create(#CJ_MONEY_BAG, 348.9375, 2545.841, 15.7383)
64@ = Object.Create(#CJ_MONEY_BAG, 343.8135, 2545.722, 15.7699)
World.ClearArea(345.2756, 2546.824, 15.7628, 50.0, True)
51@ = Car.Create(428, 345.2756, 2546.824, 15.7628)
Car.SetHeading(51@, 58.9413)
Car.LockDoors(51@, CarLock.LockoutPlayerOnly)
Car.FreezePosition(51@, True)
54@ = Char.Create(PedType.Mission2, 291, 343.7633, 2545.022, 15.7702)
Char.SetHeading(54@, 202.9705)
Char.SetAnimGroup(54@, "BLINDMAN")
Task.StayInSamePlace(54@, True)
Char.SetDecisionMaker(54@, 120@)
Char.SetNeverTargeted(54@, True)
Char.SetOnlyDamagedByPlayer(54@, True)
World.ClearArea(344.5244, 2540.563, 15.7743, 200.0, True)
World.ClearArea(346.5559, 2548.027, 15.7244, 2.0, True)
97@ = Char.Create(PedType.Mission2, 290, 346.5559, 2548.027, 15.7244)
Char.SetHeading(97@, 242.1164)
Char.SetNeverTargeted(97@, True)
Task.StayInSamePlace(97@, True)
Char.SetDecisionMaker(97@, 120@)
Char.SetNeverTargeted(97@, True)
Char.SetOnlyDamagedByPlayer(97@, True)
279@ = Car.Create(523, 360.2574, 2547.46, 15.5491)
Car.SetHeading(279@, 107.4242)
280@ = Car.Create(523, 362.587, 2542.715, 15.618)
Car.SetHeading(280@, 95.499)
281@ = Char.CreateInsideCar(279@, PedType.Mission2, 284)
282@ = Char.CreateInsideCar(280@, PedType.Mission2, 284)
Player.ClearWantedLevel($statbike_temp)
Streaming.LoadSceneInDirection(345.6064, 2536.51, 15.7612, 4.4301)
if 
  not Char.IsDead(54@)
goto_if_false @HEIST9_41953
Char.SetCoordinatesDontWarpGang(54@, 342.5135, 2545.147, 15.7763)
Char.SetHeading(54@, 215.4312)

:HEIST9_41953
gosub @HEIST9_46289
Streaming.RequestAnimation("FIGHT_B")

:HEIST9_41971
if 
  not Streaming.HasAnimationLoaded("FIGHT_B")
goto_if_false @HEIST9_42004
wait 0
goto @HEIST9_41971

:HEIST9_42004
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(97@)
  not Char.IsDead(54@)
goto_if_false @HEIST9_42154
Char.ClearTasksImmediately($stattreadstamina_ctr)
53@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 347.2988, 2541.483, 15.7529, 4, -1)
Task.TurnCharToFaceChar(-1, 97@)
Task.Pause(-1, 4500)
Task.TurnCharToFaceChar(-1, 97@)
Task.PlayAnim(-1, "FIGHTB_M", "FIGHT_B", 4.0, False, False, False, False, -1)
Task.Pause(-1, 3000)
Task.TurnCharToFaceChar(-1, 54@)
Sequence.Close(53@)
Char.PerformSequence($stattreadstamina_ctr, 53@)
Sequence.Clear(53@)

:HEIST9_42154
Camera.SetFixedPosition(346.245, 2537.94, 16.7555, 0.0, 0.0, 0.0)
Camera.PointAtPoint(346.7908, 2538.778, 16.7555, SwitchType.JumpCut)
if and
  not Car.IsDead(279@)
  not Car.IsDead(280@)
  not Char.IsDead(281@)
  not Char.IsDead(282@)
goto_if_false @HEIST9_42397
53@ = Sequence.Open()
Task.CarDriveToCoord(-1, 279@, 351.2343, 2544.125, 15.7337, 5.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.Pause(-1, 2000)
Task.LeaveCar(-1, 279@)
Car.SwitchSiren(279@, False)
Sequence.Close(53@)
Char.PerformSequence(281@, 53@)
Sequence.Clear(53@)
53@ = Sequence.Open()
Task.CarDriveToCoord(-1, 280@, 351.4331, 2542.753, 15.7337, 5.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
Task.Pause(-1, 2000)
Task.LeaveCar(-1, 280@)
Car.SwitchSiren(280@, False)
Sequence.Close(53@)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.PerformSequence(282@, 53@)
Sequence.Clear(53@)

:HEIST9_42397
if and
  not Car.IsDead(279@)
  not Char.IsDead(281@)
goto_if_false @HEIST9_42425
Car.SwitchSiren(279@, True)

:HEIST9_42425
if and
  not Car.IsDead(280@)
  not Char.IsDead(282@)
goto_if_false @HEIST9_42453
Car.SwitchSiren(280@, True)

:HEIST9_42453
gosub @HEIST9_46358
Text.PrintNow('HE8_ZA', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19128)

:HEIST9_42487
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_42513
wait 0
goto @HEIST9_42487

:HEIST9_42513
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
if 
  not Char.IsDead(97@)
goto_if_false @HEIST9_42597
Path.FlushRoute
Path.ExtendRoute(350.6611, 2546.735, 15.6957)
Path.ExtendRoute(348.9894, 2543.476, 15.7446)
Path.ExtendRoute(347.4687, 2541.793, 15.7521)
Task.FollowPointRoute(97@, 6, RouteMode.Once)
Path.FlushRoute

:HEIST9_42597
TIMERB = 0

:HEIST9_42604
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_42630
wait 0
goto @HEIST9_42604

:HEIST9_42630
Text.PrintNow('HE8_ZB', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19129)

:HEIST9_42657
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_42683
wait 0
goto @HEIST9_42657

:HEIST9_42683
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_42694
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_42720
wait 0
goto @HEIST9_42694

:HEIST9_42720
if 
  not Char.IsDead(97@)
goto_if_false @HEIST9_42775
Task.PlayAnim(97@, "KO_SHOT_FACE", "PED", 4.0, False, False, False, True, -1)

:HEIST9_42775
Text.PrintNow('ZER1_DB', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44620)

:HEIST9_42804
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_42830
wait 0
goto @HEIST9_42804

:HEIST9_42830
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_42841
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_42867
wait 0
goto @HEIST9_42841

:HEIST9_42867
wait 500
Camera.SetInterpolationParameters(0.0, 3000)
Camera.SetFixedPosition(348.9764, 2538.029, 16.6197, 0.0, 0.0, 0.0)
Camera.PointAtPoint(348.743, 2539.001, 16.6362, SwitchType.Interpolation)
Text.PrintNow('WUZX_BR', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44443)

:HEIST9_42962
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_42988
wait 0
goto @HEIST9_42962

:HEIST9_42988
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_42999
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_43025
wait 0
goto @HEIST9_42999

:HEIST9_43025
wait 1000
Text.PrintNow('WUZX_AK', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 44410)

:HEIST9_43059
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_43085
wait 0
goto @HEIST9_43059

:HEIST9_43085
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_43096
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_43122
wait 0
goto @HEIST9_43096

:HEIST9_43122
gosub @HEIST9_46325
Char.Delete(54@)
Char.Delete(97@)
Char.Delete(281@)
Char.Delete(282@)
Car.Delete(279@)
Car.Delete(280@)
Car.Delete(51@)
Streaming.RemoveAnimation("FIGHT_B")
Object.Delete(61@)
Object.Delete(62@)
Object.Delete(63@)
Object.Delete(64@)
230@ = 1
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_43225
Player.RestoreClothesState
Player.BuildModel($statbike_temp)

:HEIST9_43225
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_43324
Streaming.LoadScene(2023.783, 1007.845, 9.8203)
World.ClearArea(2023.783, 1007.845, 9.8203, 20.0, True)
Streaming.RequestCollision(2023.783, 1007.845)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2023.783, 1007.845, 9.813)
Char.SetHeading($stattreadstamina_ctr, 270.9639)

:HEIST9_43324
gosub @HEIST9_46306
wait 500
gosub @HEIST9_46358
goto @HEIST9_44516

:HEIST9_43350
if and
  16 > 38@
  174@ == 0
  250@ == 1
goto_if_false @HEIST9_43642
58@ = 0

:HEIST9_43389
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_43439
180@(58@,4f), 184@(58@,4f), 188@(58@,4f) = Char.GetCoordinates(54@(58@,4i))

:HEIST9_43439
if 
  Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_43621
if 
  Blip.DoesExist(91@(58@,4i))
goto_if_false @HEIST9_43488
Blip.Remove(91@(58@,4i))

:HEIST9_43488
gosub @HEIST9_46289
188@(58@,4f) += 2.5
Camera.SetFixedPosition(180@(58@,4f), 184@(58@,4f), 188@(58@,4f), 0.0, 0.0, 0.0)
188@(58@,4f) -= 2.5
Camera.PointAtPoint(180@(58@,4f), 184@(58@,4f), 188@(58@,4f), SwitchType.JumpCut)
wait 4000
gosub @HEIST9_50388
Text.PrintNow('HM9_9', 4000, 1)
goto @HEIST9_44468

:HEIST9_43621
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_43389

:HEIST9_43642
goto @HEIST9_2598

:HEIST9_43649
goto @HEIST9_44468
Car.Delete(46@)
Streaming.MarkModelAsNoLongerNeeded(530)
if 
  not Char.IsDead(54@)
goto_if_false @HEIST9_43724
Char.ClearTasksImmediately(54@)
Char.SetCoordinatesDontWarpGang(54@, 2145.146, 1626.464, 992.5681)
Char.SetHeading(54@, 11.1673)
Task.Duck(54@, -1)

:HEIST9_43724
if 
  not Char.IsDead(55@)
goto_if_false @HEIST9_43782
Char.ClearTasksImmediately(55@)
Char.SetCoordinatesDontWarpGang(55@, 2143.25, 1626.482, 992.5681)
Char.SetHeading(55@, 3.4561)
Task.Duck(55@, -1)

:HEIST9_43782
if 
  not Char.IsDead(56@)
goto_if_false @HEIST9_43833
Char.ClearTasksImmediately(56@)
Char.SetCoordinatesDontWarpGang(56@, 2140.753, 1616.249, 992.5681)
Char.SetHeading(56@, 342.9477)

:HEIST9_43833
if 
  not Char.IsDead(57@)
goto_if_false @HEIST9_43884
Char.ClearTasksImmediately(57@)
Char.SetCoordinatesDontWarpGang(57@, 2147.739, 1616.703, 992.5681)
Char.SetHeading(57@, 33.9273)

:HEIST9_43884
return 

:HEIST9_43886
58@ = 0

:HEIST9_43893
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_43932
Char.SetProofs(54@(58@,4i), False, False, True, True, False)

:HEIST9_43932
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_43893
return 

:HEIST9_43955
58@ = 0

:HEIST9_43962
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_44001
Char.SetProofs(54@(58@,4i), False, False, False, True, False)

:HEIST9_44001
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_43962
return 

:HEIST9_44024
if and
  Char.IsDead(335@)
  Char.IsDead(336@)
  Char.IsDead(337@)
  Char.IsDead(338@)
  Char.IsDead(339@)
goto_if_false @HEIST9_44466
if and
  Char.IsDead(340@)
  Char.IsDead(341@)
  Char.IsDead(342@)
goto_if_false @HEIST9_44466
53@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 2148.017, 1597.457, 998.7676, 6, -1)
Sequence.Close(53@)
58@ = 0

:HEIST9_44126
266@(58@,4i) = 0
270@(58@,4i) = 0
if and
  not Char.IsDead(54@(58@,4i))
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_44194
Char.ClearTasksImmediately(54@(58@,4i))
Char.PerformSequence(54@(58@,4i), 53@)

:HEIST9_44194
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_44289
set_lvar_int_to_lvar_int 148@(58@,5i) = 142@(58@,5i)
142@(58@,5i) = Char.GetHealth(54@(58@,4i))
if 
  not is_int_lvar_equal_to_int_lvar 148@(58@,5i) == 142@(58@,5i)
goto_if_false @HEIST9_44289
Text.PrintNow('HM9_44', 5000, 1)

:HEIST9_44289
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_44126
Sequence.Clear(53@)
257@ = 0
258@ = 0
278@ = 1
TIMERB = 0
58@ = 0

:HEIST9_44350
Blip.ChangeDisplay(91@(58@,4i), BlipDisplay.Both)
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_44350
if 
  Blip.DoesExist(90@)
goto_if_false @HEIST9_44403
Blip.Remove(90@)

:HEIST9_44403
90@ = Blip.AddForCoord(2220.543, 1572.625, 998.9531)
Blip.SetEntryExit(90@, 2196.635, 1676.841, 10.0)
Text.PrintNow('HM9_8', 7000, 1)
52@ = 1

:HEIST9_44466
return 

:HEIST9_44468
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_44498
Player.DisableSprint($statbike_temp, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:HEIST9_44498
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:HEIST9_44516
$pickup_flowers = Pickup.CreateWithAmmo(368, PickupType.OnStreetSlow, 1, 102.7728, 1899.192, 33.1572)
$3258 = Pickup.CreateWithAmmo(368, PickupType.OnStreetSlow, 1, 1274.301, -825.7809, 1085.079)
$3259 = Pickup.CreateWithAmmo(368, PickupType.OnStreetSlow, 1, -948.3487, 1858.023, 8.3237)
$3260 = Pickup.CreateWithAmmo(368, PickupType.OnStreetSlow, 1, -1956.274, -853.7687, 31.873)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_44654
Player.DisableSprint($statbike_temp, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:HEIST9_44654
if 
  Blip.DoesExist($flag_doc_mission_counter)
goto_if_false @HEIST9_44675
Blip.Remove($flag_doc_mission_counter)

:HEIST9_44675
$desert2X += 1
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('HEIST_9')
Text.PrintWithNumberBig('M_PASSS', 100000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 100000)
Stat.AwardPlayerMissionRespect(100)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
World.ClearArea(2444.772, 655.0391, 10.3874, 30.0, True)
$flag_got_medic_clothes = 1
Stat.SetInt(StatId.PassedHeist8, 1)
return 

:HEIST9_44781
Streaming.MarkModelAsNoLongerNeeded(530)
Streaming.MarkModelAsNoLongerNeeded(428)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(127)
Streaming.MarkModelAsNoLongerNeeded(347)
Streaming.MarkModelAsNoLongerNeeded(343)
Streaming.MarkModelAsNoLongerNeeded(163)
Streaming.MarkModelAsNoLongerNeeded(#GENERATOR_BIG)
Streaming.MarkModelAsNoLongerNeeded(363)
Streaming.MarkModelAsNoLongerNeeded(368)
Streaming.MarkModelAsNoLongerNeeded(#CJ_MONEY_BAG)
Streaming.MarkModelAsNoLongerNeeded(#GENERATOR_BIG_D)
Streaming.MarkModelAsNoLongerNeeded(164)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(523)
Streaming.MarkModelAsNoLongerNeeded(284)
Streaming.MarkModelAsNoLongerNeeded(#BODYARMOUR)
Streaming.MarkModelAsNoLongerNeeded(364)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(11)
Streaming.MarkModelAsNoLongerNeeded(172)
Streaming.MarkModelAsNoLongerNeeded(497)
Streaming.MarkModelAsNoLongerNeeded(371)
Streaming.MarkModelAsNoLongerNeeded(335)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Streaming.RemoveAnimation("BOMBER")
Streaming.RemoveCarRecording(499)
Streaming.RemoveCarRecording(487)
Streaming.RemoveCarRecording(494)
Streaming.RemoveCarRecording(484)
return 

:HEIST9_44948
$cs1_race_is_go = 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_44976
Char.StopFacialTalk($stattreadstamina_ctr)

:HEIST9_44976
Game.SetWantedMultiplier(1.0)
Hud.SetRadarZoom(0)
58@ = 0

:HEIST9_44994
if 
  Blip.DoesExist(350@(58@,15i))
goto_if_false @HEIST9_45023
Blip.Remove(350@(58@,15i))

:HEIST9_45023
if 
  Blip.DoesExist(320@(58@,15i))
goto_if_false @HEIST9_45052
Blip.Remove(320@(58@,15i))

:HEIST9_45052
58@ += 1
  58@ >= 11
goto_if_false @HEIST9_44994
if 
  $boat_accelerate_best_score == 1
goto_if_false @HEIST9_45098
CarGenerator.Switch($d5_silver_generator_unlocked, 101)

:HEIST9_45098
if 
  $boat_simplecircuit_best_score == 1
goto_if_false @HEIST9_45123
CarGenerator.Switch($d5_gold_generator_unlocked, 101)

:HEIST9_45123
if 
  $boat_slalom_best_score == 1
goto_if_false @HEIST9_45148
CarGenerator.Switch($boat_which_missions_are_open_flag, 101)

:HEIST9_45148
if 
  not Char.IsDead(97@)
goto_if_false @HEIST9_45169
Char.RemoveElegantly(97@)

:HEIST9_45169
if 
  not Char.IsDead(281@)
goto_if_false @HEIST9_45190
Char.RemoveElegantly(281@)

:HEIST9_45190
if 
  not Char.IsDead(282@)
goto_if_false @HEIST9_45211
Char.RemoveElegantly(282@)

:HEIST9_45211
Zone.SetNoCops('MEAD', False)
Hud.ClearTimer($h9_calculus)
if 
  $flag_returned_shoehorses > 0
goto_if_false @HEIST9_45254
$flag_returned_shoehorses = 6

:HEIST9_45254
$para_freefall_Vz = 5.0
$para_default_Vy = 8.5
$para_Vy = -30.0
$para_Vz = 32.0
$1253 = 0
Game.SwitchObjectBrains(ScriptBrainAttachType.Object, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_45337
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.NightVision)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Teargas)

:HEIST9_45337
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_45367
Player.DisableSprint($statbike_temp, False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:HEIST9_45367
Object.SetHeading($2707, 270.0)
World.SwitchEntryExit('MAFCAS', True)
World.SwitchEntryExit('MAFCAS2', True)
World.SwitchEntryExit('JUMP1', True)
World.SwitchEntryExit('JUMP2', True)
Camera.SetDarknessEffect(False, 0)
Game.SetNightVision(False)
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Object.Delete(41@)
58@ = 0

:HEIST9_45463
if 
  not Char.IsDead(54@(58@,4i))
goto_if_false @HEIST9_45492
Char.RemoveElegantly(54@(58@,4i))

:HEIST9_45492
if 
  not Char.IsDead(109@(58@,5i))
goto_if_false @HEIST9_45521
Char.MarkAsNoLongerNeeded(109@(58@,5i))

:HEIST9_45521
if 
  Blip.DoesExist(91@(58@,4i))
goto_if_false @HEIST9_45550
Blip.Remove(91@(58@,4i))

:HEIST9_45550
if 
  Object.DoesExist(61@(58@,4i))
goto_if_false @HEIST9_45579
Object.Delete(61@(58@,4i))

:HEIST9_45579
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_45463
if 
  Blip.DoesExist(299@)
goto_if_false @HEIST9_45621
Blip.Remove(299@)

:HEIST9_45621
if 
  Blip.DoesExist(233@)
goto_if_false @HEIST9_45642
Blip.Remove(233@)

:HEIST9_45642
if 
  Blip.DoesExist(45@)
goto_if_false @HEIST9_45663
Blip.Remove(45@)

:HEIST9_45663
if 
  Blip.DoesExist(108@)
goto_if_false @HEIST9_45684
Blip.Remove(108@)

:HEIST9_45684
if 
  Blip.DoesExist(39@)
goto_if_false @HEIST9_45705
Blip.Remove(39@)

:HEIST9_45705
if 
  Blip.DoesExist(44@)
goto_if_false @HEIST9_45726
Blip.Remove(44@)

:HEIST9_45726
if 
  Blip.DoesExist(47@)
goto_if_false @HEIST9_45747
Blip.Remove(47@)

:HEIST9_45747
if 
  Blip.DoesExist(90@)
goto_if_false @HEIST9_45768
Blip.Remove(90@)

:HEIST9_45768
if 
  Blip.DoesExist(384@)
goto_if_false @HEIST9_45789
Blip.Remove(384@)

:HEIST9_45789
if 
  Blip.DoesExist(376@)
goto_if_false @HEIST9_45810
Blip.Remove(376@)

:HEIST9_45810
if 
  Blip.DoesExist(84@)
goto_if_false @HEIST9_45831
Blip.Remove(84@)

:HEIST9_45831
if 
  Blip.DoesExist(102@)
goto_if_false @HEIST9_45852
Blip.Remove(102@)

:HEIST9_45852
if 
  Blip.DoesExist(372@)
goto_if_false @HEIST9_45873
Blip.Remove(372@)

:HEIST9_45873
if 
  Blip.DoesExist(228@)
goto_if_false @HEIST9_45894
Blip.Remove(228@)

:HEIST9_45894
if 
  Blip.DoesExist(229@)
goto_if_false @HEIST9_45915
Blip.Remove(229@)

:HEIST9_45915
if 
  World.IsAnyPickupAtCoords(2176.471, 1597.394, 1000.0)
goto_if_false @HEIST9_45948
Pickup.Remove($h9_z1)

:HEIST9_45948
if 
  World.IsAnyPickupAtCoords(2144.339, 1640.666, 993.5)
goto_if_false @HEIST9_45981
Pickup.Remove(285@)

:HEIST9_45981
if 
  World.IsAnyPickupAtCoords(2146.487, 1622.805, 993.0)
goto_if_false @HEIST9_46014
Pickup.Remove(214@)

:HEIST9_46014
if 
  World.IsAnyPickupAtCoords(2267.989, 1699.668, 101.4)
goto_if_false @HEIST9_46047
Pickup.Remove(298@)

:HEIST9_46047
if 
  World.IsAnyPickupAtCoords(2265.825, 1617.069, 94.5)
goto_if_false @HEIST9_46080
Pickup.Remove(385@)

:HEIST9_46080
$flag_courier_mission_passed = Clock.GetGameTimer()
Streaming.MarkModelAsNoLongerNeeded(530)
Streaming.MarkModelAsNoLongerNeeded(428)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Streaming.MarkModelAsNoLongerNeeded(127)
Streaming.MarkModelAsNoLongerNeeded(#PARA_PACK)
Streaming.MarkModelAsNoLongerNeeded(347)
Streaming.MarkModelAsNoLongerNeeded(343)
Streaming.MarkModelAsNoLongerNeeded(164)
Streaming.MarkModelAsNoLongerNeeded(163)
Streaming.MarkModelAsNoLongerNeeded(#GENERATOR_BIG)
Streaming.MarkModelAsNoLongerNeeded(363)
Streaming.MarkModelAsNoLongerNeeded(368)
Streaming.MarkModelAsNoLongerNeeded(#CJ_MONEY_BAG)
Streaming.MarkModelAsNoLongerNeeded(497)
Streaming.MarkModelAsNoLongerNeeded(#GENERATOR_BIG_D)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(523)
Streaming.MarkModelAsNoLongerNeeded(284)
Streaming.MarkModelAsNoLongerNeeded(#BODYARMOUR)
Streaming.MarkModelAsNoLongerNeeded(364)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(11)
Streaming.MarkModelAsNoLongerNeeded(172)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(335)
Streaming.MarkModelAsNoLongerNeeded(285)
Streaming.MarkModelAsNoLongerNeeded(371)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.UnloadSpecialCharacter(3)
Streaming.RemoveAnimation("HEIST9")
Streaming.RemoveAnimation("BOMBER")
Streaming.RemoveAnimation("FIGHT_B")
Mission.Finish
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
return 

:HEIST9_46289
Text.ClearPrints
Text.ClearHelp
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
return 

:HEIST9_46306
Text.ClearPrints
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
return 

:HEIST9_46325
Camera.DoFade(500, Fade.Out)

:HEIST9_46332
if 
  Camera.GetFadingStatus
goto_if_false @HEIST9_46356
wait 0
goto @HEIST9_46332

:HEIST9_46356
return 

:HEIST9_46358
Camera.DoFade(500, Fade.In)

:HEIST9_46365
if 
  Camera.GetFadingStatus
goto_if_false @HEIST9_46389
wait 0
goto @HEIST9_46365

:HEIST9_46389
return 

:HEIST9_46391
if 
is_ps2_keyboard_key_just_pressed 89
goto_if_false @HEIST9_46482
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_46482
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2179.354, 1673.18, 10.0469)
Char.SetHeading($stattreadstamina_ctr, 285.6208)
Camera.SetBehindPlayer
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_46475
Char.StopFacialTalk($stattreadstamina_ctr)

:HEIST9_46475
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:HEIST9_46482
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @HEIST9_46543
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_46543
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2176.583, 1600.462, 998.9749)
Char.SetHeading($stattreadstamina_ctr, 179.7799)

:HEIST9_46543
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @HEIST9_46746
gosub @HEIST9_46289
Camera.SetFixedPosition(2144.677, 1614.061, 1001.469, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2144.413, 1615.016, 1001.331, SwitchType.JumpCut)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_46710
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetVelocity($stattreadstamina_ctr, 0.0, 0.0, 0.0)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2142.664, 1617.397, 999.968)
Char.SetHeading($stattreadstamina_ctr, 352.2108)
Task.ShootAtCoord($stattreadstamina_ctr, 2142.664, 1620.397, 1003.0, 1000)

:HEIST9_46710
wait 4000
World.ClearArea(2143.124, 1618.427, 999.968, 10.0, True)
gosub @HEIST9_46306

:HEIST9_46746
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @HEIST9_46830
Streaming.SetAreaVisible(1)
Streaming.LoadScene(2147.778, 1611.972, 1005.188)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_46830
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2147.778, 1611.972, 1005.188)
Char.SetHeading($stattreadstamina_ctr, 182.1343)
Camera.SetBehindPlayer

:HEIST9_46830
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @HEIST9_47095
gosub @HEIST9_46325
gosub @HEIST9_46289
Streaming.RequestModel(330)
Streaming.LoadSpecialCharacter(1, 'ZERO')

:HEIST9_46877
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(330)
goto_if_false @HEIST9_46908
wait 0
goto @HEIST9_46877

:HEIST9_46908
Game.SetNightVision(False)
Camera.SetDarknessEffect(True, 220)
Camera.SetFixedPosition(2219.456, 1587.37, 999.1768, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2219.68, 1586.409, 999.3383, SwitchType.JumpCut)
97@ = Char.Create(PedType.Special, 290, 2221.122, 1582.974, 998.9675)
Char.SetAreaVisible(97@, 1)
Char.SetHeading(97@, 4.8671)
Task.UseMobilePhone(97@, True)
gosub @HEIST9_46358
Text.PrintNow('HM9_46', 4000, 1)
wait 2000
Camera.SetDarknessEffect(False, 0)
wait 2000
gosub @HEIST9_46306
Text.PrintNow('HM9_8', 5000, 1)
105@ = 1
200@ = 1

:HEIST9_47095
if 
is_ps2_keyboard_key_just_pressed 67
goto_if_false @HEIST9_47156
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_47156
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2144.021, 1612.867, 992.5681)
Char.SetHeading($stattreadstamina_ctr, 0.0)

:HEIST9_47156
if 
is_ps2_keyboard_key_just_pressed 69
goto_if_false @HEIST9_47194
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_47194
Player.RestoreClothesState
Player.BuildModel($statbike_temp)

:HEIST9_47194
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @HEIST9_47367
38@ = 6
46@ = Car.Create(530, 2173.621, 1585.964, 998.9722)
Car.SetAreaVisible(46@, 1)
Car.SetHeading(46@, 270.0)
Car.ChangeColor(46@, 6, 6)
Streaming.MarkModelAsNoLongerNeeded(530)
209@ = 1
if 
  not Car.IsDead(46@)
goto_if_false @HEIST9_47300
Car.SetAreaVisible(46@, 1)

:HEIST9_47300
Streaming.SetAreaVisible(1)
Streaming.LoadScene(2256.551, 1704.762, 1.1747)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_47367
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2220.37, 1574.484, 998.9695)
Char.SetHeading($stattreadstamina_ctr, 180.0)

:HEIST9_47367
if 
is_ps2_keyboard_key_just_pressed 76
goto_if_false @HEIST9_47428
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_47428
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 1962.841, 1060.633, 993.4688)
Char.SetHeading($stattreadstamina_ctr, 346.1133)

:HEIST9_47428
if 
is_ps2_keyboard_key_just_pressed 85
goto_if_false @HEIST9_47496
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_47489
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 362.6579, 2525.248, 15.6336)
Char.SetHeading($stattreadstamina_ctr, 11.8402)

:HEIST9_47489
38@ = 18

:HEIST9_47496
if 
is_ps2_keyboard_key_just_pressed 90
goto_if_false @HEIST9_48136
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_47557
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 346.9504, 2539.025, 15.7546)
Char.SetHeading($stattreadstamina_ctr, 2.8895)

:HEIST9_47557
gosub @HEIST9_46289
Camera.SetFixedPosition(350.102, 2536.995, 16.9325, 0.0, 0.0, 0.0)
Camera.PointAtPoint(349.5165, 2537.801, 16.844, SwitchType.JumpCut)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_47667
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 1.0, False, False, False, False, -1)

:HEIST9_47667
Text.PrintNow('HE8_ZA', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19128)

:HEIST9_47694
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_47720
wait 0
goto @HEIST9_47694

:HEIST9_47720
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_47731
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_47757
wait 0
goto @HEIST9_47731

:HEIST9_47757
Text.PrintNow('HE8_ZB', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19129)

:HEIST9_47784
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_47810
wait 0
goto @HEIST9_47784

:HEIST9_47810
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_47821
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_47847
wait 0
goto @HEIST9_47821

:HEIST9_47847
Text.PrintNow('HE8_ZC', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 65535)

:HEIST9_47876
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_47902
wait 0
goto @HEIST9_47876

:HEIST9_47902
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_47913
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_47939
wait 0
goto @HEIST9_47913

:HEIST9_47939
Text.PrintNow('HE8_ZD', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19130)

:HEIST9_47966
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_47992
wait 0
goto @HEIST9_47966

:HEIST9_47992
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_48003
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_48029
wait 0
goto @HEIST9_48003

:HEIST9_48029
gosub @HEIST9_46325
Char.Delete(54@)
Char.Delete(97@)
Car.Delete(51@)
Object.Delete(61@)
Object.Delete(62@)
Object.Delete(63@)
Object.Delete(64@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_48122
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 347.167, 2538.484, 15.7535)
Char.SetHeading($stattreadstamina_ctr, 191.987)

:HEIST9_48122
gosub @HEIST9_46306
gosub @HEIST9_46358

:HEIST9_48136
if 
is_ps2_keyboard_key_just_pressed 79
goto_if_false @HEIST9_48155
Hud.SetRadarZoom(0)

:HEIST9_48155
if 
is_ps2_keyboard_key_just_pressed 82
goto_if_false @HEIST9_48174
Hud.SetRadarZoom(100)

:HEIST9_48174
if 
is_ps2_keyboard_key_just_pressed 84
goto_if_false @HEIST9_49689
Streaming.RequestModel(117)
Streaming.RequestModel(120)
Streaming.RequestModel(428)
Streaming.RequestModel(523)
Streaming.RequestModel(284)
Streaming.LoadSpecialCharacter(1, 'ZERO')

:HEIST9_48225
if or
  not Streaming.HasModelLoaded(117)
  not Streaming.HasModelLoaded(120)
  not Streaming.HasModelLoaded(428)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(523)
  not Streaming.HasModelLoaded(284)
goto_if_false @HEIST9_48274
wait 0
goto @HEIST9_48225

:HEIST9_48274
Streaming.RequestCarRecording(494)

:HEIST9_48279
if 
  not Streaming.HasCarRecordingBeenLoaded(494)
goto_if_false @HEIST9_48306
wait 0
goto @HEIST9_48279

:HEIST9_48306
Object.Delete(49@)
387@ = Car.Create(428, 2220.389, 1577.623, 998.0)
Car.SetAreaVisible(387@, 1)
Car.SetHeading(387@, 179.9804)
54@ = Char.Create(PedType.Mission2, 117, 2224.042, 1589.367, 998.967)
Char.SetAreaVisible(54@, 1)
Char.SetHeading(54@, 165.2519)
55@ = Char.Create(PedType.Mission2, 120, 2222.893, 1589.583, 998.9684)
Char.SetAreaVisible(55@, 1)
Char.SetHeading(55@, 173.9364)
56@ = Char.Create(PedType.Mission2, 120, 2221.866, 1589.245, 998.9696)
Char.SetAreaVisible(56@, 1)
Char.SetHeading(56@, 177.0563)
57@ = Char.Create(PedType.Mission2, 120, 2220.723, 1589.224, 998.971)
Char.SetAreaVisible(57@, 1)
Char.SetHeading(57@, 171.7417)
gosub @HEIST9_46289
Camera.SetFixedPosition(2216.721, 1579.81, 1000.833, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2217.382, 1580.538, 1000.654, SwitchType.JumpCut)
Text.PrintNow('HE8_UA', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19104)

:HEIST9_48600
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_48626
wait 0
goto @HEIST9_48600

:HEIST9_48626
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_48637
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_48687
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_48680
goto @HEIST9_49515

:HEIST9_48680
goto @HEIST9_48637

:HEIST9_48687
Text.PrintNow('HE8_UB', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 19105)

:HEIST9_48714
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_48740
wait 0
goto @HEIST9_48714

:HEIST9_48740
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
TIMERB = 0

:HEIST9_48751
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @HEIST9_48801
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_48794
goto @HEIST9_49515

:HEIST9_48794
goto @HEIST9_48751

:HEIST9_48801
Char.Delete(97@)
Char.Delete(56@)
Char.Delete(57@)
Camera.SetFixedPosition(2216.914, 1571.622, 999.7229, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2217.27, 1572.557, 999.7267, SwitchType.JumpCut)
281@ = Char.Create(PedType.Mission2, 284, 2220.8, 1581.163, 998.9764)
Char.SetHeading(281@, 196.0524)
Char.SetAreaVisible(281@, 1)
282@ = Char.Create(PedType.Mission2, 284, 2220.019, 1581.179, 998.9772)
Char.SetHeading(282@, 74.4668)
Char.SetAreaVisible(282@, 1)
if and
  not Car.IsDead(387@)
  not Char.IsDead(54@)
goto_if_false @HEIST9_48983
Task.EnterCarAsDriver(54@, 387@, 8000)

:HEIST9_48983
if and
  not Car.IsDead(387@)
  not Char.IsDead(55@)
goto_if_false @HEIST9_49017
Task.EnterCarAsPassenger(55@, 387@, 8000, 0)

:HEIST9_49017
TIMERB = 0

:HEIST9_49024
if 
  4000 > TIMERB
goto_if_false @HEIST9_49078
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_49071
goto @HEIST9_49515

:HEIST9_49071
goto @HEIST9_49024

:HEIST9_49078
if and
  not Car.IsDead(279@)
  not Char.IsDead(281@)
goto_if_false @HEIST9_49110
Task.EnterCarAsDriver(281@, 279@, 4000)

:HEIST9_49110
if and
  not Car.IsDead(280@)
  not Char.IsDead(282@)
goto_if_false @HEIST9_49142
Task.EnterCarAsDriver(282@, 280@, 4000)

:HEIST9_49142
TIMERB = 0

:HEIST9_49149
if 
  4000 > TIMERB
goto_if_false @HEIST9_49203
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_49196
goto @HEIST9_49515

:HEIST9_49196
goto @HEIST9_49149

:HEIST9_49203
Camera.SetFixedPosition(2223.85, 1572.014, 1001.623, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2223.371, 1572.844, 1001.336, SwitchType.JumpCut)
if and
  Streaming.HasCarRecordingBeenLoaded(494)
  not Car.IsDead(387@)
goto_if_false @HEIST9_49283
Car.StartPlayback(387@, 494)

:HEIST9_49283
TIMERB = 0

:HEIST9_49290
if 
  500 > TIMERB
goto_if_false @HEIST9_49344
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_49337
goto @HEIST9_49515

:HEIST9_49337
goto @HEIST9_49290

:HEIST9_49344
if and
  not Car.IsDead(279@)
  not Char.IsDead(281@)
goto_if_false @HEIST9_49399
Task.CarDriveToCoord(281@, 279@, 2223.486, 1564.463, 1001.016, 10.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:HEIST9_49399
if and
  not Car.IsDead(280@)
  not Char.IsDead(282@)
goto_if_false @HEIST9_49454
Task.CarDriveToCoord(282@, 280@, 2217.319, 1566.6, 1000.3, 10.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:HEIST9_49454
TIMERB = 0

:HEIST9_49461
if 
  2000 > TIMERB
goto_if_false @HEIST9_49515
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @HEIST9_49508
goto @HEIST9_49515

:HEIST9_49508
goto @HEIST9_49461

:HEIST9_49515
58@ = 0

:HEIST9_49522
if 
  Blip.DoesExist(91@(58@,4i))
goto_if_false @HEIST9_49560
Blip.Remove(91@(58@,4i))
Char.Delete(54@(58@,4i))

:HEIST9_49560
58@ += 1
  58@ >= 4
goto_if_false @HEIST9_49522
if 
  not Car.IsDead(387@)
goto_if_false @HEIST9_49602
Car.Delete(387@)

:HEIST9_49602
if 
  not Car.IsDead(279@)
goto_if_false @HEIST9_49623
Car.Delete(279@)

:HEIST9_49623
if 
  not Car.IsDead(280@)
goto_if_false @HEIST9_49644
Car.Delete(280@)

:HEIST9_49644
if 
  not Char.IsDead(97@)
goto_if_false @HEIST9_49665
Char.Delete(97@)

:HEIST9_49665
gosub @HEIST9_46306
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(120)
Streaming.MarkModelAsNoLongerNeeded(285)
Streaming.UnloadSpecialCharacter(2)

:HEIST9_49689
if 
is_ps2_keyboard_key_just_pressed 73
goto_if_false @HEIST9_49727
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_49727
Player.TakeOffGoggles($statbike_temp, True)

:HEIST9_49727
if 
is_ps2_keyboard_key_just_pressed 87
goto_if_false @HEIST9_49785
38@ = 18
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_49785
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 338.0, 2540.563, 15.7743)

:HEIST9_49785
if 
is_ps2_keyboard_key_just_pressed 74
goto_if_false @HEIST9_50386
Streaming.RequestModel(523)
Streaming.RequestModel(284)
Streaming.LoadSpecialCharacter(1, 'ZERO')

:HEIST9_49823
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(523)
  not Streaming.HasModelLoaded(284)
  not Streaming.HasModelLoaded(284)
goto_if_false @HEIST9_49864
wait 0
goto @HEIST9_49823

:HEIST9_49864
Streaming.RequestCarRecording(494)
Streaming.LoadSpecialCharacter(1, 'ZERO')

:HEIST9_49882
if 
  not Streaming.HasCarRecordingBeenLoaded(494)
goto_if_false @HEIST9_49909
wait 0
goto @HEIST9_49882

:HEIST9_49909
World.SwitchEntryExit('JUMP1', True)
World.SwitchEntryExit('JUMP2', False)
106@ = 1
World.ClearArea(2220.34, 1582.068, 998.9764, 10.0, True)
97@ = Char.Create(PedType.Mission2, 290, 2220.34, 1582.068, 998.9764)
Char.SetAreaVisible(97@, 1)
Char.SetHeading(97@, 350.4443)
279@ = Car.Create(523, 2223.699, 1582.78, 998.0)
Car.SetAreaVisible(279@, 1)
Car.SetHeading(279@, 175.8434)
Car.LockDoors(279@, CarLock.LockoutPlayerOnly)
Car.FreezePosition(279@, True)
280@ = Car.Create(523, 2217.549, 1583.667, 998.0)
Car.SetAreaVisible(280@, 1)
Car.SetHeading(280@, 175.3717)
Car.LockDoors(280@, CarLock.LockoutPlayerOnly)
Car.FreezePosition(280@, True)
gosub @HEIST9_1936
if 
  not Car.IsDead(51@)
goto_if_false @HEIST9_50169
Car.SetCoordinates(51@, 2220.294, 1578.07, 998.9756)
Car.SetHeading(51@, 177.9097)

:HEIST9_50169
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_50215
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2216.031, 1618.646, 998.9766)
Char.SetHeading($stattreadstamina_ctr, 269.4771)

:HEIST9_50215
if 
  not Char.IsDead(54@)
goto_if_false @HEIST9_50256
Char.WarpFromCarToCoord(54@, 2219.758, 1585.285, 998.9722)
Char.ClearTasksImmediately(54@)

:HEIST9_50256
if 
  not Char.IsDead(55@)
goto_if_false @HEIST9_50297
Char.WarpFromCarToCoord(55@, 2221.883, 1584.261, 998.9696)
Char.ClearTasksImmediately(55@)

:HEIST9_50297
if 
  not Char.IsDead(56@)
goto_if_false @HEIST9_50338
Char.WarpFromCarToCoord(56@, 2222.705, 1586.266, 998.9686)
Char.ClearTasksImmediately(56@)

:HEIST9_50338
if 
  not Char.IsDead(57@)
goto_if_false @HEIST9_50379
Char.WarpFromCarToCoord(57@, 2220.302, 1586.568, 998.9716)
Char.ClearTasksImmediately(57@)

:HEIST9_50379
38@ = 14

:HEIST9_50386
return 

:HEIST9_50388
388@ = Streaming.GetAreaVisible()
gosub @HEIST9_46325
Game.SetNightVision(False)
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Game.IsMinigameInProgress
goto_if_false @HEIST9_50563
Streaming.SetAreaVisible(0)
Streaming.LoadScene(2185.739, 1677.396, 10.0946)
World.ClearArea(2185.739, 1677.396, 10.0946, 10.0, True)
Streaming.RequestCollision(2185.739, 1677.396)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HEIST9_50522
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2185.739, 1677.396, 10.0946)
goto @HEIST9_50542

:HEIST9_50522
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 2185.739, 1677.396, 10.0946)

:HEIST9_50542
Char.SetHeading($stattreadstamina_ctr, 88.4776)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Camera.RestoreJumpcut
Camera.SetBehindPlayer

:HEIST9_50563
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_50593
Player.RestoreClothesState
Player.BuildModel($statbike_temp)
230@ = 1

:HEIST9_50593
gosub @HEIST9_46358
return 

:HEIST9_50602
gosub @HEIST9_46325
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HEIST9_50639
Player.RestoreClothesState
Player.BuildModel($statbike_temp)
230@ = 1

:HEIST9_50639
gosub @HEIST9_46358
return 

:HEIST9_50648
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 232@)
231@ = 0
return 

:HEIST9_50668
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  231@ == 0
goto_if_false @HEIST9_50711
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(288@s, 20000, 1)
231@ = 1

:HEIST9_50711
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  231@ == 1
goto_if_false @HEIST9_50749
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(288@s)
231@ = 2

:HEIST9_50749
return 

//-------------Mission 102---------------
// Originally: A Home In The Hills

:MANSIO1
script_name 'MANSIO1'
gosub @MANSIO1_47
if 
  has_deatharrest_been_executed 
goto_if_false @MANSIO1_38
gosub @MANSIO1_38488

:MANSIO1_38
gosub @MANSIO1_39063
terminate_this_script 

:MANSIO1_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
Char.SetCoordinates($stattreadstamina_ctr, 2175.412, 1681.548, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 2233.5, 1712.8, 10.0)
Text.LoadMissionText('MAN_1')
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
$1253 = 1
Streaming.SetAreaVisible(11)
Cutscene.Load('BHILL1')

:MANSIO1_150
if 
  not Cutscene.HasLoaded
goto_if_false @MANSIO1_174
wait 0
goto @MANSIO1_150

:MANSIO1_174
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MANSIO1_183
if 
  not Cutscene.HasFinished
goto_if_false @MANSIO1_207
wait 0
goto @MANSIO1_183

:MANSIO1_207
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:MANSIO1_222
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_246
wait 0
goto @MANSIO1_222

:MANSIO1_246
Streaming.SetAreaVisible(0)
Hud.DisplayZoneNames(False)
Game.SetScriptLimitToGangSize(99)
start_new_script @A_CONT 
Streaming.LoadSceneInDirection(2171.137, 1269.357, 32.8078, 0.0)
Streaming.RequestModel(592)

:MANSIO1_293
if 
  not Streaming.HasModelLoaded(592)
goto_if_false @MANSIO1_320
wait 0
goto @MANSIO1_293

:MANSIO1_320
Char.SetAreaVisible($stattreadstamina_ctr, 0)
96@ = Car.Create(592, 2144.0, 1600.0, 50.0)
Car.SetHeading(96@, 180.0)
Audio.SetRadioChannel(RadioChannel.UserTracks)
Plane.SetUndercarriageUp(96@, True)
Car.FreezePosition(96@, True)
Car.SetAreaVisible(96@, 0)
Char.WarpIntoCar($stattreadstamina_ctr, 96@)
49@ = 0
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
Clock.SetTimeOfDay(6, 0)
Camera.SetFixedPosition(2171.137, 1269.357, 32.8078, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2170.998, 1270.331, 32.9838, SwitchType.JumpCut)
Restart.SetRespawnPointForDurationOfMission(1581.374, 1768.996, 9.8203)
Hud.SwitchWidescreen(True)
Weather.SetHeathazeEffect(True)
TIMERA = 0

:MANSIO1_493
if 
  1000 > TIMERA
goto_if_false @MANSIO1_523
wait 0
goto @MANSIO1_493

:MANSIO1_523
skip_cutscene_start_internal @MANSIO1_703
97@ = 1600.0
Camera.DoFade(1000, Fade.In)

:MANSIO1_547
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_615
if 
  not Car.IsDead(96@)
goto_if_false @MANSIO1_604
97@ -= 1.5
Car.SetCoordinates(96@, 2144.0, 97@, 50.0)

:MANSIO1_604
wait 0
goto @MANSIO1_547

:MANSIO1_615
TIMERA = 0

:MANSIO1_622
if 
  9000 > TIMERA
goto_if_false @MANSIO1_696
if 
  not Car.IsDead(96@)
goto_if_false @MANSIO1_685
97@ -= 1.5
Car.SetCoordinates(96@, 2144.0, 97@, 50.0)

:MANSIO1_685
wait 0
goto @MANSIO1_622

:MANSIO1_696
49@ = 1

:MANSIO1_703
skip_cutscene_end 
Camera.DoFade(1000, Fade.Out)

:MANSIO1_712
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_780
if 
  not Car.IsDead(96@)
goto_if_false @MANSIO1_769
97@ -= 1.5
Car.SetCoordinates(96@, 2144.0, 97@, 50.0)

:MANSIO1_769
wait 0
goto @MANSIO1_712

:MANSIO1_780
Weather.SetHeathazeEffect(False)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSIO1_827
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1598.951, -785.327, 350.1654)
goto @MANSIO1_847

:MANSIO1_827
Char.SetCoordinates($stattreadstamina_ctr, 1598.951, -785.327, 350.1654)

:MANSIO1_847
Char.FreezePosition($stattreadstamina_ctr, True)
Streaming.MarkModelAsNoLongerNeeded(592)
Car.MarkAsNoLongerNeeded(96@)
Streaming.RequestModel(117)
Streaming.RequestModel(118)
Streaming.RequestModel(108)
Streaming.RequestModel(109)
Streaming.RequestModel(356)
Streaming.RequestModel(353)
Streaming.RequestModel(#CARGO_REAR)
Streaming.RequestModel(#D9_RAMP)
Streaming.RequestModel(330)
Streaming.RequestModel(#PARACHUTE)
Streaming.RequestModel(#PARA_PACK)
Streaming.RequestAnimation("PARACHUTE")
StreamedScript.Stream(1)

:MANSIO1_932
if or
  not Streaming.HasModelLoaded(117)
  not Streaming.HasModelLoaded(118)
  not Streaming.HasModelLoaded(108)
  not Streaming.HasModelLoaded(109)
  not Streaming.HasModelLoaded(356)
  not Streaming.HasModelLoaded(353)
goto_if_false @MANSIO1_980
wait 0
goto @MANSIO1_932

:MANSIO1_980
if or
  not Streaming.HasModelLoaded(#CARGO_REAR)
  not Streaming.HasModelLoaded(#D9_RAMP)
  not Streaming.HasModelLoaded(330)
  not Streaming.HasModelLoaded(#PARACHUTE)
  not Streaming.HasModelLoaded(#PARA_PACK)
  not Streaming.HasAnimationLoaded("PARACHUTE")
goto_if_false @MANSIO1_1040
wait 0
goto @MANSIO1_980

:MANSIO1_1040
if 
  not StreamedScript.HasLoaded(1)
goto_if_false @MANSIO1_1066
wait 0
goto @MANSIO1_1040

:MANSIO1_1066
52@ = 0
34@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
35@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.AddEventResponse(35@, 36, 1024, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(35@, 36, 1700, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(35@, 9, 1000, 0.0, 100.0, 0.0, 0.0, False, True)
36@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.AddEventResponse(36@, 36, 1024, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(36@, 36, 1700, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(36@, 9, 1000, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(36@, 15, 300, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(36@, 65, 300, 10.0, 10.0, 10.0, 10.0, False, True)
37@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.AddEventResponse(37@, 36, 927, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(37@, 37, 927, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(37@, 9, 911, 0.0, 100.0, 0.0, 0.0, False, True)
39@ = DecisionMakerGroup.Load(0)
DecisionMakerGroup.ClearEventResponse(39@, 9)
DecisionMakerGroup.AddEventResponse(39@, 9, 1502, 0.0, 100.0, 0.0, 0.0, False, True)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Mission1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Mission1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission3, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission3, PedType.Mission1)
Game.SetRelationship(RelationshipType.Dislike, PedType.Mission3, PedType.Mission2)
44@ = Player.GetGroup($statbike_temp)
Group.SetDefaultTaskAllocator(44@, DefaultTaskAllocator.FollowAnyMeans)
Group.SetDecisionMaker(44@, 39@)
98@ = 0
if 
  98@ == 1
goto_if_false @MANSIO1_1842
143@(431@,3i) = Char.Create(PedType.CivMale, 117, 0.0, 0.0, 0.0)
159@ = Char.Create(PedType.CivMale, 117, 0.0, 0.0, 0.0)
170@(43@,6i) = Char.Create(PedType.CivMale, 117, 0.0, 0.0, 0.0)
286@(43@,10i) = Char.Create(PedType.CivMale, 117, 0.0, 0.0, 0.0)
474@(43@,3i) = Char.Create(PedType.CivMale, 117, 0.0, 0.0, 0.0)
316@(43@,4i) = Char.Create(PedType.CivMale, 117, 0.0, 0.0, 0.0)
194@(43@,6i) = Object.Create(#CARDBOARDBOX2, 0.0, 0.0, 0.0)
146@(43@,3i) = Blip.AddForChar(143@(43@,3i))

:MANSIO1_1842
Game.SwitchAmbientPlanes(False)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Weather.ForceNow(WeatherType.SunnyLa)
Clock.SetTimeOfDay(3, 0)
127@ = Object.CreateNoOffset(#CARGO_REAR, 1595.0, -785.0, 350.0)
Object.SetHeading(127@, 90.0)
Object.FreezePosition(127@, True)
128@ = Object.CreateNoOffset(#D9_RAMP, 1595.03, -784.98, 348.758)
Object.SetHeading(128@, 90.0)
Object.FreezePosition(128@, True)
Char.FreezePosition($stattreadstamina_ctr, False)
Char.SetCoordinates($stattreadstamina_ctr, 1594.393, -784.7317, 349.0)
Char.SetHeading($stattreadstamina_ctr, 36.9506)
131@ = Char.Create(PedType.Mission1, 117, 1595.303, -783.4741, 349.0)
Char.SetHeading(131@, 205.0)
Char.SetAreaVisible(131@, 0)
Char.GiveWeapon(131@, WeaponType.M4, 30000)
Char.SetCurrentWeapon(131@, WeaponType.M4)
Char.SetNeverTargeted(131@, True)
Char.SetDecisionMaker(131@, 34@)
Char.SetSignalAfterKill(131@, False)
152@ = Object.Create(#PARA_PACK, 1595.303, -783.4741, 349.0)
Task.PickUpObject(131@, 152@, -0.11, -0.05, 0.0, 1, 16, "NULL", "NULL", 0)
Char.SetProofs(131@, True, False, False, False, False)
139@ = 0
135@ = 0
132@ = Char.Create(PedType.Mission1, 118, 1596.97, -786.8875, 349.0)
Char.SetHeading(132@, 2.0)
Char.SetAreaVisible(132@, 0)
Char.GiveWeapon(132@, WeaponType.M4, 30000)
Char.SetCurrentWeapon(132@, WeaponType.M4)
Char.SetNeverTargeted(132@, True)
Char.SetDecisionMaker(132@, 34@)
Char.SetSignalAfterKill(132@, False)
153@ = Object.Create(#PARA_PACK, 1596.97, -786.8875, 349.0)
Task.PickUpObject(132@, 153@, -0.11, -0.05, 0.0, 1, 16, "NULL", "NULL", 0)
Char.SetProofs(132@, True, False, False, False, False)
140@ = 1500
136@ = 0
133@ = Char.Create(PedType.Mission1, 118, 1598.448, -782.9297, 349.0)
Char.SetHeading(133@, 175.0)
Char.SetAreaVisible(133@, 0)
Char.GiveWeapon(133@, WeaponType.M4, 30000)
Char.SetCurrentWeapon(133@, WeaponType.M4)
Char.SetNeverTargeted(133@, True)
Char.SetDecisionMaker(133@, 34@)
Char.SetSignalAfterKill(133@, False)
154@ = Object.Create(#PARA_PACK, 1598.448, -782.9297, 349.0)
Task.PickUpObject(133@, 154@, -0.11, -0.05, 0.0, 1, 16, "NULL", "NULL", 0)
Char.SetProofs(133@, True, False, False, False, False)
141@ = 3000
137@ = 0
134@ = Char.Create(PedType.Mission1, 117, 1599.034, -786.9792, 349.0)
Char.SetHeading(134@, 347.0)
Char.SetAreaVisible(134@, 0)
Char.GiveWeapon(134@, WeaponType.M4, 30000)
Char.SetCurrentWeapon(134@, WeaponType.M4)
Char.SetNeverTargeted(134@, True)
Char.SetDecisionMaker(134@, 34@)
Char.SetSignalAfterKill(134@, False)
155@ = Object.Create(#PARA_PACK, 1599.034, -786.9792, 349.0)
Task.PickUpObject(134@, 155@, -0.11, -0.05, 0.0, 1, 16, "NULL", "NULL", 0)
Char.SetProofs(134@, True, False, False, False, False)
142@ = 5000
138@ = 0
if 
  49@ == 0
goto_if_false @MANSIO1_2700
goto @MANSIO1_5657

:MANSIO1_2700
49@ = 0
Streaming.LoadScene(1597.615, -784.5765, 350.0)
Camera.SetFixedPosition(1598.951, -785.327, 350.1654, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1598.351, -784.5302, 350.089, SwitchType.JumpCut)
TIMERA = 0

:MANSIO1_2782
if 
  500 > TIMERA
goto_if_false @MANSIO1_2812
wait 0
goto @MANSIO1_2782

:MANSIO1_2812
Camera.SetShakeSimulationSimple(1, 50000.0, 3.0)
109@ = Char.GetCurrentWeapon($stattreadstamina_ctr)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles)
goto_if_false @MANSIO1_2905
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles)
110@ = 1
Streaming.RequestModel(331)

:MANSIO1_2871
if 
  not Streaming.HasModelLoaded(331)
goto_if_false @MANSIO1_2898
wait 0
goto @MANSIO1_2871

:MANSIO1_2898
goto @MANSIO1_2912

:MANSIO1_2905
110@ = 0

:MANSIO1_2912
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Camera.DoFade(500, Fade.In)

:MANSIO1_2926
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_2950
wait 0
goto @MANSIO1_2926

:MANSIO1_2950
skip_cutscene_start_internal @MANSIO1_4063
45@ = Sequence.Open()
Task.StandStill(-1, 1500)
Task.GoStraightToCoord(-1, 1598.05, -784.5205, 349.0, MoveState.Walk, -1)
Task.AchieveHeading(-1, 257.9061)
Task.StayInSamePlace(-1, True)
Task.UseMobilePhone(-1, True)
Sequence.Close(45@)
Char.PerformSequence($stattreadstamina_ctr, 45@)
Sequence.Clear(45@)
set_lvar_text_label 76@s = 'MKND02A'
set_lvar_int_to_constant 55@ = 27009
set_lvar_int_to_var_int 65@ = $stattreadstamina_ctr
set_lvar_text_label 78@s = 'MKND02B'
set_lvar_int_to_constant 56@ = 27010
66@ = -1
set_lvar_text_label 80@s = 'MKND02C'
set_lvar_int_to_constant 57@ = 27011
set_lvar_int_to_var_int 67@ = $stattreadstamina_ctr
set_lvar_text_label 82@s = 'MKND02D'
set_lvar_int_to_constant 58@ = 27012
68@ = -1
set_lvar_text_label 84@s = 'MKND02E'
set_lvar_int_to_constant 59@ = 27013
69@ = -1
set_lvar_text_label 86@s = 'MKND02F'
set_lvar_int_to_constant 60@ = 27014
70@ = -1
set_lvar_text_label 88@s = 'MKND02G'
set_lvar_int_to_constant 61@ = 27015
set_lvar_int_to_var_int 71@ = $stattreadstamina_ctr
set_lvar_text_label 90@s = 'MKND02H'
set_lvar_int_to_constant 62@ = 27016
72@ = -1
set_lvar_text_label 92@s = 'MKND02J'
set_lvar_int_to_constant 63@ = 27017
73@ = -1
set_lvar_text_label 94@s = 'MKND02K'
set_lvar_int_to_constant 64@ = 27018
set_lvar_int_to_var_int 74@ = $stattreadstamina_ctr
75@ = 0

:MANSIO1_3332
if 
  46@ == 0
goto_if_false @MANSIO1_3369
wait 0
46@ = Char.GetSequenceProgress($stattreadstamina_ctr)
goto @MANSIO1_3332

:MANSIO1_3369
set_var_int_to_constant $1280 = 20804
set_var_text_label s$SLOT_status = 'MOBRING'
start_new_script @A_ALAP 0 99 

:MANSIO1_3403
if 
  $cash($height_int_hj,2i) <> -3
goto_if_false @MANSIO1_3436
wait 0
goto @MANSIO1_3403

:MANSIO1_3436
$cash($height_int_hj,2i) = -4
46@ = Char.GetSequenceProgress($stattreadstamina_ctr)

:MANSIO1_3455
if 
  46@ <> 4
goto_if_false @MANSIO1_3492
wait 0
46@ = Char.GetSequenceProgress($stattreadstamina_ctr)
goto @MANSIO1_3455

:MANSIO1_3492
wait 2250

:MANSIO1_3497
if 
  10 > 75@
goto_if_false @MANSIO1_3657
set_var_int_to_lvar_int $1280 = 55@(75@,10i)
set_var_text_label s$SLOT_status = 76@(75@,10s)
if 
  65@(75@,10i) <> -1
goto_if_false @MANSIO1_3587
start_new_script @A_ALAP 2 100 65@(75@,10i) 
goto @MANSIO1_3599

:MANSIO1_3587
start_new_script @A_ALAP 0 100 

:MANSIO1_3599
if 
  $cash($height_int_hj,2i) <> -3
goto_if_false @MANSIO1_3632
wait 0
goto @MANSIO1_3599

:MANSIO1_3632
$cash($height_int_hj,2i) = -4
75@ += 1
goto @MANSIO1_3497

:MANSIO1_3657
if or
  $cash($flag_takeoff_hj,2i) <> -4
  $cash($height_int_hj,2i) <> -4
goto_if_false @MANSIO1_3701
wait 0
goto @MANSIO1_3657

:MANSIO1_3701
Task.UseMobilePhone($stattreadstamina_ctr, False)
wait 2000
if 
  not Char.IsDead(133@)
goto_if_false @MANSIO1_3745
Task.TurnCharToFaceChar($stattreadstamina_ctr, 133@)
Task.TurnCharToFaceChar(133@, $stattreadstamina_ctr)

:MANSIO1_3745
set_var_int_to_constant $1280 = 23808
set_var_text_label s$SLOT_status = 'MAN1_CA'
start_new_script @A_ALAP 1 100 $stattreadstamina_ctr 

:MANSIO1_3782
if 
  $cash($height_int_hj,2i) <> -3
goto_if_false @MANSIO1_3815
wait 0
goto @MANSIO1_3782

:MANSIO1_3815
$cash($height_int_hj,2i) = -4
set_var_int_to_constant $1280 = 23809
set_var_text_label s$SLOT_status = 'MAN1_CB'
start_new_script @A_ALAP 2 100 133@ 

:MANSIO1_3863
if 
  $cash($height_int_hj,2i) <> -3
goto_if_false @MANSIO1_3896
wait 0
goto @MANSIO1_3863

:MANSIO1_3896
$cash($height_int_hj,2i) = -4
set_var_int_to_constant $1280 = 23810
set_var_text_label s$SLOT_status = 'MAN1_CC'
start_new_script @A_ALAP 1 100 $stattreadstamina_ctr 

:MANSIO1_3944
if or
  $cash($flag_takeoff_hj,2i) <> -4
  $cash($height_int_hj,2i) <> -4
goto_if_false @MANSIO1_3988
wait 0
goto @MANSIO1_3944

:MANSIO1_3988
TIMERA = 0

:MANSIO1_3995
if 
  1000 > TIMERA
goto_if_false @MANSIO1_4025
wait 0
goto @MANSIO1_3995

:MANSIO1_4025
Camera.DoFade(500, Fade.Out)

:MANSIO1_4032
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_4056
wait 0
goto @MANSIO1_4032

:MANSIO1_4056
49@ = 1

:MANSIO1_4063
skip_cutscene_end 
Text.ClearPrints
Camera.DoFade(0, Fade.Out)

:MANSIO1_4073
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_4097
wait 0
goto @MANSIO1_4073

:MANSIO1_4097
if 
  110@ == 1
goto_if_false @MANSIO1_4129
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles, 1)
Streaming.MarkModelAsNoLongerNeeded(331)

:MANSIO1_4129
Char.SetCurrentWeapon($stattreadstamina_ctr, 109@)
Camera.ResetNewScriptables
Char.ClearTasksImmediately($stattreadstamina_ctr)
Streaming.MarkModelAsNoLongerNeeded(330)
if 
  $cash[0] >= 0
goto_if_false @MANSIO1_4174
$cash[0] = -2

:MANSIO1_4174
if 
  $cash[0] >= 0
goto_if_false @MANSIO1_4199
$cash[1] = -2

:MANSIO1_4199
Char.SetCoordinates($stattreadstamina_ctr, 1096.562, -825.7372, 85.9453)
if 
  49@ == 0
goto_if_false @MANSIO1_4244
goto @MANSIO1_5657

:MANSIO1_4244
49@ = 0
$has_freefall_started = 1347.407
$tempf1 = -811.7421
$tempf2 = 96.9707
Camera.SetFixedPosition(1385.568, -810.5753, 78.1164, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1385.498, -809.579, 78.0669, SwitchType.JumpCut)
103@ = 0
104@ = 0
105@ = 0
106@ = 0
107@ = 0
108@ = 0
Streaming.LoadScene(1385.568, -810.5753, 78.1164)
TIMERA = 0

:MANSIO1_4398
if 
  800 > TIMERA
goto_if_false @MANSIO1_4428
wait 0
goto @MANSIO1_4398

:MANSIO1_4428
Camera.DoFade(500, Fade.In)
99@ = Char.Create(PedType.Mission1, 117, 1485.536, -818.0389, 130.0)
Char.SetHeading(99@, 90.0)
Char.SetAreaVisible(99@, 0)
StreamedScript.StartNew(1, -1, -25.0, 10.0, -3.0, -1.0, 5.0, 6.5, 1, 99@)
StreamedScript.Stream(1)
skip_cutscene_start_internal @MANSIO1_4864
TIMERA = 0

:MANSIO1_4536
if 
  1000 > TIMERA
goto_if_false @MANSIO1_4572
wait 0
Clock.SetTimeOfDay(3, 0)
goto @MANSIO1_4536

:MANSIO1_4572
TIMERA = 0
111@ = 0
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(1385.568, -810.5753, 78.1164, 1368.495, -855.6013, 75.1238, 12000, True)
Camera.SetVectorTrack(1385.498, -809.579, 78.0669, 1369.012, -854.7825, 75.3725, 12000, True)

:MANSIO1_4670
if 
  14000 > TIMERA
goto_if_false @MANSIO1_4826
wait 0
if and
  111@ == 0
  TIMERA > 3000
goto_if_false @MANSIO1_4813
100@ = Char.Create(PedType.Mission1, 118, 1485.536, -818.0389, 130.0)
Char.SetHeading(100@, 90.0)
Char.SetAreaVisible(100@, 0)
StreamedScript.StartNew(1, -1, -25.0, 10.0, -3.0, -1.0, 5.0, 6.5, 1, 100@)
StreamedScript.Stream(1)
111@ = 1

:MANSIO1_4813
Clock.SetTimeOfDay(3, 0)
goto @MANSIO1_4670

:MANSIO1_4826
Camera.DoFade(1000, Fade.Out)

:MANSIO1_4833
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_4857
wait 0
goto @MANSIO1_4833

:MANSIO1_4857
49@ = 1

:MANSIO1_4864
skip_cutscene_end 
Camera.DoFade(0, Fade.Out)

:MANSIO1_4872
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_4896
wait 0
goto @MANSIO1_4872

:MANSIO1_4896
Camera.ResetNewScriptables
Camera.RestoreJumpcut
if 
  49@ == 0
goto_if_false @MANSIO1_4925
goto @MANSIO1_5657

:MANSIO1_4925
49@ = 0
115@ = 35.0
116@ = 20.0
114@ = 100.2
$has_freefall_started = 1291.266
$tempf1 = -788.1172
$tempf2 = 96.7736
117@ = 1291.153
118@ = -788.1339
119@ = 95.0
Streaming.LoadSceneInDirection(1291.266, -788.1172, 96.7736, 122.0)
Streaming.RequestModel(#OPMANS01_CUNTE)
Streaming.RequestModel(#CEHOLLYHIL06)
Streaming.RequestModel(#SUNSET22_LAWN)

:MANSIO1_5059
if or
  not Streaming.HasModelLoaded(#OPMANS01_CUNTE)
  not Streaming.HasModelLoaded(#CEHOLLYHIL06)
  not Streaming.HasModelLoaded(#SUNSET22_LAWN)
goto_if_false @MANSIO1_5096
wait 0
goto @MANSIO1_5059

:MANSIO1_5096
167@ = 2
TIMERA = 0

:MANSIO1_5110
if 
  500 > TIMERA
goto_if_false @MANSIO1_5147
wait 0
gosub @MANSIO1_10537
goto @MANSIO1_5110

:MANSIO1_5147
124@ = Particle.Create("SMOKE_FLARE", 1291.454, -775.3071, 95.5, 1)
125@ = Particle.Create("SMOKE_FLARE", 1303.211, -788.2426, 95.5, 1)
126@ = Particle.Create("SMOKE_FLARE", 1291.159, -800.4006, 95.5, 1)
101@ = Char.Create(PedType.Mission1, 118, 1323.17, -783.7548, 117.0)
Char.SetHeading(101@, 90.0)
Char.SetAreaVisible(101@, 0)
Char.GiveWeapon(101@, WeaponType.M4, 30000)
StreamedScript.StartNew(1, -1, -2.0, 1.0, -3.0, -1.0, 1.5, 3.2, 1, 101@)
StreamedScript.Stream(1)
Char.SetVelocity(101@, 0.0, 0.0, 2.0)
Char.SetDecisionMaker(101@, 34@)
102@ = Char.Create(PedType.Mission1, 117, 1323.442, -798.6427, 120.0)
Char.SetHeading(102@, 90.0)
Char.SetAreaVisible(102@, 0)
Char.GiveWeapon(102@, WeaponType.M4, 30000)
StreamedScript.StartNew(1, -1, -2.0, 1.0, -3.0, -1.0, 1.0, 2.5, 1, 102@)
StreamedScript.Stream(1)
Char.SetVelocity(102@, 0.0, 0.0, 2.0)
Char.SetDecisionMaker(102@, 34@)
Camera.DoFade(1000, Fade.In)

:MANSIO1_5509
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_5547
wait 0
gosub @MANSIO1_10537
gosub @MANSIO1_18623
goto @MANSIO1_5509

:MANSIO1_5547
skip_cutscene_start_internal @MANSIO1_5655
TIMERA = 0

:MANSIO1_5561
if 
  8 > 107@
goto_if_false @MANSIO1_5624
wait 0
gosub @MANSIO1_9333
gosub @MANSIO1_10132
Clock.SetTimeOfDay(3, 0)
gosub @MANSIO1_10537
gosub @MANSIO1_18623
goto @MANSIO1_5561

:MANSIO1_5624
Camera.DoFade(500, Fade.Out)

:MANSIO1_5631
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_5655
wait 0
goto @MANSIO1_5631

:MANSIO1_5655
skip_cutscene_end 

:MANSIO1_5657
Camera.DoFade(0, Fade.Out)

:MANSIO1_5663
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_5687
wait 0
goto @MANSIO1_5663

:MANSIO1_5687
Streaming.MarkModelAsNoLongerNeeded(#OPMANS01_CUNTE)
Streaming.MarkModelAsNoLongerNeeded(#CEHOLLYHIL06)
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Particle.Play(124@)
Particle.Play(125@)
Particle.Play(126@)
$has_freefall_started = 1291.266
$tempf1 = -788.1172
$tempf2 = 96.7736
Streaming.RequestModel(371)
Streaming.RequestModel(#CARDBOARDBOX2)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1818)

:MANSIO1_5763
if or
  not Streaming.HasModelLoaded(371)
  not Streaming.HasModelLoaded(#CARDBOARDBOX2)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @MANSIO1_5813
wait 0
167@ = 4
gosub @MANSIO1_10537
goto @MANSIO1_5763

:MANSIO1_5813
set_lvar_text_label 76@s = 'MAN1_DA'
set_lvar_int_to_constant 55@ = 23811
set_lvar_int_to_lvar_int 65@ = 131@
set_lvar_text_label 78@s = 'MAN1_DB'
set_lvar_int_to_constant 56@ = 23812
set_lvar_int_to_lvar_int 66@ = 132@
set_lvar_text_label 80@s = 'MAN1_DC'
set_lvar_int_to_constant 57@ = 23813
set_lvar_int_to_lvar_int 67@ = 131@
set_lvar_text_label 82@s = 'MAN1_DD'
set_lvar_int_to_constant 58@ = 23814
set_lvar_int_to_lvar_int 68@ = 132@
set_lvar_text_label 84@s = 'MAN1_DE'
set_lvar_int_to_constant 59@ = 23815
set_lvar_int_to_lvar_int 69@ = 131@
set_lvar_text_label 86@s = 'MAN1_DF'
set_lvar_int_to_constant 60@ = 23816
set_lvar_int_to_lvar_int 70@ = 132@
set_lvar_text_label 88@s = 'MAN1_DG'
set_lvar_int_to_constant 61@ = 23817
set_lvar_int_to_lvar_int 71@ = 132@
set_lvar_text_label 90@s = 'MAN1_DH'
set_lvar_int_to_constant 62@ = 23818
set_lvar_int_to_lvar_int 72@ = 133@
set_lvar_text_label 92@s = 'MAN1_DJ'
set_lvar_int_to_constant 63@ = 23819
set_lvar_int_to_lvar_int 73@ = 134@
129@ = Object.CreateNoOffset(#CARDBOARDBOX2, 1601.759, -785.1198, 349.95)
Object.SetHeading(129@, 90.0)
Object.FreezePosition(129@, True)
Object.SetVisible(129@, False)
Object.SetCollision(129@, False)
Camera.RestoreJumpcut
Char.AttachToObject($stattreadstamina_ctr, 129@, 0.0, 0.0, 0.0, 0, 40.0, WeaponType.Unarmed)
157@ = 0
Streaming.LoadScene(1601.759, -785.1198, 351.0)
Char.MarkAsNoLongerNeeded(159@)
Pad.SetPlayerDuckButton($statbike_temp, False)
Pad.SetPlayerJumpButton($statbike_temp, False)
Pad.SetPlayerFireButton($statbike_temp, False)
Hud.SwitchWidescreen(False)
Hud.DisplayRadar(False)
Hud.Display(False)
222@ = 2000
221@ = 0
220@ = 0.0
TIMERA = 0

:MANSIO1_6265
if 
  500 > TIMERA
goto_if_false @MANSIO1_6302
wait 0
gosub @MANSIO1_10537
goto @MANSIO1_6265

:MANSIO1_6302
Weather.ForceNow(WeatherType.ExtraSunnyLa)
Player.SetControl($statbike_temp, True)
Camera.DoFade(500, Fade.In)

:MANSIO1_6320
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_6351
wait 0
gosub @MANSIO1_10537
goto @MANSIO1_6320

:MANSIO1_6351
TIMERA = 0
156@ = 0
75@ = 0

:MANSIO1_6372
if 
  5 > 75@
goto_if_false @MANSIO1_6627
wait 0
gosub @MANSIO1_10537
if 
  TIMERA > 1000
goto_if_false @MANSIO1_6427
gosub @MANSIO1_18875

:MANSIO1_6427
switch_start 156@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_6620 {caseNum1} 0 {caseLabel1} @MANSIO1_6490 {caseNum2} 1 {caseLabel2} @MANSIO1_6516 {caseNum3} 2 {caseLabel3} @MANSIO1_6566 {caseNum4} -1 {caseLabel4} @MANSIO1_6620 {caseNum5} -1 {caseLabel5} @MANSIO1_6620 {caseNum6} -1 {caseLabel6} @MANSIO1_6620 {caseNum7} -1 {caseLabel7} @MANSIO1_6620

:MANSIO1_6490
if 
  TIMERA <= 800
goto_if_false @MANSIO1_6516
goto @MANSIO1_6620

:MANSIO1_6516
set_var_int_to_lvar_int $1280 = 55@(75@,10i)
set_var_text_label s$SLOT_status = 76@(75@,10s)
start_new_script @A_ALAP 2 100 65@(75@,10i) 
156@ = 2

:MANSIO1_6566
if 
  $cash($height_int_hj,2i) <> -3
goto_if_false @MANSIO1_6595
goto @MANSIO1_6620

:MANSIO1_6595
$cash($height_int_hj,2i) = -4
75@ += 1
156@ = 1

:MANSIO1_6620
goto @MANSIO1_6372

:MANSIO1_6627
TIMERA = 0
41@ = Clock.GetGameTimer()

:MANSIO1_6639
wait 0
40@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 40@
sub_int_lvar_from_int_lvar 42@ -= 41@
set_lvar_int_to_lvar_int 41@ = 40@
add_int_lvar_to_int_lvar 158@ += 42@
43@ = 0

:MANSIO1_6687
if 
  4 > 43@
goto_if_false @MANSIO1_6731
add_int_lvar_to_int_lvar 160@(43@,4i) += 42@
43@ += 1
goto @MANSIO1_6687

:MANSIO1_6731
gosub @MANSIO1_7365
gosub @MANSIO1_10822
gosub @MANSIO1_10537
if 
  4 > 157@
goto_if_false @MANSIO1_6783
Clock.SetTimeOfDay(3, 0)
goto @MANSIO1_6847

:MANSIO1_6783
157@ = 0
World.SwitchEntryExit('MADDOGS', False)
World.SwitchEntryExit('MDDOGS', False)
51@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 1292.7, -769.0, 95.8)
goto @MANSIO1_6854

:MANSIO1_6847
goto @MANSIO1_6639

:MANSIO1_6854
168@ = 4
set_lvar_int_to_constant 182@ = 108
set_lvar_int_to_constant 183@ = 109
set_lvar_int_to_constant 184@ = 108
set_lvar_int_to_constant 185@ = 109

:MANSIO1_6889
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @MANSIO1_6915
goto @MANSIO1_38560

:MANSIO1_6915
if 
  52@ == 1
goto_if_false @MANSIO1_6940
goto @MANSIO1_38488

:MANSIO1_6940
40@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 40@
sub_int_lvar_from_int_lvar 42@ -= 41@
set_lvar_int_to_lvar_int 41@ = 40@
add_int_lvar_to_int_lvar 158@ += 42@
43@ = 0

:MANSIO1_6984
if 
  3 > 43@
goto_if_false @MANSIO1_7040
add_int_lvar_to_int_lvar 160@(43@,4i) += 42@
add_int_lvar_to_int_lvar 164@(43@,3i) += 42@
43@ += 1
goto @MANSIO1_6984

:MANSIO1_7040
add_int_lvar_to_int_lvar 163@ += 42@
43@ = 0

:MANSIO1_7055
if 
  6 > 43@
goto_if_false @MANSIO1_7099
add_int_lvar_to_int_lvar 188@(43@,6i) += 42@
43@ += 1
goto @MANSIO1_7055

:MANSIO1_7099
gosub @MANSIO1_7776
gosub @MANSIO1_10822
if 
  157@ > 5
goto_if_false @MANSIO1_7138
gosub @MANSIO1_12648

:MANSIO1_7138
if 
  2 > 206@
goto_if_false @MANSIO1_7170
gosub @MANSIO1_16769
goto @MANSIO1_7177

:MANSIO1_7170
gosub @MANSIO1_14197

:MANSIO1_7177
211@ = 0
48@ = Streaming.GetAreaVisible()
if 
  48@ <> 0
goto_if_false @MANSIO1_7358
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, 1257.995, -785.4104, 5.0, 5.0, False)
goto_if_false @MANSIO1_7358
48@ = 0

:MANSIO1_7252
if 
  48@ == 0
goto_if_false @MANSIO1_7289
48@ = Char.GetAreaVisible($stattreadstamina_ctr)
wait 0
goto @MANSIO1_7252

:MANSIO1_7289
Camera.DoFade(0, Fade.Out)

:MANSIO1_7295
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_7319
wait 0
goto @MANSIO1_7295

:MANSIO1_7319
World.ClearAreaOfChars(1288.0, -772.0, 1080.0, 1260.5, -787.5, 1100.0)
goto @MANSIO1_19435

:MANSIO1_7358
goto @MANSIO1_6889

:MANSIO1_7365
switch_start 157@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_7774 {caseNum1} 0 {caseLabel1} @MANSIO1_7428 {caseNum2} 1 {caseLabel2} @MANSIO1_7538 {caseNum3} 2 {caseLabel3} @MANSIO1_7556 {caseNum4} 3 {caseLabel4} @MANSIO1_7633 {caseNum5} -1 {caseLabel5} @MANSIO1_7774 {caseNum6} -1 {caseLabel6} @MANSIO1_7774 {caseNum7} -1 {caseLabel7} @MANSIO1_7774

:MANSIO1_7428
if 
  TIMERA > 8300
goto_if_false @MANSIO1_7531
Char.DetachFromCar($stattreadstamina_ctr)
Player.SetControl($statbike_temp, False)
Task.GoToCoordAnyMeans($stattreadstamina_ctr, 1584.292, -784.9141, 347.0, 7, -1)
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Parachute)
goto_if_false @MANSIO1_7510
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Parachute, 1)

:MANSIO1_7510
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
221@ = 2
157@ += 1

:MANSIO1_7531
goto @MANSIO1_7774

:MANSIO1_7538
Camera.RestoreJumpcut
Camera.SetBehindPlayer
157@ += 1
goto @MANSIO1_7774

:MANSIO1_7556
if 
  Char.LocateOnFoot2D($stattreadstamina_ctr, 1584.292, -784.9141, 2.75, 2.75, False)
goto_if_false @MANSIO1_7626
Task.Jump($stattreadstamina_ctr, True)
158@ = 0
221@ = 3
Camera.Shake(0)
157@ += 1

:MANSIO1_7626
goto @MANSIO1_7774

:MANSIO1_7633
if 
  158@ > 700
goto_if_false @MANSIO1_7767
158@ = 0
Hud.DisplayZoneNames(True)
Object.Delete(127@)
Object.Delete(128@)
Object.Delete(129@)
Streaming.MarkModelAsNoLongerNeeded(#CARGO_REAR)
Streaming.MarkModelAsNoLongerNeeded(#D9_RAMP)
Player.SetControl($statbike_temp, True)
Pad.SetPlayerDuckButton($statbike_temp, True)
Pad.SetPlayerJumpButton($statbike_temp, True)
Pad.SetPlayerFireButton($statbike_temp, True)
Hud.DisplayRadar(True)
Hud.Display(True)
Text.PrintNow('MAN1_03', 8000, 1)
47@ = Blip.AddForCoord(1290.491, -788.3314, 95.4531)
157@ += 1

:MANSIO1_7767
goto @MANSIO1_7774

:MANSIO1_7774
return 

:MANSIO1_7776
switch_start 157@ {numCases} 11 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_9331 {caseNum1} 0 {caseLabel1} @MANSIO1_7904 {caseNum2} 1 {caseLabel2} @MANSIO1_7968 {caseNum3} 2 {caseLabel3} @MANSIO1_7998 {caseNum4} 3 {caseLabel4} @MANSIO1_8216 {caseNum5} 4 {caseLabel5} @MANSIO1_8262 {caseNum6} 5 {caseLabel6} @MANSIO1_8315 {caseNum7} 6 {caseLabel7} @MANSIO1_8964
switch_continued 7 {caseLabel1} @MANSIO1_9081 {caseNum2} 8 {caseLabel2} @MANSIO1_9150 {caseNum3} 9 {caseLabel3} @MANSIO1_9211 {caseNum4} 10 {caseLabel4} @MANSIO1_9271 {caseNum5} -1 {caseLabel5} @MANSIO1_9331 {caseNum6} -1 {caseLabel6} @MANSIO1_9331 {caseNum7} -1 {caseLabel7} @MANSIO1_9331 {caseNum8} -1 {caseLabel8} @MANSIO1_9331 {caseNum9} -1 {caseLabel9} @MANSIO1_9331

:MANSIO1_7904
if 
  $para_flare_Vy == 2
goto_if_false @MANSIO1_7936
157@ = 2
goto @MANSIO1_7961

:MANSIO1_7936
if 
  $para_flare_Vy == 3
goto_if_false @MANSIO1_7961
157@ += 1

:MANSIO1_7961
goto @MANSIO1_9331

:MANSIO1_7968
if 
  not Char.IsInAir($stattreadstamina_ctr)
goto_if_false @MANSIO1_7991
157@ += 1

:MANSIO1_7991
goto @MANSIO1_9331

:MANSIO1_7998
208@ = 0
gosub @MANSIO1_17063
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO1_8131
if 
  210@ <> -1
goto_if_false @MANSIO1_8108
if 
  6 > 210@
goto_if_false @MANSIO1_8078
157@ = 5
goto @MANSIO1_8101

:MANSIO1_8078
Text.PrintNow('MAN1_04', 8000, 1)
157@ = 4

:MANSIO1_8101
goto @MANSIO1_8131

:MANSIO1_8108
Text.PrintNow('MAN1_04', 8000, 1)
157@ = 3

:MANSIO1_8131
43@ = 0

:MANSIO1_8138
if 
  4 > 43@
goto_if_false @MANSIO1_8209
if 
  not Char.IsDead(170@(43@,6i))
goto_if_false @MANSIO1_8195
Char.SetProofs(170@(43@,6i), False, False, False, False, False)

:MANSIO1_8195
43@ += 1
goto @MANSIO1_8138

:MANSIO1_8209
goto @MANSIO1_9331

:MANSIO1_8216
208@ = 0
gosub @MANSIO1_17063
if 
  210@ <> -1
goto_if_false @MANSIO1_8255
157@ += 1

:MANSIO1_8255
goto @MANSIO1_9331

:MANSIO1_8262
208@ = 0
gosub @MANSIO1_17063
if and
  210@ <> -1
  6 > 210@
goto_if_false @MANSIO1_8308
157@ += 1

:MANSIO1_8308
goto @MANSIO1_9331

:MANSIO1_8315
Blip.Remove(47@)
if 
  168@ == 0
goto_if_false @MANSIO1_8361
Text.PrintNow('MAN1_06', 8000, 1)
goto @MANSIO1_8377

:MANSIO1_8361
Text.PrintNow('MAN1_05', 8000, 1)

:MANSIO1_8377
Player.ClearWantedLevel($statbike_temp)
Game.SetMaxWantedLevel(0)
143@ = Char.Create(PedType.Mission1, 117, 1000.0, -785.0, 200.0)
Char.SetHeading(143@, 270.0)
Char.SetAreaVisible(143@, 0)
146@ = Blip.AddForChar(143@)
Blip.ChangeDisplay(146@, BlipDisplay.BlipOnly)
Blip.SetAsFriendly(146@, True)
Char.GiveWeapon(143@, WeaponType.M4, 30000)
Char.SetCurrentWeapon(143@, WeaponType.M4)
Char.SetNeverTargeted(143@, True)
Char.SetDecisionMaker(143@, 34@)
149@ = 0
164@ = 0
StreamedScript.StartNew(1, -1, -26.0, 14.0, -3.0, -1.0, 5.25, 6.75, 1, 143@)
StreamedScript.Stream(1)
144@ = Char.Create(PedType.Mission1, 118, 1000.0, -770.0, 200.0)
Char.SetHeading(144@, 270.0)
Char.SetAreaVisible(144@, 0)
147@ = Blip.AddForChar(144@)
Blip.ChangeDisplay(147@, BlipDisplay.BlipOnly)
Blip.SetAsFriendly(147@, True)
Char.GiveWeapon(144@, WeaponType.M4, 30000)
Char.SetCurrentWeapon(144@, WeaponType.M4)
Char.SetNeverTargeted(144@, True)
Char.SetDecisionMaker(144@, 34@)
150@ = 0
165@ = 0
StreamedScript.StartNew(1, -1, -26.0, 14.0, -3.0, -1.0, 5.25, 6.75, 1, 144@)
StreamedScript.Stream(1)
145@ = Char.Create(PedType.Mission1, 117, 1000.0, -800.0, 200.0)
Char.SetHeading(145@, 270.0)
Char.SetAreaVisible(145@, 0)
148@ = Blip.AddForChar(145@)
Blip.ChangeDisplay(148@, BlipDisplay.BlipOnly)
Blip.SetAsFriendly(148@, True)
Char.GiveWeapon(145@, WeaponType.M4, 30000)
Char.SetCurrentWeapon(145@, WeaponType.M4)
Char.SetNeverTargeted(145@, True)
Char.SetDecisionMaker(145@, 34@)
151@ = 0
166@ = 0
StreamedScript.StartNew(1, -1, -26.0, 14.0, -3.0, -1.0, 5.25, 6.75, 1, 145@)
StreamedScript.Stream(1)
169@ = 0
if 
  not Char.IsDead(131@)
goto_if_false @MANSIO1_8881
Char.SetHealth(131@, 20)

:MANSIO1_8881
if 
  not Char.IsDead(132@)
goto_if_false @MANSIO1_8904
Char.SetHealth(132@, 40)

:MANSIO1_8904
if 
  not Char.IsDead(133@)
goto_if_false @MANSIO1_8927
Char.SetHealth(133@, 30)

:MANSIO1_8927
if 
  not Char.IsDead(134@)
goto_if_false @MANSIO1_8950
Char.SetHealth(134@, 25)

:MANSIO1_8950
157@ += 1
goto @MANSIO1_9331

:MANSIO1_8964
if 
  169@ == 3
goto_if_false @MANSIO1_9074
208@ = 0
gosub @MANSIO1_17063
if and
  6 > 210@
  210@ <> -1
goto_if_false @MANSIO1_9051
Text.PrintNow('MAN1_09', 8000, 1)
157@ = 8
goto @MANSIO1_9074

:MANSIO1_9051
Text.PrintNow('MAN1_10', 8000, 1)
157@ = 7

:MANSIO1_9074
goto @MANSIO1_9331

:MANSIO1_9081
208@ = 0
gosub @MANSIO1_17063
if and
  6 > 210@
  210@ <> -1
goto_if_false @MANSIO1_9143
Text.PrintNow('MAN1_09', 8000, 1)
157@ = 8

:MANSIO1_9143
goto @MANSIO1_9331

:MANSIO1_9150
gosub @MANSIO1_13336
206@ = 3
47@ = Blip.AddForCoord(1257.995, -785.4104, 91.0302)
World.SwitchEntryExit('MADDOGS', True)
157@ += 1
goto @MANSIO1_9331

:MANSIO1_9211
208@ = 0
gosub @MANSIO1_17063
if or
  210@ == -1
  210@ > 10
goto_if_false @MANSIO1_9264
gosub @MANSIO1_13440
157@ += 1

:MANSIO1_9264
goto @MANSIO1_9331

:MANSIO1_9271
208@ = 0
gosub @MANSIO1_17063
if and
  210@ <> -1
  10 >= 210@
goto_if_false @MANSIO1_9324
gosub @MANSIO1_13336
157@ -= 1

:MANSIO1_9324
goto @MANSIO1_9331

:MANSIO1_9331
return 

:MANSIO1_9333
if 
  not Char.IsDead(101@)
goto_if_false @MANSIO1_10118
switch_start 107@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_10111 {caseNum1} 0 {caseLabel1} @MANSIO1_9477 {caseNum2} 1 {caseLabel2} @MANSIO1_9574 {caseNum3} 2 {caseLabel3} @MANSIO1_9713 {caseNum4} 3 {caseLabel4} @MANSIO1_9765 {caseNum5} 4 {caseLabel5} @MANSIO1_9887 {caseNum6} 5 {caseLabel6} @MANSIO1_9929 {caseNum7} 6 {caseLabel7} @MANSIO1_10025
switch_continued 7 {caseLabel1} @MANSIO1_10078 {caseNum2} -1 {caseLabel2} @MANSIO1_10111 {caseNum3} -1 {caseLabel3} @MANSIO1_10111 {caseNum4} -1 {caseLabel4} @MANSIO1_10111 {caseNum5} -1 {caseLabel5} @MANSIO1_10111 {caseNum6} -1 {caseLabel6} @MANSIO1_10111 {caseNum7} -1 {caseLabel7} @MANSIO1_10111 {caseNum8} -1 {caseLabel8} @MANSIO1_10111 {caseNum9} -1 {caseLabel9} @MANSIO1_10111

:MANSIO1_9477
if 
  Char.IsPlayingAnim(101@, "PARA_LAND")
goto_if_false @MANSIO1_9525
105@ = 1
107@ += 1
goto @MANSIO1_9567

:MANSIO1_9525
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(101@)
if 
  99.0 > $in_carX
goto_if_false @MANSIO1_9567
218@ = 1

:MANSIO1_9567
goto @MANSIO1_10111

:MANSIO1_9574
if 
  not Char.IsPlayingAnim(101@, "PARA_LAND")
goto_if_false @MANSIO1_9706
45@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.GoStraightToCoord(-1, 1291.519, -776.0716, 95.4531, MoveState.Run, -1)
Task.StandStill(-1, 400)
Task.StandStill(-1, 400)
Task.GoStraightToCoord(-1, 1280.995, -780.3347, 95.461, MoveState.Run, -1)
Task.AchieveHeading(-1, 110.0)
Sequence.Close(45@)
Char.PerformSequence(101@, 45@)
Sequence.Clear(45@)
107@ += 1

:MANSIO1_9706
goto @MANSIO1_10111

:MANSIO1_9713
46@ = Char.GetSequenceProgress(101@)
if 
  46@ == 4
goto_if_false @MANSIO1_9758
Particle.Play(124@)
TIMERA = 0
107@ += 1

:MANSIO1_9758
goto @MANSIO1_10111

:MANSIO1_9765
if 
  TIMERA > 1500
goto_if_false @MANSIO1_9880
107@ += 1
159@ = Char.Create(PedType.Mission2, 108, 1281.413, -785.8877, 91.0302)
Char.SetHeading(159@, 90.0)
Char.SetAreaVisible(159@, 0)
Task.GoStraightToCoord(159@, 1268.337, -785.9549, 94.9688, MoveState.Walk, -1)
Char.SetDecisionMaker(159@, 34@)
Char.GiveWeapon(159@, WeaponType.Mp5, 1)
Char.SetCurrentWeapon(159@, WeaponType.Mp5)

:MANSIO1_9880
goto @MANSIO1_10111

:MANSIO1_9887
if 
  190.0 > 115@
goto_if_false @MANSIO1_9915
goto @MANSIO1_10111

:MANSIO1_9915
TIMERA = 0
107@ += 1

:MANSIO1_9929
if 
  TIMERA > 2000
goto_if_false @MANSIO1_10018
if 
  not Char.IsDead(159@)
goto_if_false @MANSIO1_9978
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(159@)

:MANSIO1_9978
$in_carX += 1.0
Task.ShootAtCoord(101@, $on_footY, $on_footZ, $in_carX, 100)
TIMERA = 0
107@ += 1

:MANSIO1_10018
goto @MANSIO1_10111

:MANSIO1_10025
if 
  TIMERA > 50
goto_if_false @MANSIO1_10071
if 
  not Char.IsDead(159@)
goto_if_false @MANSIO1_10064
Char.ExplodeHead(159@)

:MANSIO1_10064
107@ += 1

:MANSIO1_10071
goto @MANSIO1_10111

:MANSIO1_10078
if 
  TIMERA > 2000
goto_if_false @MANSIO1_10104
107@ += 1

:MANSIO1_10104
goto @MANSIO1_10111

:MANSIO1_10111
goto @MANSIO1_10130

:MANSIO1_10118
Char.MarkAsNoLongerNeeded(101@)
107@ = -1

:MANSIO1_10130
return 

:MANSIO1_10132
if 
  not Char.IsDead(102@)
goto_if_false @MANSIO1_10523
switch_start 108@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_10516 {caseNum1} 0 {caseLabel1} @MANSIO1_10211 {caseNum2} 1 {caseLabel2} @MANSIO1_10259 {caseNum3} 2 {caseLabel3} @MANSIO1_10426 {caseNum4} 3 {caseLabel4} @MANSIO1_10471 {caseNum5} -1 {caseLabel5} @MANSIO1_10516 {caseNum6} -1 {caseLabel6} @MANSIO1_10516 {caseNum7} -1 {caseLabel7} @MANSIO1_10516

:MANSIO1_10211
if 
  Char.IsPlayingAnim(102@, "PARA_LAND")
goto_if_false @MANSIO1_10252
106@ = 1
108@ += 1

:MANSIO1_10252
goto @MANSIO1_10516

:MANSIO1_10259
if 
  not Char.IsPlayingAnim(102@, "PARA_LAND")
goto_if_false @MANSIO1_10419
45@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.GoStraightToCoord(-1, 1291.213, -799.4603, 95.4531, MoveState.Run, -1)
Task.StandStill(-1, 400)
Task.StandStill(-1, 400)
Task.GoStraightToCoord(-1, 1302.196, -788.2992, 95.4531, MoveState.Run, -1)
Task.StandStill(-1, 400)
Task.StandStill(-1, 400)
Task.GoStraightToCoord(-1, 1292.383, -787.4926, 95.4476, MoveState.Run, -1)
Sequence.Close(45@)
Char.PerformSequence(102@, 45@)
Sequence.Clear(45@)
108@ += 1

:MANSIO1_10419
goto @MANSIO1_10516

:MANSIO1_10426
46@ = Char.GetSequenceProgress(102@)
if 
  46@ == 3
goto_if_false @MANSIO1_10464
Particle.Play(126@)
108@ += 1

:MANSIO1_10464
goto @MANSIO1_10516

:MANSIO1_10471
46@ = Char.GetSequenceProgress(102@)
if 
  46@ == 6
goto_if_false @MANSIO1_10509
Particle.Play(125@)
108@ += 1

:MANSIO1_10509
goto @MANSIO1_10516

:MANSIO1_10516
goto @MANSIO1_10535

:MANSIO1_10523
Char.MarkAsNoLongerNeeded(102@)
108@ = -1

:MANSIO1_10535
return 

:MANSIO1_10537
43@ = 0

:MANSIO1_10544
if 
  is_int_lvar_greater_than_int_lvar 167@ > 43@
goto_if_false @MANSIO1_10820
if 
  103@(43@,4i) <> -1
goto_if_false @MANSIO1_10806
if 
  not Char.IsDead(99@(43@,4i))
goto_if_false @MANSIO1_10786
switch_start 103@(43@,4i) {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_10779 {caseNum1} 0 {caseLabel1} @MANSIO1_10672 {caseNum2} 1 {caseLabel2} @MANSIO1_10721 {caseNum3} -1 {caseLabel3} @MANSIO1_10779 {caseNum4} -1 {caseLabel4} @MANSIO1_10779 {caseNum5} -1 {caseLabel5} @MANSIO1_10779 {caseNum6} -1 {caseLabel6} @MANSIO1_10779 {caseNum7} -1 {caseLabel7} @MANSIO1_10779

:MANSIO1_10672
if 
  Char.IsPlayingAnim(99@(43@,4i), "PARA_LAND")
goto_if_false @MANSIO1_10714
103@(43@,4i) += 1

:MANSIO1_10714
goto @MANSIO1_10779

:MANSIO1_10721
if 
  not Char.IsPlayingAnim(99@(43@,4i), "PARA_LAND")
goto_if_false @MANSIO1_10772
Task.Die(99@(43@,4i))
103@(43@,4i) += 1

:MANSIO1_10772
goto @MANSIO1_10779

:MANSIO1_10779
goto @MANSIO1_10806

:MANSIO1_10786
Char.MarkAsNoLongerNeeded(99@(43@,4i))
103@(43@,4i) = -1

:MANSIO1_10806
43@ += 1
goto @MANSIO1_10544

:MANSIO1_10820
return 

:MANSIO1_10822
43@ = 0

:MANSIO1_10829
if 
  4 > 43@
goto_if_false @MANSIO1_11979
if 
  135@(43@,4i) <> -1
goto_if_false @MANSIO1_11965
if 
  not Char.IsDead(131@(43@,4i))
goto_if_false @MANSIO1_11938
switch_start 135@(43@,4i) {numCases} 11 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_11931 {caseNum1} 0 {caseLabel1} @MANSIO1_11021 {caseNum2} 1 {caseLabel2} @MANSIO1_11209 {caseNum3} 2 {caseLabel3} @MANSIO1_11223 {caseNum4} 3 {caseLabel4} @MANSIO1_11293 {caseNum5} 4 {caseLabel5} @MANSIO1_11320 {caseNum6} 5 {caseLabel6} @MANSIO1_11388 {caseNum7} 6 {caseLabel7} @MANSIO1_11437
switch_continued 7 {caseLabel1} @MANSIO1_11549 {caseNum2} 8 {caseLabel2} @MANSIO1_11648 {caseNum3} 9 {caseLabel3} @MANSIO1_11740 {caseNum4} 10 {caseLabel4} @MANSIO1_11839 {caseNum5} -1 {caseLabel5} @MANSIO1_11931 {caseNum6} -1 {caseLabel6} @MANSIO1_11931 {caseNum7} -1 {caseLabel7} @MANSIO1_11931 {caseNum8} -1 {caseLabel8} @MANSIO1_11931 {caseNum9} -1 {caseLabel9} @MANSIO1_11931

:MANSIO1_11021
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 139@(43@,4i)
goto_if_false @MANSIO1_11202
if or
  43@ == 0
  43@ == 2
goto_if_false @MANSIO1_11104
Task.GoToCoordAnyMeans(131@(43@,4i), 1585.293, -786.5728, 347.0, 6, -1)
goto @MANSIO1_11191

:MANSIO1_11104
if 
  43@ == 1
goto_if_false @MANSIO1_11163
set_var_int_to_constant $1280 = 23816
set_var_text_label s$SLOT_status = 'MAN1_DF'
start_new_script @A_ALAP 2 100 65@(75@,10i) 

:MANSIO1_11163
Task.GoToCoordAnyMeans(131@(43@,4i), 1585.323, -783.2303, 347.0, 6, -1)

:MANSIO1_11191
135@(43@,4i) += 1

:MANSIO1_11202
goto @MANSIO1_11931

:MANSIO1_11209
gosub @MANSIO1_11981
goto @MANSIO1_11931

:MANSIO1_11223
if 
  160@(43@,4i) > 1200
goto_if_false @MANSIO1_11286
Char.DropObject(131@(43@,4i), False)
160@(43@,4i) = 0
gosub @MANSIO1_12371
135@(43@,4i) += 1

:MANSIO1_11286
goto @MANSIO1_11931

:MANSIO1_11293
Object.Delete(152@(43@,4i))
135@(43@,4i) += 1
goto @MANSIO1_11931

:MANSIO1_11320
if 
  160@(43@,4i) >= 40000
goto_if_false @MANSIO1_11381
if 
  43@ == 0
goto_if_false @MANSIO1_11370
gosub @MANSIO1_13530

:MANSIO1_11370
135@(43@,4i) += 1

:MANSIO1_11381
goto @MANSIO1_11931

:MANSIO1_11388
if 
  Char.IsPlayingAnim(131@(43@,4i), "PARA_LAND")
goto_if_false @MANSIO1_11430
135@(43@,4i) += 1

:MANSIO1_11430
goto @MANSIO1_11931

:MANSIO1_11437
if 
  not Char.IsPlayingAnim(131@(43@,4i), "PARA_LAND")
goto_if_false @MANSIO1_11542
if 
  2 > 206@
goto_if_false @MANSIO1_11500
206@ = 2
gosub @MANSIO1_14039

:MANSIO1_11500
Char.SetProofs(131@(43@,4i), False, False, False, False, False)
set_lvar_int_to_lvar_int 135@(43@,4i) = 43@
135@(43@,4i) += 7

:MANSIO1_11542
goto @MANSIO1_11931

:MANSIO1_11549
Char.SetAllowedToDuck(131@, False)
45@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 1289.698, -771.6924, 94.954, 6, -1)
Task.AchieveHeading(-1, 100.0)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(131@, 45@)
Sequence.Clear(45@)
135@(43@,4i) = 11
goto @MANSIO1_11931

:MANSIO1_11648
45@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 1285.824, -772.1167, 94.953, 6, -1)
Task.AchieveHeading(-1, 115.0)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(132@, 45@)
Sequence.Clear(45@)
135@(43@,4i) = 11
goto @MANSIO1_11931

:MANSIO1_11740
Char.SetAllowedToDuck(133@, False)
45@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 1277.87, -789.9062, 95.4531, 6, -1)
Task.AchieveHeading(-1, 90.0)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(133@, 45@)
Sequence.Clear(45@)
135@(43@,4i) = 11
goto @MANSIO1_11931

:MANSIO1_11839
45@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 1278.609, -783.3164, 95.4531, 6, -1)
Task.AchieveHeading(-1, 95.0)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(134@, 45@)
Sequence.Clear(45@)
135@(43@,4i) = 11
goto @MANSIO1_11931

:MANSIO1_11931
goto @MANSIO1_11965

:MANSIO1_11938
Char.MarkAsNoLongerNeeded(131@(43@,4i))
168@ -= 1
135@(43@,4i) = -1

:MANSIO1_11965
43@ += 1
goto @MANSIO1_10829

:MANSIO1_11979
return 

:MANSIO1_11981
switch_start 43@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_12369 {caseNum1} 0 {caseLabel1} @MANSIO1_12044 {caseNum2} 1 {caseLabel2} @MANSIO1_12192 {caseNum3} 2 {caseLabel3} @MANSIO1_12044 {caseNum4} 3 {caseLabel4} @MANSIO1_12192 {caseNum5} -1 {caseLabel5} @MANSIO1_12369 {caseNum6} -1 {caseLabel6} @MANSIO1_12369 {caseNum7} -1 {caseLabel7} @MANSIO1_12369

:MANSIO1_12044
if 
  not Char.LocateOnFoot2D(131@(43@,4i), 1585.293, -786.5728, 1.2, 1.2, False)
goto_if_false @MANSIO1_12093
goto @MANSIO1_12369

:MANSIO1_12093
if 
  43@ == 2
goto_if_false @MANSIO1_12152
set_var_int_to_constant $1280 = 23818
set_var_text_label s$SLOT_status = 'MAN1_DH'
start_new_script @A_ALAP 2 100 131@(43@,4i) 

:MANSIO1_12152
Task.Jump(131@(43@,4i), True)
160@(43@,4i) = 0
135@(43@,4i) += 1
goto @MANSIO1_12369

:MANSIO1_12192
if 
  not Char.LocateOnFoot2D(131@(43@,4i), 1585.323, -783.2303, 1.2, 1.2, False)
goto_if_false @MANSIO1_12241
goto @MANSIO1_12369

:MANSIO1_12241
if 
  43@ == 1
goto_if_false @MANSIO1_12288
set_var_int_to_constant $1280 = 23817
set_var_text_label s$SLOT_status = 'MAN1_DG'
goto @MANSIO1_12310

:MANSIO1_12288
set_var_int_to_constant $1280 = 23819
set_var_text_label s$SLOT_status = 'MAN1_DJ'

:MANSIO1_12310
start_new_script @A_ALAP 2 100 131@(43@,4i) 
Task.Jump(131@(43@,4i), True)
160@(43@,4i) = 0
135@(43@,4i) += 1
goto @MANSIO1_12369

:MANSIO1_12369
return 

:MANSIO1_12371
switch_start 43@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_12646 {caseNum1} 0 {caseLabel1} @MANSIO1_12434 {caseNum2} 1 {caseLabel2} @MANSIO1_12487 {caseNum3} 2 {caseLabel3} @MANSIO1_12540 {caseNum4} 3 {caseLabel4} @MANSIO1_12593 {caseNum5} -1 {caseLabel5} @MANSIO1_12646 {caseNum6} -1 {caseLabel6} @MANSIO1_12646 {caseNum7} -1 {caseLabel7} @MANSIO1_12646

:MANSIO1_12434
StreamedScript.StartNew(1, -1, -29.0, 14.0, -3.0, -1.0, 5.25, 6.75, 1, 131@)
StreamedScript.Stream(1)
goto @MANSIO1_12646

:MANSIO1_12487
StreamedScript.StartNew(1, -1, -28.0, 14.0, -3.0, -1.0, 5.25, 6.75, 1, 132@)
StreamedScript.Stream(1)
goto @MANSIO1_12646

:MANSIO1_12540
StreamedScript.StartNew(1, -1, -27.0, 14.0, -3.0, -1.0, 5.25, 6.75, 1, 133@)
StreamedScript.Stream(1)
goto @MANSIO1_12646

:MANSIO1_12593
StreamedScript.StartNew(1, -1, -26.0, 14.0, -3.0, -1.0, 5.25, 6.75, 1, 134@)
StreamedScript.Stream(1)
goto @MANSIO1_12646

:MANSIO1_12646
return 

:MANSIO1_12648
43@ = 0

:MANSIO1_12655
if 
  3 > 43@
goto_if_false @MANSIO1_13334
if 
  not Char.IsDead(143@(43@,3i))
goto_if_false @MANSIO1_13299
switch_start 149@(43@,3i) {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_13292 {caseNum1} 0 {caseLabel1} @MANSIO1_12760 {caseNum2} 1 {caseLabel2} @MANSIO1_12899 {caseNum3} 2 {caseLabel3} @MANSIO1_12948 {caseNum4} 3 {caseLabel4} @MANSIO1_13016 {caseNum5} 4 {caseLabel5} @MANSIO1_13108 {caseNum6} 5 {caseLabel6} @MANSIO1_13200 {caseNum7} -1 {caseLabel7} @MANSIO1_13292

:MANSIO1_12760
if 
  164@(43@,3i) >= 35000
goto_if_false @MANSIO1_12892
if 
  43@ == 0
goto_if_false @MANSIO1_12881
208@ = 0
gosub @MANSIO1_17063
if and
  6 > 210@
  210@ <> -1
goto_if_false @MANSIO1_12865
Text.PrintNow('MAN1_07', 8000, 1)
goto @MANSIO1_12881

:MANSIO1_12865
Text.PrintNow('MAN1_08', 8000, 1)

:MANSIO1_12881
149@(43@,3i) += 1

:MANSIO1_12892
goto @MANSIO1_13292

:MANSIO1_12899
if 
  Char.IsPlayingAnim(143@(43@,3i), "PARA_LAND")
goto_if_false @MANSIO1_12941
149@(43@,3i) += 1

:MANSIO1_12941
goto @MANSIO1_13292

:MANSIO1_12948
if 
  not Char.IsPlayingAnim(143@(43@,3i), "PARA_LAND")
goto_if_false @MANSIO1_13009
169@ += 1
set_lvar_int_to_lvar_int 149@(43@,3i) = 43@
149@(43@,3i) += 3

:MANSIO1_13009
goto @MANSIO1_13292

:MANSIO1_13016
45@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 1279.681, -786.5801, 95.4531, 6, -1)
Task.AchieveHeading(-1, 86.7391)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(143@, 45@)
Sequence.Clear(45@)
149@(43@,3i) = 6
goto @MANSIO1_13292

:MANSIO1_13108
45@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 1289.565, -775.1545, 95.4476, 6, -1)
Task.AchieveHeading(-1, 76.697)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(144@, 45@)
Sequence.Clear(45@)
149@(43@,3i) = 6
goto @MANSIO1_13292

:MANSIO1_13200
45@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 1281.683, -779.4835, 95.4531, 6, -1)
Task.AchieveHeading(-1, 84.4451)
Task.ToggleDuck(-1, False)
Task.StayInSamePlace(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(145@, 45@)
Sequence.Clear(45@)
149@(43@,3i) = 6
goto @MANSIO1_13292

:MANSIO1_13292
goto @MANSIO1_13320

:MANSIO1_13299
52@ = 1
set_lvar_text_label 53@s = 'MAN1_11'

:MANSIO1_13320
43@ += 1
goto @MANSIO1_12655

:MANSIO1_13334
return 

:MANSIO1_13336
43@ = 0

:MANSIO1_13343
if 
  3 > 43@
goto_if_false @MANSIO1_13438
if 
  not Char.IsDead(143@(43@,3i))
goto_if_false @MANSIO1_13424
Char.ClearTasksImmediately(143@(43@,3i))
Task.StayInSamePlace(143@(43@,3i), False)
Group.SetMember(44@, 143@(43@,3i))
Char.SetNeverLeavesGroup(143@(43@,3i), True)

:MANSIO1_13424
43@ += 1
goto @MANSIO1_13343

:MANSIO1_13438
return 

:MANSIO1_13440
43@ = 0

:MANSIO1_13447
if 
  3 > 43@
goto_if_false @MANSIO1_13528
if 
  not Char.IsDead(143@(43@,3i))
goto_if_false @MANSIO1_13514
Char.ClearTasks(143@(43@,3i))
Task.StayInSamePlace(143@(43@,3i), False)
Char.RemoveFromGroup(143@(43@,3i))

:MANSIO1_13514
43@ += 1
goto @MANSIO1_13447

:MANSIO1_13528
return 

:MANSIO1_13530
170@ = Char.Create(PedType.Mission2, 108, 1268.069, -783.494, 94.961)
Char.SetHeading(170@, 275.8136)
Char.SetHealth(170@, 200)
Char.SetMaxHealth(170@, 200)
Char.SetDecisionMaker(170@, 34@)
Char.GiveWeapon(170@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(170@, WeaponType.Mp5)
Char.SetProofs(170@, True, False, False, False, False)
Char.SetIsTargetPriority(170@, True)
Char.SetSignalAfterKill(170@, False)
176@ = -2
171@ = Char.Create(PedType.Mission2, 109, 1271.156, -780.8453, 94.9663)
Char.SetHeading(171@, 254.8986)
Char.SetHealth(171@, 200)
Char.SetMaxHealth(171@, 200)
Char.SetDecisionMaker(171@, 34@)
Char.GiveWeapon(171@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(171@, WeaponType.Mp5)
Char.SetProofs(171@, True, False, False, False, False)
Char.SetIsTargetPriority(171@, True)
Char.SetSignalAfterKill(171@, False)
177@ = -2
172@ = Char.Create(PedType.Mission2, 108, 1267.737, -777.1963, 94.9577)
Char.SetHeading(172@, 302.1641)
Char.SetHealth(172@, 200)
Char.SetMaxHealth(172@, 200)
Char.SetDecisionMaker(172@, 34@)
Char.GiveWeapon(172@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(172@, WeaponType.Mp5)
Char.SetIsTargetPriority(172@, True)
Char.SetSignalAfterKill(172@, False)
178@ = -2
173@ = Char.Create(PedType.Mission2, 109, 1272.534, -774.9141, 94.9466)
Char.SetHeading(173@, 249.014)
Char.SetHealth(173@, 200)
Char.SetMaxHealth(173@, 200)
Char.SetDecisionMaker(173@, 34@)
Char.GiveWeapon(173@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(173@, WeaponType.Mp5)
Char.SetIsTargetPriority(173@, True)
Char.SetSignalAfterKill(173@, False)
179@ = -2
if 
  2 > 157@
goto_if_false @MANSIO1_14022
Char.SetProofs(170@, True, False, False, False, False)
Char.SetProofs(171@, True, False, False, False, False)
Char.SetProofs(172@, True, False, False, False, False)
Char.SetProofs(173@, True, False, False, False, False)

:MANSIO1_14022
TIMERB = 3000
206@ = 1
return 

:MANSIO1_14039
if 
  not Char.IsDead(170@)
goto_if_false @MANSIO1_14078
Char.SetDecisionMaker(170@, 36@)
Char.SetProofs(170@, False, False, False, False, False)

:MANSIO1_14078
if 
  not Char.IsDead(171@)
goto_if_false @MANSIO1_14117
Char.SetDecisionMaker(171@, 36@)
Char.SetProofs(171@, False, False, False, False, False)

:MANSIO1_14117
if 
  not Char.IsDead(172@)
goto_if_false @MANSIO1_14156
Char.SetDecisionMaker(172@, 36@)
Char.SetProofs(172@, False, False, False, False, False)

:MANSIO1_14156
if 
  not Char.IsDead(173@)
goto_if_false @MANSIO1_14195
Char.SetDecisionMaker(173@, 36@)
Char.SetProofs(173@, False, False, False, False, False)

:MANSIO1_14195
return 

:MANSIO1_14197
43@ = 0

:MANSIO1_14204
if 
  4 > 43@
goto_if_false @MANSIO1_15096
if 
  not Char.IsDead(170@(43@,6i))
goto_if_false @MANSIO1_14449
switch_start 176@(43@,6i) {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_14442 {caseNum1} 0 {caseLabel1} @MANSIO1_14309 {caseNum2} 1 {caseLabel2} @MANSIO1_14358 {caseNum3} 2 {caseLabel3} @MANSIO1_14406 {caseNum4} -1 {caseLabel4} @MANSIO1_14442 {caseNum5} -1 {caseLabel5} @MANSIO1_14442 {caseNum6} -1 {caseLabel6} @MANSIO1_14442 {caseNum7} -1 {caseLabel7} @MANSIO1_14442

:MANSIO1_14309
if 
  188@(43@,6i) > 100
goto_if_false @MANSIO1_14351
Object.Delete(194@(43@,6i))
176@(43@,6i) += 1

:MANSIO1_14351
goto @MANSIO1_14442

:MANSIO1_14358
46@ = Char.GetSequenceProgress(170@(43@,6i))
if 
  46@ >= 2
goto_if_false @MANSIO1_14399
176@(43@,6i) += 1

:MANSIO1_14399
goto @MANSIO1_14442

:MANSIO1_14406
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(170@(43@,6i))
176@(43@,6i) += 1
goto @MANSIO1_14442

:MANSIO1_14442
goto @MANSIO1_15082

:MANSIO1_14449
if 
  176@(43@,6i) <> -1
goto_if_false @MANSIO1_14500
188@(43@,6i) = 0
176@(43@,6i) = -1
goto @MANSIO1_15082

:MANSIO1_14500
if 
  188@(43@,6i) > 2000
goto_if_false @MANSIO1_15082
Char.RemoveElegantly(170@(43@,6i))
if 
  3 > 206@
goto_if_false @MANSIO1_15082
208@ = 0
gosub @MANSIO1_17063
if or
  210@ <> -1
  212@ <> 0
goto_if_false @MANSIO1_15082
set_lvar_int_to_lvar_int 205@ = 43@
if 
  210@ == -1
goto_if_false @MANSIO1_14647
if 
  212@ <> 0
goto_if_false @MANSIO1_14640
gosub @MANSIO1_15445

:MANSIO1_14640
goto @MANSIO1_14654

:MANSIO1_14647
gosub @MANSIO1_15098

:MANSIO1_14654
194@(43@,6i) = Object.Create(#CARDBOARDBOX2, 200@, 201@, 93.0)
Object.SetDynamic(194@(43@,6i), False)
Object.SetVisible(194@(43@,6i), False)
Object.FreezePosition(194@(43@,6i), True)
170@(43@,6i) = Char.Create(PedType.Mission2, 182@(43@,6i), 200@, 201@, 202@)
Char.SetIsTargetPriority(170@(43@,6i), True)
Char.SetHealth(170@(43@,6i), 200)
Char.SetMaxHealth(170@(43@,6i), 200)
Char.SetHeading(170@(43@,6i), 203@)
Char.SetDecisionMaker(170@(43@,6i), 34@)
Char.GiveWeapon(170@(43@,6i), WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(170@(43@,6i), WeaponType.Mp5)
Char.SetAccuracy(170@(43@,6i), 70)
Char.SetShootRate(170@(43@,6i), 55)
Char.SetSignalAfterKill(170@(43@,6i), False)
if 
  4 > 43@
goto_if_false @MANSIO1_15082
if or
  210@ <> -1
  212@ > 0
goto_if_false @MANSIO1_15030
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(170@(43@,6i), 0.0, 3.5, 0.0)
45@ = Sequence.Open()
Task.Climb(-1, True)
Task.ToggleDuck(-1, True)
Task.GoToCoordAnyMeans(-1, $on_footY, $on_footZ, 94.95, 6, -1)
Task.StayInSamePlace(-1, False)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(170@(43@,6i), 45@)
Sequence.Clear(45@)
188@(43@,6i) = 0
176@(43@,6i) = 0
goto @MANSIO1_15075

:MANSIO1_15030
Task.StayInSamePlace(170@(43@,6i), True)
Task.SetCharDecisionMaker(170@(43@,6i), 36@)
188@(43@,6i) = 0
176@(43@,6i) = 3

:MANSIO1_15075
goto @MANSIO1_15082

:MANSIO1_15082
43@ += 1
goto @MANSIO1_14204

:MANSIO1_15096
return 

:MANSIO1_15098
switch_start 210@ {numCases} 11 {hasDefaultCase} 1 {defaultLabel} @MANSIO1_15347 {caseNum1} 0 {caseLabel1} @MANSIO1_15226 {caseNum2} 1 {caseLabel2} @MANSIO1_15242 {caseNum3} 2 {caseLabel3} @MANSIO1_15258 {caseNum4} 3 {caseLabel4} @MANSIO1_15274 {caseNum5} 4 {caseLabel5} @MANSIO1_15290 {caseNum6} 5 {caseLabel6} @MANSIO1_15306 {caseNum7} 6 {caseLabel7} @MANSIO1_15274
switch_continued 7 {caseLabel1} @MANSIO1_15290 {caseNum2} 8 {caseLabel2} @MANSIO1_15306 {caseNum3} 9 {caseLabel3} @MANSIO1_15258 {caseNum4} 10 {caseLabel4} @MANSIO1_15242 {caseNum5} -1 {caseLabel5} @MANSIO1_15361 {caseNum6} -1 {caseLabel6} @MANSIO1_15361 {caseNum7} -1 {caseLabel7} @MANSIO1_15361 {caseNum8} -1 {caseLabel8} @MANSIO1_15361 {caseNum9} -1 {caseLabel9} @MANSIO1_15361

:MANSIO1_15226
204@ = Math.RandomIntInRange(0, 5)
goto @MANSIO1_15361

:MANSIO1_15242
204@ = Math.RandomIntInRange(2, 5)
goto @MANSIO1_15361

:MANSIO1_15258
204@ = Math.RandomIntInRange(3, 5)
goto @MANSIO1_15361

:MANSIO1_15274
204@ = Math.RandomIntInRange(0, 3)
goto @MANSIO1_15361

:MANSIO1_15290
204@ = Math.RandomIntInRange(0, 2)
goto @MANSIO1_15361

:MANSIO1_15306
204@ = Math.RandomIntInRange(0, 4)
if 
  204@ > 1
goto_if_false @MANSIO1_15340
204@ += 1

:MANSIO1_15340
goto @MANSIO1_15361

:MANSIO1_15347
204@ = 5
goto @MANSIO1_15361

:MANSIO1_15361
if 
  5 > 204@
goto_if_false @MANSIO1_15411
205@ *= 5
add_int_lvar_to_int_lvar 204@ += 205@
202@ = 94.0
goto @MANSIO1_15436

:MANSIO1_15411
204@ *= 4
add_int_lvar_to_int_lvar 204@ += 205@
202@ = 95.0

:MANSIO1_15436
gosub @MANSIO1_15686
return 

:MANSIO1_15445
switch_start 212@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_15602 {caseNum1} -1 {caseLabel1} @MANSIO1_15588 {caseNum2} 1 {caseLabel2} @MANSIO1_15508 {caseNum3} 2 {caseLabel3} @MANSIO1_15524 {caseNum4} 3 {caseLabel4} @MANSIO1_15540 {caseNum5} 4 {caseLabel5} @MANSIO1_15556 {caseNum6} 5 {caseLabel6} @MANSIO1_15572 {caseNum7} -1 {caseLabel7} @MANSIO1_15602

:MANSIO1_15508
204@ = Math.RandomIntInRange(0, 5)
goto @MANSIO1_15602

:MANSIO1_15524
204@ = Math.RandomIntInRange(3, 5)
goto @MANSIO1_15602

:MANSIO1_15540
204@ = Math.RandomIntInRange(2, 5)
goto @MANSIO1_15602

:MANSIO1_15556
204@ = Math.RandomIntInRange(0, 2)
goto @MANSIO1_15602

:MANSIO1_15572
204@ = Math.RandomIntInRange(0, 3)
goto @MANSIO1_15602

:MANSIO1_15588
204@ = 5
goto @MANSIO1_15602

:MANSIO1_15602
if 
  5 > 204@
goto_if_false @MANSIO1_15652
205@ *= 5
add_int_lvar_to_int_lvar 204@ += 205@
202@ = 94.0
goto @MANSIO1_15677

:MANSIO1_15652
204@ *= 4
add_int_lvar_to_int_lvar 204@ += 205@
202@ = 95.0

:MANSIO1_15677
gosub @MANSIO1_15686
return 

:MANSIO1_15686
switch_start 204@ {numCases} 24 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_16767 {caseNum1} 0 {caseLabel1} @MANSIO1_15879 {caseNum2} 1 {caseLabel2} @MANSIO1_15916 {caseNum3} 2 {caseLabel3} @MANSIO1_15953 {caseNum4} 3 {caseLabel4} @MANSIO1_15990 {caseNum5} 4 {caseLabel5} @MANSIO1_16027 {caseNum6} 5 {caseLabel6} @MANSIO1_16064 {caseNum7} 6 {caseLabel7} @MANSIO1_16101
switch_continued 7 {caseLabel1} @MANSIO1_16138 {caseNum2} 8 {caseLabel2} @MANSIO1_16175 {caseNum3} 9 {caseLabel3} @MANSIO1_16212 {caseNum4} 10 {caseLabel4} @MANSIO1_16249 {caseNum5} 11 {caseLabel5} @MANSIO1_16286 {caseNum6} 12 {caseLabel6} @MANSIO1_16323 {caseNum7} 13 {caseLabel7} @MANSIO1_16360 {caseNum8} 14 {caseLabel8} @MANSIO1_16397 {caseNum9} 15 {caseLabel9} @MANSIO1_16434
switch_continued 16 {caseLabel1} @MANSIO1_16471 {caseNum2} 17 {caseLabel2} @MANSIO1_16508 {caseNum3} 18 {caseLabel3} @MANSIO1_16545 {caseNum4} 19 {caseLabel4} @MANSIO1_16582 {caseNum5} 20 {caseLabel5} @MANSIO1_16619 {caseNum6} 21 {caseLabel6} @MANSIO1_16656 {caseNum7} 22 {caseLabel7} @MANSIO1_16693 {caseNum8} 23 {caseLabel8} @MANSIO1_16730 {caseNum9} -1 {caseLabel9} @MANSIO1_16767

:MANSIO1_15879
200@ = 1262.0
201@ = -770.5
203@ = 180.0
goto @MANSIO1_16767

:MANSIO1_15916
200@ = 1266.0
201@ = -770.5
203@ = 180.0
goto @MANSIO1_16767

:MANSIO1_15953
200@ = 1257.0
201@ = -784.0
203@ = 270.0
goto @MANSIO1_16767

:MANSIO1_15990
200@ = 1269.0
201@ = -789.5
203@ = 0.0
goto @MANSIO1_16767

:MANSIO1_16027
200@ = 1265.0
201@ = -789.5
203@ = 0.0
goto @MANSIO1_16767

:MANSIO1_16064
200@ = 1267.0
201@ = -770.5
203@ = 180.0
goto @MANSIO1_16767

:MANSIO1_16101
200@ = 1263.0
201@ = -770.5
203@ = 180.0
goto @MANSIO1_16767

:MANSIO1_16138
200@ = 1257.0
201@ = -781.0
203@ = 270.0
goto @MANSIO1_16767

:MANSIO1_16175
200@ = 1264.0
201@ = -789.5
203@ = 0.0
goto @MANSIO1_16767

:MANSIO1_16212
200@ = 1268.0
201@ = -789.5
203@ = 0.0
goto @MANSIO1_16767

:MANSIO1_16249
200@ = 1264.0
201@ = -770.5
203@ = 180.0
goto @MANSIO1_16767

:MANSIO1_16286
200@ = 1268.0
201@ = -770.5
203@ = 180.0
goto @MANSIO1_16767

:MANSIO1_16323
200@ = 1257.0
201@ = -778.0
203@ = 270.0
goto @MANSIO1_16767

:MANSIO1_16360
200@ = 1267.0
201@ = -789.5
203@ = 0.0
goto @MANSIO1_16767

:MANSIO1_16397
200@ = 1263.0
201@ = -789.5
203@ = 0.0
goto @MANSIO1_16767

:MANSIO1_16434
200@ = 1269.0
201@ = -770.5
203@ = 180.0
goto @MANSIO1_16767

:MANSIO1_16471
200@ = 1265.0
201@ = -770.5
203@ = 180.0
goto @MANSIO1_16767

:MANSIO1_16508
200@ = 1257.0
201@ = -775.0
203@ = 270.0
goto @MANSIO1_16767

:MANSIO1_16545
200@ = 1262.0
201@ = -789.5
203@ = 0.0
goto @MANSIO1_16767

:MANSIO1_16582
200@ = 1266.0
201@ = -789.5
203@ = 0.0
goto @MANSIO1_16767

:MANSIO1_16619
200@ = 1268.069
201@ = -783.494
203@ = 270.0
goto @MANSIO1_16767

:MANSIO1_16656
200@ = 1271.156
201@ = -780.8453
203@ = 270.0
goto @MANSIO1_16767

:MANSIO1_16693
200@ = 1267.737
201@ = -777.1963
203@ = 270.0
goto @MANSIO1_16767

:MANSIO1_16730
200@ = 1272.534
201@ = -774.9141
203@ = 270.0
goto @MANSIO1_16767

:MANSIO1_16767
return 

:MANSIO1_16769
if 
  TIMERB > 700
goto_if_false @MANSIO1_17061
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
$heading = Math.GetDistanceBetweenCoords2D(1269.668, -778.8566, $x, $y)
if and
  $z > 105.0
  $heading > 65.0
  130.0 > $heading
goto_if_false @MANSIO1_17043
$on_footY = Math.RandomFloatInRange(-6.0, 6.1)
if 
  $on_footY > 0.0
goto_if_false @MANSIO1_16917
$on_footY += 1.5
goto @MANSIO1_16927

:MANSIO1_16917
$on_footY -= 1.5

:MANSIO1_16927
$in_carX = Math.RandomFloatInRange(-6.0, 6.1)
if 
  $in_carX > 0.0
goto_if_false @MANSIO1_16980
$in_carX += 1.5
goto @MANSIO1_16990

:MANSIO1_16980
$in_carX -= 1.5

:MANSIO1_16990
$x, $y, $z = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, $on_footY, -10.0, $in_carX)
World.FireSingleBullet(1269.668, -778.8566, 94.9557, $x, $y, $z, 0)

:MANSIO1_17043
204@ = Math.RandomIntInRange(100, 401)
set_lvar_int_to_lvar_int TIMERB = 204@

:MANSIO1_17061
return 

:MANSIO1_17063
if 
  208@ == 0
goto_if_false @MANSIO1_17143
if 
  211@ == 0
goto_if_false @MANSIO1_17134
210@ = -1
212@ = 0
215@, 216@, 217@ = Char.GetCoordinates($stattreadstamina_ctr)
goto @MANSIO1_17136

:MANSIO1_17134
return 

:MANSIO1_17136
goto @MANSIO1_17168

:MANSIO1_17143
213@ = -1
215@, 216@, 217@ = Char.GetCoordinates(170@(214@,6i))

:MANSIO1_17168
if 
  217@ > 94.5
goto_if_false @MANSIO1_17203
209@ = 0
goto @MANSIO1_17280

:MANSIO1_17203
if 
  217@ > 90.5
goto_if_false @MANSIO1_17238
209@ = 1
goto @MANSIO1_17280

:MANSIO1_17238
if 
  217@ > 86.0
goto_if_false @MANSIO1_17273
209@ = 2
goto @MANSIO1_17280

:MANSIO1_17273
209@ = 3

:MANSIO1_17280
switch_start 209@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_18429 {caseNum1} 0 {caseLabel1} @MANSIO1_17343 {caseNum2} 1 {caseLabel2} @MANSIO1_17597 {caseNum3} 2 {caseLabel3} @MANSIO1_17816 {caseNum4} 3 {caseLabel4} @MANSIO1_18175 {caseNum5} -1 {caseLabel5} @MANSIO1_18429 {caseNum6} -1 {caseLabel6} @MANSIO1_18429 {caseNum7} -1 {caseLabel7} @MANSIO1_18429

:MANSIO1_17343
if and
  216@ > -802.2
  -766.75 > 216@
  215@ > 1257.9
  1304.4 > 215@
goto_if_false @MANSIO1_17583
if 
  216@ > -774.2
goto_if_false @MANSIO1_17464
if 
  1262.7 > 215@
goto_if_false @MANSIO1_17450
207@ = 2
goto @MANSIO1_17457

:MANSIO1_17450
207@ = 1

:MANSIO1_17457
goto @MANSIO1_17576

:MANSIO1_17464
if 
  -785.85 > 216@
goto_if_false @MANSIO1_17534
if 
  1262.7 > 215@
goto_if_false @MANSIO1_17520
207@ = 4
goto @MANSIO1_17527

:MANSIO1_17520
207@ = 3

:MANSIO1_17527
goto @MANSIO1_17576

:MANSIO1_17534
if 
  1262.7 > 215@
goto_if_false @MANSIO1_17569
207@ = 5
goto @MANSIO1_17576

:MANSIO1_17569
207@ = 0

:MANSIO1_17576
goto @MANSIO1_17590

:MANSIO1_17583
207@ = -1

:MANSIO1_17590
goto @MANSIO1_18429

:MANSIO1_17597
if and
  216@ > -793.0
  -767.6 > 216@
  215@ > 1251.4
  1295.7 > 215@
goto_if_false @MANSIO1_17802
if 
  216@ > -776.25
goto_if_false @MANSIO1_17718
if 
  1265.9 > 215@
goto_if_false @MANSIO1_17704
207@ = 9
goto @MANSIO1_17711

:MANSIO1_17704
207@ = 10

:MANSIO1_17711
goto @MANSIO1_17795

:MANSIO1_17718
if 
  -783.5 > 216@
goto_if_false @MANSIO1_17788
if 
  1265.9 > 215@
goto_if_false @MANSIO1_17774
207@ = 7
goto @MANSIO1_17781

:MANSIO1_17774
207@ = 6

:MANSIO1_17781
goto @MANSIO1_17795

:MANSIO1_17788
207@ = 8

:MANSIO1_17795
goto @MANSIO1_17809

:MANSIO1_17802
207@ = -1

:MANSIO1_17809
goto @MANSIO1_18429

:MANSIO1_17816
if and
  216@ > -814.0
  -785.0 > 216@
  215@ > 1251.8
  1303.5 > 215@
goto_if_false @MANSIO1_18161
if 
  216@ > -793.6
goto_if_false @MANSIO1_17972
if 
  215@ > 1298.8
goto_if_false @MANSIO1_17923
207@ = 13
goto @MANSIO1_17965

:MANSIO1_17923
if 
  215@ > 1259.4
goto_if_false @MANSIO1_17958
207@ = 12
goto @MANSIO1_17965

:MANSIO1_17958
207@ = 11

:MANSIO1_17965
goto @MANSIO1_18154

:MANSIO1_17972
if 
  216@ > -807.1
goto_if_false @MANSIO1_18077
if 
  215@ > 1298.8
goto_if_false @MANSIO1_18028
207@ = 16
goto @MANSIO1_18070

:MANSIO1_18028
if 
  215@ > 1259.4
goto_if_false @MANSIO1_18063
207@ = 15
goto @MANSIO1_18070

:MANSIO1_18063
207@ = 14

:MANSIO1_18070
goto @MANSIO1_18154

:MANSIO1_18077
if 
  215@ > 1298.8
goto_if_false @MANSIO1_18112
207@ = 19
goto @MANSIO1_18154

:MANSIO1_18112
if 
  215@ > 1259.4
goto_if_false @MANSIO1_18147
207@ = 18
goto @MANSIO1_18154

:MANSIO1_18147
207@ = 17

:MANSIO1_18154
goto @MANSIO1_18168

:MANSIO1_18161
207@ = -1

:MANSIO1_18168
goto @MANSIO1_18429

:MANSIO1_18175
if and
  216@ > -834.35
  -787.3 > 216@
  215@ > 1239.9
  1308.4 > 215@
goto_if_false @MANSIO1_18415
if 
  -804.2511 > 216@
goto_if_false @MANSIO1_18331
if 
  1254.75 > 215@
goto_if_false @MANSIO1_18282
207@ = 23
goto @MANSIO1_18324

:MANSIO1_18282
if 
  1298.6 > 215@
goto_if_false @MANSIO1_18317
207@ = 24
goto @MANSIO1_18324

:MANSIO1_18317
207@ = 25

:MANSIO1_18324
goto @MANSIO1_18408

:MANSIO1_18331
if 
  1254.75 > 215@
goto_if_false @MANSIO1_18366
207@ = 20
goto @MANSIO1_18408

:MANSIO1_18366
if 
  1298.6 > 215@
goto_if_false @MANSIO1_18401
207@ = 21
goto @MANSIO1_18408

:MANSIO1_18401
207@ = 22

:MANSIO1_18408
goto @MANSIO1_18422

:MANSIO1_18415
207@ = -1

:MANSIO1_18422
goto @MANSIO1_18429

:MANSIO1_18429
if 
  207@ == -1
goto_if_false @MANSIO1_18573
if 
  217@ > 91.5
goto_if_false @MANSIO1_18566
212@ = 0
if 
  215@ > 1279.351
goto_if_false @MANSIO1_18503
212@ += 1

:MANSIO1_18503
if 
  216@ > -766.75
goto_if_false @MANSIO1_18531
212@ += 2

:MANSIO1_18531
if 
  -802.2 > 216@
goto_if_false @MANSIO1_18559
212@ += 4

:MANSIO1_18559
goto @MANSIO1_18573

:MANSIO1_18566
212@ = -1

:MANSIO1_18573
if 
  208@ == 0
goto_if_false @MANSIO1_18613
set_lvar_int_to_lvar_int 210@ = 207@
211@ = 1
goto @MANSIO1_18621

:MANSIO1_18613
set_lvar_int_to_lvar_int 213@ = 207@

:MANSIO1_18621
return 

:MANSIO1_18623
switch_start 218@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_18754 {caseNum1} 1 {caseLabel1} @MANSIO1_18686 {caseNum2} -1 {caseLabel2} @MANSIO1_18754 {caseNum3} -1 {caseLabel3} @MANSIO1_18754 {caseNum4} -1 {caseLabel4} @MANSIO1_18754 {caseNum5} -1 {caseLabel5} @MANSIO1_18754 {caseNum6} -1 {caseLabel6} @MANSIO1_18754 {caseNum7} -1 {caseLabel7} @MANSIO1_18754

:MANSIO1_18686
if 
  190.0 > 115@
goto_if_false @MANSIO1_18747
115@ += 0.34
114@ -= 0.006
118@ += 0.01
116@ += 0.01

:MANSIO1_18747
goto @MANSIO1_18754

:MANSIO1_18754
122@ = Math.Cos(115@)
123@ = Math.Sin(115@)
set_lvar_float_to_lvar_float 120@ = 116@
mult_float_lvar_by_float_lvar 120@ *= 122@
set_lvar_float_to_lvar_float 121@ = 116@
mult_float_lvar_by_float_lvar 121@ *= 123@
set_lvar_float_to_lvar_float 112@ = 117@
add_float_lvar_to_float_lvar 112@ += 120@
set_lvar_float_to_lvar_float 113@ = 118@
add_float_lvar_to_float_lvar 113@ += 121@
Camera.SetFixedPosition(112@, 113@, 114@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(117@, 118@, 119@, SwitchType.JumpCut)
return 

:MANSIO1_18875
switch_start 219@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_19024 {caseNum1} 0 {caseLabel1} @MANSIO1_18938 {caseNum2} 1 {caseLabel2} @MANSIO1_18953 {caseNum3} -1 {caseLabel3} @MANSIO1_19024 {caseNum4} -1 {caseLabel4} @MANSIO1_19024 {caseNum5} -1 {caseLabel5} @MANSIO1_19024 {caseNum6} -1 {caseLabel6} @MANSIO1_19024 {caseNum7} -1 {caseLabel7} @MANSIO1_19024

:MANSIO1_18938
Audio.ReportMissionAudioEventAtObject(128@, 1108)
219@ += 1

:MANSIO1_18953
if 
  220@ > -20.0
goto_if_false @MANSIO1_19009
220@ += -0.1
Object.SetRotation(128@, 220@, 0.0, 90.0)
goto @MANSIO1_19024

:MANSIO1_19009
Audio.ReportMissionAudioEventAtObject(128@, 1109)
219@ += 1

:MANSIO1_19024
return 
switch_start 221@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_19272 {caseNum1} 0 {caseLabel1} @MANSIO1_19089 {caseNum2} 1 {caseLabel2} @MANSIO1_19152 {caseNum3} 2 {caseLabel3} @MANSIO1_19261 {caseNum4} -1 {caseLabel4} @MANSIO1_19272 {caseNum5} -1 {caseLabel5} @MANSIO1_19272 {caseNum6} -1 {caseLabel6} @MANSIO1_19272 {caseNum7} -1 {caseLabel7} @MANSIO1_19272

:MANSIO1_19089
if 
  is_int_lvar_greater_or_equal_to_int_lvar TIMERB >= 222@
goto_if_false @MANSIO1_19140
223@ = Math.RandomIntInRange(4000, 6001)
TIMERB = 0
221@ += 1
goto @MANSIO1_19145

:MANSIO1_19140
Camera.Shake(224@)

:MANSIO1_19145
goto @MANSIO1_19272

:MANSIO1_19152
if 
  is_int_lvar_greater_or_equal_to_int_lvar TIMERB >= 223@
goto_if_false @MANSIO1_19250
224@ = Math.RandomIntInRange(40, 51)
Camera.Shake(224@)
222@ = Math.RandomIntInRange(2500, 5001)
set_lvar_int_to_lvar_int 225@ = 224@
225@ *= 2
225@ += 150
Pad.Shake(PadId.Pad1, 222@, 225@)
TIMERB = 0
221@ -= 1
goto @MANSIO1_19254

:MANSIO1_19250
Camera.Shake(5)

:MANSIO1_19254
goto @MANSIO1_19272

:MANSIO1_19261
Camera.Shake(20)
goto @MANSIO1_19272

:MANSIO1_19272
return 

:MANSIO1_19274
Particle.Kill(124@)
Particle.Kill(125@)
Particle.Kill(126@)
Blip.Remove(47@)
Blip.Remove(146@)
Blip.Remove(147@)
Blip.Remove(148@)
Pickup.Remove(51@)
43@ = 0

:MANSIO1_19321
if 
  4 > 43@
goto_if_false @MANSIO1_19380
Char.MarkAsNoLongerNeeded(99@(43@,4i))
Char.MarkAsNoLongerNeeded(131@(43@,4i))
Char.MarkAsNoLongerNeeded(170@(43@,6i))
43@ += 1
goto @MANSIO1_19321

:MANSIO1_19380
Char.MarkAsNoLongerNeeded(159@)
Streaming.MarkModelAsNoLongerNeeded(#PARACHUTE)
Streaming.MarkModelAsNoLongerNeeded(#PARA_PACK)
Streaming.MarkModelAsNoLongerNeeded(371)
Streaming.RemoveAnimation("PARACHUTE")
Streaming.MarkModelAsNoLongerNeeded(#CARGO_REAR)
Streaming.MarkModelAsNoLongerNeeded(#D9_RAMP)
Streaming.MarkModelAsNoLongerNeeded(#CARDBOARDBOX2)
Streaming.MarkModelAsNoLongerNeeded(330)
return 

:MANSIO1_19435
gosub @MANSIO1_13440
gosub @MANSIO1_19274
DecisionMaker.Remove(39@)
World.DisableAllEntryExits(True)
Streaming.LoadScene(1267.429, -781.5715, 1090.891)
38@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
DecisionMakerChar.AddEventResponse(38@, 9, 911, 0.0, 100.0, 100.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(38@, 15, 415, 0.0, 100.0, 100.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(38@, 31, 413, 0.0, 100.0, 0.0, 0.0, False, True)
Streaming.RequestModel(110)
Streaming.RequestModel(13)
Streaming.RequestModel(195)

:MANSIO1_19597
if or
  not Streaming.HasModelLoaded(110)
  not Streaming.HasModelLoaded(13)
  not Streaming.HasModelLoaded(195)
goto_if_false @MANSIO1_19632
wait 0
goto @MANSIO1_19597

:MANSIO1_19632
51@ = Pickup.Create(#HEALTH, PickupType.Once, 1278.88, -810.5082, 1086.0)
Camera.SetFixedPosition(1266.807, -782.0668, 1092.602, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1267.786, -781.8895, 1092.5, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Char.SetCoordinates($stattreadstamina_ctr, 1267.785, -781.2607, 1090.898)
Char.SetHeading($stattreadstamina_ctr, 185.363)
157@ = 0
if 
  not Char.IsDead(143@)
goto_if_false @MANSIO1_19804
Char.SetCoordinates(143@, 1263.087, -782.9864, 1090.898)
Blip.Remove(146@)
goto @MANSIO1_19852

:MANSIO1_19804
143@ = Char.Create(PedType.Mission1, 117, 1263.087, -782.9864, 1090.898)
Char.GiveWeapon(143@, WeaponType.M4, 30000)
Char.SetCurrentWeapon(143@, WeaponType.M4)
Char.SetNeverTargeted(143@, True)

:MANSIO1_19852
Char.SetHeading(143@, 269.9343)
Char.SetHealth(143@, 300)
Char.SetAreaVisible(143@, 5)
Char.SetDecisionMaker(143@, 34@)
Char.SetSignalAfterKill(143@, False)
Char.SetAccuracy(143@, 75)
Char.SetShootRate(143@, 60)
set_lvar_int_to_constant 428@ = 117
149@ = 0
if 
  not Char.IsDead(144@)
goto_if_false @MANSIO1_19968
Char.SetCoordinates(144@, 1261.967, -778.3527, 1090.898)
Blip.Remove(147@)
goto @MANSIO1_20016

:MANSIO1_19968
144@ = Char.Create(PedType.Mission1, 118, 1261.967, -778.3527, 1090.898)
Char.GiveWeapon(144@, WeaponType.M4, 30000)
Char.SetCurrentWeapon(144@, WeaponType.M4)
Char.SetNeverTargeted(144@, True)

:MANSIO1_20016
Char.SetHeading(144@, 258.1764)
Char.SetHealth(144@, 300)
Char.SetAreaVisible(144@, 5)
Char.SetDecisionMaker(144@, 34@)
Char.SetSignalAfterKill(144@, False)
Char.SetAccuracy(144@, 75)
Char.SetShootRate(144@, 60)
150@ = 1
set_lvar_int_to_constant 429@ = 118
if 
  not Char.IsDead(145@)
goto_if_false @MANSIO1_20132
Char.SetCoordinates(145@, 1267.936, -782.3963, 1090.938)
Blip.Remove(148@)
goto @MANSIO1_20180

:MANSIO1_20132
145@ = Char.Create(PedType.Mission1, 118, 1267.936, -782.3963, 1090.938)
Char.GiveWeapon(145@, WeaponType.M4, 30000)
Char.SetCurrentWeapon(145@, WeaponType.M4)
Char.SetNeverTargeted(145@, True)

:MANSIO1_20180
Char.SetHeading(145@, 7.0205)
Char.SetHealth(145@, 300)
Char.SetAreaVisible(145@, 5)
Char.SetDecisionMaker(145@, 34@)
43@ = 0

:MANSIO1_20220
if 
  20 > 43@
goto_if_false @MANSIO1_20263
246@(43@,20i) = -2
43@ += 1
goto @MANSIO1_20220

:MANSIO1_20263
43@ = 0

:MANSIO1_20270
if 
  10 > 43@
goto_if_false @MANSIO1_20313
296@(43@,10i) = -2
43@ += 1
goto @MANSIO1_20270

:MANSIO1_20313
320@ = -2
321@ = -2
322@ = -2
323@ = -2
346@ = 1282.481
362@ = -783.0235
378@ = 1088.93
394@ = 178.1922
347@ = 1283.504
363@ = -782.3303
379@ = 1088.93
395@ = 179.0122
344@ = 2
348@ = 1280.705
364@ = -789.9243
380@ = 1088.93
396@ = 86.8595
349@ = 1283.79
365@ = -798.3011
381@ = 1088.93
397@ = 282.0571
350@ = 1280.78
366@ = -801.7443
382@ = 1088.93
398@ = 94.8903
351@ = 1283.531
367@ = -810.207
383@ = 1088.93
399@ = 277.6203
352@ = 1280.724
368@ = -813.7949
384@ = 1088.93
400@ = 92.4805
353@ = 1283.641
369@ = -822.3738
385@ = 1088.93
401@ = 281.8632
345@ = 8
354@ = 1283.491
370@ = -785.184
386@ = 1088.93
402@ = 178.5884
355@ = 1281.049
371@ = -792.4401
387@ = 1088.93
403@ = 182.731
356@ = 1283.697
372@ = -799.8134
388@ = 1088.93
404@ = 177.1231
357@ = 1280.901
373@ = -804.8507
389@ = 1088.93
405@ = 184.0353
358@ = 1283.5
374@ = -812.0164
390@ = 1088.93
406@ = 175.55
359@ = 1280.848
375@ = -816.8154
391@ = 1088.93
407@ = 188.1912
360@ = 1283.654
376@ = -831.0235
392@ = 1088.93
408@ = 71.1923
361@ = 1282.427
377@ = -834.7235
393@ = 1088.93
409@ = 92.1225
452@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_constant 444@ = 23824
set_lvar_text_label 453@s = 'MAN1_FC'
set_lvar_int_to_constant 445@ = 23825
set_lvar_text_label 455@s = 'MAN1_FD'
set_lvar_int_to_constant 446@ = 23826
set_lvar_text_label 457@s = 'MAN1_FE'
set_lvar_int_to_constant 447@ = 23827
set_lvar_text_label 459@s = 'MAN1_FF'
set_lvar_int_to_constant 448@ = 23831
set_lvar_text_label 461@s = 'MAN1_FK'
set_lvar_int_to_constant 449@ = 23832
set_lvar_text_label 463@s = 'MAN1_FL'
set_lvar_int_to_constant 450@ = 23833
set_lvar_text_label 465@s = 'MAN1_FM'
set_lvar_int_to_constant 451@ = 23834
set_lvar_text_label 467@s = 'MAN1_FN'
226@ = Char.Create(PedType.Mission2, 108, 1275.64, -776.5879, 1089.711)
Char.SetHeading(226@, 127.9642)
Char.SetHealth(226@, 200)
Char.SetMaxHealth(226@, 200)
Char.SetAreaVisible(226@, 5)
Char.GiveWeapon(226@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(226@, WeaponType.Mp5)
Char.SetAccuracy(226@, 35)
Char.SetShootRate(226@, 50)
Task.ToggleDuck(226@, True)
Char.SetDecisionMaker(226@, 34@)
246@ = 0
227@ = Char.Create(PedType.Mission2, 110, 1281.108, -776.7111, 1089.704)
Char.SetHeading(227@, 99.357)
Char.SetHealth(227@, 200)
Char.SetMaxHealth(227@, 200)
Char.SetAreaVisible(227@, 5)
Char.GiveWeapon(227@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(227@, WeaponType.Mp5)
Char.SetAccuracy(227@, 35)
Char.SetShootRate(227@, 60)
Task.ToggleDuck(227@, True)
Char.SetDecisionMaker(227@, 34@)
247@ = 0
228@ = Char.Create(PedType.Mission2, 108, 1281.617, -784.6133, 1088.93)
Char.SetHeading(228@, 90.0)
Char.SetHealth(228@, 200)
Char.SetMaxHealth(228@, 200)
Char.SetAreaVisible(228@, 5)
Char.GiveWeapon(228@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(228@, WeaponType.Mp5)
Char.SetAccuracy(228@, 35)
Char.SetShootRate(228@, 70)
Char.SetDecisionMaker(228@, 34@)
248@ = 0
229@ = Char.Create(PedType.Mission2, 110, 1283.19, -786.4687, 1088.93)
Char.SetHeading(229@, 0.0)
Char.SetHealth(229@, 200)
Char.SetMaxHealth(229@, 200)
Char.SetAreaVisible(229@, 5)
Char.GiveWeapon(229@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(229@, WeaponType.Mp5)
Char.SetAccuracy(229@, 35)
Char.SetShootRate(229@, 50)
Char.SetDecisionMaker(229@, 34@)
249@ = 0
487@ = -1
490@ = 1275.382
496@ = -782.1158
502@ = 1088.93
508@ = 270.0
491@ = 1290.621
497@ = -797.5714
503@ = 1088.93
509@ = 90.0
492@ = 1276.333
498@ = -813.5852
504@ = 1088.93
510@ = 270.0
493@ = 1274.861
499@ = -825.8968
505@ = 1088.93
511@ = 270.0
494@ = 1226.309
500@ = -832.0841
506@ = 1083.008
512@ = 180.0
495@ = 1288.024
501@ = -821.6524
507@ = 1088.93
513@ = 90.0
set_lvar_int_to_constant 331@ = 23800
set_lvar_text_label 336@s = 'MAN1_AA'
set_lvar_int_to_constant 332@ = 23801
set_lvar_text_label 338@s = 'MAN1_AB'
set_lvar_int_to_constant 333@ = 23802
set_lvar_text_label 340@s = 'MAN1_AC'
set_lvar_int_to_constant 334@ = 23803
set_lvar_text_label 342@s = 'MAN1_AD'
335@ = 0
330@ = 0
Zone.SwitchAudio('MADDOGL', True)
Char.StopFacialTalk($stattreadstamina_ctr)
Camera.DoFade(1000, Fade.In)

:MANSIO1_21980
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_22004
wait 0
goto @MANSIO1_21980

:MANSIO1_22004
TIMERA = 0
49@ = 0
set_var_int_to_constant $1280 = 23820
set_var_text_label s$SLOT_status = 'MAN1_EA'
start_new_script @A_ALAP 2 100 145@ 
skip_cutscene_start_internal @MANSIO1_22313

:MANSIO1_22062
if 
  4000 > TIMERA
goto_if_false @MANSIO1_22092
wait 0
goto @MANSIO1_22062

:MANSIO1_22092
if 
  not Char.IsDead(226@)
goto_if_false @MANSIO1_22122
Task.ToggleDuck(226@, False)
49@ = 1

:MANSIO1_22122
if 
  4400 > TIMERA
goto_if_false @MANSIO1_22152
wait 0
goto @MANSIO1_22122

:MANSIO1_22152
if 
  not Char.IsDead(226@)
goto_if_false @MANSIO1_22198
Task.ShootAtCoord(226@, 1267.728, -782.9617, 1092.689, 300)
49@ = 2

:MANSIO1_22198
if 
  4700 > TIMERA
goto_if_false @MANSIO1_22228
wait 0
goto @MANSIO1_22198

:MANSIO1_22228
if and
  not Char.IsDead(226@)
  not Char.IsDead(145@)
goto_if_false @MANSIO1_22273
Char.ClearTasks(226@)
Task.ToggleDuck(226@, True)
Char.ExplodeHead(145@)
49@ = 3

:MANSIO1_22273
Task.AchieveHeading($stattreadstamina_ctr, 270.0)

:MANSIO1_22283
if 
  5400 > TIMERA
goto_if_false @MANSIO1_22313
wait 0
goto @MANSIO1_22283

:MANSIO1_22313
skip_cutscene_end 
switch_start 49@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_22450 {caseNum1} 0 {caseLabel1} @MANSIO1_22422 {caseNum2} 1 {caseLabel2} @MANSIO1_22399 {caseNum3} 2 {caseLabel3} @MANSIO1_22378 {caseNum4} -1 {caseLabel4} @MANSIO1_22450 {caseNum5} -1 {caseLabel5} @MANSIO1_22450 {caseNum6} -1 {caseLabel6} @MANSIO1_22450 {caseNum7} -1 {caseLabel7} @MANSIO1_22450

:MANSIO1_22378
if 
  not Char.IsDead(226@)
goto_if_false @MANSIO1_22399
Char.ClearTasks(226@)

:MANSIO1_22399
if 
  not Char.IsDead(226@)
goto_if_false @MANSIO1_22422
Task.ToggleDuck(226@, True)

:MANSIO1_22422
if 
  not Char.IsDead(145@)
goto_if_false @MANSIO1_22443
Char.ExplodeHead(145@)

:MANSIO1_22443
goto @MANSIO1_22450

:MANSIO1_22450
Char.SetHeading($stattreadstamina_ctr, 270.0)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
set_var_int_to_constant $1280 = 23821
set_var_text_label s$SLOT_status = 'MAN1_EB'
start_new_script @A_ALAP 2 101 143@ 
TIMERB = 0
415@ = 1
411@ = 1
416@ = -1
Camera.RestoreJumpcut
Camera.SetBehindPlayer
if 
  not Char.IsDead(143@)
goto_if_false @MANSIO1_22630
45@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1266.858, -782.4518, 1090.898, MoveState.Run, -1)
Task.AchieveHeading(-1, 270.5538)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(143@, 45@)
Sequence.Clear(45@)

:MANSIO1_22630
if 
  not Char.IsDead(144@)
goto_if_false @MANSIO1_22720
45@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1268.02, -779.9092, 1090.898, MoveState.Run, -1)
Task.AchieveHeading(-1, 267.5782)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(144@, 45@)
Sequence.Clear(45@)

:MANSIO1_22720
if 
  not Char.IsDead(226@)
goto_if_false @MANSIO1_22744
Char.SetDecisionMaker(226@, 36@)

:MANSIO1_22744
if 
  not Char.IsDead(227@)
goto_if_false @MANSIO1_22768
Char.SetDecisionMaker(227@, 36@)

:MANSIO1_22768
if 
  not Char.IsDead(228@)
goto_if_false @MANSIO1_22827
45@ = Sequence.Open()
Task.StandStill(-1, 1000)
Task.WeaponRoll(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(228@, 45@)
Sequence.Clear(45@)

:MANSIO1_22827
if 
  not Char.IsDead(229@)
goto_if_false @MANSIO1_22918
45@ = Sequence.Open()
Task.StandStill(-1, 500)
Task.GoStraightToCoord(-1, 1283.221, -779.912, 1088.93, MoveState.Run, -1)
Task.AchieveHeading(-1, 90.0)
Task.ToggleDuck(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(229@, 45@)
Sequence.Clear(45@)

:MANSIO1_22918
41@ = Clock.GetGameTimer()
157@ = 0

:MANSIO1_22930
wait 0
40@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 42@ = 40@
sub_int_lvar_from_int_lvar 42@ -= 41@
set_lvar_int_to_lvar_int 41@ = 40@
add_int_lvar_to_int_lvar 164@ += 42@
add_int_lvar_to_int_lvar 165@ += 42@
43@ = 0

:MANSIO1_22986
if 
  20 > 43@
goto_if_false @MANSIO1_23030
add_int_lvar_to_int_lvar 266@(43@,20i) += 42@
43@ += 1
goto @MANSIO1_22986

:MANSIO1_23030
43@ = 0

:MANSIO1_23037
if 
  10 > 43@
goto_if_false @MANSIO1_23081
add_int_lvar_to_int_lvar 306@(43@,10i) += 42@
43@ += 1
goto @MANSIO1_23037

:MANSIO1_23081
add_int_lvar_to_int_lvar 480@ += 42@
add_int_lvar_to_int_lvar 481@ += 42@
add_int_lvar_to_int_lvar 482@ += 42@
add_int_lvar_to_int_lvar 324@ += 42@
add_int_lvar_to_int_lvar 325@ += 42@
add_int_lvar_to_int_lvar 326@ += 42@
add_int_lvar_to_int_lvar 327@ += 42@
gosub @MANSIO1_23279
gosub @MANSIO1_29184
gosub @MANSIO1_32862
gosub @MANSIO1_28155
if 
  157@ > 0
goto_if_false @MANSIO1_23190
gosub @MANSIO1_34284

:MANSIO1_23190
if 
  330@ == 1
goto_if_false @MANSIO1_23215
gosub @MANSIO1_35151

:MANSIO1_23215
if 
  521@ <> 0
goto_if_false @MANSIO1_23240
gosub @MANSIO1_35745

:MANSIO1_23240
if 
  514@ == 2
goto_if_false @MANSIO1_23265
goto @MANSIO1_36517

:MANSIO1_23265
471@ = 0
goto @MANSIO1_22930

:MANSIO1_23279
switch_start 157@ {numCases} 12 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_28153 {caseNum1} 0 {caseLabel1} @MANSIO1_23407 {caseNum2} 1 {caseLabel2} @MANSIO1_24472 {caseNum3} 2 {caseLabel3} @MANSIO1_24838 {caseNum4} 3 {caseLabel4} @MANSIO1_24986 {caseNum5} 4 {caseLabel5} @MANSIO1_25838 {caseNum6} 5 {caseLabel6} @MANSIO1_26532 {caseNum7} 6 {caseLabel7} @MANSIO1_26757
switch_continued 7 {caseLabel1} @MANSIO1_26929 {caseNum2} 8 {caseLabel2} @MANSIO1_27158 {caseNum3} 9 {caseLabel3} @MANSIO1_27387 {caseNum4} 10 {caseLabel4} @MANSIO1_27654 {caseNum5} 11 {caseLabel5} @MANSIO1_27883 {caseNum6} -1 {caseLabel6} @MANSIO1_28153 {caseNum7} -1 {caseLabel7} @MANSIO1_28153 {caseNum8} -1 {caseLabel8} @MANSIO1_28153 {caseNum9} -1 {caseLabel9} @MANSIO1_28153

:MANSIO1_23407
if or
  Char.IsInArea2D($stattreadstamina_ctr, 1285.937, -783.2331, 1279.36, -779.1484, False)
  149@ == 6
  150@ == 7
goto_if_false @MANSIO1_24465
286@ = Char.Create(PedType.Mission2, 108, 1271.954, -786.6414, 1088.928)
Char.SetHeading(286@, 248.455)
Char.SetAreaVisible(286@, 5)
Char.GiveWeapon(286@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(286@, WeaponType.Mp5)
Char.SetAccuracy(286@, 45)
Char.SetShootRate(286@, 35)
Task.StayInSamePlace(286@, True)
Char.SetDecisionMaker(286@, 36@)
296@ = 0
287@ = Char.Create(PedType.Mission2, 110, 1272.165, -790.5964, 1088.928)
Char.SetHeading(287@, 277.2843)
Char.SetAreaVisible(287@, 5)
Char.GiveWeapon(287@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(287@, WeaponType.Mp5)
Char.SetAccuracy(287@, 45)
Char.SetShootRate(287@, 35)
Task.StayInSamePlace(287@, True)
Char.SetDecisionMaker(287@, 36@)
297@ = 0
288@ = Char.Create(PedType.Mission2, 110, 1287.489, -788.2037, 1088.93)
Char.SetHeading(288@, 176.3381)
Char.SetAreaVisible(288@, 5)
Char.GiveWeapon(288@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(288@, WeaponType.Mp5)
Char.SetAccuracy(288@, 50)
Char.SetShootRate(288@, 35)
Task.StayInSamePlace(288@, True)
Char.SetDecisionMaker(288@, 36@)
298@ = 0
289@ = Char.Create(PedType.Mission2, 108, 1292.456, -788.2022, 1088.93)
Char.SetHeading(289@, 145.1614)
Char.SetAreaVisible(289@, 5)
Char.GiveWeapon(289@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(289@, WeaponType.Mp5)
Char.SetAccuracy(289@, 50)
Char.SetShootRate(289@, 35)
Task.StayInSamePlace(289@, True)
Char.SetDecisionMaker(289@, 36@)
299@ = 0
290@ = Char.Create(PedType.Mission2, 108, 1271.389, -800.9039, 1088.927)
Char.SetHeading(290@, 263.9924)
Char.SetAreaVisible(290@, 5)
Char.GiveWeapon(290@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(290@, WeaponType.Mp5)
Char.SetAccuracy(290@, 50)
Char.SetShootRate(290@, 35)
Task.StayInSamePlace(290@, True)
Char.SetDecisionMaker(290@, 36@)
300@ = 0
291@ = Char.Create(PedType.Mission2, 108, 1291.748, -810.5742, 1088.93)
Char.SetHeading(291@, 87.4676)
Char.SetAreaVisible(291@, 5)
Char.GiveWeapon(291@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(291@, WeaponType.Mp5)
Char.SetAccuracy(291@, 50)
Char.SetShootRate(291@, 35)
Task.StayInSamePlace(291@, True)
Char.SetDecisionMaker(291@, 36@)
301@ = 0
292@ = Char.Create(PedType.Mission2, 110, 1289.562, -801.537, 1088.93)
Char.SetHeading(292@, 155.5354)
Char.SetAreaVisible(292@, 5)
Char.GiveWeapon(292@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(292@, WeaponType.Mp5)
Char.SetAccuracy(292@, 50)
Char.SetShootRate(292@, 35)
Task.StayInSamePlace(292@, True)
Char.SetDecisionMaker(292@, 36@)
302@ = 0
293@ = Char.Create(PedType.Mission2, 110, 1272.797, -812.8729, 1088.93)
Char.SetHeading(293@, 263.3181)
Char.SetAreaVisible(293@, 5)
Char.GiveWeapon(293@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(293@, WeaponType.Mp5)
Char.SetAccuracy(293@, 60)
Char.SetShootRate(293@, 45)
Task.StayInSamePlace(293@, True)
Char.SetDecisionMaker(293@, 36@)
303@ = 0
294@ = Char.Create(PedType.Mission2, 110, 1292.816, -821.3403, 1088.93)
Char.SetHeading(294@, 96.7033)
Char.SetAreaVisible(294@, 5)
Char.GiveWeapon(294@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(294@, WeaponType.Mp5)
Char.SetAccuracy(294@, 60)
Char.SetShootRate(294@, 45)
Task.StayInSamePlace(294@, True)
Char.SetDecisionMaker(294@, 36@)
304@ = 0
295@ = Char.Create(PedType.Mission2, 108, 1292.17, -814.6696, 1088.93)
Char.SetHeading(295@, 136.5314)
Char.SetAreaVisible(295@, 5)
Char.GiveWeapon(295@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(295@, WeaponType.Mp5)
Char.SetAccuracy(295@, 60)
Char.SetShootRate(295@, 45)
Task.StayInSamePlace(295@, True)
Char.SetDecisionMaker(295@, 36@)
305@ = 0
477@ = -1
478@ = -1
479@ = -1
480@ = 8000
481@ = 4000
482@ = 0
472@ = 1
488@ = 8000
157@ += 1

:MANSIO1_24465
goto @MANSIO1_28153

:MANSIO1_24472
418@ = 1280.15
419@ = -791.93
420@ = 1284.45
421@ = -795.42
gosub @MANSIO1_29026
if 
  417@ == 0
goto_if_false @MANSIO1_24544
goto @MANSIO1_28153

:MANSIO1_24544
Char.MarkAsNoLongerNeeded(145@)
410@ = Math.RandomIntInRange(0, 2)
if 
  410@ == 0
goto_if_false @MANSIO1_24632
230@ = Char.Create(PedType.Mission2, 108, 1278.607, -801.3676, 1088.93)
316@ = Char.Create(PedType.Mission3, 195, 1286.281, -809.3582, 1088.93)
goto @MANSIO1_24681

:MANSIO1_24632
230@ = Char.Create(PedType.Mission2, 108, 1286.281, -809.3582, 1088.93)
316@ = Char.Create(PedType.Mission3, 195, 1278.607, -801.3676, 1088.93)

:MANSIO1_24681
Char.SetHeading(230@, 0.0)
Char.SetHealth(230@, 200)
Char.SetMaxHealth(230@, 200)
Char.SetAreaVisible(230@, 5)
Char.GiveWeapon(230@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(230@, WeaponType.Mp5)
Char.SetAccuracy(230@, 70)
Char.SetShootRate(230@, 60)
Char.SetDecisionMaker(230@, 36@)
if 
  410@ == 0
goto_if_false @MANSIO1_24785
Task.WeaponRoll(230@, True)
goto @MANSIO1_24792

:MANSIO1_24785
Task.WeaponRoll(230@, False)

:MANSIO1_24792
250@ = 0
Char.SetHeading(316@, 0.0)
Char.SetAreaVisible(316@, 5)
Char.SetDecisionMaker(316@, 37@)
320@ = 0
157@ += 1

:MANSIO1_24838
418@ = 1284.939
419@ = -799.527
420@ = 1279.67
421@ = -803.5135
gosub @MANSIO1_29026
if 
  417@ == 0
goto_if_false @MANSIO1_24910
goto @MANSIO1_28153

:MANSIO1_24910
413@ = 1
47@ = Blip.AddForCoord(1227.226, -834.4195, 1083.008)
Blip.SetEntryExit(47@, 1258.338, -785.4264, 91.0313)
Blip.SetCoordAppearance(47@, 2)
472@ = 0
488@ = 10000
157@ += 1

:MANSIO1_24986
418@ = 1284.94
419@ = -823.43
420@ = 1280.15
421@ = -818.35
gosub @MANSIO1_29026
if 
  417@ == 0
goto_if_false @MANSIO1_25058
goto @MANSIO1_28153

:MANSIO1_25058
231@ = Char.Create(PedType.Mission2, 110, 1267.936, -836.5694, 1084.633)
Char.SetHeading(231@, 312.4274)
Char.SetHealth(231@, 200)
Char.SetMaxHealth(231@, 200)
Char.SetAreaVisible(231@, 5)
Char.GiveWeapon(231@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(231@, WeaponType.Mp5)
Char.SetAccuracy(231@, 60)
Char.SetShootRate(231@, 60)
Task.ToggleDuck(231@, True)
Char.SetDecisionMaker(231@, 36@)
251@ = 0
232@ = Char.Create(PedType.Mission2, 108, 1272.94, -837.6696, 1084.633)
Char.SetHeading(232@, 325.2802)
Char.SetHealth(232@, 200)
Char.SetMaxHealth(232@, 200)
Char.SetAreaVisible(232@, 5)
Char.GiveWeapon(232@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(232@, WeaponType.Mp5)
Char.SetAccuracy(232@, 60)
Char.SetShootRate(232@, 60)
Task.ToggleDuck(232@, True)
Char.SetDecisionMaker(232@, 36@)
252@ = 0
233@ = Char.Create(PedType.Mission2, 110, 1278.936, -837.8117, 1084.633)
Char.SetHeading(233@, 354.8666)
Char.SetHealth(233@, 200)
Char.SetMaxHealth(233@, 200)
Char.SetAreaVisible(233@, 5)
Char.GiveWeapon(233@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(233@, WeaponType.Mp5)
Char.SetAccuracy(233@, 60)
Char.SetShootRate(233@, 60)
Task.ToggleDuck(233@, True)
Char.SetDecisionMaker(233@, 36@)
253@ = 0
234@ = Char.Create(PedType.Mission2, 108, 1293.434, -837.4308, 1084.633)
Char.SetHeading(234@, 84.6034)
Char.SetHealth(234@, 200)
Char.SetMaxHealth(234@, 200)
Char.SetAreaVisible(234@, 5)
Char.GiveWeapon(234@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(234@, WeaponType.Mp5)
Char.SetAccuracy(234@, 60)
Char.SetShootRate(234@, 60)
Task.ToggleDuck(234@, True)
Char.SetDecisionMaker(234@, 36@)
254@ = 0
235@ = Char.Create(PedType.Mission2, 110, 1288.788, -832.1437, 1084.633)
Char.SetHeading(235@, 93.3971)
Char.SetHealth(235@, 200)
Char.SetMaxHealth(235@, 200)
Char.SetAreaVisible(235@, 5)
Char.GiveWeapon(235@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(235@, WeaponType.Mp5)
Char.SetAccuracy(235@, 60)
Char.SetShootRate(235@, 60)
Task.ToggleDuck(235@, True)
Char.SetDecisionMaker(235@, 36@)
255@ = 0
236@ = Char.Create(PedType.Mission2, 108, 1279.452, -818.7137, 1084.633)
Char.SetHeading(236@, 169.7489)
Char.SetHealth(236@, 200)
Char.SetMaxHealth(236@, 200)
Char.SetAreaVisible(236@, 5)
Char.GiveWeapon(236@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(236@, WeaponType.Mp5)
Char.SetAccuracy(236@, 30)
Char.SetShootRate(236@, 50)
Task.ToggleDuck(236@, True)
Char.SetDecisionMaker(236@, 36@)
256@ = 0
317@ = Char.Create(PedType.Mission3, 13, 1292.736, -832.9896, 1084.633)
Char.SetHeading(317@, 90.0)
Char.SetAreaVisible(317@, 5)
Char.SetDecisionMaker(317@, 37@)
321@ = 0
318@ = Char.Create(PedType.Mission3, 195, 1277.984, -813.5414, 1084.64)
Char.SetHeading(318@, 180.0)
Char.SetAreaVisible(318@, 5)
Char.SetDecisionMaker(318@, 37@)
322@ = 0
157@ += 1

:MANSIO1_25838
if 
  Char.IsInArea2D($stattreadstamina_ctr, 1266.533, -831.5337, 1261.282, -838.8454, False)
goto_if_false @MANSIO1_26532
237@ = Char.Create(PedType.Mission2, 110, 1253.758, -826.5505, 1083.008)
Char.SetHeading(237@, 197.3586)
Char.SetHealth(237@, 200)
Char.SetMaxHealth(237@, 200)
Char.SetAreaVisible(237@, 5)
Char.GiveWeapon(237@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(237@, WeaponType.Mp5)
Char.SetAccuracy(237@, 60)
Char.SetShootRate(237@, 70)
Task.ToggleDuck(237@, True)
Char.SetDecisionMaker(237@, 36@)
Task.GoStraightToCoord(237@, 1255.499, -831.5446, 1083.008, MoveState.Run, -1)
257@ = 0
238@ = Char.Create(PedType.Mission2, 108, 1233.705, -827.7943, 1083.008)
Char.SetHeading(238@, 180.0)
Char.SetHealth(238@, 200)
Char.SetMaxHealth(238@, 200)
Char.SetAreaVisible(238@, 5)
Char.GiveWeapon(238@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(238@, WeaponType.Mp5)
Char.SetAccuracy(238@, 60)
Char.SetShootRate(238@, 70)
Char.SetDecisionMaker(238@, 34@)
258@ = 0
45@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1234.104, -832.2075, 1083.008, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 1238.847, -833.2389, 1083.008, MoveState.Run, -1)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Task.SetCharDecisionMaker(-1, 36@)
Sequence.Close(45@)
Char.PerformSequence(238@, 45@)
Sequence.Clear(45@)
328@ = Char.Create(PedType.Mission2, 109, 1227.226, -834.4195, 1083.008)
Char.SetHeading(328@, 270.0)
Char.SetProofs(328@, True, True, True, True, True)
Char.SetDecisionMaker(328@, 34@)
Char.SetNeverTargeted(328@, True)
Blip.Remove(47@)
329@ = Blip.AddForChar(328@)
Blip.SetEntryExit(329@, 1258.338, -785.4264, 91.0313)
Blip.ChangeDisplay(329@, BlipDisplay.MarkerOnly)
516@ = 1227.315
517@ = -831.5784
45@ = Sequence.Open()
Task.WeaponRoll(-1, True)
Task.StandStill(-1, 2000)
Task.GoStraightToCoord(-1, 516@, 517@, 1083.008, MoveState.Run, -1)
Sequence.Close(45@)
Char.PerformSequence(328@, 45@)
Sequence.Clear(45@)
518@ = 1225.194
519@ = -816.5573
520@ = 270.0
514@ = 0
set_var_int_to_constant $1280 = 23804
set_var_text_label s$SLOT_status = 'MAN1_BA'
start_new_script @A_ALAP 2 200 328@ 
330@ = 1
415@ = -1
319@ = Char.Create(PedType.Mission3, 13, 1240.835, -826.6857, 1082.156)
Char.SetHeading(319@, 143.0862)
Char.SetAreaVisible(319@, 5)
Char.SetDecisionMaker(319@, 37@)
323@ = 0
157@ += 1

:MANSIO1_26532
if 
  Char.IsInArea3D($stattreadstamina_ctr, 1229.934, -835.5339, 1082.5, 1224.882, -838.8135, 1085.5, False)
goto_if_false @MANSIO1_26750
if 
  515@ == 0
goto_if_false @MANSIO1_26621
Text.PrintNow('MAN1_21', 8000, 1)
515@ = 1

:MANSIO1_26621
if 
  not Char.IsDead(328@)
goto_if_false @MANSIO1_26743
Char.ClearTasksImmediately(328@)
Char.SetCoordinates(328@, 518@, 519@, 1083.01)
Char.SetHeading(328@, 520@)
516@ = 1231.282
517@ = -816.6354
Task.GoStraightToCoord(328@, 516@, 517@, 1083.015, MoveState.Run, -1)
518@ = 1256.583
519@ = -812.8542
520@ = 270.0
514@ = 0

:MANSIO1_26743
157@ += 1

:MANSIO1_26750
goto @MANSIO1_28153

:MANSIO1_26757
if 
  Char.IsInArea3D($stattreadstamina_ctr, 1228.68, -829.9222, 1082.5, 1224.883, -825.2996, 1085.5, False)
goto_if_false @MANSIO1_26922
239@ = Char.Create(PedType.Mission2, 108, 1228.808, -812.9333, 1083.008)
Char.SetHeading(239@, 180.0)
Char.SetHealth(239@, 200)
Char.SetMaxHealth(239@, 200)
Char.SetAreaVisible(239@, 5)
Char.GiveWeapon(239@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(239@, WeaponType.Mp5)
Char.SetAccuracy(239@, 60)
Char.SetShootRate(239@, 70)
Char.SetDecisionMaker(239@, 36@)
Task.WeaponRoll(239@, True)
259@ = 0
157@ += 1

:MANSIO1_26922
goto @MANSIO1_28153

:MANSIO1_26929
if 
  Char.IsInArea3D($stattreadstamina_ctr, 1229.799, -810.6401, 1082.5, 1224.884, -819.0158, 1085.5, False)
goto_if_false @MANSIO1_27151
if 
  not Char.IsDead(328@)
goto_if_false @MANSIO1_27144
Char.ClearTasksImmediately(328@)
Char.SetCoordinates(328@, 518@, 519@, 1083.01)
Char.SetHeading(328@, 520@)
516@ = 1262.628
517@ = -805.6454
45@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1261.444, -812.2836, 1083.015, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 516@, 517@, 1083.015, MoveState.Run, -1)
Sequence.Close(45@)
Char.PerformSequence(328@, 45@)
Sequence.Clear(45@)
518@ = 1266.928
519@ = -801.9423
520@ = 270.0
514@ = 0

:MANSIO1_27144
157@ += 1

:MANSIO1_27151
goto @MANSIO1_28153

:MANSIO1_27158
if 
  Char.IsInArea3D($stattreadstamina_ctr, 1254.281, -810.6465, 1082.5, 1264.045, -813.9205, 1085.5, False)
goto_if_false @MANSIO1_27380
if 
  not Char.IsDead(328@)
goto_if_false @MANSIO1_27366
Char.ClearTasksImmediately(328@)
Char.SetCoordinates(328@, 518@, 519@, 1083.01)
Char.SetHeading(328@, 520@)
516@ = 1274.634
517@ = -801.9045
Task.GoStraightToCoord(328@, 516@, 517@, 1083.015, MoveState.Run, -1)
518@ = 1257.388
519@ = -789.8594
520@ = 90.0
514@ = 0
set_var_int_to_constant $1280 = 23805
set_var_text_label s$SLOT_status = 'MAN1_BB'
start_new_script @A_ALAP 2 200 328@ 

:MANSIO1_27366
157@ += 1
gosub @MANSIO1_35546

:MANSIO1_27380
goto @MANSIO1_28153

:MANSIO1_27387
if 
  Char.IsInArea3D($stattreadstamina_ctr, 1278.469, -791.9025, 1082.5, 1285.187, -786.7327, 1085.5, False)
goto_if_false @MANSIO1_27647
if 
  not Char.IsDead(328@)
goto_if_false @MANSIO1_27640
Char.ClearTasksImmediately(328@)
Char.SetCoordinates(328@, 518@, 519@, 1083.01)
Char.SetHeading(328@, 520@)
516@ = 1249.665
517@ = -782.4513
45@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1250.071, -788.768, 1083.015, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 516@, 517@, 1083.015, MoveState.Run, -1)
Sequence.Close(45@)
Char.PerformSequence(328@, 45@)
Sequence.Clear(45@)
518@ = 1265.614
519@ = -769.7585
520@ = 270.0
514@ = 0
set_var_int_to_constant $1280 = 23806
set_var_text_label s$SLOT_status = 'MAN1_BC'
start_new_script @A_ALAP 2 200 328@ 

:MANSIO1_27640
157@ += 1

:MANSIO1_27647
goto @MANSIO1_28153

:MANSIO1_27654
if 
  Char.IsInArea3D($stattreadstamina_ctr, 1251.285, -775.3042, 1082.5, 1247.005, -765.7498, 1085.5, False)
goto_if_false @MANSIO1_27876
if 
  not Char.IsDead(328@)
goto_if_false @MANSIO1_27869
Char.ClearTasksImmediately(328@)
Char.SetCoordinates(328@, 518@, 519@, 1083.01)
Char.SetHeading(328@, 520@)
516@ = 1269.674
517@ = -774.7773
45@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1269.4, -769.4953, 1083.015, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 516@, 517@, 1083.015, MoveState.Run, -1)
Sequence.Close(45@)
Char.PerformSequence(328@, 45@)
Sequence.Clear(45@)
518@ = 1280.115
519@ = -781.6223
520@ = 270.0
514@ = 0

:MANSIO1_27869
157@ += 1

:MANSIO1_27876
goto @MANSIO1_28153

:MANSIO1_27883
if 
  Char.IsInArea3D($stattreadstamina_ctr, 1260.289, -765.4207, 1082.5, 1267.524, -774.8633, 1085.5, False)
goto_if_false @MANSIO1_28146
if 
  not Char.IsDead(328@)
goto_if_false @MANSIO1_28139
Char.ClearTasksImmediately(328@)
Char.SetCoordinates(328@, 518@, 519@, 1083.01)
Char.SetHeading(328@, 520@)
516@ = 1301.081
517@ = -786.3077
45@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1288.806, -780.5795, 1083.015, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 1300.839, -781.0582, 1083.015, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 516@, 517@, 1083.015, MoveState.Run, -1)
Sequence.Close(45@)
Char.PerformSequence(328@, 45@)
Sequence.Clear(45@)
518@ = -1.0
514@ = 0
set_var_int_to_constant $1280 = 23807
set_var_text_label s$SLOT_status = 'MAN1_BD'
start_new_script @A_ALAP 2 200 328@ 

:MANSIO1_28139
157@ += 1

:MANSIO1_28146
goto @MANSIO1_28153

:MANSIO1_28153
return 

:MANSIO1_28155
if 
  415@ == 0
goto_if_false @MANSIO1_28951
43@ = 0

:MANSIO1_28180
if 
  4 > 43@
goto_if_false @MANSIO1_28944
if 
  411@(43@,4i) == 1
goto_if_false @MANSIO1_28930
switch_start 43@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_28930 {caseNum1} 0 {caseLabel1} @MANSIO1_28283 {caseNum2} 1 {caseLabel2} @MANSIO1_28335 {caseNum3} 2 {caseLabel3} @MANSIO1_28610 {caseNum4} 3 {caseLabel4} @MANSIO1_28662 {caseNum5} -1 {caseLabel5} @MANSIO1_28930 {caseNum6} -1 {caseLabel6} @MANSIO1_28930 {caseNum7} -1 {caseLabel7} @MANSIO1_28930

:MANSIO1_28283
Text.PrintNow('MAN1_13', 8000, 1)
415@ = 1
set_lvar_int_to_lvar_int 416@ = 43@
TIMERB = 0
43@ = 4
goto @MANSIO1_28930

:MANSIO1_28335
if 
  not Char.IsDead(143@)
goto_if_false @MANSIO1_28483
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 143@, 35.0, 35.0, 4.0, False)
goto_if_false @MANSIO1_28469
if 
  not Char.IsDead(144@)
goto_if_false @MANSIO1_28432
set_var_int_to_constant $1280 = 23822
set_var_text_label s$SLOT_status = 'MAN1_FA'
goto @MANSIO1_28454

:MANSIO1_28432
set_var_int_to_constant $1280 = 23823
set_var_text_label s$SLOT_status = 'MAN1_FB'

:MANSIO1_28454
start_new_script @A_ALAP 2 100 143@ 

:MANSIO1_28469
415@ = 1
goto @MANSIO1_28563

:MANSIO1_28483
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 144@, 35.0, 35.0, 4.0, False)
goto_if_false @MANSIO1_28556
set_var_int_to_constant $1280 = 23830
set_var_text_label s$SLOT_status = 'MAN1_FJ'
start_new_script @A_ALAP 2 100 144@ 

:MANSIO1_28556
415@ = 1

:MANSIO1_28563
if 
  415@ == 1
goto_if_false @MANSIO1_28603
set_lvar_int_to_lvar_int 416@ = 43@
TIMERB = 0
43@ = 4

:MANSIO1_28603
goto @MANSIO1_28930

:MANSIO1_28610
Text.PrintNow('MAN1_20', 8000, 1)
415@ = 1
set_lvar_int_to_lvar_int 416@ = 43@
TIMERB = 0
43@ = 4
goto @MANSIO1_28930

:MANSIO1_28662
if 
  not Char.IsDead(143@)
goto_if_false @MANSIO1_28810
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 143@, 35.0, 35.0, 4.0, False)
goto_if_false @MANSIO1_28796
if 
  not Char.IsDead(144@)
goto_if_false @MANSIO1_28759
set_var_int_to_constant $1280 = 23828
set_var_text_label s$SLOT_status = 'MAN1_FG'
goto @MANSIO1_28781

:MANSIO1_28759
set_var_int_to_constant $1280 = 23829
set_var_text_label s$SLOT_status = 'MAN1_FH'

:MANSIO1_28781
start_new_script @A_ALAP 2 100 143@ 

:MANSIO1_28796
415@ = 1
goto @MANSIO1_28890

:MANSIO1_28810
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 144@, 35.0, 35.0, 4.0, False)
goto_if_false @MANSIO1_28883
set_var_int_to_constant $1280 = 23835
set_var_text_label s$SLOT_status = 'MAN1_FO'
start_new_script @A_ALAP 2 100 144@ 

:MANSIO1_28883
415@ = 1

:MANSIO1_28890
if 
  415@ == 1
goto_if_false @MANSIO1_28930
set_lvar_int_to_lvar_int 416@ = 43@
TIMERB = 0
43@ = 4

:MANSIO1_28930
43@ += 1
goto @MANSIO1_28180

:MANSIO1_28944
goto @MANSIO1_29024

:MANSIO1_28951
if 
  415@ == 1
goto_if_false @MANSIO1_29024
if 
  TIMERB > 8000
goto_if_false @MANSIO1_29024
if 
  416@ <> -1
goto_if_false @MANSIO1_29017
411@(416@,4i) = -1

:MANSIO1_29017
415@ = 0

:MANSIO1_29024
return 

:MANSIO1_29026
417@ = 0
if 
  Char.IsInArea2D($stattreadstamina_ctr, 418@, 419@, 420@, 421@, False)
goto_if_false @MANSIO1_29072
417@ = 1
return 

:MANSIO1_29072
if 
  not Char.IsDead(143@)
goto_if_false @MANSIO1_29127
if 
  Char.IsInArea2D(143@, 418@, 419@, 420@, 421@, False)
goto_if_false @MANSIO1_29127
417@ = 1
return 

:MANSIO1_29127
if 
  not Char.IsDead(144@)
goto_if_false @MANSIO1_29182
if 
  Char.IsInArea2D(144@, 418@, 419@, 420@, 421@, False)
goto_if_false @MANSIO1_29182
417@ = 1
return 

:MANSIO1_29182
return 

:MANSIO1_29184
430@ = 0
431@ = 1

:MANSIO1_29198
if 
  2 > 430@
goto_if_false @MANSIO1_30961
if 
  not Char.IsDead(143@(430@,3i))
goto_if_false @MANSIO1_30763
switch_start 149@(430@,3i) {numCases} 18 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_30756 {caseNum1} 0 {caseLabel1} @MANSIO1_29433 {caseNum2} 1 {caseLabel2} @MANSIO1_29433 {caseNum3} 2 {caseLabel3} @MANSIO1_29497 {caseNum4} 3 {caseLabel4} @MANSIO1_29497 {caseNum5} 4 {caseLabel5} @MANSIO1_29559 {caseNum6} 5 {caseLabel6} @MANSIO1_29559 {caseNum7} 6 {caseLabel7} @MANSIO1_29684
switch_continued 7 {caseLabel1} @MANSIO1_29684 {caseNum2} 8 {caseLabel2} @MANSIO1_29752 {caseNum3} 9 {caseLabel3} @MANSIO1_29854 {caseNum4} 10 {caseLabel4} @MANSIO1_29907 {caseNum5} 11 {caseLabel5} @MANSIO1_29983 {caseNum6} 12 {caseLabel6} @MANSIO1_30089 {caseNum7} 13 {caseLabel7} @MANSIO1_30199 {caseNum8} 14 {caseLabel8} @MANSIO1_30266 {caseNum9} 15 {caseLabel9} @MANSIO1_30361
switch_continued 16 {caseLabel1} @MANSIO1_30550 {caseNum2} 17 {caseLabel2} @MANSIO1_30618 {caseNum3} -1 {caseLabel3} @MANSIO1_30756 {caseNum4} -1 {caseLabel4} @MANSIO1_30756 {caseNum5} -1 {caseLabel5} @MANSIO1_30756 {caseNum6} -1 {caseLabel6} @MANSIO1_30756 {caseNum7} -1 {caseLabel7} @MANSIO1_30756 {caseNum8} -1 {caseLabel8} @MANSIO1_30756 {caseNum9} -1 {caseLabel9} @MANSIO1_30756

:MANSIO1_29433
if or
  246@ <> -1
  247@ <> -1
  248@ <> -1
  249@ <> -1
goto_if_false @MANSIO1_29479
goto @MANSIO1_30756

:MANSIO1_29479
149@(430@,3i) += 2
goto @MANSIO1_30756

:MANSIO1_29497
Char.ClearTasks(143@(430@,3i))
Char.SetDecisionMaker(143@(430@,3i), 35@)
422@(430@,2i) = -1
set_lvar_int_to_lvar_int 424@(430@,2i) = 430@
149@(430@,3i) += 2
goto @MANSIO1_30756

:MANSIO1_29559
if 
  422@(430@,2i) <> 3
goto_if_false @MANSIO1_29595
gosub @MANSIO1_30963
goto @MANSIO1_29677

:MANSIO1_29595
Char.ClearTasks(143@(430@,3i))
Char.SetDecisionMaker(143@(430@,3i), 36@)
Task.ToggleDuck(143@(430@,3i), True)
set_lvar_int_to_lvar_int 433@ = 424@(430@,2i)
Task.AchieveHeading(143@(430@,3i), 394@(433@,16f))
422@(430@,2i) = -1
149@(430@,3i) += 2

:MANSIO1_29677
goto @MANSIO1_30756

:MANSIO1_29684
if 
  157@ > 0
goto_if_false @MANSIO1_29745
149@(430@,3i) += 2
if 
  432@ == 0
goto_if_false @MANSIO1_29745
412@ = 1
432@ = 1

:MANSIO1_29745
goto @MANSIO1_30756

:MANSIO1_29752
if 
  not Char.IsDead(143@(431@,3i))
goto_if_false @MANSIO1_29801
if 
  149@(431@,3i) <> 13
goto_if_false @MANSIO1_29801
goto @MANSIO1_30756

:MANSIO1_29801
Char.SetDecisionMaker(143@(430@,3i), 35@)
422@(430@,2i) = -1
set_lvar_int_to_lvar_int 424@(430@,2i) = 344@
149@(430@,3i) += 2
goto @MANSIO1_30756

:MANSIO1_29854
Char.SetDecisionMaker(143@(430@,3i), 35@)
422@(430@,2i) = -1
set_lvar_int_to_lvar_int 424@(430@,2i) = 345@
149@(430@,3i) += 2
goto @MANSIO1_30756

:MANSIO1_29907
if 
  422@(430@,2i) <> 3
goto_if_false @MANSIO1_29943
gosub @MANSIO1_30963
goto @MANSIO1_29976

:MANSIO1_29943
426@(430@,2i) = 1
422@(430@,2i) = -1
149@(430@,3i) += 2

:MANSIO1_29976
goto @MANSIO1_30756

:MANSIO1_29983
if 
  422@(430@,2i) <> 3
goto_if_false @MANSIO1_30019
gosub @MANSIO1_30963
goto @MANSIO1_30082

:MANSIO1_30019
Char.SetDecisionMaker(143@(430@,3i), 36@)
Task.StayInSamePlace(143@(430@,3i), True)
Task.ToggleDuck(143@(430@,3i), True)
422@(430@,2i) = -1
345@ += 1
149@(430@,3i) += 2

:MANSIO1_30082
goto @MANSIO1_30756

:MANSIO1_30089
if 
  422@(430@,2i) <> 3
goto_if_false @MANSIO1_30125
gosub @MANSIO1_30963
goto @MANSIO1_30192

:MANSIO1_30125
Char.SetDecisionMaker(143@(430@,3i), 36@)
Task.StayInSamePlace(143@(430@,3i), True)
Task.ToggleDuck(143@(430@,3i), True)
422@(430@,2i) = -1
437@(430@,2i) = -1
149@(430@,3i) += 2

:MANSIO1_30192
goto @MANSIO1_30756

:MANSIO1_30199
if 
  not Char.IsDead(143@(431@,3i))
goto_if_false @MANSIO1_30248
if 
  149@(431@,3i) <> 11
goto_if_false @MANSIO1_30248
goto @MANSIO1_30756

:MANSIO1_30248
149@(430@,3i) -= 5
goto @MANSIO1_30756

:MANSIO1_30266
gosub @MANSIO1_31608
if 
  439@ == 1
goto_if_false @MANSIO1_30354
439@ = 0
Char.SetDecisionMaker(143@(430@,3i), 35@)
Task.ToggleDuck(143@(430@,3i), False)
426@(430@,2i) = 0
422@(430@,2i) = -1
149@(430@,3i) += 1

:MANSIO1_30354
goto @MANSIO1_30756

:MANSIO1_30361
if 
  422@(430@,2i) <> 3
goto_if_false @MANSIO1_30397
gosub @MANSIO1_30963
goto @MANSIO1_30543

:MANSIO1_30397
if 
  344@ == 8
goto_if_false @MANSIO1_30471
149@(430@,3i) = 16
if 
  not Char.IsDead(143@(431@,3i))
goto_if_false @MANSIO1_30457
149@(431@,3i) = 16

:MANSIO1_30457
414@ = 1
goto @MANSIO1_30543

:MANSIO1_30471
422@(430@,2i) = -1
if 
  not Char.IsDead(143@(431@,3i))
goto_if_false @MANSIO1_30532
set_lvar_int_to_lvar_int 424@(430@,2i) = 345@
149@(430@,3i) -= 4
goto @MANSIO1_30543

:MANSIO1_30532
149@(430@,3i) -= 7

:MANSIO1_30543
goto @MANSIO1_30756

:MANSIO1_30550
Char.SetDecisionMaker(143@(430@,3i), 35@)
422@(430@,2i) = -1
433@ = 14
add_int_lvar_to_int_lvar 433@ += 430@
set_lvar_int_to_lvar_int 424@(430@,2i) = 433@
149@(430@,3i) += 1
goto @MANSIO1_30756

:MANSIO1_30618
if 
  422@(430@,2i) <> 3
goto_if_false @MANSIO1_30654
gosub @MANSIO1_30963
goto @MANSIO1_30749

:MANSIO1_30654
Char.SetDecisionMaker(143@(430@,3i), 36@)
Task.StayInSamePlace(143@(430@,3i), True)
if 
  424@(430@,2i) == 14
goto_if_false @MANSIO1_30710
Task.ToggleDuck(143@(430@,3i), True)

:MANSIO1_30710
set_lvar_int_to_lvar_int 433@ = 424@(430@,2i)
Task.AchieveHeading(143@(430@,3i), 394@(433@,16f))
149@(430@,3i) += 1

:MANSIO1_30749
goto @MANSIO1_30756

:MANSIO1_30756
goto @MANSIO1_30940

:MANSIO1_30763
if 
  149@(430@,3i) <> -2
goto_if_false @MANSIO1_30940
switch_start 149@(430@,3i) {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @MANSIO1_30852 {caseNum1} -1 {caseLabel1} @MANSIO1_30881 {caseNum2} -1 {caseLabel2} @MANSIO1_30940 {caseNum3} -1 {caseLabel3} @MANSIO1_30940 {caseNum4} -1 {caseLabel4} @MANSIO1_30940 {caseNum5} -1 {caseLabel5} @MANSIO1_30940 {caseNum6} -1 {caseLabel6} @MANSIO1_30940 {caseNum7} -1 {caseLabel7} @MANSIO1_30940

:MANSIO1_30852
164@(430@,3i) = 0
149@(430@,3i) = -1
goto @MANSIO1_30940

:MANSIO1_30881
if 
  10000 > 164@(430@,3i)
goto_if_false @MANSIO1_30911
goto @MANSIO1_30940

:MANSIO1_30911
Char.RemoveElegantly(143@(430@,3i))
Streaming.MarkModelAsNoLongerNeeded(428@(430@,2i))
149@(430@,3i) -= 1

:MANSIO1_30940
430@ += 1
431@ -= 1
goto @MANSIO1_29198

:MANSIO1_30961
return 

:MANSIO1_30963
set_lvar_int_to_lvar_int 433@ = 424@(430@,2i)
set_lvar_float_to_lvar_float 434@ = 346@(433@,16f)
set_lvar_float_to_lvar_float 435@ = 362@(433@,16f)
set_lvar_float_to_lvar_float 436@ = 378@(433@,16f)
if 
  426@(430@,2i) == 1
goto_if_false @MANSIO1_31130
switch_start 344@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_31130 {caseNum1} 2 {caseLabel1} @MANSIO1_31096 {caseNum2} 3 {caseLabel2} @MANSIO1_31113 {caseNum3} 4 {caseLabel3} @MANSIO1_31096 {caseNum4} 5 {caseLabel4} @MANSIO1_31113 {caseNum5} 6 {caseLabel5} @MANSIO1_31096 {caseNum6} 7 {caseLabel6} @MANSIO1_31113 {caseNum7} -1 {caseLabel7} @MANSIO1_31130

:MANSIO1_31096
434@ -= 3.5
goto @MANSIO1_31130

:MANSIO1_31113
434@ += 3.5
goto @MANSIO1_31130

:MANSIO1_31130
switch_start 422@(430@,2i) {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_31606 {caseNum1} -1 {caseLabel1} @MANSIO1_31197 {caseNum2} 0 {caseLabel2} @MANSIO1_31310 {caseNum3} 1 {caseLabel3} @MANSIO1_31361 {caseNum4} 2 {caseLabel4} @MANSIO1_31525 {caseNum5} -1 {caseLabel5} @MANSIO1_31606 {caseNum6} -1 {caseLabel6} @MANSIO1_31606 {caseNum7} -1 {caseLabel7} @MANSIO1_31606

:MANSIO1_31197
if 
  Char.IsRespondingToEvent(143@(430@,3i), -1)
goto_if_false @MANSIO1_31248
Task.StayInSamePlace(143@(430@,3i), True)
422@(430@,2i) = 0
goto @MANSIO1_31303

:MANSIO1_31248
Task.StayInSamePlace(143@(430@,3i), False)
Task.ToggleDuck(143@(430@,3i), False)
Task.GoStraightToCoord(143@(430@,3i), 434@, 435@, 436@, MoveState.Run, -2)
422@(430@,2i) = 1

:MANSIO1_31303
goto @MANSIO1_31606

:MANSIO1_31310
if 
  not Char.IsRespondingToEvent(143@(430@,3i), -1)
goto_if_false @MANSIO1_31354
164@(430@,3i) = 0
422@(430@,2i) = 2

:MANSIO1_31354
goto @MANSIO1_31606

:MANSIO1_31361
if 
  Char.IsRespondingToEvent(143@(430@,3i), -1)
goto_if_false @MANSIO1_31401
422@(430@,2i) = -1
goto @MANSIO1_31518

:MANSIO1_31401
if 
  Char.LocateOnFoot3D(143@(430@,3i), 434@, 435@, 436@, 1.2, 1.2, 1.5, False)
goto_if_false @MANSIO1_31465
422@(430@,2i) = 3
goto @MANSIO1_31518

:MANSIO1_31465
50@ = Char.GetScriptTaskStatus(143@(430@,3i), 1491)
if 
  is_int_lvar_equal_to_constant 50@ == 7
goto_if_false @MANSIO1_31518
Char.ClearTasks(143@(430@,3i))
422@(430@,2i) = -1

:MANSIO1_31518
goto @MANSIO1_31606

:MANSIO1_31525
if 
  Char.IsRespondingToEvent(143@(430@,3i), -1)
goto_if_false @MANSIO1_31565
422@(430@,2i) = 0
goto @MANSIO1_31599

:MANSIO1_31565
if 
  164@(430@,3i) > 500
goto_if_false @MANSIO1_31599
422@(430@,2i) = -1

:MANSIO1_31599
goto @MANSIO1_31606

:MANSIO1_31606
return 

:MANSIO1_31608
switch_start 437@(430@,2i) {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_31862 {caseNum1} -1 {caseLabel1} @MANSIO1_31675 {caseNum2} 0 {caseLabel2} @MANSIO1_31726 {caseNum3} 1 {caseLabel3} @MANSIO1_31807 {caseNum4} -1 {caseLabel4} @MANSIO1_31862 {caseNum5} -1 {caseLabel5} @MANSIO1_31862 {caseNum6} -1 {caseLabel6} @MANSIO1_31862 {caseNum7} -1 {caseLabel7} @MANSIO1_31862

:MANSIO1_31675
if 
  not Char.IsRespondingToEvent(143@(430@,3i), -1)
goto_if_false @MANSIO1_31719
164@(430@,3i) = 0
437@(430@,2i) += 1

:MANSIO1_31719
goto @MANSIO1_31862

:MANSIO1_31726
if 
  Char.IsRespondingToEvent(143@(430@,3i), -1)
goto_if_false @MANSIO1_31766
437@(430@,2i) -= 1
goto @MANSIO1_31800

:MANSIO1_31766
if 
  164@(430@,3i) > 300
goto_if_false @MANSIO1_31800
437@(430@,2i) += 1

:MANSIO1_31800
goto @MANSIO1_31862

:MANSIO1_31807
gosub @MANSIO1_31864
if 
  439@ == 0
goto_if_false @MANSIO1_31855
164@(430@,3i) = 150
437@(430@,2i) -= 1

:MANSIO1_31855
goto @MANSIO1_31862

:MANSIO1_31862
return 

:MANSIO1_31864
439@ = 0
switch_start 344@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_32394 {caseNum1} 2 {caseLabel1} @MANSIO1_31934 {caseNum2} 3 {caseLabel2} @MANSIO1_32013 {caseNum3} 4 {caseLabel3} @MANSIO1_32092 {caseNum4} 5 {caseLabel4} @MANSIO1_32164 {caseNum5} 6 {caseLabel5} @MANSIO1_32243 {caseNum6} 7 {caseLabel6} @MANSIO1_32315 {caseNum7} -1 {caseLabel7} @MANSIO1_32394

:MANSIO1_31934
if and
  296@ == -1
  297@ == -1
goto_if_false @MANSIO1_32006
439@ = 1
440@ = 1271.341
441@ = -785.5189
442@ = 1278.642
443@ = -798.1946

:MANSIO1_32006
goto @MANSIO1_32394

:MANSIO1_32013
if and
  298@ == -1
  299@ == -1
goto_if_false @MANSIO1_32085
439@ = 1
440@ = 1285.97
441@ = -785.5347
442@ = 1293.101
443@ = -799.4673

:MANSIO1_32085
goto @MANSIO1_32394

:MANSIO1_32092
if 
  300@ == -1
goto_if_false @MANSIO1_32157
439@ = 1
440@ = 1271.417
441@ = -799.7592
442@ = 1278.639
443@ = -810.0243

:MANSIO1_32157
goto @MANSIO1_32394

:MANSIO1_32164
if and
  301@ == -1
  302@ == -1
goto_if_false @MANSIO1_32236
439@ = 1
440@ = 1285.959
441@ = -800.8917
442@ = 1293.121
443@ = -811.5349

:MANSIO1_32236
goto @MANSIO1_32394

:MANSIO1_32243
if 
  303@ == -1
goto_if_false @MANSIO1_32308
439@ = 1
440@ = 1271.434
441@ = -811.7203
442@ = 1278.597
443@ = -822.8848

:MANSIO1_32308
goto @MANSIO1_32394

:MANSIO1_32315
if and
  304@ == -1
  305@ == -1
goto_if_false @MANSIO1_32387
439@ = 1
440@ = 1285.944
441@ = -812.8881
442@ = 1293.238
443@ = -823.5223

:MANSIO1_32387
goto @MANSIO1_32394

:MANSIO1_32394
if 
  439@ == 1
goto_if_false @MANSIO1_32519
43@ = 0

:MANSIO1_32419
if 
  20 > 43@
goto_if_false @MANSIO1_32519
if 
  not Char.IsDead(226@(43@,20i))
goto_if_false @MANSIO1_32505
if 
  Char.IsInArea2D(226@(43@,20i), 440@, 441@, 442@, 443@, False)
goto_if_false @MANSIO1_32505
439@ = 0
43@ = 20

:MANSIO1_32505
43@ += 1
goto @MANSIO1_32419

:MANSIO1_32519
if 
  439@ == 1
goto_if_false @MANSIO1_32644
43@ = 0

:MANSIO1_32544
if 
  3 > 43@
goto_if_false @MANSIO1_32644
if 
  not Char.IsDead(474@(43@,3i))
goto_if_false @MANSIO1_32630
if 
  Char.IsInArea2D(474@(43@,3i), 440@, 441@, 442@, 443@, False)
goto_if_false @MANSIO1_32630
439@ = 0
43@ = 2

:MANSIO1_32630
43@ += 1
goto @MANSIO1_32544

:MANSIO1_32644
if 
  439@ == 1
goto_if_false @MANSIO1_32860
344@ += 1
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @MANSIO1_32860
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 143@(430@,3i), 35.0, 35.0, 4.0, False)
goto_if_false @MANSIO1_32860
if 
  430@ == 0
goto_if_false @MANSIO1_32771
set_var_int_to_lvar_int $1280 = 444@(452@,8i)
set_var_text_label s$SLOT_status = 453@(452@,8s)
goto @MANSIO1_32809

:MANSIO1_32771
452@ += 4
set_var_int_to_lvar_int $1280 = 444@(452@,8i)
set_var_text_label s$SLOT_status = 453@(452@,8s)
452@ -= 4

:MANSIO1_32809
start_new_script @A_ALAP 2 100 143@(430@,3i) 
452@ += 1
if 
  452@ == 4
goto_if_false @MANSIO1_32860
452@ = 0

:MANSIO1_32860
return 

:MANSIO1_32862
43@ = 0

:MANSIO1_32869
if 
  20 > 43@
goto_if_false @MANSIO1_33074
switch_start 246@(43@,20i) {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_33060 {caseNum1} 0 {caseLabel1} @MANSIO1_32954 {caseNum2} 1 {caseLabel2} @MANSIO1_33010 {caseNum3} -1 {caseLabel3} @MANSIO1_33060 {caseNum4} -1 {caseLabel4} @MANSIO1_33060 {caseNum5} -1 {caseLabel5} @MANSIO1_33060 {caseNum6} -1 {caseLabel6} @MANSIO1_33060 {caseNum7} -1 {caseLabel7} @MANSIO1_33060

:MANSIO1_32954
if 
  not Char.IsDead(226@(43@,20i))
goto_if_false @MANSIO1_32988
goto @MANSIO1_33060
goto @MANSIO1_33010

:MANSIO1_32988
266@(43@,20i) = 0
246@(43@,20i) = 1

:MANSIO1_33010
if 
  266@(43@,20i) > 2500
goto_if_false @MANSIO1_33053
Char.MarkAsNoLongerNeeded(226@(43@,20i))
246@(43@,20i) = -1

:MANSIO1_33053
goto @MANSIO1_33060

:MANSIO1_33060
43@ += 1
goto @MANSIO1_32869

:MANSIO1_33074
43@ = 0

:MANSIO1_33081
if 
  10 > 43@
goto_if_false @MANSIO1_33286
switch_start 296@(43@,10i) {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_33272 {caseNum1} 0 {caseLabel1} @MANSIO1_33166 {caseNum2} 1 {caseLabel2} @MANSIO1_33222 {caseNum3} -1 {caseLabel3} @MANSIO1_33272 {caseNum4} -1 {caseLabel4} @MANSIO1_33272 {caseNum5} -1 {caseLabel5} @MANSIO1_33272 {caseNum6} -1 {caseLabel6} @MANSIO1_33272 {caseNum7} -1 {caseLabel7} @MANSIO1_33272

:MANSIO1_33166
if 
  not Char.IsDead(286@(43@,10i))
goto_if_false @MANSIO1_33200
goto @MANSIO1_33272
goto @MANSIO1_33222

:MANSIO1_33200
306@(43@,10i) = 0
296@(43@,10i) = 1

:MANSIO1_33222
if 
  306@(43@,10i) > 1800
goto_if_false @MANSIO1_33265
Char.MarkAsNoLongerNeeded(286@(43@,10i))
296@(43@,10i) = -1

:MANSIO1_33265
goto @MANSIO1_33272

:MANSIO1_33272
43@ += 1
goto @MANSIO1_33081

:MANSIO1_33286
43@ = 0

:MANSIO1_33293
if 
  4 > 43@
goto_if_false @MANSIO1_33498
switch_start 320@(43@,4i) {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_33484 {caseNum1} 0 {caseLabel1} @MANSIO1_33378 {caseNum2} 1 {caseLabel2} @MANSIO1_33434 {caseNum3} -1 {caseLabel3} @MANSIO1_33484 {caseNum4} -1 {caseLabel4} @MANSIO1_33484 {caseNum5} -1 {caseLabel5} @MANSIO1_33484 {caseNum6} -1 {caseLabel6} @MANSIO1_33484 {caseNum7} -1 {caseLabel7} @MANSIO1_33484

:MANSIO1_33378
if 
  not Char.IsDead(316@(43@,4i))
goto_if_false @MANSIO1_33412
goto @MANSIO1_33484
goto @MANSIO1_33434

:MANSIO1_33412
324@(43@,4i) = 0
320@(43@,4i) = 1

:MANSIO1_33434
if 
  324@(43@,4i) > 1800
goto_if_false @MANSIO1_33477
Char.MarkAsNoLongerNeeded(316@(43@,4i))
320@(43@,4i) = -1

:MANSIO1_33477
goto @MANSIO1_33484

:MANSIO1_33484
43@ += 1
goto @MANSIO1_33293

:MANSIO1_33498
return 

:MANSIO1_33500
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if 
  $in_carX > 1089.0
goto_if_false @MANSIO1_33909
if 
  $on_footZ > -784.0
goto_if_false @MANSIO1_33570
469@ = 0
goto @MANSIO1_33902

:MANSIO1_33570
if or
  1271.0 > $on_footY
  $on_footY > 1294.0
goto_if_false @MANSIO1_33615
469@ = 0
goto @MANSIO1_33902

:MANSIO1_33615
if 
  $on_footZ > -824.0
goto_if_false @MANSIO1_33895
if 
  1279.0 > $on_footY
goto_if_false @MANSIO1_33741
if 
  $on_footZ > -799.0
goto_if_false @MANSIO1_33692
469@ = 1
goto @MANSIO1_33734

:MANSIO1_33692
if 
  $on_footZ > -811.0
goto_if_false @MANSIO1_33727
469@ = 3
goto @MANSIO1_33734

:MANSIO1_33727
469@ = 5

:MANSIO1_33734
goto @MANSIO1_33888

:MANSIO1_33741
if 
  $on_footY > 1285.0
goto_if_false @MANSIO1_33846
if 
  $on_footZ > -800.0
goto_if_false @MANSIO1_33797
469@ = 2
goto @MANSIO1_33839

:MANSIO1_33797
if 
  $on_footZ > -812.0
goto_if_false @MANSIO1_33832
469@ = 4
goto @MANSIO1_33839

:MANSIO1_33832
469@ = 6

:MANSIO1_33839
goto @MANSIO1_33888

:MANSIO1_33846
if 
  $on_footZ > -806.0
goto_if_false @MANSIO1_33881
469@ = 7
goto @MANSIO1_33888

:MANSIO1_33881
469@ = 8

:MANSIO1_33888
goto @MANSIO1_33902

:MANSIO1_33895
469@ = 9

:MANSIO1_33902
goto @MANSIO1_33923

:MANSIO1_33909
489@ = 1
469@ = 10

:MANSIO1_33923
if 
  472@ == 1
goto_if_false @MANSIO1_33957
473@ = Math.RandomIntInRange(0, 2)
goto @MANSIO1_33964

:MANSIO1_33957
473@ = 0

:MANSIO1_33964
470@ = 0
if 
  489@ <> 1
goto_if_false @MANSIO1_34275
switch_start 469@ {numCases} 11 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_34275 {caseNum1} 0 {caseLabel1} @MANSIO1_34117 {caseNum2} 1 {caseLabel2} @MANSIO1_34138 {caseNum3} 2 {caseLabel3} @MANSIO1_34138 {caseNum4} 3 {caseLabel4} @MANSIO1_34138 {caseNum5} 4 {caseLabel5} @MANSIO1_34191 {caseNum6} 5 {caseLabel6} @MANSIO1_34191 {caseNum7} 6 {caseLabel7} @MANSIO1_34212
switch_continued 7 {caseLabel1} @MANSIO1_34138 {caseNum2} 8 {caseLabel2} @MANSIO1_34233 {caseNum3} 9 {caseLabel3} @MANSIO1_34233 {caseNum4} 10 {caseLabel4} @MANSIO1_34254 {caseNum5} -1 {caseLabel5} @MANSIO1_34275 {caseNum6} -1 {caseLabel6} @MANSIO1_34275 {caseNum7} -1 {caseLabel7} @MANSIO1_34275 {caseNum8} -1 {caseLabel8} @MANSIO1_34275 {caseNum9} -1 {caseLabel9} @MANSIO1_34275

:MANSIO1_34117
set_local_var_bit_const 470@ {n} 1
set_local_var_bit_const 470@ {n} 2
goto @MANSIO1_34275

:MANSIO1_34138
if 
  473@ == 0
goto_if_false @MANSIO1_34170
set_local_var_bit_const 470@ {n} 2
goto @MANSIO1_34177

:MANSIO1_34170
set_local_var_bit_const 470@ {n} 5

:MANSIO1_34177
set_local_var_bit_const 470@ {n} 3
goto @MANSIO1_34275

:MANSIO1_34191
set_local_var_bit_const 470@ {n} 1
set_local_var_bit_const 470@ {n} 3
goto @MANSIO1_34275

:MANSIO1_34212
set_local_var_bit_const 470@ {n} 1
set_local_var_bit_const 470@ {n} 0
goto @MANSIO1_34275

:MANSIO1_34233
set_local_var_bit_const 470@ {n} 0
set_local_var_bit_const 470@ {n} 4
goto @MANSIO1_34275

:MANSIO1_34254
set_local_var_bit_const 470@ {n} 2
set_local_var_bit_const 470@ {n} 4
goto @MANSIO1_34275

:MANSIO1_34275
471@ = 1
return 

:MANSIO1_34284
486@ = 0

:MANSIO1_34291
if 
  3 > 486@
goto_if_false @MANSIO1_35149
if 
  not Char.IsDead(474@(486@,3i))
goto_if_false @MANSIO1_34537
switch_start 477@(486@,3i) {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_34530 {caseNum1} 1 {caseLabel1} @MANSIO1_34396 {caseNum2} -1 {caseLabel2} @MANSIO1_34530 {caseNum3} -1 {caseLabel3} @MANSIO1_34530 {caseNum4} -1 {caseLabel4} @MANSIO1_34530 {caseNum5} -1 {caseLabel5} @MANSIO1_34530 {caseNum6} -1 {caseLabel6} @MANSIO1_34530 {caseNum7} -1 {caseLabel7} @MANSIO1_34530

:MANSIO1_34396
if 
  4 > 335@
goto_if_false @MANSIO1_34523
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @MANSIO1_34523
if 
  Char.LocateAnyMeansChar2D(474@(486@,3i), $stattreadstamina_ctr, 15.0, 15.0, False)
goto_if_false @MANSIO1_34523
set_var_int_to_lvar_int $1280 = 331@(335@,4i)
set_var_text_label s$SLOT_status = 336@(335@,4s)
start_new_script @A_ALAP 2 50 474@(486@,3i) 
477@(486@,3i) = 0
335@ += 1

:MANSIO1_34523
goto @MANSIO1_34530

:MANSIO1_34530
goto @MANSIO1_35135

:MANSIO1_34537
switch_start 477@(486@,3i) {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO1_35113 {caseNum1} -2 {caseLabel1} @MANSIO1_34708 {caseNum2} -1 {caseLabel2} @MANSIO1_34604 {caseNum3} -1 {caseLabel3} @MANSIO1_35135 {caseNum4} -1 {caseLabel4} @MANSIO1_35135 {caseNum5} -1 {caseLabel5} @MANSIO1_35135 {caseNum6} -1 {caseLabel6} @MANSIO1_35135 {caseNum7} -1 {caseLabel7} @MANSIO1_35135

:MANSIO1_34604
if 
  is_int_lvar_greater_than_int_lvar 488@ > 480@(486@,3i)
goto_if_false @MANSIO1_34634
goto @MANSIO1_35135

:MANSIO1_34634
Char.RemoveElegantly(474@(486@,3i))
if 
  486@ == 2
goto_if_false @MANSIO1_34708
if 
  472@ == 0
goto_if_false @MANSIO1_34697
477@(486@,3i) += 1
goto @MANSIO1_34708

:MANSIO1_34697
477@(486@,3i) -= 1

:MANSIO1_34708
if 
  489@ <> 1
goto_if_false @MANSIO1_35092
if 
  471@ == 0
goto_if_false @MANSIO1_34751
gosub @MANSIO1_33500

:MANSIO1_34751
43@ = 0

:MANSIO1_34758
if 
  6 > 43@
goto_if_false @MANSIO1_35106
if 
  is_local_var_bit_set_lvar 470@ {var_n} 43@
goto_if_false @MANSIO1_35092
if 
  not is_int_lvar_equal_to_int_lvar 43@ == 487@
goto_if_false @MANSIO1_35092
if 
  not World.IsPointObscuredByAMissionEntity(490@(43@,6f), 496@(43@,6f), 502@(43@,6f), 1.5, 1.5, 0.0)
goto_if_false @MANSIO1_35092
474@(486@,3i) = Char.Create(PedType.Mission2, 108, 490@(43@,6f), 496@(43@,6f), 502@(43@,6f))
Char.SetHealth(474@(486@,3i), 200)
Char.SetMaxHealth(474@(486@,3i), 200)
Char.SetHeading(474@(486@,3i), 508@(43@,6f))
Char.SetAreaVisible(474@(486@,3i), 5)
Char.GiveWeapon(474@(486@,3i), WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(474@(486@,3i), WeaponType.Mp5)
Char.SetDecisionMaker(474@(486@,3i), 36@)
Char.SetDropsWeaponsWhenDead(474@(486@,3i), False)
Task.KillCharOnFoot(474@(486@,3i), $stattreadstamina_ctr)
Char.SetAccuracy(474@(486@,3i), 50)
Char.SetShootRate(474@(486@,3i), 60)
if 
  486@ == 0
goto_if_false @MANSIO1_35066
477@(486@,3i) = 1
goto @MANSIO1_35077

:MANSIO1_35066
477@(486@,3i) = 0

:MANSIO1_35077
set_lvar_int_to_lvar_int 487@ = 43@
43@ = 5

:MANSIO1_35092
43@ += 1
goto @MANSIO1_34758

:MANSIO1_35106
goto @MANSIO1_35135

:MANSIO1_35113
480@(486@,3i) = 0
477@(486@,3i) = -1

:MANSIO1_35135
486@ += 1
goto @MANSIO1_34291

:MANSIO1_35149
return 

:MANSIO1_35151
if 
  not Char.IsDead(328@)
goto_if_false @MANSIO1_35544
switch_start 514@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_35544 {caseNum1} 0 {caseLabel1} @MANSIO1_35230 {caseNum2} 1 {caseLabel2} @MANSIO1_35514 {caseNum3} -1 {caseLabel3} @MANSIO1_35544 {caseNum4} -1 {caseLabel4} @MANSIO1_35544 {caseNum5} -1 {caseLabel5} @MANSIO1_35544 {caseNum6} -1 {caseLabel6} @MANSIO1_35544 {caseNum7} -1 {caseLabel7} @MANSIO1_35544

:MANSIO1_35230
if 
  not Char.LocateOnFoot2D(328@, 516@, 517@, 1.0, 1.0, False)
goto_if_false @MANSIO1_35271
goto @MANSIO1_35544

:MANSIO1_35271
if 
  518@ <> -1.0
goto_if_false @MANSIO1_35369
if 
  515@ == 0
goto_if_false @MANSIO1_35333
Text.PrintNow('MAN1_21', 8000, 1)
515@ = 1

:MANSIO1_35333
Char.ClearTasksImmediately(328@)
Char.SetCoordinates(328@, 518@, 519@, 1083.01)
Char.SetHeading(328@, 520@)
goto @MANSIO1_35500

:MANSIO1_35369
World.DisableAllEntryExits(False)
World.SwitchEntryExit('MDDOGS', True)
47@ = Blip.AddForCoord(1298.74, -795.9946, 1083.008)
Blip.SetEntryExit(47@, 1258.338, -785.4264, 91.0313)
Text.PrintNow('MAN1_22', 8000, 1)
Char.SetCoordinates(328@, 1261.031, -815.666, 83.1484)
Char.SetHeading(328@, 65.0097)
Char.SetAreaVisible(328@, 0)
Char.FreezePositionAndDontLoadCollision(328@, True)
514@ = 1
goto @MANSIO1_35544

:MANSIO1_35500
514@ = -1
goto @MANSIO1_35544

:MANSIO1_35514
48@ = Streaming.GetAreaVisible()
if 
  48@ == 0
goto_if_false @MANSIO1_35544
514@ = 2

:MANSIO1_35544
return 

:MANSIO1_35546
Char.Delete(143@)
Char.Delete(144@)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(118)
Streaming.MarkModelAsNoLongerNeeded(356)
43@ = 0

:MANSIO1_35576
if 
  10 > 43@
goto_if_false @MANSIO1_35617
Char.Delete(286@(43@,10i))
43@ += 1
goto @MANSIO1_35576

:MANSIO1_35617
43@ = 0

:MANSIO1_35624
if 
  13 > 43@
goto_if_false @MANSIO1_35665
Char.MarkAsNoLongerNeeded(226@(43@,20i))
43@ += 1
goto @MANSIO1_35624

:MANSIO1_35665
Char.MarkAsNoLongerNeeded(474@)
Char.MarkAsNoLongerNeeded(475@)
Char.MarkAsNoLongerNeeded(476@)
Char.MarkAsNoLongerNeeded(316@)
Char.MarkAsNoLongerNeeded(317@)
Char.MarkAsNoLongerNeeded(318@)
Char.MarkAsNoLongerNeeded(319@)
Streaming.MarkModelAsNoLongerNeeded(13)
Streaming.MarkModelAsNoLongerNeeded(195)
DecisionMaker.Remove(37@)
DecisionMaker.Remove(35@)
Streaming.RequestModel(18)
Streaming.RequestModel(19)
Streaming.RequestModel(63)
Streaming.RequestModel(139)
521@ = 1
return 

:MANSIO1_35745
switch_start 521@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_36515 {caseNum1} 1 {caseLabel1} @MANSIO1_35808 {caseNum2} 2 {caseLabel2} @MANSIO1_36227 {caseNum3} -1 {caseLabel3} @MANSIO1_36515 {caseNum4} -1 {caseLabel4} @MANSIO1_36515 {caseNum5} -1 {caseLabel5} @MANSIO1_36515 {caseNum6} -1 {caseLabel6} @MANSIO1_36515 {caseNum7} -1 {caseLabel7} @MANSIO1_36515

:MANSIO1_35808
240@ = Char.Create(PedType.Mission2, 110, 1260.064, -793.2798, 1083.241)
Char.SetHeading(240@, 290.4863)
Char.SetHealth(240@, 200)
Char.SetMaxHealth(240@, 200)
Char.SetAreaVisible(240@, 5)
Char.GiveWeapon(240@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(240@, WeaponType.Mp5)
Char.SetAccuracy(240@, 80)
Char.SetShootRate(240@, 60)
Char.SetDecisionMaker(240@, 36@)
260@ = 0
241@ = Char.Create(PedType.Mission2, 110, 1257.702, -767.9689, 1083.008)
Char.SetHeading(241@, 119.2357)
Char.SetHealth(241@, 200)
Char.SetMaxHealth(241@, 200)
Char.SetAreaVisible(241@, 5)
Char.GiveWeapon(241@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(241@, WeaponType.Mp5)
Char.SetAccuracy(241@, 70)
Char.SetShootRate(241@, 50)
Char.SetDecisionMaker(241@, 36@)
261@ = 0
242@ = Char.Create(PedType.Mission2, 110, 1289.814, -778.2963, 1083.008)
Char.SetHeading(242@, 67.6874)
Char.SetHealth(242@, 200)
Char.SetMaxHealth(242@, 200)
Char.SetAreaVisible(242@, 5)
Char.GiveWeapon(242@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(242@, WeaponType.Mp5)
Char.SetAccuracy(242@, 70)
Char.SetShootRate(242@, 60)
Char.SetDecisionMaker(242@, 36@)
262@ = 0
243@ = Char.Create(PedType.Mission2, 110, 1282.886, -779.3019, 1083.015)
Char.SetHeading(243@, 57.042)
Char.SetHealth(243@, 200)
Char.SetMaxHealth(243@, 200)
Char.SetAreaVisible(243@, 5)
Char.GiveWeapon(243@, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon(243@, WeaponType.Mp5)
Char.SetAccuracy(243@, 70)
Char.SetShootRate(243@, 60)
Char.SetDecisionMaker(243@, 36@)
263@ = 0
521@ += 1

:MANSIO1_36227
if or
  not Streaming.HasModelLoaded(18)
  not Streaming.HasModelLoaded(19)
  not Streaming.HasModelLoaded(63)
  not Streaming.HasModelLoaded(139)
goto_if_false @MANSIO1_36262
goto @MANSIO1_36515

:MANSIO1_36262
522@ = Char.Create(PedType.Mission3, 19, 1275.155, -788.5061, 1083.008)
Char.SetHeading(522@, 152.55)
Char.SetAreaVisible(522@, 5)
Char.SetDecisionMaker(522@, 38@)
523@ = Char.Create(PedType.Mission3, 63, 1274.54, -790.0915, 1083.008)
Char.SetHeading(523@, 349.0896)
Char.SetAreaVisible(523@, 5)
Char.SetDecisionMaker(523@, 38@)
524@ = Char.Create(PedType.Mission3, 18, 1273.279, -788.6833, 1083.008)
Char.SetHeading(524@, 221.2157)
Char.SetAreaVisible(524@, 5)
Char.SetDecisionMaker(524@, 38@)
525@ = Char.Create(PedType.Mission3, 139, 1261.499, -788.9477, 1083.015)
Char.SetHeading(525@, 154.0331)
Char.SetAreaVisible(525@, 5)
Char.SetDecisionMaker(525@, 38@)
526@ = Char.Create(PedType.Mission3, 18, 1260.887, -790.43, 1083.015)
Char.SetHeading(526@, 332.9453)
Char.SetAreaVisible(526@, 5)
Char.SetDecisionMaker(526@, 38@)
521@ = 0

:MANSIO1_36515
return 

:MANSIO1_36517
Text.ClearPrints
48@ = 5

:MANSIO1_36526
if 
  48@ == 5
goto_if_false @MANSIO1_36563
wait 0
48@ = Char.GetAreaVisible($stattreadstamina_ctr)
goto @MANSIO1_36526

:MANSIO1_36563
Zone.SwitchAudio('MADDOGL', False)
Camera.DoFade(0, Fade.Out)

:MANSIO1_36582
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_36606
wait 0
goto @MANSIO1_36582

:MANSIO1_36606
World.SwitchEntryExit('MADDOGS', False)
World.SwitchEntryExit('MDDOGS', False)
World.ClearAreaOfCars(1239.904, -800.9069, 80.0, 1261.751, -817.216, 90.0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
gosub @MANSIO1_38446
World.SetCarDensityMultiplier(0.5)
Streaming.RequestModel(603)
Streaming.RequestModel(555)
Streaming.RequestCarRecording(708)

:MANSIO1_36704
if or
  not Streaming.HasModelLoaded(603)
  not Streaming.HasModelLoaded(555)
  not Streaming.HasCarRecordingBeenLoaded(708)
goto_if_false @MANSIO1_36741
wait 0
goto @MANSIO1_36704

:MANSIO1_36741
Streaming.LoadScene(1265.009, -816.3813, 83.6305)
527@ = Car.Create(603, 1250.519, -812.1237, 83.1484)
Car.SetHeading(527@, 162.4757)
Car.CustomPlateForNextCar(555, "J_LOMAX")
Car.SetModelComponents(555, 1, 1)
528@ = Car.Create(555, 1244.026, -808.5705, 83.1484)
Car.SetHeading(528@, 177.4448)
Car.ChangeColor(528@, 126, 0)
Audio.SetRadioChannel(RadioChannel.BounceFM)
if 
  not Char.IsDead(328@)
goto_if_false @MANSIO1_36938
Char.ClearTasksImmediately(328@)
Char.SetDecisionMaker(328@, 34@)
Char.FreezePositionAndDontLoadCollision(328@, False)
Char.SetAreaVisible(328@, 0)
Char.SetCoordinates(328@, 1268.7, -813.0891, 83.1484)
Char.SetHeading(328@, 90.0)
Blip.Remove(329@)

:MANSIO1_36938
Char.SetCoordinates($stattreadstamina_ctr, 1268.7, -813.0891, 83.1484)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Camera.ResetNewScriptables
Camera.SetShakeSimulationSimple(1, 50000.0, 0.5)
Camera.SetFixedPosition(1265.009, -816.3813, 83.6305, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1264.046, -816.1189, 83.6842, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:MANSIO1_37042
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_37066
wait 0
goto @MANSIO1_37042

:MANSIO1_37066
if and
  not Char.IsDead(328@)
  not Car.IsDead(527@)
goto_if_false @MANSIO1_37177
45@ = Sequence.Open()
Task.StandStill(-1, 1500)
Task.EnterCarAsDriver(-1, 527@, 9999)
Sequence.Close(45@)
Char.PerformSequence(328@, 45@)
Sequence.Clear(45@)
45@ = Sequence.Open()
Task.StandStill(-1, 7000)
Task.GoStraightToCoord(-1, 1251.697, -812.287, 83.1484, MoveState.Run, -2)
Task.LookAtChar(-1, 328@, 1500)
Sequence.Close(45@)

:MANSIO1_37177
Char.PerformSequence($stattreadstamina_ctr, 45@)
Sequence.Clear(45@)
TIMERA = 0

:MANSIO1_37197
if 
  1500 > TIMERA
goto_if_false @MANSIO1_37227
wait 0
goto @MANSIO1_37197

:MANSIO1_37227
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(1265.009, -816.3813, 83.6305, 1253.448, -815.4342, 83.4116, 7500, True)
Camera.SetVectorTrack(1264.046, -816.1189, 83.6842, 1252.86, -814.6353, 83.5422, 7500, True)
49@ = 0

:MANSIO1_37316
if 
  49@ == 0
goto_if_false @MANSIO1_37384
wait 0
if 
  not Char.IsDead(328@)
goto_if_false @MANSIO1_37377
if 
  Char.IsInAnyCar(328@)
goto_if_false @MANSIO1_37377
49@ = 1

:MANSIO1_37377
goto @MANSIO1_37316

:MANSIO1_37384
if 
  not Car.IsDead(527@)
goto_if_false @MANSIO1_37456
Car.StartPlayback(527@, 708)
Car.SetForwardSpeed(527@, 40.0)
Car.LockDoors(527@, CarLock.Locked)
if 
  not Char.IsDead(328@)
goto_if_false @MANSIO1_37456
Char.SetProofs(328@, False, False, False, False, False)

:MANSIO1_37456
TIMERA = 0

:MANSIO1_37463
if 
  5000 > TIMERA
goto_if_false @MANSIO1_37493
wait 0
goto @MANSIO1_37463

:MANSIO1_37493
if 
  not Car.IsDead(527@)
goto_if_false @MANSIO1_37517
329@ = Blip.AddForCar(527@)

:MANSIO1_37517
Text.PrintNow('MAN1_23', 8000, 1)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Game.SetMaxWantedLevel(6)
World.SetCarDensityMultiplier(0.5)

:MANSIO1_37561
wait 0
if 
  not Char.IsDead(328@)
goto_if_false @MANSIO1_37678
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 328@, 250.0, 250.0, False)
goto_if_false @MANSIO1_37640
52@ = 1
set_lvar_text_label 53@s = 'MAN1_24'
goto @MANSIO1_38488

:MANSIO1_37640
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSIO1_37664
530@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)

:MANSIO1_37664
gosub @MANSIO1_38303
goto @MANSIO1_38296

:MANSIO1_37678
Blip.Remove(329@)
TIMERA = 0

:MANSIO1_37690
if 
  2000 > TIMERA
goto_if_false @MANSIO1_37720
wait 0
goto @MANSIO1_37690

:MANSIO1_37720
Camera.DoFade(0, Fade.Out)

:MANSIO1_37726
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_37750
wait 0
goto @MANSIO1_37726

:MANSIO1_37750
529@ = Audio.GetRadioChannel()
Audio.SetRadioChannel(RadioChannel.UserTracks)
Player.SetControl($statbike_temp, False)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Player.ClearWantedLevel($statbike_temp)
Hud.SwitchWidescreen(True)
if 
  not Car.IsDead(530@)
goto_if_false @MANSIO1_37851
531@ = Car.GetHealth(530@)
if 
  500 > 531@
goto_if_false @MANSIO1_37841
Car.SetHealth(530@, 500)

:MANSIO1_37841
Car.SetForwardSpeed(530@, 0.0)

:MANSIO1_37851
Streaming.RequestModel(#DRG_NU_EXT)

:MANSIO1_37856
if 
  not Streaming.HasModelLoaded(#DRG_NU_EXT)
goto_if_false @MANSIO1_37883
wait 0
goto @MANSIO1_37856

:MANSIO1_37883
Camera.SetFixedPosition(1221.787, -856.6817, 99.5425, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1222.33, -855.9062, 99.2196, SwitchType.JumpCut)
Streaming.LoadSceneInDirection(1248.908, -804.626, 87.535, 297.0012)
TIMERA = 0

:MANSIO1_37963
if 
  500 > TIMERA
goto_if_false @MANSIO1_37993
wait 0
goto @MANSIO1_37963

:MANSIO1_37993
Camera.DoFade(500, Fade.In)

:MANSIO1_38000
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_38024
wait 0
goto @MANSIO1_38000

:MANSIO1_38024
skip_cutscene_start_internal @MANSIO1_38115
Text.PrintNow('MAN1_30', 7000, 1)
TIMERA = 0

:MANSIO1_38054
if 
  7000 > TIMERA
goto_if_false @MANSIO1_38084
wait 0
goto @MANSIO1_38054

:MANSIO1_38084
Camera.DoFade(500, Fade.Out)

:MANSIO1_38091
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_38115
wait 0
goto @MANSIO1_38091

:MANSIO1_38115
skip_cutscene_end 
Camera.DoFade(0, Fade.Out)

:MANSIO1_38123
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_38147
wait 0
goto @MANSIO1_38123

:MANSIO1_38147
Streaming.MarkModelAsNoLongerNeeded(#DRG_NU_EXT)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
$on_footX = Char.GetHeading($stattreadstamina_ctr)
Streaming.LoadSceneInDirection($x, $y, $z, $on_footX)
TIMERA = 0

:MANSIO1_38208
if 
  500 > TIMERA
goto_if_false @MANSIO1_38238
wait 0
goto @MANSIO1_38208

:MANSIO1_38238
Audio.SetRadioChannel(529@)
Camera.DoFade(500, Fade.In)

:MANSIO1_38250
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO1_38274
wait 0
goto @MANSIO1_38250

:MANSIO1_38274
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
goto @MANSIO1_38560

:MANSIO1_38296
goto @MANSIO1_37561

:MANSIO1_38303
if 
  not Car.IsDead(527@)
goto_if_false @MANSIO1_38444
switch_start 532@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @MANSIO1_38444 {caseNum1} 0 {caseLabel1} @MANSIO1_38382 {caseNum2} -1 {caseLabel2} @MANSIO1_38444 {caseNum3} -1 {caseLabel3} @MANSIO1_38444 {caseNum4} -1 {caseLabel4} @MANSIO1_38444 {caseNum5} -1 {caseLabel5} @MANSIO1_38444 {caseNum6} -1 {caseLabel6} @MANSIO1_38444 {caseNum7} -1 {caseLabel7} @MANSIO1_38444

:MANSIO1_38382
if 
  Car.IsPlaybackGoingOn(527@)
goto_if_false @MANSIO1_38405
goto @MANSIO1_38444

:MANSIO1_38405
Car.SetCruiseSpeed(527@, 25.0)
Task.CarDriveWander(328@, 527@, 25.0, DrivingMode.AvoidCars)
532@ += 1
goto @MANSIO1_38444

:MANSIO1_38444
return 

:MANSIO1_38446
Blip.Remove(47@)
Streaming.MarkModelAsNoLongerNeeded(108)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(18)
Streaming.MarkModelAsNoLongerNeeded(19)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(139)
Streaming.MarkModelAsNoLongerNeeded(353)
DecisionMaker.Remove(36@)
return 

:MANSIO1_38488
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
World.SwitchEntryExit('MADDOGS', False)
World.SwitchEntryExit('MDDOGS', False)
if 
  52@ == 1
goto_if_false @MANSIO1_38558
Text.PrintNow(53@s, 8000, 1)

:MANSIO1_38558
return 

:MANSIO1_38560
43@ = 0

:MANSIO1_38567
if 
  16 > 43@
goto_if_false @MANSIO1_38700
if 
  not Char.IsDead(226@(43@,20i))
goto_if_false @MANSIO1_38677
Char.ClearTasks(226@(43@,20i))
Char.SetAccuracy(226@(43@,20i), 20)
Char.SetShootRate(226@(43@,20i), 25)
Task.StayInSamePlace(226@(43@,20i), True)
Task.KillCharOnFoot(226@(43@,20i), $stattreadstamina_ctr)
Char.SetKeepTask(226@(43@,20i), True)
goto @MANSIO1_38686

:MANSIO1_38677
Char.MarkAsNoLongerNeeded(226@(43@,20i))

:MANSIO1_38686
43@ += 1
goto @MANSIO1_38567

:MANSIO1_38700
43@ = 0

:MANSIO1_38707
if 
  10 > 43@
goto_if_false @MANSIO1_38840
if 
  not Char.IsDead(286@(43@,10i))
goto_if_false @MANSIO1_38817
Char.ClearTasks(286@(43@,10i))
Char.SetAccuracy(226@(43@,20i), 20)
Char.SetShootRate(226@(43@,20i), 25)
Task.StayInSamePlace(286@(43@,10i), True)
Task.KillCharOnFoot(286@(43@,10i), $stattreadstamina_ctr)
Char.SetKeepTask(286@(43@,10i), True)
goto @MANSIO1_38826

:MANSIO1_38817
Char.MarkAsNoLongerNeeded(286@(43@,10i))

:MANSIO1_38826
43@ += 1
goto @MANSIO1_38707

:MANSIO1_38840
43@ = 0

:MANSIO1_38847
if 
  2 > 43@
goto_if_false @MANSIO1_38947
if 
  not Char.IsDead(474@(43@,3i))
goto_if_false @MANSIO1_38924
Char.ClearTasks(474@(43@,3i))
Task.KillCharOnFoot(474@(43@,3i), $stattreadstamina_ctr)
Char.SetKeepTask(474@(43@,3i), True)
goto @MANSIO1_38933

:MANSIO1_38924
Char.MarkAsNoLongerNeeded(474@(43@,3i))

:MANSIO1_38933
43@ += 1
goto @MANSIO1_38847

:MANSIO1_38947
World.SwitchEntryExit('MADDOGS', True)
World.SwitchEntryExit('MDDOGS', True)
$boat_school_blip += 1
Stat.RegisterMissionPassed('MAN_1')
Stat.PlayerMadeProgress(1)
CarGenerator.Switch($range_weapons_open, 101)
Text.PrintWithNumberBig('M_PASSR', 4, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(40)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Blip.Remove($desert_blip_icon)
$1722 = Blip.AddShortRangeSpriteForContactPoint($890[1], $908[1], $926[1], RadarSprite.SaveGame)
Blip.ChangeDisplay($1722, BlipDisplay.BlipOnly)
return 

:MANSIO1_39063
Hud.DisplayZoneNames(True)
Zone.SwitchAudio('MADDOGL', False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MANSIO1_39107
Player.SetGroupRecruitment($statbike_temp, True)
Game.SetScriptLimitToGangSize(99)

:MANSIO1_39107
start_new_script @A_TERM 
Blip.Remove(47@)
Blip.Remove(329@)
World.DisableAllEntryExits(False)
Game.SwitchAmbientPlanes(True)
Game.SetMaxWantedLevel(6)
World.SetCarDensityMultiplier(1.0)
$returned_oysters_flag = 0
Particle.Kill(124@)
Particle.Kill(125@)
Particle.Kill(126@)
Blip.Remove(47@)
43@ = 0

:MANSIO1_39178
if 
  4 > 43@
goto_if_false @MANSIO1_39237
Char.MarkAsNoLongerNeeded(99@(43@,4i))
Char.MarkAsNoLongerNeeded(131@(43@,4i))
Char.MarkAsNoLongerNeeded(170@(43@,6i))
43@ += 1
goto @MANSIO1_39178

:MANSIO1_39237
43@ = 0

:MANSIO1_39244
if 
  3 > 43@
goto_if_false @MANSIO1_39294
Char.MarkAsNoLongerNeeded(143@(43@,3i))
Blip.Remove(146@(43@,3i))
43@ += 1
goto @MANSIO1_39244

:MANSIO1_39294
Char.MarkAsNoLongerNeeded(159@)
Char.MarkAsNoLongerNeeded(328@)
Car.MarkAsNoLongerNeeded(527@)
Car.MarkAsNoLongerNeeded(528@)
Streaming.MarkModelAsNoLongerNeeded(117)
Streaming.MarkModelAsNoLongerNeeded(118)
Streaming.MarkModelAsNoLongerNeeded(108)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(13)
Streaming.MarkModelAsNoLongerNeeded(195)
Streaming.MarkModelAsNoLongerNeeded(18)
Streaming.MarkModelAsNoLongerNeeded(19)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(139)
Streaming.MarkModelAsNoLongerNeeded(555)
Streaming.MarkModelAsNoLongerNeeded(603)
Streaming.MarkModelAsNoLongerNeeded(356)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(#PARACHUTE)
Streaming.MarkModelAsNoLongerNeeded(#PARA_PACK)
Streaming.MarkModelAsNoLongerNeeded(371)
Streaming.MarkModelAsNoLongerNeeded(#CARGO_REAR)
Streaming.MarkModelAsNoLongerNeeded(#D9_RAMP)
Streaming.MarkModelAsNoLongerNeeded(#CARDBOARDBOX2)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(#DRG_NU_EXT)
StreamedScript.MarkAsNoLongerNeeded(1)
Streaming.RemoveAnimation("PARACHUTE")
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 103---------------
// Originally: Vertical Bird

:MANSIO2
script_name 'MANSIO2'
gosub @MANSIO2_47
if 
  has_deatharrest_been_executed 
goto_if_false @MANSIO2_38
gosub @MANSIO2_52168

:MANSIO2_38
gosub @MANSIO2_52634
terminate_this_script 

:MANSIO2_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
75@ = 0
76@ = 0
77@ = 0
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
39@ = 0
40@ = 0
45@ = 0
46@ = 0
47@ = 0
TIMERA = 0
TIMERB = 0
78@ = 1
79@ = 0
80@ = 0
81@ = 0
82@ = -1
83@ = 0
84@ = 0
86@ = 0
85@ = 0
87@ = 1
48@ = 0

:MANSIO2_238
88@(48@,3i) = 0
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_238
223@ = 0
224@ = 0
225@ = 0
226@ = 0
227@ = 0
228@ = 0
229@ = 0
230@ = 0
231@ = 0
232@ = 0
233@ = 0
234@ = 0
235@ = 0
236@ = 0
237@ = 0
238@ = 0
246@ = 0
247@ = 0
248@ = 0
249@ = 0
250@ = 0
251@ = 0
256@ = 0
257@ = 0
261@ = 0
258@ = 0
259@ = 0
260@ = 0
262@ = 0
263@ = 0
264@ = 0
265@ = 0
266@ = 0
267@ = 0
268@ = 0
283@ = 0
284@ = 0
285@ = 0
286@ = 0
287@ = 0
288@ = 0
289@ = 0
290@ = 0
291@ = 0
292@ = 0
293@ = 0
294@ = 0
295@ = 0
296@ = 0
297@ = 0
if 
  34@ == -99
goto_if_false @MANSIO2_1399
write_debug "SHOULD_NEVER_BE_IN_FAKE_ENTITY_CREATION"
139@ = Car.Create(421, 0.0, 0.0, 0.0)
140@ = Car.Create(446, 0.0, 0.0, 0.0)
145@ = Car.Create(520, 0.0, 0.0, 0.0)
153@ = Car.Create(595, 0.0, 0.0, 0.0)
48@ = 0

:MANSIO2_780
141@(48@,4i) = Car.Create(520, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_780
48@ = 0

:MANSIO2_835
146@(48@,3i) = Car.Create(520, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_835
48@ = 0

:MANSIO2_890
149@(48@,4i) = Car.Create(454, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_890
48@ = 0

:MANSIO2_945
154@(48@,3i) = Car.Create(530, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_945
130@ = Char.Create(PedType.Mission1, 290, 0.0, 0.0, 0.0)
48@ = 0

:MANSIO2_1025
131@(48@,6i) = Char.Create(PedType.Mission2, 287, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 6
goto_if_false @MANSIO2_1025
48@ = 0

:MANSIO2_1082
137@(48@,2i) = Char.Create(PedType.Mission1, 50, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 2
goto_if_false @MANSIO2_1082
157@ = Object.CreateNoOffset(#CARRIER_LIFT1_SFSE, 0.0, 0.0, 0.0)
158@ = Object.CreateNoOffset(#CARRIER_LIFT2_SFSE, 0.0, 0.0, 0.0)
159@ = Object.CreateNoOffset(#CARRIER_DOOR_SFSE, 0.0, 0.0, 0.0)
160@ = Object.Create(#MISSILE_07_SFXR, 0.0, 0.0, 0.0)
48@ = 0

:MANSIO2_1227
161@(48@,3i) = Object.Create(#KMB_KEYPAD, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_1227
164@ = Blip.AddForCar(140@)
179@ = Blip.AddForCar(145@)
165@ = Blip.AddForCoord(0.0, 0.0, 0.0)
48@ = 0

:MANSIO2_1318
166@(48@,3i) = Blip.AddForCar(146@(48@,3i))
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_1318
48@ = 0

:MANSIO2_1362
169@(48@,4i) = Blip.AddForCar(149@(48@,4i))
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_1362

:MANSIO2_1399
Text.LoadMissionText('MAN_2')
Weather.ForceNow(WeatherType.RainyCountryside)
gosub @MANSIO2_51244
180@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
181@ = DecisionMakerChar.Load(DecisionMakerType.Steal)
182@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
DecisionMakerChar.ClearEventResponse(181@, 62)
gosub @MANSIO2_51416

:MANSIO2_1456
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @MANSIO2_1489
36@ = 1
goto @MANSIO2_1884

:MANSIO2_1489
gosub @MANSIO2_50589
gosub @MANSIO2_50895
if or
  38@ == 1
  39@ == 1
goto_if_false @MANSIO2_1535
goto @MANSIO2_1884

:MANSIO2_1535
gosub @MANSIO2_51141
gosub @MANSIO2_51175
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO2_1579
37@ = 1
goto @MANSIO2_1884

:MANSIO2_1579
if 
  34@ == 0
goto_if_false @MANSIO2_1637
write_debug "STAGE_SHOULD_NEVER_BE_0_IN_MAIN_LOOP"

:MANSIO2_1637
switch_start 34@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_1877 {caseNum1} 1 {caseLabel1} @MANSIO2_1765 {caseNum2} 2 {caseLabel2} @MANSIO2_1779 {caseNum3} 3 {caseLabel3} @MANSIO2_1793 {caseNum4} 4 {caseLabel4} @MANSIO2_1807 {caseNum5} 5 {caseLabel5} @MANSIO2_1821 {caseNum6} 6 {caseLabel6} @MANSIO2_1835 {caseNum7} 7 {caseLabel7} @MANSIO2_1849
switch_continued 8 {caseLabel1} @MANSIO2_1863 {caseNum2} -1 {caseLabel2} @MANSIO2_1877 {caseNum3} -1 {caseLabel3} @MANSIO2_1877 {caseNum4} -1 {caseLabel4} @MANSIO2_1877 {caseNum5} -1 {caseLabel5} @MANSIO2_1877 {caseNum6} -1 {caseLabel6} @MANSIO2_1877 {caseNum7} -1 {caseLabel7} @MANSIO2_1877 {caseNum8} -1 {caseLabel8} @MANSIO2_1877 {caseNum9} -1 {caseLabel9} @MANSIO2_1877

:MANSIO2_1765
gosub @MANSIO2_2032
goto @MANSIO2_1877

:MANSIO2_1779
gosub @MANSIO2_4061
goto @MANSIO2_1877

:MANSIO2_1793
gosub @MANSIO2_6174
goto @MANSIO2_1877

:MANSIO2_1807
gosub @MANSIO2_8624
goto @MANSIO2_1877

:MANSIO2_1821
gosub @MANSIO2_12006
goto @MANSIO2_1877

:MANSIO2_1835
gosub @MANSIO2_17063
goto @MANSIO2_1877

:MANSIO2_1849
gosub @MANSIO2_21732
goto @MANSIO2_1877

:MANSIO2_1863
36@ = 1
goto @MANSIO2_1877

:MANSIO2_1877
gosub @MANSIO2_47201

:MANSIO2_1884
if 
  38@ == 0
goto_if_false @MANSIO2_1984
if 
  37@ == 0
goto_if_false @MANSIO2_1968
if 
  36@ == 0
goto_if_false @MANSIO2_1952
goto @MANSIO2_1456
goto @MANSIO2_1961

:MANSIO2_1952
gosub @MANSIO2_52419
return 

:MANSIO2_1961
goto @MANSIO2_1977

:MANSIO2_1968
gosub @MANSIO2_52168
return 

:MANSIO2_1977
goto @MANSIO2_1986

:MANSIO2_1984
return 

:MANSIO2_1986
write_debug "SHOULD_NEVER_BE_HERE_IN_END_OF_MAIN_LOOP"
return 

:MANSIO2_2032
if 
  35@ == 0
goto_if_false @MANSIO2_2334
Car.CustomPlateForNextCar(421, "_OMEGA__")
139@ = Car.Create(421, 1248.681, -815.9187, 83.1484)
Car.ChangeColor(139@, 84, 84)
Car.SetHeading(139@, 180.0)
Audio.SetRadioChannel(RadioChannel.KRose)
130@ = Char.Create(PedType.Mission1, 290, 1250.896, -802.7902, 83.1484)
Char.SetHeading(130@, 180.0)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsDriver(130@, 139@, 10000)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger($stattreadstamina_ctr, 139@, 10000, 0)
Camera.SetFixedPosition(1246.497, -822.7375, 84.7111, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1246.785, -821.78, 84.6972, SwitchType.JumpCut)
81@ = 1
gosub @MANSIO2_48037
World.SetCarDensityMultiplier(0.0)
Camera.DoFade(1000, Fade.In)
223@ = 0
292@ = 0
293@ = 0
294@ = 0
295@ = 1
207@ = 0
208@ = 0
75@ = 1
76@ = 0
77@ = 0
35@ += 1

:MANSIO2_2334
if 
  Car.IsDead(139@)
goto_if_false @MANSIO2_2366
37@ = 1
45@ = 1
return 

:MANSIO2_2366
if 
  Char.IsDead(130@)
goto_if_false @MANSIO2_2398
37@ = 1
45@ = 2
return 

:MANSIO2_2398
if 
  35@ == 1
goto_if_false @MANSIO2_2512
if 
  77@ == 1
goto_if_false @MANSIO2_2448
35@ += 1
goto @MANSIO2_2512

:MANSIO2_2448
if 
  80@ <> 1
goto_if_false @MANSIO2_2480
81@ = 1
gosub @MANSIO2_48037

:MANSIO2_2480
if 
  80@ == 1
goto_if_false @MANSIO2_2512
gosub @MANSIO2_48192
35@ += 1

:MANSIO2_2512
if 
  35@ == 2
goto_if_false @MANSIO2_2781
if 
  77@ == 1
goto_if_false @MANSIO2_2562
35@ += 1
goto @MANSIO2_2781

:MANSIO2_2562
if and
  Char.IsInCar($stattreadstamina_ctr, 139@)
  Char.IsInCar(130@, 139@)
goto_if_false @MANSIO2_2781
Car.StartPlayback(139@, 208)
223@ = 1
Streaming.LoadSceneInDirection(1239.286, -836.2535, 83.1477, 27.7504)
Camera.SetFixedPosition(1250.188, -849.5969, 93.6161, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1249.69, -848.7883, 93.3037, SwitchType.JumpCut)
if 
  293@ == 1
goto_if_false @MANSIO2_2714
Char.ClearLookAt($stattreadstamina_ctr)
293@ = 0
207@ = 0

:MANSIO2_2714
if 
  294@ == 1
goto_if_false @MANSIO2_2751
Char.ClearLookAt(130@)
294@ = 0
208@ = 0

:MANSIO2_2751
295@ = 0
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1000
35@ += 1

:MANSIO2_2781
if 
  35@ == 3
goto_if_false @MANSIO2_2880
if 
  77@ == 1
goto_if_false @MANSIO2_2831
35@ += 1
goto @MANSIO2_2880

:MANSIO2_2831
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_2880
Camera.DoFade(2000, Fade.Out)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 2000
35@ += 1

:MANSIO2_2880
if 
  35@ == 4
goto_if_false @MANSIO2_2977
if 
  77@ == 1
goto_if_false @MANSIO2_2930
35@ = 50
goto @MANSIO2_2977

:MANSIO2_2930
if and
  is_int_lvar_greater_than_int_lvar 46@ > 194@
  not Camera.GetFadingStatus
goto_if_false @MANSIO2_2977
Car.StopPlayback(139@)
223@ = 0
75@ = 0
35@ += 1

:MANSIO2_2977
if 
  35@ == 5
goto_if_false @MANSIO2_3156
Streaming.RemoveCarRecording(208)
World.ClearArea(-610.7587, 176.8072, 18.946, 20.0, False)
Car.SetCoordinates(139@, -610.7587, 176.8072, 18.946)
Car.SetHeading(139@, 40.0)
Streaming.LoadSceneInDirection(-709.131, 232.466, 4.698, 250.0)
Clock.SetTimeOfDay(20, 0)
Camera.SetFixedPosition(-710.0532, 232.8524, 4.6799, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-709.131, 232.466, 4.698, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1500
35@ += 1

:MANSIO2_3156
if 
  35@ == 6
goto_if_false @MANSIO2_3200
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_3200
35@ = 99

:MANSIO2_3200
if and
  75@ == 1
  Pad.IsSkipCutsceneButtonPressed
  77@ == 0
goto_if_false @MANSIO2_3234
77@ = 1

:MANSIO2_3234
if 
  35@ == 50
goto_if_false @MANSIO2_3289
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 500
76@ = 1
35@ += 1

:MANSIO2_3289
if 
  35@ == 51
goto_if_false @MANSIO2_3534
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_3534
if 
  not Char.IsInCar($stattreadstamina_ctr, 139@)
goto_if_false @MANSIO2_3355
Char.WarpIntoCarAsPassenger($stattreadstamina_ctr, 139@, 0)

:MANSIO2_3355
if 
  not Char.IsInCar(130@, 139@)
goto_if_false @MANSIO2_3382
Task.WarpCharIntoCarAsDriver(130@, 139@)

:MANSIO2_3382
if 
  223@ == 1
goto_if_false @MANSIO2_3405
Car.StopPlayback(139@)

:MANSIO2_3405
if 
  not is_local_var_bit_set_const 85@ {n} 1
goto_if_false @MANSIO2_3430
gosub @MANSIO2_48221

:MANSIO2_3430
if 
  293@ == 1
goto_if_false @MANSIO2_3467
Char.ClearLookAt($stattreadstamina_ctr)
293@ = 0
207@ = 0

:MANSIO2_3467
if 
  294@ == 1
goto_if_false @MANSIO2_3504
Char.ClearLookAt(130@)
294@ = 0
208@ = 0

:MANSIO2_3504
295@ = 0
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 200
35@ += 1

:MANSIO2_3534
if 
  35@ == 52
goto_if_false @MANSIO2_3599
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_3599
76@ = 0
77@ = 0
75@ = 0
35@ = 5

:MANSIO2_3599
if 
  295@ == 1
goto_if_false @MANSIO2_3980
if 
  207@ == 0
goto_if_false @MANSIO2_3669
50@ = Math.RandomIntInRange(2000, 3000)
set_lvar_int_to_lvar_int 207@ = 46@
add_int_lvar_to_int_lvar 207@ += 50@
goto @MANSIO2_3749

:MANSIO2_3669
if 
  is_int_lvar_greater_than_int_lvar 46@ > 207@
goto_if_false @MANSIO2_3749
if 
  293@ == 1
goto_if_false @MANSIO2_3725
Char.ClearLookAt($stattreadstamina_ctr)
293@ = 0
goto @MANSIO2_3742

:MANSIO2_3725
Task.LookAtChar($stattreadstamina_ctr, 130@, -2)
293@ = 1

:MANSIO2_3742
207@ = 0

:MANSIO2_3749
if 
  208@ == 0
goto_if_false @MANSIO2_3801
50@ = Math.RandomIntInRange(1000, 4000)
set_lvar_int_to_lvar_int 208@ = 46@
add_int_lvar_to_int_lvar 208@ += 50@
goto @MANSIO2_3881

:MANSIO2_3801
if 
  is_int_lvar_greater_than_int_lvar 46@ > 208@
goto_if_false @MANSIO2_3881
if 
  294@ == 1
goto_if_false @MANSIO2_3857
Char.ClearLookAt(130@)
294@ = 0
goto @MANSIO2_3874

:MANSIO2_3857
Task.LookAtChar(130@, $stattreadstamina_ctr, -2)
294@ = 1

:MANSIO2_3874
208@ = 0

:MANSIO2_3881
if 
  is_local_var_bit_set_const 85@ {n} 1
goto_if_false @MANSIO2_3980
if 
  293@ == 1
goto_if_false @MANSIO2_3936
Char.ClearLookAt($stattreadstamina_ctr)
293@ = 0
207@ = 0

:MANSIO2_3936
if 
  294@ == 1
goto_if_false @MANSIO2_3973
Char.ClearLookAt(130@)
294@ = 0
208@ = 0

:MANSIO2_3973
295@ = 0

:MANSIO2_3980
if 
  Char.IsInCar($stattreadstamina_ctr, 139@)
goto_if_false @MANSIO2_4034
if 
  293@ == 0
goto_if_false @MANSIO2_4034
Task.LookAtChar($stattreadstamina_ctr, 130@, -2)
293@ = 1

:MANSIO2_4034
if 
  35@ == 99
goto_if_false @MANSIO2_4059
gosub @MANSIO2_51214

:MANSIO2_4059
return 

:MANSIO2_4061
if 
  292@ == 0
goto_if_false @MANSIO2_4143
if 
  Car.IsDead(139@)
goto_if_false @MANSIO2_4111
37@ = 1
45@ = 1
return 

:MANSIO2_4111
if 
  Char.IsDead(130@)
goto_if_false @MANSIO2_4143
37@ = 1
45@ = 2
return 

:MANSIO2_4143
if 
  35@ == 0
goto_if_false @MANSIO2_4360
World.ClearArea(-760.8, 243.1655, -6.6249, 20.0, True)
140@ = Car.Create(446, -759.4562, 240.346, -2.0951)
Car.SetHeading(140@, 121.0)
Boat.Anchor(140@, True)
Task.CarDriveToCoord(130@, 139@, -731.1018, 223.2893, 1.3815, 12.0, DriveMode.Normal, 421, DrivingMode.PloughThrough)
Camera.DoFade(1500, Fade.In)
81@ = 2
gosub @MANSIO2_48037
293@ = 0
294@ = 0
295@ = 0
207@ = 0
208@ = 0
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 5000
75@ = 1
76@ = 0
77@ = 0
35@ += 1

:MANSIO2_4360
if 
  35@ == 1
goto_if_false @MANSIO2_4498
if 
  77@ == 1
goto_if_false @MANSIO2_4410
35@ += 1
goto @MANSIO2_4498

:MANSIO2_4410
if 
  80@ <> 2
goto_if_false @MANSIO2_4442
81@ = 2
gosub @MANSIO2_48037

:MANSIO2_4442
if and
  80@ == 2
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_4498
gosub @MANSIO2_48192
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 6200
35@ += 1

:MANSIO2_4498
if 
  35@ == 2
goto_if_false @MANSIO2_4632
if 
  77@ == 1
goto_if_false @MANSIO2_4548
35@ += 1
goto @MANSIO2_4632

:MANSIO2_4548
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_4632
Camera.SetFixedPosition(-738.98, 227.2293, 3.4204, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-738.0241, 226.939, 3.375, SwitchType.JumpCut)
295@ = 1
35@ += 1

:MANSIO2_4632
if 
  35@ == 3
goto_if_false @MANSIO2_4753
if 
  77@ == 1
goto_if_false @MANSIO2_4682
35@ += 1
goto @MANSIO2_4753

:MANSIO2_4682
if 
  Car.LocateStopped3D(139@, -731.1018, 223.2893, 1.3815, 5.0, 5.0, 5.0, False)
goto_if_false @MANSIO2_4753
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 4600
35@ += 1

:MANSIO2_4753
if 
  35@ == 4
goto_if_false @MANSIO2_4880
if 
  77@ == 1
goto_if_false @MANSIO2_4803
35@ += 1
goto @MANSIO2_4880

:MANSIO2_4803
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_4880
Camera.SetFixedPosition(-725.9466, 218.6036, 4.4433, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-726.7355, 219.1785, 4.2265, SwitchType.JumpCut)
35@ += 1

:MANSIO2_4880
if 
  35@ == 5
goto_if_false @MANSIO2_5085
if 
  77@ == 1
goto_if_false @MANSIO2_4930
35@ += 1
goto @MANSIO2_5085

:MANSIO2_4930
if 
  is_local_var_bit_set_const 85@ {n} 2
goto_if_false @MANSIO2_5085
if 
  293@ == 1
goto_if_false @MANSIO2_4985
Char.ClearLookAt($stattreadstamina_ctr)
293@ = 0
207@ = 0

:MANSIO2_4985
if 
  294@ == 1
goto_if_false @MANSIO2_5022
Char.ClearLookAt(130@)
294@ = 0
208@ = 0

:MANSIO2_5022
295@ = 0
Task.LeaveCar($stattreadstamina_ctr, 139@)
Task.GoStraightToCoord($stattreadstamina_ctr, -732.8385, 225.4091, 1.718, MoveState.Walk, 10000)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1500
35@ += 1

:MANSIO2_5085
if 
  35@ == 6
goto_if_false @MANSIO2_5212
if 
  77@ == 1
goto_if_false @MANSIO2_5135
35@ += 1
goto @MANSIO2_5212

:MANSIO2_5135
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_5212
Task.CarDriveToCoord(130@, 139@, -751.1168, 113.9648, 13.2849, 15.0, DriveMode.Normal, 421, DrivingMode.PloughThrough)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 500
35@ += 1

:MANSIO2_5212
if 
  35@ == 7
goto_if_false @MANSIO2_5336
if 
  77@ == 1
goto_if_false @MANSIO2_5262
35@ = 50
goto @MANSIO2_5336

:MANSIO2_5262
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_5336
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Char.Delete(130@)
Car.Delete(139@)
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(421)
292@ = 1
75@ = 0
35@ += 1

:MANSIO2_5336
if 
  35@ == 8
goto_if_false @MANSIO2_5361
35@ = 99

:MANSIO2_5361
if and
  75@ == 1
  Pad.IsSkipCutsceneButtonPressed
  77@ == 0
goto_if_false @MANSIO2_5395
77@ = 1

:MANSIO2_5395
if 
  35@ == 50
goto_if_false @MANSIO2_5450
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 500
76@ = 1
35@ += 1

:MANSIO2_5450
if 
  35@ == 51
goto_if_false @MANSIO2_5733
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_5733
if 
  not is_local_var_bit_set_const 85@ {n} 2
goto_if_false @MANSIO2_5512
gosub @MANSIO2_48221

:MANSIO2_5512
if 
  293@ == 1
goto_if_false @MANSIO2_5549
Char.ClearLookAt($stattreadstamina_ctr)
293@ = 0
207@ = 0

:MANSIO2_5549
if 
  294@ == 1
goto_if_false @MANSIO2_5586
Char.ClearLookAt(130@)
294@ = 0
208@ = 0

:MANSIO2_5586
295@ = 0
if 
  Char.IsInCar($stattreadstamina_ctr, 139@)
goto_if_false @MANSIO2_5639
Char.WarpFromCarToCoord($stattreadstamina_ctr, -732.8385, 225.4091, 1.718)
goto @MANSIO2_5659

:MANSIO2_5639
Char.SetCoordinates($stattreadstamina_ctr, -732.8385, 225.4091, 1.718)

:MANSIO2_5659
Char.SetHeading($stattreadstamina_ctr, 83.9578)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Char.Delete(130@)
Car.Delete(139@)
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(421)
292@ = 1
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 2000
35@ += 1

:MANSIO2_5733
if 
  35@ == 52
goto_if_false @MANSIO2_5800
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_5800
Camera.DoFade(1500, Fade.In)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1500
35@ += 1

:MANSIO2_5800
if 
  35@ == 53
goto_if_false @MANSIO2_5865
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_5865
76@ = 0
77@ = 0
75@ = 0
35@ = 8

:MANSIO2_5865
if 
  295@ == 1
goto_if_false @MANSIO2_6147
if 
  207@ == 0
goto_if_false @MANSIO2_5935
50@ = Math.RandomIntInRange(2000, 3000)
set_lvar_int_to_lvar_int 207@ = 46@
add_int_lvar_to_int_lvar 207@ += 50@
goto @MANSIO2_6015

:MANSIO2_5935
if 
  is_int_lvar_greater_than_int_lvar 46@ > 207@
goto_if_false @MANSIO2_6015
if 
  293@ == 1
goto_if_false @MANSIO2_5991
Char.ClearLookAt($stattreadstamina_ctr)
293@ = 0
goto @MANSIO2_6008

:MANSIO2_5991
Task.LookAtChar($stattreadstamina_ctr, 130@, -2)
293@ = 1

:MANSIO2_6008
207@ = 0

:MANSIO2_6015
if 
  208@ == 0
goto_if_false @MANSIO2_6067
50@ = Math.RandomIntInRange(1000, 4000)
set_lvar_int_to_lvar_int 208@ = 46@
add_int_lvar_to_int_lvar 208@ += 50@
goto @MANSIO2_6147

:MANSIO2_6067
if 
  is_int_lvar_greater_than_int_lvar 46@ > 208@
goto_if_false @MANSIO2_6147
if 
  294@ == 1
goto_if_false @MANSIO2_6123
Char.ClearLookAt(130@)
294@ = 0
goto @MANSIO2_6140

:MANSIO2_6123
Task.LookAtChar(130@, $stattreadstamina_ctr, -2)
294@ = 1

:MANSIO2_6140
208@ = 0

:MANSIO2_6147
if 
  35@ == 99
goto_if_false @MANSIO2_6172
gosub @MANSIO2_51214

:MANSIO2_6172
return 

:MANSIO2_6174
224@ = 1
if 
  Car.IsDead(140@)
goto_if_false @MANSIO2_6204
224@ = 0

:MANSIO2_6204
if 
  35@ == 0
goto_if_false @MANSIO2_6841
157@ = Object.CreateNoOffset(#CARRIER_LIFT1_SFSE, -1456.719, 501.297, 9.914)
158@ = Object.CreateNoOffset(#CARRIER_LIFT2_SFSE, -1414.453, 516.453, 16.688)
159@ = Object.CreateNoOffset(#CARRIER_DOOR_SFSE, -1465.797, 501.289, 1.145)
164@ = Blip.AddForCar(140@)
Blip.SetAsFriendly(164@, True)
World.ClearArea(-1519.843, 590.923, 0.0, 20.0, True)
153@ = Car.Create(595, -1519.843, 590.923, 0.0)
Car.SetHeading(153@, 202.1246)
Boat.Anchor(153@, True)
50@ = 0
131@(50@,6i) = Char.CreateInsideCar(153@, PedType.Mission2, 287)
Char.SetDecisionMaker(131@(50@,6i), 180@)
Char.GiveWeapon(131@(50@,6i), WeaponType.M4, 300)
Char.SetCurrentWeapon(131@(50@,6i), WeaponType.M4)
Char.SetIsTargetPriority(131@(50@,6i), True)
50@ = 1
131@(50@,6i) = Char.Create(PedType.Mission2, 287, -1429.354, 497.0963, 2.039)
Char.SetDecisionMaker(131@(50@,6i), 180@)
Char.AttachToCar(131@(50@,6i), 153@, 0.0, -3.5, 1.3, 0, 0.0, WeaponType.M4)
Char.GiveWeapon(131@(50@,6i), WeaponType.M4, 300)
Char.SetCurrentWeapon(131@(50@,6i), WeaponType.M4)
Char.SetIsTargetPriority(131@(50@,6i), True)
50@ = 2
131@(50@,6i) = Char.Create(PedType.Mission2, 287, -1428.723, 500.472, 2.0391)
Char.SetDecisionMaker(131@(50@,6i), 180@)
Char.AttachToCar(131@(50@,6i), 153@, 0.0, 4.0, 1.3, 0, 0.0, WeaponType.M4)
Char.GiveWeapon(131@(50@,6i), WeaponType.M4, 300)
Char.SetCurrentWeapon(131@(50@,6i), WeaponType.M4)
Char.SetIsTargetPriority(131@(50@,6i), True)
191@ = 0
220@ = -1459.143
221@ = 501.0938
222@ = 2.7322
Text.PrintNow('MAN2_20', 7000, 1)
World.SetCarDensityMultiplier(1.0)
243@ = 0
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 1824)
Zone.SetDisableMilitaryZones(True)
225@ = 0
226@ = 0
227@ = 0
228@ = 0
258@ = 0
259@ = 0
260@ = 0
195@ = 0
75@ = 0
76@ = 0
77@ = 0
35@ += 1

:MANSIO2_6841
if 
  35@ == 1
goto_if_false @MANSIO2_7052
if or
  226@ == 1
  227@ == 1
goto_if_false @MANSIO2_7052
81@ = 4
gosub @MANSIO2_48037
227@ = 1
World.ClearArea(-1357.0, 502.0, 10.0, 300.0, False)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.SetFixedPosition(-1513.614, 559.4036, 22.2746, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1513.076, 558.6777, 21.8463, SwitchType.JumpCut)
258@ = 1
if 
  286@ == 0
goto_if_false @MANSIO2_7031
Audio.ReportMissionAudioEventAtObject(159@, 1128)
286@ = 1

:MANSIO2_7031
183@ = 0
75@ = 1
35@ += 1

:MANSIO2_7052
if 
  35@ == 2
goto_if_false @MANSIO2_7182
if 
  77@ == 1
goto_if_false @MANSIO2_7102
35@ += 1
goto @MANSIO2_7182

:MANSIO2_7102
if 
  80@ <> 4
goto_if_false @MANSIO2_7134
81@ = 4
gosub @MANSIO2_48037

:MANSIO2_7134
if 
  80@ == 4
goto_if_false @MANSIO2_7182
gosub @MANSIO2_48192
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 6800
35@ += 1

:MANSIO2_7182
if 
  35@ == 3
goto_if_false @MANSIO2_7325
if 
  77@ == 1
goto_if_false @MANSIO2_7232
35@ += 1
goto @MANSIO2_7325

:MANSIO2_7232
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_7325
Camera.SetFixedPosition(-1474.739, 526.7202, 16.2159, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1474.991, 525.8577, 15.7775, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 3700
35@ += 1

:MANSIO2_7325
if 
  35@ == 4
goto_if_false @MANSIO2_7441
if 
  77@ == 1
goto_if_false @MANSIO2_7375
35@ = 50
goto @MANSIO2_7441

:MANSIO2_7375
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_7441
if 
  is_local_var_bit_set_const 85@ {n} 4
goto_if_false @MANSIO2_7441
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
75@ = 0
35@ += 1

:MANSIO2_7441
if 
  35@ == 5
goto_if_false @MANSIO2_7482
Text.PrintNow('MAN2_32', 8000, 1)
35@ = 99

:MANSIO2_7482
if and
  75@ == 1
  Pad.IsSkipCutsceneButtonPressed
  77@ == 0
goto_if_false @MANSIO2_7516
77@ = 1

:MANSIO2_7516
if 
  35@ == 50
goto_if_false @MANSIO2_7571
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 500
76@ = 1
35@ += 1

:MANSIO2_7571
if 
  35@ == 51
goto_if_false @MANSIO2_7785
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_7785
if 
  not is_local_var_bit_set_const 85@ {n} 4
goto_if_false @MANSIO2_7633
gosub @MANSIO2_48221

:MANSIO2_7633
Object.SetCoordinates(159@, -1468.492, 501.289, 11.109)
if 
  not Car.IsDead(153@)
goto_if_false @MANSIO2_7699
Car.SetCoordinates(153@, -1446.218, 491.9281, 0.0)
Car.SetHeading(153@, 270.0)

:MANSIO2_7699
if 
  not Char.IsDead(131@)
goto_if_false @MANSIO2_7740
if 
  183@ <> 3
goto_if_false @MANSIO2_7740
183@ = 2

:MANSIO2_7740
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Camera.DoFade(1500, Fade.In)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1500
35@ += 1

:MANSIO2_7785
if 
  35@ == 52
goto_if_false @MANSIO2_7850
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_7850
76@ = 0
77@ = 0
75@ = 0
35@ = 5

:MANSIO2_7850
if 
  226@ == 0
goto_if_false @MANSIO2_8147
if 
  224@ == 1
goto_if_false @MANSIO2_8112
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1397.0, 552.0, 17.0, 150.0, 110.0, 25.0, False)
goto_if_false @MANSIO2_8008
if 
  not Blip.DoesExist(165@)
goto_if_false @MANSIO2_7964
165@ = Blip.AddForCoord(220@, 221@, 222@)

:MANSIO2_7964
Blip.Remove(164@)
if 
  not is_local_var_bit_set_const 85@ {n} 3
goto_if_false @MANSIO2_7994
set_local_var_bit_const 85@ {n} 3

:MANSIO2_7994
226@ = 1
goto @MANSIO2_8105

:MANSIO2_8008
if 
  Char.IsInCar($stattreadstamina_ctr, 140@)
goto_if_false @MANSIO2_8069
if 
  not Blip.DoesExist(165@)
goto_if_false @MANSIO2_8057
165@ = Blip.AddForCoord(220@, 221@, 222@)

:MANSIO2_8057
Blip.Remove(164@)
goto @MANSIO2_8105

:MANSIO2_8069
if 
  not Blip.DoesExist(164@)
goto_if_false @MANSIO2_8100
164@ = Blip.AddForCar(140@)
Blip.SetAsFriendly(164@, True)

:MANSIO2_8100
Blip.Remove(165@)

:MANSIO2_8105
goto @MANSIO2_8147

:MANSIO2_8112
Blip.Remove(164@)
if 
  not Blip.DoesExist(165@)
goto_if_false @MANSIO2_8147
165@ = Blip.AddForCoord(220@, 221@, 222@)

:MANSIO2_8147
if 
  225@ == 0
goto_if_false @MANSIO2_8255
if 
  224@ == 1
goto_if_false @MANSIO2_8255
if 
  Char.IsInCar($stattreadstamina_ctr, 140@)
goto_if_false @MANSIO2_8255
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.PistolSilenced, 30)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Knife, 0)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.PistolSilenced)
81@ = 3
gosub @MANSIO2_48037
gosub @MANSIO2_48192
225@ = 1

:MANSIO2_8255
if 
  228@ == 0
goto_if_false @MANSIO2_8348
if 
  226@ == 0
goto_if_false @MANSIO2_8348
if 
  Blip.DoesExist(165@)
goto_if_false @MANSIO2_8348
if 
  is_local_var_bit_set_const 85@ {n} 3
goto_if_false @MANSIO2_8348
Text.PrintNow('MAN2_21', 7000, 1)
228@ = 1

:MANSIO2_8348
if 
  258@ == 1
goto_if_false @MANSIO2_8454
if 
  Object.Slide(159@, -1468.492, 501.289, 11.109, 0.04, 0.04, 0.05, False)
goto_if_false @MANSIO2_8454
258@ = 0
if 
  286@ == 1
goto_if_false @MANSIO2_8454
Audio.ReportMissionAudioEventAtObject(159@, 1129)
286@ = 0

:MANSIO2_8454
if 
  227@ == 0
goto_if_false @MANSIO2_8576
if 
  Car.IsDead(153@)
goto_if_false @MANSIO2_8495
227@ = 1

:MANSIO2_8495
if 
  227@ == 0
goto_if_false @MANSIO2_8576
57@, 58@, 59@ = Car.GetCoordinates(153@)
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 57@, 58@, 59@, 100.0, 100.0, 30.0, False)
goto_if_false @MANSIO2_8576
227@ = 1

:MANSIO2_8576
gosub @MANSIO2_22723
gosub @MANSIO2_36622
gosub @MANSIO2_46199
if 
  35@ == 99
goto_if_false @MANSIO2_8622
gosub @MANSIO2_51214

:MANSIO2_8622
return 

:MANSIO2_8624
if 
  35@ == 0
goto_if_false @MANSIO2_8719
259@ = 0
260@ = 0
263@ = 0
291@ = 0
if 
  not Car.IsDead(142@)
goto_if_false @MANSIO2_8691
Car.Delete(142@)

:MANSIO2_8691
75@ = 0
76@ = 0
77@ = 0
35@ += 1

:MANSIO2_8719
if 
  35@ == 1
goto_if_false @MANSIO2_8916
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 220@, 221@, 222@, 4.0, 13.5, 5.0, False)
goto_if_false @MANSIO2_8916
Blip.Remove(165@)
Blip.Remove(164@)
263@ = 1
Player.SetControl($statbike_temp, False)
Player.ForceInteriorLighting($statbike_temp, True)
Char.DisableSpeech($stattreadstamina_ctr, False)
195@ = 0
259@ = 1
260@ = 1
if 
  286@ == 0
goto_if_false @MANSIO2_8871
Audio.ReportMissionAudioEventAtObject(159@, 1128)
286@ = 1

:MANSIO2_8871
246@ = 0
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(200, Fade.Out)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 400
35@ += 1

:MANSIO2_8916
if 
  35@ == 2
goto_if_false @MANSIO2_9244
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_9244
Player.AlterWantedLevel($statbike_temp, 0)
Streaming.LoadSceneInDirection(-1439.546, 489.3506, 3.8546, 300.0)
Hud.SetRadarZoom(90)
Game.ShowBlipsOnAllLevels(True)
220@ = -1288.084
221@ = 490.5533
222@ = 10.2026
165@ = Blip.AddForCoord(220@, 221@, 222@)
Char.SetCoordinates($stattreadstamina_ctr, -1327.957, 507.4273, 0.0)
Char.SetHeading($stattreadstamina_ctr, 84.8851)
50@ = 0
141@(50@,4i) = Car.Create(520, -1423.62, 497.13, 10.19)
Car.SetHeading(141@(50@,4i), 62.12)
242@(50@,4i) = 1
50@ = 2
141@(50@,4i) = Car.Create(520, -1416.47, 518.36, 16.91)
Car.SetHeading(141@(50@,4i), 270.0)
242@(50@,4i) = 1
135@ = Char.CreateInsideCar(141@(50@,4i), PedType.Mission2, 287)
Char.SetDecisionMaker(135@, 180@)
Char.SetIsTargetPriority(135@, True)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 2000
75@ = 1
35@ += 1

:MANSIO2_9244
if 
  35@ == 3
goto_if_false @MANSIO2_9414
if 
  77@ == 1
goto_if_false @MANSIO2_9294
35@ += 1
goto @MANSIO2_9414

:MANSIO2_9294
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_9414
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-1304.926, 489.9207, 11.6599, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1304.047, 490.3978, 11.6435, SwitchType.JumpCut)
Text.PrintNow('MAN2_22', 6000, 1)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 4000
Camera.DoFade(500, Fade.In)
35@ += 1

:MANSIO2_9414
if 
  35@ == 4
goto_if_false @MANSIO2_9577
if 
  77@ == 1
goto_if_false @MANSIO2_9464
35@ += 1
goto @MANSIO2_9577

:MANSIO2_9464
  Char.LocateOnFoot3D($stattreadstamina_ctr, 220@, 221@, 222@, 1.0, 1.0, 2.0, True)
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_9577
246@ = 1
if 
  288@ == 0
goto_if_false @MANSIO2_9554
Audio.ReportMissionAudioEventAtObject(158@, 1128)
288@ = 1

:MANSIO2_9554
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1800
35@ += 1

:MANSIO2_9577
if 
  35@ == 5
goto_if_false @MANSIO2_10017
if 
  77@ == 1
goto_if_false @MANSIO2_9627
35@ += 1
goto @MANSIO2_10017

:MANSIO2_9627
  Char.LocateOnFoot3D($stattreadstamina_ctr, 220@, 221@, 222@, 1.0, 1.0, 2.0, True)
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_10017
Camera.SetFixedPosition(-1400.167, 517.7336, 11.9235, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1401.079, 518.1353, 12.0041, SwitchType.JumpCut)
Text.PrintNow('MAN2_25', 5000, 1)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 3800
set_lvar_int_to_lvar_int 202@ = 46@
202@ += 2500
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSIO2_9867
Char.SetCoordinates($stattreadstamina_ctr, -1446.333, 506.7063, -2.089)
Char.SetHeading($stattreadstamina_ctr, 256.1819)
if 
  Char.IsInAnyBoat($stattreadstamina_ctr)
goto_if_false @MANSIO2_9853
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Boat.Anchor($stealth_help_flag, True)

:MANSIO2_9853
291@ = 1
goto @MANSIO2_10010

:MANSIO2_9867
Char.SetCoordinates($stattreadstamina_ctr, -1455.558, 497.0678, -2.089)
Char.SetHeading($stattreadstamina_ctr, 256.1819)
if 
  not Car.IsDead(140@)
goto_if_false @MANSIO2_10010
if 
  Car.IsInArea3D(140@, -1466.083, 490.7395, -2.0, -1434.139, 511.856, 3.0, False)
goto_if_false @MANSIO2_10005
Car.SetCoordinates(140@, -1446.333, 506.7063, -2.089)
Car.SetHeading(140@, 256.1819)
291@ = 1
goto @MANSIO2_10010

:MANSIO2_10005
Car.Delete(140@)

:MANSIO2_10010
35@ += 1

:MANSIO2_10017
if 
  35@ == 6
goto_if_false @MANSIO2_10229
if 
  77@ == 1
goto_if_false @MANSIO2_10067
35@ += 1
goto @MANSIO2_10229

:MANSIO2_10067
if and
  is_int_lvar_greater_than_int_lvar 46@ > 202@
  202@ <> 0
goto_if_false @MANSIO2_10107
187@ = 5
202@ = 0

:MANSIO2_10107
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_10229
50@ = 1
if 
  183@(50@,6i) <> -2
goto_if_false @MANSIO2_10166
183@(50@,6i) = 6

:MANSIO2_10166
50@ = 2
if 
  183@(50@,6i) <> -2
goto_if_false @MANSIO2_10206
183@(50@,6i) = 6

:MANSIO2_10206
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1000
35@ += 1

:MANSIO2_10229
if 
  35@ == 7
goto_if_false @MANSIO2_10392
if 
  77@ == 1
goto_if_false @MANSIO2_10279
35@ += 1
goto @MANSIO2_10392

:MANSIO2_10279
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_10392
Camera.SetFixedPosition(-1395.611, 493.0729, 5.3645, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1394.977, 493.8029, 5.109, SwitchType.JumpCut)
Weather.ForceNow(WeatherType.SunnySf)
Text.PrintNow('MAN2_23', 6000, 1)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 5800
35@ += 1

:MANSIO2_10392
if 
  35@ == 8
goto_if_false @MANSIO2_10500
if 
  77@ == 1
goto_if_false @MANSIO2_10442
35@ = 50
goto @MANSIO2_10500

:MANSIO2_10442
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_10500
Char.SetHeading($stattreadstamina_ctr, 256.1819)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
75@ = 0
35@ += 1

:MANSIO2_10500
if 
  35@ == 9
goto_if_false @MANSIO2_10887
188@ = 5
274@ = 1
48@ = 0

:MANSIO2_10539
if and
  183@(48@,6i) <> -2
  183@(48@,6i) <> -1
  not Char.IsDead(131@(48@,6i))
goto_if_false @MANSIO2_10637
if 
  48@ <> 4
goto_if_false @MANSIO2_10637
173@(48@,6i) = Blip.AddForChar(131@(48@,6i))
Blip.ChangeDisplay(173@(48@,6i), BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(173@(48@,6i), True)

:MANSIO2_10637
48@ += 1
  48@ >= 6
goto_if_false @MANSIO2_10539
187@ = 18
if 
  291@ == 1
goto_if_false @MANSIO2_10793
213@ = 1
50@ = 0
if 
  183@(50@,6i) <> -2
goto_if_false @MANSIO2_10730
183@(50@,6i) = 24

:MANSIO2_10730
50@ = 1
if 
  189@(50@,2i) <> -2
goto_if_false @MANSIO2_10770
189@(50@,2i) = 12

:MANSIO2_10770
Text.PrintNow('MAN2_46', 5000, 1)
goto @MANSIO2_10873

:MANSIO2_10793
50@ = 0
if 
  183@(50@,6i) <> -2
goto_if_false @MANSIO2_10833
183@(50@,6i) = 8

:MANSIO2_10833
50@ = 1
if 
  189@(50@,2i) <> -2
goto_if_false @MANSIO2_10873
189@(50@,2i) = 6

:MANSIO2_10873
283@ = 1
35@ = 99

:MANSIO2_10887
if and
  75@ == 1
  Pad.IsSkipCutsceneButtonPressed
  77@ == 0
goto_if_false @MANSIO2_10921
77@ = 1

:MANSIO2_10921
if 
  35@ == 50
goto_if_false @MANSIO2_10976
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 500
76@ = 1
35@ += 1

:MANSIO2_10976
if 
  35@ == 51
goto_if_false @MANSIO2_11441
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_11441
246@ = 1
if 
  288@ == 0
goto_if_false @MANSIO2_11053
Audio.ReportMissionAudioEventAtObject(158@, 1128)
288@ = 1

:MANSIO2_11053
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSIO2_11144
Char.SetCoordinates($stattreadstamina_ctr, -1446.333, 506.7063, -2.089)
Char.SetHeading($stattreadstamina_ctr, 256.1819)
if 
  Char.IsInAnyBoat($stattreadstamina_ctr)
goto_if_false @MANSIO2_11130
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Boat.Anchor($stealth_help_flag, True)

:MANSIO2_11130
291@ = 1
goto @MANSIO2_11287

:MANSIO2_11144
Char.SetCoordinates($stattreadstamina_ctr, -1455.558, 497.0678, -2.089)
Char.SetHeading($stattreadstamina_ctr, 256.1819)
if 
  not Car.IsDead(140@)
goto_if_false @MANSIO2_11287
if 
  Car.IsInArea3D(140@, -1466.083, 490.7395, -2.0, -1434.139, 511.856, 3.0, False)
goto_if_false @MANSIO2_11282
Car.SetCoordinates(140@, -1446.333, 506.7063, -2.089)
Car.SetHeading(140@, 256.1819)
291@ = 1
goto @MANSIO2_11287

:MANSIO2_11282
Car.Delete(140@)

:MANSIO2_11287
50@ = 1
if 
  183@(50@,6i) <> -2
goto_if_false @MANSIO2_11327
183@(50@,6i) = 6

:MANSIO2_11327
50@ = 2
if 
  183@(50@,6i) <> -2
goto_if_false @MANSIO2_11367
183@(50@,6i) = 6

:MANSIO2_11367
if 
  187@ == -1
goto_if_false @MANSIO2_11392
187@ = 5

:MANSIO2_11392
Weather.ForceNow(WeatherType.SunnySf)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.DoFade(1500, Fade.In)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1500
35@ += 1

:MANSIO2_11441
if 
  35@ == 52
goto_if_false @MANSIO2_11506
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_11506
76@ = 0
77@ = 0
75@ = 0
35@ = 9

:MANSIO2_11506
if 
  246@ == 1
goto_if_false @MANSIO2_11612
if 
  Object.Slide(158@, -1414.453, 516.453, 9.648, 0.05, 0.05, 0.05, False)
goto_if_false @MANSIO2_11612
246@ = 0
if 
  288@ == 1
goto_if_false @MANSIO2_11612
Audio.ReportMissionAudioEventAtObject(158@, 1129)
288@ = 0

:MANSIO2_11612
if 
  259@ == 1
goto_if_false @MANSIO2_11865
if 
  260@ == 1
goto_if_false @MANSIO2_11743
if 
  Object.Slide(159@, -1465.797, 501.289, 1.145, 0.04, 0.04, 0.3, False)
goto_if_false @MANSIO2_11736
259@ = 0
if 
  286@ == 1
goto_if_false @MANSIO2_11736
Audio.ReportMissionAudioEventAtObject(159@, 1129)
286@ = 0

:MANSIO2_11736
goto @MANSIO2_11865

:MANSIO2_11743
if 
  Object.Slide(159@, -1465.797, 501.289, 1.145, 0.04, 0.04, 0.05, False)
goto_if_false @MANSIO2_11865
259@ = 0
if 
  286@ == 1
goto_if_false @MANSIO2_11831
Audio.ReportMissionAudioEventAtObject(159@, 1129)
286@ = 0

:MANSIO2_11831
if 
  263@ == 0
goto_if_false @MANSIO2_11865
37@ = 1
45@ = 5
return 

:MANSIO2_11865
gosub @MANSIO2_22723
gosub @MANSIO2_36622
if 
  195@ <> 0
goto_if_false @MANSIO2_11979
if 
  is_int_lvar_greater_than_int_lvar 46@ > 195@
goto_if_false @MANSIO2_11979
195@ = 0
259@ = 1
if 
  286@ == 0
goto_if_false @MANSIO2_11963
Audio.ReportMissionAudioEventAtObject(159@, 1128)
286@ = 1

:MANSIO2_11963
Text.PrintNow('MAN2_31', 7000, 1)

:MANSIO2_11979
if 
  35@ == 99
goto_if_false @MANSIO2_12004
gosub @MANSIO2_51214

:MANSIO2_12004
return 

:MANSIO2_12006
if 
  35@ == 0
goto_if_false @MANSIO2_12354
238@ = 0
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Game.SwitchAmbientPlanes(False)
50@ = 3
141@(50@,4i) = Car.Create(520, -1333.231, 507.6329, 17.2266)
Car.SetHeading(141@(50@,4i), 270.0)
242@(50@,4i) = 1
50@ = 0
161@(50@,3i) = Object.Create(#KMB_KEYPAD, -1414.55, 514.4193, 2.9391)
Object.SetHeading(161@(50@,3i), 180.0)
50@ = 1
161@(50@,3i) = Object.Create(#KMB_KEYPAD, -1313.173, 488.3687, 11.1026)
50@ = 2
161@(50@,3i) = Object.Create(#KMB_KEYPAD, -1412.198, 488.3644, 11.1026)
Audio.SetRadioChannel(RadioChannel.UserTracks)
230@ = 0
231@ = 0
229@ = 0
248@ = 0
249@ = 0
250@ = 0
261@ = 0
264@ = 0
265@ = 0
284@ = 0
285@ = 0
296@ = 0
192@ = -1
193@ = -1
75@ = 0
76@ = 0
77@ = 0
35@ += 1

:MANSIO2_12354
73@ = 0
48@ = 0

:MANSIO2_12368
if 
  242@(48@,4i) == 1
goto_if_false @MANSIO2_12417
if 
  not Car.IsDead(141@(48@,4i))
goto_if_false @MANSIO2_12417
73@ = 1

:MANSIO2_12417
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_12368
if 
  73@ == 0
goto_if_false @MANSIO2_12472
37@ = 1
45@ = 3
return 

:MANSIO2_12472
if 
  not Char.IsInModel($stattreadstamina_ctr, 520)
goto_if_false @MANSIO2_12599
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
if or
  484.0 > 58@
  58@ > 523.0
goto_if_false @MANSIO2_12552
37@ = 1
45@ = 6
return 

:MANSIO2_12552
if or
  -1471.0 > 57@
  57@ > -1246.0
goto_if_false @MANSIO2_12599
37@ = 1
45@ = 6
return 

:MANSIO2_12599
if 
  35@ == 1
goto_if_false @MANSIO2_12822
if 
  238@ == 1
goto_if_false @MANSIO2_12797
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.SetFixedPosition(-1291.578, 491.3468, 13.2852, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1290.686, 491.105, 12.9042, SwitchType.JumpCut)
Char.SetCoordinates($stattreadstamina_ctr, 220@, 221@, 222@)
Task.AchieveHeading($stattreadstamina_ctr, 270.0)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 200
Blip.Remove(165@)
165@ = Blip.AddForCoord(-1432.482, 506.5725, 10.1953)
229@ = 1
75@ = 1
35@ += 1

:MANSIO2_12797
if 
  248@ == 1
goto_if_false @MANSIO2_12822
35@ = 6

:MANSIO2_12822
if 
  35@ == 2
goto_if_false @MANSIO2_12972
if 
  77@ == 1
goto_if_false @MANSIO2_12872
35@ += 1
goto @MANSIO2_12972

:MANSIO2_12872
40@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1492)
if and
  not is_int_lvar_equal_to_constant 40@ == 1
  not is_int_lvar_equal_to_constant 40@ == 0
goto_if_false @MANSIO2_12972
Task.PlayAnim($stattreadstamina_ctr, "SLOT_BET_02", "CASINO", 4.0, False, False, False, False, 0)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 250
35@ += 1

:MANSIO2_12972
if 
  35@ == 3
goto_if_false @MANSIO2_13144
if 
  77@ == 1
goto_if_false @MANSIO2_13022
35@ += 1
goto @MANSIO2_13144

:MANSIO2_13022
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_13144
if 
  not Char.IsPlayingAnim($stattreadstamina_ctr, "SLOT_BET_02")
goto_if_false @MANSIO2_13144
Camera.SetFixedPosition(-1391.305, 490.2552, 18.2899, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1392.138, 490.5674, 18.7452, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 2000
35@ += 1

:MANSIO2_13144
if 
  35@ == 4
goto_if_false @MANSIO2_13240
if 
  77@ == 1
goto_if_false @MANSIO2_13194
35@ += 1
goto @MANSIO2_13240

:MANSIO2_13194
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_13240
Game.SetAircraftCarrierSamSite(False)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1500
35@ += 1

:MANSIO2_13240
if 
  35@ == 5
goto_if_false @MANSIO2_13361
if 
  77@ == 1
goto_if_false @MANSIO2_13290
35@ = 50
goto @MANSIO2_13361

:MANSIO2_13290
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_13361
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.PrintNow('MAN2_25', 15000, 1)
35@ += 1

:MANSIO2_13361
if 
  35@ == 6
goto_if_false @MANSIO2_13475
if 
  248@ == 1
goto_if_false @MANSIO2_13475
if or
  249@ == 1
  250@ == 1
goto_if_false @MANSIO2_13426
Camera.SetBehindPlayer
Camera.Restore

:MANSIO2_13426
Blip.Remove(165@)
48@ = 0

:MANSIO2_13438
Blip.Remove(173@(48@,6i))
48@ += 1
  48@ >= 6
goto_if_false @MANSIO2_13438
35@ = 99

:MANSIO2_13475
if and
  75@ == 1
  Pad.IsSkipCutsceneButtonPressed
  77@ == 0
goto_if_false @MANSIO2_13509
77@ = 1

:MANSIO2_13509
if 
  35@ == 50
goto_if_false @MANSIO2_13564
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 500
76@ = 1
35@ += 1

:MANSIO2_13564
if 
  35@ == 51
goto_if_false @MANSIO2_13664
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_13664
Game.SetAircraftCarrierSamSite(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(1500, Fade.In)
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1500
35@ += 1

:MANSIO2_13664
if 
  35@ == 52
goto_if_false @MANSIO2_13745
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_13745
76@ = 0
77@ = 0
75@ = 0
Text.PrintNow('MAN2_25', 15000, 1)
35@ = 6

:MANSIO2_13745
if 
  238@ == 0
goto_if_false @MANSIO2_13812
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 220@, 221@, 222@, 1.0, 1.0, 2.0, True)
goto_if_false @MANSIO2_13812
238@ = 1

:MANSIO2_13812
if 
  229@ == 0
goto_if_false @MANSIO2_13872
if 
  Char.IsInModel($stattreadstamina_ctr, 520)
goto_if_false @MANSIO2_13872
Text.PrintNow('MAN2_24', 5000, 1)
229@ = 1

:MANSIO2_13872
if 
  230@ == 0
goto_if_false @MANSIO2_13950
if 
  Char.IsInModel($stattreadstamina_ctr, 520)
goto_if_false @MANSIO2_13950
Text.PrintHelpForever('MAN2_70')
230@ = 1
231@ = 0
set_lvar_int_to_lvar_int 206@ = 46@
206@ += 15000

:MANSIO2_13950
if 
  230@ == 1
goto_if_false @MANSIO2_14041
if 
  231@ == 0
goto_if_false @MANSIO2_14041
if 
  is_int_lvar_greater_than_int_lvar 46@ > 206@
goto_if_false @MANSIO2_14041
Text.ClearHelp
Text.PrintHelpForever('MAN2_99')
231@ = 1
set_lvar_int_to_lvar_int 206@ = 46@
206@ += 10000

:MANSIO2_14041
if 
  231@ == 1
goto_if_false @MANSIO2_14105
if 
  206@ <> 0
goto_if_false @MANSIO2_14105
if 
  is_int_lvar_greater_than_int_lvar 46@ > 206@
goto_if_false @MANSIO2_14105
206@ = 0
Text.ClearHelp

:MANSIO2_14105
if 
  264@ == 0
goto_if_false @MANSIO2_14322
if 
  Char.IsInModel($stattreadstamina_ctr, 520)
goto_if_false @MANSIO2_14204
if 
  Char.IsInCar($stattreadstamina_ctr, 144@)
goto_if_false @MANSIO2_14175
264@ = 1
goto @MANSIO2_14197

:MANSIO2_14175
Car.StartPlayback(144@, 209)
192@ = 0
264@ = 1

:MANSIO2_14197
goto @MANSIO2_14322

:MANSIO2_14204
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1347.692, 499.5881, 17.2266, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_14281
Car.StartPlayback(144@, 209)
192@ = 0
264@ = 1
goto @MANSIO2_14322

:MANSIO2_14281
if 
  Char.IsTouchingObject($stattreadstamina_ctr, 158@)
goto_if_false @MANSIO2_14322
Car.StartPlayback(144@, 209)
192@ = 0
264@ = 1

:MANSIO2_14322
if 
  265@ == 0
goto_if_false @MANSIO2_14427
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, -1368.303, 496.5314, 10.1854, 5.0, 5.0, 4.0, False)
goto_if_false @MANSIO2_14427
193@ = 0
265@ = 1
if 
  279@ == 0
goto_if_false @MANSIO2_14427
187@ = 11

:MANSIO2_14427
if 
  not Car.IsDead(143@)
goto_if_false @MANSIO2_14677
73@ = 0
if 
  Char.IsInCar($stattreadstamina_ctr, 143@)
goto_if_false @MANSIO2_14531
if 
  Object.Slide(158@, -1414.453, 516.453, 16.688, 0.05, 0.05, 0.05, False)
goto_if_false @MANSIO2_14524
73@ = 1

:MANSIO2_14524
goto @MANSIO2_14586

:MANSIO2_14531
if 
  Object.Slide(158@, -1414.453, 516.453, 9.648, 0.05, 0.05, 0.05, False)
goto_if_false @MANSIO2_14586
73@ = 1

:MANSIO2_14586
if 
  288@ == 0
goto_if_false @MANSIO2_14644
if 
  73@ == 0
goto_if_false @MANSIO2_14637
Audio.ReportMissionAudioEventAtObject(158@, 1128)
288@ = 1

:MANSIO2_14637
goto @MANSIO2_14677

:MANSIO2_14644
if 
  73@ == 1
goto_if_false @MANSIO2_14677
Audio.ReportMissionAudioEventAtObject(158@, 1129)
288@ = 0

:MANSIO2_14677
if 
  not Car.IsDead(142@)
goto_if_false @MANSIO2_14927
73@ = 0
if 
  Char.IsInCar($stattreadstamina_ctr, 142@)
goto_if_false @MANSIO2_14781
if 
  Object.Slide(157@, -1456.719, 501.297, 16.953, 0.05, 0.05, 0.05, False)
goto_if_false @MANSIO2_14774
73@ = 1

:MANSIO2_14774
goto @MANSIO2_14836

:MANSIO2_14781
if 
  Object.Slide(157@, -1456.719, 501.297, 9.914, 0.05, 0.05, 0.05, False)
goto_if_false @MANSIO2_14836
73@ = 1

:MANSIO2_14836
if 
  287@ == 0
goto_if_false @MANSIO2_14894
if 
  73@ == 0
goto_if_false @MANSIO2_14887
Audio.ReportMissionAudioEventAtObject(157@, 1128)
287@ = 1

:MANSIO2_14887
goto @MANSIO2_14927

:MANSIO2_14894
if 
  73@ == 1
goto_if_false @MANSIO2_14927
Audio.ReportMissionAudioEventAtObject(157@, 1129)
287@ = 0

:MANSIO2_14927
if 
  249@ == 0
goto_if_false @MANSIO2_15120
if 
  not Car.IsDead(143@)
goto_if_false @MANSIO2_15113
if 
  Char.IsInCar($stattreadstamina_ctr, 143@)
goto_if_false @MANSIO2_15113
57@, 58@, 59@ = Car.GetCoordinates(143@)
60@, 61@, 62@ = Object.GetCoordinates(158@)
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if or
  70@ >= 0.0
  3.0 >= 70@
goto_if_false @MANSIO2_15113
Camera.SetFixedPosition(-1427.408, 516.3539, 20.8899, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1426.435, 516.2787, 20.6742, SwitchType.Interpolation)
249@ = 1

:MANSIO2_15113
goto @MANSIO2_15184

:MANSIO2_15120
if 
  Car.IsDead(143@)
goto_if_false @MANSIO2_15154
Camera.SetBehindPlayer
Camera.Restore
249@ = 0
goto @MANSIO2_15184

:MANSIO2_15154
if 
  not Char.IsInCar($stattreadstamina_ctr, 143@)
goto_if_false @MANSIO2_15184
Camera.SetBehindPlayer
Camera.Restore
249@ = 0

:MANSIO2_15184
if 
  250@ == 0
goto_if_false @MANSIO2_15377
if 
  not Car.IsDead(142@)
goto_if_false @MANSIO2_15370
if 
  Char.IsInCar($stattreadstamina_ctr, 142@)
goto_if_false @MANSIO2_15370
57@, 58@, 59@ = Car.GetCoordinates(142@)
60@, 61@, 62@ = Object.GetCoordinates(157@)
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if or
  70@ >= 0.0
  3.0 >= 70@
goto_if_false @MANSIO2_15370
Camera.SetFixedPosition(-1439.283, 507.3634, 28.9545, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1440.069, 507.1481, 28.3752, SwitchType.Interpolation)
250@ = 1

:MANSIO2_15370
goto @MANSIO2_15441

:MANSIO2_15377
if 
  Car.IsDead(142@)
goto_if_false @MANSIO2_15411
Camera.SetBehindPlayer
Camera.Restore
250@ = 0
goto @MANSIO2_15441

:MANSIO2_15411
if 
  not Char.IsInCar($stattreadstamina_ctr, 142@)
goto_if_false @MANSIO2_15441
Camera.SetBehindPlayer
Camera.Restore
250@ = 0

:MANSIO2_15441
48@ = 0

:MANSIO2_15448
if 
  not Car.IsDead(141@(48@,4i))
goto_if_false @MANSIO2_15830
if 
  Char.IsInCar($stattreadstamina_ctr, 141@(48@,4i))
goto_if_false @MANSIO2_15830
switch_start 48@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_15803 {caseNum1} 0 {caseLabel1} @MANSIO2_15740 {caseNum2} 1 {caseLabel2} @MANSIO2_15647 {caseNum3} 2 {caseLabel3} @MANSIO2_15554 {caseNum4} -1 {caseLabel4} @MANSIO2_15830 {caseNum5} -1 {caseLabel5} @MANSIO2_15830 {caseNum6} -1 {caseLabel6} @MANSIO2_15830 {caseNum7} -1 {caseLabel7} @MANSIO2_15830

:MANSIO2_15554
57@, 58@, 59@ = Car.GetCoordinates(141@(48@,4i))
60@, 61@, 62@ = Object.GetCoordinates(158@)
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if or
  0.0 > 70@
  70@ > 3.0
goto_if_false @MANSIO2_15640
248@ = 1

:MANSIO2_15640
goto @MANSIO2_15830

:MANSIO2_15647
57@, 58@, 59@ = Car.GetCoordinates(141@(48@,4i))
60@, 61@, 62@ = Object.GetCoordinates(157@)
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if or
  0.0 > 70@
  70@ > 3.0
goto_if_false @MANSIO2_15733
248@ = 1

:MANSIO2_15733
goto @MANSIO2_15830

:MANSIO2_15740
57@, 58@, 59@ = Car.GetCoordinates(141@(48@,4i))
if or
  59@ > 20.0
  5.0 > 59@
goto_if_false @MANSIO2_15796
248@ = 1

:MANSIO2_15796
goto @MANSIO2_15830

:MANSIO2_15803
if 
  Car.IsInAirProper(141@(48@,4i))
goto_if_false @MANSIO2_15830
248@ = 1

:MANSIO2_15830
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_15448
if and
  248@ == 1
  261@ == 0
goto_if_false @MANSIO2_16281
48@ = 0

:MANSIO2_15883
239@(48@,3i) = 0
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_15883
50@ = 0
48@ = 0

:MANSIO2_15929
if 
  48@ == 3
goto_if_false @MANSIO2_16028
if 
  not Car.IsDead(141@(48@,4i))
goto_if_false @MANSIO2_16028
if 
  Car.IsPlaybackGoingOn(141@(48@,4i))
goto_if_false @MANSIO2_15996
Car.StopPlayback(141@(48@,4i))

:MANSIO2_15996
if 
  not Char.IsInCar($stattreadstamina_ctr, 141@(48@,4i))
goto_if_false @MANSIO2_16028
Car.Delete(141@(48@,4i))

:MANSIO2_16028
if 
  48@ == 1
goto_if_false @MANSIO2_16161
if 
  not Car.IsDead(141@(48@,4i))
goto_if_false @MANSIO2_16161
if 
  not Char.IsInCar($stattreadstamina_ctr, 141@(48@,4i))
goto_if_false @MANSIO2_16161
if 
  193@ <> -1
goto_if_false @MANSIO2_16161
Car.StopPlayback(141@(48@,4i))
Car.SetCoordinates(141@(48@,4i), -1457.627, 502.2539, 9.0078)
Car.SetHeading(141@(48@,4i), 185.069)
193@ = -1

:MANSIO2_16161
if 
  not Car.IsDead(141@(48@,4i))
goto_if_false @MANSIO2_16253
if 
  Char.IsInCar($stattreadstamina_ctr, 141@(48@,4i))
goto_if_false @MANSIO2_16219
145@ = Char.StoreCarIsIn($stattreadstamina_ctr)
goto @MANSIO2_16253

:MANSIO2_16219
set_lvar_int_to_lvar_int 146@(50@,3i) = 141@(48@,4i)
239@(50@,3i) = 1
50@ += 1

:MANSIO2_16253
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_15929
261@ = 1

:MANSIO2_16281
gosub @MANSIO2_22639
gosub @MANSIO2_22723
gosub @MANSIO2_36622
48@ = 0

:MANSIO2_16309
if 
  not Char.IsDead(131@(48@,6i))
goto_if_false @MANSIO2_16338
Char.ClearLastWeaponDamage(131@(48@,6i))

:MANSIO2_16338
48@ += 1
  48@ >= 6
goto_if_false @MANSIO2_16309
48@ = 0

:MANSIO2_16366
if 
  not Char.IsDead(137@(48@,2i))
goto_if_false @MANSIO2_16395
Char.ClearLastWeaponDamage(137@(48@,2i))

:MANSIO2_16395
48@ += 1
  48@ >= 2
goto_if_false @MANSIO2_16366
48@ = 0

:MANSIO2_16423
if 
  not Car.IsDead(154@(48@,3i))
goto_if_false @MANSIO2_16452
Car.ClearLastWeaponDamage(154@(48@,3i))

:MANSIO2_16452
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_16423
gosub @MANSIO2_46556
gosub @MANSIO2_46828
if 
  268@ == 0
goto_if_false @MANSIO2_16758
if 
  267@ == 1
goto_if_false @MANSIO2_16758
switch_start 213@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_16724 {caseNum1} 1 {caseLabel1} @MANSIO2_16586 {caseNum2} 2 {caseLabel2} @MANSIO2_16609 {caseNum3} 3 {caseLabel3} @MANSIO2_16632 {caseNum4} 4 {caseLabel4} @MANSIO2_16655 {caseNum5} 5 {caseLabel5} @MANSIO2_16678 {caseNum6} 6 {caseLabel6} @MANSIO2_16701 {caseNum7} -1 {caseLabel7} @MANSIO2_16724

:MANSIO2_16586
Text.PrintNow('MAN2_47', 7000, 1)
goto @MANSIO2_16724

:MANSIO2_16609
Text.PrintNow('MAN2_49', 7000, 1)
goto @MANSIO2_16724

:MANSIO2_16632
Text.PrintNow('MAN2_40', 7000, 1)
goto @MANSIO2_16724

:MANSIO2_16655
Text.PrintNow('MAN2_41', 7000, 1)
goto @MANSIO2_16724

:MANSIO2_16678
Text.PrintNow('MAN2_42', 7000, 1)
goto @MANSIO2_16724

:MANSIO2_16701
Text.PrintNow('MAN2_43', 7000, 1)
goto @MANSIO2_16724

:MANSIO2_16724
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1161)
289@ = 1
268@ = 1

:MANSIO2_16758
if 
  267@ == 0
goto_if_false @MANSIO2_16843
50@ = World.GetNumberOfFiresInArea(-1471.0, 484.0, 0.0, -1246.0, 523.0, 40.0)
if 
  50@ > 0
goto_if_false @MANSIO2_16843
213@ = 6
267@ = 1

:MANSIO2_16843
if 
  238@ == 1
goto_if_false @MANSIO2_16955
if 
  296@ == 0
goto_if_false @MANSIO2_16955
if 
  Char.IsInArea3D($stattreadstamina_ctr, -1466.973, 488.6672, 7.1953, -1393.22, 521.52, 11.3953, False)
goto_if_false @MANSIO2_16955
Blip.Remove(165@)
Text.PrintNow('MAN2_25', 5000, 1)
296@ = 1

:MANSIO2_16955
if 
  297@ == 1
goto_if_false @MANSIO2_17010
if 
  not Char.IsInModel($stattreadstamina_ctr, 530)
goto_if_false @MANSIO2_17003
Audio.SetRadioChannel(RadioChannel.UserTracks)
297@ = 0

:MANSIO2_17003
goto @MANSIO2_17036

:MANSIO2_17010
if 
  Char.IsInModel($stattreadstamina_ctr, 530)
goto_if_false @MANSIO2_17036
297@ = 1

:MANSIO2_17036
if 
  35@ == 99
goto_if_false @MANSIO2_17061
gosub @MANSIO2_51214

:MANSIO2_17061
return 

:MANSIO2_17063
if 
  Car.IsDead(145@)
goto_if_false @MANSIO2_17095
37@ = 1
45@ = 4
return 

:MANSIO2_17095
if 
  35@ == 0
goto_if_false @MANSIO2_17926
50@ = 0
World.ClearArea(-1178.22, 2775.04, 40.0, 20.0, True)
149@(50@,4i) = Car.Create(454, -1178.22, 2775.04, 40.0)
Car.SetHealth(149@(50@,4i), 500)
Car.SetHeading(149@(50@,4i), 327.1833)
Boat.Anchor(149@(50@,4i), True)
Car.FreezePositionAndDontLoadCollision(149@(50@,4i), True)
169@(50@,4i) = Blip.AddForCar(149@(50@,4i))
Blip.ChangeColor(169@(50@,4i), BlipColor.Yellow)
252@(50@,4i) = 1
50@ += 1
World.ClearArea(-1168.919, 2795.99, 40.0, 20.0, True)
149@(50@,4i) = Car.Create(454, -1168.919, 2795.99, 40.0)
Car.SetHealth(149@(50@,4i), 500)
Car.SetHeading(149@(50@,4i), 171.1833)
Boat.Anchor(149@(50@,4i), True)
Car.FreezePositionAndDontLoadCollision(149@(50@,4i), True)
169@(50@,4i) = Blip.AddForCar(149@(50@,4i))
Blip.ChangeColor(169@(50@,4i), BlipColor.Yellow)
252@(50@,4i) = 1
50@ += 1
World.ClearArea(-930.1593, 2641.605, 40.0, 20.0, True)
149@(50@,4i) = Car.Create(454, -930.1593, 2641.605, 40.0)
Car.SetHealth(149@(50@,4i), 500)
Car.SetHeading(149@(50@,4i), 124.0961)
Boat.Anchor(149@(50@,4i), True)
Car.FreezePositionAndDontLoadCollision(149@(50@,4i), True)
169@(50@,4i) = Blip.AddForCar(149@(50@,4i))
Blip.ChangeColor(169@(50@,4i), BlipColor.Yellow)
252@(50@,4i) = 1
50@ += 1
World.ClearArea(-973.0267, 2484.021, 40.0, 20.0, True)
149@(50@,4i) = Car.Create(454, -973.0267, 2484.021, 40.0)
Car.SetHealth(149@(50@,4i), 500)
Car.SetHeading(149@(50@,4i), 171.8058)
Boat.Anchor(149@(50@,4i), True)
Car.FreezePositionAndDontLoadCollision(149@(50@,4i), True)
169@(50@,4i) = Blip.AddForCar(149@(50@,4i))
Blip.ChangeColor(169@(50@,4i), BlipColor.Yellow)
252@(50@,4i) = 1
247@ = 1
251@ = 0
256@ = 0
257@ = 0
290@ = 0
232@ = 0
233@ = 0
234@ = 0
235@ = 0
236@ = 0
236@ = 0
if 
  288@ == 0
goto_if_false @MANSIO2_17799
Audio.ReportMissionAudioEventAtObject(158@, 1128)
288@ = 1

:MANSIO2_17799
if 
  287@ == 0
goto_if_false @MANSIO2_17832
Audio.ReportMissionAudioEventAtObject(157@, 1128)
287@ = 1

:MANSIO2_17832
if 
  289@ == 1
goto_if_false @MANSIO2_17877
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1162)
289@ = 0

:MANSIO2_17877
50@ = Car.GetHealth(145@)
50@ += 1000
Car.SetHealth(145@, 50@)
81@ = 5
gosub @MANSIO2_48037
Hud.SetRadarZoom(0)
35@ += 1

:MANSIO2_17926
if 
  35@ == 1
goto_if_false @MANSIO2_18098
if 
  80@ <> 5
goto_if_false @MANSIO2_17976
81@ = 5
gosub @MANSIO2_48037

:MANSIO2_17976
if and
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, -1343.5, 504.1, 30.0, 250.0, 250.0, 200.0, False)
  80@ == 5
goto_if_false @MANSIO2_18098
if 
  Char.IsInCar($stattreadstamina_ctr, 145@)
goto_if_false @MANSIO2_18082
gosub @MANSIO2_48192
290@ = 1
Zone.SetDisableMilitaryZones(False)
35@ += 1
goto @MANSIO2_18098

:MANSIO2_18082
37@ = 1
45@ = 6
return 

:MANSIO2_18098
if 
  35@ == 2
goto_if_false @MANSIO2_18155
if 
  is_local_var_bit_set_const 85@ {n} 5
goto_if_false @MANSIO2_18155
81@ = 6
gosub @MANSIO2_48037
35@ += 1

:MANSIO2_18155
if 
  35@ == 3
goto_if_false @MANSIO2_18916
if 
  80@ <> 6
goto_if_false @MANSIO2_18205
81@ = 6
gosub @MANSIO2_48037

:MANSIO2_18205
if 
  80@ == 6
goto_if_false @MANSIO2_18916
73@ = 0
48@ = 0

:MANSIO2_18237
if 
  73@ == 0
goto_if_false @MANSIO2_18322
if 
  239@(48@,3i) == 0
goto_if_false @MANSIO2_18322
146@(48@,3i) = Car.Create(520, -1333.231, 507.6329, 17.2266)
239@(48@,3i) = 1
73@ = 1

:MANSIO2_18322
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_18237
50@ = 0
if 
  239@(50@,3i) == 1
goto_if_false @MANSIO2_18524
if 
  not Car.IsDead(146@(50@,3i))
goto_if_false @MANSIO2_18524
Car.SetCoordinates(146@(50@,3i), -1293.86, 481.91, 81.18)
Car.SetHeading(146@(50@,3i), 0.0)
Car.SetStatus(146@(50@,3i), EntityStatus.Physics)
Car.SetForwardSpeed(146@(50@,3i), 30.0)
Plane.SetThrottle(146@(50@,3i), 1.5)
Plane.StartsInAir(146@(50@,3i))
Plane.FollowEntity(146@(50@,3i), $stattreadstamina_ctr, -1, 70.0)
166@(50@,3i) = Blip.AddForCar(146@(50@,3i))
Blip.ChangeDisplay(166@(50@,3i), BlipDisplay.BlipOnly)

:MANSIO2_18524
50@ += 1
if 
  239@(50@,3i) == 1
goto_if_false @MANSIO2_18705
if 
  not Car.IsDead(146@(50@,3i))
goto_if_false @MANSIO2_18705
Car.SetCoordinates(146@(50@,3i), -1273.86, 481.91, 81.18)
Car.SetHeading(146@(50@,3i), 0.0)
Car.SetStatus(146@(50@,3i), EntityStatus.Physics)
Car.SetForwardSpeed(146@(50@,3i), 30.0)
Plane.SetThrottle(146@(50@,3i), 1.5)
Plane.StartsInAir(146@(50@,3i))
Plane.FollowEntity(146@(50@,3i), $stattreadstamina_ctr, -1, 70.0)
166@(50@,3i) = Blip.AddForCar(146@(50@,3i))
Blip.ChangeDisplay(166@(50@,3i), BlipDisplay.BlipOnly)

:MANSIO2_18705
50@ += 1
if 
  239@(50@,3i) == 1
goto_if_false @MANSIO2_18886
if 
  not Car.IsDead(146@(50@,3i))
goto_if_false @MANSIO2_18886
Car.SetCoordinates(146@(50@,3i), -1253.86, 481.91, 81.18)
Car.SetHeading(146@(50@,3i), 0.0)
Car.SetStatus(146@(50@,3i), EntityStatus.Physics)
Car.SetForwardSpeed(146@(50@,3i), 30.0)
Plane.SetThrottle(146@(50@,3i), 1.5)
Plane.StartsInAir(146@(50@,3i))
Plane.FollowEntity(146@(50@,3i), $stattreadstamina_ctr, -1, 70.0)
166@(50@,3i) = Blip.AddForCar(146@(50@,3i))
Blip.ChangeDisplay(166@(50@,3i), BlipDisplay.BlipOnly)

:MANSIO2_18886
251@ = 1
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1000
35@ += 1

:MANSIO2_18916
if 
  35@ == 4
goto_if_false @MANSIO2_19174
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_19174
50@ = -1
if 
  239@ == 1
goto_if_false @MANSIO2_19001
if 
  not Car.IsDead(146@)
goto_if_false @MANSIO2_19001
50@ = 0

:MANSIO2_19001
if 
  50@ == -1
goto_if_false @MANSIO2_19060
if 
  240@ == 1
goto_if_false @MANSIO2_19060
if 
  not Car.IsDead(147@)
goto_if_false @MANSIO2_19060
50@ = 1

:MANSIO2_19060
if 
  50@ <> -1
goto_if_false @MANSIO2_19160
Camera.SetFixedPosition(-1297.633, 489.9132, 74.9315, 0.0, 0.0, 0.0)
Camera.PointAtCar(146@(50@,3i), CameraMode.Fixed, SwitchType.JumpCut)
if 
  Char.IsInCar($stattreadstamina_ctr, 145@)
goto_if_false @MANSIO2_19149
Car.FreezePosition(145@, True)

:MANSIO2_19149
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)

:MANSIO2_19160
gosub @MANSIO2_48192
35@ += 1

:MANSIO2_19174
if 
  35@ == 5
goto_if_false @MANSIO2_19231
if 
  is_local_var_bit_set_const 85@ {n} 6
goto_if_false @MANSIO2_19231
81@ = 7
gosub @MANSIO2_48037
35@ += 1

:MANSIO2_19231
if 
  35@ == 6
goto_if_false @MANSIO2_19383
if 
  80@ <> 7
goto_if_false @MANSIO2_19281
81@ = 7
gosub @MANSIO2_48037

:MANSIO2_19281
if 
  80@ == 7
goto_if_false @MANSIO2_19383
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
if 
  Char.IsInCar($stattreadstamina_ctr, 145@)
goto_if_false @MANSIO2_19360
Car.FreezePosition(145@, False)
Car.SetForwardSpeed(145@, 30.0)
Plane.SetThrottle(145@, 1.0)

:MANSIO2_19360
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 500
35@ += 1

:MANSIO2_19383
if 
  35@ == 7
goto_if_false @MANSIO2_19434
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_19434
gosub @MANSIO2_48192
35@ += 1

:MANSIO2_19434
if 
  35@ == 8
goto_if_false @MANSIO2_19527
if 
  is_local_var_bit_set_const 85@ {n} 7
goto_if_false @MANSIO2_19527
Text.PrintHelpForever('MAN2_71')
232@ = 1
set_lvar_int_to_lvar_int 206@ = 46@
206@ += 15000
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 5000
35@ += 1

:MANSIO2_19527
if 
  35@ == 9
goto_if_false @MANSIO2_19761
if 
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_19761
50@ = 0
48@ = 0

:MANSIO2_19578
if 
  239@(48@,3i) == 1
goto_if_false @MANSIO2_19658
if 
  not Car.IsDead(146@(48@,3i))
goto_if_false @MANSIO2_19658
Plane.SetThrottle(146@(48@,3i), 0.5)
Plane.AttackPlayerUsingDogFight(146@(48@,3i), $statbike_temp, 30.0)
50@ += 1

:MANSIO2_19658
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_19578
if 
  50@ > 0
goto_if_false @MANSIO2_19754
if 
  50@ == 1
goto_if_false @MANSIO2_19738
Text.PrintNow('MAN2_36', 7000, 1)
goto @MANSIO2_19754

:MANSIO2_19738
Text.PrintNow('MAN2_35', 7000, 1)

:MANSIO2_19754
35@ += 1

:MANSIO2_19761
if 
  35@ == 10
goto_if_false @MANSIO2_19811
if and
  256@ == 1
  257@ == 1
goto_if_false @MANSIO2_19811
35@ = 99

:MANSIO2_19811
73@ = 0
50@ = 0
48@ = 0

:MANSIO2_19832
if 
  252@(48@,4i) == 1
goto_if_false @MANSIO2_19915
if 
  Car.IsDead(149@(48@,4i))
goto_if_false @MANSIO2_19908
252@(48@,4i) = 0
Blip.Remove(169@(48@,4i))
73@ = 1
goto @MANSIO2_19915

:MANSIO2_19908
50@ += 1

:MANSIO2_19915
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_19832
if 
  73@ == 1
goto_if_false @MANSIO2_20115
if 
  50@ > 0
goto_if_false @MANSIO2_20042
if 
  50@ == 1
goto_if_false @MANSIO2_20016
Text.PrintWithNumberNow('MAN2_30', 50@, 5000, 1)
goto @MANSIO2_20035

:MANSIO2_20016
Text.PrintWithNumberNow('MAN2_29', 50@, 5000, 1)

:MANSIO2_20035
goto @MANSIO2_20076

:MANSIO2_20042
if 
  257@ == 0
goto_if_false @MANSIO2_20076
Text.PrintNow('MAN2_44', 5000, 1)

:MANSIO2_20076
if 
  235@ == 0
goto_if_false @MANSIO2_20115
235@ = 1
236@ = 1
236@ = 1

:MANSIO2_20115
256@ = 1
48@ = 0

:MANSIO2_20129
if 
  252@(48@,4i) == 1
goto_if_false @MANSIO2_20158
256@ = 0

:MANSIO2_20158
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_20129
73@ = 0
50@ = 0
48@ = 0

:MANSIO2_20200
if 
  239@(48@,3i) == 1
goto_if_false @MANSIO2_20310
if 
  Car.IsDead(146@(48@,3i))
goto_if_false @MANSIO2_20303
239@(48@,3i) = 0
Car.MarkAsNoLongerNeeded(146@(48@,3i))
Blip.Remove(166@(48@,3i))
if 
  251@ == 1
goto_if_false @MANSIO2_20296
73@ = 1

:MANSIO2_20296
goto @MANSIO2_20310

:MANSIO2_20303
50@ += 1

:MANSIO2_20310
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_20200
if 
  73@ == 1
goto_if_false @MANSIO2_20441
if 
  50@ > 0
goto_if_false @MANSIO2_20393
Text.PrintWithNumberNow('MAN2_27', 50@, 5000, 1)
goto @MANSIO2_20441

:MANSIO2_20393
257@ = 1
if 
  256@ == 0
goto_if_false @MANSIO2_20441
Text.PrintNow('MAN2_28', 5000, 1)
234@ = 1

:MANSIO2_20441
if 
  247@ == 1
goto_if_false @MANSIO2_20617
if and
  Object.Slide(158@, -1414.453, 516.453, 16.688, 0.05, 0.05, 0.05, False)
  Object.Slide(157@, -1456.719, 501.297, 16.953, 0.05, 0.05, 0.05, False)
goto_if_false @MANSIO2_20617
247@ = 0
if 
  288@ == 1
goto_if_false @MANSIO2_20584
Audio.ReportMissionAudioEventAtObject(158@, 1129)
288@ = 0

:MANSIO2_20584
if 
  287@ == 1
goto_if_false @MANSIO2_20617
Audio.ReportMissionAudioEventAtObject(157@, 1129)
287@ = 0

:MANSIO2_20617
if 
  not Char.IsInCar($stattreadstamina_ctr, 145@)
goto_if_false @MANSIO2_20872
if 
  not Blip.DoesExist(179@)
goto_if_false @MANSIO2_20690
Text.PrintNow('MAN2_37', 5000, 1)
179@ = Blip.AddForCar(145@)
Blip.SetAsFriendly(179@, True)
goto @MANSIO2_20865

:MANSIO2_20690
if 
  290@ == 0
goto_if_false @MANSIO2_20865
73@ = 0
48@ = 0

:MANSIO2_20722
if 
  239@(48@,3i) == 1
goto_if_false @MANSIO2_20844
if 
  73@ == 0
goto_if_false @MANSIO2_20844
if 
  not Car.IsDead(146@(48@,3i))
goto_if_false @MANSIO2_20844
if 
  Char.IsInCar($stattreadstamina_ctr, 146@(48@,3i))
goto_if_false @MANSIO2_20844
set_var_int_to_lvar_int $stealth_help_flag = 146@(48@,3i)
set_lvar_int_to_lvar_int 146@(48@,3i) = 145@
set_lvar_int_to_var_int 145@ = $stealth_help_flag
73@ = 1

:MANSIO2_20844
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_20722

:MANSIO2_20865
goto @MANSIO2_20904

:MANSIO2_20872
if 
  Blip.DoesExist(179@)
goto_if_false @MANSIO2_20904
Blip.Remove(179@)
Text.ClearThisPrint('MAN2_37')

:MANSIO2_20904
if 
  231@ == 0
goto_if_false @MANSIO2_20977
if 
  is_int_lvar_greater_than_int_lvar 46@ > 206@
goto_if_false @MANSIO2_20977
Text.ClearHelp
Text.PrintHelpForever('MAN2_99')
231@ = 1
set_lvar_int_to_lvar_int 206@ = 46@
206@ += 10000

:MANSIO2_20977
if and
  231@ == 1
  232@ == 0
goto_if_false @MANSIO2_21048
if 
  206@ <> 0
goto_if_false @MANSIO2_21048
if 
  is_int_lvar_greater_than_int_lvar 46@ > 206@
goto_if_false @MANSIO2_21048
206@ = 0
Text.ClearHelp

:MANSIO2_21048
if 
  232@ == 1
goto_if_false @MANSIO2_21139
if 
  233@ == 0
goto_if_false @MANSIO2_21139
if 
  is_int_lvar_greater_than_int_lvar 46@ > 206@
goto_if_false @MANSIO2_21139
Text.ClearHelp
Text.PrintHelpForever('MAN2_98')
233@ = 1
set_lvar_int_to_lvar_int 206@ = 46@
206@ += 10000

:MANSIO2_21139
if 
  233@ == 1
goto_if_false @MANSIO2_21203
if 
  206@ <> 0
goto_if_false @MANSIO2_21203
if 
  is_int_lvar_greater_than_int_lvar 46@ > 206@
goto_if_false @MANSIO2_21203
206@ = 0
Text.ClearHelp

:MANSIO2_21203
if 
  234@ == 1
goto_if_false @MANSIO2_21705
if 
  235@ == 0
goto_if_false @MANSIO2_21459
if and
  233@ == 1
  206@ == 0
goto_if_false @MANSIO2_21459
if 
  Char.IsInCar($stattreadstamina_ctr, 145@)
goto_if_false @MANSIO2_21459
73@ = 0
48@ = 0

:MANSIO2_21297
if 
  73@ == 0
goto_if_false @MANSIO2_21384
if 
  252@(48@,4i) == 1
goto_if_false @MANSIO2_21384
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 149@(48@,4i), 300.0, 300.0, 300.0, False)
goto_if_false @MANSIO2_21384
73@ = 1

:MANSIO2_21384
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_21297
if 
  73@ == 1
goto_if_false @MANSIO2_21459
Text.ClearHelp
Text.PrintHelpForever('HYDHLP1')
235@ = 1
set_lvar_int_to_lvar_int 206@ = 46@
206@ += 10000

:MANSIO2_21459
if 
  235@ == 1
goto_if_false @MANSIO2_21550
if 
  236@ == 0
goto_if_false @MANSIO2_21550
if 
  is_int_lvar_greater_than_int_lvar 46@ > 206@
goto_if_false @MANSIO2_21550
Text.ClearHelp
Text.PrintHelpForever('HYDHLP2')
236@ = 1
set_lvar_int_to_lvar_int 206@ = 46@
206@ += 10000

:MANSIO2_21550
if 
  236@ == 1
goto_if_false @MANSIO2_21641
if 
  237@ == 0
goto_if_false @MANSIO2_21641
if 
  is_int_lvar_greater_than_int_lvar 46@ > 206@
goto_if_false @MANSIO2_21641
Text.ClearHelp
Text.PrintHelpForever('HYDHLP3')
237@ = 1
set_lvar_int_to_lvar_int 206@ = 46@
206@ += 10000

:MANSIO2_21641
if 
  237@ == 1
goto_if_false @MANSIO2_21705
if 
  206@ <> 0
goto_if_false @MANSIO2_21705
if 
  is_int_lvar_greater_than_int_lvar 46@ > 206@
goto_if_false @MANSIO2_21705
206@ = 0
Text.ClearHelp

:MANSIO2_21705
if 
  35@ == 99
goto_if_false @MANSIO2_21730
gosub @MANSIO2_51214

:MANSIO2_21730
return 

:MANSIO2_21732
if 
  Car.IsDead(145@)
goto_if_false @MANSIO2_21764
37@ = 1
45@ = 4
return 

:MANSIO2_21764
if 
  35@ == 0
goto_if_false @MANSIO2_22022
214@ = -76.4228
215@ = 2478.64
216@ = 14.2844
217@ = 433.6483
218@ = 2525.658
219@ = 18.6279
set_lvar_float_to_lvar_float 220@ = 217@
sub_float_lvar_from_float_lvar 220@ -= 214@
220@ /= 2.0
add_float_lvar_to_float_lvar 220@ += 214@
set_lvar_float_to_lvar_float 221@ = 218@
sub_float_lvar_from_float_lvar 221@ -= 215@
221@ /= 2.0
add_float_lvar_to_float_lvar 221@ += 215@
set_lvar_float_to_lvar_float 222@ = 219@
sub_float_lvar_from_float_lvar 222@ -= 216@
222@ /= 2.0
add_float_lvar_to_float_lvar 222@ += 216@
165@ = Blip.AddForCoord(220@, 221@, 222@)
81@ = 8
gosub @MANSIO2_48037
set_lvar_int_to_lvar_int 194@ = 46@
194@ += 1000
266@ = 0
Streaming.RequestModel(359)
Streaming.RequestModel(360)
Streaming.RequestModel(362)
Streaming.RequestModel(361)
35@ += 1

:MANSIO2_22022
if 
  35@ == 1
goto_if_false @MANSIO2_22112
if 
  80@ <> 8
goto_if_false @MANSIO2_22072
81@ = 8
gosub @MANSIO2_48037

:MANSIO2_22072
if and
  80@ == 8
  is_int_lvar_greater_than_int_lvar 46@ > 194@
goto_if_false @MANSIO2_22112
gosub @MANSIO2_48192
35@ += 1

:MANSIO2_22112
if 
  35@ == 2
goto_if_false @MANSIO2_22171
if 
  is_local_var_bit_set_const 85@ {n} 8
goto_if_false @MANSIO2_22171
Text.PrintNow('MAN2_26', 10000, 1)
35@ += 1

:MANSIO2_22171
if 
  35@ == 3
goto_if_false @MANSIO2_22420
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 220@, 221@, 222@, 10.0, 10.0, 10.0, True)
if and
  Char.IsInArea3D($stattreadstamina_ctr, 214@, 215@, 216@, 217@, 218@, 219@, False)
  Char.IsInCar($stattreadstamina_ctr, 145@)
goto_if_false @MANSIO2_22304
if and
  Car.IsStopped(145@)
  not Car.IsInAirProper(145@)
goto_if_false @MANSIO2_22297
Blip.Remove(165@)
35@ += 1

:MANSIO2_22297
goto @MANSIO2_22420

:MANSIO2_22304
set_lvar_float_to_lvar_float 70@ = 219@
70@ += 20.0
if and
  Char.IsInArea3D($stattreadstamina_ctr, 214@, 215@, 216@, 217@, 218@, 70@, False)
  Char.IsInCar($stattreadstamina_ctr, 145@)
  266@ == 0
goto_if_false @MANSIO2_22420
71@ = Plane.GetUndercarriagePosition(145@)
if 
  71@ > 0.1
goto_if_false @MANSIO2_22420
Text.PrintHelp('MAN2_72')
266@ = 1

:MANSIO2_22420
if 
  35@ == 4
goto_if_false @MANSIO2_22505
220@ = 291.3149
221@ = 2535.249
222@ = 15.8205
165@ = Blip.AddForCoord(220@, 221@, 222@)
Text.PrintNow('MAN2_33', 5000, 1)
35@ += 1

:MANSIO2_22505
if 
  35@ == 5
goto_if_false @MANSIO2_22612
if 
  Char.IsInCar($stattreadstamina_ctr, 145@)
goto_if_false @MANSIO2_22612
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 220@, 221@, 222@, 10.0, 10.0, 10.0, True)
goto_if_false @MANSIO2_22612
if 
  Car.IsStopped(145@)
goto_if_false @MANSIO2_22612
Blip.Remove(165@)
35@ = 99

:MANSIO2_22612
if 
  35@ == 99
goto_if_false @MANSIO2_22637
gosub @MANSIO2_51214

:MANSIO2_22637
return 

:MANSIO2_22639
285@ = 0
if 
  284@ == 1
goto_if_false @MANSIO2_22666
return 

:MANSIO2_22666
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @MANSIO2_22721
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.PistolSilenced)
goto_if_false @MANSIO2_22714
285@ = 1
goto @MANSIO2_22721

:MANSIO2_22714
284@ = 1

:MANSIO2_22721
return 

:MANSIO2_22723
52@ = 0

:MANSIO2_22730
if and
  183@(52@,6i) <> -1
  183@(52@,6i) <> -2
goto_if_false @MANSIO2_22810
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_22810
183@(52@,6i) = -2
Blip.Remove(173@(52@,6i))
gosub @MANSIO2_25486

:MANSIO2_22810
52@ += 1
  52@ >= 6
goto_if_false @MANSIO2_22730
52@ = 0

:MANSIO2_22838
if 
  269@(52@,6i) == 1
goto_if_false @MANSIO2_22867
gosub @MANSIO2_23571

:MANSIO2_22867
switch_start 183@(52@,6i) {numCases} 30 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_23521 {caseNum1} -2 {caseLabel1} @MANSIO2_23129 {caseNum2} -1 {caseLabel2} @MANSIO2_23129 {caseNum3} 0 {caseLabel3} @MANSIO2_23136 {caseNum4} 1 {caseLabel4} @MANSIO2_23150 {caseNum5} 2 {caseLabel5} @MANSIO2_23164 {caseNum6} 3 {caseLabel6} @MANSIO2_23178 {caseNum7} 4 {caseLabel7} @MANSIO2_23192
switch_continued 5 {caseLabel1} @MANSIO2_23206 {caseNum2} 6 {caseLabel2} @MANSIO2_23220 {caseNum3} 7 {caseLabel3} @MANSIO2_23234 {caseNum4} 8 {caseLabel4} @MANSIO2_23248 {caseNum5} 9 {caseLabel5} @MANSIO2_23262 {caseNum6} 10 {caseLabel6} @MANSIO2_23276 {caseNum7} 11 {caseLabel7} @MANSIO2_23290 {caseNum8} 12 {caseLabel8} @MANSIO2_23304 {caseNum9} 13 {caseLabel9} @MANSIO2_23318
switch_continued 14 {caseLabel1} @MANSIO2_23332 {caseNum2} 15 {caseLabel2} @MANSIO2_23346 {caseNum3} 16 {caseLabel3} @MANSIO2_23360 {caseNum4} 17 {caseLabel4} @MANSIO2_23374 {caseNum5} 18 {caseLabel5} @MANSIO2_23388 {caseNum6} 19 {caseLabel6} @MANSIO2_23402 {caseNum7} 20 {caseLabel7} @MANSIO2_23416 {caseNum8} 21 {caseLabel8} @MANSIO2_23430 {caseNum9} 22 {caseLabel9} @MANSIO2_23444
switch_continued 23 {caseLabel1} @MANSIO2_23458 {caseNum2} 24 {caseLabel2} @MANSIO2_23472 {caseNum3} 25 {caseLabel3} @MANSIO2_23486 {caseNum4} 26 {caseLabel4} @MANSIO2_23500 {caseNum5} 27 {caseLabel5} @MANSIO2_23514 {caseNum6} -1 {caseLabel6} @MANSIO2_23548 {caseNum7} -1 {caseLabel7} @MANSIO2_23548 {caseNum8} -1 {caseLabel8} @MANSIO2_23548 {caseNum9} -1 {caseLabel9} @MANSIO2_23548

:MANSIO2_23129
goto @MANSIO2_23548

:MANSIO2_23136
gosub @MANSIO2_26049
goto @MANSIO2_23548

:MANSIO2_23150
gosub @MANSIO2_26125
goto @MANSIO2_23548

:MANSIO2_23164
gosub @MANSIO2_26286
goto @MANSIO2_23548

:MANSIO2_23178
gosub @MANSIO2_26355
goto @MANSIO2_23548

:MANSIO2_23192
gosub @MANSIO2_26576
goto @MANSIO2_23548

:MANSIO2_23206
gosub @MANSIO2_27119
goto @MANSIO2_23548

:MANSIO2_23220
gosub @MANSIO2_27615
goto @MANSIO2_23548

:MANSIO2_23234
gosub @MANSIO2_27941
goto @MANSIO2_23548

:MANSIO2_23248
gosub @MANSIO2_28286
goto @MANSIO2_23548

:MANSIO2_23262
gosub @MANSIO2_28489
goto @MANSIO2_23548

:MANSIO2_23276
gosub @MANSIO2_28643
goto @MANSIO2_23548

:MANSIO2_23290
gosub @MANSIO2_28864
goto @MANSIO2_23548

:MANSIO2_23304
gosub @MANSIO2_29104
goto @MANSIO2_23548

:MANSIO2_23318
gosub @MANSIO2_29727
goto @MANSIO2_23548

:MANSIO2_23332
gosub @MANSIO2_29785
goto @MANSIO2_23548

:MANSIO2_23346
gosub @MANSIO2_29849
goto @MANSIO2_23548

:MANSIO2_23360
gosub @MANSIO2_30040
goto @MANSIO2_23548

:MANSIO2_23374
gosub @MANSIO2_30471
goto @MANSIO2_23548

:MANSIO2_23388
gosub @MANSIO2_30635
goto @MANSIO2_23548

:MANSIO2_23402
gosub @MANSIO2_30865
goto @MANSIO2_23548

:MANSIO2_23416
gosub @MANSIO2_31260
goto @MANSIO2_23548

:MANSIO2_23430
gosub @MANSIO2_31960
goto @MANSIO2_23548

:MANSIO2_23444
gosub @MANSIO2_32057
goto @MANSIO2_23548

:MANSIO2_23458
gosub @MANSIO2_32189
goto @MANSIO2_23548

:MANSIO2_23472
gosub @MANSIO2_32269
goto @MANSIO2_23548

:MANSIO2_23486
gosub @MANSIO2_32468
goto @MANSIO2_23548

:MANSIO2_23500
gosub @MANSIO2_32749
goto @MANSIO2_23548

:MANSIO2_23514
goto @MANSIO2_23548

:MANSIO2_23521
write_debug "UNKNOWN_GUARD_AI_ACTION"

:MANSIO2_23548
52@ += 1
  52@ >= 6
goto_if_false @MANSIO2_22838
return 

:MANSIO2_23571
if 
  267@ == 1
goto_if_false @MANSIO2_23667
if 
  275@(52@,6i) == 0
goto_if_false @MANSIO2_23665
183@(52@,6i) = 19
275@(52@,6i) = 1
if 
  not Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_23665
Char.SetDecisionMaker(131@(52@,6i), 182@)

:MANSIO2_23665
return 

:MANSIO2_23667
if 
  275@(52@,6i) == 0
goto_if_false @MANSIO2_23828
if 
  not Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_23828
if 
  Char.HasSpottedCharInFront(131@(52@,6i), $stattreadstamina_ctr)
goto_if_false @MANSIO2_23828
57@, 58@, 59@ = Char.GetCoordinates(131@(52@,6i))
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
72@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 60@, 61@, 62@)
if 
  15.0 > 72@
goto_if_false @MANSIO2_23828
183@(52@,6i) = 23
gosub @MANSIO2_24878
return 

:MANSIO2_23828
if 
  275@(52@,6i) == 0
goto_if_false @MANSIO2_23937
if 
  not Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_23937
if or
  Char.CanSeeDeadChar(131@(52@,6i), PedType.Mission2)
  Char.CanSeeDeadChar(131@(52@,6i), PedType.Mission1)
goto_if_false @MANSIO2_23937
267@ = 1
if 
  213@ == 0
goto_if_false @MANSIO2_23935
213@ = 5

:MANSIO2_23935
return 

:MANSIO2_23937
if 
  275@(52@,6i) == 0
goto_if_false @MANSIO2_24207
if 
  not Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_24207
if 
  284@ == 1
goto_if_false @MANSIO2_24031
267@ = 1
if 
  213@ == 0
goto_if_false @MANSIO2_24029
213@ = 3

:MANSIO2_24029
return 

:MANSIO2_24031
if 
  285@ == 1
goto_if_false @MANSIO2_24207
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
60@, 61@, 62@ = Char.GetCoordinates(131@(52@,6i))
70@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  12.0 > 70@
goto_if_false @MANSIO2_24207
set_lvar_float_to_lvar_float 71@ = 59@
sub_float_lvar_from_float_lvar 71@ -= 62@
if 
  0.0 > 71@
goto_if_false @MANSIO2_24166
71@ *= -1.0

:MANSIO2_24166
if 
  5.0 > 71@
goto_if_false @MANSIO2_24207
183@(52@,6i) = 23
gosub @MANSIO2_24878
return 

:MANSIO2_24207
if 
  275@(52@,6i) == 0
goto_if_false @MANSIO2_24303
if 
  not Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_24303
if or
  Char.HasBeenDamagedByChar(131@(52@,6i), $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(131@(52@,6i), WeaponType.PistolSilenced)
goto_if_false @MANSIO2_24303
183@(52@,6i) = 23
gosub @MANSIO2_24878
return 

:MANSIO2_24303
return 

:MANSIO2_24305
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_24327
return 

:MANSIO2_24327
73@ = 0
if 
  Char.HasSpottedCharInFront(131@(52@,6i), $stattreadstamina_ctr)
goto_if_false @MANSIO2_24364
73@ = 1

:MANSIO2_24364
if 
  73@ == 0
goto_if_false @MANSIO2_24545
if 
  284@ == 1
goto_if_false @MANSIO2_24545
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
60@, 61@, 62@ = Char.GetCoordinates(131@(52@,6i))
70@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  75.0 > 70@
goto_if_false @MANSIO2_24545
set_lvar_float_to_lvar_float 71@ = 59@
sub_float_lvar_from_float_lvar 71@ -= 62@
if 
  0.0 > 71@
goto_if_false @MANSIO2_24517
71@ *= -1.0

:MANSIO2_24517
if 
  5.0 > 71@
goto_if_false @MANSIO2_24545
73@ = 1

:MANSIO2_24545
if 
  73@ == 0
goto_if_false @MANSIO2_24726
if 
  285@ == 1
goto_if_false @MANSIO2_24726
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
60@, 61@, 62@ = Char.GetCoordinates(131@(52@,6i))
70@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  12.0 > 70@
goto_if_false @MANSIO2_24726
set_lvar_float_to_lvar_float 71@ = 59@
sub_float_lvar_from_float_lvar 71@ -= 62@
if 
  0.0 > 71@
goto_if_false @MANSIO2_24698
71@ *= -1.0

:MANSIO2_24698
if 
  5.0 > 71@
goto_if_false @MANSIO2_24726
73@ = 1

:MANSIO2_24726
if 
  73@ == 0
goto_if_false @MANSIO2_24785
if or
  Char.HasBeenDamagedByChar(131@(52@,6i), $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(131@(52@,6i), WeaponType.PistolSilenced)
goto_if_false @MANSIO2_24785
73@ = 1

:MANSIO2_24785
if 
  73@ == 1
goto_if_false @MANSIO2_24876
if and
  183@(52@,6i) <> 23
  183@(52@,6i) <> 26
  183@(52@,6i) <> 24
  183@(52@,6i) <> 25
goto_if_false @MANSIO2_24869
183@(52@,6i) = 23

:MANSIO2_24869
gosub @MANSIO2_24878

:MANSIO2_24876
return 

:MANSIO2_24878
if 
  not Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_24923
57@, 58@, 59@ = Char.GetCoordinates(131@(52@,6i))
goto @MANSIO2_24941

:MANSIO2_24923
57@, 58@, 59@ = Char.GetCoordinatesOfDied(131@(52@,6i))

:MANSIO2_24941
48@ = 0

:MANSIO2_24948
if and
  not Char.IsDead(131@(48@,6i))
  not is_int_lvar_equal_to_int_lvar 52@ == 48@
goto_if_false @MANSIO2_25188
60@, 61@, 62@ = Char.GetCoordinates(131@(48@,6i))
72@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  20.0 > 72@
goto_if_false @MANSIO2_25188
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if 
  0.0 > 70@
goto_if_false @MANSIO2_25079
70@ *= -1.0

:MANSIO2_25079
if 
  6.0 > 70@
goto_if_false @MANSIO2_25188
if 
  269@(48@,6i) == 1
goto_if_false @MANSIO2_25188
if and
  183@(48@,6i) <> 23
  183@(48@,6i) <> 26
  183@(48@,6i) <> 24
  183@(48@,6i) <> 25
goto_if_false @MANSIO2_25188
183@(48@,6i) = 23

:MANSIO2_25188
48@ += 1
  48@ >= 6
goto_if_false @MANSIO2_24948
48@ = 0

:MANSIO2_25216
if 
  not Char.IsDead(137@(48@,2i))
goto_if_false @MANSIO2_25463
60@, 61@, 62@ = Char.GetCoordinates(137@(48@,2i))
72@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  20.0 > 72@
goto_if_false @MANSIO2_25463
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if 
  0.0 > 70@
goto_if_false @MANSIO2_25339
70@ *= -1.0

:MANSIO2_25339
if 
  6.0 > 70@
goto_if_false @MANSIO2_25463
if 
  267@ == 0
goto_if_false @MANSIO2_25463
if 
  281@(48@,2i) == 0
goto_if_false @MANSIO2_25456
189@(48@,2i) = 12
if 
  213@ <> 1
goto_if_false @MANSIO2_25445
Text.PrintNow('MAN2_45', 7000, 1)

:MANSIO2_25445
281@(48@,2i) = 1

:MANSIO2_25456
goto @MANSIO2_25463

:MANSIO2_25463
48@ += 1
  48@ >= 2
goto_if_false @MANSIO2_25216
return 

:MANSIO2_25486
57@, 58@, 59@ = Char.GetCoordinatesOfDied(131@(52@,6i))
48@ = 0

:MANSIO2_25511
if and
  not Char.IsDead(131@(48@,6i))
  not is_int_lvar_equal_to_int_lvar 52@ == 48@
goto_if_false @MANSIO2_25751
60@, 61@, 62@ = Char.GetCoordinates(131@(48@,6i))
72@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  10.0 > 72@
goto_if_false @MANSIO2_25751
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if 
  0.0 > 70@
goto_if_false @MANSIO2_25642
70@ *= -1.0

:MANSIO2_25642
if 
  6.0 > 70@
goto_if_false @MANSIO2_25751
if 
  269@(48@,6i) == 1
goto_if_false @MANSIO2_25751
if and
  183@(48@,6i) <> 23
  183@(48@,6i) <> 26
  183@(48@,6i) <> 24
  183@(48@,6i) <> 25
goto_if_false @MANSIO2_25751
183@(48@,6i) = 23

:MANSIO2_25751
48@ += 1
  48@ >= 6
goto_if_false @MANSIO2_25511
48@ = 0

:MANSIO2_25779
if 
  not Char.IsDead(137@(48@,2i))
goto_if_false @MANSIO2_26026
60@, 61@, 62@ = Char.GetCoordinates(137@(48@,2i))
72@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  10.0 > 72@
goto_if_false @MANSIO2_26026
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if 
  0.0 > 70@
goto_if_false @MANSIO2_25902
70@ *= -1.0

:MANSIO2_25902
if 
  6.0 > 70@
goto_if_false @MANSIO2_26026
if 
  267@ == 0
goto_if_false @MANSIO2_26026
if 
  281@(48@,2i) == 0
goto_if_false @MANSIO2_26019
189@(48@,2i) = 12
if 
  213@ <> 1
goto_if_false @MANSIO2_26008
Text.PrintNow('MAN2_45', 7000, 1)

:MANSIO2_26008
281@(48@,2i) = 1

:MANSIO2_26019
goto @MANSIO2_26026

:MANSIO2_26026
48@ += 1
  48@ >= 2
goto_if_false @MANSIO2_25779
return 

:MANSIO2_26049
if 
  Car.IsDead(153@)
goto_if_false @MANSIO2_26067
return 

:MANSIO2_26067
Boat.Anchor(153@, False)
Task.CarDriveToCoord(131@(52@,6i), 153@, -1493.44, 506.8398, 0.0, 20.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
183@(52@,6i) = 1
return 

:MANSIO2_26125
if 
  Car.IsDead(153@)
goto_if_false @MANSIO2_26143
return 

:MANSIO2_26143
if 
  not Car.Locate3D(153@, -1493.44, 506.8398, 0.0, 10.0, 15.0, 5.0, False)
goto_if_false @MANSIO2_26273
40@ = Char.GetScriptTaskStatus(131@(52@,6i), 1489)
if or
  is_int_lvar_equal_to_constant 40@ == 1
  is_int_lvar_equal_to_constant 40@ == 0
goto_if_false @MANSIO2_26233
return 

:MANSIO2_26233
Task.CarDriveToCoord(131@(52@,6i), 153@, -1493.44, 506.8398, 0.0, 25.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
return 

:MANSIO2_26273
183@(52@,6i) = 2
return 

:MANSIO2_26286
if 
  Car.IsDead(153@)
goto_if_false @MANSIO2_26304
return 

:MANSIO2_26304
Task.CarDriveToCoord(131@(52@,6i), 153@, -1446.218, 493.9281, 0.0, 10.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
183@(52@,6i) = 3
return 

:MANSIO2_26355
if 
  Car.IsDead(153@)
goto_if_false @MANSIO2_26373
return 

:MANSIO2_26373
if 
  not Car.Locate3D(153@, -1446.218, 493.9281, 0.0, 3.0, 6.0, 5.0, False)
goto_if_false @MANSIO2_26503
40@ = Char.GetScriptTaskStatus(131@(52@,6i), 1489)
if or
  is_int_lvar_equal_to_constant 40@ == 1
  is_int_lvar_equal_to_constant 40@ == 0
goto_if_false @MANSIO2_26463
return 

:MANSIO2_26463
Task.CarDriveToCoord(131@(52@,6i), 153@, -1446.218, 493.9281, 0.0, 10.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)
return 

:MANSIO2_26503
Car.SetCoordinates(153@, -1446.218, 491.9281, 0.0)
Car.SetHeading(153@, 270.0)
Boat.Anchor(153@, True)
195@ = 60
195@ *= 1000
add_int_lvar_to_int_lvar 195@ += 46@
183@(52@,6i) = 4
return 

:MANSIO2_26576
50@ = 0
if 
  183@(50@,6i) <> -2
goto_if_false @MANSIO2_26616
183@(50@,6i) = 5

:MANSIO2_26616
50@ = 1
if 
  183@(50@,6i) <> -2
goto_if_false @MANSIO2_26656
183@(50@,6i) = 5

:MANSIO2_26656
50@ = 2
if 
  183@(50@,6i) <> -2
goto_if_false @MANSIO2_26696
183@(50@,6i) = 5

:MANSIO2_26696
50@ = 5
131@(50@,6i) = Char.Create(PedType.Mission2, 287, -1401.786, 504.5374, 17.2266)
Char.SetHeading(131@(50@,6i), 43.9825)
Char.GiveWeapon(131@(50@,6i), WeaponType.M4, 300)
Char.SetCurrentWeapon(131@(50@,6i), WeaponType.M4)
Char.SetAccuracy(131@(50@,6i), 70)
Char.SetShootRate(131@(50@,6i), 70)
Char.SetDecisionMaker(131@(50@,6i), 181@)
Char.SetIsTargetPriority(131@(50@,6i), True)
50@ = 1
137@(50@,2i) = Char.Create(PedType.Mission1, 50, -1421.757, 496.6105, 2.0463)
189@(50@,2i) = 0
50@ = 0
137@(50@,2i) = Char.Create(PedType.Mission1, 50, -1346.219, 497.9554, 10.1953)
189@(50@,2i) = 0
50@ = 0
154@(50@,3i) = Car.Create(530, -1415.933, 502.7617, 2.0391)
Car.SetHeading(154@(50@,3i), 250.5131)
50@ = 1
154@(50@,3i) = Car.Create(530, -1312.89, 503.5017, 10.1953)
Car.SetHeading(154@(50@,3i), 265.6291)
50@ = 2
154@(50@,3i) = Car.Create(530, -1405.751, 495.4972, 10.2026)
Car.SetHeading(154@(50@,3i), 81.1713)
160@ = Object.Create(#MISSILE_07_SFXR, -1312.89, 503.5017, 10.1953)
Object.AttachToCar(160@, 154@(50@,3i), 0.0, 0.4, 1.5, 0.0, 90.0, 90.0)
return 

:MANSIO2_27119
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_27141
return 

:MANSIO2_27141
switch_start 52@ {numCases} 6 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_27504 {caseNum1} 0 {caseLabel1} @MANSIO2_27204 {caseNum2} 1 {caseLabel2} @MANSIO2_27280 {caseNum3} 2 {caseLabel3} @MANSIO2_27365 {caseNum4} 3 {caseLabel4} @MANSIO2_27450 {caseNum5} 4 {caseLabel5} @MANSIO2_27486 {caseNum6} 5 {caseLabel6} @MANSIO2_27468 {caseNum7} -1 {caseLabel7} @MANSIO2_27536

:MANSIO2_27204
Char.ClearTasksImmediately(131@(52@,6i))
Char.SetCoordinates(131@(52@,6i), -1423.138, 493.9279, 2.0391)
Char.SetHeading(131@(52@,6i), 355.6815)
183@(52@,6i) = 27
269@(52@,6i) = 1
goto @MANSIO2_27536

:MANSIO2_27280
Char.DetachFromCar(131@(52@,6i))
Char.ClearTasksImmediately(131@(52@,6i))
Char.SetCoordinates(131@(52@,6i), -1394.477, 500.653, 2.0463)
Char.SetHeading(131@(52@,6i), 214.6545)
183@(52@,6i) = 27
269@(52@,6i) = 1
goto @MANSIO2_27536

:MANSIO2_27365
Char.DetachFromCar(131@(52@,6i))
Char.ClearTasksImmediately(131@(52@,6i))
Char.SetCoordinates(131@(52@,6i), -1396.397, 500.5882, 2.0391)
Char.SetHeading(131@(52@,6i), 233.6078)
183@(52@,6i) = 27
269@(52@,6i) = 1
goto @MANSIO2_27536

:MANSIO2_27450
183@(52@,6i) = 14
goto @MANSIO2_27536

:MANSIO2_27468
183@(52@,6i) = 6
goto @MANSIO2_27536

:MANSIO2_27486
183@(52@,6i) = 14
goto @MANSIO2_27536

:MANSIO2_27504
write_debug "UNKNOWN_GUARD_FOR_ACTIVATION"

:MANSIO2_27536
if 
  52@ <> 5
goto_if_false @MANSIO2_27613
Char.GiveWeapon(131@(52@,6i), WeaponType.M4, 300)
Char.SetCurrentWeapon(131@(52@,6i), WeaponType.M4)
Char.SetAccuracy(131@(52@,6i), 70)
Char.SetShootRate(131@(52@,6i), 70)
Char.SetDecisionMaker(131@(52@,6i), 181@)

:MANSIO2_27613
return 

:MANSIO2_27615
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_27637
return 

:MANSIO2_27637
switch_start 52@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_27908 {caseNum1} 0 {caseLabel1} @MANSIO2_27700 {caseNum2} 1 {caseLabel2} @MANSIO2_27746 {caseNum3} 2 {caseLabel3} @MANSIO2_27792 {caseNum4} 5 {caseLabel4} @MANSIO2_27862 {caseNum5} -1 {caseLabel5} @MANSIO2_27939 {caseNum6} -1 {caseLabel6} @MANSIO2_27939 {caseNum7} -1 {caseLabel7} @MANSIO2_27939

:MANSIO2_27700
Task.FollowPathNodesToCoord(131@(52@,6i), -1348.171, 498.9987, 10.1953, 4, -2)
183@(52@,6i) = 7
goto @MANSIO2_27939

:MANSIO2_27746
Task.FollowPathNodesToCoord(131@(52@,6i), -1340.658, 500.8229, 17.2266, 4, -2)
183@(52@,6i) = 7
goto @MANSIO2_27939

:MANSIO2_27792
Task.FollowPathNodesToCoord(131@(52@,6i), -1289.705, 489.1904, 10.2026, 4, -2)
183@(52@,6i) = 12
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
198@(52@,6i) += 5000
goto @MANSIO2_27939

:MANSIO2_27862
Task.GoStraightToCoord(131@(52@,6i), -1445.235, 501.5114, 17.2266, MoveState.Walk, -2)
183@(52@,6i) = 7
goto @MANSIO2_27939

:MANSIO2_27908
write_debug "UNKNOWN_GUARD_FOR_WALK_HOME"

:MANSIO2_27939
return 

:MANSIO2_27941
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_27963
return 

:MANSIO2_27963
switch_start 52@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_28250 {caseNum1} 0 {caseLabel1} @MANSIO2_28026 {caseNum2} 1 {caseLabel2} @MANSIO2_28096 {caseNum3} 5 {caseLabel3} @MANSIO2_28180 {caseNum4} -1 {caseLabel4} @MANSIO2_28284 {caseNum5} -1 {caseLabel5} @MANSIO2_28284 {caseNum6} -1 {caseLabel6} @MANSIO2_28284 {caseNum7} -1 {caseLabel7} @MANSIO2_28284

:MANSIO2_28026
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1348.171, 498.9987, 10.1953, 1.2, 1.2, 2.0, False)
goto_if_false @MANSIO2_28089
183@(52@,6i) = 10

:MANSIO2_28089
goto @MANSIO2_28284

:MANSIO2_28096
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1340.658, 500.8229, 17.2266, 1.2, 1.2, 2.0, False)
goto_if_false @MANSIO2_28173
Task.AchieveHeading(131@(52@,6i), 303.0599)
183@(52@,6i) = 27

:MANSIO2_28173
goto @MANSIO2_28284

:MANSIO2_28180
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1435.72, 501.0618, 17.2266, 1.2, 1.2, 2.0, False)
goto_if_false @MANSIO2_28243
183@(52@,6i) = 16

:MANSIO2_28243
goto @MANSIO2_28284

:MANSIO2_28250
write_debug "UNKNOWN_GUARD_FOR_WALKING_HOME"

:MANSIO2_28284
return 

:MANSIO2_28286
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_28308
return 

:MANSIO2_28308
switch_start 52@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_28450 {caseNum1} 0 {caseLabel1} @MANSIO2_28371 {caseNum2} -1 {caseLabel2} @MANSIO2_28476 {caseNum3} -1 {caseLabel3} @MANSIO2_28476 {caseNum4} -1 {caseLabel4} @MANSIO2_28476 {caseNum5} -1 {caseLabel5} @MANSIO2_28476 {caseNum6} -1 {caseLabel6} @MANSIO2_28476 {caseNum7} -1 {caseLabel7} @MANSIO2_28476

:MANSIO2_28371
if 
  not Char.IsDead(138@)
goto_if_false @MANSIO2_28419
Task.ChatWithChar(131@(52@,6i), 138@, True, 1)
Task.ChatWithChar(138@, 131@(52@,6i), False, 1)

:MANSIO2_28419
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
198@(52@,6i) += 7000
goto @MANSIO2_28476

:MANSIO2_28450
write_debug "UNKNOWN_GUARD_FOR_CHAT"

:MANSIO2_28476
183@(52@,6i) = 9
return 

:MANSIO2_28489
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_28511
return 

:MANSIO2_28511
switch_start 52@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_28615 {caseNum1} 0 {caseLabel1} @MANSIO2_28574 {caseNum2} -1 {caseLabel2} @MANSIO2_28641 {caseNum3} -1 {caseLabel3} @MANSIO2_28641 {caseNum4} -1 {caseLabel4} @MANSIO2_28641 {caseNum5} -1 {caseLabel5} @MANSIO2_28641 {caseNum6} -1 {caseLabel6} @MANSIO2_28641 {caseNum7} -1 {caseLabel7} @MANSIO2_28641

:MANSIO2_28574
if 
  is_int_lvar_greater_than_int_lvar 46@ > 198@(52@,6i)
goto_if_false @MANSIO2_28608
183@(52@,6i) = 6

:MANSIO2_28608
goto @MANSIO2_28641

:MANSIO2_28615
write_debug "UNKNOWN_GUARD_FOR_CHAT"

:MANSIO2_28641
return 

:MANSIO2_28643
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_28665
return 

:MANSIO2_28665
switch_start 52@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_28837 {caseNum1} 0 {caseLabel1} @MANSIO2_28728 {caseNum2} -1 {caseLabel2} @MANSIO2_28862 {caseNum3} -1 {caseLabel3} @MANSIO2_28862 {caseNum4} -1 {caseLabel4} @MANSIO2_28862 {caseNum5} -1 {caseLabel5} @MANSIO2_28862 {caseNum6} -1 {caseLabel6} @MANSIO2_28862 {caseNum7} -1 {caseLabel7} @MANSIO2_28862

:MANSIO2_28728
56@ = Sequence.Open()
Task.GoStraightToCoord(-1, -1348.075, 493.1958, 10.1953, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, -1345.749, 493.6958, 10.2027, MoveState.Walk, -2)
Task.AchieveHeading(-1, 180.0)
Task.SitDown(-1, 99999999)
Sequence.Close(56@)
Char.PerformSequence(131@(52@,6i), 56@)
Sequence.Clear(56@)
183@(52@,6i) = 27
goto @MANSIO2_28862

:MANSIO2_28837
write_debug "UNKNOWN_GUARD_FOR_SIT"

:MANSIO2_28862
return 

:MANSIO2_28864
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_28886
return 

:MANSIO2_28886
switch_start 52@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_29074 {caseNum1} 1 {caseLabel1} @MANSIO2_28974 {caseNum2} 2 {caseLabel2} @MANSIO2_28949 {caseNum3} 3 {caseLabel3} @MANSIO2_28999 {caseNum4} 4 {caseLabel4} @MANSIO2_29049 {caseNum5} 5 {caseLabel5} @MANSIO2_29024 {caseNum6} -1 {caseLabel6} @MANSIO2_29102 {caseNum7} -1 {caseLabel7} @MANSIO2_29102

:MANSIO2_28949
gosub @MANSIO2_32951
183@(52@,6i) = 12
goto @MANSIO2_29102

:MANSIO2_28974
gosub @MANSIO2_33750
183@(52@,6i) = 12
goto @MANSIO2_29102

:MANSIO2_28999
gosub @MANSIO2_34441
183@(52@,6i) = 12
goto @MANSIO2_29102

:MANSIO2_29024
gosub @MANSIO2_35240
183@(52@,6i) = 12
goto @MANSIO2_29102

:MANSIO2_29049
gosub @MANSIO2_35931
183@(52@,6i) = 12
goto @MANSIO2_29102

:MANSIO2_29074
write_debug "UNKNOWN_GUARD_FOR_WANDER"

:MANSIO2_29102
return 

:MANSIO2_29104
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_29126
return 

:MANSIO2_29126
switch_start 52@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_29694 {caseNum1} 1 {caseLabel1} @MANSIO2_29290 {caseNum2} 2 {caseLabel2} @MANSIO2_29189 {caseNum3} 3 {caseLabel3} @MANSIO2_29391 {caseNum4} 4 {caseLabel4} @MANSIO2_29593 {caseNum5} 5 {caseLabel5} @MANSIO2_29492 {caseNum6} -1 {caseLabel6} @MANSIO2_29725 {caseNum7} -1 {caseLabel7} @MANSIO2_29725

:MANSIO2_29189
if 
  is_int_lvar_greater_than_int_lvar 46@ > 198@(52@,6i)
goto_if_false @MANSIO2_29283
gosub @MANSIO2_33281
if 
  73@ == 1
goto_if_false @MANSIO2_29283
50@ = Math.RandomIntInRange(5000, 7000)
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
add_int_lvar_to_int_lvar 198@(52@,6i) += 50@
183@(52@,6i) = 13

:MANSIO2_29283
goto @MANSIO2_29725

:MANSIO2_29290
if 
  is_int_lvar_greater_than_int_lvar 46@ > 198@(52@,6i)
goto_if_false @MANSIO2_29384
gosub @MANSIO2_34045
if 
  73@ == 1
goto_if_false @MANSIO2_29384
50@ = Math.RandomIntInRange(5000, 7000)
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
add_int_lvar_to_int_lvar 198@(52@,6i) += 50@
183@(52@,6i) = 13

:MANSIO2_29384
goto @MANSIO2_29725

:MANSIO2_29391
if 
  is_int_lvar_greater_than_int_lvar 46@ > 198@(52@,6i)
goto_if_false @MANSIO2_29485
gosub @MANSIO2_34771
if 
  73@ == 1
goto_if_false @MANSIO2_29485
50@ = Math.RandomIntInRange(5000, 7000)
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
add_int_lvar_to_int_lvar 198@(52@,6i) += 50@
183@(52@,6i) = 13

:MANSIO2_29485
goto @MANSIO2_29725

:MANSIO2_29492
if 
  is_int_lvar_greater_than_int_lvar 46@ > 198@(52@,6i)
goto_if_false @MANSIO2_29586
gosub @MANSIO2_35535
if 
  73@ == 1
goto_if_false @MANSIO2_29586
50@ = Math.RandomIntInRange(5000, 7000)
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
add_int_lvar_to_int_lvar 198@(52@,6i) += 50@
183@(52@,6i) = 13

:MANSIO2_29586
goto @MANSIO2_29725

:MANSIO2_29593
if 
  is_int_lvar_greater_than_int_lvar 46@ > 198@(52@,6i)
goto_if_false @MANSIO2_29687
gosub @MANSIO2_36226
if 
  73@ == 1
goto_if_false @MANSIO2_29687
50@ = Math.RandomIntInRange(5000, 7000)
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
add_int_lvar_to_int_lvar 198@(52@,6i) += 50@
183@(52@,6i) = 13

:MANSIO2_29687
goto @MANSIO2_29725

:MANSIO2_29694
write_debug "UNKNOWN_GUARD_FOR_WANDERING"

:MANSIO2_29725
return 

:MANSIO2_29727
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_29749
return 

:MANSIO2_29749
if 
  is_int_lvar_greater_than_int_lvar 46@ > 198@(52@,6i)
goto_if_false @MANSIO2_29783
183@(52@,6i) = 11

:MANSIO2_29783
return 

:MANSIO2_29785
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_29807
return 

:MANSIO2_29807
if 
  Char.IsInAnyPlane(131@(52@,6i))
goto_if_false @MANSIO2_29836
Task.LeaveAnyCar(131@(52@,6i))

:MANSIO2_29836
183@(52@,6i) = 15
return 

:MANSIO2_29849
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_29871
return 

:MANSIO2_29871
if 
  Char.IsInAnyPlane(131@(52@,6i))
goto_if_false @MANSIO2_29893
return 

:MANSIO2_29893
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_30003 {caseNum1} 3 {caseLabel1} @MANSIO2_29956 {caseNum2} 4 {caseLabel2} @MANSIO2_29985 {caseNum3} -1 {caseLabel3} @MANSIO2_30038 {caseNum4} -1 {caseLabel4} @MANSIO2_30038 {caseNum5} -1 {caseLabel5} @MANSIO2_30038 {caseNum6} -1 {caseLabel6} @MANSIO2_30038 {caseNum7} -1 {caseLabel7} @MANSIO2_30038

:MANSIO2_29956
183@(52@,6i) = 11
269@(52@,6i) = 1
goto @MANSIO2_30038

:MANSIO2_29985
183@(52@,6i) = 27
goto @MANSIO2_30038

:MANSIO2_30003
write_debug "UNKNOWN_GUARD_FOR_EXITING_PLANE"

:MANSIO2_30038
return 

:MANSIO2_30040
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_30062
return 

:MANSIO2_30062
switch_start 52@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_30435 {caseNum1} 5 {caseLabel1} @MANSIO2_30125 {caseNum2} -1 {caseLabel2} @MANSIO2_30469 {caseNum3} -1 {caseLabel3} @MANSIO2_30469 {caseNum4} -1 {caseLabel4} @MANSIO2_30469 {caseNum5} -1 {caseLabel5} @MANSIO2_30469 {caseNum6} -1 {caseLabel6} @MANSIO2_30469 {caseNum7} -1 {caseLabel7} @MANSIO2_30469

:MANSIO2_30125
if 
  Car.IsDead(142@)
goto_if_false @MANSIO2_30168
183@(52@,6i) = 11
Char.ClearLookAt(131@(52@,6i))
goto @MANSIO2_30428

:MANSIO2_30168
if 
  not Car.IsPlaybackGoingOn(142@)
goto_if_false @MANSIO2_30211
183@(52@,6i) = 11
Char.ClearLookAt(131@(52@,6i))
goto @MANSIO2_30428

:MANSIO2_30211
57@, 58@, 59@ = Char.GetCoordinates(131@(52@,6i))
set_lvar_float_to_lvar_float 67@ = 57@
set_lvar_float_to_lvar_float 68@ = 58@
57@, 58@, 59@ = Car.GetCoordinates(142@)
set_lvar_float_to_lvar_float 64@ = 57@
set_lvar_float_to_lvar_float 65@ = 58@
set_lvar_float_to_lvar_float 57@ = 64@
sub_float_lvar_from_float_lvar 57@ -= 67@
set_lvar_float_to_lvar_float 58@ = 65@
sub_float_lvar_from_float_lvar 58@ -= 68@
63@ = Math.GetHeadingFromVector2D(57@, 58@)
Task.AchieveHeading(131@(52@,6i), 63@)
40@ = Char.GetScriptTaskStatus(131@(52@,6i), 1471)
if 
  not is_int_lvar_equal_to_constant 40@ == 1
goto_if_false @MANSIO2_30393
if 
  not Char.IsDead(134@)
goto_if_false @MANSIO2_30393
Task.LookAtChar(131@(52@,6i), 134@, -2)

:MANSIO2_30393
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
198@(52@,6i) += 5000
183@(52@,6i) = 17

:MANSIO2_30428
goto @MANSIO2_30469

:MANSIO2_30435
write_debug "UNKNOWN_GUARD_FOR_WATCH_PLANES"

:MANSIO2_30469
return 

:MANSIO2_30471
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_30493
return 

:MANSIO2_30493
switch_start 52@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_30597 {caseNum1} 5 {caseLabel1} @MANSIO2_30556 {caseNum2} -1 {caseLabel2} @MANSIO2_30633 {caseNum3} -1 {caseLabel3} @MANSIO2_30633 {caseNum4} -1 {caseLabel4} @MANSIO2_30633 {caseNum5} -1 {caseLabel5} @MANSIO2_30633 {caseNum6} -1 {caseLabel6} @MANSIO2_30633 {caseNum7} -1 {caseLabel7} @MANSIO2_30633

:MANSIO2_30556
if 
  is_int_lvar_greater_than_int_lvar 46@ > 198@(52@,6i)
goto_if_false @MANSIO2_30590
183@(52@,6i) = 16

:MANSIO2_30590
goto @MANSIO2_30633

:MANSIO2_30597
write_debug "UNKNOWN_GUARD_FOR_WATCHING_PLANE"

:MANSIO2_30633
return 

:MANSIO2_30635
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_30657
return 

:MANSIO2_30657
if 
  Char.IsInAnyCar(131@(52@,6i))
goto_if_false @MANSIO2_30679
return 

:MANSIO2_30679
switch_start 52@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_30833 {caseNum1} 4 {caseLabel1} @MANSIO2_30742 {caseNum2} -1 {caseLabel2} @MANSIO2_30863 {caseNum3} -1 {caseLabel3} @MANSIO2_30863 {caseNum4} -1 {caseLabel4} @MANSIO2_30863 {caseNum5} -1 {caseLabel5} @MANSIO2_30863 {caseNum6} -1 {caseLabel6} @MANSIO2_30863 {caseNum7} -1 {caseLabel7} @MANSIO2_30863

:MANSIO2_30742
Char.SetCoordinates(131@(52@,6i), -1413.004, 508.974, 10.1953)
183@(52@,6i) = 27
269@(52@,6i) = 1
173@(52@,6i) = Blip.AddForChar(131@(52@,6i))
Blip.ChangeDisplay(173@(52@,6i), BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(173@(52@,6i), True)
goto @MANSIO2_30863

:MANSIO2_30833
write_debug "UNKNOWN_GUARD_FOR_TELEPORT"

:MANSIO2_30863
return 

:MANSIO2_30865
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_30887
return 

:MANSIO2_30887
switch_start 52@ {numCases} 6 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_31226 {caseNum1} 0 {caseLabel1} @MANSIO2_30950 {caseNum2} 1 {caseLabel2} @MANSIO2_30996 {caseNum3} 2 {caseLabel3} @MANSIO2_31042 {caseNum4} 3 {caseLabel4} @MANSIO2_31088 {caseNum5} 4 {caseLabel5} @MANSIO2_31180 {caseNum6} 5 {caseLabel6} @MANSIO2_31134 {caseNum7} -1 {caseLabel7} @MANSIO2_31258

:MANSIO2_30950
Task.FollowPathNodesToCoord(131@(52@,6i), -1324.158, 508.4572, 10.1953, 6, -2)
183@(52@,6i) = 20
goto @MANSIO2_31258

:MANSIO2_30996
Task.FollowPathNodesToCoord(131@(52@,6i), -1348.061, 492.4249, 10.1953, 6, -2)
183@(52@,6i) = 20
goto @MANSIO2_31258

:MANSIO2_31042
Task.FollowPathNodesToCoord(131@(52@,6i), -1299.653, 509.2915, 10.1953, 6, -2)
183@(52@,6i) = 20
goto @MANSIO2_31258

:MANSIO2_31088
Task.FollowPathNodesToCoord(131@(52@,6i), -1434.212, 508.0886, 10.1953, 6, -2)
183@(52@,6i) = 20
goto @MANSIO2_31258

:MANSIO2_31134
Task.FollowPathNodesToCoord(131@(52@,6i), -1418.207, 492.2773, 17.2266, 6, -2)
183@(52@,6i) = 20
goto @MANSIO2_31258

:MANSIO2_31180
Task.FollowPathNodesToCoord(131@(52@,6i), -1409.154, 506.4637, 10.1953, 6, -2)
183@(52@,6i) = 20
goto @MANSIO2_31258

:MANSIO2_31226
write_debug "UNKNOWN_GUARD_FOR_GOTO_ALERT"

:MANSIO2_31258
return 

:MANSIO2_31260
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_31282
return 

:MANSIO2_31282
switch_start 52@ {numCases} 6 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_31915 {caseNum1} 0 {caseLabel1} @MANSIO2_31345 {caseNum2} 1 {caseLabel2} @MANSIO2_31440 {caseNum3} 2 {caseLabel3} @MANSIO2_31535 {caseNum4} 3 {caseLabel4} @MANSIO2_31630 {caseNum5} 4 {caseLabel5} @MANSIO2_31820 {caseNum6} 5 {caseLabel6} @MANSIO2_31725 {caseNum7} -1 {caseLabel7} @MANSIO2_31951

:MANSIO2_31345
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1324.158, 508.4572, 10.1953, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_31433
Task.AchieveHeading(131@(52@,6i), 98.0823)
183@(52@,6i) = 21
198@(52@,6i) = 0

:MANSIO2_31433
goto @MANSIO2_31951

:MANSIO2_31440
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1348.061, 492.4249, 10.1953, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_31528
Task.AchieveHeading(131@(52@,6i), 0.0)
183@(52@,6i) = 21
198@(52@,6i) = 0

:MANSIO2_31528
goto @MANSIO2_31951

:MANSIO2_31535
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1299.653, 509.2915, 10.1953, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_31623
Task.AchieveHeading(131@(52@,6i), 122.1536)
183@(52@,6i) = 21
198@(52@,6i) = 0

:MANSIO2_31623
goto @MANSIO2_31951

:MANSIO2_31630
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1434.212, 508.0886, 10.1953, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_31718
Task.AchieveHeading(131@(52@,6i), 261.6837)
183@(52@,6i) = 21
198@(52@,6i) = 0

:MANSIO2_31718
goto @MANSIO2_31951

:MANSIO2_31725
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1418.207, 492.2773, 17.2266, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_31813
Task.AchieveHeading(131@(52@,6i), 304.1052)
183@(52@,6i) = 21
198@(52@,6i) = 0

:MANSIO2_31813
goto @MANSIO2_31951

:MANSIO2_31820
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1409.154, 506.4637, 10.1953, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_31908
Task.AchieveHeading(131@(52@,6i), 270.2725)
183@(52@,6i) = 21
198@(52@,6i) = 0

:MANSIO2_31908
goto @MANSIO2_31951

:MANSIO2_31915
write_debug "UNKNOWN_GUARD_FOR_GOING_TO_ALERT"

:MANSIO2_31951
gosub @MANSIO2_24305
return 

:MANSIO2_31960
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_31982
return 

:MANSIO2_31982
40@ = Char.GetScriptTaskStatus(131@(52@,6i), 1492)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @MANSIO2_32048
Char.SetKindaStayInSamePlace(131@(52@,6i), True)
183@(52@,6i) = 22
198@(52@,6i) = 0

:MANSIO2_32048
gosub @MANSIO2_24305
return 

:MANSIO2_32057
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_32079
return 

:MANSIO2_32079
if 
  is_int_lvar_greater_than_int_lvar 198@(52@,6i) > 46@
goto_if_false @MANSIO2_32104
return 

:MANSIO2_32104
40@ = Char.GetScriptTaskStatus(131@(52@,6i), 1588)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @MANSIO2_32180
Task.KillCharOnFootWhileDucking(131@(52@,6i), $stattreadstamina_ctr, 4, 3000, 60)
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
198@(52@,6i) += 1000

:MANSIO2_32180
gosub @MANSIO2_24305
return 

:MANSIO2_32189
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_32211
return 

:MANSIO2_32211
Char.SetDecisionMaker(131@(52@,6i), 182@)
Char.SetKindaStayInSamePlace(131@(52@,6i), False)
183@(52@,6i) = 26
275@(52@,6i) = 1
198@(52@,6i) = 0
return 

:MANSIO2_32269
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_32291
return 

:MANSIO2_32291
switch_start 52@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_32389 {caseNum1} 0 {caseLabel1} @MANSIO2_32354 {caseNum2} -1 {caseLabel2} @MANSIO2_32421 {caseNum3} -1 {caseLabel3} @MANSIO2_32421 {caseNum4} -1 {caseLabel4} @MANSIO2_32421 {caseNum5} -1 {caseLabel5} @MANSIO2_32421 {caseNum6} -1 {caseLabel6} @MANSIO2_32421 {caseNum7} -1 {caseLabel7} @MANSIO2_32421

:MANSIO2_32354
Task.GoStraightToCoord(131@(52@,6i), -1431.944, 500.2454, 2.0391, MoveState.Run, -2)
goto @MANSIO2_32421

:MANSIO2_32389
write_debug "UNKNOWN_GUARD_FOR_RUN_ATTACK"

:MANSIO2_32421
Char.SetDecisionMaker(131@(52@,6i), 182@)
183@(52@,6i) = 25
275@(52@,6i) = 1
198@(52@,6i) = 0
return 

:MANSIO2_32468
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_32490
return 

:MANSIO2_32490
if 
  267@ == 0
goto_if_false @MANSIO2_32560
if 
  Char.IsShooting(131@(52@,6i))
goto_if_false @MANSIO2_32560
267@ = 1
if 
  213@ == 0
goto_if_false @MANSIO2_32560
213@ = 3

:MANSIO2_32560
switch_start 52@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_32704 {caseNum1} 0 {caseLabel1} @MANSIO2_32623 {caseNum2} -1 {caseLabel2} @MANSIO2_32740 {caseNum3} -1 {caseLabel3} @MANSIO2_32740 {caseNum4} -1 {caseLabel4} @MANSIO2_32740 {caseNum5} -1 {caseLabel5} @MANSIO2_32740 {caseNum6} -1 {caseLabel6} @MANSIO2_32740 {caseNum7} -1 {caseLabel7} @MANSIO2_32740

:MANSIO2_32623
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1431.944, 500.2454, 2.0391, 1.2, 1.2, 2.0, False)
goto_if_false @MANSIO2_32697
198@(52@,6i) = 0
183@(52@,6i) = 26

:MANSIO2_32697
goto @MANSIO2_32740

:MANSIO2_32704
write_debug "UNKNOWN_GUARD_FOR_RUNNING_ATTACK"

:MANSIO2_32740
gosub @MANSIO2_24305
return 

:MANSIO2_32749
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_32771
return 

:MANSIO2_32771
if 
  267@ == 0
goto_if_false @MANSIO2_32841
if 
  Char.IsShooting(131@(52@,6i))
goto_if_false @MANSIO2_32841
267@ = 1
if 
  213@ == 0
goto_if_false @MANSIO2_32841
213@ = 3

:MANSIO2_32841
if 
  is_int_lvar_greater_than_int_lvar 198@(52@,6i) > 46@
goto_if_false @MANSIO2_32866
return 

:MANSIO2_32866
40@ = Char.GetScriptTaskStatus(131@(52@,6i), 1588)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @MANSIO2_32942
Task.KillCharOnFootWhileDucking(131@(52@,6i), $stattreadstamina_ctr, 4, 3000, 60)
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
198@(52@,6i) += 1000

:MANSIO2_32942
gosub @MANSIO2_24305
return 

:MANSIO2_32951
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_32973
return 

:MANSIO2_32973
50@ = Math.RandomIntInRange(0, 6)
switch_start 50@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_33255 {caseNum1} 0 {caseLabel1} @MANSIO2_33045 {caseNum2} 1 {caseLabel2} @MANSIO2_33080 {caseNum3} 2 {caseLabel3} @MANSIO2_33115 {caseNum4} 3 {caseLabel4} @MANSIO2_33150 {caseNum5} 4 {caseLabel5} @MANSIO2_33185 {caseNum6} 5 {caseLabel6} @MANSIO2_33220 {caseNum7} -1 {caseLabel7} @MANSIO2_33255

:MANSIO2_33045
Task.FollowPathNodesToCoord(131@(52@,6i), -1289.705, 489.1904, 10.2026, 4, -2)
goto @MANSIO2_33255

:MANSIO2_33080
Task.FollowPathNodesToCoord(131@(52@,6i), -1325.661, 498.4251, 10.2026, 4, -2)
goto @MANSIO2_33255

:MANSIO2_33115
Task.FollowPathNodesToCoord(131@(52@,6i), -1302.248, 504.2907, 10.1953, 4, -2)
goto @MANSIO2_33255

:MANSIO2_33150
Task.FollowPathNodesToCoord(131@(52@,6i), -1292.353, 494.8264, 10.1953, 4, -2)
goto @MANSIO2_33255

:MANSIO2_33185
Task.FollowPathNodesToCoord(131@(52@,6i), -1301.599, 509.8161, 10.1953, 4, -2)
goto @MANSIO2_33255

:MANSIO2_33220
Task.FollowPathNodesToCoord(131@(52@,6i), -1294.257, 504.8536, 10.1953, 4, -2)
goto @MANSIO2_33255

:MANSIO2_33255
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
198@(52@,6i) += 5000
return 

:MANSIO2_33281
73@ = 0
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_33310
return 

:MANSIO2_33310
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1289.705, 489.1904, 10.2026, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_33383
Task.AchieveHeading(131@(52@,6i), 155.3066)
73@ = 1

:MANSIO2_33383
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1325.661, 498.4251, 10.2026, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_33456
Task.AchieveHeading(131@(52@,6i), 77.7535)
73@ = 1

:MANSIO2_33456
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1302.248, 504.2907, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_33529
Task.AchieveHeading(131@(52@,6i), 275.9547)
73@ = 1

:MANSIO2_33529
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1292.353, 494.8264, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_33602
Task.AchieveHeading(131@(52@,6i), 248.83)
73@ = 1

:MANSIO2_33602
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1301.599, 509.8161, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_33675
Task.AchieveHeading(131@(52@,6i), 14.841)
73@ = 1

:MANSIO2_33675
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1294.257, 504.8536, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_33748
Task.AchieveHeading(131@(52@,6i), 157.6618)
73@ = 1

:MANSIO2_33748
return 

:MANSIO2_33750
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_33772
return 

:MANSIO2_33772
50@ = Math.RandomIntInRange(0, 5)
switch_start 50@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_34019 {caseNum1} 0 {caseLabel1} @MANSIO2_33844 {caseNum2} 1 {caseLabel2} @MANSIO2_33879 {caseNum3} 2 {caseLabel3} @MANSIO2_33914 {caseNum4} 3 {caseLabel4} @MANSIO2_33949 {caseNum5} 4 {caseLabel5} @MANSIO2_33984 {caseNum6} -1 {caseLabel6} @MANSIO2_34019 {caseNum7} -1 {caseLabel7} @MANSIO2_34019

:MANSIO2_33844
Task.FollowPathNodesToCoord(131@(52@,6i), -1311.834, 489.4401, 17.2266, 4, -2)
goto @MANSIO2_34019

:MANSIO2_33879
Task.FollowPathNodesToCoord(131@(52@,6i), -1298.359, 512.5721, 17.2266, 4, -2)
goto @MANSIO2_34019

:MANSIO2_33914
Task.FollowPathNodesToCoord(131@(52@,6i), -1247.352, 502.8824, 17.2266, 4, -2)
goto @MANSIO2_34019

:MANSIO2_33949
Task.FollowPathNodesToCoord(131@(52@,6i), -1359.656, 512.5123, 17.2266, 4, -2)
goto @MANSIO2_34019

:MANSIO2_33984
Task.FollowPathNodesToCoord(131@(52@,6i), -1349.606, 493.5821, 17.2279, 4, -2)
goto @MANSIO2_34019

:MANSIO2_34019
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
198@(52@,6i) += 5000
return 

:MANSIO2_34045
73@ = 0
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_34074
return 

:MANSIO2_34074
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1311.834, 489.4401, 17.2266, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_34147
Task.AchieveHeading(131@(52@,6i), 180.0)
73@ = 1

:MANSIO2_34147
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1298.359, 512.5721, 17.2266, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_34220
Task.AchieveHeading(131@(52@,6i), 0.0)
73@ = 1

:MANSIO2_34220
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1247.352, 502.8824, 17.2266, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_34293
Task.AchieveHeading(131@(52@,6i), 270.0)
73@ = 1

:MANSIO2_34293
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1359.656, 512.5123, 17.2266, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_34366
Task.AchieveHeading(131@(52@,6i), 0.0)
73@ = 1

:MANSIO2_34366
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1349.606, 493.5821, 17.2279, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_34439
Task.AchieveHeading(131@(52@,6i), 80.0)
73@ = 1

:MANSIO2_34439
return 

:MANSIO2_34441
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_34463
return 

:MANSIO2_34463
50@ = Math.RandomIntInRange(0, 6)
switch_start 50@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_34745 {caseNum1} 0 {caseLabel1} @MANSIO2_34535 {caseNum2} 1 {caseLabel2} @MANSIO2_34570 {caseNum3} 2 {caseLabel3} @MANSIO2_34605 {caseNum4} 3 {caseLabel4} @MANSIO2_34640 {caseNum5} 4 {caseLabel5} @MANSIO2_34675 {caseNum6} 5 {caseLabel6} @MANSIO2_34710 {caseNum7} -1 {caseLabel7} @MANSIO2_34745

:MANSIO2_34535
Task.FollowPathNodesToCoord(131@(52@,6i), -1444.29, 496.4273, 10.1953, 4, -2)
goto @MANSIO2_34745

:MANSIO2_34570
Task.FollowPathNodesToCoord(131@(52@,6i), -1449.621, 506.0983, 10.1953, 4, -2)
goto @MANSIO2_34745

:MANSIO2_34605
Task.FollowPathNodesToCoord(131@(52@,6i), -1424.253, 511.1483, 10.1953, 4, -2)
goto @MANSIO2_34745

:MANSIO2_34640
Task.FollowPathNodesToCoord(131@(52@,6i), -1411.083, 511.8316, 10.1953, 4, -2)
goto @MANSIO2_34745

:MANSIO2_34675
Task.FollowPathNodesToCoord(131@(52@,6i), -1417.342, 505.5704, 10.1953, 4, -2)
goto @MANSIO2_34745

:MANSIO2_34710
Task.FollowPathNodesToCoord(131@(52@,6i), -1431.498, 501.8023, 10.1953, 4, -2)
goto @MANSIO2_34745

:MANSIO2_34745
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
198@(52@,6i) += 5000
return 

:MANSIO2_34771
73@ = 0
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_34800
return 

:MANSIO2_34800
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1444.29, 496.4273, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_34873
Task.AchieveHeading(131@(52@,6i), 56.0502)
73@ = 1

:MANSIO2_34873
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1449.621, 506.0983, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_34946
Task.AchieveHeading(131@(52@,6i), 123.3438)
73@ = 1

:MANSIO2_34946
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1424.253, 511.1483, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_35019
Task.AchieveHeading(131@(52@,6i), 318.9861)
73@ = 1

:MANSIO2_35019
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1411.083, 511.8316, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_35092
Task.AchieveHeading(131@(52@,6i), 28.0647)
73@ = 1

:MANSIO2_35092
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1417.342, 505.5704, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_35165
Task.AchieveHeading(131@(52@,6i), 139.4299)
73@ = 1

:MANSIO2_35165
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1431.498, 501.8023, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_35238
Task.AchieveHeading(131@(52@,6i), 242.7025)
73@ = 1

:MANSIO2_35238
return 

:MANSIO2_35240
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_35262
return 

:MANSIO2_35262
50@ = Math.RandomIntInRange(0, 5)
switch_start 50@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_35509 {caseNum1} 0 {caseLabel1} @MANSIO2_35334 {caseNum2} 1 {caseLabel2} @MANSIO2_35369 {caseNum3} 2 {caseLabel3} @MANSIO2_35404 {caseNum4} 3 {caseLabel4} @MANSIO2_35439 {caseNum5} 4 {caseLabel5} @MANSIO2_35474 {caseNum6} -1 {caseLabel6} @MANSIO2_35509 {caseNum7} -1 {caseLabel7} @MANSIO2_35509

:MANSIO2_35334
Task.GoStraightToCoord(131@(52@,6i), -1445.235, 501.5114, 17.2266, MoveState.Walk, -2)
goto @MANSIO2_35509

:MANSIO2_35369
Task.GoStraightToCoord(131@(52@,6i), -1419.48, 510.346, 17.2295, MoveState.Walk, -2)
goto @MANSIO2_35509

:MANSIO2_35404
Task.GoStraightToCoord(131@(52@,6i), -1412.218, 489.4574, 17.2266, MoveState.Walk, -2)
goto @MANSIO2_35509

:MANSIO2_35439
Task.GoStraightToCoord(131@(52@,6i), -1395.935, 498.2455, 17.2266, MoveState.Walk, -2)
goto @MANSIO2_35509

:MANSIO2_35474
Task.GoStraightToCoord(131@(52@,6i), -1373.579, 512.998, 17.2295, MoveState.Walk, -2)
goto @MANSIO2_35509

:MANSIO2_35509
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
198@(52@,6i) += 5000
return 

:MANSIO2_35535
73@ = 0
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_35564
return 

:MANSIO2_35564
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1445.235, 501.5114, 17.2266, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_35637
Task.AchieveHeading(131@(52@,6i), 90.0)
73@ = 1

:MANSIO2_35637
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1419.48, 510.346, 17.2295, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_35710
Task.AchieveHeading(131@(52@,6i), 0.0)
73@ = 1

:MANSIO2_35710
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1412.218, 489.4574, 17.2266, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_35783
Task.AchieveHeading(131@(52@,6i), 180.0)
73@ = 1

:MANSIO2_35783
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1395.935, 498.2455, 17.2266, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_35856
Task.AchieveHeading(131@(52@,6i), 194.6539)
73@ = 1

:MANSIO2_35856
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1373.579, 512.998, 17.2295, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_35929
Task.AchieveHeading(131@(52@,6i), 326.651)
73@ = 1

:MANSIO2_35929
return 

:MANSIO2_35931
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_35953
return 

:MANSIO2_35953
50@ = Math.RandomIntInRange(0, 5)
switch_start 50@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_36200 {caseNum1} 0 {caseLabel1} @MANSIO2_36025 {caseNum2} 1 {caseLabel2} @MANSIO2_36060 {caseNum3} 2 {caseLabel3} @MANSIO2_36095 {caseNum4} 3 {caseLabel4} @MANSIO2_36130 {caseNum5} 4 {caseLabel5} @MANSIO2_36165 {caseNum6} -1 {caseLabel6} @MANSIO2_36200 {caseNum7} -1 {caseLabel7} @MANSIO2_36200

:MANSIO2_36025
Task.FollowPathNodesToCoord(131@(52@,6i), -1411.714, 512.2815, 10.1953, 4, -2)
goto @MANSIO2_36200

:MANSIO2_36060
Task.FollowPathNodesToCoord(131@(52@,6i), -1406.451, 502.476, 10.1953, 4, -2)
goto @MANSIO2_36200

:MANSIO2_36095
Task.FollowPathNodesToCoord(131@(52@,6i), -1366.03, 505.7779, 10.2026, 4, -2)
goto @MANSIO2_36200

:MANSIO2_36130
Task.FollowPathNodesToCoord(131@(52@,6i), -1366.484, 516.8234, 10.1797, 4, -2)
goto @MANSIO2_36200

:MANSIO2_36165
Task.FollowPathNodesToCoord(131@(52@,6i), -1344.821, 499.0515, 10.2027, 4, -2)
goto @MANSIO2_36200

:MANSIO2_36200
set_lvar_int_to_lvar_int 198@(52@,6i) = 46@
198@(52@,6i) += 5000
return 

:MANSIO2_36226
73@ = 0
if 
  Char.IsDead(131@(52@,6i))
goto_if_false @MANSIO2_36255
return 

:MANSIO2_36255
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1411.714, 512.2815, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_36328
Task.AchieveHeading(131@(52@,6i), 24.5074)
73@ = 1

:MANSIO2_36328
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1406.451, 502.476, 10.1953, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_36401
Task.AchieveHeading(131@(52@,6i), 236.3499)
73@ = 1

:MANSIO2_36401
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1366.03, 505.7779, 10.2026, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_36474
Task.AchieveHeading(131@(52@,6i), 180.0)
73@ = 1

:MANSIO2_36474
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1366.484, 516.8234, 10.1797, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_36547
Task.AchieveHeading(131@(52@,6i), 341.4966)
73@ = 1

:MANSIO2_36547
if 
  Char.LocateAnyMeans3D(131@(52@,6i), -1344.821, 499.0515, 10.2027, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_36620
Task.AchieveHeading(131@(52@,6i), 192.1196)
73@ = 1

:MANSIO2_36620
return 

:MANSIO2_36622
52@ = 0

:MANSIO2_36629
if and
  189@(52@,2i) <> -1
  189@(52@,2i) <> -2
goto_if_false @MANSIO2_36700
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_36700
189@(52@,2i) = -2
gosub @MANSIO2_39380

:MANSIO2_36700
52@ += 1
  52@ >= 2
goto_if_false @MANSIO2_36629
52@ = 0

:MANSIO2_36728
gosub @MANSIO2_37215
switch_start 189@(52@,2i) {numCases} 19 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_37170 {caseNum1} -2 {caseLabel1} @MANSIO2_36932 {caseNum2} -1 {caseLabel2} @MANSIO2_36932 {caseNum3} 0 {caseLabel3} @MANSIO2_36939 {caseNum4} 1 {caseLabel4} @MANSIO2_36981 {caseNum5} 2 {caseLabel5} @MANSIO2_36995 {caseNum6} 3 {caseLabel6} @MANSIO2_37009 {caseNum7} 4 {caseLabel7} @MANSIO2_37023
switch_continued 5 {caseLabel1} @MANSIO2_37037 {caseNum2} 6 {caseLabel2} @MANSIO2_36953 {caseNum3} 7 {caseLabel3} @MANSIO2_36967 {caseNum4} 8 {caseLabel4} @MANSIO2_37051 {caseNum5} 9 {caseLabel5} @MANSIO2_37065 {caseNum6} 10 {caseLabel6} @MANSIO2_37079 {caseNum7} 11 {caseLabel7} @MANSIO2_37093 {caseNum8} 12 {caseLabel8} @MANSIO2_37107 {caseNum9} 13 {caseLabel9} @MANSIO2_37121
switch_continued 14 {caseLabel1} @MANSIO2_37135 {caseNum2} 15 {caseLabel2} @MANSIO2_37149 {caseNum3} 16 {caseLabel3} @MANSIO2_37163 {caseNum4} -1 {caseLabel4} @MANSIO2_37192 {caseNum5} -1 {caseLabel5} @MANSIO2_37192 {caseNum6} -1 {caseLabel6} @MANSIO2_37192 {caseNum7} -1 {caseLabel7} @MANSIO2_37192 {caseNum8} -1 {caseLabel8} @MANSIO2_37192 {caseNum9} -1 {caseLabel9} @MANSIO2_37192

:MANSIO2_36932
goto @MANSIO2_37192

:MANSIO2_36939
gosub @MANSIO2_39943
goto @MANSIO2_37192

:MANSIO2_36953
gosub @MANSIO2_40174
goto @MANSIO2_37192

:MANSIO2_36967
gosub @MANSIO2_40332
goto @MANSIO2_37192

:MANSIO2_36981
gosub @MANSIO2_40493
goto @MANSIO2_37192

:MANSIO2_36995
gosub @MANSIO2_40703
goto @MANSIO2_37192

:MANSIO2_37009
gosub @MANSIO2_40973
goto @MANSIO2_37192

:MANSIO2_37023
gosub @MANSIO2_41141
goto @MANSIO2_37192

:MANSIO2_37037
gosub @MANSIO2_41464
goto @MANSIO2_37192

:MANSIO2_37051
gosub @MANSIO2_41522
goto @MANSIO2_37192

:MANSIO2_37065
gosub @MANSIO2_41905
goto @MANSIO2_37192

:MANSIO2_37079
gosub @MANSIO2_42419
goto @MANSIO2_37192

:MANSIO2_37093
gosub @MANSIO2_42614
goto @MANSIO2_37192

:MANSIO2_37107
gosub @MANSIO2_43052
goto @MANSIO2_37192

:MANSIO2_37121
gosub @MANSIO2_43413
goto @MANSIO2_37192

:MANSIO2_37135
gosub @MANSIO2_43865
goto @MANSIO2_37192

:MANSIO2_37149
gosub @MANSIO2_44343
goto @MANSIO2_37192

:MANSIO2_37163
goto @MANSIO2_37192

:MANSIO2_37170
write_debug "UNKNOWN_MECHANICAI"

:MANSIO2_37192
52@ += 1
  52@ >= 2
goto_if_false @MANSIO2_36728
return 

:MANSIO2_37215
if 
  283@ == 0
goto_if_false @MANSIO2_37235
return 

:MANSIO2_37235
if 
  267@ == 1
goto_if_false @MANSIO2_37299
if 
  281@(52@,2i) == 0
goto_if_false @MANSIO2_37297
189@(52@,2i) = 8
281@(52@,2i) = 1

:MANSIO2_37297
return 

:MANSIO2_37299
if 
  281@(52@,2i) == 0
goto_if_false @MANSIO2_37505
if 
  not Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_37505
if 
  Char.HasSpottedCharInFront(137@(52@,2i), $stattreadstamina_ctr)
goto_if_false @MANSIO2_37505
57@, 58@, 59@ = Char.GetCoordinates(137@(52@,2i))
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
72@ = Math.GetDistanceBetweenCoords3D(57@, 58@, 59@, 60@, 61@, 62@)
if 
  15.0 > 72@
goto_if_false @MANSIO2_37505
189@(52@,2i) = 12
if 
  213@ <> 1
goto_if_false @MANSIO2_37485
Text.PrintNow('MAN2_45', 7000, 1)

:MANSIO2_37485
281@(52@,2i) = 1
gosub @MANSIO2_38806
return 

:MANSIO2_37505
if 
  281@(52@,2i) == 0
goto_if_false @MANSIO2_37641
if 
  not Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_37641
if 
  Char.CanSeeDeadChar(137@(52@,2i), PedType.Mission2)
goto_if_false @MANSIO2_37641
189@(52@,2i) = 12
281@(52@,2i) = 1
Text.PrintNow('MAN2_48', 7000, 1)
gosub @MANSIO2_38806
if 
  213@ == 0
goto_if_false @MANSIO2_37639
213@ = 4

:MANSIO2_37639
return 

:MANSIO2_37641
if 
  281@(52@,2i) == 0
goto_if_false @MANSIO2_38012
if 
  not Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_38012
if 
  284@ == 1
goto_if_false @MANSIO2_37791
189@(52@,2i) = 12
if 
  213@ <> 1
goto_if_false @MANSIO2_37746
Text.PrintNow('MAN2_45', 7000, 1)

:MANSIO2_37746
281@(52@,2i) = 1
gosub @MANSIO2_38806
if 
  213@ == 0
goto_if_false @MANSIO2_37789
213@ = 2

:MANSIO2_37789
return 

:MANSIO2_37791
if 
  285@ == 1
goto_if_false @MANSIO2_38012
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
60@, 61@, 62@ = Char.GetCoordinates(137@(52@,2i))
70@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  12.0 > 70@
goto_if_false @MANSIO2_38012
set_lvar_float_to_lvar_float 71@ = 59@
sub_float_lvar_from_float_lvar 71@ -= 62@
if 
  0.0 > 71@
goto_if_false @MANSIO2_37926
71@ *= -1.0

:MANSIO2_37926
if 
  5.0 > 71@
goto_if_false @MANSIO2_38012
189@(52@,2i) = 12
if 
  213@ <> 1
goto_if_false @MANSIO2_37992
Text.PrintNow('MAN2_45', 7000, 1)

:MANSIO2_37992
281@(52@,2i) = 1
gosub @MANSIO2_38806
return 

:MANSIO2_38012
if 
  281@(52@,2i) == 0
goto_if_false @MANSIO2_38277
if 
  not Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_38277
if 
  Char.IsInAnyCar(137@(52@,2i))
goto_if_false @MANSIO2_38189
$stealth_help_flag = Char.StoreCarIsInNoSave(137@(52@,2i))
if or
  Car.HasBeenDamagedByChar($stealth_help_flag, $stattreadstamina_ctr)
  Char.HasBeenDamagedByChar(137@(52@,2i), $stattreadstamina_ctr)
goto_if_false @MANSIO2_38182
189@(52@,2i) = 12
if 
  213@ <> 1
goto_if_false @MANSIO2_38162
Text.PrintNow('MAN2_45', 7000, 1)

:MANSIO2_38162
281@(52@,2i) = 1
gosub @MANSIO2_38806
return 

:MANSIO2_38182
goto @MANSIO2_38277

:MANSIO2_38189
if 
  Char.HasBeenDamagedByChar(137@(52@,2i), $stattreadstamina_ctr)
goto_if_false @MANSIO2_38277
189@(52@,2i) = 12
if 
  213@ <> 1
goto_if_false @MANSIO2_38257
Text.PrintNow('MAN2_45', 7000, 1)

:MANSIO2_38257
281@(52@,2i) = 1
gosub @MANSIO2_38806
return 

:MANSIO2_38277
return 

:MANSIO2_38279
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_38301
return 

:MANSIO2_38301
if 
  283@ == 0
goto_if_false @MANSIO2_38321
return 

:MANSIO2_38321
73@ = 0
if 
  Char.HasSpottedCharInFront(137@(52@,2i), $stattreadstamina_ctr)
goto_if_false @MANSIO2_38358
73@ = 1

:MANSIO2_38358
if 
  73@ == 0
goto_if_false @MANSIO2_38539
if 
  284@ == 1
goto_if_false @MANSIO2_38539
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
60@, 61@, 62@ = Char.GetCoordinates(137@(52@,2i))
70@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  75.0 > 70@
goto_if_false @MANSIO2_38539
set_lvar_float_to_lvar_float 71@ = 59@
sub_float_lvar_from_float_lvar 71@ -= 62@
if 
  0.0 > 71@
goto_if_false @MANSIO2_38511
71@ *= -1.0

:MANSIO2_38511
if 
  5.0 > 71@
goto_if_false @MANSIO2_38539
73@ = 1

:MANSIO2_38539
if 
  73@ == 0
goto_if_false @MANSIO2_38720
if 
  285@ == 1
goto_if_false @MANSIO2_38720
57@, 58@, 59@ = Char.GetCoordinates($stattreadstamina_ctr)
60@, 61@, 62@ = Char.GetCoordinates(137@(52@,2i))
70@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  12.0 > 70@
goto_if_false @MANSIO2_38720
set_lvar_float_to_lvar_float 71@ = 59@
sub_float_lvar_from_float_lvar 71@ -= 62@
if 
  0.0 > 71@
goto_if_false @MANSIO2_38692
71@ *= -1.0

:MANSIO2_38692
if 
  5.0 > 71@
goto_if_false @MANSIO2_38720
73@ = 1

:MANSIO2_38720
if 
  73@ == 0
goto_if_false @MANSIO2_38779
if or
  Char.HasBeenDamagedByChar(137@(52@,2i), $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(137@(52@,2i), WeaponType.PistolSilenced)
goto_if_false @MANSIO2_38779
73@ = 1

:MANSIO2_38779
if 
  73@ == 1
goto_if_false @MANSIO2_38804
gosub @MANSIO2_38806

:MANSIO2_38804
return 

:MANSIO2_38806
if 
  not Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_38851
57@, 58@, 59@ = Char.GetCoordinates(137@(52@,2i))
goto @MANSIO2_38869

:MANSIO2_38851
57@, 58@, 59@ = Char.GetCoordinatesOfDied(137@(52@,2i))

:MANSIO2_38869
48@ = 0

:MANSIO2_38876
if 
  not Char.IsDead(131@(48@,6i))
goto_if_false @MANSIO2_39108
60@, 61@, 62@ = Char.GetCoordinates(131@(48@,6i))
72@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  20.0 > 72@
goto_if_false @MANSIO2_39108
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if 
  0.0 > 70@
goto_if_false @MANSIO2_38999
70@ *= -1.0

:MANSIO2_38999
if 
  6.0 > 70@
goto_if_false @MANSIO2_39108
if 
  269@(48@,6i) == 1
goto_if_false @MANSIO2_39108
if and
  183@(48@,6i) <> 23
  183@(48@,6i) <> 26
  183@(48@,6i) <> 24
  183@(48@,6i) <> 25
goto_if_false @MANSIO2_39108
183@(48@,6i) = 23

:MANSIO2_39108
48@ += 1
  48@ >= 6
goto_if_false @MANSIO2_38876
48@ = 0

:MANSIO2_39136
if and
  not Char.IsDead(137@(48@,2i))
  not is_int_lvar_equal_to_int_lvar 52@ == 48@
goto_if_false @MANSIO2_39357
60@, 61@, 62@ = Char.GetCoordinates(137@(48@,2i))
72@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  20.0 > 72@
goto_if_false @MANSIO2_39357
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if 
  0.0 > 70@
goto_if_false @MANSIO2_39267
70@ *= -1.0

:MANSIO2_39267
if 
  6.0 > 70@
goto_if_false @MANSIO2_39357
if 
  267@ == 0
goto_if_false @MANSIO2_39357
if 
  281@(48@,2i) == 0
goto_if_false @MANSIO2_39350
189@(48@,2i) = 12
281@(48@,2i) = 1

:MANSIO2_39350
goto @MANSIO2_39357

:MANSIO2_39357
48@ += 1
  48@ >= 2
goto_if_false @MANSIO2_39136
return 

:MANSIO2_39380
57@, 58@, 59@ = Char.GetCoordinatesOfDied(137@(52@,2i))
48@ = 0

:MANSIO2_39405
if and
  not Char.IsDead(131@(48@,6i))
  not is_int_lvar_equal_to_int_lvar 52@ == 48@
goto_if_false @MANSIO2_39645
60@, 61@, 62@ = Char.GetCoordinates(131@(48@,6i))
72@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  10.0 > 72@
goto_if_false @MANSIO2_39645
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if 
  0.0 > 70@
goto_if_false @MANSIO2_39536
70@ *= -1.0

:MANSIO2_39536
if 
  6.0 > 70@
goto_if_false @MANSIO2_39645
if 
  269@(48@,6i) == 1
goto_if_false @MANSIO2_39645
if and
  183@(48@,6i) <> 23
  183@(48@,6i) <> 26
  183@(48@,6i) <> 24
  183@(48@,6i) <> 25
goto_if_false @MANSIO2_39645
183@(48@,6i) = 23

:MANSIO2_39645
48@ += 1
  48@ >= 6
goto_if_false @MANSIO2_39405
48@ = 0

:MANSIO2_39673
if 
  not Char.IsDead(137@(48@,2i))
goto_if_false @MANSIO2_39920
60@, 61@, 62@ = Char.GetCoordinates(137@(48@,2i))
72@ = Math.GetDistanceBetweenCoords2D(57@, 58@, 60@, 61@)
if 
  10.0 > 72@
goto_if_false @MANSIO2_39920
set_lvar_float_to_lvar_float 70@ = 59@
sub_float_lvar_from_float_lvar 70@ -= 62@
if 
  0.0 > 70@
goto_if_false @MANSIO2_39796
70@ *= -1.0

:MANSIO2_39796
if 
  6.0 > 70@
goto_if_false @MANSIO2_39920
if 
  267@ == 0
goto_if_false @MANSIO2_39920
if 
  281@(48@,2i) == 0
goto_if_false @MANSIO2_39913
189@(48@,2i) = 12
if 
  213@ <> 1
goto_if_false @MANSIO2_39902
Text.PrintNow('MAN2_45', 7000, 1)

:MANSIO2_39902
281@(48@,2i) = 1

:MANSIO2_39913
goto @MANSIO2_39920

:MANSIO2_39920
48@ += 1
  48@ >= 2
goto_if_false @MANSIO2_39673
return 

:MANSIO2_39943
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_39965
return 

:MANSIO2_39965
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_40140 {caseNum1} 0 {caseLabel1} @MANSIO2_40084 {caseNum2} 1 {caseLabel2} @MANSIO2_40028 {caseNum3} -1 {caseLabel3} @MANSIO2_40160 {caseNum4} -1 {caseLabel4} @MANSIO2_40160 {caseNum5} -1 {caseLabel5} @MANSIO2_40160 {caseNum6} -1 {caseLabel6} @MANSIO2_40160 {caseNum7} -1 {caseLabel7} @MANSIO2_40160

:MANSIO2_40028
Char.SetCoordinates(137@(52@,2i), -1421.757, 496.6105, 2.0463)
Char.SetHeading(137@(52@,2i), 175.6815)
189@(52@,2i) = 16
goto @MANSIO2_40160

:MANSIO2_40084
Char.SetCoordinates(137@(52@,2i), -1346.219, 497.9554, 10.1953)
Char.SetHeading(137@(52@,2i), 270.0)
189@(52@,2i) = 1
goto @MANSIO2_40160

:MANSIO2_40140
write_debug "UNKNOWN_MECHANIC"

:MANSIO2_40160
Char.SetDecisionMaker(137@(52@,2i), 180@)
return 

:MANSIO2_40174
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_40196
return 

:MANSIO2_40196
switch_start 52@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_40290 {caseNum1} 1 {caseLabel1} @MANSIO2_40259 {caseNum2} -1 {caseLabel2} @MANSIO2_40319 {caseNum3} -1 {caseLabel3} @MANSIO2_40319 {caseNum4} -1 {caseLabel4} @MANSIO2_40319 {caseNum5} -1 {caseLabel5} @MANSIO2_40319 {caseNum6} -1 {caseLabel6} @MANSIO2_40319 {caseNum7} -1 {caseLabel7} @MANSIO2_40319

:MANSIO2_40259
set_lvar_int_to_lvar_int 204@(52@,2i) = 46@
204@(52@,2i) += 7000
goto @MANSIO2_40319

:MANSIO2_40290
write_debug "UNKNOWN_MECHANIC_FOR_CHAT"

:MANSIO2_40319
189@(52@,2i) = 7
return 

:MANSIO2_40332
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_40354
return 

:MANSIO2_40354
switch_start 52@ {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_40458 {caseNum1} 1 {caseLabel1} @MANSIO2_40417 {caseNum2} -1 {caseLabel2} @MANSIO2_40491 {caseNum3} -1 {caseLabel3} @MANSIO2_40491 {caseNum4} -1 {caseLabel4} @MANSIO2_40491 {caseNum5} -1 {caseLabel5} @MANSIO2_40491 {caseNum6} -1 {caseLabel6} @MANSIO2_40491 {caseNum7} -1 {caseLabel7} @MANSIO2_40491

:MANSIO2_40417
if 
  is_int_lvar_greater_than_int_lvar 46@ > 204@(52@,2i)
goto_if_false @MANSIO2_40451
189@(52@,2i) = 1

:MANSIO2_40451
goto @MANSIO2_40491

:MANSIO2_40458
write_debug "UNKNOWN_MECHANIC_FOR_CHATTING"

:MANSIO2_40491
return 

:MANSIO2_40493
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_40515
return 

:MANSIO2_40515
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_40660 {caseNum1} 0 {caseLabel1} @MANSIO2_40619 {caseNum2} 1 {caseLabel2} @MANSIO2_40578 {caseNum3} -1 {caseLabel3} @MANSIO2_40690 {caseNum4} -1 {caseLabel4} @MANSIO2_40690 {caseNum5} -1 {caseLabel5} @MANSIO2_40690 {caseNum6} -1 {caseLabel6} @MANSIO2_40690 {caseNum7} -1 {caseLabel7} @MANSIO2_40690

:MANSIO2_40578
if 
  not Car.IsDead(154@)
goto_if_false @MANSIO2_40612
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsDriver(137@(52@,2i), 154@, -2)

:MANSIO2_40612
goto @MANSIO2_40690

:MANSIO2_40619
if 
  not Car.IsDead(155@)
goto_if_false @MANSIO2_40653
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsDriver(137@(52@,2i), 155@, -2)

:MANSIO2_40653
goto @MANSIO2_40690

:MANSIO2_40660
write_debug "UNKNOWN_MECHANIC_FOR_ENTER"

:MANSIO2_40690
189@(52@,2i) = 2
return 

:MANSIO2_40703
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_40725
return 

:MANSIO2_40725
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_40938 {caseNum1} 0 {caseLabel1} @MANSIO2_40863 {caseNum2} 1 {caseLabel2} @MANSIO2_40788 {caseNum3} -1 {caseLabel3} @MANSIO2_40971 {caseNum4} -1 {caseLabel4} @MANSIO2_40971 {caseNum5} -1 {caseLabel5} @MANSIO2_40971 {caseNum6} -1 {caseLabel6} @MANSIO2_40971 {caseNum7} -1 {caseLabel7} @MANSIO2_40971

:MANSIO2_40788
if 
  Car.IsDead(154@)
goto_if_false @MANSIO2_40822
189@(52@,2i) = 16
goto @MANSIO2_40856

:MANSIO2_40822
if 
  Char.IsInCar(137@(52@,2i), 154@)
goto_if_false @MANSIO2_40856
189@(52@,2i) = 3

:MANSIO2_40856
goto @MANSIO2_40971

:MANSIO2_40863
if 
  Car.IsDead(155@)
goto_if_false @MANSIO2_40897
189@(52@,2i) = 16
goto @MANSIO2_40931

:MANSIO2_40897
if 
  Char.IsInCar(137@(52@,2i), 155@)
goto_if_false @MANSIO2_40931
189@(52@,2i) = 3

:MANSIO2_40931
goto @MANSIO2_40971

:MANSIO2_40938
write_debug "UNKNOWN_MECHANIC_FOR_ENTERING"

:MANSIO2_40971
return 

:MANSIO2_40973
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_40995
return 

:MANSIO2_40995
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_41108 {caseNum1} 0 {caseLabel1} @MANSIO2_41083 {caseNum2} 1 {caseLabel2} @MANSIO2_41058 {caseNum3} -1 {caseLabel3} @MANSIO2_41139 {caseNum4} -1 {caseLabel4} @MANSIO2_41139 {caseNum5} -1 {caseLabel5} @MANSIO2_41139 {caseNum6} -1 {caseLabel6} @MANSIO2_41139 {caseNum7} -1 {caseLabel7} @MANSIO2_41139

:MANSIO2_41058
gosub @MANSIO2_44624
189@(52@,2i) = 4
goto @MANSIO2_41139

:MANSIO2_41083
gosub @MANSIO2_45356
189@(52@,2i) = 4
goto @MANSIO2_41139

:MANSIO2_41108
write_debug "UNKNOWN_MECHANIC_FOR_WANDER"

:MANSIO2_41139
return 

:MANSIO2_41141
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_41163
return 

:MANSIO2_41163
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_41428 {caseNum1} 0 {caseLabel1} @MANSIO2_41327 {caseNum2} 1 {caseLabel2} @MANSIO2_41226 {caseNum3} -1 {caseLabel3} @MANSIO2_41462 {caseNum4} -1 {caseLabel4} @MANSIO2_41462 {caseNum5} -1 {caseLabel5} @MANSIO2_41462 {caseNum6} -1 {caseLabel6} @MANSIO2_41462 {caseNum7} -1 {caseLabel7} @MANSIO2_41462

:MANSIO2_41226
if 
  is_int_lvar_greater_than_int_lvar 46@ > 204@(52@,2i)
goto_if_false @MANSIO2_41320
gosub @MANSIO2_44965
if 
  73@ == 1
goto_if_false @MANSIO2_41320
50@ = Math.RandomIntInRange(2000, 4000)
set_lvar_int_to_lvar_int 204@(52@,2i) = 46@
add_int_lvar_to_int_lvar 204@(52@,2i) += 50@
189@(52@,2i) = 5

:MANSIO2_41320
goto @MANSIO2_41462

:MANSIO2_41327
if 
  is_int_lvar_greater_than_int_lvar 46@ > 204@(52@,2i)
goto_if_false @MANSIO2_41421
gosub @MANSIO2_45742
if 
  73@ == 1
goto_if_false @MANSIO2_41421
50@ = Math.RandomIntInRange(2000, 4000)
set_lvar_int_to_lvar_int 204@(52@,2i) = 46@
add_int_lvar_to_int_lvar 204@(52@,2i) += 50@
189@(52@,2i) = 5

:MANSIO2_41421
goto @MANSIO2_41462

:MANSIO2_41428
write_debug "UNKNOWN_MECHANIC_FOR_WANDERING"

:MANSIO2_41462
return 

:MANSIO2_41464
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_41486
return 

:MANSIO2_41486
if 
  is_int_lvar_greater_than_int_lvar 46@ > 204@(52@,2i)
goto_if_false @MANSIO2_41520
189@(52@,2i) = 3

:MANSIO2_41520
return 

:MANSIO2_41522
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_41544
return 

:MANSIO2_41544
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_41868 {caseNum1} 0 {caseLabel1} @MANSIO2_41690 {caseNum2} 1 {caseLabel2} @MANSIO2_41607 {caseNum3} -1 {caseLabel3} @MANSIO2_41903 {caseNum4} -1 {caseLabel4} @MANSIO2_41903 {caseNum5} -1 {caseLabel5} @MANSIO2_41903 {caseNum6} -1 {caseLabel6} @MANSIO2_41903 {caseNum7} -1 {caseLabel7} @MANSIO2_41903

:MANSIO2_41607
56@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPathNodesToCoord(-1, -1420.125, 512.2188, 2.0463, 6, -2)
Sequence.Close(56@)
Char.PerformSequence(137@(52@,2i), 56@)
Sequence.Clear(56@)
189@(52@,2i) = 9
204@(52@,2i) = 0
goto @MANSIO2_41903

:MANSIO2_41690
57@, 58@, 59@ = Char.GetCoordinates(137@(52@,2i))
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  is_float_lvar_greater_than_float_lvar 57@ > 60@
goto_if_false @MANSIO2_41785
56@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPathNodesToCoord(-1, -1316.862, 490.2876, 10.2026, 6, -2)
Sequence.Close(56@)
goto @MANSIO2_41822

:MANSIO2_41785
56@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPathNodesToCoord(-1, -1394.846, 491.5163, 10.1953, 6, -2)
Sequence.Close(56@)

:MANSIO2_41822
Char.PerformSequence(137@(52@,2i), 56@)
Sequence.Clear(56@)
189@(52@,2i) = 9
204@(52@,2i) = 0
goto @MANSIO2_41903

:MANSIO2_41868
write_debug "UNKNOWN_MECHANIC_FOR_GOTO_COWER"

:MANSIO2_41903
return 

:MANSIO2_41905
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_41927
return 

:MANSIO2_41927
if 
  is_int_lvar_greater_than_int_lvar 204@(52@,2i) > 46@
goto_if_false @MANSIO2_41952
return 

:MANSIO2_41952
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_42371 {caseNum1} 0 {caseLabel1} @MANSIO2_42193 {caseNum2} 1 {caseLabel2} @MANSIO2_42015 {caseNum3} -1 {caseLabel3} @MANSIO2_42410 {caseNum4} -1 {caseLabel4} @MANSIO2_42410 {caseNum5} -1 {caseLabel5} @MANSIO2_42410 {caseNum6} -1 {caseLabel6} @MANSIO2_42410 {caseNum7} -1 {caseLabel7} @MANSIO2_42410

:MANSIO2_42015
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1420.125, 512.2188, 2.0463, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_42096
189@(52@,2i) = 10
204@(52@,2i) = 0
goto @MANSIO2_42170

:MANSIO2_42096
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1389.81, 491.263, 2.0463, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_42170
189@(52@,2i) = 10
204@(52@,2i) = 0

:MANSIO2_42170
211@(52@,2i) = Char.GetHealth(137@(52@,2i))
goto @MANSIO2_42410

:MANSIO2_42193
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1394.846, 491.5163, 10.1953, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_42274
189@(52@,2i) = 10
204@(52@,2i) = 0
goto @MANSIO2_42348

:MANSIO2_42274
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1316.862, 490.2876, 10.2026, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_42348
189@(52@,2i) = 10
204@(52@,2i) = 0

:MANSIO2_42348
211@(52@,2i) = Char.GetHealth(137@(52@,2i))
goto @MANSIO2_42410

:MANSIO2_42371
write_debug "UNKNOWN_MECHANIC_FOR_GOING_TO_COWER"

:MANSIO2_42410
gosub @MANSIO2_38279
return 

:MANSIO2_42419
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_42441
return 

:MANSIO2_42441
50@ = Char.GetHealth(137@(52@,2i))
if 
  is_int_lvar_greater_than_int_lvar 211@(52@,2i) > 50@
goto_if_false @MANSIO2_42512
189@(52@,2i) = 11
set_lvar_int_to_lvar_int 211@(52@,2i) = 50@
204@(52@,2i) = 0
return 

:MANSIO2_42512
if 
  is_int_lvar_greater_than_int_lvar 204@(52@,2i) > 46@
goto_if_false @MANSIO2_42537
return 

:MANSIO2_42537
40@ = Char.GetScriptTaskStatus(137@(52@,2i), 1477)
if 
  is_int_lvar_equal_to_constant 40@ == 7
goto_if_false @MANSIO2_42605
Task.Duck(137@(52@,2i), -2)
set_lvar_int_to_lvar_int 204@(52@,2i) = 46@
204@(52@,2i) += 1000

:MANSIO2_42605
gosub @MANSIO2_38279
return 

:MANSIO2_42614
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_42636
return 

:MANSIO2_42636
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_43013 {caseNum1} 0 {caseLabel1} @MANSIO2_42856 {caseNum2} 1 {caseLabel2} @MANSIO2_42699 {caseNum3} -1 {caseLabel3} @MANSIO2_43050 {caseNum4} -1 {caseLabel4} @MANSIO2_43050 {caseNum5} -1 {caseLabel5} @MANSIO2_43050 {caseNum6} -1 {caseLabel6} @MANSIO2_43050 {caseNum7} -1 {caseLabel7} @MANSIO2_43050

:MANSIO2_42699
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1420.125, 512.2188, 2.0463, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_42786
Task.FollowPathNodesToCoord(137@(52@,2i), -1389.81, 491.263, 2.0463, 6, -2)
goto @MANSIO2_42814

:MANSIO2_42786
Task.FollowPathNodesToCoord(137@(52@,2i), -1420.125, 512.2188, 2.0463, 6, -2)

:MANSIO2_42814
189@(52@,2i) = 9
set_lvar_int_to_lvar_int 204@(52@,2i) = 46@
204@(52@,2i) += 10000
goto @MANSIO2_43050

:MANSIO2_42856
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1394.846, 491.5163, 10.1953, 2.0, 2.0, 2.0, False)
goto_if_false @MANSIO2_42943
Task.FollowPathNodesToCoord(137@(52@,2i), -1316.862, 490.2876, 10.2026, 6, -2)
goto @MANSIO2_42971

:MANSIO2_42943
Task.FollowPathNodesToCoord(137@(52@,2i), -1394.846, 491.5163, 10.1953, 6, -2)

:MANSIO2_42971
189@(52@,2i) = 9
set_lvar_int_to_lvar_int 204@(52@,2i) = 46@
204@(52@,2i) += 10000
goto @MANSIO2_43050

:MANSIO2_43013
write_debug "UNKNOWN_MECHANIC_FOR_CHANGE_COWER"

:MANSIO2_43050
return 

:MANSIO2_43052
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_43074
return 

:MANSIO2_43074
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_43376 {caseNum1} 0 {caseLabel1} @MANSIO2_43209 {caseNum2} 1 {caseLabel2} @MANSIO2_43137 {caseNum3} -1 {caseLabel3} @MANSIO2_43411 {caseNum4} -1 {caseLabel4} @MANSIO2_43411 {caseNum5} -1 {caseLabel5} @MANSIO2_43411 {caseNum6} -1 {caseLabel6} @MANSIO2_43411 {caseNum7} -1 {caseLabel7} @MANSIO2_43411

:MANSIO2_43137
56@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPathNodesToCoord(-1, -1414.349, 514.0193, 2.0391, 6, -2)
Sequence.Close(56@)
Char.PerformSequence(137@(52@,2i), 56@)
Sequence.Clear(56@)
189@(52@,2i) = 13
goto @MANSIO2_43411

:MANSIO2_43209
57@, 58@, 59@ = Char.GetCoordinates(137@(52@,2i))
60@, 61@, 62@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  is_float_lvar_greater_than_float_lvar 57@ > 60@
goto_if_false @MANSIO2_43304
56@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPathNodesToCoord(-1, -1313.373, 488.6687, 10.2026, 6, -2)
Sequence.Close(56@)
goto @MANSIO2_43341

:MANSIO2_43304
56@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPathNodesToCoord(-1, -1412.397, 488.6644, 10.2026, 6, -2)
Sequence.Close(56@)

:MANSIO2_43341
Char.PerformSequence(137@(52@,2i), 56@)
Sequence.Clear(56@)
189@(52@,2i) = 13
goto @MANSIO2_43411

:MANSIO2_43376
write_debug "UNKNOWN_MECHANIC_FOR_GOTO_ALARM"

:MANSIO2_43411
return 

:MANSIO2_43413
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_43435
return 

:MANSIO2_43435
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_43817 {caseNum1} 0 {caseLabel1} @MANSIO2_43617 {caseNum2} 1 {caseLabel2} @MANSIO2_43498 {caseNum3} -1 {caseLabel3} @MANSIO2_43856 {caseNum4} -1 {caseLabel4} @MANSIO2_43856 {caseNum5} -1 {caseLabel5} @MANSIO2_43856 {caseNum6} -1 {caseLabel6} @MANSIO2_43856 {caseNum7} -1 {caseLabel7} @MANSIO2_43856

:MANSIO2_43498
if 
  267@ == 1
goto_if_false @MANSIO2_43536
189@(52@,2i) = 8
return 
goto @MANSIO2_43610

:MANSIO2_43536
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1414.349, 514.8193, 2.0391, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_43610
189@(52@,2i) = 14
204@(52@,2i) = 0

:MANSIO2_43610
goto @MANSIO2_43856

:MANSIO2_43617
if 
  267@ == 1
goto_if_false @MANSIO2_43655
189@(52@,2i) = 8
return 
goto @MANSIO2_43810

:MANSIO2_43655
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1313.373, 487.8687, 10.2026, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_43736
189@(52@,2i) = 14
204@(52@,2i) = 0
goto @MANSIO2_43810

:MANSIO2_43736
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1412.397, 487.8644, 10.2026, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_43810
189@(52@,2i) = 14
204@(52@,2i) = 0

:MANSIO2_43810
goto @MANSIO2_43856

:MANSIO2_43817
write_debug "UNKNOWN_MECHANIC_FOR_GOING_TO_ALARM"

:MANSIO2_43856
gosub @MANSIO2_38279
return 

:MANSIO2_43865
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_43887
return 

:MANSIO2_43887
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_44303 {caseNum1} 0 {caseLabel1} @MANSIO2_44062 {caseNum2} 1 {caseLabel2} @MANSIO2_43950 {caseNum3} -1 {caseLabel3} @MANSIO2_44341 {caseNum4} -1 {caseLabel4} @MANSIO2_44341 {caseNum5} -1 {caseLabel5} @MANSIO2_44341 {caseNum6} -1 {caseLabel6} @MANSIO2_44341 {caseNum7} -1 {caseLabel7} @MANSIO2_44341

:MANSIO2_43950
Task.CharSlideToCoordAndPlayAnim(137@(52@,2i), -1414.349, 513.4193, 2.0391, 0.0, 0.2, "CARDS_RAISE", "CASINO", 10.0, False, False, False, False, -1)
set_lvar_int_to_lvar_int 204@(52@,2i) = 46@
204@(52@,2i) += 2000
189@(52@,2i) = 15
goto @MANSIO2_44341

:MANSIO2_44062
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1313.373, 487.8687, 10.2026, 1.2, 1.2, 1.2, False)
goto_if_false @MANSIO2_44191
Task.CharSlideToCoordAndPlayAnim(137@(52@,2i), -1313.373, 489.3687, 10.2026, 180.0, 0.2, "CARDS_RAISE", "CASINO", 10.0, False, False, False, False, -1)
goto @MANSIO2_44261

:MANSIO2_44191
Task.CharSlideToCoordAndPlayAnim(137@(52@,2i), -1412.397, 489.3644, 10.2026, 180.0, 0.2, "CARDS_RAISE", "CASINO", 10.0, False, False, False, False, -1)

:MANSIO2_44261
set_lvar_int_to_lvar_int 204@(52@,2i) = 46@
204@(52@,2i) += 2000
189@(52@,2i) = 15
goto @MANSIO2_44341

:MANSIO2_44303
write_debug "UNKNOWN_MECHANIC_FOR_TRIGGER_ALARM"

:MANSIO2_44341
return 

:MANSIO2_44343
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_44365
return 

:MANSIO2_44365
switch_start 52@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_44574 {caseNum1} 0 {caseLabel1} @MANSIO2_44501 {caseNum2} 1 {caseLabel2} @MANSIO2_44428 {caseNum3} -1 {caseLabel3} @MANSIO2_44615 {caseNum4} -1 {caseLabel4} @MANSIO2_44615 {caseNum5} -1 {caseLabel5} @MANSIO2_44615 {caseNum6} -1 {caseLabel6} @MANSIO2_44615 {caseNum7} -1 {caseLabel7} @MANSIO2_44615

:MANSIO2_44428
if 
  is_int_lvar_greater_than_int_lvar 46@ > 204@(52@,2i)
goto_if_false @MANSIO2_44494
189@(52@,2i) = 8
267@ = 1
if 
  213@ == 0
goto_if_false @MANSIO2_44494
213@ = 2

:MANSIO2_44494
goto @MANSIO2_44615

:MANSIO2_44501
if 
  is_int_lvar_greater_than_int_lvar 46@ > 204@(52@,2i)
goto_if_false @MANSIO2_44567
189@(52@,2i) = 8
267@ = 1
if 
  213@ == 0
goto_if_false @MANSIO2_44567
213@ = 2

:MANSIO2_44567
goto @MANSIO2_44615

:MANSIO2_44574
write_debug "UNKNOWN_MECHANIC_FOR_TRIGGERING_ALARM"

:MANSIO2_44615
gosub @MANSIO2_38279
return 

:MANSIO2_44624
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_44646
return 

:MANSIO2_44646
if 
  Car.IsDead(154@)
goto_if_false @MANSIO2_44675
189@(52@,2i) = 16
return 

:MANSIO2_44675
50@ = Math.RandomIntInRange(0, 4)
switch_start 50@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_44927 {caseNum1} 0 {caseLabel1} @MANSIO2_44747 {caseNum2} 1 {caseLabel2} @MANSIO2_44792 {caseNum3} 2 {caseLabel3} @MANSIO2_44837 {caseNum4} 3 {caseLabel4} @MANSIO2_44882 {caseNum5} -1 {caseLabel5} @MANSIO2_44927 {caseNum6} -1 {caseLabel6} @MANSIO2_44927 {caseNum7} -1 {caseLabel7} @MANSIO2_44927

:MANSIO2_44747
Task.CarDriveToCoord(137@(52@,2i), 154@, -1400.205, 507.259, 2.0463, 2.0, DriveMode.Straightline, 0, DrivingMode.StopForCars)
goto @MANSIO2_44927

:MANSIO2_44792
Task.CarDriveToCoord(137@(52@,2i), 154@, -1394.387, 506.6834, 2.0463, 2.0, DriveMode.Straightline, 0, DrivingMode.StopForCars)
goto @MANSIO2_44927

:MANSIO2_44837
Task.CarDriveToCoord(137@(52@,2i), 154@, -1399.348, 501.5815, 2.0463, 2.0, DriveMode.Straightline, 0, DrivingMode.StopForCars)
goto @MANSIO2_44927

:MANSIO2_44882
Task.CarDriveToCoord(137@(52@,2i), 154@, -1410.671, 501.3295, 2.0391, 2.0, DriveMode.Straightline, 0, DrivingMode.StopForCars)
goto @MANSIO2_44927

:MANSIO2_44927
set_lvar_int_to_lvar_int 209@(52@,2i) = 50@
set_lvar_int_to_lvar_int 204@(52@,2i) = 46@
204@(52@,2i) += 10000
return 

:MANSIO2_44965
73@ = 0
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_44994
return 

:MANSIO2_44994
if 
  Car.IsDead(154@)
goto_if_false @MANSIO2_45023
189@(52@,2i) = 16
return 

:MANSIO2_45023
switch_start 209@(52@,2i) {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_45354 {caseNum1} 0 {caseLabel1} @MANSIO2_45090 {caseNum2} 1 {caseLabel2} @MANSIO2_45156 {caseNum3} 2 {caseLabel3} @MANSIO2_45222 {caseNum4} 3 {caseLabel4} @MANSIO2_45288 {caseNum5} -1 {caseLabel5} @MANSIO2_45354 {caseNum6} -1 {caseLabel6} @MANSIO2_45354 {caseNum7} -1 {caseLabel7} @MANSIO2_45354

:MANSIO2_45090
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1400.205, 507.259, 2.0463, 4.0, 4.0, 4.0, False)
goto_if_false @MANSIO2_45149
73@ = 1

:MANSIO2_45149
goto @MANSIO2_45354

:MANSIO2_45156
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1394.387, 506.6834, 2.0463, 4.0, 4.0, 4.0, False)
goto_if_false @MANSIO2_45215
73@ = 1

:MANSIO2_45215
goto @MANSIO2_45354

:MANSIO2_45222
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1399.348, 501.5815, 2.0463, 4.0, 4.0, 4.0, False)
goto_if_false @MANSIO2_45281
73@ = 1

:MANSIO2_45281
goto @MANSIO2_45354

:MANSIO2_45288
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1410.671, 501.3295, 2.0391, 4.0, 4.0, 4.0, False)
goto_if_false @MANSIO2_45347
73@ = 1

:MANSIO2_45347
goto @MANSIO2_45354

:MANSIO2_45354
return 

:MANSIO2_45356
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_45378
return 

:MANSIO2_45378
if 
  Car.IsDead(155@)
goto_if_false @MANSIO2_45407
189@(52@,2i) = 16
return 

:MANSIO2_45407
50@ = Math.RandomIntInRange(0, 4)
switch_start 50@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_45704 {caseNum1} 0 {caseLabel1} @MANSIO2_45479 {caseNum2} 1 {caseLabel2} @MANSIO2_45524 {caseNum3} 2 {caseLabel3} @MANSIO2_45569 {caseNum4} 3 {caseLabel4} @MANSIO2_45614 {caseNum5} 4 {caseLabel5} @MANSIO2_45659 {caseNum6} -1 {caseLabel6} @MANSIO2_45704 {caseNum7} -1 {caseLabel7} @MANSIO2_45704

:MANSIO2_45479
Task.CarDriveToCoord(137@(52@,2i), 155@, -1321.422, 495.9306, 10.2026, 2.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
goto @MANSIO2_45704

:MANSIO2_45524
Task.CarDriveToCoord(137@(52@,2i), 155@, -1305.444, 497.4329, 10.2026, 2.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
goto @MANSIO2_45704

:MANSIO2_45569
Task.CarDriveToCoord(137@(52@,2i), 155@, -1307.425, 503.4752, 10.1953, 2.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
goto @MANSIO2_45704

:MANSIO2_45614
Task.CarDriveToCoord(137@(52@,2i), 155@, -1351.098, 506.4217, 10.1953, 2.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
goto @MANSIO2_45704

:MANSIO2_45659
Task.CarDriveToCoord(137@(52@,2i), 155@, -1390.884, 507.6548, 10.1953, 3.0, DriveMode.Straightline, 0, DrivingMode.AvoidCars)
goto @MANSIO2_45704

:MANSIO2_45704
set_lvar_int_to_lvar_int 209@(52@,2i) = 50@
set_lvar_int_to_lvar_int 204@(52@,2i) = 46@
204@(52@,2i) += 10000
return 

:MANSIO2_45742
73@ = 0
if 
  Char.IsDead(137@(52@,2i))
goto_if_false @MANSIO2_45771
return 

:MANSIO2_45771
if 
  Car.IsDead(154@)
goto_if_false @MANSIO2_45800
189@(52@,2i) = 16
return 

:MANSIO2_45800
switch_start 209@(52@,2i) {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_46197 {caseNum1} 0 {caseLabel1} @MANSIO2_45867 {caseNum2} 1 {caseLabel2} @MANSIO2_45933 {caseNum3} 2 {caseLabel3} @MANSIO2_45999 {caseNum4} 3 {caseLabel4} @MANSIO2_46065 {caseNum5} 4 {caseLabel5} @MANSIO2_46131 {caseNum6} -1 {caseLabel6} @MANSIO2_46197 {caseNum7} -1 {caseLabel7} @MANSIO2_46197

:MANSIO2_45867
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1321.422, 495.9306, 10.2026, 4.0, 4.0, 4.0, False)
goto_if_false @MANSIO2_45926
73@ = 1

:MANSIO2_45926
goto @MANSIO2_46197

:MANSIO2_45933
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1305.444, 497.4329, 10.2026, 4.0, 4.0, 4.0, False)
goto_if_false @MANSIO2_45992
73@ = 1

:MANSIO2_45992
goto @MANSIO2_46197

:MANSIO2_45999
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1307.425, 503.4752, 10.1953, 4.0, 4.0, 4.0, False)
goto_if_false @MANSIO2_46058
73@ = 1

:MANSIO2_46058
goto @MANSIO2_46197

:MANSIO2_46065
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1351.098, 506.4217, 10.1953, 4.0, 4.0, 4.0, False)
goto_if_false @MANSIO2_46124
73@ = 1

:MANSIO2_46124
goto @MANSIO2_46197

:MANSIO2_46131
if 
  Char.LocateAnyMeans3D(137@(52@,2i), -1390.884, 507.6548, 10.1953, 4.0, 4.0, 4.0, False)
goto_if_false @MANSIO2_46190
73@ = 1

:MANSIO2_46190
goto @MANSIO2_46197

:MANSIO2_46197
return 

:MANSIO2_46199
if 
  191@ == -1
goto_if_false @MANSIO2_46219
return 

:MANSIO2_46219
50@ = 1
if 
  191@ <> 0
goto_if_false @MANSIO2_46282
if 
  Car.IsDead(141@(50@,4i))
goto_if_false @MANSIO2_46282
191@ = -1
Car.MarkAsNoLongerNeeded(141@(50@,4i))
return 

:MANSIO2_46282
switch_start 191@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_46554 {caseNum1} 0 {caseLabel1} @MANSIO2_46345 {caseNum2} 1 {caseLabel2} @MANSIO2_46512 {caseNum3} -1 {caseLabel3} @MANSIO2_46554 {caseNum4} -1 {caseLabel4} @MANSIO2_46554 {caseNum5} -1 {caseLabel5} @MANSIO2_46554 {caseNum6} -1 {caseLabel6} @MANSIO2_46554 {caseNum7} -1 {caseLabel7} @MANSIO2_46554

:MANSIO2_46345
141@(50@,4i) = Car.Create(520, -84.0771, 418.3652, 92.2066)
Car.SetCoordinates(141@(50@,4i), -84.0771, 418.3652, 92.2066)
Car.SetHeading(141@(50@,4i), 91.2218)
Car.SetStatus(141@(50@,4i), EntityStatus.Physics)
Car.SetForwardSpeed(141@(50@,4i), 70.0)
Plane.SetThrottle(141@(50@,4i), 1.5)
Plane.StartsInAir(141@(50@,4i))
Plane.FlyInDirection(141@(50@,4i), 190.0, 20.0, 30.0)
set_lvar_int_to_lvar_int 196@ = 46@
196@ += 25000
191@ += 1
goto @MANSIO2_46554

:MANSIO2_46512
if 
  is_int_lvar_greater_than_int_lvar 46@ > 196@
goto_if_false @MANSIO2_46547
Car.Delete(141@(50@,4i))
191@ = -1

:MANSIO2_46547
goto @MANSIO2_46554

:MANSIO2_46554
return 

:MANSIO2_46556
if 
  192@ == -1
goto_if_false @MANSIO2_46576
return 

:MANSIO2_46576
50@ = 3
if 
  Car.IsDead(141@(50@,4i))
goto_if_false @MANSIO2_46621
192@ = -1
Car.Delete(141@(50@,4i))
return 

:MANSIO2_46621
switch_start 192@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_46826 {caseNum1} 0 {caseLabel1} @MANSIO2_46684 {caseNum2} 1 {caseLabel2} @MANSIO2_46714 {caseNum3} 2 {caseLabel3} @MANSIO2_46783 {caseNum4} -1 {caseLabel4} @MANSIO2_46826 {caseNum5} -1 {caseLabel5} @MANSIO2_46826 {caseNum6} -1 {caseLabel6} @MANSIO2_46826 {caseNum7} -1 {caseLabel7} @MANSIO2_46826

:MANSIO2_46684
set_lvar_int_to_lvar_int 197@ = 46@
197@ += 6000
192@ += 1
goto @MANSIO2_46826

:MANSIO2_46714
if 
  is_int_lvar_greater_than_int_lvar 46@ > 197@
goto_if_false @MANSIO2_46776
242@(50@,4i) = 0
if 
  276@ == 0
goto_if_false @MANSIO2_46769
184@ = 11

:MANSIO2_46769
192@ += 1

:MANSIO2_46776
goto @MANSIO2_46826

:MANSIO2_46783
if 
  not Car.IsPlaybackGoingOn(141@(50@,4i))
goto_if_false @MANSIO2_46819
Car.Delete(141@(50@,4i))
192@ = -1

:MANSIO2_46819
goto @MANSIO2_46826

:MANSIO2_46826
return 

:MANSIO2_46828
if 
  193@ == -1
goto_if_false @MANSIO2_46848
return 

:MANSIO2_46848
50@ = 1
if 
  193@ > 0
goto_if_false @MANSIO2_46911
if 
  Car.IsDead(141@(50@,4i))
goto_if_false @MANSIO2_46911
193@ = -1
Car.Delete(141@(50@,4i))
return 

:MANSIO2_46911
switch_start 193@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_47199 {caseNum1} 0 {caseLabel1} @MANSIO2_46974 {caseNum2} 1 {caseLabel2} @MANSIO2_47059 {caseNum3} 2 {caseLabel3} @MANSIO2_47136 {caseNum4} -1 {caseLabel4} @MANSIO2_47199 {caseNum5} -1 {caseLabel5} @MANSIO2_47199 {caseNum6} -1 {caseLabel6} @MANSIO2_47199 {caseNum7} -1 {caseLabel7} @MANSIO2_47199

:MANSIO2_46974
141@(50@,4i) = Car.Create(520, -1354.587, 6.2662, 13.1485)
134@ = Char.CreateInsideCar(141@(50@,4i), PedType.Mission2, 287)
Char.SetDecisionMaker(134@, 180@)
Char.SetIsTargetPriority(134@, True)
Car.StartPlayback(141@(50@,4i), 211)
193@ += 1
goto @MANSIO2_47199

:MANSIO2_47059
if 
  Car.Locate3D(141@(50@,4i), -1456.356, 501.1173, 9.0078, 10.0, 15.0, 20.0, False)
goto_if_false @MANSIO2_47129
242@(50@,4i) = 1
193@ += 1

:MANSIO2_47129
goto @MANSIO2_47199

:MANSIO2_47136
if 
  not Car.IsPlaybackGoingOn(141@(50@,4i))
goto_if_false @MANSIO2_47192
186@ = 5
176@ = Blip.AddForChar(134@)
Blip.ChangeDisplay(176@, BlipDisplay.BlipOnly)
Blip.SetAlwaysDisplayOnZoomedRadar(176@, True)
193@ = -1

:MANSIO2_47192
goto @MANSIO2_47199

:MANSIO2_47199
return 

:MANSIO2_47201
switch_start 79@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_47285 {caseNum1} 0 {caseLabel1} @MANSIO2_47264 {caseNum2} 1 {caseLabel2} @MANSIO2_47264 {caseNum3} 2 {caseLabel3} @MANSIO2_47271 {caseNum4} 3 {caseLabel4} @MANSIO2_47264 {caseNum5} 4 {caseLabel5} @MANSIO2_47264 {caseNum6} -1 {caseLabel6} @MANSIO2_47321 {caseNum7} -1 {caseLabel7} @MANSIO2_47321

:MANSIO2_47264
goto @MANSIO2_47321

:MANSIO2_47271
gosub @MANSIO2_47461
goto @MANSIO2_47321

:MANSIO2_47285
write_debug "UNKNOWN_CONVERSATION_STATUS_ID"
return 

:MANSIO2_47321
return 

:MANSIO2_47323
if 
  is_int_lvar_equal_to_int_lvar 84@ == 83@
goto_if_false @MANSIO2_47344
return 

:MANSIO2_47344
50@ = 1
88@(50@,3i) = 1
Audio.LoadMissionAudio(50@, 91@(84@,13i))
84@ += 1
if 
  is_int_lvar_equal_to_int_lvar 84@ == 83@
goto_if_false @MANSIO2_47402
return 

:MANSIO2_47402
50@ += 1
if 
  50@ > 2
goto_if_false @MANSIO2_47429
return 

:MANSIO2_47429
88@(50@,3i) = 1
Audio.LoadMissionAudio(50@, 91@(84@,13i))
84@ += 1
return 

:MANSIO2_47461
gosub @MANSIO2_48532
if 
  79@ == 3
goto_if_false @MANSIO2_47495
gosub @MANSIO2_47729
return 

:MANSIO2_47495
switch_start 88@(78@,3i) {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_47696 {caseNum1} 0 {caseLabel1} @MANSIO2_47562 {caseNum2} 1 {caseLabel2} @MANSIO2_47571 {caseNum3} 2 {caseLabel3} @MANSIO2_47607 {caseNum4} 3 {caseLabel4} @MANSIO2_47664 {caseNum5} -1 {caseLabel5} @MANSIO2_47727 {caseNum6} -1 {caseLabel6} @MANSIO2_47727 {caseNum7} -1 {caseLabel7} @MANSIO2_47727

:MANSIO2_47562
return 
goto @MANSIO2_47727

:MANSIO2_47571
if 
  not Audio.HasMissionAudioLoaded(78@)
goto_if_false @MANSIO2_47589
return 

:MANSIO2_47589
88@(78@,3i) = 2
goto @MANSIO2_47727

:MANSIO2_47607
Audio.PlayMissionAudio(78@)
if 
  87@ == 1
goto_if_false @MANSIO2_47644
Text.PrintNow(104@(82@,13s), 10000, 1)

:MANSIO2_47644
88@(78@,3i) = 3
return 
goto @MANSIO2_47727

:MANSIO2_47664
if 
  not Audio.HasMissionAudioFinished(78@)
goto_if_false @MANSIO2_47682
return 

:MANSIO2_47682
gosub @MANSIO2_47782
goto @MANSIO2_47727

:MANSIO2_47696
write_debug "UNKNOWN_AUDIO_SLOT_STATUS"
return 

:MANSIO2_47727
return 

:MANSIO2_47729
50@ = 1

:MANSIO2_47736
if 
  2 >= 50@
goto_if_false @MANSIO2_47773
Audio.ClearMissionAudio(50@)
50@ += 1
goto @MANSIO2_47736

:MANSIO2_47773
gosub @MANSIO2_47911
return 

:MANSIO2_47782
88@(78@,3i) = 0
82@ += 1
if 
  is_int_lvar_equal_to_int_lvar 82@ == 83@
goto_if_false @MANSIO2_47828
gosub @MANSIO2_47911
return 

:MANSIO2_47828
if 
  is_int_lvar_greater_than_int_lvar 83@ > 84@
goto_if_false @MANSIO2_47877
88@(78@,3i) = 1
Audio.LoadMissionAudio(78@, 91@(84@,13i))
84@ += 1

:MANSIO2_47877
78@ += 1
if 
  78@ > 2
goto_if_false @MANSIO2_47909
78@ = 1

:MANSIO2_47909
return 

:MANSIO2_47911
set_local_var_bit_lvar 85@ {var_n} 80@
80@ = 0
79@ = 0
81@ = 0
78@ = 1
82@ = 0
83@ = 0
84@ = 0
50@ = 1

:MANSIO2_47975
if 
  2 > 50@
goto_if_false @MANSIO2_48018
88@(50@,3i) = 0
50@ += 1
goto @MANSIO2_47975

:MANSIO2_48018
Text.ClearSmallPrints
set_lvar_int_to_lvar_int 86@ = 46@
86@ += 120
return 

:MANSIO2_48037
if 
  79@ <> 0
goto_if_false @MANSIO2_48062
gosub @MANSIO2_48221

:MANSIO2_48062
if 
  is_int_lvar_greater_than_int_lvar 86@ > 46@
goto_if_false @MANSIO2_48083
return 

:MANSIO2_48083
86@ = 0
set_lvar_int_to_lvar_int 80@ = 81@
81@ = 0
78@ = 1
82@ = 0
83@ = 0
84@ = 0
50@ = 1

:MANSIO2_48140
if 
  2 > 50@
goto_if_false @MANSIO2_48183
88@(50@,3i) = 0
50@ += 1
goto @MANSIO2_48140

:MANSIO2_48183
gosub @MANSIO2_48250
return 

:MANSIO2_48192
if 
  79@ <> 1
goto_if_false @MANSIO2_48212
return 

:MANSIO2_48212
79@ = 2
return 

:MANSIO2_48221
if 
  79@ == 0
goto_if_false @MANSIO2_48241
return 

:MANSIO2_48241
gosub @MANSIO2_47729
return 

:MANSIO2_48250
switch_start 80@ {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @MANSIO2_48490 {caseNum1} 1 {caseLabel1} @MANSIO2_48378 {caseNum2} 2 {caseLabel2} @MANSIO2_48392 {caseNum3} 3 {caseLabel3} @MANSIO2_48406 {caseNum4} 4 {caseLabel4} @MANSIO2_48420 {caseNum5} 5 {caseLabel5} @MANSIO2_48434 {caseNum6} 6 {caseLabel6} @MANSIO2_48448 {caseNum7} 7 {caseLabel7} @MANSIO2_48462
switch_continued 8 {caseLabel1} @MANSIO2_48476 {caseNum2} -1 {caseLabel2} @MANSIO2_48516 {caseNum3} -1 {caseLabel3} @MANSIO2_48516 {caseNum4} -1 {caseLabel4} @MANSIO2_48516 {caseNum5} -1 {caseLabel5} @MANSIO2_48516 {caseNum6} -1 {caseLabel6} @MANSIO2_48516 {caseNum7} -1 {caseLabel7} @MANSIO2_48516 {caseNum8} -1 {caseLabel8} @MANSIO2_48516 {caseNum9} -1 {caseLabel9} @MANSIO2_48516

:MANSIO2_48378
gosub @MANSIO2_48789
goto @MANSIO2_48516

:MANSIO2_48392
gosub @MANSIO2_49003
goto @MANSIO2_48516

:MANSIO2_48406
gosub @MANSIO2_49550
goto @MANSIO2_48516

:MANSIO2_48420
gosub @MANSIO2_49596
goto @MANSIO2_48516

:MANSIO2_48434
gosub @MANSIO2_50209
goto @MANSIO2_48516

:MANSIO2_48448
gosub @MANSIO2_50255
goto @MANSIO2_48516

:MANSIO2_48462
gosub @MANSIO2_50301
goto @MANSIO2_48516

:MANSIO2_48476
gosub @MANSIO2_49810
goto @MANSIO2_48516

:MANSIO2_48490
write_debug "UNKNOWN_CONVERSATION"
return 

:MANSIO2_48516
gosub @MANSIO2_47323
79@ = 1
return 

:MANSIO2_48532
switch_start 80@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_48692 {caseNum1} 1 {caseLabel1} @MANSIO2_48660 {caseNum2} 2 {caseLabel2} @MANSIO2_48660 {caseNum3} 3 {caseLabel3} @MANSIO2_48660 {caseNum4} 4 {caseLabel4} @MANSIO2_48660 {caseNum5} 5 {caseLabel5} @MANSIO2_48660 {caseNum6} 6 {caseLabel6} @MANSIO2_48660 {caseNum7} 7 {caseLabel7} @MANSIO2_48660
switch_continued 8 {caseLabel1} @MANSIO2_48660 {caseNum2} -1 {caseLabel2} @MANSIO2_48692 {caseNum3} -1 {caseLabel3} @MANSIO2_48692 {caseNum4} -1 {caseLabel4} @MANSIO2_48692 {caseNum5} -1 {caseLabel5} @MANSIO2_48692 {caseNum6} -1 {caseLabel6} @MANSIO2_48692 {caseNum7} -1 {caseLabel7} @MANSIO2_48692 {caseNum8} -1 {caseLabel8} @MANSIO2_48692 {caseNum9} -1 {caseLabel9} @MANSIO2_48692

:MANSIO2_48660
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO2_48685
79@ = 3
return 

:MANSIO2_48685
goto @MANSIO2_48692

:MANSIO2_48692
switch_start 80@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_48787 {caseNum1} 1 {caseLabel1} @MANSIO2_48755 {caseNum2} 2 {caseLabel2} @MANSIO2_48755 {caseNum3} -1 {caseLabel3} @MANSIO2_48787 {caseNum4} -1 {caseLabel4} @MANSIO2_48787 {caseNum5} -1 {caseLabel5} @MANSIO2_48787 {caseNum6} -1 {caseLabel6} @MANSIO2_48787 {caseNum7} -1 {caseLabel7} @MANSIO2_48787

:MANSIO2_48755
if 
  Char.IsDead(130@)
goto_if_false @MANSIO2_48780
79@ = 3
return 

:MANSIO2_48780
goto @MANSIO2_48787

:MANSIO2_48787
return 

:MANSIO2_48789
50@ = 0
set_lvar_int_to_constant 91@(50@,13i) = 24000
set_lvar_text_label 104@(50@,13s) = 'MAN2_AA'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24001
set_lvar_text_label 104@(50@,13s) = 'MAN2_AB'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24002
set_lvar_text_label 104@(50@,13s) = 'MAN2_AC'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24003
set_lvar_text_label 104@(50@,13s) = 'MAN2_AD'
50@ += 1
if 
  50@ > 13
goto_if_false @MANSIO2_48993
write_debug "TOO_MANY_CONVERSATION_LINES"

:MANSIO2_48993
set_lvar_int_to_lvar_int 83@ = 50@
return 

:MANSIO2_49003
50@ = 0
set_lvar_int_to_constant 91@(50@,13i) = 24004
set_lvar_text_label 104@(50@,13s) = 'MAN2_BA'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24005
set_lvar_text_label 104@(50@,13s) = 'MAN2_BB'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24006
set_lvar_text_label 104@(50@,13s) = 'MAN2_BC'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24007
set_lvar_text_label 104@(50@,13s) = 'MAN2_BD'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24008
set_lvar_text_label 104@(50@,13s) = 'MAN2_BE'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24009
set_lvar_text_label 104@(50@,13s) = 'MAN2_BF'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24010
set_lvar_text_label 104@(50@,13s) = 'MAN2_BG'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24011
set_lvar_text_label 104@(50@,13s) = 'MAN2_BH'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24012
set_lvar_text_label 104@(50@,13s) = 'MAN2_BJ'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24013
set_lvar_text_label 104@(50@,13s) = 'MAN2_BK'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24014
set_lvar_text_label 104@(50@,13s) = 'MAN2_BL'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24015
set_lvar_text_label 104@(50@,13s) = 'MAN2_BM'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24016
set_lvar_text_label 104@(50@,13s) = 'MAN2_BN'
50@ += 1
if 
  50@ > 13
goto_if_false @MANSIO2_49540
write_debug "TOO_MANY_CONVERSATION_LINES"

:MANSIO2_49540
set_lvar_int_to_lvar_int 83@ = 50@
return 

:MANSIO2_49550
50@ = 0
set_lvar_int_to_constant 91@(50@,13i) = 24017
set_lvar_text_label 104@(50@,13s) = 'MAN2_CA'
83@ = 1
return 

:MANSIO2_49596
50@ = 0
set_lvar_int_to_constant 91@(50@,13i) = 24018
set_lvar_text_label 104@(50@,13s) = 'MAN2_DA'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24019
set_lvar_text_label 104@(50@,13s) = 'MAN2_DB'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24020
set_lvar_text_label 104@(50@,13s) = 'MAN2_DC'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24021
set_lvar_text_label 104@(50@,13s) = 'MAN2_DD'
50@ += 1
if 
  50@ > 13
goto_if_false @MANSIO2_49800
write_debug "TOO_MANY_CONVERSATION_LINES"

:MANSIO2_49800
set_lvar_int_to_lvar_int 83@ = 50@
return 

:MANSIO2_49810
50@ = 0
set_lvar_int_to_constant 91@(50@,13i) = 24030
set_lvar_text_label 104@(50@,13s) = 'MAN2_FA'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24031
set_lvar_text_label 104@(50@,13s) = 'MAN2_FB'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24032
set_lvar_text_label 104@(50@,13s) = 'MAN2_FC'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24033
set_lvar_text_label 104@(50@,13s) = 'MAN2_FD'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24034
set_lvar_text_label 104@(50@,13s) = 'MAN2_FE'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24035
set_lvar_text_label 104@(50@,13s) = 'MAN2_FF'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24036
set_lvar_text_label 104@(50@,13s) = 'MAN2_FG'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24037
set_lvar_text_label 104@(50@,13s) = 'MAN2_FK'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24038
set_lvar_text_label 104@(50@,13s) = 'MAN2_FL'
50@ += 1
if 
  50@ > 13
goto_if_false @MANSIO2_50199
write_debug "TOO_MANY_CONVERSATION_LINES"

:MANSIO2_50199
set_lvar_int_to_lvar_int 83@ = 50@
return 

:MANSIO2_50209
50@ = 0
set_lvar_int_to_constant 91@(50@,13i) = 24022
set_lvar_text_label 104@(50@,13s) = 'MAN2_EA'
83@ = 1
return 

:MANSIO2_50255
50@ = 0
set_lvar_int_to_constant 91@(50@,13i) = 24023
set_lvar_text_label 104@(50@,13s) = 'MAN2_EB'
83@ = 1
return 

:MANSIO2_50301
50@ = 0
set_lvar_int_to_constant 91@(50@,13i) = 24024
set_lvar_text_label 104@(50@,13s) = 'MAN2_EC'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24025
set_lvar_text_label 104@(50@,13s) = 'MAN2_EE'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24026
set_lvar_text_label 104@(50@,13s) = 'MAN2_EF'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24027
set_lvar_text_label 104@(50@,13s) = 'MAN2_EG'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24028
set_lvar_text_label 104@(50@,13s) = 'MAN2_EH'
50@ += 1
set_lvar_int_to_constant 91@(50@,13i) = 24029
set_lvar_text_label 104@(50@,13s) = 'MAN2_EJ'
50@ += 1
if 
  50@ > 13
goto_if_false @MANSIO2_50579
write_debug "TOO_MANY_CONVERSATION_LINES"

:MANSIO2_50579
set_lvar_int_to_lvar_int 83@ = 50@
return 

:MANSIO2_50589
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @MANSIO2_50638
47@ += 1
if 
  47@ > 2
goto_if_false @MANSIO2_50636
47@ = 0

:MANSIO2_50636
clear_all_view_variables 

:MANSIO2_50638
if 
  47@ == 1
goto_if_false @MANSIO2_50765
set_var_int_to_lvar_int $7947 = 34@
set_var_int_to_lvar_int $7948 = 35@
set_var_int_to_lvar_int $7949 = 46@
$7950 = 0
$has_seen_this_cutscene = 0
$m3_in_the_zone = 0
$m3_sweets_health = 0
$trip_skip_M5 = 0
view_integer_variable $7947 {_p2} "M_STAGE"
view_integer_variable $7948 {_p2} "M_GOALS"
view_integer_variable $7949 {_p2} "M_MISSION_TIMER"

:MANSIO2_50765
if 
  47@ == 2
goto_if_false @MANSIO2_50783

:MANSIO2_50783
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @MANSIO2_50805
38@ = 1

:MANSIO2_50805
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @MANSIO2_50893
if 
  39@ == 0
goto_if_false @MANSIO2_50868
39@ = 1
write_debug "LEVEL_PAUSED"
goto @MANSIO2_50893

:MANSIO2_50868
39@ = 0
write_debug "LEVEL_UNPAUSED"

:MANSIO2_50893
return 

:MANSIO2_50895
if 
  not is_ps2_keyboard_key_just_pressed 74
goto_if_false @MANSIO2_50912
return 

:MANSIO2_50912
if 
  34@ == 3
goto_if_false @MANSIO2_50987
World.ClearArea(220@, 221@, 222@, 50.0, False)
Char.SetCoordinates($stattreadstamina_ctr, -1460.192, 513.4575, 2.003)
Char.SetHeading($stattreadstamina_ctr, 270.0)
gosub @MANSIO2_51214
return 

:MANSIO2_50987
if and
  34@ == 4
  35@ > 1
  8 > 35@
goto_if_false @MANSIO2_51028
35@ = 8
return 

:MANSIO2_51028
if and
  34@ == 5
  35@ == 1
goto_if_false @MANSIO2_51139
World.ClearArea(-1403.146, 509.5356, 17.2266, 1.0, False)
Char.SetCoordinates($stattreadstamina_ctr, -1403.146, 509.5356, 17.2266)
Char.SetHeading($stattreadstamina_ctr, 78.0)
Game.SetAircraftCarrierSamSite(False)
238@ = 1
229@ = 1
Blip.Remove(165@)
35@ = 6
return 

:MANSIO2_51139
return 

:MANSIO2_51141
41@ += 1
if 
  41@ > 9
goto_if_false @MANSIO2_51173
41@ = 0

:MANSIO2_51173
return 

:MANSIO2_51175
42@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 44@ = 42@
sub_int_lvar_from_int_lvar 44@ -= 43@
set_lvar_int_to_lvar_int 43@ = 42@
add_int_lvar_to_int_lvar 46@ += 44@
return 

:MANSIO2_51214
34@ += 1
35@ = 0
TIMERA = 0
TIMERB = 0
return 

:MANSIO2_51244
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:MANSIO2_51266
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO2_51290
wait 0
goto @MANSIO2_51266

:MANSIO2_51290
Streaming.SetAreaVisible(5)
Cutscene.Load('BHILL2')

:MANSIO2_51305
if 
  not Cutscene.HasLoaded
goto_if_false @MANSIO2_51329
wait 0
goto @MANSIO2_51305

:MANSIO2_51329
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:MANSIO2_51346
if 
  not Cutscene.HasFinished
goto_if_false @MANSIO2_51370
wait 0
goto @MANSIO2_51346

:MANSIO2_51370
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:MANSIO2_51384
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO2_51408
wait 0
goto @MANSIO2_51384

:MANSIO2_51408
Cutscene.Clear
Streaming.SetAreaVisible(0)
return 

:MANSIO2_51416
34@ = 0
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)

:MANSIO2_51434
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @MANSIO2_51461
wait 0
goto @MANSIO2_51434

:MANSIO2_51461
gosub @MANSIO2_51787
gosub @MANSIO2_52070
gosub @MANSIO2_52114
48@ = 0

:MANSIO2_51489
183@(48@,6i) = -1
269@(48@,6i) = 0
275@(48@,6i) = 0
48@ += 1
  48@ >= 6
goto_if_false @MANSIO2_51489
48@ = 0

:MANSIO2_51550
189@(48@,2i) = -1
281@(48@,2i) = 0
48@ += 1
  48@ >= 2
goto_if_false @MANSIO2_51550
Game.SwitchEmergencyServices(False)
Game.SetWantedMultiplier(0.0)
213@ = 0
World.ClearArea(1248.681, -807.9187, 83.1484, 100.0, True)
Streaming.LoadScene(1248.681, -807.9187, 83.1484)
Char.SetCoordinates($stattreadstamina_ctr, 1246.016, -803.2319, 83.1484)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Camera.SetBehindPlayer
Clock.SetTimeOfDay(8, 0)
wait 2000
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Player1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission2, PedType.Mission1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission2, PedType.Mission2)
Game.SetAircraftCarrierSamSite(True)
Object.Delete($d6_trip_skips_available)
Object.Delete($iDanceReport)
Object.Delete($iDanceScore)
Restart.SetRespawnPointForDurationOfMission(1250.65, -785.9349, 89.2412)
gosub @MANSIO2_51214
return 

:MANSIO2_51787
Streaming.RequestModel(421)
Streaming.RequestModel(446)
Streaming.RequestModel(520)
Streaming.RequestModel(454)
Streaming.RequestModel(595)
Streaming.RequestModel(530)
Streaming.RequestModel(287)
Streaming.RequestModel(50)
Streaming.LoadSpecialCharacter(1, 'TORINO')
Streaming.RequestModel(347)
Streaming.RequestModel(335)
Streaming.RequestModel(356)
Streaming.RequestModel(#CARRIER_LIFT1_SFSE)
Streaming.RequestModel(#CARRIER_LIFT2_SFSE)
Streaming.RequestModel(#CARRIER_DOOR_SFSE)
Streaming.RequestModel(#MISSILE_07_SFXR)
Streaming.RequestModel(#KMB_KEYPAD)
Streaming.LoadAllModelsNow

:MANSIO2_51878
if or
  not Streaming.HasModelLoaded(421)
  not Streaming.HasModelLoaded(446)
  not Streaming.HasModelLoaded(520)
  not Streaming.HasModelLoaded(454)
  not Streaming.HasModelLoaded(595)
  not Streaming.HasModelLoaded(530)
goto_if_false @MANSIO2_51930
wait 0
goto @MANSIO2_51878

:MANSIO2_51930
if or
  not Streaming.HasModelLoaded(287)
  not Streaming.HasModelLoaded(50)
goto_if_false @MANSIO2_51961
wait 0
goto @MANSIO2_51930

:MANSIO2_51961
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @MANSIO2_51987
wait 0
goto @MANSIO2_51961

:MANSIO2_51987
if or
  not Streaming.HasModelLoaded(347)
  not Streaming.HasModelLoaded(335)
  not Streaming.HasModelLoaded(356)
goto_if_false @MANSIO2_52024
wait 0
goto @MANSIO2_51987

:MANSIO2_52024
if or
  not Streaming.HasModelLoaded(#CARRIER_LIFT1_SFSE)
  not Streaming.HasModelLoaded(#CARRIER_LIFT2_SFSE)
  not Streaming.HasModelLoaded(#CARRIER_DOOR_SFSE)
  not Streaming.HasModelLoaded(#MISSILE_07_SFXR)
  not Streaming.HasModelLoaded(#KMB_KEYPAD)
goto_if_false @MANSIO2_52068
wait 0
goto @MANSIO2_52024

:MANSIO2_52068
return 

:MANSIO2_52070
Streaming.RequestAnimation("CASINO")

:MANSIO2_52080
if 
  not Streaming.HasAnimationLoaded("CASINO")
goto_if_false @MANSIO2_52112
wait 0
goto @MANSIO2_52080

:MANSIO2_52112
return 

:MANSIO2_52114
Streaming.RequestCarRecording(208)
Streaming.RequestCarRecording(209)
Streaming.RequestCarRecording(211)

:MANSIO2_52129
if or
  not Streaming.HasCarRecordingBeenLoaded(208)
  not Streaming.HasCarRecordingBeenLoaded(209)
  not Streaming.HasCarRecordingBeenLoaded(211)
goto_if_false @MANSIO2_52166
wait 0
goto @MANSIO2_52129

:MANSIO2_52166
return 

:MANSIO2_52168
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Text.ClearSmallPrints
switch_start 45@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @MANSIO2_52387 {caseNum1} 1 {caseLabel1} @MANSIO2_52249 {caseNum2} 2 {caseLabel2} @MANSIO2_52272 {caseNum3} 3 {caseLabel3} @MANSIO2_52295 {caseNum4} 4 {caseLabel4} @MANSIO2_52318 {caseNum5} 5 {caseLabel5} @MANSIO2_52341 {caseNum6} 6 {caseLabel6} @MANSIO2_52364 {caseNum7} -1 {caseLabel7} @MANSIO2_52387

:MANSIO2_52249
Text.PrintNow('MAN2_80', 5000, 1)
goto @MANSIO2_52387

:MANSIO2_52272
Text.PrintNow('MAN2_81', 5000, 1)
goto @MANSIO2_52387

:MANSIO2_52295
Text.PrintNow('MAN2_82', 5000, 1)
goto @MANSIO2_52387

:MANSIO2_52318
Text.PrintNow('MAN2_83', 5000, 1)
goto @MANSIO2_52387

:MANSIO2_52341
Text.PrintNow('MAN2_84', 5000, 1)
goto @MANSIO2_52387

:MANSIO2_52364
Text.PrintNow('MAN2_ZZ', 5000, 1)
goto @MANSIO2_52387

:MANSIO2_52387
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MANSIO2_52417
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.PistolSilenced)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Knife)

:MANSIO2_52417
return 

:MANSIO2_52419
Text.PrintWithNumberBig('M_PASS', 50000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 50000)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Stat.RegisterMissionPassed('MAN_2')
Stat.PlayerMadeProgress(1)
Stat.SetInt(StatId.PassedMansion2, 1)
Text.PrintNow('MAN2_34', 7000, 1)
$boat_school_blip += 1
$hunter_created = Pickup.Create(359, PickupType.OnStreetSlow, -686.0, 934.0, 13.5)
$played_casino4_before = Pickup.Create(360, PickupType.OnStreetSlow, -690.0, 934.0, 13.5)
$played_vcrash1_before = Pickup.Create(362, PickupType.OnStreetSlow, -690.0, 939.0, 13.5)
$played_ryder1_before = Pickup.Create(361, PickupType.OnStreetSlow, -686.0, 939.0, 13.5)
CarGenerator.Switch($5193[8], 101)
CarGenerator.Switch($5193[9], 101)
CarGenerator.Switch($f1_chunky, 101)
CarGenerator.Switch($f1_dbp, 101)
return 

:MANSIO2_52634
if 
  286@ == 1
goto_if_false @MANSIO2_52667
Audio.ReportMissionAudioEventAtObject(159@, 1129)
286@ = 0

:MANSIO2_52667
if 
  288@ == 1
goto_if_false @MANSIO2_52700
Audio.ReportMissionAudioEventAtObject(158@, 1129)
288@ = 0

:MANSIO2_52700
if 
  287@ == 1
goto_if_false @MANSIO2_52733
Audio.ReportMissionAudioEventAtObject(157@, 1129)
287@ = 0

:MANSIO2_52733
if 
  289@ == 1
goto_if_false @MANSIO2_52778
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1162)
289@ = 0

:MANSIO2_52778
Car.MarkAsNoLongerNeeded(139@)
Car.MarkAsNoLongerNeeded(140@)
Car.MarkAsNoLongerNeeded(153@)
Char.MarkAsNoLongerNeeded(130@)
Object.MarkAsNoLongerNeeded(157@)
Object.MarkAsNoLongerNeeded(158@)
Object.MarkAsNoLongerNeeded(159@)
Object.MarkAsNoLongerNeeded(160@)
48@ = 0

:MANSIO2_52825
Car.MarkAsNoLongerNeeded(141@(48@,4i))
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_52825
48@ = 0

:MANSIO2_52862
Car.MarkAsNoLongerNeeded(146@(48@,3i))
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_52862
48@ = 0

:MANSIO2_52899
Car.MarkAsNoLongerNeeded(149@(48@,4i))
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_52899
48@ = 0

:MANSIO2_52936
Car.MarkAsNoLongerNeeded(154@(48@,3i))
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_52936
48@ = 0

:MANSIO2_52973
Char.MarkAsNoLongerNeeded(131@(48@,6i))
48@ += 1
  48@ >= 6
goto_if_false @MANSIO2_52973
Blip.Remove(164@)
Blip.Remove(165@)
Blip.Remove(179@)
48@ = 0

:MANSIO2_53025
Blip.Remove(166@(48@,3i))
48@ += 1
  48@ >= 3
goto_if_false @MANSIO2_53025
48@ = 0

:MANSIO2_53062
Blip.Remove(169@(48@,4i))
48@ += 1
  48@ >= 4
goto_if_false @MANSIO2_53062
48@ = 0

:MANSIO2_53099
Blip.Remove(173@(48@,6i))
48@ += 1
  48@ >= 6
goto_if_false @MANSIO2_53099
Text.ClearHelp
Streaming.RemoveAnimation("CASINO")
Streaming.MarkModelAsNoLongerNeeded(421)
Streaming.MarkModelAsNoLongerNeeded(446)
Streaming.MarkModelAsNoLongerNeeded(520)
Streaming.MarkModelAsNoLongerNeeded(454)
Streaming.MarkModelAsNoLongerNeeded(595)
Streaming.MarkModelAsNoLongerNeeded(530)
Streaming.MarkModelAsNoLongerNeeded(287)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(347)
Streaming.MarkModelAsNoLongerNeeded(335)
Streaming.MarkModelAsNoLongerNeeded(356)
Streaming.MarkModelAsNoLongerNeeded(#CARRIER_LIFT1_SFSE)
Streaming.MarkModelAsNoLongerNeeded(#CARRIER_LIFT2_SFSE)
Streaming.MarkModelAsNoLongerNeeded(#CARRIER_DOOR_SFSE)
Streaming.MarkModelAsNoLongerNeeded(#MISSILE_07_SFXR)
Streaming.MarkModelAsNoLongerNeeded(#KMB_KEYPAD)
Streaming.MarkModelAsNoLongerNeeded(359)
Streaming.MarkModelAsNoLongerNeeded(360)
Streaming.MarkModelAsNoLongerNeeded(362)
Streaming.MarkModelAsNoLongerNeeded(361)
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveCarRecording(208)
Streaming.RemoveCarRecording(209)
Streaming.RemoveCarRecording(211)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
Game.SwitchEmergencyServices(True)
Game.SwitchRandomTrains(True)
Game.SwitchAmbientPlanes(True)
Weather.Release
Zone.SetDisableMilitaryZones(False)
Game.SetAircraftCarrierSamSite(True)
Player.ForceInteriorLighting($statbike_temp, False)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO2_53327
Char.EnableSpeech($stattreadstamina_ctr)

:MANSIO2_53327
$flag_courier_mission_passed = Clock.GetGameTimer()
$d6_trip_skips_available = Object.CreateNoOffset(#CARRIER_DOOR_SFSE, -1465.797, 501.289, 1.145)
Object.SetDynamic($d6_trip_skips_available, False)
Object.SetCollisionDamageEffect($d6_trip_skips_available, False)
Object.SetProofs($d6_trip_skips_available, True, True, True, True, True)
Object.DontRemove($d6_trip_skips_available)
$iDanceReport = Object.CreateNoOffset(#CARRIER_LIFT2_SFSE, -1414.453, 516.453, 16.688)
Object.SetDynamic($iDanceReport, False)
Object.SetCollisionDamageEffect($iDanceReport, False)
Object.SetProofs($iDanceReport, True, True, True, True, True)
Object.DontRemove($iDanceReport)
$iDanceScore = Object.CreateNoOffset(#CARRIER_LIFT1_SFSE, -1456.719, 501.297, 16.953)
Object.SetDynamic($iDanceScore, False)
Object.SetCollisionDamageEffect($iDanceScore, False)
Object.SetProofs($iDanceScore, True, True, True, True, True)
Object.DontRemove($iDanceScore)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 104---------------
// Originally: Home Coming

:MANSIO3
script_name 'MANSIO3'
gosub @MANSIO3_47
if 
  has_deatharrest_been_executed 
goto_if_false @MANSIO3_38
gosub @MANSIO3_6722

:MANSIO3_38
gosub @MANSIO3_6948
terminate_this_script 

:MANSIO3_47
Text.LoadMissionText('MAN_3')
Player.SetGroupToFollowAlways($statbike_temp, True)
Game.CanTriggerGangWarWhenOnAMission(True)
Camera.SetFadingColor(0, 0, 0)
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
82@ = 2
wait 0
Streaming.LoadSpecialCharacter(1, 'SWEET')
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:MANSIO3_125
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO3_149
wait 0
goto @MANSIO3_125

:MANSIO3_149
Weather.ForceNow(WeatherType.SunnyLa)
Streaming.SetAreaVisible(5)
Cutscene.Load('BHILL3A')

:MANSIO3_168
if 
  not Cutscene.HasLoaded
goto_if_false @MANSIO3_192
wait 0
goto @MANSIO3_168

:MANSIO3_192
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:MANSIO3_209
if 
  not Cutscene.HasFinished
goto_if_false @MANSIO3_233
wait 0
goto @MANSIO3_209

:MANSIO3_233
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:MANSIO3_247
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO3_271
wait 0
goto @MANSIO3_247

:MANSIO3_271
Cutscene.Clear
Streaming.SetAreaVisible(0)
Weather.Release
Streaming.RequestModel(540)
Streaming.RequestModel(28)
Streaming.RequestModel(106)
Streaming.RequestModel(355)
Streaming.RequestModel(29)
Streaming.RequestAnimation("GANGS")
Streaming.RequestAnimation("CRACK")
Streaming.RequestCarRecording(488)
StreamedScript.Stream(19)
Streaming.LoadAllModelsNow

:MANSIO3_330
if or
  not Streaming.HasModelLoaded(540)
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(106)
goto_if_false @MANSIO3_365
wait 0
goto @MANSIO3_330

:MANSIO3_365
if or
  not Streaming.HasAnimationLoaded("GANGS")
  not Streaming.HasAnimationLoaded("CRACK")
  not Streaming.HasModelLoaded(28)
goto_if_false @MANSIO3_409
wait 0
goto @MANSIO3_365

:MANSIO3_409
if or
  not StreamedScript.HasLoaded(19)
  not Streaming.HasCarRecordingBeenLoaded(488)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasModelLoaded(29)
goto_if_false @MANSIO3_449
wait 0
goto @MANSIO3_409

:MANSIO3_449
Streaming.RequestCollision(1251.541, -808.7633)
Zone.SetGangStrength('GAN1', GangType.Grove, 0)
Zone.SetGangStrength('GAN1', GangType.Ballas, 40)
Game.CanTriggerGangWarWhenOnAMission(False)
52@ = Char.Create(PedType.CivMale, 28, 2488.617, -1671.536, -10.0)
StreamedScript.StartNew(19, 52@)
56@ = Blip.AddForCoord(2514.461, -1674.104, 12.6425)
57@ = Blip.AddForCoord(1521.252, -1673.336, 12.5607)
Blip.ChangeDisplay(56@, BlipDisplay.Neither)
Blip.ChangeDisplay(57@, BlipDisplay.Both)
World.ClearArea(1245.049, -811.1318, 83.1477, 10.0, True)
60@ = Car.Create(540, 1245.049, -811.1318, 83.1477)
Car.ChangeColor(60@, 0, 0)
Car.SetHeading(60@, 181.4888)
Car.SetTraction(60@, 2.0)
Char.SetCoordinates($stattreadstamina_ctr, 1251.541, -808.7633, 83.1484)
Char.SetHeading($stattreadstamina_ctr, 109.0044)
79@ = Blip.AddForCoord(2485.527, -1668.528, 12.3438)
Blip.ChangeDisplay(79@, BlipDisplay.Neither)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Streaming.LoadSceneInDirection(1251.541, -808.7633, 83.1484, 109.0044)
gosub @MANSIO3_7345
Text.PrintNow('MAN3_01', 7000, 1)

:MANSIO3_763
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_5468
wait 0
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @MANSIO3_805
goto @MANSIO3_6740

:MANSIO3_805
gosub @MANSIO3_7378
gosub @MANSIO3_7833
if 
  64@ == 0
goto_if_false @MANSIO3_1823
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSIO3_877
61@ = Char.StoreCarIsIn($stattreadstamina_ctr)
62@ = Car.GetMaximumNumberOfPassengers(61@)
84@ = Car.GetNumberOfPassengers(61@)

:MANSIO3_877
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1521.194, -1671.913, 12.5625, 3.0, 3.0, 3.0, True)
goto_if_false @MANSIO3_1823
if 
  62@ == 0
goto_if_false @MANSIO3_959
Text.PrintNow('MAN3_19', 3000, 1)

:MANSIO3_959
if 
  is_int_lvar_equal_to_int_lvar 84@ == 62@
goto_if_false @MANSIO3_1043
if or
  Char.IsInAnyHeli($stattreadstamina_ctr)
  Char.IsInAnyPlane($stattreadstamina_ctr)
  Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @MANSIO3_1027
Text.PrintNow('MAN3_69', 3000, 1)
goto @MANSIO3_1043

:MANSIO3_1027
Text.PrintNow('MAN3_34', 3000, 1)

:MANSIO3_1043
if and
  62@ > 0
  not is_int_lvar_equal_to_int_lvar 84@ == 62@
goto_if_false @MANSIO3_1823
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSIO3_1807
Player.SetControl($statbike_temp, False)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSIO3_1131
$stealth_help_flag = Char.StoreCarIsIn($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)

:MANSIO3_1131
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:MANSIO3_1153
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO3_1177
wait 0
goto @MANSIO3_1153

:MANSIO3_1177
Player.MakeSafeForCutscene($statbike_temp)
if 
  not Car.IsDead(60@)
goto_if_false @MANSIO3_1251
if 
  Car.Locate3D(60@, 1542.73, -1675.697, 12.5551, 15.0, 15.0, 15.0, False)
goto_if_false @MANSIO3_1251
Car.Delete(60@)

:MANSIO3_1251
World.ClearArea(1542.73, -1675.697, 12.5551, 60.0, True)
Cutscene.Load('BHILL3B')

:MANSIO3_1286
if 
  not Cutscene.HasLoaded
goto_if_false @MANSIO3_1310
wait 0
goto @MANSIO3_1286

:MANSIO3_1310
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MANSIO3_1319
if 
  not Cutscene.HasFinished
goto_if_false @MANSIO3_1343
wait 0
goto @MANSIO3_1319

:MANSIO3_1343
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:MANSIO3_1358
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO3_1382
wait 0
goto @MANSIO3_1358

:MANSIO3_1382
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSIO3_1434
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @MANSIO3_1434
Car.SetCoordinates($stealth_help_flag, 1521.194, -1671.913, 12.5625)

:MANSIO3_1434
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @MANSIO3_1518
Game.MakeRoomInPlayerGangForMissionPeds(1)
$big_smoke_car = Char.CreateAsPassenger($stealth_help_flag, PedType.Mission2, 290, 0)
Char.SetHealth($big_smoke_car, 700)
Char.SetMaxHealth($big_smoke_car, 700)
Char.SetAnimGroup($big_smoke_car, "GANG2")
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetSuffersCriticalHits($big_smoke_car, False)
Char.SetAccuracy($big_smoke_car, 90)

:MANSIO3_1518
if and
  not Char.IsDead($big_smoke_car)
  not Car.IsDead($stealth_help_flag)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_1593
if 
  not Char.IsInCar($stattreadstamina_ctr, $stealth_help_flag)
goto_if_false @MANSIO3_1571
Char.WarpIntoCar($stattreadstamina_ctr, $stealth_help_flag)

:MANSIO3_1571
58@ = Blip.AddForChar($big_smoke_car)
Blip.SetAsFriendly(58@, True)
Blip.ChangeDisplay(58@, BlipDisplay.Neither)

:MANSIO3_1593
TIMERB = 0
Blip.ChangeDisplay(56@, BlipDisplay.Both)
Blip.ChangeDisplay(57@, BlipDisplay.Neither)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_1642
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $big_smoke_car)

:MANSIO3_1642
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
72@ = Char.GetHeading($stattreadstamina_ctr)
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @MANSIO3_1779
if and
  72@ > 90.0
  270.0 > 72@
goto_if_false @MANSIO3_1747
Streaming.LoadSceneInDirection(1521.194, -1671.913, 12.5625, 180.0)
Car.SetHeading($stealth_help_flag, 180.0)
goto @MANSIO3_1779

:MANSIO3_1747
Streaming.LoadSceneInDirection(1521.194, -1671.913, 12.5625, 0.0)
Car.SetHeading($stealth_help_flag, 0.0)

:MANSIO3_1779
gosub @MANSIO3_7345
59@ = 1
64@ = 1
goto @MANSIO3_1823

:MANSIO3_1807
Text.PrintNow('MAN3_08', 4000, 1)

:MANSIO3_1823
if 
  59@ <> 0
goto_if_false @MANSIO3_2226
if and
  TIMERB > 1000
  59@ == 1
goto_if_false @MANSIO3_1949
if 
  not Char.IsDead($sweet_car)
goto_if_false @MANSIO3_1890
Char.ShutUpForScriptedSpeech($sweet_car, True)

:MANSIO3_1890
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_1913
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)

:MANSIO3_1913
set_lvar_text_label 86@s = 'MAN3_AA'
set_lvar_int_to_constant 83@ = 24200
gosub @MANSIO3_7813
59@ = 2

:MANSIO3_1949
if and
  82@ == 2
  59@ == 2
goto_if_false @MANSIO3_2010
set_lvar_text_label 86@s = 'MAN3_AB'
set_lvar_int_to_constant 83@ = 24201
gosub @MANSIO3_7813
59@ = 3

:MANSIO3_2010
if and
  82@ == 2
  59@ == 3
goto_if_false @MANSIO3_2071
set_lvar_text_label 86@s = 'MAN3_AC'
set_lvar_int_to_constant 83@ = 24202
gosub @MANSIO3_7813
59@ = 4

:MANSIO3_2071
if and
  82@ == 2
  59@ == 4
goto_if_false @MANSIO3_2132
set_lvar_text_label 86@s = 'MAN3_AD'
set_lvar_int_to_constant 83@ = 24203
gosub @MANSIO3_7813
59@ = 5

:MANSIO3_2132
if and
  82@ == 2
  59@ == 5
goto_if_false @MANSIO3_2226
Text.PrintNow('MAN3_05', 7000, 1)
59@ = 0
if 
  not Char.IsDead($sweet_car)
goto_if_false @MANSIO3_2203
Char.ShutUpForScriptedSpeech($sweet_car, False)

:MANSIO3_2203
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_2226
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:MANSIO3_2226
if or
  64@ == 1
  64@ == 2
goto_if_false @MANSIO3_3847
if 
  Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_2290
Text.PrintNow('MAN3_11', 4000, 1)
goto @MANSIO3_6722

:MANSIO3_2290
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_2320
53@, 54@, 55@ = Char.GetCoordinates($big_smoke_car)

:MANSIO3_2320
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 53@, 54@, 55@, 30.0, 30.0, 30.0, False)
goto_if_false @MANSIO3_2421
Blip.ChangeDisplay(58@, BlipDisplay.Neither)
Blip.ChangeDisplay(56@, BlipDisplay.Both)
if 
  not Char.IsGroupMember($big_smoke_car, $flag_cell_nation)
goto_if_false @MANSIO3_2407
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $big_smoke_car)

:MANSIO3_2407
64@ = 1
goto @MANSIO3_2482

:MANSIO3_2421
Text.PrintNow('MAN3_03', 4000, 1)
Blip.ChangeDisplay(58@, BlipDisplay.Both)
Blip.ChangeDisplay(56@, BlipDisplay.Neither)
if 
  Char.IsGroupMember($big_smoke_car, $flag_cell_nation)
goto_if_false @MANSIO3_2475
Char.RemoveFromGroup($big_smoke_car)

:MANSIO3_2475
64@ = 2

:MANSIO3_2482
if 
  64@ == 1
goto_if_false @MANSIO3_3847
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2514.461, -1674.104, 12.6425, 4.0, 4.0, 4.0, True)
goto_if_false @MANSIO3_3847
Player.SetControl($statbike_temp, False)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSIO3_2594
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)

:MANSIO3_2594
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:MANSIO3_2609
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO3_2633
wait 0
goto @MANSIO3_2609

:MANSIO3_2633
Player.MakeSafeForCutscene($statbike_temp)
if 
  not Car.IsDead(60@)
goto_if_false @MANSIO3_2756
if 
  Car.Locate3D(60@, 2492.889, -1666.564, 12.3438, 15.0, 15.0, 15.0, False)
goto_if_false @MANSIO3_2756
World.ClearArea(2482.994, -1653.609, 12.461, 10.0, True)
Car.SetCoordinates(60@, 2482.994, -1653.609, 12.461)
Car.SetHeading(60@, 273.1021)

:MANSIO3_2756
World.ClearArea(2492.889, -1666.564, 12.3438, 60.0, True)
Cutscene.Load('BHILL3C')

:MANSIO3_2791
if 
  not Cutscene.HasLoaded
goto_if_false @MANSIO3_2815
wait 0
goto @MANSIO3_2791

:MANSIO3_2815
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MANSIO3_2824
if 
  not Cutscene.HasFinished
goto_if_false @MANSIO3_2848
wait 0
goto @MANSIO3_2824

:MANSIO3_2848
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:MANSIO3_2863
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO3_2887
wait 0
goto @MANSIO3_2863

:MANSIO3_2887
88@ = Sequence.Open()
Task.PlayAnim(-1, "IDLE_CHAT", "PED", 1.0, True, False, False, False, -1)
Sequence.SetToRepeat(88@, True)
Sequence.Close(88@)
89@ = Sequence.Open()
Task.Pause(-1, 1000)
Sequence.SetToRepeat(89@, True)
Sequence.Close(89@)
Blip.ChangeDisplay(56@, BlipDisplay.Neither)
64@ = 3
40@ = Char.Create(PedType.CivMale, 28, 2429.19, -1677.537, 12.7231)
Char.SetHeading(40@, 306.1672)
Char.PerformSequence(40@, 88@)
34@ = Blip.AddForChar(40@)
47@ = Char.Create(PedType.CivMale, 106, 2430.586, -1677.075, 12.7135)
Char.SetHeading(47@, 80.528)
Char.PerformSequence(47@, 89@)
48@ = Char.Create(PedType.CivMale, 106, 2513.364, -1649.865, 13.5588)
Char.SetHeading(48@, 140.4164)
Task.PlayAnim(48@, "CRCKIDLE1", "CRACK", 1.0, True, False, False, False, -1)
Player.ApplyBrakesToCar($statbike_temp, False)
gosub @MANSIO3_7280
Streaming.LoadSceneInDirection(2424.184, -1679.58, 12.7653, 322.7617)
Camera.SetFixedPosition(2427.227, -1681.12, 13.891, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2427.808, -1680.306, 13.8707, SwitchType.JumpCut)
Text.PrintNow('MAN3_20', 5000, 1)
gosub @MANSIO3_7345
wait 1000
TIMERB = 0

:MANSIO3_3263
if 
  4000 > TIMERB
goto_if_false @MANSIO3_3324
wait 0
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  $sweets_health_grove1 == 1
goto_if_false @MANSIO3_3317
goto @MANSIO3_3459

:MANSIO3_3317
goto @MANSIO3_3263

:MANSIO3_3324
Camera.SetFixedPosition(2507.984, -1652.199, 15.6974, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2508.892, -1651.913, 15.3924, SwitchType.JumpCut)
Text.PrintNow('MAN3_21', 5000, 1)
TIMERB = 0

:MANSIO3_3398
if 
  5000 > TIMERB
goto_if_false @MANSIO3_3459
wait 0
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  $sweets_health_grove1 == 1
goto_if_false @MANSIO3_3452
goto @MANSIO3_3459

:MANSIO3_3452
goto @MANSIO3_3398

:MANSIO3_3459
$sweets_health_grove1 = 1
85@ = 1
Game.CanTriggerGangWarWhenOnAMission(True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_3568
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSIO3_3536
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2506.059, -1671.968, 12.379)
goto @MANSIO3_3556

:MANSIO3_3536
Char.SetCoordinates($stattreadstamina_ctr, 2506.059, -1671.968, 12.379)

:MANSIO3_3556
Camera.SetBehindPlayer
Char.SetHeading($stattreadstamina_ctr, 62.4295)

:MANSIO3_3568
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_3674
if 
  Char.IsInAnyCar($big_smoke_car)
goto_if_false @MANSIO3_3627
Char.WarpFromCarToCoord($big_smoke_car, 2506.567, -1670.212, 12.3822)
goto @MANSIO3_3647

:MANSIO3_3627
Char.SetCoordinates($big_smoke_car, 2506.567, -1670.212, 12.3822)

:MANSIO3_3647
Char.GiveWeapon($big_smoke_car, WeaponType.Ak47, 300)
Char.SetCurrentWeapon($big_smoke_car, WeaponType.Ak47)
Char.SetHeading($big_smoke_car, 113.0677)

:MANSIO3_3674
if 
  not Char.IsGroupMember($big_smoke_car, $flag_cell_nation)
goto_if_false @MANSIO3_3705
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $big_smoke_car)

:MANSIO3_3705
Zone.SetGangStrength('GAN1', GangType.Grove, 0)
Zone.SetGangStrength('GAN1', GangType.Ballas, 40)
Zone.SetGangStrength('GAN2', GangType.Grove, 0)
Zone.SetGangStrength('GAN2', GangType.Ballas, 40)
Char.Delete(47@)
59@ = 0
gosub @MANSIO3_7293
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_3824
Char.SetHealth($big_smoke_car, 700)
Char.SetMaxHealth($big_smoke_car, 700)
$7957 = Char.GetHealth($big_smoke_car)

:MANSIO3_3824
$7957 /= 7
Hud.DisplayCounterWithString($7957, CounterDisplay.Bar, 'MAN3_32')

:MANSIO3_3847
if 
  64@ == 3
goto_if_false @MANSIO3_4151
Text.PrintNow('MAN3_22', 7000, 1)
41@ = Char.Create(PedType.Dealer, 29, 2482.087, -1696.119, 12.5267)
Char.SetHeading(41@, 0.095)
35@ = Blip.AddForChar(41@)
42@ = Char.Create(PedType.Dealer, 28, 2451.681, -1644.083, 12.457)
Char.SetHeading(42@, 186.2393)
36@ = Blip.AddForChar(42@)
43@ = Char.Create(PedType.Dealer, 29, 2415.79, -1631.143, 12.5114)
Char.SetHeading(43@, 287.5167)
37@ = Blip.AddForChar(43@)
44@ = Char.Create(PedType.Dealer, 28, 2364.361, -1666.775, 12.5469)
Char.SetHeading(44@, 343.1245)
38@ = Blip.AddForChar(44@)
45@ = Char.Create(PedType.Dealer, 28, 2370.333, -1637.42, 12.477)
Char.SetHeading(45@, 140.6299)
39@ = Blip.AddForChar(45@)
StreamedScript.StartNew(19, 40@)
StreamedScript.StartNew(19, 41@)
StreamedScript.StartNew(19, 42@)
StreamedScript.StartNew(19, 43@)
StreamedScript.StartNew(19, 44@)
StreamedScript.StartNew(19, 45@)
Char.Delete(52@)
64@ = 4

:MANSIO3_4151
if 
  64@ == 4
goto_if_false @MANSIO3_5461
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_4200
$7957 = Char.GetHealth($big_smoke_car)
$7957 /= 7

:MANSIO3_4200
75@ = Zone.GetGangStrength('GAN1', GangType.Ballas)
if 
  75@ == 0
goto_if_false @MANSIO3_4511
if 
  74@ == 0
goto_if_false @MANSIO3_4511
74@ = 1
if 
  73@ == 0
goto_if_false @MANSIO3_4504
gosub @MANSIO3_7280
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_4350
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PRTIAL_HNDSHK_01", "GANGS", 4.0, False, False, False, False, -1)

:MANSIO3_4350
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_4416
Char.ClearTasksImmediately($big_smoke_car)
Task.PlayAnimNonInterruptable($big_smoke_car, "PRTIAL_HNDSHK_01", "GANGS", 4.0, False, False, False, False, -1)

:MANSIO3_4416
Text.PrintNow('MAN3_33', 4000, 1)
wait 4000
Zone.SetGangStrength('GAN1', GangType.Grove, 40)
Zone.SetGangStrength('GAN1', GangType.Ballas, 0)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang2, PedType.Gang1)
gosub @MANSIO3_7293
TIMERB = 0
goto @MANSIO3_4511

:MANSIO3_4504
goto @MANSIO3_5475

:MANSIO3_4511
if and
  74@ == 1
  TIMERB > 4000
  81@ == 0
goto_if_false @MANSIO3_4567
Text.PrintNow('MAN3_29', 10000, 1)
81@ = 1

:MANSIO3_4567
if and
  Player.IsInInfoZone($statbike_temp, 'GAN1')
  74@ == 0
  85@ == 1
goto_if_false @MANSIO3_4669
if and
  78@ == 0
  not Game.IsGangWarGoingOn
goto_if_false @MANSIO3_4662
Game.CanTriggerGangWarWhenOnAMission(True)
Game.SetGangWarsActive(True)
if 
  Blip.DoesExist(79@)
goto_if_false @MANSIO3_4655
Blip.Remove(79@)

:MANSIO3_4655
78@ = 1

:MANSIO3_4662
$grove1_chat = 1

:MANSIO3_4669
if and
  not Player.IsInInfoZone($statbike_temp, 'GAN1')
  74@ == 0
  85@ == 1
goto_if_false @MANSIO3_4802
if and
  78@ == 1
  not Game.IsGangWarGoingOn
goto_if_false @MANSIO3_4795
Game.CanTriggerGangWarWhenOnAMission(False)
Game.SetGangWarsActive(False)
Text.PrintNow('MAN3_31', 6000, 1)
if 
  not Blip.DoesExist(79@)
goto_if_false @MANSIO3_4788
79@ = Blip.AddForCoord(2485.527, -1668.528, 12.3438)

:MANSIO3_4788
78@ = 0

:MANSIO3_4795
$grove1_chat = 0

:MANSIO3_4802
if 
  Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_4841
Text.PrintNow('MAN3_11', 4000, 1)
goto @MANSIO3_6722

:MANSIO3_4841
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_4871
53@, 54@, 55@ = Char.GetCoordinates($big_smoke_car)

:MANSIO3_4871
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 53@, 54@, 55@, 35.0, 35.0, 35.0, False)
goto_if_false @MANSIO3_5022
if 
  70@ == 1
goto_if_false @MANSIO3_5015
Blip.ChangeDisplay(58@, BlipDisplay.Neither)
Blip.ChangeDisplay(34@, BlipDisplay.Both)
Blip.ChangeDisplay(35@, BlipDisplay.Both)
Blip.ChangeDisplay(36@, BlipDisplay.Both)
Blip.ChangeDisplay(37@, BlipDisplay.Both)
Blip.ChangeDisplay(38@, BlipDisplay.Both)
Blip.ChangeDisplay(39@, BlipDisplay.Both)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_5008
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $big_smoke_car)

:MANSIO3_5008
70@ = 0

:MANSIO3_5015
goto @MANSIO3_5133

:MANSIO3_5022
if 
  70@ == 0
goto_if_false @MANSIO3_5133
Text.PrintNow('MAN3_03', 10000, 1)
Blip.ChangeDisplay(58@, BlipDisplay.Both)
Blip.ChangeDisplay(34@, BlipDisplay.Neither)
Blip.ChangeDisplay(35@, BlipDisplay.Neither)
Blip.ChangeDisplay(36@, BlipDisplay.Neither)
Blip.ChangeDisplay(37@, BlipDisplay.Neither)
Blip.ChangeDisplay(38@, BlipDisplay.Neither)
Blip.ChangeDisplay(39@, BlipDisplay.Neither)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_5126
Char.RemoveFromGroup($big_smoke_car)

:MANSIO3_5126
70@ = 1

:MANSIO3_5133
if and
  Char.IsDead(40@)
  Blip.DoesExist(34@)
goto_if_false @MANSIO3_5159
Blip.Remove(34@)

:MANSIO3_5159
if and
  Char.IsDead(41@)
  Blip.DoesExist(35@)
goto_if_false @MANSIO3_5185
Blip.Remove(35@)

:MANSIO3_5185
if and
  Char.IsDead(42@)
  Blip.DoesExist(36@)
goto_if_false @MANSIO3_5211
Blip.Remove(36@)

:MANSIO3_5211
if and
  Char.IsDead(43@)
  Blip.DoesExist(37@)
goto_if_false @MANSIO3_5237
Blip.Remove(37@)

:MANSIO3_5237
if and
  Char.IsDead(44@)
  Blip.DoesExist(38@)
goto_if_false @MANSIO3_5263
Blip.Remove(38@)

:MANSIO3_5263
if and
  Char.IsDead(45@)
  Blip.DoesExist(39@)
goto_if_false @MANSIO3_5289
Blip.Remove(39@)

:MANSIO3_5289
if and
  77@ == 1
  TIMERA > 4000
goto_if_false @MANSIO3_5333
Text.PrintHelp('MAN3_30')
77@ = 2

:MANSIO3_5333
if and
  Char.IsDead(40@)
  Char.IsDead(41@)
  Char.IsDead(42@)
  Char.IsDead(43@)
  Char.IsDead(44@)
  Char.IsDead(45@)
goto_if_false @MANSIO3_5461
if 
  73@ == 0
goto_if_false @MANSIO3_5461
73@ = 1
if 
  74@ == 0
goto_if_false @MANSIO3_5454
Text.PrintNow('MAN3_28', 10000, 1)
TIMERA = 0
77@ = 1
goto @MANSIO3_5461

:MANSIO3_5454
goto @MANSIO3_5475

:MANSIO3_5461
goto @MANSIO3_763

:MANSIO3_5468
goto @MANSIO3_6722

:MANSIO3_5475
gosub @MANSIO3_7312
gosub @MANSIO3_7280
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_5723
Char.RemoveFromGroup($big_smoke_car)
World.ClearArea(2512.761, -1672.52, 12.5034, 20.0, True)
Car.Delete(60@)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSIO3_5607
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2512.761, -1672.52, 12.5034)
Char.WarpFromCarToCoord($big_smoke_car, 2514.788, -1673.938, 12.6861)
goto @MANSIO3_5647

:MANSIO3_5607
Char.SetCoordinates($stattreadstamina_ctr, 2512.761, -1672.52, 12.5034)
Char.SetCoordinates($big_smoke_car, 2514.788, -1673.938, 12.6861)

:MANSIO3_5647
Car.Delete(60@)
Char.SetHeading($stattreadstamina_ctr, 240.2609)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $big_smoke_car)
Char.SetHeading($big_smoke_car, 73.5014)
Task.TurnCharToFaceChar($big_smoke_car, $stattreadstamina_ctr)
Task.TogglePedThreatScanner($big_smoke_car, False, False, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($big_smoke_car)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.SetCurrentWeapon($big_smoke_car, WeaponType.Unarmed)

:MANSIO3_5723
Streaming.LoadScene(2512.761, -1672.52, 12.5034)
Streaming.LoadSceneInDirection(2512.761, -1672.52, 12.5034, 240.2609)
Camera.SetFixedPosition(2509.798, -1672.175, 13.4192, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2510.752, -1672.457, 13.5178, SwitchType.JumpCut)
gosub @MANSIO3_7345
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_5886
Task.PlayAnim($stattreadstamina_ctr, "PRTIAL_HNDSHK_01", "GANGS", 4.0, False, False, False, False, -1)
wait 500

:MANSIO3_5886
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_5952
Task.PlayAnim($big_smoke_car, "PRTIAL_HNDSHK_01", "GANGS", 4.0, False, False, False, False, -1)
wait 500

:MANSIO3_5952
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 24204)

:MANSIO3_5963
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MANSIO3_5989
wait 0
goto @MANSIO3_5963

:MANSIO3_5989
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('MAN3_BA', 4000, 1)
TIMERB = 0

:MANSIO3_6016
if 
  4000 > TIMERB
goto_if_false @MANSIO3_6070
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @MANSIO3_6063
goto @MANSIO3_6701

:MANSIO3_6063
goto @MANSIO3_6016

:MANSIO3_6070
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 24205)

:MANSIO3_6081
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MANSIO3_6107
wait 0
goto @MANSIO3_6081

:MANSIO3_6107
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('MAN3_BB', 3000, 1)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_6184
Char.ClearTasksImmediately($big_smoke_car)
Task.PlayAnim($big_smoke_car, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)

:MANSIO3_6184
TIMERB = 0

:MANSIO3_6191
if 
  3000 > TIMERB
goto_if_false @MANSIO3_6245
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @MANSIO3_6238
goto @MANSIO3_6701

:MANSIO3_6238
goto @MANSIO3_6191

:MANSIO3_6245
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 24206)

:MANSIO3_6256
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MANSIO3_6282
wait 0
goto @MANSIO3_6256

:MANSIO3_6282
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('MAN3_BC', 3000, 1)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_6359
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, False, False, False, False, -1)

:MANSIO3_6359
TIMERB = 0

:MANSIO3_6366
if 
  3000 > TIMERB
goto_if_false @MANSIO3_6420
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @MANSIO3_6413
goto @MANSIO3_6701

:MANSIO3_6413
goto @MANSIO3_6366

:MANSIO3_6420
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 24207)

:MANSIO3_6431
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MANSIO3_6457
wait 0
goto @MANSIO3_6431

:MANSIO3_6457
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('MAN3_BD', 3000, 1)
TIMERB = 0

:MANSIO3_6484
if 
  3000 > TIMERB
goto_if_false @MANSIO3_6538
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @MANSIO3_6531
goto @MANSIO3_6701

:MANSIO3_6531
goto @MANSIO3_6484

:MANSIO3_6538
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_6583
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.GoToCoordAnyMeans($stattreadstamina_ctr, 2507.793, -1668.927, 12.3879, 4, -1)

:MANSIO3_6583
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 24208)

:MANSIO3_6594
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @MANSIO3_6620
wait 0
goto @MANSIO3_6594

:MANSIO3_6620
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('MAN3_BE', 2000, 1)
TIMERB = 0

:MANSIO3_6647
if 
  2000 > TIMERB
goto_if_false @MANSIO3_6701
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @MANSIO3_6694
goto @MANSIO3_6701

:MANSIO3_6694
goto @MANSIO3_6647

:MANSIO3_6701
gosub @MANSIO3_7293
Camera.SetBehindPlayer
Char.Delete($big_smoke_car)
goto @MANSIO3_6740

:MANSIO3_6722
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:MANSIO3_6740
Game.CanTriggerGangWarWhenOnAMission(True)
Game.SetGangWarsActive(True)
Zone.SetGangStrength('GAN1', GangType.Grove, 40)
Zone.SetGangStrength('GAN2', GangType.Grove, 40)
Zone.SetGangStrength('GAN1', GangType.Ballas, 0)
Zone.SetGangStrength('GAN2', GangType.Ballas, 0)
start_new_script @GROVE 
Blip.Remove($flag_grove_mission_counter)
$flag_grove_mission_counter = Blip.AddSpriteForContactPoint($sweetY, $sweetZ, $ryderX, $flag_riot_mission_counter)
$boat_school_blip += 1
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('MAN_3')
Text.PrintWithNumberBig('M_PASSR', 40, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(40)
$flag_cat_mission1_passed = Pickup.CreateProtection(2502.1, -1686.38, 13.0, 10000, $flag_cat_mission3_passed)
start_new_script @TCASH 
$millies_double_ender = 0
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.SetInt(StatId.PassedMansion3, 1)
65@ = 1
return 

:MANSIO3_6948
if 
  65@ == 0
goto_if_false @MANSIO3_7034
Game.CanTriggerGangWarWhenOnAMission(False)
Game.SetGangWarsActive(False)
Zone.SetGangStrength('GAN1', GangType.Grove, 0)
Zone.SetGangStrength('GAN2', GangType.Grove, 0)
Zone.SetGangStrength('GAN1', GangType.Ballas, 40)
Zone.SetGangStrength('GAN2', GangType.Ballas, 40)

:MANSIO3_7034
Hud.ClearCounter($7957)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang2, PedType.Gang1)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
$mission_trigger_wait_time = Clock.GetGameTimer()
Streaming.MarkModelAsNoLongerNeeded(540)
Streaming.MarkModelAsNoLongerNeeded(437)
Streaming.MarkModelAsNoLongerNeeded(28)
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(29)
StreamedScript.MarkAsNoLongerNeeded(19)
Streaming.UnloadSpecialCharacter(1)
Streaming.RemoveAnimation("GANGS")
Streaming.RemoveAnimation("CRACK")
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_7146
Char.RemoveElegantly($big_smoke_car)

:MANSIO3_7146
if 
  Blip.DoesExist(79@)
goto_if_false @MANSIO3_7167
Blip.Remove(79@)

:MANSIO3_7167
if 
  Blip.DoesExist(34@)
goto_if_false @MANSIO3_7188
Blip.Remove(34@)

:MANSIO3_7188
if 
  Blip.DoesExist(35@)
goto_if_false @MANSIO3_7209
Blip.Remove(35@)

:MANSIO3_7209
if 
  Blip.DoesExist(57@)
goto_if_false @MANSIO3_7230
Blip.Remove(57@)

:MANSIO3_7230
if 
  Blip.DoesExist(56@)
goto_if_false @MANSIO3_7251
Blip.Remove(56@)

:MANSIO3_7251
if 
  Blip.DoesExist(58@)
goto_if_false @MANSIO3_7272
Blip.Remove(58@)

:MANSIO3_7272
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Mission.Finish
return 

:MANSIO3_7280
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
return 

:MANSIO3_7293
Text.ClearPrints
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
return 

:MANSIO3_7312
Camera.DoFade(500, Fade.Out)

:MANSIO3_7319
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO3_7343
wait 0
goto @MANSIO3_7319

:MANSIO3_7343
return 

:MANSIO3_7345
Camera.DoFade(500, Fade.In)

:MANSIO3_7352
if 
  Camera.GetFadingStatus
goto_if_false @MANSIO3_7376
wait 0
goto @MANSIO3_7352

:MANSIO3_7376
return 

:MANSIO3_7378
if 
is_ps2_keyboard_key_just_pressed 87
goto_if_false @MANSIO3_7441
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_7441
Char.SetCoordinates($stattreadstamina_ctr, 1522.09, -1662.082, 12.5469)
Char.SetHeading($stattreadstamina_ctr, 175.5419)
Camera.SetBehindPlayer

:MANSIO3_7441
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @MANSIO3_7456

:MANSIO3_7456
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @MANSIO3_7519
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_7519
Char.SetCoordinates($stattreadstamina_ctr, 2503.688, -1671.453, 12.3707)
Char.SetHeading($stattreadstamina_ctr, 255.1807)
Camera.SetBehindPlayer

:MANSIO3_7519
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @MANSIO3_7701
gosub @MANSIO3_7280
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MANSIO3_7607
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PRTIAL_HNDSHK_01", "GANGS", 4.0, False, False, False, False, -1)

:MANSIO3_7607
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @MANSIO3_7673
Char.ClearTasksImmediately($big_smoke_car)
Task.PlayAnimNonInterruptable($big_smoke_car, "PRTIAL_HNDSHK_01", "GANGS", 4.0, False, False, False, False, -1)

:MANSIO3_7673
Text.PrintNow('MAN3_33', 4000, 1)
wait 4000
gosub @MANSIO3_7293

:MANSIO3_7701
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @MANSIO3_7723
goto @MANSIO3_5475

:MANSIO3_7723
if 
is_ps2_keyboard_key_just_pressed 90
goto_if_false @MANSIO3_7796
if 
  not Car.IsDead(61@)
goto_if_false @MANSIO3_7796
46@ = Char.CreateAsPassenger(61@, PedType.CivMale, 106, 0)
47@ = Char.CreateAsPassenger(61@, PedType.CivMale, 106, 1)
48@ = Char.CreateAsPassenger(61@, PedType.CivMale, 106, 2)

:MANSIO3_7796
if 
is_ps2_keyboard_key_just_pressed 77
goto_if_false @MANSIO3_7811

:MANSIO3_7811
return 

:MANSIO3_7813
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 83@)
82@ = 0
return 

:MANSIO3_7833
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  82@ == 0
goto_if_false @MANSIO3_7876
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(86@s, 10000, 1)
82@ = 1

:MANSIO3_7876
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  82@ == 1
goto_if_false @MANSIO3_7914
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(86@s)
82@ = 2

:MANSIO3_7914
return 

//-------------Mission 105---------------
// Originally: Cut Throat Business

:MANSON5
script_name 'MANSON5'
gosub @MANSON5_47
if 
  has_deatharrest_been_executed 
goto_if_false @MANSON5_38
gosub @MANSON5_13113

:MANSON5_38
gosub @MANSON5_13159
terminate_this_script 

:MANSON5_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
Text.LoadMissionText('MAN_5')
Player.SetGroupRecruitment($statbike_temp, False)
Game.SetScriptLimitToGangSize(0)
Streaming.SetAreaVisible(5)
Cutscene.Load('BHILL5A')

:MANSON5_93
if 
  not Cutscene.HasLoaded
goto_if_false @MANSON5_117
wait 0
goto @MANSON5_93

:MANSON5_117
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MANSON5_126
if 
  not Cutscene.HasFinished
goto_if_false @MANSON5_150
wait 0
goto @MANSON5_126

:MANSON5_150
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:MANSON5_165
if 
  Camera.GetFadingStatus
goto_if_false @MANSON5_189
wait 0
goto @MANSON5_165

:MANSON5_189
Streaming.SetAreaVisible(0)
Game.SetScriptLimitToGangSize(99)
start_new_script @A_CONT 
Weather.ForceNow(WeatherType.ExtraSunnyLa)
52@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Streaming.LoadSpecialCharacter(1, 'MADDOGG')
Streaming.RequestModel(424)

:MANSON5_234
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(424)
goto_if_false @MANSON5_265
wait 0
goto @MANSON5_234

:MANSON5_265
World.ClearArea(1252.471, -805.5187, 83.1484, 400.0, True)
Streaming.LoadScene(1252.471, -805.5187, 83.1484)
Streaming.RequestCollision(1252.471, -805.5187)
Char.SetCoordinates($stattreadstamina_ctr, 1252.471, -805.5187, 83.1484)
Char.SetHeading($stattreadstamina_ctr, 144.1434)
51@ = Player.GetGroup($statbike_temp)
Group.SetDefaultTaskAllocator(51@, DefaultTaskAllocator.FollowAnyMeans)
34@ = Char.Create(PedType.Special, 290, 1254.311, -810.8859, 83.1484)
Char.SetHeading(34@, 60.7435)
Char.SetNeverLeavesGroup(34@, True)
Group.SetMember(51@, 34@)
Char.SetDrownsInWater(34@, True)
Char.SetDecisionMaker(34@, 52@)
Char.SetNeverTargeted(34@, True)
Char.SetCantBeDraggedOut(34@, True)
37@ = Blip.AddForChar(34@)
Blip.SetAsFriendly(37@, True)
Blip.ChangeDisplay(37@, BlipDisplay.BlipOnly)
Car.CustomPlateForNextCar(424, "LA5H_L3Y")
Streaming.CustomPlateDesignForNextCar(424, Town.LV)
45@ = Car.Create(424, 1248.907, -804.3519, 83.1484)
Car.SetHeading(45@, 180.0)
Car.ChangeColor(45@, 0, 3)
50@ = Blip.AddForCoord(-12.2064, -1117.876, 7.0705)
118@ = 0
119@ = 0
set_lvar_text_label 168@s = 'MAN5_AA'
set_lvar_int_to_constant 120@ = 24400
set_lvar_int_to_var_int 144@ = $stattreadstamina_ctr
set_lvar_text_label 170@s = 'MAN5_AB'
set_lvar_int_to_constant 121@ = 24401
set_lvar_int_to_var_int 145@ = $stattreadstamina_ctr
set_lvar_text_label 172@s = 'MAN5_AC'
set_lvar_int_to_constant 122@ = 24402
set_lvar_int_to_lvar_int 146@ = 34@
set_lvar_text_label 174@s = 'MAN5_BA'
set_lvar_int_to_constant 123@ = 24403
set_lvar_int_to_lvar_int 147@ = 34@
set_lvar_text_label 176@s = 'MAN5_BB'
set_lvar_int_to_constant 124@ = 24404
set_lvar_int_to_var_int 148@ = $stattreadstamina_ctr
set_lvar_text_label 178@s = 'MAN5_BC'
set_lvar_int_to_constant 125@ = 24405
set_lvar_int_to_lvar_int 149@ = 34@
set_lvar_text_label 180@s = 'MAN5_BD'
set_lvar_int_to_constant 126@ = 24406
set_lvar_int_to_var_int 150@ = $stattreadstamina_ctr
set_lvar_text_label 182@s = 'MAN5_BE'
set_lvar_int_to_constant 127@ = 24407
set_lvar_int_to_var_int 151@ = $stattreadstamina_ctr
set_lvar_text_label 184@s = 'MAN5_BF'
set_lvar_int_to_constant 128@ = 24408
set_lvar_int_to_var_int 152@ = $stattreadstamina_ctr
set_lvar_text_label 186@s = 'MAN5_BG'
set_lvar_int_to_constant 129@ = 24409
set_lvar_int_to_lvar_int 153@ = 34@
set_lvar_text_label 188@s = 'MAN5_BH'
set_lvar_int_to_constant 130@ = 24410
set_lvar_int_to_var_int 154@ = $stattreadstamina_ctr
set_lvar_text_label 190@s = 'MAN5_BJ'
set_lvar_int_to_constant 131@ = 24411
set_lvar_int_to_var_int 155@ = $stattreadstamina_ctr
set_lvar_text_label 192@s = 'MAN5_BK'
set_lvar_int_to_constant 132@ = 24412
set_lvar_int_to_var_int 156@ = $stattreadstamina_ctr
set_lvar_text_label 194@s = 'MAN5_BL'
set_lvar_int_to_constant 133@ = 24413
set_lvar_int_to_var_int 157@ = $stattreadstamina_ctr
set_lvar_text_label 196@s = 'MAN5_BM'
set_lvar_int_to_constant 134@ = 24414
set_lvar_int_to_var_int 158@ = $stattreadstamina_ctr
set_lvar_text_label 198@s = 'MAN5_BN'
set_lvar_int_to_constant 135@ = 24415
set_lvar_int_to_lvar_int 159@ = 34@
set_lvar_text_label 200@s = 'MAN5_CA'
set_lvar_int_to_constant 136@ = 24417
set_lvar_int_to_var_int 160@ = $stattreadstamina_ctr
set_lvar_text_label 202@s = 'MAN5_CB'
set_lvar_int_to_constant 137@ = 24418
set_lvar_int_to_var_int 161@ = $stattreadstamina_ctr
set_lvar_text_label 204@s = 'MAN5_DA'
set_lvar_int_to_constant 138@ = 24419
set_lvar_int_to_lvar_int 162@ = 34@
set_lvar_text_label 206@s = 'MAN5_DB'
set_lvar_int_to_constant 139@ = 24420
set_lvar_int_to_lvar_int 163@ = 34@
set_lvar_text_label 208@s = 'MAN5_DC'
set_lvar_int_to_constant 140@ = 24421
set_lvar_int_to_lvar_int 164@ = 34@
set_lvar_text_label 210@s = 'MAN5_DD'
set_lvar_int_to_constant 141@ = 24422
set_lvar_int_to_lvar_int 165@ = 34@
set_lvar_text_label 212@s = 'MAN5_EA'
set_lvar_int_to_constant 142@ = 24423
set_lvar_int_to_var_int 166@ = $stattreadstamina_ctr
set_lvar_text_label 214@s = 'MAN5_EB'
set_lvar_int_to_constant 143@ = 24424
set_lvar_int_to_var_int 167@ = $stattreadstamina_ctr
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.DoFade(0, Fade.In)
68@ = 0
47@ = 0
69@ = 0
54@ = 0
TIMERB = 0
Text.PrintNow('MAN5_G0', 7500, 1)

:MANSON5_1350
wait 0
if 
  not Char.IsDead(34@)
goto_if_false @MANSON5_1966
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @MANSON5_1399
goto @MANSON5_12906
goto @MANSON5_1477

:MANSON5_1399
if 
is_ps2_keyboard_key_pressed 87
goto_if_false @MANSON5_1477
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSON5_1477
67@ = Char.GetCarIsUsing($stattreadstamina_ctr)
if 
  Char.IsInCar(34@, 67@)
goto_if_false @MANSON5_1477
Car.SetCoordinates(67@, -127.1875, -1260.738, 2.0469)

:MANSON5_1477
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -12.2064, -1117.876, 60.0, 60.0, False)
goto_if_false @MANSON5_1851
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(34@)
$heading = Math.GetDistanceBetweenCoords2D(-12.2064, -1117.876, $on_footY, $on_footZ)
if 
  75.0 > $heading
goto_if_false @MANSON5_1812
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Car.MarkAsNoLongerNeeded(45@)
Streaming.MarkModelAsNoLongerNeeded(424)
Streaming.MarkModelAsNoLongerNeeded(471)
Camera.DoFade(0, Fade.Out)

:MANSON5_1596
if 
  Camera.GetFadingStatus
goto_if_false @MANSON5_1620
wait 0
goto @MANSON5_1596

:MANSON5_1620
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSON5_1674
Char.WarpFromCarToCoord($stattreadstamina_ctr, -13.4832, -1139.642, 7.0664)
goto @MANSON5_1694

:MANSON5_1674
Char.SetCoordinates($stattreadstamina_ctr, -13.4832, -1139.642, 7.0664)

:MANSON5_1694
Char.SetHeading($stattreadstamina_ctr, 347.9809)
if 
  not Char.IsDead(34@)
goto_if_false @MANSON5_1798
Char.RemoveFromGroup(34@)
if 
  Char.IsInAnyCar(34@)
goto_if_false @MANSON5_1768
Char.WarpFromCarToCoord(34@, -11.4883, -1140.971, 6.8764)
goto @MANSON5_1788

:MANSON5_1768
Char.SetCoordinates(34@, -11.4883, -1140.971, 6.8764)

:MANSON5_1788
Char.SetHeading(34@, 359.6364)

:MANSON5_1798
goto @MANSON5_3411
goto @MANSON5_1844

:MANSON5_1812
if 
  2 > 68@
goto_if_false @MANSON5_1837
68@ = 2

:MANSON5_1837
gosub @MANSON5_2222

:MANSON5_1844
goto @MANSON5_1905

:MANSON5_1851
gosub @MANSON5_2001
gosub @MANSON5_2222
gosub @MANSON5_2493
gosub @MANSON5_2612
if 
  TIMERB > 8000
goto_if_false @MANSON5_1905
gosub @MANSON5_11710

:MANSON5_1905
65@ = Streaming.GetAreaVisible()
if 
  65@ <> 0
goto_if_false @MANSON5_1959
Text.ClearPrints
Char.FreezePosition(34@, True)
Blip.Remove(50@)
Blip.Remove(37@)
Char.RemoveFromGroup(34@)
goto @MANSON5_3252

:MANSON5_1959
goto @MANSON5_1994

:MANSON5_1966
62@ = 1
set_lvar_text_label 63@s = 'MAN5_F0'
goto @MANSON5_13113

:MANSON5_1994
goto @MANSON5_1350

:MANSON5_2001
switch_start 66@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @MANSON5_2220 {caseNum1} 0 {caseLabel1} @MANSON5_2064 {caseNum2} 1 {caseLabel2} @MANSON5_2166 {caseNum3} -1 {caseLabel3} @MANSON5_2220 {caseNum4} -1 {caseLabel4} @MANSON5_2220 {caseNum5} -1 {caseLabel5} @MANSON5_2220 {caseNum6} -1 {caseLabel6} @MANSON5_2220 {caseNum7} -1 {caseLabel7} @MANSON5_2220

:MANSON5_2064
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSON5_2159
67@ = Char.GetCarIsUsing($stattreadstamina_ctr)
if 
  Char.IsInCar(34@, 67@)
goto_if_false @MANSON5_2159
if 
  $7958 == 1
goto_if_false @MANSON5_2147
Skip.SetUp(-126.6673, -1260.804, 2.0469, 280.0)

:MANSON5_2147
Blip.Remove(37@)
66@ += 1

:MANSON5_2159
goto @MANSON5_2220

:MANSON5_2166
if 
  not Char.IsInAnyCar(34@)
goto_if_false @MANSON5_2213
Skip.Clear
37@ = Blip.AddForChar(34@)
Blip.SetAsFriendly(37@, True)
Blip.ChangeDisplay(37@, BlipDisplay.BlipOnly)
66@ -= 1

:MANSON5_2213
goto @MANSON5_2220

:MANSON5_2220
return 

:MANSON5_2222
switch_start 68@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @MANSON5_2491 {caseNum1} 0 {caseLabel1} @MANSON5_2285 {caseNum2} 1 {caseLabel2} @MANSON5_2388 {caseNum3} 2 {caseLabel3} @MANSON5_2421 {caseNum4} 3 {caseLabel4} @MANSON5_2458 {caseNum5} -1 {caseLabel5} @MANSON5_2491 {caseNum6} -1 {caseLabel6} @MANSON5_2491 {caseNum7} -1 {caseLabel7} @MANSON5_2491

:MANSON5_2285
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(34@)
$heading = Math.GetDistanceBetweenCoords2D($x, $y, $on_footY, $on_footZ)
if 
  $heading > 75.0
goto_if_false @MANSON5_2381
Text.PrintNow('MAN5_G1', 8000, 1)
TIMERA = 0
68@ += 1

:MANSON5_2381
goto @MANSON5_2491

:MANSON5_2388
if 
  TIMERA > 20000
goto_if_false @MANSON5_2414
68@ -= 1

:MANSON5_2414
goto @MANSON5_2491

:MANSON5_2421
Text.PrintNow('MAN5_G2', 8000, 1)
TIMERA = 0
68@ += 1
goto @MANSON5_2491

:MANSON5_2458
if 
  TIMERA > 20000
goto_if_false @MANSON5_2484
68@ = 0

:MANSON5_2484
goto @MANSON5_2491

:MANSON5_2491
return 

:MANSON5_2493
if 
  47@ == 0
goto_if_false @MANSON5_2610
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  not Car.IsDead(45@)
goto_if_false @MANSON5_2610
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates(45@)
$heading = Math.GetDistanceBetweenCoords2D($x, $y, $on_footY, $on_footZ)
if 
  $heading > 150.0
goto_if_false @MANSON5_2610
Car.MarkAsNoLongerNeeded(45@)
Streaming.MarkModelAsNoLongerNeeded(424)
47@ += 1

:MANSON5_2610
return 

:MANSON5_2612
switch_start 69@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @MANSON5_3250 {caseNum1} 0 {caseLabel1} @MANSON5_2675 {caseNum2} 1 {caseLabel2} @MANSON5_2755 {caseNum3} 2 {caseLabel3} @MANSON5_2806 {caseNum4} -1 {caseLabel4} @MANSON5_3250 {caseNum5} -1 {caseLabel5} @MANSON5_3250 {caseNum6} -1 {caseLabel6} @MANSON5_3250 {caseNum7} -1 {caseLabel7} @MANSON5_3250

:MANSON5_2675
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -12.2064, -1117.876, 250.0, 250.0, False)
goto_if_false @MANSON5_2748
Streaming.LoadSpecialCharacter(2, 'OGLOC')
Streaming.RequestModel(219)
Streaming.RequestModel(582)
Streaming.RequestModel(539)
69@ += 1

:MANSON5_2748
goto @MANSON5_3250

:MANSON5_2755
if or
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasModelLoaded(219)
  not Streaming.HasModelLoaded(582)
  not Streaming.HasModelLoaded(539)
goto_if_false @MANSON5_2799
goto @MANSON5_3250
goto @MANSON5_2806

:MANSON5_2799
69@ += 1

:MANSON5_2806
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -12.2064, -1117.876, 150.0, 150.0, False)
goto_if_false @MANSON5_3243
35@ = Char.Create(PedType.Special, 291, -6.499, -1109.111, 6.5441)
Char.SetHeading(35@, 333.1959)
Char.FreezePosition(35@, True)
Char.SetProofs(35@, True, True, True, True, True)
Char.SetDecisionMaker(35@, 52@)
Char.SetNeverTargeted(35@, True)
Char.SetCantBeDraggedOut(35@, True)
73@ = Char.Create(PedType.Mission1, 219, -7.174, -1108.2, 6.4475)
Char.SetHeading(73@, 210.4687)
Char.FreezePosition(73@, True)
Char.SetProofs(73@, True, True, True, True, True)
74@ = Car.Create(582, -12.3019, -1108.927, 6.837)
Car.SetHeading(74@, 153.1079)
Car.FreezePosition(74@, True)
Car.ChangeColor(74@, 1, 1)
Car.SetProofs(74@, True, True, True, True, True)
39@ = Car.Create(539, -7.4398, -1116.85, 7.0583)
Car.SetHeading(39@, 278.5895)
Car.FreezePosition(39@, True)
Car.ChangeColor(39@, 1, 1)
Car.SetProofs(39@, True, True, True, True, True)
40@ = Car.Create(539, -4.862, -1120.453, 7.0799)
Car.SetHeading(40@, 266.0038)
Car.FreezePosition(40@, True)
Car.ChangeColor(40@, 1, 1)
Car.SetProofs(40@, True, True, True, True, True)
41@ = Car.Create(539, -7.0309, -1111.909, 6.726)
Car.SetHeading(41@, 269.4002)
Car.FreezePosition(41@, True)
Car.ChangeColor(41@, 8, 0)
Car.SetProofs(41@, True, True, True, True, True)
69@ += 1

:MANSON5_3243
goto @MANSON5_3250

:MANSON5_3250
return 

:MANSON5_3252
wait 0
if 
  not Char.IsDead(34@)
goto_if_false @MANSON5_3376
65@ = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  65@ == 0
goto_if_false @MANSON5_3369
Char.FreezePosition(34@, False)
Char.SetNeverLeavesGroup(34@, True)
Group.SetMember(51@, 34@)
37@ = Blip.AddForChar(34@)
Blip.SetAsFriendly(37@, True)
Blip.ChangeDisplay(37@, BlipDisplay.BlipOnly)
50@ = Blip.AddForCoord(-12.2064, -1117.876, 7.0705)
goto @MANSON5_1350

:MANSON5_3369
goto @MANSON5_3404

:MANSON5_3376
62@ = 1
set_lvar_text_label 63@s = 'MAN5_F0'
goto @MANSON5_13113

:MANSON5_3404
goto @MANSON5_3252

:MANSON5_3411
if 
  3 > 69@
goto_if_false @MANSON5_3447
wait 0
gosub @MANSON5_2612
goto @MANSON5_3411

:MANSON5_3447
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Car.Delete(45@)
Streaming.RequestModel(484)
Streaming.RequestModel(453)
Streaming.RequestModel(#WATERJUMPX2)
Streaming.RequestCarRecording(700)
Streaming.RequestCarRecording(701)

:MANSON5_3487
if or
  not Streaming.HasModelLoaded(484)
  not Streaming.HasModelLoaded(453)
  not Streaming.HasModelLoaded(#WATERJUMPX2)
  not Streaming.HasCarRecordingBeenLoaded(700)
  not Streaming.HasCarRecordingBeenLoaded(701)
goto_if_false @MANSON5_3534
wait 0
goto @MANSON5_3487

:MANSON5_3534
if 
  not Char.IsDead(35@)
goto_if_false @MANSON5_3557
Char.FreezePosition(35@, False)

:MANSON5_3557
if 
  not Char.IsDead(73@)
goto_if_false @MANSON5_3580
Char.FreezePosition(73@, False)

:MANSON5_3580
if 
  not Car.IsDead(74@)
goto_if_false @MANSON5_3603
Car.FreezePosition(74@, False)

:MANSON5_3603
if 
  not Car.IsDead(39@)
goto_if_false @MANSON5_3626
Car.FreezePosition(39@, False)

:MANSON5_3626
if 
  not Car.IsDead(40@)
goto_if_false @MANSON5_3649
Car.FreezePosition(40@, False)

:MANSON5_3649
if 
  not Car.IsDead(41@)
goto_if_false @MANSON5_3672
Car.FreezePosition(41@, False)

:MANSON5_3672
if 
  $7958 == 0
goto_if_false @MANSON5_3697
$7958 += 1

:MANSON5_3697
Camera.SetFixedPosition(-5.0753, -1108.265, 7.9567, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-6.004, -1108.63, 7.8925, SwitchType.JumpCut)
53@ = 0
World.ClearArea(-12.3019, -1108.927, 6.837, 500.0, True)
Skip.Clear
118@ = 6
119@ = 18
Camera.DoFade(0, Fade.In)
skip_cutscene_start_internal @MANSON5_4643
TIMERA = 0

:MANSON5_3815
if 
  2000 > TIMERA
goto_if_false @MANSON5_3852
wait 0
gosub @MANSON5_11710
goto @MANSON5_3815

:MANSON5_3852
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.SetVectorTrack(-6.004, -1108.63, 7.8925, -5.5642, -1108.835, 7.8925, 2000, True)
if and
  not Char.IsDead(35@)
  not Char.IsDead(34@)
  not Char.IsDead(73@)
goto_if_false @MANSON5_3937
Task.TurnCharToFaceChar(35@, 34@)
Task.TurnCharToFaceChar(73@, 34@)

:MANSON5_3937
TIMERA = 0

:MANSON5_3944
if 
  1800 > TIMERA
goto_if_false @MANSON5_3981
wait 0
gosub @MANSON5_11710
goto @MANSON5_3944

:MANSON5_3981
if 
  not Car.IsDead(39@)
goto_if_false @MANSON5_4052
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -8.0333, -1118.52, 7.0531, MoveState.Run, -2)
Task.EnterCarAsDriver(-1, 39@, -2)
Sequence.Close(49@)
Char.PerformSequence($stattreadstamina_ctr, 49@)
Sequence.Clear(49@)

:MANSON5_4052
if and
  not Char.IsDead(34@)
  not Car.IsDead(40@)
goto_if_false @MANSON5_4128
49@ = Sequence.Open()
Task.GoStraightToCoord(-1, -4.9313, -1122.054, 7.0188, MoveState.Run, -2)
Task.EnterCarAsDriver(-1, 40@, -2)
Sequence.Close(49@)
Char.PerformSequence(34@, 49@)
Sequence.Clear(49@)

:MANSON5_4128
TIMERA = 0

:MANSON5_4135
if 
  250 > TIMERA
goto_if_false @MANSON5_4172
wait 0
gosub @MANSON5_11710
goto @MANSON5_4135

:MANSON5_4172
if and
  not Char.IsDead(35@)
  not Car.IsDead(41@)
goto_if_false @MANSON5_4203
Task.EnterCarAsDriver(35@, 41@, -2)

:MANSON5_4203
48@ = 0

:MANSON5_4210
if 
  48@ == 0
goto_if_false @MANSON5_4303
wait 0
if and
  not Char.IsDead(35@)
  not Car.IsDead(41@)
goto_if_false @MANSON5_4289
if 
  Char.IsInCar(35@, 41@)
goto_if_false @MANSON5_4289
48@ = 1
Car.SetForwardSpeed(41@, 8.0)

:MANSON5_4289
gosub @MANSON5_11710
goto @MANSON5_4210

:MANSON5_4303
55@, 56@, 57@ = Camera.GetActiveCoordinates()
58@, 59@, 60@ = Camera.GetActivePointAt()
Camera.ResetNewScriptables
Camera.SetFixedPosition(55@, 56@, 57@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(58@, 59@, 60@, SwitchType.JumpCut)
TIMERA = 0
TIMERB = 0
48@ = 0

:MANSON5_4387
if 
  4500 > TIMERA
goto_if_false @MANSON5_4592
wait 0
55@ += 0.0085
56@ -= 0.05
58@ += 0.0085
59@ -= 0.05
Camera.SetFixedPosition(55@, 56@, 57@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(58@, 59@, 60@, SwitchType.JumpCut)
if and
  TIMERB > 800
  48@ == 0
goto_if_false @MANSON5_4578
if 
  not Car.IsDead(41@)
goto_if_false @MANSON5_4578
Car.SetForwardSpeed(41@, 0.0)
Car.SetCoordinates(41@, -15.191, -1107.97, 7.0385)
Car.SetHeading(41@, 345.91)
48@ += 1

:MANSON5_4578
gosub @MANSON5_11710
goto @MANSON5_4387

:MANSON5_4592
TIMERA = 0

:MANSON5_4599
if 
  1800 > TIMERA
goto_if_false @MANSON5_4636
wait 0
gosub @MANSON5_11710
goto @MANSON5_4599

:MANSON5_4636
53@ = 1

:MANSON5_4643
skip_cutscene_end 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
set_lvar_text_label 168@s = 'MAN5_FA'
set_lvar_int_to_constant 120@ = 24425
set_lvar_text_label 170@s = 'MAN5_FB'
set_lvar_int_to_constant 121@ = 24426
set_lvar_text_label 172@s = 'MAN5_FC'
set_lvar_int_to_constant 122@ = 24427
set_lvar_text_label 174@s = 'MAN5_FD'
set_lvar_int_to_constant 123@ = 24428
set_lvar_text_label 176@s = 'MAN5_FE'
set_lvar_int_to_constant 124@ = 24429
set_lvar_text_label 178@s = 'MAN5_FF'
set_lvar_int_to_constant 125@ = 24430
set_lvar_text_label 180@s = 'MAN5_FG'
set_lvar_int_to_constant 126@ = 24431
set_lvar_text_label 182@s = 'MAN5_FH'
set_lvar_int_to_constant 127@ = 24432
set_lvar_text_label 184@s = 'MAN5_FJ'
set_lvar_int_to_constant 128@ = 24433
118@ = 8
119@ = 0
if 
  53@ == 0
goto_if_false @MANSON5_5056
Camera.DoFade(0, Fade.Out)
if and
  not Char.IsDead(35@)
  not Car.IsDead(41@)
goto_if_false @MANSON5_4942
if 
  not Char.IsInCar(35@, 41@)
goto_if_false @MANSON5_4942
Char.ClearTasks(35@)
Char.WarpIntoCar(35@, 41@)

:MANSON5_4942
if and
  not Char.IsDead(34@)
  not Car.IsDead(40@)
goto_if_false @MANSON5_4995
if 
  not Char.IsInCar(34@, 40@)
goto_if_false @MANSON5_4995
Char.ClearTasks(34@)
Char.WarpIntoCar(34@, 40@)

:MANSON5_4995
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Car.IsDead(39@)
goto_if_false @MANSON5_5048
if 
  not Char.IsInCar($stattreadstamina_ctr, 39@)
goto_if_false @MANSON5_5048
Char.ClearTasks($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, 39@)

:MANSON5_5048
Camera.ResetNewScriptables
Camera.DoFade(0, Fade.In)

:MANSON5_5056
Text.PrintNow('MAN5_G4', 8000, 1)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
if 
  not Char.IsDead(73@)
goto_if_false @MANSON5_5130
Char.FreezePosition(73@, False)
Char.SetProofs(73@, False, False, False, False, False)
Char.MarkAsNoLongerNeeded(73@)

:MANSON5_5130
if 
  not Car.IsDead(74@)
goto_if_false @MANSON5_5173
Car.FreezePosition(74@, False)
Car.SetProofs(74@, False, False, False, False, False)
Car.MarkAsNoLongerNeeded(74@)

:MANSON5_5173
Streaming.MarkModelAsNoLongerNeeded(219)
Streaming.MarkModelAsNoLongerNeeded(582)
if and
  not Car.IsDead(41@)
  not Car.IsDead(40@)
goto_if_false @MANSON5_5285
Car.SetProofs(41@, False, False, False, True, False)
Car.SetProofs(40@, False, False, False, True, False)
World.SyncWater
Car.StartPlayback(41@, 700)
Car.StartPlayback(40@, 701)
Blip.Remove(50@)
Blip.Remove(37@)
38@ = Blip.AddForCar(41@)
37@ = Blip.AddForCar(40@)
Blip.SetAsFriendly(37@, True)

:MANSON5_5285
if and
  not Char.IsDead(35@)
  not Char.IsDead(34@)
  not Car.IsDead(39@)
goto_if_false @MANSON5_5356
Char.SetProofs(35@, False, False, False, True, False)
Char.SetProofs(34@, False, False, False, True, False)
Car.SetProofs(39@, False, False, False, False, False)

:MANSON5_5356
75@ = Car.Create(484, 64.6248, -1577.02, 1.0)
Car.SetHeading(75@, 120.3362)
Boat.Anchor(75@, True)
76@ = Car.Create(484, 33.6099, -1568.462, 1.0)
Car.SetHeading(76@, 284.2679)
Boat.Anchor(76@, True)
77@ = Car.Create(453, 44.502, -1623.984, 1.0)
Car.SetHeading(77@, 75.0)
Boat.Anchor(77@, True)
78@ = Car.Create(484, 27.4441, -1654.804, 1.0)
Car.SetHeading(78@, 60.0)
Boat.Anchor(78@, True)
79@ = Car.Create(484, 65.1404, -1664.87, 1.0)
Car.SetHeading(79@, 95.0)
Boat.Anchor(79@, True)
80@ = Car.Create(453, 53.4007, -1694.957, 1.0)
Car.SetHeading(80@, 231.9938)
Boat.Anchor(80@, True)
81@ = Car.Create(453, 33.4799, -1697.462, 1.0)
Car.SetHeading(81@, 106.8489)
Boat.Anchor(81@, True)
82@ = Car.Create(484, 57.1376, -1767.301, 1.0)
Car.SetHeading(82@, 286.5185)
Boat.Anchor(82@, True)
83@ = Object.CreateNoOffset(#WATERJUMPX2, 137.9184, -1895.06, 0.9)
Object.SetHeading(83@, 235.0)
95@ = 0
97@ = 0
TIMERA = 0

:MANSON5_5730
wait 0
if 
  not Char.IsDead(34@)
goto_if_false @MANSON5_5978
if 
  not Char.IsDead(35@)
goto_if_false @MANSON5_5943
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
gosub @MANSON5_8993
gosub @MANSON5_9399
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(35@)
$heading = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, $x, $y)
if 
  $heading >= 240.0
goto_if_false @MANSON5_5874
62@ = 1
set_lvar_text_label 63@s = 'MAN5_F2'
goto @MANSON5_13113

:MANSON5_5874
if 
  Char.IsInArea3D($stattreadstamina_ctr, 820.3243, -1918.42, 11.8624, 852.5646, -1894.725, 13.0, False)
goto_if_false @MANSON5_5929
goto @MANSON5_6013

:MANSON5_5929
gosub @MANSON5_11710
goto @MANSON5_5971

:MANSON5_5943
62@ = 1
set_lvar_text_label 63@s = 'MAN5_F3'
goto @MANSON5_13113

:MANSON5_5971
goto @MANSON5_6006

:MANSON5_5978
62@ = 1
set_lvar_text_label 63@s = 'MAN5_F0'
goto @MANSON5_13113

:MANSON5_6006
goto @MANSON5_5730

:MANSON5_6013
Camera.DoFade(0, Fade.Out)
Audio.SetRadioChannel(RadioChannel.UserTracks)
World.SetPedDensityMultiplier(0.3)
if 
  not Car.IsDead(39@)
goto_if_false @MANSON5_6094
Car.SetHealth(39@, 2000)
Car.SetForwardSpeed(39@, 0.0)
Car.SetCoordinates(39@, 824.9831, -1843.146, 11.6654)
Car.SetHeading(39@, 192.0245)

:MANSON5_6094
if 
  not Car.IsDead(40@)
goto_if_false @MANSON5_6176
if 
  Car.IsPlaybackGoingOn(40@)
goto_if_false @MANSON5_6131
Car.StopPlayback(40@)

:MANSON5_6131
Car.SetForwardSpeed(40@, 0.0)
Car.SetCoordinates(40@, 846.0862, -1842.421, 11.6367)
Car.SetHeading(40@, 170.999)
Blip.Remove(37@)

:MANSON5_6176
if 
  not Car.IsDead(41@)
goto_if_false @MANSON5_6258
if 
  Car.IsPlaybackGoingOn(41@)
goto_if_false @MANSON5_6213
Car.StopPlayback(41@)

:MANSON5_6213
Car.SetForwardSpeed(41@, 0.0)
Car.SetCoordinates(41@, 832.5709, -2045.707, 11.8672)
Car.SetHeading(41@, 180.0)
Blip.Remove(38@)

:MANSON5_6258
Char.MarkAsNoLongerNeeded(73@)
48@ = 0

:MANSON5_6270
if 
  8 > 48@
goto_if_false @MANSON5_6311
Car.MarkAsNoLongerNeeded(75@(48@,8i))
48@ += 1
goto @MANSON5_6270

:MANSON5_6311
Object.MarkAsNoLongerNeeded(83@)
Streaming.MarkModelAsNoLongerNeeded(484)
Streaming.MarkModelAsNoLongerNeeded(453)
Streaming.MarkModelAsNoLongerNeeded(#WATERJUMPX2)
Streaming.RemoveCarRecording(700)
Streaming.RemoveCarRecording(701)
Streaming.RequestModel(571)
Streaming.RequestCarRecording(702)
Streaming.RequestCarRecording(703)
Streaming.RequestCarRecording(704)
Streaming.RequestCarRecording(705)

:MANSON5_6366
if or
  not Streaming.HasModelLoaded(571)
  not Streaming.HasCarRecordingBeenLoaded(702)
  not Streaming.HasCarRecordingBeenLoaded(703)
  not Streaming.HasCarRecordingBeenLoaded(704)
  not Streaming.HasCarRecordingBeenLoaded(705)
goto_if_false @MANSON5_6413
wait 0
goto @MANSON5_6366

:MANSON5_6413
42@ = Car.Create(571, 832.4061, -2046.025, 11.8672)
Car.SetHeading(42@, 343.6256)
43@ = Car.Create(571, 835.5082, -2047.978, 11.8672)
Car.SetHeading(43@, 0.0)
44@ = Car.Create(571, 839.2866, -2050.322, 11.8672)
Car.SetHeading(44@, 21.8433)
Car.FreezePosition(44@, True)
103@ = 15.0
104@ = 10.0
102@ = 15.0
105@ = 835.5082
106@ = -2047.978
107@ = 11.8672
gosub @MANSON5_10491
if 
  not Car.IsDead(41@)
goto_if_false @MANSON5_6626
if 
  not Car.IsPlaybackGoingOn(41@)
goto_if_false @MANSON5_6626
Car.StartPlayback(41@, 702)

:MANSON5_6626
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.In)
TIMERA = 0

:MANSON5_6650
if 
  1000 > TIMERA
goto_if_false @MANSON5_6687
wait 0
gosub @MANSON5_10491
goto @MANSON5_6650

:MANSON5_6687
53@ = 0
skip_cutscene_start_internal @MANSON5_7376
TIMERA = 0

:MANSON5_6708
if 
  3400 > TIMERA
goto_if_false @MANSON5_6745
wait 0
gosub @MANSON5_10491
goto @MANSON5_6708

:MANSON5_6745
if 
  not Car.IsDead(39@)
goto_if_false @MANSON5_6791
Car.SetCoordinates(39@, 827.2987, -2036.851, 11.8672)
Car.SetHeading(39@, 176.431)

:MANSON5_6791
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSON5_6834
Char.WarpFromCarToCoord($stattreadstamina_ctr, 828.7999, -2036.757, 11.8672)
goto @MANSON5_6854

:MANSON5_6834
Char.SetCoordinates($stattreadstamina_ctr, 828.7999, -2036.757, 11.8672)

:MANSON5_6854
Char.SetHeading($stattreadstamina_ctr, 129.8786)
if 
  not Car.IsDead(40@)
goto_if_false @MANSON5_6910
Car.SetCoordinates(40@, 846.0646, -2039.737, 11.8672)
Car.SetHeading(40@, 162.7406)

:MANSON5_6910
if 
  not Char.IsDead(34@)
goto_if_false @MANSON5_6999
if 
  Char.IsInAnyCar(34@)
goto_if_false @MANSON5_6969
Char.WarpFromCarToCoord(34@, 844.8756, -2038.455, 11.8672)
goto @MANSON5_6989

:MANSON5_6969
Char.SetCoordinates(34@, 844.8756, -2038.455, 11.8672)

:MANSON5_6989
Char.SetHeading(34@, 132.7607)

:MANSON5_6999
48@ = 0

:MANSON5_7006
if 
  48@ == 0
goto_if_false @MANSON5_7081
wait 0
if 
  not Car.IsDead(41@)
goto_if_false @MANSON5_7067
if 
  not Car.IsPlaybackGoingOn(41@)
goto_if_false @MANSON5_7067
48@ = 1

:MANSON5_7067
gosub @MANSON5_10491
goto @MANSON5_7006

:MANSON5_7081
if and
  not Char.IsDead(35@)
  not Car.IsDead(44@)
goto_if_false @MANSON5_7138
49@ = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.EnterCarAsDriver(-1, 44@, -2)
Sequence.Close(49@)
Char.PerformSequence(35@, 49@)
Sequence.Clear(49@)

:MANSON5_7138
48@ = 0

:MANSON5_7145
if 
  48@ == 0
goto_if_false @MANSON5_7228
wait 0
if and
  not Char.IsDead(35@)
  not Car.IsDead(44@)
goto_if_false @MANSON5_7214
if 
  Char.IsInCar(35@, 44@)
goto_if_false @MANSON5_7214
48@ = 1

:MANSON5_7214
gosub @MANSON5_10491
goto @MANSON5_7145

:MANSON5_7228
if 
  not Car.IsDead(44@)
goto_if_false @MANSON5_7268
if 
  not Car.IsPlaybackGoingOn(44@)
goto_if_false @MANSON5_7268
Car.StartPlayback(44@, 703)

:MANSON5_7268
if 
  not Car.IsDead(42@)
goto_if_false @MANSON5_7294
Task.EnterCarAsDriver($stattreadstamina_ctr, 42@, -2)

:MANSON5_7294
if and
  not Char.IsDead(34@)
  not Car.IsDead(43@)
goto_if_false @MANSON5_7325
Task.EnterCarAsDriver(34@, 43@, -2)

:MANSON5_7325
TIMERA = 0

:MANSON5_7332
if 
  4500 > TIMERA
goto_if_false @MANSON5_7369
wait 0
gosub @MANSON5_10491
goto @MANSON5_7332

:MANSON5_7369
53@ = 1

:MANSON5_7376
skip_cutscene_end 
if 
  53@ == 0
goto_if_false @MANSON5_7402
Camera.DoFade(0, Fade.Out)

:MANSON5_7402
if 
  not Car.IsDead(42@)
goto_if_false @MANSON5_7481
if 
  not Char.IsInCar($stattreadstamina_ctr, 42@)
goto_if_false @MANSON5_7481
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSON5_7473
Char.WarpFromCarToCoord($stattreadstamina_ctr, 0.0, 0.0, 0.0)

:MANSON5_7473
Char.WarpIntoCar($stattreadstamina_ctr, 42@)

:MANSON5_7481
if 
  not Car.IsDead(39@)
goto_if_false @MANSON5_7527
Car.SetCoordinates(39@, 827.2987, -2036.851, 11.8672)
Car.SetHeading(39@, 176.431)

:MANSON5_7527
if and
  not Char.IsDead(34@)
  not Car.IsDead(43@)
goto_if_false @MANSON5_7611
if 
  not Char.IsInCar(34@, 43@)
goto_if_false @MANSON5_7611
if 
  Char.IsInAnyCar(34@)
goto_if_false @MANSON5_7603
Char.WarpFromCarToCoord(34@, 0.0, 0.0, 0.0)

:MANSON5_7603
Char.WarpIntoCar(34@, 43@)

:MANSON5_7611
if 
  not Car.IsDead(40@)
goto_if_false @MANSON5_7657
Car.SetCoordinates(40@, 846.0646, -2039.737, 11.8672)
Car.SetHeading(40@, 162.7406)

:MANSON5_7657
if and
  not Char.IsDead(35@)
  not Car.IsDead(44@)
goto_if_false @MANSON5_7748
Car.FreezePosition(44@, False)
if 
  not Char.IsInCar(35@, 44@)
goto_if_false @MANSON5_7748
if 
  Char.IsInAnyCar(35@)
goto_if_false @MANSON5_7740
Char.WarpFromCarToCoord(35@, 0.0, 0.0, 0.0)

:MANSON5_7740
Char.WarpIntoCar(35@, 44@)

:MANSON5_7748
if 
  not Car.IsDead(41@)
goto_if_false @MANSON5_7785
if 
  Car.IsPlaybackGoingOn(41@)
goto_if_false @MANSON5_7785
Car.SkipToEndAndStopPlayback(41@)

:MANSON5_7785
95@ = 0
97@ = 0
94@ = 0.0
112@ = 0
117@ = 0
if 
  not Car.IsDead(44@)
goto_if_false @MANSON5_7876
if 
  Car.IsPlaybackGoingOn(44@)
goto_if_false @MANSON5_7860
Car.StopPlayback(44@)

:MANSON5_7860
Car.StartPlayback(44@, 704)
38@ = Blip.AddForCar(44@)

:MANSON5_7876
if 
  not Car.IsDead(43@)
goto_if_false @MANSON5_7931
if 
  not Car.IsPlaybackGoingOn(43@)
goto_if_false @MANSON5_7916
Car.StartPlayback(43@, 705)

:MANSON5_7916
37@ = Blip.AddForCar(43@)
Blip.SetAsFriendly(37@, True)

:MANSON5_7931
118@ = 10
119@ = 4
Camera.DoFade(0, Fade.In)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.PrintNow('MAN5_G5', 8000, 1)
TIMERA = 0

:MANSON5_7989
wait 0
if 
  not Char.IsDead(34@)
goto_if_false @MANSON5_8244
if 
  not Char.IsDead(35@)
goto_if_false @MANSON5_8209
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
gosub @MANSON5_9742
gosub @MANSON5_10148
gosub @MANSON5_10713
gosub @MANSON5_11446
if 
  54@ == 1
goto_if_false @MANSON5_8099
goto @MANSON5_8279
goto @MANSON5_8195

:MANSON5_8099
if 
  not Char.IsDead(35@)
goto_if_false @MANSON5_8195
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(35@)
$heading = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, $x, $y)
if 
  $heading >= 130.0
goto_if_false @MANSON5_8195
62@ = 1
set_lvar_text_label 63@s = 'MAN5_F2'
goto @MANSON5_13113

:MANSON5_8195
gosub @MANSON5_11710
goto @MANSON5_8237

:MANSON5_8209
62@ = 1
set_lvar_text_label 63@s = 'MAN5_F3'
goto @MANSON5_13113

:MANSON5_8237
goto @MANSON5_8272

:MANSON5_8244
62@ = 1
set_lvar_text_label 63@s = 'MAN5_F0'
goto @MANSON5_13113

:MANSON5_8272
goto @MANSON5_7989

:MANSON5_8279
Camera.DoFade(0, Fade.Out)
Audio.SetRadioChannel(RadioChannel.UserTracks)
Blip.Remove(37@)
Blip.Remove(38@)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSON5_8333
84@ = Char.GetCarIsUsing($stattreadstamina_ctr)
Car.SetForwardSpeed(84@, 0.0)

:MANSON5_8333
if 
  not Char.IsDead(34@)
goto_if_false @MANSON5_8359
Char.MarkAsNoLongerNeeded(34@)
Streaming.MarkModelAsNoLongerNeeded(183)

:MANSON5_8359
if 
  not Car.IsDead(43@)
goto_if_false @MANSON5_8401
if 
  Car.IsPlaybackGoingOn(43@)
goto_if_false @MANSON5_8396
Car.StopPlayback(43@)

:MANSON5_8396
Car.MarkAsNoLongerNeeded(43@)

:MANSON5_8401
Camera.SetFixedPosition(1045.371, -1221.84, 18.9362, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1046.241, -1221.447, 18.6378, SwitchType.JumpCut)
World.ClearAreaOfCars(1071.504, -1195.558, 18.6451, 1044.942, -1242.477, 14.9051)
if 
  not Car.IsDead(44@)
goto_if_false @MANSON5_8531
if 
  Car.IsPlaybackGoingOn(44@)
goto_if_false @MANSON5_8531
Car.UnpausePlayback(44@)
Car.SetPlaybackSpeed(44@, 1.0)

:MANSON5_8531
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.In)

:MANSON5_8549
if 
  Camera.GetFadingStatus
goto_if_false @MANSON5_8573
wait 0
goto @MANSON5_8549

:MANSON5_8573
skip_cutscene_start_internal @MANSON5_8669
48@ = 0

:MANSON5_8587
if 
  48@ == 0
goto_if_false @MANSON5_8669
wait 0
if 
  not Car.IsDead(44@)
goto_if_false @MANSON5_8655
if 
  not Car.IsPlaybackGoingOn(44@)
goto_if_false @MANSON5_8648
48@ = 1

:MANSON5_8648
goto @MANSON5_8662

:MANSON5_8655
48@ = 1

:MANSON5_8662
goto @MANSON5_8587

:MANSON5_8669
skip_cutscene_end 
Camera.DoFade(0, Fade.Out)

:MANSON5_8677
if 
  Camera.GetFadingStatus
goto_if_false @MANSON5_8701
wait 0
goto @MANSON5_8677

:MANSON5_8701
Streaming.SetAreaVisible(3)
Player.MakeSafeForCutscene($statbike_temp)
Streaming.Switch(False)
Cutscene.Load('BHILL5B')

:MANSON5_8725
if 
  not Cutscene.HasLoaded
goto_if_false @MANSON5_8749
wait 0
goto @MANSON5_8725

:MANSON5_8749
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:MANSON5_8758
if 
  not Cutscene.HasFinished
goto_if_false @MANSON5_8782
wait 0
goto @MANSON5_8758

:MANSON5_8782
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:MANSON5_8797
if 
  Camera.GetFadingStatus
goto_if_false @MANSON5_8821
wait 0
goto @MANSON5_8797

:MANSON5_8821
Streaming.SetAreaVisible(0)
Streaming.LoadScene(1180.732, -1159.114, 22.8578)
Streaming.RequestCollision(1180.732, -1159.114)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @MANSON5_8897
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1180.732, -1159.114, 22.8578)
goto @MANSON5_8917

:MANSON5_8897
Char.SetCoordinatesNoOffset($stattreadstamina_ctr, 1180.732, -1159.114, 22.8578)

:MANSON5_8917
Char.SetHeading($stattreadstamina_ctr, 25.4307)
TIMERA = 0

:MANSON5_8934
if 
  400 > TIMERA
goto_if_false @MANSON5_8964
wait 0
goto @MANSON5_8934

:MANSON5_8964
Camera.DoFade(500, Fade.In)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
goto @MANSON5_12906

:MANSON5_8993
if and
  not Car.IsDead(40@)
  not Char.IsDead(34@)
goto_if_false @MANSON5_9397
if 
  95@ == 0
goto_if_false @MANSON5_9397
if 
  Car.IsPlaybackGoingOn(40@)
goto_if_false @MANSON5_9380
if 
  Char.LocateInCarChar2D(34@, $stattreadstamina_ctr, 6.0, 6.0, False)
goto_if_false @MANSON5_9096
96@ -= 0.2
goto @MANSON5_9296

:MANSON5_9096
85@, 86@, $in_carX = Car.GetOffsetInWorldCoords(40@, 0.0, 4.0, 0.0)
87@, 88@, $in_carX = Car.GetOffsetInWorldCoords(40@, 2.0, 2.0, 0.0)
89@, 90@, $in_carX = Car.GetOffsetInWorldCoords(40@, -2.0, 2.0, 0.0)
91@ = Math.GetDistanceBetweenCoords2D(85@, 86@, $x, $y)
91@ *= 2.0
92@ = Math.GetDistanceBetweenCoords2D(87@, 88@, $x, $y)
93@ = Math.GetDistanceBetweenCoords2D(89@, 90@, $x, $y)
set_lvar_float_to_lvar_float 61@ = 91@
sub_float_lvar_from_float_lvar 61@ -= 92@
sub_float_lvar_from_float_lvar 61@ -= 93@
61@ /= 300.0
61@ *= -1.0
add_float_lvar_to_float_lvar 96@ += 61@

:MANSON5_9296
if 
  96@ > 1.0
goto_if_false @MANSON5_9334
96@ = 1.0
goto @MANSON5_9365

:MANSON5_9334
if 
  0.0 > 96@
goto_if_false @MANSON5_9365
96@ = 0.0

:MANSON5_9365
Car.SetPlaybackSpeed(40@, 96@)
goto @MANSON5_9397

:MANSON5_9380
Car.SetForwardSpeed(40@, 0.0)
95@ = -1

:MANSON5_9397
return 

:MANSON5_9399
if 
  not Car.IsDead(41@)
goto_if_false @MANSON5_9740
if 
  97@ == 0
goto_if_false @MANSON5_9740
if 
  Car.IsPlaybackGoingOn(41@)
goto_if_false @MANSON5_9723
85@, 86@, $in_carX = Car.GetOffsetInWorldCoords(41@, 0.0, -18.0, 0.0)
87@, 88@, $in_carX = Car.GetOffsetInWorldCoords(41@, 2.0, -11.0, 0.0)
89@, 90@, $in_carX = Car.GetOffsetInWorldCoords(41@, -2.0, -11.0, 0.0)
91@ = Math.GetDistanceBetweenCoords2D(85@, 86@, $x, $y)
91@ *= 2.0
92@ = Math.GetDistanceBetweenCoords2D(87@, 88@, $x, $y)
93@ = Math.GetDistanceBetweenCoords2D(89@, 90@, $x, $y)
set_lvar_float_to_lvar_float 61@ = 91@
sub_float_lvar_from_float_lvar 61@ -= 92@
sub_float_lvar_from_float_lvar 61@ -= 93@
61@ /= 300.0
add_float_lvar_to_float_lvar 98@ += 61@
if 
  98@ > 1.4
goto_if_false @MANSON5_9677
98@ = 1.4
goto @MANSON5_9708

:MANSON5_9677
if 
  0.9 > 98@
goto_if_false @MANSON5_9708
98@ = 0.9

:MANSON5_9708
Car.SetPlaybackSpeed(41@, 98@)
goto @MANSON5_9740

:MANSON5_9723
Car.SetForwardSpeed(41@, 0.0)
97@ = -1

:MANSON5_9740
return 

:MANSON5_9742
if and
  not Car.IsDead(43@)
  not Char.IsDead(34@)
goto_if_false @MANSON5_10146
if 
  95@ == 0
goto_if_false @MANSON5_10146
if 
  Car.IsPlaybackGoingOn(43@)
goto_if_false @MANSON5_10129
if 
  Char.LocateInCarChar2D(34@, $stattreadstamina_ctr, 6.0, 6.0, False)
goto_if_false @MANSON5_9845
96@ -= 0.2
goto @MANSON5_10045

:MANSON5_9845
85@, 86@, $in_carX = Car.GetOffsetInWorldCoords(43@, 0.0, 4.0, 0.0)
87@, 88@, $in_carX = Car.GetOffsetInWorldCoords(43@, 2.0, 2.0, 0.0)
89@, 90@, $in_carX = Car.GetOffsetInWorldCoords(43@, -2.0, 2.0, 0.0)
91@ = Math.GetDistanceBetweenCoords2D(85@, 86@, $x, $y)
91@ *= 2.0
92@ = Math.GetDistanceBetweenCoords2D(87@, 88@, $x, $y)
93@ = Math.GetDistanceBetweenCoords2D(89@, 90@, $x, $y)
set_lvar_float_to_lvar_float 61@ = 91@
sub_float_lvar_from_float_lvar 61@ -= 92@
sub_float_lvar_from_float_lvar 61@ -= 93@
61@ /= 150.0
61@ *= -1.0
add_float_lvar_to_float_lvar 96@ += 61@

:MANSON5_10045
if 
  96@ > 1.05
goto_if_false @MANSON5_10083
96@ = 1.05
goto @MANSON5_10114

:MANSON5_10083
if 
  0.0 > 96@
goto_if_false @MANSON5_10114
96@ = 0.0

:MANSON5_10114
Car.SetPlaybackSpeed(43@, 96@)
goto @MANSON5_10146

:MANSON5_10129
Car.SetForwardSpeed(43@, 0.0)
95@ = -1

:MANSON5_10146
return 

:MANSON5_10148
if 
  not Car.IsDead(44@)
goto_if_false @MANSON5_10489
if 
  97@ == 0
goto_if_false @MANSON5_10489
if 
  Car.IsPlaybackGoingOn(44@)
goto_if_false @MANSON5_10472
85@, 86@, $in_carX = Car.GetOffsetInWorldCoords(44@, 0.0, -18.0, 0.0)
87@, 88@, $in_carX = Car.GetOffsetInWorldCoords(44@, 2.0, -11.0, 0.0)
89@, 90@, $in_carX = Car.GetOffsetInWorldCoords(44@, -2.0, -11.0, 0.0)
91@ = Math.GetDistanceBetweenCoords2D(85@, 86@, $x, $y)
91@ *= 2.0
92@ = Math.GetDistanceBetweenCoords2D(87@, 88@, $x, $y)
93@ = Math.GetDistanceBetweenCoords2D(89@, 90@, $x, $y)
set_lvar_float_to_lvar_float 61@ = 91@
sub_float_lvar_from_float_lvar 61@ -= 92@
sub_float_lvar_from_float_lvar 61@ -= 93@
61@ /= 300.0
add_float_lvar_to_float_lvar 98@ += 61@
if 
  98@ > 1.2
goto_if_false @MANSON5_10426
98@ = 1.2
goto @MANSON5_10457

:MANSON5_10426
if 
  0.6 > 98@
goto_if_false @MANSON5_10457
98@ = 0.6

:MANSON5_10457
Car.SetPlaybackSpeed(44@, 98@)
goto @MANSON5_10489

:MANSON5_10472
Car.SetForwardSpeed(44@, 0.0)
44@ = -1

:MANSON5_10489
return 

:MANSON5_10491
switch_start 99@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @MANSON5_10592 {caseNum1} 0 {caseLabel1} @MANSON5_10554 {caseNum2} -1 {caseLabel2} @MANSON5_10592 {caseNum3} -1 {caseLabel3} @MANSON5_10592 {caseNum4} -1 {caseLabel4} @MANSON5_10592 {caseNum5} -1 {caseLabel5} @MANSON5_10592 {caseNum6} -1 {caseLabel6} @MANSON5_10592 {caseNum7} -1 {caseLabel7} @MANSON5_10592

:MANSON5_10554
if 
  255.0 > 103@
goto_if_false @MANSON5_10585
103@ += 0.35

:MANSON5_10585
goto @MANSON5_10592

:MANSON5_10592
110@ = Math.Cos(103@)
111@ = Math.Sin(103@)
set_lvar_float_to_lvar_float 108@ = 104@
mult_float_lvar_by_float_lvar 108@ *= 110@
set_lvar_float_to_lvar_float 109@ = 104@
mult_float_lvar_by_float_lvar 109@ *= 111@
set_lvar_float_to_lvar_float 100@ = 105@
add_float_lvar_to_float_lvar 100@ += 108@
set_lvar_float_to_lvar_float 101@ = 106@
add_float_lvar_to_float_lvar 101@ += 109@
Camera.SetFixedPosition(100@, 101@, 102@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(105@, 106@, 107@, SwitchType.JumpCut)
return 

:MANSON5_10713
if 
  not Char.IsDead(35@)
goto_if_false @MANSON5_11444
switch_start 112@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @MANSON5_11444 {caseNum1} 0 {caseLabel1} @MANSON5_10792 {caseNum2} 1 {caseLabel2} @MANSON5_10896 {caseNum3} 2 {caseLabel3} @MANSON5_11236 {caseNum4} 3 {caseLabel4} @MANSON5_11298 {caseNum5} 4 {caseLabel5} @MANSON5_11362 {caseNum6} -1 {caseLabel6} @MANSON5_11444 {caseNum7} -1 {caseLabel7} @MANSON5_11444

:MANSON5_10792
if 
  Char.LocateInCar2D(35@, 748.4916, -1812.361, 2.0, 2.0, False)
goto_if_false @MANSON5_10889
if 
  not World.IsLineOfSightClear($x, $y, $z, 748.4916, -1812.361, 12.0297, True, False, False, False, False)
goto_if_false @MANSON5_10877

:MANSON5_10877
Streaming.RequestModel(588)
112@ += 1

:MANSON5_10889
goto @MANSON5_11444

:MANSON5_10896
if 
  Char.LocateInCar2D(35@, 662.4983, -1791.844, 2.0, 2.0, False)
goto_if_false @MANSON5_11229
if 
  Streaming.HasModelLoaded(588)
goto_if_false @MANSON5_11030
if 
  not World.IsLineOfSightClear($x, $y, $z, 532.9616, -1768.656, 4.698, True, False, False, False, False)
goto_if_false @MANSON5_11030
114@ = Car.Create(588, 532.9616, -1768.656, 4.698)
Car.SetHeading(114@, 270.0)

:MANSON5_11030
Path.SwitchRoadsOff(226.1833, -1631.007, 40.0, 546.4532, -1423.991, 12.0)
Path.SwitchRoadsOff(510.3661, -1431.656, 10.0, 645.8312, -1387.312, 20.0)
Path.SwitchRoadsOff(646.6142, -1389.016, 10.0, 620.9656, -1310.468, 20.0)
Path.SwitchRoadsOff(620.9656, -1310.468, 10.0, 947.811, -1335.012, 20.0)
Path.SwitchRoadsOff(948.2631, -1335.406, 10.0, 934.2357, -1229.939, 20.0)
Path.SwitchRoadsOff(804.0421, -1329.191, 10.0, 789.3583, -1159.008, 24.0)
112@ += 1

:MANSON5_11229
goto @MANSON5_11444

:MANSON5_11236
if 
  Char.LocateInCar2D(35@, 394.1295, -1801.128, 2.0, 2.0, False)
goto_if_false @MANSON5_11291
Streaming.MarkModelAsNoLongerNeeded(588)
Car.MarkAsNoLongerNeeded(114@)
112@ += 1

:MANSON5_11291
goto @MANSON5_11444

:MANSON5_11298
if 
  Char.LocateInCar2D(35@, 1030.758, -1223.58, 2.0, 2.0, False)
goto_if_false @MANSON5_11355
Car.PausePlayback(44@)
112@ += 1
goto @MANSON5_11362

:MANSON5_11355
goto @MANSON5_11444

:MANSON5_11362
if 
  not Char.IsDead(35@)
goto_if_false @MANSON5_11437
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(35@)
$heading = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, $x, $y)
if 
  40.0 >= $heading
goto_if_false @MANSON5_11437
54@ = 1

:MANSON5_11437
goto @MANSON5_11444

:MANSON5_11444
return 

:MANSON5_11446
switch_start 117@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @MANSON5_11708 {caseNum1} 0 {caseLabel1} @MANSON5_11509 {caseNum2} 1 {caseLabel2} @MANSON5_11570 {caseNum3} -1 {caseLabel3} @MANSON5_11708 {caseNum4} -1 {caseLabel4} @MANSON5_11708 {caseNum5} -1 {caseLabel5} @MANSON5_11708 {caseNum6} -1 {caseLabel6} @MANSON5_11708 {caseNum7} -1 {caseLabel7} @MANSON5_11708

:MANSON5_11509
$heading = Math.GetDistanceBetweenCoords2D($x, $y, 1064.547, -1218.083)
if 
  250.0 > $heading
goto_if_false @MANSON5_11563
Streaming.RequestModel(482)
117@ += 1

:MANSON5_11563
goto @MANSON5_11708

:MANSON5_11570
if 
  Streaming.HasModelLoaded(482)
goto_if_false @MANSON5_11701
$heading = Math.GetDistanceBetweenCoords2D($x, $y, 1064.547, -1218.083)
if 
  80.0 > $heading
goto_if_false @MANSON5_11701
115@ = Car.Create(482, 1064.547, -1218.083, 15.928)
Car.SetHeading(115@, 191.9481)
116@ = Car.Create(482, 1050.6, -1222.692, 15.8704)
Car.SetHeading(116@, 111.6362)
117@ += 1

:MANSON5_11701
goto @MANSON5_11708

:MANSON5_11708
return 

:MANSON5_11710
switch_start 118@ {numCases} 12 {hasDefaultCase} 0 {defaultLabel} @MANSON5_12904 {caseNum1} 0 {caseLabel1} @MANSON5_11838 {caseNum2} 1 {caseLabel2} @MANSON5_11934 {caseNum3} 2 {caseLabel3} @MANSON5_11981 {caseNum4} 3 {caseLabel4} @MANSON5_12233 {caseNum5} 4 {caseLabel5} @MANSON5_12280 {caseNum6} 5 {caseLabel6} @MANSON5_12355 {caseNum7} 6 {caseLabel7} @MANSON5_12402
switch_continued 7 {caseLabel1} @MANSON5_12477 {caseNum2} 8 {caseLabel2} @MANSON5_12524 {caseNum3} 9 {caseLabel3} @MANSON5_12667 {caseNum4} 10 {caseLabel4} @MANSON5_12714 {caseNum5} 11 {caseLabel5} @MANSON5_12857 {caseNum6} -1 {caseLabel6} @MANSON5_12904 {caseNum7} -1 {caseLabel7} @MANSON5_12904 {caseNum8} -1 {caseLabel8} @MANSON5_12904 {caseNum9} -1 {caseLabel9} @MANSON5_12904

:MANSON5_11838
if 
  3 > 119@
goto_if_false @MANSON5_11920
set_var_int_to_lvar_int $1280 = 120@(119@,24i)
set_var_text_label s$SLOT_status = 168@(119@,24s)
start_new_script @A_ALAP 2 100 144@(119@,24i) 
119@ += 1
118@ += 1
goto @MANSON5_11934

:MANSON5_11920
118@ = 2
goto @MANSON5_12904

:MANSON5_11934
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @MANSON5_11974
118@ = 0
$cash($height_int_hj,2i) = -4

:MANSON5_11974
goto @MANSON5_12904

:MANSON5_11981
if 
  69@ == 3
goto_if_false @MANSON5_12058
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, -12.2064, -1117.876, 120.0, 120.0, False)
goto_if_false @MANSON5_12058
118@ += 2
119@ = 16
goto @MANSON5_12904

:MANSON5_12058
if 
  66@ == 1
goto_if_false @MANSON5_12158
if 
  16 > 119@
goto_if_false @MANSON5_12151
set_var_int_to_lvar_int $1280 = 120@(119@,24i)
set_var_text_label s$SLOT_status = 168@(119@,24s)
start_new_script @A_ALAP 2 100 144@(119@,24i) 
119@ += 1
118@ += 1

:MANSON5_12151
goto @MANSON5_12233

:MANSON5_12158
if 
  119@ <> 3
goto_if_false @MANSON5_12226
if 
  0 <= $cash[0]
goto_if_false @MANSON5_12201
$cash[0] = -2

:MANSON5_12201
if 
  0 <= $cash[0]
goto_if_false @MANSON5_12226
$cash[1] = -2

:MANSON5_12226
goto @MANSON5_12904

:MANSON5_12233
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @MANSON5_12273
118@ = 2
$cash($height_int_hj,2i) = -4

:MANSON5_12273
goto @MANSON5_12904

:MANSON5_12280
if 
  18 > 119@
goto_if_false @MANSON5_12355
set_var_int_to_lvar_int $1280 = 120@(119@,24i)
set_var_text_label s$SLOT_status = 168@(119@,24s)
start_new_script @A_ALAP 2 100 144@(119@,24i) 
119@ += 1
118@ += 1

:MANSON5_12355
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @MANSON5_12395
118@ = 4
$cash($height_int_hj,2i) = -4

:MANSON5_12395
goto @MANSON5_12904

:MANSON5_12402
if 
  24 > 119@
goto_if_false @MANSON5_12477
set_var_int_to_lvar_int $1280 = 120@(119@,24i)
set_var_text_label s$SLOT_status = 168@(119@,24s)
start_new_script @A_ALAP 2 100 144@(119@,24i) 
119@ += 1
118@ += 1

:MANSON5_12477
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @MANSON5_12517
118@ = 6
$cash($height_int_hj,2i) = -4

:MANSON5_12517
goto @MANSON5_12904

:MANSON5_12524
if 
  4 > 119@
goto_if_false @MANSON5_12667
if 
  TIMERA > 8000
goto_if_false @MANSON5_12667
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 35@, 60.0, 60.0, False)
goto_if_false @MANSON5_12659
set_var_int_to_lvar_int $1280 = 120@(119@,24i)
set_var_text_label s$SLOT_status = 168@(119@,24s)
start_new_script @A_ALAP 2 100 35@ 
119@ += 1
118@ += 1
TIMERA = 0
goto @MANSON5_12667

:MANSON5_12659
TIMERA = 7000

:MANSON5_12667
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @MANSON5_12707
118@ = 8
$cash($height_int_hj,2i) = -4

:MANSON5_12707
goto @MANSON5_12904

:MANSON5_12714
if 
  9 > 119@
goto_if_false @MANSON5_12857
if 
  TIMERA > 8000
goto_if_false @MANSON5_12857
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 35@, 50.0, 50.0, False)
goto_if_false @MANSON5_12849
set_var_int_to_lvar_int $1280 = 120@(119@,24i)
set_var_text_label s$SLOT_status = 168@(119@,24s)
start_new_script @A_ALAP 2 100 35@ 
119@ += 1
118@ += 1
TIMERA = 0
goto @MANSON5_12857

:MANSON5_12849
TIMERA = 7000

:MANSON5_12857
if 
  $cash($height_int_hj,2i) == -3
goto_if_false @MANSON5_12897
118@ = 10
$cash($height_int_hj,2i) = -4

:MANSON5_12897
goto @MANSON5_12904

:MANSON5_12904
return 

:MANSON5_12906
$boat_school_blip += 1
Stat.RegisterMissionPassed('MAN_5')
Stat.PlayerMadeProgress(1)
CarGenerator.Switch($5252, 101)
CarGenerator.Switch($5253, 101)
CarGenerator.Switch($5254, 101)
CarGenerator.Switch($5255, 101)
CarGenerator.Switch($5256, 101)
CarGenerator.Switch($5257, 101)
CarGenerator.Switch($5258, 101)
CarGenerator.Switch($5259, 101)
CarGenerator.Switch($5260, 101)
CarGenerator.Switch($5261, 101)
CarGenerator.Switch($5262, 101)
CarGenerator.Switch($car_gen_hover, 101)
CarGenerator.Switch($5264, 101)
CarGenerator.Switch($5265, 101)
CarGenerator.Switch($5266, 101)
CarGenerator.Switch($5267, 101)
CarGenerator.Switch($5268, 101)
CarGenerator.Switch($car_gen_sparrow, 101)
CarGenerator.Switch($car_gen_desert1_pcj, 101)
CarGenerator.Switch($valet_cash_pickup, 101)
CarGenerator.Switch($player_has_fast_reload, 101)
Text.PrintWithNumberBig('M_PASSR', 4, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(50)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Blip.Remove($flag_mansion_mission_counter)
return 

:MANSON5_13113
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  62@ == 1
goto_if_false @MANSON5_13157
Text.PrintNow(63@s, 5000, 1)

:MANSON5_13157
return 

:MANSON5_13159
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @MANSON5_13186
Player.SetGroupRecruitment($statbike_temp, True)
Game.SetScriptLimitToGangSize(99)

:MANSON5_13186
start_new_script @A_TERM 
World.SetPedDensityMultiplier(1.0)
Path.SwitchRoadsBackToOriginal(226.1833, -1631.007, 40.0, 546.4532, -1423.991, 12.0)
Path.SwitchRoadsBackToOriginal(510.3661, -1431.656, 10.0, 645.8312, -1387.312, 20.0)
Path.SwitchRoadsBackToOriginal(646.6142, -1389.016, 10.0, 620.9656, -1310.468, 20.0)
Path.SwitchRoadsBackToOriginal(620.9656, -1310.468, 10.0, 947.811, -1335.012, 20.0)
Path.SwitchRoadsBackToOriginal(948.2631, -1335.406, 10.0, 934.2357, -1229.939, 20.0)
Path.SwitchRoadsBackToOriginal(804.0421, -1329.191, 10.0, 789.3583, -1159.008, 24.0)
Blip.Remove(50@)
Blip.Remove(37@)
Blip.Remove(38@)
if 
  not Char.IsDead(34@)
goto_if_false @MANSON5_13429
Char.RemoveFromGroup(34@)

:MANSON5_13429
Char.RemoveElegantly(34@)
Char.RemoveElegantly(35@)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Char.MarkAsNoLongerNeeded(73@)
if 
  not Char.IsDead(73@)
goto_if_false @MANSON5_13490
Char.FreezePosition(73@, False)
Char.SetProofs(73@, False, False, False, False, False)

:MANSON5_13490
Car.MarkAsNoLongerNeeded(74@)
if 
  not Car.IsDead(74@)
goto_if_false @MANSON5_13533
Car.FreezePosition(74@, False)
Car.SetProofs(74@, False, False, False, False, False)

:MANSON5_13533
Car.MarkAsNoLongerNeeded(39@)
if 
  not Car.IsDead(40@)
goto_if_false @MANSON5_13575
if 
  Car.IsPlaybackGoingOn(40@)
goto_if_false @MANSON5_13575
Car.StopPlayback(40@)

:MANSON5_13575
Car.MarkAsNoLongerNeeded(40@)
if 
  not Car.IsDead(41@)
goto_if_false @MANSON5_13617
if 
  Car.IsPlaybackGoingOn(41@)
goto_if_false @MANSON5_13617
Car.StopPlayback(41@)

:MANSON5_13617
Car.MarkAsNoLongerNeeded(41@)
Car.MarkAsNoLongerNeeded(42@)
if 
  not Car.IsDead(43@)
goto_if_false @MANSON5_13664
if 
  Car.IsPlaybackGoingOn(43@)
goto_if_false @MANSON5_13664
Car.StopPlayback(43@)

:MANSON5_13664
Car.MarkAsNoLongerNeeded(43@)
if 
  not Car.IsDead(44@)
goto_if_false @MANSON5_13706
if 
  Car.IsPlaybackGoingOn(44@)
goto_if_false @MANSON5_13706
Car.StopPlayback(44@)

:MANSON5_13706
Car.MarkAsNoLongerNeeded(44@)
Car.MarkAsNoLongerNeeded(45@)
Car.MarkAsNoLongerNeeded(114@)
Car.MarkAsNoLongerNeeded(115@)
Car.MarkAsNoLongerNeeded(116@)
48@ = 0

:MANSON5_13738
if 
  8 > 48@
goto_if_false @MANSON5_13779
Car.MarkAsNoLongerNeeded(75@(48@,8i))
48@ += 1
goto @MANSON5_13738

:MANSON5_13779
Object.MarkAsNoLongerNeeded(83@)
Streaming.MarkModelAsNoLongerNeeded(219)
Streaming.MarkModelAsNoLongerNeeded(424)
Streaming.MarkModelAsNoLongerNeeded(539)
Streaming.MarkModelAsNoLongerNeeded(571)
Streaming.MarkModelAsNoLongerNeeded(582)
Streaming.MarkModelAsNoLongerNeeded(484)
Streaming.MarkModelAsNoLongerNeeded(453)
Streaming.MarkModelAsNoLongerNeeded(588)
Streaming.MarkModelAsNoLongerNeeded(482)
Streaming.MarkModelAsNoLongerNeeded(#WATERJUMPX2)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 106---------------
// Originally: Beat Down on B Dup

:GROVE1
script_name 'GROVE1'
gosub @GROVE1_608
if 
  has_deatharrest_been_executed 
goto_if_false @GROVE1_38
gosub @GROVE1_18797

:GROVE1_38
gosub @GROVE1_18963
terminate_this_script 

:GROVE1_47
switch_start 96@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @GROVE1_606 {caseNum1} 0 {caseLabel1} @GROVE1_110 {caseNum2} 1 {caseLabel2} @GROVE1_322 {caseNum3} 2 {caseLabel3} @GROVE1_446 {caseNum4} 3 {caseLabel4} @GROVE1_548 {caseNum5} -1 {caseLabel5} @GROVE1_606 {caseNum6} -1 {caseLabel6} @GROVE1_606 {caseNum7} -1 {caseLabel7} @GROVE1_606

:GROVE1_110
set_var_text_label s$7960[0] = 'GRO1_FA'
set_var_text_label s$7960[1] = 'GRO1_FB'
set_var_text_label s$7960[2] = 'GRO1_FC'
set_var_text_label s$7960[3] = 'GRO1_FD'
set_var_text_label s$7960[4] = 'GRO1_FE'
set_var_text_label s$7960[5] = 'GRO1_FF'
set_var_text_label s$7960[6] = 'GRO1_FG'
set_var_text_label s$7960[7] = 'GRO1_FH'
set_var_text_label s$7960[8] = 'GRO1_FJ'
set_lvar_int_to_constant 97@ = 17432
set_lvar_int_to_constant 98@ = 17433
set_lvar_int_to_constant 99@ = 17434
set_lvar_int_to_constant 100@ = 17435
set_lvar_int_to_constant 101@ = 17436
set_lvar_int_to_constant 102@ = 17437
set_lvar_int_to_constant 103@ = 17438
set_lvar_int_to_constant 104@ = 17439
set_lvar_int_to_constant 105@ = 17440
$1426 = 8
goto @GROVE1_606

:GROVE1_322
set_var_text_label s$7960[0] = 'GRO1_JA'
set_var_text_label s$7960[1] = 'GRO1_JB'
set_var_text_label s$7960[2] = 'GRO1_JC'
set_var_text_label s$7960[3] = 'GRO1_JD'
set_var_text_label s$7960[4] = 'GRO1_JE'
set_lvar_int_to_constant 97@ = 17445
set_lvar_int_to_constant 98@ = 17446
set_lvar_int_to_constant 99@ = 17447
set_lvar_int_to_constant 100@ = 17448
set_lvar_int_to_constant 101@ = 17449
$1426 = 4
goto @GROVE1_606

:GROVE1_446
set_var_text_label s$7960[0] = 'GRO1_LA'
set_var_text_label s$7960[1] = 'GRO1_LB'
set_var_text_label s$7960[2] = 'GRO1_LC'
set_var_text_label s$7960[3] = 'GRO1_LD'
set_lvar_int_to_constant 97@ = 17452
set_lvar_int_to_constant 98@ = 17453
set_lvar_int_to_constant 99@ = 17454
set_lvar_int_to_constant 100@ = 17455
$1426 = 3
goto @GROVE1_606

:GROVE1_548
set_var_text_label s$7960[0] = 'GRO1_KA'
set_var_text_label s$7960[1] = 'GRO1_KB'
set_lvar_int_to_constant 97@ = 17450
set_lvar_int_to_constant 98@ = 17451
$1426 = 1
goto @GROVE1_606

:GROVE1_606
return 

:GROVE1_608
$weapon_shop1_blip = 1
77@ = 50
78@ = 50
79@ = 50
80@ = 50
81@ = 0
$7959 = 1000
37@ = 0
41@ = 0
44@ = 0
47@ = 0
50@ = 0
53@ = 0
56@ = 0
60@ = 0
64@ = 0
68@ = 0
70@ = 0
71@ = 0
73@ = 0
74@ = 0
82@ = 0
84@ = 0
85@ = 0
86@ = 0
87@ = 0
88@ = 0
114@ = 0
115@ = 0
116@ = 0
117@ = 0
91@ = 0
92@ = 0
118@ = 0
119@ = 0
120@ = 0
121@ = 0
122@ = 0
123@ = 0
124@ = 0
125@ = 0
126@ = 0
127@ = 0
128@ = 0
129@ = 0
130@ = 0
131@ = 0
132@ = 0
133@ = 0
134@ = 0
135@ = 0
136@ = 0
Stat.RegisterMissionGiven
Text.LoadMissionText('GROVE1')
wait 0
Streaming.SetAreaVisible(3)
Cutscene.Load('GROVE1A')

:GROVE1_1005
if 
  not Cutscene.HasLoaded
goto_if_false @GROVE1_1029
wait 0
goto @GROVE1_1005

:GROVE1_1029
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:GROVE1_1038
if 
  not Cutscene.HasFinished
goto_if_false @GROVE1_1062
wait 0
goto @GROVE1_1038

:GROVE1_1062
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:GROVE1_1075
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_1099
wait 0
goto @GROVE1_1075

:GROVE1_1099
Cutscene.Clear
Streaming.SetAreaVisible(0)
Game.SetScriptLimitToGangSize(5)
goto @GROVE1_1224
39@ = Blip.AddForCoord(0.0, 0.0, 0.0)
57@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 1)
Sequence.Close(57@)
61@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 1)
Sequence.Close(61@)
65@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 1)
Sequence.Close(65@)
69@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 1)
Sequence.Close(69@)

:GROVE1_1224
34@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
35@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
DecisionMakerChar.AddEventResponse(35@, 49, 311, 0.0, 100.0, 100.0, 100.0, False, True)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.RequestModel(104)
Streaming.RequestModel(102)
Streaming.RequestModel(355)
Streaming.RequestModel(411)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 17441)
Streaming.LoadAllModelsNow

:GROVE1_1312
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasModelLoaded(104)
  not Streaming.HasModelLoaded(102)
  not Streaming.HasModelLoaded(411)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_1360
wait 0
goto @GROVE1_1312

:GROVE1_1360
Char.SetCoordinates($stattreadstamina_ctr, 2497.324, -1684.744, 12.44)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Streaming.LoadScene(2497.324, -1684.744, 12.44)
38@ = Char.Create(PedType.Mission1, 290, 2496.633, -1684.573, 12.435)
Char.SetHeading(38@, 0.0)
Char.SetDecisionMaker(38@, 65542)
Char.SetAnimGroup(38@, "GANG2")
Char.GiveWeapon(38@, WeaponType.Ak47, 30000)
Char.SetNeverTargeted(38@, True)
Char.SetSuffersCriticalHits(38@, False)
Group.SetFollowStatus($flag_cell_nation, True)
Group.SetMember($flag_cell_nation, 38@)
Char.SetAccuracy(38@, 90)
Char.SetHealth(38@, 1000)
Char.SetMaxHealth(38@, 1000)
Char.SetRelationship(38@, RelationshipType.Hate, PedType.Mission2)
Char.SetProofs(38@, True, True, True, True, True)
Player.SetGroupToFollowAlways($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:GROVE1_1580
if 
  not Camera.GetFadingStatus
goto_if_false @GROVE1_1604
wait 0
goto @GROVE1_1580

:GROVE1_1604
Player.SetControl($statbike_temp, True)
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_1657
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797
goto @GROVE1_1672

:GROVE1_1657
Char.SetProofs(38@, False, False, False, False, False)

:GROVE1_1672
Text.PrintNow('GM1_18', 8000, 1)
89@ = Blip.AddForCoord(2293.032, -1795.767, 12.5469)
$sweet = 1
TIMERA = 0
93@ = 0
94@ = 0
95@ = 0
96@ = 0
gosub @GROVE1_47
119@ = 0
120@ = 0

:GROVE1_1771
if or
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2293.032, -1795.767, 12.5469, 4.0, 4.0, 4.0, $sweet)
  not Char.IsGroupMember(38@, $flag_cell_nation)
  120@ <> 1
goto_if_false @GROVE1_3274
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @GROVE1_1861
goto @GROVE1_18881

:GROVE1_1861
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GROVE1_1945
83@ = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  not Car.IsDead(83@)
goto_if_false @GROVE1_1938
if 
  Car.IsOnAllWheels(83@)
goto_if_false @GROVE1_1931
120@ = 1
goto @GROVE1_1938

:GROVE1_1931
120@ = 0

:GROVE1_1938
goto @GROVE1_2047

:GROVE1_1945
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2293.032, -1795.767, 12.5469, 4.0, 4.0, 4.0, False)
goto_if_false @GROVE1_2040
if 
  Char.IsGroupMember(38@, $flag_cell_nation)
goto_if_false @GROVE1_2026
120@ = 1
goto @GROVE1_2033

:GROVE1_2026
120@ = 0

:GROVE1_2033
goto @GROVE1_2047

:GROVE1_2040
120@ = 0

:GROVE1_2047
if 
  114@ == 0
goto_if_false @GROVE1_2102
if 
  TIMERA >= 5000
goto_if_false @GROVE1_2102
Text.ClearThisPrint('GM1_18')
114@ = 1

:GROVE1_2102
if 
  114@ == 1
goto_if_false @GROVE1_2420
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_2364
if 
  Char.IsGroupMember(38@, $flag_cell_nation)
goto_if_false @GROVE1_2254
if 
  Char.LocateAnyMeansChar3D(38@, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @GROVE1_2247
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsOnFoot(38@)
goto_if_false @GROVE1_2219
gosub @GROVE1_19481

:GROVE1_2219
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar(38@)
goto_if_false @GROVE1_2247
gosub @GROVE1_19481

:GROVE1_2247
goto @GROVE1_2357

:GROVE1_2254
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint('GRO1_FA')
Text.ClearThisPrint('GRO1_FB')
Text.ClearThisPrint('GRO1_FC')
Text.ClearThisPrint('GRO1_FD')
Text.ClearThisPrint('GRO1_FE')
Text.ClearThisPrint('GRO1_FF')
Text.ClearThisPrint('GRO1_FG')
Text.ClearThisPrint('GRO1_FH')
Text.ClearThisPrint('GRO1_FJ')

:GROVE1_2357
goto @GROVE1_2420

:GROVE1_2364
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Text.PrintNow('GM1_4', 5000, 1)
if 
  37@ == 1
goto_if_false @GROVE1_2413
Blip.Remove(39@)

:GROVE1_2413
goto @GROVE1_18797

:GROVE1_2420
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_2489
Text.PrintNow('GM1_4', 5000, 1)
if 
  37@ == 1
goto_if_false @GROVE1_2475
Blip.Remove(39@)

:GROVE1_2475
goto @GROVE1_18797
goto @GROVE1_3267

:GROVE1_2489
$7959 = Char.GetHealth(38@)
$7959 /= 10
if 
  117@ == 1
goto_if_false @GROVE1_2555
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_2555
Text.ClearThisPrint('GRO1_GA')
117@ = 0

:GROVE1_2555
if and
  not Char.IsGroupMember(38@, $flag_cell_nation)
  37@ == 0
goto_if_false @GROVE1_2638
Blip.Remove(89@)
39@ = Blip.AddForChar(38@)
Blip.SetAsFriendly(39@, True)
Text.PrintNow('GM1_2', 8000, 1)
$sweet = 0
73@ = 0
37@ = 1

:GROVE1_2638
if 
  37@ == 1
goto_if_false @GROVE1_3267
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 38@, 8.0, 8.0, False)
goto_if_false @GROVE1_3267
if 
  not Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @GROVE1_3106
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GROVE1_3029
83@ = Char.StoreCarIsIn($stattreadstamina_ctr)
84@ = Car.GetMaximumNumberOfPassengers(83@)
85@ = Car.GetNumberOfPassengers(83@)
set_lvar_int_to_lvar_int 86@ = 84@
sub_int_lvar_from_int_lvar 86@ -= 85@
if 
  86@ >= 1
goto_if_false @GROVE1_2861
Group.SetFollowStatus($flag_cell_nation, True)
Group.SetMember($flag_cell_nation, 38@)
Blip.Remove(39@)
89@ = Blip.AddForCoord(2293.032, -1795.767, 12.5469)
Text.PrintNow('GM1_18', 8000, 1)
$sweet = 1
87@ = 0
37@ = 0
goto @GROVE1_3022

:GROVE1_2861
if 
  87@ == 0
goto_if_false @GROVE1_2959
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_2931
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_GA', 8000, 1)
Char.StartFacialTalk(38@, 999999)
Char.ShutUpForScriptedSpeech(38@, True)

:GROVE1_2931
119@ = 1
117@ = 1
87@ = 1
goto @GROVE1_3022

:GROVE1_2959
if 
  119@ == 1
goto_if_false @GROVE1_3022
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_3022
Char.StopFacialTalk(38@)
Text.ClearThisPrint('GRO1_GA')
Char.ShutUpForScriptedSpeech(38@, False)
119@ = 0

:GROVE1_3022
goto @GROVE1_3099

:GROVE1_3029
Group.SetFollowStatus($flag_cell_nation, True)
Group.SetMember($flag_cell_nation, 38@)
Blip.Remove(39@)
89@ = Blip.AddForCoord(2293.032, -1795.767, 12.5469)
Text.PrintNow('GM1_18', 8000, 1)
$sweet = 1
37@ = 0

:GROVE1_3099
goto @GROVE1_3267

:GROVE1_3106
if 
  73@ == 0
goto_if_false @GROVE1_3204
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_3176
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_GA', 8000, 1)
Char.StartFacialTalk(38@, 999999)
Char.ShutUpForScriptedSpeech(38@, True)

:GROVE1_3176
119@ = 1
117@ = 1
73@ = 1
goto @GROVE1_3267

:GROVE1_3204
if 
  119@ == 1
goto_if_false @GROVE1_3267
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_3267
Char.StopFacialTalk(38@)
Text.ClearThisPrint('GRO1_GA')
Char.ShutUpForScriptedSpeech(38@, False)
119@ = 0

:GROVE1_3267
goto @GROVE1_1771

:GROVE1_3274
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Blip.Remove(89@)
Player.SetControl($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_3344
Char.SetProofs(38@, True, True, True, True, True)
goto @GROVE1_3367

:GROVE1_3344
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_3367
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:GROVE1_3382
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_3445
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_3438
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_3438
goto @GROVE1_3382

:GROVE1_3445
Player.MakeGangDisappear
World.ClearArea(2294.323, -1797.048, 12.586, 7.0, True)
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GROVE1_3548
World.ClearArea(2294.323, -1797.048, 12.586, 3.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2294.323, -1797.048, 12.586)
Char.SetHeading($stattreadstamina_ctr, 270.0)
goto @GROVE1_3652

:GROVE1_3548
90@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2294.323, -1797.048, 12.586)

:GROVE1_3576
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GROVE1_3642
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_3635
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_3635
goto @GROVE1_3576

:GROVE1_3642
Char.SetHeading($stattreadstamina_ctr, 270.0)

:GROVE1_3652
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_3861
if 
  not Char.IsInAnyCar(38@)
goto_if_false @GROVE1_3750
World.ClearArea(2294.323, -1794.911, 12.586, 3.0, True)
Char.ClearTasksImmediately(38@)
Char.SetCoordinates(38@, 2294.323, -1794.911, 12.586)
Char.SetHeading(38@, 270.0)
goto @GROVE1_3854

:GROVE1_3750
90@ = Char.StoreCarIsIn(38@)
Char.WarpFromCarToCoord(38@, 2294.323, -1794.911, 12.586)

:GROVE1_3778
if 
  Char.IsInAnyCar(38@)
goto_if_false @GROVE1_3844
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_3837
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_3837
goto @GROVE1_3778

:GROVE1_3844
Char.SetHeading(38@, 270.0)

:GROVE1_3854
goto @GROVE1_3884

:GROVE1_3861
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_3884
World.ClearArea(2294.323, -1797.048, 12.586, 6.0, True)
if 
  Car.DoesExist(90@)
goto_if_false @GROVE1_3994
if 
  not Car.IsDead(90@)
goto_if_false @GROVE1_3994
World.ClearArea(2299.243, -1784.565, 12.591, 3.0, False)
Car.SetCoordinates(90@, 2299.243, -1784.565, 12.591)
Car.SetHeading(90@, 0.0)

:GROVE1_3994
Player.MakeSafeForCutscene($statbike_temp)
Streaming.SetAreaVisible(3)
Cutscene.Load('GROVE1B')

:GROVE1_4014
if 
  not Cutscene.HasLoaded
goto_if_false @GROVE1_4038
wait 0
goto @GROVE1_4014

:GROVE1_4038
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:GROVE1_4047
if 
  not Cutscene.HasFinished
goto_if_false @GROVE1_4071
wait 0
goto @GROVE1_4047

:GROVE1_4071
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:GROVE1_4084
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_4108
wait 0
goto @GROVE1_4084

:GROVE1_4108
Cutscene.Clear
Streaming.SetAreaVisible(0)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.MakeGangReappear
Streaming.LoadScene(2294.323, -1797.048, 12.586)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1500, Fade.In)

:GROVE1_4156
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_4180
wait 0
goto @GROVE1_4156

:GROVE1_4180
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_4218
Char.SetProofs(38@, False, False, False, False, False)
goto @GROVE1_4241

:GROVE1_4218
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_4241
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Text.PrintNow('GM1_1', 5000, 1)
40@ = Blip.AddSpriteForCoord(1988.316, -1199.675, 19.135, RadarSprite.GangG)
Zone.SetGangStrength('GLN1', GangType.Ballas, 40)
Zone.SetGangStrength('GLN1', GangType.Grove, 0)
91@ = Zone.GetGangStrength('GLN1', GangType.Vagos)
92@ = Zone.GetGangStrength('GLN1', GangType.Aztecas)
Zone.SetGangStrength('GLN1', GangType.Vagos, 0)
Zone.SetGangStrength('GLN1', GangType.Aztecas, 0)
Zone.SetTriggerGangWar('GLN1')
Game.SetWantedMultiplier(0.5)
Game.SetGangWarsActive(True)
Game.CanTriggerGangWarWhenOnAMission(True)
TIMERB = 0
93@ = 0
94@ = 0
95@ = 0
96@ = 1
gosub @GROVE1_47
119@ = 0

:GROVE1_4467
if or
  81@ <> 1
  not Char.IsGroupMember(38@, $flag_cell_nation)
goto_if_false @GROVE1_5650
wait 0
if 
  115@ == 0
goto_if_false @GROVE1_4552
if 
  TIMERB >= 5000
goto_if_false @GROVE1_4552
Text.ClearThisPrint('GM1_1')
115@ = 1

:GROVE1_4552
if 
  115@ == 1
goto_if_false @GROVE1_4827
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_4770
if 
  Char.IsGroupMember(38@, $flag_cell_nation)
goto_if_false @GROVE1_4704
if 
  Char.LocateAnyMeansChar3D(38@, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @GROVE1_4697
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsOnFoot(38@)
goto_if_false @GROVE1_4669
gosub @GROVE1_19481

:GROVE1_4669
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar(38@)
goto_if_false @GROVE1_4697
gosub @GROVE1_19481

:GROVE1_4697
goto @GROVE1_4763

:GROVE1_4704
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint('GRO1_JA')
Text.ClearThisPrint('GRO1_JB')
Text.ClearThisPrint('GRO1_JC')
Text.ClearThisPrint('GRO1_JD')
Text.ClearThisPrint('GRO1_JE')

:GROVE1_4763
goto @GROVE1_4827

:GROVE1_4770
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Blip.Remove(40@)
Text.PrintNow('GM1_4', 5000, 1)
if 
  37@ == 1
goto_if_false @GROVE1_4820
Blip.Remove(39@)

:GROVE1_4820
goto @GROVE1_18797

:GROVE1_4827
if 
  Player.IsInInfoZone($statbike_temp, 'GLN1')
goto_if_false @GROVE1_4866
81@ = 1
goto @GROVE1_4873

:GROVE1_4866
81@ = 0

:GROVE1_4873
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_4942
Text.PrintNow('GM1_4', 5000, 1)
if 
  37@ == 1
goto_if_false @GROVE1_4928
Blip.Remove(39@)

:GROVE1_4928
goto @GROVE1_18797
goto @GROVE1_5643

:GROVE1_4942
$7959 = Char.GetHealth(38@)
$7959 /= 10
if 
  117@ == 1
goto_if_false @GROVE1_5008
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_5008
Text.ClearThisPrint('GRO1_GA')
117@ = 0

:GROVE1_5008
if and
  not Char.IsGroupMember(38@, $flag_cell_nation)
  37@ == 0
goto_if_false @GROVE1_5086
39@ = Blip.AddForChar(38@)
Blip.SetAsFriendly(39@, True)
Text.PrintNow('GM1_2', 8000, 1)
$sweet = 0
73@ = 0
37@ = 1

:GROVE1_5086
if 
  37@ == 1
goto_if_false @GROVE1_5643
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 38@, 8.0, 8.0, False)
goto_if_false @GROVE1_5643
if 
  not Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @GROVE1_5482
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GROVE1_5441
83@ = Char.StoreCarIsIn($stattreadstamina_ctr)
84@ = Car.GetMaximumNumberOfPassengers(83@)
85@ = Car.GetNumberOfPassengers(83@)
set_lvar_int_to_lvar_int 86@ = 84@
sub_int_lvar_from_int_lvar 86@ -= 85@
if 
  86@ >= 1
goto_if_false @GROVE1_5273
Group.SetFollowStatus($flag_cell_nation, True)
Group.SetMember($flag_cell_nation, 38@)
Blip.Remove(39@)
$sweet = 1
87@ = 0
37@ = 0
goto @GROVE1_5434

:GROVE1_5273
if 
  87@ == 0
goto_if_false @GROVE1_5371
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_5343
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_GA', 8000, 1)
Char.StartFacialTalk(38@, 999999)
Char.ShutUpForScriptedSpeech(38@, True)

:GROVE1_5343
119@ = 1
117@ = 1
87@ = 1
goto @GROVE1_5434

:GROVE1_5371
if 
  119@ == 1
goto_if_false @GROVE1_5434
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_5434
Char.StopFacialTalk(38@)
Text.ClearThisPrint('GRO1_GA')
Char.ShutUpForScriptedSpeech(38@, False)
119@ = 0

:GROVE1_5434
goto @GROVE1_5475

:GROVE1_5441
Group.SetFollowStatus($flag_cell_nation, True)
Group.SetMember($flag_cell_nation, 38@)
Blip.Remove(39@)
$sweet = 1
37@ = 0

:GROVE1_5475
goto @GROVE1_5643

:GROVE1_5482
if 
  73@ == 0
goto_if_false @GROVE1_5580
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_5552
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_GA', 8000, 1)
Char.StartFacialTalk(38@, 999999)
Char.ShutUpForScriptedSpeech(38@, True)

:GROVE1_5552
119@ = 1
117@ = 1
73@ = 1
goto @GROVE1_5643

:GROVE1_5580
if 
  119@ == 1
goto_if_false @GROVE1_5643
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_5643
Char.StopFacialTalk(38@)
Text.ClearThisPrint('GRO1_GA')
Char.ShutUpForScriptedSpeech(38@, False)
119@ = 0

:GROVE1_5643
goto @GROVE1_4467

:GROVE1_5650
Text.PrintNow('GM1_3', 8000, 1)
TIMERB = 0
93@ = 0
94@ = 0
95@ = 0
96@ = 3
gosub @GROVE1_47
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_5739
$7959 = Char.GetHealth(38@)
goto @GROVE1_5796

:GROVE1_5739
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Blip.Remove(40@)
Text.PrintNow('GM1_4', 5000, 1)
if 
  37@ == 1
goto_if_false @GROVE1_5789
Blip.Remove(39@)

:GROVE1_5789
goto @GROVE1_18797

:GROVE1_5796
$7959 /= 10
Hud.DisplayCounterWithString($7959, CounterDisplay.Bar, 'GM1_7')
119@ = 0

:GROVE1_5826
if or
  82@ <> 1
  not Char.IsGroupMember(38@, $flag_cell_nation)
goto_if_false @GROVE1_7131
wait 0
if 
  116@ == 0
goto_if_false @GROVE1_5911
if 
  TIMERB >= 5000
goto_if_false @GROVE1_5911
Text.ClearThisPrint('GM1_3')
116@ = 1

:GROVE1_5911
if 
  116@ == 1
goto_if_false @GROVE1_6153
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_6096
if 
  Char.IsGroupMember(38@, $flag_cell_nation)
goto_if_false @GROVE1_6063
if 
  Char.LocateAnyMeansChar3D(38@, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @GROVE1_6056
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsOnFoot(38@)
goto_if_false @GROVE1_6028
gosub @GROVE1_19481

:GROVE1_6028
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar(38@)
goto_if_false @GROVE1_6056
gosub @GROVE1_19481

:GROVE1_6056
goto @GROVE1_6089

:GROVE1_6063
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint('GRO1_KA')
Text.ClearThisPrint('GRO1_KB')

:GROVE1_6089
goto @GROVE1_6153

:GROVE1_6096
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Blip.Remove(40@)
Text.PrintNow('GM1_4', 5000, 1)
if 
  37@ == 1
goto_if_false @GROVE1_6146
Blip.Remove(39@)

:GROVE1_6146
goto @GROVE1_18797

:GROVE1_6153
77@ = Zone.GetGangStrength('GLN1', GangType.Ballas)
118@ = Zone.GetGangStrength('GLN1', GangType.Grove)
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_6254
Text.PrintNow('GM1_4', 5000, 1)
if 
  37@ == 1
goto_if_false @GROVE1_6240
Blip.Remove(39@)

:GROVE1_6240
goto @GROVE1_18797
goto @GROVE1_6955

:GROVE1_6254
$7959 = Char.GetHealth(38@)
$7959 /= 10
if 
  117@ == 1
goto_if_false @GROVE1_6320
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_6320
Text.ClearThisPrint('GRO1_GA')
117@ = 0

:GROVE1_6320
if and
  not Char.IsGroupMember(38@, $flag_cell_nation)
  37@ == 0
goto_if_false @GROVE1_6398
39@ = Blip.AddForChar(38@)
Blip.SetAsFriendly(39@, True)
Text.PrintNow('GM1_2', 8000, 1)
$sweet = 0
73@ = 0
37@ = 1

:GROVE1_6398
if 
  37@ == 1
goto_if_false @GROVE1_6955
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 38@, 8.0, 8.0, False)
goto_if_false @GROVE1_6955
if 
  not Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @GROVE1_6794
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GROVE1_6753
83@ = Char.StoreCarIsIn($stattreadstamina_ctr)
84@ = Car.GetMaximumNumberOfPassengers(83@)
85@ = Car.GetNumberOfPassengers(83@)
set_lvar_int_to_lvar_int 86@ = 84@
sub_int_lvar_from_int_lvar 86@ -= 85@
if 
  86@ >= 1
goto_if_false @GROVE1_6585
Group.SetFollowStatus($flag_cell_nation, True)
Group.SetMember($flag_cell_nation, 38@)
Blip.Remove(39@)
$sweet = 1
87@ = 0
37@ = 0
goto @GROVE1_6746

:GROVE1_6585
if 
  87@ == 0
goto_if_false @GROVE1_6683
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_6655
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_GA', 8000, 1)
Char.StartFacialTalk(38@, 999999)
Char.ShutUpForScriptedSpeech(38@, True)

:GROVE1_6655
119@ = 1
117@ = 1
87@ = 1
goto @GROVE1_6746

:GROVE1_6683
if 
  119@ == 1
goto_if_false @GROVE1_6746
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_6746
Char.StopFacialTalk(38@)
Text.ClearThisPrint('GRO1_GA')
Char.ShutUpForScriptedSpeech(38@, False)
119@ = 0

:GROVE1_6746
goto @GROVE1_6787

:GROVE1_6753
Group.SetFollowStatus($flag_cell_nation, True)
Group.SetMember($flag_cell_nation, 38@)
Blip.Remove(39@)
$sweet = 1
37@ = 0

:GROVE1_6787
goto @GROVE1_6955

:GROVE1_6794
if 
  73@ == 0
goto_if_false @GROVE1_6892
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_6864
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_GA', 8000, 1)
Char.StartFacialTalk(38@, 999999)
Char.ShutUpForScriptedSpeech(38@, True)

:GROVE1_6864
119@ = 1
117@ = 1
73@ = 1
goto @GROVE1_6955

:GROVE1_6892
if 
  119@ == 1
goto_if_false @GROVE1_6955
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_6955
Char.StopFacialTalk(38@)
Text.ClearThisPrint('GRO1_GA')
Char.ShutUpForScriptedSpeech(38@, False)
119@ = 0

:GROVE1_6955
if 
  77@ == 0
goto_if_false @GROVE1_6980
82@ = 1

:GROVE1_6980
if 
  Player.IsInInfoZone($statbike_temp, 'GLN1')
goto_if_false @GROVE1_7019
81@ = 1
goto @GROVE1_7124

:GROVE1_7019
if 
  not Game.IsGangWarGoingOn
goto_if_false @GROVE1_7117
if 
  Char.IsGroupMember(38@, $flag_cell_nation)
goto_if_false @GROVE1_7110
if 
  118@ == 0
goto_if_false @GROVE1_7110
if 
  88@ == 0
goto_if_false @GROVE1_7110
Text.PrintNow('GM1_16', 8000, 1)
88@ = 1

:GROVE1_7110
goto @GROVE1_7124

:GROVE1_7117
88@ = 0

:GROVE1_7124
goto @GROVE1_5826

:GROVE1_7131
Blip.Remove(40@)
Text.ClearThisPrint('GM1_16')
Text.ClearThisPrint('GRO1_GA')
Text.ClearThisPrint('GM1_2')
Text.ClearThisPrint('GM1_4')
Text.ClearThisPrint('GM1_3')
Game.CanTriggerGangWarWhenOnAMission(False)
wait 5000
ENTEXT_63()

:GROVE1_7207
if 
  $played_scipted_airscript_cut <> 1
goto_if_false @GROVE1_7287
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_7273
Text.PrintNow('GM1_4', 5000, 1)
Blip.Remove(39@)
goto @GROVE1_18797

:GROVE1_7273
ENTEXT_63()
goto @GROVE1_7207

:GROVE1_7287
Player.SetControl($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_7346
Char.SetProofs(38@, True, True, True, True, True)
goto @GROVE1_7369

:GROVE1_7346
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_7369
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:GROVE1_7384
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_7408
wait 0
goto @GROVE1_7384

:GROVE1_7408
Player.MakeGangDisappear
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GROVE1_7504
Streaming.LoadScene(2038.184, -1143.772, 23.455)
World.ClearArea(2038.184, -1143.772, 23.455, 3.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2038.184, -1143.772, 23.455)
Char.SetHeading($stattreadstamina_ctr, 56.5)
goto @GROVE1_7601

:GROVE1_7504
90@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2038.184, -1143.772, 23.455)

:GROVE1_7532
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GROVE1_7591
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_7568

:GROVE1_7568
if 
  Car.IsDead(90@)
goto_if_false @GROVE1_7584

:GROVE1_7584
goto @GROVE1_7532

:GROVE1_7591
Char.SetHeading($stattreadstamina_ctr, 56.5)

:GROVE1_7601
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_7791
if 
  not Char.IsInAnyCar(38@)
goto_if_false @GROVE1_7694
World.ClearArea(2037.048, -1144.896, 23.487, 3.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2037.048, -1144.896, 23.487)
Char.SetHeading(38@, 56.5)
goto @GROVE1_7791

:GROVE1_7694
90@ = Char.StoreCarIsIn(38@)
Char.WarpFromCarToCoord(38@, 2037.048, -1144.896, 23.487)

:GROVE1_7722
if 
  Char.IsInAnyCar(38@)
goto_if_false @GROVE1_7781
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_7758

:GROVE1_7758
if 
  Car.IsDead(90@)
goto_if_false @GROVE1_7774

:GROVE1_7774
goto @GROVE1_7722

:GROVE1_7781
Char.SetHeading(38@, 56.5)

:GROVE1_7791
World.ClearArea(2038.184, -1143.772, 23.455, 6.0, True)
Hud.SwitchWidescreen(True)
World.ClearArea(2006.356, -1125.663, 25.6347, 1.0, True)
Camera.SetFixedPosition(2006.356, -1125.663, 25.6347, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2005.666, -1124.966, 25.8323, SwitchType.JumpCut)
World.ClearArea(1992.437, -1120.185, 25.813, 4.0, False)
76@ = Car.Create(411, 1992.437, -1120.185, 25.813)
Car.SetHeading(76@, 260.0)
Car.LockDoors(76@, CarLock.Locked)
Streaming.RequestCollision(1994.668, -1119.022)
Streaming.LoadSceneInDirection(1994.668, -1119.022, 25.813, 56.5)
World.ClearArea(1994.668, -1119.022, 25.813, 2.0, False)
42@ = Char.Create(PedType.Mission2, 102, 1994.668, -1119.022, 25.813)
Char.GiveWeapon(42@, WeaponType.Ak47, 30000)
Char.SetHeading(42@, 207.71)
Char.SetDecisionMaker(42@, 35@)
Task.PlayAnim(42@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, -1)
Char.SetStayInSamePlace(42@, True)
Task.KillCharOnFoot(42@, $stattreadstamina_ctr)
Char.SetIsTargetPriority(42@, True)
Char.SetRelationship(42@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(42@, RelationshipType.Hate, PedType.Mission1)
World.ClearArea(2005.848, -1116.5, 26.179, 2.0, False)
45@ = Char.Create(PedType.Mission2, 104, 2005.848, -1116.5, 26.179)
Char.GiveWeapon(45@, WeaponType.Ak47, 30000)
Char.SetHeading(45@, 185.395)
Char.SetDecisionMaker(45@, 35@)
Task.PlayAnim(45@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, -1)
Char.SetStayInSamePlace(45@, True)
Task.KillCharOnFoot(45@, $stattreadstamina_ctr)
Char.SetIsTargetPriority(45@, True)
Char.SetRelationship(45@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(45@, RelationshipType.Hate, PedType.Mission1)
World.ClearArea(2002.672, -1116.134, 26.172, 2.0, False)
48@ = Char.Create(PedType.Mission2, 102, 2002.672, -1116.134, 26.172)
Char.GiveWeapon(48@, WeaponType.Ak47, 30000)
Char.SetHeading(48@, 200.691)
Char.SetDecisionMaker(48@, 35@)
Task.PlayAnim(48@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, -1)
Char.SetStayInSamePlace(48@, True)
Task.KillCharOnFoot(48@, $stattreadstamina_ctr)
Char.SetIsTargetPriority(48@, True)
Char.SetRelationship(48@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(48@, RelationshipType.Hate, PedType.Mission1)
World.ClearArea(1988.934, -1120.135, 25.813, 2.0, False)
51@ = Char.Create(PedType.Mission2, 104, 1988.934, -1120.135, 25.813)
Char.GiveWeapon(51@, WeaponType.Ak47, 30000)
Char.SetHeading(51@, 220.163)
Char.SetDecisionMaker(51@, 35@)
Char.SetStayInSamePlace(51@, True)
Task.KillCharOnFoot(51@, $stattreadstamina_ctr)
Char.SetIsTargetPriority(51@, True)
Char.SetRelationship(51@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(51@, RelationshipType.Hate, PedType.Mission1)
Task.PlayAnim(48@, "WEAPON_CROUCH", "PED", 4.0, True, False, False, False, -1)
World.ClearArea(1994.062, -1115.618, 25.813, 2.0, False)
54@ = Char.Create(PedType.Mission2, 104, 1994.062, -1115.618, 25.813)
Char.GiveWeapon(54@, WeaponType.Ak47, 30000)
Char.SetHeading(54@, 235.0)
Char.SetDecisionMaker(54@, 34@)
Char.SetStayInSamePlace(54@, True)
Char.SetIsTargetPriority(54@, True)
Char.SetRelationship(54@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(54@, RelationshipType.Hate, PedType.Mission1)
World.ClearArea(1997.48, -1114.998, 25.813, 2.0, False)
58@ = Char.Create(PedType.Mission2, 102, 1997.48, -1118.998, 25.813)
Char.GiveWeapon(58@, WeaponType.Ak47, 30000)
Char.SetHeading(58@, 176.0)
Char.SetDecisionMaker(58@, 34@)
Char.SetStayInSamePlace(58@, True)
Char.SetIsTargetPriority(58@, True)
Char.SetRelationship(58@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(58@, RelationshipType.Hate, PedType.Mission1)
World.ClearArea(2008.344, -1113.057, 25.584, 2.0, False)
62@ = Char.Create(PedType.Mission2, 104, 2008.344, -1113.057, 25.584)
Char.GiveWeapon(62@, WeaponType.Ak47, 30000)
Char.SetHeading(62@, 177.195)
Char.SetDecisionMaker(62@, 34@)
Char.SetStayInSamePlace(62@, True)
Char.SetIsTargetPriority(62@, True)
Char.SetRelationship(62@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(62@, RelationshipType.Hate, PedType.Mission1)
World.ClearArea(2014.768, -1111.447, 25.235, 2.0, False)
66@ = Char.Create(PedType.Mission2, 102, 2014.768, -1111.447, 25.235)
Char.GiveWeapon(66@, WeaponType.Ak47, 30000)
Char.SetHeading(66@, 164.89)
Char.SetDecisionMaker(66@, 34@)
Char.SetIsTargetPriority(66@, True)
Char.SetRelationship(66@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(66@, RelationshipType.Hate, PedType.Mission1)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)
93@ = 0
94@ = 0
95@ = 0
96@ = 2
gosub @GROVE1_47
gosub @GROVE1_19481

:GROVE1_9098
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_9122
wait 0
goto @GROVE1_9098

:GROVE1_9122
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_9152
gosub @GROVE1_19481
goto @GROVE1_9213

:GROVE1_9152
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Blip.Remove(40@)
Text.PrintNow('GM1_4', 5000, 1)
if 
  37@ == 1
goto_if_false @GROVE1_9206
Blip.Remove(39@)

:GROVE1_9206
goto @GROVE1_18797

:GROVE1_9213
skip_cutscene_start_internal @GROVE1_9390

:GROVE1_9220
if 
  93@ <> 3
goto_if_false @GROVE1_9390
wait 0
gosub @GROVE1_20521
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_9279
gosub @GROVE1_19481
goto @GROVE1_9340

:GROVE1_9279
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Blip.Remove(40@)
Text.PrintNow('GM1_4', 5000, 1)
if 
  37@ == 1
goto_if_false @GROVE1_9333
Blip.Remove(39@)

:GROVE1_9333
goto @GROVE1_18797

:GROVE1_9340
if 
  93@ > 0
goto_if_false @GROVE1_9383
if 
  71@ == 0
goto_if_false @GROVE1_9383
gosub @GROVE1_19156

:GROVE1_9383
goto @GROVE1_9220

:GROVE1_9390
skip_cutscene_end 
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:GROVE1_9417
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_9441
wait 0
goto @GROVE1_9417

:GROVE1_9441
Player.MakeGangReappear
if 
  44@ == 0
goto_if_false @GROVE1_9511
if 
  not Char.IsDead(42@)
goto_if_false @GROVE1_9492
43@ = Blip.AddForChar(42@)
goto @GROVE1_9511

:GROVE1_9492
Blip.Remove(43@)
41@ += 1
44@ = 1

:GROVE1_9511
if 
  47@ == 0
goto_if_false @GROVE1_9579
if 
  not Char.IsDead(45@)
goto_if_false @GROVE1_9560
46@ = Blip.AddForChar(45@)
goto @GROVE1_9579

:GROVE1_9560
Blip.Remove(46@)
41@ += 1
47@ = 1

:GROVE1_9579
if 
  50@ == 0
goto_if_false @GROVE1_9647
if 
  not Char.IsDead(48@)
goto_if_false @GROVE1_9628
49@ = Blip.AddForChar(48@)
goto @GROVE1_9647

:GROVE1_9628
Blip.Remove(49@)
41@ += 1
50@ = 1

:GROVE1_9647
if 
  53@ == 0
goto_if_false @GROVE1_9715
if 
  not Char.IsDead(51@)
goto_if_false @GROVE1_9696
52@ = Blip.AddForChar(51@)
goto @GROVE1_9715

:GROVE1_9696
Blip.Remove(52@)
41@ += 1
53@ = 1

:GROVE1_9715
if 
  56@ == 0
goto_if_false @GROVE1_9783
if 
  not Char.IsDead(54@)
goto_if_false @GROVE1_9764
55@ = Blip.AddForChar(54@)
goto @GROVE1_9783

:GROVE1_9764
Blip.Remove(55@)
41@ += 1
56@ = 1

:GROVE1_9783
if 
  60@ == 0
goto_if_false @GROVE1_9851
if 
  not Char.IsDead(58@)
goto_if_false @GROVE1_9832
59@ = Blip.AddForChar(58@)
goto @GROVE1_9851

:GROVE1_9832
Blip.Remove(59@)
41@ += 1
60@ = 1

:GROVE1_9851
if 
  64@ == 0
goto_if_false @GROVE1_9919
if 
  not Char.IsDead(62@)
goto_if_false @GROVE1_9900
63@ = Blip.AddForChar(62@)
goto @GROVE1_9919

:GROVE1_9900
Blip.Remove(63@)
41@ += 1
64@ = 1

:GROVE1_9919
if 
  68@ == 0
goto_if_false @GROVE1_9987
if 
  not Char.IsDead(66@)
goto_if_false @GROVE1_9968
67@ = Blip.AddForChar(66@)
goto @GROVE1_9987

:GROVE1_9968
Blip.Remove(67@)
41@ += 1
68@ = 1

:GROVE1_9987
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:GROVE1_10010
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_10034
wait 0
goto @GROVE1_10010

:GROVE1_10034
Player.SetControl($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_10093
Char.SetProofs(38@, False, False, False, False, False)
goto @GROVE1_10116

:GROVE1_10093
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_10116
Text.PrintNow('GM1_9', 8000, 1)
119@ = 0

:GROVE1_10139
if or
  41@ <> 8
  not Char.IsGroupMember(38@, $flag_cell_nation)
goto_if_false @GROVE1_14451
wait 0
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_10252
Text.PrintNow('GM1_4', 5000, 1)
if 
  37@ == 1
goto_if_false @GROVE1_10238
Blip.Remove(39@)

:GROVE1_10238
goto @GROVE1_18797
goto @GROVE1_11505

:GROVE1_10252
$7959 = Char.GetHealth(38@)
$7959 /= 10
if 
  117@ == 1
goto_if_false @GROVE1_10318
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_10318
Text.ClearThisPrint('GRO1_GA')
117@ = 0

:GROVE1_10318
if and
  not Char.IsGroupMember(38@, $flag_cell_nation)
  37@ == 0
goto_if_false @GROVE1_10564
39@ = Blip.AddForChar(38@)
Blip.SetAsFriendly(39@, True)
Text.PrintNow('GM1_2', 8000, 1)
$sweet = 0
73@ = 0
if 
  not Char.IsDead(42@)
goto_if_false @GROVE1_10410
Blip.Remove(43@)

:GROVE1_10410
if 
  not Char.IsDead(45@)
goto_if_false @GROVE1_10431
Blip.Remove(46@)

:GROVE1_10431
if 
  not Char.IsDead(48@)
goto_if_false @GROVE1_10452
Blip.Remove(49@)

:GROVE1_10452
if 
  not Char.IsDead(51@)
goto_if_false @GROVE1_10473
Blip.Remove(52@)

:GROVE1_10473
if 
  not Char.IsDead(54@)
goto_if_false @GROVE1_10494
Blip.Remove(55@)

:GROVE1_10494
if 
  not Char.IsDead(58@)
goto_if_false @GROVE1_10515
Blip.Remove(59@)

:GROVE1_10515
if 
  not Char.IsDead(62@)
goto_if_false @GROVE1_10536
Blip.Remove(63@)

:GROVE1_10536
if 
  not Char.IsDead(66@)
goto_if_false @GROVE1_10557
Blip.Remove(67@)

:GROVE1_10557
37@ = 1

:GROVE1_10564
if 
  37@ == 1
goto_if_false @GROVE1_11505
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 38@, 8.0, 8.0, False)
goto_if_false @GROVE1_11505
if 
  not Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @GROVE1_11344
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GROVE1_11111
83@ = Char.StoreCarIsIn($stattreadstamina_ctr)
84@ = Car.GetMaximumNumberOfPassengers(83@)
85@ = Car.GetNumberOfPassengers(83@)
set_lvar_int_to_lvar_int 86@ = 84@
sub_int_lvar_from_int_lvar 86@ -= 85@
if 
  86@ >= 1
goto_if_false @GROVE1_10943
Group.SetFollowStatus($flag_cell_nation, True)
Group.SetMember($flag_cell_nation, 38@)
Blip.Remove(39@)
if 
  not Char.IsDead(42@)
goto_if_false @GROVE1_10747
43@ = Blip.AddForChar(42@)

:GROVE1_10747
if 
  not Char.IsDead(45@)
goto_if_false @GROVE1_10771
46@ = Blip.AddForChar(45@)

:GROVE1_10771
if 
  not Char.IsDead(48@)
goto_if_false @GROVE1_10795
49@ = Blip.AddForChar(48@)

:GROVE1_10795
if 
  not Char.IsDead(51@)
goto_if_false @GROVE1_10819
52@ = Blip.AddForChar(51@)

:GROVE1_10819
if 
  not Char.IsDead(54@)
goto_if_false @GROVE1_10843
55@ = Blip.AddForChar(54@)

:GROVE1_10843
if 
  not Char.IsDead(58@)
goto_if_false @GROVE1_10867
59@ = Blip.AddForChar(58@)

:GROVE1_10867
if 
  not Char.IsDead(62@)
goto_if_false @GROVE1_10891
63@ = Blip.AddForChar(62@)

:GROVE1_10891
if 
  not Char.IsDead(66@)
goto_if_false @GROVE1_10915
67@ = Blip.AddForChar(66@)

:GROVE1_10915
$sweet = 1
87@ = 0
37@ = 0
goto @GROVE1_11104

:GROVE1_10943
if 
  87@ == 0
goto_if_false @GROVE1_11041
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_11013
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_GA', 8000, 1)
Char.StartFacialTalk(38@, 999999)
Char.ShutUpForScriptedSpeech(38@, True)

:GROVE1_11013
119@ = 1
117@ = 1
87@ = 1
goto @GROVE1_11104

:GROVE1_11041
if 
  119@ == 1
goto_if_false @GROVE1_11104
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_11104
Char.StopFacialTalk(38@)
Text.ClearThisPrint('GRO1_GA')
Char.ShutUpForScriptedSpeech(38@, False)
119@ = 0

:GROVE1_11104
goto @GROVE1_11337

:GROVE1_11111
Group.SetFollowStatus($flag_cell_nation, True)
Group.SetMember($flag_cell_nation, 38@)
Blip.Remove(39@)
$sweet = 1
if 
  not Char.IsDead(42@)
goto_if_false @GROVE1_11162
43@ = Blip.AddForChar(42@)

:GROVE1_11162
if 
  not Char.IsDead(45@)
goto_if_false @GROVE1_11186
46@ = Blip.AddForChar(45@)

:GROVE1_11186
if 
  not Char.IsDead(48@)
goto_if_false @GROVE1_11210
49@ = Blip.AddForChar(48@)

:GROVE1_11210
if 
  not Char.IsDead(51@)
goto_if_false @GROVE1_11234
52@ = Blip.AddForChar(51@)

:GROVE1_11234
if 
  not Char.IsDead(54@)
goto_if_false @GROVE1_11258
55@ = Blip.AddForChar(54@)

:GROVE1_11258
if 
  not Char.IsDead(58@)
goto_if_false @GROVE1_11282
59@ = Blip.AddForChar(58@)

:GROVE1_11282
if 
  not Char.IsDead(62@)
goto_if_false @GROVE1_11306
63@ = Blip.AddForChar(62@)

:GROVE1_11306
if 
  not Char.IsDead(66@)
goto_if_false @GROVE1_11330
67@ = Blip.AddForChar(66@)

:GROVE1_11330
37@ = 0

:GROVE1_11337
goto @GROVE1_11505

:GROVE1_11344
if 
  73@ == 0
goto_if_false @GROVE1_11442
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_11414
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_GA', 8000, 1)
Char.StartFacialTalk(38@, 999999)
Char.ShutUpForScriptedSpeech(38@, True)

:GROVE1_11414
119@ = 1
117@ = 1
73@ = 1
goto @GROVE1_11505

:GROVE1_11442
if 
  119@ == 1
goto_if_false @GROVE1_11505
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_11505
Char.StopFacialTalk(38@)
Text.ClearThisPrint('GRO1_GA')
Char.ShutUpForScriptedSpeech(38@, False)
119@ = 0

:GROVE1_11505
if 
  44@ == 0
goto_if_false @GROVE1_11867
if 
  Char.IsDead(42@)
goto_if_false @GROVE1_11565
Blip.Remove(43@)
41@ += 1
44@ = 1
goto @GROVE1_11867

:GROVE1_11565
if 
  70@ == 0
goto_if_false @GROVE1_11631
if or
  Player.IsTargetingChar($statbike_temp, 42@)
  Char.HasSpottedChar(42@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(42@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_11624
70@ = 1

:GROVE1_11624
goto @GROVE1_11867

:GROVE1_11631
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 42@, 100.0, 100.0, 30.0, False)
goto_if_false @GROVE1_11816
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 42@, 29.0, 29.0, 30.0, False)
goto_if_false @GROVE1_11755
if 
  122@ == 0
goto_if_false @GROVE1_11748
Char.ClearTasks(42@)
Task.KillCharOnFoot(42@, $stattreadstamina_ctr)
Task.StayInSamePlace(42@, True)
122@ = 1

:GROVE1_11748
goto @GROVE1_11809

:GROVE1_11755
if 
  121@ == 0
goto_if_false @GROVE1_11809
Char.ClearTasks(42@)
Task.StayInSamePlace(42@, True)
Task.SetIgnoreWeaponRangeFlag(42@, True)
Task.ShootAtChar(42@, $stattreadstamina_ctr, -1)
121@ = 1

:GROVE1_11809
goto @GROVE1_11867

:GROVE1_11816
if or
  121@ == 1
  122@ == 1
goto_if_false @GROVE1_11867
Char.ClearTasks(42@)
Task.StayInSamePlace(42@, True)
122@ = 0
121@ = 0

:GROVE1_11867
if 
  47@ == 0
goto_if_false @GROVE1_12229
if 
  Char.IsDead(45@)
goto_if_false @GROVE1_11927
Blip.Remove(46@)
41@ += 1
47@ = 1
goto @GROVE1_12229

:GROVE1_11927
if 
  70@ == 0
goto_if_false @GROVE1_11993
if or
  Player.IsTargetingChar($statbike_temp, 45@)
  Char.HasSpottedChar(45@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(45@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_11986
70@ = 1

:GROVE1_11986
goto @GROVE1_12229

:GROVE1_11993
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 45@, 100.0, 100.0, 30.0, False)
goto_if_false @GROVE1_12178
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 45@, 29.0, 29.0, 30.0, False)
goto_if_false @GROVE1_12117
if 
  124@ == 0
goto_if_false @GROVE1_12110
Char.ClearTasks(45@)
Task.KillCharOnFoot(45@, $stattreadstamina_ctr)
Task.StayInSamePlace(45@, True)
124@ = 1

:GROVE1_12110
goto @GROVE1_12171

:GROVE1_12117
if 
  123@ == 0
goto_if_false @GROVE1_12171
Char.ClearTasks(45@)
Task.StayInSamePlace(45@, True)
Task.SetIgnoreWeaponRangeFlag(45@, True)
Task.ShootAtChar(45@, $stattreadstamina_ctr, -1)
123@ = 1

:GROVE1_12171
goto @GROVE1_12229

:GROVE1_12178
if or
  123@ == 1
  124@ == 1
goto_if_false @GROVE1_12229
Char.ClearTasks(45@)
Task.StayInSamePlace(45@, True)
124@ = 0
123@ = 0

:GROVE1_12229
if 
  50@ == 0
goto_if_false @GROVE1_12591
if 
  Char.IsDead(48@)
goto_if_false @GROVE1_12289
Blip.Remove(49@)
41@ += 1
50@ = 1
goto @GROVE1_12591

:GROVE1_12289
if 
  70@ == 0
goto_if_false @GROVE1_12355
if or
  Player.IsTargetingChar($statbike_temp, 48@)
  Char.HasSpottedChar(48@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(48@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_12348
70@ = 1

:GROVE1_12348
goto @GROVE1_12591

:GROVE1_12355
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 48@, 100.0, 100.0, 30.0, False)
goto_if_false @GROVE1_12540
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 48@, 29.0, 29.0, 30.0, False)
goto_if_false @GROVE1_12479
if 
  126@ == 0
goto_if_false @GROVE1_12472
Char.ClearTasks(48@)
Task.KillCharOnFoot(48@, $stattreadstamina_ctr)
Task.StayInSamePlace(48@, True)
126@ = 1

:GROVE1_12472
goto @GROVE1_12533

:GROVE1_12479
if 
  125@ == 0
goto_if_false @GROVE1_12533
Char.ClearTasks(48@)
Task.StayInSamePlace(48@, True)
Task.SetIgnoreWeaponRangeFlag(48@, True)
Task.ShootAtChar(48@, $stattreadstamina_ctr, -1)
125@ = 1

:GROVE1_12533
goto @GROVE1_12591

:GROVE1_12540
if or
  125@ == 1
  126@ == 1
goto_if_false @GROVE1_12591
Char.ClearTasks(48@)
Task.StayInSamePlace(48@, True)
126@ = 0
125@ = 0

:GROVE1_12591
if 
  53@ == 0
goto_if_false @GROVE1_12953
if 
  Char.IsDead(51@)
goto_if_false @GROVE1_12651
Blip.Remove(52@)
41@ += 1
53@ = 1
goto @GROVE1_12953

:GROVE1_12651
if 
  70@ == 0
goto_if_false @GROVE1_12717
if or
  Player.IsTargetingChar($statbike_temp, 51@)
  Char.HasSpottedChar(51@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(51@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_12710
70@ = 1

:GROVE1_12710
goto @GROVE1_12953

:GROVE1_12717
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 51@, 100.0, 100.0, 30.0, False)
goto_if_false @GROVE1_12902
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 51@, 29.0, 29.0, 30.0, False)
goto_if_false @GROVE1_12841
if 
  128@ == 0
goto_if_false @GROVE1_12834
Char.ClearTasks(51@)
Task.KillCharOnFoot(51@, $stattreadstamina_ctr)
Task.StayInSamePlace(51@, True)
128@ = 1

:GROVE1_12834
goto @GROVE1_12895

:GROVE1_12841
if 
  127@ == 0
goto_if_false @GROVE1_12895
Char.ClearTasks(51@)
Task.StayInSamePlace(51@, True)
Task.SetIgnoreWeaponRangeFlag(51@, True)
Task.ShootAtChar(51@, $stattreadstamina_ctr, -1)
127@ = 1

:GROVE1_12895
goto @GROVE1_12953

:GROVE1_12902
if or
  127@ == 1
  128@ == 1
goto_if_false @GROVE1_12953
Char.ClearTasks(51@)
Task.StayInSamePlace(51@, True)
128@ = 0
127@ = 0

:GROVE1_12953
if 
  56@ == 0
goto_if_false @GROVE1_13315
if 
  Char.IsDead(54@)
goto_if_false @GROVE1_13013
Blip.Remove(55@)
41@ += 1
56@ = 1
goto @GROVE1_13315

:GROVE1_13013
if 
  70@ == 0
goto_if_false @GROVE1_13079
if or
  Player.IsTargetingChar($statbike_temp, 54@)
  Char.HasSpottedChar(54@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(54@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_13072
70@ = 1

:GROVE1_13072
goto @GROVE1_13315

:GROVE1_13079
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 54@, 100.0, 100.0, 30.0, False)
goto_if_false @GROVE1_13264
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 54@, 29.0, 29.0, 30.0, False)
goto_if_false @GROVE1_13203
if 
  130@ == 0
goto_if_false @GROVE1_13196
Char.ClearTasks(54@)
Task.KillCharOnFoot(54@, $stattreadstamina_ctr)
Task.StayInSamePlace(54@, True)
130@ = 1

:GROVE1_13196
goto @GROVE1_13257

:GROVE1_13203
if 
  129@ == 0
goto_if_false @GROVE1_13257
Char.ClearTasks(54@)
Task.StayInSamePlace(54@, True)
Task.SetIgnoreWeaponRangeFlag(54@, True)
Task.ShootAtChar(54@, $stattreadstamina_ctr, -1)
129@ = 1

:GROVE1_13257
goto @GROVE1_13315

:GROVE1_13264
if or
  129@ == 1
  130@ == 1
goto_if_false @GROVE1_13315
Char.ClearTasks(54@)
Task.StayInSamePlace(54@, True)
130@ = 0
129@ = 0

:GROVE1_13315
if 
  60@ == 0
goto_if_false @GROVE1_13677
if 
  Char.IsDead(58@)
goto_if_false @GROVE1_13375
Blip.Remove(59@)
41@ += 1
60@ = 1
goto @GROVE1_13677

:GROVE1_13375
if 
  70@ == 0
goto_if_false @GROVE1_13441
if or
  Player.IsTargetingChar($statbike_temp, 58@)
  Char.HasSpottedChar(58@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(58@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_13434
70@ = 1

:GROVE1_13434
goto @GROVE1_13677

:GROVE1_13441
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 58@, 100.0, 100.0, 30.0, False)
goto_if_false @GROVE1_13626
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 58@, 29.0, 29.0, 30.0, False)
goto_if_false @GROVE1_13565
if 
  132@ == 0
goto_if_false @GROVE1_13558
Char.ClearTasks(58@)
Task.KillCharOnFoot(58@, $stattreadstamina_ctr)
Task.StayInSamePlace(58@, True)
132@ = 1

:GROVE1_13558
goto @GROVE1_13619

:GROVE1_13565
if 
  131@ == 0
goto_if_false @GROVE1_13619
Char.ClearTasks(58@)
Task.StayInSamePlace(58@, True)
Task.SetIgnoreWeaponRangeFlag(58@, True)
Task.ShootAtChar(58@, $stattreadstamina_ctr, -1)
131@ = 1

:GROVE1_13619
goto @GROVE1_13677

:GROVE1_13626
if or
  131@ == 1
  132@ == 1
goto_if_false @GROVE1_13677
Char.ClearTasks(58@)
Task.StayInSamePlace(58@, True)
132@ = 0
131@ = 0

:GROVE1_13677
if 
  64@ == 0
goto_if_false @GROVE1_14039
if 
  Char.IsDead(62@)
goto_if_false @GROVE1_13737
Blip.Remove(63@)
41@ += 1
64@ = 1
goto @GROVE1_14039

:GROVE1_13737
if 
  70@ == 0
goto_if_false @GROVE1_13803
if or
  Player.IsTargetingChar($statbike_temp, 62@)
  Char.HasSpottedChar(62@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(62@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_13796
70@ = 1

:GROVE1_13796
goto @GROVE1_14039

:GROVE1_13803
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 62@, 100.0, 100.0, 30.0, False)
goto_if_false @GROVE1_13988
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 62@, 29.0, 29.0, 30.0, False)
goto_if_false @GROVE1_13927
if 
  134@ == 0
goto_if_false @GROVE1_13920
Char.ClearTasks(62@)
Task.KillCharOnFoot(62@, $stattreadstamina_ctr)
Task.StayInSamePlace(62@, True)
134@ = 1

:GROVE1_13920
goto @GROVE1_13981

:GROVE1_13927
if 
  133@ == 0
goto_if_false @GROVE1_13981
Char.ClearTasks(62@)
Task.StayInSamePlace(62@, True)
Task.SetIgnoreWeaponRangeFlag(62@, True)
Task.ShootAtChar(62@, $stattreadstamina_ctr, -1)
133@ = 1

:GROVE1_13981
goto @GROVE1_14039

:GROVE1_13988
if or
  133@ == 1
  134@ == 1
goto_if_false @GROVE1_14039
Char.ClearTasks(62@)
Task.StayInSamePlace(62@, True)
134@ = 0
133@ = 0

:GROVE1_14039
if 
  68@ == 0
goto_if_false @GROVE1_14401
if 
  Char.IsDead(66@)
goto_if_false @GROVE1_14099
Blip.Remove(67@)
41@ += 1
68@ = 1
goto @GROVE1_14401

:GROVE1_14099
if 
  70@ == 0
goto_if_false @GROVE1_14165
if or
  Player.IsTargetingChar($statbike_temp, 66@)
  Char.HasSpottedChar(66@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(66@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_14158
70@ = 1

:GROVE1_14158
goto @GROVE1_14401

:GROVE1_14165
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 66@, 100.0, 100.0, 30.0, False)
goto_if_false @GROVE1_14350
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 66@, 29.0, 29.0, 30.0, False)
goto_if_false @GROVE1_14289
if 
  136@ == 0
goto_if_false @GROVE1_14282
Char.ClearTasks(66@)
Task.KillCharOnFoot(66@, $stattreadstamina_ctr)
Task.StayInSamePlace(66@, True)
136@ = 1

:GROVE1_14282
goto @GROVE1_14343

:GROVE1_14289
if 
  135@ == 0
goto_if_false @GROVE1_14343
Char.ClearTasks(66@)
Task.StayInSamePlace(66@, True)
Task.SetIgnoreWeaponRangeFlag(66@, True)
Task.ShootAtChar(66@, $stattreadstamina_ctr, -1)
135@ = 1

:GROVE1_14343
goto @GROVE1_14401

:GROVE1_14350
if or
  135@ == 1
  136@ == 1
goto_if_false @GROVE1_14401
Char.ClearTasks(66@)
Task.StayInSamePlace(66@, True)
136@ = 0
135@ = 0

:GROVE1_14401
if 
  70@ == 1
goto_if_false @GROVE1_14444
if 
  71@ == 0
goto_if_false @GROVE1_14444
gosub @GROVE1_19156

:GROVE1_14444
goto @GROVE1_10139

:GROVE1_14451
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Text.PrintNow('GM1_15', 8000, 1)
36@ = Blip.AddForCoord(2000.269, -1117.084, 25.821)
$sweet = 1
119@ = 0

:GROVE1_14507
if or
  not Char.LocateOnFoot3D($stattreadstamina_ctr, 2000.269, -1117.084, 25.821, 2.0, 2.0, 2.0, $sweet)
  not Char.IsGroupMember(38@, $flag_cell_nation)
goto_if_false @GROVE1_15390
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_14637
Text.PrintNow('GM1_4', 5000, 1)
if 
  37@ == 1
goto_if_false @GROVE1_14623
Blip.Remove(39@)

:GROVE1_14623
goto @GROVE1_18797
goto @GROVE1_15383

:GROVE1_14637
$7959 = Char.GetHealth(38@)
$7959 /= 10
if 
  117@ == 1
goto_if_false @GROVE1_14703
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_14703
Text.ClearThisPrint('GRO1_GA')
117@ = 0

:GROVE1_14703
if and
  not Char.IsGroupMember(38@, $flag_cell_nation)
  37@ == 0
goto_if_false @GROVE1_14786
Blip.Remove(36@)
39@ = Blip.AddForChar(38@)
Blip.SetAsFriendly(39@, True)
Text.PrintNow('GM1_2', 8000, 1)
$sweet = 0
73@ = 0
37@ = 1

:GROVE1_14786
if 
  37@ == 1
goto_if_false @GROVE1_15383
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 38@, 8.0, 8.0, False)
goto_if_false @GROVE1_15383
if 
  not Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @GROVE1_15222
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GROVE1_15161
83@ = Char.StoreCarIsIn($stattreadstamina_ctr)
84@ = Car.GetMaximumNumberOfPassengers(83@)
85@ = Car.GetNumberOfPassengers(83@)
set_lvar_int_to_lvar_int 86@ = 84@
sub_int_lvar_from_int_lvar 86@ -= 85@
if 
  86@ >= 1
goto_if_false @GROVE1_14993
Group.SetFollowStatus($flag_cell_nation, True)
Group.SetMember($flag_cell_nation, 38@)
Blip.Remove(39@)
36@ = Blip.AddForCoord(2000.269, -1117.084, 25.821)
$sweet = 1
87@ = 0
37@ = 0
goto @GROVE1_15154

:GROVE1_14993
if 
  87@ == 0
goto_if_false @GROVE1_15091
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_15063
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_GA', 8000, 1)
Char.StartFacialTalk(38@, 999999)
Char.ShutUpForScriptedSpeech(38@, True)

:GROVE1_15063
119@ = 1
117@ = 1
87@ = 1
goto @GROVE1_15154

:GROVE1_15091
if 
  119@ == 1
goto_if_false @GROVE1_15154
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_15154
Char.StopFacialTalk(38@)
Text.ClearThisPrint('GRO1_GA')
Char.ShutUpForScriptedSpeech(38@, False)
119@ = 0

:GROVE1_15154
goto @GROVE1_15215

:GROVE1_15161
Group.SetFollowStatus($flag_cell_nation, True)
Group.SetMember($flag_cell_nation, 38@)
Blip.Remove(39@)
36@ = Blip.AddForCoord(2000.269, -1117.084, 25.821)
$sweet = 1
37@ = 0

:GROVE1_15215
goto @GROVE1_15383

:GROVE1_15222
if 
  73@ == 0
goto_if_false @GROVE1_15320
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_15292
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_GA', 8000, 1)
Char.StartFacialTalk(38@, 999999)
Char.ShutUpForScriptedSpeech(38@, True)

:GROVE1_15292
119@ = 1
117@ = 1
73@ = 1
goto @GROVE1_15383

:GROVE1_15320
if 
  119@ == 1
goto_if_false @GROVE1_15383
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_15383
Char.StopFacialTalk(38@)
Text.ClearThisPrint('GRO1_GA')
Char.ShutUpForScriptedSpeech(38@, False)
119@ = 0

:GROVE1_15383
goto @GROVE1_14507

:GROVE1_15390
Hud.ClearCounter($7959)
Blip.Remove(36@)
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_15461
Char.SetProofs(38@, True, True, True, True, True)
goto @GROVE1_15484

:GROVE1_15461
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_15484
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:GROVE1_15499
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_15523
wait 0
goto @GROVE1_15499

:GROVE1_15523
Player.MakeGangDisappear
Char.Delete(38@)
Streaming.MarkModelAsNoLongerNeeded(104)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.SetAreaVisible(11)
Player.MakeSafeForCutscene($statbike_temp)
Char.SetCoordinates($stattreadstamina_ctr, 1044.88, -1334.32, 12.55)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:GROVE1_15587
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_15611
wait 0
goto @GROVE1_15587

:GROVE1_15611
Streaming.SetAreaVisible(2)
Cutscene.Load('GROVE1C')

:GROVE1_15626
if 
  not Cutscene.HasLoaded
goto_if_false @GROVE1_15650
wait 0
goto @GROVE1_15626

:GROVE1_15650
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:GROVE1_15659
if 
  not Cutscene.HasFinished
goto_if_false @GROVE1_15683
wait 0
goto @GROVE1_15659

:GROVE1_15683
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:GROVE1_15696
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_15720
wait 0
goto @GROVE1_15696

:GROVE1_15720
Cutscene.Clear
Streaming.SetAreaVisible(0)
Player.SetControl($statbike_temp, False)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.LoadSpecialCharacter(2, 'BBTHIN')
Streaming.RequestAnimation("GANGS")
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 17405)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 17406)

:GROVE1_15782
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Streaming.HasAnimationLoaded("GANGS")
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_15829
wait 0
goto @GROVE1_15782

:GROVE1_15829
Hud.SwitchWidescreen(True)
Path.SwitchPedRoadsOff(1965.968, -1096.668, 20.0, 2081.465, -1163.309, 30.0)
World.ClearArea(2003.217, -1132.552, 24.278, 2.0, False)
75@ = Car.Create(411, 2003.217, -1132.552, 24.278)
Car.SetProofs(75@, True, True, True, True, True)
Car.SetHeading(75@, 90.0)
72@ = Char.CreateAsPassenger(75@, PedType.Mission1, 291, 0)
Char.SetProofs(72@, True, True, True, True, True)
Char.ShutUpForScriptedSpeech(72@, True)
Streaming.RequestCollision(2002.105, -1129.403)
World.ClearArea(2002.105, -1129.403, 24.484, 1.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2002.105, -1129.403, 24.484)
Char.SetHeading($stattreadstamina_ctr, 270.0)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Streaming.LoadScene(2002.105, -1129.403, 24.484)
World.ClearArea(2003.105, -1129.403, 24.484, 1.0, True)
38@ = Char.Create(PedType.Mission1, 290, 2003.105, -1129.403, 24.484)
Char.SetProofs(38@, True, True, True, True, True)
Char.SetHeading(38@, 90.0)
Char.ShutUpForScriptedSpeech(38@, True)
World.ClearArea(2016.976, -1130.804, 24.62, 60.0, True)
Camera.SetFixedPosition(2006.711, -1126.867, 24.6168, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2006.004, -1127.551, 24.7956, SwitchType.JumpCut)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1500, Fade.In)

:GROVE1_16242
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_16266
wait 0
goto @GROVE1_16242

:GROVE1_16266
skip_cutscene_start_internal @GROVE1_18557
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_16363
Task.PlayAnim(38@, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GRO1_BA', 10000, 1)
Char.StartFacialTalk(38@, 999999)
goto @GROVE1_16396

:GROVE1_16363
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_16396
Task.PlayAnim($stattreadstamina_ctr, "HNDSHKFA", "GANGS", 4.0, False, False, False, False, -1)

:GROVE1_16433
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_16606
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_16501
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_16501
if 
  Char.IsDead(72@)
goto_if_false @GROVE1_16550
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_16550
if 
  Car.IsDead(75@)
goto_if_false @GROVE1_16599
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_16599
goto @GROVE1_16433

:GROVE1_16606
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint('GRO1_BA')
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_16649
Char.StopFacialTalk(38@)
goto @GROVE1_16682

:GROVE1_16649
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_16682
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 17407)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_BB', 10000, 1)
Char.StartFacialTalk($stattreadstamina_ctr, 999999)

:GROVE1_16719
if or
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_16896
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_16791
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_16791
if 
  Char.IsDead(72@)
goto_if_false @GROVE1_16840
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_16840
if 
  Car.IsDead(75@)
goto_if_false @GROVE1_16889
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_16889
goto @GROVE1_16719

:GROVE1_16896
Text.ClearThisPrint('GRO1_BB')
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Char.StopFacialTalk($stattreadstamina_ctr)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 17408)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GRO1_BC', 10000, 1)
if 
  not Char.IsDead(72@)
goto_if_false @GROVE1_16976
Char.StartFacialTalk(72@, 999999)
goto @GROVE1_17009

:GROVE1_16976
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_17009
Task.AchieveHeading($stattreadstamina_ctr, 180.0)
if 
  not Car.IsDead(75@)
goto_if_false @GROVE1_17098
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_17068
Task.EnterCarAsDriver(38@, 75@, -1)
goto @GROVE1_17091

:GROVE1_17068
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_17091
goto @GROVE1_17121

:GROVE1_17098
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_17121
if or
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_17325
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_17193
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_17193
if 
  Char.IsDead(72@)
goto_if_false @GROVE1_17249
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797
goto @GROVE1_17269

:GROVE1_17249
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_17269
Char.StopFacialTalk(72@)

:GROVE1_17269
if 
  Car.IsDead(75@)
goto_if_false @GROVE1_17318
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_17318
goto @GROVE1_17121

:GROVE1_17325
Text.ClearThisPrint('GRO1_BC')
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
if 
  Char.IsDead(72@)
goto_if_false @GROVE1_17396
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797
goto @GROVE1_17401

:GROVE1_17396
Char.StopFacialTalk(72@)

:GROVE1_17401
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 17409)
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GRO1_BD', 10000, 1)
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_17461
Char.StartFacialTalk(38@, 999999)
goto @GROVE1_17494

:GROVE1_17461
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_17494
if or
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_17698
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_17573
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797
goto @GROVE1_17593

:GROVE1_17573
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_17593
Char.StopFacialTalk(38@)

:GROVE1_17593
if 
  Char.IsDead(72@)
goto_if_false @GROVE1_17642
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_17642
if 
  Car.IsDead(75@)
goto_if_false @GROVE1_17691
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_17691
goto @GROVE1_17494

:GROVE1_17698
Text.ClearThisPrint('GRO1_BD')
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_17769
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797
goto @GROVE1_17774

:GROVE1_17769
Char.StopFacialTalk(38@)

:GROVE1_17774
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GRO1_BE', 10000, 1)
if 
  not Char.IsDead(72@)
goto_if_false @GROVE1_17827
Char.StartFacialTalk(72@, 999999)
goto @GROVE1_17860

:GROVE1_17827
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_17860
if 
  not Char.IsInAnyCar(38@)
goto_if_false @GROVE1_18121
wait 0
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_17967
Text.ClearThisPrint('GRO1_BE')
if 
  not Char.IsDead(72@)
goto_if_false @GROVE1_17934
Char.StopFacialTalk(72@)
goto @GROVE1_17967

:GROVE1_17934
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_17967
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_18016
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_18016
if 
  Char.IsDead(72@)
goto_if_false @GROVE1_18065
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_18065
if 
  Car.IsDead(75@)
goto_if_false @GROVE1_18114
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_18114
goto @GROVE1_17860

:GROVE1_18121
if 
  not Car.IsDead(75@)
goto_if_false @GROVE1_18181
Car.SetDrivingStyle(75@, DrivingMode.AvoidCars)
Car.SetCruiseSpeed(75@, 30.0)
Car.GotoCoordinates(75@, 1946.0, -1132.0, 25.0)
goto @GROVE1_18214

:GROVE1_18181
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_18214
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_18387
wait 0
if 
  Char.IsDead(38@)
goto_if_false @GROVE1_18282
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_4', 5000, 1)
goto @GROVE1_18797

:GROVE1_18282
if 
  Char.IsDead(72@)
goto_if_false @GROVE1_18331
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_18331
if 
  Car.IsDead(75@)
goto_if_false @GROVE1_18380
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_18380
goto @GROVE1_18214

:GROVE1_18387
Text.ClearThisPrint('GRO1_BE')
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  not Char.IsDead(72@)
goto_if_false @GROVE1_18434
Char.StopFacialTalk(72@)
goto @GROVE1_18467

:GROVE1_18434
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('GM1_12', 8000, 1)
goto @GROVE1_18797

:GROVE1_18467
wait 2000
Char.RemoveElegantly(72@)
Char.RemoveElegantly(38@)
Car.Delete(75@)
Player.MakeGangReappear
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Path.SwitchPedRoadsBackToOriginal(1965.968, -1096.668, 20.0, 2081.465, -1163.309, 30.0)
74@ = 1

:GROVE1_18557
skip_cutscene_end 
if 
  74@ == 0
goto_if_false @GROVE1_18754
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:GROVE1_18602
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_18626
wait 0
goto @GROVE1_18602

:GROVE1_18626
Player.MakeGangReappear
Hud.SwitchWidescreen(False)
Text.ClearPrints
Char.Delete(72@)
Char.Delete(38@)
Car.Delete(75@)
Path.SwitchPedRoadsBackToOriginal(1965.968, -1096.668, 20.0, 2081.465, -1163.309, 30.0)
Char.SetCoordinates($stattreadstamina_ctr, 2002.105, -1129.403, 24.484)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:GROVE1_18730
if 
  Camera.GetFadingStatus
goto_if_false @GROVE1_18754
wait 0
goto @GROVE1_18730

:GROVE1_18754
Hud.SwitchWidescreen(False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
goto @GROVE1_18881

:GROVE1_18797
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Zone.SetGangStrength('GLN1', GangType.Ballas, 40)
Zone.SetGangStrength('GLN1', GangType.Grove, 0)
Zone.SetGangStrength('GLN1', GangType.Vagos, 91@)
Zone.SetGangStrength('GLN1', GangType.Aztecas, 92@)
Game.CanTriggerGangWarWhenOnAMission(False)
return 

:GROVE1_18881
$got_gimp_suit += 1
Stat.RegisterMissionPassed('GROVE_1')
Stat.PlayerMadeProgress(1)
Text.PrintWithNumberBig('M_PASSR', 10, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(40)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
Blip.Remove($flag_grove_mission_counter)
Blip.Remove($ryder_blip_icon)
$flag_grove_mission_counter = Blip.AddSpriteForContactPoint($ryderY, $ryderZ, $smokeX, $flag_riot_mission_counter)
return 

:GROVE1_18963
Char.RemoveElegantly(38@)
$weapon_shop1_blip = 0
Path.SwitchPedRoadsBackToOriginal(1965.968, -1096.668, 20.0, 2081.465, -1163.309, 30.0)
Streaming.SetAreaVisible(0)
Game.ClearSpecificZonesToTriggerGangWar
$flag_courier_mission_passed = Clock.GetGameTimer()
Hud.ClearCounter($7959)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.MarkModelAsNoLongerNeeded(104)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(411)
Streaming.RemoveAnimation("GANGS")
Blip.Remove(89@)
Blip.Remove(40@)
Blip.Remove(39@)
Blip.Remove(36@)
Blip.Remove(43@)
Blip.Remove(46@)
Blip.Remove(49@)
Blip.Remove(52@)
Blip.Remove(55@)
Blip.Remove(59@)
Blip.Remove(63@)
Blip.Remove(67@)
Sequence.Clear(57@)
Sequence.Clear(61@)
Sequence.Clear(65@)
Sequence.Clear(69@)
DecisionMaker.Remove(35@)
DecisionMaker.Remove(34@)
Game.CanTriggerGangWarWhenOnAMission(False)
Mission.Finish
return 

:GROVE1_19156
if 
  not Char.IsDead(54@)
goto_if_false @GROVE1_19235
57@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1996.934, -1122.258, 25.76, MoveState.Run, -1)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Sequence.Close(57@)
Char.ClearTasks(54@)
Char.PerformSequence(54@, 57@)
Sequence.Clear(57@)

:GROVE1_19235
if 
  not Char.IsDead(58@)
goto_if_false @GROVE1_19314
61@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2004.069, -1122.884, 25.584, MoveState.Run, -1)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Sequence.Close(61@)
Char.ClearTasks(58@)
Char.PerformSequence(58@, 61@)
Sequence.Clear(61@)

:GROVE1_19314
if 
  not Char.IsDead(62@)
goto_if_false @GROVE1_19393
65@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2006.758, -1122.695, 25.493, MoveState.Run, -1)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Sequence.Close(65@)
Char.ClearTasks(62@)
Char.PerformSequence(62@, 65@)
Sequence.Clear(65@)

:GROVE1_19393
if 
  not Char.IsDead(66@)
goto_if_false @GROVE1_19472
69@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2015.458, -1121.923, 25.243, MoveState.Run, -1)
Task.ToggleDuck(-1, True)
Task.StayInSamePlace(-1, True)
Sequence.Close(69@)
Char.ClearTasks(66@)
Char.PerformSequence(66@, 69@)
Sequence.Clear(69@)

:GROVE1_19472
71@ = 1
return 

:GROVE1_19481
if or
  94@ == 0
  94@ == 1
goto_if_false @GROVE1_19532
if 
  is_int_var_greater_or_equal_to_int_lvar $1426 >= 93@
goto_if_false @GROVE1_19532
gosub @GROVE1_19597

:GROVE1_19532
if 
  94@ == 2
goto_if_false @GROVE1_19595
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_19595
gosub @GROVE1_20138
94@ = 0
93@ += 1
95@ = 0
Text.ClearPrints

:GROVE1_19595
return 

:GROVE1_19597
if 
  94@ == 0
goto_if_false @GROVE1_19633
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 97@(93@,17i))
94@ = 1

:GROVE1_19633
if 
  94@ == 1
goto_if_false @GROVE1_19713
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GROVE1_19713
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @GROVE1_19713
Text.PrintNow($7960(93@,17s), 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
gosub @GROVE1_19715
94@ = 2

:GROVE1_19713
return 

:GROVE1_19715
if 
  96@ == 0
goto_if_false @GROVE1_19836
if or
  93@ == 0
  93@ == 4
  93@ == 5
  93@ == 6
  93@ == 7
goto_if_false @GROVE1_19803
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 999999)
goto @GROVE1_19836

:GROVE1_19803
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_19836
Char.ShutUpForScriptedSpeech(38@, True)
Char.StartFacialTalk(38@, 999999)

:GROVE1_19836
if 
  96@ == 1
goto_if_false @GROVE1_19943
if or
  93@ == 0
  93@ == 2
  93@ == 3
goto_if_false @GROVE1_19910
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 999999)
goto @GROVE1_19943

:GROVE1_19910
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_19943
Char.ShutUpForScriptedSpeech(38@, True)
Char.StartFacialTalk(38@, 999999)

:GROVE1_19943
if 
  96@ == 2
goto_if_false @GROVE1_20043
if or
  93@ == 1
  93@ == 3
goto_if_false @GROVE1_20010
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 999999)
goto @GROVE1_20043

:GROVE1_20010
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_20043
Char.ShutUpForScriptedSpeech(38@, True)
Char.StartFacialTalk(38@, 999999)

:GROVE1_20043
if 
  96@ == 3
goto_if_false @GROVE1_20136
if 
  93@ == 1
goto_if_false @GROVE1_20103
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.StartFacialTalk($stattreadstamina_ctr, 999999)
goto @GROVE1_20136

:GROVE1_20103
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_20136
Char.ShutUpForScriptedSpeech(38@, True)
Char.StartFacialTalk(38@, 999999)

:GROVE1_20136
return 

:GROVE1_20138
if 
  96@ == 0
goto_if_false @GROVE1_20249
if or
  93@ == 0
  93@ == 4
  93@ == 5
  93@ == 6
  93@ == 7
goto_if_false @GROVE1_20221
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
goto @GROVE1_20249

:GROVE1_20221
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_20249
Char.ShutUpForScriptedSpeech(38@, False)
Char.StopFacialTalk(38@)

:GROVE1_20249
if 
  96@ == 1
goto_if_false @GROVE1_20346
if or
  93@ == 0
  93@ == 2
  93@ == 3
goto_if_false @GROVE1_20318
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
goto @GROVE1_20346

:GROVE1_20318
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_20346
Char.ShutUpForScriptedSpeech(38@, False)
Char.StopFacialTalk(38@)

:GROVE1_20346
if 
  96@ == 2
goto_if_false @GROVE1_20436
if or
  93@ == 1
  93@ == 3
goto_if_false @GROVE1_20408
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
goto @GROVE1_20436

:GROVE1_20408
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_20436
Char.ShutUpForScriptedSpeech(38@, False)
Char.StopFacialTalk(38@)

:GROVE1_20436
if 
  96@ == 3
goto_if_false @GROVE1_20519
if 
  93@ == 1
goto_if_false @GROVE1_20491
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.StopFacialTalk($stattreadstamina_ctr)
goto @GROVE1_20519

:GROVE1_20491
if 
  not Char.IsDead(38@)
goto_if_false @GROVE1_20519
Char.ShutUpForScriptedSpeech(38@, False)
Char.StopFacialTalk(38@)

:GROVE1_20519
return 

:GROVE1_20521
if 
  44@ == 0
goto_if_false @GROVE1_20640
if 
  Char.IsDead(42@)
goto_if_false @GROVE1_20581
Blip.Remove(43@)
41@ += 1
44@ = 1
goto @GROVE1_20640

:GROVE1_20581
if 
  70@ == 0
goto_if_false @GROVE1_20640
if or
  Player.IsTargetingChar($statbike_temp, 42@)
  Char.HasSpottedChar(42@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(42@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_20640
70@ = 1

:GROVE1_20640
if 
  47@ == 0
goto_if_false @GROVE1_20759
if 
  Char.IsDead(45@)
goto_if_false @GROVE1_20700
Blip.Remove(46@)
41@ += 1
47@ = 1
goto @GROVE1_20759

:GROVE1_20700
if 
  70@ == 0
goto_if_false @GROVE1_20759
if or
  Player.IsTargetingChar($statbike_temp, 45@)
  Char.HasSpottedChar(45@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(45@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_20759
70@ = 1

:GROVE1_20759
if 
  50@ == 0
goto_if_false @GROVE1_20878
if 
  Char.IsDead(48@)
goto_if_false @GROVE1_20819
Blip.Remove(49@)
41@ += 1
50@ = 1
goto @GROVE1_20878

:GROVE1_20819
if 
  70@ == 0
goto_if_false @GROVE1_20878
if or
  Player.IsTargetingChar($statbike_temp, 48@)
  Char.HasSpottedChar(48@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(48@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_20878
70@ = 1

:GROVE1_20878
if 
  53@ == 0
goto_if_false @GROVE1_20997
if 
  Char.IsDead(51@)
goto_if_false @GROVE1_20938
Blip.Remove(52@)
41@ += 1
53@ = 1
goto @GROVE1_20997

:GROVE1_20938
if 
  70@ == 0
goto_if_false @GROVE1_20997
if or
  Player.IsTargetingChar($statbike_temp, 51@)
  Char.HasSpottedChar(51@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(51@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_20997
70@ = 1

:GROVE1_20997
if 
  56@ == 0
goto_if_false @GROVE1_21116
if 
  Char.IsDead(54@)
goto_if_false @GROVE1_21057
Blip.Remove(55@)
41@ += 1
56@ = 1
goto @GROVE1_21116

:GROVE1_21057
if 
  70@ == 0
goto_if_false @GROVE1_21116
if or
  Player.IsTargetingChar($statbike_temp, 54@)
  Char.HasSpottedChar(54@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(54@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_21116
70@ = 1

:GROVE1_21116
if 
  60@ == 0
goto_if_false @GROVE1_21235
if 
  Char.IsDead(58@)
goto_if_false @GROVE1_21176
Blip.Remove(59@)
41@ += 1
60@ = 1
goto @GROVE1_21235

:GROVE1_21176
if 
  70@ == 0
goto_if_false @GROVE1_21235
if or
  Player.IsTargetingChar($statbike_temp, 58@)
  Char.HasSpottedChar(58@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(58@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_21235
70@ = 1

:GROVE1_21235
if 
  64@ == 0
goto_if_false @GROVE1_21354
if 
  Char.IsDead(62@)
goto_if_false @GROVE1_21295
Blip.Remove(63@)
41@ += 1
64@ = 1
goto @GROVE1_21354

:GROVE1_21295
if 
  70@ == 0
goto_if_false @GROVE1_21354
if or
  Player.IsTargetingChar($statbike_temp, 62@)
  Char.HasSpottedChar(62@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(62@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_21354
70@ = 1

:GROVE1_21354
if 
  68@ == 0
goto_if_false @GROVE1_21473
if 
  Char.IsDead(66@)
goto_if_false @GROVE1_21414
Blip.Remove(67@)
41@ += 1
68@ = 1
goto @GROVE1_21473

:GROVE1_21414
if 
  70@ == 0
goto_if_false @GROVE1_21473
if or
  Player.IsTargetingChar($statbike_temp, 66@)
  Char.HasSpottedChar(66@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByWeapon(66@, WeaponType.AnyWeapon)
goto_if_false @GROVE1_21473
70@ = 1

:GROVE1_21473
return 

//-------------Mission 107---------------
// Originally: Grove 4 Life

:GROVE2
script_name 'GROVE2'
gosub @GROVE2_47
if 
  has_deatharrest_been_executed 
goto_if_false @GROVE2_38
gosub @GROVE2_3134

:GROVE2_38
gosub @GROVE2_3221
terminate_this_script 

:GROVE2_47
Game.MakeRoomInPlayerGangForMissionPeds(1)
Text.LoadMissionText('GROVE2')
Camera.SetFadingColor(0, 0, 0)
Stat.RegisterMissionGiven
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:GROVE2_87
if 
  Camera.GetFadingStatus
goto_if_false @GROVE2_111
wait 0
goto @GROVE2_87

:GROVE2_111
Weather.ForceNow(WeatherType.SunnyLa)
Streaming.SetAreaVisible(1)
Cutscene.Load('GROVE2')

:GROVE2_130
if 
  not Cutscene.HasLoaded
goto_if_false @GROVE2_154
wait 0
goto @GROVE2_130

:GROVE2_154
Cutscene.Start
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:GROVE2_171
if 
  not Cutscene.HasFinished
goto_if_false @GROVE2_195
wait 0
goto @GROVE2_171

:GROVE2_195
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)

:GROVE2_209
if 
  Camera.GetFadingStatus
goto_if_false @GROVE2_233
wait 0
goto @GROVE2_209

:GROVE2_233
Cutscene.Clear
Weather.Release
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.RequestModel(355)
Streaming.RequestModel(492)
Streaming.LoadAllModelsNow

:GROVE2_262
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasModelLoaded(492)
goto_if_false @GROVE2_298
wait 0
goto @GROVE2_262

:GROVE2_298
Streaming.SetAreaVisible(0)
Hud.SwitchWidescreen(False)
$7994 = 0
$r1_sweets_car = 0
47@ = 2
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GROVE2_352
Player.ClearWantedLevel($statbike_temp)

:GROVE2_352
Player.SetGroupToFollowAlways($statbike_temp, True)
Game.SetGangWarsActive(True)
Game.CanTriggerGangWarWhenOnAMission(True)
Streaming.LoadScene(2497.324, -1684.744, 12.44)
Char.SetCoordinates($stattreadstamina_ctr, 2497.324, -1684.744, 12.44)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)
$big_smoke_car = Char.Create(PedType.Mission1, 290, 2496.633, -1684.573, 12.435)
Car.CustomPlateForNextCar(492, "GROVE4L_")
39@ = Car.Create(492, 2507.699, -1671.716, 12.3823)
Car.ChangeColor(39@, 59, 34)
Car.SetHeading(39@, 355.4549)
Char.SetHeading($big_smoke_car, 0.0)
Char.SetAnimGroup($big_smoke_car, "GANG2")
Char.GiveWeapon($big_smoke_car, WeaponType.Ak47, 30000)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetSuffersCriticalHits($big_smoke_car, False)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $big_smoke_car)
Char.SetAccuracy($big_smoke_car, 90)
Char.SetHealth($big_smoke_car, 1000)
Char.SetMaxHealth($big_smoke_car, 1000)
Char.SetRelationship($big_smoke_car, RelationshipType.Hate, PedType.Mission2)
$7994 = Char.GetHealth($big_smoke_car)
$7994 /= 10
Hud.DisplayCounterWithString($7994, CounterDisplay.Bar, 'GR2_01')
34@ = Blip.AddForChar($big_smoke_car)
Blip.SetAsFriendly(34@, True)
36@ = Blip.AddForCoord(2002.815, -1613.084, 12.3828)
55@ = Blip.AddForCoord(2507.184, -1672.906, 12.3824)
Blip.ChangeDisplay(34@, BlipDisplay.Neither)
Blip.ChangeDisplay(55@, BlipDisplay.Neither)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(2.0)
TIMERA = 0
Zone.SetGangStrength('IWD3A', GangType.Grove, 0)
Zone.SetGangStrength('IWD3A', GangType.Ballas, 100)
Zone.SetGangStrength('IWD3B', GangType.Grove, 0)
Zone.SetGangStrength('IWD3B', GangType.Ballas, 100)
Zone.SetGangStrength('IWD1', GangType.Grove, 0)
Zone.SetGangStrength('IWD1', GangType.Ballas, 100)
Zone.SetGangStrength('IWD4', GangType.Grove, 0)
Zone.SetGangStrength('IWD4', GangType.Ballas, 100)
Zone.SetTriggerGangWar('IWD3A')
Zone.SetTriggerGangWar('IWD3B')
Zone.SetTriggerGangWar('IWD1')
Zone.SetTriggerGangWar('IWD4')
Zone.SetNoCops('IWD3A', True)
Zone.SetNoCops('IWD3B', True)
Zone.SetNoCops('IWD1', True)
Zone.SetNoCops('IWD4', True)

:GROVE2_942
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GROVE2_2932
wait 0
gosub @GROVE2_3589
gosub @GROVE2_5396
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @GROVE2_998
goto @GROVE2_3152

:GROVE2_998
if and
  not Car.IsDead(39@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GROVE2_1067
if 
  Char.IsInCar($stattreadstamina_ctr, 39@)
goto_if_false @GROVE2_1067
if 
  57@ == 0
goto_if_false @GROVE2_1067
Audio.SetRadioChannel(RadioChannel.BounceFM)
57@ = 1

:GROVE2_1067
if and
  TIMERA > 4000
  58@ == 1
goto_if_false @GROVE2_1316
$r1_cesars_car = Math.RandomIntInRange(0, 4)
switch_start $r1_cesars_car {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @GROVE2_1309 {caseNum1} 0 {caseLabel1} @GROVE2_1165 {caseNum2} 1 {caseLabel2} @GROVE2_1201 {caseNum3} 2 {caseLabel3} @GROVE2_1237 {caseNum4} 3 {caseLabel4} @GROVE2_1273 {caseNum5} -1 {caseLabel5} @GROVE2_1309 {caseNum6} -1 {caseLabel6} @GROVE2_1309 {caseNum7} -1 {caseLabel7} @GROVE2_1309

:GROVE2_1165
set_lvar_text_label 59@s = 'GRO2_DA'
set_lvar_int_to_constant 46@ = 17611
gosub @GROVE2_5376
goto @GROVE2_1309

:GROVE2_1201
set_lvar_text_label 59@s = 'GRO2_DB'
set_lvar_int_to_constant 46@ = 17612
gosub @GROVE2_5376
goto @GROVE2_1309

:GROVE2_1237
set_lvar_text_label 59@s = 'GRO2_DC'
set_lvar_int_to_constant 46@ = 17613
gosub @GROVE2_5376
goto @GROVE2_1309

:GROVE2_1273
set_lvar_text_label 59@s = 'GRO2_DD'
set_lvar_int_to_constant 46@ = 17614
gosub @GROVE2_5376
goto @GROVE2_1309

:GROVE2_1309
58@ = 2

:GROVE2_1316
if and
  47@ == 2
  58@ == 2
goto_if_false @GROVE2_1492
$r1_cesars_car = Math.RandomIntInRange(0, 2)
switch_start $r1_cesars_car {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @GROVE2_1485 {caseNum1} 0 {caseLabel1} @GROVE2_1413 {caseNum2} 1 {caseLabel2} @GROVE2_1449 {caseNum3} -1 {caseLabel3} @GROVE2_1485 {caseNum4} -1 {caseLabel4} @GROVE2_1485 {caseNum5} -1 {caseLabel5} @GROVE2_1485 {caseNum6} -1 {caseLabel6} @GROVE2_1485 {caseNum7} -1 {caseLabel7} @GROVE2_1485

:GROVE2_1413
set_lvar_text_label 59@s = 'GRO2_EA'
set_lvar_int_to_constant 46@ = 17615
gosub @GROVE2_5376
goto @GROVE2_1485

:GROVE2_1449
set_lvar_text_label 59@s = 'GRO2_EB'
set_lvar_int_to_constant 46@ = 17616
gosub @GROVE2_5376
goto @GROVE2_1485

:GROVE2_1485
58@ = 3

:GROVE2_1492
if and
  47@ == 2
  58@ == 3
goto_if_false @GROVE2_1540
Text.PrintNow('GR2_10', 7000, 1)
58@ = 4

:GROVE2_1540
if 
  54@ == 0
goto_if_false @GROVE2_2508
40@ = Zone.GetGangStrength('IWD3A', GangType.Ballas)
41@ = Zone.GetGangStrength('IWD3B', GangType.Ballas)
43@ = Zone.GetGangStrength('IWD1', GangType.Ballas)
44@ = Zone.GetGangStrength('IWD4', GangType.Ballas)
if 
  38@ == 0
goto_if_false @GROVE2_1676
set_lvar_text_label 59@s = 'GRO2_AA'
set_lvar_int_to_constant 46@ = 17600
gosub @GROVE2_5376
38@ = 1

:GROVE2_1676
if and
  47@ == 2
  38@ == 1
goto_if_false @GROVE2_1737
set_lvar_text_label 59@s = 'GRO2_AB'
set_lvar_int_to_constant 46@ = 17601
gosub @GROVE2_5376
38@ = 2

:GROVE2_1737
if and
  47@ == 2
  38@ == 2
goto_if_false @GROVE2_1798
set_lvar_text_label 59@s = 'GRO2_AC'
set_lvar_int_to_constant 46@ = 17602
gosub @GROVE2_5376
38@ = 3

:GROVE2_1798
if and
  47@ == 2
  38@ == 3
goto_if_false @GROVE2_1859
set_lvar_text_label 59@s = 'GRO2_AD'
set_lvar_int_to_constant 46@ = 17603
gosub @GROVE2_5376
38@ = 4

:GROVE2_1859
if and
  47@ == 2
  38@ == 4
goto_if_false @GROVE2_1907
Text.PrintNow('GR2_09', 7000, 1)
38@ = 5

:GROVE2_1907
if 
  56@ == 1
goto_if_false @GROVE2_2148
$r1_cesars_car = Math.RandomIntInRange(0, 4)
switch_start $r1_cesars_car {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @GROVE2_2141 {caseNum1} 0 {caseLabel1} @GROVE2_1997 {caseNum2} 1 {caseLabel2} @GROVE2_2033 {caseNum3} 2 {caseLabel3} @GROVE2_2069 {caseNum4} 3 {caseLabel4} @GROVE2_2105 {caseNum5} -1 {caseLabel5} @GROVE2_2141 {caseNum6} -1 {caseLabel6} @GROVE2_2141 {caseNum7} -1 {caseLabel7} @GROVE2_2141

:GROVE2_1997
set_lvar_text_label 59@s = 'GRO2_CA'
set_lvar_int_to_constant 46@ = 17607
gosub @GROVE2_5376
goto @GROVE2_2141

:GROVE2_2033
set_lvar_text_label 59@s = 'GRO2_CB'
set_lvar_int_to_constant 46@ = 17608
gosub @GROVE2_5376
goto @GROVE2_2141

:GROVE2_2069
set_lvar_text_label 59@s = 'GRO2_CC'
set_lvar_int_to_constant 46@ = 17609
gosub @GROVE2_5376
goto @GROVE2_2141

:GROVE2_2105
set_lvar_text_label 59@s = 'GRO2_CE'
set_lvar_int_to_constant 46@ = 17610
gosub @GROVE2_5376
goto @GROVE2_2141

:GROVE2_2141
56@ = 2

:GROVE2_2148
if and
  47@ == 2
  56@ == 2
goto_if_false @GROVE2_2196
Text.PrintNow('GR2_05', 4000, 1)
56@ = 3

:GROVE2_2196
if or
  Player.IsInInfoZone($statbike_temp, 'IWD3A')
  Player.IsInInfoZone($statbike_temp, 'IWD3B')
  Player.IsInInfoZone($statbike_temp, 'IWD1')
  Player.IsInInfoZone($statbike_temp, 'IWD4')
goto_if_false @GROVE2_2327
if 
  37@ == 0
goto_if_false @GROVE2_2313
37@ = 1
if 
  56@ == 0
goto_if_false @GROVE2_2313
56@ = 1

:GROVE2_2313
Blip.ChangeDisplay(36@, BlipDisplay.Neither)
goto @GROVE2_2352

:GROVE2_2327
if 
  35@ == 1
goto_if_false @GROVE2_2352
Blip.ChangeDisplay(36@, BlipDisplay.Both)

:GROVE2_2352
if and
  40@ == 0
  48@ == 0
goto_if_false @GROVE2_2391
gosub @GROVE2_2939
48@ = 1

:GROVE2_2391
if and
  41@ == 0
  49@ == 0
goto_if_false @GROVE2_2430
gosub @GROVE2_2939
49@ = 1

:GROVE2_2430
if and
  43@ == 0
  50@ == 0
goto_if_false @GROVE2_2469
gosub @GROVE2_2939
50@ = 1

:GROVE2_2469
if and
  44@ == 0
  51@ == 0
goto_if_false @GROVE2_2508
gosub @GROVE2_2939
51@ = 1

:GROVE2_2508
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @GROVE2_2781
$7994 = Char.GetHealth($big_smoke_car)
$7994 /= 10
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 30.0, 30.0, False)
goto_if_false @GROVE2_2683
if 
  35@ == 0
goto_if_false @GROVE2_2676
if 
  not Char.IsGroupMember($big_smoke_car, $flag_cell_nation)
goto_if_false @GROVE2_2619
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $big_smoke_car)

:GROVE2_2619
Blip.ChangeDisplay(34@, BlipDisplay.Neither)
if 
  54@ == 0
goto_if_false @GROVE2_2644

:GROVE2_2644
if 
  54@ == 1
goto_if_false @GROVE2_2662

:GROVE2_2662
$r1_sweets_car = 0
35@ = 1

:GROVE2_2676
goto @GROVE2_2774

:GROVE2_2683
if 
  35@ == 1
goto_if_false @GROVE2_2774
Text.PrintNow('GR2_02', 4000, 1)
Blip.ChangeDisplay(34@, BlipDisplay.Both)
if 
  54@ == 0
goto_if_false @GROVE2_2742

:GROVE2_2742
if 
  54@ == 1
goto_if_false @GROVE2_2760

:GROVE2_2760
$r1_sweets_car = 1
35@ = 0

:GROVE2_2774
goto @GROVE2_2804

:GROVE2_2781
Text.PrintNow('GR2_03', 4000, 1)
goto @GROVE2_3134

:GROVE2_2804
if 
  54@ == 1
goto_if_false @GROVE2_2925
if and
  53@ == 1
  47@ == 2
goto_if_false @GROVE2_2870
Text.PrintNow('GR2_11', 7000, 1)
53@ = 2

:GROVE2_2870
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2507.184, -1672.906, 12.3824, 4.0, 4.0, 4.0, True)
goto_if_false @GROVE2_2925
goto @GROVE2_3784

:GROVE2_2925
goto @GROVE2_942

:GROVE2_2932
goto @GROVE2_3134

:GROVE2_2939
52@ += 1
if 
  58@ == 0
goto_if_false @GROVE2_2978
TIMERA = 0
58@ = 1

:GROVE2_2978
if 
  52@ == 2
goto_if_false @GROVE2_3132
set_lvar_text_label 59@s = 'GRO2_FA'
set_lvar_int_to_constant 46@ = 17617
gosub @GROVE2_5376
54@ = 1
Blip.ChangeDisplay(55@, BlipDisplay.Both)
World.ClearArea(2507.184, -1672.906, 12.3824, 10.0, True)
if 
  not Car.IsDead(39@)
goto_if_false @GROVE2_3132
if 
  Car.Locate3D(39@, 2507.184, -1672.906, 12.3824, 4.0, 4.0, 4.0, False)
goto_if_false @GROVE2_3132
Car.Delete(39@)

:GROVE2_3132
return 

:GROVE2_3134
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:GROVE2_3152
Blip.Remove($flag_grove_mission_counter)
$got_gimp_suit += 1
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('GROVE_2')
Text.PrintWithNumberBig('M_PASSS', 10000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 10000)
Stat.AwardPlayerMissionRespect(40)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
return 

:GROVE2_3221
Zone.SetNoCops('IWD3A', False)
Zone.SetNoCops('IWD3B', False)
Zone.SetNoCops('IWD1', False)
Zone.SetNoCops('IWD4', False)
Game.ClearSpecificZonesToTriggerGangWar
Game.CanTriggerGangWarWhenOnAMission(False)
Game.SetGangWarsActive(True)
$weapon_shop1_blip = 0
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @GROVE2_3311
Char.RemoveElegantly($big_smoke_car)

:GROVE2_3311
if 
  Blip.DoesExist(34@)
goto_if_false @GROVE2_3332
Blip.Remove(34@)

:GROVE2_3332
if 
  Blip.DoesExist(36@)
goto_if_false @GROVE2_3353
Blip.Remove(36@)

:GROVE2_3353
if 
  Blip.DoesExist(55@)
goto_if_false @GROVE2_3374
Blip.Remove(55@)

:GROVE2_3374
Hud.ClearCounter($7994)
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.RemoveAnimation("GANGS")
$flag_courier_mission_passed = Clock.GetGameTimer()
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Mission.Finish
return 

:GROVE2_3425
Text.ClearPrints
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
return 

:GROVE2_3440
Text.ClearPrints
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
return 

:GROVE2_3459
Camera.DoFade(500, Fade.Out)

:GROVE2_3466
if 
  Camera.GetFadingStatus
goto_if_false @GROVE2_3490
wait 0
goto @GROVE2_3466

:GROVE2_3490
return 

:GROVE2_3492
Camera.DoFade(500, Fade.In)

:GROVE2_3499
if 
  Camera.GetFadingStatus
goto_if_false @GROVE2_3523
wait 0
goto @GROVE2_3499

:GROVE2_3523
return 
Camera.DoFade(500, Fade.Out)

:GROVE2_3532
if 
  Camera.GetFadingStatus
goto_if_false @GROVE2_3556
wait 0
goto @GROVE2_3532

:GROVE2_3556
Camera.DoFade(500, Fade.In)

:GROVE2_3563
if 
  Camera.GetFadingStatus
goto_if_false @GROVE2_3587
wait 0
goto @GROVE2_3563

:GROVE2_3587
return 

:GROVE2_3589
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @GROVE2_3611
41@ = 0

:GROVE2_3611
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @GROVE2_3633
40@ = 0

:GROVE2_3633
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @GROVE2_3655
goto @GROVE2_3784

:GROVE2_3655
if 
is_ps2_keyboard_key_just_pressed 71
goto_if_false @GROVE2_3745
Char.SetCoordinates($stattreadstamina_ctr, 2487.645, -1668.204, 12.3438)
Char.SetHeading($stattreadstamina_ctr, 265.0722)
52@ = 2
54@ = 1
Blip.ChangeDisplay(55@, BlipDisplay.Both)
World.ClearArea(2507.184, -1672.906, 12.3824, 10.0, True)

:GROVE2_3745
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @GROVE2_3767
gosub @GROVE2_2939

:GROVE2_3767
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @GROVE2_3782

:GROVE2_3782
return 

:GROVE2_3784
gosub @GROVE2_3459
gosub @GROVE2_3425
Text.ClearPrints
Streaming.RequestAnimation("GANGS")

:GROVE2_3809
if 
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @GROVE2_3840
wait 0
goto @GROVE2_3809

:GROVE2_3840
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($big_smoke_car)
goto_if_false @GROVE2_4138
Char.RemoveFromGroup($big_smoke_car)
World.ClearArea(2512.761, -1672.52, 12.5034, 50.0, True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GROVE2_3963
Char.SetCoordinates($stattreadstamina_ctr, 2496.552, -1682.439, 12.3542)
Char.SetHeading($stattreadstamina_ctr, 270.6489)
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2512.761, -1672.52, 12.5034)
goto @GROVE2_3983

:GROVE2_3963
Char.SetCoordinates($stattreadstamina_ctr, 2512.761, -1672.52, 12.5034)

:GROVE2_3983
if 
  not Car.IsDead(39@)
goto_if_false @GROVE2_4004
Car.Delete(39@)

:GROVE2_4004
Char.SetHeading($stattreadstamina_ctr, 240.2609)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $big_smoke_car)
if 
  Char.IsInAnyCar($big_smoke_car)
goto_if_false @GROVE2_4065
Char.WarpFromCarToCoord($big_smoke_car, 2514.788, -1673.938, 12.6861)
goto @GROVE2_4085

:GROVE2_4065
Char.SetCoordinates($big_smoke_car, 2514.788, -1673.938, 12.6861)

:GROVE2_4085
Char.SetHeading($big_smoke_car, 73.5014)
Task.TurnCharToFaceChar($big_smoke_car, $stattreadstamina_ctr)
Task.TogglePedThreatScanner($big_smoke_car, False, False, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($big_smoke_car)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.SetCurrentWeapon($big_smoke_car, WeaponType.Unarmed)

:GROVE2_4138
World.SetPedDensityMultiplier(0.0)
Camera.SetFixedPosition(2509.798, -1672.175, 13.4192, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2510.752, -1672.457, 13.5178, SwitchType.JumpCut)
Text.ClearPrints
gosub @GROVE2_3492
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GROVE2_4271
Task.PlayAnim($stattreadstamina_ctr, "PRTIAL_HNDSHK_01", "GANGS", 4.0, False, False, False, False, -1)
wait 500

:GROVE2_4271
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @GROVE2_4337
Task.PlayAnim($big_smoke_car, "PRTIAL_HNDSHK_01", "GANGS", 4.0, False, False, False, False, -1)
wait 500

:GROVE2_4337
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 17618)

:GROVE2_4348
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GROVE2_4374
wait 0
goto @GROVE2_4348

:GROVE2_4374
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GRO2_GA', 4000, 1)
TIMERB = 0

:GROVE2_4401
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE2_4451
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GROVE2_4444
goto @GROVE2_5286

:GROVE2_4444
goto @GROVE2_4401

:GROVE2_4451
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @GROVE2_4510
Task.PlayAnim($big_smoke_car, "PRTIAL_GNGTLKC", "GANGS", 4.0, False, False, False, False, -1)

:GROVE2_4510
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 17619)

:GROVE2_4521
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GROVE2_4547
wait 0
goto @GROVE2_4521

:GROVE2_4547
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GRO2_GB', 4000, 1)
TIMERB = 0

:GROVE2_4574
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE2_4624
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GROVE2_4617
goto @GROVE2_5286

:GROVE2_4617
goto @GROVE2_4574

:GROVE2_4624
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 17620)

:GROVE2_4635
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GROVE2_4661
wait 0
goto @GROVE2_4635

:GROVE2_4661
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GRO2_GC', 4000, 1)
TIMERB = 0

:GROVE2_4688
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE2_4738
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GROVE2_4731
goto @GROVE2_5286

:GROVE2_4731
goto @GROVE2_4688

:GROVE2_4738
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @GROVE2_4783
Char.ClearTasksImmediately($big_smoke_car)
Task.GoToCoordAnyMeans($big_smoke_car, 2513.683, -1672.876, 12.5412, 4, -1)

:GROVE2_4783
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GROVE2_4815
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.LookAtChar($stattreadstamina_ctr, $big_smoke_car, 10000)

:GROVE2_4815
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 17621)

:GROVE2_4826
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GROVE2_4852
wait 0
goto @GROVE2_4826

:GROVE2_4852
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GRO2_GD', 4000, 1)
TIMERB = 0

:GROVE2_4879
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE2_4929
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GROVE2_4922
goto @GROVE2_5286

:GROVE2_4922
goto @GROVE2_4879

:GROVE2_4929
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @GROVE2_4994
Task.PlayAnim($big_smoke_car, "PRTIAL_HNDSHK_BIZ_01", "GANGS", 4.0, False, False, False, False, -1)

:GROVE2_4994
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GROVE2_5059
Task.PlayAnim($stattreadstamina_ctr, "PRTIAL_HNDSHK_BIZ_01", "GANGS", 4.0, False, False, False, False, -1)

:GROVE2_5059
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 17622)

:GROVE2_5070
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GROVE2_5096
wait 0
goto @GROVE2_5070

:GROVE2_5096
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GRO2_GE', 4000, 1)
TIMERB = 0

:GROVE2_5123
if 
  not Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @GROVE2_5173
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GROVE2_5166
goto @GROVE2_5286

:GROVE2_5166
goto @GROVE2_5123

:GROVE2_5173
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @GROVE2_5218
Char.ClearTasksImmediately($big_smoke_car)
Task.GoToCoordAnyMeans($big_smoke_car, 2516.264, -1675.254, 12.9287, 4, -1)

:GROVE2_5218
TIMERB = 0

:GROVE2_5225
if 
  2000 > TIMERB
goto_if_false @GROVE2_5279
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GROVE2_5272
goto @GROVE2_5286

:GROVE2_5272
goto @GROVE2_5225

:GROVE2_5279
gosub @GROVE2_3459

:GROVE2_5286
Streaming.RemoveAnimation("GANGS")
Char.Delete($big_smoke_car)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GROVE2_5346
Char.SetCoordinates($stattreadstamina_ctr, 2512.407, -1672.111, 12.4895)
Char.SetHeading($stattreadstamina_ctr, 78.5658)

:GROVE2_5346
gosub @GROVE2_3440
World.SetPedDensityMultiplier(1.0)
Camera.SetBehindPlayer
gosub @GROVE2_3492
goto @GROVE2_3152

:GROVE2_5376
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 46@)
47@ = 0
return 

:GROVE2_5396
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  47@ == 0
goto_if_false @GROVE2_5439
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(59@s, 10000, 1)
47@ = 1

:GROVE2_5439
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  47@ == 1
goto_if_false @GROVE2_5477
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(59@s)
47@ = 2

:GROVE2_5477
return 

//-------------Mission 108---------------
// Originally: Riot

:RIOT1
script_name 'RIOT1'
gosub @RIOT1_47
if 
  has_deatharrest_been_executed 
goto_if_false @RIOT1_38
gosub @RIOT1_2979

:RIOT1_38
gosub @RIOT1_3082
terminate_this_script 

:RIOT1_47
Stat.RegisterMissionGiven
$weapon_shop1_blip = 1
Text.LoadMissionText('RIOT1')
Text.ClearPrints
wait 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
39@ = 0
40@ = 0
41@ = 0
42@ = 0
43@ = 0
89@ = 0
90@ = 0
91@ = 0
92@ = 0
93@ = 0
94@ = 0
95@ = 0
Player.MakeGangDisappear
Streaming.SetAreaVisible(5)
Cutscene.Load('RIOT_1A')

:RIOT1_202
if 
  not Cutscene.HasLoaded
goto_if_false @RIOT1_226
wait 0
goto @RIOT1_202

:RIOT1_226
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:RIOT1_235
if 
  not Cutscene.HasFinished
goto_if_false @RIOT1_259
wait 0
goto @RIOT1_235

:RIOT1_259
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:RIOT1_272
if 
  Camera.GetFadingStatus
goto_if_false @RIOT1_296
wait 0
goto @RIOT1_272

:RIOT1_296
Cutscene.Clear
if 
  not Cutscene.WasSkipped
goto_if_false @RIOT1_418
Cutscene.Load('RIOT_1B')

:RIOT1_322
if 
  not Cutscene.HasLoaded
goto_if_false @RIOT1_346
wait 0
goto @RIOT1_322

:RIOT1_346
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:RIOT1_355
if 
  not Cutscene.HasFinished
goto_if_false @RIOT1_379
wait 0
goto @RIOT1_355

:RIOT1_379
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:RIOT1_392
if 
  Camera.GetFadingStatus
goto_if_false @RIOT1_416
wait 0
goto @RIOT1_392

:RIOT1_416
Cutscene.Clear

:RIOT1_418
Streaming.SetAreaVisible(0)
Player.MakeGangReappear
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
wait 0
Game.SetLaRiots(True)
Stat.SetInt(StatId.StartedRiot1, 1)
Streaming.RequestModel(492)
Streaming.RequestModel(567)
Streaming.RequestModel(483)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.LoadAllModelsNow
$camy_fb = DecisionMakerChar.Copy(65542)
Streaming.LoadScene(1254.68, -789.39, 91.03)
World.ClearArea(1242.9, -805.4, 82.9, 20.0, True)
Car.CustomPlateForNextCar(483, "OUTTHERE")
$camx_fb = Car.Create(483, 1242.9, -805.4, 82.9)
Car.SetHeading($camx_fb, 0.0)
Car.ChangeColor($camx_fb, 1, 1)
Car.GivePaintjob($camx_fb, 0)
Car.SetCanRespray($camx_fb, False)
World.ClearArea(1249.1, -804.9, 82.9, 5.0, True)
Car.CustomPlateForNextCar(567, "_LVA4L__")
$smokehealth_fa = Car.Create(567, 1249.1, -804.9, 82.9)
Car.SetHeading($smokehealth_fa, 177.7)
Car.ChangeColor($smokehealth_fa, 3, 3)
World.ClearArea(1254.3, -806.6, 82.9, 5.0, True)
Car.CustomPlateForNextCar(492, "GROVE4L_")
$r1_seq = Car.Create(492, 1254.3, -806.6, 82.9)
Car.ChangeColor($r1_seq, 59, 34)
Car.SetHeading($r1_seq, 177.7)
World.ClearArea(1258.2, -814.4, 83.1, 60.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 1258.2, -814.4, 83.1)
Char.SetHeading($stattreadstamina_ctr, 40.0)
World.ClearArea(1257.6, -816.6, 83.1, 5.0, True)
$big_smoke_car = Char.Create(PedType.Mission2, 290, 1257.6, -816.6, 83.1)
Char.SetHeading($big_smoke_car, 39.9)
Char.SetGetOutUpsideDownCar($big_smoke_car, False)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetCantBeDraggedOut($big_smoke_car, True)
Char.SetDecisionMaker($big_smoke_car, $camy_fb)
Char.SetOnlyDamagedByPlayer($big_smoke_car, True)
$camz_fb = Sequence.Open()
Task.GoStraightToCoord(-1, 1252.4, -810.3, 83.1, MoveState.Walk, -1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, $r1_seq, -1, 0)
Sequence.Close($camz_fb)
Char.PerformSequence($big_smoke_car, $camz_fb)
Sequence.Clear($camz_fb)
Hud.SwitchWidescreen(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.SetFixedPosition(1257.8, -815.0, 84.7, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1246.3, -802.5, 82.7, SwitchType.JumpCut)
Game.ShutAllCharsUp(True)
Game.EnableAmbientCrime(False)

:RIOT1_1048
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @RIOT1_1074
goto @RIOT1_2997

:RIOT1_1074
gosub @RIOT1_3160
if 
  38@ == 1
goto_if_false @RIOT1_1106
goto @RIOT1_2979

:RIOT1_1106
if 
  35@ == 0
goto_if_false @RIOT1_1744
if 
  36@ == 0
goto_if_false @RIOT1_1339
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
40@ = 0
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsDriver($stattreadstamina_ctr, $r1_seq, -1)
$camz_fb = Sequence.Open()
Task.GoStraightToCoord(-1, 1252.4, -810.3, 83.1, MoveState.Walk, -1)
Char.SetNextDesiredMoveState(MoveState.Walk)
Task.EnterCarAsPassenger(-1, $r1_seq, -1, 0)
Sequence.Close($camz_fb)
Char.PerformSequence($big_smoke_car, $camz_fb)
Sequence.Clear($camz_fb)
Camera.DoFade(500, Fade.In)

:RIOT1_1241
if 
  Camera.GetFadingStatus
goto_if_false @RIOT1_1265
wait 0
goto @RIOT1_1241

:RIOT1_1265
gosub @RIOT1_3160
if 
  38@ == 1
goto_if_false @RIOT1_1297
goto @RIOT1_2979

:RIOT1_1297
40@ = 1
41@ = 0
gosub @RIOT1_4358
36@ = 1
37@ = 1
skip_cutscene_start_internal @RIOT1_1420

:RIOT1_1339
if 
  36@ == 1
goto_if_false @RIOT1_1744
if 
  40@ == 0
goto_if_false @RIOT1_1744
if 
  Char.IsInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_1744
if 
  Char.IsInCar($big_smoke_car, $r1_seq)
goto_if_false @RIOT1_1744
37@ = 0

:RIOT1_1420
skip_cutscene_end 
gosub @RIOT1_3160
if 
  38@ == 1
goto_if_false @RIOT1_1454
goto @RIOT1_2979

:RIOT1_1454
if 
  37@ == 1
goto_if_false @RIOT1_1580
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
40@ = 0
Camera.DoFade(500, Fade.Out)

:RIOT1_1496
if 
  Camera.GetFadingStatus
goto_if_false @RIOT1_1520
wait 0
goto @RIOT1_1496

:RIOT1_1520
gosub @RIOT1_3160
if 
  38@ == 1
goto_if_false @RIOT1_1552
goto @RIOT1_2979

:RIOT1_1552
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.WarpIntoCar($stattreadstamina_ctr, $r1_seq)
Char.ClearTasksImmediately($big_smoke_car)
Char.WarpIntoCarAsPassenger($big_smoke_car, $r1_seq, 0)

:RIOT1_1580
39@ = 1
Game.ShutAllCharsUp(False)
34@ = Blip.AddForCoord(2505.4, -1670.6, 12.1)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.PrintNow('R1_01', 7000, 1)
TIMERB = 0
if 
  37@ == 1
goto_if_false @RIOT1_1737
Camera.DoFade(500, Fade.In)

:RIOT1_1681
if 
  Camera.GetFadingStatus
goto_if_false @RIOT1_1705
wait 0
goto @RIOT1_1681

:RIOT1_1705
gosub @RIOT1_3160
if 
  38@ == 1
goto_if_false @RIOT1_1737
goto @RIOT1_2979

:RIOT1_1737
35@ = 1

:RIOT1_1744
if 
  35@ == 1
goto_if_false @RIOT1_2600
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @RIOT1_1826
if 
  Char.IsInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_1826
Car.SetCoordinates($r1_seq, 2495.7, -1666.3, 12.1)
Car.SetHeading($r1_seq, 254.2)

:RIOT1_1826
if 
  42@ == 0
goto_if_false @RIOT1_1923
if 
  40@ == 0
goto_if_false @RIOT1_1923
if 
  TIMERB > 10000
goto_if_false @RIOT1_1923
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($big_smoke_car, True)
40@ = 2
41@ = 0
gosub @RIOT1_4358
42@ = 1

:RIOT1_1923
if 
  42@ == 1
goto_if_false @RIOT1_2006
if 
  40@ == 0
goto_if_false @RIOT1_2006
if 
  TIMERB > 7000
goto_if_false @RIOT1_2006
40@ = 3
41@ = 0
gosub @RIOT1_4358
42@ = 2

:RIOT1_2006
if 
  42@ == 2
goto_if_false @RIOT1_2156
if 
  Char.IsInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_2156
if 
  Char.IsInArea2D($stattreadstamina_ctr, 2955.5, -1240.1, 1192.2, -1855.3, False)
goto_if_false @RIOT1_2156
if 
  40@ == 0
goto_if_false @RIOT1_2156
if 
  TIMERB > 7000
goto_if_false @RIOT1_2156
Car.MarkAsNoLongerNeeded($camx_fb)
Car.MarkAsNoLongerNeeded($smokehealth_fa)
40@ = 4
41@ = 0
gosub @RIOT1_4358
42@ = 3

:RIOT1_2156
if 
  42@ == 3
goto_if_false @RIOT1_2296
if 
  Char.IsInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_2296
if 
  Char.IsInArea2D($stattreadstamina_ctr, 2955.5, -1240.1, 1192.2, -1855.3, False)
goto_if_false @RIOT1_2296
if 
  40@ == 0
goto_if_false @RIOT1_2296
if 
  TIMERB > 7000
goto_if_false @RIOT1_2296
40@ = 5
41@ = 0
gosub @RIOT1_4358
42@ = 4

:RIOT1_2296
if 
  42@ == 4
goto_if_false @RIOT1_2436
if 
  Char.IsInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_2436
if 
  Char.IsInArea2D($stattreadstamina_ctr, 2955.5, -1240.1, 1192.2, -1855.3, False)
goto_if_false @RIOT1_2436
if 
  40@ == 0
goto_if_false @RIOT1_2436
if 
  TIMERB > 7000
goto_if_false @RIOT1_2436
40@ = 6
41@ = 0
gosub @RIOT1_4358
42@ = 5

:RIOT1_2436
if 
  42@ == 5
goto_if_false @RIOT1_2493
if 
  40@ == 0
goto_if_false @RIOT1_2493
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($big_smoke_car, False)
42@ = 6

:RIOT1_2493
if 
  Char.IsInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_2600
if 
  Char.IsInCar($big_smoke_car, $r1_seq)
goto_if_false @RIOT1_2600
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 2505.4, -1670.6, 12.1, 4.0, 4.0, 4.0, True)
goto_if_false @RIOT1_2600
Player.SetControl($statbike_temp, False)
36@ = 0
35@ = 2

:RIOT1_2600
if 
  35@ == 2
goto_if_false @RIOT1_2940
if 
  36@ == 0
goto_if_false @RIOT1_2703
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
40@ = 0
Hud.SwitchWidescreen(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.ShutAllCharsUp(True)
40@ = 7
41@ = 0
gosub @RIOT1_4358
36@ = 1
36@ = 1

:RIOT1_2703
if 
  36@ == 1
goto_if_false @RIOT1_2803
if 
  40@ == 0
goto_if_false @RIOT1_2803
$camz_fb = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.GoStraightToCoord(-1, 2518.9, -1678.2, 13.5, MoveState.Walk, -1)
Sequence.Close($camz_fb)
Char.PerformSequence($big_smoke_car, $camz_fb)
Sequence.Clear($camz_fb)
TIMERA = 0
36@ = 2

:RIOT1_2803
if 
  36@ == 2
goto_if_false @RIOT1_2940
if 
  TIMERA > 4000
goto_if_false @RIOT1_2940
Camera.DoFade(500, Fade.Out)

:RIOT1_2847
if 
  Camera.GetFadingStatus
goto_if_false @RIOT1_2871
wait 0
goto @RIOT1_2847

:RIOT1_2871
Char.Delete($big_smoke_car)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.ShutAllCharsUp(False)
Camera.DoFade(500, Fade.In)

:RIOT1_2909
if 
  Camera.GetFadingStatus
goto_if_false @RIOT1_2933
wait 0
goto @RIOT1_2909

:RIOT1_2933
goto @RIOT1_2997

:RIOT1_2940
if 
  35@ > 0
goto_if_false @RIOT1_2965
gosub @RIOT1_3244

:RIOT1_2965
gosub @RIOT1_3390
goto @RIOT1_1048

:RIOT1_2979
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:RIOT1_2997
$mansionX += 1
Stat.SetInt(StatId.PassedRiot1, 1)
Stat.RegisterMissionPassed('RIOT_1')
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Blip.Remove($flag_mansion_mission_counter)
Blip.Remove($intro_contact_blip)
$intro_contact_blip = Blip.AddSpriteForContactPoint($ryderY, $ryderZ, $smokeX, $strap_blip_icon)
Stat.PlayerMadeProgress(1)
return 

:RIOT1_3082
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @RIOT1_3100
Camera.RestoreJumpcut

:RIOT1_3100
Game.ShutAllCharsUp(False)
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(567)
Streaming.MarkModelAsNoLongerNeeded(483)
Char.RemoveElegantly($big_smoke_car)
Streaming.UnloadSpecialCharacter(1)
Blip.Remove(34@)
Game.EnableAmbientCrime(True)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:RIOT1_3160
if 
  Char.IsDead($big_smoke_car)
goto_if_false @RIOT1_3201
Text.ClearPrints
Text.PrintNow('R1_02', 7000, 1)
38@ = 1

:RIOT1_3201
if 
  Car.IsDead($r1_seq)
goto_if_false @RIOT1_3242
Text.ClearPrints
Text.PrintNow('R1_04', 7000, 1)
38@ = 1

:RIOT1_3242
return 

:RIOT1_3244
if 
  39@ == 0
goto_if_false @RIOT1_3324
if 
  Char.IsInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_3324
Text.ClearThisPrint('R1_03')
Blip.Remove(34@)
34@ = Blip.AddForCoord(2505.4, -1670.6, 12.1)
39@ = 1

:RIOT1_3324
if 
  39@ == 1
goto_if_false @RIOT1_3388
if 
  not Char.IsInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_3388
Blip.Remove(34@)
34@ = Blip.AddForCar($r1_seq)
Blip.SetAsFriendly(34@, True)
39@ = 0

:RIOT1_3388
return 

:RIOT1_3390
if 
  35@ == 1
goto_if_false @RIOT1_4277
if 
  Char.IsSittingInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_3588
if or
  40@ == 2
  40@ == 3
  40@ == 4
  40@ == 5
  40@ == 6
goto_if_false @RIOT1_3588
if 
  is_int_lvar_greater_than_int_lvar 89@ > 41@
goto_if_false @RIOT1_3574
gosub @RIOT1_5574
gosub @RIOT1_5681
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @RIOT1_3536
gosub @RIOT1_5835
goto @RIOT1_3567

:RIOT1_3536
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(44@(41@,15s))
90@ = 0
91@ = 0

:RIOT1_3567
goto @RIOT1_3588

:RIOT1_3574
TIMERB = 0
40@ = 0

:RIOT1_3588
if 
  not Char.IsInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_3724
if 
  11 > 40@
goto_if_false @RIOT1_3724
if 
  is_int_lvar_greater_than_int_lvar 89@ > 41@
goto_if_false @RIOT1_3651
41@ += 1

:RIOT1_3651
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearPrints
Text.ClearThisPrint(44@(41@,15s))
set_lvar_int_to_lvar_int 94@ = 40@
set_lvar_int_to_lvar_int 95@ = 41@
40@ = 11
41@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 43@ = 41@
43@ += 1
gosub @RIOT1_4358

:RIOT1_3724
if 
  40@ == 11
goto_if_false @RIOT1_4049
if 
  not Char.IsInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_3997
if 
  is_int_lvar_greater_than_int_lvar 89@ > 41@
goto_if_false @RIOT1_3974
gosub @RIOT1_5574
gosub @RIOT1_5681
if 
  36@ == 0
goto_if_false @RIOT1_3878
if or
  not Char.IsDead($mc_strap)
  not Char.IsDead($big_smoke_car)
goto_if_false @RIOT1_3847
gosub @RIOT1_5835
goto @RIOT1_3878

:RIOT1_3847
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(44@(41@,15s))
90@ = 0
91@ = 0

:RIOT1_3878
if 
  36@ == 1
goto_if_false @RIOT1_3967
if or
  not Char.IsDead($mc_strap)
  not Char.IsDead($big_smoke_car)
  not Char.IsDead($sweet_carX)
goto_if_false @RIOT1_3936
gosub @RIOT1_5835
goto @RIOT1_3967

:RIOT1_3936
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(44@(41@,15s))
90@ = 0
91@ = 0

:RIOT1_3967
goto @RIOT1_3997

:RIOT1_3974
Text.PrintNow('R1_03', 11000, 1)
40@ = 12

:RIOT1_3997
if 
  Char.IsSittingInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_4049
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(44@(41@,15s))
40@ = 13
41@ = 0
Text.ClearPrints

:RIOT1_4049
if 
  40@ == 12
goto_if_false @RIOT1_4102
if 
  Char.IsSittingInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_4102
40@ = 13
41@ = 0
Text.ClearPrints

:RIOT1_4102
if 
  40@ == 13
goto_if_false @RIOT1_4277
if 
  Char.IsSittingInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_4203
TIMERB = 0
set_lvar_int_to_lvar_int 40@ = 94@
set_lvar_int_to_lvar_int 41@ = 95@
gosub @RIOT1_4358
if 
  94@ == 0
goto_if_false @RIOT1_4203
Text.PrintNow('R1_01', 7000, 1)

:RIOT1_4203
if 
  not Char.IsInCar($stattreadstamina_ctr, $r1_seq)
goto_if_false @RIOT1_4277
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(44@(41@,15s))
40@ = 11
41@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 43@ = 41@
43@ += 1
gosub @RIOT1_4358

:RIOT1_4277
if or
  40@ == 1
  40@ == 7
goto_if_false @RIOT1_4356
if 
  is_int_lvar_greater_than_int_lvar 89@ > 41@
goto_if_false @RIOT1_4349
gosub @RIOT1_5574
gosub @RIOT1_5681
gosub @RIOT1_5835
goto @RIOT1_4356

:RIOT1_4349
40@ = 0

:RIOT1_4356
return 

:RIOT1_4358
if 
  40@ == 1
goto_if_false @RIOT1_4431
set_lvar_text_label 44@s = 'ROT1_AA'
set_lvar_text_label 46@s = 'ROT1_AB'
set_lvar_int_to_constant 74@ = 32800
set_lvar_int_to_constant 75@ = 32801
89@ = 2

:RIOT1_4431
if 
  40@ == 2
goto_if_false @RIOT1_4576
set_lvar_text_label 44@s = 'ROT1_BA'
set_lvar_text_label 46@s = 'ROT1_BB'
set_lvar_text_label 48@s = 'ROT1_BC'
set_lvar_text_label 50@s = 'ROT1_BD'
set_lvar_text_label 52@s = 'ROT1_BE'
set_lvar_int_to_constant 74@ = 32802
set_lvar_int_to_constant 75@ = 32803
set_lvar_int_to_constant 76@ = 32804
set_lvar_int_to_constant 77@ = 32805
set_lvar_int_to_constant 78@ = 32806
89@ = 5

:RIOT1_4576
if 
  40@ == 3
goto_if_false @RIOT1_4913
set_lvar_text_label 44@s = 'ROT1_EA'
set_lvar_text_label 46@s = 'ROT1_EB'
set_lvar_text_label 48@s = 'ROT1_EC'
set_lvar_text_label 50@s = 'ROT1_ED'
set_lvar_text_label 52@s = 'ROT1_EE'
set_lvar_text_label 54@s = 'ROT1_EF'
set_lvar_text_label 56@s = 'ROT1_EG'
set_lvar_text_label 58@s = 'ROT1_EH'
set_lvar_text_label 60@s = 'ROT1_EJ'
set_lvar_text_label 62@s = 'ROT1_EK'
set_lvar_text_label 64@s = 'ROT1_EL'
set_lvar_text_label 66@s = 'ROT1_EM'
set_lvar_text_label 68@s = 'ROT1_EN'
set_lvar_int_to_constant 74@ = 32810
set_lvar_int_to_constant 75@ = 32811
set_lvar_int_to_constant 76@ = 32812
set_lvar_int_to_constant 77@ = 32813
set_lvar_int_to_constant 78@ = 32814
set_lvar_int_to_constant 79@ = 32815
set_lvar_int_to_constant 80@ = 32816
set_lvar_int_to_constant 81@ = 32817
set_lvar_int_to_constant 82@ = 32818
set_lvar_int_to_constant 83@ = 32819
set_lvar_int_to_constant 84@ = 32820
set_lvar_int_to_constant 85@ = 32821
set_lvar_int_to_constant 86@ = 32822
89@ = 13

:RIOT1_4913
if 
  40@ == 4
goto_if_false @RIOT1_5010
set_lvar_text_label 44@s = 'ROT1_DA'
set_lvar_text_label 46@s = 'ROT1_DB'
set_lvar_text_label 48@s = 'ROT1_DC'
set_lvar_int_to_constant 74@ = 32807
set_lvar_int_to_constant 75@ = 32808
set_lvar_int_to_constant 76@ = 32809
89@ = 3

:RIOT1_5010
if 
  40@ == 5
goto_if_false @RIOT1_5203
set_lvar_text_label 44@s = 'ROT1_FA'
set_lvar_text_label 46@s = 'ROT1_FB'
set_lvar_text_label 48@s = 'ROT1_FC'
set_lvar_text_label 50@s = 'ROT1_FD'
set_lvar_text_label 52@s = 'ROT1_FE'
set_lvar_text_label 54@s = 'ROT1_FF'
set_lvar_text_label 56@s = 'ROT1_FG'
set_lvar_int_to_constant 74@ = 32823
set_lvar_int_to_constant 75@ = 32824
set_lvar_int_to_constant 76@ = 32825
set_lvar_int_to_constant 77@ = 32826
set_lvar_int_to_constant 78@ = 32827
set_lvar_int_to_constant 79@ = 32828
set_lvar_int_to_constant 80@ = 32829
89@ = 7

:RIOT1_5203
if 
  40@ == 6
goto_if_false @RIOT1_5300
set_lvar_text_label 44@s = 'ROT1_GL'
set_lvar_text_label 46@s = 'ROT1_GA'
set_lvar_text_label 48@s = 'ROT1_FH'
set_lvar_int_to_constant 74@ = 32840
set_lvar_int_to_constant 75@ = 32831
set_lvar_int_to_constant 76@ = 32830
89@ = 3

:RIOT1_5300
if 
  40@ == 7
goto_if_false @RIOT1_5421
set_lvar_text_label 44@s = 'ROT1_HC'
set_lvar_text_label 46@s = 'ROT1_HD'
set_lvar_text_label 48@s = 'ROT1_HE'
set_lvar_text_label 50@s = 'ROT1_HF'
set_lvar_int_to_constant 74@ = 32844
set_lvar_int_to_constant 75@ = 32845
set_lvar_int_to_constant 76@ = 32846
set_lvar_int_to_constant 77@ = 32847
89@ = 4

:RIOT1_5421
if 
  40@ == 11
goto_if_false @RIOT1_5543
set_lvar_text_label 44@s = 'SWE1_BG'
set_lvar_text_label 46@s = 'SWE1_BK'
set_lvar_text_label 48@s = 'SWE1_BL'
set_lvar_text_label 50@s = 'SWE1_BM'
set_lvar_int_to_constant 74@ = 37429
set_lvar_int_to_constant 75@ = 37432
set_lvar_int_to_constant 76@ = 37433
set_lvar_int_to_constant 77@ = 37434
set_lvar_int_to_lvar_int 89@ = 43@

:RIOT1_5543
set_lvar_int_to_lvar_int 92@ = 41@
90@ = 0
91@ = 0
93@ = 1
return 

:RIOT1_5574
if 
  is_int_lvar_greater_than_int_lvar 89@ > 92@
goto_if_false @RIOT1_5679
if 
  90@ == 0
goto_if_false @RIOT1_5636
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 74@(92@,15i))
92@ += 1
90@ = 1

:RIOT1_5636
if 
  91@ == 0
goto_if_false @RIOT1_5679
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 74@(92@,15i))
92@ += 1
91@ = 1

:RIOT1_5679
return 

:RIOT1_5681
if 
  93@ == 1
goto_if_false @RIOT1_5757
if 
  90@ == 1
goto_if_false @RIOT1_5757
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @RIOT1_5757
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(44@(41@,15s), 4500, 1)
90@ = 2

:RIOT1_5757
if 
  93@ == 2
goto_if_false @RIOT1_5833
if 
  91@ == 1
goto_if_false @RIOT1_5833
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @RIOT1_5833
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(44@(41@,15s), 4500, 1)
91@ = 2

:RIOT1_5833
return 

:RIOT1_5835
if 
  90@ == 2
goto_if_false @RIOT1_5898
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @RIOT1_5898
Text.ClearThisPrint(44@(41@,15s))
41@ += 1
93@ = 2
90@ = 0

:RIOT1_5898
if 
  91@ == 2
goto_if_false @RIOT1_5961
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @RIOT1_5961
Text.ClearThisPrint(44@(41@,15s))
41@ += 1
93@ = 1
91@ = 0

:RIOT1_5961
return 

//-------------Mission 109---------------
// Originally: Los Desperados

:RIOT2
script_name 'RIOT2'
gosub @RIOT2_47
if 
  has_deatharrest_been_executed 
goto_if_false @RIOT2_38
gosub @RIOT2_30241

:RIOT2_38
gosub @RIOT2_30499
terminate_this_script 

:RIOT2_47
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RIOT2')
if 
  $weapon_shop1_blip == 0
goto_if_false @RIOT2_350
88@ = Object.Create(#BBALL_INGAME, 0.0, 0.0, 0.0)
89@ = Blip.AddForCoord(1774.9, -1974.9, 13.1)
37@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1831.9, -2004.6, 12.6)
43@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1831.9, -2004.6, 12.6)
49@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1831.9, -2004.6, 12.6)
55@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1831.9, -2004.6, 12.6)
61@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1831.9, -2004.6, 12.6)
79@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1831.9, -2004.6, 12.6)
96@ = Blip.AddForChar(37@)
102@ = Blip.AddForChar(43@)
108@ = Blip.AddForChar(49@)
114@ = Blip.AddForChar(55@)
120@ = Blip.AddForChar(61@)
132@ = Blip.AddForChar(79@)

:RIOT2_350
Text.ClearPrints
wait 0
142@ = 0
143@ = 0
144@ = 0
145@ = 0
187@ = 0
set_lvar_int_to_constant 146@ = 108
set_lvar_int_to_constant 147@ = 109
148@ = 0
149@ = 2
150@ = 0
152@ = 0
153@ = 0
154@ = 0
155@ = 0
156@ = 0
157@ = 0
158@ = 0
159@ = 0
160@ = 0
161@ = 0
162@ = 0
163@ = 0
164@ = 0
165@ = 0
166@ = 0
167@ = 0
170@ = 0
171@ = 0
172@ = 0
173@ = 0
174@ = 0
175@ = 0
176@ = 0
262@ = 0.0
263@ = 0.0
264@ = 0.0
168@ = 0
169@ = 0
177@ = 0
178@ = 0
185@ = 0
188@ = 0
255@ = 0
256@ = 0
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
183@ = 0.0
180@ = 0
181@ = 60
270@ = 0
Player.MakeGangDisappear
Streaming.SetAreaVisible(1)
Cutscene.Load('RIOT_2')

:RIOT2_756
if 
  not Cutscene.HasLoaded
goto_if_false @RIOT2_780
wait 0
goto @RIOT2_756

:RIOT2_780
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:RIOT2_789
if 
  not Cutscene.HasFinished
goto_if_false @RIOT2_813
wait 0
goto @RIOT2_789

:RIOT2_813
Camera.DoFade(0, Fade.Out)

:RIOT2_819
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_843
wait 0
goto @RIOT2_819

:RIOT2_843
Streaming.SetAreaVisible(0)
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Player.MakeGangReappear
Camera.SetFadingColor(0, 0, 0)
wait 0
Streaming.LoadSpecialCharacter(1, 'CESAR')
Streaming.RequestModel(114)
Streaming.RequestModel(115)
Streaming.RequestModel(116)
Streaming.RequestModel(108)
Streaming.RequestModel(109)
Streaming.RequestModel(339)
Streaming.RequestModel(348)
Streaming.RequestModel(372)
Streaming.LoadAllModelsNow
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Mission2)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Player1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Mission1)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission2, PedType.Player1)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission2, PedType.Mission2)
Game.SetRelationship(RelationshipType.Respect, PedType.Mission1, PedType.Mission1)
265@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
266@ = DecisionMakerChar.Copy(65542)
267@ = DecisionMakerGroup.Load(0)
World.ClearArea(2520.8, -1678.5, 14.2, 30.0, True)
Streaming.LoadScene(2520.8, -1678.5, 14.2)
Char.SetCoordinates($stattreadstamina_ctr, 2520.8, -1678.5, 14.2)
Char.SetHeading($stattreadstamina_ctr, 68.6)
World.ClearArea(2520.8, -1678.5, 14.2, 1.0, True)
$ryder_car = Char.Create(PedType.Mission1, 290, 2519.8, -1677.5, 13.7)
Char.SetHeading($ryder_car, 68.6)
Char.GiveWeapon($ryder_car, WeaponType.DesertEagle, 30000)
Char.SetNeverTargeted($ryder_car, True)
Char.AddArmor($ryder_car, 100)
Char.SetRelationship($ryder_car, RelationshipType.Respect, PedType.Mission1)
Char.SetOnlyDamagedByPlayer($ryder_car, True)
Char.SetSuffersCriticalHits($ryder_car, False)
Char.SetDecisionMaker($ryder_car, 265@)
Path.SwitchPedRoadsOff(1945.8, -1956.5, 0.0, 1642.9, -2174.3, 50.0)
World.ClearArea(1784.6, -1969.5, 13.1, 30.0, True)
35@ = Char.Create(PedType.Mission1, 114, 1784.6, -1969.5, 13.1)
Char.SetHeading(35@, 103.1)
Char.GiveWeapon(35@, WeaponType.Tec9, 30000)
Char.SetNeverTargeted(35@, True)
Char.AddArmor(35@, 100)
Char.SetRelationship(35@, RelationshipType.Respect, PedType.Mission1)
Char.SetOnlyDamagedByPlayer(35@, True)
Char.SetSuffersCriticalHits(35@, False)
Char.SetDecisionMaker(35@, 266@)
34@ = Char.Create(PedType.Mission1, 115, 1784.4, -1971.1, 13.1)
Char.SetHeading(34@, 52.8)
Char.GiveWeapon(34@, WeaponType.Tec9, 30000)
Char.SetNeverTargeted(34@, True)
Char.AddArmor(34@, 100)
Char.SetRelationship(34@, RelationshipType.Respect, PedType.Mission1)
Char.SetOnlyDamagedByPlayer(34@, True)
Char.SetSuffersCriticalHits(34@, False)
Char.SetDecisionMaker(34@, 266@)
36@ = Char.Create(PedType.Mission1, 116, 1782.6, -1969.4, 13.1)
Char.SetHeading(36@, 250.2)
Char.GiveWeapon(36@, WeaponType.Katana, 30000)
Char.SetNeverTargeted(36@, True)
Char.AddArmor(36@, 100)
Char.SetRelationship(36@, RelationshipType.Respect, PedType.Mission1)
Char.SetOnlyDamagedByPlayer(36@, True)
Char.SetSuffersCriticalHits(36@, False)
Char.SetProofs(36@, True, False, False, False, False)
Char.SetDecisionMaker(36@, 266@)
Garage.ChangeType('DUF_LAS', GarageType.ForScriptToOpen)
Game.SwitchEmergencyServices(False)
Garage.Close('DUF_LAS')
Zone.SetNoCops('ELCO', True)
184@ = Pickup.Create(#HEALTH, PickupType.OnStreetSlow, 1877.54, -1982.63, 13.48)
Game.EnableAmbientCrime(False)

:RIOT2_1585
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @RIOT2_1611
goto @RIOT2_30259

:RIOT2_1611
Player.AlterWantedLevel($statbike_temp, 0)
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_1650
goto @RIOT2_30241

:RIOT2_1650
174@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 175@ = 174@
sub_int_lvar_from_int_lvar 175@ -= 176@
set_lvar_int_to_lvar_int 176@ = 174@
add_int_lvar_to_int_lvar 170@ += 175@
add_int_lvar_to_int_lvar 171@ += 175@
add_int_lvar_to_int_lvar 172@ += 175@
add_int_lvar_to_int_lvar 173@ += 175@
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @RIOT2_1766
Char.SetCoordinates($stattreadstamina_ctr, 1776.0, -1988.1, 12.9)
Char.SetCoordinates($ryder_car, 1776.0, -1990.1, 12.9)

:RIOT2_1766
$player_is_completely_safe_for_mobile, 177@ = Group.GetSize($flag_cell_nation)
if 
  142@ == 0
goto_if_false @RIOT2_3308
if 
  143@ == 0
goto_if_false @RIOT2_2116
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Camera.SetFixedPosition(2509.0, -1672.7, 13.3, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2523.1, -1678.2, 15.2, SwitchType.JumpCut)
Game.ShutAllCharsUp(True)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2512.8, -1673.2, 12.5, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence($ryder_car, 268@)
Sequence.Clear(268@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 2514.1, -1675.2, 12.5, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, $ryder_car)
Sequence.Close(268@)
Char.PerformSequence($stattreadstamina_ctr, 268@)
Sequence.Clear(268@)
Camera.DoFade(500, Fade.In)

:RIOT2_2018
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_2042
wait 0
goto @RIOT2_2018

:RIOT2_2042
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_2074
goto @RIOT2_30241

:RIOT2_2074
185@ = 1
186@ = 0
gosub @RIOT2_40912
143@ = 1
144@ = 1
skip_cutscene_start_internal @RIOT2_2249

:RIOT2_2116
if 
  143@ == 1
goto_if_false @RIOT2_2206
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_2206
Task.PlayAnim($stattreadstamina_ctr, "IDLE_CHAT", "PED", 4.0, True, False, False, False, -1)
143@ = 2

:RIOT2_2206
if 
  143@ == 2
goto_if_false @RIOT2_2607
if 
  185@ == 0
goto_if_false @RIOT2_2607
144@ = 0

:RIOT2_2249
skip_cutscene_end 
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_2283
goto @RIOT2_30241

:RIOT2_2283
if 
  144@ == 1
goto_if_false @RIOT2_2441
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
Camera.DoFade(500, Fade.Out)

:RIOT2_2325
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_2349
wait 0
goto @RIOT2_2325

:RIOT2_2349
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_2381
goto @RIOT2_30241

:RIOT2_2381
Char.SetCoordinates($stattreadstamina_ctr, 2512.8, -1673.2, 12.5)
Char.SetHeading($stattreadstamina_ctr, 40.6)
Char.SetCoordinates($ryder_car, 2514.1, -1675.2, 12.5)
Char.SetHeading($ryder_car, 220.0)

:RIOT2_2441
Char.ClearTasksImmediately($stattreadstamina_ctr)
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $ryder_car)
167@ = 1
Group.SetDecisionMaker($flag_cell_nation, 267@)
Game.ShutAllCharsUp(False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.PrintNow('R2_01', 60000, 1)
if 
  144@ == 1
goto_if_false @RIOT2_2600
Camera.DoFade(500, Fade.In)

:RIOT2_2544
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_2568
wait 0
goto @RIOT2_2544

:RIOT2_2568
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_2600
goto @RIOT2_30241

:RIOT2_2600
143@ = 3

:RIOT2_2607
if 
  143@ > 2
goto_if_false @RIOT2_2632
gosub @RIOT2_37859

:RIOT2_2632
if 
  143@ == 3
goto_if_false @RIOT2_2730
if 
  177@ > 2
goto_if_false @RIOT2_2730
Blip.Remove(89@)
89@ = Blip.AddForCoord(1774.9, -1974.9, 13.1)
Blip.SetAsFriendly(89@, False)
Text.PrintNow('R2_13', 7000, 1)
TIMERB = 0
143@ = 4

:RIOT2_2730
if 
  143@ == 4
goto_if_false @RIOT2_3308
if 
  187@ == 0
goto_if_false @RIOT2_2827
if 
  TIMERB > 7000
goto_if_false @RIOT2_2827
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, True)
Char.ShutUpForScriptedSpeech($ryder_car, True)
185@ = 2
186@ = 0
gosub @RIOT2_40912
187@ = 1

:RIOT2_2827
if 
  187@ == 1
goto_if_false @RIOT2_2877
if 
  185@ == 0
goto_if_false @RIOT2_2877
TIMERB = 0
187@ = 2

:RIOT2_2877
if 
  187@ == 2
goto_if_false @RIOT2_2942
if 
  TIMERB > 7000
goto_if_false @RIOT2_2942
185@ = 3
186@ = 0
gosub @RIOT2_40912
187@ = 3

:RIOT2_2942
if 
  187@ == 3
goto_if_false @RIOT2_2999
if 
  185@ == 0
goto_if_false @RIOT2_2999
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
187@ = 4

:RIOT2_2999
if 
  167@ == 1
goto_if_false @RIOT2_3207
$player_is_completely_safe_for_mobile, 177@ = Group.GetSize($flag_cell_nation)
if 
  178@ == 0
goto_if_false @RIOT2_3105
if 
  3 > 177@
goto_if_false @RIOT2_3105
Blip.Remove(89@)
Text.ClearThisPrint('R2_13')
Text.PrintNow('R2_01', 60000, 1)
178@ = 1

:RIOT2_3105
if 
  178@ == 1
goto_if_false @RIOT2_3207
if 
  177@ > 2
goto_if_false @RIOT2_3207
Blip.Remove(89@)
89@ = Blip.AddForCoord(1774.9, -1974.9, 13.1)
Blip.SetAsFriendly(89@, False)
Text.ClearThisPrint('R2_01')
Text.PrintNow('R2_13', 7000, 1)
178@ = 0

:RIOT2_3207
if 
  178@ == 0
goto_if_false @RIOT2_3308
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1774.9, -1974.9, 13.1, 4.0, 4.0, 4.0, True)
goto_if_false @RIOT2_3308
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)
Char.ShutUpForScriptedSpeech($ryder_car, False)
187@ = 0
143@ = 0
142@ = 1

:RIOT2_3308
if 
  142@ == 1
goto_if_false @RIOT2_6797
if 
  143@ == 0
goto_if_false @RIOT2_3975
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
Camera.DoFade(500, Fade.Out)

:RIOT2_3368
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_3392
wait 0
goto @RIOT2_3368

:RIOT2_3392
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_3424
goto @RIOT2_30241

:RIOT2_3424
World.ClearArea(1781.1, -1974.8, 13.1, 30.0, True)
Game.ShutAllCharsUp(True)
World.SetPedDensityMultiplier(0.0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.RemoveFromGroup($ryder_car)
Streaming.RequestModel(#BBALL_INGAME)
Streaming.RequestAnimation("BSKTBALL")
Streaming.RequestAnimation("SMOKING")
Streaming.RequestAnimation("GANGS")
Streaming.LoadAllModelsNow
Player.MakeGangDisappear
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @RIOT2_3618
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1781.1, -1974.8, 13.1)
Char.SetHeading($stattreadstamina_ctr, 325.3)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, 1781.8, -1976.4, 13.1)
Char.SetHeading($ryder_car, 302.3)
goto @RIOT2_3656

:RIOT2_3618
87@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Car.SetCoordinates(87@, 1774.9, -1974.9, 13.1)
Task.LeaveAnyCar($stattreadstamina_ctr)
Task.LeaveAnyCar($ryder_car)

:RIOT2_3656
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1781.1, -1974.8, 13.1)
Char.SetHeading($stattreadstamina_ctr, 325.3)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, 1781.8, -1976.4, 13.1)
Char.SetHeading($ryder_car, 302.3)
268@ = Sequence.Open()
Task.PlayAnim(-1, "PRTIAL_GNGTLKA", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKB", "GANGS", 4.0, False, False, False, False, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(35@, 268@)
Sequence.Clear(268@)
Camera.SetFixedPosition(1781.1, -1970.4, 14.7, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1783.2, -1969.9, 14.5, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:RIOT2_3898
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_3922
wait 0
goto @RIOT2_3898

:RIOT2_3922
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_3954
goto @RIOT2_30241

:RIOT2_3954
143@ = 1
144@ = 1
skip_cutscene_start_internal @RIOT2_5994

:RIOT2_3975
if 
  143@ == 1
goto_if_false @RIOT2_4028
185@ = 4
186@ = 0
188@ = 2
gosub @RIOT2_40912
143@ = 2

:RIOT2_4028
if 
  143@ == 2
goto_if_false @RIOT2_4259
if 
  185@ == 0
goto_if_false @RIOT2_4259
Camera.SetFixedPosition(1784.5, -1967.7, 14.7, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1781.4, -1973.5, 14.3, SwitchType.JumpCut)
Task.GoStraightToCoord($stattreadstamina_ctr, 1782.3, -1972.8, 13.1, MoveState.Walk, -1)
Task.TurnCharToFaceChar(36@, $stattreadstamina_ctr)
Task.GoStraightToCoord(34@, 1783.8, -1972.4, 13.1, MoveState.Walk, -1)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1783.3, -1973.0, 13.1, MoveState.Walk, -1)
Sequence.Close(268@)
Char.PerformSequence($ryder_car, 268@)
Sequence.Clear(268@)
185@ = 4
186@ = 2
188@ = 4
gosub @RIOT2_40912
TIMERA = 0
143@ = 3

:RIOT2_4259
if 
  143@ == 3
goto_if_false @RIOT2_4367
if 
  185@ == 0
goto_if_false @RIOT2_4367
268@ = Sequence.Open()
Task.PlayAnim(-1, "PRTIAL_GNGTLKD", "GANGS", 4.0, False, False, False, False, -1)
Sequence.Close(268@)
Char.PerformSequence($ryder_car, 268@)
Sequence.Clear(268@)
143@ = 4

:RIOT2_4367
if 
  143@ == 4
goto_if_false @RIOT2_4586
if 
  185@ == 0
goto_if_false @RIOT2_4586
$chickY = Char.GetScriptTaskStatus($ryder_car, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_4586
Char.ClearTasks(34@)
268@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.PlayAnim(-1, "PRTIAL_GNGTLKC", "GANGS", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PRTIAL_GNGTLKE", "GANGS", 4.0, False, False, False, False, -1)
Sequence.Close(268@)
Char.PerformSequence(34@, 268@)
Sequence.Clear(268@)
185@ = 4
186@ = 4
188@ = 5
gosub @RIOT2_40912
143@ = 5

:RIOT2_4586
if 
  143@ == 5
goto_if_false @RIOT2_4636
if 
  185@ == 0
goto_if_false @RIOT2_4636
TIMERA = 0
143@ = 6

:RIOT2_4636
if 
  143@ == 6
goto_if_false @RIOT2_5228
if 
  TIMERA > 1000
goto_if_false @RIOT2_5228
Camera.DoFade(500, Fade.Out)

:RIOT2_4680
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_4704
wait 0
goto @RIOT2_4680

:RIOT2_4704
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_4736
goto @RIOT2_30241

:RIOT2_4736
World.ClearArea(1793.8, -1970.6, 12.5, 30.0, True)
Char.ClearTasks($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1789.5, -1968.5, 12.5)
Char.SetHeading($stattreadstamina_ctr, 234.3)
Task.GoStraightToCoord($stattreadstamina_ctr, 1798.2, -1974.4, 12.5, MoveState.Walk, -1)
Char.ClearTasks($ryder_car)
Char.SetCoordinates($ryder_car, 1789.0, -1970.6, 12.5)
Char.SetHeading($ryder_car, 231.5)
Task.GoStraightToCoord($ryder_car, 1794.0, -1973.5, 12.5, MoveState.Walk, -1)
Char.SetCoordinates(35@, 1789.3, -1967.4, 12.5)
Char.SetHeading(35@, 231.5)
Task.GoStraightToCoord(35@, 1796.3, -1970.7, 12.5, MoveState.Walk, -1)
Char.SetCoordinates(36@, 1787.4, -1967.2, 12.5)
Char.SetHeading(36@, 234.5)
Task.GoStraightToCoord(36@, 1792.9, -1972.3, 12.5, MoveState.Walk, -1)
Char.SetCoordinates(34@, 1786.3, -1966.7, 12.5)
Char.SetHeading(34@, 251.5)
Task.GoStraightToCoord(34@, 1793.8, -1970.6, 12.5, MoveState.Walk, -1)
if 
  150@ == 0
goto_if_false @RIOT2_5072
gosub @RIOT2_31232
150@ = 1

:RIOT2_5072
Camera.SetFixedPosition(1788.0, -1968.0, 14.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1799.5, -1973.8, 13.6, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:RIOT2_5130
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_5154
wait 0
goto @RIOT2_5130

:RIOT2_5154
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_5186
goto @RIOT2_30241

:RIOT2_5186
185@ = 4
186@ = 5
188@ = 6
gosub @RIOT2_40912
TIMERA = 0
143@ = 7

:RIOT2_5228
if 
  143@ == 7
goto_if_false @RIOT2_5376
if 
  185@ == 0
goto_if_false @RIOT2_5376
if 
  TIMERA > 4000
goto_if_false @RIOT2_5376
185@ = 4
186@ = 8
188@ = 10
gosub @RIOT2_40912
Camera.SetFixedPosition(1823.1, -1997.4, 13.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1829.3, -2003.7, 14.4, SwitchType.JumpCut)
TIMERA = 0
143@ = 8

:RIOT2_5376
if 
  143@ == 8
goto_if_false @RIOT2_5914
if 
  not Char.IsDead(38@)
goto_if_false @RIOT2_5675
if 
  Object.IsAttached(88@)
goto_if_false @RIOT2_5637
if 
  Char.IsPlayingAnim(38@, "BBALL_IDLELOOP")
goto_if_false @RIOT2_5630
183@ = Char.GetAnimCurrentTime(38@, "BBALL_IDLELOOP")
if 
  Object.IsPlayingAnim(88@, "BBALL_IDLELOOP_O")
goto_if_false @RIOT2_5549
Object.SetAnimCurrentTime(88@, "BBALL_IDLELOOP_O", 183@)
goto @RIOT2_5630

:RIOT2_5549
if 
Object.PlayAnim(88@, "BBALL_IDLELOOP_O", "BSKTBALL", 10000.0, False, False)
goto_if_false @RIOT2_5630
Object.SetAnimSpeed(88@, "BBALL_IDLELOOP_O", 0.0)

:RIOT2_5630
goto @RIOT2_5675

:RIOT2_5637
Object.AttachToChar(88@, 38@, 0.0, 0.5, -1.0, 0.0, 0.0, 0.0)

:RIOT2_5675
if 
  185@ == 0
goto_if_false @RIOT2_5914
if 
  TIMERA > 4000
goto_if_false @RIOT2_5914
Camera.SetFixedPosition(1827.4, -1998.7, 13.1, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1830.2, -1995.2, 13.4, SwitchType.JumpCut)
if 
  not Char.IsDead(42@)
goto_if_false @RIOT2_5872
268@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 1831.1, -1995.9, 12.6, 4, -1)
Task.AchieveHeading(-1, 180.0)
Task.PlayAnim(-1, "M_SMK_IN", "SMOKING", 4.0, False, False, False, False, -1)
Sequence.Close(268@)
Char.PerformSequence(42@, 268@)
Sequence.Clear(268@)

:RIOT2_5872
185@ = 4
186@ = 10
188@ = 12
gosub @RIOT2_40912
TIMERA = 0
143@ = 9

:RIOT2_5914
if 
  143@ == 9
goto_if_false @RIOT2_6797
if 
  185@ == 0
goto_if_false @RIOT2_6797
if 
  TIMERA > 4000
goto_if_false @RIOT2_6797
if 
  185@ == 0
goto_if_false @RIOT2_6797
144@ = 0

:RIOT2_5994
skip_cutscene_end 
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_6028
goto @RIOT2_30241

:RIOT2_6028
if 
  144@ == 1
goto_if_false @RIOT2_6445
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
Camera.DoFade(500, Fade.Out)

:RIOT2_6070
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_6094
wait 0
goto @RIOT2_6070

:RIOT2_6094
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_6126
goto @RIOT2_30241

:RIOT2_6126
if 
  150@ == 0
goto_if_false @RIOT2_6158
gosub @RIOT2_31232
150@ = 1

:RIOT2_6158
if 
  not Char.IsDead(42@)
goto_if_false @RIOT2_6270
Char.ClearTasksImmediately(42@)
Char.SetCoordinates(42@, 1831.1, -1995.9, 12.6)
Char.SetHeading(42@, 180.0)
268@ = Sequence.Open()
Task.PlayAnim(-1, "M_SMK_IN", "SMOKING", 4.0, False, False, False, False, -1)
Sequence.Close(268@)
Char.PerformSequence(42@, 268@)
Sequence.Clear(268@)

:RIOT2_6270
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1793.8, -1970.6, 12.5)
Char.SetHeading($stattreadstamina_ctr, 234.3)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, 1792.9, -1972.3, 12.5)
Char.SetHeading($ryder_car, 231.5)
Char.ClearTasksImmediately(35@)
Char.SetCoordinates(35@, 1794.8, -1969.8, 12.5)
Char.SetHeading(35@, 231.5)
Char.ClearTasksImmediately(36@)
Char.SetCoordinates(36@, 1791.8, -1971.1, 12.5)
Char.SetHeading(36@, 234.5)
Char.ClearTasksImmediately(34@)
Char.SetCoordinates(34@, 1792.5, -1970.4, 12.5)
Char.SetHeading(34@, 251.5)

:RIOT2_6445
Object.Delete(88@)
Streaming.MarkModelAsNoLongerNeeded(#BBALL_INGAME)
if 
  not Char.IsDead(38@)
goto_if_false @RIOT2_6486
Char.GiveWeapon(38@, WeaponType.Tec9, 3000)
Char.ClearTasksImmediately(38@)

:RIOT2_6486
if 
  not Char.IsDead(39@)
goto_if_false @RIOT2_6507
Char.ClearTasksImmediately(38@)

:RIOT2_6507
if 
  not Char.IsDead(38@)
goto_if_false @RIOT2_6563
if 
  not Char.IsDead(39@)
goto_if_false @RIOT2_6563
Task.ChatWithChar(38@, 39@, True, 1)
Task.ChatWithChar(39@, 38@, False, 1)

:RIOT2_6563
if 
  not Char.IsDead(42@)
goto_if_false @RIOT2_6589
Char.GiveWeapon(42@, WeaponType.Tec9, 3000)

:RIOT2_6589
Char.SetDecisionMaker(35@, 265@)
Char.SetDecisionMaker(34@, 265@)
Char.SetDecisionMaker(36@, 265@)
Player.MakeGangReappear
Game.SetGunshotSenseRangeForRiot2(15.0)
Streaming.RemoveAnimation("GANGS")
Game.ShutAllCharsUp(False)
Blip.Remove(89@)
89@ = Blip.AddForChar($ryder_car)
Blip.SetAsFriendly(89@, True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Text.PrintNow('R2_03', 7000, 1)
if 
  144@ == 1
goto_if_false @RIOT2_6776
Camera.DoFade(500, Fade.In)

:RIOT2_6720
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_6744
wait 0
goto @RIOT2_6720

:RIOT2_6744
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_6776
goto @RIOT2_30241

:RIOT2_6776
143@ = 0
142@ = 2
TIMERB = 0

:RIOT2_6797
if 
  142@ == 2
goto_if_false @RIOT2_13879
if 
  150@ == 1
goto_if_false @RIOT2_7103
if 
  6 > 151@
goto_if_false @RIOT2_7096
if 
  not Char.IsDead(37@(151@,6i))
goto_if_false @RIOT2_7075
if 
  Char.HasSpottedChar(37@(151@,6i), $stattreadstamina_ctr)
goto_if_false @RIOT2_7031
if 
  not Char.IsDead(40@)
goto_if_false @RIOT2_6959
268@ = Sequence.Open()
Task.GotoCharOffset(-1, $stattreadstamina_ctr, -1, 1.5, 0.0)
Sequence.SetToRepeat(268@, True)
Sequence.Close(268@)
Char.PerformSequence(40@, 268@)
Sequence.Clear(268@)

:RIOT2_6959
if 
  not Char.IsDead(41@)
goto_if_false @RIOT2_7024
268@ = Sequence.Open()
Task.GotoCharOffset(-1, $stattreadstamina_ctr, -1, 3.0, 0.0)
Sequence.SetToRepeat(268@, True)
Sequence.Close(268@)
Char.PerformSequence(41@, 268@)
Sequence.Clear(268@)

:RIOT2_7024
150@ = 3

:RIOT2_7031
164@ = Char.GetHealth(37@(151@,6i))
if 
  100 > 164@
goto_if_false @RIOT2_7068
150@ = 4

:RIOT2_7068
goto @RIOT2_7082

:RIOT2_7075
150@ = 4

:RIOT2_7082
151@ += 1
goto @RIOT2_7103

:RIOT2_7096
151@ = 0

:RIOT2_7103
if 
  150@ == 3
goto_if_false @RIOT2_7303
if 
  6 > 151@
goto_if_false @RIOT2_7296
if 
  not Char.IsDead(37@(151@,6i))
goto_if_false @RIOT2_7275
164@ = Char.GetHealth(37@(151@,6i))
if 
  100 > 164@
goto_if_false @RIOT2_7196
150@ = 4

:RIOT2_7196
if 
  not Char.IsDead(37@)
goto_if_false @RIOT2_7238
if 
  Char.HasSpottedChar(37@, $stattreadstamina_ctr)
goto_if_false @RIOT2_7238
150@ = 4

:RIOT2_7238
if 
  Player.IsTargetingChar($statbike_temp, 37@(151@,6i))
goto_if_false @RIOT2_7268
150@ = 4

:RIOT2_7268
goto @RIOT2_7282

:RIOT2_7275
150@ = 4

:RIOT2_7282
151@ += 1
goto @RIOT2_7303

:RIOT2_7296
151@ = 0

:RIOT2_7303
if 
  150@ == 4
goto_if_false @RIOT2_7421
if 
  185@ == 0
goto_if_false @RIOT2_7414
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_7414
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $ryder_car, 60.0, 60.0, False)
goto_if_false @RIOT2_7414
185@ = 5
186@ = 11
188@ = 12
gosub @RIOT2_40912

:RIOT2_7414
150@ = 5

:RIOT2_7421
if 
  150@ > 3
goto_if_false @RIOT2_7658
if or
  158@ == 0
  161@ == 0
  152@ == 0
  155@ == 0
goto_if_false @RIOT2_7526
if 
  not Char.IsDead(37@)
goto_if_false @RIOT2_7526
if 
  149@ == 2
goto_if_false @RIOT2_7519
149@ = 0

:RIOT2_7519
gosub @RIOT2_32036

:RIOT2_7526
if 
  158@ > 0
goto_if_false @RIOT2_7658
if 
  161@ > 0
goto_if_false @RIOT2_7658
if 
  152@ > 0
goto_if_false @RIOT2_7658
if 
  155@ > 0
goto_if_false @RIOT2_7658
if 
  not Char.IsDead(37@)
goto_if_false @RIOT2_7658
$chickY = Char.GetScriptTaskStatus(37@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_7658
Task.KillCharOnFoot(37@, $stattreadstamina_ctr)
149@ = 3

:RIOT2_7658
if 
  150@ == 5
goto_if_false @RIOT2_7908
if 
  Char.IsDead(37@)
goto_if_false @RIOT2_7908
if 
  Char.IsDead(38@)
goto_if_false @RIOT2_7908
if 
  Char.IsDead(39@)
goto_if_false @RIOT2_7908
if 
  Char.IsDead(40@)
goto_if_false @RIOT2_7908
if 
  Char.IsDead(41@)
goto_if_false @RIOT2_7908
if 
  Char.IsDead(42@)
goto_if_false @RIOT2_7908
Blip.Remove(96@)
Blip.Remove(97@)
Blip.Remove(98@)
Blip.Remove(99@)
Blip.Remove(100@)
Blip.Remove(101@)
Char.MarkAsNoLongerNeeded(37@)
Char.MarkAsNoLongerNeeded(38@)
Char.MarkAsNoLongerNeeded(39@)
Char.MarkAsNoLongerNeeded(40@)
Char.MarkAsNoLongerNeeded(41@)
Char.MarkAsNoLongerNeeded(42@)
if and
  158@ == 0
  161@ == 0
  152@ == 0
  155@ == 0
goto_if_false @RIOT2_7878
158@ = 1

:RIOT2_7878
Streaming.RemoveAnimation("BSKTBALL")
Streaming.RemoveAnimation("SMOKING")
150@ = 6

:RIOT2_7908
if 
  6 > 150@
goto_if_false @RIOT2_8082
if 
  Char.IsDead(37@)
goto_if_false @RIOT2_7952
Blip.Remove(96@)
Char.MarkAsNoLongerNeeded(37@)

:RIOT2_7952
if 
  Char.IsDead(38@)
goto_if_false @RIOT2_7978
Blip.Remove(97@)
Char.MarkAsNoLongerNeeded(38@)

:RIOT2_7978
if 
  Char.IsDead(39@)
goto_if_false @RIOT2_8004
Blip.Remove(98@)
Char.MarkAsNoLongerNeeded(39@)

:RIOT2_8004
if 
  Char.IsDead(40@)
goto_if_false @RIOT2_8030
Blip.Remove(99@)
Char.MarkAsNoLongerNeeded(40@)

:RIOT2_8030
if 
  Char.IsDead(41@)
goto_if_false @RIOT2_8056
Blip.Remove(100@)
Char.MarkAsNoLongerNeeded(41@)

:RIOT2_8056
if 
  Char.IsDead(42@)
goto_if_false @RIOT2_8082
Blip.Remove(101@)
Char.MarkAsNoLongerNeeded(42@)

:RIOT2_8082
if 
  152@ == 1
goto_if_false @RIOT2_8121
gosub @RIOT2_32547
171@ = 0
152@ = 2

:RIOT2_8121
if 
  152@ == 2
goto_if_false @RIOT2_8198
if 
  Char.IsDead(43@)
goto_if_false @RIOT2_8198
if 
  Char.IsDead(44@)
goto_if_false @RIOT2_8198
Blip.Remove(102@)
Char.MarkAsNoLongerNeeded(43@)
Blip.Remove(103@)
Char.MarkAsNoLongerNeeded(44@)
152@ = 3

:RIOT2_8198
if 
  3 > 152@
goto_if_false @RIOT2_8268
if 
  Char.IsDead(43@)
goto_if_false @RIOT2_8242
Blip.Remove(102@)
Char.MarkAsNoLongerNeeded(43@)

:RIOT2_8242
if 
  Char.IsDead(44@)
goto_if_false @RIOT2_8268
Blip.Remove(103@)
Char.MarkAsNoLongerNeeded(44@)

:RIOT2_8268
if 
  152@ > 0
goto_if_false @RIOT2_8351
if 
  153@ == 0
goto_if_false @RIOT2_8351
if 
  171@ > 500
goto_if_false @RIOT2_8351
153@ = 1
gosub @RIOT2_32547
153@ = 2
171@ = 0

:RIOT2_8351
if 
  153@ == 2
goto_if_false @RIOT2_8428
if 
  Char.IsDead(45@)
goto_if_false @RIOT2_8428
if 
  Char.IsDead(46@)
goto_if_false @RIOT2_8428
Blip.Remove(104@)
Char.MarkAsNoLongerNeeded(45@)
Blip.Remove(105@)
Char.MarkAsNoLongerNeeded(46@)
153@ = 3

:RIOT2_8428
if 
  3 > 153@
goto_if_false @RIOT2_8498
if 
  Char.IsDead(45@)
goto_if_false @RIOT2_8472
Blip.Remove(104@)
Char.MarkAsNoLongerNeeded(45@)

:RIOT2_8472
if 
  Char.IsDead(46@)
goto_if_false @RIOT2_8498
Blip.Remove(105@)
Char.MarkAsNoLongerNeeded(46@)

:RIOT2_8498
if 
  152@ > 0
goto_if_false @RIOT2_8599
if 
  153@ > 0
goto_if_false @RIOT2_8599
if 
  154@ == 0
goto_if_false @RIOT2_8599
if 
  171@ > 500
goto_if_false @RIOT2_8599
154@ = 1
gosub @RIOT2_32547
154@ = 2
171@ = 0

:RIOT2_8599
if 
  154@ == 2
goto_if_false @RIOT2_8676
if 
  Char.IsDead(47@)
goto_if_false @RIOT2_8676
if 
  Char.IsDead(48@)
goto_if_false @RIOT2_8676
Blip.Remove(106@)
Char.MarkAsNoLongerNeeded(47@)
Blip.Remove(107@)
Char.MarkAsNoLongerNeeded(48@)
154@ = 3

:RIOT2_8676
if 
  3 > 154@
goto_if_false @RIOT2_8746
if 
  Char.IsDead(47@)
goto_if_false @RIOT2_8720
Blip.Remove(106@)
Char.MarkAsNoLongerNeeded(47@)

:RIOT2_8720
if 
  Char.IsDead(48@)
goto_if_false @RIOT2_8746
Blip.Remove(107@)
Char.MarkAsNoLongerNeeded(48@)

:RIOT2_8746
if 
  152@ == 3
goto_if_false @RIOT2_8970
if 
  153@ == 3
goto_if_false @RIOT2_8970
if 
  154@ == 3
goto_if_false @RIOT2_8970
if 
  155@ == 0
goto_if_false @RIOT2_8832
155@ = 1
goto @RIOT2_8889

:RIOT2_8832
if 
  158@ == 0
goto_if_false @RIOT2_8864
158@ = 1
goto @RIOT2_8889

:RIOT2_8864
if 
  161@ == 0
goto_if_false @RIOT2_8889
161@ = 1

:RIOT2_8889
Char.MarkAsNoLongerNeeded(43@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
Char.MarkAsNoLongerNeeded(46@)
Char.MarkAsNoLongerNeeded(47@)
Char.MarkAsNoLongerNeeded(48@)
Blip.Remove(102@)
Blip.Remove(103@)
Blip.Remove(104@)
Blip.Remove(105@)
Blip.Remove(106@)
Blip.Remove(107@)
152@ = 4
153@ = 4
154@ = 4

:RIOT2_8970
if 
  155@ == 1
goto_if_false @RIOT2_9009
gosub @RIOT2_33875
170@ = 0
155@ = 2

:RIOT2_9009
if 
  155@ == 2
goto_if_false @RIOT2_9086
if 
  Char.IsDead(49@)
goto_if_false @RIOT2_9086
if 
  Char.IsDead(50@)
goto_if_false @RIOT2_9086
Blip.Remove(108@)
Char.MarkAsNoLongerNeeded(49@)
Blip.Remove(109@)
Char.MarkAsNoLongerNeeded(50@)
155@ = 3

:RIOT2_9086
if 
  3 > 155@
goto_if_false @RIOT2_9156
if 
  Char.IsDead(49@)
goto_if_false @RIOT2_9130
Blip.Remove(108@)
Char.MarkAsNoLongerNeeded(49@)

:RIOT2_9130
if 
  Char.IsDead(50@)
goto_if_false @RIOT2_9156
Blip.Remove(109@)
Char.MarkAsNoLongerNeeded(50@)

:RIOT2_9156
if 
  155@ > 0
goto_if_false @RIOT2_9239
if 
  156@ == 0
goto_if_false @RIOT2_9239
if 
  170@ > 500
goto_if_false @RIOT2_9239
156@ = 1
gosub @RIOT2_33875
156@ = 2
170@ = 0

:RIOT2_9239
if 
  156@ == 2
goto_if_false @RIOT2_9316
if 
  Char.IsDead(51@)
goto_if_false @RIOT2_9316
if 
  Char.IsDead(52@)
goto_if_false @RIOT2_9316
Blip.Remove(110@)
Char.MarkAsNoLongerNeeded(51@)
Blip.Remove(111@)
Char.MarkAsNoLongerNeeded(52@)
156@ = 3

:RIOT2_9316
if 
  3 > 156@
goto_if_false @RIOT2_9386
if 
  Char.IsDead(51@)
goto_if_false @RIOT2_9360
Blip.Remove(110@)
Char.MarkAsNoLongerNeeded(51@)

:RIOT2_9360
if 
  Char.IsDead(52@)
goto_if_false @RIOT2_9386
Blip.Remove(111@)
Char.MarkAsNoLongerNeeded(52@)

:RIOT2_9386
if 
  155@ > 0
goto_if_false @RIOT2_9487
if 
  156@ > 0
goto_if_false @RIOT2_9487
if 
  157@ == 0
goto_if_false @RIOT2_9487
if 
  170@ > 500
goto_if_false @RIOT2_9487
157@ = 1
gosub @RIOT2_33875
157@ = 2
170@ = 0

:RIOT2_9487
if 
  157@ == 2
goto_if_false @RIOT2_9564
if 
  Char.IsDead(53@)
goto_if_false @RIOT2_9564
if 
  Char.IsDead(54@)
goto_if_false @RIOT2_9564
Blip.Remove(112@)
Char.MarkAsNoLongerNeeded(53@)
Blip.Remove(113@)
Char.MarkAsNoLongerNeeded(54@)
157@ = 3

:RIOT2_9564
if 
  3 > 157@
goto_if_false @RIOT2_9634
if 
  Char.IsDead(53@)
goto_if_false @RIOT2_9608
Blip.Remove(112@)
Char.MarkAsNoLongerNeeded(53@)

:RIOT2_9608
if 
  Char.IsDead(54@)
goto_if_false @RIOT2_9634
Blip.Remove(113@)
Char.MarkAsNoLongerNeeded(54@)

:RIOT2_9634
if 
  155@ == 3
goto_if_false @RIOT2_9858
if 
  156@ == 3
goto_if_false @RIOT2_9858
if 
  157@ == 3
goto_if_false @RIOT2_9858
if 
  161@ == 0
goto_if_false @RIOT2_9720
161@ = 1
goto @RIOT2_9777

:RIOT2_9720
if 
  152@ == 0
goto_if_false @RIOT2_9752
152@ = 1
goto @RIOT2_9777

:RIOT2_9752
if 
  158@ == 0
goto_if_false @RIOT2_9777
158@ = 1

:RIOT2_9777
Char.MarkAsNoLongerNeeded(49@)
Char.MarkAsNoLongerNeeded(50@)
Char.MarkAsNoLongerNeeded(51@)
Char.MarkAsNoLongerNeeded(52@)
Char.MarkAsNoLongerNeeded(53@)
Char.MarkAsNoLongerNeeded(54@)
Blip.Remove(108@)
Blip.Remove(109@)
Blip.Remove(110@)
Blip.Remove(111@)
Blip.Remove(112@)
Blip.Remove(113@)
155@ = 4
156@ = 4
157@ = 4

:RIOT2_9858
if 
  158@ == 1
goto_if_false @RIOT2_9897
gosub @RIOT2_35203
173@ = 0
158@ = 2

:RIOT2_9897
if 
  158@ == 2
goto_if_false @RIOT2_9974
if 
  Char.IsDead(55@)
goto_if_false @RIOT2_9974
if 
  Char.IsDead(56@)
goto_if_false @RIOT2_9974
Blip.Remove(114@)
Char.MarkAsNoLongerNeeded(55@)
Blip.Remove(115@)
Char.MarkAsNoLongerNeeded(56@)
158@ = 3

:RIOT2_9974
if 
  3 > 158@
goto_if_false @RIOT2_10044
if 
  Char.IsDead(55@)
goto_if_false @RIOT2_10018
Blip.Remove(114@)
Char.MarkAsNoLongerNeeded(55@)

:RIOT2_10018
if 
  Char.IsDead(56@)
goto_if_false @RIOT2_10044
Blip.Remove(115@)
Char.MarkAsNoLongerNeeded(56@)

:RIOT2_10044
if 
  158@ > 0
goto_if_false @RIOT2_10127
if 
  159@ == 0
goto_if_false @RIOT2_10127
if 
  173@ > 500
goto_if_false @RIOT2_10127
159@ = 1
gosub @RIOT2_35203
159@ = 2
173@ = 0

:RIOT2_10127
if 
  159@ == 2
goto_if_false @RIOT2_10204
if 
  Char.IsDead(57@)
goto_if_false @RIOT2_10204
if 
  Char.IsDead(58@)
goto_if_false @RIOT2_10204
Blip.Remove(116@)
Char.MarkAsNoLongerNeeded(57@)
Blip.Remove(117@)
Char.MarkAsNoLongerNeeded(58@)
159@ = 3

:RIOT2_10204
if 
  3 > 159@
goto_if_false @RIOT2_10274
if 
  Char.IsDead(57@)
goto_if_false @RIOT2_10248
Blip.Remove(116@)
Char.MarkAsNoLongerNeeded(57@)

:RIOT2_10248
if 
  Char.IsDead(58@)
goto_if_false @RIOT2_10274
Blip.Remove(117@)
Char.MarkAsNoLongerNeeded(58@)

:RIOT2_10274
if 
  158@ > 0
goto_if_false @RIOT2_10375
if 
  159@ > 0
goto_if_false @RIOT2_10375
if 
  160@ == 0
goto_if_false @RIOT2_10375
if 
  173@ > 500
goto_if_false @RIOT2_10375
160@ = 1
gosub @RIOT2_35203
160@ = 2
173@ = 0

:RIOT2_10375
if 
  160@ == 2
goto_if_false @RIOT2_10452
if 
  Char.IsDead(59@)
goto_if_false @RIOT2_10452
if 
  Char.IsDead(60@)
goto_if_false @RIOT2_10452
Blip.Remove(118@)
Char.MarkAsNoLongerNeeded(59@)
Blip.Remove(119@)
Char.MarkAsNoLongerNeeded(60@)
160@ = 3

:RIOT2_10452
if 
  3 > 160@
goto_if_false @RIOT2_10522
if 
  Char.IsDead(59@)
goto_if_false @RIOT2_10496
Blip.Remove(118@)
Char.MarkAsNoLongerNeeded(59@)

:RIOT2_10496
if 
  Char.IsDead(60@)
goto_if_false @RIOT2_10522
Blip.Remove(119@)
Char.MarkAsNoLongerNeeded(60@)

:RIOT2_10522
if 
  158@ == 3
goto_if_false @RIOT2_10746
if 
  159@ == 3
goto_if_false @RIOT2_10746
if 
  160@ == 3
goto_if_false @RIOT2_10746
if 
  152@ == 0
goto_if_false @RIOT2_10608
152@ = 1
goto @RIOT2_10665

:RIOT2_10608
if 
  161@ == 0
goto_if_false @RIOT2_10640
161@ = 1
goto @RIOT2_10665

:RIOT2_10640
if 
  155@ == 0
goto_if_false @RIOT2_10665
155@ = 1

:RIOT2_10665
Char.MarkAsNoLongerNeeded(55@)
Char.MarkAsNoLongerNeeded(56@)
Char.MarkAsNoLongerNeeded(57@)
Char.MarkAsNoLongerNeeded(58@)
Char.MarkAsNoLongerNeeded(59@)
Char.MarkAsNoLongerNeeded(60@)
Blip.Remove(114@)
Blip.Remove(115@)
Blip.Remove(116@)
Blip.Remove(117@)
Blip.Remove(118@)
Blip.Remove(119@)
158@ = 4
159@ = 4
160@ = 4

:RIOT2_10746
if 
  161@ == 1
goto_if_false @RIOT2_10785
gosub @RIOT2_36531
172@ = 0
161@ = 2

:RIOT2_10785
if 
  161@ == 2
goto_if_false @RIOT2_10862
if 
  Char.IsDead(61@)
goto_if_false @RIOT2_10862
if 
  Char.IsDead(62@)
goto_if_false @RIOT2_10862
Blip.Remove(120@)
Char.MarkAsNoLongerNeeded(61@)
Blip.Remove(121@)
Char.MarkAsNoLongerNeeded(62@)
161@ = 3

:RIOT2_10862
if 
  3 > 161@
goto_if_false @RIOT2_10932
if 
  Char.IsDead(61@)
goto_if_false @RIOT2_10906
Blip.Remove(120@)
Char.MarkAsNoLongerNeeded(61@)

:RIOT2_10906
if 
  Char.IsDead(62@)
goto_if_false @RIOT2_10932
Blip.Remove(121@)
Char.MarkAsNoLongerNeeded(62@)

:RIOT2_10932
if 
  161@ > 0
goto_if_false @RIOT2_11015
if 
  162@ == 0
goto_if_false @RIOT2_11015
if 
  172@ > 500
goto_if_false @RIOT2_11015
162@ = 1
gosub @RIOT2_36531
162@ = 2
172@ = 0

:RIOT2_11015
if 
  162@ == 2
goto_if_false @RIOT2_11092
if 
  Char.IsDead(63@)
goto_if_false @RIOT2_11092
if 
  Char.IsDead(64@)
goto_if_false @RIOT2_11092
Blip.Remove(122@)
Char.MarkAsNoLongerNeeded(63@)
Blip.Remove(123@)
Char.MarkAsNoLongerNeeded(64@)
162@ = 3

:RIOT2_11092
if 
  3 > 162@
goto_if_false @RIOT2_11162
if 
  Char.IsDead(63@)
goto_if_false @RIOT2_11136
Blip.Remove(122@)
Char.MarkAsNoLongerNeeded(63@)

:RIOT2_11136
if 
  Char.IsDead(64@)
goto_if_false @RIOT2_11162
Blip.Remove(123@)
Char.MarkAsNoLongerNeeded(64@)

:RIOT2_11162
if 
  161@ > 0
goto_if_false @RIOT2_11263
if 
  162@ > 0
goto_if_false @RIOT2_11263
if 
  163@ == 0
goto_if_false @RIOT2_11263
if 
  172@ > 500
goto_if_false @RIOT2_11263
163@ = 1
gosub @RIOT2_36531
163@ = 2
172@ = 0

:RIOT2_11263
if 
  163@ == 2
goto_if_false @RIOT2_11340
if 
  Char.IsDead(65@)
goto_if_false @RIOT2_11340
if 
  Char.IsDead(66@)
goto_if_false @RIOT2_11340
Blip.Remove(124@)
Char.MarkAsNoLongerNeeded(65@)
Blip.Remove(125@)
Char.MarkAsNoLongerNeeded(66@)
163@ = 3

:RIOT2_11340
if 
  3 > 163@
goto_if_false @RIOT2_11410
if 
  Char.IsDead(65@)
goto_if_false @RIOT2_11384
Blip.Remove(124@)
Char.MarkAsNoLongerNeeded(65@)

:RIOT2_11384
if 
  Char.IsDead(66@)
goto_if_false @RIOT2_11410
Blip.Remove(125@)
Char.MarkAsNoLongerNeeded(66@)

:RIOT2_11410
if 
  161@ == 3
goto_if_false @RIOT2_11634
if 
  162@ == 3
goto_if_false @RIOT2_11634
if 
  163@ == 3
goto_if_false @RIOT2_11634
if 
  158@ == 0
goto_if_false @RIOT2_11496
158@ = 1
goto @RIOT2_11553

:RIOT2_11496
if 
  155@ == 0
goto_if_false @RIOT2_11528
155@ = 1
goto @RIOT2_11553

:RIOT2_11528
if 
  152@ == 0
goto_if_false @RIOT2_11553
152@ = 1

:RIOT2_11553
Char.MarkAsNoLongerNeeded(61@)
Char.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(63@)
Char.MarkAsNoLongerNeeded(64@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Blip.Remove(120@)
Blip.Remove(121@)
Blip.Remove(122@)
Blip.Remove(123@)
Blip.Remove(124@)
Blip.Remove(125@)
161@ = 4
162@ = 4
163@ = 4

:RIOT2_11634
if 
  187@ == 0
goto_if_false @RIOT2_11796
if 
  6 > 165@
goto_if_false @RIOT2_11796
if 
  TIMERB > 7000
goto_if_false @RIOT2_11796
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_11796
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $ryder_car, 60.0, 60.0, False)
goto_if_false @RIOT2_11796
if 
  185@ == 0
goto_if_false @RIOT2_11796
Char.ShutUpForScriptedSpeech($ryder_car, True)
185@ = 5
186@ = 3
188@ = 4
gosub @RIOT2_40912
187@ = 1

:RIOT2_11796
if 
  165@ == 0
goto_if_false @RIOT2_11937
Char.ClearTasks(34@)
Char.ClearTasks(35@)
Char.ClearTasks(36@)
Char.ClearTasks($ryder_car)
Task.FollowPathNodesToCoord(34@, 1824.9, -1986.7, 12.6, 4, -2)
Task.FollowPathNodesToCoord(35@, 1822.3, -1986.7, 12.6, 4, -2)
Task.FollowPathNodesToCoord(36@, 1820.9, -1984.7, 12.6, 4, -2)
Task.FollowPathNodesToCoord($ryder_car, 1824.5, -1984.0, 12.6, 4, -2)
165@ = 1

:RIOT2_11937
if 
  165@ == 1
goto_if_false @RIOT2_12485
if 
  150@ == 6
goto_if_false @RIOT2_12189
Char.ClearTasks(34@)
Char.ClearTasks(35@)
Char.ClearTasks(36@)
Char.ClearTasks($ryder_car)
Task.FollowPathNodesToCoord(34@, 1856.6, -2008.5, 12.6, 4, -2)
Task.FollowPathNodesToCoord(35@, 1859.6, -2007.5, 12.6, 4, -2)
Task.FollowPathNodesToCoord(36@, 1853.6, -2007.5, 12.6, 4, -2)
Task.FollowPathNodesToCoord($ryder_car, 1854.8, -2005.5, 12.6, 4, -2)
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_12182
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $ryder_car, 60.0, 60.0, False)
goto_if_false @RIOT2_12182
if 
  185@ == 0
goto_if_false @RIOT2_12182
185@ = 5
186@ = 4
188@ = 5
gosub @RIOT2_40912

:RIOT2_12182
165@ = 2

:RIOT2_12189
if 
  Char.IsDead(38@)
goto_if_false @RIOT2_12485
if 
  Char.IsDead(39@)
goto_if_false @RIOT2_12485
if 
  Char.IsDead(40@)
goto_if_false @RIOT2_12485
if 
  Char.IsDead(41@)
goto_if_false @RIOT2_12485
if 
  Char.IsDead(42@)
goto_if_false @RIOT2_12485
Char.ClearTasks(34@)
Char.ClearTasks(35@)
Char.ClearTasks(36@)
Char.ClearTasks($ryder_car)
Task.FollowPathNodesToCoord(34@, 1856.6, -2008.5, 12.6, 4, -2)
Task.FollowPathNodesToCoord(35@, 1859.6, -2007.5, 12.6, 4, -2)
Task.FollowPathNodesToCoord(36@, 1853.6, -2007.5, 12.6, 4, -2)
Task.FollowPathNodesToCoord($ryder_car, 1854.8, -2005.5, 12.6, 4, -2)
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_12478
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $ryder_car, 60.0, 60.0, False)
goto_if_false @RIOT2_12478
if 
  185@ == 0
goto_if_false @RIOT2_12478
185@ = 5
186@ = 5
188@ = 6
gosub @RIOT2_40912

:RIOT2_12478
165@ = 2

:RIOT2_12485
if 
  165@ == 2
goto_if_false @RIOT2_12737
if 
  158@ == 4
goto_if_false @RIOT2_12737
Char.ClearTasks(34@)
Char.ClearTasks(35@)
Char.ClearTasks(36@)
Char.ClearTasks($ryder_car)
Task.FollowPathNodesToCoord(34@, 1858.8, -1993.7, 12.6, 4, -2)
Task.FollowPathNodesToCoord(35@, 1858.8, -1991.6, 12.6, 4, -2)
Task.FollowPathNodesToCoord(36@, 1858.8, -1989.7, 12.6, 4, -2)
Task.FollowPathNodesToCoord($ryder_car, 1858.8, -1987.7, 12.6, 4, -2)
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_12730
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $ryder_car, 60.0, 60.0, False)
goto_if_false @RIOT2_12730
if 
  185@ == 0
goto_if_false @RIOT2_12730
185@ = 5
186@ = 6
188@ = 7
gosub @RIOT2_40912

:RIOT2_12730
165@ = 3

:RIOT2_12737
if 
  165@ == 3
goto_if_false @RIOT2_12989
if 
  152@ == 4
goto_if_false @RIOT2_12989
Char.ClearTasks(34@)
Char.ClearTasks(35@)
Char.ClearTasks(36@)
Char.ClearTasks($ryder_car)
Task.FollowPathNodesToCoord(34@, 1886.2, -1995.2, 12.6, 4, -2)
Task.FollowPathNodesToCoord(35@, 1886.2, -1993.2, 12.6, 4, -2)
Task.FollowPathNodesToCoord(36@, 1886.2, -1991.2, 12.6, 4, -2)
Task.FollowPathNodesToCoord($ryder_car, 1886.2, -1989.2, 12.6, 4, -2)
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_12982
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $ryder_car, 60.0, 60.0, False)
goto_if_false @RIOT2_12982
if 
  185@ == 0
goto_if_false @RIOT2_12982
185@ = 5
186@ = 7
188@ = 8
gosub @RIOT2_40912

:RIOT2_12982
165@ = 4

:RIOT2_12989
if 
  165@ == 4
goto_if_false @RIOT2_13241
if 
  155@ == 4
goto_if_false @RIOT2_13241
Char.ClearTasks(34@)
Char.ClearTasks(35@)
Char.ClearTasks(36@)
Char.ClearTasks($ryder_car)
Task.FollowPathNodesToCoord(34@, 1903.1, -2009.3, 12.6, 4, -2)
Task.FollowPathNodesToCoord(35@, 1905.1, -2009.3, 12.6, 4, -2)
Task.FollowPathNodesToCoord(36@, 1907.1, -2009.3, 12.6, 4, -2)
Task.FollowPathNodesToCoord($ryder_car, 1909.1, -2009.3, 12.6, 4, -2)
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_13234
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $ryder_car, 60.0, 60.0, False)
goto_if_false @RIOT2_13234
if 
  185@ == 0
goto_if_false @RIOT2_13234
185@ = 5
186@ = 8
188@ = 9
gosub @RIOT2_40912

:RIOT2_13234
165@ = 5

:RIOT2_13241
if 
  165@ == 5
goto_if_false @RIOT2_13723
if 
  161@ == 4
goto_if_false @RIOT2_13723
Char.ClearTasks(34@)
Char.ClearTasks(35@)
Char.ClearTasks(36@)
Char.ClearTasks($ryder_car)
268@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 1916.8, -2059.2, 12.4, 6, -2)
Task.GoStraightToCoord(-1, 1921.6, -2077.1, 12.5, MoveState.Run, -2)
Task.AchieveHeading(-1, 5.1)
Sequence.Close(268@)
Char.PerformSequence($ryder_car, 268@)
Sequence.Clear(268@)
268@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 1914.5, -2058.4, 12.4, 6, -2)
Task.GoStraightToCoord(-1, 1922.6, -2077.1, 12.5, MoveState.Run, -2)
Task.AchieveHeading(-1, 5.1)
Sequence.Close(268@)
Char.PerformSequence(34@, 268@)
Sequence.Clear(268@)
268@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 1918.1, -2061.8, 12.4, 6, -2)
Task.GoStraightToCoord(-1, 1923.6, -2077.1, 12.5, MoveState.Run, -2)
Task.AchieveHeading(-1, 5.1)
Sequence.Close(268@)
Char.PerformSequence(35@, 268@)
Sequence.Clear(268@)
268@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 1919.8, -2059.6, 12.4, 6, -2)
Task.GoStraightToCoord(-1, 1924.6, -2077.1, 12.5, MoveState.Run, -2)
Task.AchieveHeading(-1, 5.1)
Sequence.Close(268@)
Char.PerformSequence(36@, 268@)
Sequence.Clear(268@)
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_13684
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $ryder_car, 60.0, 60.0, False)
goto_if_false @RIOT2_13684
185@ = 5
186@ = 0
188@ = 1
gosub @RIOT2_40912

:RIOT2_13684
Blip.Remove(89@)
89@ = Blip.AddForCoord(1922.8, -2075.0, 12.5)
187@ = 0
165@ = 6

:RIOT2_13723
if 
  165@ == 6
goto_if_false @RIOT2_13879
if 
  187@ == 0
goto_if_false @RIOT2_13800
if 
  185@ == 0
goto_if_false @RIOT2_13800
Text.PrintNow('R2_04', 11000, 1)
187@ = 1

:RIOT2_13800
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 1922.8, -2075.0, 12.5, 1.2, 1.2, 2.0, True)
goto_if_false @RIOT2_13879
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
143@ = 0
142@ = 3

:RIOT2_13879
if 
  142@ == 3
goto_if_false @RIOT2_19283
if 
  143@ == 0
goto_if_false @RIOT2_15311
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
Camera.DoFade(500, Fade.Out)

:RIOT2_13939
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_13963
wait 0
goto @RIOT2_13939

:RIOT2_13963
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_13995
goto @RIOT2_30241

:RIOT2_13995
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.ShutAllCharsUp(True)
Char.ShutUpForScriptedSpeech($ryder_car, False)
World.SetCarDensityMultiplier(0.0)
if 
  not Garage.IsClosed('DUF_LAS')
goto_if_false @RIOT2_14066
Garage.Close('DUF_LAS')

:RIOT2_14066
Streaming.RequestModel(466)
Streaming.RequestModel(359)
Streaming.RequestAnimation("CAR")
Streaming.RequestAnimation("SWAT")
Streaming.RequestAnimation("CRACK")
Streaming.RequestAnimation("CASINO")
Streaming.LoadAllModelsNow
DecisionMakerChar.ClearEventResponse(265@, 36)
DecisionMakerChar.ClearEventResponse(265@, 37)
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_14158
goto @RIOT2_30241

:RIOT2_14158
World.ClearArea(1897.0, -2103.8, 12.3, 300.0, True)
67@ = Car.Create(466, 1897.0, -2103.8, 12.3)
Car.SetHeading(67@, 2.4)
Car.FreezePosition(67@, True)
Car.LockDoors(67@, CarLock.Locked)
Car.SetProofs(67@, True, True, True, True, True)
68@ = Car.Create(466, 1857.3, -2101.3, 12.3)
Car.FreezePosition(68@, True)
Car.SetHeading(68@, 359.7)
Car.LockDoors(68@, CarLock.Locked)
148@ = Math.RandomIntInRange(0, 2)
69@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1860.9, -2099.6, 12.6)
Char.SetHeading(69@, 270.0)
Char.GiveWeapon(69@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(69@, 266@)
Task.PlayAnim(69@, "FIXN_CAR_LOOP", "CAR", 4.0, True, False, False, False, -1)
126@ = Blip.AddForChar(69@)
Blip.ChangeScale(126@, 1)
Char.SetAccuracy(69@, 181@)
Char.AddArmor(69@, 50)
148@ = Math.RandomIntInRange(0, 2)
70@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1859.9, -2102.5, 12.5)
Char.SetHeading(70@, 48.0)
Char.GiveWeapon(70@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(70@, 266@)
127@ = Blip.AddForChar(70@)
Blip.ChangeScale(127@, 1)
Char.SetAccuracy(70@, 181@)
148@ = Math.RandomIntInRange(0, 2)
71@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1855.6, -2102.6, 12.5)
Char.SetHeading(71@, 282.0)
Char.GiveWeapon(71@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(71@, 266@)
Task.PlayAnim(71@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
128@ = Blip.AddForChar(71@)
Blip.ChangeScale(128@, 1)
Char.SetAccuracy(71@, 181@)
Char.AddArmor(71@, 50)
148@ = Math.RandomIntInRange(0, 2)
72@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1855.6, -2099.6, 12.5)
Char.SetHeading(72@, 282.0)
Char.GiveWeapon(72@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(72@, 266@)
Task.PlayAnim(72@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
129@ = Blip.AddForChar(72@)
Blip.ChangeScale(129@, 1)
Char.SetAccuracy(72@, 181@)
144@ = 1
skip_cutscene_start_internal @RIOT2_16263
World.ClearArea(1918.1, -2076.9, 12.5, 30.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1918.1, -2076.9, 12.5)
Char.SetHeading($stattreadstamina_ctr, 171.1)
Task.GoStraightToCoord($stattreadstamina_ctr, 1916.1, -2093.3, 12.5, MoveState.Walk, -1)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, 1919.1, -2077.7, 12.5)
Char.SetHeading($ryder_car, 171.5)
Task.GoStraightToCoord($ryder_car, 1917.1, -2094.1, 12.5, MoveState.Walk, -1)
Char.SetDecisionMaker($ryder_car, 266@)
Char.ClearTasksImmediately(35@)
Char.SetCoordinates(35@, 1920.3, -2075.3, 12.5)
Char.SetHeading(35@, 189.5)
Char.GiveWeapon(35@, WeaponType.RocketLauncher, 1)
Task.GoStraightToCoord(35@, 1918.3, -2091.7, 12.5, MoveState.Walk, -1)
Char.SetDecisionMaker(35@, 266@)
Char.ClearTasksImmediately(34@)
Char.SetCoordinates(34@, 1918.8, -2075.3, 12.5)
Char.SetHeading(34@, 165.9)
Task.GoStraightToCoord(34@, 1916.8, -2091.7, 12.5, MoveState.Walk, -1)
Char.SetDecisionMaker(34@, 266@)
Char.ClearTasksImmediately(36@)
Char.SetCoordinates(36@, 1919.6, -2074.0, 12.5)
Char.SetHeading(36@, 173.0)
Task.GoStraightToCoord(36@, 1917.6, -2090.4, 12.5, MoveState.Walk, -1)
Char.SetDecisionMaker(36@, 266@)
Camera.SetFixedPosition(1914.65, -2087.8, 13.4, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1917.9, -2080.7, 13.0, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:RIOT2_15213
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_15237
wait 0
goto @RIOT2_15213

:RIOT2_15237
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_15269
goto @RIOT2_30241

:RIOT2_15269
185@ = 6
186@ = 0
188@ = 6
gosub @RIOT2_40912
TIMERA = 0
143@ = 1

:RIOT2_15311
if 
  143@ == 1
goto_if_false @RIOT2_15732
if 
  TIMERA > 8000
goto_if_false @RIOT2_15732
World.ClearArea(1916.9, -2101.1, 12.6, 30.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1916.9, -2101.1, 12.6)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Task.GoStraightToCoord($stattreadstamina_ctr, 1912.4, -2101.1, 12.5, MoveState.Walk, -1)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, 1916.9, -2102.1, 12.6)
Char.SetHeading($ryder_car, 90.0)
Task.GoStraightToCoord($ryder_car, 1912.4, -2102.1, 12.5, MoveState.Walk, -1)
Char.ClearTasksImmediately(35@)
Char.SetCoordinates(35@, 1916.9, -2103.1, 12.6)
Char.SetHeading(35@, 90.0)
Task.GoStraightToCoord(35@, 1912.4, -2103.1, 12.5, MoveState.Walk, -1)
Char.ClearTasksImmediately(36@)
Char.SetCoordinates(36@, 1916.9, -2100.1, 12.6)
Char.SetHeading(36@, 90.0)
Task.GoStraightToCoord(36@, 1912.4, -2100.1, 12.5, MoveState.Walk, -1)
Char.ClearTasksImmediately(34@)
Char.SetCoordinates(34@, 1916.9, -2099.1, 12.6)
Char.SetHeading(34@, 90.0)
Task.GoStraightToCoord(34@, 1912.4, -2099.1, 12.5, MoveState.Walk, -1)
Camera.SetFixedPosition(1916.5, -2100.9, 12.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1906.2, -2101.0, 14.8, SwitchType.JumpCut)
TIMERA = 0
143@ = 2

:RIOT2_15732
if 
  143@ == 2
goto_if_false @RIOT2_16201
if 
  185@ == 0
goto_if_false @RIOT2_16201
if 
  TIMERA > 4000
goto_if_false @RIOT2_16201
if 
  not Char.IsDead(69@)
goto_if_false @RIOT2_15886
268@ = Sequence.Open()
Task.PlayAnim(-1, "FIXN_CAR_OUT", "CAR", 4.0, False, False, False, False, -1)
Task.ShootAtCoord(-1, 1916.5, -2100.9, 12.8, 3000)
Sequence.Close(268@)
Char.PerformSequence(69@, 268@)
Sequence.Clear(268@)

:RIOT2_15886
if 
  not Char.IsDead(70@)
goto_if_false @RIOT2_15960
268@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.ToggleDuck(-1, True)
Task.ShootAtCoord(-1, 1916.5, -2100.9, 12.8, 3000)
Sequence.Close(268@)
Char.PerformSequence(70@, 268@)
Sequence.Clear(268@)

:RIOT2_15960
if 
  not Char.IsDead(71@)
goto_if_false @RIOT2_16034
268@ = Sequence.Open()
Task.Pause(-1, 700)
Task.StandStill(-1, 100)
Task.ShootAtCoord(-1, 1916.5, -2100.9, 12.8, 3000)
Sequence.Close(268@)
Char.PerformSequence(71@, 268@)
Sequence.Clear(268@)

:RIOT2_16034
if 
  not Char.IsDead(72@)
goto_if_false @RIOT2_16108
268@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.StandStill(-1, 100)
Task.ShootAtCoord(-1, 1916.5, -2100.9, 12.8, 3000)
Sequence.Close(268@)
Char.PerformSequence(72@, 268@)
Sequence.Clear(268@)

:RIOT2_16108
185@ = 6
186@ = 6
188@ = 7
gosub @RIOT2_40912
Camera.SetFixedPosition(1866.1, -2101.8, 13.4, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1849.9, -2101.0, 14.98, SwitchType.JumpCut)
TIMERA = 0
143@ = 3

:RIOT2_16201
if 
  143@ == 3
goto_if_false @RIOT2_19283
if 
  185@ == 0
goto_if_false @RIOT2_19283
if 
  TIMERA > 4000
goto_if_false @RIOT2_19283
144@ = 0

:RIOT2_16263
skip_cutscene_end 
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_16297
goto @RIOT2_30241

:RIOT2_16297
if 
  144@ == 1
goto_if_false @RIOT2_16654
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
Camera.DoFade(500, Fade.Out)

:RIOT2_16339
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_16363
wait 0
goto @RIOT2_16339

:RIOT2_16363
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_16395
goto @RIOT2_30241

:RIOT2_16395
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1912.4, -2101.1, 12.5)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, 1912.4, -2102.1, 12.5)
Char.SetHeading($ryder_car, 90.0)
Char.ClearTasksImmediately(35@)
Char.SetCoordinates(35@, 1912.4, -2103.1, 12.5)
Char.SetHeading(35@, 90.0)
Char.ClearTasksImmediately(36@)
Char.SetCoordinates(36@, 1912.4, -2100.1, 12.5)
Char.SetHeading(36@, 90.0)
Char.ClearTasksImmediately(34@)
Char.SetCoordinates(34@, 1912.4, -2099.1, 12.5)
Char.SetHeading(34@, 90.0)
if 
  not Char.IsDead(69@)
goto_if_false @RIOT2_16591
Char.ClearTasksImmediately(69@)

:RIOT2_16591
if 
  not Char.IsDead(70@)
goto_if_false @RIOT2_16612
Char.ClearTasksImmediately(70@)

:RIOT2_16612
if 
  not Char.IsDead(71@)
goto_if_false @RIOT2_16633
Char.ClearTasksImmediately(71@)

:RIOT2_16633
if 
  not Char.IsDead(72@)
goto_if_false @RIOT2_16654
Char.ClearTasksImmediately(72@)

:RIOT2_16654
Char.SetStayInSamePlace($ryder_car, True)
269@ = Sequence.Open()
Task.PlayAnim(-1, "GUN_STAND", "PED", 8.0, False, False, False, False, 10)
168@ = Math.RandomIntInRange(1500, 4000)
Task.ShootAtCoord(-1, 1871.1, -2102.3, 14.6, 168@)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
168@ = Math.RandomIntInRange(1500, 4000)
Task.Pause(-1, 168@)
Sequence.SetToRepeat(269@, True)
Sequence.Close(269@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1898.7, -2102.1, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 90.0)
Char.PerformSequence(-1, 269@)
Sequence.Close(268@)
Char.PerformSequence($ryder_car, 268@)
Sequence.Clear(268@)
Sequence.Clear(269@)
Char.ClearTasksImmediately(35@)
Char.SetCoordinates(35@, 1912.4, -2103.1, 12.5)
Char.SetHeading(35@, 90.0)
Char.SetStayInSamePlace(35@, True)
269@ = Sequence.Open()
Task.PlayAnim(-1, "GUN_STAND", "PED", 8.0, False, False, False, False, 10)
168@ = Math.RandomIntInRange(1500, 4000)
Task.ShootAtCoord(-1, 1878.7, -2105.5, 14.6, 168@)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
168@ = Math.RandomIntInRange(1500, 4000)
Task.Pause(-1, 168@)
Sequence.SetToRepeat(269@, True)
Sequence.Close(269@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1898.7, -2106.1, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 90.0)
if 
  not Car.IsDead(68@)
goto_if_false @RIOT2_17114
Task.DestroyCar(-1, 68@)

:RIOT2_17114
Task.Pause(-1, 500)
Task.PlayAnim(-1, "MANWINB", "CASINO", 8.0, False, False, False, False, -1)
Char.PerformSequence(-1, 269@)
Sequence.Close(268@)
Char.PerformSequence(35@, 268@)
Sequence.Clear(268@)
Sequence.Clear(269@)
Char.SetStayInSamePlace(34@, True)
269@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_R", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
168@ = Math.RandomIntInRange(1500, 4000)
Task.ShootAtCoord(-1, 1891.2, -2099.6, 14.0, 168@)
Task.StayInSamePlace(-1, False)
Task.CharSlideToCoordAndPlayAnim(-1, 1903.7, -2096.6, 12.5, 75.0, -1.0, "SWT_WLLSHOOT_OUT_R", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(269@, True)
Sequence.Close(269@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1903.5, -2096.6, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 75.0)
Char.PerformSequence(-1, 269@)
Sequence.Close(268@)
Char.PerformSequence(34@, 268@)
Sequence.Clear(268@)
Sequence.Clear(269@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1894.6, -2099.2, 12.4, MoveState.Run, -1)
Task.AchieveHeading(-1, 90.0)
Task.PlayAnimNonInterruptable(-1, "CROUCH_ROLL_L", "PED", 8.0, False, True, True, False, -1)
Task.GoStraightToCoord(-1, 1884.6, -2107.6, 12.4, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 1874.9, -2102.8, 12.4, MoveState.Run, -1)
Task.PlayAnimNonInterruptable(-1, "KO_SPIN_L", "PED", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "CRCKIDLE4", "CRACK", 8.0, True, False, False, False, -1)
Sequence.Close(268@)
Char.PerformSequence(36@, 268@)
Sequence.Clear(268@)
if 
  not Char.IsDead(69@)
goto_if_false @RIOT2_18065
Char.SetStayInSamePlace(69@, True)
269@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_L", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
168@ = Math.RandomIntInRange(1500, 4000)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 168@)
Task.StayInSamePlace(-1, False)
Task.CharSlideToCoordAndPlayAnim(-1, 1872.8, -2096.1, 12.5, 275.0, -1.0, "SWT_WLLSHOOT_OUT_L", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(269@, True)
Sequence.Close(269@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1872.8, -2096.1, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 275.0)
Char.PerformSequence(-1, 269@)
Sequence.Close(268@)
Char.PerformSequence(69@, 268@)
Sequence.Clear(268@)
Sequence.Clear(269@)

:RIOT2_18065
if 
  not Char.IsDead(70@)
goto_if_false @RIOT2_18089
Task.KillCharOnFoot(70@, $stattreadstamina_ctr)

:RIOT2_18089
if 
  not Char.IsDead(71@)
goto_if_false @RIOT2_18424
Char.SetStayInSamePlace(71@, True)
269@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_R", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
168@ = Math.RandomIntInRange(1500, 4000)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 168@)
Task.StayInSamePlace(-1, False)
Task.CharSlideToCoordAndPlayAnim(-1, 1864.1, -2107.4, 12.6, 275.0, -0.1, "SWT_WLLSHOOT_OUT_R", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(269@, True)
Sequence.Close(269@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1864.1, -2107.4, 12.6, MoveState.Run, -1)
Task.AchieveHeading(-1, 275.0)
Char.PerformSequence(-1, 269@)
Sequence.Close(268@)
Char.PerformSequence(71@, 268@)
Sequence.Clear(268@)
Sequence.Clear(269@)

:RIOT2_18424
if 
  not Char.IsDead(72@)
goto_if_false @RIOT2_18448
Task.KillCharOnFoot(72@, $stattreadstamina_ctr)

:RIOT2_18448
148@ = Math.RandomIntInRange(0, 2)
73@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1806.1, -2121.7, 12.5)
Char.SetHeading(73@, 357.8)
Char.GiveWeapon(73@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(73@, 266@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1837.5, -2102.3, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 275.0)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(73@, 268@)
Sequence.Clear(268@)
130@ = Blip.AddForChar(73@)
Blip.ChangeScale(130@, 1)
Char.SetAccuracy(73@, 181@)
148@ = Math.RandomIntInRange(0, 2)
74@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1801.5, -2120.7, 12.5)
Char.SetHeading(74@, 357.8)
Char.GiveWeapon(74@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(74@, 266@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1833.8, -2097.8, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 275.0)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(74@, 268@)
Sequence.Clear(268@)
131@ = Blip.AddForChar(74@)
Blip.ChangeScale(131@, 1)
Char.SetAccuracy(74@, 181@)
Char.AddArmor(74@, 50)
148@ = Math.RandomIntInRange(0, 2)
75@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1879.7, -2094.9, 12.5)
Char.SetHeading(75@, 180.0)
Char.GiveWeapon(75@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(75@, 266@)
Char.SetStayInSamePlace(75@, True)
Char.SetAccuracy(75@, 181@)
148@ = Math.RandomIntInRange(0, 2)
76@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1878.7, -2094.9, 12.5)
Char.SetHeading(76@, 180.0)
Char.GiveWeapon(76@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(76@, 266@)
Char.SetStayInSamePlace(76@, True)
Char.SetAccuracy(76@, 181@)
Char.AddArmor(76@, 50)
148@ = Math.RandomIntInRange(0, 2)
77@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1876.7, -2094.9, 12.5)
Char.SetHeading(77@, 180.0)
Char.GiveWeapon(77@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(77@, 266@)
Char.SetStayInSamePlace(77@, True)
Char.SetAccuracy(77@, 181@)
148@ = Math.RandomIntInRange(0, 2)
78@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1875.2, -2094.9, 12.5)
Char.SetHeading(78@, 180.0)
Char.GiveWeapon(78@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(78@, 266@)
Char.SetProofs(78@, True, True, True, True, True)
Char.SetStayInSamePlace(78@, True)
Char.SetAccuracy(78@, 181@)
Char.AddArmor(78@, 50)
Blip.Remove(89@)
89@ = Blip.AddForChar($ryder_car)
Blip.SetAsFriendly(89@, True)
Game.SetGunshotSenseRangeForRiot2(-1.0)
Game.ShutAllCharsUp(True)
Streaming.RemoveAnimation("CAR")
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.PrintNow('R2_05', 7000, 1)
if 
  144@ == 1
goto_if_false @RIOT2_19269
Camera.DoFade(500, Fade.In)

:RIOT2_19213
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_19237
wait 0
goto @RIOT2_19213

:RIOT2_19237
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_19269
goto @RIOT2_30241

:RIOT2_19269
143@ = 0
142@ = 4

:RIOT2_19283
if 
  142@ == 4
goto_if_false @RIOT2_21030
if 
  not Char.IsDead(69@)
goto_if_false @RIOT2_19400
if or
  Char.IsInArea2D($stattreadstamina_ctr, 1877.6, -2050.8, 1815.3, -2171.4, False)
  Char.HasBeenDamagedByChar(69@, $stattreadstamina_ctr)
goto_if_false @RIOT2_19400
$chickY = Char.GetScriptTaskStatus(69@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_19400
Task.KillCharOnFoot(69@, $stattreadstamina_ctr)

:RIOT2_19400
if 
  not Char.IsDead(71@)
goto_if_false @RIOT2_19499
if or
  Char.IsInArea2D($stattreadstamina_ctr, 1872.6, -2050.8, 1815.3, -2171.4, False)
  Char.HasBeenDamagedByChar(71@, $stattreadstamina_ctr)
goto_if_false @RIOT2_19499
$chickY = Char.GetScriptTaskStatus(71@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_19499
Task.KillCharOnFoot(71@, $stattreadstamina_ctr)

:RIOT2_19499
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_19572
180@ = Char.GetHealth($ryder_car)
if 
  50 > 180@
goto_if_false @RIOT2_19572
Task.DieNamedAnim($ryder_car, "KO_SHOT_STOM", "PED", 8.0, 0)

:RIOT2_19572
if 
  not Char.IsDead(34@)
goto_if_false @RIOT2_19645
180@ = Char.GetHealth(34@)
if 
  50 > 180@
goto_if_false @RIOT2_19645
Task.DieNamedAnim(34@, "KO_SHOT_STOM", "PED", 8.0, 0)

:RIOT2_19645
if 
  143@ == 0
goto_if_false @RIOT2_19736
$chickY = Char.GetScriptTaskStatus(36@, 1560)
if 
  not is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_19736
270@ = Char.GetSequenceProgress(36@)
if 
  270@ >= 3
goto_if_false @RIOT2_19736
Garage.Open('DUF_LAS')
143@ = 1

:RIOT2_19736
if 
  143@ == 1
goto_if_false @RIOT2_20402
$chickY = Char.GetScriptTaskStatus(36@, 1560)
if 
  not is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_20402
270@ = Char.GetSequenceProgress(36@)
if 
  270@ >= 5
goto_if_false @RIOT2_20402
if 
  not Char.IsDead(75@)
goto_if_false @RIOT2_19934
269@ = Sequence.Open()
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(269@)
268@ = Sequence.Open()
Task.KillCharOnFootTimed(-1, 36@, 3000)
Task.GoStraightToCoord(-1, 1872.8, -2096.1, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 275.0)
Char.PerformSequence(-1, 269@)
Sequence.Close(268@)
Char.PerformSequence(75@, 268@)
Sequence.Clear(268@)
Sequence.Clear(269@)
138@ = Blip.AddForChar(75@)
Blip.ChangeScale(138@, 1)

:RIOT2_19934
if 
  not Char.IsDead(76@)
goto_if_false @RIOT2_20083
Char.SetStayInSamePlace(76@, False)
268@ = Sequence.Open()
Task.KillCharOnFootTimed(-1, 36@, 3000)
Task.GoStraightToCoord(-1, 1872.8, -2096.1, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 275.0)
Task.PlayAnimNonInterruptable(-1, "CROUCH_ROLL_R", "PED", 8.0, False, True, True, False, -1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(76@, 268@)
Sequence.Clear(268@)
139@ = Blip.AddForChar(76@)
Blip.ChangeScale(139@, 1)

:RIOT2_20083
if 
  not Char.IsDead(77@)
goto_if_false @RIOT2_20213
Char.SetStayInSamePlace(77@, False)
268@ = Sequence.Open()
Task.KillCharOnFootTimed(-1, 36@, 3000)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(77@, 268@)
Sequence.Clear(268@)
Char.SetKindaStayInSamePlace(77@, True)
140@ = Blip.AddForChar(77@)
Blip.ChangeScale(140@, 1)

:RIOT2_20213
if 
  not Char.IsDead(78@)
goto_if_false @RIOT2_20358
Char.SetStayInSamePlace(78@, False)
Char.SetProofs(78@, False, False, False, False, False)
268@ = Sequence.Open()
Task.KillCharOnFootTimed(-1, 36@, 3000)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(78@, 268@)
Sequence.Clear(268@)
Char.SetKindaStayInSamePlace(78@, True)
141@ = Blip.AddForChar(78@)
Blip.ChangeScale(141@, 1)

:RIOT2_20358
Text.ClearPrints
185@ = 7
186@ = 0
gosub @RIOT2_40912
Char.SetBleeding(36@, True)
TIMERB = 0
143@ = 2

:RIOT2_20402
if 
  143@ == 2
goto_if_false @RIOT2_20453
if 
  TIMERB > 1000
goto_if_false @RIOT2_20453
Char.SetCollision(36@, False)
143@ = 3

:RIOT2_20453
if 
  143@ == 3
goto_if_false @RIOT2_20752
if 
  Char.IsDead(69@)
goto_if_false @RIOT2_20752
if 
  Char.IsDead(70@)
goto_if_false @RIOT2_20752
if 
  Char.IsDead(71@)
goto_if_false @RIOT2_20752
if 
  Char.IsDead(72@)
goto_if_false @RIOT2_20752
if 
  Char.IsDead(73@)
goto_if_false @RIOT2_20752
if 
  Char.IsDead(74@)
goto_if_false @RIOT2_20752
if 
  Char.IsDead(75@)
goto_if_false @RIOT2_20752
if 
  Char.IsDead(76@)
goto_if_false @RIOT2_20752
if 
  Char.IsDead(77@)
goto_if_false @RIOT2_20752
if 
  Char.IsDead(78@)
goto_if_false @RIOT2_20752
Blip.Remove(126@)
Blip.Remove(127@)
Blip.Remove(128@)
Blip.Remove(129@)
Blip.Remove(130@)
Blip.Remove(131@)
Blip.Remove(138@)
Blip.Remove(139@)
Blip.Remove(140@)
Blip.Remove(141@)
Char.MarkAsNoLongerNeeded(69@)
Char.MarkAsNoLongerNeeded(70@)
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(72@)
Char.MarkAsNoLongerNeeded(73@)
Char.MarkAsNoLongerNeeded(74@)
Char.MarkAsNoLongerNeeded(75@)
Char.MarkAsNoLongerNeeded(76@)
Char.MarkAsNoLongerNeeded(77@)
Char.MarkAsNoLongerNeeded(78@)
TIMERA = 0
143@ = 0
142@ = 5

:RIOT2_20752
if 
  Char.IsDead(69@)
goto_if_false @RIOT2_20778
Char.MarkAsNoLongerNeeded(69@)
Blip.Remove(126@)

:RIOT2_20778
if 
  Char.IsDead(70@)
goto_if_false @RIOT2_20804
Char.MarkAsNoLongerNeeded(70@)
Blip.Remove(127@)

:RIOT2_20804
if 
  Char.IsDead(71@)
goto_if_false @RIOT2_20830
Char.MarkAsNoLongerNeeded(71@)
Blip.Remove(128@)

:RIOT2_20830
if 
  Char.IsDead(72@)
goto_if_false @RIOT2_20856
Char.MarkAsNoLongerNeeded(72@)
Blip.Remove(129@)

:RIOT2_20856
if 
  Char.IsDead(73@)
goto_if_false @RIOT2_20882
Char.MarkAsNoLongerNeeded(73@)
Blip.Remove(130@)

:RIOT2_20882
if 
  Char.IsDead(74@)
goto_if_false @RIOT2_20908
Char.MarkAsNoLongerNeeded(74@)
Blip.Remove(131@)

:RIOT2_20908
if 
  143@ > 1
goto_if_false @RIOT2_21030
if 
  Char.IsDead(75@)
goto_if_false @RIOT2_20952
Char.MarkAsNoLongerNeeded(75@)
Blip.Remove(138@)

:RIOT2_20952
if 
  Char.IsDead(76@)
goto_if_false @RIOT2_20978
Char.MarkAsNoLongerNeeded(76@)
Blip.Remove(139@)

:RIOT2_20978
if 
  Char.IsDead(77@)
goto_if_false @RIOT2_21004
Char.MarkAsNoLongerNeeded(77@)
Blip.Remove(140@)

:RIOT2_21004
if 
  Char.IsDead(78@)
goto_if_false @RIOT2_21030
Char.MarkAsNoLongerNeeded(78@)
Blip.Remove(141@)

:RIOT2_21030
if 
  142@ == 5
goto_if_false @RIOT2_24541
if 
  143@ == 0
goto_if_false @RIOT2_21495
if 
  TIMERA > 2000
goto_if_false @RIOT2_21495
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Car.Delete(68@)
World.ClearArea(1905.1, -2103.9, 12.5, 60.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 1905.1, -2103.9, 12.5)
Char.SetHeading($stattreadstamina_ctr, 80.2)
Char.ClearTasks($ryder_car)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1897.8, -2099.5, 12.5, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 1890.8, -2099.5, 12.5, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 1877.2, -2101.2, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 110.0)
Sequence.Close(268@)
Char.PerformSequence($ryder_car, 268@)
Sequence.Clear(268@)
Char.ClearTasksImmediately(34@)
Char.SetCoordinates(34@, 1900.4, -2098.2, 12.5)
Char.SetHeading(34@, 92.3)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1875.7, -2102.4, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 95.0)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Sequence.Close(268@)
Char.PerformSequence(34@, 268@)
Sequence.Clear(268@)
144@ = 1
skip_cutscene_start_internal @RIOT2_21846
Camera.SetFixedPosition(1900.4, -2099.6, 12.8, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1879.4, -2107.7, 17.9, SwitchType.JumpCut)
TIMERA = 0
143@ = 1

:RIOT2_21495
if 
  143@ == 1
goto_if_false @RIOT2_21784
if 
  TIMERA > 3000
goto_if_false @RIOT2_21784
Char.ClearTasksImmediately(34@)
Char.SetCoordinates(34@, 1875.7, -2102.4, 12.5)
Char.SetHeading(34@, 95.0)
Task.PlayAnim(34@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Char.SetCoordinates($ryder_car, 1881.2, -2099.6, 12.5)
Char.SetHeading($ryder_car, 69.4)
Char.SetCoordinates($stattreadstamina_ctr, 1886.2, -2099.6, 12.5)
Char.SetHeading($stattreadstamina_ctr, 69.4)
Task.GoStraightToCoord($stattreadstamina_ctr, 1877.6, -2099.8, 12.5, MoveState.Walk, -1)
gosub @RIOT2_38067
Camera.SetFixedPosition(1880.2, -2103.1, 14.46, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1874.3, -2100.77, 12.8, SwitchType.JumpCut)
185@ = 8
186@ = 0
gosub @RIOT2_40912
TIMERA = 0
143@ = 2

:RIOT2_21784
if 
  143@ == 2
goto_if_false @RIOT2_24541
if 
  185@ == 0
goto_if_false @RIOT2_24541
if 
  TIMERA > 8000
goto_if_false @RIOT2_24541
144@ = 0

:RIOT2_21846
skip_cutscene_end 
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_21880
goto @RIOT2_30241

:RIOT2_21880
if 
  144@ == 1
goto_if_false @RIOT2_22870
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
Camera.DoFade(500, Fade.Out)

:RIOT2_21922
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_21946
wait 0
goto @RIOT2_21922

:RIOT2_21946
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_21978
goto @RIOT2_30241

:RIOT2_21978
gosub @RIOT2_38067
Char.ClearTasksImmediately(34@)
Char.SetCoordinates(34@, 1875.7, -2102.4, 12.5)
Char.SetHeading(34@, 95.0)
Task.PlayAnim(34@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, 1881.2, -2099.6, 12.5)
Char.SetHeading($ryder_car, 69.4)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1879.7, -2101.7, 12.5)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Char.ClearTasksImmediately(79@)
Char.SetDecisionMaker(79@, 265@)
Char.SetCoordinates(79@, 1861.1, -2096.9, 12.5)
Char.SetHeading(79@, 270.3)
$chickY = Char.GetScriptTaskStatus(80@, 1560)
if 
  not is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_22344
Char.ClearTasksImmediately(80@)
Task.PlayAnim(80@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
268@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Climb(-1, True)
Task.ShootAtCoord(-1, 1874.4, -2101.5, 14.8, 2000)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(80@, 268@)
Sequence.Clear(268@)

:RIOT2_22344
$chickY = Char.GetScriptTaskStatus(81@, 1560)
if 
  not is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_22522
Char.ClearTasksImmediately(81@)
Task.PlayAnim(81@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
268@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Pause(-1, 2000)
Task.Climb(-1, True)
Task.ShootAtCoord(-1, 1874.4, -2101.5, 14.8, 2000)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(81@, 268@)
Sequence.Clear(268@)

:RIOT2_22522
Char.ClearTasksImmediately(82@)
Char.SetDecisionMaker(82@, 265@)
Char.SetCoordinates(82@, 1859.1, -2106.0, 14.0)
Char.SetHeading(82@, 264.4)
$chickY = Char.GetScriptTaskStatus(83@, 1560)
if 
  not is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_22714
Char.ClearTasksImmediately(83@)
Task.PlayAnim(83@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
268@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Climb(-1, True)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(83@, 268@)
Sequence.Clear(268@)

:RIOT2_22714
$chickY = Char.GetScriptTaskStatus(84@, 1560)
if 
  not is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_22870
Char.ClearTasksImmediately(84@)
Task.PlayAnim(84@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
268@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Pause(-1, 3000)
Task.Climb(-1, True)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(84@, 268@)
Sequence.Clear(268@)

:RIOT2_22870
DecisionMakerChar.AddEventResponse(265@, 36, 1000, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(265@, 37, 1000, 0.0, 100.0, 0.0, 0.0, False, True)
85@ = Pickup.Create(#HEALTH, PickupType.OnStreetSlow, 1875.6, -2091.4, 13.5)
86@ = Pickup.CreateWithAmmo(372, PickupType.OnStreetSlow, 48, 1878.3, -2091.1, 13.5)
269@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_R", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
168@ = Math.RandomIntInRange(1500, 4000)
Task.ShootAtCoord(-1, 1864.9, -2101.2, 14.0, 168@)
Task.StayInSamePlace(-1, False)
Task.CharSlideToCoordAndPlayAnim(-1, 1874.9, -2096.5, 12.5, 75.0, -0.1, "SWT_WLLSHOOT_OUT_R", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(269@, True)
Sequence.Close(269@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1874.9, -2096.5, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 75.0)
Char.PerformSequence(-1, 269@)
Sequence.Close(268@)
Char.PerformSequence($ryder_car, 268@)
Sequence.Clear(268@)
Sequence.Clear(269@)
269@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_L", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
168@ = Math.RandomIntInRange(1500, 4000)
Task.ShootAtCoord(-1, 1862.6, -2104.1, 14.0, 168@)
Task.StayInSamePlace(-1, False)
Task.CharSlideToCoordAndPlayAnim(-1, 1873.3, -2107.4, 12.5, 98.8, -0.1, "SWT_WLLSHOOT_OUT_L", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(269@, True)
Sequence.Close(269@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1873.3, -2107.4, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 98.8)
Char.PerformSequence(-1, 269@)
Sequence.Close(268@)
Char.PerformSequence(34@, 268@)
Sequence.Clear(268@)
Sequence.Clear(269@)
Char.GiveWeapon(35@, WeaponType.RocketLauncher, 1)
269@ = Sequence.Open()
Task.PlayAnim(-1, "GUN_STAND", "PED", 8.0, False, False, False, False, 10)
168@ = Math.RandomIntInRange(1500, 4000)
Task.ShootAtCoord(-1, 1878.7, -2105.5, 14.6, 168@)
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
168@ = Math.RandomIntInRange(1500, 4000)
Task.Pause(-1, 168@)
Sequence.SetToRepeat(269@, True)
Sequence.Close(269@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1898.7, -2106.1, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 90.0)
Task.ShootAtCoord(-1, 1852.1, -2096.6, 16.5, 10)
Char.PerformSequence(-1, 269@)
Sequence.Close(268@)
Char.PerformSequence(35@, 268@)
Sequence.Clear(268@)
Sequence.Clear(269@)
148@ = Math.RandomIntInRange(0, 2)
69@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1913.7, -2109.2, 12.6)
Char.SetHeading(69@, 90.5)
Char.GiveWeapon(69@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(69@, 266@)
Char.SetStayInSamePlace(69@, True)
Char.SetProofs(69@, True, True, True, True, True)
Char.SetAccuracy(69@, 181@)
Char.AddArmor(69@, 50)
148@ = Math.RandomIntInRange(0, 2)
70@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1916.5, -2113.1, 12.6)
Char.SetHeading(70@, 20.1)
Char.GiveWeapon(70@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(70@, 266@)
Char.SetStayInSamePlace(70@, True)
Char.SetProofs(70@, True, True, True, True, True)
Char.SetAccuracy(70@, 181@)
148@ = Math.RandomIntInRange(0, 2)
73@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1806.1, -2121.7, 12.5)
Char.SetHeading(73@, 357.8)
Char.GiveWeapon(73@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(73@, 265@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1837.5, -2102.3, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 275.0)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(73@, 268@)
Sequence.Clear(268@)
Blip.Remove(130@)
130@ = Blip.AddForChar(73@)
Blip.ChangeScale(130@, 1)
Char.SetAccuracy(73@, 181@)
148@ = Math.RandomIntInRange(0, 2)
74@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1801.5, -2120.7, 12.5)
Char.SetHeading(74@, 357.8)
Char.GiveWeapon(74@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(74@, 265@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1833.8, -2097.8, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 275.0)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(74@, 268@)
Sequence.Clear(268@)
Blip.Remove(131@)
131@ = Blip.AddForChar(74@)
Blip.ChangeScale(131@, 1)
Char.SetAccuracy(74@, 181@)
Char.AddArmor(74@, 50)
Game.ShutAllCharsUp(False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.PrintNow('R2_06', 4000, 1)
if 
  144@ == 1
goto_if_false @RIOT2_24520
Camera.DoFade(500, Fade.In)

:RIOT2_24464
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_24488
wait 0
goto @RIOT2_24464

:RIOT2_24488
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_24520
goto @RIOT2_30241

:RIOT2_24520
TIMERA = 0
143@ = 0
142@ = 6

:RIOT2_24541
if 
  142@ == 6
goto_if_false @RIOT2_26110
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_24632
180@ = Char.GetHealth($ryder_car)
if 
  50 > 180@
goto_if_false @RIOT2_24632
Task.DieNamedAnim($ryder_car, "KO_SHOT_STOM", "PED", 8.0, 0)

:RIOT2_24632
if 
  not Char.IsDead(34@)
goto_if_false @RIOT2_24705
180@ = Char.GetHealth(34@)
if 
  50 > 180@
goto_if_false @RIOT2_24705
Task.DieNamedAnim(34@, "KO_SHOT_STOM", "PED", 8.0, 0)

:RIOT2_24705
if 
  169@ == 0
goto_if_false @RIOT2_24879
if 
  Char.IsDead(79@)
goto_if_false @RIOT2_24826
if 
  Char.IsDead(80@)
goto_if_false @RIOT2_24826
if 
  Char.IsDead(81@)
goto_if_false @RIOT2_24826
if 
  Char.IsDead(82@)
goto_if_false @RIOT2_24826
if 
  Char.IsDead(83@)
goto_if_false @RIOT2_24826
if 
  Char.IsDead(84@)
goto_if_false @RIOT2_24826
169@ = 1

:RIOT2_24826
if or
  TIMERA > 15000
  Char.IsInArea2D($stattreadstamina_ctr, 1893.6, -2043.3, 1888.1, -2175.6, False)
goto_if_false @RIOT2_24879
169@ = 1

:RIOT2_24879
if 
  169@ == 1
goto_if_false @RIOT2_25014
185@ = 9
186@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 188@ = 186@
188@ += 1
gosub @RIOT2_40912
if 
  not Char.IsDead(69@)
goto_if_false @RIOT2_24971
Blip.Remove(126@)
126@ = Blip.AddForChar(69@)
Blip.ChangeScale(126@, 1)

:RIOT2_24971
if 
  not Char.IsDead(70@)
goto_if_false @RIOT2_25007
Blip.Remove(127@)
127@ = Blip.AddForChar(70@)
Blip.ChangeScale(127@, 1)

:RIOT2_25007
169@ = 2

:RIOT2_25014
if 
  169@ == 2
goto_if_false @RIOT2_25444
if 
  Char.IsOnScreen(35@)
goto_if_false @RIOT2_25444
if 
  not Char.IsDead(69@)
goto_if_false @RIOT2_25163
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1913.5, -2106.1, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 90.0)
Task.ShootAtCoord(-1, 1900.8, -2106.2, 12.6, 1500)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(69@, 268@)
Sequence.Clear(268@)
Char.SetProofs(69@, False, False, False, False, False)

:RIOT2_25163
if 
  not Char.IsDead(70@)
goto_if_false @RIOT2_25278
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1914.2, -2104.2, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 90.0)
Task.ShootAtCoord(-1, 1900.8, -2106.2, 12.6, 1500)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(70@, 268@)
Sequence.Clear(268@)
Char.SetProofs(70@, False, False, False, False, False)

:RIOT2_25278
Char.GiveWeapon(35@, WeaponType.RocketLauncher, 1)
268@ = Sequence.Open()
Task.AchieveHeading(-1, 269.0)
Task.Pause(-1, 200)
Task.ShootAtCoord(-1, 1951.1, -2103.9, 19.3, 500)
Task.PlayAnimNonInterruptable(-1, "KO_SHOT_FACE", "PED", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "CRCKIDLE1", "CRACK", 1000.0, True, False, False, False, -1)
Sequence.Close(268@)
Char.PerformSequence(35@, 268@)
Sequence.Clear(268@)
Char.SetBleeding(35@, True)
TIMERA = 0
169@ = 3

:RIOT2_25444
if 
  143@ == 0
goto_if_false @RIOT2_25749
if 
  Char.IsDead(79@)
goto_if_false @RIOT2_25749
if 
  Char.IsDead(80@)
goto_if_false @RIOT2_25749
if 
  Char.IsDead(81@)
goto_if_false @RIOT2_25749
if 
  Char.IsDead(82@)
goto_if_false @RIOT2_25749
if 
  Char.IsDead(83@)
goto_if_false @RIOT2_25749
if 
  Char.IsDead(84@)
goto_if_false @RIOT2_25749
if 
  Char.IsDead(73@)
goto_if_false @RIOT2_25749
if 
  Char.IsDead(74@)
goto_if_false @RIOT2_25749
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1895.3, -2102.2, 12.6, MoveState.Run, -1)
Task.AchieveHeading(-1, 274.7)
Task.ShootAtCoord(-1, 1913.5, -2104.4, 13.9, -2)
Sequence.Close(268@)
Char.PerformSequence($ryder_car, 268@)
Sequence.Clear(268@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1895.6, -2104.2, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 271.0)
Task.ShootAtCoord(-1, 1912.9, -2106.4, 13.9, -2)
Sequence.Close(268@)
Char.PerformSequence(34@, 268@)
Sequence.Clear(268@)
143@ = 1

:RIOT2_25749
if 
  143@ == 1
goto_if_false @RIOT2_25850
if 
  Char.IsDead(69@)
goto_if_false @RIOT2_25850
if 
  Char.IsDead(70@)
goto_if_false @RIOT2_25850
Char.MarkAsNoLongerNeeded(69@)
Char.MarkAsNoLongerNeeded(70@)
Char.MarkAsNoLongerNeeded(73@)
Char.MarkAsNoLongerNeeded(74@)
Streaming.RemoveAnimation("CASINO")
TIMERA = 0
143@ = 0
142@ = 7

:RIOT2_25850
if 
  Char.IsDead(69@)
goto_if_false @RIOT2_25876
Char.MarkAsNoLongerNeeded(69@)
Blip.Remove(126@)

:RIOT2_25876
if 
  Char.IsDead(70@)
goto_if_false @RIOT2_25902
Char.MarkAsNoLongerNeeded(70@)
Blip.Remove(127@)

:RIOT2_25902
if 
  Char.IsDead(73@)
goto_if_false @RIOT2_25928
Char.MarkAsNoLongerNeeded(73@)
Blip.Remove(130@)

:RIOT2_25928
if 
  Char.IsDead(74@)
goto_if_false @RIOT2_25954
Char.MarkAsNoLongerNeeded(74@)
Blip.Remove(131@)

:RIOT2_25954
if 
  Char.IsDead(79@)
goto_if_false @RIOT2_25980
Char.MarkAsNoLongerNeeded(79@)
Blip.Remove(132@)

:RIOT2_25980
if 
  Char.IsDead(80@)
goto_if_false @RIOT2_26006
Char.MarkAsNoLongerNeeded(80@)
Blip.Remove(133@)

:RIOT2_26006
if 
  Char.IsDead(81@)
goto_if_false @RIOT2_26032
Char.MarkAsNoLongerNeeded(81@)
Blip.Remove(134@)

:RIOT2_26032
if 
  Char.IsDead(82@)
goto_if_false @RIOT2_26058
Char.MarkAsNoLongerNeeded(82@)
Blip.Remove(135@)

:RIOT2_26058
if 
  Char.IsDead(83@)
goto_if_false @RIOT2_26084
Char.MarkAsNoLongerNeeded(83@)
Blip.Remove(136@)

:RIOT2_26084
if 
  Char.IsDead(84@)
goto_if_false @RIOT2_26110
Char.MarkAsNoLongerNeeded(84@)
Blip.Remove(137@)

:RIOT2_26110
if 
  142@ == 7
goto_if_false @RIOT2_28983
if 
  143@ == 0
goto_if_false @RIOT2_27274
if 
  TIMERA > 2000
goto_if_false @RIOT2_27274
Camera.DoFade(500, Fade.Out)

:RIOT2_26172
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_26196
wait 0
goto @RIOT2_26172

:RIOT2_26196
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_26228
goto @RIOT2_30241

:RIOT2_26228
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.ShutAllCharsUp(True)
Streaming.RemoveAnimation("SWAT")
Streaming.RequestModel(361)
DecisionMakerChar.ClearEventResponse(265@, 36)
DecisionMakerChar.ClearEventResponse(265@, 37)
Streaming.LoadScene(1855.5, -2101.8, 12.5)
69@ = Char.Create(PedType.Mission2, 108, 1805.0, -2126.0, 17.8)
Char.SetHeading(69@, 306.5)
Char.SetStayInSamePlace(69@, True)
Char.AddArmor(69@, 100)
Char.SetSuffersCriticalHits(69@, False)
Char.GiveWeapon(69@, WeaponType.RocketLauncher, 30000)
Char.SetDecisionMaker(69@, 266@)
90@ = Blip.AddForChar(69@)
Blip.ChangeScale(90@, 1)
Char.SetAccuracy(69@, 181@)
Char.AddArmor(69@, 100)
148@ = Math.RandomIntInRange(0, 2)
70@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1811.8, -2124.0, 12.6)
Char.SetHeading(70@, 287.5)
Char.SetStayInSamePlace(70@, True)
Char.GiveWeapon(70@, WeaponType.Flamethrower, 30000)
Char.SetDecisionMaker(70@, 266@)
91@ = Blip.AddForChar(70@)
Blip.ChangeScale(91@, 1)
Char.SetAccuracy(70@, 181@)
148@ = Math.RandomIntInRange(0, 2)
71@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1795.0, -2126.7, 12.5)
Char.SetHeading(71@, 358.6)
Char.GiveWeapon(71@, WeaponType.Tec9, 3000)
Char.SetKindaStayInSamePlace(71@, True)
Char.SetDecisionMaker(71@, 266@)
92@ = Blip.AddForChar(71@)
Blip.ChangeScale(92@, 1)
Char.SetAccuracy(71@, 181@)
148@ = Math.RandomIntInRange(0, 2)
72@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1795.0, -2130.7, 12.5)
Char.SetHeading(72@, 357.8)
Char.GiveWeapon(72@, WeaponType.Tec9, 3000)
Char.SetKindaStayInSamePlace(72@, True)
Char.SetDecisionMaker(72@, 266@)
93@ = Blip.AddForChar(72@)
Blip.ChangeScale(93@, 1)
Char.SetAccuracy(72@, 181@)
148@ = Math.RandomIntInRange(0, 2)
73@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1806.1, -2121.7, 12.5)
Char.SetHeading(73@, 357.8)
Char.GiveWeapon(73@, WeaponType.Tec9, 3000)
Char.SetStayInSamePlace(73@, True)
Char.SetDecisionMaker(73@, 266@)
94@ = Blip.AddForChar(73@)
Blip.ChangeScale(94@, 1)
Char.SetAccuracy(73@, 181@)
Char.AddArmor(73@, 100)
148@ = Math.RandomIntInRange(0, 2)
74@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1801.5, -2120.7, 12.5)
Char.SetHeading(74@, 357.8)
Char.GiveWeapon(74@, WeaponType.Tec9, 3000)
Char.SetStayInSamePlace(74@, True)
Char.SetDecisionMaker(74@, 266@)
95@ = Blip.AddForChar(74@)
Blip.ChangeScale(95@, 1)
Char.SetAccuracy(74@, 181@)
Char.AddArmor(74@, 100)
World.ClearArea(1855.5, -2101.8, 12.5, 30.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1855.5, -2101.8, 12.5)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Task.GoStraightToCoord($stattreadstamina_ctr, 1846.6, -2102.8, 12.5, MoveState.Walk, -1)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, 1855.5, -2102.8, 12.5)
Char.SetHeading($ryder_car, 90.0)
Task.GoStraightToCoord($ryder_car, 1846.6, -2102.8, 12.5, MoveState.Walk, -1)
Char.ClearTasksImmediately(34@)
Char.SetCoordinates(34@, 1855.5, -2100.8, 12.5)
Char.SetHeading(34@, 90.0)
Task.GoStraightToCoord(34@, 1846.6, -2100.8, 12.5, MoveState.Walk, -1)
Camera.SetFixedPosition(1846.6, -2101.8, 13.88, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1853.9, -2101.4, 12.7, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:RIOT2_27169
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_27193
wait 0
goto @RIOT2_27169

:RIOT2_27193
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_27225
goto @RIOT2_30241

:RIOT2_27225
144@ = 1
skip_cutscene_start_internal @RIOT2_27824
185@ = 10
186@ = 0
gosub @RIOT2_40912
TIMERA = 0
143@ = 1

:RIOT2_27274
if 
  143@ == 1
goto_if_false @RIOT2_27575
if 
  185@ == 0
goto_if_false @RIOT2_27575
if 
  TIMERA > 4000
goto_if_false @RIOT2_27575
Camera.DoFade(500, Fade.Out)

:RIOT2_27336
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_27360
wait 0
goto @RIOT2_27336

:RIOT2_27360
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_27392
goto @RIOT2_30241

:RIOT2_27392
Streaming.LoadScene(1809.8, -2123.4, 12.7)
Camera.SetFixedPosition(1816.2, -2116.8, 13.16, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1808.6, -2123.8, 15.0, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:RIOT2_27467
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_27491
wait 0
goto @RIOT2_27467

:RIOT2_27491
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_27523
goto @RIOT2_30241

:RIOT2_27523
185@ = 11
186@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 188@ = 186@
188@ += 1
gosub @RIOT2_40912
TIMERA = 0
143@ = 2

:RIOT2_27575
if 
  143@ == 2
goto_if_false @RIOT2_27762
if 
  185@ == 0
goto_if_false @RIOT2_27762
if 
  TIMERA > 4000
goto_if_false @RIOT2_27762
Camera.SetFixedPosition(1816.2, -2116.8, 13.16, 0.0, 0.0, 0.0)
if 
  not Char.IsDead(70@)
goto_if_false @RIOT2_27710
Camera.PointAtChar(70@, CameraMode.Fixed, SwitchType.Interpolation)
Task.ShootAtCoord(70@, 1831.6, -2118.9, 12.5, 4000)

:RIOT2_27710
185@ = 12
186@ = Math.RandomIntInRange(0, 3)
set_lvar_int_to_lvar_int 188@ = 186@
188@ += 1
gosub @RIOT2_40912
TIMERA = 0
143@ = 3

:RIOT2_27762
if 
  143@ == 3
goto_if_false @RIOT2_28983
if 
  185@ == 0
goto_if_false @RIOT2_28983
if 
  TIMERA > 4000
goto_if_false @RIOT2_28983
144@ = 0

:RIOT2_27824
skip_cutscene_end 
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_27858
goto @RIOT2_30241

:RIOT2_27858
if 
  144@ == 1
goto_if_false @RIOT2_27956
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
Camera.DoFade(500, Fade.Out)

:RIOT2_27900
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_27924
wait 0
goto @RIOT2_27900

:RIOT2_27924
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_27956
goto @RIOT2_30241

:RIOT2_27956
if 
  not Char.IsDead(69@)
goto_if_false @RIOT2_28176
268@ = Sequence.Open()
Task.ShootAtCoord(-1, 1832.7, -2090.1, 14.1, 500)
Task.PlayAnim(-1, "GUN_STAND", "PED", 8.0, False, False, False, False, 1000)
Task.ShootAtCoord(-1, 1853.6, -2087.0, 20.5, 500)
Task.PlayAnim(-1, "GUN_STAND", "PED", 8.0, False, False, False, True, 1000)
Task.ShootAtCoord(-1, 1819.5, -2113.1, 12.9, 500)
Task.PlayAnim(-1, "GUN_STAND", "PED", 8.0, False, False, False, False, 1000)
Sequence.SetToRepeat(268@, True)
Sequence.Close(268@)
Char.PerformSequence(69@, 268@)
Sequence.Clear(268@)

:RIOT2_28176
if 
  not Char.IsDead(70@)
goto_if_false @RIOT2_28251
268@ = Sequence.Open()
Task.ShootAtCoord(-1, 1831.6, -2118.9, 12.5, 2000)
Task.Pause(-1, 2000)
Sequence.SetToRepeat(268@, True)
Sequence.Close(268@)
Char.PerformSequence(70@, 268@)
Sequence.Clear(268@)

:RIOT2_28251
if 
  not Char.IsDead(71@)
goto_if_false @RIOT2_28335
268@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.GoStraightToCoord(-1, 1795.0, -2106.7, 12.5, MoveState.Walk, -1)
Task.AchieveHeading(-1, 277.9)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(71@, 268@)
Sequence.Clear(268@)

:RIOT2_28335
if 
  not Char.IsDead(72@)
goto_if_false @RIOT2_28419
268@ = Sequence.Open()
Task.ToggleDuck(-1, True)
Task.GoStraightToCoord(-1, 1792.0, -2103.7, 12.5, MoveState.Walk, -1)
Task.AchieveHeading(-1, 277.9)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(72@, 268@)
Sequence.Clear(268@)

:RIOT2_28419
if 
  not Char.IsDead(73@)
goto_if_false @RIOT2_28488
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1809.4, -2116.3, 12.5, MoveState.Run, -1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(73@, 268@)
Sequence.Clear(268@)

:RIOT2_28488
if 
  not Char.IsDead(74@)
goto_if_false @RIOT2_28557
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1809.4, -2111.8, 12.5, MoveState.Run, -1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(74@, 268@)
Sequence.Clear(268@)

:RIOT2_28557
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1833.9, -2104.2, 12.5)
Char.SetHeading($stattreadstamina_ctr, 122.4)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, 1833.0, -2106.6, 12.5)
Char.SetHeading($ryder_car, 122.3)
Char.SetStayInSamePlace($ryder_car, True)
Char.SetDecisionMaker($ryder_car, 265@)
Char.ClearTasksImmediately(34@)
Char.SetCoordinates(34@, 1834.4, -2102.0, 12.5)
Char.SetHeading(34@, 99.6)
Char.SetStayInSamePlace(34@, True)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1814.1, -2102.4, 12.5, MoveState.Run, -1)
Task.AchieveHeading(-1, 112.7)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(34@, 268@)
Sequence.Clear(268@)
Char.MarkAsNoLongerNeeded(79@)
Char.MarkAsNoLongerNeeded(80@)
Char.MarkAsNoLongerNeeded(81@)
Char.MarkAsNoLongerNeeded(82@)
Char.MarkAsNoLongerNeeded(83@)
Char.MarkAsNoLongerNeeded(84@)
DecisionMakerChar.AddEventResponse(265@, 36, 1000, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse(265@, 37, 1000, 0.0, 100.0, 0.0, 0.0, False, True)
Game.ShutAllCharsUp(False)
Hud.SwitchWidescreen(False)
Player.MakeGangReappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.PrintNow('R2_07', 4000, 1)
if 
  144@ == 1
goto_if_false @RIOT2_28969
Camera.DoFade(500, Fade.In)

:RIOT2_28913
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_28937
wait 0
goto @RIOT2_28913

:RIOT2_28937
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_28969
goto @RIOT2_30241

:RIOT2_28969
143@ = 0
142@ = 8

:RIOT2_28983
if 
  142@ == 8
goto_if_false @RIOT2_30227
if 
  143@ == 0
goto_if_false @RIOT2_29255
if 
  Char.IsDead(69@)
goto_if_false @RIOT2_29040
Blip.Remove(90@)

:RIOT2_29040
if 
  Char.IsDead(70@)
goto_if_false @RIOT2_29061
Blip.Remove(91@)

:RIOT2_29061
if 
  Char.IsDead(71@)
goto_if_false @RIOT2_29082
Blip.Remove(92@)

:RIOT2_29082
if 
  Char.IsDead(72@)
goto_if_false @RIOT2_29103
Blip.Remove(93@)

:RIOT2_29103
if 
  Char.IsDead(73@)
goto_if_false @RIOT2_29124
Blip.Remove(94@)

:RIOT2_29124
if 
  Char.IsDead(74@)
goto_if_false @RIOT2_29145
Blip.Remove(95@)

:RIOT2_29145
if 
  Char.IsDead(69@)
goto_if_false @RIOT2_29255
if 
  Char.IsDead(70@)
goto_if_false @RIOT2_29255
if 
  Char.IsDead(71@)
goto_if_false @RIOT2_29255
if 
  Char.IsDead(72@)
goto_if_false @RIOT2_29255
if 
  Char.IsDead(73@)
goto_if_false @RIOT2_29255
if 
  Char.IsDead(74@)
goto_if_false @RIOT2_29255
TIMERA = 0
143@ = 1

:RIOT2_29255
if 
  143@ == 1
goto_if_false @RIOT2_29850
if 
  TIMERA > 2000
goto_if_false @RIOT2_29850
Camera.DoFade(500, Fade.Out)

:RIOT2_29299
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_29323
wait 0
goto @RIOT2_29299

:RIOT2_29323
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_29355
goto @RIOT2_30241

:RIOT2_29355
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
185@ = 0
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.MakeGangDisappear
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.ShutAllCharsUp(True)
Streaming.LoadScene(1814.9, -2112.1, 12.4)
World.ClearArea(1814.9, -2112.1, 12.4, 30.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 1814.9, -2112.1, 12.4)
Char.SetHeading($stattreadstamina_ctr, 127.9)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1807.8, -2122.0, 12.5, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, $ryder_car)
Sequence.Close(268@)
Char.PerformSequence($stattreadstamina_ctr, 268@)
Sequence.Clear(268@)
Char.ClearTasksImmediately($ryder_car)
Char.SetCoordinates($ryder_car, 1812.4, -2111.3, 12.4)
Char.SetHeading($ryder_car, 127.9)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1804.8, -2120.2, 12.5, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence($ryder_car, 268@)
Sequence.Clear(268@)
Char.ClearTasksImmediately(34@)
Char.SetCoordinates(34@, 1810.4, -2111.0, 12.4)
Char.SetHeading(34@, 135.1)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1807.0, -2118.8, 12.5, MoveState.Walk, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence(34@, 268@)
Sequence.Clear(268@)
Camera.SetFixedPosition(1812.6, -2114.5, 13.0, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1804.5, -2123.6, 15.0, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:RIOT2_29759
if 
  Camera.GetFadingStatus
goto_if_false @RIOT2_29783
wait 0
goto @RIOT2_29759

:RIOT2_29783
gosub @RIOT2_31066
if 
  145@ == 1
goto_if_false @RIOT2_29815
goto @RIOT2_30241

:RIOT2_29815
185@ = 13
186@ = 0
188@ = 4
gosub @RIOT2_40912
143@ = 2

:RIOT2_29850
if 
  143@ == 2
goto_if_false @RIOT2_29981
if 
  185@ == 0
goto_if_false @RIOT2_29981
268@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $ryder_car)
Sequence.Close(268@)
Char.PerformSequence($stattreadstamina_ctr, 268@)
Sequence.Clear(268@)
268@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.Close(268@)
Char.PerformSequence($ryder_car, 268@)
Sequence.Clear(268@)
185@ = 13
186@ = 4
188@ = 8
gosub @RIOT2_40912
143@ = 3

:RIOT2_29981
if 
  143@ == 3
goto_if_false @RIOT2_30169
if 
  185@ == 0
goto_if_false @RIOT2_30169
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1794.8, -2124.5, 12.5, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 1794.8, -2137.2, 12.5, MoveState.Walk, -1)
Sequence.Close(268@)
Char.PerformSequence($ryder_car, 268@)
Sequence.Clear(268@)
268@ = Sequence.Open()
Task.GoStraightToCoord(-1, 1794.8, -2122.5, 12.4, MoveState.Walk, -1)
Task.GoStraightToCoord(-1, 1794.8, -2137.2, 12.5, MoveState.Walk, -1)
Sequence.Close(268@)
Char.PerformSequence(34@, 268@)
Sequence.Clear(268@)
TIMERA = 0
143@ = 4

:RIOT2_30169
if 
  143@ == 4
goto_if_false @RIOT2_30227
if 
  TIMERA > 3000
goto_if_false @RIOT2_30227
Game.ShutAllCharsUp(False)
Char.Delete($ryder_car)
Char.Delete(34@)
goto @RIOT2_30259

:RIOT2_30227
gosub @RIOT2_39478
goto @RIOT2_1585

:RIOT2_30241
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:RIOT2_30259
$mansionX += 1
Text.PrintWithNumberBig('M_PASSR', 60, 5000, TextStyle.Middle)
Stat.AwardPlayerMissionRespect(60)
Blip.Remove($intro_contact_blip)
Zone.SetGangStrength('ELCO1', GangType.Aztecas, 40)
Zone.SetGangStrength('ELCO2', GangType.Aztecas, 40)
Zone.SetGangStrength('ELCO1', GangType.Vagos, 0)
Zone.SetGangStrength('ELCO2', GangType.Vagos, 0)
Zone.SetGangStrength('ELCO1', GangType.Grove, 0)
Zone.SetGangStrength('ELCO2', GangType.Grove, 0)
Zone.SetGangStrength('LMEX1A', GangType.Aztecas, 40)
Zone.SetGangStrength('LMEX1B', GangType.Aztecas, 40)
Zone.SetGangStrength('LMEX1A', GangType.Vagos, 0)
Zone.SetGangStrength('LMEX1B', GangType.Vagos, 0)
Zone.SetGangStrength('LMEX1A', GangType.Grove, 0)
Zone.SetGangStrength('LMEX1B', GangType.Grove, 0)
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('RIOT_2')
Stat.PlayerMadeProgress(1)
return 

:RIOT2_30499
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @RIOT2_30517
Camera.RestoreJumpcut

:RIOT2_30517
Zone.SetNoCops('ELCO', False)
if 
  not Char.IsDead(36@)
goto_if_false @RIOT2_30558
Char.SetCollision(36@, True)
Char.RemoveElegantly(36@)

:RIOT2_30558
start_new_script @DOORS 
Streaming.MarkModelAsNoLongerNeeded(114)
Streaming.MarkModelAsNoLongerNeeded(115)
Streaming.MarkModelAsNoLongerNeeded(116)
Streaming.MarkModelAsNoLongerNeeded(108)
Streaming.MarkModelAsNoLongerNeeded(109)
Game.SwitchEmergencyServices(True)
Streaming.MarkModelAsNoLongerNeeded(339)
Streaming.MarkModelAsNoLongerNeeded(348)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.MarkModelAsNoLongerNeeded(359)
Streaming.MarkModelAsNoLongerNeeded(361)
Streaming.MarkModelAsNoLongerNeeded(466)
Streaming.MarkModelAsNoLongerNeeded(#BBALL_INGAME)
Path.SwitchPedRoadsBackToOriginal(1945.8, -1956.5, 0.0, 1642.9, -2174.3, 50.0)
Pickup.Remove(85@)
Pickup.Remove(86@)
Pickup.Remove(184@)
Streaming.RemoveAnimation("CAR")
Streaming.RemoveAnimation("BSKTBALL")
Streaming.RemoveAnimation("SMOKING")
Streaming.RemoveAnimation("SWAT")
Streaming.RemoveAnimation("CASINO")
Streaming.RemoveAnimation("CRACK")
Streaming.RemoveAnimation("GANGS")
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RIOT2_30761
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:RIOT2_30761
Game.ShutAllCharsUp(False)
Char.RemoveElegantly($ryder_car)
Streaming.UnloadSpecialCharacter(1)
Game.SetGunshotSenseRangeForRiot2(-1.0)
Blip.Remove(89@)
Blip.Remove(90@)
Blip.Remove(91@)
Blip.Remove(92@)
Blip.Remove(93@)
Blip.Remove(94@)
Blip.Remove(95@)
Blip.Remove(96@)
Blip.Remove(97@)
Blip.Remove(98@)
Blip.Remove(99@)
Blip.Remove(100@)
Blip.Remove(101@)
Blip.Remove(102@)
Blip.Remove(103@)
Blip.Remove(104@)
Blip.Remove(105@)
Blip.Remove(106@)
Blip.Remove(107@)
Blip.Remove(108@)
Blip.Remove(109@)
Blip.Remove(110@)
Blip.Remove(111@)
Blip.Remove(112@)
Blip.Remove(113@)
Blip.Remove(114@)
Blip.Remove(115@)
Blip.Remove(116@)
Blip.Remove(117@)
Blip.Remove(118@)
Blip.Remove(119@)
Blip.Remove(120@)
Blip.Remove(121@)
Blip.Remove(122@)
Blip.Remove(123@)
Blip.Remove(124@)
Blip.Remove(125@)
Blip.Remove(126@)
Blip.Remove(127@)
Blip.Remove(128@)
Blip.Remove(129@)
Blip.Remove(130@)
Blip.Remove(131@)
Blip.Remove(132@)
Blip.Remove(133@)
Blip.Remove(134@)
Blip.Remove(135@)
Blip.Remove(136@)
Blip.Remove(137@)
Blip.Remove(138@)
Blip.Remove(139@)
Blip.Remove(140@)
Blip.Remove(141@)
Game.EnableAmbientCrime(True)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:RIOT2_31066
if 
  Char.IsDead($ryder_car)
goto_if_false @RIOT2_31107
Text.ClearPrints
Text.PrintNow('R2_08', 7000, 1)
145@ = 1

:RIOT2_31107
if 
  Char.IsDead(35@)
goto_if_false @RIOT2_31148
Text.ClearPrints
Text.PrintNow('R2_09', 7000, 1)
145@ = 1

:RIOT2_31148
if 
  Char.IsDead(34@)
goto_if_false @RIOT2_31189
Text.ClearPrints
Text.PrintNow('R2_10', 7000, 1)
145@ = 1

:RIOT2_31189
if 
  Char.IsDead(36@)
goto_if_false @RIOT2_31230
Text.ClearPrints
Text.PrintNow('R2_11', 7000, 1)
145@ = 1

:RIOT2_31230
return 

:RIOT2_31232
148@ = Math.RandomIntInRange(0, 2)
37@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1831.6, -2004.6, 12.6)
Char.SetInformRespectedFriends(37@, 8.0, 6)
Char.SetHeading(37@, 90.0)
Char.GiveWeapon(37@, WeaponType.Tec9, 3000)
Task.PlayAnim(37@, "M_SMKLEAN_LOOP", "SMOKING", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(37@, 266@)
96@ = Blip.AddForChar(37@)
Blip.ChangeScale(96@, 1)
Char.SetAccuracy(37@, 181@)
Char.AddArmor(37@, 100)
148@ = Math.RandomIntInRange(0, 2)
38@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1825.5, -2002.4, 12.6)
Char.SetInformRespectedFriends(38@, 8.0, 6)
Char.SetHeading(38@, 89.7)
Task.PlayAnim(38@, "BBALL_IDLELOOP", "BSKTBALL", 4.0, True, False, False, False, -1)
88@ = Object.Create(#BBALL_INGAME, 0.0, 0.0, 0.0)
97@ = Blip.AddForChar(38@)
Blip.ChangeScale(97@, 1)
Char.SetAccuracy(38@, 181@)
Char.SetDecisionMaker(38@, 265@)
Char.SetKindaStayInSamePlace(38@, True)
148@ = Math.RandomIntInRange(0, 2)
39@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1824.3, -2002.4, 12.6)
Char.SetInformRespectedFriends(39@, 8.0, 6)
Char.SetHeading(39@, 270.0)
Char.GiveWeapon(39@, WeaponType.Tec9, 3000)
Task.PlayAnim(39@, "BBALL_DEF_LOOP", "BSKTBALL", 4.0, True, False, False, False, -1)
Char.SetDecisionMaker(39@, 265@)
Char.SetKindaStayInSamePlace(39@, True)
98@ = Blip.AddForChar(39@)
Blip.ChangeScale(98@, 1)
Char.SetAccuracy(39@, 181@)
Char.AddArmor(39@, 100)
148@ = Math.RandomIntInRange(0, 2)
40@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1827.7, -1999.1, 12.6)
Char.SetInformRespectedFriends(40@, 8.0, 6)
Char.SetHeading(40@, 133.6)
Char.GiveWeapon(40@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(40@, 265@)
Char.SetKindaStayInSamePlace(40@, True)
99@ = Blip.AddForChar(40@)
Blip.ChangeScale(99@, 1)
Char.SetAccuracy(40@, 181@)
148@ = Math.RandomIntInRange(0, 2)
41@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1828.2, -2000.4, 12.6)
Char.SetInformRespectedFriends(41@, 8.0, 6)
Char.SetHeading(41@, 108.2)
Char.GiveWeapon(41@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(41@, 265@)
Char.SetKindaStayInSamePlace(41@, True)
100@ = Blip.AddForChar(41@)
Blip.ChangeScale(100@, 1)
Char.SetAccuracy(41@, 181@)
Char.AddArmor(41@, 100)
148@ = Math.RandomIntInRange(0, 2)
42@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1834.3, -1995.9, 12.6)
Char.SetInformRespectedFriends(42@, 8.0, 6)
Char.SetHeading(42@, 88.1)
Char.SetDecisionMaker(42@, 265@)
Char.SetKindaStayInSamePlace(42@, True)
101@ = Blip.AddForChar(42@)
Blip.ChangeScale(101@, 1)
Char.SetAccuracy(42@, 181@)
return 

:RIOT2_32036
if 
  158@ == 0
goto_if_false @RIOT2_32091
262@ = 1857.2
263@ = -2020.6
264@ = 12.6
goto @RIOT2_32249

:RIOT2_32091
if 
  152@ == 0
goto_if_false @RIOT2_32146
262@ = 1865.3
263@ = -1992.2
264@ = 12.6
goto @RIOT2_32249

:RIOT2_32146
if 
  155@ == 0
goto_if_false @RIOT2_32201
262@ = 1899.3
263@ = -1991.7
264@ = 12.6
goto @RIOT2_32249

:RIOT2_32201
if 
  161@ == 0
goto_if_false @RIOT2_32249
262@ = 1908.3
263@ = -2020.1
264@ = 12.6

:RIOT2_32249
if 
  not Char.IsDead(37@)
goto_if_false @RIOT2_32545
if 
  149@ == 0
goto_if_false @RIOT2_32330
268@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, 262@, 263@, 264@, 7, -2)
Sequence.Close(268@)
Char.PerformSequence(37@, 268@)
Sequence.Clear(268@)
149@ = 1

:RIOT2_32330
if 
  149@ == 1
goto_if_false @RIOT2_32545
$chickY = Char.GetScriptTaskStatus(37@, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @RIOT2_32545
if 
  158@ == 0
goto_if_false @RIOT2_32419
182@ = Char.SetSayContext(37@, 65)
158@ = 1
goto @RIOT2_32538

:RIOT2_32419
if 
  152@ == 0
goto_if_false @RIOT2_32461
182@ = Char.SetSayContext(37@, 65)
152@ = 1
goto @RIOT2_32538

:RIOT2_32461
if 
  155@ == 0
goto_if_false @RIOT2_32503
182@ = Char.SetSayContext(37@, 65)
155@ = 1
goto @RIOT2_32538

:RIOT2_32503
if 
  161@ == 0
goto_if_false @RIOT2_32538
182@ = Char.SetSayContext(37@, 65)
161@ = 1

:RIOT2_32538
149@ = 2

:RIOT2_32545
return 

:RIOT2_32547
if 
  152@ == 1
goto_if_false @RIOT2_32989
  Object.Rotate($2713, 270.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
43@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1850.3, -1990.0, 12.6)
Char.SetInformRespectedFriends(43@, 8.0, 6)
Char.SetHeading(43@, 270.0)
Char.GiveWeapon(43@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(43@, 266@)
Char.SetKindaStayInSamePlace(43@, True)
102@ = Blip.AddForChar(43@)
Blip.ChangeScale(102@, 1)
Char.SetAccuracy(43@, 181@)
Char.AddArmor(43@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1852.9, -1990.0, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1853.9, -1984.1, 12.6, 7, -2)
Task.AchieveHeading(-1, 355.4)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(43@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
44@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1851.7, -1989.9, 12.6)
Char.SetInformRespectedFriends(44@, 8.0, 6)
Char.SetHeading(44@, 270.7)
Char.GiveWeapon(44@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(44@, 266@)
Char.SetKindaStayInSamePlace(44@, True)
103@ = Blip.AddForChar(44@)
Blip.ChangeScale(103@, 1)
Char.SetAccuracy(44@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1852.9, -1990.0, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1854.5, -1985.1, 12.6, 7, -2)
Task.AchieveHeading(-1, 186.2)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(44@, 268@)
Sequence.Clear(268@)

:RIOT2_32989
if 
  153@ == 1
goto_if_false @RIOT2_33431
  Object.Rotate($2714, 180.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
45@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1867.7, -1983.7, 12.6)
Char.SetInformRespectedFriends(45@, 8.0, 6)
Char.SetHeading(45@, 180.0)
Char.GiveWeapon(45@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(45@, 266@)
Char.SetKindaStayInSamePlace(45@, True)
104@ = Blip.AddForChar(45@)
Blip.ChangeScale(104@, 1)
Char.SetAccuracy(45@, 181@)
Char.AddArmor(45@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1867.7, -1986.8, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1854.5, -1999.6, 12.6, 7, -2)
Task.AchieveHeading(-1, 198.8)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(45@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
46@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1867.7, -1984.7, 12.6)
Char.SetInformRespectedFriends(46@, 8.0, 6)
Char.SetHeading(46@, 180.0)
Char.GiveWeapon(46@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(46@, 266@)
Char.SetKindaStayInSamePlace(46@, True)
105@ = Blip.AddForChar(46@)
Blip.ChangeScale(105@, 1)
Char.SetAccuracy(46@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1867.7, -1986.8, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1854.5, -1997.6, 12.6, 7, -2)
Task.AchieveHeading(-1, 315.1)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(46@, 268@)
Sequence.Clear(268@)

:RIOT2_33431
if 
  154@ == 1
goto_if_false @RIOT2_33873
  Object.Rotate($2715, 0.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
47@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1866.2, -1999.7, 12.6)
Char.SetInformRespectedFriends(47@, 8.0, 6)
Char.SetHeading(47@, 0.0)
Char.GiveWeapon(47@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(47@, 266@)
Char.SetKindaStayInSamePlace(47@, True)
106@ = Blip.AddForChar(47@)
Blip.ChangeScale(106@, 1)
Char.SetAccuracy(47@, 181@)
Char.AddArmor(47@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1866.2, -1997.0, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1859.5, -1996.2, 12.6, 7, -2)
Task.AchieveHeading(-1, 148.0)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(47@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
48@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1865.9, -1998.7, 12.6)
Char.SetInformRespectedFriends(48@, 8.0, 6)
Char.SetHeading(48@, 0.0)
Char.GiveWeapon(48@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(48@, 266@)
Char.SetKindaStayInSamePlace(48@, True)
107@ = Blip.AddForChar(48@)
Blip.ChangeScale(107@, 1)
Char.SetAccuracy(48@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1866.2, -1997.0, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1860.0, -1994.0, 12.6, 7, -2)
Task.AchieveHeading(-1, 280.2)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(48@, 268@)
Sequence.Clear(268@)

:RIOT2_33873
return 

:RIOT2_33875
if 
  155@ == 1
goto_if_false @RIOT2_34317
  Object.Rotate($2716, 180.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
49@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1900.1, -1983.5, 12.6)
Char.SetInformRespectedFriends(49@, 8.0, 6)
Char.SetHeading(49@, 180.0)
Char.GiveWeapon(49@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(49@, 266@)
Char.SetKindaStayInSamePlace(49@, True)
108@ = Blip.AddForChar(49@)
Blip.ChangeScale(108@, 1)
Char.SetAccuracy(49@, 181@)
Char.AddArmor(49@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1900.1, -1987.4, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1905.0, -1987.2, 12.6, 7, -2)
Task.AchieveHeading(-1, 267.4)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(49@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
50@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1900.1, -1984.5, 12.6)
Char.SetInformRespectedFriends(50@, 8.0, 6)
Char.SetHeading(50@, 180.7)
Char.GiveWeapon(50@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(50@, 266@)
Char.SetKindaStayInSamePlace(50@, True)
109@ = Blip.AddForChar(50@)
Blip.ChangeScale(109@, 1)
Char.SetAccuracy(50@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1900.1, -1987.4, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1904.4, -1988.1, 12.6, 7, -2)
Task.AchieveHeading(-1, 108.9)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(50@, 268@)
Sequence.Clear(268@)

:RIOT2_34317
if 
  156@ == 1
goto_if_false @RIOT2_34759
  Object.Rotate($2717, 90.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
51@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1915.8, -1993.5, 12.6)
Char.SetInformRespectedFriends(51@, 8.0, 6)
Char.SetHeading(51@, 90.0)
Char.GiveWeapon(51@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(51@, 266@)
Char.SetKindaStayInSamePlace(51@, True)
110@ = Blip.AddForChar(51@)
Blip.ChangeScale(110@, 1)
Char.SetAccuracy(51@, 181@)
Char.AddArmor(51@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1912.1, -1993.2, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1911.9, -1998.5, 12.6, 7, -2)
Task.AchieveHeading(-1, 198.9)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(51@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
52@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1914.8, -1993.5, 12.6)
Char.SetInformRespectedFriends(52@, 8.0, 6)
Char.SetHeading(52@, 90.0)
Char.GiveWeapon(52@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(52@, 266@)
Char.SetKindaStayInSamePlace(52@, True)
111@ = Blip.AddForChar(52@)
Blip.ChangeScale(111@, 1)
Char.SetAccuracy(52@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1912.1, -1993.2, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1911.0, -1997.1, 12.6, 7, -2)
Task.AchieveHeading(-1, 36.7)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(52@, 268@)
Sequence.Clear(268@)

:RIOT2_34759
if 
  157@ == 1
goto_if_false @RIOT2_35201
  Object.Rotate($2718, 0.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
53@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1898.3, -1999.9, 12.6)
Char.SetInformRespectedFriends(53@, 8.0, 6)
Char.SetHeading(53@, 0.0)
Char.GiveWeapon(53@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(53@, 266@)
Char.SetKindaStayInSamePlace(53@, True)
112@ = Blip.AddForChar(53@)
Blip.ChangeScale(112@, 1)
Char.SetAccuracy(53@, 181@)
Char.AddArmor(53@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1898.4, -1996.8, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1891.8, -1996.0, 12.6, 7, -2)
Task.AchieveHeading(-1, 71.9)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(53@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
54@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1898.3, -1998.9, 12.6)
Char.SetInformRespectedFriends(54@, 8.0, 6)
Char.SetHeading(54@, 0.0)
Char.GiveWeapon(54@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(54@, 266@)
Char.SetKindaStayInSamePlace(54@, True)
113@ = Blip.AddForChar(54@)
Blip.ChangeScale(113@, 1)
Char.SetAccuracy(54@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1898.4, -1996.8, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1892.4, -1995.1, 12.6, 7, -2)
Task.AchieveHeading(-1, 302.4)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(54@, 268@)
Sequence.Clear(268@)

:RIOT2_35201
return 

:RIOT2_35203
if 
  158@ == 1
goto_if_false @RIOT2_35645
  Object.Rotate($sf_crane1_base, 270.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
55@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1850.4, -2019.5, 12.6)
Char.SetInformRespectedFriends(55@, 8.0, 6)
Char.SetHeading(55@, 270.0)
Char.GiveWeapon(55@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(55@, 266@)
Char.SetKindaStayInSamePlace(55@, True)
114@ = Blip.AddForChar(55@)
Blip.ChangeScale(114@, 1)
Char.SetAccuracy(55@, 181@)
Char.AddArmor(55@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1854.1, -2019.4, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1855.3, -2010.4, 12.6, 7, -2)
Task.AchieveHeading(-1, 30.7)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(55@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
56@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1851.7, -2019.5, 12.6)
Char.SetInformRespectedFriends(56@, 8.0, 6)
Char.SetHeading(56@, 270.7)
Char.GiveWeapon(56@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(56@, 266@)
Char.SetKindaStayInSamePlace(56@, True)
115@ = Blip.AddForChar(56@)
Blip.ChangeScale(115@, 1)
Char.SetAccuracy(56@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1854.1, -2019.4, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1855.3, -2012.4, 12.6, 7, -2)
Task.AchieveHeading(-1, 195.4)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(56@, 268@)
Sequence.Clear(268@)

:RIOT2_35645
if 
  159@ == 1
goto_if_false @RIOT2_36087
  Object.Rotate($sf_crane1_arm, 90.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
57@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1866.7, -2021.1, 12.6)
Char.SetInformRespectedFriends(57@, 8.0, 6)
Char.SetHeading(57@, 90.0)
Char.GiveWeapon(57@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(57@, 266@)
Char.SetKindaStayInSamePlace(57@, True)
116@ = Blip.AddForChar(57@)
Blip.ChangeScale(116@, 1)
Char.SetAccuracy(57@, 181@)
Char.AddArmor(57@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1863.3, -2021.2, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1862.9, -2011.7, 12.6, 7, -2)
Task.AchieveHeading(-1, 43.3)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(57@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
58@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1865.5, -2021.3, 12.6)
Char.SetInformRespectedFriends(58@, 8.0, 6)
Char.SetHeading(58@, 90.0)
Char.GiveWeapon(58@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(58@, 266@)
Char.SetKindaStayInSamePlace(58@, True)
117@ = Blip.AddForChar(58@)
Blip.ChangeScale(117@, 1)
Char.SetAccuracy(58@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1863.3, -2021.2, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1863.4, -2013.9, 12.6, 7, -2)
Task.AchieveHeading(-1, 154.0)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(58@, 268@)
Sequence.Clear(268@)

:RIOT2_36087
if 
  160@ == 1
goto_if_false @RIOT2_36529
  Object.Rotate($sf_crane1_trolley, 0.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
59@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1857.2, -2036.9, 12.6)
Char.SetInformRespectedFriends(59@, 8.0, 6)
Char.SetHeading(59@, 0.0)
Char.GiveWeapon(59@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(59@, 266@)
Char.SetKindaStayInSamePlace(59@, True)
118@ = Blip.AddForChar(59@)
Blip.ChangeScale(118@, 1)
Char.SetAccuracy(59@, 181@)
Char.AddArmor(59@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1857.2, -2032.9, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1854.5, -2026.5, 12.6, 7, -2)
Task.AchieveHeading(-1, 198.8)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(59@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
60@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1857.1, -2035.8, 12.6)
Char.SetInformRespectedFriends(60@, 8.0, 6)
Char.SetHeading(60@, 0.0)
Char.GiveWeapon(60@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(60@, 266@)
Char.SetKindaStayInSamePlace(60@, True)
119@ = Blip.AddForChar(60@)
Blip.ChangeScale(119@, 1)
Char.SetAccuracy(60@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1857.2, -2032.9, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1854.5, -2024.3, 12.6, 7, -2)
Task.AchieveHeading(-1, 346.3)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(60@, 268@)
Sequence.Clear(268@)

:RIOT2_36529
return 

:RIOT2_36531
if 
  161@ == 1
goto_if_false @RIOT2_36973
  Object.Rotate($2719, 270.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
61@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1899.3, -2019.5, 12.6)
Char.SetInformRespectedFriends(61@, 8.0, 6)
Char.SetHeading(61@, 270.0)
Char.GiveWeapon(61@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(61@, 266@)
Char.SetKindaStayInSamePlace(61@, True)
120@ = Blip.AddForChar(61@)
Blip.ChangeScale(120@, 1)
Char.SetAccuracy(61@, 181@)
Char.AddArmor(61@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1902.1, -2019.7, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1903.2, -2012.3, 12.6, 7, -2)
Task.AchieveHeading(-1, 330.8)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(61@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
62@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1900.3, -2019.5, 12.6)
Char.SetInformRespectedFriends(62@, 8.0, 6)
Char.SetHeading(62@, 270.7)
Char.GiveWeapon(62@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(62@, 266@)
Char.SetKindaStayInSamePlace(62@, True)
121@ = Blip.AddForChar(62@)
Blip.ChangeScale(121@, 1)
Char.SetAccuracy(62@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1902.1, -2019.7, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1903.2, -2013.6, 12.6, 7, -2)
Task.AchieveHeading(-1, 195.6)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(62@, 268@)
Sequence.Clear(268@)

:RIOT2_36973
if 
  162@ == 1
goto_if_false @RIOT2_37415
  Object.Rotate($2720, 90.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
63@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1915.8, -2021.5, 12.6)
Char.SetInformRespectedFriends(63@, 8.0, 6)
Char.SetHeading(63@, 90.0)
Char.GiveWeapon(63@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(63@, 266@)
Char.SetKindaStayInSamePlace(63@, True)
122@ = Blip.AddForChar(63@)
Blip.ChangeScale(122@, 1)
Char.SetAccuracy(63@, 181@)
Char.AddArmor(63@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1912.8, -2021.4, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1912.1, -2012.8, 12.6, 7, -2)
Task.AchieveHeading(-1, 21.8)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(63@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
64@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1914.8, -2021.5, 12.6)
Char.SetInformRespectedFriends(64@, 8.0, 6)
Char.SetHeading(64@, 90.0)
Char.GiveWeapon(64@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(64@, 266@)
Char.SetKindaStayInSamePlace(64@, True)
123@ = Blip.AddForChar(64@)
Blip.ChangeScale(123@, 1)
Char.SetAccuracy(64@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1912.8, -2021.4, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1911.7, -2014.3, 12.6, 7, -2)
Task.AchieveHeading(-1, 171.0)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(64@, 268@)
Sequence.Clear(268@)

:RIOT2_37415
if 
  163@ == 1
goto_if_false @RIOT2_37857
  Object.Rotate($carterwall, 0.0, 360.0, False)
148@ = Math.RandomIntInRange(0, 2)
65@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1906.1, -2036.9, 12.6)
Char.SetInformRespectedFriends(65@, 8.0, 6)
Char.SetHeading(65@, 0.0)
Char.GiveWeapon(65@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(65@, 266@)
Char.SetKindaStayInSamePlace(65@, True)
124@ = Blip.AddForChar(65@)
Blip.ChangeScale(124@, 1)
Char.SetAccuracy(65@, 181@)
Char.AddArmor(65@, 100)
268@ = Sequence.Open()
Task.Pause(-1, 400)
Task.GoStraightToCoord(-1, 1906.0, -2033.5, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1907.3, -2033.3, 12.6, 7, -2)
Task.AchieveHeading(-1, 32.4)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(65@, 268@)
Sequence.Clear(268@)
148@ = Math.RandomIntInRange(0, 2)
66@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1906.1, -2035.9, 12.6)
Char.SetInformRespectedFriends(66@, 8.0, 6)
Char.SetHeading(66@, 0.0)
Char.GiveWeapon(66@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(66@, 266@)
Char.SetKindaStayInSamePlace(66@, True)
125@ = Blip.AddForChar(66@)
Blip.ChangeScale(125@, 1)
Char.SetAccuracy(66@, 181@)
268@ = Sequence.Open()
Task.Pause(-1, 200)
Task.GoStraightToCoord(-1, 1906.0, -2033.5, 12.5, MoveState.Walk, -1)
Task.FollowPathNodesToCoord(-1, 1906.3, -2030.3, 12.6, 7, -2)
Task.AchieveHeading(-1, 315.5)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(66@, 268@)
Sequence.Clear(268@)

:RIOT2_37857
return 

:RIOT2_37859
if 
  167@ == 1
goto_if_false @RIOT2_37923
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @RIOT2_37923
Blip.Remove(89@)
89@ = Blip.AddForChar($ryder_car)
Blip.SetAsFriendly(89@, True)
167@ = 0

:RIOT2_37923
if 
  167@ == 0
goto_if_false @RIOT2_38065
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $ryder_car, 8.0, 8.0, 8.0, False)
goto_if_false @RIOT2_38065
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @RIOT2_38008
Game.MakeRoomInPlayerGangForMissionPeds(1)
Group.SetMember($flag_cell_nation, $ryder_car)

:RIOT2_38008
Blip.Remove(89@)
if 
  177@ > 2
goto_if_false @RIOT2_38058
89@ = Blip.AddForCoord(1774.9, -1974.9, 13.1)
Blip.SetAsFriendly(89@, False)

:RIOT2_38058
167@ = 1

:RIOT2_38065
return 

:RIOT2_38067
if 
  Char.IsDead(79@)
goto_if_false @RIOT2_38283
148@ = Math.RandomIntInRange(0, 2)
79@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1860.1, -2094.8, 14.0)
Char.SetHeading(79@, 187.0)
Char.GiveWeapon(79@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(79@, 266@)
268@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Pause(-1, 4000)
Task.Climb(-1, True)
Task.ShootAtCoord(-1, 1874.4, -2101.5, 14.8, 2000)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(79@, 268@)
Sequence.Clear(268@)
132@ = Blip.AddForChar(79@)
Blip.ChangeScale(132@, 1)
Char.SetAccuracy(79@, 181@)
Char.AddArmor(79@, 50)

:RIOT2_38283
if 
  Char.IsDead(80@)
goto_if_false @RIOT2_38532
148@ = Math.RandomIntInRange(0, 2)
80@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1857.3, -2094.8, 14.0)
Char.SetHeading(80@, 187.0)
Char.GiveWeapon(80@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(80@, 266@)
Task.PlayAnim(80@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
268@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Pause(-1, 6000)
Task.Climb(-1, True)
Task.ShootAtCoord(-1, 1874.4, -2101.5, 14.8, 2000)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(80@, 268@)
Sequence.Clear(268@)
133@ = Blip.AddForChar(80@)
Blip.ChangeScale(133@, 1)
Char.SetAccuracy(80@, 181@)

:RIOT2_38532
if 
  Char.IsDead(81@)
goto_if_false @RIOT2_38788
148@ = Math.RandomIntInRange(0, 2)
81@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1854.3, -2094.8, 14.0)
Char.SetHeading(81@, 187.0)
Char.GiveWeapon(81@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(81@, 266@)
Task.PlayAnim(81@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
268@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Pause(-1, 8000)
Task.Climb(-1, True)
Task.ShootAtCoord(-1, 1874.4, -2101.5, 14.8, 2000)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(81@, 268@)
Sequence.Clear(268@)
134@ = Blip.AddForChar(81@)
Blip.ChangeScale(134@, 1)
Char.SetAccuracy(81@, 181@)
Char.AddArmor(81@, 50)

:RIOT2_38788
if 
  Char.IsDead(82@)
goto_if_false @RIOT2_39015
148@ = Math.RandomIntInRange(0, 2)
82@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1859.1, -2108.8, 14.0)
Char.SetHeading(82@, 2.0)
Char.GiveWeapon(82@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(82@, 266@)
Task.PlayAnim(82@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
268@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Pause(-1, 5000)
Task.Climb(-1, True)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(82@, 268@)
Sequence.Clear(268@)
135@ = Blip.AddForChar(82@)
Blip.ChangeScale(135@, 1)
Char.SetAccuracy(82@, 181@)

:RIOT2_39015
if 
  Char.IsDead(83@)
goto_if_false @RIOT2_39249
148@ = Math.RandomIntInRange(0, 2)
83@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1856.3, -2108.8, 14.0)
Char.SetHeading(83@, 2.0)
Char.GiveWeapon(83@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(83@, 266@)
Task.PlayAnim(83@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
268@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Pause(-1, 7000)
Task.Climb(-1, True)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(83@, 268@)
Sequence.Clear(268@)
136@ = Blip.AddForChar(83@)
Blip.ChangeScale(136@, 1)
Char.SetAccuracy(83@, 181@)
Char.AddArmor(83@, 50)

:RIOT2_39249
if 
  Char.IsDead(84@)
goto_if_false @RIOT2_39476
148@ = Math.RandomIntInRange(0, 2)
84@ = Char.Create(PedType.Mission2, 146@(148@,2i), 1853.3, -2108.8, 14.0)
Char.SetHeading(84@, 2.0)
Char.GiveWeapon(84@, WeaponType.Tec9, 3000)
Char.SetDecisionMaker(84@, 266@)
Task.PlayAnim(84@, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
268@ = Sequence.Open()
Task.PlayAnim(-1, "WEAPON_CROUCH", "PED", 4.0, False, False, False, True, -1)
Task.Pause(-1, 9000)
Task.Climb(-1, True)
Task.SetCharDecisionMaker(-1, 265@)
Sequence.Close(268@)
Char.PerformSequence(84@, 268@)
Sequence.Clear(268@)
137@ = Blip.AddForChar(84@)
Blip.ChangeScale(137@, 1)
Char.SetAccuracy(84@, 181@)

:RIOT2_39476
return 

:RIOT2_39478
if or
  185@ == 1
  185@ == 4
  185@ == 6
  185@ == 8
  185@ == 9
goto_if_false @RIOT2_39578
if 
  is_int_lvar_greater_than_int_lvar 255@ > 186@
goto_if_false @RIOT2_39571
gosub @RIOT2_43165
gosub @RIOT2_43272
gosub @RIOT2_43426
goto @RIOT2_39578

:RIOT2_39571
185@ = 0

:RIOT2_39578
if or
  185@ == 10
  185@ == 11
  185@ == 12
  185@ == 13
goto_if_false @RIOT2_39671
if 
  is_int_lvar_greater_than_int_lvar 255@ > 186@
goto_if_false @RIOT2_39664
gosub @RIOT2_43165
gosub @RIOT2_43272
gosub @RIOT2_43426
goto @RIOT2_39671

:RIOT2_39664
185@ = 0

:RIOT2_39671
if or
  185@ == 5
  185@ == 7
goto_if_false @RIOT2_39804
if 
  is_int_lvar_greater_than_int_lvar 255@ > 186@
goto_if_false @RIOT2_39797
gosub @RIOT2_43165
gosub @RIOT2_43272
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_39759
gosub @RIOT2_43426
goto @RIOT2_39790

:RIOT2_39759
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(189@(186@,22s))
256@ = 0
257@ = 0

:RIOT2_39790
goto @RIOT2_39804

:RIOT2_39797
185@ = 0

:RIOT2_39804
if 
  185@ == 9
goto_if_false @RIOT2_39930
if 
  is_int_lvar_greater_than_int_lvar 255@ > 186@
goto_if_false @RIOT2_39923
gosub @RIOT2_43165
gosub @RIOT2_43272
if 
  not Char.IsDead(35@)
goto_if_false @RIOT2_39885
gosub @RIOT2_43426
goto @RIOT2_39916

:RIOT2_39885
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(189@(186@,22s))
256@ = 0
257@ = 0

:RIOT2_39916
goto @RIOT2_39930

:RIOT2_39923
185@ = 0

:RIOT2_39930
if 
  142@ == 0
goto_if_false @RIOT2_40910
if 
  143@ > 2
goto_if_false @RIOT2_40910
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @RIOT2_40336
if 
  Char.LocateAnyMeansChar3D($ryder_car, $stattreadstamina_ctr, 10.0, 10.0, 8.0, False)
goto_if_false @RIOT2_40329
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsOnFoot($ryder_car)
goto_if_false @RIOT2_40175
if or
  185@ == 2
  185@ == 3
goto_if_false @RIOT2_40175
if 
  is_int_lvar_greater_than_int_lvar 255@ > 186@
goto_if_false @RIOT2_40168
gosub @RIOT2_43165
gosub @RIOT2_43272
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_40130
gosub @RIOT2_43426
goto @RIOT2_40161

:RIOT2_40130
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(189@(186@,22s))
256@ = 0
257@ = 0

:RIOT2_40161
goto @RIOT2_40175

:RIOT2_40168
185@ = 0

:RIOT2_40175
if and
  Char.IsInAnyCar($stattreadstamina_ctr)
  Char.IsInAnyCar($ryder_car)
goto_if_false @RIOT2_40329
if or
  185@ == 2
  185@ == 3
goto_if_false @RIOT2_40329
if 
  is_int_lvar_greater_than_int_lvar 255@ > 186@
goto_if_false @RIOT2_40322
gosub @RIOT2_43165
gosub @RIOT2_43272
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_40284
gosub @RIOT2_43426
goto @RIOT2_40315

:RIOT2_40284
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(189@(186@,22s))
256@ = 0
257@ = 0

:RIOT2_40315
goto @RIOT2_40329

:RIOT2_40322
185@ = 0

:RIOT2_40329
goto @RIOT2_40453

:RIOT2_40336
if 
  14 > 185@
goto_if_false @RIOT2_40453
if 
  is_int_lvar_greater_than_int_lvar 255@ > 186@
goto_if_false @RIOT2_40380
186@ += 1

:RIOT2_40380
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(189@(186@,22s))
Text.ClearPrints
set_lvar_int_to_lvar_int 260@ = 185@
set_lvar_int_to_lvar_int 261@ = 186@
185@ = 14
186@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 188@ = 186@
188@ += 1
gosub @RIOT2_40912

:RIOT2_40453
if 
  185@ == 14
goto_if_false @RIOT2_40644
if 
  not Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @RIOT2_40621
if 
  is_int_lvar_greater_than_int_lvar 255@ > 186@
goto_if_false @RIOT2_40591
gosub @RIOT2_43165
gosub @RIOT2_43272
if 
  not Char.IsDead($ryder_car)
goto_if_false @RIOT2_40553
gosub @RIOT2_43426
goto @RIOT2_40584

:RIOT2_40553
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(189@(186@,22s))
256@ = 0
257@ = 0

:RIOT2_40584
goto @RIOT2_40614

:RIOT2_40591
Text.PrintNow('R2_12', 7000, 1)
185@ = 15

:RIOT2_40614
goto @RIOT2_40644

:RIOT2_40621
Text.PrintNow('R2_12', 7000, 1)
185@ = 15

:RIOT2_40644
if 
  185@ == 15
goto_if_false @RIOT2_40697
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @RIOT2_40697
185@ = 16
186@ = 0
Text.ClearPrints

:RIOT2_40697
if 
  185@ == 16
goto_if_false @RIOT2_40910
if 
  Char.IsGroupMember($ryder_car, $flag_cell_nation)
goto_if_false @RIOT2_40855
TIMERB = 0
set_lvar_int_to_lvar_int 185@ = 260@
set_lvar_int_to_lvar_int 186@ = 261@
gosub @RIOT2_40912
if 
  260@ == 0
goto_if_false @RIOT2_40848
if 
  3 > 177@
goto_if_false @RIOT2_40825
Text.PrintNow('R2_01', 60000, 1)
goto @RIOT2_40841

:RIOT2_40825
Text.PrintNow('R2_13', 7000, 1)

:RIOT2_40841
TIMERB = 0

:RIOT2_40848
goto @RIOT2_40910

:RIOT2_40855
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Text.ClearThisPrint(189@(186@,22s))
185@ = 14
186@ = Math.RandomIntInRange(0, 4)
set_lvar_int_to_lvar_int 188@ = 186@
188@ += 1
gosub @RIOT2_40912

:RIOT2_40910
return 

:RIOT2_40912
if 
  185@ == 1
goto_if_false @RIOT2_41033
set_lvar_text_label 189@s = 'ROT2_AA'
set_lvar_text_label 191@s = 'ROT2_AB'
set_lvar_text_label 193@s = 'ROT2_AD'
set_lvar_text_label 195@s = 'ROT2_AE'
set_lvar_int_to_constant 233@ = 33000
set_lvar_int_to_constant 234@ = 33001
set_lvar_int_to_constant 235@ = 33002
set_lvar_int_to_constant 236@ = 33003
255@ = 4

:RIOT2_41033
if 
  185@ == 2
goto_if_false @RIOT2_41154
set_lvar_text_label 189@s = 'ROT2_BA'
set_lvar_text_label 191@s = 'ROT2_BB'
set_lvar_text_label 193@s = 'ROT2_BC'
set_lvar_text_label 195@s = 'ROT2_BD'
set_lvar_int_to_constant 233@ = 33004
set_lvar_int_to_constant 234@ = 33005
set_lvar_int_to_constant 235@ = 33006
set_lvar_int_to_constant 236@ = 33007
255@ = 4

:RIOT2_41154
if 
  185@ == 3
goto_if_false @RIOT2_41563
set_lvar_text_label 189@s = 'ROT2_CA'
set_lvar_text_label 191@s = 'ROT2_CB'
set_lvar_text_label 193@s = 'ROT2_CC'
set_lvar_text_label 195@s = 'ROT2_CD'
set_lvar_text_label 197@s = 'ROT2_CE'
set_lvar_text_label 199@s = 'ROT2_CF'
set_lvar_text_label 201@s = 'ROT2_CG'
set_lvar_text_label 203@s = 'ROT2_CH'
set_lvar_text_label 205@s = 'ROT2_CJ'
set_lvar_text_label 207@s = 'ROT2_CK'
set_lvar_text_label 209@s = 'ROT2_CL'
set_lvar_text_label 211@s = 'ROT2_CM'
set_lvar_text_label 213@s = 'ROT2_CN'
set_lvar_text_label 215@s = 'ROT2_CO'
set_lvar_text_label 217@s = 'ROT2_CP'
set_lvar_text_label 219@s = 'ROT2_CQ'
set_lvar_int_to_constant 233@ = 33008
set_lvar_int_to_constant 234@ = 33009
set_lvar_int_to_constant 235@ = 33010
set_lvar_int_to_constant 236@ = 33011
set_lvar_int_to_constant 237@ = 33012
set_lvar_int_to_constant 238@ = 33013
set_lvar_int_to_constant 239@ = 33014
set_lvar_int_to_constant 240@ = 33015
set_lvar_int_to_constant 241@ = 33016
set_lvar_int_to_constant 242@ = 33017
set_lvar_int_to_constant 243@ = 33018
set_lvar_int_to_constant 244@ = 33019
set_lvar_int_to_constant 245@ = 33020
set_lvar_int_to_constant 246@ = 33021
set_lvar_int_to_constant 247@ = 33022
set_lvar_int_to_constant 248@ = 33023
255@ = 16

:RIOT2_41563
if 
  185@ == 4
goto_if_false @RIOT2_41829
set_lvar_text_label 189@s = 'ROT2_DA'
set_lvar_text_label 191@s = 'ROT2_DB'
set_lvar_text_label 193@s = 'ROT2_DC'
set_lvar_text_label 195@s = 'ROT2_DD'
set_lvar_text_label 197@s = 'ROT2_DE'
set_lvar_text_label 199@s = 'ROT2_DF'
set_lvar_text_label 205@s = 'ROT2_DJ'
set_lvar_text_label 207@s = 'ROT2_DK'
set_lvar_text_label 209@s = 'ROT2_DL'
set_lvar_text_label 211@s = 'ROT2_DM'
set_lvar_int_to_constant 233@ = 33024
set_lvar_int_to_constant 234@ = 33025
set_lvar_int_to_constant 235@ = 33026
set_lvar_int_to_constant 236@ = 33027
set_lvar_int_to_constant 237@ = 33028
set_lvar_int_to_constant 238@ = 33029
set_lvar_int_to_constant 241@ = 33031
set_lvar_int_to_constant 242@ = 33032
set_lvar_int_to_constant 243@ = 33033
set_lvar_int_to_constant 244@ = 33034
set_lvar_int_to_lvar_int 255@ = 188@

:RIOT2_41829
if 
  185@ == 5
goto_if_false @RIOT2_42071
set_lvar_text_label 189@s = 'ROT2_EA'
set_lvar_text_label 195@s = 'ROT2_ED'
set_lvar_text_label 197@s = 'ROT2_EE'
set_lvar_text_label 199@s = 'ROT2_EF'
set_lvar_text_label 201@s = 'ROT2_EG'
set_lvar_text_label 203@s = 'ROT2_EH'
set_lvar_text_label 205@s = 'ROT2_EJ'
set_lvar_text_label 211@s = 'ROT2_EM'
set_lvar_text_label 213@s = 'ROT2_EN'
set_lvar_int_to_constant 233@ = 33035
set_lvar_int_to_constant 236@ = 33038
set_lvar_int_to_constant 237@ = 33039
set_lvar_int_to_constant 238@ = 33040
set_lvar_int_to_constant 239@ = 33041
set_lvar_int_to_constant 240@ = 33042
set_lvar_int_to_constant 241@ = 33043
set_lvar_int_to_constant 244@ = 33046
set_lvar_int_to_constant 245@ = 33047
set_lvar_int_to_lvar_int 255@ = 188@

:RIOT2_42071
if 
  185@ == 6
goto_if_false @RIOT2_42265
set_lvar_text_label 189@s = 'ROT2_FA'
set_lvar_text_label 191@s = 'ROT2_FB'
set_lvar_text_label 193@s = 'ROT2_FC'
set_lvar_text_label 195@s = 'ROT2_FD'
set_lvar_text_label 197@s = 'ROT2_FE'
set_lvar_text_label 199@s = 'ROT2_FG'
set_lvar_text_label 201@s = 'ROT2_FH'
set_lvar_int_to_constant 233@ = 33059
set_lvar_int_to_constant 234@ = 33060
set_lvar_int_to_constant 235@ = 33061
set_lvar_int_to_constant 236@ = 33062
set_lvar_int_to_constant 237@ = 33063
set_lvar_int_to_constant 238@ = 33064
set_lvar_int_to_constant 239@ = 33065
set_lvar_int_to_lvar_int 255@ = 188@

:RIOT2_42265
if 
  185@ == 7
goto_if_false @RIOT2_42314
set_lvar_text_label 189@s = 'ROT2_GA'
set_lvar_int_to_constant 233@ = 33066
255@ = 1

:RIOT2_42314
if 
  185@ == 8
goto_if_false @RIOT2_42435
set_lvar_text_label 189@s = 'ROT2_GB'
set_lvar_text_label 191@s = 'ROT2_GC'
set_lvar_text_label 193@s = 'ROT2_GD'
set_lvar_text_label 195@s = 'ROT2_EW'
set_lvar_int_to_constant 233@ = 33067
set_lvar_int_to_constant 234@ = 33068
set_lvar_int_to_constant 235@ = 33069
set_lvar_int_to_constant 236@ = 33056
255@ = 4

:RIOT2_42435
if 
  185@ == 9
goto_if_false @RIOT2_42533
set_lvar_text_label 189@s = 'ROT2_HA'
set_lvar_text_label 191@s = 'ROT2_HB'
set_lvar_text_label 193@s = 'ROT2_HC'
set_lvar_int_to_constant 233@ = 33070
set_lvar_int_to_constant 234@ = 33071
set_lvar_int_to_constant 235@ = 33072
set_lvar_int_to_lvar_int 255@ = 188@

:RIOT2_42533
if 
  185@ == 10
goto_if_false @RIOT2_42606
set_lvar_text_label 189@s = 'ROT2_JA'
set_lvar_text_label 191@s = 'ROT2_JB'
set_lvar_int_to_constant 233@ = 33073
set_lvar_int_to_constant 234@ = 33074
255@ = 2

:RIOT2_42606
if 
  185@ == 11
goto_if_false @RIOT2_42704
set_lvar_text_label 189@s = 'ROT2_KA'
set_lvar_text_label 191@s = 'ROT2_KB'
set_lvar_text_label 193@s = 'ROT2_KC'
set_lvar_int_to_constant 233@ = 33075
set_lvar_int_to_constant 234@ = 33076
set_lvar_int_to_constant 235@ = 33077
set_lvar_int_to_lvar_int 255@ = 188@

:RIOT2_42704
if 
  185@ == 12
goto_if_false @RIOT2_42802
set_lvar_text_label 189@s = 'ROT2_LA'
set_lvar_text_label 191@s = 'ROT2_LB'
set_lvar_text_label 193@s = 'ROT2_LC'
set_lvar_int_to_constant 233@ = 33078
set_lvar_int_to_constant 234@ = 33079
set_lvar_int_to_constant 235@ = 33080
set_lvar_int_to_lvar_int 255@ = 188@

:RIOT2_42802
if 
  185@ == 13
goto_if_false @RIOT2_43020
set_lvar_text_label 189@s = 'ROT2_MA'
set_lvar_text_label 191@s = 'ROT2_MB'
set_lvar_text_label 193@s = 'ROT2_MC'
set_lvar_text_label 195@s = 'ROT2_MD'
set_lvar_text_label 197@s = 'ROT2_ME'
set_lvar_text_label 199@s = 'ROT2_MF'
set_lvar_text_label 201@s = 'ROT2_MG'
set_lvar_text_label 203@s = 'ROT2_MH'
set_lvar_int_to_constant 233@ = 33081
set_lvar_int_to_constant 234@ = 33082
set_lvar_int_to_constant 235@ = 33083
set_lvar_int_to_constant 236@ = 33084
set_lvar_int_to_constant 237@ = 33085
set_lvar_int_to_constant 238@ = 33086
set_lvar_int_to_constant 239@ = 33087
set_lvar_int_to_constant 240@ = 33088
set_lvar_int_to_lvar_int 255@ = 188@

:RIOT2_43020
if 
  185@ == 14
goto_if_false @RIOT2_43134
set_lvar_text_label 189@s = 'CESX_BA'
set_lvar_text_label 191@s = 'CESX_BB'
set_lvar_text_label 193@s = 'CESX_BC'
set_lvar_text_label 195@s = 'CESX_BD'
set_lvar_int_to_constant 233@ = 10406
set_lvar_int_to_constant 234@ = 10407
set_lvar_int_to_constant 235@ = 10408
set_lvar_int_to_constant 236@ = 10409
set_lvar_int_to_lvar_int 255@ = 188@

:RIOT2_43134
set_lvar_int_to_lvar_int 258@ = 186@
256@ = 0
257@ = 0
259@ = 1
return 

:RIOT2_43165
if 
  is_int_lvar_greater_than_int_lvar 255@ > 258@
goto_if_false @RIOT2_43270
if 
  256@ == 0
goto_if_false @RIOT2_43227
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 233@(258@,22i))
258@ += 1
256@ = 1

:RIOT2_43227
if 
  257@ == 0
goto_if_false @RIOT2_43270
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 233@(258@,22i))
258@ += 1
257@ = 1

:RIOT2_43270
return 

:RIOT2_43272
if 
  259@ == 1
goto_if_false @RIOT2_43348
if 
  256@ == 1
goto_if_false @RIOT2_43348
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @RIOT2_43348
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(189@(186@,22s), 4500, 1)
256@ = 2

:RIOT2_43348
if 
  259@ == 2
goto_if_false @RIOT2_43424
if 
  257@ == 1
goto_if_false @RIOT2_43424
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @RIOT2_43424
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow(189@(186@,22s), 4500, 1)
257@ = 2

:RIOT2_43424
return 

:RIOT2_43426
if 
  256@ == 2
goto_if_false @RIOT2_43489
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @RIOT2_43489
Text.ClearThisPrint(189@(186@,22s))
186@ += 1
259@ = 2
256@ = 0

:RIOT2_43489
if 
  257@ == 2
goto_if_false @RIOT2_43552
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @RIOT2_43552
Text.ClearThisPrint(189@(186@,22s))
186@ += 1
259@ = 1
257@ = 0

:RIOT2_43552
return 

//-------------Mission 110---------------
// Originally: End Of The Line (1)

:FINALEA
gosub @FINALEA_36
if 
  has_deatharrest_been_executed 
goto_if_false @FINALEA_27
gosub @FINALEA_32509

:FINALEA_27
gosub @FINALEA_32621
terminate_this_script 

:FINALEA_36
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
script_name 'FINALEA'
wait 0
Text.LoadMissionText('RIOT4')
Streaming.SetAreaVisible(1)
Cutscene.Load('RIOT_4A')

:FINALEA_86
if 
  not Cutscene.HasLoaded
goto_if_false @FINALEA_110
wait 0
goto @FINALEA_86

:FINALEA_110
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:FINALEA_119
if 
  not Cutscene.HasFinished
goto_if_false @FINALEA_143
wait 0
goto @FINALEA_119

:FINALEA_143
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:FINALEA_158
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_182
wait 0
goto @FINALEA_158

:FINALEA_182
Streaming.SetAreaVisible(0)
Streaming.RequestModel(601)
Streaming.RequestModel(596)
Streaming.RequestModel(285)
Streaming.RequestModel(102)
Streaming.RequestModel(492)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.RemoveIpl("CARTER")
Streaming.RequestIpl("CARTER")
Streaming.LoadAllModelsNow

:FINALEA_245
if or
  not Streaming.HasModelLoaded(492)
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @FINALEA_276
wait 0
goto @FINALEA_245

:FINALEA_276
if or
  not Streaming.HasModelLoaded(601)
  not Streaming.HasModelLoaded(596)
  not Streaming.HasModelLoaded(285)
  not Streaming.HasModelLoaded(102)
goto_if_false @FINALEA_317
wait 0
goto @FINALEA_276

:FINALEA_317
Char.SetCoordinates($stattreadstamina_ctr, 2514.745, -1673.838, 12.8)
Char.SetHeading($stattreadstamina_ctr, 60.891)
47@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
49@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
48@ = DecisionMakerChar.Load(DecisionMakerType.Weak)
Game.SetMaxWantedLevel(0)
Game.SwitchEmergencyServices(False)
Object.Delete($sf_crane1_base_LOD)
$sf_crane1_base_LOD = Object.CreateNoOffset(#IMY_SHASH_WALL, 2522.008, -1272.93, 35.609)
Object.SetHealth($sf_crane1_base_LOD, 100)
Object.SetCollisionDamageEffect($sf_crane1_base_LOD, False)
Object.FreezePosition($sf_crane1_base_LOD, True)
Object.SetCollisionDamageEffect($sf_crane1_base_LOD, True)
Car.CustomPlateForNextCar(492, "GROVE4L_")
$sweet_carZ = Car.Create(492, 2507.823, -1671.88, 12.1678)
Car.SetHeading($sweet_carZ, 347.15)
Car.SetOnlyDamagedByPlayer($sweet_carZ, True)
128@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(128@, True)
Car.ChangeColor($sweet_carZ, 59, 34)
Car.SetHealth($sweet_carZ, 2000)
Car.SetCanBurstTires($sweet_carZ, False)
Car.SetCanBeVisiblyDamaged($sweet_carZ, False)
$big_smoke_car = Char.Create(PedType.Special, 290, 2511.169, -1672.747, 12.493)
Char.SetGetOutUpsideDownCar($big_smoke_car, False)
Char.SetHeading($big_smoke_car, 68.365)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetOnlyDamagedByPlayer($big_smoke_car, True)
Task.EnterCarAsPassenger($big_smoke_car, $sweet_carZ, 5000, 0)
Char.SetCantBeDraggedOut($big_smoke_car, True)
Char.SetStayInCarWhenJacked($big_smoke_car, True)
Char.SetDecisionMaker($big_smoke_car, 47@)
Char.SetNeverTargeted($big_smoke_car, True)
Char.SetSuffersCriticalHits($big_smoke_car, False)
102@ = Particle.Create("WALLBUST", 2521.86, -1272.66, 35.04, 1)
Clock.SetTimeOfDay(21, 30)
Game.SetMaxFireGenerations(0)
Hud.SwitchWidescreen(False)
Streaming.LoadScene(2511.75, -1672.15, 14.0)
Camera.DoFade(1000, Fade.In)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.PrintNow('RM4_1', 7000, 1)
Player.SetGroupRecruitment($statbike_temp, False)
41@ = 2505.215
41@ -= 2508.17
42@ = -1261.351
42@ -= -1267.878
43@ = 43.8341
43@ -= 48.0744
44@ = 2506.003
44@ -= 2508.351
45@ = -1261.802
45@ -= -1268.857
46@ = 43.4146
46@ -= 47.9824
35@ = 2508.17
36@ = -1267.878
37@ = 48.0744
38@ = 2508.351
39@ = -1268.857
40@ = 47.9824
34@ = 160.0
div_float_lvar_by_float_lvar 41@ /= 34@
div_float_lvar_by_float_lvar 42@ /= 34@
div_float_lvar_by_float_lvar 43@ /= 34@
div_float_lvar_by_float_lvar 44@ /= 34@
div_float_lvar_by_float_lvar 45@ /= 34@
div_float_lvar_by_float_lvar 46@ /= 34@
146@ = 0
147@ = 0
148@ = 0
149@ = 0
150@ = 0
151@ = 0
152@ = 0
153@ = 0
154@ = 0
155@ = 0
156@ = 0
157@ = 0
158@ = 0
159@ = 0
160@ = 0
161@ = 0
162@ = 0
163@ = 0
164@ = 0
165@ = 0
166@ = 0
167@ = 0
168@ = 0
169@ = 0
170@ = 0
171@ = 0
172@ = 0
173@ = 0
174@ = 0
175@ = 0
176@ = 0
177@ = 0
178@ = 0
179@ = 0
180@ = 0
181@ = 0
182@ = 0
183@ = 0
184@ = 0
185@ = 0
186@ = 0
187@ = 0
188@ = 0
189@ = 0
190@ = 0
191@ = 0
192@ = 0
193@ = 0
194@ = 0
195@ = 0
196@ = 0
197@ = 0
198@ = 0
199@ = 0
200@ = 0
201@ = 0
World.CreateScriptRoadblock(2336.63, -1548.68, 23.99, 2347.01, -1548.37, 23.68, 1)
World.CreateScriptRoadblock(2506.76, -1432.29, 28.13, 2516.63, -1430.51, 27.82, 1)
World.CreateScriptRoadblock(2462.0, -1449.0, 24.0, 2463.0, -1439.0, 24.0, 1)

:FINALEA_1473
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @FINALEA_1499
goto @FINALEA_32590

:FINALEA_1499
if 
  147@ == 0
goto_if_false @FINALEA_7233
if 
  146@ == 0
goto_if_false @FINALEA_1641
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @FINALEA_1641
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEA_1641
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @FINALEA_1641
Blip.Remove(128@)
128@ = Blip.AddForCoord(2507.82, -1309.226, 33.6726)
Text.PrintNow('RM4_2', 5000, 1)
TIMERB = 0
146@ = 1

:FINALEA_1641
if 
  146@ == 1
goto_if_false @FINALEA_2474
gosub @FINALEA_31495
if 
  193@ == 0
goto_if_false @FINALEA_1752
if 
  194@ == 0
goto_if_false @FINALEA_1752
if 
  TIMERB > 5500
goto_if_false @FINALEA_1752
set_lvar_int_to_constant 125@ = 33200
set_lvar_text_label 126@s = 'ROT4_AA'
gosub @FINALEA_31453

:FINALEA_1752
if 
  193@ == 1
goto_if_false @FINALEA_1819
if 
  194@ == 0
goto_if_false @FINALEA_1819
set_lvar_int_to_constant 125@ = 33201
set_lvar_text_label 126@s = 'ROT4_AB'
gosub @FINALEA_31453

:FINALEA_1819
if 
  193@ == 2
goto_if_false @FINALEA_1893
if 
  194@ == 0
goto_if_false @FINALEA_1893
set_lvar_int_to_constant 125@ = 33202
set_lvar_text_label 126@s = 'ROT4_AC'
gosub @FINALEA_31453
TIMERB = 0

:FINALEA_1893
if 
  193@ == 3
goto_if_false @FINALEA_1979
if 
  194@ == 0
goto_if_false @FINALEA_1979
if 
  TIMERB > 3000
goto_if_false @FINALEA_1979
set_lvar_int_to_constant 125@ = 33203
set_lvar_text_label 126@s = 'ROT4_BA'
gosub @FINALEA_31453

:FINALEA_1979
if 
  193@ == 4
goto_if_false @FINALEA_2053
if 
  194@ == 0
goto_if_false @FINALEA_2053
set_lvar_int_to_constant 125@ = 33204
set_lvar_text_label 126@s = 'ROT4_BB'
gosub @FINALEA_31453
TIMERA = 0

:FINALEA_2053
if 
  193@ == 5
goto_if_false @FINALEA_2139
if 
  194@ == 0
goto_if_false @FINALEA_2139
if 
  TIMERB > 12000
goto_if_false @FINALEA_2139
set_lvar_int_to_constant 125@ = 33205
set_lvar_text_label 126@s = 'ROT4_BC'
gosub @FINALEA_31453

:FINALEA_2139
if 
  193@ == 6
goto_if_false @FINALEA_2206
if 
  194@ == 0
goto_if_false @FINALEA_2206
set_lvar_int_to_constant 125@ = 33207
set_lvar_text_label 126@s = 'ROT4_BE'
gosub @FINALEA_31453

:FINALEA_2206
if 
  193@ == 7
goto_if_false @FINALEA_2273
if 
  194@ == 0
goto_if_false @FINALEA_2273
set_lvar_int_to_constant 125@ = 33208
set_lvar_text_label 126@s = 'ROT4_BF'
gosub @FINALEA_31453

:FINALEA_2273
if 
  193@ == 8
goto_if_false @FINALEA_2340
if 
  194@ == 0
goto_if_false @FINALEA_2340
set_lvar_int_to_constant 125@ = 33209
set_lvar_text_label 126@s = 'ROT4_BG'
gosub @FINALEA_31453

:FINALEA_2340
if 
  193@ == 9
goto_if_false @FINALEA_2407
if 
  194@ == 0
goto_if_false @FINALEA_2407
set_lvar_int_to_constant 125@ = 33210
set_lvar_text_label 126@s = 'ROT4_BH'
gosub @FINALEA_31453

:FINALEA_2407
if 
  193@ == 10
goto_if_false @FINALEA_2474
if 
  194@ == 0
goto_if_false @FINALEA_2474
set_lvar_int_to_constant 125@ = 33211
set_lvar_text_label 126@s = 'ROT4_BJ'
gosub @FINALEA_31453

:FINALEA_2474
if 
  146@ == 1
goto_if_false @FINALEA_4955
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEA_4955
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @FINALEA_4955
if 
  Car.Locate3D($sweet_carZ, 2507.82, -1309.226, 33.85, 4.0, 4.0, 4.0, True)
goto_if_false @FINALEA_4955
if 
  Char.IsSittingInCar($big_smoke_car, $sweet_carZ)
goto_if_false @FINALEA_4955
if 
  Char.IsSittingInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @FINALEA_4955
Player.SetControl($statbike_temp, False)
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.CarTempAction($stattreadstamina_ctr, $stealth_help_flag, TempAction.HandbrakeStraight, 2000000)
Blip.Remove(128@)
World.ClearAllScriptRoadblocks
Char.SetProofs($big_smoke_car, True, True, True, True, True)
Car.SetProofs($sweet_carZ, True, True, True, True, True)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 14600)
Audio.LoadMissionAudio(MissionAudioSlot.Slot2, 33212)
Streaming.LoadAllModelsNow
Camera.SetFadingColor(0, 0, 0)
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Camera.DoFade(500, Fade.Out)

:FINALEA_2716
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_2740
wait 0
goto @FINALEA_2716

:FINALEA_2740
if or
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot2)
goto_if_false @FINALEA_2770
wait 0
goto @FINALEA_2740

:FINALEA_2770
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @FINALEA_2823
Car.SetCoordinates($sweet_carZ, 2536.709, -1278.253, 52.57)
Car.SetHeading($sweet_carZ, 359.954)
Car.LockDoors($sweet_carZ, CarLock.Locked)

:FINALEA_2823
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(2536.709, -1278.253, 100.0, 100.0, True)
Cutscene.Load('RIOT_4B')

:FINALEA_2872
if 
  not Cutscene.HasLoaded
goto_if_false @FINALEA_2896
wait 0
goto @FINALEA_2872

:FINALEA_2896
World.ClearArea(2536.709, -1278.253, 100.0, 100.0, True)
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:FINALEA_2929
if 
  not Cutscene.HasFinished
goto_if_false @FINALEA_2953
wait 0
goto @FINALEA_2929

:FINALEA_2953
Cutscene.Clear
Camera.DoFade(0, Fade.Out)

:FINALEA_2961
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_2985
wait 0
goto @FINALEA_2961

:FINALEA_2985
Player.SetControl($statbike_temp, False)
World.ClearArea(2372.01, -1306.609, 300.0, 300.0, False)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @FINALEA_3069
Car.SetCoordinates($sweet_carZ, 2507.82, -1309.226, 33.2726)
Car.SetHeading($sweet_carZ, 1.7082)
Car.LockDoors($sweet_carZ, CarLock.Locked)

:FINALEA_3069
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @FINALEA_3112
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2509.781, -1308.965, 34.7125)
goto @FINALEA_3132

:FINALEA_3112
Char.SetCoordinates($stattreadstamina_ctr, 2509.781, -1308.965, 34.7125)

:FINALEA_3132
Char.SetHeading($stattreadstamina_ctr, 352.414)
World.ClearArea(2372.01, -1306.609, 300.0, 300.0, False)
wait 2000
Camera.SetFixedPosition(35@, 36@, 37@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(38@, 39@, 40@, SwitchType.JumpCut)
Streaming.RequestModel(481)
Streaming.RequestModel(353)
Streaming.RequestModel(355)
Streaming.RequestModel(63)
Streaming.RequestAnimation("CRACK")
Path.SwitchRoadsOff(2356.4, -1233.16, 30.6, 2382.19, -1329.65, 21.49)
Path.SwitchPedRoadsOff(2356.4, -1233.16, 30.6, 2382.19, -1329.65, 21.49)
Path.SwitchRoadsOff(2522.74, -1260.01, 30.28, 2499.0, -1322.01, 31.76)
Path.SwitchPedRoadsOff(2522.74, -1260.01, 30.28, 2499.0, -1322.01, 31.76)
Path.SwitchRoadsOff(2431.9, -1268.06, 30.6, 2474.9, -1240.38, 20.84)
Path.SwitchPedRoadsOff(2431.9, -1268.06, 30.6, 2474.9, -1240.38, 20.84)
World.ClearArea(2356.4, -1233.16, 300.0, 300.0, True)
Streaming.LoadAllModelsNow

:FINALEA_3456
if or
  not Streaming.HasModelLoaded(481)
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasAnimationLoaded("CRACK")
  not Streaming.HasModelLoaded(63)
goto_if_false @FINALEA_3506
wait 0
goto @FINALEA_3456

:FINALEA_3506
50@ = Group.Create(DefaultTaskAllocator.StandStill)
51@ = Group.Create(DefaultTaskAllocator.StandStill)
52@ = Group.Create(DefaultTaskAllocator.StandStill)
54@ = Car.Create(596, 2373.803, -1314.172, 22.8398)
Car.SetHeading(54@, 292.1921)
Car.SetOnlyDamagedByPlayer(54@, True)
Car.SetHealth(54@, 500)
55@ = Car.Create(596, 2368.04, -1315.706, 22.8459)
Car.SetHeading(55@, 96.2549)
Car.SetOnlyDamagedByPlayer(55@, True)
Car.LockDoors(55@, CarLock.Unlocked)
57@ = Car.Create(601, 2374.36, -1323.792, 22.8389)
Car.SetHeading(57@, 3.7561)
Car.SetHealth(57@, 3000)
Car.SetHeavy(57@, True)
Car.SetProofs(57@, True, True, False, False, False)
Car.SetOnlyDamagedByPlayer(57@, True)
Car.LockDoors(57@, CarLock.Unlocked)
Car.SetCanBurstTires(57@, False)
58@ = Car.Create(492, 2365.612, -1294.829, 22.8433)
Car.SetHeading(58@, 97.3729)
Car.SetHealth(58@, 500)
Car.SetOnlyDamagedByPlayer(58@, True)
59@ = Car.Create(492, 2372.431, -1295.272, 22.8418)
Car.SetHeading(59@, 75.2267)
Car.SetOnlyDamagedByPlayer(59@, True)
63@ = Car.Create(481, 2507.201, -1300.841, 33.6726)
Car.SetHeading(63@, 1.6501)
64@ = Char.Create(PedType.Mission2, 285, 2366.342, -1317.377, 22.8438)
Char.SetHeading(64@, 3.9226)
Char.SetDecisionMaker(64@, 49@)
Char.SetRelationship(64@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(64@, RelationshipType.Hate, PedType.Mission1)
Char.SetOnlyDamagedByPlayer(64@, True)
Char.GiveWeapon(64@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(64@, True)
Group.SetLeader(50@, 64@)
65@ = Char.Create(PedType.Mission2, 285, 2375.848, -1315.325, 22.8368)
Char.SetHeading(65@, 4.8178)
Char.SetDecisionMaker(65@, 49@)
Char.SetRelationship(65@, RelationshipType.Hate, PedType.Mission1)
Char.SetRelationship(65@, RelationshipType.Hate, PedType.Player1)
Char.SetOnlyDamagedByPlayer(65@, True)
Char.GiveWeapon(65@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(65@, True)
Group.SetMember(50@, 65@)
66@ = Char.Create(PedType.Mission2, 285, 2371.676, -1316.806, 22.8429)
Char.SetHeading(66@, 0.5529)
Char.SetDecisionMaker(66@, 49@)
Char.SetRelationship(66@, RelationshipType.Hate, PedType.Mission1)
Char.SetRelationship(66@, RelationshipType.Hate, PedType.Player1)
Char.SetOnlyDamagedByPlayer(66@, True)
Char.GiveWeapon(66@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(66@, True)
Group.SetMember(50@, 66@)
67@ = Char.Create(PedType.Mission2, 285, 22370.36, -1319.492, 22.8515)
Char.SetHeading(67@, 177.5538)
Char.SetDecisionMaker(67@, 49@)
Char.SetRelationship(67@, RelationshipType.Hate, PedType.Mission1)
Char.SetRelationship(67@, RelationshipType.Hate, PedType.Player1)
Char.SetOnlyDamagedByPlayer(67@, True)
Char.GiveWeapon(67@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(67@, True)
Group.SetMember(50@, 67@)
68@ = Char.Create(PedType.Mission2, 285, 2376.44, -1321.625, 22.9844)
Char.SetHeading(68@, 177.5538)
Char.GiveWeapon(68@, WeaponType.Mp5, 99999)
Char.SetDecisionMaker(68@, 49@)
Char.SetRelationship(68@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(68@, RelationshipType.Hate, PedType.Mission1)
Char.SetOnlyDamagedByPlayer(68@, True)
Char.GiveWeapon(68@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(68@, True)
Group.SetMember(50@, 68@)
71@ = Char.Create(PedType.Mission1, 102, 2364.432, -1294.013, 22.9882)
Char.SetHeading(71@, 177.5538)
Char.SetDecisionMaker(71@, 49@)
Char.SetRelationship(71@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(71@, RelationshipType.Hate, PedType.Mission2)
Char.SetOnlyDamagedByPlayer(71@, True)
Char.GiveWeapon(71@, WeaponType.Ak47, 99999)
Task.StayInSamePlace(71@, True)
Group.SetLeader(51@, 71@)
72@ = Char.Create(PedType.Mission1, 102, 2369.527, -1292.228, 22.8515)
Char.SetHeading(72@, 177.5538)
Char.SetDecisionMaker(72@, 49@)
Char.SetRelationship(72@, RelationshipType.Hate, PedType.Mission2)
Char.SetRelationship(72@, RelationshipType.Hate, PedType.Player1)
Char.SetOnlyDamagedByPlayer(72@, True)
Char.GiveWeapon(72@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(72@, True)
Group.SetMember(51@, 72@)
73@ = Char.Create(PedType.Mission1, 102, 2371.168, -1293.37, 22.8436)
Char.SetHeading(73@, 177.5538)
Char.SetDecisionMaker(73@, 49@)
Char.SetRelationship(73@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(73@, RelationshipType.Hate, PedType.Mission2)
Char.SetOnlyDamagedByPlayer(73@, True)
Char.GiveWeapon(73@, WeaponType.Ak47, 99999)
Task.StayInSamePlace(73@, True)
Group.SetMember(51@, 73@)
74@ = Char.Create(PedType.Mission1, 102, 2374.987, -1294.079, 22.838)
Char.SetHeading(74@, 177.5538)
Char.SetDecisionMaker(74@, 49@)
Char.SetRelationship(74@, RelationshipType.Hate, PedType.Mission2)
Char.SetRelationship(74@, RelationshipType.Hate, PedType.Player1)
Char.SetOnlyDamagedByPlayer(74@, True)
Char.GiveWeapon(74@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(74@, True)
Group.SetMember(51@, 74@)
75@ = Char.Create(PedType.Mission1, 102, 2521.51, -1270.259, 33.9206)
Char.SetHeading(75@, 100.2518)
Char.SetDecisionMaker(75@, 49@)
Char.SetRelationship(75@, RelationshipType.Hate, PedType.Player1)
Char.SetOnlyDamagedByPlayer(75@, True)
Char.GiveWeapon(75@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(75@, True)
Group.SetLeader(52@, 75@)
76@ = Char.Create(PedType.Mission1, 102, 2521.72, -1274.981, 33.8748)
Char.SetHeading(76@, 98.0309)
Char.SetDecisionMaker(76@, 49@)
Char.SetRelationship(76@, RelationshipType.Hate, PedType.Player1)
Char.SetOnlyDamagedByPlayer(76@, True)
Char.GiveWeapon(76@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(76@, True)
Group.SetMember(52@, 76@)
146@ = 2
Hud.SwitchWidescreen(True)
Camera.DoFade(1000, Fade.In)

:FINALEA_4878
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_4902
wait 0
goto @FINALEA_4878

:FINALEA_4902
Text.PrintNow('RM4_4', 5000, 1)
Text.Print('RM4_14', 5000, 1)
TIMERA = 0
151@ = 0
skip_cutscene_start_internal @FINALEA_5387

:FINALEA_4955
if 
  146@ == 2
goto_if_false @FINALEA_5096
add_float_lvar_to_float_lvar 35@ += 41@
add_float_lvar_to_float_lvar 36@ += 42@
add_float_lvar_to_float_lvar 37@ += 43@
Camera.SetFixedPosition(35@, 36@, 37@, 0.0, 0.0, 0.0)
add_float_lvar_to_float_lvar 38@ += 44@
add_float_lvar_to_float_lvar 39@ += 45@
add_float_lvar_to_float_lvar 40@ += 46@
Camera.PointAtPoint(38@, 39@, 40@, SwitchType.JumpCut)
if or
  2505.215 >= 35@
  TIMERA > 8999
goto_if_false @FINALEA_5096
146@ = 3

:FINALEA_5096
if 
  146@ == 3
goto_if_false @FINALEA_5140
if 
  TIMERA > 8999
goto_if_false @FINALEA_5140
146@ = 4

:FINALEA_5140
if 
  146@ == 4
goto_if_false @FINALEA_5241
Camera.SetFixedPosition(2370.902, -1328.815, 23.0473, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2371.46, -1328.005, 23.2292, SwitchType.JumpCut)
TIMERA = 0
Text.ClearPrints
Text.PrintNow('RM4_5', 8000, 1)
146@ = 5

:FINALEA_5241
if 
  146@ == 5
goto_if_false @FINALEA_5343
if 
  TIMERA > 3999
goto_if_false @FINALEA_5343
Camera.SetFixedPosition(2372.949, -1326.914, 24.7902, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2372.874, -1325.92, 24.701, SwitchType.JumpCut)
TIMERA = 0
146@ = 6

:FINALEA_5343
if 
  146@ == 6
goto_if_false @FINALEA_5667
if 
  TIMERA > 3999
goto_if_false @FINALEA_5667
151@ = 1

:FINALEA_5387
skip_cutscene_end 
if 
  151@ == 0
goto_if_false @FINALEA_5479
Camera.DoFade(500, Fade.Out)

:FINALEA_5414
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_5438
wait 0
goto @FINALEA_5414

:FINALEA_5438
Text.ClearPrints
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Camera.DoFade(500, Fade.In)

:FINALEA_5455
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_5479
wait 0
goto @FINALEA_5455

:FINALEA_5479
if 
  not Car.IsDead(57@)
goto_if_false @FINALEA_5533
129@ = Blip.AddForCar(57@)
Blip.SetAsFriendly(129@, True)
Text.PrintNow('RM4_6', 7000, 1)
152@ = 1

:FINALEA_5533
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @FINALEA_5556
Car.FreezePosition($sweet_carZ, True)

:FINALEA_5556
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
World.CreateScriptRoadblock(2456.468, -1262.2, 23.87, 2455.625, -1250.55, 23.89, 1)
World.CreateScriptRoadblock(2375.778, -1358.43, 23.878, 2365.675, -1358.34, 24.036, 1)
World.SetPedDensityMultiplier(0.5)
146@ = 7

:FINALEA_5667
if 
  146@ == 7
goto_if_false @FINALEA_6474
if 
  154@ == 0
goto_if_false @FINALEA_5775
if 
  not Char.IsDead(68@)
goto_if_false @FINALEA_5775
if 
  Char.HasSpottedChar(68@, $stattreadstamina_ctr)
goto_if_false @FINALEA_5775
set_lvar_int_to_lvar_int 109@ = 68@
set_lvar_int_to_var_int 114@ = $stattreadstamina_ctr
Char.SetOnlyDamagedByPlayer(68@, False)
gosub @FINALEA_31697
154@ = 1

:FINALEA_5775
if 
  153@ == 0
goto_if_false @FINALEA_6167
if 
  not Car.IsDead(57@)
goto_if_false @FINALEA_6167
if 
  Char.IsInCar($stattreadstamina_ctr, 57@)
goto_if_false @FINALEA_6167
if 
  not Char.IsDead(64@)
goto_if_false @FINALEA_5874
set_lvar_int_to_lvar_int 109@ = 64@
set_lvar_int_to_var_int 114@ = $stattreadstamina_ctr
Char.SetOnlyDamagedByPlayer(64@, False)
gosub @FINALEA_31697

:FINALEA_5874
if 
  not Char.IsDead(65@)
goto_if_false @FINALEA_5920
set_lvar_int_to_lvar_int 109@ = 65@
set_lvar_int_to_var_int 114@ = $stattreadstamina_ctr
Char.SetOnlyDamagedByPlayer(65@, False)
gosub @FINALEA_31697

:FINALEA_5920
if 
  not Char.IsDead(66@)
goto_if_false @FINALEA_5966
set_lvar_int_to_lvar_int 109@ = 66@
set_lvar_int_to_var_int 114@ = $stattreadstamina_ctr
Char.SetOnlyDamagedByPlayer(66@, False)
gosub @FINALEA_31697

:FINALEA_5966
if 
  not Char.IsDead(67@)
goto_if_false @FINALEA_6012
set_lvar_int_to_lvar_int 109@ = 67@
set_lvar_int_to_var_int 114@ = $stattreadstamina_ctr
Char.SetOnlyDamagedByPlayer(67@, False)
gosub @FINALEA_31697

:FINALEA_6012
if 
  not Char.IsDead(68@)
goto_if_false @FINALEA_6058
set_lvar_int_to_lvar_int 109@ = 68@
set_lvar_int_to_var_int 114@ = $stattreadstamina_ctr
Char.SetOnlyDamagedByPlayer(68@, False)
gosub @FINALEA_31697

:FINALEA_6058
if 
  not Char.IsDead(71@)
goto_if_false @FINALEA_6081
Char.SetOnlyDamagedByPlayer(71@, False)

:FINALEA_6081
if 
  not Char.IsDead(72@)
goto_if_false @FINALEA_6104
Char.SetOnlyDamagedByPlayer(72@, False)

:FINALEA_6104
if 
  not Char.IsDead(73@)
goto_if_false @FINALEA_6127
Char.SetOnlyDamagedByPlayer(73@, False)

:FINALEA_6127
if 
  not Char.IsDead(74@)
goto_if_false @FINALEA_6150
Char.SetOnlyDamagedByPlayer(74@, False)

:FINALEA_6150
Streaming.MarkModelAsNoLongerNeeded(481)
Car.MarkAsNoLongerNeeded(63@)
153@ = 1

:FINALEA_6167
if 
  153@ == 1
goto_if_false @FINALEA_6356
if 
  not Car.IsDead(57@)
goto_if_false @FINALEA_6356
if 
  Char.LocateInCar2D($stattreadstamina_ctr, 2521.91, -1273.05, 30.0, 30.0, False)
goto_if_false @FINALEA_6356
if 
  Char.IsInCar($stattreadstamina_ctr, 57@)
goto_if_false @FINALEA_6356
Text.PrintNow('RM4_15', 5000, 1)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(285)
Char.MarkAsNoLongerNeeded(64@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(66@)
Char.MarkAsNoLongerNeeded(67@)
Char.MarkAsNoLongerNeeded(68@)
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(72@)
Char.MarkAsNoLongerNeeded(73@)
Char.MarkAsNoLongerNeeded(74@)
Car.MarkAsNoLongerNeeded(54@)
Car.MarkAsNoLongerNeeded(55@)
Car.MarkAsNoLongerNeeded(58@)
Car.MarkAsNoLongerNeeded(59@)
153@ = 2

:FINALEA_6356
if 
  World.HasObjectOfTypeBeenSmashed(2522.008, -1272.93, 35.609, 30.0, #IMY_SHASH_WALL)
goto_if_false @FINALEA_6474
Particle.PlayAndKill(102@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Char.Delete(64@)
Char.Delete(65@)
Char.Delete(66@)
Char.Delete(67@)
Char.Delete(68@)
Char.Delete(71@)
Char.Delete(72@)
Char.Delete(73@)
Char.Delete(74@)
Car.Delete(54@)
Car.Delete(58@)
Car.Delete(59@)
Blip.Remove(129@)
Text.ClearPrints
147@ = 1

:FINALEA_6474
if 
  152@ == 1
goto_if_false @FINALEA_6575
if 
  not Car.IsDead(57@)
goto_if_false @FINALEA_6575
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 57@)
goto_if_false @FINALEA_6575
Blip.Remove(129@)
Text.PrintNow('RM4_8', 5000, 1)
130@ = Blip.AddForCoord(2522.79, -1272.85, 34.19)
152@ = 2

:FINALEA_6575
if 
  152@ == 2
goto_if_false @FINALEA_6671
if 
  not Car.IsDead(57@)
goto_if_false @FINALEA_6671
if 
  not Char.IsSittingInCar($stattreadstamina_ctr, 57@)
goto_if_false @FINALEA_6671
Blip.Remove(130@)
129@ = Blip.AddForCar(57@)
Blip.SetAsFriendly(129@, True)
Text.PrintNow('RM4_9', 5000, 1)
152@ = 1

:FINALEA_6671
if or
  152@ == 1
  152@ == 2
goto_if_false @FINALEA_6735
if 
  Car.IsDead(57@)
goto_if_false @FINALEA_6735
Text.PrintNow('RM4_10', 7000, 1)
goto @FINALEA_32509

:FINALEA_6735
if 
  148@ == 0
goto_if_false @FINALEA_6851
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @FINALEA_6851
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2507.82, -1309.226, 3.5, 3.5, False)
goto_if_false @FINALEA_6851
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @FINALEA_6851
Audio.PlayMissionAudio(MissionAudioSlot.Slot2)
Text.PrintNow('ROT4_CA', 2000, 1)
148@ = 1

:FINALEA_6851
if 
  148@ == 1
goto_if_false @FINALEA_6935
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot2)
goto_if_false @FINALEA_6935
if or
  not Char.LocateAnyMeans2D($stattreadstamina_ctr, 2507.82, -1309.226, 3.5, 3.5, False)
  not Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @FINALEA_6935
148@ = 0

:FINALEA_6935
if or
  146@ == 1
  146@ == 100
goto_if_false @FINALEA_7155
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @FINALEA_7155
if 
  149@ == 1
goto_if_false @FINALEA_7063
if 
  not Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @FINALEA_7063
Blip.Remove(128@)
128@ = Blip.AddForCar($sweet_carZ)
Blip.SetAsFriendly(128@, True)
Text.PrintNow('RM4_7', 5000, 1)
146@ = 100
149@ = 0

:FINALEA_7063
if 
  149@ == 0
goto_if_false @FINALEA_7155
if 
  Char.IsInCar($stattreadstamina_ctr, $sweet_carZ)
goto_if_false @FINALEA_7155
Blip.Remove(128@)
128@ = Blip.AddForCoord(2507.82, -1309.226, 33.6726)
Text.PrintNow('RM4_2', 5000, 1)
146@ = 1
149@ = 1

:FINALEA_7155
if 
  Char.IsDead($big_smoke_car)
goto_if_false @FINALEA_7194
Text.PrintNow('RM4_11', 5000, 1)
goto @FINALEA_32509

:FINALEA_7194
if 
  Car.IsDead($sweet_carZ)
goto_if_false @FINALEA_7233
Text.PrintNow('RM4_12', 5000, 1)
goto @FINALEA_32509

:FINALEA_7233
if 
  147@ == 1
goto_if_false @FINALEA_8584
if 
  155@ == 0
goto_if_false @FINALEA_8155
Blip.Remove(130@)
Group.Remove(50@)
Group.Remove(51@)
71@ = Char.Create(PedType.Mission1, 102, 2528.252, -1273.761, 33.9609)
Char.SetHeading(71@, 91.4211)
Char.SetDecisionMaker(71@, 49@)
Task.StayInSamePlace(71@, True)
Char.GiveWeapon(71@, WeaponType.Ak47, 99999)
Char.SetRelationship(71@, RelationshipType.Hate, PedType.Player1)
Char.SetHealth(71@, 20)
Char.SetSenseRange(71@, 50.0)
72@ = Char.Create(PedType.Mission1, 102, 2530.771, -1271.391, 33.9602)
Char.SetHeading(72@, 91.5182)
Char.SetDecisionMaker(72@, 49@)
Char.GiveWeapon(72@, WeaponType.Ak47, 99999)
Task.StayInSamePlace(72@, True)
Char.SetRelationship(72@, RelationshipType.Hate, PedType.Player1)
Char.SetHealth(72@, 20)
Char.SetSenseRange(72@, 50.0)
73@ = Char.Create(PedType.Mission1, 102, 2532.08, -1272.28, 33.9602)
Char.SetHeading(73@, 177.5538)
Char.SetDecisionMaker(73@, 49@)
Char.GiveWeapon(73@, WeaponType.Ak47, 99999)
Task.StayInSamePlace(73@, True)
Char.SetRelationship(73@, RelationshipType.Hate, PedType.Player1)
Char.SetHealth(73@, 20)
Char.SetSenseRange(73@, 50.0)
74@ = Char.Create(PedType.Mission1, 102, 2539.969, -1279.563, 33.9609)
Char.SetHeading(74@, 25.3324)
Char.SetDecisionMaker(74@, 49@)
Char.GiveWeapon(74@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(74@, True)
Char.SetRelationship(74@, RelationshipType.Hate, PedType.Player1)
Char.SetHealth(74@, 20)
Char.SetSenseRange(74@, 50.0)
77@ = Char.Create(PedType.Mission1, 102, 2533.279, -1295.555, 33.9609)
Char.SetHeading(77@, 327.5814)
Char.SetDecisionMaker(77@, 49@)
Char.GiveWeapon(77@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(77@, True)
Char.SetRelationship(77@, RelationshipType.Hate, PedType.Player1)
Char.SetHealth(77@, 20)
Char.SetSenseRange(77@, 50.0)
78@ = Char.Create(PedType.Mission1, 102, 2529.178, -1304.473, 33.9609)
Char.SetHeading(78@, 351.5292)
Char.SetDecisionMaker(78@, 49@)
Char.GiveWeapon(78@, WeaponType.Mp5, 99999)
Task.StayInSamePlace(78@, True)
Char.SetRelationship(78@, RelationshipType.Hate, PedType.Player1)
Char.SetHealth(78@, 20)
79@ = Char.Create(PedType.Mission1, 63, 2538.0, -1307.0, 34.0)
Char.SetHeading(79@, 35.0)
Char.SetHealth(79@, 3)
Task.PlayAnim(79@, "CRCKIDLE4", "CRACK", 1000.0, True, False, False, True, -1)
80@ = Char.Create(PedType.Mission1, 7, 2540.04, -1307.37, 33.9609)
Char.SetHeading(80@, 92.5436)
Char.SetHealth(80@, 3)
Task.PlayAnim(80@, "CRCKIDLE3", "CRACK", 1000.0, True, False, False, True, -1)
81@ = Char.Create(PedType.Mission1, 63, 2533.552, -1308.284, 33.9609)
Char.SetHeading(81@, 67.9508)
Char.SetHealth(81@, 3)
Task.PlayAnim(81@, "CRCKIDLE2", "CRACK", 1000.0, True, False, False, True, -1)
82@ = Char.Create(PedType.Mission1, 7, 2534.682, -1287.199, 33.9609)
Char.SetHeading(82@, 104.5)
Char.SetHealth(82@, 3)
Task.PlayAnim(82@, "CRCKIDLE4", "CRACK", 1000.0, True, False, False, True, -1)
Text.PrintNow('RM4_13', 5000, 1)
130@ = Blip.AddForCoord(2542.1, -1303.99, 34.03)
155@ = 1

:FINALEA_8155
if 
  Char.IsDead($big_smoke_car)
goto_if_false @FINALEA_8194
Text.PrintNow('RM4_11', 5000, 1)
goto @FINALEA_32509

:FINALEA_8194
if 
  155@ == 1
goto_if_false @FINALEA_8584
53@ = Streaming.GetAreaVisible()
if 
  197@ == 0
goto_if_false @FINALEA_8293
if 
  not Char.IsDead(79@)
goto_if_false @FINALEA_8293
if 
  Char.IsTouchingChar(79@, $stattreadstamina_ctr)
goto_if_false @FINALEA_8293
Task.FleeChar(79@, $stattreadstamina_ctr, 100.0, 30000)
197@ = 1

:FINALEA_8293
if 
  198@ == 0
goto_if_false @FINALEA_8369
if 
  not Char.IsDead(80@)
goto_if_false @FINALEA_8369
if 
  Char.IsTouchingChar(80@, $stattreadstamina_ctr)
goto_if_false @FINALEA_8369
Task.FleeChar(80@, $stattreadstamina_ctr, 100.0, 30000)
198@ = 1

:FINALEA_8369
if 
  199@ == 0
goto_if_false @FINALEA_8445
if 
  not Char.IsDead(81@)
goto_if_false @FINALEA_8445
if 
  Char.IsTouchingChar(81@, $stattreadstamina_ctr)
goto_if_false @FINALEA_8445
Task.FleeChar(81@, $stattreadstamina_ctr, 100.0, 30000)
199@ = 1

:FINALEA_8445
if 
  200@ == 0
goto_if_false @FINALEA_8521
if 
  not Char.IsDead(82@)
goto_if_false @FINALEA_8521
if 
  Char.IsTouchingChar(82@, $stattreadstamina_ctr)
goto_if_false @FINALEA_8521
Task.FleeChar(82@, $stattreadstamina_ctr, 100.0, 30000)
200@ = 1

:FINALEA_8521
if 
  53@ == 2
goto_if_false @FINALEA_8584
Camera.DoFade(1000, Fade.Out)

:FINALEA_8546
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_8570
wait 0
goto @FINALEA_8546

:FINALEA_8570
147@ = 2
156@ = 1

:FINALEA_8584
if 
  147@ == 2
goto_if_false @FINALEA_17177
if 
  156@ == 1
goto_if_false @FINALEA_10806
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.DoFade(1000, Fade.Out)
World.ClearAllScriptRoadblocks

:FINALEA_8640
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_8664
wait 0
goto @FINALEA_8640

:FINALEA_8664
Player.SetMood($statbike_temp, 7, 360000)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
Blip.Remove(130@)
Char.Delete(71@)
Char.Delete(72@)
Char.Delete(73@)
Char.Delete(74@)
Char.Delete(77@)
Char.Delete(78@)
Char.Delete(79@)
Char.Delete(80@)
Char.Delete(81@)
Char.Delete(82@)
Car.Delete(57@)
Char.Delete($big_smoke_car)
Streaming.RemoveAnimation("CRACK")
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(492)
Char.SetCoordinates($stattreadstamina_ctr, 2543.26, -1303.844, 1024.074)
Char.SetHeading($stattreadstamina_ctr, 175.5166)
Camera.SetFixedPosition(2544.616, -1302.899, 1024.407, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2544.193, -1303.702, 1024.828, SwitchType.JumpCut)
Char.SetAreaVisible($stattreadstamina_ctr, 2)
130@ = Blip.AddForCoord(2579.85, -1305.76, 1037.07)
Blip.SetEntryExit(130@, 2540.83, -1304.05, 1.0)
World.ClearArea(2578.0, -1306.0, 200.0, 200.0, True)
Camera.DoFade(1000, Fade.In)
Text.PrintBig('RM4_17', 1000, TextStyle.BottomRight)

:FINALEA_8942
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_8966
wait 0
goto @FINALEA_8942

:FINALEA_8966
133@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2527.783, -1288.816, 1031.43)
137@ = Pickup.Create(#HEALTH, PickupType.Once, 2575.094, -1286.042, 1037.781)
143@ = Pickup.CreateWithAmmo(351, PickupType.Once, 20, 2568.502, -1282.345, 1037.781)
Streaming.RequestModel(103)
Streaming.RequestModel(108)
Streaming.RequestModel(285)
Streaming.RequestModel(601)
Streaming.RequestAnimation("SWAT")
Streaming.RequestModel(#IMCOMPMOVEDR1_LAS)
Streaming.RequestCarRecording(287)
Streaming.LoadAllModelsNow
Streaming.LoadScene(2541.81, -1311.32, 1028.22)
85@ = Char.Create(PedType.Mission1, 103, 2543.244, -1318.538, 1030.427)
Char.SetHeading(85@, 3.2815)
Char.SetDecisionMaker(85@, 47@)
Char.GiveWeapon(85@, WeaponType.Mp5, 99999)
Task.PlayAnim(85@, "ROADCROSS", "PED", 4.0, False, False, False, True, -1)
Char.SetAreaVisible(85@, 2)
Char.SetHealth(85@, 200)
Char.SetMaxHealth(85@, 200)
173@ = 0
86@ = Char.Create(PedType.Mission1, 102, 2536.071, -1321.471, 1030.43)
Char.SetHeading(86@, 263.8364)
Char.SetDecisionMaker(86@, 47@)
Char.GiveWeapon(86@, WeaponType.Mp5, 99999)
Char.SetAreaVisible(86@, 2)
Char.SetHealth(86@, 200)
Char.SetMaxHealth(86@, 200)
174@ = 0
87@ = Char.Create(PedType.Mission1, 108, 2524.737, -1298.328, 1030.427)
Char.SetHeading(87@, 175.4097)
Char.SetDecisionMaker(87@, 47@)
Char.GiveWeapon(87@, WeaponType.Mp5, 99999)
Char.SetAreaVisible(87@, 2)
Char.SetAccuracy(87@, 80)
Char.SetHealth(87@, 200)
Char.SetMaxHealth(87@, 200)
175@ = 0
88@ = Char.Create(PedType.Mission1, 103, 2527.814, -1289.816, 1030.427)
Char.SetHeading(88@, 178.5987)
Char.SetDecisionMaker(88@, 47@)
Char.GiveWeapon(88@, WeaponType.Ak47, 99999)
Char.SetAreaVisible(88@, 2)
Char.SetAccuracy(87@, 80)
Char.SetShootRate(87@, 70)
Char.SetHealth(88@, 200)
Char.SetMaxHealth(88@, 200)
176@ = 0
wait 3000
71@ = Char.Create(PedType.Mission1, 103, 2531.064, -1304.332, 1030.43)
Char.SetHeading(71@, 264.767)
Char.SetDecisionMaker(71@, 47@)
Char.GiveWeapon(71@, WeaponType.Mp5, 99999)
Char.SetAreaVisible(71@, 2)
Char.SetAccuracy(71@, 80)
Char.SetHealth(71@, 200)
Char.SetMaxHealth(71@, 200)
159@ = 0
73@ = Char.Create(PedType.Mission1, 108, 2566.673, -1297.709, 1036.781)
Char.SetHeading(73@, 85.3469)
Char.SetDecisionMaker(73@, 47@)
Char.GiveWeapon(73@, WeaponType.Ak47, 99999)
Char.SetAreaVisible(73@, 2)
Char.SetAccuracy(73@, 80)
Char.SetShootRate(73@, 60)
161@ = 0
74@ = Char.Create(PedType.Mission1, 103, 2566.727, -1287.224, 1036.781)
Char.SetHeading(74@, 96.3687)
Char.SetDecisionMaker(74@, 47@)
Char.GiveWeapon(74@, WeaponType.Ak47, 99999)
Char.SetAreaVisible(74@, 2)
Char.SetHealth(74@, 200)
Char.SetMaxHealth(74@, 200)
Char.SetAccuracy(74@, 80)
162@ = 0
75@ = Char.Create(PedType.Mission1, 102, 2540.859, -1287.161, 1030.419)
Char.SetHeading(75@, 90.0)
Char.SetDecisionMaker(75@, 47@)
Char.GiveWeapon(75@, WeaponType.Mp5, 99999)
Char.SetAreaVisible(75@, 2)
Char.SetHealth(75@, 200)
Char.SetMaxHealth(75@, 200)
Char.SetAccuracy(75@, 80)
Char.SetShootRate(75@, 60)
163@ = 0
76@ = Char.Create(PedType.Mission1, 108, 2556.854, -1287.161, 1030.419)
Char.SetHeading(76@, 90.0)
Char.SetDecisionMaker(76@, 47@)
Char.GiveWeapon(76@, WeaponType.Ak47, 99999)
Char.SetAreaVisible(76@, 2)
Char.SetHealth(76@, 200)
Char.SetMaxHealth(76@, 200)
164@ = 0
77@ = Char.Create(PedType.Mission1, 102, 2556.854, -1300.628, 1030.419)
Char.SetHeading(77@, 90.0)
Char.SetDecisionMaker(77@, 47@)
Char.GiveWeapon(77@, WeaponType.Mp5, 99999)
Char.SetAreaVisible(77@, 2)
Char.SetHealth(77@, 200)
Char.SetMaxHealth(77@, 200)
165@ = 0
78@ = Char.Create(PedType.Mission1, 103, 2539.805, -1298.607, 1030.43)
Char.SetHeading(78@, 64.7154)
Char.SetDecisionMaker(78@, 47@)
Char.GiveWeapon(78@, WeaponType.Ak47, 99999)
Char.SetAreaVisible(78@, 2)
Char.SetHealth(78@, 200)
Char.SetShootRate(78@, 70)
Char.SetMaxHealth(78@, 200)
166@ = 0
80@ = Char.Create(PedType.Mission1, 103, 2552.798, -1300.993, 1030.43)
Char.SetHeading(80@, 87.5663)
Char.SetDecisionMaker(80@, 47@)
Char.GiveWeapon(80@, WeaponType.Ak47, 99999)
Char.SetAreaVisible(80@, 2)
Char.SetHealth(80@, 200)
Char.SetMaxHealth(80@, 200)
Char.SetAccuracy(80@, 80)
Char.SetShootRate(80@, 60)
168@ = 0
81@ = Char.Create(PedType.Mission1, 102, 2563.234, -1294.067, 1030.43)
Char.SetHeading(81@, 93.219)
Char.SetDecisionMaker(81@, 47@)
Char.GiveWeapon(81@, WeaponType.Mp5, 99999)
Char.SetAreaVisible(81@, 2)
Char.SetHealth(81@, 200)
Char.SetMaxHealth(81@, 200)
169@ = 0
82@ = Char.Create(PedType.Mission1, 103, 2550.992, -1290.274, 1030.43)
Char.SetHeading(82@, 103.6499)
Char.SetDecisionMaker(82@, 47@)
Char.GiveWeapon(82@, WeaponType.Ak47, 99999)
Char.SetAreaVisible(82@, 2)
Char.SetHealth(82@, 200)
Char.SetShootRate(82@, 60)
Char.SetMaxHealth(82@, 200)
170@ = 0
83@ = Char.Create(PedType.Mission1, 108, 2556.191, -1281.446, 1036.781)
Char.SetHeading(83@, 183.4208)
Char.SetDecisionMaker(83@, 47@)
Char.GiveWeapon(83@, WeaponType.Mp5, 99999)
Char.SetAreaVisible(83@, 2)
171@ = 0
57@ = Car.Create(601, 2561.818, -1275.167, 1031.019)
Car.FreezePosition(57@, True)
Car.SetHeading(57@, 178.9)
Car.SetAreaVisible(57@, 2)
64@ = Char.CreateInsideCar(57@, PedType.Mission2, 285)
Char.SetDecisionMaker(64@, 47@)
Char.GiveWeapon(64@, WeaponType.Mp5, 9999)
Char.SetAreaVisible(64@, 2)
Char.SetShootRate(64@, 80)
Char.SetHealth(64@, 200)
Char.SetMaxHealth(64@, 200)
Char.SetAccuracy(64@, 80)
65@ = Char.CreateAsPassenger(57@, PedType.Mission2, 285, 0)
Char.SetDecisionMaker(65@, 47@)
Char.SetHealth(65@, 200)
Char.SetMaxHealth(65@, 200)
Char.GiveWeapon(65@, WeaponType.Mp5, 9999)
Char.SetRelationship(65@, RelationshipType.Hate, PedType.Mission1)
Char.SetRelationship(65@, RelationshipType.Hate, PedType.Player1)
Char.SetAreaVisible(65@, 2)
153@ = 0
179@ = 0
152@ = 0
100@ = Object.CreateNoOffset(#IMCOMPMOVEDR1_LAS, 2565.814, -1303.566, 1033.173)
Object.SetHeading(100@, 90.0)
101@ = Object.CreateNoOffset(#CJ_WIN_POP2, 2561.811, -1279.639, 1032.128)
Object.FreezePosition(101@, True)
102@ = Particle.Create("WALLBUST", 2562.0, -1282.0, 1031.0, 1)
World.DisableAllEntryExits(True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Text.ClearPrints
Text.PrintNow('RM4_16', 7000, 1)
156@ = 2

:FINALEA_10806
if 
  156@ == 2
goto_if_false @FINALEA_11026
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2543.38, -1310.38, 1028.26, 5.0, 5.0, 5.0, False)
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @FINALEA_11026
if 
  173@ == 0
goto_if_false @FINALEA_10963
if 
  not Char.IsDead(85@)
goto_if_false @FINALEA_10963
set_lvar_int_to_lvar_int 109@ = 85@
111@ = 2527.579
112@ = -1318.762
113@ = 1030.43
gosub @FINALEA_31604
173@ = 1

:FINALEA_10963
if 
  176@ == 0
goto_if_false @FINALEA_11019
if 
  not Char.IsDead(88@)
goto_if_false @FINALEA_11019
set_lvar_int_to_lvar_int 109@ = 88@
gosub @FINALEA_31697
176@ = 1

:FINALEA_11019
156@ = 3

:FINALEA_11026
if 
  156@ == 3
goto_if_false @FINALEA_11274
if or
  Char.IsInArea3D($stattreadstamina_ctr, 2540.95, -1314.42, 1028.79, 2529.24, -1333.21, 1035.04, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2534.44, -1318.92, 1031.17, 5.5, 5.5, 4.0, False)
goto_if_false @FINALEA_11192
if 
  174@ == 0
goto_if_false @FINALEA_11185
if 
  not Char.IsDead(86@)
goto_if_false @FINALEA_11185
set_lvar_int_to_lvar_int 109@ = 86@
gosub @FINALEA_31890
174@ = 1

:FINALEA_11185
156@ = 4

:FINALEA_11192
if 
  174@ == 0
goto_if_false @FINALEA_11274
if 
  not Char.IsDead(86@)
goto_if_false @FINALEA_11274
if 
  Char.HasBeenDamagedByChar(86@, $stattreadstamina_ctr)
goto_if_false @FINALEA_11274
set_lvar_int_to_lvar_int 109@ = 86@
gosub @FINALEA_31890
174@ = 1
156@ = 4

:FINALEA_11274
if 
  156@ == 4
goto_if_false @FINALEA_11408
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2527.18, -1304.24, 1027.0, 6.0, 6.0, 5.0, False)
  Char.IsDead(88@)
goto_if_false @FINALEA_11408
if 
  175@ == 0
goto_if_false @FINALEA_11401
if 
  not Char.IsDead(87@)
goto_if_false @FINALEA_11401
set_lvar_int_to_lvar_int 109@ = 87@
gosub @FINALEA_31890
175@ = 1

:FINALEA_11401
156@ = 5

:FINALEA_11408
if 
  156@ == 5
goto_if_false @FINALEA_12191
if or
  Char.IsInArea3D($stattreadstamina_ctr, 2529.33, -1308.3, 1027.55, 2537.78, -1272.14, 1035.76, False)
  Char.IsShootingInArea($stattreadstamina_ctr, 2522.87, -1299.61, 2529.85, -1287.66, False)
goto_if_false @FINALEA_12191
if 
  163@ == 0
goto_if_false @FINALEA_11605
if 
  not Char.IsDead(75@)
goto_if_false @FINALEA_11605
set_lvar_int_to_lvar_int 109@ = 75@
111@ = 2540.859
112@ = -1287.161
113@ = 1030.419
117@ = 1500
121@ = 90.0
gosub @FINALEA_31973
163@ = 1

:FINALEA_11605
if 
  164@ == 0
goto_if_false @FINALEA_11709
if 
  not Char.IsDead(76@)
goto_if_false @FINALEA_11709
set_lvar_int_to_lvar_int 109@ = 76@
111@ = 2556.854
112@ = -1287.161
113@ = 1030.419
117@ = 2000
121@ = 90.0
gosub @FINALEA_31973
164@ = 1

:FINALEA_11709
if 
  165@ == 0
goto_if_false @FINALEA_11813
if 
  not Char.IsDead(77@)
goto_if_false @FINALEA_11813
set_lvar_int_to_lvar_int 109@ = 77@
111@ = 2556.854
112@ = -1300.628
113@ = 1030.419
117@ = 1200
121@ = 90.0
gosub @FINALEA_32214
165@ = 1

:FINALEA_11813
if 
  161@ == 0
goto_if_false @FINALEA_11869
if 
  not Char.IsDead(73@)
goto_if_false @FINALEA_11869
set_lvar_int_to_lvar_int 109@ = 73@
gosub @FINALEA_31697
161@ = 1

:FINALEA_11869
if 
  162@ == 0
goto_if_false @FINALEA_11925
if 
  not Char.IsDead(74@)
goto_if_false @FINALEA_11925
set_lvar_int_to_lvar_int 109@ = 74@
gosub @FINALEA_31697
162@ = 1

:FINALEA_11925
if 
  171@ == 0
goto_if_false @FINALEA_11981
if 
  not Char.IsDead(83@)
goto_if_false @FINALEA_11981
set_lvar_int_to_lvar_int 109@ = 83@
gosub @FINALEA_31697
171@ = 1

:FINALEA_11981
if 
  166@ == 0
goto_if_false @FINALEA_12037
if 
  not Char.IsDead(78@)
goto_if_false @FINALEA_12037
set_lvar_int_to_lvar_int 109@ = 78@
gosub @FINALEA_31653
166@ = 1

:FINALEA_12037
if 
  168@ == 0
goto_if_false @FINALEA_12086
if 
  not Char.IsDead(80@)
goto_if_false @FINALEA_12086
Task.KillCharOnFoot(80@, $stattreadstamina_ctr)
168@ = 1

:FINALEA_12086
if 
  169@ == 0
goto_if_false @FINALEA_12135
if 
  not Char.IsDead(81@)
goto_if_false @FINALEA_12135
Task.KillCharOnFoot(81@, $stattreadstamina_ctr)
169@ = 1

:FINALEA_12135
if 
  170@ == 0
goto_if_false @FINALEA_12184
if 
  not Char.IsDead(82@)
goto_if_false @FINALEA_12184
Task.KillCharOnFoot(82@, $stattreadstamina_ctr)
170@ = 1

:FINALEA_12184
156@ = 6

:FINALEA_12191
if 
  156@ == 6
goto_if_false @FINALEA_12370
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2529.88, -1307.89, 1027.0, 2538.32, -1277.63, 1032.54, False)
goto_if_false @FINALEA_12370
Char.MarkAsNoLongerNeeded(85@)
Char.MarkAsNoLongerNeeded(86@)
Char.MarkAsNoLongerNeeded(87@)
Char.MarkAsNoLongerNeeded(88@)
if 
  159@ == 0
goto_if_false @FINALEA_12363
if 
  not Char.IsDead(71@)
goto_if_false @FINALEA_12363
set_lvar_int_to_lvar_int 109@ = 71@
111@ = 2560.055
112@ = -1304.916
113@ = 1030.43
gosub @FINALEA_31604
159@ = 1

:FINALEA_12363
156@ = 7

:FINALEA_12370
if 
  156@ == 7
goto_if_false @FINALEA_12443
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2546.43, -1277.49, 1027.0, 2568.06, -1310.79, 1032.54, False)
goto_if_false @FINALEA_12443
156@ = 8

:FINALEA_12443
if or
  156@ == 8
  180@ > 6
goto_if_false @FINALEA_12531
if 
  152@ == 0
goto_if_false @FINALEA_12531
if 
  not Car.IsDead(57@)
goto_if_false @FINALEA_12531
Car.FreezePosition(57@, False)
Car.StartPlayback(57@, 287)
TIMERB = 0
152@ = 1

:FINALEA_12531
if 
  152@ == 1
goto_if_false @FINALEA_12639
if or
  World.IsClosestObjectOfTypeSmashedOrDamaged(2561.811, -1279.639, 1032.128, 10.0, #CJ_WIN_POP2, True, True)
  TIMERB > 250
goto_if_false @FINALEA_12639
Particle.PlayAndKill(102@)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot3, 2557.88, -1288.65, 1031.91)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Object.Break(101@, 1)
152@ = 2

:FINALEA_12639
if 
  152@ == 2
goto_if_false @FINALEA_12744
if 
  not Car.IsDead(57@)
goto_if_false @FINALEA_12744
if 
  not Car.IsPlaybackGoingOn(57@)
goto_if_false @FINALEA_12744
if 
  not Char.IsDead(64@)
goto_if_false @FINALEA_12713
Task.KillCharOnFoot(64@, $stattreadstamina_ctr)

:FINALEA_12713
if 
  not Char.IsDead(65@)
goto_if_false @FINALEA_12737
Task.KillCharOnFoot(65@, $stattreadstamina_ctr)

:FINALEA_12737
152@ = 3

:FINALEA_12744
if 
  163@ == 1
goto_if_false @FINALEA_12872
if 
  not Char.IsDead(75@)
goto_if_false @FINALEA_12872
if or
  Char.HasBeenDamagedByChar(75@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(75@, $stattreadstamina_ctr, 4.0, 4.0, 3.0, False)
goto_if_false @FINALEA_12872
if 
  not Char.IsDead(75@)
goto_if_false @FINALEA_12860
Task.KillCharOnFoot(75@, $stattreadstamina_ctr)
163@ = 2
goto @FINALEA_12872

:FINALEA_12860
Char.MarkAsNoLongerNeeded(75@)
163@ = 2

:FINALEA_12872
if 
  164@ == 1
goto_if_false @FINALEA_13000
if 
  not Char.IsDead(76@)
goto_if_false @FINALEA_13000
if or
  Char.HasBeenDamagedByChar(76@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(76@, $stattreadstamina_ctr, 4.0, 4.0, 3.0, False)
goto_if_false @FINALEA_13000
if 
  not Char.IsDead(76@)
goto_if_false @FINALEA_12988
Task.KillCharOnFoot(76@, $stattreadstamina_ctr)
164@ = 2
goto @FINALEA_13000

:FINALEA_12988
Char.MarkAsNoLongerNeeded(76@)
164@ = 2

:FINALEA_13000
if 
  165@ == 1
goto_if_false @FINALEA_13128
if 
  not Char.IsDead(77@)
goto_if_false @FINALEA_13128
if or
  Char.HasBeenDamagedByChar(77@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(77@, $stattreadstamina_ctr, 5.0, 5.0, 3.0, False)
goto_if_false @FINALEA_13128
if 
  not Char.IsDead(77@)
goto_if_false @FINALEA_13116
Task.KillCharOnFoot(77@, $stattreadstamina_ctr)
165@ = 2
goto @FINALEA_13128

:FINALEA_13116
Char.MarkAsNoLongerNeeded(77@)
165@ = 2

:FINALEA_13128
if 
  159@ == 1
goto_if_false @FINALEA_13181
if 
  Char.IsDead(71@)
goto_if_false @FINALEA_13181
Char.MarkAsNoLongerNeeded(71@)
180@ += 1
159@ = 2

:FINALEA_13181
if 
  161@ == 1
goto_if_false @FINALEA_13234
if 
  Char.IsDead(73@)
goto_if_false @FINALEA_13234
Char.MarkAsNoLongerNeeded(73@)
180@ += 1
161@ = 2

:FINALEA_13234
if 
  162@ == 1
goto_if_false @FINALEA_13287
if 
  Char.IsDead(74@)
goto_if_false @FINALEA_13287
Char.MarkAsNoLongerNeeded(74@)
180@ += 1
162@ = 2

:FINALEA_13287
if or
  163@ == 1
  163@ == 2
goto_if_false @FINALEA_13347
if 
  Char.IsDead(75@)
goto_if_false @FINALEA_13347
Char.MarkAsNoLongerNeeded(75@)
180@ += 1
163@ = 3

:FINALEA_13347
if or
  164@ == 1
  164@ == 2
goto_if_false @FINALEA_13407
if 
  Char.IsDead(76@)
goto_if_false @FINALEA_13407
Char.MarkAsNoLongerNeeded(76@)
180@ += 1
164@ = 3

:FINALEA_13407
if or
  165@ == 1
  165@ == 2
goto_if_false @FINALEA_13467
if 
  Char.IsDead(77@)
goto_if_false @FINALEA_13467
Char.MarkAsNoLongerNeeded(77@)
180@ += 1
165@ = 3

:FINALEA_13467
if 
  166@ == 1
goto_if_false @FINALEA_13520
if 
  Char.IsDead(78@)
goto_if_false @FINALEA_13520
Char.MarkAsNoLongerNeeded(78@)
180@ += 1
166@ = 2

:FINALEA_13520
if 
  168@ == 1
goto_if_false @FINALEA_13573
if 
  Char.IsDead(80@)
goto_if_false @FINALEA_13573
Char.MarkAsNoLongerNeeded(80@)
180@ += 1
168@ = 2

:FINALEA_13573
if 
  169@ == 1
goto_if_false @FINALEA_13626
if 
  Char.IsDead(81@)
goto_if_false @FINALEA_13626
Char.MarkAsNoLongerNeeded(81@)
180@ += 1
169@ = 2

:FINALEA_13626
if 
  170@ == 1
goto_if_false @FINALEA_13679
if 
  Char.IsDead(82@)
goto_if_false @FINALEA_13679
Char.MarkAsNoLongerNeeded(82@)
180@ += 1
170@ = 2

:FINALEA_13679
if 
  171@ == 1
goto_if_false @FINALEA_13732
if 
  Char.IsDead(83@)
goto_if_false @FINALEA_13732
Char.MarkAsNoLongerNeeded(83@)
180@ += 1
171@ = 2

:FINALEA_13732
if 
  153@ == 0
goto_if_false @FINALEA_13785
if 
  Char.IsDead(64@)
goto_if_false @FINALEA_13785
Char.MarkAsNoLongerNeeded(64@)
180@ += 1
153@ = 1

:FINALEA_13785
if 
  179@ == 0
goto_if_false @FINALEA_13838
if 
  Char.IsDead(65@)
goto_if_false @FINALEA_13838
Char.MarkAsNoLongerNeeded(65@)
180@ += 1
179@ = 1

:FINALEA_13838
if 
  180@ > 8
goto_if_false @FINALEA_14784
if 
  156@ == 8
goto_if_false @FINALEA_14784
if 
  181@ == 0
goto_if_false @FINALEA_14784
if 
  Object.DoesExist(100@)
goto_if_false @FINALEA_14784
if 
  182@ == 0
goto_if_false @FINALEA_14404
85@ = Char.Create(PedType.Mission1, 103, 2571.635, -1302.189, 1030.427)
Char.SetHeading(85@, 84.9134)
Char.SetDecisionMaker(85@, 49@)
Char.GiveWeapon(85@, WeaponType.Mp5, 99999)
Task.PlayAnim(85@, "ROADCROSS", "PED", 4.0, False, False, False, True, -1)
Char.SetAreaVisible(85@, 2)
Char.SetAccuracy(85@, 80)
Char.SetHealth(85@, 150)
Char.SetMaxHealth(85@, 150)
173@ = 0
86@ = Char.Create(PedType.Mission1, 102, 2570.398, -1299.233, 1030.427)
Char.SetHeading(86@, 119.2958)
Char.SetDecisionMaker(86@, 47@)
Char.GiveWeapon(86@, WeaponType.Mp5, 99999)
Char.SetAreaVisible(86@, 2)
Char.SetHealth(86@, 200)
Char.SetMaxHealth(86@, 200)
174@ = 0
87@ = Char.Create(PedType.Mission1, 108, 2566.899, -1290.145, 1030.43)
Char.SetHeading(87@, 180.0082)
Char.SetDecisionMaker(87@, 47@)
Char.GiveWeapon(87@, WeaponType.Mp5, 99999)
Char.SetAreaVisible(87@, 2)
Char.SetHealth(87@, 200)
Char.SetMaxHealth(87@, 200)
175@ = 0
88@ = Char.Create(PedType.Mission1, 103, 2570.637, -1286.841, 1030.43)
Char.SetHeading(88@, 182.7895)
Char.SetDecisionMaker(88@, 47@)
Char.GiveWeapon(88@, WeaponType.Mp5, 99999)
Char.SetAreaVisible(88@, 2)
Char.SetHealth(88@, 200)
Char.SetMaxHealth(88@, 200)
176@ = 0
84@ = Char.Create(PedType.Mission1, 103, 2569.728, -1284.528, 1030.43)
Char.SetHeading(84@, 168.4302)
Char.SetDecisionMaker(84@, 47@)
Char.GiveWeapon(84@, WeaponType.Mp5, 99999)
Char.SetAreaVisible(84@, 2)
Char.SetHealth(84@, 200)
Char.SetMaxHealth(84@, 200)
172@ = 0
182@ = 1
Audio.ReportMissionAudioEventAtObject(100@, 1035)

:FINALEA_14404
if 
  Object.Slide(100@, 2565.814, -1303.566, 1035.362, 0.0, 0.0, 0.15, False)
goto_if_false @FINALEA_14784
Audio.ReportMissionAudioEventAtObject(100@, 1036)
156@ = 9
if 
  173@ == 0
goto_if_false @FINALEA_14553
if 
  not Char.IsDead(85@)
goto_if_false @FINALEA_14553
set_lvar_int_to_lvar_int 109@ = 85@
111@ = 2564.186
112@ = -1301.676
113@ = 1030.43
gosub @FINALEA_31604
173@ = 1

:FINALEA_14553
if 
  174@ == 0
goto_if_false @FINALEA_14609
if 
  not Char.IsDead(86@)
goto_if_false @FINALEA_14609
set_lvar_int_to_lvar_int 109@ = 86@
gosub @FINALEA_31653
174@ = 1

:FINALEA_14609
if 
  172@ == 0
goto_if_false @FINALEA_14665
if 
  not Char.IsDead(84@)
goto_if_false @FINALEA_14665
set_lvar_int_to_lvar_int 109@ = 84@
gosub @FINALEA_31653
172@ = 1

:FINALEA_14665
if 
  175@ == 0
goto_if_false @FINALEA_14721
if 
  not Char.IsDead(87@)
goto_if_false @FINALEA_14721
set_lvar_int_to_lvar_int 109@ = 87@
gosub @FINALEA_31653
175@ = 1

:FINALEA_14721
if 
  176@ == 0
goto_if_false @FINALEA_14777
if 
  not Char.IsDead(88@)
goto_if_false @FINALEA_14777
set_lvar_int_to_lvar_int 109@ = 88@
gosub @FINALEA_31653
176@ = 1

:FINALEA_14777
181@ = 1

:FINALEA_14784
if 
  156@ == 9
goto_if_false @FINALEA_14973
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2566.14, -1307.43, 1027.0, 2580.06, -1279.36, 1034.16, False)
goto_if_false @FINALEA_14973
if 
  172@ == 1
goto_if_false @FINALEA_14966
if 
  not Char.IsDead(84@)
goto_if_false @FINALEA_14966
set_lvar_int_to_lvar_int 109@ = 84@
111@ = 2575.565
112@ = -1284.965
113@ = 1030.427
118@ = 2575.513
119@ = -1303.242
120@ = 1036.781
gosub @FINALEA_31735
172@ = 2

:FINALEA_14966
156@ = 10

:FINALEA_14973
if 
  156@ == 10
goto_if_false @FINALEA_15360
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2577.98, -1307.44, 1034.5, 2583.49, -1298.94, 1039.3, False)
goto_if_false @FINALEA_15360
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Blip.Remove(130@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Char.SetCoordinates($stattreadstamina_ctr, 2575.036, -1305.741, 1036.781)
Char.SetHeading($stattreadstamina_ctr, 273.5172)
Char.Delete(77@)
Char.Delete(78@)
Char.Delete(80@)
Char.Delete(81@)
Char.Delete(82@)
Char.Delete(83@)
Char.Delete(71@)
Char.Delete(73@)
Char.Delete(74@)
Char.Delete(75@)
Char.Delete(76@)
Char.Delete(77@)
Char.Delete(78@)
Char.Delete(80@)
Char.Delete(81@)
Char.Delete(82@)
Char.Delete(83@)
Char.Delete(64@)
Char.Delete(65@)
Car.Delete(57@)
Char.Delete(84@)
Char.Delete(85@)
Char.Delete(86@)
Char.Delete(87@)
Char.Delete(88@)
Object.Delete(100@)
Streaming.MarkModelAsNoLongerNeeded(285)
Streaming.MarkModelAsNoLongerNeeded(601)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(103)
Streaming.MarkModelAsNoLongerNeeded(108)
Streaming.MarkModelAsNoLongerNeeded(#IMCOMPMOVEDR1_LAS)
Camera.SetFixedPosition(2579.686, -1310.002, 1037.224, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2579.736, -1309.022, 1037.418, SwitchType.JumpCut)
Text.PrintBig('RM4_18', 1000, TextStyle.BottomRight)
wait 1000
Task.GoStraightToCoord($stattreadstamina_ctr, 2580.091, -1305.649, 1036.773, MoveState.Walk, 4000)
156@ = 11

:FINALEA_15360
if 
  156@ == 11
goto_if_false @FINALEA_17177
if 
  Char.LocateStoppedOnFoot2D($stattreadstamina_ctr, 2580.091, -1305.649, 3.0, 3.0, False)
goto_if_false @FINALEA_17177
130@ = Blip.AddForCoord(2521.52, -1301.89, 1047.37)
Blip.SetEntryExit(130@, 2540.83, -1304.05, 1.0)
Streaming.RequestModel(144)
Streaming.RequestModel(146)
Streaming.RequestModel(173)
Streaming.RequestModel(356)
Streaming.RequestModel(346)
Streaming.RequestModel(#BARREL4)
Streaming.LoadAllModelsNow

:FINALEA_15488
if or
  not Streaming.HasModelLoaded(144)
  not Streaming.HasModelLoaded(146)
  not Streaming.HasModelLoaded(173)
  not Streaming.HasModelLoaded(356)
goto_if_false @FINALEA_15530
wait 0
goto @FINALEA_15488

:FINALEA_15530
if or
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(#BARREL4)
goto_if_false @FINALEA_15562
wait 0
goto @FINALEA_15530

:FINALEA_15562
134@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2580.953, -1285.117, 1044.173)
138@ = Pickup.Create(#HEALTH, PickupType.Once, 2528.456, -1282.385, 1048.337)
96@ = Object.Create(#BARREL4, 2560.309, -1290.702, 1043.133)
Object.SetOnlyDamagedByPlayer(96@, True)
Object.MakeTargetable(96@, True)
97@ = Object.Create(#BARREL4, 2540.467, -1306.681, 1047.297)
Object.SetOnlyDamagedByPlayer(97@, True)
Object.MakeTargetable(97@, True)
98@ = Object.Create(#BARREL4, 2545.491, -1296.284, 1043.13)
Object.SetOnlyDamagedByPlayer(98@, True)
Object.MakeTargetable(98@, True)
99@ = Object.Create(#BARREL4, 2538.171, -1289.806, 1043.133)
Object.SetOnlyDamagedByPlayer(99@, True)
Object.MakeTargetable(99@, True)
71@ = Char.Create(PedType.Mission1, 173, 2580.809, -1285.65, 1043.133)
Char.SetHeading(71@, 178.4956)
Char.SetDecisionMaker(71@, 47@)
Char.GiveWeapon(71@, WeaponType.M4, 99999)
Char.SetAreaVisible(71@, 2)
Char.SetHealth(71@, 150)
Char.SetMaxHealth(71@, 150)
159@ = 0
72@ = Char.Create(PedType.Mission1, 173, 2574.736, -1295.861, 1043.133)
Char.SetHeading(72@, 183.0452)
Char.SetDecisionMaker(72@, 47@)
Char.GiveWeapon(72@, WeaponType.Pistol, 99999)
Char.SetWeaponSkill(72@, 2)
Char.SetRelationship(72@, RelationshipType.Hate, PedType.Player1)
Char.SetAreaVisible(72@, 2)
Char.SetSenseRange(72@, 10.0)
Char.SetAccuracy(72@, 60)
160@ = 0
73@ = Char.Create(PedType.Mission1, 146, 2561.648, -1300.648, 1043.17)
Char.SetHeading(73@, 270.0)
Char.SetDecisionMaker(73@, 47@)
Char.GiveWeapon(73@, WeaponType.M4, 99999)
Char.SetAreaVisible(73@, 2)
Char.SetProofs(73@, False, False, True, False, False)
Char.SetHealth(73@, 200)
Char.SetMaxHealth(73@, 200)
161@ = 0
74@ = Char.Create(PedType.Mission1, 144, 2545.648, -1300.648, 1043.17)
Char.SetHeading(74@, 270.0)
Char.SetDecisionMaker(74@, 47@)
Char.GiveWeapon(74@, WeaponType.M4, 99999)
Char.SetAreaVisible(74@, 2)
Char.SetProofs(74@, False, False, True, False, False)
Char.SetHealth(74@, 200)
Char.SetMaxHealth(74@, 200)
Char.SetShootRate(74@, 70)
162@ = 0
75@ = Char.Create(PedType.Mission1, 146, 2538.348, -1287.148, 1043.133)
Char.SetHeading(75@, 270.0)
Char.SetDecisionMaker(75@, 47@)
Char.GiveWeapon(75@, WeaponType.M4, 99999)
Char.SetProofs(75@, False, False, True, False, False)
Char.SetAreaVisible(75@, 2)
Char.SetHealth(75@, 200)
Char.SetMaxHealth(75@, 200)
163@ = 0
76@ = Char.Create(PedType.Mission1, 144, 2553.648, -1287.148, 1043.133)
Char.SetHeading(76@, 270.0)
Char.SetDecisionMaker(76@, 47@)
Char.GiveWeapon(76@, WeaponType.M4, 99999)
Char.SetAreaVisible(76@, 2)
Char.SetHealth(76@, 200)
Char.SetMaxHealth(76@, 200)
Char.SetShootRate(76@, 60)
164@ = 0
wait 250
77@ = Char.Create(PedType.Mission1, 146, 2552.748, -1304.36, 1043.133)
Char.SetHeading(77@, 87.8604)
Char.SetDecisionMaker(77@, 47@)
Char.GiveWeapon(77@, WeaponType.Pistol, 99999)
Char.SetWeaponSkill(77@, 2)
Char.SetAreaVisible(77@, 2)
Char.SetHealth(77@, 200)
Char.SetMaxHealth(77@, 200)
Char.SetShootRate(77@, 80)
165@ = 0
79@ = Char.Create(PedType.Mission1, 146, 2555.851, -1296.115, 1043.13)
Char.SetHeading(79@, 348.0356)
Char.SetDecisionMaker(79@, 47@)
Char.GiveWeapon(79@, WeaponType.Pistol, 99999)
Char.SetWeaponSkill(79@, 2)
Char.SetAreaVisible(79@, 2)
Char.SetProofs(79@, False, False, True, False, False)
Char.SetHealth(79@, 200)
Char.SetMaxHealth(79@, 200)
Char.SetAccuracy(79@, 80)
167@ = 0
80@ = Char.Create(PedType.Mission1, 144, 2542.606, -1296.096, 1043.133)
Char.SetHeading(80@, 353.9691)
Char.SetDecisionMaker(80@, 47@)
Char.GiveWeapon(80@, WeaponType.M4, 99999)
Char.SetAreaVisible(80@, 2)
Char.SetHealth(80@, 200)
Char.SetMaxHealth(80@, 200)
168@ = 0
81@ = Char.Create(PedType.Mission1, 146, 2552.924, -1290.878, 1043.133)
Char.SetHeading(81@, 187.0611)
Char.SetDecisionMaker(81@, 47@)
Char.GiveWeapon(81@, WeaponType.M4, 99999)
Char.SetAreaVisible(81@, 2)
Char.SetHealth(81@, 200)
Char.SetMaxHealth(81@, 200)
Char.SetAccuracy(81@, 70)
169@ = 0
83@ = Char.Create(PedType.Mission1, 144, 2550.059, -1281.248, 1043.133)
Char.SetHeading(83@, 230.8361)
Char.SetDecisionMaker(83@, 47@)
Char.GiveWeapon(83@, WeaponType.M4, 99999)
Char.SetAreaVisible(83@, 2)
Char.SetHealth(83@, 200)
Char.SetMaxHealth(83@, 200)
Char.SetShootRate(83@, 80)
171@ = 0
wait 250
84@ = Char.Create(PedType.Mission1, 144, 2531.906, -1283.062, 1047.297)
Char.SetHeading(84@, 233.2448)
Char.SetDecisionMaker(84@, 47@)
Char.GiveWeapon(84@, WeaponType.M4, 99999)
Char.SetAreaVisible(84@, 2)
Char.SetHealth(84@, 200)
Char.SetMaxHealth(84@, 200)
Char.SetAccuracy(84@, 50)
172@ = 0
85@ = Char.Create(PedType.Mission1, 144, 2548.977, -1282.426, 1047.297)
Char.SetHeading(85@, 234.0824)
Char.SetDecisionMaker(85@, 47@)
Char.GiveWeapon(85@, WeaponType.Pistol, 99999)
Char.SetWeaponSkill(85@, 2)
Char.SetAreaVisible(85@, 2)
Char.SetHealth(85@, 200)
Char.SetMaxHealth(85@, 200)
173@ = 0
86@ = Char.Create(PedType.Mission1, 144, 2530.035, -1293.182, 1047.36)
Char.SetHeading(86@, 268.475)
Char.SetDecisionMaker(86@, 47@)
Char.GiveWeapon(86@, WeaponType.M4, 99999)
Char.SetHealth(86@, 200)
Char.SetMaxHealth(86@, 200)
Char.SetAreaVisible(86@, 2)
Char.SetAccuracy(86@, 80)
174@ = 0
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.ClearPrints
Text.PrintNow('RM4_23', 7000, 1)
147@ = 3
157@ = 1
156@ = 12

:FINALEA_17177
if 
  147@ == 3
goto_if_false @FINALEA_21863
if 
  157@ == 1
goto_if_false @FINALEA_17324
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2576.3, -1299.12, 1039.71, 2584.46, -1281.22, 1046.6, False)
goto_if_false @FINALEA_17324
if 
  159@ == 0
goto_if_false @FINALEA_17317
if 
  not Char.IsDead(71@)
goto_if_false @FINALEA_17317
set_lvar_int_to_lvar_int 109@ = 71@
gosub @FINALEA_31697
159@ = 1

:FINALEA_17317
157@ = 2

:FINALEA_17324
if 
  160@ == 0
goto_if_false @FINALEA_17400
if 
  not Char.IsDead(72@)
goto_if_false @FINALEA_17400
if or
  Char.HasSpottedChar(72@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByChar(72@, $stattreadstamina_ctr)
goto_if_false @FINALEA_17400
Task.KillCharOnFoot(72@, $stattreadstamina_ctr)
160@ = 1

:FINALEA_17400
if 
  157@ == 2
goto_if_false @FINALEA_18351
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2571.502, -1311.993, 1041.858, 2560.806, -1276.365, 1046.727, False)
goto_if_false @FINALEA_18351
if 
  159@ == 0
goto_if_false @FINALEA_17501
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(72@)
159@ = 1

:FINALEA_17501
if 
  161@ == 0
goto_if_false @FINALEA_17605
if 
  not Char.IsDead(73@)
goto_if_false @FINALEA_17605
set_lvar_int_to_lvar_int 109@ = 73@
111@ = 2561.648
112@ = -1300.648
113@ = 1043.17
117@ = 3000
121@ = 270.0
gosub @FINALEA_31973
161@ = 1

:FINALEA_17605
if 
  162@ == 0
goto_if_false @FINALEA_17709
if 
  not Char.IsDead(74@)
goto_if_false @FINALEA_17709
set_lvar_int_to_lvar_int 109@ = 74@
111@ = 2545.648
112@ = -1300.648
113@ = 1043.17
117@ = 1200
121@ = 270.0
gosub @FINALEA_31973
162@ = 1

:FINALEA_17709
if 
  163@ == 0
goto_if_false @FINALEA_17813
if 
  not Char.IsDead(75@)
goto_if_false @FINALEA_17813
set_lvar_int_to_lvar_int 109@ = 75@
111@ = 2538.348
112@ = -1287.148
113@ = 1043.133
117@ = 1500
121@ = 270.0
gosub @FINALEA_32214
163@ = 1

:FINALEA_17813
if 
  164@ == 0
goto_if_false @FINALEA_17917
if 
  not Char.IsDead(76@)
goto_if_false @FINALEA_17917
set_lvar_int_to_lvar_int 109@ = 76@
111@ = 2553.648
112@ = -1287.148
113@ = 1043.133
117@ = 2000
121@ = 270.0
gosub @FINALEA_32214
164@ = 1

:FINALEA_17917
if 
  165@ == 0
goto_if_false @FINALEA_17966
if 
  not Char.IsDead(77@)
goto_if_false @FINALEA_17966
Task.KillCharOnFoot(77@, $stattreadstamina_ctr)
165@ = 1

:FINALEA_17966
if 
  167@ == 0
goto_if_false @FINALEA_18015
if 
  not Char.IsDead(79@)
goto_if_false @FINALEA_18015
Task.KillCharOnFoot(79@, $stattreadstamina_ctr)
167@ = 1

:FINALEA_18015
if 
  168@ == 0
goto_if_false @FINALEA_18071
if 
  not Char.IsDead(80@)
goto_if_false @FINALEA_18071
set_lvar_int_to_lvar_int 109@ = 80@
gosub @FINALEA_31653
168@ = 1

:FINALEA_18071
if 
  169@ == 0
goto_if_false @FINALEA_18127
if 
  not Char.IsDead(81@)
goto_if_false @FINALEA_18127
set_lvar_int_to_lvar_int 109@ = 81@
gosub @FINALEA_31653
168@ = 1

:FINALEA_18127
if 
  171@ == 0
goto_if_false @FINALEA_18176
if 
  not Char.IsDead(83@)
goto_if_false @FINALEA_18176
Task.KillCharOnFoot(83@, $stattreadstamina_ctr)
171@ = 1

:FINALEA_18176
if 
  172@ == 0
goto_if_false @FINALEA_18232
if 
  not Char.IsDead(84@)
goto_if_false @FINALEA_18232
set_lvar_int_to_lvar_int 109@ = 84@
gosub @FINALEA_31653
172@ = 1

:FINALEA_18232
if 
  173@ == 0
goto_if_false @FINALEA_18288
if 
  not Char.IsDead(85@)
goto_if_false @FINALEA_18288
set_lvar_int_to_lvar_int 109@ = 85@
gosub @FINALEA_31697
173@ = 1

:FINALEA_18288
if 
  174@ == 0
goto_if_false @FINALEA_18344
if 
  not Char.IsDead(86@)
goto_if_false @FINALEA_18344
set_lvar_int_to_lvar_int 109@ = 86@
gosub @FINALEA_31697
174@ = 1

:FINALEA_18344
157@ = 3

:FINALEA_18351
if 
  157@ == 3
goto_if_false @FINALEA_20746
if 
  161@ == 1
goto_if_false @FINALEA_18497
if 
  not Char.IsDead(73@)
goto_if_false @FINALEA_18497
if 
  Char.HasBeenDamagedByChar(73@, $stattreadstamina_ctr)
goto_if_false @FINALEA_18497
if or
  not Char.IsDead(73@)
  Char.LocateAnyMeansChar3D(73@, $stattreadstamina_ctr, 4.0, 4.0, 3.0, False)
goto_if_false @FINALEA_18485
Task.KillCharOnFoot(73@, $stattreadstamina_ctr)
161@ = 2
goto @FINALEA_18497

:FINALEA_18485
Char.MarkAsNoLongerNeeded(73@)
161@ = 2

:FINALEA_18497
if 
  162@ == 1
goto_if_false @FINALEA_18625
if 
  not Char.IsDead(74@)
goto_if_false @FINALEA_18625
if or
  Char.HasBeenDamagedByChar(74@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(74@, $stattreadstamina_ctr, 4.0, 4.0, 3.0, False)
goto_if_false @FINALEA_18625
if 
  not Char.IsDead(74@)
goto_if_false @FINALEA_18613
Task.KillCharOnFoot(74@, $stattreadstamina_ctr)
162@ = 2
goto @FINALEA_18625

:FINALEA_18613
Char.MarkAsNoLongerNeeded(74@)
162@ = 2

:FINALEA_18625
if 
  163@ == 1
goto_if_false @FINALEA_18753
if 
  not Char.IsDead(75@)
goto_if_false @FINALEA_18753
if or
  Char.HasBeenDamagedByChar(75@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(75@, $stattreadstamina_ctr, 5.0, 5.0, 3.0, False)
goto_if_false @FINALEA_18753
if 
  not Char.IsDead(75@)
goto_if_false @FINALEA_18741
Task.KillCharOnFoot(75@, $stattreadstamina_ctr)
163@ = 2
goto @FINALEA_18753

:FINALEA_18741
Char.MarkAsNoLongerNeeded(75@)
163@ = 2

:FINALEA_18753
if 
  164@ == 1
goto_if_false @FINALEA_18876
if 
  not Char.IsDead(76@)
goto_if_false @FINALEA_18876
if or
  Char.HasBeenDamagedByChar(76@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(76@, $stattreadstamina_ctr, 5.0, 5.0, 3.0, False)
goto_if_false @FINALEA_18876
if 
  not Char.IsDead(76@)
goto_if_false @FINALEA_18869
Task.KillCharOnFoot(76@, $stattreadstamina_ctr)
164@ = 2
goto @FINALEA_18876

:FINALEA_18869
164@ = 2

:FINALEA_18876
if or
  161@ == 1
  161@ == 2
goto_if_false @FINALEA_18936
if 
  Char.IsDead(73@)
goto_if_false @FINALEA_18936
Char.MarkAsNoLongerNeeded(73@)
183@ += 1
161@ = 3

:FINALEA_18936
if or
  162@ == 1
  162@ == 2
goto_if_false @FINALEA_18996
if 
  Char.IsDead(74@)
goto_if_false @FINALEA_18996
Char.MarkAsNoLongerNeeded(74@)
183@ += 1
162@ = 3

:FINALEA_18996
if or
  163@ == 1
  163@ == 2
goto_if_false @FINALEA_19056
if 
  Char.IsDead(75@)
goto_if_false @FINALEA_19056
Char.MarkAsNoLongerNeeded(75@)
183@ += 1
163@ = 3

:FINALEA_19056
if or
  164@ == 1
  164@ == 2
goto_if_false @FINALEA_19116
if 
  Char.IsDead(76@)
goto_if_false @FINALEA_19116
Char.MarkAsNoLongerNeeded(76@)
183@ += 1
164@ = 3

:FINALEA_19116
if 
  165@ == 1
goto_if_false @FINALEA_19169
if 
  Char.IsDead(77@)
goto_if_false @FINALEA_19169
Char.MarkAsNoLongerNeeded(77@)
183@ += 1
165@ = 2

:FINALEA_19169
if 
  168@ == 1
goto_if_false @FINALEA_19222
if 
  Char.IsDead(80@)
goto_if_false @FINALEA_19222
Char.MarkAsNoLongerNeeded(80@)
183@ += 1
168@ = 2

:FINALEA_19222
if 
  169@ == 1
goto_if_false @FINALEA_19275
if 
  Char.IsDead(81@)
goto_if_false @FINALEA_19275
Char.MarkAsNoLongerNeeded(81@)
183@ += 1
169@ = 2

:FINALEA_19275
if 
  171@ == 1
goto_if_false @FINALEA_19328
if 
  Char.IsDead(83@)
goto_if_false @FINALEA_19328
Char.MarkAsNoLongerNeeded(83@)
183@ += 1
171@ = 2

:FINALEA_19328
if 
  172@ == 1
goto_if_false @FINALEA_19381
if 
  Char.IsDead(84@)
goto_if_false @FINALEA_19381
Char.MarkAsNoLongerNeeded(84@)
183@ += 1
172@ = 2

:FINALEA_19381
if 
  173@ == 1
goto_if_false @FINALEA_19434
if 
  Char.IsDead(85@)
goto_if_false @FINALEA_19434
Char.MarkAsNoLongerNeeded(85@)
183@ += 1
173@ = 2

:FINALEA_19434
if 
  174@ == 1
goto_if_false @FINALEA_19487
if 
  Char.IsDead(86@)
goto_if_false @FINALEA_19487
Char.MarkAsNoLongerNeeded(86@)
183@ += 1
174@ = 2

:FINALEA_19487
if 
  184@ == 0
goto_if_false @FINALEA_19868
if 
  183@ > 5
goto_if_false @FINALEA_19868
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2551.12, -1276.34, 1046.55, 2543.07, -1287.63, 1050.46, False)
goto_if_false @FINALEA_19868
87@ = Char.Create(PedType.Mission1, 173, 2573.448, -1301.981, 1043.133)
Char.SetHeading(87@, 87.1597)
Char.SetDecisionMaker(87@, 47@)
Char.GiveWeapon(87@, WeaponType.M4, 99999)
Char.SetAreaVisible(87@, 2)
Char.SetHealth(87@, 200)
Char.SetMaxHealth(87@, 200)
set_lvar_int_to_lvar_int 109@ = 87@
111@ = 2566.288
112@ = -1301.637
113@ = 1043.133
118@ = 2565.74
119@ = -1297.091
120@ = 1043.133
gosub @FINALEA_31735
175@ = 1
88@ = Char.Create(PedType.Mission1, 173, 2575.308, -1301.908, 1043.133)
Char.SetHeading(88@, 91.2377)
Char.SetDecisionMaker(88@, 47@)
Char.GiveWeapon(88@, WeaponType.M4, 99999)
Char.SetAreaVisible(88@, 2)
Char.SetHealth(88@, 200)
Char.SetMaxHealth(88@, 200)
set_lvar_int_to_lvar_int 109@ = 88@
111@ = 2566.984
112@ = -1302.09
113@ = 1043.133
gosub @FINALEA_31604
176@ = 1
184@ = 1

:FINALEA_19868
if 
  185@ == 0
goto_if_false @FINALEA_20201
if 
  183@ > 8
goto_if_false @FINALEA_20201
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2566.09, -1301.26, 1046.91, 2554.56, -1309.06, 1050.0, False)
goto_if_false @FINALEA_20201
89@ = Char.Create(PedType.Mission1, 173, 2527.271, -1305.648, 1047.297)
Char.SetHeading(89@, 269.5592)
Char.SetDecisionMaker(89@, 47@)
Char.GiveWeapon(89@, WeaponType.Pistol, 99999)
Char.SetWeaponSkill(89@, 2)
Char.SetAreaVisible(89@, 2)
set_lvar_int_to_lvar_int 109@ = 89@
111@ = 2542.317
112@ = -1305.674
113@ = 1047.297
gosub @FINALEA_31604
177@ = 1
90@ = Char.Create(PedType.Mission1, 173, 2523.7, -1305.878, 1047.297)
Char.SetHeading(90@, 273.1955)
Char.SetDecisionMaker(90@, 47@)
Char.GiveWeapon(90@, WeaponType.Pistol, 99999)
Char.SetWeaponSkill(90@, 2)
Char.SetAreaVisible(90@, 2)
set_lvar_int_to_lvar_int 109@ = 90@
111@ = 2534.567
112@ = -1305.547
113@ = 1047.297
gosub @FINALEA_31604
178@ = 1
185@ = 1

:FINALEA_20201
if 
  175@ == 1
goto_if_false @FINALEA_20254
if 
  Char.IsDead(87@)
goto_if_false @FINALEA_20254
Char.MarkAsNoLongerNeeded(87@)
183@ += 1
175@ = 2

:FINALEA_20254
if 
  176@ == 1
goto_if_false @FINALEA_20307
if 
  Char.IsDead(88@)
goto_if_false @FINALEA_20307
Char.MarkAsNoLongerNeeded(88@)
183@ += 1
176@ = 2

:FINALEA_20307
if 
  177@ == 1
goto_if_false @FINALEA_20360
if 
  Char.IsDead(89@)
goto_if_false @FINALEA_20360
Char.MarkAsNoLongerNeeded(89@)
183@ += 1
177@ = 2

:FINALEA_20360
if 
  178@ == 1
goto_if_false @FINALEA_20413
if 
  Char.IsDead(90@)
goto_if_false @FINALEA_20413
Char.MarkAsNoLongerNeeded(90@)
183@ += 1
178@ = 2

:FINALEA_20413
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2522.35, -1309.65, 1045.6, 2513.5, -1295.97, 1050.32, False)
goto_if_false @FINALEA_20746
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Char.SetCoordinates($stattreadstamina_ctr, 2525.079, -1301.891, 1047.297)
Char.SetHeading($stattreadstamina_ctr, 89.7295)
Char.Delete(71@)
Char.Delete(72@)
Char.Delete(73@)
Char.Delete(74@)
Char.Delete(75@)
Char.Delete(76@)
Char.Delete(77@)
Char.Delete(80@)
Char.Delete(81@)
Char.Delete(83@)
Char.Delete(84@)
Char.Delete(85@)
Char.Delete(86@)
Char.Delete(87@)
Char.Delete(88@)
Char.Delete(89@)
Char.Delete(90@)
Object.Delete(96@)
Object.Delete(97@)
Object.Delete(98@)
Object.Delete(99@)
Streaming.MarkModelAsNoLongerNeeded(144)
Streaming.MarkModelAsNoLongerNeeded(145)
Streaming.MarkModelAsNoLongerNeeded(146)
Streaming.MarkModelAsNoLongerNeeded(173)
Streaming.MarkModelAsNoLongerNeeded(356)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(#BARREL4)
Camera.SetFixedPosition(2520.282, -1306.363, 1047.599, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2520.3, -1305.388, 1047.823, SwitchType.JumpCut)
Text.PrintBig('RM4_19', 1000, TextStyle.BottomRight)
wait 1000
Task.GoStraightToCoord($stattreadstamina_ctr, 2520.025, -1301.845, 1047.289, MoveState.Walk, 5000)
157@ = 4

:FINALEA_20746
if 
  157@ == 4
goto_if_false @FINALEA_21863
if 
  Char.LocateStoppedOnFoot2D($stattreadstamina_ctr, 2520.025, -1301.845, 3.0, 3.0, False)
goto_if_false @FINALEA_21863
Streaming.RequestModel(104)
Streaming.RequestModel(111)
Streaming.RequestModel(109)
Streaming.RequestModel(352)
Streaming.RequestModel(349)
Streaming.RequestModel(12)
Streaming.RequestAnimation("STRIP")
Streaming.RequestModel(256)
Streaming.LoadAllModelsNow

:FINALEA_20844
if or
  not Streaming.HasModelLoaded(104)
  not Streaming.HasModelLoaded(111)
  not Streaming.HasModelLoaded(109)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(349)
goto_if_false @FINALEA_20888
wait 0
goto @FINALEA_20844

:FINALEA_20888
if or
  not Streaming.HasModelLoaded(12)
  not Streaming.HasAnimationLoaded("STRIP")
  not Streaming.HasModelLoaded(256)
goto_if_false @FINALEA_20928
wait 0
goto @FINALEA_20888

:FINALEA_20928
135@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2520.4, -1281.287, 1054.681)
wait 250
89@ = Char.Create(PedType.Mission1, 104, 2520.891, -1281.763, 1053.681)
Char.SetHeading(89@, 180.628)
Char.SetDecisionMaker(89@, 47@)
Char.GiveWeapon(89@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(89@, 2)
Char.SetAreaVisible(89@, 2)
177@ = 0
71@ = Char.Create(PedType.Mission1, 109, 2529.813, -1285.063, 1053.641)
Char.SetHeading(71@, 182.0171)
Char.SetDecisionMaker(71@, 47@)
Char.GiveWeapon(71@, WeaponType.MicroUzi, 99999)
Char.SetAreaVisible(71@, 2)
Char.SetAccuracy(71@, 50)
159@ = 0
72@ = Char.Create(PedType.Mission1, 104, 2529.92, -1286.83, 1053.641)
Char.SetHeading(72@, 358.5364)
Char.SetDecisionMaker(72@, 47@)
Char.GiveWeapon(72@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(72@, 2)
Char.SetAreaVisible(72@, 2)
Char.SetAccuracy(72@, 50)
160@ = 0
Task.ChatWithChar(72@, 71@, True, 1)
Task.ChatWithChar(71@, 72@, False, 1)
91@ = Char.Create(PedType.Mission1, 12, 2537.15, -1288.125, 1053.641)
Char.SetHeading(91@, 280.1631)
Char.SetDecisionMaker(91@, 47@)
Char.SetHealth(91@, 1)
73@ = Char.Create(PedType.Mission1, 111, 2540.364, -1287.553, 1053.647)
Char.SetHeading(73@, 89.793)
Char.SetDecisionMaker(73@, 47@)
Char.GiveWeapon(73@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(73@, 2)
Char.SetAreaVisible(73@, 2)
Char.SetAccuracy(73@, 30)
Char.SetHealth(73@, 200)
Char.SetMaxHealth(73@, 200)
161@ = 0
74@ = Char.Create(PedType.Mission1, 109, 2537.074, -1287.274, 1053.681)
Char.SetHeading(74@, 265.803)
Char.SetDecisionMaker(74@, 47@)
Char.GiveWeapon(74@, WeaponType.Shotgun, 99999)
Char.SetAreaVisible(74@, 2)
Char.SetProofs(74@, False, False, True, False, False)
Char.SetHealth(74@, 150)
Char.SetMaxHealth(74@, 150)
162@ = 0
75@ = Char.Create(PedType.Mission1, 104, 2542.226, -1294.381, 1053.641)
Char.SetHeading(75@, 89.8814)
Char.SetDecisionMaker(75@, 47@)
Char.GiveWeapon(75@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(75@, 2)
Char.SetAreaVisible(75@, 2)
Task.SitDown(75@, 400000)
Char.SetAccuracy(75@, 30)
Char.SetHealth(75@, 200)
Char.SetMaxHealth(75@, 200)
163@ = 0
wait 250
77@ = Char.Create(PedType.Mission1, 109, 2539.477, -1303.431, 1053.641)
Char.SetHeading(77@, 10.5492)
Char.SetDecisionMaker(77@, 47@)
Char.GiveWeapon(77@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(77@, 2)
Char.SetAreaVisible(77@, 2)
Char.SetHealth(77@, 150)
Char.SetMaxHealth(77@, 150)
165@ = 0
78@ = Char.Create(PedType.Mission1, 111, 2533.962, -1306.916, 1053.641)
Char.SetHeading(78@, 338.7091)
Char.SetDecisionMaker(78@, 47@)
Char.GiveWeapon(78@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(78@, 2)
Char.SetAreaVisible(78@, 2)
Char.SetHealth(78@, 200)
Char.SetMaxHealth(78@, 200)
166@ = 0
Blip.Remove(130@)
130@ = Blip.AddForCoord(2579.0, -1284.0, 1054.686)
Blip.SetEntryExit(130@, 2540.83, -1304.05, 1.0)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Text.ClearPrints
Text.PrintNow('RM4_21', 5000, 1)
147@ = 4
158@ = 1
157@ = 5

:FINALEA_21863
if 
  147@ == 4
goto_if_false @FINALEA_27576
if 
  158@ == 1
goto_if_false @FINALEA_22010
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2520.23, -1293.09, 1051.49, 6.0, 6.0, 5.0, False)
goto_if_false @FINALEA_22010
if 
  177@ == 0
goto_if_false @FINALEA_22003
if 
  not Char.IsDead(89@)
goto_if_false @FINALEA_22003
set_lvar_int_to_lvar_int 109@ = 89@
gosub @FINALEA_31697
177@ = 1

:FINALEA_22003
158@ = 2

:FINALEA_22010
if 
  158@ == 2
goto_if_false @FINALEA_22229
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2522.32, -1293.64, 1052.5, 2532.41, -1273.44, 1055.89, False)
goto_if_false @FINALEA_22146
TIMERA = 0
if 
  160@ == 0
goto_if_false @FINALEA_22132
if 
  not Char.IsDead(72@)
goto_if_false @FINALEA_22132
Task.KillCharOnFoot(72@, $stattreadstamina_ctr)
160@ = 1

:FINALEA_22132
158@ = 3
goto @FINALEA_22229

:FINALEA_22146
if or
  Char.HasBeenDamagedByChar(71@, $stattreadstamina_ctr)
  Char.HasBeenDamagedByChar(72@, $stattreadstamina_ctr)
goto_if_false @FINALEA_22229
if 
  160@ == 0
goto_if_false @FINALEA_22222
if 
  not Char.IsDead(72@)
goto_if_false @FINALEA_22222
Task.KillCharOnFoot(72@, $stattreadstamina_ctr)
160@ = 1

:FINALEA_22222
158@ = 3

:FINALEA_22229
if 
  158@ == 3
goto_if_false @FINALEA_22322
if 
  TIMERA > 250
goto_if_false @FINALEA_22322
if 
  159@ == 0
goto_if_false @FINALEA_22315
if 
  not Char.IsDead(71@)
goto_if_false @FINALEA_22315
Task.KillCharOnFoot(71@, $stattreadstamina_ctr)
159@ = 1

:FINALEA_22315
158@ = 4

:FINALEA_22322
if 
  158@ == 4
goto_if_false @FINALEA_22759
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2530.68, -1306.62, 1052.16, 2542.05, -1275.19, 1057.08, False)
goto_if_false @FINALEA_22759
if 
  not Char.IsDead(91@)
goto_if_false @FINALEA_22449
set_lvar_int_to_lvar_int 109@ = 91@
111@ = 2537.736
112@ = -1306.448
113@ = 1053.641
gosub @FINALEA_32455

:FINALEA_22449
if 
  161@ == 0
goto_if_false @FINALEA_22542
if 
  not Char.IsDead(73@)
goto_if_false @FINALEA_22542
Task.ToggleDuck(73@, -1)
set_lvar_int_to_lvar_int 109@ = 73@
111@ = 2540.37
112@ = -1280.79
113@ = 1053.647
gosub @FINALEA_31604
161@ = 1

:FINALEA_22542
if 
  162@ == 0
goto_if_false @FINALEA_22591
if 
  not Char.IsDead(74@)
goto_if_false @FINALEA_22591
Task.KillCharOnFoot(74@, $stattreadstamina_ctr)
162@ = 1

:FINALEA_22591
if 
  163@ == 0
goto_if_false @FINALEA_22640
if 
  not Char.IsDead(75@)
goto_if_false @FINALEA_22640
Task.KillCharOnFoot(75@, $stattreadstamina_ctr)
163@ = 1

:FINALEA_22640
if 
  165@ == 0
goto_if_false @FINALEA_22696
if 
  not Char.IsDead(77@)
goto_if_false @FINALEA_22696
set_lvar_int_to_lvar_int 109@ = 77@
gosub @FINALEA_31653
165@ = 1

:FINALEA_22696
if 
  166@ == 0
goto_if_false @FINALEA_22752
if 
  not Char.IsDead(78@)
goto_if_false @FINALEA_22752
set_lvar_int_to_lvar_int 109@ = 78@
gosub @FINALEA_31697
166@ = 1

:FINALEA_22752
158@ = 5

:FINALEA_22759
if 
  158@ == 5
goto_if_false @FINALEA_23474
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2537.78, -1298.62, 1055.1, 5.0, 5.0, 5.0, False)
goto_if_false @FINALEA_23474
76@ = Char.Create(PedType.Mission1, 111, 2545.193, -1302.545, 1053.647)
Char.SetHeading(76@, 359.6221)
Char.SetDecisionMaker(76@, 47@)
Char.GiveWeapon(76@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(76@, 2)
Char.SetAreaVisible(76@, 2)
Char.SetHealth(76@, 150)
Char.SetMaxHealth(76@, 150)
Task.ToggleDuck(76@, -1)
164@ = 0
79@ = Char.Create(PedType.Mission1, 104, 2548.808, -1288.945, 1053.641)
Char.SetHeading(79@, 168.1978)
Char.SetDecisionMaker(79@, 47@)
Char.GiveWeapon(79@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(79@, 2)
Char.SetAccuracy(79@, 50)
Char.SetAreaVisible(79@, 2)
Char.SetHealth(79@, 150)
Char.SetMaxHealth(79@, 150)
167@ = 0
81@ = Char.Create(PedType.Mission1, 109, 2548.211, -1293.491, 1053.641)
Char.SetHeading(81@, 177.248)
Char.SetDecisionMaker(81@, 47@)
Char.GiveWeapon(81@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(81@, 2)
Char.SetAreaVisible(81@, 2)
Char.SetHealth(81@, 150)
Char.SetMaxHealth(81@, 150)
Char.SetAccuracy(81@, 30)
169@ = 0
82@ = Char.Create(PedType.Mission1, 104, 2548.473, -1295.834, 1053.647)
Char.SetHeading(82@, 6.5626)
Char.SetDecisionMaker(82@, 47@)
Char.GiveWeapon(82@, WeaponType.Shotgun, 99999)
Char.SetAccuracy(82@, 30)
Char.SetAreaVisible(82@, 2)
Char.SetHealth(82@, 150)
Char.SetMaxHealth(82@, 150)
170@ = 0
88@ = Char.Create(PedType.Mission1, 104, 2568.735, -1294.134, 1053.681)
Char.SetHeading(88@, 270.3791)
Char.SetDecisionMaker(88@, 47@)
Char.GiveWeapon(88@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(88@, 2)
Char.SetAreaVisible(88@, 2)
Char.SetOnlyDamagedByPlayer(88@, True)
Char.SetHealth(88@, 150)
Char.SetMaxHealth(88@, 150)
176@ = 0
80@ = Char.Create(PedType.Mission1, 104, 2571.7, -1294.298, 1053.68)
Char.SetHeading(80@, 90.0)
Char.SetDecisionMaker(80@, 47@)
Char.GiveWeapon(80@, WeaponType.Shotgun, 99999)
Char.SetAreaVisible(80@, 2)
168@ = 0
83@ = Char.Create(PedType.Mission1, 111, 2571.802, -1289.591, 1053.641)
Char.SetHeading(83@, 90.3346)
Char.SetDecisionMaker(83@, 47@)
Char.GiveWeapon(83@, WeaponType.Shotgun, 99999)
Char.SetAccuracy(83@, 50)
Char.SetAreaVisible(83@, 2)
Char.SetHealth(83@, 150)
Char.SetMaxHealth(83@, 150)
171@ = 0
158@ = 6

:FINALEA_23474
if 
  158@ == 6
goto_if_false @FINALEA_24207
if or
  Char.IsInArea3D($stattreadstamina_ctr, 2543.87, -1308.98, 1050.78, 2553.03, -1276.55, 1059.5, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2543.88, -1304.9, 1053.81, 3.0, 3.0, 3.0, False)
goto_if_false @FINALEA_24207
Char.Delete(89@)
Char.Delete(71@)
Char.Delete(72@)
if 
  164@ == 0
goto_if_false @FINALEA_23685
if 
  not Char.IsDead(76@)
goto_if_false @FINALEA_23685
Task.ToggleDuck(76@, -1)
set_lvar_int_to_lvar_int 109@ = 76@
111@ = 2545.238
112@ = -1291.791
113@ = 1053.641
gosub @FINALEA_31604
164@ = 1

:FINALEA_23685
if 
  167@ == 0
goto_if_false @FINALEA_23741
if 
  not Char.IsDead(79@)
goto_if_false @FINALEA_23741
set_lvar_int_to_lvar_int 109@ = 79@
gosub @FINALEA_31697
167@ = 1

:FINALEA_23741
if 
  169@ == 0
goto_if_false @FINALEA_23827
if 
  not Char.IsDead(81@)
goto_if_false @FINALEA_23827
set_lvar_int_to_lvar_int 109@ = 81@
111@ = 2553.877
112@ = -1292.145
113@ = 1053.647
gosub @FINALEA_31604
169@ = 1

:FINALEA_23827
if 
  170@ == 0
goto_if_false @FINALEA_23943
if 
  not Char.IsDead(82@)
goto_if_false @FINALEA_23943
set_lvar_int_to_lvar_int 109@ = 82@
111@ = 2553.217
112@ = -1296.903
113@ = 1053.647
118@ = 2557.171
119@ = -1296.618
120@ = 1053.641
gosub @FINALEA_31735
170@ = 1

:FINALEA_23943
if 
  176@ == 0
goto_if_false @FINALEA_23992
if 
  not Char.IsDead(88@)
goto_if_false @FINALEA_23992
Task.KillCharOnFoot(88@, $stattreadstamina_ctr)
176@ = 1

:FINALEA_23992
if 
  168@ == 0
goto_if_false @FINALEA_24096
if 
  not Char.IsDead(80@)
goto_if_false @FINALEA_24096
set_lvar_int_to_lvar_int 109@ = 80@
111@ = 2571.7
112@ = -1294.298
113@ = 1053.68
117@ = 1200
121@ = 90.0
gosub @FINALEA_31973
168@ = 1

:FINALEA_24096
if 
  171@ == 0
goto_if_false @FINALEA_24200
if 
  not Char.IsDead(83@)
goto_if_false @FINALEA_24200
set_lvar_int_to_lvar_int 109@ = 83@
111@ = 2571.802
112@ = -1289.591
113@ = 1053.641
117@ = 2000
121@ = 90.0
gosub @FINALEA_31973
171@ = 1

:FINALEA_24200
158@ = 7

:FINALEA_24207
if 
  158@ == 7
goto_if_false @FINALEA_24680
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2544.0, -1298.31, 1051.84, 2577.11, -1278.61, 1057.06, False)
goto_if_false @FINALEA_24680
Char.Delete(91@)
Char.Delete(74@)
Char.Delete(75@)
Char.Delete(77@)
Char.Delete(78@)
84@ = Char.Create(PedType.Mission1, 111, 2561.144, -1302.854, 1053.641)
Char.SetHeading(84@, 357.9032)
Char.SetDecisionMaker(84@, 47@)
Char.GiveWeapon(84@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(84@, 2)
Char.SetAreaVisible(84@, 2)
Char.SetHealth(84@, 200)
Char.SetMaxHealth(84@, 200)
Char.SetAccuracy(84@, 40)
172@ = 0
if 
  172@ == 0
goto_if_false @FINALEA_24489
if 
  not Char.IsDead(84@)
goto_if_false @FINALEA_24489
Task.ToggleDuck(84@, -1)
set_lvar_int_to_lvar_int 109@ = 84@
111@ = 2561.076
112@ = -1295.253
113@ = 1053.647
gosub @FINALEA_31604
172@ = 1

:FINALEA_24489
85@ = Char.Create(PedType.Mission1, 111, 2561.128, -1284.657, 1053.641)
Char.SetHeading(85@, 180.8092)
Char.SetDecisionMaker(85@, 47@)
Char.GiveWeapon(85@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(85@, 2)
Char.SetAreaVisible(85@, 2)
Char.SetAccuracy(85@, 40)
Char.SetHealth(85@, 150)
Char.SetMaxHealth(85@, 150)
173@ = 0
if 
  173@ == 0
goto_if_false @FINALEA_24673
if 
  not Char.IsDead(85@)
goto_if_false @FINALEA_24673
set_lvar_int_to_lvar_int 109@ = 85@
111@ = 2561.241
112@ = -1292.802
113@ = 1053.647
gosub @FINALEA_31604
173@ = 1

:FINALEA_24673
158@ = 8

:FINALEA_24680
if 
  187@ == 0
goto_if_false @FINALEA_24947
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2556.98, -1298.58, 1052.0, 2569.69, -1035.12, 1056.21, False)
goto_if_false @FINALEA_24947
139@ = Pickup.Create(#HEALTH, PickupType.Once, 2552.298, -1306.06, 1054.681)
87@ = Char.Create(PedType.Mission1, 111, 2566.716, -1305.75, 1053.681)
Char.SetHeading(87@, 4.514)
Char.SetDecisionMaker(87@, 47@)
Char.GiveWeapon(87@, WeaponType.MicroUzi, 99999)
Char.SetAccuracy(87@, 70)
Char.SetAreaVisible(87@, 2)
175@ = 1
Task.KillCharOnFoot(87@, $stattreadstamina_ctr)
92@ = Char.Create(PedType.Mission1, 256, 2557.072, -1302.799, 1053.875)
Char.SetHeading(92@, 53.1978)
Char.SetDecisionMaker(92@, 47@)
Char.SetHealth(92@, 5)
Task.PlayAnim(92@, "STRIP_E", "STRIP", 8.0, True, True, True, False, -1)
187@ = 1

:FINALEA_24947
if 
  186@ == 0
goto_if_false @FINALEA_25213
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2558.94, -1290.24, 1052.74, 2568.72, -1283.56, 1057.43, False)
goto_if_false @FINALEA_25213
136@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2552.475, -1280.687, 1054.686)
86@ = Char.Create(PedType.Mission1, 111, 2567.987, -1281.41, 1053.687)
Char.SetHeading(86@, 178.685)
Char.SetDecisionMaker(86@, 47@)
Char.GiveWeapon(86@, WeaponType.MicroUzi, 99999)
Char.SetAccuracy(86@, 30)
Char.SetAreaVisible(86@, 2)
174@ = 1
Task.KillCharOnFoot(86@, $stattreadstamina_ctr)
93@ = Char.Create(PedType.Mission1, 256, 2557.817, -1285.218, 1053.876)
Char.SetHeading(93@, 288.0473)
Char.SetDecisionMaker(93@, 47@)
Char.SetHealth(93@, 5)
Task.PlayAnim(93@, "STRIP_A", "STRIP", 8.0, True, True, True, False, -1)
186@ = 1

:FINALEA_25213
if 
  168@ == 1
goto_if_false @FINALEA_25341
if 
  not Char.IsDead(80@)
goto_if_false @FINALEA_25341
if 
  Char.HasBeenDamagedByChar(80@, $stattreadstamina_ctr)
goto_if_false @FINALEA_25341
if or
  not Char.IsDead(80@)
  Char.LocateAnyMeansChar3D(80@, $stattreadstamina_ctr, 5.0, 5.0, 3.0, False)
goto_if_false @FINALEA_25329
Task.KillCharOnFoot(80@, $stattreadstamina_ctr)
168@ = 2
goto @FINALEA_25341

:FINALEA_25329
Char.MarkAsNoLongerNeeded(80@)
168@ = 2

:FINALEA_25341
if 
  171@ == 1
goto_if_false @FINALEA_25469
if 
  not Char.IsDead(83@)
goto_if_false @FINALEA_25469
if or
  Char.HasBeenDamagedByChar(83@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(83@, $stattreadstamina_ctr, 5.0, 5.0, 3.0, False)
goto_if_false @FINALEA_25469
if 
  not Char.IsDead(83@)
goto_if_false @FINALEA_25457
Task.KillCharOnFoot(83@, $stattreadstamina_ctr)
171@ = 2
goto @FINALEA_25469

:FINALEA_25457
Char.MarkAsNoLongerNeeded(83@)
171@ = 2

:FINALEA_25469
if 
  159@ == 1
goto_if_false @FINALEA_25522
if 
  Char.IsDead(71@)
goto_if_false @FINALEA_25522
Char.MarkAsNoLongerNeeded(71@)
180@ += 1
159@ = 2

:FINALEA_25522
if 
  161@ == 1
goto_if_false @FINALEA_25575
if 
  Char.IsDead(73@)
goto_if_false @FINALEA_25575
Char.MarkAsNoLongerNeeded(73@)
180@ += 1
161@ = 2

:FINALEA_25575
if 
  162@ == 1
goto_if_false @FINALEA_25628
if 
  Char.IsDead(74@)
goto_if_false @FINALEA_25628
Char.MarkAsNoLongerNeeded(74@)
180@ += 1
162@ = 2

:FINALEA_25628
if 
  163@ == 1
goto_if_false @FINALEA_25681
if 
  Char.IsDead(75@)
goto_if_false @FINALEA_25681
Char.MarkAsNoLongerNeeded(75@)
180@ += 1
163@ = 2

:FINALEA_25681
if 
  164@ == 1
goto_if_false @FINALEA_25734
if 
  Char.IsDead(76@)
goto_if_false @FINALEA_25734
Char.MarkAsNoLongerNeeded(76@)
180@ += 1
164@ = 2

:FINALEA_25734
if 
  165@ == 1
goto_if_false @FINALEA_25787
if 
  Char.IsDead(77@)
goto_if_false @FINALEA_25787
Char.MarkAsNoLongerNeeded(77@)
180@ += 1
165@ = 3

:FINALEA_25787
if 
  166@ == 1
goto_if_false @FINALEA_25840
if 
  Char.IsDead(78@)
goto_if_false @FINALEA_25840
Char.MarkAsNoLongerNeeded(78@)
180@ += 1
166@ = 2

:FINALEA_25840
if or
  168@ == 1
  168@ == 2
goto_if_false @FINALEA_25900
if 
  Char.IsDead(80@)
goto_if_false @FINALEA_25900
Char.MarkAsNoLongerNeeded(80@)
180@ += 1
168@ = 3

:FINALEA_25900
if 
  169@ == 1
goto_if_false @FINALEA_25953
if 
  Char.IsDead(81@)
goto_if_false @FINALEA_25953
Char.MarkAsNoLongerNeeded(81@)
180@ += 1
169@ = 2

:FINALEA_25953
if 
  170@ == 1
goto_if_false @FINALEA_26006
if 
  Char.IsDead(82@)
goto_if_false @FINALEA_26006
Char.MarkAsNoLongerNeeded(82@)
180@ += 1
170@ = 2

:FINALEA_26006
if or
  171@ == 1
  171@ == 2
goto_if_false @FINALEA_26066
if 
  Char.IsDead(83@)
goto_if_false @FINALEA_26066
Char.MarkAsNoLongerNeeded(83@)
180@ += 1
171@ = 3

:FINALEA_26066
if 
  172@ == 1
goto_if_false @FINALEA_26119
if 
  Char.IsDead(84@)
goto_if_false @FINALEA_26119
Char.MarkAsNoLongerNeeded(84@)
183@ += 1
172@ = 2

:FINALEA_26119
if 
  173@ == 1
goto_if_false @FINALEA_26172
if 
  Char.IsDead(85@)
goto_if_false @FINALEA_26172
Char.MarkAsNoLongerNeeded(85@)
183@ += 1
173@ = 2

:FINALEA_26172
if 
  174@ == 1
goto_if_false @FINALEA_26225
if 
  Char.IsDead(86@)
goto_if_false @FINALEA_26225
Char.MarkAsNoLongerNeeded(86@)
183@ += 1
174@ = 2

:FINALEA_26225
if 
  175@ == 1
goto_if_false @FINALEA_26278
if 
  Char.IsDead(87@)
goto_if_false @FINALEA_26278
Char.MarkAsNoLongerNeeded(87@)
183@ += 1
175@ = 2

:FINALEA_26278
if 
  176@ == 1
goto_if_false @FINALEA_26331
if 
  Char.IsDead(88@)
goto_if_false @FINALEA_26331
Char.MarkAsNoLongerNeeded(88@)
183@ += 1
176@ = 2

:FINALEA_26331
if 
  177@ == 1
goto_if_false @FINALEA_26384
if 
  Char.IsDead(89@)
goto_if_false @FINALEA_26384
Char.MarkAsNoLongerNeeded(89@)
183@ += 1
177@ = 2

:FINALEA_26384
if 
  158@ == 8
goto_if_false @FINALEA_26555
if or
  Char.IsInArea3D($stattreadstamina_ctr, 2577.43, -1281.21, 1050.83, 2584.7, -1291.47, 1055.35, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2579.82, -1284.91, 1054.12, 3.0, 3.0, 3.0, False)
goto_if_false @FINALEA_26555
Text.PrintNow('RM4_24', 5000, 1)
Blip.Remove(130@)
130@ = Blip.AddForCoord(2550.74, -1285.02, 1060.62)
Blip.SetEntryExit(130@, 2540.83, -1304.05, 1.0)
158@ = 9

:FINALEA_26555
if 
  158@ == 9
goto_if_false @FINALEA_27576
if or
  Char.IsInArea3D($stattreadstamina_ctr, 2577.46, -1306.59, 1058.27, 2571.97, -1275.1, 1063.08, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2575.4, -1300.35, 1061.016, 3.0, 3.0, 3.0, False)
goto_if_false @FINALEA_27576
Blip.Remove(130@)
Char.Delete(92@)
Char.Delete(93@)
Char.Delete(71@)
Char.Delete(72@)
Char.Delete(73@)
Char.Delete(74@)
Char.Delete(75@)
Char.Delete(76@)
Char.Delete(77@)
Char.Delete(78@)
Char.Delete(79@)
Char.Delete(80@)
Char.Delete(81@)
Char.Delete(82@)
Char.Delete(83@)
Char.Delete(84@)
Char.Delete(85@)
Char.Delete(86@)
Char.Delete(87@)
Char.Delete(88@)
Char.Delete(89@)
Char.Delete(90@)
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:FINALEA_26795
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_26819
wait 0
goto @FINALEA_26795

:FINALEA_26819
Streaming.SetAreaVisible(2)
Cutscene.Load('RIOT_4C')

:FINALEA_26834
if 
  not Cutscene.HasLoaded
goto_if_false @FINALEA_26858
wait 0
goto @FINALEA_26834

:FINALEA_26858
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:FINALEA_26867
if 
  not Cutscene.HasFinished
goto_if_false @FINALEA_26891
wait 0
goto @FINALEA_26867

:FINALEA_26891
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:FINALEA_26906
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_26930
wait 0
goto @FINALEA_26906

:FINALEA_26930
Streaming.MarkModelAsNoLongerNeeded(104)
Streaming.MarkModelAsNoLongerNeeded(111)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(12)
Streaming.RemoveAnimation("STRIP")
Streaming.RemoveAnimation("SWAT")
Streaming.MarkModelAsNoLongerNeeded(256)
Streaming.RequestModel(109)
Streaming.RequestModel(102)
Streaming.RequestModel(173)
Streaming.RequestModel(355)
Streaming.RequestModel(369)
Streaming.LoadSpecialCharacter(2, 'SMOKEV')
Streaming.LoadAllModelsNow

:FINALEA_27007
if 
  not Streaming.HasSpecialCharacterLoaded(2)
goto_if_false @FINALEA_27033
wait 0
goto @FINALEA_27007

:FINALEA_27033
if or
  not Streaming.HasModelLoaded(109)
  not Streaming.HasModelLoaded(102)
  not Streaming.HasModelLoaded(173)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasModelLoaded(369)
goto_if_false @FINALEA_27078
wait 0
goto @FINALEA_27033

:FINALEA_27078
$mc_strap = Char.Create(PedType.Special, 291, 2549.918, -1284.457, 1060.016)
Char.SetHeading($mc_strap, 250.566)
Char.SetDecisionMaker($mc_strap, 47@)
Char.GiveWeapon($mc_strap, WeaponType.Ak47, 999999)
Char.SetAccuracy($mc_strap, 70)
Char.SetBulletproofVest($mc_strap, True)
Char.SetHealth($mc_strap, 10000)
Char.SetMaxHealth($mc_strap, 2000)
Char.SetSuffersCriticalHits($mc_strap, False)
Char.SetOnlyDamagedByPlayer($mc_strap, True)
131@ = Blip.AddForChar($mc_strap)
Char.SetHasUsedEntryExit($mc_strap, 2540.83, -1304.05, 1.0)
Char.SetFollowNodeThresholdDistance($mc_strap, 2.0)
Char.SetAreaVisible($mc_strap, 2)
Hud.DisplayCounterWithString($lookcamx_fb, CounterDisplay.Bar, 'RM4_39')
Char.SetUsesUpperbodyDamageAnimsOnly($mc_strap, True)
Char.SetCoordinates($stattreadstamina_ctr, 2564.447, -1292.822, 1060.016)
Char.SetHeading($stattreadstamina_ctr, 58.5)
Pickup.Remove(133@)
Pickup.Remove(134@)
Pickup.Remove(135@)
Pickup.Remove(136@)
Pickup.Remove(137@)
Pickup.Remove(138@)
Pickup.Remove(139@)
137@ = Pickup.Create(#HEALTH, PickupType.Once, 2582.848, -1282.741, 1065.391)
138@ = Pickup.Create(#HEALTH, PickupType.Once, 2578.784, -1282.572, 1065.4)
142@ = Pickup.CreateWithAmmo(369, PickupType.Once, 1, 2575.03, -1281.598, 1061.02)
133@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2549.429, -1291.612, 1061.024)
140@ = Pickup.CreateWithAmmo(356, PickupType.OnStreet, 60, 2549.632, -1294.612, 1061.024)
141@ = Pickup.CreateWithAmmo(349, PickupType.OnStreet, 60, 2552.09, -1294.106, 1061.024)
Streaming.LoadScene(2552.31, -1286.25, 1061.04)
Clock.SetTimeOfDay(22, 0)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Camera.DoFade(500, Fade.In)

:FINALEA_27499
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_27523
wait 0
goto @FINALEA_27499

:FINALEA_27523
Player.SetControl($statbike_temp, True)
193@ = 0
194@ = 0
195@ = 1
Text.PrintHelp('RM4_28')
158@ = 10
147@ = 5

:FINALEA_27576
if 
  147@ == 5
goto_if_false @FINALEA_31446
if 
  not Char.IsDead($mc_strap)
goto_if_false @FINALEA_31213
if 
  188@ == 0
goto_if_false @FINALEA_27930
Task.KillCharOnFoot($mc_strap, $stattreadstamina_ctr)
145@ = 0
75@ = Char.Create(PedType.Mission1, 173, 2554.729, -1281.952, 1060.024)
Char.SetHeading(75@, 180.771)
Char.SetDecisionMaker(75@, 47@)
Char.GiveWeapon(75@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(75@, 2)
Task.ToggleDuck(75@, -1)
Char.SetHealth(75@, 200)
Char.SetMaxHealth(75@, 200)
set_lvar_int_to_lvar_int 109@ = 75@
111@ = 2554.46
112@ = -1284.412
113@ = 1061.024
gosub @FINALEA_31604
163@ = 1
74@ = Char.Create(PedType.Mission1, 102, 2551.236, -1292.18, 1060.02)
Char.SetHeading(74@, 6.0)
Char.SetDecisionMaker(74@, 47@)
Char.GiveWeapon(74@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(74@, 2)
Char.SetHealth(74@, 200)
Char.SetMaxHealth(74@, 200)
set_lvar_int_to_lvar_int 109@ = 74@
111@ = 2551.259
112@ = -1288.081
113@ = 1061.02
gosub @FINALEA_31604
162@ = 1
TIMERA = 0
TIMERB = 0
188@ = 1

:FINALEA_27930
if 
  188@ == 1
goto_if_false @FINALEA_28457
if 
  TIMERB > 6000
goto_if_false @FINALEA_28457
if 
  159@ == 0
goto_if_false @FINALEA_28117
if 
  not Camera.IsPointOnScreen(2551.2, -1291.727, 1060.02, 5.0)
goto_if_false @FINALEA_28117
71@ = Char.Create(PedType.Mission1, 102, 2551.2, -1291.727, 1060.02)
Char.SetHeading(71@, 0.0)
Char.SetDecisionMaker(71@, 47@)
Char.GiveWeapon(71@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(71@, 2)
Task.KillCharOnFoot(71@, $stattreadstamina_ctr)
Char.SetAccuracy(71@, 30)
Char.SetHealth(71@, 200)
Char.SetMaxHealth(71@, 200)
159@ = 1

:FINALEA_28117
if 
  160@ == 0
goto_if_false @FINALEA_28260
if 
  not Camera.IsPointOnScreen(2579.04, -1284.275, 1064.4, 5.0)
goto_if_false @FINALEA_28260
72@ = Char.Create(PedType.Mission1, 109, 2579.04, -1284.275, 1064.4)
Char.SetHeading(72@, 0.0)
Char.SetDecisionMaker(72@, 47@)
Char.GiveWeapon(72@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(72@, 2)
Task.KillCharOnFoot(72@, $stattreadstamina_ctr)
Char.SetHealth(72@, 150)
Char.SetMaxHealth(72@, 150)
160@ = 1

:FINALEA_28260
if 
  161@ == 0
goto_if_false @FINALEA_28411
if 
  not Camera.IsPointOnScreen(2576.94, -1300.388, 1060.016, 1.0)
goto_if_false @FINALEA_28411
73@ = Char.Create(PedType.Mission1, 173, 2576.94, -1300.388, 1060.016)
Char.SetHeading(73@, 0.0)
Char.SetDecisionMaker(73@, 47@)
Char.GiveWeapon(73@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(73@, 2)
Task.KillCharOnFoot(73@, $stattreadstamina_ctr)
Char.SetAccuracy(73@, 30)
Char.SetHealth(73@, 200)
Char.SetMaxHealth(73@, 200)
161@ = 1

:FINALEA_28411
if or
  159@ == 1
  160@ == 1
  161@ == 1
goto_if_false @FINALEA_28457
TIMERB = 0
188@ = 2

:FINALEA_28457
if 
  188@ == 2
goto_if_false @FINALEA_28726
if 
  159@ == 1
goto_if_false @FINALEA_28528
if 
  Char.IsDead(71@)
goto_if_false @FINALEA_28528
Char.MarkAsNoLongerNeeded(71@)
188@ = 1
159@ = 0

:FINALEA_28528
if 
  160@ == 1
goto_if_false @FINALEA_28581
if 
  Char.IsDead(72@)
goto_if_false @FINALEA_28581
Char.MarkAsNoLongerNeeded(72@)
188@ = 1
160@ = 0

:FINALEA_28581
if 
  161@ == 1
goto_if_false @FINALEA_28634
if 
  Char.IsDead(73@)
goto_if_false @FINALEA_28634
Char.MarkAsNoLongerNeeded(73@)
188@ = 1
161@ = 0

:FINALEA_28634
if 
  162@ == 1
goto_if_false @FINALEA_28680
if 
  Char.IsDead(74@)
goto_if_false @FINALEA_28680
Char.MarkAsNoLongerNeeded(74@)
162@ = 0

:FINALEA_28680
if 
  163@ == 1
goto_if_false @FINALEA_28726
if 
  Char.IsDead(75@)
goto_if_false @FINALEA_28726
Char.MarkAsNoLongerNeeded(75@)
163@ = 0

:FINALEA_28726
if 
  145@ == 0
goto_if_false @FINALEA_28780
144@ = Char.GetScriptTaskStatus($mc_strap, 1506)
if 
  is_int_lvar_equal_to_constant 144@ == 7
goto_if_false @FINALEA_28780
145@ = 1

:FINALEA_28780
if 
  189@ == 0
goto_if_false @FINALEA_28857
if 
  190@ == 0
goto_if_false @FINALEA_28857
if 
  TIMERA > 1000
goto_if_false @FINALEA_28857
TIMERA = 10000
190@ = 1
189@ = 1

:FINALEA_28857
if 
  189@ == 1
goto_if_false @FINALEA_29064
if 
  190@ == 1
goto_if_false @FINALEA_29064
if 
  TIMERA > 5999
goto_if_false @FINALEA_29013
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2564.242, -1282.221, 1064.41, 3.5, 3.5, 3.0, False)
goto_if_false @FINALEA_28999
Task.FollowPathNodesToCoord($mc_strap, 2564.242, -1282.221, 1064.41, 6, 20000)
190@ = 2
goto @FINALEA_29006

:FINALEA_28999
189@ = 3

:FINALEA_29006
goto @FINALEA_29064

:FINALEA_29013
if 
  Char.LocateAnyMeansChar3D($mc_strap, $stattreadstamina_ctr, 3.0, 3.0, 1.5, False)
goto_if_false @FINALEA_29064
189@ = 2
TIMERA = 10000

:FINALEA_29064
if 
  189@ == 1
goto_if_false @FINALEA_29184
if 
  Char.LocateAnyMeans3D($mc_strap, 2564.242, -1282.221, 1064.41, 3.5, 3.5, 3.0, False)
goto_if_false @FINALEA_29184
if 
  145@ == 1
goto_if_false @FINALEA_29163
Task.KillCharOnFoot($mc_strap, $stattreadstamina_ctr)
145@ = 0

:FINALEA_29163
TIMERA = 0
190@ = 1
189@ = 2

:FINALEA_29184
if 
  189@ == 2
goto_if_false @FINALEA_29391
if 
  190@ == 1
goto_if_false @FINALEA_29391
if 
  TIMERA > 4999
goto_if_false @FINALEA_29340
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2575.35, -1295.873, 1061.85, 5.5, 5.5, 3.5, False)
goto_if_false @FINALEA_29326
Task.FollowPathNodesToCoord($mc_strap, 2575.35, -1295.873, 1061.85, 6, 20000)
190@ = 2
goto @FINALEA_29333

:FINALEA_29326
189@ = 4

:FINALEA_29333
goto @FINALEA_29391

:FINALEA_29340
if 
  Char.LocateAnyMeansChar3D($mc_strap, $stattreadstamina_ctr, 3.0, 3.0, 1.5, False)
goto_if_false @FINALEA_29391
189@ = 4
TIMERA = 10000

:FINALEA_29391
if 
  189@ == 2
goto_if_false @FINALEA_29511
if 
  Char.LocateAnyMeans3D($mc_strap, 2575.35, -1295.873, 1061.85, 3.5, 3.5, 3.0, False)
goto_if_false @FINALEA_29511
if 
  145@ == 1
goto_if_false @FINALEA_29490
Task.KillCharOnFoot($mc_strap, $stattreadstamina_ctr)
145@ = 0

:FINALEA_29490
TIMERA = 0
190@ = 1
189@ = 3

:FINALEA_29511
if 
  189@ == 3
goto_if_false @FINALEA_29720
if 
  190@ == 1
goto_if_false @FINALEA_29720
if 
  TIMERA > 4999
goto_if_false @FINALEA_29669
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2558.181, -1303.748, 1061.024, 6.0, 6.0, 3.5, False)
goto_if_false @FINALEA_29655
Task.FollowPathNodesToCoord($mc_strap, 2558.181, -1303.748, 1061.024, 6, 200000)
190@ = 2
goto @FINALEA_29662

:FINALEA_29655
189@ = 1

:FINALEA_29662
goto @FINALEA_29720

:FINALEA_29669
if 
  Char.LocateAnyMeansChar3D($mc_strap, $stattreadstamina_ctr, 3.0, 3.0, 1.5, False)
goto_if_false @FINALEA_29720
189@ = 1
TIMERA = 10000

:FINALEA_29720
if 
  189@ == 3
goto_if_false @FINALEA_29840
if 
  Char.LocateAnyMeans3D($mc_strap, 2558.181, -1303.748, 1061.024, 3.5, 3.5, 3.0, False)
goto_if_false @FINALEA_29840
if 
  145@ == 1
goto_if_false @FINALEA_29819
Task.KillCharOnFoot($mc_strap, $stattreadstamina_ctr)
145@ = 0

:FINALEA_29819
TIMERA = 0
190@ = 1
189@ = 4

:FINALEA_29840
if 
  189@ == 4
goto_if_false @FINALEA_30047
if 
  190@ == 1
goto_if_false @FINALEA_30047
if 
  TIMERA > 5999
goto_if_false @FINALEA_29996
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2553.233, -1282.609, 1061.024, 4.0, 4.0, 3.5, False)
goto_if_false @FINALEA_29982
Task.FollowPathNodesToCoord($mc_strap, 2553.233, -1282.609, 1061.024, 6, 20000)
190@ = 2
goto @FINALEA_29989

:FINALEA_29982
189@ = 2

:FINALEA_29989
goto @FINALEA_30047

:FINALEA_29996
if 
  Char.LocateAnyMeansChar3D($mc_strap, $stattreadstamina_ctr, 3.0, 3.0, 1.5, False)
goto_if_false @FINALEA_30047
189@ = 2
TIMERA = 10000

:FINALEA_30047
if 
  189@ == 4
goto_if_false @FINALEA_30167
if 
  Char.LocateAnyMeans3D($mc_strap, 2553.233, -1282.609, 1061.024, 4.0, 4.0, 3.0, False)
goto_if_false @FINALEA_30167
if 
  145@ == 1
goto_if_false @FINALEA_30146
Task.KillCharOnFoot($mc_strap, $stattreadstamina_ctr)
145@ = 0

:FINALEA_30146
TIMERA = 0
190@ = 1
189@ = 1

:FINALEA_30167
if 
  not Char.IsDead($mc_strap)
goto_if_false @FINALEA_30288
$lookcamx_fb = Char.GetHealth($mc_strap)
$lookcamx_fb -= 8000
$lookcamx_fb /= 20
if 
  0 >= $lookcamx_fb
goto_if_false @FINALEA_30231
$lookcamx_fb = 0

:FINALEA_30231
if 
  191@ == 0
goto_if_false @FINALEA_30288
if 
  80 > $lookcamx_fb
goto_if_false @FINALEA_30288
196@ = 1
Camera.SetDarknessEffect(True, 200)
191@ = 1

:FINALEA_30288
if 
  not Char.IsDead($mc_strap)
goto_if_false @FINALEA_30576
94@ = Char.GetHealth($mc_strap)
if 
  8000 >= 94@
goto_if_false @FINALEA_30576
$lookcamx_fb = 0
Task.Die($mc_strap)
Camera.SetDarknessEffect(False, -1)
Game.SetInfraredVision(False)
Hud.ClearCounter($lookcamx_fb)
Player.SetControl($statbike_temp, False)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
World.ClearArea($x, $y, 100.0, 100.0, True)
if 
  not Char.IsDead(71@)
goto_if_false @FINALEA_30420
Task.Die(71@)

:FINALEA_30420
if 
  not Char.IsDead(72@)
goto_if_false @FINALEA_30441
Task.Die(72@)

:FINALEA_30441
if 
  not Char.IsDead(73@)
goto_if_false @FINALEA_30462
Task.Die(73@)

:FINALEA_30462
if 
  not Char.IsDead(74@)
goto_if_false @FINALEA_30483
Task.Die(74@)

:FINALEA_30483
if 
  not Char.IsDead(75@)
goto_if_false @FINALEA_30504
Task.Die(75@)

:FINALEA_30504
TIMERA = 0
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
195@ = 2
Camera.DoFade(2500, Fade.Out)

:FINALEA_30538
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_30562
wait 0
goto @FINALEA_30538

:FINALEA_30562
goto @FINALEA_32590
TIMERA = 0

:FINALEA_30576
if 
  191@ == 1
goto_if_false @FINALEA_30761
if 
  192@ == 0
goto_if_false @FINALEA_30704
if 
  Pickup.HasBeenCollected(142@)
goto_if_false @FINALEA_30653
Text.PrintHelp('RM4_36')
192@ = 3
goto @FINALEA_30704

:FINALEA_30653
132@ = Blip.AddForPickup(142@)
Blip.SetEntryExit(132@, 2540.83, -1304.05, 1.0)
Text.PrintNow('RM4_31', 7000, 1)
192@ = 1

:FINALEA_30704
if 
  192@ == 1
goto_if_false @FINALEA_30761
if 
  Pickup.HasBeenCollected(142@)
goto_if_false @FINALEA_30761
Blip.Remove(132@)
Text.PrintHelp('RM4_36')
192@ = 2

:FINALEA_30761
if 
  195@ == 1
goto_if_false @FINALEA_31206
gosub @FINALEA_31495
if 
  193@ == 0
goto_if_false @FINALEA_30853
if 
  194@ == 0
goto_if_false @FINALEA_30853
set_lvar_int_to_constant 125@ = 33298
set_lvar_text_label 126@s = 'ROT4_UA'
gosub @FINALEA_31453

:FINALEA_30853
if 
  193@ == 1
goto_if_false @FINALEA_30920
if 
  194@ == 0
goto_if_false @FINALEA_30920
set_lvar_int_to_constant 125@ = 33299
set_lvar_text_label 126@s = 'ROT4_UB'
gosub @FINALEA_31453

:FINALEA_30920
if 
  193@ == 2
goto_if_false @FINALEA_30987
if 
  194@ == 0
goto_if_false @FINALEA_30987
set_lvar_int_to_constant 125@ = 33300
set_lvar_text_label 126@s = 'ROT4_UC'
gosub @FINALEA_31453

:FINALEA_30987
if 
  193@ == 3
goto_if_false @FINALEA_31054
if 
  194@ == 0
goto_if_false @FINALEA_31054
set_lvar_int_to_constant 125@ = 33301
set_lvar_text_label 126@s = 'ROT4_UD'
gosub @FINALEA_31453

:FINALEA_31054
if 
  193@ == 4
goto_if_false @FINALEA_31121
if 
  194@ == 0
goto_if_false @FINALEA_31121
set_lvar_int_to_constant 125@ = 33303
set_lvar_text_label 126@s = 'ROT4_ZB'
gosub @FINALEA_31453

:FINALEA_31121
if 
  196@ == 1
goto_if_false @FINALEA_31206
if 
  193@ == 5
goto_if_false @FINALEA_31206
if 
  194@ == 0
goto_if_false @FINALEA_31206
set_lvar_int_to_constant 125@ = 33302
set_lvar_text_label 126@s = 'RM4_31'
gosub @FINALEA_31453

:FINALEA_31206
goto @FINALEA_31446

:FINALEA_31213
$lookcamx_fb = 0
Camera.SetDarknessEffect(False, -1)
Game.SetInfraredVision(False)
Hud.ClearCounter($lookcamx_fb)
Player.SetControl($statbike_temp, False)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
World.ClearArea($x, $y, 100.0, 100.0, True)
if 
  not Char.IsDead(71@)
goto_if_false @FINALEA_31297
Task.Die(71@)

:FINALEA_31297
if 
  not Char.IsDead(72@)
goto_if_false @FINALEA_31318
Task.Die(72@)

:FINALEA_31318
if 
  not Char.IsDead(73@)
goto_if_false @FINALEA_31339
Task.Die(73@)

:FINALEA_31339
if 
  not Char.IsDead(74@)
goto_if_false @FINALEA_31360
Task.Die(74@)

:FINALEA_31360
if 
  not Char.IsDead(75@)
goto_if_false @FINALEA_31381
Task.Die(75@)

:FINALEA_31381
TIMERA = 0
TIMERB = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
195@ = 2
Camera.DoFade(2500, Fade.Out)

:FINALEA_31415
if 
  Camera.GetFadingStatus
goto_if_false @FINALEA_31439
wait 0
goto @FINALEA_31415

:FINALEA_31439
goto @FINALEA_32590

:FINALEA_31446
goto @FINALEA_1473

:FINALEA_31453
if 
  194@ == 0
goto_if_false @FINALEA_31493
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 125@)
set_lvar_text_label 123@s = 126@s
194@ = 1

:FINALEA_31493
return 

:FINALEA_31495
if 
  194@ == 1
goto_if_false @FINALEA_31549
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @FINALEA_31549
Text.PrintNow(123@s, 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
194@ = 2

:FINALEA_31549
if 
  194@ == 2
goto_if_false @FINALEA_31602
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @FINALEA_31602
193@ += 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
194@ = 0

:FINALEA_31602
return 

:FINALEA_31604
103@ = Sequence.Open()
Task.GoStraightToCoord(-1, 111@, 112@, 113@, MoveState.Run, -1)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(103@)
Char.PerformSequence(109@, 103@)
Sequence.Clear(103@)
return 

:FINALEA_31653
104@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(104@)
Char.PerformSequence(109@, 104@)
Sequence.Clear(104@)
return 

:FINALEA_31697
105@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(105@)
Char.PerformSequence(109@, 105@)
Sequence.Clear(105@)
return 

:FINALEA_31735
116@ = Sequence.Open()
Task.GoStraightToCoord(-1, 111@, 112@, 113@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 118@, 119@, 120@, MoveState.Run, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(116@)
Char.PerformSequence(109@, 116@)
Sequence.Clear(116@)
return 
106@ = Sequence.Open()
Task.PlayAnim(-1, "CROUCH_ROLL_R", "PED", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(106@)
Char.PerformSequence(109@, 106@)
Sequence.Clear(106@)
return 

:FINALEA_31890
107@ = Sequence.Open()
Task.PlayAnim(-1, "CROUCH_ROLL_L", "PED", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(107@)
Char.PerformSequence(109@, 107@)
Sequence.Clear(107@)
return 

:FINALEA_31973
108@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_R", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 117@)
Task.StayInSamePlace(-1, False)
Task.CharSlideToCoordAndPlayAnim(-1, 111@, 112@, 113@, 121@, -1.0, "SWT_WLLSHOOT_OUT_R", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(108@, True)
Sequence.Close(108@)
Char.PerformSequence(109@, 108@)
Sequence.Clear(108@)
return 

:FINALEA_32214
110@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_L", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 117@)
Task.StayInSamePlace(-1, False)
Task.CharSlideToCoordAndPlayAnim(-1, 111@, 112@, 113@, 121@, -1.0, "SWT_WLLSHOOT_OUT_R", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(110@, True)
Sequence.Close(110@)
Char.PerformSequence(109@, 110@)
Sequence.Clear(110@)
return 

:FINALEA_32455
122@ = Sequence.Open()
Task.GoStraightToCoord(-1, 111@, 112@, 113@, MoveState.Sprint, -1)
Task.StayInSamePlace(-1, True)
Task.Duck(-1, -1)
Sequence.Close(122@)
Char.PerformSequence(109@, 122@)
Sequence.Clear(122@)
return 

:FINALEA_32509
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Streaming.RemoveIplDiscreetly("CARTER")
Object.Delete($sf_crane1_base_LOD)
$sf_crane1_base_LOD = Object.CreateNoOffset(#IMY_SHASH_WALL, 2522.008, -1272.93, 35.609)
Object.DontRemove($sf_crane1_base_LOD)
Object.SetHealth($sf_crane1_base_LOD, 100)
Object.SetCollisionDamageEffect($sf_crane1_base_LOD, False)
Object.FreezePosition($sf_crane1_base_LOD, True)
return 

:FINALEA_32590
201@ = 1
$mansionX += 1
Player.ClearWantedLevel($statbike_temp)
Streaming.RequestIpl("CARTER")
return 

:FINALEA_32621
World.ClearAllScriptRoadblocks
World.DisableAllEntryExits(False)
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @FINALEA_32650
Car.SetIsConsideredByPlayer($sweet_carZ, True)

:FINALEA_32650
Blip.Remove(128@)
Blip.Remove(129@)
Blip.Remove(130@)
Blip.Remove(131@)
Blip.Remove(132@)
Pickup.Remove(133@)
Pickup.Remove(134@)
Pickup.Remove(135@)
Pickup.Remove(136@)
Pickup.Remove(137@)
Pickup.Remove(138@)
Pickup.Remove(139@)
Pickup.Remove(140@)
Pickup.Remove(141@)
Pickup.Remove(142@)
Pickup.Remove(143@)
Hud.ClearCounter($lookcamx_fb)
Particle.Kill(102@)
Object.Delete(96@)
Object.Delete(97@)
Object.Delete(98@)
Object.Delete(99@)
Object.Delete(100@)
Object.Delete(101@)
Streaming.MarkModelAsNoLongerNeeded(601)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.UnloadSpecialCharacter(1)
Streaming.MarkModelAsNoLongerNeeded(481)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.RemoveAnimation("CRACK")
Streaming.MarkModelAsNoLongerNeeded(103)
Streaming.MarkModelAsNoLongerNeeded(108)
Streaming.MarkModelAsNoLongerNeeded(285)
Streaming.RemoveAnimation("SWAT")
Streaming.MarkModelAsNoLongerNeeded(#IMCOMPMOVEDR1_LAS)
Streaming.RemoveCarRecording(287)
Streaming.MarkModelAsNoLongerNeeded(144)
Streaming.MarkModelAsNoLongerNeeded(146)
Streaming.MarkModelAsNoLongerNeeded(173)
Streaming.MarkModelAsNoLongerNeeded(356)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(#BARREL4)
Streaming.MarkModelAsNoLongerNeeded(104)
Streaming.MarkModelAsNoLongerNeeded(111)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(12)
Streaming.RemoveAnimation("STRIP")
Streaming.MarkModelAsNoLongerNeeded(256)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(369)
Streaming.UnloadSpecialCharacter(2)
Game.SwitchEmergencyServices(True)
Game.SetWantedMultiplier(1.0)
Game.SetMaxWantedLevel(6)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Path.SwitchRoadsOn(2356.4, -1233.16, 30.6, 2382.19, -1329.65, 21.49)
Path.SwitchPedRoadsOn(2356.4, -1233.16, 30.6, 2382.19, -1329.65, 21.49)
Path.SwitchRoadsOn(2522.74, -1260.01, 30.28, 2499.0, -1322.01, 31.76)
Path.SwitchPedRoadsOn(2522.74, -1260.01, 30.28, 2499.0, -1322.01, 31.76)
Path.SwitchRoadsOn(2431.9, -1268.06, 30.6, 2474.9, -1240.38, 20.84)
Path.SwitchPedRoadsOn(2431.9, -1268.06, 30.6, 2474.9, -1240.38, 20.84)
World.RemoveAllScriptFires
$flag_courier_mission_passed = Clock.GetGameTimer()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @FINALEA_33182
Player.SetGroupRecruitment($statbike_temp, True)

:FINALEA_33182
if 
  not Car.IsDead(57@)
goto_if_false @FINALEA_33220
Car.SetOnlyDamagedByPlayer(57@, False)
Car.SetProofs(57@, False, False, False, False, False)

:FINALEA_33220
if 
  not Car.IsDead($sweet_carZ)
goto_if_false @FINALEA_33251
Car.SetProofs($sweet_carZ, False, False, False, False, False)

:FINALEA_33251
$weapon_shop1_blip = 0
Mission.Finish
if 
  201@ == 1
goto_if_false @FINALEA_33284
Camera.DoFade(0, Fade.Out)

:FINALEA_33284
return 

//-------------Mission 111---------------
// Originally: End Of The Line (2)

:FINALEB
gosub @FINALEB_36
if 
  has_deatharrest_been_executed 
goto_if_false @FINALEB_27
gosub @FINALEB_18415

:FINALEB_27
gosub @FINALEB_18556
terminate_this_script 

:FINALEB_36
$weapon_shop1_blip = 1
script_name 'FINALEB'
wait 0
Text.LoadMissionText('RIOT4')
97@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
98@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Game.SetMaxWantedLevel(0)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.SetFadingColor(0, 0, 0)
Streaming.SetAreaVisible(2)
Cutscene.Load('RIOT_4D')

:FINALEB_121
if 
  not Cutscene.HasLoaded
goto_if_false @FINALEB_145
wait 0
goto @FINALEB_121

:FINALEB_145
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:FINALEB_154
if 
  not Cutscene.HasFinished
goto_if_false @FINALEB_178
wait 0
goto @FINALEB_154

:FINALEB_178
Cutscene.Clear
Camera.DoFade(0, Fade.Out)

:FINALEB_186
if 
  Camera.GetFadingStatus
goto_if_false @FINALEB_210
wait 0
goto @FINALEB_186

:FINALEB_210
Streaming.RequestModel(102)
Streaming.RequestModel(104)
Streaming.RequestModel(109)
Streaming.RequestModel(368)
Streaming.RequestModel(349)
Streaming.RequestModel(352)
Streaming.RequestModel(356)
Streaming.RequestAnimation("SWAT")
Streaming.RequestModel(366)
Streaming.LoadSpecialCharacter(1, 'SMOKEV')
Streaming.LoadSpecialCharacter(2, 'TENPEN')
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33304)
Streaming.LoadAllModelsNow

:FINALEB_292
if or
  not Streaming.HasSpecialCharacterLoaded(1)
  not Streaming.HasSpecialCharacterLoaded(2)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @FINALEB_326
wait 0
goto @FINALEB_292

:FINALEB_326
if or
  not Streaming.HasModelLoaded(102)
  not Streaming.HasModelLoaded(104)
  not Streaming.HasModelLoaded(109)
  not Streaming.HasModelLoaded(368)
goto_if_false @FINALEB_365
wait 0
goto @FINALEB_326

:FINALEB_365
if or
  not Streaming.HasModelLoaded(349)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(356)
  not Streaming.HasAnimationLoaded("SWAT")
  not Streaming.HasModelLoaded(366)
goto_if_false @FINALEB_415
wait 0
goto @FINALEB_365

:FINALEB_415
132@ = 0
133@ = 0
134@ = 0
135@ = 0
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0
143@ = 0
144@ = 0
145@ = 0
146@ = 0
147@ = 0
148@ = 0
149@ = 0
150@ = 0
151@ = 0
152@ = 0
153@ = 0
154@ = 0
155@ = 0
$igripbardisplay_fc = 420000
156@ = 0
171@ = 0
172@ = 0
173@ = 0
174@ = 0
175@ = 0
176@ = 0
177@ = 0
178@ = 0
179@ = 0
180@ = 0
181@ = 0
182@ = 0
183@ = 0
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Game.SetMaxFireGenerations(0)
Game.SetWantedMultiplier(0.0)
Game.SwitchEmergencyServices(False)

:FINALEB_720
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @FINALEB_746
goto @FINALEB_18535

:FINALEB_746
if 
  9 > 132@
goto_if_false @FINALEB_999
if 
  154@ == 0
goto_if_false @FINALEB_950
if 
  0 >= $igripbardisplay_fc
goto_if_false @FINALEB_950
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
Fx.AddExplosion($x, $y, $z, ExplosionType.Grenade)
$x += 0.0
$y -= 0.5
$z += 0.7
Fx.AddExplosion($x, $y, $z, ExplosionType.Rocket)
$x -= 1.0
$y += 2.0
Fx.AddExplosion($x, $y, $z, ExplosionType.Car)
$x += 1.5
$y += 2.0
Fx.AddExplosion($x, $y, $z, ExplosionType.Grenade)
TIMERB = 0
154@ = 1

:FINALEB_950
if 
  154@ == 1
goto_if_false @FINALEB_999
if 
  TIMERB > 3000
goto_if_false @FINALEB_999
Task.Die($stattreadstamina_ctr)
154@ = 2

:FINALEB_999
if 
  132@ == 0
goto_if_false @FINALEB_1389
if 
  152@ == 0
goto_if_false @FINALEB_1389
$mc_strap = Char.Create(PedType.Special, 290, 2553.2, -1284.857, 1060.024)
Char.SetHeading($mc_strap, 90.0)
Char.SetAreaVisible($mc_strap, 2)
Task.Die($mc_strap)
124@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2552.31, -1286.274, 1061.024)
131@ = Pickup.CreateWithAmmo(355, PickupType.Once, 60, 2552.36, -1283.15, 1061.02)
Char.SetCoordinates($stattreadstamina_ctr, 2553.734, -1285.256, 1060.024)
Char.SetHeading($stattreadstamina_ctr, 79.954)
Char.SetAreaVisible($stattreadstamina_ctr, 2)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(2550.604, -1294.586, 1044.802, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2551.601, -1294.649, 1044.762, SwitchType.JumpCut)
49@ = Char.Create(PedType.Special, 291, 2556.988, -1297.499, 1043.13)
Char.SetHeading(49@, 27.2743)
Char.SetDecisionMaker(49@, 97@)
Char.GiveWeapon(49@, WeaponType.Shotgun, 99999)
Streaming.LoadScene(2552.29, -1294.24, 1044.84)
World.ClearArea(2552.38, -1294.06, 1044.84, 100.0, False)
Streaming.LoadScene(2552.29, -1294.24, 1044.84)
Clock.SetTimeOfDay(0, 0)
Camera.DoFade(500, Fade.In)

:FINALEB_1358
if 
  Camera.GetFadingStatus
goto_if_false @FINALEB_1382
wait 0
goto @FINALEB_1358

:FINALEB_1382
152@ = 1

:FINALEB_1389
if 
  152@ == 1
goto_if_false @FINALEB_2209
if 
  not Char.IsDead(49@)
goto_if_false @FINALEB_2209
Task.ShootAtCoord(49@, 2552.29, -1294.24, 1044.84, 1000)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @FINALEB_1481
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('ROT4_ZC', 3500, 1)

:FINALEB_1481
wait 500
61@ = ScriptFire.Start(2552.38, -1294.06, 1044.84, 0, 1)
skip_cutscene_start_internal @FINALEB_2227
wait 200
62@ = ScriptFire.Start(2553.33, -1293.89, 1044.87, 0, 2)
wait 300
if 
  not Char.IsDead(49@)
goto_if_false @FINALEB_1591
Task.GoStraightToCoord(49@, 25566.84, -1297.272, 1043.17, MoveState.Walk, -1)

:FINALEB_1591
wait 2500
Camera.SetFixedPosition(2565.816, -1296.732, 1044.403, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2564.824, -1296.613, 1044.444, SwitchType.JumpCut)
Text.PrintNow('RM4_38', 10000, 1)
wait 3250
Fx.AddExplosionVariableShake(2553.19, -1293.58, 1044.29, 4, 0.4)
wait 200
Fx.AddExplosionVariableShake(2558.53, -1293.88, 1044.58, 0, 0.3)
wait 500
Fx.AddExplosionVariableShake(2552.78, -1293.24, 1045.32, 0, 0.4)
Camera.SetDarknessEffect(False, 175)
wait 100
Fx.AddExplosionVariableShake(2557.6, -1294.57, 1043.49, 2, 0.5)
wait 500
Fx.AddExplosionVariableShake(2555.86, -1293.27, 1043.91, 2, 0.6)
wait 50
Fx.AddExplosionVariableShake(2558.73, -1293.4, 1044.36, 4, 0.6)
wait 50
Clock.SetTimeOfDay(0, 0)
Weather.SetHeathazeEffect(True)
Camera.SetDarknessEffect(True, 100)
77@ = ScriptFire.Start(2567.77, -1294.03, 1045.5, 0, 3)
68@ = ScriptFire.Start(2541.687, -1289.68, 1043.0, 1, 1)
83@ = ScriptFire.Start(2559.45, -1303.65, 1044.0, 0, 2)
85@ = ScriptFire.Start(2564.72, -1296.06, 1042.91, 0, 2)
75@ = ScriptFire.Start(2570.115, -1301.434, 1043.8, 0, 2)
wait 250
Camera.SetDarknessEffect(False, 120)
81@ = ScriptFire.Start(2559.37, -1284.76, 1044.1, 0, 2)
wait 500
Camera.SetDarknessEffect(True, 140)
70@ = ScriptFire.Start(2538.751, -1291.7, 1044.17, 0, 2)
73@ = ScriptFire.Start(2541.56, -1292.35, 1044.1, 0, 3)
88@ = ScriptFire.Start(2551.47, -1297.2, 1044.17, 0, 2)
89@ = ScriptFire.Start(2551.425, -1298.4, 1044.1, 0, 2)
wait 400
Camera.SetDarknessEffect(False, 150)
wait 500
94@ = ScriptFire.Start(2551.33, -1295.311, 1043.8, 0, 3)
91@ = ScriptFire.Start(2541.36, -1300.36, 1044.1, 0, 2)
Camera.SetDarknessEffect(True, 180)
wait 3000
152@ = 2

:FINALEB_2209
if 
  152@ == 2
goto_if_false @FINALEB_2587

:FINALEB_2227
skip_cutscene_end 
Text.ClearThisPrint('ROT4_ZC')
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Char.Delete(49@)
Weather.SetHeathazeEffect(False)
Camera.SetDarknessEffect(True, 200)
Clock.SetTimeOfDay(0, 0)
Player.SetMood($statbike_temp, 7, 360000)
World.RemoveAllScriptFires
125@ = Pickup.Create(#HEALTH, PickupType.Once, 2524.0, -1283.0, 1048.337)
120@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2527.783, -1288.816, 1031.43)
121@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2580.953, -1285.117, 1044.173)
122@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2520.4, -1281.287, 1054.681)
126@ = Pickup.Create(#HEALTH, PickupType.Once, 2552.298, -1306.06, 1054.681)
127@ = Pickup.Create(#HEALTH, PickupType.Once, 2570.839, -1285.818, 1037.821)
123@ = Pickup.Create(#BODYARMOUR, PickupType.Once, 2552.475, -1280.687, 1054.686)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.NightVision, 1)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.NightVision)
Streaming.MarkModelAsNoLongerNeeded(368)
Text.PrintNow('RM4_33', 10000, 1)
Hud.DisplayTimerWithString($igripbardisplay_fc, TimerDirection.Down, 'RM4_34')
Hud.SetTimerBeepCountdownTime($igripbardisplay_fc, 32)
118@ = Blip.AddForCoord(2577.82, -1284.6, 1053.99)
Blip.SetEntryExit(118@, 2540.83, -1304.05, 1.0)
TIMERA = 0
132@ = 1
152@ = 3

:FINALEB_2587
if 
  3 > 132@
goto_if_false @FINALEB_2662
if 
  155@ == 0
goto_if_false @FINALEB_2662
if 
  TIMERA > 7000
goto_if_false @FINALEB_2662
Text.ClearPrints
Text.PrintHelp('RM4_32')
155@ = 1

:FINALEB_2662
if 
  4 > 132@
goto_if_false @FINALEB_2737
if 
  155@ == 2
goto_if_false @FINALEB_2737
if 
  TIMERA > 8000
goto_if_false @FINALEB_2737
Text.ClearPrints
Text.PrintHelp('RM4_40')
155@ = 3

:FINALEB_2737
if 
  132@ == 1
goto_if_false @FINALEB_3721
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2578.21, -1284.87, 1053.95, 5.0, 5.0, 5.0, False)
goto_if_false @FINALEB_3721
Blip.Remove(118@)
118@ = Blip.AddForCoord(2521.89, -1301.98, 1047.54)
Blip.SetEntryExit(118@, 2540.83, -1304.05, 1.0)
Text.ClearPrints
34@ = Char.Create(PedType.Mission1, 109, 2574.5, -1296.029, 1054.687)
Char.SetHeading(34@, 4.7018)
Char.SetDecisionMaker(34@, 97@)
Char.GiveWeapon(34@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(34@, 2)
Char.SetAreaVisible(34@, 2)
Char.SetAccuracy(34@, 20)
Char.SetHealth(34@, 150)
Char.SetMaxHealth(34@, 150)
137@ = 1
Task.KillCharOnFoot(34@, $stattreadstamina_ctr)
35@ = Char.Create(PedType.Mission1, 104, 2553.764, -1294.536, 1053.647)
Char.SetHeading(35@, 266.9614)
Char.SetDecisionMaker(35@, 97@)
Char.GiveWeapon(35@, WeaponType.Shotgun, 99999)
Char.SetAreaVisible(35@, 2)
138@ = 0
if 
  138@ == 0
goto_if_false @FINALEB_3128
if 
  not Char.IsDead(35@)
goto_if_false @FINALEB_3128
set_lvar_int_to_lvar_int 104@ = 35@
106@ = 2553.764
107@ = -1294.536
108@ = 1053.647
112@ = 2700
116@ = 270.0
gosub @FINALEB_17933
138@ = 1

:FINALEB_3128
36@ = Char.Create(PedType.Mission1, 102, 2575.266, -1296.4, 1054.687)
Char.SetHeading(36@, 89.298)
Char.SetDecisionMaker(36@, 97@)
Char.GiveWeapon(36@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(36@, 2)
Char.SetHealth(36@, 150)
Char.SetMaxHealth(36@, 150)
Char.SetAreaVisible(36@, 2)
if 
  139@ == 0
goto_if_false @FINALEB_3298
if 
  not Char.IsDead(36@)
goto_if_false @FINALEB_3298
set_lvar_int_to_lvar_int 104@ = 36@
106@ = 2556.31
107@ = -1297.219
108@ = 1053.641
gosub @FINALEB_17641
139@ = 1

:FINALEB_3298
37@ = Char.Create(PedType.Mission1, 104, 2547.426, -1306.462, 1054.681)
Char.SetHeading(37@, 359.0)
Char.SetDecisionMaker(37@, 97@)
Char.GiveWeapon(37@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(37@, 2)
Char.SetAreaVisible(37@, 2)
140@ = 0
if 
  140@ == 0
goto_if_false @FINALEB_3429
if 
  not Char.IsDead(37@)
goto_if_false @FINALEB_3429
set_lvar_int_to_lvar_int 104@ = 37@
gosub @FINALEB_17696
140@ = 1

:FINALEB_3429
38@ = Char.Create(PedType.Mission1, 109, 2534.045, -1304.857, 1053.641)
Char.SetHeading(38@, 273.9959)
Char.SetDecisionMaker(38@, 97@)
Char.GiveWeapon(38@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(38@, 2)
Char.SetAreaVisible(38@, 2)
Char.SetHealth(38@, 150)
Char.SetMaxHealth(38@, 150)
141@ = 0
if 
  141@ == 0
goto_if_false @FINALEB_3576
if 
  not Char.IsDead(38@)
goto_if_false @FINALEB_3576
set_lvar_int_to_lvar_int 104@ = 38@
gosub @FINALEB_17696
141@ = 1

:FINALEB_3576
39@ = Char.Create(PedType.Mission1, 102, 2540.192, -1287.667, 1053.647)
Char.SetHeading(39@, 165.9748)
Char.SetDecisionMaker(39@, 97@)
Char.GiveWeapon(39@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(39@, 2)
Char.SetAreaVisible(39@, 2)
Char.SetAllowedToDuck(39@, False)
142@ = 0
if 
  142@ == 0
goto_if_false @FINALEB_3714
if 
  not Char.IsDead(39@)
goto_if_false @FINALEB_3714
set_lvar_int_to_lvar_int 104@ = 39@
gosub @FINALEB_17740
142@ = 1

:FINALEB_3714
132@ = 2

:FINALEB_3721
if 
  132@ == 2
goto_if_false @FINALEB_4586
if 
  137@ == 1
goto_if_false @FINALEB_3785
if 
  Char.IsDead(34@)
goto_if_false @FINALEB_3785
Char.MarkAsNoLongerNeeded(34@)
137@ = 2

:FINALEB_3785
if 
  138@ == 1
goto_if_false @FINALEB_3913
if 
  not Char.IsDead(35@)
goto_if_false @FINALEB_3913
if or
  Char.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(35@, $stattreadstamina_ctr, 5.0, 5.0, 3.0, False)
goto_if_false @FINALEB_3913
if 
  not Char.IsDead(35@)
goto_if_false @FINALEB_3901
Task.KillCharOnFoot(35@, $stattreadstamina_ctr)
138@ = 2
goto @FINALEB_3913

:FINALEB_3901
Char.MarkAsNoLongerNeeded(35@)
138@ = 2

:FINALEB_3913
if or
  138@ == 1
  138@ == 2
goto_if_false @FINALEB_3966
if 
  Char.IsDead(35@)
goto_if_false @FINALEB_3966
Char.MarkAsNoLongerNeeded(35@)
138@ = 3

:FINALEB_3966
if 
  139@ == 1
goto_if_false @FINALEB_4012
if 
  Char.IsDead(36@)
goto_if_false @FINALEB_4012
Char.MarkAsNoLongerNeeded(36@)
139@ = 2

:FINALEB_4012
if 
  140@ == 1
goto_if_false @FINALEB_4058
if 
  Char.IsDead(37@)
goto_if_false @FINALEB_4058
Char.MarkAsNoLongerNeeded(37@)
140@ = 2

:FINALEB_4058
if 
  141@ == 1
goto_if_false @FINALEB_4104
if 
  Char.IsDead(38@)
goto_if_false @FINALEB_4104
Char.MarkAsNoLongerNeeded(38@)
141@ = 2

:FINALEB_4104
if 
  142@ == 1
goto_if_false @FINALEB_4150
if 
  Char.IsDead(39@)
goto_if_false @FINALEB_4150
Char.MarkAsNoLongerNeeded(39@)
142@ = 2

:FINALEB_4150
if 
  143@ == 0
goto_if_false @FINALEB_4299
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2543.46, -1304.9, 1054.68, 5.0, 5.0, 5.0, False)
goto_if_false @FINALEB_4299
40@ = Char.Create(PedType.Mission1, 102, 2532.4, -1286.7, 1053.68)
Char.SetHeading(40@, 230.835)
Char.SetDecisionMaker(40@, 97@)
Char.GiveWeapon(40@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(40@, 2)
Char.SetAreaVisible(40@, 2)
Task.KillCharOnFoot(40@, $stattreadstamina_ctr)
143@ = 1

:FINALEB_4299
if 
  143@ == 1
goto_if_false @FINALEB_4345
if 
  Char.IsDead(40@)
goto_if_false @FINALEB_4345
Char.MarkAsNoLongerNeeded(40@)
143@ = 2

:FINALEB_4345
if 
  144@ == 0
goto_if_false @FINALEB_4540
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2519.93, -1285.547, 1054.673, 5.0, 5.0, 5.0, False)
goto_if_false @FINALEB_4540
41@ = Char.Create(PedType.Mission1, 102, 2519.93, -1285.54, 1054.673)
Char.SetHeading(41@, 200.537)
Char.SetDecisionMaker(41@, 97@)
Char.GiveWeapon(41@, WeaponType.MicroUzi, 99999)
Char.SetAreaVisible(41@, 2)
Char.SetHealth(41@, 150)
Char.SetMaxHealth(41@, 150)
set_lvar_int_to_lvar_int 104@ = 41@
106@ = 2520.05
107@ = -1301.518
108@ = 1048.33
gosub @FINALEB_17641
144@ = 1

:FINALEB_4540
if 
  144@ == 1
goto_if_false @FINALEB_4586
if 
  Char.IsDead(41@)
goto_if_false @FINALEB_4586
Char.MarkAsNoLongerNeeded(41@)
144@ = 2

:FINALEB_4586
if 
  132@ == 2
goto_if_false @FINALEB_7337
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2521.9, -1301.86, 1047.5, 6.0, 6.0, 3.0, False)
goto_if_false @FINALEB_7337
Text.PrintNow('RM4_35', 7000, 1)
TIMERA = 0
155@ = 2
Char.Delete(34@)
Char.Delete(35@)
Char.Delete(36@)
Char.Delete(37@)
Char.Delete(38@)
Char.Delete(39@)
Blip.Remove(118@)
118@ = Blip.AddForCoord(2572.08, -1301.88, 1043.32)
Blip.SetEntryExit(118@, 2540.83, -1304.05, 1.0)
Weather.SetHeathazeEffect(True)
Char.Delete($mc_strap)
Streaming.UnloadSpecialCharacter(2)
51@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 0.0, 0.0, 2.2, 1)
52@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 0.0, 2.0, 2.0, 1)
53@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 0.0, -2.0, 2.0, 1)
54@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 1.0, 5.0, 1.7, 1)
55@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, -1.0, 8.0, 2.0, 1)
56@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 2.0, 0.0, 1.7, 1)
57@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, -2.0, 0.0, 1.7, 1)
58@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, -2.0, 2.0, 1.7, 1)
59@ = Particle.CreateOnChar("TEARGAS", $stattreadstamina_ctr, 2.0, 2.0, 1.7, 1)
60@ = 0

:FINALEB_5083
if 
  9 > 60@
goto_if_false @FINALEB_5124
Particle.Play(51@(60@,9i))
60@ += 1
goto @FINALEB_5083

:FINALEB_5124
61@ = ScriptFire.Start(2529.62, -1306.62, 1048.0, 0, 2)
62@ = ScriptFire.Start(2529.497, -1304.791, 1048.0, 0, 2)
63@ = ScriptFire.Start(2530.12, -1296.96, 1047.8, 0, 3)
64@ = ScriptFire.Start(2529.49, -1287.93, 1048.0, 0, 3)
64@ = ScriptFire.Start(2543.98, -1305.709, 1047.445, 0, 3)
65@ = ScriptFire.Start(2544.54, -1304.47, 1047.55, 0, 3)
90@ = ScriptFire.Start(2543.94, -1306.83, 1047.62, 0, 3)
66@ = ScriptFire.Start(2545.139, -1281.497, 1047.5, 0, 2)
77@ = ScriptFire.Start(2567.77, -1294.03, 1047.5, 0, 3)
78@ = ScriptFire.Start(2570.2, -1294.4, 1047.5, 0, 3)
75@ = ScriptFire.Start(2568.72, -1294.32, 1047.5, 0, 2)
67@ = ScriptFire.Start(2540.247, -1288.566, 1044.0, 0, 3)
68@ = ScriptFire.Start(2541.687, -1289.68, 1044.0, 1, 1)
69@ = ScriptFire.Start(2540.214, -1290.218, 1044.0, 0, 2)
70@ = ScriptFire.Start(2538.751, -1291.7, 1044.17, 0, 2)
71@ = ScriptFire.Start(2537.339, -1286.56, 1044.1, 1, 3)
73@ = ScriptFire.Start(2541.56, -1292.35, 1044.1, 0, 3)
80@ = ScriptFire.Start(2570.77, -1303.14, 1043.35, 0, 2)
81@ = ScriptFire.Start(2559.37, -1284.76, 1044.1, 0, 2)
82@ = ScriptFire.Start(2551.4, -1301.3, 1044.0, 0, 2)
83@ = ScriptFire.Start(2570.52, -1301.42, 1043.47, 0, 2)
84@ = ScriptFire.Start(2550.94, -1301.81, 1044.0, 0, 3)
85@ = ScriptFire.Start(2537.69, -1301.34, 1044.0, 0, 2)
86@ = ScriptFire.Start(2536.42, -1302.01, 1044.0, 0, 2)
87@ = ScriptFire.Start(2536.82, -1290.5, 1044.0, 0, 2)
88@ = ScriptFire.Start(2551.47, -1297.2, 1044.17, 0, 2)
89@ = ScriptFire.Start(2570.54, -1301.22, 1043.36, 0, 3)
94@ = ScriptFire.Start(2551.33, -1295.311, 1043.8, 0, 3)
91@ = ScriptFire.Start(2541.36, -1300.36, 1044.1, 0, 2)
92@ = ScriptFire.Start(2545.328, -1300.739, 1044.1, 0, 2)
93@ = ScriptFire.Start(2548.77, -1300.375, 1044.04, 0, 3)
76@ = ScriptFire.Start(2544.16, -1306.56, 1043.8, 0, 2)
72@ = ScriptFire.Start(2570.43, -1302.43, 1043.4, 0, 1)
74@ = ScriptFire.Start(2549.05, -1287.54, 1043.8, 0, 3)
95@ = ScriptFire.Start(2570.482, -1302.438, 1043.8, 0, 2)
96@ = ScriptFire.Start(2565.705, -1298.03, 1043.7, 0, 3)
79@ = ScriptFire.Start(2565.528, -1289.17, 1043.7, 0, 3)
129@ = Pickup.CreateWithAmmo(366, PickupType.Once, 99999, 2529.829, -1303.027, 1048.337)
119@ = Blip.AddForPickup(129@)
Blip.SetEntryExit(119@, 2540.83, -1304.05, 1.0)
130@ = Pickup.CreateWithAmmo(366, PickupType.Once, 99999, 2567.948, -1292.879, 1044.173)
42@ = Char.Create(PedType.Mission1, 104, 2528.539, -1289.935, 1048.336)
Char.SetHeading(42@, 359.0)
Char.SetHealth(42@, 10)
Char.SetDecisionMaker(42@, 98@)
Char.GiveWeapon(42@, WeaponType.Extinguisher, 99999)
Char.SetShootRate(42@, 20)
Char.SetAreaVisible(42@, 2)
Char.SetHealth(42@, 5)
Char.SetMaxHealth(42@, 5)
Char.SetAccuracy(42@, 20)
145@ = 1
Task.ShootAtCoord(42@, 2529.49, -1287.93, 1048.0, 650000)
43@ = Char.Create(PedType.Mission1, 109, 2538.274, -1293.322, 1043.133)
Char.SetHeading(43@, 351.1779)
Char.SetHealth(43@, 5)
Char.SetDecisionMaker(43@, 98@)
Char.GiveWeapon(43@, WeaponType.Extinguisher, 99999)
Char.SetShootRate(43@, 20)
Char.SetAreaVisible(43@, 2)
Char.SetAccuracy(43@, 20)
146@ = 1
Task.ShootAtCoord(43@, 2538.569, -1291.48, 1043.604, 650000)
44@ = Char.Create(PedType.Mission1, 102, 2539.534, -1297.778, 1043.13)
Char.SetHeading(44@, 43.6277)
Char.SetDecisionMaker(44@, 97@)
Char.GiveWeapon(44@, WeaponType.M4, 99999)
Char.SetAreaVisible(44@, 2)
Char.SetAccuracy(44@, 20)
147@ = 0
if 
  147@ == 0
goto_if_false @FINALEB_6473
if 
  not Char.IsDead(44@)
goto_if_false @FINALEB_6473
set_lvar_int_to_lvar_int 104@ = 44@
gosub @FINALEB_17740
147@ = 1

:FINALEB_6473
45@ = Char.Create(PedType.Mission1, 102, 2548.245, -1294.142, 1043.13)
Char.SetHeading(45@, 105.3104)
Char.SetDecisionMaker(45@, 97@)
Char.GiveWeapon(45@, WeaponType.M4, 99999)
Char.SetAreaVisible(45@, 2)
Char.SetHealth(45@, 150)
Char.SetMaxHealth(45@, 150)
148@ = 0
if 
  148@ == 0
goto_if_false @FINALEB_6613
if 
  not Char.IsDead(45@)
goto_if_false @FINALEB_6613
set_lvar_int_to_lvar_int 104@ = 45@
gosub @FINALEB_17696
148@ = 1

:FINALEB_6613
46@ = Char.Create(PedType.Mission1, 104, 2558.452, -1289.522, 1043.133)
Char.SetHeading(46@, 91.8235)
Char.SetDecisionMaker(46@, 97@)
Char.GiveWeapon(46@, WeaponType.M4, 99999)
Char.SetAreaVisible(46@, 2)
Char.SetAccuracy(46@, 20)
149@ = 0
if 
  149@ == 0
goto_if_false @FINALEB_6744
if 
  not Char.IsDead(46@)
goto_if_false @FINALEB_6744
set_lvar_int_to_lvar_int 104@ = 46@
gosub @FINALEB_17740
149@ = 1

:FINALEB_6744
47@ = Char.Create(PedType.Mission1, 102, 2565.722, -1293.133, 1044.07)
Char.SetHeading(47@, 85.0916)
Char.SetDecisionMaker(47@, 97@)
Char.GiveWeapon(47@, WeaponType.M4, 99999)
Char.SetAreaVisible(47@, 2)
Char.SetHealth(47@, 150)
Char.SetMaxHealth(47@, 150)
150@ = 0
if 
  150@ == 0
goto_if_false @FINALEB_6884
if 
  not Char.IsDead(47@)
goto_if_false @FINALEB_6884
set_lvar_int_to_lvar_int 104@ = 47@
gosub @FINALEB_17696
150@ = 1

:FINALEB_6884
48@ = Char.Create(PedType.Mission1, 104, 2557.144, -1297.805, 1043.13)
Char.SetHeading(48@, 65.8333)
Char.SetDecisionMaker(48@, 97@)
Char.GiveWeapon(48@, WeaponType.M4, 99999)
Char.SetAreaVisible(48@, 2)
151@ = 0
if 
  151@ == 0
goto_if_false @FINALEB_7008
if 
  not Char.IsDead(48@)
goto_if_false @FINALEB_7008
set_lvar_int_to_lvar_int 104@ = 48@
gosub @FINALEB_17740
151@ = 1

:FINALEB_7008
if 
  145@ == 1
goto_if_false @FINALEB_7054
if 
  Char.IsDead(42@)
goto_if_false @FINALEB_7054
Char.MarkAsNoLongerNeeded(42@)
145@ = 2

:FINALEB_7054
if 
  146@ == 1
goto_if_false @FINALEB_7100
if 
  Char.IsDead(43@)
goto_if_false @FINALEB_7100
Char.MarkAsNoLongerNeeded(43@)
146@ = 2

:FINALEB_7100
if 
  147@ == 1
goto_if_false @FINALEB_7146
if 
  Char.IsDead(44@)
goto_if_false @FINALEB_7146
Char.MarkAsNoLongerNeeded(44@)
147@ = 2

:FINALEB_7146
if 
  148@ == 1
goto_if_false @FINALEB_7192
if 
  Char.IsDead(45@)
goto_if_false @FINALEB_7192
Char.MarkAsNoLongerNeeded(45@)
148@ = 2

:FINALEB_7192
if 
  149@ == 1
goto_if_false @FINALEB_7238
if 
  Char.IsDead(46@)
goto_if_false @FINALEB_7238
Char.MarkAsNoLongerNeeded(46@)
149@ = 2

:FINALEB_7238
if 
  150@ == 1
goto_if_false @FINALEB_7284
if 
  Char.IsDead(47@)
goto_if_false @FINALEB_7284
Char.MarkAsNoLongerNeeded(47@)
150@ = 2

:FINALEB_7284
if 
  151@ == 1
goto_if_false @FINALEB_7330
if 
  Char.IsDead(48@)
goto_if_false @FINALEB_7330
Char.MarkAsNoLongerNeeded(48@)
151@ = 2

:FINALEB_7330
132@ = 3

:FINALEB_7337
if 
  132@ == 3
goto_if_false @FINALEB_8944
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2571.39, -1308.59, 1041.4, 2584.08, -1272.85, 1047.02, False)
goto_if_false @FINALEB_8944
Streaming.MarkModelAsNoLongerNeeded(349)
Blip.Remove(119@)
Blip.Remove(118@)
118@ = Blip.AddForCoord(2565.56, -1301.7, 1030.97)
Blip.SetEntryExit(118@, 2540.83, -1304.05, 1.0)
Blip.Remove(119@)
World.RemoveAllScriptFires
Char.Delete(40@)
Char.Delete(41@)
Streaming.MarkModelAsNoLongerNeeded(366)
61@ = ScriptFire.Start(2575.774, -1283.055, 1042.133, 0, 3)
62@ = ScriptFire.Start(2581.744, -1297.517, 1039.02, 0, 1)
63@ = ScriptFire.Start(2570.414, -1300.047, 1036.781, 0, 3)
64@ = ScriptFire.Start(2568.78, -1299.987, 1036.781, 0, 3)
65@ = ScriptFire.Start(2577.247, -1294.814, 1034.048, 0, 1)
66@ = ScriptFire.Start(2566.833, -1282.489, 1030.43, 0, 3)
67@ = ScriptFire.Start(2567.984, -1284.974, 1030.43, 0, 2)
68@ = ScriptFire.Start(2572.402, -1304.581, 1030.43, 0, 2)
69@ = ScriptFire.Start(2570.79, -1305.299, 1030.43, 0, 1)
70@ = ScriptFire.Start(2556.55, -1301.88, 1029.82, 0, 3)
71@ = ScriptFire.Start(2556.83, -1303.91, 1029.42, 0, 2)
72@ = ScriptFire.Start(2556.01, -1305.31, 1029.82, 0, 3)
73@ = ScriptFire.Start(2553.16, -1297.94, 1029.42, 0, 2)
74@ = ScriptFire.Start(2552.43, -1297.31, 1029.82, 0, 2)
75@ = ScriptFire.Start(2552.15, -1294.97, 1029.42, 0, 3)
76@ = ScriptFire.Start(2547.77, -1285.41, 1029.82, 0, 3)
77@ = ScriptFire.Start(2547.4, -1284.33, 1029.42, 0, 1)
78@ = ScriptFire.Start(2547.77, -1282.32, 1029.82, 0, 3)
79@ = ScriptFire.Start(2545.93, -1292.47, 1029.42, 0, 3)
80@ = ScriptFire.Start(2545.48, -1290.81, 1029.82, 0, 1)
81@ = ScriptFire.Start(2544.11, -1292.71, 1029.42, 0, 2)
82@ = ScriptFire.Start(2539.75, -1299.17, 1029.82, 0, 1)
83@ = ScriptFire.Start(2539.25, -1297.76, 1029.42, 0, 2)
84@ = ScriptFire.Start(2540.58, -1280.24, 1036.78, 0, 2)
85@ = ScriptFire.Start(2540.4, -1281.22, 1036.78, 0, 1)
86@ = ScriptFire.Start(2529.85, -1294.27, 1036.8, 0, 2)
87@ = ScriptFire.Start(2545.85, -1307.04, 1036.78, 0, 2)
88@ = ScriptFire.Start(2547.47, -1306.59, 1036.78, 0, 1)
34@ = Char.Create(PedType.Mission1, 102, 2579.905, -1291.163, 1043.125)
Char.SetHeading(34@, 177.191)
Char.SetDecisionMaker(34@, 97@)
Char.GiveWeapon(34@, WeaponType.M4, 99999)
Char.SetAreaVisible(34@, 2)
137@ = 0
35@ = Char.Create(PedType.Mission1, 104, 2567.413, -1305.324, 1036.781)
Char.SetHeading(35@, 268.0134)
Char.SetDecisionMaker(35@, 97@)
Char.GiveWeapon(35@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(35@, 2)
Char.SetAreaVisible(35@, 2)
Char.SetHealth(35@, 150)
Char.SetMaxHealth(35@, 150)
138@ = 0
36@ = Char.Create(PedType.Mission1, 109, 2572.115, -1301.504, 1036.781)
Char.SetHeading(36@, 61.2775)
Char.SetDecisionMaker(36@, 97@)
Char.GiveWeapon(36@, WeaponType.Extinguisher, 99999)
Char.SetShootRate(36@, 20)
Char.SetAreaVisible(36@, 2)
Char.SetHealth(36@, 5)
Task.ShootAtCoord(36@, 2570.207, -1300.238, 1037.059, 650000)
139@ = 0
37@ = Char.Create(PedType.Mission1, 102, 2575.007, -1284.838, 1030.427)
Char.SetHeading(37@, 170.5391)
Char.SetDecisionMaker(37@, 97@)
Char.GiveWeapon(37@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(37@, 2)
Char.SetAreaVisible(37@, 2)
140@ = 0
if 
  140@ == 0
goto_if_false @FINALEB_8549
if 
  not Char.IsDead(37@)
goto_if_false @FINALEB_8549
set_lvar_int_to_lvar_int 104@ = 37@
gosub @FINALEB_17740
140@ = 1

:FINALEB_8549
38@ = Char.Create(PedType.Mission1, 104, 2568.075, -1293.628, 1030.43)
Char.SetHeading(38@, 356.7112)
Char.SetDecisionMaker(38@, 97@)
Char.GiveWeapon(38@, WeaponType.M4, 99999)
Char.SetAreaVisible(38@, 2)
Char.SetHealth(38@, 150)
Char.SetMaxHealth(38@, 150)
141@ = 0
if 
  141@ == 0
goto_if_false @FINALEB_8689
if 
  not Char.IsDead(38@)
goto_if_false @FINALEB_8689
set_lvar_int_to_lvar_int 104@ = 38@
gosub @FINALEB_17696
141@ = 1

:FINALEB_8689
39@ = Char.Create(PedType.Mission1, 109, 2570.626, -1297.5, 1030.427)
Char.SetHeading(39@, 3.5755)
Char.SetDecisionMaker(39@, 97@)
Char.GiveWeapon(39@, WeaponType.M4, 99999)
Char.SetAreaVisible(39@, 2)
142@ = 0
if 
  142@ == 0
goto_if_false @FINALEB_8813
if 
  not Char.IsDead(39@)
goto_if_false @FINALEB_8813
set_lvar_int_to_lvar_int 104@ = 39@
gosub @FINALEB_17696
142@ = 1

:FINALEB_8813
40@ = Char.Create(PedType.Mission1, 102, 2570.947, -1301.719, 1030.43)
Char.SetHeading(40@, 359.8018)
Char.SetDecisionMaker(40@, 97@)
Char.GiveWeapon(40@, WeaponType.M4, 99999)
Char.SetAreaVisible(40@, 2)
143@ = 0
if 
  143@ == 0
goto_if_false @FINALEB_8937
if 
  not Char.IsDead(40@)
goto_if_false @FINALEB_8937
set_lvar_int_to_lvar_int 104@ = 40@
gosub @FINALEB_17696
143@ = 1

:FINALEB_8937
132@ = 4

:FINALEB_8944
if 
  132@ == 4
goto_if_false @FINALEB_10784
if 
  137@ == 0
goto_if_false @FINALEB_9104
if 
  not Char.IsDead(34@)
goto_if_false @FINALEB_9104
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2577.6, -1289.91, 1043.77, 5.0, 5.0, 3.0, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
goto_if_false @FINALEB_9104
set_lvar_int_to_lvar_int 104@ = 34@
106@ = 2579.905
107@ = -1304.985
108@ = 1036.773
gosub @FINALEB_17641
137@ = 1

:FINALEB_9104
if 
  138@ == 0
goto_if_false @FINALEB_9209
if 
  not Char.IsDead(35@)
goto_if_false @FINALEB_9209
if or
  Char.IsInArea3D($stattreadstamina_ctr, 2577.88, -1309.87, 1036.2, 2563.87, -1289.87, 1042.68, False)
  Char.HasBeenDamagedByChar(35@, $stattreadstamina_ctr)
goto_if_false @FINALEB_9209
Task.KillCharOnFoot(35@, $stattreadstamina_ctr)
138@ = 1

:FINALEB_9209
if 
  143@ == 1
goto_if_false @FINALEB_9381
if 
  not Char.IsDead(40@)
goto_if_false @FINALEB_9381
if or
  Char.IsInArea3D($stattreadstamina_ctr, 2573.3, -1281.03, 1028.8, 2563.7, -1300.61, 1034.0, False)
  Char.HasBeenDamagedByChar(40@, $stattreadstamina_ctr)
goto_if_false @FINALEB_9381
set_lvar_int_to_lvar_int 104@ = 40@
106@ = 2570.947
107@ = -1301.719
108@ = 1030.43
113@ = 2558.722
114@ = -1301.829
115@ = 1030.43
gosub @FINALEB_17778
143@ = 2

:FINALEB_9381
if 
  137@ == 1
goto_if_false @FINALEB_9427
if 
  Char.IsDead(34@)
goto_if_false @FINALEB_9427
Char.MarkAsNoLongerNeeded(34@)
137@ = 2

:FINALEB_9427
if 
  138@ == 1
goto_if_false @FINALEB_9473
if 
  Char.IsDead(35@)
goto_if_false @FINALEB_9473
Char.MarkAsNoLongerNeeded(35@)
138@ = 2

:FINALEB_9473
if 
  139@ == 1
goto_if_false @FINALEB_9519
if 
  Char.IsDead(36@)
goto_if_false @FINALEB_9519
Char.MarkAsNoLongerNeeded(36@)
139@ = 2

:FINALEB_9519
if 
  140@ == 1
goto_if_false @FINALEB_9565
if 
  Char.IsDead(37@)
goto_if_false @FINALEB_9565
Char.MarkAsNoLongerNeeded(37@)
140@ = 2

:FINALEB_9565
if 
  141@ == 1
goto_if_false @FINALEB_9611
if 
  Char.IsDead(38@)
goto_if_false @FINALEB_9611
Char.MarkAsNoLongerNeeded(38@)
141@ = 2

:FINALEB_9611
if 
  142@ == 1
goto_if_false @FINALEB_9657
if 
  Char.IsDead(39@)
goto_if_false @FINALEB_9657
Char.MarkAsNoLongerNeeded(39@)
142@ = 2

:FINALEB_9657
if or
  143@ == 1
  143@ == 1
goto_if_false @FINALEB_9710
if 
  Char.IsDead(40@)
goto_if_false @FINALEB_9710
Char.MarkAsNoLongerNeeded(40@)
143@ = 2

:FINALEB_9710
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2565.94, -1301.96, 1030.77, 8.0, 8.0, 3.0, False)
goto_if_false @FINALEB_10784
Blip.Remove(118@)
118@ = Blip.AddForCoord(2528.78, -1293.94, 1030.86)
Blip.SetEntryExit(118@, 2540.83, -1304.05, 1.0)
Char.Delete(42@)
Char.Delete(43@)
Char.Delete(44@)
Char.Delete(45@)
Char.Delete(46@)
Char.Delete(47@)
Char.Delete(48@)
43@ = Char.Create(PedType.Mission1, 102, 2549.162, -1291.369, 1030.467)
Char.SetHeading(43@, 275.0)
Char.SetDecisionMaker(43@, 97@)
Char.GiveWeapon(43@, WeaponType.M4, 99999)
Char.SetAreaVisible(43@, 2)
Char.SetHealth(43@, 150)
Char.SetMaxHealth(43@, 150)
146@ = 0
if 
  146@ == 0
goto_if_false @FINALEB_9978
if 
  not Char.IsDead(43@)
goto_if_false @FINALEB_9978
set_lvar_int_to_lvar_int 104@ = 43@
gosub @FINALEB_17696
146@ = 1

:FINALEB_9978
44@ = Char.Create(PedType.Mission1, 104, 2534.88, -1292.009, 1031.469)
Char.SetHeading(44@, 275.0)
Char.SetDecisionMaker(44@, 97@)
Char.GiveWeapon(44@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(44@, 2)
Char.SetAreaVisible(44@, 2)
147@ = 0
if 
  147@ == 0
goto_if_false @FINALEB_10109
if 
  not Char.IsDead(44@)
goto_if_false @FINALEB_10109
set_lvar_int_to_lvar_int 104@ = 44@
gosub @FINALEB_17740
147@ = 1

:FINALEB_10109
45@ = Char.Create(PedType.Mission1, 104, 2554.033, -1287.08, 1030.43)
Char.SetHeading(45@, 270.0)
Char.SetDecisionMaker(45@, 97@)
Char.GiveWeapon(45@, WeaponType.M4, 99999)
Char.SetAreaVisible(45@, 2)
148@ = 0
if 
  148@ == 0
goto_if_false @FINALEB_10281
if 
  not Char.IsDead(45@)
goto_if_false @FINALEB_10281
set_lvar_int_to_lvar_int 104@ = 45@
106@ = 2554.033
107@ = -1287.08
108@ = 1030.43
112@ = 1200
116@ = 270.0
gosub @FINALEB_18174
148@ = 1

:FINALEB_10281
46@ = Char.Create(PedType.Mission1, 104, 2546.007, -1287.15, 1030.427)
Char.SetHeading(46@, 270.0)
Char.SetDecisionMaker(46@, 97@)
Char.GiveWeapon(46@, WeaponType.M4, 99999)
Char.SetAreaVisible(46@, 2)
149@ = 0
if 
  149@ == 0
goto_if_false @FINALEB_10453
if 
  not Char.IsDead(46@)
goto_if_false @FINALEB_10453
set_lvar_int_to_lvar_int 104@ = 46@
106@ = 2546.007
107@ = -1287.15
108@ = 1030.427
112@ = 2000
116@ = 270.0
gosub @FINALEB_18174
149@ = 1

:FINALEB_10453
47@ = Char.Create(PedType.Mission1, 109, 2530.397, -1291.381, 1036.781)
Char.SetHeading(47@, 278.2231)
Char.SetDecisionMaker(47@, 97@)
Char.GiveWeapon(47@, WeaponType.M4, 99999)
Char.SetAreaVisible(47@, 2)
150@ = 0
if 
  150@ == 0
goto_if_false @FINALEB_10577
if 
  not Char.IsDead(47@)
goto_if_false @FINALEB_10577
set_lvar_int_to_lvar_int 104@ = 47@
gosub @FINALEB_17740
150@ = 1

:FINALEB_10577
48@ = Char.Create(PedType.Mission1, 102, 2540.443, -1306.621, 1036.781)
Char.SetHeading(48@, 328.6817)
Char.SetDecisionMaker(48@, 97@)
Char.GiveWeapon(48@, WeaponType.M4, 99999)
Char.SetAreaVisible(48@, 2)
151@ = 0
if 
  151@ == 0
goto_if_false @FINALEB_10701
if 
  not Char.IsDead(48@)
goto_if_false @FINALEB_10701
set_lvar_int_to_lvar_int 104@ = 48@
gosub @FINALEB_17740
151@ = 1

:FINALEB_10701
42@ = Char.Create(PedType.Mission1, 109, 2535.111, -1304.992, 1030.43)
Char.SetHeading(42@, 328.6817)
Char.SetDecisionMaker(42@, 97@)
Char.GiveWeapon(42@, WeaponType.M4, 99999)
Char.SetAreaVisible(42@, 2)
Task.KillCharOnFoot(42@, $stattreadstamina_ctr)
145@ = 0
132@ = 5

:FINALEB_10784
if 
  132@ == 5
goto_if_false @FINALEB_12432
if 
  146@ == 1
goto_if_false @FINALEB_10915
if 
  not Char.IsDead(43@)
goto_if_false @FINALEB_10915
if or
  Char.IsInArea3D($stattreadstamina_ctr, 2553.85, -1308.35, 1028.6, 2540.27, -1275.04, 1033.2, False)
  Char.HasBeenDamagedByChar(43@, $stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, 43@)
goto_if_false @FINALEB_10915
Task.KillCharOnFoot(43@, $stattreadstamina_ctr)
146@ = 2

:FINALEB_10915
if 
  147@ == 1
goto_if_false @FINALEB_11028
if 
  not Char.IsDead(44@)
goto_if_false @FINALEB_11028
if or
  Char.IsInArea3D($stattreadstamina_ctr, 2542.24, -1308.67, 1028.09, 2527.86, -1276.9, 1033.19, False)
  Char.HasBeenDamagedByChar(44@, $stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, 44@)
goto_if_false @FINALEB_11028
Task.KillCharOnFoot(44@, $stattreadstamina_ctr)
147@ = 2

:FINALEB_11028
if or
  146@ == 1
  145@ == 2
goto_if_false @FINALEB_11081
if 
  Char.IsDead(43@)
goto_if_false @FINALEB_11081
Char.MarkAsNoLongerNeeded(43@)
146@ = 3

:FINALEB_11081
if or
  147@ == 1
  145@ == 2
goto_if_false @FINALEB_11134
if 
  Char.IsDead(44@)
goto_if_false @FINALEB_11134
Char.MarkAsNoLongerNeeded(44@)
147@ = 3

:FINALEB_11134
if 
  148@ == 1
goto_if_false @FINALEB_11262
if 
  not Char.IsDead(45@)
goto_if_false @FINALEB_11262
if or
  Char.HasBeenDamagedByChar(45@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(45@, $stattreadstamina_ctr, 5.0, 5.0, 3.0, False)
goto_if_false @FINALEB_11262
if 
  not Char.IsDead(45@)
goto_if_false @FINALEB_11250
Task.KillCharOnFoot(45@, $stattreadstamina_ctr)
148@ = 2
goto @FINALEB_11262

:FINALEB_11250
Char.MarkAsNoLongerNeeded(45@)
148@ = 2

:FINALEB_11262
if or
  148@ == 1
  148@ == 2
goto_if_false @FINALEB_11315
if 
  Char.IsDead(45@)
goto_if_false @FINALEB_11315
Char.MarkAsNoLongerNeeded(45@)
148@ = 3

:FINALEB_11315
if 
  149@ == 1
goto_if_false @FINALEB_11443
if 
  not Char.IsDead(46@)
goto_if_false @FINALEB_11443
if or
  Char.HasBeenDamagedByChar(46@, $stattreadstamina_ctr)
  Char.LocateAnyMeansChar3D(46@, $stattreadstamina_ctr, 5.0, 5.0, 3.0, False)
goto_if_false @FINALEB_11443
if 
  not Char.IsDead(46@)
goto_if_false @FINALEB_11431
Task.KillCharOnFoot(46@, $stattreadstamina_ctr)
149@ = 2
goto @FINALEB_11443

:FINALEB_11431
Char.MarkAsNoLongerNeeded(46@)
149@ = 2

:FINALEB_11443
if or
  149@ == 1
  149@ == 2
goto_if_false @FINALEB_11496
if 
  Char.IsDead(46@)
goto_if_false @FINALEB_11496
Char.MarkAsNoLongerNeeded(46@)
149@ = 3

:FINALEB_11496
if 
  150@ == 1
goto_if_false @FINALEB_11542
if 
  Char.IsDead(47@)
goto_if_false @FINALEB_11542
Char.MarkAsNoLongerNeeded(47@)
150@ = 2

:FINALEB_11542
if 
  151@ == 1
goto_if_false @FINALEB_11588
if 
  Char.IsDead(48@)
goto_if_false @FINALEB_11588
Char.MarkAsNoLongerNeeded(48@)
151@ = 2

:FINALEB_11588
if 
  145@ == 1
goto_if_false @FINALEB_11634
if 
  Char.IsDead(42@)
goto_if_false @FINALEB_11634
Char.MarkAsNoLongerNeeded(42@)
145@ = 2

:FINALEB_11634
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2528.53, -1293.96, 1030.86, 8.0, 8.0, 4.0, False)
goto_if_false @FINALEB_12432
Char.Delete(34@)
Char.Delete(35@)
Char.Delete(36@)
Char.Delete(37@)
Char.Delete(38@)
Char.Delete(39@)
Char.Delete(40@)
ScriptFire.Remove(61@)
ScriptFire.Remove(62@)
ScriptFire.Remove(63@)
ScriptFire.Remove(64@)
ScriptFire.Remove(65@)
ScriptFire.Remove(66@)
ScriptFire.Remove(67@)
ScriptFire.Remove(68@)
ScriptFire.Remove(69@)
ScriptFire.Remove(70@)
ScriptFire.Remove(71@)
ScriptFire.Remove(72@)
ScriptFire.Remove(73@)
ScriptFire.Remove(74@)
ScriptFire.Remove(76@)
ScriptFire.Remove(78@)
ScriptFire.Remove(82@)
ScriptFire.Remove(84@)
ScriptFire.Remove(85@)
ScriptFire.Remove(86@)
61@ = ScriptFire.Start(2523.92, -1299.21, 1030.78, 0, 3)
62@ = ScriptFire.Start(2523.66, -1297.4, 1030.8, 0, 1)
63@ = ScriptFire.Start(2528.97, -1304.32, 1030.77, 0, 2)
64@ = ScriptFire.Start(2525.5, -1321.59, 1030.75, 0, 2)
66@ = ScriptFire.Start(2541.0, -1311.02, 1028.09, 0, 2)
Pickup.Remove(130@)
130@ = Pickup.CreateWithAmmo(366, PickupType.Once, 99999, 2534.036, -1321.212, 1031.469)
67@ = ScriptFire.Start(2540.69, -1320.01, 1030.68, 0, 3)
68@ = ScriptFire.Start(2540.2, -1316.76, 1030.64, 0, 3)
69@ = ScriptFire.Start(2540.61, -1317.43, 1030.62, 0, 3)
70@ = ScriptFire.Start(2540.35, -1318.39, 1030.59, 0, 3)
71@ = ScriptFire.Start(2540.5, -1319.58, 1030.61, 0, 3)
Blip.Remove(118@)
118@ = Blip.AddForCoord(2540.92, -1304.14, 1024.39)
Blip.SetEntryExit(118@, 2540.83, -1304.05, 1.0)
34@ = Char.Create(PedType.Mission1, 102, 2527.368, -1319.587, 1030.43)
Char.SetHeading(34@, 1.4222)
Char.SetDecisionMaker(34@, 97@)
Char.GiveWeapon(34@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(34@, 2)
Char.SetAreaVisible(34@, 2)
Char.SetAccuracy(34@, 30)
137@ = 0
35@ = Char.Create(PedType.Mission1, 104, 2528.284, -1314.865, 1030.43)
Char.SetHeading(35@, 3.4628)
Char.SetDecisionMaker(35@, 97@)
Char.GiveWeapon(35@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(35@, 2)
Char.SetAreaVisible(35@, 2)
138@ = 0
if 
  138@ == 0
goto_if_false @FINALEB_12350
if 
  not Char.IsDead(35@)
goto_if_false @FINALEB_12350
set_lvar_int_to_lvar_int 104@ = 35@
gosub @FINALEB_17696
138@ = 1

:FINALEB_12350
36@ = Char.Create(PedType.Mission1, 109, 2524.055, -1309.533, 1030.43)
Char.SetHeading(36@, 7.001)
Char.SetDecisionMaker(36@, 97@)
Char.GiveWeapon(36@, WeaponType.MicroUzi, 99999)
Char.SetAreaVisible(36@, 2)
Char.SetAccuracy(36@, 30)
139@ = 0
132@ = 6

:FINALEB_12432
if 
  132@ == 6
goto_if_false @FINALEB_12842
if 
  137@ == 0
goto_if_false @FINALEB_12563
if 
  not Char.IsDead(34@)
goto_if_false @FINALEB_12563
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 2527.07, -1293.72, 1029.5, 3.0, 3.0, 3.5, False)
  Char.HasBeenDamagedByChar(34@, $stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, 34@)
goto_if_false @FINALEB_12563
Task.KillCharOnFoot(34@, $stattreadstamina_ctr)
137@ = 1

:FINALEB_12563
if 
  139@ == 0
goto_if_false @FINALEB_12671
if 
  not Char.IsDead(36@)
goto_if_false @FINALEB_12671
if or
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 36@, 7.0, 7.0, 3.5, False)
  Char.HasBeenDamagedByChar(36@, $stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, 36@)
goto_if_false @FINALEB_12671
set_lvar_int_to_lvar_int 104@ = 36@
gosub @FINALEB_17850
139@ = 1

:FINALEB_12671
if 
  137@ == 1
goto_if_false @FINALEB_12717
if 
  Char.IsDead(34@)
goto_if_false @FINALEB_12717
Char.MarkAsNoLongerNeeded(34@)
137@ = 2

:FINALEB_12717
if 
  138@ == 1
goto_if_false @FINALEB_12763
if 
  Char.IsDead(35@)
goto_if_false @FINALEB_12763
Char.MarkAsNoLongerNeeded(35@)
138@ = 2

:FINALEB_12763
if 
  139@ == 1
goto_if_false @FINALEB_12809
if 
  Char.IsDead(36@)
goto_if_false @FINALEB_12809
Char.MarkAsNoLongerNeeded(36@)
139@ = 2

:FINALEB_12809
50@ = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  50@ == 0
goto_if_false @FINALEB_12842
132@ = 7

:FINALEB_12842
if 
  132@ == 7
goto_if_false @FINALEB_14002
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
World.ClearArea(2506.218, -1293.093, 200.0, 200.0, False)
Streaming.RequestAnimation("DAM_JUMP")
Streaming.RequestAnimation("FINALE")
Streaming.LoadAllModelsNow

:FINALEB_12922
if or
  not Streaming.HasAnimationLoaded("DAM_JUMP")
  not Streaming.HasAnimationLoaded("FINALE")
goto_if_false @FINALEB_12966
wait 0
goto @FINALEB_12922

:FINALEB_12966
Blip.Remove(118@)
118@ = Blip.AddForCoord(2522.82, -1272.52, 34.151)
Char.SetCoordinates($stattreadstamina_ctr, 2538.657, -1304.358, 34.0)
Streaming.MarkModelAsNoLongerNeeded(104)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.RemoveAnimation("SWAT")
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(356)
Streaming.MarkModelAsNoLongerNeeded(366)
Char.Delete(37@)
Char.Delete(38@)
Char.Delete(39@)
Char.Delete(40@)
Char.Delete(41@)
Char.Delete(42@)
Char.Delete(43@)
Char.Delete(44@)
Char.Delete(45@)
Char.Delete(46@)
Char.Delete(47@)
Char.Delete(48@)
Pickup.Remove(129@)
Pickup.Remove(130@)
Pickup.Remove(125@)
Pickup.Remove(120@)
Pickup.Remove(121@)
Pickup.Remove(122@)
Pickup.Remove(126@)
Pickup.Remove(123@)
Char.MarkAsNoLongerNeeded(34@)
Char.MarkAsNoLongerNeeded(35@)
Char.MarkAsNoLongerNeeded(36@)
34@ = Char.Create(PedType.Mission1, 109, 2543.2, -1277.645, 33.9609)
Char.SetHeading(34@, 7.001)
Char.SetDecisionMaker(34@, 97@)
Char.GiveWeapon(34@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(34@, 2)
Task.KillCharOnFoot(34@, $stattreadstamina_ctr)
Char.SetAccuracy(34@, 10)
137@ = 1
35@ = Char.Create(PedType.Mission1, 102, 2536.917, -1283.446, 33.9609)
Char.SetHeading(35@, 7.001)
Char.SetDecisionMaker(35@, 97@)
Char.GiveWeapon(35@, WeaponType.M4, 99999)
Char.SetAccuracy(35@, 10)
138@ = 0
if 
  138@ == 0
goto_if_false @FINALEB_13378
if 
  not Char.IsDead(35@)
goto_if_false @FINALEB_13378
set_lvar_int_to_lvar_int 104@ = 35@
gosub @FINALEB_17740
138@ = 1

:FINALEB_13378
36@ = Char.Create(PedType.Mission1, 102, 2531.656, -1287.27, 33.9602)
Char.SetHeading(36@, 7.001)
Char.SetDecisionMaker(36@, 97@)
Char.GiveWeapon(36@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(36@, 2)
Char.SetAccuracy(36@, 10)
139@ = 0
if 
  139@ == 0
goto_if_false @FINALEB_13509
if 
  not Char.IsDead(36@)
goto_if_false @FINALEB_13509
set_lvar_int_to_lvar_int 104@ = 36@
gosub @FINALEB_17696
139@ = 1

:FINALEB_13509
37@ = Char.Create(PedType.Mission1, 109, 2539.569, -1268.471, 33.9609)
Char.SetHeading(37@, 2.21)
Char.SetDecisionMaker(37@, 97@)
Char.GiveWeapon(37@, WeaponType.M4, 99999)
Task.KillCharOnFoot(37@, $stattreadstamina_ctr)
Char.SetAccuracy(37@, 20)
140@ = 1
World.RemoveAllScriptFires
79@ = ScriptFire.Start(2538.45, -1281.4, 34.34, 0, 3)
61@ = ScriptFire.Start(2527.64, -1312.0, 33.9, 0, 2)
62@ = ScriptFire.Start(2527.58, -1303.3, 34.4, 0, 1)
63@ = ScriptFire.Start(2532.52, -1306.39, 33.9, 0, 2)
64@ = ScriptFire.Start(2528.08, -1284.9, 34.3, 0, 2)
65@ = ScriptFire.Start(2544.03, -1269.3, 34.2, 0, 1)
66@ = ScriptFire.Start(2536.26, -1302.49, 34.0, 0, 2)
67@ = ScriptFire.Start(2532.58, -1291.07, 34.0, 0, 1)
71@ = ScriptFire.Start(2528.64, -1269.64, 34.0, 0, 1)
72@ = ScriptFire.Start(2534.57, -1284.5, 34.04, 0, 1)
70@ = ScriptFire.Start(2531.99, -1268.71, 34.0, 0, 2)
69@ = ScriptFire.Start(2530.987, -1269.858, 33.8, 0, 3)
74@ = ScriptFire.Start(2532.39, -1270.4, 34.0, 0, 3)
75@ = ScriptFire.Start(2531.165, -1271.961, 34.0, 0, 2)
76@ = ScriptFire.Start(2532.529, -1272.169, 34.0, 0, 1)
77@ = ScriptFire.Start(2532.395, -1273.24, 34.0, 0, 2)
78@ = ScriptFire.Start(2531.94, -1274.46, 33.8, 0, 3)
132@ = 8

:FINALEB_14002
if 
  132@ == 8
goto_if_false @FINALEB_14316
if 
  137@ == 1
goto_if_false @FINALEB_14066
if 
  Char.IsDead(34@)
goto_if_false @FINALEB_14066
Char.MarkAsNoLongerNeeded(34@)
137@ = 2

:FINALEB_14066
if 
  138@ == 1
goto_if_false @FINALEB_14112
if 
  Char.IsDead(35@)
goto_if_false @FINALEB_14112
Char.MarkAsNoLongerNeeded(35@)
138@ = 2

:FINALEB_14112
if 
  139@ == 1
goto_if_false @FINALEB_14158
if 
  Char.IsDead(36@)
goto_if_false @FINALEB_14158
Char.MarkAsNoLongerNeeded(36@)
139@ = 2

:FINALEB_14158
if 
  140@ == 1
goto_if_false @FINALEB_14204
if 
  Char.IsDead(37@)
goto_if_false @FINALEB_14204
Char.MarkAsNoLongerNeeded(37@)
140@ = 2

:FINALEB_14204
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2545.59, -1278.26, 31.36, 2516.65, -1259.84, 37.0, False)
goto_if_false @FINALEB_14316
World.RemoveAllScriptFires
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
60@ = 0

:FINALEB_14268
if 
  9 > 60@
goto_if_false @FINALEB_14309
Particle.Kill(51@(60@,9i))
60@ += 1
goto @FINALEB_14268

:FINALEB_14309
132@ = 9

:FINALEB_14316
if 
  132@ == 9
goto_if_false @FINALEB_14945
Blip.Remove(118@)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.SetDarknessEffect(False, -1)
Game.SetNightVision(False)
Player.TakeOffGoggles($statbike_temp, False)
61@ = ScriptFire.Start(2532.62, -1272.65, 34.31, 0, 1)
62@ = ScriptFire.Start(2532.88, -1272.75, 34.12, 0, 2)
64@ = ScriptFire.Start(2527.9, -1272.5, 34.8, 0, 2)
65@ = ScriptFire.Start(2533.743, -1272.434, 34.0, 0, 3)
66@ = ScriptFire.Start(2533.743, -1272.434, 34.0, 0, 2)
70@ = ScriptFire.Start(2531.99, -1268.71, 34.0, 0, 2)
69@ = ScriptFire.Start(2530.987, -1269.858, 33.8, 0, 3)
74@ = ScriptFire.Start(2532.39, -1270.4, 34.0, 0, 1)
75@ = ScriptFire.Start(2531.165, -1271.961, 34.0, 0, 2)
76@ = ScriptFire.Start(2532.529, -1272.169, 34.0, 0, 1)
77@ = ScriptFire.Start(2532.395, -1273.24, 34.0, 0, 3)
73@ = ScriptFire.Start(2531.94, -1274.46, 33.8, 0, 1)
63@ = ScriptFire.Start(2532.433, -1275.658, 34.0, 0, 3)
Game.SetMaxFireGenerations(3)
$lookcamy_fb = 2526.989
$lookcamz_fb = -1272.577
$escapetimer_fb = 34.8419
$escapetimer_fc = 2527.988
$gripbar_fc = -1272.557
$fgripbardisplay_fc = 34.8799
Char.Delete(34@)
Char.Delete(35@)
Char.Delete(36@)
Char.Delete(37@)
Char.Delete(38@)
Char.SetCoordinates($stattreadstamina_ctr, 2538.45, -1281.4, 34.34)
Char.SetHeading($stattreadstamina_ctr, 270.0)
Camera.SetFixedPosition($lookcamy_fb, $lookcamz_fb, $escapetimer_fb, 0.0, 0.0, 0.0)
Camera.PointAtPoint($escapetimer_fc, $gripbar_fc, $fgripbardisplay_fc, SwitchType.JumpCut)
wait 2000
Char.SetCoordinates($stattreadstamina_ctr, 2533.743, -1272.434, 34.0)
Char.SetHeading($stattreadstamina_ctr, 90.0)
wait 500
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "JUMP_ROLL", "DAM_JUMP", 8.0, False, False, False, True, -1)
Clock.SetTimeOfDay(17, 0)
TIMERA = 0
Clock.SetTimeScale(0.3)
132@ = 10

:FINALEB_14945
if 
  132@ == 10
goto_if_false @FINALEB_16160
Camera.SetFixedPosition($lookcamy_fb, $lookcamz_fb, $escapetimer_fb, 0.0, 0.0, 0.0)
Camera.PointAtPoint($escapetimer_fc, $gripbar_fc, $fgripbardisplay_fc, SwitchType.JumpCut)
if 
  2512.28 >= $lookcamy_fb
goto_if_false @FINALEB_15044
TIMERA = 0
153@ = 12
132@ = 11

:FINALEB_15044
if 
  TIMERA > 500
goto_if_false @FINALEB_15073
sub_timed_val_from_float_var $lookcamy_fb -=@ 0.18

:FINALEB_15073
if 
  TIMERA > 0
goto_if_false @FINALEB_15140
if 
  153@ == 0
goto_if_false @FINALEB_15140
Fx.AddExplosionVariableShake(2538.4, -1278.4, 34.04, 4, 0.2)
153@ = 1

:FINALEB_15140
if 
  TIMERA > 100
goto_if_false @FINALEB_15183
if 
  153@ == 1
goto_if_false @FINALEB_15183
153@ = 2

:FINALEB_15183
if 
  TIMERA > 250
goto_if_false @FINALEB_15261
if 
  153@ == 2
goto_if_false @FINALEB_15261
Fx.AddExplosionVariableShake(2540.24, -1270.59, 34.07, 0, 0.2)
ScriptFire.Remove(64@)
ScriptFire.Remove(61@)
153@ = 3

:FINALEB_15261
if 
  TIMERA > 500
goto_if_false @FINALEB_15329
if 
  153@ == 3
goto_if_false @FINALEB_15329
Fx.AddExplosionVariableShake(2535.66, -1276.3, 34.34, 2, 0.2)
153@ = 4

:FINALEB_15329
if 
  TIMERA > 850
goto_if_false @FINALEB_15402
if 
  153@ == 4
goto_if_false @FINALEB_15402
Fx.AddExplosionVariableShake(2531.74, -1270.35, 34.39, 1, 0.2)
ScriptFire.Remove(64@)
153@ = 5

:FINALEB_15402
if 
  TIMERA > 1100
goto_if_false @FINALEB_15453
if 
  153@ == 5
goto_if_false @FINALEB_15453
Clock.SetTimeScale(0.35)
153@ = 6

:FINALEB_15453
if 
  TIMERA > 1298
goto_if_false @FINALEB_15533
if 
  153@ == 6
goto_if_false @FINALEB_15533
Clock.SetTimeScale(0.39)
Fx.AddExplosionVariableShake(2527.72, -1272.82, 34.26, 0, 0.2)
ScriptFire.Remove(65@)
153@ = 7

:FINALEB_15533
if 
  TIMERA > 1400
goto_if_false @FINALEB_15608
if 
  153@ == 7
goto_if_false @FINALEB_15608
Clock.SetTimeScale(0.42)
Fx.AddExplosionVariableShake(2529.54, -1270.12, 34.31, 2, 0.22)
153@ = 8

:FINALEB_15608
if 
  TIMERA > 1500
goto_if_false @FINALEB_15688
if 
  153@ == 8
goto_if_false @FINALEB_15688
Clock.SetTimeScale(0.44)
Fx.AddExplosionVariableShake(2524.15, -1272.31, 34.42, 4, 0.25)
ScriptFire.Remove(70@)
153@ = 9

:FINALEB_15688
if 
  TIMERA > 1600
goto_if_false @FINALEB_15808
if 
  153@ == 9
goto_if_false @FINALEB_15808
Clock.SetTimeScale(0.5)
Fx.AddExplosionVariableShake(2522.33, -1270.19, 34.19, 1, 0.3)
ScriptFire.Remove(61@)
ScriptFire.Remove(62@)
ScriptFire.Remove(65@)
ScriptFire.Remove(70@)
ScriptFire.Remove(69@)
ScriptFire.Remove(75@)
ScriptFire.Remove(76@)
ScriptFire.Remove(73@)
ScriptFire.Remove(63@)
153@ = 10

:FINALEB_15808
if 
  TIMERA > 1700
goto_if_false @FINALEB_16092
if 
  153@ == 10
goto_if_false @FINALEB_16092
Fx.AddExplosionVariableShake(2524.14, -1270.04, 34.19, 2, 0.25)
61@ = ScriptFire.Start(2523.17, -1269.18, 34.04, 0, 3)
62@ = ScriptFire.Start(2522.47, -1271.46, 34.15, 0, 2)
65@ = ScriptFire.Start(2523.68, -1272.35, 34.19, 0, 3)
70@ = ScriptFire.Start(2523.18, -1273.32, 34.06, 0, 2)
69@ = ScriptFire.Start(2522.8, -1274.45, 34.05, 0, 3)
75@ = ScriptFire.Start(2522.42, -1276.4, 34.05, 0, 2)
76@ = ScriptFire.Start(2520.32, -1273.41, 34.0, 0, 1)
73@ = ScriptFire.Start(2521.32, -1273.41, 34.0, 0, 1)
63@ = ScriptFire.Start(2520.93, -1269.28, 34.0, 0, 2)
153@ = 11

:FINALEB_16092
if 
  TIMERA > 1916
goto_if_false @FINALEB_16160
if 
  153@ == 11
goto_if_false @FINALEB_16160
Fx.AddExplosionVariableShake(2522.01, -1274.06, 34.2, 4, 0.2)
153@ = 12

:FINALEB_16160
if 
  132@ == 11
goto_if_false @FINALEB_17634
if 
  61.0 > $escapetimer_fb
goto_if_false @FINALEB_16229
add_timed_val_to_float_var $escapetimer_fb +=@ 0.1
sub_timed_val_from_float_var $lookcamy_fb -=@ 0.02
add_timed_val_to_float_var $fgripbardisplay_fc +=@ 0.008

:FINALEB_16229
Camera.SetFixedPosition($lookcamy_fb, $lookcamz_fb, $escapetimer_fb, 0.0, 0.0, 0.0)
Camera.PointAtPoint($escapetimer_fc, $gripbar_fc, $fgripbardisplay_fc, SwitchType.JumpCut)
if 
  153@ == 12
goto_if_false @FINALEB_16336
if 
  TIMERA > 1400
goto_if_false @FINALEB_16336
Fx.AddExplosionVariableShake(2521.46, -1268.02, 39.8, 0, 0.2)
153@ = 13

:FINALEB_16336
if 
  153@ == 13
goto_if_false @FINALEB_16404
if 
  TIMERA > 1670
goto_if_false @FINALEB_16404
Fx.AddExplosionVariableShake(2521.48, -1270.67, 40.32, 4, 0.25)
153@ = 14

:FINALEB_16404
if 
  153@ == 14
goto_if_false @FINALEB_16564
if 
  TIMERA > 1800
goto_if_false @FINALEB_16564
Fx.AddExplosionVariableShake(2521.32, -1275.86, 40.47, 2, 0.2)
ScriptFire.Remove(64@)
ScriptFire.Remove(66@)
ScriptFire.Remove(74@)
ScriptFire.Remove(69@)
64@ = ScriptFire.Start(2521.46, -1268.02, 39.8, 1, 2)
66@ = ScriptFire.Start(22521.48, -1270.67, 40.32, 1, 2)
74@ = ScriptFire.Start(2521.32, -1275.86, 40.47, 1, 1)
153@ = 15

:FINALEB_16564
if 
  153@ == 15
goto_if_false @FINALEB_16656
if 
  TIMERA > 1950
goto_if_false @FINALEB_16656
Fx.AddExplosionVariableShake(2521.42, -1273.18, 39.83, 2, 0.2)
Fx.AddExplosionVariableShake(2525.43, -1280.65, 40.28, 4, 0.2)
153@ = 16

:FINALEB_16656
if 
  153@ == 16
goto_if_false @FINALEB_16773
if 
  TIMERA > 2200
goto_if_false @FINALEB_16773
Fx.AddExplosionVariableShake(2521.27, -1270.64, 43.25, 2, 0.2)
ScriptFire.Remove(77@)
ScriptFire.Remove(63@)
ScriptFire.Remove(79@)
ScriptFire.Remove(78@)
ScriptFire.Remove(70@)
69@ = ScriptFire.Start(2525.43, -1280.65, 40.28, 1, 2)
153@ = 17

:FINALEB_16773
if 
  153@ == 17
goto_if_false @FINALEB_16889
if 
  TIMERA > 2568
goto_if_false @FINALEB_16889
Fx.AddExplosionVariableShake(2521.15, -1267.91, 43.37, 2, 0.2)
Fx.AddExplosionVariableShake(2525.89, -1281.0, 43.79, 4, 0.2)
70@ = ScriptFire.Start(2525.89, -1281.0, 43.79, 3, 3)
153@ = 18

:FINALEB_16889
if 
  153@ == 18
goto_if_false @FINALEB_17029
if 
  TIMERA > 3241
goto_if_false @FINALEB_17029
Fx.AddExplosionVariableShake(2520.86, -1273.39, 43.2, 0, 0.2)
77@ = ScriptFire.Start(2521.27, -1270.64, 43.25, 1, 3)
63@ = ScriptFire.Start(2521.15, -1267.91, 43.37, 2, 2)
79@ = ScriptFire.Start(2521.34, -1275.7, 43.26, 3, 1)
153@ = 19

:FINALEB_17029
if 
  153@ == 19
goto_if_false @FINALEB_17097
if 
  TIMERA > 3485
goto_if_false @FINALEB_17097
Fx.AddExplosionVariableShake(2521.34, -1275.7, 43.26, 4, 0.2)
153@ = 20

:FINALEB_17097
if 
  153@ == 20
goto_if_false @FINALEB_17165
if 
  TIMERA > 3708
goto_if_false @FINALEB_17165
Fx.AddExplosionVariableShake(2521.15, -1275.61, 47.83, 2, 0.2)
153@ = 21

:FINALEB_17165
if 
  153@ == 21
goto_if_false @FINALEB_17262
if 
  TIMERA > 4246
goto_if_false @FINALEB_17262
Fx.AddExplosionVariableShake(2521.04, -1272.97, 47.91, 0, 0.2)
ScriptFire.Remove(75@)
62@ = ScriptFire.Start(2525.88, -1279.99, 48.43, 3, 2)
153@ = 22

:FINALEB_17262
if 
  153@ == 22
goto_if_false @FINALEB_17364
if 
  TIMERA > 4708
goto_if_false @FINALEB_17364
Fx.AddExplosionVariableShake(2521.24, -1267.9, 48.15, 4, 0.2)
ScriptFire.Remove(61@)
ScriptFire.Remove(62@)
Fx.AddExplosionVariableShake(2525.88, -1279.99, 48.43, 2, 0.2)
153@ = 23

:FINALEB_17364
if 
  153@ == 23
goto_if_false @FINALEB_17504
if 
  TIMERA > 5000
goto_if_false @FINALEB_17504
Fx.AddExplosionVariableShake(2521.37, -1270.86, 48.35, 0, 0.2)
78@ = ScriptFire.Start(2521.15, -1275.61, 47.83, 3, 1)
61@ = ScriptFire.Start(2521.04, -1272.97, 47.91, 2, 2)
62@ = ScriptFire.Start(2521.24, -1267.9, 48.15, 3, 2)
153@ = 24

:FINALEB_17504
if 
  153@ == 24
goto_if_false @FINALEB_17634
if 
  TIMERA > 3000
goto_if_false @FINALEB_17634
Char.ClearTasksImmediately($stattreadstamina_ctr)
Hud.ClearTimer($igripbardisplay_fc)
Streaming.RemoveAnimation("DAM_JUMP")
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(356)
Streaming.MarkModelAsNoLongerNeeded(366)
Weather.SetHeathazeEffect(False)
Camera.DoFade(1000, Fade.Out)

:FINALEB_17589
if 
  Camera.GetFadingStatus
goto_if_false @FINALEB_17613
wait 0
goto @FINALEB_17589

:FINALEB_17613
goto @FINALEB_18535
132@ = 11
153@ = 25

:FINALEB_17634
goto @FINALEB_720

:FINALEB_17641
99@ = Sequence.Open()
Task.GoStraightToCoord(-1, 106@, 107@, 108@, MoveState.Run, -1)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(99@)
Char.PerformSequence(104@, 99@)
Sequence.Clear(99@)
return 

:FINALEB_17696
100@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(100@)
Char.PerformSequence(104@, 100@)
Sequence.Clear(100@)
return 

:FINALEB_17740
101@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(101@)
Char.PerformSequence(104@, 101@)
Sequence.Clear(101@)
return 

:FINALEB_17778
111@ = Sequence.Open()
Task.GoStraightToCoord(-1, 106@, 107@, 108@, MoveState.Run, -1)
Task.GoStraightToCoord(-1, 113@, 114@, 115@, MoveState.Run, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(111@)
Char.PerformSequence(104@, 111@)
Sequence.Clear(111@)
return 

:FINALEB_17850
102@ = Sequence.Open()
Task.PlayAnim(-1, "CROUCH_ROLL_R", "PED", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(102@)
Char.PerformSequence(104@, 102@)
Sequence.Clear(102@)
return 

:FINALEB_17933
103@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_R", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 112@)
Task.StayInSamePlace(-1, False)
Task.CharSlideToCoordAndPlayAnim(-1, 106@, 107@, 108@, 116@, -1.0, "SWT_WLLSHOOT_OUT_R", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_R_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(103@, True)
Sequence.Close(103@)
Char.PerformSequence(104@, 103@)
Sequence.Clear(103@)
return 

:FINALEB_18174
105@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L", "SWAT", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLSHOOT_IN_L", "SWAT", 8.0, False, True, True, False, -1)
Task.StayInSamePlace(-1, True)
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 112@)
Task.StayInSamePlace(-1, False)
Task.CharSlideToCoordAndPlayAnim(-1, 106@, 107@, 108@, 116@, -1.0, "SWT_WLLSHOOT_OUT_R", "SWAT", 8.0, False, True, True, False, -1)
Task.PlayAnimNonInterruptable(-1, "SWT_WLLPK_L_BACK", "SWAT", 8.0, False, False, False, False, -1)
Sequence.SetToRepeat(105@, True)
Sequence.Close(105@)
Char.PerformSequence(104@, 105@)
Sequence.Clear(105@)
return 

:FINALEB_18415
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  182@ == 1
goto_if_false @FINALEB_18465
Text.PrintNow('RM4_46', 5000, 1)

:FINALEB_18465
if 
  179@ == 7
goto_if_false @FINALEB_18499
Text.PrintNow('RM4_45', 7000, 1)

:FINALEB_18499
if 
  183@ == 1
goto_if_false @FINALEB_18533
Text.PrintNow('RM4_50', 5000, 1)

:FINALEB_18533
return 

:FINALEB_18535
156@ = 1
Player.ClearWantedLevel($statbike_temp)
$mansionX += 1
return 

:FINALEB_18556
Weather.SetHeathazeEffect(False)
Camera.SetDarknessEffect(False, -1)
World.RemoveAllScriptFires
Game.SetWantedMultiplier(1.0)
Game.SetMaxWantedLevel(6)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Hud.ClearTimer($igripbardisplay_fc)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(104)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(368)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(356)
Streaming.MarkModelAsNoLongerNeeded(366)
Char.RemoveElegantly($mc_strap)
Char.RemoveElegantly(49@)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.RemoveAnimation("SWAT")
Streaming.RemoveAnimation("DAM_JUMP")
Streaming.MarkModelAsNoLongerNeeded(544)
Streaming.MarkModelAsNoLongerNeeded(280)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(533)
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(344)
Streaming.MarkModelAsNoLongerNeeded(#LA_FUCKCAR1)
Streaming.MarkModelAsNoLongerNeeded(#LA_FUCKCAR2)
Streaming.RemoveAnimation("FINALE")
Streaming.RemoveAnimation("FINALE2")
Blip.Remove(118@)
Blip.Remove(119@)
Pickup.Remove(120@)
Pickup.Remove(121@)
Pickup.Remove(122@)
Pickup.Remove(123@)
Pickup.Remove(124@)
Pickup.Remove(125@)
Pickup.Remove(126@)
Pickup.Remove(127@)
Pickup.Remove(129@)
Pickup.Remove(130@)
Pickup.Remove(131@)
Game.SwitchEmergencyServices(True)
Game.SetWantedMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
60@ = 0

:FINALEB_18839
if 
  9 > 60@
goto_if_false @FINALEB_18880
Particle.Kill(51@(60@,9i))
60@ += 1
goto @FINALEB_18839

:FINALEB_18880
$weapon_shop1_blip = 0
Mission.Finish
if 
  156@ == 1
goto_if_false @FINALEB_18913
Camera.DoFade(0, Fade.Out)

:FINALEB_18913
return 

//-------------Mission 112---------------
// Originally: End Of The Line (3)

:FINALEC
gosub @FINALEC_36
if 
  has_deatharrest_been_executed 
goto_if_false @FINALEC_27
gosub @FINALEC_57329

:FINALEC_27
gosub @FINALEC_57525
terminate_this_script 

:FINALEC_36
$weapon_shop1_blip = 1
script_name 'FINALEC'
wait 0
Text.LoadMissionText('RIOT4')
97@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
128@ = 11
129@ = 0
130@ = 0
131@ = 0
132@ = 0
133@ = 0
134@ = 0
135@ = 0
136@ = 0
137@ = 0
138@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0
143@ = 0
144@ = 0
145@ = 0
146@ = 0
147@ = 0
148@ = 0
149@ = 0
150@ = 0
151@ = 0
$health_fc = 450000
190@ = 0
191@ = 0
192@ = 0
193@ = 0
194@ = 0
195@ = 0
196@ = 0
197@ = 0
198@ = 0
199@ = 0
200@ = 0
201@ = 0
202@ = 0
203@ = 0
204@ = 0
205@ = 0
$8018 = 0
$8019 = 0
$8020 = 0
249@ = 0
250@ = 0
251@ = 0
252@ = 0
253@ = 0
254@ = 0
255@ = 0
256@ = 0
257@ = 0
258@ = 0
259@ = 0
260@ = 0
261@ = 0
262@ = 0
263@ = 0
264@ = 0
265@ = 0
266@ = 0
267@ = 0
268@ = 0
269@ = 0
270@ = 0
206@ = 0
288@ = 0
289@ = 0
290@ = 0
291@ = 0
292@ = 0
293@ = 0
294@ = 0
295@ = 0
296@ = 0
297@ = 0
Game.SetMaxFireGenerations(0)
Game.SetWantedMultiplier(0.0)
Game.SwitchEmergencyServices(False)
Streaming.RequestModel(544)
Streaming.RequestModel(280)
Streaming.RequestModel(492)
Streaming.RequestModel(533)
Streaming.RequestModel(109)
Streaming.RequestModel(102)
Streaming.RequestModel(352)
Streaming.RequestModel(344)
Streaming.RequestModel(#LA_FUCKCAR1)
Streaming.RequestModel(#LA_FUCKCAR2)
Streaming.RequestAnimation("FINALE")
Streaming.RequestAnimation("FINALE2")
Streaming.RequestCarRecording(288)
Streaming.RequestCarRecording(289)
Streaming.LoadSpecialCharacter(1, 'SWEET')
Streaming.LoadSpecialCharacter(2, 'TENPEN')
Streaming.RequestCarRecording(290)
Streaming.RequestCarRecording(291)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 33227)
Streaming.LoadAllModelsNow

:FINALEC_759
if or
  not Streaming.HasModelLoaded(544)
  not Streaming.HasModelLoaded(280)
  not Streaming.HasModelLoaded(492)
  not Streaming.HasModelLoaded(533)
  not Streaming.HasModelLoaded(109)
goto_if_false @FINALEC_805
wait 0
goto @FINALEC_759

:FINALEC_805
if or
  not Streaming.HasModelLoaded(102)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(344)
  not Streaming.HasModelLoaded(#LA_FUCKCAR1)
  not Streaming.HasModelLoaded(#LA_FUCKCAR2)
goto_if_false @FINALEC_851
wait 0
goto @FINALEC_805

:FINALEC_851
if or
Streaming.RequestAnimation("FINALE")
Streaming.RequestAnimation("FINALE2")
  not Streaming.HasCarRecordingBeenLoaded(288)
  not Streaming.HasCarRecordingBeenLoaded(289)
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @FINALEC_908
wait 0
goto @FINALEC_851

:FINALEC_908
if or
  not Streaming.HasCarRecordingBeenLoaded(290)
  not Streaming.HasCarRecordingBeenLoaded(291)
goto_if_false @FINALEC_940
wait 0
goto @FINALEC_908

:FINALEC_940
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Char.SetCoordinates($stattreadstamina_ctr, 2515.771, -1277.474, 33.728)
Char.SetHeading($stattreadstamina_ctr, 144.159)
Task.PlayAnim($stattreadstamina_ctr, "KO_SKID_BACK", "PED", 1000.0, False, False, False, True, -1)
wait 250
152@ = Car.Create(544, 2508.649, -1295.866, 33.92)
Car.SetHeading(152@, 0.3186)
Car.ControlMovablePart(152@, 0.7)
Car.SetProofs(152@, True, True, True, True, True)
Car.SetCanBeVisiblyDamaged(152@, False)
$sweet_carZ = Car.Create(492, 2508.941, -1306.517, 33.92)
Car.SetHeading($sweet_carZ, 165.3186)
Car.ChangeColor($sweet_carZ, 59, 34)
Car.CustomPlateForNextCar(533, "_IMY_AK")
153@ = Car.Create(533, 2515.895, -1269.408, 33.7844)
Car.SetHeading(153@, 359.2572)
Car.SetProofs(153@, True, True, True, True, True)
Car.SetHealth(153@, 2000)
Car.SetCanBurstTires(153@, False)
Car.SetCanBeVisiblyDamaged(153@, False)
Car.ChangeColor(153@, 1, 8)
49@ = Char.Create(PedType.Special, 291, 2506.218, -1293.093, 33.8438)
Char.SetHeading(49@, 271.9809)
Char.SetProofs(49@, True, True, True, True, True)
Char.SetDecisionMaker(49@, 97@)
158@ = Char.CreateAsPassenger(152@, PedType.Mission1, 280, 0)
Char.SetProofs(158@, True, True, True, True, True)
Char.SetDecisionMaker(158@, 97@)
$big_smoke_car = Char.Create(PedType.Special, 290, 0.0, 0.0, 0.0)
Char.SetProofs($big_smoke_car, True, True, True, True, True)
Char.SetHeading($big_smoke_car, 0.3186)
Char.SetDecisionMaker($big_smoke_car, 97@)
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_1427
Char.AttachToCar($big_smoke_car, 152@, 0.0, -8.227, -1000.156, 0, 0.0, WeaponType.Unarmed)

:FINALEC_1427
World.SetPedDensityMultiplier(0.0)
World.SetCarDensityMultiplier(0.0)
World.ClearArea(2506.218, -1293.093, 200.0, 200.0, False)
Game.SwitchRandomTrains(False)
World.DeleteAllTrains
Clock.SetTimeScale(1.0)
CarGenerator.SuppressCarModel(533)
CarGenerator.SuppressCarModel(544)
70@ = ScriptFire.Start(2521.392, -1269.343, 34.1609, 0, 3)
71@ = ScriptFire.Start(2521.701, -1270.293, 34.2031, 0, 2)
72@ = ScriptFire.Start(2523.58, -1271.225, 34.2918, 0, 3)
73@ = ScriptFire.Start(2518.576, -1284.467, 34.0265, 0, 2)
74@ = ScriptFire.Start(2521.6, -1270.885, 40.4338, 0, 3)
75@ = ScriptFire.Start(2521.662, -1267.656, 43.8955, 0, 2)
76@ = ScriptFire.Start(2521.674, -1275.707, 43.7437, 0, 3)
77@ = ScriptFire.Start(2521.506, -1275.781, 40.4019, 0, 2)
78@ = ScriptFire.Start(2522.68, -1280.397, 39.1158, 0, 3)
79@ = ScriptFire.Start(2521.676, -1279.352, 39.112, 0, 3)
80@ = ScriptFire.Start(2521.714, -1278.639, 37.4041, 0, 2)
Char.ShutUp($stattreadstamina_ctr, True)
World.SetRailtrackResistanceMult(0.3)
wait 500
Streaming.LoadSceneInDirection(2504.96, -1309.16, 34.44, 334.0)
Clock.SetTimeOfDay(17, 0)
Game.SetMaxWantedLevel(0)
Camera.DoFade(1000, Fade.In)
128@ = 11

:FINALEC_1817
wait 0
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @FINALEC_1843
goto @FINALEC_57451

:FINALEC_1843
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_3759
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_3759
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_3759
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_3759
if 
  128@ == 11
goto_if_false @FINALEC_2000
Camera.SetFixedPosition(2502.792, -1296.28, 35.3797, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2503.378, -1295.469, 35.3873, SwitchType.JumpCut)
Task.EnterCarAsDriver(49@, 152@, -1)
TIMERA = 0
128@ = 12

:FINALEC_2000
if 
  128@ == 12
goto_if_false @FINALEC_2082
if 
  TIMERA > 1750
goto_if_false @FINALEC_2082
Task.PlayAnim($stattreadstamina_ctr, "GETUP_FRONT", "PED", 8.0, False, False, False, False, -1)
128@ = 13

:FINALEC_2082
if 
  128@ == 13
goto_if_false @FINALEC_2188
if 
  Char.IsSittingInCar(49@, 152@)
goto_if_false @FINALEC_2188
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_JUMP_ON", "FINALE", 1000.0, False, False, False, True, -1)
Car.LockDoors(152@, CarLock.Locked)
190@ = 1
TIMERA = 0
128@ = 14

:FINALEC_2188
if 
  128@ == 14
goto_if_false @FINALEC_2264
Camera.SetFixedPosition(2515.445, -1299.71, 36.5622, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2514.667, -1300.31, 36.4758, SwitchType.JumpCut)
128@ = 15

:FINALEC_2264
if 
  128@ == 15
goto_if_false @FINALEC_2399
if 
  TIMERA > 1400
goto_if_false @FINALEC_2399
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetNearClip(0.1)
Camera.SetVectorTrack(2514.667, -1300.31, 36.4758, 2514.946, -1282.265, 35.6876, 4000, False)
Camera.SetVectorMove(2515.445, -1299.71, 36.5622, 2515.482, -1282.265, 35.713, 4000, False)
128@ = 16

:FINALEC_2399
if 
  128@ == 16
goto_if_false @FINALEC_2471
if 
  TIMERA > 2220
goto_if_false @FINALEC_2471
Car.StartPlayback(152@, 288)
Char.SetCoordinates($stattreadstamina_ctr, 2513.49, -1277.77, 34.19)
128@ = 17

:FINALEC_2471
if 
  128@ == 17
goto_if_false @FINALEC_2593
if 
  not Camera.IsVectorTrackRunning
goto_if_false @FINALEC_2593
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(2515.482, -1282.265, 35.713, 2515.482, -1283.1, 35.713, 4000, False)
Camera.SetVectorTrack(2514.946, -1282.265, 35.6876, 2515.719, -1282.136, 35.6959, 4000, False)
128@ = 18

:FINALEC_2593
if 
  128@ == 18
goto_if_false @FINALEC_2663
if 
  Car.IsPlaybackGoingOn(152@)
goto_if_false @FINALEC_2663
if 
  TIMERA > 4999
goto_if_false @FINALEC_2663
Car.SetPlaybackSpeed(152@, 0.75)
128@ = 19

:FINALEC_2663
if 
  128@ == 19
goto_if_false @FINALEC_2717
if 
  TIMERA > 6000
goto_if_false @FINALEC_2717
Task.EnterCarAsDriver($stattreadstamina_ctr, 153@, -1)
128@ = 20

:FINALEC_2717
if 
  128@ == 20
goto_if_false @FINALEC_3284
if 
  TIMERA > 10500
goto_if_false @FINALEC_3284
if 
  Char.IsInCar($stattreadstamina_ctr, 153@)
goto_if_false @FINALEC_3284
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
151@ = 1
Text.ClearPrints
Text.PrintNow('RM4_41', 8000, 1)
Text.Print('RM4_42', 5000, 1)
World.SetPedDensityMultiplier(0.2)
Car.MarkAsNoLongerNeeded($sweet_carZ)
Streaming.MarkModelAsNoLongerNeeded(492)
167@ = Object.Create(#LA_FUCKCAR2, 2597.36, -1044.735, 69.196)
Object.SetDynamic(167@, True)
Object.SetHeading(167@, 0.0)
Object.SetRotation(167@, 0.0, 180.0, 0.0)
168@ = Object.Create(#LA_FUCKCAR1, 2598.7, -1050.94, 69.23)
Object.SetHeading(168@, 180.0)
Object.SetDynamic(168@, True)
44@ = Char.Create(PedType.Mission1, 109, 2600.99, -1050.01, 69.04)
Char.SetHeading(44@, 274.892)
Char.SetDecisionMaker(44@, 97@)
Char.GiveWeapon(44@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(44@, True)
set_lvar_int_to_lvar_int 102@ = 44@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
45@ = Char.Create(PedType.Mission1, 109, 2597.21, -1040.14, 69.48)
Char.SetHeading(45@, 274.892)
Char.SetDecisionMaker(45@, 97@)
Char.GiveWeapon(45@, WeaponType.MicroUzi, 99999)
Char.SetWeaponSkill(45@, 2)
Char.SetOnlyDamagedByPlayer(45@, True)
set_lvar_int_to_lvar_int 102@ = 45@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
46@ = Char.Create(PedType.Mission1, 109, 2604.991, -1038.172, 69.619)
Char.SetHeading(46@, 274.892)
Char.SetDecisionMaker(46@, 97@)
Char.GiveWeapon(46@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(46@, True)
set_lvar_int_to_lvar_int 102@ = 46@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
61@ = ScriptFire.Start(2598.54, -1044.53, 68.5, 0, 3)
62@ = ScriptFire.Start(2600.99, -1050.01, 69.04, 0, 3)
63@ = ScriptFire.Start(2599.88, -1052.4, 68.06, 0, 3)
128@ = 21

:FINALEC_3284
if 
  128@ == 21
goto_if_false @FINALEC_3376
Car.StopPlayback(152@)
Car.StartPlayback(152@, 289)
115@ = Blip.AddForChar($big_smoke_car)
Blip.SetAsFriendly(115@, True)
Blip.ChangeDisplay(115@, BlipDisplay.BlipOnly)
TIMERA = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
203@ = 0
204@ = 0
191@ = 1
128@ = 22

:FINALEC_3376
if 
  190@ == 1
goto_if_false @FINALEC_3515
if 
  Char.IsPlayingAnim($big_smoke_car, "FIN_JUMP_ON")
goto_if_false @FINALEC_3515
164@ = Char.GetAnimCurrentTime($big_smoke_car, "FIN_JUMP_ON")
if 
  164@ == 1.0
goto_if_false @FINALEC_3515
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_LOOP", "FINALE", 4.0, False, False, False, True, -1)
190@ = 2

:FINALEC_3515
if 
  128@ > 13
goto_if_false @FINALEC_3759
if 
  151@ == 0
goto_if_false @FINALEC_3759
gosub @FINALEC_57063
if 
  203@ == 0
goto_if_false @FINALEC_3625
if 
  204@ == 0
goto_if_false @FINALEC_3625
set_lvar_int_to_constant 187@ = 33227
set_lvar_text_label 188@s = 'ROT4_HA'
gosub @FINALEC_57021

:FINALEC_3625
if 
  203@ == 1
goto_if_false @FINALEC_3692
if 
  204@ == 0
goto_if_false @FINALEC_3692
set_lvar_int_to_constant 187@ = 33228
set_lvar_text_label 188@s = 'ROT4_HB'
gosub @FINALEC_57021

:FINALEC_3692
if 
  203@ == 2
goto_if_false @FINALEC_3759
if 
  204@ == 0
goto_if_false @FINALEC_3759
set_lvar_int_to_constant 187@ = 33216
set_lvar_text_label 188@s = 'ROT4_DB'
gosub @FINALEC_57021

:FINALEC_3759
if or
  191@ == 1
  191@ == 2
goto_if_false @FINALEC_3814
if 
  Car.IsDead(153@)
goto_if_false @FINALEC_3814
201@ = 1
goto @FINALEC_57329

:FINALEC_3814
if 
  191@ == 1
goto_if_false @FINALEC_13366
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_13366
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_13366
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_13366
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_13366
if 
  not Char.LocateAnyMeansCar2D($big_smoke_car, 153@, 125.0, 125.0, False)
goto_if_false @FINALEC_3973
if 
  not Char.IsOnScreen($big_smoke_car)
goto_if_false @FINALEC_3973
202@ = 1
goto @FINALEC_57329
Text.PrintNow('RM4_50', 5000, 1)

:FINALEC_3973
if 
  200@ == 0
goto_if_false @FINALEC_4053
if 
  not Char.IsSittingInCar($stattreadstamina_ctr, 153@)
goto_if_false @FINALEC_4053
Blip.Remove(115@)
115@ = Blip.AddForCar(153@)
Blip.SetAsFriendly(115@, True)
Text.PrintNow('RM4_48', 5000, 1)
200@ = 1

:FINALEC_4053
if 
  200@ == 1
goto_if_false @FINALEC_4165
if 
  Char.IsSittingInCar($stattreadstamina_ctr, 153@)
goto_if_false @FINALEC_4165
Blip.Remove(115@)
115@ = Blip.AddForChar($big_smoke_car)
Blip.SetAsFriendly(115@, True)
Blip.ChangeDisplay(115@, BlipDisplay.BlipOnly)
if 
  198@ > 0
goto_if_false @FINALEC_4142
Blip.ChangeDisplay(115@, BlipDisplay.Both)

:FINALEC_4142
Text.PrintNow('RM4_49', 5000, 1)
200@ = 0

:FINALEC_4165
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_4521
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_4521
if 
  Car.IsPlaybackGoingOn(152@)
goto_if_false @FINALEC_4521
switch_start 194@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @FINALEC_4521 {caseNum1} 0 {caseLabel1} @FINALEC_4276 {caseNum2} 1 {caseLabel2} @FINALEC_4411 {caseNum3} 2 {caseLabel3} @FINALEC_4466 {caseNum4} -1 {caseLabel4} @FINALEC_4521 {caseNum5} -1 {caseLabel5} @FINALEC_4521 {caseNum6} -1 {caseLabel6} @FINALEC_4521 {caseNum7} -1 {caseLabel7} @FINALEC_4521

:FINALEC_4276
if 
  not Char.LocateAnyMeansChar2D($big_smoke_car, $stattreadstamina_ctr, 60.0, 60.0, False)
goto_if_false @FINALEC_4331
Car.SetPlaybackSpeed(152@, 0.5)
194@ = 1
goto @FINALEC_4404

:FINALEC_4331
if 
  Char.LocateAnyMeansChar2D($big_smoke_car, $stattreadstamina_ctr, 15.0, 15.0, False)
goto_if_false @FINALEC_4404
if or
  193@ <> 5
  193@ <> 1
goto_if_false @FINALEC_4404
Car.SetPlaybackSpeed(152@, 1.3)
194@ = 2

:FINALEC_4404
goto @FINALEC_4521

:FINALEC_4411
if 
  Char.LocateAnyMeansChar2D($big_smoke_car, $stattreadstamina_ctr, 55.0, 55.0, False)
goto_if_false @FINALEC_4459
Car.SetPlaybackSpeed(152@, 1.0)
194@ = 0

:FINALEC_4459
goto @FINALEC_4521

:FINALEC_4466
if 
  not Char.LocateAnyMeansChar2D($big_smoke_car, $stattreadstamina_ctr, 20.0, 20.0, False)
goto_if_false @FINALEC_4514
Car.SetPlaybackSpeed(152@, 1.0)
194@ = 0

:FINALEC_4514
goto @FINALEC_4521

:FINALEC_4521
if 
  not Char.IsDead(158@)
goto_if_false @FINALEC_6629
if 
  196@ == 1
goto_if_false @FINALEC_4632
$x, $y, $z = Car.GetCoordinates(152@)
$z -= 15.0
Char.WarpFromCarToCoord(158@, $x, $y, $z)
Char.AttachToCar(158@, 152@, 0.0, 0.656, 2.408, 0, 0.0, WeaponType.Unarmed)
196@ = 2

:FINALEC_4632
if 
  196@ == 2
goto_if_false @FINALEC_4712
Car.OpenDoor(152@, CarDoor.RightFrontDoor)
Task.PlayAnimNonInterruptable(158@, "FIN_COP1_CLIMBOUT", "FINALE2", 1000.0, False, False, False, True, -1)
196@ = 3

:FINALEC_4712
if 
  196@ == 3
goto_if_false @FINALEC_4919
if 
  Char.IsPlayingAnim(158@, "FIN_COP1_CLIMBOUT")
goto_if_false @FINALEC_4919
170@ = Char.GetAnimCurrentTime(158@, "FIN_COP1_CLIMBOUT")
if 
  170@ == 1.0
goto_if_false @FINALEC_4919
Char.DetachFromCar(158@)
Char.AttachToCar(158@, 152@, -0.014, -7.4, -999.253, 2, 0.0, WeaponType.Unarmed)
Task.PlayAnimNonInterruptable(158@, "FIN_COP1_CLIMBOUT2", "FINALE", 1000.0, False, False, False, True, -1)
TIMERA = 0
198@ = 1
196@ = 4

:FINALEC_4919
if 
  196@ == 4
goto_if_false @FINALEC_5096
if 
  Char.IsPlayingAnim(158@, "FIN_COP1_CLIMBOUT2")
goto_if_false @FINALEC_5096
170@ = Char.GetAnimCurrentTime(158@, "FIN_COP1_CLIMBOUT2")
if 
  170@ == 1.0
goto_if_false @FINALEC_5096
Task.PlayAnimNonInterruptable(158@, "FIN_COP1_STOMP", "FINALE", 8.0, False, False, False, True, -1)
TIMERB = 0
Text.PrintNow('RM4_43', 7000, 1)
196@ = 5

:FINALEC_5096
if 
  196@ == 5
goto_if_false @FINALEC_5183
if 
  TIMERB > 499
goto_if_false @FINALEC_5183
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_SLIP", "FINALE", 8.0, False, False, False, True, -1)
196@ = 6

:FINALEC_5183
if 
  196@ == 6
goto_if_false @FINALEC_5328
if 
  Char.IsPlayingAnim(158@, "FIN_COP1_STOMP")
goto_if_false @FINALEC_5328
170@ = Char.GetAnimCurrentTime(158@, "FIN_COP1_STOMP")
if 
  170@ == 1.0
goto_if_false @FINALEC_5328
Task.PlayAnimNonInterruptable(158@, "FIN_COP1_LOOP", "FINALE", 8.0, False, False, False, True, -1)
196@ = 7

:FINALEC_5328
if 
  196@ == 7
goto_if_false @FINALEC_5478
if 
  Char.IsPlayingAnim($big_smoke_car, "FIN_HANG_SLIP")
goto_if_false @FINALEC_5478
164@ = Char.GetAnimCurrentTime($big_smoke_car, "FIN_HANG_SLIP")
if 
  164@ == 1.0
goto_if_false @FINALEC_5478
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_LOOP", "FINALE", 8.0, True, False, False, True, -1)
TIMERB = 0
196@ = 8

:FINALEC_5478
if 
  196@ == 8
goto_if_false @FINALEC_5648
if 
  TIMERB > 750
goto_if_false @FINALEC_5648
if 
  Char.IsPlayingAnim(158@, "FIN_COP1_LOOP")
goto_if_false @FINALEC_5648
170@ = Char.GetAnimCurrentTime(158@, "FIN_COP1_LOOP")
if 
  170@ == 1.0
goto_if_false @FINALEC_5648
Task.PlayAnimNonInterruptable(158@, "FIN_COP1_STOMP", "FINALE", 8.0, False, False, False, True, -1)
TIMERB = 0
196@ = 5

:FINALEC_5648
if 
  198@ == 1
goto_if_false @FINALEC_5781
if 
  TIMERA > 8999
goto_if_false @FINALEC_5781
if 
  Blip.DoesExist(115@)
goto_if_false @FINALEC_5708
Blip.ChangeDisplay(115@, BlipDisplay.Both)

:FINALEC_5708
$carhealth_fc = 15
cset_var_float_to_var_int $finalerails_fcflag =# $carhealth_fc
$finalerails_fcflag *= 100.0
$finalerails_fcflag /= 15.0
cset_var_int_to_var_float $rails_fcflag =# $finalerails_fcflag
Hud.DisplayCounterWithString($rails_fcflag, CounterDisplay.Bar, 'RM4_47')
TIMERA = 0
198@ = 2

:FINALEC_5781
if 
  198@ == 2
goto_if_false @FINALEC_5839
if 
  TIMERA > 999
goto_if_false @FINALEC_5839
$carhealth_fc -= 1
TIMERA = 0
198@ = 3

:FINALEC_5839
if 
  198@ == 3
goto_if_false @FINALEC_5897
if 
  TIMERA > 999
goto_if_false @FINALEC_5897
$carhealth_fc -= 1
TIMERA = 0
198@ = 4

:FINALEC_5897
if 
  198@ == 4
goto_if_false @FINALEC_5962
if 
  TIMERA > 999
goto_if_false @FINALEC_5962
$carhealth_fc -= 1
TIMERA = 0
World.SetCarDensityMultiplier(0.0)
198@ = 5

:FINALEC_5962
if 
  198@ == 5
goto_if_false @FINALEC_6575
if 
  TIMERA > 999
goto_if_false @FINALEC_6020
$carhealth_fc -= 1
205@ = 4
TIMERA = 0

:FINALEC_6020
if 
  0 >= $carhealth_fc
goto_if_false @FINALEC_6163
$carhealth_fc = 0
196@ = 10
Task.PlayAnimNonInterruptable(158@, "FIN_COP1_LOOP", "FINALE", 8.0, True, False, False, False, -1)
Char.DetachFromCar($big_smoke_car)
Char.SetCollision($big_smoke_car, True)
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_LAND_DIE", "FINALE", 4.0, False, True, True, True, -1)
TIMERA = 0
198@ = 6

:FINALEC_6163
if 
  $carhealth_fc > 0
goto_if_false @FINALEC_6575
$x, $y, $z = Char.GetCoordinates($big_smoke_car)
$z -= 1.0
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $x, $y, $z, 3.0, 3.0, 4.0, False)
goto_if_false @FINALEC_6575
Hud.ClearCounter($carhealth_fc)
171@ = 4.0
Char.DetachFromCar($big_smoke_car)
181@, 182@, 183@ = Char.GetCoordinates($big_smoke_car)
Char.SetCollision($big_smoke_car, False)
183@ -= 1.0
Char.ClearTasksImmediately($big_smoke_car)
Char.SetCoordinates($big_smoke_car, 181@, 182@, 183@)
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_LET_GO", "FINALE", 1000.0, False, False, False, True, -1)
wait 0
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_6575
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_6575
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_6575
181@, 182@, 183@ = Char.GetCoordinates($big_smoke_car)
175@, 176@, 177@ = Car.GetOffsetInWorldCoords(153@, 0.0, 1.5, 0.5)
set_lvar_float_to_lvar_float 172@ = 181@
sub_float_lvar_from_float_lvar 172@ -= 175@
set_lvar_float_to_lvar_float 173@ = 182@
sub_float_lvar_from_float_lvar 173@ -= 176@
set_lvar_float_to_lvar_float 174@ = 183@
sub_float_lvar_from_float_lvar 174@ -= 177@
set_lvar_float_to_lvar_float 178@ = 172@
div_float_lvar_by_float_lvar 178@ /= 171@
set_lvar_float_to_lvar_float 179@ = 173@
div_float_lvar_by_float_lvar 179@ /= 171@
set_lvar_float_to_lvar_float 180@ = 174@
div_float_lvar_by_float_lvar 180@ /= 171@
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
204@ = 0
203@ = 0
191@ = 2

:FINALEC_6575
if 
  198@ > 1
goto_if_false @FINALEC_6629
cset_var_float_to_var_int $finalerails_fcflag =# $carhealth_fc
$finalerails_fcflag *= 100.0
$finalerails_fcflag /= 15.0
cset_var_int_to_var_float $rails_fcflag =# $finalerails_fcflag

:FINALEC_6629
if 
  198@ == 6
goto_if_false @FINALEC_6686
if 
  TIMERA > 2000
goto_if_false @FINALEC_6686
198@ = 7
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
goto @FINALEC_57329

:FINALEC_6686
if 
  199@ == 1
goto_if_false @FINALEC_6756
if 
  Car.Locate2D(152@, 2003.29, -1097.0, 20.0, 20.0, False)
goto_if_false @FINALEC_6756
World.SetCarDensityMultiplier(1.0)
199@ = 2

:FINALEC_6756
if 
  199@ == 1
goto_if_false @FINALEC_6826
if 
  Car.Locate2D(152@, 2112.84, -1406.01, 20.0, 20.0, False)
goto_if_false @FINALEC_6826
World.SetCarDensityMultiplier(0.0)
199@ = 2

:FINALEC_6826
if 
  199@ == 2
goto_if_false @FINALEC_6896
if 
  Car.Locate2D(152@, 2112.51, -1631.72, 20.0, 20.0, False)
goto_if_false @FINALEC_6896
World.SetCarDensityMultiplier(0.9)
199@ = 3

:FINALEC_6896
if 
  195@ == 1
goto_if_false @FINALEC_7015
if 
  Streaming.HasModelLoaded(538)
goto_if_false @FINALEC_7003
157@ = Train.Create(15, 2135.04, -1953.25, 12.84, False)
Train.SetSpeed(157@, 30.0)
Train.SetCruiseSpeed(157@, 12.5)
Car.SetProofs(157@, True, True, True, True, True)
195@ = 2
goto @FINALEC_7015

:FINALEC_7003
Streaming.MarkModelAsNoLongerNeeded(538)
195@ = 2

:FINALEC_7015
if 
  195@ == 2
goto_if_false @FINALEC_7122
if 
  not Car.IsDead(157@)
goto_if_false @FINALEC_7108
if 
  Car.Locate2D(157@, 2226.64, -1603.62, 15.0, 15.0, False)
goto_if_false @FINALEC_7101
Streaming.MarkMissionTrainsAsNoLongerNeeded
Streaming.MarkModelAsNoLongerNeeded(538)
195@ = 3

:FINALEC_7101
goto @FINALEC_7122

:FINALEC_7108
Streaming.MarkMissionTrainsAsNoLongerNeeded
Streaming.MarkModelAsNoLongerNeeded(538)
195@ = 3

:FINALEC_7122
if 
  195@ == 3
goto_if_false @FINALEC_7149
World.DeleteAllTrains
195@ = 4

:FINALEC_7149
if 
  193@ == 0
goto_if_false @FINALEC_8908
if 
  192@ == 0
goto_if_false @FINALEC_7799
if 
  Car.Locate2D(152@, 2339.11, -1038.88, 14.0, 14.0, False)
goto_if_false @FINALEC_7799
205@ = 1
World.RemoveAllScriptFires
Object.MarkAsNoLongerNeeded(167@)
Object.MarkAsNoLongerNeeded(168@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
Char.MarkAsNoLongerNeeded(46@)
34@ = Char.Create(PedType.Mission1, 109, 2246.362, -1059.161, 61.2275)
Char.SetHeading(34@, 255.0)
Char.SetDecisionMaker(34@, 97@)
Char.GiveWeapon(34@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(34@, True)
set_lvar_int_to_lvar_int 102@ = 34@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
37@ = Char.Create(PedType.Mission1, 109, 2212.216, -1001.041, 67.22)
Char.SetHeading(37@, 183.4)
Char.SetDecisionMaker(37@, 97@)
Char.GiveWeapon(37@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(37@, True)
set_lvar_int_to_lvar_int 102@ = 37@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
38@ = Char.Create(PedType.Mission1, 109, 2197.558, -1000.418, 67.367)
Char.SetHeading(38@, 209.7)
Char.SetDecisionMaker(38@, 97@)
Char.GiveWeapon(38@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(38@, True)
set_lvar_int_to_lvar_int 102@ = 38@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
39@ = Char.Create(PedType.Mission1, 109, 2188.512, -1020.8, 70.33)
Char.SetHeading(39@, 287.39)
Char.SetDecisionMaker(39@, 97@)
Char.GiveWeapon(39@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(39@, True)
Char.SetAccuracy(39@, 90)
set_lvar_int_to_lvar_int 102@ = 39@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
165@ = Object.Create(#LA_FUCKCAR2, 2171.57, -1008.76, 62.56)
Object.SetDynamic(165@, True)
Object.SetHeading(165@, 168.0)
Object.SetRotation(165@, 0.0, 90.0, 0.0)
61@ = ScriptFire.Start(2172.57, -1008.76, 61.56, 0, 3)
62@ = ScriptFire.Start(2171.57, -1007.76, 62.56, 0, 3)
40@ = Char.Create(PedType.Mission1, 109, 2172.91, -1001.84, 62.83)
Char.SetHeading(40@, 258.18)
Char.SetDecisionMaker(40@, 97@)
Char.GiveWeapon(40@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(40@, True)
set_lvar_int_to_lvar_int 102@ = 40@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
192@ = 1

:FINALEC_7799
if 
  192@ == 1
goto_if_false @FINALEC_8908
if 
  Car.Locate2D(152@, 2252.01, -1046.41, 14.0, 14.0, False)
goto_if_false @FINALEC_8908
if 
  Char.IsPlayingAnim($big_smoke_car, "FIN_LEGSUP_LOOP")
goto_if_false @FINALEC_7931
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_LOOP", "FINALE", 1.5, True, False, False, True, -1)

:FINALEC_7931
if 
  not Camera.IsPointOnScreen(2600.99, -1050.01, 69.04, 10.0)
goto_if_false @FINALEC_7989
Object.Delete(167@)
Object.Delete(168@)
Char.Delete(44@)
Char.Delete(45@)
Char.Delete(46@)

:FINALEC_7989
166@ = Object.Create(#LA_FUCKCAR2, 2033.39, -938.0, 39.99)
Object.SetHeading(166@, 24.8)
Object.SetDynamic(166@, True)
Object.SetRotation(166@, 0.0, 0.0, 0.0)
63@ = ScriptFire.Start(2033.39, -938.0, 38.99, 0, 3)
64@ = ScriptFire.Start(2032.39, -937.0, 38.99, 0, 3)
41@ = Char.Create(PedType.Mission1, 109, 2035.09, -979.33, 40.9)
Char.SetHeading(41@, 263.9)
Char.SetDecisionMaker(41@, 97@)
Char.GiveWeapon(41@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(41@, True)
set_lvar_int_to_lvar_int 102@ = 41@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
42@ = Char.Create(PedType.Mission1, 109, 2053.81, -983.87, 45.33)
Char.SetHeading(42@, 287.5)
Char.SetDecisionMaker(42@, 97@)
Char.GiveWeapon(42@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(42@, True)
set_lvar_int_to_lvar_int 102@ = 42@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
43@ = Char.Create(PedType.Mission1, 109, 2089.93, -971.49, 54.556)
Char.SetHeading(43@, 219.88)
Char.SetDecisionMaker(43@, 97@)
Char.GiveWeapon(43@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(43@, True)
set_lvar_int_to_lvar_int 102@ = 43@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
44@ = Char.Create(PedType.Mission1, 109, 2026.056, -971.93, 41.5)
Char.SetHeading(44@, 219.88)
Char.SetDecisionMaker(44@, 97@)
Char.GiveWeapon(44@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(44@, True)
set_lvar_int_to_lvar_int 102@ = 44@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
45@ = Char.Create(PedType.Mission1, 109, 1989.918, -1017.65, 34.05)
Char.SetHeading(45@, 317.6)
Char.SetDecisionMaker(45@, 97@)
Char.GiveWeapon(45@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(45@, True)
set_lvar_int_to_lvar_int 102@ = 45@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
46@ = Char.Create(PedType.Mission1, 109, 1999.8, -1018.65, 35.33)
Char.SetHeading(46@, 317.6)
Char.SetDecisionMaker(46@, 97@)
Char.GiveWeapon(46@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(46@, True)
set_lvar_int_to_lvar_int 102@ = 46@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
47@ = Char.Create(PedType.Mission1, 109, 1970.674, -1088.046, 24.163)
Char.SetHeading(47@, 345.24)
Char.SetDecisionMaker(47@, 97@)
Char.GiveWeapon(47@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(47@, True)
set_lvar_int_to_lvar_int 102@ = 47@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
48@ = Char.Create(PedType.Mission1, 109, 1977.545, -1096.913, 24.35)
Char.SetHeading(48@, 24.331)
Char.SetDecisionMaker(48@, 97@)
Char.GiveWeapon(48@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(48@, True)
set_lvar_int_to_lvar_int 102@ = 48@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
167@ = Object.Create(#LA_FUCKCAR1, 1975.31, -1099.27, 24.118)
Object.SetDynamic(167@, True)
Object.SetHeading(167@, 270.894)
Object.SetRotation(167@, 0.0, 180.0, 0.0)
ScriptFire.Remove(61@)
ScriptFire.Remove(62@)
61@ = ScriptFire.Start(1975.31, -1099.27, 24.118, 0, 3)
62@ = ScriptFire.Start(1977.0, -1098.0, 24.0, 0, 3)
192@ = 0
199@ = 1
193@ = 1

:FINALEC_8908
if 
  193@ == 1
goto_if_false @FINALEC_10348
if 
  192@ == 0
goto_if_false @FINALEC_9234
if 
  Car.Locate2D(152@, 2073.51, -1260.18, 14.0, 14.0, False)
goto_if_false @FINALEC_9234
205@ = 2
Object.MarkAsNoLongerNeeded(165@)
Char.MarkAsNoLongerNeeded(34@)
Char.MarkAsNoLongerNeeded(37@)
Char.MarkAsNoLongerNeeded(38@)
Char.MarkAsNoLongerNeeded(39@)
Char.MarkAsNoLongerNeeded(40@)
169@ = Object.Create(#LA_FUCKCAR2, 2117.46, -1490.22, 22.6)
Object.SetDynamic(169@, True)
Object.SetHeading(169@, 276.0)
44@ = Char.Create(PedType.Mission1, 102, 2108.6, -1491.5, 23.85)
Char.SetHeading(44@, 340.0)
Char.SetDecisionMaker(44@, 97@)
Char.GiveWeapon(44@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(44@, True)
set_lvar_int_to_lvar_int 102@ = 44@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
45@ = Char.Create(PedType.Mission1, 102, 2116.48, -1492.219, 22.85)
Char.SetHeading(45@, 340.0)
Char.SetDecisionMaker(45@, 97@)
Char.GiveWeapon(45@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(45@, True)
set_lvar_int_to_lvar_int 102@ = 45@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
192@ = 1

:FINALEC_9234
if 
  192@ == 1
goto_if_false @FINALEC_10348
if 
  Car.Locate2D(152@, 2268.94, -1260.26, 14.0, 14.0, False)
goto_if_false @FINALEC_10348
if 
  Char.IsPlayingAnim($big_smoke_car, "FIN_LEGSUP_LOOP")
goto_if_false @FINALEC_9366
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_LOOP", "FINALE", 1.5, True, False, False, True, -1)

:FINALEC_9366
World.RemoveAllScriptFires
Streaming.MarkModelAsNoLongerNeeded(109)
Object.MarkAsNoLongerNeeded(166@)
Char.MarkAsNoLongerNeeded(41@)
Char.MarkAsNoLongerNeeded(42@)
Char.MarkAsNoLongerNeeded(43@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(46@)
Char.MarkAsNoLongerNeeded(47@)
Char.MarkAsNoLongerNeeded(48@)
Object.MarkAsNoLongerNeeded(167@)
Object.Delete(165@)
Char.Delete(34@)
Char.Delete(37@)
Char.Delete(38@)
Char.Delete(39@)
Char.Delete(40@)
Object.Delete(166@)
Char.Delete(41@)
Streaming.RequestModel(538)
165@ = Object.Create(#LA_FUCKCAR1, 2109.492, -1531.4, 22.82)
Object.SetHeading(165@, 276.274)
Object.SetDynamic(165@, True)
34@ = Char.Create(PedType.Mission1, 102, 2110.39, -1529.04, 22.928)
Char.SetHeading(34@, 10.19)
Char.SetDecisionMaker(34@, 97@)
Char.GiveWeapon(34@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(34@, True)
set_lvar_int_to_lvar_int 102@ = 34@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
35@ = Char.Create(PedType.Mission1, 102, 2118.376, -1531.8, 23.189)
Char.SetHeading(35@, 340.0)
Char.SetDecisionMaker(35@, 97@)
Char.GiveWeapon(35@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(35@, True)
set_lvar_int_to_lvar_int 102@ = 35@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
61@ = ScriptFire.Start(2116.7, -1530.846, 22.99, 0, 3)
62@ = ScriptFire.Start(2115.5, -1530.282, 22.97, 0, 2)
63@ = ScriptFire.Start(2114.06, -1529.88, 22.96, 0, 3)
64@ = ScriptFire.Start(2112.3, -1529.92, 22.9, 0, 2)
168@ = Object.Create(#LA_FUCKCAR2, 2115.75, -1620.69, 22.11)
Object.SetDynamic(168@, True)
Object.SetHeading(168@, 95.114)
36@ = Char.Create(PedType.Mission1, 102, 2111.57, -1585.135, 25.1)
Char.SetHeading(36@, 12.0)
Char.SetDecisionMaker(36@, 97@)
Char.GiveWeapon(36@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(36@, True)
set_lvar_int_to_lvar_int 102@ = 36@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
37@ = Char.Create(PedType.Mission1, 102, 2104.487, -1586.327, 25.07)
Char.SetHeading(37@, 306.26)
Char.SetDecisionMaker(37@, 97@)
Char.GiveWeapon(37@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(37@, True)
set_lvar_int_to_lvar_int 102@ = 37@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
65@ = ScriptFire.Start(2108.28, -1637.23, 18.3, 0, 3)
66@ = ScriptFire.Start(2110.65, -1637.93, 18.36, 0, 2)
67@ = ScriptFire.Start(2112.18, -1637.2, 18.52, 0, 1)
68@ = ScriptFire.Start(2115.36, -1637.43, 18.47, 0, 2)
69@ = ScriptFire.Start(2117.39, -1636.75, 18.62, 0, 3)
70@ = ScriptFire.Start(2107.91, -1586.498, 24.8, 0, 3)
71@ = ScriptFire.Start(2110.28, -1586.29, 24.89, 0, 2)
72@ = ScriptFire.Start(2112.755, -1586.081, 24.8, 0, 2)
38@ = Char.Create(PedType.Mission1, 102, 2094.0, -1763.0, 12.5)
Char.SetHeading(38@, 322.0)
Char.SetDecisionMaker(38@, 97@)
Char.GiveWeapon(38@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(38@, True)
set_lvar_int_to_lvar_int 102@ = 38@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
39@ = Char.Create(PedType.Mission1, 102, 2088.0, -1761.0, 12.5)
Char.SetHeading(39@, 306.26)
Char.SetDecisionMaker(39@, 97@)
Char.GiveWeapon(39@, WeaponType.Molotov, 99999)
Char.SetOnlyDamagedByPlayer(39@, True)
set_lvar_int_to_lvar_int 102@ = 39@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209
192@ = 0
193@ = 2

:FINALEC_10348
if 
  193@ == 2
goto_if_false @FINALEC_10662
if 
  192@ == 0
goto_if_false @FINALEC_10507
if 
  Car.Locate2D(152@, 2203.69, -1724.39, 14.0, 14.0, False)
goto_if_false @FINALEC_10507
195@ = 1
Char.Delete(41@)
Char.Delete(42@)
Char.Delete(43@)
Char.Delete(44@)
Char.Delete(46@)
Char.Delete(47@)
Char.Delete(48@)
Object.Delete(167@)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(#LA_FUCKCAR1)
Streaming.MarkModelAsNoLongerNeeded(#LA_FUCKCAR2)
Streaming.MarkModelAsNoLongerNeeded(344)
World.SetCarDensityMultiplier(1.0)
192@ = 1

:FINALEC_10507
if 
  192@ == 1
goto_if_false @FINALEC_10662
if 
  Car.Locate2D(152@, 2202.32, -1890.45, 14.0, 14.0, False)
goto_if_false @FINALEC_10662
205@ = 3
if 
  Char.IsPlayingAnim($big_smoke_car, "FIN_LEGSUP_LOOP")
goto_if_false @FINALEC_10646
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_LOOP", "FINALE", 1.5, True, False, False, True, -1)

:FINALEC_10646
World.RemoveAllScriptFires
192@ = 0
193@ = 3

:FINALEC_10662
if 
  193@ == 3
goto_if_false @FINALEC_10946
if 
  192@ == 0
goto_if_false @FINALEC_10743
if 
  Car.Locate2D(152@, 2115.45, -1954.4, 14.0, 14.0, False)
goto_if_false @FINALEC_10743
192@ = 1

:FINALEC_10743
if 
  192@ == 1
goto_if_false @FINALEC_10946
if 
  Car.Locate2D(152@, 2179.19, -2017.63, 14.0, 14.0, False)
goto_if_false @FINALEC_10946
if 
  Char.IsPlayingAnim($big_smoke_car, "FIN_LEGSUP_LOOP")
goto_if_false @FINALEC_10875
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_LOOP", "FINALE", 1.5, True, False, False, True, -1)

:FINALEC_10875
World.RemoveAllScriptFires
Object.MarkAsNoLongerNeeded(165@)
Char.MarkAsNoLongerNeeded(34@)
Char.MarkAsNoLongerNeeded(35@)
Object.MarkAsNoLongerNeeded(169@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
Object.MarkAsNoLongerNeeded(168@)
Char.MarkAsNoLongerNeeded(36@)
Char.MarkAsNoLongerNeeded(37@)
Char.MarkAsNoLongerNeeded(38@)
Char.MarkAsNoLongerNeeded(39@)
192@ = 0
193@ = 4

:FINALEC_10946
if 
  193@ == 4
goto_if_false @FINALEC_11235
if 
  192@ == 0
goto_if_false @FINALEC_11082
if 
  Car.Locate2D(152@, 2318.03, -2165.94, 14.0, 14.0, False)
goto_if_false @FINALEC_11082
Object.Delete(165@)
Char.Delete(34@)
Char.Delete(35@)
Object.Delete(169@)
Char.Delete(44@)
Char.Delete(45@)
Object.Delete(168@)
Char.Delete(36@)
Char.Delete(37@)
Char.Delete(38@)
Char.Delete(39@)
192@ = 1

:FINALEC_11082
if 
  192@ == 1
goto_if_false @FINALEC_11235
if 
  Car.Locate2D(152@, 2452.6, -2170.27, 14.0, 14.0, False)
goto_if_false @FINALEC_11235
if 
  Char.IsPlayingAnim($big_smoke_car, "FIN_LEGSUP_LOOP")
goto_if_false @FINALEC_11214
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_LOOP", "FINALE", 1.5, True, False, False, True, -1)

:FINALEC_11214
196@ = 1
192@ = 0
193@ = 5

:FINALEC_11235
if 
  190@ == 1
goto_if_false @FINALEC_11374
if 
  Char.IsPlayingAnim($big_smoke_car, "FIN_JUMP_ON")
goto_if_false @FINALEC_11374
164@ = Char.GetAnimCurrentTime($big_smoke_car, "FIN_JUMP_ON")
if 
  164@ == 1.0
goto_if_false @FINALEC_11374
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_LOOP", "FINALE", 4.0, True, False, False, True, -1)
190@ = 2

:FINALEC_11374
if 
  190@ > 1
goto_if_false @FINALEC_12091
160@ = Car.GetHeading(152@)
161@ = Car.GetDoorAngleRatio(152@, 6)
161@ -= 0.5
161@ *= 2.0
161@ *= 10.0
add_float_lvar_to_float_lvar 161@ += 160@
set_lvar_float_to_lvar_float 163@ = 161@
sub_float_lvar_from_float_lvar 163@ -= 162@
if 
  -180.0 > 163@
goto_if_false @FINALEC_11495
163@ += 360.0

:FINALEC_11495
if 
  163@ > 180.0
goto_if_false @FINALEC_11526
163@ += -360.0

:FINALEC_11526
set_lvar_float_to_lvar_float 162@ = 161@
if 
  196@ == 0
goto_if_false @FINALEC_12091
if 
  192@ == 0
goto_if_false @FINALEC_11831
if 
  -1.5 > 163@
goto_if_false @FINALEC_11663
if 
  190@ <> 4
goto_if_false @FINALEC_11656
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_L", "FINALE", 1.5, False, False, False, True, -1)
190@ = 4

:FINALEC_11656
goto @FINALEC_11824

:FINALEC_11663
if 
  163@ > 1.5
goto_if_false @FINALEC_11756
if 
  190@ <> 3
goto_if_false @FINALEC_11749
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_R", "FINALE", 1.5, False, False, False, True, -1)
190@ = 3

:FINALEC_11749
goto @FINALEC_11824

:FINALEC_11756
if 
  190@ <> 2
goto_if_false @FINALEC_11824
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_HANG_LOOP", "FINALE", 2.5, True, False, False, True, -1)
190@ = 2

:FINALEC_11824
goto @FINALEC_12091

:FINALEC_11831
if 
  -1.5 > 163@
goto_if_false @FINALEC_11926
if 
  190@ <> 4
goto_if_false @FINALEC_11919
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_LEGSUP_L", "FINALE", 1.5, False, False, False, True, -1)
190@ = 4

:FINALEC_11919
goto @FINALEC_12091

:FINALEC_11926
if 
  163@ > 1.5
goto_if_false @FINALEC_12021
if 
  190@ <> 3
goto_if_false @FINALEC_12014
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_LEGSUP_R", "FINALE", 1.5, False, False, False, True, -1)
190@ = 3

:FINALEC_12014
goto @FINALEC_12091

:FINALEC_12021
if 
  190@ <> 2
goto_if_false @FINALEC_12091
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_LEGSUP_LOOP", "FINALE", 2.5, True, False, False, True, -1)
190@ = 2

:FINALEC_12091
if 
  2 > 191@
goto_if_false @FINALEC_13366
gosub @FINALEC_57063
if 
  203@ == 0
goto_if_false @FINALEC_12214
if 
  204@ == 0
goto_if_false @FINALEC_12214
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 15.0, 15.0, False)
goto_if_false @FINALEC_12214
set_lvar_int_to_constant 187@ = 33217
set_lvar_text_label 188@s = 'ROT4_EA'
gosub @FINALEC_57021

:FINALEC_12214
if 
  205@ == 1
goto_if_false @FINALEC_12355
if 
  204@ == 0
goto_if_false @FINALEC_12355
if 
  1 > 203@
goto_if_false @FINALEC_12275
203@ = 1

:FINALEC_12275
if 
  203@ == 1
goto_if_false @FINALEC_12355
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 30.0, 30.0, False)
goto_if_false @FINALEC_12355
set_lvar_int_to_constant 187@ = 33229
set_lvar_text_label 188@s = 'ROT4_HC'
gosub @FINALEC_57021

:FINALEC_12355
if 
  203@ == 2
goto_if_false @FINALEC_12453
if 
  204@ == 0
goto_if_false @FINALEC_12453
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 30.0, 30.0, False)
goto_if_false @FINALEC_12453
set_lvar_int_to_constant 187@ = 33221
set_lvar_text_label 188@s = 'ROT4_FA'
gosub @FINALEC_57021

:FINALEC_12453
if 
  203@ == 3
goto_if_false @FINALEC_12551
if 
  204@ == 0
goto_if_false @FINALEC_12551
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 30.0, 30.0, False)
goto_if_false @FINALEC_12551
set_lvar_int_to_constant 187@ = 33245
set_lvar_text_label 188@s = 'ROT4_MB'
gosub @FINALEC_57021

:FINALEC_12551
if 
  204@ == 0
goto_if_false @FINALEC_12692
if 
  205@ == 2
goto_if_false @FINALEC_12692
if 
  4 > 203@
goto_if_false @FINALEC_12612
203@ = 4

:FINALEC_12612
if 
  203@ == 4
goto_if_false @FINALEC_12692
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 30.0, 30.0, False)
goto_if_false @FINALEC_12692
set_lvar_int_to_constant 187@ = 33241
set_lvar_text_label 188@s = 'ROT4_KJ'
gosub @FINALEC_57021

:FINALEC_12692
if 
  203@ == 5
goto_if_false @FINALEC_12790
if 
  204@ == 0
goto_if_false @FINALEC_12790
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 30.0, 30.0, False)
goto_if_false @FINALEC_12790
set_lvar_int_to_constant 187@ = 33218
set_lvar_text_label 188@s = 'ROT4_EB'
gosub @FINALEC_57021

:FINALEC_12790
if 
  204@ == 0
goto_if_false @FINALEC_12931
if 
  205@ == 3
goto_if_false @FINALEC_12931
if 
  6 > 203@
goto_if_false @FINALEC_12851
203@ = 6

:FINALEC_12851
if 
  203@ == 6
goto_if_false @FINALEC_12931
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 30.0, 30.0, False)
goto_if_false @FINALEC_12931
set_lvar_int_to_constant 187@ = 33226
set_lvar_text_label 188@s = 'ROT4_GB'
gosub @FINALEC_57021

:FINALEC_12931
if 
  204@ == 0
goto_if_false @FINALEC_13029
if 
  203@ == 7
goto_if_false @FINALEC_13029
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 30.0, 30.0, False)
goto_if_false @FINALEC_13029
set_lvar_int_to_constant 187@ = 33222
set_lvar_text_label 188@s = 'ROT4_FB'
gosub @FINALEC_57021

:FINALEC_13029
if 
  204@ == 0
goto_if_false @FINALEC_13170
if 
  205@ == 4
goto_if_false @FINALEC_13170
if 
  8 > 203@
goto_if_false @FINALEC_13090
203@ = 8

:FINALEC_13090
if 
  203@ == 8
goto_if_false @FINALEC_13170
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 30.0, 30.0, False)
goto_if_false @FINALEC_13170
set_lvar_int_to_constant 187@ = 33234
set_lvar_text_label 188@s = 'ROT4_KB'
gosub @FINALEC_57021

:FINALEC_13170
if 
  204@ == 0
goto_if_false @FINALEC_13268
if 
  203@ == 9
goto_if_false @FINALEC_13268
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 30.0, 30.0, False)
goto_if_false @FINALEC_13268
set_lvar_int_to_constant 187@ = 33236
set_lvar_text_label 188@s = 'ROT4_KD'
gosub @FINALEC_57021

:FINALEC_13268
if 
  204@ == 0
goto_if_false @FINALEC_13366
if 
  203@ == 10
goto_if_false @FINALEC_13366
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, $big_smoke_car, 30.0, 30.0, False)
goto_if_false @FINALEC_13366
set_lvar_int_to_constant 187@ = 33237
set_lvar_text_label 188@s = 'ROT4_KE'
gosub @FINALEC_57021

:FINALEC_13366
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_13970
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_13970
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_13970
if 
  191@ == 2
goto_if_false @FINALEC_13699
175@, 176@, 177@ = Car.GetOffsetInWorldCoords(153@, 0.0, 1.5, 0.5)
171@ -= 1.0
sub_float_lvar_from_float_lvar 172@ -= 178@
sub_float_lvar_from_float_lvar 173@ -= 179@
sub_float_lvar_from_float_lvar 174@ -= 180@
set_lvar_float_to_lvar_float 181@ = 175@
add_float_lvar_to_float_lvar 181@ += 172@
set_lvar_float_to_lvar_float 182@ = 176@
add_float_lvar_to_float_lvar 182@ += 173@
set_lvar_float_to_lvar_float 183@ = 177@
add_float_lvar_to_float_lvar 183@ += 174@
183@ -= 1.0
Char.SetCoordinates($big_smoke_car, 181@, 182@, 183@)
if 
  171@ == 0.0
goto_if_false @FINALEC_13699
Char.AttachToCar($big_smoke_car, 153@, 0.0, 1.5, 0.5, 0, 0.0, WeaponType.Unarmed)
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_LAND_CAR", "FINALE", 4.0, False, False, False, True, -1)
if 
  Blip.DoesExist(115@)
goto_if_false @FINALEC_13685
Blip.ChangeDisplay(115@, BlipDisplay.BlipOnly)

:FINALEC_13685
TIMERA = 0
191@ = 3

:FINALEC_13699
if 
  191@ == 3
goto_if_false @FINALEC_13860
if 
  Char.IsPlayingAnim($big_smoke_car, "FIN_LAND_CAR")
goto_if_false @FINALEC_13860
164@ = Char.GetAnimCurrentTime($big_smoke_car, "FIN_LAND_CAR")
if 
  164@ == 1.0
goto_if_false @FINALEC_13860
Audio.ReportMissionAudioEventAtPosition(181@, 182@, 183@, 1009)
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_CLIMB_IN", "FINALE", 4.0, False, False, False, True, -1)
TIMERA = 0
191@ = 4

:FINALEC_13860
if 
  4 > 191@
goto_if_false @FINALEC_13970
if 
  191@ > 1
goto_if_false @FINALEC_13970
gosub @FINALEC_57063
if 
  204@ == 0
goto_if_false @FINALEC_13970
if 
  203@ == 0
goto_if_false @FINALEC_13970
set_lvar_int_to_constant 187@ = 33246
set_lvar_text_label 188@s = 'ROT4_MC'
gosub @FINALEC_57021

:FINALEC_13970
if 
  $8018 == 0
goto_if_false @FINALEC_16448
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_16448
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_16448
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_16448
if 
  191@ == 4
goto_if_false @FINALEC_14251
if 
  TIMERA > 2800
goto_if_false @FINALEC_14251
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
204@ = 0
203@ = 0
Camera.SetFixedPosition(2908.949, -1565.179, 15.6092, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2908.996, -1565.014, 14.624, SwitchType.JumpCut)
Camera.SetInterpolationParameters(0.0, 1500)
Car.ForceLights(152@, CarLights.ForceOff)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Car.SetProofs(153@, True, True, True, True, True)
Hud.ClearCounter($rails_fcflag)
Char.Delete(158@)
if 
  Car.IsPlaybackGoingOn(152@)
goto_if_false @FINALEC_14218
Car.StopPlayback(152@)

:FINALEC_14218
Car.StartPlayback(152@, 290)
Car.SetPlaybackSpeed(152@, 0.9)
Car.StartPlayback(153@, 291)
191@ = 5

:FINALEC_14251
if 
  191@ == 5
goto_if_false @FINALEC_15161
if 
  Car.IsPlaybackGoingOn(152@)
goto_if_false @FINALEC_15161
if 
  Car.IsPlaybackGoingOn(153@)
goto_if_false @FINALEC_15161
Car.PausePlayback(152@)
Car.PausePlayback(153@)
Streaming.RequestCarRecording(230)
Streaming.RequestCarRecording(231)
Streaming.RequestCarRecording(232)
Streaming.RequestCarRecording(233)
Streaming.RequestCarRecording(234)
Streaming.RequestCarRecording(235)
Streaming.RequestCarRecording(236)
Streaming.RequestCarRecording(237)
Streaming.RequestCarRecording(238)
Streaming.RequestCarRecording(239)
Streaming.RequestCarRecording(240)
Streaming.RequestModel(352)
Streaming.RequestModel(596)
Streaming.RequestModel(468)
Streaming.RequestModel(344)
Streaming.RequestModel(110)
Streaming.RequestModel(576)
Streaming.LoadAllModelsNow

:FINALEC_14397
if or
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(596)
  not Streaming.HasModelLoaded(468)
goto_if_false @FINALEC_14434
wait 0
goto @FINALEC_14397

:FINALEC_14434
if or
  not Streaming.HasModelLoaded(110)
  not Streaming.HasModelLoaded(576)
  not Streaming.HasModelLoaded(344)
goto_if_false @FINALEC_14470
wait 0
goto @FINALEC_14434

:FINALEC_14470
wait 2000
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_14901
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_14901
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_14901
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
$z -= 10.0
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @FINALEC_14577
Char.WarpFromCarToCoord($stattreadstamina_ctr, $x, $y, $z)

:FINALEC_14577
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi, 99999)
$x, $y, $z = Char.GetCoordinates($big_smoke_car)
$z -= 10.0
if 
  Char.IsInAnyCar($big_smoke_car)
goto_if_false @FINALEC_14650
Char.WarpFromCarToCoord($big_smoke_car, $x, $y, $z)
goto @FINALEC_14669

:FINALEC_14650
Char.DetachFromCar($big_smoke_car)
Char.SetCoordinates($big_smoke_car, $x, $y, $z)

:FINALEC_14669
Char.WarpIntoCar($big_smoke_car, 153@)
Char.WarpIntoCarAsPassenger($stattreadstamina_ctr, 153@, 0)
158@ = Char.Create(PedType.Mission1, 280, $x, $y, $z)
Char.SetDecisionMaker(158@, 97@)
Char.AttachToCar(158@, 152@, -0.014, -7.4, -999.253, 2, 0.0, WeaponType.MicroUzi)
Car.ControlMovablePart(152@, 0.2)
Char.SetHealth(158@, 1000)
Char.SetAccuracy(158@, 50)
set_lvar_int_to_lvar_int 102@ = 158@
gosub @FINALEC_57247
159@ = Char.Create(PedType.Mission1, 280, $x, $y, $z)
Char.SetDecisionMaker(159@, 97@)
Char.AttachToCar(159@, 152@, 0.0, 0.656, 2.408, 0, 0.0, WeaponType.MicroUzi)
Task.PlayAnimNonInterruptable(159@, "FIN_COP1_CLIMBOUT", "FINALE2", 1000.0, False, False, False, True, -1)
Char.SetHealth(159@, 1000)

:FINALEC_14901
if 
  Char.IsPlayingAnim(159@, "FIN_COP1_CLIMBOUT")
goto_if_false @FINALEC_15013
170@ = Char.GetAnimCurrentTime(159@, "FIN_COP1_CLIMBOUT")
if 
  170@ > 0.0
goto_if_false @FINALEC_15013
Char.SetAnimSpeed(159@, "FIN_COP1_CLIMBOUT", 0.0)

:FINALEC_15013
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_15115
Task.PlayAnimNonInterruptable($big_smoke_car, "FIN_SWITCH_S", "FINALE2", 8.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "FIN_SWITCH_P", "FINALE2", 8.0, False, False, False, False, -1)

:FINALEC_15115
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_15161
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_15161
TIMERA = 0
191@ = 6

:FINALEC_15161
if 
  191@ == 6
goto_if_false @FINALEC_15476
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_15476
if 
  Char.IsPlayingAnim($big_smoke_car, "FIN_SWITCH_S")
goto_if_false @FINALEC_15476
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "FIN_SWITCH_P")
goto_if_false @FINALEC_15476
170@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "FIN_SWITCH_P")
if 
  170@ > 0.0
goto_if_false @FINALEC_15476
Char.SetAnimSpeed($stattreadstamina_ctr, "FIN_SWITCH_P", 0.0)
170@ = Char.GetAnimCurrentTime($big_smoke_car, "FIN_SWITCH_S")
if 
  170@ > 0.0
goto_if_false @FINALEC_15476
Char.SetAnimSpeed($big_smoke_car, "FIN_SWITCH_S", 0.0)
if 
  not Char.IsDead(159@)
goto_if_false @FINALEC_15469
if 
  Char.IsPlayingAnim(159@, "FIN_COP1_CLIMBOUT")
goto_if_false @FINALEC_15469
Char.SetAnimSpeed(159@, "FIN_COP1_CLIMBOUT", 0.0)

:FINALEC_15469
191@ = 7

:FINALEC_15476
if 
  191@ == 7
goto_if_false @FINALEC_15589
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_15589
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_15589
if 
  Car.IsPlaybackGoingOn(152@)
goto_if_false @FINALEC_15589
if 
  Car.IsPlaybackGoingOn(153@)
goto_if_false @FINALEC_15589
Car.UnpausePlayback(152@)
Car.UnpausePlayback(153@)
Car.ForceLights(152@, CarLights.ForceOn)
TIMERA = 0
191@ = 8

:FINALEC_15589
if 
  191@ == 8
goto_if_false @FINALEC_15684
if 
  TIMERA > 599
goto_if_false @FINALEC_15684
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_15684
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_15684
Camera.PointAtPoint(2909.198, -1564.303, 15.1955, SwitchType.Interpolation)
191@ = 9

:FINALEC_15684
if 
  191@ == 9
goto_if_false @FINALEC_15776
if 
  TIMERA > 2500
goto_if_false @FINALEC_15776
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_15776
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_15776
Camera.Restore
204@ = 0
203@ = 0
191@ = 10

:FINALEC_15776
if 
  191@ == 10
goto_if_false @FINALEC_15854
if 
  TIMERA > 4600
goto_if_false @FINALEC_15854
Hud.SwitchWidescreen(False)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Char.SetProofs($big_smoke_car, True, True, True, True, True)
191@ = 11

:FINALEC_15854
if 
  191@ == 11
goto_if_false @FINALEC_16006
if 
  TIMERA > 5000
goto_if_false @FINALEC_16006
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "FIN_SWITCH_P")
goto_if_false @FINALEC_16006
if 
  Char.IsPlayingAnim($big_smoke_car, "FIN_SWITCH_S")
goto_if_false @FINALEC_16006
Char.SetAnimSpeed($stattreadstamina_ctr, "FIN_SWITCH_P", 1.0)
Char.SetAnimSpeed($big_smoke_car, "FIN_SWITCH_S", 1.0)
191@ = 12

:FINALEC_16006
if 
  191@ == 12
goto_if_false @FINALEC_16338
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "FIN_SWITCH_P")
goto_if_false @FINALEC_16338
170@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "FIN_SWITCH_P")
if 
  170@ == 1.0
goto_if_false @FINALEC_16338
Task.DriveBy($stattreadstamina_ctr, -1, -1, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 100)
Player.SetControl($statbike_temp, True)
Pad.SetPlayerEnterCarButton($statbike_temp, False)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
Car.SetProofs(153@, True, True, True, True, True)
Car.SetHealth(153@, 90000)
$Schallenge_X = Car.GetHealth(153@)
$Schallenge_X /= 200
Hud.DisplayCounterWithString($Schallenge_X, CounterDisplay.Bar, 'RM4_52')
if 
  not Char.IsDead(158@)
goto_if_false @FINALEC_16247
Char.SetProofs(158@, False, True, True, False, False)

:FINALEC_16247
if 
  not Char.IsDead(159@)
goto_if_false @FINALEC_16278
Char.SetProofs(159@, True, True, True, True, True)

:FINALEC_16278
196@ = 0
197@ = 1
$8018 = 1
$8020 = 1
191@ = 13
Text.PrintHelp('RM4_54')
204@ = 0
203@ = 0

:FINALEC_16338
if 
  191@ > 10
goto_if_false @FINALEC_16448
if 
  13 > 191@
goto_if_false @FINALEC_16448
gosub @FINALEC_57063
if 
  204@ == 0
goto_if_false @FINALEC_16448
if 
  203@ == 0
goto_if_false @FINALEC_16448
set_lvar_int_to_constant 187@ = 33248
set_lvar_text_label 188@s = 'ROT4_ME'
gosub @FINALEC_57021

:FINALEC_16448
if 
  $8018 == 1
goto_if_false @FINALEC_30656
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_30656
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_30656
$Schallenge_X = Car.GetHealth(153@)
$Schallenge_X -= 12000
if 
  0 >= $Schallenge_X
goto_if_false @FINALEC_16625
$Schallenge_X = 0
Car.SetProofs(153@, False, False, False, False, False)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_16590
Task.Die($big_smoke_car)

:FINALEC_16590
Car.Explode(153@)
Text.PrintNow('RM4_53', 5000, 1)
goto @FINALEC_57329
goto @FINALEC_16632

:FINALEC_16625
$Schallenge_X /= 80

:FINALEC_16632
if 
  Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_16671
Text.PrintNow('RM4_53', 5000, 1)
goto @FINALEC_57329

:FINALEC_16671
if 
  5 > 196@
goto_if_false @FINALEC_17147
if 
  not Char.IsDead(158@)
goto_if_false @FINALEC_17126
if 
  196@ == 0
goto_if_false @FINALEC_16823
$rioters_fcflag = Char.GetHealth(158@)
if 
  970 > $rioters_fcflag
goto_if_false @FINALEC_16823
Char.SetProofs(158@, True, True, True, True, True)
Char.SetCurrentWeapon(158@, WeaponType.Unarmed)
Task.PlayAnimNonInterruptable(158@, "FIN_COP1_SHOT", "FINALE2", 1000.0, False, False, False, True, -1)
196@ = 1

:FINALEC_16823
if 
  196@ == 1
goto_if_false @FINALEC_16968
if 
  Char.IsPlayingAnim(158@, "FIN_COP1_SHOT")
goto_if_false @FINALEC_16968
170@ = Char.GetAnimCurrentTime(158@, "FIN_COP1_SHOT")
if 
  170@ == 1.0
goto_if_false @FINALEC_16968
Task.PlayAnimNonInterruptable(158@, "FIN_COP1_SWING", "FINALE2", 1000.0, True, False, False, True, -1)
196@ = 2

:FINALEC_16968
if 
  196@ == 3
goto_if_false @FINALEC_17042
Char.DetachFromCar(158@)
Task.PlayAnimNonInterruptable(158@, "FIN_COP1_SHOT", "FINALE2", 1000.0, False, True, True, True, -1)
196@ = 4

:FINALEC_17042
if 
  196@ == 4
goto_if_false @FINALEC_17119
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 158@, 20.0, 20.0, False)
goto_if_false @FINALEC_17119
if 
  not Char.IsOnScreen(158@)
goto_if_false @FINALEC_17119
Char.MarkAsNoLongerNeeded(158@)
196@ = 5

:FINALEC_17119
goto @FINALEC_17147

:FINALEC_17126
if 
  Char.DoesExist(158@)
goto_if_false @FINALEC_17147
Char.DetachFromCar(158@)

:FINALEC_17147
if 
  6 > 197@
goto_if_false @FINALEC_17884
if 
  not Char.IsDead(159@)
goto_if_false @FINALEC_17863
if 
  197@ == 1
goto_if_false @FINALEC_17270
if 
  Char.IsPlayingAnim(159@, "FIN_COP1_CLIMBOUT")
goto_if_false @FINALEC_17270
Char.SetAnimSpeed(159@, "FIN_COP1_CLIMBOUT", 1.0)
197@ = 2

:FINALEC_17270
if 
  197@ == 2
goto_if_false @FINALEC_17478
if 
  Char.IsPlayingAnim(159@, "FIN_COP1_CLIMBOUT")
goto_if_false @FINALEC_17478
170@ = Char.GetAnimCurrentTime(159@, "FIN_COP1_CLIMBOUT")
if 
  170@ == 1.0
goto_if_false @FINALEC_17478
Char.DetachFromCar(159@)
Char.AttachToCar(159@, 152@, -0.991, -4.12, 0.297, 2, 0.0, WeaponType.MicroUzi)
Task.PlayAnimNonInterruptable(159@, "FIN_COP2_CLIMBOUT", "FINALE2", 1000.0, False, False, False, True, -1)
Char.SetHealth(159@, 1000)
Char.SetAccuracy(159@, 5)
197@ = 3

:FINALEC_17478
if 
  197@ == 3
goto_if_false @FINALEC_17673
if 
  Char.IsPlayingAnim(159@, "FIN_COP2_CLIMBOUT")
goto_if_false @FINALEC_17673
170@ = Char.GetAnimCurrentTime(159@, "FIN_COP2_CLIMBOUT")
if 
  170@ == 1.0
goto_if_false @FINALEC_17673
TIMERB = 0
$rioters_fcflag = Char.GetHealth(159@)
if 
  $rioters_fcflag > 950
goto_if_false @FINALEC_17628
Char.SetHealth(159@, 1100)
goto @FINALEC_17636

:FINALEC_17628
Char.SetHealth(159@, 1050)

:FINALEC_17636
set_lvar_int_to_lvar_int 102@ = 159@
Char.SetProofs(159@, False, False, False, False, False)
gosub @FINALEC_57291
197@ = 4

:FINALEC_17673
if 
  197@ == 4
goto_if_false @FINALEC_17779
$rioters_fcflag = Char.GetHealth(159@)
if or
  1000 > $rioters_fcflag
  TIMERB > 60000
goto_if_false @FINALEC_17779
Char.DetachFromCar(159@)
Task.PlayAnimNonInterruptable(159@, "KO_SKID_BACK", "PED", 1000.0, False, True, True, True, -1)
197@ = 5

:FINALEC_17779
if 
  197@ == 5
goto_if_false @FINALEC_17856
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 159@, 30.0, 30.0, False)
goto_if_false @FINALEC_17856
if 
  not Char.IsOnScreen(159@)
goto_if_false @FINALEC_17856
Char.MarkAsNoLongerNeeded(159@)
197@ = 6

:FINALEC_17856
goto @FINALEC_17884

:FINALEC_17863
if 
  Char.DoesExist(159@)
goto_if_false @FINALEC_17884
Char.DetachFromCar(159@)

:FINALEC_17884
if 
  $8019 == 0
goto_if_false @FINALEC_18208
if 
  Car.Locate2D(152@, 2861.28, -1298.8, 25.0, 25.0, False)
goto_if_false @FINALEC_18208
217@ = Car.Create(596, 2816.01, -1186.56, 23.95)
Car.SetHeading(217@, 279.03)
Car.SetHealth(217@, 400)
Car.SetOnlyDamagedByPlayer(217@, True)
154@ = Char.CreateInsideCar(217@, PedType.Mission1, 280)
Char.SetDecisionMaker(154@, 97@)
Char.SetSuffersCriticalHits(154@, False)
Char.SetOnlyDamagedByPlayer(154@, True)
155@ = Char.CreateAsPassenger(217@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(155@, 97@)
Char.SetOnlyDamagedByPlayer(155@, True)
Char.GiveWeapon(155@, WeaponType.MicroUzi, 9999)
218@ = Car.Create(596, 2803.0, -1183.0, 26.0)
Car.SetHeading(218@, 261.0)
Car.SetHealth(218@, 600)
Car.SetOnlyDamagedByPlayer(218@, True)
156@ = Char.CreateInsideCar(218@, PedType.Mission1, 280)
Char.SetDecisionMaker(156@, 97@)
Char.SetSuffersCriticalHits(156@, False)
Char.SetOnlyDamagedByPlayer(156@, True)
207@ = Char.CreateAsPassenger(218@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(207@, 97@)
Char.SetOnlyDamagedByPlayer(207@, True)
Char.GiveWeapon(207@, WeaponType.MicroUzi, 9999)
Car.SetProofs(218@, False, True, True, False, False)
$8019 = 1

:FINALEC_18208
if 
  $8019 == 1
goto_if_false @FINALEC_18759
if 
  Car.Locate2D(152@, 2849.39, -1232.93, 20.0, 20.0, False)
goto_if_false @FINALEC_18759
if 
  not Car.IsDead(217@)
goto_if_false @FINALEC_18376
Car.StartPlayback(217@, 230)
Car.SwitchSiren(217@, True)
if 
  not Char.IsDead(155@)
goto_if_false @FINALEC_18347
Task.DriveBy(155@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 80)

:FINALEC_18347
247@ = Blip.AddForCar(217@)
Blip.ChangeDisplay(247@, BlipDisplay.BlipOnly)
249@ = 1
260@ = 1

:FINALEC_18376
if 
  not Car.IsDead(218@)
goto_if_false @FINALEC_18488
Car.SwitchSiren(218@, True)
Car.StartPlayback(218@, 231)
if 
  not Char.IsDead(207@)
goto_if_false @FINALEC_18459
Task.DriveBy(207@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 80)

:FINALEC_18459
248@ = Blip.AddForCar(218@)
Blip.ChangeDisplay(248@, BlipDisplay.BlipOnly)
250@ = 1
261@ = 1

:FINALEC_18488
206@ = 1
211@ = Car.Create(576, 2735.333, -1081.047, 69.033)
Car.SetHeading(211@, 37.918)
Car.SetHealth(211@, 275)
Car.SetOnlyDamagedByPlayer(211@, True)
34@ = Char.CreateInsideCar(211@, PedType.Mission1, 7)
Char.SetDecisionMaker(34@, 97@)
Char.SetOnlyDamagedByPlayer(34@, True)
35@ = Char.CreateAsPassenger(211@, PedType.Mission1, 7, 0)
Char.SetDecisionMaker(35@, 97@)
Char.SetOnlyDamagedByPlayer(35@, True)
Char.GiveWeapon(35@, WeaponType.MicroUzi, 9999)
Car.SetProofs(211@, False, True, True, False, False)
212@ = Car.Create(576, 2595.742, -1003.581, 75.038)
Car.SetHeading(212@, 180.0)
Car.SetOnlyDamagedByPlayer(212@, True)
36@ = Char.CreateInsideCar(212@, PedType.Mission1, 7)
Char.SetDecisionMaker(36@, 97@)
Char.SetSuffersCriticalHits(36@, False)
Char.SetOnlyDamagedByPlayer(36@, True)
37@ = Char.CreateAsPassenger(212@, PedType.Mission1, 7, 0)
Char.SetDecisionMaker(37@, 97@)
Char.SetOnlyDamagedByPlayer(37@, True)
Char.GiveWeapon(37@, WeaponType.MicroUzi, 9999)
Car.SetProofs(212@, False, True, True, False, False)
$8019 = 2

:FINALEC_18759
if 
  $8019 == 2
goto_if_false @FINALEC_19870
if 
  Car.Locate2D(153@, 2717.71, -1047.36, 20.0, 20.0, False)
goto_if_false @FINALEC_19870
Streaming.MarkModelAsNoLongerNeeded(596)
206@ = 2
if 
  not Car.IsDead(211@)
goto_if_false @FINALEC_18932
Car.StartPlayback(211@, 232)
if 
  not Char.IsDead(35@)
goto_if_false @FINALEC_18903
Task.DriveBy(35@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 60)

:FINALEC_18903
241@ = Blip.AddForCar(211@)
Blip.ChangeDisplay(241@, BlipDisplay.BlipOnly)
254@ = 1
265@ = 1

:FINALEC_18932
if 
  not Car.IsDead(212@)
goto_if_false @FINALEC_19037
Car.StartPlayback(212@, 233)
if 
  not Char.IsDead(37@)
goto_if_false @FINALEC_19008
Task.DriveBy(37@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 60)

:FINALEC_19008
242@ = Blip.AddForCar(212@)
Blip.ChangeDisplay(242@, BlipDisplay.BlipOnly)
255@ = 1
266@ = 1

:FINALEC_19037
208@ = Car.Create(576, 2707.499, -1329.559, 47.3)
Car.SetHeading(208@, 265.83)
Car.SetOnlyDamagedByPlayer(208@, True)
38@ = Char.CreateInsideCar(208@, PedType.Mission1, 110)
Char.SetDecisionMaker(38@, 97@)
Char.SetOnlyDamagedByPlayer(38@, True)
39@ = Char.CreateAsPassenger(208@, PedType.Mission1, 110, 0)
Char.SetDecisionMaker(39@, 97@)
Char.SetOnlyDamagedByPlayer(39@, True)
Char.GiveWeapon(39@, WeaponType.MicroUzi, 99999)
Car.SetProofs(208@, False, True, True, False, False)
Car.SetHealth(208@, 300)
209@ = Car.Create(576, 2759.875, -1373.294, 38.777)
Car.SetHeading(209@, 90.9)
Car.SetOnlyDamagedByPlayer(209@, True)
40@ = Char.CreateInsideCar(209@, PedType.Mission1, 110)
Char.SetDecisionMaker(40@, 97@)
Char.SetOnlyDamagedByPlayer(40@, True)
41@ = Char.CreateAsPassenger(209@, PedType.Mission1, 110, 0)
Char.SetDecisionMaker(41@, 97@)
Char.SetOnlyDamagedByPlayer(41@, True)
Char.GiveWeapon(41@, WeaponType.MicroUzi, 99999)
Car.SetProofs(209@, False, True, True, False, False)
Car.SetHealth(209@, 800)
169@ = Object.Create(#LA_FUCKCAR2, 2722.599, -1324.889, 49.47)
Object.SetDynamic(169@, True)
Object.SetHeading(169@, 83.325)
228@ = Char.Create(PedType.Mission1, 110, 2631.18, -1244.17, 50.58)
Char.SetHeading(228@, 62.09)
Char.SetProofs(228@, False, True, False, False, False)
Char.SetOnlyDamagedByPlayer(228@, True)
Char.SetHealth(228@, 10)
Char.SetDecisionMaker(228@, 97@)
Char.GiveWeapon(228@, WeaponType.Molotov, 9999)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_19459
set_lvar_int_to_lvar_int 102@ = 228@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_19459
232@ = Char.Create(PedType.Mission1, 110, 2646.11, -1193.27, 66.1)
Char.SetHeading(232@, 285.845)
Char.GiveWeapon(232@, WeaponType.Molotov, 9999)
Char.SetProofs(232@, False, True, False, False, False)
Char.SetHealth(232@, 10)
Char.SetDecisionMaker(232@, 97@)
set_lvar_int_to_lvar_int 102@ = 232@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
233@ = Char.Create(PedType.Mission1, 110, 2653.935, -1211.778, 61.667)
Char.SetHeading(233@, 360.0)
Char.GiveWeapon(233@, WeaponType.Molotov, 9999)
Char.SetProofs(233@, False, True, False, False, False)
Char.SetHealth(233@, 10)
Char.SetDecisionMaker(233@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_19669
set_lvar_int_to_lvar_int 102@ = 233@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_19669
234@ = Char.Create(PedType.Mission1, 110, 2664.336, -1173.326, 66.69)
Char.SetHeading(234@, 53.93)
Char.GiveWeapon(234@, WeaponType.Molotov, 9999)
Char.SetProofs(234@, False, True, False, False, False)
Char.SetHealth(234@, 10)
Char.SetDecisionMaker(234@, 97@)
set_lvar_int_to_lvar_int 102@ = 234@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
235@ = Char.Create(PedType.Mission1, 110, 2639.27, -1175.4, 66.5)
Char.SetHeading(235@, 2.3)
Char.GiveWeapon(235@, WeaponType.Molotov, 9999)
Char.SetProofs(235@, False, True, False, False, False)
Char.SetHealth(235@, 10)
Char.SetDecisionMaker(235@, 97@)
set_lvar_int_to_lvar_int 102@ = 232@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
$8019 = 3

:FINALEC_19870
if 
  $8019 == 3
goto_if_false @FINALEC_20150
if 
  Car.Locate2D(152@, 2737.48, -1309.88, 30.0, 30.0, False)
goto_if_false @FINALEC_20150
206@ = 3
if 
  not Car.IsDead(208@)
goto_if_false @FINALEC_20038
Car.StartPlayback(208@, 234)
if 
  not Char.IsDead(39@)
goto_if_false @FINALEC_20009
Task.DriveBy(39@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 80)

:FINALEC_20009
238@ = Blip.AddForCar(208@)
Blip.ChangeDisplay(238@, BlipDisplay.BlipOnly)
251@ = 1
262@ = 1

:FINALEC_20038
if 
  not Car.IsDead(209@)
goto_if_false @FINALEC_20143
Car.StartPlayback(209@, 235)
if 
  not Char.IsDead(41@)
goto_if_false @FINALEC_20114
Task.DriveBy(41@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 60)

:FINALEC_20114
239@ = Blip.AddForCar(209@)
Blip.ChangeDisplay(239@, BlipDisplay.BlipOnly)
252@ = 1
263@ = 1

:FINALEC_20143
$8019 = 4

:FINALEC_20150
if 
  $8019 == 4
goto_if_false @FINALEC_20605
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_20605
if 
  Car.Locate2D(153@, 2662.6, -1404.83, 20.0, 20.0, False)
goto_if_false @FINALEC_20605
206@ = 4
213@ = Car.Create(468, 2657.455, -1594.463, 12.685)
Car.SetHeading(213@, 85.0)
42@ = Char.CreateInsideCar(213@, PedType.Mission1, 110)
Char.SetDecisionMaker(42@, 97@)
Char.SetOnlyDamagedByPlayer(42@, True)
43@ = Char.CreateAsPassenger(213@, PedType.Mission1, 110, 0)
Char.SetDecisionMaker(43@, 97@)
Char.SetOnlyDamagedByPlayer(43@, True)
Char.GiveWeapon(43@, WeaponType.MicroUzi, 99999)
Car.SetOnlyDamagedByPlayer(213@, True)
Car.SetProofs(213@, False, True, True, False, False)
214@ = Car.Create(468, 2642.0, -1615.0, 19.0)
Car.SetHeading(214@, 181.0)
44@ = Char.CreateInsideCar(214@, PedType.Mission1, 110)
Char.SetDecisionMaker(44@, 97@)
Char.SetOnlyDamagedByPlayer(44@, True)
45@ = Char.CreateAsPassenger(214@, PedType.Mission1, 110, 0)
Char.SetDecisionMaker(45@, 97@)
Char.SetOnlyDamagedByPlayer(45@, True)
Char.GiveWeapon(45@, WeaponType.MicroUzi, 99999)
Car.SetOnlyDamagedByPlayer(214@, True)
Car.SetProofs(214@, False, True, True, False, False)
215@ = Car.Create(468, 2650.0, -1621.0, 19.0)
Car.SetHeading(215@, 170.0)
46@ = Char.CreateInsideCar(215@, PedType.Mission1, 110)
Char.SetDecisionMaker(46@, 97@)
Char.SetOnlyDamagedByPlayer(46@, True)
47@ = Char.CreateAsPassenger(215@, PedType.Mission1, 110, 0)
Char.SetDecisionMaker(47@, 97@)
Char.SetOnlyDamagedByPlayer(47@, True)
Char.GiveWeapon(47@, WeaponType.MicroUzi, 99999)
Car.SetOnlyDamagedByPlayer(215@, True)
Car.SetProofs(215@, False, True, True, False, False)
$8019 = 5

:FINALEC_20605
if 
  $8019 == 5
goto_if_false @FINALEC_21113
if 
  Car.Locate2D(152@, 2642.71, -1570.03, 20.0, 20.0, False)
goto_if_false @FINALEC_21113
206@ = 5
if 
  not Car.IsDead(213@)
goto_if_false @FINALEC_20773
Car.StartPlayback(213@, 236)
if 
  not Char.IsDead(43@)
goto_if_false @FINALEC_20744
Task.DriveBy(43@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 60)

:FINALEC_20744
243@ = Blip.AddForCar(213@)
Blip.ChangeDisplay(243@, BlipDisplay.BlipOnly)
256@ = 1
267@ = 1

:FINALEC_20773
if 
  not Car.IsDead(214@)
goto_if_false @FINALEC_20878
Car.StartPlayback(214@, 237)
if 
  not Char.IsDead(45@)
goto_if_false @FINALEC_20849
Task.DriveBy(45@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 60)

:FINALEC_20849
244@ = Blip.AddForCar(214@)
Blip.ChangeDisplay(244@, BlipDisplay.BlipOnly)
257@ = 1
268@ = 1

:FINALEC_20878
if 
  not Car.IsDead(215@)
goto_if_false @FINALEC_20983
Car.StartPlayback(215@, 238)
if 
  not Char.IsDead(47@)
goto_if_false @FINALEC_20954
Task.DriveBy(47@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 60)

:FINALEC_20954
245@ = Blip.AddForCar(215@)
Blip.ChangeDisplay(245@, BlipDisplay.BlipOnly)
258@ = 1
269@ = 1

:FINALEC_20983
210@ = Car.Create(576, 2704.0, -1654.0, 10.0)
Car.SetHeading(210@, 90.0)
Car.SetHealth(210@, 300)
221@ = Char.CreateInsideCar(210@, PedType.Mission1, 110)
Char.SetDecisionMaker(221@, 97@)
Char.SetSuffersCriticalHits(221@, False)
Char.SetOnlyDamagedByPlayer(221@, True)
222@ = Char.CreateAsPassenger(210@, PedType.Mission1, 110, 0)
Char.SetDecisionMaker(222@, 97@)
Char.SetOnlyDamagedByPlayer(222@, True)
Char.GiveWeapon(222@, WeaponType.MicroUzi, 99999)
Car.SetOnlyDamagedByPlayer(210@, True)
$8019 = 6

:FINALEC_21113
if 
  $8019 == 6
goto_if_false @FINALEC_21281
if 
  Car.Locate2D(153@, 2642.98, -1619.8, 20.0, 20.0, False)
goto_if_false @FINALEC_21281
if 
  not Car.IsDead(210@)
goto_if_false @FINALEC_21274
Car.StartPlayback(210@, 239)
if 
  not Char.IsDead(222@)
goto_if_false @FINALEC_21245
Task.DriveBy(222@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 60)

:FINALEC_21245
240@ = Blip.AddForCar(210@)
Blip.ChangeDisplay(240@, BlipDisplay.BlipOnly)
253@ = 1
264@ = 1

:FINALEC_21274
$8019 = 7

:FINALEC_21281
if 
  $8019 == 7
goto_if_false @FINALEC_21428
if 
  Car.Locate2D(152@, 2407.93, -1918.34, 15.0, 15.0, False)
goto_if_false @FINALEC_21428
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Car.SetProofs(153@, True, True, True, True, True)
Camera.SetFixedPosition(2409.032, -1921.426, 14.0992, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2408.994, -1920.431, 14.0044, SwitchType.JumpCut)
TIMERA = 0
$8019 = 8

:FINALEC_21428
if 
  $8019 == 8
goto_if_false @FINALEC_21694
if 
  TIMERA > 5000
goto_if_false @FINALEC_21694
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
Char.Delete(158@)
Char.Delete(159@)
Streaming.RequestCarRecording(241)
Streaming.RequestCarRecording(242)
Streaming.RequestCarRecording(243)
Streaming.RequestCarRecording(244)
Streaming.RequestCarRecording(245)
Streaming.RequestCarRecording(246)
Streaming.RequestCarRecording(247)
Streaming.RequestCarRecording(248)
Streaming.RequestCarRecording(249)
Streaming.RequestCarRecording(229)
Streaming.RequestModel(596)
Streaming.LoadAllModelsNow

:FINALEC_21538
if or
  not Streaming.HasModelLoaded(596)
  not Streaming.HasCarRecordingBeenLoaded(241)
  not Streaming.HasCarRecordingBeenLoaded(242)
  not Streaming.HasCarRecordingBeenLoaded(243)
  not Streaming.HasCarRecordingBeenLoaded(244)
goto_if_false @FINALEC_21585
wait 0
goto @FINALEC_21538

:FINALEC_21585
if or
  not Streaming.HasCarRecordingBeenLoaded(245)
  not Streaming.HasCarRecordingBeenLoaded(246)
  not Streaming.HasCarRecordingBeenLoaded(247)
  not Streaming.HasCarRecordingBeenLoaded(248)
  not Streaming.HasCarRecordingBeenLoaded(249)
goto_if_false @FINALEC_21632
wait 0
goto @FINALEC_21585

:FINALEC_21632
if 
  not Streaming.HasCarRecordingBeenLoaded(229)
goto_if_false @FINALEC_21659
wait 0
goto @FINALEC_21632

:FINALEC_21659
Streaming.RemoveAnimation("FINALE")
Streaming.RemoveAnimation("FINALE2")
$8018 = 2
$8019 = 9

:FINALEC_21694
if 
  $8020 == 1
goto_if_false @FINALEC_22891
if 
  Car.Locate2D(152@, 2835.29, -1049.49, 20.0, 20.0, False)
goto_if_false @FINALEC_22891
165@ = Object.Create(#LA_FUCKCAR2, 2806.984, -1057.249, 27.0)
Object.SetDynamic(165@, True)
Object.SetHeading(165@, 189.735)
61@ = ScriptFire.Start(2806.984, -1055.249, 28.6, 0, 2)
223@ = Char.Create(PedType.Mission1, 110, 2798.46, -1055.99, 30.43)
Char.SetHeading(223@, 285.845)
Char.GiveWeapon(223@, WeaponType.Molotov, 9999)
Char.SetProofs(223@, False, True, False, False, False)
Char.SetHealth(223@, 10)
Char.SetDecisionMaker(223@, 97@)
set_lvar_int_to_lvar_int 102@ = 223@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
237@ = Car.Create(576, 2785.06, -1043.915, 35.916)
Car.SetHeading(237@, 4.2)
Car.SetHealth(237@, 250)
Car.SetOnlyDamagedByPlayer(237@, True)
224@ = Char.Create(PedType.Mission1, 110, 2774.56, -1011.43, 58.08)
Char.SetHeading(224@, 285.845)
Char.SetProofs(224@, False, True, False, False, False)
Char.SetHealth(224@, 10)
Char.SetDecisionMaker(224@, 97@)
Char.GiveWeapon(224@, WeaponType.Molotov, 9999)
set_lvar_int_to_lvar_int 102@ = 224@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
226@ = Char.Create(PedType.Mission1, 110, 2782.984, -1041.284, 36.62)
Char.SetHeading(226@, 285.845)
Char.GiveWeapon(226@, WeaponType.Molotov, 9999)
Char.SetProofs(226@, False, True, False, False, False)
Char.SetHealth(226@, 10)
Char.SetDecisionMaker(226@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_22169
set_lvar_int_to_lvar_int 102@ = 226@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_22169
227@ = Char.Create(PedType.Mission1, 110, 2749.393, -1063.34, 53.0)
Char.SetHeading(227@, 309.534)
Char.SetProofs(227@, False, True, False, False, False)
Char.SetHealth(227@, 10)
Char.SetDecisionMaker(227@, 97@)
Char.GiveWeapon(227@, WeaponType.Molotov, 9999)
if 
  not Char.IsDead(154@)
goto_if_false @FINALEC_22289
set_lvar_int_to_lvar_int 102@ = 227@
set_lvar_int_to_lvar_int 107@ = 154@
gosub @FINALEC_57209
goto @FINALEC_22328

:FINALEC_22289
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_22328
set_lvar_int_to_lvar_int 102@ = 227@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_22328
167@ = Object.Create(#LA_FUCKCAR2, 2688.94, -1054.034, 69.57)
Object.SetDynamic(167@, True)
Object.SetHeading(167@, 210.579)
62@ = ScriptFire.Start(2806.984, -1055.249, 28.6, 0, 2)
63@ = ScriptFire.Start(2807.984, -1056.249, 28.6, 0, 1)
229@ = Char.Create(PedType.Mission1, 110, 2724.045, -1058.115, 69.88)
Char.SetHeading(229@, 360.0)
Char.GiveWeapon(229@, WeaponType.Molotov, 9999)
Char.SetProofs(229@, False, True, False, False, False)
Char.SetHealth(229@, 10)
Char.SetDecisionMaker(229@, 97@)
set_lvar_int_to_lvar_int 102@ = 224@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
230@ = Char.Create(PedType.Mission1, 110, 2632.0, -114.0, 68.0)
Char.SetHeading(230@, 254.974)
Char.GiveWeapon(230@, WeaponType.Molotov, 9999)
Char.SetProofs(230@, False, True, False, False, False)
Char.SetHealth(230@, 10)
Char.SetDecisionMaker(230@, 97@)
set_lvar_int_to_lvar_int 102@ = 230@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
168@ = Object.Create(#LA_FUCKCAR2, 2650.39, -1056.09, 69.66)
Object.SetDynamic(168@, True)
Object.SetHeading(168@, 228.58)
64@ = ScriptFire.Start(2650.39, -1056.09, 69.66, 0, 2)
231@ = Char.Create(PedType.Mission1, 110, 2649.78, -1052.49, 69.44)
Char.SetHeading(231@, 254.974)
Char.GiveWeapon(231@, WeaponType.Molotov, 9999)
Char.SetProofs(231@, False, True, False, False, False)
Char.SetHealth(231@, 10)
Char.SetDecisionMaker(231@, 97@)
set_lvar_int_to_lvar_int 102@ = 231@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
228@ = Char.Create(PedType.Mission1, 110, 2650.4, -1115.05, 67.12)
Char.SetHeading(228@, 360.0)
Char.GiveWeapon(228@, WeaponType.Molotov, 9999)
Char.SetProofs(228@, False, True, False, False, False)
Char.SetHealth(228@, 10)
Char.SetDecisionMaker(228@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_22884
set_lvar_int_to_lvar_int 102@ = 228@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_22884
$8020 = 2

:FINALEC_22891
if 
  $8020 == 2
goto_if_false @FINALEC_23021
if 
  Car.Locate2D(153@, 2642.81, -1193.87, 20.0, 20.0, False)
goto_if_false @FINALEC_23021
Object.Delete(165@)
Char.Delete(223@)
Car.MarkAsNoLongerNeeded(237@)
Car.Delete(237@)
Char.Delete(224@)
Char.Delete(226@)
Char.Delete(227@)
Object.Delete(167@)
Char.Delete(229@)
Object.Delete(168@)
Char.Delete(231@)
Char.Delete(228@)
Char.Delete(230@)
World.RemoveAllScriptFires
$8020 = 3

:FINALEC_23021
if 
  $8020 == 3
goto_if_false @FINALEC_24102
if 
  Car.Locate2D(153@, 2723.81, -1275.64, 20.0, 20.0, False)
goto_if_false @FINALEC_24102
Char.Delete(232@)
Char.Delete(233@)
Char.Delete(234@)
Char.Delete(235@)
if 
  not Car.IsDead(212@)
goto_if_false @FINALEC_23128
Car.SetHealth(212@, 250)
Car.SetOnlyDamagedByPlayer(212@, False)

:FINALEC_23128
223@ = Char.Create(PedType.Mission1, 110, 2718.29, -1324.342, 48.5)
Char.SetHeading(223@, 352.57)
Char.GiveWeapon(223@, WeaponType.Molotov, 9999)
Char.SetProofs(223@, False, True, False, False, False)
Char.SetHealth(223@, 10)
Char.SetDecisionMaker(223@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_23241
set_lvar_int_to_lvar_int 102@ = 223@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_23241
224@ = Char.Create(PedType.Mission1, 110, 2726.95, -1324.49, 49.5)
Char.SetHeading(224@, 327.185)
Char.SetProofs(224@, False, True, False, False, False)
Char.SetHealth(224@, 10)
Char.SetDecisionMaker(224@, 97@)
Char.GiveWeapon(224@, WeaponType.Molotov, 9999)
set_lvar_int_to_lvar_int 102@ = 224@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
226@ = Char.Create(PedType.Mission1, 110, 2710.591, -1315.29, 74.34)
Char.SetHeading(226@, 303.711)
Char.GiveWeapon(226@, WeaponType.Molotov, 9999)
Char.SetProofs(226@, False, True, False, False, False)
Char.SetHealth(226@, 10)
Char.SetDecisionMaker(226@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_23451
set_lvar_int_to_lvar_int 102@ = 226@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_23451
227@ = Char.Create(PedType.Mission1, 110, 2748.244, -1375.115, 49.5)
Char.SetHeading(227@, 309.534)
Char.SetProofs(227@, False, True, False, False, False)
Char.SetHealth(227@, 10)
Char.SetDecisionMaker(227@, 97@)
Char.GiveWeapon(227@, WeaponType.Molotov, 9999)
set_lvar_int_to_lvar_int 102@ = 227@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
228@ = Char.Create(PedType.Mission1, 110, 2750.615, -1388.75, 39.0)
Char.SetHeading(228@, 62.09)
Char.SetProofs(228@, False, True, False, False, False)
Char.SetHealth(228@, 10)
Char.SetDecisionMaker(228@, 97@)
Char.GiveWeapon(228@, WeaponType.Molotov, 9999)
set_lvar_int_to_lvar_int 102@ = 227@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
229@ = Char.Create(PedType.Mission1, 110, 2713.137, -1448.169, 41.95)
Char.SetHeading(229@, 267.04)
Char.GiveWeapon(229@, WeaponType.Molotov, 9999)
Char.SetProofs(229@, False, True, False, False, False)
Char.SetHealth(229@, 10)
Char.SetDecisionMaker(229@, 97@)
set_lvar_int_to_lvar_int 102@ = 229@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
230@ = Char.Create(PedType.Mission1, 110, 2711.935, -1399.32, 54.0)
Char.SetHeading(230@, 295.712)
Char.GiveWeapon(230@, WeaponType.Molotov, 9999)
Char.SetProofs(230@, False, True, False, False, False)
Char.SetHealth(230@, 10)
Char.SetDecisionMaker(230@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_23855
set_lvar_int_to_lvar_int 102@ = 230@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_23855
231@ = Char.Create(PedType.Mission1, 110, 2754.71, -1309.956, 70.0)
Char.SetHeading(231@, 77.189)
Char.GiveWeapon(231@, WeaponType.Molotov, 9999)
Char.SetProofs(231@, False, True, False, False, False)
Char.SetHealth(231@, 10)
Char.SetDecisionMaker(231@, 97@)
set_lvar_int_to_lvar_int 102@ = 231@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
232@ = Char.Create(PedType.Mission1, 110, 2750.615, -1419.473, 38.5)
Char.SetHeading(232@, 77.189)
Char.GiveWeapon(232@, WeaponType.Molotov, 9999)
Char.SetProofs(232@, False, True, False, False, False)
Char.SetHealth(232@, 10)
Char.SetDecisionMaker(232@, 97@)
if 
  not Char.IsDead(40@)
goto_if_false @FINALEC_24072
set_lvar_int_to_lvar_int 102@ = 232@
set_lvar_int_to_lvar_int 107@ = 40@
gosub @FINALEC_57209
goto @FINALEC_24095

:FINALEC_24072
set_lvar_int_to_lvar_int 102@ = 232@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209

:FINALEC_24095
$8020 = 4

:FINALEC_24102
if 
  $8020 == 4
goto_if_false @FINALEC_24926
if 
  Car.Locate2D(153@, 2682.55, -1494.04, 20.0, 20.0, False)
goto_if_false @FINALEC_24926
Char.Delete(223@)
Char.Delete(224@)
Char.Delete(226@)
Char.Delete(227@)
Char.Delete(228@)
Char.Delete(229@)
Char.Delete(230@)
Char.Delete(231@)
Char.Delete(232@)
Object.Delete(165@)
World.RemoveAllScriptFires
165@ = Object.Create(#LA_FUCKCAR2, 2649.194, -1514.185, 26.6789)
Object.SetHeading(165@, 329.3793)
Object.SetDynamic(165@, True)
237@ = Car.Create(576, 2638.988, -1555.943, 18.9832)
Car.SetHeading(237@, 290.7073)
Car.SetHealth(237@, 250)
Car.SetOnlyDamagedByPlayer(237@, True)
167@ = Object.Create(#LA_FUCKCAR2, 2635.097, -1576.996, 15.3271)
Object.SetHeading(167@, 77.161)
Object.SetDynamic(167@, True)
168@ = Object.Create(#LA_FUCKCAR2, 2650.395, -1586.538, 13.6033)
Object.SetHeading(168@, 295.7696)
Object.SetDynamic(168@, True)
169@ = Object.Create(#LA_FUCKCAR2, 2649.939, -1629.937, 9.8785)
Object.SetHeading(169@, 270.0938)
Object.SetDynamic(169@, True)
223@ = Char.Create(PedType.Mission1, 110, 2647.583, -1518.547, 25.7427)
Char.SetHeading(223@, 12.7483)
Char.GiveWeapon(223@, WeaponType.Molotov, 9999)
Char.SetProofs(223@, False, True, False, False, False)
Char.SetHealth(223@, 10)
Char.SetDecisionMaker(223@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_24531
set_lvar_int_to_lvar_int 102@ = 223@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_24531
224@ = Char.Create(PedType.Mission1, 110, 2651.045, -1515.111, 26.5111)
Char.SetHeading(224@, 12.4201)
Char.GiveWeapon(224@, WeaponType.Molotov, 9999)
Char.SetProofs(224@, False, True, False, False, False)
Char.SetHealth(224@, 10)
Char.SetDecisionMaker(224@, 97@)
set_lvar_int_to_lvar_int 102@ = 224@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
225@ = Char.Create(PedType.Mission1, 110, 2636.188, -1559.397, 18.5108)
Char.SetHeading(225@, 276.3582)
Char.GiveWeapon(225@, WeaponType.Molotov, 9999)
Char.SetProofs(225@, False, True, False, False, False)
Char.SetHealth(225@, 10)
Char.SetDecisionMaker(225@, 97@)
set_lvar_int_to_lvar_int 102@ = 225@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
226@ = Char.Create(PedType.Mission1, 110, 2641.418, -1558.004, 18.6112)
Char.SetHeading(226@, 339.6795)
Char.GiveWeapon(226@, WeaponType.MicroUzi, 9999)
Char.SetProofs(226@, False, True, False, False, False)
Char.SetHealth(226@, 10)
Char.SetDecisionMaker(226@, 97@)
set_lvar_int_to_lvar_int 102@ = 226@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
227@ = Char.Create(PedType.Mission1, 110, 2649.325, -1589.41, 13.0846)
Char.SetHeading(227@, 318.9207)
Char.GiveWeapon(227@, WeaponType.MicroUzi, 9999)
Char.SetProofs(227@, False, True, False, False, False)
Char.SetHealth(227@, 10)
Char.SetDecisionMaker(227@, 97@)
set_lvar_int_to_lvar_int 102@ = 227@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
$8020 = 5

:FINALEC_24926
if 
  $8020 == 5
goto_if_false @FINALEC_26046
if 
  Car.Locate2D(153@, 2652.95, -1404.16, 20.0, 20.0, False)
goto_if_false @FINALEC_26046
61@ = ScriptFire.Start(2641.66, -1514.55, 26.82, 0, 2)
61@ = ScriptFire.Start(2638.68, -1515.3, 26.5, 0, 3)
61@ = ScriptFire.Start(2641.58, -1538.54, 22.46, 0, 3)
61@ = ScriptFire.Start(2635.64, -1605.36, 10.7, 0, 2)
61@ = ScriptFire.Start(2643.52, -1599.47, 18.71, 0, 3)
228@ = Char.Create(PedType.Mission1, 110, 2647.583, -1518.547, 25.7427)
Char.SetHeading(228@, 12.7483)
Char.GiveWeapon(228@, WeaponType.Molotov, 9999)
Char.SetProofs(228@, False, True, False, False, False)
Char.SetHealth(228@, 10)
Char.SetDecisionMaker(228@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_25215
set_lvar_int_to_lvar_int 102@ = 228@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_25215
229@ = Char.Create(PedType.Mission1, 110, 2652.515, -1587.552, 13.4203)
Char.SetHeading(229@, 12.4201)
Char.GiveWeapon(229@, WeaponType.Molotov, 9999)
Char.SetProofs(229@, False, True, False, False, False)
Char.SetHealth(229@, 10)
Char.SetDecisionMaker(229@, 97@)
set_lvar_int_to_lvar_int 102@ = 229@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
230@ = Char.Create(PedType.Mission1, 110, 2647.368, -1629.595, 9.727)
Char.SetHeading(230@, 276.3582)
Char.GiveWeapon(230@, WeaponType.MicroUzi, 9999)
Char.SetProofs(230@, False, True, False, False, False)
Char.SetHealth(230@, 10)
Char.SetDecisionMaker(230@, 97@)
set_lvar_int_to_lvar_int 102@ = 230@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
231@ = Char.Create(PedType.Mission1, 110, 2651.148, -1631.916, 9.8767)
Char.SetHeading(231@, 339.6795)
Char.GiveWeapon(231@, WeaponType.Molotov, 9999)
Char.SetProofs(231@, False, True, False, False, False)
Char.SetHealth(231@, 10)
Char.SetDecisionMaker(231@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_25522
set_lvar_int_to_lvar_int 102@ = 231@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_25522
232@ = Char.Create(PedType.Mission1, 110, 2635.932, -1598.666, 18.7482)
Char.SetHeading(232@, 318.9207)
Char.GiveWeapon(232@, WeaponType.Molotov, 9999)
Char.SetProofs(232@, False, True, False, False, False)
Char.SetHealth(232@, 10)
Char.SetDecisionMaker(232@, 97@)
set_lvar_int_to_lvar_int 102@ = 232@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
233@ = Char.Create(PedType.Mission1, 110, 2650.494, -1600.365, 18.1152)
Char.SetHeading(233@, 318.9207)
Char.GiveWeapon(233@, WeaponType.Molotov, 9999)
Char.SetProofs(233@, False, True, False, False, False)
Char.SetHealth(233@, 10)
Char.SetDecisionMaker(233@, 97@)
set_lvar_int_to_lvar_int 102@ = 233@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
234@ = Char.Create(PedType.Mission1, 110, 2635.932, -1598.666, 18.7482)
Char.SetHeading(234@, 318.9207)
Char.GiveWeapon(234@, WeaponType.Molotov, 9999)
Char.SetProofs(234@, False, True, False, False, False)
Char.SetHealth(234@, 10)
Char.SetDecisionMaker(234@, 97@)
set_lvar_int_to_lvar_int 102@ = 234@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
235@ = Char.Create(PedType.Mission1, 110, 2646.598, -1599.905, 18.295)
Char.SetHeading(235@, 318.9207)
Char.GiveWeapon(235@, WeaponType.Molotov, 9999)
Char.SetProofs(235@, False, True, False, False, False)
Char.SetHealth(235@, 10)
Char.SetDecisionMaker(235@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_25926
set_lvar_int_to_lvar_int 102@ = 235@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_25926
236@ = Char.Create(PedType.Mission1, 110, 2634.689, -1629.506, 18.7081)
Char.SetHeading(236@, 318.9207)
Char.GiveWeapon(236@, WeaponType.Molotov, 9999)
Char.SetProofs(236@, False, True, False, False, False)
Char.SetHealth(236@, 10)
Char.SetDecisionMaker(236@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_26039
set_lvar_int_to_lvar_int 102@ = 236@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_26039
$8020 = 6

:FINALEC_26046
if 
  $8020 == 6
goto_if_false @FINALEC_26201
if 
  Car.Locate2D(153@, 2598.57, -1729.65, 20.0, 20.0, False)
goto_if_false @FINALEC_26201
Char.Delete(223@)
Char.Delete(224@)
Char.Delete(226@)
Char.Delete(227@)
Char.Delete(228@)
Char.Delete(229@)
Char.Delete(230@)
Char.Delete(231@)
Char.Delete(232@)
Char.Delete(233@)
Char.Delete(234@)
Char.Delete(235@)
Char.Delete(236@)
Car.Delete(237@)
Object.Delete(165@)
Object.Delete(167@)
Object.Delete(168@)
Object.Delete(169@)
World.RemoveAllScriptFires
$8020 = 7

:FINALEC_26201
if 
  260@ == 1
goto_if_false @FINALEC_26353
if 
  not Car.IsDead(217@)
goto_if_false @FINALEC_26353
if 
  not Char.IsDead(154@)
goto_if_false @FINALEC_26258
goto @FINALEC_26353

:FINALEC_26258
if 
  not Char.IsDead(155@)
goto_if_false @FINALEC_26341
if 
  Char.IsInCar(155@, 217@)
goto_if_false @FINALEC_26334
219@ = Car.GetDriver(217@)
if 
  219@ == -1
goto_if_false @FINALEC_26334
Task.ShuffleToNextCarSeat(155@, 217@)
260@ = 2

:FINALEC_26334
goto @FINALEC_26353

:FINALEC_26341
Car.StopPlayback(217@)
260@ = 2

:FINALEC_26353
if 
  260@ == 2
goto_if_false @FINALEC_26399
if 
  Char.IsDead(155@)
goto_if_false @FINALEC_26399
Car.StopPlayback(217@)
260@ = 3

:FINALEC_26399
if 
  249@ == 1
goto_if_false @FINALEC_26515
if 
  not Car.IsDead(217@)
goto_if_false @FINALEC_26483
if 
  not Car.IsPlaybackGoingOn(217@)
goto_if_false @FINALEC_26476
Car.MarkAsNoLongerNeeded(217@)
Char.MarkAsNoLongerNeeded(154@)
Char.MarkAsNoLongerNeeded(155@)
Blip.Remove(247@)
249@ = 2

:FINALEC_26476
goto @FINALEC_26515

:FINALEC_26483
Car.StopPlayback(217@)
Char.MarkAsNoLongerNeeded(154@)
Char.MarkAsNoLongerNeeded(155@)
Car.MarkAsNoLongerNeeded(217@)
Blip.Remove(247@)
249@ = 2

:FINALEC_26515
if 
  261@ == 1
goto_if_false @FINALEC_26667
if 
  not Car.IsDead(218@)
goto_if_false @FINALEC_26667
if 
  not Char.IsDead(156@)
goto_if_false @FINALEC_26572
goto @FINALEC_26667

:FINALEC_26572
if 
  not Char.IsDead(207@)
goto_if_false @FINALEC_26655
if 
  Char.IsInCar(207@, 218@)
goto_if_false @FINALEC_26648
219@ = Car.GetDriver(218@)
if 
  219@ == -1
goto_if_false @FINALEC_26648
Task.ShuffleToNextCarSeat(207@, 218@)
261@ = 2

:FINALEC_26648
goto @FINALEC_26667

:FINALEC_26655
Car.StopPlayback(218@)
261@ = 2

:FINALEC_26667
if 
  261@ == 2
goto_if_false @FINALEC_26713
if 
  Char.IsDead(207@)
goto_if_false @FINALEC_26713
Car.StopPlayback(218@)
261@ = 3

:FINALEC_26713
if 
  250@ == 1
goto_if_false @FINALEC_26829
if 
  not Car.IsDead(218@)
goto_if_false @FINALEC_26797
if 
  not Car.IsPlaybackGoingOn(218@)
goto_if_false @FINALEC_26790
Car.MarkAsNoLongerNeeded(218@)
Char.MarkAsNoLongerNeeded(156@)
Char.MarkAsNoLongerNeeded(207@)
Blip.Remove(248@)
250@ = 2

:FINALEC_26790
goto @FINALEC_26829

:FINALEC_26797
Car.StopPlayback(218@)
Char.MarkAsNoLongerNeeded(156@)
Char.MarkAsNoLongerNeeded(207@)
Car.MarkAsNoLongerNeeded(218@)
Blip.Remove(248@)
250@ = 2

:FINALEC_26829
if 
  265@ == 1
goto_if_false @FINALEC_26981
if 
  not Car.IsDead(211@)
goto_if_false @FINALEC_26981
if 
  not Char.IsDead(34@)
goto_if_false @FINALEC_26886
goto @FINALEC_26981

:FINALEC_26886
if 
  not Char.IsDead(35@)
goto_if_false @FINALEC_26969
if 
  Char.IsInCar(35@, 211@)
goto_if_false @FINALEC_26962
219@ = Car.GetDriver(211@)
if 
  219@ == -1
goto_if_false @FINALEC_26962
Task.ShuffleToNextCarSeat(35@, 211@)
265@ = 2

:FINALEC_26962
goto @FINALEC_26981

:FINALEC_26969
Car.StopPlayback(211@)
265@ = 2

:FINALEC_26981
if 
  265@ == 2
goto_if_false @FINALEC_27027
if 
  Char.IsDead(35@)
goto_if_false @FINALEC_27027
Car.StopPlayback(211@)
265@ = 3

:FINALEC_27027
if 
  254@ == 1
goto_if_false @FINALEC_27143
if 
  not Car.IsDead(211@)
goto_if_false @FINALEC_27111
if 
  not Car.IsPlaybackGoingOn(211@)
goto_if_false @FINALEC_27104
Car.MarkAsNoLongerNeeded(211@)
Char.MarkAsNoLongerNeeded(34@)
Char.MarkAsNoLongerNeeded(35@)
Blip.Remove(241@)
254@ = 2

:FINALEC_27104
goto @FINALEC_27143

:FINALEC_27111
Car.StopPlayback(211@)
Char.MarkAsNoLongerNeeded(34@)
Char.MarkAsNoLongerNeeded(35@)
Car.MarkAsNoLongerNeeded(211@)
Blip.Remove(241@)
254@ = 2

:FINALEC_27143
if 
  266@ == 1
goto_if_false @FINALEC_27295
if 
  not Car.IsDead(212@)
goto_if_false @FINALEC_27295
if 
  not Char.IsDead(36@)
goto_if_false @FINALEC_27200
goto @FINALEC_27295

:FINALEC_27200
if 
  not Char.IsDead(37@)
goto_if_false @FINALEC_27283
if 
  Char.IsInCar(37@, 212@)
goto_if_false @FINALEC_27276
219@ = Car.GetDriver(212@)
if 
  219@ == -1
goto_if_false @FINALEC_27276
Task.ShuffleToNextCarSeat(37@, 212@)
266@ = 2

:FINALEC_27276
goto @FINALEC_27295

:FINALEC_27283
Car.StopPlayback(212@)
266@ = 2

:FINALEC_27295
if 
  266@ == 2
goto_if_false @FINALEC_27341
if 
  Char.IsDead(37@)
goto_if_false @FINALEC_27341
Car.StopPlayback(212@)
266@ = 3

:FINALEC_27341
if 
  255@ == 1
goto_if_false @FINALEC_27457
if 
  not Car.IsDead(212@)
goto_if_false @FINALEC_27425
if 
  not Car.IsPlaybackGoingOn(212@)
goto_if_false @FINALEC_27418
Car.MarkAsNoLongerNeeded(212@)
Char.MarkAsNoLongerNeeded(36@)
Char.MarkAsNoLongerNeeded(37@)
Blip.Remove(242@)
255@ = 2

:FINALEC_27418
goto @FINALEC_27457

:FINALEC_27425
Car.StopPlayback(212@)
Char.MarkAsNoLongerNeeded(36@)
Char.MarkAsNoLongerNeeded(37@)
Car.MarkAsNoLongerNeeded(212@)
Blip.Remove(242@)
255@ = 2

:FINALEC_27457
if 
  262@ == 1
goto_if_false @FINALEC_27609
if 
  not Car.IsDead(208@)
goto_if_false @FINALEC_27609
if 
  not Char.IsDead(38@)
goto_if_false @FINALEC_27514
goto @FINALEC_27609

:FINALEC_27514
if 
  not Char.IsDead(39@)
goto_if_false @FINALEC_27597
if 
  Char.IsInCar(39@, 208@)
goto_if_false @FINALEC_27590
219@ = Car.GetDriver(208@)
if 
  219@ == -1
goto_if_false @FINALEC_27590
Task.ShuffleToNextCarSeat(39@, 208@)
262@ = 2

:FINALEC_27590
goto @FINALEC_27609

:FINALEC_27597
Car.StopPlayback(208@)
262@ = 2

:FINALEC_27609
if 
  262@ == 2
goto_if_false @FINALEC_27655
if 
  Char.IsDead(39@)
goto_if_false @FINALEC_27655
Car.StopPlayback(208@)
262@ = 3

:FINALEC_27655
if 
  251@ == 1
goto_if_false @FINALEC_27771
if 
  not Car.IsDead(208@)
goto_if_false @FINALEC_27739
if 
  not Car.IsPlaybackGoingOn(208@)
goto_if_false @FINALEC_27732
Car.MarkAsNoLongerNeeded(208@)
Char.MarkAsNoLongerNeeded(38@)
Char.MarkAsNoLongerNeeded(39@)
Blip.Remove(238@)
251@ = 2

:FINALEC_27732
goto @FINALEC_27771

:FINALEC_27739
Car.StopPlayback(208@)
Char.MarkAsNoLongerNeeded(38@)
Char.MarkAsNoLongerNeeded(39@)
Car.MarkAsNoLongerNeeded(208@)
Blip.Remove(238@)
251@ = 2

:FINALEC_27771
if 
  263@ == 1
goto_if_false @FINALEC_27923
if 
  not Car.IsDead(209@)
goto_if_false @FINALEC_27923
if 
  not Char.IsDead(40@)
goto_if_false @FINALEC_27828
goto @FINALEC_27923

:FINALEC_27828
if 
  not Char.IsDead(41@)
goto_if_false @FINALEC_27911
if 
  Char.IsInCar(41@, 209@)
goto_if_false @FINALEC_27904
219@ = Car.GetDriver(209@)
if 
  219@ == -1
goto_if_false @FINALEC_27904
Task.ShuffleToNextCarSeat(41@, 209@)
263@ = 2

:FINALEC_27904
goto @FINALEC_27923

:FINALEC_27911
Car.StopPlayback(209@)
263@ = 2

:FINALEC_27923
if 
  263@ == 2
goto_if_false @FINALEC_27969
if 
  Char.IsDead(41@)
goto_if_false @FINALEC_27969
Car.StopPlayback(209@)
263@ = 3

:FINALEC_27969
if 
  252@ == 1
goto_if_false @FINALEC_28085
if 
  not Car.IsDead(209@)
goto_if_false @FINALEC_28053
if 
  not Car.IsPlaybackGoingOn(209@)
goto_if_false @FINALEC_28046
Car.MarkAsNoLongerNeeded(209@)
Char.MarkAsNoLongerNeeded(40@)
Char.MarkAsNoLongerNeeded(41@)
Blip.Remove(239@)
252@ = 2

:FINALEC_28046
goto @FINALEC_28085

:FINALEC_28053
Car.StopPlayback(209@)
Char.MarkAsNoLongerNeeded(40@)
Char.MarkAsNoLongerNeeded(41@)
Car.MarkAsNoLongerNeeded(209@)
Blip.Remove(239@)
252@ = 2

:FINALEC_28085
if 
  264@ == 1
goto_if_false @FINALEC_28237
if 
  not Car.IsDead(210@)
goto_if_false @FINALEC_28237
if 
  not Char.IsDead(221@)
goto_if_false @FINALEC_28142
goto @FINALEC_28237

:FINALEC_28142
if 
  not Char.IsDead(222@)
goto_if_false @FINALEC_28225
if 
  Char.IsInCar(222@, 210@)
goto_if_false @FINALEC_28218
219@ = Car.GetDriver(210@)
if 
  219@ == -1
goto_if_false @FINALEC_28218
Task.ShuffleToNextCarSeat(222@, 210@)
264@ = 2

:FINALEC_28218
goto @FINALEC_28237

:FINALEC_28225
Car.StopPlayback(210@)
264@ = 2

:FINALEC_28237
if 
  264@ == 2
goto_if_false @FINALEC_28283
if 
  Char.IsDead(222@)
goto_if_false @FINALEC_28283
Car.StopPlayback(210@)
264@ = 3

:FINALEC_28283
if 
  253@ == 1
goto_if_false @FINALEC_28399
if 
  not Car.IsDead(210@)
goto_if_false @FINALEC_28367
if 
  not Car.IsPlaybackGoingOn(210@)
goto_if_false @FINALEC_28360
Car.MarkAsNoLongerNeeded(210@)
Char.MarkAsNoLongerNeeded(221@)
Char.MarkAsNoLongerNeeded(222@)
Blip.Remove(240@)
253@ = 2

:FINALEC_28360
goto @FINALEC_28399

:FINALEC_28367
Car.StopPlayback(210@)
Char.MarkAsNoLongerNeeded(221@)
Char.MarkAsNoLongerNeeded(222@)
Car.MarkAsNoLongerNeeded(210@)
Blip.Remove(240@)
253@ = 2

:FINALEC_28399
if 
  267@ == 1
goto_if_false @FINALEC_28611
if 
  not Car.IsDead(213@)
goto_if_false @FINALEC_28611
if 
  not Char.IsDead(42@)
goto_if_false @FINALEC_28456
goto @FINALEC_28611

:FINALEC_28456
if 
  not Char.IsDead(43@)
goto_if_false @FINALEC_28569
if 
  Char.IsInCar(43@, 213@)
goto_if_false @FINALEC_28562
219@ = Car.GetDriver(213@)
if 
  219@ == -1
goto_if_false @FINALEC_28562
$x, $y, $z = Car.GetCoordinates(153@)
Char.WarpFromCarToCoord(43@, $x, $y, -10.0)
Char.WarpIntoCar(43@, 213@)
267@ = 2

:FINALEC_28562
goto @FINALEC_28611

:FINALEC_28569
Car.SetForwardSpeed(213@, 18.0)
Car.StopPlayback(213@)
Car.SetRotationVelocity(213@, 3.5, 7.3999, 8.1003)
267@ = 2

:FINALEC_28611
if 
  267@ == 2
goto_if_false @FINALEC_28703
if 
  Char.IsDead(43@)
goto_if_false @FINALEC_28703
Car.StopPlayback(213@)
if 
  not Car.IsDead(213@)
goto_if_false @FINALEC_28696
Car.SetForwardSpeed(213@, 18.0)
Car.SetRotationVelocity(213@, 3.5, 7.3999, 8.1003)

:FINALEC_28696
267@ = 3

:FINALEC_28703
if 
  256@ == 1
goto_if_false @FINALEC_28790
if 
  Char.IsDead(42@)
goto_if_false @FINALEC_28790
if or
  Char.IsDead(43@)
  Car.IsDead(213@)
goto_if_false @FINALEC_28790
Car.StopPlayback(213@)
Blip.Remove(243@)
Car.MarkAsNoLongerNeeded(213@)
Char.MarkAsNoLongerNeeded(42@)
Char.MarkAsNoLongerNeeded(43@)
256@ = 2

:FINALEC_28790
if 
  268@ == 1
goto_if_false @FINALEC_29002
if 
  not Car.IsDead(214@)
goto_if_false @FINALEC_29002
if 
  not Char.IsDead(44@)
goto_if_false @FINALEC_28847
goto @FINALEC_29002

:FINALEC_28847
if 
  not Char.IsDead(45@)
goto_if_false @FINALEC_28960
if 
  Char.IsInCar(45@, 214@)
goto_if_false @FINALEC_28953
219@ = Car.GetDriver(214@)
if 
  219@ == -1
goto_if_false @FINALEC_28953
$x, $y, $z = Car.GetCoordinates(153@)
Char.WarpFromCarToCoord(45@, $x, $y, -10.0)
Char.WarpIntoCar(45@, 214@)
268@ = 2

:FINALEC_28953
goto @FINALEC_29002

:FINALEC_28960
Car.SetForwardSpeed(214@, 18.0)
Car.StopPlayback(214@)
Car.SetRotationVelocity(214@, 3.5, 7.3999, 8.1003)
268@ = 2

:FINALEC_29002
if 
  268@ == 2
goto_if_false @FINALEC_29094
if 
  Char.IsDead(45@)
goto_if_false @FINALEC_29094
Car.StopPlayback(214@)
if 
  not Car.IsDead(214@)
goto_if_false @FINALEC_29087
Car.SetForwardSpeed(214@, 18.0)
Car.SetRotationVelocity(214@, 3.5, 7.3999, 8.1003)

:FINALEC_29087
268@ = 3

:FINALEC_29094
if 
  257@ == 1
goto_if_false @FINALEC_29181
if 
  Char.IsDead(44@)
goto_if_false @FINALEC_29181
if or
  Char.IsDead(45@)
  Car.IsDead(214@)
goto_if_false @FINALEC_29181
Car.StopPlayback(214@)
Blip.Remove(244@)
Car.MarkAsNoLongerNeeded(214@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
257@ = 2

:FINALEC_29181
if 
  269@ == 1
goto_if_false @FINALEC_29393
if 
  not Car.IsDead(215@)
goto_if_false @FINALEC_29393
if 
  not Char.IsDead(46@)
goto_if_false @FINALEC_29238
goto @FINALEC_29393

:FINALEC_29238
if 
  not Char.IsDead(47@)
goto_if_false @FINALEC_29351
if 
  Char.IsInCar(47@, 215@)
goto_if_false @FINALEC_29344
219@ = Car.GetDriver(215@)
if 
  219@ == -1
goto_if_false @FINALEC_29344
$x, $y, $z = Car.GetCoordinates(153@)
Char.WarpFromCarToCoord(47@, $x, $y, -10.0)
Char.WarpIntoCar(47@, 215@)
269@ = 2

:FINALEC_29344
goto @FINALEC_29393

:FINALEC_29351
Car.SetForwardSpeed(215@, 18.0)
Car.StopPlayback(215@)
Car.SetRotationVelocity(215@, 3.5, 7.3999, 8.1003)
269@ = 2

:FINALEC_29393
if 
  269@ == 2
goto_if_false @FINALEC_29485
if 
  Char.IsDead(47@)
goto_if_false @FINALEC_29485
Car.StopPlayback(215@)
if 
  not Car.IsDead(215@)
goto_if_false @FINALEC_29478
Car.SetForwardSpeed(215@, 18.0)
Car.SetRotationVelocity(215@, 3.5, 7.3999, 8.1003)

:FINALEC_29478
269@ = 3

:FINALEC_29485
if 
  258@ == 1
goto_if_false @FINALEC_29572
if 
  Char.IsDead(46@)
goto_if_false @FINALEC_29572
if or
  Char.IsDead(47@)
  Car.IsDead(215@)
goto_if_false @FINALEC_29572
Car.StopPlayback(215@)
Blip.Remove(245@)
Car.MarkAsNoLongerNeeded(215@)
Char.MarkAsNoLongerNeeded(46@)
Char.MarkAsNoLongerNeeded(47@)
258@ = 2

:FINALEC_29572
gosub @FINALEC_57063
if 
  204@ == 0
goto_if_false @FINALEC_29646
if 
  203@ == 0
goto_if_false @FINALEC_29646
set_lvar_int_to_constant 187@ = 33247
set_lvar_text_label 188@s = 'ROT4_MD'
gosub @FINALEC_57021

:FINALEC_29646
if 
  204@ == 0
goto_if_false @FINALEC_29713
if 
  203@ == 1
goto_if_false @FINALEC_29713
set_lvar_int_to_constant 187@ = 33259
set_lvar_text_label 188@s = 'ROT4_NL'
gosub @FINALEC_57021

:FINALEC_29713
if 
  206@ == 1
goto_if_false @FINALEC_29798
if 
  204@ == 0
goto_if_false @FINALEC_29798
if 
  203@ == 2
goto_if_false @FINALEC_29798
set_lvar_int_to_constant 187@ = 33274
set_lvar_text_label 188@s = 'ROT4_QA'
gosub @FINALEC_57021

:FINALEC_29798
if 
  204@ == 0
goto_if_false @FINALEC_29865
if 
  203@ == 3
goto_if_false @FINALEC_29865
set_lvar_int_to_constant 187@ = 33275
set_lvar_text_label 188@s = 'ROT4_QB'
gosub @FINALEC_57021

:FINALEC_29865
if 
  204@ == 0
goto_if_false @FINALEC_29932
if 
  203@ == 4
goto_if_false @FINALEC_29932
set_lvar_int_to_constant 187@ = 33291
set_lvar_text_label 188@s = 'ROT4_TF'
gosub @FINALEC_57021

:FINALEC_29932
if 
  204@ == 0
goto_if_false @FINALEC_29999
if 
  203@ == 5
goto_if_false @FINALEC_29999
set_lvar_int_to_constant 187@ = 33265
set_lvar_text_label 188@s = 'ROT4_NR'
gosub @FINALEC_57021

:FINALEC_29999
if 
  206@ == 2
goto_if_false @FINALEC_30084
if 
  204@ == 0
goto_if_false @FINALEC_30084
if 
  203@ == 6
goto_if_false @FINALEC_30084
set_lvar_int_to_constant 187@ = 33253
set_lvar_text_label 188@s = 'ROT4_NE'
gosub @FINALEC_57021

:FINALEC_30084
if 
  204@ == 0
goto_if_false @FINALEC_30151
if 
  203@ == 7
goto_if_false @FINALEC_30151
set_lvar_int_to_constant 187@ = 33295
set_lvar_text_label 188@s = 'ROT4_TK'
gosub @FINALEC_57021

:FINALEC_30151
if 
  206@ == 3
goto_if_false @FINALEC_30236
if 
  204@ == 0
goto_if_false @FINALEC_30236
if 
  203@ == 8
goto_if_false @FINALEC_30236
set_lvar_int_to_constant 187@ = 33297
set_lvar_text_label 188@s = 'ROT4_TM'
gosub @FINALEC_57021

:FINALEC_30236
if 
  204@ == 0
goto_if_false @FINALEC_30303
if 
  203@ == 9
goto_if_false @FINALEC_30303
set_lvar_int_to_constant 187@ = 33292
set_lvar_text_label 188@s = 'ROT4_TG'
gosub @FINALEC_57021

:FINALEC_30303
if 
  206@ == 5
goto_if_false @FINALEC_30388
if 
  204@ == 0
goto_if_false @FINALEC_30388
if 
  203@ == 10
goto_if_false @FINALEC_30388
set_lvar_int_to_constant 187@ = 33249
set_lvar_text_label 188@s = 'ROT4_NA'
gosub @FINALEC_57021

:FINALEC_30388
if 
  204@ == 0
goto_if_false @FINALEC_30455
if 
  203@ == 11
goto_if_false @FINALEC_30455
set_lvar_int_to_constant 187@ = 33250
set_lvar_text_label 188@s = 'ROT4_NB'
gosub @FINALEC_57021

:FINALEC_30455
if 
  204@ == 0
goto_if_false @FINALEC_30522
if 
  203@ == 12
goto_if_false @FINALEC_30522
set_lvar_int_to_constant 187@ = 33288
set_lvar_text_label 188@s = 'ROT4_TC'
gosub @FINALEC_57021

:FINALEC_30522
if 
  204@ == 0
goto_if_false @FINALEC_30589
if 
  203@ == 13
goto_if_false @FINALEC_30589
set_lvar_int_to_constant 187@ = 33291
set_lvar_text_label 188@s = 'ROT4_TF'
gosub @FINALEC_57021

:FINALEC_30589
if 
  204@ == 0
goto_if_false @FINALEC_30656
if 
  203@ == 14
goto_if_false @FINALEC_30656
set_lvar_int_to_constant 187@ = 33286
set_lvar_text_label 188@s = 'ROT4_TA'
gosub @FINALEC_57021

:FINALEC_30656
if 
  $8018 == 2
goto_if_false @FINALEC_39454
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_31422
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_30879
$Schallenge_X = Car.GetHealth(153@)
$Schallenge_X -= 12000
if 
  0 >= $Schallenge_X
goto_if_false @FINALEC_30833
$Schallenge_X = 0
Car.SetProofs(153@, False, False, False, False, False)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
if 
  not Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_30798
Task.Die($big_smoke_car)

:FINALEC_30798
Car.Explode(153@)
Text.PrintNow('RM4_53', 5000, 1)
goto @FINALEC_57329
goto @FINALEC_30840

:FINALEC_30833
$Schallenge_X /= 80

:FINALEC_30840
if 
  Char.IsDead($big_smoke_car)
goto_if_false @FINALEC_30879
Text.PrintNow('RM4_53', 5000, 1)
goto @FINALEC_57329

:FINALEC_30879
if 
  289@ == 0
goto_if_false @FINALEC_31422
249@ = 0
260@ = 0
250@ = 0
261@ = 0
251@ = 0
262@ = 0
256@ = 0
267@ = 0
257@ = 0
268@ = 0
Blip.Remove(238@)
Blip.Remove(239@)
Blip.Remove(240@)
Blip.Remove(241@)
Blip.Remove(242@)
Blip.Remove(243@)
Blip.Remove(244@)
Blip.Remove(245@)
Blip.Remove(247@)
Blip.Remove(248@)
Car.Delete(213@)
Char.Delete(42@)
Char.Delete(43@)
Car.Delete(214@)
Char.Delete(44@)
Char.Delete(45@)
Car.Delete(215@)
Char.Delete(46@)
Char.Delete(47@)
Car.Delete(217@)
Car.Delete(218@)
Car.Delete(208@)
Car.Delete(209@)
Car.Delete(210@)
Car.Delete(211@)
Car.Delete(212@)
213@ = Car.Create(468, 2375.0, -1918.0, 12.5)
Car.SetHeading(213@, 176.0)
42@ = Char.CreateInsideCar(213@, PedType.Mission1, 110)
Char.SetDecisionMaker(42@, 97@)
Char.SetOnlyDamagedByPlayer(42@, True)
43@ = Char.CreateAsPassenger(213@, PedType.Mission1, 110, 0)
Char.SetHealth(43@, 10)
Char.SetDecisionMaker(43@, 97@)
Char.SetOnlyDamagedByPlayer(43@, True)
Char.GiveWeapon(43@, WeaponType.MicroUzi, 99999)
Car.SetOnlyDamagedByPlayer(213@, True)
Car.SetProofs(213@, False, True, True, False, False)
214@ = Car.Create(468, 2377.0, -1911.0, 12.5)
Car.SetHeading(214@, 186.0)
44@ = Char.CreateInsideCar(214@, PedType.Mission1, 110)
Char.SetDecisionMaker(44@, 97@)
Char.SetHealth(44@, 10)
Char.SetOnlyDamagedByPlayer(44@, True)
45@ = Char.CreateAsPassenger(214@, PedType.Mission1, 110, 0)
Char.SetDecisionMaker(45@, 97@)
Char.SetHealth(45@, 10)
Char.SetOnlyDamagedByPlayer(45@, True)
Char.GiveWeapon(45@, WeaponType.MicroUzi, 99999)
Car.SetOnlyDamagedByPlayer(214@, True)
Car.SetProofs(214@, False, True, True, False, False)
Camera.SetFixedPosition(2347.526, -1914.929, 15.1567, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2348.224, -1915.617, 14.9604, SwitchType.JumpCut)
289@ = 1

:FINALEC_31422
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_37102
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_37102
if 
  292@ == 0
goto_if_false @FINALEC_31899
223@ = Char.Create(PedType.Mission1, 7, 2300.89, -1947.97, 24.5)
Char.SetHeading(223@, 329.17)
Char.GiveWeapon(223@, WeaponType.Molotov, 9999)
Char.SetProofs(223@, False, True, False, False, False)
Char.SetHealth(223@, 10)
Char.SetDecisionMaker(223@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_31585
set_lvar_int_to_lvar_int 102@ = 223@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_31585
224@ = Char.Create(PedType.Mission1, 7, 2302.33, -1925.32, 12.6)
Char.SetHeading(224@, 311.22)
Char.GiveWeapon(224@, WeaponType.Molotov, 9999)
Char.SetProofs(224@, False, True, False, False, False)
Char.SetHealth(224@, 10)
Char.SetDecisionMaker(224@, 97@)
set_lvar_int_to_lvar_int 102@ = 224@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
225@ = Char.Create(PedType.Mission1, 7, 2324.569, -1951.436, 20.59)
Char.SetHeading(225@, 44.92)
Char.GiveWeapon(225@, WeaponType.Molotov, 9999)
Char.SetProofs(225@, False, True, False, False, False)
Char.SetHealth(225@, 10)
Char.SetDecisionMaker(225@, 97@)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_31795
set_lvar_int_to_lvar_int 102@ = 225@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_31795
226@ = Char.Create(PedType.Mission1, 7, 2362.397, -1982.99, 18.4)
Char.SetHeading(226@, 44.93)
Char.GiveWeapon(226@, WeaponType.Molotov, 9999)
Char.SetProofs(226@, False, True, False, False, False)
Char.SetHealth(226@, 10)
Char.SetDecisionMaker(226@, 97@)
set_lvar_int_to_lvar_int 102@ = 226@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
292@ = 1

:FINALEC_31899
if 
  289@ == 1
goto_if_false @FINALEC_32424
Car.StartPlayback(152@, 241)
Car.StartPlayback(153@, 242)
if 
  not Car.IsDead(213@)
goto_if_false @FINALEC_32038
Car.StartPlayback(213@, 243)
if 
  not Char.IsDead(43@)
goto_if_false @FINALEC_32009
Task.DriveBy(43@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 60)

:FINALEC_32009
243@ = Blip.AddForCar(213@)
Blip.ChangeDisplay(243@, BlipDisplay.BlipOnly)
256@ = 1
267@ = 1

:FINALEC_32038
if 
  not Car.IsDead(214@)
goto_if_false @FINALEC_32143
Car.StartPlayback(214@, 244)
if 
  not Char.IsDead(45@)
goto_if_false @FINALEC_32114
Task.DriveBy(45@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 60)

:FINALEC_32114
244@ = Blip.AddForCar(214@)
Blip.ChangeDisplay(244@, BlipDisplay.BlipOnly)
257@ = 1
268@ = 1

:FINALEC_32143
217@ = Car.Create(596, 2337.0, -2013.0, 12.5)
Car.SetHeading(217@, 325.0)
Car.SetOnlyDamagedByPlayer(217@, True)
154@ = Char.CreateInsideCar(217@, PedType.Mission1, 280)
Char.SetDecisionMaker(154@, 97@)
Char.SetSuffersCriticalHits(154@, False)
Char.SetOnlyDamagedByPlayer(154@, True)
155@ = Char.CreateAsPassenger(217@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(155@, 97@)
Char.SetOnlyDamagedByPlayer(155@, True)
Char.GiveWeapon(155@, WeaponType.MicroUzi, 9999)
Car.SetProofs(217@, False, True, True, False, False)
218@ = Car.Create(596, 2266.0, -1970.0, 12.5)
Car.SetHeading(218@, 178.0)
Car.SetOnlyDamagedByPlayer(218@, True)
156@ = Char.CreateInsideCar(218@, PedType.Mission1, 280)
Char.SetDecisionMaker(156@, 97@)
Char.SetSuffersCriticalHits(156@, False)
Char.SetOnlyDamagedByPlayer(156@, True)
207@ = Char.CreateAsPassenger(218@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(207@, 97@)
Char.SetOnlyDamagedByPlayer(207@, True)
Char.GiveWeapon(207@, WeaponType.MicroUzi, 9999)
Car.SetProofs(218@, False, True, True, False, False)
TIMERB = 0
289@ = 2
290@ = 1

:FINALEC_32424
if 
  290@ == 1
goto_if_false @FINALEC_32589
if 
  TIMERB > 6000
goto_if_false @FINALEC_32589
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
204@ = 0
203@ = 0
206@ = 0
Camera.Restore
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Task.DriveBy($stattreadstamina_ctr, -1, -1, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 100)
Player.SetHeadingForAttached($statbike_temp, 120.5, 200.0)
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_32582
Car.SetProofs(153@, False, True, True, True, True)

:FINALEC_32582
290@ = 2

:FINALEC_32589
if 
  291@ == 0
goto_if_false @FINALEC_32700
if 
  289@ > 4
goto_if_false @FINALEC_32700
if 
  not Car.IsDead(217@)
goto_if_false @FINALEC_32700
if 
  Car.Locate2D(217@, 2210.19, -1864.8, 5.0, 5.0, False)
goto_if_false @FINALEC_32700
Car.SetHealth(217@, 100)
TIMERB = 0
291@ = 1

:FINALEC_32700
if 
  291@ == 1
goto_if_false @FINALEC_32765
if 
  not Car.IsDead(217@)
goto_if_false @FINALEC_32765
if 
  TIMERB > 1250
goto_if_false @FINALEC_32765
Car.Explode(217@)
291@ = 2

:FINALEC_32765
if 
  289@ == 2
goto_if_false @FINALEC_33197
if 
  Car.Locate2D(152@, 2347.96, -1972.42, 20.0, 20.0, False)
goto_if_false @FINALEC_33197
206@ = 1
if 
  not Car.IsDead(217@)
goto_if_false @FINALEC_32940
Car.StartPlayback(217@, 245)
Car.SwitchSiren(217@, True)
if 
  not Char.IsDead(155@)
goto_if_false @FINALEC_32911
Task.DriveBy(155@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 50)

:FINALEC_32911
247@ = Blip.AddForCar(217@)
Blip.ChangeDisplay(247@, BlipDisplay.BlipOnly)
249@ = 1
260@ = 1

:FINALEC_32940
if 
  not Car.IsDead(218@)
goto_if_false @FINALEC_33052
Car.SwitchSiren(218@, True)
Car.StartPlayback(218@, 246)
if 
  not Char.IsDead(207@)
goto_if_false @FINALEC_33023
Task.DriveBy(207@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 10)

:FINALEC_33023
248@ = Blip.AddForCar(218@)
Blip.ChangeDisplay(248@, BlipDisplay.BlipOnly)
250@ = 1
261@ = 1

:FINALEC_33052
275@ = Car.Create(596, 2283.0, -2077.0, 14.0)
Car.SetHeading(275@, 48.0)
Car.SetOnlyDamagedByPlayer(275@, True)
276@ = Char.CreateInsideCar(275@, PedType.Mission1, 280)
Char.SetDecisionMaker(276@, 97@)
Char.SetSuffersCriticalHits(276@, False)
Char.SetOnlyDamagedByPlayer(276@, True)
277@ = Char.CreateAsPassenger(275@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(277@, 97@)
Char.SetOnlyDamagedByPlayer(277@, True)
Char.GiveWeapon(277@, WeaponType.MicroUzi, 9999)
Car.SetProofs(275@, False, True, True, False, False)
Car.SetHealth(275@, 700)
289@ = 3

:FINALEC_33197
if 
  289@ == 3
goto_if_false @FINALEC_33989
if 
  Car.Locate2D(153@, 2260.92, -2021.7, 25.0, 25.0, False)
goto_if_false @FINALEC_33989
206@ = 2
if 
  not Car.IsDead(275@)
goto_if_false @FINALEC_33372
Car.StartPlayback(275@, 249)
Car.SwitchSiren(275@, True)
if 
  not Char.IsDead(277@)
goto_if_false @FINALEC_33343
Task.DriveBy(277@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 50)

:FINALEC_33343
279@ = Blip.AddForCar(275@)
Blip.ChangeDisplay(279@, BlipDisplay.BlipOnly)
295@ = 1
296@ = 1

:FINALEC_33372
Char.Delete(223@)
Char.Delete(224@)
Char.Delete(225@)
Char.Delete(226@)
223@ = Char.Create(PedType.Mission1, 7, 2226.86, -1966.5, 24.5)
Char.SetHeading(223@, 329.17)
Char.GiveWeapon(223@, WeaponType.Molotov, 9999)
Char.SetProofs(223@, False, True, False, False, False)
Char.SetHealth(223@, 10)
Char.SetDecisionMaker(223@, 97@)
Char.SetOnlyDamagedByPlayer(223@, True)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_33512
set_lvar_int_to_lvar_int 102@ = 223@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_33512
224@ = Char.Create(PedType.Mission1, 7, 2224.944, -1977.119, 24.5)
Char.SetHeading(224@, 311.22)
Char.GiveWeapon(224@, WeaponType.Molotov, 9999)
Char.SetProofs(224@, False, True, False, False, False)
Char.SetHealth(224@, 10)
Char.SetDecisionMaker(224@, 97@)
Char.SetOnlyDamagedByPlayer(224@, True)
if 
  not Char.IsDead(156@)
goto_if_false @FINALEC_33639
set_lvar_int_to_lvar_int 102@ = 224@
set_lvar_int_to_lvar_int 107@ = 156@
gosub @FINALEC_57209
goto @FINALEC_33662

:FINALEC_33639
set_lvar_int_to_lvar_int 102@ = 224@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209

:FINALEC_33662
165@ = Object.Create(#LA_FUCKCAR2, 2227.617, -1894.91, 12.2)
Object.SetDynamic(165@, True)
Object.SetHeading(165@, 352.399)
225@ = Char.Create(PedType.Mission1, 7, 2230.15, -1891.29, 12.5)
Char.SetHeading(225@, 329.17)
Char.GiveWeapon(225@, WeaponType.Molotov, 9999)
Char.SetProofs(225@, False, True, False, False, False)
Char.SetHealth(225@, 10)
Char.SetDecisionMaker(225@, 97@)
set_lvar_int_to_lvar_int 102@ = 225@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
226@ = Char.Create(PedType.Mission1, 7, 2229.57, -1898.48, 12.415)
Char.SetHeading(226@, 311.22)
Char.GiveWeapon(226@, WeaponType.Molotov, 9999)
Char.SetProofs(226@, False, True, False, False, False)
Char.SetHealth(226@, 10)
Char.SetDecisionMaker(226@, 97@)
if 
  not Char.IsDead(156@)
goto_if_false @FINALEC_33919
set_lvar_int_to_lvar_int 102@ = 226@
set_lvar_int_to_lvar_int 107@ = 156@
gosub @FINALEC_57209
goto @FINALEC_33942

:FINALEC_33919
set_lvar_int_to_lvar_int 102@ = 226@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209

:FINALEC_33942
169@ = Object.Create(#LA_FUCKCAR2, 2222.927, -1973.632, 12.25)
Object.SetDynamic(169@, True)
Object.SetHeading(169@, 352.399)
289@ = 4

:FINALEC_33989
if 
  289@ == 4
goto_if_false @FINALEC_34246
if 
  Car.Locate2D(152@, 2215.75, -1931.8, 25.0, 25.0, False)
goto_if_false @FINALEC_34246
206@ = 3
Car.Delete(213@)
Char.Delete(42@)
Char.Delete(43@)
Blip.Remove(243@)
Car.Delete(214@)
Char.Delete(44@)
Char.Delete(45@)
Blip.Remove(244@)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(468)
272@ = Car.Create(596, 2169.74, -1726.16, 12.5)
Car.SetHeading(272@, 268.0)
Car.SetOnlyDamagedByPlayer(272@, True)
273@ = Char.CreateInsideCar(272@, PedType.Mission1, 280)
Char.SetDecisionMaker(273@, 97@)
Char.SetSuffersCriticalHits(273@, False)
Char.SetOnlyDamagedByPlayer(273@, True)
274@ = Char.CreateAsPassenger(272@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(274@, 97@)
Char.SetOnlyDamagedByPlayer(274@, True)
Char.GiveWeapon(274@, WeaponType.MicroUzi, 9999)
Car.SetProofs(272@, False, True, True, False, False)
Car.SetHealth(272@, 600)
289@ = 5

:FINALEC_34246
if 
  289@ == 5
goto_if_false @FINALEC_34546
if 
  Car.Locate2D(152@, 2215.93, -1765.08, 20.0, 20.0, False)
goto_if_false @FINALEC_34546
if 
  not Car.IsDead(272@)
goto_if_false @FINALEC_34414
Car.StartPlayback(272@, 248)
Car.SwitchSiren(272@, True)
if 
  not Char.IsDead(274@)
goto_if_false @FINALEC_34385
Task.DriveBy(274@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 50)

:FINALEC_34385
278@ = Blip.AddForCar(272@)
Blip.ChangeDisplay(278@, BlipDisplay.BlipOnly)
293@ = 1
294@ = 1

:FINALEC_34414
208@ = Car.Create(596, 2323.318, -1656.886, 12.53)
Car.SetHeading(208@, 272.4)
Car.SetOnlyDamagedByPlayer(208@, True)
38@ = Char.CreateInsideCar(208@, PedType.Mission1, 280)
Char.SetDecisionMaker(38@, 97@)
Char.SetOnlyDamagedByPlayer(38@, True)
39@ = Char.CreateAsPassenger(208@, PedType.Mission1, 280, 0)
Char.SetDecisionMaker(39@, 97@)
Char.SetOnlyDamagedByPlayer(39@, True)
Char.GiveWeapon(39@, WeaponType.MicroUzi, 99999)
Car.SetProofs(208@, False, True, True, False, False)
289@ = 6

:FINALEC_34546
if 
  289@ == 6
goto_if_false @FINALEC_34721
if 
  Car.Locate2D(152@, 2343.45, -1658.96, 30.0, 30.0, False)
goto_if_false @FINALEC_34721
206@ = 4
if 
  not Car.IsDead(208@)
goto_if_false @FINALEC_34714
Car.StartPlayback(208@, 247)
if 
  not Char.IsDead(39@)
goto_if_false @FINALEC_34685
Task.DriveBy(39@, -1, 153@, 0.0, 0.0, 0.0, 300.0, DriveByType.Ai, True, 50)

:FINALEC_34685
238@ = Blip.AddForCar(208@)
Blip.ChangeDisplay(238@, BlipDisplay.BlipOnly)
251@ = 1
262@ = 1

:FINALEC_34714
289@ = 7

:FINALEC_34721
if 
  289@ == 7
goto_if_false @FINALEC_34791
if 
  Car.Locate2D(152@, 2431.0, -1644.0, 30.0, 30.0, False)
goto_if_false @FINALEC_34791
$8018 = 3
289@ = 8

:FINALEC_34791
if 
  292@ == 1
goto_if_false @FINALEC_35676
if 
  Car.Locate2D(153@, 2215.9, -1791.82, 20.0, 20.0, False)
goto_if_false @FINALEC_35676
Char.Delete(223@)
Char.Delete(224@)
Char.Delete(225@)
Char.Delete(226@)
Object.Delete(165@)
Object.Delete(169@)
165@ = Object.Create(#LA_FUCKCAR2, 2237.044, -1744.5, 12.5425)
Object.SetDynamic(165@, True)
Object.SetHeading(165@, 1.2003)
223@ = Char.Create(PedType.Mission1, 7, 2239.154, -1747.326, 12.542)
Char.SetHeading(223@, 329.17)
Char.GiveWeapon(223@, WeaponType.Molotov, 9999)
Char.SetProofs(223@, False, True, False, False, False)
Char.SetHealth(223@, 10)
Char.SetDecisionMaker(223@, 97@)
Char.SetOnlyDamagedByPlayer(223@, True)
set_lvar_int_to_lvar_int 102@ = 223@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
167@ = Object.Create(#LA_FUCKCAR2, 2297.891, -1742.105, 12.5469)
Object.SetDynamic(167@, True)
Object.SetHeading(167@, 185.7601)
224@ = Char.Create(PedType.Mission1, 7, 2300.619, -1745.254, 12.5469)
Char.SetHeading(224@, 311.22)
Char.GiveWeapon(224@, WeaponType.Molotov, 9999)
Char.SetProofs(224@, False, True, False, False, False)
Char.SetHealth(224@, 10)
Char.SetDecisionMaker(224@, 97@)
Char.SetOnlyDamagedByPlayer(224@, True)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_35181
set_lvar_int_to_lvar_int 102@ = 224@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_35181
169@ = Object.Create(#LA_FUCKCAR2, 2355.793, -1734.063, 12.3828)
Object.SetDynamic(169@, True)
Object.SetHeading(169@, 1.2003)
225@ = Char.Create(PedType.Mission1, 7, 2357.716, -1730.051, 12.3828)
Char.SetHeading(225@, 329.17)
Char.GiveWeapon(225@, WeaponType.Molotov, 9999)
Char.SetProofs(225@, False, True, False, False, False)
Char.SetHealth(225@, 10)
Char.SetDecisionMaker(225@, 97@)
Char.SetOnlyDamagedByPlayer(225@, True)
set_lvar_int_to_lvar_int 102@ = 225@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
226@ = Char.Create(PedType.Mission1, 7, 2365.067, -1758.149, 12.5469)
Char.SetHeading(226@, 329.17)
Char.GiveWeapon(226@, WeaponType.Molotov, 9999)
Char.SetProofs(226@, False, True, False, False, False)
Char.SetHealth(226@, 10)
Char.SetDecisionMaker(226@, 97@)
Char.SetOnlyDamagedByPlayer(226@, True)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_35445
set_lvar_int_to_lvar_int 102@ = 226@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_35445
227@ = Char.Create(PedType.Mission1, 7, 2308.319, -1721.584, 12.742)
Char.SetHeading(227@, 329.17)
Char.GiveWeapon(227@, WeaponType.Molotov, 9999)
Char.SetProofs(227@, False, True, False, False, False)
Char.SetHealth(227@, 10)
Char.SetDecisionMaker(227@, 97@)
Char.SetOnlyDamagedByPlayer(227@, True)
set_lvar_int_to_lvar_int 102@ = 227@
set_lvar_int_to_var_int 107@ = $stattreadstamina_ctr
gosub @FINALEC_57209
228@ = Char.Create(PedType.Mission1, 7, 2308.319, -1721.584, 12.742)
Char.SetHeading(228@, 329.17)
Char.GiveWeapon(228@, WeaponType.Molotov, 9999)
Char.SetProofs(228@, False, True, False, False, False)
Char.SetHealth(228@, 10)
Char.SetDecisionMaker(228@, 97@)
Char.SetOnlyDamagedByPlayer(228@, True)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_35669
set_lvar_int_to_lvar_int 102@ = 228@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_35669
292@ = 2

:FINALEC_35676
if 
  292@ == 2
goto_if_false @FINALEC_35784
if 
  Car.Locate2D(153@, 2342.56, -1603.76, 20.0, 20.0, False)
goto_if_false @FINALEC_35784
Char.Delete(223@)
Char.Delete(224@)
Char.Delete(225@)
Char.Delete(226@)
Char.Delete(227@)
Char.Delete(228@)
Object.Delete(165@)
Object.Delete(167@)
Object.Delete(169@)
292@ = 3

:FINALEC_35784
if 
  292@ == 2
goto_if_false @FINALEC_36127
if 
  Car.Locate2D(153@, 2430.81, -1595.72, 20.0, 20.0, False)
goto_if_false @FINALEC_36127
165@ = Object.Create(#LA_FUCKCAR2, 2430.76, -1653.03, 25.34)
Object.SetDynamic(165@, True)
Object.SetHeading(165@, 268.0927)
223@ = Char.Create(PedType.Mission1, 7, 2426.7, -1653.77, 25.595)
Char.SetHeading(223@, 4.29)
Char.GiveWeapon(223@, WeaponType.Molotov, 9999)
Char.SetProofs(223@, False, True, False, False, False)
Char.SetHealth(223@, 10)
Char.SetDecisionMaker(223@, 97@)
Char.SetOnlyDamagedByPlayer(223@, True)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_36000
set_lvar_int_to_lvar_int 102@ = 223@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_36000
224@ = Char.Create(PedType.Mission1, 7, 2435.959, -1653.318, 25.64)
Char.SetHeading(224@, 0.0)
Char.GiveWeapon(224@, WeaponType.Molotov, 9999)
Char.SetProofs(224@, False, True, False, False, False)
Char.SetHealth(224@, 10)
Char.SetDecisionMaker(224@, 97@)
Char.SetOnlyDamagedByPlayer(224@, True)
if 
  not Char.IsDead(49@)
goto_if_false @FINALEC_36120
set_lvar_int_to_lvar_int 102@ = 224@
set_lvar_int_to_lvar_int 107@ = 49@
gosub @FINALEC_57209

:FINALEC_36120
292@ = 3

:FINALEC_36127
if 
  8 > 289@
goto_if_false @FINALEC_37102
if 
  290@ == 2
goto_if_false @FINALEC_37102
gosub @FINALEC_57063
if 
  204@ == 0
goto_if_false @FINALEC_36237
if 
  203@ == 0
goto_if_false @FINALEC_36237
set_lvar_int_to_constant 187@ = 33288
set_lvar_text_label 188@s = 'ROT4_TC'
gosub @FINALEC_57021

:FINALEC_36237
if 
  204@ == 0
goto_if_false @FINALEC_36304
if 
  203@ == 1
goto_if_false @FINALEC_36304
set_lvar_int_to_constant 187@ = 33287
set_lvar_text_label 188@s = 'ROT4_TB'
gosub @FINALEC_57021

:FINALEC_36304
if 
  204@ == 0
goto_if_false @FINALEC_36371
if 
  203@ == 2
goto_if_false @FINALEC_36371
set_lvar_int_to_constant 187@ = 33293
set_lvar_text_label 188@s = 'ROT4_TH'
gosub @FINALEC_57021

:FINALEC_36371
if 
  206@ == 1
goto_if_false @FINALEC_36456
if 
  204@ == 0
goto_if_false @FINALEC_36456
if 
  203@ == 3
goto_if_false @FINALEC_36456
set_lvar_int_to_constant 187@ = 33265
set_lvar_text_label 188@s = 'ROT4_NR'
gosub @FINALEC_57021

:FINALEC_36456
if 
  206@ == 2
goto_if_false @FINALEC_36541
if 
  204@ == 0
goto_if_false @FINALEC_36541
if 
  203@ == 4
goto_if_false @FINALEC_36541
set_lvar_int_to_constant 187@ = 33266
set_lvar_text_label 188@s = 'ROT4_NS'
gosub @FINALEC_57021

:FINALEC_36541
if 
  204@ == 0
goto_if_false @FINALEC_36608
if 
  203@ == 5
goto_if_false @FINALEC_36608
set_lvar_int_to_constant 187@ = 33294
set_lvar_text_label 188@s = 'ROT4_TJ'
gosub @FINALEC_57021

:FINALEC_36608
if 
  206@ == 3
goto_if_false @FINALEC_36693
if 
  204@ == 0
goto_if_false @FINALEC_36693
if 
  203@ == 6
goto_if_false @FINALEC_36693
set_lvar_int_to_constant 187@ = 33285
set_lvar_text_label 188@s = 'ROT4_SB'
gosub @FINALEC_57021

:FINALEC_36693
if 
  204@ == 0
goto_if_false @FINALEC_36760
if 
  203@ == 7
goto_if_false @FINALEC_36760
set_lvar_int_to_constant 187@ = 33273
set_lvar_text_label 188@s = 'ROT4_PC'
gosub @FINALEC_57021

:FINALEC_36760
if 
  206@ == 4
goto_if_false @FINALEC_36845
if 
  204@ == 0
goto_if_false @FINALEC_36845
if 
  203@ == 8
goto_if_false @FINALEC_36845
set_lvar_int_to_constant 187@ = 33269
set_lvar_text_label 188@s = 'ROT4_OA'
gosub @FINALEC_57021

:FINALEC_36845
if 
  204@ == 0
goto_if_false @FINALEC_36912
if 
  203@ == 9
goto_if_false @FINALEC_36912
set_lvar_int_to_constant 187@ = 33270
set_lvar_text_label 188@s = 'ROT4_OD'
gosub @FINALEC_57021

:FINALEC_36912
if 
  206@ == 4
goto_if_false @FINALEC_37035
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 2431.32, -1528.48, 20.0, 20.0, False)
goto_if_false @FINALEC_37035
if 
  204@ == 0
goto_if_false @FINALEC_37035
if 
  203@ == 10
goto_if_false @FINALEC_37035
set_lvar_int_to_constant 187@ = 33279
set_lvar_text_label 188@s = 'ROT4_RA'
gosub @FINALEC_57021

:FINALEC_37035
if 
  204@ == 0
goto_if_false @FINALEC_37102
if 
  203@ == 11
goto_if_false @FINALEC_37102
set_lvar_int_to_constant 187@ = 33282
set_lvar_text_label 188@s = 'ROT4_RD'
gosub @FINALEC_57021

:FINALEC_37102
if 
  260@ == 1
goto_if_false @FINALEC_37254
if 
  not Car.IsDead(217@)
goto_if_false @FINALEC_37254
if 
  not Char.IsDead(154@)
goto_if_false @FINALEC_37159
goto @FINALEC_37254

:FINALEC_37159
if 
  not Char.IsDead(155@)
goto_if_false @FINALEC_37242
if 
  Char.IsInCar(155@, 217@)
goto_if_false @FINALEC_37235
219@ = Car.GetDriver(217@)
if 
  219@ == -1
goto_if_false @FINALEC_37235
Task.ShuffleToNextCarSeat(155@, 217@)
260@ = 2

:FINALEC_37235
goto @FINALEC_37254

:FINALEC_37242
Car.StopPlayback(217@)
260@ = 2

:FINALEC_37254
if 
  260@ == 2
goto_if_false @FINALEC_37300
if 
  Char.IsDead(155@)
goto_if_false @FINALEC_37300
Car.StopPlayback(217@)
260@ = 3

:FINALEC_37300
if 
  249@ == 1
goto_if_false @FINALEC_37416
if 
  not Car.IsDead(217@)
goto_if_false @FINALEC_37384
if 
  not Car.IsPlaybackGoingOn(217@)
goto_if_false @FINALEC_37377
Car.MarkAsNoLongerNeeded(217@)
Char.MarkAsNoLongerNeeded(154@)
Char.MarkAsNoLongerNeeded(155@)
Blip.Remove(247@)
249@ = 2

:FINALEC_37377
goto @FINALEC_37416

:FINALEC_37384
Car.StopPlayback(217@)
Char.MarkAsNoLongerNeeded(154@)
Char.MarkAsNoLongerNeeded(155@)
Car.MarkAsNoLongerNeeded(217@)
Blip.Remove(247@)
249@ = 2

:FINALEC_37416
if 
  261@ == 1
goto_if_false @FINALEC_37568
if 
  not Car.IsDead(218@)
goto_if_false @FINALEC_37568
if 
  not Char.IsDead(156@)
goto_if_false @FINALEC_37473
goto @FINALEC_37568

:FINALEC_37473
if 
  not Char.IsDead(207@)
goto_if_false @FINALEC_37556
if 
  Char.IsInCar(207@, 218@)
goto_if_false @FINALEC_37549
219@ = Car.GetDriver(218@)
if 
  219@ == -1
goto_if_false @FINALEC_37549
Task.ShuffleToNextCarSeat(207@, 218@)
261@ = 2

:FINALEC_37549
goto @FINALEC_37568

:FINALEC_37556
Car.StopPlayback(218@)
261@ = 2

:FINALEC_37568
if 
  261@ == 2
goto_if_false @FINALEC_37614
if 
  Char.IsDead(207@)
goto_if_false @FINALEC_37614
Car.StopPlayback(218@)
261@ = 3

:FINALEC_37614
if 
  250@ == 1
goto_if_false @FINALEC_37730
if 
  not Car.IsDead(218@)
goto_if_false @FINALEC_37698
if 
  not Car.IsPlaybackGoingOn(218@)
goto_if_false @FINALEC_37691
Car.MarkAsNoLongerNeeded(218@)
Char.MarkAsNoLongerNeeded(156@)
Char.MarkAsNoLongerNeeded(207@)
Blip.Remove(248@)
250@ = 2

:FINALEC_37691
goto @FINALEC_37730

:FINALEC_37698
Car.StopPlayback(218@)
Char.MarkAsNoLongerNeeded(156@)
Char.MarkAsNoLongerNeeded(207@)
Car.MarkAsNoLongerNeeded(218@)
Blip.Remove(248@)
250@ = 2

:FINALEC_37730
if 
  294@ == 1
goto_if_false @FINALEC_37882
if 
  not Car.IsDead(272@)
goto_if_false @FINALEC_37882
if 
  not Char.IsDead(273@)
goto_if_false @FINALEC_37787
goto @FINALEC_37882

:FINALEC_37787
if 
  not Char.IsDead(274@)
goto_if_false @FINALEC_37870
if 
  Char.IsInCar(274@, 272@)
goto_if_false @FINALEC_37863
219@ = Car.GetDriver(272@)
if 
  219@ == -1
goto_if_false @FINALEC_37863
Task.ShuffleToNextCarSeat(274@, 272@)
294@ = 2

:FINALEC_37863
goto @FINALEC_37882

:FINALEC_37870
Car.StopPlayback(272@)
294@ = 2

:FINALEC_37882
if 
  294@ == 2
goto_if_false @FINALEC_37928
if 
  Char.IsDead(274@)
goto_if_false @FINALEC_37928
Car.StopPlayback(272@)
294@ = 3

:FINALEC_37928
if 
  293@ == 1
goto_if_false @FINALEC_38044
if 
  not Car.IsDead(272@)
goto_if_false @FINALEC_38012
if 
  not Car.IsPlaybackGoingOn(272@)
goto_if_false @FINALEC_38005
Car.MarkAsNoLongerNeeded(272@)
Char.MarkAsNoLongerNeeded(273@)
Char.MarkAsNoLongerNeeded(274@)
Blip.Remove(278@)
293@ = 2

:FINALEC_38005
goto @FINALEC_38044

:FINALEC_38012
Car.StopPlayback(272@)
Char.MarkAsNoLongerNeeded(273@)
Char.MarkAsNoLongerNeeded(274@)
Car.MarkAsNoLongerNeeded(272@)
Blip.Remove(278@)
293@ = 2

:FINALEC_38044
if 
  296@ == 1
goto_if_false @FINALEC_38196
if 
  not Car.IsDead(275@)
goto_if_false @FINALEC_38196
if 
  not Char.IsDead(276@)
goto_if_false @FINALEC_38101
goto @FINALEC_38196

:FINALEC_38101
if 
  not Char.IsDead(277@)
goto_if_false @FINALEC_38184
if 
  Char.IsInCar(277@, 275@)
goto_if_false @FINALEC_38177
219@ = Car.GetDriver(275@)
if 
  219@ == -1
goto_if_false @FINALEC_38177
Task.ShuffleToNextCarSeat(277@, 275@)
296@ = 2

:FINALEC_38177
goto @FINALEC_38196

:FINALEC_38184
Car.StopPlayback(275@)
296@ = 2

:FINALEC_38196
if 
  296@ == 2
goto_if_false @FINALEC_38242
if 
  Char.IsDead(277@)
goto_if_false @FINALEC_38242
Car.StopPlayback(275@)
296@ = 3

:FINALEC_38242
if 
  295@ == 1
goto_if_false @FINALEC_38358
if 
  not Car.IsDead(275@)
goto_if_false @FINALEC_38326
if 
  not Car.IsPlaybackGoingOn(275@)
goto_if_false @FINALEC_38319
Car.MarkAsNoLongerNeeded(275@)
Char.MarkAsNoLongerNeeded(276@)
Char.MarkAsNoLongerNeeded(277@)
Blip.Remove(279@)
295@ = 2

:FINALEC_38319
goto @FINALEC_38358

:FINALEC_38326
Car.StopPlayback(275@)
Char.MarkAsNoLongerNeeded(276@)
Char.MarkAsNoLongerNeeded(277@)
Car.MarkAsNoLongerNeeded(275@)
Blip.Remove(279@)
295@ = 2

:FINALEC_38358
if 
  262@ == 1
goto_if_false @FINALEC_38510
if 
  not Car.IsDead(208@)
goto_if_false @FINALEC_38510
if 
  not Char.IsDead(38@)
goto_if_false @FINALEC_38415
goto @FINALEC_38510

:FINALEC_38415
if 
  not Char.IsDead(39@)
goto_if_false @FINALEC_38498
if 
  Char.IsInCar(39@, 208@)
goto_if_false @FINALEC_38491
219@ = Car.GetDriver(208@)
if 
  219@ == -1
goto_if_false @FINALEC_38491
Task.ShuffleToNextCarSeat(39@, 208@)
262@ = 2

:FINALEC_38491
goto @FINALEC_38510

:FINALEC_38498
Car.StopPlayback(208@)
262@ = 2

:FINALEC_38510
if 
  262@ == 2
goto_if_false @FINALEC_38556
if 
  Char.IsDead(39@)
goto_if_false @FINALEC_38556
Car.StopPlayback(208@)
262@ = 3

:FINALEC_38556
if 
  251@ == 1
goto_if_false @FINALEC_38672
if 
  not Car.IsDead(208@)
goto_if_false @FINALEC_38640
if 
  not Car.IsPlaybackGoingOn(208@)
goto_if_false @FINALEC_38633
Car.MarkAsNoLongerNeeded(208@)
Char.MarkAsNoLongerNeeded(38@)
Char.MarkAsNoLongerNeeded(39@)
Blip.Remove(238@)
251@ = 2

:FINALEC_38633
goto @FINALEC_38672

:FINALEC_38640
Car.StopPlayback(208@)
Char.MarkAsNoLongerNeeded(38@)
Char.MarkAsNoLongerNeeded(39@)
Car.MarkAsNoLongerNeeded(208@)
Blip.Remove(238@)
251@ = 2

:FINALEC_38672
if 
  267@ == 1
goto_if_false @FINALEC_38884
if 
  not Car.IsDead(213@)
goto_if_false @FINALEC_38884
if 
  not Char.IsDead(42@)
goto_if_false @FINALEC_38729
goto @FINALEC_38884

:FINALEC_38729
if 
  not Char.IsDead(43@)
goto_if_false @FINALEC_38842
if 
  Char.IsInCar(43@, 213@)
goto_if_false @FINALEC_38835
219@ = Car.GetDriver(213@)
if 
  219@ == -1
goto_if_false @FINALEC_38835
$x, $y, $z = Car.GetCoordinates(153@)
Char.WarpFromCarToCoord(43@, $x, $y, -10.0)
Char.WarpIntoCar(43@, 213@)
267@ = 2

:FINALEC_38835
goto @FINALEC_38884

:FINALEC_38842
Car.SetForwardSpeed(213@, 18.0)
Car.StopPlayback(213@)
Car.SetRotationVelocity(213@, 3.5, 7.3999, 8.1003)
267@ = 2

:FINALEC_38884
if 
  267@ == 2
goto_if_false @FINALEC_38976
if 
  Char.IsDead(43@)
goto_if_false @FINALEC_38976
Car.StopPlayback(213@)
if 
  not Car.IsDead(213@)
goto_if_false @FINALEC_38969
Car.SetForwardSpeed(213@, 18.0)
Car.SetRotationVelocity(213@, 3.5, 7.3999, 8.1003)

:FINALEC_38969
267@ = 3

:FINALEC_38976
if 
  256@ == 1
goto_if_false @FINALEC_39063
if 
  Char.IsDead(42@)
goto_if_false @FINALEC_39063
if or
  Char.IsDead(43@)
  Car.IsDead(213@)
goto_if_false @FINALEC_39063
Car.StopPlayback(213@)
Blip.Remove(243@)
Car.MarkAsNoLongerNeeded(213@)
Char.MarkAsNoLongerNeeded(42@)
Char.MarkAsNoLongerNeeded(43@)
256@ = 2

:FINALEC_39063
if 
  268@ == 1
goto_if_false @FINALEC_39275
if 
  not Car.IsDead(214@)
goto_if_false @FINALEC_39275
if 
  not Char.IsDead(44@)
goto_if_false @FINALEC_39120
goto @FINALEC_39275

:FINALEC_39120
if 
  not Char.IsDead(45@)
goto_if_false @FINALEC_39233
if 
  Char.IsInCar(45@, 214@)
goto_if_false @FINALEC_39226
219@ = Car.GetDriver(214@)
if 
  219@ == -1
goto_if_false @FINALEC_39226
$x, $y, $z = Car.GetCoordinates(153@)
Char.WarpFromCarToCoord(45@, $x, $y, -10.0)
Char.WarpIntoCar(45@, 214@)
268@ = 2

:FINALEC_39226
goto @FINALEC_39275

:FINALEC_39233
Car.SetForwardSpeed(214@, 18.0)
Car.StopPlayback(214@)
Car.SetRotationVelocity(214@, 3.5, 7.3999, 8.1003)
268@ = 2

:FINALEC_39275
if 
  268@ == 2
goto_if_false @FINALEC_39367
if 
  Char.IsDead(45@)
goto_if_false @FINALEC_39367
Car.StopPlayback(214@)
if 
  not Car.IsDead(214@)
goto_if_false @FINALEC_39360
Car.SetForwardSpeed(214@, 18.0)
Car.SetRotationVelocity(214@, 3.5, 7.3999, 8.1003)

:FINALEC_39360
268@ = 3

:FINALEC_39367
if 
  257@ == 1
goto_if_false @FINALEC_39454
if 
  Char.IsDead(44@)
goto_if_false @FINALEC_39454
if or
  Char.IsDead(45@)
  Car.IsDead(214@)
goto_if_false @FINALEC_39454
Car.StopPlayback(214@)
Blip.Remove(244@)
Car.MarkAsNoLongerNeeded(214@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
257@ = 2

:FINALEC_39454
if 
  $8018 == 3
goto_if_false @FINALEC_57014
if 
  288@ == 0
goto_if_false @FINALEC_39955
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_39955
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_39955
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Car.SetProofs(153@, False, True, True, True, True)
if 
  Car.IsPlaybackGoingOn(152@)
goto_if_false @FINALEC_39569
Car.StopPlayback(152@)

:FINALEC_39569
Car.StopPlayback(152@)
if 
  Car.IsPlaybackGoingOn(153@)
goto_if_false @FINALEC_39595
Car.StopPlayback(153@)

:FINALEC_39595
Car.StopPlayback(153@)
Camera.SetFixedPosition(2453.861, -1651.519, 11.6415, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2453.131, -1651.287, 12.2845, SwitchType.JumpCut)
Car.StartPlayback(152@, 229)
Game.SetLaRiots(False)
World.ClearArea(2453.861, -1651.519, 11.6415, 100.0, True)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
Car.SetCoordinates(153@, 2431.88, -1600.34, 25.26)
Char.Delete($big_smoke_car)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @FINALEC_39769
Char.WarpFromCarToCoord($stattreadstamina_ctr, 2422.97, -1607.87, 25.55)
goto @FINALEC_39789

:FINALEC_39769
Char.SetCoordinates($stattreadstamina_ctr, 2422.97, -1607.87, 25.55)

:FINALEC_39789
TIMERA = 0
TIMERB = 0
Car.Delete(153@)
Car.Delete(213@)
Car.Delete(214@)
Car.Delete(217@)
Car.Delete(218@)
Car.Delete(272@)
Car.Delete(275@)
Car.Delete(208@)
Object.Delete(165@)
Object.Delete(167@)
Object.Delete(169@)
Char.Delete(42@)
Char.Delete(43@)
Char.Delete(44@)
Char.Delete(45@)
Char.Delete(154@)
Char.Delete(155@)
Char.Delete(156@)
Char.Delete(207@)
Char.Delete(273@)
Char.Delete(274@)
Char.Delete(276@)
Char.Delete(277@)
Char.Delete(223@)
Char.Delete(224@)
Char.Delete(225@)
Char.Delete(226@)
Char.Delete(227@)
Char.Delete(228@)
288@ = 1

:FINALEC_39955
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_40905
if 
  288@ == 1
goto_if_false @FINALEC_40028
if 
  TIMERB > 1500
goto_if_false @FINALEC_40028
Text.ClearPrints
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Clock.SetTimeScale(0.8)
288@ = 2

:FINALEC_40028
if 
  288@ == 2
goto_if_false @FINALEC_40079
if 
  TIMERB > 1700
goto_if_false @FINALEC_40079
Clock.SetTimeScale(0.7)
288@ = 3

:FINALEC_40079
if 
  288@ == 3
goto_if_false @FINALEC_40130
if 
  TIMERB > 1900
goto_if_false @FINALEC_40130
Clock.SetTimeScale(0.6)
288@ = 4

:FINALEC_40130
if 
  288@ == 4
goto_if_false @FINALEC_40181
if 
  TIMERB > 2100
goto_if_false @FINALEC_40181
Clock.SetTimeScale(0.5)
288@ = 5

:FINALEC_40181
if 
  288@ == 5
goto_if_false @FINALEC_40232
if 
  TIMERB > 2300
goto_if_false @FINALEC_40232
Clock.SetTimeScale(0.4)
288@ = 6

:FINALEC_40232
if 
  288@ == 6
goto_if_false @FINALEC_40283
if 
  TIMERB > 2500
goto_if_false @FINALEC_40283
Clock.SetTimeScale(0.3)
288@ = 7

:FINALEC_40283
if 
  288@ == 7
goto_if_false @FINALEC_40334
if 
  TIMERB > 2700
goto_if_false @FINALEC_40334
Clock.SetTimeScale(0.2)
288@ = 8

:FINALEC_40334
if 
  288@ == 8
goto_if_false @FINALEC_40501
if 
  TIMERB > 3360
goto_if_false @FINALEC_40501
280@ = Particle.CreateOnCar("PRT_SPARK", 152@, -1.69, 3.607, -0.271, 1)
Particle.Play(280@)
281@ = Particle.CreateOnCar("PRT_SPARK", 152@, -1.137, 3.674, -0.271, 1)
Particle.Play(281@)
282@ = Particle.CreateOnCar("PRT_SPARK", 152@, -1.076, 3.706, -0.271, 1)
Particle.Play(282@)
288@ = 9

:FINALEC_40501
if 
  288@ == 9
goto_if_false @FINALEC_40905
if 
  TIMERB > 4250
goto_if_false @FINALEC_40905
Camera.SetFixedPosition(2463.746, -1663.425, 12.4388, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2462.831, -1663.022, 12.4479, SwitchType.JumpCut)
Clock.SetTimeScale(0.7)
Particle.Kill(280@)
Particle.Kill(281@)
Particle.Kill(282@)
283@ = Particle.CreateOnCarWithDirection("PRT_SPARK", 152@, -1.066, 3.027, 1.4, 1.0, 0.0, 0.4, 1)
Particle.Play(283@)
284@ = Particle.CreateOnCarWithDirection("PRT_SPARK", 152@, -1.066, 2.444, 1.4, 1.0, 0.0, 0.4, 1)
Particle.Play(284@)
285@ = Particle.CreateOnCarWithDirection("PRT_SPARK", 152@, -1.066, 1.872, 1.4, 1.0, 0.0, 0.4, 1)
Particle.Play(285@)
286@ = Particle.CreateOnCarWithDirection("PRT_SPARK", 152@, -0.462, 0.761, 1.7, 1.0, 0.0, 0.4, 1)
Particle.Play(286@)
287@ = Particle.CreateOnCarWithDirection("PRT_SPARK", 152@, -0.462, 0.197, 1.7, 1.0, 0.0, 0.4, 1)
Particle.Play(287@)
TIMERA = 0
288@ = 10

:FINALEC_40905
if 
  288@ == 10
goto_if_false @FINALEC_57014
if 
  TIMERA > 3000
goto_if_false @FINALEC_57014
Clock.SetTimeScale(1.0)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:FINALEC_40964
if 
  Camera.GetFadingStatus
goto_if_false @FINALEC_40988
wait 0
goto @FINALEC_40964

:FINALEC_40988
Player.AddScore($statbike_temp, 250000)
Hud.ClearCounter($Schallenge_X)
Char.Delete($big_smoke_car)
Streaming.MarkModelAsNoLongerNeeded(538)
Streaming.MarkModelAsNoLongerNeeded(544)
Streaming.MarkModelAsNoLongerNeeded(280)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(533)
Streaming.RemoveAnimation("FINALE")
Streaming.RemoveAnimation("FINALE2")
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(#LA_FUCKCAR1)
Streaming.MarkModelAsNoLongerNeeded(#LA_FUCKCAR2)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(344)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(576)
Car.Delete(152@)
Char.Delete(49@)
Particle.Kill(280@)
Particle.Kill(281@)
Particle.Kill(282@)
Particle.Kill(283@)
Particle.Kill(284@)
Particle.Kill(285@)
Particle.Kill(286@)
Particle.Kill(287@)
Streaming.LoadSceneInDirection(2445.64, -1650.53, 14.63, 0.0)
Cutscene.Load('RIOT4E1')

:FINALEC_41192
if 
  not Cutscene.HasLoaded
goto_if_false @FINALEC_41216
wait 0
goto @FINALEC_41192

:FINALEC_41216
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:FINALEC_41225
if 
  not Cutscene.HasFinished
goto_if_false @FINALEC_41249
wait 0
goto @FINALEC_41225

:FINALEC_41249
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:FINALEC_41264
if 
  Camera.GetFadingStatus
goto_if_false @FINALEC_41288
wait 0
goto @FINALEC_41264

:FINALEC_41288
if 
  not Cutscene.WasSkipped
goto_if_false @FINALEC_41408
Cutscene.Load('RIOT4E2')

:FINALEC_41312
if 
  not Cutscene.HasLoaded
goto_if_false @FINALEC_41336
wait 0
goto @FINALEC_41312

:FINALEC_41336
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:FINALEC_41345
if 
  not Cutscene.HasFinished
goto_if_false @FINALEC_41369
wait 0
goto @FINALEC_41345

:FINALEC_41369
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:FINALEC_41384
if 
  Camera.GetFadingStatus
goto_if_false @FINALEC_41408
wait 0
goto @FINALEC_41384

:FINALEC_41408
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:FINALEC_41423
if 
  Camera.GetFadingStatus
goto_if_false @FINALEC_41447
wait 0
goto @FINALEC_41423

:FINALEC_41447
Streaming.SetAreaVisible(3)
Cutscene.Load('EPILOG')

:FINALEC_41462
if 
  not Cutscene.HasLoaded
goto_if_false @FINALEC_41486
wait 0
goto @FINALEC_41462

:FINALEC_41486
Cutscene.Start
Camera.DoFade(1000, Fade.In)

:FINALEC_41495
if 
  not Cutscene.HasFinished
goto_if_false @FINALEC_41519
wait 0
goto @FINALEC_41495

:FINALEC_41519
Cutscene.Clear
Player.SetControl($statbike_temp, False)
Camera.DoFade(0, Fade.Out)

:FINALEC_41534
if 
  Camera.GetFadingStatus
goto_if_false @FINALEC_41558
wait 0
goto @FINALEC_41534

:FINALEC_41558
Streaming.SetAreaVisible(0)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Char.SetCoordinates($stattreadstamina_ctr, 2523.975, -1749.962, 58.702)
Char.FreezePosition($stattreadstamina_ctr, True)
World.SetCarDensityMultiplier(2.0)
World.SetPedDensityMultiplier(1.5)
Game.SetLaRiots(False)
Streaming.LoadScene(2514.668, -1733.461, 56.3075)
Weather.ForceNow(WeatherType.SunnySmogLa)
Clock.SetTimeOfDay(12, 0)
Audio.PreloadBeatTrack(9)

:FINALEC_41649
if 
  298@ <> 2
goto_if_false @FINALEC_41683
wait 0
298@ = Audio.GetBeatTrackStatus()
goto @FINALEC_41649

:FINALEC_41683
Audio.PlayBeatTrack
Audio.SetMusicDoesFade(False)
Camera.SetDarknessEffect(True, -1)
Credits.Start
Camera.DoFade(250, Fade.In)
Camera.ResetNewScriptables
Camera.SetVectorMove(2523.975, -1749.962, 57.202, 2514.887, -1733.851, 57.202, 2000, False)
Camera.SetVectorTrack(2523.755, -1749.572, 56.3075, 2514.668, -1733.461, 56.3075, 2000, False)

:FINALEC_41780
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_41811
wait 0
gosub @FINALEC_57172
goto @FINALEC_41780

:FINALEC_41811
Camera.SetVectorMove(2514.887, -1733.851, 57.202, 2503.344, -1713.386, 57.202, 2000, False)
Camera.SetVectorTrack(2514.668, -1733.461, 56.3075, 2503.124, -1712.996, 56.3075, 2000, False)

:FINALEC_41885
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_41916
wait 0
gosub @FINALEC_57172
goto @FINALEC_41885

:FINALEC_41916
Camera.SetVectorMove(2503.344, -1713.386, 57.202, 2491.555, -1692.485, 57.202, 2000, False)
Camera.SetVectorTrack(2503.124, -1712.996, 56.3075, 2491.335, -1692.096, 56.3075, 2000, False)

:FINALEC_41990
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_42021
wait 0
gosub @FINALEC_57172
goto @FINALEC_41990

:FINALEC_42021
Camera.SetVectorMove(2491.555, -1692.485, 57.202, 2479.766, -1671.585, 57.202, 2000, False)
Camera.SetVectorTrack(2491.335, -1692.096, 56.3075, 2479.546, -1671.196, 56.3075, 2000, False)

:FINALEC_42095
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_42126
wait 0
gosub @FINALEC_57172
goto @FINALEC_42095

:FINALEC_42126
Camera.SetVectorMove(2479.766, -1671.585, 57.202, 2467.731, -1650.249, 57.202, 2000, False)
Camera.SetVectorTrack(2479.546, -1671.196, 56.3075, 2467.511, -1649.86, 56.3075, 2000, False)

:FINALEC_42200
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_42231
wait 0
gosub @FINALEC_57172
goto @FINALEC_42200

:FINALEC_42231
Camera.SetVectorMove(2467.731, -1650.249, 57.202, 2455.451, -1628.478, 57.202, 2000, False)
Camera.SetVectorTrack(2467.511, -1649.86, 56.3075, 2455.231, -1628.089, 56.3075, 2000, False)

:FINALEC_42305
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_42336
wait 0
gosub @FINALEC_57172
goto @FINALEC_42305

:FINALEC_42336
Camera.SetVectorMove(2455.451, -1628.478, 57.202, 2445.135, -1610.19, 57.202, 2000, False)
Camera.SetVectorTrack(2455.231, -1628.089, 56.3075, 2444.916, -1609.801, 56.3075, 2000, False)

:FINALEC_42410
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_42441
wait 0
gosub @FINALEC_57172
goto @FINALEC_42410

:FINALEC_42441
Camera.SetVectorMove(2445.135, -1610.19, 57.202, 2433.838, -1590.161, 57.202, 2000, False)
Camera.SetVectorTrack(2444.916, -1609.801, 56.3075, 2433.618, -1589.771, 56.3075, 2000, False)

:FINALEC_42515
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_42546
wait 0
gosub @FINALEC_57172
goto @FINALEC_42515

:FINALEC_42546
Camera.SetVectorMove(2433.838, -1590.161, 57.202, 2423.277, -1571.437, 57.202, 2000, False)
Camera.SetVectorTrack(2433.618, -1589.771, 56.3075, 2423.057, -1571.048, 56.3075, 2000, False)

:FINALEC_42620
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_42651
wait 0
gosub @FINALEC_57172
goto @FINALEC_42620

:FINALEC_42651
Camera.SetVectorMove(2423.277, -1571.437, 57.202, 2412.716, -1552.714, 57.202, 2000, False)
Camera.SetVectorTrack(2423.057, -1571.048, 56.3075, 2412.496, -1552.325, 56.3075, 2000, False)

:FINALEC_42725
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_42756
wait 0
gosub @FINALEC_57172
goto @FINALEC_42725

:FINALEC_42756
Camera.SetVectorMove(2412.716, -1552.714, 57.202, 2401.909, -1533.555, 57.202, 2000, False)
Camera.SetVectorTrack(2412.496, -1552.325, 56.3075, 2401.689, -1533.166, 56.3075, 2000, False)

:FINALEC_42830
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_42861
wait 0
gosub @FINALEC_57172
goto @FINALEC_42830

:FINALEC_42861
Camera.SetVectorMove(2401.909, -1533.555, 57.202, 2390.611, -1513.526, 57.202, 2000, False)
Camera.SetVectorTrack(2401.689, -1533.166, 56.3075, 2390.391, -1513.136, 56.3075, 2000, False)

:FINALEC_42935
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_42966
wait 0
gosub @FINALEC_57172
goto @FINALEC_42935

:FINALEC_42966
Camera.SetVectorMove(2390.611, -1513.526, 57.202, 2379.313, -1493.496, 57.202, 2000, False)
Camera.SetVectorTrack(2390.391, -1513.136, 56.3075, 2379.094, -1493.107, 56.3075, 2000, False)

:FINALEC_43040
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_43071
wait 0
gosub @FINALEC_57172
goto @FINALEC_43040

:FINALEC_43071
Camera.SetVectorMove(2379.313, -1493.496, 57.202, 2367.279, -1472.161, 57.202, 2000, False)
Camera.SetVectorTrack(2379.094, -1493.107, 56.3075, 2367.059, -1471.771, 56.3075, 2000, False)

:FINALEC_43145
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_43176
wait 0
gosub @FINALEC_57172
goto @FINALEC_43145

:FINALEC_43176
Camera.SetVectorMove(2367.279, -1472.161, 57.202, 2355.981, -1452.131, 57.202, 2000, False)
Camera.SetVectorTrack(2367.059, -1471.771, 56.3075, 2355.761, -1451.741, 56.3075, 2000, False)

:FINALEC_43250
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_43281
wait 0
gosub @FINALEC_57172
goto @FINALEC_43250

:FINALEC_43281
Camera.SetVectorMove(2355.981, -1452.131, 57.202, 2343.946, -1430.795, 57.202, 2000, False)
Camera.SetVectorTrack(2355.761, -1451.741, 56.3075, 2343.726, -1430.406, 56.3075, 2000, False)

:FINALEC_43355
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_43386
wait 0
gosub @FINALEC_57172
goto @FINALEC_43355

:FINALEC_43386
Camera.SetVectorMove(2343.946, -1430.795, 57.202, 2332.403, -1410.33, 57.202, 2000, False)
Camera.SetVectorTrack(2343.726, -1430.406, 56.3075, 2332.183, -1409.941, 56.3075, 2000, False)

:FINALEC_43460
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_43491
wait 0
gosub @FINALEC_57172
goto @FINALEC_43460

:FINALEC_43491
Camera.SetVectorMove(2332.403, -1410.33, 57.202, 2321.596, -1391.172, 57.202, 2000, False)
Camera.SetVectorTrack(2332.183, -1409.941, 56.3075, 2321.376, -1390.782, 56.3075, 2000, False)

:FINALEC_43565
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_43596
wait 0
gosub @FINALEC_57172
goto @FINALEC_43565

:FINALEC_43596
Camera.SetVectorMove(2321.596, -1391.172, 57.202, 2312.017, -1374.19, 57.202, 2000, False)
Camera.SetVectorTrack(2321.376, -1390.782, 56.3075, 2311.798, -1373.8, 56.3075, 2000, False)

:FINALEC_43670
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_43701
wait 0
gosub @FINALEC_57172
goto @FINALEC_43670

:FINALEC_43701
Camera.DoFade(6000, Fade.Out)
Camera.SetVectorMove(2312.017, -1374.19, 57.202, 2300.965, -1354.596, 57.202, 2000, False)
Camera.SetVectorTrack(2311.798, -1373.8, 56.3075, 2300.745, -1354.206, 56.3075, 2000, False)

:FINALEC_43782
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_43813
wait 0
gosub @FINALEC_57172
goto @FINALEC_43782

:FINALEC_43813
Camera.SetVectorMove(2300.965, -1354.596, 57.202, 2289.667, -1334.566, 57.202, 2000, False)
Camera.SetVectorTrack(2300.745, -1354.206, 56.3075, 2289.448, -1334.177, 56.3075, 2000, False)

:FINALEC_43887
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_43918
wait 0
gosub @FINALEC_57172
goto @FINALEC_43887

:FINALEC_43918
Camera.SetVectorMove(2289.667, -1334.566, 57.202, 2277.878, -1313.666, 57.202, 2000, False)
Camera.SetVectorTrack(2289.448, -1334.177, 56.3075, 2277.658, -1313.276, 56.3075, 2000, False)

:FINALEC_43992
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_44023
wait 0
gosub @FINALEC_57172
goto @FINALEC_43992

:FINALEC_44023
Char.SetCoordinates($stattreadstamina_ctr, -1014.557, -1422.255, 186.1819)
Char.FreezePosition($stattreadstamina_ctr, True)
Clock.SetTimeOfDay(10, 0)
Weather.ForceNow(WeatherType.SunnyCountryside)
wait 11000
Camera.DoFade(6000, Fade.In)
Camera.SetVectorMove(-1014.557, -1422.255, 184.6819, -1037.938, -1423.075, 186.8606, 2000, False)
Camera.SetVectorTrack(-1015.556, -1422.29, 184.6751, -1038.937, -1423.11, 186.8538, 2000, False)

:FINALEC_44146
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_44177
wait 0
gosub @FINALEC_57172
goto @FINALEC_44146

:FINALEC_44177
Camera.SetVectorMove(-1037.938, -1423.075, 186.8606, -1063.307, -1423.965, 189.2248, 2000, False)
Camera.SetVectorTrack(-1038.937, -1423.11, 186.8538, -1064.306, -1424.0, 189.218, 2000, False)

:FINALEC_44251
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_44282
wait 0
gosub @FINALEC_57172
goto @FINALEC_44251

:FINALEC_44282
Camera.SetVectorMove(-1063.307, -1423.965, 189.2248, -1089.159, -1425.217, 191.6353, 2000, False)
Camera.SetVectorTrack(-1064.306, -1424.0, 189.218, -1090.156, -1425.284, 191.6285, 2000, False)

:FINALEC_44356
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_44387
wait 0
gosub @FINALEC_57172
goto @FINALEC_44356

:FINALEC_44387
Camera.SetVectorMove(-1089.159, -1425.217, 191.6353, -1114.49, -1426.917, 193.9995, 2000, False)
Camera.SetVectorTrack(-1090.156, -1425.284, 191.6285, -1115.488, -1426.984, 193.9927, 2000, False)

:FINALEC_44461
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_44492
wait 0
gosub @FINALEC_57172
goto @FINALEC_44461

:FINALEC_44492
Camera.SetVectorMove(-1114.49, -1426.917, 193.9995, -1139.822, -1428.616, 196.3636, 2000, False)
Camera.SetVectorTrack(-1115.488, -1426.984, 193.9927, -1140.82, -1428.683, 196.3568, 2000, False)

:FINALEC_44566
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_44597
wait 0
gosub @FINALEC_57172
goto @FINALEC_44566

:FINALEC_44597
Camera.SetVectorMove(-1139.822, -1428.616, 196.3636, -1165.651, -1430.349, 198.7742, 2000, False)
Camera.SetVectorTrack(-1140.82, -1428.683, 196.3568, -1166.649, -1430.416, 198.7673, 2000, False)

:FINALEC_44671
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_44702
wait 0
gosub @FINALEC_57172
goto @FINALEC_44671

:FINALEC_44702
Camera.SetVectorMove(-1165.651, -1430.349, 198.7742, -1191.48, -1432.082, 201.1847, 2000, False)
Camera.SetVectorTrack(-1166.649, -1430.416, 198.7673, -1192.477, -1432.149, 201.1779, 2000, False)

:FINALEC_44776
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_44807
wait 0
gosub @FINALEC_57172
goto @FINALEC_44776

:FINALEC_44807
Camera.SetVectorMove(-1191.48, -1432.082, 201.1847, -1216.812, -1433.782, 203.5488, 2000, False)
Camera.SetVectorTrack(-1192.477, -1432.149, 201.1779, -1217.809, -1433.849, 203.542, 2000, False)

:FINALEC_44881
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_44912
wait 0
gosub @FINALEC_57172
goto @FINALEC_44881

:FINALEC_44912
Camera.SetVectorMove(-1216.812, -1433.782, 203.5488, -1242.143, -1435.481, 205.913, 2000, False)
Camera.SetVectorTrack(-1217.809, -1433.849, 203.542, -1243.141, -1435.548, 205.9062, 2000, False)

:FINALEC_44986
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_45017
wait 0
gosub @FINALEC_57172
goto @FINALEC_44986

:FINALEC_45017
Camera.SetVectorMove(-1242.143, -1435.481, 205.913, -1267.972, -1437.214, 208.3235, 2000, False)
Camera.SetVectorTrack(-1243.141, -1435.548, 205.9062, -1268.97, -1437.281, 208.3167, 2000, False)

:FINALEC_45091
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_45122
wait 0
gosub @FINALEC_57172
goto @FINALEC_45091

:FINALEC_45122
Camera.SetVectorMove(-1267.972, -1437.214, 208.3235, -1293.801, -1438.947, 210.7341, 2000, False)
Camera.SetVectorTrack(-1268.97, -1437.281, 208.3167, -1294.798, -1439.014, 210.7272, 2000, False)

:FINALEC_45196
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_45227
wait 0
gosub @FINALEC_57172
goto @FINALEC_45196

:FINALEC_45227
Camera.SetVectorMove(-1293.801, -1438.947, 210.7341, -1319.629, -1440.68, 213.1446, 2000, False)
Camera.SetVectorTrack(-1294.798, -1439.014, 210.7272, -1320.627, -1440.747, 213.1378, 2000, False)

:FINALEC_45301
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_45332
wait 0
gosub @FINALEC_57172
goto @FINALEC_45301

:FINALEC_45332
Camera.SetVectorMove(-1319.629, -1440.68, 213.1446, -1345.458, -1442.413, 215.5551, 2000, False)
Camera.SetVectorTrack(-1320.627, -1440.747, 213.1378, -1346.456, -1442.48, 215.5483, 2000, False)

:FINALEC_45406
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_45437
wait 0
gosub @FINALEC_57172
goto @FINALEC_45406

:FINALEC_45437
Camera.SetVectorMove(-1345.458, -1442.413, 215.5551, -1370.79, -1444.112, 217.9193, 2000, False)
Camera.SetVectorTrack(-1346.456, -1442.48, 215.5483, -1371.787, -1444.179, 217.9125, 2000, False)

:FINALEC_45511
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_45542
wait 0
gosub @FINALEC_57172
goto @FINALEC_45511

:FINALEC_45542
Camera.SetVectorMove(-1370.79, -1444.112, 217.9193, -1396.122, -1445.812, 220.2834, 2000, False)
Camera.SetVectorTrack(-1371.787, -1444.179, 217.9125, -1397.119, -1445.879, 220.2766, 2000, False)

:FINALEC_45616
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_45647
wait 0
gosub @FINALEC_57172
goto @FINALEC_45616

:FINALEC_45647
Camera.SetVectorMove(-1396.122, -1445.812, 220.2834, -1420.957, -1447.478, 222.6012, 2000, False)
Camera.SetVectorTrack(-1397.119, -1445.879, 220.2766, -1421.955, -1447.545, 222.5944, 2000, False)

:FINALEC_45721
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_45752
wait 0
gosub @FINALEC_57172
goto @FINALEC_45721

:FINALEC_45752
Camera.SetVectorMove(-1420.957, -1447.478, 222.6012, -1446.289, -1449.178, 224.9654, 2000, False)
Camera.SetVectorTrack(-1421.955, -1447.545, 222.5944, -1447.286, -1449.245, 224.9586, 2000, False)

:FINALEC_45826
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_45857
wait 0
gosub @FINALEC_57172
goto @FINALEC_45826

:FINALEC_45857
Camera.SetVectorMove(-1446.289, -1449.178, 224.9654, -1471.621, -1450.877, 227.3296, 2000, False)
Camera.SetVectorTrack(-1447.286, -1449.245, 224.9586, -1472.618, -1450.944, 227.3228, 2000, False)

:FINALEC_45931
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_45962
wait 0
gosub @FINALEC_57172
goto @FINALEC_45931

:FINALEC_45962
Camera.SetVectorMove(-1471.621, -1450.877, 227.3296, -1496.953, -1452.577, 229.6937, 2000, False)
Camera.SetVectorTrack(-1472.618, -1450.944, 227.3228, -1497.95, -1452.644, 229.6869, 2000, False)

:FINALEC_46036
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_46067
wait 0
gosub @FINALEC_57172
goto @FINALEC_46036

:FINALEC_46067
Camera.DoFade(6000, Fade.Out)
Camera.SetVectorMove(-1496.953, -1452.577, 229.6937, -1522.285, -1454.277, 232.0579, 2000, False)
Camera.SetVectorTrack(-1497.95, -1452.644, 229.6869, -1523.282, -1454.344, 232.0511, 2000, False)

:FINALEC_46148
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_46179
wait 0
gosub @FINALEC_57172
goto @FINALEC_46148

:FINALEC_46179
Camera.SetVectorMove(-1522.285, -1454.277, 232.0579, -1547.616, -1455.976, 234.4221, 2000, False)
Camera.SetVectorTrack(-1523.282, -1454.344, 232.0511, -1548.614, -1456.043, 234.4153, 2000, False)

:FINALEC_46253
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_46284
wait 0
gosub @FINALEC_57172
goto @FINALEC_46253

:FINALEC_46284
Camera.SetVectorMove(-1547.616, -1455.976, 234.4221, -1572.452, -1457.642, 236.7399, 2000, False)
Camera.SetVectorTrack(-1548.614, -1456.043, 234.4153, -1573.449, -1457.709, 236.7331, 2000, False)

:FINALEC_46358
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_46389
wait 0
gosub @FINALEC_57172
goto @FINALEC_46358

:FINALEC_46389
Camera.DoFade(0, Fade.Out)

:FINALEC_46395
if 
  Camera.GetFadingStatus
goto_if_false @FINALEC_46419
wait 0
goto @FINALEC_46395

:FINALEC_46419
Camera.SetDarknessEffect(False, -1)
Char.SetCoordinates($stattreadstamina_ctr, -2551.824, 1438.745, -6.4582)
Char.FreezePosition($stattreadstamina_ctr, True)
Weather.ForceNow(WeatherType.RainySf)
Clock.SetTimeOfDay(22, 15)
wait 11000
Camera.DoFade(6000, Fade.In)
Camera.SetVectorMove(-2551.824, 1438.745, -7.9582, -2555.05, 1456.451, -7.9582, 2000, False)
Camera.SetVectorTrack(-2552.003, 1439.724, -8.0577, -2555.229, 1457.43, -8.0577, 2000, False)

:FINALEC_46548
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_46579
wait 0
gosub @FINALEC_57172
goto @FINALEC_46548

:FINALEC_46579
Camera.SetVectorMove(-2555.05, 1456.451, -7.9582, -2558.981, 1478.022, -6.5912, 2000, False)
Camera.SetVectorTrack(-2555.229, 1457.43, -8.0577, -2559.16, 1479.005, -6.5742, 2000, False)

:FINALEC_46653
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_46684
wait 0
gosub @FINALEC_57172
goto @FINALEC_46653

:FINALEC_46684
Camera.SetVectorMove(-2558.981, 1478.022, -6.5912, -2562.766, 1498.793, -2.7267, 2000, False)
Camera.SetVectorTrack(-2559.16, 1479.005, -6.5742, -2562.943, 1499.765, -2.5699, 2000, False)

:FINALEC_46758
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_46789
wait 0
gosub @FINALEC_57172
goto @FINALEC_46758

:FINALEC_46789
Camera.SetVectorMove(-2562.766, 1498.793, -2.7267, -2566.42, 1518.853, 4.0086, 2000, False)
Camera.SetVectorTrack(-2562.943, 1499.765, -2.5699, -2566.594, 1519.803, 4.2679, 2000, False)

:FINALEC_46863
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_46894
wait 0
gosub @FINALEC_57172
goto @FINALEC_46863

:FINALEC_46894
Camera.SetVectorMove(-2566.42, 1518.853, 4.0086, -2570.021, 1538.631, 11.6223, 2000, False)
Camera.SetVectorTrack(-2566.594, 1519.803, 4.2679, -2570.194, 1539.581, 11.8816, 2000, False)

:FINALEC_46968
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_46999
wait 0
gosub @FINALEC_57172
goto @FINALEC_46968

:FINALEC_46999
Camera.SetVectorMove(-2570.021, 1538.631, 11.6223, -2573.706, 1558.869, 19.413, 2000, False)
Camera.SetVectorTrack(-2570.194, 1539.581, 11.8816, -2573.879, 1559.819, 19.6724, 2000, False)

:FINALEC_47073
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_47104
wait 0
gosub @FINALEC_57172
goto @FINALEC_47073

:FINALEC_47104
Camera.SetVectorMove(-2573.706, 1558.869, 19.413, -2577.223, 1578.188, 26.8497, 2000, False)
Camera.SetVectorTrack(-2573.879, 1559.819, 19.6724, -2577.396, 1579.138, 27.109, 2000, False)

:FINALEC_47178
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_47209
wait 0
gosub @FINALEC_57172
goto @FINALEC_47178

:FINALEC_47209
Camera.SetVectorMove(-2577.223, 1578.188, 26.8497, -2580.907, 1598.426, 34.6405, 2000, False)
Camera.SetVectorTrack(-2577.396, 1579.138, 27.109, -2581.081, 1599.376, 34.8998, 2000, False)

:FINALEC_47283
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_47314
wait 0
gosub @FINALEC_57172
goto @FINALEC_47283

:FINALEC_47314
Camera.SetVectorMove(-2580.907, 1598.426, 34.6405, -2584.514, 1618.225, 42.1997, 2000, False)
Camera.SetVectorTrack(-2581.081, 1599.376, 34.8998, -2584.688, 1619.178, 42.4465, 2000, False)

:FINALEC_47388
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_47419
wait 0
gosub @FINALEC_57172
goto @FINALEC_47388

:FINALEC_47419
Camera.SetVectorMove(-2584.514, 1618.225, 42.1997, -2588.233, 1638.641, 49.4991, 2000, False)
Camera.SetVectorTrack(-2584.688, 1619.178, 42.4465, -2588.408, 1639.599, 49.7249, 2000, False)

:FINALEC_47493
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_47524
wait 0
gosub @FINALEC_57172
goto @FINALEC_47493

:FINALEC_47524
Camera.SetVectorMove(-2588.233, 1638.641, 49.4991, -2591.978, 1659.176, 56.4439, 2000, False)
Camera.SetVectorTrack(-2588.408, 1639.599, 49.7249, -2592.153, 1660.136, 56.6616, 2000, False)

:FINALEC_47598
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_47629
wait 0
gosub @FINALEC_57172
goto @FINALEC_47598

:FINALEC_47629
Camera.SetVectorMove(-2591.978, 1659.176, 56.4439, -2595.642, 1679.259, 63.1876, 2000, False)
Camera.SetVectorTrack(-2592.153, 1660.136, 56.6616, -2595.817, 1680.219, 63.4053, 2000, False)

:FINALEC_47703
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_47734
wait 0
gosub @FINALEC_57172
goto @FINALEC_47703

:FINALEC_47734
Camera.SetVectorMove(-2595.642, 1679.259, 63.1876, -2599.394, 1699.842, 69.9817, 2000, False)
Camera.SetVectorTrack(-2595.817, 1680.219, 63.4053, -2599.569, 1700.806, 70.1827, 2000, False)

:FINALEC_47808
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_47839
wait 0
gosub @FINALEC_57172
goto @FINALEC_47808

:FINALEC_47839
Camera.SetVectorMove(-2599.394, 1699.842, 69.9817, -2603.17, 1720.568, 76.3148, 2000, False)
Camera.SetVectorTrack(-2599.569, 1700.806, 70.1827, -2603.347, 1721.536, 76.4955, 2000, False)

:FINALEC_47913
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_47944
wait 0
gosub @FINALEC_57172
goto @FINALEC_47913

:FINALEC_47944
Camera.SetVectorMove(-2603.17, 1720.568, 76.3148, -2606.968, 1741.411, 82.2359, 2000, False)
Camera.SetVectorTrack(-2603.347, 1721.536, 76.4955, -2607.145, 1742.382, 82.3978, 2000, False)

:FINALEC_48018
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_48049
wait 0
gosub @FINALEC_57172
goto @FINALEC_48018

:FINALEC_48049
Camera.SetVectorMove(-2606.968, 1741.411, 82.2359, -2610.699, 1761.885, 87.6284, 2000, False)
Camera.SetVectorTrack(-2607.145, 1742.382, 82.3978, -2610.877, 1762.858, 87.7717, 2000, False)

:FINALEC_48123
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_48154
wait 0
gosub @FINALEC_57172
goto @FINALEC_48123

:FINALEC_48154
Camera.SetVectorMove(-2610.699, 1761.885, 87.6284, -2614.448, 1782.455, 92.6294, 2000, False)
Camera.SetVectorTrack(-2610.877, 1762.858, 87.7717, -2614.625, 1783.431, 92.7541, 2000, False)

:FINALEC_48228
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_48259
wait 0
gosub @FINALEC_57172
goto @FINALEC_48228

:FINALEC_48259
Camera.SetVectorMove(-2614.448, 1782.455, 92.6294, -2618.214, 1803.127, 97.1743, 2000, False)
Camera.SetVectorTrack(-2614.625, 1783.431, 92.7541, -2618.393, 1804.106, 97.2734, 2000, False)

:FINALEC_48333
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_48364
wait 0
gosub @FINALEC_57172
goto @FINALEC_48333

:FINALEC_48364
Camera.SetVectorMove(-2618.214, 1803.127, 97.1743, -2622.001, 1823.909, 101.1663, 2000, False)
Camera.SetVectorTrack(-2618.393, 1804.106, 97.2734, -2622.18, 1824.89, 101.2393, 2000, False)

:FINALEC_48438
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_48469
wait 0
gosub @FINALEC_57172
goto @FINALEC_48438

:FINALEC_48469
Camera.SetVectorMove(-2622.001, 1823.909, 101.1663, -2625.806, 1844.788, 104.6021, 2000, False)
Camera.SetVectorTrack(-2622.18, 1824.89, 101.2393, -2625.985, 1845.77, 104.6488, 2000, False)

:FINALEC_48543
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_48574
wait 0
gosub @FINALEC_57172
goto @FINALEC_48543

:FINALEC_48574
Camera.DoFade(6000, Fade.Out)
Camera.SetVectorMove(-2625.806, 1844.788, 104.6021, -2629.447, 1864.771, 107.3578, 2000, False)
Camera.SetVectorTrack(-2625.985, 1845.77, 104.6488, -2629.626, 1865.755, 107.3795, 2000, False)

:FINALEC_48655
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_48686
wait 0
gosub @FINALEC_57172
goto @FINALEC_48655

:FINALEC_48686
Camera.SetVectorMove(-2629.447, 1864.771, 107.3578, -2633.278, 1885.793, 109.7129, 2000, False)
Camera.SetVectorTrack(-2629.626, 1865.755, 107.3795, -2633.457, 1886.777, 109.7149, 2000, False)

:FINALEC_48760
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_48791
wait 0
gosub @FINALEC_57172
goto @FINALEC_48760

:FINALEC_48791
Camera.SetVectorMove(-2633.278, 1885.793, 109.7129, -2637.109, 1906.832, 111.8949, 2000, False)
Camera.SetVectorTrack(-2633.457, 1886.777, 109.7149, -2637.289, 1907.815, 111.8969, 2000, False)

:FINALEC_48865
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_48896
wait 0
gosub @FINALEC_57172
goto @FINALEC_48865

:FINALEC_48896
Camera.DoFade(0, Fade.Out)

:FINALEC_48902
if 
  Camera.GetFadingStatus
goto_if_false @FINALEC_48926
wait 0
goto @FINALEC_48902

:FINALEC_48926
Weather.ForceNow(WeatherType.ExtraSunnyLa)
Clock.SetTimeOfDay(5, 30)
Char.SetCoordinates($stattreadstamina_ctr, -922.5345, 669.1976, 86.8181)
Char.FreezePosition($stattreadstamina_ctr, True)
Camera.SetDarknessEffect(True, -1)
wait 11000
Camera.DoFade(6000, Fade.In)
Camera.SetVectorMove(-922.5345, 669.1976, 85.3181, -944.3385, 676.5142, 85.3181, 2250, False)
Camera.SetVectorTrack(-923.4778, 669.5142, 85.2186, -945.2818, 676.8308, 85.2186, 2250, False)

:FINALEC_49055
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_49086
wait 0
gosub @FINALEC_57172
goto @FINALEC_49055

:FINALEC_49086
Camera.SetVectorMove(-944.3385, 676.5142, 85.3181, -968.5125, 684.6262, 85.3181, 2250, False)
Camera.SetVectorTrack(-945.2818, 676.8308, 85.2186, -969.4557, 684.9427, 85.2186, 2250, False)

:FINALEC_49160
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_49191
wait 0
gosub @FINALEC_57172
goto @FINALEC_49160

:FINALEC_49191
Camera.SetVectorMove(-968.5125, 684.6262, 85.3181, -993.1604, 692.8972, 85.3181, 2250, False)
Camera.SetVectorTrack(-969.4557, 684.9427, 85.2186, -994.1037, 693.2137, 85.2186, 2250, False)

:FINALEC_49265
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_49296
wait 0
gosub @FINALEC_57172
goto @FINALEC_49265

:FINALEC_49296
Camera.SetVectorMove(-993.1604, 692.8972, 85.3181, -1017.808, 701.1682, 85.3181, 2250, False)
Camera.SetVectorTrack(-994.1037, 693.2137, 85.2186, -1018.752, 701.4847, 85.2186, 2250, False)

:FINALEC_49370
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_49401
wait 0
gosub @FINALEC_57172
goto @FINALEC_49370

:FINALEC_49401
Camera.SetVectorMove(-1017.808, 701.1682, 85.3181, -1041.982, 709.2801, 85.3181, 2250, False)
Camera.SetVectorTrack(-1018.752, 701.4847, 85.2186, -1042.926, 709.5967, 85.2186, 2250, False)

:FINALEC_49475
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_49506
wait 0
gosub @FINALEC_57172
goto @FINALEC_49475

:FINALEC_49506
Camera.SetVectorMove(-1041.982, 709.2801, 85.3181, -1066.156, 717.392, 85.3181, 2250, False)
Camera.SetVectorTrack(-1042.926, 709.5967, 85.2186, -1067.099, 717.7086, 85.2186, 2250, False)

:FINALEC_49580
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_49611
wait 0
gosub @FINALEC_57172
goto @FINALEC_49580

:FINALEC_49611
Camera.SetVectorMove(-1066.156, 717.392, 85.3181, -1090.33, 725.504, 85.3181, 2250, False)
Camera.SetVectorTrack(-1067.099, 717.7086, 85.2186, -1091.273, 725.8206, 85.2186, 2250, False)

:FINALEC_49685
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_49716
wait 0
gosub @FINALEC_57172
goto @FINALEC_49685

:FINALEC_49716
Camera.SetVectorMove(-1090.33, 725.504, 85.3181, -1114.504, 733.6159, 85.3181, 2250, False)
Camera.SetVectorTrack(-1091.273, 725.8206, 85.2186, -1115.447, 733.9325, 85.2186, 2250, False)

:FINALEC_49790
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_49821
wait 0
gosub @FINALEC_57172
goto @FINALEC_49790

:FINALEC_49821
Camera.SetVectorMove(-1114.504, 733.6159, 85.3181, -1138.678, 741.7278, 85.3181, 2250, False)
Camera.SetVectorTrack(-1115.447, 733.9325, 85.2186, -1139.621, 742.0444, 85.2186, 2250, False)

:FINALEC_49895
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_49926
wait 0
gosub @FINALEC_57172
goto @FINALEC_49895

:FINALEC_49926
Camera.SetVectorMove(-1138.678, 741.7278, 85.3181, -1162.378, 749.6807, 85.3181, 2250, False)
Camera.SetVectorTrack(-1139.621, 742.0444, 85.2186, -1163.321, 749.9973, 85.2186, 2250, False)

:FINALEC_50000
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_50031
wait 0
gosub @FINALEC_57172
goto @FINALEC_50000

:FINALEC_50031
Camera.SetVectorMove(-1162.378, 749.6807, 85.3181, -1186.078, 757.6336, 85.3181, 2250, False)
Camera.SetVectorTrack(-1163.321, 749.9973, 85.2186, -1187.021, 757.9502, 85.2186, 2250, False)

:FINALEC_50105
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_50136
wait 0
gosub @FINALEC_57172
goto @FINALEC_50105

:FINALEC_50136
Camera.SetVectorMove(-1186.078, 757.6336, 85.3181, -1209.778, 765.5865, 85.3181, 2250, False)
Camera.SetVectorTrack(-1187.021, 757.9502, 85.2186, -1210.721, 765.9031, 85.2186, 2250, False)

:FINALEC_50210
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_50241
wait 0
gosub @FINALEC_57172
goto @FINALEC_50210

:FINALEC_50241
Camera.SetVectorMove(-1209.778, 765.5865, 85.3181, -1233.952, 773.6984, 85.3181, 2250, False)
Camera.SetVectorTrack(-1210.721, 765.9031, 85.2186, -1234.895, 774.015, 85.2186, 2250, False)

:FINALEC_50315
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_50346
wait 0
gosub @FINALEC_57172
goto @FINALEC_50315

:FINALEC_50346
Camera.SetVectorMove(-1233.952, 773.6984, 85.3181, -1258.126, 781.8104, 85.3181, 2250, False)
Camera.SetVectorTrack(-1234.895, 774.015, 85.2186, -1259.069, 782.127, 85.2186, 2250, False)

:FINALEC_50420
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_50451
wait 0
gosub @FINALEC_57172
goto @FINALEC_50420

:FINALEC_50451
Camera.SetVectorMove(-1258.126, 781.8104, 85.3181, -1281.826, 789.7632, 85.3181, 2250, False)
Camera.SetVectorTrack(-1259.069, 782.127, 85.2186, -1282.769, 790.0798, 85.2186, 2250, False)

:FINALEC_50525
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_50556
wait 0
gosub @FINALEC_57172
goto @FINALEC_50525

:FINALEC_50556
Camera.SetVectorMove(-1281.826, 789.7632, 85.3181, -1305.526, 797.7161, 85.3181, 2250, False)
Camera.SetVectorTrack(-1282.769, 790.0798, 85.2186, -1306.469, 798.0327, 85.2186, 2250, False)

:FINALEC_50630
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_50661
wait 0
gosub @FINALEC_57172
goto @FINALEC_50630

:FINALEC_50661
Camera.SetVectorMove(-1305.526, 797.7161, 85.3181, -1329.226, 805.669, 85.3181, 2250, False)
Camera.SetVectorTrack(-1306.469, 798.0327, 85.2186, -1330.169, 805.9856, 85.2186, 2250, False)

:FINALEC_50735
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_50766
wait 0
gosub @FINALEC_57172
goto @FINALEC_50735

:FINALEC_50766
Camera.SetVectorMove(-1329.226, 805.669, 85.3181, -1353.4, 813.7809, 85.3181, 2250, False)
Camera.SetVectorTrack(-1330.169, 805.9856, 85.2186, -1354.343, 814.0975, 85.2186, 2250, False)

:FINALEC_50840
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_50871
wait 0
gosub @FINALEC_57172
goto @FINALEC_50840

:FINALEC_50871
Camera.SetVectorMove(-1353.4, 813.7809, 85.3181, -1377.574, 821.8929, 85.3181, 2250, False)
Camera.SetVectorTrack(-1354.343, 814.0975, 85.2186, -1378.517, 822.2095, 85.2186, 2250, False)

:FINALEC_50945
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_50976
wait 0
gosub @FINALEC_57172
goto @FINALEC_50945

:FINALEC_50976
Camera.SetVectorMove(-1377.574, 821.8929, 85.3181, -1401.274, 829.8458, 85.3181, 2250, False)
Camera.SetVectorTrack(-1378.517, 822.2095, 85.2186, -1402.217, 830.1624, 85.2186, 2250, False)

:FINALEC_51050
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_51081
wait 0
gosub @FINALEC_57172
goto @FINALEC_51050

:FINALEC_51081
Camera.SetVectorMove(-1401.274, 829.8458, 85.3181, -1423.552, 837.3215, 85.3181, 2250, False)
Camera.SetVectorTrack(-1402.217, 830.1624, 85.2186, -1424.495, 837.6381, 85.2186, 2250, False)

:FINALEC_51155
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_51186
wait 0
gosub @FINALEC_57172
goto @FINALEC_51155

:FINALEC_51186
Camera.SetVectorMove(-1423.552, 837.3215, 85.3181, -1446.777, 845.1153, 85.3181, 2250, False)
Camera.SetVectorTrack(-1424.495, 837.6381, 85.2186, -1447.721, 845.4319, 85.2186, 2250, False)

:FINALEC_51260
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_51291
wait 0
gosub @FINALEC_57172
goto @FINALEC_51260

:FINALEC_51291
Camera.SetVectorMove(-1446.777, 845.1153, 85.3181, -1470.477, 853.0682, 85.3181, 2250, False)
Camera.SetVectorTrack(-1447.721, 845.4319, 85.2186, -1471.421, 853.3848, 85.2186, 2250, False)

:FINALEC_51365
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_51396
wait 0
gosub @FINALEC_57172
goto @FINALEC_51365

:FINALEC_51396
Camera.SetVectorMove(-1470.477, 853.0682, 85.3181, -1493.703, 860.862, 85.3181, 2250, False)
Camera.SetVectorTrack(-1471.421, 853.3848, 85.2186, -1494.647, 861.1786, 85.2186, 2250, False)

:FINALEC_51470
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_51501
wait 0
gosub @FINALEC_57172
goto @FINALEC_51470

:FINALEC_51501
Camera.DoFade(5900, Fade.Out)
Camera.SetVectorMove(-1493.703, 860.862, 85.3181, -1515.981, 868.3377, 85.3181, 2250, False)
Camera.SetVectorTrack(-1494.647, 861.1786, 85.2186, -1516.925, 868.6543, 85.2186, 2250, False)

:FINALEC_51582
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_51613
wait 0
gosub @FINALEC_57172
goto @FINALEC_51582

:FINALEC_51613
Camera.SetVectorMove(-1515.981, 868.3377, 85.3181, -1538.259, 875.8134, 85.3181, 2250, False)
Camera.SetVectorTrack(-1516.925, 868.6543, 85.2186, -1539.203, 876.13, 85.2186, 2250, False)

:FINALEC_51687
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_51718
wait 0
gosub @FINALEC_57172
goto @FINALEC_51687

:FINALEC_51718
Camera.SetVectorMove(-1538.259, 875.8134, 85.3181, -1561.011, 883.4482, 85.3181, 2250, False)
Camera.SetVectorTrack(-1539.203, 876.13, 85.2186, -1561.954, 883.7648, 85.2186, 2250, False)

:FINALEC_51792
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_51823
wait 0
gosub @FINALEC_57172
goto @FINALEC_51792

:FINALEC_51823
Camera.DoFade(0, Fade.Out)

:FINALEC_51829
if 
  Camera.GetFadingStatus
goto_if_false @FINALEC_51853
wait 0
goto @FINALEC_51829

:FINALEC_51853
Weather.ForceNow(WeatherType.ExtraSunnyDesert)
Camera.SetDarknessEffect(True, -1)
Char.SetCoordinates($stattreadstamina_ctr, 370.7745, 2441.234, 19.0844)
Char.FreezePosition($stattreadstamina_ctr, True)
Clock.SetTimeOfDay(12, 0)
wait 11000
Camera.DoFade(6000, Fade.In)
Camera.SetVectorMove(370.7745, 2441.234, 17.5844, 366.5777, 2438.902, 17.5844, 2250, False)
Camera.SetVectorTrack(369.9044, 2440.751, 17.4849, 365.7076, 2438.419, 17.4849, 2250, False)

:FINALEC_51982
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_52013
wait 0
gosub @FINALEC_57172
goto @FINALEC_51982

:FINALEC_52013
Camera.SetVectorMove(366.5777, 2438.902, 17.5844, 362.0319, 2436.376, 17.5835, 2250, False)
Camera.SetVectorTrack(365.7076, 2438.419, 17.4849, 361.1612, 2435.893, 17.4921, 2250, False)

:FINALEC_52087
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_52118
wait 0
gosub @FINALEC_57172
goto @FINALEC_52087

:FINALEC_52118
Camera.SetVectorMove(362.0319, 2436.376, 17.5835, 357.4894, 2433.852, 17.6536, 2250, False)
Camera.SetVectorTrack(361.1612, 2435.893, 17.4921, 356.6158, 2433.367, 17.6101, 2250, False)

:FINALEC_52192
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_52223
wait 0
gosub @FINALEC_57172
goto @FINALEC_52192

:FINALEC_52223
Camera.SetVectorMove(357.4894, 2433.852, 17.6536, 352.8694, 2431.29, 17.996, 2250, False)
Camera.SetVectorTrack(356.6158, 2433.367, 17.6101, 351.9951, 2430.805, 18.0046, 2250, False)

:FINALEC_52297
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_52328
wait 0
gosub @FINALEC_57172
goto @FINALEC_52297

:FINALEC_52328
Camera.SetVectorMove(352.8694, 2431.29, 17.996, 348.2637, 2428.728, 18.5695, 2200, False)
Camera.SetVectorTrack(351.9951, 2430.805, 18.0046, 347.3847, 2428.251, 18.5783, 2200, False)

:FINALEC_52402
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_52433
wait 0
gosub @FINALEC_57172
goto @FINALEC_52402

:FINALEC_52433
skip_cutscene_start_internal @FINALEC_56740
Camera.SetVectorMove(348.2637, 2428.728, 18.5695, 343.6016, 2426.274, 19.1432, 2150, False)
Camera.SetVectorTrack(347.3847, 2428.251, 18.5783, 342.7046, 2425.832, 19.152, 2150, False)

:FINALEC_52514
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_52545
wait 0
gosub @FINALEC_57172
goto @FINALEC_52514

:FINALEC_52545
Camera.SetVectorMove(343.6016, 2426.274, 19.1432, 338.937, 2424.046, 19.706, 2100, False)
Camera.SetVectorTrack(342.7046, 2425.832, 19.152, 338.0236, 2423.639, 19.7148, 2100, False)

:FINALEC_52619
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_52650
wait 0
gosub @FINALEC_57172
goto @FINALEC_52619

:FINALEC_52650
Camera.SetVectorMove(338.937, 2424.046, 19.706, 334.282, 2422.038, 20.2581, 2000, False)
Camera.SetVectorTrack(338.0236, 2423.639, 19.7148, 333.3536, 2421.666, 20.2669, 2000, False)

:FINALEC_52724
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_52755
wait 0
gosub @FINALEC_57172
goto @FINALEC_52724

:FINALEC_52755
Camera.SetVectorMove(334.282, 2422.038, 20.2581, 329.5525, 2420.212, 20.8101, 2000, False)
Camera.SetVectorTrack(333.3536, 2421.666, 20.2669, 328.611, 2419.875, 20.8189, 2000, False)

:FINALEC_52829
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_52860
wait 0
gosub @FINALEC_57172
goto @FINALEC_52829

:FINALEC_52860
Camera.SetVectorMove(329.5525, 2420.212, 20.8101, 324.7735, 2418.516, 21.3621, 2000, False)
Camera.SetVectorTrack(328.611, 2419.875, 20.8189, 323.8303, 2418.184, 21.371, 2000, False)

:FINALEC_52934
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_52965
wait 0
gosub @FINALEC_57172
goto @FINALEC_52934

:FINALEC_52965
Camera.SetVectorMove(324.7735, 2418.516, 21.3621, 320.0809, 2416.879, 21.9034, 2000, False)
Camera.SetVectorTrack(323.8303, 2418.184, 21.371, 319.1361, 2416.552, 21.9122, 2000, False)

:FINALEC_53039
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_53070
wait 0
gosub @FINALEC_57172
goto @FINALEC_53039

:FINALEC_53070
Camera.SetVectorMove(320.0809, 2416.879, 21.9034, 315.103, 2415.156, 22.477, 2000, False)
Camera.SetVectorTrack(319.1361, 2416.552, 21.9122, 314.1573, 2414.831, 22.4858, 2000, False)

:FINALEC_53144
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_53175
wait 0
gosub @FINALEC_57172
goto @FINALEC_53144

:FINALEC_53175
Camera.SetVectorMove(315.103, 2415.156, 22.477, 310.2042, 2413.506, 23.0399, 2000, False)
Camera.SetVectorTrack(314.1573, 2414.831, 22.4858, 309.2525, 2413.198, 23.0487, 2000, False)

:FINALEC_53249
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_53280
wait 0
gosub @FINALEC_57172
goto @FINALEC_53249

:FINALEC_53280
Camera.SetVectorMove(310.2042, 2413.506, 23.0399, 305.2758, 2411.946, 23.6028, 2000, False)
Camera.SetVectorTrack(309.2525, 2413.198, 23.0487, 304.3187, 2411.656, 23.6116, 2000, False)

:FINALEC_53354
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_53385
wait 0
gosub @FINALEC_57172
goto @FINALEC_53354

:FINALEC_53385
Camera.SetVectorMove(305.2758, 2411.946, 23.6028, 300.3198, 2410.476, 24.1656, 2000, False)
Camera.SetVectorTrack(304.3187, 2411.656, 23.6116, 299.3576, 2410.204, 24.1744, 2000, False)

:FINALEC_53459
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_53490
wait 0
gosub @FINALEC_57172
goto @FINALEC_53459

:FINALEC_53490
Camera.SetVectorMove(300.3198, 2410.476, 24.1656, 295.434, 2409.122, 24.7176, 2000, False)
Camera.SetVectorTrack(299.3576, 2410.204, 24.1744, 294.4671, 2408.866, 24.7265, 2000, False)

:FINALEC_53564
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_53595
wait 0
gosub @FINALEC_57172
goto @FINALEC_53564

:FINALEC_53595
Camera.SetVectorMove(295.434, 2409.122, 24.7176, 290.4283, 2407.831, 25.2805, 2000, False)
Camera.SetVectorTrack(294.4671, 2408.866, 24.7265, 289.4569, 2407.593, 25.2893, 2000, False)

:FINALEC_53669
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_53700
wait 0
gosub @FINALEC_57172
goto @FINALEC_53669

:FINALEC_53700
Camera.SetVectorMove(290.4283, 2407.831, 25.2805, 285.3999, 2406.631, 25.8434, 2000, False)
Camera.SetVectorTrack(289.4569, 2407.593, 25.2893, 284.4244, 2406.411, 25.8522, 2000, False)

:FINALEC_53774
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_53805
wait 0
gosub @FINALEC_57172
goto @FINALEC_53774

:FINALEC_53805
Camera.SetVectorMove(285.3999, 2406.631, 25.8434, 280.3567, 2405.488, 26.4062, 2000, False)
Camera.SetVectorTrack(284.4244, 2406.411, 25.8522, 279.3812, 2405.268, 26.415, 2000, False)

:FINALEC_53879
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_53910
wait 0
gosub @FINALEC_57172
goto @FINALEC_53879

:FINALEC_53910
Camera.SetVectorMove(280.3567, 2405.488, 26.4062, 275.3135, 2404.346, 26.9691, 2000, False)
Camera.SetVectorTrack(279.3812, 2405.268, 26.415, 274.338, 2404.126, 26.9779, 2000, False)

:FINALEC_53984
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_54015
wait 0
gosub @FINALEC_57172
goto @FINALEC_53984

:FINALEC_54015
Camera.SetVectorMove(275.3135, 2404.346, 26.9691, 270.3673, 2403.225, 27.5211, 2000, False)
Camera.SetVectorTrack(274.338, 2404.126, 26.9779, 269.3918, 2403.005, 27.5299, 2000, False)

:FINALEC_54089
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_54120
wait 0
gosub @FINALEC_57172
goto @FINALEC_54089

:FINALEC_54120
Camera.SetVectorMove(270.3673, 2403.225, 27.5211, 265.4211, 2402.104, 28.0732, 2000, False)
Camera.SetVectorTrack(269.3918, 2403.005, 27.5299, 264.4456, 2401.885, 28.082, 2000, False)

:FINALEC_54194
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_54225
wait 0
gosub @FINALEC_57172
goto @FINALEC_54194

:FINALEC_54225
Camera.SetVectorMove(265.4211, 2402.104, 28.0732, 262.4145, 2401.423, 28.4087, 2000, False)
Camera.SetVectorTrack(264.4456, 2401.885, 28.082, 261.439, 2401.203, 28.4175, 2000, False)

:FINALEC_54299
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_54330
wait 0
gosub @FINALEC_57172
goto @FINALEC_54299

:FINALEC_54330
Camera.SetVectorMove(262.4145, 2401.423, 28.4087, 258.8261, 2400.61, 28.8092, 2000, False)
Camera.SetVectorTrack(261.439, 2401.203, 28.4175, 257.8506, 2400.39, 28.818, 2000, False)

:FINALEC_54404
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_54435
wait 0
gosub @FINALEC_57172
goto @FINALEC_54404

:FINALEC_54435
Camera.DoFade(6000, Fade.Out)
Camera.SetVectorMove(258.8261, 2400.61, 28.8092, 253.8804, 2399.49, 29.3612, 2000, False)
Camera.SetVectorTrack(257.8506, 2400.39, 28.818, 252.9049, 2399.27, 29.37, 2000, False)

:FINALEC_54516
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_54547
wait 0
gosub @FINALEC_57172
goto @FINALEC_54516

:FINALEC_54547
Camera.SetVectorMove(253.8804, 2399.49, 29.3612, 248.8379, 2398.347, 29.9241, 2000, False)
Camera.SetVectorTrack(252.9049, 2399.27, 29.37, 247.8624, 2398.127, 29.9329, 2000, False)

:FINALEC_54621
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_54652
wait 0
gosub @FINALEC_57172
goto @FINALEC_54621

:FINALEC_54652
Camera.SetVectorMove(248.8379, 2398.347, 29.9241, 244.0864, 2397.271, 30.4545, 2000, False)
Camera.SetVectorTrack(247.8624, 2398.127, 29.9329, 243.1109, 2397.051, 30.4633, 2000, False)

:FINALEC_54726
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_54757
wait 0
gosub @FINALEC_57172
goto @FINALEC_54726

:FINALEC_54757
Camera.DoFade(0, Fade.Out)

:FINALEC_54763
if 
  Camera.GetFadingStatus
goto_if_false @FINALEC_54787
wait 0
goto @FINALEC_54763

:FINALEC_54787
Char.SetCoordinates($stattreadstamina_ctr, 2012.444, 2140.383, 78.0505)
Char.FreezePosition($stattreadstamina_ctr, True)
Clock.SetTimeOfDay(0, 0)
wait 11000
Camera.DoFade(6000, Fade.In)
Camera.SetVectorMove(2012.444, 2140.383, 76.5505, 2030.939, 2140.419, 76.5504, 2900, False)
Camera.SetVectorTrack(2013.439, 2140.385, 76.451, 2031.934, 2140.421, 76.4497, 2900, False)

:FINALEC_54906
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_54937
wait 0
gosub @FINALEC_57172
goto @FINALEC_54906

:FINALEC_54937
Camera.SetVectorMove(2030.939, 2140.419, 76.5504, 2051.375, 2140.459, 75.0916, 2900, False)
Camera.SetVectorTrack(2031.934, 2140.421, 76.4497, 2052.349, 2140.461, 74.8638, 2900, False)

:FINALEC_55011
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_55042
wait 0
gosub @FINALEC_57172
goto @FINALEC_55011

:FINALEC_55042
Camera.SetVectorMove(2051.375, 2140.459, 75.0916, 2072.109, 2140.5, 71.7815, 2900, False)
Camera.SetVectorTrack(2052.349, 2140.461, 74.8638, 2073.061, 2140.502, 71.4748, 2900, False)

:FINALEC_55116
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_55147
wait 0
gosub @FINALEC_57172
goto @FINALEC_55116

:FINALEC_55147
Camera.SetVectorMove(2072.109, 2140.5, 71.7815, 2092.618, 2140.541, 67.3086, 2900, False)
Camera.SetVectorTrack(2073.061, 2140.502, 71.4748, 2093.569, 2140.543, 66.9993, 2900, False)

:FINALEC_55221
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_55252
wait 0
gosub @FINALEC_57172
goto @FINALEC_55221

:FINALEC_55252
Camera.SetVectorMove(2092.618, 2140.541, 67.3086, 2114.102, 2140.584, 62.62, 2900, False)
Camera.SetVectorTrack(2093.569, 2140.543, 66.9993, 2115.053, 2140.586, 62.3108, 2900, False)

:FINALEC_55326
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_55357
wait 0
gosub @FINALEC_57172
goto @FINALEC_55326

:FINALEC_55357
Camera.SetVectorMove(2114.102, 2140.584, 62.62, 2135.587, 2140.627, 57.9315, 2900, False)
Camera.SetVectorTrack(2115.053, 2140.586, 62.3108, 2136.538, 2140.629, 57.6223, 2900, False)

:FINALEC_55431
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_55462
wait 0
gosub @FINALEC_57172
goto @FINALEC_55431

:FINALEC_55462
Camera.SetVectorMove(2135.587, 2140.627, 57.9315, 2157.071, 2140.67, 53.2431, 2900, False)
Camera.SetVectorTrack(2136.538, 2140.629, 57.6223, 2158.022, 2140.672, 52.9338, 2900, False)

:FINALEC_55536
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_55567
wait 0
gosub @FINALEC_57172
goto @FINALEC_55536

:FINALEC_55567
Camera.SetVectorMove(2157.071, 2140.67, 53.2431, 2179.044, 2140.714, 48.4481, 2900, False)
Camera.SetVectorTrack(2158.022, 2140.672, 52.9338, 2179.995, 2140.716, 48.1388, 2900, False)

:FINALEC_55641
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_55672
wait 0
gosub @FINALEC_57172
goto @FINALEC_55641

:FINALEC_55672
Camera.SetVectorMove(2179.044, 2140.714, 48.4481, 2201.017, 2140.758, 43.6528, 2900, False)
Camera.SetVectorTrack(2179.995, 2140.716, 48.1388, 2201.968, 2140.76, 43.344, 2900, False)

:FINALEC_55746
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_55777
wait 0
gosub @FINALEC_57172
goto @FINALEC_55746

:FINALEC_55777
Camera.SetVectorMove(2201.017, 2140.758, 43.6528, 2222.665, 2140.801, 39.8525, 2900, False)
Camera.SetVectorTrack(2201.968, 2140.76, 43.344, 2223.635, 2140.802, 39.6117, 2900, False)

:FINALEC_55851
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_55882
wait 0
gosub @FINALEC_57172
goto @FINALEC_55851

:FINALEC_55882
Camera.SetVectorMove(2222.665, 2140.801, 39.8525, 2244.471, 2140.844, 37.0436, 2900, False)
Camera.SetVectorTrack(2223.635, 2140.802, 39.6117, 2245.452, 2140.845, 36.8518, 2900, False)

:FINALEC_55956
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_55987
wait 0
gosub @FINALEC_57172
goto @FINALEC_55956

:FINALEC_55987
Camera.SetVectorMove(2244.471, 2140.844, 37.0436, 2266.387, 2140.886, 35.2987, 2900, False)
Camera.SetVectorTrack(2245.452, 2140.845, 36.8518, 2267.378, 2140.888, 35.1659, 2900, False)

:FINALEC_56061
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_56092
wait 0
gosub @FINALEC_57172
goto @FINALEC_56061

:FINALEC_56092
Camera.SetVectorMove(2266.387, 2140.886, 35.2987, 2287.867, 2140.928, 34.9542, 2900, False)
Camera.SetVectorTrack(2267.378, 2140.888, 35.1659, 2288.864, 2140.93, 34.8693, 2900, False)

:FINALEC_56166
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_56197
wait 0
gosub @FINALEC_57172
goto @FINALEC_56166

:FINALEC_56197
Camera.SetVectorMove(2287.867, 2140.928, 34.9542, 2310.356, 2140.972, 35.284, 2900, False)
Camera.SetVectorTrack(2288.864, 2140.93, 34.8693, 2311.353, 2140.974, 35.1991, 2900, False)

:FINALEC_56271
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_56302
wait 0
gosub @FINALEC_57172
goto @FINALEC_56271

:FINALEC_56302
Camera.SetVectorMove(2310.356, 2140.972, 35.284, 2332.845, 2141.016, 35.6137, 2900, False)
Camera.SetVectorTrack(2311.353, 2140.974, 35.1991, 2333.842, 2141.018, 35.5288, 2900, False)

:FINALEC_56376
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_56407
wait 0
gosub @FINALEC_57172
goto @FINALEC_56376

:FINALEC_56407
Audio.SetMusicDoesFade(True)
Camera.SetVectorMove(2332.845, 2141.016, 35.6137, 2354.335, 2141.058, 35.9288, 2900, False)
Camera.SetVectorTrack(2333.842, 2141.018, 35.5288, 2355.331, 2141.06, 35.8439, 2900, False)

:FINALEC_56485
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_56516
wait 0
gosub @FINALEC_57172
goto @FINALEC_56485

:FINALEC_56516
Camera.DoFade(4000, Fade.Out)
Camera.SetVectorMove(2354.335, 2141.058, 35.9288, 2376.824, 2141.102, 36.2586, 2900, False)
Camera.SetVectorTrack(2355.331, 2141.06, 35.8439, 2377.82, 2141.104, 36.1737, 2900, False)

:FINALEC_56597
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_56628
wait 0
gosub @FINALEC_57172
goto @FINALEC_56597

:FINALEC_56628
Camera.SetVectorMove(2376.824, 2141.102, 36.2586, 2399.813, 2141.147, 36.5957, 2900, False)
Camera.SetVectorTrack(2377.82, 2141.104, 36.1737, 2400.809, 2141.149, 36.5108, 2900, False)

:FINALEC_56702
if 
  Camera.IsVectorMoveRunning
goto_if_false @FINALEC_56733
wait 0
gosub @FINALEC_57172
goto @FINALEC_56702

:FINALEC_56733
297@ = 1

:FINALEC_56740
skip_cutscene_end 
if 
  297@ == 0
goto_if_false @FINALEC_56762
Credits.Stop

:FINALEC_56762
Audio.SetMusicDoesFade(True)
Camera.DoFade(0, Fade.Out)

:FINALEC_56772
if 
  Camera.GetFadingStatus
goto_if_false @FINALEC_56796
wait 0
goto @FINALEC_56772

:FINALEC_56796
Hud.SwitchWidescreen(False)
Weather.Release
Weather.ForceNow(WeatherType.SunnySmogLa)
Audio.StopBeatTrack
Char.FreezePosition($stattreadstamina_ctr, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, 2494.483, -1684.639, 12.51)
Char.SetHeading($stattreadstamina_ctr, 3.546)
Camera.ResetNewScriptables
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Camera.SetDarknessEffect(False, -1)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)

:FINALEC_56876
if 
  not Credits.AreFinished
goto_if_false @FINALEC_56900
wait 0
goto @FINALEC_56876

:FINALEC_56900
Audio.StopBeatTrack
Credits.Stop
Streaming.LoadSceneInDirection(2495.111, -1687.04, 12.55, 0.0)
wait 500
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi, 300)
Camera.DoFade(3500, Fade.In)

:FINALEC_56948
if 
  Camera.GetFadingStatus
goto_if_false @FINALEC_56972
wait 0
goto @FINALEC_56948

:FINALEC_56972
Player.ClearWantedLevel($statbike_temp)
Player.SetControl($statbike_temp, True)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi, 120)
goto @FINALEC_57451
288@ = 11

:FINALEC_57014
goto @FINALEC_1817

:FINALEC_57021
if 
  204@ == 0
goto_if_false @FINALEC_57061
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 187@)
set_lvar_text_label 185@s = 188@s
204@ = 1

:FINALEC_57061
return 

:FINALEC_57063
if 
  204@ == 1
goto_if_false @FINALEC_57117
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @FINALEC_57117
Text.PrintNow(185@s, 4000, 1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
204@ = 2

:FINALEC_57117
if 
  204@ == 2
goto_if_false @FINALEC_57170
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @FINALEC_57170
203@ += 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearPrints
204@ = 0

:FINALEC_57170
return 

:FINALEC_57172
$x, $y, $z = Camera.GetActiveCoordinates()
$z += 1.5
Char.SetCoordinates($stattreadstamina_ctr, $x, $y, $z)
return 

:FINALEC_57209
184@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, 107@)
Sequence.Close(184@)
Char.PerformSequence(102@, 184@)
Sequence.Clear(184@)
return 

:FINALEC_57247
98@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.ToggleDuck(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(98@)
Char.PerformSequence(102@, 98@)
Sequence.Clear(98@)
return 

:FINALEC_57291
99@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)
Sequence.Close(99@)
Char.PerformSequence(102@, 99@)
Sequence.Clear(99@)
return 

:FINALEC_57329
Text.ClearPrints
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
if 
  201@ == 1
goto_if_false @FINALEC_57381
Text.PrintNow('RM4_46', 5000, 1)

:FINALEC_57381
if 
  198@ == 7
goto_if_false @FINALEC_57415
Text.PrintNow('RM4_45', 7000, 1)

:FINALEC_57415
if 
  202@ == 1
goto_if_false @FINALEC_57449
Text.PrintNow('RM4_50', 5000, 1)

:FINALEC_57449
return 

:FINALEC_57451
Player.ClearWantedLevel($statbike_temp)
Stat.RegisterMissionPassed('RIOT_4')
Stat.PlayerMadeProgress(1)
Stat.SetInt(StatId.CitiesPassed, 4)
Blip.Remove($flag_mansion_mission_counter)
Blip.Remove($intro_contact_blip)
$mansionX += 1
Text.PrintWithNumberBig('M_PASSR', 150, 5000, TextStyle.Middle)
Audio.PlayMissionPassedTune(1)
Stat.AwardPlayerMissionRespect(150)
return 

:FINALEC_57525
World.SetRailtrackResistanceMult(-1.0)
Hud.ClearCounter($rails_fcflag)
Hud.ClearCounter($Schallenge_X)
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Blip.Remove(115@)
Blip.Remove(238@)
Blip.Remove(239@)
Blip.Remove(240@)
Blip.Remove(241@)
Blip.Remove(242@)
Blip.Remove(243@)
Blip.Remove(244@)
Blip.Remove(245@)
Blip.Remove(247@)
Blip.Remove(248@)
Blip.Remove(278@)
Blip.Remove(279@)
Particle.Kill(280@)
Particle.Kill(281@)
Particle.Kill(282@)
Particle.Kill(283@)
Particle.Kill(284@)
Particle.Kill(285@)
Particle.Kill(286@)
Char.RemoveElegantly($big_smoke_car)
Char.RemoveElegantly(49@)
Char.RemoveElegantly(158@)
Char.RemoveElegantly(159@)
World.RemoveAllScriptFires
Game.SetWantedMultiplier(1.0)
Game.SetMaxWantedLevel(6)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Streaming.MarkModelAsNoLongerNeeded(538)
Streaming.MarkModelAsNoLongerNeeded(544)
Streaming.MarkModelAsNoLongerNeeded(280)
Streaming.MarkModelAsNoLongerNeeded(492)
Streaming.MarkModelAsNoLongerNeeded(533)
Streaming.RemoveAnimation("FINALE")
Streaming.RemoveAnimation("FINALE2")
Streaming.MarkModelAsNoLongerNeeded(109)
Streaming.MarkModelAsNoLongerNeeded(102)
Streaming.MarkModelAsNoLongerNeeded(#LA_FUCKCAR1)
Streaming.MarkModelAsNoLongerNeeded(#LA_FUCKCAR2)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(596)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(344)
Streaming.MarkModelAsNoLongerNeeded(110)
Streaming.MarkModelAsNoLongerNeeded(576)
Streaming.UnloadSpecialCharacter(1)
Streaming.UnloadSpecialCharacter(2)
if 
  not Car.IsDead(153@)
goto_if_false @FINALEC_57828
Car.SetProofs(153@, False, False, False, False, False)

:FINALEC_57828
if 
  not Car.IsDead(152@)
goto_if_false @FINALEC_57866
Car.LockDoors(152@, CarLock.Unlocked)
Car.SetProofs(152@, False, False, False, False, False)

:FINALEC_57866
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @FINALEC_57904
Char.ShutUp($stattreadstamina_ctr, False)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)

:FINALEC_57904
Weather.Release
Game.SwitchRandomTrains(True)
Game.SwitchEmergencyServices(True)
Game.SetWantedMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 113---------------
// Originally: Shooting range

:SHRANGE
script_name 'SHRANGE'
set_deatharrest_state 0
$weapon_shop1_blip = 1
$sc3_missioncar = 1
$Schallenge_Y = 286.1649
$SR_range_level = -30.9591
$8022 = 301.8877
$8026 = -77.2586
$8023 = 306.4883
$8027 = -141.9047
$8024 = 307.0919
$SR_ped_weapon = -159.2197
$8061[0] = -321
$8061[1] = -322
$8061[2] = -323
$8061[3] = -324
$8061[4] = -325
$8061[5] = -326
$8061[6] = -327
$8061[7] = -328
$8042[1] = 0.275
$8050[1] = -3.502
$8042[2] = -0.214
$8050[2] = -3.479
$8042[3] = 0.245
$8050[3] = -2.791
$8042[4] = -0.168
$8050[4] = -2.806
$8042[5] = 0.079
$8050[5] = -2.123
$8042[6] = -0.589
$8050[6] = -2.317
$8042[7] = -0.357
$8050[7] = -1.855
35@ = 290.6264
39@ = -24.5548
43@ = 1000.523
47@ = 3.0583
51@ = 6.1726
55@ = -13.6242
59@ = 0.0
36@ = 303.0788
40@ = -61.2269
44@ = 1000.523
48@ = 2.9464
52@ = 6.0799
56@ = -13.6242
60@ = 270.0
37@ = 300.1018
41@ = -137.0399
45@ = 1003.055
49@ = 3.1341
53@ = 6.1264
57@ = -13.6242
61@ = 90.0
38@ = 299.4518
42@ = -166.3517
46@ = 998.6105
50@ = 3.0055
54@ = 4.6018
58@ = -13.6242
62@ = 90.0
$im_players_city = 0

:SHRANGE_600
if 
  3 > $im_players_city
goto_if_false @SHRANGE_723
$sr_obj_number($im_players_city,3i) = 1
$8090($im_players_city,3i) = 0
$SR_target_state($im_players_city,4i) = 0
$8029($im_players_city,3i) = 0
$8036($im_players_city,3i) = 0
$8058($im_players_city,3f) = 90.0
$sr_Score($im_players_city,3i) = 0
$SR_flag($im_players_city,3i) = 0
$im_players_city += 1
goto @SHRANGE_600

:SHRANGE_723
$sr_area = 0
$sr_seq = 0
$sr_direction = 0
$trigger_phonecall_failed = Stat.GetInt(StatId.CitiesPassed)
if 
  $trigger_phonecall_failed == 0
goto_if_false @SHRANGE_777
$car_gen_pine = 2

:SHRANGE_777
if 
  $trigger_phonecall_failed == 1
goto_if_false @SHRANGE_827
if 
  $car_gen_pine == 2
goto_if_false @SHRANGE_820
$5278 = 1

:SHRANGE_820
$car_gen_pine = 3

:SHRANGE_827
if 
  $trigger_phonecall_failed > 1
goto_if_false @SHRANGE_877
if 
  4 > $car_gen_pine
goto_if_false @SHRANGE_870
$5278 = 1

:SHRANGE_870
$car_gen_pine = 4

:SHRANGE_877
$8073 = DecisionMakerChar.Copy(65538)
DecisionMakerChar.ClearEventResponse($8073, 15)
DecisionMakerChar.AddEventResponse($8073, 15, 300, 100.0, 100.0, 100.0, 100.0, True, True)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1801)
Streaming.RequestModel(#TARGET_HEAD)
Streaming.RequestModel(#TARGET_LARM)
Streaming.RequestModel(#TARGET_RARM)
Streaming.RequestModel(#TARGET_LLEG)
Streaming.RequestModel(#TARGET_RLEG)
Streaming.RequestModel(#TARGET_RTORSO)
Streaming.RequestModel(#TARGET_LTORSO)
Streaming.RequestModel(#TARGET_FRAME)
Streaming.RequestModel(346)
Streaming.RequestModel(352)
Streaming.RequestModel(349)
Streaming.RequestModel(355)

:SHRANGE_995
if or
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(349)
  not Streaming.HasModelLoaded(355)
goto_if_false @SHRANGE_1037
wait 0
goto @SHRANGE_995

:SHRANGE_1037
if or
  not Streaming.HasModelLoaded(#TARGET_HEAD)
  not Streaming.HasModelLoaded(#TARGET_LARM)
  not Streaming.HasModelLoaded(#TARGET_RARM)
  not Streaming.HasModelLoaded(#TARGET_LLEG)
  not Streaming.HasModelLoaded(#TARGET_RLEG)
goto_if_false @SHRANGE_1084
wait 0
goto @SHRANGE_1037

:SHRANGE_1084
if or
  not Streaming.HasModelLoaded(#TARGET_RTORSO)
  not Streaming.HasModelLoaded(#TARGET_LTORSO)
  not Streaming.HasModelLoaded(#TARGET_FRAME)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @SHRANGE_1125
wait 0
goto @SHRANGE_1084

:SHRANGE_1125
if 
  $sc3_missioncar == 47
goto_if_false @SHRANGE_1201
$8101[0] = Object.CreateNoOffset($8061($im_players_city,8i), 293.757, 1.0, 1000.516)
$8098[0] = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
$sr_Dec = Object.Create(338, $on_footY, $on_footZ, $in_carX)

:SHRANGE_1201
$sr_int2 = Streaming.GetAreaVisible()

:SHRANGE_1206
if 
is_ps2_keyboard_key_just_pressed 87
goto_if_false @SHRANGE_1298
$im_players_city = 9

:SHRANGE_1228
if 
  16 > $im_players_city
goto_if_false @SHRANGE_1291
if 
  Object.DoesExist($8101($im_players_city,24i))
goto_if_false @SHRANGE_1277
Object.Break($8101($im_players_city,24i), 1)

:SHRANGE_1277
$im_players_city += 1
goto @SHRANGE_1228

:SHRANGE_1291
$8130 = 20

:SHRANGE_1298
wait 0
$im_players_city = Streaming.GetAreaVisible()
if 
  not is_int_var_equal_to_int_var $im_players_city == $sr_int2
goto_if_false @SHRANGE_1333
goto @SHRANGE_16768

:SHRANGE_1333
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @SHRANGE_1370
gosub @SHRANGE_13229
gosub @SHRANGE_10840
gosub @SHRANGE_1379

:SHRANGE_1370
goto @SHRANGE_1206
terminate_this_script 

:SHRANGE_1379
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @SHRANGE_1444
if 
  $sr_area <> 0
goto_if_false @SHRANGE_1444
Text.ClearPrints
34@ = 1
$sr_area = 20
$sr_seq = 1
$sr_direction = 0

:SHRANGE_1444
switch_start $sr_area {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @SHRANGE_10838 {caseNum1} 0 {caseLabel1} @SHRANGE_1507 {caseNum2} 1 {caseLabel2} @SHRANGE_1806 {caseNum3} 2 {caseLabel3} @SHRANGE_5089 {caseNum4} 3 {caseLabel4} @SHRANGE_5302 {caseNum5} 4 {caseLabel5} @SHRANGE_6519 {caseNum6} 5 {caseLabel6} @SHRANGE_8144 {caseNum7} 20 {caseLabel7} @SHRANGE_9963

:SHRANGE_1507
if 
  $valet_mission_terminate == 0
goto_if_false @SHRANGE_1580
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 286.1649, -30.9591, 1000.516, 2.0, 2.0, 2.0, True)
goto_if_false @SHRANGE_1580
$sr_area = 1

:SHRANGE_1580
if 
  $valet_mission_terminate == 1
goto_if_false @SHRANGE_1653
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 301.8877, -77.2586, 1000.523, 2.0, 2.0, 2.0, True)
goto_if_false @SHRANGE_1653
$sr_area = 1

:SHRANGE_1653
if 
  $valet_mission_terminate == 2
goto_if_false @SHRANGE_1726
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 306.4883, -141.9047, 1003.055, 2.0, 2.0, 2.0, True)
goto_if_false @SHRANGE_1726
$sr_area = 1

:SHRANGE_1726
if 
  $valet_mission_terminate == 3
goto_if_false @SHRANGE_1799
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 307.0919, -159.2197, 998.601, 2.0, 2.0, 2.0, True)
goto_if_false @SHRANGE_1799
$sr_area = 1

:SHRANGE_1799
goto @SHRANGE_10838

:SHRANGE_1806
if 
  $g_VB_SMALL_LIFT > 0
goto_if_false @SHRANGE_1865
if and
  7 > $sr_seq
  $sr_seq > 1
goto_if_false @SHRANGE_1865
$sr_seq = 7
$sr_direction = 0
Text.ClearPrints

:SHRANGE_1865
if 
  $sr_seq == 0
goto_if_false @SHRANGE_2017
34@ = 0
Pad.SetPlayerCycleWeaponButton($statbike_temp, False)
$ModelForWeaponType, $WeaponType, $this_Watch = Char.GetWeaponInSlot($stattreadstamina_ctr, WeaponSlot.Pistols)
$8140, $8136, $8144 = Char.GetWeaponInSlot($stattreadstamina_ctr, WeaponSlot.Shotguns)
$8141, $8137, $8145 = Char.GetWeaponInSlot($stattreadstamina_ctr, WeaponSlot.SMG)
$8142, $8138, $8146 = Char.GetWeaponInSlot($stattreadstamina_ctr, WeaponSlot.Assault)
$SR_temp_target = 0
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Stat.ShowUpdateStats(False)
Camera.DoFade(1000, Fade.Out)
$sr_seq = 1
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1500

:SHRANGE_2017
if 
  $sr_seq == 1
goto_if_false @SHRANGE_2251
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_2251
Hud.SwitchWidescreen(True)
Text.ClearPrints
Text.Print('ANR_1', 4000, 1)
Text.Print('ANR_2', 4000, 1)
Text.Print('ANR_3', 4000, 1)
$8087 = -0.83
$8088 = 0.47
$in_carX = 1.7
gosub @SHRANGE_16600
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$8087 = 0.17
$8088 = 0.63
$in_carX = 1.7
gosub @SHRANGE_16600
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)
$sr_seq = 2
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 4000

:SHRANGE_2251
if 
  $sr_seq == 2
goto_if_false @SHRANGE_2445
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_2445
$8090[1] = 3
$sr_obj_number[1] = 0
$8087 = -0.63
$8088 = -3.47
$in_carX = 0.2
gosub @SHRANGE_16600
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$8087 = 0.4
$8088 = -2.5
$in_carX = 0.5
gosub @SHRANGE_16600
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)
$sr_seq = 3
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 2000

:SHRANGE_2445
if 
  $sr_seq == 3
goto_if_false @SHRANGE_2574
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_2574
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Pistol, 99999)
$8087 = 0.0
add_float_lvar_to_float_var $8087 += 47@($valet_mission_terminate,4f)
$8088 = -1.0
gosub @SHRANGE_16600
Task.GoStraightToCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, MoveState.Walk, -2)
$sr_seq = 4
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 3000

:SHRANGE_2574
if 
  $sr_seq == 4
goto_if_false @SHRANGE_3018
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_3018
$8090[1] = 4
set_var_float_to_lvar_float $sr_yoffset = 59@($valet_mission_terminate,4f)
$sr_yoffset += 90.0
Char.SetHeading($stattreadstamina_ctr, $sr_yoffset)
set_var_float_to_lvar_float $8087 = 47@($valet_mission_terminate,4f)
$8087 -= 0.8201
$8088 = -0.4944
$in_carX = 2.1312
gosub @SHRANGE_16600
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
set_var_float_to_lvar_float $8087 = 47@($valet_mission_terminate,4f)
$8087 -= 0.1125
$8088 = -0.0237
$in_carX = 1.6042
gosub @SHRANGE_16600
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
set_var_float_to_lvar_float $8087 = 47@($valet_mission_terminate,4f)
$8088 = -2.0
$in_carX = 0.0
gosub @SHRANGE_16600
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)
set_var_float_to_lvar_float $8087 = 47@($valet_mission_terminate,4f)
$8088 = 0.0
$in_carX = 0.0
gosub @SHRANGE_16600
Char.SetHeading($stattreadstamina_ctr, 59@($valet_mission_terminate,4f))
Task.GoStraightToCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, MoveState.Walk, -2)
if 
  $SR_temp_target == 0
goto_if_false @SHRANGE_2939
$SR_target_state[0] = 1
$SR_target_state[2] = 1

:SHRANGE_2939
$8090[0] = 1
$8090[2] = 1
$8036[0] = 0
$8036[1] = 0
$8036[2] = 0
$8029[0] = 1
$8029[1] = 1
$8029[2] = 1
$sr_seq = 5
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 3000

:SHRANGE_3018
if 
  $sr_seq == 5
goto_if_false @SHRANGE_3209
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_3209
Text.ClearPrints
Text.PrintBig('ANR_6', 2000, TextStyle.Middle)
$8087 = 2.1566
$8088 = 2.4369
$in_carX = 1.4565
gosub @SHRANGE_16600
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$8087 = 1.9771
$8088 = 3.4129
$in_carX = 1.3326
gosub @SHRANGE_16600
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
$sr_seq = 6
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 3000

:SHRANGE_3209
if 
  $sr_seq == 6
goto_if_false @SHRANGE_3448
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_3448
if 
  not Char.IsDead($8098[0])
goto_if_false @SHRANGE_3269
Char.SetAccuracy($8098[0], 100)

:SHRANGE_3269
Text.ClearThisBigPrint('ANR_6')
Text.Print('ANR_7', 4000, 1)
Text.Print('ANR_10', 4000, 1)
$8087 = 0.7525
$8088 = -0.3628
$in_carX = 1.6174
gosub @SHRANGE_16600
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$8087 = 0.1734
$8088 = 0.446
$in_carX = 1.5146
gosub @SHRANGE_16600
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
$sr_seq = 7
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 8000

:SHRANGE_3448
if 
  $sr_seq == 7
goto_if_false @SHRANGE_3563
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_3563
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SHRANGE_3501

:SHRANGE_3501
if 
  $g_VB_SMALL_LIFT == 0
goto_if_false @SHRANGE_3533
$g_VB_SMALL_LIFT = 1
goto @SHRANGE_3549

:SHRANGE_3533
Text.PrintBig('ANR_6', 2000, TextStyle.Middle)

:SHRANGE_3549
Camera.DoFade(1000, Fade.Out)
$sr_seq = 8

:SHRANGE_3563
if 
  $sr_seq == 8
goto_if_false @SHRANGE_3863
if 
  not Camera.GetFadingStatus
goto_if_false @SHRANGE_3863
set_var_float_to_lvar_float $8087 = 47@($valet_mission_terminate,4f)
$8088 = 0.0
$in_carX = 0.0
gosub @SHRANGE_16600
if 
  not Object.DoesExist($sr_Dec)
goto_if_false @SHRANGE_3685
$sr_Dec = Object.Create(338, $on_footY, $on_footZ, $in_carX)
Object.SetVisible($sr_Dec, False)
Char.SetHeading($stattreadstamina_ctr, 59@($valet_mission_terminate,4f))

:SHRANGE_3685
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.AttachToObject($stattreadstamina_ctr, $sr_Dec, 0.0, 0.0, 1.0, 0, 90.0, WeaponType.Pistol)
Pad.SetPlayerDuckButton($statbike_temp, False)
if 
  $SR_temp_target == 0
goto_if_false @SHRANGE_3759
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Pistol, 99999)

:SHRANGE_3759
$8090[1] = 4
$sr_obj_number[1] = 0
$sr_seq = 9
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 800
if 
  $SR_temp_target == 0
goto_if_false @SHRANGE_3828
$SR_target_state[0] = 1
$SR_target_state[2] = 1

:SHRANGE_3828
$8090[0] = 1
$8090[2] = 1
$8036[0] = 4
$8036[1] = 4
$8036[2] = 4

:SHRANGE_3863
if 
  $sr_seq == 9
goto_if_false @SHRANGE_4042
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_4042
Camera.DoFade(1000, Fade.In)
Char.DetachFromCar($stattreadstamina_ctr)
Char.AttachToObject($stattreadstamina_ctr, $sr_Dec, 0.0, 0.0, 1.0, 0, 90.0, WeaponType.Pistol)
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
$8036[0] = 0
$8036[1] = 0
$8036[2] = 0
$8029[0] = 1
$8029[1] = 1
$8029[2] = 1
if 
  $5278 == 1
goto_if_false @SHRANGE_4035
Text.PrintHelp('ANR_56')
$5278 = 0

:SHRANGE_4035
$sr_seq = 10

:SHRANGE_4042
if 
  $sr_seq == 10
goto_if_false @SHRANGE_4125
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_4125
Text.PrintBig('RACE2', 1000, TextStyle.MiddleSmaller)
$sr_seq = 11
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000
Player.SetControl($statbike_temp, True)

:SHRANGE_4125
if 
  $sr_seq == 11
goto_if_false @SHRANGE_4201
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_4201
Text.PrintBig('RACE3', 1000, TextStyle.MiddleSmaller)
$sr_seq = 12
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000

:SHRANGE_4201
if 
  $sr_seq == 12
goto_if_false @SHRANGE_4277
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_4277
Text.PrintBig('RACE4', 1000, TextStyle.MiddleSmaller)
$sr_seq = 13
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000

:SHRANGE_4277
if 
  $sr_seq == 13
goto_if_false @SHRANGE_4360
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_4360
Text.PrintBig('RACE5', 1000, TextStyle.MiddleSmaller)
$sr_seq = 14
if 
  not Char.IsDead($8098[0])
goto_if_false @SHRANGE_4360
Char.SetAccuracy($8098[0], 80)

:SHRANGE_4360
if 
  $sr_seq == 14
goto_if_false @SHRANGE_4392
$sr_area = 2
$sr_seq = 0

:SHRANGE_4392
if 
  $sr_seq == 16
goto_if_false @SHRANGE_4611
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_4611
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SHRANGE_4581
if 
  not Object.DoesExist($sr_Dec)
goto_if_false @SHRANGE_4581
set_var_float_to_lvar_float $8087 = 47@($valet_mission_terminate,4f)
$8088 = 0.0
$in_carX = 0.0
gosub @SHRANGE_16600
$sr_Dec = Object.Create(338, $on_footY, $on_footZ, $in_carX)
Object.SetVisible($sr_Dec, False)
Char.SetHeading($stattreadstamina_ctr, 59@($valet_mission_terminate,4f))
Char.AttachToObject($stattreadstamina_ctr, $sr_Dec, 0.0, 0.0, 1.0, 0, 90.0, WeaponType.Pistol)
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Pad.SetPlayerDuckButton($statbike_temp, False)

:SHRANGE_4581
Camera.DoFade(1000, Fade.Out)
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 2500
$sr_seq = 17

:SHRANGE_4611
if 
  $sr_seq == 17
goto_if_false @SHRANGE_4996
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_4996
if 
  $SR_temp_target == 3
goto_if_false @SHRANGE_4715
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi, 99999)
Char.DetachFromCar($stattreadstamina_ctr)
Char.AttachToObject($stattreadstamina_ctr, $sr_Dec, 0.0, 0.0, 1.0, 0, 90.0, WeaponType.MicroUzi)

:SHRANGE_4715
if 
  $SR_temp_target == 6
goto_if_false @SHRANGE_4782
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Shotgun, 99999)
Char.DetachFromCar($stattreadstamina_ctr)
Char.AttachToObject($stattreadstamina_ctr, $sr_Dec, 0.0, 0.0, 1.0, 0, 90.0, WeaponType.Shotgun)

:SHRANGE_4782
if 
  $SR_temp_target == 9
goto_if_false @SHRANGE_4849
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Ak47, 99999)
Char.DetachFromCar($stattreadstamina_ctr)
Char.AttachToObject($stattreadstamina_ctr, $sr_Dec, 0.0, 0.0, 1.0, 0, 90.0, WeaponType.Ak47)

:SHRANGE_4849
Camera.DoFade(1000, Fade.In)
Text.ClearPrints
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
if 
  $SR_temp_target == 3
goto_if_false @SHRANGE_4905
Text.PrintBig('ANR_47', 3000, TextStyle.Middle)

:SHRANGE_4905
if 
  $SR_temp_target == 6
goto_if_false @SHRANGE_4939
Text.PrintBig('ANR_23', 3000, TextStyle.Middle)

:SHRANGE_4939
if 
  $SR_temp_target == 9
goto_if_false @SHRANGE_4973
Text.PrintBig('ANR_50', 3000, TextStyle.Middle)

:SHRANGE_4973
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 4000
$sr_seq = 18

:SHRANGE_4996
if 
  $sr_seq == 18
goto_if_false @SHRANGE_5082
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_5082
$8036[0] = 0
$8036[1] = 0
$8036[2] = 0
$8029[0] = 1
$8029[1] = 1
$8029[2] = 1
$sr_seq = 10

:SHRANGE_5082
goto @SHRANGE_10838

:SHRANGE_5089
if 
  $sr_seq == 0
goto_if_false @SHRANGE_5160
if 
  not Char.IsDead($8098[0])
goto_if_false @SHRANGE_5130
Char.SetAccuracy($8098[0], 87)

:SHRANGE_5130
if 
  not Char.IsDead($8098[2])
goto_if_false @SHRANGE_5153
Char.SetAccuracy($8098[2], 87)

:SHRANGE_5153
$sr_seq = 1

:SHRANGE_5160
if 
  $sr_seq == 1
goto_if_false @SHRANGE_5295
if and
  $8036[0] == 3
  $8029[0] == 3
goto_if_false @SHRANGE_5217
$sr_area = 20
$sr_seq = 0

:SHRANGE_5217
if and
  $8036[2] == 3
  $8029[2] == 3
goto_if_false @SHRANGE_5256
$sr_area = 20
$sr_seq = 0

:SHRANGE_5256
if and
  $8036[1] == 3
  $8029[1] == 3
goto_if_false @SHRANGE_5295
$sr_area = 3
$sr_seq = 0

:SHRANGE_5295
goto @SHRANGE_10838

:SHRANGE_5302
if 
  $sr_seq == 0
goto_if_false @SHRANGE_5921
if or
  $SR_temp_target == 0
  $SR_temp_target == 3
  $SR_temp_target == 6
  $SR_temp_target == 9
goto_if_false @SHRANGE_5375
Text.PrintBig('ANR_41', 3000, TextStyle.Middle)

:SHRANGE_5375
if or
  $SR_temp_target == 1
  $SR_temp_target == 4
  $SR_temp_target == 7
  $SR_temp_target == 10
goto_if_false @SHRANGE_5441
Text.ClearThisBigPrint('ANR_41')
Text.PrintBig('ANR_42', 2800, TextStyle.Middle)

:SHRANGE_5441
if or
  $SR_temp_target == 2
  $SR_temp_target == 5
  $SR_temp_target == 8
goto_if_false @SHRANGE_5521
Text.ClearThisBigPrint('ANR_42')
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 5500
$8036[0] = 5
$8036[1] = 5
$8036[2] = 5

:SHRANGE_5521
if 
  $SR_temp_target == 11
goto_if_false @SHRANGE_5592
Text.PrintBig('ANR_45', 3000, TextStyle.Middle)
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 5500
$8036[0] = 5
$8036[1] = 5
$8036[2] = 5

:SHRANGE_5592
if 
  is_int_var_equal_to_int_var $SR_temp_target == $impound_area
goto_if_false @SHRANGE_5914
if or
  $SR_temp_target == 0
  $SR_temp_target == 1
goto_if_false @SHRANGE_5645
Stat.IncrementFloat(StatId.WeapontypePistolSkill, 50.0)

:SHRANGE_5645
if or
  $SR_temp_target == 3
  $SR_temp_target == 4
goto_if_false @SHRANGE_5679
Stat.IncrementFloat(StatId.WeapontypeMicroUziSkill, 50.0)

:SHRANGE_5679
if or
  $SR_temp_target == 6
  $SR_temp_target == 7
goto_if_false @SHRANGE_5713
Stat.IncrementFloat(StatId.WeapontypeShotgunSkill, 50.0)

:SHRANGE_5713
if or
  $SR_temp_target == 9
  $SR_temp_target == 10
goto_if_false @SHRANGE_5747
Stat.IncrementFloat(StatId.WeapontypeAk47Skill, 50.0)

:SHRANGE_5747
if 
  $SR_temp_target == 2
goto_if_false @SHRANGE_5778
Stat.IncrementFloat(StatId.WeapontypePistolSkill, 100.0)
Stat.PlayerMadeProgress(1)

:SHRANGE_5778
if 
  $SR_temp_target == 5
goto_if_false @SHRANGE_5809
Stat.IncrementFloat(StatId.WeapontypeMicroUziSkill, 100.0)
Stat.PlayerMadeProgress(1)

:SHRANGE_5809
if 
  $SR_temp_target == 8
goto_if_false @SHRANGE_5840
Stat.IncrementFloat(StatId.WeapontypeShotgunSkill, 100.0)
Stat.PlayerMadeProgress(1)

:SHRANGE_5840
if 
  $SR_temp_target == 11
goto_if_false @SHRANGE_5899
Stat.IncrementFloat(StatId.WeapontypeAk47Skill, 100.0)
Stat.SetFloat(StatId.WeapontypePistolSkill, 1000.0)
Player.AddScore($statbike_temp, 10000)
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(2)
$car_gen_low_rider_near_cesars = 1

:SHRANGE_5899
$impound_area += 1
Stat.SetInt(StatId.ShootingRangeScore, $impound_area)

:SHRANGE_5914
$sr_seq = 1

:SHRANGE_5921
if 
  $sr_seq == 1
goto_if_false @SHRANGE_6512
if 
  $SR_temp_target == 0
goto_if_false @SHRANGE_5971
$sr_area = 4
$sr_seq = 0

:SHRANGE_5971
if or
  $SR_temp_target == 3
  $SR_temp_target == 6
  $SR_temp_target == 9
goto_if_false @SHRANGE_6017
$sr_area = 4
$sr_seq = 10

:SHRANGE_6017
if 
  $SR_temp_target == 1
goto_if_false @SHRANGE_6049
$sr_area = 5
$sr_seq = 0

:SHRANGE_6049
if or
  $SR_temp_target == 4
  $SR_temp_target == 7
  $SR_temp_target == 10
goto_if_false @SHRANGE_6095
$sr_area = 5
$sr_seq = 10

:SHRANGE_6095
if or
  $SR_temp_target == 2
  $SR_temp_target == 5
  $SR_temp_target == 8
goto_if_false @SHRANGE_6141
$sr_area = 1
$sr_seq = 16

:SHRANGE_6141
if 
  $SR_temp_target == 2
goto_if_false @SHRANGE_6203
$SR_target_state[0] = 2
$SR_target_state[2] = 2
$8090[0] = 1
$8090[2] = 1
Text.PrintBig('ANR_29', 2000, TextStyle.Middle)

:SHRANGE_6203
if 
  $SR_temp_target == 5
goto_if_false @SHRANGE_6265
$SR_target_state[0] = 3
$SR_target_state[2] = 3
$8090[0] = 1
$8090[2] = 1
Text.PrintBig('ANR_53', 2000, TextStyle.Middle)

:SHRANGE_6265
if 
  $SR_temp_target == 8
goto_if_false @SHRANGE_6327
$SR_target_state[0] = 4
$SR_target_state[2] = 4
$8090[0] = 1
$8090[2] = 1
Text.PrintBig('ANR_31', 2000, TextStyle.Middle)

:SHRANGE_6327
if 
  $SR_temp_target == 5
goto_if_false @SHRANGE_6400
if 
  2 >= $car_gen_pine
goto_if_false @SHRANGE_6384
$sr_area = 20
$sr_seq = 1
goto @SHRANGE_6400

:SHRANGE_6384
Text.Print('ANR_44', 4000, 1)

:SHRANGE_6400
if 
  $SR_temp_target == 8
goto_if_false @SHRANGE_6473
if 
  3 >= $car_gen_pine
goto_if_false @SHRANGE_6457
$sr_area = 20
$sr_seq = 1
goto @SHRANGE_6473

:SHRANGE_6457
Text.Print('ANR_44', 4000, 1)

:SHRANGE_6473
if 
  $SR_temp_target == 11
goto_if_false @SHRANGE_6505
$sr_area = 20
$sr_seq = 1

:SHRANGE_6505
$SR_temp_target += 1

:SHRANGE_6512
goto @SHRANGE_10838

:SHRANGE_6519
if 
  $sr_seq == 0
goto_if_false @SHRANGE_6623
$SR_flag[0] = 0
$SR_flag[1] = 0
$SR_flag[2] = 0
$8036[0] = 5
$8036[1] = 5
$8036[2] = 5
$8029[0] = 4
$8029[1] = 4
$8029[2] = 4
$sr_seq = 1
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 6000

:SHRANGE_6623
if 
  $sr_seq == 1
goto_if_false @SHRANGE_6716
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_6716
if 
  3 > $g_VB_SMALL_LIFT
goto_if_false @SHRANGE_6693
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:SHRANGE_6693
$sr_seq = 2
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1500

:SHRANGE_6716
if 
  $sr_seq == 2
goto_if_false @SHRANGE_7042
if 
  $g_VB_SMALL_LIFT > 1
goto_if_false @SHRANGE_6846
Text.ClearPrints
if 
  Object.DoesExist($8101[8])
goto_if_false @SHRANGE_6775
Object.Delete($8101[8])

:SHRANGE_6775
Text.ClearThisBigPrint('ANR_18')
Text.ClearThisBigPrint('ANR_19')
$sr_direction = 0
$8036[0] = 0
$8036[1] = 0
$8036[2] = 0
$sr_seq = 3
$sr_direction = 0
goto @SHRANGE_7042

:SHRANGE_6846
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_7042
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Text.ClearThisBigPrint('ANR_41')
Text.PrintBig('ANR_18', 4000, TextStyle.Middle)
Text.Print('ANR_9', 3000, 1)
Text.Print('ANR_10', 3000, 1)
$8087 = -2.0835
$8088 = 6.0428
$in_carX = 0.0387
gosub @SHRANGE_16600
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$sr_seq = 3
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000
$8036[0] = 0
$8036[1] = 0
$8036[2] = 0

:SHRANGE_7042
if 
  $sr_seq == 3
goto_if_false @SHRANGE_7109
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_7109
Camera.DoFade(1000, Fade.In)
$sr_seq = 4
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 6000

:SHRANGE_7109
if 
  $sr_seq == 4
goto_if_false @SHRANGE_7421
if 
  $g_VB_SMALL_LIFT == 1
goto_if_false @SHRANGE_7198
if 
  Object.DoesExist($8101[8])
goto_if_false @SHRANGE_7198
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($8101[8])
$in_carX -= 2.0
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:SHRANGE_7198
if or
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
  $g_VB_SMALL_LIFT > 1
goto_if_false @SHRANGE_7421
if 
  $g_VB_SMALL_LIFT == 1
goto_if_false @SHRANGE_7256
$g_VB_SMALL_LIFT = 2
goto @SHRANGE_7272

:SHRANGE_7256
Text.PrintBig('ANR_18', 2000, TextStyle.Middle)

:SHRANGE_7272
if 
  3 > $g_VB_SMALL_LIFT
goto_if_false @SHRANGE_7333
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Char.DetachFromCar($stattreadstamina_ctr)
Char.AttachToObject($stattreadstamina_ctr, $sr_Dec, 0.0, 0.0, 1.0, 0, 90.0, WeaponType.Pistol)

:SHRANGE_7333
$8036[0] = 0
$8036[1] = 0
$8036[2] = 0
$SR_flag[0] = 0
$SR_flag[1] = 0
$SR_flag[2] = 0
Text.PrintBig('RACE2', 1000, TextStyle.MiddleSmaller)
$sr_seq = 5
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000
Player.SetControl($statbike_temp, True)

:SHRANGE_7421
if 
  $sr_seq == 5
goto_if_false @SHRANGE_7497
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_7497
Text.PrintBig('RACE3', 1000, TextStyle.MiddleSmaller)
$sr_seq = 6
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000

:SHRANGE_7497
if 
  $sr_seq == 6
goto_if_false @SHRANGE_7573
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_7573
Text.PrintBig('RACE4', 1000, TextStyle.MiddleSmaller)
$sr_seq = 7
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000

:SHRANGE_7573
if 
  $sr_seq == 7
goto_if_false @SHRANGE_7633
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_7633
Text.PrintBig('RACE5', 1000, TextStyle.MiddleSmaller)
$sr_seq = 8

:SHRANGE_7633
if 
  $sr_seq == 8
goto_if_false @SHRANGE_7768
if and
  $8036[0] == 3
  $SR_flag[0] == 3
goto_if_false @SHRANGE_7690
$sr_area = 20
$sr_seq = 0

:SHRANGE_7690
if and
  $8036[2] == 3
  $SR_flag[2] == 3
goto_if_false @SHRANGE_7729
$sr_area = 20
$sr_seq = 0

:SHRANGE_7729
if and
  $8036[1] == 3
  $SR_flag[1] == 3
goto_if_false @SHRANGE_7768
$sr_area = 3
$sr_seq = 0

:SHRANGE_7768
if 
  $sr_seq == 10
goto_if_false @SHRANGE_7814
$8036[0] = 5
$8036[1] = 5
$8036[2] = 5
$sr_seq = 11

:SHRANGE_7814
if 
  $sr_seq == 11
goto_if_false @SHRANGE_7991
if and
  $8036[0] == 99
  $8036[1] == 99
  $8036[2] == 99
goto_if_false @SHRANGE_7991
Text.ClearPrints
if 
  $SR_temp_target == 4
goto_if_false @SHRANGE_7900
Text.PrintBig('ANR_48', 3000, TextStyle.Middle)

:SHRANGE_7900
if 
  $SR_temp_target == 7
goto_if_false @SHRANGE_7934
Text.PrintBig('ANR_24', 3000, TextStyle.Middle)

:SHRANGE_7934
if 
  $SR_temp_target == 10
goto_if_false @SHRANGE_7968
Text.PrintBig('ANR_51', 3000, TextStyle.Middle)

:SHRANGE_7968
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 4000
$sr_seq = 12

:SHRANGE_7991
if 
  $sr_seq == 12
goto_if_false @SHRANGE_8137
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_8137
$8029[0] = 4
$8029[1] = 4
$8029[2] = 4
$8036[0] = 0
$8036[1] = 0
$8036[2] = 0
$SR_flag[0] = 0
$SR_flag[1] = 0
$SR_flag[2] = 0
Text.PrintBig('RACE2', 1000, TextStyle.MiddleSmaller)
$sr_seq = 4
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000
Player.SetControl($statbike_temp, True)

:SHRANGE_8137
goto @SHRANGE_10838

:SHRANGE_8144
if 
  $g_VB_SMALL_LIFT > 2
goto_if_false @SHRANGE_8201
if and
  4 > $sr_seq
  $sr_seq > 1
goto_if_false @SHRANGE_8201
$sr_direction = 0
$sr_seq = 4

:SHRANGE_8201
if 
  $sr_seq == 0
goto_if_false @SHRANGE_8326
$8129 = 0
$8130 = 0
$ammo = 0
$SR_flag[0] = 0
$SR_flag[1] = 0
$SR_flag[2] = 0
$8036[0] = 5
$8036[1] = 5
$8036[2] = 5
$8029[0] = 0
$8029[1] = 5
$8029[2] = 0
$sr_seq = 1
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 8000

:SHRANGE_8326
if 
  $sr_seq == 1
goto_if_false @SHRANGE_8419
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_8419
if 
  3 > $g_VB_SMALL_LIFT
goto_if_false @SHRANGE_8396
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:SHRANGE_8396
$sr_seq = 2
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1500

:SHRANGE_8419
if 
  $sr_seq == 2
goto_if_false @SHRANGE_8729
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_8729
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Text.ClearThisBigPrint('ANR_41')
Text.PrintBig('ANR_19', 4000, TextStyle.Middle)
Text.Print('ANR_33', 3000, 1)
Text.Print('ANR_34', 3000, 1)
Text.Print('ANR_35', 3000, 1)
Text.Print('ANR_46', 3000, 1)
$8087 = 3.0583
$8088 = 0.6889
$in_carX = 1.2953
gosub @SHRANGE_16600
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$8087 = 2.9703
$8088 = 1.684
$in_carX = 1.2513
gosub @SHRANGE_16600
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
Camera.DoFade(1000, Fade.In)
$sr_seq = 3
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 12000
$8036[0] = 5
$8036[1] = 0
$8036[2] = 5

:SHRANGE_8729
if 
  $sr_seq == 3
goto_if_false @SHRANGE_8835
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_8835
if 
  3 > $g_VB_SMALL_LIFT
goto_if_false @SHRANGE_8791
Camera.DoFade(1000, Fade.Out)

:SHRANGE_8791
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1500
$sr_seq = 4
$8129 = 0
$8130 = 0
$ammo = 0

:SHRANGE_8835
if 
  $sr_seq == 4
goto_if_false @SHRANGE_9141
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_9141
if 
  not Camera.GetFadingStatus
goto_if_false @SHRANGE_9141
Hud.DisplayCounterWithString($8129, CounterDisplay.Number, 'ANR_37')
Hud.DisplayNthCounterWithString($8130, CounterDisplay.Number, 2, 'ANR_39')
Hud.DisplayNthCounterWithString($ammo, CounterDisplay.Number, 3, 'ANR_38')
Camera.DoFade(1000, Fade.In)
if 
  3 > $g_VB_SMALL_LIFT
goto_if_false @SHRANGE_9001
Char.DetachFromCar($stattreadstamina_ctr)
Char.AttachToObject($stattreadstamina_ctr, $sr_Dec, 0.0, 0.0, 1.0, 0, 90.0, WeaponType.Pistol)
Camera.RestoreJumpcut

:SHRANGE_9001
if 
  $g_VB_SMALL_LIFT == 2
goto_if_false @SHRANGE_9033
$g_VB_SMALL_LIFT = 3
goto @SHRANGE_9049

:SHRANGE_9033
Text.PrintBig('ANR_19', 2000, TextStyle.Middle)

:SHRANGE_9049
$SR_flag[0] = 0
$SR_flag[1] = 0
$SR_flag[2] = 0
$8036[0] = 5
$8036[1] = 0
$8036[2] = 5
Text.PrintBig('RACE2', 1000, TextStyle.MiddleSmaller)
$sr_seq = 5
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)

:SHRANGE_9141
if 
  $sr_seq == 5
goto_if_false @SHRANGE_9217
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_9217
Text.PrintBig('RACE3', 1000, TextStyle.MiddleSmaller)
$sr_seq = 6
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000

:SHRANGE_9217
if 
  $sr_seq == 6
goto_if_false @SHRANGE_9293
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_9293
Text.PrintBig('RACE4', 1000, TextStyle.MiddleSmaller)
$sr_seq = 7
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000

:SHRANGE_9293
if 
  $sr_seq == 7
goto_if_false @SHRANGE_9374
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_9374
Text.PrintBig('RACE5', 1000, TextStyle.MiddleSmaller)
$sr_seq = 8
$8129 = 0
$8130 = 0
$ammo = 0

:SHRANGE_9374
if 
  $sr_seq == 8
goto_if_false @SHRANGE_9493
if 
  $8130 >= 20
goto_if_false @SHRANGE_9439
$sr_area = 3
$sr_seq = 0
Hud.ClearCounter($8129)
Hud.ClearCounter($8130)
Hud.ClearCounter($ammo)

:SHRANGE_9439
if or
  $8129 >= 20
  $ammo >= 20
goto_if_false @SHRANGE_9493
$sr_area = 20
$sr_seq = 0
Hud.ClearCounter($8129)
Hud.ClearCounter($8130)
Hud.ClearCounter($ammo)

:SHRANGE_9493
if 
  $sr_seq == 10
goto_if_false @SHRANGE_9555
$8036[0] = 5
$8036[1] = 5
$8036[2] = 5
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 4000
$sr_seq = 11

:SHRANGE_9555
if 
  $sr_seq == 11
goto_if_false @SHRANGE_9740
if and
  $8036[0] == 99
  $8036[1] == 99
  $8036[2] == 99
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_9740
Text.ClearPrints
if 
  $SR_temp_target == 5
goto_if_false @SHRANGE_9649
Text.PrintBig('ANR_49', 2000, TextStyle.Middle)

:SHRANGE_9649
if 
  $SR_temp_target == 8
goto_if_false @SHRANGE_9683
Text.PrintBig('ANR_25', 2000, TextStyle.Middle)

:SHRANGE_9683
if 
  $SR_temp_target == 11
goto_if_false @SHRANGE_9717
Text.PrintBig('ANR_52', 2000, TextStyle.Middle)

:SHRANGE_9717
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 4000
$sr_seq = 12

:SHRANGE_9740
if 
  $sr_seq == 12
goto_if_false @SHRANGE_9956
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_9956
$8129 = 0
$8130 = 0
$ammo = 0
$SR_flag[1] = 0
$8036[1] = 0
$8029[0] = 0
$8029[1] = 5
$8029[2] = 0
$8129 = 0
$8130 = 0
$ammo = 0
Hud.DisplayCounterWithString($8129, CounterDisplay.Number, 'ANR_37')
Hud.DisplayNthCounterWithString($8130, CounterDisplay.Number, 2, 'ANR_39')
Hud.DisplayNthCounterWithString($ammo, CounterDisplay.Number, 3, 'ANR_38')
Text.PrintBig('RACE2', 1000, TextStyle.MiddleSmaller)
$sr_seq = 5
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 1000
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)

:SHRANGE_9956
goto @SHRANGE_10838

:SHRANGE_9963
if 
  $sr_seq == 0
goto_if_false @SHRANGE_10020
Text.PrintBig('ANR_16', 3000, TextStyle.Middle)
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 3000
$sr_seq = 1

:SHRANGE_10020
if 
  $sr_seq == 1
goto_if_false @SHRANGE_10071
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_10071
Camera.DoFade(1000, Fade.Out)
$sr_seq = 2

:SHRANGE_10071
if 
  $sr_seq == 2
goto_if_false @SHRANGE_10129
if 
  not Camera.GetFadingStatus
goto_if_false @SHRANGE_10129
set_var_int_to_lvar_int $sr_direction = TIMERA
$sr_direction += 500
Stat.ShowUpdateStats(True)
$sr_seq = 3

:SHRANGE_10129
if 
  $sr_seq == 3
goto_if_false @SHRANGE_10831
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_direction
goto_if_false @SHRANGE_10831
$8087 = 2.0
$8088 = -12.0
$in_carX = 0.0
Hud.ClearCounter($8129)
Hud.ClearCounter($8130)
Hud.ClearCounter($ammo)
Char.DetachFromCar($stattreadstamina_ctr)
gosub @SHRANGE_16600
Pad.SetPlayerCycleWeaponButton($statbike_temp, True)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Pistol)
if 
  $WeaponType > 0
goto_if_false @SHRANGE_10298

:SHRANGE_10255
if 
  not Streaming.HasModelLoaded($this_Watch)
goto_if_false @SHRANGE_10287
Streaming.RequestModel($this_Watch)
wait 0
goto @SHRANGE_10255

:SHRANGE_10287
Char.GiveWeapon($stattreadstamina_ctr, $ModelForWeaponType, $WeaponType)

:SHRANGE_10298
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.MicroUzi)
if 
  $8136 > 0
goto_if_false @SHRANGE_10366

:SHRANGE_10323
if 
  not Streaming.HasModelLoaded($8144)
goto_if_false @SHRANGE_10355
Streaming.RequestModel($8144)
wait 0
goto @SHRANGE_10323

:SHRANGE_10355
Char.GiveWeapon($stattreadstamina_ctr, $8140, $8136)

:SHRANGE_10366
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Shotgun)
if 
  $8137 > 0
goto_if_false @SHRANGE_10434

:SHRANGE_10391
if 
  not Streaming.HasModelLoaded($8145)
goto_if_false @SHRANGE_10423
Streaming.RequestModel($8145)
wait 0
goto @SHRANGE_10391

:SHRANGE_10423
Char.GiveWeapon($stattreadstamina_ctr, $8141, $8137)

:SHRANGE_10434
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Ak47)
if 
  $8138 > 0
goto_if_false @SHRANGE_10502

:SHRANGE_10459
if 
  not Streaming.HasModelLoaded($8146)
goto_if_false @SHRANGE_10491
Streaming.RequestModel($8146)
wait 0
goto @SHRANGE_10459

:SHRANGE_10491
Char.GiveWeapon($stattreadstamina_ctr, $8142, $8138)

:SHRANGE_10502
Pad.SetPlayerDuckButton($statbike_temp, True)
Object.Delete($sr_Dec)
Text.ClearPrints
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SHRANGE_10553
Char.FreezePosition($stattreadstamina_ctr, False)

:SHRANGE_10553
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SHRANGE_10596
Char.SetHeading($stattreadstamina_ctr, 59@($valet_mission_terminate,4f))

:SHRANGE_10596
$sr_obj_number[1] = 1
Camera.DoFade(1000, Fade.In)
$sr_area = 0
$sr_seq = 0
$SR_flag[0] = 0
$SR_flag[1] = 0
$SR_flag[2] = 0
$SR_target_state[0] = 0
$SR_target_state[1] = 0
$SR_target_state[2] = 0
$8090[0] = 1
if 
  Char.IsDead($8098[1])
goto_if_false @SHRANGE_10696
$8090[1] = 0

:SHRANGE_10696
$8090[2] = 1
$8029[0] = 0
$8029[1] = 0
$8029[2] = 0
$8036[0] = 0
$8036[1] = 0
$8036[2] = 0
if 
  34@ == 1
goto_if_false @SHRANGE_10790
Text.ClearThisPrintBigNow(TextStyle.Middle)
Text.Print('ANR_A1', 4000, 1)
34@ = 0

:SHRANGE_10790
if and
  $car_gen_pine <> 4
  34@ <> 1
goto_if_false @SHRANGE_10831
Text.Print('ANR_55', 4000, 1)

:SHRANGE_10831
goto @SHRANGE_10838

:SHRANGE_10838
return 

:SHRANGE_10840
$im_players_city = 0
set_var_int_to_var_int $8147 = $8036[0]
set_var_int_to_var_int $8150 = $8036[1]
set_var_int_to_var_int $gym_ls_defeated = $8036[2]

:SHRANGE_10871
if 
  3 > $im_players_city
goto_if_false @SHRANGE_13227
switch_start $8090($im_players_city,3i) {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @SHRANGE_13213 {caseNum1} 0 {caseLabel1} @SHRANGE_10956 {caseNum2} 1 {caseLabel2} @SHRANGE_11370 {caseNum3} 2 {caseLabel3} @SHRANGE_11639 {caseNum4} 3 {caseLabel4} @SHRANGE_12627 {caseNum5} 4 {caseLabel5} @SHRANGE_13166 {caseNum6} -1 {caseLabel6} @SHRANGE_13213 {caseNum7} -1 {caseLabel7} @SHRANGE_13213

:SHRANGE_10956
if 
  $sr_obj_number($im_players_city,3i) == 1
goto_if_false @SHRANGE_11363
$8090($im_players_city,3i) = 1
set_var_float_to_lvar_float $on_footY = 35@($valet_mission_terminate,4f)
set_var_float_to_lvar_float $on_footZ = 39@($valet_mission_terminate,4f)
set_var_float_to_lvar_float $in_carX = 43@($valet_mission_terminate,4f)
set_lvar_float_to_lvar_float 63@ = 59@($valet_mission_terminate,4f)
if 
  $im_players_city == 1
goto_if_false @SHRANGE_11154
if 
  63@ == 90.0
goto_if_false @SHRANGE_11088
add_float_lvar_to_float_var $on_footZ += 47@($valet_mission_terminate,4f)

:SHRANGE_11088
if 
  63@ == 270.0
goto_if_false @SHRANGE_11121
sub_float_lvar_from_float_var $on_footZ -= 47@($valet_mission_terminate,4f)

:SHRANGE_11121
if 
  63@ == 0.0
goto_if_false @SHRANGE_11154
add_float_lvar_to_float_var $on_footY += 47@($valet_mission_terminate,4f)

:SHRANGE_11154
if 
  $im_players_city == 2
goto_if_false @SHRANGE_11271
if 
  63@ == 90.0
goto_if_false @SHRANGE_11205
add_float_lvar_to_float_var $on_footZ += 51@($valet_mission_terminate,4f)

:SHRANGE_11205
if 
  63@ == 270.0
goto_if_false @SHRANGE_11238
sub_float_lvar_from_float_var $on_footZ -= 51@($valet_mission_terminate,4f)

:SHRANGE_11238
if 
  63@ == 0.0
goto_if_false @SHRANGE_11271
add_float_lvar_to_float_var $on_footY += 51@($valet_mission_terminate,4f)

:SHRANGE_11271
$8098($im_players_city,3i) = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
if 
  not Char.IsDead($8098($im_players_city,3i))
goto_if_false @SHRANGE_11363
Char.SetProofs($8098($im_players_city,3i), True, True, True, True, True)
Char.SetDecisionMaker($8098($im_players_city,3i), $8073)
Char.SetAccuracy($8098($im_players_city,3i), 93)
Char.SetHeading($8098($im_players_city,3i), 63@)

:SHRANGE_11363
goto @SHRANGE_13213

:SHRANGE_11370
if 
  not Char.IsDead($8098($im_players_city,3i))
goto_if_false @SHRANGE_11632
if 
  $SR_target_state($im_players_city,4i) == 0
goto_if_false @SHRANGE_11425
$SR_target_state($im_players_city,4i) = Math.RandomIntInRange(1, 5)

:SHRANGE_11425
if 
  $SR_target_state($im_players_city,4i) == 1
goto_if_false @SHRANGE_11474
Char.GiveWeapon($8098($im_players_city,3i), WeaponType.Pistol, 99999)
Char.SetCurrentWeapon($8098($im_players_city,3i), WeaponType.Pistol)

:SHRANGE_11474
if 
  $SR_target_state($im_players_city,4i) == 2
goto_if_false @SHRANGE_11523
Char.GiveWeapon($8098($im_players_city,3i), WeaponType.MicroUzi, 99999)
Char.SetCurrentWeapon($8098($im_players_city,3i), WeaponType.MicroUzi)

:SHRANGE_11523
if 
  $SR_target_state($im_players_city,4i) == 3
goto_if_false @SHRANGE_11572
Char.GiveWeapon($8098($im_players_city,3i), WeaponType.Shotgun, 99999)
Char.SetCurrentWeapon($8098($im_players_city,3i), WeaponType.Shotgun)

:SHRANGE_11572
if 
  $SR_target_state($im_players_city,4i) == 4
goto_if_false @SHRANGE_11621
Char.GiveWeapon($8098($im_players_city,3i), WeaponType.Ak47, 99999)
Char.SetCurrentWeapon($8098($im_players_city,3i), WeaponType.Ak47)

:SHRANGE_11621
$8090($im_players_city,3i) = 2

:SHRANGE_11632
goto @SHRANGE_13213

:SHRANGE_11639
$sr_float1 = 0
if 
  $8036($im_players_city,3i) == 2
goto_if_false @SHRANGE_11675
$sr_float1 = 1

:SHRANGE_11675
if and
  $sr_area == 5
  $8036[1] == 2
goto_if_false @SHRANGE_11707
$sr_float1 = 1

:SHRANGE_11707
if 
  $im_players_city == 0
goto_if_false @SHRANGE_11733
set_var_int_to_var_int $8148 = $sr_float1

:SHRANGE_11733
if 
  $im_players_city == 1
goto_if_false @SHRANGE_11759
set_var_int_to_var_int $8151 = $sr_float1

:SHRANGE_11759
if 
  $im_players_city == 2
goto_if_false @SHRANGE_11785
set_var_int_to_var_int $gym_sf_defeated = $sr_float1

:SHRANGE_11785
if 
  $sr_float1 == 1
goto_if_false @SHRANGE_12558
if 
  is_int_lvar_greater_than_int_var TIMERA > $sr_Score($im_players_city,3i)
goto_if_false @SHRANGE_12551
$sr_float1 = Math.RandomIntInRange(1, 8)
if 
  $sr_area == 5
goto_if_false @SHRANGE_11867
$sr_float1 += 8
goto @SHRANGE_11917

:SHRANGE_11867
if 
  $im_players_city == 2
goto_if_false @SHRANGE_11892
$sr_float1 += 16

:SHRANGE_11892
if 
  $im_players_city == 1
goto_if_false @SHRANGE_11917
$sr_float1 += 8

:SHRANGE_11917
$8096 = 0

:SHRANGE_11924
if and
  Object.HasBeenDamaged($8101($sr_float1,24i))
  8 > $8096
goto_if_false @SHRANGE_12011
$sr_float1 += 1
$8096 += 1
if or
  $sr_float1 == 8
  $sr_float1 == 24
  $sr_float1 == 16
goto_if_false @SHRANGE_12004
$sr_float1 -= 7

:SHRANGE_12004
goto @SHRANGE_11924

:SHRANGE_12011
if 
  $im_players_city == 0
goto_if_false @SHRANGE_12037
set_var_int_to_var_int $8149 = $8096

:SHRANGE_12037
if 
  $im_players_city == 1
goto_if_false @SHRANGE_12063
set_var_int_to_var_int $ls_has_the_knuckle_duster = $8096

:SHRANGE_12063
if 
  $im_players_city == 2
goto_if_false @SHRANGE_12089
set_var_int_to_var_int $player_been_taught_move = $8096

:SHRANGE_12089
if 
  not Char.IsDead($8098($im_players_city,3i))
goto_if_false @SHRANGE_12551
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($8101($sr_float1,24i))
if and
  $sr_float1 > 8
  16 > $sr_float1
goto_if_false @SHRANGE_12159
$sr_float1 -= 8

:SHRANGE_12159
if and
  $sr_float1 > 16
  24 > $sr_float1
goto_if_false @SHRANGE_12191
$sr_float1 -= 16

:SHRANGE_12191
if 
  63@ == 0.0
goto_if_false @SHRANGE_12224
add_float_var_to_float_var $on_footY += $8042($sr_float1,8f)

:SHRANGE_12224
if 
  63@ == 90.0
goto_if_false @SHRANGE_12257
add_float_var_to_float_var $on_footZ += $8042($sr_float1,8f)

:SHRANGE_12257
if 
  63@ == 270.0
goto_if_false @SHRANGE_12290
sub_float_var_from_float_var $on_footZ -= $8042($sr_float1,8f)

:SHRANGE_12290
add_float_var_to_float_var $in_carX += $8050($sr_float1,8f)
if 
  $SR_temp_target >= 8
goto_if_false @SHRANGE_12403
$sr_float1 = Char.GetScriptTaskStatus($8098($im_players_city,3i), 1640)
if 
  is_int_var_equal_to_constant $sr_float1 == 7
goto_if_false @SHRANGE_12396
Char.FreezePosition($8098($im_players_city,3i), True)
Task.ShootAtCoord($8098($im_players_city,3i), $on_footY, $on_footZ, $in_carX, 800)
Char.SetAccuracy($8098($im_players_city,3i), 95)

:SHRANGE_12396
goto @SHRANGE_12468

:SHRANGE_12403
$sr_float1 = Char.GetScriptTaskStatus($8098($im_players_city,3i), 1640)
if 
  is_int_var_equal_to_constant $sr_float1 == 7
goto_if_false @SHRANGE_12468
Char.FreezePosition($8098($im_players_city,3i), True)
Task.ShootAtCoord($8098($im_players_city,3i), $on_footY, $on_footZ, $in_carX, 1500)

:SHRANGE_12468
if 
  $SR_temp_target >= 8
goto_if_false @SHRANGE_12516
$sr_float1 = Math.RandomIntInRange(200, 400)
$sr_Score($im_players_city,3i) += 600
goto @SHRANGE_12527

:SHRANGE_12516
$sr_float1 = Math.RandomIntInRange(200, 1600)

:SHRANGE_12527
set_var_int_to_lvar_int $sr_Score($im_players_city,3i) = TIMERA
add_int_var_to_int_var $sr_Score($im_players_city,3i) += $sr_float1

:SHRANGE_12551
goto @SHRANGE_12620

:SHRANGE_12558
if 
  not Char.IsDead($8098($im_players_city,3i))
goto_if_false @SHRANGE_12620
$sr_float1 = Char.GetScriptTaskStatus($8098($im_players_city,3i), 1640)
if 
  not is_int_var_equal_to_constant $sr_float1 == 7
goto_if_false @SHRANGE_12620
Char.ClearTasks($8098($im_players_city,3i))

:SHRANGE_12620
goto @SHRANGE_13213

:SHRANGE_12627
if 
  not Char.IsDead($8098($im_players_city,3i))
goto_if_false @SHRANGE_13159
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($8098($im_players_city,3i))
Char.FreezePosition($8098($im_players_city,3i), False)
Path.FlushRoute
$sr_float3 = Sequence.Open()
$8087 = 0.0
add_float_lvar_to_float_var $8087 += 47@($valet_mission_terminate,4f)
$8088 = -1.0
$sr_yoffset = Math.Cos(59@($valet_mission_terminate,4f))
$SR_ped_state = Math.Sin(59@($valet_mission_terminate,4f))
if 
  59@($valet_mission_terminate,4f) == 0.0
goto_if_false @SHRANGE_12803
set_var_float_to_var_float $on_footY = $8087
mult_float_var_by_float_var $on_footY *= $sr_yoffset
set_var_float_to_var_float $on_footZ = $8088
mult_float_var_by_float_var $on_footZ *= $sr_yoffset
goto @SHRANGE_12845

:SHRANGE_12803
$8088 *= -1.0
set_var_float_to_var_float $on_footY = $8088
mult_float_var_by_float_var $on_footY *= $SR_ped_state
set_var_float_to_var_float $on_footZ = $8087
mult_float_var_by_float_var $on_footZ *= $SR_ped_state

:SHRANGE_12845
add_float_lvar_to_float_var $on_footY += 35@($valet_mission_terminate,4f)
add_float_lvar_to_float_var $on_footZ += 39@($valet_mission_terminate,4f)
add_float_lvar_to_float_var $in_carX += 43@($valet_mission_terminate,4f)
set_lvar_float_to_lvar_float 63@ = 59@($valet_mission_terminate,4f)
63@ -= 180.0
Task.AchieveHeading(-1, 63@)
set_lvar_float_to_lvar_float 63@ = 59@($valet_mission_terminate,4f)
Path.ExtendRoute($on_footY, $on_footZ, $in_carX)
$8087 = -0.5
add_float_lvar_to_float_var $8087 += 47@($valet_mission_terminate,4f)
$8088 = -4.5
if 
  59@($valet_mission_terminate,4f) == 0.0
goto_if_false @SHRANGE_13029
set_var_float_to_var_float $on_footY = $8087
mult_float_var_by_float_var $on_footY *= $sr_yoffset
set_var_float_to_var_float $on_footZ = $8088
mult_float_var_by_float_var $on_footZ *= $sr_yoffset
goto @SHRANGE_13071

:SHRANGE_13029
$8088 *= -1.0
set_var_float_to_var_float $on_footY = $8088
mult_float_var_by_float_var $on_footY *= $SR_ped_state
set_var_float_to_var_float $on_footZ = $8087
mult_float_var_by_float_var $on_footZ *= $SR_ped_state

:SHRANGE_13071
add_float_lvar_to_float_var $on_footY += 35@($valet_mission_terminate,4f)
add_float_lvar_to_float_var $on_footZ += 39@($valet_mission_terminate,4f)
add_float_lvar_to_float_var $in_carX += 43@($valet_mission_terminate,4f)
Path.ExtendRoute($on_footY, $on_footZ, $in_carX)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Sequence.Close($sr_float3)
Char.PerformSequence($8098($im_players_city,3i), $sr_float3)
Sequence.Clear($sr_float3)
$8090($im_players_city,3i) = 99

:SHRANGE_13159
goto @SHRANGE_13213

:SHRANGE_13166
if 
  not Char.IsDead($8098($im_players_city,3i))
goto_if_false @SHRANGE_13195
Char.Delete($8098($im_players_city,3i))

:SHRANGE_13195
$8090($im_players_city,3i) = 0
goto @SHRANGE_13213

:SHRANGE_13213
$im_players_city += 1
goto @SHRANGE_10871

:SHRANGE_13227
return 

:SHRANGE_13229
$im_players_city = 0

:SHRANGE_13236
if 
  3 > $im_players_city
goto_if_false @SHRANGE_16598
switch_start $8036($im_players_city,3i) {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @SHRANGE_16584 {caseNum1} 0 {caseLabel1} @SHRANGE_13321 {caseNum2} 1 {caseLabel2} @SHRANGE_14103 {caseNum3} 2 {caseLabel3} @SHRANGE_14432 {caseNum4} 3 {caseLabel4} @SHRANGE_16033 {caseNum5} 4 {caseLabel5} @SHRANGE_16335 {caseNum6} 5 {caseLabel6} @SHRANGE_16456 {caseNum7} -1 {caseLabel7} @SHRANGE_16584

:SHRANGE_13321
DecisionMakerChar.ClearEventResponse($8073, 15)
$8036($im_players_city,3i) = 1
if 
  $8029($im_players_city,3i) == 0
goto_if_false @SHRANGE_13407
$8029($im_players_city,3i) = Math.RandomIntInRange(1, 3)
if 
  $8029($im_players_city,3i) == 2
goto_if_false @SHRANGE_13407
$8029($im_players_city,3i) = 4

:SHRANGE_13407
$on_footY = 0.0
$on_footZ = 5.0
$in_carX = 4.0
set_lvar_float_to_lvar_float 63@ = 59@($valet_mission_terminate,4f)
if 
  5 > $8029($im_players_city,3i)
goto_if_false @SHRANGE_13638
if 
  $im_players_city == 1
goto_if_false @SHRANGE_13501
add_float_lvar_to_float_var $on_footY += 47@($valet_mission_terminate,4f)

:SHRANGE_13501
if 
  $im_players_city == 2
goto_if_false @SHRANGE_13531
add_float_lvar_to_float_var $on_footY += 51@($valet_mission_terminate,4f)

:SHRANGE_13531
if 
  $8029($im_players_city,3i) == 1
goto_if_false @SHRANGE_13563
$on_footZ += 0.0

:SHRANGE_13563
if 
  $8029($im_players_city,3i) == 2
goto_if_false @SHRANGE_13595
$on_footZ += 5.0

:SHRANGE_13595
if or
  $8029($im_players_city,3i) == 3
  $8029($im_players_city,3i) == 4
goto_if_false @SHRANGE_13638
$on_footZ += 10.0

:SHRANGE_13638
if 
  $8029($im_players_city,3i) == 5
goto_if_false @SHRANGE_13722
$SR_ped_can_be_created = Math.RandomFloatInRange(0.0, 10.0)
add_float_var_to_float_var $on_footZ += $SR_ped_can_be_created
$sr_float4 = Math.RandomIntInRange(0, 2)
if 
  $sr_float4 == 1
goto_if_false @SHRANGE_13722
add_float_lvar_to_float_var $on_footY += 51@($valet_mission_terminate,4f)

:SHRANGE_13722
set_var_float_to_var_float $8087 = $on_footY
set_var_float_to_var_float $8088 = $on_footZ
gosub @SHRANGE_16600
set_var_int_to_var_int $sr_float1 = $im_players_city
$sr_float1 *= 8
if 
  Object.DoesExist($8101($sr_float1,24i))
goto_if_false @SHRANGE_13789
Object.Delete($8101($sr_float1,24i))

:SHRANGE_13789
$8101($sr_float1,24i) = Object.CreateNoOffset($8061[0], $on_footY, $on_footZ, $in_carX)
Object.SetRotation($8101($sr_float1,24i), 90.0, 0.0, 63@)
Audio.ReportMissionAudioEventAtObject($8101($sr_float1,24i), 1032)
$8058($im_players_city,3f) = 90.0
$8096 = 1

:SHRANGE_13865
if 
  8 > $8096
goto_if_false @SHRANGE_14073
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
add_int_var_to_int_var $sr_target += $8096
if 
  Object.DoesExist($8101($sr_target,24i))
goto_if_false @SHRANGE_13935
Object.Delete($8101($sr_target,24i))

:SHRANGE_13935
$8101($sr_target,24i) = Object.CreateNoOffset($8061($8096,8i), $on_footY, $on_footZ, $in_carX)
Object.AttachToObject($8101($sr_target,24i), $8101($sr_float1,24i), 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
if 
  Object.DoesExist($8101($sr_target,24i))
goto_if_false @SHRANGE_14059
Object.SetRotation($8101($sr_target,24i), 90.0, 0.0, 63@)
Object.SetCollision($8101($sr_target,24i), False)

:SHRANGE_14059
$8096 += 1
goto @SHRANGE_13865

:SHRANGE_14073
$SR_flag($im_players_city,3i) += 1
set_var_int_to_lvar_int $SR_mission_state($im_players_city,3i) = TIMERA
goto @SHRANGE_16584

:SHRANGE_14103
set_var_int_to_lvar_int $sr_float1 = TIMERA
sub_int_var_from_int_var $sr_float1 -= $SR_mission_state($im_players_city,3i)
if 
  $sr_float1 > 3000
goto_if_false @SHRANGE_14150
$sr_float1 = 3000

:SHRANGE_14150
cset_var_float_to_var_int $sr_yoffset =# $sr_float1
$sr_yoffset /= 3000.0
$sr_yoffset *= -90.0
$sr_yoffset += 90.0
set_var_float_to_var_float $8058($im_players_city,3f) = $sr_yoffset
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
if 
  Object.DoesExist($8101($sr_target,24i))
goto_if_false @SHRANGE_14259
Object.SetRotation($8101($sr_target,24i), $8058($im_players_city,3f), 0.0, 63@)

:SHRANGE_14259
if 
  0.0 >= $8058($im_players_city,3f)
goto_if_false @SHRANGE_14425
$8036($im_players_city,3i) = 2
set_var_int_to_lvar_int $SR_mission_state($im_players_city,3i) = TIMERA
if or
  $8029($im_players_city,3i) == 4
  $8029($im_players_city,3i) == 5
goto_if_false @SHRANGE_14352
Audio.ReportMissionAudioEventAtObject($8101($sr_target,24i), 1033)

:SHRANGE_14352
$8096 = 0

:SHRANGE_14359
if 
  8 > $8096
goto_if_false @SHRANGE_14425
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
add_int_var_to_int_var $sr_target += $8096
Object.SetCollision($8101($sr_target,24i), True)
$8096 += 1
goto @SHRANGE_14359

:SHRANGE_14425
goto @SHRANGE_16584

:SHRANGE_14432
if 
  $8029($im_players_city,3i) == 4
goto_if_false @SHRANGE_15068
set_var_int_to_lvar_int $sr_float1 = TIMERA
sub_int_var_from_int_var $sr_float1 -= $SR_mission_state($im_players_city,3i)
if 
  $SR_flag($im_players_city,3i) == 4
goto_if_false @SHRANGE_14507
$SR_flag($im_players_city,3i) = 1

:SHRANGE_14507
if 
  $SR_flag($im_players_city,3i) == 1
goto_if_false @SHRANGE_14583
if 
  $sr_float1 > 20000
goto_if_false @SHRANGE_14583
$sr_float1 = 20000
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
Audio.ReportMissionAudioEventAtObject($8101($sr_target,24i), 1034)

:SHRANGE_14583
if 
  $SR_flag($im_players_city,3i) == 2
goto_if_false @SHRANGE_14659
if 
  $sr_float1 > 15000
goto_if_false @SHRANGE_14659
$sr_float1 = 15000
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
Audio.ReportMissionAudioEventAtObject($8101($sr_target,24i), 1034)

:SHRANGE_14659
if 
  $SR_flag($im_players_city,3i) == 3
goto_if_false @SHRANGE_14735
if 
  $sr_float1 > 10000
goto_if_false @SHRANGE_14735
$sr_float1 = 10000
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
Audio.ReportMissionAudioEventAtObject($8101($sr_target,24i), 1034)

:SHRANGE_14735
cset_var_float_to_var_int $sr_yoffset =# $sr_float1
if 
  $SR_flag($im_players_city,3i) == 1
goto_if_false @SHRANGE_14775
$sr_yoffset /= 20000.0

:SHRANGE_14775
if 
  $SR_flag($im_players_city,3i) == 2
goto_if_false @SHRANGE_14807
$sr_yoffset /= 15000.0

:SHRANGE_14807
if 
  $SR_flag($im_players_city,3i) == 3
goto_if_false @SHRANGE_14839
$sr_yoffset /= 10000.0

:SHRANGE_14839
$sr_yoffset *= 10.0
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($8101($sr_target,24i))
if 
  63@ == 90.0
goto_if_false @SHRANGE_14933
set_var_float_to_lvar_float $on_footY = 35@($valet_mission_terminate,4f)
$on_footY -= 15.0
add_float_var_to_float_var $on_footY += $sr_yoffset

:SHRANGE_14933
if 
  63@ == 270.0
goto_if_false @SHRANGE_14984
set_var_float_to_lvar_float $on_footY = 35@($valet_mission_terminate,4f)
$on_footY += 15.0
sub_float_var_from_float_var $on_footY -= $sr_yoffset

:SHRANGE_14984
if 
  63@ == 0.0
goto_if_false @SHRANGE_15035
set_var_float_to_lvar_float $on_footZ = 39@($valet_mission_terminate,4f)
$on_footZ += 15.0
sub_float_var_from_float_var $on_footZ -= $sr_yoffset

:SHRANGE_15035
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
Object.SetCoordinates($8101($sr_target,24i), $on_footY, $on_footZ, $in_carX)

:SHRANGE_15068
if 
  $8029($im_players_city,3i) == 5
goto_if_false @SHRANGE_15425
set_var_int_to_lvar_int $sr_float1 = TIMERA
sub_int_var_from_int_var $sr_float1 -= $SR_mission_state($im_players_city,3i)
if 
  $sr_float1 > 10000
goto_if_false @SHRANGE_15274
$sr_float1 = 10000
$8036($im_players_city,3i) = 3
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
Audio.ReportMissionAudioEventAtObject($8101($sr_target,24i), 1034)
Audio.ReportMissionAudioEventAtPosition($on_footY, $on_footZ, $in_carX, 1032)
set_var_int_to_lvar_int $SR_mission_state($im_players_city,3i) = TIMERA
$8096 = 0

:SHRANGE_15208
if 
  8 > $8096
goto_if_false @SHRANGE_15274
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
add_int_var_to_int_var $sr_target += $8096
Object.SetCollision($8101($sr_target,24i), False)
$8096 += 1
goto @SHRANGE_15208

:SHRANGE_15274
cset_var_float_to_var_int $sr_yoffset =# $sr_float1
$sr_yoffset /= 10000.0
mult_float_var_by_float_lvar $sr_yoffset *= 51@($valet_mission_terminate,4f)
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
if 
  $sr_float4 == 0
goto_if_false @SHRANGE_15352
set_var_float_to_var_float $8087 = $sr_yoffset
goto @SHRANGE_15372

:SHRANGE_15352
set_var_float_to_lvar_float $8087 = 51@($valet_mission_terminate,4f)
sub_float_var_from_float_var $8087 -= $sr_yoffset

:SHRANGE_15372
$in_carX = 4.0
set_var_float_to_var_float $8088 = $SR_ped_can_be_created
$8088 += 5.0
gosub @SHRANGE_16600
Object.SetCoordinates($8101($sr_target,24i), $on_footY, $on_footZ, $in_carX)

:SHRANGE_15425
set_var_int_to_var_int $sr_float1 = $8039($im_players_city,3i)
$8039($im_players_city,3i) = 0
$8096 = 0

:SHRANGE_15455
if 
  8 > $8096
goto_if_false @SHRANGE_15541
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
add_int_var_to_int_var $sr_target += $8096
if 
  Object.HasBeenDamaged($8101($sr_target,24i))
goto_if_false @SHRANGE_15527
$8039($im_players_city,3i) += 1

:SHRANGE_15527
$8096 += 1
goto @SHRANGE_15455

:SHRANGE_15541
if 
  is_int_var_greater_than_int_var $8039($im_players_city,3i) > $sr_float1
goto_if_false @SHRANGE_15576
Audio.ReportMissionAudioEventAtObject($8101($sr_target,24i), 1031)

:SHRANGE_15576
if 
  $im_players_city == 1
goto_if_false @SHRANGE_15899
if 
  is_int_var_greater_than_int_var $8039[1] > $sr_float1
goto_if_false @SHRANGE_15899
set_var_int_to_var_int $sr_float2 = $8039[1]
sub_int_var_from_int_var $sr_float2 -= $sr_float1
$sr_float1 = Math.RandomIntInRange(0, 2)
if 
  $sr_float1 == 0
goto_if_false @SHRANGE_15781
if 
  not Char.IsDead($8098[0])
goto_if_false @SHRANGE_15774
if 
  Char.IsShooting($8098[0])
goto_if_false @SHRANGE_15703
add_int_var_to_int_var $8129 += $sr_float2
goto @SHRANGE_15774

:SHRANGE_15703
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @SHRANGE_15734
add_int_var_to_int_var $8130 += $sr_float2
goto @SHRANGE_15774

:SHRANGE_15734
if 
  not Char.IsDead($8098[2])
goto_if_false @SHRANGE_15774
if 
  Char.IsShooting($8098[2])
goto_if_false @SHRANGE_15774
add_int_var_to_int_var $ammo += $sr_float2

:SHRANGE_15774
goto @SHRANGE_15899

:SHRANGE_15781
if 
  not Char.IsDead($8098[2])
goto_if_false @SHRANGE_15899
if 
  Char.IsShooting($8098[2])
goto_if_false @SHRANGE_15828
add_int_var_to_int_var $ammo += $sr_float2
goto @SHRANGE_15899

:SHRANGE_15828
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @SHRANGE_15859
add_int_var_to_int_var $8130 += $sr_float2
goto @SHRANGE_15899

:SHRANGE_15859
if 
  not Char.IsDead($8098[0])
goto_if_false @SHRANGE_15899
if 
  Char.IsShooting($8098[0])
goto_if_false @SHRANGE_15899
add_int_var_to_int_var $8129 += $sr_float2

:SHRANGE_15899
if 
  $8039($im_players_city,3i) == 7
goto_if_false @SHRANGE_16026
set_var_int_to_lvar_int $SR_mission_state($im_players_city,3i) = TIMERA
$8036($im_players_city,3i) = 3
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
Audio.ReportMissionAudioEventAtObject($8101($sr_target,24i), 1034)
Audio.ReportMissionAudioEventAtPosition($on_footY, $on_footZ, $in_carX, 1032)
DecisionMakerChar.ClearEventResponse($8073, 15)
DecisionMakerChar.AddEventResponse($8073, 15, 300, 100.0, 100.0, 100.0, 100.0, True, True)

:SHRANGE_16026
goto @SHRANGE_16584

:SHRANGE_16033
set_var_int_to_lvar_int $sr_float1 = TIMERA
sub_int_var_from_int_var $sr_float1 -= $SR_mission_state($im_players_city,3i)
if 
  $sr_float1 > 2000
goto_if_false @SHRANGE_16080
$sr_float1 = 2000

:SHRANGE_16080
cset_var_float_to_var_int $sr_yoffset =# $sr_float1
$sr_yoffset /= 2000.0
$sr_yoffset *= 90.0
set_var_float_to_var_float $8058($im_players_city,3f) = $sr_yoffset
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
if 
  Object.DoesExist($8101($sr_target,24i))
goto_if_false @SHRANGE_16179
Object.SetRotation($8101($sr_target,24i), $8058($im_players_city,3f), 0.0, 63@)

:SHRANGE_16179
if 
  $8058($im_players_city,3f) >= 90.0
goto_if_false @SHRANGE_16328
$8036($im_players_city,3i) = 0
if 
  $8029($im_players_city,3i) == 3
goto_if_false @SHRANGE_16255
$8029($im_players_city,3i) = 1
goto @SHRANGE_16328

:SHRANGE_16255
if 
  $8029($im_players_city,3i) == 2
goto_if_false @SHRANGE_16295
$8029($im_players_city,3i) = 3
goto @SHRANGE_16328

:SHRANGE_16295
if 
  $8029($im_players_city,3i) == 1
goto_if_false @SHRANGE_16328
$8029($im_players_city,3i) = 2

:SHRANGE_16328
goto @SHRANGE_16584

:SHRANGE_16335
$8096 = 0

:SHRANGE_16342
if 
  8 > $8096
goto_if_false @SHRANGE_16438
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
add_int_var_to_int_var $sr_target += $8096
if 
  Object.DoesExist($8101($8096,24i))
goto_if_false @SHRANGE_16424
Audio.ReportMissionAudioEventAtObject($8101($8096,24i), 1034)
Object.Delete($8101($8096,24i))

:SHRANGE_16424
$8096 += 1
goto @SHRANGE_16342

:SHRANGE_16438
$8036($im_players_city,3i) = 99
goto @SHRANGE_16584

:SHRANGE_16456
$8058($im_players_city,3f) += 1.0
set_var_int_to_var_int $sr_target = $im_players_city
$sr_target *= 8
if 
  Object.DoesExist($8101($sr_target,24i))
goto_if_false @SHRANGE_16541
Audio.ReportMissionAudioEventAtObject($8101($sr_target,24i), 1034)
Object.SetRotation($8101($sr_target,24i), $8058($im_players_city,3f), 0.0, 63@)

:SHRANGE_16541
if 
  $8058($im_players_city,3f) >= 90.0
goto_if_false @SHRANGE_16577
$8036($im_players_city,3i) = 4

:SHRANGE_16577
goto @SHRANGE_16584

:SHRANGE_16584
$im_players_city += 1
goto @SHRANGE_13236

:SHRANGE_16598
return 

:SHRANGE_16600
$sr_yoffset = Math.Cos(59@($valet_mission_terminate,4f))
$SR_ped_state = Math.Sin(59@($valet_mission_terminate,4f))
if 
  59@($valet_mission_terminate,4f) == 0.0
goto_if_false @SHRANGE_16688
set_var_float_to_var_float $on_footY = $8087
mult_float_var_by_float_var $on_footY *= $sr_yoffset
set_var_float_to_var_float $on_footZ = $8088
mult_float_var_by_float_var $on_footZ *= $sr_yoffset
goto @SHRANGE_16730

:SHRANGE_16688
$8088 *= -1.0
set_var_float_to_var_float $on_footY = $8088
mult_float_var_by_float_var $on_footY *= $SR_ped_state
set_var_float_to_var_float $on_footZ = $8087
mult_float_var_by_float_var $on_footZ *= $SR_ped_state

:SHRANGE_16730
add_float_lvar_to_float_var $on_footY += 35@($valet_mission_terminate,4f)
add_float_lvar_to_float_var $on_footZ += 39@($valet_mission_terminate,4f)
add_float_lvar_to_float_var $in_carX += 43@($valet_mission_terminate,4f)
return 

:SHRANGE_16768
Char.Delete($8098[0])
Char.Delete($8098[1])
Char.Delete($8098[2])
Hud.ClearCounter($8129)
Hud.ClearCounter($8130)
Hud.ClearCounter($ammo)
Streaming.MarkModelAsNoLongerNeeded(#TARGET_HEAD)
Streaming.MarkModelAsNoLongerNeeded(#TARGET_LARM)
Streaming.MarkModelAsNoLongerNeeded(#TARGET_RARM)
Streaming.MarkModelAsNoLongerNeeded(#TARGET_LLEG)
Streaming.MarkModelAsNoLongerNeeded(#TARGET_RLEG)
Streaming.MarkModelAsNoLongerNeeded(#TARGET_RTORSO)
Streaming.MarkModelAsNoLongerNeeded(#TARGET_LTORSO)
Streaming.MarkModelAsNoLongerNeeded(#TARGET_FRAME)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(355)
DecisionMaker.Remove($8073)
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
$8096 = 0

:SHRANGE_16874
if 
  24 > $8096
goto_if_false @SHRANGE_16935
if 
  Object.DoesExist($8101($8096,24i))
goto_if_false @SHRANGE_16921
Object.Delete($8101($8096,24i))

:SHRANGE_16921
$8096 += 1
goto @SHRANGE_16874

:SHRANGE_16935
$sc3_missioncar = 0
$weapon_shop1_blip = 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @SHRANGE_16972
Char.FreezePosition($stattreadstamina_ctr, False)

:SHRANGE_16972
terminate_this_script 
return 
terminate_this_script 

//-------------Mission 114---------------
// Originally: Los Santos Gym Fight School

:GYMLS
script_name 'GYMLS'
gosub @GYMLS_57
Camera.SetFadingColor(0, 0, 0)
if 
  has_deatharrest_been_executed 
goto_if_false @GYMLS_46
gosub @GYMLS_5862

:GYMLS_46
gosub @GYMLS_5902
terminate_this_script 
Stat.RegisterMissionGiven

:GYMLS_57
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_80
Char.ListenToPlayerGroupCommands($stattreadstamina_ctr, False)

:GYMLS_80
$weapon_shop1_blip = 1
$8156 = 0
Stat.IncrementInt(StatId.VisitsToGym, 1)
$switch_the_gym_interiors_off = 1
Text.LoadMissionText('GYM')
Streaming.RequestModel(80)
Streaming.RequestModel(81)
Streaming.RequestModel(19)
Streaming.RequestAnimation("RIOT")
Streaming.RequestAnimation("FIGHT_B")
Streaming.RequestAnimation("INT_SHOP")
Streaming.RequestAnimation("GYMNASIUM")
Streaming.LoadAllModelsNow

:GYMLS_177
if or
  not Streaming.HasAnimationLoaded("GYMNASIUM")
  not Streaming.HasModelLoaded(80)
  not Streaming.HasModelLoaded(81)
goto_if_false @GYMLS_220
wait 0
goto @GYMLS_177

:GYMLS_220
if or
  not Streaming.HasModelLoaded(19)
  not Streaming.HasAnimationLoaded("RIOT")
  not Streaming.HasAnimationLoaded("FIGHT_B")
  not Streaming.HasAnimationLoaded("INT_SHOP")
goto_if_false @GYMLS_277
wait 0
goto @GYMLS_220

:GYMLS_277
43@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
58@ = DecisionMakerChar.Load(DecisionMakerType.Normal)
57@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Game.SetRelationship(RelationshipType.Dislike, PedType.Mission2, PedType.Player1)
DecisionMakerChar.ClearEventResponse(58@, 31)
DecisionMakerChar.ClearEventResponse(57@, 31)
DecisionMakerChar.ClearEventResponse(58@, 9)
DecisionMakerChar.ClearEventResponse(58@, 15)
DecisionMakerChar.ClearEventResponse(58@, 37)
DecisionMakerChar.ClearEventResponse(57@, 37)
DecisionMakerChar.AddEventResponse(58@, 31, 413, 100.0, 100.0, 100.0, 100.0, True, True)
DecisionMakerChar.AddEventResponse(58@, 9, 415, 100.0, 100.0, 100.0, 100.0, True, True)
DecisionMakerChar.AddEventResponse(58@, 15, 300, 100.0, 100.0, 100.0, 100.0, True, True)
DecisionMakerChar.AddEventResponse(57@, 31, 413, 100.0, 100.0, 100.0, 100.0, True, True)
DecisionMakerChar.AddEventResponse(57@, 15, 300, 100.0, 100.0, 100.0, 100.0, True, True)
DecisionMakerChar.AddEventResponse(58@, 37, 300, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse(57@, 37, 300, 0.0, 100.0, 0.0, 0.0, True, True)
40@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 762.8681, 7.4928, 999.7141, 4, -1)
Task.AchieveHeading(-1, 13.3401)
Task.PlayAnim(-1, "RIOT_PUNCHES", "RIOT", 4.0, False, False, False, False, -1)
Sequence.SetToRepeat(40@, True)
Sequence.Close(40@)
54@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 765.2909, 16.0319, 999.698, 4, -1)
Task.AchieveHeading(-1, 198.8789)
Sequence.SetToRepeat(54@, True)
Sequence.Close(54@)
53@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 767.2571, 14.4044, 999.6998, 4, -1)
Task.AchieveHeading(-1, 263.2938)
Task.PlayAnim(-1, "GYMSHADOWBOX", "GYMNASIUM", 4.0, False, False, False, False, -1)
Sequence.SetToRepeat(53@, True)
Sequence.Close(53@)
49@ = Sequence.Open()
Task.PlayAnim(-1, "RIOT_SHOUT", "RIOT", 4.0, False, False, False, False, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.Pause(-1, 1000)
Sequence.SetToRepeat(49@, True)
Sequence.Close(49@)
50@ = Sequence.Open()
Task.Pause(-1, 500)
Task.PlayAnim(-1, "RIOT_SHOUT", "RIOT", 4.0, False, False, False, False, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.SetToRepeat(50@, True)
Sequence.Close(50@)
51@ = Sequence.Open()
Task.Pause(-1, 750)
Task.PlayAnim(-1, "RIOT_SHOUT", "RIOT", 4.0, False, False, False, False, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.SetToRepeat(51@, True)
Sequence.Close(51@)
34@ = Char.Create(PedType.Mission2, 81, 761.6263, 11.4876, 1000.164)
Char.SetHeading(34@, 128.1297)
Char.SetDecisionMaker(34@, 58@)
Char.SetOnlyDamagedByPlayer(34@, True)
Char.ShutUp(34@, True)
35@ = Char.Create(PedType.Mission2, 81, 760.343, 10.1973, 999.7099)
Char.SetHeading(35@, 310.2206)
Char.SetDecisionMaker(35@, 58@)
Char.SetOnlyDamagedByPlayer(35@, True)
Char.ShutUp(34@, True)
52@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 761.6263, 11.4876, 1000.164, 4, -1)
Task.AchieveHeading(-1, 128.1297)
if 
  not Char.IsDead(34@)
goto_if_false @GYMLS_1192
Task.KillCharOnFoot(-1, 35@)

:GYMLS_1192
Sequence.SetToRepeat(52@, True)
Sequence.Close(52@)
41@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 760.343, 10.1973, 999.7099, 4, -1)
Task.AchieveHeading(-1, 310.2206)
if 
  not Char.IsDead(34@)
goto_if_false @GYMLS_1264
Task.KillCharOnFoot(-1, 34@)

:GYMLS_1264
Sequence.SetToRepeat(41@, True)
Sequence.Close(41@)
Char.PerformSequence(34@, 52@)
Char.PerformSequence(35@, 41@)
37@ = Char.Create(PedType.Mission2, 19, 762.8681, 7.4928, 999.7141)
Char.SetHeading(37@, 13.3401)
Char.PerformSequence(37@, 40@)
Char.SetDecisionMaker(37@, 57@)
39@ = Char.Create(PedType.Mission2, 80, 767.2571, 14.4044, 999.6998)
Char.SetHeading(39@, 263.2938)
Char.SetDecisionMaker(39@, 57@)
Char.PerformSequence(39@, 53@)
Char.GiveMeleeAttack(39@, FightStyle.Boxeo, 6)
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1820)

:GYMLS_1412
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMLS_1438
wait 0
goto @GYMLS_1412

:GYMLS_1438
TIMERA = 0
64@ = 2
if or
  is_int_var_greater_than_int_var $gym_day_fitness > $burglary_female_decision
  is_int_var_greater_than_int_var $burglary_male_decision > $burglary_gang_decision
goto_if_false @GYMLS_1489
$cutscene_skip_CUT = 0.0

:GYMLS_1489
wait 0
gosub @GYMLS_6164
if 
  48@ == 0
goto_if_false @GYMLS_1667
if 
  not Char.IsDead(34@)
goto_if_false @GYMLS_1589
if 
  Char.IsPlayingAnim(34@, "GYM_SHADOWBOX")
goto_if_false @GYMLS_1589
Char.SetAnimCurrentTime(34@, "GYMSHADOWBOX", 0.0)

:GYMLS_1589
if 
  not Char.IsDead(35@)
goto_if_false @GYMLS_1660
if 
  Char.IsPlayingAnim(35@, "GYM_SHADOWBOX")
goto_if_false @GYMLS_1660
Char.SetAnimCurrentTime(35@, "GYMSHADOWBOX", 0.5)

:GYMLS_1660
48@ = 1

:GYMLS_1667
if and
  Char.IsDead(34@)
  TIMERA > 20000
goto_if_false @GYMLS_1727
if 
  not Char.IsDead(35@)
goto_if_false @GYMLS_1727
Char.ClearTasks(35@)
Task.Duck(35@, 20000)
TIMERA = 0

:GYMLS_1727
if and
  Char.IsDead(35@)
  TIMERA > 20000
goto_if_false @GYMLS_1787
if 
  not Char.IsDead(34@)
goto_if_false @GYMLS_1787
Char.ClearTasks(34@)
Task.Duck(34@, 20000)
TIMERA = 0

:GYMLS_1787
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 760.8566, 11.063, 1000.164, 3.0, 3.0, 2.0, False)
goto_if_false @GYMLS_1941
if 
  59@ == 0
goto_if_false @GYMLS_1934
if 
  not Char.IsDead(34@)
goto_if_false @GYMLS_1890
Char.ClearTasksImmediately(34@)
Char.SetDecisionMaker(34@, 57@)
Task.KillCharOnFoot(34@, $stattreadstamina_ctr)

:GYMLS_1890
if 
  not Char.IsDead(35@)
goto_if_false @GYMLS_1927
Char.ClearTasksImmediately(35@)
Char.SetDecisionMaker(35@, 57@)
Task.KillCharOnFoot(35@, $stattreadstamina_ctr)

:GYMLS_1927
59@ = 1

:GYMLS_1934
goto @GYMLS_2029

:GYMLS_1941
if 
  59@ == 1
goto_if_false @GYMLS_2029
if and
  not Char.IsDead(34@)
  not Char.IsDead(35@)
goto_if_false @GYMLS_2022
Char.ClearTasksImmediately(34@)
Char.SetDecisionMaker(34@, 58@)
Char.PerformSequence(34@, 52@)
Char.ClearTasksImmediately(35@)
Char.SetDecisionMaker(35@, 58@)
Char.PerformSequence(35@, 41@)

:GYMLS_2022
59@ = 0

:GYMLS_2029
$returned_respect = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  $returned_respect == 0
goto_if_false @GYMLS_2062
goto @GYMLS_5862

:GYMLS_2062
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 767.1368, 12.511, 999.7036, 2.5, 2.5, 4.0, False)
goto_if_false @GYMLS_2117
46@ = 0

:GYMLS_2117
if 
  not Char.IsDead(39@)
goto_if_false @GYMLS_5855
if and
  46@ == 0
  Char.LocateAnyMeans3D(39@, 767.2571, 14.4044, 999.6998, 1.0, 1.0, 1.2, False)
goto_if_false @GYMLS_5855
if 
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 767.1368, 12.511, 999.7036, 0.6, 0.6, 1.0, True)
goto_if_false @GYMLS_2236

:GYMLS_2236
if and
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 767.1368, 12.511, 999.7036, 1.2, 1.2, 1.2, False)
  not Char.IsDead(39@)
goto_if_false @GYMLS_5855
if and
  not Char.IsDead(39@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_2343
Player.SetControl($statbike_temp, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately(39@)
Task.TurnCharToFaceChar(39@, $stattreadstamina_ctr)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 39@)

:GYMLS_2343
if 
  $g_Truck_cashKM == 0
goto_if_false @GYMLS_2418
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 4800)

:GYMLS_2372
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLS_2398
wait 0
goto @GYMLS_2372

:GYMLS_2398
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('BBOX_1', 3000, 1)

:GYMLS_2418
if 
  $g_Truck_cashKM == 1
goto_if_false @GYMLS_2493
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 4803)

:GYMLS_2447
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLS_2473
wait 0
goto @GYMLS_2447

:GYMLS_2473
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('BBOX_4', 3000, 1)

:GYMLS_2493
Text.PrintHelpForever('TALK_1')

:GYMLS_2504
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_2852
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @GYMLS_2717
60@ = Stat.GetFloat(StatId.BodyMuscle)
if 
  60@ > 349.0
goto_if_false @GYMLS_2592
44@ = 1
Text.ClearHelp
goto @GYMLS_2852
goto @GYMLS_2717

:GYMLS_2592
44@ = 0
46@ = 1
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 4802)

:GYMLS_2619
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLS_2645
wait 0
goto @GYMLS_2619

:GYMLS_2645
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('BBOX_3', 3000, 1)
Player.SetControl($statbike_temp, True)
if 
  not Char.IsDead(39@)
goto_if_false @GYMLS_2696
Char.PerformSequence(39@, 53@)

:GYMLS_2696
TIMERA = 0
55@ = 1
goto @GYMLS_1489

:GYMLS_2717
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @GYMLS_2845
44@ = 0
46@ = 1
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 4801)

:GYMLS_2761
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLS_2787
wait 0
goto @GYMLS_2761

:GYMLS_2787
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('BBOX_2', 3000, 1)
Player.SetControl($statbike_temp, True)
if 
  not Char.IsDead(39@)
goto_if_false @GYMLS_2838
Char.PerformSequence(39@, 53@)

:GYMLS_2838
goto @GYMLS_1489

:GYMLS_2845
goto @GYMLS_2504

:GYMLS_2852
Text.ClearHelp
Text.ClearPrints
Pad.SetPlayerCycleWeaponButton($statbike_temp, False)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
gosub @GYMLS_6055
Char.Delete(37@)
Char.Delete(34@)
Char.Delete(35@)
34@ = Char.Create(PedType.Mission2, 81, 761.6934, 4.2203, 999.7099)
Char.SetHeading(34@, 171.4614)
Char.PerformSequence(34@, 49@)
35@ = Char.Create(PedType.Mission2, 81, 764.7962, 0.7163, 999.715)
Char.SetHeading(35@, 93.8066)
Char.PerformSequence(35@, 50@)
37@ = Char.Create(PedType.Mission2, 19, 759.5085, 4.2343, 999.7051)
Char.SetHeading(37@, 189.7654)
Char.PerformSequence(37@, 51@)
if 
  not Char.IsDead(39@)
goto_if_false @GYMLS_3080
Char.SetCoordinatesDontWarpGang(39@, 762.616, 2.1235, 1000.594)
Char.SetHeading(39@, 135.5749)
Char.SetHealth(39@, 1000)
Char.SetMaxHealth(39@, 1000)

:GYMLS_3080
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_3126
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 759.0147, -1.7235, 1000.594)
Char.SetHeading($stattreadstamina_ctr, 312.9747)

:GYMLS_3126
if 
  not Char.IsDead(39@)
goto_if_false @GYMLS_3174
Char.SetDecisionMaker(39@, 57@)
Task.KillCharOnFoot(39@, $stattreadstamina_ctr)
Char.GiveMeleeAttack(39@, FightStyle.Boxeo, 6)
Char.SetShootRate(39@, 100)

:GYMLS_3174
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
if 
  $g_Truck_cashKM == 0
goto_if_false @GYMLS_3212
Text.PrintHelpForever('GYM1101')

:GYMLS_3212
if 
  $g_Truck_cashKM == 1
goto_if_false @GYMLS_3241
Text.PrintHelpForever('GYM1_84')

:GYMLS_3241
gosub @GYMLS_6111
TIMERA = 0
TIMERB = 0
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_3290
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1115)

:GYMLS_3290
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_3807
wait 0
if 
  not Char.IsDead(35@)
goto_if_false @GYMLS_3381
if 
  not Char.LocateAnyMeans3D(35@, 761.0182, 0.6609, 1000.594, 6.0, 6.0, 6.0, False)
goto_if_false @GYMLS_3381
goto @GYMLS_3807

:GYMLS_3381
if 
  not Char.IsDead(34@)
goto_if_false @GYMLS_3437
if and
  TIMERB > 3000
  65@ == 0
goto_if_false @GYMLS_3430
65@ = 1

:GYMLS_3430
TIMERB = 0

:GYMLS_3437
if 
  not Char.IsDead(35@)
goto_if_false @GYMLS_3493
if and
  TIMERB > 3000
  65@ == 1
goto_if_false @GYMLS_3486
65@ = 0

:GYMLS_3486
TIMERB = 0

:GYMLS_3493
if 
  $g_Truck_cashKM == 1
goto_if_false @GYMLS_3777
if 
  56@ == 0
goto_if_false @GYMLS_3556
TIMERA = 0
Text.ClearHelp
Text.PrintHelpForever('GYM1_94')
56@ = 1

:GYMLS_3556
if 
  not Game.IsGerman
goto_if_false @GYMLS_3682
if and
  TIMERA > 6000
  56@ == 1
goto_if_false @GYMLS_3622
Text.ClearHelp
Text.PrintHelpForever('GYM1_95')
TIMERA = 0
56@ = 2

:GYMLS_3622
if and
  TIMERA > 6000
  56@ == 2
goto_if_false @GYMLS_3675
Text.ClearHelp
Text.PrintHelpForever('GYM1_96')
TIMERA = 0
56@ = 3

:GYMLS_3675
goto @GYMLS_3735

:GYMLS_3682
if and
  TIMERA > 6000
  56@ == 1
goto_if_false @GYMLS_3735
Text.ClearHelp
Text.PrintHelpForever('GYM1_96')
TIMERA = 0
56@ = 3

:GYMLS_3735
if and
  TIMERA > 6000
  56@ == 3
goto_if_false @GYMLS_3777
Text.ClearHelp
TIMERA = 0
56@ = 0

:GYMLS_3777
if 
  Char.IsDead(39@)
goto_if_false @GYMLS_3800
goto @GYMLS_3807

:GYMLS_3800
goto @GYMLS_3290

:GYMLS_3807
Text.ClearHelp
if 
  $g_Truck_cashKM == 1
goto_if_false @GYMLS_3834
goto @GYMLS_5431

:GYMLS_3834
gosub @GYMLS_6055
Char.Delete(39@)
World.ClearArea(760.7445, 0.6538, 1000.594, 10.0, True)
gosub @GYMLS_6003
39@ = Char.Create(PedType.Mission2, 80, 762.616, 2.1235, 1000.594)
Char.SetHeading(39@, 135.5749)
Char.SetDecisionMaker(39@, 43@)
Char.ClearTasksImmediately(39@)
Char.SetDecisionMaker(39@, 43@)
Char.GiveMeleeAttack(39@, FightStyle.Boxeo, 6)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_3987
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 759.0147, -1.7235, 1000.594)
Char.SetHeading($stattreadstamina_ctr, 312.9747)

:GYMLS_3987
Char.Delete(34@)
Char.Delete(35@)
Char.Delete(37@)
Camera.SetFixedPosition(764.0964, -4.8216, 1003.062, 0.0, 0.0, 0.0)
Camera.PointAtPoint(763.5206, -4.0516, 1002.787, SwitchType.JumpCut)
gosub @GYMLS_6111
Text.PrintNow('BBOX_5', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 4804)

:GYMLS_4087
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLS_4130
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_4123

:GYMLS_4123
goto @GYMLS_4087

:GYMLS_4130
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
wait 1000
TIMERA = 0

:GYMLS_4146
if 
  2000 > TIMERA
goto_if_false @GYMLS_4193
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_4186

:GYMLS_4186
goto @GYMLS_4146

:GYMLS_4193
Camera.SetFixedPosition(762.5212, -0.4172, 1001.843, 0.0, 0.0, 0.0)
Camera.PointAtPoint(762.5431, 0.5793, 1001.762, SwitchType.JumpCut)
Text.PrintNow('GYM1_97', 2000, 1)
TIMERA = 0

:GYMLS_4267
if 
  2000 > TIMERA
goto_if_false @GYMLS_4314
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_4307

:GYMLS_4307
goto @GYMLS_4267

:GYMLS_4314
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 4805)

:GYMLS_4325
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLS_4368
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_4361

:GYMLS_4361
goto @GYMLS_4325

:GYMLS_4368
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GYM1_94', 4000, 1)
TIMERA = 0

:GYMLS_4395
if 
  4000 > TIMERA
goto_if_false @GYMLS_4442
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_4435

:GYMLS_4435
goto @GYMLS_4395

:GYMLS_4442
if 
  not Char.IsDead(39@)
goto_if_false @GYMLS_4497
Task.PlayAnim(39@, "FIGHTB_M", "FIGHT_B", 4.0, False, True, True, False, -1)

:GYMLS_4497
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_4545
Task.PlayAnim($stattreadstamina_ctr, "FUCKU", "PED", 4.0, False, True, True, False, -1)

:GYMLS_4545
TIMERA = 0

:GYMLS_4552
if 
  3000 > TIMERA
goto_if_false @GYMLS_4599
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_4592

:GYMLS_4592
goto @GYMLS_4552

:GYMLS_4599
if 
  not Game.IsGerman
goto_if_false @GYMLS_5018
Camera.SetFixedPosition(759.6699, 1.9955, 1001.068, 0.0, 0.0, 0.0)
Camera.PointAtPoint(760.6637, 2.0051, 1001.178, SwitchType.JumpCut)
Text.PrintNow('GYM1_98', 2000, 1)
TIMERA = 0

:GYMLS_4686
if 
  2000 > TIMERA
goto_if_false @GYMLS_4733
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_4726

:GYMLS_4726
goto @GYMLS_4686

:GYMLS_4733
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 4806)

:GYMLS_4744
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLS_4787
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_4780

:GYMLS_4780
goto @GYMLS_4744

:GYMLS_4787
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GYM1_95', 4000, 1)
TIMERA = 0

:GYMLS_4814
if 
  4000 > TIMERA
goto_if_false @GYMLS_4861
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_4854

:GYMLS_4854
goto @GYMLS_4814

:GYMLS_4861
if 
  not Char.IsDead(39@)
goto_if_false @GYMLS_4916
Task.PlayAnim(39@, "FIGHTB_G", "FIGHT_B", 4.0, False, True, True, False, -1)

:GYMLS_4916
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_4964
Task.PlayAnim($stattreadstamina_ctr, "FUCKU", "PED", 4.0, False, True, True, False, -1)

:GYMLS_4964
TIMERA = 0

:GYMLS_4971
if 
  3000 > TIMERA
goto_if_false @GYMLS_5018
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_5011

:GYMLS_5011
goto @GYMLS_4971

:GYMLS_5018
Camera.SetFixedPosition(764.5368, 3.1767, 1002.349, 0.0, 0.0, 0.0)
Camera.PointAtPoint(763.7495, 2.6046, 1002.12, SwitchType.JumpCut)
Text.PrintNow('GYM1_99', 2000, 1)
TIMERA = 0

:GYMLS_5092
if 
  2000 > TIMERA
goto_if_false @GYMLS_5139
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_5132

:GYMLS_5132
goto @GYMLS_5092

:GYMLS_5139
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 4807)

:GYMLS_5150
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLS_5193
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_5186

:GYMLS_5186
goto @GYMLS_5150

:GYMLS_5193
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GYM1_96', 4000, 1)
TIMERA = 0

:GYMLS_5220
if 
  4000 > TIMERA
goto_if_false @GYMLS_5267
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_5260

:GYMLS_5260
goto @GYMLS_5220

:GYMLS_5267
if 
  not Char.IsDead(39@)
goto_if_false @GYMLS_5329
Char.FreezePosition(39@, True)
Task.PlayAnim(39@, "FIGHTB_3", "FIGHT_B", 4.0, False, True, True, False, -1)

:GYMLS_5329
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_5377
Task.PlayAnim($stattreadstamina_ctr, "FUCKU", "PED", 4.0, False, False, False, True, -1)

:GYMLS_5377
TIMERA = 0

:GYMLS_5384
if 
  2000 > TIMERA
goto_if_false @GYMLS_5431
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_5424

:GYMLS_5424
goto @GYMLS_5384

:GYMLS_5431
Char.Delete(37@)
Char.Delete(34@)
Char.Delete(35@)
gosub @GYMLS_6055
34@ = Char.Create(PedType.Mission2, 81, 761.6263, 11.4876, 1000.164)
Char.SetHeading(34@, 128.1297)
Char.SetDecisionMaker(34@, 58@)
Char.SetOnlyDamagedByPlayer(34@, True)
Char.ShutUp(34@, True)
35@ = Char.Create(PedType.Mission2, 81, 760.343, 10.1973, 999.7099)
Char.SetHeading(35@, 310.2206)
Char.SetDecisionMaker(35@, 58@)
Char.SetOnlyDamagedByPlayer(35@, True)
Char.ShutUp(34@, True)
Char.PerformSequence(34@, 52@)
Char.PerformSequence(35@, 41@)
37@ = Char.Create(PedType.Mission2, 19, 762.8681, 7.4928, 999.7141)
Char.SetHeading(37@, 13.3401)
Char.PerformSequence(37@, 40@)
Char.SetDecisionMaker(37@, 57@)
Char.Delete(39@)
39@ = Char.Create(PedType.Mission2, 80, 767.2571, 14.4044, 999.6998)
Char.SetHeading(39@, 263.2938)
Char.SetDecisionMaker(39@, 57@)
Char.PerformSequence(39@, 53@)
Char.GiveMeleeAttack(39@, FightStyle.Boxeo, 6)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_5741
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 765.6662, 2.7963, 999.718)
Char.SetHeading($stattreadstamina_ctr, 277.3348)

:GYMLS_5741
gosub @GYMLS_6027
gosub @GYMLS_6111
if 
  $8157 == 0
goto_if_false @GYMLS_5784
Stat.PlayerMadeProgress(1)
$8157 = 1

:GYMLS_5784
Char.GiveMeleeAttack($stattreadstamina_ctr, FightStyle.Boxeo, 6)
if 
  $g_Truck_cashKM == 0
goto_if_false @GYMLS_5827
Text.PrintNow('GYM1_93', 3000, 1)

:GYMLS_5827
$g_nTruckMissionsPassed = 0
$g_Truck_cashKM = 1
$g_Truck_damageKM = 0
Pad.SetPlayerCycleWeaponButton($statbike_temp, True)

:GYMLS_5855
goto @GYMLS_1489

:GYMLS_5862
return 
Text.PrintWithNumberBig('M_PASS', 30000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 30000)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
return 

:GYMLS_5902
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLS_5925
Char.ListenToPlayerGroupCommands($stattreadstamina_ctr, True)

:GYMLS_5925
Streaming.MarkModelAsNoLongerNeeded(80)
Streaming.MarkModelAsNoLongerNeeded(81)
Streaming.MarkModelAsNoLongerNeeded(19)
Streaming.RemoveAnimation("GYMNASIUM")
Streaming.RemoveAnimation("RIOT")
Streaming.RemoveAnimation("FIGHT_B")
Streaming.RemoveAnimation("INT_SHOP")
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
$switch_the_gym_interiors_off = 0
$weapon_shop1_blip = 0
Mission.Finish
return 

:GYMLS_6003
Text.ClearHelp
Text.ClearPrints
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
return 

:GYMLS_6027
Text.ClearHelp
Text.ClearPrints
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
return 

:GYMLS_6055
Camera.DoFade(500, Fade.Out)

:GYMLS_6062
if 
  Camera.GetFadingStatus
goto_if_false @GYMLS_6109
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLS_6102
Camera.DoFade(1, Fade.Out)

:GYMLS_6102
goto @GYMLS_6062

:GYMLS_6109
return 

:GYMLS_6111
Camera.DoFade(500, Fade.In)

:GYMLS_6118
if 
  Camera.GetFadingStatus
goto_if_false @GYMLS_6142
wait 0
goto @GYMLS_6118

:GYMLS_6142
return 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 63@)
64@ = 0
return 

:GYMLS_6164
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  64@ == 0
goto_if_false @GYMLS_6207
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(61@s, 10000, 1)
64@ = 1

:GYMLS_6207
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  64@ == 1
goto_if_false @GYMLS_6245
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(61@s)
64@ = 2

:GYMLS_6245
return 

//-------------Mission 115---------------
// Originally: San Fierro Gym Fight School

:GYMSF
script_name 'GYMSF'
Camera.DoFade(0, Fade.Out)
gosub @GYMSF_63
Camera.SetFadingColor(0, 0, 0)
if 
  has_deatharrest_been_executed 
goto_if_false @GYMSF_52
gosub @GYMSF_5328

:GYMSF_52
gosub @GYMSF_5368
terminate_this_script 
Stat.RegisterMissionGiven

:GYMSF_63
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_86
Char.ListenToPlayerGroupCommands($stattreadstamina_ctr, False)

:GYMSF_86
$switch_the_gym_interiors_off = 1
63@ = 2
$weapon_shop1_blip = 1
Stat.IncrementInt(StatId.VisitsToGym, 1)
Text.LoadMissionText('GYM')
Streaming.RequestModel(96)
Streaming.RequestModel(203)
Streaming.RequestModel(97)
Streaming.RequestModel(49)
Streaming.RequestModel(204)

:GYMSF_147
if or
  not Streaming.HasModelLoaded(96)
  not Streaming.HasModelLoaded(203)
  not Streaming.HasModelLoaded(97)
  not Streaming.HasModelLoaded(49)
  not Streaming.HasModelLoaded(204)
goto_if_false @GYMSF_191
wait 0
goto @GYMSF_147

:GYMSF_191
Streaming.RequestAnimation("PARK")
Streaming.RequestAnimation("FIGHT_C")
Streaming.RequestAnimation("GYMNASIUM")

:GYMSF_223
if or
  not Streaming.HasAnimationLoaded("PARK")
  not Streaming.HasAnimationLoaded("FIGHT_C")
  not Streaming.HasAnimationLoaded("GYMNASIUM")
goto_if_false @GYMSF_277
wait 0
goto @GYMSF_223

:GYMSF_277
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1820)

:GYMSF_288
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMSF_314
wait 0
goto @GYMSF_288

:GYMSF_314
40@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
57@ = DecisionMakerChar.Load(DecisionMakerType.Normal)
41@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
52@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 768.064, -41.5728, 999.6865, 4, -1)
Task.AchieveHeading(-1, 358.0992)
Task.LookAbout(-1, -2)
Sequence.Close(52@)
53@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 770.3961, -23.0853, 999.5938, 4, -1)
Task.AchieveHeading(-1, 87.3049)
Task.PlayAnim(-1, "TAI_CHI_LOOP", "PARK", 4.0, True, False, False, False, -1)
Sequence.Close(53@)
54@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.GoToCoordAnyMeans(-1, 766.3062, -23.0554, 999.5938, 4, -1)
Task.AchieveHeading(-1, 272.4196)
Task.PlayAnim(-1, "TAI_CHI_LOOP", "PARK", 4.0, True, False, False, False, -1)
Sequence.Close(54@)
42@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.GoToCoordAnyMeans(-1, 769.8199, -36.4933, 999.6865, 4, -1)
Task.AchieveHeading(-1, 88.548)
Task.PlayAnim(-1, "FIGHTC_IDLE", "FIGHT_C", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(42@, True)
Sequence.Close(42@)
43@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 767.057, -37.0465, 999.6865, 4, -1)
Task.AchieveHeading(-1, 270.0)
Task.PlayAnim(-1, "FIGHTC_IDLE", "FIGHT_C", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(43@, True)
Sequence.Close(43@)
48@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 768.064, -41.5728, 999.6865, 4, -1)
Task.AchieveHeading(-1, 358.0992)
Task.LookAbout(-1, -2)
Sequence.SetToRepeat(48@, True)
Sequence.Close(48@)
38@ = Char.Create(PedType.CivMale, 49, 768.064, -41.5728, 999.6865)
Char.SetHeading(38@, 358.0992)
Char.PerformSequence(38@, 48@)
Char.SetDecisionMaker(38@, 57@)
Char.GiveMeleeAttack(38@, FightStyle.KungFu, 6)
49@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 770.3961, -23.0853, 999.5938, 4, -1)
Task.AchieveHeading(-1, 87.3049)
Task.PlayAnim(-1, "TAI_CHI_LOOP", "PARK", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(49@, True)
Sequence.Close(49@)
35@ = Char.Create(PedType.CivMale, 96, 770.3961, -23.0853, 999.5938)
Char.SetHeading(35@, 87.3049)
Char.PerformSequence(35@, 49@)
Char.SetDecisionMaker(35@, 41@)
Char.GiveMeleeAttack(35@, FightStyle.KungFu, 6)
50@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.GoToCoordAnyMeans(-1, 766.3062, -23.0554, 999.5938, 4, -1)
Task.AchieveHeading(-1, 272.4196)
Task.PlayAnim(-1, "TAI_CHI_LOOP", "PARK", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(50@, True)
Sequence.Close(50@)
34@ = Char.Create(PedType.CivMale, 97, 766.3062, -23.0554, 999.5938)
Char.SetHeading(34@, 272.4196)
Char.PerformSequence(34@, 50@)
Char.SetDecisionMaker(34@, 41@)
Char.GiveMeleeAttack(34@, FightStyle.KungFu, 6)
36@ = Char.Create(PedType.CivMale, 203, 769.8199, -36.4933, 999.6865)
Char.SetHeading(36@, 95.1885)
Char.PerformSequence(36@, 42@)
Char.SetDecisionMaker(36@, 41@)
Char.GiveMeleeAttack(36@, FightStyle.KungFu, 6)
37@ = Char.Create(PedType.CivMale, 204, 766.1017, -37.3952, 999.6865)
Char.SetHeading(37@, 271.1251)
Char.PerformSequence(37@, 43@)
Char.SetDecisionMaker(37@, 41@)
Char.GiveMeleeAttack(37@, FightStyle.KungFu, 6)
gosub @GYMSF_5567
if or
  is_int_var_greater_than_int_var $gym_day_fitness > $burglary_female_decision
  is_int_var_greater_than_int_var $burglary_male_decision > $burglary_gang_decision
goto_if_false @GYMSF_1318
$cutscene_skip_CUT = 0.0

:GYMSF_1318
wait 0
gosub @GYMSF_5620
if 
  51@ == 0
goto_if_false @GYMSF_1422
if 
  not Char.IsDead(37@)
goto_if_false @GYMSF_1422
if 
  Char.IsPlayingAnim(37@, "FIGHTC_SPAR")
goto_if_false @GYMSF_1422
Char.SetAnimCurrentTime(37@, "FIGHTC_SPAR", 0.45)
51@ = 1

:GYMSF_1422
$returned_respect = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  $returned_respect == 0
goto_if_false @GYMSF_1455
goto @GYMSF_5328

:GYMSF_1455
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 769.7938, -42.1122, 999.6865, 2.5, 2.5, 4.0, False)
goto_if_false @GYMSF_1510
47@ = 0

:GYMSF_1510
if 
  not Char.IsDead(38@)
goto_if_false @GYMSF_5321
if and
  47@ == 0
  Char.LocateAnyMeans3D(38@, 768.064, -41.5728, 999.6865, 1.0, 1.0, 1.2, False)
goto_if_false @GYMSF_5321
if 
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 769.7938, -42.1122, 999.6865, 0.6, 0.6, 1.0, True)
goto_if_false @GYMSF_1629

:GYMSF_1629
if and
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 769.7938, -42.1122, 999.6865, 1.2, 1.2, 1.2, False)
  not Char.IsDead(38@)
goto_if_false @GYMSF_5321
if and
  not Char.IsDead(38@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_1731
Player.SetControl($statbike_temp, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.TurnCharToFaceChar(38@, $stattreadstamina_ctr)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 38@)

:GYMSF_1731
if 
  $g_nTruckMissionsPassed == 0
goto_if_false @GYMSF_1806
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 21200)

:GYMSF_1760
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMSF_1786
wait 0
goto @GYMSF_1760

:GYMSF_1786
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('KUNG_1', 3000, 1)

:GYMSF_1806
if 
  $g_nTruckMissionsPassed == 1
goto_if_false @GYMSF_1881
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 21203)

:GYMSF_1835
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMSF_1861
wait 0
goto @GYMSF_1835

:GYMSF_1861
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('KUNG_4', 3000, 1)

:GYMSF_1881
Text.PrintHelpForever('GYM1_73')

:GYMSF_1892
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_2216
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @GYMSF_2081
59@ = Stat.GetFloat(StatId.BodyMuscle)
if 
  59@ > 349.0
goto_if_false @GYMSF_1980
44@ = 1
Text.ClearHelp
goto @GYMSF_2218
goto @GYMSF_2081

:GYMSF_1980
44@ = 0
47@ = 1
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 21202)

:GYMSF_2007
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMSF_2033
wait 0
goto @GYMSF_2007

:GYMSF_2033
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('KUNG_3', 3000, 1)
Player.SetControl($statbike_temp, True)
TIMERA = 0
55@ = 1
goto @GYMSF_1318

:GYMSF_2081
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @GYMSF_2209
44@ = 0
47@ = 1
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 21201)

:GYMSF_2125
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMSF_2151
wait 0
goto @GYMSF_2125

:GYMSF_2151
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('KUNG_2', 3000, 1)
if 
  not Char.IsDead(38@)
goto_if_false @GYMSF_2195
Char.PerformSequence(38@, 48@)

:GYMSF_2195
Player.SetControl($statbike_temp, True)
goto @GYMSF_1318

:GYMSF_2209
goto @GYMSF_1892

:GYMSF_2216
Text.ClearHelp

:GYMSF_2218
Text.ClearHelp
Text.ClearPrints
Pad.SetPlayerCycleWeaponButton($statbike_temp, False)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
if 
  44@ == 1
goto_if_false @GYMSF_5321
gosub @GYMSF_5511
Char.Delete(36@)
Char.Delete(37@)
if 
  not Char.IsDead(38@)
goto_if_false @GYMSF_2333
Char.SetCoordinatesDontWarpGang(38@, 771.4357, -36.9728, 999.6865)
Char.SetHeading(38@, 88.1801)
Char.SetHealth(38@, 1000)
Char.SetMaxHealth(38@, 1000)

:GYMSF_2333
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_2379
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 764.6453, -37.1052, 999.6865)
Char.SetHeading($stattreadstamina_ctr, 273.9816)

:GYMSF_2379
if 
  not Char.IsDead(38@)
goto_if_false @GYMSF_2427
Char.SetDecisionMaker(38@, 41@)
Task.KillCharOnFoot(38@, $stattreadstamina_ctr)
Char.GiveMeleeAttack(38@, FightStyle.KungFu, 6)
Char.SetShootRate(38@, 100)

:GYMSF_2427
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
if 
  $g_nTruckMissionsPassed == 0
goto_if_false @GYMSF_2465
Text.PrintHelpForever('GYM1106')

:GYMSF_2465
if 
  $g_nTruckMissionsPassed == 1
goto_if_false @GYMSF_2494
Text.PrintHelpForever('GYM1_84')

:GYMSF_2494
gosub @GYMSF_5567
58@ = 0
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_2536
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1115)

:GYMSF_2536
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_3285
wait 0
if 
  $g_nTruckMissionsPassed == 1
goto_if_false @GYMSF_2840
if 
  56@ == 0
goto_if_false @GYMSF_2619
TIMERA = 0
Text.ClearHelp
Text.PrintHelpForever('GYM1_94')
56@ = 1

:GYMSF_2619
if 
  not Game.IsGerman
goto_if_false @GYMSF_2745
if and
  TIMERA > 6000
  56@ == 1
goto_if_false @GYMSF_2685
Text.ClearHelp
Text.PrintHelpForever('GYM1_95')
TIMERA = 0
56@ = 2

:GYMSF_2685
if and
  TIMERA > 6000
  56@ == 2
goto_if_false @GYMSF_2738
Text.ClearHelp
Text.PrintHelpForever('GYM1_96')
TIMERA = 0
56@ = 3

:GYMSF_2738
goto @GYMSF_2798

:GYMSF_2745
if and
  TIMERA > 6000
  56@ == 1
goto_if_false @GYMSF_2798
Text.ClearHelp
Text.PrintHelpForever('GYM1_96')
TIMERA = 0
56@ = 3

:GYMSF_2798
if and
  TIMERA > 6000
  56@ == 3
goto_if_false @GYMSF_2840
Text.ClearHelp
TIMERA = 0
56@ = 0

:GYMSF_2840
if 
  not Char.IsDead(38@)
goto_if_false @GYMSF_2911
if 
  not Char.LocateAnyMeans3D(38@, 768.4611, -36.6685, 999.6865, 6.0, 6.0, 6.0, False)
goto_if_false @GYMSF_2911
goto @GYMSF_3285

:GYMSF_2911
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 768.4611, -36.6685, 999.6865, 6.0, 6.0, 6.0, False)
goto_if_false @GYMSF_3255
gosub @GYMSF_5511
Char.Delete(38@)
38@ = Char.Create(PedType.CivMale, 49, 768.064, -41.5728, 999.6865)
Char.SetHeading(38@, 358.0992)
Char.PerformSequence(38@, 48@)
Char.SetDecisionMaker(38@, 41@)
Char.GiveMeleeAttack(38@, FightStyle.KungFu, 6)
36@ = Char.Create(PedType.CivMale, 203, 769.8199, -36.4933, 999.6865)
Char.SetHeading(36@, 95.1885)
Char.PerformSequence(36@, 42@)
Char.SetDecisionMaker(36@, 41@)
Char.GiveMeleeAttack(36@, FightStyle.KungFu, 6)
37@ = Char.Create(PedType.CivMale, 204, 766.1017, -37.3952, 999.6865)
Char.SetHeading(37@, 271.1251)
Char.PerformSequence(37@, 43@)
Char.SetDecisionMaker(37@, 41@)
Char.GiveMeleeAttack(37@, FightStyle.KungFu, 6)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_3203
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 762.756, -37.2153, 999.6865)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Player.SetControl($statbike_temp, True)

:GYMSF_3203
Text.ClearPrints
Text.ClearHelp
gosub @GYMSF_5567
if 
  $g_nTruckMissionsPassed == 0
goto_if_false @GYMSF_3248
Text.PrintNow('GYM1_92', 5000, 1)

:GYMSF_3248
goto @GYMSF_1318

:GYMSF_3255
if 
  Char.IsDead(38@)
goto_if_false @GYMSF_3278
goto @GYMSF_3285

:GYMSF_3278
goto @GYMSF_2536

:GYMSF_3285
Text.ClearHelp
if 
  $g_nTruckMissionsPassed == 1
goto_if_false @GYMSF_3319
gosub @GYMSF_5511
goto @GYMSF_4956

:GYMSF_3319
gosub @GYMSF_5511
Char.Delete(38@)
World.ClearArea(768.1746, -36.6986, 999.6865, 5.0, True)
38@ = Char.Create(PedType.CivMale, 49, 768.064, -41.5728, 999.6865)
Char.SetHeading(38@, 358.0992)
Char.SetDecisionMaker(38@, 40@)
if 
  not Char.IsDead(38@)
goto_if_false @GYMSF_3443
Char.SetCoordinatesDontWarpGang(38@, 771.4357, -36.9728, 999.6865)
Char.SetHeading(38@, 88.1801)

:GYMSF_3443
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_3494
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 764.6453, -37.1052, 999.6865)
Char.SetHeading($stattreadstamina_ctr, 273.9816)

:GYMSF_3494
if 
  not Char.IsDead(38@)
goto_if_false @GYMSF_3520
Char.SetDecisionMaker(38@, 65542)

:GYMSF_3520
gosub @GYMSF_5467
Camera.SetFixedPosition(762.8773, -35.4754, 1001.545, 0.0, 0.0, 0.0)
Camera.PointAtPoint(763.8198, -35.703, 1001.3, SwitchType.JumpCut)
gosub @GYMSF_5567
Text.PrintNow('KUNG_5', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 21204)

:GYMSF_3612
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMSF_3655
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_3648

:GYMSF_3648
goto @GYMSF_3612

:GYMSF_3655
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
wait 1000
TIMERA = 0

:GYMSF_3671
if 
  2000 > TIMERA
goto_if_false @GYMSF_3718
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_3711

:GYMSF_3711
goto @GYMSF_3671

:GYMSF_3718
Camera.SetFixedPosition(767.428, -39.4061, 1000.416, 0.0, 0.0, 0.0)
Camera.PointAtPoint(768.1919, -38.7609, 1000.4, SwitchType.JumpCut)
Text.PrintNow('GYM1_97', 2000, 1)
TIMERA = 0

:GYMSF_3792
if 
  2000 > TIMERA
goto_if_false @GYMSF_3839
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_3832

:GYMSF_3832
goto @GYMSF_3792

:GYMSF_3839
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 21205)

:GYMSF_3850
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMSF_3893
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_3886

:GYMSF_3886
goto @GYMSF_3850

:GYMSF_3893
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GYM1_94', 4000, 1)
TIMERA = 0

:GYMSF_3920
if 
  4000 > TIMERA
goto_if_false @GYMSF_3967
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_3960

:GYMSF_3960
goto @GYMSF_3920

:GYMSF_3967
if 
  not Char.IsDead(38@)
goto_if_false @GYMSF_4022
Task.PlayAnim(38@, "FIGHTC_M", "FIGHT_C", 4.0, False, True, True, False, -1)

:GYMSF_4022
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_4070
Task.PlayAnim($stattreadstamina_ctr, "FUCKU", "PED", 4.0, False, True, True, False, -1)

:GYMSF_4070
TIMERA = 0

:GYMSF_4077
if 
  3000 > TIMERA
goto_if_false @GYMSF_4124
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_4117

:GYMSF_4117
goto @GYMSF_4077

:GYMSF_4124
if 
  not Game.IsGerman
goto_if_false @GYMSF_4543
Camera.SetFixedPosition(768.0062, -35.1731, 1000.276, 0.0, 0.0, 0.0)
Camera.PointAtPoint(768.757, -35.8325, 1000.314, SwitchType.JumpCut)
Text.PrintNow('GYM1_98', 2000, 1)
TIMERA = 0

:GYMSF_4211
if 
  2000 > TIMERA
goto_if_false @GYMSF_4258
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_4251

:GYMSF_4251
goto @GYMSF_4211

:GYMSF_4258
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 21206)

:GYMSF_4269
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMSF_4312
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_4305

:GYMSF_4305
goto @GYMSF_4269

:GYMSF_4312
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GYM1_95', 4000, 1)
TIMERA = 0

:GYMSF_4339
if 
  4000 > TIMERA
goto_if_false @GYMSF_4386
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_4379

:GYMSF_4379
goto @GYMSF_4339

:GYMSF_4386
if 
  not Char.IsDead(38@)
goto_if_false @GYMSF_4441
Task.PlayAnim(38@, "FIGHTC_G", "FIGHT_C", 4.0, False, True, True, False, -1)

:GYMSF_4441
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_4489
Task.PlayAnim($stattreadstamina_ctr, "FUCKU", "PED", 4.0, False, True, True, False, -1)

:GYMSF_4489
TIMERA = 0

:GYMSF_4496
if 
  3000 > TIMERA
goto_if_false @GYMSF_4543
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_4536

:GYMSF_4536
goto @GYMSF_4496

:GYMSF_4543
Camera.SetFixedPosition(772.6448, -38.011, 1000.478, 0.0, 0.0, 0.0)
Camera.PointAtPoint(771.679, -37.7522, 1000.485, SwitchType.JumpCut)
Text.PrintNow('GYM1_99', 2000, 1)
TIMERA = 0

:GYMSF_4617
if 
  2000 > TIMERA
goto_if_false @GYMSF_4664
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_4657

:GYMSF_4657
goto @GYMSF_4617

:GYMSF_4664
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 21207)

:GYMSF_4675
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMSF_4718
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_4711

:GYMSF_4711
goto @GYMSF_4675

:GYMSF_4718
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GYM1_96', 4000, 1)
TIMERA = 0

:GYMSF_4745
if 
  4000 > TIMERA
goto_if_false @GYMSF_4792
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_4785

:GYMSF_4785
goto @GYMSF_4745

:GYMSF_4792
if 
  not Char.IsDead(38@)
goto_if_false @GYMSF_4854
Char.FreezePosition(38@, True)
Task.PlayAnim(38@, "FIGHTC_3", "FIGHT_C", 4.0, False, True, True, False, -1)

:GYMSF_4854
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_4902
Task.PlayAnim($stattreadstamina_ctr, "FUCKU", "PED", 4.0, False, False, False, True, -1)

:GYMSF_4902
TIMERA = 0

:GYMSF_4909
if 
  2000 > TIMERA
goto_if_false @GYMSF_4956
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_4949

:GYMSF_4949
goto @GYMSF_4909

:GYMSF_4956
gosub @GYMSF_5511
Char.Delete(38@)
38@ = Char.Create(PedType.CivMale, 49, 768.064, -41.5728, 999.6865)
Char.SetHeading(38@, 358.0992)
Char.PerformSequence(38@, 48@)
Char.SetDecisionMaker(38@, 41@)
Char.GiveMeleeAttack(38@, FightStyle.KungFu, 6)
36@ = Char.Create(PedType.CivMale, 203, 769.8199, -36.4933, 999.6865)
Char.SetHeading(36@, 95.1885)
Char.PerformSequence(36@, 42@)
Char.SetDecisionMaker(36@, 41@)
Char.GiveMeleeAttack(36@, FightStyle.KungFu, 6)
37@ = Char.Create(PedType.CivMale, 204, 766.1017, -37.3952, 999.6865)
Char.SetHeading(37@, 271.1251)
Char.PerformSequence(37@, 43@)
Char.SetDecisionMaker(37@, 41@)
Char.GiveMeleeAttack(37@, FightStyle.KungFu, 6)
gosub @GYMSF_5487
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_5214
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 765.9402, -41.602, 999.6865)
Char.SetHeading($stattreadstamina_ctr, 265.007)
Player.SetControl($statbike_temp, True)
Camera.SetBehindPlayer

:GYMSF_5214
gosub @GYMSF_5567
if 
  $gym_lv_defeated == 0
goto_if_false @GYMSF_5250
Stat.PlayerMadeProgress(1)
$gym_lv_defeated = 1

:GYMSF_5250
if 
  $g_nTruckMissionsPassed == 0
goto_if_false @GYMSF_5284
Text.PrintNow('GYM1_93', 3000, 1)

:GYMSF_5284
Char.GiveMeleeAttack($stattreadstamina_ctr, FightStyle.KungFu, 6)
Pad.SetPlayerCycleWeaponButton($statbike_temp, True)
$g_nTruckMissionsPassed = 1
$g_Truck_cashKM = 0
$g_Truck_damageKM = 0

:GYMSF_5321
goto @GYMSF_1318

:GYMSF_5328
return 
Text.PrintWithNumberBig('M_PASS', 30000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 30000)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
return 

:GYMSF_5368
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMSF_5391
Char.ListenToPlayerGroupCommands($stattreadstamina_ctr, True)

:GYMSF_5391
Streaming.MarkModelAsNoLongerNeeded(96)
Streaming.MarkModelAsNoLongerNeeded(203)
Streaming.MarkModelAsNoLongerNeeded(97)
Streaming.MarkModelAsNoLongerNeeded(49)
Streaming.MarkModelAsNoLongerNeeded(204)
Streaming.RemoveAnimation("GYMNASIUM")
Streaming.RemoveAnimation("PARK")
Streaming.RemoveAnimation("FIGHT_C")
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
$switch_the_gym_interiors_off = 0
$weapon_shop1_blip = 0
Mission.Finish
return 

:GYMSF_5467
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
return 

:GYMSF_5487
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
return 

:GYMSF_5511
Camera.DoFade(500, Fade.Out)

:GYMSF_5518
if 
  Camera.GetFadingStatus
goto_if_false @GYMSF_5565
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMSF_5558
Camera.DoFade(1, Fade.Out)

:GYMSF_5558
goto @GYMSF_5518

:GYMSF_5565
return 

:GYMSF_5567
Camera.DoFade(500, Fade.In)

:GYMSF_5574
if 
  Camera.GetFadingStatus
goto_if_false @GYMSF_5598
wait 0
goto @GYMSF_5574

:GYMSF_5598
return 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 62@)
63@ = 0
return 

:GYMSF_5620
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  63@ == 0
goto_if_false @GYMSF_5663
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(60@s, 10000, 1)
63@ = 1

:GYMSF_5663
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  63@ == 1
goto_if_false @GYMSF_5701
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(60@s)
63@ = 2

:GYMSF_5701
return 

//-------------Mission 116---------------
// Originally: Las Venturas Gym Fight School

:GYMLV
script_name 'GYMLV'
gosub @GYMLV_57
Camera.SetFadingColor(0, 0, 0)
if 
  has_deatharrest_been_executed 
goto_if_false @GYMLV_46
gosub @GYMLV_5200

:GYMLV_46
gosub @GYMLV_5240
terminate_this_script 
Stat.RegisterMissionGiven

:GYMLV_57
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_80
Char.ListenToPlayerGroupCommands($stattreadstamina_ctr, False)

:GYMLV_80
$switch_the_gym_interiors_off = 1
$weapon_shop1_blip = 1
Stat.IncrementInt(StatId.VisitsToGym, 1)
Text.LoadMissionText('GYM')
Streaming.RequestModel(80)
Streaming.RequestModel(81)
Streaming.RequestModel(19)
Streaming.RequestAnimation("RIOT")
Streaming.RequestAnimation("FIGHT_D")
Streaming.RequestAnimation("GYMNASIUM")
Streaming.RequestAnimation("INT_SHOP")
Streaming.LoadAllModelsNow

:GYMLV_170
if or
  not Streaming.HasAnimationLoaded("GYMNASIUM")
  not Streaming.HasModelLoaded(80)
  not Streaming.HasModelLoaded(81)
goto_if_false @GYMLV_213
wait 0
goto @GYMLV_170

:GYMLV_213
if or
  not Streaming.HasModelLoaded(19)
  not Streaming.HasAnimationLoaded("RIOT")
  not Streaming.HasAnimationLoaded("FIGHT_D")
  not Streaming.HasAnimationLoaded("INT_SHOP")
goto_if_false @GYMLV_270
wait 0
goto @GYMLV_213

:GYMLV_270
41@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
51@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
Game.SetRelationship(RelationshipType.Hate, PedType.Mission1, PedType.Player1)
63@ = Sequence.Open()
Task.PlayAnim(-1, "RIOT_SHOUT", "RIOT", 4.0, False, False, False, False, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.Pause(-1, 1000)
Sequence.SetToRepeat(63@, True)
Sequence.Close(63@)
64@ = Sequence.Open()
Task.Pause(-1, 500)
Task.PlayAnim(-1, "RIOT_SHOUT", "RIOT", 4.0, False, False, False, False, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.SetToRepeat(64@, True)
Sequence.Close(64@)
65@ = Sequence.Open()
Task.Pause(-1, 750)
Task.PlayAnim(-1, "RIOT_SHOUT", "RIOT", 4.0, False, False, False, False, -1)
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Sequence.SetToRepeat(65@, True)
Sequence.Close(65@)
52@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 773.8429, -61.5409, 999.7184, 4, -1)
Task.AchieveHeading(-1, 93.0279)
Task.PlayAnim(-1, "GYMSHADOWBOX", "GYMNASIUM", 4.0, True, False, False, False, -1)
Sequence.Close(52@)
53@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 771.2518, -69.3033, 999.6562, 4, -1)
Task.AchieveHeading(-1, 85.5162)
Sequence.Close(53@)
54@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 762.3508, -78.2144, 999.6562, 4, -1)
Task.AchieveHeading(-1, 359.2498)
Task.PlayAnim(-1, "SHOP_PAY", "INT_SHOP", 4.0, True, False, False, False, -1)
Sequence.Close(54@)
48@ = Sequence.Open()
Task.GoToCoordAnyMeans(-1, 762.3508, -78.2144, 999.6562, 4, -1)
Task.AchieveHeading(-1, 359.2498)
Task.PlayAnim(-1, "SHOP_PAY", "INT_SHOP", 4.0, True, False, False, False, -1)
Sequence.SetToRepeat(48@, True)
Sequence.Close(48@)
34@ = Char.Create(PedType.CivMale, 81, 762.3508, -78.2144, 999.6562)
Char.SetHeading(34@, 359.2498)
Char.SetDecisionMaker(34@, 51@)
Char.PerformSequence(34@, 48@)
Char.GiveMeleeAttack(34@, FightStyle.KickBoxing, 6)
36@ = Char.Create(PedType.CivMale, 81, 766.2026, -69.2071, 1000.569)
Char.SetHeading(36@, 330.7023)
Char.SetDecisionMaker(36@, 41@)
37@ = Char.Create(PedType.CivMale, 80, 767.1087, -67.9132, 1000.569)
Char.SetHeading(37@, 129.3961)
Char.SetDecisionMaker(37@, 41@)
42@ = Sequence.Open()
Task.Pause(-1, 1000)
Task.PlayAnim(-1, "GYMSHADOWBOX", "GYMNASIUM", 4.0, True, False, False, False, -1)
Sequence.Close(42@)
43@ = Sequence.Open()
Task.PlayAnim(-1, "GYMSHADOWBOX", "GYMNASIUM", 4.0, True, False, False, False, -1)
Sequence.Close(43@)
Char.PerformSequence(36@, 42@)
Char.PerformSequence(37@, 43@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1820)

:GYMLV_1078
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMLV_1104
wait 0
goto @GYMLV_1078

:GYMLV_1104
62@ = 2
if or
  is_int_var_greater_than_int_var $gym_day_fitness > $burglary_female_decision
  is_int_var_greater_than_int_var $burglary_male_decision > $burglary_gang_decision
goto_if_false @GYMLV_1148
$cutscene_skip_CUT = 0.0

:GYMLV_1148
wait 0
gosub @GYMLV_5494
if 
  57@ == 0
goto_if_false @GYMLV_1279
if 
  Char.IsDead(36@)
goto_if_false @GYMLV_1228
if 
  not Char.IsDead(37@)
goto_if_false @GYMLV_1228
Char.ClearTasksImmediately(37@)
Task.Duck(37@, -2)
57@ = 1

:GYMLV_1228
if 
  Char.IsDead(37@)
goto_if_false @GYMLV_1279
if 
  not Char.IsDead(36@)
goto_if_false @GYMLV_1279
Char.ClearTasksImmediately(36@)
Task.Duck(36@, -2)
57@ = 1

:GYMLV_1279
$returned_respect = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  $returned_respect == 0
goto_if_false @GYMLV_1312
goto @GYMLV_5200

:GYMLV_1312
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 763.3589, -76.7606, 999.6562, 2.5, 2.5, 4.0, False)
goto_if_false @GYMLV_1367
45@ = 0

:GYMLV_1367
if 
  not Char.IsDead(34@)
goto_if_false @GYMLV_5193
if and
  45@ == 0
  Char.LocateAnyMeans3D(34@, 762.3508, -78.2144, 999.6562, 1.0, 1.0, 1.2, False)
goto_if_false @GYMLV_5193
if 
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 763.3589, -76.7606, 999.6562, 0.6, 0.6, 1.0, True)
goto_if_false @GYMLV_1486

:GYMLV_1486
if and
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 763.3589, -76.7606, 999.6562, 1.2, 1.2, 1.2, False)
  not Char.IsDead(34@)
goto_if_false @GYMLV_5193
if and
  not Char.IsDead(34@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_1593
Player.SetControl($statbike_temp, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasks(34@)
Task.TurnCharToFaceChar(34@, $stattreadstamina_ctr)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 34@)

:GYMLV_1593
if 
  $g_Truck_damageKM == 0
goto_if_false @GYMLV_1670
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 43400)

:GYMLV_1624
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLV_1650
wait 0
goto @GYMLV_1624

:GYMLV_1650
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('WBOX_1', 3000, 1)

:GYMLV_1670
if 
  $g_Truck_damageKM == 1
goto_if_false @GYMLV_1747
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 43403)

:GYMLV_1701
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLV_1727
wait 0
goto @GYMLV_1701

:GYMLV_1727
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('WBOX_4', 3000, 1)

:GYMLV_1747
Text.PrintHelpForever('GYM1_73')

:GYMLV_1758
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_2062
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @GYMLV_1949
58@ = Stat.GetFloat(StatId.BodyMuscle)
if 
  58@ > 349.0
goto_if_false @GYMLV_1846
44@ = 1
Text.ClearHelp
goto @GYMLV_2064
goto @GYMLV_1949

:GYMLV_1846
44@ = 0
45@ = 1
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 43402)

:GYMLV_1875
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLV_1901
wait 0
goto @GYMLV_1875

:GYMLV_1901
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('WBOX_3', 3000, 1)
Player.SetControl($statbike_temp, True)
TIMERA = 0
55@ = 1
goto @GYMLV_1148

:GYMLV_1949
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @GYMLV_2055
44@ = 0
45@ = 1
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 43401)

:GYMLV_1995
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLV_2021
wait 0
goto @GYMLV_1995

:GYMLV_2021
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('WBOX_2', 3000, 1)
Player.SetControl($statbike_temp, True)
goto @GYMLV_1148

:GYMLV_2055
goto @GYMLV_1758

:GYMLV_2062
Text.ClearHelp

:GYMLV_2064
Text.ClearHelp
Text.ClearPrints
Pad.SetPlayerCycleWeaponButton($statbike_temp, False)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
if 
  44@ == 1
goto_if_false @GYMLV_5193
gosub @GYMLV_5385
Char.Delete(36@)
Char.Delete(37@)
Char.Delete(34@)
36@ = Char.Create(PedType.CivMale, 80, 767.9493, -64.6707, 999.6562)
Char.SetHeading(36@, 166.9465)
Char.PerformSequence(36@, 63@)
37@ = Char.Create(PedType.CivMale, 81, 770.7913, -67.3238, 999.6562)
Char.SetHeading(37@, 90.0184)
Char.PerformSequence(37@, 64@)
38@ = Char.Create(PedType.CivMale, 80, 770.4339, -69.5049, 999.6562)
Char.SetHeading(38@, 91.3393)
Char.PerformSequence(38@, 65@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_2392
Char.ClearTasksImmediately($stattreadstamina_ctr)
34@ = Char.Create(PedType.Mission1, 81, 768.2548, -67.2063, 1000.569)
Char.SetHeading(34@, 145.0)
Char.SetHealth(34@, 1000)
Char.SetMaxHealth(34@, 1000)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 764.8033, -70.2273, 1000.569)
Char.SetHeading($stattreadstamina_ctr, 310.0)
Char.SetDecisionMaker(34@, 51@)
Task.KillCharOnFoot(34@, $stattreadstamina_ctr)
Char.GiveMeleeAttack(34@, FightStyle.KickBoxing, 6)
Char.SetShootRate(34@, 100)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
gosub @GYMLV_5441

:GYMLV_2392
Player.SetControl($statbike_temp, True)
if 
  $g_Truck_damageKM == 0
goto_if_false @GYMLV_2428
Text.PrintHelpForever('GYM1101')

:GYMLV_2428
if 
  $g_Truck_damageKM == 1
goto_if_false @GYMLV_2457
Text.PrintHelpForever('GYM1_84')

:GYMLV_2457
gosub @GYMLV_5441
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_2506
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1115)

:GYMLV_2506
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_3164
wait 0
if 
  $g_Truck_damageKM == 1
goto_if_false @GYMLV_2810
if 
  56@ == 0
goto_if_false @GYMLV_2589
TIMERA = 0
Text.ClearHelp
Text.PrintHelpForever('GYM1_94')
56@ = 1

:GYMLV_2589
if 
  not Game.IsGerman
goto_if_false @GYMLV_2715
if and
  TIMERA > 6000
  56@ == 1
goto_if_false @GYMLV_2655
Text.ClearHelp
Text.PrintHelpForever('GYM1_95')
TIMERA = 0
56@ = 2

:GYMLV_2655
if and
  TIMERA > 6000
  56@ == 2
goto_if_false @GYMLV_2708
Text.ClearHelp
Text.PrintHelpForever('GYM1_96')
TIMERA = 0
56@ = 3

:GYMLV_2708
goto @GYMLV_2768

:GYMLV_2715
if and
  TIMERA > 6000
  56@ == 1
goto_if_false @GYMLV_2768
Text.ClearHelp
Text.PrintHelpForever('GYM1_96')
TIMERA = 0
56@ = 3

:GYMLV_2768
if and
  TIMERA > 6000
  56@ == 3
goto_if_false @GYMLV_2810
Text.ClearHelp
TIMERA = 0
56@ = 0

:GYMLV_2810
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_2840
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)

:GYMLV_2840
if 
  Char.IsDead(34@)
goto_if_false @GYMLV_2863
goto @GYMLV_3164

:GYMLV_2863
if 
  1000.7 > $in_carX
goto_if_false @GYMLV_3157
gosub @GYMLV_5385
Char.Delete(34@)
Char.Delete(36@)
Char.Delete(37@)
Char.Delete(38@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_2962
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 762.854, -69.5929, 999.6562)
Char.SetHeading($stattreadstamina_ctr, 103.4243)

:GYMLV_2962
34@ = Char.Create(PedType.CivMale, 81, 762.3508, -78.2144, 999.6562)
Char.SetHeading(34@, 359.2498)
Char.SetDecisionMaker(34@, 41@)
Char.PerformSequence(34@, 48@)
Char.GiveMeleeAttack(34@, FightStyle.KickBoxing, 6)
36@ = Char.Create(PedType.CivMale, 81, 766.2026, -69.2071, 1000.569)
Char.SetHeading(36@, 330.7023)
Char.PerformSequence(36@, 42@)
37@ = Char.Create(PedType.CivMale, 80, 767.1087, -67.9132, 1000.569)
Char.SetHeading(37@, 129.3961)
Char.PerformSequence(37@, 43@)
Text.ClearPrints
Text.ClearHelp
gosub @GYMLV_5441
if 
  $g_Truck_damageKM == 0
goto_if_false @GYMLV_3150
Text.PrintNow('GYM1_92', 5000, 1)

:GYMLV_3150
goto @GYMLV_1148

:GYMLV_3157
goto @GYMLV_2506

:GYMLV_3164
Text.ClearHelp
if 
  $g_Truck_damageKM == 1
goto_if_false @GYMLV_3191
goto @GYMLV_4847

:GYMLV_3191
gosub @GYMLV_5385
gosub @GYMLV_5341
World.ClearArea(768.2548, -67.2063, 1000.569, 10.0, True)
Char.Delete(34@)
Char.Delete(36@)
Char.Delete(37@)
Char.Delete(38@)
34@ = Char.Create(PedType.CivMale, 81, 768.2548, -67.2063, 1000.569)
Char.SetDecisionMaker(34@, 41@)
Char.GiveMeleeAttack(34@, FightStyle.KickBoxing, 6)
if and
  not Char.IsDead(34@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_3381
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasks(34@)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 764.8033, -70.2273, 1000.569)
Char.SetCoordinatesDontWarpGang(34@, 768.2548, -67.2063, 1000.569)
Char.SetHeading($stattreadstamina_ctr, 310.0)
Char.SetHeading(34@, 145.0)

:GYMLV_3381
Camera.SetFixedPosition(765.1049, -74.2975, 1003.591, 0.0, 0.0, 0.0)
Camera.PointAtPoint(765.3495, -73.4547, 1003.112, SwitchType.JumpCut)
gosub @GYMLV_5441
Text.PrintNow('WBOX_5', 4000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 43404)

:GYMLV_3468
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLV_3511
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_3504

:GYMLV_3504
goto @GYMLV_3468

:GYMLV_3511
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
wait 1000
TIMERA = 0

:GYMLV_3527
if 
  2000 > TIMERA
goto_if_false @GYMLV_3574
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_3567

:GYMLV_3567
goto @GYMLV_3527

:GYMLV_3574
Camera.SetFixedPosition(767.7358, -70.2958, 1001.493, 0.0, 0.0, 0.0)
Camera.PointAtPoint(767.9329, -69.3157, 1001.47, SwitchType.JumpCut)
Text.PrintNow('GYM1_97', 2000, 1)
TIMERA = 0

:GYMLV_3648
if 
  2000 > TIMERA
goto_if_false @GYMLV_3695
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_3688

:GYMLV_3688
goto @GYMLV_3648

:GYMLV_3695
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 43405)

:GYMLV_3708
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLV_3751
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_3744

:GYMLV_3744
goto @GYMLV_3708

:GYMLV_3751
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GYM1_94', 4000, 1)
TIMERA = 0

:GYMLV_3778
if 
  4000 > TIMERA
goto_if_false @GYMLV_3825
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_3818

:GYMLV_3818
goto @GYMLV_3778

:GYMLV_3825
if 
  not Char.IsDead(34@)
goto_if_false @GYMLV_3880
Task.PlayAnim(34@, "FIGHTD_M", "FIGHT_D", 4.0, False, True, True, False, -1)

:GYMLV_3880
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_3928
Task.PlayAnim($stattreadstamina_ctr, "FUCKU", "PED", 4.0, False, True, True, False, -1)

:GYMLV_3928
TIMERA = 0

:GYMLV_3935
if 
  3000 > TIMERA
goto_if_false @GYMLV_3982
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_3975

:GYMLV_3975
goto @GYMLV_3935

:GYMLV_3982
if 
  not Game.IsGerman
goto_if_false @GYMLV_4403
Camera.SetFixedPosition(765.0073, -67.3258, 1001.465, 0.0, 0.0, 0.0)
Camera.PointAtPoint(766.0051, -67.2777, 1001.419, SwitchType.JumpCut)
Text.PrintNow('GYM1_98', 2000, 1)
TIMERA = 0

:GYMLV_4069
if 
  2000 > TIMERA
goto_if_false @GYMLV_4116
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_4109

:GYMLV_4109
goto @GYMLV_4069

:GYMLV_4116
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 43406)

:GYMLV_4129
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLV_4172
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_4165

:GYMLV_4165
goto @GYMLV_4129

:GYMLV_4172
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GYM1_95', 4000, 1)
TIMERA = 0

:GYMLV_4199
if 
  4000 > TIMERA
goto_if_false @GYMLV_4246
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_4239

:GYMLV_4239
goto @GYMLV_4199

:GYMLV_4246
if 
  not Char.IsDead(34@)
goto_if_false @GYMLV_4301
Task.PlayAnim(34@, "FIGHTD_G", "FIGHT_D", 4.0, False, True, True, False, -1)

:GYMLV_4301
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_4349
Task.PlayAnim($stattreadstamina_ctr, "FUCKU", "PED", 4.0, False, True, True, False, -1)

:GYMLV_4349
TIMERA = 0

:GYMLV_4356
if 
  3000 > TIMERA
goto_if_false @GYMLV_4403
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_4396

:GYMLV_4396
goto @GYMLV_4356

:GYMLV_4403
Camera.SetFixedPosition(770.4639, -65.7272, 1002.231, 0.0, 0.0, 0.0)
Camera.PointAtPoint(769.6946, -66.3243, 1002.003, SwitchType.JumpCut)
Text.PrintNow('GYM1_99', 2000, 1)
if and
  not Char.IsDead(34@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_4499
Task.TurnCharToFaceChar(34@, $stattreadstamina_ctr)

:GYMLV_4499
TIMERA = 0

:GYMLV_4506
if 
  2000 > TIMERA
goto_if_false @GYMLV_4553
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_4546

:GYMLV_4546
goto @GYMLV_4506

:GYMLV_4553
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 43407)

:GYMLV_4566
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @GYMLV_4609
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_4602

:GYMLV_4602
goto @GYMLV_4566

:GYMLV_4609
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow('GYM1_96', 4000, 1)
TIMERA = 0

:GYMLV_4636
if 
  4000 > TIMERA
goto_if_false @GYMLV_4683
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_4676

:GYMLV_4676
goto @GYMLV_4636

:GYMLV_4683
if 
  not Char.IsDead(34@)
goto_if_false @GYMLV_4745
Char.FreezePosition(34@, True)
Task.PlayAnim(34@, "FIGHTD_3", "FIGHT_D", 4.0, False, True, True, False, -1)

:GYMLV_4745
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_4793
Task.PlayAnim($stattreadstamina_ctr, "FUCKU", "PED", 4.0, False, False, False, True, -1)

:GYMLV_4793
TIMERA = 0

:GYMLV_4800
if 
  2000 > TIMERA
goto_if_false @GYMLV_4847
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_4840

:GYMLV_4840
goto @GYMLV_4800

:GYMLV_4847
gosub @GYMLV_5385
if 
  $g_Truck_timedKM == 0
goto_if_false @GYMLV_4883
Stat.PlayerMadeProgress(1)
$g_Truck_timedKM = 1

:GYMLV_4883
Char.Delete(34@)
Char.Delete(36@)
Char.Delete(37@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_4949
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 762.854, -69.5929, 999.6562)
Char.SetHeading($stattreadstamina_ctr, 103.4243)

:GYMLV_4949
34@ = Char.Create(PedType.CivMale, 81, 762.3508, -78.2144, 999.6562)
Char.SetHeading(34@, 359.2498)
Char.SetDecisionMaker(34@, 51@)
Char.PerformSequence(34@, 48@)
Char.GiveMeleeAttack(34@, FightStyle.KickBoxing, 6)
36@ = Char.Create(PedType.CivMale, 81, 766.2026, -69.2071, 1000.569)
Char.SetHeading(36@, 330.7023)
Char.PerformSequence(36@, 42@)
Char.SetDecisionMaker(36@, 41@)
37@ = Char.Create(PedType.CivMale, 80, 767.1087, -67.9132, 1000.569)
Char.SetHeading(37@, 129.3961)
Char.PerformSequence(37@, 43@)
Char.SetDecisionMaker(37@, 41@)
gosub @GYMLV_5361
gosub @GYMLV_5441
Char.GiveMeleeAttack($stattreadstamina_ctr, FightStyle.KickBoxing, 6)
if 
  $g_Truck_damageKM == 0
goto_if_false @GYMLV_5165
Text.PrintNow('GYM1_93', 3000, 1)

:GYMLV_5165
$g_nTruckMissionsPassed = 0
$g_Truck_cashKM = 0
$g_Truck_damageKM = 1
Pad.SetPlayerCycleWeaponButton($statbike_temp, True)

:GYMLV_5193
goto @GYMLV_1148

:GYMLV_5200
return 
Text.PrintWithNumberBig('M_PASS', 30000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 30000)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
return 

:GYMLV_5240
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMLV_5263
Char.ListenToPlayerGroupCommands($stattreadstamina_ctr, True)

:GYMLV_5263
Streaming.MarkModelAsNoLongerNeeded(80)
Streaming.MarkModelAsNoLongerNeeded(81)
Streaming.MarkModelAsNoLongerNeeded(19)
Streaming.RemoveAnimation("GYMNASIUM")
Streaming.RemoveAnimation("RIOT")
Streaming.RemoveAnimation("FIGHT_D")
Streaming.RemoveAnimation("INT_SHOP")
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
$switch_the_gym_interiors_off = 0
$weapon_shop1_blip = 0
Mission.Finish
return 

:GYMLV_5341
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
return 

:GYMLV_5361
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
return 

:GYMLV_5385
Camera.DoFade(500, Fade.Out)

:GYMLV_5392
if 
  Camera.GetFadingStatus
goto_if_false @GYMLV_5439
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMLV_5432
Camera.DoFade(1, Fade.Out)

:GYMLV_5432
goto @GYMLV_5392

:GYMLV_5439
return 

:GYMLV_5441
Camera.DoFade(500, Fade.In)

:GYMLV_5448
if 
  Camera.GetFadingStatus
goto_if_false @GYMLV_5472
wait 0
goto @GYMLV_5448

:GYMLV_5472
return 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 61@)
62@ = 0
return 

:GYMLV_5494
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
  62@ == 0
goto_if_false @GYMLV_5537
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
Text.PrintNow(59@s, 10000, 1)
62@ = 1

:GYMLV_5537
if and
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
  62@ == 1
goto_if_false @GYMLV_5575
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Text.ClearThisPrint(59@s)
62@ = 2

:GYMLV_5575
return 

//-------------Mission 117---------------
// Originally: Trucking

:TRUCK
script_name 'TRUCK'
gosub @TRUCK_47
if 
  has_deatharrest_been_executed 
goto_if_false @TRUCK_38
gosub @TRUCK_16344

:TRUCK_38
gosub @TRUCK_16753
terminate_this_script 

:TRUCK_47
if 
  $best_nascar_result == 0
goto_if_false @TRUCK_67
Stat.RegisterMissionGiven

:TRUCK_67
$weapon_shop1_blip = 1
$wuzi = 1
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
39@ = 0
40@ = 0
41@ = 0
42@ = 0
47@ = 0
48@ = 0
TIMERA = 0
TIMERB = 0
105@ = 0
106@ = 0
114@ = 0
if 
  36@ == -99
goto_if_false @TRUCK_324
write_debug "SHOULD_NEVER_BE_IN_FAKE_ENTITY_CREATION"
74@ = Car.Create(514, 0.0, 0.0, 0.0)
75@ = Car.Create(584, 0.0, 0.0, 0.0)
78@ = Blip.AddForCar(74@)
77@ = Blip.AddForCar(74@)
79@ = Blip.AddForCar(75@)

:TRUCK_324
Text.LoadMissionText('TRUCK')
if 
  $Truck_view_debug >= 6
goto_if_false @TRUCK_468
$trigger_phonecall_failed = Stat.GetInt(StatId.CitiesPassed)
if 
  2 > $trigger_phonecall_failed
goto_if_false @TRUCK_468
Text.PrintNow('TRK_H17', 5000, 1)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TRUCK_450
Char.SetCoordinates($stattreadstamina_ctr, -76.9664, -1134.639, 0.0781)
Char.SetHeading($stattreadstamina_ctr, 14.7291)
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)

:TRUCK_450
Camera.DoFade(500, Fade.In)
wait 5000
Text.DrawOddjobTitleBeforeFade(True)
return 

:TRUCK_468
if 
  $Truck_view_debug >= 4
goto_if_false @TRUCK_601
$trigger_phonecall_failed = Stat.GetInt(StatId.CitiesPassed)
if 
  1 > $trigger_phonecall_failed
goto_if_false @TRUCK_601
Text.PrintNow('TRK_H18', 5000, 1)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TRUCK_583
Char.SetCoordinates($stattreadstamina_ctr, -76.9664, -1134.639, 0.0781)
Char.SetHeading($stattreadstamina_ctr, 14.7291)
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)

:TRUCK_583
Camera.DoFade(500, Fade.In)
wait 5000
Text.DrawOddjobTitleBeforeFade(True)
return 

:TRUCK_601
gosub @TRUCK_15391
gosub @TRUCK_15393
wait 100

:TRUCK_619
wait 0
gosub @TRUCK_12403
gosub @TRUCK_12776
if or
  40@ == 1
  41@ == 1
goto_if_false @TRUCK_669
goto @TRUCK_896

:TRUCK_669
gosub @TRUCK_15288
gosub @TRUCK_15322
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @TRUCK_713
39@ = 1
goto @TRUCK_896

:TRUCK_713
if 
  36@ == 0
goto_if_false @TRUCK_771
write_debug "STAGE_SHOULD_NEVER_BE_0_IN_MAIN_LOOP"

:TRUCK_771
if 
  36@ == 1
goto_if_false @TRUCK_796
gosub @TRUCK_1097

:TRUCK_796
if 
  36@ == 2
goto_if_false @TRUCK_821
gosub @TRUCK_1312

:TRUCK_821
if 
  36@ == 3
goto_if_false @TRUCK_846
38@ = 1

:TRUCK_846
if 
  36@ == 50
goto_if_false @TRUCK_871
gosub @TRUCK_2470

:TRUCK_871
if 
  36@ == 51
goto_if_false @TRUCK_896
40@ = 1

:TRUCK_896
if 
  40@ == 0
goto_if_false @TRUCK_1049
if 
  39@ == 0
goto_if_false @TRUCK_1033
if 
  38@ == 0
goto_if_false @TRUCK_964
goto @TRUCK_619
goto @TRUCK_1026

:TRUCK_964
gosub @TRUCK_16746
if 
  114@ == 1
goto_if_false @TRUCK_1024
38@ = 0
36@ = 50
37@ = 0
114@ = 0
goto @TRUCK_619

:TRUCK_1024
return 

:TRUCK_1026
goto @TRUCK_1042

:TRUCK_1033
gosub @TRUCK_16344
return 

:TRUCK_1042
goto @TRUCK_1051

:TRUCK_1049
return 

:TRUCK_1051
write_debug "SHOULD_NEVER_BE_HERE_IN_END_OF_MAIN_LOOP"
return 

:TRUCK_1097
if or
  Car.IsDead(75@)
  Car.IsDead(74@)
goto_if_false @TRUCK_1134
39@ = 1
89@ = 3
return 

:TRUCK_1134
if 
  37@ == 0
goto_if_false @TRUCK_1236
Hud.DisplayNthCounterWithString($8164, CounterDisplay.Number, 1, 'TRK_CSH')
set_var_int_to_lvar_int $8164 = 91@
set_lvar_int_to_lvar_int 83@ = 91@
gosub @TRUCK_3418
gosub @TRUCK_3636
gosub @TRUCK_5170
77@ = Blip.AddForCar(74@)
Blip.SetAsFriendly(77@, True)
113@ = 0
37@ += 1

:TRUCK_1236
if 
  37@ == 1
goto_if_false @TRUCK_1285
if 
  Char.IsInCar($stattreadstamina_ctr, 74@)
goto_if_false @TRUCK_1285
Blip.Remove(77@)
37@ = 99

:TRUCK_1285
if 
  37@ == 99
goto_if_false @TRUCK_1310
gosub @TRUCK_15361

:TRUCK_1310
return 

:TRUCK_1312
if or
  Car.IsDead(74@)
  Car.IsDead(75@)
goto_if_false @TRUCK_1349
39@ = 1
89@ = 3
return 

:TRUCK_1349
if 
  113@ == 0
goto_if_false @TRUCK_1394
gosub @TRUCK_5187
if 
  39@ == 1
goto_if_false @TRUCK_1394
return 

:TRUCK_1394
if 
  37@ == 0
goto_if_false @TRUCK_1679
76@ = Blip.AddForCoord(102@, 103@, 104@)
Blip.ChangeScale(76@, 4)
106@ = 0
gosub @TRUCK_5875
switch_start 88@ {numCases} 6 {hasDefaultCase} 1 {defaultLabel} @TRUCK_1648 {caseNum1} 1 {caseLabel1} @TRUCK_1510 {caseNum2} 2 {caseLabel2} @TRUCK_1533 {caseNum3} 3 {caseLabel3} @TRUCK_1556 {caseNum4} 4 {caseLabel4} @TRUCK_1579 {caseNum5} 5 {caseLabel5} @TRUCK_1602 {caseNum6} 6 {caseLabel6} @TRUCK_1625 {caseNum7} -1 {caseLabel7} @TRUCK_1672

:TRUCK_1510
Text.PrintNow('TRK_H6', 15000, 1)
goto @TRUCK_1672

:TRUCK_1533
Text.PrintNow('TRK_H7', 15000, 1)
goto @TRUCK_1672

:TRUCK_1556
Text.PrintNow('TRK_H12', 15000, 1)
goto @TRUCK_1672

:TRUCK_1579
Text.PrintNow('TRK_H9', 15000, 1)
goto @TRUCK_1672

:TRUCK_1602
Text.PrintNow('TRK_H11', 15000, 1)
goto @TRUCK_1672

:TRUCK_1625
Text.PrintNow('TRK_H10', 15000, 1)
goto @TRUCK_1672

:TRUCK_1648
write_debug "UNKNOWN_MISSION_TYPE"

:TRUCK_1672
37@ += 1

:TRUCK_1679
if 
  37@ == 1
goto_if_false @TRUCK_1922
set_lvar_float_to_lvar_float 63@ = 102@
63@ -= 4.0
set_lvar_float_to_lvar_float 64@ = 103@
64@ -= 4.0
set_lvar_float_to_lvar_float 65@ = 104@
65@ -= 4.0
set_lvar_float_to_lvar_float 66@ = 102@
66@ += 4.0
set_lvar_float_to_lvar_float 67@ = 103@
67@ += 4.0
set_lvar_float_to_lvar_float 68@ = 104@
68@ += 4.0
if or
  Car.IsInArea3D(75@, 63@, 64@, 65@, 66@, 67@, 68@, True)
  Car.IsInArea3D(74@, 63@, 64@, 65@, 66@, 67@, 68@, False)
goto_if_false @TRUCK_1922
if and
  Char.IsInCar($stattreadstamina_ctr, 74@)
  Trailer.IsAttachedToCab(75@, 74@)
goto_if_false @TRUCK_1922
Player.SetControl($statbike_temp, False)
113@ = 1
81@ += 15000
37@ += 1

:TRUCK_1922
if 
  37@ == 2
goto_if_false @TRUCK_1990
if and
  Car.IsStopped(75@)
  Car.IsStopped(74@)
goto_if_false @TRUCK_1990
Car.FreezePosition(74@, True)
Task.LeaveCar($stattreadstamina_ctr, 74@)
gosub @TRUCK_16540
37@ += 1

:TRUCK_1990
if 
  37@ == 3
goto_if_false @TRUCK_2053
if 
  not Char.IsInCar($stattreadstamina_ctr, 74@)
goto_if_false @TRUCK_2053
Car.CloseAllDoors(74@)
Car.LockDoors(74@, CarLock.Locked)
Player.SetControl($statbike_temp, True)
37@ = 99

:TRUCK_2053
gosub @TRUCK_7116
gosub @TRUCK_7271
gosub @TRUCK_7500
if 
  106@ == 1
goto_if_false @TRUCK_2099
gosub @TRUCK_7694

:TRUCK_2099
if 
  106@ == 0
goto_if_false @TRUCK_2284
59@ = -76.1692
60@ = -1128.963
61@ = 0.0781
if and
  Car.Locate3D(75@, 59@, 60@, 61@, 40.0, 40.0, 40.0, False)
  not Car.Locate3D(75@, 59@, 60@, 61@, 20.0, 20.0, 20.0, False)
goto_if_false @TRUCK_2284
World.SetCarDensityMultiplier(1.0)
if 
  88@ == 4
goto_if_false @TRUCK_2252
//Player.AlterWantedLevelNoDrop($statbike_temp, 3)

:TRUCK_2252
if 
  88@ == 6
goto_if_false @TRUCK_2277
//Player.AlterWantedLevelNoDrop($statbike_temp, 4)

:TRUCK_2277
106@ = 1

:TRUCK_2284
if 
  105@ == 0
goto_if_false @TRUCK_2384
if 
  110@ == 1
goto_if_false @TRUCK_2343
Text.PrintNow('TRK_H14', 6000, 1)
110@ = 0

:TRUCK_2343
if 
  111@ == 1
goto_if_false @TRUCK_2384
Text.PrintNow('TRK_H15', 6000, 1)
111@ = 0

:TRUCK_2384
if 
  105@ == 0
goto_if_false @TRUCK_2443
if 
  112@ == 1
goto_if_false @TRUCK_2443
Text.PrintNow('TRK_H16', 7000, 1)
112@ = 0

:TRUCK_2443
if 
  37@ == 99
goto_if_false @TRUCK_2468
gosub @TRUCK_15361

:TRUCK_2468
return 

:TRUCK_2470
if 
  37@ == 0
goto_if_false @TRUCK_2545
Player.SetControl($statbike_temp, False)
set_lvar_int_to_lvar_int 82@ = 47@
82@ += 5000
59@, 60@, 61@ = Char.GetCoordinates($stattreadstamina_ctr)
62@ = Char.GetHeading($stattreadstamina_ctr)
Hud.ClearCounter($8164)
37@ += 1

:TRUCK_2545
if 
  37@ == 1
goto_if_false @TRUCK_2612
if 
  is_int_lvar_greater_than_int_lvar 47@ > 82@
goto_if_false @TRUCK_2612
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 82@ = 47@
82@ += 500
37@ += 1

:TRUCK_2612
if 
  37@ == 2
goto_if_false @TRUCK_2861
if and
  is_int_lvar_greater_than_int_lvar 47@ > 82@
  not Camera.GetFadingStatus
goto_if_false @TRUCK_2861
$showroom_revenue = Pickup.CreateProtection(-82.2693, -1135.526, 0.5847, $showroom_cash_pickup, $showroom_cash_pickup)
Hud.SwitchWidescreen(True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TRUCK_2724
Char.WarpFromCarToCoord($stattreadstamina_ctr, -47.0873, -1122.146, 0.4453)
goto @TRUCK_2744

:TRUCK_2724
Char.SetCoordinates($stattreadstamina_ctr, -47.0873, -1122.146, 0.4453)

:TRUCK_2744
Car.MarkAsNoLongerNeeded(74@)
Car.MarkAsNoLongerNeeded(75@)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetAllCarsCanBeDamaged(False)
Streaming.LoadSceneInDirection(-96.3779, -1125.262, 0.093, 261.7115)
Camera.SetFixedPosition(-109.2539, -1122.353, 15.1451, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-108.3806, -1122.439, 14.6655, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 82@ = 47@
82@ += 2000
37@ += 1

:TRUCK_2861
if 
  37@ == 3
goto_if_false @TRUCK_2944
if 
  is_int_lvar_greater_than_int_lvar 47@ > 82@
goto_if_false @TRUCK_2944
Camera.DoFade(500, Fade.In)
Text.PrintBig('ASS_ACQ', 5000, TextStyle.WhiteMiddleSmaller)
set_lvar_int_to_lvar_int 82@ = 47@
82@ += 5000
37@ += 1

:TRUCK_2944
if 
  37@ == 4
goto_if_false @TRUCK_3074
if 
  is_int_lvar_greater_than_int_lvar 47@ > 82@
goto_if_false @TRUCK_3074
Camera.SetFixedPosition(-83.7387, -1133.793, 0.9871, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-82.9525, -1134.41, 0.9592, SwitchType.JumpCut)
Text.PrintWithNumberNow('ASS_LUV', $showroom_cash_pickup, 6000, 1)
set_lvar_int_to_lvar_int 82@ = 47@
82@ += 6000
37@ += 1

:TRUCK_3074
if 
  37@ == 5
goto_if_false @TRUCK_3141
if 
  is_int_lvar_greater_than_int_lvar 47@ > 82@
goto_if_false @TRUCK_3141
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 82@ = 47@
82@ += 500
37@ += 1

:TRUCK_3141
if 
  37@ == 6
goto_if_false @TRUCK_3244
if and
  is_int_lvar_greater_than_int_lvar 47@ > 82@
  not Camera.GetFadingStatus
goto_if_false @TRUCK_3244
Char.SetCoordinates($stattreadstamina_ctr, 59@, 60@, 61@)
Char.SetHeading($stattreadstamina_ctr, 62@)
Streaming.LoadScene(59@, 60@, 61@)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
set_lvar_int_to_lvar_int 82@ = 47@
82@ += 2000
37@ += 1

:TRUCK_3244
if 
  37@ == 7
goto_if_false @TRUCK_3327
if 
  is_int_lvar_greater_than_int_lvar 47@ > 82@
goto_if_false @TRUCK_3327
Text.PrintNow('TRK_P2', 10000, 1)
Camera.DoFade(500, Fade.In)
set_lvar_int_to_lvar_int 82@ = 47@
82@ += 500
37@ += 1

:TRUCK_3327
if 
  37@ == 8
goto_if_false @TRUCK_3391
if and
  is_int_lvar_greater_than_int_lvar 47@ > 82@
  not Camera.GetFadingStatus
goto_if_false @TRUCK_3391
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetAllCarsCanBeDamaged(True)
Player.SetControl($statbike_temp, True)
37@ = 99

:TRUCK_3391
if 
  37@ == 99
goto_if_false @TRUCK_3416
gosub @TRUCK_15361

:TRUCK_3416
return 

:TRUCK_3418
switch_start 88@ {numCases} 6 {hasDefaultCase} 1 {defaultLabel} @TRUCK_3607 {caseNum1} 1 {caseLabel1} @TRUCK_3481 {caseNum2} 2 {caseLabel2} @TRUCK_3502 {caseNum3} 3 {caseLabel3} @TRUCK_3523 {caseNum4} 4 {caseLabel4} @TRUCK_3544 {caseNum5} 5 {caseLabel5} @TRUCK_3565 {caseNum6} 6 {caseLabel6} @TRUCK_3586 {caseNum7} -1 {caseLabel7} @TRUCK_3634

:TRUCK_3481
set_lvar_text_label 98@s = 'TRK_MND'
goto @TRUCK_3634

:TRUCK_3502
set_lvar_text_label 98@s = 'TRK_MNT'
goto @TRUCK_3634

:TRUCK_3523
set_lvar_text_label 98@s = 'TRK_MFD'
goto @TRUCK_3634

:TRUCK_3544
set_lvar_text_label 98@s = 'TRK_MI'
goto @TRUCK_3634

:TRUCK_3565
set_lvar_text_label 98@s = 'TRK_MTD'
goto @TRUCK_3634

:TRUCK_3586
set_lvar_text_label 98@s = 'TRK_MHI'
goto @TRUCK_3634

:TRUCK_3607
write_debug "UNKNOWN_MISSION_TYPE_ID"

:TRUCK_3634
return 

:TRUCK_3636
if 
  86@ == 1
goto_if_false @TRUCK_3801
switch_start 87@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @TRUCK_3801 {caseNum1} 0 {caseLabel1} @TRUCK_3717 {caseNum2} 1 {caseLabel2} @TRUCK_3738 {caseNum3} 2 {caseLabel3} @TRUCK_3759 {caseNum4} 3 {caseLabel4} @TRUCK_3780 {caseNum5} -1 {caseLabel5} @TRUCK_3801 {caseNum6} -1 {caseLabel6} @TRUCK_3801 {caseNum7} -1 {caseLabel7} @TRUCK_3801

:TRUCK_3717
set_lvar_text_label 100@s = 'TRK_CE0'
goto @TRUCK_3801

:TRUCK_3738
set_lvar_text_label 100@s = 'TRK_CE1'
goto @TRUCK_3801

:TRUCK_3759
set_lvar_text_label 100@s = 'TRK_CE2'
goto @TRUCK_3801

:TRUCK_3780
set_lvar_text_label 100@s = 'TRK_CE3'
goto @TRUCK_3801

:TRUCK_3801
if 
  86@ == 2
goto_if_false @TRUCK_3924
switch_start 87@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @TRUCK_3924 {caseNum1} 0 {caseLabel1} @TRUCK_3882 {caseNum2} 1 {caseLabel2} @TRUCK_3903 {caseNum3} -1 {caseLabel3} @TRUCK_3924 {caseNum4} -1 {caseLabel4} @TRUCK_3924 {caseNum5} -1 {caseLabel5} @TRUCK_3924 {caseNum6} -1 {caseLabel6} @TRUCK_3924 {caseNum7} -1 {caseLabel7} @TRUCK_3924

:TRUCK_3882
set_lvar_text_label 100@s = 'TRK_CE4'
goto @TRUCK_3924

:TRUCK_3903
set_lvar_text_label 100@s = 'TRK_CE5'
goto @TRUCK_3924

:TRUCK_3924
if 
  86@ == 3
goto_if_false @TRUCK_4089
switch_start 87@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @TRUCK_4089 {caseNum1} 0 {caseLabel1} @TRUCK_4005 {caseNum2} 1 {caseLabel2} @TRUCK_4026 {caseNum3} 2 {caseLabel3} @TRUCK_4047 {caseNum4} 3 {caseLabel4} @TRUCK_4068 {caseNum5} -1 {caseLabel5} @TRUCK_4089 {caseNum6} -1 {caseLabel6} @TRUCK_4089 {caseNum7} -1 {caseLabel7} @TRUCK_4089

:TRUCK_4005
set_lvar_text_label 100@s = 'TRK_LS0'
goto @TRUCK_4089

:TRUCK_4026
set_lvar_text_label 100@s = 'TRK_LS1'
goto @TRUCK_4089

:TRUCK_4047
set_lvar_text_label 100@s = 'TRK_LS2'
goto @TRUCK_4089

:TRUCK_4068
set_lvar_text_label 100@s = 'TRK_LS3'
goto @TRUCK_4089

:TRUCK_4089
if 
  86@ == 8
goto_if_false @TRUCK_4529
switch_start 87@ {numCases} 14 {hasDefaultCase} 0 {defaultLabel} @TRUCK_4529 {caseNum1} 0 {caseLabel1} @TRUCK_4235 {caseNum2} 1 {caseLabel2} @TRUCK_4256 {caseNum3} 2 {caseLabel3} @TRUCK_4277 {caseNum4} 3 {caseLabel4} @TRUCK_4298 {caseNum5} 4 {caseLabel5} @TRUCK_4319 {caseNum6} 5 {caseLabel6} @TRUCK_4340 {caseNum7} 6 {caseLabel7} @TRUCK_4361
switch_continued 7 {caseLabel1} @TRUCK_4382 {caseNum2} 8 {caseLabel2} @TRUCK_4403 {caseNum3} 9 {caseLabel3} @TRUCK_4424 {caseNum4} 10 {caseLabel4} @TRUCK_4445 {caseNum5} 11 {caseLabel5} @TRUCK_4466 {caseNum6} 12 {caseLabel6} @TRUCK_4487 {caseNum7} 13 {caseLabel7} @TRUCK_4508 {caseNum8} -1 {caseLabel8} @TRUCK_4529 {caseNum9} -1 {caseLabel9} @TRUCK_4529

:TRUCK_4235
set_lvar_text_label 100@s = 'TRK_V0'
goto @TRUCK_4529

:TRUCK_4256
set_lvar_text_label 100@s = 'TRK_V1'
goto @TRUCK_4529

:TRUCK_4277
set_lvar_text_label 100@s = 'TRK_V2'
goto @TRUCK_4529

:TRUCK_4298
set_lvar_text_label 100@s = 'TRK_V3'
goto @TRUCK_4529

:TRUCK_4319
set_lvar_text_label 100@s = 'TRK_V4'
goto @TRUCK_4529

:TRUCK_4340
set_lvar_text_label 100@s = 'TRK_V5'
goto @TRUCK_4529

:TRUCK_4361
set_lvar_text_label 100@s = 'TRK_V6'
goto @TRUCK_4529

:TRUCK_4382
set_lvar_text_label 100@s = 'TRK_V7'
goto @TRUCK_4529

:TRUCK_4403
set_lvar_text_label 100@s = 'TRK_V8'
goto @TRUCK_4529

:TRUCK_4424
set_lvar_text_label 100@s = 'TRK_V9'
goto @TRUCK_4529

:TRUCK_4445
set_lvar_text_label 100@s = 'TRK_V10'
goto @TRUCK_4529

:TRUCK_4466
set_lvar_text_label 100@s = 'TRK_V11'
goto @TRUCK_4529

:TRUCK_4487
set_lvar_text_label 100@s = 'TRK_V12'
goto @TRUCK_4529

:TRUCK_4508
set_lvar_text_label 100@s = 'TRK_V13'
goto @TRUCK_4529

:TRUCK_4529
if 
  86@ == 7
goto_if_false @TRUCK_4715
switch_start 87@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @TRUCK_4715 {caseNum1} 0 {caseLabel1} @TRUCK_4610 {caseNum2} 1 {caseLabel2} @TRUCK_4631 {caseNum3} 2 {caseLabel3} @TRUCK_4652 {caseNum4} 3 {caseLabel4} @TRUCK_4673 {caseNum5} 4 {caseLabel5} @TRUCK_4694 {caseNum6} -1 {caseLabel6} @TRUCK_4715 {caseNum7} -1 {caseLabel7} @TRUCK_4715

:TRUCK_4610
set_lvar_text_label 100@s = 'TRK_NC0'
goto @TRUCK_4715

:TRUCK_4631
set_lvar_text_label 100@s = 'TRK_NC1'
goto @TRUCK_4715

:TRUCK_4652
set_lvar_text_label 100@s = 'TRK_NC2'
goto @TRUCK_4715

:TRUCK_4673
set_lvar_text_label 100@s = 'TRK_NC3'
goto @TRUCK_4715

:TRUCK_4694
set_lvar_text_label 100@s = 'TRK_NC4'
goto @TRUCK_4715

:TRUCK_4715
if 
  86@ == 4
goto_if_false @TRUCK_4859
switch_start 87@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @TRUCK_4859 {caseNum1} 0 {caseLabel1} @TRUCK_4796 {caseNum2} 1 {caseLabel2} @TRUCK_4817 {caseNum3} 2 {caseLabel3} @TRUCK_4838 {caseNum4} -1 {caseLabel4} @TRUCK_4859 {caseNum5} -1 {caseLabel5} @TRUCK_4859 {caseNum6} -1 {caseLabel6} @TRUCK_4859 {caseNum7} -1 {caseLabel7} @TRUCK_4859

:TRUCK_4796
set_lvar_text_label 100@s = 'TRK_CS0'
goto @TRUCK_4859

:TRUCK_4817
set_lvar_text_label 100@s = 'TRK_CS1'
goto @TRUCK_4859

:TRUCK_4838
set_lvar_text_label 100@s = 'TRK_CS2'
goto @TRUCK_4859

:TRUCK_4859
if 
  86@ == 5
goto_if_false @TRUCK_5024
switch_start 87@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @TRUCK_5024 {caseNum1} 0 {caseLabel1} @TRUCK_4940 {caseNum2} 1 {caseLabel2} @TRUCK_4961 {caseNum3} 2 {caseLabel3} @TRUCK_4982 {caseNum4} 3 {caseLabel4} @TRUCK_5003 {caseNum5} -1 {caseLabel5} @TRUCK_5024 {caseNum6} -1 {caseLabel6} @TRUCK_5024 {caseNum7} -1 {caseLabel7} @TRUCK_5024

:TRUCK_4940
set_lvar_text_label 100@s = 'TRK_SF0'
goto @TRUCK_5024

:TRUCK_4961
set_lvar_text_label 100@s = 'TRK_SF1'
goto @TRUCK_5024

:TRUCK_4982
set_lvar_text_label 100@s = 'TRK_SF2'
goto @TRUCK_5024

:TRUCK_5003
set_lvar_text_label 100@s = 'TRK_SF3'
goto @TRUCK_5024

:TRUCK_5024
if 
  86@ == 6
goto_if_false @TRUCK_5168
switch_start 87@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @TRUCK_5168 {caseNum1} 0 {caseLabel1} @TRUCK_5105 {caseNum2} 1 {caseLabel2} @TRUCK_5126 {caseNum3} 2 {caseLabel3} @TRUCK_5147 {caseNum4} -1 {caseLabel4} @TRUCK_5168 {caseNum5} -1 {caseLabel5} @TRUCK_5168 {caseNum6} -1 {caseLabel6} @TRUCK_5168 {caseNum7} -1 {caseLabel7} @TRUCK_5168

:TRUCK_5105
set_lvar_text_label 100@s = 'TRK_CN0'
goto @TRUCK_5168

:TRUCK_5126
set_lvar_text_label 100@s = 'TRK_CN1'
goto @TRUCK_5168

:TRUCK_5147
set_lvar_text_label 100@s = 'TRK_CN2'
goto @TRUCK_5168

:TRUCK_5168
return 

:TRUCK_5170
Text.ClearSmallPrints
Text.PrintStringInStringNow(98@s, 100@s, 15000, TextStyle.Middle)
return 

:TRUCK_5187
if 
  105@ == 1
goto_if_false @TRUCK_5743
if and
  Trailer.IsAttachedToCab(75@, 74@)
  Char.IsInCar($stattreadstamina_ctr, 74@)
goto_if_false @TRUCK_5281
84@ = 0
105@ = 0
Blip.Remove(78@)
Blip.Remove(79@)
76@ = Blip.AddForCoord(102@, 103@, 104@)
Blip.ChangeScale(76@, 4)
Text.ClearSmallPrints
return 

:TRUCK_5281
50@ = Car.GetHealth(74@)
if 
  250 > 50@
goto_if_false @TRUCK_5320
Text.ClearSmallPrints
Blip.Remove(78@)
Blip.Remove(79@)

:TRUCK_5320
if 
  is_int_lvar_greater_than_int_lvar 47@ > 80@
goto_if_false @TRUCK_5362
84@ -= 1
set_lvar_int_to_lvar_int 80@ = 47@
80@ += 1000

:TRUCK_5362
if 
  0 > 84@
goto_if_false @TRUCK_5474
39@ = 1
Text.ClearSmallPrints
Blip.Remove(78@)
Blip.Remove(79@)
72@ = 0
if 
  not Char.IsInCar($stattreadstamina_ctr, 74@)
goto_if_false @TRUCK_5439
72@ = 1
89@ = 4

:TRUCK_5439
if and
  not Trailer.IsAttachedToCab(75@, 74@)
  72@ == 0
goto_if_false @TRUCK_5472
89@ = 5

:TRUCK_5472
return 

:TRUCK_5474
Text.ClearPrints
Text.AddNextMessageToPreviousBriefs(False)
if 
  not Char.IsInCar($stattreadstamina_ctr, 74@)
goto_if_false @TRUCK_5621
if 
  84@ == 1
goto_if_false @TRUCK_5543
Text.PrintWithNumber('TRK_H5B', 84@, 1000, 1)
goto @TRUCK_5562

:TRUCK_5543
Text.PrintWithNumber('TRK_H5', 84@, 1000, 1)

:TRUCK_5562
if 
  Blip.DoesExist(79@)
goto_if_false @TRUCK_5583
Blip.Remove(79@)

:TRUCK_5583
if 
  not Blip.DoesExist(78@)
goto_if_false @TRUCK_5614
78@ = Blip.AddForCar(74@)
Blip.SetAsFriendly(78@, True)

:TRUCK_5614
goto @TRUCK_5736

:TRUCK_5621
if 
  84@ == 1
goto_if_false @TRUCK_5665
Text.PrintWithNumber('TRK_H4B', 84@, 1000, 1)
goto @TRUCK_5684

:TRUCK_5665
Text.PrintWithNumber('TRK_H4', 84@, 1000, 1)

:TRUCK_5684
if 
  not Blip.DoesExist(79@)
goto_if_false @TRUCK_5715
79@ = Blip.AddForCar(75@)
Blip.SetAsFriendly(79@, True)

:TRUCK_5715
if 
  Blip.DoesExist(78@)
goto_if_false @TRUCK_5736
Blip.Remove(78@)

:TRUCK_5736
goto @TRUCK_5873

:TRUCK_5743
if or
  not Trailer.IsAttachedToCab(75@, 74@)
  not Char.IsInCar($stattreadstamina_ctr, 74@)
goto_if_false @TRUCK_5873
84@ = 60
set_lvar_int_to_lvar_int 80@ = 47@
80@ += 1000
105@ = 1
Blip.Remove(76@)
Text.AddNextMessageToPreviousBriefs(False)
if 
  not Char.IsInCar($stattreadstamina_ctr, 74@)
goto_if_false @TRUCK_5854
Text.PrintWithNumberNow('TRK_H5', 84@, 1000, 1)
goto @TRUCK_5873

:TRUCK_5854
Text.PrintWithNumberNow('TRK_H4', 84@, 1000, 1)

:TRUCK_5873
return 

:TRUCK_5875
90@ = 750
if or
  88@ == 1
  88@ == 5
goto_if_false @TRUCK_5916
90@ = 500

:TRUCK_5916
if 
  88@ == 3
goto_if_false @TRUCK_5942
90@ = 250

:TRUCK_5942
set_lvar_int_to_lvar_int 50@ = 90@
50@ += 250
Car.SetHealth(75@, 50@)
Car.SetHealth(74@, 50@)
92@ = 0
gosub @TRUCK_6155
if or
  88@ == 1
  88@ == 3
goto_if_false @TRUCK_6031
Hud.DisplayNthCounterWithString($8165, CounterDisplay.Bar, 2, 'TRK_DMG')

:TRUCK_6031
if 
  88@ == 2
goto_if_false @TRUCK_6076
gosub @TRUCK_6559
//Hud.DisplayTimerWithString($8166, TimerDirection.Up, 'TRK_TIM')
Hud.FreezeTimer(True)

:TRUCK_6076
if 
  88@ == 5
goto_if_false @TRUCK_6139
gosub @TRUCK_6559
//Hud.DisplayTimerWithString($8166, TimerDirection.Up, 'TRK_TIM')
Hud.DisplayNthCounterWithString($8165, CounterDisplay.Bar, 2, 'TRK_DMG')
Hud.FreezeTimer(True)

:TRUCK_6139
110@ = 0
111@ = 0
return 

:TRUCK_6155
switch_start 92@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @TRUCK_6365 {caseNum1} 0 {caseLabel1} @TRUCK_6218 {caseNum2} 1 {caseLabel2} @TRUCK_6256 {caseNum3} 2 {caseLabel3} @TRUCK_6293 {caseNum4} 3 {caseLabel4} @TRUCK_6330 {caseNum5} 4 {caseLabel5} @TRUCK_6351 {caseNum6} -1 {caseLabel6} @TRUCK_6365 {caseNum7} -1 {caseLabel7} @TRUCK_6365

:TRUCK_6218
set_lvar_int_to_lvar_int 81@ = 93@
81@ *= 140
add_int_lvar_to_int_lvar 81@ += 47@
92@ = 1
goto @TRUCK_6365

:TRUCK_6256
set_lvar_int_to_lvar_int 81@ = 93@
81@ *= 84
add_int_lvar_to_int_lvar 81@ += 47@
92@ = 2
goto @TRUCK_6365

:TRUCK_6293
set_lvar_int_to_lvar_int 81@ = 93@
81@ *= 84
add_int_lvar_to_int_lvar 81@ += 47@
92@ = 3
goto @TRUCK_6365

:TRUCK_6330
gosub @TRUCK_6367
92@ = 4
goto @TRUCK_6365

:TRUCK_6351
92@ = 5
goto @TRUCK_6365

:TRUCK_6365
return 

:TRUCK_6367
50@ = 2
50@ *= 60
50@ += 0
50@ *= 1000
set_lvar_int_to_lvar_int 81@ = 47@
add_int_lvar_to_int_lvar 81@ += 50@
50@, 51@ = Clock.GetTimeOfDay()
51@ += 0
if 
  51@ >= 60
goto_if_false @TRUCK_6459
51@ -= 60
50@ += 1

:TRUCK_6459
50@ += 2
if 
  50@ >= 24
goto_if_false @TRUCK_6491
50@ -= 24

:TRUCK_6491
set_lvar_int_to_lvar_int 52@ = 50@
52@ *= 60
add_int_lvar_to_int_lvar 52@ += 51@
52@ *= 1000
set_var_int_to_lvar_int $8166 = 52@
//Hud.DisplayTimerWithString($8166, TimerDirection.Up, 'TRK_DLN')
Hud.FreezeTimer(True)
112@ = 1
return 

:TRUCK_6559
set_lvar_int_to_lvar_int 50@ = 93@
50@ *= 140
50@ /= 1000
set_lvar_int_to_lvar_int 51@ = 50@
51@ /= 60
set_lvar_int_to_lvar_int 52@ = 51@
52@ *= 60
sub_int_lvar_from_int_lvar 50@ -= 52@
94@, 95@ = Clock.GetTimeOfDay()
add_int_lvar_to_int_lvar 95@ += 50@
if 
  95@ >= 60
goto_if_false @TRUCK_6669
94@ += 1
95@ -= 60

:TRUCK_6669
add_int_lvar_to_int_lvar 94@ += 51@

:TRUCK_6677
if 
  94@ >= 24
goto_if_false @TRUCK_6709
94@ -= 24
goto @TRUCK_6677

:TRUCK_6709
72@ = 0
if 
  95@ > 45
goto_if_false @TRUCK_6811
50@ = 60
sub_int_lvar_from_int_lvar 50@ -= 95@
95@ = 0
94@ += 1
if 
  94@ == 24
goto_if_false @TRUCK_6788
94@ = 0

:TRUCK_6788
50@ *= 1000
add_int_lvar_to_int_lvar 81@ += 50@
72@ = 1

:TRUCK_6811
if 
  72@ == 0
goto_if_false @TRUCK_6899
if and
  95@ > 30
  45 > 95@
goto_if_false @TRUCK_6899
50@ = 45
sub_int_lvar_from_int_lvar 50@ -= 95@
95@ = 45
50@ *= 1000
add_int_lvar_to_int_lvar 81@ += 50@
72@ = 1

:TRUCK_6899
if 
  72@ == 0
goto_if_false @TRUCK_6987
if and
  95@ > 15
  30 > 95@
goto_if_false @TRUCK_6987
50@ = 30
sub_int_lvar_from_int_lvar 50@ -= 95@
95@ = 30
50@ *= 1000
add_int_lvar_to_int_lvar 81@ += 50@
72@ = 1

:TRUCK_6987
if 
  72@ == 0
goto_if_false @TRUCK_7075
if and
  95@ > 0
  15 > 95@
goto_if_false @TRUCK_7075
50@ = 15
sub_int_lvar_from_int_lvar 50@ -= 95@
95@ = 15
50@ *= 1000
add_int_lvar_to_int_lvar 81@ += 50@
72@ = 1

:TRUCK_7075
set_lvar_int_to_lvar_int 50@ = 94@
50@ *= 60
add_int_lvar_to_int_lvar 50@ += 95@
50@ *= 1000
set_var_int_to_lvar_int $8166 = 50@
return 

:TRUCK_7116
50@ = Car.GetHealth(75@)
51@ = Car.GetHealth(74@)
if 
  is_int_lvar_greater_than_int_lvar 50@ > 51@
goto_if_false @TRUCK_7159
set_lvar_int_to_lvar_int 50@ = 51@

:TRUCK_7159
if 
  50@ > 1
goto_if_false @TRUCK_7193
Car.SetHealth(74@, 50@)
Car.SetHealth(75@, 50@)

:TRUCK_7193
if 
  108@ == 0
goto_if_false @TRUCK_7213
return 

:TRUCK_7213
50@ -= 250
50@ *= 100
div_int_lvar_by_int_lvar 50@ /= 90@
if 
  0 > 50@
goto_if_false @TRUCK_7261
50@ = 0

:TRUCK_7261
set_var_int_to_lvar_int $8165 = 50@
return 

:TRUCK_7271
if 
  is_int_lvar_greater_than_int_lvar 47@ > 81@
goto_if_false @TRUCK_7498
gosub @TRUCK_6155
if 
  92@ == 5
goto_if_false @TRUCK_7345
39@ = 1
81@ = 0
83@ = 0
89@ = 2
return 

:TRUCK_7345
if 
  107@ == 1
goto_if_false @TRUCK_7498
if or
  92@ == 2
  92@ == 3
  92@ == 4
goto_if_false @TRUCK_7498
91@ /= 2
Hud.ClearCounter($8164)
Hud.DisplayNthCounterWithString($8164, CounterDisplay.Number, 1, 'TRK_CSH')
if 
  92@ == 2
goto_if_false @TRUCK_7448
Hud.ClearTimer($8166)

:TRUCK_7448
if 
  92@ == 2
goto_if_false @TRUCK_7473
110@ = 1

:TRUCK_7473
if 
  92@ == 3
goto_if_false @TRUCK_7498
111@ = 1

:TRUCK_7498
return 

:TRUCK_7500
set_lvar_int_to_lvar_int 83@ = 91@
if 
  108@ == 1
goto_if_false @TRUCK_7643
if 
  Car.IsDead(74@)
goto_if_false @TRUCK_7556
83@ = 0
goto @TRUCK_7643

:TRUCK_7556
50@ = Car.GetHealth(74@)
if 
  250 > 50@
goto_if_false @TRUCK_7597
83@ = 0
goto @TRUCK_7643

:TRUCK_7597
50@ -= 250
set_lvar_int_to_lvar_int 51@ = 50@
51@ *= 100
div_int_lvar_by_int_lvar 51@ /= 90@
mult_int_lvar_by_int_lvar 83@ *= 51@
83@ /= 100

:TRUCK_7643
if 
  109@ == 1
goto_if_false @TRUCK_7684
if 
  Car.IsDead(74@)
goto_if_false @TRUCK_7684
83@ = 0

:TRUCK_7684
set_var_int_to_lvar_int $8164 = 83@
return 

:TRUCK_7694
if 
  109@ == 0
goto_if_false @TRUCK_7714
return 

:TRUCK_7714
if 
  88@ == 4
goto_if_false @TRUCK_7759
if 
  not Player.IsWantedLevelGreater($statbike_temp, 2)
goto_if_false @TRUCK_7757
//Player.AlterWantedLevelNoDrop($statbike_temp, 3)

:TRUCK_7757
return 

:TRUCK_7759
if 
  88@ == 6
goto_if_false @TRUCK_7804
if 
  not Player.IsWantedLevelGreater($statbike_temp, 3)
goto_if_false @TRUCK_7802
//Player.AlterWantedLevelNoDrop($statbike_temp, 4)

:TRUCK_7802
return 

:TRUCK_7804
return 

:TRUCK_7806
86@ = -1
87@ = -1
88@ = 0
gosub @TRUCK_7871
gosub @TRUCK_8323
gosub @TRUCK_9841
gosub @TRUCK_8986
gosub @TRUCK_9326
gosub @TRUCK_9431
return 

:TRUCK_7871
59@ = -76.1692
60@ = -1128.963
61@ = 0.0781
62@ = 69.9957
World.ClearArea(59@, 60@, 61@, 30.0, False)
switch_start 97@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @TRUCK_8064 {caseNum1} 1 {caseLabel1} @TRUCK_7992 {caseNum2} 2 {caseLabel2} @TRUCK_8016 {caseNum3} 3 {caseLabel3} @TRUCK_8040 {caseNum4} -1 {caseLabel4} @TRUCK_8079 {caseNum5} -1 {caseLabel5} @TRUCK_8079 {caseNum6} -1 {caseLabel6} @TRUCK_8079 {caseNum7} -1 {caseLabel7} @TRUCK_8079

:TRUCK_7992
74@ = Car.Create(514, 59@, 60@, 61@)
goto @TRUCK_8079

:TRUCK_8016
74@ = Car.Create(403, 59@, 60@, 61@)
goto @TRUCK_8079

:TRUCK_8040
74@ = Car.Create(515, 59@, 60@, 61@)
goto @TRUCK_8079

:TRUCK_8064
write_debug "UNKNOWN_CAB"

:TRUCK_8079
Car.SetHeading(74@, 62@)
59@ = -60.6033
60@ = -1136.899
61@ = 0.0781
World.ClearArea(59@, 60@, 61@, 50.0, False)
switch_start 96@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @TRUCK_8294 {caseNum1} 1 {caseLabel1} @TRUCK_8198 {caseNum2} 2 {caseLabel2} @TRUCK_8222 {caseNum3} 3 {caseLabel3} @TRUCK_8246 {caseNum4} 4 {caseLabel4} @TRUCK_8270 {caseNum5} -1 {caseLabel5} @TRUCK_8313 {caseNum6} -1 {caseLabel6} @TRUCK_8313 {caseNum7} -1 {caseLabel7} @TRUCK_8313

:TRUCK_8198
75@ = Car.Create(584, 59@, 60@, 61@)
goto @TRUCK_8313

:TRUCK_8222
75@ = Car.Create(435, 59@, 60@, 61@)
goto @TRUCK_8313

:TRUCK_8246
75@ = Car.Create(450, 59@, 60@, 61@)
goto @TRUCK_8313

:TRUCK_8270
75@ = Car.Create(591, 59@, 60@, 61@)
goto @TRUCK_8313

:TRUCK_8294
write_debug "UNKNOWN_TRAILER"

:TRUCK_8313
Trailer.AttachToCab(75@, 74@)
return 

:TRUCK_8323
switch_start $Truck_view_debug {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @TRUCK_8597 {caseNum1} 0 {caseLabel1} @TRUCK_8451 {caseNum2} 1 {caseLabel2} @TRUCK_8465 {caseNum3} 2 {caseLabel3} @TRUCK_8479 {caseNum4} 3 {caseLabel4} @TRUCK_8493 {caseNum5} 4 {caseLabel5} @TRUCK_8507 {caseNum6} 5 {caseLabel6} @TRUCK_8521 {caseNum7} 6 {caseLabel7} @TRUCK_8552
switch_continued 7 {caseLabel1} @TRUCK_8583 {caseNum2} -1 {caseLabel2} @TRUCK_8628 {caseNum3} -1 {caseLabel3} @TRUCK_8628 {caseNum4} -1 {caseLabel4} @TRUCK_8628 {caseNum5} -1 {caseLabel5} @TRUCK_8628 {caseNum6} -1 {caseLabel6} @TRUCK_8628 {caseNum7} -1 {caseLabel7} @TRUCK_8628 {caseNum8} -1 {caseLabel8} @TRUCK_8628 {caseNum9} -1 {caseLabel9} @TRUCK_8628

:TRUCK_8451
86@ = 1
goto @TRUCK_8628

:TRUCK_8465
86@ = 2
goto @TRUCK_8628

:TRUCK_8479
86@ = 3
goto @TRUCK_8628

:TRUCK_8493
86@ = 4
goto @TRUCK_8628

:TRUCK_8507
86@ = 5
goto @TRUCK_8628

:TRUCK_8521
51@ = 5
51@ += 1
86@ = Math.RandomIntInRange(4, 51@)
goto @TRUCK_8628

:TRUCK_8552
51@ = 7
51@ += 1
86@ = Math.RandomIntInRange(6, 51@)
goto @TRUCK_8628

:TRUCK_8583
86@ = 8
goto @TRUCK_8628

:TRUCK_8597
51@ = 8
51@ += 1
86@ = Math.RandomIntInRange(2, 51@)
goto @TRUCK_8628

:TRUCK_8628
switch_start 86@ {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @TRUCK_8868 {caseNum1} 1 {caseLabel1} @TRUCK_8756 {caseNum2} 2 {caseLabel2} @TRUCK_8770 {caseNum3} 3 {caseLabel3} @TRUCK_8784 {caseNum4} 4 {caseLabel4} @TRUCK_8826 {caseNum5} 5 {caseLabel5} @TRUCK_8840 {caseNum6} 6 {caseLabel6} @TRUCK_8854 {caseNum7} 7 {caseLabel7} @TRUCK_8812
switch_continued 8 {caseLabel1} @TRUCK_8798 {caseNum2} -1 {caseLabel2} @TRUCK_8896 {caseNum3} -1 {caseLabel3} @TRUCK_8896 {caseNum4} -1 {caseLabel4} @TRUCK_8896 {caseNum5} -1 {caseLabel5} @TRUCK_8896 {caseNum6} -1 {caseLabel6} @TRUCK_8896 {caseNum7} -1 {caseLabel7} @TRUCK_8896 {caseNum8} -1 {caseLabel8} @TRUCK_8896 {caseNum9} -1 {caseLabel9} @TRUCK_8896

:TRUCK_8756
gosub @TRUCK_8898
goto @TRUCK_8896

:TRUCK_8770
gosub @TRUCK_8909
goto @TRUCK_8896

:TRUCK_8784
gosub @TRUCK_8931
goto @TRUCK_8896

:TRUCK_8798
gosub @TRUCK_8920
goto @TRUCK_8896

:TRUCK_8812
gosub @TRUCK_8975
goto @TRUCK_8896

:TRUCK_8826
gosub @TRUCK_8953
goto @TRUCK_8896

:TRUCK_8840
gosub @TRUCK_8942
goto @TRUCK_8896

:TRUCK_8854
gosub @TRUCK_8964
goto @TRUCK_8896

:TRUCK_8868
write_debug "UNKNOWN_DESTINATION_AREA"

:TRUCK_8896
return 

:TRUCK_8898
87@ = Math.RandomIntInRange(0, 4)
return 

:TRUCK_8909
87@ = Math.RandomIntInRange(0, 2)
return 

:TRUCK_8920
87@ = Math.RandomIntInRange(0, 14)
return 

:TRUCK_8931
87@ = Math.RandomIntInRange(0, 4)
return 

:TRUCK_8942
87@ = Math.RandomIntInRange(0, 4)
return 

:TRUCK_8953
87@ = Math.RandomIntInRange(0, 3)
return 

:TRUCK_8964
87@ = Math.RandomIntInRange(0, 3)
return 

:TRUCK_8975
87@ = Math.RandomIntInRange(0, 5)
return 

:TRUCK_8986
switch_start $Truck_view_debug {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @TRUCK_9198 {caseNum1} 0 {caseLabel1} @TRUCK_9114 {caseNum2} 1 {caseLabel2} @TRUCK_9128 {caseNum3} 2 {caseLabel3} @TRUCK_9156 {caseNum4} 3 {caseLabel4} @TRUCK_9114 {caseNum5} 4 {caseLabel5} @TRUCK_9142 {caseNum6} 5 {caseLabel6} @TRUCK_9156 {caseNum7} 6 {caseLabel7} @TRUCK_9170
switch_continued 7 {caseLabel1} @TRUCK_9184 {caseNum2} -1 {caseLabel2} @TRUCK_9221 {caseNum3} -1 {caseLabel3} @TRUCK_9221 {caseNum4} -1 {caseLabel4} @TRUCK_9221 {caseNum5} -1 {caseLabel5} @TRUCK_9221 {caseNum6} -1 {caseLabel6} @TRUCK_9221 {caseNum7} -1 {caseLabel7} @TRUCK_9221 {caseNum8} -1 {caseLabel8} @TRUCK_9221 {caseNum9} -1 {caseLabel9} @TRUCK_9221

:TRUCK_9114
88@ = 2
goto @TRUCK_9221

:TRUCK_9128
88@ = 1
goto @TRUCK_9221

:TRUCK_9142
88@ = 3
goto @TRUCK_9221

:TRUCK_9156
88@ = 4
goto @TRUCK_9221

:TRUCK_9170
88@ = 5
goto @TRUCK_9221

:TRUCK_9184
88@ = 6
goto @TRUCK_9221

:TRUCK_9198
88@ = Math.RandomIntInRange(0, 6)
88@ += 1
goto @TRUCK_9221

:TRUCK_9221
if or
  88@ == 1
  88@ == 3
  88@ == 5
goto_if_false @TRUCK_9260
108@ = 1

:TRUCK_9260
if or
  88@ == 2
  88@ == 5
goto_if_false @TRUCK_9292
107@ = 1

:TRUCK_9292
if or
  88@ == 4
  88@ == 6
goto_if_false @TRUCK_9324
109@ = 1

:TRUCK_9324
return 

:TRUCK_9326
set_lvar_float_to_lvar_float 63@ = 102@
sub_float_var_from_float_lvar 63@ -= $danceY
set_lvar_float_to_lvar_float 64@ = 103@
sub_float_var_from_float_lvar 64@ -= $danceZ
set_lvar_float_to_lvar_float 66@ = 63@
mult_float_lvar_by_float_lvar 66@ *= 63@
set_lvar_float_to_lvar_float 67@ = 64@
mult_float_lvar_by_float_lvar 67@ *= 64@
set_lvar_float_to_lvar_float 69@ = 66@
add_float_lvar_to_float_lvar 69@ += 67@
70@ = Math.Sqrt(69@)
cset_lvar_int_to_lvar_float 93@ =# 70@
49@ += 1
return 

:TRUCK_9431
switch_start 86@ {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @TRUCK_9604 {caseNum1} 1 {caseLabel1} @TRUCK_9559 {caseNum2} 2 {caseLabel2} @TRUCK_9559 {caseNum3} 3 {caseLabel3} @TRUCK_9559 {caseNum4} 4 {caseLabel4} @TRUCK_9574 {caseNum5} 5 {caseLabel5} @TRUCK_9574 {caseNum6} 6 {caseLabel6} @TRUCK_9589 {caseNum7} 7 {caseLabel7} @TRUCK_9589
switch_continued 8 {caseLabel1} @TRUCK_9589 {caseNum2} -1 {caseLabel2} @TRUCK_9643 {caseNum3} -1 {caseLabel3} @TRUCK_9643 {caseNum4} -1 {caseLabel4} @TRUCK_9643 {caseNum5} -1 {caseLabel5} @TRUCK_9643 {caseNum6} -1 {caseLabel6} @TRUCK_9643 {caseNum7} -1 {caseLabel7} @TRUCK_9643 {caseNum8} -1 {caseLabel8} @TRUCK_9643 {caseNum9} -1 {caseLabel9} @TRUCK_9643

:TRUCK_9559
91@ = 1000
goto @TRUCK_9643

:TRUCK_9574
91@ = 3000
goto @TRUCK_9643

:TRUCK_9589
91@ = 4000
goto @TRUCK_9643

:TRUCK_9604
write_debug "INITIALISE_CASH_UNKNOWN_DESTINATION"

:TRUCK_9643
switch_start 88@ {numCases} 6 {hasDefaultCase} 1 {defaultLabel} @TRUCK_9773 {caseNum1} 1 {caseLabel1} @TRUCK_9713 {caseNum2} 2 {caseLabel2} @TRUCK_9706 {caseNum3} 3 {caseLabel3} @TRUCK_9728 {caseNum4} 4 {caseLabel4} @TRUCK_9728 {caseNum5} 5 {caseLabel5} @TRUCK_9743 {caseNum6} 6 {caseLabel6} @TRUCK_9758 {caseNum7} -1 {caseLabel7} @TRUCK_9813

:TRUCK_9706
goto @TRUCK_9813

:TRUCK_9713
91@ += 500
goto @TRUCK_9813

:TRUCK_9728
91@ += 1000
goto @TRUCK_9813

:TRUCK_9743
91@ += 3000
goto @TRUCK_9813

:TRUCK_9758
91@ += 6000
goto @TRUCK_9813

:TRUCK_9773
write_debug "INITIALISE_CASH_UNKNOWN_MISSION_TYPE"

:TRUCK_9813
if 
  $Truck_view_debug == 5
goto_if_false @TRUCK_9839
91@ += 1000

:TRUCK_9839
return 

:TRUCK_9841
switch_start 86@ {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @TRUCK_10081 {caseNum1} 1 {caseLabel1} @TRUCK_9969 {caseNum2} 2 {caseLabel2} @TRUCK_9983 {caseNum3} 3 {caseLabel3} @TRUCK_9997 {caseNum4} 4 {caseLabel4} @TRUCK_10039 {caseNum5} 5 {caseLabel5} @TRUCK_10053 {caseNum6} 6 {caseLabel6} @TRUCK_10067 {caseNum7} 7 {caseLabel7} @TRUCK_10025
switch_continued 8 {caseLabel1} @TRUCK_10011 {caseNum2} -1 {caseLabel2} @TRUCK_10109 {caseNum3} -1 {caseLabel3} @TRUCK_10109 {caseNum4} -1 {caseLabel4} @TRUCK_10109 {caseNum5} -1 {caseLabel5} @TRUCK_10109 {caseNum6} -1 {caseLabel6} @TRUCK_10109 {caseNum7} -1 {caseLabel7} @TRUCK_10109 {caseNum8} -1 {caseLabel8} @TRUCK_10109 {caseNum9} -1 {caseLabel9} @TRUCK_10109

:TRUCK_9969
gosub @TRUCK_10111
goto @TRUCK_10109

:TRUCK_9983
gosub @TRUCK_10360
goto @TRUCK_10109

:TRUCK_9997
gosub @TRUCK_11214
goto @TRUCK_10109

:TRUCK_10011
gosub @TRUCK_10534
goto @TRUCK_10109

:TRUCK_10025
gosub @TRUCK_11875
goto @TRUCK_10109

:TRUCK_10039
gosub @TRUCK_11457
goto @TRUCK_10109

:TRUCK_10053
gosub @TRUCK_12159
goto @TRUCK_10109

:TRUCK_10067
gosub @TRUCK_11666
goto @TRUCK_10109

:TRUCK_10081
write_debug "UNKNOWN_DESTINATION_AREA"

:TRUCK_10109
return 

:TRUCK_10111
switch_start 87@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @TRUCK_10322 {caseNum1} 0 {caseLabel1} @TRUCK_10174 {caseNum2} 1 {caseLabel2} @TRUCK_10211 {caseNum3} 2 {caseLabel3} @TRUCK_10248 {caseNum4} 3 {caseLabel4} @TRUCK_10285 {caseNum5} -1 {caseLabel5} @TRUCK_10358 {caseNum6} -1 {caseLabel6} @TRUCK_10358 {caseNum7} -1 {caseLabel7} @TRUCK_10358

:TRUCK_10174
102@ = -187.4041
103@ = -277.0196
104@ = 0.4219
goto @TRUCK_10358

:TRUCK_10211
102@ = 58.0364
103@ = -256.7285
104@ = 0.5781
goto @TRUCK_10358

:TRUCK_10248
102@ = 95.8675
103@ = -154.3627
104@ = 1.5751
goto @TRUCK_10358

:TRUCK_10285
102@ = 809.7556
103@ = -598.0007
104@ = 15.1875
goto @TRUCK_10358

:TRUCK_10322
write_debug "UNKNOWN_COUNTRYEASTNEAR_LOCATION"

:TRUCK_10358
return 

:TRUCK_10360
switch_start 87@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @TRUCK_10497 {caseNum1} 0 {caseLabel1} @TRUCK_10423 {caseNum2} 1 {caseLabel2} @TRUCK_10460 {caseNum3} -1 {caseLabel3} @TRUCK_10532 {caseNum4} -1 {caseLabel4} @TRUCK_10532 {caseNum5} -1 {caseLabel5} @TRUCK_10532 {caseNum6} -1 {caseLabel6} @TRUCK_10532 {caseNum7} -1 {caseLabel7} @TRUCK_10532

:TRUCK_10423
102@ = 1403.833
103@ = 399.4294
104@ = 18.75
goto @TRUCK_10532

:TRUCK_10460
102@ = 1338.289
103@ = 348.9004
104@ = 18.4062
goto @TRUCK_10532

:TRUCK_10497
write_debug "UNKNOWN_COUNTRYEASTFAR_LOCATION"

:TRUCK_10532
return 

:TRUCK_10534
switch_start 87@ {numCases} 14 {hasDefaultCase} 1 {defaultLabel} @TRUCK_11180 {caseNum1} 0 {caseLabel1} @TRUCK_10662 {caseNum2} 1 {caseLabel2} @TRUCK_10699 {caseNum3} 2 {caseLabel3} @TRUCK_10736 {caseNum4} 3 {caseLabel4} @TRUCK_10773 {caseNum5} 4 {caseLabel5} @TRUCK_10810 {caseNum6} 5 {caseLabel6} @TRUCK_10847 {caseNum7} 6 {caseLabel7} @TRUCK_10884
switch_continued 7 {caseLabel1} @TRUCK_10921 {caseNum2} 8 {caseLabel2} @TRUCK_10958 {caseNum3} 9 {caseLabel3} @TRUCK_10995 {caseNum4} 10 {caseLabel4} @TRUCK_11032 {caseNum5} 11 {caseLabel5} @TRUCK_11069 {caseNum6} 12 {caseLabel6} @TRUCK_11106 {caseNum7} 13 {caseLabel7} @TRUCK_11143 {caseNum8} -1 {caseLabel8} @TRUCK_11212 {caseNum9} -1 {caseLabel9} @TRUCK_11212

:TRUCK_10662
102@ = 1449.715
103@ = 2358.852
104@ = 9.8203
goto @TRUCK_11212

:TRUCK_10699
102@ = 1037.475
103@ = 2131.344
104@ = 9.8203
goto @TRUCK_11212

:TRUCK_10736
102@ = 987.9741
103@ = 2080.389
104@ = 9.8203
goto @TRUCK_11212

:TRUCK_10773
102@ = 1288.671
103@ = 1195.232
104@ = 9.8656
goto @TRUCK_11212

:TRUCK_10810
102@ = 2467.902
103@ = 1950.061
104@ = 9.2381
goto @TRUCK_11212

:TRUCK_10847
102@ = 2792.744
103@ = 2578.336
104@ = 9.8203
goto @TRUCK_11212

:TRUCK_10884
102@ = 2271.477
103@ = 2791.739
104@ = 9.8203
goto @TRUCK_11212

:TRUCK_10921
102@ = 2596.519
103@ = 1738.582
104@ = 9.8281
goto @TRUCK_11212

:TRUCK_10958
102@ = 2818.84
103@ = 912.5091
104@ = 9.75
goto @TRUCK_11212

:TRUCK_10995
102@ = 2706.505
103@ = 827.3236
104@ = 9.2145
goto @TRUCK_11212

:TRUCK_11032
102@ = 1627.723
103@ = 688.4043
104@ = 9.8281
goto @TRUCK_11212

:TRUCK_11069
102@ = 1504.492
103@ = 981.141
104@ = 9.7187
goto @TRUCK_11212

:TRUCK_11106
102@ = 1724.012
103@ = 1590.128
104@ = 9.2578
goto @TRUCK_11212

:TRUCK_11143
102@ = 1727.833
103@ = 2338.017
104@ = 9.813
goto @TRUCK_11212

:TRUCK_11180
write_debug "UNKNOWN_LASVENTURAS_LOCATION"

:TRUCK_11212
return 

:TRUCK_11214
switch_start 87@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @TRUCK_11425 {caseNum1} 0 {caseLabel1} @TRUCK_11277 {caseNum2} 1 {caseLabel2} @TRUCK_11314 {caseNum3} 2 {caseLabel3} @TRUCK_11351 {caseNum4} 3 {caseLabel4} @TRUCK_11388 {caseNum5} -1 {caseLabel5} @TRUCK_11455 {caseNum6} -1 {caseLabel6} @TRUCK_11455 {caseNum7} -1 {caseLabel7} @TRUCK_11455

:TRUCK_11277
102@ = 2413.683
103@ = -2113.674
104@ = 12.3881
goto @TRUCK_11455

:TRUCK_11314
102@ = 2784.973
103@ = -2455.441
104@ = 12.625
goto @TRUCK_11455

:TRUCK_11351
102@ = 2112.662
103@ = -2070.376
104@ = 12.5547
goto @TRUCK_11455

:TRUCK_11388
102@ = 1763.641
103@ = -2070.371
104@ = 12.6195
goto @TRUCK_11455

:TRUCK_11425
write_debug "UNKNOWN_LOSSANTOS_LOCATION"

:TRUCK_11455
return 

:TRUCK_11457
switch_start 87@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @TRUCK_11631 {caseNum1} 0 {caseLabel1} @TRUCK_11520 {caseNum2} 1 {caseLabel2} @TRUCK_11557 {caseNum3} 2 {caseLabel3} @TRUCK_11594 {caseNum4} -1 {caseLabel4} @TRUCK_11664 {caseNum5} -1 {caseLabel5} @TRUCK_11664 {caseNum6} -1 {caseLabel6} @TRUCK_11664 {caseNum7} -1 {caseLabel7} @TRUCK_11664

:TRUCK_11520
102@ = -1888.621
103@ = -1711.836
104@ = 20.7656
goto @TRUCK_11664

:TRUCK_11557
102@ = -2117.227
103@ = -2380.507
104@ = 29.4688
goto @TRUCK_11664

:TRUCK_11594
102@ = -1545.439
103@ = -2747.032
104@ = 47.5314
goto @TRUCK_11664

:TRUCK_11631
write_debug "UNKNOWN_COUNTRYSOUTH_LOCATION"

:TRUCK_11664
return 

:TRUCK_11666
switch_start 87@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @TRUCK_11840 {caseNum1} 0 {caseLabel1} @TRUCK_11729 {caseNum2} 1 {caseLabel2} @TRUCK_11766 {caseNum3} 2 {caseLabel3} @TRUCK_11803 {caseNum4} -1 {caseLabel4} @TRUCK_11873 {caseNum5} -1 {caseLabel5} @TRUCK_11873 {caseNum6} -1 {caseLabel6} @TRUCK_11873 {caseNum7} -1 {caseLabel7} @TRUCK_11873

:TRUCK_11729
102@ = -1407.375
103@ = 2645.957
104@ = 54.7031
goto @TRUCK_11873

:TRUCK_11766
102@ = -2245.581
103@ = 2371.693
104@ = 3.9919
goto @TRUCK_11873

:TRUCK_11803
102@ = -1360.633
103@ = 2068.094
104@ = 51.4589
goto @TRUCK_11873

:TRUCK_11840
write_debug "UNKNOWN_COUNTRYNORTH_LOCATION"

:TRUCK_11873
return 

:TRUCK_11875
switch_start 87@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @TRUCK_12123 {caseNum1} 0 {caseLabel1} @TRUCK_11938 {caseNum2} 1 {caseLabel2} @TRUCK_11975 {caseNum3} 2 {caseLabel3} @TRUCK_12012 {caseNum4} 3 {caseLabel4} @TRUCK_12049 {caseNum5} 4 {caseLabel5} @TRUCK_12086 {caseNum6} -1 {caseLabel6} @TRUCK_12157 {caseNum7} -1 {caseLabel7} @TRUCK_12157

:TRUCK_11938
102@ = 274.2705
103@ = 1382.781
104@ = 9.6016
goto @TRUCK_12157

:TRUCK_11975
102@ = 628.8638
103@ = 1714.891
104@ = 5.9922
goto @TRUCK_12157

:TRUCK_12012
102@ = 635.0028
103@ = 1213.777
104@ = 10.7188
goto @TRUCK_12157

:TRUCK_12049
102@ = -914.953
103@ = 2012.138
104@ = 59.9283
goto @TRUCK_12157

:TRUCK_12086
102@ = 385.8214
103@ = 2595.55
104@ = 15.4843
goto @TRUCK_12157

:TRUCK_12123
write_debug "UNKNOWN_COUNTRYNORTH2_LOCATION"

:TRUCK_12157
return 

:TRUCK_12159
switch_start 87@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @TRUCK_12370 {caseNum1} 0 {caseLabel1} @TRUCK_12222 {caseNum2} 1 {caseLabel2} @TRUCK_12259 {caseNum3} 2 {caseLabel3} @TRUCK_12296 {caseNum4} 3 {caseLabel4} @TRUCK_12333 {caseNum5} -1 {caseLabel5} @TRUCK_12401 {caseNum6} -1 {caseLabel6} @TRUCK_12401 {caseNum7} -1 {caseLabel7} @TRUCK_12401

:TRUCK_12222
102@ = -1556.977
103@ = -441.3493
104@ = 5.0
goto @TRUCK_12401

:TRUCK_12259
102@ = -2659.631
103@ = 1380.642
104@ = 6.1643
goto @TRUCK_12401

:TRUCK_12296
102@ = -1650.928
103@ = 437.5679
104@ = 6.1797
goto @TRUCK_12401

:TRUCK_12333
102@ = -1745.116
103@ = 37.8752
104@ = 2.5408
goto @TRUCK_12401

:TRUCK_12370
write_debug "UNKNOWN_SAN_FIERRO_LOCATION"

:TRUCK_12401
return 

:TRUCK_12403
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @TRUCK_12452
48@ += 1
if 
  48@ > 2
goto_if_false @TRUCK_12450
48@ = 0

:TRUCK_12450
clear_all_view_variables 

:TRUCK_12452
if 
  48@ == 1
goto_if_false @TRUCK_12646
set_var_int_to_lvar_int $8167 = 36@
set_var_int_to_lvar_int $8168 = 37@
set_var_int_to_lvar_int $8169 = 47@
set_var_int_to_lvar_int $8170 = 81@
sub_int_lvar_from_int_var $8170 -= 47@
set_var_int_to_lvar_int $g_nQuarryMissionsPassed = 92@
set_var_int_to_lvar_int $g_Quarry_timerKM = 93@
$g_Quarry_damageKM = 0
$g_Quarry_recordsKM = 0
view_integer_variable $8167 {_p2} "M_STAGE"
view_integer_variable $8168 {_p2} "M_GOALS"
view_integer_variable $8169 {_p2} "M_MISSION_TIMER"
view_integer_variable $8170 {_p2} "TIME_BOUNDARY_HIT"
view_integer_variable $g_nQuarryMissionsPassed {_p2} "TIME_STAGE"
view_integer_variable $g_Quarry_timerKM {_p2} "DISTANCE"

:TRUCK_12646
if 
  48@ == 2
goto_if_false @TRUCK_12664

:TRUCK_12664
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @TRUCK_12686
40@ = 1

:TRUCK_12686
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @TRUCK_12774
if 
  41@ == 0
goto_if_false @TRUCK_12749
41@ = 1
write_debug "LEVEL_PAUSED"
goto @TRUCK_12774

:TRUCK_12749
41@ = 0
write_debug "LEVEL_UNPAUSED"

:TRUCK_12774
return 

:TRUCK_12776
if or
  36@ == 50
  36@ == 51
goto_if_false @TRUCK_12803
return 

:TRUCK_12803
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @TRUCK_12834
gosub @TRUCK_16540
38@ = 1
return 

:TRUCK_12834
if 
is_ps2_keyboard_key_just_pressed 77
goto_if_false @TRUCK_12880
$Truck_view_debug += 1
write_debug_with_int "MISSIONS_PASSED" {_p2} $Truck_view_debug
return 

:TRUCK_12880
72@ = 0
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @TRUCK_12909
72@ = 1

:TRUCK_12909
73@ = 0
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @TRUCK_12938
73@ = 1

:TRUCK_12938
50@ = 0
if 
is_ps2_keyboard_key_just_pressed 74
goto_if_false @TRUCK_12967
50@ = 1

:TRUCK_12967
if and
  72@ <> 1
  73@ <> 1
  50@ <> 1
goto_if_false @TRUCK_13001
return 

:TRUCK_13001
if 
  72@ == 1
goto_if_false @TRUCK_13071
34@ += 1
if 
  34@ == 6
goto_if_false @TRUCK_13051
34@ = 0

:TRUCK_13051
35@ = 0
write_debug_with_int "AREA" {_p2} 34@
return 

:TRUCK_13071
if 
  73@ == 1
goto_if_false @TRUCK_13116
35@ += 1
write_debug_with_int "DESTINATION" {_p2} 35@
return 

:TRUCK_13116
if 
  34@ == 0
goto_if_false @TRUCK_13426
switch_start 35@ {numCases} 6 {hasDefaultCase} 1 {defaultLabel} @TRUCK_13382 {caseNum1} 0 {caseLabel1} @TRUCK_13382 {caseNum2} 1 {caseLabel2} @TRUCK_13197 {caseNum3} 2 {caseLabel3} @TRUCK_13234 {caseNum4} 3 {caseLabel4} @TRUCK_13271 {caseNum5} 4 {caseLabel5} @TRUCK_13308 {caseNum6} 5 {caseLabel6} @TRUCK_13345 {caseNum7} -1 {caseLabel7} @TRUCK_13426

:TRUCK_13197
102@ = 56.744
103@ = -268.404
104@ = 0.579
goto @TRUCK_13426

:TRUCK_13234
102@ = 100.397
103@ = -155.05
104@ = 1.583
goto @TRUCK_13426

:TRUCK_13271
102@ = 815.046
103@ = -605.128
104@ = 15.336
goto @TRUCK_13426

:TRUCK_13308
102@ = 1401.109
103@ = 398.763
104@ = 18.756
goto @TRUCK_13426

:TRUCK_13345
102@ = 1343.125
103@ = 345.667
104@ = 18.556
goto @TRUCK_13426

:TRUCK_13382
102@ = -189.23
103@ = -273.013
104@ = 0.429
35@ = 0
goto @TRUCK_13426

:TRUCK_13426
if 
  34@ == 2
goto_if_false @TRUCK_14097
switch_start 35@ {numCases} 14 {hasDefaultCase} 1 {defaultLabel} @TRUCK_14053 {caseNum1} 0 {caseLabel1} @TRUCK_14053 {caseNum2} 1 {caseLabel2} @TRUCK_13572 {caseNum3} 2 {caseLabel3} @TRUCK_13609 {caseNum4} 3 {caseLabel4} @TRUCK_13646 {caseNum5} 4 {caseLabel5} @TRUCK_13683 {caseNum6} 5 {caseLabel6} @TRUCK_13720 {caseNum7} 6 {caseLabel7} @TRUCK_13757
switch_continued 7 {caseLabel1} @TRUCK_13794 {caseNum2} 8 {caseLabel2} @TRUCK_13831 {caseNum3} 9 {caseLabel3} @TRUCK_13868 {caseNum4} 10 {caseLabel4} @TRUCK_13905 {caseNum5} 11 {caseLabel5} @TRUCK_13942 {caseNum6} 12 {caseLabel6} @TRUCK_13979 {caseNum7} 13 {caseLabel7} @TRUCK_14016 {caseNum8} -1 {caseLabel8} @TRUCK_14097 {caseNum9} -1 {caseLabel9} @TRUCK_14097

:TRUCK_13572
102@ = 1042.15
103@ = 2130.46
104@ = 101.0
goto @TRUCK_14097

:TRUCK_13609
102@ = 983.11
103@ = 2076.38
104@ = 101.0
goto @TRUCK_14097

:TRUCK_13646
102@ = 1288.671
103@ = 1195.232
104@ = 9.8656
goto @TRUCK_14097

:TRUCK_13683
102@ = 2469.57
103@ = 1949.52
104@ = 101.0
goto @TRUCK_14097

:TRUCK_13720
102@ = 2807.83
103@ = 2609.94
104@ = 101.0
goto @TRUCK_14097

:TRUCK_13757
102@ = 2248.71
103@ = 2775.12
104@ = 101.0
goto @TRUCK_14097

:TRUCK_13794
102@ = 2603.22
103@ = 1730.48
104@ = 101.0
goto @TRUCK_14097

:TRUCK_13831
102@ = 2818.84
103@ = 912.19
104@ = 101.0
goto @TRUCK_14097

:TRUCK_13868
102@ = 2710.36
103@ = 850.12
104@ = 101.0
goto @TRUCK_14097

:TRUCK_13905
102@ = 1588.9
103@ = 715.31
104@ = 101.0
goto @TRUCK_14097

:TRUCK_13942
102@ = 1446.26
103@ = 1000.51
104@ = 101.0
goto @TRUCK_14097

:TRUCK_13979
102@ = 1724.012
103@ = 1590.128
104@ = 9.2578
goto @TRUCK_14097

:TRUCK_14016
102@ = 1713.79
103@ = 2329.05
104@ = 101.0
goto @TRUCK_14097

:TRUCK_14053
102@ = 1450.8
103@ = 2360.69
104@ = 101.0
35@ = 0
goto @TRUCK_14097

:TRUCK_14097
if 
  34@ == 1
goto_if_false @TRUCK_14333
switch_start 35@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @TRUCK_14289 {caseNum1} 0 {caseLabel1} @TRUCK_14289 {caseNum2} 1 {caseLabel2} @TRUCK_14178 {caseNum3} 2 {caseLabel3} @TRUCK_14215 {caseNum4} 3 {caseLabel4} @TRUCK_14252 {caseNum5} -1 {caseLabel5} @TRUCK_14333 {caseNum6} -1 {caseLabel6} @TRUCK_14333 {caseNum7} -1 {caseLabel7} @TRUCK_14333

:TRUCK_14178
102@ = 2759.0
103@ = -2446.0
104@ = 101.0
goto @TRUCK_14333

:TRUCK_14215
102@ = 2104.0
103@ = -2089.0
104@ = 101.0
goto @TRUCK_14333

:TRUCK_14252
102@ = 1751.0
103@ = -2067.0
104@ = 101.0
goto @TRUCK_14333

:TRUCK_14289
102@ = 2412.0
103@ = -2106.0
104@ = 101.0
35@ = 0
goto @TRUCK_14333

:TRUCK_14333
if 
  34@ == 4
goto_if_false @TRUCK_14532
switch_start 35@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @TRUCK_14488 {caseNum1} 0 {caseLabel1} @TRUCK_14488 {caseNum2} 1 {caseLabel2} @TRUCK_14414 {caseNum3} 2 {caseLabel3} @TRUCK_14451 {caseNum4} -1 {caseLabel4} @TRUCK_14532 {caseNum5} -1 {caseLabel5} @TRUCK_14532 {caseNum6} -1 {caseLabel6} @TRUCK_14532 {caseNum7} -1 {caseLabel7} @TRUCK_14532

:TRUCK_14414
102@ = -2001.03
103@ = -2388.08
104@ = 101.0
goto @TRUCK_14532

:TRUCK_14451
102@ = -1560.67
103@ = -2728.39
104@ = 101.0
goto @TRUCK_14532

:TRUCK_14488
102@ = -1835.0
103@ = -1647.68
104@ = 101.0
35@ = 0
goto @TRUCK_14532

:TRUCK_14532
if 
  34@ == 6
goto_if_false @TRUCK_14731
switch_start 35@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @TRUCK_14687 {caseNum1} 0 {caseLabel1} @TRUCK_14687 {caseNum2} 1 {caseLabel2} @TRUCK_14613 {caseNum3} 2 {caseLabel3} @TRUCK_14650 {caseNum4} -1 {caseLabel4} @TRUCK_14731 {caseNum5} -1 {caseLabel5} @TRUCK_14731 {caseNum6} -1 {caseLabel6} @TRUCK_14731 {caseNum7} -1 {caseLabel7} @TRUCK_14731

:TRUCK_14613
102@ = -1945.89
103@ = 2377.9
104@ = 101.0
goto @TRUCK_14731

:TRUCK_14650
102@ = -1471.49
103@ = 1864.85
104@ = 101.0
goto @TRUCK_14731

:TRUCK_14687
102@ = -1286.73
103@ = 2695.92
104@ = 101.0
35@ = 0
goto @TRUCK_14731

:TRUCK_14731
if 
  34@ == 3
goto_if_false @TRUCK_15004
switch_start 35@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @TRUCK_14960 {caseNum1} 0 {caseLabel1} @TRUCK_14960 {caseNum2} 1 {caseLabel2} @TRUCK_14812 {caseNum3} 2 {caseLabel3} @TRUCK_14849 {caseNum4} 3 {caseLabel4} @TRUCK_14886 {caseNum5} 4 {caseLabel5} @TRUCK_14923 {caseNum6} -1 {caseLabel6} @TRUCK_15004 {caseNum7} -1 {caseLabel7} @TRUCK_15004

:TRUCK_14812
102@ = 613.75
103@ = 1692.39
104@ = 101.0
goto @TRUCK_15004

:TRUCK_14849
102@ = 620.35
103@ = 1249.328
104@ = 101.0
goto @TRUCK_15004

:TRUCK_14886
102@ = -533.24
103@ = 1995.917
104@ = 101.0
goto @TRUCK_15004

:TRUCK_14923
102@ = 325.05
103@ = 2543.29
104@ = 101.0
goto @TRUCK_15004

:TRUCK_14960
102@ = 246.56
103@ = 1435.19
104@ = 101.0
35@ = 0
goto @TRUCK_15004

:TRUCK_15004
if 
  34@ == 5
goto_if_false @TRUCK_15240
switch_start 35@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @TRUCK_15196 {caseNum1} 0 {caseLabel1} @TRUCK_15196 {caseNum2} 1 {caseLabel2} @TRUCK_15085 {caseNum3} 2 {caseLabel3} @TRUCK_15122 {caseNum4} 3 {caseLabel4} @TRUCK_15159 {caseNum5} -1 {caseLabel5} @TRUCK_15240 {caseNum6} -1 {caseLabel6} @TRUCK_15240 {caseNum7} -1 {caseLabel7} @TRUCK_15240

:TRUCK_15085
102@ = -2629.091
103@ = 1387.42
104@ = 101.0
goto @TRUCK_15240

:TRUCK_15122
102@ = -1530.776
103@ = 487.201
104@ = 101.0
goto @TRUCK_15240

:TRUCK_15159
102@ = -1745.08
103@ = 27.759
104@ = 101.0
goto @TRUCK_15240

:TRUCK_15196
102@ = -1549.859
103@ = -434.86
104@ = 101.0068
35@ = 0
goto @TRUCK_15240

:TRUCK_15240
World.ClearArea(102@, 103@, 104@, 0.5, False)
Char.SetHeading($stattreadstamina_ctr, 0.0)
Char.SetCoordinates($stattreadstamina_ctr, 102@, 103@, -101.0)
Camera.SetBehindPlayer
return 

:TRUCK_15288
43@ += 1
if 
  43@ > 9
goto_if_false @TRUCK_15320
43@ = 0

:TRUCK_15320
return 

:TRUCK_15322
44@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 46@ = 44@
sub_int_lvar_from_int_lvar 46@ -= 45@
set_lvar_int_to_lvar_int 45@ = 44@
add_int_lvar_to_int_lvar 47@ += 46@
return 

:TRUCK_15361
36@ += 1
37@ = 0
TIMERA = 0
TIMERB = 0
return 

:TRUCK_15391
return 

:TRUCK_15393
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @TRUCK_15420
wait 0
goto @TRUCK_15393

:TRUCK_15420
Player.SetControl($statbike_temp, False)
wait 1000
Camera.DoFade(1000, Fade.Out)

:TRUCK_15439
if 
  Camera.GetFadingStatus
goto_if_false @TRUCK_15463
wait 0
goto @TRUCK_15439

:TRUCK_15463
gosub @TRUCK_15630
gosub @TRUCK_15696
gosub @TRUCK_16342
World.ClearArea($danceY, $danceZ, $kill2pX, 100.0, True)
Streaming.LoadScene($danceY, $danceZ, $kill2pX)
Char.SetCoordinates($stattreadstamina_ctr, -76.9664, -1134.639, 0.0781)
Char.SetHeading($stattreadstamina_ctr, 14.7291)
Camera.SetBehindPlayer
World.SetCarDensityMultiplier(0.0)
gosub @TRUCK_7806
wait 2000
Text.DrawOddjobTitleBeforeFade(True)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:TRUCK_15583
if 
  Camera.GetFadingStatus
goto_if_false @TRUCK_15607
wait 0
goto @TRUCK_15583

:TRUCK_15607
Player.SetControl($statbike_temp, True)
89@ = 0
gosub @TRUCK_15361
return 

:TRUCK_15630
97@ = Math.RandomIntInRange(0, 3)
97@ += 1
if 
  97@ == 1
goto_if_false @TRUCK_15678
96@ = 1
goto @TRUCK_15694

:TRUCK_15678
96@ = Math.RandomIntInRange(1, 4)
96@ += 1

:TRUCK_15694
return 

:TRUCK_15696
switch_start 97@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @TRUCK_15795 {caseNum1} 1 {caseLabel1} @TRUCK_15759 {caseNum2} 2 {caseLabel2} @TRUCK_15771 {caseNum3} 3 {caseLabel3} @TRUCK_15783 {caseNum4} -1 {caseLabel4} @TRUCK_15810 {caseNum5} -1 {caseLabel5} @TRUCK_15810 {caseNum6} -1 {caseLabel6} @TRUCK_15810 {caseNum7} -1 {caseLabel7} @TRUCK_15810

:TRUCK_15759
Streaming.RequestModel(514)
goto @TRUCK_15810

:TRUCK_15771
Streaming.RequestModel(403)
goto @TRUCK_15810

:TRUCK_15783
Streaming.RequestModel(515)
goto @TRUCK_15810

:TRUCK_15795
write_debug "UNKNOWN_CAB"

:TRUCK_15810
switch_start 96@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @TRUCK_15921 {caseNum1} 1 {caseLabel1} @TRUCK_15873 {caseNum2} 2 {caseLabel2} @TRUCK_15885 {caseNum3} 3 {caseLabel3} @TRUCK_15897 {caseNum4} 4 {caseLabel4} @TRUCK_15909 {caseNum5} -1 {caseLabel5} @TRUCK_15940 {caseNum6} -1 {caseLabel6} @TRUCK_15940 {caseNum7} -1 {caseLabel7} @TRUCK_15940

:TRUCK_15873
Streaming.RequestModel(584)
goto @TRUCK_15940

:TRUCK_15885
Streaming.RequestModel(435)
goto @TRUCK_15940

:TRUCK_15897
Streaming.RequestModel(450)
goto @TRUCK_15940

:TRUCK_15909
Streaming.RequestModel(591)
goto @TRUCK_15940

:TRUCK_15921
write_debug "UNKNOWN_TRAILER"

:TRUCK_15940
Streaming.LoadAllModelsNow
switch_start 97@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @TRUCK_16107 {caseNum1} 1 {caseLabel1} @TRUCK_16005 {caseNum2} 2 {caseLabel2} @TRUCK_16039 {caseNum3} 3 {caseLabel3} @TRUCK_16073 {caseNum4} -1 {caseLabel4} @TRUCK_16122 {caseNum5} -1 {caseLabel5} @TRUCK_16122 {caseNum6} -1 {caseLabel6} @TRUCK_16122 {caseNum7} -1 {caseLabel7} @TRUCK_16122

:TRUCK_16005
if 
  not Streaming.HasModelLoaded(514)
goto_if_false @TRUCK_16032
wait 0
goto @TRUCK_16005

:TRUCK_16032
goto @TRUCK_16122

:TRUCK_16039
if 
  not Streaming.HasModelLoaded(403)
goto_if_false @TRUCK_16066
wait 0
goto @TRUCK_16039

:TRUCK_16066
goto @TRUCK_16122

:TRUCK_16073
if 
  not Streaming.HasModelLoaded(515)
goto_if_false @TRUCK_16100
wait 0
goto @TRUCK_16073

:TRUCK_16100
goto @TRUCK_16122

:TRUCK_16107
write_debug "UNKNOWN_CAB"

:TRUCK_16122
switch_start 96@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @TRUCK_16321 {caseNum1} 1 {caseLabel1} @TRUCK_16185 {caseNum2} 2 {caseLabel2} @TRUCK_16219 {caseNum3} 3 {caseLabel3} @TRUCK_16253 {caseNum4} 4 {caseLabel4} @TRUCK_16287 {caseNum5} -1 {caseLabel5} @TRUCK_16340 {caseNum6} -1 {caseLabel6} @TRUCK_16340 {caseNum7} -1 {caseLabel7} @TRUCK_16340

:TRUCK_16185
if 
  not Streaming.HasModelLoaded(584)
goto_if_false @TRUCK_16212
wait 0
goto @TRUCK_16185

:TRUCK_16212
goto @TRUCK_16340

:TRUCK_16219
if 
  not Streaming.HasModelLoaded(435)
goto_if_false @TRUCK_16246
wait 0
goto @TRUCK_16219

:TRUCK_16246
goto @TRUCK_16340

:TRUCK_16253
if 
  not Streaming.HasModelLoaded(450)
goto_if_false @TRUCK_16280
wait 0
goto @TRUCK_16253

:TRUCK_16280
goto @TRUCK_16340

:TRUCK_16287
if 
  not Streaming.HasModelLoaded(591)
goto_if_false @TRUCK_16314
wait 0
goto @TRUCK_16287

:TRUCK_16314
goto @TRUCK_16340

:TRUCK_16321
write_debug "UNKNOWN_TRAILER"

:TRUCK_16340
return 

:TRUCK_16342
return 

:TRUCK_16344
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
switch_start 89@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @TRUCK_16538 {caseNum1} 1 {caseLabel1} @TRUCK_16423 {caseNum2} 2 {caseLabel2} @TRUCK_16446 {caseNum3} 3 {caseLabel3} @TRUCK_16469 {caseNum4} 4 {caseLabel4} @TRUCK_16492 {caseNum5} 5 {caseLabel5} @TRUCK_16515 {caseNum6} -1 {caseLabel6} @TRUCK_16538 {caseNum7} -1 {caseLabel7} @TRUCK_16538

:TRUCK_16423
Text.PrintNow('TRK_F1', 5000, 1)
goto @TRUCK_16538

:TRUCK_16446
Text.PrintNow('TRK_F2', 5000, 1)
goto @TRUCK_16538

:TRUCK_16469
Text.PrintNow('TRK_F3', 5000, 1)
goto @TRUCK_16538

:TRUCK_16492
Text.PrintNow('TRK_F4', 5000, 1)
goto @TRUCK_16538

:TRUCK_16515
Text.PrintNow('TRK_F5', 5000, 1)
goto @TRUCK_16538

:TRUCK_16538
return 

:TRUCK_16540
gosub @TRUCK_7500
Text.PrintWithNumberBig('M_PASS', 83@, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 83@)
Hud.ClearCounter($8164)
$Truck_view_debug += 1
if 
  $Truck_view_debug == 1
goto_if_false @TRUCK_16627
Text.PrintNow('TRK_P1', 5000, 1)
goto @TRUCK_16729

:TRUCK_16627
if 
  $Truck_view_debug == 8
goto_if_false @TRUCK_16710
if 
  $best_nascar_result == 0
goto_if_false @TRUCK_16687
Stat.RegisterOddjobMissionPassed
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(2)
$best_nascar_result = 1
114@ = 1

:TRUCK_16687
Text.PrintBig('TRK_P4', 5000, TextStyle.MiddleSmaller)
goto @TRUCK_16729

:TRUCK_16710
Text.PrintWithNumberNow('TRK_P3', $Truck_view_debug, 5000, 1)

:TRUCK_16729
Stat.IncrementIntNoMessage(StatId.TruckMissionsPassed, 1)
Stat.IncrementIntNoMessage(StatId.TruckMoneyMade, 83@)
return 

:TRUCK_16746
Player.ClearWantedLevel($statbike_temp)
return 

:TRUCK_16753
Car.MarkAsNoLongerNeeded(74@)
Car.MarkAsNoLongerNeeded(75@)
Blip.Remove(77@)
Blip.Remove(76@)
Blip.Remove(78@)
Blip.Remove(79@)
Hud.ClearCounter($8164)
Hud.ClearCounter($8165)
Hud.ClearTimer($8166)
Streaming.MarkModelAsNoLongerNeeded(514)
Streaming.MarkModelAsNoLongerNeeded(403)
Streaming.MarkModelAsNoLongerNeeded(515)
Streaming.MarkModelAsNoLongerNeeded(584)
Streaming.MarkModelAsNoLongerNeeded(435)
Streaming.MarkModelAsNoLongerNeeded(450)
Streaming.MarkModelAsNoLongerNeeded(591)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SwitchEmergencyServices(True)
$flag_courier_mission_passed = Clock.GetGameTimer()
Text.DrawOddjobTitleBeforeFade(True)
$wuzi = 0
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 118---------------
// Originally: Quarry

:QUARRY
script_name 'QUARRY'
gosub @QUARRY_47
if 
  has_deatharrest_been_executed 
goto_if_false @QUARRY_38
gosub @QUARRY_25912

:QUARRY_38
gosub @QUARRY_27546
terminate_this_script 

:QUARRY_47
if 
  $player_has_parachute == 0
goto_if_false @QUARRY_67
Stat.RegisterMissionGiven

:QUARRY_67
$weapon_shop1_blip = 1
$wuzi = 1
82@ = 0
83@ = 0
84@ = 0
34@ = 0
35@ = 0
36@ = 0
37@ = 0
38@ = 0
39@ = 0
40@ = 0
45@ = 0
46@ = 0
47@ = 0
TIMERA = 0
TIMERB = 0
230@ = 0
231@ = 0
233@ = 0
234@ = 0
235@ = 0
236@ = 0
238@ = 0
239@ = 0
240@ = 0
241@ = 0
242@ = 0
243@ = 0
251@ = 0
252@ = 0
262@ = 0
263@ = 0
264@ = 0
265@ = 0
266@ = 0
267@ = 0
278@ = 0
279@ = 0
280@ = 0
281@ = 0
282@ = 0
283@ = 0
284@ = 0
292@ = 0
293@ = 0
294@ = 0
295@ = 0
if 
  34@ == -99
goto_if_false @QUARRY_1311
write_debug "SHOULD_NEVER_BE_IN_FAKE_ENTITY_CREATION"
86@ = Car.Create(468, 0.0, 0.0, 0.0)
87@ = Car.Create(486, 0.0, 0.0, 0.0)
88@ = Car.Create(406, 0.0, 0.0, 0.0)
89@ = Car.Create(523, 0.0, 0.0, 0.0)
91@ = Car.Create(406, 0.0, 0.0, 0.0)
85@ = Char.Create(PedType.CivMale, 18, 0.0, 0.0, 0.0)
92@ = Object.Create(#DEAD_TIED_COP, 0.0, 0.0, 0.0)
93@ = Object.Create(#CR_AMMOBOX, 0.0, 0.0, 0.0)
121@ = Object.Create(#CR_AMMOBOX, 0.0, 0.0, 0.0)
48@ = 0

:QUARRY_679
94@(48@,7i) = Object.Create(#DYN_QUARRYROCK03, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_679
48@ = 0

:QUARRY_734
101@(48@,10i) = Object.Create(#KB_BARREL, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 10
goto_if_false @QUARRY_734
48@ = 0

:QUARRY_789
111@(48@,3i) = Object.Create(#DEAD_TIED_COP, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 3
goto_if_false @QUARRY_789
48@ = 0

:QUARRY_844
114@(48@,7i) = Object.Create(#CM_BOX, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_844
90@ = Train.Create(11, 0.0, 0.0, 0.0, False)
48@ = 0

:QUARRY_923
190@(48@,7i) = Checkpoint.Create(CheckpointType.Tube, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_923
48@ = 0

:QUARRY_997
122@(48@,3i) = Object.Create(#CR_AMMOBOX, 0.0, 0.0, 0.0)
48@ += 1
  48@ >= 3
goto_if_false @QUARRY_997
197@ = Checkpoint.Create(CheckpointType.Tube, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
125@ = Blip.AddForCar(87@)
126@ = Blip.AddForCar(88@)
130@ = Blip.AddForCar(89@)
141@ = Blip.AddForCar(90@)
152@ = Blip.AddForCar(91@)
127@ = Blip.AddForCoord(0.0, 0.0, 0.0)
128@ = Blip.AddForCoord(0.0, 0.0, 0.0)
131@ = Blip.AddForCoord(0.0, 0.0, 0.0)
132@ = Blip.AddForCoord(0.0, 0.0, 0.0)
129@ = Blip.AddForObject(92@)
140@ = Blip.AddForObject(101@)
48@ = 0

:QUARRY_1230
133@(48@,7i) = Blip.AddForObject(94@(48@,7i))
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_1230
48@ = 0

:QUARRY_1274
142@(48@,10i) = Blip.AddForObject(101@(48@,10i))
48@ += 1
  48@ >= 10
goto_if_false @QUARRY_1274

:QUARRY_1311
Text.LoadMissionText('QUARRY')
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @QUARRY_1424
if 
  Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @QUARRY_1424
Text.PrintNow('VAL_C1', 5000, 1)
Char.SetCoordinates($stattreadstamina_ctr, 827.9296, 857.7913, 11.311)
Char.SetHeading($stattreadstamina_ctr, 120.0)
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
Camera.DoFade(500, Fade.In)
Text.DrawOddjobTitleBeforeFade(True)
return 

:QUARRY_1424
gosub @QUARRY_21090

:QUARRY_1431
wait 0
if and
  34@ <> 18
  34@ <> 19
goto_if_false @QUARRY_1701
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @QUARRY_1525
set_lvar_int_to_var_int 50@ = $8178($8175,7i)
50@ *= 1000
set_lvar_int_to_lvar_int 206@ = 46@
sub_int_lvar_from_int_lvar 206@ -= 50@
36@ = 1
goto @QUARRY_2224

:QUARRY_1525
if 
  $player_has_parachute == 1
goto_if_false @QUARRY_1701
if 
  292@ == 1
goto_if_false @QUARRY_1677
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @QUARRY_1670
38@ = 1
Text.PrintNow('QUAR_37', 5000, 1)
Text.PrintBig('SKIPPED', 5000, TextStyle.MiddleSmallerHigher)
$8175 += 1
if 
  $8175 == 7
goto_if_false @QUARRY_1649
$8175 = 0

:QUARRY_1649
CarGenerator.Switch($gen_car5, 101)
CarGenerator.Switch($gen_car6, 101)
goto @QUARRY_2224

:QUARRY_1670
goto @QUARRY_1701

:QUARRY_1677
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @QUARRY_1701
292@ = 1

:QUARRY_1701
gosub @QUARRY_20409
gosub @QUARRY_20898
if or
  38@ == 1
  39@ == 1
goto_if_false @QUARRY_1747
goto @QUARRY_2224

:QUARRY_1747
gosub @QUARRY_20987
gosub @QUARRY_21021
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @QUARRY_1791
37@ = 1
goto @QUARRY_2224

:QUARRY_1791
if 
  34@ == 0
goto_if_false @QUARRY_1849
write_debug "STAGE_SHOULD_NEVER_BE_0_IN_MAIN_LOOP"

:QUARRY_1849
switch_start 34@ {numCases} 19 {hasDefaultCase} 0 {defaultLabel} @QUARRY_2224 {caseNum1} 1 {caseLabel1} @QUARRY_2126 {caseNum2} 2 {caseLabel2} @QUARRY_2140 {caseNum3} 3 {caseLabel3} @QUARRY_2154 {caseNum4} 4 {caseLabel4} @QUARRY_2182 {caseNum5} 5 {caseLabel5} @QUARRY_2042 {caseNum6} 6 {caseLabel6} @QUARRY_2182 {caseNum7} 7 {caseLabel7} @QUARRY_2056
switch_continued 8 {caseLabel1} @QUARRY_2182 {caseNum2} 9 {caseLabel2} @QUARRY_2070 {caseNum3} 10 {caseLabel3} @QUARRY_2084 {caseNum4} 11 {caseLabel4} @QUARRY_2182 {caseNum5} 12 {caseLabel5} @QUARRY_2098 {caseNum6} 13 {caseLabel6} @QUARRY_2182 {caseNum7} 14 {caseLabel7} @QUARRY_2112 {caseNum8} 15 {caseLabel8} @QUARRY_2182 {caseNum9} 16 {caseLabel9} @QUARRY_2168
switch_continued 17 {caseLabel1} @QUARRY_2182 {caseNum2} 18 {caseLabel2} @QUARRY_2196 {caseNum3} 19 {caseLabel3} @QUARRY_2210 {caseNum4} -1 {caseLabel4} @QUARRY_2224 {caseNum5} -1 {caseLabel5} @QUARRY_2224 {caseNum6} -1 {caseLabel6} @QUARRY_2224 {caseNum7} -1 {caseLabel7} @QUARRY_2224 {caseNum8} -1 {caseLabel8} @QUARRY_2224 {caseNum9} -1 {caseLabel9} @QUARRY_2224

:QUARRY_2042
gosub @QUARRY_6252
goto @QUARRY_2224

:QUARRY_2056
gosub @QUARRY_8986
goto @QUARRY_2224

:QUARRY_2070
gosub @QUARRY_11447
goto @QUARRY_2224

:QUARRY_2084
gosub @QUARRY_11875
goto @QUARRY_2224

:QUARRY_2098
gosub @QUARRY_13354
goto @QUARRY_2224

:QUARRY_2112
gosub @QUARRY_15693
goto @QUARRY_2224

:QUARRY_2126
gosub @QUARRY_2425
goto @QUARRY_2224

:QUARRY_2140
gosub @QUARRY_3641
goto @QUARRY_2224

:QUARRY_2154
gosub @QUARRY_4711
goto @QUARRY_2224

:QUARRY_2168
gosub @QUARRY_17197
goto @QUARRY_2224

:QUARRY_2182
36@ = 1
goto @QUARRY_2224

:QUARRY_2196
gosub @QUARRY_18899
goto @QUARRY_2224

:QUARRY_2210
38@ = 1
goto @QUARRY_2224

:QUARRY_2224
if 
  38@ == 0
goto_if_false @QUARRY_2377
if 
  37@ == 0
goto_if_false @QUARRY_2361
if 
  36@ == 0
goto_if_false @QUARRY_2292
goto @QUARRY_1431
goto @QUARRY_2354

:QUARRY_2292
gosub @QUARRY_26382
if 
  295@ == 1
goto_if_false @QUARRY_2352
36@ = 0
34@ = 18
35@ = 0
295@ = 0
goto @QUARRY_1431

:QUARRY_2352
return 

:QUARRY_2354
goto @QUARRY_2370

:QUARRY_2361
gosub @QUARRY_25912
return 

:QUARRY_2370
goto @QUARRY_2379

:QUARRY_2377
return 

:QUARRY_2379
write_debug "SHOULD_NEVER_BE_HERE_IN_END_OF_MAIN_LOOP"
return 

:QUARRY_2425
if 
  Car.IsDead(87@)
goto_if_false @QUARRY_2457
37@ = 1
45@ = 1
return 

:QUARRY_2457
if 
  Car.IsDead(88@)
goto_if_false @QUARRY_2489
37@ = 1
45@ = 2
return 

:QUARRY_2489
if 
  not Car.IsDead(89@)
goto_if_false @QUARRY_2513
Car.SetHealth(89@, 10000)

:QUARRY_2513
if 
  35@ == 0
goto_if_false @QUARRY_2722
125@ = Blip.AddForCar(87@)
Blip.SetAsFriendly(125@, True)
230@ = 0
233@ = 0
234@ = 0
282@ = 0
212@ = 672.7664
213@ = 888.3682
214@ = -41.3985
Text.PrintNow('QUAR_00', 10000, 1)
50@ = 7
50@ -= 1
set_var_int_to_var_int $8176 = $8178(50@,7i)
$8176 *= 1000
Hud.DisplayTimerWithString($8176, TimerDirection.Down, 'QUAR_D1')
set_lvar_int_to_lvar_int 206@ = 46@
if 
  not Car.IsDead(89@)
goto_if_false @QUARRY_2701
Car.SetIsConsideredByPlayer(89@, False)

:QUARRY_2701
Car.WinchCanPickUp(88@, False)
Car.WinchCanPickUp(87@, False)
35@ += 1

:QUARRY_2722
if 
  0 >= $8176
goto_if_false @QUARRY_2756
37@ = 1
45@ = 4
return 

:QUARRY_2756
if 
  35@ == 1
goto_if_false @QUARRY_2819
if 
  230@ == 1
goto_if_false @QUARRY_2819
Blip.Remove(128@)
Blip.Remove(125@)
Blip.Remove(129@)
Blip.Remove(130@)
35@ = 99

:QUARRY_2819
if 
  230@ == 0
goto_if_false @QUARRY_3030
if 
  Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @QUARRY_2968
if 
  Blip.DoesExist(125@)
goto_if_false @QUARRY_2961
Blip.Remove(125@)
128@ = Blip.AddForCoord(212@, 213@, 214@)
Text.ClearThisPrint('QUAR_35')
if 
  234@ == 0
goto_if_false @QUARRY_2928
129@ = Blip.AddForObject(92@)

:QUARRY_2928
if 
  233@ == 0
goto_if_false @QUARRY_2961
130@ = Blip.AddForCar(89@)
Blip.ChangeColor(130@, BlipColor.Green)

:QUARRY_2961
goto @QUARRY_3030

:QUARRY_2968
if 
  not Blip.DoesExist(125@)
goto_if_false @QUARRY_3030
125@ = Blip.AddForCar(87@)
Blip.SetAsFriendly(125@, True)
Blip.Remove(128@)
Blip.Remove(129@)
Blip.Remove(130@)
Text.PrintNow('QUAR_35', 5000, 1)

:QUARRY_3030
if 
  232@ == 0
goto_if_false @QUARRY_3098
if or
  Char.IsInCar($stattreadstamina_ctr, 89@)
  Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @QUARRY_3098
232@ = 1
Text.PrintNow('QUAR_02', 7000, 1)

:QUARRY_3098
if 
  230@ == 0
goto_if_false @QUARRY_3614
if 
  233@ == 0
goto_if_false @QUARRY_3279
if 
  Car.Locate3D(89@, 212@, 213@, 214@, 7.0, 7.0, 4.0, 232@)
goto_if_false @QUARRY_3279
if 
  Car.Locate3D(89@, 212@, 213@, 214@, 4.0, 4.0, 4.0, False)
goto_if_false @QUARRY_3279
233@ = 1
Blip.Remove(130@)
Car.FreezePosition(89@, True)
Car.SetCollision(89@, False)
if 
  234@ == 0
goto_if_false @QUARRY_3279
Text.PrintNow('QUAR_03', 5000, 1)

:QUARRY_3279
if 
  234@ == 0
goto_if_false @QUARRY_3559
if 
  233@ == 1
goto_if_false @QUARRY_3433
if 
  Object.Locate3D(92@, 212@, 213@, 214@, 7.0, 7.0, 4.0, 232@)
goto_if_false @QUARRY_3426
if 
  Object.Locate3D(92@, 212@, 213@, 214@, 4.0, 4.0, 4.0, False)
goto_if_false @QUARRY_3426
234@ = 1
Blip.Remove(129@)
Object.FreezePosition(92@, True)
Object.SetCollision(92@, False)

:QUARRY_3426
goto @QUARRY_3559

:QUARRY_3433
if 
  Object.Locate3D(92@, 212@, 213@, 214@, 7.0, 7.0, 4.0, False)
goto_if_false @QUARRY_3559
if 
  Object.Locate3D(92@, 212@, 213@, 214@, 4.0, 4.0, 4.0, False)
goto_if_false @QUARRY_3559
234@ = 1
Blip.Remove(129@)
Object.FreezePosition(92@, True)
Object.SetCollision(92@, False)
Text.PrintNow('QUAR_04', 5000, 1)

:QUARRY_3559
if and
  234@ == 1
  233@ == 1
goto_if_false @QUARRY_3614
230@ = 1
Text.PrintNow('QUAR_05', 5000, 1)
282@ = 1

:QUARRY_3614
if 
  35@ == 99
goto_if_false @QUARRY_3639
gosub @QUARRY_21060

:QUARRY_3639
return 

:QUARRY_3641
if 
  Car.IsDead(87@)
goto_if_false @QUARRY_3673
37@ = 1
45@ = 1
return 

:QUARRY_3673
if 
  Car.IsDead(88@)
goto_if_false @QUARRY_3705
37@ = 1
45@ = 2
return 

:QUARRY_3705
if 
  not Car.IsDead(89@)
goto_if_false @QUARRY_3729
Car.SetHealth(89@, 10000)

:QUARRY_3729
if 
  35@ == 0
goto_if_false @QUARRY_3809
231@ = 0
233@ = 0
234@ = 0
127@ = Blip.AddForCoord(705.1055, 916.3154, -19.6407)
Blip.SetAsFriendly(127@, True)
240@ = 1
35@ += 1

:QUARRY_3809
if 
  0 >= $8176
goto_if_false @QUARRY_3843
37@ = 1
45@ = 4
return 

:QUARRY_3843
if 
  35@ == 1
goto_if_false @QUARRY_3898
if 
  231@ == 1
goto_if_false @QUARRY_3898
Blip.Remove(126@)
Car.SetHeavy(88@, True)
35@ = 99

:QUARRY_3898
if 
  not Object.IsAttached(93@)
goto_if_false @QUARRY_3952
Object.AttachToCar(93@, 88@, 0.0, -1.7, 1.5, 0.0, 0.0, 0.0)

:QUARRY_3952
if 
  231@ == 0
goto_if_false @QUARRY_4503
59@, 60@, 61@ = Object.GetCoordinates(93@)
53@, 54@, 55@ = Object.GrabEntityOnRope($lv_base_LOD)
if 
  234@ == 0
goto_if_false @QUARRY_4143
if 
  Object.Locate3D(92@, 59@, 60@, 61@, 3.2, 3.2, 1.5, False)
goto_if_false @QUARRY_4136
if 
  Object.IsAttached(92@)
goto_if_false @QUARRY_4136
if 
  not is_int_lvar_equal_to_int_lvar 55@ == 92@
goto_if_false @QUARRY_4114
234@ = 1
Object.WinchCanPickUp(92@, False)
goto @QUARRY_4136

:QUARRY_4114
Object.Detach(92@, 0.0, 0.0, 0.0, False)

:QUARRY_4136
goto @QUARRY_4238

:QUARRY_4143
if 
  not Object.IsAttached(92@)
goto_if_false @QUARRY_4238
59@, 60@, 61@ = Object.GetCoordinates(92@)
75@ = World.GetGroundZFor3DCoord(59@, 60@, 61@)
set_lvar_float_to_lvar_float 76@ = 61@
sub_float_lvar_from_float_lvar 76@ -= 75@
if 
  1.5 > 76@
goto_if_false @QUARRY_4238
234@ = 0
Object.WinchCanPickUp(92@, True)

:QUARRY_4238
if 
  233@ == 0
goto_if_false @QUARRY_4376
if 
  Car.LocateStopped3D(89@, 59@, 60@, 61@, 3.2, 3.2, 1.5, False)
goto_if_false @QUARRY_4369
if 
  not is_int_lvar_equal_to_int_lvar 53@ == 89@
goto_if_false @QUARRY_4369
Car.AttachToCar(89@, 88@, -1000.0, 0.0, 0.0, 0.0, 0.0, 0.0)
233@ = 1
Car.WinchCanPickUp(89@, False)

:QUARRY_4369
goto @QUARRY_4471

:QUARRY_4376
if 
  not Car.IsAttached(89@)
goto_if_false @QUARRY_4471
59@, 60@, 61@ = Car.GetCoordinates(89@)
75@ = World.GetGroundZFor3DCoord(59@, 60@, 61@)
set_lvar_float_to_lvar_float 76@ = 61@
sub_float_lvar_from_float_lvar 76@ -= 75@
if 
  1.5 > 76@
goto_if_false @QUARRY_4471
233@ = 0
Car.WinchCanPickUp(89@, True)

:QUARRY_4471
if and
  234@ == 1
  233@ == 1
goto_if_false @QUARRY_4503
231@ = 1

:QUARRY_4503
if 
  240@ == 1
goto_if_false @QUARRY_4612
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 705.1055, 916.3154, -19.6407, 4.0, 4.0, 1.2, False)
goto_if_false @QUARRY_4612
Blip.Remove(127@)
240@ = 0
126@ = Blip.AddForCar(88@)
Blip.SetAsFriendly(126@, True)
Text.PrintNow('QUAR_06', 7000, 1)

:QUARRY_4612
if 
  282@ == 1
goto_if_false @QUARRY_4684
if 
  not Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @QUARRY_4684
Object.FreezePosition(92@, False)
Object.SetCollision(92@, True)
Car.FreezePosition(89@, False)
Car.SetCollision(89@, True)
282@ = 0

:QUARRY_4684
if 
  35@ == 99
goto_if_false @QUARRY_4709
gosub @QUARRY_21060

:QUARRY_4709
return 

:QUARRY_4711
if 
  Car.IsDead(88@)
goto_if_false @QUARRY_4743
37@ = 1
45@ = 2
return 

:QUARRY_4743
if 
  not Car.IsDead(89@)
goto_if_false @QUARRY_4767
Car.SetHealth(89@, 10000)

:QUARRY_4767
if 
  35@ == 0
goto_if_false @QUARRY_4894
212@ = 985.1581
213@ = 688.4734
214@ = 8.7255
gosub @QUARRY_19761
236@ = 0
235@ = 0
242@ = 0
280@ = 0
281@ = 0
284@ = 0
172@ = 0
Text.PrintNow('QUAR_07', 5000, 1)
35@ += 1

:QUARRY_4894
if 
  0 >= $8176
goto_if_false @QUARRY_4928
37@ = 1
45@ = 4
return 

:QUARRY_4928
if 
  235@ == 0
goto_if_false @QUARRY_5136
if 
  not Car.IsAttached(89@)
goto_if_false @QUARRY_5041
59@, 60@, 61@ = Car.GetCoordinates(89@)
75@ = World.GetGroundZFor3DCoord(59@, 60@, 61@)
set_lvar_float_to_lvar_float 76@ = 61@
sub_float_lvar_from_float_lvar 76@ -= 75@
if 
  1.5 > 76@
goto_if_false @QUARRY_5041
37@ = 1
45@ = 3

:QUARRY_5041
if 
  not Object.IsAttached(92@)
goto_if_false @QUARRY_5136
59@, 60@, 61@ = Object.GetCoordinates(92@)
75@ = World.GetGroundZFor3DCoord(59@, 60@, 61@)
set_lvar_float_to_lvar_float 76@ = 61@
sub_float_lvar_from_float_lvar 76@ -= 75@
if 
  1.5 > 76@
goto_if_false @QUARRY_5136
37@ = 1
45@ = 3

:QUARRY_5136
if 
  35@ == 1
goto_if_false @QUARRY_5208
if 
  236@ == 1
goto_if_false @QUARRY_5208
if 
  is_int_lvar_greater_than_int_lvar 46@ > 172@
goto_if_false @QUARRY_5208
Blip.Remove(128@)
Checkpoint.Delete(197@)
35@ = 99

:QUARRY_5208
if 
  Char.IsInCar($stattreadstamina_ctr, 88@)
goto_if_false @QUARRY_5373
if 
  Blip.DoesExist(126@)
goto_if_false @QUARRY_5359
Blip.Remove(126@)
Text.ClearThisPrint('QUAR_36')
if 
  238@ == 1
goto_if_false @QUARRY_5291
gosub @QUARRY_19761
goto @QUARRY_5359

:QUARRY_5291
128@ = Blip.AddForCoord(212@, 213@, 214@)
set_lvar_float_to_lvar_float 75@ = 213@
75@ -= 5.0
197@ = Checkpoint.Create(CheckpointType.Tube, 212@, 75@, 214@, 0.0, 0.0, 0.0, 5.0)

:QUARRY_5359
284@ = 1
goto @QUARRY_5453

:QUARRY_5373
if 
  not Blip.DoesExist(126@)
goto_if_false @QUARRY_5453
126@ = Blip.AddForCar(88@)
Blip.SetAsFriendly(126@, True)
Blip.Remove(128@)
Checkpoint.Delete(197@)
Blip.Remove(131@)
if 
  284@ == 1
goto_if_false @QUARRY_5453
Text.PrintNow('QUAR_36', 5000, 1)

:QUARRY_5453
if 
  242@ == 0
goto_if_false @QUARRY_5513
if 
  Char.IsInCar($stattreadstamina_ctr, 88@)
goto_if_false @QUARRY_5513
Text.PrintNow('QUAR_08', 7000, 1)
242@ = 1

:QUARRY_5513
if 
  Blip.DoesExist(131@)
goto_if_false @QUARRY_5698
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 215@, 216@, 217@, 4.0, 4.0, 4.0, True)
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 215@, 216@, 217@, 12.0, 12.0, 12.0, False)
goto_if_false @QUARRY_5698
Blip.Remove(131@)
238@ = 0
128@ = Blip.AddForCoord(212@, 213@, 214@)
set_lvar_float_to_lvar_float 75@ = 213@
75@ -= 5.0
197@ = Checkpoint.Create(CheckpointType.Tube, 212@, 75@, 214@, 0.0, 0.0, 0.0, 5.0)
Text.PrintNow('QUAR_09', 5000, 1)

:QUARRY_5698
if 
  235@ == 0
goto_if_false @QUARRY_5790
if 
  Car.Locate3D(88@, 212@, 213@, 214@, 50.0, 30.0, 10.0, False)
goto_if_false @QUARRY_5783
235@ = 1
Text.PrintHelp('QUAR_H4')
goto @QUARRY_5790

:QUARRY_5783
235@ = 0

:QUARRY_5790
if 
  235@ == 1
goto_if_false @QUARRY_5913
75@ = Car.GetMovingComponentOffset(88@)
if 
  75@ > 0.05
goto_if_false @QUARRY_5913
if 
  Car.IsAttached(89@)
goto_if_false @QUARRY_5875
Car.Detach(89@, 0.0, 0.0, 0.0, False)

:QUARRY_5875
if 
  Object.IsAttached(92@)
goto_if_false @QUARRY_5913
Object.Detach(92@, 0.0, 0.0, 0.0, False)

:QUARRY_5913
if 
  280@ == 0
goto_if_false @QUARRY_5954
if 
  Car.IsInWater(89@)
goto_if_false @QUARRY_5954
280@ = 1

:QUARRY_5954
if 
  281@ == 0
goto_if_false @QUARRY_5995
if 
  Object.IsInWater(92@)
goto_if_false @QUARRY_5995
281@ = 1

:QUARRY_5995
if 
  236@ == 0
goto_if_false @QUARRY_6061
if and
  280@ == 1
  281@ == 1
goto_if_false @QUARRY_6061
236@ = 1
set_lvar_int_to_lvar_int 172@ = 46@
172@ += 2000

:QUARRY_6061
if 
  not Object.IsAttached(93@)
goto_if_false @QUARRY_6115
Object.AttachToCar(93@, 88@, 0.0, -1.7, 1.5, 0.0, 0.0, 0.0)

:QUARRY_6115
if 
  not Car.IsAttached(89@)
goto_if_false @QUARRY_6225
59@, 60@, 61@ = Object.GetCoordinates(93@)
if 
  Car.LocateStopped3D(89@, 59@, 60@, 61@, 3.2, 3.2, 1.5, False)
goto_if_false @QUARRY_6225
Car.AttachToCar(89@, 88@, -1000.0, 0.0, 0.0, 0.0, 0.0, 0.0)

:QUARRY_6225
if 
  35@ == 99
goto_if_false @QUARRY_6250
gosub @QUARRY_21060

:QUARRY_6250
return 

:QUARRY_6252
if 
  Car.IsDead(87@)
goto_if_false @QUARRY_6284
37@ = 1
45@ = 1
return 

:QUARRY_6284
if 
  35@ == 0
goto_if_false @QUARRY_6462
199@ = 0
48@ = 0

:QUARRY_6316
244@(48@,7i) = 0
285@(48@,7i) = 0
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_6316
125@ = Blip.AddForCar(87@)
Blip.SetAsFriendly(125@, True)
Text.PrintNow('QUAR_11', 10000, 1)
50@ = 1
50@ -= 1
set_var_int_to_var_int $8176 = $8178(50@,7i)
$8176 *= 1000
Hud.DisplayTimerWithString($8176, TimerDirection.Down, 'QUAR_D2')
set_lvar_int_to_lvar_int 206@ = 46@
243@ = 0
35@ += 1

:QUARRY_6462
if 
  0 >= $8176
goto_if_false @QUARRY_6496
37@ = 1
45@ = 5
return 

:QUARRY_6496
if 
  35@ == 1
goto_if_false @QUARRY_6539
if 
  199@ == 7
goto_if_false @QUARRY_6539
35@ = 99

:QUARRY_6539
if 
  Blip.DoesExist(125@)
goto_if_false @QUARRY_6663
if 
  Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @QUARRY_6656
Blip.Remove(125@)
Text.ClearThisPrint('QUAR_35')
48@ = 0

:QUARRY_6597
if 
  244@(48@,7i) == 0
goto_if_false @QUARRY_6635
133@(48@,7i) = Blip.AddForObject(94@(48@,7i))

:QUARRY_6635
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_6597

:QUARRY_6656
goto @QUARRY_8899

:QUARRY_6663
if 
  not Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @QUARRY_6757
48@ = 0

:QUARRY_6689
Blip.Remove(133@(48@,7i))
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_6689
125@ = Blip.AddForCar(87@)
Blip.SetAsFriendly(125@, True)
Text.PrintNow('QUAR_35', 5000, 1)
goto @QUARRY_8899

:QUARRY_6757
59@, 60@, 61@ = Char.GetCoordinates($stattreadstamina_ctr)
48@ = 0

:QUARRY_6778
80@ = 0
if 
  244@(48@,7i) == 0
goto_if_false @QUARRY_8878
switch_start 48@ {numCases} 7 {hasDefaultCase} 1 {defaultLabel} @QUARRY_8662 {caseNum1} 0 {caseLabel1} @QUARRY_6870 {caseNum2} 1 {caseLabel2} @QUARRY_7126 {caseNum3} 2 {caseLabel3} @QUARRY_7382 {caseNum4} 3 {caseLabel4} @QUARRY_7638 {caseNum5} 4 {caseLabel5} @QUARRY_7894 {caseNum6} 5 {caseLabel6} @QUARRY_8150 {caseNum7} 6 {caseLabel7} @QUARRY_8406

:QUARRY_6870
62@, 63@, 64@ = Object.GetCoordinates(94@(48@,7i))
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
if 
  30.0 > 78@
goto_if_false @QUARRY_7077
if 
  285@(48@,7i) == 0
goto_if_false @QUARRY_7011
190@(48@,7i) = Checkpoint.Create(CheckpointType.Tube, 762.119, 836.6474, -3.4382, 0.0, 0.0, 0.0, 5.0)
285@(48@,7i) = 1

:QUARRY_7011
if 
  Object.Locate3D(94@(48@,7i), 762.119, 836.6474, -5.4382, 15.0, 35.0, 5.0, False)
goto_if_false @QUARRY_7070
80@ = 1

:QUARRY_7070
goto @QUARRY_7119

:QUARRY_7077
if 
  285@(48@,7i) == 1
goto_if_false @QUARRY_7119
Checkpoint.Delete(190@(48@,7i))
285@(48@,7i) = 0

:QUARRY_7119
goto @QUARRY_8680

:QUARRY_7126
62@, 63@, 64@ = Object.GetCoordinates(94@(48@,7i))
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
if 
  50.0 > 78@
goto_if_false @QUARRY_7333
if 
  285@(48@,7i) == 0
goto_if_false @QUARRY_7267
190@(48@,7i) = Checkpoint.Create(CheckpointType.Tube, 735.8682, 933.0437, -4.3942, 0.0, 0.0, 0.0, 5.0)
285@(48@,7i) = 1

:QUARRY_7267
if 
  Object.Locate3D(94@(48@,7i), 735.8682, 933.0437, -4.3942, 20.0, 30.0, 5.0, False)
goto_if_false @QUARRY_7326
80@ = 1

:QUARRY_7326
goto @QUARRY_7375

:QUARRY_7333
if 
  285@(48@,7i) == 1
goto_if_false @QUARRY_7375
Checkpoint.Delete(190@(48@,7i))
285@(48@,7i) = 0

:QUARRY_7375
goto @QUARRY_8680

:QUARRY_7382
62@, 63@, 64@ = Object.GetCoordinates(94@(48@,7i))
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
if 
  30.0 > 78@
goto_if_false @QUARRY_7589
if 
  285@(48@,7i) == 0
goto_if_false @QUARRY_7523
190@(48@,7i) = Checkpoint.Create(CheckpointType.Tube, 518.9683, 967.7642, -25.891, 0.0, 0.0, 0.0, 5.0)
285@(48@,7i) = 1

:QUARRY_7523
if 
  Object.Locate3D(94@(48@,7i), 518.9683, 967.7642, -17.891, 45.0, 20.0, 9.0, False)
goto_if_false @QUARRY_7582
80@ = 1

:QUARRY_7582
goto @QUARRY_7631

:QUARRY_7589
if 
  285@(48@,7i) == 1
goto_if_false @QUARRY_7631
Checkpoint.Delete(190@(48@,7i))
285@(48@,7i) = 0

:QUARRY_7631
goto @QUARRY_8680

:QUARRY_7638
62@, 63@, 64@ = Object.GetCoordinates(94@(48@,7i))
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
if 
  30.0 > 78@
goto_if_false @QUARRY_7845
if 
  285@(48@,7i) == 0
goto_if_false @QUARRY_7779
190@(48@,7i) = Checkpoint.Create(CheckpointType.Tube, 671.3267, 941.1938, -29.338, 0.0, 0.0, 0.0, 5.0)
285@(48@,7i) = 1

:QUARRY_7779
if 
  Object.Locate3D(94@(48@,7i), 671.3267, 941.1938, -29.338, 25.0, 25.0, 5.0, False)
goto_if_false @QUARRY_7838
80@ = 1

:QUARRY_7838
goto @QUARRY_7887

:QUARRY_7845
if 
  285@(48@,7i) == 1
goto_if_false @QUARRY_7887
Checkpoint.Delete(190@(48@,7i))
285@(48@,7i) = 0

:QUARRY_7887
goto @QUARRY_8680

:QUARRY_7894
62@, 63@, 64@ = Object.GetCoordinates(94@(48@,7i))
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
if 
  30.0 > 78@
goto_if_false @QUARRY_8101
if 
  285@(48@,7i) == 0
goto_if_false @QUARRY_8035
190@(48@,7i) = Checkpoint.Create(CheckpointType.Tube, 523.2235, 907.1995, -43.4101, 0.0, 0.0, 0.0, 5.0)
285@(48@,7i) = 1

:QUARRY_8035
if 
  Object.Locate3D(94@(48@,7i), 523.2235, 907.1995, -40.4101, 35.0, 25.0, 5.0, False)
goto_if_false @QUARRY_8094
80@ = 1

:QUARRY_8094
goto @QUARRY_8143

:QUARRY_8101
if 
  285@(48@,7i) == 1
goto_if_false @QUARRY_8143
Checkpoint.Delete(190@(48@,7i))
285@(48@,7i) = 0

:QUARRY_8143
goto @QUARRY_8680

:QUARRY_8150
62@, 63@, 64@ = Object.GetCoordinates(94@(48@,7i))
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
if 
  30.0 > 78@
goto_if_false @QUARRY_8357
if 
  285@(48@,7i) == 0
goto_if_false @QUARRY_8291
190@(48@,7i) = Checkpoint.Create(CheckpointType.Tube, 536.8022, 838.0778, -38.2296, 0.0, 0.0, 0.0, 5.0)
285@(48@,7i) = 1

:QUARRY_8291
if 
  Object.Locate3D(94@(48@,7i), 536.8022, 838.0778, -38.2296, 25.0, 15.0, 5.0, False)
goto_if_false @QUARRY_8350
80@ = 1

:QUARRY_8350
goto @QUARRY_8399

:QUARRY_8357
if 
  285@(48@,7i) == 1
goto_if_false @QUARRY_8399
Checkpoint.Delete(190@(48@,7i))
285@(48@,7i) = 0

:QUARRY_8399
goto @QUARRY_8680

:QUARRY_8406
62@, 63@, 64@ = Object.GetCoordinates(94@(48@,7i))
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
if 
  50.0 > 78@
goto_if_false @QUARRY_8613
if 
  285@(48@,7i) == 0
goto_if_false @QUARRY_8547
190@(48@,7i) = Checkpoint.Create(CheckpointType.Tube, 645.2571, 773.7028, -28.2457, 0.0, 0.0, 0.0, 5.0)
285@(48@,7i) = 1

:QUARRY_8547
if 
  Object.Locate3D(94@(48@,7i), 645.2571, 773.7028, -26.2457, 35.0, 20.0, 7.0, False)
goto_if_false @QUARRY_8606
80@ = 1

:QUARRY_8606
goto @QUARRY_8655

:QUARRY_8613
if 
  285@(48@,7i) == 1
goto_if_false @QUARRY_8655
Checkpoint.Delete(190@(48@,7i))
285@(48@,7i) = 0

:QUARRY_8655
goto @QUARRY_8680

:QUARRY_8662
write_debug "TOO_MANY_ROCKS"

:QUARRY_8680
if 
  80@ == 1
goto_if_false @QUARRY_8878
Blip.Remove(133@(48@,7i))
Object.Delete(94@(48@,7i))
if 
  285@(48@,7i) == 1
goto_if_false @QUARRY_8758
Checkpoint.Delete(190@(48@,7i))
285@(48@,7i) = 0

:QUARRY_8758
244@(48@,7i) = 1
199@ += 1
50@ = 7
sub_int_lvar_from_int_lvar 50@ -= 199@
if 
  50@ <> 0
goto_if_false @QUARRY_8878
if 
  199@ == 1
goto_if_false @QUARRY_8856
Text.PrintWith2NumbersNow('QUAR_14', 199@, 50@, 5000, TextStyle.Middle)
goto @QUARRY_8878

:QUARRY_8856
Text.PrintWith2NumbersNow('QUAR_13', 199@, 50@, 5000, TextStyle.Middle)

:QUARRY_8878
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_6778

:QUARRY_8899
if 
  243@ == 0
goto_if_false @QUARRY_8959
if 
  Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @QUARRY_8959
Text.PrintNow('QUAR_12', 7000, 1)
243@ = 1

:QUARRY_8959
if 
  35@ == 99
goto_if_false @QUARRY_8984
gosub @QUARRY_21060

:QUARRY_8984
return 

:QUARRY_8986
if 
  Car.IsDead(87@)
goto_if_false @QUARRY_9018
37@ = 1
45@ = 1
return 

:QUARRY_9018
if 
  35@ == 0
goto_if_false @QUARRY_9242
204@ = 0
48@ = 0

:QUARRY_9050
253@(48@,4i) = 0
257@(48@,4i) = 0
178@(48@,4i) = 0
48@ += 1
  48@ >= 4
goto_if_false @QUARRY_9050
125@ = Blip.AddForCar(87@)
Blip.SetAsFriendly(125@, True)
Text.PrintNow('QUAR_15', 10000, 1)
set_var_int_to_lvar_int $8176 = 174@
Hud.DisplayTimerWithString($8176, TimerDirection.Down, 'QUAR_D3')
set_lvar_int_to_lvar_int 206@ = 46@
48@ = 0

:QUARRY_9174
add_int_lvar_to_int_lvar 174@(48@,4i) += 46@
48@ += 1
  48@ >= 4
goto_if_false @QUARRY_9174
251@ = 0
252@ = 0
261@ = 0
243@ = 0
35@ += 1

:QUARRY_9242
if 
  35@ == 1
goto_if_false @QUARRY_9408
if 
  252@ == 1
goto_if_false @QUARRY_9408
59@, 60@, 61@ = Char.GetCoordinates($stattreadstamina_ctr)
50@ = 4
50@ -= 1
62@, 63@, 64@ = Object.GetCoordinates(101@(50@,10i))
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
if 
  78@ > 20.0
goto_if_false @QUARRY_9408
Fx.AddExplosion(62@, 63@, 64@, ExplosionType.Aircraft)
Object.Delete(101@(50@,10i))
253@(50@,4i) = 1
35@ = 99

:QUARRY_9408
if 
  Blip.DoesExist(125@)
goto_if_false @QUARRY_9466
if 
  Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @QUARRY_9459
Blip.Remove(125@)
Text.ClearThisPrint('QUAR_35')

:QUARRY_9459
goto @QUARRY_9533

:QUARRY_9466
if 
  not Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @QUARRY_9533
Blip.Remove(140@)
Blip.Remove(128@)
251@ = 0
125@ = Blip.AddForCar(87@)
Blip.SetAsFriendly(125@, True)
Text.PrintNow('QUAR_35', 5000, 1)

:QUARRY_9533
if 
  252@ == 0
goto_if_false @QUARRY_10787
80@ = 0
switch_start 204@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @QUARRY_10048 {caseNum1} 0 {caseLabel1} @QUARRY_9621 {caseNum2} 1 {caseLabel2} @QUARRY_9687 {caseNum3} 2 {caseLabel3} @QUARRY_9916 {caseNum4} 3 {caseLabel4} @QUARRY_9982 {caseNum5} -1 {caseLabel5} @QUARRY_10067 {caseNum6} -1 {caseLabel6} @QUARRY_10067 {caseNum7} -1 {caseLabel7} @QUARRY_10067

:QUARRY_9621
if 
  Object.Locate3D(101@(204@,10i), 830.4274, 889.852, 12.3516, 4.0, 4.0, 1.0, True)
goto_if_false @QUARRY_9680
80@ = 1

:QUARRY_9680
goto @QUARRY_10067

:QUARRY_9687
if 
  261@ == 0
goto_if_false @QUARRY_9850
if 
  Object.Locate3D(101@(204@,10i), 678.5786, 981.4282, -13.749, 4.0, 4.0, 1.0, True)
goto_if_false @QUARRY_9764
80@ = 1

:QUARRY_9764
59@, 60@, 61@ = Object.GetCoordinates(101@(204@,10i))
if 
  -23.6787 > 61@
goto_if_false @QUARRY_9843
261@ = 1
Blip.Remove(140@)
Blip.Remove(128@)
251@ = 0
Text.PrintNow('QUAR_21', 7000, 1)

:QUARRY_9843
goto @QUARRY_9909

:QUARRY_9850
if 
  Object.Locate3D(101@(204@,10i), 660.666, 913.719, -41.4059, 4.0, 4.0, 1.0, True)
goto_if_false @QUARRY_9909
80@ = 1

:QUARRY_9909
goto @QUARRY_10067

:QUARRY_9916
if 
  Object.Locate3D(101@(204@,10i), 648.9208, 916.257, -42.2287, 4.0, 4.0, 1.0, True)
goto_if_false @QUARRY_9975
80@ = 1

:QUARRY_9975
goto @QUARRY_10067

:QUARRY_9982
if 
  Object.Locate3D(101@(204@,10i), 632.4524, 810.3196, -43.9609, 4.0, 4.0, 1.0, True)
goto_if_false @QUARRY_10041
80@ = 1

:QUARRY_10041
goto @QUARRY_10067

:QUARRY_10048
write_debug "UNKNOWN_BOMB_ID"

:QUARRY_10067
if 
  80@ == 1
goto_if_false @QUARRY_10222
Blip.Remove(140@)
Blip.Remove(128@)
251@ = 0
261@ = 0
Object.FreezePosition(101@(204@,10i), True)
Object.SetCollision(101@(204@,10i), False)
set_lvar_int_to_lvar_int 50@ = 204@
50@ += 1
if 
  50@ == 4
goto_if_false @QUARRY_10215
set_lvar_int_to_lvar_int 51@ = 46@
51@ += 15000
if 
  is_int_lvar_greater_than_int_lvar 174@(204@,4i) > 51@
goto_if_false @QUARRY_10215
set_lvar_int_to_lvar_int 174@(204@,4i) = 51@

:QUARRY_10215
204@ += 1

:QUARRY_10222
if 
  204@ == 4
goto_if_false @QUARRY_10247
252@ = 1

:QUARRY_10247
if 
  80@ == 1
goto_if_false @QUARRY_10324
Hud.ClearTimer($8176)
if 
  252@ == 0
goto_if_false @QUARRY_10324
set_var_int_to_lvar_int $8176 = 174@(204@,4i)
sub_int_lvar_from_int_var $8176 -= 46@
Hud.DisplayTimerWithString($8176, TimerDirection.Down, 'QUAR_D3')

:QUARRY_10324
if 
  80@ == 1
goto_if_false @QUARRY_10522
if 
  252@ == 1
goto_if_false @QUARRY_10383
Text.PrintNow('QUAR_20', 7000, 1)
goto @QUARRY_10522

:QUARRY_10383
switch_start 204@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @QUARRY_10522 {caseNum1} 0 {caseLabel1} @QUARRY_10446 {caseNum2} 1 {caseLabel2} @QUARRY_10453 {caseNum3} 2 {caseLabel3} @QUARRY_10476 {caseNum4} 3 {caseLabel4} @QUARRY_10499 {caseNum5} -1 {caseLabel5} @QUARRY_10522 {caseNum6} -1 {caseLabel6} @QUARRY_10522 {caseNum7} -1 {caseLabel7} @QUARRY_10522

:QUARRY_10446
goto @QUARRY_10522

:QUARRY_10453
Text.PrintNow('QUAR_17', 7000, 1)
goto @QUARRY_10522

:QUARRY_10476
Text.PrintNow('QUAR_18', 7000, 1)
goto @QUARRY_10522

:QUARRY_10499
Text.PrintNow('QUAR_34', 7000, 1)
goto @QUARRY_10522

:QUARRY_10522
if and
  251@ == 0
  252@ == 0
  not Blip.DoesExist(125@)
goto_if_false @QUARRY_10787
140@ = Blip.AddForObject(101@(204@,10i))
251@ = 1
switch_start 204@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @QUARRY_10787 {caseNum1} 0 {caseLabel1} @QUARRY_10634 {caseNum2} 1 {caseLabel2} @QUARRY_10661 {caseNum3} 2 {caseLabel3} @QUARRY_10733 {caseNum4} 3 {caseLabel4} @QUARRY_10760 {caseNum5} -1 {caseLabel5} @QUARRY_10787 {caseNum6} -1 {caseLabel6} @QUARRY_10787 {caseNum7} -1 {caseLabel7} @QUARRY_10787

:QUARRY_10634
128@ = Blip.AddForCoord(830.4274, 889.852, 12.3516)
goto @QUARRY_10787

:QUARRY_10661
if 
  261@ == 0
goto_if_false @QUARRY_10706
128@ = Blip.AddForCoord(678.5786, 981.4282, -13.749)
goto @QUARRY_10726

:QUARRY_10706
128@ = Blip.AddForCoord(660.666, 913.719, -41.4059)

:QUARRY_10726
goto @QUARRY_10787

:QUARRY_10733
128@ = Blip.AddForCoord(648.9208, 916.257, -42.2287)
goto @QUARRY_10787

:QUARRY_10760
128@ = Blip.AddForCoord(632.4524, 810.3196, -43.9609)
goto @QUARRY_10787

:QUARRY_10787
48@ = 0
set_lvar_int_to_lvar_int 50@ = 204@
if 
  252@ == 1
goto_if_false @QUARRY_10827
50@ -= 1

:QUARRY_10827
if 
  is_int_lvar_greater_or_equal_to_int_lvar 50@ >= 48@
goto_if_false @QUARRY_11360
if 
  253@(48@,4i) == 0
goto_if_false @QUARRY_11265
59@, 60@, 61@ = Object.GetCoordinates(101@(48@,10i))
62@, 63@, 64@ = Car.GetCoordinates(87@)
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
65@, 66@, 67@ = Char.GetCoordinates($stattreadstamina_ctr)
79@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 65@, 66@, 67@)
if 
  not is_int_lvar_equal_to_int_lvar 48@ == 204@
goto_if_false @QUARRY_11033
if and
  78@ > 21.0
  79@ > 21.0
goto_if_false @QUARRY_11033
set_lvar_int_to_lvar_int 174@(48@,4i) = 46@
174@(48@,4i) -= 1

:QUARRY_11033
if 
  is_int_lvar_greater_than_int_lvar 46@ > 174@(48@,4i)
goto_if_false @QUARRY_11258
Fx.AddExplosion(59@, 60@, 61@, ExplosionType.TankFire)
Object.Delete(101@(48@,10i))
253@(48@,4i) = 1
257@(48@,4i) = 0
set_lvar_int_to_lvar_int 178@(48@,4i) = 46@
178@(48@,4i) += 2000
set_lvar_float_to_lvar_float 218@(48@,4f) = 59@
set_lvar_float_to_lvar_float 222@(48@,4f) = 60@
set_lvar_float_to_lvar_float 226@(48@,4f) = 61@
if 
  20.0 > 78@
goto_if_false @QUARRY_11186
Car.Explode(87@)

:QUARRY_11186
if 
  20.0 > 79@
goto_if_false @QUARRY_11223
37@ = 1
45@ = 7
return 

:QUARRY_11223
if 
  is_int_lvar_equal_to_int_lvar 48@ == 204@
goto_if_false @QUARRY_11258
37@ = 1
45@ = 6
return 

:QUARRY_11258
goto @QUARRY_11346

:QUARRY_11265
if 
  257@(48@,4i) == 0
goto_if_false @QUARRY_11346
if 
  is_int_lvar_greater_than_int_lvar 46@ > 178@(48@,4i)
goto_if_false @QUARRY_11346
Fx.AddExplosion(218@(48@,4f), 222@(48@,4f), 226@(48@,4f), ExplosionType.Object)
257@(48@,4i) = 1

:QUARRY_11346
48@ += 1
goto @QUARRY_10827

:QUARRY_11360
if 
  243@ == 0
goto_if_false @QUARRY_11420
if 
  Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @QUARRY_11420
Text.PrintNow('QUAR_16', 7000, 1)
243@ = 1

:QUARRY_11420
if 
  35@ == 99
goto_if_false @QUARRY_11445
gosub @QUARRY_21060

:QUARRY_11445
return 

:QUARRY_11447
if 
  Car.IsDead(88@)
goto_if_false @QUARRY_11479
37@ = 1
45@ = 2
return 

:QUARRY_11479
if 
  35@ == 0
goto_if_false @QUARRY_11607
126@ = Blip.AddForCar(88@)
Blip.SetAsFriendly(126@, True)
gosub @QUARRY_19814
Text.PrintNow('QUAR_22', 10000, 1)
235@ = 0
50@ = 4
50@ -= 1
set_var_int_to_var_int $8176 = $8178(50@,7i)
$8176 *= 1000
Hud.DisplayTimerWithString($8176, TimerDirection.Down, 'QUAR_D1')
set_lvar_int_to_lvar_int 206@ = 46@
35@ += 1

:QUARRY_11607
if 
  0 >= $8176
goto_if_false @QUARRY_11641
37@ = 1
45@ = 4
return 

:QUARRY_11641
if 
  35@ == 1
goto_if_false @QUARRY_11701
if 
  235@ == 1
goto_if_false @QUARRY_11701
Blip.Remove(132@)
239@ = 0
Blip.Remove(126@)
35@ = 99

:QUARRY_11701
if 
  235@ == 0
goto_if_false @QUARRY_11745
if 
  Char.IsInCar($stattreadstamina_ctr, 88@)
goto_if_false @QUARRY_11745
235@ = 1

:QUARRY_11745
if 
  239@ == 1
goto_if_false @QUARRY_11848
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 215@, 216@, 217@, 4.0, 4.0, 4.0, True)
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 215@, 216@, 217@, 15.0, 10.0, 4.0, False)
goto_if_false @QUARRY_11848
Blip.Remove(132@)
239@ = 0

:QUARRY_11848
if 
  35@ == 99
goto_if_false @QUARRY_11873
gosub @QUARRY_21060

:QUARRY_11873
return 

:QUARRY_11875
if 
  Car.IsDead(88@)
goto_if_false @QUARRY_11907
37@ = 1
45@ = 2
return 

:QUARRY_11907
if 
  35@ == 0
goto_if_false @QUARRY_12473
212@ = 469.377
213@ = 877.2751
214@ = -29.0362
gosub @QUARRY_19761
48@ = 0

:QUARRY_11969
50@ = Math.RandomIntInRange(2, 4)
59@ = Math.RandomFloatInRange(-2.0, 2.0)
60@ = Math.RandomFloatInRange(-3.0, 3.0)
add_float_lvar_to_float_lvar 59@ += 212@
add_float_lvar_to_float_lvar 60@ += 213@
61@ = World.GetGroundZFor3DCoord(59@, 60@, -20.0)
153@(48@,18i) = ScriptFire.Start(59@, 60@, 61@, 0, 50@)
48@ += 1
  48@ >= 15
goto_if_false @QUARRY_11969
48@ = 0

:QUARRY_12091
50@ = Math.RandomIntInRange(0, 4)
59@ = Math.RandomFloatInRange(-1.3, 1.3)
60@ = Math.RandomFloatInRange(-1.8, 1.8)
add_float_lvar_to_float_lvar 59@ += 212@
add_float_lvar_to_float_lvar 60@ += 213@
61@ = World.GetGroundZFor3DCoord(59@, 60@, -20.0)
switch_start 50@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @QUARRY_12337 {caseNum1} 0 {caseLabel1} @QUARRY_12225 {caseNum2} 1 {caseLabel2} @QUARRY_12253 {caseNum3} 2 {caseLabel3} @QUARRY_12281 {caseNum4} 3 {caseLabel4} @QUARRY_12309 {caseNum5} -1 {caseLabel5} @QUARRY_12337 {caseNum6} -1 {caseLabel6} @QUARRY_12337 {caseNum7} -1 {caseLabel7} @QUARRY_12337

:QUARRY_12225
114@(50@,7i) = Object.Create(#CM_BOX, 59@, 60@, 61@)
goto @QUARRY_12337

:QUARRY_12253
114@(50@,7i) = Object.Create(#BLACKBAG2, 59@, 60@, 61@)
goto @QUARRY_12337

:QUARRY_12281
114@(50@,7i) = Object.Create(#DYN_WOODPILE, 59@, 60@, 61@)
goto @QUARRY_12337

:QUARRY_12309
114@(50@,7i) = Object.Create(#DYN_WOODPILE2, 59@, 60@, 61@)
goto @QUARRY_12337

:QUARRY_12337
75@ = Math.RandomFloatInRange(0.0, 359.0)
76@ = Math.RandomFloatInRange(0.0, 359.0)
77@ = Math.RandomFloatInRange(0.0, 359.0)
Object.SetRotation(114@(50@,7i), 75@, 76@, 77@)
Object.SetRenderScorched(114@(50@,7i), True)
Object.SetCollision(114@(50@,7i), False)
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_12091
Text.PrintNow('QUAR_23', 7000, 1)
263@ = 0
35@ += 1

:QUARRY_12473
if 
  236@ == 0
goto_if_false @QUARRY_12806
50@ = 0
48@ = 0

:QUARRY_12505
if 
  not Object.IsAttached(111@(48@,3i))
goto_if_false @QUARRY_12760
59@, 60@, 61@ = Object.GetCoordinates(111@(48@,3i))
75@ = World.GetGroundZFor3DCoord(59@, 60@, 61@)
set_lvar_float_to_lvar_float 76@ = 61@
sub_float_lvar_from_float_lvar 76@ -= 75@
if 
  0.5 > 76@
goto_if_false @QUARRY_12760
if 
  Object.Locate3D(111@(48@,3i), 212@, 213@, 214@, 12.0, 15.0, 3.0, False)
goto_if_false @QUARRY_12744
51@ = 15
add_int_lvar_to_int_lvar 51@ += 48@
if 
  not ScriptFire.DoesExist(153@(51@,18i))
goto_if_false @QUARRY_12730
153@(51@,18i) = ScriptFire.Start(59@, 60@, 61@, 0, 3)
Object.SetRenderScorched(111@(48@,3i), True)
Object.FreezePosition(111@(48@,3i), True)
Object.SetCollision(111@(48@,3i), False)

:QUARRY_12730
50@ += 1
goto @QUARRY_12760

:QUARRY_12744
37@ = 1
45@ = 8
return 

:QUARRY_12760
48@ += 1
  48@ >= 3
goto_if_false @QUARRY_12505
if 
  50@ == 3
goto_if_false @QUARRY_12806
236@ = 1

:QUARRY_12806
if 
  0 >= $8176
goto_if_false @QUARRY_12840
37@ = 1
45@ = 4
return 

:QUARRY_12840
if 
  35@ == 1
goto_if_false @QUARRY_12883
if 
  236@ == 1
goto_if_false @QUARRY_12883
35@ = 99

:QUARRY_12883
if 
  Char.IsInCar($stattreadstamina_ctr, 88@)
goto_if_false @QUARRY_12994
if 
  Blip.DoesExist(126@)
goto_if_false @QUARRY_12987
Blip.Remove(126@)
Text.ClearThisPrint('QUAR_36')
if 
  238@ == 1
goto_if_false @QUARRY_12973
128@ = Blip.AddForCoord(215@, 216@, 217@)
goto @QUARRY_12987

:QUARRY_12973
128@ = Blip.AddForCoord(212@, 213@, 214@)

:QUARRY_12987
goto @QUARRY_13046

:QUARRY_12994
if 
  not Blip.DoesExist(126@)
goto_if_false @QUARRY_13046
Blip.Remove(128@)
126@ = Blip.AddForCar(88@)
Blip.SetAsFriendly(126@, True)
Text.PrintNow('QUAR_36', 5000, 1)

:QUARRY_13046
if 
  236@ == 0
goto_if_false @QUARRY_13199
if 
  Char.IsInCar($stattreadstamina_ctr, 88@)
goto_if_false @QUARRY_13199
if 
  not Char.LocateInCar3D($stattreadstamina_ctr, 212@, 213@, 214@, 25.0, 25.0, 20.0, False)
goto_if_false @QUARRY_13163
  Char.LocateInCar3D($stattreadstamina_ctr, 212@, 213@, 214@, 4.0, 4.0, 4.0, True)
goto @QUARRY_13199

:QUARRY_13163
if 
  262@ == 0
goto_if_false @QUARRY_13199
Text.PrintHelpForever('QUAR_H1')
262@ = 1

:QUARRY_13199
if 
  263@ == 0
goto_if_false @QUARRY_13327
if 
  Char.IsInCar($stattreadstamina_ctr, 88@)
goto_if_false @QUARRY_13327
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 215@, 216@, 217@, 12.0, 12.0, 12.0, True)
goto_if_false @QUARRY_13327
Text.PrintNow('QUAR_24', 7000, 1)
263@ = 1
Blip.Remove(131@)
238@ = 0
128@ = Blip.AddForCoord(212@, 213@, 214@)

:QUARRY_13327
if 
  35@ == 99
goto_if_false @QUARRY_13352
gosub @QUARRY_21060

:QUARRY_13352
return 

:QUARRY_13354
if 
  Car.IsDead(88@)
goto_if_false @QUARRY_13386
37@ = 1
45@ = 2
return 

:QUARRY_13386
if 
  35@ == 0
goto_if_false @QUARRY_13602
212@ = -59.3126
213@ = 2502.254
214@ = 15.4766
205@ = Car.GetHealth(88@)
126@ = Blip.AddForCar(88@)
Blip.SetAsFriendly(126@, True)
50@ = 5
50@ -= 1
set_var_int_to_var_int $8176 = $8178(50@,7i)
$8176 *= 1000
Hud.DisplayTimerWithString($8176, TimerDirection.Down, 'QUAR_D4')
set_lvar_int_to_lvar_int 206@ = 46@
Text.PrintNow('QUAR_38', 10000, 1)
236@ = 0
264@ = 0
48@ = 0

:QUARRY_13552
296@(48@,6i) = 0
184@(48@,6i) = 0
48@ += 1
  48@ >= 6
goto_if_false @QUARRY_13552
35@ += 1

:QUARRY_13602
if 
  236@ == 0
goto_if_false @QUARRY_13974
80@ = 0
50@ = 0
48@ = 0

:QUARRY_13641
if 
  not Object.IsAttached(101@(48@,10i))
goto_if_false @QUARRY_13819
59@, 60@, 61@ = Object.GetCoordinates(101@(48@,10i))
75@ = World.GetGroundZFor3DCoord(59@, 60@, 61@)
set_lvar_float_to_lvar_float 76@ = 61@
sub_float_lvar_from_float_lvar 76@ -= 75@
if 
  1.0 > 76@
goto_if_false @QUARRY_13819
if 
  Object.Locate3D(101@(48@,10i), 212@, 213@, 214@, 12.0, 15.0, 3.0, False)
goto_if_false @QUARRY_13790
50@ += 1
goto @QUARRY_13819

:QUARRY_13790
Fx.AddExplosion(59@, 60@, 61@, ExplosionType.Rocket)
Object.Delete(101@(48@,10i))
80@ = 1

:QUARRY_13819
48@ += 1
  48@ >= 6
goto_if_false @QUARRY_13641
if 
  80@ == 1
goto_if_false @QUARRY_13949
48@ = 0

:QUARRY_13865
if 
  Object.DoesExist(101@(48@,10i))
goto_if_false @QUARRY_13907
Fx.AddExplosion(59@, 60@, 61@, ExplosionType.Rocket)
Object.Delete(101@(48@,10i))

:QUARRY_13907
48@ += 1
  48@ >= 6
goto_if_false @QUARRY_13865
Car.Explode(88@)
37@ = 1
45@ = 9
return 

:QUARRY_13949
if 
  50@ == 6
goto_if_false @QUARRY_13974
236@ = 1

:QUARRY_13974
if 
  236@ == 0
goto_if_false @QUARRY_14151
50@ = Car.GetHealth(88@)
set_lvar_int_to_lvar_int 51@ = 205@
sub_int_lvar_from_int_lvar 51@ -= 50@
if 
  51@ > 10
goto_if_false @QUARRY_14143
48@ = 0

:QUARRY_14041
if 
  Object.DoesExist(101@(48@,10i))
goto_if_false @QUARRY_14101
59@, 60@, 61@ = Object.GetCoordinates(101@(48@,10i))
Fx.AddExplosion(59@, 60@, 61@, ExplosionType.Rocket)
Object.Delete(101@(48@,10i))

:QUARRY_14101
48@ += 1
  48@ >= 6
goto_if_false @QUARRY_14041
Car.Explode(88@)
37@ = 1
45@ = 9
return 

:QUARRY_14143
set_lvar_int_to_lvar_int 205@ = 50@

:QUARRY_14151
if 
  0 >= $8176
goto_if_false @QUARRY_14185
37@ = 1
45@ = 10
return 

:QUARRY_14185
if 
  35@ == 1
goto_if_false @QUARRY_14228
if 
  236@ == 1
goto_if_false @QUARRY_14228
35@ = 99

:QUARRY_14228
48@ = 0

:QUARRY_14235
if 
  Object.DoesExist(122@(48@,3i))
goto_if_false @QUARRY_14485
if 
  not Object.IsAttached(122@(48@,3i))
goto_if_false @QUARRY_14485
switch_start 48@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @QUARRY_14485 {caseNum1} 0 {caseLabel1} @QUARRY_14338 {caseNum2} 1 {caseLabel2} @QUARRY_14387 {caseNum3} 2 {caseLabel3} @QUARRY_14436 {caseNum4} -1 {caseLabel4} @QUARRY_14485 {caseNum5} -1 {caseLabel5} @QUARRY_14485 {caseNum6} -1 {caseLabel6} @QUARRY_14485 {caseNum7} -1 {caseLabel7} @QUARRY_14485

:QUARRY_14338
Object.AttachToCar(122@(48@,3i), 88@, -1.0, -5.0, 0.3, 0.0, 0.0, 0.0)
goto @QUARRY_14485

:QUARRY_14387
Object.AttachToCar(122@(48@,3i), 88@, 0.0, -5.0, 0.3, 0.0, 0.0, 0.0)
goto @QUARRY_14485

:QUARRY_14436
Object.AttachToCar(122@(48@,3i), 88@, 1.0, -5.0, 0.3, 0.0, 0.0, 0.0)
goto @QUARRY_14485

:QUARRY_14485
48@ += 1
  48@ >= 3
goto_if_false @QUARRY_14235
if 
  Char.IsInCar($stattreadstamina_ctr, 88@)
goto_if_false @QUARRY_14578
if 
  not Blip.DoesExist(128@)
goto_if_false @QUARRY_14571
Blip.Remove(126@)
128@ = Blip.AddForCoord(212@, 213@, 214@)
Text.ClearThisPrint('QUAR_36')

:QUARRY_14571
goto @QUARRY_14630

:QUARRY_14578
if 
  not Blip.DoesExist(126@)
goto_if_false @QUARRY_14630
Blip.Remove(128@)
126@ = Blip.AddForCar(88@)
Blip.SetAsFriendly(126@, True)
Text.PrintNow('QUAR_36', 5000, 1)

:QUARRY_14630
if 
  Blip.DoesExist(128@)
goto_if_false @QUARRY_14677
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 212@, 213@, 214@, 8.0, 8.0, 4.0, True)

:QUARRY_14677
if 
  264@ == 0
goto_if_false @QUARRY_14760
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 212@, 213@, 214@, 24.0, 30.0, 8.0, False)
goto_if_false @QUARRY_14760
Text.PrintNow('QUAR_26', 7000, 1)
264@ = 1

:QUARRY_14760
if 
  Car.Locate3D(88@, 212@, 213@, 214@, 10.0, 10.0, 5.0, False)
goto_if_false @QUARRY_14925
75@ = Car.GetMovingComponentOffset(88@)
if 
  75@ > 0.05
goto_if_false @QUARRY_14925
48@ = 0

:QUARRY_14838
if 
  Object.DoesExist(101@(48@,10i))
goto_if_false @QUARRY_14904
if 
  Object.IsAttached(101@(48@,10i))
goto_if_false @QUARRY_14904
Object.Detach(101@(48@,10i), 0.0, 0.0, 0.0, False)

:QUARRY_14904
48@ += 1
  48@ >= 6
goto_if_false @QUARRY_14838

:QUARRY_14925
80@ = 0
48@ = 0

:QUARRY_14939
if 
  Object.DoesExist(101@(48@,10i))
goto_if_false @QUARRY_14997
50@ = Object.GetHealth(101@(48@,10i))
if 
  950 >= 50@
goto_if_false @QUARRY_14997
80@ = 1

:QUARRY_14997
48@ += 1
  48@ >= 6
goto_if_false @QUARRY_14939
if 
  80@ == 1
goto_if_false @QUARRY_15145
48@ = 0

:QUARRY_15043
if 
  Object.DoesExist(101@(48@,10i))
goto_if_false @QUARRY_15103
59@, 60@, 61@ = Object.GetCoordinates(101@(48@,10i))
Fx.AddExplosion(59@, 60@, 61@, ExplosionType.Rocket)
Object.Delete(101@(48@,10i))

:QUARRY_15103
48@ += 1
  48@ >= 6
goto_if_false @QUARRY_15043
Car.Explode(88@)
37@ = 1
45@ = 9
return 

:QUARRY_15145
if 
  Car.Locate3D(88@, 212@, 213@, 214@, 10.0, 10.0, 5.0, False)
goto_if_false @QUARRY_15656
75@ = Car.GetMovingComponentOffset(88@)
if 
  75@ > 0.25
goto_if_false @QUARRY_15656
48@ = 0

:QUARRY_15223
if 
  Object.DoesExist(101@(48@,10i))
goto_if_false @QUARRY_15635
59@, 60@, 61@ = Object.GetCoordinates(101@(48@,10i))
80@ = 0
50@ = 0

:QUARRY_15275
if 
  3 > 50@
goto_if_false @QUARRY_15403
if and
  80@ == 0
  Object.DoesExist(122@(50@,3i))
goto_if_false @QUARRY_15389
62@, 63@, 64@ = Object.GetCoordinates(122@(50@,3i))
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
if 
  0.75 > 78@
goto_if_false @QUARRY_15389
80@ = 1

:QUARRY_15389
50@ += 1
goto @QUARRY_15275

:QUARRY_15403
if 
  80@ == 1
goto_if_false @QUARRY_15613
if 
  296@(48@,6i) == 0
goto_if_false @QUARRY_15485
296@(48@,6i) = 1
set_lvar_int_to_lvar_int 184@(48@,6i) = 46@
184@(48@,6i) += 5000
goto @QUARRY_15606

:QUARRY_15485
if 
  is_int_lvar_greater_than_int_lvar 46@ > 184@(48@,6i)
goto_if_false @QUARRY_15606
set_lvar_int_to_lvar_int 184@(48@,6i) = 46@
184@(48@,6i) += 5000
if 
  Object.IsAttached(101@(48@,10i))
goto_if_false @QUARRY_15578
Object.Detach(101@(48@,10i), 0.0, 0.0, 0.0, False)

:QUARRY_15578
61@ += 1.2
Object.SetCoordinates(101@(48@,10i), 59@, 60@, 61@)

:QUARRY_15606
goto @QUARRY_15635

:QUARRY_15613
296@(48@,6i) = 0
184@(48@,6i) = 0

:QUARRY_15635
48@ += 1
  48@ >= 6
goto_if_false @QUARRY_15223

:QUARRY_15656
if 
  35@ == 99
goto_if_false @QUARRY_15691
Blip.Remove(128@)
Blip.Remove(126@)
gosub @QUARRY_21060

:QUARRY_15691
return 

:QUARRY_15693
if 
  Car.IsDead(87@)
goto_if_false @QUARRY_15725
37@ = 1
45@ = 1
return 

:QUARRY_15725
if 
  Car.IsDead(90@)
goto_if_false @QUARRY_15757
37@ = 1
45@ = 12
return 

:QUARRY_15757
if 
  35@ == 0
goto_if_false @QUARRY_15966
265@ = 0
125@ = Blip.AddForCar(87@)
Blip.SetAsFriendly(125@, True)
50@ = 6
50@ -= 1
set_var_int_to_var_int $8176 = $8178(50@,7i)
$8176 *= 1000
Hud.DisplayTimerWithString($8176, TimerDirection.Down, 'QUAR_D5')
set_lvar_int_to_lvar_int 206@ = 46@
set_lvar_int_to_var_int 182@ = $8178(50@,7i)
182@ -= 15
182@ *= 1000
add_int_lvar_to_int_lvar 182@ += 46@
266@ = 0
267@ = 0
48@ = 0

:QUARRY_15911
268@(48@,10i) = 1
48@ += 1
  48@ >= 10
goto_if_false @QUARRY_15911
Text.PrintNow('QUAR_28', 10000, 1)
35@ += 1

:QUARRY_15966
if 
  266@ == 1
goto_if_false @QUARRY_16217
62@, 63@, 64@ = Object.GetCoordinates(121@)
48@ = 0

:QUARRY_16005
if 
  Object.DoesExist(101@(48@,10i))
goto_if_false @QUARRY_16176
if 
  268@(48@,10i) == 1
goto_if_false @QUARRY_16176
59@, 60@, 61@ = Object.GetCoordinates(101@(48@,10i))
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
if 
  2.0 > 78@
goto_if_false @QUARRY_16176
Fx.AddExplosion(59@, 60@, 61@, ExplosionType.Aircraft)
Object.Delete(101@(48@,10i))
if 
  not Car.IsDead(90@)
goto_if_false @QUARRY_16176
Car.Explode(90@)
Train.SetCruiseSpeed(90@, 0.0)
37@ = 1
45@ = 11

:QUARRY_16176
48@ += 1
  48@ >= 10
goto_if_false @QUARRY_16005
if 
  37@ == 1
goto_if_false @QUARRY_16217
return 

:QUARRY_16217
if 
  35@ == 1
goto_if_false @QUARRY_16260
if 
  267@ == 1
goto_if_false @QUARRY_16260
35@ = 99

:QUARRY_16260
if 
  Char.IsInCar($stattreadstamina_ctr, 87@)
goto_if_false @QUARRY_16327
if 
  265@ == 0
goto_if_false @QUARRY_16320
265@ = 1
Blip.Remove(125@)
Text.ClearThisPrint('QUAR_35')

:QUARRY_16320
goto @QUARRY_16436

:QUARRY_16327
if 
  265@ == 1
goto_if_false @QUARRY_16389
48@ = 0

:QUARRY_16352
Blip.Remove(142@(48@,10i))
48@ += 1
  48@ >= 10
goto_if_false @QUARRY_16352
265@ = 0

:QUARRY_16389
if 
  not Blip.DoesExist(125@)
goto_if_false @QUARRY_16436
125@ = Blip.AddForCar(87@)
Blip.SetAsFriendly(125@, True)
Text.PrintNow('QUAR_35', 5000, 1)

:QUARRY_16436
if 
  266@ == 0
goto_if_false @QUARRY_16531
if 
  is_int_lvar_greater_than_int_lvar 46@ > 182@
goto_if_false @QUARRY_16531
Train.SetSpeed(90@, 56.0)
Train.SetCruiseSpeed(90@, 56.0)
141@ = Blip.AddForCar(90@)
Blip.SetAsFriendly(141@, True)
Text.PrintNow('QUAR_29', 7000, 1)
266@ = 1

:QUARRY_16531
if 
  266@ == 0
goto_if_false @QUARRY_16660
if 
  Char.IsInArea3D($stattreadstamina_ctr, 727.6937, 2412.204, 17.6685, 872.5978, 2714.917, 21.0511, False)
goto_if_false @QUARRY_16660
Train.SetSpeed(90@, 56.0)
Train.SetCruiseSpeed(90@, 56.0)
141@ = Blip.AddForCar(90@)
Blip.SetAsFriendly(141@, True)
Hud.ClearTimer($8176)
Text.PrintNow('QUAR_29', 7000, 1)
266@ = 1

:QUARRY_16660
if and
  266@ == 1
  267@ == 0
goto_if_false @QUARRY_16740
if 
  Car.Locate3D(90@, 673.9813, 1331.079, 10.7891, 20.0, 20.0, 8.0, False)
goto_if_false @QUARRY_16740
267@ = 1

:QUARRY_16740
if 
  265@ == 1
goto_if_false @QUARRY_16949
48@ = 0

:QUARRY_16765
if 
  Object.DoesExist(101@(48@,10i))
goto_if_false @QUARRY_16928
59@, 60@, 61@ = Object.GetCoordinates(101@(48@,10i))
if and
  59@ > 739.0
  747.0 > 59@
goto_if_false @QUARRY_16888
268@(48@,10i) = 1
if 
  not Blip.DoesExist(142@(48@,10i))
goto_if_false @QUARRY_16881
142@(48@,10i) = Blip.AddForObject(101@(48@,10i))

:QUARRY_16881
goto @QUARRY_16928

:QUARRY_16888
268@(48@,10i) = 0
if 
  Blip.DoesExist(142@(48@,10i))
goto_if_false @QUARRY_16928
Blip.Remove(142@(48@,10i))

:QUARRY_16928
48@ += 1
  48@ >= 10
goto_if_false @QUARRY_16765

:QUARRY_16949
if 
  266@ == 0
goto_if_false @QUARRY_17170
50@ = 0
48@ = 0

:QUARRY_16981
if 
  Object.DoesExist(101@(48@,10i))
goto_if_false @QUARRY_17037
if 
  268@(48@,10i) == 0
goto_if_false @QUARRY_17030
50@ += 1

:QUARRY_17030
goto @QUARRY_17044

:QUARRY_17037
50@ += 1

:QUARRY_17044
48@ += 1
  48@ >= 10
goto_if_false @QUARRY_16981
if 
  50@ == 10
goto_if_false @QUARRY_17170
75@ = 56.0
75@ *= 2.0
Train.SetSpeed(90@, 75@)
Train.SetCruiseSpeed(90@, 75@)
141@ = Blip.AddForCar(90@)
Blip.SetAsFriendly(141@, True)
Hud.ClearTimer($8176)
Text.PrintNow('QUAR_29', 7000, 1)
set_lvar_int_to_lvar_int 207@ = 46@
266@ = 1

:QUARRY_17170
if 
  35@ == 99
goto_if_false @QUARRY_17195
gosub @QUARRY_21060

:QUARRY_17195
return 

:QUARRY_17197
if 
  Car.IsDead(91@)
goto_if_false @QUARRY_17220
278@ = 1

:QUARRY_17220
if 
  Car.IsDead(88@)
goto_if_false @QUARRY_17252
37@ = 1
45@ = 2
return 

:QUARRY_17252
if 
  35@ == 0
goto_if_false @QUARRY_17632
Car.WanderRandomly(91@)
Car.SetCruiseSpeed(91@, 26.0)
Car.SetDrivingStyle(91@, DrivingMode.AvoidCars)
Car.SetOnlyDamagedByPlayer(91@, True)
152@ = Blip.AddForCar(91@)
Car.LockDoors(91@, CarLock.LockoutPlayerOnly)
126@ = Blip.AddForCar(88@)
Blip.SetAsFriendly(126@, True)
Text.PrintNow('QUAR_32', 10000, 1)
Hud.DisplayCounterWithString($8177, CounterDisplay.Bar, 'QUAR_D6')
50@ = 3
50@ -= 1
set_var_int_to_var_int $8176 = $8178(50@,7i)
$8176 *= 1000
Hud.DisplayTimerWithString($8176, TimerDirection.Down, 'QUAR_D4')
set_lvar_int_to_lvar_int 206@ = 46@
Path.SwitchRoadsOff(256.6312, 734.7498, 4.0053, 343.9576, 765.6713, 6.4852)
Path.SwitchRoadsOff(291.2253, 762.6765, 4.0625, 354.4869, 784.4223, 6.6101)
Path.SwitchRoadsOff(-149.9865, 460.067, 4.9719, -119.7325, 530.4155, 12.4813)
Path.SwitchRoadsOff(-100.9858, 1190.38, 16.1736, 97.0928, 1205.202, 19.9344)
Path.SwitchRoadsOff(-124.9028, 1209.581, 14.6519, -108.1954, 1243.821, 19.8554)
Path.SwitchRoadsOff(-113.2273, 1246.477, 11.3781, -84.1825, 1268.751, 17.5621)
283@ = 1
279@ = 0
35@ += 1

:QUARRY_17632
if 
  not Car.IsDead(91@)
goto_if_false @QUARRY_17855
59@, 60@, 61@ = Char.GetCoordinates($stattreadstamina_ctr)
62@, 63@, 64@ = Car.GetCoordinates(91@)
78@ = Math.GetDistanceBetweenCoords3D(59@, 60@, 61@, 62@, 63@, 64@)
if 
  78@ > 600.0
goto_if_false @QUARRY_17736
37@ = 1
45@ = 13
return 

:QUARRY_17736
if 
  279@ == 0
goto_if_false @QUARRY_17798
if 
  78@ > 500.0
goto_if_false @QUARRY_17798
Text.PrintNow('QUAR_33', 7000, 1)
279@ = 1

:QUARRY_17798
if 
  279@ == 1
goto_if_false @QUARRY_17855
if 
  400.0 > 78@
goto_if_false @QUARRY_17855
Text.ClearThisPrint('QUAR_33')
279@ = 0

:QUARRY_17855
if 
  0 >= $8176
goto_if_false @QUARRY_17889
37@ = 1
45@ = 14
return 

:QUARRY_17889
if 
  35@ == 1
goto_if_false @QUARRY_17948
if 
  278@ == 1
goto_if_false @QUARRY_17948
set_lvar_int_to_lvar_int 172@ = 46@
172@ += 2000
35@ += 1

:QUARRY_17948
if 
  35@ == 2
goto_if_false @QUARRY_17992
if 
  is_int_lvar_greater_than_int_lvar 46@ > 172@
goto_if_false @QUARRY_17992
35@ = 99

:QUARRY_17992
if 
  Char.IsInCar($stattreadstamina_ctr, 88@)
goto_if_false @QUARRY_18050
if 
  Blip.DoesExist(126@)
goto_if_false @QUARRY_18043
Blip.Remove(126@)
Text.ClearThisPrint('QUAR_36')

:QUARRY_18043
goto @QUARRY_18097

:QUARRY_18050
if 
  not Blip.DoesExist(126@)
goto_if_false @QUARRY_18097
126@ = Blip.AddForCar(88@)
Blip.SetAsFriendly(126@, True)
Text.PrintNow('QUAR_36', 5000, 1)

:QUARRY_18097
if 
  not Car.IsDead(91@)
goto_if_false @QUARRY_18156
50@ = Car.GetHealth(91@)
if and
  50@ > 300
  800 >= 50@
goto_if_false @QUARRY_18156
Car.SetHealth(91@, 300)

:QUARRY_18156
if 
  not Car.IsDead(91@)
goto_if_false @QUARRY_18431
50@ = Car.GetHealth(91@)
if 
  250 >= 50@
goto_if_false @QUARRY_18213
$8177 = 0
goto @QUARRY_18431

:QUARRY_18213
if 
  50@ == 1000
goto_if_false @QUARRY_18246
$8177 = 100
goto @QUARRY_18431

:QUARRY_18246
if 
  50@ == 300
goto_if_false @QUARRY_18279
$8177 = 20
goto @QUARRY_18431

:QUARRY_18279
if 
  300 > 50@
goto_if_false @QUARRY_18350
51@ = 300
sub_int_lvar_from_int_lvar 51@ -= 50@
$8177 = 50
sub_int_lvar_from_int_var $8177 -= 51@
$8177 *= 20
$8177 /= 50
goto @QUARRY_18431

:QUARRY_18350
if 
  800 > 50@
goto_if_false @QUARRY_18377
50@ = 800

:QUARRY_18377
51@ = 1000
sub_int_lvar_from_int_lvar 51@ -= 50@
$8177 = 200
sub_int_lvar_from_int_var $8177 -= 51@
$8177 *= 80
$8177 /= 200
$8177 += 20

:QUARRY_18431
if 
  not Car.IsDead(91@)
goto_if_false @QUARRY_18872
48@ = 0

:QUARRY_18454
if 
  Object.DoesExist(94@(48@,7i))
goto_if_false @QUARRY_18851
if 
  not Object.IsAttached(94@(48@,7i))
goto_if_false @QUARRY_18851
switch_start 48@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @QUARRY_18851 {caseNum1} 0 {caseLabel1} @QUARRY_18557 {caseNum2} 1 {caseLabel2} @QUARRY_18606 {caseNum3} 2 {caseLabel3} @QUARRY_18655 {caseNum4} 3 {caseLabel4} @QUARRY_18704 {caseNum5} 4 {caseLabel5} @QUARRY_18753 {caseNum6} 5 {caseLabel6} @QUARRY_18802 {caseNum7} -1 {caseLabel7} @QUARRY_18851

:QUARRY_18557
Object.AttachToCar(94@(48@,7i), 91@, 0.5, -0.7, 0.7, 90.0, 0.0, 0.0)
goto @QUARRY_18851

:QUARRY_18606
Object.AttachToCar(94@(48@,7i), 91@, -0.5, -0.7, 0.7, 90.0, 0.0, 0.0)
goto @QUARRY_18851

:QUARRY_18655
Object.AttachToCar(94@(48@,7i), 91@, 0.5, -1.7, 0.73, 90.0, 0.0, 0.0)
goto @QUARRY_18851

:QUARRY_18704
Object.AttachToCar(94@(48@,7i), 91@, -0.5, -1.7, 0.73, 90.0, 0.0, 0.0)
goto @QUARRY_18851

:QUARRY_18753
Object.AttachToCar(94@(48@,7i), 91@, 0.5, -2.7, 0.76, 90.0, 0.0, 0.0)
goto @QUARRY_18851

:QUARRY_18802
Object.AttachToCar(94@(48@,7i), 91@, -0.5, -2.7, 0.76, 90.0, 0.0, 0.0)
goto @QUARRY_18851

:QUARRY_18851
48@ += 1
  48@ >= 6
goto_if_false @QUARRY_18454

:QUARRY_18872
if 
  35@ == 99
goto_if_false @QUARRY_18897
gosub @QUARRY_21060

:QUARRY_18897
return 

:QUARRY_18899
if 
  35@ == 0
goto_if_false @QUARRY_18952
Player.SetControl($statbike_temp, False)
set_lvar_int_to_lvar_int 183@ = 46@
183@ += 5000
Hud.ClearTimer($8176)
35@ += 1

:QUARRY_18952
if 
  35@ == 1
goto_if_false @QUARRY_19019
if 
  is_int_lvar_greater_than_int_lvar 46@ > 183@
goto_if_false @QUARRY_19019
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 183@ = 46@
183@ += 500
35@ += 1

:QUARRY_19019
if 
  35@ == 2
goto_if_false @QUARRY_19190
if and
  is_int_lvar_greater_than_int_lvar 46@ > 183@
  not Camera.GetFadingStatus
goto_if_false @QUARRY_19190
$d2_num_packages_collected = Pickup.CreateProtection(818.2578, 853.8873, 10.8059, $d6_door_health, $d6_door_health)
Hud.SwitchWidescreen(True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetAllCarsCanBeDamaged(False)
Streaming.LoadScene(818.2578, 853.8873, 10.8059)
Camera.SetFixedPosition(849.6491, 839.9428, 42.7363, 0.0, 0.0, 0.0)
Camera.PointAtPoint(848.7661, 840.1115, 42.2983, SwitchType.JumpCut)
set_lvar_int_to_lvar_int 183@ = 46@
183@ += 2000
35@ += 1

:QUARRY_19190
if 
  35@ == 3
goto_if_false @QUARRY_19273
if 
  is_int_lvar_greater_than_int_lvar 46@ > 183@
goto_if_false @QUARRY_19273
Camera.DoFade(500, Fade.In)
Text.PrintBig('ASS_ACQ', 5000, TextStyle.WhiteMiddleSmaller)
set_lvar_int_to_lvar_int 183@ = 46@
183@ += 5000
35@ += 1

:QUARRY_19273
if 
  35@ == 4
goto_if_false @QUARRY_19403
if 
  is_int_lvar_greater_than_int_lvar 46@ > 183@
goto_if_false @QUARRY_19403
Camera.SetFixedPosition(825.0984, 855.4503, 13.577, 0.0, 0.0, 0.0)
Camera.PointAtPoint(824.1995, 855.1732, 13.2376, SwitchType.JumpCut)
Text.PrintWithNumberNow('ASS_LUV', $d6_door_health, 6000, 1)
set_lvar_int_to_lvar_int 183@ = 46@
183@ += 6000
35@ += 1

:QUARRY_19403
if 
  35@ == 5
goto_if_false @QUARRY_19470
if 
  is_int_lvar_greater_than_int_lvar 46@ > 183@
goto_if_false @QUARRY_19470
Camera.DoFade(500, Fade.Out)
set_lvar_int_to_lvar_int 183@ = 46@
183@ += 500
35@ += 1

:QUARRY_19470
if 
  35@ == 6
goto_if_false @QUARRY_19565
if and
  is_int_lvar_greater_than_int_lvar 46@ > 183@
  not Camera.GetFadingStatus
goto_if_false @QUARRY_19565
59@, 60@, 61@ = Char.GetCoordinates($stattreadstamina_ctr)
Streaming.LoadScene(59@, 60@, 61@)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
set_lvar_int_to_lvar_int 183@ = 46@
183@ += 2000
35@ += 1

:QUARRY_19565
if 
  35@ == 7
goto_if_false @QUARRY_19670
if 
  is_int_lvar_greater_than_int_lvar 46@ > 183@
goto_if_false @QUARRY_19670
Text.PrintWith2NumbersNow('QUAR_P7', 210@, 211@, 10000, TextStyle.Middle)
Text.Print('QUAR_H3', 7000, 1)
Camera.DoFade(500, Fade.In)
set_lvar_int_to_lvar_int 183@ = 46@
183@ += 500
35@ += 1

:QUARRY_19670
if 
  35@ == 8
goto_if_false @QUARRY_19734
if and
  is_int_lvar_greater_than_int_lvar 46@ > 183@
  not Camera.GetFadingStatus
goto_if_false @QUARRY_19734
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetAllCarsCanBeDamaged(True)
Player.SetControl($statbike_temp, True)
35@ = 99

:QUARRY_19734
if 
  35@ == 99
goto_if_false @QUARRY_19759
gosub @QUARRY_21060

:QUARRY_19759
return 

:QUARRY_19761
215@ = 808.4078
216@ = 841.9887
217@ = 8.6694
131@ = Blip.AddForCoord(215@, 216@, 217@)
238@ = 1
return 

:QUARRY_19814
215@ = 371.5454
216@ = 978.1724
217@ = 28.521
132@ = Blip.AddForCoord(215@, 216@, 217@)
239@ = 1
return 
200@, 201@ = Clock.GetTimeOfDay()
set_lvar_int_to_lvar_int 50@ = 202@
50@ *= 60
add_int_lvar_to_int_lvar 50@ += 203@
50@ *= 1000
set_lvar_int_to_lvar_int 173@ = 50@
add_int_lvar_to_int_lvar 173@ += 46@
add_int_lvar_to_int_lvar 201@ += 203@
if 
  201@ >= 60
goto_if_false @QUARRY_19962
200@ += 1
201@ -= 60

:QUARRY_19962
add_int_lvar_to_int_lvar 200@ += 202@

:QUARRY_19970
if 
  200@ >= 24
goto_if_false @QUARRY_20002
200@ -= 24
goto @QUARRY_19970

:QUARRY_20002
80@ = 0
if 
  201@ > 45
goto_if_false @QUARRY_20104
50@ = 60
sub_int_lvar_from_int_lvar 50@ -= 201@
201@ = 0
200@ += 1
if 
  200@ == 24
goto_if_false @QUARRY_20081
200@ = 0

:QUARRY_20081
50@ *= 1000
add_int_lvar_to_int_lvar 173@ += 50@
80@ = 1

:QUARRY_20104
if 
  80@ == 0
goto_if_false @QUARRY_20192
if and
  201@ > 30
  45 > 201@
goto_if_false @QUARRY_20192
50@ = 45
sub_int_lvar_from_int_lvar 50@ -= 201@
201@ = 45
50@ *= 1000
add_int_lvar_to_int_lvar 173@ += 50@
80@ = 1

:QUARRY_20192
if 
  80@ == 0
goto_if_false @QUARRY_20280
if and
  201@ > 15
  30 > 201@
goto_if_false @QUARRY_20280
50@ = 30
sub_int_lvar_from_int_lvar 50@ -= 201@
201@ = 30
50@ *= 1000
add_int_lvar_to_int_lvar 173@ += 50@
80@ = 1

:QUARRY_20280
if 
  80@ == 0
goto_if_false @QUARRY_20368
if and
  201@ > 0
  15 > 201@
goto_if_false @QUARRY_20368
50@ = 15
sub_int_lvar_from_int_lvar 50@ -= 201@
201@ = 15
50@ *= 1000
add_int_lvar_to_int_lvar 173@ += 50@
80@ = 1

:QUARRY_20368
set_lvar_int_to_lvar_int 50@ = 200@
50@ *= 60
add_int_lvar_to_int_lvar 50@ += 201@
50@ *= 1000
set_var_int_to_lvar_int $8176 = 50@
return 

:QUARRY_20409
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @QUARRY_20458
47@ += 1
if 
  47@ > 2
goto_if_false @QUARRY_20456
47@ = 0

:QUARRY_20456
clear_all_view_variables 

:QUARRY_20458
if 
  47@ == 1
goto_if_false @QUARRY_20585
set_var_int_to_lvar_int $8185[0] = 34@
set_var_int_to_lvar_int $8185[1] = 35@
set_var_int_to_lvar_int $8185[2] = 46@
$8185[3] = 0
$8185[4] = 0
$8185[5] = 0
$8185[6] = 0
$8185[7] = 0
view_integer_variable $8185[0] {_p2} "M_STAGE"
view_integer_variable $8185[1] {_p2} "M_GOALS"
view_integer_variable $8185[2] {_p2} "M_MISSION_TIMER"

:QUARRY_20585
if 
  47@ == 2
goto_if_false @QUARRY_20786
$8185[7] = 0
48@ = 0

:QUARRY_20617
set_var_int_to_var_int $8185(48@,8i) = $8178(48@,7i)
add_int_var_to_int_var $8185[7] += $8178(48@,7i)
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_20617
view_integer_variable $8185[0] {_p2} "ROCKFALL"
view_integer_variable $8185[1] {_p2} "SABOTAGE"
view_integer_variable $8185[2] {_p2} "DESTROY."
view_integer_variable $8185[3] {_p2} "REMOVAL."
view_integer_variable $8185[4] {_p2} "DELIVERY"
view_integer_variable $8185[5] {_p2} "SPILLAGE"
view_integer_variable $8185[6] {_p2} "BURIAL.."
view_integer_variable $8185[7] {_p2} "TOTAL..."

:QUARRY_20786
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @QUARRY_20808
38@ = 1

:QUARRY_20808
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @QUARRY_20896
if 
  39@ == 0
goto_if_false @QUARRY_20871
39@ = 1
write_debug "LEVEL_PAUSED"
goto @QUARRY_20896

:QUARRY_20871
39@ = 0
write_debug "LEVEL_UNPAUSED"

:QUARRY_20896
return 

:QUARRY_20898
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @QUARRY_20922
36@ = 1
return 

:QUARRY_20922
if 
is_ps2_keyboard_key_just_pressed 77
goto_if_false @QUARRY_20968
$8175 += 1
write_debug_with_int "MISSIONS_PASSED" {_p2} $8175
return 

:QUARRY_20968
if 
  not is_ps2_keyboard_key_just_pressed 74
goto_if_false @QUARRY_20985
return 

:QUARRY_20985
return 

:QUARRY_20987
41@ += 1
if 
  41@ > 9
goto_if_false @QUARRY_21019
41@ = 0

:QUARRY_21019
return 

:QUARRY_21021
42@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 44@ = 42@
sub_int_lvar_from_int_lvar 44@ -= 43@
set_lvar_int_to_lvar_int 43@ = 42@
add_int_lvar_to_int_lvar 46@ += 44@
return 

:QUARRY_21060
34@ += 1
35@ = 0
TIMERA = 0
TIMERB = 0
return 

:QUARRY_21090
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @QUARRY_21117
wait 0
goto @QUARRY_21090

:QUARRY_21117
Player.SetControl($statbike_temp, False)
wait 1000
Camera.DoFade(1000, Fade.Out)

:QUARRY_21136
if 
  Camera.GetFadingStatus
goto_if_false @QUARRY_21160
wait 0
goto @QUARRY_21136

:QUARRY_21160
if 
  $player_has_parachute == 0
goto_if_false @QUARRY_21378
if 
  $8175 == 0
goto_if_false @QUARRY_21378
50@ = 1
50@ -= 1
$8178(50@,7i) = 211
50@ = 2
50@ -= 1
$8178(50@,7i) = 300
50@ = 3
50@ -= 1
$8178(50@,7i) = 481
50@ = 4
50@ -= 1
$8178(50@,7i) = 241
50@ = 5
50@ -= 1
$8178(50@,7i) = 181
50@ = 6
50@ -= 1
$8178(50@,7i) = 181
50@ = 7
50@ -= 1
$8178(50@,7i) = 481

:QUARRY_21378
World.ClearArea($mountbY, $mountbZ, $carcraneX, 1000.0, False)
Streaming.LoadScene($mountbY, $mountbZ, $carcraneX)
Char.SetCoordinates($stattreadstamina_ctr, $mountbY, $mountbZ, $carcraneX)
Char.SetHeading($stattreadstamina_ctr, 90.0)
Camera.SetBehindPlayer
wait 500
set_lvar_int_to_var_int 50@ = $8175

:QUARRY_21446
if 
  50@ >= 7
goto_if_false @QUARRY_21478
50@ -= 7
goto @QUARRY_21446

:QUARRY_21478
set_lvar_int_to_lvar_int 198@ = 50@
198@ += 1
gosub @QUARRY_21635
207@ = 0
CarGenerator.Switch($gen_car5, 0)
CarGenerator.Switch($gen_car6, 0)
wait 1500
Text.DrawOddjobTitleBeforeFade(True)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)

:QUARRY_21545
if 
  Camera.GetFadingStatus
goto_if_false @QUARRY_21569
wait 0
goto @QUARRY_21545

:QUARRY_21569
if 
  $player_has_parachute == 1
goto_if_false @QUARRY_21598
Text.PrintHelp('QUAR_H2')

:QUARRY_21598
Player.SetControl($statbike_temp, True)
45@ = 0
TIMERA = 0
TIMERB = 0
35@ = 0
return 

:QUARRY_21635
switch_start 198@ {numCases} 7 {hasDefaultCase} 1 {defaultLabel} @QUARRY_21796 {caseNum1} 1 {caseLabel1} @QUARRY_21698 {caseNum2} 2 {caseLabel2} @QUARRY_21712 {caseNum3} 3 {caseLabel3} @QUARRY_21782 {caseNum4} 4 {caseLabel4} @QUARRY_21726 {caseNum5} 5 {caseLabel5} @QUARRY_21740 {caseNum6} 6 {caseLabel6} @QUARRY_21754 {caseNum7} 7 {caseLabel7} @QUARRY_21768

:QUARRY_21698
gosub @QUARRY_22158
goto @QUARRY_21825

:QUARRY_21712
gosub @QUARRY_22482
goto @QUARRY_21825

:QUARRY_21726
gosub @QUARRY_22957
goto @QUARRY_21825

:QUARRY_21740
gosub @QUARRY_23543
goto @QUARRY_21825

:QUARRY_21754
gosub @QUARRY_24497
goto @QUARRY_21825

:QUARRY_21768
gosub @QUARRY_21827
goto @QUARRY_21825

:QUARRY_21782
gosub @QUARRY_25306
goto @QUARRY_21825

:QUARRY_21796
write_debug "UNKNOWN_QUARRY_MISSION_ID"

:QUARRY_21825
return 

:QUARRY_21827
34@ = 1
Streaming.RequestModel(468)
Streaming.RequestModel(486)
Streaming.RequestModel(406)
Streaming.RequestModel(#DEAD_TIED_COP)
Streaming.RequestModel(523)
Streaming.RequestModel(#CR_AMMOBOX)
Streaming.LoadAllModelsNow

:QUARRY_21866
if or
  not Streaming.HasModelLoaded(468)
  not Streaming.HasModelLoaded(486)
  not Streaming.HasModelLoaded(406)
  not Streaming.HasModelLoaded(#DEAD_TIED_COP)
  not Streaming.HasModelLoaded(523)
  not Streaming.HasModelLoaded(#CR_AMMOBOX)
goto_if_false @QUARRY_21918
wait 0
goto @QUARRY_21866

:QUARRY_21918
86@ = Car.Create(468, 819.7281, 858.3189, 11.0469)
Car.SetHeading(86@, 291.4761)
87@ = Car.Create(486, 653.1636, 879.9844, -42.5799)
Car.SetHeading(87@, 119.7783)
88@ = Car.Create(406, 717.0151, 938.3721, -19.7314)
Car.SetHeading(88@, 38.1129)
93@ = Object.Create(#CR_AMMOBOX, 720.5391, 922.5157, -19.8436)
Object.SetCollision(93@, False)
Object.SetVisible(93@, False)
Object.AttachToCar(93@, 88@, 0.0, -1.7, 1.5, 0.0, 0.0, 0.0)
92@ = Object.Create(#DEAD_TIED_COP, 606.9487, 933.0876, -38.5322)
Object.SetDynamic(92@, True)
89@ = Car.Create(523, 560.3003, 844.9364, -13.0258)
Car.SetCanBeDamaged(89@, False)
Game.SwitchEmergencyServices(False)
return 

:QUARRY_22158
34@ = 5
Streaming.RequestModel(486)
Streaming.RequestModel(#DYN_QUARRYROCK03)
Streaming.LoadAllModelsNow

:QUARRY_22177
if or
  not Streaming.HasModelLoaded(486)
  not Streaming.HasModelLoaded(#DYN_QUARRYROCK03)
goto_if_false @QUARRY_22209
wait 0
goto @QUARRY_22177

:QUARRY_22209
87@ = Car.Create(486, 816.4832, 845.8509, 9.4934)
Car.SetHeading(87@, 115.4882)
50@ = 0
94@(50@,7i) = Object.Create(#DYN_QUARRYROCK03, 771.6403, 836.2275, 4.8965)
50@ += 1
94@(50@,7i) = Object.Create(#DYN_QUARRYROCK03, 751.6732, 944.9977, 4.8593)
50@ += 1
94@(50@,7i) = Object.Create(#DYN_QUARRYROCK03, 538.9102, 985.6403, -8.5887)
50@ += 1
94@(50@,7i) = Object.Create(#DYN_QUARRYROCK03, 680.5322, 963.4501, -13.6607)
50@ += 1
94@(50@,7i) = Object.Create(#DYN_QUARRYROCK03, 516.8391, 928.7185, -27.6183)
50@ += 1
94@(50@,7i) = Object.Create(#DYN_QUARRYROCK03, 522.6153, 828.3048, -27.1838)
50@ += 1
94@(50@,7i) = Object.Create(#DYN_QUARRYROCK03, 646.7208, 752.2311, -12.1482)
return 

:QUARRY_22482
34@ = 7
Streaming.RequestModel(486)
Streaming.RequestModel(#KB_BARREL)
Streaming.LoadAllModelsNow

:QUARRY_22501
if or
  not Streaming.HasModelLoaded(486)
  not Streaming.HasModelLoaded(#KB_BARREL)
goto_if_false @QUARRY_22533
wait 0
goto @QUARRY_22501

:QUARRY_22533
87@ = Car.Create(486, 816.4832, 845.8509, 9.4934)
Car.SetHeading(87@, 115.4882)
50@ = 0
101@(50@,10i) = Object.Create(#KB_BARREL, 817.0658, 865.5903, 11.0469)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 714.5327, 920.0583, -19.6787)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 632.2825, 895.8612, -43.9534)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 675.7952, 841.8704, -43.9609)
51@ = 2
51@ -= 1
set_lvar_int_to_var_int 50@ = $8178(51@,7i)
50@ *= 100
48@ = 0

:QUARRY_22742
switch_start 48@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @QUARRY_22930 {caseNum1} 0 {caseLabel1} @QUARRY_22805 {caseNum2} 1 {caseLabel2} @QUARRY_22835 {caseNum3} 2 {caseLabel3} @QUARRY_22865 {caseNum4} 3 {caseLabel4} @QUARRY_22895 {caseNum5} -1 {caseLabel5} @QUARRY_22930 {caseNum6} -1 {caseLabel6} @QUARRY_22930 {caseNum7} -1 {caseLabel7} @QUARRY_22930

:QUARRY_22805
set_lvar_int_to_lvar_int 174@(48@,4i) = 50@
174@(48@,4i) *= 3
goto @QUARRY_22930

:QUARRY_22835
set_lvar_int_to_lvar_int 174@(48@,4i) = 50@
174@(48@,4i) *= 6
goto @QUARRY_22930

:QUARRY_22865
set_lvar_int_to_lvar_int 174@(48@,4i) = 50@
174@(48@,4i) *= 8
goto @QUARRY_22930

:QUARRY_22895
set_lvar_int_to_var_int 174@(48@,4i) = $8178(51@,7i)
174@(48@,4i) *= 1000
goto @QUARRY_22930

:QUARRY_22930
48@ += 1
  48@ >= 4
goto_if_false @QUARRY_22742
Game.SwitchEmergencyServices(False)
return 

:QUARRY_22957
34@ = 9
Streaming.RequestModel(406)
Streaming.RequestModel(#DEAD_TIED_COP)
Streaming.RequestModel(468)
Streaming.RequestModel(#CM_BOX)
Streaming.RequestModel(#BLACKBAG2)
Streaming.RequestModel(#DYN_WOODPILE)
Streaming.RequestModel(#DYN_WOODPILE2)
Streaming.LoadAllModelsNow

:QUARRY_23001
if or
  not Streaming.HasModelLoaded(406)
  not Streaming.HasModelLoaded(#DEAD_TIED_COP)
  not Streaming.HasModelLoaded(468)
goto_if_false @QUARRY_23038
wait 0
goto @QUARRY_23001

:QUARRY_23038
if or
  not Streaming.HasModelLoaded(#CM_BOX)
  not Streaming.HasModelLoaded(#BLACKBAG2)
  not Streaming.HasModelLoaded(#DYN_WOODPILE)
  not Streaming.HasModelLoaded(#DYN_WOODPILE2)
goto_if_false @QUARRY_23080
wait 0
goto @QUARRY_23038

:QUARRY_23080
88@ = Car.Create(406, 355.8632, 895.6545, 19.399)
Car.SetHeading(88@, 342.1892)
86@ = Car.Create(468, 819.7281, 858.3189, 11.0469)
Car.SetHeading(86@, 291.4761)
50@ = 0
111@(50@,3i) = Object.Create(#DEAD_TIED_COP, 355.8632, 894.6545, 24.2254)
75@ = Math.RandomFloatInRange(0.0, 180.0)
75@ -= 90.0
if 
  0.0 > 75@
goto_if_false @QUARRY_23236
75@ += 360.0

:QUARRY_23236
Object.AttachToCar(111@(50@,3i), 88@, 0.5, -0.7, 0.7, 90.0, 75@, 75@)
50@ += 1
111@(50@,3i) = Object.Create(#DEAD_TIED_COP, 355.8632, 895.6545, 24.5629)
75@ = Math.RandomFloatInRange(0.0, 180.0)
75@ -= 90.0
if 
  0.0 > 75@
goto_if_false @QUARRY_23364
75@ += 360.0

:QUARRY_23364
Object.AttachToCar(111@(50@,3i), 88@, -0.5, -1.7, 0.73, 90.0, 75@, 75@)
50@ += 1
111@(50@,3i) = Object.Create(#DEAD_TIED_COP, 355.8632, 896.6545, 24.8877)
75@ = Math.RandomFloatInRange(0.0, 180.0)
75@ -= 90.0
if 
  0.0 > 75@
goto_if_false @QUARRY_23492
75@ += 360.0

:QUARRY_23492
Object.AttachToCar(111@(50@,3i), 88@, 0.5, -2.7, 0.76, 90.0, 75@, 75@)
World.SetCarDensityMultiplier(3.0)
Game.SwitchEmergencyServices(False)
return 

:QUARRY_23543
34@ = 12
Streaming.RequestModel(406)
Streaming.RequestModel(#KB_BARREL)
Streaming.LoadAllModelsNow

:QUARRY_23562
if or
  not Streaming.HasModelLoaded(406)
  not Streaming.HasModelLoaded(#KB_BARREL)
goto_if_false @QUARRY_23594
wait 0
goto @QUARRY_23562

:QUARRY_23594
88@ = Car.Create(406, 816.4832, 845.8509, 9.4934)
Car.SetHeading(88@, 295.4882)
50@ = 0
101@(50@,10i) = Object.Create(#KB_BARREL, 815.4841, 846.2587, 15.0409)
Object.AttachToCar(101@(50@,10i), 88@, 0.5, -0.7, 0.9, 90.0, 0.0, 0.0)
Object.SetProofs(101@(50@,10i), False, False, False, True, False)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 816.6973, 844.8737, 15.046)
Object.AttachToCar(101@(50@,10i), 88@, -0.5, -0.7, 0.9, 90.0, 0.0, 0.0)
Object.SetProofs(101@(50@,10i), False, False, False, True, False)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 814.2406, 845.8572, 14.9014)
Object.AttachToCar(101@(50@,10i), 88@, 0.5, -1.7, 0.93, 90.0, 0.0, 0.0)
Object.SetProofs(101@(50@,10i), False, False, False, True, False)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 815.048, 844.0368, 14.8892)
Object.AttachToCar(101@(50@,10i), 88@, -0.5, -1.7, 0.93, 90.0, 0.0, 0.0)
Object.SetProofs(101@(50@,10i), False, False, False, True, False)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 813.2042, 843.0317, 14.7114)
Object.AttachToCar(101@(50@,10i), 88@, 0.5, -2.7, 0.96, 90.0, 0.0, 0.0)
Object.SetProofs(101@(50@,10i), False, False, False, True, False)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 813.2919, 845.4581, 14.8038)
Object.AttachToCar(101@(50@,10i), 88@, -0.5, -2.7, 0.96, 90.0, 0.0, 0.0)
Object.SetProofs(101@(50@,10i), False, False, False, True, False)
50@ = 0
122@(50@,3i) = Object.Create(#CR_AMMOBOX, 815.4841, 846.2587, 15.0409)
Object.SetCollision(122@(50@,3i), False)
Object.SetVisible(122@(50@,3i), False)
Object.AttachToCar(122@(50@,3i), 88@, -1.0, -5.0, 0.3, 0.0, 0.0, 0.0)
50@ += 1
122@(50@,3i) = Object.Create(#CR_AMMOBOX, 816.6973, 844.8737, 15.046)
Object.SetCollision(122@(50@,3i), False)
Object.SetVisible(122@(50@,3i), False)
Object.AttachToCar(122@(50@,3i), 88@, 0.0, -5.0, 0.3, 0.0, 0.0, 0.0)
50@ += 1
122@(50@,3i) = Object.Create(#CR_AMMOBOX, 815.048, 844.0368, 14.8892)
Object.SetCollision(122@(50@,3i), False)
Object.SetVisible(122@(50@,3i), False)
Object.AttachToCar(122@(50@,3i), 88@, 1.0, -5.0, 0.3, 0.0, 0.0, 0.0)
Game.SwitchEmergencyServices(False)
return 

:QUARRY_24497
34@ = 14
Streaming.RequestModel(486)
Streaming.RequestModel(#KB_BARREL)
Streaming.RequestModel(538)
Streaming.RequestModel(570)
Streaming.LoadAllModelsNow

:QUARRY_24526
if or
  not Streaming.HasModelLoaded(486)
  not Streaming.HasModelLoaded(#KB_BARREL)
  not Streaming.HasModelLoaded(538)
  not Streaming.HasModelLoaded(570)
goto_if_false @QUARRY_24568
wait 0
goto @QUARRY_24526

:QUARRY_24568
87@ = Car.Create(486, 816.4832, 845.8509, 9.4934)
Car.SetHeading(87@, 295.4882)
90@ = Train.Create(11, 832.5291, 2669.716, 19.8594, False)
Train.SetSpeed(90@, 0.0)
Train.SetCruiseSpeed(90@, 0.0)
121@ = Object.Create(#CR_AMMOBOX, 816.4832, 848.8509, 9.4934)
Object.SetCollision(121@, False)
Object.SetVisible(121@, False)
Object.AttachToCar(121@, 90@, 0.0, 9.0, -1.8, 0.0, 0.0, 0.0)
50@ = 0
101@(50@,10i) = Object.Create(#KB_BARREL, 744.1446, 1583.6, 7.5408)
Object.SetRotation(101@(48@,10i), 0.0, 0.0, 0.0)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 743.0427, 1602.768, 7.1368)
Object.SetRotation(101@(48@,10i), 0.0, 78.0, 0.0)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 743.5758, 1616.749, 6.8536)
Object.SetRotation(101@(48@,10i), 0.0, 64.0, 0.0)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 742.6569, 1653.42, 6.158)
Object.SetRotation(101@(48@,10i), 0.0, 36.0, 0.0)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 743.8057, 1671.523, 5.8467)
Object.SetRotation(101@(48@,10i), 0.0, 14.0, 0.0)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 742.5768, 1700.305, 5.4186)
Object.SetRotation(101@(48@,10i), 0.0, 128.0, 0.0)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 743.4429, 1730.141, 5.0731)
Object.SetRotation(101@(48@,10i), 0.0, 96.0, 0.0)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 742.0187, 1765.321, 4.6566)
Object.SetRotation(101@(48@,10i), 0.0, 65.0, 0.0)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 742.176, 1812.375, 4.3281)
Object.SetRotation(101@(48@,10i), 0.0, 170.0, 0.0)
50@ += 1
101@(50@,10i) = Object.Create(#KB_BARREL, 742.7178, 1869.991, 4.3281)
Object.SetRotation(101@(48@,10i), 0.0, 143.0, 0.0)
Game.SwitchRandomTrains(False)
return 

:QUARRY_25306
34@ = 16
Streaming.RequestModel(406)
Streaming.RequestModel(18)
Streaming.RequestModel(#CR_GUNCRATE)
Streaming.LoadAllModelsNow

:QUARRY_25329
if or
  not Streaming.HasModelLoaded(406)
  not Streaming.HasModelLoaded(18)
  not Streaming.HasModelLoaded(#CR_GUNCRATE)
goto_if_false @QUARRY_25365
wait 0
goto @QUARRY_25329

:QUARRY_25365
88@ = Car.Create(406, 816.4832, 845.8509, 9.4934)
Car.SetHeading(88@, 295.4882)
91@ = Car.Create(406, 812.4955, 1144.567, 27.3445)
Car.SetHeading(91@, 116.9096)
Car.LockDoors(91@, CarLock.Locked)
85@ = Char.CreateInsideCar(91@, PedType.CivMale, 18)
50@ = 0
94@(50@,7i) = Object.Create(#CR_GUNCRATE, 815.4841, 846.2587, 15.0409)
Object.AttachToCar(94@(50@,7i), 91@, 0.5, -0.7, 0.7, 90.0, 0.0, 0.0)
50@ += 1
94@(50@,7i) = Object.Create(#CR_GUNCRATE, 816.6973, 844.8737, 15.046)
Object.AttachToCar(94@(50@,7i), 91@, -0.5, -0.7, 0.7, 90.0, 0.0, 0.0)
50@ += 1
94@(50@,7i) = Object.Create(#CR_GUNCRATE, 814.2406, 845.8572, 14.9014)
Object.AttachToCar(94@(50@,7i), 91@, 0.5, -1.7, 0.73, 90.0, 0.0, 0.0)
50@ += 1
94@(50@,7i) = Object.Create(#CR_GUNCRATE, 815.048, 844.0368, 14.8892)
Object.AttachToCar(94@(50@,7i), 91@, -0.5, -1.7, 0.73, 90.0, 0.0, 0.0)
50@ += 1
94@(50@,7i) = Object.Create(#CR_GUNCRATE, 813.2042, 843.0317, 14.7114)
Object.AttachToCar(94@(50@,7i), 91@, 0.5, -2.7, 0.76, 90.0, 0.0, 0.0)
50@ += 1
94@(50@,7i) = Object.Create(#CR_GUNCRATE, 813.2919, 845.4581, 14.8038)
Object.AttachToCar(94@(50@,7i), 91@, -0.5, -2.7, 0.76, 90.0, 0.0, 0.0)
Game.SwitchEmergencyServices(False)
return 

:QUARRY_25912
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Text.ClearSmallPrints
switch_start 45@ {numCases} 14 {hasDefaultCase} 0 {defaultLabel} @QUARRY_26380 {caseNum1} 1 {caseLabel1} @QUARRY_26081 {caseNum2} 2 {caseLabel2} @QUARRY_26104 {caseNum3} 3 {caseLabel3} @QUARRY_26127 {caseNum4} 4 {caseLabel4} @QUARRY_26150 {caseNum5} 5 {caseLabel5} @QUARRY_26173 {caseNum6} 6 {caseLabel6} @QUARRY_26196 {caseNum7} 7 {caseLabel7} @QUARRY_26219
switch_continued 8 {caseLabel1} @QUARRY_26242 {caseNum2} 9 {caseLabel2} @QUARRY_26265 {caseNum3} 10 {caseLabel3} @QUARRY_26058 {caseNum4} 11 {caseLabel4} @QUARRY_26288 {caseNum5} 12 {caseLabel5} @QUARRY_26311 {caseNum6} 13 {caseLabel6} @QUARRY_26334 {caseNum7} 14 {caseLabel7} @QUARRY_26357 {caseNum8} -1 {caseLabel8} @QUARRY_26380 {caseNum9} -1 {caseLabel9} @QUARRY_26380

:QUARRY_26058
Text.PrintNow('QUAR_F0', 5000, 1)
goto @QUARRY_26380

:QUARRY_26081
Text.PrintNow('QUAR_F1', 5000, 1)
goto @QUARRY_26380

:QUARRY_26104
Text.PrintNow('QUAR_F2', 5000, 1)
goto @QUARRY_26380

:QUARRY_26127
Text.PrintNow('QUAR_F3', 5000, 1)
goto @QUARRY_26380

:QUARRY_26150
Text.PrintNow('QUAR_F4', 5000, 1)
goto @QUARRY_26380

:QUARRY_26173
Text.PrintNow('QUAR_F5', 5000, 1)
goto @QUARRY_26380

:QUARRY_26196
Text.PrintNow('QUAR_F6', 5000, 1)
goto @QUARRY_26380

:QUARRY_26219
Text.PrintNow('QUAR_F7', 5000, 1)
goto @QUARRY_26380

:QUARRY_26242
Text.PrintNow('QUAR_F8', 5000, 1)
goto @QUARRY_26380

:QUARRY_26265
Text.PrintNow('QUAR_F9', 5000, 1)
goto @QUARRY_26380

:QUARRY_26288
Text.PrintNow('QUAR_FA', 5000, 1)
goto @QUARRY_26380

:QUARRY_26311
Text.PrintNow('QUAR_FB', 5000, 1)
goto @QUARRY_26380

:QUARRY_26334
Text.PrintNow('QUAR_FC', 5000, 1)
goto @QUARRY_26380

:QUARRY_26357
Text.PrintNow('QUAR_FD', 5000, 1)
goto @QUARRY_26380

:QUARRY_26380
return 

:QUARRY_26382
if 
  207@ == 0
goto_if_false @QUARRY_26423
set_lvar_int_to_lvar_int 50@ = 46@
sub_int_lvar_from_int_lvar 50@ -= 206@
goto @QUARRY_26439

:QUARRY_26423
set_lvar_int_to_lvar_int 50@ = 207@
sub_int_lvar_from_int_lvar 50@ -= 206@

:QUARRY_26439
set_lvar_int_to_lvar_int 51@ = 50@
51@ /= 1000
set_lvar_int_to_lvar_int 52@ = 51@
52@ *= 1000
sub_int_lvar_from_int_lvar 50@ -= 52@
if 
  50@ > 50
goto_if_false @QUARRY_26504
51@ += 1

:QUARRY_26504
293@ = 0
294@ = 0
if 
  is_int_var_equal_to_int_lvar $8178($8175,7i) == 51@
goto_if_false @QUARRY_26555
293@ = 1
goto @QUARRY_26585

:QUARRY_26555
if 
  is_int_var_greater_than_int_lvar $8178($8175,7i) > 51@
goto_if_false @QUARRY_26585
294@ = 1

:QUARRY_26585
if 
  294@ == 1
goto_if_false @QUARRY_26615
set_var_int_to_lvar_int $8178($8175,7i) = 51@

:QUARRY_26615
if and
  $player_has_parachute == 1
  294@ == 1
goto_if_false @QUARRY_26686
set_lvar_int_to_lvar_int 208@ = 51@
208@ /= 60
set_lvar_int_to_lvar_int 50@ = 208@
50@ *= 60
set_lvar_int_to_lvar_int 209@ = 51@
sub_int_lvar_from_int_lvar 209@ -= 50@

:QUARRY_26686
50@ = 0
if 
  $player_has_parachute == 1
goto_if_false @QUARRY_26751
48@ = 0

:QUARRY_26718
add_int_var_to_int_lvar 50@ += $8178(48@,7i)
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_26718

:QUARRY_26751
Stat.SetInt(StatId.QuarryCompletionTime, 50@)
if and
  $player_has_parachute == 1
  294@ == 1
goto_if_false @QUARRY_26830
set_lvar_int_to_lvar_int 210@ = 50@
210@ /= 60
set_lvar_int_to_lvar_int 51@ = 210@
51@ *= 60
set_lvar_int_to_lvar_int 211@ = 50@
sub_int_lvar_from_int_lvar 211@ -= 51@

:QUARRY_26830
$8175 += 1
if 
  $player_has_parachute == 0
goto_if_false @QUARRY_27101
switch_start $8175 {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @QUARRY_27023 {caseNum1} 1 {caseLabel1} @QUARRY_26918 {caseNum2} 2 {caseLabel2} @QUARRY_26933 {caseNum3} 3 {caseLabel3} @QUARRY_26948 {caseNum4} 4 {caseLabel4} @QUARRY_26963 {caseNum5} 5 {caseLabel5} @QUARRY_26978 {caseNum6} 6 {caseLabel6} @QUARRY_26993 {caseNum7} 7 {caseLabel7} @QUARRY_27008

:QUARRY_26918
50@ = 500
goto @QUARRY_27023

:QUARRY_26933
50@ = 1000
goto @QUARRY_27023

:QUARRY_26948
50@ = 2000
goto @QUARRY_27023

:QUARRY_26963
50@ = 3000
goto @QUARRY_27023

:QUARRY_26978
50@ = 5000
goto @QUARRY_27023

:QUARRY_26993
50@ = 7500
goto @QUARRY_27023

:QUARRY_27008
50@ = 10000
goto @QUARRY_27023

:QUARRY_27023
if 
  $8175 == 7
goto_if_false @QUARRY_27067
Text.PrintWithNumberBig('M_PASS', 50@, 3000, TextStyle.Middle)
goto @QUARRY_27086

:QUARRY_27067
Text.PrintWithNumberBig('M_PASS', 50@, 5000, TextStyle.Middle)

:QUARRY_27086
Player.AddScore($statbike_temp, 50@)
goto @QUARRY_27206

:QUARRY_27101
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
if 
  293@ == 1
goto_if_false @QUARRY_27160
Text.PrintNow('QUAR_P5', 5000, 1)
goto @QUARRY_27206

:QUARRY_27160
if 
  294@ == 1
goto_if_false @QUARRY_27206
Text.PrintWith4NumbersNow('QUAR_P6', 208@, 209@, 210@, 211@, 10000, TextStyle.Middle)

:QUARRY_27206
Player.ClearWantedLevel($statbike_temp)
if 
  $player_has_parachute == 0
goto_if_false @QUARRY_27487
if 
  $8175 == 1
goto_if_false @QUARRY_27270
Text.PrintNow('QUAR_P1', 5000, 1)
goto @QUARRY_27480

:QUARRY_27270
if 
  $8175 == 7
goto_if_false @QUARRY_27461
Stat.RegisterOddjobMissionPassed
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(2)
$player_has_parachute = 1
$8175 = 0
Text.PrintBig('QUAR_P2', 4000, TextStyle.MiddleSmaller)
50@ = 0
if 
  $player_has_parachute == 1
goto_if_false @QUARRY_27393
48@ = 0

:QUARRY_27360
add_int_var_to_int_lvar 50@ += $8178(48@,7i)
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_27360

:QUARRY_27393
Stat.SetInt(StatId.QuarryCompletionTime, 50@)
set_lvar_int_to_lvar_int 210@ = 50@
210@ /= 60
set_lvar_int_to_lvar_int 51@ = 210@
51@ *= 60
set_lvar_int_to_lvar_int 211@ = 50@
sub_int_lvar_from_int_lvar 211@ -= 51@
295@ = 1
goto @QUARRY_27480

:QUARRY_27461
Text.PrintWithNumberNow('QUAR_P4', $8175, 5000, 1)

:QUARRY_27480
goto @QUARRY_27512

:QUARRY_27487
if 
  $8175 == 7
goto_if_false @QUARRY_27512
$8175 = 0

:QUARRY_27512
if 
  $player_has_parachute == 1
goto_if_false @QUARRY_27544
CarGenerator.Switch($gen_car5, 101)
CarGenerator.Switch($gen_car6, 101)

:QUARRY_27544
return 

:QUARRY_27546
Car.MarkAsNoLongerNeeded(86@)
Car.MarkAsNoLongerNeeded(87@)
Car.MarkAsNoLongerNeeded(88@)
Car.MarkAsNoLongerNeeded(89@)
Car.MarkAsNoLongerNeeded(91@)
Char.MarkAsNoLongerNeeded(85@)
Object.MarkAsNoLongerNeeded(92@)
Object.MarkAsNoLongerNeeded(93@)
Object.MarkAsNoLongerNeeded(121@)
Train.MarkAsNoLongerNeeded(90@)
48@ = 0

:QUARRY_27603
Object.MarkAsNoLongerNeeded(94@(48@,7i))
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_27603
48@ = 0

:QUARRY_27640
Object.MarkAsNoLongerNeeded(101@(48@,10i))
48@ += 1
  48@ >= 10
goto_if_false @QUARRY_27640
48@ = 0

:QUARRY_27677
Object.MarkAsNoLongerNeeded(111@(48@,3i))
48@ += 1
  48@ >= 3
goto_if_false @QUARRY_27677
48@ = 0

:QUARRY_27714
Object.MarkAsNoLongerNeeded(114@(48@,7i))
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_27714
48@ = 0

:QUARRY_27751
Object.MarkAsNoLongerNeeded(122@(48@,3i))
48@ += 1
  48@ >= 3
goto_if_false @QUARRY_27751
48@ = 0

:QUARRY_27788
Checkpoint.Delete(190@(48@,7i))
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_27788
Checkpoint.Delete(197@)
Blip.Remove(125@)
Blip.Remove(126@)
Blip.Remove(128@)
Blip.Remove(130@)
Blip.Remove(129@)
Blip.Remove(131@)
Blip.Remove(132@)
Blip.Remove(140@)
Blip.Remove(141@)
Blip.Remove(152@)
Blip.Remove(127@)
48@ = 0

:QUARRY_27885
Blip.Remove(133@(48@,7i))
48@ += 1
  48@ >= 7
goto_if_false @QUARRY_27885
48@ = 0

:QUARRY_27922
Blip.Remove(142@(48@,10i))
48@ += 1
  48@ >= 10
goto_if_false @QUARRY_27922
Hud.ClearTimer($8176)
Hud.ClearCounter($8177)
World.ClearAllScriptFireFlags
if 
  262@ == 1
goto_if_false @QUARRY_27984
Text.ClearHelp

:QUARRY_27984
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(486)
Streaming.MarkModelAsNoLongerNeeded(406)
Streaming.MarkModelAsNoLongerNeeded(#DYN_QUARRYROCK02)
Streaming.MarkModelAsNoLongerNeeded(#DEAD_TIED_COP)
Streaming.MarkModelAsNoLongerNeeded(#DYN_QUARRYROCK03)
Streaming.MarkModelAsNoLongerNeeded(523)
Streaming.MarkModelAsNoLongerNeeded(#CR_AMMOBOX)
Streaming.MarkModelAsNoLongerNeeded(#KB_BARREL)
Streaming.MarkModelAsNoLongerNeeded(538)
Streaming.MarkModelAsNoLongerNeeded(570)
Streaming.MarkModelAsNoLongerNeeded(18)
Streaming.MarkModelAsNoLongerNeeded(#CR_GUNCRATE)
Streaming.MarkModelAsNoLongerNeeded(#CM_BOX)
Streaming.MarkModelAsNoLongerNeeded(#BLACKBAG2)
Streaming.MarkModelAsNoLongerNeeded(#DYN_WOODPILE)
Streaming.MarkModelAsNoLongerNeeded(#DYN_WOODPILE2)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
Game.SwitchEmergencyServices(True)
Game.SwitchRandomTrains(True)
if 
  283@ == 1
goto_if_false @QUARRY_28307
Path.SwitchRoadsBackToOriginal(256.6312, 734.7498, 4.0053, 343.9576, 765.6713, 6.4852)
Path.SwitchRoadsBackToOriginal(291.2253, 762.6765, 4.0625, 354.4869, 784.4223, 6.6101)
Path.SwitchRoadsBackToOriginal(-149.9865, 460.067, 4.9719, -119.7325, 530.4155, 12.4813)
Path.SwitchRoadsBackToOriginal(-100.9858, 1190.38, 16.1736, 97.0928, 1205.202, 19.9344)
Path.SwitchRoadsBackToOriginal(-124.9028, 1209.581, 14.6519, -108.1954, 1243.821, 19.8554)
Path.SwitchRoadsBackToOriginal(-113.2273, 1246.477, 11.3781, -84.1825, 1268.751, 17.5621)

:QUARRY_28307
$flag_courier_mission_passed = Clock.GetGameTimer()
Text.DrawOddjobTitleBeforeFade(True)
$weapon_shop1_blip = 0
$wuzi = 0
Mission.Finish
return 

//-------------Mission 119---------------
// Originally: Boat School

:BOAT
script_name 'BOAT'
gosub @BOAT_416
if 
  has_deatharrest_been_executed 
goto_if_false @BOAT_38
gosub @BOAT_39135

:BOAT_38
gosub @BOAT_39253
terminate_this_script 
if 
  $weapon_shop1_blip == 0
goto_if_false @BOAT_416
if 
  36@ == 13
goto_if_false @BOAT_416
37@ = Car.Create(415, 0.0, 0.0, 0.0)
46@ = Car.Create(415, 5.0, 5.0, 10.0)
47@ = Char.Create(PedType.Mission1, 210, 20.0, 20.0, 20.0)
39@ = Char.Create(PedType.Mission1, 210, 30.0, 30.0, 20.0)
42@ = Char.Create(PedType.Mission1, 210, 30.0, 30.0, 20.0)
43@ = Char.Create(PedType.Mission1, 210, 30.0, 30.0, 20.0)
40@ = Car.Create(415, 0.0, 0.0, 0.0)
41@ = Car.Create(415, 0.0, 0.0, 0.0)
45@ = Char.Create(PedType.Mission1, 210, 30.0, 30.0, 20.0)
44@ = Car.Create(415, 0.0, 0.0, 0.0)
156@ = 0

:BOAT_330
if 
  13 > 156@
goto_if_false @BOAT_416
56@(156@,50i) = Object.CreateNoOffset(#BOUY, 0.0, 0.0, 100.0)
106@(156@,50i) = Object.CreateNoOffset(#WATERJUMP1, 0.0, 0.0, 150.0)
156@ += 1
goto @BOAT_330

:BOAT_416
$weapon_shop1_blip = 1
if 
  $boat_simplecircuit_bronzeachieved == 0
goto_if_false @BOAT_443
Stat.RegisterMissionGiven

:BOAT_443
Text.LoadMissionText('BOAT')
Stat.ShowUpdateStats(False)
Hud.DisplayCarNames(False)
Hud.DisplayZoneNames(False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BOAT_489
Player.SetCanDoDriveBy($statbike_temp, False)

:BOAT_489
wait 0
249@ = 0
251@ = 0
34@ = 0
35@ = 0
248@ = 0
36@ = 0
$boat_fade_flag = 1
182@ = -2215.58
183@ = 2391.7
184@ = 3.965
174@ = -2185.335
175@ = 2410.409
176@ = 3.9752
177@ = 122.2585
178@ = -2216.327
179@ = 2393.209
180@ = 3.9
181@ = 238.0
55@ = 0
158@ = 0
159@ = 0
160@ = 0
161@ = 0
162@ = 0
$g_Taxiodd_timerKM = 0
$g_Taxiodd_bonusKM = 0
169@ = 0
232@ = 0
192@ = 0.0
193@ = 0.0
194@ = 0.0
212@ = 12000
213@ = 12000
214@ = 10500
215@ = 9700
216@ = 40000
217@ = 40000
218@ = 37000
219@ = 33000
220@ = 120000
221@ = 120000
222@ = 85000
223@ = 80000
224@ = 55
225@ = 55
226@ = 63
227@ = 67
228@ = 180000
229@ = 180000
230@ = 150000
231@ = 130000
Camera.SetFadingColor(0, 0, 0)
wait 0
Streaming.RequestModel(210)
Streaming.RequestModel(473)
Streaming.RequestModel(497)
Streaming.RequestModel(472)
Streaming.RequestModel(484)
Streaming.RequestModel(454)
Streaming.RequestModel(539)
Streaming.LoadAllModelsNow

:BOAT_981
if or
  not Streaming.HasModelLoaded(210)
  not Streaming.HasModelLoaded(473)
  not Streaming.HasModelLoaded(497)
  not Streaming.HasModelLoaded(472)
goto_if_false @BOAT_1023
wait 0
goto @BOAT_981

:BOAT_1023
if or
  not Streaming.HasModelLoaded(484)
  not Streaming.HasModelLoaded(454)
  not Streaming.HasModelLoaded(539)
goto_if_false @BOAT_1060
wait 0
goto @BOAT_1023

:BOAT_1060
Txd.LoadDictionary('LD_DRV')
Txd.LoadSprite(1, "BRONZE")
Txd.LoadSprite(2, "SILVER")
Txd.LoadSprite(3, "GOLD")
Txd.LoadSprite(4, "RIBB")
Txd.LoadSprite(5, "TVCORN")
Txd.LoadSprite(6, "NAWARD")
Txd.LoadSprite(7, "RIBBW")
Txd.LoadSprite(8, "BLKDOT")
Txd.LoadSprite(9, "TVBASE")
Char.SetCoordinates($stattreadstamina_ctr, 174@, 175@, 176@)
Char.SetHeading($stattreadstamina_ctr, 177@)
Char.SetDrownsInWater($stattreadstamina_ctr, False)
38@ = Char.Create(PedType.Mission1, 210, 178@, 179@, 180@)
Char.SetHeading(38@, 181@)
Char.SetNeverTargeted(38@, True)
if 
  $boat_alpha == 0
goto_if_false @BOAT_1262
$boat_alpha = 50

:BOAT_1262
wait 0
if 
  $boat_alpha == 50
goto_if_false @BOAT_1316
goto @BOAT_1323
if 
  Char.IsDead(38@)
goto_if_false @BOAT_1316
Text.ClearHelp
goto @BOAT_39135

:BOAT_1316
goto @BOAT_1262

:BOAT_1323
Hud.Display(False)
Hud.DisplayRadar(False)
Player.SetControl($statbike_temp, False)
Text.ClearHelp
Text.ClearPrints
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
gosub @BOAT_20952
$boat_which_medal_displayed = 0
$boat_which_score_displayed = 0
Text.UseCommands(True)
$g_Taxiodd_faresKM = 255
$boat_timer = 2
if 
  6 > $boat_skijump_best_score
goto_if_false @BOAT_1422
set_var_int_to_var_int $boat_fade_flag = $boat_skijump_best_score

:BOAT_1422
gosub @BOAT_26384
Hud.Display(False)
Hud.DisplayRadar(False)
Streaming.SetAreaVisible(0)
Camera.DoFade(500, Fade.In)

:BOAT_1448
wait 0
gosub @BOAT_26384
if 
  34@ == 0
goto_if_false @BOAT_1491
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 3800)
34@ = 1

:BOAT_1491
if 
  34@ == 1
goto_if_false @BOAT_1531
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @BOAT_1531
34@ = 2

:BOAT_1531
if 
  34@ == 2
goto_if_false @BOAT_1560
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
34@ = 3

:BOAT_1560
Weather.ForceNow(WeatherType.ExtraSunnyCountryside)
Clock.SetTimeOfDay(12, 50)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1000)
if 
  $boat_which_score_displayed == 0
goto_if_false @BOAT_2246
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  -100 > $been_in_a_bmx
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @BOAT_1698
if 
  $boat_skijump_best_score > 1
goto_if_false @BOAT_1698
$boat_fade_flag -= 1
if 
  4 > $boat_which_medal_displayed
goto_if_false @BOAT_1698
$boat_which_medal_displayed = 3

:BOAT_1698
if or
  $been_in_a_bmx > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @BOAT_1772
if 
  $boat_skijump_best_score > 1
goto_if_false @BOAT_1772
$boat_fade_flag += 1
if 
  4 > $boat_which_medal_displayed
goto_if_false @BOAT_1772
$boat_which_medal_displayed = 3

:BOAT_1772
if 
  1 > $boat_fade_flag
goto_if_false @BOAT_1798
set_var_int_to_var_int $boat_fade_flag = $boat_skijump_best_score

:BOAT_1798
if 
  is_int_var_greater_than_int_var $boat_fade_flag > $boat_skijump_best_score
goto_if_false @BOAT_1824
$boat_fade_flag = 1

:BOAT_1824
if 
  $boat_skijump_best_score > 1
goto_if_false @BOAT_2016

:BOAT_1842
if 
  -100 > $been_in_a_bmx
goto_if_false @BOAT_1894
wait 0
gosub @BOAT_26384
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
goto @BOAT_1842

:BOAT_1894
if 
  $been_in_a_bmx > 100
goto_if_false @BOAT_1946
wait 0
gosub @BOAT_26384
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
goto @BOAT_1894

:BOAT_1946
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @BOAT_1981
wait 0
gosub @BOAT_26384
goto @BOAT_1946

:BOAT_1981
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @BOAT_2016
wait 0
gosub @BOAT_26384
goto @BOAT_1981

:BOAT_2016
if 
is_japanese_version 
goto_if_false @BOAT_2096
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @BOAT_2089
if 
  4 > $boat_which_medal_displayed
goto_if_false @BOAT_2071
$boat_which_medal_displayed = 3

:BOAT_2071
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
34@ = 0
goto @BOAT_2260

:BOAT_2089
goto @BOAT_2156

:BOAT_2096
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BOAT_2156
if 
  4 > $boat_which_medal_displayed
goto_if_false @BOAT_2138
$boat_which_medal_displayed = 3

:BOAT_2138
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
34@ = 0
goto @BOAT_2260

:BOAT_2156
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @BOAT_2178
$boat_skijump_best_score = 5

:BOAT_2178
if 
is_japanese_version 
goto_if_false @BOAT_2222
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BOAT_2215
goto @BOAT_39135

:BOAT_2215
goto @BOAT_2246

:BOAT_2222
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BOAT_2246
goto @BOAT_39135

:BOAT_2246
gosub @BOAT_33714
goto @BOAT_1448

:BOAT_2260
Camera.DoFade(500, Fade.Out)

:BOAT_2267
if 
  Camera.GetFadingStatus
goto_if_false @BOAT_2298
wait 0
gosub @BOAT_26384
goto @BOAT_2267

:BOAT_2298
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_2319
Car.StopPlayback(37@)

:BOAT_2319
Camera.RestoreJumpcut
Car.Delete(37@)
Car.Delete(46@)
Char.Delete(47@)
Char.Delete(39@)
gosub @BOAT_39049
$boat_which_medal_displayed = 5
Hud.Display(True)
Hud.DisplayRadar(True)
if 
  $boat_fade_flag == 1
goto_if_false @BOAT_4137

:BOAT_2381
gosub @BOAT_35444

:BOAT_2388
Player.SetControl($statbike_temp, True)
gosub @BOAT_20952
46@ = Car.Create(497, -3303.627, 2105.29, 200.0)
Char.Delete(47@)
47@ = Char.CreateInsideCar(46@, PedType.Mission1, 210)
248@ = 0
Char.ClearTasks(47@)
Heli.SetBladesFullSpeed(46@)
Car.SetCruiseSpeed(46@, 250.0)
Heli.GotoCoords(46@, -2303.627, 2105.29, 200.0, 200.0, 200.0)
37@ = Car.Create(472, -2323.627, 2105.29, 0.0)
Car.ChangeColor(37@, 1, 114)
Car.SetHeading(37@, 90.0)
39@ = Char.CreateInsideCar(37@, PedType.Mission1, 210)
gosub @BOAT_35621
if 
  $boat_which_medal_displayed == 0
goto_if_false @BOAT_2612
Camera.AttachToVehicleLookAtVehicle(46@, 10.0, 10.0, 0.0, 37@, 0.0, SwitchType.JumpCut)
return 

:BOAT_2612
gosub @BOAT_35036
Text.PrintHelp('BOAT_H2')
Player.SetControl($statbike_temp, True)
52@ = Blip.AddForObject(56@)
51@ = Blip.AddForObject(57@)
53@ = Blip.AddForObject(62@)
54@ = Blip.AddForObject(63@)
Blip.ChangeColor(52@, BlipColor.Yellow)
Blip.ChangeColor(51@, BlipColor.Yellow)
Blip.ChangeColor(53@, BlipColor.Yellow)
Blip.ChangeColor(54@, BlipColor.Yellow)
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_2761
185@, 186@, 187@ = Car.GetCoordinates(37@)
set_lvar_float_to_lvar_float 192@ = 185@
192@ -= 195.0
set_lvar_float_to_lvar_float 193@ = 186@
set_lvar_float_to_lvar_float 194@ = 187@

:BOAT_2761
wait 0
if 
  not Car.IsDead(46@)
goto_if_false @BOAT_2855
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_2855
185@, 186@, 187@ = Car.GetCoordinates(37@)
185@ -= 150.0
186@ -= 150.0
Heli.GotoCoords(46@, 185@, 186@, 187@, 120.0, 120.0)

:BOAT_2855
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BOAT_2886
164@ = 2
goto @BOAT_4077

:BOAT_2886
gosub @BOAT_21642
if 
  164@ == 1
goto_if_false @BOAT_2918
goto @BOAT_39135

:BOAT_2918
if 
  158@ == 0
goto_if_false @BOAT_3234
Text.PrintNow('BOAT_A4', 5000, 1)
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_2976
250@ = Car.GetHealth(37@)

:BOAT_2976
if 
is_xbox_version 
goto_if_false @BOAT_3115
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @BOAT_3108
World.SyncWater
set_lvar_int_to_lvar_int 211@ = 215@
set_lvar_int_to_lvar_int 210@ = 214@
set_lvar_int_to_lvar_int 209@ = 213@
158@ = 1
$nHoldModGarageState = 0
Hud.ClearTimer($nHoldModGarageState)
Hud.DisplayTimerWithString($nHoldModGarageState, TimerDirection.Up, 'BOAT_T1')
198@, 199@, 200@ = Object.GetCoordinates(56@)
195@, 196@, 197@ = Object.GetCoordinates(57@)
TIMERA = 0

:BOAT_3108
goto @BOAT_3234

:BOAT_3115
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @BOAT_3234
World.SyncWater
set_lvar_int_to_lvar_int 211@ = 215@
set_lvar_int_to_lvar_int 210@ = 214@
set_lvar_int_to_lvar_int 209@ = 213@
158@ = 1
$nHoldModGarageState = 0
Hud.ClearTimer($nHoldModGarageState)
Hud.DisplayTimerWithString($nHoldModGarageState, TimerDirection.Up, 'BOAT_T1')
198@, 199@, 200@ = Object.GetCoordinates(56@)
195@, 196@, 197@ = Object.GetCoordinates(57@)
TIMERA = 0

:BOAT_3234
if 
  158@ == 1
goto_if_false @BOAT_3530
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_3484
49@ = Car.GetSpeed(37@)
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, -30.0, False)
goto_if_false @BOAT_3373
Text.PrintNow('BOAT_32', 4000, 1)
if 
  7.0 > 49@
goto_if_false @BOAT_3373
Text.ClearPrints
Text.PrintNow('BOAT_33', 4000, 1)
158@ = 99

:BOAT_3373
if 
  TIMERA > 4500
goto_if_false @BOAT_3429
if 
  not Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, -30.0, False)
goto_if_false @BOAT_3429
Text.ClearPrints

:BOAT_3429
if 
  248@ == 0
goto_if_false @BOAT_3484
if 
  TIMERA > 4500
goto_if_false @BOAT_3484
248@ = 1
Text.PrintHelp('BOAT_A5')

:BOAT_3484
if 
  $nHoldModGarageState > 60000
goto_if_false @BOAT_3530
Text.ClearPrints
Text.PrintNow('BOAT_34', 4000, 1)
158@ = 99

:BOAT_3530
if 
  158@ == 99
goto_if_false @BOAT_4130
gosub @BOAT_21349
gosub @BOAT_21718
if 
  is_int_var_greater_than_int_lvar $boat_hover_best_score > 168@
goto_if_false @BOAT_3768
set_lvar_int_to_var_int 169@ = $boat_hover_best_score
set_var_int_to_lvar_int $boat_hover_best_score = 168@
167@ = 1
gosub @BOAT_22490
if 
  $g_Taxiodd_timerKM == 4
goto_if_false @BOAT_3668
if 
  $boat_slalom_bronzeachieved == 0
goto_if_false @BOAT_3668
$boat_slalom_bronzeachieved = 1
$boat_simplecircuit_goldachieved = 1
$boat_simplecircuit_silverachieved = 1

:BOAT_3668
if 
  $g_Taxiodd_timerKM == 3
goto_if_false @BOAT_3718
if 
  $boat_simplecircuit_goldachieved == 0
goto_if_false @BOAT_3718
$boat_simplecircuit_goldachieved = 1
$boat_simplecircuit_silverachieved = 1

:BOAT_3718
if 
  $g_Taxiodd_timerKM == 2
goto_if_false @BOAT_3761
if 
  $boat_simplecircuit_silverachieved == 0
goto_if_false @BOAT_3761
$boat_simplecircuit_silverachieved = 1

:BOAT_3761
goto @BOAT_3775

:BOAT_3768
$g_Taxiodd_timerKM = 0

:BOAT_3775
if 
  $boat_skijump_best_score == 1
goto_if_false @BOAT_3853
if 
  is_int_lvar_greater_than_int_lvar 212@ > 168@
goto_if_false @BOAT_3853
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1097)
167@ = 2
$boat_skijump_best_score = 2
164@ = 2

:BOAT_3853
TIMERA = 0

:BOAT_3860
if 
  TIMERA > -1
goto_if_false @BOAT_4077
wait 0
gosub @BOAT_22061
if 
is_japanese_version 
goto_if_false @BOAT_3960
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BOAT_3953
164@ = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_4077

:BOAT_3953
goto @BOAT_4011

:BOAT_3960
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BOAT_4011
164@ = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_4077

:BOAT_4011
gosub @BOAT_23021
gosub @BOAT_21165
if 
  165@ == 1
goto_if_false @BOAT_4070
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_4077

:BOAT_4070
goto @BOAT_3860

:BOAT_4077
gosub @BOAT_26120
gosub @BOAT_39049
if 
  164@ == 2
goto_if_false @BOAT_4123
goto @BOAT_1323
goto @BOAT_4130

:BOAT_4123
goto @BOAT_2381

:BOAT_4130
goto @BOAT_2761

:BOAT_4137
if 
  $boat_fade_flag == 2
goto_if_false @BOAT_7011

:BOAT_4155
gosub @BOAT_35444

:BOAT_4162
Player.SetControl($statbike_temp, True)
gosub @BOAT_20952
46@ = Car.Create(497, -2303.627, 2105.29, 200.0)
Char.Delete(47@)
47@ = Char.CreateInsideCar(46@, PedType.Mission1, 210)
Char.ClearTasks(47@)
Heli.SetBladesFullSpeed(46@)
Car.SetCruiseSpeed(46@, 250.0)
Heli.GotoCoords(46@, -2303.627, 2105.29, 200.0, 200.0, 200.0)
37@ = Car.Create(472, -2578.671, 2050.845, 0.0)
Car.ChangeColor(37@, 1, 114)
Car.SetHeading(37@, 0.0)
39@ = Char.CreateInsideCar(37@, PedType.Mission1, 210)
gosub @BOAT_35621
if 
  $boat_which_medal_displayed == 0
goto_if_false @BOAT_4379
Camera.AttachToVehicleLookAtVehicle(46@, 10.0, 10.0, 0.0, 37@, 0.0, SwitchType.JumpCut)
return 

:BOAT_4379
gosub @BOAT_35036
Text.PrintHelp('BOAT_H2')
Player.SetControl($statbike_temp, True)
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_4515
185@, 186@, 187@ = Car.GetCoordinates(37@)
198@, 199@, 200@ = Object.GetCoordinates(56@)
195@, 196@, 197@ = Object.GetCoordinates(57@)
52@ = Blip.AddForObject(56@)
Blip.ChangeColor(52@, BlipColor.Yellow)
51@ = Blip.AddForObject(57@)
Blip.ChangeColor(51@, BlipColor.Yellow)
53@ = Blip.AddForObject(58@)
54@ = Blip.AddForObject(59@)
gosub @BOAT_35577

:BOAT_4515
wait 0
if 
  not Car.IsDead(46@)
goto_if_false @BOAT_4609
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_4609
185@, 186@, 187@ = Car.GetCoordinates(37@)
185@ -= 150.0
186@ -= 150.0
Heli.GotoCoords(46@, 185@, 186@, 187@, 200.0, 200.0)

:BOAT_4609
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BOAT_4640
164@ = 2
goto @BOAT_6951

:BOAT_4640
gosub @BOAT_21642
if 
  164@ == 1
goto_if_false @BOAT_4672
goto @BOAT_39135

:BOAT_4672
if 
  159@ == 0
goto_if_false @BOAT_4894
Text.PrintNow('BOAT_B4', 4000, 1)
if 
is_xbox_version 
goto_if_false @BOAT_4810
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @BOAT_4803
World.SyncWater
set_lvar_int_to_lvar_int 211@ = 219@
set_lvar_int_to_lvar_int 210@ = 218@
set_lvar_int_to_lvar_int 209@ = 217@
159@ = 5
$nHoldModGarageState = 0
Hud.ClearTimer($nHoldModGarageState)
Hud.DisplayTimerWithString($nHoldModGarageState, TimerDirection.Up, 'BOAT_T1')

:BOAT_4803
goto @BOAT_4894

:BOAT_4810
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @BOAT_4894
World.SyncWater
set_lvar_int_to_lvar_int 211@ = 219@
set_lvar_int_to_lvar_int 210@ = 218@
set_lvar_int_to_lvar_int 209@ = 217@
159@ = 5
$nHoldModGarageState = 0
Hud.ClearTimer($nHoldModGarageState)
Hud.DisplayTimerWithString($nHoldModGarageState, TimerDirection.Up, 'BOAT_T1')

:BOAT_4894
if 
  159@ > 0
goto_if_false @BOAT_4940
if 
  $nHoldModGarageState > 600000
goto_if_false @BOAT_4940
159@ = 99

:BOAT_4940
if 
  159@ == 5
goto_if_false @BOAT_5146
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_5146
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_5146
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
Text.ClearHelp
Text.PrintHelp('BOAT_B5')
159@ = 10
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(58@)
195@, 196@, 197@ = Object.GetCoordinates(59@)
52@ = Blip.AddForObject(58@)
51@ = Blip.AddForObject(59@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(60@)
54@ = Blip.AddForObject(61@)
gosub @BOAT_35577

:BOAT_5146
if 
  159@ == 10
goto_if_false @BOAT_5339
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_5339
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_5339
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
159@ = 15
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(60@)
195@, 196@, 197@ = Object.GetCoordinates(61@)
52@ = Blip.AddForObject(60@)
51@ = Blip.AddForObject(61@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(62@)
54@ = Blip.AddForObject(63@)
gosub @BOAT_35577

:BOAT_5339
if 
  159@ == 15
goto_if_false @BOAT_5532
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_5532
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_5532
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
159@ = 20
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(62@)
195@, 196@, 197@ = Object.GetCoordinates(63@)
52@ = Blip.AddForObject(62@)
51@ = Blip.AddForObject(63@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(64@)
54@ = Blip.AddForObject(65@)
gosub @BOAT_35577

:BOAT_5532
if 
  159@ == 20
goto_if_false @BOAT_5725
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_5725
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_5725
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
159@ = 25
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(64@)
195@, 196@, 197@ = Object.GetCoordinates(65@)
52@ = Blip.AddForObject(64@)
51@ = Blip.AddForObject(65@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(66@)
54@ = Blip.AddForObject(67@)
gosub @BOAT_35577

:BOAT_5725
if 
  159@ == 25
goto_if_false @BOAT_5918
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_5918
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_5918
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
159@ = 30
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(66@)
195@, 196@, 197@ = Object.GetCoordinates(67@)
52@ = Blip.AddForObject(66@)
51@ = Blip.AddForObject(67@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(68@)
54@ = Blip.AddForObject(69@)
gosub @BOAT_35577

:BOAT_5918
if 
  159@ == 30
goto_if_false @BOAT_6111
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_6111
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_6111
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
159@ = 35
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(68@)
195@, 196@, 197@ = Object.GetCoordinates(69@)
52@ = Blip.AddForObject(68@)
51@ = Blip.AddForObject(69@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(70@)
54@ = Blip.AddForObject(71@)
gosub @BOAT_35577

:BOAT_6111
if 
  159@ == 35
goto_if_false @BOAT_6288
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_6288
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_6288
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
159@ = 40
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(70@)
195@, 196@, 197@ = Object.GetCoordinates(71@)
52@ = Blip.AddForObject(70@)
51@ = Blip.AddForObject(71@)
Blip.Remove(53@)
Blip.Remove(54@)
gosub @BOAT_35577

:BOAT_6288
if 
  159@ == 40
goto_if_false @BOAT_6404
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_6404
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_6404
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_33', 1000, 1)
159@ = 99
Blip.Remove(52@)
Blip.Remove(51@)

:BOAT_6404
if 
  159@ == 99
goto_if_false @BOAT_7004
gosub @BOAT_21349
gosub @BOAT_21718
if 
  is_int_var_greater_than_int_lvar $boat_cut_watched > 168@
goto_if_false @BOAT_6642
set_lvar_int_to_var_int 169@ = $boat_cut_watched
set_var_int_to_lvar_int $boat_cut_watched = 168@
167@ = 1
gosub @BOAT_22490
if 
  $g_Taxiodd_timerKM == 4
goto_if_false @BOAT_6542
if 
  $boat_skijump_bronzeachieved == 0
goto_if_false @BOAT_6542
$boat_skijump_bronzeachieved = 1
$boat_slalom_goldachieved = 1
$boat_slalom_silverachieved = 1

:BOAT_6542
if 
  $g_Taxiodd_timerKM == 3
goto_if_false @BOAT_6592
if 
  $boat_slalom_goldachieved == 0
goto_if_false @BOAT_6592
$boat_slalom_goldachieved = 1
$boat_slalom_silverachieved = 1

:BOAT_6592
if 
  $g_Taxiodd_timerKM == 2
goto_if_false @BOAT_6635
if 
  $boat_slalom_silverachieved == 0
goto_if_false @BOAT_6635
$boat_slalom_silverachieved = 1

:BOAT_6635
goto @BOAT_6649

:BOAT_6642
$g_Taxiodd_timerKM = 0

:BOAT_6649
if 
  $boat_skijump_best_score == 2
goto_if_false @BOAT_6727
if 
  is_int_lvar_greater_than_int_lvar 216@ > 168@
goto_if_false @BOAT_6727
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1097)
167@ = 2
$boat_skijump_best_score = 3
164@ = 2

:BOAT_6727
TIMERA = 0

:BOAT_6734
if 
  TIMERA > -1
goto_if_false @BOAT_6951
wait 0
gosub @BOAT_22061
if 
is_japanese_version 
goto_if_false @BOAT_6834
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BOAT_6827
164@ = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_6951

:BOAT_6827
goto @BOAT_6885

:BOAT_6834
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BOAT_6885
164@ = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_6951

:BOAT_6885
gosub @BOAT_23021
gosub @BOAT_21165
if 
  165@ == 1
goto_if_false @BOAT_6944
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_6951

:BOAT_6944
goto @BOAT_6734

:BOAT_6951
gosub @BOAT_26120
gosub @BOAT_39049
if 
  164@ == 2
goto_if_false @BOAT_6997
goto @BOAT_1323
goto @BOAT_7004

:BOAT_6997
goto @BOAT_4155

:BOAT_7004
goto @BOAT_4515

:BOAT_7011
if 
  $boat_fade_flag == 3
goto_if_false @BOAT_11605

:BOAT_7029
gosub @BOAT_35444

:BOAT_7036
Player.SetControl($statbike_temp, True)
gosub @BOAT_20952
46@ = Car.Create(497, -2303.627, 2105.29, 200.0)
Char.Delete(47@)
47@ = Char.CreateInsideCar(46@, PedType.Mission1, 210)
Char.ClearTasks(47@)
Heli.SetBladesFullSpeed(46@)
Car.SetCruiseSpeed(46@, 250.0)
Heli.GotoCoords(46@, -2303.627, 2105.29, 200.0, 200.0, 200.0)
37@ = Car.Create(473, -2124.125, 2438.352, 0.0)
Car.ChangeColor(37@, 114, 1)
Car.SetHeading(37@, 180.0)
39@ = Char.CreateInsideCar(37@, PedType.Mission1, 210)
gosub @BOAT_35621
if 
  $boat_which_medal_displayed == 0
goto_if_false @BOAT_7253
Camera.AttachToVehicleLookAtVehicle(46@, 10.0, 10.0, 0.0, 37@, 0.0, SwitchType.JumpCut)
return 

:BOAT_7253
gosub @BOAT_35036
Text.PrintHelp('BOAT_H2')
Player.SetControl($statbike_temp, True)
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_7389
185@, 186@, 187@ = Car.GetCoordinates(37@)
198@, 199@, 200@ = Object.GetCoordinates(56@)
195@, 196@, 197@ = Object.GetCoordinates(57@)
52@ = Blip.AddForObject(56@)
51@ = Blip.AddForObject(57@)
Blip.ChangeColor(52@, BlipColor.Yellow)
Blip.ChangeColor(51@, BlipColor.Yellow)
53@ = Blip.AddForObject(58@)
54@ = Blip.AddForObject(59@)
gosub @BOAT_35577

:BOAT_7389
35@ = 0

:BOAT_7396
wait 0
if 
  35@ == 0
goto_if_false @BOAT_7432
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 6200)
35@ = 1

:BOAT_7432
if 
  35@ == 1
goto_if_false @BOAT_7472
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @BOAT_7472
35@ = 2

:BOAT_7472
if 
  not Car.IsDead(46@)
goto_if_false @BOAT_7562
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_7562
185@, 186@, 187@ = Car.GetCoordinates(37@)
185@ -= 150.0
186@ -= 150.0
Heli.GotoCoords(46@, 185@, 186@, 187@, 200.0, 200.0)

:BOAT_7562
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BOAT_7593
164@ = 2
goto @BOAT_11545

:BOAT_7593
gosub @BOAT_21642
if 
  164@ == 1
goto_if_false @BOAT_7625
goto @BOAT_39135

:BOAT_7625
if 
  160@ == 0
goto_if_false @BOAT_7879
Text.PrintNow('BOAT_C1', 4000, 1)
if 
is_xbox_version 
goto_if_false @BOAT_7779
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @BOAT_7772
World.SyncWater
set_lvar_int_to_lvar_int 211@ = 223@
set_lvar_int_to_lvar_int 210@ = 222@
set_lvar_int_to_lvar_int 209@ = 221@
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 65535)
160@ = 5
$nHoldModGarageState = 0
Hud.ClearTimer($nHoldModGarageState)
Hud.DisplayTimerWithString($nHoldModGarageState, TimerDirection.Up, 'BOAT_T1')

:BOAT_7772
goto @BOAT_7879

:BOAT_7779
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @BOAT_7879
World.SyncWater
set_lvar_int_to_lvar_int 211@ = 223@
set_lvar_int_to_lvar_int 210@ = 222@
set_lvar_int_to_lvar_int 209@ = 221@
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 65535)
160@ = 5
$nHoldModGarageState = 0
Hud.ClearTimer($nHoldModGarageState)
Hud.DisplayTimerWithString($nHoldModGarageState, TimerDirection.Up, 'BOAT_T1')

:BOAT_7879
if 
  160@ > 0
goto_if_false @BOAT_7925
if 
  $nHoldModGarageState > 600000
goto_if_false @BOAT_7925
160@ = 99

:BOAT_7925
if 
  160@ == 5
goto_if_false @BOAT_8118
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_8118
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_8118
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 10
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(58@)
195@, 196@, 197@ = Object.GetCoordinates(59@)
52@ = Blip.AddForObject(58@)
51@ = Blip.AddForObject(59@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(60@)
54@ = Blip.AddForObject(61@)
gosub @BOAT_35577

:BOAT_8118
if 
  160@ == 10
goto_if_false @BOAT_8311
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_8311
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_8311
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 15
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(60@)
195@, 196@, 197@ = Object.GetCoordinates(61@)
52@ = Blip.AddForObject(60@)
51@ = Blip.AddForObject(61@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(62@)
54@ = Blip.AddForObject(63@)
gosub @BOAT_35577

:BOAT_8311
if 
  160@ == 15
goto_if_false @BOAT_8592
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_8592
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_8592
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 20
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(62@)
195@, 196@, 197@ = Object.GetCoordinates(63@)
52@ = Blip.AddForObject(62@)
51@ = Blip.AddForObject(63@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(64@)
54@ = Blip.AddForObject(65@)
gosub @BOAT_35577
if 
  not Car.IsDead(44@)
goto_if_false @BOAT_8592
if 
  not Char.IsDead(45@)
goto_if_false @BOAT_8592
if 
  35@ == 2
goto_if_false @BOAT_8558
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:BOAT_8558
Task.CarDriveToCoord(45@, 44@, -2013.476, 1748.499, 0.0, 18.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_8592
if 
  160@ == 20
goto_if_false @BOAT_8785
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_8785
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_8785
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 25
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(64@)
195@, 196@, 197@ = Object.GetCoordinates(65@)
52@ = Blip.AddForObject(64@)
51@ = Blip.AddForObject(65@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(66@)
54@ = Blip.AddForObject(67@)
gosub @BOAT_35577

:BOAT_8785
if 
  160@ == 25
goto_if_false @BOAT_8978
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_8978
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_8978
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 30
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(66@)
195@, 196@, 197@ = Object.GetCoordinates(67@)
52@ = Blip.AddForObject(66@)
51@ = Blip.AddForObject(67@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(68@)
54@ = Blip.AddForObject(69@)
gosub @BOAT_35577

:BOAT_8978
if 
  160@ == 30
goto_if_false @BOAT_9171
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_9171
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_9171
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 35
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(68@)
195@, 196@, 197@ = Object.GetCoordinates(69@)
52@ = Blip.AddForObject(68@)
51@ = Blip.AddForObject(69@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(70@)
54@ = Blip.AddForObject(71@)
gosub @BOAT_35577

:BOAT_9171
if 
  160@ == 35
goto_if_false @BOAT_9364
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_9364
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_9364
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 40
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(70@)
195@, 196@, 197@ = Object.GetCoordinates(71@)
52@ = Blip.AddForObject(70@)
51@ = Blip.AddForObject(71@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(72@)
54@ = Blip.AddForObject(73@)
gosub @BOAT_35577

:BOAT_9364
if 
  160@ == 40
goto_if_false @BOAT_9557
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_9557
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_9557
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 45
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(72@)
195@, 196@, 197@ = Object.GetCoordinates(73@)
52@ = Blip.AddForObject(72@)
51@ = Blip.AddForObject(73@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(74@)
54@ = Blip.AddForObject(75@)
gosub @BOAT_35577

:BOAT_9557
if 
  160@ == 45
goto_if_false @BOAT_9750
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_9750
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_9750
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 50
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(74@)
195@, 196@, 197@ = Object.GetCoordinates(75@)
52@ = Blip.AddForObject(74@)
51@ = Blip.AddForObject(75@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(76@)
54@ = Blip.AddForObject(77@)
gosub @BOAT_35577

:BOAT_9750
if 
  160@ == 50
goto_if_false @BOAT_9943
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_9943
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_9943
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 55
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(76@)
195@, 196@, 197@ = Object.GetCoordinates(77@)
52@ = Blip.AddForObject(76@)
51@ = Blip.AddForObject(77@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(78@)
54@ = Blip.AddForObject(79@)
gosub @BOAT_35577

:BOAT_9943
if 
  160@ == 55
goto_if_false @BOAT_10136
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_10136
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_10136
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 60
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(78@)
195@, 196@, 197@ = Object.GetCoordinates(79@)
52@ = Blip.AddForObject(78@)
51@ = Blip.AddForObject(79@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(80@)
54@ = Blip.AddForObject(81@)
gosub @BOAT_35577

:BOAT_10136
if 
  160@ == 60
goto_if_false @BOAT_10417
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_10417
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_10417
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 65
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(80@)
195@, 196@, 197@ = Object.GetCoordinates(81@)
52@ = Blip.AddForObject(80@)
51@ = Blip.AddForObject(81@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(82@)
54@ = Blip.AddForObject(83@)
gosub @BOAT_35577
if 
  not Car.IsDead(41@)
goto_if_false @BOAT_10417
if 
  not Char.IsDead(43@)
goto_if_false @BOAT_10417
if 
  35@ == 2
goto_if_false @BOAT_10383
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:BOAT_10383
Task.CarDriveToCoord(43@, 41@, -2763.105, 1954.129, 0.0, 10.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_10417
if 
  160@ == 65
goto_if_false @BOAT_10698
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_10698
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_10698
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 70
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(82@)
195@, 196@, 197@ = Object.GetCoordinates(83@)
52@ = Blip.AddForObject(82@)
51@ = Blip.AddForObject(83@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(56@)
54@ = Blip.AddForObject(57@)
gosub @BOAT_35577
if 
  not Car.IsDead(40@)
goto_if_false @BOAT_10698
if 
  not Char.IsDead(42@)
goto_if_false @BOAT_10698
if 
  35@ == 2
goto_if_false @BOAT_10664
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:BOAT_10664
Task.CarDriveToCoord(42@, 40@, -2763.105, 1954.129, 0.0, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_10698
if 
  160@ == 70
goto_if_false @BOAT_10882
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_10882
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_10882
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
160@ = 80
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(56@)
195@, 196@, 197@ = Object.GetCoordinates(57@)
52@ = Blip.AddForObject(56@)
51@ = Blip.AddForObject(57@)
Blip.ChangeColor(52@, BlipColor.Yellow)
Blip.ChangeColor(51@, BlipColor.Yellow)
Blip.Remove(53@)
Blip.Remove(54@)

:BOAT_10882
if 
  160@ == 80
goto_if_false @BOAT_10998
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_10998
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_10998
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_33', 1000, 1)
160@ = 99
Blip.Remove(52@)
Blip.Remove(51@)

:BOAT_10998
if 
  160@ == 99
goto_if_false @BOAT_11598
gosub @BOAT_21349
gosub @BOAT_21718
if 
  is_int_var_greater_than_int_lvar $boat_passed_once > 168@
goto_if_false @BOAT_11236
set_lvar_int_to_var_int 169@ = $boat_passed_once
set_var_int_to_lvar_int $boat_passed_once = 168@
167@ = 1
gosub @BOAT_22490
if 
  $g_Taxiodd_timerKM == 4
goto_if_false @BOAT_11136
if 
  $boat_hover_bronzeachieved == 0
goto_if_false @BOAT_11136
$boat_hover_bronzeachieved = 1
$boat_skijump_goldachieved = 1
$boat_skijump_silverachieved = 1

:BOAT_11136
if 
  $g_Taxiodd_timerKM == 3
goto_if_false @BOAT_11186
if 
  $boat_skijump_goldachieved == 0
goto_if_false @BOAT_11186
$boat_skijump_goldachieved = 1
$boat_skijump_silverachieved = 1

:BOAT_11186
if 
  $g_Taxiodd_timerKM == 2
goto_if_false @BOAT_11229
if 
  $boat_skijump_silverachieved == 0
goto_if_false @BOAT_11229
$boat_skijump_silverachieved = 1

:BOAT_11229
goto @BOAT_11243

:BOAT_11236
$g_Taxiodd_timerKM = 0

:BOAT_11243
if 
  $boat_skijump_best_score == 3
goto_if_false @BOAT_11321
if 
  is_int_lvar_greater_than_int_lvar 220@ > 168@
goto_if_false @BOAT_11321
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1097)
167@ = 2
$boat_skijump_best_score = 4
164@ = 2

:BOAT_11321
TIMERA = 0

:BOAT_11328
if 
  TIMERA > -1
goto_if_false @BOAT_11545
wait 0
gosub @BOAT_22061
if 
is_japanese_version 
goto_if_false @BOAT_11428
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BOAT_11421
164@ = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_11545

:BOAT_11421
goto @BOAT_11479

:BOAT_11428
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BOAT_11479
164@ = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_11545

:BOAT_11479
gosub @BOAT_23021
gosub @BOAT_21165
if 
  165@ == 1
goto_if_false @BOAT_11538
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_11545

:BOAT_11538
goto @BOAT_11328

:BOAT_11545
gosub @BOAT_26120
gosub @BOAT_39049
if 
  164@ == 2
goto_if_false @BOAT_11591
goto @BOAT_1323
goto @BOAT_11598

:BOAT_11591
goto @BOAT_7029

:BOAT_11598
goto @BOAT_7396

:BOAT_11605
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_13747

:BOAT_11623
gosub @BOAT_35444

:BOAT_11630
Player.SetControl($statbike_temp, True)
gosub @BOAT_20952
46@ = Car.Create(497, -3303.627, 2105.29, 200.0)
Char.Delete(47@)
47@ = Char.CreateInsideCar(46@, PedType.Mission1, 210)
Char.ClearTasks(47@)
Heli.SetBladesFullSpeed(46@)
Car.SetCruiseSpeed(46@, 250.0)
Heli.GotoCoords(46@, -2303.627, 2105.29, 200.0, 200.0, 200.0)
37@ = Car.Create(539, -2584.316, 2213.475, 0.0)
Car.ChangeColor(37@, 78, 14)
Car.SetHeading(37@, 250.0)
39@ = Char.CreateInsideCar(37@, PedType.Mission1, 210)
gosub @BOAT_35621
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_11843
Car.SetCoordinates(37@, -2318.049, 2312.302, 10.0)
Car.SetHeading(37@, 174.6078)

:BOAT_11843
if 
  $boat_which_medal_displayed == 0
goto_if_false @BOAT_11893
Camera.AttachToVehicleLookAtVehicle(46@, 10.0, 10.0, 0.0, 37@, 0.0, SwitchType.JumpCut)
return 

:BOAT_11893
gosub @BOAT_35036
Text.PrintHelp('BOAT_H2')
Player.SetControl($statbike_temp, True)
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_11994
192@ = 0.0
193@ = 0.0
194@ = 0.0
201@ = 0.0
202@ = 0.0
203@ = 0.0

:BOAT_11994
wait 0
if 
  not Car.IsDead(46@)
goto_if_false @BOAT_12088
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_12088
185@, 186@, 187@ = Car.GetCoordinates(37@)
185@ -= 150.0
186@ -= 150.0
Heli.GotoCoords(46@, 185@, 186@, 187@, 120.0, 120.0)

:BOAT_12088
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BOAT_12119
164@ = 2
goto @BOAT_13687

:BOAT_12119
gosub @BOAT_21642
if 
  164@ == 1
goto_if_false @BOAT_12151
goto @BOAT_39135

:BOAT_12151
if 
  161@ == 0
goto_if_false @BOAT_12547
Text.PrintNow('BOAT_D1', 4000, 1)
if 
is_xbox_version 
goto_if_false @BOAT_12376
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @BOAT_12369
World.SyncWater
set_lvar_int_to_lvar_int 211@ = 227@
set_lvar_int_to_lvar_int 210@ = 226@
set_lvar_int_to_lvar_int 209@ = 225@
Hud.ClearTimer($nHoldModGarageState)
$nHoldModGarageState = 46000
161@ = 1
Hud.DisplayTimerWithString($nHoldModGarageState, TimerDirection.Down, 'BOAT_T1')
Blip.Remove(52@)
Blip.Remove(51@)
52@ = Blip.AddForObject(56@)
51@ = Blip.AddForObject(57@)
Blip.ChangeColor(52@, BlipColor.Yellow)
Blip.ChangeColor(51@, BlipColor.Yellow)
198@, 199@, 200@ = Object.GetCoordinates(56@)
195@, 196@, 197@ = Object.GetCoordinates(57@)
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 65535)

:BOAT_12369
goto @BOAT_12547

:BOAT_12376
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @BOAT_12547
World.SyncWater
set_lvar_int_to_lvar_int 211@ = 227@
set_lvar_int_to_lvar_int 210@ = 226@
set_lvar_int_to_lvar_int 209@ = 225@
Hud.ClearTimer($nHoldModGarageState)
$nHoldModGarageState = 46000
161@ = 1
Hud.DisplayTimerWithString($nHoldModGarageState, TimerDirection.Down, 'BOAT_T1')
Blip.Remove(52@)
Blip.Remove(51@)
52@ = Blip.AddForObject(56@)
51@ = Blip.AddForObject(57@)
Blip.ChangeColor(52@, BlipColor.Yellow)
Blip.ChangeColor(51@, BlipColor.Yellow)
198@, 199@, 200@ = Object.GetCoordinates(56@)
195@, 196@, 197@ = Object.GetCoordinates(57@)
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 65535)

:BOAT_12547
if 
  161@ == 1
goto_if_false @BOAT_12700
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_12700
if 
  Char.IsInAngledAreaInCar3D($stattreadstamina_ctr, 198@, 199@, 1.0, 195@, 196@, 3.0, 10.0, False)
goto_if_false @BOAT_12700
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Blip.Remove(52@)
Blip.Remove(51@)
49@ = Car.GetSpeed(37@)
161@ = 2
198@, 199@, 200@ = Object.GetCoordinates(58@)
195@, 196@, 197@ = Object.GetCoordinates(59@)
TIMERB = 0

:BOAT_12700
if 
  161@ == 2
goto_if_false @BOAT_12900
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_12900
if 
  TIMERB > 1000
goto_if_false @BOAT_12900
192@, 193@, 194@ = Car.GetCoordinates(37@)
if 
  1.0 > 194@
goto_if_false @BOAT_12900
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 600.0, False)
goto_if_false @BOAT_12851
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
161@ = 3
TIMERB = 0

:BOAT_12851
if 
  not Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 600.0, False)
goto_if_false @BOAT_12900
161@ = 4
TIMERB = 0

:BOAT_12900
if 
  161@ == 3
goto_if_false @BOAT_12986
201@, 202@, 203@ = Object.GetCoordinates(106@)
246@ = Math.GetDistanceBetweenCoords2D(201@, 202@, 192@, 193@)

:BOAT_12949
if 
  1000 > TIMERB
goto_if_false @BOAT_12979
wait 0
goto @BOAT_12949

:BOAT_12979
161@ = 99

:BOAT_12986
if 
  161@ == 4
goto_if_false @BOAT_13051

:BOAT_13004
if 
  1000 > TIMERB
goto_if_false @BOAT_13034
wait 0
goto @BOAT_13004

:BOAT_13034
246@ = 0.0
161@ = 99

:BOAT_13051
if 
  161@ > 0
goto_if_false @BOAT_13124
if 
  1 > $nHoldModGarageState
goto_if_false @BOAT_13124
Text.ClearPrints
Text.PrintNow('BOAT_34', 4000, 1)
161@ = 99
wait 3000
goto @BOAT_13687

:BOAT_13124
if 
  161@ == 99
goto_if_false @BOAT_13740
gosub @BOAT_21349
gosub @BOAT_21718
if or
  is_int_lvar_greater_than_int_var 168@ > $boat_accelerate_bronzeachieved
  is_int_lvar_greater_than_int_var 168@ > $boat_accelerate_bronzeachieved
goto_if_false @BOAT_13370
set_lvar_int_to_var_int 169@ = $boat_accelerate_bronzeachieved
set_var_int_to_lvar_int $boat_accelerate_bronzeachieved = 168@
167@ = 1
gosub @BOAT_22490
if 
  $g_Taxiodd_timerKM == 4
goto_if_false @BOAT_13270
if 
  $boat_bronze_rewardgiven == 0
goto_if_false @BOAT_13270
$boat_bronze_rewardgiven = 1
$boat_hover_goldachieved = 1
$boat_hover_silverachieved = 1

:BOAT_13270
if 
  $g_Taxiodd_timerKM == 3
goto_if_false @BOAT_13320
if 
  $boat_hover_goldachieved == 0
goto_if_false @BOAT_13320
$boat_hover_goldachieved = 1
$boat_hover_silverachieved = 1

:BOAT_13320
if 
  $g_Taxiodd_timerKM == 2
goto_if_false @BOAT_13363
if 
  $boat_hover_silverachieved == 0
goto_if_false @BOAT_13363
$boat_hover_silverachieved = 1

:BOAT_13363
goto @BOAT_13377

:BOAT_13370
$g_Taxiodd_timerKM = 0

:BOAT_13377
if 
  $boat_skijump_best_score == 4
goto_if_false @BOAT_13463
if or
  is_int_lvar_greater_than_int_lvar 168@ > 224@
  is_int_lvar_equal_to_int_lvar 168@ == 224@
goto_if_false @BOAT_13463
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1097)
167@ = 2
$boat_skijump_best_score = 5
164@ = 2

:BOAT_13463
TIMERA = 0

:BOAT_13470
if 
  TIMERA > -1
goto_if_false @BOAT_13687
wait 0
gosub @BOAT_22061
if 
is_japanese_version 
goto_if_false @BOAT_13570
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BOAT_13563
164@ = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_13687

:BOAT_13563
goto @BOAT_13621

:BOAT_13570
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BOAT_13621
164@ = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_13687

:BOAT_13621
gosub @BOAT_23021
gosub @BOAT_21165
if 
  165@ == 1
goto_if_false @BOAT_13680
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_13687

:BOAT_13680
goto @BOAT_13470

:BOAT_13687
gosub @BOAT_26120
gosub @BOAT_39049
if 
  164@ == 2
goto_if_false @BOAT_13733
goto @BOAT_1323
goto @BOAT_13740

:BOAT_13733
goto @BOAT_11623

:BOAT_13740
goto @BOAT_11994

:BOAT_13747
if 
  $boat_fade_flag == 5
goto_if_false @BOAT_20952

:BOAT_13765
gosub @BOAT_35444

:BOAT_13772
Player.SetControl($statbike_temp, True)
gosub @BOAT_20952
46@ = Car.Create(497, -2303.627, 2105.29, 200.0)
Char.Delete(47@)
47@ = Char.CreateInsideCar(46@, PedType.Mission1, 210)
Char.ClearTasks(47@)
Heli.SetBladesFullSpeed(46@)
Car.SetCruiseSpeed(46@, 250.0)
Heli.GotoCoords(46@, -2303.627, 2105.29, 200.0, 200.0, 200.0)
37@ = Car.Create(539, -2014.267, 2365.429, 6.0509)
Car.ChangeColor(37@, 6, 2)
Car.SetHeading(37@, 111.0)
39@ = Char.CreateInsideCar(37@, PedType.Mission1, 210)
gosub @BOAT_35621
if 
  $boat_which_medal_displayed == 0
goto_if_false @BOAT_13989
Camera.AttachToVehicleLookAtVehicle(46@, 10.0, 10.0, 0.0, 37@, 0.0, SwitchType.JumpCut)
return 

:BOAT_13989
gosub @BOAT_35036
Text.PrintHelp('BOAT_H2')
Player.SetControl($statbike_temp, True)
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_14118
185@, 186@, 187@ = Car.GetCoordinates(37@)
198@, 199@, 200@ = Object.GetCoordinates(56@)
195@, 196@, 197@ = Object.GetCoordinates(57@)
52@ = Blip.AddForObject(56@)
51@ = Blip.AddForObject(57@)
53@ = Blip.AddForObject(58@)
54@ = Blip.AddForObject(59@)
gosub @BOAT_35577
Car.FreezePosition(37@, True)

:BOAT_14118
35@ = 0

:BOAT_14125
wait 0
if 
  35@ == 0
goto_if_false @BOAT_14161
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 6200)
35@ = 1

:BOAT_14161
if 
  35@ == 1
goto_if_false @BOAT_14201
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @BOAT_14201
35@ = 2

:BOAT_14201
if 
is_ps2_keyboard_key_pressed 87
goto_if_false @BOAT_14223
162@ = 99

:BOAT_14223
if 
  not Car.IsDead(46@)
goto_if_false @BOAT_14313
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_14313
185@, 186@, 187@ = Car.GetCoordinates(37@)
185@ -= 150.0
186@ -= 150.0
Heli.GotoCoords(46@, 185@, 186@, 187@, 200.0, 200.0)

:BOAT_14313
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BOAT_14344
164@ = 2
goto @BOAT_20758

:BOAT_14344
gosub @BOAT_21642
if 
  164@ == 1
goto_if_false @BOAT_14376
goto @BOAT_39135

:BOAT_14376
if 
  162@ == 0
goto_if_false @BOAT_14644
Text.PrintNow('BOAT_C1', 4000, 1)
if 
is_xbox_version 
goto_if_false @BOAT_14537
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @BOAT_14530
World.SyncWater
set_lvar_int_to_lvar_int 211@ = 231@
set_lvar_int_to_lvar_int 210@ = 230@
set_lvar_int_to_lvar_int 209@ = 229@
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 65535)
162@ = 5
$nHoldModGarageState = 0
Hud.ClearTimer($nHoldModGarageState)
Hud.DisplayTimerWithString($nHoldModGarageState, TimerDirection.Up, 'BOAT_T1')
Car.FreezePosition(37@, False)

:BOAT_14530
goto @BOAT_14644

:BOAT_14537
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @BOAT_14644
World.SyncWater
set_lvar_int_to_lvar_int 211@ = 231@
set_lvar_int_to_lvar_int 210@ = 230@
set_lvar_int_to_lvar_int 209@ = 229@
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 65535)
162@ = 5
$nHoldModGarageState = 0
Hud.ClearTimer($nHoldModGarageState)
Hud.DisplayTimerWithString($nHoldModGarageState, TimerDirection.Up, 'BOAT_T1')
Car.FreezePosition(37@, False)

:BOAT_14644
if 
  162@ > 0
goto_if_false @BOAT_14690
if 
  $nHoldModGarageState > 600000
goto_if_false @BOAT_14690
162@ = 99

:BOAT_14690
if 
  162@ == 5
goto_if_false @BOAT_14883
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_14883
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_14883
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 10
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(58@)
195@, 196@, 197@ = Object.GetCoordinates(59@)
52@ = Blip.AddForObject(58@)
51@ = Blip.AddForObject(59@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(60@)
54@ = Blip.AddForObject(61@)
gosub @BOAT_35577

:BOAT_14883
if 
  162@ == 10
goto_if_false @BOAT_15076
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_15076
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_15076
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 15
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(60@)
195@, 196@, 197@ = Object.GetCoordinates(61@)
52@ = Blip.AddForObject(60@)
51@ = Blip.AddForObject(61@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(62@)
54@ = Blip.AddForObject(63@)
gosub @BOAT_35577

:BOAT_15076
if 
  162@ == 15
goto_if_false @BOAT_15269
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_15269
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_15269
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 20
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(62@)
195@, 196@, 197@ = Object.GetCoordinates(63@)
52@ = Blip.AddForObject(62@)
51@ = Blip.AddForObject(63@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(64@)
54@ = Blip.AddForObject(65@)
gosub @BOAT_35577

:BOAT_15269
if 
  162@ == 20
goto_if_false @BOAT_15462
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_15462
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_15462
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 25
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(64@)
195@, 196@, 197@ = Object.GetCoordinates(65@)
52@ = Blip.AddForObject(64@)
51@ = Blip.AddForObject(65@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(66@)
54@ = Blip.AddForObject(67@)
gosub @BOAT_35577

:BOAT_15462
if 
  162@ == 25
goto_if_false @BOAT_15655
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_15655
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_15655
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 30
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(66@)
195@, 196@, 197@ = Object.GetCoordinates(67@)
52@ = Blip.AddForObject(66@)
51@ = Blip.AddForObject(67@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(68@)
54@ = Blip.AddForObject(69@)
gosub @BOAT_35577

:BOAT_15655
if 
  162@ == 30
goto_if_false @BOAT_15848
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_15848
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_15848
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 35
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(68@)
195@, 196@, 197@ = Object.GetCoordinates(69@)
52@ = Blip.AddForObject(68@)
51@ = Blip.AddForObject(69@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(70@)
54@ = Blip.AddForObject(71@)
gosub @BOAT_35577

:BOAT_15848
if 
  162@ == 35
goto_if_false @BOAT_16041
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_16041
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_16041
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 40
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(70@)
195@, 196@, 197@ = Object.GetCoordinates(71@)
52@ = Blip.AddForObject(70@)
51@ = Blip.AddForObject(71@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(72@)
54@ = Blip.AddForObject(73@)
gosub @BOAT_35577

:BOAT_16041
if 
  162@ == 40
goto_if_false @BOAT_16234
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_16234
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_16234
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 45
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(72@)
195@, 196@, 197@ = Object.GetCoordinates(73@)
52@ = Blip.AddForObject(72@)
51@ = Blip.AddForObject(73@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(74@)
54@ = Blip.AddForObject(75@)
gosub @BOAT_35577

:BOAT_16234
if 
  162@ == 45
goto_if_false @BOAT_16427
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_16427
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_16427
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 50
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(74@)
195@, 196@, 197@ = Object.GetCoordinates(75@)
52@ = Blip.AddForObject(74@)
51@ = Blip.AddForObject(75@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(76@)
54@ = Blip.AddForObject(77@)
gosub @BOAT_35577

:BOAT_16427
if 
  162@ == 50
goto_if_false @BOAT_16620
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_16620
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_16620
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 55
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(76@)
195@, 196@, 197@ = Object.GetCoordinates(77@)
52@ = Blip.AddForObject(76@)
51@ = Blip.AddForObject(77@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(78@)
54@ = Blip.AddForObject(79@)
gosub @BOAT_35577

:BOAT_16620
if 
  162@ == 55
goto_if_false @BOAT_16813
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_16813
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_16813
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 60
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(78@)
195@, 196@, 197@ = Object.GetCoordinates(79@)
52@ = Blip.AddForObject(78@)
51@ = Blip.AddForObject(79@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(80@)
54@ = Blip.AddForObject(81@)
gosub @BOAT_35577

:BOAT_16813
if 
  162@ == 60
goto_if_false @BOAT_17094
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_17094
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_17094
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 65
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(80@)
195@, 196@, 197@ = Object.GetCoordinates(81@)
52@ = Blip.AddForObject(80@)
51@ = Blip.AddForObject(81@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(82@)
54@ = Blip.AddForObject(83@)
gosub @BOAT_35577
if 
  not Car.IsDead(41@)
goto_if_false @BOAT_17094
if 
  not Char.IsDead(43@)
goto_if_false @BOAT_17094
if 
  35@ == 2
goto_if_false @BOAT_17060
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:BOAT_17060
Task.CarDriveToCoord(43@, 41@, -2763.105, 1954.129, 0.0, 10.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_17094
if 
  162@ == 65
goto_if_false @BOAT_17375
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_17375
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_17375
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 70
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(82@)
195@, 196@, 197@ = Object.GetCoordinates(83@)
52@ = Blip.AddForObject(82@)
51@ = Blip.AddForObject(83@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(84@)
54@ = Blip.AddForObject(85@)
gosub @BOAT_35577
if 
  not Car.IsDead(40@)
goto_if_false @BOAT_17375
if 
  not Char.IsDead(42@)
goto_if_false @BOAT_17375
if 
  35@ == 2
goto_if_false @BOAT_17341
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:BOAT_17341
Task.CarDriveToCoord(42@, 40@, -2763.105, 1954.129, 0.0, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_17375
if 
  162@ == 70
goto_if_false @BOAT_17634
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_17634
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_17634
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 75
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(84@)
195@, 196@, 197@ = Object.GetCoordinates(85@)
52@ = Blip.AddForObject(84@)
51@ = Blip.AddForObject(85@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(86@)
54@ = Blip.AddForObject(87@)
gosub @BOAT_35577
if 
  not Car.IsDead(40@)
goto_if_false @BOAT_17634
if 
  not Char.IsDead(42@)
goto_if_false @BOAT_17634
Task.CarDriveToCoord(42@, 40@, -2763.105, 1954.129, 0.0, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_17634
if 
  162@ == 75
goto_if_false @BOAT_17915
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_17915
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_17915
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 80
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(86@)
195@, 196@, 197@ = Object.GetCoordinates(87@)
52@ = Blip.AddForObject(86@)
51@ = Blip.AddForObject(87@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(88@)
54@ = Blip.AddForObject(89@)
gosub @BOAT_35577
if 
  not Car.IsDead(40@)
goto_if_false @BOAT_17915
if 
  not Char.IsDead(42@)
goto_if_false @BOAT_17915
if 
  35@ == 2
goto_if_false @BOAT_17881
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:BOAT_17881
Task.CarDriveToCoord(42@, 40@, -2763.105, 1954.129, 0.0, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_17915
if 
  162@ == 80
goto_if_false @BOAT_18174
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_18174
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_18174
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 82
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(88@)
195@, 196@, 197@ = Object.GetCoordinates(89@)
52@ = Blip.AddForObject(88@)
51@ = Blip.AddForObject(89@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(90@)
54@ = Blip.AddForObject(91@)
gosub @BOAT_35577
if 
  not Car.IsDead(40@)
goto_if_false @BOAT_18174
if 
  not Char.IsDead(42@)
goto_if_false @BOAT_18174
Task.CarDriveToCoord(42@, 40@, -2763.105, 1954.129, 0.0, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_18174
if 
  162@ == 82
goto_if_false @BOAT_18455
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_18455
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_18455
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 84
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(90@)
195@, 196@, 197@ = Object.GetCoordinates(91@)
52@ = Blip.AddForObject(90@)
51@ = Blip.AddForObject(91@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(92@)
54@ = Blip.AddForObject(93@)
gosub @BOAT_35577
if 
  not Car.IsDead(40@)
goto_if_false @BOAT_18455
if 
  not Char.IsDead(42@)
goto_if_false @BOAT_18455
if 
  35@ == 2
goto_if_false @BOAT_18421
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:BOAT_18421
Task.CarDriveToCoord(42@, 40@, -2763.105, 1954.129, 0.0, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_18455
if 
  162@ == 84
goto_if_false @BOAT_18714
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_18714
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_18714
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 86
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(92@)
195@, 196@, 197@ = Object.GetCoordinates(93@)
52@ = Blip.AddForObject(92@)
51@ = Blip.AddForObject(93@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(94@)
54@ = Blip.AddForObject(95@)
gosub @BOAT_35577
if 
  not Car.IsDead(40@)
goto_if_false @BOAT_18714
if 
  not Char.IsDead(42@)
goto_if_false @BOAT_18714
Task.CarDriveToCoord(42@, 40@, -2763.105, 1954.129, 0.0, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_18714
if 
  162@ == 86
goto_if_false @BOAT_18973
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_18973
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_18973
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 88
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(94@)
195@, 196@, 197@ = Object.GetCoordinates(95@)
52@ = Blip.AddForObject(94@)
51@ = Blip.AddForObject(95@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(96@)
54@ = Blip.AddForObject(97@)
gosub @BOAT_35577
if 
  not Car.IsDead(40@)
goto_if_false @BOAT_18973
if 
  not Char.IsDead(42@)
goto_if_false @BOAT_18973
Task.CarDriveToCoord(42@, 40@, -2763.105, 1954.129, 0.0, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_18973
if 
  162@ == 88
goto_if_false @BOAT_19232
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_19232
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_19232
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 90
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(96@)
195@, 196@, 197@ = Object.GetCoordinates(97@)
52@ = Blip.AddForObject(96@)
51@ = Blip.AddForObject(97@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(98@)
54@ = Blip.AddForObject(99@)
gosub @BOAT_35577
if 
  not Car.IsDead(40@)
goto_if_false @BOAT_19232
if 
  not Char.IsDead(42@)
goto_if_false @BOAT_19232
Task.CarDriveToCoord(42@, 40@, -2763.105, 1954.129, 0.0, 15.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BOAT_19232
if 
  162@ == 90
goto_if_false @BOAT_19409
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_19409
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_19409
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 91
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(98@)
195@, 196@, 197@ = Object.GetCoordinates(99@)
52@ = Blip.AddForObject(98@)
51@ = Blip.AddForObject(99@)
Blip.Remove(53@)
Blip.Remove(54@)
gosub @BOAT_35577

:BOAT_19409
if 
  162@ == 91
goto_if_false @BOAT_19525
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_19525
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_19525
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_33', 1000, 1)
162@ = 99
Blip.Remove(52@)
Blip.Remove(51@)

:BOAT_19525
if 
  162@ == 92
goto_if_false @BOAT_19718
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_19718
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_19718
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 93
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(102@)
195@, 196@, 197@ = Object.GetCoordinates(103@)
52@ = Blip.AddForObject(102@)
51@ = Blip.AddForObject(103@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(104@)
54@ = Blip.AddForObject(105@)
gosub @BOAT_35577

:BOAT_19718
if 
  162@ == 93
goto_if_false @BOAT_19911
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_19911
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_19911
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 94
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(104@)
195@, 196@, 197@ = Object.GetCoordinates(105@)
52@ = Blip.AddForObject(104@)
51@ = Blip.AddForObject(105@)
Blip.Remove(53@)
Blip.Remove(54@)
53@ = Blip.AddForObject(56@)
54@ = Blip.AddForObject(57@)
gosub @BOAT_35577

:BOAT_19911
if 
  162@ == 94
goto_if_false @BOAT_20088
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_20088
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_20088
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_31', 1000, 1)
162@ = 97
Blip.Remove(52@)
Blip.Remove(51@)
198@, 199@, 200@ = Object.GetCoordinates(56@)
195@, 196@, 197@ = Object.GetCoordinates(57@)
52@ = Blip.AddForObject(56@)
51@ = Blip.AddForObject(57@)
Blip.Remove(53@)
Blip.Remove(54@)
gosub @BOAT_35577

:BOAT_20088
if 
  162@ == 97
goto_if_false @BOAT_20204
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_20204
if 
  Char.IsInAngledAreaInCar2D($stattreadstamina_ctr, 198@, 199@, 195@, 196@, 3.0, False)
goto_if_false @BOAT_20204
Audio.ReportMissionAudioEventAtPosition(198@, 199@, 200@, 249@)
Text.PrintNow('BOAT_33', 1000, 1)
162@ = 99
Blip.Remove(52@)
Blip.Remove(51@)

:BOAT_20204
if 
  162@ == 99
goto_if_false @BOAT_20945
Blip.Remove(52@)
Blip.Remove(51@)
Blip.Remove(53@)
Blip.Remove(54@)
gosub @BOAT_21349
gosub @BOAT_21718
if 
  is_int_var_greater_than_int_lvar $boat_accelerate_silverachieved > 168@
goto_if_false @BOAT_20462
set_lvar_int_to_var_int 169@ = $boat_accelerate_silverachieved
set_var_int_to_lvar_int $boat_accelerate_silverachieved = 168@
167@ = 1
gosub @BOAT_22490
if 
  $g_Taxiodd_timerKM == 4
goto_if_false @BOAT_20362
if 
  $boat_bronze_generator == 0
goto_if_false @BOAT_20362
$boat_bronze_generator = 1
$boat_gold_rewardgiven = 1
$boat_silver_rewardgiven = 1

:BOAT_20362
if 
  $g_Taxiodd_timerKM == 3
goto_if_false @BOAT_20412
if 
  $boat_gold_rewardgiven == 0
goto_if_false @BOAT_20412
$boat_gold_rewardgiven = 1
$boat_silver_rewardgiven = 1

:BOAT_20412
if 
  $g_Taxiodd_timerKM == 2
goto_if_false @BOAT_20455
if 
  $boat_silver_rewardgiven == 0
goto_if_false @BOAT_20455
$boat_silver_rewardgiven = 1

:BOAT_20455
goto @BOAT_20469

:BOAT_20462
$g_Taxiodd_timerKM = 0

:BOAT_20469
if 
  $boat_skijump_best_score == 5
goto_if_false @BOAT_20534
if 
  is_int_lvar_greater_than_int_lvar 228@ > 168@
goto_if_false @BOAT_20534
167@ = 2
$boat_skijump_best_score = 5
251@ = 1
164@ = 2

:BOAT_20534
TIMERA = 0

:BOAT_20541
if 
  TIMERA > -1
goto_if_false @BOAT_20758
wait 0
gosub @BOAT_22061
if 
is_japanese_version 
goto_if_false @BOAT_20641
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BOAT_20634
164@ = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_20758

:BOAT_20634
goto @BOAT_20692

:BOAT_20641
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BOAT_20692
164@ = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_20758

:BOAT_20692
gosub @BOAT_23021
gosub @BOAT_21165
if 
  165@ == 1
goto_if_false @BOAT_20751
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
goto @BOAT_20758

:BOAT_20751
goto @BOAT_20541

:BOAT_20758
gosub @BOAT_26120
gosub @BOAT_39049
if 
  164@ == 2
goto_if_false @BOAT_20938
if 
  251@ == 1
goto_if_false @BOAT_20924
if 
  $boat_simplecircuit_bronzeachieved == 0
goto_if_false @BOAT_20924
Camera.DoFade(1000, Fade.Out)

:BOAT_20833
if 
  Camera.GetFadingStatus
goto_if_false @BOAT_20857
wait 0
goto @BOAT_20833

:BOAT_20857
Char.SetHeading($stattreadstamina_ctr, 177@)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Streaming.LoadScene(-2185.335, 2410.409, 3.9752)
Camera.DoFade(2000, Fade.In)

:BOAT_20893
if 
  Camera.GetFadingStatus
goto_if_false @BOAT_20917
wait 0
goto @BOAT_20893

:BOAT_20917
goto @BOAT_39175

:BOAT_20924
goto @BOAT_1323
goto @BOAT_20945

:BOAT_20938
goto @BOAT_13765

:BOAT_20945
goto @BOAT_14125

:BOAT_20952
158@ = 0
159@ = 0
160@ = 0
161@ = 0
162@ = 0
$nHoldModGarageState = 0
163@ = 0
164@ = 0
165@ = 0
166@ = 0
167@ = 0
168@ = 0
48@ = 1000
188@ = 0.0
189@ = 0.0
190@ = 0.0
191@ = 0
207@ = 0
208@ = 0
49@ = 0.0
211@ = 0
210@ = 0
209@ = 0
233@ = 0
192@ = 0.0
193@ = 0.0
194@ = 0.0
return 

:BOAT_21165
if 
is_japanese_version 
goto_if_false @BOAT_21266
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @BOAT_21234
if 
  166@ == 1
goto_if_false @BOAT_21227
166@ = 0
165@ = 1

:BOAT_21227
goto @BOAT_21259

:BOAT_21234
if 
  166@ == 0
goto_if_false @BOAT_21259
166@ = 1

:BOAT_21259
goto @BOAT_21347

:BOAT_21266
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BOAT_21322
if 
  166@ == 1
goto_if_false @BOAT_21315
166@ = 0
165@ = 1

:BOAT_21315
goto @BOAT_21347

:BOAT_21322
if 
  166@ == 0
goto_if_false @BOAT_21347
166@ = 1

:BOAT_21347
return 

:BOAT_21349
Text.ClearHelp
Player.SetControl($statbike_temp, False)
if 
  $boat_fade_flag == 1
goto_if_false @BOAT_21416
Hud.FreezeTimer(True)
Boat.Stop(37@)
Car.SetForwardSpeed(37@, 0.0)
Car.FreezePosition(37@, False)
Boat.Anchor(37@, True)
Car.FreezePosition(37@, False)

:BOAT_21416
if 
  $boat_fade_flag > 1
goto_if_false @BOAT_21599
Hud.FreezeTimer(True)
TIMERB = 0

:BOAT_21445
if 
  1000 > TIMERB
goto_if_false @BOAT_21475
wait 0
goto @BOAT_21445

:BOAT_21475
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_21599
if 
  $boat_fade_flag <> 4
goto_if_false @BOAT_21532
if 
  $boat_fade_flag <> 5
goto_if_false @BOAT_21532
Boat.Stop(37@)

:BOAT_21532
Car.SetForwardSpeed(37@, 0.0)
Car.FreezePosition(37@, False)
if 
  $boat_fade_flag <> 4
goto_if_false @BOAT_21592
if 
  $boat_fade_flag <> 5
goto_if_false @BOAT_21592
Boat.Anchor(37@, True)

:BOAT_21592
Car.FreezePosition(37@, False)

:BOAT_21599
if 
is_japanese_version 
goto_if_false @BOAT_21640

:BOAT_21612
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BOAT_21640
wait 0
goto @BOAT_21612

:BOAT_21640
return 

:BOAT_21642
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_21709
if 
  163@ == 1
goto_if_false @BOAT_21702
if 
  not Char.IsInCar($stattreadstamina_ctr, 37@)
goto_if_false @BOAT_21702
164@ = 1

:BOAT_21702
goto @BOAT_21716

:BOAT_21709
164@ = 1

:BOAT_21716
return 

:BOAT_21718
if 
  $boat_fade_flag <> 4
goto_if_false @BOAT_21905
set_lvar_int_to_var_int 208@ = $nHoldModGarageState
233@ = 0
48@ = 1000
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_21783
250@ = Car.GetHealth(37@)

:BOAT_21783
if 
  $boat_fade_flag == 5
goto_if_false @BOAT_21808
250@ += 120

:BOAT_21808
if 
  1000 > 250@
goto_if_false @BOAT_21835
233@ = 5000

:BOAT_21835
if 
  995 > 250@
goto_if_false @BOAT_21862
233@ = 7000

:BOAT_21862
if 
  990 > 250@
goto_if_false @BOAT_21889
233@ = 10000

:BOAT_21889
set_lvar_int_to_lvar_int 168@ = 208@
add_int_lvar_to_int_lvar 168@ += 233@

:BOAT_21905
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_22059
set_lvar_int_to_var_int 208@ = $nHoldModGarageState
233@ = 0
48@ = 1000
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_21970
250@ = Car.GetHealth(37@)

:BOAT_21970
if 
  995 > 250@
goto_if_false @BOAT_21997
233@ = 5000

:BOAT_21997
if 
  990 > 250@
goto_if_false @BOAT_22024
233@ = 10000

:BOAT_22024
if 
  985 > 250@
goto_if_false @BOAT_22051
233@ = 15000

:BOAT_22051
cset_lvar_int_to_lvar_float 168@ =# 246@

:BOAT_22059
return 

:BOAT_22061
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_22488
if 
  191@ == 0
goto_if_false @BOAT_22200
188@, 189@, 190@ = Car.GetCoordinates(37@)
190@ += 5.0
188@, 189@, 190@ = Car.GetOffsetInWorldCoords(37@, 10.0, 0.0, 5.0)
Camera.SetFixedPosition(188@, 189@, 190@, 0.0, 0.0, 0.0)
Camera.PointAtCar(37@, CameraMode.Fixed, SwitchType.Interpolation)
Camera.SetInterpolationParameters(50.0, 2000)
191@ = 1

:BOAT_22200
if 
  TIMERA > 3000
goto_if_false @BOAT_22337
if 
  6000 > TIMERA
goto_if_false @BOAT_22337
if 
  191@ == 1
goto_if_false @BOAT_22337
188@, 189@, 190@ = Car.GetOffsetInWorldCoords(37@, 0.0, 10.0, 5.0)
Camera.SetFixedPosition(188@, 189@, 190@, 0.0, 0.0, 0.0)
Camera.PointAtCar(37@, CameraMode.Fixed, SwitchType.Interpolation)
Camera.SetInterpolationParameters(50.0, 2000)
191@ = 2

:BOAT_22337
if 
  TIMERA > 6000
goto_if_false @BOAT_22455
if 
  191@ == 2
goto_if_false @BOAT_22455
188@, 189@, 190@ = Car.GetOffsetInWorldCoords(37@, -10.0, 0.0, 5.0)
Camera.SetFixedPosition(188@, 189@, 190@, 0.0, 0.0, 0.0)
Camera.PointAtCar(37@, CameraMode.Fixed, SwitchType.Interpolation)
Camera.SetInterpolationParameters(50.0, 2000)
191@ = 3

:BOAT_22455
if 
  TIMERA > 9000
goto_if_false @BOAT_22488
191@ = 1
TIMERA = 0

:BOAT_22488
return 

:BOAT_22490
$g_Taxiodd_timerKM = 0
if 
  $boat_fade_flag <> 4
goto_if_false @BOAT_22746
if 
  is_int_lvar_greater_than_int_lvar 209@ > 168@
goto_if_false @BOAT_22601
if 
  is_int_lvar_greater_than_int_lvar 168@ > 210@
goto_if_false @BOAT_22601
if and
  is_int_lvar_greater_than_int_lvar 209@ > 169@
  is_int_lvar_greater_than_int_lvar 169@ > 210@
goto_if_false @BOAT_22594
$g_Taxiodd_timerKM = 0
goto @BOAT_22601

:BOAT_22594
$g_Taxiodd_timerKM = 2

:BOAT_22601
if 
  is_int_lvar_greater_than_int_lvar 210@ > 168@
goto_if_false @BOAT_22687
if 
  is_int_lvar_greater_than_int_lvar 168@ > 211@
goto_if_false @BOAT_22687
if and
  is_int_lvar_greater_than_int_lvar 210@ > 169@
  is_int_lvar_greater_than_int_lvar 169@ > 211@
goto_if_false @BOAT_22680
$g_Taxiodd_timerKM = 0
goto @BOAT_22687

:BOAT_22680
$g_Taxiodd_timerKM = 3

:BOAT_22687
if 
  is_int_lvar_greater_than_int_lvar 211@ > 168@
goto_if_false @BOAT_22746
if 
  is_int_lvar_greater_than_int_lvar 211@ > 169@
goto_if_false @BOAT_22739
$g_Taxiodd_timerKM = 0
goto @BOAT_22746

:BOAT_22739
$g_Taxiodd_timerKM = 4

:BOAT_22746
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_23019
if or
  is_int_lvar_greater_than_int_lvar 168@ > 209@
  is_int_lvar_equal_to_int_lvar 168@ == 209@
goto_if_false @BOAT_22858
if 
  is_int_lvar_greater_than_int_lvar 210@ > 168@
goto_if_false @BOAT_22858
if and
  is_int_lvar_greater_than_int_lvar 169@ > 209@
  is_int_lvar_greater_than_int_lvar 210@ > 169@
goto_if_false @BOAT_22851
$g_Taxiodd_timerKM = 0
goto @BOAT_22858

:BOAT_22851
$g_Taxiodd_timerKM = 2

:BOAT_22858
if or
  is_int_lvar_greater_than_int_lvar 168@ > 210@
  is_int_lvar_equal_to_int_lvar 168@ == 210@
goto_if_false @BOAT_22952
if 
  is_int_lvar_greater_than_int_lvar 211@ > 168@
goto_if_false @BOAT_22952
if and
  is_int_lvar_greater_than_int_lvar 169@ > 210@
  is_int_lvar_greater_than_int_lvar 211@ > 169@
goto_if_false @BOAT_22945
$g_Taxiodd_timerKM = 0
goto @BOAT_22952

:BOAT_22945
$g_Taxiodd_timerKM = 3

:BOAT_22952
if or
  is_int_lvar_greater_than_int_lvar 168@ > 211@
  is_int_lvar_equal_to_int_lvar 168@ == 211@
goto_if_false @BOAT_23019
if 
  is_int_lvar_greater_than_int_lvar 169@ > 211@
goto_if_false @BOAT_23012
$g_Taxiodd_timerKM = 0
goto @BOAT_23019

:BOAT_23012
$g_Taxiodd_timerKM = 4

:BOAT_23019
return 

:BOAT_23021
Hud.Display(False)
Hud.DisplayRadar(False)
if 
  2 > $g_Taxiodd_timerKM
goto_if_false @BOAT_23152
gosub @BOAT_39108
if 
  252@ == 4
goto_if_false @BOAT_23112
Hud.DrawWindow(122.0, 240.0, 520.0, 400.0, 'BOAT_75', 3)
goto @BOAT_23145

:BOAT_23112
Hud.DrawWindow(152.0, 240.0, 490.0, 400.0, 'BOAT_75', 3)

:BOAT_23145
goto @BOAT_23250

:BOAT_23152
gosub @BOAT_39108
if 
  252@ == 4
goto_if_false @BOAT_23217
Hud.DrawWindow(122.0, 220.0, 520.0, 400.0, 'DUMMY', 3)
goto @BOAT_23250

:BOAT_23217
Hud.DrawWindow(152.0, 220.0, 490.0, 400.0, 'DUMMY', 3)

:BOAT_23250
gosub @BOAT_34800
gosub @BOAT_34800
if 
  48@ > 0
goto_if_false @BOAT_25525
Text.ClearPrints
gosub @BOAT_34800
Text.SetBackground(False)
170@, 171@, 172@, 173@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(170@, 171@, 172@, 173@)
241@ = 0.0
cset_lvar_float_to_lvar_int 241@ =# 208@
241@ /= 1000.0
if 
  $boat_fade_flag <> 4
goto_if_false @BOAT_23455
gosub @BOAT_39108
if 
  252@ == 4
goto_if_false @BOAT_23429
Text.DisplayWithFloat(145.0, 275.0, 'BOAT_7', 241@, 2)
goto @BOAT_23455

:BOAT_23429
Text.DisplayWithFloat(180.0, 275.0, 'BOAT_7', 241@, 2)

:BOAT_23455
gosub @BOAT_34800
170@, 171@, 172@, 173@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(170@, 171@, 172@, 173@)
240@ = 0.0
cset_lvar_float_to_lvar_int 240@ =# 233@
240@ /= 1000.0
if 
  $boat_fade_flag <> 4
goto_if_false @BOAT_23622
gosub @BOAT_39108
if 
  252@ == 4
goto_if_false @BOAT_23596
Text.DisplayWithFloat(145.0, 295.0, 'BOAT_9', 240@, 2)
goto @BOAT_23622

:BOAT_23596
Text.DisplayWithFloat(180.0, 295.0, 'BOAT_9', 240@, 2)

:BOAT_23622
gosub @BOAT_34800
if or
  167@ == 1
  167@ == 2
goto_if_false @BOAT_23691
170@, 171@, 172@, 173@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(170@, 171@, 172@, 173@)
goto @BOAT_23721

:BOAT_23691
170@, 171@, 172@, 173@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(170@, 171@, 172@, 173@)

:BOAT_23721
242@ = 0.0
cset_lvar_float_to_lvar_int 242@ =# 168@
242@ /= 1000.0
if 
  $boat_fade_flag <> 4
goto_if_false @BOAT_23851
gosub @BOAT_39108
if 
  252@ == 4
goto_if_false @BOAT_23825
Text.DisplayWithFloat(145.0, 315.0, 'BOAT_10', 242@, 2)
goto @BOAT_23851

:BOAT_23825
Text.DisplayWithFloat(180.0, 315.0, 'BOAT_10', 242@, 2)

:BOAT_23851
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_24135
if 
  246@ > 0.0
goto_if_false @BOAT_24061
gosub @BOAT_39108
if 
  252@ == 4
goto_if_false @BOAT_23948
Text.DisplayWithFloat(145.0, 315.0, 'BOAT_11', 246@, 2)
goto @BOAT_24054

:BOAT_23948
if 
  252@ == 3
goto_if_false @BOAT_23992
Text.DisplayWithFloat(175.0, 315.0, 'BOAT_11', 246@, 2)

:BOAT_23992
if 
  252@ <> 3
goto_if_false @BOAT_24054
if 
  252@ <> 4
goto_if_false @BOAT_24054
Text.DisplayWithFloat(180.0, 315.0, 'BOAT_11', 246@, 2)

:BOAT_24054
goto @BOAT_24135

:BOAT_24061
gosub @BOAT_39108
if 
  252@ == 4
goto_if_false @BOAT_24114
Text.Display(145.0, 315.0, 'BOAT_12')
goto @BOAT_24135

:BOAT_24114
Text.Display(180.0, 315.0, 'BOAT_12')

:BOAT_24135
gosub @BOAT_34800
Text.SetColor(255, 255, 255, 255)
241@ = 0.0
cset_lvar_float_to_lvar_int 241@ =# 208@
241@ /= 1000.0
if 
  $boat_fade_flag <> 4
goto_if_false @BOAT_24286
gosub @BOAT_39108
if 
  252@ == 4
goto_if_false @BOAT_24260
Text.DisplayWithFloat(425.0, 275.0, 'BOAT_77', 241@, 2)
goto @BOAT_24286

:BOAT_24260
Text.DisplayWithFloat(390.0, 275.0, 'BOAT_77', 241@, 2)

:BOAT_24286
gosub @BOAT_34800
170@, 171@, 172@, 173@ = Hud.GetColor(0)
Text.SetColor(170@, 171@, 172@, 173@)
240@ = 0.0
cset_lvar_float_to_lvar_int 240@ =# 233@
240@ /= 1000.0
if 
  240@ > 0.0
goto_if_false @BOAT_24409
170@, 171@, 172@, 173@ = Hud.GetColor(0)
Text.SetColor(170@, 171@, 172@, 173@)
goto @BOAT_24439

:BOAT_24409
170@, 171@, 172@, 173@ = Hud.GetColor(HudObject.Radar)
Text.SetColor(170@, 171@, 172@, 173@)

:BOAT_24439
if 
  $boat_fade_flag <> 4
goto_if_false @BOAT_24541
gosub @BOAT_39108
if 
  252@ == 4
goto_if_false @BOAT_24515
Text.DisplayWithFloat(425.0, 295.0, 'BOAT_77', 240@, 2)
goto @BOAT_24541

:BOAT_24515
Text.DisplayWithFloat(390.0, 295.0, 'BOAT_77', 240@, 2)

:BOAT_24541
gosub @BOAT_34800
if or
  167@ == 1
  167@ == 2
goto_if_false @BOAT_24594
Text.SetColor(255, 255, 255, 255)
goto @BOAT_24608

:BOAT_24594
Text.SetColor(255, 255, 255, 255)

:BOAT_24608
242@ = 0.0
cset_lvar_float_to_lvar_int 242@ =# 168@
242@ /= 1000.0
if 
  $boat_fade_flag <> 4
goto_if_false @BOAT_24738
gosub @BOAT_39108
if 
  252@ == 4
goto_if_false @BOAT_24712
Text.DisplayWithFloat(425.0, 315.0, 'BOAT_77', 242@, 2)
goto @BOAT_24738

:BOAT_24712
Text.DisplayWithFloat(390.0, 315.0, 'BOAT_77', 242@, 2)

:BOAT_24738
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_24868
if 
  246@ > 0.0
goto_if_false @BOAT_24868
gosub @BOAT_39108
if 
  252@ == 4
goto_if_false @BOAT_24835
Text.DisplayWithFloat(425.0, 315.0, 'BOAT_80', 246@, 2)
goto @BOAT_24861

:BOAT_24835
Text.DisplayWithFloat(390.0, 315.0, 'BOAT_80', 246@, 2)

:BOAT_24861
goto @BOAT_24868

:BOAT_24868
Text.SetScale(1.45, 2.0)
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
Text.Display(180.0, 342.0, 'BOAT_74')
Text.SetScale(1.45, 2.0)
Text.Display(180.0, 362.0, 'BOAT_73')
gosub @BOAT_34800
Text.SetScale(0.52, 1.45)
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
Text.Display(215.0, 345.0, 'BOAT_76')
gosub @BOAT_34800
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
Text.Display(215.0, 365.0, 'BOAT_53')
if or
  167@ == 1
  167@ == 2
goto_if_false @BOAT_25171
gosub @BOAT_34916
Text.SetScale(1.0, 3.4)
Text.SetColor(255, 255, 255, 255)
Text.Display(323.0, 110.0, 'BOAT_46')

:BOAT_25171
if or
  167@ == 1
  167@ == 2
goto_if_false @BOAT_25518
if 
  $g_Taxiodd_timerKM > 0
goto_if_false @BOAT_25518
Hud.DrawSprite(4, 250.0, 219.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.DrawSprite(4, 392.0, 219.0, 60.0, 60.0, 180, 180, 180, 255)
if 
  $g_Taxiodd_timerKM == 2
goto_if_false @BOAT_25340
Hud.DrawSprite(1, 320.0, 220.0, 110.0, 95.0, 160, 160, 160, 255)

:BOAT_25340
if 
  $g_Taxiodd_timerKM == 3
goto_if_false @BOAT_25394
Hud.DrawSprite(2, 320.0, 220.0, 110.0, 95.0, 160, 160, 160, 255)

:BOAT_25394
if 
  $g_Taxiodd_timerKM == 4
goto_if_false @BOAT_25448
Hud.DrawSprite(3, 320.0, 220.0, 110.0, 95.0, 160, 160, 160, 255)

:BOAT_25448
gosub @BOAT_34916
Text.SetScale(1.0, 3.4)
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
Text.Display(323.0, 65.0, 'BOAT_47')

:BOAT_25518
goto @BOAT_26113

:BOAT_25525
gosub @BOAT_34800
Text.SetColor(134, 155, 184, 255)
241@ = 0.0
cset_lvar_float_to_lvar_int 241@ =# 208@
241@ /= 1000.0
Text.DisplayWithFloat(30.0, 55.0, 'BOAT_7', 241@, 2)
gosub @BOAT_34800
if or
  167@ == 1
  167@ == 2
goto_if_false @BOAT_25651
Text.SetColor(107, 148, 49, 255)
goto @BOAT_25665

:BOAT_25651
Text.SetColor(134, 155, 184, 255)

:BOAT_25665
242@ = 0.0
cset_lvar_float_to_lvar_int 242@ =# 168@
242@ /= 1000.0
Text.DisplayWithFloat(30.0, 65.0, 'BOAT_10', 242@, 2)
if or
  167@ == 1
  167@ == 2
goto_if_false @BOAT_25784
gosub @BOAT_34800
Text.SetColor(107, 148, 49, 255)
Text.Display(260.0, 65.0, 'BOAT_46')

:BOAT_25784
if or
  167@ == 1
  167@ == 2
goto_if_false @BOAT_26113
if 
  $g_Taxiodd_timerKM > 0
goto_if_false @BOAT_26113
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 68.0, 145.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 210.0, 145.0, 60.0, 60.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
if 
  $g_Taxiodd_timerKM == 2
goto_if_false @BOAT_25965
Hud.DrawSprite(1, 138.0, 145.0, 110.0, 95.0, 160, 160, 160, 255)

:BOAT_25965
if 
  $g_Taxiodd_timerKM == 3
goto_if_false @BOAT_26019
Hud.DrawSprite(2, 138.0, 145.0, 110.0, 95.0, 160, 160, 160, 255)

:BOAT_26019
if 
  $g_Taxiodd_timerKM == 4
goto_if_false @BOAT_26073
Hud.DrawSprite(3, 138.0, 145.0, 110.0, 95.0, 160, 160, 160, 255)

:BOAT_26073
gosub @BOAT_34800
Text.SetColor(107, 148, 49, 255)
Text.Display(260.0, 172.0, 'BOAT_47')

:BOAT_26113
Hud.ClearTimer($nHoldModGarageState)
return 

:BOAT_26120
Camera.DoFade(500, Fade.Out)

:BOAT_26127
if 
  Camera.GetFadingStatus
goto_if_false @BOAT_26151
wait 0
goto @BOAT_26127

:BOAT_26151
Hud.Display(True)
Hud.DisplayRadar(True)
Text.ClearPrints
Text.ClearHelp
Text.ClearThisBigPrint('BOAT_46')
Text.ClearThisBigPrint('BOAT_47')
Player.ApplyBrakesToCar($statbike_temp, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  164@ == 2
goto_if_false @BOAT_26275
Text.ClearPrints
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BOAT_26254
Char.WarpFromCarToCoord($stattreadstamina_ctr, 174@, 175@, 176@)
goto @BOAT_26268

:BOAT_26254
Char.SetCoordinates($stattreadstamina_ctr, 174@, 175@, 176@)

:BOAT_26268
goto @BOAT_26326

:BOAT_26275
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BOAT_26312
Char.WarpFromCarToCoord($stattreadstamina_ctr, 174@, 175@, 176@)
goto @BOAT_26326

:BOAT_26312
Char.SetCoordinates($stattreadstamina_ctr, 174@, 175@, 176@)

:BOAT_26326
wait 0
Car.Delete(37@)
Car.Delete(46@)
Char.Delete(39@)
Blip.Remove(52@)
Blip.Remove(51@)
Blip.Remove(53@)
Blip.Remove(54@)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
wait 0
Hud.ClearTimer($nHoldModGarageState)
Hud.FreezeTimer(False)
return 

:BOAT_26384
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 225.0, 612.0, 438.0, 0, 0, 0, $g_Taxiodd_faresKM)
if 
  $boat_timer == 1
goto_if_false @BOAT_26506
if 
  255 > $g_Taxiodd_faresKM
goto_if_false @BOAT_26499
$g_Taxiodd_faresKM += 20
if 
  $g_Taxiodd_faresKM > 255
goto_if_false @BOAT_26492
$g_Taxiodd_faresKM = 255

:BOAT_26492
goto @BOAT_26506

:BOAT_26499
$boat_timer = 2

:BOAT_26506
if 
  $boat_timer == 3
goto_if_false @BOAT_26588
if 
  $g_Taxiodd_faresKM > 0
goto_if_false @BOAT_26581
$g_Taxiodd_faresKM -= 5
if 
  0 > $g_Taxiodd_faresKM
goto_if_false @BOAT_26574
$g_Taxiodd_faresKM = 0

:BOAT_26574
goto @BOAT_26588

:BOAT_26581
$boat_timer = 0

:BOAT_26588
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 0.0, 640.0, 197.0, 0, 0, 0, 255)
gosub @BOAT_34916
Text.SetColor(255, 255, 255, 255)
if 
  $boat_fade_flag == 1
goto_if_false @BOAT_26700
Text.Display(322.0, 31.0, 'BOAT_A')
set_var_int_to_var_int $g_Taxiodd_bonusKM = $boat_hover_best_score
gosub @BOAT_28180

:BOAT_26700
if 
  $boat_fade_flag == 2
goto_if_false @BOAT_26754
Text.Display(322.0, 31.0, 'BOAT_B')
set_var_int_to_var_int $g_Taxiodd_bonusKM = $boat_cut_watched
gosub @BOAT_28180

:BOAT_26754
if 
  $boat_fade_flag == 3
goto_if_false @BOAT_26808
Text.Display(322.0, 31.0, 'BOAT_C')
set_var_int_to_var_int $g_Taxiodd_bonusKM = $boat_passed_once
gosub @BOAT_28180

:BOAT_26808
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_26862
Text.Display(322.0, 31.0, 'BOAT_D')
set_var_int_to_var_int $g_Taxiodd_bonusKM = $boat_accelerate_bronzeachieved
gosub @BOAT_28180

:BOAT_26862
if 
  $boat_fade_flag == 5
goto_if_false @BOAT_26916
Text.Display(322.0, 31.0, 'BOAT_E')
set_var_int_to_var_int $g_Taxiodd_bonusKM = $boat_accelerate_silverachieved
gosub @BOAT_28180

:BOAT_26916
gosub @BOAT_34738
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
gosub @BOAT_39108
if 
  252@ == 1
goto_if_false @BOAT_27006
Text.Display(96.0, 375.0, 'BOAT_53')
goto @BOAT_27027

:BOAT_27006
Text.Display(105.0, 375.0, 'BOAT_53')

:BOAT_27027
if 
  $boat_which_score_displayed <> 1
goto_if_false @BOAT_27421
gosub @BOAT_34738
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
gosub @BOAT_39108
if 
  252@ == 1
goto_if_false @BOAT_27135
Text.Display(96.0, 325.0, 'BOAT_54')
goto @BOAT_27156

:BOAT_27135
Text.Display(105.0, 325.0, 'BOAT_54')

:BOAT_27156
if 
  $boat_skijump_best_score <> 1
goto_if_false @BOAT_27285
gosub @BOAT_34738
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
gosub @BOAT_39108
if 
  252@ == 1
goto_if_false @BOAT_27264
Text.Display(96.0, 350.0, 'BOAT_52')
goto @BOAT_27285

:BOAT_27264
Text.Display(105.0, 350.0, 'BOAT_52')

:BOAT_27285
if 
  $boat_skijump_best_score == 1
goto_if_false @BOAT_27414
gosub @BOAT_34738
170@, 171@, 172@, 173@ = Hud.GetColor(HudObject.Radar)
Text.SetColor(170@, 171@, 172@, 173@)
gosub @BOAT_39108
if 
  252@ == 1
goto_if_false @BOAT_27393
Text.Display(96.0, 350.0, 'BOAT_52')
goto @BOAT_27414

:BOAT_27393
Text.Display(105.0, 350.0, 'BOAT_52')

:BOAT_27414
goto @BOAT_27532

:BOAT_27421
gosub @BOAT_34738
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
gosub @BOAT_39108
if 
  252@ == 1
goto_if_false @BOAT_27511
Text.Display(96.0, 350.0, 'BOAT_52')
goto @BOAT_27532

:BOAT_27511
Text.Display(105.0, 350.0, 'BOAT_52')

:BOAT_27532
gosub @BOAT_34738
Text.SetScale(1.45, 2.0)
Text.SetColor(248, 211, 7, 255)
Text.Display(70.0, 372.0, 'BOAT_73')
if 
  $boat_which_score_displayed <> 1
goto_if_false @BOAT_27856
gosub @BOAT_34738
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
Text.SetScale(1.45, 2.0)
Text.Display(70.0, 322.0, 'BOAT_74')
if 
  $boat_skijump_best_score <> 1
goto_if_false @BOAT_27761
gosub @BOAT_34738
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
Text.SetScale(1.45, 2.0)
Text.Display(61.4, 347.0, 'BOAT_72')

:BOAT_27761
if 
  $boat_skijump_best_score == 1
goto_if_false @BOAT_27849
gosub @BOAT_34738
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
Text.SetScale(1.45, 2.0)
Text.Display(61.4, 347.0, 'BOAT_72')

:BOAT_27849
goto @BOAT_27926

:BOAT_27856
gosub @BOAT_34738
170@, 171@, 172@, 173@ = Hud.GetColor(6)
Text.SetColor(170@, 171@, 172@, 173@)
Text.SetScale(1.45, 2.0)
Text.Display(61.4, 347.0, 'BOAT_72')

:BOAT_27926
Text.SetScale(0.52, 1.45)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 160.0, 317.0, 320.0, -224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 480.0, 317.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(9, 160.0, 435.0, 320.0, 17.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(9, 480.0, 435.0, -320.0, 17.0, 150, 150, 150, 255)
return 

:BOAT_28180
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 430.0, 640.0, 250.0, 0, 0, 0, 255)
gosub @BOAT_34738
Text.SetRightJustify(False)
170@, 171@, 172@, 173@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(170@, 171@, 172@, 173@)
if 
  $boat_fade_flag == 1
goto_if_false @BOAT_29067
if 
  is_int_lvar_greater_than_int_var 212@ > $boat_hover_best_score
goto_if_false @BOAT_28598
239@ = 0.0
cset_lvar_float_to_var_int 239@ =# $g_Taxiodd_bonusKM
239@ /= 1000.0
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_28591 {caseNum1} 0 {caseLabel1} @BOAT_28393 {caseNum2} 1 {caseLabel2} @BOAT_28426 {caseNum3} 2 {caseLabel3} @BOAT_28459 {caseNum4} 3 {caseLabel4} @BOAT_28492 {caseNum5} 4 {caseLabel5} @BOAT_28525 {caseNum6} 5 {caseLabel6} @BOAT_28551 {caseNum7} -1 {caseLabel7} @BOAT_28591

:BOAT_28393
Text.DisplayWithFloat(217.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_28591

:BOAT_28426
Text.DisplayWithFloat(200.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_28591

:BOAT_28459
Text.DisplayWithFloat(217.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_28591

:BOAT_28492
Text.DisplayWithFloat(187.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_28591

:BOAT_28525
Text.DisplayWithFloat(193.0, 75.0, 'BOAT_58', 239@, 2)

:BOAT_28551
Text.DisplayWithFloat(271.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_28591
goto @BOAT_28591

:BOAT_28591
goto @BOAT_28925

:BOAT_28598
247@ = 0
234@ = 0.0
cset_lvar_float_to_lvar_int 234@ =# 212@
234@ /= 1000.0
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_28925 {caseNum1} 0 {caseLabel1} @BOAT_28703 {caseNum2} 1 {caseLabel2} @BOAT_28736 {caseNum3} 2 {caseLabel3} @BOAT_28769 {caseNum4} 3 {caseLabel4} @BOAT_28802 {caseNum5} 4 {caseLabel5} @BOAT_28835 {caseNum6} 5 {caseLabel6} @BOAT_28892 {caseNum7} -1 {caseLabel7} @BOAT_28925

:BOAT_28703
Text.DisplayWithFloat(137.0, 75.0, 'BOAT_62', 234@, 1)
goto @BOAT_28925

:BOAT_28736
Text.DisplayWithFloat(77.0, 75.0, 'BOAT_62', 234@, 1)
goto @BOAT_28925

:BOAT_28769
Text.DisplayWithFloat(77.0, 75.0, 'BOAT_62', 234@, 1)
goto @BOAT_28925

:BOAT_28802
Text.DisplayWithFloat(97.0, 75.0, 'BOAT_62', 234@, 1)
goto @BOAT_28925

:BOAT_28835
Text.SetScale(0.45, 1.35)
Text.DisplayWithFloat(93.0, 75.0, 'BOAT_62', 234@, 1)
Text.SetScale(0.52, 1.45)
goto @BOAT_28925

:BOAT_28892
Text.DisplayWithFloat(247.0, 75.0, 'BOAT_62', 234@, 1)
goto @BOAT_28925

:BOAT_28925
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 213@
goto_if_false @BOAT_28951
$g_Taxiodd_timerKM = 1

:BOAT_28951
if 
  is_int_lvar_greater_than_int_var 213@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_28996
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 214@
goto_if_false @BOAT_28996
$g_Taxiodd_timerKM = 2

:BOAT_28996
if 
  is_int_lvar_greater_than_int_var 214@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_29041
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 215@
goto_if_false @BOAT_29041
$g_Taxiodd_timerKM = 3

:BOAT_29041
if 
  is_int_lvar_greater_than_int_var 215@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_29067
$g_Taxiodd_timerKM = 4

:BOAT_29067
if 
  $boat_fade_flag == 2
goto_if_false @BOAT_29869
if 
  is_int_lvar_greater_than_int_var 216@ > $boat_cut_watched
goto_if_false @BOAT_29407
239@ = 0.0
cset_lvar_float_to_var_int 239@ =# $g_Taxiodd_bonusKM
239@ /= 1000.0
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_29400 {caseNum1} 0 {caseLabel1} @BOAT_29202 {caseNum2} 1 {caseLabel2} @BOAT_29235 {caseNum3} 2 {caseLabel3} @BOAT_29268 {caseNum4} 3 {caseLabel4} @BOAT_29301 {caseNum5} 4 {caseLabel5} @BOAT_29334 {caseNum6} 5 {caseLabel6} @BOAT_29367 {caseNum7} -1 {caseLabel7} @BOAT_29400

:BOAT_29202
Text.DisplayWithFloat(217.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_29400

:BOAT_29235
Text.DisplayWithFloat(200.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_29400

:BOAT_29268
Text.DisplayWithFloat(217.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_29400

:BOAT_29301
Text.DisplayWithFloat(187.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_29400

:BOAT_29334
Text.DisplayWithFloat(190.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_29400

:BOAT_29367
Text.DisplayWithFloat(276.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_29400

:BOAT_29400
goto @BOAT_29727

:BOAT_29407
235@ = 0.0
cset_lvar_float_to_lvar_int 235@ =# 216@
235@ /= 1000.0
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_29727 {caseNum1} 0 {caseLabel1} @BOAT_29505 {caseNum2} 1 {caseLabel2} @BOAT_29538 {caseNum3} 2 {caseLabel3} @BOAT_29571 {caseNum4} 3 {caseLabel4} @BOAT_29604 {caseNum5} 4 {caseLabel5} @BOAT_29637 {caseNum6} 5 {caseLabel6} @BOAT_29694 {caseNum7} -1 {caseLabel7} @BOAT_29727

:BOAT_29505
Text.DisplayWithFloat(137.0, 75.0, 'BOAT_62', 235@, 1)
goto @BOAT_29727

:BOAT_29538
Text.DisplayWithFloat(77.0, 75.0, 'BOAT_62', 235@, 1)
goto @BOAT_29727

:BOAT_29571
Text.DisplayWithFloat(77.0, 75.0, 'BOAT_62', 235@, 1)
goto @BOAT_29727

:BOAT_29604
Text.DisplayWithFloat(97.0, 75.0, 'BOAT_62', 235@, 1)
goto @BOAT_29727

:BOAT_29637
Text.SetScale(0.45, 1.35)
Text.DisplayWithFloat(88.0, 75.0, 'BOAT_62', 235@, 1)
Text.SetScale(0.52, 1.45)
goto @BOAT_29727

:BOAT_29694
Text.DisplayWithFloat(247.0, 75.0, 'BOAT_62', 235@, 1)
goto @BOAT_29727

:BOAT_29727
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 217@
goto_if_false @BOAT_29753
$g_Taxiodd_timerKM = 1

:BOAT_29753
if 
  is_int_lvar_greater_than_int_var 217@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_29798
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 218@
goto_if_false @BOAT_29798
$g_Taxiodd_timerKM = 2

:BOAT_29798
if 
  is_int_lvar_greater_than_int_var 218@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_29843
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 219@
goto_if_false @BOAT_29843
$g_Taxiodd_timerKM = 3

:BOAT_29843
if 
  is_int_lvar_greater_than_int_var 219@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_29869
$g_Taxiodd_timerKM = 4

:BOAT_29869
if 
  $boat_fade_flag == 3
goto_if_false @BOAT_30681
if 
  is_int_lvar_greater_than_int_var 220@ > $boat_passed_once
goto_if_false @BOAT_30209
239@ = 0.0
cset_lvar_float_to_var_int 239@ =# $g_Taxiodd_bonusKM
239@ /= 1000.0
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_30202 {caseNum1} 0 {caseLabel1} @BOAT_30004 {caseNum2} 1 {caseLabel2} @BOAT_30037 {caseNum3} 2 {caseLabel3} @BOAT_30070 {caseNum4} 3 {caseLabel4} @BOAT_30103 {caseNum5} 4 {caseLabel5} @BOAT_30136 {caseNum6} 5 {caseLabel6} @BOAT_30169 {caseNum7} -1 {caseLabel7} @BOAT_30202

:BOAT_30004
Text.DisplayWithFloat(217.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_30202

:BOAT_30037
Text.DisplayWithFloat(200.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_30202

:BOAT_30070
Text.DisplayWithFloat(217.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_30202

:BOAT_30103
Text.DisplayWithFloat(187.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_30202

:BOAT_30136
Text.DisplayWithFloat(190.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_30202

:BOAT_30169
Text.DisplayWithFloat(271.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_30202

:BOAT_30202
goto @BOAT_30539

:BOAT_30209
236@ = 0.0
cset_lvar_float_to_lvar_int 236@ =# 220@
236@ /= 1000.0
236@ /= 60.0
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_30539 {caseNum1} 0 {caseLabel1} @BOAT_30317 {caseNum2} 1 {caseLabel2} @BOAT_30350 {caseNum3} 2 {caseLabel3} @BOAT_30383 {caseNum4} 3 {caseLabel4} @BOAT_30416 {caseNum5} 4 {caseLabel5} @BOAT_30449 {caseNum6} 5 {caseLabel6} @BOAT_30506 {caseNum7} -1 {caseLabel7} @BOAT_30539

:BOAT_30317
Text.DisplayWithFloat(142.0, 75.0, 'BOAT_63', 236@, 1)
goto @BOAT_30539

:BOAT_30350
Text.DisplayWithFloat(87.0, 75.0, 'BOAT_63', 236@, 1)
goto @BOAT_30539

:BOAT_30383
Text.DisplayWithFloat(83.0, 75.0, 'BOAT_63', 236@, 1)
goto @BOAT_30539

:BOAT_30416
Text.DisplayWithFloat(112.0, 75.0, 'BOAT_63', 236@, 1)
goto @BOAT_30539

:BOAT_30449
Text.SetScale(0.45, 1.35)
Text.DisplayWithFloat(103.0, 75.0, 'BOAT_63', 236@, 1)
Text.SetScale(0.52, 1.45)
goto @BOAT_30539

:BOAT_30506
Text.DisplayWithFloat(247.0, 75.0, 'BOAT_63', 236@, 1)
goto @BOAT_30539

:BOAT_30539
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 221@
goto_if_false @BOAT_30565
$g_Taxiodd_timerKM = 1

:BOAT_30565
if 
  is_int_lvar_greater_than_int_var 221@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_30610
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 222@
goto_if_false @BOAT_30610
$g_Taxiodd_timerKM = 2

:BOAT_30610
if 
  is_int_lvar_greater_than_int_var 222@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_30655
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 223@
goto_if_false @BOAT_30655
$g_Taxiodd_timerKM = 3

:BOAT_30655
if 
  is_int_lvar_greater_than_int_var 223@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_30681
$g_Taxiodd_timerKM = 4

:BOAT_30681
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_31459
if 
  is_int_var_greater_than_int_lvar $boat_accelerate_bronzeachieved > 224@
goto_if_false @BOAT_31009
239@ = 0.0
cset_lvar_float_to_var_int 239@ =# $g_Taxiodd_bonusKM
239@ /= 1000.0
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_31002 {caseNum1} 0 {caseLabel1} @BOAT_30816 {caseNum2} 1 {caseLabel2} @BOAT_30847 {caseNum3} 2 {caseLabel3} @BOAT_30878 {caseNum4} 3 {caseLabel4} @BOAT_30909 {caseNum5} 4 {caseLabel5} @BOAT_30940 {caseNum6} 5 {caseLabel6} @BOAT_30971 {caseNum7} -1 {caseLabel7} @BOAT_31002

:BOAT_30816
Text.DisplayWithNumber(185.0, 75.0, 'BOAT_60', $boat_accelerate_bronzeachieved)
goto @BOAT_31002

:BOAT_30847
Text.DisplayWithNumber(167.0, 75.0, 'BOAT_60', $boat_accelerate_bronzeachieved)
goto @BOAT_31002

:BOAT_30878
Text.DisplayWithNumber(167.0, 75.0, 'BOAT_60', $boat_accelerate_bronzeachieved)
goto @BOAT_31002

:BOAT_30909
Text.DisplayWithNumber(177.0, 75.0, 'BOAT_60', $boat_accelerate_bronzeachieved)
goto @BOAT_31002

:BOAT_30940
Text.DisplayWithNumber(160.0, 75.0, 'BOAT_60', $boat_accelerate_bronzeachieved)
goto @BOAT_31002

:BOAT_30971
Text.DisplayWithNumber(260.0, 75.0, 'BOAT_60', $boat_accelerate_bronzeachieved)
goto @BOAT_31002

:BOAT_31002
goto @BOAT_31293

:BOAT_31009
237@ = 0.0
cset_lvar_float_to_lvar_int 237@ =# 224@
237@ /= 1000.0
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_31293 {caseNum1} 0 {caseLabel1} @BOAT_31107 {caseNum2} 1 {caseLabel2} @BOAT_31138 {caseNum3} 2 {caseLabel3} @BOAT_31169 {caseNum4} 3 {caseLabel4} @BOAT_31200 {caseNum5} 4 {caseLabel5} @BOAT_31231 {caseNum6} 5 {caseLabel6} @BOAT_31262 {caseNum7} -1 {caseLabel7} @BOAT_31293

:BOAT_31107
Text.DisplayWithNumber(153.0, 75.0, 'BOAT_61', 224@)
goto @BOAT_31293

:BOAT_31138
Text.DisplayWithNumber(103.0, 75.0, 'BOAT_61', 224@)
goto @BOAT_31293

:BOAT_31169
Text.DisplayWithNumber(93.0, 75.0, 'BOAT_61', 224@)
goto @BOAT_31293

:BOAT_31200
Text.DisplayWithNumber(123.0, 75.0, 'BOAT_61', 224@)
goto @BOAT_31293

:BOAT_31231
Text.DisplayWithNumber(103.0, 75.0, 'BOAT_61', 224@)
goto @BOAT_31293

:BOAT_31262
Text.DisplayWithNumber(227.0, 75.0, 'BOAT_61', 224@)
goto @BOAT_31293

:BOAT_31293
if 
  is_int_lvar_greater_than_int_var 225@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_31319
$g_Taxiodd_timerKM = 1

:BOAT_31319
if or
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 225@
  is_int_var_equal_to_int_lvar $g_Taxiodd_bonusKM == 225@
goto_if_false @BOAT_31372
if 
  is_int_lvar_greater_than_int_var 226@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_31372
$g_Taxiodd_timerKM = 2

:BOAT_31372
if or
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 226@
  is_int_var_equal_to_int_lvar $g_Taxiodd_bonusKM == 226@
goto_if_false @BOAT_31425
if 
  is_int_lvar_greater_than_int_var 227@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_31425
$g_Taxiodd_timerKM = 3

:BOAT_31425
if or
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 227@
  is_int_var_equal_to_int_lvar $g_Taxiodd_bonusKM == 227@
goto_if_false @BOAT_31459
$g_Taxiodd_timerKM = 4

:BOAT_31459
if 
  $boat_fade_flag == 5
goto_if_false @BOAT_32271
if 
  is_int_lvar_greater_than_int_var 228@ > $boat_accelerate_silverachieved
goto_if_false @BOAT_31799
239@ = 0.0
cset_lvar_float_to_var_int 239@ =# $g_Taxiodd_bonusKM
239@ /= 1000.0
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_31792 {caseNum1} 0 {caseLabel1} @BOAT_31594 {caseNum2} 1 {caseLabel2} @BOAT_31627 {caseNum3} 2 {caseLabel3} @BOAT_31660 {caseNum4} 3 {caseLabel4} @BOAT_31693 {caseNum5} 4 {caseLabel5} @BOAT_31726 {caseNum6} 5 {caseLabel6} @BOAT_31759 {caseNum7} -1 {caseLabel7} @BOAT_31792

:BOAT_31594
Text.DisplayWithFloat(217.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_31792

:BOAT_31627
Text.DisplayWithFloat(200.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_31792

:BOAT_31660
Text.DisplayWithFloat(217.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_31792

:BOAT_31693
Text.DisplayWithFloat(187.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_31792

:BOAT_31726
Text.DisplayWithFloat(190.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_31792

:BOAT_31759
Text.DisplayWithFloat(271.0, 75.0, 'BOAT_58', 239@, 2)
goto @BOAT_31792

:BOAT_31792
goto @BOAT_32129

:BOAT_31799
238@ = 0.0
cset_lvar_float_to_lvar_int 238@ =# 228@
238@ /= 1000.0
238@ /= 60.0
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_32129 {caseNum1} 0 {caseLabel1} @BOAT_31907 {caseNum2} 1 {caseLabel2} @BOAT_31940 {caseNum3} 2 {caseLabel3} @BOAT_31973 {caseNum4} 3 {caseLabel4} @BOAT_32006 {caseNum5} 4 {caseLabel5} @BOAT_32039 {caseNum6} 5 {caseLabel6} @BOAT_32096 {caseNum7} -1 {caseLabel7} @BOAT_32129

:BOAT_31907
Text.DisplayWithFloat(144.0, 75.0, 'BOAT_63', 238@, 1)
goto @BOAT_32129

:BOAT_31940
Text.DisplayWithFloat(87.0, 75.0, 'BOAT_63', 238@, 1)
goto @BOAT_32129

:BOAT_31973
Text.DisplayWithFloat(88.0, 75.0, 'BOAT_63', 238@, 1)
goto @BOAT_32129

:BOAT_32006
Text.DisplayWithFloat(117.0, 75.0, 'BOAT_63', 238@, 1)
goto @BOAT_32129

:BOAT_32039
Text.SetScale(0.45, 1.35)
Text.DisplayWithFloat(103.0, 75.0, 'BOAT_63', 238@, 1)
Text.SetScale(0.52, 1.45)
goto @BOAT_32129

:BOAT_32096
Text.DisplayWithFloat(247.0, 75.0, 'BOAT_63', 238@, 1)
goto @BOAT_32129

:BOAT_32129
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 229@
goto_if_false @BOAT_32155
$g_Taxiodd_timerKM = 1

:BOAT_32155
if 
  is_int_lvar_greater_than_int_var 229@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_32200
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 230@
goto_if_false @BOAT_32200
$g_Taxiodd_timerKM = 2

:BOAT_32200
if 
  is_int_lvar_greater_than_int_var 230@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_32245
if 
  is_int_var_greater_than_int_lvar $g_Taxiodd_bonusKM > 231@
goto_if_false @BOAT_32245
$g_Taxiodd_timerKM = 3

:BOAT_32245
if 
  is_int_lvar_greater_than_int_var 231@ > $g_Taxiodd_bonusKM
goto_if_false @BOAT_32271
$g_Taxiodd_timerKM = 4

:BOAT_32271
if 
  $g_Taxiodd_timerKM > 1
goto_if_false @BOAT_32376
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 250.0, 306.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 395.0, 306.0, 60.0, 60.0, 180, 180, 180, 255)
goto @BOAT_32456

:BOAT_32376
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(7, 250.0, 306.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(7, 395.0, 306.0, 60.0, 60.0, 180, 180, 180, 255)

:BOAT_32456
Hud.SetSpritesDrawBeforeFade(True)
if 
  $g_Taxiodd_timerKM == 1
goto_if_false @BOAT_32773
Hud.DrawSprite(6, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @BOAT_34738
Text.SetColor(166, 202, 240, 255)
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_32773 {caseNum1} 0 {caseLabel1} @BOAT_32605 {caseNum2} 1 {caseLabel2} @BOAT_32633 {caseNum3} 2 {caseLabel3} @BOAT_32661 {caseNum4} 3 {caseLabel4} @BOAT_32689 {caseNum5} 4 {caseLabel5} @BOAT_32717 {caseNum6} 5 {caseLabel6} @BOAT_32745 {caseNum7} -1 {caseLabel7} @BOAT_32773

:BOAT_32605
Text.Display(266.0, 375.0, 'BOAT_64')
goto @BOAT_32773

:BOAT_32633
Text.Display(216.0, 375.0, 'BOAT_64')
goto @BOAT_32773

:BOAT_32661
Text.Display(233.0, 375.0, 'BOAT_64')
goto @BOAT_32773

:BOAT_32689
Text.Display(216.0, 375.0, 'BOAT_64')
goto @BOAT_32773

:BOAT_32717
Text.Display(216.0, 375.0, 'BOAT_64')
goto @BOAT_32773

:BOAT_32745
Text.Display(299.0, 375.0, 'BOAT_64')
goto @BOAT_32773

:BOAT_32773
if 
  $g_Taxiodd_timerKM == 2
goto_if_false @BOAT_33086
Hud.DrawSprite(1, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @BOAT_34738
Text.SetColor(166, 202, 240, 255)
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_33086 {caseNum1} 0 {caseLabel1} @BOAT_32918 {caseNum2} 1 {caseLabel2} @BOAT_32946 {caseNum3} 2 {caseLabel3} @BOAT_32974 {caseNum4} 3 {caseLabel4} @BOAT_33002 {caseNum5} 4 {caseLabel5} @BOAT_33030 {caseNum6} 5 {caseLabel6} @BOAT_33058 {caseNum7} -1 {caseLabel7} @BOAT_33086

:BOAT_32918
Text.Display(280.0, 375.0, 'BOAT_57')
goto @BOAT_33086

:BOAT_32946
Text.Display(280.0, 375.0, 'BOAT_57')
goto @BOAT_33086

:BOAT_32974
Text.Display(280.0, 375.0, 'BOAT_57')
goto @BOAT_33086

:BOAT_33002
Text.Display(280.0, 375.0, 'BOAT_57')
goto @BOAT_33086

:BOAT_33030
Text.Display(280.0, 375.0, 'BOAT_57')
goto @BOAT_33086

:BOAT_33058
Text.Display(297.0, 375.0, 'BOAT_57')
goto @BOAT_33086

:BOAT_33086
if 
  $g_Taxiodd_timerKM == 3
goto_if_false @BOAT_33399
Hud.DrawSprite(2, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @BOAT_34738
Text.SetColor(166, 202, 240, 255)
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_33399 {caseNum1} 0 {caseLabel1} @BOAT_33231 {caseNum2} 1 {caseLabel2} @BOAT_33259 {caseNum3} 2 {caseLabel3} @BOAT_33287 {caseNum4} 3 {caseLabel4} @BOAT_33315 {caseNum5} 4 {caseLabel5} @BOAT_33343 {caseNum6} 5 {caseLabel6} @BOAT_33371 {caseNum7} -1 {caseLabel7} @BOAT_33399

:BOAT_33231
Text.Display(283.0, 375.0, 'BOAT_56')
goto @BOAT_33399

:BOAT_33259
Text.Display(278.0, 375.0, 'BOAT_56')
goto @BOAT_33399

:BOAT_33287
Text.Display(283.0, 375.0, 'BOAT_56')
goto @BOAT_33399

:BOAT_33315
Text.Display(273.0, 375.0, 'BOAT_56')
goto @BOAT_33399

:BOAT_33343
Text.Display(286.0, 375.0, 'BOAT_56')
goto @BOAT_33399

:BOAT_33371
Text.Display(296.0, 375.0, 'BOAT_56')
goto @BOAT_33399

:BOAT_33399
if 
  $g_Taxiodd_timerKM == 4
goto_if_false @BOAT_33712
Hud.DrawSprite(3, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @BOAT_34738
Text.SetColor(166, 202, 240, 255)
gosub @BOAT_39108
switch_start 252@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @BOAT_33712 {caseNum1} 0 {caseLabel1} @BOAT_33544 {caseNum2} 1 {caseLabel2} @BOAT_33572 {caseNum3} 2 {caseLabel3} @BOAT_33600 {caseNum4} 3 {caseLabel4} @BOAT_33628 {caseNum5} 4 {caseLabel5} @BOAT_33656 {caseNum6} 5 {caseLabel6} @BOAT_33684 {caseNum7} -1 {caseLabel7} @BOAT_33712

:BOAT_33544
Text.Display(294.0, 375.0, 'BOAT_55')
goto @BOAT_33712

:BOAT_33572
Text.Display(307.0, 375.0, 'BOAT_55')
goto @BOAT_33712

:BOAT_33600
Text.Display(294.0, 375.0, 'BOAT_55')
goto @BOAT_33712

:BOAT_33628
Text.Display(300.0, 375.0, 'BOAT_55')
goto @BOAT_33712

:BOAT_33656
Text.Display(300.0, 375.0, 'BOAT_55')
goto @BOAT_33712

:BOAT_33684
Text.Display(295.0, 375.0, 'BOAT_55')
goto @BOAT_33712

:BOAT_33712
return 

:BOAT_33714
if 
  $boat_which_medal_displayed == 0
goto_if_false @BOAT_33864
if 
  $boat_fade_flag == 1
goto_if_false @BOAT_33757
gosub @BOAT_2388

:BOAT_33757
if 
  $boat_fade_flag == 2
goto_if_false @BOAT_33782
gosub @BOAT_4162

:BOAT_33782
if 
  $boat_fade_flag == 3
goto_if_false @BOAT_33807
gosub @BOAT_7036

:BOAT_33807
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_33832
gosub @BOAT_11630

:BOAT_33832
if 
  $boat_fade_flag == 5
goto_if_false @BOAT_33857
gosub @BOAT_13772

:BOAT_33857
$boat_which_medal_displayed = 1

:BOAT_33864
if 
  $boat_which_medal_displayed == 1
goto_if_false @BOAT_34248
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_34248
if 
  $boat_fade_flag == 1
goto_if_false @BOAT_33968
if 
  not Streaming.HasCarRecordingBeenLoaded(752)
goto_if_false @BOAT_33944
Streaming.RequestCarRecording(752)
goto @BOAT_33968

:BOAT_33944
World.SyncWater
Car.StartPlayback(37@, 752)
$boat_timer = 3
$boat_which_medal_displayed = 2

:BOAT_33968
if 
  $boat_fade_flag == 2
goto_if_false @BOAT_34038
if 
  not Streaming.HasCarRecordingBeenLoaded(755)
goto_if_false @BOAT_34014
Streaming.RequestCarRecording(755)
goto @BOAT_34038

:BOAT_34014
World.SyncWater
Car.StartPlayback(37@, 755)
$boat_timer = 3
$boat_which_medal_displayed = 2

:BOAT_34038
if 
  $boat_fade_flag == 3
goto_if_false @BOAT_34108
if 
  not Streaming.HasCarRecordingBeenLoaded(757)
goto_if_false @BOAT_34084
Streaming.RequestCarRecording(757)
goto @BOAT_34108

:BOAT_34084
World.SyncWater
Car.StartPlayback(37@, 757)
$boat_timer = 3
$boat_which_medal_displayed = 2

:BOAT_34108
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_34178
if 
  not Streaming.HasCarRecordingBeenLoaded(759)
goto_if_false @BOAT_34154
Streaming.RequestCarRecording(759)
goto @BOAT_34178

:BOAT_34154
World.SyncWater
Car.StartPlayback(37@, 759)
$boat_timer = 3
$boat_which_medal_displayed = 2

:BOAT_34178
if 
  $boat_fade_flag == 5
goto_if_false @BOAT_34248
if 
  not Streaming.HasCarRecordingBeenLoaded(760)
goto_if_false @BOAT_34224
Streaming.RequestCarRecording(760)
goto @BOAT_34248

:BOAT_34224
World.SyncWater
Car.StartPlayback(37@, 760)
$boat_timer = 3
$boat_which_medal_displayed = 2

:BOAT_34248
if 
  $boat_which_medal_displayed == 2
goto_if_false @BOAT_34569
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_34555
if 
  not Car.IsDead(46@)
goto_if_false @BOAT_34518
185@, 186@, 187@ = Car.GetCoordinates(37@)
if 
  $boat_fade_flag == 1
goto_if_false @BOAT_34350
185@ -= 35.0
186@ -= 30.0

:BOAT_34350
if 
  $boat_fade_flag == 2
goto_if_false @BOAT_34388
185@ -= 15.0
186@ -= 30.0

:BOAT_34388
if 
  $boat_fade_flag == 3
goto_if_false @BOAT_34426
185@ -= 13.0
186@ -= 13.0

:BOAT_34426
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_34464
185@ -= 10.0
186@ -= 20.0

:BOAT_34464
if 
  $boat_fade_flag == 5
goto_if_false @BOAT_34502
185@ -= 10.0
186@ -= 20.0

:BOAT_34502
Car.SetCoordinates(46@, 185@, 186@, 10.0)

:BOAT_34518
if 
  not Car.IsPlaybackGoingOn(37@)
goto_if_false @BOAT_34548
$boat_timer = 1
$boat_which_medal_displayed = 4

:BOAT_34548
goto @BOAT_34569

:BOAT_34555
$boat_timer = 1
$boat_which_medal_displayed = 4

:BOAT_34569
if 
  $boat_which_medal_displayed == 3
goto_if_false @BOAT_34601
$boat_timer = 1
$boat_which_medal_displayed = 4

:BOAT_34601
if 
  $boat_which_medal_displayed == 4
goto_if_false @BOAT_34736
if 
  $boat_timer == 2
goto_if_false @BOAT_34736
Car.StopPlayback(37@)
Camera.RestoreJumpcut
Hud.ClearTimer($nHoldModGarageState)
Hud.FreezeTimer(False)
Car.Delete(46@)
Car.Delete(37@)
gosub @BOAT_39049
$boat_which_medal_displayed = 0
Hud.ClearTimer($nHoldModGarageState)
Hud.FreezeTimer(False)
Car.Delete(37@)
Car.Delete(46@)
Char.Delete(47@)
Char.Delete(39@)
Car.Delete(40@)
Car.Delete(41@)
Car.Delete(44@)
Char.Delete(42@)
Char.Delete(43@)
Char.Delete(45@)

:BOAT_34736
return 

:BOAT_34738
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(False)
Text.SetBackground(False)
Text.SetScale(0.52, 1.45)
Text.SetDropshadow(2, 0, 0, 0, 255)
Text.SetFont(Font.Menu)
return 

:BOAT_34800
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(False)
Text.SetBackground(False)
Text.SetScale(0.52, 1.45)
Text.SetDropshadow(2, 0, 0, 0, 255)
Text.SetFont(Font.Menu)
return 
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(0.8, 2.6)
Text.SetDropshadow(2, 0, 0, 0, 255)
return 

:BOAT_34916
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(1.2, 4.0)
Text.SetDropshadow(3, 0, 0, 0, 255)
Text.SetFont(Font.Pricedown)
return 
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(1.0, 3.8)
Text.SetDropshadow(2, 0, 0, 0, 255)
Text.SetFont(Font.Menu)
return 

:BOAT_35036
Player.SetControl($statbike_temp, False)
Char.Delete(39@)
Char.Delete(42@)
Char.Delete(43@)
Car.Delete(40@)
Car.Delete(41@)
Car.Delete(44@)
Char.Delete(45@)
Hud.ClearTimer($nHoldModGarageState)
40@ = Car.Create(454, -2100.836, 2247.862, 0.0)
Car.SetHeading(40@, 122.0)
42@ = Char.CreateInsideCar(40@, PedType.Mission1, 210)
41@ = Car.Create(484, -1996.127, 2125.169, 0.0)
Car.SetHeading(41@, 160.0)
43@ = Char.CreateInsideCar(41@, PedType.Mission1, 210)
44@ = Car.Create(454, -2251.171, 2129.291, 0.0)
Car.SetHeading(44@, 182.0)
45@ = Char.CreateInsideCar(44@, PedType.Mission1, 210)
Char.WarpIntoCar($stattreadstamina_ctr, 37@)
Car.LockDoors(37@, CarLock.LockedPlayerInside)
wait 1000
Camera.DoFade(2000, Fade.Out)

:BOAT_35248
if 
  Camera.GetFadingStatus
goto_if_false @BOAT_35272
wait 0
goto @BOAT_35248

:BOAT_35272
Camera.RestoreJumpcut
Camera.SetBehindPlayer
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_35315
Streaming.LoadScene(-2318.049, 2312.302, 10.0)
wait 0

:BOAT_35315
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_35363
204@, 205@, 206@ = Car.GetCoordinates(37@)
World.ClearArea(204@, 205@, 206@, 1000.0, True)

:BOAT_35363
Camera.DoFade(2000, Fade.In)

:BOAT_35370
if 
  Camera.GetFadingStatus
goto_if_false @BOAT_35394
wait 0
goto @BOAT_35370

:BOAT_35394
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_35442
204@, 205@, 206@ = Car.GetCoordinates(37@)
World.ClearArea(204@, 205@, 206@, 1000.0, True)

:BOAT_35442
return 

:BOAT_35444
Camera.DoFade(500, Fade.Out)

:BOAT_35451
if 
  Camera.GetFadingStatus
goto_if_false @BOAT_35475
wait 0
goto @BOAT_35451

:BOAT_35475
if 
  $boat_fade_flag == 16
goto_if_false @BOAT_35514
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
goto @BOAT_35528

:BOAT_35514
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)

:BOAT_35528
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Weather.ForceNow(WeatherType.ExtraSunnyCountryside)
Streaming.SetAreaVisible(0)
Char.Delete(39@)
Char.Delete(42@)
Char.Delete(43@)
Car.Delete(40@)
Car.Delete(41@)
Car.Delete(44@)
Char.Delete(45@)
return 

:BOAT_35577
Blip.ChangeScale(53@, 1)
Blip.ChangeScale(54@, 1)
Blip.ChangeColor(52@, BlipColor.Yellow)
Blip.ChangeColor(51@, BlipColor.Yellow)
Blip.ChangeColor(53@, BlipColor.Yellow)
Blip.ChangeColor(54@, BlipColor.Yellow)
return 

:BOAT_35621
if 
  $boat_fade_flag == 1
goto_if_false @BOAT_35927
156@ = 0

:BOAT_35646
if 
  8 > 156@
goto_if_false @BOAT_35727
56@(156@,50i) = Object.CreateNoOffset(#BOUY, 0.0, 0.0, 100.0)
Object.SetCollision(56@(156@,50i), True)
Object.SetDynamic(56@(156@,50i), True)
156@ += 1
goto @BOAT_35646

:BOAT_35727
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_35927
Object.PlaceRelativeToCar(56@, 37@, 20.0, 180.0, 0.0)
Object.PlaceRelativeToCar(57@, 37@, -20.0, 180.0, 0.0)
Object.PlaceRelativeToCar(58@, 37@, 20.0, 190.0, 0.0)
Object.PlaceRelativeToCar(59@, 37@, -20.0, 190.0, 0.0)
Object.PlaceRelativeToCar(60@, 37@, 20.0, 200.0, 0.0)
Object.PlaceRelativeToCar(61@, 37@, -20.0, 200.0, 0.0)
Object.PlaceRelativeToCar(62@, 37@, 20.0, 210.0, 0.0)
Object.PlaceRelativeToCar(63@, 37@, -20.0, 210.0, 0.0)

:BOAT_35927
if 
  $boat_fade_flag == 2
goto_if_false @BOAT_36417
156@ = 0

:BOAT_35952
if 
  16 > 156@
goto_if_false @BOAT_36033
56@(156@,50i) = Object.CreateNoOffset(#BOUY, 0.0, 0.0, 100.0)
Object.SetCollision(56@(156@,50i), True)
Object.SetDynamic(56@(156@,50i), True)
156@ += 1
goto @BOAT_35952

:BOAT_36033
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_36417
Object.PlaceRelativeToCar(56@, 37@, 0.0, 80.0, 0.0)
Object.PlaceRelativeToCar(57@, 37@, 15.0, 70.0, 0.0)
Object.PlaceRelativeToCar(58@, 37@, 55.0, 145.0, 0.0)
Object.PlaceRelativeToCar(59@, 37@, 70.0, 130.0, 0.0)
Object.PlaceRelativeToCar(60@, 37@, 150.0, 110.0, 0.0)
Object.PlaceRelativeToCar(61@, 37@, 160.0, 130.0, 0.0)
Object.PlaceRelativeToCar(62@, 37@, 250.0, 80.0, 0.0)
Object.PlaceRelativeToCar(63@, 37@, 240.0, 60.0, 0.0)
Object.PlaceRelativeToCar(64@, 37@, 300.0, 0.0, 0.0)
Object.PlaceRelativeToCar(65@, 37@, 290.0, -20.0, 0.0)
Object.PlaceRelativeToCar(66@, 37@, 380.0, -150.0, 0.0)
Object.PlaceRelativeToCar(67@, 37@, 360.0, -150.0, 0.0)
Object.PlaceRelativeToCar(68@, 37@, 320.0, -300.0, 0.0)
Object.PlaceRelativeToCar(69@, 37@, 340.0, -325.0, 0.0)
Object.PlaceRelativeToCar(70@, 37@, 230.0, -280.0, 0.0)
Object.PlaceRelativeToCar(71@, 37@, 210.0, -300.0, 0.0)

:BOAT_36417
if 
  $boat_fade_flag == 3
goto_if_false @BOAT_37183
156@ = 0

:BOAT_36442
if 
  28 > 156@
goto_if_false @BOAT_36523
56@(156@,50i) = Object.CreateNoOffset(#BOUY, 0.0, 0.0, 100.0)
Object.SetCollision(56@(156@,50i), True)
Object.SetDynamic(56@(156@,50i), True)
156@ += 1
goto @BOAT_36442

:BOAT_36523
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_37183
Object.PlaceRelativeToCar(56@, 37@, 0.0, 100.0, 0.0)
Object.PlaceRelativeToCar(57@, 37@, 15.0, 100.0, 0.0)
Object.PlaceRelativeToCar(58@, 37@, 40.0, 200.0, 0.0)
Object.PlaceRelativeToCar(59@, 37@, 55.0, 190.0, 0.0)
Object.PlaceRelativeToCar(60@, 37@, 0.0, 300.0, 0.0)
Object.PlaceRelativeToCar(61@, 37@, -15.0, 290.0, 0.0)
Object.PlaceRelativeToCar(62@, 37@, 140.0, 320.0, 0.0)
Object.PlaceRelativeToCar(63@, 37@, 140.0, 335.0, 0.0)
Object.PlaceRelativeToCar(64@, 37@, 220.0, 370.0, 0.0)
Object.PlaceRelativeToCar(65@, 37@, 210.0, 385.0, 0.0)
Object.PlaceRelativeToCar(66@, 37@, 210.0, 470.0, 0.0)
Object.PlaceRelativeToCar(67@, 37@, 195.0, 460.0, 0.0)
Object.PlaceRelativeToCar(68@, 37@, 195.0, 570.0, 0.0)
Object.PlaceRelativeToCar(69@, 37@, 180.0, 570.0, 0.0)
Object.PlaceRelativeToCar(70@, 37@, 95.0, 570.0, 0.0)
Object.PlaceRelativeToCar(71@, 37@, 95.0, 585.0, 0.0)
Object.PlaceRelativeToCar(72@, 37@, 15.0, 500.0, 0.0)
Object.PlaceRelativeToCar(73@, 37@, 0.0, 515.0, 0.0)
Object.PlaceRelativeToCar(74@, 37@, -90.0, 585.0, 0.0)
Object.PlaceRelativeToCar(75@, 37@, -90.0, 570.0, 0.0)
Object.PlaceRelativeToCar(76@, 37@, -160.0, 500.0, 0.0)
Object.PlaceRelativeToCar(77@, 37@, -150.0, 485.0, 0.0)
Object.PlaceRelativeToCar(78@, 37@, -240.0, 430.0, 0.0)
Object.PlaceRelativeToCar(79@, 37@, -230.0, 415.0, 0.0)
Object.PlaceRelativeToCar(80@, 37@, -140.0, 330.0, 0.0)
Object.PlaceRelativeToCar(81@, 37@, -140.0, 315.0, 0.0)
Object.PlaceRelativeToCar(82@, 37@, -30.0, 220.0, 0.0)
Object.PlaceRelativeToCar(83@, 37@, -40.0, 205.0, 0.0)

:BOAT_37183
if 
  $boat_fade_flag == 4
goto_if_false @BOAT_37854
156@ = 0

:BOAT_37208
if 
  20 > 156@
goto_if_false @BOAT_37289
56@(156@,50i) = Object.CreateNoOffset(#BOUY, 0.0, 0.0, 100.0)
Object.SetCollision(56@(156@,50i), True)
Object.SetDynamic(56@(156@,50i), True)
156@ += 1
goto @BOAT_37208

:BOAT_37289
157@ = 0

:BOAT_37296
if 
  1 > 157@
goto_if_false @BOAT_37355
106@(157@,50i) = Object.CreateNoOffset(#WATERJUMPX2, 20.0, 20.0, 150.0)
157@ += 1
goto @BOAT_37296

:BOAT_37355
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_37854
Object.PlaceRelativeToCar(56@, 37@, 91.0, 480.0, 0.0)
Object.PlaceRelativeToCar(57@, 37@, 109.0, 480.0, 0.0)
Object.PlaceRelativeToCar(106@, 37@, 100.0, 480.0, 0.0)
Object.PlaceRelativeToCar(58@, 37@, 75.0, 500.0, 0.0)
Object.PlaceRelativeToCar(59@, 37@, 125.0, 500.0, 0.0)
Object.PlaceRelativeToCar(60@, 37@, 75.0, 510.0, 0.0)
Object.PlaceRelativeToCar(61@, 37@, 125.0, 510.0, 0.0)
Object.PlaceRelativeToCar(62@, 37@, 75.0, 520.0, 0.0)
Object.PlaceRelativeToCar(63@, 37@, 125.0, 520.0, 0.0)
Object.PlaceRelativeToCar(64@, 37@, 75.0, 530.0, 0.0)
Object.PlaceRelativeToCar(65@, 37@, 125.0, 530.0, 0.0)
Object.PlaceRelativeToCar(66@, 37@, 75.0, 540.0, 0.0)
Object.PlaceRelativeToCar(67@, 37@, 125.0, 540.0, 0.0)
Object.PlaceRelativeToCar(68@, 37@, 75.0, 550.0, 0.0)
Object.PlaceRelativeToCar(69@, 37@, 125.0, 550.0, 0.0)
Object.PlaceRelativeToCar(70@, 37@, 75.0, 560.0, 0.0)
Object.PlaceRelativeToCar(71@, 37@, 125.0, 560.0, 0.0)
Object.PlaceRelativeToCar(72@, 37@, 75.0, 570.0, 0.0)
Object.PlaceRelativeToCar(73@, 37@, 125.0, 570.0, 0.0)
Object.PlaceRelativeToCar(74@, 37@, 75.0, 580.0, 0.0)
Object.PlaceRelativeToCar(75@, 37@, 125.0, 580.0, 0.0)

:BOAT_37854
if 
  $boat_fade_flag == 5
goto_if_false @BOAT_39047
156@ = 0

:BOAT_37879
if 
  44 > 156@
goto_if_false @BOAT_37960
56@(156@,50i) = Object.CreateNoOffset(#BOUY, 0.0, 0.0, 100.0)
Object.SetCollision(56@(156@,50i), True)
Object.SetDynamic(56@(156@,50i), True)
156@ += 1
goto @BOAT_37879

:BOAT_37960
157@ = 0

:BOAT_37967
if 
  3 > 157@
goto_if_false @BOAT_38026
106@(157@,50i) = Object.CreateNoOffset(#WATERJUMPX2, 20.0, 20.0, 150.0)
157@ += 1
goto @BOAT_37967

:BOAT_38026
if 
  not Car.IsDead(37@)
goto_if_false @BOAT_39047
Object.PlaceRelativeToCar(56@, 37@, 25.0, 100.0, 0.0)
Object.PlaceRelativeToCar(57@, 37@, 10.0, 100.0, 0.0)
Object.PlaceRelativeToCar(58@, 37@, -30.0, 170.0, 0.0)
Object.PlaceRelativeToCar(59@, 37@, -50.0, 160.0, 0.0)
Object.PlaceRelativeToCar(60@, 37@, -100.0, 190.0, 0.0)
Object.PlaceRelativeToCar(61@, 37@, -120.0, 170.0, 0.0)
Object.PlaceRelativeToCar(62@, 37@, -170.0, 260.0, 0.0)
Object.PlaceRelativeToCar(63@, 37@, -188.0, 260.0, 0.0)
Object.PlaceRelativeToCar(106@, 37@, -179.0, 360.0, -6.509)
Object.PlaceRelativeToCar(64@, 37@, -170.0, 360.0, 0.0)
Object.PlaceRelativeToCar(65@, 37@, -188.0, 360.0, 0.0)
Object.PlaceRelativeToCar(66@, 37@, -180.0, 500.0, 0.0)
Object.PlaceRelativeToCar(67@, 37@, -195.0, 500.0, 0.0)
Object.PlaceRelativeToCar(68@, 37@, -50.0, 600.0, 0.0)
Object.PlaceRelativeToCar(69@, 37@, -30.0, 600.0, 0.0)
Object.SetCoordinates(107@, -2682.159, 1946.412, 0.9)
Object.SetHeading(107@, 180.0)
Object.SetCoordinates(70@, -2689.573, 1944.864, 0.0)
Object.SetCoordinates(71@, -2674.354, 1944.607, 0.0)
Object.SetCoordinates(108@, -2681.746, 1608.794, 0.9)
Object.SetHeading(108@, 180.0)
Object.SetCoordinates(72@, -2689.573, 1607.794, 0.0)
Object.SetCoordinates(73@, -2674.354, 1607.794, 0.0)
Object.SetCoordinates(74@, -2689.27, 1533.282, 0.0)
Object.SetCoordinates(75@, -2674.64, 1530.12, 0.0)
Object.SetCoordinates(76@, -2553.7, 1494.392, 0.0)
Object.SetCoordinates(77@, -2550.742, 1481.417, 0.0)
Object.SetCoordinates(78@, -2453.7, 1494.392, 0.0)
Object.SetCoordinates(79@, -2450.742, 1481.417, 0.0)
Object.SetCoordinates(80@, -2353.7, 1474.392, 0.0)
Object.SetCoordinates(81@, -2350.742, 1461.417, 0.0)
Object.SetCoordinates(82@, -2284.242, 1547.581, 0.0)
Object.SetCoordinates(83@, -2270.893, 1550.765, 0.0)
Object.SetCoordinates(84@, -2334.242, 1647.581, 0.0)
Object.SetCoordinates(85@, -2320.893, 1650.765, 0.0)
Object.SetCoordinates(86@, -2284.242, 1747.581, 0.0)
Object.SetCoordinates(87@, -2270.893, 1750.765, 0.0)
Object.SetCoordinates(88@, -2139.394, 1821.263, 0.0)
Object.SetCoordinates(89@, -2134.581, 1808.785, 0.0)
Object.SetCoordinates(90@, -2039.394, 1761.263, 0.0)
Object.SetCoordinates(91@, -2034.581, 1748.785, 0.0)
Object.SetCoordinates(92@, -1939.394, 1841.263, 0.0)
Object.SetCoordinates(93@, -1934.581, 1828.785, 0.0)
Object.SetCoordinates(94@, -1809.394, 1801.263, 0.0)
Object.SetCoordinates(95@, -1804.581, 1788.785, 0.0)
Object.SetCoordinates(96@, -1831.853, 1909.105, 0.0)
Object.SetCoordinates(97@, -1847.253, 1906.112, 0.0)
Object.SetCoordinates(98@, -1879.002, 2073.601, 0.0)
Object.SetCoordinates(99@, -1893.786, 2068.166, 0.0)

:BOAT_39047
return 

:BOAT_39049
156@ = 0

:BOAT_39056
if 
  50 > 156@
goto_if_false @BOAT_39106
Object.Delete(56@(156@,50i))
Object.Delete(106@(156@,50i))
156@ += 1
goto @BOAT_39056

:BOAT_39106
return 

:BOAT_39108
252@ = Game.GetCurrentLanguage()
if 
is_japanese_version 
goto_if_false @BOAT_39133
252@ = 5

:BOAT_39133
return 

:BOAT_39135
Streaming.LoadSceneInDirection(-2185.335, 2410.409, 3.9752, 122.2585)
Text.ClearHelp
Text.ClearPrints
Char.SetHeading($stattreadstamina_ctr, 177@)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
return 

:BOAT_39175
if 
  $boat_simplecircuit_bronzeachieved == 0
goto_if_false @BOAT_39251
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Text.PrintBig('BOAT_P2', 5000, TextStyle.Middle)
Text.Print('BOAT_P1', 5000, 1)
Audio.PlayMissionPassedTune(2)
Player.ClearWantedLevel($statbike_temp)
Stat.PlayerMadeProgress(1)
Stat.RegisterOddjobMissionPassed
$boat_simplecircuit_bronzeachieved = 1

:BOAT_39251
return 

:BOAT_39253
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1001)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1098)
Player.SetCanDoDriveBy($statbike_temp, True)
Char.SetDrownsInWater($stattreadstamina_ctr, True)
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Hud.Display(True)
Hud.DisplayRadar(True)
Hud.DisplayCarNames(True)
Hud.DisplayZoneNames(True)
Hud.ClearTimer($nHoldModGarageState)
Blip.Remove(52@)
Blip.Remove(51@)
Blip.Remove(53@)
Blip.Remove(54@)
Streaming.MarkModelAsNoLongerNeeded(210)
Char.MarkAsNoLongerNeeded(39@)
Char.MarkAsNoLongerNeeded(38@)
Car.Delete(37@)
Car.Delete(46@)
Char.Delete(42@)
Char.Delete(43@)
Car.Delete(40@)
Car.Delete(41@)
Car.Delete(44@)
Char.Delete(45@)
Streaming.MarkModelAsNoLongerNeeded(473)
Streaming.MarkModelAsNoLongerNeeded(497)
Streaming.MarkModelAsNoLongerNeeded(472)
Streaming.MarkModelAsNoLongerNeeded(484)
Streaming.MarkModelAsNoLongerNeeded(454)
Streaming.MarkModelAsNoLongerNeeded(539)
Weather.Release
Player.SetControl($statbike_temp, True)
$flag_courier_mission_passed = Clock.GetGameTimer()
if 
  $pimp_passed_once == 0
goto_if_false @BOAT_39580
if 
  $boat_slalom_bronzeachieved == 1
goto_if_false @BOAT_39580
if 
  $boat_skijump_bronzeachieved == 1
goto_if_false @BOAT_39580
if 
  $boat_hover_bronzeachieved == 1
goto_if_false @BOAT_39580
if 
  $boat_bronze_rewardgiven == 1
goto_if_false @BOAT_39580
if 
  $boat_bronze_generator == 1
goto_if_false @BOAT_39580
$pimp_passed_once = 1
$boat_gold_generator = 99
$boat_silver_generator = 99

:BOAT_39580
if 
  $boat_gold_generator == 0
goto_if_false @BOAT_39702
if 
  $boat_simplecircuit_goldachieved == 1
goto_if_false @BOAT_39702
if 
  $boat_slalom_goldachieved == 1
goto_if_false @BOAT_39702
if 
  $boat_skijump_goldachieved == 1
goto_if_false @BOAT_39702
if 
  $boat_hover_goldachieved == 1
goto_if_false @BOAT_39702
if 
  $boat_gold_rewardgiven == 1
goto_if_false @BOAT_39702
$boat_gold_generator = 1
$boat_silver_generator = 99

:BOAT_39702
if 
  $boat_silver_generator == 0
goto_if_false @BOAT_39817
if 
  $boat_simplecircuit_silverachieved == 1
goto_if_false @BOAT_39817
if 
  $boat_slalom_silverachieved == 1
goto_if_false @BOAT_39817
if 
  $boat_skijump_silverachieved == 1
goto_if_false @BOAT_39817
if 
  $boat_hover_silverachieved == 1
goto_if_false @BOAT_39817
if 
  $boat_silver_rewardgiven == 1
goto_if_false @BOAT_39817
$boat_silver_generator = 1

:BOAT_39817
if 
  $pimp_passed_once == 1
goto_if_false @BOAT_39884
CarGenerator.Switch($courierSF_passed_once, 101)
CarGenerator.SetHasBeenOwned($courierSF_passed_once, True)
CarGenerator.Switch($courierLV_passed_once, 101)
CarGenerator.SetHasBeenOwned($courierLV_passed_once, True)
CarGenerator.Switch($courierLA_passed_once, 101)
CarGenerator.SetHasBeenOwned($courierLA_passed_once, True)
$pimp_passed_once = 2

:BOAT_39884
if 
  $boat_gold_generator == 1
goto_if_false @BOAT_39937
CarGenerator.Switch($courierLV_passed_once, 101)
CarGenerator.SetHasBeenOwned($courierLV_passed_once, True)
CarGenerator.Switch($courierLA_passed_once, 101)
CarGenerator.SetHasBeenOwned($courierLA_passed_once, True)
$boat_gold_generator = 2

:BOAT_39937
if 
  $boat_silver_generator == 1
goto_if_false @BOAT_39976
CarGenerator.Switch($courierLA_passed_once, 101)
CarGenerator.SetHasBeenOwned($courierLA_passed_once, True)
$boat_silver_generator = 2

:BOAT_39976
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 120---------------
// Originally: Bike School

:BSKOOL
script_name 'BSKOOL'
gosub @BSKOOL_47
if 
  has_deatharrest_been_executed 
goto_if_false @BSKOOL_38
gosub @BSKOOL_12639

:BSKOOL_38
gosub @BSKOOL_12744
terminate_this_script 

:BSKOOL_47
Text.ClearThisPrint('M_FAIL')
if 
  $respect_help_played == 0
goto_if_false @BSKOOL_78
Stat.RegisterMissionGiven

:BSKOOL_78
$weapon_shop1_blip = 1
Text.LoadMissionText('BS')
Camera.SetFadingColor(0, 0, 0)
wait 0
if 
  $weapon_shop1_blip == 0
goto_if_false @BSKOOL_218
38@ = Car.Create(581, $circle_start_y, $cone_coords_x, $dummy_car1_health)
49@ = Char.CreateInsideCar(38@, PedType.CivFemale, 50)
$205[20] = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 100.0)
$205[30] = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 100.0)
56@ = Object.Create(#LANDJUMP2, $circle_start_y, $cone_coords_x, $dummy_car1_health)

:BSKOOL_218
34@ = 0
61@ = 0
62@ = 0
57@ = 0
63@ = 0
64@ = 0
65@ = 0
66@ = 0
67@ = 0
51@ = 0
if 
  $bs_the360_best_score == 0
goto_if_false @BSKOOL_313
$bs_the360_best_score = 1

:BSKOOL_313
$instructor_car_heading = 1
$area_check1bx = 1130.44
$area_check1by = 1341.0
$camera_positiony = 1173.93
$camera_positionz = 1351.066
$camera_position_int = 9.9219
Char.SetCoordinates($stattreadstamina_ctr, 1171.521, 1351.183, 9.9219)
Streaming.RequestModel(581)
Streaming.RequestModel(521)
Streaming.RequestModel(461)
Streaming.RequestModel(#TRAFFICCONE)
Streaming.RequestModel(#LANDJUMP2)
Streaming.RequestModel(522)
Streaming.RequestModel(468)
Streaming.RequestModel(50)

:BSKOOL_429
if or
  not Streaming.HasModelLoaded(581)
  not Streaming.HasModelLoaded(521)
  not Streaming.HasModelLoaded(461)
  not Streaming.HasModelLoaded(#TRAFFICCONE)
  not Streaming.HasModelLoaded(#LANDJUMP2)
goto_if_false @BSKOOL_476
wait 0
goto @BSKOOL_429

:BSKOOL_476
if or
  not Streaming.HasModelLoaded(468)
  not Streaming.HasModelLoaded(50)
  not Streaming.HasModelLoaded(522)
goto_if_false @BSKOOL_512
wait 0
goto @BSKOOL_476

:BSKOOL_512
Txd.LoadDictionary('LD_DRV')
Txd.LoadSprite(1, "BRONZE")
Txd.LoadSprite(2, "SILVER")
Txd.LoadSprite(3, "GOLD")
Txd.LoadSprite(4, "RIBB")
Txd.LoadSprite(5, "TVCORN")
Txd.LoadSprite(6, "NAWARD")
Txd.LoadSprite(7, "RIBBW")
Txd.LoadSprite(8, "BLKDOT")
Txd.LoadSprite(9, "TVBASE")
Player.SetControl($statbike_temp, True)
Hud.Display(False)
goto @BSKOOL_644

:BSKOOL_644
Player.SetControl($statbike_temp, False)
Text.ClearHelp
Text.ClearPrints
50@ = Player.StoreWantedLevel($statbike_temp)
Player.ClearWantedLevel($statbike_temp)
gosub @BSKOOL_17373
34@ = 0
57@ = 0
Text.UseCommands(True)
64@ = 255
63@ = 2
if 
  7 > $bs_the360_best_score
goto_if_false @BSKOOL_734
set_var_int_to_lvar_int $instructor_car_heading = 37@

:BSKOOL_734
Camera.DoFade(500, Fade.In)

:BSKOOL_741
if 
  Camera.GetFadingStatus
goto_if_false @BSKOOL_774
Text.ClearPrints
gosub @BSKOOL_13424
wait 0
goto @BSKOOL_741

:BSKOOL_774
gosub @BSKOOL_13424
Hud.DisplayRadar(False)

:BSKOOL_785
wait 0
gosub @BSKOOL_13424
if 
  51@ == 0
goto_if_false @BSKOOL_828
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 3800)
51@ = 1

:BSKOOL_828
if 
  51@ == 1
goto_if_false @BSKOOL_868
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @BSKOOL_868
51@ = 2

:BSKOOL_868
if 
  51@ == 2
goto_if_false @BSKOOL_897
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
51@ = 3

:BSKOOL_897
if 
  57@ == 0
goto_if_false @BSKOOL_1395
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  -100 > $been_in_a_bmx
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @BSKOOL_1012
37@ -= 1
$instructor_car_heading -= 1
if 
  $bs_the360_best_score > 1
goto_if_false @BSKOOL_1012
if 
  4 > 34@
goto_if_false @BSKOOL_1012
34@ = 3

:BSKOOL_1012
if or
  $been_in_a_bmx > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @BSKOOL_1093
37@ += 1
$instructor_car_heading += 1
if 
  $bs_the360_best_score > 1
goto_if_false @BSKOOL_1093
if 
  4 > 34@
goto_if_false @BSKOOL_1093
34@ = 3

:BSKOOL_1093
if 
  1 > $instructor_car_heading
goto_if_false @BSKOOL_1127
set_var_int_to_var_int $instructor_car_heading = $bs_the360_best_score
set_lvar_int_to_var_int 37@ = $bs_the360_best_score

:BSKOOL_1127
if 
  is_int_var_greater_than_int_var $instructor_car_heading > $bs_the360_best_score
goto_if_false @BSKOOL_1160
37@ = 1
$instructor_car_heading = 1

:BSKOOL_1160
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @BSKOOL_1195
wait 0
gosub @BSKOOL_13424
goto @BSKOOL_1160

:BSKOOL_1195
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @BSKOOL_1230
wait 0
gosub @BSKOOL_13424
goto @BSKOOL_1195

:BSKOOL_1230
if 
  -100 > $been_in_a_bmx
goto_if_false @BSKOOL_1282
wait 0
gosub @BSKOOL_13424
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
goto @BSKOOL_1230

:BSKOOL_1282
if 
  $been_in_a_bmx > 100
goto_if_false @BSKOOL_1334
wait 0
gosub @BSKOOL_13424
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
goto @BSKOOL_1282

:BSKOOL_1334
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BSKOOL_1395
if 
  4 > 34@
goto_if_false @BSKOOL_1377
34@ = 3

:BSKOOL_1377
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
51@ = 0
goto @BSKOOL_1641

:BSKOOL_1395
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @BSKOOL_1417
$bs_the360_best_score = 6

:BSKOOL_1417
if 
is_ps2_keyboard_key_pressed 53
goto_if_false @BSKOOL_1481
$bs_the360_best_score = 6
$bs_jumpstop_best_score = 100
$bs_jumpstoppie_best_score = 100
$bs_passed = 100
$bs_the360_bronzeachieved = 100
$bs_the360_silverachieved = 100
$bs_the360_goldachieved = 100

:BSKOOL_1481
if and
  $bs_jumpstop_best_score > 69
  $bs_jumpstoppie_best_score > 69
  $bs_passed > 69
  $bs_the360_bronzeachieved > 69
  $bs_the360_silverachieved > 69
  $bs_the360_goldachieved > 69
goto_if_false @BSKOOL_1541
$bs_the180_bronzeachieved = 1

:BSKOOL_1541
if 
  $respect_help_played == 0
goto_if_false @BSKOOL_1591
if 
  $bs_the180_bronzeachieved == 1
goto_if_false @BSKOOL_1591
gosub @BSKOOL_21498
goto @BSKOOL_12667

:BSKOOL_1591
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BSKOOL_1627
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
51@ = 0
goto @BSKOOL_12639

:BSKOOL_1627
gosub @BSKOOL_16563
goto @BSKOOL_785

:BSKOOL_1641
Camera.DoFade(500, Fade.Out)

:BSKOOL_1648
if 
  Camera.GetFadingStatus
goto_if_false @BSKOOL_1679
gosub @BSKOOL_13424
wait 0
goto @BSKOOL_1648

:BSKOOL_1679
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_1700
Car.StopPlayback(38@)

:BSKOOL_1700
Car.Delete(38@)
Char.Delete(49@)
World.ClearArea($camera_positiony, $camera_positionz, $camera_position_int, 300.0, True)
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
Car.Delete(38@)
gosub @BSKOOL_21837
34@ = 5
Hud.DisplayRadar(True)
if 
  $instructor_car_heading == 1
goto_if_false @BSKOOL_4197

:BSKOOL_1778
gosub @BSKOOL_17336

:BSKOOL_1785
$dummy_car2_health = 180.0
$perfect_positionz = 16000
35@ = 181
gosub @BSKOOL_17373
38@ = Car.Create(581, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading(38@, 180.0)
gosub @BSKOOL_21908
if 
  34@ == 0
goto_if_false @BSKOOL_1941
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_1898
49@ = Char.CreateInsideCar(38@, PedType.CivFemale, 50)

:BSKOOL_1898
Camera.SetFixedPosition(1125.66, 1334.4, 22.5, 0.0, 0.0, 0.0)
Camera.PointAtCar(38@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:BSKOOL_1941
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords(38@, 0.0, 0.0, 0.0)
Text.ClearPrints
Text.PrintNow('BS_A_1', 5000, 4)
gosub @BSKOOL_18095

:BSKOOL_1995
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BSKOOL_2030
48@ = 2
goto @BSKOOL_4137

:BSKOOL_2030
gosub @BSKOOL_18162
if 
  48@ == 1
goto_if_false @BSKOOL_2062
goto @BSKOOL_12639

:BSKOOL_2062
if 
  $car_timer == 0
goto_if_false @BSKOOL_2110
Text.PrintNow('BS_A_1', 5000, 4)
gosub @BSKOOL_18238
goto @BSKOOL_4190

:BSKOOL_2110
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_4190
gosub @BSKOOL_18530
$dummy_car2_health = Car.GetHeading(38@)
if 
  $car_posy == 0
goto_if_false @BSKOOL_2215
if 
  $dummy_car2_health > 80.0
goto_if_false @BSKOOL_2215
if 
  90.0 > $dummy_car2_health
goto_if_false @BSKOOL_2215
$car_posy = 1
58@ = 1

:BSKOOL_2215
if 
  58@ == 1
goto_if_false @BSKOOL_2434
if 
  $car_posy == 1
goto_if_false @BSKOOL_2300
if 
  $dummy_car2_health > 350.0
goto_if_false @BSKOOL_2300
if 
  360.0 > $dummy_car2_health
goto_if_false @BSKOOL_2300
$car_posy = 2

:BSKOOL_2300
if 
  $car_posy == 2
goto_if_false @BSKOOL_2367
if 
  $dummy_car2_health > 270.0
goto_if_false @BSKOOL_2367
if 
  280.0 > $dummy_car2_health
goto_if_false @BSKOOL_2367
$car_posy = 3

:BSKOOL_2367
if 
  $car_posy == 3
goto_if_false @BSKOOL_2434
if 
  $dummy_car2_health > 170.0
goto_if_false @BSKOOL_2434
if 
  180.0 > $dummy_car2_health
goto_if_false @BSKOOL_2434
$car_posy = 4

:BSKOOL_2434
if 
  $car_posy == 0
goto_if_false @BSKOOL_2508
if 
  $dummy_car2_health > 270.0
goto_if_false @BSKOOL_2508
if 
  280.0 > $dummy_car2_health
goto_if_false @BSKOOL_2508
58@ = 2
$car_posy = 1

:BSKOOL_2508
if 
  58@ == 2
goto_if_false @BSKOOL_2727
if 
  $car_posy == 1
goto_if_false @BSKOOL_2593
if 
  $dummy_car2_health > 350.0
goto_if_false @BSKOOL_2593
if 
  360.0 > $dummy_car2_health
goto_if_false @BSKOOL_2593
$car_posy = 2

:BSKOOL_2593
if 
  $car_posy == 2
goto_if_false @BSKOOL_2660
if 
  $dummy_car2_health > 80.0
goto_if_false @BSKOOL_2660
if 
  90.0 > $dummy_car2_health
goto_if_false @BSKOOL_2660
$car_posy = 3

:BSKOOL_2660
if 
  $car_posy == 3
goto_if_false @BSKOOL_2727
if 
  $dummy_car2_health > 170.0
goto_if_false @BSKOOL_2727
if 
  180.0 > $dummy_car2_health
goto_if_false @BSKOOL_2727
$car_posy = 4

:BSKOOL_2727
if 
is_xbox_version 
goto_if_false @BSKOOL_3468
if or
  not Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
  not Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  not Char.IsInCar($stattreadstamina_ctr, 38@)
  $perfect_positionz == 0
goto_if_false @BSKOOL_3461
gosub @BSKOOL_18564
gosub @BSKOOL_18577
if 
  $car_posy == 4
goto_if_false @BSKOOL_2817
$time_score = 100

:BSKOOL_2817
if 
  $car_posy == 3
goto_if_false @BSKOOL_2842
$time_score = 75

:BSKOOL_2842
if 
  $car_posy == 2
goto_if_false @BSKOOL_2867
$time_score = 50

:BSKOOL_2867
if 
  $car_posy == 1
goto_if_false @BSKOOL_2892
$time_score = 25

:BSKOOL_2892
if 
  $car_posy == 0
goto_if_false @BSKOOL_2917
$time_score = 0

:BSKOOL_2917
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @BSKOOL_2965
$variabled = 0

:BSKOOL_2965
gosub @BSKOOL_18821
gosub @BSKOOL_19199
if 
  is_int_var_greater_than_int_var $variabled > $bs_passed
goto_if_false @BSKOOL_3185
set_lvar_int_to_var_int 67@ = $bs_passed
set_var_int_to_var_int $bs_passed = $variabled
59@ = 1
gosub @BSKOOL_19663
if 
  65@ == 4
goto_if_false @BSKOOL_3085
if 
  $bs_wheelie_bronzeachieved == 0
goto_if_false @BSKOOL_3085
$bs_wheelie_bronzeachieved = 1
$bs_the180_goldachieved = 1
$bs_the180_silverachieved = 1

:BSKOOL_3085
if 
  65@ == 3
goto_if_false @BSKOOL_3135
if 
  $bs_the180_goldachieved == 0
goto_if_false @BSKOOL_3135
$bs_the180_goldachieved = 1
$bs_the180_silverachieved = 1

:BSKOOL_3135
if 
  65@ == 2
goto_if_false @BSKOOL_3178
if 
  $bs_the180_silverachieved == 0
goto_if_false @BSKOOL_3178
$bs_the180_silverachieved = 1

:BSKOOL_3178
goto @BSKOOL_3192

:BSKOOL_3185
65@ = 0

:BSKOOL_3192
if 
  $bs_the360_best_score == 1
goto_if_false @BSKOOL_3276
if 
  $variabled > 69
goto_if_false @BSKOOL_3276
59@ = 2
$bs_the360_best_score = 2
48@ = 2
37@ += 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1185)

:BSKOOL_3276
TIMERA = 0

:BSKOOL_3283
if 
  TIMERA > -1
goto_if_false @BSKOOL_3408
wait 0
gosub @BSKOOL_19228
if 
  59@ <> 2
goto_if_false @BSKOOL_3362
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BSKOOL_3362
48@ = 2
goto @BSKOOL_3408

:BSKOOL_3362
gosub @BSKOOL_19893
gosub @BSKOOL_21414
if 
  $camera_positionx == 1
goto_if_false @BSKOOL_3401
goto @BSKOOL_4137

:BSKOOL_3401
goto @BSKOOL_3283

:BSKOOL_3408
gosub @BSKOOL_21498
gosub @BSKOOL_21837
if 
  48@ == 2
goto_if_false @BSKOOL_3454
goto @BSKOOL_644
goto @BSKOOL_3461

:BSKOOL_3454
goto @BSKOOL_1778

:BSKOOL_3461
goto @BSKOOL_4190

:BSKOOL_3468
if or
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
  not Pad.IsButtonPressed(PadId.Pad1, Button.Square)
  not Char.IsInCar($stattreadstamina_ctr, 38@)
  $perfect_positionz == 0
goto_if_false @BSKOOL_4190
gosub @BSKOOL_18564
gosub @BSKOOL_18577
if 
  $car_posy == 4
goto_if_false @BSKOOL_3546
$time_score = 100

:BSKOOL_3546
if 
  $car_posy == 3
goto_if_false @BSKOOL_3571
$time_score = 75

:BSKOOL_3571
if 
  $car_posy == 2
goto_if_false @BSKOOL_3596
$time_score = 50

:BSKOOL_3596
if 
  $car_posy == 1
goto_if_false @BSKOOL_3621
$time_score = 25

:BSKOOL_3621
if 
  $car_posy == 0
goto_if_false @BSKOOL_3646
$time_score = 0

:BSKOOL_3646
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @BSKOOL_3694
$variabled = 0

:BSKOOL_3694
gosub @BSKOOL_18821
gosub @BSKOOL_19199
if 
  is_int_var_greater_than_int_var $variabled > $bs_passed
goto_if_false @BSKOOL_3914
set_lvar_int_to_var_int 67@ = $bs_passed
set_var_int_to_var_int $bs_passed = $variabled
59@ = 1
gosub @BSKOOL_19663
if 
  65@ == 4
goto_if_false @BSKOOL_3814
if 
  $bs_wheelie_bronzeachieved == 0
goto_if_false @BSKOOL_3814
$bs_wheelie_bronzeachieved = 1
$bs_the180_goldachieved = 1
$bs_the180_silverachieved = 1

:BSKOOL_3814
if 
  65@ == 3
goto_if_false @BSKOOL_3864
if 
  $bs_the180_goldachieved == 0
goto_if_false @BSKOOL_3864
$bs_the180_goldachieved = 1
$bs_the180_silverachieved = 1

:BSKOOL_3864
if 
  65@ == 2
goto_if_false @BSKOOL_3907
if 
  $bs_the180_silverachieved == 0
goto_if_false @BSKOOL_3907
$bs_the180_silverachieved = 1

:BSKOOL_3907
goto @BSKOOL_3921

:BSKOOL_3914
65@ = 0

:BSKOOL_3921
if 
  $bs_the360_best_score == 1
goto_if_false @BSKOOL_4005
if 
  $variabled > 69
goto_if_false @BSKOOL_4005
59@ = 2
$bs_the360_best_score = 2
48@ = 2
37@ += 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1185)

:BSKOOL_4005
TIMERA = 0

:BSKOOL_4012
if 
  TIMERA > -1
goto_if_false @BSKOOL_4137
wait 0
gosub @BSKOOL_19228
if 
  59@ <> 2
goto_if_false @BSKOOL_4091
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BSKOOL_4091
48@ = 2
goto @BSKOOL_4137

:BSKOOL_4091
gosub @BSKOOL_19893
gosub @BSKOOL_21414
if 
  $camera_positionx == 1
goto_if_false @BSKOOL_4130
goto @BSKOOL_4137

:BSKOOL_4130
goto @BSKOOL_4012

:BSKOOL_4137
gosub @BSKOOL_21498
gosub @BSKOOL_21837
if 
  48@ == 2
goto_if_false @BSKOOL_4183
goto @BSKOOL_644
goto @BSKOOL_4190

:BSKOOL_4183
goto @BSKOOL_1778

:BSKOOL_4190
goto @BSKOOL_1995

:BSKOOL_4197
if 
  $instructor_car_heading == 2
goto_if_false @BSKOOL_5623

:BSKOOL_4215
gosub @BSKOOL_17336

:BSKOOL_4222
$dummy_car2_health = 0.0
$perfect_positionz = 11000
35@ = 182
gosub @BSKOOL_17373
38@ = Car.Create(461, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading(38@, 180.0)
gosub @BSKOOL_21908
if 
  34@ == 0
goto_if_false @BSKOOL_4378
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_4335
49@ = Char.CreateInsideCar(38@, PedType.CivFemale, 50)

:BSKOOL_4335
Camera.SetFixedPosition(1130.66, 1264.4, 14.5, 0.0, 0.0, 0.0)
Camera.PointAtCar(38@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:BSKOOL_4378
$area_check2ax, $area_check2ay, $z = Car.GetOffsetInWorldCoords(38@, -2.0, 82.0, 0.0)
$area_check2bx, $area_check2by, $z = Car.GetOffsetInWorldCoords(38@, 2.0, 88.0, 0.0)
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords(38@, 0.0, 0.0, 0.0)
Text.ClearPrints
Text.PrintNow('BS_B_1', 5000, 4)
gosub @BSKOOL_18095

:BSKOOL_4490
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BSKOOL_4525
48@ = 2
goto @BSKOOL_5563

:BSKOOL_4525
if 
  $car_timer == 0
goto_if_false @BSKOOL_4573
Text.PrintNow('BS_B_1', 5000, 4)
gosub @BSKOOL_18238
goto @BSKOOL_5616

:BSKOOL_4573
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_5616
gosub @BSKOOL_18530
if 
  $car_posy == 0
goto_if_false @BSKOOL_4651
if 
  Car.IsInArea2D(38@, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @BSKOOL_4651
$car_posy = 1

:BSKOOL_4651
if or
  Car.IsStopped(38@)
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @BSKOOL_5616
gosub @BSKOOL_18564
gosub @BSKOOL_18577
if 
  $car_posy == 0
goto_if_false @BSKOOL_4714
$overall_score = 0

:BSKOOL_4714
42@ = Car.GetHeading(38@)
cset_lvar_int_to_lvar_float 39@ =# 42@
if 
  39@ == 0
goto_if_false @BSKOOL_4762
$time_score = 100
goto @BSKOOL_5047

:BSKOOL_4762
if 
  39@ == 360
goto_if_false @BSKOOL_4795
$time_score = 100
goto @BSKOOL_5047

:BSKOOL_4795
if 
  39@ > 0
goto_if_false @BSKOOL_4838
if 
  21 > 39@
goto_if_false @BSKOOL_4838
$time_score = 100

:BSKOOL_4838
if 
  39@ > 179
goto_if_false @BSKOOL_4917
if 
  340 > 39@
goto_if_false @BSKOOL_4917
39@ -= 180
cset_var_float_to_lvar_int $circle_start_x =# 39@
$circle_start_x *= 0.62
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @BSKOOL_5047

:BSKOOL_4917
if 
  39@ > 339
goto_if_false @BSKOOL_4962
if 
  360 > 39@
goto_if_false @BSKOOL_4962
$time_score = 100

:BSKOOL_4962
if 
  39@ > 20
goto_if_false @BSKOOL_5047
if 
  180 > 39@
goto_if_false @BSKOOL_5047
cset_var_float_to_lvar_int $circle_start_x =# 39@
$circle_start_x *= 0.62
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @BSKOOL_5047

:BSKOOL_5047
if 
  1 > $time_score
goto_if_false @BSKOOL_5072
$time_score = 0

:BSKOOL_5072
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @BSKOOL_5120
$variabled = 0

:BSKOOL_5120
gosub @BSKOOL_18821
gosub @BSKOOL_19199
if 
  is_int_var_greater_than_int_var $variabled > $bs_the360_bronzeachieved
goto_if_false @BSKOOL_5340
set_lvar_int_to_var_int 67@ = $bs_the360_bronzeachieved
set_var_int_to_var_int $bs_the360_bronzeachieved = $variabled
59@ = 1
gosub @BSKOOL_19663
if 
  65@ == 4
goto_if_false @BSKOOL_5240
if 
  $bs_jumpstop_bronzeachieved == 0
goto_if_false @BSKOOL_5240
$bs_jumpstop_bronzeachieved = 1
$bs_wheelie_goldachieved = 1
$bs_wheelie_silverachieved = 1

:BSKOOL_5240
if 
  65@ == 3
goto_if_false @BSKOOL_5290
if 
  $bs_wheelie_goldachieved == 0
goto_if_false @BSKOOL_5290
$bs_wheelie_goldachieved = 1
$bs_wheelie_silverachieved = 1

:BSKOOL_5290
if 
  65@ == 2
goto_if_false @BSKOOL_5333
if 
  $bs_wheelie_silverachieved == 0
goto_if_false @BSKOOL_5333
$bs_wheelie_silverachieved = 1

:BSKOOL_5333
goto @BSKOOL_5347

:BSKOOL_5340
65@ = 0

:BSKOOL_5347
if 
  $bs_the360_best_score == 2
goto_if_false @BSKOOL_5431
if 
  $variabled > 69
goto_if_false @BSKOOL_5431
59@ = 2
$bs_the360_best_score = 3
48@ = 2
37@ += 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1185)

:BSKOOL_5431
TIMERA = 0

:BSKOOL_5438
if 
  TIMERA > -1
goto_if_false @BSKOOL_5563
wait 0
gosub @BSKOOL_19228
if 
  59@ <> 2
goto_if_false @BSKOOL_5517
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BSKOOL_5517
48@ = 2
goto @BSKOOL_5563

:BSKOOL_5517
gosub @BSKOOL_19893
gosub @BSKOOL_21414
if 
  $camera_positionx == 1
goto_if_false @BSKOOL_5556
goto @BSKOOL_5563

:BSKOOL_5556
goto @BSKOOL_5438

:BSKOOL_5563
gosub @BSKOOL_21498
gosub @BSKOOL_21837
if 
  48@ == 2
goto_if_false @BSKOOL_5609
goto @BSKOOL_644
goto @BSKOOL_5616

:BSKOOL_5609
goto @BSKOOL_4215

:BSKOOL_5616
goto @BSKOOL_4490

:BSKOOL_5623
if 
  $instructor_car_heading == 3
goto_if_false @BSKOOL_7392

:BSKOOL_5641
gosub @BSKOOL_17336

:BSKOOL_5648
$dummy_car2_health = 180.0
$perfect_positionz = 9000
35@ = 183
gosub @BSKOOL_17373
38@ = Car.Create(521, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading(38@, 180.0)
gosub @BSKOOL_21908
if 
  34@ == 0
goto_if_false @BSKOOL_5804
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_5761
49@ = Char.CreateInsideCar(38@, PedType.CivFemale, 50)

:BSKOOL_5761
Camera.SetFixedPosition(1125.66, 1283.4, 10.5, 0.0, 0.0, 0.0)
Camera.PointAtCar(38@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:BSKOOL_5804
$area_check2ax, $area_check2ay, $z = Car.GetOffsetInWorldCoords(38@, -3.5, 56.0, 0.0)
$area_check2bx, $area_check2by, $z = Car.GetOffsetInWorldCoords(38@, 3.5, 84.0, 0.0)
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords(38@, 0.0, 124.0, 0.0)
Text.ClearPrints
Text.PrintNow('BS_C_1', 5000, 4)
gosub @BSKOOL_18095

:BSKOOL_5916
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BSKOOL_5951
48@ = 2
goto @BSKOOL_7332

:BSKOOL_5951
if 
  $car_timer == 0
goto_if_false @BSKOOL_5999
Text.PrintNow('BS_C_1', 5000, 4)
gosub @BSKOOL_18238
goto @BSKOOL_7385

:BSKOOL_5999
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_7385
gosub @BSKOOL_18530
if 
  $car_posy == 0
goto_if_false @BSKOOL_6077
if 
  Car.IsInArea2D(38@, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @BSKOOL_6077
$car_posy = 1

:BSKOOL_6077
if 
  $car_posy == 1
goto_if_false @BSKOOL_6218
if 
  not Car.IsInArea2D(38@, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @BSKOOL_6195
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if or
  is_float_var_greater_than_float_var $x > $area_check2ax
  is_float_var_greater_than_float_var $area_check2bx > $x
  is_float_var_greater_than_float_var $y > $area_check2ay
goto_if_false @BSKOOL_6188
gosub @BSKOOL_18564
goto @BSKOOL_6195

:BSKOOL_6188
$car_posy = 2

:BSKOOL_6195
if 
  not Player.IsPerformingWheelie($statbike_temp)
goto_if_false @BSKOOL_6218
gosub @BSKOOL_18564

:BSKOOL_6218
42@ = Car.GetHeading(38@)
set_lvar_float_to_lvar_float 44@ = 42@
if 
  44@ <> 0.0
goto_if_false @BSKOOL_6368
if and
  360.0 > 44@
  44@ > 180.0
goto_if_false @BSKOOL_6296
44@ += 0.1

:BSKOOL_6296
if 
  44@ == 360.0
goto_if_false @BSKOOL_6327
  44@ > 0.0

:BSKOOL_6327
if and
  180.0 >= 44@
  44@ > 0.0
goto_if_false @BSKOOL_6368
44@ -= 0.1

:BSKOOL_6368
if or
  Car.IsStopped(38@)
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @BSKOOL_7385
gosub @BSKOOL_18564
set_var_float_to_var_float $players_distance_from_perfectpos = $area_check1ax
set_var_float_to_var_float $instructor_car_health = $area_check1ay
if 
  $car_posy > 0
goto_if_false @BSKOOL_6447
gosub @BSKOOL_18577
goto @BSKOOL_6454

:BSKOOL_6447
$overall_score = 0

:BSKOOL_6454
42@ = Car.GetHeading(38@)
cset_lvar_int_to_lvar_float 39@ =# 42@
if 
  $car_posy > 0
goto_if_false @BSKOOL_6802
if 
  39@ == 0
goto_if_false @BSKOOL_6520
$time_score = 0
goto @BSKOOL_6816

:BSKOOL_6520
if 
  39@ == 180
goto_if_false @BSKOOL_6553
$time_score = 100
goto @BSKOOL_6816

:BSKOOL_6553
if 
  39@ == 360
goto_if_false @BSKOOL_6586
$time_score = 0
goto @BSKOOL_6816

:BSKOOL_6586
if 
  39@ > 0
goto_if_false @BSKOOL_6656
if 
  175 > 39@
goto_if_false @BSKOOL_6656
cset_var_float_to_lvar_int $circle_start_x =# 39@
$circle_start_x *= 0.56
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @BSKOOL_6816

:BSKOOL_6656
if 
  39@ > 174
goto_if_false @BSKOOL_6701
if 
  186 > 39@
goto_if_false @BSKOOL_6701
$time_score = 100

:BSKOOL_6701
if 
  39@ > 185
goto_if_false @BSKOOL_6795
if 
  360 > 39@
goto_if_false @BSKOOL_6795
39@ -= 180
cset_var_float_to_lvar_int $circle_start_x =# 39@
$circle_start_x *= 0.56
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @BSKOOL_6816

:BSKOOL_6795
goto @BSKOOL_6816

:BSKOOL_6802
$time_score = 0
goto @BSKOOL_6816

:BSKOOL_6816
if 
  1 > $time_score
goto_if_false @BSKOOL_6841
$time_score = 0

:BSKOOL_6841
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @BSKOOL_6889
$variabled = 0

:BSKOOL_6889
gosub @BSKOOL_18821
gosub @BSKOOL_19199
if 
  is_int_var_greater_than_int_var $variabled > $bs_jumpstop_best_score
goto_if_false @BSKOOL_7109
set_lvar_int_to_var_int 67@ = $bs_jumpstop_best_score
set_var_int_to_var_int $bs_jumpstop_best_score = $variabled
59@ = 1
gosub @BSKOOL_19663
if 
  65@ == 4
goto_if_false @BSKOOL_7009
if 
  $bs_stoppie_bronzeachieved == 0
goto_if_false @BSKOOL_7009
$bs_stoppie_bronzeachieved = 1
$bs_jumpstop_goldachieved = 1
$bs_jumpstop_silverachieved = 1

:BSKOOL_7009
if 
  65@ == 3
goto_if_false @BSKOOL_7059
if 
  $bs_jumpstop_goldachieved == 0
goto_if_false @BSKOOL_7059
$bs_jumpstop_goldachieved = 1
$bs_jumpstop_silverachieved = 1

:BSKOOL_7059
if 
  65@ == 2
goto_if_false @BSKOOL_7102
if 
  $bs_jumpstop_silverachieved == 0
goto_if_false @BSKOOL_7102
$bs_jumpstop_silverachieved = 1

:BSKOOL_7102
goto @BSKOOL_7116

:BSKOOL_7109
65@ = 0

:BSKOOL_7116
if 
  $bs_the360_best_score == 3
goto_if_false @BSKOOL_7200
if 
  $variabled > 69
goto_if_false @BSKOOL_7200
59@ = 2
$bs_the360_best_score = 4
48@ = 2
37@ += 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1185)

:BSKOOL_7200
TIMERA = 0

:BSKOOL_7207
if 
  TIMERA > -1
goto_if_false @BSKOOL_7332
wait 0
gosub @BSKOOL_19228
if 
  59@ <> 2
goto_if_false @BSKOOL_7286
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BSKOOL_7286
48@ = 2
goto @BSKOOL_7332

:BSKOOL_7286
gosub @BSKOOL_19893
gosub @BSKOOL_21414
if 
  $camera_positionx == 1
goto_if_false @BSKOOL_7325
goto @BSKOOL_7332

:BSKOOL_7325
goto @BSKOOL_7207

:BSKOOL_7332
gosub @BSKOOL_21837
gosub @BSKOOL_21498
if 
  48@ == 2
goto_if_false @BSKOOL_7378
goto @BSKOOL_644
goto @BSKOOL_7385

:BSKOOL_7378
goto @BSKOOL_5641

:BSKOOL_7385
goto @BSKOOL_5916

:BSKOOL_7392
if 
  $instructor_car_heading == 5
goto_if_false @BSKOOL_9169

:BSKOOL_7410
gosub @BSKOOL_17336

:BSKOOL_7417
$dummy_car2_health = 180.0
$perfect_positionz = 9000
35@ = 184
gosub @BSKOOL_17373
38@ = Car.Create(521, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading(38@, 180.0)
gosub @BSKOOL_21908
if 
  34@ == 0
goto_if_false @BSKOOL_7573
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_7530
49@ = Char.CreateInsideCar(38@, PedType.CivFemale, 50)

:BSKOOL_7530
Camera.SetFixedPosition(1125.66, 1283.4, 10.5, 0.0, 0.0, 0.0)
Camera.PointAtCar(38@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:BSKOOL_7573
$area_check2ax, $area_check2ay, $z = Car.GetOffsetInWorldCoords(38@, -3.5, 56.0, 0.0)
$area_check2bx, $area_check2by, $z = Car.GetOffsetInWorldCoords(38@, 3.5, 84.0, 0.0)
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords(38@, 0.0, 124.0, 0.0)
Text.ClearPrints
Text.PrintNow('BS_D_1', 5000, 4)
gosub @BSKOOL_18095

:BSKOOL_7685
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BSKOOL_7720
48@ = 2
goto @BSKOOL_9109

:BSKOOL_7720
if 
  $car_timer == 0
goto_if_false @BSKOOL_7768
Text.PrintNow('BS_D_1', 5000, 4)
gosub @BSKOOL_18238
goto @BSKOOL_9162

:BSKOOL_7768
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_9162
gosub @BSKOOL_18530
if 
  $car_posy == 0
goto_if_false @BSKOOL_7846
if 
  Car.IsInArea2D(38@, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @BSKOOL_7846
$car_posy = 1

:BSKOOL_7846
if 
  $car_posy == 1
goto_if_false @BSKOOL_7987
if 
  not Car.IsInArea2D(38@, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @BSKOOL_7964
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if or
  is_float_var_greater_than_float_var $x > $area_check2ax
  is_float_var_greater_than_float_var $area_check2bx > $x
  is_float_var_greater_than_float_var $y > $area_check2ay
goto_if_false @BSKOOL_7957
gosub @BSKOOL_18564
goto @BSKOOL_7964

:BSKOOL_7957
$car_posy = 2

:BSKOOL_7964
if 
  not Player.IsPerformingStoppie($statbike_temp)
goto_if_false @BSKOOL_7987
gosub @BSKOOL_18564

:BSKOOL_7987
42@ = Car.GetHeading(38@)
set_lvar_float_to_lvar_float 44@ = 42@
if 
  44@ <> 0.0
goto_if_false @BSKOOL_8137
if and
  360.0 > 44@
  44@ > 180.0
goto_if_false @BSKOOL_8065
44@ += 0.1

:BSKOOL_8065
if 
  44@ == 360.0
goto_if_false @BSKOOL_8096
  44@ > 0.0

:BSKOOL_8096
if and
  180.0 >= 44@
  44@ > 0.0
goto_if_false @BSKOOL_8137
44@ -= 0.1

:BSKOOL_8137
43@ = Car.GetSpeed(38@)
if or
  Car.IsStopped(38@)
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @BSKOOL_9162
gosub @BSKOOL_18564
set_var_float_to_var_float $players_distance_from_perfectpos = $area_check1ax
set_var_float_to_var_float $instructor_car_health = $area_check1ay
if 
  $car_posy > 0
goto_if_false @BSKOOL_8224
gosub @BSKOOL_18577
goto @BSKOOL_8231

:BSKOOL_8224
$overall_score = 0

:BSKOOL_8231
42@ = Car.GetHeading(38@)
cset_lvar_int_to_lvar_float 39@ =# 42@
if 
  $car_posy > 0
goto_if_false @BSKOOL_8579
if 
  39@ == 0
goto_if_false @BSKOOL_8297
$time_score = 0
goto @BSKOOL_8593

:BSKOOL_8297
if 
  39@ == 180
goto_if_false @BSKOOL_8330
$time_score = 100
goto @BSKOOL_8593

:BSKOOL_8330
if 
  39@ == 360
goto_if_false @BSKOOL_8363
$time_score = 0
goto @BSKOOL_8593

:BSKOOL_8363
if 
  39@ > 0
goto_if_false @BSKOOL_8433
if 
  175 > 39@
goto_if_false @BSKOOL_8433
cset_var_float_to_lvar_int $circle_start_x =# 39@
$circle_start_x *= 0.56
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @BSKOOL_8593

:BSKOOL_8433
if 
  39@ > 174
goto_if_false @BSKOOL_8478
if 
  186 > 39@
goto_if_false @BSKOOL_8478
$time_score = 100

:BSKOOL_8478
if 
  39@ > 185
goto_if_false @BSKOOL_8572
if 
  360 > 39@
goto_if_false @BSKOOL_8572
39@ -= 180
cset_var_float_to_lvar_int $circle_start_x =# 39@
$circle_start_x *= 0.56
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @BSKOOL_8593

:BSKOOL_8572
goto @BSKOOL_8593

:BSKOOL_8579
$time_score = 0
goto @BSKOOL_8593

:BSKOOL_8593
if 
  1 > $time_score
goto_if_false @BSKOOL_8618
$time_score = 0

:BSKOOL_8618
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @BSKOOL_8666
$variabled = 0

:BSKOOL_8666
gosub @BSKOOL_18821
gosub @BSKOOL_19199
if 
  is_int_var_greater_than_int_var $variabled > $bs_jumpstoppie_best_score
goto_if_false @BSKOOL_8886
set_lvar_int_to_var_int 67@ = $bs_jumpstoppie_best_score
set_var_int_to_var_int $bs_jumpstoppie_best_score = $variabled
59@ = 1
gosub @BSKOOL_19663
if 
  65@ == 4
goto_if_false @BSKOOL_8786
if 
  $bs_bronze_rewardgiven == 0
goto_if_false @BSKOOL_8786
$bs_bronze_rewardgiven = 1
$bs_jumpstoppie_goldachieved = 1
$bs_jumpstoppie_silverachieved = 1

:BSKOOL_8786
if 
  65@ == 3
goto_if_false @BSKOOL_8836
if 
  $bs_jumpstoppie_goldachieved == 0
goto_if_false @BSKOOL_8836
$bs_jumpstoppie_goldachieved = 1
$bs_jumpstoppie_silverachieved = 1

:BSKOOL_8836
if 
  65@ == 2
goto_if_false @BSKOOL_8879
if 
  $bs_jumpstoppie_silverachieved == 0
goto_if_false @BSKOOL_8879
$bs_jumpstoppie_silverachieved = 1

:BSKOOL_8879
goto @BSKOOL_8893

:BSKOOL_8886
65@ = 0

:BSKOOL_8893
if 
  $bs_the360_best_score == 5
goto_if_false @BSKOOL_8977
if 
  $variabled > 69
goto_if_false @BSKOOL_8977
59@ = 2
$bs_the360_best_score = 6
48@ = 2
37@ += 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1185)

:BSKOOL_8977
TIMERA = 0

:BSKOOL_8984
if 
  TIMERA > -1
goto_if_false @BSKOOL_9109
wait 0
gosub @BSKOOL_19228
if 
  59@ <> 2
goto_if_false @BSKOOL_9063
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BSKOOL_9063
48@ = 2
goto @BSKOOL_9109

:BSKOOL_9063
gosub @BSKOOL_19893
gosub @BSKOOL_21414
if 
  $camera_positionx == 1
goto_if_false @BSKOOL_9102
goto @BSKOOL_9109

:BSKOOL_9102
goto @BSKOOL_8984

:BSKOOL_9109
gosub @BSKOOL_21837
gosub @BSKOOL_21498
if 
  48@ == 2
goto_if_false @BSKOOL_9155
goto @BSKOOL_644
goto @BSKOOL_9162

:BSKOOL_9155
goto @BSKOOL_7410

:BSKOOL_9162
goto @BSKOOL_7685

:BSKOOL_9169
if 
  $instructor_car_heading == 4
goto_if_false @BSKOOL_10763

:BSKOOL_9187
gosub @BSKOOL_17336

:BSKOOL_9194
$dummy_car2_health = 180.0
$perfect_positionz = 9000
35@ = 185
gosub @BSKOOL_17373
38@ = Car.Create(468, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading(38@, $dummy_car2_health)
$area_check2ax, $area_check2ay, $z = Car.GetOffsetInWorldCoords(38@, -2.5, 46.0, 2.0)
$area_check2bx, $area_check2by, $z = Car.GetOffsetInWorldCoords(38@, 2.5, 50.0, 2.0)
gosub @BSKOOL_21908
if 
  34@ == 0
goto_if_false @BSKOOL_9406
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_9363
49@ = Char.CreateInsideCar(38@, PedType.CivFemale, 50)

:BSKOOL_9363
Camera.SetFixedPosition(1127.66, 1288.4, 12.75, 0.0, 0.0, 0.0)
Camera.PointAtCar(38@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:BSKOOL_9406
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords(38@, 0.0, 124.0, 0.0)
Text.ClearPrints
Text.PrintNow('BS_E_1', 5000, 4)
gosub @BSKOOL_18095

:BSKOOL_9460
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BSKOOL_9495
48@ = 2
goto @BSKOOL_10703

:BSKOOL_9495
if 
  $car_timer == 0
goto_if_false @BSKOOL_9543
Text.PrintNow('BS_E_1', 5000, 4)
gosub @BSKOOL_18238
goto @BSKOOL_10756

:BSKOOL_9543
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_10756
gosub @BSKOOL_18530
if 
  $car_posy == 0
goto_if_false @BSKOOL_9621
if 
  Car.IsInArea2D(38@, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @BSKOOL_9621
$car_posy = 1

:BSKOOL_9621
if 
  $car_posy == 1
goto_if_false @BSKOOL_9739
if 
  not Car.IsInArea2D(38@, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @BSKOOL_9739
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if or
  is_float_var_greater_than_float_var $x > $area_check2ax
  is_float_var_greater_than_float_var $area_check2bx > $x
  is_float_var_greater_than_float_var $y > $area_check2ay
goto_if_false @BSKOOL_9732
gosub @BSKOOL_18564
goto @BSKOOL_9739

:BSKOOL_9732
$car_posy = 2

:BSKOOL_9739
if or
  Car.IsStopped(38@)
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @BSKOOL_10756
gosub @BSKOOL_18564
set_var_float_to_var_float $players_distance_from_perfectpos = $area_check1ax
set_var_float_to_var_float $instructor_car_health = $area_check1ay
if 
  $car_posy > 0
goto_if_false @BSKOOL_9818
gosub @BSKOOL_18577
goto @BSKOOL_9825

:BSKOOL_9818
$overall_score = 0

:BSKOOL_9825
42@ = Car.GetHeading(38@)
cset_lvar_int_to_lvar_float 39@ =# 42@
if 
  $car_posy > 0
goto_if_false @BSKOOL_10173
if 
  39@ == 0
goto_if_false @BSKOOL_9891
$time_score = 0
goto @BSKOOL_10187

:BSKOOL_9891
if 
  39@ == 180
goto_if_false @BSKOOL_9924
$time_score = 100
goto @BSKOOL_10187

:BSKOOL_9924
if 
  39@ == 360
goto_if_false @BSKOOL_9957
$time_score = 0
goto @BSKOOL_10187

:BSKOOL_9957
if 
  39@ > 0
goto_if_false @BSKOOL_10027
if 
  175 > 39@
goto_if_false @BSKOOL_10027
cset_var_float_to_lvar_int $circle_start_x =# 39@
$circle_start_x *= 0.56
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @BSKOOL_10187

:BSKOOL_10027
if 
  39@ > 174
goto_if_false @BSKOOL_10072
if 
  186 > 39@
goto_if_false @BSKOOL_10072
$time_score = 100

:BSKOOL_10072
if 
  39@ > 185
goto_if_false @BSKOOL_10166
if 
  360 > 39@
goto_if_false @BSKOOL_10166
39@ -= 180
cset_var_float_to_lvar_int $circle_start_x =# 39@
$circle_start_x *= 0.56
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @BSKOOL_10187

:BSKOOL_10166
goto @BSKOOL_10187

:BSKOOL_10173
$time_score = 0
goto @BSKOOL_10187

:BSKOOL_10187
if 
  1 > $time_score
goto_if_false @BSKOOL_10212
$time_score = 0

:BSKOOL_10212
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @BSKOOL_10260
$variabled = 0

:BSKOOL_10260
gosub @BSKOOL_18821
gosub @BSKOOL_19199
if 
  is_int_var_greater_than_int_var $variabled > $bs_the360_silverachieved
goto_if_false @BSKOOL_10480
set_lvar_int_to_var_int 67@ = $bs_the360_silverachieved
set_var_int_to_var_int $bs_the360_silverachieved = $variabled
59@ = 1
gosub @BSKOOL_19663
if 
  65@ == 4
goto_if_false @BSKOOL_10380
if 
  $bs_jumpstoppie_bronzeachieved == 0
goto_if_false @BSKOOL_10380
$bs_jumpstoppie_bronzeachieved = 1
$bs_stoppie_goldachieved = 1
$bs_stoppie_silverachieved = 1

:BSKOOL_10380
if 
  65@ == 3
goto_if_false @BSKOOL_10430
if 
  $bs_stoppie_goldachieved == 0
goto_if_false @BSKOOL_10430
$bs_stoppie_goldachieved = 1
$bs_stoppie_silverachieved = 1

:BSKOOL_10430
if 
  65@ == 2
goto_if_false @BSKOOL_10473
if 
  $bs_stoppie_silverachieved == 0
goto_if_false @BSKOOL_10473
$bs_stoppie_silverachieved = 1

:BSKOOL_10473
goto @BSKOOL_10487

:BSKOOL_10480
65@ = 0

:BSKOOL_10487
if 
  $bs_the360_best_score == 4
goto_if_false @BSKOOL_10571
if 
  $variabled > 69
goto_if_false @BSKOOL_10571
59@ = 2
$bs_the360_best_score = 5
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1185)
48@ = 2
37@ += 1

:BSKOOL_10571
TIMERA = 0

:BSKOOL_10578
if 
  TIMERA > -1
goto_if_false @BSKOOL_10703
wait 0
gosub @BSKOOL_19228
if 
  59@ <> 2
goto_if_false @BSKOOL_10657
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BSKOOL_10657
48@ = 2
goto @BSKOOL_10703

:BSKOOL_10657
gosub @BSKOOL_19893
gosub @BSKOOL_21414
if 
  $camera_positionx == 1
goto_if_false @BSKOOL_10696
goto @BSKOOL_10703

:BSKOOL_10696
goto @BSKOOL_10578

:BSKOOL_10703
gosub @BSKOOL_21498
gosub @BSKOOL_21837
if 
  48@ == 2
goto_if_false @BSKOOL_10749
goto @BSKOOL_644
goto @BSKOOL_10756

:BSKOOL_10749
goto @BSKOOL_9187

:BSKOOL_10756
goto @BSKOOL_9460

:BSKOOL_10763
if 
  $instructor_car_heading == 6
goto_if_false @BSKOOL_12639

:BSKOOL_10781
gosub @BSKOOL_17336

:BSKOOL_10788
$dummy_car2_health = 180.0
$perfect_positionz = 9000
35@ = 186
gosub @BSKOOL_17373
38@ = Car.Create(522, $players_distance_from_perfectpos, $instructor_car_health, $dummy_car1_health)
Car.SetHeading(38@, $dummy_car2_health)
$area_check2ax, $area_check2ay, $z = Car.GetOffsetInWorldCoords(38@, -2.5, 46.0, 2.0)
$area_check2bx, $area_check2by, $z = Car.GetOffsetInWorldCoords(38@, 2.5, 52.0, 2.0)
gosub @BSKOOL_21908
if 
  34@ == 0
goto_if_false @BSKOOL_11000
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_10957
49@ = Char.CreateInsideCar(38@, PedType.CivFemale, 50)

:BSKOOL_10957
Camera.SetFixedPosition(1122.66, 1265.4, 15.75, 0.0, 0.0, 0.0)
Camera.PointAtCar(38@, CameraMode.Fixed, SwitchType.JumpCut)
return 

:BSKOOL_11000
$area_check1ax, $area_check1ay, $dummy_car1_health = Car.GetOffsetInWorldCoords(38@, 0.0, 114.0, 0.0)
Text.ClearPrints
Text.PrintNow('BS_F_1', 5000, 4)
gosub @BSKOOL_18095

:BSKOOL_11054
wait 0
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BSKOOL_11089
48@ = 2
goto @BSKOOL_12440

:BSKOOL_11089
if 
  $car_timer == 0
goto_if_false @BSKOOL_11137
Text.PrintNow('BS_F_1', 5000, 4)
gosub @BSKOOL_18238
goto @BSKOOL_12632

:BSKOOL_11137
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_12632
gosub @BSKOOL_18530
if 
  $car_posy == 0
goto_if_false @BSKOOL_11215
if 
  Car.IsInArea2D(38@, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @BSKOOL_11215
$car_posy = 1

:BSKOOL_11215
if 
  $car_posy == 1
goto_if_false @BSKOOL_11333
if 
  not Car.IsInArea2D(38@, $area_check2ax, $area_check2ay, $area_check2bx, $area_check2by, False)
goto_if_false @BSKOOL_11333
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if or
  is_float_var_greater_than_float_var $x > $area_check2ax
  is_float_var_greater_than_float_var $area_check2bx > $x
  is_float_var_greater_than_float_var $y > $area_check2ay
goto_if_false @BSKOOL_11326
gosub @BSKOOL_18564
goto @BSKOOL_11333

:BSKOOL_11326
$car_posy = 2

:BSKOOL_11333
if 
  $car_posy == 2
goto_if_false @BSKOOL_11379
if 
  not Car.IsInAirProper(38@)
goto_if_false @BSKOOL_11379
70@ = Clock.GetGameTimer()
$car_posy = 3

:BSKOOL_11379
if 
  $car_posy == 3
goto_if_false @BSKOOL_11465
69@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 68@ = 69@
sub_int_lvar_from_int_lvar 68@ -= 70@
if 
  68@ > 250
goto_if_false @BSKOOL_11465
if or
  not Player.IsPerformingStoppie($statbike_temp)
  Player.IsPerformingWheelie($statbike_temp)
goto_if_false @BSKOOL_11465
gosub @BSKOOL_18564

:BSKOOL_11465
if or
  Car.IsStopped(38@)
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @BSKOOL_12632
gosub @BSKOOL_18564
set_var_float_to_var_float $players_distance_from_perfectpos = $area_check1ax
set_var_float_to_var_float $instructor_car_health = $area_check1ay
if 
  $car_posy > 0
goto_if_false @BSKOOL_11544
gosub @BSKOOL_18577
goto @BSKOOL_11551

:BSKOOL_11544
$overall_score = 0

:BSKOOL_11551
42@ = Car.GetHeading(38@)
cset_lvar_int_to_lvar_float 39@ =# 42@
if 
  $car_posy > 0
goto_if_false @BSKOOL_11899
if 
  39@ == 0
goto_if_false @BSKOOL_11617
$time_score = 0
goto @BSKOOL_11913

:BSKOOL_11617
if 
  39@ == 180
goto_if_false @BSKOOL_11650
$time_score = 100
goto @BSKOOL_11913

:BSKOOL_11650
if 
  39@ == 360
goto_if_false @BSKOOL_11683
$time_score = 0
goto @BSKOOL_11913

:BSKOOL_11683
if 
  39@ > 0
goto_if_false @BSKOOL_11753
if 
  175 > 39@
goto_if_false @BSKOOL_11753
cset_var_float_to_lvar_int $circle_start_x =# 39@
$circle_start_x *= 0.56
cset_var_int_to_var_float $time_score =# $circle_start_x
goto @BSKOOL_11913

:BSKOOL_11753
if 
  39@ > 174
goto_if_false @BSKOOL_11798
if 
  186 > 39@
goto_if_false @BSKOOL_11798
$time_score = 100

:BSKOOL_11798
if 
  39@ > 185
goto_if_false @BSKOOL_11892
if 
  360 > 39@
goto_if_false @BSKOOL_11892
39@ -= 180
cset_var_float_to_lvar_int $circle_start_x =# 39@
$circle_start_x *= 0.56
cset_var_int_to_var_float $car_posx =# $circle_start_x
$time_score = 100
sub_int_var_from_int_var $time_score -= $car_posx
goto @BSKOOL_11913

:BSKOOL_11892
goto @BSKOOL_11913

:BSKOOL_11899
$time_score = 0
goto @BSKOOL_11913

:BSKOOL_11913
if 
  1 > $time_score
goto_if_false @BSKOOL_11938
$time_score = 0

:BSKOOL_11938
set_var_int_to_var_int $variabled = $overall_score
add_int_var_to_int_var $variabled += $time_score
$variabled /= 2
if 
  $overall_score == 0
goto_if_false @BSKOOL_11986
$variabled = 0

:BSKOOL_11986
gosub @BSKOOL_18821
gosub @BSKOOL_19199
if 
  is_int_var_greater_than_int_var $variabled > $bs_the360_goldachieved
goto_if_false @BSKOOL_12206
set_lvar_int_to_var_int 67@ = $bs_the360_goldachieved
set_var_int_to_var_int $bs_the360_goldachieved = $variabled
59@ = 1
gosub @BSKOOL_19663
if 
  65@ == 4
goto_if_false @BSKOOL_12106
if 
  $bs_bronze_generator == 0
goto_if_false @BSKOOL_12106
$bs_bronze_generator = 1
$bs_gold_rewardgiven = 1
$bs_silver_rewardgiven = 1

:BSKOOL_12106
if 
  65@ == 3
goto_if_false @BSKOOL_12156
if 
  $bs_gold_rewardgiven == 0
goto_if_false @BSKOOL_12156
$bs_gold_rewardgiven = 1
$bs_silver_rewardgiven = 1

:BSKOOL_12156
if 
  65@ == 2
goto_if_false @BSKOOL_12199
if 
  $bs_silver_rewardgiven == 0
goto_if_false @BSKOOL_12199
$bs_silver_rewardgiven = 1

:BSKOOL_12199
goto @BSKOOL_12213

:BSKOOL_12206
65@ = 0

:BSKOOL_12213
if 
  $bs_the180_bronzeachieved == 0
goto_if_false @BSKOOL_12308
if 
  $bs_the360_best_score == 6
goto_if_false @BSKOOL_12308
if 
  $variabled > 69
goto_if_false @BSKOOL_12308
59@ = 2
$bs_the180_bronzeachieved = 1
48@ = 2
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1185)

:BSKOOL_12308
TIMERA = 0

:BSKOOL_12315
if 
  TIMERA > -1
goto_if_false @BSKOOL_12440
wait 0
gosub @BSKOOL_19228
if 
  59@ <> 2
goto_if_false @BSKOOL_12394
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BSKOOL_12394
48@ = 2
goto @BSKOOL_12440

:BSKOOL_12394
gosub @BSKOOL_19893
gosub @BSKOOL_21414
if 
  $camera_positionx == 1
goto_if_false @BSKOOL_12433
goto @BSKOOL_12440

:BSKOOL_12433
goto @BSKOOL_12315

:BSKOOL_12440
gosub @BSKOOL_21498
gosub @BSKOOL_21837
if 
  48@ == 2
goto_if_false @BSKOOL_12625
if 
  $bs_the180_bronzeachieved == 1
goto_if_false @BSKOOL_12611
if 
  $respect_help_played == 0
goto_if_false @BSKOOL_12611
Camera.DoFade(1000, Fade.Out)

:BSKOOL_12515
if 
  Camera.GetFadingStatus
goto_if_false @BSKOOL_12539
wait 0
goto @BSKOOL_12515

:BSKOOL_12539
Char.SetCoordinates($stattreadstamina_ctr, 1171.521, 1351.183, 9.9219)
Char.SetHeading($stattreadstamina_ctr, 11.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.DoFade(2000, Fade.In)

:BSKOOL_12580
if 
  Camera.GetFadingStatus
goto_if_false @BSKOOL_12604
wait 0
goto @BSKOOL_12580

:BSKOOL_12604
goto @BSKOOL_12667

:BSKOOL_12611
goto @BSKOOL_644
goto @BSKOOL_12632

:BSKOOL_12625
goto @BSKOOL_10781

:BSKOOL_12632
goto @BSKOOL_11054

:BSKOOL_12639
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1186)
Text.ClearPrints
return 

:BSKOOL_12667
Camera.DoFade(500, Fade.In)
if 
  $respect_help_played == 0
goto_if_false @BSKOOL_12715
Stat.RegisterOddjobMissionPassed
Stat.PlayerMadeProgress(1)
$respect_help_played = 1
Stat.IncrementFloat(StatId.BikeSkill, 50.0)

:BSKOOL_12715
Text.ClearPrints
Text.PrintBig('BS_Z_7', 5000, TextStyle.MiddleSmallerHigher)
Audio.PlayMissionPassedTune(2)
Player.ClearWantedLevel($statbike_temp)
return 

:BSKOOL_12744
Hud.ClearTimer($perfect_positionz)
Text.UseCommands(False)
Hud.Display(True)
Hud.DisplayRadar(True)
Weather.Release
Streaming.MarkModelAsNoLongerNeeded(#TRAFFICCONE)
Streaming.MarkModelAsNoLongerNeeded(#LANDJUMP2)
Streaming.MarkModelAsNoLongerNeeded(521)
Streaming.MarkModelAsNoLongerNeeded(581)
Streaming.MarkModelAsNoLongerNeeded(461)
Streaming.MarkModelAsNoLongerNeeded(522)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(50)
if 
  $bce2_played == 0
goto_if_false @BSKOOL_12985
if 
  $bs_wheelie_bronzeachieved == 1
goto_if_false @BSKOOL_12985
if 
  $bs_jumpstop_bronzeachieved == 1
goto_if_false @BSKOOL_12985
if 
  $bs_stoppie_bronzeachieved == 1
goto_if_false @BSKOOL_12985
if 
  $bs_bronze_rewardgiven == 1
goto_if_false @BSKOOL_12985
if 
  $bs_jumpstoppie_bronzeachieved == 1
goto_if_false @BSKOOL_12985
if 
  $bs_bronze_generator == 1
goto_if_false @BSKOOL_12985
$bce2_played = 1
if 
  $bs_gold_generator == 0
goto_if_false @BSKOOL_12960
$bs_gold_generator = 1

:BSKOOL_12960
if 
  $bs_silver_generator == 0
goto_if_false @BSKOOL_12985
$bs_silver_generator = 1

:BSKOOL_12985
if 
  $bs_gold_generator == 0
goto_if_false @BSKOOL_13143
if 
  $bs_the180_goldachieved == 1
goto_if_false @BSKOOL_13143
if 
  $bs_wheelie_goldachieved == 1
goto_if_false @BSKOOL_13143
if 
  $bs_jumpstop_goldachieved == 1
goto_if_false @BSKOOL_13143
if 
  $bs_jumpstoppie_goldachieved == 1
goto_if_false @BSKOOL_13143
if 
  $bs_stoppie_goldachieved == 1
goto_if_false @BSKOOL_13143
if 
  $bs_gold_rewardgiven == 1
goto_if_false @BSKOOL_13143
$bs_gold_generator = 1
if 
  $bs_silver_generator == 0
goto_if_false @BSKOOL_13143
$bs_silver_generator = 1

:BSKOOL_13143
if 
  $bs_silver_generator == 0
goto_if_false @BSKOOL_13276
if 
  $bs_the180_silverachieved == 1
goto_if_false @BSKOOL_13276
if 
  $bs_wheelie_silverachieved == 1
goto_if_false @BSKOOL_13276
if 
  $bs_jumpstop_silverachieved == 1
goto_if_false @BSKOOL_13276
if 
  $bs_jumpstoppie_silverachieved == 1
goto_if_false @BSKOOL_13276
if 
  $bs_stoppie_silverachieved == 1
goto_if_false @BSKOOL_13276
if 
  $bs_silver_rewardgiven == 1
goto_if_false @BSKOOL_13276
$bs_silver_generator = 1

:BSKOOL_13276
if 
  $bce2_played == 1
goto_if_false @BSKOOL_13325
CarGenerator.SetHasBeenOwned($flag_bce2_passed_1stime, True)
CarGenerator.Switch($flag_bce2_passed_1stime, 101)
Stat.IncrementFloat(StatId.BikeSkill, 200.0)
$bce2_played = 2

:BSKOOL_13325
if 
  $bs_gold_generator == 1
goto_if_false @BSKOOL_13374
CarGenerator.SetHasBeenOwned($cs1_player_car, True)
CarGenerator.Switch($cs1_player_car, 101)
Stat.IncrementFloat(StatId.BikeSkill, 100.0)
$bs_gold_generator = 2

:BSKOOL_13374
if 
  $bs_silver_generator == 1
goto_if_false @BSKOOL_13413
CarGenerator.SetHasBeenOwned($start_the_bcesar_race, True)
CarGenerator.Switch($start_the_bcesar_race, 101)
$bs_silver_generator = 2

:BSKOOL_13413
$weapon_shop1_blip = 0
Mission.Finish
return 

:BSKOOL_13424
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 225.0, 612.0, 438.0, 0, 0, 0, 64@)
if 
  63@ == 1
goto_if_false @BSKOOL_13546
if 
  255 > 64@
goto_if_false @BSKOOL_13539
64@ += 5
if 
  64@ > 255
goto_if_false @BSKOOL_13532
64@ = 255

:BSKOOL_13532
goto @BSKOOL_13546

:BSKOOL_13539
63@ = 2

:BSKOOL_13546
if 
  63@ == 3
goto_if_false @BSKOOL_13628
if 
  64@ > 0
goto_if_false @BSKOOL_13621
64@ -= 5
if 
  0 > 64@
goto_if_false @BSKOOL_13614
64@ = 0

:BSKOOL_13614
goto @BSKOOL_13628

:BSKOOL_13621
63@ = 0

:BSKOOL_13628
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 0.0, 640.0, 197.0, 0, 0, 0, 255)
gosub @BSKOOL_17216
Text.SetColor(190, 190, 190, 255)
if 
  $instructor_car_heading == 1
goto_if_false @BSKOOL_13823
Text.Display(322.0, 41.0, 'BS_A')
if 
  $bs_passed > 69
goto_if_false @BSKOOL_13758
set_lvar_int_to_var_int 66@ = $bs_passed
goto @BSKOOL_13816

:BSKOOL_13758
set_lvar_int_to_var_int 66@ = $bs_passed
gosub @BSKOOL_17038
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.SetColor(166, 202, 240, 255)
Text.Display(320.0, 80.0, 'BS_Z_3')

:BSKOOL_13816
gosub @BSKOOL_15708

:BSKOOL_13823
if 
  $instructor_car_heading == 2
goto_if_false @BSKOOL_13960
Text.Display(322.0, 41.0, 'BS_B')
if 
  $bs_the360_bronzeachieved > 69
goto_if_false @BSKOOL_13895
set_lvar_int_to_var_int 66@ = $bs_the360_bronzeachieved
goto @BSKOOL_13953

:BSKOOL_13895
set_lvar_int_to_var_int 66@ = $bs_the360_bronzeachieved
gosub @BSKOOL_17038
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.SetColor(166, 202, 240, 255)
Text.Display(320.0, 80.0, 'BS_Z_3')

:BSKOOL_13953
gosub @BSKOOL_15708

:BSKOOL_13960
if 
  $instructor_car_heading == 3
goto_if_false @BSKOOL_14097
Text.Display(322.0, 41.0, 'BS_C')
if 
  $bs_jumpstop_best_score > 69
goto_if_false @BSKOOL_14032
set_lvar_int_to_var_int 66@ = $bs_jumpstop_best_score
goto @BSKOOL_14090

:BSKOOL_14032
set_lvar_int_to_var_int 66@ = $bs_jumpstop_best_score
gosub @BSKOOL_17038
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.SetColor(166, 202, 240, 255)
Text.Display(320.0, 80.0, 'BS_Z_3')

:BSKOOL_14090
gosub @BSKOOL_15708

:BSKOOL_14097
if 
  $instructor_car_heading == 5
goto_if_false @BSKOOL_14234
Text.Display(322.0, 41.0, 'BS_D')
if 
  $bs_jumpstoppie_best_score > 69
goto_if_false @BSKOOL_14169
set_lvar_int_to_var_int 66@ = $bs_jumpstoppie_best_score
goto @BSKOOL_14227

:BSKOOL_14169
set_lvar_int_to_var_int 66@ = $bs_jumpstoppie_best_score
gosub @BSKOOL_17038
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.SetColor(166, 202, 240, 255)
Text.Display(320.0, 80.0, 'BS_Z_3')

:BSKOOL_14227
gosub @BSKOOL_15708

:BSKOOL_14234
if 
  $instructor_car_heading == 4
goto_if_false @BSKOOL_14371
Text.Display(322.0, 41.0, 'BS_E')
if 
  $bs_the360_silverachieved > 69
goto_if_false @BSKOOL_14306
set_lvar_int_to_var_int 66@ = $bs_the360_silverachieved
goto @BSKOOL_14364

:BSKOOL_14306
set_lvar_int_to_var_int 66@ = $bs_the360_silverachieved
gosub @BSKOOL_17038
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.SetColor(166, 202, 240, 255)
Text.Display(320.0, 80.0, 'BS_Z_3')

:BSKOOL_14364
gosub @BSKOOL_15708

:BSKOOL_14371
if 
  $instructor_car_heading == 6
goto_if_false @BSKOOL_14508
Text.Display(322.0, 41.0, 'BS_F')
if 
  $bs_the360_goldachieved > 69
goto_if_false @BSKOOL_14443
set_lvar_int_to_var_int 66@ = $bs_the360_goldachieved
goto @BSKOOL_14501

:BSKOOL_14443
set_lvar_int_to_var_int 66@ = $bs_the360_goldachieved
gosub @BSKOOL_17038
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.SetColor(166, 202, 240, 255)
Text.Display(320.0, 80.0, 'BS_Z_3')

:BSKOOL_14501
gosub @BSKOOL_15708

:BSKOOL_14508
gosub @BSKOOL_17038
Text.SetColor(248, 211, 7, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @BSKOOL_14586
Text.SetScale(0.32, 1.25)
Text.Display(70.0, 360.0, 'BS_X_4')
goto @BSKOOL_14619

:BSKOOL_14586
Text.SetScale(0.32, 1.25)
Text.Display(70.0, 360.0, 'BS_X_4')

:BSKOOL_14619
if 
  57@ <> 1
goto_if_false @BSKOOL_15013
gosub @BSKOOL_17038
Text.SetColor(248, 211, 7, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @BSKOOL_14715
Text.SetScale(0.32, 1.25)
Text.Display(70.0, 340.0, 'BS_X_5')
goto @BSKOOL_14748

:BSKOOL_14715
Text.SetScale(0.32, 1.25)
Text.Display(70.0, 340.0, 'BS_X_5')

:BSKOOL_14748
if 
  $bs_the360_best_score <> 1
goto_if_false @BSKOOL_14877
gosub @BSKOOL_17038
Text.SetColor(248, 211, 7, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @BSKOOL_14844
Text.SetScale(0.32, 1.25)
Text.Display(437.0, 340.0, 'BS_X_3')
goto @BSKOOL_14877

:BSKOOL_14844
Text.SetScale(0.32, 1.25)
Text.Display(437.0, 340.0, 'BS_X_3')

:BSKOOL_14877
if 
  $bs_the360_best_score == 1
goto_if_false @BSKOOL_15006
gosub @BSKOOL_17038
Text.SetColor(173, 173, 173, 125)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @BSKOOL_14973
Text.SetScale(0.32, 1.25)
Text.Display(437.0, 340.0, 'BS_X_3')
goto @BSKOOL_15006

:BSKOOL_14973
Text.SetScale(0.32, 1.25)
Text.Display(437.0, 340.0, 'BS_X_3')

:BSKOOL_15006
goto @BSKOOL_15124

:BSKOOL_15013
gosub @BSKOOL_17038
Text.SetColor(248, 211, 7, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @BSKOOL_15091
Text.SetScale(0.32, 1.25)
Text.Display(437.0, 340.0, 'BS_X_3')
goto @BSKOOL_15124

:BSKOOL_15091
Text.SetScale(0.32, 1.25)
Text.Display(437.0, 340.0, 'BS_X_3')

:BSKOOL_15124
gosub @BSKOOL_17038
Text.SetScale(0.32, 1.25)
Text.SetColor(255, 255, 255, 255)
Text.Display(150.0, 360.0, 'BS_X04')
if 
  57@ <> 1
goto_if_false @BSKOOL_15400
gosub @BSKOOL_17038
Text.SetColor(255, 255, 255, 255)
Text.SetScale(0.32, 1.25)
Text.Display(150.0, 340.0, 'BS_X05')
if 
  $bs_the360_best_score <> 1
goto_if_false @BSKOOL_15322
gosub @BSKOOL_17038
Text.SetColor(255, 255, 255, 255)
Text.SetScale(0.32, 1.25)
Text.Display(537.4, 340.0, 'BS_X03')

:BSKOOL_15322
if 
  $bs_the360_best_score == 1
goto_if_false @BSKOOL_15393
gosub @BSKOOL_17038
Text.SetColor(173, 173, 173, 125)
Text.SetScale(0.32, 1.25)
Text.Display(537.4, 340.0, 'BS_X03')

:BSKOOL_15393
goto @BSKOOL_15454

:BSKOOL_15400
gosub @BSKOOL_17038
Text.SetColor(255, 255, 255, 255)
Text.SetScale(0.32, 1.25)
Text.Display(537.4, 340.0, 'BS_X03')

:BSKOOL_15454
Text.SetScale(0.52, 1.45)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 160.0, 317.0, 320.0, -224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, 480.0, 317.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(9, 160.0, 435.0, 320.0, 17.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(9, 480.0, 435.0, -320.0, 17.0, 150, 150, 150, 255)
return 

:BSKOOL_15708
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(8, 320.0, 430.0, 640.0, 250.0, 0, 0, 0, 255)
gosub @BSKOOL_17038
Text.SetRightJustify(False)
Text.SetColor(166, 202, 240, 255)
if 
  66@ > 69
goto_if_false @BSKOOL_15820
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.DisplayWithNumber(320.0, 80.0, 'BS_Y_6', 66@)

:BSKOOL_15820
if 
  70 > 66@
goto_if_false @BSKOOL_15845
65@ = 1

:BSKOOL_15845
if 
  66@ > 69
goto_if_false @BSKOOL_15888
if 
  85 > 66@
goto_if_false @BSKOOL_15888
65@ = 2

:BSKOOL_15888
if 
  66@ > 84
goto_if_false @BSKOOL_15931
if 
  100 > 66@
goto_if_false @BSKOOL_15931
65@ = 3

:BSKOOL_15931
if 
  66@ == 100
goto_if_false @BSKOOL_15956
65@ = 4

:BSKOOL_15956
if 
  65@ > 1
goto_if_false @BSKOOL_16061
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 250.0, 306.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 395.0, 306.0, 60.0, 60.0, 180, 180, 180, 255)
goto @BSKOOL_16141

:BSKOOL_16061
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(7, 250.0, 306.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(7, 395.0, 306.0, 60.0, 60.0, 180, 180, 180, 255)

:BSKOOL_16141
Hud.SetSpritesDrawBeforeFade(True)
if 
  65@ == 1
goto_if_false @BSKOOL_16249
Hud.DrawSprite(6, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @BSKOOL_17038
Text.SetColor(166, 202, 240, 255)
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.Display(320.0, 375.0, 'BS_Z_4')

:BSKOOL_16249
if 
  65@ == 2
goto_if_false @BSKOOL_16353
Hud.DrawSprite(1, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @BSKOOL_17038
Text.SetColor(166, 202, 240, 255)
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.Display(320.0, 375.0, 'BS_Y_12')

:BSKOOL_16353
if 
  65@ == 3
goto_if_false @BSKOOL_16457
Hud.DrawSprite(2, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @BSKOOL_17038
Text.SetColor(166, 202, 240, 255)
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.Display(320.0, 375.0, 'BS_Y_11')

:BSKOOL_16457
if 
  65@ == 4
goto_if_false @BSKOOL_16561
Hud.DrawSprite(3, 320.0, 307.0, 110.0, 95.0, 160, 160, 160, 255)
gosub @BSKOOL_17038
Text.SetColor(166, 202, 240, 255)
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.Display(320.0, 375.0, 'BS_Y_10')

:BSKOOL_16561
return 

:BSKOOL_16563
if 
  34@ == 0
goto_if_false @BSKOOL_16738
if 
  $instructor_car_heading == 1
goto_if_false @BSKOOL_16606
gosub @BSKOOL_1785

:BSKOOL_16606
if 
  $instructor_car_heading == 2
goto_if_false @BSKOOL_16631
gosub @BSKOOL_4222

:BSKOOL_16631
if 
  $instructor_car_heading == 3
goto_if_false @BSKOOL_16656
gosub @BSKOOL_5648

:BSKOOL_16656
if 
  $instructor_car_heading == 5
goto_if_false @BSKOOL_16681
gosub @BSKOOL_7417

:BSKOOL_16681
if 
  $instructor_car_heading == 4
goto_if_false @BSKOOL_16706
gosub @BSKOOL_9194

:BSKOOL_16706
if 
  $instructor_car_heading == 6
goto_if_false @BSKOOL_16731
gosub @BSKOOL_10788

:BSKOOL_16731
34@ = 1

:BSKOOL_16738
if 
  34@ == 1
goto_if_false @BSKOOL_16822
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_16822
if 
  not Streaming.HasCarRecordingBeenLoaded(35@)
goto_if_false @BSKOOL_16800
Streaming.RequestCarRecording(35@)
goto @BSKOOL_16822

:BSKOOL_16800
Car.StartPlayback(38@, 35@)
63@ = 3
34@ = 2

:BSKOOL_16822
if 
  34@ == 2
goto_if_false @BSKOOL_16907
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_16893
if 
  not Car.IsPlaybackGoingOn(38@)
goto_if_false @BSKOOL_16886
63@ = 1
34@ = 4

:BSKOOL_16886
goto @BSKOOL_16907

:BSKOOL_16893
63@ = 1
34@ = 4

:BSKOOL_16907
if 
  34@ == 3
goto_if_false @BSKOOL_16939
63@ = 1
34@ = 4

:BSKOOL_16939
if 
  34@ == 4
goto_if_false @BSKOOL_17036
if 
  63@ == 2
goto_if_false @BSKOOL_17036
Car.StopPlayback(38@)
Car.Delete(38@)
Char.Delete(49@)
World.ClearArea($camera_positiony, $camera_positionz, $camera_position_int, 300.0, True)
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
Car.Delete(38@)
gosub @BSKOOL_21837
34@ = 0

:BSKOOL_17036
return 

:BSKOOL_17038
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(False)
Text.SetBackground(False)
Text.SetScale(0.52, 1.45)
Text.SetDropshadow(2, 0, 0, 0, 255)
Text.SetFont(Font.Menu)
return 

:BSKOOL_17100
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(False)
Text.SetBackground(False)
Text.SetScale(0.52, 1.45)
Text.SetDropshadow(2, 0, 0, 0, 255)
Text.SetFont(Font.Menu)
return 
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(0.8, 2.6)
Text.SetDropshadow(2, 0, 0, 0, 255)
return 

:BSKOOL_17216
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(1.2, 4.0)
Text.SetDropshadow(3, 0, 0, 0, 255)
Text.SetFont(Font.Pricedown)
return 
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(1.0, 3.8)
Text.SetDropshadow(2, 0, 0, 0, 255)
Text.SetFont(Font.Menu)
return 

:BSKOOL_17336
Camera.DoFade(500, Fade.Out)

:BSKOOL_17343
if 
  Camera.GetFadingStatus
goto_if_false @BSKOOL_17367
wait 0
goto @BSKOOL_17343

:BSKOOL_17367
Camera.RestoreJumpcut
Camera.SetBehindPlayer
return 

:BSKOOL_17373
$area_check2ax = 0.0
$area_check2ay = 0.0
$area_check2bx = 0.0
$area_check2by = 0.0
$area_check3ax = 0.0
$area_check3ay = 0.0
$area_check3bx = 0.0
$area_check3by = 0.0
$area_check4ax = 0.0
$area_check4ay = 0.0
$area_check4bx = 0.0
$area_check4by = 0.0
$instructor_car_dead_flag = 0.0
$finished_watching_scores = 0.0
$noticeboard_x = 0.0
$noticeboard_y = 0.0
$game_timer = 0
$circle_start_y = 0.0
$cone_coords_x = 0.0
$lap1_secs = 0.0
$lap1_millisecs = 0.0
$overall_lap1 = 0.0
$lap2_secs = 10.0
$car_timer = 0
$cone_coords_z = 0.0
$cone_circle_radius = 0.0
$race1_best_position_airrace = 0.0
$race1_best_time_airrace = 0.0
$race2_best_position_airrace = 0.0
$race2_best_time_airrace = 0
$total_dummy_car2_health = 0
$heading_score = 0
$start_coordsx = 0.0
$start_coordsy = 0.0
$area_check1ax = 0.0
$area_check1ay = 0.0
$camera_positionx = 0
$time_score = 0
43@ = 0.0
42@ = 0.0
44@ = 0.0
39@ = 0
40@ = 0
48@ = 0
$perfect_heading = 0
$lap2_millisecs = 0
$overall_lap2 = 0
$lap3_millisecs = 0
$overall_lap3 = 0
$lap4_millisecs = 0
$overall_lap4 = 0
$lap5_millisecs = 0
$overall_lap5 = 0
$overall_millisecs = 0
$finish_leftx = 0
$lap3_secs = 0
$lap4_secs = 0
$lap5_secs = 0
$overall_secs = 0
$finish_lefty = 0
$finish_rightx = 0
$finish_righty = 0
$variabled = 0
$variablea = 0
set_var_float_to_var_float $players_distance_from_perfectpos = $area_check1bx
set_var_float_to_var_float $instructor_car_health = $area_check1by
$dummy_car1_health = World.GetGroundZFor3DCoord($players_distance_from_perfectpos, $instructor_car_health, 50.0)
$total_car_damage = 0
$total_instructor_car_health = 0.0
$overall_score = 0
$variablec = 0
41@ = 0
$player_car_damage = 0
$other_car_damage = 0
$variableb = 0
$car_posx = 0
$circle_start_x = 0.0
$car_posy = 0
$where_to_place_cones = 0
$cone_coords_y = 0.0
45@ = 0.0
46@ = 0
47@ = 0
59@ = 0
58@ = 0
return 

:BSKOOL_18095
Char.WarpIntoCar($stattreadstamina_ctr, 38@)
Car.LockDoors(38@, CarLock.LockedPlayerInside)
wait 0
Hud.DisplayRadar(True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Camera.DoFade(500, Fade.In)

:BSKOOL_18129
if 
  Camera.GetFadingStatus
goto_if_false @BSKOOL_18153
wait 0
goto @BSKOOL_18129

:BSKOOL_18153
Player.SetControl($statbike_temp, True)
return 

:BSKOOL_18162
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_18229
if 
  $car_timer == 1
goto_if_false @BSKOOL_18222
if 
  not Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @BSKOOL_18222
48@ = 1

:BSKOOL_18222
goto @BSKOOL_18236

:BSKOOL_18229
48@ = 1

:BSKOOL_18236
return 

:BSKOOL_18238
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_18281
if 
  Char.IsInCar($stattreadstamina_ctr, 38@)
goto_if_false @BSKOOL_18281
43@ = Car.GetSpeed(38@)

:BSKOOL_18281
if 
is_xbox_version 
goto_if_false @BSKOOL_18414
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @BSKOOL_18407
if 
  43@ > 0.1
goto_if_false @BSKOOL_18407
Text.ClearPrints
if or
  $instructor_car_heading == 1
  $instructor_car_heading == 2
  $instructor_car_heading == 3
  $instructor_car_heading == 5
  $instructor_car_heading == 4
  $instructor_car_heading == 6
goto_if_false @BSKOOL_18400
Hud.DisplayTimer($perfect_positionz, TimerDirection.Down)

:BSKOOL_18400
$car_timer = 1

:BSKOOL_18407
goto @BSKOOL_18528

:BSKOOL_18414
if or
  Pad.IsButtonPressed(PadId.Pad1, $player1)
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @BSKOOL_18528
if 
  43@ > 0.1
goto_if_false @BSKOOL_18528
Text.ClearPrints
if or
  $instructor_car_heading == 1
  $instructor_car_heading == 2
  $instructor_car_heading == 3
  $instructor_car_heading == 5
  $instructor_car_heading == 4
  $instructor_car_heading == 6
goto_if_false @BSKOOL_18521
Hud.DisplayTimer($perfect_positionz, TimerDirection.Down)

:BSKOOL_18521
$car_timer = 1

:BSKOOL_18528
return 

:BSKOOL_18530
if 
  $perfect_positionz == 0
goto_if_false @BSKOOL_18562
Player.SetControl($statbike_temp, False)
Player.ApplyBrakesToCar($statbike_temp, True)

:BSKOOL_18562
return 

:BSKOOL_18564
Player.SetControl($statbike_temp, False)
Hud.FreezeTimer(True)
return 

:BSKOOL_18577
$x, $y, $z = Car.GetCoordinates(38@)
$total_instructor_car_health = Math.GetDistanceBetweenCoords2D($x, $y, $players_distance_from_perfectpos, $instructor_car_health)
if 
  $total_instructor_car_health > 0.5
goto_if_false @BSKOOL_18714
if 
  10.0 > $total_instructor_car_health
goto_if_false @BSKOOL_18700
$total_instructor_car_health -= 0.5
$total_instructor_car_health *= 10.42
cset_var_int_to_var_float $car_posx =# $total_instructor_car_health
$overall_score = 100
sub_int_var_from_int_var $overall_score -= $car_posx
goto @BSKOOL_18707

:BSKOOL_18700
$overall_score = 0

:BSKOOL_18707
goto @BSKOOL_18721

:BSKOOL_18714
$overall_score = 100

:BSKOOL_18721
add_int_var_to_int_var $variabled += $overall_score
return 
40@ = Car.GetHealth(38@)
$total_car_damage = 1000
sub_int_lvar_from_int_var $total_car_damage -= 40@
if 
  $instructor_car_heading == 16
goto_if_false @BSKOOL_18787
$total_car_damage /= 10
goto @BSKOOL_18794

:BSKOOL_18787
$total_car_damage /= 2

:BSKOOL_18794
if 
  $total_car_damage > 100
goto_if_false @BSKOOL_18819
$total_car_damage = 100

:BSKOOL_18819
return 

:BSKOOL_18821
$variableb = 0
$204 = 0
if 
  $instructor_car_heading == 1
goto_if_false @BSKOOL_18912

:BSKOOL_18853
if 
  15 > $204
goto_if_false @BSKOOL_18912
if 
  Object.HasBeenDamaged($205($204,46i))
goto_if_false @BSKOOL_18898
$variableb += 10

:BSKOOL_18898
$204 += 1
goto @BSKOOL_18853

:BSKOOL_18912
if 
  $instructor_car_heading == 2
goto_if_false @BSKOOL_18989

:BSKOOL_18930
if 
  25 > $204
goto_if_false @BSKOOL_18989
if 
  Object.HasBeenDamaged($205($204,46i))
goto_if_false @BSKOOL_18975
$variableb += 10

:BSKOOL_18975
$204 += 1
goto @BSKOOL_18930

:BSKOOL_18989
if or
  $instructor_car_heading == 3
  $instructor_car_heading == 5
goto_if_false @BSKOOL_19073

:BSKOOL_19014
if 
  30 > $204
goto_if_false @BSKOOL_19073
if 
  Object.HasBeenDamaged($205($204,46i))
goto_if_false @BSKOOL_19059
$variableb += 10

:BSKOOL_19059
$204 += 1
goto @BSKOOL_19014

:BSKOOL_19073
if or
  $instructor_car_heading == 4
  $instructor_car_heading == 6
goto_if_false @BSKOOL_19157

:BSKOOL_19098
if 
  14 > $204
goto_if_false @BSKOOL_19157
if 
  Object.HasBeenDamaged($205($204,46i))
goto_if_false @BSKOOL_19143
$variableb += 10

:BSKOOL_19143
$204 += 1
goto @BSKOOL_19098

:BSKOOL_19157
$variableb *= 2
if 
  $variableb > 90
goto_if_false @BSKOOL_19189
$variableb = 100

:BSKOOL_19189
sub_int_var_from_int_var $variabled -= $variableb
return 

:BSKOOL_19199
if 
  1 > $variabled
goto_if_false @BSKOOL_19224
$variabled = 0

:BSKOOL_19224
Text.ClearPrints
return 

:BSKOOL_19228
if 
  not Car.IsDead(38@)
goto_if_false @BSKOOL_19661
if 
  $race2_best_time_airrace == 0
goto_if_false @BSKOOL_19353
$race1_best_position_airrace, $race1_best_time_airrace, $race2_best_position_airrace = Car.GetOffsetInWorldCoords(38@, 10.0, 0.0, 5.0)
$race2_best_position_airrace = 15.0
Camera.SetFixedPosition($race1_best_position_airrace, $race1_best_time_airrace, $race2_best_position_airrace, 0.0, 0.0, 0.0)
Camera.PointAtCar(38@, CameraMode.Fixed, SwitchType.Interpolation)
Camera.SetInterpolationParameters(50.0, 2000)
$race2_best_time_airrace = 1

:BSKOOL_19353
if 
  TIMERA > 3000
goto_if_false @BSKOOL_19500
if 
  6000 > TIMERA
goto_if_false @BSKOOL_19500
if 
  $race2_best_time_airrace == 1
goto_if_false @BSKOOL_19500
$race1_best_position_airrace, $race1_best_time_airrace, $race2_best_position_airrace = Car.GetOffsetInWorldCoords(38@, 0.0, 10.0, 5.0)
$race2_best_position_airrace = 15.0
Camera.SetFixedPosition($race1_best_position_airrace, $race1_best_time_airrace, $race2_best_position_airrace, 0.0, 0.0, 0.0)
Camera.PointAtCar(38@, CameraMode.Fixed, SwitchType.Interpolation)
Camera.SetInterpolationParameters(50.0, 2000)
$race2_best_time_airrace = 2

:BSKOOL_19500
if 
  TIMERA > 6000
goto_if_false @BSKOOL_19628
if 
  $race2_best_time_airrace == 2
goto_if_false @BSKOOL_19628
$race1_best_position_airrace, $race1_best_time_airrace, $race2_best_position_airrace = Car.GetOffsetInWorldCoords(38@, -10.0, 0.0, 5.0)
$race2_best_position_airrace = 15.0
Camera.SetFixedPosition($race1_best_position_airrace, $race1_best_time_airrace, $race2_best_position_airrace, 0.0, 0.0, 0.0)
Camera.PointAtCar(38@, CameraMode.Fixed, SwitchType.Interpolation)
Camera.SetInterpolationParameters(50.0, 2000)
$race2_best_time_airrace = 3

:BSKOOL_19628
if 
  TIMERA > 9000
goto_if_false @BSKOOL_19661
$race2_best_time_airrace = 1
TIMERA = 0

:BSKOOL_19661
return 

:BSKOOL_19663
65@ = 0
if 
  $variabled > 69
goto_if_false @BSKOOL_19752
if 
  85 > $variabled
goto_if_false @BSKOOL_19752
if and
  67@ > 69
  85 > 67@
goto_if_false @BSKOOL_19745
65@ = 0
goto @BSKOOL_19752

:BSKOOL_19745
65@ = 2

:BSKOOL_19752
if 
  $variabled > 84
goto_if_false @BSKOOL_19834
if 
  100 > $variabled
goto_if_false @BSKOOL_19834
if and
  67@ > 84
  100 > 67@
goto_if_false @BSKOOL_19827
65@ = 0
goto @BSKOOL_19834

:BSKOOL_19827
65@ = 3

:BSKOOL_19834
if 
  $variabled == 100
goto_if_false @BSKOOL_19891
if 
  67@ == 100
goto_if_false @BSKOOL_19884
65@ = 0
goto @BSKOOL_19891

:BSKOOL_19884
65@ = 4

:BSKOOL_19891
return 

:BSKOOL_19893
Hud.Display(False)
Hud.DisplayRadar(False)
Text.ClearPrints
Hud.ClearTimer($perfect_positionz)
if 
  2 > 65@
goto_if_false @BSKOOL_19966
Hud.DrawWindow(160.0, 220.0, 490.0, 400.0, 'BS_Z_8', 3)
goto @BSKOOL_19999

:BSKOOL_19966
Hud.DrawWindow(160.0, 200.0, 490.0, 400.0, 'DUMMY', 3)

:BSKOOL_19999
gosub @BSKOOL_17100
52@, 53@, 54@, 55@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(52@, 53@, 54@, 55@)
Text.Display(170.0, 255.0, 'BS_Y_1')
gosub @BSKOOL_17100
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber(475.0, 255.0, 'BS_Y_6', $time_score)
gosub @BSKOOL_17100
52@, 53@, 54@, 55@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(52@, 53@, 54@, 55@)
Text.Display(170.0, 275.0, 'BS_Y_2')
gosub @BSKOOL_17100
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber(475.0, 275.0, 'BS_Y_6', $overall_score)
gosub @BSKOOL_17100
52@, 53@, 54@, 55@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(52@, 53@, 54@, 55@)
Text.Display(170.0, 295.0, 'BS_Y_3')
gosub @BSKOOL_17100
Text.SetRightJustify(True)
52@, 53@, 54@, 55@ = Hud.GetColor(0)
Text.SetColor(52@, 53@, 54@, 55@)
Text.DisplayWithNumber(475.0, 295.0, 'BS_Y_6', $variableb)
gosub @BSKOOL_17100
52@, 53@, 54@, 55@ = Hud.GetColor(HudObject.Armor)
Text.SetColor(52@, 53@, 54@, 55@)
Text.Display(170.0, 315.0, 'BS_Y_5')
gosub @BSKOOL_17100
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber(475.0, 315.0, 'BS_Y_6', $variabled)
if or
  59@ == 1
  59@ == 2
goto_if_false @BSKOOL_20803
if 
  65@ > 0
goto_if_false @BSKOOL_20803
Hud.DrawSprite(4, 250.0, 200.0, -60.0, 60.0, 180, 180, 180, 255)
Hud.DrawSprite(4, 392.0, 200.0, 60.0, 60.0, 180, 180, 180, 255)
if 
  65@ == 2
goto_if_false @BSKOOL_20612
Hud.DrawSprite(1, 320.0, 200.0, 110.0, 95.0, 160, 160, 160, 255)

:BSKOOL_20612
if 
  65@ == 3
goto_if_false @BSKOOL_20666
Hud.DrawSprite(2, 320.0, 200.0, 110.0, 95.0, 160, 160, 160, 255)

:BSKOOL_20666
if 
  65@ == 4
goto_if_false @BSKOOL_20720
Hud.DrawSprite(3, 320.0, 200.0, 110.0, 95.0, 160, 160, 160, 255)

:BSKOOL_20720
gosub @BSKOOL_17216
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetScale(1.0, 3.4)
52@, 53@, 54@, 55@ = Hud.GetColor(6)
Text.SetColor(52@, 53@, 54@, 55@)
Text.Display(323.0, 65.0, 'BS_Y_9')

:BSKOOL_20803
if or
  59@ == 1
  59@ == 2
goto_if_false @BSKOOL_20895
gosub @BSKOOL_17216
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetScale(1.0, 3.4)
Text.SetColor(255, 255, 255, 255)
Text.Display(323.0, 110.0, 'BS_Y_8')

:BSKOOL_20895
if 
  59@ <> 2
goto_if_false @BSKOOL_21200
gosub @BSKOOL_17100
Text.SetScale(0.52, 1.45)
52@, 53@, 54@, 55@ = Hud.GetColor(HudObject.Health)
Text.SetColor(52@, 53@, 54@, 55@)
Text.Display(330.0, 345.0, 'BS_X05')
gosub @BSKOOL_17100
Text.SetScale(0.52, 1.45)
52@, 53@, 54@, 55@ = Hud.GetColor(6)
Text.SetColor(52@, 53@, 54@, 55@)
Text.Display(170.0, 345.0, 'BS_Z_5')
gosub @BSKOOL_17100
Text.SetScale(0.52, 1.45)
52@, 53@, 54@, 55@ = Hud.GetColor(HudObject.Health)
Text.SetColor(52@, 53@, 54@, 55@)
Text.Display(330.0, 365.0, 'BS_X04')
gosub @BSKOOL_17100
Text.SetScale(0.52, 1.45)
52@, 53@, 54@, 55@ = Hud.GetColor(6)
Text.SetColor(52@, 53@, 54@, 55@)
Text.Display(170.0, 365.0, 'BS_Z_6')
goto @BSKOOL_21412

:BSKOOL_21200
if 
  $bs_the360_best_score <> 6
goto_if_false @BSKOOL_21272
gosub @BSKOOL_17100
Text.SetScale(0.52, 1.45)
Text.SetColor(255, 255, 255, 255)
Text.Display(170.0, 345.0, 'BS_Z_9')

:BSKOOL_21272
gosub @BSKOOL_17100
Text.SetScale(0.52, 1.45)
52@, 53@, 54@, 55@ = Hud.GetColor(HudObject.Health)
Text.SetColor(52@, 53@, 54@, 55@)
Text.Display(330.0, 365.0, 'BS_X05')
gosub @BSKOOL_17100
Text.SetScale(0.52, 1.45)
52@, 53@, 54@, 55@ = Hud.GetColor(6)
Text.SetColor(52@, 53@, 54@, 55@)
Text.Display(170.0, 365.0, 'BS_Z_5')

:BSKOOL_21412
return 

:BSKOOL_21414
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BSKOOL_21471
if 
  $game_timer == 1
goto_if_false @BSKOOL_21464
$game_timer = 0
$camera_positionx = 1

:BSKOOL_21464
goto @BSKOOL_21496

:BSKOOL_21471
if 
  $game_timer == 0
goto_if_false @BSKOOL_21496
$game_timer = 1

:BSKOOL_21496
return 

:BSKOOL_21498
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1186)
Camera.DoFade(500, Fade.Out)

:BSKOOL_21525
if 
  Camera.GetFadingStatus
goto_if_false @BSKOOL_21594
if 
  $respect_help_played == 0
goto_if_false @BSKOOL_21581
if 
  $bs_the180_bronzeachieved == 1
goto_if_false @BSKOOL_21581
gosub @BSKOOL_13424

:BSKOOL_21581
Text.ClearPrints
wait 0
goto @BSKOOL_21525

:BSKOOL_21594
Text.ClearPrints
Text.ClearThisBigPrint('BS_Y_8')
Text.ClearThisBigPrint('BS_Y_9')
Player.ApplyBrakesToCar($statbike_temp, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
if 
  48@ == 2
goto_if_false @BSKOOL_21720
Text.ClearPrints
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BSKOOL_21693
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1171.521, 1351.183, 9.9219)
goto @BSKOOL_21713

:BSKOOL_21693
Char.SetCoordinates($stattreadstamina_ctr, 1171.521, 1351.183, 9.9219)

:BSKOOL_21713
goto @BSKOOL_21783

:BSKOOL_21720
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BSKOOL_21763
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1171.521, 1351.183, 9.9219)
goto @BSKOOL_21783

:BSKOOL_21763
Char.SetCoordinates($stattreadstamina_ctr, 1171.521, 1351.183, 9.9219)

:BSKOOL_21783
Char.SetHeading($stattreadstamina_ctr, 5.0)
Car.Delete(38@)
World.ClearArea(1171.521, 1351.183, 9.9219, 2.0, True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.ClearTimer($perfect_positionz)
Hud.FreezeTimer(False)
return 

:BSKOOL_21837
$204 = 0

:BSKOOL_21844
if 
  46 > $204
goto_if_false @BSKOOL_21885
Object.Delete($205($204,46i))
$204 += 1
goto @BSKOOL_21844

:BSKOOL_21885
if 
  Object.DoesExist(56@)
goto_if_false @BSKOOL_21906
Object.Delete(56@)

:BSKOOL_21906
return 

:BSKOOL_21908
$204 = 0
if 
  $instructor_car_heading == 1
goto_if_false @BSKOOL_21992

:BSKOOL_21933
if 
  15 > $204
goto_if_false @BSKOOL_21992
$205($204,46i) = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 500.0)
$204 += 1
goto @BSKOOL_21933

:BSKOOL_21992
if 
  $instructor_car_heading == 2
goto_if_false @BSKOOL_22069

:BSKOOL_22010
if 
  25 > $204
goto_if_false @BSKOOL_22069
$205($204,46i) = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 500.0)
$204 += 1
goto @BSKOOL_22010

:BSKOOL_22069
if or
  $instructor_car_heading == 3
  $instructor_car_heading == 5
goto_if_false @BSKOOL_22153

:BSKOOL_22094
if 
  30 > $204
goto_if_false @BSKOOL_22153
$205($204,46i) = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 500.0)
$204 += 1
goto @BSKOOL_22094

:BSKOOL_22153
if or
  $instructor_car_heading == 4
  $instructor_car_heading == 6
goto_if_false @BSKOOL_22267

:BSKOOL_22178
if 
  14 > $204
goto_if_false @BSKOOL_22237
$205($204,46i) = Object.CreateNoOffset(#TRAFFICCONE, 0.0, 0.0, 500.0)
$204 += 1
goto @BSKOOL_22178

:BSKOOL_22237
56@ = Object.CreateNoOffset(#LANDJUMP2, 0.0, 0.0, 500.0)
Object.SetCollision(56@, True)

:BSKOOL_22267
if 
  $instructor_car_heading == 1
goto_if_false @BSKOOL_22945
$lap2_secs = 6.0
$cone_coords_y = 0.0
$cone_coords_z, $cone_circle_radius, $overall_lap1 = Car.GetOffsetInWorldCoords(38@, 0.0, 1.0, -0.2)

:BSKOOL_22334
$lap1_secs = Math.Sin($cone_coords_y)
mult_float_var_by_float_var $lap1_secs *= $lap2_secs
add_float_var_to_float_var $lap1_secs += $cone_coords_z
$lap1_millisecs = Math.Cos($cone_coords_y)
mult_float_var_by_float_var $lap1_millisecs *= $lap2_secs
add_float_var_to_float_var $lap1_millisecs += $cone_circle_radius
if 
  $cone_coords_y == 0.0
goto_if_false @BSKOOL_22417
Object.SetCoordinates($205[0], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22417
if 
  $cone_coords_y == 24.0
goto_if_false @BSKOOL_22452
Object.SetCoordinates($205[1], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22452
if 
  $cone_coords_y == 48.0
goto_if_false @BSKOOL_22487
Object.SetCoordinates($205[2], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22487
if 
  $cone_coords_y == 72.0
goto_if_false @BSKOOL_22522
Object.SetCoordinates($205[3], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22522
if 
  $cone_coords_y == 96.0
goto_if_false @BSKOOL_22557
Object.SetCoordinates($205[4], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22557
if 
  $cone_coords_y == 120.0
goto_if_false @BSKOOL_22592
Object.SetCoordinates($205[5], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22592
if 
  $cone_coords_y == 144.0
goto_if_false @BSKOOL_22627
Object.SetCoordinates($205[6], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22627
if 
  $cone_coords_y == 168.0
goto_if_false @BSKOOL_22662
Object.SetCoordinates($205[7], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22662
if 
  $cone_coords_y == 192.0
goto_if_false @BSKOOL_22697
Object.SetCoordinates($205[8], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22697
if 
  $cone_coords_y == 216.0
goto_if_false @BSKOOL_22732
Object.SetCoordinates($205[9], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22732
if 
  $cone_coords_y == 240.0
goto_if_false @BSKOOL_22767
Object.SetCoordinates($205[10], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22767
if 
  $cone_coords_y == 264.0
goto_if_false @BSKOOL_22802
Object.SetCoordinates($205[11], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22802
if 
  $cone_coords_y == 288.0
goto_if_false @BSKOOL_22837
Object.SetCoordinates($205[12], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22837
if 
  $cone_coords_y == 312.0
goto_if_false @BSKOOL_22872
Object.SetCoordinates($205[13], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22872
if 
  $cone_coords_y == 336.0
goto_if_false @BSKOOL_22907
Object.SetCoordinates($205[14], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_22907
$cone_coords_y += 24.0
if 
  360.0 > $cone_coords_y
goto_if_false @BSKOOL_22945
goto @BSKOOL_22334

:BSKOOL_22945
if 
  $instructor_car_heading == 2
goto_if_false @BSKOOL_23687
$lap2_secs = 6.0
$cone_coords_y = 90.0
$cone_coords_z, $cone_circle_radius, $overall_lap1 = Car.GetOffsetInWorldCoords(38@, 0.0, 86.0, -0.2)

:BSKOOL_23012
$lap1_secs = Math.Sin($cone_coords_y)
mult_float_var_by_float_var $lap1_secs *= $lap2_secs
add_float_var_to_float_var $lap1_secs += $cone_coords_z
$lap1_millisecs = Math.Cos($cone_coords_y)
mult_float_var_by_float_var $lap1_millisecs *= $lap2_secs
add_float_var_to_float_var $lap1_millisecs += $cone_circle_radius
if 
  $cone_coords_y == 120.0
goto_if_false @BSKOOL_23095
Object.SetCoordinates($205[0], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_23095
if 
  $cone_coords_y == 150.0
goto_if_false @BSKOOL_23130
Object.SetCoordinates($205[1], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_23130
if 
  $cone_coords_y == 180.0
goto_if_false @BSKOOL_23165
Object.SetCoordinates($205[2], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_23165
if 
  $cone_coords_y == 210.0
goto_if_false @BSKOOL_23200
Object.SetCoordinates($205[3], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_23200
if 
  $cone_coords_y == 240.0
goto_if_false @BSKOOL_23235
Object.SetCoordinates($205[4], $lap1_secs, $lap1_millisecs, $overall_lap1)

:BSKOOL_23235
$cone_coords_y += 30.0
if 
  271.0 > $cone_coords_y
goto_if_false @BSKOOL_23273
goto @BSKOOL_23012

:BSKOOL_23273
Object.PlaceRelativeToCar($205[7], 38@, -7.0, 74.0, -0.2)
Object.PlaceRelativeToCar($205[8], 38@, 7.0, 74.0, -0.2)
Object.PlaceRelativeToCar($205[9], 38@, -7.0, 78.0, -0.2)
Object.PlaceRelativeToCar($205[10], 38@, 7.0, 78.0, -0.2)
Object.PlaceRelativeToCar($205[11], 38@, -7.0, 82.0, -0.2)
Object.PlaceRelativeToCar($205[12], 38@, 7.0, 82.0, -0.2)
Object.PlaceRelativeToCar($205[13], 38@, -7.0, 86.0, -0.2)
Object.PlaceRelativeToCar($205[14], 38@, 7.0, 86.0, -0.2)
Object.PlaceRelativeToCar($205[15], 38@, 0.0, 82.0, -0.2)
Object.PlaceRelativeToCar($205[16], 38@, -3.0, 4.0, -0.2)
Object.PlaceRelativeToCar($205[17], 38@, 3.0, 4.0, -0.2)
Object.PlaceRelativeToCar($205[18], 38@, -3.0, 0.0, -0.2)
Object.PlaceRelativeToCar($205[19], 38@, 3.0, 0.0, -0.2)
Object.PlaceRelativeToCar($205[20], 38@, -3.0, -4.0, -0.2)
Object.PlaceRelativeToCar($205[21], 38@, 3.0, -4.0, -0.2)
Object.PlaceRelativeToCar($205[22], 38@, 0.0, -4.0, -0.2)
Object.PlaceRelativeToCar($205[23], 38@, 0.0, 74.0, -0.2)
Object.PlaceRelativeToCar($205[24], 38@, 0.0, 78.0, -0.2)

:BSKOOL_23687
if or
  $instructor_car_heading == 3
  $instructor_car_heading == 5
goto_if_false @BSKOOL_24402
Object.PlaceRelativeToCar($205[0], 38@, -3.0, 4.0, -0.2)
Object.PlaceRelativeToCar($205[1], 38@, 3.0, 4.0, -0.2)
Object.PlaceRelativeToCar($205[2], 38@, -3.0, 0.0, -0.2)
Object.PlaceRelativeToCar($205[3], 38@, 3.0, 0.0, -0.2)
Object.PlaceRelativeToCar($205[4], 38@, -3.0, -4.0, -0.2)
Object.PlaceRelativeToCar($205[5], 38@, 3.0, -4.0, -0.2)
Object.PlaceRelativeToCar($205[6], 38@, 0.0, -4.0, -0.2)
Object.PlaceRelativeToCar($205[7], 38@, -3.5, 56.0, -0.2)
Object.PlaceRelativeToCar($205[8], 38@, 3.5, 56.0, -0.2)
Object.PlaceRelativeToCar($205[9], 38@, -3.5, 60.0, -0.2)
Object.PlaceRelativeToCar($205[10], 38@, 3.5, 60.0, -0.2)
Object.PlaceRelativeToCar($205[11], 38@, -3.5, 64.0, -0.2)
Object.PlaceRelativeToCar($205[12], 38@, 3.5, 64.0, -0.2)
Object.PlaceRelativeToCar($205[13], 38@, -3.5, 68.0, -0.2)
Object.PlaceRelativeToCar($205[14], 38@, 3.5, 68.0, -0.2)
Object.PlaceRelativeToCar($205[15], 38@, -3.5, 72.0, -0.2)
Object.PlaceRelativeToCar($205[16], 38@, 3.5, 72.0, -0.2)
Object.PlaceRelativeToCar($205[17], 38@, -3.5, 76.0, -0.2)
Object.PlaceRelativeToCar($205[18], 38@, 3.5, 76.0, -0.2)
Object.PlaceRelativeToCar($205[19], 38@, -3.5, 80.0, -0.2)
Object.PlaceRelativeToCar($205[20], 38@, 3.5, 80.0, -0.2)
Object.PlaceRelativeToCar($205[21], 38@, -3.5, 84.0, -0.2)
Object.PlaceRelativeToCar($205[22], 38@, 3.5, 84.0, -0.2)
Object.PlaceRelativeToCar($205[23], 38@, -3.0, 120.0, -0.2)
Object.PlaceRelativeToCar($205[24], 38@, 3.0, 120.0, -0.2)
Object.PlaceRelativeToCar($205[25], 38@, -3.0, 124.0, -0.2)
Object.PlaceRelativeToCar($205[26], 38@, 3.0, 124.0, -0.2)
Object.PlaceRelativeToCar($205[27], 38@, -3.0, 128.0, -0.2)
Object.PlaceRelativeToCar($205[28], 38@, 3.0, 128.0, -0.2)
Object.PlaceRelativeToCar($205[29], 38@, 0.0, 128.0, -0.2)

:BSKOOL_24402
if or
  $instructor_car_heading == 4
  $instructor_car_heading == 6
goto_if_false @BSKOOL_24969
Object.PlaceRelativeToCar($205[0], 38@, -3.0, 4.0, -0.2)
Object.PlaceRelativeToCar($205[1], 38@, 3.0, 4.0, -0.2)
Object.PlaceRelativeToCar($205[2], 38@, -3.0, 0.0, -0.2)
Object.PlaceRelativeToCar($205[3], 38@, 3.0, 0.0, -0.2)
Object.PlaceRelativeToCar($205[4], 38@, -3.0, -4.0, -0.2)
Object.PlaceRelativeToCar($205[5], 38@, 3.0, -4.0, -0.2)
Object.PlaceRelativeToCar($205[6], 38@, 0.0, -4.0, -0.2)
Object.PlaceRelativeToCar(56@, 38@, 0.0, 48.0, -0.2)
if 
  $instructor_car_heading == 4
goto_if_false @BSKOOL_24790
Object.PlaceRelativeToCar($205[7], 38@, -3.0, 120.0, -0.2)
Object.PlaceRelativeToCar($205[8], 38@, 3.0, 120.0, -0.2)
Object.PlaceRelativeToCar($205[9], 38@, -3.0, 124.0, -0.2)
Object.PlaceRelativeToCar($205[10], 38@, 3.0, 124.0, -0.2)
Object.PlaceRelativeToCar($205[11], 38@, -3.0, 128.0, -0.2)
Object.PlaceRelativeToCar($205[12], 38@, 3.0, 128.0, -0.2)
Object.PlaceRelativeToCar($205[13], 38@, 0.0, 128.0, -0.2)

:BSKOOL_24790
if 
  $instructor_car_heading == 6
goto_if_false @BSKOOL_24969
Object.PlaceRelativeToCar($205[7], 38@, -3.0, 110.0, -0.2)
Object.PlaceRelativeToCar($205[8], 38@, 3.0, 110.0, -0.2)
Object.PlaceRelativeToCar($205[9], 38@, -3.0, 114.0, -0.2)
Object.PlaceRelativeToCar($205[10], 38@, 3.0, 114.0, -0.2)
Object.PlaceRelativeToCar($205[11], 38@, -3.0, 118.0, -0.2)
Object.PlaceRelativeToCar($205[12], 38@, 3.0, 118.0, -0.2)
Object.PlaceRelativeToCar($205[13], 38@, 0.0, 118.0, -0.2)

:BSKOOL_24969
return 

//-------------Mission 121---------------
// Originally: Taxi-Driver Sub-Mission

:TAXIODD
script_name 'TAXIODD'
34@ = 0
gosub @TAXIODD_54
if 
  has_deatharrest_been_executed 
goto_if_false @TAXIODD_45
gosub @TAXIODD_18802

:TAXIODD_45
gosub @TAXIODD_18975
terminate_this_script 

:TAXIODD_54
if 
  $nascar_best_time == 0
goto_if_false @TAXIODD_74
Stat.RegisterMissionGiven

:TAXIODD_74
$weapon_shop1_blip = 1
$wuzi = 1
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TAXIODD_231
if 
  Char.IsInTaxi($stattreadstamina_ctr)
goto_if_false @TAXIODD_231
37@ = Char.StoreCarIsIn($stattreadstamina_ctr)
35@ = Car.GetNumberOfPassengers(37@)
if 
  35@ <> 0
goto_if_false @TAXIODD_179
Text.PrintNow('TX_FULL', 5000, 1)
wait 4500
Text.ClearPrints
return 

:TAXIODD_179
36@ = Car.GetHealth(37@)
if 
  not Car.IsHealthGreater(37@, 400)
goto_if_false @TAXIODD_231
Text.PrintNow('TX_ILL', 5000, 1)
wait 4500
Text.ClearPrints
return 

:TAXIODD_231
set_var_int_to_var_int $8205 = $intro_bmx
$intro_bmx = 1
85@ = 0
86@ = 0
87@ = 0
38@ = 0
39@ = 0
40@ = 0
41@ = 0
42@ = 0
47@ = 0
48@ = 0
TIMERA = 0
TIMERB = 0
102@ = 0
127@ = 0
130@ = 0
132@ = 0
133@ = 0
134@ = 0
135@ = 0
136@ = 0
137@ = 0
139@ = 0
140@ = 0
141@ = 0
142@ = 0
143@ = 0
144@ = 0
145@ = 0
124@ = 0
125@ = 0
126@ = 0
108@ = 0
146@ = 0
if 
  38@ == -99
goto_if_false @TAXIODD_721
write_debug "SHOULD_NEVER_BE_IN_FAKE_ENTITY_CREATION"
89@ = Car.Create(420, 0.0, 0.0, 0.0)
88@ = Char.Create(PedType.CivMale, 147, 0.0, 0.0, 0.0)
49@ = 0

:TAXIODD_593
90@(49@,4i) = Object.Create(#CR_AMMOBOX, 0.0, 0.0, 0.0)
49@ += 1
  49@ >= 4
goto_if_false @TAXIODD_593
96@ = Blip.AddForChar(88@)
97@ = Blip.AddForCoord(0.0, 0.0, 0.0)
49@ = 0

:TAXIODD_676
98@(49@,3i) = Blip.AddForCoord(0.0, 0.0, 0.0)
49@ += 1
  49@ >= 3
goto_if_false @TAXIODD_676

:TAXIODD_721
Text.LoadMissionText('TAXI1')
gosub @TAXIODD_17937
101@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
gosub @TAXIODD_17939
if 
  34@ == 1
goto_if_false @TAXIODD_778
goto @TAXIODD_17009

:TAXIODD_778
wait 0
gosub @TAXIODD_16579
gosub @TAXIODD_16933
if or
  40@ == 1
  41@ == 1
goto_if_false @TAXIODD_828
goto @TAXIODD_1465

:TAXIODD_828
gosub @TAXIODD_17804
gosub @TAXIODD_17838
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @TAXIODD_872
124@ = 1
goto @TAXIODD_1465

:TAXIODD_872
if 
  38@ == 0
goto_if_false @TAXIODD_930
write_debug "STAGE_SHOULD_NEVER_BE_0_IN_MAIN_LOOP"

:TAXIODD_930
83@ = 0
$LStickX = Pad.GetControllerMode()
if 
  $LStickX <> 3
goto_if_false @TAXIODD_991
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @TAXIODD_984
83@ = 1

:TAXIODD_984
goto @TAXIODD_1015

:TAXIODD_991
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @TAXIODD_1015
83@ = 1

:TAXIODD_1015
if 
  135@ == 0
goto_if_false @TAXIODD_1081
if 
  83@ == 1
goto_if_false @TAXIODD_1074
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TAXIODD_1074
135@ = 1

:TAXIODD_1074
goto @TAXIODD_1129

:TAXIODD_1081
if 
  83@ == 0
goto_if_false @TAXIODD_1129
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TAXIODD_1129
124@ = 1
goto @TAXIODD_1465

:TAXIODD_1129
if 
  Car.IsDead(89@)
goto_if_false @TAXIODD_1159
124@ = 1
goto @TAXIODD_1465

:TAXIODD_1159
51@ = Car.GetHealth(89@)
if 
  250 >= 51@
goto_if_false @TAXIODD_1287
if 
  not Char.IsDead(88@)
goto_if_false @TAXIODD_1273
if 
  Char.IsInCar(88@, 89@)
goto_if_false @TAXIODD_1273
Text.PrintNow('TX_FLED', 5000, 1)
if 
  138@ == 0
goto_if_false @TAXIODD_1273
116@ = Char.SetSayContext(88@, 220)
138@ = 1

:TAXIODD_1273
126@ = 1
goto @TAXIODD_1465

:TAXIODD_1287
if 
  130@ == 1
goto_if_false @TAXIODD_1344
if 
  $8203 == 0
goto_if_false @TAXIODD_1344
124@ = 1
108@ = 2
goto @TAXIODD_1465

:TAXIODD_1344
gosub @TAXIODD_2868
if 
  127@ == 0
goto_if_false @TAXIODD_1390
124@ = 1
108@ = 1
goto @TAXIODD_1465

:TAXIODD_1390
if 
  38@ == 1
goto_if_false @TAXIODD_1415
gosub @TAXIODD_1657

:TAXIODD_1415
if 
  38@ == 2
goto_if_false @TAXIODD_1440
gosub @TAXIODD_2261

:TAXIODD_1440
if 
  38@ == 3
goto_if_false @TAXIODD_1465
125@ = 1

:TAXIODD_1465
if 
  40@ == 0
goto_if_false @TAXIODD_1609
if 
  124@ == 0
goto_if_false @TAXIODD_1593
if 
  126@ == 0
goto_if_false @TAXIODD_1572
if 
  125@ == 0
goto_if_false @TAXIODD_1551
goto @TAXIODD_778
goto @TAXIODD_1565

:TAXIODD_1551
gosub @TAXIODD_18700
goto @TAXIODD_778

:TAXIODD_1565
goto @TAXIODD_1586

:TAXIODD_1572
gosub @TAXIODD_18736
goto @TAXIODD_778

:TAXIODD_1586
goto @TAXIODD_1602

:TAXIODD_1593
gosub @TAXIODD_18802
return 

:TAXIODD_1602
goto @TAXIODD_1611

:TAXIODD_1609
return 

:TAXIODD_1611
write_debug "SHOULD_NEVER_BE_HERE_IN_END_OF_MAIN_LOOP"
return 

:TAXIODD_1657
if 
  39@ == 0
goto_if_false @TAXIODD_1829
128@ = 0
129@ = 0
138@ = 0
139@ = 0
145@ = 0
107@ = 0
Car.SetTaxiLights(89@, True)
if 
  144@ == 1
goto_if_false @TAXIODD_1756
39@ = 20
goto @TAXIODD_1829

:TAXIODD_1756
gosub @TAXIODD_3334
if 
  133@ == 0
goto_if_false @TAXIODD_1795
39@ = 1
goto @TAXIODD_1829

:TAXIODD_1795
Text.PrintNow('TX_JUNK', $8203, 1)
139@ = 1
Hud.FreezeTimer(False)
39@ = 10

:TAXIODD_1829
if 
  133@ == 1
goto_if_false @TAXIODD_1966
if 
  134@ == 0
goto_if_false @TAXIODD_1879
gosub @TAXIODD_3376
goto @TAXIODD_1966

:TAXIODD_1879
gosub @TAXIODD_3334
if 
  133@ == 0
goto_if_false @TAXIODD_1966
gosub @TAXIODD_3376
Text.ClearThisPrint('TX_JUNK')
$8203 += 10000
if 
  139@ == 1
goto_if_false @TAXIODD_1959
Hud.FreezeTimer(True)
139@ = 0

:TAXIODD_1959
39@ = 0

:TAXIODD_1966
if 
  39@ == 1
goto_if_false @TAXIODD_2055
gosub @TAXIODD_4400
if 
  128@ == 1
goto_if_false @TAXIODD_2055
if 
  130@ == 0
goto_if_false @TAXIODD_2044
$8203 = 36000
130@ = 1

:TAXIODD_2044
Hud.FreezeTimer(False)
39@ = 2

:TAXIODD_2055
if 
  39@ == 2
goto_if_false @TAXIODD_2151
if 
  not Char.IsDead(88@)
goto_if_false @TAXIODD_2151
if 
  Char.IsInCar(88@, 89@)
goto_if_false @TAXIODD_2151
Blip.Remove(96@)
Char.ClearLookAt(88@)
Car.SetTaxiLights(89@, False)
116@ = Char.SetSayContext(88@, 223)
117@ = Car.GetHealth(89@)
39@ = 99

:TAXIODD_2151
if 
  39@ == 10
goto_if_false @TAXIODD_2169

:TAXIODD_2169
if 
  39@ == 20
goto_if_false @TAXIODD_2227
if 
  is_int_lvar_greater_than_int_lvar 47@ > 106@
goto_if_false @TAXIODD_2227
144@ = 0
106@ = 0
39@ = 0

:TAXIODD_2227
gosub @TAXIODD_4901
if 
  39@ == 99
goto_if_false @TAXIODD_2259
gosub @TAXIODD_17877

:TAXIODD_2259
return 

:TAXIODD_2261
if 
  39@ == 0
goto_if_false @TAXIODD_2352
gosub @TAXIODD_7013
Hud.FreezeTimer(False)
131@ = 0
102@ = 0
136@ = 0
if 
  143@ == 0
goto_if_false @TAXIODD_2345
set_lvar_int_to_lvar_int 105@ = 47@
105@ += 5000

:TAXIODD_2345
39@ += 1

:TAXIODD_2352
if 
  Char.IsDead(88@)
goto_if_false @TAXIODD_2375
126@ = 1

:TAXIODD_2375
if and
  not Char.IsInCar(88@, 89@)
  131@ == 0
goto_if_false @TAXIODD_2408
126@ = 1

:TAXIODD_2408
gosub @TAXIODD_3334
if 
  133@ == 1
goto_if_false @TAXIODD_2481
if 
  134@ == 0
goto_if_false @TAXIODD_2474
Text.PrintNow('TX_REP', 6000, 1)
gosub @TAXIODD_3376

:TAXIODD_2474
goto @TAXIODD_2506

:TAXIODD_2481
if 
  134@ == 1
goto_if_false @TAXIODD_2506
gosub @TAXIODD_3376

:TAXIODD_2506
if 
  39@ == 1
goto_if_false @TAXIODD_2623
if 
  Char.LocateInCar3D(88@, 121@, 122@, 123@, 4.0, 4.0, 4.0, True)
goto_if_false @TAXIODD_2623
if and
  Char.IsInCar(88@, 89@)
  Char.IsInCar($stattreadstamina_ctr, 89@)
goto_if_false @TAXIODD_2623
Player.SetControl($statbike_temp, False)
Blip.Remove(97@)
131@ = 1
Hud.FreezeTimer(True)
39@ += 1

:TAXIODD_2623
if 
  39@ == 2
goto_if_false @TAXIODD_2698
if 
  Car.IsStopped(89@)
goto_if_false @TAXIODD_2698
if 
  Char.IsInCar(88@, 89@)
goto_if_false @TAXIODD_2684
Task.LeaveCarImmediately(88@, 89@)

:TAXIODD_2684
gosub @TAXIODD_18188
39@ += 1

:TAXIODD_2698
if 
  39@ == 3
goto_if_false @TAXIODD_2761
if 
  not Char.IsInCar(88@, 89@)
goto_if_false @TAXIODD_2761
Char.MarkAsNoLongerNeeded(88@)
146@ -= 1
Player.SetControl($statbike_temp, True)
39@ = 99

:TAXIODD_2761
if 
  131@ == 0
goto_if_false @TAXIODD_2786
gosub @TAXIODD_6762

:TAXIODD_2786
if 
  143@ == 0
goto_if_false @TAXIODD_2841
if 
  is_int_lvar_greater_than_int_lvar 47@ > 105@
goto_if_false @TAXIODD_2841
Text.PrintHelp('TX_TIP')
143@ = 1

:TAXIODD_2841
if 
  39@ == 99
goto_if_false @TAXIODD_2866
gosub @TAXIODD_17877

:TAXIODD_2866
return 

:TAXIODD_2868
if 
  Char.IsInTaxi($stattreadstamina_ctr)
goto_if_false @TAXIODD_2931
if 
  127@ <> 1
goto_if_false @TAXIODD_2924
89@ = Char.StoreCarIsIn($stattreadstamina_ctr)
127@ = 1
gosub @TAXIODD_2940

:TAXIODD_2924
goto @TAXIODD_2938

:TAXIODD_2931
127@ = 0

:TAXIODD_2938
return 

:TAXIODD_2940
51@ = 0
90@(51@,4i) = Object.Create(#CR_AMMOBOX, 0.0, 0.0, 0.0)
Object.SetCollision(90@(51@,4i), False)
Object.SetVisible(90@(51@,4i), False)
Object.AttachToCar(90@(51@,4i), 89@, 0.0, 2.3, 0.0, 0.0, 0.0, 0.0)
51@ = 1
90@(51@,4i) = Object.Create(#CR_AMMOBOX, 0.0, 0.0, 0.0)
Object.SetCollision(90@(51@,4i), False)
Object.SetVisible(90@(51@,4i), False)
Object.AttachToCar(90@(51@,4i), 89@, 0.0, -2.6, 0.0, 0.0, 0.0, 0.0)
51@ = 2
90@(51@,4i) = Object.Create(#CR_AMMOBOX, 0.0, 0.0, 0.0)
Object.SetCollision(90@(51@,4i), False)
Object.SetVisible(90@(51@,4i), False)
Object.AttachToCar(90@(51@,4i), 89@, -1.0, -1.0, 0.0, 0.0, 0.0, 0.0)
51@ = 3
90@(51@,4i) = Object.Create(#CR_AMMOBOX, 0.0, 0.0, 0.0)
Object.SetCollision(90@(51@,4i), False)
Object.SetVisible(90@(51@,4i), False)
Object.AttachToCar(90@(51@,4i), 89@, 1.0, -1.0, 0.0, 0.0, 0.0, 0.0)
return 

:TAXIODD_3334
if 
  Car.IsHealthGreater(89@, 400)
goto_if_false @TAXIODD_3367
133@ = 0
goto @TAXIODD_3374

:TAXIODD_3367
133@ = 1

:TAXIODD_3374
return 

:TAXIODD_3376
if 
  134@ == 1
goto_if_false @TAXIODD_3440
49@ = 0

:TAXIODD_3401
Blip.Remove(98@(49@,3i))
49@ += 1
  49@ >= 3
goto_if_false @TAXIODD_3401
134@ = 0
return 

:TAXIODD_3440
if 
  Char.IsInZone($stattreadstamina_ctr, 'LA')
goto_if_false @TAXIODD_3507
51@ = 0
gosub @TAXIODD_3887
51@ += 1
gosub @TAXIODD_3944
51@ += 1
gosub @TAXIODD_4229

:TAXIODD_3507
if 
  Char.IsInZone($stattreadstamina_ctr, 'VE')
goto_if_false @TAXIODD_3546
51@ = 0
gosub @TAXIODD_4115

:TAXIODD_3546
if 
  Char.IsInZone($stattreadstamina_ctr, 'SF')
goto_if_false @TAXIODD_3599
51@ = 0
gosub @TAXIODD_4172
51@ += 1
gosub @TAXIODD_4286

:TAXIODD_3599
if 
  Char.IsInZone($stattreadstamina_ctr, 'RED')
goto_if_false @TAXIODD_3652
51@ = 0
gosub @TAXIODD_4001
51@ += 1
gosub @TAXIODD_4229

:TAXIODD_3652
if 
  Char.IsInZone($stattreadstamina_ctr, 'FLINTC')
goto_if_false @TAXIODD_3719
51@ = 0
gosub @TAXIODD_3944
51@ += 1
gosub @TAXIODD_4001
51@ += 1
gosub @TAXIODD_4286

:TAXIODD_3719
if 
  Char.IsInZone($stattreadstamina_ctr, 'WHET')
goto_if_false @TAXIODD_3786
51@ = 0
gosub @TAXIODD_3944
51@ += 1
gosub @TAXIODD_4001
51@ += 1
gosub @TAXIODD_4286

:TAXIODD_3786
if 
  Char.IsInZone($stattreadstamina_ctr, 'ROBAD')
goto_if_false @TAXIODD_3825
51@ = 0
gosub @TAXIODD_4058

:TAXIODD_3825
if 
  Char.IsInZone($stattreadstamina_ctr, 'BONE')
goto_if_false @TAXIODD_3878
51@ = 0
gosub @TAXIODD_4058
51@ += 1
gosub @TAXIODD_4115

:TAXIODD_3878
134@ = 1
return 

:TAXIODD_3887
if 
  Blip.DoesExist(98@(51@,3i))
goto_if_false @TAXIODD_3916
Blip.Remove(98@(51@,3i))

:TAXIODD_3916
98@(51@,3i) = Blip.AddSpriteForCoord(2067.4, -1831.2, 13.5, RadarSprite.Spray)
return 

:TAXIODD_3944
if 
  Blip.DoesExist(98@(51@,3i))
goto_if_false @TAXIODD_3973
Blip.Remove(98@(51@,3i))

:TAXIODD_3973
98@(51@,3i) = Blip.AddSpriteForCoord(488.0, -1734.0, 34.4, RadarSprite.Spray)
return 

:TAXIODD_4001
if 
  Blip.DoesExist(98@(51@,3i))
goto_if_false @TAXIODD_4030
Blip.Remove(98@(51@,3i))

:TAXIODD_4030
98@(51@,3i) = Blip.AddSpriteForCoord(720.016, -454.625, 15.328, RadarSprite.Spray)
return 

:TAXIODD_4058
if 
  Blip.DoesExist(98@(51@,3i))
goto_if_false @TAXIODD_4087
Blip.Remove(98@(51@,3i))

:TAXIODD_4087
98@(51@,3i) = Blip.AddSpriteForCoord(-1420.547, 2583.945, 58.031, RadarSprite.Spray)
return 

:TAXIODD_4115
if 
  Blip.DoesExist(98@(51@,3i))
goto_if_false @TAXIODD_4144
Blip.Remove(98@(51@,3i))

:TAXIODD_4144
98@(51@,3i) = Blip.AddSpriteForCoord(1966.532, 2162.65, 10.995, RadarSprite.Spray)
return 

:TAXIODD_4172
if 
  Blip.DoesExist(98@(51@,3i))
goto_if_false @TAXIODD_4201
Blip.Remove(98@(51@,3i))

:TAXIODD_4201
98@(51@,3i) = Blip.AddSpriteForCoord(-2425.46, 1020.83, 49.39, RadarSprite.Spray)
return 

:TAXIODD_4229
if 
  Blip.DoesExist(98@(51@,3i))
goto_if_false @TAXIODD_4258
Blip.Remove(98@(51@,3i))

:TAXIODD_4258
98@(51@,3i) = Blip.AddSpriteForCoord(1021.8, -1018.7, 30.9, RadarSprite.Spray)
return 

:TAXIODD_4286
if 
  Blip.DoesExist(98@(51@,3i))
goto_if_false @TAXIODD_4315
Blip.Remove(98@(51@,3i))

:TAXIODD_4315
98@(51@,3i) = Blip.AddSpriteForCoord(-1908.9, 292.3, 40.0, RadarSprite.Spray)
return 
if 
  Blip.DoesExist(98@(51@,3i))
goto_if_false @TAXIODD_4372
Blip.Remove(98@(51@,3i))

:TAXIODD_4372
98@(51@,3i) = Blip.AddSpriteForCoord(-103.6, 1112.4, 18.7, RadarSprite.Spray)
return 

:TAXIODD_4400
if 
  is_int_lvar_greater_than_int_lvar 47@ > 102@
goto_if_false @TAXIODD_4515
if 
  136@ == 0
goto_if_false @TAXIODD_4483
Text.PrintNow('TX_NONE', 6000, 1)
set_lvar_int_to_lvar_int 102@ = 47@
102@ += 5000
137@ = 1
goto @TAXIODD_4515

:TAXIODD_4483
Text.PrintNow('TX_PKUP', 6000, 1)
set_lvar_int_to_lvar_int 102@ = 47@
102@ += 5000

:TAXIODD_4515
88@ = Zone.GetRandomChar('SAN_AND', True, False, True)
if 
  88@ == -1
goto_if_false @TAXIODD_4555
return 

:TAXIODD_4555
146@ += 1
if or
  Char.IsDead(88@)
  Char.IsInAnyCar(88@)
  Char.HasBeenDamagedByChar(88@, $stattreadstamina_ctr)
goto_if_false @TAXIODD_4605
Char.MarkAsNoLongerNeeded(88@)
146@ -= 1
return 

:TAXIODD_4605
94@ = Char.GetModel(88@)
if 
  is_int_lvar_equal_to_int_lvar 94@ == 95@
goto_if_false @TAXIODD_4646
Char.MarkAsNoLongerNeeded(88@)
146@ -= 1
return 

:TAXIODD_4646
58@, 59@, 60@ = Char.GetCoordinates(88@)
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 58@, 59@, 60@, 88.0, 88.0, 19.0, False)
goto_if_false @TAXIODD_4716
Char.MarkAsNoLongerNeeded(88@)
146@ -= 1
return 

:TAXIODD_4716
136@ = 1
if 
  137@ == 1
goto_if_false @TAXIODD_4780
Text.PrintNow('TX_PKUP', 6000, 1)
set_lvar_int_to_lvar_int 102@ = 47@
102@ += 5000
137@ = 0

:TAXIODD_4780
Char.ClearTasksImmediately(88@)
Char.SetDecisionMaker(88@, 101@)
Task.StandStill(88@, -2)
145@ = 0
gosub @TAXIODD_6156
if 
  Blip.DoesExist(96@)
goto_if_false @TAXIODD_4835
Blip.Remove(96@)

:TAXIODD_4835
96@ = Blip.AddForChar(88@)
Blip.SetAsFriendly(96@, True)
118@, 119@, 120@ = Char.GetCoordinates($stattreadstamina_ctr)
118@ += 4.0
119@ += 4.0
set_lvar_int_to_lvar_int 95@ = 94@
128@ = 1
return 

:TAXIODD_4901
if 
  128@ == 0
goto_if_false @TAXIODD_4921
return 

:TAXIODD_4921
if 
  is_int_lvar_greater_than_int_lvar 47@ > 102@
goto_if_false @TAXIODD_4972
Text.PrintNow('TX_PKUP', 6000, 1)
set_lvar_int_to_lvar_int 102@ = 47@
102@ += 5000

:TAXIODD_4972
83@ = 0
84@ = 1
if or
  Char.IsDead(88@)
  Char.HasBeenDamagedByChar(88@, $stattreadstamina_ctr)
goto_if_false @TAXIODD_5056
83@ = 1
84@ = 0
Text.PrintNow('TX_OOPS', 6000, 1)
set_lvar_int_to_lvar_int 102@ = 47@
102@ += 5000

:TAXIODD_5056
if 
  Car.IsDead(89@)
goto_if_false @TAXIODD_5079
83@ = 1

:TAXIODD_5079
if 
  83@ == 0
goto_if_false @TAXIODD_5123
if 
  not Char.IsInCar($stattreadstamina_ctr, 89@)
goto_if_false @TAXIODD_5123
83@ = 1

:TAXIODD_5123
if 
  83@ == 0
goto_if_false @TAXIODD_5169
58@, 59@, 60@ = Char.GetCoordinates($stattreadstamina_ctr)
61@, 62@, 63@ = Char.GetCoordinates(88@)

:TAXIODD_5169
if 
  83@ == 0
goto_if_false @TAXIODD_5236
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 61@, 62@, 63@, 90.0, 90.0, 20.0, False)
goto_if_false @TAXIODD_5236
83@ = 1

:TAXIODD_5236
if 
  83@ == 1
goto_if_false @TAXIODD_5383
if 
  84@ == 1
goto_if_false @TAXIODD_5279
102@ = 0

:TAXIODD_5279
128@ = 0
138@ = 0
Blip.Remove(96@)
if 
  133@ == 1
goto_if_false @TAXIODD_5330
39@ = 10
goto @TAXIODD_5337

:TAXIODD_5330
39@ = 1

:TAXIODD_5337
if 
  not Char.IsDead(88@)
goto_if_false @TAXIODD_5365
Char.ClearLookAt(88@)
gosub @TAXIODD_6399

:TAXIODD_5365
Char.MarkAsNoLongerNeeded(88@)
146@ -= 1
Hud.FreezeTimer(False)
return 

:TAXIODD_5383
if and
  Char.IsInCar($stattreadstamina_ctr, 89@)
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, 61@, 62@, 63@, 10.0, 10.0, 3.0, False)
goto_if_false @TAXIODD_5702
if 
  129@ == 0
goto_if_false @TAXIODD_5540
gosub @TAXIODD_3334
if 
  133@ == 1
goto_if_false @TAXIODD_5499
Text.PrintNow('TX_JUNK', 5000, 1)
goto @TAXIODD_5279

:TAXIODD_5499
gosub @TAXIODD_6399
set_lvar_int_to_lvar_int 107@ = 47@
107@ += 300
129@ = 1
Hud.FreezeTimer(True)
goto @TAXIODD_5693

:TAXIODD_5540
if 
  107@ > 0
goto_if_false @TAXIODD_5620
if 
  is_int_lvar_greater_than_int_lvar 47@ > 107@
goto_if_false @TAXIODD_5620
42@ = Char.GetScriptTaskStatus(88@, 2586)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @TAXIODD_5620
gosub @TAXIODD_6437
107@ = 0

:TAXIODD_5620
if 
  107@ == 0
goto_if_false @TAXIODD_5693
if 
  not Char.IsInCar(88@, 89@)
goto_if_false @TAXIODD_5693
42@ = Char.GetScriptTaskStatus(88@, 1482)
if 
  is_int_lvar_equal_to_constant 42@ == 7
goto_if_false @TAXIODD_5693
gosub @TAXIODD_6437

:TAXIODD_5693
return 
goto @TAXIODD_5815

:TAXIODD_5702
if 
  129@ == 1
goto_if_false @TAXIODD_5808
if 
  Char.IsInCar($stattreadstamina_ctr, 89@)
goto_if_false @TAXIODD_5806
if 
  not Char.LocateInCar3D($stattreadstamina_ctr, 61@, 62@, 63@, 10.0, 10.0, 3.0, False)
goto_if_false @TAXIODD_5806
gosub @TAXIODD_6156
Task.StandStill(88@, -2)
129@ = 0
Hud.FreezeTimer(False)

:TAXIODD_5806
return 

:TAXIODD_5808
107@ = 0

:TAXIODD_5815
if 
  not Char.IsInAnyCar(88@)
goto_if_false @TAXIODD_5877
42@ = Char.GetScriptTaskStatus(88@, 1471)
if and
  not is_int_lvar_equal_to_constant 42@ == 1
  not is_int_lvar_equal_to_constant 42@ == 0
goto_if_false @TAXIODD_5877
Task.LookAtChar(88@, $stattreadstamina_ctr, -2)

:TAXIODD_5877
if 
  not Char.IsInAnyCar(88@)
goto_if_false @TAXIODD_6056
42@ = Char.GetScriptTaskStatus(88@, 1492)
if and
  not is_int_lvar_equal_to_constant 42@ == 1
  not is_int_lvar_equal_to_constant 42@ == 0
goto_if_false @TAXIODD_6056
82@ = Math.GetDistanceBetweenCoords3D(58@, 59@, 60@, 118@, 119@, 120@)
if 
  82@ > 4.0
goto_if_false @TAXIODD_6056
set_lvar_float_to_lvar_float 74@ = 58@
set_lvar_float_to_lvar_float 75@ = 59@
set_lvar_float_to_lvar_float 77@ = 61@
set_lvar_float_to_lvar_float 78@ = 62@
set_lvar_float_to_lvar_float 58@ = 74@
sub_float_lvar_from_float_lvar 58@ -= 77@
set_lvar_float_to_lvar_float 59@ = 75@
sub_float_lvar_from_float_lvar 59@ -= 78@
73@ = Math.GetHeadingFromVector2D(58@, 59@)
Task.AchieveHeading(88@, 73@)

:TAXIODD_6056
if 
  145@ == 0
goto_if_false @TAXIODD_6154
if 
  129@ == 0
goto_if_false @TAXIODD_6154
82@ = Math.GetDistanceBetweenCoords3D(58@, 59@, 60@, 61@, 62@, 63@)
if 
  10.0 > 82@
goto_if_false @TAXIODD_6154
116@ = Char.SetSayContext(88@, 221)
145@ = 1

:TAXIODD_6154
return 

:TAXIODD_6156
140@ = 0
gosub @TAXIODD_6502
141@ = 0
gosub @TAXIODD_6632
83@ = 0
if 
  140@ == 1
goto_if_false @TAXIODD_6255
if 
  141@ == 1
goto_if_false @TAXIODD_6241
83@ = 0
goto @TAXIODD_6248

:TAXIODD_6241
83@ = 1

:TAXIODD_6248
goto @TAXIODD_6294

:TAXIODD_6255
if 
  141@ == 1
goto_if_false @TAXIODD_6287
83@ = 1
goto @TAXIODD_6294

:TAXIODD_6287
83@ = 0

:TAXIODD_6294
if 
  83@ == 1
goto_if_false @TAXIODD_6359
Task.PlayAnimSecondary(88@, "HIKER_POSE_L", "MISC", 4.0, False, False, False, True, -1)
goto @TAXIODD_6397

:TAXIODD_6359
Task.PlayAnimSecondary(88@, "HIKER_POSE", "MISC", 4.0, False, False, False, True, -1)

:TAXIODD_6397
return 

:TAXIODD_6399
Task.PlayAnimSecondary(88@, "ROADCROSS", "PED", 4.0, False, False, False, False, 100)
return 

:TAXIODD_6437
140@ = 0
gosub @TAXIODD_6502
if 
  140@ == 1
goto_if_false @TAXIODD_6488
Task.EnterCarAsPassenger(88@, 89@, -2, 2)
goto @TAXIODD_6500

:TAXIODD_6488
Task.EnterCarAsPassenger(88@, 89@, -2, 1)

:TAXIODD_6500
return 

:TAXIODD_6502
58@, 59@, 60@ = Char.GetCoordinates(88@)
61@, 62@, 63@ = Object.GetCoordinates(92@)
64@, 65@, 66@ = Object.GetCoordinates(93@)
80@ = Math.GetDistanceBetweenCoords3D(58@, 59@, 60@, 61@, 62@, 63@)
81@ = Math.GetDistanceBetweenCoords3D(58@, 59@, 60@, 64@, 65@, 66@)
if 
  is_float_lvar_greater_than_float_lvar 81@ > 80@
goto_if_false @TAXIODD_6623
140@ = 0
goto @TAXIODD_6630

:TAXIODD_6623
140@ = 1

:TAXIODD_6630
return 

:TAXIODD_6632
58@, 59@, 60@ = Char.GetCoordinates(88@)
61@, 62@, 63@ = Object.GetCoordinates(90@)
64@, 65@, 66@ = Object.GetCoordinates(91@)
80@ = Math.GetDistanceBetweenCoords3D(58@, 59@, 60@, 61@, 62@, 63@)
81@ = Math.GetDistanceBetweenCoords3D(58@, 59@, 60@, 64@, 65@, 66@)
if 
  is_float_lvar_greater_than_float_lvar 81@ > 80@
goto_if_false @TAXIODD_6753
141@ = 1
goto @TAXIODD_6760

:TAXIODD_6753
141@ = 0

:TAXIODD_6760
return 

:TAXIODD_6762
if 
  132@ == 0
goto_if_false @TAXIODD_6782
return 

:TAXIODD_6782
if 
  is_int_lvar_greater_than_int_lvar 47@ > 104@
goto_if_false @TAXIODD_6822
Hud.ClearCounter($8204)
132@ = 0
$8204 = 0
return 

:TAXIODD_6822
51@ = Car.GetHealth(89@)
if 
  is_int_lvar_greater_than_int_lvar 51@ > 117@
goto_if_false @TAXIODD_6864
set_lvar_int_to_lvar_int 117@ = 51@
goto @TAXIODD_6923

:TAXIODD_6864
if 
  is_int_lvar_greater_than_int_lvar 117@ > 51@
goto_if_false @TAXIODD_6923
set_lvar_int_to_lvar_int 52@ = 117@
sub_int_lvar_from_int_lvar 52@ -= 51@
set_lvar_int_to_lvar_int 117@ = 51@
52@ *= 180
sub_int_lvar_from_int_lvar 104@ -= 52@

:TAXIODD_6923
set_lvar_int_to_lvar_int 51@ = 104@
sub_int_lvar_from_int_lvar 51@ -= 103@
set_lvar_int_to_lvar_int 52@ = 47@
sub_int_lvar_from_int_lvar 52@ -= 103@
set_var_int_to_lvar_int $8204 = 51@
sub_int_lvar_from_int_var $8204 -= 52@
$8204 *= 100
div_int_var_by_int_lvar $8204 /= 51@
if 
  0 > $8204
goto_if_false @TAXIODD_7011
$8204 = 0

:TAXIODD_7011
return 

:TAXIODD_7013
if 
  Char.IsDead(88@)
goto_if_false @TAXIODD_7031
return 

:TAXIODD_7031
set_lvar_int_to_lvar_int 112@ = 113@
113@ = 0
110@ = -1
gosub @TAXIODD_7654
58@, 59@, 60@ = Char.GetCoordinates(88@)
set_lvar_float_to_lvar_float 67@ = 58@
sub_float_lvar_from_float_lvar 67@ -= 121@
set_lvar_float_to_lvar_float 68@ = 59@
sub_float_lvar_from_float_lvar 68@ -= 122@
set_lvar_float_to_lvar_float 70@ = 67@
mult_float_lvar_by_float_lvar 70@ *= 67@
set_lvar_float_to_lvar_float 71@ = 68@
mult_float_lvar_by_float_lvar 71@ *= 68@
set_lvar_float_to_lvar_float 80@ = 70@
add_float_lvar_to_float_lvar 80@ += 71@
81@ = Math.Sqrt(80@)
cset_lvar_int_to_lvar_float 111@ =# 81@
if 
  200 > 111@
goto_if_false @TAXIODD_7196
goto @TAXIODD_7013

:TAXIODD_7196
set_lvar_int_to_lvar_int 51@ = 111@
if 
  $Taxiodd_view_debug == 0
goto_if_false @TAXIODD_7229
51@ *= 100

:TAXIODD_7229
if 
  $Taxiodd_view_debug == 1
goto_if_false @TAXIODD_7254
51@ *= 95

:TAXIODD_7254
if 
  $Taxiodd_view_debug == 2
goto_if_false @TAXIODD_7279
51@ *= 80

:TAXIODD_7279
if 
  $Taxiodd_view_debug == 3
goto_if_false @TAXIODD_7304
51@ *= 79

:TAXIODD_7304
if 
  $Taxiodd_view_debug == 4
goto_if_false @TAXIODD_7329
51@ *= 78

:TAXIODD_7329
if 
  $Taxiodd_view_debug == 5
goto_if_false @TAXIODD_7354
51@ *= 76

:TAXIODD_7354
if and
  $Taxiodd_view_debug > 5
  10 >= $Taxiodd_view_debug
goto_if_false @TAXIODD_7386
51@ *= 75

:TAXIODD_7386
if and
  $Taxiodd_view_debug > 10
  20 >= $Taxiodd_view_debug
goto_if_false @TAXIODD_7418
51@ *= 70

:TAXIODD_7418
if and
  $Taxiodd_view_debug > 20
  50 >= $Taxiodd_view_debug
goto_if_false @TAXIODD_7450
51@ *= 65

:TAXIODD_7450
if 
  $Taxiodd_view_debug > 50
goto_if_false @TAXIODD_7475
51@ *= 60

:TAXIODD_7475
add_int_lvar_to_int_var $8203 += 51@
set_lvar_int_to_lvar_int 52@ = 112@
52@ *= 500
add_int_lvar_to_int_var $8203 += 52@
add_int_lvar_to_int_lvar 51@ += 52@
set_lvar_int_to_lvar_int 52@ = 113@
52@ *= 1000
add_int_lvar_to_int_var $8203 += 52@
add_int_lvar_to_int_lvar 51@ += 52@
set_lvar_int_to_lvar_int 103@ = 47@
set_lvar_int_to_lvar_int 104@ = 51@
104@ *= 95
104@ /= 100
add_int_lvar_to_int_lvar 104@ += 47@
$8204 = 0
Hud.DisplayNthCounterWithString($8204, CounterDisplay.Bar, 3, 'TX_ADDS')
132@ = 1
if 
  Blip.DoesExist(97@)
goto_if_false @TAXIODD_7638
Blip.Remove(97@)

:TAXIODD_7638
97@ = Blip.AddForCoord(121@, 122@, 123@)
return 

:TAXIODD_7654
if 
  Char.IsInZone($stattreadstamina_ctr, 'LA')
goto_if_false @TAXIODD_7686
gosub @TAXIODD_8391

:TAXIODD_7686
if 
  Char.IsInZone($stattreadstamina_ctr, 'VE')
goto_if_false @TAXIODD_7718
gosub @TAXIODD_10647

:TAXIODD_7718
if 
  Char.IsInZone($stattreadstamina_ctr, 'SF')
goto_if_false @TAXIODD_7750
gosub @TAXIODD_13590

:TAXIODD_7750
if 
  Char.IsInZone($stattreadstamina_ctr, 'RED')
goto_if_false @TAXIODD_7875
51@ = Math.RandomIntInRange(0, 2)
switch_start 51@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @TAXIODD_7875 {caseNum1} 0 {caseLabel1} @TAXIODD_7847 {caseNum2} 1 {caseLabel2} @TAXIODD_7861 {caseNum3} -1 {caseLabel3} @TAXIODD_7875 {caseNum4} -1 {caseLabel4} @TAXIODD_7875 {caseNum5} -1 {caseLabel5} @TAXIODD_7875 {caseNum6} -1 {caseLabel6} @TAXIODD_7875 {caseNum7} -1 {caseLabel7} @TAXIODD_7875

:TAXIODD_7847
gosub @TAXIODD_15447
goto @TAXIODD_7875

:TAXIODD_7861
gosub @TAXIODD_8391
goto @TAXIODD_7875

:TAXIODD_7875
if 
  Char.IsInZone($stattreadstamina_ctr, 'FLINTC')
goto_if_false @TAXIODD_8014
51@ = Math.RandomIntInRange(0, 3)
switch_start 51@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @TAXIODD_8014 {caseNum1} 0 {caseLabel1} @TAXIODD_7972 {caseNum2} 1 {caseLabel2} @TAXIODD_7986 {caseNum3} 2 {caseLabel3} @TAXIODD_8000 {caseNum4} -1 {caseLabel4} @TAXIODD_8014 {caseNum5} -1 {caseLabel5} @TAXIODD_8014 {caseNum6} -1 {caseLabel6} @TAXIODD_8014 {caseNum7} -1 {caseLabel7} @TAXIODD_8014

:TAXIODD_7972
gosub @TAXIODD_15545
goto @TAXIODD_8014

:TAXIODD_7986
gosub @TAXIODD_8391
goto @TAXIODD_8014

:TAXIODD_8000
gosub @TAXIODD_13590
goto @TAXIODD_8014

:TAXIODD_8014
if 
  Char.IsInZone($stattreadstamina_ctr, 'WHET')
goto_if_false @TAXIODD_8139
51@ = Math.RandomIntInRange(0, 2)
switch_start 51@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @TAXIODD_8139 {caseNum1} 0 {caseLabel1} @TAXIODD_8111 {caseNum2} 1 {caseLabel2} @TAXIODD_8125 {caseNum3} -1 {caseLabel3} @TAXIODD_8139 {caseNum4} -1 {caseLabel4} @TAXIODD_8139 {caseNum5} -1 {caseLabel5} @TAXIODD_8139 {caseNum6} -1 {caseLabel6} @TAXIODD_8139 {caseNum7} -1 {caseLabel7} @TAXIODD_8139

:TAXIODD_8111
gosub @TAXIODD_15645
goto @TAXIODD_8139

:TAXIODD_8125
gosub @TAXIODD_13590
goto @TAXIODD_8139

:TAXIODD_8139
if 
  Char.IsInZone($stattreadstamina_ctr, 'ROBAD')
goto_if_false @TAXIODD_8264
51@ = Math.RandomIntInRange(0, 2)
switch_start 51@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @TAXIODD_8264 {caseNum1} 0 {caseLabel1} @TAXIODD_8236 {caseNum2} 1 {caseLabel2} @TAXIODD_8250 {caseNum3} -1 {caseLabel3} @TAXIODD_8264 {caseNum4} -1 {caseLabel4} @TAXIODD_8264 {caseNum5} -1 {caseLabel5} @TAXIODD_8264 {caseNum6} -1 {caseLabel6} @TAXIODD_8264 {caseNum7} -1 {caseLabel7} @TAXIODD_8264

:TAXIODD_8236
gosub @TAXIODD_15742
goto @TAXIODD_8264

:TAXIODD_8250
gosub @TAXIODD_13590
goto @TAXIODD_8264

:TAXIODD_8264
if 
  Char.IsInZone($stattreadstamina_ctr, 'BONE')
goto_if_false @TAXIODD_8389
51@ = Math.RandomIntInRange(0, 2)
switch_start 51@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @TAXIODD_8389 {caseNum1} 0 {caseLabel1} @TAXIODD_8361 {caseNum2} 1 {caseLabel2} @TAXIODD_8375 {caseNum3} -1 {caseLabel3} @TAXIODD_8389 {caseNum4} -1 {caseLabel4} @TAXIODD_8389 {caseNum5} -1 {caseLabel5} @TAXIODD_8389 {caseNum6} -1 {caseLabel6} @TAXIODD_8389 {caseNum7} -1 {caseLabel7} @TAXIODD_8389

:TAXIODD_8361
gosub @TAXIODD_16082
goto @TAXIODD_8389

:TAXIODD_8375
gosub @TAXIODD_10647
goto @TAXIODD_8389

:TAXIODD_8389
return 

:TAXIODD_8391
if 
  34@ == 1
goto_if_false @TAXIODD_8431
set_lvar_int_to_lvar_int 110@ = 148@
110@ += 1
goto @TAXIODD_8440

:TAXIODD_8431
110@ = Math.RandomIntInRange(1, 35)

:TAXIODD_8440
switch_start 110@ {numCases} 34 {hasDefaultCase} 1 {defaultLabel} @TAXIODD_10528 {caseNum1} 1 {caseLabel1} @TAXIODD_8698 {caseNum2} 2 {caseLabel2} @TAXIODD_8751 {caseNum3} 3 {caseLabel3} @TAXIODD_8804 {caseNum4} 4 {caseLabel4} @TAXIODD_8857 {caseNum5} 5 {caseLabel5} @TAXIODD_8910 {caseNum6} 6 {caseLabel6} @TAXIODD_8963 {caseNum7} 7 {caseLabel7} @TAXIODD_9016
switch_continued 8 {caseLabel1} @TAXIODD_9069 {caseNum2} 9 {caseLabel2} @TAXIODD_9122 {caseNum3} 10 {caseLabel3} @TAXIODD_9175 {caseNum4} 11 {caseLabel4} @TAXIODD_9228 {caseNum5} 12 {caseLabel5} @TAXIODD_9281 {caseNum6} 13 {caseLabel6} @TAXIODD_9334 {caseNum7} 14 {caseLabel7} @TAXIODD_9387 {caseNum8} 15 {caseLabel8} @TAXIODD_9440 {caseNum9} 16 {caseLabel9} @TAXIODD_9493
switch_continued 17 {caseLabel1} @TAXIODD_9546 {caseNum2} 18 {caseLabel2} @TAXIODD_9606 {caseNum3} 19 {caseLabel3} @TAXIODD_9666 {caseNum4} 20 {caseLabel4} @TAXIODD_9726 {caseNum5} 21 {caseLabel5} @TAXIODD_9779 {caseNum6} 22 {caseLabel6} @TAXIODD_9832 {caseNum7} 23 {caseLabel7} @TAXIODD_9885 {caseNum8} 24 {caseLabel8} @TAXIODD_9938 {caseNum9} 25 {caseLabel9} @TAXIODD_9991
switch_continued 26 {caseLabel1} @TAXIODD_10044 {caseNum2} 27 {caseLabel2} @TAXIODD_10097 {caseNum3} 28 {caseLabel3} @TAXIODD_10150 {caseNum4} 29 {caseLabel4} @TAXIODD_10203 {caseNum5} 30 {caseLabel5} @TAXIODD_10263 {caseNum6} 31 {caseLabel6} @TAXIODD_10316 {caseNum7} 32 {caseLabel7} @TAXIODD_10369 {caseNum8} 33 {caseLabel8} @TAXIODD_10422 {caseNum9} 34 {caseLabel9} @TAXIODD_10475

:TAXIODD_8698
Text.PrintNow('TX_LS1', 5000, 1)
121@ = 2468.146
122@ = -1736.184
123@ = 12.3828
goto @TAXIODD_10645

:TAXIODD_8751
Text.PrintNow('TX_LS2', 5000, 1)
121@ = 2794.0
122@ = -1828.0
123@ = 10.0
goto @TAXIODD_10645

:TAXIODD_8804
Text.PrintNow('TX_LS3', 5000, 1)
121@ = 1884.193
122@ = -1257.521
123@ = 12.3984
goto @TAXIODD_10645

:TAXIODD_8857
Text.PrintNow('TX_LS4', 5000, 1)
121@ = 2317.48
122@ = -1386.604
123@ = 22.8784
goto @TAXIODD_10645

:TAXIODD_8910
Text.PrintNow('TX_LS5', 5000, 1)
121@ = 2237.76
122@ = -1304.165
123@ = 22.8488
goto @TAXIODD_10645

:TAXIODD_8963
Text.PrintNow('TX_LS6', 5000, 1)
121@ = 2221.087
122@ = -1137.332
123@ = 24.625
goto @TAXIODD_10645

:TAXIODD_9016
Text.PrintNow('TX_LS7', 5000, 1)
121@ = 2146.737
122@ = -1179.795
123@ = 22.8278
goto @TAXIODD_10645

:TAXIODD_9069
Text.PrintNow('TX_LS8', 5000, 1)
121@ = 2075.558
122@ = -1202.793
123@ = 22.7571
goto @TAXIODD_10645

:TAXIODD_9122
Text.PrintNow('TX_LS9', 5000, 1)
121@ = 2320.0
122@ = -1655.0
123@ = 14.0
goto @TAXIODD_10645

:TAXIODD_9175
Text.PrintNow('TX_LS10', 5000, 1)
121@ = 2455.0
122@ = -1502.0
123@ = 24.0
goto @TAXIODD_10645

:TAXIODD_9228
Text.PrintNow('TX_LS11', 5000, 1)
121@ = 2181.0
122@ = -1771.0
123@ = 13.0
goto @TAXIODD_10645

:TAXIODD_9281
Text.PrintNow('TX_LS12', 5000, 1)
121@ = 2084.731
122@ = -1800.86
123@ = 12.3828
goto @TAXIODD_10645

:TAXIODD_9334
Text.PrintNow('TX_LS13', 5000, 1)
121@ = 2078.015
122@ = -1791.589
123@ = 12.3828
goto @TAXIODD_10645

:TAXIODD_9387
Text.PrintNow('TX_LS14', 5000, 1)
121@ = 2081.287
122@ = -1779.5
123@ = 12.3828
goto @TAXIODD_10645

:TAXIODD_9440
Text.PrintNow('TX_LS15', 5000, 1)
121@ = 2418.542
122@ = -2085.119
123@ = 12.2928
goto @TAXIODD_10645

:TAXIODD_9493
Text.PrintNow('TX_LS16', 5000, 1)
121@ = 1742.689
122@ = -1858.697
123@ = 12.4185
goto @TAXIODD_10645

:TAXIODD_9546
Text.PrintNow('TX_LS17', 5000, 1)
121@ = 1668.0
122@ = -2253.0
123@ = 13.0
113@ = 40
goto @TAXIODD_10645

:TAXIODD_9606
Text.PrintNow('TX_LS18', 5000, 1)
121@ = 1432.198
122@ = -2274.648
123@ = 12.3906
113@ = 30
goto @TAXIODD_10645

:TAXIODD_9666
Text.PrintNow('TX_LS19', 5000, 1)
121@ = 1256.0
122@ = -2028.0
123@ = 60.0
113@ = 30
goto @TAXIODD_10645

:TAXIODD_9726
Text.PrintNow('TX_LS20', 5000, 1)
121@ = 1532.789
122@ = -1675.442
123@ = 12.3828
goto @TAXIODD_10645

:TAXIODD_9779
Text.PrintNow('TX_LS21', 5000, 1)
121@ = 1472.35
122@ = -1729.706
123@ = 12.3828
goto @TAXIODD_10645

:TAXIODD_9832
Text.PrintNow('TX_LS22', 5000, 1)
121@ = 1855.419
122@ = -1383.273
123@ = 12.3984
goto @TAXIODD_10645

:TAXIODD_9885
Text.PrintNow('TX_LS23', 5000, 1)
121@ = 2025.0
122@ = -1413.0
123@ = 17.0
goto @TAXIODD_10645

:TAXIODD_9938
Text.PrintNow('TX_LS24', 5000, 1)
121@ = 1361.218
122@ = -1277.904
123@ = 12.3828
goto @TAXIODD_10645

:TAXIODD_9991
Text.PrintNow('TX_LS25', 5000, 1)
121@ = 1192.0
122@ = -1324.0
123@ = 13.0
goto @TAXIODD_10645

:TAXIODD_10044
Text.PrintNow('TX_LS26', 5000, 1)
121@ = 1031.066
122@ = -1329.704
123@ = 12.3861
goto @TAXIODD_10645

:TAXIODD_10097
Text.PrintNow('TX_LS27', 5000, 1)
121@ = 814.0
122@ = -1330.0
123@ = 13.0
goto @TAXIODD_10645

:TAXIODD_10150
Text.PrintNow('TX_LS28', 5000, 1)
121@ = 667.7637
122@ = -1265.69
123@ = 12.4687
goto @TAXIODD_10645

:TAXIODD_10203
Text.PrintNow('TX_LS29', 5000, 1)
121@ = 368.1992
122@ = -2042.537
123@ = 6.6582
113@ = 30
goto @TAXIODD_10645

:TAXIODD_10263
Text.PrintNow('TX_LS30', 5000, 1)
121@ = 152.5806
122@ = -1754.831
123@ = 3.9518
goto @TAXIODD_10645

:TAXIODD_10316
Text.PrintNow('TX_LS31', 5000, 1)
121@ = 508.2797
122@ = -1358.598
123@ = 14.9532
goto @TAXIODD_10645

:TAXIODD_10369
Text.PrintNow('TX_LS32', 5000, 1)
121@ = 1199.846
122@ = -933.0658
123@ = 41.7332
goto @TAXIODD_10645

:TAXIODD_10422
Text.PrintNow('TX_LS33', 5000, 1)
121@ = 816.2869
122@ = -1630.762
123@ = 12.3906
goto @TAXIODD_10645

:TAXIODD_10475
Text.PrintNow('TX_LS34', 5000, 1)
121@ = 1311.97
122@ = -1712.289
123@ = 12.3906
goto @TAXIODD_10645

:TAXIODD_10528
if 
  34@ == 1
goto_if_false @TAXIODD_10553
110@ = 0

:TAXIODD_10553
write_debug "UNKNOWN_LOS_SANTOS_TAXI_DESTINATION"
Text.PrintNow('TX_LS1', 5000, 1)
121@ = 2468.146
122@ = -1736.184
123@ = 12.3828
goto @TAXIODD_10645

:TAXIODD_10645
return 

:TAXIODD_10647
if 
  34@ == 1
goto_if_false @TAXIODD_10687
set_lvar_int_to_lvar_int 110@ = 148@
110@ += 1
goto @TAXIODD_10696

:TAXIODD_10687
110@ = Math.RandomIntInRange(1, 46)

:TAXIODD_10696
switch_start 110@ {numCases} 45 {hasDefaultCase} 1 {defaultLabel} @TAXIODD_13469 {caseNum1} 1 {caseLabel1} @TAXIODD_11084 {caseNum2} 2 {caseLabel2} @TAXIODD_11137 {caseNum3} 3 {caseLabel3} @TAXIODD_11190 {caseNum4} 4 {caseLabel4} @TAXIODD_11243 {caseNum5} 5 {caseLabel5} @TAXIODD_11296 {caseNum6} 6 {caseLabel6} @TAXIODD_11349 {caseNum7} 7 {caseLabel7} @TAXIODD_11402
switch_continued 8 {caseLabel1} @TAXIODD_11455 {caseNum2} 9 {caseLabel2} @TAXIODD_11508 {caseNum3} 10 {caseLabel3} @TAXIODD_11561 {caseNum4} 11 {caseLabel4} @TAXIODD_11614 {caseNum5} 12 {caseLabel5} @TAXIODD_11667 {caseNum6} 13 {caseLabel6} @TAXIODD_11720 {caseNum7} 14 {caseLabel7} @TAXIODD_11773 {caseNum8} 15 {caseLabel8} @TAXIODD_11826 {caseNum9} 16 {caseLabel9} @TAXIODD_11879
switch_continued 17 {caseLabel1} @TAXIODD_11932 {caseNum2} 18 {caseLabel2} @TAXIODD_11985 {caseNum3} 19 {caseLabel3} @TAXIODD_12038 {caseNum4} 20 {caseLabel4} @TAXIODD_12091 {caseNum5} 21 {caseLabel5} @TAXIODD_12144 {caseNum6} 22 {caseLabel6} @TAXIODD_12197 {caseNum7} 23 {caseLabel7} @TAXIODD_12250 {caseNum8} 24 {caseLabel8} @TAXIODD_12303 {caseNum9} 25 {caseLabel9} @TAXIODD_12356
switch_continued 26 {caseLabel1} @TAXIODD_12409 {caseNum2} 27 {caseLabel2} @TAXIODD_12462 {caseNum3} 28 {caseLabel3} @TAXIODD_12515 {caseNum4} 29 {caseLabel4} @TAXIODD_12568 {caseNum5} 30 {caseLabel5} @TAXIODD_12621 {caseNum6} 31 {caseLabel6} @TAXIODD_12674 {caseNum7} 32 {caseLabel7} @TAXIODD_12727 {caseNum8} 33 {caseLabel8} @TAXIODD_12780 {caseNum9} 34 {caseLabel9} @TAXIODD_12833
switch_continued 35 {caseLabel1} @TAXIODD_12886 {caseNum2} 36 {caseLabel2} @TAXIODD_12939 {caseNum3} 37 {caseLabel3} @TAXIODD_12992 {caseNum4} 38 {caseLabel4} @TAXIODD_13045 {caseNum5} 39 {caseLabel5} @TAXIODD_13098 {caseNum6} 40 {caseLabel6} @TAXIODD_13151 {caseNum7} 41 {caseLabel7} @TAXIODD_13204 {caseNum8} 42 {caseLabel8} @TAXIODD_13257 {caseNum9} 43 {caseLabel9} @TAXIODD_13310
switch_continued 44 {caseLabel1} @TAXIODD_13363 {caseNum2} 45 {caseLabel2} @TAXIODD_13416 {caseNum3} -1 {caseLabel3} @TAXIODD_13588 {caseNum4} -1 {caseLabel4} @TAXIODD_13588 {caseNum5} -1 {caseLabel5} @TAXIODD_13588 {caseNum6} -1 {caseLabel6} @TAXIODD_13588 {caseNum7} -1 {caseLabel7} @TAXIODD_13588 {caseNum8} -1 {caseLabel8} @TAXIODD_13588 {caseNum9} -1 {caseLabel9} @TAXIODD_13588

:TAXIODD_11084
Text.PrintNow('TX_VE1', 5000, 1)
121@ = 2491.378
122@ = 2773.608
123@ = 9.764
goto @TAXIODD_13588

:TAXIODD_11137
Text.PrintNow('TX_VE2', 5000, 1)
121@ = 2899.211
122@ = 2435.624
123@ = 9.764
goto @TAXIODD_13588

:TAXIODD_11190
Text.PrintNow('TX_VE3', 5000, 1)
121@ = 2220.495
122@ = 1838.497
123@ = 9.764
goto @TAXIODD_13588

:TAXIODD_11243
Text.PrintNow('TX_VE4', 5000, 1)
121@ = 2246.202
122@ = 1896.591
123@ = 9.764
goto @TAXIODD_13588

:TAXIODD_11296
Text.PrintNow('TX_VE5', 5000, 1)
121@ = 2127.307
122@ = 2355.785
123@ = 9.764
goto @TAXIODD_13588

:TAXIODD_11349
Text.PrintNow('TX_VE6', 5000, 1)
121@ = 2289.589
122@ = 2415.939
123@ = 9.7773
goto @TAXIODD_13588

:TAXIODD_11402
Text.PrintNow('TX_VE7', 5000, 1)
121@ = 2636.223
122@ = 2344.803
123@ = 9.764
goto @TAXIODD_13588

:TAXIODD_11455
Text.PrintNow('TX_VE8', 5000, 1)
121@ = 1439.0
122@ = 754.0
123@ = 9.764
goto @TAXIODD_13588

:TAXIODD_11508
Text.PrintNow('TX_VE9', 5000, 1)
121@ = 1095.619
122@ = 1375.292
123@ = 9.7977
goto @TAXIODD_13588

:TAXIODD_11561
Text.PrintNow('TX_VE10', 5000, 1)
121@ = 1162.077
122@ = 1124.441
123@ = 9.8125
goto @TAXIODD_13588

:TAXIODD_11614
Text.PrintNow('TX_VE11', 5000, 1)
121@ = 1710.624
122@ = 1448.153
123@ = 9.6643
goto @TAXIODD_13588

:TAXIODD_11667
Text.PrintNow('TX_VE12', 5000, 1)
121@ = 2490.384
122@ = 2771.702
123@ = 9.7964
goto @TAXIODD_13588

:TAXIODD_11720
Text.PrintNow('TX_VE13', 5000, 1)
121@ = 1465.187
122@ = 2773.965
123@ = 9.6875
goto @TAXIODD_13588

:TAXIODD_11773
Text.PrintNow('TX_VE14', 5000, 1)
121@ = 1436.145
122@ = 2670.385
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_11826
Text.PrintNow('TX_VE15', 5000, 1)
121@ = 1486.472
122@ = 2257.945
123@ = 9.8128
goto @TAXIODD_13588

:TAXIODD_11879
Text.PrintNow('TX_VE16', 5000, 1)
121@ = 1694.188
122@ = 2200.378
123@ = 9.8203
goto @TAXIODD_13588

:TAXIODD_11932
Text.PrintNow('TX_VE17', 5000, 1)
121@ = 1744.656
122@ = 2055.81
123@ = 9.7309
goto @TAXIODD_13588

:TAXIODD_11985
Text.PrintNow('TX_VE18', 5000, 1)
121@ = 1840.554
122@ = 2169.654
123@ = 9.801
goto @TAXIODD_13588

:TAXIODD_12038
Text.PrintNow('TX_VE19', 5000, 1)
121@ = 1928.357
122@ = 2434.31
123@ = 9.813
goto @TAXIODD_13588

:TAXIODD_12091
Text.PrintNow('TX_VE20', 5000, 1)
121@ = 2424.123
122@ = 2315.745
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_12144
Text.PrintNow('TX_VE21', 5000, 1)
121@ = 2431.154
122@ = 2375.061
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_12197
Text.PrintNow('TX_VE22', 5000, 1)
121@ = 2370.298
122@ = 2467.925
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_12250
Text.PrintNow('TX_VE23', 5000, 1)
121@ = 2272.043
122@ = 2286.755
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_12303
Text.PrintNow('TX_VE24', 5000, 1)
121@ = 2324.513
122@ = 2155.099
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_12356
Text.PrintNow('TX_VE25', 5000, 1)
121@ = 2508.472
122@ = 2131.205
123@ = 9.8125
goto @TAXIODD_13588

:TAXIODD_12409
Text.PrintNow('TX_VE26', 5000, 1)
121@ = 2530.914
122@ = 2083.355
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_12462
Text.PrintNow('TX_VE27', 5000, 1)
121@ = 2546.51
122@ = 1968.607
123@ = 9.8125
goto @TAXIODD_13588

:TAXIODD_12515
Text.PrintNow('TX_VE28', 5000, 1)
121@ = 2530.781
122@ = 1821.228
123@ = 9.8129
goto @TAXIODD_13588

:TAXIODD_12568
Text.PrintNow('TX_VE29', 5000, 1)
121@ = 2360.313
122@ = 2071.996
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_12621
Text.PrintNow('TX_VE30', 5000, 1)
121@ = 2035.457
122@ = 1912.279
123@ = 11.1768
goto @TAXIODD_13588

:TAXIODD_12674
Text.PrintNow('TX_VE31', 5000, 1)
121@ = 2078.414
122@ = 2041.116
123@ = 9.8203
goto @TAXIODD_13588

:TAXIODD_12727
Text.PrintNow('TX_VE32', 5000, 1)
121@ = 2159.09
122@ = 1678.112
123@ = 9.6953
goto @TAXIODD_13588

:TAXIODD_12780
Text.PrintNow('TX_VE33', 5000, 1)
121@ = 2028.496
122@ = 1711.744
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_12833
Text.PrintNow('TX_VE34', 5000, 1)
121@ = 2076.406
122@ = 1519.038
123@ = 9.6875
goto @TAXIODD_13588

:TAXIODD_12886
Text.PrintNow('TX_VE35', 5000, 1)
121@ = 2040.251
122@ = 1342.891
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_12939
Text.PrintNow('TX_VE36', 5000, 1)
121@ = 2230.47
122@ = 1284.891
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_12992
Text.PrintNow('TX_VE37', 5000, 1)
121@ = 2074.51
122@ = 1162.833
123@ = 9.6875
goto @TAXIODD_13588

:TAXIODD_13045
Text.PrintNow('TX_VE38', 5000, 1)
121@ = 2039.257
122@ = 1174.172
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_13098
Text.PrintNow('TX_VE39', 5000, 1)
121@ = 2040.284
122@ = 1005.619
123@ = 9.6645
goto @TAXIODD_13588

:TAXIODD_13151
Text.PrintNow('TX_VE40', 5000, 1)
121@ = 1608.522
122@ = 1827.752
123@ = 9.8281
goto @TAXIODD_13588

:TAXIODD_13204
Text.PrintNow('TX_VE41', 5000, 1)
121@ = 2483.514
122@ = 922.5383
123@ = 9.8203
goto @TAXIODD_13588

:TAXIODD_13257
Text.PrintNow('TX_VE42', 5000, 1)
121@ = 2544.668
122@ = 1016.168
123@ = 9.7593
goto @TAXIODD_13588

:TAXIODD_13310
Text.PrintNow('TX_VE43', 5000, 1)
121@ = 2491.765
122@ = 1533.687
123@ = 9.6875
goto @TAXIODD_13588

:TAXIODD_13363
Text.PrintNow('TX_VE44', 5000, 1)
121@ = 2828.649
122@ = 1292.268
123@ = 9.8281
goto @TAXIODD_13588

:TAXIODD_13416
Text.PrintNow('TX_VE45', 5000, 1)
121@ = 2524.493
122@ = 2297.584
123@ = 9.6797
goto @TAXIODD_13588

:TAXIODD_13469
if 
  34@ == 1
goto_if_false @TAXIODD_13494
110@ = 0

:TAXIODD_13494
write_debug "UNKNOWN_LAS_VENTURAS_TAXI_DESTINATION"
Text.PrintNow('TX_VE1', 5000, 1)
121@ = 2491.378
122@ = 2773.608
123@ = 9.764
goto @TAXIODD_13588

:TAXIODD_13588
return 

:TAXIODD_13590
if 
  34@ == 1
goto_if_false @TAXIODD_13630
set_lvar_int_to_lvar_int 110@ = 148@
110@ += 1
goto @TAXIODD_13639

:TAXIODD_13630
110@ = Math.RandomIntInRange(1, 28)

:TAXIODD_13639
switch_start 110@ {numCases} 27 {hasDefaultCase} 1 {defaultLabel} @TAXIODD_15328 {caseNum1} 1 {caseLabel1} @TAXIODD_13897 {caseNum2} 2 {caseLabel2} @TAXIODD_13950 {caseNum3} 3 {caseLabel3} @TAXIODD_14003 {caseNum4} 4 {caseLabel4} @TAXIODD_14056 {caseNum5} 5 {caseLabel5} @TAXIODD_14109 {caseNum6} 6 {caseLabel6} @TAXIODD_14162 {caseNum7} 7 {caseLabel7} @TAXIODD_14215
switch_continued 8 {caseLabel1} @TAXIODD_14268 {caseNum2} 9 {caseLabel2} @TAXIODD_14321 {caseNum3} 10 {caseLabel3} @TAXIODD_14374 {caseNum4} 11 {caseLabel4} @TAXIODD_14427 {caseNum5} 12 {caseLabel5} @TAXIODD_14480 {caseNum6} 13 {caseLabel6} @TAXIODD_14533 {caseNum7} 14 {caseLabel7} @TAXIODD_14586 {caseNum8} 15 {caseLabel8} @TAXIODD_14639 {caseNum9} 16 {caseLabel9} @TAXIODD_14692
switch_continued 17 {caseLabel1} @TAXIODD_14745 {caseNum2} 18 {caseLabel2} @TAXIODD_14798 {caseNum3} 19 {caseLabel3} @TAXIODD_14851 {caseNum4} 20 {caseLabel4} @TAXIODD_14904 {caseNum5} 21 {caseLabel5} @TAXIODD_14957 {caseNum6} 22 {caseLabel6} @TAXIODD_15010 {caseNum7} 23 {caseLabel7} @TAXIODD_15063 {caseNum8} 24 {caseLabel8} @TAXIODD_15116 {caseNum9} 25 {caseLabel9} @TAXIODD_15169
switch_continued 26 {caseLabel1} @TAXIODD_15222 {caseNum2} 27 {caseLabel2} @TAXIODD_15275 {caseNum3} -1 {caseLabel3} @TAXIODD_15445 {caseNum4} -1 {caseLabel4} @TAXIODD_15445 {caseNum5} -1 {caseLabel5} @TAXIODD_15445 {caseNum6} -1 {caseLabel6} @TAXIODD_15445 {caseNum7} -1 {caseLabel7} @TAXIODD_15445 {caseNum8} -1 {caseLabel8} @TAXIODD_15445 {caseNum9} -1 {caseLabel9} @TAXIODD_15445

:TAXIODD_13897
Text.PrintNow('TX_SF1', 5000, 1)
121@ = -1974.876
122@ = 486.737
123@ = 30.371
goto @TAXIODD_15445

:TAXIODD_13950
Text.PrintNow('TX_SF2', 5000, 1)
121@ = -2044.419
122@ = 500.771
123@ = 35.176
goto @TAXIODD_15445

:TAXIODD_14003
Text.PrintNow('TX_SF3', 5000, 1)
121@ = -2150.581
122@ = 251.624
123@ = 35.176
goto @TAXIODD_15445

:TAXIODD_14056
Text.PrintNow('TX_SF4', 5000, 1)
121@ = -1988.513
122@ = 138.31
123@ = 27.857
goto @TAXIODD_15445

:TAXIODD_14109
Text.PrintNow('TX_SF5', 5000, 1)
121@ = -2216.399
122@ = -297.305
123@ = 35.202
goto @TAXIODD_15445

:TAXIODD_14162
Text.PrintNow('TX_SF6', 5000, 1)
121@ = -2726.428
122@ = -310.5865
123@ = 6.0313
goto @TAXIODD_15445

:TAXIODD_14215
Text.PrintNow('TX_SF7', 5000, 1)
121@ = -2704.649
122@ = -3.5644
123@ = 3.1953
goto @TAXIODD_15445

:TAXIODD_14268
Text.PrintNow('TX_SF8', 5000, 1)
121@ = -2708.997
122@ = 127.501
123@ = 4.584
goto @TAXIODD_15445

:TAXIODD_14321
Text.PrintNow('TX_SF9', 5000, 1)
121@ = -2751.905
122@ = 376.781
123@ = 4.584
goto @TAXIODD_15445

:TAXIODD_14374
Text.PrintNow('TX_SF10', 5000, 1)
121@ = -2415.75
122@ = 330.9614
123@ = 33.9765
goto @TAXIODD_15445

:TAXIODD_14427
Text.PrintNow('TX_SF11', 5000, 1)
121@ = -2454.926
122@ = 138.9312
123@ = 33.9765
goto @TAXIODD_15445

:TAXIODD_14480
Text.PrintNow('TX_SF12', 5000, 1)
121@ = -2499.214
122@ = -16.6149
123@ = 24.6094
goto @TAXIODD_15445

:TAXIODD_14533
Text.PrintNow('TX_SF13', 5000, 1)
121@ = -2431.735
122@ = -198.9205
123@ = 34.1563
goto @TAXIODD_15445

:TAXIODD_14586
Text.PrintNow('TX_SF14', 5000, 1)
121@ = -1815.151
122@ = 597.754
123@ = 38.528
goto @TAXIODD_15445

:TAXIODD_14639
Text.PrintNow('TX_SF15', 5000, 1)
121@ = -1530.776
122@ = 487.201
123@ = 9.44
goto @TAXIODD_15445

:TAXIODD_14692
Text.PrintNow('TX_SF16', 5000, 1)
121@ = -1745.08
122@ = 27.759
123@ = 5.452
goto @TAXIODD_15445

:TAXIODD_14745
Text.PrintNow('TX_SF17', 5000, 1)
121@ = -1414.557
122@ = -301.347
123@ = 14.637
goto @TAXIODD_15445

:TAXIODD_14798
Text.PrintNow('TX_SF18', 5000, 1)
121@ = -2618.467
122@ = 1432.752
123@ = 6.1016
goto @TAXIODD_15445

:TAXIODD_14851
Text.PrintNow('TX_SF19', 5000, 1)
121@ = -1904.765
122@ = 882.7293
123@ = 34.0156
goto @TAXIODD_15445

:TAXIODD_14904
Text.PrintNow('TX_SF20', 5000, 1)
121@ = -2134.729
122@ = 919.0828
123@ = 78.8438
goto @TAXIODD_15445

:TAXIODD_14957
Text.PrintNow('TX_SF21', 5000, 1)
121@ = -2361.836
122@ = 993.0967
123@ = 49.6875
goto @TAXIODD_15445

:TAXIODD_15010
Text.PrintNow('TX_SF22', 5000, 1)
121@ = -2753.69
122@ = 779.9389
123@ = 53.2422
goto @TAXIODD_15445

:TAXIODD_15063
Text.PrintNow('TX_SF23', 5000, 1)
121@ = -1714.717
122@ = 1332.564
123@ = 6.0391
goto @TAXIODD_15445

:TAXIODD_15116
Text.PrintNow('TX_SF24', 5000, 1)
121@ = -2251.033
122@ = 717.7971
123@ = 48.2969
goto @TAXIODD_15445

:TAXIODD_15169
Text.PrintNow('TX_SF25', 5000, 1)
121@ = -1807.813
122@ = 936.0701
123@ = 23.75
goto @TAXIODD_15445

:TAXIODD_15222
Text.PrintNow('TX_SF26', 5000, 1)
121@ = -1969.205
122@ = 1115.312
123@ = 52.6942
goto @TAXIODD_15445

:TAXIODD_15275
Text.PrintNow('TX_SF27', 5000, 1)
121@ = -2540.593
122@ = 1222.188
123@ = 36.4283
goto @TAXIODD_15445

:TAXIODD_15328
if 
  34@ == 1
goto_if_false @TAXIODD_15353
110@ = 0

:TAXIODD_15353
write_debug "UNKNOWN_SAN_FIERRO_TAXI_DESTINATION"
Text.PrintNow('TX_SF1', 5000, 1)
121@ = -1974.876
122@ = 486.737
123@ = 30.371
goto @TAXIODD_15445

:TAXIODD_15445
return 

:TAXIODD_15447
write_debug "NO_RED_COUNTY_DESTINATIONS_YET"
if 
  34@ == 1
goto_if_false @TAXIODD_15513
110@ = 0
goto @TAXIODD_15543

:TAXIODD_15513
write_debug "CHOOSING_LOS_SANTOS"
gosub @TAXIODD_8391

:TAXIODD_15543
return 

:TAXIODD_15545
write_debug "NO_FLINT_COUNTY_DESTINATIONS_YET"
if 
  34@ == 1
goto_if_false @TAXIODD_15613
110@ = 0
goto @TAXIODD_15643

:TAXIODD_15613
write_debug "CHOOSING_SAN_FIERRO"
gosub @TAXIODD_13590

:TAXIODD_15643
return 

:TAXIODD_15645
write_debug "NO_WHETSTONE_DESTINATIONS_YET"
if 
  34@ == 1
goto_if_false @TAXIODD_15710
110@ = 0
goto @TAXIODD_15740

:TAXIODD_15710
write_debug "CHOOSING_SAN_FIERRO"
gosub @TAXIODD_13590

:TAXIODD_15740
return 

:TAXIODD_15742
if 
  34@ == 1
goto_if_false @TAXIODD_15782
set_lvar_int_to_lvar_int 110@ = 148@
110@ += 1
goto @TAXIODD_15791

:TAXIODD_15782
110@ = Math.RandomIntInRange(1, 3)

:TAXIODD_15791
switch_start 110@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @TAXIODD_15960 {caseNum1} 1 {caseLabel1} @TAXIODD_15854 {caseNum2} 2 {caseLabel2} @TAXIODD_15907 {caseNum3} -1 {caseLabel3} @TAXIODD_16080 {caseNum4} -1 {caseLabel4} @TAXIODD_16080 {caseNum5} -1 {caseLabel5} @TAXIODD_16080 {caseNum6} -1 {caseLabel6} @TAXIODD_16080 {caseNum7} -1 {caseLabel7} @TAXIODD_16080

:TAXIODD_15854
Text.PrintNow('TX_TR1', 5000, 1)
121@ = -1934.078
122@ = 2382.762
123@ = 48.5
goto @TAXIODD_16080

:TAXIODD_15907
Text.PrintNow('TX_TR2', 5000, 1)
121@ = -846.9434
122@ = 1528.154
123@ = 20.551
goto @TAXIODD_16080

:TAXIODD_15960
if 
  34@ == 1
goto_if_false @TAXIODD_15985
110@ = 0

:TAXIODD_15985
write_debug "UNKNOWN_TIERRA_ROBADA_TAXI_DESTINATION"
Text.PrintNow('TX_TR1', 5000, 1)
121@ = -1934.078
122@ = 2382.762
123@ = 48.5
goto @TAXIODD_16080

:TAXIODD_16080
return 

:TAXIODD_16082
if 
  34@ == 1
goto_if_false @TAXIODD_16122
set_lvar_int_to_lvar_int 110@ = 148@
110@ += 1
goto @TAXIODD_16131

:TAXIODD_16122
110@ = Math.RandomIntInRange(1, 6)

:TAXIODD_16131
switch_start 110@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @TAXIODD_16459 {caseNum1} 1 {caseLabel1} @TAXIODD_16194 {caseNum2} 2 {caseLabel2} @TAXIODD_16247 {caseNum3} 3 {caseLabel3} @TAXIODD_16300 {caseNum4} 4 {caseLabel4} @TAXIODD_16353 {caseNum5} 5 {caseLabel5} @TAXIODD_16406 {caseNum6} -1 {caseLabel6} @TAXIODD_16577 {caseNum7} -1 {caseLabel7} @TAXIODD_16577

:TAXIODD_16194
Text.PrintNow('TX_BC1', 5000, 1)
121@ = 689.646
122@ = 1943.252
123@ = 4.539
goto @TAXIODD_16577

:TAXIODD_16247
Text.PrintNow('TX_BC2', 5000, 1)
121@ = -904.3732
122@ = 2007.643
123@ = 59.9141
goto @TAXIODD_16577

:TAXIODD_16300
Text.PrintNow('TX_BC3', 5000, 1)
121@ = 392.0225
122@ = 2547.806
123@ = 15.5568
goto @TAXIODD_16577

:TAXIODD_16353
Text.PrintNow('TX_BC4', 5000, 1)
121@ = 832.8276
122@ = 1705.429
123@ = 4.8587
goto @TAXIODD_16577

:TAXIODD_16406
Text.PrintNow('TX_BC5', 5000, 1)
121@ = -84.9834
122@ = 1358.616
123@ = 9.3644
goto @TAXIODD_16577

:TAXIODD_16459
if 
  34@ == 1
goto_if_false @TAXIODD_16484
110@ = 0

:TAXIODD_16484
write_debug "UNKNOWN_BONE_COUNTY_TAXI_DESTINATION"
Text.PrintNow('TX_BC1', 5000, 1)
121@ = 689.646
122@ = 1943.252
123@ = 4.539
goto @TAXIODD_16577

:TAXIODD_16577
return 

:TAXIODD_16579
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @TAXIODD_16628
48@ += 1
if 
  48@ > 2
goto_if_false @TAXIODD_16626
48@ = 0

:TAXIODD_16626
clear_all_view_variables 

:TAXIODD_16628
if 
  48@ == 1
goto_if_false @TAXIODD_16803
set_var_int_to_lvar_int $8206 = 38@
set_var_int_to_lvar_int $8207 = 39@
set_var_int_to_lvar_int $8208 = 47@
set_var_int_to_var_int $8209 = $timer_mobile_start
set_var_int_to_lvar_int $ped_time_limit = 146@
$db_ambulance_level = 0
$amb_free_seats = 0
$db_firetruck_level = 0
view_integer_variable $8206 {_p2} "M_STAGE"
view_integer_variable $8207 {_p2} "M_GOALS"
view_integer_variable $ped_time_limit {_p2} "CLEANUP_TESTING"
view_integer_variable $8208 {_p2} "M_MISSION_TIMER"
view_integer_variable $8209 {_p2} "TOTAL_TAXI_PASSED"

:TAXIODD_16803
if 
  48@ == 2
goto_if_false @TAXIODD_16821

:TAXIODD_16821
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @TAXIODD_16843
40@ = 1

:TAXIODD_16843
if 
is_ps2_keyboard_key_just_pressed 80
goto_if_false @TAXIODD_16931
if 
  41@ == 0
goto_if_false @TAXIODD_16906
41@ = 1
write_debug "LEVEL_PAUSED"
goto @TAXIODD_16931

:TAXIODD_16906
41@ = 0
write_debug "LEVEL_UNPAUSED"

:TAXIODD_16931
return 

:TAXIODD_16933
if 
  not is_ps2_keyboard_key_just_pressed 74
goto_if_false @TAXIODD_16950
return 

:TAXIODD_16950
if 
  38@ == 2
goto_if_false @TAXIODD_17007
World.ClearArea(121@, 122@, 123@, 10.0, False)
Char.SetCoordinates($stattreadstamina_ctr, 121@, 122@, 123@)
39@ = 1

:TAXIODD_17007
return 

:TAXIODD_17009
147@ = 0
148@ = 0

:TAXIODD_17023
110@ = 0
switch_start 147@ {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @TAXIODD_17533 {caseNum1} 0 {caseLabel1} @TAXIODD_17158 {caseNum2} 1 {caseLabel2} @TAXIODD_17204 {caseNum3} 2 {caseLabel3} @TAXIODD_17252 {caseNum4} 3 {caseLabel4} @TAXIODD_17298 {caseNum5} 4 {caseLabel5} @TAXIODD_17344 {caseNum6} 5 {caseLabel6} @TAXIODD_17392 {caseNum7} 6 {caseLabel7} @TAXIODD_17437
switch_continued 7 {caseLabel1} @TAXIODD_17486 {caseNum2} -1 {caseLabel2} @TAXIODD_17540 {caseNum3} -1 {caseLabel3} @TAXIODD_17540 {caseNum4} -1 {caseLabel4} @TAXIODD_17540 {caseNum5} -1 {caseLabel5} @TAXIODD_17540 {caseNum6} -1 {caseLabel6} @TAXIODD_17540 {caseNum7} -1 {caseLabel7} @TAXIODD_17540 {caseNum8} -1 {caseLabel8} @TAXIODD_17540 {caseNum9} -1 {caseLabel9} @TAXIODD_17540

:TAXIODD_17158
gosub @TAXIODD_8391
if 
  110@ <> 0
goto_if_false @TAXIODD_17197
write_debug "LOS_SANTOS"

:TAXIODD_17197
goto @TAXIODD_17540

:TAXIODD_17204
gosub @TAXIODD_10647
if 
  110@ <> 0
goto_if_false @TAXIODD_17245
write_debug "LAS_VENTURAS"

:TAXIODD_17245
goto @TAXIODD_17540

:TAXIODD_17252
gosub @TAXIODD_13590
if 
  110@ <> 0
goto_if_false @TAXIODD_17291
write_debug "SAN_FIERRO"

:TAXIODD_17291
goto @TAXIODD_17540

:TAXIODD_17298
gosub @TAXIODD_15447
if 
  110@ <> 0
goto_if_false @TAXIODD_17337
write_debug "RED_COUNTY"

:TAXIODD_17337
goto @TAXIODD_17540

:TAXIODD_17344
gosub @TAXIODD_15545
if 
  110@ <> 0
goto_if_false @TAXIODD_17385
write_debug "FLINT_COUNTY"

:TAXIODD_17385
goto @TAXIODD_17540

:TAXIODD_17392
gosub @TAXIODD_15645
if 
  110@ <> 0
goto_if_false @TAXIODD_17430
write_debug "WHETSTONE"

:TAXIODD_17430
goto @TAXIODD_17540

:TAXIODD_17437
gosub @TAXIODD_15742
if 
  110@ <> 0
goto_if_false @TAXIODD_17479
write_debug "TIERRA_ROBADA"

:TAXIODD_17479
goto @TAXIODD_17540

:TAXIODD_17486
gosub @TAXIODD_16082
if 
  110@ <> 0
goto_if_false @TAXIODD_17526
write_debug "BONE_COUNTY"

:TAXIODD_17526
goto @TAXIODD_17540

:TAXIODD_17533
147@ = -1

:TAXIODD_17540
if 
  110@ == 0
goto_if_false @TAXIODD_17583
wait 0
147@ += 1
148@ = 0
goto @TAXIODD_17023

:TAXIODD_17583
write_debug_with_int "J_A_D___ID" {_p2} 110@

:TAXIODD_17600
if 
  not is_ps2_keyboard_key_just_pressed 74
goto_if_false @TAXIODD_17684
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @TAXIODD_17644
147@ += 1
goto @TAXIODD_17023

:TAXIODD_17644
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @TAXIODD_17673
148@ += 1
goto @TAXIODD_17023

:TAXIODD_17673
wait 0
goto @TAXIODD_17600

:TAXIODD_17684
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TAXIODD_17728
97@ = Blip.AddForCoord(121@, 122@, 123@)
Char.SetCoordinates($stattreadstamina_ctr, 121@, 122@, 123@)

:TAXIODD_17728
148@ += 1
write_debug "PRESS_N_FOR_NEXT_FARE"

:TAXIODD_17760
if 
  not is_ps2_keyboard_key_just_pressed 78
goto_if_false @TAXIODD_17786
wait 0
goto @TAXIODD_17760

:TAXIODD_17786
Blip.Remove(97@)
wait 0
goto @TAXIODD_17023
return 

:TAXIODD_17804
43@ += 1
if 
  43@ > 9
goto_if_false @TAXIODD_17836
43@ = 0

:TAXIODD_17836
return 

:TAXIODD_17838
44@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 46@ = 44@
sub_int_lvar_from_int_lvar 46@ -= 45@
set_lvar_int_to_lvar_int 45@ = 44@
add_int_lvar_to_int_lvar 47@ += 46@
return 

:TAXIODD_17877
38@ += 1
39@ = 0
TIMERA = 0
TIMERB = 0
return 

:TAXIODD_17907
38@ = 1
39@ = 0
TIMERA = 0
TIMERB = 0
return 

:TAXIODD_17937
return 

:TAXIODD_17939
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @TAXIODD_17966
wait 0
goto @TAXIODD_17939

:TAXIODD_17966
gosub @TAXIODD_18112
gosub @TAXIODD_18148
if 
  $stat_stamina_temp == 0
goto_if_false @TAXIODD_18016
Text.PrintHelp('TX_H1')
$stat_stamina_temp = 1

:TAXIODD_18016
gosub @TAXIODD_2868
109@ = 0
112@ = 0
113@ = 0
$Taxiodd_view_debug = 0
Hud.DisplayCounterWithString($Taxiodd_view_debug, CounterDisplay.Number, 'TX_TOTL')
$8203 = 0
114@ = 5
115@ = 500
94@ = -1
95@ = -1
gosub @TAXIODD_17877
return 

:TAXIODD_18112
Streaming.RequestModel(#CR_AMMOBOX)
Streaming.LoadAllModelsNow

:TAXIODD_18119
if 
  not Streaming.HasModelLoaded(#CR_AMMOBOX)
goto_if_false @TAXIODD_18146
wait 0
goto @TAXIODD_18119

:TAXIODD_18146
return 

:TAXIODD_18148
Streaming.RequestAnimation("MISC")

:TAXIODD_18156
if 
  not Streaming.HasAnimationLoaded("MISC")
goto_if_false @TAXIODD_18186
wait 0
goto @TAXIODD_18156

:TAXIODD_18186
return 

:TAXIODD_18188
if 
  132@ == 1
goto_if_false @TAXIODD_18228
set_lvar_int_to_lvar_int 51@ = 111@
51@ /= 16
goto @TAXIODD_18243

:TAXIODD_18228
set_lvar_int_to_lvar_int 51@ = 111@
51@ /= 40

:TAXIODD_18243
set_lvar_int_to_lvar_int 52@ = 51@
Player.AddScore($statbike_temp, 51@)
Text.PrintWithNumberBig('TX_PAY', 51@, 6000, TextStyle.WhiteMiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
add_int_lvar_to_int_lvar 109@ += 51@
$Taxiodd_view_debug += 1
$timer_mobile_start += 1
142@ = 0
if 
  is_int_var_equal_to_int_lvar $Taxiodd_view_debug == 114@
goto_if_false @TAXIODD_18414
Text.PrintWith2NumbersBig('TX_SEQ', $Taxiodd_view_debug, 115@, 5000, TextStyle.MiddleSmallerHigher)
Player.AddScore($statbike_temp, 115@)
add_int_lvar_to_int_lvar 109@ += 115@
142@ = 1
add_int_lvar_to_int_lvar 52@ += 115@
114@ += 5
115@ += 500

:TAXIODD_18414
if and
  $nascar_best_time == 0
  $timer_mobile_start > 49
goto_if_false @TAXIODD_18522
Stat.RegisterOddjobMissionPassed
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(2)
Text.PrintBig('TX_DONE', 5000, TextStyle.MiddleSmallerHigher)
Text.PrintNow('TX_NTRO', 7000, 1)
144@ = 1
set_lvar_int_to_lvar_int 106@ = 47@
106@ += 7000
Game.SetAllTaxisHaveNitro(False)
$nascar_best_time = 1
goto @TAXIODD_18683

:TAXIODD_18522
if 
  $8204 > 0
goto_if_false @TAXIODD_18615
if 
  142@ == 1
goto_if_false @TAXIODD_18581
Text.PrintBig('TX_FAST', 5000, TextStyle.MiddleSmaller)
goto @TAXIODD_18597

:TAXIODD_18581
Text.PrintBig('TX_FAST', 5000, TextStyle.MiddleSmallerHigher)

:TAXIODD_18597
116@ = Char.SetSayContext(88@, 225)
goto @TAXIODD_18683

:TAXIODD_18615
if 
  142@ == 1
goto_if_false @TAXIODD_18656
Text.PrintBig('TX_WIN', 5000, TextStyle.MiddleSmaller)
goto @TAXIODD_18672

:TAXIODD_18656
Text.PrintBig('TX_WIN', 5000, TextStyle.MiddleSmallerHigher)

:TAXIODD_18672
116@ = Char.SetSayContext(88@, 224)

:TAXIODD_18683
Stat.IncrementIntNoMessage(StatId.PassengersDeliveredInTaxi, 1)
Stat.IncrementIntNoMessage(StatId.TaxiMoneyMade, 52@)
return 

:TAXIODD_18700
$8203 += 10000
Hud.ClearCounter($8204)
132@ = 0
125@ = 0
gosub @TAXIODD_17907
return 

:TAXIODD_18736
if 
  not Char.IsDead(88@)
goto_if_false @TAXIODD_18764
Char.MarkAsNoLongerNeeded(88@)
146@ -= 1

:TAXIODD_18764
Blip.Remove(96@)
Blip.Remove(97@)
Hud.ClearCounter($8204)
132@ = 0
126@ = 0
gosub @TAXIODD_17907
return 

:TAXIODD_18802
Text.PrintBig('TX_END', 5000, TextStyle.MiddleSmallerHigher)
Text.PrintWithNumberBig('TX_PAY', 109@, 6000, TextStyle.WhiteMiddleSmaller)
Text.ClearSmallPrints
switch_start 108@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @TAXIODD_18971 {caseNum1} 1 {caseLabel1} @TAXIODD_18902 {caseNum2} 2 {caseLabel2} @TAXIODD_18925 {caseNum3} 3 {caseLabel3} @TAXIODD_18948 {caseNum4} -1 {caseLabel4} @TAXIODD_18971 {caseNum5} -1 {caseLabel5} @TAXIODD_18971 {caseNum6} -1 {caseLabel6} @TAXIODD_18971 {caseNum7} -1 {caseLabel7} @TAXIODD_18971

:TAXIODD_18902
Text.PrintNow('TX_F1', 5000, 1)
goto @TAXIODD_18971

:TAXIODD_18925
Text.PrintNow('TX_F2', 5000, 1)
goto @TAXIODD_18971

:TAXIODD_18948
Text.PrintNow('TX_F3', 5000, 1)
goto @TAXIODD_18971

:TAXIODD_18971
Text.ClearHelp
return 

:TAXIODD_18975
if 
  not Char.IsDead(88@)
goto_if_false @TAXIODD_19052
Char.ClearLookAt(88@)
if 
  Car.IsDead(89@)
goto_if_false @TAXIODD_19026
gosub @TAXIODD_6399
goto @TAXIODD_19052

:TAXIODD_19026
if 
  not Char.IsInCar(88@, 89@)
goto_if_false @TAXIODD_19052
gosub @TAXIODD_6399

:TAXIODD_19052
Car.MarkAsNoLongerNeeded(89@)
Char.MarkAsNoLongerNeeded(88@)
49@ = 0

:TAXIODD_19069
Object.MarkAsNoLongerNeeded(90@(49@,4i))
49@ += 1
  49@ >= 4
goto_if_false @TAXIODD_19069
Blip.Remove(96@)
Blip.Remove(97@)
49@ = 0

:TAXIODD_19116
Blip.Remove(98@(49@,3i))
49@ += 1
  49@ >= 3
goto_if_false @TAXIODD_19116
Hud.ClearCounter($Taxiodd_view_debug)
Hud.ClearTimer($8203)
Hud.ClearCounter($8204)
Streaming.RemoveAnimation("MISC")
Streaming.MarkModelAsNoLongerNeeded(#CR_AMMOBOX)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Game.SetWantedMultiplier(1.0)
Game.SwitchEmergencyServices(True)
Game.SwitchRandomTrains(True)
set_var_int_to_var_int $intro_bmx = $8205
$flag_courier_mission_passed = Clock.GetGameTimer()
$wuzi = 0
$weapon_shop1_blip = 0
$timer_mobile_diff = 0
Mission.Finish
return 

//-------------Mission 122---------------
// Originally: Paramedic Sub-Mission

:AMBULAN
gosub @AMBULAN_16
gosub @AMBULAN_13127
terminate_this_script 

:AMBULAN_16
$weapon_shop1_blip = 1
$flag_bmx_trigger = 1
script_name 'AMBULAN'
if 
  $done_taxiodd_progress == 0
goto_if_false @AMBULAN_61
Stat.RegisterMissionGiven

:AMBULAN_61
wait 0
Game.SetScriptLimitToGangSize(0)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @AMBULAN_221
213@ = Char.StoreCarIsIn($stattreadstamina_ctr)
if 
  not Car.IsPassengerSeatFree(213@, SeatIndex.FrontRight)
goto_if_false @AMBULAN_134
81@ = Car.GetCharInPassengerSeat(213@, 0)
Task.LeaveCarImmediately(81@, 213@)
Char.MarkAsNoLongerNeeded(81@)

:AMBULAN_134
if 
  not Car.IsPassengerSeatFree(213@, SeatIndex.RearLeft)
goto_if_false @AMBULAN_175
81@ = Car.GetCharInPassengerSeat(213@, 1)
Task.LeaveCarImmediately(81@, 213@)
Char.MarkAsNoLongerNeeded(81@)

:AMBULAN_175
if 
  not Car.IsPassengerSeatFree(213@, SeatIndex.RearRight)
goto_if_false @AMBULAN_216
81@ = Car.GetCharInPassengerSeat(213@, 2)
Task.LeaveCarImmediately(81@, 213@)
Char.MarkAsNoLongerNeeded(81@)

:AMBULAN_216
Car.MarkAsNoLongerNeeded(213@)

:AMBULAN_221
235@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Text.LoadMissionText('AMBULAE')
Stat.ShowUpdateStats(False)
$db_fires_extinguished = 20000
34@ = 0
39@ = 0
40@ = 0
41@ = 0
42@ = 0
43@ = 0
37@ = 1
36@ = 0
83@ = 0
86@ = 0
89@ = 0
92@ = 0
95@ = 0
58@ = 0
61@ = 0
64@ = 0
67@ = 0
70@ = 0
73@ = 0
76@ = 0
46@ = 0
189@ = 10.0
$fire_time_limit = 1
48@ = 0
49@ = 0
44@ = 0
45@ = 0
51@ = 0
52@ = 0
53@ = 0
50@ = 0
55@ = 0
79@ = 0
176@ = 0.0
177@ = 0.0
178@ = 0.0
99@ = 0

:AMBULAN_522
if 
  13 > 99@
goto_if_false @AMBULAN_658
100@(99@,13i) = 0
113@(99@,13f) = 0.0
126@(99@,13f) = 0.0
139@(99@,13f) = 0.0
152@(99@,13i) = 0
if 
  10 > 99@
goto_if_false @AMBULAN_644
214@(99@,10i) = 0
224@(99@,10i) = 0

:AMBULAN_644
99@ += 1
goto @AMBULAN_522

:AMBULAN_658
99@ = 0
96@ = 0
97@ = 0
234@ = 0
$fire_zone_name = 0
238@ = 0.0

:AMBULAN_703
if 
  10 > 99@
goto_if_false @AMBULAN_836
if 
  Game.IsRelationshipSet(RelationshipType.Hate, 99@, PedType.Player1)
goto_if_false @AMBULAN_775
224@(99@,10i) = 1
234@ += 1
Game.ClearRelationship(RelationshipType.Hate, 99@, PedType.Player1)
goto @AMBULAN_822

:AMBULAN_775
if 
  Game.IsRelationshipSet(RelationshipType.Dislike, 99@, PedType.Player1)
goto_if_false @AMBULAN_822
214@(99@,10i) = 1
234@ += 1
Game.ClearRelationship(RelationshipType.Dislike, 99@, PedType.Player1)

:AMBULAN_822
99@ += 1
goto @AMBULAN_703

:AMBULAN_836
99@ = 0
Text.PrintNow('ATUTOR2', 3000, 1)
Game.SetWantedMultiplier(0.5)
201@, 202@, 203@ = Char.GetCoordinates($stattreadstamina_ctr)
212@ = 9999999.0
$trigger_phonecall_failed = Stat.GetInt(StatId.CitiesPassed)
if 
  2 > $trigger_phonecall_failed
goto_if_false @AMBULAN_1470
if 
  $trigger_phonecall_failed == 0
goto_if_false @AMBULAN_1130
204@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, 2004.96, -1442.96, 12.56)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 204@
goto_if_false @AMBULAN_997
set_lvar_float_to_lvar_float 212@ = 204@
213@ = 1

:AMBULAN_997
205@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, 1180.85, -1325.57, 12.58)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 205@
goto_if_false @AMBULAN_1060
set_lvar_float_to_lvar_float 212@ = 205@
213@ = 2

:AMBULAN_1060
208@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, 1244.437, 331.2261, 18.5547)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 208@
goto_if_false @AMBULAN_1123
set_lvar_float_to_lvar_float 212@ = 208@
213@ = 5

:AMBULAN_1123
goto @AMBULAN_1463

:AMBULAN_1130
if 
  $trigger_phonecall_failed == 1
goto_if_false @AMBULAN_1463
204@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, 2004.96, -1442.96, 12.56)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 204@
goto_if_false @AMBULAN_1211
set_lvar_float_to_lvar_float 212@ = 204@
213@ = 1

:AMBULAN_1211
205@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, 1180.85, -1325.57, 12.58)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 205@
goto_if_false @AMBULAN_1274
set_lvar_float_to_lvar_float 212@ = 205@
213@ = 2

:AMBULAN_1274
208@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, 1244.437, 331.2261, 18.5547)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 208@
goto_if_false @AMBULAN_1337
set_lvar_float_to_lvar_float 212@ = 208@
213@ = 5

:AMBULAN_1337
209@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, -2198.693, -2290.105, 29.625)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 209@
goto_if_false @AMBULAN_1400
set_lvar_float_to_lvar_float 212@ = 209@
213@ = 6

:AMBULAN_1400
210@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, -2670.285, 616.4364, 13.4531)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 210@
goto_if_false @AMBULAN_1463
set_lvar_float_to_lvar_float 212@ = 210@
213@ = 7

:AMBULAN_1463
goto @AMBULAN_1974

:AMBULAN_1470
204@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, 2004.96, -1442.96, 12.56)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 204@
goto_if_false @AMBULAN_1533
set_lvar_float_to_lvar_float 212@ = 204@
213@ = 1

:AMBULAN_1533
205@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, 1180.85, -1325.57, 12.58)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 205@
goto_if_false @AMBULAN_1596
set_lvar_float_to_lvar_float 212@ = 205@
213@ = 2

:AMBULAN_1596
206@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, -316.3832, 1056.045, 18.7344)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 206@
goto_if_false @AMBULAN_1659
set_lvar_float_to_lvar_float 212@ = 206@
213@ = 3

:AMBULAN_1659
207@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, -1514.823, 2527.119, 54.7443)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 207@
goto_if_false @AMBULAN_1722
set_lvar_float_to_lvar_float 212@ = 207@
213@ = 4

:AMBULAN_1722
208@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, 1244.437, 331.2261, 18.5547)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 208@
goto_if_false @AMBULAN_1785
set_lvar_float_to_lvar_float 212@ = 208@
213@ = 5

:AMBULAN_1785
209@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, -2198.693, -2290.105, 29.625)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 209@
goto_if_false @AMBULAN_1848
set_lvar_float_to_lvar_float 212@ = 209@
213@ = 6

:AMBULAN_1848
210@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, -2670.285, 616.4364, 13.4531)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 210@
goto_if_false @AMBULAN_1911
set_lvar_float_to_lvar_float 212@ = 210@
213@ = 7

:AMBULAN_1911
211@ = Math.GetDistanceBetweenCoords3D(201@, 202@, 203@, 1578.446, 1770.682, 9.8358)
if 
  is_float_lvar_greater_than_float_lvar 212@ > 211@
goto_if_false @AMBULAN_1974
set_lvar_float_to_lvar_float 212@ = 211@
213@ = 8

:AMBULAN_1974
switch_start 213@ {numCases} 8 {hasDefaultCase} 1 {defaultLabel} @AMBULAN_2958 {caseNum1} 1 {caseLabel1} @AMBULAN_2102 {caseNum2} 2 {caseLabel2} @AMBULAN_2209 {caseNum3} 3 {caseLabel3} @AMBULAN_2316 {caseNum4} 4 {caseLabel4} @AMBULAN_2423 {caseNum5} 5 {caseLabel5} @AMBULAN_2530 {caseNum6} 6 {caseLabel6} @AMBULAN_2637 {caseNum7} 7 {caseLabel7} @AMBULAN_2744
switch_continued 8 {caseLabel1} @AMBULAN_2851 {caseNum2} -1 {caseLabel2} @AMBULAN_3065 {caseNum3} -1 {caseLabel3} @AMBULAN_3065 {caseNum4} -1 {caseLabel4} @AMBULAN_3065 {caseNum5} -1 {caseLabel5} @AMBULAN_3065 {caseNum6} -1 {caseLabel6} @AMBULAN_3065 {caseNum7} -1 {caseLabel7} @AMBULAN_3065 {caseNum8} -1 {caseLabel8} @AMBULAN_3065 {caseNum9} -1 {caseLabel9} @AMBULAN_3065

:AMBULAN_2102
167@ = 2004.96
168@ = -1442.96
169@ = 12.56
173@ = 2026.0
174@ = -1423.0
175@ = 17.0
197@ = 1200.0
198@ = 2930.0
199@ = -2213.0
200@ = -1012.0
goto @AMBULAN_3065

:AMBULAN_2209
167@ = 1180.85
168@ = -1325.57
169@ = 12.58
173@ = 1172.0
174@ = -1324.0
175@ = 15.0
197@ = 450.0
198@ = 1800.0
199@ = -1900.0
200@ = -870.0
goto @AMBULAN_3065

:AMBULAN_2316
167@ = -316.3832
168@ = 1056.045
169@ = 18.7344
173@ = -316.0
174@ = 1050.0
175@ = 20.0
197@ = -860.0
198@ = 185.0
199@ = 749.0
200@ = 1616.0
goto @AMBULAN_3065

:AMBULAN_2423
167@ = -1514.006
168@ = 2532.013
169@ = 54.7443
173@ = -1515.0
174@ = 2520.0
175@ = 56.0
197@ = -1684.0
198@ = -702.0
199@ = 1465.0
200@ = 2749.9
goto @AMBULAN_3065

:AMBULAN_2530
167@ = 1225.0
168@ = 302.0
169@ = 20.0
173@ = 1227.0
174@ = 289.5
175@ = 22.64
197@ = 100.0
198@ = 2604.0
199@ = -720.0
200@ = 465.0
goto @AMBULAN_3065

:AMBULAN_2637
167@ = -2198.693
168@ = -2290.105
169@ = 29.625
173@ = -2204.728
174@ = -2296.302
175@ = 29.6181
197@ = -2598.0
198@ = -1500.0
199@ = -2700.0
200@ = -1700.0
goto @AMBULAN_3065

:AMBULAN_2744
167@ = -2670.285
168@ = 616.4364
169@ = 13.4531
173@ = -2677.0
174@ = 632.0
175@ = 14.0
197@ = -2820.0
198@ = -1784.0
199@ = 29.0
200@ = 1180.0
goto @AMBULAN_3065

:AMBULAN_2851
167@ = 1578.446
168@ = 1770.682
169@ = 9.8358
173@ = 1582.0
174@ = 1765.0
175@ = 11.0
197@ = 1000.0
198@ = 2600.0
199@ = 772.0
200@ = 2400.0
goto @AMBULAN_3065

:AMBULAN_2958
167@ = 2004.96
168@ = -1442.96
169@ = 12.56
173@ = 2026.0
174@ = -1423.0
175@ = 17.0
197@ = 1200.0
198@ = 2930.0
199@ = -2213.0
200@ = -1012.0
goto @AMBULAN_3065

:AMBULAN_3065
Hud.DisplayNthCounterWithString($fire_zone_name, CounterDisplay.Number, 2, 'AMBSEAT')
Hud.DisplayNthCounterWithString($fire_time_limit, CounterDisplay.Number, 1, 'ALEV')
if 
  $weapon_shop1_blip == 0
goto_if_false @AMBULAN_3133
47@ = Blip.AddForCoord(167@, 168@, 169@)

:AMBULAN_3133
Hud.ClearTimer($db_fires_extinguished)

:AMBULAN_3138
if 
  is_int_lvar_greater_than_int_lvar 37@ > 36@
goto_if_false @AMBULAN_3339
gosub @AMBULAN_7797
set_lvar_float_to_lvar_float 113@(36@,13f) = 176@
set_lvar_float_to_lvar_float 126@(36@,13f) = 177@
set_lvar_float_to_lvar_float 139@(36@,13f) = 178@
if 
  79@ == 1
goto_if_false @AMBULAN_3225
goto @AMBULAN_13127

:AMBULAN_3225
gosub @AMBULAN_10905
set_lvar_int_to_lvar_int 152@(36@,13i) = 35@
if 
  152@(36@,13i) > 45000
goto_if_false @AMBULAN_3290
152@(36@,13i) = 45000
goto @AMBULAN_3325

:AMBULAN_3290
if 
  15000 > 152@(36@,13i)
goto_if_false @AMBULAN_3325
152@(36@,13i) = 15000

:AMBULAN_3325
36@ += 1
goto @AMBULAN_3138

:AMBULAN_3339
gosub @AMBULAN_3715
if 
  37@ > 3
goto_if_false @AMBULAN_3378
45@ = 1
goto @AMBULAN_3385

:AMBULAN_3378
45@ = 0

:AMBULAN_3385
51@ = 0
if 
  2 > 37@
goto_if_false @AMBULAN_3521
set_lvar_int_to_lvar_int 48@ = 35@
div_int_lvar_by_int_lvar 48@ /= 37@
48@ /= 2
set_lvar_int_to_lvar_int 38@ = 37@
38@ += 1
mult_int_lvar_by_int_lvar 48@ *= 38@
add_int_lvar_to_int_var $db_fires_extinguished += 48@
div_int_var_by_int_lvar $db_fires_extinguished /= 37@
set_lvar_int_to_lvar_int 48@ = 35@
48@ /= 3
if 
  48@ > 15000
goto_if_false @AMBULAN_3514
48@ = 15000

:AMBULAN_3514
goto @AMBULAN_3598

:AMBULAN_3521
set_lvar_int_to_var_int 48@ = $db_fires_extinguished
div_int_lvar_by_int_lvar 48@ /= 37@
48@ /= 2
set_lvar_int_to_lvar_int 38@ = 37@
38@ += 1
mult_int_lvar_by_int_lvar 48@ *= 38@
add_int_lvar_to_int_var $db_fires_extinguished += 48@
div_int_var_by_int_lvar $db_fires_extinguished /= 37@
set_lvar_int_to_var_int 48@ = $db_fires_extinguished
48@ /= 3

:AMBULAN_3598
if 
  60000 > $db_fires_extinguished
goto_if_false @AMBULAN_3629
$db_fires_extinguished = 60000

:AMBULAN_3629
if 
  25000 > 48@
goto_if_false @AMBULAN_3663
48@ = 25000
goto @AMBULAN_3694

:AMBULAN_3663
if 
  48@ > 60000
goto_if_false @AMBULAN_3694
48@ = 60000

:AMBULAN_3694
239@ = 0
240@ = 0
goto @AMBULAN_11058

:AMBULAN_3715
if 
  37@ > 0
goto_if_false @AMBULAN_3842
81@ = Char.CreateRandom(113@, 126@, 139@)
Char.FreezePositionAndDontLoadCollision(81@, True)
Char.SetLoadCollisionFlag(81@, False)
83@ = 1
Char.SetDecisionMaker(81@, 235@)
Char.SetBleeding(81@, True)
Char.SetOnlyDamagedByPlayer(81@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(81@, 188@)
82@ = Blip.AddForChar(81@)
Blip.SetAsFriendly(82@, True)
Blip.ChangeScale(82@, 2)
100@ = 1

:AMBULAN_3842
if 
  37@ > 1
goto_if_false @AMBULAN_3969
84@ = Char.CreateRandom(114@, 127@, 140@)
86@ = 1
Char.SetDecisionMaker(84@, 235@)
Char.SetBleeding(84@, True)
Char.SetOnlyDamagedByPlayer(84@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(84@, 188@)
85@ = Blip.AddForChar(84@)
Blip.SetAsFriendly(85@, True)
Blip.ChangeScale(85@, 2)
Char.FreezePositionAndDontLoadCollision(84@, True)
Char.SetLoadCollisionFlag(84@, False)
101@ = 1

:AMBULAN_3969
if 
  37@ > 2
goto_if_false @AMBULAN_4096
87@ = Char.CreateRandom(115@, 128@, 141@)
89@ = 1
Char.SetDecisionMaker(87@, 235@)
Char.SetBleeding(87@, True)
Char.SetOnlyDamagedByPlayer(87@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(87@, 188@)
88@ = Blip.AddForChar(87@)
Blip.SetAsFriendly(88@, True)
Blip.ChangeScale(88@, 2)
Char.FreezePositionAndDontLoadCollision(87@, True)
Char.SetLoadCollisionFlag(87@, False)
102@ = 1

:AMBULAN_4096
if 
  37@ > 3
goto_if_false @AMBULAN_4223
90@ = Char.CreateRandom(116@, 129@, 142@)
92@ = 1
Char.SetDecisionMaker(90@, 235@)
Char.SetBleeding(90@, True)
Char.SetOnlyDamagedByPlayer(90@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(90@, 188@)
91@ = Blip.AddForChar(90@)
Blip.SetAsFriendly(91@, True)
Blip.ChangeScale(91@, 2)
Char.FreezePositionAndDontLoadCollision(90@, True)
Char.SetLoadCollisionFlag(90@, False)
103@ = 1

:AMBULAN_4223
if 
  37@ > 4
goto_if_false @AMBULAN_4350
93@ = Char.CreateRandom(117@, 130@, 143@)
95@ = 1
Char.SetDecisionMaker(93@, 235@)
Char.SetBleeding(93@, True)
Char.SetOnlyDamagedByPlayer(93@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(93@, 188@)
94@ = Blip.AddForChar(93@)
Blip.SetAsFriendly(94@, True)
Blip.ChangeScale(94@, 2)
Char.FreezePositionAndDontLoadCollision(93@, True)
Char.SetLoadCollisionFlag(93@, False)
104@ = 1

:AMBULAN_4350
if 
  37@ > 5
goto_if_false @AMBULAN_4477
56@ = Char.CreateRandom(118@, 131@, 144@)
58@ = 1
Char.SetDecisionMaker(56@, 235@)
Char.SetBleeding(56@, True)
Char.SetOnlyDamagedByPlayer(56@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(56@, 188@)
57@ = Blip.AddForChar(56@)
Blip.SetAsFriendly(57@, True)
Blip.ChangeScale(57@, 2)
Char.FreezePositionAndDontLoadCollision(56@, True)
Char.SetLoadCollisionFlag(56@, False)
105@ = 1

:AMBULAN_4477
if 
  37@ > 6
goto_if_false @AMBULAN_4604
59@ = Char.CreateRandom(119@, 132@, 145@)
61@ = 1
Char.SetDecisionMaker(59@, 235@)
Char.SetBleeding(59@, True)
Char.SetOnlyDamagedByPlayer(59@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(59@, 188@)
60@ = Blip.AddForChar(59@)
Blip.SetAsFriendly(60@, True)
Blip.ChangeScale(60@, 2)
Char.FreezePositionAndDontLoadCollision(59@, True)
Char.SetLoadCollisionFlag(59@, False)
106@ = 1

:AMBULAN_4604
if 
  37@ > 7
goto_if_false @AMBULAN_4731
62@ = Char.CreateRandom(120@, 133@, 146@)
64@ = 1
Char.SetDecisionMaker(62@, 235@)
Char.SetBleeding(62@, True)
Char.SetOnlyDamagedByPlayer(62@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(62@, 188@)
63@ = Blip.AddForChar(62@)
Blip.SetAsFriendly(63@, True)
Blip.ChangeScale(63@, 2)
Char.FreezePositionAndDontLoadCollision(62@, True)
Char.SetLoadCollisionFlag(62@, False)
107@ = 1

:AMBULAN_4731
if 
  37@ > 8
goto_if_false @AMBULAN_4858
65@ = Char.CreateRandom(121@, 134@, 147@)
67@ = 1
Char.SetDecisionMaker(65@, 235@)
Char.SetBleeding(65@, True)
Char.SetOnlyDamagedByPlayer(65@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(65@, 188@)
66@ = Blip.AddForChar(65@)
Blip.SetAsFriendly(66@, True)
Blip.ChangeScale(66@, 2)
Char.FreezePositionAndDontLoadCollision(65@, True)
Char.SetLoadCollisionFlag(65@, False)
108@ = 1

:AMBULAN_4858
if 
  37@ > 9
goto_if_false @AMBULAN_4985
68@ = Char.CreateRandom(122@, 135@, 148@)
70@ = 1
Char.SetDecisionMaker(68@, 235@)
Char.SetBleeding(68@, True)
Char.SetOnlyDamagedByPlayer(68@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(68@, 188@)
69@ = Blip.AddForChar(68@)
Blip.SetAsFriendly(69@, True)
Blip.ChangeScale(69@, 2)
Char.FreezePositionAndDontLoadCollision(68@, True)
Char.SetLoadCollisionFlag(68@, False)
109@ = 1

:AMBULAN_4985
if 
  37@ > 10
goto_if_false @AMBULAN_5112
71@ = Char.CreateRandom(123@, 136@, 149@)
73@ = 1
Char.SetDecisionMaker(71@, 235@)
Char.SetBleeding(71@, True)
Char.SetOnlyDamagedByPlayer(71@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(71@, 188@)
72@ = Blip.AddForChar(71@)
Blip.SetAsFriendly(72@, True)
Blip.ChangeScale(72@, 2)
Char.FreezePositionAndDontLoadCollision(71@, True)
Char.SetLoadCollisionFlag(71@, False)
110@ = 1

:AMBULAN_5112
if 
  37@ > 11
goto_if_false @AMBULAN_5239
74@ = Char.CreateRandom(124@, 137@, 150@)
76@ = 1
Char.SetDecisionMaker(74@, 235@)
Char.SetBleeding(74@, True)
Char.SetOnlyDamagedByPlayer(74@, True)
188@ = Math.RandomFloatInRange(0.0, 359.9)
Char.SetHeading(74@, 188@)
75@ = Blip.AddForChar(74@)
Blip.SetAsFriendly(75@, True)
Blip.ChangeScale(75@, 2)
Char.FreezePositionAndDontLoadCollision(74@, True)
Char.SetLoadCollisionFlag(74@, False)
111@ = 1

:AMBULAN_5239
return 

:AMBULAN_5241
switch_start 239@ {numCases} 12 {hasDefaultCase} 1 {defaultLabel} @AMBULAN_7781 {caseNum1} 0 {caseLabel1} @AMBULAN_5369 {caseNum2} 1 {caseLabel2} @AMBULAN_5570 {caseNum3} 2 {caseLabel3} @AMBULAN_5771 {caseNum4} 3 {caseLabel4} @AMBULAN_5972 {caseNum5} 4 {caseLabel5} @AMBULAN_6173 {caseNum6} 5 {caseLabel6} @AMBULAN_6374 {caseNum7} 6 {caseLabel7} @AMBULAN_6575
switch_continued 7 {caseLabel1} @AMBULAN_6776 {caseNum2} 8 {caseLabel2} @AMBULAN_6977 {caseNum3} 9 {caseLabel3} @AMBULAN_7178 {caseNum4} 10 {caseLabel4} @AMBULAN_7379 {caseNum5} 11 {caseLabel5} @AMBULAN_7580 {caseNum6} -1 {caseLabel6} @AMBULAN_7795 {caseNum7} -1 {caseLabel7} @AMBULAN_7795 {caseNum8} -1 {caseLabel8} @AMBULAN_7795 {caseNum9} -1 {caseLabel9} @AMBULAN_7795

:AMBULAN_5369
if 
  37@ > 0
goto_if_false @AMBULAN_5556
if 
  3 > 83@
goto_if_false @AMBULAN_5556
if 
  not Char.IsDead(81@)
goto_if_false @AMBULAN_5556
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 81@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_5517
if 
  100@ == 1
goto_if_false @AMBULAN_5510
Char.FreezePositionAndDontLoadCollision(81@, False)
Char.SetLoadCollisionFlag(81@, True)
Char.SetCoordinates(81@, 113@, 126@, 139@)
100@ = 0

:AMBULAN_5510
goto @AMBULAN_5556

:AMBULAN_5517
if 
  100@ == 0
goto_if_false @AMBULAN_5556
Char.FreezePositionAndDontLoadCollision(81@, True)
Char.SetLoadCollisionFlag(81@, False)
100@ = 1

:AMBULAN_5556
239@ += 1
goto @AMBULAN_7795

:AMBULAN_5570
if 
  37@ > 1
goto_if_false @AMBULAN_5757
if 
  3 > 86@
goto_if_false @AMBULAN_5757
if 
  not Char.IsDead(84@)
goto_if_false @AMBULAN_5757
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 84@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_5718
if 
  101@ == 1
goto_if_false @AMBULAN_5711
Char.FreezePositionAndDontLoadCollision(84@, False)
Char.SetLoadCollisionFlag(84@, True)
Char.SetCoordinates(84@, 114@, 127@, 140@)
101@ = 0

:AMBULAN_5711
goto @AMBULAN_5757

:AMBULAN_5718
if 
  101@ == 0
goto_if_false @AMBULAN_5757
Char.FreezePositionAndDontLoadCollision(84@, True)
Char.SetLoadCollisionFlag(84@, False)
101@ = 1

:AMBULAN_5757
239@ += 1
goto @AMBULAN_7795

:AMBULAN_5771
if 
  37@ > 2
goto_if_false @AMBULAN_5958
if 
  3 > 89@
goto_if_false @AMBULAN_5958
if 
  not Char.IsDead(87@)
goto_if_false @AMBULAN_5958
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 87@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_5919
if 
  102@ == 1
goto_if_false @AMBULAN_5912
Char.FreezePositionAndDontLoadCollision(87@, False)
Char.SetLoadCollisionFlag(87@, True)
Char.SetCoordinates(87@, 115@, 128@, 141@)
102@ = 0

:AMBULAN_5912
goto @AMBULAN_5958

:AMBULAN_5919
if 
  102@ == 0
goto_if_false @AMBULAN_5958
Char.FreezePositionAndDontLoadCollision(87@, True)
Char.SetLoadCollisionFlag(87@, False)
102@ = 1

:AMBULAN_5958
239@ += 1
goto @AMBULAN_7795

:AMBULAN_5972
if 
  37@ > 3
goto_if_false @AMBULAN_6159
if 
  3 > 92@
goto_if_false @AMBULAN_6159
if 
  not Char.IsDead(90@)
goto_if_false @AMBULAN_6159
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 90@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_6120
if 
  103@ == 1
goto_if_false @AMBULAN_6113
Char.FreezePositionAndDontLoadCollision(90@, False)
Char.SetLoadCollisionFlag(90@, True)
Char.SetCoordinates(90@, 116@, 129@, 142@)
103@ = 0

:AMBULAN_6113
goto @AMBULAN_6159

:AMBULAN_6120
if 
  103@ == 0
goto_if_false @AMBULAN_6159
Char.FreezePositionAndDontLoadCollision(90@, True)
Char.SetLoadCollisionFlag(90@, False)
103@ = 1

:AMBULAN_6159
239@ += 1
goto @AMBULAN_7795

:AMBULAN_6173
if 
  37@ > 4
goto_if_false @AMBULAN_6360
if 
  3 > 95@
goto_if_false @AMBULAN_6360
if 
  not Char.IsDead(93@)
goto_if_false @AMBULAN_6360
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 93@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_6321
if 
  104@ == 1
goto_if_false @AMBULAN_6314
Char.FreezePositionAndDontLoadCollision(93@, False)
Char.SetLoadCollisionFlag(93@, True)
Char.SetCoordinates(93@, 117@, 130@, 143@)
104@ = 0

:AMBULAN_6314
goto @AMBULAN_6360

:AMBULAN_6321
if 
  104@ == 0
goto_if_false @AMBULAN_6360
Char.FreezePositionAndDontLoadCollision(93@, True)
Char.SetLoadCollisionFlag(93@, False)
104@ = 1

:AMBULAN_6360
239@ += 1
goto @AMBULAN_7795

:AMBULAN_6374
if 
  37@ > 5
goto_if_false @AMBULAN_6561
if 
  3 > 58@
goto_if_false @AMBULAN_6561
if 
  not Char.IsDead(56@)
goto_if_false @AMBULAN_6561
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 56@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_6522
if 
  105@ == 1
goto_if_false @AMBULAN_6515
Char.FreezePositionAndDontLoadCollision(56@, False)
Char.SetLoadCollisionFlag(56@, True)
Char.SetCoordinates(56@, 118@, 131@, 144@)
105@ = 0

:AMBULAN_6515
goto @AMBULAN_6561

:AMBULAN_6522
if 
  105@ == 0
goto_if_false @AMBULAN_6561
Char.FreezePositionAndDontLoadCollision(56@, True)
Char.SetLoadCollisionFlag(56@, False)
105@ = 1

:AMBULAN_6561
239@ += 1
goto @AMBULAN_7795

:AMBULAN_6575
if 
  37@ > 6
goto_if_false @AMBULAN_6762
if 
  3 > 61@
goto_if_false @AMBULAN_6762
if 
  not Char.IsDead(59@)
goto_if_false @AMBULAN_6762
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 59@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_6723
if 
  106@ == 1
goto_if_false @AMBULAN_6716
Char.FreezePositionAndDontLoadCollision(59@, False)
Char.SetLoadCollisionFlag(59@, True)
Char.SetCoordinates(59@, 119@, 132@, 145@)
106@ = 0

:AMBULAN_6716
goto @AMBULAN_6762

:AMBULAN_6723
if 
  106@ == 0
goto_if_false @AMBULAN_6762
Char.FreezePositionAndDontLoadCollision(59@, True)
Char.SetLoadCollisionFlag(59@, False)
106@ = 1

:AMBULAN_6762
239@ += 1
goto @AMBULAN_7795

:AMBULAN_6776
if 
  37@ > 7
goto_if_false @AMBULAN_6963
if 
  3 > 64@
goto_if_false @AMBULAN_6963
if 
  not Char.IsDead(62@)
goto_if_false @AMBULAN_6963
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 62@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_6924
if 
  107@ == 1
goto_if_false @AMBULAN_6917
Char.FreezePositionAndDontLoadCollision(62@, False)
Char.SetLoadCollisionFlag(62@, True)
Char.SetCoordinates(62@, 120@, 133@, 146@)
107@ = 0

:AMBULAN_6917
goto @AMBULAN_6963

:AMBULAN_6924
if 
  107@ == 0
goto_if_false @AMBULAN_6963
Char.FreezePositionAndDontLoadCollision(62@, True)
Char.SetLoadCollisionFlag(62@, False)
107@ = 1

:AMBULAN_6963
239@ += 1
goto @AMBULAN_7795

:AMBULAN_6977
if 
  37@ > 8
goto_if_false @AMBULAN_7164
if 
  3 > 67@
goto_if_false @AMBULAN_7164
if 
  not Char.IsDead(65@)
goto_if_false @AMBULAN_7164
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 65@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_7125
if 
  108@ == 1
goto_if_false @AMBULAN_7118
Char.FreezePositionAndDontLoadCollision(65@, False)
Char.SetLoadCollisionFlag(65@, True)
Char.SetCoordinates(65@, 121@, 134@, 147@)
108@ = 0

:AMBULAN_7118
goto @AMBULAN_7164

:AMBULAN_7125
if 
  108@ == 0
goto_if_false @AMBULAN_7164
Char.FreezePositionAndDontLoadCollision(65@, True)
Char.SetLoadCollisionFlag(65@, False)
108@ = 1

:AMBULAN_7164
239@ += 1
goto @AMBULAN_7795

:AMBULAN_7178
if 
  37@ > 9
goto_if_false @AMBULAN_7365
if 
  3 > 70@
goto_if_false @AMBULAN_7365
if 
  not Char.IsDead(68@)
goto_if_false @AMBULAN_7365
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 68@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_7326
if 
  109@ == 1
goto_if_false @AMBULAN_7319
Char.FreezePositionAndDontLoadCollision(68@, False)
Char.SetLoadCollisionFlag(68@, True)
Char.SetCoordinates(68@, 122@, 135@, 148@)
109@ = 0

:AMBULAN_7319
goto @AMBULAN_7365

:AMBULAN_7326
if 
  109@ == 0
goto_if_false @AMBULAN_7365
Char.FreezePositionAndDontLoadCollision(68@, True)
Char.SetLoadCollisionFlag(68@, False)
109@ = 1

:AMBULAN_7365
239@ += 1
goto @AMBULAN_7795

:AMBULAN_7379
if 
  37@ > 10
goto_if_false @AMBULAN_7566
if 
  3 > 73@
goto_if_false @AMBULAN_7566
if 
  not Char.IsDead(71@)
goto_if_false @AMBULAN_7566
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 71@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_7527
if 
  110@ == 1
goto_if_false @AMBULAN_7520
Char.FreezePositionAndDontLoadCollision(71@, False)
Char.SetLoadCollisionFlag(71@, True)
Char.SetCoordinates(71@, 123@, 136@, 149@)
110@ = 0

:AMBULAN_7520
goto @AMBULAN_7566

:AMBULAN_7527
if 
  110@ == 0
goto_if_false @AMBULAN_7566
Char.FreezePositionAndDontLoadCollision(71@, True)
Char.SetLoadCollisionFlag(71@, False)
110@ = 1

:AMBULAN_7566
239@ += 1
goto @AMBULAN_7795

:AMBULAN_7580
if 
  37@ > 11
goto_if_false @AMBULAN_7767
if 
  3 > 76@
goto_if_false @AMBULAN_7767
if 
  not Char.IsDead(74@)
goto_if_false @AMBULAN_7767
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 74@, 50.0, 50.0, 20.0, False)
goto_if_false @AMBULAN_7728
if 
  111@ == 1
goto_if_false @AMBULAN_7721
Char.FreezePositionAndDontLoadCollision(74@, False)
Char.SetLoadCollisionFlag(74@, True)
Char.SetCoordinates(74@, 124@, 137@, 150@)
111@ = 0

:AMBULAN_7721
goto @AMBULAN_7767

:AMBULAN_7728
if 
  111@ == 0
goto_if_false @AMBULAN_7767
Char.FreezePositionAndDontLoadCollision(74@, True)
Char.SetLoadCollisionFlag(74@, False)
111@ = 1

:AMBULAN_7767
239@ += 1
goto @AMBULAN_7795

:AMBULAN_7781
239@ = 0
goto @AMBULAN_7795

:AMBULAN_7795
return 

:AMBULAN_7797
wait 0
170@, 171@, 172@ = Char.GetCoordinates($stattreadstamina_ctr)
set_lvar_float_to_lvar_float 190@ = 167@
set_lvar_float_to_lvar_float 193@ = 167@
set_lvar_float_to_lvar_float 191@ = 168@
set_lvar_float_to_lvar_float 194@ = 168@
set_lvar_float_to_lvar_float 192@ = 169@
set_lvar_float_to_lvar_float 195@ = 169@
96@ = World.GetCityFromCoords(170@, 171@, 172@)
cset_lvar_float_to_var_int 237@ =# $fire_time_limit
237@ *= 60.0
add_float_lvar_to_float_lvar 237@ += 238@
if 
  96@ == 0
goto_if_false @AMBULAN_7938
238@ += 15.0
goto @AMBULAN_7948

:AMBULAN_7938
238@ += 1.0

:AMBULAN_7948
if 
  100.0 > 237@
goto_if_false @AMBULAN_7979
237@ = 100.0

:AMBULAN_7979
if 
  238@ > 10000.0
goto_if_false @AMBULAN_8045
if 
  $fire_time_limit == 1
goto_if_false @AMBULAN_8045
Text.ClearThisPrint('ALEVEL')
Text.PrintNow('A_CANC', 3000, 1)

:AMBULAN_8045
sub_float_lvar_from_float_lvar 190@ -= 237@
add_float_lvar_to_float_lvar 193@ += 237@
sub_float_lvar_from_float_lvar 191@ -= 237@
add_float_lvar_to_float_lvar 194@ += 237@
if 
  8 > $fire_time_limit
goto_if_false @AMBULAN_8210
if 
  is_float_lvar_greater_than_float_lvar 197@ > 190@
goto_if_false @AMBULAN_8122
set_lvar_float_to_lvar_float 190@ = 197@

:AMBULAN_8122
if 
  is_float_lvar_greater_than_float_lvar 193@ > 198@
goto_if_false @AMBULAN_8149
set_lvar_float_to_lvar_float 193@ = 198@

:AMBULAN_8149
if 
  is_float_lvar_greater_than_float_lvar 199@ > 191@
goto_if_false @AMBULAN_8176
set_lvar_float_to_lvar_float 191@ = 199@

:AMBULAN_8176
if 
  is_float_lvar_greater_than_float_lvar 166@ > 200@
goto_if_false @AMBULAN_8203
set_lvar_float_to_lvar_float 194@ = 200@

:AMBULAN_8203
goto @AMBULAN_8242

:AMBULAN_8210
set_lvar_float_to_lvar_float 190@ = 197@
set_lvar_float_to_lvar_float 193@ = 198@
set_lvar_float_to_lvar_float 191@ = 199@
set_lvar_float_to_lvar_float 194@ = 200@

:AMBULAN_8242
165@ = Math.RandomFloatInRange(190@, 193@)
166@ = Math.RandomFloatInRange(191@, 194@)
$LStickX = Pad.GetControllerMode()
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @AMBULAN_8293
53@ = 1

:AMBULAN_8293
if 
  53@ == 1
goto_if_false @AMBULAN_8394
if 
  $LStickX <> 3
goto_if_false @AMBULAN_8389
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @AMBULAN_8382
Text.ClearThisPrint('ALEVEL')
Text.PrintNow('A_CANC', 3000, 1)
79@ = 1
return 

:AMBULAN_8382
goto @AMBULAN_8394

:AMBULAN_8389
$LStickX = Pad.GetControllerMode()

:AMBULAN_8394
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @AMBULAN_8465
if 
  not Char.IsInModel($stattreadstamina_ctr, 416)
goto_if_false @AMBULAN_8465
Text.ClearThisPrint('ALEVEL')
Text.PrintNow('A_CANC', 3000, 1)
79@ = 1
return 

:AMBULAN_8465
176@, 177@, 178@ = Path.GetClosestCharNode(165@, 166@, 169@)
if 
  is_float_lvar_greater_than_float_lvar 197@ > 176@
goto_if_false @AMBULAN_8518
goto @AMBULAN_7797
goto @AMBULAN_8610

:AMBULAN_8518
if 
  is_float_lvar_greater_than_float_lvar 176@ > 198@
goto_if_false @AMBULAN_8551
goto @AMBULAN_7797
goto @AMBULAN_8610

:AMBULAN_8551
if 
  is_float_lvar_greater_than_float_lvar 199@ > 177@
goto_if_false @AMBULAN_8584
goto @AMBULAN_7797
goto @AMBULAN_8610

:AMBULAN_8584
if 
  is_float_lvar_greater_than_float_lvar 177@ > 200@
goto_if_false @AMBULAN_8610
goto @AMBULAN_7797

:AMBULAN_8610
if 
  6.0 > 178@
goto_if_false @AMBULAN_8638
goto @AMBULAN_7797

:AMBULAN_8638
185@ = Math.GetDistanceBetweenCoords3D(170@, 171@, 172@, 176@, 177@, 178@)
if 
  50.0 > 185@
goto_if_false @AMBULAN_8689
goto @AMBULAN_7797

:AMBULAN_8689
186@ = Math.GetDistanceBetweenCoords3D(167@, 168@, 169@, 176@, 177@, 178@)
if 
  30.0 > 186@
goto_if_false @AMBULAN_8740
goto @AMBULAN_7797

:AMBULAN_8740
$trigger_phonecall_failed = Stat.GetInt(StatId.CitiesPassed)
if 
  2 > $trigger_phonecall_failed
goto_if_false @AMBULAN_9202
if 
  $trigger_phonecall_failed == 0
goto_if_false @AMBULAN_9016
if and
  78.4427 > 176@
  -699.519 > 177@
goto_if_false @AMBULAN_8826
wait 0
goto @AMBULAN_7797

:AMBULAN_8826
if and
  -252.6557 > 176@
  -285.766 > 177@
goto_if_false @AMBULAN_8868
wait 0
goto @AMBULAN_7797

:AMBULAN_8868
if 
  -948.3447 > 176@
goto_if_false @AMBULAN_8900
wait 0
goto @AMBULAN_7797

:AMBULAN_8900
if and
  176@ > 1473.448
  177@ > 403.7353
goto_if_false @AMBULAN_8942
wait 0
goto @AMBULAN_7797

:AMBULAN_8942
if 
  177@ > 578.6325
goto_if_false @AMBULAN_8974
wait 0
goto @AMBULAN_7797

:AMBULAN_8974
if and
  837.5551 > 176@
  177@ > 347.4097
goto_if_false @AMBULAN_9016
wait 0
goto @AMBULAN_7797

:AMBULAN_9016
if 
  $trigger_phonecall_failed == 1
goto_if_false @AMBULAN_9202
if and
  176@ > 1473.448
  177@ > 403.7353
goto_if_false @AMBULAN_9076
wait 0
goto @AMBULAN_7797

:AMBULAN_9076
if and
  177@ > 578.6325
  176@ > -1528.498
goto_if_false @AMBULAN_9118
wait 0
goto @AMBULAN_7797

:AMBULAN_9118
if and
  837.5551 > 176@
  176@ > -1528.498
  177@ > 347.4097
goto_if_false @AMBULAN_9170
wait 0
goto @AMBULAN_7797

:AMBULAN_9170
if 
  177@ > 1380.0
goto_if_false @AMBULAN_9202
wait 0
goto @AMBULAN_7797

:AMBULAN_9202
if 
  37@ > 0
goto_if_false @AMBULAN_9271
212@ = Math.GetDistanceBetweenCoords3D(113@, 126@, 139@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_9271
goto @AMBULAN_7797

:AMBULAN_9271
if 
  37@ > 1
goto_if_false @AMBULAN_9340
212@ = Math.GetDistanceBetweenCoords3D(113@, 126@, 139@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_9340
goto @AMBULAN_7797

:AMBULAN_9340
if 
  37@ > 2
goto_if_false @AMBULAN_9409
212@ = Math.GetDistanceBetweenCoords3D(114@, 127@, 140@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_9409
goto @AMBULAN_7797

:AMBULAN_9409
if 
  37@ > 3
goto_if_false @AMBULAN_9478
212@ = Math.GetDistanceBetweenCoords3D(115@, 128@, 141@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_9478
goto @AMBULAN_7797

:AMBULAN_9478
if 
  37@ > 4
goto_if_false @AMBULAN_9547
212@ = Math.GetDistanceBetweenCoords3D(116@, 129@, 142@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_9547
goto @AMBULAN_7797

:AMBULAN_9547
if 
  37@ > 5
goto_if_false @AMBULAN_9616
212@ = Math.GetDistanceBetweenCoords3D(117@, 130@, 143@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_9616
goto @AMBULAN_7797

:AMBULAN_9616
if 
  37@ > 6
goto_if_false @AMBULAN_9685
212@ = Math.GetDistanceBetweenCoords3D(118@, 131@, 144@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_9685
goto @AMBULAN_7797

:AMBULAN_9685
if 
  37@ > 7
goto_if_false @AMBULAN_9754
212@ = Math.GetDistanceBetweenCoords3D(119@, 132@, 145@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_9754
goto @AMBULAN_7797

:AMBULAN_9754
if 
  37@ > 8
goto_if_false @AMBULAN_9823
212@ = Math.GetDistanceBetweenCoords3D(120@, 133@, 146@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_9823
goto @AMBULAN_7797

:AMBULAN_9823
if 
  37@ > 9
goto_if_false @AMBULAN_9892
212@ = Math.GetDistanceBetweenCoords3D(121@, 134@, 147@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_9892
goto @AMBULAN_7797

:AMBULAN_9892
if 
  37@ > 10
goto_if_false @AMBULAN_9961
212@ = Math.GetDistanceBetweenCoords3D(122@, 135@, 148@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_9961
goto @AMBULAN_7797

:AMBULAN_9961
if 
  37@ > 11
goto_if_false @AMBULAN_10030
212@ = Math.GetDistanceBetweenCoords3D(123@, 136@, 149@, 176@, 177@, 178@)
if 
  25.0 > 212@
goto_if_false @AMBULAN_10030
goto @AMBULAN_7797

:AMBULAN_10030
if 
  World.IsPointObscuredByAMissionEntity(176@, 177@, 177@, 25.0, 25.0, 10.0)
goto_if_false @AMBULAN_10074
goto @AMBULAN_7797

:AMBULAN_10074
if 
  1186.0 > 176@
goto_if_false @AMBULAN_10165
if 
  176@ > 1047.0
goto_if_false @AMBULAN_10165
if 
  -1406.0 > 177@
goto_if_false @AMBULAN_10165
if 
  177@ > -1567.0
goto_if_false @AMBULAN_10165
goto @AMBULAN_7797

:AMBULAN_10165
if 
  1444.0 > 176@
goto_if_false @AMBULAN_10256
if 
  176@ > 1339.0
goto_if_false @AMBULAN_10256
if 
  -1450.0 > 177@
goto_if_false @AMBULAN_10256
if 
  177@ > -1504.0
goto_if_false @AMBULAN_10256
goto @AMBULAN_7797

:AMBULAN_10256
if 
  2041.979 > 176@
goto_if_false @AMBULAN_10347
if 
  176@ > 1999.387
goto_if_false @AMBULAN_10347
if 
  -1408.708 > 177@
goto_if_false @AMBULAN_10347
if 
  177@ > -1445.462
goto_if_false @AMBULAN_10347
goto @AMBULAN_7797

:AMBULAN_10347
if 
  1202.0 > 176@
goto_if_false @AMBULAN_10438
if 
  176@ > 1162.0
goto_if_false @AMBULAN_10438
if 
  -1238.0 > 177@
goto_if_false @AMBULAN_10438
if 
  177@ > -1250.0
goto_if_false @AMBULAN_10438
goto @AMBULAN_7797

:AMBULAN_10438
if 
  1176.0 > 176@
goto_if_false @AMBULAN_10529
if 
  176@ > 1158.0
goto_if_false @AMBULAN_10529
if 
  1364.0 > 177@
goto_if_false @AMBULAN_10529
if 
  177@ > 1345.0
goto_if_false @AMBULAN_10529
goto @AMBULAN_7797

:AMBULAN_10529
if 
  -2307.0 > 176@
goto_if_false @AMBULAN_10620
if 
  176@ > -2333.0
goto_if_false @AMBULAN_10620
if 
  1100.0 > 177@
goto_if_false @AMBULAN_10620
if 
  177@ > 1036.0
goto_if_false @AMBULAN_10620
goto @AMBULAN_7797

:AMBULAN_10620
if 
  2009.0 > 176@
goto_if_false @AMBULAN_10711
if 
  176@ > 1989.0
goto_if_false @AMBULAN_10711
if 
  1571.0 > 177@
goto_if_false @AMBULAN_10711
if 
  177@ > 1513.0
goto_if_false @AMBULAN_10711
goto @AMBULAN_7797

:AMBULAN_10711
if 
  2632.818 > 176@
goto_if_false @AMBULAN_10802
if 
  176@ > 2546.463
goto_if_false @AMBULAN_10802
if 
  -1129.673 > 177@
goto_if_false @AMBULAN_10802
if 
  177@ > -1144.012
goto_if_false @AMBULAN_10802
goto @AMBULAN_7797

:AMBULAN_10802
if 
  -222.5044 > 176@
goto_if_false @AMBULAN_10893
if 
  176@ > -229.096
goto_if_false @AMBULAN_10893
if 
  1412.086 > 177@
goto_if_false @AMBULAN_10893
if 
  177@ > 1393.817
goto_if_false @AMBULAN_10893
goto @AMBULAN_7797

:AMBULAN_10893
238@ = 0.0
return 

:AMBULAN_10905
if 
  2 > 37@
goto_if_false @AMBULAN_11014
if 
  is_float_lvar_greater_than_float_lvar 185@ > 186@
goto_if_false @AMBULAN_10965
set_lvar_float_to_lvar_float 187@ = 185@
div_float_lvar_by_float_lvar 187@ /= 189@
goto @AMBULAN_10981

:AMBULAN_10965
set_lvar_float_to_lvar_float 187@ = 186@
div_float_lvar_by_float_lvar 187@ /= 189@

:AMBULAN_10981
187@ *= 1000.0
cset_lvar_int_to_lvar_float 35@ =# 187@
add_int_lvar_to_int_var $db_fires_extinguished += 35@
goto @AMBULAN_11056

:AMBULAN_11014
set_lvar_float_to_lvar_float 187@ = 186@
div_float_lvar_by_float_lvar 187@ /= 189@
187@ *= 1000.0
cset_lvar_int_to_lvar_float 35@ =# 187@
add_int_lvar_to_int_var $db_fires_extinguished += 35@

:AMBULAN_11056
return 

:AMBULAN_11058
wait 0
if 
  $db_fires_extinguished == 0
goto_if_false @AMBULAN_11110
Text.PrintNow('A_FAIL2', 3000, 1)
79@ = 1
goto @AMBULAN_13127

:AMBULAN_11110
$LStickX = Pad.GetControllerMode()
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @AMBULAN_11139
53@ = 1

:AMBULAN_11139
if 
  53@ == 1
goto_if_false @AMBULAN_11197
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @AMBULAN_11197
Text.PrintNow('A_CANC', 3000, 1)
goto @AMBULAN_13127

:AMBULAN_11197
if 
  not Char.IsInModel($stattreadstamina_ctr, 416)
goto_if_false @AMBULAN_11246
Text.PrintNow('A_CANC', 3000, 1)
goto @AMBULAN_13127
goto @AMBULAN_11302

:AMBULAN_11246
34@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not Car.IsDead(34@)
goto_if_false @AMBULAN_11302
43@ = Car.GetNumberOfPassengers(34@)
42@ = Car.GetMaximumNumberOfPassengers(34@)
set_var_int_to_lvar_int $fire_zone_name = 42@
sub_int_lvar_from_int_var $fire_zone_name -= 43@

:AMBULAN_11302
if and
  37@ > 6
  45@ == 2
  51@ == 0
goto_if_false @AMBULAN_11348
45@ = 1
51@ += 1

:AMBULAN_11348
if and
  37@ > 9
  45@ == 2
  51@ == 1
goto_if_false @AMBULAN_11394
45@ = 1
51@ += 1

:AMBULAN_11394
if and
  37@ > 12
  45@ == 2
  51@ == 2
goto_if_false @AMBULAN_11440
45@ = 1
51@ += 1

:AMBULAN_11440
gosub @AMBULAN_5241
if 
  52@ == 1
goto_if_false @AMBULAN_11496
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, 167@, 168@, 169@, 6.0, 6.0, 2.0, True)

:AMBULAN_11496
switch_start 240@ {numCases} 12 {hasDefaultCase} 1 {defaultLabel} @AMBULAN_12776 {caseNum1} 0 {caseLabel1} @AMBULAN_11624 {caseNum2} 1 {caseLabel2} @AMBULAN_11720 {caseNum3} 2 {caseLabel3} @AMBULAN_11816 {caseNum4} 3 {caseLabel4} @AMBULAN_11912 {caseNum5} 4 {caseLabel5} @AMBULAN_12008 {caseNum6} 5 {caseLabel6} @AMBULAN_12104 {caseNum7} 6 {caseLabel7} @AMBULAN_12200
switch_continued 7 {caseLabel1} @AMBULAN_12296 {caseNum2} 8 {caseLabel2} @AMBULAN_12392 {caseNum3} 9 {caseLabel3} @AMBULAN_12488 {caseNum4} 10 {caseLabel4} @AMBULAN_12584 {caseNum5} 11 {caseLabel5} @AMBULAN_12680 {caseNum6} -1 {caseLabel6} @AMBULAN_12790 {caseNum7} -1 {caseLabel7} @AMBULAN_12790 {caseNum8} -1 {caseLabel8} @AMBULAN_12790 {caseNum9} -1 {caseLabel9} @AMBULAN_12790

:AMBULAN_11624
if 
  83@ > 0
goto_if_false @AMBULAN_11706
set_lvar_int_to_lvar_int 77@ = 81@
set_lvar_int_to_lvar_int 80@ = 83@
set_lvar_int_to_lvar_int 78@ = 82@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_11698
goto @AMBULAN_13127

:AMBULAN_11698
set_lvar_int_to_lvar_int 83@ = 80@

:AMBULAN_11706
240@ += 1
goto @AMBULAN_12790

:AMBULAN_11720
if 
  86@ > 0
goto_if_false @AMBULAN_11802
set_lvar_int_to_lvar_int 77@ = 84@
set_lvar_int_to_lvar_int 80@ = 86@
set_lvar_int_to_lvar_int 78@ = 85@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_11794
goto @AMBULAN_13127

:AMBULAN_11794
set_lvar_int_to_lvar_int 86@ = 80@

:AMBULAN_11802
240@ += 1
goto @AMBULAN_12790

:AMBULAN_11816
if 
  89@ > 0
goto_if_false @AMBULAN_11898
set_lvar_int_to_lvar_int 77@ = 87@
set_lvar_int_to_lvar_int 80@ = 89@
set_lvar_int_to_lvar_int 78@ = 88@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_11890
goto @AMBULAN_13127

:AMBULAN_11890
set_lvar_int_to_lvar_int 89@ = 80@

:AMBULAN_11898
240@ += 1
goto @AMBULAN_12790

:AMBULAN_11912
if 
  92@ > 0
goto_if_false @AMBULAN_11994
set_lvar_int_to_lvar_int 77@ = 90@
set_lvar_int_to_lvar_int 80@ = 92@
set_lvar_int_to_lvar_int 78@ = 91@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_11986
goto @AMBULAN_13127

:AMBULAN_11986
set_lvar_int_to_lvar_int 92@ = 80@

:AMBULAN_11994
240@ += 1
goto @AMBULAN_12790

:AMBULAN_12008
if 
  95@ > 0
goto_if_false @AMBULAN_12090
set_lvar_int_to_lvar_int 77@ = 93@
set_lvar_int_to_lvar_int 80@ = 95@
set_lvar_int_to_lvar_int 78@ = 94@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_12082
goto @AMBULAN_13127

:AMBULAN_12082
set_lvar_int_to_lvar_int 95@ = 80@

:AMBULAN_12090
240@ += 1
goto @AMBULAN_12790

:AMBULAN_12104
if 
  58@ > 0
goto_if_false @AMBULAN_12186
set_lvar_int_to_lvar_int 77@ = 56@
set_lvar_int_to_lvar_int 80@ = 58@
set_lvar_int_to_lvar_int 78@ = 57@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_12178
goto @AMBULAN_13127

:AMBULAN_12178
set_lvar_int_to_lvar_int 58@ = 80@

:AMBULAN_12186
240@ += 1
goto @AMBULAN_12790

:AMBULAN_12200
if 
  61@ > 0
goto_if_false @AMBULAN_12282
set_lvar_int_to_lvar_int 77@ = 59@
set_lvar_int_to_lvar_int 80@ = 61@
set_lvar_int_to_lvar_int 78@ = 60@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_12274
goto @AMBULAN_13127

:AMBULAN_12274
set_lvar_int_to_lvar_int 61@ = 80@

:AMBULAN_12282
240@ += 1
goto @AMBULAN_12790

:AMBULAN_12296
if 
  64@ > 0
goto_if_false @AMBULAN_12378
set_lvar_int_to_lvar_int 77@ = 62@
set_lvar_int_to_lvar_int 80@ = 64@
set_lvar_int_to_lvar_int 78@ = 63@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_12370
goto @AMBULAN_13127

:AMBULAN_12370
set_lvar_int_to_lvar_int 64@ = 80@

:AMBULAN_12378
240@ += 1
goto @AMBULAN_12790

:AMBULAN_12392
if 
  67@ > 0
goto_if_false @AMBULAN_12474
set_lvar_int_to_lvar_int 77@ = 65@
set_lvar_int_to_lvar_int 80@ = 67@
set_lvar_int_to_lvar_int 78@ = 66@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_12466
goto @AMBULAN_13127

:AMBULAN_12466
set_lvar_int_to_lvar_int 67@ = 80@

:AMBULAN_12474
240@ += 1
goto @AMBULAN_12790

:AMBULAN_12488
if 
  70@ > 0
goto_if_false @AMBULAN_12570
set_lvar_int_to_lvar_int 77@ = 68@
set_lvar_int_to_lvar_int 80@ = 70@
set_lvar_int_to_lvar_int 78@ = 69@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_12562
goto @AMBULAN_13127

:AMBULAN_12562
set_lvar_int_to_lvar_int 70@ = 80@

:AMBULAN_12570
240@ += 1
goto @AMBULAN_12790

:AMBULAN_12584
if 
  73@ > 0
goto_if_false @AMBULAN_12666
set_lvar_int_to_lvar_int 77@ = 71@
set_lvar_int_to_lvar_int 80@ = 73@
set_lvar_int_to_lvar_int 78@ = 72@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_12658
goto @AMBULAN_13127

:AMBULAN_12658
set_lvar_int_to_lvar_int 73@ = 80@

:AMBULAN_12666
240@ += 1
goto @AMBULAN_12790

:AMBULAN_12680
if 
  76@ > 0
goto_if_false @AMBULAN_12762
set_lvar_int_to_lvar_int 77@ = 74@
set_lvar_int_to_lvar_int 80@ = 76@
set_lvar_int_to_lvar_int 78@ = 75@
gosub @AMBULAN_13961
if 
  79@ == 1
goto_if_false @AMBULAN_12754
goto @AMBULAN_13127

:AMBULAN_12754
set_lvar_int_to_lvar_int 76@ = 80@

:AMBULAN_12762
240@ += 1
goto @AMBULAN_12790

:AMBULAN_12776
240@ = 0
goto @AMBULAN_12790

:AMBULAN_12790
if 
  is_int_lvar_equal_to_int_lvar 46@ == 37@
goto_if_false @AMBULAN_13120
set_lvar_int_to_var_int 44@ = $fire_time_limit
mult_int_lvar_by_int_var 44@ *= $fire_time_limit
44@ *= 50
Hud.ForceBigMessageAndCounter(True)
Text.PrintWithNumberBig('REWARD', 44@, 6000, TextStyle.WhiteMiddleSmaller)
add_int_lvar_to_int_var $task_status += 46@
add_int_lvar_to_int_lvar 55@ += 46@
37@ += 1
46@ = 0
36@ = 0
Player.AddScore($statbike_temp, 44@)
52@ = 0
Blip.Remove(47@)
Blip.Remove(82@)
Blip.Remove(85@)
Blip.Remove(88@)
Blip.Remove(91@)
Blip.Remove(94@)
Blip.Remove(57@)
Blip.Remove(60@)
Blip.Remove(63@)
Blip.Remove(66@)
Blip.Remove(69@)
Blip.Remove(72@)
Blip.Remove(75@)
Stat.RegisterInt(StatId.AmbulanceLevel, $fire_time_limit)
$fire_time_limit += 1
if 
  $fire_time_limit == 13
goto_if_false @AMBULAN_13113
Hud.ForceBigMessageAndCounter(True)
Text.PrintWithNumberBig('A_COMP1', 5000, 5000, TextStyle.MiddleSmallerHigher)
Player.AddScore($statbike_temp, 5000)
Audio.PlayMissionPassedTune(2)
if 
  $done_taxiodd_progress == 0
goto_if_false @AMBULAN_13111
Stat.PlayerMadeProgress(1)
Text.Print('A_COMP3', 5000, 1)
196@ = Stat.GetFloat(StatId.MaxHealth)
196@ *= 1.5
Stat.IncrementFloatNoMessage(StatId.MaxHealth, 196@)
Stat.RegisterOddjobMissionPassed
$done_taxiodd_progress = 1

:AMBULAN_13111
return 

:AMBULAN_13113
goto @AMBULAN_3133

:AMBULAN_13120
goto @AMBULAN_11058

:AMBULAN_13127
Hud.ClearTimer($db_fires_extinguished)
Hud.ClearCounter($fire_time_limit)
Hud.ClearCounter($fire_zone_name)
Text.ClearThisPrint('ALEVEL')
if 
  $fire_time_limit <> 13
goto_if_false @AMBULAN_13206
Text.PrintBig('A_FAIL1', 5000, TextStyle.MiddleSmallerHigher)
Text.PrintWithNumberBig('A_SAVES', 55@, 6000, TextStyle.WhiteMiddleSmaller)

:AMBULAN_13206
if 
  $fire_time_limit <> 13
goto_if_false @AMBULAN_13620
if 
  not Char.IsDead(81@)
goto_if_false @AMBULAN_13257
Char.SetOnlyDamagedByPlayer(81@, False)
Char.ExplodeHead(81@)
Char.RemoveElegantly(81@)

:AMBULAN_13257
if 
  not Char.IsDead(84@)
goto_if_false @AMBULAN_13290
Char.SetOnlyDamagedByPlayer(84@, False)
Char.ExplodeHead(84@)
Char.RemoveElegantly(84@)

:AMBULAN_13290
if 
  not Char.IsDead(87@)
goto_if_false @AMBULAN_13323
Char.SetOnlyDamagedByPlayer(87@, False)
Char.ExplodeHead(87@)
Char.RemoveElegantly(87@)

:AMBULAN_13323
if 
  not Char.IsDead(90@)
goto_if_false @AMBULAN_13356
Char.SetOnlyDamagedByPlayer(90@, False)
Char.ExplodeHead(90@)
Char.RemoveElegantly(90@)

:AMBULAN_13356
if 
  not Char.IsDead(93@)
goto_if_false @AMBULAN_13389
Char.SetOnlyDamagedByPlayer(93@, False)
Char.ExplodeHead(93@)
Char.RemoveElegantly(93@)

:AMBULAN_13389
if 
  not Char.IsDead(56@)
goto_if_false @AMBULAN_13422
Char.SetOnlyDamagedByPlayer(56@, False)
Char.ExplodeHead(56@)
Char.RemoveElegantly(56@)

:AMBULAN_13422
if 
  not Char.IsDead(59@)
goto_if_false @AMBULAN_13455
Char.SetOnlyDamagedByPlayer(59@, False)
Char.ExplodeHead(59@)
Char.RemoveElegantly(59@)

:AMBULAN_13455
if 
  not Char.IsDead(62@)
goto_if_false @AMBULAN_13488
Char.SetOnlyDamagedByPlayer(62@, False)
Char.ExplodeHead(62@)
Char.RemoveElegantly(62@)

:AMBULAN_13488
if 
  not Char.IsDead(65@)
goto_if_false @AMBULAN_13521
Char.SetOnlyDamagedByPlayer(65@, False)
Char.ExplodeHead(65@)
Char.RemoveElegantly(65@)

:AMBULAN_13521
if 
  not Char.IsDead(68@)
goto_if_false @AMBULAN_13554
Char.SetOnlyDamagedByPlayer(68@, False)
Char.ExplodeHead(68@)
Char.RemoveElegantly(68@)

:AMBULAN_13554
if 
  not Char.IsDead(71@)
goto_if_false @AMBULAN_13587
Char.SetOnlyDamagedByPlayer(71@, False)
Char.ExplodeHead(71@)
Char.RemoveElegantly(71@)

:AMBULAN_13587
if 
  not Char.IsDead(74@)
goto_if_false @AMBULAN_13620
Char.SetOnlyDamagedByPlayer(74@, False)
Char.ExplodeHead(74@)
Char.RemoveElegantly(74@)

:AMBULAN_13620
Char.MarkAsNoLongerNeeded(81@)
Char.MarkAsNoLongerNeeded(84@)
Char.MarkAsNoLongerNeeded(87@)
Char.MarkAsNoLongerNeeded(90@)
Char.MarkAsNoLongerNeeded(93@)
Char.MarkAsNoLongerNeeded(56@)
Char.MarkAsNoLongerNeeded(59@)
Char.MarkAsNoLongerNeeded(62@)
Char.MarkAsNoLongerNeeded(65@)
Char.MarkAsNoLongerNeeded(68@)
Char.MarkAsNoLongerNeeded(71@)
Char.MarkAsNoLongerNeeded(74@)
52@ = 0
Blip.Remove(47@)
Blip.Remove(82@)
Blip.Remove(85@)
Blip.Remove(88@)
Blip.Remove(91@)
Blip.Remove(94@)
Blip.Remove(57@)
Blip.Remove(60@)
Blip.Remove(63@)
Blip.Remove(66@)
Blip.Remove(69@)
Blip.Remove(72@)
Blip.Remove(75@)
DecisionMaker.Remove(235@)
Game.SetWantedMultiplier(1.0)
$flag_courier_mission_passed = Clock.GetGameTimer()
99@ = 0

:AMBULAN_13776
if 
  10 > 99@
goto_if_false @AMBULAN_13906
if 
  224@(99@,10i) == 1
goto_if_false @AMBULAN_13843
Game.SetRelationship(RelationshipType.Hate, 99@, PedType.Player1)
234@ -= 1
224@(99@,10i) = 0

:AMBULAN_13843
if 
  214@(99@,10i) == 1
goto_if_false @AMBULAN_13892
Game.SetRelationship(RelationshipType.Dislike, 99@, PedType.Player1)
234@ -= 1
214@(99@,10i) = 0

:AMBULAN_13892
99@ += 1
goto @AMBULAN_13776

:AMBULAN_13906
$weapon_shop1_blip = 0
$flag_bmx_trigger = 0
Mission.Finish
if 
  $done_taxiodd_progress == 1
goto_if_false @AMBULAN_13959
$done_taxiodd_progress = 2
Stat.ShowUpdateStats(False)
start_new_script @BACKON 

:AMBULAN_13959
return 

:AMBULAN_13961
if 
  Char.IsDead(77@)
goto_if_false @AMBULAN_14002
Text.PrintNow('A_FAIL3', 3000, 1)
79@ = 1
return 

:AMBULAN_14002
if 
  $db_fires_extinguished == 0
goto_if_false @AMBULAN_14055
Char.ExplodeHead(77@)
Char.RemoveElegantly(77@)
Text.PrintNow('A_FAIL2', 3000, 1)
79@ = 1
return 

:AMBULAN_14055
if 
  80@ == 3
goto_if_false @AMBULAN_14223
179@, 180@, 181@ = Char.GetCoordinates(77@)
40@ = Car.GetHealth(34@)
if 
  is_int_lvar_greater_than_int_lvar 39@ > 40@
goto_if_false @AMBULAN_14223
set_lvar_int_to_lvar_int 41@ = 39@
sub_int_lvar_from_int_lvar 41@ -= 40@
41@ *= 50
set_lvar_int_to_var_int 35@ = $db_fires_extinguished
sub_int_lvar_from_int_lvar 35@ -= 41@
if 
  35@ > 10
goto_if_false @AMBULAN_14179
sub_int_lvar_from_int_var $db_fires_extinguished -= 41@

:AMBULAN_14179
236@ = Char.SetSayContext(77@, 339)
if 
  0 > $db_fires_extinguished
goto_if_false @AMBULAN_14215
$db_fires_extinguished = 0

:AMBULAN_14215
set_lvar_int_to_lvar_int 39@ = 40@

:AMBULAN_14223
if 
  80@ == 1
goto_if_false @AMBULAN_14508
if 
  Char.LocateInCarChar3D($stattreadstamina_ctr, 77@, 10.0, 10.0, 2.0, False)
goto_if_false @AMBULAN_14508
43@ = Car.GetNumberOfPassengers(34@)
42@ = Car.GetMaximumNumberOfPassengers(34@)
if 
  is_int_lvar_equal_to_int_lvar 43@ == 42@
goto_if_false @AMBULAN_14360
if 
  50@ == 0
goto_if_false @AMBULAN_14346
Text.PrintNow('A_FULL', 5000, 1)

:AMBULAN_14346
50@ = 1
goto @AMBULAN_14367

:AMBULAN_14360
50@ = 0

:AMBULAN_14367
39@ = Car.GetHealth(34@)
if 
  50@ == 0
goto_if_false @AMBULAN_14485
if 
  97@ == 0
goto_if_false @AMBULAN_14437
Task.EnterCarAsPassenger(77@, 34@, -2, -1)
97@ = 1
goto @AMBULAN_14478

:AMBULAN_14437
98@ = Char.GetScriptTaskStatus(77@, 1482)
if 
  is_int_lvar_equal_to_constant 98@ == 7
goto_if_false @AMBULAN_14478
Task.EnterCarAsPassenger(77@, 34@, -2, -1)

:AMBULAN_14478
goto @AMBULAN_14501

:AMBULAN_14485
Text.PrintNow('A_FULL', 5000, 1)

:AMBULAN_14501
80@ = 2

:AMBULAN_14508
if 
  80@ == 2
goto_if_false @AMBULAN_14587
if 
  not Char.LocateInCarChar2D($stattreadstamina_ctr, 77@, 20.0, 20.0, False)
goto_if_false @AMBULAN_14564
80@ = 1

:AMBULAN_14564
if 
  not Char.IsSittingInAnyCar(77@)
goto_if_false @AMBULAN_14587
80@ = 1

:AMBULAN_14587
if 
  80@ == 2
goto_if_false @AMBULAN_14730
if 
  Char.IsSittingInAnyCar(77@)
goto_if_false @AMBULAN_14730
97@ = 0
Blip.Remove(78@)
if 
  52@ == 0
goto_if_false @AMBULAN_14672
47@ = Blip.AddForCoord(167@, 168@, 169@)
52@ = 1

:AMBULAN_14672
set_lvar_int_to_lvar_int 49@ = 152@(240@,13i)
49@ /= 1000
Text.PrintWithNumberBig('A_TIME', 49@, 6000, TextStyle.WhiteMiddleSmaller)
add_int_lvar_to_int_var $db_fires_extinguished += 152@(240@,13i)
80@ = 3

:AMBULAN_14730
if 
  80@ == 3
goto_if_false @AMBULAN_14815
if 
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, 167@, 168@, 169@, 6.0, 6.0, 2.0, False)
goto_if_false @AMBULAN_14815
Task.GoStraightToCoord(77@, 173@, 174@, 175@, MoveState.Run, -1)
80@ = 4

:AMBULAN_14815
if 
  80@ == 4
goto_if_false @AMBULAN_15046
if 
  not Char.IsSittingInAnyCar(77@)
goto_if_false @AMBULAN_15046
Task.GoStraightToCoord(77@, 173@, 174@, 175@, MoveState.Run, -1)
Hud.ForceBigMessageAndCounter(True)
Text.PrintBig('A_PASS', 3000, TextStyle.MiddleSmallerHigher)
if 
  45@ == 1
goto_if_false @AMBULAN_14986
set_lvar_int_to_lvar_int 49@ = 48@
49@ /= 1000
Text.PrintWithNumberBig('A_TIME', 49@, 6000, TextStyle.WhiteMiddleSmaller)
34@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
54@ = Car.GetHealth(34@)
54@ += 110
Car.SetHealth(34@, 54@)
add_int_lvar_to_int_var $db_fires_extinguished += 48@
45@ += 1

:AMBULAN_14986
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
46@ += 1
Stat.IncrementInt(StatId.LivesSaved, 1)
80@ = 0
Char.SetBleeding(77@, False)
Char.SetKeepTask(77@, True)
Char.MarkAsNoLongerNeeded(77@)

:AMBULAN_15046
return 

//-------------Mission 123---------------
// Originally: Firefighter Sub-Mission

:FIRETRU
gosub @FIRETRU_16
gosub @FIRETRU_10448
terminate_this_script 

:FIRETRU_16
$weapon_shop1_blip = 1
$flag_nrg500_trigger = 1
script_name 'FIRETRU'
wait 0
if 
  $done_quarry_progress == 0
goto_if_false @FIRETRU_65
Stat.RegisterMissionGiven

:FIRETRU_65
165@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Text.LoadMissionText('FIRETRK')
Stat.ShowUpdateStats(False)
162@ = 0.0
$8219 = 0
79@ = 0
80@ = 0
$fire_zone_name2 = 0
81@ = 0
83@ = 0
82@ = 0
121@ = 7.0
$8217 = 1
77@ = 0
126@ = 0
78@ = 0
84@ = 0
35@ = -1
35@ = -1
35@ = -1
87@ = 0
54@ = 0
55@ = 0
56@ = 0
57@ = 0
58@ = 0
59@ = 0
60@ = 0
61@ = 0
62@ = 0
104@ = 0
105@ = 0
106@ = 0
107@ = 0
108@ = 0
109@ = 0
110@ = 0
111@ = 0
112@ = 0
113@ = 0
114@ = 0
115@ = 0
116@ = 0
117@ = 0
118@ = 0
119@ = 0
$criminal_zone = 0
$random_seed = 0
Game.SetWantedMultiplier(0.5)
if 
  $weapon_shop1_blip == 0
goto_if_false @FIRETRU_789
63@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
64@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
65@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
66@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
67@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
68@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
69@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
70@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
71@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
72@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
73@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
74@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
75@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
76@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
35@ = Car.Create(470, 0.0, 0.0, 0.0)
39@ = Char.Create(PedType.Mission1, 280, 0.0, 0.0, 0.0)
49@ = ScriptFire.CreateCarFire(35@)
50@ = ScriptFire.CreateCarFire(35@)
51@ = ScriptFire.CreateCarFire(35@)
52@ = ScriptFire.CreateCarFire(35@)
53@ = ScriptFire.CreateCharFire(39@)
54@ = ScriptFire.CreateCharFire(39@)
55@ = ScriptFire.CreateCharFire(39@)
56@ = ScriptFire.CreateCharFire(39@)
57@ = ScriptFire.CreateCharFire(39@)
58@ = ScriptFire.CreateCharFire(39@)
59@ = ScriptFire.CreateCharFire(39@)
60@ = ScriptFire.CreateCharFire(39@)
61@ = ScriptFire.CreateCharFire(39@)
62@ = ScriptFire.CreateCharFire(39@)

:FIRETRU_789
88@ = 0
89@ = 0
92@ = 0
93@ = 0
94@ = 0
95@ = 0
96@ = 0
97@ = 0
98@ = 0
99@ = 0
100@ = 0
101@ = 0
102@ = 0
103@ = 0
104@ = 0
105@ = 0
106@ = 0
107@ = 0
108@ = 0
109@ = 0
110@ = 0
111@ = 0
112@ = 0
113@ = 0
114@ = 0
115@ = 0
116@ = 0
117@ = 0
118@ = 0
125@ = Math.RandomIntInRange(25, 44)
if 
  125@ == 25
goto_if_false @FIRETRU_1027
set_lvar_int_to_constant 126@ = 405

:FIRETRU_1027
if 
  125@ == 26
goto_if_false @FIRETRU_1053
set_lvar_int_to_constant 126@ = 418

:FIRETRU_1053
if 
  125@ == 27
goto_if_false @FIRETRU_1079
set_lvar_int_to_constant 126@ = 421

:FIRETRU_1079
if 
  125@ == 28
goto_if_false @FIRETRU_1105
set_lvar_int_to_constant 126@ = 400

:FIRETRU_1105
if 
  125@ == 29
goto_if_false @FIRETRU_1131
set_lvar_int_to_constant 126@ = 404

:FIRETRU_1131
if 
  125@ == 30
goto_if_false @FIRETRU_1157
set_lvar_int_to_constant 126@ = 445

:FIRETRU_1157
if 
  125@ == 31
goto_if_false @FIRETRU_1183
set_lvar_int_to_constant 126@ = 466

:FIRETRU_1183
if 
  125@ == 32
goto_if_false @FIRETRU_1209
set_lvar_int_to_constant 126@ = 467

:FIRETRU_1209
if 
  125@ == 33
goto_if_false @FIRETRU_1235
set_lvar_int_to_constant 126@ = 479

:FIRETRU_1235
if 
  125@ == 34
goto_if_false @FIRETRU_1261
set_lvar_int_to_constant 126@ = 413

:FIRETRU_1261
if 
  125@ == 35
goto_if_false @FIRETRU_1287
set_lvar_int_to_constant 126@ = 420

:FIRETRU_1287
if 
  125@ == 36
goto_if_false @FIRETRU_1313
set_lvar_int_to_constant 126@ = 438

:FIRETRU_1313
if 
  125@ == 37
goto_if_false @FIRETRU_1339
set_lvar_int_to_constant 126@ = 440

:FIRETRU_1339
if 
  125@ == 38
goto_if_false @FIRETRU_1365
set_lvar_int_to_constant 126@ = 551

:FIRETRU_1365
if 
  125@ == 39
goto_if_false @FIRETRU_1391
set_lvar_int_to_constant 126@ = 470

:FIRETRU_1391
if 
  125@ == 40
goto_if_false @FIRETRU_1417
set_lvar_int_to_constant 126@ = 482

:FIRETRU_1417
if 
  125@ == 41
goto_if_false @FIRETRU_1443
set_lvar_int_to_constant 126@ = 546

:FIRETRU_1443
if 
  125@ == 42
goto_if_false @FIRETRU_1469
set_lvar_int_to_constant 126@ = 492

:FIRETRU_1469
if 
  125@ == 43
goto_if_false @FIRETRU_1495
set_lvar_int_to_constant 126@ = 560

:FIRETRU_1495
Streaming.RequestModel(126@)
wait 0
gosub @FIRETRU_8332
if 
  77@ == 1
goto_if_false @FIRETRU_1536
goto @FIRETRU_10448

:FIRETRU_1536
if 
  not Streaming.HasModelLoaded(126@)
goto_if_false @FIRETRU_1600
wait 0
Streaming.RequestModel(126@)
gosub @FIRETRU_8332
if 
  77@ == 1
goto_if_false @FIRETRU_1593
goto @FIRETRU_10448

:FIRETRU_1593
goto @FIRETRU_1536

:FIRETRU_1600
119@ = 0
gosub @FIRETRU_5955
set_lvar_float_to_lvar_float 127@ = 153@
set_lvar_float_to_lvar_float 128@ = 154@
set_lvar_float_to_lvar_float 129@ = 155@
World.ClearArea(127@, 128@, 129@, 5.0, False)
35@ = Car.Create(126@, 127@, 128@, 129@)
Car.FreezePositionAndDontLoadCollision(35@, True)
Car.SetHeading(35@, 160@)
Car.SetLoadCollisionFlag(35@, False)
Car.SetProofs(35@, False, True, False, False, False)
123@ = Math.RandomFloatInRange(0.0, 359.9)
Car.SetHeading(35@, 123@)
50@ = ScriptFire.CreateCarFire(35@)
Blip.Remove(64@)
64@ = Blip.AddForCar(35@)
Blip.SetAsFriendly(64@, True)
Blip.ChangeDisplay(64@, BlipDisplay.BlipOnly)
Car.SetUpsidedownNotDamaged(35@, True)
119@ = 1
88@ += 1
40@ = Char.CreateRandomAsDriver(35@)
Char.SetDecisionMaker(40@, 165@)
Char.SetLoadCollisionFlag(40@, False)
Char.SetOnlyDamagedByPlayer(40@, True)
Char.SetProofs(40@, False, True, True, False, False)
88@ += 1
if 
  $8217 > 2
goto_if_false @FIRETRU_1913
41@ = Char.CreateRandomAsPassenger(35@, 0)
Char.SetDecisionMaker(41@, 165@)
Char.SetLoadCollisionFlag(41@, False)
Char.SetOnlyDamagedByPlayer(41@, True)
Char.SetProofs(41@, False, True, True, False, False)
88@ += 1

:FIRETRU_1913
if 
  $8217 > 3
goto_if_false @FIRETRU_1985
42@ = Char.CreateRandomAsPassenger(35@, 1)
Char.SetDecisionMaker(42@, 165@)
Char.SetLoadCollisionFlag(42@, False)
Char.SetOnlyDamagedByPlayer(42@, True)
Char.SetProofs(42@, False, True, True, False, False)
88@ += 1

:FIRETRU_1985
if 
  $8217 > 4
goto_if_false @FIRETRU_2176
gosub @FIRETRU_5955
set_lvar_float_to_lvar_float 130@ = 153@
set_lvar_float_to_lvar_float 131@ = 154@
set_lvar_float_to_lvar_float 132@ = 155@
World.ClearArea(130@, 131@, 132@, 5.0, False)
36@ = Car.Create(126@, 130@, 131@, 132@)
Car.FreezePositionAndDontLoadCollision(36@, True)
Car.SetHeading(36@, 160@)
Car.SetLoadCollisionFlag(36@, False)
Car.SetProofs(36@, False, True, False, False, False)
Car.TurnToFaceCoord(36@, 127@, 128@)
51@ = ScriptFire.CreateCarFire(36@)
Car.SetForwardSpeed(36@, 20.0)
Blip.Remove(65@)
65@ = Blip.AddForCar(36@)
Blip.SetAsFriendly(65@, True)
Blip.ChangeDisplay(65@, BlipDisplay.BlipOnly)
Car.SetUpsidedownNotDamaged(36@, True)
88@ += 1

:FIRETRU_2176
if 
  $8217 > 5
goto_if_false @FIRETRU_2246
43@ = Char.CreateRandomAsDriver(36@)
Char.SetDecisionMaker(43@, 165@)
Char.SetLoadCollisionFlag(43@, False)
Char.SetOnlyDamagedByPlayer(43@, True)
Char.SetProofs(43@, False, True, True, False, False)
88@ += 1

:FIRETRU_2246
if 
  $8217 > 6
goto_if_false @FIRETRU_2318
44@ = Char.CreateRandomAsPassenger(36@, 0)
Char.SetDecisionMaker(44@, 165@)
Char.SetLoadCollisionFlag(44@, False)
Char.SetOnlyDamagedByPlayer(44@, True)
Char.SetProofs(44@, False, True, True, False, False)
88@ += 1

:FIRETRU_2318
if 
  $8217 > 7
goto_if_false @FIRETRU_2390
45@ = Char.CreateRandomAsPassenger(36@, 1)
Char.SetDecisionMaker(45@, 165@)
Char.SetLoadCollisionFlag(45@, False)
Char.SetOnlyDamagedByPlayer(45@, True)
Char.SetProofs(45@, False, True, True, False, False)
88@ += 1

:FIRETRU_2390
if 
  $8217 > 8
goto_if_false @FIRETRU_2581
gosub @FIRETRU_5955
set_lvar_float_to_lvar_float 133@ = 153@
set_lvar_float_to_lvar_float 134@ = 154@
set_lvar_float_to_lvar_float 135@ = 155@
World.ClearArea(133@, 134@, 135@, 5.0, False)
37@ = Car.Create(126@, 133@, 134@, 135@)
Car.FreezePositionAndDontLoadCollision(37@, True)
Car.SetHeading(37@, 160@)
Car.SetLoadCollisionFlag(37@, False)
Car.SetProofs(37@, False, True, False, False, False)
Car.TurnToFaceCoord(37@, 127@, 128@)
52@ = ScriptFire.CreateCarFire(37@)
Car.SetForwardSpeed(37@, 20.0)
Blip.Remove(66@)
66@ = Blip.AddForCar(37@)
Blip.SetAsFriendly(66@, True)
Blip.ChangeDisplay(66@, BlipDisplay.BlipOnly)
Car.SetUpsidedownNotDamaged(37@, True)
88@ += 1

:FIRETRU_2581
Streaming.MarkModelAsNoLongerNeeded(126@)
if 
  $8217 > 9
goto_if_false @FIRETRU_2656
46@ = Char.CreateRandomAsDriver(37@)
Char.SetDecisionMaker(46@, 165@)
Char.SetLoadCollisionFlag(46@, False)
Char.SetOnlyDamagedByPlayer(46@, True)
Char.SetProofs(46@, False, True, True, False, False)
88@ += 1

:FIRETRU_2656
if 
  $8217 > 10
goto_if_false @FIRETRU_2728
47@ = Char.CreateRandomAsPassenger(37@, 0)
Char.SetDecisionMaker(47@, 165@)
Char.SetLoadCollisionFlag(47@, False)
Char.SetOnlyDamagedByPlayer(47@, True)
Char.SetProofs(47@, False, True, True, False, False)
88@ += 1

:FIRETRU_2728
if 
  $8217 > 11
goto_if_false @FIRETRU_2800
48@ = Char.CreateRandomAsPassenger(37@, 1)
Char.SetDecisionMaker(48@, 165@)
Char.SetLoadCollisionFlag(48@, False)
Char.SetOnlyDamagedByPlayer(48@, True)
Char.SetProofs(48@, False, True, True, False, False)
88@ += 1

:FIRETRU_2800
if 
  not Car.IsDead(35@)
goto_if_false @FIRETRU_2823
Car.SetMission(35@, CarMission.StopForever)

:FIRETRU_2823
if 
  not Car.IsDead(36@)
goto_if_false @FIRETRU_2846
Car.SetMission(36@, CarMission.StopForever)

:FIRETRU_2846
if 
  not Car.IsDead(37@)
goto_if_false @FIRETRU_2869
Car.SetMission(37@, CarMission.StopForever)

:FIRETRU_2869
gosub @FIRETRU_8332
if 
  77@ == 1
goto_if_false @FIRETRU_2901
goto @FIRETRU_10448

:FIRETRU_2901
if 
  not Char.IsDead(40@)
goto_if_false @FIRETRU_3008
146@, 147@, 148@ = Char.GetCoordinates(40@)
get_name_of_zone 146@ {y} 147@ {z} 148@ {var_name} s$car_or_ped_flag
if 
  5 > $8217
goto_if_false @FIRETRU_2989
Text.PrintStringInStringNow('F_START', s$car_or_ped_flag, 5000, TextStyle.Middle)
goto @FIRETRU_3008

:FIRETRU_2989
Text.PrintStringInStringNow('F_STAR1', s$car_or_ped_flag, 5000, TextStyle.Middle)

:FIRETRU_3008
if 
  $8217 == 1
goto_if_false @FIRETRU_3038
88@ -= 1
Char.Delete(40@)

:FIRETRU_3038
if 
  80@ == 0
goto_if_false @FIRETRU_3088
Hud.DisplayNthCounterWithString($8217, CounterDisplay.Number, 1, 'FLEV')
80@ = 1
goto @FIRETRU_3092

:FIRETRU_3088
Hud.FreezeTimer(False)

:FIRETRU_3092
set_lvar_int_to_var_int 85@ = $8217
85@ -= 4
$RStickY = Clock.GetGameTimer()
set_lvar_int_to_var_int 87@ = $RStickY
87@ += 3000

:FIRETRU_3128
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @FIRETRU_3153
$8219 = 300000

:FIRETRU_3153
if 
is_ps2_keyboard_key_pressed 137
goto_if_false @FIRETRU_3295
if 
  not Car.IsDead(35@)
goto_if_false @FIRETRU_3199
Car.SetCanBeDamaged(35@, False)
Car.SetCanBeDamaged(35@, True)

:FIRETRU_3199
if 
  $8217 > 4
goto_if_false @FIRETRU_3247
if 
  not Car.IsDead(36@)
goto_if_false @FIRETRU_3247
Car.SetCanBeDamaged(36@, False)
Car.SetCanBeDamaged(36@, True)

:FIRETRU_3247
if 
  $8217 > 8
goto_if_false @FIRETRU_3295
if 
  not Car.IsDead(37@)
goto_if_false @FIRETRU_3295
Car.SetCanBeDamaged(37@, False)
Car.SetCanBeDamaged(37@, True)

:FIRETRU_3295
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @FIRETRU_3331
$done_quarry_progress = 0
$8217 = 12
goto @FIRETRU_9884

:FIRETRU_3331
if 
is_ps2_keyboard_key_pressed 90
goto_if_false @FIRETRU_3499
Hud.ClearTimer($8219)
Hud.ClearCounter($fire_zone_name2)
Hud.ClearCounter($8217)
Text.ClearThisPrint('F_START')
Text.ClearThisPrint('F_STAR1')
Text.ClearThisPrint('FIRELVL')
Text.PrintBig('F_PASS1', 5000, TextStyle.MiddleSmallerHigher)
set_lvar_int_to_var_int 79@ = $8217
mult_int_lvar_by_int_var 79@ *= $8217
79@ *= 50
add_int_lvar_to_int_lvar 83@ += 79@
Text.PrintWithNumberBig('REWARD', 79@, 6000, TextStyle.WhiteMiddleSmaller)
Player.AddScore($statbike_temp, 79@)
Text.PrintWithNumberBig('F_COMP1', 5000, 5000, TextStyle.MiddleSmallerHigher)
Player.AddScore($statbike_temp, 5000)
Audio.PlayMissionPassedTune(2)

:FIRETRU_3499
if 
  77@ == 1
goto_if_false @FIRETRU_3524
goto @FIRETRU_10448

:FIRETRU_3524
wait 0
$RStickY = Clock.GetGameTimer()
gosub @FIRETRU_8332
if 
  77@ == 1
goto_if_false @FIRETRU_3565
goto @FIRETRU_10448

:FIRETRU_3565
if 
  2 > $current_Language
goto_if_false @FIRETRU_3762
if 
  $current_Language == 0
goto_if_false @FIRETRU_3685
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @FIRETRU_3678
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @FIRETRU_3671
if 
  TIMERA > 1000
goto_if_false @FIRETRU_3664
Text.PrintHelp('SPRAY_1')
$current_Language = 1

:FIRETRU_3664
goto @FIRETRU_3678

:FIRETRU_3671
TIMERA = 0

:FIRETRU_3678
goto @FIRETRU_3762

:FIRETRU_3685
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @FIRETRU_3762
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @FIRETRU_3755
if 
  TIMERA > 1000
goto_if_false @FIRETRU_3748
Text.PrintHelp('SIREN_1')
$current_Language = 2

:FIRETRU_3748
goto @FIRETRU_3762

:FIRETRU_3755
TIMERA = 0

:FIRETRU_3762
if 
  not Car.IsDead(35@)
goto_if_false @FIRETRU_4145
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 35@, 50.0, 50.0, 10.0, False)
goto_if_false @FIRETRU_3983
if 
  104@ == 0
goto_if_false @FIRETRU_3976
Car.SetLoadCollisionFlag(35@, True)
Car.FreezePositionAndDontLoadCollision(35@, False)
104@ = 1
if 
  $8217 > 1
goto_if_false @FIRETRU_3894
if 
  not Char.IsDead(40@)
goto_if_false @FIRETRU_3894
Char.SetLoadCollisionFlag(40@, True)

:FIRETRU_3894
if 
  $8217 > 2
goto_if_false @FIRETRU_3935
if 
  not Char.IsDead(41@)
goto_if_false @FIRETRU_3935
Char.SetLoadCollisionFlag(41@, True)

:FIRETRU_3935
if 
  $8217 > 3
goto_if_false @FIRETRU_3976
if 
  not Char.IsDead(42@)
goto_if_false @FIRETRU_3976
Char.SetLoadCollisionFlag(42@, True)

:FIRETRU_3976
goto @FIRETRU_4145

:FIRETRU_3983
if 
  104@ == 1
goto_if_false @FIRETRU_4145
Car.SetLoadCollisionFlag(35@, False)
Car.FreezePositionAndDontLoadCollision(35@, True)
104@ = 0
if 
  $8217 > 1
goto_if_false @FIRETRU_4063
if 
  not Char.IsDead(40@)
goto_if_false @FIRETRU_4063
Char.SetLoadCollisionFlag(40@, False)

:FIRETRU_4063
if 
  $8217 > 2
goto_if_false @FIRETRU_4104
if 
  not Char.IsDead(41@)
goto_if_false @FIRETRU_4104
Char.SetLoadCollisionFlag(41@, False)

:FIRETRU_4104
if 
  $8217 > 3
goto_if_false @FIRETRU_4145
if 
  not Char.IsDead(42@)
goto_if_false @FIRETRU_4145
Char.SetLoadCollisionFlag(42@, False)

:FIRETRU_4145
if 
  $8217 > 4
goto_if_false @FIRETRU_4947
if 
  not Car.IsDead(36@)
goto_if_false @FIRETRU_4546
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 36@, 50.0, 50.0, 10.0, False)
goto_if_false @FIRETRU_4384
if 
  105@ == 0
goto_if_false @FIRETRU_4377
Car.SetLoadCollisionFlag(36@, True)
Car.FreezePositionAndDontLoadCollision(36@, False)
105@ = 1
if 
  $8217 > 5
goto_if_false @FIRETRU_4295
if 
  not Char.IsDead(43@)
goto_if_false @FIRETRU_4295
Char.SetLoadCollisionFlag(43@, True)

:FIRETRU_4295
if 
  $8217 > 6
goto_if_false @FIRETRU_4336
if 
  not Char.IsDead(44@)
goto_if_false @FIRETRU_4336
Char.SetLoadCollisionFlag(44@, True)

:FIRETRU_4336
if 
  $8217 > 7
goto_if_false @FIRETRU_4377
if 
  not Char.IsDead(45@)
goto_if_false @FIRETRU_4377
Char.SetLoadCollisionFlag(45@, True)

:FIRETRU_4377
goto @FIRETRU_4546

:FIRETRU_4384
if 
  105@ == 1
goto_if_false @FIRETRU_4546
Car.SetLoadCollisionFlag(36@, False)
Car.FreezePositionAndDontLoadCollision(36@, True)
105@ = 0
if 
  $8217 > 5
goto_if_false @FIRETRU_4464
if 
  not Char.IsDead(43@)
goto_if_false @FIRETRU_4464
Char.SetLoadCollisionFlag(43@, False)

:FIRETRU_4464
if 
  $8217 > 6
goto_if_false @FIRETRU_4505
if 
  not Char.IsDead(44@)
goto_if_false @FIRETRU_4505
Char.SetLoadCollisionFlag(44@, False)

:FIRETRU_4505
if 
  $8217 > 7
goto_if_false @FIRETRU_4546
if 
  not Char.IsDead(45@)
goto_if_false @FIRETRU_4546
Char.SetLoadCollisionFlag(45@, False)

:FIRETRU_4546
if 
  $8217 > 8
goto_if_false @FIRETRU_4947
if 
  not Car.IsDead(37@)
goto_if_false @FIRETRU_4947
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 37@, 50.0, 50.0, 10.0, False)
goto_if_false @FIRETRU_4785
if 
  106@ == 0
goto_if_false @FIRETRU_4778
Car.SetLoadCollisionFlag(37@, True)
Car.FreezePositionAndDontLoadCollision(37@, False)
if 
  $8217 > 9
goto_if_false @FIRETRU_4689
if 
  not Char.IsDead(46@)
goto_if_false @FIRETRU_4689
Char.SetLoadCollisionFlag(46@, True)

:FIRETRU_4689
if 
  $8217 > 10
goto_if_false @FIRETRU_4730
if 
  not Char.IsDead(47@)
goto_if_false @FIRETRU_4730
Char.SetLoadCollisionFlag(47@, True)

:FIRETRU_4730
if 
  $8217 > 11
goto_if_false @FIRETRU_4771
if 
  not Char.IsDead(48@)
goto_if_false @FIRETRU_4771
Char.SetLoadCollisionFlag(48@, True)

:FIRETRU_4771
106@ = 1

:FIRETRU_4778
goto @FIRETRU_4947

:FIRETRU_4785
if 
  106@ == 1
goto_if_false @FIRETRU_4947
Car.SetLoadCollisionFlag(37@, False)
Car.FreezePositionAndDontLoadCollision(37@, True)
106@ = 0
if 
  $8217 > 9
goto_if_false @FIRETRU_4865
if 
  not Char.IsDead(46@)
goto_if_false @FIRETRU_4865
Char.SetLoadCollisionFlag(46@, False)

:FIRETRU_4865
if 
  $8217 > 10
goto_if_false @FIRETRU_4906
if 
  not Char.IsDead(47@)
goto_if_false @FIRETRU_4906
Char.SetLoadCollisionFlag(47@, False)

:FIRETRU_4906
if 
  $8217 > 11
goto_if_false @FIRETRU_4947
if 
  not Char.IsDead(48@)
goto_if_false @FIRETRU_4947
Char.SetLoadCollisionFlag(48@, False)

:FIRETRU_4947
set_lvar_int_to_lvar_int 34@ = 35@
set_lvar_int_to_lvar_int 49@ = 50@
set_lvar_int_to_lvar_int 90@ = 92@
set_lvar_int_to_lvar_int 63@ = 64@
$criminal_zone = 1
gosub @FIRETRU_8668
set_lvar_int_to_lvar_int 50@ = 49@
set_lvar_int_to_lvar_int 92@ = 90@
set_lvar_int_to_lvar_int 64@ = 63@
if 
  $8217 > 1
goto_if_false @FIRETRU_5098
set_lvar_int_to_lvar_int 39@ = 40@
set_lvar_int_to_lvar_int 91@ = 95@
set_lvar_int_to_lvar_int 53@ = 54@
set_lvar_int_to_lvar_int 67@ = 68@
gosub @FIRETRU_9196
set_lvar_int_to_lvar_int 95@ = 91@
set_lvar_int_to_lvar_int 54@ = 53@
set_lvar_int_to_lvar_int 68@ = 67@

:FIRETRU_5098
if 
  $8217 > 2
goto_if_false @FIRETRU_5179
set_lvar_int_to_lvar_int 39@ = 41@
set_lvar_int_to_lvar_int 91@ = 96@
set_lvar_int_to_lvar_int 53@ = 55@
set_lvar_int_to_lvar_int 67@ = 69@
gosub @FIRETRU_9196
set_lvar_int_to_lvar_int 96@ = 91@
set_lvar_int_to_lvar_int 55@ = 53@
set_lvar_int_to_lvar_int 69@ = 67@

:FIRETRU_5179
if 
  $8217 > 3
goto_if_false @FIRETRU_5260
set_lvar_int_to_lvar_int 39@ = 42@
set_lvar_int_to_lvar_int 91@ = 97@
set_lvar_int_to_lvar_int 53@ = 56@
set_lvar_int_to_lvar_int 67@ = 70@
gosub @FIRETRU_9196
set_lvar_int_to_lvar_int 97@ = 91@
set_lvar_int_to_lvar_int 56@ = 53@
set_lvar_int_to_lvar_int 70@ = 67@

:FIRETRU_5260
if 
  $8217 > 4
goto_if_false @FIRETRU_5348
set_lvar_int_to_lvar_int 34@ = 36@
set_lvar_int_to_lvar_int 49@ = 51@
set_lvar_int_to_lvar_int 90@ = 93@
set_lvar_int_to_lvar_int 63@ = 65@
$criminal_zone = 2
gosub @FIRETRU_8668
set_lvar_int_to_lvar_int 51@ = 49@
set_lvar_int_to_lvar_int 93@ = 90@
set_lvar_int_to_lvar_int 65@ = 63@

:FIRETRU_5348
if 
  $8217 > 5
goto_if_false @FIRETRU_5429
set_lvar_int_to_lvar_int 39@ = 43@
set_lvar_int_to_lvar_int 91@ = 98@
set_lvar_int_to_lvar_int 53@ = 57@
set_lvar_int_to_lvar_int 67@ = 71@
gosub @FIRETRU_9196
set_lvar_int_to_lvar_int 98@ = 91@
set_lvar_int_to_lvar_int 57@ = 53@
set_lvar_int_to_lvar_int 71@ = 67@

:FIRETRU_5429
if 
  $8217 > 6
goto_if_false @FIRETRU_5510
set_lvar_int_to_lvar_int 39@ = 44@
set_lvar_int_to_lvar_int 91@ = 99@
set_lvar_int_to_lvar_int 53@ = 58@
set_lvar_int_to_lvar_int 67@ = 72@
gosub @FIRETRU_9196
set_lvar_int_to_lvar_int 99@ = 91@
set_lvar_int_to_lvar_int 58@ = 53@
set_lvar_int_to_lvar_int 72@ = 67@

:FIRETRU_5510
if 
  $8217 > 7
goto_if_false @FIRETRU_5591
set_lvar_int_to_lvar_int 39@ = 45@
set_lvar_int_to_lvar_int 91@ = 100@
set_lvar_int_to_lvar_int 53@ = 59@
set_lvar_int_to_lvar_int 67@ = 73@
gosub @FIRETRU_9196
set_lvar_int_to_lvar_int 100@ = 91@
set_lvar_int_to_lvar_int 59@ = 53@
set_lvar_int_to_lvar_int 73@ = 67@

:FIRETRU_5591
if 
  $8217 > 8
goto_if_false @FIRETRU_5679
set_lvar_int_to_lvar_int 34@ = 37@
set_lvar_int_to_lvar_int 49@ = 52@
set_lvar_int_to_lvar_int 90@ = 94@
set_lvar_int_to_lvar_int 63@ = 66@
$criminal_zone = 3
gosub @FIRETRU_8668
set_lvar_int_to_lvar_int 52@ = 49@
set_lvar_int_to_lvar_int 94@ = 90@
set_lvar_int_to_lvar_int 66@ = 63@

:FIRETRU_5679
if 
  $8217 > 9
goto_if_false @FIRETRU_5760
set_lvar_int_to_lvar_int 39@ = 46@
set_lvar_int_to_lvar_int 91@ = 101@
set_lvar_int_to_lvar_int 53@ = 60@
set_lvar_int_to_lvar_int 67@ = 74@
gosub @FIRETRU_9196
set_lvar_int_to_lvar_int 101@ = 91@
set_lvar_int_to_lvar_int 60@ = 53@
set_lvar_int_to_lvar_int 74@ = 67@

:FIRETRU_5760
if 
  $8217 > 10
goto_if_false @FIRETRU_5841
set_lvar_int_to_lvar_int 39@ = 47@
set_lvar_int_to_lvar_int 91@ = 102@
set_lvar_int_to_lvar_int 53@ = 61@
set_lvar_int_to_lvar_int 67@ = 75@
gosub @FIRETRU_9196
set_lvar_int_to_lvar_int 102@ = 91@
set_lvar_int_to_lvar_int 61@ = 53@
set_lvar_int_to_lvar_int 75@ = 67@

:FIRETRU_5841
if 
  $8217 > 11
goto_if_false @FIRETRU_5922
set_lvar_int_to_lvar_int 39@ = 48@
set_lvar_int_to_lvar_int 91@ = 103@
set_lvar_int_to_lvar_int 53@ = 62@
set_lvar_int_to_lvar_int 67@ = 76@
gosub @FIRETRU_9196
set_lvar_int_to_lvar_int 103@ = 91@
set_lvar_int_to_lvar_int 62@ = 53@
set_lvar_int_to_lvar_int 76@ = 67@

:FIRETRU_5922
if 
  is_int_lvar_greater_or_equal_to_int_lvar 89@ >= 88@
goto_if_false @FIRETRU_5948
goto @FIRETRU_9884

:FIRETRU_5948
goto @FIRETRU_3128

:FIRETRU_5955
wait 0
120@ = 0
TIMERA = 0

:FIRETRU_5973
if 
  120@ == 0
goto_if_false @FIRETRU_8063
120@ = 1
163@ = 1
162@ += 1.0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FIRETRU_6082
if 
  not Char.IsInModel($stattreadstamina_ctr, 407)
goto_if_false @FIRETRU_6075
Text.ClearPrints
Text.PrintNow('F_CANC', 3000, 1)
77@ = 1

:FIRETRU_6075
goto @FIRETRU_6089

:FIRETRU_6082
77@ = 1

:FIRETRU_6089
$LStickX = Pad.GetControllerMode()
if 
  $LStickX <> 3
goto_if_false @FIRETRU_6143
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @FIRETRU_6136
82@ = 1

:FIRETRU_6136
goto @FIRETRU_6167

:FIRETRU_6143
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @FIRETRU_6167
82@ = 1

:FIRETRU_6167
if 
  82@ == 1
goto_if_false @FIRETRU_6294
if 
  $LStickX <> 3
goto_if_false @FIRETRU_6252
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @FIRETRU_6245
Text.ClearPrints
Text.PrintNow('F_CANC', 3000, 1)
77@ = 1

:FIRETRU_6245
goto @FIRETRU_6294

:FIRETRU_6252
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @FIRETRU_6294
Text.ClearPrints
Text.PrintNow('F_CANC', 3000, 1)
77@ = 1

:FIRETRU_6294
if 
  77@ == 1
goto_if_false @FIRETRU_6319
goto @FIRETRU_10448

:FIRETRU_6319
143@, 144@, 145@ = Char.GetCoordinates($stattreadstamina_ctr)
cset_lvar_float_to_var_int 156@ =# $8217
156@ *= 60.0
add_float_lvar_to_float_lvar 156@ += 162@
if 
  170.0 > 156@
goto_if_false @FIRETRU_6390
156@ = 170.0

:FIRETRU_6390
set_lvar_float_to_lvar_float 149@ = 143@
add_float_lvar_to_float_lvar 149@ += 156@
set_lvar_float_to_lvar_float 151@ = 143@
sub_float_lvar_from_float_lvar 151@ -= 156@
set_lvar_float_to_lvar_float 150@ = 144@
add_float_lvar_to_float_lvar 150@ += 156@
set_lvar_float_to_lvar_float 152@ = 144@
sub_float_lvar_from_float_lvar 152@ -= 156@
153@ = Math.RandomFloatInRange(151@, 149@)
154@ = Math.RandomFloatInRange(152@, 150@)
153@, 154@, 155@, 157@, 158@, 159@, 160@ = Path.GetClosestStraightRoad(153@, 154@, 145@, 10.0, 500.0)
if 
  153@ == 0.0
goto_if_false @FIRETRU_6609
if 
  154@ == 0.0
goto_if_false @FIRETRU_6609
if 
  157@ == 0.0
goto_if_false @FIRETRU_6609
if 
  158@ == 0.0
goto_if_false @FIRETRU_6609
120@ = 0

:FIRETRU_6609
if 
  120@ == 1
goto_if_false @FIRETRU_6778
124@ = Math.GetDistanceBetweenCoords3D(143@, 144@, 145@, 153@, 154@, 155@)
if 
  140.0 > 124@
goto_if_false @FIRETRU_6678
120@ = 0

:FIRETRU_6678
if 
  119@ == 1
goto_if_false @FIRETRU_6764
if 
  35.0 > 162@
goto_if_false @FIRETRU_6757
get_name_of_zone 153@ {y} 154@ {z} 155@ {var_name} s$cop_time_limit
if 
  not is_var_text_label_equal_to_text_label s$cop_time_limit == s$car_or_ped_flag
goto_if_false @FIRETRU_6757
120@ = 0

:FIRETRU_6757
goto @FIRETRU_6778

:FIRETRU_6764
get_name_of_zone 153@ {y} 154@ {z} 155@ {var_name} s$car_or_ped_flag

:FIRETRU_6778
if 
  120@ == 1
goto_if_false @FIRETRU_7380
$trigger_phonecall_failed = Stat.GetInt(StatId.CitiesPassed)
if 
  2 > $trigger_phonecall_failed
goto_if_false @FIRETRU_7380
if 
  $trigger_phonecall_failed == 0
goto_if_false @FIRETRU_7138
if and
  78.4427 > 153@
  -699.519 > 154@
goto_if_false @FIRETRU_6878
120@ = 0

:FIRETRU_6878
if 
  120@ == 1
goto_if_false @FIRETRU_7138
if and
  -252.6557 > 153@
  -285.766 > 154@
goto_if_false @FIRETRU_6934
120@ = 0

:FIRETRU_6934
if 
  120@ == 1
goto_if_false @FIRETRU_7138
if 
  -948.3447 > 153@
goto_if_false @FIRETRU_6980
120@ = 0

:FIRETRU_6980
if 
  120@ == 1
goto_if_false @FIRETRU_7138
if and
  153@ > 1473.448
  154@ > 403.7353
goto_if_false @FIRETRU_7036
120@ = 0

:FIRETRU_7036
if 
  120@ == 1
goto_if_false @FIRETRU_7138
if 
  154@ > 578.6325
goto_if_false @FIRETRU_7082
120@ = 0

:FIRETRU_7082
if 
  120@ == 1
goto_if_false @FIRETRU_7138
if and
  837.5551 > 153@
  154@ > 347.4097
goto_if_false @FIRETRU_7138
120@ = 0

:FIRETRU_7138
if 
  120@ == 1
goto_if_false @FIRETRU_7380
if 
  $trigger_phonecall_failed == 1
goto_if_false @FIRETRU_7380
if and
  153@ > 1473.448
  154@ > 403.7353
goto_if_false @FIRETRU_7212
120@ = 0

:FIRETRU_7212
if 
  120@ == 1
goto_if_false @FIRETRU_7380
if and
  154@ > 578.6325
  153@ > -1528.498
goto_if_false @FIRETRU_7268
120@ = 0

:FIRETRU_7268
if 
  120@ == 1
goto_if_false @FIRETRU_7380
if and
  837.5551 > 153@
  153@ > -1528.498
  154@ > 347.4097
goto_if_false @FIRETRU_7334
120@ = 0

:FIRETRU_7334
if 
  120@ == 1
goto_if_false @FIRETRU_7380
if 
  154@ > 1380.0
goto_if_false @FIRETRU_7380
120@ = 0

:FIRETRU_7380
if 
  120@ == 1
goto_if_false @FIRETRU_7580
if 
  2150.0 > 153@
goto_if_false @FIRETRU_7489
if 
  153@ > 1970.0
goto_if_false @FIRETRU_7489
if 
  -2274.0 > 154@
goto_if_false @FIRETRU_7489
if 
  154@ > -2670.0
goto_if_false @FIRETRU_7489
120@ = 0

:FIRETRU_7489
if 
  2150.0 > 153@
goto_if_false @FIRETRU_7580
if 
  153@ > 1590.0
goto_if_false @FIRETRU_7580
if 
  -2397.0 > 154@
goto_if_false @FIRETRU_7580
if 
  154@ > -2670.0
goto_if_false @FIRETRU_7580
120@ = 0

:FIRETRU_7580
if 
  120@ == 1
goto_if_false @FIRETRU_7780
if 
  -1070.0 > 153@
goto_if_false @FIRETRU_7689
if 
  153@ > -1737.0
goto_if_false @FIRETRU_7689
if 
  -185.0 > 154@
goto_if_false @FIRETRU_7689
if 
  154@ > -590.0
goto_if_false @FIRETRU_7689
120@ = 0

:FIRETRU_7689
if 
  -1081.0 > 153@
goto_if_false @FIRETRU_7780
if 
  153@ > -1600.0
goto_if_false @FIRETRU_7780
if 
  415.0 > 154@
goto_if_false @FIRETRU_7780
if 
  154@ > -185.0
goto_if_false @FIRETRU_7780
120@ = 0

:FIRETRU_7780
if 
  120@ == 1
goto_if_false @FIRETRU_7889
if 
  1733.0 > 153@
goto_if_false @FIRETRU_7889
if 
  153@ > 1500.0
goto_if_false @FIRETRU_7889
if 
  1702.0 > 154@
goto_if_false @FIRETRU_7889
if 
  154@ > 1529.0
goto_if_false @FIRETRU_7889
120@ = 0

:FIRETRU_7889
if 
  120@ == 1
goto_if_false @FIRETRU_8052
if 
  $8217 > 4
goto_if_false @FIRETRU_8052
161@ = Math.GetDistanceBetweenCoords3D(127@, 128@, 129@, 153@, 154@, 155@)
if 
  20.0 > 161@
goto_if_false @FIRETRU_7983
120@ = 0
goto @FIRETRU_8052

:FIRETRU_7983
if 
  $8217 > 8
goto_if_false @FIRETRU_8052
161@ = Math.GetDistanceBetweenCoords3D(130@, 131@, 132@, 153@, 154@, 155@)
if 
  20.0 > 161@
goto_if_false @FIRETRU_8052
120@ = 0

:FIRETRU_8052
wait 0
goto @FIRETRU_5973

:FIRETRU_8063
if 
  $8217 > 4
goto_if_false @FIRETRU_8195
161@ = Math.GetDistanceBetweenCoords3D(127@, 128@, 129@, 153@, 154@, 155@)
if 
  $8217 > 8
goto_if_false @FIRETRU_8170
161@ = Math.GetDistanceBetweenCoords3D(130@, 131@, 132@, 153@, 154@, 155@)
161@ /= 4.0
add_float_lvar_to_float_lvar 124@ += 161@
goto @FIRETRU_8188

:FIRETRU_8170
add_float_lvar_to_float_lvar 124@ += 161@
161@ /= 8.0

:FIRETRU_8188
goto @FIRETRU_8195

:FIRETRU_8195
if 
  9 > $8217
goto_if_false @FIRETRU_8238
set_lvar_float_to_lvar_float 122@ = 124@
122@ /= 8.0
goto @FIRETRU_8256

:FIRETRU_8238
set_lvar_float_to_lvar_float 122@ = 124@
122@ /= 10.0

:FIRETRU_8256
122@ *= 1000.0
cset_lvar_int_to_lvar_float 78@ =# 122@
add_int_lvar_to_int_var $8219 += 78@
if 
  60000 > $8219
goto_if_false @FIRETRU_8313
$8219 = 60000

:FIRETRU_8313
163@ = 0
162@ = 0.0
return 

:FIRETRU_8332
if 
  80@ == 1
goto_if_false @FIRETRU_8395
if 
  1 > $8219
goto_if_false @FIRETRU_8395
Text.ClearPrints
Text.PrintNow('F_FAIL2', 5000, 1)
77@ = 1
return 

:FIRETRU_8395
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FIRETRU_8457
if 
  not Char.IsInModel($stattreadstamina_ctr, 407)
goto_if_false @FIRETRU_8457
Text.ClearPrints
Text.PrintNow('F_CANC', 3000, 1)
77@ = 1
return 

:FIRETRU_8457
$LStickX = Pad.GetControllerMode()
if 
  $LStickX <> 3
goto_if_false @FIRETRU_8511
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @FIRETRU_8504
82@ = 1

:FIRETRU_8504
goto @FIRETRU_8535

:FIRETRU_8511
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @FIRETRU_8535
82@ = 1

:FIRETRU_8535
if 
  82@ == 1
goto_if_false @FIRETRU_8666
if 
  $LStickX <> 3
goto_if_false @FIRETRU_8622
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @FIRETRU_8615
Text.ClearPrints
Text.PrintNow('F_CANC', 3000, 1)
77@ = 1
return 

:FIRETRU_8615
goto @FIRETRU_8666

:FIRETRU_8622
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @FIRETRU_8666
Text.ClearPrints
Text.PrintNow('F_CANC', 3000, 1)
77@ = 1
return 

:FIRETRU_8666
return 

:FIRETRU_8668
if 
  90@ <> 10
goto_if_false @FIRETRU_9194
if 
  not Car.IsDead(34@)
goto_if_false @FIRETRU_9018
$random_seed = 1
if 
  ScriptFire.DoesExist(49@)
goto_if_false @FIRETRU_8887
if 
  not ScriptFire.IsExtinguished(49@)
goto_if_false @FIRETRU_8756
86@ = Car.GetHealth(34@)
goto @FIRETRU_8880

:FIRETRU_8756
if 
  90@ <> 10
goto_if_false @FIRETRU_8880
Blip.Remove(63@)
Car.TaskEveryoneLeave(34@)
ScriptFire.Remove(49@)
Stat.IncrementInt(StatId.FiresExtinguished, 1)
if 
  81@ == 0
goto_if_false @FIRETRU_8839
Hud.DisplayNthCounterWithString($fire_zone_name2, CounterDisplay.Number, 2, 'F_EXTIN')
81@ = 1

:FIRETRU_8839
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
90@ = 10
$fire_zone_name2 += 1
89@ += 1

:FIRETRU_8880
goto @FIRETRU_9011

:FIRETRU_8887
if 
  90@ <> 10
goto_if_false @FIRETRU_9011
Blip.Remove(63@)
Car.TaskEveryoneLeave(34@)
ScriptFire.Remove(49@)
Stat.IncrementInt(StatId.FiresExtinguished, 1)
if 
  81@ == 0
goto_if_false @FIRETRU_8970
Hud.DisplayNthCounterWithString($fire_zone_name2, CounterDisplay.Number, 2, 'F_EXTIN')
81@ = 1

:FIRETRU_8970
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
90@ = 10
$fire_zone_name2 += 1
89@ += 1

:FIRETRU_9011
goto @FIRETRU_9187

:FIRETRU_9018
if 
  Car.IsInWater(34@)
goto_if_false @FIRETRU_9160
if 
  90@ <> 10
goto_if_false @FIRETRU_9153
Blip.Remove(63@)
Car.TaskEveryoneLeave(34@)
Stat.IncrementInt(StatId.FiresExtinguished, 1)
if 
  81@ == 0
goto_if_false @FIRETRU_9112
Hud.DisplayNthCounterWithString($fire_zone_name2, CounterDisplay.Number, 2, 'F_EXTIN')
81@ = 1

:FIRETRU_9112
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
90@ = 10
$fire_zone_name2 += 1
89@ += 1

:FIRETRU_9153
goto @FIRETRU_9187

:FIRETRU_9160
Text.ClearPrints
Text.PrintNow('F_FAIL4', 5000, 1)
77@ = 1
return 

:FIRETRU_9187
goto @FIRETRU_9194

:FIRETRU_9194
return 

:FIRETRU_9196
if 
  2 > 91@
goto_if_false @FIRETRU_9882
if 
  not Char.IsDead(39@)
goto_if_false @FIRETRU_9679
if 
  91@ == 0
goto_if_false @FIRETRU_9411
if 
  not Char.IsInAnyCar(39@)
goto_if_false @FIRETRU_9343
53@ = ScriptFire.CreateCharFire(39@)
138@, 139@, 140@ = Char.GetCoordinates(39@)
Task.FleePoint(39@, 138@, 139@, 140@, 20.0, -1)
67@ = Blip.AddForChar(39@)
Blip.SetAsFriendly(67@, True)
Blip.ChangeDisplay(67@, BlipDisplay.BlipOnly)
91@ = 1
goto @FIRETRU_9411

:FIRETRU_9343
if 
  90@ == 10
goto_if_false @FIRETRU_9411
if 
  Char.IsInAnyCar(39@)
goto_if_false @FIRETRU_9411
164@ = Char.GetScriptTaskStatus(39@, 1587)
if 
  is_int_lvar_equal_to_constant 164@ == 7
goto_if_false @FIRETRU_9411
Task.LeaveAnyCar(39@)

:FIRETRU_9411
if 
  91@ == 1
goto_if_false @FIRETRU_9672
$random_seed = 2
if 
  ScriptFire.DoesExist(53@)
goto_if_false @FIRETRU_9576
if 
  ScriptFire.IsExtinguished(53@)
goto_if_false @FIRETRU_9569
ScriptFire.Remove(53@)
Blip.Remove(67@)
Stat.IncrementInt(StatId.FiresExtinguished, 1)
if 
  81@ == 0
goto_if_false @FIRETRU_9528
Hud.DisplayNthCounterWithString($fire_zone_name2, CounterDisplay.Number, 2, 'F_EXTIN')
81@ = 1

:FIRETRU_9528
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
$fire_zone_name2 += 1
89@ += 1
91@ = 2

:FIRETRU_9569
goto @FIRETRU_9672

:FIRETRU_9576
Blip.Remove(67@)
Stat.IncrementInt(StatId.FiresExtinguished, 1)
if 
  81@ == 0
goto_if_false @FIRETRU_9631
Hud.DisplayNthCounterWithString($fire_zone_name2, CounterDisplay.Number, 2, 'F_EXTIN')
81@ = 1

:FIRETRU_9631
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
$fire_zone_name2 += 1
89@ += 1
91@ = 2

:FIRETRU_9672
goto @FIRETRU_9882

:FIRETRU_9679
if 
  Char.IsInWater(39@)
goto_if_false @FIRETRU_9855
if 
  91@ == 1
goto_if_false @FIRETRU_9821
ScriptFire.Remove(53@)
Blip.Remove(67@)
Stat.IncrementInt(StatId.FiresExtinguished, 1)
if 
  81@ == 0
goto_if_false @FIRETRU_9773
Hud.DisplayNthCounterWithString($fire_zone_name2, CounterDisplay.Number, 2, 'F_EXTIN')
81@ = 1

:FIRETRU_9773
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
$fire_zone_name2 += 1
89@ += 1
91@ = 2
goto @FIRETRU_9848

:FIRETRU_9821
Text.ClearPrints
Text.PrintNow('F_FAIL2', 5000, 1)
77@ = 1
return 

:FIRETRU_9848
goto @FIRETRU_9882

:FIRETRU_9855
Text.ClearPrints
Text.PrintNow('F_FAIL3', 5000, 1)
77@ = 1
return 

:FIRETRU_9882
return 

:FIRETRU_9884
Hud.FreezeTimer(True)
World.RemoveAllScriptFires
Blip.Remove(63@)
Blip.Remove(64@)
Blip.Remove(65@)
Blip.Remove(66@)
Blip.Remove(67@)
Blip.Remove(68@)
Blip.Remove(69@)
Blip.Remove(70@)
Blip.Remove(71@)
Blip.Remove(72@)
Blip.Remove(73@)
Blip.Remove(74@)
Blip.Remove(75@)
Blip.Remove(76@)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @FIRETRU_10008
38@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
84@ = Car.GetHealth(38@)
84@ += 150
Car.SetHealth(38@, 84@)

:FIRETRU_10008
Car.MarkAsNoLongerNeeded(35@)
if 
  not Car.IsDead(35@)
goto_if_false @FIRETRU_10036
Car.SetOnlyDamagedByPlayer(35@, False)

:FIRETRU_10036
Car.MarkAsNoLongerNeeded(36@)
if 
  not Car.IsDead(36@)
goto_if_false @FIRETRU_10064
Car.SetOnlyDamagedByPlayer(36@, False)

:FIRETRU_10064
Car.MarkAsNoLongerNeeded(37@)
if 
  not Car.IsDead(37@)
goto_if_false @FIRETRU_10092
Car.SetOnlyDamagedByPlayer(37@, False)

:FIRETRU_10092
Char.MarkAsNoLongerNeeded(40@)
Char.MarkAsNoLongerNeeded(41@)
Char.MarkAsNoLongerNeeded(42@)
Char.MarkAsNoLongerNeeded(43@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
Char.MarkAsNoLongerNeeded(46@)
Char.MarkAsNoLongerNeeded(47@)
Char.MarkAsNoLongerNeeded(48@)
Streaming.MarkModelAsNoLongerNeeded(126@)
Stat.RegisterInt(StatId.FirefighterLevel, $8217)
$8217 += 1
if 
  $8217 == 13
goto_if_false @FIRETRU_10367
Hud.ClearTimer($8219)
Hud.ClearCounter($fire_zone_name2)
Hud.ClearCounter($8217)
Text.ClearThisPrint('F_START')
Text.ClearThisPrint('F_STAR1')
Text.ClearThisPrint('FIRELVL')
Text.PrintBig('F_PASS1', 5000, TextStyle.WhiteMiddleSmaller)
set_lvar_int_to_var_int 79@ = $8217
mult_int_lvar_by_int_var 79@ *= $8217
79@ *= 50
add_int_lvar_to_int_lvar 83@ += 79@
79@ += 5000
Text.PrintWithNumberBig('F_COMP1', 13450, 5000, TextStyle.MiddleSmallerHigher)
Player.AddScore($statbike_temp, 79@)
Audio.PlayMissionPassedTune(2)
if 
  $done_quarry_progress == 0
goto_if_false @FIRETRU_10351
Stat.ShowUpdateStats(False)
Player.MakeFireProof($statbike_temp, False)
Stat.PlayerMadeProgress(1)
Stat.RegisterOddjobMissionPassed
$done_quarry_progress = 1

:FIRETRU_10351
77@ = 1
return 
goto @FIRETRU_10441

:FIRETRU_10367
Text.PrintBig('F_PASS1', 5000, TextStyle.WhiteMiddleSmaller)
set_lvar_int_to_var_int 79@ = $8217
mult_int_lvar_by_int_var 79@ *= $8217
79@ *= 50
add_int_lvar_to_int_lvar 83@ += 79@
Text.PrintWithNumberBig('REWARD', 79@, 6000, TextStyle.LightBlueTop)
Player.AddScore($statbike_temp, 79@)

:FIRETRU_10441
goto @FIRETRU_789

:FIRETRU_10448
Hud.ClearTimer($8219)
Hud.ClearCounter($fire_zone_name2)
Hud.ClearCounter($8217)
Text.ClearThisPrint('F_START')
Text.ClearThisPrint('F_STAR1')
Text.ClearThisPrint('FIRELVL')
if 
  $8217 <> 13
goto_if_false @FIRETRU_10556
Text.PrintBig('F_FAIL1', 5000, TextStyle.MiddleSmallerHigher)
Text.PrintWithNumberBig('TSCORE', 83@, 6000, TextStyle.WhiteMiddleSmaller)
goto @FIRETRU_10556

:FIRETRU_10556
Game.SetWantedMultiplier(1.0)
Blip.Remove(63@)
Blip.Remove(64@)
Blip.Remove(65@)
Blip.Remove(66@)
Blip.Remove(67@)
Blip.Remove(68@)
Blip.Remove(69@)
Blip.Remove(70@)
Blip.Remove(71@)
Blip.Remove(72@)
Blip.Remove(73@)
Blip.Remove(74@)
Blip.Remove(75@)
Blip.Remove(76@)
if 
  $8217 <> 13
goto_if_false @FIRETRU_11233
if 
  not Char.IsDead(40@)
goto_if_false @FIRETRU_10696
Char.SetOnlyDamagedByPlayer(40@, False)
Char.SetHealth(40@, 10)
Char.SetProofs(40@, False, False, False, False, False)

:FIRETRU_10696
if 
  not Char.IsDead(41@)
goto_if_false @FIRETRU_10741
Char.SetOnlyDamagedByPlayer(41@, False)
Char.SetHealth(41@, 10)
Char.SetProofs(41@, False, False, False, False, False)

:FIRETRU_10741
if 
  not Char.IsDead(42@)
goto_if_false @FIRETRU_10786
Char.SetOnlyDamagedByPlayer(42@, False)
Char.SetHealth(42@, 10)
Char.SetProofs(42@, False, False, False, False, False)

:FIRETRU_10786
if 
  not Char.IsDead(43@)
goto_if_false @FIRETRU_10831
Char.SetOnlyDamagedByPlayer(43@, False)
Char.SetHealth(43@, 10)
Char.SetProofs(43@, False, False, False, False, False)

:FIRETRU_10831
if 
  not Char.IsDead(44@)
goto_if_false @FIRETRU_10876
Char.SetOnlyDamagedByPlayer(44@, False)
Char.SetHealth(44@, 10)
Char.SetProofs(44@, False, False, False, False, False)

:FIRETRU_10876
if 
  not Char.IsDead(45@)
goto_if_false @FIRETRU_10921
Char.SetOnlyDamagedByPlayer(45@, False)
Char.SetHealth(45@, 10)
Char.SetProofs(45@, False, False, False, False, False)

:FIRETRU_10921
if 
  not Char.IsDead(46@)
goto_if_false @FIRETRU_10966
Char.SetOnlyDamagedByPlayer(46@, False)
Char.SetHealth(46@, 10)
Char.SetProofs(46@, False, False, False, False, False)

:FIRETRU_10966
if 
  not Char.IsDead(47@)
goto_if_false @FIRETRU_11011
Char.SetOnlyDamagedByPlayer(47@, False)
Char.SetHealth(47@, 10)
Char.SetProofs(47@, False, False, False, False, False)

:FIRETRU_11011
if 
  not Char.IsDead(48@)
goto_if_false @FIRETRU_11056
Char.SetOnlyDamagedByPlayer(48@, False)
Char.SetHealth(48@, 10)
Char.SetProofs(48@, False, False, False, False, False)

:FIRETRU_11056
if 
  not Car.IsDead(35@)
goto_if_false @FIRETRU_11115
Car.SetOnlyDamagedByPlayer(35@, False)
Car.SetProofs(35@, False, False, False, False, False)
if 
  Car.IsOnFire(35@)
goto_if_false @FIRETRU_11115
Car.Explode(35@)

:FIRETRU_11115
if 
  not Car.IsDead(36@)
goto_if_false @FIRETRU_11174
Car.SetOnlyDamagedByPlayer(36@, False)
Car.SetProofs(36@, False, False, False, False, False)
if 
  Car.IsOnFire(36@)
goto_if_false @FIRETRU_11174
Car.Explode(36@)

:FIRETRU_11174
if 
  not Car.IsDead(37@)
goto_if_false @FIRETRU_11233
Car.SetOnlyDamagedByPlayer(37@, False)
Car.SetProofs(37@, False, False, False, False, False)
if 
  Car.IsOnFire(37@)
goto_if_false @FIRETRU_11233
Car.Explode(37@)

:FIRETRU_11233
Char.MarkAsNoLongerNeeded(40@)
Char.MarkAsNoLongerNeeded(41@)
Char.MarkAsNoLongerNeeded(42@)
Char.MarkAsNoLongerNeeded(43@)
Char.MarkAsNoLongerNeeded(44@)
Char.MarkAsNoLongerNeeded(45@)
Char.MarkAsNoLongerNeeded(46@)
Char.MarkAsNoLongerNeeded(47@)
Char.MarkAsNoLongerNeeded(48@)
Car.MarkAsNoLongerNeeded(35@)
Car.MarkAsNoLongerNeeded(36@)
Car.MarkAsNoLongerNeeded(37@)
Streaming.MarkModelAsNoLongerNeeded(126@)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
$flag_nrg500_trigger = 0
World.ClearAllScriptFireFlags
DecisionMaker.Remove(165@)
Mission.Finish
if 
  $done_quarry_progress == 1
goto_if_false @FIRETRU_11376
Text.ClearHelp
Text.PrintHelp('FIREPRO')
$done_quarry_progress = 2
Stat.ShowUpdateStats(False)
start_new_script @BACKON 

:FIRETRU_11376
return 

//-------------Mission 124---------------
// Originally: Vigilante Sub-Mission

:COPCAR
gosub @COPCAR_52
if 
  has_deatharrest_been_executed 
goto_if_false @COPCAR_43
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
gosub @COPCAR_14740

:COPCAR_43
gosub @COPCAR_14742
terminate_this_script 

:COPCAR_52
$weapon_shop1_blip = 1
script_name 'COPCAR'
wait 0
if 
  $done_truck_progress == 0
goto_if_false @COPCAR_94
Stat.RegisterMissionGiven

:COPCAR_94
Text.LoadMissionText('COPCAR')
51@ = 0
$8226 = -100
58@ = 0
$copcar_print_level = 0
65@ = 0
62@ = 0
52@ = 0
53@ = 0
64@ = 0
54@ = 0
55@ = 0
56@ = 0
57@ = 0
59@ = 0
60@ = 0
61@ = 0
63@ = 0
90@ = 0
142@ = 4.0
144@ = 0.0
143@ = 0.9
91@ = 0
$on_footX = 0.0
124@ = 0.0
145@ = 0.0
146@ = 0.0
147@ = 0.0
148@ = 0.0
164@ = 0.0
165@ = 0.0
166@ = 0.0
167@ = 0.0
170@ = 0.0
171@ = 0.0
172@ = 0.0
173@ = 0.0
set_lvar_int_to_constant 176@ = 521
set_lvar_int_to_constant 177@ = 522
set_lvar_int_to_constant 178@ = 461
set_lvar_int_to_constant 179@ = 462
set_lvar_int_to_constant 180@ = 463
set_lvar_int_to_constant 181@ = 468
set_lvar_int_to_constant 182@ = 581
set_lvar_int_to_constant 183@ = 586
set_lvar_int_to_constant 184@ = 411
set_lvar_int_to_constant 185@ = 415
set_lvar_int_to_constant 186@ = 429
set_lvar_int_to_constant 187@ = 451
set_lvar_int_to_constant 188@ = 477
set_lvar_int_to_constant 189@ = 480
set_lvar_int_to_constant 190@ = 506
set_lvar_int_to_constant 191@ = 541
set_lvar_int_to_constant 192@ = 603
set_lvar_int_to_constant 193@ = 400
set_lvar_int_to_constant 194@ = 401
set_lvar_int_to_constant 195@ = 402
set_lvar_int_to_constant 196@ = 410
set_lvar_int_to_constant 197@ = 412
set_lvar_int_to_constant 198@ = 413
set_lvar_int_to_constant 199@ = 419
set_lvar_int_to_constant 200@ = 422
set_lvar_int_to_constant 201@ = 424
set_lvar_int_to_constant 202@ = 434
set_lvar_int_to_constant 203@ = 436
set_lvar_int_to_constant 204@ = 439
set_lvar_int_to_constant 205@ = 440
set_lvar_int_to_constant 206@ = 474
set_lvar_int_to_constant 207@ = 475
set_lvar_int_to_constant 208@ = 478
set_lvar_int_to_constant 209@ = 482
set_lvar_int_to_constant 210@ = 483
set_lvar_int_to_constant 211@ = 489
set_lvar_int_to_constant 212@ = 491
set_lvar_int_to_constant 213@ = 496
set_lvar_int_to_constant 214@ = 500
set_lvar_int_to_constant 215@ = 517
set_lvar_int_to_constant 216@ = 518
set_lvar_int_to_constant 217@ = 526
set_lvar_int_to_constant 218@ = 527
set_lvar_int_to_constant 219@ = 533
set_lvar_int_to_constant 220@ = 534
set_lvar_int_to_constant 221@ = 535
set_lvar_int_to_constant 222@ = 536
set_lvar_int_to_constant 223@ = 542
set_lvar_int_to_constant 224@ = 543
set_lvar_int_to_constant 225@ = 545
set_lvar_int_to_constant 226@ = 549
set_lvar_int_to_constant 227@ = 554
set_lvar_int_to_constant 228@ = 555
set_lvar_int_to_constant 229@ = 558
set_lvar_int_to_constant 230@ = 559
set_lvar_int_to_constant 231@ = 562
set_lvar_int_to_constant 232@ = 565
set_lvar_int_to_constant 233@ = 567
set_lvar_int_to_constant 234@ = 575
set_lvar_int_to_constant 235@ = 576
set_lvar_int_to_constant 236@ = 579
set_lvar_int_to_constant 237@ = 587
set_lvar_int_to_constant 238@ = 589
set_lvar_int_to_constant 239@ = 600
set_lvar_int_to_constant 240@ = 602
set_lvar_int_to_constant 241@ = 605
set_lvar_int_to_constant 242@ = 442
set_lvar_int_to_constant 243@ = 404
set_lvar_int_to_constant 244@ = 405
set_lvar_int_to_constant 245@ = 418
set_lvar_int_to_constant 246@ = 421
set_lvar_int_to_constant 247@ = 426
set_lvar_int_to_constant 248@ = 445
set_lvar_int_to_constant 249@ = 458
set_lvar_int_to_constant 250@ = 466
set_lvar_int_to_constant 251@ = 467
set_lvar_int_to_constant 252@ = 479
set_lvar_int_to_constant 253@ = 492
set_lvar_int_to_constant 254@ = 507
set_lvar_int_to_constant 255@ = 516
set_lvar_int_to_constant 256@ = 529
set_lvar_int_to_constant 257@ = 540
set_lvar_int_to_constant 258@ = 546
set_lvar_int_to_constant 259@ = 547
set_lvar_int_to_constant 260@ = 550
set_lvar_int_to_constant 261@ = 551
set_lvar_int_to_constant 262@ = 560
set_lvar_int_to_constant 263@ = 561
set_lvar_int_to_constant 264@ = 580
set_lvar_int_to_constant 265@ = 585
set_lvar_int_to_constant 266@ = 604
Streaming.RequestModel(346)
Streaming.RequestModel(352)
Streaming.RequestModel(355)
Streaming.RequestModel(349)
Streaming.RequestModel(336)
Streaming.LoadAllModelsNow

:COPCAR_1163
if or
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(355)
  not Streaming.HasModelLoaded(349)
goto_if_false @COPCAR_1205
wait 0
goto @COPCAR_1163

:COPCAR_1205
if 
  not Streaming.HasModelLoaded(336)
goto_if_false @COPCAR_1232
wait 0
goto @COPCAR_1205

:COPCAR_1232
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @COPCAR_1263
34@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Car.SetCanBurstTires(34@, False)

:COPCAR_1263
267@ = DecisionMakerChar.Copy(-1)
DecisionMakerChar.ClearEventResponse(267@, 41)
268@ = DecisionMakerGroup.Copy(-1)
DecisionMakerGroup.ClearEventResponse(268@, 41)

:COPCAR_1291
73@ = 0
82@ = 0
89@ = 0
52@ = 0
269@ = 0
66@ = 0
67@ = 0
68@ = 0
69@ = 0
70@ = 0
71@ = 0
74@ = 0
75@ = 0
76@ = 0
77@ = 0
78@ = 0
79@ = 0
80@ = 0
83@ = 0
174@ = 0
175@ = 0
84@ = 0
85@ = 0
86@ = 0
87@ = 0
128@ = 0.0
129@ = 0.0
130@ = 0.0
131@ = 0.0
270@ = 0
gosub @COPCAR_14883
271@ = Math.RandomIntInRange(9, 255)

:COPCAR_1530
if or
  is_int_lvar_equal_to_constant 271@ == 105
  is_int_lvar_equal_to_constant 271@ == 106
  is_int_lvar_equal_to_constant 271@ == 107
goto_if_false @COPCAR_1579
271@ = Math.RandomIntInRange(9, 255)
goto @COPCAR_1530

:COPCAR_1579
if 
  not Streaming.IsModelInCdimage(271@)
goto_if_false @COPCAR_1661
271@ = Math.RandomIntInRange(9, 255)

:COPCAR_1605
if or
  is_int_lvar_equal_to_constant 271@ == 105
  is_int_lvar_equal_to_constant 271@ == 106
  is_int_lvar_equal_to_constant 271@ == 107
goto_if_false @COPCAR_1654
271@ = Math.RandomIntInRange(9, 255)
goto @COPCAR_1605

:COPCAR_1654
goto @COPCAR_1579

:COPCAR_1661
Streaming.RequestModel(271@)

:COPCAR_1666
gosub @COPCAR_18525
if 
  58@ == 1
goto_if_false @COPCAR_1698
goto @COPCAR_14740

:COPCAR_1698
$x, $y, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
set_var_float_to_var_float $on_footY = $x
$on_footY -= 800.0
set_lvar_float_to_var_float 272@ = $x
272@ += 800.0
104@ = Math.RandomFloatInRange($on_footY, 272@)
set_var_float_to_var_float $on_footZ = $y
$on_footZ -= 800.0
set_lvar_float_to_var_float 273@ = $y
273@ += 800.0
105@ = Math.RandomFloatInRange($on_footZ, 273@)
106@ = 10.0
if 
  4 > 51@
goto_if_false @COPCAR_1867
104@, 105@, 106@, 113@ = Path.GetClosestCarNodeWithHeading(104@, 105@, 106@)
106@ += 0.5

:COPCAR_1867
if and
  51@ > 3
  8 > 51@
goto_if_false @COPCAR_2252
104@, 105@, 106@, 107@, 108@, 109@, 113@ = Path.GetClosestStraightRoad(104@, 105@, 106@, 8.0, 500.0)
if and
  104@ == 0.0
  105@ == 0.0
  107@ == 0.0
  108@ == 0.0
goto_if_false @COPCAR_1996
wait 0
goto @COPCAR_1666

:COPCAR_1996
set_lvar_float_to_lvar_float 125@ = 107@
sub_float_lvar_from_float_lvar 125@ -= 104@
set_lvar_float_to_lvar_float 126@ = 108@
sub_float_lvar_from_float_lvar 126@ -= 105@
set_lvar_float_to_lvar_float 140@ = 125@
mult_float_lvar_by_float_lvar 140@ *= 125@
set_lvar_float_to_lvar_float 141@ = 126@
mult_float_lvar_by_float_lvar 141@ *= 126@
set_lvar_float_to_lvar_float 127@ = 140@
add_float_lvar_to_float_lvar 127@ += 141@
127@ = Math.Sqrt(127@)
149@ = 8.0
div_float_lvar_by_float_lvar 149@ /= 127@
set_lvar_float_to_lvar_float 140@ = 125@
mult_float_lvar_by_float_lvar 140@ *= 149@
set_lvar_float_to_lvar_float 107@ = 104@
add_float_lvar_to_float_lvar 107@ += 140@
set_lvar_float_to_lvar_float 141@ = 126@
mult_float_lvar_by_float_lvar 141@ *= 149@
set_lvar_float_to_lvar_float 108@ = 105@
add_float_lvar_to_float_lvar 108@ += 141@
149@ = 2.0
div_float_lvar_by_float_lvar 149@ /= 127@
set_lvar_float_to_lvar_float 140@ = 125@
mult_float_lvar_by_float_lvar 140@ *= 149@
add_float_lvar_to_float_lvar 104@ += 140@
set_lvar_float_to_lvar_float 141@ = 126@
mult_float_lvar_by_float_lvar 141@ *= 149@
add_float_lvar_to_float_lvar 105@ += 141@
106@ += 0.5
109@ += 0.5

:COPCAR_2252
if 
  51@ > 7
goto_if_false @COPCAR_2742
104@, 105@, 106@, 110@, 111@, 112@, 113@ = Path.GetClosestStraightRoad(104@, 105@, 106@, 13.0, 500.0)
if and
  104@ == 0.0
  105@ == 0.0
  110@ == 0.0
  111@ == 0.0
goto_if_false @COPCAR_2374
wait 0
goto @COPCAR_1666

:COPCAR_2374
set_lvar_float_to_lvar_float 125@ = 110@
sub_float_lvar_from_float_lvar 125@ -= 104@
set_lvar_float_to_lvar_float 126@ = 111@
sub_float_lvar_from_float_lvar 126@ -= 105@
set_lvar_float_to_lvar_float 140@ = 125@
mult_float_lvar_by_float_lvar 140@ *= 125@
set_lvar_float_to_lvar_float 141@ = 126@
mult_float_lvar_by_float_lvar 141@ *= 126@
set_lvar_float_to_lvar_float 127@ = 140@
add_float_lvar_to_float_lvar 127@ += 141@
127@ = Math.Sqrt(127@)
149@ = 13.0
div_float_lvar_by_float_lvar 149@ /= 127@
set_lvar_float_to_lvar_float 140@ = 125@
mult_float_lvar_by_float_lvar 140@ *= 149@
set_lvar_float_to_lvar_float 110@ = 104@
add_float_lvar_to_float_lvar 110@ += 140@
set_lvar_float_to_lvar_float 141@ = 126@
mult_float_lvar_by_float_lvar 141@ *= 149@
set_lvar_float_to_lvar_float 111@ = 105@
add_float_lvar_to_float_lvar 111@ += 141@
149@ = 2.0
div_float_lvar_by_float_lvar 149@ /= 127@
set_lvar_float_to_lvar_float 140@ = 125@
mult_float_lvar_by_float_lvar 140@ *= 149@
add_float_lvar_to_float_lvar 104@ += 140@
set_lvar_float_to_lvar_float 141@ = 126@
mult_float_lvar_by_float_lvar 141@ *= 149@
add_float_lvar_to_float_lvar 105@ += 141@
set_lvar_float_to_lvar_float 107@ = 104@
sub_float_lvar_from_float_lvar 107@ -= 110@
107@ /= 2.0
add_float_lvar_to_float_lvar 107@ += 110@
set_lvar_float_to_lvar_float 108@ = 105@
sub_float_lvar_from_float_lvar 108@ -= 111@
108@ /= 2.0
add_float_lvar_to_float_lvar 108@ += 111@
set_lvar_float_to_lvar_float 109@ = 106@
sub_float_lvar_from_float_lvar 109@ -= 112@
109@ /= 2.0
add_float_lvar_to_float_lvar 109@ += 112@
106@ += 0.5
109@ += 0.5
112@ += 0.5

:COPCAR_2742
if 
  1.0 > 106@
goto_if_false @COPCAR_2774
wait 0
goto @COPCAR_1666

:COPCAR_2774
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
115@ = Math.GetDistanceBetweenCoords2D($x, $y, 104@, 105@)
if or
  150.0 > 115@
  115@ > 800.0
goto_if_false @COPCAR_2847
wait 0
goto @COPCAR_1666

:COPCAR_2847
$trigger_phonecall_failed = Stat.GetInt(StatId.CitiesPassed)
if 
  $trigger_phonecall_failed == 0
goto_if_false @COPCAR_3105
if and
  78.4427 > 104@
  -699.519 > 105@
goto_if_false @COPCAR_2915
wait 0
goto @COPCAR_1666

:COPCAR_2915
if and
  -252.6557 > 104@
  -285.766 > 105@
goto_if_false @COPCAR_2957
wait 0
goto @COPCAR_1666

:COPCAR_2957
if 
  -948.3447 > 104@
goto_if_false @COPCAR_2989
wait 0
goto @COPCAR_1666

:COPCAR_2989
if and
  104@ > 1473.448
  105@ > 403.7353
goto_if_false @COPCAR_3031
wait 0
goto @COPCAR_1666

:COPCAR_3031
if 
  105@ > 578.6325
goto_if_false @COPCAR_3063
wait 0
goto @COPCAR_1666

:COPCAR_3063
if and
  837.5551 > 104@
  105@ > 347.4097
goto_if_false @COPCAR_3105
wait 0
goto @COPCAR_1666

:COPCAR_3105
if 
  2 > $trigger_phonecall_failed
goto_if_false @COPCAR_3353
if and
  104@ > 1473.448
  105@ > 403.7353
goto_if_false @COPCAR_3165
wait 0
goto @COPCAR_1666

:COPCAR_3165
if and
  105@ > 578.6325
  104@ > -1528.498
goto_if_false @COPCAR_3207
wait 0
goto @COPCAR_1666

:COPCAR_3207
if and
  837.5551 > 104@
  104@ > -1528.498
  105@ > 347.4097
goto_if_false @COPCAR_3259
wait 0
goto @COPCAR_1666

:COPCAR_3259
if 
  105@ > 1380.0
goto_if_false @COPCAR_3291
wait 0
goto @COPCAR_1666

:COPCAR_3291
if and
  104@ > -2702.72
  105@ > 1225.669
  -2663.146 > 104@
  1654.808 > 105@
goto_if_false @COPCAR_3353
wait 0
goto @COPCAR_1666

:COPCAR_3353
if and
  104@ > -1735.751
  105@ > -696.0117
  -1192.817 > 104@
  286.3584 > 105@
goto_if_false @COPCAR_3415
wait 0
goto @COPCAR_1666

:COPCAR_3415
if and
  104@ > -1192.817
  105@ > -521.9908
  -1125.656 > 104@
  536.9476 > 105@
goto_if_false @COPCAR_3477
wait 0
goto @COPCAR_1666

:COPCAR_3477
if and
  104@ > -1125.656
  105@ > -329.59
  -1020.189 > 104@
  536.9476 > 105@
goto_if_false @COPCAR_3539
wait 0
goto @COPCAR_1666

:COPCAR_3539
$burglary_session_made = Math.Random()

:COPCAR_3544
if 
  $burglary_session_made == 0
goto_if_false @COPCAR_3574
$burglary_session_made = Math.Random()
goto @COPCAR_3544

:COPCAR_3574
if or
  not Streaming.HasModelLoaded(90@)
  not Streaming.HasModelLoaded(271@)
goto_if_false @COPCAR_3638
wait 0
gosub @COPCAR_18525
if 
  58@ == 1
goto_if_false @COPCAR_3631
goto @COPCAR_14740

:COPCAR_3631
goto @COPCAR_3574

:COPCAR_3638
35@ = Car.Create(90@, 104@, 105@, 106@)
Car.SetHealth(35@, 800)
Car.SetDrivingStyle(35@, DrivingMode.AvoidCars)
if 
  51@ > 3
goto_if_false @COPCAR_3696
Car.SetRandomRouteSeed(35@, $burglary_session_made)

:COPCAR_3696
Car.MarkAsConvoyCar(35@, True)
Car.SetHeading(35@, 113@)
Car.SetAvoidLevelTransitions(35@, True)

:COPCAR_3718
if 
  Car.IsWaitingForWorldCollision(35@)
goto_if_false @COPCAR_3800
wait 0
if 
  Car.IsDead(35@)
goto_if_false @COPCAR_3761
goto @COPCAR_14740

:COPCAR_3761
gosub @COPCAR_18525
if 
  58@ == 1
goto_if_false @COPCAR_3793
goto @COPCAR_14740

:COPCAR_3793
goto @COPCAR_3718

:COPCAR_3800
36@ = Char.CreateInsideCar(35@, PedType.Mission1, 271@)
if 
  $weapon_shop1_blip == 0
goto_if_false @COPCAR_4020
92@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
93@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
94@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
95@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
96@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
97@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
98@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
99@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
100@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
101@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
102@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
103@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
274@ = Group.Create(DefaultTaskAllocator.FollowAnyMeans)
275@ = Group.Create(DefaultTaskAllocator.FollowAnyMeans)
276@ = Group.Create(DefaultTaskAllocator.FollowAnyMeans)

:COPCAR_4020
Blip.Remove(92@)
92@ = Blip.AddForChar(36@)
set_lvar_int_to_lvar_int 50@ = 36@
gosub @COPCAR_18022
if 
  51@ > 0
goto_if_false @COPCAR_4144
Group.Remove(274@)
274@ = Group.Create(DefaultTaskAllocator.SitInLeaderCar)
Group.SetLeader(274@, 36@)
Group.SetDecisionMaker(274@, 268@)
37@ = Char.CreateAsPassenger(35@, PedType.Mission1, 271@, 0)
Blip.Remove(95@)
95@ = Blip.AddForChar(37@)
set_lvar_int_to_lvar_int 50@ = 37@
gosub @COPCAR_18022
goto @COPCAR_4151

:COPCAR_4144
69@ = 1

:COPCAR_4151
if 
  51@ > 1
goto_if_false @COPCAR_4219
38@ = Char.CreateAsPassenger(35@, PedType.Mission1, 271@, 1)
Blip.Remove(96@)
96@ = Blip.AddForChar(38@)
set_lvar_int_to_lvar_int 50@ = 38@
gosub @COPCAR_18022
goto @COPCAR_4226

:COPCAR_4219
70@ = 1

:COPCAR_4226
if 
  51@ > 2
goto_if_false @COPCAR_4294
39@ = Char.CreateAsPassenger(35@, PedType.Mission1, 271@, 2)
Blip.Remove(97@)
97@ = Blip.AddForChar(39@)
set_lvar_int_to_lvar_int 50@ = 39@
gosub @COPCAR_18022
goto @COPCAR_4301

:COPCAR_4294
71@ = 1

:COPCAR_4301
if 
  51@ > 3
goto_if_false @COPCAR_4511
40@ = Car.Create(90@, 107@, 108@, 109@)
Car.MarkAsConvoyCar(40@, True)
Car.SetHeading(40@, 113@)
Car.SetAvoidLevelTransitions(40@, True)
Car.SetDrivingStyle(40@, DrivingMode.AvoidCars)
Car.SetHealth(40@, 800)
Car.SetRandomRouteSeed(40@, $burglary_session_made)

:COPCAR_4381
if 
  Car.IsWaitingForWorldCollision(40@)
goto_if_false @COPCAR_4463
wait 0
if 
  Car.IsDead(40@)
goto_if_false @COPCAR_4424
goto @COPCAR_14740

:COPCAR_4424
gosub @COPCAR_18525
if 
  58@ == 1
goto_if_false @COPCAR_4456
goto @COPCAR_14740

:COPCAR_4456
goto @COPCAR_4381

:COPCAR_4463
41@ = Char.CreateInsideCar(40@, PedType.Mission1, 271@)
set_lvar_int_to_lvar_int 50@ = 41@
gosub @COPCAR_18022
Blip.Remove(93@)
93@ = Blip.AddForChar(41@)
goto @COPCAR_4525

:COPCAR_4511
82@ = 1
77@ = 1

:COPCAR_4525
if 
  51@ > 4
goto_if_false @COPCAR_4621
Group.Remove(275@)
275@ = Group.Create(DefaultTaskAllocator.SitInLeaderCar)
Group.SetLeader(275@, 41@)
Group.SetDecisionMaker(275@, 268@)
42@ = Char.CreateAsPassenger(40@, PedType.Mission1, 271@, 0)
Blip.Remove(98@)
98@ = Blip.AddForChar(42@)
set_lvar_int_to_lvar_int 50@ = 42@
gosub @COPCAR_18022
goto @COPCAR_4628

:COPCAR_4621
78@ = 1

:COPCAR_4628
if 
  51@ > 5
goto_if_false @COPCAR_4696
43@ = Char.CreateAsPassenger(40@, PedType.Mission1, 271@, 1)
Blip.Remove(99@)
99@ = Blip.AddForChar(43@)
set_lvar_int_to_lvar_int 50@ = 43@
gosub @COPCAR_18022
goto @COPCAR_4703

:COPCAR_4696
79@ = 1

:COPCAR_4703
if 
  51@ > 6
goto_if_false @COPCAR_4771
44@ = Char.CreateAsPassenger(40@, PedType.Mission1, 271@, 2)
Blip.Remove(100@)
100@ = Blip.AddForChar(44@)
set_lvar_int_to_lvar_int 50@ = 44@
gosub @COPCAR_18022
goto @COPCAR_4778

:COPCAR_4771
80@ = 1

:COPCAR_4778
if 
  51@ > 7
goto_if_false @COPCAR_4988
45@ = Car.Create(90@, 110@, 111@, 112@)
Car.MarkAsConvoyCar(45@, True)
Car.SetHeading(45@, 113@)
Car.SetAvoidLevelTransitions(45@, True)
Car.SetDrivingStyle(45@, DrivingMode.AvoidCars)
Car.SetHealth(45@, 800)
Car.SetRandomRouteSeed(45@, $burglary_session_made)

:COPCAR_4858
if 
  Car.IsWaitingForWorldCollision(45@)
goto_if_false @COPCAR_4940
wait 0
if 
  Car.IsDead(45@)
goto_if_false @COPCAR_4901
goto @COPCAR_14740

:COPCAR_4901
gosub @COPCAR_18525
if 
  58@ == 1
goto_if_false @COPCAR_4933
goto @COPCAR_14740

:COPCAR_4933
goto @COPCAR_4858

:COPCAR_4940
46@ = Char.CreateInsideCar(45@, PedType.Mission1, 271@)
set_lvar_int_to_lvar_int 50@ = 46@
gosub @COPCAR_18022
Blip.Remove(94@)
94@ = Blip.AddForChar(46@)
goto @COPCAR_5002

:COPCAR_4988
89@ = 1
84@ = 1

:COPCAR_5002
if 
  51@ > 8
goto_if_false @COPCAR_5098
Group.Remove(276@)
276@ = Group.Create(DefaultTaskAllocator.SitInLeaderCar)
Group.SetLeader(276@, 46@)
Group.SetDecisionMaker(276@, 268@)
47@ = Char.CreateAsPassenger(45@, PedType.Mission1, 271@, 0)
Blip.Remove(101@)
101@ = Blip.AddForChar(47@)
set_lvar_int_to_lvar_int 50@ = 47@
gosub @COPCAR_18022
goto @COPCAR_5105

:COPCAR_5098
85@ = 1

:COPCAR_5105
if 
  51@ > 9
goto_if_false @COPCAR_5173
48@ = Char.CreateAsPassenger(45@, PedType.Mission1, 271@, 1)
Blip.Remove(102@)
102@ = Blip.AddForChar(48@)
set_lvar_int_to_lvar_int 50@ = 48@
gosub @COPCAR_18022
goto @COPCAR_5180

:COPCAR_5173
86@ = 1

:COPCAR_5180
if 
  51@ > 10
goto_if_false @COPCAR_5248
49@ = Char.CreateAsPassenger(45@, PedType.Mission1, 271@, 2)
Blip.Remove(103@)
103@ = Blip.AddForChar(49@)
set_lvar_int_to_lvar_int 50@ = 49@
gosub @COPCAR_18022
goto @COPCAR_5255

:COPCAR_5248
87@ = 1

:COPCAR_5255
Streaming.MarkModelAsNoLongerNeeded(90@)
Streaming.MarkModelAsNoLongerNeeded(271@)
if 
  not Char.IsDead(36@)
goto_if_false @COPCAR_5295
116@, 117@, $in_carX = Char.GetCoordinates(36@)

:COPCAR_5295
get_name_of_zone 116@ {y} 117@ {z} $in_carX {var_name} s$burglary_garage
if 
  51@ == 0
goto_if_false @COPCAR_5353
Text.PrintStringInStringNow('C_BREIF', s$burglary_garage, 5000, TextStyle.Middle)
goto @COPCAR_5372

:COPCAR_5353
Text.PrintStringInStringNow('C_BREIS', s$burglary_garage, 5000, TextStyle.Middle)

:COPCAR_5372
police_radio_message 116@ {_p2} 117@ {_p3} $in_carX
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
set_var_float_to_var_float $grape = $x
sub_float_lvar_from_float_var $grape -= 116@
set_var_float_to_var_float $r_69 = $y
sub_float_lvar_from_float_var $r_69 -= 117@
mult_float_var_by_float_var $grape *= $grape
mult_float_var_by_float_var $r_69 *= $r_69
set_lvar_float_to_var_float 114@ = $r_69
add_float_var_to_float_lvar 114@ += $r_69
114@ = Math.Sqrt(114@)
if 
  Char.IsInModel($stattreadstamina_ctr, 425)
goto_if_false @COPCAR_5505
142@ = 8.0
goto @COPCAR_5515

:COPCAR_5505
142@ = 4.0

:COPCAR_5515
add_float_lvar_to_float_lvar 142@ += 144@
div_float_lvar_by_float_lvar 114@ /= 142@
114@ *= 1000.0
cset_lvar_int_to_lvar_float 63@ =# 114@
if 
  40000 > 63@
goto_if_false @COPCAR_5580
63@ = 40000

:COPCAR_5580
add_int_lvar_to_int_var $8226 += 63@
63@ /= 1000
set_var_int_to_lvar_int $8231 = 51@
$8231 += 1
if 
  65@ == 1
goto_if_false @COPCAR_5640
Hud.ForceBigMessageAndCounter(True)
goto @COPCAR_5722

:COPCAR_5640
if 
  45000 > $8226
goto_if_false @COPCAR_5671
$8226 = 45000

:COPCAR_5671
$8226 += 30000
65@ = 1
Hud.DisplayNthCounterWithString($8231, CounterDisplay.Number, 1, 'COPLEVL')
Hud.DisplayNthCounterWithString($copcar_print_level, CounterDisplay.Number, 2, 'KILLS')

:COPCAR_5722
set_lvar_int_to_var_int 72@ = $RStickY
set_lvar_int_to_var_int 81@ = $RStickY
set_lvar_int_to_var_int 88@ = $RStickY
if 
  13 > 51@
goto_if_false @COPCAR_5774
144@ += 0.1

:COPCAR_5774
Hud.FreezeTimer(False)

:COPCAR_5778
wait 0
$RStickY = Clock.GetGameTimer()
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
gosub @COPCAR_18525
if 
  58@ == 1
goto_if_false @COPCAR_5833
goto @COPCAR_14740

:COPCAR_5833
if or
  269@ == -1
  74@ == -1
  83@ == -1
goto_if_false @COPCAR_5872
52@ = 1

:COPCAR_5872
270@ += 1
if 
  270@ > 2
goto_if_false @COPCAR_5904
270@ = 0

:COPCAR_5904
if 
  270@ == 0
goto_if_false @COPCAR_8220
if 
  not Char.IsDead(36@)
goto_if_false @COPCAR_7290
if 
  Char.IsSittingInAnyCar(36@)
goto_if_false @COPCAR_6744
Car.MarkAsNoLongerNeeded(35@)
35@ = Char.StoreCarIsInNoSave(36@)
if 
  269@ == -1
goto_if_false @COPCAR_6072
55@ = Char.GetNumberOfFollowers(36@)
if 
  55@ > 0
goto_if_false @COPCAR_6057
if 
  Group.DoesExist(274@)
goto_if_false @COPCAR_6034
Group.SetDefaultTaskAllocator(274@, DefaultTaskAllocator.SitInLeaderCar)

:COPCAR_6034
set_lvar_int_to_var_int 72@ = $RStickY
72@ += 2000
goto @COPCAR_6065

:COPCAR_6057
set_lvar_int_to_var_int 72@ = $RStickY

:COPCAR_6065
269@ = 0

:COPCAR_6072
if 
  269@ == 0
goto_if_false @COPCAR_6161
if or
  is_int_var_greater_than_int_lvar $RStickY > 72@
  is_int_lvar_equal_to_int_var 72@ == $RStickY
goto_if_false @COPCAR_6161
Car.SetCruiseSpeed(35@, 100.0)
Car.SetDrivingStyle(35@, DrivingMode.AvoidCars)
Car.WanderRandomly(35@)
set_lvar_int_to_var_int 66@ = $RStickY
269@ = 1
67@ = 0

:COPCAR_6161
if 
  269@ > 0
goto_if_false @COPCAR_6737
if 
  Char.IsInCar($stattreadstamina_ctr, 35@)
goto_if_false @COPCAR_6235
$chickY = Char.GetScriptTaskStatus(36@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_6235
Task.KillCharOnFoot(36@, $stattreadstamina_ctr)

:COPCAR_6235
set_lvar_int_to_lvar_int 153@ = 35@
set_lvar_int_to_lvar_int 154@ = 67@
set_lvar_int_to_lvar_int 155@ = 66@
set_lvar_float_to_lvar_float 150@ = 145@
set_lvar_float_to_lvar_float 151@ = 146@
set_lvar_float_to_lvar_float 152@ = 147@
if 
  148@ > 0.0
goto_if_false @COPCAR_6311
gosub @COPCAR_16050

:COPCAR_6311
set_lvar_int_to_lvar_int 67@ = 154@
set_lvar_int_to_lvar_int 66@ = 155@
set_lvar_float_to_lvar_float 145@ = 150@
set_lvar_float_to_lvar_float 146@ = 151@
set_lvar_float_to_lvar_float 147@ = 152@
if 
  67@ == -9
goto_if_false @COPCAR_6441
$chickY = Char.GetScriptTaskStatus(36@, 1498)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_6434
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(36@)
Task.FleePoint(36@, $on_footY, $on_footZ, $in_carX, 15.0, 1500)

:COPCAR_6434
67@ = 0

:COPCAR_6441
if 
  not Car.IsHealthGreater(35@, 251)
goto_if_false @COPCAR_6548
$chickY = Char.GetScriptTaskStatus(36@, 1498)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_6525
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(36@)
Task.FleePoint(36@, $on_footY, $on_footZ, $in_carX, 15.0, 1500)

:COPCAR_6525
set_lvar_int_to_var_int 72@ = $RStickY
72@ += 2000
goto @COPCAR_6556

:COPCAR_6548
set_lvar_int_to_var_int 72@ = $RStickY

:COPCAR_6556
gosub @COPCAR_16687
116@, 117@, $in_carX = Char.GetCoordinates(36@)
set_var_float_to_var_float $grape = $x
sub_float_lvar_from_float_var $grape -= 116@
set_var_float_to_var_float $r_69 = $y
sub_float_lvar_from_float_var $r_69 -= 117@
mult_float_var_by_float_var $grape *= $grape
mult_float_var_by_float_var $r_69 *= $r_69
set_lvar_float_to_var_float 149@ = $grape
add_float_var_to_float_lvar 149@ += $r_69
149@ = Math.Sqrt(149@)
148@ = 1000.0
div_float_lvar_by_float_lvar 148@ /= 149@
if 
  148@ > 100.0
goto_if_false @COPCAR_6698
148@ = 100.0

:COPCAR_6698
if 
  15.0 > 148@
goto_if_false @COPCAR_6729
148@ = 15.0

:COPCAR_6729
Car.SetCruiseSpeed(35@, 148@)

:COPCAR_6737
goto @COPCAR_7283

:COPCAR_6744
if 
  Group.DoesExist(274@)
goto_if_false @COPCAR_6767
Group.SetDefaultTaskAllocator(274@, DefaultTaskAllocator.FollowAnyMeans)

:COPCAR_6767
269@ = -1
gosub @COPCAR_16687
if 
  is_int_var_greater_than_int_lvar $RStickY > 72@
goto_if_false @COPCAR_7283
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 36@, 45.0, 45.0, False)
goto_if_false @COPCAR_7128
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @COPCAR_6891
$chickY = Char.GetScriptTaskStatus(36@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_6884
Task.KillCharOnFoot(36@, $stattreadstamina_ctr)

:COPCAR_6884
goto @COPCAR_7121

:COPCAR_6891
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 36@, 30.0, 30.0, False)
goto_if_false @COPCAR_6966
$chickY = Char.GetScriptTaskStatus(36@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_6959
Task.KillCharOnFoot(36@, $stattreadstamina_ctr)

:COPCAR_6959
goto @COPCAR_7121

:COPCAR_6966
set_lvar_int_to_lvar_int 156@ = 36@
if 
  not Car.IsDead(35@)
goto_if_false @COPCAR_7114
if 
  Car.IsHealthGreater(35@, 400)
goto_if_false @COPCAR_7100
if 
  Char.LocateAnyMeansCar2D(36@, 35@, 40.0, 40.0, False)
goto_if_false @COPCAR_7086
$chickY = Char.GetScriptTaskStatus(36@, 1483)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_7079
Task.EnterCarAsDriver(36@, 35@, -2)

:COPCAR_7079
goto @COPCAR_7093

:COPCAR_7086
gosub @COPCAR_15260

:COPCAR_7093
goto @COPCAR_7107

:COPCAR_7100
gosub @COPCAR_15260

:COPCAR_7107
goto @COPCAR_7121

:COPCAR_7114
gosub @COPCAR_15260

:COPCAR_7121
goto @COPCAR_7283

:COPCAR_7128
set_lvar_int_to_lvar_int 156@ = 36@
if 
  not Car.IsDead(35@)
goto_if_false @COPCAR_7276
if 
  Car.IsHealthGreater(35@, 400)
goto_if_false @COPCAR_7262
if 
  Char.LocateAnyMeansCar2D(36@, 35@, 40.0, 40.0, False)
goto_if_false @COPCAR_7248
$chickY = Char.GetScriptTaskStatus(36@, 1483)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_7241
Task.EnterCarAsDriver(36@, 35@, -2)

:COPCAR_7241
goto @COPCAR_7255

:COPCAR_7248
gosub @COPCAR_15260

:COPCAR_7255
goto @COPCAR_7269

:COPCAR_7262
gosub @COPCAR_15260

:COPCAR_7269
goto @COPCAR_7283

:COPCAR_7276
gosub @COPCAR_15260

:COPCAR_7283
goto @COPCAR_7880

:COPCAR_7290
Blip.Remove(92@)
Char.MarkAsNoLongerNeeded(36@)
36@ = -1
if 
  68@ == 0
goto_if_false @COPCAR_7366
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
68@ = 1

:COPCAR_7366
if 
  Group.DoesExist(274@)
goto_if_false @COPCAR_7880
if 
  not Char.IsDead(37@)
goto_if_false @COPCAR_7531
if 
  not Char.IsGroupMember(37@, 274@)
goto_if_false @COPCAR_7461
$chickY = Char.GetScriptTaskStatus(37@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_7454
Task.KillCharOnFoot(37@, $stattreadstamina_ctr)

:COPCAR_7454
goto @COPCAR_7524

:COPCAR_7461
if 
  Char.IsGroupLeader(37@, 274@)
goto_if_false @COPCAR_7524
set_lvar_int_to_lvar_int 36@ = 37@
37@ = -1
68@ = 0
69@ = 1
set_lvar_int_to_lvar_int 92@ = 95@
95@ = -1

:COPCAR_7524
goto @COPCAR_7548

:COPCAR_7531
Blip.Remove(95@)
Char.MarkAsNoLongerNeeded(37@)
37@ = -1

:COPCAR_7548
if 
  not Char.IsDead(38@)
goto_if_false @COPCAR_7697
if 
  not Char.IsGroupMember(38@, 274@)
goto_if_false @COPCAR_7627
$chickY = Char.GetScriptTaskStatus(38@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_7620
Task.KillCharOnFoot(38@, $stattreadstamina_ctr)

:COPCAR_7620
goto @COPCAR_7690

:COPCAR_7627
if 
  Char.IsGroupLeader(38@, 274@)
goto_if_false @COPCAR_7690
set_lvar_int_to_lvar_int 36@ = 38@
38@ = -1
68@ = 0
70@ = 1
set_lvar_int_to_lvar_int 92@ = 96@
96@ = -1

:COPCAR_7690
goto @COPCAR_7714

:COPCAR_7697
Blip.Remove(96@)
Char.MarkAsNoLongerNeeded(38@)
38@ = -1

:COPCAR_7714
if 
  not Char.IsDead(39@)
goto_if_false @COPCAR_7863
if 
  not Char.IsGroupMember(39@, 274@)
goto_if_false @COPCAR_7793
$chickY = Char.GetScriptTaskStatus(39@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_7786
Task.KillCharOnFoot(39@, $stattreadstamina_ctr)

:COPCAR_7786
goto @COPCAR_7856

:COPCAR_7793
if 
  Char.IsGroupLeader(39@, 274@)
goto_if_false @COPCAR_7856
set_lvar_int_to_lvar_int 36@ = 39@
39@ = -1
68@ = 0
71@ = 1
set_lvar_int_to_lvar_int 92@ = 97@
97@ = -1

:COPCAR_7856
goto @COPCAR_7880

:COPCAR_7863
Blip.Remove(97@)
Char.MarkAsNoLongerNeeded(39@)
39@ = -1

:COPCAR_7880
if 
  Char.IsDead(37@)
goto_if_false @COPCAR_7972
if 
  69@ == 0
goto_if_false @COPCAR_7972
Char.MarkAsNoLongerNeeded(37@)
37@ = -1
Blip.Remove(95@)
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
69@ = 1

:COPCAR_7972
if 
  Char.IsDead(38@)
goto_if_false @COPCAR_8064
if 
  70@ == 0
goto_if_false @COPCAR_8064
Char.MarkAsNoLongerNeeded(38@)
38@ = -1
Blip.Remove(96@)
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
70@ = 1

:COPCAR_8064
if 
  Char.IsDead(39@)
goto_if_false @COPCAR_8156
if 
  71@ == 0
goto_if_false @COPCAR_8156
Char.MarkAsNoLongerNeeded(39@)
39@ = -1
Blip.Remove(97@)
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
71@ = 1

:COPCAR_8156
if 
  73@ == 0
goto_if_false @COPCAR_8220
if and
  68@ == 1
  69@ == 1
  70@ == 1
  71@ == 1
goto_if_false @COPCAR_8220
73@ = 1

:COPCAR_8220
if 
  270@ == 1
goto_if_false @COPCAR_11051
if 
  not Char.IsDead(41@)
goto_if_false @COPCAR_10121
if 
  Char.IsSittingInAnyCar(41@)
goto_if_false @COPCAR_9575
Car.MarkAsNoLongerNeeded(40@)
40@ = Char.StoreCarIsInNoSave(41@)
if 
  74@ == -1
goto_if_false @COPCAR_8388
55@ = Char.GetNumberOfFollowers(41@)
if 
  55@ > 0
goto_if_false @COPCAR_8373
if 
  Group.DoesExist(275@)
goto_if_false @COPCAR_8350
Group.SetDefaultTaskAllocator(275@, DefaultTaskAllocator.SitInLeaderCar)

:COPCAR_8350
set_lvar_int_to_var_int 81@ = $RStickY
81@ += 2000
goto @COPCAR_8381

:COPCAR_8373
set_lvar_int_to_var_int 81@ = $RStickY

:COPCAR_8381
74@ = 0

:COPCAR_8388
if 
  74@ == 0
goto_if_false @COPCAR_8547
if 
  is_int_var_greater_than_int_lvar $RStickY > 81@
goto_if_false @COPCAR_8547
Car.SetCruiseSpeed(40@, 100.0)
Car.SetDrivingStyle(40@, DrivingMode.AvoidCars)
if 
  52@ == 0
goto_if_false @COPCAR_8495
if 
  not Car.IsDead(35@)
goto_if_false @COPCAR_8488
Car.WanderRandomly(40@)
goto @COPCAR_8495

:COPCAR_8488
52@ = 1

:COPCAR_8495
if 
  52@ == 1
goto_if_false @COPCAR_8525
Car.MarkAsConvoyCar(40@, False)
Car.WanderRandomly(40@)

:COPCAR_8525
set_lvar_int_to_var_int 75@ = $RStickY
74@ = 1
76@ = 0

:COPCAR_8547
if 
  74@ > 0
goto_if_false @COPCAR_9568
if 
  Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @COPCAR_8621
$chickY = Char.GetScriptTaskStatus(41@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_8621
Task.KillCharOnFoot(41@, $stattreadstamina_ctr)

:COPCAR_8621
set_lvar_int_to_lvar_int 153@ = 40@
set_lvar_int_to_lvar_int 154@ = 76@
set_lvar_int_to_lvar_int 155@ = 75@
set_lvar_float_to_lvar_float 150@ = 164@
set_lvar_float_to_lvar_float 151@ = 165@
set_lvar_float_to_lvar_float 152@ = 166@
if 
  167@ > 0.0
goto_if_false @COPCAR_8697
gosub @COPCAR_16050

:COPCAR_8697
set_lvar_int_to_lvar_int 76@ = 154@
set_lvar_int_to_lvar_int 75@ = 155@
set_lvar_float_to_lvar_float 164@ = 150@
set_lvar_float_to_lvar_float 165@ = 151@
set_lvar_float_to_lvar_float 166@ = 152@
if 
  76@ == -9
goto_if_false @COPCAR_8827
$chickY = Char.GetScriptTaskStatus(41@, 1498)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_8820
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(41@)
Task.FleePoint(41@, $on_footY, $on_footZ, $in_carX, 15.0, 1500)

:COPCAR_8820
76@ = 0

:COPCAR_8827
if 
  not Car.IsHealthGreater(40@, 400)
goto_if_false @COPCAR_8883
$chickY = Char.GetScriptTaskStatus(41@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_8883
Task.KillCharOnFoot(41@, $stattreadstamina_ctr)

:COPCAR_8883
if 
  not Car.IsHealthGreater(40@, 251)
goto_if_false @COPCAR_8990
$chickY = Char.GetScriptTaskStatus(41@, 1498)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_8967
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(41@)
Task.FleePoint(41@, $on_footY, $on_footZ, $in_carX, 15.0, 1500)

:COPCAR_8967
set_lvar_int_to_var_int 81@ = $RStickY
81@ += 2000
goto @COPCAR_8998

:COPCAR_8990
set_lvar_int_to_var_int 81@ = $RStickY

:COPCAR_8998
gosub @COPCAR_17132
162@, 163@, $in_carX = Char.GetCoordinates(41@)
set_var_float_to_var_float $grape = $x
sub_float_lvar_from_float_var $grape -= 162@
set_var_float_to_var_float $r_69 = $y
sub_float_lvar_from_float_var $r_69 -= 163@
mult_float_var_by_float_var $grape *= $grape
mult_float_var_by_float_var $r_69 *= $r_69
set_lvar_float_to_var_float 149@ = $grape
add_float_var_to_float_lvar 149@ += $r_69
149@ = Math.Sqrt(149@)
167@ = 1000.0
div_float_lvar_by_float_lvar 167@ /= 149@
if 
  167@ > 100.0
goto_if_false @COPCAR_9140
167@ = 100.0

:COPCAR_9140
if 
  15.0 > 167@
goto_if_false @COPCAR_9171
167@ = 15.0

:COPCAR_9171
if 
  52@ == 0
goto_if_false @COPCAR_9523
if 
  not Car.IsDead(35@)
goto_if_false @COPCAR_9511
set_lvar_int_to_lvar_int 157@ = 40@
set_lvar_int_to_lvar_int 158@ = 35@
gosub @COPCAR_15047
set_lvar_float_to_lvar_float 167@ = 124@
138@ = Car.GetForwardX(40@)
139@ = Car.GetForwardY(40@)
132@, 133@, $in_carX = Car.GetCoordinates(35@)
134@, 135@, $in_carX = Car.GetCoordinates(40@)
set_lvar_float_to_lvar_float 120@ = 134@
sub_float_lvar_from_float_lvar 120@ -= 132@
mult_float_lvar_by_float_lvar 138@ *= 120@
set_lvar_float_to_lvar_float 121@ = 135@
sub_float_lvar_from_float_lvar 121@ -= 133@
mult_float_lvar_by_float_lvar 139@ *= 121@
set_lvar_float_to_lvar_float 128@ = 138@
add_float_lvar_to_float_lvar 128@ += 139@
138@ = Car.GetForwardX(35@)
139@ = Car.GetForwardY(35@)
134@, 135@, $in_carX = Car.GetCoordinates(40@)
132@, 133@, $in_carX = Car.GetCoordinates(35@)
set_lvar_float_to_lvar_float 120@ = 132@
sub_float_lvar_from_float_lvar 120@ -= 134@
mult_float_lvar_by_float_lvar 138@ *= 120@
set_lvar_float_to_lvar_float 121@ = 133@
sub_float_lvar_from_float_lvar 121@ -= 135@
mult_float_lvar_by_float_lvar 139@ *= 121@
set_lvar_float_to_lvar_float 129@ = 138@
add_float_lvar_to_float_lvar 129@ += 139@
if 
  128@ > 0.0
goto_if_false @COPCAR_9504
if 
  0.0 > 129@
goto_if_false @COPCAR_9504
167@ = 0.0

:COPCAR_9504
goto @COPCAR_9523

:COPCAR_9511
Car.WanderRandomly(40@)
52@ = 1

:COPCAR_9523
if 
  167@ == 0.0
goto_if_false @COPCAR_9560
Car.SetTempAction(40@, TempAction.Wait, 17)
goto @COPCAR_9568

:COPCAR_9560
Car.SetCruiseSpeed(40@, 167@)

:COPCAR_9568
goto @COPCAR_10114

:COPCAR_9575
if 
  Group.DoesExist(275@)
goto_if_false @COPCAR_9598
Group.SetDefaultTaskAllocator(275@, DefaultTaskAllocator.FollowAnyMeans)

:COPCAR_9598
74@ = -1
gosub @COPCAR_17132
if 
  is_int_var_greater_than_int_lvar $RStickY > 81@
goto_if_false @COPCAR_10114
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 41@, 40.0, 40.0, False)
goto_if_false @COPCAR_9959
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @COPCAR_9722
$chickY = Char.GetScriptTaskStatus(41@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_9715
Task.KillCharOnFoot(41@, $stattreadstamina_ctr)

:COPCAR_9715
goto @COPCAR_9952

:COPCAR_9722
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 41@, 25.0, 25.0, False)
goto_if_false @COPCAR_9797
$chickY = Char.GetScriptTaskStatus(41@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_9790
Task.KillCharOnFoot(41@, $stattreadstamina_ctr)

:COPCAR_9790
goto @COPCAR_9952

:COPCAR_9797
set_lvar_int_to_lvar_int 156@ = 41@
if 
  not Car.IsDead(40@)
goto_if_false @COPCAR_9945
if 
  Car.IsHealthGreater(40@, 400)
goto_if_false @COPCAR_9931
if 
  Char.LocateAnyMeansCar2D(41@, 40@, 40.0, 40.0, False)
goto_if_false @COPCAR_9917
$chickY = Char.GetScriptTaskStatus(41@, 1483)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_9910
Task.EnterCarAsDriver(41@, 40@, -2)

:COPCAR_9910
goto @COPCAR_9924

:COPCAR_9917
gosub @COPCAR_15260

:COPCAR_9924
goto @COPCAR_9938

:COPCAR_9931
gosub @COPCAR_15260

:COPCAR_9938
goto @COPCAR_9952

:COPCAR_9945
gosub @COPCAR_15260

:COPCAR_9952
goto @COPCAR_10114

:COPCAR_9959
set_lvar_int_to_lvar_int 156@ = 41@
if 
  not Car.IsDead(40@)
goto_if_false @COPCAR_10107
if 
  Car.IsHealthGreater(40@, 400)
goto_if_false @COPCAR_10093
if 
  Char.LocateAnyMeansCar2D(41@, 40@, 40.0, 40.0, False)
goto_if_false @COPCAR_10079
$chickY = Char.GetScriptTaskStatus(41@, 1483)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_10072
Task.EnterCarAsDriver(41@, 40@, -2)

:COPCAR_10072
goto @COPCAR_10086

:COPCAR_10079
gosub @COPCAR_15260

:COPCAR_10086
goto @COPCAR_10100

:COPCAR_10093
gosub @COPCAR_15260

:COPCAR_10100
goto @COPCAR_10114

:COPCAR_10107
gosub @COPCAR_15260

:COPCAR_10114
goto @COPCAR_10711

:COPCAR_10121
Blip.Remove(93@)
Char.MarkAsNoLongerNeeded(41@)
41@ = -1
if 
  77@ == 0
goto_if_false @COPCAR_10197
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
77@ = 1

:COPCAR_10197
if 
  Group.DoesExist(275@)
goto_if_false @COPCAR_10711
if 
  not Char.IsDead(42@)
goto_if_false @COPCAR_10362
if 
  not Char.IsGroupMember(42@, 275@)
goto_if_false @COPCAR_10292
$chickY = Char.GetScriptTaskStatus(42@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_10285
Task.KillCharOnFoot(42@, $stattreadstamina_ctr)

:COPCAR_10285
goto @COPCAR_10355

:COPCAR_10292
if 
  Char.IsGroupLeader(42@, 275@)
goto_if_false @COPCAR_10355
set_lvar_int_to_lvar_int 41@ = 42@
42@ = -1
77@ = 0
78@ = 1
set_lvar_int_to_lvar_int 93@ = 98@
98@ = -1

:COPCAR_10355
goto @COPCAR_10379

:COPCAR_10362
Blip.Remove(98@)
Char.MarkAsNoLongerNeeded(42@)
42@ = -1

:COPCAR_10379
if 
  not Char.IsDead(43@)
goto_if_false @COPCAR_10528
if 
  not Char.IsGroupMember(43@, 275@)
goto_if_false @COPCAR_10458
$chickY = Char.GetScriptTaskStatus(43@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_10451
Task.KillCharOnFoot(43@, $stattreadstamina_ctr)

:COPCAR_10451
goto @COPCAR_10521

:COPCAR_10458
if 
  Char.IsGroupLeader(43@, 275@)
goto_if_false @COPCAR_10521
set_lvar_int_to_lvar_int 41@ = 43@
43@ = -1
77@ = 0
79@ = 1
set_lvar_int_to_lvar_int 93@ = 99@
99@ = -1

:COPCAR_10521
goto @COPCAR_10545

:COPCAR_10528
Blip.Remove(99@)
Char.MarkAsNoLongerNeeded(43@)
43@ = -1

:COPCAR_10545
if 
  not Char.IsDead(44@)
goto_if_false @COPCAR_10694
if 
  not Char.IsGroupMember(44@, 275@)
goto_if_false @COPCAR_10624
$chickY = Char.GetScriptTaskStatus(44@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_10617
Task.KillCharOnFoot(44@, $stattreadstamina_ctr)

:COPCAR_10617
goto @COPCAR_10687

:COPCAR_10624
if 
  Char.IsGroupLeader(44@, 275@)
goto_if_false @COPCAR_10687
set_lvar_int_to_lvar_int 41@ = 44@
44@ = -1
77@ = 0
80@ = 1
set_lvar_int_to_lvar_int 93@ = 100@
100@ = -1

:COPCAR_10687
goto @COPCAR_10711

:COPCAR_10694
Blip.Remove(100@)
Char.MarkAsNoLongerNeeded(44@)
44@ = -1

:COPCAR_10711
if 
  Char.IsDead(42@)
goto_if_false @COPCAR_10803
if 
  78@ == 0
goto_if_false @COPCAR_10803
Char.MarkAsNoLongerNeeded(42@)
42@ = -1
Blip.Remove(98@)
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
78@ = 1

:COPCAR_10803
if 
  Char.IsDead(43@)
goto_if_false @COPCAR_10895
if 
  79@ == 0
goto_if_false @COPCAR_10895
Char.MarkAsNoLongerNeeded(43@)
43@ = -1
Blip.Remove(99@)
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
79@ = 1

:COPCAR_10895
if 
  Char.IsDead(44@)
goto_if_false @COPCAR_10987
if 
  80@ == 0
goto_if_false @COPCAR_10987
Char.MarkAsNoLongerNeeded(44@)
44@ = -1
Blip.Remove(100@)
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
80@ = 1

:COPCAR_10987
if 
  82@ == 0
goto_if_false @COPCAR_11051
if and
  77@ == 1
  78@ == 1
  79@ == 1
  80@ == 1
goto_if_false @COPCAR_11051
82@ = 1

:COPCAR_11051
if 
  270@ == 2
goto_if_false @COPCAR_13882
if 
  not Char.IsDead(46@)
goto_if_false @COPCAR_12952
if 
  Char.IsSittingInAnyCar(46@)
goto_if_false @COPCAR_12406
Car.MarkAsNoLongerNeeded(45@)
45@ = Char.StoreCarIsInNoSave(46@)
if 
  83@ == -1
goto_if_false @COPCAR_11219
55@ = Char.GetNumberOfFollowers(46@)
if 
  55@ > 0
goto_if_false @COPCAR_11204
if 
  Group.DoesExist(276@)
goto_if_false @COPCAR_11181
Group.SetDefaultTaskAllocator(276@, DefaultTaskAllocator.SitInLeaderCar)

:COPCAR_11181
set_lvar_int_to_var_int 88@ = $RStickY
88@ += 2000
goto @COPCAR_11212

:COPCAR_11204
set_lvar_int_to_var_int 88@ = $RStickY

:COPCAR_11212
83@ = 0

:COPCAR_11219
if 
  83@ == 0
goto_if_false @COPCAR_11378
if 
  is_int_var_greater_than_int_lvar $RStickY > 88@
goto_if_false @COPCAR_11378
Car.SetCruiseSpeed(45@, 100.0)
Car.SetDrivingStyle(45@, DrivingMode.AvoidCars)
if 
  52@ == 0
goto_if_false @COPCAR_11326
if 
  not Car.IsDead(40@)
goto_if_false @COPCAR_11319
Car.WanderRandomly(45@)
goto @COPCAR_11326

:COPCAR_11319
52@ = 1

:COPCAR_11326
if 
  52@ == 1
goto_if_false @COPCAR_11356
Car.MarkAsConvoyCar(45@, False)
Car.WanderRandomly(45@)

:COPCAR_11356
set_lvar_int_to_var_int 174@ = $RStickY
83@ = 1
175@ = 0

:COPCAR_11378
if 
  83@ > 0
goto_if_false @COPCAR_12399
if 
  Char.IsInCar($stattreadstamina_ctr, 45@)
goto_if_false @COPCAR_11452
$chickY = Char.GetScriptTaskStatus(46@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_11452
Task.KillCharOnFoot(46@, $stattreadstamina_ctr)

:COPCAR_11452
set_lvar_int_to_lvar_int 153@ = 45@
set_lvar_int_to_lvar_int 154@ = 175@
set_lvar_int_to_lvar_int 155@ = 174@
set_lvar_float_to_lvar_float 150@ = 170@
set_lvar_float_to_lvar_float 151@ = 171@
set_lvar_float_to_lvar_float 152@ = 172@
if 
  173@ > 0.0
goto_if_false @COPCAR_11528
gosub @COPCAR_16050

:COPCAR_11528
set_lvar_int_to_lvar_int 175@ = 154@
set_lvar_int_to_lvar_int 174@ = 155@
set_lvar_float_to_lvar_float 170@ = 150@
set_lvar_float_to_lvar_float 171@ = 151@
set_lvar_float_to_lvar_float 172@ = 152@
if 
  175@ == -9
goto_if_false @COPCAR_11658
$chickY = Char.GetScriptTaskStatus(46@, 1498)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_11651
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(46@)
Task.FleePoint(46@, $on_footY, $on_footZ, $in_carX, 15.0, 1500)

:COPCAR_11651
175@ = 0

:COPCAR_11658
if 
  not Car.IsHealthGreater(45@, 400)
goto_if_false @COPCAR_11714
$chickY = Char.GetScriptTaskStatus(46@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_11714
Task.KillCharOnFoot(46@, $stattreadstamina_ctr)

:COPCAR_11714
if 
  not Car.IsHealthGreater(45@, 251)
goto_if_false @COPCAR_11821
$chickY = Char.GetScriptTaskStatus(46@, 1498)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_11798
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(46@)
Task.FleePoint(46@, $on_footY, $on_footZ, $in_carX, 15.0, 1500)

:COPCAR_11798
set_lvar_int_to_var_int 88@ = $RStickY
88@ += 2000
goto @COPCAR_11829

:COPCAR_11821
set_lvar_int_to_var_int 88@ = $RStickY

:COPCAR_11829
gosub @COPCAR_17577
168@, 169@, $in_carX = Char.GetCoordinates(46@)
set_var_float_to_var_float $grape = $x
sub_float_lvar_from_float_var $grape -= 168@
set_var_float_to_var_float $r_69 = $y
sub_float_lvar_from_float_var $r_69 -= 169@
mult_float_var_by_float_var $grape *= $grape
mult_float_var_by_float_var $r_69 *= $r_69
set_lvar_float_to_var_float 149@ = $grape
add_float_var_to_float_lvar 149@ += $r_69
149@ = Math.Sqrt(149@)
173@ = 1000.0
div_float_lvar_by_float_lvar 173@ /= 149@
if 
  173@ > 100.0
goto_if_false @COPCAR_11971
173@ = 100.0

:COPCAR_11971
if 
  15.0 > 173@
goto_if_false @COPCAR_12002
173@ = 15.0

:COPCAR_12002
if 
  52@ == 0
goto_if_false @COPCAR_12354
if 
  not Car.IsDead(40@)
goto_if_false @COPCAR_12342
set_lvar_int_to_lvar_int 157@ = 45@
set_lvar_int_to_lvar_int 158@ = 40@
gosub @COPCAR_15047
set_lvar_float_to_lvar_float 173@ = 124@
138@ = Car.GetForwardX(45@)
139@ = Car.GetForwardY(45@)
134@, 135@, $in_carX = Car.GetCoordinates(40@)
136@, 137@, $in_carX = Car.GetCoordinates(45@)
set_lvar_float_to_lvar_float 120@ = 136@
sub_float_lvar_from_float_lvar 120@ -= 134@
mult_float_lvar_by_float_lvar 138@ *= 120@
set_lvar_float_to_lvar_float 121@ = 137@
sub_float_lvar_from_float_lvar 121@ -= 135@
mult_float_lvar_by_float_lvar 139@ *= 121@
set_lvar_float_to_lvar_float 130@ = 138@
add_float_lvar_to_float_lvar 130@ += 139@
138@ = Car.GetForwardX(40@)
139@ = Car.GetForwardY(40@)
136@, 137@, $in_carX = Car.GetCoordinates(45@)
134@, 135@, $in_carX = Car.GetCoordinates(40@)
set_lvar_float_to_lvar_float 120@ = 134@
sub_float_lvar_from_float_lvar 120@ -= 136@
mult_float_lvar_by_float_lvar 138@ *= 120@
set_lvar_float_to_lvar_float 121@ = 135@
sub_float_lvar_from_float_lvar 121@ -= 137@
mult_float_lvar_by_float_lvar 139@ *= 121@
set_lvar_float_to_lvar_float 131@ = 138@
add_float_lvar_to_float_lvar 131@ += 139@
if 
  130@ > 0.0
goto_if_false @COPCAR_12335
if 
  0.0 > 131@
goto_if_false @COPCAR_12335
173@ = 0.0

:COPCAR_12335
goto @COPCAR_12354

:COPCAR_12342
Car.WanderRandomly(45@)
52@ = 1

:COPCAR_12354
if 
  173@ == 0.0
goto_if_false @COPCAR_12391
Car.SetTempAction(45@, TempAction.Wait, 17)
goto @COPCAR_12399

:COPCAR_12391
Car.SetCruiseSpeed(45@, 173@)

:COPCAR_12399
goto @COPCAR_12945

:COPCAR_12406
if 
  Group.DoesExist(276@)
goto_if_false @COPCAR_12429
Group.SetDefaultTaskAllocator(276@, DefaultTaskAllocator.FollowAnyMeans)

:COPCAR_12429
83@ = -1
gosub @COPCAR_17577
if 
  is_int_var_greater_than_int_lvar $RStickY > 88@
goto_if_false @COPCAR_12945
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 46@, 40.0, 40.0, False)
goto_if_false @COPCAR_12790
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @COPCAR_12553
$chickY = Char.GetScriptTaskStatus(46@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_12546
Task.KillCharOnFoot(46@, $stattreadstamina_ctr)

:COPCAR_12546
goto @COPCAR_12783

:COPCAR_12553
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 46@, 25.0, 25.0, False)
goto_if_false @COPCAR_12628
$chickY = Char.GetScriptTaskStatus(46@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_12621
Task.KillCharOnFoot(46@, $stattreadstamina_ctr)

:COPCAR_12621
goto @COPCAR_12783

:COPCAR_12628
set_lvar_int_to_lvar_int 156@ = 46@
if 
  not Car.IsDead(45@)
goto_if_false @COPCAR_12776
if 
  Car.IsHealthGreater(45@, 400)
goto_if_false @COPCAR_12762
if 
  Char.LocateAnyMeansCar2D(46@, 45@, 40.0, 40.0, False)
goto_if_false @COPCAR_12748
$chickY = Char.GetScriptTaskStatus(46@, 1483)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_12741
Task.EnterCarAsDriver(46@, 45@, -2)

:COPCAR_12741
goto @COPCAR_12755

:COPCAR_12748
gosub @COPCAR_15260

:COPCAR_12755
goto @COPCAR_12769

:COPCAR_12762
gosub @COPCAR_15260

:COPCAR_12769
goto @COPCAR_12783

:COPCAR_12776
gosub @COPCAR_15260

:COPCAR_12783
goto @COPCAR_12945

:COPCAR_12790
set_lvar_int_to_lvar_int 156@ = 46@
if 
  not Car.IsDead(45@)
goto_if_false @COPCAR_12938
if 
  Car.IsHealthGreater(45@, 400)
goto_if_false @COPCAR_12924
if 
  Char.LocateAnyMeansCar2D(46@, 45@, 40.0, 40.0, False)
goto_if_false @COPCAR_12910
$chickY = Char.GetScriptTaskStatus(46@, 1483)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_12903
Task.EnterCarAsDriver(46@, 45@, -2)

:COPCAR_12903
goto @COPCAR_12917

:COPCAR_12910
gosub @COPCAR_15260

:COPCAR_12917
goto @COPCAR_12931

:COPCAR_12924
gosub @COPCAR_15260

:COPCAR_12931
goto @COPCAR_12945

:COPCAR_12938
gosub @COPCAR_15260

:COPCAR_12945
goto @COPCAR_13542

:COPCAR_12952
Blip.Remove(94@)
Char.MarkAsNoLongerNeeded(46@)
46@ = -1
if 
  84@ == 0
goto_if_false @COPCAR_13028
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
84@ = 1

:COPCAR_13028
if 
  Group.DoesExist(276@)
goto_if_false @COPCAR_13542
if 
  not Char.IsDead(47@)
goto_if_false @COPCAR_13193
if 
  not Char.IsGroupMember(47@, 276@)
goto_if_false @COPCAR_13123
$chickY = Char.GetScriptTaskStatus(47@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_13116
Task.KillCharOnFoot(47@, $stattreadstamina_ctr)

:COPCAR_13116
goto @COPCAR_13186

:COPCAR_13123
if 
  Char.IsGroupLeader(47@, 276@)
goto_if_false @COPCAR_13186
set_lvar_int_to_lvar_int 46@ = 47@
47@ = -1
84@ = 0
85@ = 1
set_lvar_int_to_lvar_int 94@ = 101@
101@ = -1

:COPCAR_13186
goto @COPCAR_13210

:COPCAR_13193
Blip.Remove(101@)
Char.MarkAsNoLongerNeeded(47@)
47@ = -1

:COPCAR_13210
if 
  not Char.IsDead(48@)
goto_if_false @COPCAR_13359
if 
  not Char.IsGroupMember(48@, 276@)
goto_if_false @COPCAR_13289
$chickY = Char.GetScriptTaskStatus(48@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_13282
Task.KillCharOnFoot(48@, $stattreadstamina_ctr)

:COPCAR_13282
goto @COPCAR_13352

:COPCAR_13289
if 
  Char.IsGroupLeader(48@, 276@)
goto_if_false @COPCAR_13352
set_lvar_int_to_lvar_int 46@ = 48@
48@ = -1
84@ = 0
86@ = 1
set_lvar_int_to_lvar_int 94@ = 102@
102@ = -1

:COPCAR_13352
goto @COPCAR_13376

:COPCAR_13359
Blip.Remove(102@)
Char.MarkAsNoLongerNeeded(48@)
48@ = -1

:COPCAR_13376
if 
  not Char.IsDead(49@)
goto_if_false @COPCAR_13525
if 
  not Char.IsGroupMember(49@, 276@)
goto_if_false @COPCAR_13455
$chickY = Char.GetScriptTaskStatus(49@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_13448
Task.KillCharOnFoot(49@, $stattreadstamina_ctr)

:COPCAR_13448
goto @COPCAR_13518

:COPCAR_13455
if 
  Char.IsGroupLeader(49@, 276@)
goto_if_false @COPCAR_13518
set_lvar_int_to_lvar_int 46@ = 49@
49@ = -1
84@ = 0
87@ = 1
set_lvar_int_to_lvar_int 94@ = 103@
103@ = -1

:COPCAR_13518
goto @COPCAR_13542

:COPCAR_13525
Blip.Remove(103@)
Char.MarkAsNoLongerNeeded(49@)
49@ = -1

:COPCAR_13542
if 
  Char.IsDead(47@)
goto_if_false @COPCAR_13634
if 
  85@ == 0
goto_if_false @COPCAR_13634
Blip.Remove(101@)
Char.MarkAsNoLongerNeeded(47@)
47@ = -1
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
85@ = 1

:COPCAR_13634
if 
  Char.IsDead(48@)
goto_if_false @COPCAR_13726
if 
  86@ == 0
goto_if_false @COPCAR_13726
Char.MarkAsNoLongerNeeded(48@)
48@ = -1
Blip.Remove(102@)
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
86@ = 1

:COPCAR_13726
if 
  Char.IsDead(49@)
goto_if_false @COPCAR_13818
if 
  87@ == 0
goto_if_false @COPCAR_13818
Char.MarkAsNoLongerNeeded(49@)
49@ = -1
Blip.Remove(103@)
$copcar_print_level += 1
Stat.IncrementInt(StatId.CriminalsCaught, 1)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1058)
87@ = 1

:COPCAR_13818
if 
  89@ == 0
goto_if_false @COPCAR_13882
if and
  84@ == 1
  85@ == 1
  86@ == 1
  87@ == 1
goto_if_false @COPCAR_13882
89@ = 1

:COPCAR_13882
if and
  73@ == 1
  82@ == 1
  89@ == 1
goto_if_false @COPCAR_13921
goto @COPCAR_13928

:COPCAR_13921
goto @COPCAR_5778

:COPCAR_13928
Stat.RegisterInt(StatId.VigilanteLevel, $8231)
51@ += 1
if or
  Char.IsInAnyPoliceVehicle($stattreadstamina_ctr)
  Char.IsInModel($stattreadstamina_ctr, 425)
goto_if_false @COPCAR_14005
34@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Car.SetCanBurstTires(34@, False)
64@ = Car.GetHealth(34@)
64@ += 100
Car.SetHealth(34@, 64@)

:COPCAR_14005
Car.MarkAsNoLongerNeeded(35@)
Char.MarkAsNoLongerNeeded(36@)
Char.MarkAsNoLongerNeeded(37@)
Char.MarkAsNoLongerNeeded(38@)
Char.MarkAsNoLongerNeeded(39@)
Car.MarkAsNoLongerNeeded(40@)
Char.MarkAsNoLongerNeeded(41@)
Char.MarkAsNoLongerNeeded(42@)
Char.MarkAsNoLongerNeeded(43@)
Char.MarkAsNoLongerNeeded(44@)
Car.MarkAsNoLongerNeeded(45@)
Char.MarkAsNoLongerNeeded(46@)
Char.MarkAsNoLongerNeeded(47@)
Char.MarkAsNoLongerNeeded(48@)
Char.MarkAsNoLongerNeeded(49@)
Blip.Remove(92@)
Blip.Remove(93@)
Blip.Remove(94@)
Blip.Remove(95@)
Blip.Remove(96@)
Blip.Remove(97@)
Blip.Remove(98@)
Blip.Remove(99@)
Blip.Remove(100@)
Blip.Remove(101@)
Blip.Remove(102@)
Blip.Remove(103@)
Group.Remove(274@)
Group.Remove(275@)
Group.Remove(276@)
set_lvar_int_to_lvar_int 54@ = 51@
mult_int_lvar_by_int_lvar 54@ *= 51@
54@ *= 50
Hud.ForceBigMessageAndCounter(True)
Text.PrintWithNumberBig('C_PASS', 54@, 5000, TextStyle.MiddleSmallerHigher)
Player.AddScore($statbike_temp, 54@)
if 
  $done_truck_progress == 0
goto_if_false @COPCAR_14273
if 
  51@ == 12
goto_if_false @COPCAR_14273
Text.PrintHelp('C_COMP1')
Stat.PlayerMadeProgress(1)
Stat.RegisterOddjobMissionPassed
Audio.PlayMissionPassedTune(2)
$done_truck_progress = 1

:COPCAR_14273
if -1
goto_if_false @COPCAR_14610
if 
  57@ == 0
goto_if_false @COPCAR_14360
53@ = Clock.GetGameTimer()
if 
  $8226 > 60000
goto_if_false @COPCAR_14345
56@ = 60000
goto @COPCAR_14353

:COPCAR_14345
set_lvar_int_to_var_int 56@ = $8226

:COPCAR_14353
57@ = 1

:COPCAR_14360
59@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 60@ = 59@
sub_int_lvar_from_int_lvar 60@ -= 53@
sub_int_lvar_from_int_lvar 56@ -= 60@
set_lvar_int_to_lvar_int 53@ = 59@
set_lvar_int_to_lvar_int 61@ = 56@
61@ /= 1000
if 
  1 > 61@
goto_if_false @COPCAR_14494
61@ = 0
if 
  is_int_lvar_greater_than_int_lvar 59@ > 91@
goto_if_false @COPCAR_14487
Text.PrintNow('C_TIME', 3000, 1)
58@ = 1
goto @COPCAR_14740

:COPCAR_14487
goto @COPCAR_14510

:COPCAR_14494
set_lvar_int_to_lvar_int 91@ = 59@
91@ += 1000

:COPCAR_14510
if 
  61@ > -1
goto_if_false @COPCAR_14599
if 
  61@ == 1
goto_if_false @COPCAR_14576
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('COPCA_T', 61@, 200, 1)
goto @COPCAR_14599

:COPCAR_14576
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('COPCART', 61@, 200, 1)

:COPCAR_14599
wait 0
goto @COPCAR_14273

:COPCAR_14610
Hud.FreezeTimer(True)
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @COPCAR_14669
34@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Car.SetCanBurstTires(34@, False)
64@ = Car.GetHealth(34@)
64@ += 200
Car.SetHealth(34@, 64@)

:COPCAR_14669
if 
  13 > 51@
goto_if_false @COPCAR_14733
143@ -= 0.075
if 
  0.0 > 143@
goto_if_false @COPCAR_14728
143@ = 0.0

:COPCAR_14728
Game.SetWantedMultiplier(143@)

:COPCAR_14733
goto @COPCAR_1291

:COPCAR_14740
return 

:COPCAR_14742
$weapon_shop1_blip = 0
Blip.Remove(92@)
Blip.Remove(93@)
Blip.Remove(94@)
Blip.Remove(95@)
Blip.Remove(96@)
Blip.Remove(97@)
Blip.Remove(98@)
Blip.Remove(99@)
Blip.Remove(100@)
Blip.Remove(101@)
Blip.Remove(102@)
Blip.Remove(103@)
Group.Remove(274@)
Group.Remove(275@)
Group.Remove(276@)
Hud.ClearTimer($8226)
Hud.ClearCounter($8231)
Hud.ClearCounter($copcar_print_level)
Streaming.MarkModelAsNoLongerNeeded(90@)
Streaming.MarkModelAsNoLongerNeeded(271@)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(336)
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

:COPCAR_14883
if 
  51@ == 0
goto_if_false @COPCAR_14951
159@ = Math.RandomIntInRange(0, 91)
if and
  159@ > 7
  17 > 159@
goto_if_false @COPCAR_14944
159@ = Math.RandomIntInRange(0, 91)

:COPCAR_14944
goto @COPCAR_15028

:COPCAR_14951
if 
  51@ == 1
goto_if_false @COPCAR_15019
159@ = Math.RandomIntInRange(2, 91)
if and
  159@ > 7
  17 > 159@
goto_if_false @COPCAR_15012
159@ = Math.RandomIntInRange(2, 91)

:COPCAR_15012
goto @COPCAR_15028

:COPCAR_15019
159@ = Math.RandomIntInRange(67, 91)

:COPCAR_15028
set_lvar_int_to_lvar_int 90@ = 176@(159@,91i)
Streaming.RequestModel(90@)
return 

:COPCAR_15047
if 
  158@ == -1
goto_if_false @COPCAR_15086
122@, 123@, 120@ = Char.GetCoordinates($stattreadstamina_ctr)
goto @COPCAR_15100

:COPCAR_15086
122@, 123@, 120@ = Car.GetCoordinates(158@)

:COPCAR_15100
118@, 119@, 120@ = Car.GetCoordinates(157@)
set_lvar_float_to_lvar_float 120@ = 118@
sub_float_lvar_from_float_lvar 120@ -= 122@
set_lvar_float_to_lvar_float 121@ = 119@
sub_float_lvar_from_float_lvar 121@ -= 123@
mult_float_lvar_by_float_lvar 120@ *= 120@
mult_float_lvar_by_float_lvar 121@ *= 121@
add_float_lvar_to_float_lvar 120@ += 121@
120@ = Math.Sqrt(120@)
set_lvar_float_to_lvar_float 124@ = 120@
124@ += 3.0
if 
  124@ > 100.0
goto_if_false @COPCAR_15227
124@ = 100.0

:COPCAR_15227
if 
  0.0 > 124@
goto_if_false @COPCAR_15258
124@ = 0.0

:COPCAR_15258
return 

:COPCAR_15260
if 
  not Char.IsDead(156@)
goto_if_false @COPCAR_16048
$coord_2_y, $coord_c1_x, $coord_c1_y = Char.GetCoordinates(156@)
if 
  $on_footX == 919.9
goto_if_false @COPCAR_15328
$stealth_help_flag = Car.Create(90@, $coord_2_y, $coord_c1_x, $coord_c1_y)

:COPCAR_15328
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 156@, 40.0, 40.0, False)
goto_if_false @COPCAR_15733
set_var_float_to_var_float $coord_c1_z = $coord_2_y
$coord_c1_z += 40.0
set_var_float_to_var_float $wasted_help = $coord_c1_x
$wasted_help += 40.0
$coord_2_y -= 40.0
$coord_c1_x -= 40.0
Car.MarkAsNoLongerNeeded($stealth_help_flag)
$stealth_help_flag = -1
$stealth_help_flag = World.GetRandomCarOfTypeInArea($coord_2_y, $coord_c1_x, $coord_c1_z, $wasted_help, -1)
if or
  $stealth_help_flag == -1
  is_int_lvar_equal_to_int_var 35@ == $stealth_help_flag
goto_if_false @COPCAR_15516
$chickY = Char.GetScriptTaskStatus(156@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_15509
Task.KillCharOnFoot(156@, $stattreadstamina_ctr)

:COPCAR_15509
goto @COPCAR_15726

:COPCAR_15516
if 
  Car.IsHealthGreater($stealth_help_flag, 400)
goto_if_false @COPCAR_15677
55@ = Char.GetNumberOfFollowers(156@)
160@ = Car.GetMaximumNumberOfPassengers($stealth_help_flag)
if 
  not is_int_lvar_greater_than_int_lvar 55@ > 160@
goto_if_false @COPCAR_15633
$chickY = Char.GetScriptTaskStatus(156@, 1483)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_15626
Car.LockDoors($stealth_help_flag, CarLock.Unlocked)
Car.SetCruiseSpeed($stealth_help_flag, 0.0)
Task.EnterCarAsDriver(156@, $stealth_help_flag, -2)

:COPCAR_15626
goto @COPCAR_15670

:COPCAR_15633
$chickY = Char.GetScriptTaskStatus(156@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_15670
Task.KillCharOnFoot(156@, $stattreadstamina_ctr)

:COPCAR_15670
goto @COPCAR_15726

:COPCAR_15677
$chickY = Char.GetScriptTaskStatus(156@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_15714
Task.KillCharOnFoot(156@, $stattreadstamina_ctr)

:COPCAR_15714
Car.MarkAsNoLongerNeeded($stealth_help_flag)
$stealth_help_flag = -1

:COPCAR_15726
goto @COPCAR_16048

:COPCAR_15733
$coord_2_y, $coord_c1_x, $coord_c1_y, $on_footX = Path.GetClosestCarNodeWithHeading($coord_2_y, $coord_c1_x, $coord_c1_y)
if 
  not Camera.IsPointOnScreen($coord_2_y, $coord_c1_x, $coord_c1_y, 3.0)
goto_if_false @COPCAR_16048
if 
  not World.IsPointObscuredByAMissionEntity($coord_2_y, $coord_c1_x, $coord_c1_y, 3.0, 3.0, 2.0)
goto_if_false @COPCAR_15939
if 
  Streaming.HasModelLoaded(90@)
goto_if_false @COPCAR_15932
$chickY = Char.GetScriptTaskStatus(156@, 1483)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_15932
Car.MarkAsNoLongerNeeded($stealth_help_flag)
$stealth_help_flag = Car.Create(90@, $coord_2_y, $coord_c1_x, $coord_c1_y)
if 
  Car.IsHealthGreater($stealth_help_flag, 800)
goto_if_false @COPCAR_15914
Car.SetHealth($stealth_help_flag, 800)

:COPCAR_15914
Car.SetHeading($stealth_help_flag, $on_footX)
Task.EnterCarAsDriver(156@, $stealth_help_flag, -2)

:COPCAR_15932
goto @COPCAR_16048

:COPCAR_15939
if 
  Char.LocateOnFoot3D(156@, $coord_2_y, $coord_c1_x, $coord_c1_y, 3.0, 3.0, 2.0, False)
goto_if_false @COPCAR_16048
$chickY = Char.GetScriptTaskStatus(156@, 1491)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_16048
$coord_2_y, $coord_c1_x, $coord_c1_y = Path.GetClosestCharNode($coord_2_y, $coord_c1_x, $coord_c1_y)
Task.GoStraightToCoord(156@, $coord_2_y, $coord_c1_x, $coord_c1_y, MoveState.Run, -2)

:COPCAR_16048
return 

:COPCAR_16050
161@ = Clock.GetGameTimer()
$an = Streaming.GetAreaVisible()
if 
  $an == 0
goto_if_false @COPCAR_16674
if 
  not Car.IsDead(153@)
goto_if_false @COPCAR_16674
if and
  Car.IsUpsidedown(153@)
  Car.IsStopped(153@)
goto_if_false @COPCAR_16276
52@ = 1
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 153@, 90.0, 90.0, False)
goto_if_false @COPCAR_16174
Car.SetUpsidedownNotDamaged(153@, False)
154@ = -9
goto @COPCAR_16276

:COPCAR_16174
if 
  not Car.IsOnScreen(153@)
goto_if_false @COPCAR_16276
$wanted_star_help, $show_race_selection, $gym_contact_blip = Car.GetCoordinates(153@)
$wanted_star_help, $show_race_selection, $gym_contact_blip, $on_footX = Path.GetClosestCarNodeWithHeading($wanted_star_help, $show_race_selection, $gym_contact_blip)
if 
  not Camera.IsPointOnScreen($wanted_star_help, $show_race_selection, $gym_contact_blip, 4.0)
goto_if_false @COPCAR_16276
Car.SetCoordinates(153@, $wanted_star_help, $show_race_selection, $gym_contact_blip)
Car.SetHeading(153@, $on_footX)

:COPCAR_16276
if 
  Car.Locate3D(153@, 150@, 151@, 152@, 4.0, 4.0, 4.0, False)
goto_if_false @COPCAR_16611
if 
  154@ == 0
goto_if_false @COPCAR_16351
set_lvar_int_to_lvar_int 155@ = 161@
154@ = 1

:COPCAR_16351
sub_int_lvar_from_int_lvar 161@ -= 155@
if 
  154@ == 1
goto_if_false @COPCAR_16611
if 
  161@ > 8000
goto_if_false @COPCAR_16611
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 153@, 90.0, 90.0, False)
goto_if_false @COPCAR_16453
Car.SetUpsidedownNotDamaged(153@, False)
155@ = Clock.GetGameTimer()
154@ = -9
goto @COPCAR_16611

:COPCAR_16453
if 
  not Car.IsOnScreen(153@)
goto_if_false @COPCAR_16611
$wanted_star_help, $show_race_selection, $gym_contact_blip = Car.GetCoordinates(153@)
$wanted_star_help, $show_race_selection, $gym_contact_blip, $on_footX = Path.GetClosestCarNodeWithHeading($wanted_star_help, $show_race_selection, $gym_contact_blip)
if 
  not World.IsPointObscuredByAMissionEntity($wanted_star_help, $show_race_selection, $gym_contact_blip, 4.0, 4.0, 4.0)
goto_if_false @COPCAR_16611
if 
  not Camera.IsPointOnScreen($wanted_star_help, $show_race_selection, $gym_contact_blip, 4.0)
goto_if_false @COPCAR_16611
Car.SetCoordinates(153@, $wanted_star_help, $show_race_selection, $gym_contact_blip)
Car.SetHeading(153@, $on_footX)
155@ = Clock.GetGameTimer()
154@ = 0
52@ = 1

:COPCAR_16611
if 
  not Car.Locate3D(153@, 150@, 151@, 152@, 4.0, 4.0, 4.0, False)
goto_if_false @COPCAR_16674
150@, 151@, 152@ = Car.GetCoordinates(153@)
154@ = 0

:COPCAR_16674
return 
$RStickY = Clock.GetGameTimer()
return 
return 
return 

:COPCAR_16687
if 
  not Char.IsDead(36@)
goto_if_false @COPCAR_17130
if 
  Group.DoesExist(274@)
goto_if_false @COPCAR_17130
if 
  not Char.IsDead(37@)
goto_if_false @COPCAR_16844
if 
  not Char.IsGroupMember(37@, 274@)
goto_if_false @COPCAR_16837
if 
  Char.LocateAnyMeansChar2D(37@, 36@, 30.0, 30.0, False)
goto_if_false @COPCAR_16800
Group.SetMember(274@, 37@)
goto @COPCAR_16837

:COPCAR_16800
$chickY = Char.GetScriptTaskStatus(37@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_16837
Task.KillCharOnFoot(37@, $stattreadstamina_ctr)

:COPCAR_16837
goto @COPCAR_16856

:COPCAR_16844
Char.MarkAsNoLongerNeeded(37@)
37@ = -1

:COPCAR_16856
if 
  not Char.IsDead(38@)
goto_if_false @COPCAR_16981
if 
  not Char.IsGroupMember(38@, 274@)
goto_if_false @COPCAR_16974
if 
  Char.LocateAnyMeansChar2D(38@, 36@, 30.0, 30.0, False)
goto_if_false @COPCAR_16937
Group.SetMember(274@, 38@)
goto @COPCAR_16974

:COPCAR_16937
$chickY = Char.GetScriptTaskStatus(38@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_16974
Task.KillCharOnFoot(38@, $stattreadstamina_ctr)

:COPCAR_16974
goto @COPCAR_16993

:COPCAR_16981
Char.MarkAsNoLongerNeeded(38@)
38@ = -1

:COPCAR_16993
if 
  not Char.IsDead(39@)
goto_if_false @COPCAR_17118
if 
  not Char.IsGroupMember(39@, 274@)
goto_if_false @COPCAR_17111
if 
  Char.LocateAnyMeansChar2D(39@, 36@, 30.0, 30.0, False)
goto_if_false @COPCAR_17074
Group.SetMember(274@, 39@)
goto @COPCAR_17111

:COPCAR_17074
$chickY = Char.GetScriptTaskStatus(39@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_17111
Task.KillCharOnFoot(39@, $stattreadstamina_ctr)

:COPCAR_17111
goto @COPCAR_17130

:COPCAR_17118
Char.MarkAsNoLongerNeeded(39@)
39@ = -1

:COPCAR_17130
return 

:COPCAR_17132
if 
  not Char.IsDead(41@)
goto_if_false @COPCAR_17575
if 
  Group.DoesExist(275@)
goto_if_false @COPCAR_17575
if 
  not Char.IsDead(42@)
goto_if_false @COPCAR_17289
if 
  not Char.IsGroupMember(42@, 275@)
goto_if_false @COPCAR_17282
if 
  Char.LocateAnyMeansChar2D(42@, 41@, 30.0, 30.0, False)
goto_if_false @COPCAR_17245
Group.SetMember(275@, 42@)
goto @COPCAR_17282

:COPCAR_17245
$chickY = Char.GetScriptTaskStatus(42@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_17282
Task.KillCharOnFoot(42@, $stattreadstamina_ctr)

:COPCAR_17282
goto @COPCAR_17301

:COPCAR_17289
Char.MarkAsNoLongerNeeded(42@)
42@ = -1

:COPCAR_17301
if 
  not Char.IsDead(43@)
goto_if_false @COPCAR_17426
if 
  not Char.IsGroupMember(43@, 275@)
goto_if_false @COPCAR_17419
if 
  Char.LocateAnyMeansChar2D(43@, 41@, 30.0, 30.0, False)
goto_if_false @COPCAR_17382
Group.SetMember(275@, 43@)
goto @COPCAR_17419

:COPCAR_17382
$chickY = Char.GetScriptTaskStatus(43@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_17419
Task.KillCharOnFoot(43@, $stattreadstamina_ctr)

:COPCAR_17419
goto @COPCAR_17438

:COPCAR_17426
Char.MarkAsNoLongerNeeded(43@)
43@ = -1

:COPCAR_17438
if 
  not Char.IsDead(44@)
goto_if_false @COPCAR_17563
if 
  not Char.IsGroupMember(44@, 275@)
goto_if_false @COPCAR_17556
if 
  Char.LocateAnyMeansChar2D(44@, 41@, 30.0, 30.0, False)
goto_if_false @COPCAR_17519
Group.SetMember(275@, 44@)
goto @COPCAR_17556

:COPCAR_17519
$chickY = Char.GetScriptTaskStatus(44@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_17556
Task.KillCharOnFoot(44@, $stattreadstamina_ctr)

:COPCAR_17556
goto @COPCAR_17575

:COPCAR_17563
Char.MarkAsNoLongerNeeded(44@)
44@ = -1

:COPCAR_17575
return 

:COPCAR_17577
if 
  not Char.IsDead(46@)
goto_if_false @COPCAR_18020
if 
  Group.DoesExist(276@)
goto_if_false @COPCAR_18020
if 
  not Char.IsDead(47@)
goto_if_false @COPCAR_17734
if 
  not Char.IsGroupMember(47@, 276@)
goto_if_false @COPCAR_17727
if 
  Char.LocateAnyMeansChar2D(47@, 46@, 30.0, 30.0, False)
goto_if_false @COPCAR_17690
Group.SetMember(276@, 47@)
goto @COPCAR_17727

:COPCAR_17690
$chickY = Char.GetScriptTaskStatus(47@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_17727
Task.KillCharOnFoot(47@, $stattreadstamina_ctr)

:COPCAR_17727
goto @COPCAR_17746

:COPCAR_17734
Char.MarkAsNoLongerNeeded(47@)
47@ = -1

:COPCAR_17746
if 
  not Char.IsDead(48@)
goto_if_false @COPCAR_17871
if 
  not Char.IsGroupMember(48@, 276@)
goto_if_false @COPCAR_17864
if 
  Char.LocateAnyMeansChar2D(48@, 46@, 30.0, 30.0, False)
goto_if_false @COPCAR_17827
Group.SetMember(276@, 48@)
goto @COPCAR_17864

:COPCAR_17827
$chickY = Char.GetScriptTaskStatus(48@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_17864
Task.KillCharOnFoot(48@, $stattreadstamina_ctr)

:COPCAR_17864
goto @COPCAR_17883

:COPCAR_17871
Char.MarkAsNoLongerNeeded(48@)
48@ = -1

:COPCAR_17883
if 
  not Char.IsDead(49@)
goto_if_false @COPCAR_18008
if 
  not Char.IsGroupMember(49@, 276@)
goto_if_false @COPCAR_18001
if 
  Char.LocateAnyMeansChar2D(49@, 46@, 30.0, 30.0, False)
goto_if_false @COPCAR_17964
Group.SetMember(276@, 49@)
goto @COPCAR_18001

:COPCAR_17964
$chickY = Char.GetScriptTaskStatus(49@, 1506)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @COPCAR_18001
Task.KillCharOnFoot(49@, $stattreadstamina_ctr)

:COPCAR_18001
goto @COPCAR_18020

:COPCAR_18008
Char.MarkAsNoLongerNeeded(49@)
49@ = -1

:COPCAR_18020
return 

:COPCAR_18022
Char.SetDecisionMaker(50@, 267@)
Char.SetIsChrisCriminal(50@, True)
Char.SetOnlyDamagedByPlayer(50@, True)
Char.SetForceDieInCar(50@, True)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Player1)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.CivMale)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.CivFemale)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Cop)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Gang1)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Gang2)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Gang8)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Gang3)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Gang5)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Gang7)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Gang6)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Dealer)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Emergency)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Fireman)
Char.SetRelationship(50@, RelationshipType.Hate, PedType.Bum)
if 
  51@ == 0
goto_if_false @COPCAR_18213
159@ = Math.RandomIntInRange(0, 2)

:COPCAR_18213
if 
  51@ > 1
goto_if_false @COPCAR_18240
159@ = Math.RandomIntInRange(0, 3)

:COPCAR_18240
if 
  51@ > 4
goto_if_false @COPCAR_18267
159@ = Math.RandomIntInRange(0, 4)

:COPCAR_18267
if 
  51@ > 6
goto_if_false @COPCAR_18294
159@ = Math.RandomIntInRange(0, 5)

:COPCAR_18294
if 
  51@ > 8
goto_if_false @COPCAR_18321
159@ = Math.RandomIntInRange(0, 6)

:COPCAR_18321
if 
  159@ == 0
goto_if_false @COPCAR_18404
159@ = Math.RandomIntInRange(10, 13)
if 
  159@ == 10
goto_if_false @COPCAR_18376
Char.GiveWeapon(50@, WeaponType.BaseballBat, 9999)

:COPCAR_18376
if 
  159@ == 11
goto_if_false @COPCAR_18404
Char.GiveWeapon(50@, WeaponType.BaseballBat, 9999)

:COPCAR_18404
if 
  159@ == 1
goto_if_false @COPCAR_18432
Char.GiveWeapon(50@, WeaponType.Pistol, 9999)

:COPCAR_18432
if 
  159@ == 2
goto_if_false @COPCAR_18460
Char.GiveWeapon(50@, WeaponType.MicroUzi, 9999)

:COPCAR_18460
if 
  159@ == 3
goto_if_false @COPCAR_18488
Char.GiveWeapon(50@, WeaponType.Ak47, 9999)

:COPCAR_18488
if or
  159@ == 4
  159@ == 5
goto_if_false @COPCAR_18523
Char.GiveWeapon(50@, WeaponType.Shotgun, 9999)

:COPCAR_18523
return 

:COPCAR_18525
if 
  $8226 <> -100
goto_if_false @COPCAR_18602
if 
  1 > $8226
goto_if_false @COPCAR_18602
58@ = 1
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Text.PrintNow('C_TIME', 3000, 1)
return 

:COPCAR_18602
if -1
goto_if_false @COPCAR_18927
Hud.FreezeTimer(False)
if 
  57@ == 0
goto_if_false @COPCAR_18693
53@ = Clock.GetGameTimer()
if 
  $8226 > 60000
goto_if_false @COPCAR_18678
56@ = 60000
goto @COPCAR_18686

:COPCAR_18678
set_lvar_int_to_var_int 56@ = $8226

:COPCAR_18686
57@ = 1

:COPCAR_18693
59@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 60@ = 59@
sub_int_lvar_from_int_lvar 60@ -= 53@
sub_int_lvar_from_int_lvar 56@ -= 60@
set_lvar_int_to_lvar_int 53@ = 59@
set_lvar_int_to_lvar_int 61@ = 56@
61@ /= 1000
if 
  1 > 61@
goto_if_false @COPCAR_18822
61@ = 0
if 
  is_int_lvar_greater_than_int_lvar 59@ > 91@
goto_if_false @COPCAR_18815
Text.PrintNow('C_TIME', 3000, 1)
58@ = 1
return 

:COPCAR_18815
goto @COPCAR_18838

:COPCAR_18822
set_lvar_int_to_lvar_int 91@ = 59@
91@ += 1000

:COPCAR_18838
if 
  61@ > -1
goto_if_false @COPCAR_18927
if 
  61@ == 1
goto_if_false @COPCAR_18904
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('COPCA_T', 61@, 200, 1)
goto @COPCAR_18927

:COPCAR_18904
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('COPCART', 61@, 200, 1)

:COPCAR_18927
$LStickX = Pad.GetControllerMode()
if or
  Char.IsInAnyPoliceVehicle($stattreadstamina_ctr)
  Char.IsInModel($stattreadstamina_ctr, 425)
goto_if_false @COPCAR_19151
34@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Car.SetCanBurstTires(34@, False)
if 
  $LStickX <> 3
goto_if_false @COPCAR_19070
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @COPCAR_19038
if 
  62@ == 1
goto_if_false @COPCAR_19031
62@ = 2

:COPCAR_19031
goto @COPCAR_19063

:COPCAR_19038
if 
  62@ == 0
goto_if_false @COPCAR_19063
62@ = 1

:COPCAR_19063
goto @COPCAR_19144

:COPCAR_19070
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @COPCAR_19119
if 
  62@ == 1
goto_if_false @COPCAR_19112
62@ = 2

:COPCAR_19112
goto @COPCAR_19144

:COPCAR_19119
if 
  62@ == 0
goto_if_false @COPCAR_19144
62@ = 1

:COPCAR_19144
57@ = 0

:COPCAR_19151
if 
  62@ == 2
goto_if_false @COPCAR_19278
if 
  $LStickX <> 3
goto_if_false @COPCAR_19236
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @COPCAR_19229
Text.PrintNow('C_CANC', 3000, 1)
58@ = 1
return 

:COPCAR_19229
goto @COPCAR_19278

:COPCAR_19236
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @COPCAR_19278
Text.PrintNow('C_CANC', 3000, 1)
58@ = 1
return 

:COPCAR_19278
return 

//-------------Mission 125---------------
// Originally: Burglary Sub-Mission

:BURGJB
script_name 'BURGJB'
gosub @BURGJB_65
if 
  has_deatharrest_been_executed 
goto_if_false @BURGJB_38
gosub @BURGJB_8267

:BURGJB_38
gosub @BURGJB_8379
terminate_this_script 
if 
  $nascar_best_lap_time == 0
goto_if_false @BURGJB_65

:BURGJB_65
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
wait 0
Camera.SetFadingColor(0, 0, 0)
Text.LoadMissionText('BURGLAR')
Game.EnableBurglaryHouses(True)
92@ = 0
93@ = 0
94@ = 0
95@ = 0
96@ = 0
97@ = 0
101@ = 0
98@ = 0
99@ = 0
100@ = 0
103@ = 0
102@ = 0
107@ = 0
108@ = 0
109@ = 0
110@ = 0
112@ = 0
47@ = 0
$8232 = 0
90@ = 0
89@ = 0
106@ = 0
$flag_freight_passed_0stime = 10
$ft_distance = 300000
91@ = 0
105@ = 0
41@ = 0.0
$timer_countdown_farlie3 = 0.0
42@ = 9999999.0
43@ = 9999999.0
54@ = 2741.0
57@ = -2006.807
60@ = 14.0
set_var_text_label s$8233[0] = 'BURG_LK'
76@ = 2741.241
79@ = -2011.274
82@ = 13.5869
55@ = -2102.54
58@ = -15.5931
61@ = 34.3203
set_var_text_label s$8233[1] = 'BRGSFSE'
77@ = -2109.32
80@ = -15.7967
83@ = 34.3203
56@ = 2609.248
59@ = 1439.347
62@ = 9.8203
set_var_text_label s$8233[2] = 'VGELOCK'
78@ = 2609.012
81@ = 1445.936
84@ = 9.8203
34@ = 0
48@ = 0
$int_distance_player_girl = 0
111@ = 0
$iSwitchOffDanceMiniGame = 0
$cs1_race_is_go = 1
38@ = Player.StoreScore($statbike_temp)
39@ = Player.StoreScore($statbike_temp)
if 
  48@ == 99
goto_if_false @BURGJB_687
49@ = Object.Create(#BRIEFCASE, 0.0, 0.0, 0.0)
51@ = Blip.AddForCoord(0.0, 0.0, 0.0)
53@ = Blip.AddForCoord(0.0, 0.0, 0.0)

:BURGJB_687
if 
goto_if_false @BURGJB_773
Text.DrawOddjobTitleBeforeFade(False)
Camera.DoFade(1000, Fade.Out)

:BURGJB_709
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_733
wait 0
goto @BURGJB_709

:BURGJB_733
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:BURGJB_745
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_769
wait 0
goto @BURGJB_745

:BURGJB_769
Text.DrawOddjobTitleBeforeFade(True)

:BURGJB_773
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if 
  $player_is_completely_safe >= 20
goto_if_false @BURGJB_862
set_lvar_int_to_var_int 88@ = $player_is_completely_safe
88@ *= 60
add_int_var_to_int_lvar 88@ += $player_is_completely_safe_for_mobile
36@ = 1440
sub_int_lvar_from_int_lvar 36@ -= 88@
36@ += 360
36@ *= 1000
set_var_int_to_lvar_int $flag_freight_passed_1stime = 36@

:BURGJB_862
if 
  6 > $player_is_completely_safe
goto_if_false @BURGJB_935
set_lvar_int_to_var_int 88@ = $player_is_completely_safe
88@ *= 60
add_int_var_to_int_lvar 88@ += $player_is_completely_safe_for_mobile
36@ = 360
sub_int_lvar_from_int_lvar 36@ -= 88@
36@ *= 1000
set_var_int_to_lvar_int $flag_freight_passed_1stime = 36@

:BURGJB_935
Hud.DisplayTimerWithString($flag_freight_passed_1stime, TimerDirection.Down, 'BURG52')
Hud.DisplayNthCounterWithString($8232, CounterDisplay.Number, 1, 'BURG51')
wait 0
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BURGJB_997
50@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:BURGJB_997
wait 0
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @BURGJB_1026
$flag_freight_passed_1stime = 10000000

:BURGJB_1026
if 
is_ps2_keyboard_key_pressed 49
goto_if_false @BURGJB_1071
Char.SetCoordinates($stattreadstamina_ctr, 2741.928, -1993.231, 12.3669)
Char.SetHeading($stattreadstamina_ctr, 173.5173)

:BURGJB_1071
if 
is_ps2_keyboard_key_pressed 50
goto_if_false @BURGJB_1106
Char.SetCoordinates($stattreadstamina_ctr, 2639.0, 2039.911, 9.8052)

:BURGJB_1106
if 
is_ps2_keyboard_key_pressed 99
goto_if_false @BURGJB_1129
$flag_freight_passed_1stime = 5000

:BURGJB_1129
if 
is_ps2_keyboard_key_pressed 48
goto_if_false @BURGJB_1152
$ft_distance = 5000

:BURGJB_1152
if 
is_ps2_keyboard_key_pressed 53
goto_if_false @BURGJB_1175
$flag_end_guy_audio_crash4 = 11000

:BURGJB_1175
if 
is_ps2_keyboard_key_pressed 54
goto_if_false @BURGJB_1197
48@ = 3

:BURGJB_1197
if 
  110@ == 0
goto_if_false @BURGJB_2106
if 
  $flag_freight_passed_1stime == 0
goto_if_false @BURGJB_1923
Text.ClearPrints
Game.EnableBurglaryHouses(False)
if 
  92@ == 1
goto_if_false @BURGJB_1523
Player.SetControl($statbike_temp, False)
Camera.DoFade(1000, Fade.Out)

:BURGJB_1271
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_1295
wait 0
goto @BURGJB_1271

:BURGJB_1295
Text.ClearHelp
Streaming.SetAreaVisible(0)
Streaming.RequestCollision(69@, 70@)
Streaming.LoadScene(69@, 70@, 71@)
Char.SetCoordinatesNoOffset($stattreadstamina_ctr, 69@, 70@, 71@)
Char.ShutUp($stattreadstamina_ctr, False)
72@ += 180.0
Char.SetHeading($stattreadstamina_ctr, 72@)
Char.SetHasUsedEntryExit($stattreadstamina_ctr, 73@, 74@, 5.0)
Streaming.LoadScene(69@, 70@, 71@)
if 
  48@ == 0
goto_if_false @BURGJB_1449
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @BURGJB_1449
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)

:BURGJB_1449
92@ = 0
93@ = 0
if 
  not Game.IsMinigameInProgress
goto_if_false @BURGJB_1478
Camera.RestoreJumpcut

:BURGJB_1478
Camera.DoFade(1000, Fade.In)

:BURGJB_1485
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_1509
wait 0
goto @BURGJB_1485

:BURGJB_1509
Player.SetControl($statbike_temp, True)
goto @BURGJB_1686

:BURGJB_1523
if 
  48@ == 0
goto_if_false @BURGJB_1686
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @BURGJB_1686
if 
  Player.IsControlOn($statbike_temp)
goto_if_false @BURGJB_1593
Player.SetControl($statbike_temp, False)

:BURGJB_1593
Camera.DoFade(1000, Fade.Out)

:BURGJB_1600
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_1624
wait 0
goto @BURGJB_1600

:BURGJB_1624
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
if 
  not Game.IsMinigameInProgress
goto_if_false @BURGJB_1655
Camera.RestoreJumpcut

:BURGJB_1655
Camera.DoFade(1000, Fade.In)

:BURGJB_1662
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_1686
wait 0
goto @BURGJB_1662

:BURGJB_1686
Hud.ClearTimer($flag_freight_passed_1stime)
if 
  48@ > 0
goto_if_false @BURGJB_1869
Hud.DisplayTimerWithString($ft_distance, TimerDirection.Down, 'BURG3')
Text.ClearPrints
Text.Print('BURG2', 5000, 1)
if 
  93@ == 1
goto_if_false @BURGJB_1791
Text.Print('BURG26', 5000, 1)
102@ = 2
goto @BURGJB_1862

:BURGJB_1791
if 
  94@ == 1
goto_if_false @BURGJB_1839
Text.Print('BURG27', 5000, 1)
102@ = 1
goto @BURGJB_1862

:BURGJB_1839
Text.Print('BURG1', 5000, 1)
102@ = 3

:BURGJB_1862
goto @BURGJB_1909

:BURGJB_1869
$ft_distance = 0
Object.Delete(49@)
Object.MarkAsNoLongerNeeded(49@)
Text.Print('BURG53', 5000, 1)
goto @BURGJB_8267

:BURGJB_1909
110@ = 1
goto @BURGJB_2099

:BURGJB_1923
$player_is_completely_safe, $player_is_completely_safe_for_mobile = Clock.GetTimeOfDay()
if 
  $player_is_completely_safe >= 20
goto_if_false @BURGJB_2019
set_lvar_int_to_var_int 88@ = $player_is_completely_safe
88@ *= 60
add_int_var_to_int_lvar 88@ += $player_is_completely_safe_for_mobile
36@ = 1440
sub_int_lvar_from_int_lvar 36@ -= 88@
36@ += 360
36@ += 1
36@ *= 1000
set_var_int_to_lvar_int $flag_freight_passed_1stime = 36@

:BURGJB_2019
if 
  6 > $player_is_completely_safe
goto_if_false @BURGJB_2099
set_lvar_int_to_var_int 88@ = $player_is_completely_safe
88@ *= 60
add_int_var_to_int_lvar 88@ += $player_is_completely_safe_for_mobile
36@ = 360
sub_int_lvar_from_int_lvar 36@ -= 88@
36@ += 1
36@ *= 1000
set_var_int_to_lvar_int $flag_freight_passed_1stime = 36@

:BURGJB_2099
goto @BURGJB_2304

:BURGJB_2106
if 
  $ft_distance == 0
goto_if_false @BURGJB_2304
Text.ClearPrints
if 
  Player.IsControlOn($statbike_temp)
goto_if_false @BURGJB_2149
Player.SetControl($statbike_temp, False)

:BURGJB_2149
Camera.DoFade(1000, Fade.Out)

:BURGJB_2156
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_2180
wait 0
goto @BURGJB_2156

:BURGJB_2180
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @BURGJB_2225
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)

:BURGJB_2225
if 
  not Game.IsMinigameInProgress
goto_if_false @BURGJB_2240
Camera.RestoreJumpcut

:BURGJB_2240
Camera.DoFade(1000, Fade.In)

:BURGJB_2247
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_2271
wait 0
goto @BURGJB_2247

:BURGJB_2271
Text.Print('BURG53', 5000, 1)
Object.Delete(49@)
Object.MarkAsNoLongerNeeded(49@)
goto @BURGJB_8267

:BURGJB_2304
if 
  95@ == 0
goto_if_false @BURGJB_7767
gosub @BURGJB_7888
37@ = Streaming.GetAreaVisible()
if 
  37@ == 0
goto_if_false @BURGJB_2386
if 
goto_if_false @BURGJB_2386
Text.Print('BURG62', 5000, 1)
goto @BURGJB_8267

:BURGJB_2386
if 
  93@ == 1
goto_if_false @BURGJB_2629
if and
  Player.IsWantedLevelGreater($statbike_temp, 0)
  48@ > 0
goto_if_false @BURGJB_2479
if 
  102@ <> 5
goto_if_false @BURGJB_2472
Text.ClearPrints
Text.Print('BURG50', 5000, 1)
102@ = 5

:BURGJB_2472
goto @BURGJB_2622

:BURGJB_2479
if 
  102@ <> 2
goto_if_false @BURGJB_2622
Text.ClearPrints
if 
  48@ > 0
goto_if_false @BURGJB_2581
if 
  110@ == 0
goto_if_false @BURGJB_2558
Text.Print('BURG4', 5000, 1)
goto @BURGJB_2574

:BURGJB_2558
Text.Print('BURG26', 5000, 1)

:BURGJB_2574
goto @BURGJB_2615

:BURGJB_2581
if 
  110@ == 0
goto_if_false @BURGJB_2615
Text.Print('BURG29', 5000, 1)

:BURGJB_2615
102@ = 2

:BURGJB_2622
goto @BURGJB_3019

:BURGJB_2629
if 
  110@ == 0
goto_if_false @BURGJB_2892
if 
  94@ == 1
goto_if_false @BURGJB_2733
if 
  102@ <> 1
goto_if_false @BURGJB_2726
if 
  92@ == 0
goto_if_false @BURGJB_2726
Text.ClearPrints
Text.Print('BURG27', 5000, 1)
102@ = 1

:BURGJB_2726
goto @BURGJB_2885

:BURGJB_2733
if 
  92@ == 1
goto_if_false @BURGJB_2801
if 
  102@ <> 4
goto_if_false @BURGJB_2794
Text.ClearPrints
Text.Print('BURG30', 5000, 1)
102@ = 4

:BURGJB_2794
goto @BURGJB_2885

:BURGJB_2801
if 
  102@ <> 3
goto_if_false @BURGJB_2885
Text.ClearPrints
if 
  48@ == 0
goto_if_false @BURGJB_2862
Text.Print('BURG29', 5000, 1)
goto @BURGJB_2878

:BURGJB_2862
Text.Print('BURG31', 5000, 1)

:BURGJB_2878
102@ = 3

:BURGJB_2885
goto @BURGJB_3019

:BURGJB_2892
if 
  94@ == 1
goto_if_false @BURGJB_2978
if 
  102@ <> 1
goto_if_false @BURGJB_2971
if 
  92@ == 0
goto_if_false @BURGJB_2971
Text.ClearPrints
Text.Print('BURG27', 5000, 1)
102@ = 1

:BURGJB_2971
goto @BURGJB_3019

:BURGJB_2978
if 
  102@ <> 3
goto_if_false @BURGJB_3019
Text.Print('BURG1', 5000, 1)
102@ = 3

:BURGJB_3019
if 
  not Car.IsDead(50@)
goto_if_false @BURGJB_7616
if 
  92@ == 0
goto_if_false @BURGJB_3331
if 
  not Char.IsInCar($stattreadstamina_ctr, 50@)
goto_if_false @BURGJB_3163
93@ = 0
if 
  99@ == 1
goto_if_false @BURGJB_3109
Blip.Remove(51@)
99@ = 0

:BURGJB_3109
if 
  97@ == 0
goto_if_false @BURGJB_3156
52@ = Blip.AddForCar(50@)
Blip.ChangeDisplay(52@, BlipDisplay.BlipOnly)
Blip.SetAsFriendly(52@, True)
97@ = 1

:BURGJB_3156
goto @BURGJB_3331

:BURGJB_3163
93@ = 1
if 
  97@ == 1
goto_if_false @BURGJB_3207
108@ = 0
Blip.Remove(52@)
97@ = 0

:BURGJB_3207
if 
  48@ > 0
goto_if_false @BURGJB_3331
if 
  Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @BURGJB_3280
if 
  99@ == 1
goto_if_false @BURGJB_3273
Blip.Remove(51@)
99@ = 0

:BURGJB_3273
goto @BURGJB_3331

:BURGJB_3280
if 
  99@ == 0
goto_if_false @BURGJB_3331
51@ = Blip.AddForCoord(54@(35@,3f), 57@(35@,3f), 60@(35@,3f))
99@ = 1

:BURGJB_3331
if 
  108@ == 0
goto_if_false @BURGJB_3783
$trigger_phonecall_failed = Stat.GetInt(StatId.CitiesPassed)
if 
  $trigger_phonecall_failed == 0
goto_if_false @BURGJB_3389
35@ = 0
goto @BURGJB_3765

:BURGJB_3389
if 
  $trigger_phonecall_failed == 1
goto_if_false @BURGJB_3561
63@, 64@, 65@ = Char.GetCoordinates($stattreadstamina_ctr)
35@ = World.GetCityFromCoords(63@, 64@, 65@)
if 
  35@ > 0
goto_if_false @BURGJB_3467
35@ -= 1
goto @BURGJB_3554

:BURGJB_3467
42@ = Math.GetDistanceBetweenCoords3D(63@, 64@, 65@, 54@, 57@, 60@)
35@ = 0
set_lvar_float_to_lvar_float 43@ = 42@
42@ = Math.GetDistanceBetweenCoords3D(63@, 64@, 65@, 55@, 58@, 61@)
if 
  is_float_lvar_greater_than_float_lvar 43@ > 42@
goto_if_false @BURGJB_3554
35@ = 1

:BURGJB_3554
goto @BURGJB_3765

:BURGJB_3561
63@, 64@, 65@ = Char.GetCoordinates($stattreadstamina_ctr)
35@ = World.GetCityFromCoords(63@, 64@, 65@)
if 
  35@ > 0
goto_if_false @BURGJB_3621
35@ -= 1
goto @BURGJB_3765

:BURGJB_3621
42@ = Math.GetDistanceBetweenCoords3D(63@, 64@, 65@, 54@, 57@, 60@)
35@ = 0
set_lvar_float_to_lvar_float 43@ = 42@
42@ = Math.GetDistanceBetweenCoords3D(63@, 64@, 65@, 55@, 58@, 61@)
if 
  is_float_lvar_greater_than_float_lvar 43@ > 42@
goto_if_false @BURGJB_3716
35@ = 1
set_lvar_float_to_lvar_float 43@ = 42@

:BURGJB_3716
42@ = Math.GetDistanceBetweenCoords3D(63@, 64@, 65@, 56@, 59@, 62@)
if 
  is_float_lvar_greater_than_float_lvar 43@ > 42@
goto_if_false @BURGJB_3765
35@ = 2

:BURGJB_3765
Garage.ChangeType($8233(35@,3s), GarageType.ForScriptToOpenAndClose)
108@ = 1

:BURGJB_3783
if 
  not Car.IsDead(50@)
goto_if_false @BURGJB_5230
if or
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 54@(35@,3f), 57@(35@,3f), 60@(35@,3f), 20.0, 20.0, 4.0, False)
  Car.Locate3D(50@, 54@(35@,3f), 57@(35@,3f), 60@(35@,3f), 20.0, 20.0, 4.0, False)
goto_if_false @BURGJB_5201
if 
  not Garage.IsOpen($8233(35@,3s))
goto_if_false @BURGJB_3925
Garage.Open($8233(35@,3s))

:BURGJB_3925
if 
  108@ == 1
goto_if_false @BURGJB_5194
if 
  93@ == 1
goto_if_false @BURGJB_5194
if 
  48@ > 0
goto_if_false @BURGJB_5194
if 
  Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @BURGJB_4052
if 
  99@ == 1
goto_if_false @BURGJB_4045
Text.ClearPrints
Text.Print('BURG50', 5000, 1)
Blip.Remove(51@)
99@ = 0

:BURGJB_4045
goto @BURGJB_5194

:BURGJB_4052
if 
  99@ == 0
goto_if_false @BURGJB_4128
Text.ClearPrints
Text.Print('BURG26', 5000, 1)
51@ = Blip.AddForCoord(54@(35@,3f), 57@(35@,3f), 60@(35@,3f))
99@ = 1
goto @BURGJB_5194

:BURGJB_4128
Text.Print('BURG40', 1000, 1)
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 76@(35@,3f), 79@(35@,3f), 82@(35@,3f), 2.9, 3.2, 5.0, True)
goto_if_false @BURGJB_5194
Player.SetControl($statbike_temp, False)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Text.ClearPrints
World.ClearArea(76@(35@,3f), 79@(35@,3f), 82@(35@,3f), 10.0, True)
if 
  110@ == 1
goto_if_false @BURGJB_4277
Hud.ClearTimer($ft_distance)
$ft_distance = 999999

:BURGJB_4277
if 
  not Garage.IsClosed($8233(35@,3s))
goto_if_false @BURGJB_4306
Garage.Close($8233(35@,3s))

:BURGJB_4306
104@ = 0

:BURGJB_4313
if 
  104@ == 0
goto_if_false @BURGJB_4369
wait 0
if 
  Garage.IsClosed($8233(35@,3s))
goto_if_false @BURGJB_4362
104@ = 1

:BURGJB_4362
goto @BURGJB_4313

:BURGJB_4369
Blip.Remove(51@)
set_lvar_int_to_lvar_int 34@ = 48@
34@ *= 20
mult_int_lvar_by_int_lvar 34@ *= 48@
add_int_lvar_to_int_var $counter_robbery_cat4 += 48@
add_int_lvar_to_int_var $flag_end_guy_audio_crash4 += 34@
cset_lvar_float_to_var_int 45@ =# $flag_end_guy_audio_crash4
cset_lvar_float_to_lvar_int 46@ =# 34@
add_int_lvar_to_int_lvar 47@ += 48@
add_int_lvar_to_int_var $8232 += 34@
Stat.RegisterFloat(StatId.LargestBurglarySwag, 46@)
Stat.IncrementFloat(StatId.MoneyMadeBurglary, 46@)
Stat.IncrementInt(StatId.StolenItemsSold, 48@)
if 
  110@ == 1
goto_if_false @BURGJB_4635
if 
  Player.IsControlOn($statbike_temp)
goto_if_false @BURGJB_4508
Player.SetControl($statbike_temp, False)

:BURGJB_4508
Camera.DoFade(1000, Fade.Out)

:BURGJB_4515
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_4539
wait 0
goto @BURGJB_4515

:BURGJB_4539
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @BURGJB_4584
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)

:BURGJB_4584
if 
  not Game.IsMinigameInProgress
goto_if_false @BURGJB_4597

:BURGJB_4597
Camera.DoFade(1000, Fade.In)

:BURGJB_4604
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_4628
wait 0
goto @BURGJB_4604

:BURGJB_4628
goto @BURGJB_4804

:BURGJB_4635
if and
  $flag_end_guy_audio_crash4 >= 10000
  $nascar_best_lap_time == 0
goto_if_false @BURGJB_4804
if 
  Player.IsControlOn($statbike_temp)
goto_if_false @BURGJB_4684
Player.SetControl($statbike_temp, False)

:BURGJB_4684
Camera.DoFade(1000, Fade.Out)

:BURGJB_4691
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_4715
wait 0
goto @BURGJB_4691

:BURGJB_4715
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @BURGJB_4760
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)

:BURGJB_4760
if 
  not Game.IsMinigameInProgress
goto_if_false @BURGJB_4773

:BURGJB_4773
Camera.DoFade(1000, Fade.In)

:BURGJB_4780
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_4804
wait 0
goto @BURGJB_4780

:BURGJB_4804
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
if 
  2 > 48@
goto_if_false @BURGJB_4871
Text.PrintWith2NumbersBig('BURG39', 48@, 34@, 5000, TextStyle.WhiteMiddleSmaller)
goto @BURGJB_4893

:BURGJB_4871
Text.PrintWith2NumbersBig('BURG36', 48@, 34@, 5000, TextStyle.WhiteMiddleSmaller)

:BURGJB_4893
Player.AddScore($statbike_temp, 34@)
TIMERA = 0

:BURGJB_4908
if or
  Text.IsMessageBeingDisplayed
  4000 > TIMERA
goto_if_false @BURGJB_4940
wait 0
goto @BURGJB_4908

:BURGJB_4940
if 
  not Garage.IsOpen($8233(35@,3s))
goto_if_false @BURGJB_4969
Garage.Open($8233(35@,3s))

:BURGJB_4969
104@ = 0

:BURGJB_4976
if 
  104@ == 0
goto_if_false @BURGJB_5032
wait 0
if 
  Garage.IsOpen($8233(35@,3s))
goto_if_false @BURGJB_5025
104@ = 1

:BURGJB_5025
goto @BURGJB_4976

:BURGJB_5032
if and
  $flag_end_guy_audio_crash4 >= 10000
  $nascar_best_lap_time == 0
goto_if_false @BURGJB_5086
Player.SetControl($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
goto @BURGJB_8307
goto @BURGJB_5148

:BURGJB_5086
if 
  110@ == 0
goto_if_false @BURGJB_5120
Text.Print('BURG29', 5000, 1)

:BURGJB_5120
99@ = 0
34@ = 0
48@ = 0
105@ = 0

:BURGJB_5148
Player.SetControl($statbike_temp, True)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
if 
  110@ == 1
goto_if_false @BURGJB_5194
goto @BURGJB_8267
$ft_distance = 0

:BURGJB_5194
goto @BURGJB_5230

:BURGJB_5201
if 
  not Garage.IsClosed($8233(35@,3s))
goto_if_false @BURGJB_5230
Garage.Close($8233(35@,3s))

:BURGJB_5230
if 
  93@ == 0
goto_if_false @BURGJB_5665
if 
  Game.IsProceduralInteriorActive(0)
goto_if_false @BURGJB_5405
if 
  107@ == 0
goto_if_false @BURGJB_5391
69@, 70@, 71@, 72@ = Char.GetPositionOfEntryExitCharUsed($stattreadstamina_ctr)
73@, 74@, 75@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  Object.DoesExist(49@)
goto_if_false @BURGJB_5360
if 
  Char.IsHoldingObject($stattreadstamina_ctr, 49@)
goto_if_false @BURGJB_5360
37@ = Streaming.GetAreaVisible()
Object.SetAreaVisible(49@, 37@)

:BURGJB_5360
Blip.Remove(52@)
Char.ShutUp($stattreadstamina_ctr, True)
Hud.SetRadarZoom(90)
39@ = Player.StoreScore($statbike_temp)
107@ = 1

:BURGJB_5391
92@ = 1
goto @BURGJB_5665

:BURGJB_5405
if 
  107@ == 1
goto_if_false @BURGJB_5658
Char.ShutUp($stattreadstamina_ctr, False)
if 
  Object.DoesExist(49@)
goto_if_false @BURGJB_5478
if 
  Char.IsHoldingObject($stattreadstamina_ctr, 49@)
goto_if_false @BURGJB_5478
37@ = Streaming.GetAreaVisible()
Object.SetAreaVisible(49@, 37@)

:BURGJB_5478
if 
  not Car.IsDead(50@)
goto_if_false @BURGJB_5509
52@ = Blip.AddForCar(50@)
Blip.SetAsFriendly(52@, True)

:BURGJB_5509
Hud.SetRadarZoom(0)
107@ = 0
if 
  94@ == 1
goto_if_false @BURGJB_5658
112@ = 1
if 
  is_float_lvar_equal_to_float_lvar 85@ == 69@
goto_if_false @BURGJB_5609
if 
  is_float_lvar_equal_to_float_lvar 86@ == 70@
goto_if_false @BURGJB_5609
if 
  is_float_lvar_equal_to_float_lvar 87@ == 71@
goto_if_false @BURGJB_5609
112@ = 0

:BURGJB_5609
if 
  112@ == 1
goto_if_false @BURGJB_5658
set_lvar_float_to_lvar_float 85@ = 69@
set_lvar_float_to_lvar_float 86@ = 70@
set_lvar_float_to_lvar_float 87@ = 71@
Stat.IncrementInt(StatId.HousesBurgled, 1)

:BURGJB_5658
92@ = 0

:BURGJB_5665
if 
  93@ == 0
goto_if_false @BURGJB_6441
if 
  92@ == 0
goto_if_false @BURGJB_6441
if 
  94@ == 0
goto_if_false @BURGJB_5943
63@, 64@, 65@ = Char.GetCoordinates($stattreadstamina_ctr)
49@ = World.GetClosestStealableObject(63@, 64@, 65@, 5.0)
if 
  49@ <> -1
goto_if_false @BURGJB_5936
if 
  Char.IsHoldingObject($stattreadstamina_ctr, 49@)
goto_if_false @BURGJB_5830
if 
  100@ == 1
goto_if_false @BURGJB_5816
Text.ClearHelp
100@ = 0

:BURGJB_5816
94@ = 1
goto @BURGJB_5936

:BURGJB_5830
if 
  Char.LocateOnFootObject3D($stattreadstamina_ctr, 49@, 1.7, 1.7, 2.0, False)
goto_if_false @BURGJB_5909
if 
  100@ == 0
goto_if_false @BURGJB_5902
Text.PrintHelpForever('BURG23')
100@ = 1

:BURGJB_5902
goto @BURGJB_5936

:BURGJB_5909
if 
  100@ == 1
goto_if_false @BURGJB_5936
Text.ClearHelp
100@ = 0

:BURGJB_5936
goto @BURGJB_5999

:BURGJB_5943
if 
  Object.DoesExist(49@)
goto_if_false @BURGJB_5992
if 
  not Char.IsHoldingObject($stattreadstamina_ctr, 49@)
goto_if_false @BURGJB_5985
94@ = 0

:BURGJB_5985
goto @BURGJB_5999

:BURGJB_5992
94@ = 0

:BURGJB_5999
if or
  $int_distance_player_girl == 1
  98@ == 1
goto_if_false @BURGJB_6057
$int_distance_player_girl = 0
98@ = 0
Hud.ClearCounter($flag_freight_passed_0stime)
$flag_freight_passed_0stime = 10
109@ = 0

:BURGJB_6057
if 
  101@ == 1
goto_if_false @BURGJB_6114
Hud.ClearCounter($iSwitchOffDanceMiniGame)
$timer_countdown_farlie3 = 0.0
41@ = 0.0
$iSwitchOffDanceMiniGame = 0
101@ = 0

:BURGJB_6114
if 
  94@ == 1
goto_if_false @BURGJB_6441
66@, 67@, 68@ = Car.GetOffsetInWorldCoords(50@, 0.0, -6.0, 0.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 66@, 67@, 68@, 3.5, 3.5, 2.0, False)
goto_if_false @BURGJB_6414
if 
  100@ == 0
goto_if_false @BURGJB_6239
Text.PrintHelpForever('BURG24')
100@ = 1

:BURGJB_6239
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BURGJB_6407
Text.ClearHelp
48@ += 1
TIMERB = 0
104@ = 0
if 
  Object.DoesExist(49@)
goto_if_false @BURGJB_6400

:BURGJB_6295
if 
  104@ == 0
goto_if_false @BURGJB_6363
if or
  not Char.IsHoldingObject($stattreadstamina_ctr, 49@)
  Char.IsDead($stattreadstamina_ctr)
  TIMERB > 5000
goto_if_false @BURGJB_6352
104@ = 1

:BURGJB_6352
wait 0
goto @BURGJB_6295

:BURGJB_6363
Object.Delete(49@)
Object.MarkAsNoLongerNeeded(49@)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
94@ = 0

:BURGJB_6400
100@ = 0

:BURGJB_6407
goto @BURGJB_6441

:BURGJB_6414
if 
  100@ == 1
goto_if_false @BURGJB_6441
Text.ClearHelp
100@ = 0

:BURGJB_6441
if 
  92@ == 1
goto_if_false @BURGJB_7609
if and
  98@ == 0
  $int_distance_player_girl == 0
goto_if_false @BURGJB_6914
if 
  101@ == 0
goto_if_false @BURGJB_6566
111@ = StreamedScript.GetNumberOfInstances(23)
if 
  111@ > 0
goto_if_false @BURGJB_6559
Hud.DisplayNthCounterWithString($iSwitchOffDanceMiniGame, CounterDisplay.Bar, 2, 'BURG25')
Char.ShutUp($stattreadstamina_ctr, True)
101@ = 1

:BURGJB_6559
goto @BURGJB_6907

:BURGJB_6566
111@ = StreamedScript.GetNumberOfInstances(23)
if 
  111@ <> 0
goto_if_false @BURGJB_6861
63@, 64@, 65@ = Char.GetCoordinates($stattreadstamina_ctr)
$timer_countdown_farlie3 = World.GetSoundLevelAtCoords(-1, 63@, 64@, 65@)
$timer_countdown_farlie3 *= 1.6
if 
  $timer_countdown_farlie3 > 20.0
goto_if_false @BURGJB_6670
$timer_countdown_farlie3 -= 20.0
add_float_var_to_float_lvar 41@ += $timer_countdown_farlie3

:BURGJB_6670
41@ *= 0.99
cset_var_int_to_lvar_float $iSwitchOffDanceMiniGame =# 41@
if 
  $iSwitchOffDanceMiniGame >= 100
goto_if_false @BURGJB_6750
$iSwitchOffDanceMiniGame = 100
if 
  106@ == 0
goto_if_false @BURGJB_6743
89@ = Clock.GetGameTimer()
106@ = 1

:BURGJB_6743
goto @BURGJB_6782

:BURGJB_6750
if 
  0 > $iSwitchOffDanceMiniGame
goto_if_false @BURGJB_6775
$iSwitchOffDanceMiniGame = 0

:BURGJB_6775
106@ = 0

:BURGJB_6782
if 
  106@ == 1
goto_if_false @BURGJB_6854
90@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 91@ = 90@
sub_int_lvar_from_int_lvar 91@ -= 89@
if 
  91@ > 200
goto_if_false @BURGJB_6854
98@ = 1
105@ += 1

:BURGJB_6854
goto @BURGJB_6907

:BURGJB_6861
Hud.ClearCounter($iSwitchOffDanceMiniGame)
$timer_countdown_farlie3 = 0.0
41@ = 0.0
$iSwitchOffDanceMiniGame = 0
101@ = 0
Char.ShutUp($stattreadstamina_ctr, False)

:BURGJB_6907
goto @BURGJB_7271

:BURGJB_6914
if 
  101@ == 1
goto_if_false @BURGJB_7026
Hud.ClearCounter($iSwitchOffDanceMiniGame)
$flag_freight_passed_0stime = 10
Text.ClearPrints
Text.Print('BURG55', 5000, 1)
Hud.DisplayNthCounterWithString($flag_freight_passed_0stime, CounterDisplay.Number, 2, 'BURG61')
89@ = Clock.GetGameTimer()
$timer_countdown_farlie3 = 0.0
41@ = 0.0
$iSwitchOffDanceMiniGame = 0
101@ = 0
goto @BURGJB_7271

:BURGJB_7026
if 
  109@ == 0
goto_if_false @BURGJB_7271
90@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 91@ = 90@
sub_int_lvar_from_int_lvar 91@ -= 89@
91@ /= 1000
$flag_freight_passed_0stime = 10
sub_int_lvar_from_int_var $flag_freight_passed_0stime -= 91@
if or
  0 > $flag_freight_passed_0stime
  $flag_freight_passed_0stime == 0
goto_if_false @BURGJB_7182
$flag_freight_passed_0stime = 0
if 
  not Player.IsWantedLevelGreater($statbike_temp, 4)
goto_if_false @BURGJB_7145
Player.AlterWantedLevelNoDrop($statbike_temp, 3)

:BURGJB_7145
109@ = 1
Text.ClearPrints
Text.Print('BURG60', 5000, 1)
Hud.ClearCounter($flag_freight_passed_0stime)
goto @BURGJB_7271

:BURGJB_7182
Text.ClearThisPrint('BURG58')
Text.ClearThisPrint('BURG59')
Text.AddNextMessageToPreviousBriefs(False)
if 
  $flag_freight_passed_0stime > 1
goto_if_false @BURGJB_7252
Text.PrintWithNumber('BURG58', $flag_freight_passed_0stime, 1000, 1)
goto @BURGJB_7271

:BURGJB_7252
Text.PrintWithNumber('BURG59', $flag_freight_passed_0stime, 1000, 1)

:BURGJB_7271
if 
  94@ == 0
goto_if_false @BURGJB_7531
63@, 64@, 65@ = Char.GetCoordinates($stattreadstamina_ctr)
49@ = World.GetClosestStealableObject(63@, 64@, 65@, 5.0)
if 
  49@ <> -1
goto_if_false @BURGJB_7524
if 
  Char.IsHoldingObject($stattreadstamina_ctr, 49@)
goto_if_false @BURGJB_7418
if 
  100@ == 1
goto_if_false @BURGJB_7404
Text.ClearPrints
Text.Print('BURG57', 5000, 1)
Text.ClearHelp
100@ = 0

:BURGJB_7404
94@ = 1
goto @BURGJB_7524

:BURGJB_7418
if 
  Char.LocateOnFootObject3D($stattreadstamina_ctr, 49@, 1.7, 1.7, 2.0, False)
goto_if_false @BURGJB_7497
if 
  100@ == 0
goto_if_false @BURGJB_7490
Text.PrintHelpForever('BURG23')
100@ = 1

:BURGJB_7490
goto @BURGJB_7524

:BURGJB_7497
if 
  100@ == 1
goto_if_false @BURGJB_7524
Text.ClearHelp
100@ = 0

:BURGJB_7524
goto @BURGJB_7609

:BURGJB_7531
if 
  Object.DoesExist(49@)
goto_if_false @BURGJB_7609
if 
  not Char.IsHoldingObject($stattreadstamina_ctr, 49@)
goto_if_false @BURGJB_7609
if 
  94@ == 1
goto_if_false @BURGJB_7602
Text.ClearPrints
Text.Print('BURG30', 5000, 1)

:BURGJB_7602
94@ = 0

:BURGJB_7609
goto @BURGJB_7760

:BURGJB_7616
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @BURGJB_7746
if 
  Player.IsControlOn($statbike_temp)
goto_if_false @BURGJB_7668
Player.SetControl($statbike_temp, False)

:BURGJB_7668
Camera.DoFade(1000, Fade.Out)

:BURGJB_7675
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_7699
wait 0
goto @BURGJB_7675

:BURGJB_7699
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:BURGJB_7722
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_7746
wait 0
goto @BURGJB_7722

:BURGJB_7746
goto @BURGJB_8267
95@ = 1

:BURGJB_7760
goto @BURGJB_7881

:BURGJB_7767
if 
  Player.IsWearing($statbike_temp, 17, "BALACLAVA")
goto_if_false @BURGJB_7874
Camera.DoFade(1000, Fade.Out)

:BURGJB_7803
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_7827
wait 0
goto @BURGJB_7803

:BURGJB_7827
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)
Camera.DoFade(1000, Fade.In)

:BURGJB_7850
if 
  Camera.GetFadingStatus
goto_if_false @BURGJB_7874
wait 0
goto @BURGJB_7850

:BURGJB_7874
goto @BURGJB_8267

:BURGJB_7881
goto @BURGJB_997

:BURGJB_7888
$LStickX = Pad.GetControllerMode()
if 
  $LStickX <> 3
goto_if_false @BURGJB_7977
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @BURGJB_7970
if 
  not Car.IsDead(50@)
goto_if_false @BURGJB_7970
if 
  Char.IsInCar($stattreadstamina_ctr, 50@)
goto_if_false @BURGJB_7970
96@ = 1

:BURGJB_7970
goto @BURGJB_8036

:BURGJB_7977
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @BURGJB_8036
if 
  not Car.IsDead(50@)
goto_if_false @BURGJB_8036
if 
  Char.IsInCar($stattreadstamina_ctr, 50@)
goto_if_false @BURGJB_8036
96@ = 1

:BURGJB_8036
if 
  96@ == 1
goto_if_false @BURGJB_8265
if 
  $LStickX <> 3
goto_if_false @BURGJB_8172
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @BURGJB_8165
if 
  not Car.IsDead(50@)
goto_if_false @BURGJB_8165
if 
  Char.IsInCar($stattreadstamina_ctr, 50@)
goto_if_false @BURGJB_8156
Text.ClearPrints
Text.PrintNow('BURG41', 5000, 1)
95@ = 1
goto @BURGJB_8163

:BURGJB_8156
96@ = 0

:BURGJB_8163
return 

:BURGJB_8165
goto @BURGJB_8265

:BURGJB_8172
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @BURGJB_8265
if 
  not Car.IsDead(50@)
goto_if_false @BURGJB_8265
if 
  Char.IsInCar($stattreadstamina_ctr, 50@)
goto_if_false @BURGJB_8256
Text.ClearPrints
Text.PrintNow('BURG41', 5000, 1)
95@ = 1
goto @BURGJB_8263

:BURGJB_8256
96@ = 0

:BURGJB_8263
return 

:BURGJB_8265
return 

:BURGJB_8267
Text.PrintBig('B_FAIL1', 5000, TextStyle.MiddleSmallerHigher)
Text.PrintWith2NumbersBig('BURG37', 47@, $8232, 5000, TextStyle.Middle)
return 

:BURGJB_8307
if 
  $nascar_best_lap_time == 0
goto_if_false @BURGJB_8375
Player.SetNeverGetsTired($statbike_temp, False)
Text.PrintWithNumberBig('BURG54', 3000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 3000)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(2)
$nascar_best_lap_time = 1

:BURGJB_8375
return 
return 

:BURGJB_8379
$cs1_race_is_go = 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BURGJB_8409
Char.ShutUp($stattreadstamina_ctr, False)

:BURGJB_8409
Text.DrawOddjobTitleBeforeFade(True)
Game.EnableBurglaryHouses(False)
Garage.ChangeType(s$8233[0], GarageType.Burglary)
Garage.ChangeType(s$8233[1], GarageType.Burglary)
Garage.ChangeType(s$8233[2], GarageType.Burglary)
Car.MarkAsNoLongerNeeded(50@)
Blip.Remove(52@)
Blip.Remove(51@)
Hud.ClearCounter($iSwitchOffDanceMiniGame)
Hud.ClearTimer($flag_freight_passed_1stime)
Hud.ClearTimer($ft_distance)
Hud.ClearCounter($8232)
Hud.ClearCounter($flag_freight_passed_0stime)
$flag_player_on_menace_mission = 0
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

//-------------Mission 126---------------
// Originally: Freight Train Sub-Mission

:FREIGHT
script_name 'FREIGHT'
gosub @FREIGHT_80
if 
  has_deatharrest_been_executed 
goto_if_false @FREIGHT_38
gosub @FREIGHT_2803

:FREIGHT_38
gosub @FREIGHT_3162
if 
  $ft_help_been_displayed == 1
goto_if_false @FREIGHT_78
start_new_script @FRTEXT 
$ft_help_been_displayed = 2

:FREIGHT_78
terminate_this_script 

:FREIGHT_80
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(0.0)
135@ = 999999.0
$weapon_shop1_blip = 1
$flag_player_on_burglary_mission = 1
130@ = 0
126@ = 0
125@ = 0
if 
  $LA_ShootY == 0
goto_if_false @FREIGHT_162
$LA_ShootY = 1

:FREIGHT_162
45@ = 1698.826
65@ = -1953.75
85@ = 12.5469
34@ = 150000
39@ = 60000
46@ = 789.4952
66@ = -1343.796
86@ = -2.5794
35@ = 60000
40@ = 140000
47@ = -1943.241
67@ = 159.585
87@ = 24.7186
36@ = 140000
41@ = 150000
48@ = 1463.359
68@ = 2632.25
88@ = 9.8203
37@ = 150000
42@ = 105000
49@ = 2864.623
69@ = 1248.266
89@ = 9.8203
38@ = 105000
43@ = 150000
if 
  $LA_ShootY == 1
goto_if_false @FREIGHT_438
127@ = 15000

:FREIGHT_438
if 
  $LA_ShootY == 2
goto_if_false @FREIGHT_464
127@ = 10000

:FREIGHT_464
if 
  $LA_ShootY == 3
goto_if_false @FREIGHT_489
127@ = 0

:FREIGHT_489
129@ = 0

:FREIGHT_496
add_int_lvar_to_int_lvar 34@(129@,5i) += 127@
add_int_lvar_to_int_lvar 39@(129@,5i) += 127@
129@ += 1
  129@ >= 5
goto_if_false @FREIGHT_496
Camera.SetFadingColor(0, 0, 0)
$weapon_shop1_blip = 1
if 
  $ft_help_been_displayed == 0
goto_if_false @FREIGHT_576
Stat.RegisterMissionGiven

:FREIGHT_576
Text.LoadMissionText('FTRAIN')
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FREIGHT_627
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @FREIGHT_627
$stealth_help_flag = Char.StoreCarIsIn($stattreadstamina_ctr)

:FREIGHT_627
if 
  $ft_help_been_displayed == 0
goto_if_false @FREIGHT_671
Text.PrintWithNumberBig('FREI_04', $LA_ShootY, 5000, TextStyle.MiddleSmaller)
goto @FREIGHT_687

:FREIGHT_671
Text.PrintBig('FREI_X', 5000, TextStyle.MiddleSmaller)

:FREIGHT_687
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FREIGHT_721
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)

:FREIGHT_721
134@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 1698.826, -1953.75)
if 
  is_float_lvar_greater_than_float_lvar 135@ > 134@
goto_if_false @FREIGHT_776
set_lvar_float_to_lvar_float 135@ = 134@
125@ = 0

:FREIGHT_776
134@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 789.4952, -1343.796)
if 
  is_float_lvar_greater_than_float_lvar 135@ > 134@
goto_if_false @FREIGHT_831
set_lvar_float_to_lvar_float 135@ = 134@
125@ = 1

:FREIGHT_831
134@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, -1943.241, 159.585)
if 
  is_float_lvar_greater_than_float_lvar 135@ > 134@
goto_if_false @FREIGHT_886
set_lvar_float_to_lvar_float 135@ = 134@
125@ = 2

:FREIGHT_886
134@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 1463.359, 2632.25)
if 
  is_float_lvar_greater_than_float_lvar 135@ > 134@
goto_if_false @FREIGHT_941
set_lvar_float_to_lvar_float 135@ = 134@
125@ = 3

:FREIGHT_941
134@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 2864.623, 1248.266)
if 
  is_float_lvar_greater_than_float_lvar 135@ > 134@
goto_if_false @FREIGHT_996
set_lvar_float_to_lvar_float 135@ = 134@
125@ = 4

:FREIGHT_996
Streaming.RequestModel(590)
Streaming.RequestModel(570)
Streaming.RequestModel(569)
Streaming.RequestModel(538)
Streaming.RequestModel(537)

:FREIGHT_1021
if or
  not Streaming.HasModelLoaded(590)
  not Streaming.HasModelLoaded(570)
  not Streaming.HasModelLoaded(569)
  not Streaming.HasModelLoaded(538)
  not Streaming.HasModelLoaded(537)
goto_if_false @FREIGHT_1068
wait 0
goto @FREIGHT_1021

:FREIGHT_1068
TIMERA = 0
TIMERB = 0
World.DeleteAllTrains
Game.SwitchRandomTrains(False)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FREIGHT_1128
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @FREIGHT_1128
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)

:FREIGHT_1128
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @FREIGHT_1195
if 
  Train.FindDirection($stealth_help_flag)
goto_if_false @FREIGHT_1181
125@ += 1
133@ = 0
goto @FREIGHT_1195

:FREIGHT_1181
125@ -= 1
133@ = 1

:FREIGHT_1195
if 
  125@ == 5
goto_if_false @FREIGHT_1220
125@ = 0

:FREIGHT_1220
if 
  125@ == -1
goto_if_false @FREIGHT_1245
125@ = 4

:FREIGHT_1245
gosub @FREIGHT_3337
105@(125@,20i) = Blip.AddForCoord(45@(125@,20f), 65@(125@,20f), 85@(125@,20f))
if 
  133@ == 0
goto_if_false @FREIGHT_1319
set_var_int_to_lvar_int $ft_speed = 34@(125@,5i)
goto @FREIGHT_1331

:FREIGHT_1319
set_var_int_to_lvar_int $ft_speed = 39@(125@,5i)

:FREIGHT_1331
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FREIGHT_2750
wait 0
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @FREIGHT_1373
goto @FREIGHT_2242

:FREIGHT_1373
if or
  Char.IsInModel($stattreadstamina_ctr, 538)
  Char.IsInModel($stattreadstamina_ctr, 537)
goto_if_false @FREIGHT_1442
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  not Car.IsUpright($stealth_help_flag)
goto_if_false @FREIGHT_1435
Text.ClearPrints
Text.ClearHelp
goto @FREIGHT_2757

:FREIGHT_1435
goto @FREIGHT_1453

:FREIGHT_1442
Text.ClearPrints
Text.ClearHelp
goto @FREIGHT_2757

:FREIGHT_1453
137@ = Car.GetSpeed($stealth_help_flag)
cset_var_int_to_lvar_float $pimp_runtimer =# 137@
if and
  TIMERB > 3000
  126@ == 0
goto_if_false @FREIGHT_1515
126@ = 1
Text.ClearPrints
Text.PrintHelp('FREI_03')

:FREIGHT_1515
if and
  TIMERB > 8000
  126@ == 1
goto_if_false @FREIGHT_1603
126@ = 2
Text.ClearPrints
Text.ClearHelp
if 
  $blood_players_current_time == 0
goto_if_false @FREIGHT_1588
Text.PrintHelp('FREI_12')
goto @FREIGHT_1603

:FREIGHT_1588
TIMERB = 18000
126@ = 3

:FREIGHT_1603
if and
  TIMERB > 12000
  126@ == 2
goto_if_false @FREIGHT_1691
126@ = 3
Text.ClearPrints
Text.ClearHelp
if 
  $blood_players_current_time == 0
goto_if_false @FREIGHT_1676
Text.PrintHelp('FREI_13')
goto @FREIGHT_1691

:FREIGHT_1676
TIMERB = 18000
126@ = 3

:FREIGHT_1691
if and
  TIMERB > 16000
  126@ == 3
goto_if_false @FREIGHT_2022
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FREIGHT_1747
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)

:FREIGHT_1747
136@ = 0.0
$ft_speed = 0
136@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 45@(125@,20f), 65@(125@,20f))
cset_var_int_to_lvar_float $pimp_bikeostimer =# 136@
if 
  136@ > 3000.0
goto_if_false @FREIGHT_1835
136@ /= 0.021
goto @FREIGHT_1845

:FREIGHT_1835
136@ /= 0.019

:FREIGHT_1845
if 
  10000.0 > 136@
goto_if_false @FREIGHT_1876
136@ = 10000.0

:FREIGHT_1876
cset_var_int_to_lvar_float $ft_speed =# 136@
if 
  $LA_ShootY == 1
goto_if_false @FREIGHT_1910
127@ = 15000

:FREIGHT_1910
if 
  $LA_ShootY == 2
goto_if_false @FREIGHT_1935
127@ = 0

:FREIGHT_1935
if 
  $LA_ShootY == 3
goto_if_false @FREIGHT_1960
127@ = 0

:FREIGHT_1960
add_int_lvar_to_int_var $ft_speed += 127@
126@ = 4
$blood_players_current_time = 1
Hud.DisplayNthCounterWithString($pimp_bikeostimer, CounterDisplay.Number, 1, 'FREI_10')
Hud.DisplayNthCounterWithString($pimp_runtimer, CounterDisplay.Number, 2, 'FREI_11')
Text.ClearPrints
Text.ClearHelp

:FREIGHT_2022
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FREIGHT_2052
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)

:FREIGHT_2052
136@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 45@(125@,20f), 65@(125@,20f))
cset_var_int_to_lvar_float $pimp_bikeostimer =# 136@
if 
  Train.HasDerailed($stealth_help_flag)
goto_if_false @FREIGHT_2108
goto @FREIGHT_2803

:FREIGHT_2108
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @FREIGHT_2136
Text.ClearPrints
Text.ClearHelp
goto @FREIGHT_2757

:FREIGHT_2136
if 
  0 >= $ft_speed
goto_if_false @FREIGHT_2161
goto @FREIGHT_2803

:FREIGHT_2161
if 
  Char.LocateStoppedAnyMeans3D($stattreadstamina_ctr, 45@(125@,20f), 65@(125@,20f), 85@(125@,20f), 10.0, 10.0, 10.0, True)
goto_if_false @FREIGHT_2506
if or
  Char.IsInModel($stattreadstamina_ctr, 538)
  Char.IsInModel($stattreadstamina_ctr, 537)
goto_if_false @FREIGHT_2506

:FREIGHT_2242
if 
  Blip.DoesExist(105@(125@,20i))
goto_if_false @FREIGHT_2271
Blip.Remove(105@(125@,20i))

:FREIGHT_2271
130@ += 1
set_lvar_int_to_var_int 127@ = $ft_speed
Hud.ClearTimer($ft_speed)
Hud.ClearCounter($pimp_bikeostimer)
Hud.ClearCounter($pimp_runtimer)
if 
  130@ == 5
goto_if_false @FREIGHT_2326
goto @FREIGHT_2889

:FREIGHT_2326
if 
  133@ == 0
goto_if_false @FREIGHT_2358
125@ += 1
goto @FREIGHT_2365

:FREIGHT_2358
125@ -= 1

:FREIGHT_2365
if 
  125@ == 5
goto_if_false @FREIGHT_2390
125@ = 0

:FREIGHT_2390
if 
  125@ == -1
goto_if_false @FREIGHT_2415
125@ = 4

:FREIGHT_2415
if 
  127@ > 15000
goto_if_false @FREIGHT_2442
127@ = 15000

:FREIGHT_2442
set_lvar_int_to_lvar_int 128@ = 127@
128@ /= 100
mult_int_lvar_by_int_var 128@ *= $LA_ShootY
Text.PrintWithNumberBig('FREI_07', 128@, 3000, TextStyle.Middle)
Player.AddScore($statbike_temp, 128@)
TIMERA = 0
132@ = 1

:FREIGHT_2506
if and
  132@ == 1
  TIMERA > 6000
goto_if_false @FREIGHT_2743
set_lvar_int_to_lvar_int 128@ = 127@
128@ /= 1000
Text.PrintWithNumberBig('FREI_05', 128@, 4000, TextStyle.WhiteMiddleSmaller)
$ft_speed = 0
if 
  133@ == 0
goto_if_false @FREIGHT_2619
set_var_int_to_lvar_int $ft_speed = 34@(125@,5i)
add_int_lvar_to_int_var $ft_speed += 127@
goto @FREIGHT_2639

:FREIGHT_2619
set_var_int_to_lvar_int $ft_speed = 39@(125@,5i)
add_int_lvar_to_int_var $ft_speed += 127@

:FREIGHT_2639
Hud.ClearTimer($ft_speed)
Hud.ClearCounter($pimp_bikeostimer)
Hud.ClearCounter($pimp_runtimer)
Hud.DisplayTimerWithString($ft_speed, TimerDirection.Down, 'FREI_14')
Hud.DisplayNthCounterWithString($pimp_bikeostimer, CounterDisplay.Number, 1, 'FREI_10')
Hud.DisplayNthCounterWithString($pimp_runtimer, CounterDisplay.Number, 2, 'FREI_11')
105@(125@,20i) = Blip.AddForCoord(45@(125@,20f), 65@(125@,20f), 85@(125@,20f))
132@ = 0

:FREIGHT_2743
goto @FREIGHT_1331

:FREIGHT_2750
goto @FREIGHT_2803

:FREIGHT_2757
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.ClearPrints
Text.ClearHelp
Text.PrintBig('FREI_02', 5000, TextStyle.Middle)
Hud.ClearTimer($ft_speed)
Hud.ClearCounter($pimp_bikeostimer)
Hud.ClearCounter($pimp_runtimer)
wait 2000
return 

:FREIGHT_2803
if 
  Blip.DoesExist(105@(125@,20i))
goto_if_false @FREIGHT_2832
Blip.Remove(105@(125@,20i))

:FREIGHT_2832
Hud.ClearTimer($ft_speed)
Hud.ClearCounter($pimp_bikeostimer)
Hud.ClearCounter($pimp_runtimer)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.ClearHelp
Text.ClearPrints
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Text.PrintNow('FREI_06', 4000, 1)
return 

:FREIGHT_2889
if 
  $LA_ShootY == 2
goto_if_false @FREIGHT_3016
if 
  $ft_help_been_displayed == 0
goto_if_false @FREIGHT_2960
Text.PrintWithNumberBig('M_PASS', 50000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 50000)
Audio.PlayMissionPassedTune(2)

:FREIGHT_2960
if 
  $ft_help_been_displayed == 2
goto_if_false @FREIGHT_3009
Text.PrintWithNumberBig('M_PASS', 10000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 10000)
Audio.PlayMissionPassedTune(2)

:FREIGHT_3009
goto @FREIGHT_3035

:FREIGHT_3016
Text.PrintWithNumberBig('FREI_15', $LA_ShootY, 5000, TextStyle.Middle)

:FREIGHT_3035
if and
  $freight_player_location == 0
  $LA_ShootY == 1
goto_if_false @FREIGHT_3069
Stat.RegisterOddjobMissionPassed
$freight_player_location = 1

:FREIGHT_3069
if and
  $ft_help_been_displayed == 0
  $LA_ShootY == 2
goto_if_false @FREIGHT_3107
Stat.RegisterOddjobMissionPassed
Stat.PlayerMadeProgress(1)
$ft_help_been_displayed = 1

:FREIGHT_3107
Hud.ClearTimer($ft_speed)
Hud.ClearCounter($pimp_bikeostimer)
Hud.ClearCounter($pimp_runtimer)
Player.ClearWantedLevel($statbike_temp)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Audio.PlayMissionPassedTune(1)
if 
  $LA_ShootY <> 2
goto_if_false @FREIGHT_3160
$LA_ShootY += 1

:FREIGHT_3160
return 

:FREIGHT_3162
if 
  Blip.DoesExist(105@(125@,20i))
goto_if_false @FREIGHT_3191
Blip.Remove(105@(125@,20i))

:FREIGHT_3191
Streaming.MarkModelAsNoLongerNeeded(590)
Streaming.MarkModelAsNoLongerNeeded(570)
Streaming.MarkModelAsNoLongerNeeded(569)
Streaming.MarkModelAsNoLongerNeeded(538)
Streaming.MarkModelAsNoLongerNeeded(537)
$weapon_shop1_blip = 0
$flag_player_on_burglary_mission = 0
Player.ClearWantedLevel($statbike_temp)
Hud.ClearCounter($pimp_bikeostimer)
Hud.ClearCounter($pimp_runtimer)
Hud.ClearTimer($ft_speed)
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(1.0)
Mission.Finish
return 
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
return 
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
return 
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:FREIGHT_3311
if 
  Camera.GetFadingStatus
goto_if_false @FREIGHT_3335
wait 0
goto @FREIGHT_3311

:FREIGHT_3335
return 

:FREIGHT_3337
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:FREIGHT_3352
if 
  Camera.GetFadingStatus
goto_if_false @FREIGHT_3376
wait 0
goto @FREIGHT_3352

:FREIGHT_3376
return 
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @FREIGHT_3393

:FREIGHT_3393
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @FREIGHT_3408

:FREIGHT_3408
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @FREIGHT_3423

:FREIGHT_3423
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @FREIGHT_3438

:FREIGHT_3438
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @FREIGHT_3474
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FREIGHT_3474
Task.Die($stattreadstamina_ctr)

:FREIGHT_3474
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @FREIGHT_3519
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @FREIGHT_3519
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:FREIGHT_3519
return 

//-------------Mission 127---------------
// Originally: Pimping Sub-Mission

:PIMP
script_name 'PIMP'
gosub @PIMP_47
if 
  has_deatharrest_been_executed 
goto_if_false @PIMP_38
gosub @PIMP_37351

:PIMP_38
gosub @PIMP_37766
terminate_this_script 

:PIMP_47
if 
  $courierLA_revenue == 0
goto_if_false @PIMP_67
Stat.RegisterMissionGiven

:PIMP_67
$LA_ShootX = 1
$weapon_shop1_blip = 1
wait 0
wait 0
Text.LoadMissionText('PIMP')
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.In)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @PIMP_138
Player.SetControl($statbike_temp, True)

:PIMP_138
541@ = 0
34@ = 0
537@ = 0
538@ = 0
$blood_best_time = 0
514@ = 0
516@ = 0
517@ = 0
520@ = 0
531@ = 0
41@ = 0
42@ = 0
47@ = 0
44@ = 0
46@ = 0
45@ = 0
43@ = 0
48@ = 0
49@ = 0
147@ = 0
52@ = 0
56@ = 0
55@ = 0
511@ = 0
512@ = 0
37@ = 0
521@ = 0
525@ = 0
524@ = 0
523@ = 0
57@ = 1
175@ = 2286.79
203@ = -2312.836
231@ = 12.557
259@ = 301.0
176@ = 1537.268
204@ = -2314.27
232@ = 12.5469
260@ = 280.2771
177@ = 2307.903
205@ = -1998.647
233@ = 12.5529
261@ = 321.3693
178@ = 1239.282
206@ = -1918.819
234@ = 30.3478
262@ = 284.1407
179@ = 1685.32
207@ = -1585.244
235@ = 12.5469
263@ = 233.3592
180@ = 1749.745
208@ = -1455.778
236@ = 12.5547
264@ = 8.5912
181@ = 1959.539
209@ = -1452.56
237@ = 12.5495
265@ = 186.4147
182@ = 1793.708
210@ = -1600.12
238@ = 12.5387
266@ = 74.0619
183@ = 2259.703
211@ = -1339.907
239@ = 22.9832
267@ = 267.1747
184@ = 2350.009
212@ = -1504.599
240@ = 23.0
268@ = 113.9031
185@ = 2745.374
213@ = -1188.68
241@ = 68.3986
269@ = 109.0182
186@ = 2833.886
214@ = -1585.979
242@ = 10.086
270@ = 223.6582
187@ = 1282.429
215@ = -1666.13
243@ = 12.5547
271@ = 202.373
188@ = 899.8489
216@ = -1823.877
244@ = 11.2302
272@ = 215.4203
189@ = 447.2084
217@ = -1761.314
245@ = 4.7837
273@ = 230.4552
190@ = 765.7432
218@ = -1541.32
246@ = 12.5536
274@ = 264.2591
191@ = 1269.592
219@ = -1560.462
247@ = 12.5643
275@ = 186.3764
192@ = 557.9569
220@ = -1509.402
248@ = 13.5557
276@ = 94.5521
193@ = 434.0113
221@ = -1555.667
249@ = 26.5851
277@ = 273.0415
194@ = 403.0965
222@ = -1256.665
250@ = 51.2
278@ = 29.0138
195@ = 1147.13
223@ = -898.4011
251@ = 41.7814
279@ = 234.2193
196@ = 1020.802
224@ = -911.898
252@ = 41.2395
280@ = 222.6945
197@ = 828.6284
225@ = -1056.445
253@ = 24.2484
281@ = 22.838
198@ = 971.1776
226@ = -1107.744
254@ = 22.8672
282@ = 83.3249
199@ = 1893.362
227@ = -1741.244
255@ = 12.5468
283@ = 177.218
200@ = 2333.625
228@ = -1764.659
256@ = 12.5534
284@ = 333.4691
201@ = 1775.942
229@ = -1895.623
257@ = 12.3865
285@ = 248.6633
202@ = 1707.121
230@ = -1804.755
258@ = 12.5391
286@ = 172.0678
287@ = -2020.273
315@ = 932.0927
343@ = 44.5639
371@ = 221.8539
288@ = -2399.298
316@ = 1071.83
344@ = 54.7266
372@ = 327.6848
289@ = -2400.652
317@ = 922.1189
345@ = 44.4453
373@ = 283.5361
290@ = -2301.292
318@ = 1373.105
346@ = 6.1961
374@ = 124.8329
293@ = -2576.948
321@ = 1144.234
349@ = 54.7266
377@ = 124.6449
294@ = -2694.151
322@ = 1204.628
350@ = 54.1953
378@ = 357.2611
295@ = -2244.235
323@ = 643.8406
351@ = 48.4375
379@ = 99.8674
296@ = -1923.351
324@ = 563.4099
352@ = 34.1972
380@ = 44.6685
297@ = -1736.431
325@ = 809.515
353@ = 23.8904
381@ = 333.3014
298@ = -1504.571
326@ = 1083.0
354@ = 6.1846
382@ = 156.5032
299@ = -2400.051
327@ = 556.1022
355@ = 23.8906
383@ = 18.535
300@ = -2490.255
328@ = 6.0292
356@ = 24.6238
384@ = 56.3408
301@ = -2757.469
329@ = 168.1762
357@ = 6.0408
385@ = 196.6891
302@ = -2779.791
330@ = -319.9682
358@ = 6.1875
386@ = 123.0427
303@ = -2192.023
331@ = 309.7259
359@ = 34.1172
387@ = 7.9069
304@ = -2195.789
332@ = 197.3115
360@ = 34.3203
388@ = 9.4354
305@ = -2108.647
333@ = 217.1542
361@ = 34.3045
389@ = 133.6119
306@ = -1545.449
334@ = 560.5441
362@ = 6.1797
390@ = 165.7533
307@ = -2779.8
335@ = -500.7523
363@ = 6.2925
391@ = 37.7744
308@ = -1974.475
336@ = -975.055
364@ = 31.2266
392@ = 138.4206
309@ = -1587.119
337@ = -482.9532
365@ = 5.1484
393@ = 117.5313
310@ = -2838.112
338@ = 846.8309
366@ = 42.5804
394@ = 288.0701
311@ = -2566.241
339@ = 918.7418
367@ = 63.9765
395@ = 178.9968
312@ = -2601.591
340@ = 688.1887
368@ = 26.8125
396@ = 34.6082
313@ = -2758.551
341@ = 394.18
369@ = 3.3359
397@ = 315.443
399@ = 2009.313
427@ = 1167.793
455@ = 9.813
483@ = 266.731
400@ = 1959.998
428@ = 945.6432
456@ = 9.8203
484@ = 225.7712
401@ = 2202.737
429@ = 1254.45
457@ = 9.8203
485@ = 110.1904
402@ = 2186.84
430@ = 998.9764
458@ = 9.8203
486@ = 202.3453
403@ = 2031.976
431@ = 1539.9
459@ = 9.8203
487@ = 224.9353
404@ = 2139.462
432@ = 1516.045
460@ = 9.8203
488@ = 351.7
405@ = 2150.364
433@ = 1675.969
461@ = 9.8203
489@ = 217.8727
406@ = 1939.55
434@ = 1389.756
462@ = 8.2578
490@ = 271.8136
407@ = 2595.79
435@ = 1793.637
463@ = 9.9692
491@ = 105.7608
408@ = 2185.686
436@ = 1885.912
464@ = 9.8203
492@ = 4.9185
409@ = 2159.891
437@ = 1931.016
465@ = 9.8203
493@ = 94.0854
410@ = 2057.374
438@ = 1957.522
466@ = 10.7324
494@ = 218.8441
411@ = 2181.532
439@ = 2353.484
467@ = 9.8203
495@ = 186.4606
412@ = 2437.607
440@ = 2376.581
468@ = 9.8203
496@ = 87.5329
413@ = 2335.391
441@ = 2076.146
469@ = 9.8125
497@ = 261.0065
414@ = 2217.564
442@ = 1787.844
470@ = 9.8203
498@ = 36.1247
415@ = 1540.732
443@ = 748.3782
471@ = 9.8203
499@ = 259.5982
416@ = 1011.96
444@ = 1104.625
472@ = 9.8203
500@ = 4.436
417@ = 1723.904
445@ = 1541.124
473@ = 9.8203
501@ = 317.5323
418@ = 1958.822
446@ = 706.9632
474@ = 9.8199
502@ = 216.0597
$player_checkpoint_kickstart = 180000
World.ClearArea(1918.988, -1791.854, 12.3828, 30.0, False)
Char.SetCantBeDraggedOut($stattreadstamina_ctr, True)
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PIMP_3339
goto @PIMP_37351

:PIMP_3339
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @PIMP_3370
40@ = Char.StoreCarIsIn($stattreadstamina_ctr)
goto @PIMP_3377

:PIMP_3370
goto @PIMP_37351

:PIMP_3377
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_3401
Car.SetHealth(40@, 2000)

:PIMP_3401
518@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Game.SetRelationship(RelationshipType.Like, PedType.Gang1, PedType.Player1)
35@(37@,2i) = Zone.GetRandomChar('BLUFF', True, False, True)
Char.Delete(35@(37@,2i))
91@(51@,28i) = Zone.GetRandomChar('BLUFF', True, False, True)
Char.Delete(91@(51@,28i))
if 
  47@ == -13
goto_if_false @PIMP_3505
Hud.ClearTimer($player_checkpoint_kickstart)

:PIMP_3505
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @PIMP_3529
531@ = Player.GetCityIsIn($statbike_temp)

:PIMP_3529
if 
  not is_int_lvar_equal_to_constant 531@ == 1
goto_if_false @PIMP_3749
if 
  not is_int_lvar_equal_to_constant 531@ == 2
goto_if_false @PIMP_3749
if 
  not is_int_lvar_equal_to_constant 531@ == 3
goto_if_false @PIMP_3749
532@, 533@, 534@ = Char.GetCoordinates($stattreadstamina_ctr)
536@ = Math.GetDistanceBetweenCoords3D(532@, 533@, 534@, 200@, 228@, 256@)
set_lvar_float_to_lvar_float 535@ = 536@
set_lvar_int_to_constant 531@ = 1
536@ = Math.GetDistanceBetweenCoords3D(532@, 533@, 534@, 287@, 315@, 343@)
if 
  is_float_lvar_greater_than_float_lvar 535@ > 536@
goto_if_false @PIMP_3692
set_lvar_float_to_lvar_float 535@ = 536@
set_lvar_int_to_constant 531@ = 2

:PIMP_3692
536@ = Math.GetDistanceBetweenCoords3D(532@, 533@, 534@, 399@, 427@, 455@)
if 
  is_float_lvar_greater_than_float_lvar 535@ > 536@
goto_if_false @PIMP_3749
set_lvar_float_to_lvar_float 535@ = 536@
set_lvar_int_to_constant 531@ = 3

:PIMP_3749
wait 0
if 
  541@ == 1
goto_if_false @PIMP_3789
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 31400)
541@ = 2

:PIMP_3789
if 
  541@ == 2
goto_if_false @PIMP_3829
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @PIMP_3829
541@ = 3

:PIMP_3829
if 
  537@ == 1
goto_if_false @PIMP_3890
if 
  1 > $player_checkpoint_kickstart
goto_if_false @PIMP_3890
Text.ClearPrints
Text.PrintNow('PIMP_92', 6000, 1)
goto @PIMP_37351

:PIMP_3890
if 
  537@ == 2
goto_if_false @PIMP_3951
if 
  1 > $player_checkpoint_kickstart
goto_if_false @PIMP_3951
Text.ClearPrints
Text.PrintNow('PIMP_91', 6000, 1)
goto @PIMP_37351

:PIMP_3951
if 
is_ps2_keyboard_key_pressed 87
goto_if_false @PIMP_3976
$player_checkpoint_kickstart += 60000

:PIMP_3976
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @PIMP_3999
$player_checkpoint_kickstart -= 30000

:PIMP_3999
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PIMP_4022
goto @PIMP_37351

:PIMP_4022
if 
  Car.IsDead(40@)
goto_if_false @PIMP_4045
goto @PIMP_37351

:PIMP_4045
if 
is_ps2_keyboard_key_pressed 80
goto_if_false @PIMP_4067
Player.AlterWantedLevel($statbike_temp, 2)

:PIMP_4067
if 
is_ps2_keyboard_key_pressed 79
goto_if_false @PIMP_4089
Player.AlterWantedLevel($statbike_temp, 0)

:PIMP_4089
$LStickX = Pad.GetControllerMode()
if 
  $LStickX <> 3
goto_if_false @PIMP_4300
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
  $LA_ShootX == 1
goto_if_false @PIMP_4293
Text.ClearSmallPrints
Text.PrintNow('PIMP_59', 6000, 1)
if 
  not Char.IsDead(35@)
goto_if_false @PIMP_4220
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_4215
if 
  Char.IsSittingInCar(35@, 40@)
goto_if_false @PIMP_4215
Char.ClearTasks(35@)
Task.LeaveAnyCar(35@)

:PIMP_4215
Char.MarkAsNoLongerNeeded(35@)

:PIMP_4220
if 
  not Char.IsDead(36@)
goto_if_false @PIMP_4286
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_4281
if 
  Char.IsSittingInCar(36@, 40@)
goto_if_false @PIMP_4281
Char.ClearTasks(36@)
Task.LeaveAnyCar(36@)

:PIMP_4281
Char.MarkAsNoLongerNeeded(36@)

:PIMP_4286
goto @PIMP_37212

:PIMP_4293
goto @PIMP_4481

:PIMP_4300
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
  $LA_ShootX == 1
goto_if_false @PIMP_4481
Text.ClearPrints
Text.PrintNow('PIMP_59', 6000, 1)
if 
  not Char.IsDead(35@)
goto_if_false @PIMP_4408
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_4403
if 
  Char.IsSittingInCar(35@, 40@)
goto_if_false @PIMP_4403
Char.ClearTasks(35@)
Task.LeaveAnyCar(35@)

:PIMP_4403
Char.MarkAsNoLongerNeeded(35@)

:PIMP_4408
if 
  not Char.IsDead(36@)
goto_if_false @PIMP_4474
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_4469
if 
  Char.IsSittingInCar(36@, 40@)
goto_if_false @PIMP_4469
Char.ClearTasks(36@)
Task.LeaveAnyCar(36@)

:PIMP_4469
Char.MarkAsNoLongerNeeded(36@)

:PIMP_4474
goto @PIMP_37212

:PIMP_4481
530@ = 0

:PIMP_4488
if 
  28 > 530@
goto_if_false @PIMP_4651
if 
  119@(530@,28i) == 1
goto_if_false @PIMP_4637
if 
  Char.DoesExist(91@(530@,28i))
goto_if_false @PIMP_4637
if 
  Char.HasBeenDamagedByChar(91@(530@,28i), $stattreadstamina_ctr)
goto_if_false @PIMP_4594
Text.PrintNow('PIMP_52', 8000, 1)
goto @PIMP_37351

:PIMP_4594
if 
  Char.IsDead(91@(530@,28i))
goto_if_false @PIMP_4637
Text.PrintNow('PIMP_52', 8000, 1)
goto @PIMP_37351

:PIMP_4637
530@ += 1
goto @PIMP_4488

:PIMP_4651
if 
  516@ == 0
goto_if_false @PIMP_4737
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_4737
if 
goto_if_false @PIMP_4737
TIMERB = 0
517@ = 1
set_lvar_int_to_var_int 515@ = $player_checkpoint_kickstart
515@ /= 1000
516@ = 1
Text.ClearPrints
Text.ClearHelp

:PIMP_4737
if 
  516@ == 1
goto_if_false @PIMP_4820
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_4820
if 
  Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_4820
TIMERB = 0
516@ = 0
517@ = 0
538@ = 0
Text.ClearPrints

:PIMP_4820
if 
  517@ == 1
goto_if_false @PIMP_5103
set_lvar_int_to_lvar_int 514@ = TIMERB
514@ /= 1000
if 
  538@ == 0
goto_if_false @PIMP_4905
if and
  21000 > $player_checkpoint_kickstart
  $player_checkpoint_kickstart > 1
goto_if_false @PIMP_4905
538@ = 1

:PIMP_4905
if 
  538@ == 0
goto_if_false @PIMP_4949
if 
  $player_checkpoint_kickstart > 20099
goto_if_false @PIMP_4949
538@ = 2

:PIMP_4949
if 
  538@ == 1
goto_if_false @PIMP_4983
set_var_int_to_var_int $blood_best_time = $player_checkpoint_kickstart
$blood_best_time /= 1000

:PIMP_4983
if 
  538@ == 2
goto_if_false @PIMP_5016
$blood_best_time = 20
sub_int_lvar_from_int_var $blood_best_time -= 514@

:PIMP_5016
Text.ClearPrints
if 
  $blood_best_time > 0
goto_if_false @PIMP_5059
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('PIMP_1', $blood_best_time, 4000, 1)

:PIMP_5059
if 
  TIMERB > 21000
goto_if_false @PIMP_5103
Text.ClearPrints
Text.PrintNow('PIMP_59', 6000, 1)
goto @PIMP_37351

:PIMP_5103
if 
  41@ == -13
goto_if_false @PIMP_5178
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 1954.348, -1867.164, 12.5391)
88@ = Blip.AddForChar(35@(37@,2i))
89@ = Blip.AddForChar($stattreadstamina_ctr)
90@ = Blip.AddForChar($stattreadstamina_ctr)

:PIMP_5178
if 
  41@ == 0
goto_if_false @PIMP_5210
gosub @PIMP_35614
41@ = 1

:PIMP_5210
if 
  41@ == 1
goto_if_false @PIMP_11842
if 
  is_int_lvar_equal_to_constant 531@ == 1
goto_if_false @PIMP_7619
Streaming.RequestModel(63)
Streaming.RequestModel(64)

:PIMP_5254
if or
  not Streaming.HasModelLoaded(63)
  not Streaming.HasModelLoaded(64)
goto_if_false @PIMP_5284
wait 0
goto @PIMP_5254

:PIMP_5284
if 
  42@ == 0
goto_if_false @PIMP_5368
if 
  Char.IsInZone($stattreadstamina_ctr, 'IWD')
goto_if_false @PIMP_5368
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 202@, 230@, 258@)
Char.SetHeading(35@(37@,2i), 286@)
gosub @PIMP_35486

:PIMP_5368
if 
  42@ == 0
goto_if_false @PIMP_5452
if 
  Char.IsInZone($stattreadstamina_ctr, 'GAN')
goto_if_false @PIMP_5452
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 201@, 229@, 257@)
Char.SetHeading(35@(37@,2i), 285@)
gosub @PIMP_35486

:PIMP_5452
if 
  42@ == 0
goto_if_false @PIMP_5536
if 
  Char.IsInZone($stattreadstamina_ctr, 'ELCO')
goto_if_false @PIMP_5536
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 200@, 228@, 256@)
Char.SetHeading(35@(37@,2i), 284@)
gosub @PIMP_35486

:PIMP_5536
if 
  42@ == 0
goto_if_false @PIMP_5620
if 
  Char.IsInZone($stattreadstamina_ctr, 'LMEX')
goto_if_false @PIMP_5620
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 199@, 227@, 255@)
Char.SetHeading(35@(37@,2i), 283@)
gosub @PIMP_35486

:PIMP_5620
if 
  42@ == 0
goto_if_false @PIMP_5704
if 
  Char.IsInZone($stattreadstamina_ctr, 'LDOC')
goto_if_false @PIMP_5704
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 176@, 204@, 232@)
Char.SetHeading(35@(37@,2i), 260@)
gosub @PIMP_35486

:PIMP_5704
if 
  42@ == 0
goto_if_false @PIMP_5788
if 
  Char.IsInZone($stattreadstamina_ctr, 'LAIR')
goto_if_false @PIMP_5788
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 177@, 205@, 233@)
Char.SetHeading(35@(37@,2i), 261@)
gosub @PIMP_35486

:PIMP_5788
if 
  42@ == 0
goto_if_false @PIMP_5872
if 
  Char.IsInZone($stattreadstamina_ctr, 'LIND')
goto_if_false @PIMP_5872
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 175@, 203@, 231@)
Char.SetHeading(35@(37@,2i), 259@)
gosub @PIMP_35486

:PIMP_5872
if 
  42@ == 0
goto_if_false @PIMP_5956
if 
  Char.IsInZone($stattreadstamina_ctr, 'BLUF')
goto_if_false @PIMP_5956
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 176@, 204@, 232@)
Char.SetHeading(35@(37@,2i), 260@)
gosub @PIMP_35486

:PIMP_5956
if 
  42@ == 0
goto_if_false @PIMP_6040
if 
  Char.IsInZone($stattreadstamina_ctr, 'COM')
goto_if_false @PIMP_6040
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 180@, 208@, 236@)
Char.SetHeading(35@(37@,2i), 264@)
gosub @PIMP_35486

:PIMP_6040
if 
  42@ == 0
goto_if_false @PIMP_6124
if 
  Char.IsInZone($stattreadstamina_ctr, 'LDT')
goto_if_false @PIMP_6124
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 179@, 207@, 235@)
Char.SetHeading(35@(37@,2i), 263@)
gosub @PIMP_35486

:PIMP_6124
if 
  42@ == 0
goto_if_false @PIMP_6208
if 
  Char.IsInZone($stattreadstamina_ctr, 'GLN')
goto_if_false @PIMP_6208
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 182@, 210@, 238@)
Char.SetHeading(35@(37@,2i), 266@)
gosub @PIMP_35486

:PIMP_6208
if 
  42@ == 0
goto_if_false @PIMP_6292
if 
  Char.IsInZone($stattreadstamina_ctr, 'CHC')
goto_if_false @PIMP_6292
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 181@, 209@, 237@)
Char.SetHeading(35@(37@,2i), 265@)
gosub @PIMP_35486

:PIMP_6292
if 
  42@ == 0
goto_if_false @PIMP_6376
if 
  Char.IsInZone($stattreadstamina_ctr, 'JEF')
goto_if_false @PIMP_6376
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 184@, 212@, 240@)
Char.SetHeading(35@(37@,2i), 268@)
gosub @PIMP_35486

:PIMP_6376
if 
  42@ == 0
goto_if_false @PIMP_6460
if 
  Char.IsInZone($stattreadstamina_ctr, 'ELS')
goto_if_false @PIMP_6460
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 183@, 211@, 239@)
Char.SetHeading(35@(37@,2i), 267@)
gosub @PIMP_35486

:PIMP_6460
if 
  42@ == 0
goto_if_false @PIMP_6544
if 
  Char.IsInZone($stattreadstamina_ctr, 'LFL')
goto_if_false @PIMP_6544
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 186@, 214@, 242@)
Char.SetHeading(35@(37@,2i), 270@)
gosub @PIMP_35486

:PIMP_6544
if 
  42@ == 0
goto_if_false @PIMP_6628
if 
  Char.IsInZone($stattreadstamina_ctr, 'EBE')
goto_if_false @PIMP_6628
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 185@, 213@, 241@)
Char.SetHeading(35@(37@,2i), 269@)
gosub @PIMP_35486

:PIMP_6628
if 
  42@ == 0
goto_if_false @PIMP_6712
if 
  Char.IsInZone($stattreadstamina_ctr, 'CONF')
goto_if_false @PIMP_6712
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 188@, 216@, 244@)
Char.SetHeading(35@(37@,2i), 272@)
gosub @PIMP_35486

:PIMP_6712
if 
  42@ == 0
goto_if_false @PIMP_6796
if 
  Char.IsInZone($stattreadstamina_ctr, 'VERO')
goto_if_false @PIMP_6796
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 187@, 215@, 243@)
Char.SetHeading(35@(37@,2i), 271@)
gosub @PIMP_35486

:PIMP_6796
if 
  42@ == 0
goto_if_false @PIMP_6880
if 
  Char.IsInZone($stattreadstamina_ctr, 'MKT')
goto_if_false @PIMP_6880
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 190@, 218@, 246@)
Char.SetHeading(35@(37@,2i), 274@)
gosub @PIMP_35486

:PIMP_6880
if 
  42@ == 0
goto_if_false @PIMP_6964
if 
  Char.IsInZone($stattreadstamina_ctr, 'MAR')
goto_if_false @PIMP_6964
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 189@, 217@, 245@)
Char.SetHeading(35@(37@,2i), 273@)
gosub @PIMP_35486

:PIMP_6964
if 
  42@ == 0
goto_if_false @PIMP_7048
if 
  Char.IsInZone($stattreadstamina_ctr, 'SMB')
goto_if_false @PIMP_7048
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 190@, 218@, 246@)
Char.SetHeading(35@(37@,2i), 274@)
gosub @PIMP_35486

:PIMP_7048
if 
  42@ == 0
goto_if_false @PIMP_7132
if 
  Char.IsInZone($stattreadstamina_ctr, 'PLS')
goto_if_false @PIMP_7132
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 193@, 221@, 249@)
Char.SetHeading(35@(37@,2i), 277@)
gosub @PIMP_35486

:PIMP_7132
if 
  42@ == 0
goto_if_false @PIMP_7216
if 
  Char.IsInZone($stattreadstamina_ctr, 'ROD')
goto_if_false @PIMP_7216
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 194@, 222@, 250@)
Char.SetHeading(35@(37@,2i), 278@)
gosub @PIMP_35486

:PIMP_7216
if 
  42@ == 0
goto_if_false @PIMP_7300
if 
  Char.IsInZone($stattreadstamina_ctr, 'RIH')
goto_if_false @PIMP_7300
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 192@, 220@, 248@)
Char.SetHeading(35@(37@,2i), 276@)
gosub @PIMP_35486

:PIMP_7300
if 
  42@ == 0
goto_if_false @PIMP_7384
if 
  Char.IsInZone($stattreadstamina_ctr, 'VIN')
goto_if_false @PIMP_7384
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 195@, 223@, 251@)
Char.SetHeading(35@(37@,2i), 279@)
gosub @PIMP_35486

:PIMP_7384
if 
  42@ == 0
goto_if_false @PIMP_7468
if 
  Char.IsInZone($stattreadstamina_ctr, 'MUL')
goto_if_false @PIMP_7468
35@(37@,2i) = Char.Create(PedType.Prostitute, 63, 198@, 226@, 254@)
Char.SetHeading(35@(37@,2i), 282@)
gosub @PIMP_35486

:PIMP_7468
if 
  42@ == 0
goto_if_false @PIMP_7552
if 
  Char.IsInZone($stattreadstamina_ctr, 'SUN')
goto_if_false @PIMP_7552
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 196@, 224@, 252@)
Char.SetHeading(35@(37@,2i), 280@)
gosub @PIMP_35486

:PIMP_7552
if 
  42@ == 0
goto_if_false @PIMP_7611
35@(37@,2i) = Char.Create(PedType.Prostitute, 64, 180@, 208@, 236@)
Char.SetHeading(35@(37@,2i), 264@)
gosub @PIMP_35486

:PIMP_7611
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(64)

:PIMP_7619
if 
  is_int_lvar_equal_to_constant 531@ == 2
goto_if_false @PIMP_10026
Streaming.RequestModel(75)
Streaming.RequestModel(152)

:PIMP_7646
if or
  not Streaming.HasModelLoaded(75)
  not Streaming.HasModelLoaded(152)
goto_if_false @PIMP_7677
wait 0
goto @PIMP_7646

:PIMP_7677
if 
  42@ == 0
goto_if_false @PIMP_7762
if 
  Char.IsInZone($stattreadstamina_ctr, 'CALT')
goto_if_false @PIMP_7762
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 288@, 316@, 344@)
Char.SetHeading(35@(37@,2i), 372@)
gosub @PIMP_35486

:PIMP_7762
if 
  42@ == 0
goto_if_false @PIMP_7846
if 
  Char.IsInZone($stattreadstamina_ctr, 'JUNIHO')
goto_if_false @PIMP_7846
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 287@, 315@, 343@)
Char.SetHeading(35@(37@,2i), 371@)
gosub @PIMP_35486

:PIMP_7846
if 
  42@ == 0
goto_if_false @PIMP_7930
if 
  Char.IsInZone($stattreadstamina_ctr, 'ESPN')
goto_if_false @PIMP_7930
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 289@, 317@, 345@)
Char.SetHeading(35@(37@,2i), 373@)
gosub @PIMP_35486

:PIMP_7930
if 
  42@ == 0
goto_if_false @PIMP_8015
if 
  Char.IsInZone($stattreadstamina_ctr, 'JUNIHI')
goto_if_false @PIMP_8015
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 290@, 318@, 346@)
Char.SetHeading(35@(37@,2i), 374@)
gosub @PIMP_35486

:PIMP_8015
if 
  42@ == 0
goto_if_false @PIMP_8100
if 
  Char.IsInZone($stattreadstamina_ctr, 'SUNMA')
goto_if_false @PIMP_8100
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 292@, 320@, 348@)
Char.SetHeading(35@(37@,2i), 376@)
gosub @PIMP_35486

:PIMP_8100
if 
  42@ == 0
goto_if_false @PIMP_8184
if 
  Char.IsInZone($stattreadstamina_ctr, 'SUNNN')
goto_if_false @PIMP_8184
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 291@, 319@, 347@)
Char.SetHeading(35@(37@,2i), 375@)
gosub @PIMP_35486

:PIMP_8184
if 
  42@ == 0
goto_if_false @PIMP_8268
if 
  Char.IsInZone($stattreadstamina_ctr, 'BATTP')
goto_if_false @PIMP_8268
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 294@, 322@, 350@)
Char.SetHeading(35@(37@,2i), 378@)
gosub @PIMP_35486

:PIMP_8268
if 
  42@ == 0
goto_if_false @PIMP_8353
if 
  Char.IsInZone($stattreadstamina_ctr, 'GANTB')
goto_if_false @PIMP_8353
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 293@, 321@, 349@)
Char.SetHeading(35@(37@,2i), 377@)
gosub @PIMP_35486

:PIMP_8353
if 
  42@ == 0
goto_if_false @PIMP_8438
if 
  Char.IsInZone($stattreadstamina_ctr, 'CHINA')
goto_if_false @PIMP_8438
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 296@, 324@, 352@)
Char.SetHeading(35@(37@,2i), 380@)
gosub @PIMP_35486

:PIMP_8438
if 
  42@ == 0
goto_if_false @PIMP_8522
if 
  Char.IsInZone($stattreadstamina_ctr, 'SFDWT')
goto_if_false @PIMP_8522
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 295@, 323@, 351@)
Char.SetHeading(35@(37@,2i), 379@)
gosub @PIMP_35486

:PIMP_8522
if 
  42@ == 0
goto_if_false @PIMP_8606
if 
  Char.IsInZone($stattreadstamina_ctr, 'FINA')
goto_if_false @PIMP_8606
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 298@, 326@, 354@)
Char.SetHeading(35@(37@,2i), 382@)
gosub @PIMP_35486

:PIMP_8606
if 
  42@ == 0
goto_if_false @PIMP_8691
if 
  Char.IsInZone($stattreadstamina_ctr, 'ESPE')
goto_if_false @PIMP_8691
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 297@, 325@, 353@)
Char.SetHeading(35@(37@,2i), 381@)
gosub @PIMP_35486

:PIMP_8691
if 
  42@ == 0
goto_if_false @PIMP_8776
if 
  Char.IsInZone($stattreadstamina_ctr, 'WESTP')
goto_if_false @PIMP_8776
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 300@, 328@, 356@)
Char.SetHeading(35@(37@,2i), 384@)
gosub @PIMP_35486

:PIMP_8776
if 
  42@ == 0
goto_if_false @PIMP_8860
if 
  Char.IsInZone($stattreadstamina_ctr, 'HASH')
goto_if_false @PIMP_8860
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 299@, 327@, 355@)
Char.SetHeading(35@(37@,2i), 383@)
gosub @PIMP_35486

:PIMP_8860
if 
  42@ == 0
goto_if_false @PIMP_8945
if 
  Char.IsInZone($stattreadstamina_ctr, 'OCEAF')
goto_if_false @PIMP_8945
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 302@, 330@, 358@)
Char.SetHeading(35@(37@,2i), 386@)
gosub @PIMP_35486

:PIMP_8945
if 
  42@ == 0
goto_if_false @PIMP_9029
if 
  Char.IsInZone($stattreadstamina_ctr, 'CUNTC')
goto_if_false @PIMP_9029
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 301@, 329@, 357@)
Char.SetHeading(35@(37@,2i), 385@)
gosub @PIMP_35486

:PIMP_9029
if 
  42@ == 0
goto_if_false @PIMP_9114
if 
  Char.IsInZone($stattreadstamina_ctr, 'THEA')
goto_if_false @PIMP_9114
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 304@, 332@, 360@)
Char.SetHeading(35@(37@,2i), 388@)
gosub @PIMP_35486

:PIMP_9114
if 
  42@ == 0
goto_if_false @PIMP_9198
if 
  Char.IsInZone($stattreadstamina_ctr, 'GARC')
goto_if_false @PIMP_9198
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 303@, 331@, 359@)
Char.SetHeading(35@(37@,2i), 387@)
gosub @PIMP_35486

:PIMP_9198
if 
  42@ == 0
goto_if_false @PIMP_9283
if 
  Char.IsInZone($stattreadstamina_ctr, 'DOH')
goto_if_false @PIMP_9283
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 306@, 334@, 362@)
Char.SetHeading(35@(37@,2i), 390@)
gosub @PIMP_35486

:PIMP_9283
if 
  42@ == 0
goto_if_false @PIMP_9367
if 
  Char.IsInZone($stattreadstamina_ctr, 'EASB')
goto_if_false @PIMP_9367
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 305@, 333@, 361@)
Char.SetHeading(35@(37@,2i), 389@)
gosub @PIMP_35486

:PIMP_9367
if 
  42@ == 0
goto_if_false @PIMP_9451
if 
  Char.IsInZone($stattreadstamina_ctr, 'HILLP')
goto_if_false @PIMP_9451
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 308@, 336@, 364@)
Char.SetHeading(35@(37@,2i), 392@)
gosub @PIMP_35486

:PIMP_9451
if 
  42@ == 0
goto_if_false @PIMP_9536
if 
  Char.IsInZone($stattreadstamina_ctr, 'SILLY')
goto_if_false @PIMP_9536
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 309@, 337@, 365@)
Char.SetHeading(35@(37@,2i), 393@)
gosub @PIMP_35486

:PIMP_9536
if 
  42@ == 0
goto_if_false @PIMP_9620
if 
  Char.IsInZone($stattreadstamina_ctr, 'SFAIR')
goto_if_false @PIMP_9620
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 307@, 335@, 363@)
Char.SetHeading(35@(37@,2i), 391@)
gosub @PIMP_35486

:PIMP_9620
if 
  42@ == 0
goto_if_false @PIMP_9704
if 
  Char.IsInZone($stattreadstamina_ctr, 'BAYV')
goto_if_false @PIMP_9704
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 311@, 339@, 367@)
Char.SetHeading(35@(37@,2i), 395@)
gosub @PIMP_35486

:PIMP_9704
if 
  42@ == 0
goto_if_false @PIMP_9789
if 
  Char.IsInZone($stattreadstamina_ctr, 'PARA')
goto_if_false @PIMP_9789
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 310@, 338@, 366@)
Char.SetHeading(35@(37@,2i), 394@)
gosub @PIMP_35486

:PIMP_9789
if 
  42@ == 0
goto_if_false @PIMP_9874
if 
  Char.IsInZone($stattreadstamina_ctr, 'CIVI')
goto_if_false @PIMP_9874
35@(37@,2i) = Char.Create(PedType.Prostitute, 152, 313@, 341@, 369@)
Char.SetHeading(35@(37@,2i), 397@)
gosub @PIMP_35486

:PIMP_9874
if 
  42@ == 0
goto_if_false @PIMP_9958
if 
  Char.IsInZone($stattreadstamina_ctr, 'CITYS')
goto_if_false @PIMP_9958
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 312@, 340@, 368@)
Char.SetHeading(35@(37@,2i), 396@)
gosub @PIMP_35486

:PIMP_9958
if 
  42@ == 0
goto_if_false @PIMP_10017
35@(37@,2i) = Char.Create(PedType.Prostitute, 75, 287@, 315@, 343@)
Char.SetHeading(35@(37@,2i), 371@)
gosub @PIMP_35486

:PIMP_10017
Streaming.MarkModelAsNoLongerNeeded(75)
Streaming.MarkModelAsNoLongerNeeded(152)

:PIMP_10026
if 
  is_int_lvar_equal_to_constant 531@ == 3
goto_if_false @PIMP_11842
Streaming.RequestModel(85)
Streaming.RequestModel(245)

:PIMP_10053
if or
  not Streaming.HasModelLoaded(85)
  not Streaming.HasModelLoaded(245)
goto_if_false @PIMP_10084
wait 0
goto @PIMP_10053

:PIMP_10084
if 
  42@ == 0
goto_if_false @PIMP_10168
if 
  Char.IsInZone($stattreadstamina_ctr, 'PINK')
goto_if_false @PIMP_10168
35@(37@,2i) = Char.Create(PedType.Prostitute, 85, 400@, 428@, 456@)
Char.SetHeading(35@(37@,2i), 484@)
gosub @PIMP_35486

:PIMP_10168
if 
  42@ == 0
goto_if_false @PIMP_10252
if 
  Char.IsInZone($stattreadstamina_ctr, 'DRAG')
goto_if_false @PIMP_10252
35@(37@,2i) = Char.Create(PedType.Prostitute, 85, 399@, 427@, 455@)
Char.SetHeading(35@(37@,2i), 483@)
gosub @PIMP_35486

:PIMP_10252
if 
  42@ == 0
goto_if_false @PIMP_10337
if 
  Char.IsInZone($stattreadstamina_ctr, 'CAM')
goto_if_false @PIMP_10337
35@(37@,2i) = Char.Create(PedType.Prostitute, 245, 402@, 430@, 458@)
Char.SetHeading(35@(37@,2i), 486@)
gosub @PIMP_35486

:PIMP_10337
if 
  42@ == 0
goto_if_false @PIMP_10422
if 
  Char.IsInZone($stattreadstamina_ctr, 'LOT')
goto_if_false @PIMP_10422
35@(37@,2i) = Char.Create(PedType.Prostitute, 245, 401@, 429@, 457@)
Char.SetHeading(35@(37@,2i), 485@)
gosub @PIMP_35486

:PIMP_10422
if 
  42@ == 0
goto_if_false @PIMP_10506
if 
  Char.IsInZone($stattreadstamina_ctr, 'PIRA')
goto_if_false @PIMP_10506
35@(37@,2i) = Char.Create(PedType.Prostitute, 85, 404@, 432@, 460@)
Char.SetHeading(35@(37@,2i), 488@)
gosub @PIMP_35486

:PIMP_10506
if 
  42@ == 0
goto_if_false @PIMP_10590
if 
  Char.IsInZone($stattreadstamina_ctr, 'ROY')
goto_if_false @PIMP_10590
35@(37@,2i) = Char.Create(PedType.Prostitute, 85, 403@, 431@, 459@)
Char.SetHeading(35@(37@,2i), 487@)
gosub @PIMP_35486

:PIMP_10590
if 
  42@ == 0
goto_if_false @PIMP_10675
if 
  Char.IsInZone($stattreadstamina_ctr, 'CALI')
goto_if_false @PIMP_10675
35@(37@,2i) = Char.Create(PedType.Prostitute, 245, 406@, 434@, 462@)
Char.SetHeading(35@(37@,2i), 490@)
gosub @PIMP_35486

:PIMP_10675
if 
  42@ == 0
goto_if_false @PIMP_10760
if 
  Char.IsInZone($stattreadstamina_ctr, 'HIGH')
goto_if_false @PIMP_10760
35@(37@,2i) = Char.Create(PedType.Prostitute, 245, 405@, 433@, 461@)
Char.SetHeading(35@(37@,2i), 489@)
gosub @PIMP_35486

:PIMP_10760
if 
  42@ == 0
goto_if_false @PIMP_10844
if 
  Char.IsInZone($stattreadstamina_ctr, 'PILG')
goto_if_false @PIMP_10844
35@(37@,2i) = Char.Create(PedType.Prostitute, 85, 408@, 436@, 464@)
Char.SetHeading(35@(37@,2i), 492@)
gosub @PIMP_35486

:PIMP_10844
if 
  42@ == 0
goto_if_false @PIMP_10928
if 
  Char.IsInZone($stattreadstamina_ctr, 'STAR')
goto_if_false @PIMP_10928
35@(37@,2i) = Char.Create(PedType.Prostitute, 85, 407@, 435@, 463@)
Char.SetHeading(35@(37@,2i), 491@)
gosub @PIMP_35486

:PIMP_10928
if 
  42@ == 0
goto_if_false @PIMP_11013
if 
  Char.IsInZone($stattreadstamina_ctr, 'STRIP')
goto_if_false @PIMP_11013
35@(37@,2i) = Char.Create(PedType.Prostitute, 245, 410@, 438@, 466@)
Char.SetHeading(35@(37@,2i), 494@)
gosub @PIMP_35486

:PIMP_11013
if 
  42@ == 0
goto_if_false @PIMP_11098
if 
  Char.IsInZone($stattreadstamina_ctr, 'VISA')
goto_if_false @PIMP_11098
35@(37@,2i) = Char.Create(PedType.Prostitute, 245, 409@, 437@, 465@)
Char.SetHeading(35@(37@,2i), 493@)
gosub @PIMP_35486

:PIMP_11098
if 
  42@ == 0
goto_if_false @PIMP_11182
if 
  Char.IsInZone($stattreadstamina_ctr, 'ISLE')
goto_if_false @PIMP_11182
35@(37@,2i) = Char.Create(PedType.Prostitute, 85, 412@, 440@, 468@)
Char.SetHeading(35@(37@,2i), 496@)
gosub @PIMP_35486

:PIMP_11182
if 
  42@ == 0
goto_if_false @PIMP_11266
if 
  Char.IsInZone($stattreadstamina_ctr, 'ROCE')
goto_if_false @PIMP_11266
35@(37@,2i) = Char.Create(PedType.Prostitute, 85, 411@, 439@, 467@)
Char.SetHeading(35@(37@,2i), 495@)
gosub @PIMP_35486

:PIMP_11266
if 
  42@ == 0
goto_if_false @PIMP_11351
if 
  Char.IsInZone($stattreadstamina_ctr, 'OVS')
goto_if_false @PIMP_11351
35@(37@,2i) = Char.Create(PedType.Prostitute, 245, 414@, 442@, 470@)
Char.SetHeading(35@(37@,2i), 498@)
gosub @PIMP_35486

:PIMP_11351
if 
  42@ == 0
goto_if_false @PIMP_11436
if 
  Char.IsInZone($stattreadstamina_ctr, 'RING')
goto_if_false @PIMP_11436
35@(37@,2i) = Char.Create(PedType.Prostitute, 245, 413@, 441@, 469@)
Char.SetHeading(35@(37@,2i), 497@)
gosub @PIMP_35486

:PIMP_11436
if 
  42@ == 0
goto_if_false @PIMP_11520
if 
  Char.IsInZone($stattreadstamina_ctr, 'BFC')
goto_if_false @PIMP_11520
35@(37@,2i) = Char.Create(PedType.Prostitute, 85, 416@, 444@, 472@)
Char.SetHeading(35@(37@,2i), 500@)
gosub @PIMP_35486

:PIMP_11520
if 
  42@ == 0
goto_if_false @PIMP_11604
if 
  Char.IsInZone($stattreadstamina_ctr, 'GGC')
goto_if_false @PIMP_11604
35@(37@,2i) = Char.Create(PedType.Prostitute, 85, 415@, 443@, 471@)
Char.SetHeading(35@(37@,2i), 499@)
gosub @PIMP_35486

:PIMP_11604
if 
  42@ == 0
goto_if_false @PIMP_11689
if 
  Char.IsInZone($stattreadstamina_ctr, 'VAIR')
goto_if_false @PIMP_11689
35@(37@,2i) = Char.Create(PedType.Prostitute, 245, 418@, 446@, 474@)
Char.SetHeading(35@(37@,2i), 502@)
gosub @PIMP_35486

:PIMP_11689
if 
  42@ == 0
goto_if_false @PIMP_11774
if 
  Char.IsInZone($stattreadstamina_ctr, 'LDM')
goto_if_false @PIMP_11774
35@(37@,2i) = Char.Create(PedType.Prostitute, 245, 417@, 445@, 473@)
Char.SetHeading(35@(37@,2i), 501@)
gosub @PIMP_35486

:PIMP_11774
if 
  42@ == 0
goto_if_false @PIMP_11833
35@(37@,2i) = Char.Create(PedType.Prostitute, 85, 399@, 427@, 455@)
Char.SetHeading(35@(37@,2i), 483@)
gosub @PIMP_35486

:PIMP_11833
Streaming.MarkModelAsNoLongerNeeded(85)
Streaming.MarkModelAsNoLongerNeeded(245)

:PIMP_11842
if 
  42@ == 1
goto_if_false @PIMP_12057
if 
  not Char.IsDead(35@(37@,2i))
goto_if_false @PIMP_12057
Task.StandStill(35@(37@,2i), -1)
Blip.Remove(88@)
88@ = Blip.AddForChar(35@(37@,2i))
Char.SetDecisionMaker(35@(37@,2i), 518@)
Char.SetOnlyDamagedByPlayer(35@(37@,2i), True)
Char.SetCantBeDraggedOut(35@(37@,2i), True)
Blip.SetAsFriendly(88@, True)
if 
  37@ == 0
goto_if_false @PIMP_11996
Text.ClearPrints
Text.PrintNow('PIMP_2', 6000, 1)
Char.SetCantBeDraggedOut(35@(37@,2i), True)

:PIMP_11996
if 
  37@ == 1
goto_if_false @PIMP_12043
Text.ClearPrints
Text.PrintNow('PIMP_30', 6000, 1)
Char.SetCantBeDraggedOut(35@(37@,2i), True)

:PIMP_12043
42@ = 2
43@ = 1

:PIMP_12057
if 
  43@ == 1
goto_if_false @PIMP_12203
if 
  Char.DoesExist(35@)
goto_if_false @PIMP_12130
if 
  Char.IsDead(35@)
goto_if_false @PIMP_12130
Text.PrintNow('PIMP_51', 8000, 1)
goto @PIMP_37351

:PIMP_12130
if 
  52@ == 1
goto_if_false @PIMP_12203
if 
  Char.DoesExist(36@)
goto_if_false @PIMP_12203
if 
  Char.IsDead(36@)
goto_if_false @PIMP_12203
Text.PrintNow('PIMP_51', 8000, 1)
goto @PIMP_37351

:PIMP_12203
if 
  42@ == 2
goto_if_false @PIMP_12845
if 
  523@ == 1
goto_if_false @PIMP_12281
if 
  TIMERA > 4000
goto_if_false @PIMP_12281
Text.PrintNow('PIMP_57', 6000, 1)
523@ = 99

:PIMP_12281
if 
  not Char.IsDead(35@(37@,2i))
goto_if_false @PIMP_12845
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_12845
if 
  521@ == 0
goto_if_false @PIMP_12381
if 
  not Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_12381
522@ = Blip.AddForCar(40@)
Blip.SetAsFriendly(522@, True)
Blip.Remove(88@)
521@ = 1

:PIMP_12381
if 
  521@ == 1
goto_if_false @PIMP_12477
if 
  Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_12477
Blip.Remove(522@)
521@ = 0
Blip.Remove(88@)
88@ = Blip.AddForChar(35@(37@,2i))
Blip.SetAsFriendly(88@, True)
Text.PrintNow('PIMP_54', 6000, 1)
521@ = 0

:PIMP_12477
if 
  44@ == 0
goto_if_false @PIMP_12664
if 
  521@ == 0
goto_if_false @PIMP_12664
if 
  Char.LocateInCarChar2D($stattreadstamina_ctr, 35@(37@,2i), 7.0, 7.0, False)
goto_if_false @PIMP_12664
if 
  45@ == 0
goto_if_false @PIMP_12613
38@ = Sequence.Open()
Task.TurnCharToFaceChar(-1, $stattreadstamina_ctr)
Task.StandStill(-1, -1)
Sequence.Close(38@)
Char.PerformSequence(35@(37@,2i), 38@)
Sequence.Clear(38@)
45@ = 1

:PIMP_12613
if 
  Car.IsStopped(40@)
goto_if_false @PIMP_12664
Char.ClearTasks(35@(37@,2i))
Task.EnterCarAsPassenger(35@(37@,2i), 40@, 60000, -1)
44@ = 1

:PIMP_12664
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_12845
if 
  not Char.IsDead(35@(37@,2i))
goto_if_false @PIMP_12845
if 
  Char.IsSittingInCar(35@(37@,2i), 40@)
goto_if_false @PIMP_12845
if 
  2 > 56@
goto_if_false @PIMP_12755
56@ += 1
Stat.IncrementInt(StatId.NumGirlsPimped, 1)

:PIMP_12755
44@ = 2
Blip.Remove(88@)
42@ = 99
47@ = 1
gosub @PIMP_35614
520@ = 1
TIMERA = 0
if 
  49@ == 10
goto_if_false @PIMP_12845
Text.ClearPrints
Text.PrintNow('SEXGOD', 6000, 1)
goto @PIMP_37693

:PIMP_12845
if 
  44@ == 1
goto_if_false @PIMP_12983
if 
  not Char.IsDead(35@(37@,2i))
goto_if_false @PIMP_12983
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_12983
539@ = Char.GetScriptTaskStatus(35@(37@,2i), 1482)
if 
  is_int_lvar_equal_to_constant 539@ == 7
goto_if_false @PIMP_12983
if 
  not Char.IsInCar(35@(37@,2i), 40@)
goto_if_false @PIMP_12983
Char.ClearTasks(35@(37@,2i))
Task.EnterCarAsPassenger(35@(37@,2i), 40@, 60000, -1)

:PIMP_12983
if 
  47@ == 1
goto_if_false @PIMP_29154
if 
  is_int_lvar_equal_to_constant 531@ == 1
goto_if_false @PIMP_19017
if 
  58@ == 1
goto_if_false @PIMP_13873
if 
  60@ == 1
goto_if_false @PIMP_13116
if 
  61@ == 1
goto_if_false @PIMP_13116
if 
  62@ == 1
goto_if_false @PIMP_13116
if 
  63@ == 1
goto_if_false @PIMP_13116
58@ = 2

:PIMP_13116
50@ = Math.RandomIntInRange(0, 4)
if 
  50@ == 0
goto_if_false @PIMP_13312
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_13312
Streaming.RequestModel(72)

:PIMP_13169
if 
  not Streaming.HasModelLoaded(72)
goto_if_false @PIMP_13195
wait 0
goto @PIMP_13169

:PIMP_13195
91@(50@,28i) = Char.Create(PedType.CivMale, 72, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(72)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_10', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_13312
if 
  50@ == 1
goto_if_false @PIMP_13499
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_13499
Streaming.RequestModel(72)

:PIMP_13356
if 
  not Streaming.HasModelLoaded(72)
goto_if_false @PIMP_13382
wait 0
goto @PIMP_13356

:PIMP_13382
91@(50@,28i) = Char.Create(PedType.CivMale, 72, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(72)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_11', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_13499
if 
  50@ == 2
goto_if_false @PIMP_13686
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_13686
Streaming.RequestModel(72)

:PIMP_13543
if 
  not Streaming.HasModelLoaded(72)
goto_if_false @PIMP_13569
wait 0
goto @PIMP_13543

:PIMP_13569
91@(50@,28i) = Char.Create(PedType.CivMale, 72, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(72)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_12', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_13686
if 
  50@ == 3
goto_if_false @PIMP_13873
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_13873
Streaming.RequestModel(22)

:PIMP_13730
if 
  not Streaming.HasModelLoaded(22)
goto_if_false @PIMP_13756
wait 0
goto @PIMP_13730

:PIMP_13756
91@(50@,28i) = Char.Create(PedType.CivMale, 22, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(22)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_13', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_13873
if 
  58@ == 2
goto_if_false @PIMP_14731
if 
  64@ == 1
goto_if_false @PIMP_13970
if 
  65@ == 1
goto_if_false @PIMP_13970
if 
  66@ == 1
goto_if_false @PIMP_13970
if 
  67@ == 1
goto_if_false @PIMP_13970
58@ = 3

:PIMP_13970
50@ = Math.RandomIntInRange(4, 8)
if 
  50@ == 4
goto_if_false @PIMP_14166
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_14166
Streaming.RequestModel(22)

:PIMP_14023
if 
  not Streaming.HasModelLoaded(22)
goto_if_false @PIMP_14049
wait 0
goto @PIMP_14023

:PIMP_14049
91@(50@,28i) = Char.Create(PedType.CivMale, 22, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(22)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_14', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_14166
if 
  50@ == 5
goto_if_false @PIMP_14357
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_14357
Streaming.RequestModel(147)

:PIMP_14211
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_14238
wait 0
goto @PIMP_14211

:PIMP_14238
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_15', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_14357
if 
  50@ == 6
goto_if_false @PIMP_14544
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_14544
Streaming.RequestModel(22)

:PIMP_14401
if 
  not Streaming.HasModelLoaded(22)
goto_if_false @PIMP_14427
wait 0
goto @PIMP_14401

:PIMP_14427
91@(50@,28i) = Char.Create(PedType.CivMale, 22, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(22)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_16', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_14544
if 
  50@ == 7
goto_if_false @PIMP_14731
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_14731
Streaming.RequestModel(22)

:PIMP_14588
if 
  not Streaming.HasModelLoaded(22)
goto_if_false @PIMP_14614
wait 0
goto @PIMP_14588

:PIMP_14614
91@(50@,28i) = Char.Create(PedType.CivMale, 22, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(22)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_17', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_14731
if 
  58@ == 3
goto_if_false @PIMP_15589
if 
  68@ == 1
goto_if_false @PIMP_14828
if 
  69@ == 1
goto_if_false @PIMP_14828
if 
  70@ == 1
goto_if_false @PIMP_14828
if 
  71@ == 1
goto_if_false @PIMP_14828
58@ = 4

:PIMP_14828
50@ = Math.RandomIntInRange(8, 12)
if 
  50@ == 8
goto_if_false @PIMP_15024
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_15024
Streaming.RequestModel(68)

:PIMP_14881
if 
  not Streaming.HasModelLoaded(68)
goto_if_false @PIMP_14907
wait 0
goto @PIMP_14881

:PIMP_14907
91@(50@,28i) = Char.Create(PedType.CivMale, 68, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(68)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_18', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_15024
if 
  50@ == 9
goto_if_false @PIMP_15211
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_15211
Streaming.RequestModel(48)

:PIMP_15068
if 
  not Streaming.HasModelLoaded(48)
goto_if_false @PIMP_15094
wait 0
goto @PIMP_15068

:PIMP_15094
91@(50@,28i) = Char.Create(PedType.CivMale, 48, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(48)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_19', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_15211
if 
  50@ == 10
goto_if_false @PIMP_15398
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_15398
Streaming.RequestModel(48)

:PIMP_15255
if 
  not Streaming.HasModelLoaded(48)
goto_if_false @PIMP_15281
wait 0
goto @PIMP_15255

:PIMP_15281
91@(50@,28i) = Char.Create(PedType.CivMale, 48, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(48)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_20', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_15398
if 
  50@ == 11
goto_if_false @PIMP_15589
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_15589
Streaming.RequestModel(147)

:PIMP_15443
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_15470
wait 0
goto @PIMP_15443

:PIMP_15470
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_21', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_15589
if 
  58@ == 4
goto_if_false @PIMP_16447
if 
  72@ == 1
goto_if_false @PIMP_15686
if 
  73@ == 1
goto_if_false @PIMP_15686
if 
  74@ == 1
goto_if_false @PIMP_15686
if 
  75@ == 1
goto_if_false @PIMP_15686
58@ = 5

:PIMP_15686
50@ = Math.RandomIntInRange(12, 16)
if 
  50@ == 12
goto_if_false @PIMP_15886
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_15886
Streaming.RequestModel(147)

:PIMP_15740
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_15767
wait 0
goto @PIMP_15740

:PIMP_15767
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_22', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_15886
if 
  50@ == 13
goto_if_false @PIMP_16073
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_16073
Streaming.RequestModel(23)

:PIMP_15930
if 
  not Streaming.HasModelLoaded(23)
goto_if_false @PIMP_15956
wait 0
goto @PIMP_15930

:PIMP_15956
91@(50@,28i) = Char.Create(PedType.CivMale, 23, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(23)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_23', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_16073
if 
  50@ == 14
goto_if_false @PIMP_16260
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_16260
Streaming.RequestModel(17)

:PIMP_16117
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_16143
wait 0
goto @PIMP_16117

:PIMP_16143
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_24', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_16260
if 
  50@ == 15
goto_if_false @PIMP_16447
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_16447
Streaming.RequestModel(50)

:PIMP_16304
if 
  not Streaming.HasModelLoaded(50)
goto_if_false @PIMP_16330
wait 0
goto @PIMP_16304

:PIMP_16330
91@(50@,28i) = Char.Create(PedType.CivMale, 50, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(50)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_25', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_16447
if 
  58@ == 5
goto_if_false @PIMP_17305
if 
  76@ == 1
goto_if_false @PIMP_16544
if 
  77@ == 1
goto_if_false @PIMP_16544
if 
  78@ == 1
goto_if_false @PIMP_16544
if 
  79@ == 1
goto_if_false @PIMP_16544
58@ = 6

:PIMP_16544
50@ = Math.RandomIntInRange(16, 20)
if 
  50@ == 16
goto_if_false @PIMP_16744
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_16744
Streaming.RequestModel(147)

:PIMP_16598
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_16625
wait 0
goto @PIMP_16598

:PIMP_16625
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_26', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_16744
if 
  50@ == 17
goto_if_false @PIMP_16931
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_16931
Streaming.RequestModel(48)

:PIMP_16788
if 
  not Streaming.HasModelLoaded(48)
goto_if_false @PIMP_16814
wait 0
goto @PIMP_16788

:PIMP_16814
91@(50@,28i) = Char.Create(PedType.CivMale, 48, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(48)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_27', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_16931
if 
  50@ == 18
goto_if_false @PIMP_17118
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_17118
Streaming.RequestModel(23)

:PIMP_16975
if 
  not Streaming.HasModelLoaded(23)
goto_if_false @PIMP_17001
wait 0
goto @PIMP_16975

:PIMP_17001
91@(50@,28i) = Char.Create(PedType.CivMale, 23, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(23)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_28', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_17118
if 
  50@ == 19
goto_if_false @PIMP_17305
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_17305
Streaming.RequestModel(17)

:PIMP_17162
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_17188
wait 0
goto @PIMP_17162

:PIMP_17188
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_29', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_17305
if 
  58@ == 6
goto_if_false @PIMP_18159
if 
  80@ == 1
goto_if_false @PIMP_17402
if 
  81@ == 1
goto_if_false @PIMP_17402
if 
  82@ == 1
goto_if_false @PIMP_17402
if 
  83@ == 1
goto_if_false @PIMP_17402
58@ = 7

:PIMP_17402
50@ = Math.RandomIntInRange(20, 24)
if 
  50@ == 20
goto_if_false @PIMP_17598
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_17598
Streaming.RequestModel(36)

:PIMP_17455
if 
  not Streaming.HasModelLoaded(36)
goto_if_false @PIMP_17481
wait 0
goto @PIMP_17455

:PIMP_17481
91@(50@,28i) = Char.Create(PedType.CivMale, 36, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(36)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_80', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_17598
if 
  50@ == 21
goto_if_false @PIMP_17785
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_17785
Streaming.RequestModel(50)

:PIMP_17642
if 
  not Streaming.HasModelLoaded(50)
goto_if_false @PIMP_17668
wait 0
goto @PIMP_17642

:PIMP_17668
91@(50@,28i) = Char.Create(PedType.CivMale, 50, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(50)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_81', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_17785
if 
  50@ == 22
goto_if_false @PIMP_17972
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_17972
Streaming.RequestModel(48)

:PIMP_17829
if 
  not Streaming.HasModelLoaded(48)
goto_if_false @PIMP_17855
wait 0
goto @PIMP_17829

:PIMP_17855
91@(50@,28i) = Char.Create(PedType.CivMale, 48, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(48)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_82', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_17972
if 
  50@ == 23
goto_if_false @PIMP_18159
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_18159
Streaming.RequestModel(68)

:PIMP_18016
if 
  not Streaming.HasModelLoaded(68)
goto_if_false @PIMP_18042
wait 0
goto @PIMP_18016

:PIMP_18042
91@(50@,28i) = Char.Create(PedType.CivMale, 68, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(68)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_83', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_18159
if 
  58@ == 7
goto_if_false @PIMP_19017
if 
  84@ == 1
goto_if_false @PIMP_18256
if 
  85@ == 1
goto_if_false @PIMP_18256
if 
  86@ == 1
goto_if_false @PIMP_18256
if 
  87@ == 1
goto_if_false @PIMP_18256
58@ = 1

:PIMP_18256
50@ = Math.RandomIntInRange(24, 28)
if 
  50@ == 24
goto_if_false @PIMP_18456
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_18456
Streaming.RequestModel(163)

:PIMP_18310
if 
  not Streaming.HasModelLoaded(163)
goto_if_false @PIMP_18337
wait 0
goto @PIMP_18310

:PIMP_18337
91@(50@,28i) = Char.Create(PedType.CivMale, 163, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(163)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_84', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_18456
if 
  50@ == 25
goto_if_false @PIMP_18643
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_18643
Streaming.RequestModel(19)

:PIMP_18500
if 
  not Streaming.HasModelLoaded(19)
goto_if_false @PIMP_18526
wait 0
goto @PIMP_18500

:PIMP_18526
91@(50@,28i) = Char.Create(PedType.CivMale, 19, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(19)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_85', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_18643
if 
  50@ == 26
goto_if_false @PIMP_18830
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_18830
Streaming.RequestModel(29)

:PIMP_18687
if 
  not Streaming.HasModelLoaded(29)
goto_if_false @PIMP_18713
wait 0
goto @PIMP_18687

:PIMP_18713
91@(50@,28i) = Char.Create(PedType.CivMale, 29, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(29)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_86', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_18830
if 
  50@ == 27
goto_if_false @PIMP_19017
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_19017
Streaming.RequestModel(48)

:PIMP_18874
if 
  not Streaming.HasModelLoaded(48)
goto_if_false @PIMP_18900
wait 0
goto @PIMP_18874

:PIMP_18900
91@(50@,28i) = Char.Create(PedType.CivMale, 48, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f))
Char.SetHeading(91@(50@,28i), 259@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(48)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP_87', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_19017
if 
  is_int_lvar_equal_to_constant 531@ == 2
goto_if_false @PIMP_24854
if 
  58@ == 1
goto_if_false @PIMP_19889
if 
  60@ == 1
goto_if_false @PIMP_19132
if 
  61@ == 1
goto_if_false @PIMP_19132
if 
  62@ == 1
goto_if_false @PIMP_19132
if 
  63@ == 1
goto_if_false @PIMP_19132
58@ = 2

:PIMP_19132
50@ = Math.RandomIntInRange(0, 4)
if 
  50@ == 0
goto_if_false @PIMP_19328
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_19328
Streaming.RequestModel(72)

:PIMP_19185
if 
  not Streaming.HasModelLoaded(72)
goto_if_false @PIMP_19211
wait 0
goto @PIMP_19185

:PIMP_19211
91@(50@,28i) = Char.Create(PedType.CivMale, 72, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(72)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP200', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_19328
if 
  50@ == 1
goto_if_false @PIMP_19515
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_19515
Streaming.RequestModel(72)

:PIMP_19372
if 
  not Streaming.HasModelLoaded(72)
goto_if_false @PIMP_19398
wait 0
goto @PIMP_19372

:PIMP_19398
91@(50@,28i) = Char.Create(PedType.CivMale, 72, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(72)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP201', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_19515
if 
  50@ == 2
goto_if_false @PIMP_19702
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_19702
Streaming.RequestModel(50)

:PIMP_19559
if 
  not Streaming.HasModelLoaded(50)
goto_if_false @PIMP_19585
wait 0
goto @PIMP_19559

:PIMP_19585
91@(50@,28i) = Char.Create(PedType.CivMale, 50, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(50)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP202', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_19702
if 
  50@ == 3
goto_if_false @PIMP_19889
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_19889
Streaming.RequestModel(50)

:PIMP_19746
if 
  not Streaming.HasModelLoaded(50)
goto_if_false @PIMP_19772
wait 0
goto @PIMP_19746

:PIMP_19772
91@(50@,28i) = Char.Create(PedType.CivMale, 50, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(50)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP203', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_19889
if 
  58@ == 2
goto_if_false @PIMP_20769
if 
  64@ == 1
goto_if_false @PIMP_19986
if 
  65@ == 1
goto_if_false @PIMP_19986
if 
  66@ == 1
goto_if_false @PIMP_19986
if 
  67@ == 1
goto_if_false @PIMP_19986
58@ = 3

:PIMP_19986
50@ = Math.RandomIntInRange(4, 8)
if 
  50@ == 4
goto_if_false @PIMP_20193
60@(50@,28i) = 1
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_20193
Streaming.RequestModel(17)

:PIMP_20050
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_20076
wait 0
goto @PIMP_20050

:PIMP_20076
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP204', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_20193
if 
  50@ == 5
goto_if_false @PIMP_20395
60@(50@,28i) = 1
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_20395
Streaming.RequestModel(147)

:PIMP_20249
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_20276
wait 0
goto @PIMP_20249

:PIMP_20276
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP205', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_20395
if 
  50@ == 6
goto_if_false @PIMP_20582
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_20582
Streaming.RequestModel(50)

:PIMP_20439
if 
  not Streaming.HasModelLoaded(50)
goto_if_false @PIMP_20465
wait 0
goto @PIMP_20439

:PIMP_20465
91@(50@,28i) = Char.Create(PedType.CivMale, 50, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(50)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP206', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_20582
if 
  50@ == 7
goto_if_false @PIMP_20769
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_20769
Streaming.RequestModel(22)

:PIMP_20626
if 
  not Streaming.HasModelLoaded(22)
goto_if_false @PIMP_20652
wait 0
goto @PIMP_20626

:PIMP_20652
91@(50@,28i) = Char.Create(PedType.CivMale, 22, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(22)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP207', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_20769
if 
  58@ == 3
goto_if_false @PIMP_21627
if 
  68@ == 1
goto_if_false @PIMP_20866
if 
  69@ == 1
goto_if_false @PIMP_20866
if 
  70@ == 1
goto_if_false @PIMP_20866
if 
  71@ == 1
goto_if_false @PIMP_20866
58@ = 4

:PIMP_20866
50@ = Math.RandomIntInRange(8, 12)
if 
  50@ == 8
goto_if_false @PIMP_21062
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_21062
Streaming.RequestModel(58)

:PIMP_20919
if 
  not Streaming.HasModelLoaded(58)
goto_if_false @PIMP_20945
wait 0
goto @PIMP_20919

:PIMP_20945
91@(50@,28i) = Char.Create(PedType.CivMale, 58, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(58)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP208', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_21062
if 
  50@ == 9
goto_if_false @PIMP_21253
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_21253
Streaming.RequestModel(147)

:PIMP_21107
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_21134
wait 0
goto @PIMP_21107

:PIMP_21134
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP209', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_21253
if 
  50@ == 10
goto_if_false @PIMP_21440
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_21440
Streaming.RequestModel(17)

:PIMP_21297
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_21323
wait 0
goto @PIMP_21297

:PIMP_21323
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP210', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_21440
if 
  50@ == 11
goto_if_false @PIMP_21627
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_21627
Streaming.RequestModel(22)

:PIMP_21484
if 
  not Streaming.HasModelLoaded(22)
goto_if_false @PIMP_21510
wait 0
goto @PIMP_21484

:PIMP_21510
91@(50@,28i) = Char.Create(PedType.CivMale, 22, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(22)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP211', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_21627
if 
  58@ == 4
goto_if_false @PIMP_22485
if 
  72@ == 1
goto_if_false @PIMP_21724
if 
  73@ == 1
goto_if_false @PIMP_21724
if 
  74@ == 1
goto_if_false @PIMP_21724
if 
  75@ == 1
goto_if_false @PIMP_21724
58@ = 5

:PIMP_21724
50@ = Math.RandomIntInRange(12, 16)
if 
  50@ == 12
goto_if_false @PIMP_21924
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_21924
Streaming.RequestModel(147)

:PIMP_21778
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_21805
wait 0
goto @PIMP_21778

:PIMP_21805
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP212', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_21924
if 
  50@ == 13
goto_if_false @PIMP_22111
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_22111
Streaming.RequestModel(29)

:PIMP_21968
if 
  not Streaming.HasModelLoaded(29)
goto_if_false @PIMP_21994
wait 0
goto @PIMP_21968

:PIMP_21994
91@(50@,28i) = Char.Create(PedType.CivMale, 29, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(29)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP213', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_22111
if 
  50@ == 14
goto_if_false @PIMP_22298
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_22298
Streaming.RequestModel(17)

:PIMP_22155
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_22181
wait 0
goto @PIMP_22155

:PIMP_22181
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP214', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_22298
if 
  50@ == 15
goto_if_false @PIMP_22485
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_22485
Streaming.RequestModel(36)

:PIMP_22342
if 
  not Streaming.HasModelLoaded(36)
goto_if_false @PIMP_22368
wait 0
goto @PIMP_22342

:PIMP_22368
91@(50@,28i) = Char.Create(PedType.CivMale, 36, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(36)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP215', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_22485
if 
  58@ == 5
goto_if_false @PIMP_23343
if 
  76@ == 1
goto_if_false @PIMP_22582
if 
  77@ == 1
goto_if_false @PIMP_22582
if 
  78@ == 1
goto_if_false @PIMP_22582
if 
  79@ == 1
goto_if_false @PIMP_22582
58@ = 6

:PIMP_22582
50@ = Math.RandomIntInRange(16, 20)
if 
  50@ == 16
goto_if_false @PIMP_22782
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_22782
Streaming.RequestModel(147)

:PIMP_22636
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_22663
wait 0
goto @PIMP_22636

:PIMP_22663
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP216', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_22782
if 
  50@ == 17
goto_if_false @PIMP_22969
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_22969
Streaming.RequestModel(29)

:PIMP_22826
if 
  not Streaming.HasModelLoaded(29)
goto_if_false @PIMP_22852
wait 0
goto @PIMP_22826

:PIMP_22852
91@(50@,28i) = Char.Create(PedType.CivMale, 29, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(29)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP217', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_22969
if 
  50@ == 18
goto_if_false @PIMP_23156
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_23156
Streaming.RequestModel(27)

:PIMP_23013
if 
  not Streaming.HasModelLoaded(27)
goto_if_false @PIMP_23039
wait 0
goto @PIMP_23013

:PIMP_23039
91@(50@,28i) = Char.Create(PedType.CivMale, 27, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(27)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP218', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_23156
if 
  50@ == 19
goto_if_false @PIMP_23343
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_23343
Streaming.RequestModel(50)

:PIMP_23200
if 
  not Streaming.HasModelLoaded(50)
goto_if_false @PIMP_23226
wait 0
goto @PIMP_23200

:PIMP_23226
91@(50@,28i) = Char.Create(PedType.CivMale, 50, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(50)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP219', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_23343
if 
  58@ == 6
goto_if_false @PIMP_23996
if 
  80@ == 1
goto_if_false @PIMP_23422
if 
  81@ == 1
goto_if_false @PIMP_23422
if 
  82@ == 1
goto_if_false @PIMP_23422
58@ = 7

:PIMP_23422
50@ = Math.RandomIntInRange(20, 23)
if 
  50@ == 20
goto_if_false @PIMP_23622
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_23622
Streaming.RequestModel(147)

:PIMP_23476
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_23503
wait 0
goto @PIMP_23476

:PIMP_23503
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP220', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_23622
if 
  50@ == 21
goto_if_false @PIMP_23809
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_23809
Streaming.RequestModel(17)

:PIMP_23666
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_23692
wait 0
goto @PIMP_23666

:PIMP_23692
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP221', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_23809
if 
  50@ == 22
goto_if_false @PIMP_23996
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_23996
Streaming.RequestModel(71)

:PIMP_23853
if 
  not Streaming.HasModelLoaded(71)
goto_if_false @PIMP_23879
wait 0
goto @PIMP_23853

:PIMP_23879
91@(50@,28i) = Char.Create(PedType.CivMale, 71, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(71)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP222', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_23996
if 
  58@ == 7
goto_if_false @PIMP_24854
if 
  83@ == 1
goto_if_false @PIMP_24093
if 
  84@ == 1
goto_if_false @PIMP_24093
if 
  85@ == 1
goto_if_false @PIMP_24093
if 
  86@ == 1
goto_if_false @PIMP_24093
58@ = 1

:PIMP_24093
50@ = Math.RandomIntInRange(23, 27)
if 
  50@ == 23
goto_if_false @PIMP_24293
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_24293
Streaming.RequestModel(147)

:PIMP_24147
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_24174
wait 0
goto @PIMP_24147

:PIMP_24174
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP223', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_24293
if 
  50@ == 24
goto_if_false @PIMP_24480
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_24480
Streaming.RequestModel(29)

:PIMP_24337
if 
  not Streaming.HasModelLoaded(29)
goto_if_false @PIMP_24363
wait 0
goto @PIMP_24337

:PIMP_24363
91@(50@,28i) = Char.Create(PedType.CivMale, 29, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(29)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP224', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_24480
if 
  50@ == 25
goto_if_false @PIMP_24667
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_24667
Streaming.RequestModel(23)

:PIMP_24524
if 
  not Streaming.HasModelLoaded(23)
goto_if_false @PIMP_24550
wait 0
goto @PIMP_24524

:PIMP_24550
91@(50@,28i) = Char.Create(PedType.CivMale, 23, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(23)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP225', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_24667
if 
  50@ == 26
goto_if_false @PIMP_24854
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_24854
Streaming.RequestModel(17)

:PIMP_24711
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_24737
wait 0
goto @PIMP_24711

:PIMP_24737
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f))
Char.SetHeading(91@(50@,28i), 371@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP226', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_24854
if 
  is_int_lvar_equal_to_constant 531@ == 3
goto_if_false @PIMP_29154
if 
  58@ == 1
goto_if_false @PIMP_25730
if 
  60@ == 1
goto_if_false @PIMP_24969
if 
  61@ == 1
goto_if_false @PIMP_24969
if 
  62@ == 1
goto_if_false @PIMP_24969
if 
  63@ == 1
goto_if_false @PIMP_24969
58@ = 2

:PIMP_24969
50@ = Math.RandomIntInRange(0, 4)
if 
  50@ == 0
goto_if_false @PIMP_25165
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_25165
Streaming.RequestModel(72)

:PIMP_25022
if 
  not Streaming.HasModelLoaded(72)
goto_if_false @PIMP_25048
wait 0
goto @PIMP_25022

:PIMP_25048
91@(50@,28i) = Char.Create(PedType.CivMale, 72, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(72)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP300', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_25165
if 
  50@ == 1
goto_if_false @PIMP_25352
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_25352
Streaming.RequestModel(72)

:PIMP_25209
if 
  not Streaming.HasModelLoaded(72)
goto_if_false @PIMP_25235
wait 0
goto @PIMP_25209

:PIMP_25235
91@(50@,28i) = Char.Create(PedType.CivMale, 72, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(72)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP301', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_25352
if 
  50@ == 2
goto_if_false @PIMP_25539
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_25539
Streaming.RequestModel(17)

:PIMP_25396
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_25422
wait 0
goto @PIMP_25396

:PIMP_25422
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP302', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_25539
if 
  50@ == 3
goto_if_false @PIMP_25730
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_25730
Streaming.RequestModel(147)

:PIMP_25584
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_25611
wait 0
goto @PIMP_25584

:PIMP_25611
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP303', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_25730
if 
  58@ == 2
goto_if_false @PIMP_26588
if 
  64@ == 1
goto_if_false @PIMP_25827
if 
  65@ == 1
goto_if_false @PIMP_25827
if 
  66@ == 1
goto_if_false @PIMP_25827
if 
  67@ == 1
goto_if_false @PIMP_25827
58@ = 3

:PIMP_25827
50@ = Math.RandomIntInRange(4, 8)
if 
  50@ == 4
goto_if_false @PIMP_26023
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_26023
Streaming.RequestModel(32)

:PIMP_25880
if 
  not Streaming.HasModelLoaded(32)
goto_if_false @PIMP_25906
wait 0
goto @PIMP_25880

:PIMP_25906
91@(50@,28i) = Char.Create(PedType.CivMale, 32, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(32)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP304', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_26023
if 
  50@ == 5
goto_if_false @PIMP_26210
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_26210
Streaming.RequestModel(33)

:PIMP_26067
if 
  not Streaming.HasModelLoaded(33)
goto_if_false @PIMP_26093
wait 0
goto @PIMP_26067

:PIMP_26093
91@(50@,28i) = Char.Create(PedType.CivMale, 33, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(33)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP305', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_26210
if 
  50@ == 6
goto_if_false @PIMP_26397
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_26397
Streaming.RequestModel(17)

:PIMP_26254
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_26280
wait 0
goto @PIMP_26254

:PIMP_26280
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP306', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_26397
if 
  50@ == 7
goto_if_false @PIMP_26588
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_26588
Streaming.RequestModel(147)

:PIMP_26442
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_26469
wait 0
goto @PIMP_26442

:PIMP_26469
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP307', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_26588
if 
  58@ == 3
goto_if_false @PIMP_27446
if 
  68@ == 1
goto_if_false @PIMP_26685
if 
  69@ == 1
goto_if_false @PIMP_26685
if 
  70@ == 1
goto_if_false @PIMP_26685
if 
  71@ == 1
goto_if_false @PIMP_26685
58@ = 4

:PIMP_26685
50@ = Math.RandomIntInRange(8, 12)
if 
  50@ == 8
goto_if_false @PIMP_26881
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_26881
Streaming.RequestModel(32)

:PIMP_26738
if 
  not Streaming.HasModelLoaded(32)
goto_if_false @PIMP_26764
wait 0
goto @PIMP_26738

:PIMP_26764
91@(50@,28i) = Char.Create(PedType.CivMale, 32, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(32)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP308', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_26881
if 
  50@ == 9
goto_if_false @PIMP_27068
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_27068
Streaming.RequestModel(33)

:PIMP_26925
if 
  not Streaming.HasModelLoaded(33)
goto_if_false @PIMP_26951
wait 0
goto @PIMP_26925

:PIMP_26951
91@(50@,28i) = Char.Create(PedType.CivMale, 33, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(33)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP309', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_27068
if 
  50@ == 10
goto_if_false @PIMP_27255
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_27255
Streaming.RequestModel(17)

:PIMP_27112
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_27138
wait 0
goto @PIMP_27112

:PIMP_27138
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP310', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_27255
if 
  50@ == 11
goto_if_false @PIMP_27446
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_27446
Streaming.RequestModel(147)

:PIMP_27300
if 
  not Streaming.HasModelLoaded(147)
goto_if_false @PIMP_27327
wait 0
goto @PIMP_27300

:PIMP_27327
91@(50@,28i) = Char.Create(PedType.CivMale, 147, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(147)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP311', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_27446
if 
  58@ == 4
goto_if_false @PIMP_28300
if 
  72@ == 1
goto_if_false @PIMP_27543
if 
  73@ == 1
goto_if_false @PIMP_27543
if 
  74@ == 1
goto_if_false @PIMP_27543
if 
  75@ == 1
goto_if_false @PIMP_27543
58@ = 5

:PIMP_27543
50@ = Math.RandomIntInRange(12, 16)
if 
  50@ == 12
goto_if_false @PIMP_27739
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_27739
Streaming.RequestModel(50)

:PIMP_27596
if 
  not Streaming.HasModelLoaded(50)
goto_if_false @PIMP_27622
wait 0
goto @PIMP_27596

:PIMP_27622
91@(50@,28i) = Char.Create(PedType.CivMale, 50, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(50)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP312', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_27739
if 
  50@ == 13
goto_if_false @PIMP_27926
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_27926
Streaming.RequestModel(34)

:PIMP_27783
if 
  not Streaming.HasModelLoaded(34)
goto_if_false @PIMP_27809
wait 0
goto @PIMP_27783

:PIMP_27809
91@(50@,28i) = Char.Create(PedType.CivMale, 34, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(34)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP313', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_27926
if 
  50@ == 14
goto_if_false @PIMP_28113
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_28113
Streaming.RequestModel(17)

:PIMP_27970
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_27996
wait 0
goto @PIMP_27970

:PIMP_27996
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP314', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_28113
if 
  50@ == 15
goto_if_false @PIMP_28300
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_28300
Streaming.RequestModel(29)

:PIMP_28157
if 
  not Streaming.HasModelLoaded(29)
goto_if_false @PIMP_28183
wait 0
goto @PIMP_28157

:PIMP_28183
91@(50@,28i) = Char.Create(PedType.CivMale, 29, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(29)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP315', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_28300
if 
  58@ == 5
goto_if_false @PIMP_29154
if 
  76@ == 1
goto_if_false @PIMP_28397
if 
  77@ == 1
goto_if_false @PIMP_28397
if 
  78@ == 1
goto_if_false @PIMP_28397
if 
  79@ == 1
goto_if_false @PIMP_28397
58@ = 1

:PIMP_28397
50@ = Math.RandomIntInRange(16, 20)
if 
  50@ == 16
goto_if_false @PIMP_28593
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_28593
Streaming.RequestModel(68)

:PIMP_28450
if 
  not Streaming.HasModelLoaded(68)
goto_if_false @PIMP_28476
wait 0
goto @PIMP_28450

:PIMP_28476
91@(50@,28i) = Char.Create(PedType.CivMale, 68, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(68)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP316', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_28593
if 
  50@ == 17
goto_if_false @PIMP_28780
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_28780
Streaming.RequestModel(101)

:PIMP_28637
if 
  not Streaming.HasModelLoaded(101)
goto_if_false @PIMP_28663
wait 0
goto @PIMP_28637

:PIMP_28663
91@(50@,28i) = Char.Create(PedType.CivMale, 101, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(101)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP317', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_28780
if 
  50@ == 18
goto_if_false @PIMP_28967
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_28967
Streaming.RequestModel(17)

:PIMP_28824
if 
  not Streaming.HasModelLoaded(17)
goto_if_false @PIMP_28850
wait 0
goto @PIMP_28824

:PIMP_28850
91@(50@,28i) = Char.Create(PedType.CivMale, 17, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(17)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP318', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_28967
if 
  50@ == 19
goto_if_false @PIMP_29154
if 
  60@(50@,28i) == 0
goto_if_false @PIMP_29154
Streaming.RequestModel(34)

:PIMP_29011
if 
  not Streaming.HasModelLoaded(34)
goto_if_false @PIMP_29037
wait 0
goto @PIMP_29011

:PIMP_29037
91@(50@,28i) = Char.Create(PedType.CivMale, 34, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f))
Char.SetHeading(91@(50@,28i), 483@(50@,28f))
Streaming.MarkModelAsNoLongerNeeded(34)
Char.SetOnlyDamagedByPlayer(91@(50@,28i), True)
Text.PrintNow('PIMP319', 4000, 1)
47@ = 2
TIMERA = 0
60@(50@,28i) = 1
119@(50@,28i) = 1

:PIMP_29154
if 
  520@ == 1
goto_if_false @PIMP_29711
if 
  TIMERA > 5000
goto_if_false @PIMP_29711
if 
  1 > 49@
goto_if_false @PIMP_29277
if 
  37@ == 0
goto_if_false @PIMP_29243
Text.PrintNow('PIMP_3', 6000, 1)

:PIMP_29243
if 
  37@ == 1
goto_if_false @PIMP_29277
Text.PrintNow('PIMP_31', 6000, 1)

:PIMP_29277
if 
  49@ > 0
goto_if_false @PIMP_29697
541@ = 1
if 
  513@ <> 1
goto_if_false @PIMP_29697
529@ = Menu.Create('PIMP_70', 31.0, 80.0, 89.0, 2, False, True, 1)
34@ = 1
Menu.SetColumn(529@, 0, 'PIMP_71', 'PIMP_72', 'PIMP_73', 'PIMP_74', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnOrientation(529@, 1, 2)
528@ = 300
set_lvar_int_to_lvar_int 526@ = 49@
mult_int_lvar_by_int_lvar 526@ *= 528@
Menu.SetItemWithNumber(529@, 1, 0, 'DOLLAR', 528@)
Menu.SetItemWithNumber(529@, 1, 1, 'PIMP_75', 49@)
Menu.SetItemWithNumber(529@, 1, 2, 'DOLLAR', 526@)
Menu.SetActiveItem(529@, 2)
cset_lvar_float_to_lvar_int 527@ =# 526@
if 
  37@ == 0
goto_if_false @PIMP_29648
Text.PrintNow('PIMP_7', 6000, 1)
Player.AddScore($statbike_temp, 526@)
Stat.IncrementFloat(StatId.MoneyMadePimping, 527@)

:PIMP_29648
if 
  37@ == 1
goto_if_false @PIMP_29697
Text.PrintNow('PIMP_32', 6000, 1)
Player.AddScore($statbike_temp, 526@)
Stat.IncrementFloat(StatId.MoneyMadePimping, 527@)

:PIMP_29697
520@ = 2
TIMERA = 0

:PIMP_29711
if 
  520@ == 2
goto_if_false @PIMP_29785
if 
  TIMERA > 6000
goto_if_false @PIMP_29785
if 
  34@ == 1
goto_if_false @PIMP_29778
Menu.Delete(529@)
34@ = 0

:PIMP_29778
520@ = 3

:PIMP_29785
if 
  47@ == 2
goto_if_false @PIMP_29942
if 
  not Char.IsDead(91@(50@,28i))
goto_if_false @PIMP_29875
if 
  37@ == 0
goto_if_false @PIMP_29849
set_lvar_int_to_lvar_int 511@ = 50@

:PIMP_29849
if 
  37@ == 1
goto_if_false @PIMP_29875
set_lvar_int_to_lvar_int 512@ = 50@

:PIMP_29875
Blip.Remove(89@)
89@ = Blip.AddForChar(91@(50@,28i))
Blip.ChangeColor(89@, BlipColor.Yellow)
$player_checkpoint_kickstart = 180000
Hud.ClearTimer($player_checkpoint_kickstart)
537@ = 0
537@ = 1
47@ = 3
48@ = 0

:PIMP_29942
if 
  47@ == 3
goto_if_false @PIMP_30698
if 
  not Char.IsDead(91@(50@,28i))
goto_if_false @PIMP_30698
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_30698
if 
  521@ == 0
goto_if_false @PIMP_30060
if 
  not Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_30060
522@ = Blip.AddForCar(40@)
Blip.SetAsFriendly(522@, True)
Blip.Remove(89@)
521@ = 1

:PIMP_30060
if 
  521@ == 1
goto_if_false @PIMP_30156
if 
  Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_30156
Blip.Remove(522@)
521@ = 0
Blip.Remove(89@)
89@ = Blip.AddForChar(91@(50@,28i))
Blip.ChangeColor(89@, BlipColor.Yellow)
Text.PrintNow('PIMP_53', 6000, 1)
521@ = 0

:PIMP_30156
if 
  Char.HasBeenDamagedByChar(91@(50@,28i), $stattreadstamina_ctr)
goto_if_false @PIMP_30202
Text.PrintNow('PIMP_52', 8000, 1)
goto @PIMP_37351

:PIMP_30202
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_30698
if 
  not Char.IsDead(35@(37@,2i))
goto_if_false @PIMP_30698
if 
  46@ == 0
goto_if_false @PIMP_30698
if 
  521@ == 0
goto_if_false @PIMP_30698
if 
  Char.LocateInCarChar2D($stattreadstamina_ctr, 91@(50@,28i), 10.0, 10.0, False)
goto_if_false @PIMP_30698
if 
  48@ == 0
goto_if_false @PIMP_30409
if 
  37@ == 0
goto_if_false @PIMP_30368
Text.PrintNow('PIMP_6', 4000, 1)
48@ = 1

:PIMP_30368
if 
  37@ == 1
goto_if_false @PIMP_30409
Text.PrintNow('PIMP_33', 4000, 1)
48@ = 1

:PIMP_30409
set_lvar_int_to_lvar_int 53@ = 37@
if 
  Car.IsStopped(40@)
goto_if_false @PIMP_30698
Task.TurnCharToFaceChar(91@(50@,28i), 35@(53@,2i))
Char.ClearTasks(35@(53@,2i))
set_lvar_int_to_lvar_int 54@ = 50@
537@ = 0
Hud.ClearTimer($player_checkpoint_kickstart)
$player_checkpoint_kickstart = 180000
39@ = Sequence.Open()
Task.LeaveCar(-1, 40@)
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
if 
  is_int_lvar_equal_to_constant 531@ == 1
goto_if_false @PIMP_30552
Task.GoStraightToCoord(-1, 175@(50@,28f), 203@(50@,28f), 231@(50@,28f), MoveState.Run, 10000)

:PIMP_30552
if 
  is_int_lvar_equal_to_constant 531@ == 2
goto_if_false @PIMP_30600
Task.GoStraightToCoord(-1, 287@(50@,28f), 315@(50@,28f), 343@(50@,28f), MoveState.Run, 10000)

:PIMP_30600
if 
  is_int_lvar_equal_to_constant 531@ == 3
goto_if_false @PIMP_30648
Task.GoStraightToCoord(-1, 399@(50@,28f), 427@(50@,28f), 455@(50@,28f), MoveState.Run, 10000)

:PIMP_30648
Sequence.Close(39@)
Char.PerformSequence(35@(53@,2i), 39@)
Sequence.Clear(39@)
46@ = 1
55@ = 1
47@ = 4
TIMERA = 0

:PIMP_30698
if 
  55@ == 1
goto_if_false @PIMP_30860
if 
  not Char.IsDead(35@(53@,2i))
goto_if_false @PIMP_30860
if 
  not Char.IsDead(91@(54@,28i))
goto_if_false @PIMP_30860
if 
  Char.LocateAnyMeansChar2D(35@(53@,2i), 91@(54@,28i), 3.0, 3.0, False)
goto_if_false @PIMP_30860
Char.ClearTasks(35@(53@,2i))
Char.ClearTasks(91@(54@,28i))
Task.ChatWithChar(35@(53@,2i), 91@(54@,28i), True, 1)
Task.ChatWithChar(91@(54@,28i), 35@(53@,2i), False, 1)
55@ = 0

:PIMP_30860
if 
  47@ == 4
goto_if_false @PIMP_31086
if 
  Char.HasBeenDamagedByChar(91@(50@,28i), $stattreadstamina_ctr)
goto_if_false @PIMP_30924
Text.PrintNow('PIMP_52', 8000, 1)
goto @PIMP_37351

:PIMP_30924
if 
  not Char.IsDead(35@(53@,2i))
goto_if_false @PIMP_31086
if 
  not Char.IsDead(91@(50@,28i))
goto_if_false @PIMP_31086
if 
  52@ == 1
goto_if_false @PIMP_30989
47@ = 15

:PIMP_30989
if 
  52@ == 0
goto_if_false @PIMP_31086
if 
  37@ == 0
goto_if_false @PIMP_31086
42@ = 0
41@ = 0
37@ = 1
47@ = 99
Blip.Remove(89@)
45@ = 0
44@ = 0
46@ = 0
52@ = 1

:PIMP_31086
if 
  47@ == 15
goto_if_false @PIMP_31190
if 
  Char.HasBeenDamagedByChar(91@(50@,28i), $stattreadstamina_ctr)
goto_if_false @PIMP_31150
Text.PrintNow('PIMP_52', 8000, 1)
goto @PIMP_37351

:PIMP_31150
Blip.Remove(89@)
45@ = 0
44@ = 0
46@ = 0
gosub @PIMP_35556
47@ = 20

:PIMP_31190
if 
  47@ == 20
goto_if_false @PIMP_31261
if 
  Char.HasBeenDamagedByChar(91@(50@,28i), $stattreadstamina_ctr)
goto_if_false @PIMP_31254
Text.PrintNow('PIMP_52', 8000, 1)
goto @PIMP_37351

:PIMP_31254
47@ = 25

:PIMP_31261
if 
  47@ == 25
goto_if_false @PIMP_31995
513@ = Math.RandomIntInRange(0, 4)
if 
  2 > 49@
goto_if_false @PIMP_31313
513@ = 3

:PIMP_31313
if 
  513@ == 0
goto_if_false @PIMP_31580
47@ = 30
Text.PrintNow('PIMP_35', 6000, 1)
524@ = 1
TIMERA = 0
if 
  37@ == 0
goto_if_false @PIMP_31474
if 
  not Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_31474
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(511@,28i))
Char.SetIsTargetPriority(91@(511@,28i), True)
119@(511@,28i) = 0
Blip.ChangeColor(90@, BlipColor.Red)
Hud.ClearTimer($player_checkpoint_kickstart)
$player_checkpoint_kickstart = 180000
537@ = 2

:PIMP_31474
if 
  37@ == 1
goto_if_false @PIMP_31580
if 
  not Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_31580
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(512@,28i))
Char.SetIsTargetPriority(91@(512@,28i), True)
119@(512@,28i) = 0
Blip.ChangeColor(90@, BlipColor.Red)
Hud.ClearTimer($player_checkpoint_kickstart)
$player_checkpoint_kickstart = 180000
537@ = 2

:PIMP_31580
if 
  513@ == 1
goto_if_false @PIMP_31871
47@ = 40
Text.PrintNow('PIMP_39', 6000, 1)
525@ = 1
TIMERA = 0
if 
  37@ == 0
goto_if_false @PIMP_31753
if 
  not Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_31753
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(511@,28i))
Char.SetIsTargetPriority(91@(511@,28i), True)
119@(511@,28i) = 0
Char.SetMoney(91@(511@,28i), 250)
Blip.ChangeColor(90@, BlipColor.Red)
Hud.ClearTimer($player_checkpoint_kickstart)
$player_checkpoint_kickstart = 180000
537@ = 2

:PIMP_31753
if 
  37@ == 1
goto_if_false @PIMP_31871
if 
  not Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_31871
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(512@,28i))
Char.SetIsTargetPriority(91@(512@,28i), True)
119@(512@,28i) = 0
Blip.ChangeColor(90@, BlipColor.Red)
Char.SetMoney(91@(512@,28i), 250)
Hud.ClearTimer($player_checkpoint_kickstart)
$player_checkpoint_kickstart = 180000
537@ = 2

:PIMP_31871
if 
  513@ == 2
goto_if_false @PIMP_31933
523@ = 0
47@ = 50
Text.PrintNow('PIMP_56', 4000, 1)
TIMERA = 0
523@ = 1

:PIMP_31933
if 
  513@ == 3
goto_if_false @PIMP_31995
523@ = 0
47@ = 50
Text.PrintNow('PIMP_56', 4000, 1)
TIMERA = 0
523@ = 1

:PIMP_31995
if 
  47@ == 30
goto_if_false @PIMP_32866
if 
  525@ == 1
goto_if_false @PIMP_32073
if 
  TIMERA > 4000
goto_if_false @PIMP_32073
Text.PrintNow('PIMP_37', 6000, 1)
525@ = 99

:PIMP_32073
if 
  524@ == 1
goto_if_false @PIMP_32133
if 
  TIMERA > 4000
goto_if_false @PIMP_32133
Text.PrintNow('PIMP_36', 6000, 1)
524@ = 99

:PIMP_32133
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_32402
if 
  521@ == 0
goto_if_false @PIMP_32213
if 
  not Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_32213
522@ = Blip.AddForCar(40@)
Blip.SetAsFriendly(522@, True)
Blip.Remove(90@)
521@ = 1

:PIMP_32213
if 
  521@ == 1
goto_if_false @PIMP_32402
if 
  Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_32402
Blip.Remove(522@)
if 
  37@ == 0
goto_if_false @PIMP_32317
if 
  not Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_32317
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(511@,28i))
Blip.ChangeColor(90@, BlipColor.Red)

:PIMP_32317
if 
  37@ == 1
goto_if_false @PIMP_32379
if 
  not Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_32379
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(512@,28i))
Blip.ChangeColor(90@, BlipColor.Red)

:PIMP_32379
Text.PrintNow('PIMP_55', 6000, 1)
521@ = 0

:PIMP_32402
if 
  521@ == 0
goto_if_false @PIMP_32734
if 
  37@ == 0
goto_if_false @PIMP_32577
if 
  not Char.IsDead(35@(37@,2i))
goto_if_false @PIMP_32577
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 35@(37@,2i), 50.0, 50.0, False)
goto_if_false @PIMP_32577
if 
  not Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_32577
Char.ClearTasks(35@(37@,2i))
Task.KillCharOnFoot(35@(37@,2i), 91@(511@,28i))
Task.KillCharOnFoot(91@(511@,28i), 35@(37@,2i))
Text.PrintNow('PIMP_55', 6000, 1)
47@ = 35

:PIMP_32577
if 
  37@ == 1
goto_if_false @PIMP_32734
if 
  not Char.IsDead(35@(37@,2i))
goto_if_false @PIMP_32734
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 35@(37@,2i), 50.0, 50.0, False)
goto_if_false @PIMP_32734
if 
  not Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_32734
Task.KillCharOnFoot(91@(512@,28i), 35@(37@,2i))
Char.ClearTasks(35@(37@,2i))
Task.KillCharOnFoot(35@(37@,2i), 91@(512@,28i))
Text.PrintNow('PIMP_55', 6000, 1)
47@ = 35

:PIMP_32734
if 
  37@ == 0
goto_if_false @PIMP_32800
if 
  Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_32800
Blip.Remove(90@)
Text.PrintNow('PIMP_38', 4000, 1)
47@ = 50

:PIMP_32800
if 
  37@ == 1
goto_if_false @PIMP_32866
if 
  Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_32866
Blip.Remove(90@)
Text.PrintNow('PIMP_38', 4000, 1)
47@ = 50

:PIMP_32866
if 
  47@ == 35
goto_if_false @PIMP_33407
516@ = 99
if 
  525@ == 1
goto_if_false @PIMP_32951
if 
  TIMERA > 4000
goto_if_false @PIMP_32951
Text.PrintNow('PIMP_37', 6000, 1)
525@ = 99

:PIMP_32951
if 
  524@ == 1
goto_if_false @PIMP_33011
if 
  TIMERA > 4000
goto_if_false @PIMP_33011
Text.PrintNow('PIMP_36', 6000, 1)
524@ = 99

:PIMP_33011
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_33275
if 
  521@ == 0
goto_if_false @PIMP_33086
if 
  not Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_33086
522@ = Blip.AddForCar(40@)
Blip.SetAsFriendly(522@, True)
521@ = 1

:PIMP_33086
if 
  521@ == 1
goto_if_false @PIMP_33275
if 
  Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_33275
Blip.Remove(522@)
if 
  37@ == 0
goto_if_false @PIMP_33190
if 
  not Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_33190
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(511@,28i))
Blip.ChangeColor(90@, BlipColor.Red)

:PIMP_33190
if 
  37@ == 1
goto_if_false @PIMP_33252
if 
  not Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_33252
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(512@,28i))
Blip.ChangeColor(90@, BlipColor.Red)

:PIMP_33252
Text.PrintNow('PIMP_55', 6000, 1)
521@ = 0

:PIMP_33275
if 
  37@ == 0
goto_if_false @PIMP_33341
if 
  Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_33341
Text.PrintNow('PIMP_38', 4000, 1)
Blip.Remove(90@)
47@ = 50

:PIMP_33341
if 
  37@ == 1
goto_if_false @PIMP_33407
if 
  Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_33407
Text.PrintNow('PIMP_38', 4000, 1)
Blip.Remove(90@)
47@ = 50

:PIMP_33407
if 
  47@ == 40
goto_if_false @PIMP_34234
if 
  525@ == 1
goto_if_false @PIMP_33485
if 
  TIMERA > 4000
goto_if_false @PIMP_33485
Text.PrintNow('PIMP_37', 6000, 1)
525@ = 99

:PIMP_33485
if 
  524@ == 1
goto_if_false @PIMP_33545
if 
  TIMERA > 4000
goto_if_false @PIMP_33545
Text.PrintNow('PIMP_36', 6000, 1)
524@ = 99

:PIMP_33545
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_33814
if 
  521@ == 0
goto_if_false @PIMP_33625
if 
  not Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_33625
522@ = Blip.AddForCar(40@)
Blip.SetAsFriendly(522@, True)
Blip.Remove(90@)
521@ = 1

:PIMP_33625
if 
  521@ == 1
goto_if_false @PIMP_33814
if 
  Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_33814
Blip.Remove(522@)
if 
  37@ == 0
goto_if_false @PIMP_33729
if 
  not Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_33729
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(511@,28i))
Blip.ChangeColor(90@, BlipColor.Red)

:PIMP_33729
if 
  37@ == 1
goto_if_false @PIMP_33791
if 
  not Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_33791
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(512@,28i))
Blip.ChangeColor(90@, BlipColor.Red)

:PIMP_33791
Text.PrintNow('PIMP_55', 6000, 1)
521@ = 0

:PIMP_33814
if 
  521@ == 0
goto_if_false @PIMP_34102
if 
  37@ == 0
goto_if_false @PIMP_33967
if 
  not Char.IsDead(35@(37@,2i))
goto_if_false @PIMP_33967
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 35@(37@,2i), 20.0, 20.0, False)
goto_if_false @PIMP_33967
if 
  not Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_33967
Task.SmartFleeChar(91@(511@,28i), $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('PIMP_37', 6000, 1)
47@ = 45

:PIMP_33967
if 
  37@ == 1
goto_if_false @PIMP_34102
if 
  not Char.IsDead(35@(37@,2i))
goto_if_false @PIMP_34102
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 35@(37@,2i), 20.0, 20.0, False)
goto_if_false @PIMP_34102
if 
  not Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_34102
Task.SmartFleeChar(91@(512@,28i), $stattreadstamina_ctr, 100.0, -1)
Text.PrintNow('PIMP_37', 6000, 1)
47@ = 45

:PIMP_34102
if 
  37@ == 0
goto_if_false @PIMP_34168
if 
  Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_34168
Blip.Remove(90@)
Text.PrintNow('PIMP_38', 4000, 1)
47@ = 50

:PIMP_34168
if 
  37@ == 1
goto_if_false @PIMP_34234
if 
  Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_34234
Blip.Remove(90@)
Text.PrintNow('PIMP_38', 4000, 1)
47@ = 50

:PIMP_34234
if 
  47@ == 45
goto_if_false @PIMP_34785
516@ = 99
if 
  525@ == 1
goto_if_false @PIMP_34319
if 
  TIMERA > 4000
goto_if_false @PIMP_34319
Text.PrintNow('PIMP_37', 6000, 1)
525@ = 99

:PIMP_34319
if 
  524@ == 1
goto_if_false @PIMP_34379
if 
  TIMERA > 4000
goto_if_false @PIMP_34379
Text.PrintNow('PIMP_36', 6000, 1)
524@ = 99

:PIMP_34379
if 
  not Car.IsDead(40@)
goto_if_false @PIMP_34643
if 
  521@ == 0
goto_if_false @PIMP_34454
if 
  not Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_34454
522@ = Blip.AddForCar(40@)
Blip.SetAsFriendly(522@, True)
521@ = 1

:PIMP_34454
if 
  521@ == 1
goto_if_false @PIMP_34643
if 
  Char.IsInCar($stattreadstamina_ctr, 40@)
goto_if_false @PIMP_34643
Blip.Remove(522@)
if 
  37@ == 0
goto_if_false @PIMP_34558
if 
  not Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_34558
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(511@,28i))
Blip.ChangeColor(90@, BlipColor.Red)

:PIMP_34558
if 
  37@ == 1
goto_if_false @PIMP_34620
if 
  not Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_34620
Blip.Remove(90@)
90@ = Blip.AddForChar(91@(512@,28i))
Blip.ChangeColor(90@, BlipColor.Red)

:PIMP_34620
Text.PrintNow('PIMP_55', 6000, 1)
521@ = 0

:PIMP_34643
if 
  37@ == 0
goto_if_false @PIMP_34714
if 
  Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_34714
Text.PrintNow('PIMP_38', 4000, 1)
Blip.Remove(90@)
wait 2000
47@ = 50

:PIMP_34714
if 
  37@ == 1
goto_if_false @PIMP_34785
if 
  Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_34785
Text.PrintNow('PIMP_38', 4000, 1)
Blip.Remove(90@)
wait 2000
47@ = 50

:PIMP_34785
if 
  47@ == 50
goto_if_false @PIMP_35066
537@ = 0
Hud.ClearTimer($player_checkpoint_kickstart)
$player_checkpoint_kickstart = 180000
516@ = 0
if 
  not Char.IsDead(35@(37@,2i))
goto_if_false @PIMP_35010
Text.ClearPrints
Char.ClearTasks(35@(37@,2i))
Blip.Remove(88@)
88@ = Blip.AddForChar(35@(37@,2i))
Blip.SetAsFriendly(88@, True)
47@ = 25
if 
  37@ == 0
goto_if_false @PIMP_34952
if 
  not Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_34952
Char.MarkAsNoLongerNeeded(91@(511@,28i))
119@(511@,28i) = 0

:PIMP_34952
if 
  37@ == 1
goto_if_false @PIMP_35010
if 
  not Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_35010
Char.MarkAsNoLongerNeeded(91@(512@,28i))
119@(512@,28i) = 0

:PIMP_35010
47@ = 99
42@ = 2
49@ += 1
540@ = Stat.GetInt(StatId.PimpingLevel)
if 
  not is_int_lvar_greater_than_int_lvar 540@ > 49@
goto_if_false @PIMP_35066
Stat.SetInt(StatId.PimpingLevel, 49@)

:PIMP_35066
if 
  not Char.IsDead(91@(50@,28i))
goto_if_false @PIMP_35155
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 91@(50@,28i), 50.0, 50.0, 60.0, False)
goto_if_false @PIMP_35144
Char.FreezePositionAndDontLoadCollision(91@(50@,28i), False)
goto @PIMP_35155

:PIMP_35144
Char.FreezePositionAndDontLoadCollision(91@(50@,28i), True)

:PIMP_35155
if 
  not Char.IsDead(91@(511@,28i))
goto_if_false @PIMP_35244
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 91@(511@,28i), 50.0, 50.0, 60.0, False)
goto_if_false @PIMP_35233
Char.FreezePositionAndDontLoadCollision(91@(511@,28i), False)
goto @PIMP_35244

:PIMP_35233
Char.FreezePositionAndDontLoadCollision(91@(511@,28i), True)

:PIMP_35244
if 
  not Char.IsDead(91@(512@,28i))
goto_if_false @PIMP_35333
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 91@(512@,28i), 50.0, 50.0, 60.0, False)
goto_if_false @PIMP_35322
Char.FreezePositionAndDontLoadCollision(91@(512@,28i), False)
goto @PIMP_35333

:PIMP_35322
Char.FreezePositionAndDontLoadCollision(91@(512@,28i), True)

:PIMP_35333
if 
  not Char.IsDead(35@)
goto_if_false @PIMP_35406
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 35@, 50.0, 50.0, 60.0, False)
goto_if_false @PIMP_35399
Char.FreezePositionAndDontLoadCollision(35@, False)
goto @PIMP_35406

:PIMP_35399
Char.FreezePositionAndDontLoadCollision(35@, True)

:PIMP_35406
if 
  not Char.IsDead(36@)
goto_if_false @PIMP_35479
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 36@, 50.0, 50.0, 60.0, False)
goto_if_false @PIMP_35472
Char.FreezePositionAndDontLoadCollision(36@, False)
goto @PIMP_35479

:PIMP_35472
Char.FreezePositionAndDontLoadCollision(36@, True)

:PIMP_35479
goto @PIMP_3749

:PIMP_35486
if 
  35@(37@,2i) <> -1
goto_if_false @PIMP_35554
519@ = Char.GetPedType(35@(37@,2i))
if 
  not Char.IsMale(35@(37@,2i))
goto_if_false @PIMP_35554
41@ = 99
42@ = 1

:PIMP_35554
return 

:PIMP_35556
if 
  37@ == 0
goto_if_false @PIMP_35583
37@ = 1
return 

:PIMP_35583
if 
  37@ == 1
goto_if_false @PIMP_35610
37@ = 0
return 

:PIMP_35610
return 
return 

:PIMP_35614
if 
  is_int_lvar_equal_to_constant 531@ == 1
goto_if_false @PIMP_36200
if or
  Char.IsInZone($stattreadstamina_ctr, 'IWD')
  Char.IsInZone($stattreadstamina_ctr, 'GAN')
  Char.IsInZone($stattreadstamina_ctr, 'ELCO')
  Char.IsInZone($stattreadstamina_ctr, 'LMEX')
goto_if_false @PIMP_35706
58@ = 1

:PIMP_35706
if or
  Char.IsInZone($stattreadstamina_ctr, 'LDOC')
  Char.IsInZone($stattreadstamina_ctr, 'LAIR')
  Char.IsInZone($stattreadstamina_ctr, 'LIND')
  Char.IsInZone($stattreadstamina_ctr, 'BLUF')
goto_if_false @PIMP_35780
58@ = 2

:PIMP_35780
if or
  Char.IsInZone($stattreadstamina_ctr, 'COM')
  Char.IsInZone($stattreadstamina_ctr, 'LDT')
  Char.IsInZone($stattreadstamina_ctr, 'GLN')
  Char.IsInZone($stattreadstamina_ctr, 'LMEX')
goto_if_false @PIMP_35854
58@ = 3

:PIMP_35854
if or
  Char.IsInZone($stattreadstamina_ctr, 'JEF')
  Char.IsInZone($stattreadstamina_ctr, 'ELS')
  Char.IsInZone($stattreadstamina_ctr, 'LFL')
  Char.IsInZone($stattreadstamina_ctr, 'EBE')
goto_if_false @PIMP_35928
58@ = 4

:PIMP_35928
if or
  Char.IsInZone($stattreadstamina_ctr, 'CONF')
  Char.IsInZone($stattreadstamina_ctr, 'VERO')
  Char.IsInZone($stattreadstamina_ctr, 'SMB')
  Char.IsInZone($stattreadstamina_ctr, 'MAR')
  Char.IsInZone($stattreadstamina_ctr, 'MKT')
goto_if_false @PIMP_36016
58@ = 5

:PIMP_36016
if or
  Char.IsInZone($stattreadstamina_ctr, 'SMB')
  Char.IsInZone($stattreadstamina_ctr, 'PLS')
  Char.IsInZone($stattreadstamina_ctr, 'ROD')
  Char.IsInZone($stattreadstamina_ctr, 'RIH')
goto_if_false @PIMP_36090
58@ = 6

:PIMP_36090
if or
  Char.IsInZone($stattreadstamina_ctr, 'VIN')
  Char.IsInZone($stattreadstamina_ctr, 'MUL')
  Char.IsInZone($stattreadstamina_ctr, 'SUN')
goto_if_false @PIMP_36150
58@ = 7

:PIMP_36150
if 
  1 > 58@
goto_if_false @PIMP_36175
58@ = 1

:PIMP_36175
if 
  58@ > 7
goto_if_false @PIMP_36200
58@ = 1

:PIMP_36200
if 
  is_int_lvar_equal_to_constant 531@ == 2
goto_if_false @PIMP_36772
if or
  Char.IsInZone($stattreadstamina_ctr, 'BAYV')
  Char.IsInZone($stattreadstamina_ctr, 'PARA')
  Char.IsInZone($stattreadstamina_ctr, 'CIVI')
  Char.IsInZone($stattreadstamina_ctr, 'CITYS')
goto_if_false @PIMP_36292
58@ = 1

:PIMP_36292
if or
  Char.IsInZone($stattreadstamina_ctr, 'CALT')
  Char.IsInZone($stattreadstamina_ctr, 'JUNIHO')
  Char.IsInZone($stattreadstamina_ctr, 'JUNIHI')
  Char.IsInZone($stattreadstamina_ctr, 'ESPN')
goto_if_false @PIMP_36366
58@ = 2

:PIMP_36366
if or
  Char.IsInZone($stattreadstamina_ctr, 'SUNMA')
  Char.IsInZone($stattreadstamina_ctr, 'SUNNN')
  Char.IsInZone($stattreadstamina_ctr, 'GANTB')
  Char.IsInZone($stattreadstamina_ctr, 'BATTP')
goto_if_false @PIMP_36440
58@ = 3

:PIMP_36440
if or
  Char.IsInZone($stattreadstamina_ctr, 'CHINA')
  Char.IsInZone($stattreadstamina_ctr, 'SFDWT')
  Char.IsInZone($stattreadstamina_ctr, 'FINA')
  Char.IsInZone($stattreadstamina_ctr, 'ESPE')
goto_if_false @PIMP_36514
58@ = 4

:PIMP_36514
if or
  Char.IsInZone($stattreadstamina_ctr, 'WESTP')
  Char.IsInZone($stattreadstamina_ctr, 'HASH')
  Char.IsInZone($stattreadstamina_ctr, 'OCEAF')
  Char.IsInZone($stattreadstamina_ctr, 'CUNTC')
goto_if_false @PIMP_36588
58@ = 5

:PIMP_36588
if or
  Char.IsInZone($stattreadstamina_ctr, 'THEA')
  Char.IsInZone($stattreadstamina_ctr, 'GARC')
  Char.IsInZone($stattreadstamina_ctr, 'DOH')
  Char.IsInZone($stattreadstamina_ctr, 'EASB')
goto_if_false @PIMP_36662
58@ = 6

:PIMP_36662
if or
  Char.IsInZone($stattreadstamina_ctr, 'HILLP')
  Char.IsInZone($stattreadstamina_ctr, 'SILLY')
  Char.IsInZone($stattreadstamina_ctr, 'SFAIR')
goto_if_false @PIMP_36722
58@ = 7

:PIMP_36722
if 
  1 > 58@
goto_if_false @PIMP_36747
58@ = 1

:PIMP_36747
if 
  58@ > 7
goto_if_false @PIMP_36772
58@ = 1

:PIMP_36772
if 
  is_int_lvar_equal_to_constant 531@ == 3
goto_if_false @PIMP_37210
if or
  Char.IsInZone($stattreadstamina_ctr, 'BFC')
  Char.IsInZone($stattreadstamina_ctr, 'GGC')
  Char.IsInZone($stattreadstamina_ctr, 'VAIR')
  Char.IsInZone($stattreadstamina_ctr, 'LDM')
goto_if_false @PIMP_36864
58@ = 1

:PIMP_36864
if or
  Char.IsInZone($stattreadstamina_ctr, 'PINK')
  Char.IsInZone($stattreadstamina_ctr, 'DRAG')
  Char.IsInZone($stattreadstamina_ctr, 'CAM')
  Char.IsInZone($stattreadstamina_ctr, 'LOT')
goto_if_false @PIMP_36938
58@ = 2

:PIMP_36938
if or
  Char.IsInZone($stattreadstamina_ctr, 'PIRA')
  Char.IsInZone($stattreadstamina_ctr, 'ROY')
  Char.IsInZone($stattreadstamina_ctr, 'CALI')
  Char.IsInZone($stattreadstamina_ctr, 'HIGH')
goto_if_false @PIMP_37012
58@ = 3

:PIMP_37012
if or
  Char.IsInZone($stattreadstamina_ctr, 'PILG')
  Char.IsInZone($stattreadstamina_ctr, 'STAR')
  Char.IsInZone($stattreadstamina_ctr, 'STRIP')
  Char.IsInZone($stattreadstamina_ctr, 'VISA')
goto_if_false @PIMP_37086
58@ = 4

:PIMP_37086
if or
  Char.IsInZone($stattreadstamina_ctr, 'ISLE')
  Char.IsInZone($stattreadstamina_ctr, 'ROCE')
  Char.IsInZone($stattreadstamina_ctr, 'OVS')
  Char.IsInZone($stattreadstamina_ctr, 'RING')
goto_if_false @PIMP_37160
58@ = 5

:PIMP_37160
if 
  1 > 58@
goto_if_false @PIMP_37185
58@ = 1

:PIMP_37185
if 
  58@ > 5
goto_if_false @PIMP_37210
58@ = 1

:PIMP_37210
return 

:PIMP_37212
$LStickX = Pad.GetControllerMode()
if 
  $LStickX <> 3
goto_if_false @PIMP_37293

:PIMP_37235
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @PIMP_37286
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PIMP_37279
goto @PIMP_37351

:PIMP_37279
goto @PIMP_37235

:PIMP_37286
goto @PIMP_37344

:PIMP_37293
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @PIMP_37344
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PIMP_37337
goto @PIMP_37351

:PIMP_37337
goto @PIMP_37293

:PIMP_37344
goto @PIMP_37351

:PIMP_37351
if 
  49@ == 0
goto_if_false @PIMP_37385
Text.PrintBig('PIMP_40', 5000, TextStyle.Middle)

:PIMP_37385
if 
  49@ == 1
goto_if_false @PIMP_37419
Text.PrintBig('PIMP_41', 5000, TextStyle.Middle)

:PIMP_37419
if 
  49@ == 2
goto_if_false @PIMP_37453
Text.PrintBig('PIMP_42', 5000, TextStyle.Middle)

:PIMP_37453
if 
  49@ == 3
goto_if_false @PIMP_37487
Text.PrintBig('PIMP_43', 5000, TextStyle.Middle)

:PIMP_37487
if 
  49@ == 4
goto_if_false @PIMP_37521
Text.PrintBig('PIMP_44', 5000, TextStyle.Middle)

:PIMP_37521
if 
  49@ == 5
goto_if_false @PIMP_37555
Text.PrintBig('PIMP_45', 5000, TextStyle.Middle)

:PIMP_37555
if 
  49@ == 6
goto_if_false @PIMP_37589
Text.PrintBig('PIMP_46', 5000, TextStyle.Middle)

:PIMP_37589
if 
  49@ == 7
goto_if_false @PIMP_37623
Text.PrintBig('PIMP_47', 5000, TextStyle.Middle)

:PIMP_37623
if 
  49@ == 8
goto_if_false @PIMP_37657
Text.PrintBig('PIMP_48', 5000, TextStyle.Middle)

:PIMP_37657
if 
  49@ == 9
goto_if_false @PIMP_37691
Text.PrintBig('PIMP_49', 5000, TextStyle.Middle)

:PIMP_37691
return 

:PIMP_37693
Text.PrintWithNumberBig('PIMP_50', 1000, 5000, TextStyle.Middle)
Audio.PlayMissionPassedTune(2)
Player.AddScore($statbike_temp, 1000)
Player.ClearWantedLevel($statbike_temp)
if 
  $courierLA_revenue == 0
goto_if_false @PIMP_37764
Stat.RegisterOddjobMissionPassed
Stat.PlayerMadeProgress(1)
Game.ActivatePimpCheat(False)
$courierLA_revenue = 1

:PIMP_37764
return 

:PIMP_37766
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Hud.ClearTimer($player_checkpoint_kickstart)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(22)
Streaming.MarkModelAsNoLongerNeeded(147)
Streaming.MarkModelAsNoLongerNeeded(17)
Streaming.MarkModelAsNoLongerNeeded(36)
Streaming.MarkModelAsNoLongerNeeded(29)
Streaming.MarkModelAsNoLongerNeeded(33)
Streaming.MarkModelAsNoLongerNeeded(34)
Streaming.MarkModelAsNoLongerNeeded(32)
Streaming.MarkModelAsNoLongerNeeded(152)
Streaming.MarkModelAsNoLongerNeeded(75)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(64)
Streaming.MarkModelAsNoLongerNeeded(85)
Streaming.MarkModelAsNoLongerNeeded(245)
Streaming.MarkModelAsNoLongerNeeded(71)
Streaming.MarkModelAsNoLongerNeeded(58)
Streaming.MarkModelAsNoLongerNeeded(50)
Streaming.MarkModelAsNoLongerNeeded(68)
Streaming.MarkModelAsNoLongerNeeded(23)
Streaming.MarkModelAsNoLongerNeeded(72)
Streaming.MarkModelAsNoLongerNeeded(48)
Streaming.MarkModelAsNoLongerNeeded(163)
Streaming.MarkModelAsNoLongerNeeded(19)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @PIMP_37898
Char.SetCantBeDraggedOut($stattreadstamina_ctr, False)

:PIMP_37898
Blip.Remove(88@)
Blip.Remove(89@)
Blip.Remove(90@)
Blip.Remove(522@)
if 
  34@ == 1
goto_if_false @PIMP_37941
Menu.Delete(529@)

:PIMP_37941
Game.SetRelationship(RelationshipType.Dislike, PedType.Gang1, PedType.Player1)
$flag_courier_mission_passed = Clock.GetGameTimer()
$LA_ShootX = 0
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 128---------------
// Originally: Arena Mission: Blood Ring

:BLOOD
script_name 'BLOOD'
gosub @BLOOD_47
if 
  has_deatharrest_been_executed 
goto_if_false @BLOOD_38
gosub @BLOOD_13095

:BLOOD_38
gosub @BLOOD_13200
terminate_this_script 

:BLOOD_47
$weapon_shop1_blip = 1
if 
  $1945 == 0
goto_if_false @BLOOD_74
Stat.RegisterMissionGiven

:BLOOD_74
Text.LoadMissionText('BLOOD')
if 
  $weapon_shop1_blip == 0
goto_if_false @BLOOD_202
90@ = Blip.AddForCoord(158@, 159@, 160@)
87@ = Object.Create(#BB_PICKUP, 170@, 171@, 172@)
84@ = Car.Create(504, 154@, 155@, 156@)
85@ = Car.Create(504, 154@, 155@, 156@)
86@ = Car.Create(504, 154@, 155@, 156@)
95@ = Car.Create(504, 154@, 155@, 156@)

:BLOOD_202
Camera.SetFadingColor(0, 0, 0)
Text.ClearPrints
Text.ClearThisPrintBigNow(TextStyle.Middle)
wait 0
91@ = 0
92@ = 0
if 
  $1945 == 0
goto_if_false @BLOOD_269
$time_bailed_ks = 60
$time_off_bike_ks = 60000

:BLOOD_269
93@ = 0
94@ = 0
95@ = 0
$time_now_ks = 30000
96@ = 0
97@ = 0
98@ = 0
99@ = 0
100@ = 0
101@ = 0
102@ = -1
154@ = -1280.9
155@ = 994.8
156@ = 1037.0
157@ = 90.0
158@ = 0.0
159@ = 0.0
160@ = 0.0
161@ = 0.0
162@ = 0.0
163@ = 0.0
164@ = 0.0
165@ = 0.0
166@ = 0.0
167@ = 0.0
168@ = 0.0
169@ = 0.0
170@ = 0.0
171@ = 0.0
172@ = 0.0
173@ = 0.0
174@ = 0.0
175@ = 0.0
176@ = 0.0
177@ = 0.0
178@ = 0.0
179@ = 0.0
180@ = 0.0
181@ = 0.0
182@ = 0.0
183@ = 0.0
184@ = 0.0
103@ = 0
111@ = 0
104@ = 0
105@ = 0
112@ = 0
113@ = 0
114@ = 0
115@ = 0
116@ = 0
117@ = 0
118@ = 0
119@ = 0
120@ = 0
121@ = 0
122@ = 0
123@ = 0
124@ = 0
125@ = 0
126@ = 0
127@ = 0
106@ = 0.0
set_lvar_int_to_constant 131@ = 36200
set_lvar_int_to_constant 132@ = 36202
set_lvar_int_to_constant 133@ = 36205
set_lvar_int_to_constant 134@ = 36200
set_lvar_int_to_constant 135@ = 36202
set_lvar_int_to_constant 136@ = 36205
set_lvar_int_to_constant 137@ = 36200
set_lvar_int_to_constant 138@ = 36202
set_lvar_int_to_constant 139@ = 36205
set_lvar_int_to_constant 140@ = 36200
set_lvar_int_to_constant 141@ = 36202
set_lvar_int_to_constant 142@ = 36205
set_lvar_int_to_constant 143@ = 36200
set_lvar_int_to_constant 144@ = 36202
set_lvar_int_to_constant 145@ = 36205
set_lvar_int_to_constant 146@ = 36200
set_lvar_int_to_constant 147@ = 36202
set_lvar_int_to_constant 148@ = 36205
set_lvar_int_to_constant 149@ = 36200
set_lvar_int_to_constant 150@ = 36202
set_lvar_int_to_constant 151@ = 36205
set_lvar_int_to_constant 152@ = 36200
set_lvar_int_to_constant 153@ = 36202
107@ = 0
108@ = 0
wait 0
Camera.DoFade(500, Fade.Out)

:BLOOD_1062
if 
  Camera.GetFadingStatus
goto_if_false @BLOOD_1086
wait 0
goto @BLOOD_1062

:BLOOD_1086
Streaming.RequestModel(504)
Streaming.RequestModel(439)
Streaming.RequestModel(353)
Streaming.RequestModel(#BB_PICKUP)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1827)

:BLOOD_1113
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @BLOOD_1139
wait 0
goto @BLOOD_1113

:BLOOD_1139
Streaming.LoadAllModelsNow
Restart.OverrideNext(-2126.3, -440.6, 34.5, 82.7)
Game.ForceAllVehicleLightsOff(True)
CarGenerator.SuppressCarModel(403)
CarGenerator.SuppressCarModel(408)
CarGenerator.SuppressCarModel(409)
CarGenerator.SuppressCarModel(413)
CarGenerator.SuppressCarModel(414)
CarGenerator.SuppressCarModel(418)
CarGenerator.SuppressCarModel(423)
CarGenerator.SuppressCarModel(428)
CarGenerator.SuppressCarModel(431)
CarGenerator.SuppressCarModel(433)
CarGenerator.SuppressCarModel(437)
CarGenerator.SuppressCarModel(440)
CarGenerator.SuppressCarModel(442)
CarGenerator.SuppressCarModel(443)
CarGenerator.SuppressCarModel(444)
CarGenerator.SuppressCarModel(455)
CarGenerator.SuppressCarModel(456)
CarGenerator.SuppressCarModel(458)
CarGenerator.SuppressCarModel(470)
CarGenerator.SuppressCarModel(482)
CarGenerator.SuppressCarModel(483)
CarGenerator.SuppressCarModel(486)
CarGenerator.SuppressCarModel(489)
CarGenerator.SuppressCarModel(498)
CarGenerator.SuppressCarModel(499)
CarGenerator.SuppressCarModel(508)
CarGenerator.SuppressCarModel(514)
CarGenerator.SuppressCarModel(515)
CarGenerator.SuppressCarModel(524)
CarGenerator.SuppressCarModel(525)
CarGenerator.SuppressCarModel(578)
CarGenerator.SuppressCarModel(582)
CarGenerator.SuppressCarModel(588)
Player.SetControl($statbike_temp, False)
185@ = DecisionMakerChar.Copy(65542)
Game.HideAllFrontendBlips(True)
Player.SetFreeHealthCare($statbike_temp, True)
switch_rubbish 0
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
shut_player_up $statbike_temp {_p2} 1
Char.SetCoordinates($stattreadstamina_ctr, -1398.461, 995.641, 1024.462)
Streaming.SetAreaVisible(15)
Char.SetAreaVisible($stattreadstamina_ctr, 15)
World.SetExtraColors(2, False)
Streaming.RequestCollision(154@, 155@)
Streaming.LoadScene(154@, 155@, 156@)
World.ClearArea(-1280.9, 994.8, 1037.0, 300.0, True)
Streaming.LoadSceneInDirection(-1280.8, 994.7, 1036.0, 90.0)
103@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Mp5)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Mp5, 30000)
set_lvar_int_to_constant 108@ = 504
gosub @BLOOD_15527
34@ = Car.Create(504, 154@, 155@, 156@)
Car.SetLoadCollisionFlag(34@, True)
Car.SetAreaVisible(34@, 15)
Car.SetHeading(34@, 157@)
Car.LockDoors(34@, CarLock.LockedPlayerInside)
Char.WarpIntoCar($stattreadstamina_ctr, 34@)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Mp5)
Car.SetStrong(34@, True)
Car.SetUpsidedownNotDamaged(34@, True)
Car.SetCanBurstTires(34@, False)
Car.SetHealth(34@, 1249)
83@ = Char.CreateRandomAsPassenger(34@, 0)
Char.SetAreaVisible(83@, 15)
Char.SetDecisionMaker(83@, 185@)
Char.GiveWeapon(83@, WeaponType.Mp5, 30000)
Char.SetProofs(83@, True, False, False, False, False)

:BLOOD_1662
if 
  16 > 93@
goto_if_false @BLOOD_2121
wait 0
gosub @BLOOD_13324
104@, 105@ = Streaming.GetRandomCarModelInMemory(True)
if 
  104@ >= 0
goto_if_false @BLOOD_1755
set_lvar_int_to_lvar_int 108@ = 104@
gosub @BLOOD_15527
35@(93@,16i) = Car.Create(104@, 154@, 155@, 156@)

:BLOOD_1755
if 
  104@ == -1
goto_if_false @BLOOD_1809
set_lvar_int_to_constant 108@ = 439
gosub @BLOOD_15527
35@(93@,16i) = Car.Create(439, 154@, 155@, 156@)

:BLOOD_1809
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_2107
Car.SetHeading(35@(93@,16i), 157@)
Car.SetLoadCollisionFlag(35@(93@,16i), True)
Car.SetStraightLineDistance(35@(93@,16i), 255)
Car.SetCanBurstTires(35@(93@,16i), False)
51@(93@,16i) = Char.CreateRandomAsDriver(35@(93@,16i))
Char.SetAreaVisible(51@(93@,16i), 15)
Char.SetDecisionMaker(51@(93@,16i), 185@)
Char.SetProofs(51@(93@,16i), True, False, False, False, False)
101@ = Car.GetMaximumNumberOfPassengers(35@(93@,16i))
if 
  101@ > 0
goto_if_false @BLOOD_2026
67@(93@,16i) = Char.CreateRandomAsPassenger(35@(93@,16i), 0)
Char.SetDecisionMaker(67@(93@,16i), 185@)
Char.SetProofs(67@(93@,16i), True, False, False, False, False)
Char.GiveWeapon(67@(93@,16i), WeaponType.Mp5, 30000)

:BLOOD_2026
if 
  Char.IsOnAnyBike(51@(93@,16i))
goto_if_false @BLOOD_2068
Char.SetCanBeKnockedOffBike(51@(93@,16i), True)
Char.SetCanBeKnockedOffBike(67@(93@,16i), True)

:BLOOD_2068
StuckCarCheck.Add(35@(93@,16i), 1.0, 3000)
Car.SetUpsidedownNotDamaged(35@(93@,16i), True)
Car.SetAreaVisible(35@(93@,16i), 15)

:BLOOD_2107
93@ += 1
goto @BLOOD_1662

:BLOOD_2121
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-1273.2, 992.4, 1038.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1307.9, 995.3, 1034.2, SwitchType.JumpCut)
89@ = Checkpoint.Create(CheckpointType.Tube, -1432.6, 1016.1, 1024.1, 0.0, 0.0, 0.0, 6.0)
Camera.SetFadingColor(0, 0, 0)
wait 500
Camera.DoFade(1500, Fade.In)

:BLOOD_2238
if 
  Camera.GetFadingStatus
goto_if_false @BLOOD_2262
wait 0
goto @BLOOD_2238

:BLOOD_2262
skip_cutscene_start_internal @BLOOD_2988
Text.PrintNow('BLOD_10', 5000, 1)
TIMERA = 0

:BLOOD_2292
if 
  5000 > TIMERA
goto_if_false @BLOOD_2322
wait 0
goto @BLOOD_2292

:BLOOD_2322
Camera.SetFixedPosition(-1441.9, 1054.6, 1040.5, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1432.0, 1012.6, 1034.7, SwitchType.JumpCut)
Text.PrintNow('BLOD_01', 5000, 1)
TIMERA = 0

:BLOOD_2396
if 
  5000 > TIMERA
goto_if_false @BLOOD_2426
wait 0
goto @BLOOD_2396

:BLOOD_2426
Camera.SetFixedPosition(-1464.6, 943.6, 1036.1, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1436.1, 923.4, 1040.2, SwitchType.JumpCut)
if 
  $1945 == 0
goto_if_false @BLOOD_2518
Text.PrintNow('BLOD_11', 5000, 1)
goto @BLOOD_2537

:BLOOD_2518
Text.PrintWithNumberNow('BLOD_12', $1944, 5000, 1)

:BLOOD_2537
TIMERA = 0

:BLOOD_2544
if 
  5000 > TIMERA
goto_if_false @BLOOD_2574
wait 0
goto @BLOOD_2544

:BLOOD_2574
Camera.SetFixedPosition(-1492.7, 1029.5, 1038.4, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1539.1, 1032.3, 1038.9, SwitchType.JumpCut)
Text.PrintNow('BLOD_03', 5000, 1)
TIMERA = 0

:BLOOD_2648
if 
  5000 > TIMERA
goto_if_false @BLOOD_2678
wait 0
goto @BLOOD_2648

:BLOOD_2678
Camera.SetFixedPosition(-1314.1, 1040.6, 1038.7, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1373.1, 1047.2, 1034.5, SwitchType.JumpCut)
Text.PrintNow('BLOD_02', 5000, 1)
TIMERA = 0

:BLOOD_2752
if 
  5000 > TIMERA
goto_if_false @BLOOD_2782
wait 0
goto @BLOOD_2752

:BLOOD_2782
87@ = Object.Create(#BB_PICKUP, -1345.2, 978.7, 1024.9)
Object.SetAreaVisible(87@, 15)
Camera.SetFixedPosition(-1342.1, 975.2, 1026.6, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1345.2, 979.7, 1026.4, SwitchType.JumpCut)
Text.PrintNow('SPANNER', 5000, 1)
TIMERA = 0

:BLOOD_2886
if 
  5000 > TIMERA
goto_if_false @BLOOD_2988
wait 0
if 
  Object.DoesExist(87@)
goto_if_false @BLOOD_2981
if 
  358.0 > 106@
goto_if_false @BLOOD_2971
106@ += 3.0
Object.SetHeading(87@, 106@)
goto @BLOOD_2981

:BLOOD_2971
106@ = 0.0

:BLOOD_2981
goto @BLOOD_2886

:BLOOD_2988
skip_cutscene_end 
Camera.DoFade(500, Fade.Out)

:BLOOD_2997
if 
  Camera.GetFadingStatus
goto_if_false @BLOOD_3093
wait 0
if 
  Object.DoesExist(87@)
goto_if_false @BLOOD_3086
if 
  358.0 > 106@
goto_if_false @BLOOD_3076
106@ += 3.0
Object.SetHeading(87@, 106@)
goto @BLOOD_3086

:BLOOD_3076
106@ = 0.0

:BLOOD_3086
goto @BLOOD_2997

:BLOOD_3093
Checkpoint.Delete(89@)
158@ = -1432.6
159@ = 1016.1
160@ = 1024.1
89@ = Checkpoint.Create(CheckpointType.Tube, 158@, 159@, 160@, 0.0, 0.0, 0.0, 6.0)
90@ = Blip.AddForCoord(158@, 159@, 160@)
Object.Delete(87@)
gosub @BLOOD_14433
Text.ClearPrints
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Camera.DoFade(500, Fade.In)

:BLOOD_3207
if 
  Camera.GetFadingStatus
goto_if_false @BLOOD_3231
wait 0
goto @BLOOD_3207

:BLOOD_3231
Text.PrintBig('RACE2', 1100, TextStyle.MiddleSmaller)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1056)
wait 1000
Text.PrintBig('RACE3', 1100, TextStyle.MiddleSmaller)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1056)
wait 1000
Text.PrintBig('RACE4', 1100, TextStyle.MiddleSmaller)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1056)
wait 1000
Text.PrintBig('RACE5', 800, TextStyle.MiddleSmaller)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1164)
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1057)
wait 800
Text.ClearPrints
Player.SetControl($statbike_temp, True)
Hud.DisplayTimer($time_now_ks, TimerDirection.Down)
93@ = 0

:BLOOD_3438
if 
  16 > 93@
goto_if_false @BLOOD_3563
wait 0
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_3549
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_3549
Car.SetForwardSpeed(35@(93@,16i), 10.0)
Car.SetCruiseSpeed(35@(93@,16i), 100.0)
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.GoForward, 5000)

:BLOOD_3549
93@ += 1
goto @BLOOD_3438

:BLOOD_3563
wait 0
Player.ClearWantedLevel($statbike_temp)
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @BLOOD_3594
goto @BLOOD_13113

:BLOOD_3594
if 
  91@ == 0
goto_if_false @BLOOD_12351
if 
  not Car.IsDead(34@)
goto_if_false @BLOOD_12351
if 
  Char.IsInArea2D($stattreadstamina_ctr, -1530.0, 995.0, -1384.0, 923.0, False)
goto_if_false @BLOOD_3803
if 
  97@ == 0
goto_if_false @BLOOD_3796
if 
  not Char.IsDead(52@)
goto_if_false @BLOOD_3705
Char.ClearTasks(52@)

:BLOOD_3705
if 
  not Char.IsDead(53@)
goto_if_false @BLOOD_3726
Char.ClearTasks(53@)

:BLOOD_3726
if 
  not Char.IsDead(67@)
goto_if_false @BLOOD_3747
Char.ClearTasks(67@)

:BLOOD_3747
if 
  not Char.IsDead(68@)
goto_if_false @BLOOD_3768
Char.ClearTasks(68@)

:BLOOD_3768
if 
  not Char.IsDead(69@)
goto_if_false @BLOOD_3789
Char.ClearTasks(69@)

:BLOOD_3789
97@ = 1

:BLOOD_3796
goto @BLOOD_3933

:BLOOD_3803
if 
  97@ == 1
goto_if_false @BLOOD_3933
if 
  not Char.IsDead(52@)
goto_if_false @BLOOD_3842
Char.ClearTasks(52@)

:BLOOD_3842
if 
  not Char.IsDead(53@)
goto_if_false @BLOOD_3863
Char.ClearTasks(53@)

:BLOOD_3863
if 
  not Char.IsDead(67@)
goto_if_false @BLOOD_3884
Char.ClearTasks(67@)

:BLOOD_3884
if 
  not Char.IsDead(68@)
goto_if_false @BLOOD_3905
Char.ClearTasks(68@)

:BLOOD_3905
if 
  not Char.IsDead(69@)
goto_if_false @BLOOD_3926
Char.ClearTasks(69@)

:BLOOD_3926
97@ = 0

:BLOOD_3933
if 
  Char.IsInArea2D($stattreadstamina_ctr, -1530.0, 995.0, -1384.0, 1076.0, False)
goto_if_false @BLOOD_4108
if 
  98@ == 0
goto_if_false @BLOOD_4101
if 
  not Char.IsDead(55@)
goto_if_false @BLOOD_4010
Char.ClearTasks(55@)

:BLOOD_4010
if 
  not Char.IsDead(56@)
goto_if_false @BLOOD_4031
Char.ClearTasks(56@)

:BLOOD_4031
if 
  not Char.IsDead(70@)
goto_if_false @BLOOD_4052
Char.ClearTasks(70@)

:BLOOD_4052
if 
  not Char.IsDead(71@)
goto_if_false @BLOOD_4073
Char.ClearTasks(71@)

:BLOOD_4073
if 
  not Char.IsDead(72@)
goto_if_false @BLOOD_4094
Char.ClearTasks(72@)

:BLOOD_4094
98@ = 1

:BLOOD_4101
goto @BLOOD_4238

:BLOOD_4108
if 
  98@ == 1
goto_if_false @BLOOD_4238
if 
  not Char.IsDead(55@)
goto_if_false @BLOOD_4147
Char.ClearTasks(55@)

:BLOOD_4147
if 
  not Char.IsDead(56@)
goto_if_false @BLOOD_4168
Char.ClearTasks(56@)

:BLOOD_4168
if 
  not Char.IsDead(70@)
goto_if_false @BLOOD_4189
Char.ClearTasks(70@)

:BLOOD_4189
if 
  not Char.IsDead(71@)
goto_if_false @BLOOD_4210
Char.ClearTasks(71@)

:BLOOD_4210
if 
  not Char.IsDead(72@)
goto_if_false @BLOOD_4231
Char.ClearTasks(72@)

:BLOOD_4231
98@ = 0

:BLOOD_4238
if 
  Char.IsInArea2D($stattreadstamina_ctr, -1265.0, 995.0, -1384.0, 923.0, False)
goto_if_false @BLOOD_4413
if 
  99@ == 0
goto_if_false @BLOOD_4406
if 
  not Char.IsDead(58@)
goto_if_false @BLOOD_4315
Char.ClearTasks(58@)

:BLOOD_4315
if 
  not Char.IsDead(59@)
goto_if_false @BLOOD_4336
Char.ClearTasks(59@)

:BLOOD_4336
if 
  not Char.IsDead(73@)
goto_if_false @BLOOD_4357
Char.ClearTasks(73@)

:BLOOD_4357
if 
  not Char.IsDead(74@)
goto_if_false @BLOOD_4378
Char.ClearTasks(74@)

:BLOOD_4378
if 
  not Char.IsDead(75@)
goto_if_false @BLOOD_4399
Char.ClearTasks(75@)

:BLOOD_4399
99@ = 1

:BLOOD_4406
goto @BLOOD_4543

:BLOOD_4413
if 
  99@ == 1
goto_if_false @BLOOD_4543
if 
  not Char.IsDead(58@)
goto_if_false @BLOOD_4452
Char.ClearTasks(58@)

:BLOOD_4452
if 
  not Char.IsDead(59@)
goto_if_false @BLOOD_4473
Char.ClearTasks(59@)

:BLOOD_4473
if 
  not Char.IsDead(73@)
goto_if_false @BLOOD_4494
Char.ClearTasks(73@)

:BLOOD_4494
if 
  not Char.IsDead(74@)
goto_if_false @BLOOD_4515
Char.ClearTasks(74@)

:BLOOD_4515
if 
  not Char.IsDead(75@)
goto_if_false @BLOOD_4536
Char.ClearTasks(75@)

:BLOOD_4536
99@ = 0

:BLOOD_4543
if 
  Char.IsInArea2D($stattreadstamina_ctr, -1265.0, 995.0, -1384.0, 1076.0, False)
goto_if_false @BLOOD_4718
if 
  100@ == 0
goto_if_false @BLOOD_4711
if 
  not Char.IsDead(61@)
goto_if_false @BLOOD_4620
Char.ClearTasks(61@)

:BLOOD_4620
if 
  not Char.IsDead(62@)
goto_if_false @BLOOD_4641
Char.ClearTasks(62@)

:BLOOD_4641
if 
  not Char.IsDead(76@)
goto_if_false @BLOOD_4662
Char.ClearTasks(76@)

:BLOOD_4662
if 
  not Char.IsDead(77@)
goto_if_false @BLOOD_4683
Char.ClearTasks(77@)

:BLOOD_4683
if 
  not Char.IsDead(78@)
goto_if_false @BLOOD_4704
Char.ClearTasks(78@)

:BLOOD_4704
100@ = 1

:BLOOD_4711
goto @BLOOD_4848

:BLOOD_4718
if 
  100@ == 1
goto_if_false @BLOOD_4848
if 
  not Char.IsDead(61@)
goto_if_false @BLOOD_4757
Char.ClearTasks(61@)

:BLOOD_4757
if 
  not Char.IsDead(62@)
goto_if_false @BLOOD_4778
Char.ClearTasks(62@)

:BLOOD_4778
if 
  not Char.IsDead(76@)
goto_if_false @BLOOD_4799
Char.ClearTasks(76@)

:BLOOD_4799
if 
  not Char.IsDead(77@)
goto_if_false @BLOOD_4820
Char.ClearTasks(77@)

:BLOOD_4820
if 
  not Char.IsDead(78@)
goto_if_false @BLOOD_4841
Char.ClearTasks(78@)

:BLOOD_4841
100@ = 0

:BLOOD_4848
if 
  16 > 93@
goto_if_false @BLOOD_11472
if 
  93@ == 0
goto_if_false @BLOOD_5608
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_5608
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_5327
if 
  not Car.IsOnFire(35@(93@,16i))
goto_if_false @BLOOD_5271
if 
  97@ == 0
goto_if_false @BLOOD_5152
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1489)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5152
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5152
173@ = Math.RandomFloatInRange(-1530.0, -1384.0)
174@ = Math.RandomFloatInRange(995.0, 923.0)
175@ = World.GetGroundZFor3DCoord(173@, 174@, 1078.7)
if 
  1034.1 > 175@
goto_if_false @BLOOD_5152
if 
  175@ > 1022.8
goto_if_false @BLOOD_5152
Task.CarDriveToCoord(51@(93@,16i), 35@(93@,16i), 173@, 174@, 175@, 100.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BLOOD_5152
if 
  97@ == 1
goto_if_false @BLOOD_5264
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5264
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5264
Task.CarMission(51@(93@,16i), 35@(93@,16i), 34@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_5264
goto @BLOOD_5327

:BLOOD_5271
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5327
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.HandbrakeStraight, 2000000)

:BLOOD_5327
if 
  not Char.IsDead(67@(93@,16i))
goto_if_false @BLOOD_5608
if 
  97@ == 0
goto_if_false @BLOOD_5517
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5517
if 
  not Car.IsDead(36@)
goto_if_false @BLOOD_5461
Task.DriveBy(67@(93@,16i), -1, 36@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 50)
goto @BLOOD_5517

:BLOOD_5461
if 
  not Car.IsDead(37@)
goto_if_false @BLOOD_5517
Task.DriveBy(67@(93@,16i), -1, 37@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 50)

:BLOOD_5517
if 
  97@ == 1
goto_if_false @BLOOD_5608
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5608
Task.DriveBy(67@(93@,16i), -1, 34@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_5608
if or
  93@ == 1
  93@ == 2
goto_if_false @BLOOD_6214
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_6214
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_5996
if 
  not Car.IsOnFire(35@(93@,16i))
goto_if_false @BLOOD_5940
if 
  97@ == 0
goto_if_false @BLOOD_5821
if 
  not Car.IsDead(35@)
goto_if_false @BLOOD_5821
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5821
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5821
Task.CarMission(51@(93@,16i), 35@(93@,16i), 35@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_5821
if 
  97@ == 1
goto_if_false @BLOOD_5933
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5933
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5933
Task.CarMission(51@(93@,16i), 35@(93@,16i), 34@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_5933
goto @BLOOD_5996

:BLOOD_5940
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_5996
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.HandbrakeStraight, 2000000)

:BLOOD_5996
if 
  not Char.IsDead(67@(93@,16i))
goto_if_false @BLOOD_6214
if 
  97@ == 0
goto_if_false @BLOOD_6123
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_6123
if 
  not Car.IsDead(35@)
goto_if_false @BLOOD_6123
Task.DriveBy(67@(93@,16i), -1, 35@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_6123
if 
  97@ == 1
goto_if_false @BLOOD_6214
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_6214
Task.DriveBy(67@(93@,16i), -1, 34@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_6214
if 
  93@ == 3
goto_if_false @BLOOD_6956
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_6956
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_6675
if 
  not Car.IsOnFire(35@(93@,16i))
goto_if_false @BLOOD_6619
if 
  98@ == 0
goto_if_false @BLOOD_6500
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1489)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_6500
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_6500
176@ = Math.RandomFloatInRange(-1530.0, -1384.0)
177@ = Math.RandomFloatInRange(995.0, 1056.0)
178@ = World.GetGroundZFor3DCoord(176@, 177@, 1078.7)
if 
  1034.1 > 178@
goto_if_false @BLOOD_6500
if 
  178@ > 1022.8
goto_if_false @BLOOD_6500
Task.CarDriveToCoord(51@(93@,16i), 35@(93@,16i), 176@, 177@, 178@, 100.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BLOOD_6500
if 
  98@ == 1
goto_if_false @BLOOD_6612
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_6612
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_6612
Task.CarMission(51@(93@,16i), 35@(93@,16i), 34@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_6612
goto @BLOOD_6675

:BLOOD_6619
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_6675
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.HandbrakeStraight, 2000000)

:BLOOD_6675
if 
  not Char.IsDead(67@(93@,16i))
goto_if_false @BLOOD_6956
if 
  98@ == 0
goto_if_false @BLOOD_6865
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_6865
if 
  not Car.IsDead(39@)
goto_if_false @BLOOD_6809
Task.DriveBy(67@(93@,16i), -1, 39@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 50)
goto @BLOOD_6865

:BLOOD_6809
if 
  not Car.IsDead(40@)
goto_if_false @BLOOD_6865
Task.DriveBy(67@(93@,16i), -1, 40@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 50)

:BLOOD_6865
if 
  98@ == 1
goto_if_false @BLOOD_6956
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_6956
Task.DriveBy(67@(93@,16i), -1, 34@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_6956
if or
  93@ == 4
  93@ == 5
goto_if_false @BLOOD_7562
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_7562
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_7344
if 
  not Car.IsOnFire(35@(93@,16i))
goto_if_false @BLOOD_7288
if 
  98@ == 0
goto_if_false @BLOOD_7169
if 
  not Car.IsDead(38@)
goto_if_false @BLOOD_7169
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_7169
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_7169
Task.CarMission(51@(93@,16i), 35@(93@,16i), 38@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_7169
if 
  98@ == 1
goto_if_false @BLOOD_7281
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_7281
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_7281
Task.CarMission(51@(93@,16i), 35@(93@,16i), 34@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_7281
goto @BLOOD_7344

:BLOOD_7288
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_7344
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.HandbrakeStraight, 2000000)

:BLOOD_7344
if 
  not Char.IsDead(67@(93@,16i))
goto_if_false @BLOOD_7562
if 
  98@ == 0
goto_if_false @BLOOD_7471
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_7471
if 
  not Car.IsDead(38@)
goto_if_false @BLOOD_7471
Task.DriveBy(67@(93@,16i), -1, 38@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_7471
if 
  98@ == 1
goto_if_false @BLOOD_7562
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_7562
Task.DriveBy(67@(93@,16i), -1, 34@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_7562
if 
  93@ == 6
goto_if_false @BLOOD_8304
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_8304
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_8023
if 
  not Car.IsOnFire(35@(93@,16i))
goto_if_false @BLOOD_7967
if 
  99@ == 0
goto_if_false @BLOOD_7848
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1489)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_7848
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_7848
179@ = Math.RandomFloatInRange(-1265.0, -1384.0)
180@ = Math.RandomFloatInRange(995.0, 923.0)
181@ = World.GetGroundZFor3DCoord(179@, 180@, 1078.7)
if 
  1034.1 > 181@
goto_if_false @BLOOD_7848
if 
  181@ > 1022.8
goto_if_false @BLOOD_7848
Task.CarDriveToCoord(51@(93@,16i), 35@(93@,16i), 179@, 180@, 181@, 100.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BLOOD_7848
if 
  99@ == 1
goto_if_false @BLOOD_7960
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_7960
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_7960
Task.CarMission(51@(93@,16i), 35@(93@,16i), 34@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_7960
goto @BLOOD_8023

:BLOOD_7967
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_8023
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.HandbrakeStraight, 2000000)

:BLOOD_8023
if 
  not Char.IsDead(67@(93@,16i))
goto_if_false @BLOOD_8304
if 
  99@ == 0
goto_if_false @BLOOD_8213
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_8213
if 
  not Car.IsDead(42@)
goto_if_false @BLOOD_8157
Task.DriveBy(67@(93@,16i), -1, 42@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 50)
goto @BLOOD_8213

:BLOOD_8157
if 
  not Car.IsDead(43@)
goto_if_false @BLOOD_8213
Task.DriveBy(67@(93@,16i), -1, 43@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 50)

:BLOOD_8213
if 
  99@ == 1
goto_if_false @BLOOD_8304
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_8304
Task.DriveBy(67@(93@,16i), -1, 34@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_8304
if or
  93@ == 7
  93@ == 8
goto_if_false @BLOOD_8910
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_8910
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_8692
if 
  not Car.IsOnFire(35@(93@,16i))
goto_if_false @BLOOD_8636
if 
  99@ == 0
goto_if_false @BLOOD_8517
if 
  not Car.IsDead(41@)
goto_if_false @BLOOD_8517
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_8517
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_8517
Task.CarMission(51@(93@,16i), 35@(93@,16i), 41@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_8517
if 
  99@ == 1
goto_if_false @BLOOD_8629
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_8629
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_8629
Task.CarMission(51@(93@,16i), 35@(93@,16i), 34@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_8629
goto @BLOOD_8692

:BLOOD_8636
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_8692
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.HandbrakeStraight, 2000000)

:BLOOD_8692
if 
  not Char.IsDead(67@(93@,16i))
goto_if_false @BLOOD_8910
if 
  99@ == 0
goto_if_false @BLOOD_8819
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_8819
if 
  not Car.IsDead(41@)
goto_if_false @BLOOD_8819
Task.DriveBy(67@(93@,16i), -1, 41@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_8819
if 
  99@ == 1
goto_if_false @BLOOD_8910
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_8910
Task.DriveBy(67@(93@,16i), -1, 34@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_8910
if 
  93@ == 9
goto_if_false @BLOOD_9652
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_9652
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_9371
if 
  not Car.IsOnFire(35@(93@,16i))
goto_if_false @BLOOD_9315
if 
  100@ == 0
goto_if_false @BLOOD_9196
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1489)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_9196
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_9196
182@ = Math.RandomFloatInRange(-1265.0, -1384.0)
183@ = Math.RandomFloatInRange(995.0, 1056.0)
184@ = World.GetGroundZFor3DCoord(182@, 183@, 1078.7)
if 
  1034.1 > 184@
goto_if_false @BLOOD_9196
if 
  184@ > 1022.8
goto_if_false @BLOOD_9196
Task.CarDriveToCoord(51@(93@,16i), 35@(93@,16i), 182@, 183@, 184@, 100.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BLOOD_9196
if 
  100@ == 1
goto_if_false @BLOOD_9308
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_9308
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_9308
Task.CarMission(51@(93@,16i), 35@(93@,16i), 34@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_9308
goto @BLOOD_9371

:BLOOD_9315
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_9371
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.HandbrakeStraight, 2000000)

:BLOOD_9371
if 
  not Char.IsDead(67@(93@,16i))
goto_if_false @BLOOD_9652
if 
  100@ == 0
goto_if_false @BLOOD_9561
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_9561
if 
  not Car.IsDead(45@)
goto_if_false @BLOOD_9505
Task.DriveBy(67@(93@,16i), -1, 45@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 50)
goto @BLOOD_9561

:BLOOD_9505
if 
  not Car.IsDead(46@)
goto_if_false @BLOOD_9561
Task.DriveBy(67@(93@,16i), -1, 46@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 50)

:BLOOD_9561
if 
  100@ == 1
goto_if_false @BLOOD_9652
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_9652
Task.DriveBy(67@(93@,16i), -1, 34@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_9652
if or
  93@ == 10
  93@ == 11
goto_if_false @BLOOD_10258
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_10258
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_10040
if 
  not Car.IsOnFire(35@(93@,16i))
goto_if_false @BLOOD_9984
if 
  100@ == 0
goto_if_false @BLOOD_9865
if 
  not Car.IsDead(44@)
goto_if_false @BLOOD_9865
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_9865
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_9865
Task.CarMission(51@(93@,16i), 35@(93@,16i), 44@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_9865
if 
  100@ == 1
goto_if_false @BLOOD_9977
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_9977
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_9977
Task.CarMission(51@(93@,16i), 35@(93@,16i), 34@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_9977
goto @BLOOD_10040

:BLOOD_9984
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_10040
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.HandbrakeStraight, 2000000)

:BLOOD_10040
if 
  not Char.IsDead(67@(93@,16i))
goto_if_false @BLOOD_10258
if 
  100@ == 0
goto_if_false @BLOOD_10167
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_10167
if 
  not Car.IsDead(44@)
goto_if_false @BLOOD_10167
Task.DriveBy(67@(93@,16i), -1, 44@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_10167
if 
  100@ == 1
goto_if_false @BLOOD_10258
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_10258
Task.DriveBy(67@(93@,16i), -1, 34@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 25)

:BLOOD_10258
if or
  93@ == 12
  93@ == 13
goto_if_false @BLOOD_10593
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_10593
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_10500
if 
  not Car.IsOnFire(35@(93@,16i))
goto_if_false @BLOOD_10444
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1761)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_10437
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_10437
Task.CarMission(51@(93@,16i), 35@(93@,16i), 34@, CarMission.BlockCarFaraway, 100.0, DrivingMode.PloughThrough)

:BLOOD_10437
goto @BLOOD_10500

:BLOOD_10444
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_10500
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.HandbrakeStraight, 2000000)

:BLOOD_10500
if 
  not Char.IsDead(67@(93@,16i))
goto_if_false @BLOOD_10593
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_10593
Task.DriveBy(67@(93@,16i), -1, 34@, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, False, 40)

:BLOOD_10593
if or
  93@ == 14
  93@ == 15
goto_if_false @BLOOD_11090
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_11090
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_10843
if 
  not Car.IsOnFire(35@(93@,16i))
goto_if_false @BLOOD_10787
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1489)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_10780
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_10780
Task.CarDriveToCoord(51@(93@,16i), 35@(93@,16i), 158@, 159@, 160@, 100.0, DriveMode.Straightline, 0, DrivingMode.PloughThrough)

:BLOOD_10780
goto @BLOOD_10843

:BLOOD_10787
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_10843
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.HandbrakeStraight, 2000000)

:BLOOD_10843
if 
  not Char.IsDead(67@(93@,16i))
goto_if_false @BLOOD_11090
$chickY = Char.GetScriptTaskStatus(67@(93@,16i), 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_11090
set_lvar_int_to_lvar_int 88@ = 35@(93@,16i)
if 
  93@ == 14
goto_if_false @BLOOD_10999
gosub @BLOOD_16758
set_lvar_int_to_lvar_int 84@ = 95@
if 
  84@ <> -1
goto_if_false @BLOOD_10999
Task.DriveBy(67@(93@,16i), -1, 84@, 0.0, 0.0, 0.0, 30.0, DriveByType.Ai, False, 50)

:BLOOD_10999
if 
  93@ == 15
goto_if_false @BLOOD_11090
gosub @BLOOD_16758
set_lvar_int_to_lvar_int 85@ = 95@
if 
  85@ <> -1
goto_if_false @BLOOD_11090
Task.DriveBy(67@(93@,16i), -1, 85@, 0.0, 0.0, 0.0, 30.0, DriveByType.Ai, False, 50)

:BLOOD_11090
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_11199
if 
  not Char.IsDead(83@)
goto_if_false @BLOOD_11199
if or
  Car.HasBeenDamagedByChar(35@(93@,16i), 83@)
  Car.HasBeenDamagedByChar(35@(93@,16i), $stattreadstamina_ctr)
goto_if_false @BLOOD_11179
112@(93@,16i) = 1
goto @BLOOD_11190

:BLOOD_11179
112@(93@,16i) = 0

:BLOOD_11190
Car.ClearLastDamageEntity(35@(93@,16i))

:BLOOD_11199
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_11411
if 
  not Char.IsDead(51@(93@,16i))
goto_if_false @BLOOD_11404
if 
  Car.IsUpsidedown(35@(93@,16i))
goto_if_false @BLOOD_11330
if 
  not Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 35@(93@,16i), 7.0, 7.0, False)
goto_if_false @BLOOD_11330
167@, 168@, 169@ = Car.GetCoordinates(35@(93@,16i))
Car.SetCoordinates(35@(93@,16i), 167@, 168@, 169@)

:BLOOD_11330
if 
  StuckCarCheck.IsCarStuck(35@(93@,16i))
goto_if_false @BLOOD_11404
$chickY = Char.GetScriptTaskStatus(51@(93@,16i), 1735)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_11404
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.Reverse, 3000)

:BLOOD_11404
goto @BLOOD_11458

:BLOOD_11411
if 
  112@(93@,16i) == 1
goto_if_false @BLOOD_11440
111@ += 1

:BLOOD_11440
112@(93@,16i) = 0
gosub @BLOOD_14585

:BLOOD_11458
93@ += 1
goto @BLOOD_11479

:BLOOD_11472
93@ = 0

:BLOOD_11479
if 
  not Car.IsDead(47@)
goto_if_false @BLOOD_11544
if 
  Car.Locate3D(47@, 158@, 159@, 160@, 7.0, 7.0, 7.0, False)
goto_if_false @BLOOD_11544
gosub @BLOOD_14254

:BLOOD_11544
if 
  not Car.IsDead(48@)
goto_if_false @BLOOD_11609
if 
  Car.Locate3D(48@, 158@, 159@, 160@, 7.0, 7.0, 7.0, False)
goto_if_false @BLOOD_11609
gosub @BLOOD_14254

:BLOOD_11609
if 
  not Car.IsDead(49@)
goto_if_false @BLOOD_11674
if 
  Car.Locate3D(49@, 158@, 159@, 160@, 7.0, 7.0, 7.0, False)
goto_if_false @BLOOD_11674
gosub @BLOOD_14254

:BLOOD_11674
if 
  not Car.IsDead(50@)
goto_if_false @BLOOD_11739
if 
  Car.Locate3D(50@, 158@, 159@, 160@, 7.0, 7.0, 7.0, False)
goto_if_false @BLOOD_11739
gosub @BLOOD_14254

:BLOOD_11739
if 
  Object.DoesExist(87@)
goto_if_false @BLOOD_11927
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 87@, 5.0, 5.0, False)
goto_if_false @BLOOD_11864
Object.Delete(87@)
96@ = Car.GetHealth(34@)
if 
  999 > 96@
goto_if_false @BLOOD_11841
96@ += 500
Car.SetHealth(34@, 96@)
goto @BLOOD_11857

:BLOOD_11841
96@ = 1500
Car.SetHealth(34@, 96@)

:BLOOD_11857
goto @BLOOD_11920

:BLOOD_11864
if 
  358.0 > 106@
goto_if_false @BLOOD_11910
106@ += 3.0
Object.SetHeading(87@, 106@)
goto @BLOOD_11920

:BLOOD_11910
106@ = 0.0

:BLOOD_11920
goto @BLOOD_11934

:BLOOD_11927
gosub @BLOOD_14433

:BLOOD_11934
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 158@, 159@, 160@, 7.0, 7.0, 7.0, False)
goto_if_false @BLOOD_12095
if 
  $time_now_ks > 0
goto_if_false @BLOOD_12095
96@ = Car.GetHealth(34@)
if 
  1199 > 96@
goto_if_false @BLOOD_12044
96@ += 300
Car.SetHealth(34@, 96@)
goto @BLOOD_12060

:BLOOD_12044
96@ = 1500
Car.SetHealth(34@, 96@)

:BLOOD_12060
$time_now_ks += 15000
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
gosub @BLOOD_14254

:BLOOD_12095
if 
  Car.IsUpsidedown(34@)
goto_if_false @BLOOD_12171
if 
  Car.IsStopped(34@)
goto_if_false @BLOOD_12171
167@, 168@, 169@ = Car.GetCoordinates(34@)
157@ = Car.GetHeading(34@)
Car.SetCoordinates(34@, 167@, 168@, 169@)
Car.SetHeading(34@, 157@)

:BLOOD_12171
if 
  not Char.IsDead(83@)
goto_if_false @BLOOD_12293
$chickY = Char.GetScriptTaskStatus(83@, 1811)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @BLOOD_12293
set_lvar_int_to_lvar_int 88@ = 34@
gosub @BLOOD_16758
set_lvar_int_to_lvar_int 86@ = 95@
if 
  86@ <> -1
goto_if_false @BLOOD_12293
Task.DriveBy(83@, -1, 86@, 0.0, 0.0, 0.0, 30.0, DriveByType.Ai, False, 100)

:BLOOD_12293
gosub @BLOOD_17486
if 
  is_int_var_greater_than_int_var $time_now_ks > $time_off_bike_ks
goto_if_false @BLOOD_12326
91@ = 1

:BLOOD_12326
if 
  0 >= $time_now_ks
goto_if_false @BLOOD_12351
91@ = 2

:BLOOD_12351
if 
  91@ == 1
goto_if_false @BLOOD_12754
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Audio.PlayMissionPassedTune(1)
93@ = 0

:BLOOD_12391
if 
  16 > 93@
goto_if_false @BLOOD_12458
wait 0
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_12444
Car.FreezePosition(35@(93@,16i), True)

:BLOOD_12444
93@ += 1
goto @BLOOD_12391

:BLOOD_12458
gosub @BLOOD_17032
set_lvar_int_to_var_int 109@ = $1944
109@ *= 60
Stat.IncrementInt(StatId.BloodringTime, 109@)
Stat.IncrementInt(StatId.BloodringKills, 111@)
$1944 += 1
$time_off_bike_ks += 60000
TIMERA = 0

:BLOOD_12520
if 
  5000 > TIMERA
goto_if_false @BLOOD_12550
wait 0
goto @BLOOD_12520

:BLOOD_12550
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:BLOOD_12565
if 
  Camera.GetFadingStatus
goto_if_false @BLOOD_12589
wait 0
goto @BLOOD_12565

:BLOOD_12589
Hud.SwitchWidescreen(False)
Menu.Delete(110@)
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.RequestCollision(-2126.3, -440.6)
Streaming.LoadSceneInDirection(-2119.0, -440.7, 34.5, 82.6)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -2126.3, -440.6, 34.5)
Char.SetHeading($stattreadstamina_ctr, 82.7)
Hud.ClearTimer($time_now_ks)
Blip.Remove(90@)
Checkpoint.Delete(89@)
Game.HideAllFrontendBlips(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.In)

:BLOOD_12716
if 
  Camera.GetFadingStatus
goto_if_false @BLOOD_12740
wait 0
goto @BLOOD_12716

:BLOOD_12740
Player.SetControl($statbike_temp, True)
goto @BLOOD_13113

:BLOOD_12754
if 
  91@ == 2
goto_if_false @BLOOD_13088
Player.SetControl($statbike_temp, False)
93@ = 0

:BLOOD_12786
if 
  16 > 93@
goto_if_false @BLOOD_12853
wait 0
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_12839
Car.FreezePosition(35@(93@,16i), True)

:BLOOD_12839
93@ += 1
goto @BLOOD_12786

:BLOOD_12853
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:BLOOD_12868
if 
  Camera.GetFadingStatus
goto_if_false @BLOOD_12892
wait 0
goto @BLOOD_12868

:BLOOD_12892
Hud.SwitchWidescreen(False)
Text.ClearPrints
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
Text.PrintNow('BLOD_05', 5000, 1)
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Streaming.RequestCollision(-2126.3, -440.6)
Streaming.LoadSceneInDirection(-2119.0, -440.7, 34.5, 82.6)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, -2126.3, -440.6, 34.5)
Char.SetHeading($stattreadstamina_ctr, 82.7)
Hud.ClearTimer($time_now_ks)
Blip.Remove(90@)
Checkpoint.Delete(89@)
Game.HideAllFrontendBlips(False)
Restart.CancelOverride
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(500, Fade.In)

:BLOOD_13050
if 
  Camera.GetFadingStatus
goto_if_false @BLOOD_13074
wait 0
goto @BLOOD_13050

:BLOOD_13074
Player.SetControl($statbike_temp, True)
goto @BLOOD_13095

:BLOOD_13088
goto @BLOOD_3563

:BLOOD_13095
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:BLOOD_13113
Restart.CancelOverride
Player.SetFreeHealthCare($statbike_temp, False)
Text.ClearPrints
Player.ClearWantedLevel($statbike_temp)
if 
  $1945 == 0
goto_if_false @BLOOD_13198
Stat.RegisterOddjobMissionPassed
Stat.PlayerMadeProgress(1)
CarGenerator.Switch($5192, 101)
Audio.PlayMissionPassedTune(2)
Text.PrintWithNumberBig('M_PASS', 10000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 10000)
$1945 = 1

:BLOOD_13198
return 

:BLOOD_13200
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @BLOOD_13218
Camera.RestoreJumpcut

:BLOOD_13218
World.ClearExtraColors(False)
Blip.Remove(90@)
Hud.ClearTimer($time_now_ks)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BLOOD_13255
Char.ShutUpForScriptedSpeech($stattreadstamina_ctr, False)

:BLOOD_13255
Game.ShutAllCharsUp(False)
Text.UseCommands(False)
Streaming.MarkModelAsNoLongerNeeded(504)
Streaming.MarkModelAsNoLongerNeeded(439)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(#BB_PICKUP)
Char.SetAmmo($stattreadstamina_ctr, WeaponType.Mp5, 103@)
Checkpoint.Delete(89@)
CarGenerator.DontSuppressAnyCarModels
Game.ForceAllVehicleLightsOff(False)
Game.HideAllFrontendBlips(False)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

:BLOOD_13324
if 
  93@ == 0
goto_if_false @BLOOD_13382
154@ = -1285.77
155@ = 1014.54
156@ = 1036.5
157@ = 104.4

:BLOOD_13382
if 
  93@ == 1
goto_if_false @BLOOD_13440
154@ = -1299.5
155@ = 1030.74
156@ = 1036.8
157@ = 132.6

:BLOOD_13440
if 
  93@ == 2
goto_if_false @BLOOD_13498
154@ = -1319.3
155@ = 1042.82
156@ = 1037.1
157@ = 135.4

:BLOOD_13498
if 
  93@ == 3
goto_if_false @BLOOD_13556
154@ = -1349.33
155@ = 1054.47
156@ = 1037.3
157@ = 155.4

:BLOOD_13556
if 
  93@ == 4
goto_if_false @BLOOD_13614
154@ = -1384.33
155@ = 1058.55
156@ = 1037.5
157@ = 173.2

:BLOOD_13614
if 
  93@ == 5
goto_if_false @BLOOD_13672
154@ = -1296.7
155@ = 960.2
156@ = 1035.6
157@ = 60.5

:BLOOD_13672
if 
  93@ == 6
goto_if_false @BLOOD_13730
154@ = -1418.77
155@ = 1057.54
156@ = 1037.5
157@ = 180.4

:BLOOD_13730
if 
  93@ == 7
goto_if_false @BLOOD_13788
154@ = -1460.3
155@ = 1050.3
156@ = 1037.5
157@ = 203.9

:BLOOD_13788
if 
  93@ == 8
goto_if_false @BLOOD_13846
154@ = -1499.77
155@ = 1029.54
156@ = 1037.2
157@ = 242.4

:BLOOD_13846
if 
  93@ == 9
goto_if_false @BLOOD_13904
154@ = -1513.77
155@ = 986.54
156@ = 1036.5
157@ = 271.4

:BLOOD_13904
if 
  93@ == 10
goto_if_false @BLOOD_13962
154@ = -1496.77
155@ = 959.54
156@ = 1036.0
157@ = 293.4

:BLOOD_13962
if 
  93@ == 11
goto_if_false @BLOOD_14020
154@ = -1461.84
155@ = 938.32
156@ = 1035.3
157@ = 345.6

:BLOOD_14020
if 
  93@ == 12
goto_if_false @BLOOD_14078
154@ = -1424.36
155@ = 931.29
156@ = 1035.2
157@ = 0.0

:BLOOD_14078
if 
  93@ == 13
goto_if_false @BLOOD_14136
154@ = -1363.77
155@ = 932.44
156@ = 1035.3
157@ = 17.85

:BLOOD_14136
if 
  93@ == 14
goto_if_false @BLOOD_14194
154@ = -1332.77
155@ = 940.3
156@ = 1037.0
157@ = 39.98

:BLOOD_14194
if 
  93@ == 15
goto_if_false @BLOOD_14252
154@ = -1443.29
155@ = 933.86
156@ = 1035.3
157@ = 351.4

:BLOOD_14252
return 

:BLOOD_14254
158@ = Math.RandomFloatInRange(-1290.0, -1508.0)
159@ = Math.RandomFloatInRange(939.0, 1052.0)
160@ = World.GetGroundZFor3DCoord(158@, 159@, 1056.7)
if 
  160@ > 1034.1
goto_if_false @BLOOD_14328
goto @BLOOD_14254

:BLOOD_14328
if 
  1022.8 > 160@
goto_if_false @BLOOD_14356
goto @BLOOD_14254

:BLOOD_14356
Blip.Remove(90@)
90@ = Blip.AddForCoord(158@, 159@, 160@)
if 
  not Char.IsDead(65@)
goto_if_false @BLOOD_14396
Char.ClearTasks(65@)

:BLOOD_14396
if 
  not Char.IsDead(66@)
goto_if_false @BLOOD_14417
Char.ClearTasks(66@)

:BLOOD_14417
Checkpoint.SetCoords(89@, 158@, 159@, 160@)
return 

:BLOOD_14433
170@ = Math.RandomFloatInRange(-1290.0, -1508.0)
171@ = Math.RandomFloatInRange(939.0, 1052.0)
172@ = World.GetGroundZFor3DCoord(170@, 171@, 1056.7)
if 
  172@ > 1034.1
goto_if_false @BLOOD_14507
goto @BLOOD_14433

:BLOOD_14507
if 
  1022.8 > 172@
goto_if_false @BLOOD_14535
goto @BLOOD_14433

:BLOOD_14535
172@ += 0.5
87@ = Object.Create(#BB_PICKUP, 170@, 171@, 172@)
Object.SetAreaVisible(87@, 15)
Object.SetCollision(87@, False)
Object.SetDynamic(87@, False)
return 

:BLOOD_14585
gosub @BLOOD_15056
if 
  102@ <> -1
goto_if_false @BLOOD_15054
StuckCarCheck.Remove(35@(93@,16i))
Car.MarkAsNoLongerNeeded(35@(93@,16i))
Char.MarkAsNoLongerNeeded(51@(93@,16i))
Char.MarkAsNoLongerNeeded(67@(93@,16i))
104@, 105@ = Streaming.GetRandomCarModelInMemory(True)
if 
  104@ >= 0
goto_if_false @BLOOD_14722
set_lvar_int_to_lvar_int 108@ = 104@
gosub @BLOOD_15527
35@(93@,16i) = Car.Create(104@, 154@, 155@, 156@)
Car.SetHeading(35@(93@,16i), 157@)

:BLOOD_14722
if 
  not Car.IsDead(35@(93@,16i))
goto_if_false @BLOOD_15054
Car.SetLoadCollisionFlag(35@(93@,16i), True)
Car.SetStraightLineDistance(35@(93@,16i), 255)
Car.SetCanBurstTires(35@(93@,16i), False)
51@(93@,16i) = Char.CreateRandomAsDriver(35@(93@,16i))
Char.SetAreaVisible(51@(93@,16i), 15)
Char.SetDecisionMaker(51@(93@,16i), 185@)
Char.SetProofs(51@(93@,16i), True, False, False, False, False)
Char.SetLoadCollisionFlag(51@(93@,16i), True)
101@ = Car.GetMaximumNumberOfPassengers(35@(93@,16i))
if 
  101@ > 0
goto_if_false @BLOOD_14938
67@(93@,16i) = Char.CreateRandomAsPassenger(35@(93@,16i), 0)
Char.SetDecisionMaker(67@(93@,16i), 185@)
Char.SetProofs(67@(93@,16i), True, False, False, False, False)
Char.GiveWeapon(67@(93@,16i), WeaponType.Mp5, 30000)

:BLOOD_14938
if 
  Char.IsOnAnyBike(51@(93@,16i))
goto_if_false @BLOOD_14980
Char.SetCanBeKnockedOffBike(51@(93@,16i), True)
Char.SetCanBeKnockedOffBike(67@(93@,16i), True)

:BLOOD_14980
StuckCarCheck.Add(35@(93@,16i), 1.0, 3000)
Car.SetUpsidedownNotDamaged(35@(93@,16i), True)
Car.SetAreaVisible(35@(93@,16i), 15)
Car.SetForwardSpeed(35@(93@,16i), 25.0)
Task.CarTempAction(51@(93@,16i), 35@(93@,16i), TempAction.GoForward, 3000)

:BLOOD_15054
return 

:BLOOD_15056
102@ = Math.RandomIntInRange(1, 4)
if 
  102@ == 1
goto_if_false @BLOOD_15180
if 
  not World.IsPointObscuredByAMissionEntity(-1461.84, 938.32, 1035.0, 5.0, 5.0, 5.0)
goto_if_false @BLOOD_15173
154@ = -1461.84
155@ = 938.32
156@ = 1035.0
157@ = 345.6
goto @BLOOD_15180

:BLOOD_15173
102@ = 2

:BLOOD_15180
if 
  102@ == 2
goto_if_false @BLOOD_15295
if 
  not World.IsPointObscuredByAMissionEntity(-1424.36, 933.86, 1035.0, 5.0, 5.0, 5.0)
goto_if_false @BLOOD_15288
154@ = -1424.36
155@ = 933.86
156@ = 1035.0
157@ = 0.0
goto @BLOOD_15295

:BLOOD_15288
102@ = 3

:BLOOD_15295
if 
  102@ == 3
goto_if_false @BLOOD_15410
if 
  not World.IsPointObscuredByAMissionEntity(-1443.29, 931.29, 1035.0, 5.0, 5.0, 5.0)
goto_if_false @BLOOD_15403
154@ = -1443.29
155@ = 931.29
156@ = 1035.0
157@ = 351.4
goto @BLOOD_15410

:BLOOD_15403
102@ = 1

:BLOOD_15410
if 
  102@ == 1
goto_if_false @BLOOD_15525
if 
  not World.IsPointObscuredByAMissionEntity(-1461.84, 938.32, 1035.0, 5.0, 5.0, 5.0)
goto_if_false @BLOOD_15518
154@ = -1461.84
155@ = 938.32
156@ = 1035.0
157@ = 345.6
goto @BLOOD_15525

:BLOOD_15518
102@ = -1

:BLOOD_15525
return 

:BLOOD_15527
107@ = Math.RandomIntInRange(1, 37)
if 
  107@ == 1
goto_if_false @BLOOD_15569
Car.CustomPlateForNextCar(108@, "GOT_M00_")

:BLOOD_15569
if 
  107@ == 2
goto_if_false @BLOOD_15602
Car.CustomPlateForNextCar(108@, "M00TV_4U")

:BLOOD_15602
if 
  107@ == 3
goto_if_false @BLOOD_15635
Car.CustomPlateForNextCar(108@, "MATHEW_2")

:BLOOD_15635
if 
  107@ == 4
goto_if_false @BLOOD_15668
Car.CustomPlateForNextCar(108@, "D4_DEW0R")

:BLOOD_15668
if 
  107@ == 5
goto_if_false @BLOOD_15701
Car.CustomPlateForNextCar(108@, "D0DE_777")

:BLOOD_15701
if 
  107@ == 6
goto_if_false @BLOOD_15734
Car.CustomPlateForNextCar(108@, "DAM0_666")

:BLOOD_15734
if 
  107@ == 7
goto_if_false @BLOOD_15767
Car.CustomPlateForNextCar(108@, "C0NEY_88")

:BLOOD_15767
if 
  107@ == 8
goto_if_false @BLOOD_15800
Car.CustomPlateForNextCar(108@, "PRE4CHER")

:BLOOD_15800
if 
  107@ == 9
goto_if_false @BLOOD_15833
Car.CustomPlateForNextCar(108@, "DBP_4NDY")

:BLOOD_15833
if 
  107@ == 10
goto_if_false @BLOOD_15866
Car.CustomPlateForNextCar(108@, "EV1L_SLY")

:BLOOD_15866
if 
  107@ == 11
goto_if_false @BLOOD_15899
Car.CustomPlateForNextCar(108@, "N1_R4V3N")

:BLOOD_15899
if 
  107@ == 12
goto_if_false @BLOOD_15932
Car.CustomPlateForNextCar(108@, "D1VX_Z00")

:BLOOD_15932
if 
  107@ == 13
goto_if_false @BLOOD_15964
Car.CustomPlateForNextCar(108@, "MR_B3NN")

:BLOOD_15964
if 
  107@ == 14
goto_if_false @BLOOD_15997
Car.CustomPlateForNextCar(108@, "R3D_R4SP")

:BLOOD_15997
if 
  107@ == 15
goto_if_false @BLOOD_16030
Car.CustomPlateForNextCar(108@, "LA_B0MBA")

:BLOOD_16030
if 
  107@ == 16
goto_if_false @BLOOD_16063
Car.CustomPlateForNextCar(108@, "L3337_0G")

:BLOOD_16063
if 
  107@ == 17
goto_if_false @BLOOD_16096
Car.CustomPlateForNextCar(108@, "BUDD4H_X")

:BLOOD_16096
if 
  107@ == 18
goto_if_false @BLOOD_16129
Car.CustomPlateForNextCar(108@, "T3H_BUCK")

:BLOOD_16129
if 
  107@ == 19
goto_if_false @BLOOD_16162
Car.CustomPlateForNextCar(108@, "CHUNKY_1")

:BLOOD_16162
if 
  107@ == 20
goto_if_false @BLOOD_16195
Car.CustomPlateForNextCar(108@, "EV1L_BNZ")

:BLOOD_16195
if 
  107@ == 21
goto_if_false @BLOOD_16228
Car.CustomPlateForNextCar(108@, "S4ND_M4N")

:BLOOD_16228
if 
  107@ == 22
goto_if_false @BLOOD_16261
Car.CustomPlateForNextCar(108@, "RKK_DBP1")

:BLOOD_16261
if 
  107@ == 23
goto_if_false @BLOOD_16294
Car.CustomPlateForNextCar(108@, "RE1_K0KU")

:BLOOD_16294
if 
  107@ == 24
goto_if_false @BLOOD_16327
Car.CustomPlateForNextCar(108@, "S3XY_JUD")

:BLOOD_16327
if 
  107@ == 25
goto_if_false @BLOOD_16360
Car.CustomPlateForNextCar(108@, "SUNRA_93")

:BLOOD_16360
if 
  107@ == 26
goto_if_false @BLOOD_16393
Car.CustomPlateForNextCar(108@, "UG_FUX69")

:BLOOD_16393
if 
  107@ == 27
goto_if_false @BLOOD_16426
Car.CustomPlateForNextCar(108@, "LI0N_CUM")

:BLOOD_16426
if 
  107@ == 28
goto_if_false @BLOOD_16459
Car.CustomPlateForNextCar(108@, "RKK_PWND")

:BLOOD_16459
if 
  107@ == 29
goto_if_false @BLOOD_16492
Car.CustomPlateForNextCar(108@, "HAZE_B0B")

:BLOOD_16492
if 
  107@ == 30
goto_if_false @BLOOD_16525
Car.CustomPlateForNextCar(108@, "T3H_FLUF")

:BLOOD_16525
if 
  107@ == 31
goto_if_false @BLOOD_16558
Car.CustomPlateForNextCar(108@, "BM_4NDY_")

:BLOOD_16558
if 
  107@ == 32
goto_if_false @BLOOD_16591
Car.CustomPlateForNextCar(108@, "BM_D34N_")

:BLOOD_16591
if 
  107@ == 33
goto_if_false @BLOOD_16624
Car.CustomPlateForNextCar(108@, "BM_L4C3Y")

:BLOOD_16624
if 
  107@ == 34
goto_if_false @BLOOD_16657
Car.CustomPlateForNextCar(108@, "BM_D3V__")

:BLOOD_16657
if 
  107@ == 35
goto_if_false @BLOOD_16690
Car.CustomPlateForNextCar(108@, "NU_SK00L")

:BLOOD_16690
if 
  107@ == 36
goto_if_false @BLOOD_16723
Car.CustomPlateForNextCar(108@, "G4L_AVET")

:BLOOD_16723
if 
  107@ == 37
goto_if_false @BLOOD_16756
Car.CustomPlateForNextCar(108@, "M0J0_J0J")

:BLOOD_16756
return 

:BLOOD_16758
161@, 162@, $in_carX = Car.GetCoordinates(88@)
94@ = 0
165@ = 99999.0
95@ = -1

:BLOOD_16796
if 
  16 > 94@
goto_if_false @BLOOD_16945
if 
  not is_int_lvar_equal_to_int_lvar 88@ == 35@(94@,16i)
goto_if_false @BLOOD_16931
if 
  not Car.IsDead(35@(94@,16i))
goto_if_false @BLOOD_16931
163@, 164@, $in_carX = Car.GetCoordinates(35@(94@,16i))
166@ = Math.GetDistanceBetweenCoords2D(161@, 162@, 163@, 164@)
if 
  is_float_lvar_greater_than_float_lvar 165@ > 166@
goto_if_false @BLOOD_16931
set_lvar_float_to_lvar_float 165@ = 166@
set_lvar_int_to_lvar_int 95@ = 35@(94@,16i)

:BLOOD_16931
94@ += 1
goto @BLOOD_16796

:BLOOD_16945
if 
  not is_int_lvar_equal_to_int_lvar 88@ == 34@
goto_if_false @BLOOD_17030
163@, 164@, $in_carX = Car.GetCoordinates(34@)
166@ = Math.GetDistanceBetweenCoords2D(161@, 162@, 163@, 164@)
if 
  is_float_lvar_greater_than_float_lvar 165@ > 166@
goto_if_false @BLOOD_17030
set_lvar_float_to_lvar_float 165@ = 166@
set_lvar_int_to_lvar_int 95@ = 34@

:BLOOD_17030
return 

:BLOOD_17032
if 
  not is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @BLOOD_17094
110@ = Menu.Create('BLOD_06', 190.0, 141.0, 120.0, 2, False, True, 1)
goto @BLOOD_17131

:BLOOD_17094
110@ = Menu.Create('BLOD_06', 190.0, 141.0, 150.0, 2, False, True, 1)

:BLOOD_17131
Menu.SetColumn(110@, 0, 'DUMMY', 'BLOD_07', 'BLOD_08', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumn(110@, 1, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber(110@, 1, 0, 'BLOD_09', $1944)
Menu.SetItemWithNumber(110@, 1, 1, 'BLOD_09', 111@)
if 
  not is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @BLOOD_17465
Menu.SetColumnWidth(110@, 0, 200)
Menu.SetColumnWidth(110@, 1, 40)
goto @BLOOD_17484

:BLOOD_17465
Menu.SetColumnWidth(110@, 0, 260)
Menu.SetColumnWidth(110@, 1, 40)

:BLOOD_17484
return 

:BLOOD_17486
if 
  129@ == 0
goto_if_false @BLOOD_17549
128@ = Math.RandomIntInRange(8000, 16000)
130@ = Math.RandomIntInRange(1, 22)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 131@(130@,23i))
TIMERB = 0
129@ = 1

:BLOOD_17549
if 
  129@ == 1
goto_if_false @BLOOD_17589
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @BLOOD_17589
129@ = 2

:BLOOD_17589
if 
  129@ == 2
goto_if_false @BLOOD_17637
if 
  is_int_lvar_greater_than_int_lvar TIMERB > 128@
goto_if_false @BLOOD_17637
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
129@ = 3

:BLOOD_17637
if 
  129@ == 3
goto_if_false @BLOOD_17677
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @BLOOD_17677
129@ = 0

:BLOOD_17677
return 

//-------------Mission 129---------------
// Originally: Arena Mission: Kickstart

:KICKSTA
script_name 'KICKSTA'
gosub @KICKSTA_54
if 
  has_deatharrest_been_executed 
goto_if_false @KICKSTA_38
gosub @KICKSTA_7448

:KICKSTA_38
gosub @KICKSTA_7590
terminate_this_script 
49@ = 0

:KICKSTA_54
Text.ClearThisPrintBigNow(TextStyle.Middle)
$weapon_shop1_blip = 1
48@ = 0
249@ = 1.5
253@ = 0
254@ = 0
$random_number_mtbike = 0
257@ = 0
if 
  $f1_burnlapright_best_score == 0
goto_if_false @KICKSTA_130
Stat.RegisterMissionGiven

:KICKSTA_130
$time_left_to_find_bike_ks = 0
$player_taken_too_long_kickstart = 240000
$race_timer_mins_kickstart = 30000
50@ = -1376.437
83@ = 1562.29
116@ = 1059.0
182@ = 0
215@ = 0
51@ = -1354.842
84@ = 1585.201
117@ = 1057.885
183@ = 0
216@ = 0
52@ = -1408.025
85@ = 1568.736
118@ = 1055.838
184@ = 0
217@ = 0
53@ = -1451.728
86@ = 1571.065
119@ = 1059.0
185@ = 0
218@ = 1
54@ = -1487.554
87@ = 1564.278
120@ = 1056.457
186@ = 0
219@ = 1
55@ = -1466.286
88@ = 1595.355
121@ = 1057.325
187@ = 0
220@ = 2
56@ = -1387.597
89@ = 1572.125
122@ = 1053.929
188@ = 0
221@ = 0
57@ = -1362.579
90@ = 1614.624
123@ = 1055.33
189@ = 0
222@ = 1
58@ = -1359.51
91@ = 1638.219
124@ = 1056.035
190@ = 0
223@ = 2
59@ = -1371.351
92@ = 1623.274
125@ = 1054.659
191@ = 0
224@ = 1
60@ = -1369.52
93@ = 1634.025
126@ = 1055.772
192@ = 0
225@ = 2
61@ = -1384.616
94@ = 1603.547
127@ = 1053.595
193@ = 0
226@ = 0
62@ = -1398.996
95@ = 1603.275
128@ = 1055.156
194@ = 0
227@ = 0
63@ = -1403.911
96@ = 1645.158
129@ = 1071.462
195@ = 0
228@ = 1
64@ = -1443.392
97@ = 1648.548
130@ = 1054.287
196@ = 0
229@ = 0
65@ = -1457.003
98@ = 1648.714
131@ = 1054.937
197@ = 0
230@ = 0
66@ = -1486.931
99@ = 1630.226
132@ = 1056.626
198@ = 0
231@ = 0
67@ = -1482.813
100@ = 1642.205
133@ = 1060.704
199@ = 0
232@ = 2
68@ = -1484.813
101@ = 1597.116
134@ = 1061.382
200@ = 0
233@ = 1
69@ = -1431.399
102@ = 1598.063
135@ = 1054.752
201@ = 0
234@ = 0
70@ = -1420.682
103@ = 1598.275
136@ = 1054.956
202@ = 0
235@ = 0
71@ = -1408.107
104@ = 1585.364
137@ = 1055.691
203@ = 0
236@ = 0
72@ = -1408.217
105@ = 1593.302
138@ = 1055.617
204@ = 0
237@ = 0
73@ = -1462.244
106@ = 1622.424
139@ = 1054.313
205@ = 0
238@ = 1
74@ = -1461.74
107@ = 1635.753
140@ = 1054.007
206@ = 0
239@ = 1
75@ = -1453.893
108@ = 1636.028
141@ = 1056.18
207@ = 0
240@ = 1
76@ = -1454.055
109@ = 1628.601
142@ = 1054.298
208@ = 0
241@ = 2
77@ = -1454.067
110@ = 1617.637
143@ = 1055.999
209@ = 0
242@ = 2
78@ = -1450.026
111@ = 1620.467
144@ = 1056.421
210@ = 0
243@ = 2
79@ = -1407.732
112@ = 1617.416
145@ = 1054.797
211@ = 0
244@ = 1
80@ = -1414.159
113@ = 1607.16
146@ = 1054.843
212@ = 0
245@ = 1
81@ = -1388.309
114@ = 1620.99
147@ = 1054.951
213@ = 0
246@ = 2
82@ = -1431.09
115@ = 1580.832
148@ = 1055.759
214@ = 0
247@ = 1
$number_of_checkpoints_kickstart = 0
$bcou_bikeostimer = 0
$score_kickstart = 0
35@ = 0
$bcou_timelimit = 0
$bags_on_bike = 33
37@ = 0.0
38@ = 0.0
39@ = 0.0
40@ = 0.0
41@ = 0.0
42@ = 0.0
43@ = 0
45@ = 0
46@ = 0
47@ = 0
255@ = 0
wait 0
Text.LoadMissionText('KICKSTT')
Player.SetControl($statbike_temp, False)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:KICKSTA_1781
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_1805
wait 0
goto @KICKSTA_1781

:KICKSTA_1805
Restart.SetRespawnPointForDurationOfMission(1579.57, 1769.011, 9.828)
Game.SetIsInStadium(True)
Streaming.SetAreaVisible(14)
Streaming.RequestCollision(-1473.187, 1565.173)
Char.SetCoordinates($stattreadstamina_ctr, -1473.187, 1565.173, 1051.589)
Char.SetAreaVisible($stattreadstamina_ctr, 14)
Hud.DisplayRadar(True)
Char.SetHeading($stattreadstamina_ctr, 266.488)
Streaming.LoadScene(-1473.187, 1565.173, 1051.789)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
World.SetExtraColors(2, False)
Streaming.RequestModel(468)

:KICKSTA_1915
if 
  not Streaming.HasModelLoaded(468)
goto_if_false @KICKSTA_1942
wait 0
goto @KICKSTA_1915

:KICKSTA_1942
34@ = Car.Create(468, -1472.38, 1563.576, 1051.417)
Car.SetAreaVisible(34@, 14)
Car.SetHeading(34@, 266.488)
Car.SetProofs(34@, True, True, True, True, True)
36@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(36@, True)
Car.SetStrong(34@, True)
44@ = Sphere.Create(-1464.32, 1556.69, 1051.75, 3.0)
256@ = 0

:KICKSTA_2051
if 
  33 > 256@
goto_if_false @KICKSTA_2300
if 
  215@(256@,33i) == 0
goto_if_false @KICKSTA_2113
250@ = 0
251@ = 255
252@ = 0

:KICKSTA_2113
if 
  215@(256@,33i) == 1
goto_if_false @KICKSTA_2158
250@ = 255
251@ = 150
252@ = 0

:KICKSTA_2158
if 
  215@(256@,33i) == 2
goto_if_false @KICKSTA_2202
250@ = 255
251@ = 0
252@ = 0

:KICKSTA_2202
Fx.DrawCorona(50@(256@,33f), 50@(256@,33f), 50@(256@,33f), 249@, CoronaType.Star, FlareType.None, 250@, 251@, 252@)
149@(256@,33i) = Blip.AddForCoordOld(50@(256@,33f), 50@(256@,33f), 50@(256@,33f), BlipColor.Red, BlipDisplay.BlipOnly)
Blip.ChangeScale(149@(256@,33i), 1)
256@ += 1
goto @KICKSTA_2051

:KICKSTA_2300
wait 1000
Hud.SwitchWidescreen(True)
Game.SetPoliceIgnorePlayer($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Player.SetControl($statbike_temp, False)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 36205)

:KICKSTA_2343
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @KICKSTA_2369
wait 0
goto @KICKSTA_2343

:KICKSTA_2369
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1500, Fade.In)
Camera.SetFixedPosition(-1461.084, 1558.448, 1054.46, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1460.135, 1558.761, 1054.429, SwitchType.JumpCut)
Camera.ResetNewScriptables
Camera.PersistTrack(True)
Camera.PersistPos(True)
Camera.SetVectorMove(-1461.084, 1558.448, 1054.46, -1474.255, 1561.567, 1052.553, 6000, True)
Camera.SetVectorTrack(-1460.135, 1558.761, 1054.429, -1473.741, 1562.424, 1052.533, 6000, True)
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)

:KICKSTA_2523
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_2766
wait 0
if 
  Car.IsDead(34@)
goto_if_false @KICKSTA_2744
Player.SetControl($statbike_temp, False)
Text.PrintNow('KICK1_7', 5000, 1)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_2594
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_2618
wait 0
goto @KICKSTA_2594

:KICKSTA_2618
Streaming.SetAreaVisible(0)
Streaming.LoadScene(1105.21, 1604.649, 12.51)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_2662
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_2662
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_2705
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_2725

:KICKSTA_2705
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_2725
wait 1500
goto @KICKSTA_7448
goto @KICKSTA_2752

:KICKSTA_2744
Car.SetHealth(34@, 1000)

:KICKSTA_2752
gosub @KICKSTA_7904
goto @KICKSTA_2523

:KICKSTA_2766
Text.PrintNow('KICK_10', 10000, 1)
TIMERA = 0
skip_cutscene_start_internal @KICKSTA_3415

:KICKSTA_2796
if 
  7000 > TIMERA
goto_if_false @KICKSTA_3045
wait 0
if 
  Car.IsDead(34@)
goto_if_false @KICKSTA_3023
Player.SetControl($statbike_temp, False)
Text.PrintNow('KICK1_7', 5000, 1)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_2873
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_2897
wait 0
goto @KICKSTA_2873

:KICKSTA_2897
Streaming.LoadScene(1105.21, 1604.649, 12.51)
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_2941
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_2941
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_2984
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_3004

:KICKSTA_2984
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_3004
wait 1500
goto @KICKSTA_7448
goto @KICKSTA_3031

:KICKSTA_3023
Car.SetHealth(34@, 1000)

:KICKSTA_3031
gosub @KICKSTA_7904
goto @KICKSTA_2796

:KICKSTA_3045
Text.ClearThisPrint('KICK_10')
Camera.ResetNewScriptables
Camera.SetFixedPosition(-1474.91, 1564.625, 1052.952, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1473.948, 1564.367, 1053.041, SwitchType.JumpCut)
Text.PrintNow('KICK_11', 10000, 1)
Task.LookAtCoord($stattreadstamina_ctr, -1464.32, 1556.69, 1051.75, 6000)
TIMERA = 0

:KICKSTA_3155
if 
  7000 > TIMERA
goto_if_false @KICKSTA_3404
wait 0
if 
  Car.IsDead(34@)
goto_if_false @KICKSTA_3382
Player.SetControl($statbike_temp, False)
Text.PrintNow('KICK1_7', 5000, 1)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_3232
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_3256
wait 0
goto @KICKSTA_3232

:KICKSTA_3256
Streaming.LoadScene(1105.21, 1604.649, 12.51)
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_3300
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_3300
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_3343
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_3363

:KICKSTA_3343
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_3363
wait 1500
goto @KICKSTA_7448
goto @KICKSTA_3390

:KICKSTA_3382
Car.SetHealth(34@, 1000)

:KICKSTA_3390
gosub @KICKSTA_7904
goto @KICKSTA_3155

:KICKSTA_3404
Text.ClearThisPrint('KICK_11')

:KICKSTA_3415
skip_cutscene_end 
if 
  Car.IsDead(34@)
goto_if_false @KICKSTA_3621
Player.SetControl($statbike_temp, False)
Text.PrintNow('KICK1_7', 5000, 1)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_3471
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_3495
wait 0
goto @KICKSTA_3471

:KICKSTA_3495
Streaming.LoadScene(1105.21, 1604.649, 12.51)
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_3539
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_3539
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_3582
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_3602

:KICKSTA_3582
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_3602
wait 1500
goto @KICKSTA_7448
goto @KICKSTA_3629

:KICKSTA_3621
Car.SetHealth(34@, 1000)

:KICKSTA_3629
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Audio.SetRadioChannel(RadioChannel.UserTracks)
Game.SetPoliceIgnorePlayer($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.ResetNewScriptables
Hud.DisplayRadar(False)
Text.PrintNow('KICK1_8', 5000, 1)

:KICKSTA_3688
if 
  not Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @KICKSTA_4392
wait 0
if 
  Car.IsDead(34@)
goto_if_false @KICKSTA_3915
Player.SetControl($statbike_temp, False)
Text.PrintNow('KICK1_7', 5000, 1)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_3765
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_3789
wait 0
goto @KICKSTA_3765

:KICKSTA_3789
Streaming.SetAreaVisible(0)
Streaming.LoadScene(1105.21, 1604.649, 12.51)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_3833
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_3833
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_3876
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_3896

:KICKSTA_3876
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_3896
wait 1500
goto @KICKSTA_7448
goto @KICKSTA_3923

:KICKSTA_3915
Car.SetHealth(34@, 1000)

:KICKSTA_3923
if or
  $player_taken_too_long_kickstart >= 3600000
  $bcou_timelimit == 1
goto_if_false @KICKSTA_4137
Player.SetControl($statbike_temp, False)
Text.PrintNow('KICK_13', 5000, 1)
Camera.SetFadingColor(0, 0, 0)
wait 1500
Camera.DoFade(1000, Fade.Out)

:KICKSTA_3994
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_4018
wait 0
goto @KICKSTA_3994

:KICKSTA_4018
Streaming.SetAreaVisible(0)
Streaming.LoadScene(1105.21, 1604.649, 12.51)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_4062
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_4062
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_4105
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_4125

:KICKSTA_4105
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_4125
wait 1500
goto @KICKSTA_7448

:KICKSTA_4137
if or
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1464.32, 1556.69, 1051.75, 3.0, 3.0, 3.0, False)
  43@ == 1
goto_if_false @KICKSTA_4378
Player.SetControl($statbike_temp, False)
Text.PrintNow('KICK_12', 5000, 1)
Sphere.Remove(44@)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_4235
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_4259
wait 0
goto @KICKSTA_4235

:KICKSTA_4259
Streaming.LoadScene(1105.21, 1604.649, 12.51)
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_4303
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_4303
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_4346
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_4366

:KICKSTA_4346
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_4366
wait 1500
goto @KICKSTA_7448

:KICKSTA_4378
gosub @KICKSTA_7904
goto @KICKSTA_3688

:KICKSTA_4392
Hud.SwitchWidescreen(True)
Player.SetControl($statbike_temp, False)
Camera.SetBehindPlayer
Text.ClearThisPrint('KICK1_8')
257@ = 0
TIMERA = 0
TIMERB = 0

:KICKSTA_4437
if 
  257@ <> 10
goto_if_false @KICKSTA_4886
wait 0
if 
  257@ == 0
goto_if_false @KICKSTA_4581
if 
  TIMERB > 900
goto_if_false @KICKSTA_4581
Text.PrintBig('KICK_17', 1000, TextStyle.MiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, 65535)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1827)

:KICKSTA_4541
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @KICKSTA_4567
wait 0
goto @KICKSTA_4541

:KICKSTA_4567
257@ += 1
TIMERB = 0

:KICKSTA_4581
if 
  257@ == 1
goto_if_false @KICKSTA_4670
if 
  TIMERB > 900
goto_if_false @KICKSTA_4670
Text.PrintBig('KICK_18', 1000, TextStyle.MiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, 65535)
257@ += 1
TIMERB = 0

:KICKSTA_4670
if 
  257@ == 2
goto_if_false @KICKSTA_4759
if 
  TIMERB > 900
goto_if_false @KICKSTA_4759
Text.PrintBig('KICK_19', 1000, TextStyle.MiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, 65535)
257@ += 1
TIMERB = 0

:KICKSTA_4759
if 
  257@ == 3
goto_if_false @KICKSTA_4846
if 
  TIMERB > 900
goto_if_false @KICKSTA_4846
Text.PrintBig('KICK_20', 800, TextStyle.MiddleSmaller)
Audio.ReportMissionAudioEventAtPosition(-1462.0, 1558.69, 1055.02, 1164)
257@ = 10
TIMERB = 0

:KICKSTA_4846
if 
  TIMERA > 4000
goto_if_false @KICKSTA_4872
257@ = 10

:KICKSTA_4872
gosub @KICKSTA_7904
goto @KICKSTA_4437

:KICKSTA_4886
Hud.SwitchWidescreen(False)
Blip.Remove(36@)
Player.SetControl($statbike_temp, True)
Text.PrintNow('KICK_26', 5000, 1)
Hud.DisplayCounterWithString($random_number_mtbike, CounterDisplay.Number, 'KICK1_9')
Hud.DisplayTimerWithString($player_taken_too_long_kickstart, TimerDirection.Down, 'KICK1_T')
TIMERA = 0
TIMERB = 0

:KICKSTA_4964
if 
  $time_left_to_find_bike_ks <> 33
goto_if_false @KICKSTA_6929
wait 0
gosub @KICKSTA_7904
if 
  48@ == 1
goto_if_false @KICKSTA_5033
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot1)
goto_if_false @KICKSTA_5033
48@ = 2

:KICKSTA_5033
if 
  48@ == 2
goto_if_false @KICKSTA_5062
Audio.PlayMissionAudio(MissionAudioSlot.Slot1)
48@ = 3

:KICKSTA_5062
if 
  48@ == 3
goto_if_false @KICKSTA_5106
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot1)
goto_if_false @KICKSTA_5106
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
48@ = 0

:KICKSTA_5106
if or
  0 >= $player_taken_too_long_kickstart
  $bcou_timelimit == 1
goto_if_false @KICKSTA_5673
Player.SetControl($statbike_temp, False)
Hud.ClearTimer($player_taken_too_long_kickstart)
Hud.ClearCounter($random_number_mtbike)
if 
  is_int_var_greater_than_int_var $random_number_mtbike > $1808
goto_if_false @KICKSTA_5417
set_var_int_to_var_int $1808 = $random_number_mtbike
Text.PrintWithNumberBig('KICK_22', $1808, 5000, TextStyle.Middle)
Text.PrintNow('KICK_23', 5000, 1)
Stat.RegisterInt(StatId.KickstartBestScore, $1808)
Audio.PlayMissionPassedTune(2)
if 
  $f1_burnlapright_best_score == 0
goto_if_false @KICKSTA_5247
CarGenerator.Switch($5279, 101)

:KICKSTA_5247
wait 5000
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_5267
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_5291
wait 0
goto @KICKSTA_5267

:KICKSTA_5291
Streaming.LoadScene(1105.21, 1604.649, 12.51)
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_5335
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_5335
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_5378
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_5398

:KICKSTA_5378
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_5398
wait 1500
goto @KICKSTA_7510
goto @KICKSTA_5673

:KICKSTA_5417
Text.PrintWithNumberBig('KICK1_9', $random_number_mtbike, 5000, TextStyle.Middle)
Text.PrintWithNumberBig('KICK_21', $1808, 5000, TextStyle.WhiteMiddleSmaller)
Text.PrintNow('KICK_24', 5000, 1)
248@ = Stat.GetInt(StatId.KickstartBestScore)
if 
  is_int_var_greater_than_int_lvar $random_number_mtbike > 248@
goto_if_false @KICKSTA_5506
Stat.RegisterInt(StatId.KickstartBestScore, $random_number_mtbike)

:KICKSTA_5506
Audio.PlayMissionPassedTune(1)
wait 5000
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_5530
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_5554
wait 0
goto @KICKSTA_5530

:KICKSTA_5554
Streaming.LoadScene(1105.21, 1604.649, 12.51)
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_5598
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_5598
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_5641
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_5661

:KICKSTA_5641
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_5661
wait 1500
goto @KICKSTA_7448

:KICKSTA_5673
if or
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1464.32, 1556.69, 1051.75, 3.0, 3.0, 3.0, False)
  43@ == 1
goto_if_false @KICKSTA_5914
Player.SetControl($statbike_temp, False)
Text.PrintNow('KICK_12', 5000, 1)
Sphere.Remove(44@)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_5771
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_5795
wait 0
goto @KICKSTA_5771

:KICKSTA_5795
Streaming.LoadScene(1105.21, 1604.649, 12.51)
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_5839
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_5839
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_5882
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_5902

:KICKSTA_5882
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_5902
wait 1500
goto @KICKSTA_7448

:KICKSTA_5914
37@, 38@, 39@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  1050.0 > 39@
goto_if_false @KICKSTA_5979
Char.SetCoordinates($stattreadstamina_ctr, -1473.187, 1565.173, 1051.789)
Char.SetHeading($stattreadstamina_ctr, 266.488)

:KICKSTA_5979
if 
  Car.IsDead(34@)
goto_if_false @KICKSTA_6183
Player.SetControl($statbike_temp, False)
Text.PrintNow('KICK1_7', 5000, 1)
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_6033
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_6057
wait 0
goto @KICKSTA_6033

:KICKSTA_6057
Streaming.LoadScene(1105.21, 1604.649, 12.51)
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_6101
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_6101
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_6144
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_6164

:KICKSTA_6144
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_6164
wait 1500
goto @KICKSTA_7448
goto @KICKSTA_6922

:KICKSTA_6183
Car.SetHealth(34@, 1000)
40@, 41@, 42@ = Car.GetCoordinates(34@)
if 
  1050.0 > 42@
goto_if_false @KICKSTA_6259
34@ = Car.Create(468, -1472.38, 1563.576, 1051.417)
Car.SetHeading(34@, 266.488)

:KICKSTA_6259
if 
  not Char.IsInModel($stattreadstamina_ctr, 468)
goto_if_false @KICKSTA_6874
if 
  254@ == 0
goto_if_false @KICKSTA_6450
if 
  35@ == 0
goto_if_false @KICKSTA_6361
36@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(36@, True)
if 
  47@ == 2
goto_if_false @KICKSTA_6354
47@ = 3

:KICKSTA_6354
35@ = 1

:KICKSTA_6361
$race_timer_seconds_kickstart = Clock.GetGameTimer()
$race_timer_mins_kickstart = 30000
if 
  $player_taken_too_long_kickstart >= 30000
goto_if_false @KICKSTA_6408
$race_timer_mins_kickstart = 30000
goto @KICKSTA_6416

:KICKSTA_6408
set_var_int_to_var_int $race_timer_mins_kickstart = $player_taken_too_long_kickstart

:KICKSTA_6416
254@ = 1
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 36200)
48@ = 1
goto @KICKSTA_6867

:KICKSTA_6450
if 
  $race_timer_mins_kickstart > 0
goto_if_false @KICKSTA_6643
$time_left_to_find_bike_secs_ks = Clock.GetGameTimer()
set_var_int_to_var_int $race_timer_kickstart = $time_left_to_find_bike_secs_ks
sub_int_var_from_int_var $race_timer_kickstart -= $race_timer_seconds_kickstart
set_var_int_to_var_int $race_timer_seconds_kickstart = $time_left_to_find_bike_secs_ks
sub_int_var_from_int_var $race_timer_mins_kickstart -= $race_timer_kickstart
set_var_int_to_var_int $race_timer_seconds2_kickstart = $race_timer_mins_kickstart
$race_timer_seconds2_kickstart /= 1000
Text.AddNextMessageToPreviousBriefs(False)
if 
  $race_timer_seconds2_kickstart <> 1
goto_if_false @KICKSTA_6569
Text.PrintWithNumberNow('KICK_27', $race_timer_seconds2_kickstart, 1000, 1)
goto @KICKSTA_6588

:KICKSTA_6569
Text.PrintWithNumberNow('KICK_28', $race_timer_seconds2_kickstart, 1000, 1)

:KICKSTA_6588
if 
  Char.IsInModel($stattreadstamina_ctr, 468)
goto_if_false @KICKSTA_6636
Text.ClearThisPrint('GETBIKE')
Text.ClearThisPrint('GETBIK2')
$race_timer_mins_kickstart = 1

:KICKSTA_6636
goto @KICKSTA_6867

:KICKSTA_6643
if 
  0 >= $race_timer_mins_kickstart
goto_if_false @KICKSTA_6867
Text.PrintNow('KICK1_2', 5000, 1)
Player.SetControl($statbike_temp, False)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 36200)
48@ = 1
wait 1500
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_6724
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_6748
wait 0
goto @KICKSTA_6724

:KICKSTA_6748
Streaming.LoadScene(1105.21, 1604.649, 12.51)
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_6792
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_6792
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_6835
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_6855

:KICKSTA_6835
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_6855
wait 1500
goto @KICKSTA_7448

:KICKSTA_6867
goto @KICKSTA_6922

:KICKSTA_6874
Text.ClearThisPrint('KICK_27')
if 
  35@ == 1
goto_if_false @KICKSTA_6915
Blip.Remove(36@)
35@ = 0

:KICKSTA_6915
254@ = 0

:KICKSTA_6922
goto @KICKSTA_4964

:KICKSTA_6929
Hud.ClearTimer($player_taken_too_long_kickstart)
Hud.ClearCounter($random_number_mtbike)
if 
  is_int_var_greater_than_int_var $random_number_mtbike > $1808
goto_if_false @KICKSTA_7208
set_var_int_to_var_int $1808 = $random_number_mtbike
Text.PrintWithNumberBig('KICK_22', $1808, 5000, TextStyle.Middle)
Text.PrintNow('KICK_23', 5000, 1)
Stat.RegisterInt(StatId.KickstartBestScore, $1808)
if 
  $f1_burnlapright_best_score == 0
goto_if_false @KICKSTA_7034
CarGenerator.Switch($5279, 101)

:KICKSTA_7034
Audio.PlayMissionPassedTune(2)
wait 5000
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_7058
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_7082
wait 0
goto @KICKSTA_7058

:KICKSTA_7082
Streaming.LoadScene(1105.21, 1604.649, 12.51)
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_7126
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_7126
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_7169
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_7189

:KICKSTA_7169
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_7189
wait 1500
goto @KICKSTA_7510
goto @KICKSTA_7448

:KICKSTA_7208
Audio.PlayMissionPassedTune(1)
248@ = Stat.GetInt(StatId.KickstartBestScore)
if 
  is_int_var_greater_than_int_lvar $random_number_mtbike > 248@
goto_if_false @KICKSTA_7247
Stat.RegisterInt(StatId.KickstartBestScore, $random_number_mtbike)

:KICKSTA_7247
Text.PrintWithNumberBig('KICK1_9', $random_number_mtbike, 5000, TextStyle.Middle)
Text.PrintWithNumberBig('KICK_21', $1808, 5000, TextStyle.WhiteMiddleSmaller)
wait 5000
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)

:KICKSTA_7305
if 
  Camera.GetFadingStatus
goto_if_false @KICKSTA_7329
wait 0
goto @KICKSTA_7305

:KICKSTA_7329
Streaming.LoadScene(1105.21, 1604.649, 12.51)
Streaming.SetAreaVisible(0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_7373
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_7373
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @KICKSTA_7416
Char.WarpFromCarToCoord($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)
goto @KICKSTA_7436

:KICKSTA_7416
Char.SetCoordinates($stattreadstamina_ctr, 1105.21, 1604.649, 12.0546)

:KICKSTA_7436
wait 1500
goto @KICKSTA_7448

:KICKSTA_7448
Text.PrintWithNumberBig('KICK1_9', 15, $random_number_mtbike, TextStyle.Middle)
Text.PrintWithNumberNow('KICK_21', $1808, 5000, 1)
set_lvar_int_to_var_int 258@ = $random_number_mtbike
258@ *= 100
Player.AddScore($statbike_temp, 258@)
return 

:KICKSTA_7510
if 
  $f1_burnlapright_best_score == 0
goto_if_false @KICKSTA_7541
Stat.RegisterOddjobMissionPassed
Stat.PlayerMadeProgress(1)
$f1_burnlapright_best_score = 1

:KICKSTA_7541
Player.ClearWantedLevel($statbike_temp)
Text.PrintWithNumberBig('KICK_22', $1808, 5000, TextStyle.Middle)
set_lvar_int_to_var_int 258@ = $random_number_mtbike
258@ *= 100
Player.AddScore($statbike_temp, 258@)
return 

:KICKSTA_7590
Hud.DisplayRadar(True)
World.ClearExtraColors(False)
$weapon_shop1_blip = 0
Text.ClearPrints
World.ClearExtraColors(False)
Sphere.Remove(44@)
Camera.ResetNewScriptables
Blip.Remove(149@)
Blip.Remove(150@)
Blip.Remove(151@)
Blip.Remove(152@)
Blip.Remove(153@)
Blip.Remove(154@)
Blip.Remove(155@)
Blip.Remove(156@)
Blip.Remove(157@)
Blip.Remove(158@)
Blip.Remove(159@)
Blip.Remove(160@)
Blip.Remove(161@)
Blip.Remove(162@)
Blip.Remove(163@)
Blip.Remove(164@)
Blip.Remove(165@)
Blip.Remove(166@)
Blip.Remove(167@)
Blip.Remove(168@)
Blip.Remove(169@)
Blip.Remove(170@)
Blip.Remove(171@)
Blip.Remove(172@)
Blip.Remove(173@)
Blip.Remove(174@)
Blip.Remove(175@)
Blip.Remove(176@)
Blip.Remove(177@)
Blip.Remove(178@)
Blip.Remove(179@)
Blip.Remove(180@)
Blip.Remove(181@)
Blip.Remove(36@)
Streaming.MarkModelAsNoLongerNeeded(468)
Hud.ClearTimer($player_taken_too_long_kickstart)
Hud.ClearCounter($random_number_mtbike)
if or
  not has_deatharrest_been_executed 
  $taxi_passed == 1
goto_if_false @KICKSTA_7859
Char.SetHeading($stattreadstamina_ctr, 1.0)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(3000, Fade.In)
Player.SetControl($statbike_temp, True)

:KICKSTA_7859
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @KICKSTA_7882
Char.SetAreaVisible($stattreadstamina_ctr, 0)

:KICKSTA_7882
Hud.DisplayRadar(True)
Car.MarkAsNoLongerNeeded(34@)
Game.SetIsInStadium(False)
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
return 

:KICKSTA_7904
253@ = 0

:KICKSTA_7911
if 
  33 > 253@
goto_if_false @KICKSTA_8439
if 
  182@(253@,33i) == 0
goto_if_false @KICKSTA_8425
if 
  215@(253@,33i) == 0
goto_if_false @KICKSTA_7995
250@ = 0
251@ = 255
252@ = 0

:KICKSTA_7995
if 
  215@(253@,33i) == 1
goto_if_false @KICKSTA_8040
250@ = 255
251@ = 150
252@ = 0

:KICKSTA_8040
if 
  215@(253@,33i) == 2
goto_if_false @KICKSTA_8084
250@ = 255
251@ = 0
252@ = 0

:KICKSTA_8084
Fx.DrawCorona(50@(253@,33f), 83@(253@,33f), 116@(253@,33f), 249@, CoronaType.Star, FlareType.None, 250@, 251@, 252@)
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 50@(253@,33f), 83@(253@,33f), 116@(253@,33f), 1.5, 1.5, 1.5, False)
goto_if_false @KICKSTA_8425
if 
  Char.IsInModel($stattreadstamina_ctr, 468)
goto_if_false @KICKSTA_8425
if 
  215@(253@,33i) == 0
goto_if_false @KICKSTA_8261
$random_number_mtbike += 1
Text.PrintNow('KICK_14', 1000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 36202)
48@ = 1

:KICKSTA_8261
if 
  215@(253@,33i) == 1
goto_if_false @KICKSTA_8326
$random_number_mtbike += 2
Text.PrintNow('KICK_15', 1000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 36202)
48@ = 1

:KICKSTA_8326
if 
  215@(253@,33i) == 2
goto_if_false @KICKSTA_8391
$random_number_mtbike += 3
Text.PrintNow('KICK_16', 1000, 1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.LoadMissionAudio(MissionAudioSlot.Slot1, 36205)
48@ = 1

:KICKSTA_8391
Blip.Remove(149@(253@,33i))
$time_left_to_find_bike_ks += 1
$bags_on_bike -= 1
182@(253@,33i) = 1

:KICKSTA_8425
253@ += 1
goto @KICKSTA_7911

:KICKSTA_8439
return 

//-------------Mission 130---------------
// Originally: Beat the Cock!

:TRIA
gosub @TRIA_36
if 
  has_deatharrest_been_executed 
goto_if_false @TRIA_27
gosub @TRIA_22646

:TRIA_27
gosub @TRIA_22887
terminate_this_script 

:TRIA_36
Text.ClearThisPrintBigNow(TextStyle.Middle)
$weapon_shop1_blip = 1
if 
  $1810 == 0
goto_if_false @TRIA_67
Stat.RegisterMissionGiven

:TRIA_67
script_name 'TRIA'
Text.LoadMissionText('RACETOR')
Text.SetMessageFormatting(True, 355, 370)
wait 0
Text.UseCommands(True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TRIA_130
Player.SetControl($statbike_temp, False)

:TRIA_130
Camera.DoFade(1000, Fade.Out)

:TRIA_137
if 
  Camera.GetFadingStatus
goto_if_false @TRIA_161
wait 0
goto @TRIA_137

:TRIA_161
816@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
802@ = 0
817@ = 0
782@ = 0
783@ = 0
34@ = 582.7242
46@ = 356.2812
58@ = 52.2072
70@ = 52.2072
35@ = 584.0833
47@ = 329.3647
59@ = 0.5427
71@ = 2.0841
36@ = 572.9216
48@ = 323.5937
60@ = 1.0585
72@ = 4.8106
37@ = 585.724
49@ = 345.6341
61@ = 0.4929
73@ = 1.8511
38@ = 582.7242
50@ = 359.0323
62@ = 0.4993
74@ = 2.637
39@ = 582.7242
51@ = 356.2812
63@ = 56.2072
75@ = 56.2072
40@ = 582.7242
52@ = 356.2812
64@ = 58.2072
76@ = 58.2072
set_lvar_int_to_constant 829@ = 154
set_lvar_int_to_constant 830@ = 18
set_lvar_int_to_constant 831@ = 45
set_lvar_int_to_constant 832@ = 18
set_lvar_int_to_constant 833@ = 45
set_lvar_int_to_constant 834@ = 154
set_lvar_int_to_constant 835@ = 154
set_lvar_int_to_constant 836@ = 167
set_lvar_int_to_constant 837@ = 167
set_lvar_int_to_constant 838@ = 167
set_lvar_int_to_constant 839@ = 167
set_lvar_int_to_constant 840@ = 167
set_lvar_int_to_constant 841@ = 510
set_lvar_int_to_constant 842@ = 510
set_lvar_int_to_constant 843@ = 510
set_lvar_int_to_constant 844@ = 510
set_lvar_int_to_constant 845@ = 510
set_lvar_int_to_constant 846@ = 510
set_lvar_int_to_constant 847@ = 510
set_lvar_int_to_constant 848@ = 510
set_lvar_int_to_constant 849@ = 510
set_lvar_int_to_constant 850@ = 510
set_lvar_int_to_constant 851@ = 510
set_lvar_int_to_constant 852@ = 510
if 
  $animframe == 1
goto_if_false @TRIA_689
goto @TRIA_940

:TRIA_689
if 
  $animframe == 2
goto_if_false @TRIA_714
goto @TRIA_4054

:TRIA_714
if 
  $animframe == 100000
goto_if_false @TRIA_940
set_lvar_int_to_constant 829@ = 154
set_lvar_int_to_constant 830@ = 18
set_lvar_int_to_constant 831@ = 45
set_lvar_int_to_constant 832@ = 18
set_lvar_int_to_constant 833@ = 45
set_lvar_int_to_constant 834@ = 154
set_lvar_int_to_constant 835@ = 154
set_lvar_int_to_constant 836@ = 167
set_lvar_int_to_constant 840@ = 167
817@ = 0
817@ = 0
817@ = 0
set_lvar_int_to_constant 842@ = 510
set_lvar_int_to_constant 843@ = 510
set_lvar_int_to_constant 844@ = 510
set_lvar_int_to_constant 843@ = 510
set_lvar_int_to_constant 844@ = 510
set_lvar_int_to_constant 843@ = 510
set_lvar_int_to_constant 844@ = 510
set_lvar_int_to_constant 845@ = 510
wait 0
wait 0
wait 0
wait 0
wait 0
wait 0
wait 0
wait 0
wait 0
wait 0
wait 0
wait 0
wait 0

:TRIA_940
819@ = 0
820@ = 1
821@ = 7
822@ = 8
823@ = 8
824@ = 37
825@ = 37
826@ = 38
827@ = 62
792@ = -243.9
793@ = -1719.31
794@ = 2.35
143@ = 181.3364
263@ = -1885.854
383@ = 3.5158
503@ = 194.886
144@ = 187.69
264@ = -1915.42
384@ = 0.0
504@ = 187.4411
145@ = 190.3243
265@ = -1965.07
385@ = -1.09
505@ = 122.2256
146@ = 129.4773
266@ = -2001.432
386@ = -0.5606
506@ = 44.5101
147@ = 24.1326
267@ = -1872.092
387@ = -0.1744
507@ = 46.3064
148@ = -38.8038
268@ = -1799.4
388@ = -0.4976
508@ = 29.2224
149@ = -132.8051
269@ = -1809.788
389@ = -1.1548
509@ = 74.9425
150@ = -228.93
270@ = -1726.7
390@ = -0.01
510@ = 70.775
151@ = -248.1052
271@ = -1716.78
391@ = 1.9372
511@ = 157.2827
152@ = -262.3395
272@ = -1787.277
392@ = 8.7655
512@ = 167.5477
153@ = -277.3514
273@ = -1855.098
393@ = 21.3005
513@ = 168.3277
154@ = -280.5171
274@ = -1887.12
394@ = 24.786
514@ = 176.1066
155@ = -281.7469
275@ = -2087.827
395@ = 38.443
515@ = 141.1524
156@ = -464.7682
276@ = -2179.815
396@ = 58.8239
516@ = 68.1063
157@ = -641.5079
277@ = -2196.429
397@ = 11.5282
517@ = 129.7469
158@ = -783.5144
278@ = -2459.294
398@ = 73.7524
518@ = 140.2978
159@ = -871.3914
279@ = -2407.987
399@ = 54.4911
519@ = 51.7369
160@ = -942.5181
280@ = -2368.063
400@ = 58.8718
520@ = 85.4252
161@ = -1056.249
281@ = -2378.243
401@ = 48.5923
521@ = 94.4035
162@ = -1238.965
282@ = -2327.315
402@ = 18.2458
522@ = 58.7494
163@ = -1403.78
283@ = -2165.124
403@ = 17.4059
523@ = 77.2286
164@ = -1659.685
284@ = -2190.13
404@ = 32.3572
524@ = 144.7275
165@ = -1732.831
285@ = -2312.709
405@ = 45.225
525@ = 109.6972
166@ = -1826.058
286@ = -2340.271
406@ = 33.7243
526@ = 125.1071
167@ = -1917.68
287@ = -2432.147
407@ = 29.6249
527@ = 124.1505
168@ = -1972.515
288@ = -2478.326
408@ = 29.6259
528@ = 117.8682
169@ = -2025.629
289@ = -2500.391
409@ = 31.0671
529@ = 73.6687
170@ = -2119.107
290@ = -2431.265
410@ = 29.4766
530@ = 50.8121
171@ = -2188.57
291@ = -2377.538
411@ = 29.6172
531@ = 0.0
172@ = -2215.89
292@ = -2352.601
412@ = 29.6981
532@ = 61.4763
173@ = -2341.21
293@ = -2256.627
413@ = 16.8759
533@ = 39.8273
174@ = -2430.18
294@ = -2278.378
414@ = 13.7817
534@ = 45.7545
175@ = -2498.637
295@ = -2208.573
415@ = 27.9284
535@ = 50.0042
176@ = -2619.839
296@ = -2067.536
416@ = 38.1676
536@ = 55.7597
176@ = -2867.784
296@ = -1824.571
416@ = 36.6821
536@ = 16.2011
177@ = -2923.241
297@ = -1561.889
417@ = 10.0017
537@ = 7.7626
178@ = -2899.031
298@ = -1152.584
418@ = 8.32
538@ = 351.8611
179@ = -2858.125
299@ = -835.5231
419@ = 8.4844
539@ = 352.7365
180@ = -2814.01
300@ = -529.22
420@ = 6.1876
540@ = 343.4993
181@ = -2779.95
301@ = -489.85
421@ = 6.33
541@ = 305.3686
182@ = -2708.981
302@ = -529.5283
422@ = 10.196
542@ = 276.1151
183@ = -2670.157
303@ = -481.2506
423@ = 21.3104
543@ = 345.938
184@ = -2666.663
304@ = -406.0401
424@ = 31.3067
544@ = 324.8106
185@ = -2583.74
305@ = -369.7502
425@ = 46.2653
545@ = 275.6224
186@ = -2515.971
306@ = -367.1822
426@ = 58.2571
546@ = 272.1555
186@ = -2411.156
306@ = -371.7223
426@ = 72.2992
546@ = 236.1908
187@ = -2340.564
307@ = -416.5017
427@ = 78.5669
547@ = 230.3644
188@ = -2338.824
308@ = -463.832
428@ = 79.0233
548@ = 107.323
189@ = -2387.69
309@ = -423.99
429@ = 82.4307
549@ = 46.7979
190@ = -2496.379
310@ = -446.1119
430@ = 75.3116
550@ = 79.2676
191@ = -2544.498
311@ = -465.218
431@ = 68.9665
551@ = 119.0487
191@ = -2556.852
311@ = -466.8922
431@ = 69.2275
551@ = 116.1301
192@ = -2580.532
312@ = -468.6765
432@ = 67.3814
552@ = 105.1953
193@ = -2612.064
313@ = -475.2015
433@ = 67.8512
553@ = 102.5922
194@ = -2623.105
314@ = -500.2463
434@ = 69.917
554@ = 197.9217
195@ = -2613.75
315@ = -497.1339
435@ = 71.9272
555@ = 288.9547
196@ = -2579.733
316@ = -492.6317
436@ = 75.158
556@ = 278.9598
197@ = -2542.8
317@ = -490.87
437@ = 80.34
557@ = 280.2745
198@ = -2497.678
318@ = -480.3432
438@ = 94.0158
558@ = 282.4144
199@ = -2466.401
319@ = -497.2612
439@ = 104.2728
559@ = 198.2153
200@ = -2452.08
320@ = -544.5864
440@ = 120.5837
560@ = 197.1636
201@ = -2469.514
321@ = -618.502
441@ = 131.3831
561@ = 208.6952
202@ = -2471.06
322@ = -618.73
442@ = 131.73
562@ = 85.5749
203@ = -2498.368
323@ = -617.9995
443@ = 131.5625
563@ = 94.5939
204@ = -2498.981
324@ = -653.2845
444@ = 137.3194
564@ = 168.6758
205@ = -2501.356
325@ = -695.9691
445@ = 138.3174
565@ = 180.3733
743@ = -2500.0
744@ = -710.0
745@ = 138.49
828@ = 63
118@ = 9
770@ = 60.0
771@ = 40.0
772@ = 25.0
773@ = 2.25
774@ = 2.0
775@ = 1.8
776@ = 1.3
777@ = 1.25
778@ = 1.16
695@ = 2.3
707@ = -6.0
696@ = 3.0
708@ = 8.0
697@ = 5.0
709@ = -4.0
698@ = 2.6
710@ = -1.0
699@ = 5.0
711@ = 9.0
700@ = 0.0
712@ = -4.0
701@ = -4.0
713@ = 0.0
702@ = 0.0
714@ = 0.9
703@ = 3.1
715@ = -4.0
704@ = 3.0
716@ = -5.0
705@ = -5.0
717@ = -3.0
706@ = -2.0
718@ = 9.0
goto @TRIA_8819

:TRIA_4054
819@ = 0
820@ = 1
821@ = 9
822@ = 10
823@ = 10
824@ = 96
825@ = 96
826@ = 97
827@ = 103
792@ = 1408.9
793@ = -298.31
794@ = 1.14
143@ = 2135.432
263@ = -67.9555
383@ = 5.4915
503@ = 66.3885
144@ = 2113.189
264@ = -61.7735
384@ = -1.6317
504@ = 79.829
145@ = 2042.62
265@ = -68.5141
385@ = -1.9576
505@ = 105.8667
146@ = 1914.295
266@ = -82.3669
386@ = -1.573
506@ = 101.7482
147@ = 1844.035
267@ = -62.2716
387@ = -1.6096
507@ = 84.9519
148@ = 1742.236
268@ = -20.0478
388@ = -1.287
508@ = 79.6055
149@ = 1618.168
269@ = -15.6618
389@ = -1.6797
509@ = 156.9966
150@ = 1599.854
270@ = -118.7409
390@ = -1.4099
510@ = 164.6305
151@ = 1533.974
271@ = -213.8303
391@ = -1.8143
511@ = 126.3196
152@ = 1426.781
272@ = -284.0623
392@ = 0.4372
512@ = 144.5477
153@ = 1398.955
273@ = -320.351
393@ = 4.0182
513@ = 153.3551
154@ = 1358.093
274@ = -336.8423
394@ = 1.9089
514@ = 116.3511
155@ = 1289.739
275@ = -376.0291
395@ = 1.8575
515@ = 115.9818
156@ = 1226.153
276@ = -418.5785
396@ = 4.1044
516@ = 98.6074
157@ = 1042.313
277@ = -450.289
397@ = 50.3135
517@ = 101.4914
158@ = 955.7357
278@ = -394.1266
398@ = 62.9355
518@ = 78.1451
159@ = 862.81
279@ = -348.28
399@ = 35.11
519@ = 56.0
160@ = 735.1562
280@ = -269.1867
400@ = 8.7576
520@ = 73.8366
161@ = 469.2164
281@ = -284.2076
401@ = 9.4602
521@ = 112.1922
162@ = 251.8701
282@ = -371.7388
402@ = 7.7356
522@ = 68.255
163@ = 223.9637
283@ = -281.344
403@ = 0.4297
523@ = 271.1071
164@ = 232.8023
284@ = -147.7986
404@ = 0.4375
524@ = 357.6566
165@ = 212.8295
285@ = 51.8381
405@ = 1.0781
525@ = 109.6694
166@ = -68.0222
286@ = 199.2302
406@ = 1.1111
526@ = 65.8208
167@ = -214.4978
287@ = 242.3661
407@ = 10.9924
527@ = 77.1542
168@ = -474.3636
288@ = 283.1361
408@ = 1.0859
528@ = 87.3102
169@ = -704.3909
289@ = 237.3473
409@ = 1.2298
529@ = 125.775
170@ = -753.5148
290@ = 113.9041
410@ = 13.0728
530@ = 238.8586
171@ = -774.6131
291@ = 19.818
411@ = 32.2693
531@ = 99.2499
172@ = -882.6287
292@ = -30.0806
412@ = 32.3448
532@ = 159.807
173@ = -693.5931
293@ = 14.1184
413@ = 64.7495
533@ = 274.7533
174@ = -747.8843
294@ = -87.2834
414@ = 65.6724
534@ = 116.1896
175@ = -914.7136
295@ = -149.6012
415@ = 52.8499
535@ = 134.4302
176@ = -962.9247
296@ = -326.8087
416@ = 35.2353
536@ = 168.4629
177@ = -1053.014
297@ = -459.1835
417@ = 34.307
537@ = 115.9967
178@ = -1192.145
298@ = -713.6215
418@ = 54.6026
538@ = 156.9905
179@ = -1487.715
299@ = -817.6843
419@ = 64.4213
539@ = 92.4112
180@ = -1740.777
300@ = -724.1766
420@ = 30.4857
540@ = 49.0549
181@ = -1781.205
301@ = -583.264
421@ = 15.3359
541@ = 100.3213
182@ = -1823.7
302@ = -529.5533
422@ = 13.9686
542@ = 4.2211
183@ = -1799.017
303@ = -273.0101
423@ = 20.3398
543@ = 354.7032
184@ = -1800.123
304@ = -65.1682
424@ = 10.9423
544@ = 359.6422
185@ = -1725.062
305@ = 327.4661
425@ = 6.039
545@ = 315.311
186@ = -1557.097
306@ = 578.606
426@ = 6.028
546@ = 0.4208
187@ = -1541.106
307@ = 769.1249
427@ = 6.0391
547@ = 353.7148
188@ = -1583.378
308@ = 1116.991
428@ = 6.0468
548@ = 1.1392
189@ = -1809.283
309@ = 1378.625
429@ = 6.0391
549@ = 81.656
190@ = -2100.213
310@ = 1275.833
430@ = 15.1271
550@ = 95.1487
191@ = -2350.208
311@ = 1176.574
431@ = 41.5671
551@ = 90.0114
192@ = -2510.877
312@ = 1187.856
432@ = 39.1262
552@ = 85.252
193@ = -2669.68
313@ = 1245.143
433@ = 54.4297
553@ = 8.9025
194@ = -2673.893
314@ = 1643.352
434@ = 65.0251
554@ = 0.2767
195@ = -2674.047
315@ = 2075.544
435@ = 54.4218
555@ = 359.5528
196@ = -2738.813
316@ = 2389.167
436@ = 71.7769
556@ = 13.6254
197@ = -2547.931
317@ = 2616.462
437@ = 59.9948
557@ = 274.8428
198@ = -2291.888
318@ = 2639.561
438@ = 54.2564
558@ = 274.3506
199@ = -1943.441
319@ = 2477.796
439@ = 53.9877
559@ = 203.7195
200@ = -1773.83
320@ = 2183.409
440@ = 15.1278
560@ = 244.4939
201@ = -1671.435
321@ = 1994.474
441@ = 18.605
561@ = 169.1263
202@ = -1665.7
322@ = 1828.964
442@ = 24.836
562@ = 278.2649
203@ = -1515.527
323@ = 1841.554
443@ = 28.9903
563@ = 271.1894
204@ = -1264.993
324@ = 1827.301
444@ = 39.4348
564@ = 234.95
205@ = -1121.385
325@ = 1807.539
445@ = 41.2592
565@ = 284.4989
206@ = -988.9796
326@ = 1847.639
446@ = 61.9118
566@ = 237.4219
207@ = -855.0579
327@ = 1858.897
447@ = 59.216
567@ = 15.0168
208@ = -827.7874
328@ = 2022.61
448@ = 59.1866
568@ = 302.1424
209@ = -643.984
329@ = 2054.752
449@ = 59.3829
569@ = 252.3283
210@ = -460.4977
330@ = 2022.137
450@ = 59.1932
570@ = 314.0172
211@ = -385.3306
331@ = 2052.059
451@ = 61.1139
571@ = 121.3349
212@ = -471.1979
332@ = 1868.452
452@ = 81.3094
572@ = 185.3215
213@ = -424.8187
333@ = 1785.552
453@ = 69.9688
573@ = 353.9297
214@ = -392.5027
334@ = 1899.678
454@ = 56.3096
574@ = 190.7471
215@ = -437.5663
335@ = 1639.054
455@ = 34.5544
575@ = 155.0889
216@ = -419.9048
336@ = 1375.711
456@ = 29.3441
576@ = 198.0373
217@ = -254.2456
337@ = 1241.245
457@ = 22.9055
577@ = 262.7647
218@ = -17.3116
338@ = 1265.996
458@ = 7.1868
578@ = 269.9033
219@ = 207.218
339@ = 1174.193
459@ = 13.9973
579@ = 316.9584
220@ = 339.0704
340@ = 1382.287
460@ = 6.1753
580@ = 342.3971
221@ = 388.3414
341@ = 1547.929
461@ = 13.8468
581@ = 343.6689
222@ = 633.4001
342@ = 1754.867
462@ = 3.9566
582@ = 317.1131
223@ = 669.8152
343@ = 2168.323
463@ = 20.5117
583@ = 358.9947
224@ = 689.647
344@ = 2565.16
464@ = 27.2334
584@ = 311.5221
225@ = 891.8608
345@ = 2603.754
465@ = 9.595
585@ = 247.505
226@ = 1044.021
346@ = 2515.857
466@ = 9.6323
586@ = 231.5339
227@ = 1244.597
347@ = 2379.124
467@ = 12.6162
587@ = 243.279
228@ = 1443.869
348@ = 2448.945
468@ = 5.7498
588@ = 288.6619
229@ = 1666.893
349@ = 2445.993
469@ = 6.0409
589@ = 251.8771
230@ = 1788.89
350@ = 2302.641
470@ = 4.9096
590@ = 178.4221
231@ = 1787.288
351@ = 2020.553
471@ = 2.9839
591@ = 180.0315
232@ = 1757.569
352@ = 1803.75
472@ = 6.6726
592@ = 151.3169
233@ = 1719.659
353@ = 1733.205
473@ = 9.6719
593@ = 76.1769
234@ = 1647.86
354@ = 1740.389
474@ = 9.6719
594@ = 353.7883
235@ = 1666.322
355@ = 1871.767
475@ = 9.6797
595@ = 276.203
236@ = 1707.177
356@ = 1939.953
476@ = 9.6719
596@ = 1.2039
237@ = 1736.212
357@ = 2053.139
477@ = 9.6797
597@ = 263.9626
238@ = 1897.32
358@ = 2044.712
478@ = 9.6719
598@ = 254.9706
239@ = 1994.816
359@ = 2022.869
479@ = 9.6797
599@ = 270.1811
240@ = 2126.005
360@ = 2014.889
480@ = 9.6719
600@ = 199.0654
241@ = 2126.798
361@ = 1885.59
481@ = 9.6797
601@ = 178.0925
242@ = 2098.335
362@ = 1802.86
482@ = 9.6797
602@ = 156.4693
243@ = 2056.644
363@ = 1720.575
483@ = 9.6719
603@ = 156.0535
244@ = 2049.26
364@ = 1554.789
484@ = 9.6719
604@ = 179.2217
245@ = 2050.827
365@ = 1403.362
485@ = 9.6719
605@ = 179.9112
246@ = 2048.7
366@ = 1089.746
486@ = 9.6641
606@ = 179.8144
743@ = 2046.0
744@ = 979.0
745@ = 9.49
828@ = 104
118@ = 9
770@ = 50.0
771@ = 40.0
772@ = 30.0
773@ = 2.23
774@ = 2.1
775@ = 1.8
776@ = 1.33
777@ = 1.3
778@ = 1.25
695@ = 2.3
707@ = -6.0
696@ = 3.0
708@ = -4.0
697@ = 5.0
709@ = -4.0
698@ = 2.6
710@ = -1.0
699@ = 5.0
711@ = 5.0
700@ = 0.0
712@ = -4.0
701@ = -4.0
713@ = 0.0
702@ = 0.0
714@ = 0.9
703@ = 3.1
715@ = -4.0
704@ = 3.0
716@ = -5.0
705@ = -5.0
717@ = -3.0
706@ = -2.0
718@ = 4.0
746@ = 0
747@ = 0
748@ = 0
749@ = 0
750@ = 0
751@ = 0
752@ = 0
753@ = 0
754@ = 0
755@ = 0
756@ = 0
757@ = 0
goto @TRIA_8819
963@ = Checkpoint.Create(CheckpointType.TubeArrow, 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 960@, 961@, 962@, 6.0)
Checkpoint.Delete(963@)

:TRIA_8819
set_lvar_float_to_lvar_float 779@ = 770@
set_lvar_float_to_lvar_float 780@ = 773@
set_lvar_float_to_lvar_float 781@ = 776@

:TRIA_8843
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @TRIA_8870
wait 0
goto @TRIA_8843

:TRIA_8870
World.ClearArea(143@, 263@, 383@, 1000001.0, False)
Streaming.LoadScene(143@, 263@, 383@)
World.DisableAllEntryExits(True)
World.SetCarDensityMultiplier(0.0)
World.SetPedDensityMultiplier(0.0)
set_lvar_int_to_lvar_int 853@ = 828@
853@ -= 1
758@ = 0
759@ = 0
760@ = 0
761@ = 0
set_lvar_int_to_lvar_int 926@ = 118@

:TRIA_8968
if 
  is_int_lvar_greater_than_int_lvar 926@ > 759@
goto_if_false @TRIA_9012
927@(759@,12i) = 0
759@ += 1
goto @TRIA_8968

:TRIA_9012
939@ = Blip.AddForCoord(143@, 263@, 383@)
940@ = 0

:TRIA_9033
wait 0
$RStickY = Clock.GetGameTimer()
942@ = 0
759@ = 0
if 
  940@ == 0
goto_if_false @TRIA_9272
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TRIA_9272
Char.SetCoordinates($stattreadstamina_ctr, 143@, 263@, 383@)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Player.BuildModel($statbike_temp)
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 144@, 264@, 100.0, 100.0, False)
goto_if_false @TRIA_9272
758@ = 0
set_var_float_to_lvar_float $on_footY = 143@
$on_footY += 4.0
set_var_float_to_lvar_float $on_footZ = 263@
$on_footZ += 4.0
set_var_float_to_lvar_float $in_carX = 383@
$in_carX += 6.0
set_lvar_float_to_lvar_float 785@ = 143@
785@ -= 7.0
set_lvar_float_to_lvar_float 786@ = 263@
786@ -= 7.0
set_lvar_float_to_lvar_float 787@ = 383@
787@ -= 7.0
940@ += 1

:TRIA_9272
if 
  940@ == 1
goto_if_false @TRIA_9365
Streaming.RequestModel(154)
Streaming.RequestModel(18)
Streaming.RequestModel(45)
Streaming.RequestModel(167)
Streaming.RequestModel(510)

:TRIA_9313
if or
  not Streaming.HasModelLoaded(154)
  not Streaming.HasModelLoaded(18)
  not Streaming.HasModelLoaded(45)
  not Streaming.HasModelLoaded(167)
  not Streaming.HasModelLoaded(510)
goto_if_false @TRIA_9358
wait 0
goto @TRIA_9313

:TRIA_9358
940@ = 2

:TRIA_9365
if 
  940@ == 2
goto_if_false @TRIA_11305
768@ = Car.Create(841@, 143@, 263@, 383@)
Car.TurnToFaceCoord(768@, 144@, 264@)
set_lvar_int_to_lvar_int 762@ = 926@
762@ -= 1
769@ = Car.Create(841@, 143@(822@,120f), 263@(822@,120f), -100.0)
Car.SetHeading(769@, 503@(822@,120f))
785@, 786@, 787@ = Car.GetOffsetInWorldCoords(769@, 785@, 786@, 787@)
791@ = Car.GetHeading(769@)
set_lvar_float_to_lvar_float 787@ = 383@
759@ = 0

:TRIA_9511
if 
  is_int_lvar_greater_than_int_lvar 926@ > 759@
goto_if_false @TRIA_11065
set_lvar_int_to_lvar_int 760@ = 759@
760@ /= 2
760@ *= 2
if 
  is_int_lvar_equal_to_int_lvar 760@ == 759@
goto_if_false @TRIA_9629
$on_footY = 1.5
set_lvar_int_to_lvar_int 761@ = 759@
761@ *= 2
cset_lvar_float_to_lvar_int 788@ =# 761@
788@ *= -1.0
set_var_float_to_lvar_float $on_footZ = 788@
goto @TRIA_9687

:TRIA_9629
$on_footY = -1.5
set_lvar_int_to_lvar_int 761@ = 759@
761@ -= 1
761@ *= 2
cset_lvar_float_to_lvar_int 788@ =# 761@
788@ *= -1.0
set_var_float_to_lvar_float $on_footZ = 788@

:TRIA_9687
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, $on_footY, $on_footZ, $in_carX)
789@ = Car.GetHeading(768@)
set_var_float_to_lvar_float $in_carX = 383@
set_lvar_float_to_var_float 854@(759@,12f) = $on_footY
set_lvar_float_to_var_float 866@(759@,12f) = $on_footZ
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
set_lvar_float_to_var_float 878@(759@,12f) = $in_carX
if 
  is_int_lvar_greater_than_int_lvar 762@ > 759@
goto_if_false @TRIA_10309
914@(759@,12i) = Char.Create(PedType.CivMale, 829@(759@,12i), $on_footY, $on_footZ, -100.0)
Char.SetOnlyDamagedByPlayer(914@(759@,12i), True)
Char.SetDecisionMaker(914@(759@,12i), 816@)
131@(759@,12i) = 0
804@(759@,12i) = 0
Char.SetHeading(914@(759@,12i), 503@)
Char.SetDrownsInWater(914@(759@,12i), False)
Char.ClearLastDamageEntity(914@(759@,12i))
Char.SetCanBeShotInVehicle(914@(759@,12i), False)
if 
  131@(759@,12i) == 0
goto_if_false @TRIA_10302
set_lvar_int_to_lvar_int 760@ = 759@
760@ /= 2
760@ *= 2
if 
  is_int_lvar_equal_to_int_lvar 760@ == 759@
goto_if_false @TRIA_10033
$on_footY = 3.5
set_lvar_int_to_lvar_int 761@ = 759@
761@ *= 2
cset_lvar_float_to_lvar_int 788@ =# 761@
788@ *= -1.0
set_var_float_to_lvar_float $on_footZ = 788@
goto @TRIA_10091

:TRIA_10033
$on_footY = -3.5
set_lvar_int_to_lvar_int 761@ = 759@
761@ -= 1
761@ *= 2
cset_lvar_float_to_lvar_int 788@ =# 761@
788@ *= -1.0
set_var_float_to_lvar_float $on_footZ = 788@

:TRIA_10091
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(769@, $on_footY, $on_footZ, $in_carX)
902@(759@,12i) = Car.Create(841@(759@,12i), $on_footY, $on_footZ, -100.0)
Car.ImproveByCheating(902@(759@,12i), True)
Car.SetTraction(902@(759@,12i), 1.5)
131@(759@,12i) = 1
StuckCarCheck.AddWithWarp(902@(759@,12i), 0.5, 5000, True, False, True, 1)
Car.SetHeading(902@(759@,12i), 175.0)
Car.SetProofs(902@(759@,12i), True, True, True, True, True)
Car.SetHealth(902@(759@,12i), 2000)
Car.SetWatertight(902@(759@,12i), True)
Car.SetStrong(902@(759@,12i), True)
Car.SetUpsidedownNotDamaged(902@(759@,12i), True)
Car.SetStraightLineDistance(902@(759@,12i), 5)
Car.SetCanBurstTires(902@(759@,12i), False)

:TRIA_10302
goto @TRIA_11051

:TRIA_10309
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -4.0435, 6.5755, -0.8)
954@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(954@, 143@, 263@, 383@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -5.6392, 2.9435, -0.8)
943@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(943@, 143@, 263@, 383@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -6.0071, -2.0778, -0.8)
944@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(944@, 143@, 263@, 383@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -7.6039, -5.0807, -0.8)
945@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(945@, 143@, 263@, 383@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -7.0724, -6.4057, -0.8)
946@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(946@, 143@, 263@, 383@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -5.9988, -13.553, -0.8)
947@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(947@, 143@, 263@, 383@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 6.073, -15.2059, -0.8)
948@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(948@, 143@, 263@, 383@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 7.2639, -12.9933, -0.8)
949@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(949@, 143@, 263@, 383@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 5.8429, -7.7069, -0.8)
950@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(950@, 143@, 263@, 383@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 8.4135, -3.7971, -0.8)
951@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(951@, 143@, 263@, 383@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 6.2507, 0.3634, -0.8)
952@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(952@, 143@, 263@, 383@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 8.6397, 2.419, -0.8)
953@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(953@, 143@, 263@, 383@)
Blip.Remove(939@)
939@ = Blip.AddForCoord(854@(762@,12f), 866@(762@,12f), 878@(762@,12f))
World.SetCarDensityMultiplier(0.5)
set_lvar_int_to_var_int 914@(759@,12i) = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 941@ = 759@

:TRIA_11051
759@ += 1
goto @TRIA_9511

:TRIA_11065
940@ += 1
Car.Delete(768@)
Car.Delete(769@)
769@ = Car.Create(841@, 143@(822@,120f), 263@(822@,120f), 383@(822@,120f))
Car.SetHeading(769@, 503@(822@,120f))
795@, 796@, 797@ = Car.GetOffsetInWorldCoords(769@, 5.0, -15.0, 0.0)
Car.SetHeading(769@, 791@)
902@(941@,12i) = Car.Create(510, 795@, 796@, -100.0)
Car.SetHeading(902@(941@,12i), 791@)
Car.SetWatertight(902@(941@,12i), True)
Car.Delete(769@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRIA_11263
Char.SetCoordinates($stattreadstamina_ctr, 854@(941@,12f), 866@(941@,12f), 878@(941@,12f))
Char.SetHeading($stattreadstamina_ctr, 503@)
Camera.SetBehindPlayer

:TRIA_11263
Hud.SwitchWidescreen(True)
wait 500
Camera.DoFade(3000, Fade.In)

:TRIA_11279
if 
  Camera.GetFadingStatus
goto_if_false @TRIA_11303
wait 0
goto @TRIA_11279

:TRIA_11303
Text.ClearPrints

:TRIA_11305
if 
  940@ == 3
goto_if_false @TRIA_11516
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TRIA_11516
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetAllCarsCanBeDamaged(False)
Text.PrintBig('RACES_4', 1100, TextStyle.MiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, 65535)
set_lvar_int_to_lvar_int 762@ = 926@
762@ -= 1
759@ = 0

:TRIA_11417
if 
  is_int_lvar_greater_than_int_lvar 762@ > 759@
goto_if_false @TRIA_11493
if 
  Char.IsDead(914@(759@,12i))
goto_if_false @TRIA_11479
Text.PrintNow('RACES25', 5000, 1)
goto @TRIA_22646

:TRIA_11479
759@ += 1
goto @TRIA_11417

:TRIA_11493
set_lvar_int_to_var_int 955@ = $RStickY
955@ += 999
940@ += 1

:TRIA_11516
if 
  940@ == 4
goto_if_false @TRIA_11614
if 
  is_int_var_greater_than_int_lvar $RStickY > 955@
goto_if_false @TRIA_11614
Text.PrintBig('RACES_5', 1100, TextStyle.MiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, 65535)
set_lvar_int_to_var_int 955@ = $RStickY
955@ += 999
940@ += 1

:TRIA_11614
if 
  940@ == 5
goto_if_false @TRIA_11712
if 
  is_int_var_greater_than_int_lvar $RStickY > 955@
goto_if_false @TRIA_11712
Text.PrintBig('RACES_6', 1100, TextStyle.MiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, 65535)
set_lvar_int_to_var_int 955@ = $RStickY
955@ += 999
940@ += 1

:TRIA_11712
if 
  940@ == 6
goto_if_false @TRIA_11939
if 
  is_int_var_greater_than_int_lvar $RStickY > 955@
goto_if_false @TRIA_11939
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TRIA_11939
Text.PrintBig('RACES_7', 800, TextStyle.MiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, 65535)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetAllCarsCanBeDamaged(True)
Camera.Restore
Hud.SwitchWidescreen(False)
Hud.DisplayCarNames(False)
set_lvar_int_to_var_int 767@ = $RStickY
set_lvar_int_to_lvar_int 762@ = 926@
762@ -= 1
759@ = 0

:TRIA_11861
if 
  is_int_lvar_greater_than_int_lvar 762@ > 759@
goto_if_false @TRIA_11925
if 
  not Car.IsDead(902@(759@,12i))
goto_if_false @TRIA_11911
Car.SetOnlyDamagedByPlayer(902@(759@,12i), False)

:TRIA_11911
759@ += 1
goto @TRIA_11861

:TRIA_11925
955@ = 0
940@ += 1

:TRIA_11939
if 
  940@ > 6
goto_if_false @TRIA_19352

:TRIA_11957
if 
  is_int_lvar_greater_than_int_lvar 926@ > 759@
goto_if_false @TRIA_18292
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @TRIA_18278
if 
  not Char.IsDead(914@(759@,12i))
goto_if_false @TRIA_14955
if 
  940@ == 8
goto_if_false @TRIA_14948
if 
  not is_int_lvar_equal_to_int_var 914@(759@,12i) == $stattreadstamina_ctr
goto_if_false @TRIA_14948
if 
  is_int_lvar_equal_to_int_lvar 927@(941@,12i) == 927@(759@,12i)
goto_if_false @TRIA_12195
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(914@(759@,12i))
957@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 854@(759@,12f), 866@(759@,12f))
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
790@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 854@(759@,12f), 866@(759@,12f))
if 
  is_float_lvar_greater_than_float_lvar 790@ > 957@
goto_if_false @TRIA_12188
942@ += 1

:TRIA_12188
goto @TRIA_12229

:TRIA_12195
if 
  is_int_lvar_greater_than_int_lvar 927@(759@,12i) > 927@(941@,12i)
goto_if_false @TRIA_12229
942@ += 1

:TRIA_12229
if 
  not Char.LocateAnyMeans2D(914@(759@,12i), 82@(759@,12f), 94@(759@,12f), 2.0, 2.0, False)
goto_if_false @TRIA_12445
82@(759@,12f), 94@(759@,12f), $in_carX = Char.GetCoordinates(914@(759@,12i))
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 819@
  is_int_lvar_greater_or_equal_to_int_lvar 821@ >= 927@(759@,12i)
goto_if_false @TRIA_12367
set_lvar_int_to_var_int 119@(759@,12i) = $RStickY
119@(759@,12i) += 1500
goto @TRIA_12445

:TRIA_12367
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 822@
goto_if_false @TRIA_12421
set_lvar_int_to_var_int 119@(759@,12i) = $RStickY
119@(759@,12i) += 1500
goto @TRIA_12445

:TRIA_12421
set_lvar_int_to_var_int 119@(759@,12i) = $RStickY
119@(759@,12i) += 4000

:TRIA_12445
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 826@
  is_int_lvar_greater_or_equal_to_int_lvar 827@ >= 927@(759@,12i)
goto_if_false @TRIA_12646
if 
  Char.IsPlayingAnim(914@(759@,12i), "SPRINT_PANIC")
goto_if_false @TRIA_12540
Char.SetAnimSpeed(914@(759@,12i), "SPRINT_PANIC", 781@)

:TRIA_12540
if 
  Char.IsPlayingAnim(914@(759@,12i), "RUN_CIVI")
goto_if_false @TRIA_12592
Char.SetAnimSpeed(914@(759@,12i), "RUN_CIVI", 781@)

:TRIA_12592
if 
  Char.IsPlayingAnim(914@(759@,12i), "WALK_CIVI")
goto_if_false @TRIA_12646
Char.SetAnimSpeed(914@(759@,12i), "WALK_CIVI", 781@)

:TRIA_12646
if 
  Char.LocateAnyMeans2D(914@(759@,12i), 82@(759@,12f), 94@(759@,12f), 3.0, 3.0, False)
goto_if_false @TRIA_14207
if 
  is_int_var_greater_than_int_lvar $RStickY > 119@(759@,12i)
goto_if_false @TRIA_14207
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 819@
  is_int_lvar_greater_or_equal_to_int_lvar 821@ >= 927@(759@,12i)
goto_if_false @TRIA_13226
if 
  Char.IsInWater(914@(759@,12i))
goto_if_false @TRIA_13203
set_lvar_float_to_lvar_float 785@ = 854@(759@,12f)
add_float_lvar_to_float_lvar 785@ += 695@(759@,12f)
set_lvar_float_to_lvar_float 786@ = 866@(759@,12f)
add_float_lvar_to_float_lvar 786@ += 707@(759@,12f)
if 
  is_int_lvar_greater_than_int_lvar 927@(759@,12i) > 819@
goto_if_false @TRIA_12988
if 
  3 <= 927@(759@,12i)
goto_if_false @TRIA_12945
731@(759@,12i) = Char.GetScriptTaskStatus(914@(759@,12i), 2017)
if 
  is_int_lvar_equal_to_constant 731@(759@,12i) == 7
goto_if_false @TRIA_12938
Task.SwimToCoord(914@(759@,12i), 785@, 786@, 878@(759@,12f))
Char.SetSwimSpeed(914@(759@,12i), 780@)

:TRIA_12938
goto @TRIA_12981

:TRIA_12945
Task.SwimToCoord(914@(759@,12i), 785@, 786@, 878@(759@,12f))
Char.SetSwimSpeed(914@(759@,12i), 2.2)

:TRIA_12981
goto @TRIA_13196

:TRIA_12988
if 
  not Char.IsOnScreen(914@(759@,12i))
goto_if_false @TRIA_13196
set_lvar_int_to_lvar_int 784@ = 927@(759@,12i)
784@ -= 1
if 
  not Camera.IsPointOnScreen(854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 10.0)
goto_if_false @TRIA_13196
Char.SetCoordinates(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f))
Char.SetHeading(914@(759@,12i), 503@(759@,120f))
Char.ClearTasks(914@(759@,12i))
731@(759@,12i) = Char.GetScriptTaskStatus(914@(759@,12i), 2017)
if 
  is_int_lvar_equal_to_constant 731@(759@,12i) == 7
goto_if_false @TRIA_13196
Task.SwimToCoord(914@(759@,12i), 785@, 786@, 878@(759@,12f))
Char.SetSwimSpeed(914@(759@,12i), 780@)

:TRIA_13196
goto @TRIA_13226

:TRIA_13203
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 821@
goto_if_false @TRIA_13226

:TRIA_13226
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 823@
  is_int_lvar_greater_or_equal_to_int_lvar 824@ >= 927@(759@,12i)
goto_if_false @TRIA_14064
if 
  not Car.IsDead(902@(759@,12i))
goto_if_false @TRIA_14064
switch_start 804@(759@,12i) {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @TRIA_13673 {caseNum1} 0 {caseLabel1} @TRIA_13348 {caseNum2} 1 {caseLabel2} @TRIA_13423 {caseNum3} -1 {caseLabel3} @TRIA_14064 {caseNum4} -1 {caseLabel4} @TRIA_14064 {caseNum5} -1 {caseLabel5} @TRIA_14064 {caseNum6} -1 {caseLabel6} @TRIA_14064 {caseNum7} -1 {caseLabel7} @TRIA_14064

:TRIA_13348
803@ = Sequence.Open()
Task.GoStraightToCoord(-1, 792@, 793@, 794@, MoveState.Sprint, -2)
Task.EnterCarAsDriver(-1, 902@(759@,12i), -2)
Sequence.Close(803@)
Char.PerformSequence(914@(759@,12i), 803@)
Sequence.Clear(803@)
804@(759@,12i) = 1
goto @TRIA_14064

:TRIA_13423
if 
  not Char.IsOnScreen(914@(759@,12i))
goto_if_false @TRIA_13666
if 
  not Camera.IsPointOnScreen(854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 10.0)
goto_if_false @TRIA_13666
if 
  not Char.IsInCar(914@(759@,12i), 902@(759@,12i))
goto_if_false @TRIA_13666
if 
  not Car.IsOnScreen(902@(759@,12i))
goto_if_false @TRIA_13666
if 
  not Char.IsInAnyCar(914@(759@,12i))
goto_if_false @TRIA_13666
798@ = Car.GetDriver(902@(759@,12i))
if 
  798@ == -1
goto_if_false @TRIA_13666
set_lvar_int_to_lvar_int 784@ = 927@(759@,12i)
784@ -= 1
Char.WarpIntoCar(914@(759@,12i), 902@(759@,12i))
Task.CarDriveToCoord(914@(759@,12i), -1, 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 779@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)
804@(759@,12i) = 2

:TRIA_13666
goto @TRIA_14064

:TRIA_13673
if 
  not Char.IsOnScreen(914@(759@,12i))
goto_if_false @TRIA_14057
if 
  not Camera.IsPointOnScreen(854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 10.0)
goto_if_false @TRIA_14057
if 
  not Car.IsOnScreen(902@(759@,12i))
goto_if_false @TRIA_14057
798@ = Car.GetDriver(902@(759@,12i))
if 
  798@ == -1
goto_if_false @TRIA_14057
731@(759@,12i) = Char.GetScriptTaskStatus(914@(759@,12i), 1489)
set_lvar_int_to_lvar_int 784@ = 927@(759@,12i)
784@ -= 1
if 
  is_int_lvar_equal_to_constant 731@(759@,12i) == 7
goto_if_false @TRIA_14057
if 
  not Char.IsInCar(914@(759@,12i), 902@(759@,12i))
goto_if_false @TRIA_13963
798@ = Car.GetDriver(902@(759@,12i))
if 
  798@ == -1
goto_if_false @TRIA_13956
Char.WarpIntoCar(914@(759@,12i), 902@(759@,12i))
Task.CarDriveToCoord(914@(759@,12i), -1, 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 779@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)

:TRIA_13956
goto @TRIA_14057

:TRIA_13963
Char.SetCoordinates(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f))
Car.TurnToFaceCoord(902@(759@,12i), 854@(759@,12f), 866@(759@,12f))
Task.CarDriveToCoord(914@(759@,12i), -1, 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 779@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)

:TRIA_14057
goto @TRIA_14064

:TRIA_14064
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 826@
  is_int_lvar_greater_or_equal_to_int_lvar 827@ >= 927@(759@,12i)
goto_if_false @TRIA_14207
if 
  not Char.IsOnScreen(914@(759@,12i))
goto_if_false @TRIA_14207
if 
  not Camera.IsPointOnScreen(854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 10.0)
goto_if_false @TRIA_14207
set_lvar_int_to_lvar_int 784@ = 927@(759@,12i)
784@ -= 1
Char.SetCoordinates(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f))

:TRIA_14207
if 
  Char.IsInAnyCar(914@(759@,12i))
goto_if_false @TRIA_14258
set_lvar_int_to_lvar_int 762@ = 927@(941@,12i)
762@ += 5
768@ = Char.StoreCarIsInNoSave(914@(759@,12i))

:TRIA_14258
758@ = 0
761@ = 0

:TRIA_14272
if 
  is_int_lvar_greater_than_int_lvar 926@ > 758@
goto_if_false @TRIA_14354
set_lvar_int_to_lvar_int 958@ = 927@(758@,12i)
958@ -= 2
if 
  is_int_lvar_greater_than_int_lvar 958@ > 927@(759@,12i)
goto_if_false @TRIA_14340
761@ += 1

:TRIA_14340
758@ += 1
goto @TRIA_14272

:TRIA_14354
if 
  761@ > 0
goto_if_false @TRIA_14948
set_lvar_int_to_lvar_int 784@ = 927@(759@,12i)
784@ -= 1
if 
  not Char.IsDead(914@(759@,12i))
goto_if_false @TRIA_14948
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 914@(759@,12i), 30.0, 30.0, 30.0, False)
goto_if_false @TRIA_14948
if 
  not Char.IsOnScreen(914@(759@,12i))
goto_if_false @TRIA_14948
if 
  not World.IsPointObscuredByAMissionEntity(854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 4.0, 4.0, 3.0)
goto_if_false @TRIA_14948
if 
  not Camera.IsPointOnScreen(854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 4.0)
goto_if_false @TRIA_14948
Char.SetCoordinates(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f))
Char.ClearTasks(914@(759@,12i))
731@(759@,12i) = Char.GetScriptTaskStatus(914@(759@,12i), 1489)
if 
  is_int_lvar_equal_to_constant 731@(759@,12i) == 7
goto_if_false @TRIA_14948
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 823@
  is_int_lvar_greater_or_equal_to_int_lvar 824@ >= 927@(759@,12i)
goto_if_false @TRIA_14948
if 
  Char.IsInAnyCar(914@(759@,12i))
goto_if_false @TRIA_14766
768@ = Char.StoreCarIsInNoSave(914@(759@,12i))
Car.SetHeading(768@, 503@(759@,120f))
Task.CarDriveToCoord(914@(759@,12i), -1, 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 779@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)
goto @TRIA_14948

:TRIA_14766
if 
  not Car.IsDead(902@(759@,12i))
goto_if_false @TRIA_14948
if 
  not Char.IsInCar(914@(759@,12i), 902@(759@,12i))
goto_if_false @TRIA_14948
if 
  not Char.IsInCar($stattreadstamina_ctr, 902@(759@,12i))
goto_if_false @TRIA_14948
798@ = Car.GetDriver(902@(759@,12i))
if 
  798@ == -1
goto_if_false @TRIA_14948
Char.ClearTasks(914@(759@,12i))
Char.WarpIntoCar(914@(759@,12i), 902@(759@,12i))
Car.SetHeading(902@(759@,12i), 503@(759@,120f))
Task.CarDriveToCoord(914@(759@,12i), -1, 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 779@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)

:TRIA_14948
goto @TRIA_15057

:TRIA_14955
if and
  Char.HasBeenDamagedByChar(914@(759@,12i), $stattreadstamina_ctr)
  Char.IsDead(914@(759@,12i))
goto_if_false @TRIA_15057
if 
  not Car.IsDead(902@(941@,12i))
goto_if_false @TRIA_15057
if 
  not Char.HasBeenDamagedByCar(914@(759@,12i), 902@(941@,12i))
goto_if_false @TRIA_15057
Text.PrintNow('RACES25', 5000, 1)
goto @TRIA_22646

:TRIA_15057
if 
  not Char.IsDead(914@(759@,12i))
goto_if_false @TRIA_16451
if 
  is_int_lvar_equal_to_int_var 914@(759@,12i) == $stattreadstamina_ctr
goto_if_false @TRIA_15199
if 
  782@ == 0
goto_if_false @TRIA_15199
if 
  not Char.LocateAnyMeans3D(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 600.0, 600.0, 600.0, False)
goto_if_false @TRIA_15199
Text.PrintNow('RACES25', 5000, 1)
goto @TRIA_22646

:TRIA_15199
if 
  is_int_lvar_greater_than_int_lvar 927@(759@,12i) > 827@
goto_if_false @TRIA_15305
if 
  746@(759@,12i) == 0
goto_if_false @TRIA_15305
803@ = Sequence.Open()
Task.GoStraightToCoord(-1, 743@, 744@, 745@, MoveState.Sprint, -2)
Task.Tired(-1, -2)
Sequence.Close(803@)
Char.PerformSequence(914@(759@,12i), 803@)
Sequence.Clear(803@)
746@(759@,12i) = 1

:TRIA_15305
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 826@
  is_int_lvar_greater_or_equal_to_int_lvar 827@ >= 927@(759@,12i)
goto_if_false @TRIA_15709
if 
  Char.LocateAnyMeans3D(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 8.0, 8.0, 5.0, False)
goto_if_false @TRIA_15709
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 826@
goto_if_false @TRIA_15435
goto @TRIA_19427
goto @TRIA_15483

:TRIA_15435
731@(759@,12i) = Char.GetScriptTaskStatus(914@(759@,12i), 2606)
if 
  is_int_lvar_equal_to_constant 731@(759@,12i) == 7
goto_if_false @TRIA_15483
goto @TRIA_19427

:TRIA_15483
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 828@
goto_if_false @TRIA_15709
if 
  is_int_lvar_equal_to_int_var 914@(759@,12i) == $stattreadstamina_ctr
goto_if_false @TRIA_15598
942@ += 1
if 
  1 >= 942@
goto_if_false @TRIA_15568
goto @TRIA_22664
goto @TRIA_15591

:TRIA_15568
Text.PrintNow('RACES_8', 5000, 1)
goto @TRIA_22646

:TRIA_15591
goto @TRIA_15709

:TRIA_15598
Task.CarTempAction(914@(759@,12i), -1, TempAction.HandbrakeStraight, 2000000)
set_lvar_int_to_lvar_int 784@ = 927@(759@,12i)
784@ -= 1
if 
  not Camera.IsPointOnScreen(854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 30.0)
goto_if_false @TRIA_15709
if 
  not Car.IsDead(768@)
goto_if_false @TRIA_15709
Car.TurnToFaceCoord(768@, 143@(759@,120f), 263@(759@,120f))

:TRIA_15709
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 821@
  is_int_lvar_greater_or_equal_to_int_lvar 824@ >= 927@(759@,12i)
goto_if_false @TRIA_16274
if 
  is_int_lvar_equal_to_int_var 914@(759@,12i) == $stattreadstamina_ctr
goto_if_false @TRIA_16116
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 823@
  is_int_lvar_greater_or_equal_to_int_lvar 824@ >= 927@(759@,12i)
goto_if_false @TRIA_15967
if 
  Char.LocateInCar3D(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 40.0, 40.0, 40.0, False)
goto_if_false @TRIA_15960
set_lvar_int_to_lvar_int 765@ = 823@
765@ += 1
if 
  is_int_lvar_greater_than_int_lvar 927@(759@,12i) > 765@
goto_if_false @TRIA_15953
731@(759@,12i) = Char.GetScriptTaskStatus(914@(759@,12i), 1489)
if 
  is_int_lvar_equal_to_constant 731@(759@,12i) == 7
goto_if_false @TRIA_15946
goto @TRIA_19427

:TRIA_15946
goto @TRIA_15960

:TRIA_15953
goto @TRIA_19427

:TRIA_15960
goto @TRIA_16109

:TRIA_15967
if 
  Char.LocateAnyMeans3D(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 8.0, 8.0, 5.0, False)
goto_if_false @TRIA_16109
if 
  2 > 927@(759@,12i)
goto_if_false @TRIA_16102
731@(759@,12i) = Char.GetScriptTaskStatus(914@(759@,12i), 2017)
if 
  is_int_lvar_equal_to_constant 731@(759@,12i) == 7
goto_if_false @TRIA_16095
goto @TRIA_19427

:TRIA_16095
goto @TRIA_16109

:TRIA_16102
goto @TRIA_19427

:TRIA_16109
goto @TRIA_16274

:TRIA_16116
if 
  Char.LocateInCar3D(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 40.0, 40.0, 40.0, False)
goto_if_false @TRIA_16274
set_lvar_int_to_lvar_int 765@ = 823@
765@ += 1
if 
  is_int_lvar_greater_than_int_lvar 927@(759@,12i) > 765@
goto_if_false @TRIA_16267
731@(759@,12i) = Char.GetScriptTaskStatus(914@(759@,12i), 1489)
if 
  is_int_lvar_equal_to_constant 731@(759@,12i) == 7
goto_if_false @TRIA_16260
goto @TRIA_19427

:TRIA_16260
goto @TRIA_16274

:TRIA_16267
goto @TRIA_19427

:TRIA_16274
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 819@
  is_int_lvar_greater_than_int_lvar 821@ > 927@(759@,12i)
goto_if_false @TRIA_16451
if 
  Char.LocateAnyMeans3D(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 8.0, 8.0, 5.0, False)
goto_if_false @TRIA_16451
if 
  2 > 927@(759@,12i)
goto_if_false @TRIA_16444
731@(759@,12i) = Char.GetScriptTaskStatus(914@(759@,12i), 2017)
if 
  is_int_lvar_equal_to_constant 731@(759@,12i) == 7
goto_if_false @TRIA_16437
goto @TRIA_19427

:TRIA_16437
goto @TRIA_16451

:TRIA_16444
goto @TRIA_19427

:TRIA_16451
if 
  is_int_lvar_equal_to_int_var 914@(759@,12i) == $stattreadstamina_ctr
goto_if_false @TRIA_18278
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 823@
  is_int_lvar_greater_or_equal_to_int_lvar 824@ >= 927@(759@,12i)
goto_if_false @TRIA_17264
if 
  not Car.IsDead(902@(941@,12i))
goto_if_false @TRIA_17239
if 
  not Char.IsInCar($stattreadstamina_ctr, 902@(941@,12i))
goto_if_false @TRIA_16939
if 
  782@ == 0
goto_if_false @TRIA_16664
Checkpoint.Delete(963@)
Blip.Remove(939@)
if 
  not Car.IsDead(902@(941@,12i))
goto_if_false @TRIA_16619
939@ = Blip.AddForCar(902@(941@,12i))
Blip.SetAsFriendly(939@, True)

:TRIA_16619
set_lvar_int_to_lvar_int 799@ = 759@
866@(759@,12f) += 1000.0
set_lvar_int_to_var_int 800@ = $RStickY
800@ += 25400
782@ = 1

:TRIA_16664
set_lvar_int_to_lvar_int 764@ = 800@
sub_int_var_from_int_lvar 764@ -= $RStickY
764@ /= 1000
if 
  1 > 764@
goto_if_false @TRIA_16713
764@ = 0

:TRIA_16713
if 
  is_int_var_greater_than_int_lvar $RStickY > 800@
goto_if_false @TRIA_16757
Text.PrintNow('RACES20', 5000, 1)
goto @TRIA_22646
return 

:TRIA_16757
Text.AddNextMessageToPreviousBriefs(False)
if 
  764@ == 1
goto_if_false @TRIA_16805
Text.PrintWithNumberNow('RACE_51', 764@, 200, 1)
goto @TRIA_16824

:TRIA_16805
Text.PrintWithNumberNow('RACES50', 764@, 200, 1)

:TRIA_16824
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 828@
goto_if_false @TRIA_16932
if 
  is_int_lvar_equal_to_int_var 914@(759@,12i) == $stattreadstamina_ctr
goto_if_false @TRIA_16932
942@ += 1
if 
  1 >= 942@
goto_if_false @TRIA_16909
goto @TRIA_22664
goto @TRIA_16932

:TRIA_16909
Text.PrintNow('RACES_8', 5000, 1)
goto @TRIA_22646

:TRIA_16932
goto @TRIA_17232

:TRIA_16939
if 
  782@ == 1
goto_if_false @TRIA_17232
Text.ClearThisPrint('RACES50')
Blip.Remove(939@)
866@(759@,12f) -= 1000.0
760@ = 0
set_lvar_int_to_lvar_int 762@ = 118@
762@ -= 1
939@ = Blip.AddForCoord(854@(799@,12f), 866@(799@,12f), 878@(799@,12f))
Blip.ChangeColor(939@, BlipColor.Red)
Blip.ChangeDisplay(939@, BlipDisplay.BlipOnly)
Blip.ChangeScale(939@, 3)
if 
  is_int_lvar_equal_to_int_lvar 927@(799@,12i) == 853@
goto_if_false @TRIA_17134
963@ = Checkpoint.Create(CheckpointType.TubeEnd, 854@(799@,12f), 866@(799@,12f), 878@(799@,12f), 0.0, 0.0, 0.0, 6.0)
goto @TRIA_17225

:TRIA_17134
set_lvar_int_to_lvar_int 762@ = 927@(799@,12i)
762@ += 1
if 
  is_int_lvar_equal_to_int_lvar 927@(799@,12i) == 853@
goto_if_false @TRIA_17183
762@ = 1

:TRIA_17183
963@ = Checkpoint.Create(CheckpointType.TubeArrow, 854@(799@,12f), 866@(799@,12f), 878@(799@,12f), 960@, 961@, 962@, 6.0)

:TRIA_17225
782@ = 0

:TRIA_17232
goto @TRIA_17264

:TRIA_17239
Text.PrintNow('RACES24', 5000, 1)
goto @TRIA_22646
return 

:TRIA_17264
set_lvar_int_to_lvar_int 765@ = 826@
765@ += 1
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 826@
  is_int_lvar_greater_than_int_lvar 765@ > 927@(759@,12i)
goto_if_false @TRIA_17628
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TRIA_17621
if 
  782@ == 0
goto_if_false @TRIA_17454
902@(941@,12i) = Char.StoreCarIsIn($stattreadstamina_ctr)
Checkpoint.Delete(963@)
Blip.Remove(939@)
if 
  not Car.IsDead(902@(941@,12i))
goto_if_false @TRIA_17409
939@ = Blip.AddForCar(902@(941@,12i))
Blip.SetAsFriendly(939@, True)

:TRIA_17409
set_lvar_int_to_lvar_int 799@ = 759@
866@(759@,12f) += 1000.0
set_lvar_int_to_var_int 800@ = $RStickY
800@ += 25400
782@ = 1

:TRIA_17454
set_lvar_int_to_lvar_int 764@ = 800@
sub_int_var_from_int_lvar 764@ -= $RStickY
764@ /= 1000
if 
  1 > 764@
goto_if_false @TRIA_17503
764@ = 0

:TRIA_17503
if 
  is_int_var_greater_than_int_lvar $RStickY > 800@
goto_if_false @TRIA_17547
Text.PrintNow('RACES25', 5000, 1)
goto @TRIA_22646
return 

:TRIA_17547
Text.AddNextMessageToPreviousBriefs(False)
if 
  764@ == 1
goto_if_false @TRIA_17595
Text.PrintWithNumberNow('RACE_49', 764@, 200, 1)
goto @TRIA_17614

:TRIA_17595
Text.PrintWithNumberNow('RACES48', 764@, 200, 1)

:TRIA_17614
goto @TRIA_17628

:TRIA_17621
gosub @TRIA_22351

:TRIA_17628
set_lvar_int_to_lvar_int 765@ = 826@
765@ += 1
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 765@
  is_int_lvar_greater_or_equal_to_int_lvar 827@ >= 927@(759@,12i)
goto_if_false @TRIA_18278
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @TRIA_17985
if 
  782@ == 0
goto_if_false @TRIA_17818
902@(941@,12i) = Char.StoreCarIsIn($stattreadstamina_ctr)
Checkpoint.Delete(963@)
Blip.Remove(939@)
if 
  not Car.IsDead(902@(941@,12i))
goto_if_false @TRIA_17773
939@ = Blip.AddForCar(902@(941@,12i))
Blip.SetAsFriendly(939@, True)

:TRIA_17773
set_lvar_int_to_lvar_int 799@ = 759@
866@(759@,12f) += 1000.0
set_lvar_int_to_var_int 800@ = $RStickY
800@ += 5000
782@ = 1

:TRIA_17818
set_lvar_int_to_lvar_int 764@ = 800@
sub_int_var_from_int_lvar 764@ -= $RStickY
764@ /= 1000
if 
  1 > 764@
goto_if_false @TRIA_17867
764@ = 0

:TRIA_17867
if 
  is_int_var_greater_than_int_lvar $RStickY > 800@
goto_if_false @TRIA_17911
Text.PrintNow('RACES25', 5000, 1)
goto @TRIA_22646
return 

:TRIA_17911
Text.AddNextMessageToPreviousBriefs(False)
if 
  764@ == 1
goto_if_false @TRIA_17959
Text.PrintWithNumberNow('RACE_49', 764@, 200, 1)
goto @TRIA_17978

:TRIA_17959
Text.PrintWithNumberNow('RACES48', 764@, 200, 1)

:TRIA_17978
goto @TRIA_18278

:TRIA_17985
if 
  782@ == 1
goto_if_false @TRIA_18278
Text.ClearThisPrint('RACES48')
Blip.Remove(939@)
866@(759@,12f) -= 1000.0
760@ = 0
set_lvar_int_to_lvar_int 762@ = 118@
762@ -= 1
939@ = Blip.AddForCoord(854@(799@,12f), 866@(799@,12f), 878@(799@,12f))
Blip.ChangeColor(939@, BlipColor.Red)
Blip.ChangeDisplay(939@, BlipDisplay.BlipOnly)
Blip.ChangeScale(939@, 3)
if 
  is_int_lvar_equal_to_int_lvar 927@(799@,12i) == 853@
goto_if_false @TRIA_18180
963@ = Checkpoint.Create(CheckpointType.TubeEnd, 854@(799@,12f), 866@(799@,12f), 878@(799@,12f), 0.0, 0.0, 0.0, 6.0)
goto @TRIA_18271

:TRIA_18180
set_lvar_int_to_lvar_int 762@ = 927@(799@,12i)
762@ += 1
if 
  is_int_lvar_equal_to_int_lvar 927@(799@,12i) == 853@
goto_if_false @TRIA_18229
762@ = 1

:TRIA_18229
963@ = Checkpoint.Create(CheckpointType.TubeArrow, 854@(799@,12f), 866@(799@,12f), 878@(799@,12f), 960@, 961@, 962@, 6.0)

:TRIA_18271
782@ = 0

:TRIA_18278
759@ += 1
goto @TRIA_11957

:TRIA_18292
Hud.DrawRect(40@, 52@, 64@, 76@, 0, 0, 0, 255)
Hud.DrawRect(39@, 51@, 63@, 75@, 134, 155, 184, 255)
Hud.DrawRect(34@, 46@, 58@, 70@, 0, 0, 0, 255)
942@ += 1
gosub @TRIA_19359
Text.SetScale(59@, 71@)
if 
  942@ == 1
goto_if_false @TRIA_18421
Text.Display(35@, 47@, 'ST')

:TRIA_18421
if 
  942@ == 2
goto_if_false @TRIA_18456
Text.Display(35@, 47@, 'ND')

:TRIA_18456
if 
  942@ == 3
goto_if_false @TRIA_18491
Text.Display(35@, 47@, 'RD')

:TRIA_18491
if 
  942@ > 3
goto_if_false @TRIA_18526
Text.Display(35@, 47@, 'TH')

:TRIA_18526
if 
  7 >= 942@
goto_if_false @TRIA_18795
set_lvar_float_to_lvar_float 779@ = 770@
set_lvar_float_to_lvar_float 780@ = 773@
set_lvar_float_to_lvar_float 781@ = 776@
if 
  $animframe == 2
goto_if_false @TRIA_18651
if or
  927@(759@,12i) == 19
  927@(759@,12i) == 20
  927@(759@,12i) == 37
  927@(759@,12i) == 38
goto_if_false @TRIA_18651
779@ = 20.0

:TRIA_18651
if 
  $animframe == 2
goto_if_false @TRIA_18723
if or
  927@(759@,12i) == 69
  927@(759@,12i) == 70
  927@(759@,12i) == 71
goto_if_false @TRIA_18723
779@ = 20.0

:TRIA_18723
if 
  $animframe == 2
goto_if_false @TRIA_18795
if or
  927@(759@,12i) == 89
  927@(759@,12i) == 90
  927@(759@,12i) == 91
goto_if_false @TRIA_18795
779@ = 20.0

:TRIA_18795
if and
  942@ > 7
  9 > 942@
goto_if_false @TRIA_19071
set_lvar_float_to_lvar_float 779@ = 771@
set_lvar_float_to_lvar_float 780@ = 774@
set_lvar_float_to_lvar_float 781@ = 777@
if 
  $animframe == 2
goto_if_false @TRIA_18927
if or
  927@(759@,12i) == 19
  927@(759@,12i) == 20
  927@(759@,12i) == 37
  927@(759@,12i) == 38
goto_if_false @TRIA_18927
779@ = 20.0

:TRIA_18927
if 
  $animframe == 2
goto_if_false @TRIA_18999
if or
  927@(759@,12i) == 69
  927@(759@,12i) == 70
  927@(759@,12i) == 71
goto_if_false @TRIA_18999
779@ = 20.0

:TRIA_18999
if 
  $animframe == 2
goto_if_false @TRIA_19071
if or
  927@(759@,12i) == 91
  927@(759@,12i) == 92
  927@(759@,12i) == 93
goto_if_false @TRIA_19071
779@ = 20.0

:TRIA_19071
if 
  942@ == 9
goto_if_false @TRIA_19113
set_lvar_float_to_lvar_float 779@ = 772@
set_lvar_float_to_lvar_float 780@ = 775@
set_lvar_float_to_lvar_float 781@ = 778@

:TRIA_19113
gosub @TRIA_19359
Text.SetScale(60@, 72@)
Text.SetCenter(True)
Text.DisplayWithNumber(36@, 48@, 'NUMBER', 942@)
gosub @TRIA_19359
Text.SetScale(61@, 73@)
Text.DisplayWithNumber(37@, 49@, 'OUT_OF', 118@)
$RStickY = Clock.GetGameTimer()
set_lvar_int_to_var_int 959@ = $RStickY
sub_int_lvar_from_int_lvar 959@ -= 767@
959@ /= 1000
set_lvar_int_to_lvar_int 763@ = 959@
763@ /= 60
set_lvar_int_to_lvar_int 762@ = 763@
762@ *= 60
set_lvar_int_to_lvar_int 764@ = 959@
sub_int_lvar_from_int_lvar 764@ -= 762@
gosub @TRIA_19359
Text.SetCenter(True)
Text.SetScale(62@, 74@)
if 
  764@ > 9
goto_if_false @TRIA_19329
Text.DisplayWith2Numbers(38@, 50@, 'TIME', 763@, 764@)
goto @TRIA_19352

:TRIA_19329
Text.DisplayWith2Numbers(38@, 50@, 'TIME_0', 763@, 764@)

:TRIA_19352
goto @TRIA_9033

:TRIA_19359
Text.SetColor(180, 180, 180, 255)
Text.SetScale(0.6146, 2.4961)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
Text.SetDropshadow(2, 0, 0, 0, 180)
return 

:TRIA_19427
if 
  940@ == 7
goto_if_false @TRIA_19452
940@ = 8

:TRIA_19452
927@(759@,12i) += 1
set_lvar_int_to_lvar_int 762@ = 927@(759@,12i)
set_lvar_float_to_lvar_float 854@(759@,12f) = 143@(762@,120f)
set_lvar_float_to_lvar_float 866@(759@,12f) = 263@(762@,120f)
set_lvar_float_to_lvar_float 878@(759@,12f) = 383@(762@,120f)
if 
  is_int_lvar_equal_to_int_var 914@(759@,12i) == $stattreadstamina_ctr
goto_if_false @TRIA_21486
if 
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 828@
goto_if_false @TRIA_19631
942@ += 1
if 
  1 >= 942@
goto_if_false @TRIA_19608
goto @TRIA_22664
goto @TRIA_19631

:TRIA_19608
Text.PrintNow('RACES_8', 5000, 1)
goto @TRIA_22646

:TRIA_19631
if 
  817@ == 0
goto_if_false @TRIA_19690
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 820@
goto_if_false @TRIA_19690
Text.PrintHelp('TRAI2')
817@ = 1

:TRIA_19690
if 
  817@ == 1
goto_if_false @TRIA_19749
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 822@
goto_if_false @TRIA_19749
Text.PrintHelp('TRAI3')
817@ = 2

:TRIA_19749
if 
  817@ == 2
goto_if_false @TRIA_19808
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 826@
goto_if_false @TRIA_19808
Text.PrintHelp('TRAI4')
817@ = 3

:TRIA_19808
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(939@)
762@ += 1
set_lvar_float_to_lvar_float 960@ = 143@(762@,120f)
set_lvar_float_to_lvar_float 961@ = 263@(762@,120f)
set_lvar_float_to_lvar_float 962@ = 383@(762@,120f)
939@ = Blip.AddForCoord(854@(759@,12f), 866@(759@,12f), 878@(759@,12f))
Blip.ChangeColor(939@, BlipColor.Red)
Blip.ChangeDisplay(939@, BlipDisplay.BlipOnly)
Blip.ChangeScale(939@, 3)
if 
  940@ == 1
goto_if_false @TRIA_19983
963@ = Checkpoint.Create(CheckpointType.TubeArrow, 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 960@, 961@, 962@, 6.0)

:TRIA_19983
Checkpoint.Delete(963@)
if 
  is_int_lvar_greater_than_int_lvar 853@ > 927@(759@,12i)
goto_if_false @TRIA_20060
963@ = Checkpoint.Create(CheckpointType.TubeArrow, 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 960@, 961@, 962@, 6.0)
goto @TRIA_20102

:TRIA_20060
963@ = Checkpoint.Create(CheckpointType.TubeEnd, 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 960@, 961@, 962@, 6.0)

:TRIA_20102
if 
  927@(759@,12i) == 3
goto_if_false @TRIA_20177
Char.Delete(954@)
765@ = 0

:TRIA_20136
if 
  765@ <= 10
goto_if_false @TRIA_20177
Char.Delete(943@(765@,11i))
765@ += 1
goto @TRIA_20136

:TRIA_20177
set_lvar_int_to_lvar_int 762@ = 824@
762@ -= 3
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 762@
goto_if_false @TRIA_21092
768@ = Car.Create(841@, 143@(825@,120f), 263@(825@,120f), 383@(825@,120f))
set_lvar_int_to_lvar_int 762@ = 824@
762@ -= 1
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -4.0435, 6.5755, 0.8)
954@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(954@, 143@(762@,120f), 263@(824@,120f), 383@(824@,120f))
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -5.6392, 2.9435, 0.8)
943@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(943@, 143@(762@,120f), 263@(824@,120f), 383@(824@,120f))
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -6.0071, -2.0778, 0.8)
944@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(944@, 143@(762@,120f), 263@(762@,120f), 383@(762@,120f))
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -7.6039, -5.0807, 0.8)
945@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(945@, 143@(762@,120f), 263@(762@,120f), 383@(762@,120f))
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -7.0724, -6.4057, 0.8)
946@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(946@, 143@(762@,120f), 263@(762@,120f), 383@(762@,120f))
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, -5.9988, -13.553, 0.8)
947@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(947@, 143@(762@,120f), 263@(762@,120f), 383@(762@,120f))
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 6.073, -15.2059, 0.8)
948@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(948@, 143@(762@,120f), 263@(762@,120f), 383@(762@,120f))
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 7.2639, -12.9933, 0.8)
949@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(949@, 143@(762@,120f), 263@(762@,120f), 383@(762@,120f))
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 5.8429, -7.7069, 0.8)
950@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(950@, 143@(762@,120f), 263@(762@,120f), 383@(762@,120f))
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 8.4135, -3.7971, 0.8)
951@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(951@, 143@(762@,120f), 263@(762@,120f), 383@(762@,120f))
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 6.2507, 0.3634, 0.8)
952@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(952@, 143@(762@,120f), 263@(762@,120f), 383@(762@,120f))
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(768@, 8.6397, 2.419, 0.8)
953@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(953@, 143@(762@,120f), 263@(762@,120f), 383@(762@,120f))
Car.Delete(768@)

:TRIA_21092
set_lvar_int_to_lvar_int 765@ = 824@
765@ += 2
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 765@
goto_if_false @TRIA_21190
Char.MarkAsNoLongerNeeded(954@)
Char.MarkAsNoLongerNeeded(943@)
Char.MarkAsNoLongerNeeded(944@)
Char.MarkAsNoLongerNeeded(945@)
Char.MarkAsNoLongerNeeded(946@)
Char.MarkAsNoLongerNeeded(947@)
Char.MarkAsNoLongerNeeded(948@)
Char.MarkAsNoLongerNeeded(949@)
Char.MarkAsNoLongerNeeded(950@)
Char.MarkAsNoLongerNeeded(951@)
Char.MarkAsNoLongerNeeded(952@)
Char.MarkAsNoLongerNeeded(953@)

:TRIA_21190
if 
  927@(759@,12i) == 21
goto_if_false @TRIA_21243
if 
  not Car.IsDead(902@(941@,12i))
goto_if_false @TRIA_21243
Car.SetWatertight(902@(941@,12i), True)

:TRIA_21243
if 
  927@(759@,12i) == 22
goto_if_false @TRIA_21296
if 
  not Car.IsDead(902@(941@,12i))
goto_if_false @TRIA_21296
Car.SetWatertight(902@(941@,12i), False)

:TRIA_21296
set_lvar_int_to_lvar_int 765@ = 826@
765@ += 2
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 765@
goto_if_false @TRIA_21394
Char.MarkAsNoLongerNeeded(954@)
Char.MarkAsNoLongerNeeded(943@)
Char.MarkAsNoLongerNeeded(944@)
Char.MarkAsNoLongerNeeded(945@)
Char.MarkAsNoLongerNeeded(946@)
Char.MarkAsNoLongerNeeded(947@)
Char.MarkAsNoLongerNeeded(948@)
Char.MarkAsNoLongerNeeded(949@)
Char.MarkAsNoLongerNeeded(950@)
Char.MarkAsNoLongerNeeded(951@)
Char.MarkAsNoLongerNeeded(952@)
Char.MarkAsNoLongerNeeded(953@)

:TRIA_21394
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 826@
goto_if_false @TRIA_21479
if 
  not Car.IsDead(902@(941@,12i))
goto_if_false @TRIA_21479
if 
  Char.IsInCar($stattreadstamina_ctr, 902@(941@,12i))
goto_if_false @TRIA_21479
Task.CarTempAction($stattreadstamina_ctr, 902@(941@,12i), TempAction.HandbrakeStraight, 2000000)

:TRIA_21479
goto @TRIA_22344

:TRIA_21486
if 
  not is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 828@
goto_if_false @TRIA_22344
Char.ClearTasks(914@(759@,12i))
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 820@
goto_if_false @TRIA_21744
Task.GoStraightToCoord(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@, MoveState.Sprint, -2)
if 
  Char.IsPlayingAnim(914@(759@,12i), "SPRINT_PANIC")
goto_if_false @TRIA_21631
Char.SetAnimSpeed(914@(759@,12i), "SPRINT_PANIC", 781@)

:TRIA_21631
if 
  Char.IsPlayingAnim(914@(759@,12i), "RUN_CIVI")
goto_if_false @TRIA_21683
Char.SetAnimSpeed(914@(759@,12i), "RUN_CIVI", 781@)

:TRIA_21683
if 
  Char.IsPlayingAnim(914@(759@,12i), "WALK_CIVI")
goto_if_false @TRIA_21737
Char.SetAnimSpeed(914@(759@,12i), "WALK_CIVI", 781@)

:TRIA_21737
goto @TRIA_16451

:TRIA_21744
if and
  is_int_lvar_greater_than_int_lvar 927@(759@,12i) > 820@
  is_int_lvar_greater_or_equal_to_int_lvar 821@ >= 927@(759@,12i)
goto_if_false @TRIA_22080
if 
  Char.IsInWater(914@(759@,12i))
goto_if_false @TRIA_22021
set_lvar_float_to_lvar_float 785@ = 854@(759@,12f)
add_float_lvar_to_float_lvar 785@ += 695@(759@,12f)
set_lvar_float_to_lvar_float 786@ = 866@(759@,12f)
add_float_lvar_to_float_lvar 786@ += 707@(759@,12f)
Task.SwimToCoord(914@(759@,12i), 785@, 786@, 878@(759@,12f))
Char.SetSwimSpeed(914@(759@,12i), 780@)
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 821@
goto_if_false @TRIA_22014
if 
  804@(759@,12i) == 0
goto_if_false @TRIA_22014
if 
  not Car.IsDead(902@(759@,12i))
goto_if_false @TRIA_22014
803@ = Sequence.Open()
Task.GoStraightToCoord(-1, 792@, 793@, 794@, MoveState.Sprint, -2)
Task.EnterCarAsDriver(-1, 902@(759@,12i), -2)
Sequence.Close(803@)
Char.PerformSequence(914@(759@,12i), 803@)
Sequence.Clear(803@)
804@(759@,12i) = 1

:TRIA_22014
goto @TRIA_22073

:TRIA_22021
if 
  927@(759@,12i) == 2
goto_if_false @TRIA_22073
Task.GoStraightToCoord(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@, MoveState.Sprint, -2)

:TRIA_22073
goto @TRIA_16451

:TRIA_22080
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 823@
  is_int_lvar_greater_or_equal_to_int_lvar 824@ >= 927@(759@,12i)
goto_if_false @TRIA_22185
if 
  804@(759@,12i) > 0
goto_if_false @TRIA_22178
Task.CarDriveToCoord(914@(759@,12i), -1, 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 779@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)

:TRIA_22178
goto @TRIA_16451

:TRIA_22185
if and
  is_int_lvar_greater_or_equal_to_int_lvar 927@(759@,12i) >= 826@
  is_int_lvar_greater_or_equal_to_int_lvar 827@ >= 927@(759@,12i)
goto_if_false @TRIA_22344
if 
  is_int_lvar_equal_to_int_lvar 927@(759@,12i) == 826@
goto_if_false @TRIA_22284
Task.GoStraightToCoord(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), MoveState.Sprint, -2)
goto @TRIA_22337

:TRIA_22284
Char.SetFollowNodeThresholdDistance(914@(759@,12i), 20.0)
Task.FollowPathNodesToCoordWithRadius(914@(759@,12i), 854@(759@,12f), 866@(759@,12f), 878@(759@,12f), 7, -2, 8.0)

:TRIA_22337
goto @TRIA_16451

:TRIA_22344
goto @TRIA_16451

:TRIA_22351
if 
  782@ == 1
goto_if_false @TRIA_22644
Text.ClearThisPrint('RACES48')
Blip.Remove(939@)
866@(759@,12f) -= 1000.0
760@ = 0
set_lvar_int_to_lvar_int 762@ = 118@
762@ -= 1
939@ = Blip.AddForCoord(854@(799@,12f), 866@(799@,12f), 878@(799@,12f))
Blip.ChangeColor(939@, BlipColor.Red)
Blip.ChangeDisplay(939@, BlipDisplay.BlipOnly)
Blip.ChangeScale(939@, 3)
if 
  is_int_lvar_equal_to_int_lvar 927@(799@,12i) == 853@
goto_if_false @TRIA_22546
963@ = Checkpoint.Create(CheckpointType.TubeEnd, 854@(799@,12f), 866@(799@,12f), 878@(799@,12f), 0.0, 0.0, 0.0, 6.0)
goto @TRIA_22637

:TRIA_22546
set_lvar_int_to_lvar_int 762@ = 927@(799@,12i)
762@ += 1
if 
  is_int_lvar_equal_to_int_lvar 927@(799@,12i) == 853@
goto_if_false @TRIA_22595
762@ = 1

:TRIA_22595
963@ = Checkpoint.Create(CheckpointType.TubeArrow, 854@(799@,12f), 866@(799@,12f), 878@(799@,12f), 960@, 961@, 962@, 6.0)

:TRIA_22637
782@ = 0

:TRIA_22644
return 

:TRIA_22646
Text.PrintBig('RACEFA', 5000, TextStyle.Middle)
return 

:TRIA_22664
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(2)
Text.PrintBig('RACES18', 5000, TextStyle.Middle)
if 
  $animframe == 1
goto_if_false @TRIA_22734
Text.PrintWithNumber('TRAI1', 10000, 5000, 2)
Player.AddScore($statbike_temp, 10000)

:TRIA_22734
if 
  $animframe == 2
goto_if_false @TRIA_22779
Text.PrintWithNumber('TRAI1', 20000, 5000, 2)
Player.AddScore($statbike_temp, 20000)

:TRIA_22779
955@ /= 1000
set_lvar_int_to_lvar_int 763@ = 955@
763@ /= 60
set_lvar_int_to_lvar_int 762@ = 763@
762@ *= 60
set_lvar_int_to_lvar_int 764@ = 955@
sub_int_lvar_from_int_lvar 764@ -= 762@
if 
  $1810 == 0
goto_if_false @TRIA_22885
if 
  $animframe == 2
goto_if_false @TRIA_22876
Stat.SetInt(StatId.Stamina, 1000)

:TRIA_22876
Stat.RegisterOddjobMissionPassed
$1810 = 1

:TRIA_22885
return 

:TRIA_22887
$weapon_shop1_blip = 0
Streaming.MarkModelAsNoLongerNeeded(829@)
Streaming.MarkModelAsNoLongerNeeded(830@)
Streaming.MarkModelAsNoLongerNeeded(831@)
Streaming.MarkModelAsNoLongerNeeded(832@)
Streaming.MarkModelAsNoLongerNeeded(833@)
Streaming.MarkModelAsNoLongerNeeded(834@)
Streaming.MarkModelAsNoLongerNeeded(835@)
Streaming.MarkModelAsNoLongerNeeded(836@)
Streaming.MarkModelAsNoLongerNeeded(837@)
Streaming.MarkModelAsNoLongerNeeded(838@)
Streaming.MarkModelAsNoLongerNeeded(839@)
Streaming.MarkModelAsNoLongerNeeded(840@)
Streaming.MarkModelAsNoLongerNeeded(154)
Streaming.MarkModelAsNoLongerNeeded(18)
Streaming.MarkModelAsNoLongerNeeded(45)
Streaming.MarkModelAsNoLongerNeeded(167)
Streaming.MarkModelAsNoLongerNeeded(510)
Char.MarkAsNoLongerNeeded(954@)
Char.MarkAsNoLongerNeeded(943@)
Char.MarkAsNoLongerNeeded(944@)
Char.MarkAsNoLongerNeeded(945@)
Char.MarkAsNoLongerNeeded(946@)
Char.MarkAsNoLongerNeeded(947@)
Char.MarkAsNoLongerNeeded(948@)
Char.MarkAsNoLongerNeeded(949@)
Char.MarkAsNoLongerNeeded(950@)
Char.MarkAsNoLongerNeeded(951@)
Char.MarkAsNoLongerNeeded(952@)
Char.MarkAsNoLongerNeeded(953@)
Hud.DisplayCarNames(True)
Blip.Remove(939@)
$flag_courier_mission_passed = Clock.GetGameTimer()
World.DisableAllEntryExits(False)
World.SetCarDensityMultiplier(1.0)
World.SetPedDensityMultiplier(1.0)
Text.SetMessageFormatting(False, 380, 464)
Text.UseCommands(False)
Mission.Finish
return 

//-------------Mission 131---------------
// Originally: Courier

:BCOUR
script_name 'BCOUR'
gosub @BCOUR_47
if 
  has_deatharrest_been_executed 
goto_if_false @BCOUR_38
gosub @BCOUR_14505

:BCOUR_38
gosub @BCOUR_16461
terminate_this_script 

:BCOUR_47
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCOUR_71
872@ = Player.GetCityIsIn($statbike_temp)

:BCOUR_71
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_109
if 
  $courierLA_cash_pickup == 0
goto_if_false @BCOUR_109
Stat.RegisterMissionGiven

:BCOUR_109
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_147
if 
  $courierSF_revenue == 0
goto_if_false @BCOUR_147
Stat.RegisterMissionGiven

:BCOUR_147
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_185
if 
  $courierSF_cash_pickup == 0
goto_if_false @BCOUR_185
Stat.RegisterMissionGiven

:BCOUR_185
$weapon_shop1_blip = 1
wait 0
wait 0
Text.LoadMissionText('BCOU')
Camera.SetFadingColor(0, 0, 0)
37@ = Object.Create(#KMB_PACKET, -2492.508, 0.5813, 24.7593)
if 
  746@ == -13
goto_if_false @BCOUR_284
38@ = Char.Create(PedType.Mission1, 29, -2455.662, -105.3974, 26.5568)

:BCOUR_284
Streaming.RequestModel(586)
Streaming.RequestModel(29)
Streaming.RequestAnimation("SMOKING")
Streaming.LoadAllModelsNow

:BCOUR_306
if or
  not Streaming.HasModelLoaded(586)
  not Streaming.HasModelLoaded(29)
  not Streaming.HasAnimationLoaded("SMOKING")
goto_if_false @BCOUR_348
wait 0
goto @BCOUR_306

:BCOUR_348
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCOUR_371
Player.SetControl($statbike_temp, True)

:BCOUR_371
875@ = 0
882@ = 0
879@ = 0
880@ = 0
866@ = 0
867@ = 0
34@ = 0
869@ = 0
870@ = 0
871@ = 0
744@ = 0
745@ = 0
743@ = 0
746@ = 0
747@ = 0
748@ = 0
749@ = 0
868@ = 0
760@ = 0
761@ = 0
762@ = 0
383@ = -2594.816
413@ = 52.5992
443@ = 3.3359
103@ = -2797.952
133@ = 209.7299
163@ = 6.1963
104@ = -2492.771
134@ = -196.6625
164@ = 24.6236
105@ = -2611.989
135@ = -110.7328
165@ = 3.331
106@ = -2176.392
136@ = -41.7131
166@ = 34.3125
107@ = -2243.896
137@ = 603.6998
167@ = 40.1216
108@ = -1569.994
138@ = 662.3286
168@ = 6.1874
109@ = -2756.371
139@ = 379.1574
169@ = 3.3281
110@ = -2609.902
140@ = 131.9432
170@ = 3.326
111@ = -2743.858
141@ = 761.4077
171@ = 53.3828
112@ = -2600.543
142@ = 980.7458
172@ = 77.2676
113@ = -2153.959
143@ = 716.1611
173@ = 68.5511
114@ = -2153.604
144@ = 251.9152
174@ = 34.3125
115@ = -2808.285
145@ = -340.2412
175@ = 6.1797
116@ = -2428.846
146@ = -164.1249
176@ = 34.3125
117@ = -1984.213
147@ = 128.7572
177@ = 26.6797
118@ = -1888.46
148@ = 819.6346
178@ = 34.1797
119@ = -1503.329
149@ = 919.9264
179@ = 6.1776
120@ = -2533.885
150@ = 987.9146
180@ = 77.3017
473@ = 1346.019
503@ = -1741.781
533@ = 12.397
193@ = 1286.769
223@ = -1676.166
253@ = 12.5625
194@ = 1544.063
224@ = -1675.754
254@ = 12.56
195@ = 1320.097
225@ = -1795.099
255@ = 12.5391
196@ = 1614.261
226@ = -1885.756
256@ = 12.5536
197@ = 2009.173
227@ = -1716.913
257@ = 12.5469
198@ = 1256.513
228@ = -1010.974
258@ = 32.9002
199@ = 1016.673
229@ = -1508.782
259@ = 12.541
200@ = 1286.769
230@ = -1676.166
260@ = 12.5625
201@ = 1544.063
231@ = -1675.754
261@ = 12.56
202@ = 1320.097
232@ = -1795.099
262@ = 12.5391
203@ = 1614.261
233@ = -1885.756
263@ = 12.5536
204@ = 2009.173
234@ = -1716.913
264@ = 12.5469
205@ = 2865.389
235@ = -1438.957
265@ = 9.9659
206@ = 2740.561
236@ = -2103.442
266@ = 11.1221
207@ = 1346.455
237@ = -989.3849
267@ = 28.0294
208@ = 150.4926
238@ = -1945.385
268@ = 2.7657
209@ = 378.0941
239@ = -2053.585
269@ = 7.0156
210@ = 804.5734
240@ = -1020.714
270@ = 25.6819
563@ = 1904.681
593@ = 2096.17
623@ = 9.8203
283@ = 1698.404
313@ = 2054.898
343@ = 9.8203
284@ = 2159.833
314@ = 2066.728
344@ = 9.8125
285@ = 1935.701
315@ = 2158.464
345@ = 9.8203
286@ = 1654.331
316@ = 1803.812
346@ = 9.8125
287@ = 2083.325
317@ = 1503.754
347@ = 9.8125
288@ = 1720.11
318@ = 1298.548
348@ = 9.8203
289@ = 2233.837
319@ = 1282.195
349@ = 9.8203
290@ = 1698.404
320@ = 2063.969
350@ = 9.8203
291@ = 2159.833
321@ = 2066.728
351@ = 9.8125
292@ = 1935.701
322@ = 2158.464
352@ = 9.8203
293@ = 1654.331
323@ = 1803.812
353@ = 9.8125
294@ = 2083.325
324@ = 1503.754
354@ = 9.8125
295@ = 1917.762
325@ = 2768.874
355@ = 9.8203
296@ = 2344.569
326@ = 2779.965
356@ = 9.8203
297@ = 973.123
327@ = 1782.238
357@ = 7.6562
298@ = 2346.52
328@ = 2296.973
358@ = 7.1478
299@ = 1488.175
329@ = 2148.474
359@ = 9.8203
300@ = 1104.697
330@ = 1648.064
360@ = 4.8273
653@ = 0
654@ = 0
655@ = 0
656@ = 0
657@ = 0
658@ = 0
659@ = 0
660@ = 0
661@ = 0
662@ = 0
663@ = 0
664@ = 0
665@ = 0
666@ = 0
667@ = 0
668@ = 0
669@ = 0
670@ = 0
671@ = 0
672@ = 0
673@ = 0
674@ = 0
675@ = 0
676@ = 0
677@ = 0
678@ = 0
679@ = 0
680@ = 0
681@ = 0
753@ = 99
Player.SetCanDoDriveBy($statbike_temp, False)
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @BCOUR_2468
goto @BCOUR_14505

:BCOUR_2468
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCOUR_2492
36@ = Char.StoreCarIsIn($stattreadstamina_ctr)

:BCOUR_2492
753@ = 99
754@ = 0
755@ = 0
758@ = 0
756@ = 0
757@ = 0
857@ = 0
862@ = 0
881@ = 0

:BCOUR_2555
wait 0
if 
  882@ == 0
goto_if_false @BCOUR_2591
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 5600)
882@ = 1

:BCOUR_2591
if 
  882@ == 1
goto_if_false @BCOUR_2631
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @BCOUR_2631
882@ = 2

:BCOUR_2631
if 
is_ps2_keyboard_key_pressed 87
goto_if_false @BCOUR_2656
$para_max_Vz += 60000

:BCOUR_2656
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @BCOUR_2681
$para_max_Vz -= 45000

:BCOUR_2681
if 
is_ps2_keyboard_key_pressed 80
goto_if_false @BCOUR_2703
Player.AlterWantedLevel($statbike_temp, 2)

:BCOUR_2703
if 
is_ps2_keyboard_key_pressed 79
goto_if_false @BCOUR_2725
Player.AlterWantedLevel($statbike_temp, 0)

:BCOUR_2725
if 
is_ps2_keyboard_key_pressed 88
goto_if_false @BCOUR_2765
if 
  881@ == 0
goto_if_false @BCOUR_2765
881@ = 1

:BCOUR_2765
if 
is_ps2_keyboard_key_pressed 90
goto_if_false @BCOUR_2787
881@ = 0

:BCOUR_2787
if 
  862@ == 1
goto_if_false @BCOUR_2838
Hud.ClearTimer($para_max_Vz)
Hud.ClearCounter($para_pickup)
Text.PrintNow('BCOU_11', 6000, 1)
goto @BCOUR_14505

:BCOUR_2838
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @BCOUR_2861
goto @BCOUR_14505

:BCOUR_2861
if 
  Car.IsDead(36@)
goto_if_false @BCOUR_2884
goto @BCOUR_14505

:BCOUR_2884
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_2959
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_2959
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @BCOUR_2959
Text.PrintNow('BCOU_35', 6000, 1)
goto @BCOUR_14505

:BCOUR_2959
if 
  743@ == 10
goto_if_false @BCOUR_2984
goto @BCOUR_15384

:BCOUR_2984
if 
  743@ == -99
goto_if_false @BCOUR_3074
763@(793@,30i) = Object.CreateNoOffset(#KMB_PACKET, 0.0, 0.0, 100.0)
827@(793@,30i) = Particle.CreateOnObject("COKE_TRAIL", 763@(793@,30i), 0.0, 0.0, 0.0, 1)

:BCOUR_3074
if 
  749@ == 1
goto_if_false @BCOUR_3116
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BCOUR_3116
748@ = 50

:BCOUR_3116
if 
  868@ == 1
goto_if_false @BCOUR_3172
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BCOUR_3172
866@ = 2
Player.SetControl($statbike_temp, True)
868@ = 0

:BCOUR_3172
if 
  753@ == 0
goto_if_false @BCOUR_3289
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_3289
if 
  not Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_3289
TIMERB = 0
754@ = 1
set_lvar_int_to_var_int 752@ = $para_max_Vz
752@ /= 1000
753@ = 1
Text.ClearPrints
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('BCOU_37', $stunt_timer, 4000, 1)
Text.ClearHelp

:BCOUR_3289
if 
  753@ == 1
goto_if_false @BCOUR_3442
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_3442
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_3442
TIMERB = 0
753@ = 0
754@ = 0
875@ = 0
Text.ClearPrints
Text.ClearHelp
if 
  746@ > 9
goto_if_false @BCOUR_3408
Text.PrintNow('BCOU_6', 4000, 1)

:BCOUR_3408
if 
  10 > 746@
goto_if_false @BCOUR_3442
Text.PrintNow('BCOU_3', 4000, 1)

:BCOUR_3442
if 
  754@ == 1
goto_if_false @BCOUR_3725
set_lvar_int_to_lvar_int 751@ = TIMERB
751@ /= 1000
if 
  875@ == 0
goto_if_false @BCOUR_3527
if and
  21000 > $para_max_Vz
  $para_max_Vz > 1
goto_if_false @BCOUR_3527
875@ = 1

:BCOUR_3527
if 
  875@ == 0
goto_if_false @BCOUR_3571
if 
  $para_max_Vz > 20099
goto_if_false @BCOUR_3571
875@ = 2

:BCOUR_3571
if 
  875@ == 1
goto_if_false @BCOUR_3605
set_var_int_to_var_int $stunt_timer = $para_max_Vz
$stunt_timer /= 1000

:BCOUR_3605
if 
  875@ == 2
goto_if_false @BCOUR_3638
$stunt_timer = 20
sub_int_lvar_from_int_var $stunt_timer -= 751@

:BCOUR_3638
Text.ClearPrints
if 
  $stunt_timer > 0
goto_if_false @BCOUR_3681
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('BCOU_37', $stunt_timer, 4000, 1)

:BCOUR_3681
if 
  TIMERB > 21000
goto_if_false @BCOUR_3725
Text.ClearPrints
Text.PrintNow('BCOU_35', 6000, 1)
goto @BCOUR_14505

:BCOUR_3725
if 
  746@ == -1
goto_if_false @BCOUR_4823
if 
  748@ == 0
goto_if_false @BCOUR_4010
39@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
Char.Delete(38@)
World.ClearArea(-2455.662, -105.3974, 26.5568, 10.0, True)
38@ = Char.Create(PedType.Mission1, 29, -2455.662, -105.3974, 26.5568)
Char.SetHeading(38@, 176.0958)
Char.SetDecisionMaker(38@, 39@)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Camera.SetFixedPosition(-2468.393, -96.8149, 26.1614, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2467.693, -97.5246, 26.0805, SwitchType.JumpCut)
if 
  not Char.IsDead(38@)
goto_if_false @BCOUR_3989
Path.FlushRoute
Path.ExtendRoute(-2457.04, -110.2905, 25.0058)
Path.ExtendRoute(-2460.845, -108.7783, 24.9517)
Path.ExtendRoute(-2462.371, -106.9304, 24.9069)
Task.FollowPointRoute(38@, 6, RouteMode.Once)
Char.SetFollowNodeThresholdDistance(38@, 150.0)

:BCOUR_3989
748@ = 10
749@ = 1
TIMERB = 0

:BCOUR_4010
if 
  748@ == 10
goto_if_false @BCOUR_4093
if 
  TIMERB > 4000
goto_if_false @BCOUR_4093
if 
  not Char.IsDead(38@)
goto_if_false @BCOUR_4093
Text.PrintNow('BCOU_2', 4000, 1)
748@ = 15
TIMERB = 0

:BCOUR_4093
if 
  748@ == 15
goto_if_false @BCOUR_4160
if 
  TIMERB > 1000
goto_if_false @BCOUR_4160
if 
  not Char.IsDead(38@)
goto_if_false @BCOUR_4160
748@ = 20
TIMERB = 0

:BCOUR_4160
if 
  748@ == 20
goto_if_false @BCOUR_4211
if 
  TIMERB > 1000
goto_if_false @BCOUR_4211
TIMERB = 0
748@ = 25

:BCOUR_4211
if 
  748@ == 25
goto_if_false @BCOUR_4283
if 
  TIMERB > 200
goto_if_false @BCOUR_4283
if 
  not Char.IsDead(38@)
goto_if_false @BCOUR_4283
Char.ClearTasks(38@)
TIMERB = 0
748@ = 40

:BCOUR_4283
if 
  748@ == 40
goto_if_false @BCOUR_4433
if 
  TIMERB > 1000
goto_if_false @BCOUR_4336
Text.PrintNow('BCOU_3', 4000, 1)

:BCOUR_4336
if 
  TIMERB > 4000
goto_if_false @BCOUR_4433
if 
  not Char.IsDead(38@)
goto_if_false @BCOUR_4401
Char.ClearTasks(38@)
Task.GoStraightToCoord(38@, -2457.086, -126.3415, 25.013, MoveState.Run, 5000)

:BCOUR_4401
TIMERB = 0
Text.ClearPrints
Text.PrintNow('BCOU_1', 4000, 1)
748@ = 45

:BCOUR_4433
if 
  748@ == 45
goto_if_false @BCOUR_4477
if 
  TIMERB > 4000
goto_if_false @BCOUR_4477
748@ = 50

:BCOUR_4477
if 
  748@ == 50
goto_if_false @BCOUR_4713
Text.ClearPrints
749@ = 0
if 
  not Char.IsDead(38@)
goto_if_false @BCOUR_4560
Char.ClearTasks(38@)
Char.SetCoordinates(38@, -2457.086, -126.3415, 25.013)
Char.SetHeading(38@, 180.0)
Object.Delete(37@)

:BCOUR_4560
Hud.SwitchWidescreen(False)
Object.Delete(37@)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
748@ = 60
TIMERB = 0
746@ = 1
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_4622
Car.ForceLights(36@, CarLights.NoOverride)

:BCOUR_4622
if 
  not Char.IsDead(38@)
goto_if_false @BCOUR_4669
Char.ClearTasks(38@)
Task.AchieveHeading(38@, 100.0)
Text.PrintNow('BCOU_4', 6000, 1)

:BCOUR_4669
753@ = 0
37@ = Object.Create(#KMB_PACKET, -2458.249, -98.5704, 28.1875)
Object.SetCollision(37@, True)
Object.SetDynamic(37@, True)

:BCOUR_4713
if 
  748@ == 60
goto_if_false @BCOUR_4823
if 
  TIMERB > 2000
goto_if_false @BCOUR_4823
if 
  not Char.IsDead(38@)
goto_if_false @BCOUR_4823
Char.ClearTasks(38@)
Task.PlayAnim(38@, "M_SMKSTND_LOOP", "SMOKING", 4.0, True, False, False, False, -1)
748@ = 99

:BCOUR_4823
if 
  746@ == 0
goto_if_false @BCOUR_5065
872@ = Player.GetCityIsIn($statbike_temp)
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_4904
37@ = Object.Create(#KMB_PACKET, 1361.558, -1764.276, 18.0781)
Object.SetCollision(37@, True)
Object.SetDynamic(37@, True)

:BCOUR_4904
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_4966
37@ = Object.Create(#KMB_PACKET, -2584.613, 60.3094, 3.9701)
Object.SetCollision(37@, True)
Object.SetDynamic(37@, True)
CarGenerator.Switch($highstakes_car_gen, 0)

:BCOUR_4966
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_5021
37@ = Object.Create(#KMB_PACKET, 1884.329, 2078.721, 15.0869)
Object.SetCollision(37@, True)
Object.SetDynamic(37@, True)

:BCOUR_5021
Text.PrintNow('BCOU_4', 6000, 1)
TIMERA = 0
34@ = 1
753@ = 0
746@ = 1

:BCOUR_5065
if 
  34@ == 1
goto_if_false @BCOUR_5120
if 
  TIMERA > 7000
goto_if_false @BCOUR_5120
34@ = 0
Text.PrintHelp('BCOU_84')

:BCOUR_5120
if 
  746@ == 1
goto_if_false @BCOUR_5824
755@ = 4
758@ = 3
756@ = 3
744@ = 0
759@ = 0
$para_pickup = 6
861@ = 0
867@ = 0

:BCOUR_5194
if 
  7 > 861@
goto_if_false @BCOUR_5237
797@(861@,30i) = 0
861@ += 1
goto @BCOUR_5194

:BCOUR_5237
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_5824
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_5824
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_5435

:BCOUR_5290
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_5435
42@(744@,30i) = Blip.AddForCoord(103@(744@,30f), 133@(744@,30f), 163@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 163@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 103@(744@,30f), 133@(744@,30f), 713@(744@,30f), 0.0, 0.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_5290

:BCOUR_5435
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_5598

:BCOUR_5453
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_5598
42@(744@,30i) = Blip.AddForCoord(193@(744@,30f), 223@(744@,30f), 253@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 253@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 193@(744@,30f), 223@(744@,30f), 713@(744@,30f), -2000.0, -2000.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_5453

:BCOUR_5598
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_5761

:BCOUR_5616
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_5761
42@(744@,30i) = Blip.AddForCoord(283@(744@,30f), 313@(744@,30f), 343@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 343@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 283@(744@,30f), 313@(744@,30f), 713@(744@,30f), -2000.0, 2000.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_5616

:BCOUR_5761
747@ = 0
746@ = 9
757@ = 0
$para_max_Vz = 180000
Hud.DisplayCounterWithString($para_pickup, CounterDisplay.Number, 'BCOU_83')
//Hud.DisplayTimerWithString($para_max_Vz, TimerDirection.Down, 'BCOU_34')

:BCOUR_5824
if 
  746@ == 2
goto_if_false @BCOUR_6528
755@ = 8
758@ = 7
756@ = 4
744@ = 3
759@ = 3
$para_pickup = 6
861@ = 0
867@ = 0

:BCOUR_5898
if 
  7 > 861@
goto_if_false @BCOUR_5941
797@(861@,30i) = 0
861@ += 1
goto @BCOUR_5898

:BCOUR_5941
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_6528
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_6528
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_6139

:BCOUR_5994
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_6139
42@(744@,30i) = Blip.AddForCoord(103@(744@,30f), 133@(744@,30f), 163@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 163@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 103@(744@,30f), 133@(744@,30f), 713@(744@,30f), 0.0, 0.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_5994

:BCOUR_6139
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_6302

:BCOUR_6157
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_6302
42@(744@,30i) = Blip.AddForCoord(193@(744@,30f), 223@(744@,30f), 253@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 253@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 193@(744@,30f), 223@(744@,30f), 713@(744@,30f), -2000.0, -2000.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_6157

:BCOUR_6302
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_6465

:BCOUR_6320
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_6465
42@(744@,30i) = Blip.AddForCoord(283@(744@,30f), 313@(744@,30f), 343@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 343@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 283@(744@,30f), 313@(744@,30f), 713@(744@,30f), -2000.0, 2000.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_6320

:BCOUR_6465
747@ = 0
746@ = 9
757@ = 0
$para_max_Vz = 300000
Hud.DisplayCounterWithString($para_pickup, CounterDisplay.Number, 'BCOU_83')
//Hud.DisplayTimerWithString($para_max_Vz, TimerDirection.Down, 'BCOU_34')

:BCOUR_6528
if 
  746@ == 3
goto_if_false @BCOUR_7232
755@ = 13
758@ = 12
756@ = 5
744@ = 7
759@ = 7
$para_pickup = 7
861@ = 0
867@ = 0

:BCOUR_6602
if 
  8 > 861@
goto_if_false @BCOUR_6645
797@(861@,30i) = 0
861@ += 1
goto @BCOUR_6602

:BCOUR_6645
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_7232
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_7232
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_6843

:BCOUR_6698
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_6843
42@(744@,30i) = Blip.AddForCoord(103@(744@,30f), 133@(744@,30f), 163@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 163@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 103@(744@,30f), 133@(744@,30f), 713@(744@,30f), 0.0, 0.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_6698

:BCOUR_6843
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_7006

:BCOUR_6861
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_7006
42@(744@,30i) = Blip.AddForCoord(193@(744@,30f), 223@(744@,30f), 253@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 253@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 193@(744@,30f), 223@(744@,30f), 713@(744@,30f), -2000.0, -2000.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_6861

:BCOUR_7006
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_7169

:BCOUR_7024
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_7169
42@(744@,30i) = Blip.AddForCoord(283@(744@,30f), 313@(744@,30f), 343@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 343@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 283@(744@,30f), 313@(744@,30f), 713@(744@,30f), -2000.0, 2000.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_7024

:BCOUR_7169
747@ = 0
746@ = 9
757@ = 0
$para_max_Vz = 300000
Hud.DisplayCounterWithString($para_pickup, CounterDisplay.Number, 'BCOU_83')
//Hud.DisplayTimerWithString($para_max_Vz, TimerDirection.Down, 'BCOU_34')

:BCOUR_7232
if 
  746@ == 4
goto_if_false @BCOUR_8010
755@ = 19
758@ = 18
756@ = 6
744@ = 12
759@ = 12
$para_pickup = 8
861@ = 0
867@ = 0

:BCOUR_7306
if 
  9 > 861@
goto_if_false @BCOUR_7349
797@(861@,30i) = 0
861@ += 1
goto @BCOUR_7306

:BCOUR_7349
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_8010
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_8010
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_7547

:BCOUR_7402
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_7547
42@(744@,30i) = Blip.AddForCoord(103@(744@,30f), 133@(744@,30f), 163@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 163@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 103@(744@,30f), 133@(744@,30f), 713@(744@,30f), 0.0, 0.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_7402

:BCOUR_7547
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_7710

:BCOUR_7565
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_7710
42@(744@,30i) = Blip.AddForCoord(193@(744@,30f), 223@(744@,30f), 253@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 253@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 193@(744@,30f), 223@(744@,30f), 713@(744@,30f), -2000.0, -2000.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_7565

:BCOUR_7710
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_7873

:BCOUR_7728
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_7873
42@(744@,30i) = Blip.AddForCoord(283@(744@,30f), 313@(744@,30f), 343@(744@,30f))
set_lvar_float_to_lvar_float 713@(744@,30f) = 343@(744@,30f)
713@(744@,30f) += 2.2
683@(744@,30i) = Checkpoint.Create(CheckpointType.TorusNoFade, 283@(744@,30f), 313@(744@,30f), 713@(744@,30f), -2000.0, 2000.0, 0.0, 1.8)
744@ += 1
goto @BCOUR_7728

:BCOUR_7873
747@ = 0
746@ = 9
757@ = 0
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_7922
$para_max_Vz = 600000

:BCOUR_7922
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_7950
$para_max_Vz = 420000

:BCOUR_7950
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_7978
$para_max_Vz = 480000

:BCOUR_7978
Hud.DisplayCounterWithString($para_pickup, CounterDisplay.Number, 'BCOU_83')
//Hud.DisplayTimerWithString($para_max_Vz, TimerDirection.Down, 'BCOU_34')

:BCOUR_8010
if 
  746@ == 9
goto_if_false @BCOUR_9748
if 
  867@ == 0
goto_if_false @BCOUR_8110
if 
  not Char.IsDead(38@)
goto_if_false @BCOUR_8110
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 38@, 100.0, 100.0, 100.0, False)
goto_if_false @BCOUR_8110
Char.Delete(38@)
867@ = 1

:BCOUR_8110
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_9748
if 
  747@ == 0
goto_if_false @BCOUR_8491
if 
is_xbox_version 
goto_if_false @BCOUR_8274
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder2)
goto_if_false @BCOUR_8212
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BCOUR_8212
879@ = 0
gosub @BCOUR_12261
gosub @BCOUR_14377

:BCOUR_8212
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder2)
goto_if_false @BCOUR_8267
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BCOUR_8267
879@ = 0
gosub @BCOUR_13319
gosub @BCOUR_14377

:BCOUR_8267
goto @BCOUR_8384

:BCOUR_8274
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder2)
goto_if_false @BCOUR_8329
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @BCOUR_8329
879@ = 0
gosub @BCOUR_12261
gosub @BCOUR_14377

:BCOUR_8329
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder2)
goto_if_false @BCOUR_8384
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @BCOUR_8384
879@ = 0
gosub @BCOUR_13319
gosub @BCOUR_14377

:BCOUR_8384
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_8491
if 
  not Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_8491
40@ = Blip.AddForCar(36@)
Blip.SetAsFriendly(40@, True)

:BCOUR_8434
if 
  is_int_lvar_greater_than_int_lvar 755@ > 744@
goto_if_false @BCOUR_8476
Blip.Remove(42@(744@,30i))
744@ += 1
goto @BCOUR_8434

:BCOUR_8476
set_lvar_int_to_lvar_int 744@ = 759@
747@ = 1

:BCOUR_8491
if 
  747@ == 1
goto_if_false @BCOUR_8747
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_8747
Blip.Remove(40@)

:BCOUR_8533
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_8732
if 
  653@(744@,30i) == 0
goto_if_false @BCOUR_8718
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_8622
42@(744@,30i) = Blip.AddForCoord(103@(744@,30f), 133@(744@,30f), 163@(744@,30f))

:BCOUR_8622
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_8670
42@(744@,30i) = Blip.AddForCoord(193@(744@,30f), 223@(744@,30f), 253@(744@,30f))

:BCOUR_8670
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_8718
42@(744@,30i) = Blip.AddForCoord(283@(744@,30f), 313@(744@,30f), 343@(744@,30f))

:BCOUR_8718
744@ += 1
goto @BCOUR_8533

:BCOUR_8732
747@ = 0
set_lvar_int_to_lvar_int 744@ = 759@

:BCOUR_8747
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_9671
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_9065

:BCOUR_8784
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_9065
if 
  653@(744@,30i) == 0
goto_if_false @BCOUR_9051
if 
  Object.DoesExist(763@(793@,30i))
goto_if_false @BCOUR_9051
if 
  Object.Locate3D(763@(793@,30i), 103@(744@,30f), 133@(744@,30f), 713@(744@,30f), 0.7, 1.7, 3.0, False)
goto_if_false @BCOUR_9051
Blip.Remove(42@(744@,30i))
Particle.Kill(827@(793@,30i))
Object.Delete(763@(793@,30i))
Stat.IncrementInt(StatId.PizzasDelivered, 1)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
Checkpoint.Delete(683@(744@,30i))
653@(744@,30i) = 1
757@ += 1
if 
  is_int_lvar_equal_to_int_lvar 757@ == 756@
goto_if_false @BCOUR_9035
Text.ClearPrints
Text.PrintNow('BCOU_6', 6000, 1)
746@ = 10
goto @BCOUR_9051

:BCOUR_9035
Text.PrintNow('BCOU_5', 6000, 1)

:BCOUR_9051
744@ += 1
goto @BCOUR_8784

:BCOUR_9065
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_9364

:BCOUR_9083
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_9364
if 
  653@(744@,30i) == 0
goto_if_false @BCOUR_9350
if 
  Object.DoesExist(763@(793@,30i))
goto_if_false @BCOUR_9350
if 
  Object.Locate3D(763@(793@,30i), 193@(744@,30f), 223@(744@,30f), 713@(744@,30f), 1.2, 1.7, 3.0, False)
goto_if_false @BCOUR_9350
Blip.Remove(42@(744@,30i))
Particle.Kill(827@(793@,30i))
Object.Delete(763@(793@,30i))
Stat.IncrementInt(StatId.PizzasDelivered, 1)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
Checkpoint.Delete(683@(744@,30i))
653@(744@,30i) = 1
757@ += 1
if 
  is_int_lvar_equal_to_int_lvar 757@ == 756@
goto_if_false @BCOUR_9334
Text.ClearPrints
Text.PrintNow('BCOU_6', 6000, 1)
746@ = 10
goto @BCOUR_9350

:BCOUR_9334
Text.PrintNow('BCOU_5', 6000, 1)

:BCOUR_9350
744@ += 1
goto @BCOUR_9083

:BCOUR_9364
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_9663

:BCOUR_9382
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_9663
if 
  653@(744@,30i) == 0
goto_if_false @BCOUR_9649
if 
  Object.DoesExist(763@(793@,30i))
goto_if_false @BCOUR_9649
if 
  Object.Locate3D(763@(793@,30i), 283@(744@,30f), 313@(744@,30f), 713@(744@,30f), 1.2, 1.7, 3.0, False)
goto_if_false @BCOUR_9649
Blip.Remove(42@(744@,30i))
Particle.Kill(827@(793@,30i))
Object.Delete(763@(793@,30i))
Stat.IncrementInt(StatId.PizzasDelivered, 1)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1058)
Checkpoint.Delete(683@(744@,30i))
653@(744@,30i) = 1
757@ += 1
if 
  is_int_lvar_equal_to_int_lvar 757@ == 756@
goto_if_false @BCOUR_9633
Text.ClearPrints
Text.PrintNow('BCOU_6', 6000, 1)
746@ = 10
goto @BCOUR_9649

:BCOUR_9633
Text.PrintNow('BCOU_5', 6000, 1)

:BCOUR_9649
744@ += 1
goto @BCOUR_9382

:BCOUR_9663
set_lvar_int_to_lvar_int 744@ = 759@

:BCOUR_9671
set_lvar_int_to_lvar_int 874@ = 756@
sub_int_lvar_from_int_lvar 874@ -= 757@
set_lvar_int_to_var_int 873@ = $para_pickup
if 
  Object.DoesExist(763@(793@,30i))
goto_if_false @BCOUR_9722
873@ += 1

:BCOUR_9722
if 
  is_int_lvar_greater_than_int_lvar 874@ > 873@
goto_if_false @BCOUR_9748
862@ = 1

:BCOUR_9748
if 
  746@ > 8
goto_if_false @BCOUR_9832
if 
  25 > 746@
goto_if_false @BCOUR_9832
if 
  1 > $para_max_Vz
goto_if_false @BCOUR_9832
Text.ClearPrints
Text.PrintNow('BCOU_33', 6000, 1)
Hud.ClearTimer($para_max_Vz)
goto @BCOUR_14505

:BCOUR_9832
if 
  746@ == 10
goto_if_false @BCOUR_9989
746@ = 20
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_9901
72@ = Blip.AddForCoord(383@(745@,30f), 413@(745@,30f), 443@(745@,30f))

:BCOUR_9901
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_9945
72@ = Blip.AddForCoord(473@(745@,30f), 503@(745@,30f), 533@(745@,30f))

:BCOUR_9945
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_9989
72@ = Blip.AddForCoord(563@(745@,30f), 593@(745@,30f), 623@(745@,30f))

:BCOUR_9989
if 
  746@ == 20
goto_if_false @BCOUR_10740
35@ = Streaming.GetAreaVisible()
if 
  35@ == 0
goto_if_false @BCOUR_10050
if 
  not Game.IsMinigameInProgress
goto_if_false @BCOUR_10050
Player.SetControl($statbike_temp, True)

:BCOUR_10050
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_10740
if 
  747@ == 0
goto_if_false @BCOUR_10130
if 
  not Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_10130
40@ = Blip.AddForCar(36@)
Blip.SetAsFriendly(40@, True)
Blip.Remove(72@)
747@ = 1

:BCOUR_10130
if 
  747@ == 1
goto_if_false @BCOUR_10311
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_10311
Blip.Remove(40@)
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_10216
72@ = Blip.AddForCoord(383@(745@,30f), 413@(745@,30f), 443@(745@,30f))

:BCOUR_10216
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_10260
72@ = Blip.AddForCoord(563@(745@,30f), 593@(745@,30f), 623@(745@,30f))

:BCOUR_10260
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_10304
72@ = Blip.AddForCoord(473@(745@,30f), 503@(745@,30f), 533@(745@,30f))

:BCOUR_10304
747@ = 0

:BCOUR_10311
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_10454
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_10454
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 383@(745@,30f), 413@(745@,30f), 443@(745@,30f), 4.0, 4.0, 4.0, True)
goto_if_false @BCOUR_10454
Player.SetControl($statbike_temp, False)
if 
  Car.IsStopped(36@)
goto_if_false @BCOUR_10454
Blip.Remove(72@)
Hud.ClearTimer($para_max_Vz)
Hud.ClearCounter($para_pickup)
760@ += 1
746@ = 50

:BCOUR_10454
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_10597
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_10597
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 473@(745@,30f), 503@(745@,30f), 533@(745@,30f), 4.0, 4.0, 4.0, True)
goto_if_false @BCOUR_10597
Player.SetControl($statbike_temp, False)
if 
  Car.IsStopped(36@)
goto_if_false @BCOUR_10597
Blip.Remove(72@)
Hud.ClearTimer($para_max_Vz)
Hud.ClearCounter($para_pickup)
761@ += 1
746@ = 50

:BCOUR_10597
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_10740
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_10740
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 563@(745@,30f), 593@(745@,30f), 623@(745@,30f), 4.0, 4.0, 4.0, True)
goto_if_false @BCOUR_10740
Player.SetControl($statbike_temp, False)
if 
  Car.IsStopped(36@)
goto_if_false @BCOUR_10740
Blip.Remove(72@)
Hud.ClearTimer($para_max_Vz)
Hud.ClearCounter($para_pickup)
762@ += 1
746@ = 50

:BCOUR_10740
if 
  746@ == 50
goto_if_false @BCOUR_11299
Player.SetControl($statbike_temp, True)
868@ = 0
Text.ClearPrints
Text.PrintNow('BCOU_12', 4000, 1)
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_10868
863@ = Menu.Create('BCOU_81', 31.0, 80.0, 99.0, 2, False, True, 1)
set_lvar_int_to_var_int 869@ = $para_max_Vz
869@ /= 100
mult_int_lvar_by_int_lvar 869@ *= 761@

:BCOUR_10868
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_10946
863@ = Menu.Create('BCOU_82', 31.0, 80.0, 99.0, 2, False, True, 1)
set_lvar_int_to_var_int 869@ = $para_max_Vz
869@ /= 100
mult_int_lvar_by_int_lvar 869@ *= 762@

:BCOUR_10946
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_11024
863@ = Menu.Create('BCOU_80', 31.0, 80.0, 99.0, 2, False, True, 1)
set_lvar_int_to_var_int 869@ = $para_max_Vz
869@ /= 100
mult_int_lvar_by_int_lvar 869@ *= 760@

:BCOUR_11024
Menu.SetColumn(863@, 0, 'BCOU_21', 'BCOU_22', 'BCOU_23', 'BCOU_24', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnOrientation(863@, 1, 2)
865@ = 0
set_lvar_int_to_var_int 870@ = $para_pickup
870@ *= 100
set_lvar_int_to_lvar_int 871@ = 869@
add_int_lvar_to_int_lvar 871@ += 870@
Menu.SetItemWithNumber(863@, 1, 0, 'DOLLAR', 869@)
Menu.SetItemWithNumber(863@, 1, 1, 'DOLLAR', 870@)
Menu.SetItemWithNumber(863@, 1, 2, 'DOLLAR', 871@)
Menu.SetActiveItem(863@, 2)
TIMERA = 0
866@ = 1
Player.AddScore($statbike_temp, 871@)
Object.Delete(37@)
746@ = 55

:BCOUR_11299
if 
  866@ == 1
goto_if_false @BCOUR_11521
if 
  TIMERA > 2000
goto_if_false @BCOUR_11343
868@ = 1

:BCOUR_11343
if 
  761@ == 4
goto_if_false @BCOUR_11392
if 
  TIMERA > 4000
goto_if_false @BCOUR_11392
Menu.Delete(863@)
866@ = 2

:BCOUR_11392
if 
  760@ == 4
goto_if_false @BCOUR_11441
if 
  TIMERA > 4000
goto_if_false @BCOUR_11441
Menu.Delete(863@)
866@ = 2

:BCOUR_11441
if 
  762@ == 4
goto_if_false @BCOUR_11490
if 
  TIMERA > 4000
goto_if_false @BCOUR_11490
Menu.Delete(863@)
866@ = 2

:BCOUR_11490
if 
  TIMERA > 6000
goto_if_false @BCOUR_11521
Menu.Delete(863@)
866@ = 2

:BCOUR_11521
if 
  866@ == 2
goto_if_false @BCOUR_12139
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_12139
if 
  Char.IsInCar($stattreadstamina_ctr, 36@)
goto_if_false @BCOUR_12139
Menu.Delete(863@)
868@ = 0
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_11768
Text.ClearPrints
Player.SetControl($statbike_temp, True)
if 
  760@ == 1
goto_if_false @BCOUR_11654
Text.PrintNow('BCOU_4', 6000, 1)
746@ = 2

:BCOUR_11654
if 
  760@ == 2
goto_if_false @BCOUR_11695
Text.PrintNow('BCOU_4', 6000, 1)
746@ = 3

:BCOUR_11695
if 
  760@ == 3
goto_if_false @BCOUR_11736
Text.PrintNow('BCOU_4', 6000, 1)
746@ = 4

:BCOUR_11736
if 
  760@ == 4
goto_if_false @BCOUR_11768
goto @BCOUR_15384
746@ = 5

:BCOUR_11768
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_11950
Text.ClearPrints
Player.SetControl($statbike_temp, True)
if 
  761@ == 1
goto_if_false @BCOUR_11836
Text.PrintNow('BCOU_4', 6000, 1)
746@ = 2

:BCOUR_11836
if 
  761@ == 2
goto_if_false @BCOUR_11877
Text.PrintNow('BCOU_4', 6000, 1)
746@ = 3

:BCOUR_11877
if 
  761@ == 3
goto_if_false @BCOUR_11918
Text.PrintNow('BCOU_4', 6000, 1)
746@ = 4

:BCOUR_11918
if 
  761@ == 4
goto_if_false @BCOUR_11950
goto @BCOUR_15384
746@ = 5

:BCOUR_11950
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_12132
Text.ClearPrints
Player.SetControl($statbike_temp, True)
if 
  762@ == 1
goto_if_false @BCOUR_12018
Text.PrintNow('BCOU_4', 6000, 1)
746@ = 2

:BCOUR_12018
if 
  762@ == 2
goto_if_false @BCOUR_12059
Text.PrintNow('BCOU_4', 6000, 1)
746@ = 3

:BCOUR_12059
if 
  762@ == 3
goto_if_false @BCOUR_12100
Text.PrintNow('BCOU_4', 6000, 1)
746@ = 4

:BCOUR_12100
if 
  762@ == 4
goto_if_false @BCOUR_12132
goto @BCOUR_15384
746@ = 5

:BCOUR_12132
866@ = 0

:BCOUR_12139
if 
  Object.DoesExist(763@(793@,30i))
goto_if_false @BCOUR_12254
if 
  Char.LocateAnyMeansObject3D($stattreadstamina_ctr, 763@(793@,30i), 1.5, 1.5, 1.5, False)
goto_if_false @BCOUR_12254
if 
  TIMERA > 3000
goto_if_false @BCOUR_12254
Particle.Kill(827@(793@,30i))
Object.Delete(763@(793@,30i))
$para_pickup += 1
797@($para_pickup,30i) = 0

:BCOUR_12254
goto @BCOUR_2555

:BCOUR_12261
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_13317
if 
  $para_pickup > 0
goto_if_false @BCOUR_13317
if 
  797@($para_pickup,30i) == 0
goto_if_false @BCOUR_13317
if 
  857@ > 0
goto_if_false @BCOUR_12353
Particle.Kill(827@(793@,30i))
Object.Delete(763@(793@,30i))

:BCOUR_12353
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_12534

:BCOUR_12371
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_12519
if 
  880@ == 0
goto_if_false @BCOUR_12505
if 
  653@(744@,30i) == 0
goto_if_false @BCOUR_12505
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 193@(744@,30f), 223@(744@,30f), 713@(744@,30f), 5.0, 5.0, 5.0, False)
goto_if_false @BCOUR_12505
880@ = 1
879@ = 1
goto @BCOUR_12505

:BCOUR_12505
744@ += 1
goto @BCOUR_12371

:BCOUR_12519
set_lvar_int_to_lvar_int 744@ = 759@
880@ = 0

:BCOUR_12534
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_12715

:BCOUR_12552
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_12700
if 
  880@ == 0
goto_if_false @BCOUR_12686
if 
  653@(744@,30i) == 0
goto_if_false @BCOUR_12686
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 103@(744@,30f), 133@(744@,30f), 713@(744@,30f), 5.0, 5.0, 5.0, False)
goto_if_false @BCOUR_12686
880@ = 1
879@ = 1
goto @BCOUR_12686

:BCOUR_12686
744@ += 1
goto @BCOUR_12552

:BCOUR_12700
set_lvar_int_to_lvar_int 744@ = 759@
880@ = 0

:BCOUR_12715
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_12896

:BCOUR_12733
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_12881
if 
  880@ == 0
goto_if_false @BCOUR_12867
if 
  653@(744@,30i) == 0
goto_if_false @BCOUR_12867
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 283@(744@,30f), 313@(744@,30f), 713@(744@,30f), 5.0, 5.0, 5.0, False)
goto_if_false @BCOUR_12867
880@ = 1
879@ = 1
goto @BCOUR_12867

:BCOUR_12867
744@ += 1
goto @BCOUR_12733

:BCOUR_12881
set_lvar_int_to_lvar_int 744@ = 759@
880@ = 0

:BCOUR_12896
876@, 877@, 878@ = Car.GetCoordinates(36@)
763@($para_pickup,30i) = Object.CreateNoOffset(#KMB_PACKET, 876@, 877@, 878@)
Object.SetCollision(763@($para_pickup,30i), True)
Object.SetDynamic(763@($para_pickup,30i), True)
827@($para_pickup,30i) = Particle.CreateOnObject("COKE_PUFF", 763@($para_pickup,30i), 0.0, 0.0, 0.5, 1)
Particle.Play(827@($para_pickup,30i))
858@, 859@, 860@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  882@ == 2
goto_if_false @BCOUR_13042
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:BCOUR_13042
if 
  879@ == 1
goto_if_false @BCOUR_13094
Object.PlaceRelativeToCar(763@($para_pickup,30i), 36@, -1.0, 0.0, 1.3)
goto @BCOUR_13121

:BCOUR_13094
Object.PlaceRelativeToCar(763@($para_pickup,30i), 36@, 0.0, 0.0, 0.7)

:BCOUR_13121
794@ = Char.GetHeading($stattreadstamina_ctr)
795@ -= 30.0
796@ -= 30.0
795@ = Math.Cos(794@)
796@ = Math.Sin(794@)
if 
  879@ == 1
goto_if_false @BCOUR_13230
795@ *= 15.0
796@ *= 15.0
Object.AddToVelocity(763@($para_pickup,30i), 795@, 796@, 1.0)
goto @BCOUR_13270

:BCOUR_13230
795@ *= 30.0
796@ *= 30.0
Object.AddToVelocity(763@($para_pickup,30i), 795@, 796@, 8.5)

:BCOUR_13270
879@ = 0
857@ += 1
797@($para_pickup,30i) = 1
set_lvar_int_to_var_int 793@ = $para_pickup
$para_pickup -= 1
TIMERA = 0

:BCOUR_13317
return 

:BCOUR_13319
if 
  $para_pickup > 0
goto_if_false @BCOUR_14375
if 
  not Car.IsDead(36@)
goto_if_false @BCOUR_14375
if 
  797@($para_pickup,30i) == 0
goto_if_false @BCOUR_14375
if 
  857@ > 0
goto_if_false @BCOUR_13411
Particle.Kill(827@(793@,30i))
Object.Delete(763@(793@,30i))

:BCOUR_13411
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_13592

:BCOUR_13429
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_13577
if 
  880@ == 0
goto_if_false @BCOUR_13563
if 
  653@(744@,30i) == 0
goto_if_false @BCOUR_13563
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 193@(744@,30f), 223@(744@,30f), 713@(744@,30f), 5.0, 5.0, 5.0, False)
goto_if_false @BCOUR_13563
880@ = 1
879@ = 1
goto @BCOUR_13563

:BCOUR_13563
744@ += 1
goto @BCOUR_13429

:BCOUR_13577
set_lvar_int_to_lvar_int 744@ = 759@
880@ = 0

:BCOUR_13592
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_13773

:BCOUR_13610
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_13758
if 
  880@ == 0
goto_if_false @BCOUR_13744
if 
  653@(744@,30i) == 0
goto_if_false @BCOUR_13744
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 103@(744@,30f), 133@(744@,30f), 713@(744@,30f), 5.0, 5.0, 5.0, False)
goto_if_false @BCOUR_13744
880@ = 1
879@ = 1
goto @BCOUR_13744

:BCOUR_13744
744@ += 1
goto @BCOUR_13610

:BCOUR_13758
set_lvar_int_to_lvar_int 744@ = 759@
880@ = 0

:BCOUR_13773
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_13954

:BCOUR_13791
if 
  is_int_lvar_greater_than_int_lvar 758@ > 744@
goto_if_false @BCOUR_13939
if 
  880@ == 0
goto_if_false @BCOUR_13925
if 
  653@(744@,30i) == 0
goto_if_false @BCOUR_13925
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 283@(744@,30f), 313@(744@,30f), 713@(744@,30f), 5.0, 5.0, 5.0, False)
goto_if_false @BCOUR_13925
880@ = 1
879@ = 1
goto @BCOUR_13925

:BCOUR_13925
744@ += 1
goto @BCOUR_13791

:BCOUR_13939
set_lvar_int_to_lvar_int 744@ = 759@
880@ = 0

:BCOUR_13954
876@, 877@, 878@ = Car.GetCoordinates(36@)
763@($para_pickup,30i) = Object.CreateNoOffset(#KMB_PACKET, 876@, 877@, 878@)
Object.SetCollision(763@($para_pickup,30i), True)
Object.SetDynamic(763@($para_pickup,30i), True)
827@($para_pickup,30i) = Particle.CreateOnObject("COKE_PUFF", 763@($para_pickup,30i), 0.0, 0.0, 0.0, 1)
Particle.Play(827@($para_pickup,30i))
858@, 859@, 860@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  882@ == 2
goto_if_false @BCOUR_14100
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)

:BCOUR_14100
if 
  879@ == 1
goto_if_false @BCOUR_14152
Object.PlaceRelativeToCar(763@($para_pickup,30i), 36@, 1.0, 0.0, 1.3)
goto @BCOUR_14179

:BCOUR_14152
Object.PlaceRelativeToCar(763@($para_pickup,30i), 36@, 0.0, 0.0, 0.7)

:BCOUR_14179
794@ = Char.GetHeading($stattreadstamina_ctr)
795@ -= 330.0
796@ -= 330.0
795@ = Math.Cos(794@)
796@ = Math.Sin(794@)
if 
  879@ == 1
goto_if_false @BCOUR_14288
795@ *= -15.0
796@ *= -15.0
Object.AddToVelocity(763@($para_pickup,30i), 795@, 796@, 1.0)
goto @BCOUR_14328

:BCOUR_14288
795@ *= -30.0
796@ *= -30.0
Object.AddToVelocity(763@($para_pickup,30i), 795@, 796@, 8.5)

:BCOUR_14328
879@ = 0
857@ += 1
797@($para_pickup,30i) = 1
set_lvar_int_to_var_int 793@ = $para_pickup
$para_pickup -= 1
TIMERA = 0

:BCOUR_14375
return 

:BCOUR_14377
if 
is_xbox_version 
goto_if_false @BCOUR_14425

:BCOUR_14390
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BCOUR_14418
wait 0
goto @BCOUR_14390

:BCOUR_14418
goto @BCOUR_14453

:BCOUR_14425
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @BCOUR_14453
wait 0
goto @BCOUR_14425

:BCOUR_14453
return 

:BCOUR_14455
if 
  3000 > TIMERB
goto_if_false @BCOUR_14485
wait 0
goto @BCOUR_14455

:BCOUR_14485
Particle.Kill(827@(793@,30i))
Object.Delete(763@(793@,30i))
return 

:BCOUR_14505
Player.SetCanDoDriveBy($statbike_temp, True)
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_14802
if 
  760@ == 0
goto_if_false @BCOUR_14564
Text.PrintBig('BCOU_40', 5000, TextStyle.Middle)

:BCOUR_14564
if 
  760@ == 1
goto_if_false @BCOUR_14598
Text.PrintBig('BCOU_41', 5000, TextStyle.Middle)

:BCOUR_14598
if 
  760@ == 2
goto_if_false @BCOUR_14632
Text.PrintBig('BCOU_42', 5000, TextStyle.Middle)

:BCOUR_14632
if 
  760@ == 3
goto_if_false @BCOUR_14666
Text.PrintBig('BCOU_43', 5000, TextStyle.Middle)

:BCOUR_14666
if 
  760@ == 4
goto_if_false @BCOUR_14700
Text.PrintBig('BCOU_44', 5000, TextStyle.Middle)

:BCOUR_14700
if 
  760@ == 5
goto_if_false @BCOUR_14734
Text.PrintBig('BCOU_45', 5000, TextStyle.Middle)

:BCOUR_14734
if 
  760@ == 6
goto_if_false @BCOUR_14768
Text.PrintBig('BCOU_46', 5000, TextStyle.Middle)

:BCOUR_14768
if 
  760@ == 7
goto_if_false @BCOUR_14802
Text.PrintBig('BCOU_47', 5000, TextStyle.Middle)

:BCOUR_14802
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_15092
if 
  762@ == 0
goto_if_false @BCOUR_14854
Text.PrintBig('BCOU_40', 5000, TextStyle.Middle)

:BCOUR_14854
if 
  762@ == 1
goto_if_false @BCOUR_14888
Text.PrintBig('BCOU_41', 5000, TextStyle.Middle)

:BCOUR_14888
if 
  762@ == 2
goto_if_false @BCOUR_14922
Text.PrintBig('BCOU_42', 5000, TextStyle.Middle)

:BCOUR_14922
if 
  762@ == 3
goto_if_false @BCOUR_14956
Text.PrintBig('BCOU_43', 5000, TextStyle.Middle)

:BCOUR_14956
if 
  762@ == 4
goto_if_false @BCOUR_14990
Text.PrintBig('BCOU_44', 5000, TextStyle.Middle)

:BCOUR_14990
if 
  762@ == 5
goto_if_false @BCOUR_15024
Text.PrintBig('BCOU_45', 5000, TextStyle.Middle)

:BCOUR_15024
if 
  762@ == 6
goto_if_false @BCOUR_15058
Text.PrintBig('BCOU_46', 5000, TextStyle.Middle)

:BCOUR_15058
if 
  762@ == 7
goto_if_false @BCOUR_15092
Text.PrintBig('BCOU_47', 5000, TextStyle.Middle)

:BCOUR_15092
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_15382
if 
  761@ == 0
goto_if_false @BCOUR_15144
Text.PrintBig('BCOU_40', 5000, TextStyle.Middle)

:BCOUR_15144
if 
  761@ == 1
goto_if_false @BCOUR_15178
Text.PrintBig('BCOU_41', 5000, TextStyle.Middle)

:BCOUR_15178
if 
  761@ == 2
goto_if_false @BCOUR_15212
Text.PrintBig('BCOU_42', 5000, TextStyle.Middle)

:BCOUR_15212
if 
  761@ == 3
goto_if_false @BCOUR_15246
Text.PrintBig('BCOU_43', 5000, TextStyle.Middle)

:BCOUR_15246
if 
  761@ == 4
goto_if_false @BCOUR_15280
Text.PrintBig('BCOU_44', 5000, TextStyle.Middle)

:BCOUR_15280
if 
  761@ == 5
goto_if_false @BCOUR_15314
Text.PrintBig('BCOU_45', 5000, TextStyle.Middle)

:BCOUR_15314
if 
  761@ == 6
goto_if_false @BCOUR_15348
Text.PrintBig('BCOU_46', 5000, TextStyle.Middle)

:BCOUR_15348
if 
  761@ == 7
goto_if_false @BCOUR_15382
Text.PrintBig('BCOU_47', 5000, TextStyle.Middle)

:BCOUR_15382
return 

:BCOUR_15384
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
if 
  is_int_lvar_equal_to_constant 872@ == 3
goto_if_false @BCOUR_15742
if 
  $courierSF_revenue == 0
goto_if_false @BCOUR_15742
Stat.RegisterOddjobMissionPassed
Stat.PlayerMadeProgress(1)
$courierSF_revenue = 1
$2004 = Pickup.CreateProtection(1887.997, 2073.008, 10.5547, $2003, $2003)
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:BCOUR_15479
if 
  Camera.GetFadingStatus
goto_if_false @BCOUR_15503
wait 0
goto @BCOUR_15479

:BCOUR_15503
Hud.SwitchWidescreen(True)
Streaming.LoadSceneInDirection(1895.53, 2063.094, 15.8639, 47.0)
Camera.SetFixedPosition(1895.53, 2063.094, 15.8639, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1894.813, 2063.775, 15.7175, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:BCOUR_15587
if 
  Camera.GetFadingStatus
goto_if_false @BCOUR_15611
wait 0
goto @BCOUR_15587

:BCOUR_15611
Audio.PlayMissionPassedTune(1)
Text.PrintBig('ASS_ACQ', 5000, TextStyle.WhiteMiddleSmaller)
wait 5000
Camera.SetFixedPosition(1890.164, 2070.478, 11.8641, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1889.516, 2071.213, 11.6633, SwitchType.JumpCut)
Text.PrintWithNumberNow('ASS_LUV', $2003, 6000, 1)
wait 6000
Camera.DoFade(500, Fade.Out)

:BCOUR_15718
if 
  Camera.GetFadingStatus
goto_if_false @BCOUR_15742
wait 0
goto @BCOUR_15718

:BCOUR_15742
if 
  is_int_lvar_equal_to_constant 872@ == 1
goto_if_false @BCOUR_16096
if 
  $courierLA_cash_pickup == 0
goto_if_false @BCOUR_16096
Stat.RegisterOddjobMissionPassed
Stat.PlayerMadeProgress(1)
$courierLA_cash_pickup = 1
$courierLV_cash_pickup = Pickup.CreateProtection(1345.859, -1757.432, 13.0078, $courierLV_revenue, $courierLV_revenue)
Text.ClearPrints
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:BCOUR_15833
if 
  Camera.GetFadingStatus
goto_if_false @BCOUR_15857
wait 0
goto @BCOUR_15833

:BCOUR_15857
Hud.SwitchWidescreen(True)
Streaming.LoadSceneInDirection(1358.596, -1741.184, 18.431, 223.0)
Camera.SetFixedPosition(1358.596, -1741.184, 18.431, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1358.372, -1742.135, 18.2203, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:BCOUR_15941
if 
  Camera.GetFadingStatus
goto_if_false @BCOUR_15965
wait 0
goto @BCOUR_15941

:BCOUR_15965
Audio.PlayMissionPassedTune(1)
Text.PrintBig('ASS_ACQ', 5000, TextStyle.WhiteMiddleSmaller)
wait 5000
Camera.SetFixedPosition(1345.565, -1753.368, 15.2186, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1345.567, -1754.218, 14.692, SwitchType.JumpCut)
Text.PrintWithNumberNow('ASS_LUV', $courierLV_revenue, 6000, 1)
wait 6000
Camera.DoFade(500, Fade.Out)

:BCOUR_16072
if 
  Camera.GetFadingStatus
goto_if_false @BCOUR_16096
wait 0
goto @BCOUR_16072

:BCOUR_16096
if 
  is_int_lvar_equal_to_constant 872@ == 2
goto_if_false @BCOUR_16450
if 
  $courierSF_cash_pickup == 0
goto_if_false @BCOUR_16450
Stat.PlayerMadeProgress(1)
Stat.RegisterOddjobMissionPassed
$courierSF_cash_pickup = 1
$shtr_hi_1 = Pickup.CreateProtection(-2593.882, 59.2467, 3.8359, $ca3_driven_to_factory, $ca3_driven_to_factory)
Player.SetControl($statbike_temp, False)
Text.ClearPrints
Camera.DoFade(500, Fade.Out)

:BCOUR_16187
if 
  Camera.GetFadingStatus
goto_if_false @BCOUR_16211
wait 0
goto @BCOUR_16187

:BCOUR_16211
Hud.SwitchWidescreen(True)
Streaming.LoadSceneInDirection(-2603.114, 51.3338, 10.1663, 275.0)
Camera.SetFixedPosition(-2603.98, 54.4522, 7.5275, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2603.014, 54.7055, 7.4818, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:BCOUR_16295
if 
  Camera.GetFadingStatus
goto_if_false @BCOUR_16319
wait 0
goto @BCOUR_16295

:BCOUR_16319
Audio.PlayMissionPassedTune(1)
Text.PrintBig('ASS_ACQ', 5000, TextStyle.WhiteMiddleSmaller)
wait 5000
Camera.SetFixedPosition(-2598.9, 59.0635, 4.8343, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2597.905, 59.0525, 4.7405, SwitchType.JumpCut)
Text.PrintWithNumberNow('ASS_LUV', $ca3_driven_to_factory, 6000, 1)
wait 6000
Camera.DoFade(500, Fade.Out)

:BCOUR_16426
if 
  Camera.GetFadingStatus
goto_if_false @BCOUR_16450
wait 0
goto @BCOUR_16426

:BCOUR_16450
Player.ClearWantedLevel($statbike_temp)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
return 

:BCOUR_16461
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BCOUR_16497
Player.SetCanDoDriveBy($statbike_temp, True)
Player.SetControl($statbike_temp, True)

:BCOUR_16497
Hud.ClearTimer($para_max_Vz)
Hud.ClearCounter($para_pickup)
Menu.Delete(863@)
Object.Delete(37@)
Particle.Kill(827@(793@,30i))
Object.Delete(763@(793@,30i))
Char.MarkAsNoLongerNeeded(38@)
Streaming.MarkModelAsNoLongerNeeded(586)
Streaming.MarkModelAsNoLongerNeeded(29)
Streaming.RemoveAnimation("SMOKING")
Blip.Remove(40@)
Blip.Remove(72@)
744@ = 0

:BCOUR_16577
if 
  30 > 744@
goto_if_false @BCOUR_16618
Blip.Remove(42@(744@,30i))
744@ += 1
goto @BCOUR_16577

:BCOUR_16618
CarGenerator.Switch($highstakes_car_gen, 101)
$flag_courier_mission_passed = Clock.GetGameTimer()
$weapon_shop1_blip = 0
Mission.Finish
return 

//-------------Mission 132---------------
// Originally: The Chiliad Challenge

:MTBIKER
gosub @MTBIKER_36
if 
  has_deatharrest_been_executed 
goto_if_false @MTBIKER_27
gosub @MTBIKER_14361

:MTBIKER_27
gosub @MTBIKER_14662
terminate_this_script 

:MTBIKER_36
$weapon_shop1_blip = 1
Text.ClearThisPrintBigNow(TextStyle.Middle)
if 
  $flag_cycling_skill_help == 0
goto_if_false @MTBIKER_67
Stat.RegisterMissionGiven

:MTBIKER_67
script_name 'MTBIKER'
Text.LoadMissionText('RACETOR')
Text.SetMessageFormatting(True, 355, 370)
wait 0
Text.UseCommands(True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MTBIKER_130
Player.SetControl($statbike_temp, False)

:MTBIKER_130
Camera.DoFade(1000, Fade.Out)

:MTBIKER_137
if 
  Camera.GetFadingStatus
goto_if_false @MTBIKER_161
wait 0
goto @MTBIKER_137

:MTBIKER_161
669@ = DecisionMakerChar.Load(DecisionMakerType.Empty)
647@ = 0

:MTBIKER_175
if 
  9 > 647@
goto_if_false @MTBIKER_229
690@(647@,10i) = 0
670@(647@,10i) = 0
647@ += 1
goto @MTBIKER_175

:MTBIKER_229
656@ = 0
657@ = 0
34@ = 582.7242
41@ = 356.2812
48@ = 52.2072
55@ = 52.2072
35@ = 584.0833
42@ = 329.3647
49@ = 0.5427
56@ = 2.0841
36@ = 572.9216
43@ = 323.5937
50@ = 1.0585
57@ = 4.8106
37@ = 585.724
44@ = 345.6341
51@ = 0.4929
58@ = 1.8511
38@ = 582.7242
45@ = 359.0323
52@ = 0.4993
59@ = 2.637
39@ = 582.7242
46@ = 356.2812
53@ = 56.2072
60@ = 56.2072
40@ = 582.7242
47@ = 356.2812
54@ = 58.2072
61@ = 58.2072
Player.BuildModel($statbike_temp)
if 
  $flag_dumper_passed_1stime == 1
goto_if_false @MTBIKER_553
goto @MTBIKER_603

:MTBIKER_553
if 
  $flag_dumper_passed_1stime == 2
goto_if_false @MTBIKER_578
goto @MTBIKER_1538

:MTBIKER_578
if 
  $flag_dumper_passed_1stime == 3
goto_if_false @MTBIKER_603
goto @MTBIKER_2993

:MTBIKER_603
if 
  $flag_dumper_passed_1stime == 1
goto_if_false @MTBIKER_637
Text.PrintBig('MTROUT1', 3000, TextStyle.MiddleSmallerHigher)

:MTBIKER_637
103@ = -2304.344
223@ = -1667.125
343@ = 483.386
463@ = 208.0
104@ = -2280.48
224@ = -1730.315
344@ = 467.8242
464@ = 178.6093
105@ = -2357.182
225@ = -1815.429
345@ = 431.4012
465@ = 64.067
106@ = -2447.403
226@ = -1718.435
346@ = 430.9626
466@ = 148.4592
107@ = -2446.652
227@ = -1810.658
347@ = 409.0582
467@ = 93.195
108@ = -2527.586
228@ = -1711.376
348@ = 401.175
468@ = 16.0889
109@ = -2552.845
229@ = -1668.842
349@ = 398.455
469@ = 155.2717
110@ = -2534.517
230@ = -1802.53
350@ = 374.7244
470@ = 127.1514
111@ = -2595.25
231@ = -1631.995
351@ = 342.7061
471@ = 176.454
112@ = -2526.43
232@ = -1888.459
352@ = 292.5149
472@ = 77.3269
113@ = -2652.859
233@ = -1739.147
353@ = 255.1567
473@ = 189.6474
114@ = -2491.229
234@ = -2034.597
354@ = 150.1413
474@ = 225.1505
115@ = -2428.644
235@ = -2088.887
355@ = 121.97
475@ = 243.2365
116@ = -2322.059
236@ = -2097.64
356@ = 114.0331
476@ = 292.4177
117@ = -2218.131
237@ = -2047.089
357@ = 118.8139
477@ = 315.497
118@ = -2168.42
238@ = -1991.872
358@ = 117.8448
478@ = 314.2462
119@ = -2102.545
239@ = -1895.227
359@ = 108.4655
479@ = 174.3973
120@ = -2162.365
240@ = -2039.522
360@ = 91.2074
480@ = 135.1339
121@ = -2373.667
241@ = -2195.089
361@ = 32.3837
481@ = 112.827
700@ = 19
92@ = 6
set_lvar_int_to_constant 701@ = 23
set_lvar_int_to_constant 702@ = 52
set_lvar_int_to_constant 703@ = 51
set_lvar_int_to_constant 704@ = 52
set_lvar_int_to_constant 705@ = 23
set_lvar_int_to_constant 706@ = 51
set_lvar_int_to_constant 707@ = 510
set_lvar_int_to_constant 708@ = 510
set_lvar_int_to_constant 709@ = 510
set_lvar_int_to_constant 710@ = 510
set_lvar_int_to_constant 711@ = 510
set_lvar_int_to_constant 712@ = 510
652@ = 38.0
653@ = 27.0
654@ = 23.0
goto @MTBIKER_4212

:MTBIKER_1538
if 
  $flag_dumper_passed_1stime == 2
goto_if_false @MTBIKER_1572
Text.PrintBig('MTROUT2', 3000, TextStyle.MiddleSmallerHigher)

:MTBIKER_1572
103@ = -2304.344
223@ = -1667.125
343@ = 483.586
463@ = 208.0
104@ = -2279.857
224@ = -1732.752
344@ = 466.799
464@ = 163.4517
105@ = -2355.609
225@ = -1815.324
345@ = 431.5401
465@ = 90.1409
106@ = -2458.843
226@ = -1733.434
346@ = 426.432
466@ = 187.8666
107@ = -2460.904
227@ = -1807.384
347@ = 406.6599
467@ = 60.8579
108@ = -2521.292
228@ = -1707.753
348@ = 401.2728
468@ = 2.4494
109@ = -2467.126
229@ = -1467.868
349@ = 388.9202
469@ = 270.5872
110@ = -2324.367
230@ = -1455.149
350@ = 380.9767
470@ = 233.5233
111@ = -2251.922
231@ = -1492.653
351@ = 377.8563
471@ = 196.094
112@ = -2191.949
232@ = -1713.993
352@ = 375.5497
472@ = 322.9377
113@ = -2206.778
233@ = -1528.34
353@ = 359.6156
473@ = 20.0752
114@ = -2280.683
234@ = -1426.188
354@ = 355.6379
474@ = 58.5606
115@ = -2419.222
235@ = -1392.925
355@ = 358.1968
475@ = 98.4498
116@ = -2569.767
236@ = -1460.698
356@ = 357.2175
476@ = 325.2711
117@ = -2440.889
237@ = -1368.257
357@ = 337.413
477@ = 304.5745
118@ = -2357.07
238@ = -1286.362
358@ = 306.1062
478@ = 103.378
119@ = -2508.153
239@ = -1273.621
359@ = 271.7476
479@ = 103.6739
120@ = -2595.492
240@ = -1360.244
360@ = 264.5467
480@ = 100.454
121@ = -2671.155
241@ = -1378.19
361@ = 252.3816
481@ = 352.7671
122@ = -2608.5
242@ = -1285.22
362@ = 219.88
482@ = 335.6836
123@ = -2537.294
243@ = -1121.297
363@ = 175.3035
483@ = 140.5565
124@ = -2634.553
244@ = -1169.384
364@ = 166.8249
484@ = 128.43
125@ = -2747.937
245@ = -1377.943
365@ = 143.0419
485@ = 168.2364
126@ = -2773.78
246@ = -1670.301
366@ = 140.4944
486@ = 169.7697
127@ = -2733.364
247@ = -1876.022
367@ = 138.8912
487@ = 269.3722
128@ = -2620.579
248@ = -2066.746
368@ = 129.5185
488@ = 201.5526
129@ = -2438.379
249@ = -2086.928
369@ = 123.3899
489@ = 257.1008
130@ = -2335.784
250@ = -2102.442
370@ = 112.9194
490@ = 283.7088
131@ = -2101.005
251@ = -1893.245
371@ = 108.8372
491@ = 174.9563
132@ = -2156.216
252@ = -2031.774
372@ = 91.9901
492@ = 145.72
133@ = -2236.111
253@ = -2118.767
373@ = 66.3876
493@ = 131.2891
134@ = -2374.958
254@ = -2195.454
374@ = 32.3626
494@ = 113.8008
700@ = 32
92@ = 6
set_lvar_int_to_constant 701@ = 23
set_lvar_int_to_constant 702@ = 52
set_lvar_int_to_constant 703@ = 51
set_lvar_int_to_constant 704@ = 52
set_lvar_int_to_constant 705@ = 23
set_lvar_int_to_constant 706@ = 51
set_lvar_int_to_constant 707@ = 510
set_lvar_int_to_constant 708@ = 510
set_lvar_int_to_constant 709@ = 510
set_lvar_int_to_constant 710@ = 510
set_lvar_int_to_constant 711@ = 510
set_lvar_int_to_constant 712@ = 510
652@ = 35.0
653@ = 30.0
654@ = 28.0
goto @MTBIKER_4212

:MTBIKER_2993
if 
  $flag_dumper_passed_1stime == 3
goto_if_false @MTBIKER_3027
Text.PrintBig('MTROUT3', 3000, TextStyle.MiddleSmallerHigher)

:MTBIKER_3027
103@ = -2432.876
223@ = -1939.654
343@ = 303.7731
463@ = 273.0
104@ = -2339.998
224@ = -1941.224
344@ = 295.8086
464@ = 269.6869
105@ = -2286.782
225@ = -1940.24
345@ = 268.8093
465@ = 245.1214
106@ = -2234.891
226@ = -1925.067
346@ = 242.4752
466@ = 300.1313
107@ = -2205.429
227@ = -1914.029
347@ = 239.2782
467@ = 269.1174
108@ = -2204.861
228@ = -1914.031
348@ = 239.1954
468@ = 269.4709
109@ = -2173.895
229@ = -1903.88
349@ = 233.6897
469@ = 314.003
110@ = -2169.728
230@ = -1885.136
350@ = 231.1551
470@ = 8.2283
111@ = -2173.511
231@ = -1861.948
351@ = 222.7416
471@ = 13.9626
112@ = -2173.641
232@ = -1843.246
352@ = 217.9074
472@ = 13.6434
113@ = -2148.431
233@ = -1792.73
353@ = 210.1444
473@ = 294.9009
114@ = -2129.241
234@ = -1775.973
354@ = 207.5088
474@ = 313.3039
115@ = -2109.724
235@ = -1755.573
355@ = 195.2899
475@ = 332.9617
116@ = -2101.756
236@ = -1744.009
356@ = 195.9091
476@ = 324.6714
117@ = -2072.08
237@ = -1644.9
357@ = 174.3308
477@ = 357.332
118@ = -2050.7
238@ = -1571.491
358@ = 137.474
478@ = 272.8463
119@ = -2041.665
239@ = -1509.007
359@ = 124.2398
479@ = 16.1558
120@ = -2033.56
240@ = -1438.604
360@ = 93.2658
480@ = 210.8019
121@ = -1991.328
241@ = -1596.526
361@ = 86.5936
481@ = 182.1263
122@ = -2027.707
242@ = -1789.331
362@ = 96.554
482@ = 160.6694
123@ = -2099.854
243@ = -1890.88
363@ = 109.2095
483@ = 175.6702
124@ = -2118.301
244@ = -1948.25
364@ = 99.0724
484@ = 162.0987
125@ = -2233.649
245@ = -2117.046
365@ = 67.2467
485@ = 134.1193
126@ = -2373.892
246@ = -2194.998
366@ = 32.3799
486@ = 115.9183
700@ = 24
92@ = 3
set_lvar_int_to_constant 701@ = 51
set_lvar_int_to_constant 702@ = 52
set_lvar_int_to_constant 703@ = 23
set_lvar_int_to_constant 707@ = 510
set_lvar_int_to_constant 708@ = 510
set_lvar_int_to_constant 709@ = 510
652@ = 40.0
653@ = 30.0
654@ = 25.0
Streaming.RequestCarRecording(829)
Streaming.RequestCarRecording(830)
Streaming.RequestCarRecording(831)
Streaming.RequestCarRecording(832)
Streaming.RequestCarRecording(833)
Streaming.RequestCarRecording(834)

:MTBIKER_4106
if or
  not Streaming.HasCarRecordingBeenLoaded(829)
  not Streaming.HasCarRecordingBeenLoaded(830)
  not Streaming.HasCarRecordingBeenLoaded(831)
  not Streaming.HasCarRecordingBeenLoaded(832)
  not Streaming.HasCarRecordingBeenLoaded(833)
  not Streaming.HasCarRecordingBeenLoaded(834)
goto_if_false @MTBIKER_4158
wait 0
goto @MTBIKER_4106

:MTBIKER_4158
780@ = Checkpoint.Create(CheckpointType.TubeArrow, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 777@, 778@, 779@, 6.0)
Checkpoint.Delete(780@)
goto @MTBIKER_4212

:MTBIKER_4212
set_lvar_float_to_lvar_float 655@ = 654@

:MTBIKER_4220
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @MTBIKER_4247
wait 0
goto @MTBIKER_4220

:MTBIKER_4247
World.ClearArea(103@, 223@, 343@, 0.5, False)
Streaming.LoadScene(103@, 223@, 343@)
set_lvar_int_to_lvar_int 713@ = 700@
713@ -= 1
643@ = 0
644@ = 0
645@ = 0
646@ = 0
set_lvar_int_to_lvar_int 744@ = 92@

:MTBIKER_4327
if 
  is_int_lvar_greater_than_int_lvar 744@ > 644@
goto_if_false @MTBIKER_4371
745@(644@,10i) = 0
644@ += 1
goto @MTBIKER_4327

:MTBIKER_4371
755@ = Blip.AddForCoord(103@, 223@, 343@)
756@ = 0

:MTBIKER_4392
wait 0
$RStickY = Clock.GetGameTimer()
758@ = 0
644@ = 0
if 
  756@ == 0
goto_if_false @MTBIKER_4619
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MTBIKER_4619
Char.SetCoordinates($stattreadstamina_ctr, 103@, 223@, 343@)
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 104@, 224@, 100.0, 100.0, False)
goto_if_false @MTBIKER_4619
643@ = 0
set_var_float_to_lvar_float $on_footY = 103@
$on_footY += 7.0
set_var_float_to_lvar_float $on_footZ = 223@
$on_footZ += 7.0
set_var_float_to_lvar_float $in_carX = 343@
$in_carX += 4.0
set_lvar_float_to_lvar_float 659@ = 103@
659@ -= 7.0
set_lvar_float_to_lvar_float 660@ = 223@
660@ -= 7.0
set_lvar_float_to_lvar_float 661@ = 343@
661@ -= 4.0
756@ += 1

:MTBIKER_4619
if 
  756@ == 1
goto_if_false @MTBIKER_4739
set_lvar_int_to_lvar_int 647@ = 744@
647@ -= 1
if and
  Streaming.HasModelLoaded(701@(643@,6i))
  Streaming.HasModelLoaded(707@(643@,6i))
goto_if_false @MTBIKER_4695
643@ += 1
goto @MTBIKER_4713

:MTBIKER_4695
Streaming.RequestModel(701@(643@,6i))
Streaming.RequestModel(707@(643@,6i))

:MTBIKER_4713
if 
  is_int_lvar_equal_to_int_lvar 643@ == 647@
goto_if_false @MTBIKER_4739
756@ += 1

:MTBIKER_4739
if 
  756@ == 2
goto_if_false @MTBIKER_6378
774@ = Car.Create(707@, 103@, 223@, 343@)
Car.TurnToFaceCoord(774@, 104@, 224@)
set_lvar_int_to_lvar_int 647@ = 744@
647@ -= 1
644@ = 0

:MTBIKER_4807
if 
  is_int_lvar_greater_than_int_lvar 744@ > 644@
goto_if_false @MTBIKER_6138
set_lvar_int_to_lvar_int 645@ = 644@
645@ /= 2
645@ *= 2
if 
  is_int_lvar_equal_to_int_lvar 645@ == 644@
goto_if_false @MTBIKER_4925
$on_footY = 2.0
set_lvar_int_to_lvar_int 646@ = 644@
646@ *= 4
cset_lvar_float_to_lvar_int 662@ =# 646@
662@ *= -3.0
set_var_float_to_lvar_float $on_footZ = 662@
goto @MTBIKER_4983

:MTBIKER_4925
$on_footY = -2.0
set_lvar_int_to_lvar_int 646@ = 644@
646@ -= 1
646@ *= 4
cset_lvar_float_to_lvar_int 662@ =# 646@
662@ *= -1.2
set_var_float_to_lvar_float $on_footZ = 662@

:MTBIKER_4983
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, $on_footY, $on_footZ, $in_carX)
663@ = Car.GetHeading(774@)
set_var_float_to_lvar_float $in_carX = 343@
set_lvar_float_to_var_float 714@(644@,6f) = $on_footY
set_lvar_float_to_var_float 720@(644@,6f) = $on_footZ
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
set_lvar_float_to_var_float 726@(644@,6f) = $in_carX
if 
  is_int_lvar_greater_than_int_lvar 647@ > 644@
goto_if_false @MTBIKER_5377
732@(644@,6i) = Car.Create(707@(644@,6i), $on_footY, $on_footZ, $in_carX)
StuckCarCheck.AddWithWarp(732@(644@,6i), 0.5, 5000, True, False, True, 1)
Car.SetTraction(732@(644@,6i), 1.5)
Streaming.MarkModelAsNoLongerNeeded(707@(644@,6i))
Car.SetHeading(732@(644@,6i), 663@)
Car.SetProofs(732@(644@,6i), False, True, False, False, False)
Car.SetWatertight(732@(644@,6i), True)
Car.SetStrong(732@(644@,6i), True)
Car.SetUpsidedownNotDamaged(732@(644@,6i), True)
Car.SetStraightLineDistance(732@(644@,6i), 5)
Car.SetCanBurstTires(732@(644@,6i), False)
738@(644@,6i) = Char.CreateInsideCar(732@(644@,6i), PedType.CivMale, 701@(644@,6i))
Char.ClearLastDamageEntity(738@(644@,6i))
Streaming.MarkModelAsNoLongerNeeded(701@(644@,6i))
Char.SetCanBeShotInVehicle(738@(644@,6i), False)
Char.SetDecisionMaker(738@(644@,6i), 669@)
Car.ImproveByCheating(732@(644@,6i), True)
Car.SetIdle(732@(644@,6i))
Car.SetDrivingStyle(732@(644@,6i), DrivingMode.AvoidCars)
Car.SetCruiseSpeed(732@(644@,6i), 655@)
Car.SetOnlyDamagedByPlayer(732@(644@,6i), True)
goto @MTBIKER_6124

:MTBIKER_5377
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, -4.0435, 6.5755, -0.8)
770@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(770@, 103@, 223@, 343@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, -5.6392, 2.9435, -0.8)
759@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(759@, 103@, 223@, 343@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, -6.0071, -2.0778, -0.8)
760@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(760@, 103@, 223@, 343@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, -7.6039, -5.0807, -0.8)
761@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(761@, 103@, 223@, 343@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, -7.0724, -6.4057, -0.8)
762@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(762@, 103@, 223@, 343@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, -5.9988, -13.553, -0.8)
763@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(763@, 103@, 223@, 343@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, 6.073, -15.2059, -0.8)
764@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(764@, 103@, 223@, 343@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, 7.2639, -12.9933, -0.8)
765@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(765@, 103@, 223@, 343@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, 5.8429, -7.7069, -0.8)
766@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(766@, 103@, 223@, 343@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, 8.4135, -3.7971, -0.8)
767@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(767@, 103@, 223@, 343@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, 6.2507, 0.3634, -0.8)
768@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(768@, 103@, 223@, 343@)
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(774@, 8.6397, 2.419, -0.8)
769@ = Char.CreateRandom($on_footY, $on_footZ, $in_carX)
Task.TurnCharToFaceCoord(769@, 103@, 223@, 343@)
Car.Delete(774@)
Blip.Remove(755@)
755@ = Blip.AddForCoord(714@(647@,6f), 720@(647@,6f), 726@(647@,6f))
World.SetCarDensityMultiplier(0.5)
set_lvar_int_to_var_int 738@(644@,6i) = $stattreadstamina_ctr
set_lvar_int_to_lvar_int 757@ = 644@

:MTBIKER_6124
644@ += 1
goto @MTBIKER_4807

:MTBIKER_6138
756@ += 1
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MTBIKER_6234
732@(757@,6i) = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetHealth(732@(757@,6i), 500)
Car.ClearLastDamageEntity(732@(757@,6i))
Char.SetCoordinates($stattreadstamina_ctr, 714@(757@,6f), 720@(757@,6f), 726@(757@,6f))
Car.SetHeading(732@(757@,6i), 463@)
Camera.SetBehindPlayer

:MTBIKER_6234
Hud.SwitchWidescreen(True)
wait 500
Camera.DoFade(1000, Fade.In)
Text.ClearPrints

:MTBIKER_6252
if 
  Camera.GetFadingStatus
goto_if_false @MTBIKER_6276
wait 0
goto @MTBIKER_6252

:MTBIKER_6276
if 
  $flag_dumper_passed_1stime == 1
goto_if_false @MTBIKER_6310
Text.PrintNow('MTROUT1', 3000, 6)

:MTBIKER_6310
if 
  $flag_dumper_passed_1stime == 2
goto_if_false @MTBIKER_6344
Text.PrintNow('MTROUT2', 3000, 6)

:MTBIKER_6344
if 
  $flag_dumper_passed_1stime == 3
goto_if_false @MTBIKER_6378
Text.PrintNow('MTROUT3', 3000, 6)

:MTBIKER_6378
if 
  756@ == 3
goto_if_false @MTBIKER_6704
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MTBIKER_6704
set_lvar_int_to_lvar_int 647@ = 744@
647@ -= 1
644@ = 0

:MTBIKER_6434
if 
  is_int_lvar_greater_than_int_lvar 647@ > 644@
goto_if_false @MTBIKER_6625
if or
  Car.IsDead(732@(644@,6i))
  Char.IsDead(738@(644@,6i))
goto_if_false @MTBIKER_6505
Text.PrintNow('RACES25', 5000, 1)
goto @MTBIKER_14361

:MTBIKER_6505
if 
  not Car.IsDead(732@(644@,6i))
goto_if_false @MTBIKER_6611
if 
  not Char.IsDead(738@(644@,6i))
goto_if_false @MTBIKER_6611
if or
  not Car.IsHealthGreater(732@(644@,6i), 999)
  not Char.IsInCar(738@(644@,6i), 732@(644@,6i))
goto_if_false @MTBIKER_6611
Text.PrintBig('RACES_3', 1200, TextStyle.MiddleSmaller)
Hud.DisplayCarNames(False)
756@ = 7

:MTBIKER_6611
644@ += 1
goto @MTBIKER_6434

:MTBIKER_6625
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetAllCarsCanBeDamaged(False)
Text.PrintBig('RACES_4', 1100, TextStyle.MiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, 65535)
set_lvar_int_to_var_int 771@ = $RStickY
771@ += 999
756@ += 1

:MTBIKER_6704
if 
  756@ == 4
goto_if_false @MTBIKER_6802
if 
  is_int_var_greater_than_int_lvar $RStickY > 771@
goto_if_false @MTBIKER_6802
Text.PrintBig('RACES_5', 1100, TextStyle.MiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, 65535)
set_lvar_int_to_var_int 771@ = $RStickY
771@ += 999
756@ += 1

:MTBIKER_6802
if 
  756@ == 5
goto_if_false @MTBIKER_6900
if 
  is_int_var_greater_than_int_lvar $RStickY > 771@
goto_if_false @MTBIKER_6900
Text.PrintBig('RACES_6', 1100, TextStyle.MiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, 65535)
set_lvar_int_to_var_int 771@ = $RStickY
771@ += 999
756@ += 1

:MTBIKER_6900
if 
  756@ == 6
goto_if_false @MTBIKER_7127
if 
  is_int_var_greater_than_int_lvar $RStickY > 771@
goto_if_false @MTBIKER_7127
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MTBIKER_7127
Text.PrintBig('RACES_7', 800, TextStyle.MiddleSmaller)
Sound.AddOneOffSound(0.0, 0.0, 0.0, 65535)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetAllCarsCanBeDamaged(True)
Camera.Restore
Hud.SwitchWidescreen(False)
Hud.DisplayCarNames(False)
set_lvar_int_to_var_int 651@ = $RStickY
set_lvar_int_to_lvar_int 647@ = 744@
647@ -= 1
644@ = 0

:MTBIKER_7049
if 
  is_int_lvar_greater_than_int_lvar 647@ > 644@
goto_if_false @MTBIKER_7113
if 
  not Car.IsDead(732@(644@,6i))
goto_if_false @MTBIKER_7099
Car.SetOnlyDamagedByPlayer(732@(644@,6i), False)

:MTBIKER_7099
644@ += 1
goto @MTBIKER_7049

:MTBIKER_7113
771@ = 0
756@ += 1

:MTBIKER_7127
if 
  756@ > 6
goto_if_false @MTBIKER_12434

:MTBIKER_7145
if 
  is_int_lvar_greater_than_int_lvar 744@ > 644@
goto_if_false @MTBIKER_11758
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @MTBIKER_11744
if 
  not Char.IsDead(738@(644@,6i))
goto_if_false @MTBIKER_9450
if 
  not is_int_lvar_equal_to_int_var 738@(644@,6i) == $stattreadstamina_ctr
goto_if_false @MTBIKER_7316
if 
  Char.HasBeenDamagedByChar(738@(644@,6i), $stattreadstamina_ctr)
goto_if_false @MTBIKER_7316
if 
  not Car.IsDead(732@(757@,6i))
goto_if_false @MTBIKER_7316
if 
  not Char.HasBeenDamagedByCar(738@(644@,6i), 732@(757@,6i))
goto_if_false @MTBIKER_7316
Text.PrintNow('RACES25', 5000, 1)
goto @MTBIKER_14361

:MTBIKER_7316
if 
  756@ == 8
goto_if_false @MTBIKER_9061
if 
  not is_int_lvar_equal_to_int_var 738@(644@,6i) == $stattreadstamina_ctr
goto_if_false @MTBIKER_9061
if 
  is_int_lvar_equal_to_int_lvar 745@(757@,10i) == 745@(644@,10i)
goto_if_false @MTBIKER_7499
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(738@(644@,6i))
773@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 714@(644@,6f), 720@(644@,6f))
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
664@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 714@(644@,6f), 720@(644@,6f))
if 
  is_float_lvar_greater_than_float_lvar 664@ > 773@
goto_if_false @MTBIKER_7492
758@ += 1

:MTBIKER_7492
goto @MTBIKER_7533

:MTBIKER_7499
if 
  is_int_lvar_greater_than_int_lvar 745@(644@,10i) > 745@(757@,10i)
goto_if_false @MTBIKER_7533
758@ += 1

:MTBIKER_7533
if 
  not Char.IsDead(738@(644@,6i))
goto_if_false @MTBIKER_7649
if 
  not Char.LocateAnyMeans2D(738@(644@,6i), 62@(644@,10f), 72@(644@,10f), 3.0, 3.0, False)
goto_if_false @MTBIKER_7649
62@(644@,10f), 72@(644@,10f), $in_carX = Char.GetCoordinates(738@(644@,6i))
set_lvar_int_to_var_int 93@(644@,10i) = $RStickY
93@(644@,10i) += 2000

:MTBIKER_7649
if 
  not Char.IsDead(738@(644@,6i))
goto_if_false @MTBIKER_8492
if 
  not Car.IsDead(732@(644@,6i))
goto_if_false @MTBIKER_7859
if 
  670@(644@,10i) == 0
goto_if_false @MTBIKER_7749
if 
  not Char.IsInCar(738@(644@,6i), 732@(644@,6i))
goto_if_false @MTBIKER_7749
670@(644@,10i) = 1

:MTBIKER_7749
if 
  670@(644@,10i) == 1
goto_if_false @MTBIKER_7859
if 
  Char.IsInCar(738@(644@,6i), 732@(644@,6i))
goto_if_false @MTBIKER_7859
Char.ClearTasks(738@(644@,6i))
Task.CarDriveToCoord(738@(644@,6i), -1, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 655@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)
670@(644@,10i) = 0

:MTBIKER_7859
if 
  Char.LocateAnyMeans2D(738@(644@,6i), 62@(644@,10f), 72@(644@,10f), 3.0, 3.0, False)
goto_if_false @MTBIKER_8492
if 
  is_int_var_greater_than_int_lvar $RStickY > 93@(644@,10i)
goto_if_false @MTBIKER_8492
if 
  not Char.IsOnScreen(738@(644@,6i))
goto_if_false @MTBIKER_8492
if 
  not Car.IsDead(732@(644@,6i))
goto_if_false @MTBIKER_8169
if 
  not Char.IsInCar(738@(644@,6i), 732@(644@,6i))
goto_if_false @MTBIKER_8162
665@ = Car.GetDriver(732@(644@,6i))
if 
  665@ == -1
goto_if_false @MTBIKER_8048
Char.WarpIntoCar(738@(644@,6i), 732@(644@,6i))
goto @MTBIKER_8162

:MTBIKER_8048
Car.MarkAsNoLongerNeeded(732@(644@,6i))
732@(644@,6i) = Car.Create(707@(644@,6i), $on_footY, $on_footZ, $in_carX)
Char.WarpIntoCar(738@(644@,6i), 732@(644@,6i))
Car.TurnToFaceCoord(732@(644@,6i), 714@(644@,6f), 720@(644@,6f))
Task.CarDriveToCoord(738@(644@,6i), -1, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 655@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)

:MTBIKER_8162
goto @MTBIKER_8283

:MTBIKER_8169
Car.Delete(732@(644@,6i))
732@(644@,6i) = Car.Create(707@(644@,6i), $on_footY, $on_footZ, $in_carX)
Char.WarpIntoCar(738@(644@,6i), 732@(644@,6i))
Car.TurnToFaceCoord(732@(644@,6i), 714@(644@,6f), 720@(644@,6f))
Task.CarDriveToCoord(738@(644@,6i), -1, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 655@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)

:MTBIKER_8283
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(738@(644@,6i))
$on_footY, $on_footZ, $in_carX = Path.GetClosestCarNode($on_footY, $on_footZ, $in_carX)
if 
  not World.IsPointObscuredByAMissionEntity($on_footY, $on_footZ, $in_carX, 10.0, 10.0, 10.0)
goto_if_false @MTBIKER_8492
if 
  not Camera.IsPointOnScreen($on_footY, $on_footZ, $in_carX, 4.0)
goto_if_false @MTBIKER_8492
Char.SetCoordinates(738@(644@,6i), $on_footY, $on_footZ, $in_carX)
if 
  Char.IsInAnyCar(738@(644@,6i))
goto_if_false @MTBIKER_8492
774@ = Char.StoreCarIsInNoSave(738@(644@,6i))
Char.SetHeading(738@(644@,6i), 463@(644@,120f))
Task.CarDriveToCoord(738@(644@,6i), -1, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 655@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)

:MTBIKER_8492
if 
  Char.IsInAnyCar(738@(644@,6i))
goto_if_false @MTBIKER_8543
set_lvar_int_to_lvar_int 647@ = 745@(757@,10i)
647@ += 5
774@ = Char.StoreCarIsInNoSave(738@(644@,6i))

:MTBIKER_8543
643@ = 0
646@ = 0

:MTBIKER_8557
if 
  is_int_lvar_greater_than_int_lvar 744@ > 643@
goto_if_false @MTBIKER_8639
set_lvar_int_to_lvar_int 775@ = 745@(643@,10i)
775@ -= 3
if 
  is_int_lvar_greater_than_int_lvar 775@ > 745@(644@,10i)
goto_if_false @MTBIKER_8625
646@ += 1

:MTBIKER_8625
643@ += 1
goto @MTBIKER_8557

:MTBIKER_8639
if 
  646@ > 0
goto_if_false @MTBIKER_9061
if 
  not Char.IsDead(738@(644@,6i))
goto_if_false @MTBIKER_9061
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 738@(644@,6i), 30.0, 30.0, 5.0, False)
goto_if_false @MTBIKER_9061
if 
  not Char.IsOnScreen(738@(644@,6i))
goto_if_false @MTBIKER_9061
if 
  not World.IsPointObscuredByAMissionEntity(714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 10.0, 10.0, 10.0)
goto_if_false @MTBIKER_9061
if 
  not Camera.IsPointOnScreen(714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 4.0)
goto_if_false @MTBIKER_9061
Char.SetCoordinates(738@(644@,6i), 714@(644@,6f), 720@(644@,6f), 726@(644@,6f))
if 
  Char.IsInAnyCar(738@(644@,6i))
goto_if_false @MTBIKER_8951
774@ = Char.StoreCarIsInNoSave(738@(644@,6i))
Char.SetHeading(738@(644@,6i), 463@(644@,120f))
Task.CarDriveToCoord(738@(644@,6i), -1, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 655@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)
goto @MTBIKER_9061

:MTBIKER_8951
732@(644@,6i) = Car.Create(707@(644@,6i), 714@(644@,6f), 720@(644@,6f), 726@(644@,6f))
Char.WarpIntoCar(738@(644@,6i), 732@(644@,6i))
Char.SetHeading(738@(644@,6i), 463@(644@,120f))
Task.CarDriveToCoord(738@(644@,6i), -1, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 655@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)

:MTBIKER_9061
if 
  656@ == 0
goto_if_false @MTBIKER_9183
if 
  is_int_lvar_equal_to_int_var 738@(644@,6i) == $stattreadstamina_ctr
goto_if_false @MTBIKER_9183
if 
  not Char.LocateAnyMeans3D(738@(644@,6i), 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 500.0, 500.0, 500.0, False)
goto_if_false @MTBIKER_9183
Text.PrintNow('RACES25', 5000, 1)
goto @MTBIKER_14361

:MTBIKER_9183
if 
  $flag_dumper_passed_1stime == 3
goto_if_false @MTBIKER_9378
if and
  13 > 745@(644@,10i)
  745@(644@,10i) > 4
goto_if_false @MTBIKER_9306
if 
  Char.LocateInCar3D(738@(644@,6i), 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 4.0, 4.0, 1.5, False)
goto_if_false @MTBIKER_9299
goto @MTBIKER_12441

:MTBIKER_9299
goto @MTBIKER_9371

:MTBIKER_9306
if 
  Char.LocateInCar3D(738@(644@,6i), 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 15.0, 15.0, 5.0, False)
goto_if_false @MTBIKER_9371
goto @MTBIKER_12441

:MTBIKER_9371
goto @MTBIKER_9443

:MTBIKER_9378
if 
  Char.LocateInCar3D(738@(644@,6i), 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 15.0, 15.0, 5.0, False)
goto_if_false @MTBIKER_9443
goto @MTBIKER_12441

:MTBIKER_9443
goto @MTBIKER_9504

:MTBIKER_9450
if 
  not is_int_lvar_equal_to_int_var 738@(644@,6i) == $stattreadstamina_ctr
goto_if_false @MTBIKER_9504
if 
  not Char.IsInWater(738@(644@,6i))
goto_if_false @MTBIKER_9504
745@(644@,10i) = 0

:MTBIKER_9504
if 
  is_int_lvar_equal_to_int_var 738@(644@,6i) == $stattreadstamina_ctr
goto_if_false @MTBIKER_11350
if 
  not Car.IsDead(732@(757@,6i))
goto_if_false @MTBIKER_11318
583@(644@,10f), 593@(644@,10f), 603@(644@,10f) = Char.GetCoordinates(738@(757@,6i))
613@, 623@, 633@ = Car.GetCoordinates(732@(757@,6i))
sub_float_lvar_from_float_lvar 603@(644@,10f) -= 726@(644@,6f)
sub_float_lvar_from_float_lvar 633@ -= 726@(644@,6f)
if or
  -24.5 > 603@(644@,10f)
  -24.5 > 633@
goto_if_false @MTBIKER_10089
if 
  657@ == 0
goto_if_false @MTBIKER_9699
657@ = 1
set_lvar_int_to_var_int 668@ = $RStickY
668@ += 1500

:MTBIKER_9699
if 
  657@ == 1
goto_if_false @MTBIKER_10082
set_lvar_int_to_lvar_int 649@ = 668@
sub_int_var_from_int_lvar 649@ -= $RStickY
649@ /= 1000
if 
  1 > 649@
goto_if_false @MTBIKER_9766
649@ = 0

:MTBIKER_9766
if 
  is_int_var_greater_than_int_lvar $RStickY > 668@
goto_if_false @MTBIKER_10082
set_lvar_int_to_lvar_int 658@ = 745@(644@,10i)
658@ -= 1
if 
  2 >= $flag_returned_shoehorses
goto_if_false @MTBIKER_10059
if 
  $flag_returned_shoehorses > 0
goto_if_false @MTBIKER_9847
$flag_returned_shoehorses = 6

:MTBIKER_9847
Player.SetControl($statbike_temp, False)
Player.SetControl($statbike_temp, False)
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)

:MTBIKER_9875
if 
  Camera.GetFadingStatus
goto_if_false @MTBIKER_9899
wait 0
goto @MTBIKER_9875

:MTBIKER_9899
if 
  not Car.IsDead(732@(757@,6i))
goto_if_false @MTBIKER_10008
if 
  not Char.IsInCar(738@(644@,6i), 732@(757@,6i))
goto_if_false @MTBIKER_9962
Char.WarpIntoCar(738@(644@,6i), 732@(757@,6i))

:MTBIKER_9962
Car.SetCoordinates(732@(757@,6i), 103@(658@,120f), 223@(658@,120f), 343@(658@,120f))
Car.SetHeading(732@(757@,6i), 463@(658@,120f))

:MTBIKER_10008
Camera.DoFade(500, Fade.In)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:MTBIKER_10019
if 
  Camera.GetFadingStatus
goto_if_false @MTBIKER_10043
wait 0
goto @MTBIKER_10019

:MTBIKER_10043
Camera.SetBehindPlayer
Player.SetControl($statbike_temp, True)
goto @MTBIKER_10082

:MTBIKER_10059
Text.PrintNow('RACES25', 5000, 1)
goto @MTBIKER_14361

:MTBIKER_10082
goto @MTBIKER_10114

:MTBIKER_10089
if 
  657@ == 1
goto_if_false @MTBIKER_10114
657@ = 0

:MTBIKER_10114
if 
  not Car.IsDead(732@(757@,6i))
goto_if_false @MTBIKER_11311
if 
  not Char.IsInCar($stattreadstamina_ctr, 732@(757@,6i))
goto_if_false @MTBIKER_11018
if 
  656@ == 0
goto_if_false @MTBIKER_10269
Checkpoint.Delete(780@)
Blip.Remove(755@)
if 
  not Car.IsDead(732@(757@,6i))
goto_if_false @MTBIKER_10224
755@ = Blip.AddForCar(732@(757@,6i))
Blip.SetAsFriendly(755@, True)

:MTBIKER_10224
set_lvar_int_to_lvar_int 666@ = 644@
720@(644@,6f) += 1000.0
set_lvar_int_to_var_int 667@ = $RStickY
667@ += 25400
656@ = 1

:MTBIKER_10269
set_lvar_int_to_lvar_int 649@ = 667@
sub_int_var_from_int_lvar 649@ -= $RStickY
649@ /= 1000
if 
  1 > 649@
goto_if_false @MTBIKER_10318
649@ = 0

:MTBIKER_10318
if 
  is_int_var_greater_than_int_lvar $RStickY > 667@
goto_if_false @MTBIKER_10362
Text.PrintNow('RACES20', 5000, 1)
goto @MTBIKER_14361
return 

:MTBIKER_10362
if 
  649@ == 1
goto_if_false @MTBIKER_10410
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('RACE_51', 649@, 200, 1)
goto @MTBIKER_10433

:MTBIKER_10410
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('RACES50', 649@, 200, 1)

:MTBIKER_10433
if 
  is_int_lvar_equal_to_int_lvar 745@(644@,10i) == 700@
goto_if_false @MTBIKER_11011
if 
  is_int_lvar_equal_to_int_var 738@(644@,6i) == $stattreadstamina_ctr
goto_if_false @MTBIKER_11011
if 
  is_int_var_greater_than_int_var $RStickY > $1811($flag_dumper_passed_1stime,5i)
goto_if_false @MTBIKER_10683
set_var_int_to_var_int $1811($flag_dumper_passed_1stime,5i) = $RStickY
set_lvar_int_to_var_int 776@ = $RStickY
sub_int_lvar_from_int_lvar 776@ -= 651@
set_var_int_to_var_int $1811($flag_dumper_passed_1stime,5i) = $RStickY
Stat.RegisterFastestTime(StatId.Longest2WheelDist, $1811($flag_dumper_passed_1stime,5i))
776@ /= 1000
set_lvar_int_to_lvar_int 648@ = 776@
648@ /= 60
set_lvar_int_to_lvar_int 647@ = 648@
647@ *= 60
set_lvar_int_to_lvar_int 649@ = 776@
sub_int_lvar_from_int_lvar 649@ -= 647@
if 
  649@ > 9
goto_if_false @MTBIKER_10654
Text.PrintWith2NumbersBig('LAPMTB2', 648@, 649@, 5000, TextStyle.WhiteMiddleSmaller)
goto @MTBIKER_10676

:MTBIKER_10654
Text.PrintWith2NumbersBig('LAPMTB', 648@, 649@, 5000, TextStyle.WhiteMiddleSmaller)

:MTBIKER_10676
goto @MTBIKER_10965

:MTBIKER_10683
set_lvar_int_to_var_int 776@ = $1811($flag_dumper_passed_1stime,5i)
sub_int_lvar_from_int_lvar 776@ -= 651@
776@ /= 1000
set_lvar_int_to_lvar_int 648@ = 776@
648@ /= 60
set_lvar_int_to_lvar_int 647@ = 648@
647@ *= 60
set_lvar_int_to_lvar_int 649@ = 776@
sub_int_lvar_from_int_lvar 649@ -= 647@
if 
  649@ > 9
goto_if_false @MTBIKER_10804
Text.PrintWith2NumbersBig('RACES08', 648@, 649@, 5000, TextStyle.WhiteMiddleSmaller)
goto @MTBIKER_10826

:MTBIKER_10804
Text.PrintWith2NumbersBig('RACES22', 648@, 649@, 5000, TextStyle.WhiteMiddleSmaller)

:MTBIKER_10826
set_lvar_int_to_var_int 776@ = $RStickY
sub_int_lvar_from_int_lvar 776@ -= 651@
776@ /= 1000
set_lvar_int_to_lvar_int 648@ = 776@
648@ /= 60
set_lvar_int_to_lvar_int 647@ = 648@
647@ *= 60
set_lvar_int_to_lvar_int 649@ = 776@
sub_int_lvar_from_int_lvar 649@ -= 647@
if 
  649@ > 9
goto_if_false @MTBIKER_10943
Text.PrintWith2NumbersBig('RACE_52', 648@, 649@, 5000, TextStyle.MiddleSmaller)
goto @MTBIKER_10965

:MTBIKER_10943
Text.PrintWith2NumbersBig('RACE_53', 648@, 649@, 5000, TextStyle.MiddleSmaller)

:MTBIKER_10965
758@ += 1
if 
  758@ == 1
goto_if_false @MTBIKER_11004
goto @MTBIKER_14379
goto @MTBIKER_11011

:MTBIKER_11004
goto @MTBIKER_14361

:MTBIKER_11011
goto @MTBIKER_11311

:MTBIKER_11018
if 
  656@ == 1
goto_if_false @MTBIKER_11311
Text.ClearThisPrint('RACES50')
Blip.Remove(755@)
720@(644@,6f) -= 1000.0
645@ = 0
set_lvar_int_to_lvar_int 647@ = 92@
647@ -= 1
755@ = Blip.AddForCoord(714@(666@,6f), 720@(666@,6f), 726@(666@,6f))
Blip.ChangeColor(755@, BlipColor.Red)
Blip.ChangeDisplay(755@, BlipDisplay.BlipOnly)
Blip.ChangeScale(755@, 3)
if 
  is_int_lvar_equal_to_int_lvar 745@(666@,10i) == 713@
goto_if_false @MTBIKER_11213
780@ = Checkpoint.Create(CheckpointType.TubeEnd, 714@(666@,6f), 720@(666@,6f), 726@(666@,6f), 0.0, 0.0, 0.0, 6.0)
goto @MTBIKER_11304

:MTBIKER_11213
set_lvar_int_to_lvar_int 647@ = 745@(666@,10i)
647@ += 1
if 
  is_int_lvar_equal_to_int_lvar 745@(666@,10i) == 713@
goto_if_false @MTBIKER_11262
647@ = 1

:MTBIKER_11262
780@ = Checkpoint.Create(CheckpointType.TubeArrow, 714@(666@,6f), 720@(666@,6f), 726@(666@,6f), 777@, 778@, 779@, 6.0)

:MTBIKER_11304
656@ = 0

:MTBIKER_11311
goto @MTBIKER_11343

:MTBIKER_11318
Text.PrintNow('RACES24', 5000, 1)
goto @MTBIKER_14361
return 

:MTBIKER_11343
goto @MTBIKER_11744

:MTBIKER_11350
if 
  not Char.IsDead(738@(644@,6i))
goto_if_false @MTBIKER_11744
if 
  not Car.IsDead(732@(644@,6i))
goto_if_false @MTBIKER_11744
583@(644@,10f), 593@(644@,10f), 603@(644@,10f) = Char.GetCoordinates(738@(644@,6i))
sub_float_lvar_from_float_lvar 603@(644@,10f) -= 726@(644@,6f)
if 
  -15.5 > 603@(644@,10f)
goto_if_false @MTBIKER_11744
if 
  not Camera.IsPointOnScreen(103@(658@,120f), 223@(658@,120f), 343@(658@,120f), 10.0)
goto_if_false @MTBIKER_11744
set_lvar_int_to_lvar_int 658@ = 745@(644@,10i)
658@ -= 1
if 
  Char.IsInCar(738@(644@,6i), 732@(644@,6i))
goto_if_false @MTBIKER_11599
Car.SetCoordinates(732@(644@,6i), 103@(658@,120f), 223@(658@,120f), 343@(658@,120f))
Car.SetHeading(732@(644@,6i), 463@(644@,120f))
goto @MTBIKER_11744

:MTBIKER_11599
665@ = Car.GetDriver(732@(644@,6i))
if 
  665@ == -1
goto_if_false @MTBIKER_11682
Char.WarpIntoCar(738@(644@,6i), 732@(644@,6i))
Car.SetCoordinates(732@(644@,6i), 103@(658@,120f), 223@(658@,120f), 343@(658@,120f))
goto @MTBIKER_11744

:MTBIKER_11682
Car.MarkAsNoLongerNeeded(732@(644@,6i))
732@(644@,6i) = Car.Create(707@(644@,6i), 103@(658@,120f), 223@(658@,120f), 343@(658@,120f))
Char.WarpIntoCar(738@(644@,6i), 732@(644@,6i))

:MTBIKER_11744
644@ += 1
goto @MTBIKER_7145

:MTBIKER_11758
Hud.DrawRect(40@, 47@, 54@, 61@, 0, 0, 0, 255)
Hud.DrawRect(39@, 46@, 53@, 60@, 134, 155, 184, 255)
Hud.DrawRect(34@, 41@, 48@, 55@, 0, 0, 0, 255)
758@ += 1
gosub @MTBIKER_14293
Text.SetScale(49@, 56@)
if 
  758@ == 1
goto_if_false @MTBIKER_11887
Text.Display(35@, 42@, 'ST')

:MTBIKER_11887
if 
  758@ == 2
goto_if_false @MTBIKER_11922
Text.Display(35@, 42@, 'ND')

:MTBIKER_11922
if 
  758@ == 3
goto_if_false @MTBIKER_11957
Text.Display(35@, 42@, 'RD')

:MTBIKER_11957
if 
  758@ > 3
goto_if_false @MTBIKER_11992
Text.Display(35@, 42@, 'TH')

:MTBIKER_11992
if 
  2 >= 758@
goto_if_false @MTBIKER_12077
set_lvar_float_to_lvar_float 655@ = 652@
if 
  $flag_dumper_passed_1stime == 1
goto_if_false @MTBIKER_12077
if or
  745@(644@,10i) == 17
  745@(644@,10i) == 16
goto_if_false @MTBIKER_12077
set_lvar_float_to_lvar_float 655@ = 654@

:MTBIKER_12077
if and
  758@ > 2
  4 > 758@
goto_if_false @MTBIKER_12169
set_lvar_float_to_lvar_float 655@ = 653@
if 
  $flag_dumper_passed_1stime == 1
goto_if_false @MTBIKER_12169
if or
  745@(644@,10i) == 17
  745@(644@,10i) == 16
goto_if_false @MTBIKER_12169
set_lvar_float_to_lvar_float 655@ = 654@

:MTBIKER_12169
if 
  758@ == 6
goto_if_false @MTBIKER_12195
set_lvar_float_to_lvar_float 655@ = 654@

:MTBIKER_12195
gosub @MTBIKER_14293
Text.SetScale(50@, 57@)
Text.SetCenter(True)
Text.DisplayWithNumber(36@, 43@, 'NUMBER', 758@)
gosub @MTBIKER_14293
Text.SetScale(51@, 58@)
Text.DisplayWithNumber(37@, 44@, 'OUT_OF', 92@)
$RStickY = Clock.GetGameTimer()
set_lvar_int_to_var_int 776@ = $RStickY
sub_int_lvar_from_int_lvar 776@ -= 651@
776@ /= 1000
set_lvar_int_to_lvar_int 648@ = 776@
648@ /= 60
set_lvar_int_to_lvar_int 647@ = 648@
647@ *= 60
set_lvar_int_to_lvar_int 649@ = 776@
sub_int_lvar_from_int_lvar 649@ -= 647@
gosub @MTBIKER_14293
Text.SetCenter(True)
Text.SetScale(52@, 59@)
if 
  649@ > 9
goto_if_false @MTBIKER_12411
Text.DisplayWith2Numbers(38@, 45@, 'TIME', 648@, 649@)
goto @MTBIKER_12434

:MTBIKER_12411
Text.DisplayWith2Numbers(38@, 45@, 'TIME_0', 648@, 649@)

:MTBIKER_12434
goto @MTBIKER_4392

:MTBIKER_12441
if 
  756@ == 7
goto_if_false @MTBIKER_12466
756@ = 8

:MTBIKER_12466
if 
  is_int_lvar_equal_to_int_var 738@(644@,6i) == $stattreadstamina_ctr
goto_if_false @MTBIKER_12514
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundPartMissionComplete)
Blip.Remove(755@)

:MTBIKER_12514
745@(644@,10i) += 1
if 
  is_int_lvar_equal_to_int_lvar 745@(644@,10i) == 700@
goto_if_false @MTBIKER_13221
if 
  is_int_lvar_equal_to_int_var 738@(644@,6i) == $stattreadstamina_ctr
goto_if_false @MTBIKER_13110
if 
  is_int_var_greater_than_int_var $RStickY > $1811($flag_dumper_passed_1stime,5i)
goto_if_false @MTBIKER_12775
set_var_int_to_var_int $1811($flag_dumper_passed_1stime,5i) = $RStickY
set_lvar_int_to_var_int 776@ = $RStickY
sub_int_lvar_from_int_lvar 776@ -= 651@
set_var_int_to_var_int $1811($flag_dumper_passed_1stime,5i) = $RStickY
Stat.RegisterFastestTime(StatId.Longest2WheelDist, $1811($flag_dumper_passed_1stime,5i))
776@ /= 1000
set_lvar_int_to_lvar_int 648@ = 776@
648@ /= 60
set_lvar_int_to_lvar_int 647@ = 648@
647@ *= 60
set_lvar_int_to_lvar_int 649@ = 776@
sub_int_lvar_from_int_lvar 649@ -= 647@
if 
  649@ > 9
goto_if_false @MTBIKER_12746
Text.PrintWith2NumbersBig('LAPMTB2', 648@, 649@, 5000, TextStyle.WhiteMiddleSmaller)
goto @MTBIKER_12768

:MTBIKER_12746
Text.PrintWith2NumbersBig('LAPMTB', 648@, 649@, 5000, TextStyle.WhiteMiddleSmaller)

:MTBIKER_12768
goto @MTBIKER_13057

:MTBIKER_12775
set_lvar_int_to_var_int 776@ = $1811($flag_dumper_passed_1stime,5i)
sub_int_lvar_from_int_lvar 776@ -= 651@
776@ /= 1000
set_lvar_int_to_lvar_int 648@ = 776@
648@ /= 60
set_lvar_int_to_lvar_int 647@ = 648@
647@ *= 60
set_lvar_int_to_lvar_int 649@ = 776@
sub_int_lvar_from_int_lvar 649@ -= 647@
if 
  649@ > 9
goto_if_false @MTBIKER_12896
Text.PrintWith2NumbersBig('RACES08', 648@, 649@, 5000, TextStyle.WhiteMiddleSmaller)
goto @MTBIKER_12918

:MTBIKER_12896
Text.PrintWith2NumbersBig('RACES22', 648@, 649@, 5000, TextStyle.WhiteMiddleSmaller)

:MTBIKER_12918
set_lvar_int_to_var_int 776@ = $RStickY
sub_int_lvar_from_int_lvar 776@ -= 651@
776@ /= 1000
set_lvar_int_to_lvar_int 648@ = 776@
648@ /= 60
set_lvar_int_to_lvar_int 647@ = 648@
647@ *= 60
set_lvar_int_to_lvar_int 649@ = 776@
sub_int_lvar_from_int_lvar 649@ -= 647@
if 
  649@ > 9
goto_if_false @MTBIKER_13035
Text.PrintWith2NumbersBig('TIME', 648@, 649@, 5000, TextStyle.MiddleSmaller)
goto @MTBIKER_13057

:MTBIKER_13035
Text.PrintWith2NumbersBig('TIME_0', 648@, 649@, 5000, TextStyle.MiddleSmaller)

:MTBIKER_13057
758@ += 1
if 
  758@ == 1
goto_if_false @MTBIKER_13096
goto @MTBIKER_14379
goto @MTBIKER_13103

:MTBIKER_13096
goto @MTBIKER_14361

:MTBIKER_13103
goto @MTBIKER_13221

:MTBIKER_13110
Task.CarTempAction(738@(644@,6i), -1, TempAction.HandbrakeStraight, 2000000)
set_lvar_int_to_lvar_int 658@ = 745@(644@,10i)
658@ -= 1
if 
  not Camera.IsPointOnScreen(714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 30.0)
goto_if_false @MTBIKER_13221
if 
  not Car.IsDead(774@)
goto_if_false @MTBIKER_13221
Car.TurnToFaceCoord(774@, 103@(658@,120f), 223@(658@,120f))

:MTBIKER_13221
set_lvar_int_to_lvar_int 647@ = 745@(644@,10i)
set_lvar_float_to_lvar_float 714@(644@,6f) = 103@(647@,120f)
set_lvar_float_to_lvar_float 720@(644@,6f) = 223@(647@,120f)
set_lvar_float_to_lvar_float 726@(644@,6f) = 343@(647@,120f)
if 
  is_int_lvar_equal_to_int_var 738@(644@,6i) == $stattreadstamina_ctr
goto_if_false @MTBIKER_13662
647@ += 1
set_lvar_float_to_lvar_float 777@ = 103@(647@,120f)
set_lvar_float_to_lvar_float 778@ = 223@(647@,120f)
set_lvar_float_to_lvar_float 779@ = 343@(647@,120f)
755@ = Blip.AddForCoord(714@(644@,6f), 720@(644@,6f), 726@(644@,6f))
Blip.ChangeColor(755@, BlipColor.Red)
Blip.ChangeDisplay(755@, BlipDisplay.BlipOnly)
Blip.ChangeScale(755@, 3)
if 
  756@ == 1
goto_if_false @MTBIKER_13454
780@ = Checkpoint.Create(CheckpointType.TubeArrow, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 777@, 778@, 779@, 6.0)

:MTBIKER_13454
Checkpoint.Delete(780@)
if 
  is_int_lvar_greater_than_int_lvar 713@ > 745@(644@,10i)
goto_if_false @MTBIKER_13531
780@ = Checkpoint.Create(CheckpointType.TubeArrow, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 777@, 778@, 779@, 6.0)
goto @MTBIKER_13573

:MTBIKER_13531
780@ = Checkpoint.Create(CheckpointType.TubeEnd, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 777@, 778@, 779@, 6.0)

:MTBIKER_13573
if 
  745@(644@,10i) == 3
goto_if_false @MTBIKER_13655
Char.MarkAsNoLongerNeeded(770@)
Char.MarkAsNoLongerNeeded(759@)
Char.MarkAsNoLongerNeeded(760@)
Char.MarkAsNoLongerNeeded(761@)
Char.MarkAsNoLongerNeeded(762@)
Char.MarkAsNoLongerNeeded(763@)
Char.MarkAsNoLongerNeeded(764@)
Char.MarkAsNoLongerNeeded(765@)
Char.MarkAsNoLongerNeeded(766@)
Char.MarkAsNoLongerNeeded(767@)
Char.MarkAsNoLongerNeeded(768@)
Char.MarkAsNoLongerNeeded(769@)

:MTBIKER_13655
goto @MTBIKER_14286

:MTBIKER_13662
if 
  $flag_dumper_passed_1stime == 3
goto_if_false @MTBIKER_14048
if 
  not Car.IsDead(732@(644@,6i))
goto_if_false @MTBIKER_14041
if 
  745@(644@,10i) == 1
goto_if_false @MTBIKER_13826
if 
  644@ == 0
goto_if_false @MTBIKER_13774
$play_open_timer = Math.RandomIntInRange(832, 835)
Car.StartPlayback(732@(644@,6i), $play_open_timer)
Char.SetCanBeKnockedOffBike(738@(644@,6i), True)

:MTBIKER_13774
if 
  644@ == 1
goto_if_false @MTBIKER_13826
$play_open_timer = Math.RandomIntInRange(829, 832)
Car.StartPlayback(732@(644@,6i), $play_open_timer)
Char.SetCanBeKnockedOffBike(738@(644@,6i), True)

:MTBIKER_13826
if 
  745@(644@,10i) == 13
goto_if_false @MTBIKER_13948
  Car.IsPlaybackGoingOn(732@(644@,6i))
Car.StopPlayback(732@(644@,6i))
if 
  not is_int_lvar_equal_to_int_lvar 745@(644@,10i) == 700@
goto_if_false @MTBIKER_13948
Char.SetCanBeKnockedOffBike(738@(644@,6i), False)
Task.CarDriveToCoord(738@(644@,6i), -1, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 655@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)
goto @MTBIKER_9504

:MTBIKER_13948
if 
  745@(644@,10i) > 13
goto_if_false @MTBIKER_14041
if 
  not is_int_lvar_equal_to_int_lvar 745@(644@,10i) == 700@
goto_if_false @MTBIKER_14041
Task.CarDriveToCoord(738@(644@,6i), -1, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 655@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)
goto @MTBIKER_9504

:MTBIKER_14041
goto @MTBIKER_14286

:MTBIKER_14048
if 
  not is_int_lvar_equal_to_int_lvar 745@(644@,10i) == 700@
goto_if_false @MTBIKER_14119
Task.CarDriveToCoord(738@(644@,6i), -1, 714@(644@,6f), 720@(644@,6f), 726@(644@,6f), 655@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)
goto @MTBIKER_9504

:MTBIKER_14119
if 
  is_int_lvar_greater_or_equal_to_int_lvar 745@(644@,10i) >= 700@
goto_if_false @MTBIKER_14286
if 
  not Car.IsDead(732@(644@,6i))
goto_if_false @MTBIKER_14286
if 
  not Char.IsDead(738@(644@,6i))
goto_if_false @MTBIKER_14286
if 
  Char.IsInCar(738@(644@,6i), 732@(644@,6i))
goto_if_false @MTBIKER_14286
if 
  690@(644@,10i) == 0
goto_if_false @MTBIKER_14286
Char.ClearTasks(738@(644@,6i))
690@(644@,10i) = 1
Task.CarDriveToCoord(738@(644@,6i), -1, -2399.863, -2206.549, 32.5652, 655@, DriveMode.Racing, 1, DrivingMode.SlowDownForCars)

:MTBIKER_14286
goto @MTBIKER_9504

:MTBIKER_14293
Text.SetColor(180, 180, 180, 255)
Text.SetScale(0.6146, 2.4961)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
Text.SetDropshadow(2, 0, 0, 0, 180)
return 

:MTBIKER_14361
Text.PrintBig('RACES_8', 5000, TextStyle.Middle)
return 

:MTBIKER_14379
set_lvar_int_to_var_int 646@ = $flag_dumper_passed_1stime
646@ += 1
646@ *= 10000
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
if 
  $flag_dumper_passed_1stime == 1
goto_if_false @MTBIKER_14473
Text.PrintBig('RACES18', 500, TextStyle.Middle)
Player.AddScore($statbike_temp, 500)
Text.PrintNow('MTWIN1', 5000, 1)
Audio.PlayMissionPassedTune(1)

:MTBIKER_14473
if 
  $flag_dumper_passed_1stime == 2
goto_if_false @MTBIKER_14535
Text.PrintNow('MTWIN2', 5000, 1)
Text.PrintBig('RACES18', 1000, TextStyle.Middle)
Player.AddScore($statbike_temp, 1000)
Audio.PlayMissionPassedTune(1)

:MTBIKER_14535
if 
  $flag_dumper_passed_1stime == 3
goto_if_false @MTBIKER_14597
Text.PrintBig('RACES18', 2000, TextStyle.Middle)
Player.AddScore($statbike_temp, 2000)
Text.PrintNow('MTWIN3', 5000, 1)
Audio.PlayMissionPassedTune(2)

:MTBIKER_14597
$flag_dumper_passed_1stime += 1
if 
  $flag_dumper_passed_1stime > 3
goto_if_false @MTBIKER_14660
if 
  $flag_cycling_skill_help == 0
goto_if_false @MTBIKER_14653
Stat.RegisterOddjobMissionPassed
Stat.PlayerMadeProgress(1)
$flag_cycling_skill_help = 1

:MTBIKER_14653
$flag_dumper_passed_1stime = 1

:MTBIKER_14660
return 

:MTBIKER_14662
$weapon_shop1_blip = 0
if 
  not Car.IsDead(732@)
goto_if_false @MTBIKER_14706
if 
is_recording_going_on_for_car 732@
goto_if_false @MTBIKER_14706
Car.StopPlayback(732@)

:MTBIKER_14706
if 
  not Car.IsDead(733@)
goto_if_false @MTBIKER_14743
if 
is_recording_going_on_for_car 733@
goto_if_false @MTBIKER_14743
Car.StopPlayback(733@)

:MTBIKER_14743
Streaming.RemoveCarRecording(829)
Streaming.RemoveCarRecording(830)
Streaming.RemoveCarRecording(831)
Streaming.RemoveCarRecording(832)
Streaming.RemoveCarRecording(833)
Streaming.RemoveCarRecording(834)
Streaming.MarkModelAsNoLongerNeeded(701@)
Streaming.MarkModelAsNoLongerNeeded(702@)
Streaming.MarkModelAsNoLongerNeeded(703@)
Streaming.MarkModelAsNoLongerNeeded(704@)
Streaming.MarkModelAsNoLongerNeeded(705@)
Streaming.MarkModelAsNoLongerNeeded(706@)
Streaming.MarkModelAsNoLongerNeeded(707@)
Streaming.MarkModelAsNoLongerNeeded(708@)
Streaming.MarkModelAsNoLongerNeeded(709@)
Streaming.MarkModelAsNoLongerNeeded(710@)
Streaming.MarkModelAsNoLongerNeeded(711@)
Streaming.MarkModelAsNoLongerNeeded(712@)
Char.MarkAsNoLongerNeeded(770@)
Char.MarkAsNoLongerNeeded(759@)
Char.MarkAsNoLongerNeeded(760@)
Char.MarkAsNoLongerNeeded(761@)
Char.MarkAsNoLongerNeeded(762@)
Char.MarkAsNoLongerNeeded(763@)
Char.MarkAsNoLongerNeeded(764@)
Char.MarkAsNoLongerNeeded(765@)
Char.MarkAsNoLongerNeeded(766@)
Char.MarkAsNoLongerNeeded(767@)
Char.MarkAsNoLongerNeeded(768@)
Char.MarkAsNoLongerNeeded(769@)
Hud.DisplayCarNames(True)
Blip.Remove(755@)
$flag_courier_mission_passed = Clock.GetGameTimer()
Text.SetMessageFormatting(False, 380, 464)
Text.UseCommands(False)
Mission.Finish
return 

//-------------Mission 133---------------
// Originally: BMX / NRG-500 STUNT Mission

:STUNT
gosub @STUNT_36
if 
  has_deatharrest_been_executed 
goto_if_false @STUNT_27
gosub @STUNT_1584

:STUNT_27
gosub @STUNT_2010
terminate_this_script 

:STUNT_36
$weapon_shop1_blip = 1
if 
  $730 == 0
goto_if_false @STUNT_81
if 
  $stunt_bmx1_cargen == 0
goto_if_false @STUNT_81
Stat.RegisterMissionGiven

:STUNT_81
if 
  $730 == 1
goto_if_false @STUNT_119
if 
  $stunt_bmx1_x == 0
goto_if_false @STUNT_119
Stat.RegisterMissionGiven

:STUNT_119
script_name 'STUNT'
wait 0
Text.LoadMissionText('STUNT')
34@ = Char.StoreCarIsIn($stattreadstamina_ctr)
Car.SetHealth(34@, 3000)
gosub @STUNT_2111
35@ = 1
56@ = 0

:STUNT_182
if 
  is_int_lvar_greater_than_int_lvar 187@ > 56@
goto_if_false @STUNT_226
36@(56@,20i) = 0
56@ += 1
goto @STUNT_182

:STUNT_226
if 
  $weapon_shop1_blip == 0
goto_if_false @STUNT_258
57@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)

:STUNT_258
58@ = 0
59@ = 0
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
Camera.SetFixedPosition(188@, 189@, 190@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(191@, 192@, 193@, SwitchType.JumpCut)
$RStickY = Clock.GetGameTimer()
set_var_int_to_var_int $ai_target_x = $RStickY
$ai_target_x += 5000
Text.PrintNow('STUNT_6', 5000, 1)
80@ = 0

:STUNT_384
wait 0
$RStickY = Clock.GetGameTimer()
if 
  58@ == 0
goto_if_false @STUNT_467
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @STUNT_460
if 
  80@ == 1
goto_if_false @STUNT_453
58@ += 1

:STUNT_453
goto @STUNT_467

:STUNT_460
80@ = 1

:STUNT_467
if 
  58@ == 0
goto_if_false @STUNT_511
if 
  is_int_var_greater_than_int_var $RStickY > $ai_target_x
goto_if_false @STUNT_511
58@ += 1

:STUNT_511
if 
  58@ == 1
goto_if_false @STUNT_601
Player.SetControl($statbike_temp, True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
$ai_target_x = 11000
Hud.DisplayTimerWithString($ai_target_x, TimerDirection.Down, 'STUNT_2')
set_lvar_int_to_var_int 81@ = $RStickY
58@ += 1

:STUNT_601
if 
  not Car.IsDead(34@)
goto_if_false @STUNT_1487
if 
  Char.IsInCar($stattreadstamina_ctr, 34@)
goto_if_false @STUNT_1162
if 
  35@ == 1
goto_if_false @STUNT_838
Text.ClearThisPrint('STUNT_1')
Blip.Remove(57@)
56@ = 0

:STUNT_677
if 
  is_int_lvar_greater_than_int_lvar 187@ > 56@
goto_if_false @STUNT_831
if 
  36@(56@,20i) == 0
goto_if_false @STUNT_817
82@(56@,20i) = Blip.AddForCoord(127@(56@,20f), 147@(56@,20f), 167@(56@,20f))
Blip.ChangeColor(82@(56@,20i), BlipColor.Red)
102@(56@,20i) = Checkpoint.Create(CheckpointType.Torus, 127@(56@,20f), 147@(56@,20f), 167@(56@,20f), 127@(56@,20f), 147@(56@,20f), 167@(56@,20f), 0.8)

:STUNT_817
56@ += 1
goto @STUNT_677

:STUNT_831
35@ = 0

:STUNT_838
56@ = 0

:STUNT_845
if 
  is_int_lvar_greater_than_int_lvar 187@ > 56@
goto_if_false @STUNT_1155
if 
  36@(56@,20i) == 0
goto_if_false @STUNT_1141
Checkpoint.SetHeading(102@(56@,20i), 60@(56@,20f))
Fx.DrawShadow(ShadowTextureType.Ped, 127@(56@,20f), 147@(56@,20f), 167@(56@,20f), 0.0, 1.0, 150, 0, 0, 0)
60@(56@,20f) += 10.0
if 
  60@(56@,20f) > 360.0
goto_if_false @STUNT_999
60@(56@,20f) -= 360.0

:STUNT_999
if 
  Char.LocateInCar3D($stattreadstamina_ctr, 127@(56@,20f), 147@(56@,20f), 167@(56@,20f), 2.5, 2.5, 2.5, False)
goto_if_false @STUNT_1141
Blip.Remove(82@(56@,20i))
Checkpoint.Delete(102@(56@,20i))
Audio.ReportMissionAudioEventAtPosition(127@(56@,20f), 147@(56@,20f), 167@(56@,20f), 1058)
$ai_target_x += 10000
Text.PrintWithNumberNow('STUNT_3', 10, 1500, 1)
59@ += 1
36@(56@,20i) += 1

:STUNT_1141
56@ += 1
goto @STUNT_845

:STUNT_1155
goto @STUNT_1480

:STUNT_1162
if 
  35@ == 0
goto_if_false @STUNT_1318
56@ = 0

:STUNT_1187
if 
  is_int_lvar_greater_than_int_lvar 187@ > 56@
goto_if_false @STUNT_1238
Blip.Remove(82@(56@,20i))
Checkpoint.Delete(102@(56@,20i))
56@ += 1
goto @STUNT_1187

:STUNT_1238
57@ = Blip.AddForCar(34@)
Blip.SetAsFriendly(57@, True)
if 
  $ai_target_x > 25400
goto_if_false @STUNT_1295
set_lvar_int_to_var_int 122@ = $RStickY
122@ += 25400
goto @STUNT_1311

:STUNT_1295
set_lvar_int_to_var_int 122@ = $RStickY
add_int_var_to_int_lvar 122@ += $ai_target_x

:STUNT_1311
35@ = 1

:STUNT_1318
set_lvar_int_to_lvar_int 123@ = 122@
sub_int_var_from_int_lvar 123@ -= $RStickY
123@ /= 1000
if 
  1 > 123@
goto_if_false @STUNT_1367
123@ = 0

:STUNT_1367
if 
  is_int_var_greater_than_int_lvar $RStickY > 122@
goto_if_false @STUNT_1409
Text.PrintNow('STUNT_4', 5000, 1)
goto @STUNT_1584

:STUNT_1409
if 
  123@ == 1
goto_if_false @STUNT_1457
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('STUNT_8', 123@, 200, 1)
goto @STUNT_1480

:STUNT_1457
Text.AddNextMessageToPreviousBriefs(False)
Text.PrintWithNumberNow('STUNT_1', 123@, 200, 1)

:STUNT_1480
goto @STUNT_1510

:STUNT_1487
Text.PrintNow('STUNT_5', 5000, 1)
goto @STUNT_1584

:STUNT_1510
if 
  is_int_lvar_equal_to_int_lvar 59@ == 187@
goto_if_false @STUNT_1536
goto @STUNT_1602

:STUNT_1536
if 
  $ai_target_x == 0
goto_if_false @STUNT_1577
Text.PrintNow('STUNT_7', 5000, 1)
goto @STUNT_1584

:STUNT_1577
goto @STUNT_384

:STUNT_1584
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:STUNT_1602
Player.AddScore($statbike_temp, 1000)
Player.ClearWantedLevel($statbike_temp)
Audio.PlayMissionPassedTune(1)
set_lvar_int_to_var_int 124@ = $RStickY
sub_int_lvar_from_int_lvar 124@ -= 81@
124@ /= 1000
if 
  $730 == 0
goto_if_false @STUNT_1712
if 
  $stunt_bmx1_cargen == 0
goto_if_false @STUNT_1705
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('BMX')
Audio.PlayMissionPassedTune(2)
$stunt_bmx1_cargen = 1

:STUNT_1705
Stat.RegisterFastestTime(StatId.BestTimeBmx, 124@)

:STUNT_1712
if 
  $730 == 1
goto_if_false @STUNT_1782
if 
  $stunt_bmx1_x == 0
goto_if_false @STUNT_1774
Stat.PlayerMadeProgress(1)
Stat.RegisterMissionPassed('NRG500')
Audio.PlayMissionPassedTune(2)
$stunt_bmx1_x = 1

:STUNT_1774
Stat.RegisterFastestTime(StatId.BestTimeNrg, 124@)

:STUNT_1782
set_lvar_int_to_lvar_int 125@ = 124@
125@ /= 60
set_lvar_int_to_lvar_int 126@ = 125@
126@ *= 60
set_lvar_int_to_lvar_int 123@ = 124@
sub_int_lvar_from_int_lvar 123@ -= 126@
if 
  is_int_var_greater_than_int_lvar $stunt_bmx1_y($730,2i) > 124@
goto_if_false @STUNT_1939
if 
  10 > 123@
goto_if_false @STUNT_1898
Text.PrintWith2NumbersBig('STUNTN0', 125@, 123@, 5000, TextStyle.Middle)
goto @STUNT_1920

:STUNT_1898
Text.PrintWith2NumbersBig('STUNTPN', 125@, 123@, 5000, TextStyle.Middle)

:STUNT_1920
set_var_int_to_lvar_int $stunt_bmx1_y($730,2i) = 124@
goto @STUNT_2008

:STUNT_1939
if 
  10 > 123@
goto_if_false @STUNT_1986
Text.PrintWith2NumbersBig('STUNTT0', 125@, 123@, 5000, TextStyle.Middle)
goto @STUNT_2008

:STUNT_1986
Text.PrintWith2NumbersBig('STUNTPT', 125@, 123@, 5000, TextStyle.Middle)

:STUNT_2008
return 

:STUNT_2010
Text.ClearThisPrint('STUNT_1')
Text.ClearThisPrint('STUNT_3')
56@ = 0

:STUNT_2039
if 
  is_int_lvar_greater_than_int_lvar 187@ > 56@
goto_if_false @STUNT_2090
Blip.Remove(82@(56@,20i))
Checkpoint.Delete(102@(56@,20i))
56@ += 1
goto @STUNT_2039

:STUNT_2090
Blip.Remove(57@)
Hud.ClearTimer($ai_target_x)
$weapon_shop1_blip = 0
Mission.Finish
return 

:STUNT_2111
switch_start $730 {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @STUNT_3446 {caseNum1} 0 {caseLabel1} @STUNT_2174 {caseNum2} 1 {caseLabel2} @STUNT_2818 {caseNum3} -1 {caseLabel3} @STUNT_3446 {caseNum4} -1 {caseLabel4} @STUNT_3446 {caseNum5} -1 {caseLabel5} @STUNT_3446 {caseNum6} -1 {caseLabel6} @STUNT_3446 {caseNum7} -1 {caseLabel7} @STUNT_3446

:STUNT_2174
127@ = 1955.012
147@ = -1367.72
167@ = 24.7354
128@ = 1954.609
148@ = -1376.964
168@ = 24.2187
129@ = 1887.392
149@ = -1362.954
169@ = 19.4329
130@ = 1914.137
150@ = -1427.099
170@ = 15.5805
131@ = 1908.552
151@ = -1388.389
171@ = 10.3294
132@ = 1882.362
152@ = -1427.686
172@ = 10.3294
133@ = 1953.349
153@ = -1426.586
173@ = 10.3294
134@ = 1878.189
154@ = -1388.81
174@ = 15.2464
135@ = 1878.184
155@ = -1388.839
175@ = 18.1461
136@ = 1872.327
156@ = -1451.051
176@ = 15.7645
137@ = 1905.178
157@ = -1413.675
177@ = 13.5322
138@ = 1949.503
158@ = -1411.546
178@ = 15.1837
139@ = 1867.153
159@ = -1410.007
179@ = 13.5322
140@ = 1909.341
160@ = -1369.846
180@ = 16.7966
141@ = 1939.243
161@ = -1388.132
181@ = 19.2615
142@ = 1904.888
162@ = -1360.622
182@ = 13.5322
143@ = 1930.234
163@ = -1398.62
183@ = 16.8554
144@ = 1888.765
164@ = -1399.326
184@ = 17.2408
145@ = 1900.948
165@ = -1397.83
185@ = 15.6868
187@ = 19
188@ = 1964.753
189@ = -1368.362
190@ = 29.6217
191@ = 1963.934
192@ = -1368.818
193@ = 29.2725
goto @STUNT_3446

:STUNT_2818
127@ = -1632.058
147@ = 143.152
167@ = 3.4111
128@ = -1632.021
148@ = 83.0413
168@ = 7.5331
129@ = -1689.148
149@ = 53.3936
169@ = 11.7703
130@ = -1606.423
150@ = 133.4396
170@ = -10.9911
131@ = -1680.386
151@ = 87.0915
171@ = 8.2325
132@ = -1666.295
152@ = 102.0489
172@ = -1.5025
133@ = -1654.692
153@ = 60.7782
173@ = 7.6501
134@ = -1684.867
154@ = 74.6374
174@ = -7.0328
135@ = -1583.797
155@ = 126.1577
175@ = 4.157
136@ = -1667.705
156@ = 49.5191
176@ = 6.5634
137@ = -1611.585
157@ = 106.3131
177@ = -3.6465
138@ = -1590.556
158@ = 148.9676
178@ = 4.113
139@ = -1671.959
159@ = 98.6
179@ = 8.9263
140@ = -1693.32
160@ = 65.1187
180@ = 8.7997
141@ = -1660.951
161@ = 107.6739
181@ = -2.1545
142@ = -1654.071
162@ = 77.2629
182@ = -10.2893
143@ = -1645.494
163@ = 107.2477
183@ = -10.6617
144@ = -1673.735
164@ = 56.9287
184@ = -10.674
187@ = 18
187@ = 18
187@ = 18
188@ = -1681.464
189@ = 27.2091
190@ = 9.6606
191@ = -1681.252
192@ = 28.183
193@ = 9.5773
goto @STUNT_3446

:STUNT_3446
return 
return 
return 

//-------------Mission 134---------------
// Originally: Buy Properties Mission

:BUYPRO1
script_name 'BUYPRO1'
$weapon_shop1_blip = 1
wait 0
34@ = 0
Camera.SetFadingColor(0, 0, 1)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
switch_start $stadium_blip1 {numCases} 32 {hasDefaultCase} 0 {defaultLabel} @BUYPRO1_4201 {caseNum1} 0 {caseLabel1} @BUYPRO1_306 {caseNum2} 1 {caseLabel2} @BUYPRO1_410 {caseNum3} 2 {caseLabel3} @BUYPRO1_504 {caseNum4} 3 {caseLabel4} @BUYPRO1_688 {caseNum5} 4 {caseLabel5} @BUYPRO1_814 {caseNum6} 5 {caseLabel6} @BUYPRO1_940 {caseNum7} 6 {caseLabel7} @BUYPRO1_1066
switch_continued 7 {caseLabel1} @BUYPRO1_1192 {caseNum2} 8 {caseLabel2} @BUYPRO1_1318 {caseNum3} 9 {caseLabel3} @BUYPRO1_1444 {caseNum4} 10 {caseLabel4} @BUYPRO1_1570 {caseNum5} 11 {caseLabel5} @BUYPRO1_1696 {caseNum6} 12 {caseLabel6} @BUYPRO1_1822 {caseNum7} 13 {caseLabel7} @BUYPRO1_1948 {caseNum8} 14 {caseLabel8} @BUYPRO1_2074 {caseNum9} 15 {caseLabel9} @BUYPRO1_2200
switch_continued 16 {caseLabel1} @BUYPRO1_2315 {caseNum2} 17 {caseLabel2} @BUYPRO1_2437 {caseNum3} 18 {caseLabel3} @BUYPRO1_2559 {caseNum4} 19 {caseLabel4} @BUYPRO1_2674 {caseNum5} 20 {caseLabel5} @BUYPRO1_2789 {caseNum6} 21 {caseLabel6} @BUYPRO1_2904 {caseNum7} 22 {caseLabel7} @BUYPRO1_3026 {caseNum8} 23 {caseLabel8} @BUYPRO1_3141 {caseNum9} 24 {caseLabel9} @BUYPRO1_3256
switch_continued 25 {caseLabel1} @BUYPRO1_3371 {caseNum2} 26 {caseLabel2} @BUYPRO1_3497 {caseNum3} 27 {caseLabel3} @BUYPRO1_3612 {caseNum4} 28 {caseLabel4} @BUYPRO1_3734 {caseNum5} 29 {caseLabel5} @BUYPRO1_3856 {caseNum6} 30 {caseLabel6} @BUYPRO1_3971 {caseNum7} 31 {caseLabel7} @BUYPRO1_4086 {caseNum8} -1 {caseLabel8} @BUYPRO1_4201 {caseNum9} -1 {caseLabel9} @BUYPRO1_4201

:BUYPRO1_306
Camera.SetFixedPosition(-1990.969, 292.2734, 35.1049, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1990.053, 291.9333, 35.3176, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1657)
start_new_script @STEAL 
Blip.Remove($529)
$529 = Blip.AddSpriteForContactPoint($syndY, $syndZ, $traceX, $trace_contact_blip2)
Blip.Remove($player_y)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_410
Camera.SetFixedPosition(-2255.705, 131.9585, 38.5998, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2254.716, 132.0048, 38.4589, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1658)
Blip.Remove($531)
World.SwitchEntryExit('RCPLAY', True)
$1624 = 1
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_504
Camera.SetFixedPosition(445.128, 2540.436, 25.6202, 0.0, 0.0, 0.0)
Camera.PointAtPoint(444.1882, 2540.142, 25.4462, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1659)
Blip.Remove($trigger_ice_cold_mission)
start_new_script @PSCH 
Blip.Remove($heist_contact_blip)
Blip.Remove($1723)
$1723 = Blip.AddShortRangeSpriteForContactPoint($890[2], $908[2], $926[2], RadarSprite.SaveGame)
Blip.ChangeDisplay($1723, BlipDisplay.BlipOnly)
Blip.Remove($dschool_contact_blip)
$dschool_contact_blip = Blip.AddSpriteForContactPoint($wasted_help2, $busted_help1, $flag_store_day_food, $Theheist_contact_blip)
Blip.ChangeDisplay($dschool_contact_blip, BlipDisplay.BlipOnly)
Garage.Activate('CN2GAR2')
Garage.Activate('DHANGAR')
World.SetClosestEntryExitFlag($1528[2], $1560[2], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_688
Camera.SetFixedPosition(316.0747, -1786.757, 5.0712, 0.0, 0.0, 0.0)
Camera.PointAtPoint(316.1206, -1785.778, 5.2692, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1660)
Blip.Remove($1628)
$1628 = Blip.AddShortRangeSpriteForContactPoint($1528[3], $1560[3], $1592[3], RadarSprite.SaveGame)
Blip.ChangeDisplay($1628, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[3], $1560[3], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('BEACSV')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_814
Camera.SetFixedPosition(2430.869, 698.3348, 12.9763, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2431.789, 697.9644, 12.843, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1661)
Blip.Remove($1629)
$1629 = Blip.AddShortRangeSpriteForContactPoint($1528[4], $1560[4], $1592[4], RadarSprite.SaveGame)
Blip.ChangeDisplay($1629, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[4], $1560[4], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('VESVGRG')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_940
Camera.SetFixedPosition(-362.3164, 1152.664, 21.4821, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-362.6989, 1153.587, 21.5142, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1662)
Blip.Remove($1630)
$1630 = Blip.AddShortRangeSpriteForContactPoint($1528[5], $1560[5], $1592[5], RadarSprite.SaveGame)
Blip.ChangeDisplay($1630, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[5], $1560[5], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('CN2GAR1')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_1066
Camera.SetFixedPosition(1295.982, 2525.57, 14.1002, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1294.994, 2525.724, 14.0597, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1663)
Blip.Remove($1631)
$1631 = Blip.AddShortRangeSpriteForContactPoint($1528[6], $1560[6], $1592[6], RadarSprite.SaveGame)
Blip.ChangeDisplay($1631, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[6], $1560[6], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('BLOB69')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_1192
Camera.SetFixedPosition(908.9885, 2006.151, 17.7914, 0.0, 0.0, 0.0)
Camera.PointAtPoint(909.9134, 2006.143, 17.4113, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1664)
Blip.Remove($1632)
$1632 = Blip.AddShortRangeSpriteForContactPoint($1528[7], $1560[7], $1592[7], RadarSprite.SaveGame)
Blip.ChangeDisplay($1632, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[7], $1560[7], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('BLOB7')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_1318
Camera.SetFixedPosition(2233.14, 152.5748, 33.5239, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2233.16, 153.5324, 33.2366, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1665)
Blip.Remove($1633)
$1633 = Blip.AddShortRangeSpriteForContactPoint($1528[8], $1560[8], $1592[8], RadarSprite.SaveGame)
Blip.ChangeDisplay($1633, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[8], $1560[8], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('BURBDOO')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_1444
Camera.SetFixedPosition(1385.519, 1901.313, 14.5901, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1386.472, 1901.076, 14.4041, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1666)
Blip.Remove($1634)
$1634 = Blip.AddShortRangeSpriteForContactPoint($1528[9], $1560[9], $1592[9], RadarSprite.SaveGame)
Blip.ChangeDisplay($1634, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[9], $1560[9], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('BLOB6')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_1570
Camera.SetFixedPosition(1689.118, -2120.165, 18.6369, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1689.188, -2119.187, 18.4393, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1667)
Blip.Remove($1635)
$1635 = Blip.AddShortRangeSpriteForContactPoint($1528[10], $1560[10], $1592[10], RadarSprite.SaveGame)
Blip.ChangeDisplay($1635, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[10], $1560[10], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('CARLAS1')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_1696
Camera.SetFixedPosition(-2098.967, 923.2947, 80.2446, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2098.986, 922.2994, 80.3401, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1668)
Blip.Remove($1636)
$1636 = Blip.AddShortRangeSpriteForContactPoint($1528[11], $1560[11], $1592[11], RadarSprite.SaveGame)
Blip.ChangeDisplay($1636, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[11], $1560[11], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('SAV1SFE')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_1822
Camera.SetFixedPosition(1325.974, -598.7552, 116.1597, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1326.254, -599.7052, 116.0219, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1669)
Blip.Remove($1637)
$1637 = Blip.AddShortRangeSpriteForContactPoint($1528[12], $1560[12], $1592[12], RadarSprite.SaveGame)
Blip.ChangeDisplay($1637, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[12], $1560[12], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('CESAFE1')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_1948
Camera.SetFixedPosition(-2700.657, 791.45, 70.2223, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2700.661, 792.4032, 69.9203, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1670)
Blip.Remove($1638)
$1638 = Blip.AddShortRangeSpriteForContactPoint($1528[13], $1560[13], $1592[13], RadarSprite.SaveGame)
Blip.ChangeDisplay($1638, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[13], $1560[13], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('SAV1SFW')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_2074
Camera.SetFixedPosition(-2476.432, -127.2039, 26.6779, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2475.458, -127.2469, 26.8974, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1671)
Blip.Remove($1639)
$1639 = Blip.AddShortRangeSpriteForContactPoint($1528[14], $1560[14], $1592[14], RadarSprite.SaveGame)
Blip.ChangeDisplay($1639, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[14], $1560[14], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('SVGSFS1')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_2200
Camera.SetFixedPosition(894.7908, -1663.996, 20.202, 0.0, 0.0, 0.0)
Camera.PointAtPoint(894.803, -1663.003, 20.0891, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1672)
Blip.Remove($1640)
$1640 = Blip.AddShortRangeSpriteForContactPoint($1528[15], $1560[15], $1592[15], RadarSprite.SaveGame)
Blip.ChangeDisplay($1640, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[15], $1560[15], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_2315
Camera.SetFixedPosition(2036.76, 1623.074, 13.4128, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2035.8, 1623.087, 13.6921, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1673)
Blip.Remove($1641)
$1641 = Blip.AddShortRangeSpriteForContactPoint($1528[16], $1560[16], $1592[16], RadarSprite.SaveGame)
Blip.ChangeDisplay($1641, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[16], $1560[16], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
34@ = 1
goto @BUYPRO1_4201

:BUYPRO1_2437
Camera.SetFixedPosition(2146.165, 1286.25, 33.6386, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2147.164, 1286.218, 33.5943, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1674)
Blip.Remove($1642)
$1642 = Blip.AddShortRangeSpriteForContactPoint($1528[17], $1560[17], $1592[17], RadarSprite.SaveGame)
Blip.ChangeDisplay($1642, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[17], $1560[17], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
34@ = 1
goto @BUYPRO1_4201

:BUYPRO1_2559
Camera.SetFixedPosition(-2213.188, 744.9976, 50.024, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2213.273, 744.0281, 50.254, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1675)
Blip.Remove($1643)
$1643 = Blip.AddShortRangeSpriteForContactPoint($1528[18], $1560[18], $1592[18], RadarSprite.SaveGame)
Blip.ChangeDisplay($1643, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[18], $1560[18], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_2674
Camera.SetFixedPosition(-1437.184, -1507.732, 103.8198, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1437.047, -1508.711, 103.9666, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1676)
Blip.Remove($1644)
$1644 = Blip.AddShortRangeSpriteForContactPoint($1528[19], $1560[19], $1592[19], RadarSprite.SaveGame)
Blip.ChangeDisplay($1644, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[19], $1560[19], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_2789
Camera.SetFixedPosition(-2000.427, -64.4142, 40.0479, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2001.257, -63.8685, 40.1625, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1677)
Blip.Remove($1645)
$1645 = Blip.AddShortRangeSpriteForContactPoint($1528[20], $1560[20], $1592[20], RadarSprite.SaveGame)
Blip.ChangeDisplay($1645, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[20], $1560[20], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_2904
Camera.SetFixedPosition(-2379.854, 312.8534, 34.2136, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2380.683, 313.311, 34.5349, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1678)
Blip.Remove($1646)
$1646 = Blip.AddShortRangeSpriteForContactPoint($1528[21], $1560[21], $1592[21], RadarSprite.SaveGame)
Blip.ChangeDisplay($1646, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[21], $1560[21], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
34@ = 1
goto @BUYPRO1_4201

:BUYPRO1_3026
Camera.SetFixedPosition(-2079.061, -2298.056, 35.15, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2078.88, -2299.029, 35.0066, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1679)
Blip.Remove($1647)
$1647 = Blip.AddShortRangeSpriteForContactPoint($1528[22], $1560[22], $1592[22], RadarSprite.SaveGame)
Blip.ChangeDisplay($1647, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[22], $1560[22], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_3141
Camera.SetFixedPosition(-1545.093, 2663.056, 61.0133, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1544.282, 2662.509, 60.8075, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1680)
Blip.Remove($1648)
$1648 = Blip.AddShortRangeSpriteForContactPoint($1528[23], $1560[23], $1592[23], RadarSprite.SaveGame)
Blip.ChangeDisplay($1648, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[23], $1560[23], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_3256
Camera.SetFixedPosition(-1035.191, 1568.456, 39.7221, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1035.971, 1567.886, 39.4659, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1681)
Blip.Remove($1649)
$1649 = Blip.AddShortRangeSpriteForContactPoint($1528[24], $1560[24], $1592[24], RadarSprite.SaveGame)
Blip.ChangeDisplay($1649, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[24], $1560[24], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_3371
Camera.SetFixedPosition(789.7151, -529.9901, 20.74, 0.0, 0.0, 0.0)
Camera.PointAtPoint(789.8545, -529.0045, 20.6445, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1682)
Blip.Remove($1650)
$1650 = Blip.AddShortRangeSpriteForContactPoint($1528[25], $1560[25], $1592[25], RadarSprite.SaveGame)
Blip.ChangeDisplay($1650, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[25], $1560[25], 10.0, EntryexitsFlag.Enabled, True)
Garage.Activate('BURBDO2')
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_3497
Camera.SetFixedPosition(2114.379, -1299.742, 32.8721, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2114.305, -1298.833, 32.4622, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1683)
Blip.Remove($1651)
$1651 = Blip.AddShortRangeSpriteForContactPoint($1528[26], $1560[26], $1592[26], RadarSprite.SaveGame)
Blip.ChangeDisplay($1651, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[26], $1560[26], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_3612
Camera.SetFixedPosition(2342.496, 2140.662, 11.3215, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2343.243, 2141.272, 11.5827, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1684)
Blip.Remove($1652)
$1652 = Blip.AddShortRangeSpriteForContactPoint($1528[27], $1560[27], $1592[27], RadarSprite.SaveGame)
Blip.ChangeDisplay($1652, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[27], $1560[27], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
34@ = 1
goto @BUYPRO1_4201

:BUYPRO1_3734
Camera.SetFixedPosition(2119.739, 1767.835, 26.2058, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2120.53, 1768.447, 26.1978, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $save_housepickup)
Blip.Remove($save_houseprice)
$save_houseprice = Blip.AddShortRangeSpriteForContactPoint($1528[28], $1560[28], $1592[28], RadarSprite.SaveGame)
Blip.ChangeDisplay($save_houseprice, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[28], $1560[28], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
34@ = 1
goto @BUYPRO1_4201

:BUYPRO1_3856
Camera.SetFixedPosition(2820.361, 2174.83, 19.0746, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2820.384, 2173.834, 18.9889, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1686)
Blip.Remove($1654)
$1654 = Blip.AddShortRangeSpriteForContactPoint($1528[29], $1560[29], $1592[29], RadarSprite.SaveGame)
Blip.ChangeDisplay($1654, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[29], $1560[29], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_3971
Camera.SetFixedPosition(2484.971, -2013.007, 17.5718, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2484.96, -2012.031, 17.3533, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1687)
Blip.Remove($1655)
$1655 = Blip.AddShortRangeSpriteForContactPoint($1528[30], $1560[30], $1592[30], RadarSprite.SaveGame)
Blip.ChangeDisplay($1655, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[30], $1560[30], 10.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_4086
Camera.SetFixedPosition(189.8908, -107.1989, 5.7226, 0.0, 0.0, 0.0)
Camera.PointAtPoint(190.8559, -107.2361, 5.4634, SwitchType.JumpCut)
Stat.IncrementInt(StatId.PropertyBudget, $1688)
Blip.Remove($1656)
$1656 = Blip.AddShortRangeSpriteForContactPoint($1528[31], $1560[31], $1592[31], RadarSprite.SaveGame)
Blip.ChangeDisplay($1656, BlipDisplay.BlipOnly)
World.SetClosestEntryExitFlag($1528[31], $1560[31], 5.0, EntryexitsFlag.Enabled, True)
Stat.PlayerMadeProgress(1)
goto @BUYPRO1_4201

:BUYPRO1_4201
if 
  34@ == 0
goto_if_false @BUYPRO1_4242
Text.PrintBig('BUYPRO', 5000, TextStyle.BottomRight)
goto @BUYPRO1_4258

:BUYPRO1_4242
Text.PrintBig('HSUITE', 5000, TextStyle.BottomRight)

:BUYPRO1_4258
Audio.PlayMissionPassedTune(2)
wait 5000
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @BUYPRO1_4285
terminate_this_script 

:BUYPRO1_4285
Text.ClearPrints
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
$weapon_shop1_blip = 0
$flag_courier_mission_passed = Clock.GetGameTimer()
Mission.Finish
terminate_this_script 
return 

//-------------Mission 135---------------
// Originally: 2player Ram

:RAM_2P
script_name 'RAM_2P'
gosub @RAM_2P_47
if 
  has_deatharrest_been_executed 
goto_if_false @RAM_2P_38
gosub @RAM_2P_1487

:RAM_2P_38
gosub @RAM_2P_1783
terminate_this_script 

:RAM_2P_47
Game.HideAllFrontendBlips(True)
Text.ClearPrints
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(0.0)
Camera.SetFadingColor(0, 0, 0)
283@ = 0
286@ = 0
287@ = 0
294@ = 0
288@ = 0

:RAM_2P_108
289@(288@,5i) = 0
288@ += 1
  288@ >= 5
goto_if_false @RAM_2P_108
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('MENU2P')
goto @RAM_2P_167

:RAM_2P_167
gosub @RAM_2P_1938
wait 0
Streaming.RequestModel(352)
Streaming.RequestModel(353)
Streaming.RequestModel(346)
Streaming.RequestModel(63)

:RAM_2P_197
if or
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(63)
goto_if_false @RAM_2P_238
wait 0
goto @RAM_2P_197

:RAM_2P_238
TIMERA = 0
World.SetPedDensityMultiplier(2.0)
World.ClearArea(1478.868, -1655.853, 13.0469, 40.0, True)
$flag_pimping_trigger = Player.Create(1, 1478.868, -1655.853, 13.0469)
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Player.SetModel($flag_pimping_trigger, 63)
Char.SetHeading($been_in_freight_before, 237.1571)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RAM_2P_425
Char.SetCoordinates($stattreadstamina_ctr, 1478.973, -1657.854, 13.0469)
Char.SetHeading($stattreadstamina_ctr, 237.1571)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.SetPlayersCanBeInSeparateCars(False)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:RAM_2P_425
switch_start $peds_2p_level {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @RAM_2P_895 {caseNum1} 0 {caseLabel1} @RAM_2P_553 {caseNum2} 1 {caseLabel2} @RAM_2P_591 {caseNum3} 2 {caseLabel3} @RAM_2P_629 {caseNum4} 3 {caseLabel4} @RAM_2P_667 {caseNum5} 4 {caseLabel5} @RAM_2P_705 {caseNum6} 5 {caseLabel6} @RAM_2P_743 {caseNum7} 6 {caseLabel7} @RAM_2P_781
switch_continued 7 {caseLabel1} @RAM_2P_819 {caseNum2} 8 {caseLabel2} @RAM_2P_857 {caseNum3} -1 {caseLabel3} @RAM_2P_895 {caseNum4} -1 {caseLabel4} @RAM_2P_895 {caseNum5} -1 {caseLabel5} @RAM_2P_895 {caseNum6} -1 {caseLabel6} @RAM_2P_895 {caseNum7} -1 {caseLabel7} @RAM_2P_895 {caseNum8} -1 {caseLabel8} @RAM_2P_895 {caseNum9} -1 {caseLabel9} @RAM_2P_895

:RAM_2P_553
267@ = 15
268@ = 3
266@ = 180000
358@ = 0
goto @RAM_2P_895

:RAM_2P_591
267@ = 15
268@ = 2
266@ = 120000
358@ = 0
goto @RAM_2P_895

:RAM_2P_629
267@ = 15
268@ = 1
266@ = 90000
358@ = 0
goto @RAM_2P_895

:RAM_2P_667
267@ = 18
268@ = 3
266@ = 180000
358@ = 1
goto @RAM_2P_895

:RAM_2P_705
267@ = 18
268@ = 2
266@ = 120000
358@ = 1
goto @RAM_2P_895

:RAM_2P_743
267@ = 18
268@ = 1
266@ = 90000
358@ = 1
goto @RAM_2P_895

:RAM_2P_781
267@ = 20
268@ = 3
266@ = 180000
358@ = 2
goto @RAM_2P_895

:RAM_2P_819
267@ = 20
268@ = 2
266@ = 120000
358@ = 2
goto @RAM_2P_895

:RAM_2P_857
267@ = 20
268@ = 1
266@ = 90000
358@ = 2
goto @RAM_2P_895

:RAM_2P_895
gosub @RAM_2P_1850
Player.MakeGangDisappear
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RAM_2P_939
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:RAM_2P_939
Camera.SetFixedPosition(1484.073, -1659.599, 15.6832, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1483.27, -1659.081, 15.3862, SwitchType.JumpCut)
gosub @RAM_2P_1979
if 
  268@ == 1
goto_if_false @RAM_2P_1046
Text.PrintWith3Numbers('MENU_65', 267@, 268@, 30, 5000, TextStyle.Middle)
goto @RAM_2P_1068

:RAM_2P_1046
Text.PrintWith2NumbersNow('MENU_36', 267@, 268@, 5000, TextStyle.Middle)

:RAM_2P_1068
wait 5000
gosub @RAM_2P_1891
set_lvar_int_to_var_int 360@ = $peds_2p_level
360@ += 1
Text.ClearPrints
switch_start 358@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @RAM_2P_1268 {caseNum1} 0 {caseLabel1} @RAM_2P_1160 {caseNum2} 1 {caseLabel2} @RAM_2P_1196 {caseNum3} 2 {caseLabel3} @RAM_2P_1232 {caseNum4} -1 {caseLabel4} @RAM_2P_1268 {caseNum5} -1 {caseLabel5} @RAM_2P_1268 {caseNum6} -1 {caseLabel6} @RAM_2P_1268 {caseNum7} -1 {caseLabel7} @RAM_2P_1268

:RAM_2P_1160
KillFrenzy.Start('DUMMY', WeaponType.Mp5, 266@, 267@, #INFO, #INFO, #INFO, #INFO, False)
goto @RAM_2P_1268

:RAM_2P_1196
KillFrenzy.Start('DUMMY', WeaponType.MicroUzi, 266@, 267@, #INFO, #INFO, #INFO, #INFO, False)
goto @RAM_2P_1268

:RAM_2P_1232
KillFrenzy.Start('DUMMY', WeaponType.Pistol, 266@, 267@, #INFO, #INFO, #INFO, #INFO, False)
goto @RAM_2P_1268

:RAM_2P_1268
TIMERB = 0

:RAM_2P_1275
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RAM_2P_1480
wait 0
gosub @RAM_2P_2020
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RAM_2P_1351
if or
  Char.HasBeenArrested($stattreadstamina_ctr)
  Char.HasBeenArrested($been_in_freight_before)
goto_if_false @RAM_2P_1351
KillFrenzy.Fail

:RAM_2P_1351
283@ = KillFrenzy.ReadStatus()
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @RAM_2P_1386
sub_int_lvar_from_int_lvar 266@ -= TIMERB
set_lvar_int_to_constant 283@ = 2

:RAM_2P_1386
if 
is_ps2_keyboard_key_pressed 70
goto_if_false @RAM_2P_1408
set_lvar_int_to_constant 283@ = 3

:RAM_2P_1408
if 
  is_int_lvar_equal_to_constant 283@ == 2
goto_if_false @RAM_2P_1441
sub_int_lvar_from_int_lvar 266@ -= TIMERB
goto @RAM_2P_1647

:RAM_2P_1441
if 
  is_int_lvar_equal_to_constant 283@ == 3
goto_if_false @RAM_2P_1473
359@ = 1
goto @RAM_2P_1487

:RAM_2P_1473
goto @RAM_2P_1275

:RAM_2P_1480
goto @RAM_2P_1487

:RAM_2P_1487
if 
  359@ == 0
goto_if_false @RAM_2P_1613
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RAM_2P_1537
Text.PrintNow('MENU_47', 4000, 1)

:RAM_2P_1537
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @RAM_2P_1569
Text.PrintNow('MENU_48', 4000, 1)

:RAM_2P_1569
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RAM_2P_1606
Text.PrintNow('MENU_49', 4000, 1)

:RAM_2P_1606
goto @RAM_2P_1629

:RAM_2P_1613
Text.PrintNow('MENU_50', 4000, 1)

:RAM_2P_1629
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:RAM_2P_1647
266@ /= 1000
361@ = Stat.GetInt(StatId.P2RampageBestTime)
if 
  is_int_lvar_greater_than_int_lvar 266@ > 361@
goto_if_false @RAM_2P_1690
Stat.SetInt(StatId.P2RampageBestTime, 266@)

:RAM_2P_1690
if 
  $peds_2p_level == 8
goto_if_false @RAM_2P_1733
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
goto @RAM_2P_1751

:RAM_2P_1733
Text.PrintWithNumberBig('MENU_67', 0, 5000, TextStyle.Middle)

:RAM_2P_1751
Player.ClearWantedLevel($statbike_temp)
if 
  $peds_2p_level <> 8
goto_if_false @RAM_2P_1781
$peds_2p_level += 1

:RAM_2P_1781
return 

:RAM_2P_1783
Game.HideAllFrontendBlips(False)
359@ = 0
Player.MakeGangReappear
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(63)
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:RAM_2P_1850
Hud.SwitchWidescreen(True)
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RAM_2P_1889
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:RAM_2P_1889
return 

:RAM_2P_1891
Hud.SwitchWidescreen(False)
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RAM_2P_1930
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:RAM_2P_1930
Camera.RestoreJumpcut
Camera.SetTwoPlayerMode(2)
return 

:RAM_2P_1938
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:RAM_2P_1953
if 
  Camera.GetFadingStatus
goto_if_false @RAM_2P_1977
wait 0
goto @RAM_2P_1953

:RAM_2P_1977
return 

:RAM_2P_1979
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:RAM_2P_1994
if 
  Camera.GetFadingStatus
goto_if_false @RAM_2P_2018
wait 0
goto @RAM_2P_1994

:RAM_2P_2018
return 

:RAM_2P_2020
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @RAM_2P_2056
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @RAM_2P_2056
Task.Die($been_in_freight_before)

:RAM_2P_2056
if 
is_ps2_keyboard_key_just_pressed 90
goto_if_false @RAM_2P_2092
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RAM_2P_2092
Task.Die($stattreadstamina_ctr)

:RAM_2P_2092
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @RAM_2P_2126
view_integer_variable $peds_2p_level {_p2} "RAM_2P_LEVEL"

:RAM_2P_2126
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @RAM_2P_2141

:RAM_2P_2141
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @RAM_2P_2156

:RAM_2P_2156
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @RAM_2P_2171

:RAM_2P_2171
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @RAM_2P_2186

:RAM_2P_2186
return 

//-------------Mission 136---------------
// Originally: 2player bike

:BIKE_2P
script_name 'BIKE_2P'
gosub @BIKE_2P_47
if 
  has_deatharrest_been_executed 
goto_if_false @BIKE_2P_38
gosub @BIKE_2P_1549

:BIKE_2P_38
gosub @BIKE_2P_1868
terminate_this_script 

:BIKE_2P_47
Game.HideAllFrontendBlips(True)
Text.ClearPrints
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(0.0)
Camera.SetFadingColor(0, 0, 0)
283@ = 0
284@ = 0
285@ = 0
292@ = 0
286@ = 0

:BIKE_2P_108
287@(286@,5i) = 0
286@ += 1
  286@ >= 5
goto_if_false @BIKE_2P_108
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('MENU2P')
gosub @BIKE_2P_2092
wait 0
Streaming.RequestModel(353)
Streaming.RequestModel(63)
Streaming.RequestModel(521)
Streaming.RequestModel(522)
Streaming.RequestModel(461)

:BIKE_2P_195
if or
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(63)
  not Streaming.HasModelLoaded(521)
  not Streaming.HasModelLoaded(522)
  not Streaming.HasModelLoaded(461)
goto_if_false @BIKE_2P_241
wait 0
goto @BIKE_2P_195

:BIKE_2P_241
TIMERA = 0
CarGenerator.SuppressCarModel(448)
CarGenerator.SuppressCarModel(462)
CarGenerator.SuppressCarModel(463)
CarGenerator.SuppressCarModel(509)
CarGenerator.SuppressCarModel(510)
CarGenerator.SuppressCarModel(523)
CarGenerator.SuppressCarModel(581)
CarGenerator.SuppressCarModel(586)
CarGenerator.SuppressCarModel(523)
CarGenerator.SuppressCarModel(581)
CarGenerator.SuppressCarModel(586)
Game.SetForceRandomCarModel(521)
Hud.DisplayRadar(False)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(1196.491, 249.321, 18.5618, 60.0, True)
switch_start $failed_cesar_race {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @BIKE_2P_957 {caseNum1} 0 {caseLabel1} @BIKE_2P_471 {caseNum2} 1 {caseLabel2} @BIKE_2P_525 {caseNum3} 2 {caseLabel3} @BIKE_2P_579 {caseNum4} 3 {caseLabel4} @BIKE_2P_633 {caseNum5} 4 {caseLabel5} @BIKE_2P_687 {caseNum6} 5 {caseLabel6} @BIKE_2P_741 {caseNum7} 6 {caseLabel7} @BIKE_2P_795
switch_continued 7 {caseLabel1} @BIKE_2P_849 {caseNum2} 8 {caseLabel2} @BIKE_2P_903 {caseNum3} -1 {caseLabel3} @BIKE_2P_957 {caseNum4} -1 {caseLabel4} @BIKE_2P_957 {caseNum5} -1 {caseLabel5} @BIKE_2P_957 {caseNum6} -1 {caseLabel6} @BIKE_2P_957 {caseNum7} -1 {caseLabel7} @BIKE_2P_957 {caseNum8} -1 {caseLabel8} @BIKE_2P_957 {caseNum9} -1 {caseLabel9} @BIKE_2P_957

:BIKE_2P_471
266@ = 5
267@ = 3
265@ = 180000
284@ = Car.Create(521, 1196.491, 249.321, 18.5618)
goto @BIKE_2P_957

:BIKE_2P_525
266@ = 5
267@ = 2
265@ = 120000
284@ = Car.Create(521, 1196.491, 249.321, 18.5618)
goto @BIKE_2P_957

:BIKE_2P_579
266@ = 5
267@ = 1
265@ = 60000
284@ = Car.Create(521, 1196.491, 249.321, 18.5618)
goto @BIKE_2P_957

:BIKE_2P_633
266@ = 8
267@ = 3
265@ = 180000
284@ = Car.Create(522, 1196.491, 249.321, 18.5618)
goto @BIKE_2P_957

:BIKE_2P_687
266@ = 8
267@ = 2
265@ = 120000
284@ = Car.Create(522, 1196.491, 249.321, 18.5618)
goto @BIKE_2P_957

:BIKE_2P_741
266@ = 8
267@ = 1
265@ = 60000
284@ = Car.Create(522, 1196.491, 249.321, 18.5618)
goto @BIKE_2P_957

:BIKE_2P_795
266@ = 10
267@ = 3
265@ = 180000
284@ = Car.Create(461, 1196.491, 249.321, 18.5618)
goto @BIKE_2P_957

:BIKE_2P_849
266@ = 10
267@ = 2
265@ = 120000
284@ = Car.Create(461, 1196.491, 249.321, 18.5618)
goto @BIKE_2P_957

:BIKE_2P_903
266@ = 10
267@ = 1
265@ = 60000
284@ = Car.Create(461, 1196.491, 249.321, 18.5618)
goto @BIKE_2P_957

:BIKE_2P_957
Car.SetHeading(284@, 337.2467)
Car.LockDoors(284@, CarLock.LockedPlayerInside)
$flag_pimping_trigger = Player.Create(1, 1196.491, 249.321, 18.5618)
Player.SetModel($flag_pimping_trigger, 63)
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BIKE_2P_1131
Char.SetCoordinates($stattreadstamina_ctr, 1196.491, 249.321, 18.5618)
Char.WarpIntoCar($stattreadstamina_ctr, 284@)
Char.WarpIntoCarAsPassenger($been_in_freight_before, 284@, 0)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Char.DisableSpeech($been_in_freight_before, True)
Game.LimitTwoPlayerDistance(20.0)
Char.SetCanBeKnockedOffBike($stattreadstamina_ctr, True)
Char.SetCanBeKnockedOffBike($been_in_freight_before, True)

:BIKE_2P_1131
gosub @BIKE_2P_2006
Player.MakeGangDisappear
Camera.SetFixedPosition(1192.166, 245.3466, 20.4391, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1192.838, 246.0682, 20.2713, SwitchType.JumpCut)
gosub @BIKE_2P_2133
if 
  267@ <> 1
goto_if_false @BIKE_2P_1245
Text.PrintWith2NumbersNow('MENU_38', 266@, 267@, 5000, TextStyle.Middle)
goto @BIKE_2P_1267

:BIKE_2P_1245
Text.PrintWith2NumbersNow('MENU_61', 266@, 267@, 5000, TextStyle.Middle)

:BIKE_2P_1267
wait 5000
gosub @BIKE_2P_2047
set_lvar_int_to_var_int 354@ = $failed_cesar_race
354@ += 1
KillFrenzy.Start('DUMMY', WeaponType.Mp5, 265@, 266@, 521, 522, 461, 468, False)
World.SetCarDensityMultiplier(2.0)
TIMERB = 0

:BIKE_2P_1341
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @BIKE_2P_1542
wait 0
gosub @BIKE_2P_2174
if 
  Car.IsInWater(284@)
goto_if_false @BIKE_2P_1391
KillFrenzy.Fail

:BIKE_2P_1391
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @BIKE_2P_1413
goto @BIKE_2P_1709

:BIKE_2P_1413
283@ = KillFrenzy.ReadStatus()
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @BIKE_2P_1448
sub_int_lvar_from_int_lvar 265@ -= TIMERB
set_lvar_int_to_constant 283@ = 2

:BIKE_2P_1448
if 
is_ps2_keyboard_key_pressed 70
goto_if_false @BIKE_2P_1470
set_lvar_int_to_constant 283@ = 3

:BIKE_2P_1470
if 
  is_int_lvar_equal_to_constant 283@ == 2
goto_if_false @BIKE_2P_1503
sub_int_lvar_from_int_lvar 265@ -= TIMERB
goto @BIKE_2P_1709

:BIKE_2P_1503
if 
  is_int_lvar_equal_to_constant 283@ == 3
goto_if_false @BIKE_2P_1535
327@ = 1
goto @BIKE_2P_1549

:BIKE_2P_1535
goto @BIKE_2P_1341

:BIKE_2P_1542
goto @BIKE_2P_1549

:BIKE_2P_1549
if 
  327@ == 0
goto_if_false @BIKE_2P_1675
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @BIKE_2P_1599
Text.PrintNow('MENU_47', 4000, 1)

:BIKE_2P_1599
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @BIKE_2P_1631
Text.PrintNow('MENU_48', 4000, 1)

:BIKE_2P_1631
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @BIKE_2P_1668
Text.PrintNow('MENU_49', 4000, 1)

:BIKE_2P_1668
goto @BIKE_2P_1691

:BIKE_2P_1675
Text.PrintNow('MENU_50', 4000, 1)

:BIKE_2P_1691
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:BIKE_2P_1709
265@ /= 1000
355@ = Stat.GetInt(StatId.P2BikeRampageBestTime)
if 
  is_int_lvar_greater_than_int_lvar 265@ > 355@
goto_if_false @BIKE_2P_1752
Stat.SetInt(StatId.P2BikeRampageBestTime, 265@)

:BIKE_2P_1752
if 
  $failed_cesar_race == 8
goto_if_false @BIKE_2P_1795
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
goto @BIKE_2P_1813

:BIKE_2P_1795
Text.PrintWithNumberBig('MENU_67', 0, 5000, TextStyle.Middle)

:BIKE_2P_1813
if 
  $failed_cesar_race <> 8
goto_if_false @BIKE_2P_1838
$failed_cesar_race += 1

:BIKE_2P_1838
Player.ClearWantedLevel($statbike_temp)
if 
  not Car.IsDead(284@)
goto_if_false @BIKE_2P_1866
Car.LockDoors(284@, CarLock.Unlocked)

:BIKE_2P_1866
return 

:BIKE_2P_1868
Game.HideAllFrontendBlips(False)
327@ = 0
Player.MakeGangReappear
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(1.0)
if 
  not Car.IsDead(284@)
goto_if_false @BIKE_2P_1916
Car.LockDoors(284@, CarLock.Unlocked)

:BIKE_2P_1916
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(522)
Streaming.MarkModelAsNoLongerNeeded(461)
Streaming.MarkModelAsNoLongerNeeded(521)
Streaming.MarkModelAsNoLongerNeeded(63)
CarGenerator.DontSuppressCarModel(448)
CarGenerator.DontSuppressCarModel(462)
CarGenerator.DontSuppressCarModel(463)
CarGenerator.DontSuppressCarModel(509)
CarGenerator.DontSuppressCarModel(510)
CarGenerator.DontSuppressCarModel(523)
CarGenerator.DontSuppressCarModel(581)
CarGenerator.DontSuppressCarModel(586)
CarGenerator.DontSuppressCarModel(523)
CarGenerator.DontSuppressCarModel(581)
CarGenerator.DontSuppressCarModel(586)
$weapon_shop1_blip = 0
Mission.Finish
return 

:BIKE_2P_2006
Hud.SwitchWidescreen(True)
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @BIKE_2P_2045
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:BIKE_2P_2045
return 

:BIKE_2P_2047
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @BIKE_2P_2088
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:BIKE_2P_2088
Camera.RestoreJumpcut
return 

:BIKE_2P_2092
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:BIKE_2P_2107
if 
  Camera.GetFadingStatus
goto_if_false @BIKE_2P_2131
wait 0
goto @BIKE_2P_2107

:BIKE_2P_2131
return 

:BIKE_2P_2133
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:BIKE_2P_2148
if 
  Camera.GetFadingStatus
goto_if_false @BIKE_2P_2172
wait 0
goto @BIKE_2P_2148

:BIKE_2P_2172
return 

:BIKE_2P_2174
if 
is_ps2_keyboard_key_just_pressed 89
goto_if_false @BIKE_2P_2189

:BIKE_2P_2189
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @BIKE_2P_2211
goto @BIKE_2P_1709

:BIKE_2P_2211
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @BIKE_2P_2226

:BIKE_2P_2226
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @BIKE_2P_2262
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @BIKE_2P_2262
Task.Die($been_in_freight_before)

:BIKE_2P_2262
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @BIKE_2P_2279
KillFrenzy.Fail

:BIKE_2P_2279
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @BIKE_2P_2315
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BIKE_2P_2315
Task.Die($stattreadstamina_ctr)

:BIKE_2P_2315
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @BIKE_2P_2360
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BIKE_2P_2360
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:BIKE_2P_2360
return 

//-------------Mission 137---------------
// Originally: 2player cars

:CARS_2P
script_name 'CARS_2P'
gosub @CARS_2P_45
if 
  has_deatharrest_been_executed 
goto_if_false @CARS_2P_38
gosub @CARS_2P_1736

:CARS_2P_38
goto @CARS_2P_2055

:CARS_2P_45
Game.HideAllFrontendBlips(True)
Text.ClearPrints
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(0.0)
Camera.SetFadingColor(0, 0, 0)
282@ = 0
283@ = 0
284@ = 0
291@ = 0
285@ = 0

:CARS_2P_106
286@(285@,5i) = 0
285@ += 1
  285@ >= 5
goto_if_false @CARS_2P_106
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('MENU2P')
wait 0
Streaming.RequestModel(353)
Streaming.RequestModel(63)

:CARS_2P_171
if 
  not Streaming.HasModelLoaded(63)
goto_if_false @CARS_2P_197
wait 0
goto @CARS_2P_171

:CARS_2P_197
TIMERA = 0
World.SetCarDensityMultiplier(2.0)
World.SetPedDensityMultiplier(0.0)
World.ClearArea(-2102.848, 653.8868, 51.3671, 40.0, True)
switch_start $total_cars_parked {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @CARS_2P_1144 {caseNum1} 0 {caseLabel1} @CARS_2P_370 {caseNum2} 1 {caseLabel2} @CARS_2P_456 {caseNum3} 2 {caseLabel3} @CARS_2P_542 {caseNum4} 3 {caseLabel4} @CARS_2P_628 {caseNum5} 4 {caseLabel5} @CARS_2P_714 {caseNum6} 5 {caseLabel6} @CARS_2P_800 {caseNum7} 6 {caseLabel7} @CARS_2P_886
switch_continued 7 {caseLabel1} @CARS_2P_972 {caseNum2} 8 {caseLabel2} @CARS_2P_1058 {caseNum3} -1 {caseLabel3} @CARS_2P_1144 {caseNum4} -1 {caseLabel4} @CARS_2P_1144 {caseNum5} -1 {caseLabel5} @CARS_2P_1144 {caseNum6} -1 {caseLabel6} @CARS_2P_1144 {caseNum7} -1 {caseLabel7} @CARS_2P_1144 {caseNum8} -1 {caseLabel8} @CARS_2P_1144 {caseNum9} -1 {caseLabel9} @CARS_2P_1144

:CARS_2P_370
Streaming.RequestModel(405)

:CARS_2P_375
if 
  not Streaming.HasModelLoaded(405)
goto_if_false @CARS_2P_402
wait 0
goto @CARS_2P_375

:CARS_2P_402
266@ = 5
267@ = 3
265@ = 180000
283@ = Car.Create(405, -2103.0, 654.4047, 51.3703)
goto @CARS_2P_1144

:CARS_2P_456
Streaming.RequestModel(405)

:CARS_2P_461
if 
  not Streaming.HasModelLoaded(405)
goto_if_false @CARS_2P_488
wait 0
goto @CARS_2P_461

:CARS_2P_488
266@ = 5
267@ = 2
265@ = 120000
283@ = Car.Create(405, -2103.0, 654.4047, 51.3703)
goto @CARS_2P_1144

:CARS_2P_542
Streaming.RequestModel(405)

:CARS_2P_547
if 
  not Streaming.HasModelLoaded(405)
goto_if_false @CARS_2P_574
wait 0
goto @CARS_2P_547

:CARS_2P_574
266@ = 5
267@ = 1
265@ = 60000
283@ = Car.Create(405, -2103.0, 654.4047, 51.3703)
goto @CARS_2P_1144

:CARS_2P_628
Streaming.RequestModel(420)

:CARS_2P_633
if 
  not Streaming.HasModelLoaded(420)
goto_if_false @CARS_2P_660
wait 0
goto @CARS_2P_633

:CARS_2P_660
266@ = 8
267@ = 3
265@ = 180000
283@ = Car.Create(420, -2103.0, 654.4047, 51.3703)
goto @CARS_2P_1144

:CARS_2P_714
Streaming.RequestModel(420)

:CARS_2P_719
if 
  not Streaming.HasModelLoaded(420)
goto_if_false @CARS_2P_746
wait 0
goto @CARS_2P_719

:CARS_2P_746
266@ = 8
267@ = 2
265@ = 120000
283@ = Car.Create(420, -2103.0, 654.4047, 51.3703)
goto @CARS_2P_1144

:CARS_2P_800
Streaming.RequestModel(420)

:CARS_2P_805
if 
  not Streaming.HasModelLoaded(420)
goto_if_false @CARS_2P_832
wait 0
goto @CARS_2P_805

:CARS_2P_832
266@ = 8
267@ = 1
265@ = 60000
283@ = Car.Create(420, -2103.0, 654.4047, 51.3703)
goto @CARS_2P_1144

:CARS_2P_886
Streaming.RequestModel(502)

:CARS_2P_891
if 
  not Streaming.HasModelLoaded(502)
goto_if_false @CARS_2P_918
wait 0
goto @CARS_2P_891

:CARS_2P_918
266@ = 10
267@ = 3
265@ = 180000
283@ = Car.Create(502, -2103.0, 654.4047, 51.3703)
goto @CARS_2P_1144

:CARS_2P_972
Streaming.RequestModel(502)

:CARS_2P_977
if 
  not Streaming.HasModelLoaded(502)
goto_if_false @CARS_2P_1004
wait 0
goto @CARS_2P_977

:CARS_2P_1004
266@ = 10
267@ = 2
265@ = 120000
283@ = Car.Create(502, -2103.0, 654.4047, 51.3703)
goto @CARS_2P_1144

:CARS_2P_1058
Streaming.RequestModel(502)

:CARS_2P_1063
if 
  not Streaming.HasModelLoaded(502)
goto_if_false @CARS_2P_1090
wait 0
goto @CARS_2P_1063

:CARS_2P_1090
266@ = 10
267@ = 1
265@ = 60000
283@ = Car.Create(502, -2103.0, 654.4047, 51.3703)
goto @CARS_2P_1144

:CARS_2P_1144
Car.SetHeading(283@, 269.5643)
Car.LockDoors(283@, CarLock.LockedPlayerInside)
$flag_pimping_trigger = Player.Create(1, -2104.556, 654.4047, 51.3703)
Player.SetModel($flag_pimping_trigger, 63)
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CARS_2P_1304
Char.SetCoordinates($stattreadstamina_ctr, -2104.556, 654.4047, 51.3703)
Char.WarpIntoCar($stattreadstamina_ctr, 283@)
Char.WarpIntoCarAsPassenger($been_in_freight_before, 283@, 0)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:CARS_2P_1304
gosub @CARS_2P_2143
Player.MakeGangDisappear
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @CARS_2P_1348
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:CARS_2P_1348
Camera.SetFixedPosition(-2105.843, 651.8388, 52.53596, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2105.124, 652.5283, 52.4463, SwitchType.JumpCut)
gosub @CARS_2P_2270
if 
  267@ <> 1
goto_if_false @CARS_2P_1453
Text.PrintWith2NumbersNow('MENU_64', 266@, 267@, 5000, TextStyle.Middle)
goto @CARS_2P_1475

:CARS_2P_1453
Text.PrintWith2NumbersNow('MENU_63', 266@, 267@, 5000, TextStyle.Middle)

:CARS_2P_1475
wait 5000
gosub @CARS_2P_2184
set_lvar_int_to_var_int 353@ = $total_cars_parked
353@ += 1
KillFrenzy.Start('DUMMY', WeaponType.Mp5, 265@, 266@, #KEYCARD, #KEYCARD, #KEYCARD, #KEYCARD, False)
World.SetCarDensityMultiplier(2.0)
TIMERB = 0

:CARS_2P_1545
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
  not Car.IsDead(283@)
goto_if_false @CARS_2P_1729
wait 0
gosub @CARS_2P_2311
if 
  Car.IsInWater(283@)
goto_if_false @CARS_2P_1600
KillFrenzy.Fail

:CARS_2P_1600
282@ = KillFrenzy.ReadStatus()
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CARS_2P_1635
sub_int_lvar_from_int_lvar 265@ -= TIMERB
set_lvar_int_to_constant 282@ = 2

:CARS_2P_1635
if 
is_ps2_keyboard_key_pressed 70
goto_if_false @CARS_2P_1657
set_lvar_int_to_constant 282@ = 3

:CARS_2P_1657
if 
  is_int_lvar_equal_to_constant 282@ == 2
goto_if_false @CARS_2P_1690
sub_int_lvar_from_int_lvar 265@ -= TIMERB
goto @CARS_2P_1896

:CARS_2P_1690
if 
  is_int_lvar_equal_to_constant 282@ == 3
goto_if_false @CARS_2P_1722
352@ = 1
goto @CARS_2P_1736

:CARS_2P_1722
goto @CARS_2P_1545

:CARS_2P_1729
goto @CARS_2P_1736

:CARS_2P_1736
if 
  352@ == 0
goto_if_false @CARS_2P_1862
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @CARS_2P_1786
Text.PrintNow('MENU_47', 4000, 1)

:CARS_2P_1786
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @CARS_2P_1818
Text.PrintNow('MENU_48', 4000, 1)

:CARS_2P_1818
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @CARS_2P_1855
Text.PrintNow('MENU_49', 4000, 1)

:CARS_2P_1855
goto @CARS_2P_1878

:CARS_2P_1862
Text.PrintNow('MENU_50', 4000, 1)

:CARS_2P_1878
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:CARS_2P_1896
265@ /= 1000
354@ = Stat.GetInt(StatId.P2CarsRampageBestTime)
if 
  is_int_lvar_greater_than_int_lvar 265@ > 354@
goto_if_false @CARS_2P_1939
Stat.SetInt(StatId.P2CarsRampageBestTime, 265@)

:CARS_2P_1939
if 
  $total_cars_parked == 8
goto_if_false @CARS_2P_1982
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
goto @CARS_2P_2000

:CARS_2P_1982
Text.PrintWithNumberBig('MENU_67', 0, 5000, TextStyle.Middle)

:CARS_2P_2000
Player.ClearWantedLevel($statbike_temp)
if 
  not Car.IsDead(283@)
goto_if_false @CARS_2P_2028
Car.LockDoors(283@, CarLock.Unlocked)

:CARS_2P_2028
if 
  $total_cars_parked <> 8
goto_if_false @CARS_2P_2053
$total_cars_parked += 1

:CARS_2P_2053
return 

:CARS_2P_2055
Game.HideAllFrontendBlips(False)
352@ = 0
Player.MakeGangReappear
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(1.0)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(405)
Streaming.MarkModelAsNoLongerNeeded(420)
Streaming.MarkModelAsNoLongerNeeded(502)
Streaming.MarkModelAsNoLongerNeeded(63)
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
if 
  not Car.IsDead(283@)
goto_if_false @CARS_2P_2141
Car.LockDoors(283@, CarLock.Unlocked)

:CARS_2P_2141
terminate_this_script 

:CARS_2P_2143
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @CARS_2P_2182
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:CARS_2P_2182
return 

:CARS_2P_2184
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @CARS_2P_2225
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:CARS_2P_2225
Camera.RestoreJumpcut
return 
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:CARS_2P_2244
if 
  Camera.GetFadingStatus
goto_if_false @CARS_2P_2268
wait 0
goto @CARS_2P_2244

:CARS_2P_2268
return 

:CARS_2P_2270
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:CARS_2P_2285
if 
  Camera.GetFadingStatus
goto_if_false @CARS_2P_2309
wait 0
goto @CARS_2P_2285

:CARS_2P_2309
return 

:CARS_2P_2311
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @CARS_2P_2349
if 
  not Car.IsDead(283@)
goto_if_false @CARS_2P_2349
Car.LockDoors(283@, CarLock.Unlocked)

:CARS_2P_2349
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @CARS_2P_2364

:CARS_2P_2364
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @CARS_2P_2386
goto @CARS_2P_1896

:CARS_2P_2386
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @CARS_2P_2422
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @CARS_2P_2422
Task.Die($been_in_freight_before)

:CARS_2P_2422
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @CARS_2P_2437

:CARS_2P_2437
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @CARS_2P_2473
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CARS_2P_2473
Task.Die($stattreadstamina_ctr)

:CARS_2P_2473
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @CARS_2P_2518
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @CARS_2P_2518
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:CARS_2P_2518
return 

//-------------Mission 138---------------
// Originally: 2player heli

:HELI_2P
script_name 'HELI_2P'
gosub @HELI_2P_47
if 
  has_deatharrest_been_executed 
goto_if_false @HELI_2P_38
gosub @HELI_2P_1442

:HELI_2P_38
gosub @HELI_2P_1761
terminate_this_script 

:HELI_2P_47
Game.HideAllFrontendBlips(True)
Text.ClearPrints
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(0.0)
Text.LoadMissionText('MENU2P')
Camera.SetFadingColor(0, 0, 0)
gosub @HELI_2P_1940
34@ = 0
35@ = 0
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
wait 0
Streaming.RequestModel(353)
Streaming.RequestModel(497)
Streaming.RequestModel(447)
Streaming.RequestModel(469)
Streaming.RequestModel(63)

:HELI_2P_142
if or
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(497)
  not Streaming.HasModelLoaded(447)
  not Streaming.HasModelLoaded(469)
  not Streaming.HasModelLoaded(63)
goto_if_false @HELI_2P_188
wait 0
goto @HELI_2P_142

:HELI_2P_188
TIMERA = 0
World.SetCarDensityMultiplier(1.0)
World.ClearArea(-252.9156, 2583.779, 62.5703, 40.0, True)
switch_start $flag_stage_of_bcesar_race {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @HELI_2P_840 {caseNum1} 0 {caseLabel1} @HELI_2P_354 {caseNum2} 1 {caseLabel2} @HELI_2P_408 {caseNum3} 2 {caseLabel3} @HELI_2P_462 {caseNum4} 3 {caseLabel4} @HELI_2P_516 {caseNum5} 4 {caseLabel5} @HELI_2P_570 {caseNum6} 5 {caseLabel6} @HELI_2P_624 {caseNum7} 6 {caseLabel7} @HELI_2P_678
switch_continued 7 {caseLabel1} @HELI_2P_732 {caseNum2} 8 {caseLabel2} @HELI_2P_786 {caseNum3} -1 {caseLabel3} @HELI_2P_840 {caseNum4} -1 {caseLabel4} @HELI_2P_840 {caseNum5} -1 {caseLabel5} @HELI_2P_840 {caseNum6} -1 {caseLabel6} @HELI_2P_840 {caseNum7} -1 {caseLabel7} @HELI_2P_840 {caseNum8} -1 {caseLabel8} @HELI_2P_840 {caseNum9} -1 {caseLabel9} @HELI_2P_840

:HELI_2P_354
278@ = 8
279@ = 3
277@ = 180000
34@ = Car.Create(497, -252.9156, 2583.779, 62.5703)
goto @HELI_2P_840

:HELI_2P_408
278@ = 8
279@ = 2
277@ = 120000
34@ = Car.Create(497, -252.9156, 2583.779, 62.5703)
goto @HELI_2P_840

:HELI_2P_462
278@ = 8
279@ = 1
277@ = 60000
34@ = Car.Create(497, -252.9156, 2583.779, 62.5703)
goto @HELI_2P_840

:HELI_2P_516
278@ = 10
279@ = 3
277@ = 180000
34@ = Car.Create(497, -252.9156, 2583.779, 62.5703)
goto @HELI_2P_840

:HELI_2P_570
278@ = 10
279@ = 2
277@ = 120000
34@ = Car.Create(497, -252.9156, 2583.779, 62.5703)
goto @HELI_2P_840

:HELI_2P_624
278@ = 10
279@ = 1
277@ = 60000
34@ = Car.Create(497, -252.9156, 2583.779, 62.5703)
goto @HELI_2P_840

:HELI_2P_678
278@ = 12
279@ = 3
277@ = 180000
34@ = Car.Create(497, -252.9156, 2583.779, 62.5703)
goto @HELI_2P_840

:HELI_2P_732
278@ = 12
279@ = 2
277@ = 120000
34@ = Car.Create(497, -252.9156, 2583.779, 62.5703)
goto @HELI_2P_840

:HELI_2P_786
278@ = 12
279@ = 1
277@ = 60000
34@ = Car.Create(497, -252.9156, 2583.779, 62.5703)
goto @HELI_2P_840

:HELI_2P_840
Car.SetHeading(34@, 310.1937)
Car.LockDoors(34@, CarLock.LockedPlayerInside)
$flag_pimping_trigger = Player.Create(1, -252.9156, 2583.779, 62.5703)
Player.SetModel($flag_pimping_trigger, 63)
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HELI_2P_1017
Char.SetCoordinates($stattreadstamina_ctr, -252.9156, 2583.779, 62.5703)
Char.WarpIntoCar($stattreadstamina_ctr, 34@)
Char.WarpIntoCarAsPassenger($been_in_freight_before, 34@, 0)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Char.GiveWeapon($been_in_freight_before, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon($been_in_freight_before, WeaponType.Mp5)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:HELI_2P_1017
gosub @HELI_2P_1854
Player.MakeGangDisappear
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @HELI_2P_1061
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:HELI_2P_1061
Camera.SetFixedPosition(-252.9156, 2575.86, 65.34, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-252.7241, 2576.819, 65.1324, SwitchType.JumpCut)
gosub @HELI_2P_1981
if 
  279@ <> 1
goto_if_false @HELI_2P_1166
Text.PrintWith2NumbersNow('MENU_64', 278@, 279@, 5000, TextStyle.Middle)
goto @HELI_2P_1188

:HELI_2P_1166
Text.PrintWith2NumbersNow('MENU_63', 278@, 279@, 5000, TextStyle.Middle)

:HELI_2P_1188
wait 5000
gosub @HELI_2P_1895
set_lvar_int_to_var_int 345@ = $flag_stage_of_bcesar_race
345@ += 1
KillFrenzy.Start('DUMMY', WeaponType.Mp5, 277@, 278@, #KEYCARD, #KEYCARD, #KEYCARD, #KEYCARD, False)
TIMERB = 0

:HELI_2P_1251
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
  not Car.IsDead(34@)
goto_if_false @HELI_2P_1435
wait 0
gosub @HELI_2P_2022
if 
  Car.IsInWater(34@)
goto_if_false @HELI_2P_1306
KillFrenzy.Fail

:HELI_2P_1306
35@ = KillFrenzy.ReadStatus()
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @HELI_2P_1341
sub_int_lvar_from_int_lvar 277@ -= TIMERB
set_lvar_int_to_constant 35@ = 2

:HELI_2P_1341
if 
is_ps2_keyboard_key_pressed 70
goto_if_false @HELI_2P_1363
set_lvar_int_to_constant 35@ = 3

:HELI_2P_1363
if 
  is_int_lvar_equal_to_constant 35@ == 2
goto_if_false @HELI_2P_1396
sub_int_lvar_from_int_lvar 277@ -= TIMERB
goto @HELI_2P_1602

:HELI_2P_1396
if 
  is_int_lvar_equal_to_constant 35@ == 3
goto_if_false @HELI_2P_1428
344@ = 1
goto @HELI_2P_1442

:HELI_2P_1428
goto @HELI_2P_1251

:HELI_2P_1435
goto @HELI_2P_1442

:HELI_2P_1442
if 
  344@ == 0
goto_if_false @HELI_2P_1568
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @HELI_2P_1492
Text.PrintNow('MENU_47', 4000, 1)

:HELI_2P_1492
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @HELI_2P_1524
Text.PrintNow('MENU_48', 4000, 1)

:HELI_2P_1524
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @HELI_2P_1561
Text.PrintNow('MENU_49', 4000, 1)

:HELI_2P_1561
goto @HELI_2P_1584

:HELI_2P_1568
Text.PrintNow('MENU_50', 4000, 1)

:HELI_2P_1584
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:HELI_2P_1602
277@ /= 1000
346@ = Stat.GetInt(StatId.P2HeliRampageBestTime)
if 
  is_int_lvar_greater_than_int_lvar 277@ > 346@
goto_if_false @HELI_2P_1645
Stat.SetInt(StatId.P2HeliRampageBestTime, 277@)

:HELI_2P_1645
if 
  not Car.IsDead(34@)
goto_if_false @HELI_2P_1668
Car.LockDoors(34@, CarLock.Unlocked)

:HELI_2P_1668
if 
  $flag_stage_of_bcesar_race <> 8
goto_if_false @HELI_2P_1693
$flag_stage_of_bcesar_race += 1

:HELI_2P_1693
if 
  $flag_stage_of_bcesar_race == 8
goto_if_false @HELI_2P_1736
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
goto @HELI_2P_1754

:HELI_2P_1736
Text.PrintWithNumberBig('MENU_67', 0, 5000, TextStyle.Middle)

:HELI_2P_1754
Player.ClearWantedLevel($statbike_temp)
return 

:HELI_2P_1761
Game.HideAllFrontendBlips(False)
344@ = 0
Player.MakeGangReappear
Game.SetWantedMultiplier(1.0)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(497)
Streaming.MarkModelAsNoLongerNeeded(447)
Streaming.MarkModelAsNoLongerNeeded(469)
Streaming.MarkModelAsNoLongerNeeded(487)
Streaming.MarkModelAsNoLongerNeeded(488)
Streaming.MarkModelAsNoLongerNeeded(63)
if 
  not Car.IsDead(34@)
goto_if_false @HELI_2P_1838
Car.LockDoors(34@, CarLock.Unlocked)

:HELI_2P_1838
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:HELI_2P_1854
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @HELI_2P_1893
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:HELI_2P_1893
return 

:HELI_2P_1895
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @HELI_2P_1936
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:HELI_2P_1936
Camera.RestoreJumpcut
return 

:HELI_2P_1940
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:HELI_2P_1955
if 
  Camera.GetFadingStatus
goto_if_false @HELI_2P_1979
wait 0
goto @HELI_2P_1955

:HELI_2P_1979
return 

:HELI_2P_1981
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:HELI_2P_1996
if 
  Camera.GetFadingStatus
goto_if_false @HELI_2P_2020
wait 0
goto @HELI_2P_1996

:HELI_2P_2020
return 

:HELI_2P_2022
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @HELI_2P_2037

:HELI_2P_2037
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @HELI_2P_2052

:HELI_2P_2052
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @HELI_2P_2074
goto @HELI_2P_1602

:HELI_2P_2074
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @HELI_2P_2110
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @HELI_2P_2110
Task.Die($been_in_freight_before)

:HELI_2P_2110
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @HELI_2P_2125

:HELI_2P_2125
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @HELI_2P_2161
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HELI_2P_2161
Task.Die($stattreadstamina_ctr)

:HELI_2P_2161
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @HELI_2P_2206
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @HELI_2P_2206
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:HELI_2P_2206
return 

//-------------Mission 139---------------
// Originally: 2player peds

:PEDS_2P
script_name 'PEDS_2P'
gosub @PEDS_2P_47
if 
  has_deatharrest_been_executed 
goto_if_false @PEDS_2P_38
gosub @PEDS_2P_1754

:PEDS_2P_38
gosub @PEDS_2P_2073
terminate_this_script 

:PEDS_2P_47
Game.HideAllFrontendBlips(True)
Text.ClearPrints
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(0.0)
Camera.SetFadingColor(0, 0, 0)
Text.ClearPrints
282@ = 0
283@ = 0
284@ = 0
291@ = 0
285@ = 0

:PEDS_2P_110
286@(285@,5i) = 0
285@ += 1
  285@ >= 5
goto_if_false @PEDS_2P_110
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('MENU2P')
gosub @PEDS_2P_2242
wait 0
Streaming.RequestModel(353)
Streaming.RequestModel(63)

:PEDS_2P_182
if or
  not Streaming.HasModelLoaded(353)
  not Streaming.HasModelLoaded(63)
goto_if_false @PEDS_2P_213
wait 0
goto @PEDS_2P_182

:PEDS_2P_213
TIMERA = 0
World.SetCarDensityMultiplier(0.5)
World.ClearArea(2510.633, 1207.917, 9.8281, 40.0, True)
switch_start $Srange_X {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @PEDS_2P_1153 {caseNum1} 0 {caseLabel1} @PEDS_2P_379 {caseNum2} 1 {caseLabel2} @PEDS_2P_465 {caseNum3} 2 {caseLabel3} @PEDS_2P_551 {caseNum4} 3 {caseLabel4} @PEDS_2P_637 {caseNum5} 4 {caseLabel5} @PEDS_2P_723 {caseNum6} 5 {caseLabel6} @PEDS_2P_809 {caseNum7} 6 {caseLabel7} @PEDS_2P_895
switch_continued 7 {caseLabel1} @PEDS_2P_981 {caseNum2} 8 {caseLabel2} @PEDS_2P_1067 {caseNum3} -1 {caseLabel3} @PEDS_2P_1153 {caseNum4} -1 {caseLabel4} @PEDS_2P_1153 {caseNum5} -1 {caseLabel5} @PEDS_2P_1153 {caseNum6} -1 {caseLabel6} @PEDS_2P_1153 {caseNum7} -1 {caseLabel7} @PEDS_2P_1153 {caseNum8} -1 {caseLabel8} @PEDS_2P_1153 {caseNum9} -1 {caseLabel9} @PEDS_2P_1153

:PEDS_2P_379
Streaming.RequestModel(402)

:PEDS_2P_384
if 
  not Streaming.HasModelLoaded(402)
goto_if_false @PEDS_2P_411
wait 0
goto @PEDS_2P_384

:PEDS_2P_411
266@ = 15
267@ = 3
265@ = 180000
283@ = Car.Create(402, 2510.633, 1207.917, 9.8281)
goto @PEDS_2P_1153

:PEDS_2P_465
Streaming.RequestModel(402)

:PEDS_2P_470
if 
  not Streaming.HasModelLoaded(402)
goto_if_false @PEDS_2P_497
wait 0
goto @PEDS_2P_470

:PEDS_2P_497
266@ = 15
267@ = 2
265@ = 120000
283@ = Car.Create(402, 2510.633, 1207.917, 9.8281)
goto @PEDS_2P_1153

:PEDS_2P_551
Streaming.RequestModel(402)

:PEDS_2P_556
if 
  not Streaming.HasModelLoaded(402)
goto_if_false @PEDS_2P_583
wait 0
goto @PEDS_2P_556

:PEDS_2P_583
266@ = 15
267@ = 1
265@ = 60000
283@ = Car.Create(402, 2510.633, 1207.917, 9.8281)
goto @PEDS_2P_1153

:PEDS_2P_637
Streaming.RequestModel(411)

:PEDS_2P_642
if 
  not Streaming.HasModelLoaded(411)
goto_if_false @PEDS_2P_669
wait 0
goto @PEDS_2P_642

:PEDS_2P_669
266@ = 20
267@ = 3
265@ = 180000
283@ = Car.Create(411, 2510.633, 1207.917, 9.8281)
goto @PEDS_2P_1153

:PEDS_2P_723
Streaming.RequestModel(411)

:PEDS_2P_728
if 
  not Streaming.HasModelLoaded(411)
goto_if_false @PEDS_2P_755
wait 0
goto @PEDS_2P_728

:PEDS_2P_755
266@ = 20
267@ = 2
265@ = 120000
283@ = Car.Create(411, 2510.633, 1207.917, 9.8281)
goto @PEDS_2P_1153

:PEDS_2P_809
Streaming.RequestModel(411)

:PEDS_2P_814
if 
  not Streaming.HasModelLoaded(411)
goto_if_false @PEDS_2P_841
wait 0
goto @PEDS_2P_814

:PEDS_2P_841
266@ = 20
267@ = 1
265@ = 60000
283@ = Car.Create(411, 2510.633, 1207.917, 9.8281)
goto @PEDS_2P_1153

:PEDS_2P_895
Streaming.RequestModel(477)

:PEDS_2P_900
if 
  not Streaming.HasModelLoaded(477)
goto_if_false @PEDS_2P_927
wait 0
goto @PEDS_2P_900

:PEDS_2P_927
266@ = 25
267@ = 3
265@ = 180000
283@ = Car.Create(477, 2510.633, 1207.917, 9.8281)
goto @PEDS_2P_1153

:PEDS_2P_981
Streaming.RequestModel(477)

:PEDS_2P_986
if 
  not Streaming.HasModelLoaded(477)
goto_if_false @PEDS_2P_1013
wait 0
goto @PEDS_2P_986

:PEDS_2P_1013
266@ = 25
267@ = 2
265@ = 120000
283@ = Car.Create(477, 2510.633, 1207.917, 9.8281)
goto @PEDS_2P_1153

:PEDS_2P_1067
Streaming.RequestModel(477)

:PEDS_2P_1072
if 
  not Streaming.HasModelLoaded(477)
goto_if_false @PEDS_2P_1099
wait 0
goto @PEDS_2P_1072

:PEDS_2P_1099
266@ = 25
267@ = 1
265@ = 60000
283@ = Car.Create(477, 2510.633, 1207.917, 9.8281)
goto @PEDS_2P_1153

:PEDS_2P_1153
Car.SetHeading(283@, 271.2962)
Car.LockDoors(283@, CarLock.LockedPlayerInside)
$flag_pimping_trigger = Player.Create(1, 2510.633, 1207.917, 9.8281)
Player.SetModel($flag_pimping_trigger, 63)
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @PEDS_2P_1330
Char.SetCoordinates($stattreadstamina_ctr, 2510.633, 1207.917, 9.8281)
Char.WarpIntoCar($stattreadstamina_ctr, 283@)
Char.WarpIntoCarAsPassenger($been_in_freight_before, 283@, 0)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Char.GiveWeapon($been_in_freight_before, WeaponType.Mp5, 30000)
Char.SetCurrentWeapon($been_in_freight_before, WeaponType.Mp5)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:PEDS_2P_1330
gosub @PEDS_2P_2156
Player.MakeGangDisappear
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @PEDS_2P_1374
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:PEDS_2P_1374
Camera.SetFixedPosition(2508.093, 1205.589, 11.1785, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2509.017, 1205.957, 11.0761, SwitchType.JumpCut)
gosub @PEDS_2P_2283
if 
  267@ <> 1
goto_if_false @PEDS_2P_1479
Text.PrintWith2NumbersNow('MENU_46', 266@, 267@, 5000, TextStyle.Middle)
goto @PEDS_2P_1501

:PEDS_2P_1479
Text.PrintWith2NumbersNow('MENU_62', 266@, 267@, 5000, TextStyle.Middle)

:PEDS_2P_1501
wait 5000
gosub @PEDS_2P_2197
set_lvar_int_to_var_int 353@ = $Srange_X
353@ += 1
KillFrenzy.Start('DUMMY', WeaponType.Mp5, 265@, 266@, #INFO, #INFO, #INFO, #INFO, False)
World.SetPedDensityMultiplier(2.0)
TIMERB = 0

:PEDS_2P_1571
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
  not Car.IsDead(283@)
goto_if_false @PEDS_2P_1747
wait 0
gosub @PEDS_2P_2324
if 
  Car.IsInWater(283@)
goto_if_false @PEDS_2P_1626
KillFrenzy.Fail

:PEDS_2P_1626
282@ = KillFrenzy.ReadStatus()
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @PEDS_2P_1653
set_lvar_int_to_constant 282@ = 2

:PEDS_2P_1653
if 
is_ps2_keyboard_key_pressed 70
goto_if_false @PEDS_2P_1675
set_lvar_int_to_constant 282@ = 3

:PEDS_2P_1675
if 
  is_int_lvar_equal_to_constant 282@ == 2
goto_if_false @PEDS_2P_1708
sub_int_lvar_from_int_lvar 265@ -= TIMERB
goto @PEDS_2P_1914

:PEDS_2P_1708
if 
  is_int_lvar_equal_to_constant 282@ == 3
goto_if_false @PEDS_2P_1740
352@ = 1
goto @PEDS_2P_1754

:PEDS_2P_1740
goto @PEDS_2P_1571

:PEDS_2P_1747
goto @PEDS_2P_1754

:PEDS_2P_1754
if 
  352@ == 0
goto_if_false @PEDS_2P_1880
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @PEDS_2P_1804
Text.PrintNow('MENU_47', 4000, 1)

:PEDS_2P_1804
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @PEDS_2P_1836
Text.PrintNow('MENU_48', 4000, 1)

:PEDS_2P_1836
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @PEDS_2P_1873
Text.PrintNow('MENU_49', 4000, 1)

:PEDS_2P_1873
goto @PEDS_2P_1896

:PEDS_2P_1880
Text.PrintNow('MENU_50', 4000, 1)

:PEDS_2P_1896
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 

:PEDS_2P_1914
265@ /= 1000
354@ = Stat.GetInt(StatId.P2PedsRampageBestTime)
if 
  is_int_lvar_greater_than_int_lvar 265@ > 354@
goto_if_false @PEDS_2P_1957
Stat.SetInt(StatId.P2PedsRampageBestTime, 265@)

:PEDS_2P_1957
if 
  $Srange_X <> 8
goto_if_false @PEDS_2P_1982
$Srange_X += 1

:PEDS_2P_1982
if 
  $Srange_X == 8
goto_if_false @PEDS_2P_2025
Text.PrintWithNumberBig('M_PASSD', 0, 5000, TextStyle.Middle)
goto @PEDS_2P_2043

:PEDS_2P_2025
Text.PrintWithNumberBig('MENU_67', 0, 5000, TextStyle.Middle)

:PEDS_2P_2043
Player.ClearWantedLevel($statbike_temp)
if 
  not Car.IsDead(283@)
goto_if_false @PEDS_2P_2071
Car.LockDoors(283@, CarLock.Unlocked)

:PEDS_2P_2071
return 

:PEDS_2P_2073
Game.HideAllFrontendBlips(False)
352@ = 0
Player.MakeGangReappear
Player.ClearWantedLevel($statbike_temp)
Game.SetWantedMultiplier(1.0)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(402)
Streaming.MarkModelAsNoLongerNeeded(411)
Streaming.MarkModelAsNoLongerNeeded(477)
Streaming.MarkModelAsNoLongerNeeded(63)
if 
  not Car.IsDead(283@)
goto_if_false @PEDS_2P_2145
Car.LockDoors(283@, CarLock.Unlocked)

:PEDS_2P_2145
$weapon_shop1_blip = 0
Mission.Finish
return 

:PEDS_2P_2156
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @PEDS_2P_2195
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:PEDS_2P_2195
return 

:PEDS_2P_2197
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @PEDS_2P_2238
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:PEDS_2P_2238
Camera.RestoreJumpcut
return 

:PEDS_2P_2242
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:PEDS_2P_2257
if 
  Camera.GetFadingStatus
goto_if_false @PEDS_2P_2281
wait 0
goto @PEDS_2P_2257

:PEDS_2P_2281
return 

:PEDS_2P_2283
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:PEDS_2P_2298
if 
  Camera.GetFadingStatus
goto_if_false @PEDS_2P_2322
wait 0
goto @PEDS_2P_2298

:PEDS_2P_2322
return 

:PEDS_2P_2324
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @PEDS_2P_2339

:PEDS_2P_2339
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @PEDS_2P_2354

:PEDS_2P_2354
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @PEDS_2P_2376
goto @PEDS_2P_1914

:PEDS_2P_2376
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @PEDS_2P_2412
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @PEDS_2P_2412
Task.Die($been_in_freight_before)

:PEDS_2P_2412
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @PEDS_2P_2427

:PEDS_2P_2427
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @PEDS_2P_2463
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @PEDS_2P_2463
Task.Die($stattreadstamina_ctr)

:PEDS_2P_2463
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @PEDS_2P_2508
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @PEDS_2P_2508
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:PEDS_2P_2508
return 

//-------------Mission 140---------------
// Originally: Run-around LS

:RUN_LS
script_name 'RUN_LS'
gosub @RUN_LS_47
if 
  has_deatharrest_been_executed 
goto_if_false @RUN_LS_38
gosub @RUN_LS_1016

:RUN_LS_38
gosub @RUN_LS_1142
terminate_this_script 

:RUN_LS_47
Game.HideAllFrontendBlips(True)
Camera.SetFadingColor(0, 0, 0)
$weapon_shop1_blip = 1
$cammy_off_Z = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RUN_2P')
gosub @RUN_LS_1298
wait 0
Streaming.RequestModel(63)
Streaming.RequestAnimation("KISSING")

:RUN_LS_112
if or
  not Streaming.HasModelLoaded(63)
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @RUN_LS_149
wait 0
goto @RUN_LS_112

:RUN_LS_149
TIMERA = 0
World.ClearArea(2069.907, -1556.378, 12.4198, 10.0, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_LS_351
Char.SetCoordinates($stattreadstamina_ctr, 2070.337, -1557.624, 12.4203)
Char.SetHeading($stattreadstamina_ctr, 269.0526)
World.ClearArea(2491.895, -1669.122, 12.3594, 10.0, True)
$flag_pimping_trigger = Player.Create(1, 2069.74, -1555.628, 12.4214)
Game.DoWeaponStuffAtStartOf2PGame
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Player.SetModel($flag_pimping_trigger, 63)
Char.SetHeading($been_in_freight_before, 269.0526)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:RUN_LS_351
gosub @RUN_LS_1212
Camera.SetFixedPosition(2078.45, -1556.668, 13.6446, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2077.451, -1556.651, 13.6027, SwitchType.JumpCut)
gosub @RUN_LS_1339
Text.PrintNow('RUN_02', 5000, 1)
wait 5000
Text.ClearPrints
Hud.SwitchWidescreen(False)
Text.PrintHelpForever('RUN_XX')

:RUN_LS_454
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LS_873
wait 0
if 
  TIMERB > 250
goto_if_false @RUN_LS_780
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad2)
if and
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftStickX)
  $been_in_a_bmx > 100
goto_if_false @RUN_LS_584
50@ += 1
if 
  50@ > 5
goto_if_false @RUN_LS_570
50@ = 0

:RUN_LS_570
gosub @RUN_LS_1380
TIMERB = 0

:RUN_LS_584
if and
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftStickX)
  -100 > $been_in_a_bmx
goto_if_false @RUN_LS_654
50@ -= 1
if 
  0 > 50@
goto_if_false @RUN_LS_640
50@ = 5

:RUN_LS_640
gosub @RUN_LS_1380
TIMERB = 0

:RUN_LS_654
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.DpadRight)
goto_if_false @RUN_LS_717
50@ += 1
if 
  50@ > 5
goto_if_false @RUN_LS_703
50@ = 0

:RUN_LS_703
gosub @RUN_LS_1380
TIMERB = 0

:RUN_LS_717
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.DpadLeft)
goto_if_false @RUN_LS_780
50@ -= 1
if 
  0 > 50@
goto_if_false @RUN_LS_766
50@ = 5

:RUN_LS_766
gosub @RUN_LS_1380
TIMERB = 0

:RUN_LS_780
if 
is_japanese_version 
goto_if_false @RUN_LS_833
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.Circle)
goto_if_false @RUN_LS_826
gosub @RUN_LS_1253
Text.ClearHelp
goto @RUN_LS_873

:RUN_LS_826
goto @RUN_LS_866

:RUN_LS_833
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.Cross)
goto_if_false @RUN_LS_866
gosub @RUN_LS_1253
Text.ClearHelp
goto @RUN_LS_873

:RUN_LS_866
goto @RUN_LS_454

:RUN_LS_873
Text.PrintHelp('RUN_06')

:RUN_LS_884
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LS_1009
wait 0
gosub @RUN_LS_1718
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LS_1002
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @RUN_LS_1002
if and
  not Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
  not Char.HasBeenDamagedByWeapon($been_in_freight_before, WeaponType.SprayCan)
goto_if_false @RUN_LS_992
gosub @RUN_LS_1897
goto @RUN_LS_1002

:RUN_LS_992
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
Char.ClearLastWeaponDamage($been_in_freight_before)

:RUN_LS_1002
goto @RUN_LS_884

:RUN_LS_1009
goto @RUN_LS_1016

:RUN_LS_1016
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_LS_1048
Text.PrintNow('RUN_03', 4000, 1)

:RUN_LS_1048
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LS_1080
Text.PrintNow('RUN_04', 4000, 1)

:RUN_LS_1080
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_LS_1117
Text.PrintNow('RUN_05', 4000, 1)

:RUN_LS_1117
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
Player.ClearWantedLevel($statbike_temp)
return 

:RUN_LS_1142
$cammy_off_Z = 0
Game.HideAllFrontendBlips(False)
Streaming.MarkModelAsNoLongerNeeded(63)
Streaming.MarkModelAsNoLongerNeeded(106)
Streaming.MarkModelAsNoLongerNeeded(0)
Streaming.MarkModelAsNoLongerNeeded(167)
Streaming.MarkModelAsNoLongerNeeded(280)
Streaming.MarkModelAsNoLongerNeeded(285)
Streaming.MarkModelAsNoLongerNeeded(139)
Streaming.RemoveAnimation("KISSING")
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:RUN_LS_1212
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @RUN_LS_1251
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:RUN_LS_1251
return 

:RUN_LS_1253
Camera.SetInFrontOfPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @RUN_LS_1294
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:RUN_LS_1294
Camera.RestoreJumpcut
return 

:RUN_LS_1298
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:RUN_LS_1313
if 
  Camera.GetFadingStatus
goto_if_false @RUN_LS_1337
wait 0
goto @RUN_LS_1313

:RUN_LS_1337
return 

:RUN_LS_1339
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:RUN_LS_1354
if 
  Camera.GetFadingStatus
goto_if_false @RUN_LS_1378
wait 0
goto @RUN_LS_1354

:RUN_LS_1378
return 

:RUN_LS_1380
switch_start 50@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @RUN_LS_1716 {caseNum1} 0 {caseLabel1} @RUN_LS_1443 {caseNum2} 1 {caseLabel2} @RUN_LS_1487 {caseNum3} 2 {caseLabel3} @RUN_LS_1531 {caseNum4} 3 {caseLabel4} @RUN_LS_1575 {caseNum5} 4 {caseLabel5} @RUN_LS_1622 {caseNum6} 5 {caseLabel6} @RUN_LS_1669 {caseNum7} -1 {caseLabel7} @RUN_LS_1716

:RUN_LS_1443
Streaming.RequestModel(63)

:RUN_LS_1447
if 
  not Streaming.HasModelLoaded(63)
goto_if_false @RUN_LS_1473
wait 0
goto @RUN_LS_1447

:RUN_LS_1473
Player.SetModel($flag_pimping_trigger, 63)
goto @RUN_LS_1716

:RUN_LS_1487
Streaming.RequestModel(106)

:RUN_LS_1491
if 
  not Streaming.HasModelLoaded(106)
goto_if_false @RUN_LS_1517
wait 0
goto @RUN_LS_1491

:RUN_LS_1517
Player.SetModel($flag_pimping_trigger, 106)
goto @RUN_LS_1716

:RUN_LS_1531
Streaming.RequestModel(0)

:RUN_LS_1535
if 
  not Streaming.HasModelLoaded(0)
goto_if_false @RUN_LS_1561
wait 0
goto @RUN_LS_1535

:RUN_LS_1561
Player.SetModel($flag_pimping_trigger, 0)
goto @RUN_LS_1716

:RUN_LS_1575
Streaming.RequestModel(139)

:RUN_LS_1580
if 
  not Streaming.HasModelLoaded(139)
goto_if_false @RUN_LS_1607
wait 0
goto @RUN_LS_1580

:RUN_LS_1607
Player.SetModel($flag_pimping_trigger, 139)
goto @RUN_LS_1716

:RUN_LS_1622
Streaming.RequestModel(280)

:RUN_LS_1627
if 
  not Streaming.HasModelLoaded(280)
goto_if_false @RUN_LS_1654
wait 0
goto @RUN_LS_1627

:RUN_LS_1654
Player.SetModel($flag_pimping_trigger, 280)
goto @RUN_LS_1716

:RUN_LS_1669
Streaming.RequestModel(285)

:RUN_LS_1674
if 
  not Streaming.HasModelLoaded(285)
goto_if_false @RUN_LS_1701
wait 0
goto @RUN_LS_1674

:RUN_LS_1701
Player.SetModel($flag_pimping_trigger, 285)
goto @RUN_LS_1716

:RUN_LS_1716
return 

:RUN_LS_1718
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @RUN_LS_1733

:RUN_LS_1733
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @RUN_LS_1748

:RUN_LS_1748
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @RUN_LS_1763

:RUN_LS_1763
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @RUN_LS_1799
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LS_1799
Task.Die($been_in_freight_before)

:RUN_LS_1799
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @RUN_LS_1814

:RUN_LS_1814
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @RUN_LS_1850
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_LS_1850
Task.Die($stattreadstamina_ctr)

:RUN_LS_1850
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @RUN_LS_1895
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_LS_1895
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:RUN_LS_1895
return 

:RUN_LS_1897
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LS_2256
if 
  48@ == 0
goto_if_false @RUN_LS_2249
if and
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($been_in_freight_before)
goto_if_false @RUN_LS_2242
if 
  Char.IsStopped($been_in_freight_before)
goto_if_false @RUN_LS_2242
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($been_in_freight_before, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 34@, 37@, 40@, 1.2, 1.2, 1.0, False)
goto_if_false @RUN_LS_2215
if 
  49@ == 0
goto_if_false @RUN_LS_2080
Text.PrintHelpForever('GF_0021')
49@ = 1

:RUN_LS_2080
34@, 37@, 40@ = Char.GetCoordinates($stattreadstamina_ctr)
35@, 38@, 41@ = Char.GetCoordinates($been_in_freight_before)
set_lvar_float_to_lvar_float 43@ = 41@
43@ -= 0.02
set_lvar_float_to_lvar_float 44@ = 41@
44@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 40@ > 43@
  is_float_lvar_greater_than_float_lvar 44@ > 40@
goto_if_false @RUN_LS_2208
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftShoulder1)
goto_if_false @RUN_LS_2208
48@ = 1
gosub @RUN_LS_2258

:RUN_LS_2208
goto @RUN_LS_2242

:RUN_LS_2215
if 
  49@ == 1
goto_if_false @RUN_LS_2242
Text.ClearHelp
49@ = 0

:RUN_LS_2242
goto @RUN_LS_2256

:RUN_LS_2249
gosub @RUN_LS_2258

:RUN_LS_2256
return 

:RUN_LS_2258
switch_start 48@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @RUN_LS_3669 {caseNum1} 1 {caseLabel1} @RUN_LS_2321 {caseNum2} 2 {caseLabel2} @RUN_LS_2518 {caseNum3} 3 {caseLabel3} @RUN_LS_3032 {caseNum4} 4 {caseLabel4} @RUN_LS_3170 {caseNum5} -1 {caseLabel5} @RUN_LS_3669 {caseNum6} -1 {caseLabel6} @RUN_LS_3669 {caseNum7} -1 {caseLabel7} @RUN_LS_3669

:RUN_LS_2321
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LS_2511
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($been_in_freight_before)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $been_in_freight_before)
Task.TurnCharToFaceChar($been_in_freight_before, $stattreadstamina_ctr)
48@ += 1

:RUN_LS_2511
goto @RUN_LS_3669

:RUN_LS_2518
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LS_3025
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1593)
if and
  is_int_lvar_equal_to_constant 46@ == 7
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @RUN_LS_2877
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision($been_in_freight_before, False)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
41@ = World.GetGroundZFor3DCoord(35@, 38@, 41@)
36@, 39@, 42@ = Char.GetCoordinates($been_in_freight_before)
42@ = World.GetGroundZFor3DCoord(36@, 39@, 42@)
Char.SetCoordinates($been_in_freight_before, 35@, 38@, 41@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(34@, 37@, 40@, 35@, 38@, 41@, True, True, False, True, False)
goto_if_false @RUN_LS_2849
Camera.SetFixedPosition(34@, 37@, 40@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(35@, 38@, 41@, SwitchType.JumpCut)

:RUN_LS_2849
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill($been_in_freight_before, -1)
48@ += 1
goto @RUN_LS_3025

:RUN_LS_2877
if 
  is_int_lvar_equal_to_constant 46@ == 7
goto_if_false @RUN_LS_2938
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if and
  not is_int_lvar_equal_to_constant 46@ == 1
  not is_int_lvar_equal_to_constant 46@ == 0
goto_if_false @RUN_LS_2938
Task.StandStill($stattreadstamina_ctr, -1)

:RUN_LS_2938
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @RUN_LS_3025
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1466)
if and
  not is_int_lvar_equal_to_constant 47@ == 1
  not is_int_lvar_equal_to_constant 47@ == 0
goto_if_false @RUN_LS_3025
Task.StandStill($been_in_freight_before, -1)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)

:RUN_LS_3025
goto @RUN_LS_3669

:RUN_LS_3032
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LS_3163
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim($been_in_freight_before, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
48@ += 1
Char.AddArmor($stattreadstamina_ctr, 150)
Char.AddArmor($been_in_freight_before, 100)
Char.SetHealth($been_in_freight_before, 200)
Char.SetHealth($stattreadstamina_ctr, 200)
:RUN_LS_3163
goto @RUN_LS_3669

:RUN_LS_3170
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LS_3662
43@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @RUN_LS_3255
43@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:RUN_LS_3255
if 
  43@ > -1.0
goto_if_false @RUN_LS_3477
if 
  43@ == 1.0
goto_if_false @RUN_LS_3470
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:RUN_LS_3470
goto @RUN_LS_3662

:RUN_LS_3477
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause($been_in_freight_before, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:RUN_LS_3662
goto @RUN_LS_3669

:RUN_LS_3669
return 

//-------------Mission 141---------------
// Originally: Run-around LV

:RUN_LV
script_name 'RUN_LV'
gosub @RUN_LV_47
if 
  has_deatharrest_been_executed 
goto_if_false @RUN_LV_38
gosub @RUN_LV_995

:RUN_LV_38
gosub @RUN_LV_1148
terminate_this_script 

:RUN_LV_47
Game.HideAllFrontendBlips(True)
$cammy_off_Z = 1
Camera.SetFadingColor(0, 0, 0)
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RUN_2P')
gosub @RUN_LV_1301
wait 0
Streaming.RequestModel(178)
Streaming.RequestAnimation("KISSING")

:RUN_LV_113
if or
  not Streaming.HasModelLoaded(178)
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @RUN_LV_151
wait 0
goto @RUN_LV_113

:RUN_LV_151
TIMERA = 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_LV_330
World.ClearArea(2234.893, 1451.413, 10.0546, 10.0, True)
Char.SetCoordinates($stattreadstamina_ctr, 2234.893, 1451.413, 10.0546)
Char.SetHeading($stattreadstamina_ctr, 238.7284)
$flag_pimping_trigger = Player.Create(1, 2234.371, 1454.523, 10.0546)
Game.DoWeaponStuffAtStartOf2PGame
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Player.SetModel($flag_pimping_trigger, 178)
Char.SetHeading($been_in_freight_before, 251.0562)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:RUN_LV_330
gosub @RUN_LV_1215
Camera.SetFixedPosition(2236.559, 1448.937, 11.6522, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2236.126, 1449.822, 11.4823, SwitchType.JumpCut)
gosub @RUN_LV_1342
Text.PrintNow('RUN_02', 5000, 1)
wait 5000
Text.ClearPrints
Hud.SwitchWidescreen(False)
Text.PrintHelpForever('RUN_XX')

:RUN_LV_433
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LV_852
wait 0
if 
  TIMERB > 250
goto_if_false @RUN_LV_759
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad2)
if and
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftStickX)
  $been_in_a_bmx > 100
goto_if_false @RUN_LV_563
34@ += 1
if 
  34@ > 5
goto_if_false @RUN_LV_549
34@ = 0

:RUN_LV_549
gosub @RUN_LV_1383
TIMERB = 0

:RUN_LV_563
if and
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftStickX)
  -100 > $been_in_a_bmx
goto_if_false @RUN_LV_633
34@ -= 1
if 
  0 > 34@
goto_if_false @RUN_LV_619
34@ = 5

:RUN_LV_619
gosub @RUN_LV_1383
TIMERB = 0

:RUN_LV_633
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.DpadRight)
goto_if_false @RUN_LV_696
34@ += 1
if 
  34@ > 5
goto_if_false @RUN_LV_682
34@ = 0

:RUN_LV_682
gosub @RUN_LV_1383
TIMERB = 0

:RUN_LV_696
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.DpadLeft)
goto_if_false @RUN_LV_759
34@ -= 1
if 
  0 > 34@
goto_if_false @RUN_LV_745
34@ = 5

:RUN_LV_745
gosub @RUN_LV_1383
TIMERB = 0

:RUN_LV_759
if 
is_japanese_version 
goto_if_false @RUN_LV_812
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.Circle)
goto_if_false @RUN_LV_805
gosub @RUN_LV_1256
Text.ClearHelp
goto @RUN_LV_852

:RUN_LV_805
goto @RUN_LV_845

:RUN_LV_812
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.Cross)
goto_if_false @RUN_LV_845
gosub @RUN_LV_1256
Text.ClearHelp
goto @RUN_LV_852

:RUN_LV_845
goto @RUN_LV_433

:RUN_LV_852
Text.PrintHelp('RUN_06')

:RUN_LV_863
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LV_988
wait 0
gosub @RUN_LV_1727
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LV_981
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @RUN_LV_981
if and
  not Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
  not Char.HasBeenDamagedByWeapon($been_in_freight_before, WeaponType.SprayCan)
goto_if_false @RUN_LV_971
gosub @RUN_LV_1906
goto @RUN_LV_981

:RUN_LV_971
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
Char.ClearLastWeaponDamage($been_in_freight_before)

:RUN_LV_981
goto @RUN_LV_863

:RUN_LV_988
goto @RUN_LV_995

:RUN_LV_995
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_LV_1027
Text.PrintNow('RUN_03', 4000, 1)

:RUN_LV_1027
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LV_1059
Text.PrintNow('RUN_04', 4000, 1)

:RUN_LV_1059
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_LV_1096
Text.PrintNow('RUN_05', 4000, 1)

:RUN_LV_1096
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
Text.PrintWithNumberBig('M_PASS', 10000, 5000, TextStyle.Middle)
Player.AddScore($statbike_temp, 10000)
Player.ClearWantedLevel($statbike_temp)
return 

:RUN_LV_1148
$cammy_off_Z = 0
Game.HideAllFrontendBlips(False)
Streaming.MarkModelAsNoLongerNeeded(178)
Streaming.MarkModelAsNoLongerNeeded(66)
Streaming.MarkModelAsNoLongerNeeded(181)
Streaming.MarkModelAsNoLongerNeeded(140)
Streaming.MarkModelAsNoLongerNeeded(183)
Streaming.MarkModelAsNoLongerNeeded(282)
Streaming.RemoveAnimation("KISSING")
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:RUN_LV_1215
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @RUN_LV_1254
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:RUN_LV_1254
return 

:RUN_LV_1256
Camera.SetInFrontOfPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @RUN_LV_1297
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:RUN_LV_1297
Camera.RestoreJumpcut
return 

:RUN_LV_1301
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:RUN_LV_1316
if 
  Camera.GetFadingStatus
goto_if_false @RUN_LV_1340
wait 0
goto @RUN_LV_1316

:RUN_LV_1340
return 

:RUN_LV_1342
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:RUN_LV_1357
if 
  Camera.GetFadingStatus
goto_if_false @RUN_LV_1381
wait 0
goto @RUN_LV_1357

:RUN_LV_1381
return 

:RUN_LV_1383
switch_start 34@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @RUN_LV_1725 {caseNum1} 0 {caseLabel1} @RUN_LV_1446 {caseNum2} 1 {caseLabel2} @RUN_LV_1493 {caseNum3} 2 {caseLabel3} @RUN_LV_1537 {caseNum4} 3 {caseLabel4} @RUN_LV_1584 {caseNum5} 4 {caseLabel5} @RUN_LV_1631 {caseNum6} 5 {caseLabel6} @RUN_LV_1678 {caseNum7} -1 {caseLabel7} @RUN_LV_1725

:RUN_LV_1446
Streaming.RequestModel(178)

:RUN_LV_1451
if 
  not Streaming.HasModelLoaded(178)
goto_if_false @RUN_LV_1478
wait 0
goto @RUN_LV_1451

:RUN_LV_1478
Player.SetModel($flag_pimping_trigger, 178)
goto @RUN_LV_1725

:RUN_LV_1493
Streaming.RequestModel(66)

:RUN_LV_1497
if 
  not Streaming.HasModelLoaded(66)
goto_if_false @RUN_LV_1523
wait 0
goto @RUN_LV_1497

:RUN_LV_1523
Player.SetModel($flag_pimping_trigger, 66)
goto @RUN_LV_1725

:RUN_LV_1537
Streaming.RequestModel(181)

:RUN_LV_1542
if 
  not Streaming.HasModelLoaded(181)
goto_if_false @RUN_LV_1569
wait 0
goto @RUN_LV_1542

:RUN_LV_1569
Player.SetModel($flag_pimping_trigger, 181)
goto @RUN_LV_1725

:RUN_LV_1584
Streaming.RequestModel(140)

:RUN_LV_1589
if 
  not Streaming.HasModelLoaded(140)
goto_if_false @RUN_LV_1616
wait 0
goto @RUN_LV_1589

:RUN_LV_1616
Player.SetModel($flag_pimping_trigger, 140)
goto @RUN_LV_1725

:RUN_LV_1631
Streaming.RequestModel(183)

:RUN_LV_1636
if 
  not Streaming.HasModelLoaded(183)
goto_if_false @RUN_LV_1663
wait 0
goto @RUN_LV_1636

:RUN_LV_1663
Player.SetModel($flag_pimping_trigger, 183)
goto @RUN_LV_1725

:RUN_LV_1678
Streaming.RequestModel(282)

:RUN_LV_1683
if 
  not Streaming.HasModelLoaded(282)
goto_if_false @RUN_LV_1710
wait 0
goto @RUN_LV_1683

:RUN_LV_1710
Player.SetModel($flag_pimping_trigger, 282)
goto @RUN_LV_1725

:RUN_LV_1725
return 

:RUN_LV_1727
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @RUN_LV_1742

:RUN_LV_1742
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @RUN_LV_1757

:RUN_LV_1757
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @RUN_LV_1772

:RUN_LV_1772
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @RUN_LV_1808
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LV_1808
Task.Die($been_in_freight_before)

:RUN_LV_1808
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @RUN_LV_1823

:RUN_LV_1823
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @RUN_LV_1859
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_LV_1859
Task.Die($stattreadstamina_ctr)

:RUN_LV_1859
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @RUN_LV_1904
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_LV_1904
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:RUN_LV_1904
return 

:RUN_LV_1906
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LV_2265
if 
  49@ == 0
goto_if_false @RUN_LV_2258
if and
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($been_in_freight_before)
goto_if_false @RUN_LV_2251
if 
  Char.IsStopped($been_in_freight_before)
goto_if_false @RUN_LV_2251
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($been_in_freight_before, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 35@, 38@, 41@, 1.2, 1.2, 1.0, False)
goto_if_false @RUN_LV_2224
if 
  50@ == 0
goto_if_false @RUN_LV_2089
Text.PrintHelpForever('GF_0021')
50@ = 1

:RUN_LV_2089
35@, 38@, 41@ = Char.GetCoordinates($stattreadstamina_ctr)
36@, 39@, 42@ = Char.GetCoordinates($been_in_freight_before)
set_lvar_float_to_lvar_float 44@ = 42@
44@ -= 0.02
set_lvar_float_to_lvar_float 45@ = 42@
45@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 41@ > 44@
  is_float_lvar_greater_than_float_lvar 45@ > 41@
goto_if_false @RUN_LV_2217
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftShoulder1)
goto_if_false @RUN_LV_2217
49@ = 1
gosub @RUN_LV_2267

:RUN_LV_2217
goto @RUN_LV_2251

:RUN_LV_2224
if 
  50@ == 1
goto_if_false @RUN_LV_2251
Text.ClearHelp
50@ = 0

:RUN_LV_2251
goto @RUN_LV_2265

:RUN_LV_2258
gosub @RUN_LV_2267

:RUN_LV_2265
return 

:RUN_LV_2267
switch_start 49@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @RUN_LV_3678 {caseNum1} 1 {caseLabel1} @RUN_LV_2330 {caseNum2} 2 {caseLabel2} @RUN_LV_2527 {caseNum3} 3 {caseLabel3} @RUN_LV_3041 {caseNum4} 4 {caseLabel4} @RUN_LV_3179 {caseNum5} -1 {caseLabel5} @RUN_LV_3678 {caseNum6} -1 {caseLabel6} @RUN_LV_3678 {caseNum7} -1 {caseLabel7} @RUN_LV_3678

:RUN_LV_2330
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LV_2520
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($been_in_freight_before)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsOff(35@, 38@, 41@, 36@, 39@, 42@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $been_in_freight_before)
Task.TurnCharToFaceChar($been_in_freight_before, $stattreadstamina_ctr)
49@ += 1

:RUN_LV_2520
goto @RUN_LV_3678

:RUN_LV_2527
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LV_3034
47@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
48@ = Char.GetScriptTaskStatus($been_in_freight_before, 1593)
if and
  is_int_lvar_equal_to_constant 47@ == 7
  is_int_lvar_equal_to_constant 48@ == 7
goto_if_false @RUN_LV_2886
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision($been_in_freight_before, False)
44@ = Char.GetHeading($stattreadstamina_ctr)
44@ += 180.0
Char.SetHeading($been_in_freight_before, 44@)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
42@ = World.GetGroundZFor3DCoord(36@, 39@, 42@)
37@, 40@, 43@ = Char.GetCoordinates($been_in_freight_before)
43@ = World.GetGroundZFor3DCoord(37@, 40@, 43@)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(35@, 38@, 41@, 36@, 39@, 42@, True, True, False, True, False)
goto_if_false @RUN_LV_2858
Camera.SetFixedPosition(35@, 38@, 41@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(36@, 39@, 42@, SwitchType.JumpCut)

:RUN_LV_2858
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill($been_in_freight_before, -1)
49@ += 1
goto @RUN_LV_3034

:RUN_LV_2886
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @RUN_LV_2947
47@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if and
  not is_int_lvar_equal_to_constant 47@ == 1
  not is_int_lvar_equal_to_constant 47@ == 0
goto_if_false @RUN_LV_2947
Task.StandStill($stattreadstamina_ctr, -1)

:RUN_LV_2947
if 
  is_int_lvar_equal_to_constant 48@ == 7
goto_if_false @RUN_LV_3034
48@ = Char.GetScriptTaskStatus($been_in_freight_before, 1466)
if and
  not is_int_lvar_equal_to_constant 48@ == 1
  not is_int_lvar_equal_to_constant 48@ == 0
goto_if_false @RUN_LV_3034
Task.StandStill($been_in_freight_before, -1)
44@ = Char.GetHeading($stattreadstamina_ctr)
44@ += 180.0
Char.SetHeading($been_in_freight_before, 44@)

:RUN_LV_3034
goto @RUN_LV_3678

:RUN_LV_3041
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LV_3172
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim($been_in_freight_before, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
49@ += 1
Char.AddArmor($stattreadstamina_ctr, 150)
Char.AddArmor($been_in_freight_before, 100)
Char.SetHealth($been_in_freight_before, 200)
Char.SetHealth($stattreadstamina_ctr, 200)
:RUN_LV_3172
goto @RUN_LV_3678

:RUN_LV_3179
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_LV_3671
44@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @RUN_LV_3264
44@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:RUN_LV_3264
if 
  44@ > -1.0
goto_if_false @RUN_LV_3486
if 
  44@ == 1.0
goto_if_false @RUN_LV_3479
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 37@, 40@, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
49@ = 0

:RUN_LV_3479
goto @RUN_LV_3671

:RUN_LV_3486
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause($been_in_freight_before, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 37@, 40@, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
49@ = 0

:RUN_LV_3671
goto @RUN_LV_3678

:RUN_LV_3678
return 

//-------------Mission 142---------------
// Originally: Run-around SF

:RUN_SF
script_name 'RUN_SF'
gosub @RUN_SF_47
if 
  has_deatharrest_been_executed 
goto_if_false @RUN_SF_38
gosub @RUN_SF_995

:RUN_SF_38
gosub @RUN_SF_1121
terminate_this_script 

:RUN_SF_47
Game.HideAllFrontendBlips(True)
Camera.SetFadingColor(0, 0, 0)
$cammy_off_Z = 1
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RUN_2P')
gosub @RUN_SF_1270
wait 0
Streaming.RequestModel(173)
Streaming.RequestAnimation("KISSING")

:RUN_SF_113
if or
  not Streaming.HasModelLoaded(173)
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @RUN_SF_151
wait 0
goto @RUN_SF_113

:RUN_SF_151
TIMERA = 0
World.ClearArea(-2197.667, 292.0621, 34.123, 10.0, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_SF_330
Char.SetCoordinates($stattreadstamina_ctr, -2196.917, 288.4338, 34.3262)
Char.SetHeading($stattreadstamina_ctr, 342.0689)
$flag_pimping_trigger = Player.Create(1, -2201.332, 288.7762, 34.3203)
Game.DoWeaponStuffAtStartOf2PGame
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Char.SetHeading($been_in_freight_before, 342.0689)
Player.SetModel($flag_pimping_trigger, 173)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:RUN_SF_330
gosub @RUN_SF_1184
Camera.SetFixedPosition(-2194.577, 289.8771, 36.0049, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2195.515, 289.5766, 35.833, SwitchType.JumpCut)
gosub @RUN_SF_1311
Text.PrintNow('RUN_02', 5000, 1)
wait 5000
Text.ClearPrints
Hud.SwitchWidescreen(False)
Text.PrintHelpForever('RUN_XX')

:RUN_SF_433
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_SF_852
wait 0
if 
  TIMERB > 250
goto_if_false @RUN_SF_759
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad2)
if and
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftStickX)
  $been_in_a_bmx > 100
goto_if_false @RUN_SF_563
34@ += 1
if 
  34@ > 5
goto_if_false @RUN_SF_549
34@ = 0

:RUN_SF_549
gosub @RUN_SF_1352
TIMERB = 0

:RUN_SF_563
if and
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftStickX)
  -100 > $been_in_a_bmx
goto_if_false @RUN_SF_633
34@ -= 1
if 
  0 > 34@
goto_if_false @RUN_SF_619
34@ = 5

:RUN_SF_619
gosub @RUN_SF_1352
TIMERB = 0

:RUN_SF_633
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.DpadRight)
goto_if_false @RUN_SF_696
34@ += 1
if 
  34@ > 5
goto_if_false @RUN_SF_682
34@ = 0

:RUN_SF_682
gosub @RUN_SF_1352
TIMERB = 0

:RUN_SF_696
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.DpadLeft)
goto_if_false @RUN_SF_759
34@ -= 1
if 
  0 > 34@
goto_if_false @RUN_SF_745
34@ = 5

:RUN_SF_745
gosub @RUN_SF_1352
TIMERB = 0

:RUN_SF_759
if 
is_japanese_version 
goto_if_false @RUN_SF_812
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.Circle)
goto_if_false @RUN_SF_805
gosub @RUN_SF_1225
Text.ClearHelp
goto @RUN_SF_852

:RUN_SF_805
goto @RUN_SF_845

:RUN_SF_812
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.Cross)
goto_if_false @RUN_SF_845
gosub @RUN_SF_1225
Text.ClearHelp
goto @RUN_SF_852

:RUN_SF_845
goto @RUN_SF_433

:RUN_SF_852
Text.PrintHelp('RUN_06')

:RUN_SF_863
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_SF_988
wait 0
gosub @RUN_SF_1684
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_SF_981
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @RUN_SF_981
if and
  not Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
  not Char.HasBeenDamagedByWeapon($been_in_freight_before, WeaponType.SprayCan)
goto_if_false @RUN_SF_971
gosub @RUN_SF_1863
goto @RUN_SF_981

:RUN_SF_971
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
Char.ClearLastWeaponDamage($been_in_freight_before)

:RUN_SF_981
goto @RUN_SF_863

:RUN_SF_988
goto @RUN_SF_995

:RUN_SF_995
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_SF_1027
Text.PrintNow('RUN_03', 4000, 1)

:RUN_SF_1027
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @RUN_SF_1059
Text.PrintNow('RUN_04', 4000, 1)

:RUN_SF_1059
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_SF_1096
Text.PrintNow('RUN_05', 4000, 1)

:RUN_SF_1096
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
Player.ClearWantedLevel($statbike_temp)
return 

:RUN_SF_1121
$cammy_off_Z = 0
Game.HideAllFrontendBlips(False)
Streaming.MarkModelAsNoLongerNeeded(101)
Streaming.MarkModelAsNoLongerNeeded(47)
Streaming.MarkModelAsNoLongerNeeded(22)
Streaming.MarkModelAsNoLongerNeeded(69)
Streaming.MarkModelAsNoLongerNeeded(29)
Streaming.MarkModelAsNoLongerNeeded(281)
Streaming.RemoveAnimation("KISSING")
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:RUN_SF_1184
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @RUN_SF_1223
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:RUN_SF_1223
return 

:RUN_SF_1225
Camera.SetInFrontOfPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @RUN_SF_1266
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:RUN_SF_1266
Camera.RestoreJumpcut
return 

:RUN_SF_1270
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:RUN_SF_1285
if 
  Camera.GetFadingStatus
goto_if_false @RUN_SF_1309
wait 0
goto @RUN_SF_1285

:RUN_SF_1309
return 

:RUN_SF_1311
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:RUN_SF_1326
if 
  Camera.GetFadingStatus
goto_if_false @RUN_SF_1350
wait 0
goto @RUN_SF_1326

:RUN_SF_1350
return 

:RUN_SF_1352
switch_start 34@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @RUN_SF_1682 {caseNum1} 0 {caseLabel1} @RUN_SF_1415 {caseNum2} 1 {caseLabel2} @RUN_SF_1459 {caseNum3} 2 {caseLabel3} @RUN_SF_1503 {caseNum4} 3 {caseLabel4} @RUN_SF_1547 {caseNum5} 4 {caseLabel5} @RUN_SF_1591 {caseNum6} 5 {caseLabel6} @RUN_SF_1635 {caseNum7} -1 {caseLabel7} @RUN_SF_1682

:RUN_SF_1415
Streaming.RequestModel(101)

:RUN_SF_1419
if 
  not Streaming.HasModelLoaded(101)
goto_if_false @RUN_SF_1445
wait 0
goto @RUN_SF_1419

:RUN_SF_1445
Player.SetModel($flag_pimping_trigger, 101)
goto @RUN_SF_1682

:RUN_SF_1459
Streaming.RequestModel(47)

:RUN_SF_1463
if 
  not Streaming.HasModelLoaded(47)
goto_if_false @RUN_SF_1489
wait 0
goto @RUN_SF_1463

:RUN_SF_1489
Player.SetModel($flag_pimping_trigger, 47)
goto @RUN_SF_1682

:RUN_SF_1503
Streaming.RequestModel(22)

:RUN_SF_1507
if 
  not Streaming.HasModelLoaded(22)
goto_if_false @RUN_SF_1533
wait 0
goto @RUN_SF_1507

:RUN_SF_1533
Player.SetModel($flag_pimping_trigger, 22)
goto @RUN_SF_1682

:RUN_SF_1547
Streaming.RequestModel(69)

:RUN_SF_1551
if 
  not Streaming.HasModelLoaded(69)
goto_if_false @RUN_SF_1577
wait 0
goto @RUN_SF_1551

:RUN_SF_1577
Player.SetModel($flag_pimping_trigger, 69)
goto @RUN_SF_1682

:RUN_SF_1591
Streaming.RequestModel(29)

:RUN_SF_1595
if 
  not Streaming.HasModelLoaded(29)
goto_if_false @RUN_SF_1621
wait 0
goto @RUN_SF_1595

:RUN_SF_1621
Player.SetModel($flag_pimping_trigger, 29)
goto @RUN_SF_1682

:RUN_SF_1635
Streaming.RequestModel(281)

:RUN_SF_1640
if 
  not Streaming.HasModelLoaded(281)
goto_if_false @RUN_SF_1667
wait 0
goto @RUN_SF_1640

:RUN_SF_1667
Player.SetModel($flag_pimping_trigger, 281)
goto @RUN_SF_1682

:RUN_SF_1682
return 

:RUN_SF_1684
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @RUN_SF_1699

:RUN_SF_1699
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @RUN_SF_1714

:RUN_SF_1714
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @RUN_SF_1729

:RUN_SF_1729
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @RUN_SF_1765
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_SF_1765
Task.Die($been_in_freight_before)

:RUN_SF_1765
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @RUN_SF_1780

:RUN_SF_1780
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @RUN_SF_1816
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_SF_1816
Task.Die($stattreadstamina_ctr)

:RUN_SF_1816
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @RUN_SF_1861
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_SF_1861
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:RUN_SF_1861
return 

:RUN_SF_1863
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_SF_2222
if 
  49@ == 0
goto_if_false @RUN_SF_2215
if and
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($been_in_freight_before)
goto_if_false @RUN_SF_2208
if 
  Char.IsStopped($been_in_freight_before)
goto_if_false @RUN_SF_2208
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($been_in_freight_before, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 35@, 38@, 41@, 1.2, 1.2, 1.0, False)
goto_if_false @RUN_SF_2181
if 
  50@ == 0
goto_if_false @RUN_SF_2046
Text.PrintHelpForever('GF_0021')
50@ = 1

:RUN_SF_2046
35@, 38@, 41@ = Char.GetCoordinates($stattreadstamina_ctr)
36@, 39@, 42@ = Char.GetCoordinates($been_in_freight_before)
set_lvar_float_to_lvar_float 44@ = 42@
44@ -= 0.02
set_lvar_float_to_lvar_float 45@ = 42@
45@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 41@ > 44@
  is_float_lvar_greater_than_float_lvar 45@ > 41@
goto_if_false @RUN_SF_2174
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftShoulder1)
goto_if_false @RUN_SF_2174
49@ = 1
gosub @RUN_SF_2224

:RUN_SF_2174
goto @RUN_SF_2208

:RUN_SF_2181
if 
  50@ == 1
goto_if_false @RUN_SF_2208
Text.ClearHelp
50@ = 0

:RUN_SF_2208
goto @RUN_SF_2222

:RUN_SF_2215
gosub @RUN_SF_2224

:RUN_SF_2222
return 

:RUN_SF_2224
switch_start 49@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @RUN_SF_3635 {caseNum1} 1 {caseLabel1} @RUN_SF_2287 {caseNum2} 2 {caseLabel2} @RUN_SF_2484 {caseNum3} 3 {caseLabel3} @RUN_SF_2998 {caseNum4} 4 {caseLabel4} @RUN_SF_3136 {caseNum5} -1 {caseLabel5} @RUN_SF_3635 {caseNum6} -1 {caseLabel6} @RUN_SF_3635 {caseNum7} -1 {caseLabel7} @RUN_SF_3635

:RUN_SF_2287
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_SF_2477
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($been_in_freight_before)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsOff(35@, 38@, 41@, 36@, 39@, 42@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $been_in_freight_before)
Task.TurnCharToFaceChar($been_in_freight_before, $stattreadstamina_ctr)
49@ += 1

:RUN_SF_2477
goto @RUN_SF_3635

:RUN_SF_2484
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_SF_2991
47@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
48@ = Char.GetScriptTaskStatus($been_in_freight_before, 1593)
if and
  is_int_lvar_equal_to_constant 47@ == 7
  is_int_lvar_equal_to_constant 48@ == 7
goto_if_false @RUN_SF_2843
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision($been_in_freight_before, False)
44@ = Char.GetHeading($stattreadstamina_ctr)
44@ += 180.0
Char.SetHeading($been_in_freight_before, 44@)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
42@ = World.GetGroundZFor3DCoord(36@, 39@, 42@)
37@, 40@, 43@ = Char.GetCoordinates($been_in_freight_before)
43@ = World.GetGroundZFor3DCoord(37@, 40@, 43@)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(35@, 38@, 41@, 36@, 39@, 42@, True, True, False, True, False)
goto_if_false @RUN_SF_2815
Camera.SetFixedPosition(35@, 38@, 41@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(36@, 39@, 42@, SwitchType.JumpCut)

:RUN_SF_2815
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill($been_in_freight_before, -1)
49@ += 1
goto @RUN_SF_2991

:RUN_SF_2843
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @RUN_SF_2904
47@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if and
  not is_int_lvar_equal_to_constant 47@ == 1
  not is_int_lvar_equal_to_constant 47@ == 0
goto_if_false @RUN_SF_2904
Task.StandStill($stattreadstamina_ctr, -1)

:RUN_SF_2904
if 
  is_int_lvar_equal_to_constant 48@ == 7
goto_if_false @RUN_SF_2991
48@ = Char.GetScriptTaskStatus($been_in_freight_before, 1466)
if and
  not is_int_lvar_equal_to_constant 48@ == 1
  not is_int_lvar_equal_to_constant 48@ == 0
goto_if_false @RUN_SF_2991
Task.StandStill($been_in_freight_before, -1)
44@ = Char.GetHeading($stattreadstamina_ctr)
44@ += 180.0
Char.SetHeading($been_in_freight_before, 44@)

:RUN_SF_2991
goto @RUN_SF_3635

:RUN_SF_2998
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_SF_3129
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim($been_in_freight_before, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
49@ += 1
Char.AddArmor($stattreadstamina_ctr, 150)
Char.AddArmor($been_in_freight_before, 100)
Char.SetHealth($been_in_freight_before, 200)
Char.SetHealth($stattreadstamina_ctr, 200)
:RUN_SF_3129
goto @RUN_SF_3635

:RUN_SF_3136
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_SF_3628
44@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @RUN_SF_3221
44@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:RUN_SF_3221
if 
  44@ > -1.0
goto_if_false @RUN_SF_3443
if 
  44@ == 1.0
goto_if_false @RUN_SF_3436
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 37@, 40@, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
49@ = 0

:RUN_SF_3436
goto @RUN_SF_3628

:RUN_SF_3443
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause($been_in_freight_before, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 37@, 40@, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
49@ = 0

:RUN_SF_3628
goto @RUN_SF_3635

:RUN_SF_3635
return 

//-------------Mission 143---------------
// Originally: Run-around DE

:RUN_DE
script_name 'RUN_DE'
gosub @RUN_DE_47
if 
  has_deatharrest_been_executed 
goto_if_false @RUN_DE_38
gosub @RUN_DE_995

:RUN_DE_38
gosub @RUN_DE_1121
terminate_this_script 

:RUN_DE_47
Game.HideAllFrontendBlips(True)
Camera.SetFadingColor(0, 0, 0)
$cammy_off_Z = 1
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RUN_2P')
gosub @RUN_DE_1275
wait 0
Streaming.RequestModel(157)
Streaming.RequestAnimation("KISSING")

:RUN_DE_113
if or
  not Streaming.HasModelLoaded(157)
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @RUN_DE_151
wait 0
goto @RUN_DE_113

:RUN_DE_151
TIMERA = 0
World.ClearArea(-1520.864, 2608.207, 54.8437, 10.0, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_DE_330
Char.SetCoordinates($stattreadstamina_ctr, -1520.864, 2608.207, 54.8437)
Char.SetHeading($stattreadstamina_ctr, 160.0054)
$flag_pimping_trigger = Player.Create(1, -1518.757, 2608.279, 54.8437)
Game.DoWeaponStuffAtStartOf2PGame
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Player.SetModel($flag_pimping_trigger, 157)
Char.SetHeading($been_in_freight_before, 180.1871)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:RUN_DE_330
gosub @RUN_DE_1189
Camera.SetFixedPosition(-1524.699, 2605.78, 57.8026, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1523.898, 2606.243, 57.4224, SwitchType.JumpCut)
gosub @RUN_DE_1316
Text.PrintNow('RUN_02', 5000, 1)
wait 5000
Text.ClearPrints
Hud.SwitchWidescreen(False)
Text.PrintHelpForever('RUN_XX')

:RUN_DE_433
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_DE_852
wait 0
if 
  TIMERB > 250
goto_if_false @RUN_DE_759
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad2)
if and
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftStickX)
  $been_in_a_bmx > 100
goto_if_false @RUN_DE_563
34@ += 1
if 
  34@ > 5
goto_if_false @RUN_DE_549
34@ = 0

:RUN_DE_549
gosub @RUN_DE_1357
TIMERB = 0

:RUN_DE_563
if and
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftStickX)
  -100 > $been_in_a_bmx
goto_if_false @RUN_DE_633
34@ -= 1
if 
  0 > 34@
goto_if_false @RUN_DE_619
34@ = 5

:RUN_DE_619
gosub @RUN_DE_1357
TIMERB = 0

:RUN_DE_633
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.DpadRight)
goto_if_false @RUN_DE_696
34@ += 1
if 
  34@ > 5
goto_if_false @RUN_DE_682
34@ = 0

:RUN_DE_682
gosub @RUN_DE_1357
TIMERB = 0

:RUN_DE_696
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.DpadLeft)
goto_if_false @RUN_DE_759
34@ -= 1
if 
  0 > 34@
goto_if_false @RUN_DE_745
34@ = 5

:RUN_DE_745
gosub @RUN_DE_1357
TIMERB = 0

:RUN_DE_759
if 
is_japanese_version 
goto_if_false @RUN_DE_812
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.Circle)
goto_if_false @RUN_DE_805
gosub @RUN_DE_1230
Text.ClearHelp
goto @RUN_DE_852

:RUN_DE_805
goto @RUN_DE_845

:RUN_DE_812
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.Cross)
goto_if_false @RUN_DE_845
gosub @RUN_DE_1230
Text.ClearHelp
goto @RUN_DE_852

:RUN_DE_845
goto @RUN_DE_433

:RUN_DE_852
Text.PrintHelp('RUN_06')

:RUN_DE_863
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_DE_988
wait 0
gosub @RUN_DE_1704
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_DE_981
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @RUN_DE_981
if and
  not Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
  not Char.HasBeenDamagedByWeapon($been_in_freight_before, WeaponType.SprayCan)
goto_if_false @RUN_DE_971
gosub @RUN_DE_1883
goto @RUN_DE_981

:RUN_DE_971
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
Char.ClearLastWeaponDamage($been_in_freight_before)

:RUN_DE_981
goto @RUN_DE_863

:RUN_DE_988
goto @RUN_DE_995

:RUN_DE_995
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_DE_1027
Text.PrintNow('RUN_03', 4000, 1)

:RUN_DE_1027
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @RUN_DE_1059
Text.PrintNow('RUN_04', 4000, 1)

:RUN_DE_1059
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_DE_1096
Text.PrintNow('RUN_05', 4000, 1)

:RUN_DE_1096
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
Player.ClearWantedLevel($statbike_temp)
return 

:RUN_DE_1121
$cammy_off_Z = 0
Game.HideAllFrontendBlips(False)
Streaming.MarkModelAsNoLongerNeeded(254)
Streaming.MarkModelAsNoLongerNeeded(247)
Streaming.MarkModelAsNoLongerNeeded(248)
Streaming.MarkModelAsNoLongerNeeded(161)
Streaming.MarkModelAsNoLongerNeeded(283)
Streaming.MarkModelAsNoLongerNeeded(198)
Streaming.RemoveAnimation("KISSING")
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:RUN_DE_1189
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @RUN_DE_1228
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:RUN_DE_1228
return 

:RUN_DE_1230
Camera.SetInFrontOfPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @RUN_DE_1271
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:RUN_DE_1271
Camera.RestoreJumpcut
return 

:RUN_DE_1275
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:RUN_DE_1290
if 
  Camera.GetFadingStatus
goto_if_false @RUN_DE_1314
wait 0
goto @RUN_DE_1290

:RUN_DE_1314
return 

:RUN_DE_1316
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:RUN_DE_1331
if 
  Camera.GetFadingStatus
goto_if_false @RUN_DE_1355
wait 0
goto @RUN_DE_1331

:RUN_DE_1355
return 

:RUN_DE_1357
switch_start 34@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @RUN_DE_1702 {caseNum1} 0 {caseLabel1} @RUN_DE_1420 {caseNum2} 1 {caseLabel2} @RUN_DE_1467 {caseNum3} 2 {caseLabel3} @RUN_DE_1514 {caseNum4} 3 {caseLabel4} @RUN_DE_1561 {caseNum5} 4 {caseLabel5} @RUN_DE_1608 {caseNum6} 5 {caseLabel6} @RUN_DE_1655 {caseNum7} -1 {caseLabel7} @RUN_DE_1702

:RUN_DE_1420
Streaming.RequestModel(254)

:RUN_DE_1425
if 
  not Streaming.HasModelLoaded(254)
goto_if_false @RUN_DE_1452
wait 0
goto @RUN_DE_1425

:RUN_DE_1452
Player.SetModel($flag_pimping_trigger, 254)
goto @RUN_DE_1702

:RUN_DE_1467
Streaming.RequestModel(247)

:RUN_DE_1472
if 
  not Streaming.HasModelLoaded(247)
goto_if_false @RUN_DE_1499
wait 0
goto @RUN_DE_1472

:RUN_DE_1499
Player.SetModel($flag_pimping_trigger, 247)
goto @RUN_DE_1702

:RUN_DE_1514
Streaming.RequestModel(248)

:RUN_DE_1519
if 
  not Streaming.HasModelLoaded(248)
goto_if_false @RUN_DE_1546
wait 0
goto @RUN_DE_1519

:RUN_DE_1546
Player.SetModel($flag_pimping_trigger, 248)
goto @RUN_DE_1702

:RUN_DE_1561
Streaming.RequestModel(161)

:RUN_DE_1566
if 
  not Streaming.HasModelLoaded(161)
goto_if_false @RUN_DE_1593
wait 0
goto @RUN_DE_1566

:RUN_DE_1593
Player.SetModel($flag_pimping_trigger, 161)
goto @RUN_DE_1702

:RUN_DE_1608
Streaming.RequestModel(283)

:RUN_DE_1613
if 
  not Streaming.HasModelLoaded(283)
goto_if_false @RUN_DE_1640
wait 0
goto @RUN_DE_1613

:RUN_DE_1640
Player.SetModel($flag_pimping_trigger, 283)
goto @RUN_DE_1702

:RUN_DE_1655
Streaming.RequestModel(198)

:RUN_DE_1660
if 
  not Streaming.HasModelLoaded(198)
goto_if_false @RUN_DE_1687
wait 0
goto @RUN_DE_1660

:RUN_DE_1687
Player.SetModel($flag_pimping_trigger, 198)
goto @RUN_DE_1702

:RUN_DE_1702
return 

:RUN_DE_1704
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @RUN_DE_1719

:RUN_DE_1719
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @RUN_DE_1734

:RUN_DE_1734
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @RUN_DE_1749

:RUN_DE_1749
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @RUN_DE_1785
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_DE_1785
Task.Die($been_in_freight_before)

:RUN_DE_1785
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @RUN_DE_1800

:RUN_DE_1800
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @RUN_DE_1836
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_DE_1836
Task.Die($stattreadstamina_ctr)

:RUN_DE_1836
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @RUN_DE_1881
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_DE_1881
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:RUN_DE_1881
return 

:RUN_DE_1883
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_DE_2242
if 
  49@ == 0
goto_if_false @RUN_DE_2235
if and
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($been_in_freight_before)
goto_if_false @RUN_DE_2228
if 
  Char.IsStopped($been_in_freight_before)
goto_if_false @RUN_DE_2228
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($been_in_freight_before, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 35@, 38@, 41@, 1.2, 1.2, 1.0, False)
goto_if_false @RUN_DE_2201
if 
  50@ == 0
goto_if_false @RUN_DE_2066
Text.PrintHelpForever('GF_0021')
50@ = 1

:RUN_DE_2066
35@, 38@, 41@ = Char.GetCoordinates($stattreadstamina_ctr)
36@, 39@, 42@ = Char.GetCoordinates($been_in_freight_before)
set_lvar_float_to_lvar_float 44@ = 42@
44@ -= 0.02
set_lvar_float_to_lvar_float 45@ = 42@
45@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 41@ > 44@
  is_float_lvar_greater_than_float_lvar 45@ > 41@
goto_if_false @RUN_DE_2194
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftShoulder1)
goto_if_false @RUN_DE_2194
49@ = 1
gosub @RUN_DE_2244

:RUN_DE_2194
goto @RUN_DE_2228

:RUN_DE_2201
if 
  50@ == 1
goto_if_false @RUN_DE_2228
Text.ClearHelp
50@ = 0

:RUN_DE_2228
goto @RUN_DE_2242

:RUN_DE_2235
gosub @RUN_DE_2244

:RUN_DE_2242
return 

:RUN_DE_2244
switch_start 49@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @RUN_DE_3655 {caseNum1} 1 {caseLabel1} @RUN_DE_2307 {caseNum2} 2 {caseLabel2} @RUN_DE_2504 {caseNum3} 3 {caseLabel3} @RUN_DE_3018 {caseNum4} 4 {caseLabel4} @RUN_DE_3156 {caseNum5} -1 {caseLabel5} @RUN_DE_3655 {caseNum6} -1 {caseLabel6} @RUN_DE_3655 {caseNum7} -1 {caseLabel7} @RUN_DE_3655

:RUN_DE_2307
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_DE_2497
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($been_in_freight_before)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsOff(35@, 38@, 41@, 36@, 39@, 42@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $been_in_freight_before)
Task.TurnCharToFaceChar($been_in_freight_before, $stattreadstamina_ctr)
49@ += 1

:RUN_DE_2497
goto @RUN_DE_3655

:RUN_DE_2504
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_DE_3011
47@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
48@ = Char.GetScriptTaskStatus($been_in_freight_before, 1593)
if and
  is_int_lvar_equal_to_constant 47@ == 7
  is_int_lvar_equal_to_constant 48@ == 7
goto_if_false @RUN_DE_2863
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision($been_in_freight_before, False)
44@ = Char.GetHeading($stattreadstamina_ctr)
44@ += 180.0
Char.SetHeading($been_in_freight_before, 44@)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
42@ = World.GetGroundZFor3DCoord(36@, 39@, 42@)
37@, 40@, 43@ = Char.GetCoordinates($been_in_freight_before)
43@ = World.GetGroundZFor3DCoord(37@, 40@, 43@)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(35@, 38@, 41@, 36@, 39@, 42@, True, True, False, True, False)
goto_if_false @RUN_DE_2835
Camera.SetFixedPosition(35@, 38@, 41@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(36@, 39@, 42@, SwitchType.JumpCut)

:RUN_DE_2835
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill($been_in_freight_before, -1)
49@ += 1
goto @RUN_DE_3011

:RUN_DE_2863
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @RUN_DE_2924
47@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if and
  not is_int_lvar_equal_to_constant 47@ == 1
  not is_int_lvar_equal_to_constant 47@ == 0
goto_if_false @RUN_DE_2924
Task.StandStill($stattreadstamina_ctr, -1)

:RUN_DE_2924
if 
  is_int_lvar_equal_to_constant 48@ == 7
goto_if_false @RUN_DE_3011
48@ = Char.GetScriptTaskStatus($been_in_freight_before, 1466)
if and
  not is_int_lvar_equal_to_constant 48@ == 1
  not is_int_lvar_equal_to_constant 48@ == 0
goto_if_false @RUN_DE_3011
Task.StandStill($been_in_freight_before, -1)
44@ = Char.GetHeading($stattreadstamina_ctr)
44@ += 180.0
Char.SetHeading($been_in_freight_before, 44@)

:RUN_DE_3011
goto @RUN_DE_3655

:RUN_DE_3018
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_DE_3149
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim($been_in_freight_before, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
49@ += 1
Char.AddArmor($stattreadstamina_ctr, 150)
Char.AddArmor($been_in_freight_before, 100)
Char.SetHealth($been_in_freight_before, 200)
Char.SetHealth($stattreadstamina_ctr, 200)
:RUN_DE_3149
goto @RUN_DE_3655

:RUN_DE_3156
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_DE_3648
44@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @RUN_DE_3241
44@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:RUN_DE_3241
if 
  44@ > -1.0
goto_if_false @RUN_DE_3463
if 
  44@ == 1.0
goto_if_false @RUN_DE_3456
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 37@, 40@, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
49@ = 0

:RUN_DE_3456
goto @RUN_DE_3648

:RUN_DE_3463
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause($been_in_freight_before, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 37@, 40@, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
49@ = 0

:RUN_DE_3648
goto @RUN_DE_3655

:RUN_DE_3655
return 

//-------------Mission 144---------------
// Originally: Run-around CO

:RUN_CO
script_name 'RUN_CO'
gosub @RUN_CO_47
if 
  has_deatharrest_been_executed 
goto_if_false @RUN_CO_38
gosub @RUN_CO_1005

:RUN_CO_38
gosub @RUN_CO_1150
terminate_this_script 

:RUN_CO_47
Game.HideAllFrontendBlips(True)
Camera.SetFadingColor(0, 0, 0)
$cammy_off_Z = 1
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RUN_2P')
gosub @RUN_CO_1301
wait 0
TIMERA = 0
Streaming.RequestModel(157)
Streaming.RequestAnimation("KISSING")

:RUN_CO_120
if or
  not Streaming.HasModelLoaded(157)
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @RUN_CO_158
wait 0
goto @RUN_CO_120

:RUN_CO_158
World.ClearArea(711.0688, -569.3774, 15.3359, 10.0, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_CO_340
Char.SetCoordinates($stattreadstamina_ctr, 712.1416, -571.62, 15.3359)
Char.SetHeading($stattreadstamina_ctr, 244.9583)
$flag_pimping_trigger = Player.Create(1, 712.3738, -568.9551, 15.3359)
Game.DoWeaponStuffAtStartOf2PGame
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Player.SetModel($flag_pimping_trigger, 157)
Char.SetAnimGroup($been_in_freight_before, "PRO")
Char.SetHeading($been_in_freight_before, 260.509)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:RUN_CO_340
gosub @RUN_CO_1217
Camera.SetFixedPosition(713.8377, -575.1109, 16.933, 0.0, 0.0, 0.0)
Camera.PointAtPoint(713.3706, -574.2305, 16.8514, SwitchType.JumpCut)
gosub @RUN_CO_1342
Text.PrintNow('RUN_02', 5000, 1)
wait 5000
Text.ClearPrints
Hud.SwitchWidescreen(False)
Text.PrintHelpForever('RUN_XX')

:RUN_CO_443
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_CO_862
wait 0
if 
  TIMERB > 250
goto_if_false @RUN_CO_769
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad2)
if and
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftStickX)
  $been_in_a_bmx > 100
goto_if_false @RUN_CO_573
34@ += 1
if 
  34@ > 5
goto_if_false @RUN_CO_559
34@ = 0

:RUN_CO_559
gosub @RUN_CO_1383
TIMERB = 0

:RUN_CO_573
if and
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftStickX)
  -100 > $been_in_a_bmx
goto_if_false @RUN_CO_643
34@ -= 1
if 
  0 > 34@
goto_if_false @RUN_CO_629
34@ = 5

:RUN_CO_629
gosub @RUN_CO_1383
TIMERB = 0

:RUN_CO_643
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.DpadRight)
goto_if_false @RUN_CO_706
34@ += 1
if 
  34@ > 5
goto_if_false @RUN_CO_692
34@ = 0

:RUN_CO_692
gosub @RUN_CO_1383
TIMERB = 0

:RUN_CO_706
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.DpadLeft)
goto_if_false @RUN_CO_769
34@ -= 1
if 
  0 > 34@
goto_if_false @RUN_CO_755
34@ = 5

:RUN_CO_755
gosub @RUN_CO_1383
TIMERB = 0

:RUN_CO_769
if 
is_japanese_version 
goto_if_false @RUN_CO_822
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.Circle)
goto_if_false @RUN_CO_815
gosub @RUN_CO_1258
Text.ClearHelp
goto @RUN_CO_862

:RUN_CO_815
goto @RUN_CO_855

:RUN_CO_822
if 
  Pad.IsButtonPressed(PadId.Pad2, Button.Cross)
goto_if_false @RUN_CO_855
gosub @RUN_CO_1258
Text.ClearHelp
goto @RUN_CO_862

:RUN_CO_855
goto @RUN_CO_443

:RUN_CO_862
Text.PrintHelp('RUN_06')

:RUN_CO_873
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_CO_998
wait 0
gosub @RUN_CO_1727
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_CO_991
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @RUN_CO_991
if and
  not Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
  not Char.HasBeenDamagedByWeapon($been_in_freight_before, WeaponType.SprayCan)
goto_if_false @RUN_CO_981
gosub @RUN_CO_1906
goto @RUN_CO_991

:RUN_CO_981
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
Char.ClearLastWeaponDamage($been_in_freight_before)

:RUN_CO_991
goto @RUN_CO_873

:RUN_CO_998
goto @RUN_CO_1005

:RUN_CO_1005
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_CO_1037
Text.PrintNow('RUN_03', 4000, 1)

:RUN_CO_1037
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @RUN_CO_1069
Text.PrintNow('RUN_04', 4000, 1)

:RUN_CO_1069
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_CO_1106
Text.PrintNow('RUN_05', 4000, 1)

:RUN_CO_1106
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
Text.PrintWithNumberBig('M_PASS', 10000, 5000, TextStyle.Middle)
Player.ClearWantedLevel($statbike_temp)
return 

:RUN_CO_1150
Game.HideAllFrontendBlips(False)
$cammy_off_Z = 0
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Streaming.MarkModelAsNoLongerNeeded(131)
Streaming.MarkModelAsNoLongerNeeded(151)
Streaming.MarkModelAsNoLongerNeeded(169)
Streaming.MarkModelAsNoLongerNeeded(246)
Streaming.MarkModelAsNoLongerNeeded(245)
Streaming.MarkModelAsNoLongerNeeded(40)
Streaming.RemoveAnimation("KISSING")
Mission.Finish
return 

:RUN_CO_1217
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @RUN_CO_1256
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:RUN_CO_1256
return 

:RUN_CO_1258
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @RUN_CO_1297
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:RUN_CO_1297
Camera.RestoreJumpcut
return 

:RUN_CO_1301
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:RUN_CO_1316
if 
  Camera.GetFadingStatus
goto_if_false @RUN_CO_1340
wait 0
goto @RUN_CO_1316

:RUN_CO_1340
return 

:RUN_CO_1342
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:RUN_CO_1357
if 
  Camera.GetFadingStatus
goto_if_false @RUN_CO_1381
wait 0
goto @RUN_CO_1357

:RUN_CO_1381
return 

:RUN_CO_1383
switch_start 34@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @RUN_CO_1725 {caseNum1} 0 {caseLabel1} @RUN_CO_1446 {caseNum2} 1 {caseLabel2} @RUN_CO_1493 {caseNum3} 2 {caseLabel3} @RUN_CO_1540 {caseNum4} 3 {caseLabel4} @RUN_CO_1587 {caseNum5} 4 {caseLabel5} @RUN_CO_1634 {caseNum6} 5 {caseLabel6} @RUN_CO_1681 {caseNum7} -1 {caseLabel7} @RUN_CO_1725

:RUN_CO_1446
Streaming.RequestModel(131)

:RUN_CO_1451
if 
  not Streaming.HasModelLoaded(131)
goto_if_false @RUN_CO_1478
wait 0
goto @RUN_CO_1451

:RUN_CO_1478
Player.SetModel($flag_pimping_trigger, 131)
goto @RUN_CO_1725

:RUN_CO_1493
Streaming.RequestModel(151)

:RUN_CO_1498
if 
  not Streaming.HasModelLoaded(151)
goto_if_false @RUN_CO_1525
wait 0
goto @RUN_CO_1498

:RUN_CO_1525
Player.SetModel($flag_pimping_trigger, 151)
goto @RUN_CO_1725

:RUN_CO_1540
Streaming.RequestModel(169)

:RUN_CO_1545
if 
  not Streaming.HasModelLoaded(169)
goto_if_false @RUN_CO_1572
wait 0
goto @RUN_CO_1545

:RUN_CO_1572
Player.SetModel($flag_pimping_trigger, 169)
goto @RUN_CO_1725

:RUN_CO_1587
Streaming.RequestModel(246)

:RUN_CO_1592
if 
  not Streaming.HasModelLoaded(246)
goto_if_false @RUN_CO_1619
wait 0
goto @RUN_CO_1592

:RUN_CO_1619
Player.SetModel($flag_pimping_trigger, 246)
goto @RUN_CO_1725

:RUN_CO_1634
Streaming.RequestModel(245)

:RUN_CO_1639
if 
  not Streaming.HasModelLoaded(245)
goto_if_false @RUN_CO_1666
wait 0
goto @RUN_CO_1639

:RUN_CO_1666
Player.SetModel($flag_pimping_trigger, 245)
goto @RUN_CO_1725

:RUN_CO_1681
Streaming.RequestModel(40)

:RUN_CO_1685
if 
  not Streaming.HasModelLoaded(40)
goto_if_false @RUN_CO_1711
wait 0
goto @RUN_CO_1685

:RUN_CO_1711
Player.SetModel($flag_pimping_trigger, 40)
goto @RUN_CO_1725

:RUN_CO_1725
return 

:RUN_CO_1727
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @RUN_CO_1742

:RUN_CO_1742
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @RUN_CO_1757

:RUN_CO_1757
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @RUN_CO_1772

:RUN_CO_1772
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @RUN_CO_1808
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_CO_1808
Task.Die($been_in_freight_before)

:RUN_CO_1808
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @RUN_CO_1823

:RUN_CO_1823
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @RUN_CO_1859
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_CO_1859
Task.Die($stattreadstamina_ctr)

:RUN_CO_1859
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @RUN_CO_1904
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @RUN_CO_1904
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:RUN_CO_1904
return 

:RUN_CO_1906
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_CO_2265
if 
  49@ == 0
goto_if_false @RUN_CO_2258
if and
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($been_in_freight_before)
goto_if_false @RUN_CO_2251
if 
  Char.IsStopped($been_in_freight_before)
goto_if_false @RUN_CO_2251
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($been_in_freight_before, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 35@, 38@, 41@, 1.2, 1.2, 1.0, False)
goto_if_false @RUN_CO_2224
if 
  50@ == 0
goto_if_false @RUN_CO_2089
Text.PrintHelpForever('GF_0021')
50@ = 1

:RUN_CO_2089
35@, 38@, 41@ = Char.GetCoordinates($stattreadstamina_ctr)
36@, 39@, 42@ = Char.GetCoordinates($been_in_freight_before)
set_lvar_float_to_lvar_float 44@ = 42@
44@ -= 0.02
set_lvar_float_to_lvar_float 45@ = 42@
45@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 41@ > 44@
  is_float_lvar_greater_than_float_lvar 45@ > 41@
goto_if_false @RUN_CO_2217
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftShoulder1)
goto_if_false @RUN_CO_2217
49@ = 1
gosub @RUN_CO_2267

:RUN_CO_2217
goto @RUN_CO_2251

:RUN_CO_2224
if 
  50@ == 1
goto_if_false @RUN_CO_2251
Text.ClearHelp
50@ = 0

:RUN_CO_2251
goto @RUN_CO_2265

:RUN_CO_2258
gosub @RUN_CO_2267

:RUN_CO_2265
return 

:RUN_CO_2267
switch_start 49@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @RUN_CO_3678 {caseNum1} 1 {caseLabel1} @RUN_CO_2330 {caseNum2} 2 {caseLabel2} @RUN_CO_2527 {caseNum3} 3 {caseLabel3} @RUN_CO_3041 {caseNum4} 4 {caseLabel4} @RUN_CO_3179 {caseNum5} -1 {caseLabel5} @RUN_CO_3678 {caseNum6} -1 {caseLabel6} @RUN_CO_3678 {caseNum7} -1 {caseLabel7} @RUN_CO_3678

:RUN_CO_2330
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_CO_2520
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($been_in_freight_before)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsOff(35@, 38@, 41@, 36@, 39@, 42@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $been_in_freight_before)
Task.TurnCharToFaceChar($been_in_freight_before, $stattreadstamina_ctr)
49@ += 1

:RUN_CO_2520
goto @RUN_CO_3678

:RUN_CO_2527
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_CO_3034
47@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
48@ = Char.GetScriptTaskStatus($been_in_freight_before, 1593)
if and
  is_int_lvar_equal_to_constant 47@ == 7
  is_int_lvar_equal_to_constant 48@ == 7
goto_if_false @RUN_CO_2886
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision($been_in_freight_before, False)
44@ = Char.GetHeading($stattreadstamina_ctr)
44@ += 180.0
Char.SetHeading($been_in_freight_before, 44@)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
42@ = World.GetGroundZFor3DCoord(36@, 39@, 42@)
37@, 40@, 43@ = Char.GetCoordinates($been_in_freight_before)
43@ = World.GetGroundZFor3DCoord(37@, 40@, 43@)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(35@, 38@, 41@, 36@, 39@, 42@, True, True, False, True, False)
goto_if_false @RUN_CO_2858
Camera.SetFixedPosition(35@, 38@, 41@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(36@, 39@, 42@, SwitchType.JumpCut)

:RUN_CO_2858
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill($been_in_freight_before, -1)
49@ += 1
goto @RUN_CO_3034

:RUN_CO_2886
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @RUN_CO_2947
47@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if and
  not is_int_lvar_equal_to_constant 47@ == 1
  not is_int_lvar_equal_to_constant 47@ == 0
goto_if_false @RUN_CO_2947
Task.StandStill($stattreadstamina_ctr, -1)

:RUN_CO_2947
if 
  is_int_lvar_equal_to_constant 48@ == 7
goto_if_false @RUN_CO_3034
48@ = Char.GetScriptTaskStatus($been_in_freight_before, 1466)
if and
  not is_int_lvar_equal_to_constant 48@ == 1
  not is_int_lvar_equal_to_constant 48@ == 0
goto_if_false @RUN_CO_3034
Task.StandStill($been_in_freight_before, -1)
44@ = Char.GetHeading($stattreadstamina_ctr)
44@ += 180.0
Char.SetHeading($been_in_freight_before, 44@)

:RUN_CO_3034
goto @RUN_CO_3678

:RUN_CO_3041
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_CO_3172
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim($been_in_freight_before, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
49@ += 1
Char.AddArmor($stattreadstamina_ctr, 150)
Char.AddArmor($been_in_freight_before, 100)
Char.SetHealth($been_in_freight_before, 200)
Char.SetHealth($stattreadstamina_ctr, 200)
:RUN_CO_3172
goto @RUN_CO_3678

:RUN_CO_3179
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @RUN_CO_3671
44@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @RUN_CO_3264
44@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:RUN_CO_3264
if 
  44@ > -1.0
goto_if_false @RUN_CO_3486
if 
  44@ == 1.0
goto_if_false @RUN_CO_3479
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 37@, 40@, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
49@ = 0

:RUN_CO_3479
goto @RUN_CO_3671

:RUN_CO_3486
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause($been_in_freight_before, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 37@, 40@, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
36@, 39@, 42@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Path.SwitchPedRoadsBackToOriginal(35@, 38@, 41@, 36@, 39@, 42@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
49@ = 0

:RUN_CO_3671
goto @RUN_CO_3678

:RUN_CO_3678
return 

//-------------Mission 145---------------
// Originally: Run-around (2player)

:R_MILY
script_name 'R_MILY'
gosub @R_MILY_47
if 
  has_deatharrest_been_executed 
goto_if_false @R_MILY_38
gosub @R_MILY_568

:R_MILY_38
gosub @R_MILY_694
terminate_this_script 

:R_MILY_47
Game.HideAllFrontendBlips(True)
Camera.SetFadingColor(0, 0, 0)
$cammy_off_Z = 1
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RUN_2P')
gosub @R_MILY_823
wait 0
Streaming.RequestModel(194)
Streaming.RequestAnimation("KISSING")

:R_MILY_113
if or
  not Streaming.HasModelLoaded(194)
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @R_MILY_151
wait 0
goto @R_MILY_113

:R_MILY_151
TIMERA = 0
World.ClearArea(2029.306, 2732.588, 9.8203, 10.0, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_MILY_330
Char.SetCoordinates($stattreadstamina_ctr, 2029.306, 2732.588, 9.8203)
Char.SetHeading($stattreadstamina_ctr, 0.7089)
$flag_pimping_trigger = Player.Create(1, 2027.131, 2732.603, 9.8203)
Game.DoWeaponStuffAtStartOf2PGame
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Char.SetHeading($been_in_freight_before, 0.7089)
Player.SetModel($flag_pimping_trigger, 194)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:R_MILY_330
gosub @R_MILY_737
Camera.SetFixedPosition(2028.41, 2737.598, 13.2972, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2028.422, 2736.655, 12.967, SwitchType.JumpCut)
gosub @R_MILY_864
Text.PrintNow('RUN_02', 5000, 1)
wait 5000
Text.ClearPrints
gosub @R_MILY_778
Text.PrintHelp('RUN_06')

:R_MILY_436
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MILY_561
wait 0
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MILY_547
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @R_MILY_547
if and
  not Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
  not Char.HasBeenDamagedByWeapon($been_in_freight_before, WeaponType.SprayCan)
goto_if_false @R_MILY_537
gosub @R_MILY_1084
goto @R_MILY_547

:R_MILY_537
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
Char.ClearLastWeaponDamage($been_in_freight_before)

:R_MILY_547
gosub @R_MILY_905
goto @R_MILY_436

:R_MILY_561
goto @R_MILY_568

:R_MILY_568
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_MILY_600
Text.PrintNow('RUN_03', 4000, 1)

:R_MILY_600
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @R_MILY_632
Text.PrintNow('RUN_04', 4000, 1)

:R_MILY_632
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_MILY_669
Text.PrintNow('RUN_05', 4000, 1)

:R_MILY_669
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
Player.ClearWantedLevel($statbike_temp)
return 

:R_MILY_694
$cammy_off_Z = 0
Game.HideAllFrontendBlips(True)
Streaming.MarkModelAsNoLongerNeeded(194)
Streaming.RemoveAnimation("KISSING")
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:R_MILY_737
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_MILY_776
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:R_MILY_776
return 

:R_MILY_778
Camera.SetInFrontOfPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_MILY_819
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:R_MILY_819
Camera.RestoreJumpcut
return 

:R_MILY_823
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:R_MILY_838
if 
  Camera.GetFadingStatus
goto_if_false @R_MILY_862
wait 0
goto @R_MILY_838

:R_MILY_862
return 

:R_MILY_864
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:R_MILY_879
if 
  Camera.GetFadingStatus
goto_if_false @R_MILY_903
wait 0
goto @R_MILY_879

:R_MILY_903
return 

:R_MILY_905
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @R_MILY_920

:R_MILY_920
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @R_MILY_935

:R_MILY_935
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @R_MILY_950

:R_MILY_950
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @R_MILY_986
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MILY_986
Task.Die($been_in_freight_before)

:R_MILY_986
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @R_MILY_1001

:R_MILY_1001
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @R_MILY_1037
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_MILY_1037
Task.Die($stattreadstamina_ctr)

:R_MILY_1037
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @R_MILY_1082
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_MILY_1082
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:R_MILY_1082
return 

:R_MILY_1084
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MILY_1443
if 
  48@ == 0
goto_if_false @R_MILY_1436
if and
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($been_in_freight_before)
goto_if_false @R_MILY_1429
if 
  Char.IsStopped($been_in_freight_before)
goto_if_false @R_MILY_1429
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($been_in_freight_before, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 34@, 37@, 40@, 1.2, 1.2, 1.0, False)
goto_if_false @R_MILY_1402
if 
  49@ == 0
goto_if_false @R_MILY_1267
Text.PrintHelpForever('GF_0021')
49@ = 1

:R_MILY_1267
34@, 37@, 40@ = Char.GetCoordinates($stattreadstamina_ctr)
35@, 38@, 41@ = Char.GetCoordinates($been_in_freight_before)
set_lvar_float_to_lvar_float 43@ = 41@
43@ -= 0.02
set_lvar_float_to_lvar_float 44@ = 41@
44@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 40@ > 43@
  is_float_lvar_greater_than_float_lvar 44@ > 40@
goto_if_false @R_MILY_1395
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftShoulder1)
goto_if_false @R_MILY_1395
48@ = 1
gosub @R_MILY_1445

:R_MILY_1395
goto @R_MILY_1429

:R_MILY_1402
if 
  49@ == 1
goto_if_false @R_MILY_1429
Text.ClearHelp
49@ = 0

:R_MILY_1429
goto @R_MILY_1443

:R_MILY_1436
gosub @R_MILY_1445

:R_MILY_1443
return 

:R_MILY_1445
switch_start 48@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @R_MILY_2856 {caseNum1} 1 {caseLabel1} @R_MILY_1508 {caseNum2} 2 {caseLabel2} @R_MILY_1705 {caseNum3} 3 {caseLabel3} @R_MILY_2219 {caseNum4} 4 {caseLabel4} @R_MILY_2357 {caseNum5} -1 {caseLabel5} @R_MILY_2856 {caseNum6} -1 {caseLabel6} @R_MILY_2856 {caseNum7} -1 {caseLabel7} @R_MILY_2856

:R_MILY_1508
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MILY_1698
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($been_in_freight_before)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $been_in_freight_before)
Task.TurnCharToFaceChar($been_in_freight_before, $stattreadstamina_ctr)
48@ += 1

:R_MILY_1698
goto @R_MILY_2856

:R_MILY_1705
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MILY_2212
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1593)
if and
  is_int_lvar_equal_to_constant 46@ == 7
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_MILY_2064
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision($been_in_freight_before, False)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
41@ = World.GetGroundZFor3DCoord(35@, 38@, 41@)
36@, 39@, 42@ = Char.GetCoordinates($been_in_freight_before)
42@ = World.GetGroundZFor3DCoord(36@, 39@, 42@)
Char.SetCoordinates($been_in_freight_before, 35@, 38@, 41@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(34@, 37@, 40@, 35@, 38@, 41@, True, True, False, True, False)
goto_if_false @R_MILY_2036
Camera.SetFixedPosition(34@, 37@, 40@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(35@, 38@, 41@, SwitchType.JumpCut)

:R_MILY_2036
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill($been_in_freight_before, -1)
48@ += 1
goto @R_MILY_2212

:R_MILY_2064
if 
  is_int_lvar_equal_to_constant 46@ == 7
goto_if_false @R_MILY_2125
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if and
  not is_int_lvar_equal_to_constant 46@ == 1
  not is_int_lvar_equal_to_constant 46@ == 0
goto_if_false @R_MILY_2125
Task.StandStill($stattreadstamina_ctr, -1)

:R_MILY_2125
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_MILY_2212
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1466)
if and
  not is_int_lvar_equal_to_constant 47@ == 1
  not is_int_lvar_equal_to_constant 47@ == 0
goto_if_false @R_MILY_2212
Task.StandStill($been_in_freight_before, -1)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)

:R_MILY_2212
goto @R_MILY_2856

:R_MILY_2219
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MILY_2350
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim($been_in_freight_before, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
48@ += 1
Char.AddArmor($stattreadstamina_ctr, 150)
Char.AddArmor($been_in_freight_before, 100)
Char.SetHealth($been_in_freight_before, 200)
Char.SetHealth($stattreadstamina_ctr, 200)
:R_MILY_2350
goto @R_MILY_2856

:R_MILY_2357
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MILY_2849
43@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @R_MILY_2442
43@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:R_MILY_2442
if 
  43@ > -1.0
goto_if_false @R_MILY_2664
if 
  43@ == 1.0
goto_if_false @R_MILY_2657
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_MILY_2657
goto @R_MILY_2849

:R_MILY_2664
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause($been_in_freight_before, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_MILY_2849
goto @R_MILY_2856

:R_MILY_2856
return 

//-------------Mission 146---------------
// Originally: Run-around (2player)

:R_SUZI
script_name 'R_SUZI'
gosub @R_SUZI_47
if 
  has_deatharrest_been_executed 
goto_if_false @R_SUZI_38
gosub @R_SUZI_568

:R_SUZI_38
gosub @R_SUZI_694
terminate_this_script 

:R_SUZI_47
Game.HideAllFrontendBlips(True)
Camera.SetFadingColor(0, 0, 0)
$cammy_off_Z = 1
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RUN_2P')
gosub @R_SUZI_823
wait 0
Streaming.RequestModel(193)
Streaming.RequestAnimation("KISSING")

:R_SUZI_113
if or
  not Streaming.HasModelLoaded(193)
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @R_SUZI_151
wait 0
goto @R_SUZI_113

:R_SUZI_151
TIMERA = 0
World.ClearArea(-2574.303, 1151.564, 54.7333, 10.0, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_SUZI_330
Char.SetCoordinates($stattreadstamina_ctr, -2571.827, 1150.589, 54.7333)
Char.SetHeading($stattreadstamina_ctr, 156.4741)
$flag_pimping_trigger = Player.Create(1, -2570.067, 1150.097, 54.7333)
Game.DoWeaponStuffAtStartOf2PGame
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Char.SetHeading($been_in_freight_before, 163.1839)
Player.SetModel($flag_pimping_trigger, 193)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:R_SUZI_330
gosub @R_SUZI_737
Camera.SetFixedPosition(-2572.03, 1146.816, 57.1697, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-2571.753, 1147.731, 56.875, SwitchType.JumpCut)
gosub @R_SUZI_864
Text.PrintNow('RUN_02', 5000, 1)
wait 5000
Text.ClearPrints
gosub @R_SUZI_778
Text.PrintHelp('RUN_06')

:R_SUZI_436
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_SUZI_561
wait 0
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_SUZI_547
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @R_SUZI_547
if and
  not Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
  not Char.HasBeenDamagedByWeapon($been_in_freight_before, WeaponType.SprayCan)
goto_if_false @R_SUZI_537
gosub @R_SUZI_1084
goto @R_SUZI_547

:R_SUZI_537
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
Char.ClearLastWeaponDamage($been_in_freight_before)

:R_SUZI_547
gosub @R_SUZI_905
goto @R_SUZI_436

:R_SUZI_561
goto @R_SUZI_568

:R_SUZI_568
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_SUZI_600
Text.PrintNow('RUN_03', 4000, 1)

:R_SUZI_600
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @R_SUZI_632
Text.PrintNow('RUN_04', 4000, 1)

:R_SUZI_632
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_SUZI_669
Text.PrintNow('RUN_05', 4000, 1)

:R_SUZI_669
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
Player.ClearWantedLevel($statbike_temp)
return 

:R_SUZI_694
$cammy_off_Z = 0
Game.HideAllFrontendBlips(True)
Streaming.MarkModelAsNoLongerNeeded(193)
Streaming.RemoveAnimation("KISSING")
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:R_SUZI_737
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_SUZI_776
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:R_SUZI_776
return 

:R_SUZI_778
Camera.SetInFrontOfPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_SUZI_819
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:R_SUZI_819
Camera.RestoreJumpcut
return 

:R_SUZI_823
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:R_SUZI_838
if 
  Camera.GetFadingStatus
goto_if_false @R_SUZI_862
wait 0
goto @R_SUZI_838

:R_SUZI_862
return 

:R_SUZI_864
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:R_SUZI_879
if 
  Camera.GetFadingStatus
goto_if_false @R_SUZI_903
wait 0
goto @R_SUZI_879

:R_SUZI_903
return 

:R_SUZI_905
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @R_SUZI_920

:R_SUZI_920
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @R_SUZI_935

:R_SUZI_935
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @R_SUZI_950

:R_SUZI_950
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @R_SUZI_986
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_SUZI_986
Task.Die($been_in_freight_before)

:R_SUZI_986
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @R_SUZI_1001

:R_SUZI_1001
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @R_SUZI_1037
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_SUZI_1037
Task.Die($stattreadstamina_ctr)

:R_SUZI_1037
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @R_SUZI_1082
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_SUZI_1082
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:R_SUZI_1082
return 

:R_SUZI_1084
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_SUZI_1443
if 
  48@ == 0
goto_if_false @R_SUZI_1436
if and
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($been_in_freight_before)
goto_if_false @R_SUZI_1429
if 
  Char.IsStopped($been_in_freight_before)
goto_if_false @R_SUZI_1429
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($been_in_freight_before, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 34@, 37@, 40@, 1.2, 1.2, 1.0, False)
goto_if_false @R_SUZI_1402
if 
  49@ == 0
goto_if_false @R_SUZI_1267
Text.PrintHelpForever('GF_0021')
49@ = 1

:R_SUZI_1267
34@, 37@, 40@ = Char.GetCoordinates($stattreadstamina_ctr)
35@, 38@, 41@ = Char.GetCoordinates($been_in_freight_before)
set_lvar_float_to_lvar_float 43@ = 41@
43@ -= 0.02
set_lvar_float_to_lvar_float 44@ = 41@
44@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 40@ > 43@
  is_float_lvar_greater_than_float_lvar 44@ > 40@
goto_if_false @R_SUZI_1395
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftShoulder1)
goto_if_false @R_SUZI_1395
48@ = 1
gosub @R_SUZI_1445

:R_SUZI_1395
goto @R_SUZI_1429

:R_SUZI_1402
if 
  49@ == 1
goto_if_false @R_SUZI_1429
Text.ClearHelp
49@ = 0

:R_SUZI_1429
goto @R_SUZI_1443

:R_SUZI_1436
gosub @R_SUZI_1445

:R_SUZI_1443
return 

:R_SUZI_1445
switch_start 48@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @R_SUZI_2856 {caseNum1} 1 {caseLabel1} @R_SUZI_1508 {caseNum2} 2 {caseLabel2} @R_SUZI_1705 {caseNum3} 3 {caseLabel3} @R_SUZI_2219 {caseNum4} 4 {caseLabel4} @R_SUZI_2357 {caseNum5} -1 {caseLabel5} @R_SUZI_2856 {caseNum6} -1 {caseLabel6} @R_SUZI_2856 {caseNum7} -1 {caseLabel7} @R_SUZI_2856

:R_SUZI_1508
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_SUZI_1698
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($been_in_freight_before)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $been_in_freight_before)
Task.TurnCharToFaceChar($been_in_freight_before, $stattreadstamina_ctr)
48@ += 1

:R_SUZI_1698
goto @R_SUZI_2856

:R_SUZI_1705
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_SUZI_2212
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1593)
if and
  is_int_lvar_equal_to_constant 46@ == 7
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_SUZI_2064
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision($been_in_freight_before, False)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
41@ = World.GetGroundZFor3DCoord(35@, 38@, 41@)
36@, 39@, 42@ = Char.GetCoordinates($been_in_freight_before)
42@ = World.GetGroundZFor3DCoord(36@, 39@, 42@)
Char.SetCoordinates($been_in_freight_before, 35@, 38@, 41@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(34@, 37@, 40@, 35@, 38@, 41@, True, True, False, True, False)
goto_if_false @R_SUZI_2036
Camera.SetFixedPosition(34@, 37@, 40@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(35@, 38@, 41@, SwitchType.JumpCut)

:R_SUZI_2036
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill($been_in_freight_before, -1)
48@ += 1
goto @R_SUZI_2212

:R_SUZI_2064
if 
  is_int_lvar_equal_to_constant 46@ == 7
goto_if_false @R_SUZI_2125
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if and
  not is_int_lvar_equal_to_constant 46@ == 1
  not is_int_lvar_equal_to_constant 46@ == 0
goto_if_false @R_SUZI_2125
Task.StandStill($stattreadstamina_ctr, -1)

:R_SUZI_2125
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_SUZI_2212
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1466)
if and
  not is_int_lvar_equal_to_constant 47@ == 1
  not is_int_lvar_equal_to_constant 47@ == 0
goto_if_false @R_SUZI_2212
Task.StandStill($been_in_freight_before, -1)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)

:R_SUZI_2212
goto @R_SUZI_2856

:R_SUZI_2219
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_SUZI_2350
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim($been_in_freight_before, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
48@ += 1
Char.AddArmor($stattreadstamina_ctr, 150)
Char.AddArmor($been_in_freight_before, 100)
Char.SetHealth($been_in_freight_before, 200)
Char.SetHealth($stattreadstamina_ctr, 200)
:R_SUZI_2350
goto @R_SUZI_2856

:R_SUZI_2357
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_SUZI_2849
43@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @R_SUZI_2442
43@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:R_SUZI_2442
if 
  43@ > -1.0
goto_if_false @R_SUZI_2664
if 
  43@ == 1.0
goto_if_false @R_SUZI_2657
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_SUZI_2657
goto @R_SUZI_2849

:R_SUZI_2664
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause($been_in_freight_before, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_SUZI_2849
goto @R_SUZI_2856

:R_SUZI_2856
return 

//-------------Mission 147---------------
// Originally: Run-around (2player)

:R_BARB
script_name 'R_BARB'
gosub @R_BARB_47
if 
  has_deatharrest_been_executed 
goto_if_false @R_BARB_38
gosub @R_BARB_568

:R_BARB_38
gosub @R_BARB_694
terminate_this_script 

:R_BARB_47
Game.HideAllFrontendBlips(True)
Camera.SetFadingColor(0, 0, 0)
$cammy_off_Z = 1
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RUN_2P')
gosub @R_BARB_823
wait 0
Streaming.RequestModel(190)
Streaming.RequestAnimation("KISSING")

:R_BARB_113
if or
  not Streaming.HasModelLoaded(190)
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @R_BARB_151
wait 0
goto @R_BARB_113

:R_BARB_151
TIMERA = 0
World.ClearArea(-1391.616, 2637.604, 54.9843, 10.0, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_BARB_330
Char.SetCoordinates($stattreadstamina_ctr, -1391.616, 2637.604, 54.9843)
Char.SetHeading($stattreadstamina_ctr, 129.2336)
$flag_pimping_trigger = Player.Create(1, -1390.879, 2636.415, 54.9843)
Game.DoWeaponStuffAtStartOf2PGame
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Char.SetHeading($been_in_freight_before, 129.2336)
Player.SetModel($flag_pimping_trigger, 190)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:R_BARB_330
gosub @R_BARB_737
Camera.SetFixedPosition(-1395.236, 2633.939, 57.8633, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1394.498, 2634.542, 57.5606, SwitchType.JumpCut)
gosub @R_BARB_864
Text.PrintNow('RUN_02', 5000, 1)
wait 5000
Text.ClearPrints
gosub @R_BARB_778
Text.PrintHelp('RUN_06')

:R_BARB_436
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_BARB_561
wait 0
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_BARB_547
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @R_BARB_547
if and
  not Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
  not Char.HasBeenDamagedByWeapon($been_in_freight_before, WeaponType.SprayCan)
goto_if_false @R_BARB_537
gosub @R_BARB_1084
goto @R_BARB_547

:R_BARB_537
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
Char.ClearLastWeaponDamage($been_in_freight_before)

:R_BARB_547
gosub @R_BARB_905
goto @R_BARB_436

:R_BARB_561
goto @R_BARB_568

:R_BARB_568
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_BARB_600
Text.PrintNow('RUN_03', 4000, 1)

:R_BARB_600
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @R_BARB_632
Text.PrintNow('RUN_04', 4000, 1)

:R_BARB_632
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_BARB_669
Text.PrintNow('RUN_05', 4000, 1)

:R_BARB_669
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
Player.ClearWantedLevel($statbike_temp)
return 

:R_BARB_694
$cammy_off_Z = 0
Game.HideAllFrontendBlips(True)
Streaming.MarkModelAsNoLongerNeeded(190)
Streaming.RemoveAnimation("KISSING")
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:R_BARB_737
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_BARB_776
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:R_BARB_776
return 

:R_BARB_778
Camera.SetInFrontOfPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_BARB_819
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:R_BARB_819
Camera.RestoreJumpcut
return 

:R_BARB_823
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:R_BARB_838
if 
  Camera.GetFadingStatus
goto_if_false @R_BARB_862
wait 0
goto @R_BARB_838

:R_BARB_862
return 

:R_BARB_864
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:R_BARB_879
if 
  Camera.GetFadingStatus
goto_if_false @R_BARB_903
wait 0
goto @R_BARB_879

:R_BARB_903
return 

:R_BARB_905
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @R_BARB_920

:R_BARB_920
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @R_BARB_935

:R_BARB_935
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @R_BARB_950

:R_BARB_950
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @R_BARB_986
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_BARB_986
Task.Die($been_in_freight_before)

:R_BARB_986
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @R_BARB_1001

:R_BARB_1001
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @R_BARB_1037
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_BARB_1037
Task.Die($stattreadstamina_ctr)

:R_BARB_1037
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @R_BARB_1082
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_BARB_1082
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:R_BARB_1082
return 

:R_BARB_1084
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_BARB_1443
if 
  48@ == 0
goto_if_false @R_BARB_1436
if and
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($been_in_freight_before)
goto_if_false @R_BARB_1429
if 
  Char.IsStopped($been_in_freight_before)
goto_if_false @R_BARB_1429
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($been_in_freight_before, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 34@, 37@, 40@, 1.2, 1.2, 1.0, False)
goto_if_false @R_BARB_1402
if 
  49@ == 0
goto_if_false @R_BARB_1267
Text.PrintHelpForever('GF_0021')
49@ = 1

:R_BARB_1267
34@, 37@, 40@ = Char.GetCoordinates($stattreadstamina_ctr)
35@, 38@, 41@ = Char.GetCoordinates($been_in_freight_before)
set_lvar_float_to_lvar_float 43@ = 41@
43@ -= 0.02
set_lvar_float_to_lvar_float 44@ = 41@
44@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 40@ > 43@
  is_float_lvar_greater_than_float_lvar 44@ > 40@
goto_if_false @R_BARB_1395
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftShoulder1)
goto_if_false @R_BARB_1395
48@ = 1
gosub @R_BARB_1445

:R_BARB_1395
goto @R_BARB_1429

:R_BARB_1402
if 
  49@ == 1
goto_if_false @R_BARB_1429
Text.ClearHelp
49@ = 0

:R_BARB_1429
goto @R_BARB_1443

:R_BARB_1436
gosub @R_BARB_1445

:R_BARB_1443
return 

:R_BARB_1445
switch_start 48@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @R_BARB_2856 {caseNum1} 1 {caseLabel1} @R_BARB_1508 {caseNum2} 2 {caseLabel2} @R_BARB_1705 {caseNum3} 3 {caseLabel3} @R_BARB_2219 {caseNum4} 4 {caseLabel4} @R_BARB_2357 {caseNum5} -1 {caseLabel5} @R_BARB_2856 {caseNum6} -1 {caseLabel6} @R_BARB_2856 {caseNum7} -1 {caseLabel7} @R_BARB_2856

:R_BARB_1508
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_BARB_1698
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($been_in_freight_before)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $been_in_freight_before)
Task.TurnCharToFaceChar($been_in_freight_before, $stattreadstamina_ctr)
48@ += 1

:R_BARB_1698
goto @R_BARB_2856

:R_BARB_1705
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_BARB_2212
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1593)
if and
  is_int_lvar_equal_to_constant 46@ == 7
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_BARB_2064
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision($been_in_freight_before, False)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
41@ = World.GetGroundZFor3DCoord(35@, 38@, 41@)
36@, 39@, 42@ = Char.GetCoordinates($been_in_freight_before)
42@ = World.GetGroundZFor3DCoord(36@, 39@, 42@)
Char.SetCoordinates($been_in_freight_before, 35@, 38@, 41@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(34@, 37@, 40@, 35@, 38@, 41@, True, True, False, True, False)
goto_if_false @R_BARB_2036
Camera.SetFixedPosition(34@, 37@, 40@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(35@, 38@, 41@, SwitchType.JumpCut)

:R_BARB_2036
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill($been_in_freight_before, -1)
48@ += 1
goto @R_BARB_2212

:R_BARB_2064
if 
  is_int_lvar_equal_to_constant 46@ == 7
goto_if_false @R_BARB_2125
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if and
  not is_int_lvar_equal_to_constant 46@ == 1
  not is_int_lvar_equal_to_constant 46@ == 0
goto_if_false @R_BARB_2125
Task.StandStill($stattreadstamina_ctr, -1)

:R_BARB_2125
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_BARB_2212
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1466)
if and
  not is_int_lvar_equal_to_constant 47@ == 1
  not is_int_lvar_equal_to_constant 47@ == 0
goto_if_false @R_BARB_2212
Task.StandStill($been_in_freight_before, -1)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)

:R_BARB_2212
goto @R_BARB_2856

:R_BARB_2219
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_BARB_2350
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim($been_in_freight_before, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
48@ += 1
Char.AddArmor($stattreadstamina_ctr, 150)
Char.AddArmor($been_in_freight_before, 100)
Char.SetHealth($been_in_freight_before, 200)
Char.SetHealth($stattreadstamina_ctr, 200)
:R_BARB_2350
goto @R_BARB_2856

:R_BARB_2357
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_BARB_2849
43@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @R_BARB_2442
43@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:R_BARB_2442
if 
  43@ > -1.0
goto_if_false @R_BARB_2664
if 
  43@ == 1.0
goto_if_false @R_BARB_2657
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_BARB_2657
goto @R_BARB_2849

:R_BARB_2664
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause($been_in_freight_before, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_BARB_2849
goto @R_BARB_2856

:R_BARB_2856
return 

//-------------Mission 148---------------
// Originally: Run-around (2player)

:R_KYLIE
script_name 'R_KYLIE'
gosub @R_KYLIE_47
if 
  has_deatharrest_been_executed 
goto_if_false @R_KYLIE_38
gosub @R_KYLIE_568

:R_KYLIE_38
gosub @R_KYLIE_694
terminate_this_script 

:R_KYLIE_47
Game.HideAllFrontendBlips(True)
Camera.SetFadingColor(0, 0, 0)
$cammy_off_Z = 1
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RUN_2P')
gosub @R_KYLIE_823
wait 0
Streaming.RequestModel(191)
Streaming.RequestAnimation("KISSING")

:R_KYLIE_113
if or
  not Streaming.HasModelLoaded(191)
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @R_KYLIE_151
wait 0
goto @R_KYLIE_113

:R_KYLIE_151
TIMERA = 0
World.ClearArea(-381.5365, -1425.352, 24.9571, 10.0, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_KYLIE_330
Char.SetCoordinates($stattreadstamina_ctr, -381.3404, -1426.902, 24.9079)
Char.SetHeading($stattreadstamina_ctr, 270.0)
$flag_pimping_trigger = Player.Create(1, -381.5365, -1425.352, 24.9571)
Game.DoWeaponStuffAtStartOf2PGame
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Char.SetHeading($been_in_freight_before, 270.0)
Player.SetModel($flag_pimping_trigger, 191)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:R_KYLIE_330
gosub @R_KYLIE_737
Camera.SetFixedPosition(-376.3109, -1426.436, 27.8865, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-377.2638, -1426.414, 27.5841, SwitchType.JumpCut)
gosub @R_KYLIE_864
Text.PrintNow('RUN_02', 5000, 1)
wait 5000
Text.ClearPrints
gosub @R_KYLIE_778
Text.PrintHelp('RUN_06')

:R_KYLIE_436
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_KYLIE_561
wait 0
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_KYLIE_547
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @R_KYLIE_547
if and
  not Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
  not Char.HasBeenDamagedByWeapon($been_in_freight_before, WeaponType.SprayCan)
goto_if_false @R_KYLIE_537
gosub @R_KYLIE_1084
goto @R_KYLIE_547

:R_KYLIE_537
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
Char.ClearLastWeaponDamage($been_in_freight_before)

:R_KYLIE_547
gosub @R_KYLIE_905
goto @R_KYLIE_436

:R_KYLIE_561
goto @R_KYLIE_568

:R_KYLIE_568
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_KYLIE_600
Text.PrintNow('RUN_03', 4000, 1)

:R_KYLIE_600
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @R_KYLIE_632
Text.PrintNow('RUN_04', 4000, 1)

:R_KYLIE_632
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_KYLIE_669
Text.PrintNow('RUN_05', 4000, 1)

:R_KYLIE_669
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
Player.ClearWantedLevel($statbike_temp)
return 

:R_KYLIE_694
$cammy_off_Z = 0
Game.HideAllFrontendBlips(True)
Streaming.MarkModelAsNoLongerNeeded(191)
Streaming.RemoveAnimation("KISSING")
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:R_KYLIE_737
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_KYLIE_776
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:R_KYLIE_776
return 

:R_KYLIE_778
Camera.SetInFrontOfPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_KYLIE_819
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:R_KYLIE_819
Camera.RestoreJumpcut
return 

:R_KYLIE_823
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:R_KYLIE_838
if 
  Camera.GetFadingStatus
goto_if_false @R_KYLIE_862
wait 0
goto @R_KYLIE_838

:R_KYLIE_862
return 

:R_KYLIE_864
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:R_KYLIE_879
if 
  Camera.GetFadingStatus
goto_if_false @R_KYLIE_903
wait 0
goto @R_KYLIE_879

:R_KYLIE_903
return 

:R_KYLIE_905
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @R_KYLIE_920

:R_KYLIE_920
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @R_KYLIE_935

:R_KYLIE_935
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @R_KYLIE_950

:R_KYLIE_950
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @R_KYLIE_986
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_KYLIE_986
Task.Die($been_in_freight_before)

:R_KYLIE_986
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @R_KYLIE_1001

:R_KYLIE_1001
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @R_KYLIE_1037
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_KYLIE_1037
Task.Die($stattreadstamina_ctr)

:R_KYLIE_1037
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @R_KYLIE_1082
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_KYLIE_1082
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:R_KYLIE_1082
return 

:R_KYLIE_1084
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_KYLIE_1443
if 
  48@ == 0
goto_if_false @R_KYLIE_1436
if and
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($been_in_freight_before)
goto_if_false @R_KYLIE_1429
if 
  Char.IsStopped($been_in_freight_before)
goto_if_false @R_KYLIE_1429
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($been_in_freight_before, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 34@, 37@, 40@, 1.2, 1.2, 1.0, False)
goto_if_false @R_KYLIE_1402
if 
  49@ == 0
goto_if_false @R_KYLIE_1267
Text.PrintHelpForever('GF_0021')
49@ = 1

:R_KYLIE_1267
34@, 37@, 40@ = Char.GetCoordinates($stattreadstamina_ctr)
35@, 38@, 41@ = Char.GetCoordinates($been_in_freight_before)
set_lvar_float_to_lvar_float 43@ = 41@
43@ -= 0.02
set_lvar_float_to_lvar_float 44@ = 41@
44@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 40@ > 43@
  is_float_lvar_greater_than_float_lvar 44@ > 40@
goto_if_false @R_KYLIE_1395
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftShoulder1)
goto_if_false @R_KYLIE_1395
48@ = 1
gosub @R_KYLIE_1445

:R_KYLIE_1395
goto @R_KYLIE_1429

:R_KYLIE_1402
if 
  49@ == 1
goto_if_false @R_KYLIE_1429
Text.ClearHelp
49@ = 0

:R_KYLIE_1429
goto @R_KYLIE_1443

:R_KYLIE_1436
gosub @R_KYLIE_1445

:R_KYLIE_1443
return 

:R_KYLIE_1445
switch_start 48@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @R_KYLIE_2856 {caseNum1} 1 {caseLabel1} @R_KYLIE_1508 {caseNum2} 2 {caseLabel2} @R_KYLIE_1705 {caseNum3} 3 {caseLabel3} @R_KYLIE_2219 {caseNum4} 4 {caseLabel4} @R_KYLIE_2357 {caseNum5} -1 {caseLabel5} @R_KYLIE_2856 {caseNum6} -1 {caseLabel6} @R_KYLIE_2856 {caseNum7} -1 {caseLabel7} @R_KYLIE_2856

:R_KYLIE_1508
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_KYLIE_1698
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($been_in_freight_before)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $been_in_freight_before)
Task.TurnCharToFaceChar($been_in_freight_before, $stattreadstamina_ctr)
48@ += 1

:R_KYLIE_1698
goto @R_KYLIE_2856

:R_KYLIE_1705
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_KYLIE_2212
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1593)
if and
  is_int_lvar_equal_to_constant 46@ == 7
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_KYLIE_2064
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision($been_in_freight_before, False)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
41@ = World.GetGroundZFor3DCoord(35@, 38@, 41@)
36@, 39@, 42@ = Char.GetCoordinates($been_in_freight_before)
42@ = World.GetGroundZFor3DCoord(36@, 39@, 42@)
Char.SetCoordinates($been_in_freight_before, 35@, 38@, 41@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(34@, 37@, 40@, 35@, 38@, 41@, True, True, False, True, False)
goto_if_false @R_KYLIE_2036
Camera.SetFixedPosition(34@, 37@, 40@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(35@, 38@, 41@, SwitchType.JumpCut)

:R_KYLIE_2036
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill($been_in_freight_before, -1)
48@ += 1
goto @R_KYLIE_2212

:R_KYLIE_2064
if 
  is_int_lvar_equal_to_constant 46@ == 7
goto_if_false @R_KYLIE_2125
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if and
  not is_int_lvar_equal_to_constant 46@ == 1
  not is_int_lvar_equal_to_constant 46@ == 0
goto_if_false @R_KYLIE_2125
Task.StandStill($stattreadstamina_ctr, -1)

:R_KYLIE_2125
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_KYLIE_2212
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1466)
if and
  not is_int_lvar_equal_to_constant 47@ == 1
  not is_int_lvar_equal_to_constant 47@ == 0
goto_if_false @R_KYLIE_2212
Task.StandStill($been_in_freight_before, -1)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)

:R_KYLIE_2212
goto @R_KYLIE_2856

:R_KYLIE_2219
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_KYLIE_2350
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim($been_in_freight_before, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
48@ += 1
Char.AddArmor($stattreadstamina_ctr, 150)
Char.AddArmor($been_in_freight_before, 100)
Char.SetHealth($been_in_freight_before, 200)
Char.SetHealth($stattreadstamina_ctr, 200)
:R_KYLIE_2350
goto @R_KYLIE_2856

:R_KYLIE_2357
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_KYLIE_2849
43@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @R_KYLIE_2442
43@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:R_KYLIE_2442
if 
  43@ > -1.0
goto_if_false @R_KYLIE_2664
if 
  43@ == 1.0
goto_if_false @R_KYLIE_2657
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_KYLIE_2657
goto @R_KYLIE_2849

:R_KYLIE_2664
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause($been_in_freight_before, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_KYLIE_2849
goto @R_KYLIE_2856

:R_KYLIE_2856
return 

//-------------Mission 149---------------
// Originally: Run-around (2player)

:R_COCH
script_name 'R_COCH'
gosub @R_COCH_47
if 
  has_deatharrest_been_executed 
goto_if_false @R_COCH_38
gosub @R_COCH_568

:R_COCH_38
gosub @R_COCH_694
terminate_this_script 

:R_COCH_47
Game.HideAllFrontendBlips(True)
Camera.SetFadingColor(0, 0, 0)
$cammy_off_Z = 1
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RUN_2P')
gosub @R_COCH_823
wait 0
Streaming.RequestModel(195)
Streaming.RequestAnimation("KISSING")

:R_COCH_113
if or
  not Streaming.HasModelLoaded(195)
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @R_COCH_151
wait 0
goto @R_COCH_113

:R_COCH_151
TIMERA = 0
World.ClearArea(2401.595, -1720.311, 12.6137, 10.0, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_COCH_330
Char.SetCoordinates($stattreadstamina_ctr, 2401.595, -1720.311, 12.6137)
Char.SetHeading($stattreadstamina_ctr, 180.0)
$flag_pimping_trigger = Player.Create(1, 2403.405, -1720.305, 12.6171)
Game.DoWeaponStuffAtStartOf2PGame
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Char.SetHeading($been_in_freight_before, 180.0)
Player.SetModel($flag_pimping_trigger, 195)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:R_COCH_330
gosub @R_COCH_737
Camera.SetFixedPosition(2402.685, -1728.01, 15.5387, 0.0, 0.0, 0.0)
Camera.PointAtPoint(2402.698, -1727.024, 15.3723, SwitchType.JumpCut)
gosub @R_COCH_864
Text.PrintNow('RUN_02', 5000, 1)
wait 5000
Text.ClearPrints
gosub @R_COCH_778
Text.PrintHelp('RUN_06')

:R_COCH_436
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_COCH_561
wait 0
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_COCH_547
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @R_COCH_547
if and
  not Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
  not Char.HasBeenDamagedByWeapon($been_in_freight_before, WeaponType.SprayCan)
goto_if_false @R_COCH_537
gosub @R_COCH_1084
goto @R_COCH_547

:R_COCH_537
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
Char.ClearLastWeaponDamage($been_in_freight_before)

:R_COCH_547
gosub @R_COCH_905
goto @R_COCH_436

:R_COCH_561
goto @R_COCH_568

:R_COCH_568
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_COCH_600
Text.PrintNow('RUN_03', 4000, 1)

:R_COCH_600
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @R_COCH_632
Text.PrintNow('RUN_04', 4000, 1)

:R_COCH_632
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_COCH_669
Text.PrintNow('RUN_05', 4000, 1)

:R_COCH_669
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
Player.ClearWantedLevel($statbike_temp)
return 

:R_COCH_694
$cammy_off_Z = 0
Game.HideAllFrontendBlips(True)
Streaming.MarkModelAsNoLongerNeeded(195)
Streaming.RemoveAnimation("KISSING")
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:R_COCH_737
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_COCH_776
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:R_COCH_776
return 

:R_COCH_778
Camera.SetInFrontOfPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_COCH_819
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:R_COCH_819
Camera.RestoreJumpcut
return 

:R_COCH_823
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:R_COCH_838
if 
  Camera.GetFadingStatus
goto_if_false @R_COCH_862
wait 0
goto @R_COCH_838

:R_COCH_862
return 

:R_COCH_864
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:R_COCH_879
if 
  Camera.GetFadingStatus
goto_if_false @R_COCH_903
wait 0
goto @R_COCH_879

:R_COCH_903
return 

:R_COCH_905
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @R_COCH_920

:R_COCH_920
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @R_COCH_935

:R_COCH_935
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @R_COCH_950

:R_COCH_950
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @R_COCH_986
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_COCH_986
Task.Die($been_in_freight_before)

:R_COCH_986
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @R_COCH_1001

:R_COCH_1001
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @R_COCH_1037
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_COCH_1037
Task.Die($stattreadstamina_ctr)

:R_COCH_1037
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @R_COCH_1082
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_COCH_1082
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:R_COCH_1082
return 

:R_COCH_1084
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_COCH_1443
if 
  48@ == 0
goto_if_false @R_COCH_1436
if and
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($been_in_freight_before)
goto_if_false @R_COCH_1429
if 
  Char.IsStopped($been_in_freight_before)
goto_if_false @R_COCH_1429
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($been_in_freight_before, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 34@, 37@, 40@, 1.2, 1.2, 1.0, False)
goto_if_false @R_COCH_1402
if 
  49@ == 0
goto_if_false @R_COCH_1267
Text.PrintHelpForever('GF_0021')
49@ = 1

:R_COCH_1267
34@, 37@, 40@ = Char.GetCoordinates($stattreadstamina_ctr)
35@, 38@, 41@ = Char.GetCoordinates($been_in_freight_before)
set_lvar_float_to_lvar_float 43@ = 41@
43@ -= 0.02
set_lvar_float_to_lvar_float 44@ = 41@
44@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 40@ > 43@
  is_float_lvar_greater_than_float_lvar 44@ > 40@
goto_if_false @R_COCH_1395
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftShoulder1)
goto_if_false @R_COCH_1395
48@ = 1
gosub @R_COCH_1445

:R_COCH_1395
goto @R_COCH_1429

:R_COCH_1402
if 
  49@ == 1
goto_if_false @R_COCH_1429
Text.ClearHelp
49@ = 0

:R_COCH_1429
goto @R_COCH_1443

:R_COCH_1436
gosub @R_COCH_1445

:R_COCH_1443
return 

:R_COCH_1445
switch_start 48@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @R_COCH_2856 {caseNum1} 1 {caseLabel1} @R_COCH_1508 {caseNum2} 2 {caseLabel2} @R_COCH_1705 {caseNum3} 3 {caseLabel3} @R_COCH_2219 {caseNum4} 4 {caseLabel4} @R_COCH_2357 {caseNum5} -1 {caseLabel5} @R_COCH_2856 {caseNum6} -1 {caseLabel6} @R_COCH_2856 {caseNum7} -1 {caseLabel7} @R_COCH_2856

:R_COCH_1508
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_COCH_1698
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($been_in_freight_before)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $been_in_freight_before)
Task.TurnCharToFaceChar($been_in_freight_before, $stattreadstamina_ctr)
48@ += 1

:R_COCH_1698
goto @R_COCH_2856

:R_COCH_1705
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_COCH_2212
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1593)
if and
  is_int_lvar_equal_to_constant 46@ == 7
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_COCH_2064
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision($been_in_freight_before, False)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
41@ = World.GetGroundZFor3DCoord(35@, 38@, 41@)
36@, 39@, 42@ = Char.GetCoordinates($been_in_freight_before)
42@ = World.GetGroundZFor3DCoord(36@, 39@, 42@)
Char.SetCoordinates($been_in_freight_before, 35@, 38@, 41@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(34@, 37@, 40@, 35@, 38@, 41@, True, True, False, True, False)
goto_if_false @R_COCH_2036
Camera.SetFixedPosition(34@, 37@, 40@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(35@, 38@, 41@, SwitchType.JumpCut)

:R_COCH_2036
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill($been_in_freight_before, -1)
48@ += 1
goto @R_COCH_2212

:R_COCH_2064
if 
  is_int_lvar_equal_to_constant 46@ == 7
goto_if_false @R_COCH_2125
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if and
  not is_int_lvar_equal_to_constant 46@ == 1
  not is_int_lvar_equal_to_constant 46@ == 0
goto_if_false @R_COCH_2125
Task.StandStill($stattreadstamina_ctr, -1)

:R_COCH_2125
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_COCH_2212
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1466)
if and
  not is_int_lvar_equal_to_constant 47@ == 1
  not is_int_lvar_equal_to_constant 47@ == 0
goto_if_false @R_COCH_2212
Task.StandStill($been_in_freight_before, -1)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)

:R_COCH_2212
goto @R_COCH_2856

:R_COCH_2219
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_COCH_2350
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim($been_in_freight_before, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
48@ += 1
Char.AddArmor($stattreadstamina_ctr, 150)
Char.AddArmor($been_in_freight_before, 100)
Char.SetHealth($been_in_freight_before, 200)
Char.SetHealth($stattreadstamina_ctr, 200)
:R_COCH_2350
goto @R_COCH_2856

:R_COCH_2357
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_COCH_2849
43@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @R_COCH_2442
43@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:R_COCH_2442
if 
  43@ > -1.0
goto_if_false @R_COCH_2664
if 
  43@ == 1.0
goto_if_false @R_COCH_2657
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_COCH_2657
goto @R_COCH_2849

:R_COCH_2664
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause($been_in_freight_before, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_COCH_2849
goto @R_COCH_2856

:R_COCH_2856
return 

//-------------Mission 150---------------
// Originally: Run-around (2player)

:R_MICH
script_name 'R_MICH'
gosub @R_MICH_47
if 
  has_deatharrest_been_executed 
goto_if_false @R_MICH_38
gosub @R_MICH_568

:R_MICH_38
gosub @R_MICH_694
terminate_this_script 

:R_MICH_47
Game.HideAllFrontendBlips(True)
Camera.SetFadingColor(0, 0, 0)
$cammy_off_Z = 1
$weapon_shop1_blip = 1
Stat.RegisterMissionGiven
Text.LoadMissionText('RUN_2P')
gosub @R_MICH_823
wait 0
Streaming.RequestModel(192)
Streaming.RequestAnimation("KISSING")

:R_MICH_113
if or
  not Streaming.HasModelLoaded(192)
  not Streaming.HasAnimationLoaded("KISSING")
goto_if_false @R_MICH_151
wait 0
goto @R_MICH_113

:R_MICH_151
TIMERA = 0
World.ClearArea(-1804.144, 1199.773, 24.1172, 10.0, True)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_MICH_330
Char.SetCoordinates($stattreadstamina_ctr, -1804.144, 1199.773, 24.1172)
Char.SetHeading($stattreadstamina_ctr, 184.5768)
$flag_pimping_trigger = Player.Create(1, -1802.808, 1199.912, 24.1172)
Game.DoWeaponStuffAtStartOf2PGame
$been_in_freight_before = Player.GetChar($flag_pimping_trigger)
Char.SetHeading($been_in_freight_before, 184.5768)
Player.SetModel($flag_pimping_trigger, 192)
Game.SetRelationship(RelationshipType.Hate, PedType.Gang1, PedType.Player2)
Game.SetRelationship(RelationshipType.Like, PedType.Gang2, PedType.Player2)
Game.SetPlayerPlayerTargeting(False)
Char.SetNeverTargeted($stattreadstamina_ctr, True)
Char.SetNeverTargeted($been_in_freight_before, True)
Camera.SetTwoPlayerMode(2)
Game.LimitTwoPlayerDistance(20.0)
Char.DisableSpeech($been_in_freight_before, True)

:R_MICH_330
gosub @R_MICH_737
Camera.SetFixedPosition(-1802.895, 1194.637, 27.1164, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1802.969, 1195.568, 26.7584, SwitchType.JumpCut)
gosub @R_MICH_864
Text.PrintNow('RUN_02', 5000, 1)
wait 5000
Text.ClearPrints
gosub @R_MICH_778
Text.PrintHelp('RUN_06')

:R_MICH_436
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MICH_561
wait 0
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MICH_547
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @R_MICH_547
if and
  not Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.SprayCan)
  not Char.HasBeenDamagedByWeapon($been_in_freight_before, WeaponType.SprayCan)
goto_if_false @R_MICH_537
gosub @R_MICH_1084
goto @R_MICH_547

:R_MICH_537
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
Char.ClearLastWeaponDamage($been_in_freight_before)

:R_MICH_547
gosub @R_MICH_905
goto @R_MICH_436

:R_MICH_561
goto @R_MICH_568

:R_MICH_568
if 
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_MICH_600
Text.PrintNow('RUN_03', 4000, 1)

:R_MICH_600
if 
  Char.IsDead($been_in_freight_before)
goto_if_false @R_MICH_632
Text.PrintNow('RUN_04', 4000, 1)

:R_MICH_632
if and
  Char.IsDead($been_in_freight_before)
  Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_MICH_669
Text.PrintNow('RUN_05', 4000, 1)

:R_MICH_669
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)
return 
Player.ClearWantedLevel($statbike_temp)
return 

:R_MICH_694
$cammy_off_Z = 0
Game.HideAllFrontendBlips(True)
Streaming.MarkModelAsNoLongerNeeded(192)
Streaming.RemoveAnimation("KISSING")
$weapon_shop1_blip = 0
Player.ClearWantedLevel($statbike_temp)
Mission.Finish
return 

:R_MICH_737
Hud.SwitchWidescreen(True)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_MICH_776
Player.SetControl($statbike_temp, False)
Player.SetControl($flag_pimping_trigger, False)

:R_MICH_776
return 

:R_MICH_778
Camera.SetInFrontOfPlayer
Hud.SwitchWidescreen(False)
if and
  Player.IsPlaying($statbike_temp)
  Player.IsPlaying($flag_pimping_trigger)
goto_if_false @R_MICH_819
Player.SetControl($statbike_temp, True)
Player.SetControl($flag_pimping_trigger, True)

:R_MICH_819
Camera.RestoreJumpcut
return 

:R_MICH_823
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.Out)

:R_MICH_838
if 
  Camera.GetFadingStatus
goto_if_false @R_MICH_862
wait 0
goto @R_MICH_838

:R_MICH_862
return 

:R_MICH_864
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(2000, Fade.In)

:R_MICH_879
if 
  Camera.GetFadingStatus
goto_if_false @R_MICH_903
wait 0
goto @R_MICH_879

:R_MICH_903
return 

:R_MICH_905
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @R_MICH_920

:R_MICH_920
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @R_MICH_935

:R_MICH_935
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @R_MICH_950

:R_MICH_950
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @R_MICH_986
if 
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MICH_986
Task.Die($been_in_freight_before)

:R_MICH_986
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @R_MICH_1001

:R_MICH_1001
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @R_MICH_1037
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_MICH_1037
Task.Die($stattreadstamina_ctr)

:R_MICH_1037
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @R_MICH_1082
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @R_MICH_1082
Char.AddArmor($stattreadstamina_ctr, 100)
Player.IncreaseMaxHealth($statbike_temp, 100)

:R_MICH_1082
return 

:R_MICH_1084
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MICH_1443
if 
  48@ == 0
goto_if_false @R_MICH_1436
if and
  not Char.IsInAnyCar($stattreadstamina_ctr)
  not Char.IsInAnyCar($been_in_freight_before)
goto_if_false @R_MICH_1429
if 
  Char.IsStopped($been_in_freight_before)
goto_if_false @R_MICH_1429
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($been_in_freight_before, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 34@, 37@, 40@, 1.2, 1.2, 1.0, False)
goto_if_false @R_MICH_1402
if 
  49@ == 0
goto_if_false @R_MICH_1267
Text.PrintHelpForever('GF_0021')
49@ = 1

:R_MICH_1267
34@, 37@, 40@ = Char.GetCoordinates($stattreadstamina_ctr)
35@, 38@, 41@ = Char.GetCoordinates($been_in_freight_before)
set_lvar_float_to_lvar_float 43@ = 41@
43@ -= 0.02
set_lvar_float_to_lvar_float 44@ = 41@
44@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 40@ > 43@
  is_float_lvar_greater_than_float_lvar 44@ > 40@
goto_if_false @R_MICH_1395
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
  Pad.IsButtonPressed(PadId.Pad2, Button.LeftShoulder1)
goto_if_false @R_MICH_1395
48@ = 1
gosub @R_MICH_1445

:R_MICH_1395
goto @R_MICH_1429

:R_MICH_1402
if 
  49@ == 1
goto_if_false @R_MICH_1429
Text.ClearHelp
49@ = 0

:R_MICH_1429
goto @R_MICH_1443

:R_MICH_1436
gosub @R_MICH_1445

:R_MICH_1443
return 

:R_MICH_1445
switch_start 48@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @R_MICH_2856 {caseNum1} 1 {caseLabel1} @R_MICH_1508 {caseNum2} 2 {caseLabel2} @R_MICH_1705 {caseNum3} 3 {caseLabel3} @R_MICH_2219 {caseNum4} 4 {caseLabel4} @R_MICH_2357 {caseNum5} -1 {caseLabel5} @R_MICH_2856 {caseNum6} -1 {caseLabel6} @R_MICH_2856 {caseNum7} -1 {caseLabel7} @R_MICH_2856

:R_MICH_1508
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MICH_1698
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately($been_in_freight_before)
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsOff(34@, 37@, 40@, 35@, 38@, 41@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $been_in_freight_before)
Task.TurnCharToFaceChar($been_in_freight_before, $stattreadstamina_ctr)
48@ += 1

:R_MICH_1698
goto @R_MICH_2856

:R_MICH_1705
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MICH_2212
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1593)
if and
  is_int_lvar_equal_to_constant 46@ == 7
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_MICH_2064
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision($been_in_freight_before, False)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
41@ = World.GetGroundZFor3DCoord(35@, 38@, 41@)
36@, 39@, 42@ = Char.GetCoordinates($been_in_freight_before)
42@ = World.GetGroundZFor3DCoord(36@, 39@, 42@)
Char.SetCoordinates($been_in_freight_before, 35@, 38@, 41@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(34@, 37@, 40@, 35@, 38@, 41@, True, True, False, True, False)
goto_if_false @R_MICH_2036
Camera.SetFixedPosition(34@, 37@, 40@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(35@, 38@, 41@, SwitchType.JumpCut)

:R_MICH_2036
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill($been_in_freight_before, -1)
48@ += 1
goto @R_MICH_2212

:R_MICH_2064
if 
  is_int_lvar_equal_to_constant 46@ == 7
goto_if_false @R_MICH_2125
46@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if and
  not is_int_lvar_equal_to_constant 46@ == 1
  not is_int_lvar_equal_to_constant 46@ == 0
goto_if_false @R_MICH_2125
Task.StandStill($stattreadstamina_ctr, -1)

:R_MICH_2125
if 
  is_int_lvar_equal_to_constant 47@ == 7
goto_if_false @R_MICH_2212
47@ = Char.GetScriptTaskStatus($been_in_freight_before, 1466)
if and
  not is_int_lvar_equal_to_constant 47@ == 1
  not is_int_lvar_equal_to_constant 47@ == 0
goto_if_false @R_MICH_2212
Task.StandStill($been_in_freight_before, -1)
43@ = Char.GetHeading($stattreadstamina_ctr)
43@ += 180.0
Char.SetHeading($been_in_freight_before, 43@)

:R_MICH_2212
goto @R_MICH_2856

:R_MICH_2219
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MICH_2350
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim($been_in_freight_before, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
48@ += 1
Char.AddArmor($stattreadstamina_ctr, 150)
Char.AddArmor($been_in_freight_before, 100)
Char.SetHealth($been_in_freight_before, 200)
Char.SetHealth($stattreadstamina_ctr, 200)
:R_MICH_2350
goto @R_MICH_2856

:R_MICH_2357
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead($been_in_freight_before)
goto_if_false @R_MICH_2849
43@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @R_MICH_2442
43@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:R_MICH_2442
if 
  43@ > -1.0
goto_if_false @R_MICH_2664
if 
  43@ == 1.0
goto_if_false @R_MICH_2657
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_MICH_2657
goto @R_MICH_2849

:R_MICH_2664
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause($been_in_freight_before, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene($been_in_freight_before, False)
Char.SetCoordinates($been_in_freight_before, 36@, 39@, 42@)
34@, 37@, 40@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
35@, 38@, 41@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Path.SwitchPedRoadsBackToOriginal(34@, 37@, 40@, 35@, 38@, 41@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision($been_in_freight_before, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
48@ = 0

:R_MICH_2849
goto @R_MICH_2856

:R_MICH_2856
return 

//-------------External script 0 (PLAYER_PARACHUTE)---------------

:PLCHUTE
script_name 'PLCHUTE'
Streaming.RequestModel(371)

:PLCHUTE_16
if 
  not Streaming.HasModelLoaded(371)
goto_if_false @PLCHUTE_43
wait 0
goto @PLCHUTE_16

:PLCHUTE_43
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @PLCHUTE_59

:PLCHUTE_59
$para_flare_Vy = 0
$flag_returned_shoehorses = 0
$para_float_Vz = 0
if 
  $para_flare_Vy == 999
goto_if_false @PLCHUTE_118
$ai_target_z = Pickup.Create(371, PickupType.Once, $x, $y, $z)

:PLCHUTE_118
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @PLCHUTE_5455
if 
  not Game.Is2PlayerGameGoingOn
goto_if_false @PLCHUTE_5455
if 
  $flag_returned_shoehorses <> 0
goto_if_false @PLCHUTE_176
Pad.SetPlayerCycleWeaponButton($statbike_temp, False)

:PLCHUTE_176
if 
  $para_float_Vz > 0
goto_if_false @PLCHUTE_219
if 
  not Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Parachute)
goto_if_false @PLCHUTE_219
gosub @PLCHUTE_5521

:PLCHUTE_219
if 
  $para_float_Vz == 0
goto_if_false @PLCHUTE_274
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Parachute)
goto_if_false @PLCHUTE_274
Streaming.RequestModel(#PARACHUTE)
$para_float_Vz = 1
$para_flare_Vy = 0

:PLCHUTE_274
if 
  $para_float_Vz == 1
goto_if_false @PLCHUTE_377
if 
  Streaming.HasModelLoaded(#PARACHUTE)
goto_if_false @PLCHUTE_377
17@ = Object.Create(#PARACHUTE, $x, $y, $z)
Object.AttachToChar(17@, $stattreadstamina_ctr, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
Object.SetVisible(17@, False)
$para_float_Vz = 2

:PLCHUTE_377
if and
  $para_float_Vz == 2
  $flag_returned_shoehorses == 1
goto_if_false @PLCHUTE_409
$para_float_Vz = 3

:PLCHUTE_409
if and
  $flag_returned_shoehorses == 0
  $para_float_Vz > 0
goto_if_false @PLCHUTE_565
if 
  Char.IsInAir($stattreadstamina_ctr)
goto_if_false @PLCHUTE_565
$para_control_off, $para_force_chute_open, $player_fall_state = Char.GetVelocity($stattreadstamina_ctr)
if 
  -10.0 > $player_fall_state
goto_if_false @PLCHUTE_565
7@ = Char.GetHeightAboveGround($stattreadstamina_ctr)
if 
  7@ > 20.0
goto_if_false @PLCHUTE_565
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1037)
$flag_returned_shoehorses = 1
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
0@ = 0
$ai_target_y = 0.0

:PLCHUTE_565
if 
  $flag_returned_shoehorses == 1
goto_if_false @PLCHUTE_2386
if 
  0@ == 0
goto_if_false @PLCHUTE_608
0@ = 2

:PLCHUTE_608
if 
  0@ == 2
goto_if_false @PLCHUTE_729
27@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 2066)
if 
  is_int_lvar_equal_to_constant 27@ == 7
goto_if_false @PLCHUTE_729
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "FALL_SKYDIVE", "PED", 1.0, True, False, False, False, -1)
Streaming.RequestAnimation("PARACHUTE")
15@ = 1
1@ = Char.GetHeading($stattreadstamina_ctr)
0@ = 3

:PLCHUTE_729
if 
  0@ == 3
goto_if_false @PLCHUTE_2386
27@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 2066)
if 
  is_int_lvar_equal_to_constant 27@ == 7
goto_if_false @PLCHUTE_815
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "FALL_SKYDIVE", "PED", 1.0, True, False, False, False, -1)

:PLCHUTE_815
7@ = Char.GetHeightAboveGround($stattreadstamina_ctr)
if and
  100.0 > 7@
  7@ > 60.0
goto_if_false @PLCHUTE_912
if 
  Streaming.HasAnimationLoaded("PARACHUTE")
goto_if_false @PLCHUTE_912
if 
  $weapon_shop1_blip == 0
goto_if_false @PLCHUTE_912
Text.PrintNow('PARA_01', 1000, 1)

:PLCHUTE_912
10@, 11@, 12@, 12@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if 
  $bcesar3_passed_mission == 1
goto_if_false @PLCHUTE_960
10@ = 0
11@ = 0

:PLCHUTE_960
cset_lvar_float_to_lvar_int 21@ =# 10@
21@ /= 4.267
sub_float_lvar_from_float_lvar 21@ -= 2@
21@ /= 20.0
add_float_lvar_to_float_lvar 2@ += 21@
set_lvar_float_to_lvar_float 21@ = 2@
21@ /= 5.0
sub_float_lvar_from_float_lvar 1@ -= 21@
if 
  1@ > 180.0
goto_if_false @PLCHUTE_1061
1@ -= 360.0

:PLCHUTE_1061
if 
  -180.0 > 1@
goto_if_false @PLCHUTE_1092
1@ += 360.0

:PLCHUTE_1092
cset_lvar_float_to_lvar_int 22@ =# 11@
22@ /= 4.267
sub_float_lvar_from_float_lvar 22@ -= 3@
22@ /= 20.0
add_float_lvar_to_float_lvar 3@ += 22@
8@, 9@, $player_fall_state = Char.GetVelocity($stattreadstamina_ctr)
if 
  is_float_var_greater_than_float_var $para_Vy > $player_fall_state
goto_if_false @PLCHUTE_1177
set_var_float_to_var_float $player_fall_state = $para_Vy

:PLCHUTE_1177
if 
  is_float_var_greater_than_float_var $ai_target_y > $player_fall_state
goto_if_false @PLCHUTE_1204
set_var_float_to_var_float $ai_target_y = $player_fall_state

:PLCHUTE_1204
if 
  is_float_var_greater_than_float_var $para_Vy > $ai_target_y
goto_if_false @PLCHUTE_1231
set_var_float_to_var_float $ai_target_y = $para_Vy

:PLCHUTE_1231
if and
  is_float_var_greater_than_float_var $player_fall_state > $ai_target_y
  $lowrider_meeting_is_loaded <> 1
goto_if_false @PLCHUTE_1407
if 
  not Char.IsInWater($stattreadstamina_ctr)
goto_if_false @PLCHUTE_1361
if 
  -20.0 > $ai_target_y
goto_if_false @PLCHUTE_1308
$flag_returned_shoehorses = 2
goto @PLCHUTE_1354

:PLCHUTE_1308
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "FALL_SKYDIVE", "PED", 1.0, True, False, False, False, 100)
$flag_returned_shoehorses = 7

:PLCHUTE_1354
goto @PLCHUTE_1407

:PLCHUTE_1361
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "FALL_SKYDIVE", "PED", 1.0, True, False, False, False, 100)
$flag_returned_shoehorses = 7

:PLCHUTE_1407
set_lvar_float_to_lvar_float 4@ = 3@
4@ /= 30.0
mult_float_lvar_by_float_var 4@ *= $para_Vz
$para_control_off = Math.Sin(1@)
$para_force_chute_open = Math.Cos(1@)
mult_float_var_by_float_lvar $para_control_off *= 4@
mult_float_var_by_float_lvar $para_force_chute_open *= 4@
$para_force_chute_open *= -1.0
add_float_var_to_float_var $para_force_chute_open += $para_pickup_flag
set_lvar_float_to_lvar_float 21@ = 8@
sub_float_var_from_float_lvar 21@ -= $para_control_off
21@ *= 0.01
set_var_float_to_lvar_float $para_control_off = 8@
sub_float_lvar_from_float_var $para_control_off -= 21@
set_lvar_float_to_lvar_float 21@ = 9@
sub_float_var_from_float_lvar 21@ -= $para_force_chute_open
21@ *= 0.01
set_var_float_to_lvar_float $para_force_chute_open = 9@
sub_float_lvar_from_float_var $para_force_chute_open -= 21@
set_lvar_int_to_lvar_int 12@ = 10@
set_lvar_int_to_lvar_int 13@ = 11@
abs_lvar_int 12@
abs_lvar_int 13@
if or
  12@ > 40
  13@ > 40
goto_if_false @PLCHUTE_2109
if 
  is_int_lvar_greater_than_int_lvar 12@ > 13@
goto_if_false @PLCHUTE_1872
if 
  10@ >= 0
goto_if_false @PLCHUTE_1751
if 
  15@ <> 2
goto_if_false @PLCHUTE_1751
if 
  Streaming.HasAnimationLoaded("PARACHUTE")
goto_if_false @PLCHUTE_1744
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "FALL_SKYDIVE_R", "PARACHUTE", 1.0, True, False, False, True, -2)

:PLCHUTE_1744
15@ = 2

:PLCHUTE_1751
if 
  0 > 10@
goto_if_false @PLCHUTE_1865
if 
  15@ <> 3
goto_if_false @PLCHUTE_1865
if 
  Streaming.HasAnimationLoaded("PARACHUTE")
goto_if_false @PLCHUTE_1858
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "FALL_SKYDIVE_L", "PARACHUTE", 1.0, True, False, False, True, -2)

:PLCHUTE_1858
15@ = 3

:PLCHUTE_1865
goto @PLCHUTE_2102

:PLCHUTE_1872
if 
  11@ >= 0
goto_if_false @PLCHUTE_1984
if 
  15@ <> 4
goto_if_false @PLCHUTE_1984
if 
  Streaming.HasAnimationLoaded("PARACHUTE")
goto_if_false @PLCHUTE_1977
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "FALL_SKYDIVE", "PARACHUTE", 1.0, True, False, False, True, -2)

:PLCHUTE_1977
15@ = 4

:PLCHUTE_1984
if 
  0 > 11@
goto_if_false @PLCHUTE_2102
if 
  15@ <> 5
goto_if_false @PLCHUTE_2102
if 
  Streaming.HasAnimationLoaded("PARACHUTE")
goto_if_false @PLCHUTE_2095
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "FALL_SKYDIVE_ACCEL", "PARACHUTE", 1.0, True, False, False, True, -2)

:PLCHUTE_2095
15@ = 5

:PLCHUTE_2102
goto @PLCHUTE_2203

:PLCHUTE_2109
if 
  15@ <> 1
goto_if_false @PLCHUTE_2203
if 
  Streaming.HasAnimationLoaded("PARACHUTE")
goto_if_false @PLCHUTE_2203
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "FALL_SKYDIVE", "PARACHUTE", 1.0, True, False, False, True, -2)
15@ = 1

:PLCHUTE_2203
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
  $returned_oysters_flag == 1
goto_if_false @PLCHUTE_2386
if 
  $lowrider_meeting_is_loaded <> 1
goto_if_false @PLCHUTE_2386
if 
  Streaming.HasAnimationLoaded("PARACHUTE")
goto_if_false @PLCHUTE_2386
if and
  $para_float_Vz == 3
  $bcesar3_passed_mission == 0
goto_if_false @PLCHUTE_2386
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PARA_OPEN", "PARACHUTE", 8.0, False, False, False, True, -2)
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1038)
set_var_int_to_lvar_int $para_anim_time = TIMERA
$para_anim_time += 1100
$flag_returned_shoehorses = 3
0@ = 0

:PLCHUTE_2386
if 
  $flag_returned_shoehorses == 2
goto_if_false @PLCHUTE_2504
if 
  Streaming.HasAnimationLoaded("PARACHUTE")
goto_if_false @PLCHUTE_2492
Char.SetHeading($stattreadstamina_ctr, 1@)
Task.DieNamedAnim($stattreadstamina_ctr, "FALL_SKYDIVE_DIE", "PARACHUTE", 1000.0, 0)
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1189)
goto @PLCHUTE_2497

:PLCHUTE_2492
Task.Die($stattreadstamina_ctr)

:PLCHUTE_2497
gosub @PLCHUTE_5521

:PLCHUTE_2504
if 
  $flag_returned_shoehorses == 3
goto_if_false @PLCHUTE_4781
if 
  $para_anim_time > 0
goto_if_false @PLCHUTE_2586
if 
  is_int_lvar_greater_than_int_var TIMERA > $para_anim_time
goto_if_false @PLCHUTE_2586
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1039)
$para_anim_time = 0

:PLCHUTE_2586
if 
  0@ == 0
goto_if_false @PLCHUTE_2689
set_lvar_float_to_lvar_float 25@ = 3@
25@ /= 500.0
set_lvar_float_to_lvar_float 26@ = 2@
26@ /= 500.0
set_lvar_int_to_lvar_int 18@ = TIMERA
set_lvar_int_to_lvar_int 19@ = TIMERA
set_lvar_float_to_lvar_float 5@ = 4@
5@ *= -1.0
set_lvar_float_to_var_float 6@ = $player_fall_state
0@ = 1

:PLCHUTE_2689
if 
  0@ == 1
goto_if_false @PLCHUTE_2856
set_lvar_int_to_lvar_int 10@ = TIMERA
sub_int_lvar_from_int_lvar 10@ -= 19@
if 
  500 > 10@
goto_if_false @PLCHUTE_2829
set_lvar_int_to_lvar_int 10@ = TIMERA
sub_int_lvar_from_int_lvar 10@ -= 18@
set_lvar_int_to_lvar_int 18@ = TIMERA
cset_lvar_float_to_lvar_int 21@ =# 10@
set_lvar_float_to_lvar_float 22@ = 25@
mult_float_lvar_by_float_lvar 22@ *= 21@
set_lvar_float_to_lvar_float 23@ = 26@
mult_float_lvar_by_float_lvar 23@ *= 21@
sub_float_lvar_from_float_lvar 3@ -= 22@
sub_float_lvar_from_float_lvar 2@ -= 23@
goto @PLCHUTE_2856

:PLCHUTE_2829
2@ = 0.0
3@ = 0.0
0@ = 2

:PLCHUTE_2856
if 
  0@ == 2
goto_if_false @PLCHUTE_2964
if 
  Object.DoesExist(17@)
goto_if_false @PLCHUTE_2964
Object.SetVisible(17@, True)
Object.SetScale(17@, 0.0)
set_lvar_int_to_lvar_int 19@ = TIMERA
wait 0
Object.PlayAnim(17@, "PARA_OPEN_O", "PARACHUTE", 1000.0, False, True)
0@ = 3

:PLCHUTE_2964
if 
  0@ == 3
goto_if_false @PLCHUTE_3067
set_lvar_int_to_lvar_int 10@ = TIMERA
sub_int_lvar_from_int_lvar 10@ -= 19@
if 
  500 > 10@
goto_if_false @PLCHUTE_3050
cset_lvar_float_to_lvar_int 21@ =# 10@
21@ /= 500.0
Object.SetScale(17@, 21@)
goto @PLCHUTE_3067

:PLCHUTE_3050
Object.SetScale(17@, 1.0)
0@ = 4

:PLCHUTE_3067
if 
  0@ == 5
goto_if_false @PLCHUTE_3136
20@ = Object.Create(#PARA_COLLISION, 0.0, 0.0, 0.0)
Object.SetVisible(20@, False)
Object.SetDynamic(20@, True)
Object.SetRecordsCollisions(20@, True)
0@ = 6

:PLCHUTE_3136
if 
  0@ == 6
goto_if_false @PLCHUTE_4354
10@, 11@, 12@, 12@ = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if 
  $bcesar3_passed_mission == 1
goto_if_false @PLCHUTE_3202
10@ = 0
11@ = 0

:PLCHUTE_3202
cset_lvar_float_to_lvar_int 21@ =# 10@
21@ /= 4.267
sub_float_lvar_from_float_lvar 21@ -= 2@
21@ /= 20.0
add_float_lvar_to_float_lvar 2@ += 21@
set_lvar_float_to_lvar_float 21@ = 2@
21@ /= 15.0
sub_float_lvar_from_float_lvar 1@ -= 21@
if 
  1@ > 180.0
goto_if_false @PLCHUTE_3303
1@ -= 360.0

:PLCHUTE_3303
if 
  -180.0 > 1@
goto_if_false @PLCHUTE_3334
1@ += 360.0

:PLCHUTE_3334
$para_control_off = Math.Sin(1@)
$para_force_chute_open = Math.Cos(1@)
mult_float_var_by_float_var $para_control_off *= $para_freefall_Vz
mult_float_var_by_float_var $para_force_chute_open *= $para_freefall_Vz
$para_control_off *= -1.0
set_lvar_int_to_lvar_int 12@ = 10@
set_lvar_int_to_lvar_int 13@ = 11@
abs_lvar_int 12@
abs_lvar_int 13@
if or
  12@ > 40
  13@ > 40
goto_if_false @PLCHUTE_4066
if 
  is_int_lvar_greater_than_int_lvar 12@ > 13@
goto_if_false @PLCHUTE_3741
set_lvar_float_to_var_float 21@ = $para_freefall_Vy
sub_float_var_from_float_lvar 21@ -= $player_fall_state
21@ /= 20.0
add_float_lvar_to_float_var $player_fall_state += 21@
if 
  10@ >= 0
goto_if_false @PLCHUTE_3607
if 
  15@ <> 2
goto_if_false @PLCHUTE_3607
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PARA_STEERR", "PARACHUTE", 1.0, True, False, False, True, -2)
Object.PlayAnim(17@, "PARA_STEERR_O", "PARACHUTE", 1.0, True, True)
15@ = 2

:PLCHUTE_3607
if 
  0 > 10@
goto_if_false @PLCHUTE_3734
if 
  15@ <> 3
goto_if_false @PLCHUTE_3734
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PARA_STEERL", "PARACHUTE", 1.0, True, False, False, True, -2)
Object.PlayAnim(17@, "PARA_STEERL_O", "PARACHUTE", 1.0, True, True)
15@ = 3

:PLCHUTE_3734
goto @PLCHUTE_4059

:PLCHUTE_3741
if 
  11@ >= 0
goto_if_false @PLCHUTE_3900
set_lvar_float_to_var_float 21@ = $para_Vx
sub_float_var_from_float_lvar 21@ -= $player_fall_state
21@ /= 20.0
add_float_lvar_to_float_var $player_fall_state += 21@
if 
  15@ <> 4
goto_if_false @PLCHUTE_3900
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PARA_DECEL", "PARACHUTE", 1.0, True, False, False, True, -2)
Object.PlayAnim(17@, "PARA_DECEL_O", "PARACHUTE", 1.0, True, True)
15@ = 4

:PLCHUTE_3900
if 
  0 > 11@
goto_if_false @PLCHUTE_4059
set_lvar_float_to_var_float 21@ = $para_freefall_Vy
sub_float_var_from_float_lvar 21@ -= $player_fall_state
21@ /= 20.0
add_float_lvar_to_float_var $player_fall_state += 21@
if 
  15@ <> 5
goto_if_false @PLCHUTE_4059
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PARA_FLOAT", "PARACHUTE", 1.0, True, False, False, True, -2)
Object.PlayAnim(17@, "PARA_FLOAT_O", "PARACHUTE", 1.0, True, True)
15@ = 5

:PLCHUTE_4059
goto @PLCHUTE_4225

:PLCHUTE_4066
set_lvar_float_to_var_float 21@ = $para_freefall_Vy
sub_float_var_from_float_lvar 21@ -= $player_fall_state
21@ /= 20.0
add_float_lvar_to_float_var $player_fall_state += 21@
if 
  15@ <> 5
goto_if_false @PLCHUTE_4225
if 
  15@ <> 1
goto_if_false @PLCHUTE_4225
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PARA_FLOAT", "PARACHUTE", 1.0, True, False, False, True, -2)
Object.PlayAnim(17@, "PARA_FLOAT_O", "PARACHUTE", 1.0, True, True)
15@ = 1

:PLCHUTE_4225
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(17@)
Object.SetCoordinatesAndVelocity(20@, $on_footY, $on_footZ, $in_carX)
if 
  Object.HasCollidedWithAnything(20@)
goto_if_false @PLCHUTE_4318
Object.PlayAnim(17@, "PARA_RIP_LOOP_O", "PARACHUTE", 8.0, True, True)
0@ = 7

:PLCHUTE_4318
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @PLCHUTE_4354
Char.ClearTasksImmediately($stattreadstamina_ctr)
$flag_returned_shoehorses = 6
$para_flare_Vy = 3

:PLCHUTE_4354
if 
  Object.DoesExist(17@)
goto_if_false @PLCHUTE_4593
if 
  Object.IsPlayingAnim(17@, "PARA_OPEN_O")
goto_if_false @PLCHUTE_4593
21@ = Object.GetAnimCurrentTime(17@, "PARA_OPEN_O")
set_lvar_float_to_lvar_float 22@ = 6@
sub_float_var_from_float_lvar 22@ -= $para_freefall_Vy
set_lvar_float_to_lvar_float 23@ = 22@
mult_float_lvar_by_float_lvar 23@ *= 21@
set_var_float_to_lvar_float $player_fall_state = 6@
sub_float_lvar_from_float_var $player_fall_state -= 23@
set_lvar_float_to_lvar_float 22@ = 5@
sub_float_var_from_float_lvar 22@ -= $para_freefall_Vz
set_lvar_float_to_lvar_float 23@ = 22@
mult_float_lvar_by_float_lvar 23@ *= 21@
set_lvar_float_to_lvar_float 4@ = 5@
sub_float_lvar_from_float_lvar 4@ -= 23@
$para_control_off = Math.Sin(1@)
$para_force_chute_open = Math.Cos(1@)
mult_float_var_by_float_lvar $para_control_off *= 4@
mult_float_var_by_float_lvar $para_force_chute_open *= 4@
$para_control_off *= -1.0
if and
  21@ == 1.0
  0@ == 4
goto_if_false @PLCHUTE_4593
0@ = 5

:PLCHUTE_4593
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @PLCHUTE_4781
if 
  Char.IsInWater($stattreadstamina_ctr)
goto_if_false @PLCHUTE_4732
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PARA_LAND_WATER", "PARACHUTE", 8.0, True, True, False, False, 1000)
Object.PlayAnim(17@, "PARA_LAND_WATER_O", "PARACHUTE", 1000.0, False, True)
$flag_returned_shoehorses = 5
0@ = 0

:PLCHUTE_4732
21@, 21@, 23@ = Char.GetVelocity($stattreadstamina_ctr)
if 
  23@ > -0.1
goto_if_false @PLCHUTE_4781
$flag_returned_shoehorses = 4
0@ = 0

:PLCHUTE_4781
if 
  $flag_returned_shoehorses == 4
goto_if_false @PLCHUTE_5271
if 
  0@ == 0
goto_if_false @PLCHUTE_5168
$para_flare_Vy = 1
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
$z -= 1.0
Char.SetCoordinates($stattreadstamina_ctr, $x, $y, $z)
Char.SetRotation($stattreadstamina_ctr, 0.0, 0.0, 1@)
if 
  -10.0 > $player_fall_state
goto_if_false @PLCHUTE_4922
$flag_returned_shoehorses = 2
0@ = 0
goto @PLCHUTE_5092

:PLCHUTE_4922
if 
  -4.0 > $player_fall_state
goto_if_false @PLCHUTE_5047
14@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "FALL_FRONT", "PED", 20.0, False, False, False, True, 700)
Task.PlayAnimNonInterruptable(-1, "GETUP_FRONT", "PED", 8.0, False, True, False, False, -2)
Sequence.Close(14@)
Char.PerformSequence($stattreadstamina_ctr, 14@)
Sequence.Clear(14@)
goto @PLCHUTE_5085

:PLCHUTE_5047
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "RUN_PLAYER", "PED", 8.0, True, True, False, False, 1000)

:PLCHUTE_5085
0@ = 1

:PLCHUTE_5092
Object.PlayAnim(17@, "PARA_LAND_O", "PARACHUTE", 1000.0, False, True)
Object.Detach(17@, 0.0, 0.0, 0.0, False)
set_lvar_int_to_lvar_int 18@ = TIMERA
18@ += 1000

:PLCHUTE_5168
if 
  0@ == 1
goto_if_false @PLCHUTE_5271
if 
  Object.IsPlayingAnim(17@, "PARA_LAND_O")
goto_if_false @PLCHUTE_5271
21@ = Object.GetAnimCurrentTime(17@, "PARA_LAND_O")
if 
  21@ == 1.0
goto_if_false @PLCHUTE_5271
$para_flare_Vy = 2
gosub @PLCHUTE_5521

:PLCHUTE_5271
if 
  $flag_returned_shoehorses == 5
goto_if_false @PLCHUTE_5328
$para_flare_Vy = 1
if 
  0@ == 0
goto_if_false @PLCHUTE_5328
$para_flare_Vy = 2
gosub @PLCHUTE_5521

:PLCHUTE_5328
if and
  $flag_returned_shoehorses > 0
  4 > $flag_returned_shoehorses
goto_if_false @PLCHUTE_5405
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @PLCHUTE_5405
Char.SetVelocity($stattreadstamina_ctr, $para_control_off, $para_force_chute_open, $player_fall_state)
Char.SetHeading($stattreadstamina_ctr, 1@)
Char.SetRotation($stattreadstamina_ctr, 3@, 2@, 1@)

:PLCHUTE_5405
if 
  $flag_returned_shoehorses == 6
goto_if_false @PLCHUTE_5430
gosub @PLCHUTE_5521

:PLCHUTE_5430
if 
  $flag_returned_shoehorses == 7
goto_if_false @PLCHUTE_5455
gosub @PLCHUTE_5462

:PLCHUTE_5455
goto @PLCHUTE_118

:PLCHUTE_5462
$flag_returned_shoehorses = 0
0@ = 0
Streaming.MarkModelAsNoLongerNeeded(#PARACHUTE)
Streaming.RemoveAnimation("PARACHUTE")
Char.SetRotation($stattreadstamina_ctr, 0.0, 0.0, 1@)
Pad.SetPlayerCycleWeaponButton($statbike_temp, True)
return 

:PLCHUTE_5521
Object.Detach(17@, 0.0, 0.0, 0.0, False)
Object.RemoveElegantly(17@)
Object.Delete(20@)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Parachute)
$flag_returned_shoehorses = 0
$para_float_Vz = 0
0@ = 0
Streaming.MarkModelAsNoLongerNeeded(#PARACHUTE)
Streaming.RemoveAnimation("PARACHUTE")
Streaming.MarkModelAsNoLongerNeeded(371)
Char.SetRotation($stattreadstamina_ctr, 0.0, 0.0, 1@)
Pad.SetPlayerCycleWeaponButton($statbike_temp, True)
terminate_this_script 

//-------------External script 1 (PARACHUTE)---------------

:PARACH
script_name 'PARACH'
$tempf4 = 0
31@ = Math.RandomIntInRange(0, 6)
11@ = 10
17@ = 0
12@ = 0
$start_cam_z = 0
if 
  12@ == 100
goto_if_false @PARACH_122
0@ = Pickup.Create(#BRIEFCASE, PickupType.Once, 32.1527, 2239.726, 125.672)
8@ = Char.Create(PedType.CivMale, 61, 32.1527, 2239.726, 125.672)

:PARACH_122
if 
  not Char.IsDead(8@)
goto_if_false @PARACH_146
30@ = Char.GetHeightAboveGround(8@)

:PARACH_146
wait 0
set_var_int_to_lvar_int $start_cam_y = 17@
if 
  $start_cam_z == 2
goto_if_false @PARACH_202
if 
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_202
gosub @PARACH_6417

:PARACH_202
if 
  0@ <> -1
goto_if_false @PARACH_293
if 
  11@ == 10
goto_if_false @PARACH_293
if 
  0@ <> -1
goto_if_false @PARACH_286
if 
  Pickup.HasBeenCollected(0@)
goto_if_false @PARACH_279
11@ = 0

:PARACH_279
goto @PARACH_293

:PARACH_286
11@ = 0

:PARACH_293
if 
  0@ == -1
goto_if_false @PARACH_336
if 
  11@ == 10
goto_if_false @PARACH_336
11@ = 0

:PARACH_336
if 
  11@ == 0
goto_if_false @PARACH_384
Streaming.RequestAnimation("PARACHUTE")
Streaming.RequestModel(#PARACHUTE)
Streaming.RequestModel(#PARA_PACK)
11@ = 1

:PARACH_384
if 
  11@ == 1
goto_if_false @PARACH_443
if and
  Streaming.HasAnimationLoaded("PARACHUTE")
  Streaming.HasModelLoaded(#PARACHUTE)
  Streaming.HasModelLoaded(#PARA_PACK)
goto_if_false @PARACH_443
11@ = 2

:PARACH_443
if 
  11@ == 2
goto_if_false @PARACH_654
if 
  not Char.IsDead(8@)
goto_if_false @PARACH_491
$x, $y, $z = Char.GetCoordinates(8@)

:PARACH_491
9@ = Object.Create(#PARACHUTE, $x, $y, $z)
10@ = Object.Create(#PARA_PACK, $x, $y, $z)
Object.SetVisible(9@, False)
if 
  not Char.IsDead(8@)
goto_if_false @PARACH_647
Object.AttachToChar(9@, 8@, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0)
Object.SetRotation(10@, 90.0, 90.0, 90.0)
Task.PickUpObject(8@, 10@, -0.11, -0.05, 0.0, 1, 16, "NULL", "NULL", 0)

:PARACH_647
11@ = 3

:PARACH_654
if 
  11@ == 3
goto_if_false @PARACH_6053
if 
  not Char.IsDead(8@)
goto_if_false @PARACH_6053
if 
  31@ == 0
goto_if_false @PARACH_756
30@ = Char.GetHeightAboveGround(8@)
if 
  5.0 > 30@
goto_if_false @PARACH_749
31@ = 2
goto @PARACH_756

:PARACH_749
31@ = 5

:PARACH_756
31@ -= 1
if 
  not is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_789
gosub @PARACH_6503

:PARACH_789
if 
  Char.IsInAnyCar(8@)
goto_if_false @PARACH_819
$8306 = 1
goto @PARACH_826

:PARACH_819
$8306 = 0

:PARACH_826
if 
  not Char.IsDead(8@)
goto_if_false @PARACH_1186
if or
  Char.IsInAir(8@)
  $8306 == 0
goto_if_false @PARACH_1186
if and
  17@ == 0
  14@ == 0
  30@ > 5.0
goto_if_false @PARACH_1186
if 
  $8306 == 0
goto_if_false @PARACH_988
$8307 = Math.Sin($bce2_crate_blip)
mult_float_var_by_float_var $8307 *= $y_car_speed
$8307 *= -1.0
$8308 = Math.Cos($bce2_crate_blip)
mult_float_var_by_float_var $8308 *= $y_car_speed
$tempf5, $tempf5, $tempf5 = Char.GetVelocity(8@)
Char.SetVelocity(8@, $8307, $8308, $tempf5)

:PARACH_988
17@ = 1
$tempf4 = 1
set_lvar_int_to_lvar_int 18@ = TIMERA
27@ = Char.GetHeading(8@)
if 
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_1071
$para_give_heading = 3.0
$p_in_air = -2.0
16@ = 0
gosub @PARACH_6083

:PARACH_1071
if 
  7@ == 0
goto_if_false @PARACH_1141
Task.PlayAnimNonInterruptable(8@, "FALL_SKYDIVE", "PARACHUTE", 1.0, True, False, False, False, -1)
goto @PARACH_1186

:PARACH_1141
Task.PlayAnimNonInterruptable(8@, "FALL_SKYDIVE", "PARACHUTE", 1000.0, True, False, False, False, -1)

:PARACH_1186
if 
  17@ == 1
goto_if_false @PARACH_2838
if 
  Char.IsInWater(8@)
goto_if_false @PARACH_1268
Task.DieNamedAnim(8@, "FALL_SKYDIVE_DIE", "PARACHUTE", 1000.0, 0)
17@ = 2

:PARACH_1268
if 
  3.0 > 30@
goto_if_false @PARACH_1337
Task.DieNamedAnim(8@, "FALL_SKYDIVE_DIE", "PARACHUTE", 1000.0, 0)
17@ = 2

:PARACH_1337
$tempf5, $tempf5, $para_turny_rate = Char.GetVelocity(8@)
if 
  is_float_lvar_greater_than_float_var 1@ > $para_turny_rate
goto_if_false @PARACH_1378
set_var_float_to_lvar_float $para_turny_rate = 1@

:PARACH_1378
set_var_int_to_lvar_int $left_angle_check = TIMERA
sub_int_lvar_from_int_var $left_angle_check -= 18@
cset_lvar_float_to_var_int 28@ =# $left_angle_check
28@ /= 2000.0
if 
  28@ > 1.0
goto_if_false @PARACH_1443
28@ = 1.0

:PARACH_1443
if 
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_1490
if 
  1.0 >= 28@
goto_if_false @PARACH_1490
gosub @PARACH_6307

:PARACH_1490
if 
  28@ == 1.0
goto_if_false @PARACH_2431
if 
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_2413
$left_angle_check, $right_angle_check, $para_vel_change, $para_vel_change = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
cset_var_float_to_var_int $tempv2 =# $left_angle_check
$tempv2 /= 256.0
add_float_var_to_float_lvar 25@ += $tempv2
set_var_float_to_lvar_float $tempv3 = 25@
$tempv3 /= 30.0
if 
  -1.6 > $tempv3
goto_if_false @PARACH_1621
$tempv3 = -1.6

:PARACH_1621
if 
  $tempv3 > 1.6
goto_if_false @PARACH_1652
$tempv3 = 1.6

:PARACH_1652
sub_float_var_from_float_lvar 27@ -= $tempv3
if 
  $tempv2 == 0.0
goto_if_false @PARACH_1712
if 
  25@ <> 0.0
goto_if_false @PARACH_1712
25@ *= 0.95

:PARACH_1712
set_var_float_to_lvar_float $tempv1 = 26@
$tempv1 *= 6.0
cset_var_float_to_var_int $tempv4 =# $right_angle_check
sub_float_var_from_float_var $tempv4 -= $tempv1
$tempv4 /= 256.0
add_float_var_to_float_lvar 26@ += $tempv4
if 
  -30.0 > 26@
goto_if_false @PARACH_1795
26@ = -30.0

:PARACH_1795
if 
  26@ > 30.0
goto_if_false @PARACH_1826
26@ = 30.0

:PARACH_1826
if 
  $tempv4 == 0.0
goto_if_false @PARACH_1878
if 
  26@ <> 0.0
goto_if_false @PARACH_1878
26@ *= 0.97

:PARACH_1878
$on_footY = Math.Sin(27@)
$on_footZ = Math.Cos(27@)
set_var_float_to_lvar_float $tempv2 = 26@
$tempv2 /= -5.0
mult_float_var_by_float_lvar $on_footY *= 2@
mult_float_var_by_float_var $on_footY *= $tempv2
$on_footY *= -1.0
mult_float_var_by_float_lvar $on_footZ *= 2@
mult_float_var_by_float_var $on_footZ *= $tempv2
$tempv1, $tempv2, $tempf5 = Char.GetVelocity(8@)
$on_footY *= -1.0
add_float_var_to_float_var $on_footY += $tempv1
$on_footY *= 0.1
sub_float_var_from_float_var $tempv1 -= $on_footY
$on_footZ *= -1.0
add_float_var_to_float_var $on_footZ += $tempv2
$on_footZ *= 0.1
sub_float_var_from_float_var $tempv2 -= $on_footZ
Char.SetVelocity(8@, $tempv1, $tempv2, $para_turny_rate)
Char.SetRotation(8@, 26@, 0.0, 27@)
if 
  -100 > $right_angle_check
goto_if_false @PARACH_2171
if 
  15@ <> 4
goto_if_false @PARACH_2164
15@ = 4
Task.PlayAnimNonInterruptable(8@, "FALL_SKYDIVE_ACCEL", "PARACHUTE", 1.0, True, False, False, True, -2)

:PARACH_2164
goto @PARACH_2406

:PARACH_2171
if and
  $left_angle_check == 0
  15@ <> 0
goto_if_false @PARACH_2248
15@ = 0
Task.PlayAnimNonInterruptable(8@, "FALL_SKYDIVE", "PARACHUTE", 1.0, True, False, False, True, -2)

:PARACH_2248
if and
  0 > $left_angle_check
  15@ <> -1
goto_if_false @PARACH_2327
15@ = -1
Task.PlayAnimNonInterruptable(8@, "FALL_SKYDIVE_L", "PARACHUTE", 1.0, True, False, False, True, -2)

:PARACH_2327
if and
  $left_angle_check > 0
  15@ <> 1
goto_if_false @PARACH_2406
15@ = 1
Task.PlayAnimNonInterruptable(8@, "FALL_SKYDIVE_R", "PARACHUTE", 1.0, True, False, False, True, -2)

:PARACH_2406
goto @PARACH_2431

:PARACH_2413
Char.SetVelocity(8@, 0.0, 0.0, 1@)

:PARACH_2431
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
  $x_car_speed == 1
goto_if_false @PARACH_2652
if 
  $x_car_speed <> 2
goto_if_false @PARACH_2652
if 
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_2652
17@ = 0
15@ = 0
14@ = 1
Object.SetVisible(9@, True)
wait 0
if 
  not Char.IsDead(8@)
goto_if_false @PARACH_2652
Task.PlayAnimNonInterruptable(8@, "PARA_OPEN", "PARACHUTE", 1000.0, False, False, False, True, -2)
Object.PlayAnim(9@, "PARA_OPEN_O", "PARACHUTE", 1000.0, False, True)
$tempf5, $tempf5, 24@ = Char.GetVelocity(8@)
set_var_float_to_lvar_float $initial_z = 24@
$initial_z += 5.0

:PARACH_2652
if and
  12@ == 1
  not is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_2838
17@ = 0
15@ = 0
14@ = 1
Object.SetVisible(9@, True)
wait 0
if 
  not Char.IsDead(8@)
goto_if_false @PARACH_2838
Task.PlayAnimNonInterruptable(8@, "PARA_OPEN", "PARACHUTE", 1000.0, False, False, False, True, -2)
Object.PlayAnim(9@, "PARA_OPEN_O", "PARACHUTE", 1000.0, False, True)
$tempf5, $tempf5, 24@ = Char.GetVelocity(8@)
set_var_float_to_lvar_float $initial_z = 24@
$initial_z += 5.0

:PARACH_2838
if 
  14@ == 1
goto_if_false @PARACH_3568
if 
  not Char.IsDead(8@)
goto_if_false @PARACH_3540
if 
  Char.IsPlayingAnim(8@, "PARA_OPEN")
goto_if_false @PARACH_3540
$tempf3 = Char.GetAnimCurrentTime(8@, "PARA_OPEN")
$x, $y, $z = Char.GetCoordinates(8@)
$tempf3 *= 2.0
$tempf3 -= 0.5
if 
  $tempf3 > 1.0
goto_if_false @PARACH_2983
$tempf3 = 1.0

:PARACH_2983
if 
  0.0 > $tempf3
goto_if_false @PARACH_3014
$tempf3 = 0.0

:PARACH_3014
if and
  0.25 >= $tempf3
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_3120
$para_give_heading = -2.0
$p_in_air = -2.0
set_lvar_float_to_var_float 28@ = $tempf3
28@ *= 4.0
if 
  16@ == 1
goto_if_false @PARACH_3113
16@ = 2
gosub @PARACH_6083

:PARACH_3113
gosub @PARACH_6307

:PARACH_3120
if and
  $tempf3 > 0.25
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_3236
$para_give_heading = 5.0
$p_in_air = -5.0
set_lvar_float_to_var_float 28@ = $tempf3
28@ -= 0.25
28@ *= 1.333
if 
  16@ == 2
goto_if_false @PARACH_3229
16@ = 3
gosub @PARACH_6083

:PARACH_3229
gosub @PARACH_6307

:PARACH_3236
set_var_float_to_var_float $tempf5 = $initial_z
mult_float_var_by_float_var $tempf5 *= $tempf3
$tempf5 *= -1.0
add_float_lvar_to_float_var $tempf5 += 24@
$tempv1, $tempv2, $para_turny_rate = Char.GetVelocity(8@)
$on_footY = Math.Sin(27@)
$on_footZ = Math.Cos(27@)
mult_float_var_by_float_lvar $on_footY *= 5@
$on_footY *= -1.0
mult_float_var_by_float_lvar $on_footZ *= 5@
$on_footY *= -1.0
add_float_var_to_float_var $on_footY += $tempv1
$on_footY *= 0.01
sub_float_var_from_float_var $tempv1 -= $on_footY
$on_footZ *= -1.0
add_float_var_to_float_var $on_footZ += $tempv2
$on_footZ *= 0.01
sub_float_var_from_float_var $tempv2 -= $on_footZ
Char.SetVelocity(8@, $tempv1, $tempv2, $tempf5)
if 
  $tempf3 == 1.0
goto_if_false @PARACH_3540
Task.PlayAnimNonInterruptable(8@, "PARA_FLOAT", "PARACHUTE", 2.0, True, False, False, True, -2)
Object.PlayAnim(9@, "PARA_FLOAT_O", "PARACHUTE", 2.0, True, True)
14@ = 2
set_lvar_float_to_var_float 29@ = $tempf5
25@ = 0.0

:PARACH_3540
if 
  3.0 > 30@
goto_if_false @PARACH_3568
14@ = 3

:PARACH_3568
if 
  14@ == 2
goto_if_false @PARACH_5824
if and
  13@ <> 5
  Char.IsInWater(8@)
goto_if_false @PARACH_3616
13@ = 4

:PARACH_3616
if 
  13@ == 0
goto_if_false @PARACH_4766
$on_footY = Math.Sin(27@)
$on_footZ = Math.Cos(27@)
$para_vel_change = 0
$ai_landed = 0
if 
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_3706
$left_angle_check, $right_angle_check, $para_vel_change, $ai_landed = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
goto @PARACH_3728

:PARACH_3706
set_var_int_to_lvar_int $left_angle_check = 22@
$right_angle_check = 0
$para_vel_change = 0

:PARACH_3728
if and
  $para_vel_change <> 0
  $ai_landed <> 0
goto_if_false @PARACH_3753

:PARACH_3753
if or
  $right_angle_check > 100
  12@ == 2
goto_if_false @PARACH_3811
mult_float_var_by_float_lvar $on_footY *= 6@
$on_footY *= -1.0
mult_float_var_by_float_lvar $on_footZ *= 6@
goto @PARACH_3837

:PARACH_3811
mult_float_var_by_float_lvar $on_footY *= 5@
$on_footY *= -1.0
mult_float_var_by_float_lvar $on_footZ *= 5@

:PARACH_3837
set_var_int_to_var_int $ai_landed = $right_angle_check
Char.SetRotation(8@, 0.0, 25@, 27@)
if 
  30@ > 3.0
goto_if_false @PARACH_4574
cset_var_float_to_var_int $tempv4 =# $left_angle_check
$tempv4 /= 128.0
add_float_var_to_float_lvar 25@ += $tempv4
if 
  25@ > 45.0
goto_if_false @PARACH_3939
25@ = 45.0

:PARACH_3939
if 
  -45.0 > 25@
goto_if_false @PARACH_3970
25@ = -45.0

:PARACH_3970
set_var_float_to_lvar_float $tempv3 = 25@
$tempv3 /= 15.0
sub_float_var_from_float_lvar 27@ -= $tempv3
if 
  $tempv4 == 0.0
goto_if_false @PARACH_4048
if 
  25@ <> 0.0
goto_if_false @PARACH_4048
25@ *= 0.95

:PARACH_4048
Char.SetRotation(8@, 0.0, 25@, 27@)
if or
  $right_angle_check > 100
  12@ == 2
goto_if_false @PARACH_4211
set_var_float_to_lvar_float $in_carX = 4@
if 
  15@ <> 4
goto_if_false @PARACH_4204
15@ = 4
Task.PlayAnimNonInterruptable(8@, "PARA_DECEL", "PARACHUTE", 1.0, True, False, False, True, -2)
Object.PlayAnim(9@, "PARA_DECEL_O", "PARACHUTE", 1.0, True, True)

:PARACH_4204
goto @PARACH_4574

:PARACH_4211
set_var_float_to_lvar_float $in_carX = 3@
if and
  $tempv4 == 0.0
  15@ <> 0
goto_if_false @PARACH_4336
15@ = 0
Task.PlayAnimNonInterruptable(8@, "PARA_FLOAT", "PARACHUTE", 1.0, True, False, False, True, -2)
Object.PlayAnim(9@, "PARA_FLOAT_O", "PARACHUTE", 1.0, True, True)

:PARACH_4336
if and
  0.0 > $tempv4
  15@ <> -1
goto_if_false @PARACH_4455
15@ = -1
Task.PlayAnimNonInterruptable(8@, "PARA_STEERL", "PARACHUTE", 1.0, True, False, False, True, -2)
Object.PlayAnim(9@, "PARA_STEERL_O", "PARACHUTE", 1.0, True, True)

:PARACH_4455
if and
  $tempv4 > 0.0
  15@ <> 1
goto_if_false @PARACH_4574
15@ = 1
Task.PlayAnimNonInterruptable(8@, "PARA_STEERR", "PARACHUTE", 1.0, True, False, False, True, -2)
Object.PlayAnim(9@, "PARA_STEERR_O", "PARACHUTE", 1.0, True, True)

:PARACH_4574
$tempv1, $tempv2, $tempf5 = Char.GetVelocity(8@)
$on_footY *= -1.0
add_float_var_to_float_var $on_footY += $tempv1
$on_footY *= 0.1
sub_float_var_from_float_var $tempv1 -= $on_footY
$on_footZ *= -1.0
add_float_var_to_float_var $on_footZ += $tempv2
$on_footZ *= 0.1
sub_float_var_from_float_var $tempv2 -= $on_footZ
$in_carX *= -1.0
add_float_lvar_to_float_var $in_carX += 29@
$in_carX *= 0.2
set_var_float_to_lvar_float $tempf5 = 29@
sub_float_var_from_float_var $tempf5 -= $in_carX
set_lvar_float_to_var_float 29@ = $tempf5
Char.SetVelocity(8@, $tempv1, $tempv2, $tempf5)
mult_float_var_by_float_var $tempv1 *= $tempv1
mult_float_var_by_float_var $tempv2 *= $tempv2
set_var_float_to_var_float $tempv3 = $tempv1
add_float_var_to_float_var $tempv3 += $tempv2
$tempv3 = Math.Sqrt($tempv3)

:PARACH_4766
if 
  3.0 > 30@
goto_if_false @PARACH_5104
Char.SetHeading(8@, 27@)
25@ = 0.0
$on_footY = Math.Sin(27@)
$on_footZ = Math.Cos(27@)
mult_float_var_by_float_lvar $on_footY *= 6@
$on_footY *= -1.0
mult_float_var_by_float_lvar $on_footZ *= 6@
Char.SetVelocity(8@, $on_footY, $on_footZ, -2.0)
if 
  13@ == 0
goto_if_false @PARACH_5012
13@ = 1
Task.PlayAnimNonInterruptable(8@, "PARA_DECEL", "PARACHUTE", 4.0, True, False, False, True, -2)
Object.PlayAnim(9@, "PARA_DECEL_O", "PARACHUTE", 4.0, True, True)
if 
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_5012
set_var_float_to_var_float $para_give_heading = $para_cam_y_change
set_var_float_to_var_float $p_in_air = $para_cam_z_change
gosub @PARACH_6083

:PARACH_5012
if and
  13@ == 1
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_5104
28@ = 3.0
sub_float_lvar_from_float_lvar 28@ -= 30@
28@ *= 0.75
if 
  28@ > 1.0
goto_if_false @PARACH_5097
28@ = 1.0

:PARACH_5097
gosub @PARACH_6307

:PARACH_5104
if and
  1.5 > 30@
  13@ == 1
goto_if_false @PARACH_5219
13@ = 2
Task.PlayAnimNonInterruptable(8@, "PARA_LAND", "PARACHUTE", 1000.0, False, True, False, True, -2)
Object.PlayAnim(9@, "PARA_LAND_O", "PARACHUTE", 1000.0, False, True)

:PARACH_5219
if 
  13@ == 2
goto_if_false @PARACH_5496
if 
  Char.IsPlayingAnim(8@, "PARA_LAND")
goto_if_false @PARACH_5496
$tempf3 = Char.GetAnimCurrentTime(8@, "PARA_LAND")
if 
  $tempf3 == 1.0
goto_if_false @PARACH_5496
Object.Delete(9@)
Object.Delete(10@)
$x, $y, $z = World.GetDeadCharPickupCoords(8@)
if 
  0@ <> -1
goto_if_false @PARACH_5351
Pickup.Remove(0@)

:PARACH_5351
Task.Pause(8@, 1)
Char.ClearTasksImmediately(8@)
14@ = 3
Char.SetRotation(8@, 0.0, 0.0, 0.0)
Char.SetHeading(8@, 27@)
$x, $y, $z = Char.GetCoordinates(8@)
if 
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_5438
$start_cam_z = 1

:PARACH_5438
if 
  $weapon_shop1_blip == 1
goto_if_false @PARACH_5463
gosub @PARACH_6417

:PARACH_5463
0@ = 0
0@ = Pickup.Create(#BRIEFCASE, PickupType.Once, $x, $y, $z)
13@ = 3

:PARACH_5496
if 
  13@ == 4
goto_if_false @PARACH_5623
Task.PlayAnimNonInterruptable(8@, "PARA_LAND_WATER", "PARACHUTE", 1000.0, False, True, False, True, -2)
Object.PlayAnim(9@, "PARA_LAND_WATER_O", "PARACHUTE", 1.0, False, True)
13@ = 5
$tempf3 = 0.0

:PARACH_5623
if 
  13@ == 5
goto_if_false @PARACH_5824
if 
  Char.IsPlayingAnim(8@, "PARA_LAND_WATER")
goto_if_false @PARACH_5699
$tempf3 = Char.GetAnimCurrentTime(8@, "PARA_LAND_WATER")

:PARACH_5699
if 
  $tempf3 == 1.0
goto_if_false @PARACH_5824
if 
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_5746
$start_cam_z = 1

:PARACH_5746
Object.Delete(9@)
Object.Delete(10@)
13@ = 3
Task.Pause(8@, 1)
Char.ClearTasksImmediately(8@)
14@ = 3
Char.SetRotation(8@, 0.0, 0.0, 0.0)
Char.SetHeading(8@, 27@)
$x, $y, $z = Char.GetCoordinates(8@)

:PARACH_5824
if and
  14@ == 3
  13@ == 0
goto_if_false @PARACH_5935
Object.PlayAnim(9@, "PARA_LAND_O", "PARACHUTE", 1.0, False, True)
Task.DieNamedAnim(8@, "FALL_SKYDIVE_DIE", "PARACHUTE", 1000.0, 0)
13@ = 1

:PARACH_5935
if 
  14@ == 3
goto_if_false @PARACH_6053
if 
  Pickup.HasBeenCollected(0@)
goto_if_false @PARACH_6004
11@ = 10
17@ = 0
14@ = 0
7@ = 0
13@ = 0

:PARACH_6004
if 
  not Char.LocateAnyMeans3D(8@, $x, $y, $z, 50.0, 50.0, 50.0, False)
goto_if_false @PARACH_6053
goto @PARACH_6417

:PARACH_6053
if 
  Char.IsDead(8@)
goto_if_false @PARACH_6076
goto @PARACH_6417

:PARACH_6076
goto @PARACH_146

:PARACH_6083
$on_footY, $on_footZ, $in_carX = Camera.GetActiveCoordinates()
$x, $y, $z = Char.GetCoordinates(8@)
set_var_float_to_var_float $tempv1 = $x
sub_float_var_from_float_var $tempv1 -= $on_footY
set_var_float_to_var_float $tempv2 = $y
sub_float_var_from_float_var $tempv2 -= $on_footZ
set_var_float_to_var_float $end_cam_z = $in_carX
sub_float_var_from_float_var $end_cam_z -= $z
set_var_float_to_var_float $tempf5 = $tempv1
mult_float_var_by_float_var $tempf5 *= $tempv1
set_var_float_to_var_float $para_turny_rate = $tempv2
mult_float_var_by_float_var $para_turny_rate *= $tempv2
set_var_float_to_var_float $end_cam_y = $tempf5
add_float_var_to_float_var $end_cam_y += $para_turny_rate
$end_cam_y *= -1.0
$end_cam_y = Math.Sqrt($end_cam_y)
set_var_float_to_var_float $force_chute_open = $para_give_heading
sub_float_var_from_float_var $force_chute_open -= $end_cam_z
$end_cam_y *= -1.0
set_var_float_to_var_float $para_give_speed = $p_in_air
sub_float_var_from_float_var $para_give_speed -= $end_cam_y
if 
  16@ == 0
goto_if_false @PARACH_6305
16@ = 1
set_var_float_to_var_float $para_cam_z_change = $end_cam_y
set_var_float_to_var_float $para_cam_y_change = $end_cam_z

:PARACH_6305
return 

:PARACH_6307
$x, $y, $z = Char.GetCoordinates(8@)
set_var_float_to_lvar_float $tempv1 = 28@
$tempv1 *= 180.0
$tempv1 = Math.Cos($tempv1)
$tempv1 -= 1.0
$tempv1 *= -0.5
set_var_float_to_var_float $in_carX = $force_chute_open
mult_float_var_by_float_var $in_carX *= $tempv1
add_float_var_to_float_var $in_carX += $end_cam_z
set_var_float_to_var_float $on_footZ = $para_give_speed
mult_float_var_by_float_var $on_footZ *= $tempv1
add_float_var_to_float_var $on_footZ += $end_cam_y
return 

:PARACH_6417
Streaming.RemoveAnimation("PARACHUTE")
Streaming.MarkModelAsNoLongerNeeded(#PARACHUTE)
Streaming.MarkModelAsNoLongerNeeded(#PARA_PACK)
if 
  0@ <> -1
goto_if_false @PARACH_6463
Pickup.Remove(0@)

:PARACH_6463
Object.Delete(9@)
Object.Delete(10@)
if 
  is_int_lvar_equal_to_int_var 8@ == $stattreadstamina_ctr
goto_if_false @PARACH_6499
$x_car_speed = 0

:PARACH_6499
terminate_this_script 
return 

:PARACH_6503
$x, $y, $z = Char.GetCoordinates(8@)
set_var_float_to_var_float $on_footY = $has_freefall_started
sub_float_var_from_float_var $on_footY -= $x
set_var_float_to_var_float $on_footZ = $tempf1
sub_float_var_from_float_var $on_footZ -= $y
set_var_float_to_var_float $in_carX = $z
sub_float_var_from_float_var $in_carX -= $tempf2
if 
  17@ == 1
goto_if_false @PARACH_6683
mult_float_var_by_float_var $on_footY *= $on_footY
mult_float_var_by_float_var $on_footZ *= $on_footZ
add_float_var_to_float_var $on_footY += $on_footZ
$on_footY = Math.Sqrt($on_footY)
set_var_float_to_var_float $tempf5 = $in_carX
div_float_var_by_float_var $tempf5 /= $on_footY
set_var_float_to_lvar_float $para_turny_rate = 3@
div_float_var_by_float_lvar $para_turny_rate /= 5@
$para_turny_rate *= -1.2
if 
  is_float_var_greater_than_float_var $para_turny_rate > $tempf5
goto_if_false @PARACH_6683
12@ = 1

:PARACH_6683
if 
  14@ == 2
goto_if_false @PARACH_7350
20@ = Math.GetHeadingFromVector2D($on_footY, $on_footZ)
19@ = Char.GetHeading(8@)
3@ -= 1.0
4@ -= 1.0
set_lvar_float_to_lvar_float 21@ = 20@
sub_float_lvar_from_float_lvar 21@ -= 19@
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 23@
goto_if_false @PARACH_7137
set_lvar_int_to_lvar_int 23@ = TIMERA
23@ += 3000
$player_freefall = Math.RandomFloatInRange(-20.0, 0.0)
$initial_y = Math.RandomFloatInRange(0.0, 20.0)
mult_float_var_by_float_var $on_footY *= $on_footY
mult_float_var_by_float_var $on_footZ *= $on_footZ
add_float_var_to_float_var $on_footY += $on_footZ
$on_footY = Math.Sqrt($on_footY)
set_var_float_to_var_float $para_turny_rate = $on_footY
div_float_var_by_float_lvar $para_turny_rate /= 5@
set_var_float_to_var_float $tempf5 = $in_carX
div_float_var_by_float_var $tempf5 /= $para_turny_rate
set_var_float_to_lvar_float $para_turny_rate = 3@
add_float_lvar_to_float_var $para_turny_rate += 4@
$para_turny_rate /= 2.0
set_var_float_to_lvar_float $tempv1 = 3@
sub_float_lvar_from_float_var $tempv1 -= 4@
$tempv1 /= 4.0
add_float_var_to_float_var $tempv1 += $para_turny_rate
set_var_float_to_lvar_float $tempv2 = 3@
sub_float_lvar_from_float_var $tempv2 -= 4@
$tempv2 /= -4.0
add_float_var_to_float_var $tempv2 += $para_turny_rate
$tempv1 *= -1.0
$tempv2 *= -1.0
if and
  is_float_var_greater_than_float_var $tempv1 > $tempf5
  is_float_var_greater_than_float_var $tempf5 > $tempv2
goto_if_false @PARACH_7085
$left_angle_check = Math.RandomIntInRange(0, 2)
if 
  $left_angle_check == 0
goto_if_false @PARACH_7060
12@ = 2

:PARACH_7060
if 
  $left_angle_check == 1
goto_if_false @PARACH_7085
12@ = 0

:PARACH_7085
if 
  is_float_var_greater_or_equal_to_float_var $tempf5 >= $tempv1
goto_if_false @PARACH_7111
12@ = 0

:PARACH_7111
if 
  is_float_var_greater_or_equal_to_float_var $tempv2 >= $tempf5
goto_if_false @PARACH_7137
12@ = 2

:PARACH_7137
if or
  is_float_var_greater_than_float_lvar $player_freefall > 21@
  is_float_lvar_greater_than_float_var 21@ > $initial_y
goto_if_false @PARACH_7323
if 
  -180.0 > 21@
goto_if_false @PARACH_7195
21@ += 360.0

:PARACH_7195
if 
  21@ > 180.0
goto_if_false @PARACH_7226
21@ -= 360.0

:PARACH_7226
21@ /= 180.0
if 
  21@ > 1.0
goto_if_false @PARACH_7267
21@ = 1.0

:PARACH_7267
if 
  -1.0 > 21@
goto_if_false @PARACH_7298
21@ = -1.0

:PARACH_7298
21@ *= -128.0
cset_lvar_int_to_lvar_float 22@ =# 21@
goto @PARACH_7330

:PARACH_7323
22@ = 0

:PARACH_7330
3@ += 1.0
4@ += 1.0

:PARACH_7350
return 
terminate_this_script 

//-------------External script 2 (BCESAR2)---------------

:BCESAR2
script_name 'BCESAR2'
if or
  $trigger_final_synd_mission == 1
  $trigger_final_synd_mission == 3
  $trigger_final_synd_mission == 5
goto_if_false @BCESAR2_50
goto @BCESAR2_6142

:BCESAR2_50
if 
  $garageZ >= 10
goto_if_false @BCESAR2_75
goto @BCESAR2_6142

:BCESAR2_75
ENTEXT_214()
if 
  $main_visible_area == 0
goto_if_false @BCESAR2_107
goto @BCESAR2_6142

:BCESAR2_107
set_deatharrest_state 0
if 
  $flag_shtr_passed_1stime == 0
goto_if_false @BCESAR2_131
Stat.RegisterMissionGiven

:BCESAR2_131
$chickZ = 1
$flag_bcr1_skip = 1
wait 0
0@ = 0
1@ = 5
21@ = 0
3@ = 0
4@ = 0
23@ = 0
$bce2_audio_slot = 0
$bce2_alt_slot = 0
$phone_conversation_answer = 1
$phone_conversation_choice = 0
$checked_coke_pickup_z = 1
$bce_point_to_edit = 2
$bce2_crate = 0
$8326[0] = 0
$8326[1] = 0
$8326[2] = 0
$8326[3] = 0
$8326[4] = 0
$8326[5] = 0
$8309[0] = 0
$8309[1] = 0
$8309[2] = 0
$8309[3] = 0
$8309[4] = 0
$8309[5] = 0
10@ = 0
11@ = 1
19@ = 1000
31@ = 40.0
$bce2_track_z = Math.RandomIntInRange(0, 2)
if 
  $bce2_track_z == 0
goto_if_false @BCESAR2_390
9@ = 114

:BCESAR2_390
if 
  $bce2_track_z == 1
goto_if_false @BCESAR2_415
9@ = 96

:BCESAR2_415
if 
  $bce2_track_z == 2
goto_if_false @BCESAR2_440
9@ = 115

:BCESAR2_440
if 
  $bce2_track_z == 0
goto_if_false @BCESAR2_489
set_var_float_to_var_float $8317 = $4188[0]
set_var_float_to_var_float $8318 = $4304[0]
set_var_float_to_var_float $8319 = $4420[0]
goto @BCESAR2_562

:BCESAR2_489
if 
  $bce2_track_z == 1
goto_if_false @BCESAR2_538
set_var_float_to_var_float $8317 = $4536[0]
set_var_float_to_var_float $8318 = $4634[0]
set_var_float_to_var_float $8319 = $4732[0]
goto @BCESAR2_562

:BCESAR2_538
set_var_float_to_var_float $8317 = $4830[0]
set_var_float_to_var_float $8318 = $4947[0]
set_var_float_to_var_float $8319 = $5064[0]

:BCESAR2_562
Streaming.RequestModel(107)
Streaming.RequestModel(470)
Streaming.RequestModel(352)
Streaming.RequestModel(330)

:BCESAR2_581
if or
  not Streaming.HasModelLoaded(107)
  not Streaming.HasModelLoaded(470)
  not Streaming.HasModelLoaded(352)
  not Streaming.HasModelLoaded(330)
goto_if_false @BCESAR2_622
wait 0
goto @BCESAR2_581

:BCESAR2_622
Car.SetModelComponents(470, 2, 2)
Car.CustomPlateForNextCar(470, "_ASSMAN_")
26@ = Car.Create(470, $8317, $8318, $8319)
Car.SetLoadCollisionFlag(26@, False)
25@ = Char.CreateInsideCar(26@, PedType.CivMale, 107)
Char.SetSuffersCriticalHits(25@, False)
Char.SetProofs(25@, True, True, True, False, True)
Car.SetProofs(26@, True, True, True, False, True)
Car.SetCruiseSpeed(26@, 40.0)
StuckCarCheck.AddWithWarp(26@, 2.0, 2000, True, True, True, 2)
Car.LockDoors(26@, CarLock.LockoutPlayerOnly)
Task.CarDriveToCoord(25@, 26@, $4188(10@,116f), $4304(10@,116f), $4420(10@,116f), 31@, DriveMode.Normal, 0, DrivingMode.AvoidCars)
27@ = Blip.AddForCar(26@)
Car.SetOnlyDamagedByPlayer(26@, True)
if 
  $flag_syn1_passed_1stime > 0
goto_if_false @BCESAR2_978
28@ = Char.CreateAsPassenger(26@, PedType.CivMale, 107, 0)
Char.GiveWeapon(28@, WeaponType.MicroUzi, 16000)
Char.SetCurrentWeapon(28@, WeaponType.MicroUzi)
Char.SetAccuracy(28@, 90)
if 
  $flag_syn1_passed_1stime > 1
goto_if_false @BCESAR2_978
29@ = Char.CreateAsPassenger(26@, PedType.CivMale, 107, 1)
Char.GiveWeapon(29@, WeaponType.MicroUzi, 16000)
Char.SetCurrentWeapon(29@, WeaponType.MicroUzi)
Char.SetAccuracy(29@, 90)
if 
  $flag_syn1_passed_1stime > 2
goto_if_false @BCESAR2_978
30@ = Char.CreateAsPassenger(26@, PedType.CivMale, 107, 2)
Char.GiveWeapon(30@, WeaponType.MicroUzi, 16000)
Char.SetCurrentWeapon(30@, WeaponType.MicroUzi)
Char.SetAccuracy(30@, 90)

:BCESAR2_978
if 
  10@ == 0
goto_if_false @BCESAR2_1022
Car.TurnToFaceCoord(26@, $4188(11@,116f), $4304(11@,116f))
goto @BCESAR2_1041

:BCESAR2_1022
Car.TurnToFaceCoord(26@, $4188(10@,116f), $4304(10@,116f))

:BCESAR2_1041
$8333[0] = -0.65
$8339[0] = -2.307
$8345[0] = 0.26
$8333[1] = -0.047
$8339[1] = -2.307
$8345[1] = 0.26
$8333[2] = 0.554
$8339[2] = -2.307
$8345[2] = 0.26
$8333[3] = 0.554
$8339[3] = -1.808
$8345[3] = 0.26
$8333[4] = -0.65
$8339[4] = -1.808
$8345[4] = 0.26
$8333[5] = -0.047
$8339[5] = -1.808
$8345[5] = 0.26

:BCESAR2_1221
if 
  0@ <> 6
goto_if_false @BCESAR2_1471
wait 0
if 
  not Car.IsDead(26@)
goto_if_false @BCESAR2_1464
if 
  $8326(0@,6i) == 0
goto_if_false @BCESAR2_1457
$8332 = Math.RandomFloatInRange(0.0, 19.9)
if and
  20.0 > $8332
  $8332 > 10.0
goto_if_false @BCESAR2_1337
$8332 += 340.0

:BCESAR2_1337
$8320(0@,6i) = Object.Create(#CM_BOX, $8333(0@,6f), $8339(0@,6f), $8345(0@,6f))
Object.AttachToCar($8320(0@,6i), 26@, $8333(0@,6f), $8339(0@,6f), $8345(0@,6f), 0.0, 0.0, 0.0)
  Object.Rotate($8320(0@,6i), $8332, $8332, True)
Object.SetCollision($8320(0@,6i), False)
Object.SetDynamic($8320(0@,6i), False)

:BCESAR2_1457
0@ += 1

:BCESAR2_1464
goto @BCESAR2_1221

:BCESAR2_1471
12@ = Clock.GetGameTimer()
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BCESAR2_1503
Player.SetGroupRecruitment($statbike_temp, False)

:BCESAR2_1503
set_var_text_label s$8351[1] = 'MCES07A'
set_var_text_label s$8351[2] = 'MCES07B'
set_var_text_label s$8351[3] = 'MCES07C'
set_var_text_label s$8351[4] = 'MCES06A'
set_var_text_label s$8351[5] = 'MCES06B'
set_var_text_label s$8351[6] = 'MCES06C'
set_var_text_label s$8351[7] = 'MCES06D'
set_var_text_label s$8351[8] = 'MCES06E'
set_var_text_label s$8351[9] = 'MCES06F'
set_var_text_label s$8351[10] = 'MCES06G'
set_var_text_label s$8351[11] = 'MCES07D'
set_var_int_to_constant $8375[1] = 25280
set_var_int_to_constant $8375[2] = 25281
set_var_int_to_constant $8375[3] = 25282
set_var_int_to_constant $8375[4] = 25273
set_var_int_to_constant $8375[5] = 25274
set_var_int_to_constant $8375[6] = 25275
set_var_int_to_constant $8375[7] = 25276
set_var_int_to_constant $8375[8] = 25277
set_var_int_to_constant $8375[9] = 25278
set_var_int_to_constant $8375[10] = 25279
set_var_int_to_constant $8375[11] = 25283
Streaming.RequestModel(330)
Streaming.LoadAllModelsNow
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 20804)

:BCESAR2_1759
if or
  not Streaming.HasModelLoaded(330)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @BCESAR2_1790
wait 0
goto @BCESAR2_1759

:BCESAR2_1790
ENTEXT_214()
if 
  $main_visible_area == 0
goto_if_false @BCESAR2_1822
goto @BCESAR2_6142

:BCESAR2_1822
Task.UseMobilePhone($stattreadstamina_ctr, True)
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
wait 2000
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)

:BCESAR2_1842
wait 0
if 
  $bce2_alt_slot <> 0
goto_if_false @BCESAR2_2185
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_1910
if 
  Audio.HasMissionAudioLoaded($bce_point_to_edit)
goto_if_false @BCESAR2_1903
Audio.ClearMissionAudio($bce_point_to_edit)

:BCESAR2_1903
$bce2_audio_slot = 1

:BCESAR2_1910
if 
  $bce2_audio_slot == 1
goto_if_false @BCESAR2_1947
Audio.LoadMissionAudio($checked_coke_pickup_z, $8375($bce2_alt_slot,12i))
$bce2_audio_slot = 2

:BCESAR2_1947
if 
  $bce2_audio_slot == 2
goto_if_false @BCESAR2_2007
if 
  Audio.HasMissionAudioLoaded($checked_coke_pickup_z)
goto_if_false @BCESAR2_2007
Audio.PlayMissionAudio($checked_coke_pickup_z)
Text.PrintNow($8351($bce2_alt_slot,12s), 10000, 1)
$bce2_audio_slot = 3

:BCESAR2_2007
if 
  $bce2_audio_slot == 3
goto_if_false @BCESAR2_2185
if 
  Audio.HasMissionAudioFinished($checked_coke_pickup_z)
goto_if_false @BCESAR2_2124
Text.ClearThisPrint($8351($bce2_alt_slot,12s))
if 
  $checked_coke_pickup_z == 1
goto_if_false @BCESAR2_2089
$checked_coke_pickup_z = 2
$bce_point_to_edit = 1
goto @BCESAR2_2103

:BCESAR2_2089
$checked_coke_pickup_z = 1
$bce_point_to_edit = 2

:BCESAR2_2103
$bce2_alt_slot = 0
$bce2_audio_slot = 0
goto @BCESAR2_2185

:BCESAR2_2124
if 
  not Audio.HasMissionAudioLoaded($bce_point_to_edit)
goto_if_false @BCESAR2_2185
if 
  10 > $bce2_alt_slot
goto_if_false @BCESAR2_2185
set_var_int_to_var_int $phone_conversation_answer = $bce2_alt_slot
$phone_conversation_answer += 1
Audio.LoadMissionAudio($bce_point_to_edit, $8375($phone_conversation_answer,12i))

:BCESAR2_2185
if 
  $flag_syn1_passed_1stime > 0
goto_if_false @BCESAR2_2676
if 
  $phone_conversation_choice == 0
goto_if_false @BCESAR2_2258
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_2258
$bce2_alt_slot = 1
$phone_conversation_choice = 1
$bce2_ahead_counter = Clock.GetGameTimer()

:BCESAR2_2258
if 
  $phone_conversation_choice == 1
goto_if_false @BCESAR2_2373
$bce2_mobile = Clock.GetGameTimer()
set_var_int_to_var_int $bce2_counter = $bce2_mobile
sub_int_var_from_int_var $bce2_counter -= $bce2_ahead_counter
if 
  $bce2_counter > 1000
goto_if_false @BCESAR2_2373
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_2373
$bce2_alt_slot = 2
$phone_conversation_choice = 2
$bce2_crate = 0
$bce2_ahead_counter = Clock.GetGameTimer()
Text.ClearHelp
Text.PrintHelpForever('TALK_1')

:BCESAR2_2373
if 
  $phone_conversation_choice == 2
goto_if_false @BCESAR2_2443
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @BCESAR2_2417
Text.ClearHelp
$bce2_crate = 2

:BCESAR2_2417
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @BCESAR2_2443
Text.ClearHelp
$bce2_crate = 1

:BCESAR2_2443
if 
  $bce2_crate == 1
goto_if_false @BCESAR2_2556
if 
  $phone_conversation_choice == 2
goto_if_false @BCESAR2_2556
$bce2_mobile = Clock.GetGameTimer()
set_var_int_to_var_int $bce2_counter = $bce2_mobile
sub_int_var_from_int_var $bce2_counter -= $bce2_ahead_counter
if 
  $bce2_counter > 1000
goto_if_false @BCESAR2_2556
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_2556
$bce2_alt_slot = 3
$phone_conversation_choice = 7
$bce2_ahead_counter = Clock.GetGameTimer()

:BCESAR2_2556
if 
  $bce2_crate == 2
goto_if_false @BCESAR2_2669
if 
  $phone_conversation_choice == 2
goto_if_false @BCESAR2_2669
$bce2_mobile = Clock.GetGameTimer()
set_var_int_to_var_int $bce2_counter = $bce2_mobile
sub_int_var_from_int_var $bce2_counter -= $bce2_ahead_counter
if 
  $bce2_counter > 1000
goto_if_false @BCESAR2_2669
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_2669
$bce2_alt_slot = 11
$phone_conversation_choice = 7
$bce2_ahead_counter = Clock.GetGameTimer()

:BCESAR2_2669
goto @BCESAR2_3301

:BCESAR2_2676
if 
  $phone_conversation_choice == 0
goto_if_false @BCESAR2_2731
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_2731
$bce2_alt_slot = 4
$phone_conversation_choice = 1
$bce2_ahead_counter = Clock.GetGameTimer()

:BCESAR2_2731
if 
  $phone_conversation_choice == 1
goto_if_false @BCESAR2_2826
$bce2_mobile = Clock.GetGameTimer()
set_var_int_to_var_int $bce2_counter = $bce2_mobile
sub_int_var_from_int_var $bce2_counter -= $bce2_ahead_counter
if 
  $bce2_counter > 1000
goto_if_false @BCESAR2_2826
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_2826
$bce2_alt_slot = 5
$phone_conversation_choice = 2
$bce2_ahead_counter = Clock.GetGameTimer()

:BCESAR2_2826
if 
  $phone_conversation_choice == 2
goto_if_false @BCESAR2_2921
$bce2_mobile = Clock.GetGameTimer()
set_var_int_to_var_int $bce2_counter = $bce2_mobile
sub_int_var_from_int_var $bce2_counter -= $bce2_ahead_counter
if 
  $bce2_counter > 1000
goto_if_false @BCESAR2_2921
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_2921
$bce2_alt_slot = 6
$phone_conversation_choice = 3
$bce2_ahead_counter = Clock.GetGameTimer()

:BCESAR2_2921
if 
  $phone_conversation_choice == 3
goto_if_false @BCESAR2_3016
$bce2_mobile = Clock.GetGameTimer()
set_var_int_to_var_int $bce2_counter = $bce2_mobile
sub_int_var_from_int_var $bce2_counter -= $bce2_ahead_counter
if 
  $bce2_counter > 1000
goto_if_false @BCESAR2_3016
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_3016
$bce2_alt_slot = 7
$phone_conversation_choice = 4
$bce2_ahead_counter = Clock.GetGameTimer()

:BCESAR2_3016
if 
  $phone_conversation_choice == 4
goto_if_false @BCESAR2_3111
$bce2_mobile = Clock.GetGameTimer()
set_var_int_to_var_int $bce2_counter = $bce2_mobile
sub_int_var_from_int_var $bce2_counter -= $bce2_ahead_counter
if 
  $bce2_counter > 1000
goto_if_false @BCESAR2_3111
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_3111
$bce2_alt_slot = 8
$phone_conversation_choice = 5
$bce2_ahead_counter = Clock.GetGameTimer()

:BCESAR2_3111
if 
  $phone_conversation_choice == 5
goto_if_false @BCESAR2_3206
$bce2_mobile = Clock.GetGameTimer()
set_var_int_to_var_int $bce2_counter = $bce2_mobile
sub_int_var_from_int_var $bce2_counter -= $bce2_ahead_counter
if 
  $bce2_counter > 1000
goto_if_false @BCESAR2_3206
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_3206
$bce2_alt_slot = 9
$phone_conversation_choice = 6
$bce2_ahead_counter = Clock.GetGameTimer()

:BCESAR2_3206
if 
  $phone_conversation_choice == 6
goto_if_false @BCESAR2_3301
$bce2_mobile = Clock.GetGameTimer()
set_var_int_to_var_int $bce2_counter = $bce2_mobile
sub_int_var_from_int_var $bce2_counter -= $bce2_ahead_counter
if 
  $bce2_counter > 1000
goto_if_false @BCESAR2_3301
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_3301
$bce2_alt_slot = 10
$phone_conversation_choice = 7
$bce2_ahead_counter = Clock.GetGameTimer()

:BCESAR2_3301
if or
  $phone_conversation_choice == 7
  $phone_conversation_choice == 8
goto_if_false @BCESAR2_3475
$bce2_mobile = Clock.GetGameTimer()
set_var_int_to_var_int $bce2_counter = $bce2_mobile
sub_int_var_from_int_var $bce2_counter -= $bce2_ahead_counter
if 
  $bce2_counter > 1000
goto_if_false @BCESAR2_3475
if 
  $bce2_audio_slot == 0
goto_if_false @BCESAR2_3475
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCESAR2_3475
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1833)
if 
  not is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BCESAR2_3436
Task.UseMobilePhone($stattreadstamina_ctr, False)

:BCESAR2_3436
if 
  2 > $bce2_crate
goto_if_false @BCESAR2_3468
goto @BCESAR2_3531
goto @BCESAR2_3475

:BCESAR2_3468
goto @BCESAR2_6142

:BCESAR2_3475
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BCESAR2_3524
if 
  $flag_syn1_passed_1stime > 0
goto_if_false @BCESAR2_3517
$bce2_crate = 2

:BCESAR2_3517
$phone_conversation_choice = 8

:BCESAR2_3524
goto @BCESAR2_1842

:BCESAR2_3531
wait 0
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @BCESAR2_3564
1@ = 0
3@ = 6

:BCESAR2_3564
if 
  $weapon_shop1_blip == 1
goto_if_false @BCESAR2_3596
1@ = 0
3@ = 6

:BCESAR2_3596
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BCESAR2_3718
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCESAR2_3718
if 
  23@ == 0
goto_if_false @BCESAR2_3677
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCESAR2_3677
22@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
23@ = 1

:BCESAR2_3677
if 
  23@ == 1
goto_if_false @BCESAR2_3718
if 
  not Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCESAR2_3718
23@ = 0

:BCESAR2_3718
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BCESAR2_5271
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCESAR2_5264
if 
  4@ == 0
goto_if_false @BCESAR2_3833
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $8317, $8318, $8319, 100.0, 100.0, 50.0, False)
goto_if_false @BCESAR2_3833
Text.PrintNow('BCE2_02', 5000, 1)
4@ = 1

:BCESAR2_3833
if 
  Car.IsDead(26@)
goto_if_false @BCESAR2_3856
goto @BCESAR2_6142

:BCESAR2_3856
if 
  $flag_syn1_passed_1stime > 0
goto_if_false @BCESAR2_4174
if 
  not Char.IsDead(28@)
goto_if_false @BCESAR2_3962
5@ = Char.GetScriptTaskStatus(28@, 1811)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @BCESAR2_3962
Task.DriveBy(28@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, True, 30)
Char.SetCurrentWeapon(28@, WeaponType.MicroUzi)

:BCESAR2_3962
if 
  $flag_syn1_passed_1stime > 1
goto_if_false @BCESAR2_4174
if 
  not Char.IsDead(29@)
goto_if_false @BCESAR2_4068
6@ = Char.GetScriptTaskStatus(29@, 1811)
if 
  is_int_lvar_equal_to_constant 6@ == 7
goto_if_false @BCESAR2_4068
Task.DriveBy(29@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, True, 30)
Char.SetCurrentWeapon(29@, WeaponType.MicroUzi)

:BCESAR2_4068
if 
  $flag_syn1_passed_1stime > 2
goto_if_false @BCESAR2_4174
if 
  not Char.IsDead(30@)
goto_if_false @BCESAR2_4174
7@ = Char.GetScriptTaskStatus(30@, 1811)
if 
  is_int_lvar_equal_to_constant 7@ == 7
goto_if_false @BCESAR2_4174
Task.DriveBy(30@, $stattreadstamina_ctr, -1, 0.0, 0.0, 0.0, 50.0, DriveByType.Ai, True, 30)
Char.SetCurrentWeapon(30@, WeaponType.MicroUzi)

:BCESAR2_4174
if and
  not Char.IsDead(25@)
  not Car.IsDead(26@)
goto_if_false @BCESAR2_5264
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 26@, 15.0, 15.0, 15.0, False)
goto_if_false @BCESAR2_4269
if 
  31@ > 30.0
goto_if_false @BCESAR2_4262
31@ -= 0.1

:BCESAR2_4262
goto @BCESAR2_4300

:BCESAR2_4269
if 
  50.0 > 31@
goto_if_false @BCESAR2_4300
31@ += 0.1

:BCESAR2_4300
if 
  4@ == 1
goto_if_false @BCESAR2_4361
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 26@, 500.0, 500.0, 500.0, False)
goto_if_false @BCESAR2_4361
goto @BCESAR2_6142

:BCESAR2_4361
$8317, $8318, $8319 = Car.GetCoordinates(26@)
if 
  is_int_lvar_greater_than_int_lvar 9@ > 10@
goto_if_false @BCESAR2_4772
if 
  $bce2_track_z == 0
goto_if_false @BCESAR2_4526
if 
  Char.LocateInCar3D(25@, $4188(10@,116f), $4304(10@,116f), $4420(10@,116f), 20.0, 20.0, 20.0, False)
goto_if_false @BCESAR2_4519
Car.SetCruiseSpeed(26@, 31@)
10@ += 1
Task.CarDriveToCoord(25@, 26@, $4188(10@,116f), $4304(10@,116f), $4420(10@,116f), 31@, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:BCESAR2_4519
goto @BCESAR2_4765

:BCESAR2_4526
if 
  $bce2_track_z == 1
goto_if_false @BCESAR2_4658
if 
  Char.LocateInCar3D(25@, $4536(10@,98f), $4634(10@,98f), $4732(10@,98f), 20.0, 20.0, 20.0, False)
goto_if_false @BCESAR2_4651
Car.SetCruiseSpeed(26@, 31@)
10@ += 1
Task.CarDriveToCoord(25@, 26@, $4536(10@,98f), $4634(10@,98f), $4732(10@,98f), 31@, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:BCESAR2_4651
goto @BCESAR2_4765

:BCESAR2_4658
if 
  Char.LocateInCar3D(25@, $4830(10@,117f), $4947(10@,117f), $5064(10@,117f), 20.0, 20.0, 20.0, False)
goto_if_false @BCESAR2_4765
Car.SetCruiseSpeed(26@, 31@)
10@ += 1
Task.CarDriveToCoord(25@, 26@, $4830(10@,117f), $4947(10@,117f), $5064(10@,117f), 31@, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:BCESAR2_4765
goto @BCESAR2_5071

:BCESAR2_4772
if 
  $bce2_track_z == 0
goto_if_false @BCESAR2_4866
if 
  Char.LocateInCar3D(25@, $4188(10@,116f), $4304(10@,116f), $4420(10@,116f), 8.0, 8.0, 8.0, False)
goto_if_false @BCESAR2_4859
Task.CarDriveWander(25@, 26@, 50.0, DrivingMode.AvoidCars)

:BCESAR2_4859
goto @BCESAR2_5029

:BCESAR2_4866
if 
  $bce2_track_z == 1
goto_if_false @BCESAR2_4960
if 
  Char.LocateInCar3D(25@, $4536(10@,98f), $4634(10@,98f), $4732(10@,98f), 8.0, 8.0, 8.0, False)
goto_if_false @BCESAR2_4953
Task.CarDriveWander(25@, 26@, 50.0, DrivingMode.AvoidCars)

:BCESAR2_4953
goto @BCESAR2_5029

:BCESAR2_4960
if 
  Char.LocateInCar3D(25@, $4830(10@,117f), $4947(10@,117f), $5064(10@,117f), 8.0, 8.0, 8.0, False)
goto_if_false @BCESAR2_5029
Task.CarDriveWander(25@, 26@, 50.0, DrivingMode.AvoidCars)

:BCESAR2_5029
if 
  is_int_lvar_equal_to_int_lvar 10@ == 9@
goto_if_false @BCESAR2_5071
if 
  not Car.IsOnScreen(26@)
goto_if_false @BCESAR2_5071
goto @BCESAR2_6142

:BCESAR2_5071
8@ = Char.GetScriptTaskStatus(25@, 1489)
if 
  is_int_lvar_equal_to_constant 8@ == 7
goto_if_false @BCESAR2_5264
if 
  $bce2_track_z == 0
goto_if_false @BCESAR2_5163
Task.CarDriveToCoord(25@, 26@, $4188(10@,116f), $4304(10@,116f), $4420(10@,116f), 31@, DriveMode.Normal, 0, DrivingMode.AvoidCars)
goto @BCESAR2_5264

:BCESAR2_5163
if 
  $bce2_track_z == 1
goto_if_false @BCESAR2_5226
Task.CarDriveToCoord(25@, 26@, $4536(10@,98f), $4634(10@,98f), $4732(10@,98f), 31@, DriveMode.Normal, 0, DrivingMode.AvoidCars)
goto @BCESAR2_5264

:BCESAR2_5226
Task.CarDriveToCoord(25@, 26@, $4830(10@,117f), $4947(10@,117f), $5064(10@,117f), 31@, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:BCESAR2_5264
goto @BCESAR2_5278

:BCESAR2_5271
goto @BCESAR2_6142

:BCESAR2_5278
if 
  not Car.IsDead(26@)
goto_if_false @BCESAR2_5759
13@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 14@ = 13@
sub_int_lvar_from_int_lvar 14@ -= 12@
20@ = Car.GetHealth(26@)
if 
  14@ > 1000
goto_if_false @BCESAR2_5759
if 
  is_int_lvar_greater_than_int_lvar 19@ > 20@
goto_if_false @BCESAR2_5759
if 
  $8326(1@,6i) == 0
goto_if_false @BCESAR2_5751
if 
  Object.IsAttached($8320(1@,6i))
goto_if_false @BCESAR2_5751
if 
  not Car.IsDead(26@)
goto_if_false @BCESAR2_5751
if or
  not Car.IsUpsidedown(26@)
  not Car.IsInWater(26@)
goto_if_false @BCESAR2_5751
$8333(1@,6f), $8339(1@,6f), $8345(1@,6f) = Object.GetCoordinates($8320(1@,6i))
$8345(1@,6f) += 0.5
Object.SetCoordinates($8320(1@,6i), $8333(1@,6f), $8339(1@,6f), $8345(1@,6f))
Object.Detach($8320(1@,6i), 90.0, 180.0, 1.5, True)
$8309(1@,6i) = Blip.AddForObject($8320(1@,6i))
Object.AddToVelocity($8320(1@,6i), 0.0, -5.0, 20.0)
Object.SetCollision($8320(1@,6i), True)
Object.SetDynamic($8320(1@,6i), True)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BCESAR2_5662
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @BCESAR2_5662
if 
  not Car.IsDead(22@)
goto_if_false @BCESAR2_5662
Object.SortOutCollisionWithCar($8320(1@,6i), 22@)

:BCESAR2_5662
12@ = Clock.GetGameTimer()
Text.PrintNow('BCE2_03', 5000, 1)
$8326(1@,6i) = 2
if 
  1@ > 0
goto_if_false @BCESAR2_5726
1@ -= 1
goto @BCESAR2_5751

:BCESAR2_5726
if 
  3@ == 6
goto_if_false @BCESAR2_5751
goto @BCESAR2_6142

:BCESAR2_5751
set_lvar_int_to_lvar_int 19@ = 20@

:BCESAR2_5759
if 
  1@ == 0
goto_if_false @BCESAR2_5802
if 
  3@ == 6
goto_if_false @BCESAR2_5802
goto @BCESAR2_6142

:BCESAR2_5802
2@ = 0

:BCESAR2_5809
if 
  2@ <> 6
goto_if_false @BCESAR2_6135
wait 0
if 
  $8326(2@,6i) == 2
goto_if_false @BCESAR2_6121
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BCESAR2_6121
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BCESAR2_6121
16@, 17@, 18@ = Char.GetCoordinates($stattreadstamina_ctr)
if 
  Object.DoesExist($8320(2@,6i))
goto_if_false @BCESAR2_6025
if 
  Char.LocateAnyMeansObject3D($stattreadstamina_ctr, $8320(2@,6i), 3.0, 3.0, 3.0, False)
goto_if_false @BCESAR2_6025
Blip.Remove($8309(2@,6i))
Object.Delete($8320(2@,6i))
Sound.AddOneOffSound(16@, 17@, 18@, ScriptSound.SoundPartMissionComplete)
Player.AddScore($statbike_temp, 300)
21@ += 300
$8326(2@,6i) = 3
3@ += 1

:BCESAR2_6025
if 
  Object.DoesExist($8320(2@,6i))
goto_if_false @BCESAR2_6121
if 
  not Char.LocateAnyMeansObject3D($stattreadstamina_ctr, $8320(2@,6i), 75.0, 75.0, 75.0, False)
goto_if_false @BCESAR2_6121
Blip.Remove($8309(2@,6i))
Object.Delete($8320(2@,6i))
$8326(2@,6i) = 3
3@ += 1

:BCESAR2_6121
2@ += 1
goto @BCESAR2_5809

:BCESAR2_6135
goto @BCESAR2_3531

:BCESAR2_6142
if 
  $flag_bcr1_skip == 1
goto_if_false @BCESAR2_6202
Text.PrintWithNumberBig('BCE2_04', 21@, 7500, TextStyle.MiddleSmallerHigher)
Text.PrintNow('BCE2_05', 7500, 1)
$flag_syn1_passed_1stime += 1

:BCESAR2_6202
Blip.Remove(27@)
Blip.Remove($8309[0])
Blip.Remove($8309[1])
Blip.Remove($8309[2])
Blip.Remove($8309[3])
Blip.Remove($8309[4])
Blip.Remove($8309[5])
Car.MarkAsNoLongerNeeded(26@)
Char.MarkAsNoLongerNeeded(25@)
Char.MarkAsNoLongerNeeded(28@)
Char.MarkAsNoLongerNeeded(29@)
Char.MarkAsNoLongerNeeded(30@)
Object.MarkAsNoLongerNeeded($8320[0])
Object.MarkAsNoLongerNeeded($8320[1])
Object.MarkAsNoLongerNeeded($8320[2])
Object.MarkAsNoLongerNeeded($8320[3])
Object.MarkAsNoLongerNeeded($8320[4])
Object.MarkAsNoLongerNeeded($8320[5])
Streaming.MarkModelAsNoLongerNeeded(107)
Streaming.MarkModelAsNoLongerNeeded(470)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(330)
$flag_courier_mission_passed = Clock.GetGameTimer()
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
$flag_courier_mission_passed = Clock.GetGameTimer()
if 
  $flag_bcr1_skip == 1
goto_if_false @BCESAR2_6372
if 
  $flag_shtr_passed_1stime == 0
goto_if_false @BCESAR2_6372
Stat.RegisterOddjobMissionPassed
$flag_shtr_passed_1stime = 1

:BCESAR2_6372
$flag_bcr1_skip = 0
terminate_this_script 
terminate_this_script 

//-------------External script 3 (BCESAR3)---------------

:COKEC
script_name 'COKEC'
15@ = 0
0@ = 0
1@ = 0
12@ = 0
13@ = 0
14@ = 0
16@ = 0
$start_line_point = 0
$end_line_point = 0

:COKEC_74
if or
  $trigger_final_synd_mission == 1
  $trigger_final_synd_mission == 3
  $trigger_final_synd_mission == 5
goto_if_false @COKEC_120
goto @COKEC_5527
16@ = 1

:COKEC_120
if 
  $flag_syn1_passed_1stime == 0
goto_if_false @COKEC_152
goto @COKEC_5527
16@ = 1

:COKEC_152
if 
  $garageZ >= 10
goto_if_false @COKEC_184
goto @COKEC_5527
16@ = 1

:COKEC_184
$1448 = Streaming.GetAreaVisible()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_333
if 
  $1448 == 0
goto_if_false @COKEC_322
if and
  Char.IsOnFoot($stattreadstamina_ctr)
  not Char.IsInAir($stattreadstamina_ctr)
  $weapon_shop1_blip == 0
  $flag_returned_shoehorses == 0
goto_if_false @COKEC_304
if and
  not Char.IsInWater($stattreadstamina_ctr)
  not Char.IsShooting($stattreadstamina_ctr)
goto_if_false @COKEC_286
goto @COKEC_297

:COKEC_286
wait 0
goto @COKEC_74

:COKEC_297
goto @COKEC_315

:COKEC_304
wait 0
goto @COKEC_74

:COKEC_315
goto @COKEC_333

:COKEC_322
wait 0
goto @COKEC_74

:COKEC_333
ENTEXT_214()
if 
  $main_visible_area == 0
goto_if_false @COKEC_369
wait 0
goto @COKEC_74

:COKEC_369
if 
  $flag_returned_tags == 0
goto_if_false @COKEC_389
Stat.RegisterMissionGiven

:COKEC_389
14@ = 1
$flag_bcr1_skip = 1

:COKEC_403
wait 0
3@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 2@ = 3@
sub_int_lvar_from_int_lvar 2@ -= 9@
set_lvar_int_to_lvar_int 9@ = 3@
27@ = Streaming.GetAreaVisible()
if 
  27@ == 0
goto_if_false @COKEC_475
add_int_lvar_to_int_lvar 10@ += 2@
add_int_lvar_to_int_lvar 11@ += 2@

:COKEC_475
if 
is_ps2_keyboard_key_just_pressed 98
goto_if_false @COKEC_497
goto @COKEC_5527

:COKEC_497
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @COKEC_519
goto @COKEC_5527

:COKEC_519
if 
  $weapon_shop1_blip == 1
goto_if_false @COKEC_551
16@ = 1
goto @COKEC_5527

:COKEC_551
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_574
goto @COKEC_5527

:COKEC_574
if 
  has_deatharrest_been_executed 
goto_if_false @COKEC_601
16@ = 1
goto @COKEC_5527

:COKEC_601
if 
  0@ == 0
goto_if_false @COKEC_675
23@ = -1
21@ = 0
24@ = 0
25@ = 0
26@ = 0
28@ = 0
0@ += 1
1@ = 0

:COKEC_675
if 
  0@ == 1
goto_if_false @COKEC_5520
if 
  1@ == 0
goto_if_false @COKEC_806
Streaming.RequestModel(23)
Streaming.RequestModel(468)
Streaming.RequestModel(346)
Streaming.RequestModel(330)
Streaming.RequestCarRecording(556)
Audio.LoadMissionAudio(MissionAudioSlot.Slot3, 20804)

:COKEC_742
if or
  not Streaming.HasModelLoaded(23)
  not Streaming.HasModelLoaded(468)
  not Streaming.HasModelLoaded(346)
  not Streaming.HasModelLoaded(330)
  not Streaming.HasCarRecordingBeenLoaded(556)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot3)
goto_if_false @COKEC_792
wait 0
goto @COKEC_742

:COKEC_792
29@ = DecisionMakerChar.Load(DecisionMakerType.Tough)
1@ += 1

:COKEC_806
if 
  1@ == 1
goto_if_false @COKEC_882
ENTEXT_214()
if 
  $main_visible_area == 1
goto_if_false @COKEC_882
Audio.PlayMissionAudio(MissionAudioSlot.Slot3)
Task.UseMobilePhone($stattreadstamina_ctr, True)
TIMERA = -1500
12@ = 0
1@ += 1

:COKEC_882
if 
  1@ >= 2
goto_if_false @COKEC_1565
if 
  5 > 12@
goto_if_false @COKEC_1565
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @COKEC_963
12@ = 4
$start_line_point = 3
$end_line_point = 2
16@ = 1

:COKEC_963
if and
  $start_line_point == 1
  $audio_line_terminate_all == 0
  not Text.IsMessageBeingDisplayed
goto_if_false @COKEC_1008
Text.PrintHelpForever('TALK_1')
$start_line_point += 1

:COKEC_1008
if 
  $start_line_point == 2
goto_if_false @COKEC_1099
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @COKEC_1066
$end_line_point = 1
$start_line_point += 1
Text.ClearHelp
goto @COKEC_1099

:COKEC_1066
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @COKEC_1099
$end_line_point = 2
$start_line_point += 1
Text.ClearHelp

:COKEC_1099
if or
  $start_line_point == 0
  $start_line_point == 3
goto_if_false @COKEC_1565
if and
  $audio_line_terminate_all == 0
  TIMERA > 1000
goto_if_false @COKEC_1565
switch_start 12@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @COKEC_1551 {caseNum1} 0 {caseLabel1} @COKEC_1213 {caseNum2} 1 {caseLabel2} @COKEC_1264 {caseNum3} 2 {caseLabel3} @COKEC_1312 {caseNum4} 3 {caseLabel4} @COKEC_1366 {caseNum5} 4 {caseLabel5} @COKEC_1480 {caseNum6} -1 {caseLabel6} @COKEC_1551 {caseNum7} -1 {caseLabel7} @COKEC_1551

:COKEC_1213
Audio.ClearMissionAudio(MissionAudioSlot.Slot3)
set_var_text_label s$bd_future_time_shown = 'MCES08A'
set_var_int_to_constant $bd_x = 25285
start_new_script @AUDIOL -1 0 1 1 0 
goto @COKEC_1551

:COKEC_1264
set_var_text_label s$bd_future_time_shown = 'MCES08B'
set_var_int_to_constant $bd_x = 25286
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
goto @COKEC_1551

:COKEC_1312
set_var_text_label s$bd_future_time_shown = 'MCES08C'
set_var_int_to_constant $bd_x = 25287
start_new_script @AUDIOL -1 0 1 1 0 
$start_line_point += 1
goto @COKEC_1551

:COKEC_1366
if 
  $end_line_point == 1
goto_if_false @COKEC_1432
set_var_text_label s$bd_future_time_shown = 'MCES08D'
set_var_int_to_constant $bd_x = 25288
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
goto @COKEC_1473

:COKEC_1432
set_var_text_label s$bd_future_time_shown = 'VOFFE2N'
set_var_int_to_constant $bd_x = 21447
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 

:COKEC_1473
goto @COKEC_1551

:COKEC_1480
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_1519
Task.UseMobilePhone($stattreadstamina_ctr, False)

:COKEC_1519
if 
  $end_line_point <> 1
goto_if_false @COKEC_1544
goto @COKEC_5527

:COKEC_1544
goto @COKEC_1551

:COKEC_1551
12@ += 1
TIMERA = 0

:COKEC_1565
if 
  1@ == 2
goto_if_false @COKEC_2214
if 
  15@ == 0
goto_if_false @COKEC_1991
26@ = Math.RandomIntInRange(0, 60)

:COKEC_1610
if 
  2@ == 0
goto_if_false @COKEC_1732
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_1725
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $3933(26@,85f), $4018(26@,85f), $4103(26@,85f), 150.0, 150.0, 150.0, False)
goto_if_false @COKEC_1718
26@ = Math.RandomIntInRange(0, 60)
wait 0
goto @COKEC_1725

:COKEC_1718
2@ = 1

:COKEC_1725
goto @COKEC_1610

:COKEC_1732
17@ = Car.Create(468, $3933(26@,85f), $4018(26@,85f), $4103(26@,85f))
18@ = Char.Create(PedType.CivMale, 23, $3933(26@,85f), $4018(26@,85f), $4103(26@,85f))
22@ = Object.Create(#PARA_PACK, $3933(26@,85f), $4018(26@,85f), $4103(26@,85f))
Char.WarpIntoCar(18@, 17@)
Task.PickUpObject(18@, 22@, -0.11, -0.05, 0.0, 1, 16, "NULL", "NULL", 0)
Car.SetLoadCollisionFlag(17@, False)
set_lvar_int_to_lvar_int 2@ = 26@
2@ += 1
set_var_float_to_var_float $on_footY = $3933(2@,85f)
sub_float_var_from_float_var $on_footY -= $3933(26@,85f)
set_var_float_to_var_float $on_footZ = $4018(2@,85f)
sub_float_var_from_float_var $on_footZ -= $4018(26@,85f)
5@ = Math.GetHeadingFromVector2D($on_footY, $on_footZ)
Car.SetHeading(17@, 5@)
Car.GotoCoordinatesRacing(17@, $3933(26@,85f), $4018(26@,85f), $4103(26@,85f))
goto @COKEC_1991

:COKEC_1991
Char.SetOnlyDamagedByPlayer(18@, True)
Char.SetAccuracy(18@, 95)
Char.SetDecisionMaker(18@, 29@)
Task.TogglePedThreatScanner(18@, False, False, True)
Char.GiveWeapon(18@, WeaponType.Pistol, 99999)
Char.SetMaxHealth(18@, 300)
Char.SetHealth(18@, 300)
Car.SetOnlyDamagedByPlayer(17@, True)
Car.SetCruiseSpeed(17@, 25.0)
Car.SetDrivingStyle(17@, DrivingMode.AvoidCars)
StuckCarCheck.AddWithWarp(17@, 2.0, 2000, True, True, True, 2)
Char.SetProofs(18@, True, True, True, True, True)
Car.SetProofs(17@, True, True, True, True, True)
Char.SetDrownsInWater(18@, False)
Char.SetCanBeKnockedOffBike(18@, True)
Streaming.MarkModelAsNoLongerNeeded(23)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(346)
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_2179
19@ = Blip.AddForChar(18@)

:COKEC_2179
24@ = 0
TIMERB = 0
11@ = 0
10@ = 0
1@ += 1

:COKEC_2214
if 
  1@ == 3
goto_if_false @COKEC_3295
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_3295
if 
  25@ == 0
goto_if_false @COKEC_2311
if 
is_ps2_keyboard_key_just_pressed 67
goto_if_false @COKEC_2304
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_2304
25@ = 1

:COKEC_2304
goto @COKEC_2337

:COKEC_2311
if 
is_ps2_keyboard_key_just_pressed 67
goto_if_false @COKEC_2337
Camera.RestoreJumpcut
Camera.SetBehindPlayer
25@ = 0

:COKEC_2337
if 
  25@ == 1
goto_if_false @COKEC_2497
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_2497
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(18@)
$on_footY += -15.0
$on_footZ += 12.0
$in_carX += 15.0
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(18@)
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(18@, 0.0, 2.0, 0.0)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:COKEC_2497
if 
is_ps2_keyboard_key_just_pressed 70
goto_if_false @COKEC_2571
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_2571
if 
  not Car.IsDead(17@)
goto_if_false @COKEC_2571
if 
  Char.IsInCar(18@, 17@)
goto_if_false @COKEC_2571
Task.LeaveCarImmediately(18@, 17@)

:COKEC_2571
if 
is_ps2_keyboard_key_just_pressed 74
goto_if_false @COKEC_2671
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_2671
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(18@, 0.0, -20.0, 0.0)
$in_carX += 10.0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_2671
Char.SetCoordinates($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)

:COKEC_2671
if 
  15@ == 0
goto_if_false @COKEC_2891
if 
  24@ == 0
goto_if_false @COKEC_2884
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_2884
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_2884
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 18@, 80.0, 80.0, 80.0, False)
goto_if_false @COKEC_2856
Char.SetCanBeKnockedOffBike(18@, False)
Char.SetProofs(18@, False, False, False, False, False)
if 
  not Car.IsDead(17@)
goto_if_false @COKEC_2828
Car.SetProofs(17@, False, False, False, False, False)

:COKEC_2828
Char.SetDrownsInWater(18@, True)
Char.SetCanBeKnockedOffBike(18@, False)
24@ = 1
goto @COKEC_2884

:COKEC_2856
if 
  11@ > 600000
goto_if_false @COKEC_2884
goto @COKEC_5527

:COKEC_2884
goto @COKEC_2891

:COKEC_2891
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_3042
if 
  24@ == 1
goto_if_false @COKEC_3042
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_3042
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_3000
if or
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 18@, 100.0, 100.0, False)
  Char.IsOnScreen(18@)
goto_if_false @COKEC_3000
10@ = 0

:COKEC_3000
if 
  10@ > 20000
goto_if_false @COKEC_3042
Text.Print('BCR3_02', 4000, 1)
goto @COKEC_5527

:COKEC_3042
if 
  23@ == -1
goto_if_false @COKEC_3221
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_3214
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_3214
if 
  Char.HasBeenDamagedByChar(18@, $stattreadstamina_ctr)
goto_if_false @COKEC_3214
if 
  Object.DoesExist(22@)
goto_if_false @COKEC_3184
20@ = Particle.CreateOnObjectWithDirection("COKE_TRAIL", 22@, 0.0, -0.2, -0.1, 0.0, 0.0, -1.0, 1)
Particle.Play(20@)

:COKEC_3184
Text.Print('BCR3_04', 5000, 1)
23@ = 1
TIMERA = 0

:COKEC_3214
goto @COKEC_3272

:COKEC_3221
if 
  TIMERA > 180000
goto_if_false @COKEC_3272
if 
  23@ > 0
goto_if_false @COKEC_3272
Particle.Stop(20@)
23@ = 0

:COKEC_3272
if 
  Char.IsDead(18@)
goto_if_false @COKEC_3295
1@ += 1

:COKEC_3295
if 
  1@ == 4
goto_if_false @COKEC_3554
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_3554
if 
  Char.IsDead(18@)
goto_if_false @COKEC_3554
Particle.Stop(20@)
cset_lvar_float_to_lvar_int 5@ =# TIMERA
if 
  5@ > 180000.0
goto_if_false @COKEC_3389
5@ = 180000.0

:COKEC_3389
5@ /= 180000.0
5@ -= 1.0
5@ *= -1.0
5@ *= 2000.0
cset_lvar_int_to_lvar_float 23@ =# 5@
Blip.Remove(19@)
if 
  Object.DoesExist(22@)
goto_if_false @COKEC_3463
Object.Delete(22@)

:COKEC_3463
$on_footY, $on_footZ, $in_carX = World.GetDeadCharPickupCoords(18@)
21@ = Pickup.Create(#PARA_PACK, PickupType.Once, $on_footY, $on_footZ, $in_carX)
19@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
Blip.ChangeColor(19@, BlipColor.Green)
Text.PrintNow('BCR3_05', 4000, 1)
$spot_bets = 0
TIMERA = 0
1@ += 1

:COKEC_3554
if 
is_ps2_keyboard_key_just_pressed 85
goto_if_false @COKEC_3590
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_3590
Task.Die(18@)

:COKEC_3590
if 
  $spot_bets == 0
goto_if_false @COKEC_3777
if 
  not Pickup.HasBeenCollected(21@)
goto_if_false @COKEC_3777
$on_footY, $on_footZ, $in_carX = Pickup.GetCoordinates(21@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_3777
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, $on_footY, $on_footZ, 50.0, 50.0, False)
goto_if_false @COKEC_3777
5@ = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
set_var_float_to_lvar_float $in_carX = 5@
$in_carX += 1.0
Pickup.Remove(21@)
Blip.Remove(19@)
21@ = Pickup.Create(#PARA_PACK, PickupType.Once, $on_footY, $on_footZ, $in_carX)
19@ = Blip.AddForCoord($on_footY, $on_footZ, $in_carX)
Blip.ChangeColor(19@, BlipColor.Green)
$spot_bets = 1

:COKEC_3777
if 
  1@ == 5
goto_if_false @COKEC_4019
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_4019
$on_footY, $on_footZ, $in_carX = Pickup.GetCoordinates(21@)
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, $on_footY, $on_footZ, 300.0, 300.0, False)
goto_if_false @COKEC_4010
if 
  180000 > TIMERA
goto_if_false @COKEC_3994
if 
  21@ <> 0
goto_if_false @COKEC_3978
if 
  Pickup.HasBeenCollected(21@)
goto_if_false @COKEC_3971
if 
  23@ > 0
goto_if_false @COKEC_3948
Text.ClearPrints
13@ = 1
goto @COKEC_3964

:COKEC_3948
Text.PrintNow('BCR3_06', 7500, 1)

:COKEC_3964
goto @COKEC_5527

:COKEC_3971
goto @COKEC_3987

:COKEC_3978
Text.ClearPrints
goto @COKEC_5527

:COKEC_3987
goto @COKEC_4003

:COKEC_3994
Text.ClearPrints
goto @COKEC_5527

:COKEC_4003
goto @COKEC_4019

:COKEC_4010
Text.ClearPrints
goto @COKEC_5527

:COKEC_4019
if 
  24@ <> 0
goto_if_false @COKEC_4226
if 
  15@ == 0
goto_if_false @COKEC_4226
if 
  Car.DoesExist(17@)
goto_if_false @COKEC_4219
if 
  not Car.IsDead(17@)
goto_if_false @COKEC_4219
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_4219
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 17@, 50.0, 50.0, 50.0, False)
goto_if_false @COKEC_4209
if 
  Char.LocateAnyMeansCar3D($stattreadstamina_ctr, 17@, 20.0, 20.0, 20.0, False)
goto_if_false @COKEC_4192
Car.SetCruiseSpeed(17@, 45.0)
goto @COKEC_4202

:COKEC_4192
Car.SetCruiseSpeed(17@, 30.0)

:COKEC_4202
goto @COKEC_4219

:COKEC_4209
Car.SetCruiseSpeed(17@, 20.0)

:COKEC_4219
goto @COKEC_4226

:COKEC_4226
if 
  15@ == 0
goto_if_false @COKEC_4613
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_4613
if 
  26@ <> -1
goto_if_false @COKEC_4613
if 
  not Car.IsDead(17@)
goto_if_false @COKEC_4613
if 
  Char.IsInCar(18@, 17@)
goto_if_false @COKEC_4613
if 
  Char.LocateInCar3D(18@, $3933(26@,85f), $4018(26@,85f), $4103(26@,85f), 25.0, 25.0, 25.0, False)
goto_if_false @COKEC_4468
26@ += 1
if 
  85 > 26@
goto_if_false @COKEC_4439
Task.CarDriveToCoord(18@, 17@, $3933(26@,85f), $4018(26@,85f), $4103(26@,85f), 25.0, DriveMode.Racing, 1, DrivingMode.AvoidCars)
goto @COKEC_4461

:COKEC_4439
Task.CarDriveWander(18@, 17@, 25.0, DrivingMode.AvoidCars)
26@ = -1

:COKEC_4461
goto @COKEC_4613

:COKEC_4468
if 
  85 > 26@
goto_if_false @COKEC_4562
2@ = Char.GetScriptTaskStatus(18@, 1489)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COKEC_4555
Task.CarDriveToCoord(18@, 17@, $3933(26@,85f), $4018(26@,85f), $4103(26@,85f), 25.0, DriveMode.Racing, 1, DrivingMode.AvoidCars)

:COKEC_4555
goto @COKEC_4613

:COKEC_4562
2@ = Char.GetScriptTaskStatus(18@, 1490)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COKEC_4613
Task.CarDriveWander(18@, 17@, 25.0, DrivingMode.AvoidCars)
26@ = -1

:COKEC_4613
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_4728
if 
  not Object.DoesExist(22@)
goto_if_false @COKEC_4668
22@ = Object.Create(#PARA_PACK, 0.0, 0.0, 0.0)

:COKEC_4668
if 
  not Char.IsHoldingObject(18@, 22@)
goto_if_false @COKEC_4728
Task.PickUpObject(18@, 22@, -0.11, -0.05, 0.0, 1, 16, "NULL", "NULL", 0)

:COKEC_4728
if 
  27@ <> 0
goto_if_false @COKEC_4824
if 
  28@ == 0
goto_if_false @COKEC_4817
if 
  Car.DoesExist(17@)
goto_if_false @COKEC_4787
Car.FreezePosition(17@, True)

:COKEC_4787
if 
  Char.DoesExist(18@)
goto_if_false @COKEC_4810
Char.FreezePosition(18@, True)

:COKEC_4810
28@ = 1

:COKEC_4817
goto @COKEC_4895

:COKEC_4824
if 
  28@ == 1
goto_if_false @COKEC_4895
if 
  Car.DoesExist(17@)
goto_if_false @COKEC_4865
Car.FreezePosition(17@, False)

:COKEC_4865
if 
  Char.DoesExist(18@)
goto_if_false @COKEC_4888
Char.FreezePosition(18@, False)

:COKEC_4888
28@ = 0

:COKEC_4895
if 
  Car.DoesExist(17@)
goto_if_false @COKEC_5520
if 
  not Char.IsDead(18@)
goto_if_false @COKEC_5520
if 
  24@ == 1
goto_if_false @COKEC_5477
if 
  not Car.IsDead(17@)
goto_if_false @COKEC_5395
if 
  not Char.IsInCar(18@, 17@)
goto_if_false @COKEC_5388
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_5388
if 
  not Char.LocateOnFootChar3D($stattreadstamina_ctr, 18@, 20.0, 20.0, 10.0, False)
goto_if_false @COKEC_5239
2@ = Char.GetScriptTaskStatus(18@, 1560)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COKEC_5121
Char.ClearTasks(18@)
8@ = Sequence.Open()
Task.GotoCar(-1, 17@, 10000, 5.0)
Task.EnterCarAsDriver(-1, 17@, 10000)
Sequence.Close(8@)
Char.PerformSequence(18@, 8@)
Sequence.Clear(8@)
goto @COKEC_5232

:COKEC_5121
2@ = Char.GetScriptTaskStatus(18@, 1506)
if 
  not is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COKEC_5232
2@ = Char.GetScriptTaskStatus(18@, 1560)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COKEC_5232
Char.ClearTasks(18@)
8@ = Sequence.Open()
Task.GotoCar(-1, 17@, 10000, 5.0)
Task.EnterCarAsDriver(-1, 17@, 10000)
Sequence.Close(8@)
Char.PerformSequence(18@, 8@)
Sequence.Clear(8@)

:COKEC_5232
goto @COKEC_5388

:COKEC_5239
if 
  23@ == 1
goto_if_false @COKEC_5306
2@ = Char.GetScriptTaskStatus(18@, 1506)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COKEC_5299
Char.ClearTasks(18@)
Task.KillCharOnFoot(18@, $stattreadstamina_ctr)

:COKEC_5299
goto @COKEC_5388

:COKEC_5306
2@ = Char.GetScriptTaskStatus(18@, 1560)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COKEC_5388
Char.ClearTasks(18@)
8@ = Sequence.Open()
Task.GotoCar(-1, 17@, 10000, 5.0)
Task.EnterCarAsDriver(-1, 17@, 10000)
Sequence.Close(8@)
Char.PerformSequence(18@, 8@)
Sequence.Clear(8@)

:COKEC_5388
goto @COKEC_5470

:COKEC_5395
2@ = Char.GetScriptTaskStatus(18@, 1560)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COKEC_5470
8@ = Sequence.Open()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_5452
Task.KillCharOnFoot(-1, $stattreadstamina_ctr)

:COKEC_5452
Sequence.Close(8@)
Char.PerformSequence(18@, 8@)
Sequence.Clear(8@)

:COKEC_5470
goto @COKEC_5520

:COKEC_5477
if 
  not Car.IsDead(17@)
goto_if_false @COKEC_5520
if 
  not Char.IsInCar(18@, 17@)
goto_if_false @COKEC_5520
Char.WarpIntoCar(18@, 17@)

:COKEC_5520
goto @COKEC_403

:COKEC_5527
if 
  14@ == 1
goto_if_false @COKEC_5844
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_5568
Task.UseMobilePhone($stattreadstamina_ctr, False)

:COKEC_5568
start_new_script @CLEANAU 
Audio.ClearMissionAudio(MissionAudioSlot.Slot1)
Audio.ClearMissionAudio(MissionAudioSlot.Slot2)
wait 1
Text.ClearHelp
if 
  13@ == 0
goto_if_false @COKEC_5615
23@ = 0

:COKEC_5615
if 
  16@ == 0
goto_if_false @COKEC_5681
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @COKEC_5662
Text.PrintNow('BCR3_08', 7500, 1)

:COKEC_5662
Text.PrintWithNumberBig('BCE2_04', 23@, 7500, TextStyle.MiddleSmallerHigher)

:COKEC_5681
if 
  13@ == 1
goto_if_false @COKEC_5759
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_5723
Player.AddScore($statbike_temp, 23@)

:COKEC_5723
if 
  $flag_returned_tags == 0
goto_if_false @COKEC_5750
Stat.RegisterOddjobMissionPassed
$flag_returned_tags += 1

:COKEC_5750
Audio.PlayMissionPassedTune(1)
Player.ClearWantedLevel($statbike_temp)

:COKEC_5759
Char.MarkAsNoLongerNeeded(18@)
Car.MarkAsNoLongerNeeded(17@)
Object.MarkAsNoLongerNeeded(22@)
Blip.Remove(19@)
Particle.Kill(20@)
Pickup.Remove(21@)
DecisionMaker.Remove(29@)
Streaming.MarkModelAsNoLongerNeeded(23)
Streaming.MarkModelAsNoLongerNeeded(468)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.RemoveCarRecording(556)
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Streaming.MarkModelAsNoLongerNeeded(330)
14@ = 0

:COKEC_5844
$flag_bcr1_skip = 0
terminate_this_script 
set_var_int_to_var_int $8400 = $8399
$8400 -= 2
set_var_int_to_var_int $8401 = $8399
$8401 += 2
if 
  0 > $8400
goto_if_false @COKEC_5908
$8400 = 0

:COKEC_5908
if 
  $8401 > 84
goto_if_false @COKEC_5933
$8401 = 84

:COKEC_5933
set_lvar_int_to_var_int 2@ = $8400

:COKEC_5941
if 
  is_int_var_greater_than_int_lvar $8401 > 2@
goto_if_false @COKEC_6051
set_lvar_int_to_lvar_int 3@ = 2@
3@ += 1
if 
  85 > 3@
goto_if_false @COKEC_6037
Debugger.Line($3933(2@,85f), $4018(2@,85f), $4103(2@,85f), $3933(3@,85f), $4018(3@,85f), $4103(3@,85f))

:COKEC_6037
2@ += 1
goto @COKEC_5941

:COKEC_6051
if 
is_ps2_keyboard_key_just_pressed 124
goto_if_false @COKEC_6122
$8399 += 1
if 
  $8399 > 84
goto_if_false @COKEC_6098
$8399 = 0

:COKEC_6098
write_debug_with_int "BCE_POINT_TO_EDIT" {_p2} $8399

:COKEC_6122
if 
is_ps2_keyboard_key_just_pressed 127
goto_if_false @COKEC_6193
$8399 -= 1
if 
  0 > $8399
goto_if_false @COKEC_6169
$8399 = 84

:COKEC_6169
write_debug_with_int "BCE_POINT_TO_EDIT" {_p2} $8399

:COKEC_6193
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @COKEC_6223
$4018($8399,85f) += 0.5

:COKEC_6223
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @COKEC_6253
$4018($8399,85f) += -0.5

:COKEC_6253
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @COKEC_6283
$3933($8399,85f) += 0.5

:COKEC_6283
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @COKEC_6313
$3933($8399,85f) += -0.5

:COKEC_6313
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @COKEC_6343
$4103($8399,85f) += 0.5

:COKEC_6343
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @COKEC_6373
$4103($8399,85f) += -0.5

:COKEC_6373
if 
is_ps2_keyboard_key_just_pressed 87
goto_if_false @COKEC_6402
$4018($8399,85f) += 10.0

:COKEC_6402
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @COKEC_6431
$4018($8399,85f) += -10.0

:COKEC_6431
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @COKEC_6460
$3933($8399,85f) += 10.0

:COKEC_6460
if 
is_ps2_keyboard_key_just_pressed 65
goto_if_false @COKEC_6489
$3933($8399,85f) += -10.0

:COKEC_6489
if 
is_ps2_keyboard_key_just_pressed 137
goto_if_false @COKEC_7511
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("COKE COURIER ROUTE - EDIT POINT -")
save_int_to_debug_file $8399
save_newline_to_debug_file 
2@ = 0

:COKEC_6651
if 
  85 > 2@
goto_if_false @COKEC_7511
Debugger.SaveStringToDebugFile("BCE2_CHECKPOINTS_X[")
save_int_to_debug_file 2@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $3933(2@,85f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BCE2_CHECKPOINTS_Y[")
save_int_to_debug_file 2@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $4018(2@,85f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BCE2_CHECKPOINTS_Z[")
save_int_to_debug_file 2@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $4103(2@,85f)
save_newline_to_debug_file 
2@ += 1
goto @COKEC_6651

:COKEC_7511
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @COKEC_7614
set_lvar_int_to_var_int 2@ = $8399
2@ -= 1
if 
  0 > 2@
goto_if_false @COKEC_7566
2@ = 0

:COKEC_7566
set_var_float_to_var_float $3933($8399,85f) = $3933(2@,85f)
set_var_float_to_var_float $4018($8399,85f) = $4018(2@,85f)
set_var_float_to_var_float $4103($8399,85f) = $4103(2@,85f)

:COKEC_7614
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @COKEC_7716
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $3933($8399,85f), $4018($8399,85f), $4103($8399,85f), 1.0, 1.0, 1.0, False)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $3933($8399,85f), $4018($8399,85f), $4103($8399,85f), 0.5, 0.5, 0.5, False)

:COKEC_7716
return 
terminate_this_script 

//-------------External script 4 (SLOT_MACHINE)---------------

:BANDIT
script_name 'BANDIT'
4@ = 0
6@ = 0
10@ = 0.0
11@ = 0.0
12@ = 0.0
13@ = 0
14@ = Math.RandomIntInRange(0, 5)
if 
  14@ == 1
goto_if_false @BANDIT_96
14@ = 5

:BANDIT_96
if 
  14@ == 0
goto_if_false @BANDIT_121
14@ = 1

:BANDIT_121
if 
  14@ == 2
goto_if_false @BANDIT_146
14@ = 10

:BANDIT_146
if 
  14@ == 3
goto_if_false @BANDIT_171
14@ = 20

:BANDIT_171
if 
  14@ == 4
goto_if_false @BANDIT_196
14@ = 50

:BANDIT_196
if 
  4@ == 1
goto_if_false @BANDIT_253
0@ = Object.CreateNoOffset(#KB_BANDIT_U, 0.0, 0.0, 0.0)
1@ = Object.CreateNoOffset(#CJ_WHEEL_1, $on_footY, $on_footZ, $in_carX)

:BANDIT_253
wait 0
$RStickY = Clock.GetGameTimer()
if 
  Object.DoesExist(0@)
goto_if_false @BANDIT_2859
if 
  Object.IsWithinBrainActivationRange(0@)
goto_if_false @BANDIT_2845
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BANDIT_2831
switch_start 4@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @BANDIT_2824 {caseNum1} 0 {caseLabel1} @BANDIT_373 {caseNum2} 1 {caseLabel2} @BANDIT_590 {caseNum3} 2 {caseLabel3} @BANDIT_792 {caseNum4} 3 {caseLabel4} @BANDIT_1356 {caseNum5} 4 {caseLabel5} @BANDIT_1595 {caseNum6} 5 {caseLabel6} @BANDIT_1943 {caseNum7} 6 {caseLabel7} @BANDIT_2549

:BANDIT_373
15@ = Object.GetModel(0@)
if 
  Streaming.HasModelLoaded(15@)
goto_if_false @BANDIT_583
$on_footX = Object.GetHeading(0@)
if 
  not Object.DoesExist(1@)
goto_if_false @BANDIT_462
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 1)
1@ = Object.CreateNoOffset(#CJ_WHEEL_1, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(1@, $on_footX)

:BANDIT_462
if 
  not Object.DoesExist(2@)
goto_if_false @BANDIT_519
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 2)
2@ = Object.CreateNoOffset(#CJ_WHEEL_02, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(2@, $on_footX)

:BANDIT_519
if 
  not Object.DoesExist(3@)
goto_if_false @BANDIT_576
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 3)
3@ = Object.CreateNoOffset(#CJ_WHEEL_03, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(3@, $on_footX)

:BANDIT_576
4@ += 1

:BANDIT_583
goto @BANDIT_2824

:BANDIT_590
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, -1.0, -0.5)
16@ = World.GetUserOfClosestMapAttractor($on_footY, $on_footZ, $in_carX, 1.5, #KB_BANDIT_U, "PEDSLOT")
if 
  16@ == -1
goto_if_false @BANDIT_785
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.6, 0.6, 1.0, False)
goto_if_false @BANDIT_758
Text.PrintHelpForeverWithNumber('SLOT_02', 14@)
Pad.SetPlayerEnterCarButton($statbike_temp, False)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1814)
gosub @BANDIT_2873
4@ += 1
goto @BANDIT_785

:BANDIT_758
if 
  13@ == 1
goto_if_false @BANDIT_785
Txd.Remove
13@ = 0

:BANDIT_785
goto @BANDIT_2824

:BANDIT_792
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, -1.0, -0.5)
16@ = World.GetUserOfClosestMapAttractor($on_footY, $on_footZ, $in_carX, 1.5, #KB_BANDIT_U, "PEDSLOT")
if 
  16@ == -1
goto_if_false @BANDIT_1306
Streaming.RequestAnimation("CASINO")
if 
  Streaming.HasAnimationLoaded("CASINO")
goto_if_false @BANDIT_1299
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.6, 0.6, 1.0, False)
goto_if_false @BANDIT_1256
17@ = World.GetRandomCharInAreaOffsetNoSave($on_footY, $on_footZ, $in_carX, 0.6, 0.6, 1.0)
if 
  17@ == -1
goto_if_false @BANDIT_1249
if 
  not Game.IsMinigameInProgress
goto_if_false @BANDIT_1249
gosub @BANDIT_2873
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BANDIT_1249
set_var_int_to_lvar_int $an = 14@
$an -= 1
if 
  Player.IsScoreGreater($statbike_temp, $an)
goto_if_false @BANDIT_1229
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
$on_footX = Object.GetHeading(0@)
Task.CharSlideToCoordAndPlayAnim($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, $on_footX, 0.4, "SLOT_PLYR", "CASINO", 4.0, False, False, False, False, 0)
set_var_int_to_lvar_int $an = 14@
$an *= -1
Player.AddScore($statbike_temp, $an)
Stat.IncrementInt(StatId.MoneySpentGambling, 14@)
cset_var_float_to_lvar_int $y_temp =# 14@
$y_temp *= 0.001
Stat.IncrementFloat(StatId.Gambling, $y_temp)
Text.ClearHelp
Game.SetMinigameInProgress(True)
set_lvar_int_to_var_int 5@ = $RStickY
5@ += 750
4@ += 1
goto @BANDIT_1249

:BANDIT_1229
Sound.AddOneOffSound(0.0, 0.0, 0.0, ScriptSound.SoundAmmunationBuyWeaponDenied)

:BANDIT_1249
goto @BANDIT_1299

:BANDIT_1256
if 
  13@ == 1
goto_if_false @BANDIT_1283
Txd.Remove
13@ = 0

:BANDIT_1283
Text.ClearHelp
Pad.SetPlayerEnterCarButton($statbike_temp, True)
4@ = 1

:BANDIT_1299
goto @BANDIT_1349

:BANDIT_1306
if 
  13@ == 1
goto_if_false @BANDIT_1333
Txd.Remove
13@ = 0

:BANDIT_1333
Text.ClearHelp
Pad.SetPlayerEnterCarButton($statbike_temp, True)
4@ = 1

:BANDIT_1349
goto @BANDIT_2824

:BANDIT_1356
gosub @BANDIT_2873
if 
  is_int_var_greater_than_int_lvar $RStickY > 5@
goto_if_false @BANDIT_1588
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1814)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @BANDIT_1424
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1087)

:BANDIT_1424
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Text.UseCommands(True)
if 
  13@ == 0
goto_if_false @BANDIT_1539
Txd.LoadDictionary('LD_SLOT')
Txd.LoadSprite(1, "CHERRY")
Txd.LoadSprite(2, "GRAPES")
Txd.LoadSprite(3, "R_69")
Txd.LoadSprite(4, "BELL")
Txd.LoadSprite(5, "BAR1_O")
Txd.LoadSprite(6, "BAR2_O")
13@ = 1

:BANDIT_1539
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1814)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @BANDIT_1581
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1089)

:BANDIT_1581
4@ += 1

:BANDIT_1588
goto @BANDIT_2824

:BANDIT_1595
add_timed_val_to_float_lvar 10@ +=@ 1.0
if 
  10@ > 10.0
goto_if_false @BANDIT_1682
10@ = 10.0
$an = Math.RandomIntInRange(2000, 3000)
6@ = 0
set_lvar_int_to_var_int 5@ = $RStickY
add_int_var_to_int_lvar 5@ += $an
Char.ClearTasks($stattreadstamina_ctr)
4@ += 1

:BANDIT_1682
add_timed_val_to_float_lvar 11@ +=@ 1.1
if 
  11@ > 10.0
goto_if_false @BANDIT_1723
11@ = 10.0

:BANDIT_1723
add_timed_val_to_float_lvar 12@ +=@ 1.05
if 
  12@ > 10.0
goto_if_false @BANDIT_1764
12@ = 10.0

:BANDIT_1764
$on_footX = Object.GetHeading(0@)
$x_temp = 0

:BANDIT_1779
if 
  3 > $x_temp
goto_if_false @BANDIT_1929
if 
  10@($x_temp,3f) > 0.0
goto_if_false @BANDIT_1915
add_timed_float_lvar_to_float_lvar 7@($x_temp,3f) +=@ 10@($x_temp,3f)
if or
  7@($x_temp,3f) > 360.0
  7@($x_temp,3f) == 360.0
goto_if_false @BANDIT_1891
7@($x_temp,3f) -= 360.0

:BANDIT_1891
Object.SetRotation(1@($x_temp,3i), 7@($x_temp,3f), 0.0, $on_footX)

:BANDIT_1915
$x_temp += 1
goto @BANDIT_1779

:BANDIT_1929
gosub @BANDIT_2873
goto @BANDIT_2824

:BANDIT_1943
if 
  is_int_var_greater_than_int_lvar $RStickY > 5@
goto_if_false @BANDIT_2370
sub_timed_val_from_float_lvar 10@(6@,3f) -=@ 0.3
if 
  0.6 > 10@(6@,3f)
goto_if_false @BANDIT_2370
set_var_float_to_lvar_float $y_temp = 7@(6@,3f)
$y_temp /= 20.0
cset_var_int_to_var_float $an =# $y_temp
$an *= 20
cset_var_float_to_var_int $y_temp =# $an
set_var_float_to_lvar_float $z_temp = 7@(6@,3f)
sub_float_var_from_float_var $z_temp -= $y_temp
if 
  10.0 > $z_temp
goto_if_false @BANDIT_2356
10@(6@,3f) = 0.0
set_var_float_to_lvar_float $y_temp = 7@(6@,3f)
$y_temp /= 20.0
cset_var_int_to_var_float $an =# $y_temp
cset_lvar_float_to_var_int 7@(6@,3f) =# $an
7@(6@,3f) *= 20.0
$an = Math.RandomIntInRange(750, 1000)
set_lvar_int_to_var_int 5@ = $RStickY
add_int_var_to_int_lvar 5@ += $an
if 
  2 > 6@
goto_if_false @BANDIT_2300
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1814)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @BANDIT_2244
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1088)

:BANDIT_2244
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1814)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @BANDIT_2286
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1089)

:BANDIT_2286
6@ += 1
goto @BANDIT_2349

:BANDIT_2300
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1814)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @BANDIT_2342
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1088)

:BANDIT_2342
4@ += 1

:BANDIT_2349
goto @BANDIT_2370

:BANDIT_2356
10@(6@,3f) = 0.6

:BANDIT_2370
$on_footX = Object.GetHeading(0@)
$x_temp = 0

:BANDIT_2385
if 
  3 > $x_temp
goto_if_false @BANDIT_2535
if 
  10@($x_temp,3f) > 0.0
goto_if_false @BANDIT_2521
add_timed_float_lvar_to_float_lvar 7@($x_temp,3f) +=@ 10@($x_temp,3f)
if or
  7@($x_temp,3f) > 360.0
  7@($x_temp,3f) == 360.0
goto_if_false @BANDIT_2497
7@($x_temp,3f) -= 360.0

:BANDIT_2497
Object.SetRotation(1@($x_temp,3i), 7@($x_temp,3f), 0.0, $on_footX)

:BANDIT_2521
$x_temp += 1
goto @BANDIT_2385

:BANDIT_2535
gosub @BANDIT_2873
goto @BANDIT_2824

:BANDIT_2549
set_var_float_to_lvar_float $y_temp = 7@
$y_temp /= 20.0
cset_var_int_to_var_float $an =# $y_temp
set_var_float_to_lvar_float $y_temp = 8@
$y_temp /= 20.0
cset_var_int_to_var_float $temp_float_1 =# $y_temp
set_var_float_to_lvar_float $y_temp = 9@
$y_temp /= 20.0
cset_var_int_to_var_float $temp_float_2 =# $y_temp
if and
  is_int_var_equal_to_int_var $3417($an,18i) == $3435($temp_float_1,18i)
  is_int_var_equal_to_int_var $3417($an,18i) == $3453($temp_float_2,18i)
goto_if_false @BANDIT_2772
set_var_int_to_lvar_int $temp_float_3 = 14@
mult_int_var_by_int_var $temp_float_3 *= $3417($an,18i)
start_new_script @CASHWIN $temp_float_3 
Player.AddScore($statbike_temp, $temp_float_3)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1814)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @BANDIT_2751
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1090)

:BANDIT_2751
Stat.IncrementInt(StatId.MoneyWonGambling, $temp_float_3)
Stat.RegisterInt(StatId.BiggestGamblingWin, $temp_float_3)
goto @BANDIT_2792

:BANDIT_2772
start_new_script @CASHWIN 0 2500 
Stat.RegisterInt(StatId.BiggestGamblingLoss, 14@)

:BANDIT_2792
Player.SetControl($statbike_temp, True)
Game.SetMinigameInProgress(False)
4@ = 1
gosub @BANDIT_2873
goto @BANDIT_2824

:BANDIT_2824
goto @BANDIT_2838

:BANDIT_2831
goto @BANDIT_3455

:BANDIT_2838
goto @BANDIT_2852

:BANDIT_2845
goto @BANDIT_3455

:BANDIT_2852
goto @BANDIT_2866

:BANDIT_2859
goto @BANDIT_3455

:BANDIT_2866
goto @BANDIT_253

:BANDIT_2873
if 
  13@ == 1
goto_if_false @BANDIT_3453
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawWindow($reel_sprite_y, $rou_text_x, $3473, $3478, 'DUMMY', 0)
$x_temp = 0

:BANDIT_2927
if 
  3 > $x_temp
goto_if_false @BANDIT_3453
set_var_float_to_lvar_float $y_temp = 7@($x_temp,3f)
$y_temp /= 20.0
cset_var_int_to_var_float $an =# $y_temp
if 
  $x_temp == 0
goto_if_false @BANDIT_3013
set_var_int_to_var_int $temp_float_1 = $3417($an,18i)
set_var_float_to_var_float $grape = $3471

:BANDIT_3013
if 
  $x_temp == 1
goto_if_false @BANDIT_3061
set_var_int_to_var_int $temp_float_1 = $3435($an,18i)
set_var_float_to_var_float $grape = $3471
$grape += 64.0

:BANDIT_3061
if 
  $x_temp == 2
goto_if_false @BANDIT_3109
set_var_int_to_var_int $temp_float_1 = $3453($an,18i)
set_var_float_to_var_float $grape = $3471
$grape += 128.0

:BANDIT_3109
if 
  is_int_var_equal_to_int_var $temp_float_1 == $bar1_o
goto_if_false @BANDIT_3164
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(1, $grape, $3476, 64.0, 64.0, 200, 200, 200, 255)

:BANDIT_3164
if 
  is_int_var_equal_to_int_var $temp_float_1 == $bar2_o
goto_if_false @BANDIT_3219
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(2, $grape, $3476, 64.0, 64.0, 200, 200, 200, 255)

:BANDIT_3219
if 
  is_int_var_equal_to_int_var $temp_float_1 == $reel1_winnings
goto_if_false @BANDIT_3274
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(3, $grape, $3476, 64.0, 64.0, 200, 200, 200, 255)

:BANDIT_3274
if 
  is_int_var_equal_to_int_var $temp_float_1 == $3414
goto_if_false @BANDIT_3329
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, $grape, $3476, 64.0, 64.0, 200, 200, 200, 255)

:BANDIT_3329
if 
  is_int_var_equal_to_int_var $temp_float_1 == $3415
goto_if_false @BANDIT_3384
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(5, $grape, $3476, 64.0, 64.0, 200, 200, 200, 255)

:BANDIT_3384
if 
  is_int_var_equal_to_int_var $temp_float_1 == $3416
goto_if_false @BANDIT_3439
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(6, $grape, $3476, 64.0, 64.0, 200, 200, 200, 255)

:BANDIT_3439
$x_temp += 1
goto @BANDIT_2927

:BANDIT_3453
return 

:BANDIT_3455
if 
  4@ > 0
goto_if_false @BANDIT_3550
if 
  4@ > 1
goto_if_false @BANDIT_3500
Text.ClearHelp
Pad.SetPlayerEnterCarButton($statbike_temp, True)

:BANDIT_3500
if 
  4@ > 2
goto_if_false @BANDIT_3528
Streaming.RemoveAnimation("CASINO")

:BANDIT_3528
Object.Delete(1@)
Object.Delete(2@)
Object.Delete(3@)
4@ = 0

:BANDIT_3550
if 
  13@ == 1
goto_if_false @BANDIT_3577
Txd.Remove
13@ = 0

:BANDIT_3577
terminate_this_script 
return 
terminate_this_script 

//-------------External script 5 (ROULETTE)---------------

:ROULETE
script_name 'ROULETE'
1@ = 0
if 
  1@ == 1
goto_if_false @ROULETE_90
0@ = Object.CreateNoOffset(#ROULETTE_TBL, 0.0, 0.0, 0.0)
$8565($text_positionn_x,151i) = Object.CreateNoOffset(#CHIP_STACK07, $on_footY, $on_footZ, $in_carX)
write_debug "AAAAAAA"

:ROULETE_90
4@ = 0
5@ = 0
8@ = 0
9@ = 0
7@ = 0
10@ = 500
11@ = 500
12@ = 0
13@ = 0
14@ = 0
15@ = 0
16@ = Stat.GetFloat(StatId.Gambling)
18@ = Math.RandomIntInRange(0, 19)
$1527 += 1
if 
  1.0 > 16@
goto_if_false @ROULETE_252
if or
  $1527 == 1
  $1527 == 5
goto_if_false @ROULETE_245
18@ = 0

:ROULETE_245
goto @ROULETE_464

:ROULETE_252
if 
  10.0 > 16@
goto_if_false @ROULETE_312
if or
  $1527 == 1
  $1527 == 5
goto_if_false @ROULETE_305
18@ = 5

:ROULETE_305
goto @ROULETE_464

:ROULETE_312
if 
  100.0 > 16@
goto_if_false @ROULETE_372
if or
  $1527 == 1
  $1527 == 5
goto_if_false @ROULETE_365
18@ = 10

:ROULETE_365
goto @ROULETE_464

:ROULETE_372
if 
  1000.0 > 16@
goto_if_false @ROULETE_432
if or
  $1527 == 1
  $1527 == 5
goto_if_false @ROULETE_425
18@ = 14

:ROULETE_425
goto @ROULETE_464

:ROULETE_432
if or
  $1527 == 1
  $1527 == 5
goto_if_false @ROULETE_464
18@ = 17

:ROULETE_464
if or
  18@ == 0
  18@ == 1
  18@ == 2
  18@ == 3
  18@ == 4
goto_if_false @ROULETE_525
17@ = 2
19@ = -342

:ROULETE_525
if or
  18@ == 5
  18@ == 6
  18@ == 7
  18@ == 8
  18@ == 9
goto_if_false @ROULETE_586
17@ = 20
19@ = -343

:ROULETE_586
if or
  18@ == 10
  18@ == 11
  18@ == 12
  18@ == 13
goto_if_false @ROULETE_641
17@ = 200
19@ = -344

:ROULETE_641
if or
  18@ == 14
  18@ == 15
  18@ == 16
goto_if_false @ROULETE_689
17@ = 2000
19@ = -345

:ROULETE_689
if or
  18@ == 17
  18@ == 18
goto_if_false @ROULETE_730
17@ = 20000
19@ = -346

:ROULETE_730
18@ = 0
20@ = 0
set_lvar_int_to_lvar_int 21@ = 17@
21@ *= 50
22@ = 0
$an = Math.RandomIntInRange(0, 2)
if 
  $an == 0
goto_if_false @ROULETE_807
set_lvar_int_to_constant 23@ = 11
goto @ROULETE_815

:ROULETE_807
set_lvar_int_to_constant 23@ = 172

:ROULETE_815
$text_positionn_x = 0

:ROULETE_822
if 
  151 > $text_positionn_x
goto_if_false @ROULETE_866
$8402($text_positionn_x,151i) = 0
$text_positionn_x += 1
goto @ROULETE_822

:ROULETE_866
$text_positionn_y = 0
$pad1_left_stick_x = 0
if 
  22@ == 1
goto_if_false @ROULETE_907
22@ = 0
return 

:ROULETE_907
24@ = 0.0
25@ = 0.0

:ROULETE_927
wait 0
$RStickY = Clock.GetGameTimer()
if 
  Object.DoesExist(0@)
goto_if_false @ROULETE_8132
if 
  Object.IsWithinBrainActivationRange(0@)
goto_if_false @ROULETE_7988
if 
  $1253 == 0
goto_if_false @ROULETE_7844
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @ROULETE_7709
if 
  1@ == 0
goto_if_false @ROULETE_1032
Streaming.RequestModel(23@)
1@ += 1

:ROULETE_1032
if 
  1@ == 1
goto_if_false @ROULETE_1167
Streaming.RequestModel(23@)
if 
  Streaming.HasModelLoaded(23@)
goto_if_false @ROULETE_1167
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 1.208, 0.571, -1.144)
26@ = Char.Create(PedType.CivFemale, 23@, $on_footY, $on_footZ, $in_carX)
$on_footX = Object.GetHeading(0@)
$on_footX += 90.0
Char.SetHeading(26@, $on_footX)
Char.SetDecisionMaker(26@, $iCheckForWeapons)
Object.EnableDisabledAttractors(0@, True)
1@ += 1

:ROULETE_1167
if 
  1@ == 2
goto_if_false @ROULETE_1269
if 
  Char.LocateOnFootObject2D($stattreadstamina_ctr, 0@, 5.0, 5.0, False)
goto_if_false @ROULETE_1269
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.215, 1.34, -0.086)
27@ = Object.CreateNoOffset(#WHEEL_WEE, $on_footY, $on_footZ, $in_carX)
1@ += 1

:ROULETE_1269
if 
  1@ == 3
goto_if_false @ROULETE_1592
if 
  Char.LocateOnFootObject2D($stattreadstamina_ctr, 0@, 5.0, 5.0, False)
goto_if_false @ROULETE_1592
if 
  $iPrintStripperHelp == 0
goto_if_false @ROULETE_1592
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -1.839, -2.4444, -0.6)
$grape, $r_69, $bell = Object.GetOffsetInWorldCoords(0@, 0.761, 0.9556, 0.6)
if 
  Char.IsInAreaOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, $grape, $r_69, $bell, False)
goto_if_false @ROULETE_1592
if 
  17@ == 2
goto_if_false @ROULETE_1459
Text.PrintHelpForever('SLOT_06')

:ROULETE_1459
if 
  17@ == 20
goto_if_false @ROULETE_1488
Text.PrintHelpForever('SLOT_07')

:ROULETE_1488
if 
  17@ == 200
goto_if_false @ROULETE_1518
Text.PrintHelpForever('SLOT_08')

:ROULETE_1518
if 
  17@ == 2000
goto_if_false @ROULETE_1548
Text.PrintHelpForever('SLOT_09')

:ROULETE_1548
if 
  17@ == 20000
goto_if_false @ROULETE_1578
Text.PrintHelpForever('SLOT_10')

:ROULETE_1578
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1813)
1@ += 1

:ROULETE_1592
if 
  1@ == 4
goto_if_false @ROULETE_3200
if 
  $spot36_bottomright_y == 0
goto_if_false @ROULETE_3200
if 
  Char.LocateOnFootObject2D($stattreadstamina_ctr, 0@, 5.0, 5.0, False)
goto_if_false @ROULETE_3200
if 
  $iPrintStripperHelp == 0
goto_if_false @ROULETE_3191
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -1.839, -2.4444, -0.6)
$grape, $r_69, $bell = Object.GetOffsetInWorldCoords(0@, 0.761, 0.9556, 0.6)
if 
  Char.IsInAreaOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, $grape, $r_69, $bell, False)
goto_if_false @ROULETE_3175
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @ROULETE_3168
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @ROULETE_3161
if 
  9@ == 0
goto_if_false @ROULETE_3154
$8564 = Stat.GetInt(StatId.Gambling)
if 
  17@ == 20
goto_if_false @ROULETE_1974
if 
  $8564 < 1
goto_if_false @ROULETE_1974
Text.PrintNow('GAMBSTA', 4000, 1)
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_1967
$x_temp = Math.RandomIntInRange(0, 2)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_1949
Char.SetSayScript(26@, $3821($x_temp,3i), True, True, False)
goto @ROULETE_1967

:ROULETE_1949
Char.SetSayScript(26@, $3880($x_temp,3i), True, True, False)

:ROULETE_1967
goto @ROULETE_927

:ROULETE_1974
if 
  17@ == 200
goto_if_false @ROULETE_2120
if 
  $8564 < 10
goto_if_false @ROULETE_2120
Text.PrintNow('GAMBSTA', 4000, 1)
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_2113
$x_temp = Math.RandomIntInRange(0, 2)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_2095
Char.SetSayScript(26@, $3821($x_temp,3i), True, True, False)
goto @ROULETE_2113

:ROULETE_2095
Char.SetSayScript(26@, $3880($x_temp,3i), True, True, False)

:ROULETE_2113
goto @ROULETE_927

:ROULETE_2120
if 
  17@ == 2000
goto_if_false @ROULETE_2266
if 
  $8564 < 100
goto_if_false @ROULETE_2266
Text.PrintNow('GAMBSTA', 4000, 1)
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_2259
$x_temp = Math.RandomIntInRange(0, 2)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_2241
Char.SetSayScript(26@, $3821($x_temp,3i), True, True, False)
goto @ROULETE_2259

:ROULETE_2241
Char.SetSayScript(26@, $3880($x_temp,3i), True, True, False)

:ROULETE_2259
goto @ROULETE_927

:ROULETE_2266
if 
  17@ == 20000
goto_if_false @ROULETE_2413
if 
  $8564 <= 999
goto_if_false @ROULETE_2413
Text.PrintNow('GAMBSTA', 4000, 1)
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_2406
$x_temp = Math.RandomIntInRange(0, 2)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_2388
Char.SetSayScript(26@, $3821($x_temp,3i), True, True, False)
goto @ROULETE_2406

:ROULETE_2388
Char.SetSayScript(26@, $3880($x_temp,3i), True, True, False)

:ROULETE_2406
goto @ROULETE_927

:ROULETE_2413
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetAllCarsCanBeDamaged(False)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(0@)
Task.TurnCharToFaceCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)
if 
is_xbox_version 
goto_if_false @ROULETE_2695
if 
  Game.IsWidescreenOnInOptions
goto_if_false @ROULETE_2591
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.5348, -2.3653, 1.0906)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.4623, -1.5448, 0.5236)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.Interpolation)
goto @ROULETE_2688

:ROULETE_2591
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.7407, -1.7668, 1.4824)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.6227, -1.1631, 0.694)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.Interpolation)

:ROULETE_2688
goto @ROULETE_2909

:ROULETE_2695
if 
  Game.IsWidescreenOnInOptions
goto_if_false @ROULETE_2812
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.632, -1.9669, 1.9144)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.5003, -1.3914, 1.1073)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.Interpolation)
goto @ROULETE_2909

:ROULETE_2812
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.5689, -1.5476, 1.8759)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.4106, -1.0626, 1.0159)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.Interpolation)

:ROULETE_2909
Camera.SetNearClip(0.1)
Text.UseCommands(True)
Txd.LoadDictionary('LD_ROUL')
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_3017
$x_temp = Math.RandomIntInRange(0, 2)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_2999
Char.SetSayScript(26@, $3832($x_temp,2i), True, True, False)
goto @ROULETE_3017

:ROULETE_2999
Char.SetSayScript(26@, $3891($x_temp,2i), True, True, False)

:ROULETE_3017
Txd.LoadSprite(1, "ROULBLA")
Txd.LoadSprite(2, "ROULRED")
Txd.LoadSprite(3, "ROULGRE")
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, $spot_selection_y, $chip_position_x, $chip_position_y)
$in_carX += 0.01
$pad1_left_stick_y = Object.CreateNoOffset(#ROULETTE_MARKER, $on_footY, $on_footZ, $in_carX)
Game.SetMinigameInProgress(True)
$spot36_bottomright_y = 1
28@ = 0
1@ += 1
set_lvar_int_to_var_int 8@ = $RStickY
8@ += 500
9@ = 1

:ROULETE_3154
goto @ROULETE_3168

:ROULETE_3161
9@ = 0

:ROULETE_3168
goto @ROULETE_3184

:ROULETE_3175
Text.ClearHelp
1@ = 3

:ROULETE_3184
goto @ROULETE_3200

:ROULETE_3191
Text.ClearHelp
1@ = 3

:ROULETE_3200
if 
  1@ == 5
goto_if_false @ROULETE_7702
Hud.DisplayRadar(False)
if 
  $3509 > 0
goto_if_false @ROULETE_3753
$3813 += 2.0
$no_money_b += 2.0
Hud.DrawSprite(1, $3813, $no_money_b, 64.0, 64.0, 0, 0, 0, 255)
$3813 -= 2.0
$no_money_b -= 2.0
if 
  18@ == 0
goto_if_false @ROULETE_3366
Hud.DrawSprite(3, $3813, $no_money_b, 64.0, 64.0, 180, 180, 180, 255)
goto @ROULETE_3674

:ROULETE_3366
if or
  18@ == 1
  18@ == 3
  18@ == 5
  18@ == 7
  18@ == 9
  18@ == 12
goto_if_false @ROULETE_3458
Hud.DrawSprite(2, $3813, $no_money_b, 64.0, 64.0, 180, 180, 180, 255)
goto @ROULETE_3674

:ROULETE_3458
if or
  18@ == 14
  18@ == 16
  18@ == 18
  18@ == 19
  18@ == 21
  18@ == 23
goto_if_false @ROULETE_3550
Hud.DrawSprite(2, $3813, $no_money_b, 64.0, 64.0, 180, 180, 180, 255)
goto @ROULETE_3674

:ROULETE_3550
if or
  18@ == 25
  18@ == 27
  18@ == 30
  18@ == 32
  18@ == 34
  18@ == 36
goto_if_false @ROULETE_3642
Hud.DrawSprite(2, $3813, $no_money_b, 64.0, 64.0, 180, 180, 180, 255)
goto @ROULETE_3674

:ROULETE_3642
Hud.DrawSprite(1, $3813, $no_money_b, 64.0, 64.0, 180, 180, 180, 255)

:ROULETE_3674
set_var_float_to_var_float $pad1_right_stick_x = $3813
$pad1_right_stick_x += -1.6679
set_var_float_to_var_float $pad1_right_stick_y = $no_money_b
$pad1_right_stick_y += -30.0255
gosub @ROULETE_18448
Text.SetScale(0.9423, 4.2306)
Text.SetCenter(True)
Text.DisplayWithNumber($pad1_right_stick_x, $pad1_right_stick_y, 'NUMBER', 18@)

:ROULETE_3753
Hud.DrawWindow($3483, $rou_y_scale, $3484, $3488, 'ROUWAGE', 2)
gosub @ROULETE_18448
Text.SetColor(134, 155, 184, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @ROULETE_3829
Text.SetScale(0.42, 2.5077)

:ROULETE_3829
Text.Display($rou_text_y, $rou_x_scale, 'ROU_MAX')
set_var_float_to_var_float $pad1_right_stick_y = $rou_x_scale
add_float_var_to_float_var $pad1_right_stick_y += $3486
gosub @ROULETE_18448
Text.SetScale($spot1_topleft_x, $spot36_bottomright_x)
Text.DisplayWithNumber($rou_text_y, $pad1_right_stick_y, 'DOLLAR', 21@)
add_float_var_to_float_var $pad1_right_stick_y += $3482
gosub @ROULETE_18448
Text.SetColor(134, 155, 184, 255)
Text.Display($rou_text_y, $pad1_right_stick_y, 'ROUYOUR')
add_float_var_to_float_var $pad1_right_stick_y += $3486
gosub @ROULETE_18448
Text.SetScale($spot1_topleft_x, $spot36_bottomright_x)
Text.DisplayWithNumber($rou_text_y, $pad1_right_stick_y, 'DOLLAR', $pad1_left_stick_x)
add_float_var_to_float_var $pad1_right_stick_y += $3482
gosub @ROULETE_18448
if 
  $3509 > 0
goto_if_false @ROULETE_4100
Text.SetColor(134, 155, 184, 255)
Text.Display($rou_text_y, $pad1_right_stick_y, 'ROU_WON')
add_float_var_to_float_var $pad1_right_stick_y += $3486
gosub @ROULETE_18448
Text.SetScale($spot1_topleft_x, $spot36_bottomright_x)
Text.DisplayWithNumber($rou_text_y, $pad1_right_stick_y, 'DOLLAR', $text_positionn_y)
goto @ROULETE_4174

:ROULETE_4100
Text.SetColor(134, 155, 184, 255)
Text.Display($rou_text_y, $pad1_right_stick_y, 'ROUTHIS')
add_float_var_to_float_var $pad1_right_stick_y += $3486
gosub @ROULETE_18448
Text.SetScale($spot1_topleft_x, $spot36_bottomright_x)
Text.DisplayWithNumber($rou_text_y, $pad1_right_stick_y, 'DOLLAR', 20@)

:ROULETE_4174
if 
  $3509 == 0
goto_if_false @ROULETE_4788
Text.PrintHelpForever('ROUHELP')
Object.SetVisible($pad1_left_stick_y, True)
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @ROULETE_4489
if 
  7@ == 0
goto_if_false @ROULETE_4482
if 
  $pad1_left_stick_x > 0
goto_if_false @ROULETE_4440
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1813)
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_4357
$x_temp = Math.RandomIntInRange(0, 3)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_4339
Char.SetSayScript(26@, $3815($x_temp,3i), True, True, False)
goto @ROULETE_4357

:ROULETE_4339
Char.SetSayScript(26@, $3874($x_temp,3i), True, True, False)

:ROULETE_4357
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @ROULETE_4392
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1086)

:ROULETE_4392
Stat.IncrementInt(StatId.MoneySpentGambling, $pad1_left_stick_x)
cset_var_float_to_var_int $y_temp =# $pad1_left_stick_x
$y_temp *= 0.001
Text.ClearHelp
Stat.IncrementFloat(StatId.Gambling, $y_temp)
$3509 += 1
goto @ROULETE_4475

:ROULETE_4440
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @ROULETE_4475
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1085)

:ROULETE_4475
7@ += 1

:ROULETE_4482
goto @ROULETE_4496

:ROULETE_4489
7@ = 0

:ROULETE_4496
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @ROULETE_4774
if 
  9@ == 0
goto_if_false @ROULETE_4767
9@ += 1
$3509 = 0
1@ = 3
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_4639
$x_temp = Math.RandomIntInRange(0, 2)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_4621
Char.SetSayScript(26@, $roulette_result_b($x_temp,2i), True, True, False)
goto @ROULETE_4639

:ROULETE_4621
Char.SetSayScript(26@, $roulette_result_w($x_temp,2i), True, True, False)

:ROULETE_4639
Hud.DisplayRadar(True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Text.UseCommands(False)
Txd.Remove
Text.ClearHelp
Object.Delete($pad1_left_stick_y)
Player.AddScore($statbike_temp, $pad1_left_stick_x)
22@ = 1
gosub @ROULETE_815
$text_positionn_x = 0

:ROULETE_4707
if 
  151 > $text_positionn_x
goto_if_false @ROULETE_4749
Object.Delete($8565($text_positionn_x,151i))
$text_positionn_x += 1
goto @ROULETE_4707

:ROULETE_4749
Game.SetMinigameInProgress(False)
$spot36_bottomright_y = 0
goto @ROULETE_927

:ROULETE_4767
goto @ROULETE_4781

:ROULETE_4774
9@ = 0

:ROULETE_4781
gosub @ROULETE_8276

:ROULETE_4788
if 
  $3509 == 1
goto_if_false @ROULETE_4877
Object.SetVisible($pad1_left_stick_y, False)
add_timed_val_to_float_lvar 24@ +=@ 0.5
if or
  24@ > 20.0
  24@ == 20.0
goto_if_false @ROULETE_4877
set_var_int_to_var_int $3510 = $RStickY
$3510 += 1500
$3509 += 1

:ROULETE_4877
if 
  $3509 == 2
goto_if_false @ROULETE_5055
if 
  is_int_var_greater_than_int_var $RStickY > $3510
goto_if_false @ROULETE_5055
sub_timed_val_from_float_lvar 24@ -=@ 0.08
if or
  0.0 > 24@
  24@ == 0.0
goto_if_false @ROULETE_5055
18@ = Math.RandomIntInRange(0, 37)
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_5041
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_5023
Char.SetSayScript(26@, $3834(18@,37i), True, True, False)
goto @ROULETE_5041

:ROULETE_5023
Char.SetSayScript(26@, $3893(18@,37i), True, True, False)

:ROULETE_5041
gosub @ROULETE_9958
$3509 += 1

:ROULETE_5055
if 
  $3509 == 3
goto_if_false @ROULETE_5806
Text.PrintHelpForever('X_CONT')
set_var_int_to_var_int $an = $text_positionn_y
sub_int_var_from_int_var $an -= $pad1_left_stick_x
if 
  $an == 0
goto_if_false @ROULETE_5186
gosub @ROULETE_18448
Text.SetScale(1.3, 3.36)
Text.SetCenter(True)
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetFont(Font.Pricedown)
Text.Display(320.0, 180.333, 'NOWIN')
goto @ROULETE_5390

:ROULETE_5186
if 
  $an > 0
goto_if_false @ROULETE_5312
gosub @ROULETE_18448
Text.SetScale(1.3, 3.36)
Text.SetCenter(True)
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetFont(Font.Pricedown)
$temp_float_1, $temp_float_2, $temp_float_3, $x_temp = Hud.GetColor(6)
Text.SetColor($temp_float_1, $temp_float_2, $temp_float_3, 255)
Text.DisplayWithNumber(320.0, 155.333, 'WINNER', $an)
Stat.RegisterInt(StatId.BiggestGamblingWin, $an)
goto @ROULETE_5390

:ROULETE_5312
$an *= -1
gosub @ROULETE_18448
Text.SetScale(1.3, 3.36)
Text.SetCenter(True)
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetFont(Font.Pricedown)
Text.DisplayWithNumber(320.0, 155.333, 'LOSER', $an)
Stat.RegisterInt(StatId.BiggestGamblingLoss, $an)

:ROULETE_5390
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @ROULETE_5799
if 
  7@ == 0
goto_if_false @ROULETE_5792
set_lvar_int_to_var_int 7@ = $RStickY
7@ += 999999
Player.AddScore($statbike_temp, $text_positionn_y)
Stat.IncrementInt(StatId.MoneyWonGambling, $text_positionn_y)
set_var_int_to_var_int $an = $text_positionn_y
sub_int_var_from_int_var $an -= $pad1_left_stick_x
$9329 += 1
if 
  $an > 0
goto_if_false @ROULETE_5678
$x_temp = Math.RandomIntInRange(0, 3)
if or
  $x_temp == 0
  $x_temp == 1
goto_if_false @ROULETE_5661
if 
  $9329 > 1
goto_if_false @ROULETE_5568
$x_temp = Math.RandomIntInRange(3, 6)
goto @ROULETE_5577

:ROULETE_5568
$x_temp = Math.RandomIntInRange(0, 3)

:ROULETE_5577
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_5654
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_5636
Char.SetSayScript(26@, $3824($x_temp,6i), True, True, False)
goto @ROULETE_5654

:ROULETE_5636
Char.SetSayScript(26@, $3883($x_temp,6i), True, True, False)

:ROULETE_5654
goto @ROULETE_5671

:ROULETE_5661
$temp_float_3 = Char.SetSayContext($stattreadstamina_ctr, 100)

:ROULETE_5671
goto @ROULETE_5722

:ROULETE_5678
$temp_float_1 = Math.RandomIntInRange(0, 2)
if 
  $temp_float_1 == 0
goto_if_false @ROULETE_5715
$temp_float_3 = Char.SetSayContext($stattreadstamina_ctr, 101)

:ROULETE_5715
$9329 = 0

:ROULETE_5722
22@ = 1
gosub @ROULETE_815
$text_positionn_x = 0

:ROULETE_5743
if 
  151 > $text_positionn_x
goto_if_false @ROULETE_5785
Object.Delete($8565($text_positionn_x,151i))
$text_positionn_x += 1
goto @ROULETE_5743

:ROULETE_5785
$3509 = 0

:ROULETE_5792
goto @ROULETE_5806

:ROULETE_5799
7@ = 0

:ROULETE_5806
if and
  $3509 > 0
  3 > $3509
goto_if_false @ROULETE_5866
add_timed_float_lvar_to_float_lvar 25@ +=@ 24@
Object.SetRotation(27@, 0.0, 0.0, 25@)
18@ = Math.RandomIntInRange(0, 37)

:ROULETE_5866
$temp_int_roulette, $gambling_stat, $placed_chips, $8562 = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  -80 > $temp_int_roulette
goto_if_false @ROULETE_6340
if 
  2@ == 0
goto_if_false @ROULETE_6307
set_lvar_int_to_var_int 12@ = $RStickY
12@ += 80
if 
  0.0 > $spot_increment_x
goto_if_false @ROULETE_6057
if 
  $spot_increment_y <> 2.0
goto_if_false @ROULETE_6050
if 
  $spot_increment_x <> 0.0
goto_if_false @ROULETE_6050
if 
  $spot_increment_y == -24.0
goto_if_false @ROULETE_6040
$spot_increment_x += 2.0
goto @ROULETE_6050

:ROULETE_6040
$spot_increment_x += 1.0

:ROULETE_6050
goto @ROULETE_6293

:ROULETE_6057
if 
  $spot_increment_x == 0.0
goto_if_false @ROULETE_6252
if and
  2.0 > $spot_increment_y
  $spot_increment_y > -7.0
goto_if_false @ROULETE_6136
$spot_increment_x += 2.0
$spot_increment_y = -3.0
goto @ROULETE_6245

:ROULETE_6136
if and
  -6.0 > $spot_increment_y
  $spot_increment_y > -15.0
goto_if_false @ROULETE_6194
$spot_increment_x += 2.0
$spot_increment_y = -11.0
goto @ROULETE_6245

:ROULETE_6194
if and
  -14.0 > $spot_increment_y
  $spot_increment_y > -24.0
goto_if_false @ROULETE_6245
$spot_increment_x += 2.0
$spot_increment_y = -19.0

:ROULETE_6245
goto @ROULETE_6293

:ROULETE_6252
if 
  $spot_increment_x == 2.0
goto_if_false @ROULETE_6293
$spot_increment_x += 2.0
$spot_increment_y += 2.0

:ROULETE_6293
2@ += 1
goto @ROULETE_6333

:ROULETE_6307
if 
  is_int_var_greater_than_int_lvar $RStickY > 12@
goto_if_false @ROULETE_6333
2@ = 0

:ROULETE_6333
goto @ROULETE_6347

:ROULETE_6340
2@ = 0

:ROULETE_6347
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  $temp_int_roulette > 80
goto_if_false @ROULETE_6774
if 
  3@ == 0
goto_if_false @ROULETE_6741
set_lvar_int_to_var_int 13@ = $RStickY
13@ += 80
if 
  $spot_increment_x > -4.0
goto_if_false @ROULETE_6665
if 
  $spot_increment_y <> 2.0
goto_if_false @ROULETE_6658
if 
  $spot_increment_x <> -4.0
goto_if_false @ROULETE_6658
if or
  $spot_increment_y == -24.0
  $spot_increment_x == 2.0
  $spot_increment_x == 4.0
goto_if_false @ROULETE_6648
if or
  $spot_increment_y == -1.0
  $spot_increment_y == -5.0
goto_if_false @ROULETE_6549
$spot_increment_y = -3.0

:ROULETE_6549
if or
  $spot_increment_y == -9.0
  $spot_increment_y == -13.0
goto_if_false @ROULETE_6590
$spot_increment_y = -11.0

:ROULETE_6590
if or
  $spot_increment_y == -17.0
  $spot_increment_y == -21.0
goto_if_false @ROULETE_6631
$spot_increment_y = -19.0

:ROULETE_6631
$spot_increment_x += -2.0
goto @ROULETE_6658

:ROULETE_6648
$spot_increment_x += -1.0

:ROULETE_6658
goto @ROULETE_6727

:ROULETE_6665
if 
  $spot_increment_x == -4.0
goto_if_false @ROULETE_6727
if and
  $spot_increment_y > -23.0
  1.0 > $spot_increment_y
goto_if_false @ROULETE_6727
$spot_increment_x += -1.0

:ROULETE_6727
3@ += 1
goto @ROULETE_6767

:ROULETE_6741
if 
  is_int_var_greater_than_int_lvar $RStickY > 13@
goto_if_false @ROULETE_6767
3@ = 0

:ROULETE_6767
goto @ROULETE_6781

:ROULETE_6774
3@ = 0

:ROULETE_6781
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -80 > $gambling_stat
goto_if_false @ROULETE_7120
if 
  4@ == 0
goto_if_false @ROULETE_7087
set_lvar_int_to_var_int 14@ = $RStickY
14@ += 80
if 
  0.0 > $spot_increment_y
goto_if_false @ROULETE_7032
if 
  $spot_increment_y == -24.0
goto_if_false @ROULETE_6897
$spot_increment_y += 2.0
goto @ROULETE_7025

:ROULETE_6897
if 
  $spot_increment_x == 2.0
goto_if_false @ROULETE_6956
if 
  $spot_increment_y <> -3.0
goto_if_false @ROULETE_6949
$spot_increment_y += 8.0

:ROULETE_6949
goto @ROULETE_7025

:ROULETE_6956
if 
  $spot_increment_x == 4.0
goto_if_false @ROULETE_7015
if 
  $spot_increment_y <> -1.0
goto_if_false @ROULETE_7008
$spot_increment_y += 4.0

:ROULETE_7008
goto @ROULETE_7025

:ROULETE_7015
$spot_increment_y += 1.0

:ROULETE_7025
goto @ROULETE_7073

:ROULETE_7032
if 
  $spot_increment_y == 0.0
goto_if_false @ROULETE_7073
$spot_increment_y += 2.0
$spot_increment_x = -2.0

:ROULETE_7073
4@ += 1
goto @ROULETE_7113

:ROULETE_7087
if 
  is_int_var_greater_than_int_lvar $RStickY > 14@
goto_if_false @ROULETE_7113
4@ = 0

:ROULETE_7113
goto @ROULETE_7127

:ROULETE_7120
4@ = 0

:ROULETE_7127
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  $gambling_stat > 80
goto_if_false @ROULETE_7584
if 
  5@ == 0
goto_if_false @ROULETE_7551
set_lvar_int_to_var_int 15@ = $RStickY
15@ += 80
if 
  $spot_increment_y > -22.0
goto_if_false @ROULETE_7378
if 
  $spot_increment_y == 2.0
goto_if_false @ROULETE_7243
$spot_increment_y += -2.0
goto @ROULETE_7371

:ROULETE_7243
if 
  $spot_increment_x == 2.0
goto_if_false @ROULETE_7302
if 
  $spot_increment_y <> -19.0
goto_if_false @ROULETE_7295
$spot_increment_y += -8.0

:ROULETE_7295
goto @ROULETE_7371

:ROULETE_7302
if 
  $spot_increment_x == 4.0
goto_if_false @ROULETE_7361
if 
  $spot_increment_y <> -21.0
goto_if_false @ROULETE_7354
$spot_increment_y += -4.0

:ROULETE_7354
goto @ROULETE_7371

:ROULETE_7361
$spot_increment_y += -1.0

:ROULETE_7371
goto @ROULETE_7537

:ROULETE_7378
if 
  $spot_increment_x == -4.0
goto_if_false @ROULETE_7437
if 
  $spot_increment_y <> -24.0
goto_if_false @ROULETE_7430
$spot_increment_y += -2.0

:ROULETE_7430
goto @ROULETE_7537

:ROULETE_7437
if 
  $spot_increment_x == 0.0
goto_if_false @ROULETE_7496
if 
  $spot_increment_y <> -24.0
goto_if_false @ROULETE_7489
$spot_increment_y += -2.0

:ROULETE_7489
goto @ROULETE_7537

:ROULETE_7496
if 
  $spot_increment_y <> -24.0
goto_if_false @ROULETE_7537
$spot_increment_x = -2.0
$spot_increment_y += -2.0

:ROULETE_7537
5@ += 1
goto @ROULETE_7577

:ROULETE_7551
if 
  is_int_var_greater_than_int_lvar $RStickY > 15@
goto_if_false @ROULETE_7577
5@ = 0

:ROULETE_7577
goto @ROULETE_7591

:ROULETE_7584
5@ = 0

:ROULETE_7591
set_var_float_to_var_float $selected_spot_x = $spot_increment_x
mult_float_var_by_float_var $selected_spot_x *= $spot1_z
set_var_float_to_var_float $3508 = $spot_increment_y
mult_float_var_by_float_var $3508 *= $spot_selection_x
set_var_float_to_var_float $roulette_flag = $spot_selection_y
add_float_var_to_float_var $roulette_flag += $selected_spot_x
set_var_float_to_var_float $wheel_rotation_timer = $chip_position_x
add_float_var_to_float_var $wheel_rotation_timer += $3508
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, $roulette_flag, $wheel_rotation_timer, $chip_position_y)
$in_carX += 0.01
Object.SetCoordinates($pad1_left_stick_y, $on_footY, $on_footZ, $in_carX)

:ROULETE_7702
goto @ROULETE_7837

:ROULETE_7709
if 
  1@ > 0
goto_if_false @ROULETE_7837
if 
  1@ > 3
goto_if_false @ROULETE_7747
Text.ClearHelp

:ROULETE_7747
Char.Delete(26@)
Streaming.MarkModelAsNoLongerNeeded(23@)
22@ = 1
gosub @ROULETE_815
$text_positionn_x = 0

:ROULETE_7778
if 
  151 > $text_positionn_x
goto_if_false @ROULETE_7820
Object.Delete($8565($text_positionn_x,151i))
$text_positionn_x += 1
goto @ROULETE_7778

:ROULETE_7820
Object.Delete($pad1_left_stick_y)
Object.Delete(27@)
1@ = 0

:ROULETE_7837
goto @ROULETE_7981

:ROULETE_7844
if 
  1@ > 0
goto_if_false @ROULETE_7972
if 
  1@ > 3
goto_if_false @ROULETE_7882
Text.ClearHelp

:ROULETE_7882
Char.Delete(26@)
Streaming.MarkModelAsNoLongerNeeded(23@)
22@ = 1
gosub @ROULETE_815
$text_positionn_x = 0

:ROULETE_7913
if 
  151 > $text_positionn_x
goto_if_false @ROULETE_7955
Object.Delete($8565($text_positionn_x,151i))
$text_positionn_x += 1
goto @ROULETE_7913

:ROULETE_7955
Object.Delete($pad1_left_stick_y)
Object.Delete(27@)
1@ = 0

:ROULETE_7972
$1527 -= 1
terminate_this_script 

:ROULETE_7981
goto @ROULETE_8125

:ROULETE_7988
if 
  1@ > 0
goto_if_false @ROULETE_8116
if 
  1@ > 3
goto_if_false @ROULETE_8026
Text.ClearHelp

:ROULETE_8026
Char.Delete(26@)
Streaming.MarkModelAsNoLongerNeeded(23@)
22@ = 1
gosub @ROULETE_815
$text_positionn_x = 0

:ROULETE_8057
if 
  151 > $text_positionn_x
goto_if_false @ROULETE_8099
Object.Delete($8565($text_positionn_x,151i))
$text_positionn_x += 1
goto @ROULETE_8057

:ROULETE_8099
Object.Delete($pad1_left_stick_y)
Object.Delete(27@)
1@ = 0

:ROULETE_8116
$1527 -= 1
terminate_this_script 

:ROULETE_8125
goto @ROULETE_8269

:ROULETE_8132
if 
  1@ > 0
goto_if_false @ROULETE_8260
if 
  1@ > 3
goto_if_false @ROULETE_8170
Text.ClearHelp

:ROULETE_8170
Char.Delete(26@)
Streaming.MarkModelAsNoLongerNeeded(23@)
22@ = 1
gosub @ROULETE_815
$text_positionn_x = 0

:ROULETE_8201
if 
  151 > $text_positionn_x
goto_if_false @ROULETE_8243
Object.Delete($8565($text_positionn_x,151i))
$text_positionn_x += 1
goto @ROULETE_8201

:ROULETE_8243
Object.Delete($pad1_left_stick_y)
Object.Delete(27@)
1@ = 0

:ROULETE_8260
$1527 -= 1
terminate_this_script 

:ROULETE_8269
goto @ROULETE_927

:ROULETE_8276
$text_positionn_x = 0

:ROULETE_8283
if 
  151 > $text_positionn_x
goto_if_false @ROULETE_9956
if 
  is_float_var_equal_to_float_var $spot_increment_x == $3511($text_positionn_x,151f)
goto_if_false @ROULETE_9942
if 
  is_float_var_equal_to_float_var $spot_increment_y == $3662($text_positionn_x,151f)
goto_if_false @ROULETE_9942
set_lvar_int_to_var_int 20@ = $8402($text_positionn_x,151i)
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikestamina_ctr)
goto_if_false @ROULETE_9571
if 
  is_int_var_greater_than_int_lvar $RStickY > 8@
goto_if_false @ROULETE_9564
$8563 = Player.StoreScore($statbike_temp)
$8563 += 1
$8564 = Stat.GetInt(StatId.Gambling)
if 
  $8564 > 999
goto_if_false @ROULETE_8592
set_var_int_to_lvar_int $temp_float_3 = 17@
$temp_float_3 -= 1000000
if 
  1 > $8563
goto_if_false @ROULETE_8585
if 
  28@ == 0
goto_if_false @ROULETE_8585
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_8578
$x_temp = Math.RandomIntInRange(0, 3)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_8560
Char.SetSayScript(26@, $3871($x_temp,3i), True, True, False)
goto @ROULETE_8578

:ROULETE_8560
Char.SetSayScript(26@, $3930($x_temp,3i), True, True, False)

:ROULETE_8578
28@ = 1

:ROULETE_8585
goto @ROULETE_9112

:ROULETE_8592
if 
  $8564 > 100
goto_if_false @ROULETE_8764
set_var_int_to_lvar_int $temp_float_3 = 17@
$temp_float_3 -= 100000
if 
  1 > $8563
goto_if_false @ROULETE_8757
if 
  28@ == 0
goto_if_false @ROULETE_8757
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_8750
$x_temp = Math.RandomIntInRange(0, 3)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_8732
Char.SetSayScript(26@, $3871($x_temp,3i), True, True, False)
goto @ROULETE_8750

:ROULETE_8732
Char.SetSayScript(26@, $3930($x_temp,3i), True, True, False)

:ROULETE_8750
28@ = 1

:ROULETE_8757
goto @ROULETE_9112

:ROULETE_8764
if 
  $8564 > 10
goto_if_false @ROULETE_8934
set_var_int_to_lvar_int $temp_float_3 = 17@
$temp_float_3 -= 10000
if 
  1 > $8563
goto_if_false @ROULETE_8927
if 
  28@ == 0
goto_if_false @ROULETE_8927
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_8920
$x_temp = Math.RandomIntInRange(0, 3)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_8902
Char.SetSayScript(26@, $3871($x_temp,3i), True, True, False)
goto @ROULETE_8920

:ROULETE_8902
Char.SetSayScript(26@, $3930($x_temp,3i), True, True, False)

:ROULETE_8920
28@ = 1

:ROULETE_8927
goto @ROULETE_9112

:ROULETE_8934
if 
  $8564 > 1
goto_if_false @ROULETE_9104
set_var_int_to_lvar_int $temp_float_3 = 17@
$temp_float_3 -= 1000
if 
  1 > $8563
goto_if_false @ROULETE_9097
if 
  28@ == 0
goto_if_false @ROULETE_9097
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_9090
$x_temp = Math.RandomIntInRange(0, 3)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_9072
Char.SetSayScript(26@, $3871($x_temp,3i), True, True, False)
goto @ROULETE_9090

:ROULETE_9072
Char.SetSayScript(26@, $3930($x_temp,3i), True, True, False)

:ROULETE_9090
28@ = 1

:ROULETE_9097
goto @ROULETE_9112

:ROULETE_9104
set_var_int_to_lvar_int $temp_float_3 = 17@

:ROULETE_9112
if and
  is_int_lvar_greater_than_int_var 21@ > $pad1_left_stick_x
  is_int_var_greater_than_int_var $8563 > $temp_float_3
goto_if_false @ROULETE_9399
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1813)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @ROULETE_9181
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1083)

:ROULETE_9181
add_int_lvar_to_int_lvar 20@ += 17@
set_var_int_to_lvar_int $8563 = 17@
$8563 *= -1
Player.AddScore($statbike_temp, $8563)
add_int_lvar_to_int_var $pad1_left_stick_x += 17@
set_var_int_to_lvar_int $8563 = 17@
$8563 *= 26
if 
  is_int_var_greater_than_int_lvar $8563 > 20@
goto_if_false @ROULETE_9350
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($pad1_left_stick_y)
$in_carX += -0.14
set_var_int_to_lvar_int $8563 = 20@
div_int_var_by_int_lvar $8563 /= 17@
cset_var_float_to_var_int $y_temp =# $8563
$y_temp *= 0.005
add_float_var_to_float_var $in_carX += $y_temp
Object.Delete($8565($text_positionn_x,151i))
$8565($text_positionn_x,151i) = Object.CreateNoOffset(19@, $on_footY, $on_footZ, $in_carX)

:ROULETE_9350
set_lvar_int_to_var_int 8@ = $RStickY
add_int_lvar_to_int_lvar 8@ += 10@
if 
  10@ == 500
goto_if_false @ROULETE_9392
10@ = 80

:ROULETE_9392
goto @ROULETE_9564

:ROULETE_9399
if 
  is_int_var_greater_or_equal_to_int_var $temp_float_3 >= $8563
goto_if_false @ROULETE_9504
if 
  not Char.IsDead(26@)
goto_if_false @ROULETE_9504
$x_temp = Math.RandomIntInRange(0, 3)
if 
  is_int_lvar_equal_to_constant 23@ == 11
goto_if_false @ROULETE_9486
Char.SetSayScript(26@, $3818($x_temp,3i), True, True, False)
goto @ROULETE_9504

:ROULETE_9486
Char.SetSayScript(26@, $3877($x_temp,3i), True, True, False)

:ROULETE_9504
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1813)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @ROULETE_9546
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1085)

:ROULETE_9546
set_lvar_int_to_var_int 8@ = $RStickY
8@ += 6000000

:ROULETE_9564
goto @ROULETE_9930

:ROULETE_9571
set_lvar_int_to_var_int 8@ = $RStickY
10@ = 500
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikelowmuscle_ctr)
goto_if_false @ROULETE_9914
if 
  is_int_var_greater_than_int_lvar $RStickY > 6@
goto_if_false @ROULETE_9907
if or
  is_int_lvar_greater_than_int_lvar 20@ > 17@
  is_int_lvar_equal_to_int_lvar 20@ == 17@
goto_if_false @ROULETE_9865
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1813)
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @ROULETE_9693
Audio.ReportMissionAudioEventAtPosition(0.0, 0.0, 0.0, 1084)

:ROULETE_9693
sub_int_lvar_from_int_lvar 20@ -= 17@
sub_int_lvar_from_int_var $pad1_left_stick_x -= 17@
Player.AddScore($statbike_temp, 17@)
set_var_int_to_lvar_int $8563 = 17@
$8563 *= 26
if 
  is_int_var_greater_than_int_lvar $8563 > 20@
goto_if_false @ROULETE_9865
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($pad1_left_stick_y)
$in_carX += -0.14
set_var_int_to_lvar_int $8563 = 20@
div_int_var_by_int_lvar $8563 /= 17@
cset_var_float_to_var_int $y_temp =# $8563
$y_temp *= 0.005
add_float_var_to_float_var $in_carX += $y_temp
Object.Delete($8565($text_positionn_x,151i))
if 
  20@ > 0
goto_if_false @ROULETE_9865
$8565($text_positionn_x,151i) = Object.CreateNoOffset(19@, $on_footY, $on_footZ, $in_carX)

:ROULETE_9865
set_lvar_int_to_var_int 6@ = $RStickY
add_int_lvar_to_int_lvar 6@ += 11@
if 
  11@ == 500
goto_if_false @ROULETE_9907
11@ = 80

:ROULETE_9907
goto @ROULETE_9930

:ROULETE_9914
set_lvar_int_to_var_int 6@ = $RStickY
11@ = 500

:ROULETE_9930
set_var_int_to_lvar_int $8402($text_positionn_x,151i) = 20@

:ROULETE_9942
$text_positionn_x += 1
goto @ROULETE_8283

:ROULETE_9956
return 

:ROULETE_9958
if 
  18@ == 0
goto_if_false @ROULETE_9998
$8402[0] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[0]
$8402[0] = 0

:ROULETE_9998
if 
  18@ == 1
goto_if_false @ROULETE_10181
$8402[1] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[1]
$8402[37] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[37]
$8402[61] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[61]
$8402[94] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[94]
$8402[106] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[106]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[140] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[140]

:ROULETE_10181
if 
  18@ == 2
goto_if_false @ROULETE_10394
$8402[2] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[2]
$8402[37] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[37]
$8402[38] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[38]
$8402[62] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[62]
$8402[94] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[94]
$8402[106] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[106]
$8402[107] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[106]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[140] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[140]

:ROULETE_10394
if 
  18@ == 3
goto_if_false @ROULETE_10577
$8402[3] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[3]
$8402[38] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[38]
$8402[63] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[63]
$8402[94] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[94]
$8402[107] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[106]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[140] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[140]

:ROULETE_10577
if 
  18@ == 4
goto_if_false @ROULETE_10805
$8402[4] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[4]
$8402[61] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[61]
$8402[39] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[39]
$8402[64] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[64]
$8402[95] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[95]
$8402[106] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[106]
$8402[108] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[108]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[140] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[140]
$8402[141] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[141]

:ROULETE_10805
if 
  18@ == 5
goto_if_false @ROULETE_11078
$8402[5] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[5]
$8402[62] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[62]
$8402[39] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[39]
$8402[40] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[40]
$8402[65] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[65]
$8402[95] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[95]
$8402[106] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[106]
$8402[107] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[107]
$8402[108] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[108]
$8402[109] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[109]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[140] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[140]
$8402[141] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[141]

:ROULETE_11078
if 
  18@ == 6
goto_if_false @ROULETE_11306
$8402[6] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[6]
$8402[63] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[63]
$8402[40] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[40]
$8402[66] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[66]
$8402[95] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[95]
$8402[107] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[107]
$8402[109] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[109]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[140] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[140]
$8402[141] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[141]

:ROULETE_11306
if 
  18@ == 7
goto_if_false @ROULETE_11534
$8402[7] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[7]
$8402[64] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[64]
$8402[41] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[41]
$8402[67] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[67]
$8402[96] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[96]
$8402[108] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[108]
$8402[110] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[110]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[141] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[141]
$8402[142] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[142]

:ROULETE_11534
if 
  18@ == 8
goto_if_false @ROULETE_11807
$8402[8] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[8]
$8402[65] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[65]
$8402[41] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[41]
$8402[42] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[42]
$8402[68] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[68]
$8402[96] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[96]
$8402[108] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[108]
$8402[109] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[109]
$8402[110] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[110]
$8402[111] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[111]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[141] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[141]
$8402[142] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[142]

:ROULETE_11807
if 
  18@ == 9
goto_if_false @ROULETE_12035
$8402[9] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[9]
$8402[66] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[66]
$8402[42] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[42]
$8402[69] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[69]
$8402[96] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[96]
$8402[109] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[109]
$8402[111] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[111]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[141] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[141]
$8402[142] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[142]

:ROULETE_12035
if 
  18@ == 10
goto_if_false @ROULETE_12263
$8402[10] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[10]
$8402[67] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[67]
$8402[43] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[43]
$8402[70] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[70]
$8402[97] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[97]
$8402[110] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[110]
$8402[112] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[112]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[142] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[142]
$8402[143] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[143]

:ROULETE_12263
if 
  18@ == 11
goto_if_false @ROULETE_12536
$8402[11] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[11]
$8402[68] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[68]
$8402[43] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[43]
$8402[44] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[44]
$8402[71] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[71]
$8402[97] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[97]
$8402[110] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[110]
$8402[111] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[111]
$8402[112] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[112]
$8402[113] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[113]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[142] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[142]
$8402[143] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[143]

:ROULETE_12536
if 
  18@ == 12
goto_if_false @ROULETE_12764
$8402[12] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[12]
$8402[69] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[69]
$8402[44] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[44]
$8402[72] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[72]
$8402[97] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[97]
$8402[111] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[111]
$8402[113] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[113]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[131] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[131]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[142] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[142]
$8402[143] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[143]

:ROULETE_12764
if 
  18@ == 13
goto_if_false @ROULETE_12992
$8402[13] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[13]
$8402[70] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[70]
$8402[45] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[45]
$8402[73] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[73]
$8402[98] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[98]
$8402[112] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[112]
$8402[114] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[114]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[143] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[143]
$8402[144] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[144]

:ROULETE_12992
if 
  18@ == 14
goto_if_false @ROULETE_13265
$8402[14] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[14]
$8402[71] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[71]
$8402[45] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[45]
$8402[46] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[46]
$8402[74] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[74]
$8402[98] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[98]
$8402[112] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[112]
$8402[113] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[113]
$8402[114] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[114]
$8402[115] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[115]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[143] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[143]
$8402[144] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[144]

:ROULETE_13265
if 
  18@ == 15
goto_if_false @ROULETE_13493
$8402[15] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[15]
$8402[72] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[72]
$8402[46] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[46]
$8402[75] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[75]
$8402[98] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[98]
$8402[113] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[113]
$8402[115] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[115]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[143] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[143]
$8402[144] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[144]

:ROULETE_13493
if 
  18@ == 16
goto_if_false @ROULETE_13721
$8402[16] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[16]
$8402[73] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[73]
$8402[47] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[47]
$8402[76] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[76]
$8402[99] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[99]
$8402[114] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[114]
$8402[116] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[116]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[144] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[144]
$8402[145] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[145]

:ROULETE_13721
if 
  18@ == 17
goto_if_false @ROULETE_13994
$8402[17] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[17]
$8402[74] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[74]
$8402[47] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[47]
$8402[48] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[48]
$8402[77] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[77]
$8402[99] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[99]
$8402[114] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[114]
$8402[115] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[115]
$8402[116] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[116]
$8402[117] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[117]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[144] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[144]
$8402[145] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[145]

:ROULETE_13994
if 
  18@ == 18
goto_if_false @ROULETE_14222
$8402[18] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[18]
$8402[75] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[75]
$8402[48] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[48]
$8402[78] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[78]
$8402[99] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[99]
$8402[115] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[115]
$8402[117] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[117]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[134] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[134]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[144] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[144]
$8402[145] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[145]

:ROULETE_14222
if 
  18@ == 19
goto_if_false @ROULETE_14450
$8402[19] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[19]
$8402[76] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[76]
$8402[49] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[49]
$8402[79] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[79]
$8402[100] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[100]
$8402[116] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[116]
$8402[118] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[118]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[145] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[145]
$8402[146] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[146]

:ROULETE_14450
if 
  18@ == 20
goto_if_false @ROULETE_14723
$8402[20] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[20]
$8402[77] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[77]
$8402[49] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[49]
$8402[50] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[50]
$8402[80] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[80]
$8402[100] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[100]
$8402[116] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[116]
$8402[117] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[117]
$8402[118] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[118]
$8402[119] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[119]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[145] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[145]
$8402[146] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[146]

:ROULETE_14723
if 
  18@ == 21
goto_if_false @ROULETE_14951
$8402[21] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[21]
$8402[78] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[78]
$8402[50] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[50]
$8402[81] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[81]
$8402[100] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[100]
$8402[117] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[117]
$8402[119] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[119]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[145] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[145]
$8402[146] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[146]

:ROULETE_14951
if 
  18@ == 22
goto_if_false @ROULETE_15179
$8402[22] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[22]
$8402[79] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[79]
$8402[51] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[51]
$8402[82] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[82]
$8402[101] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[101]
$8402[118] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[118]
$8402[120] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[120]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[146] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[146]
$8402[147] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[147]

:ROULETE_15179
if 
  18@ == 23
goto_if_false @ROULETE_15452
$8402[23] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[23]
$8402[80] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[80]
$8402[51] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[51]
$8402[52] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[52]
$8402[83] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[83]
$8402[101] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[101]
$8402[118] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[118]
$8402[119] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[119]
$8402[120] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[120]
$8402[121] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[121]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[146] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[146]
$8402[147] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[147]

:ROULETE_15452
if 
  18@ == 24
goto_if_false @ROULETE_15680
$8402[24] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[24]
$8402[81] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[81]
$8402[52] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[52]
$8402[84] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[84]
$8402[101] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[101]
$8402[119] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[119]
$8402[121] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[121]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[132] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[132]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[146] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[146]
$8402[147] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[147]

:ROULETE_15680
if 
  18@ == 25
goto_if_false @ROULETE_15908
$8402[25] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[25]
$8402[82] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[82]
$8402[53] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[53]
$8402[85] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[85]
$8402[102] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[102]
$8402[120] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[120]
$8402[122] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[122]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[147] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[147]
$8402[148] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[148]

:ROULETE_15908
if 
  18@ == 26
goto_if_false @ROULETE_16181
$8402[26] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[26]
$8402[83] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[83]
$8402[53] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[53]
$8402[54] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[54]
$8402[86] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[86]
$8402[102] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[102]
$8402[120] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[120]
$8402[121] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[121]
$8402[122] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[122]
$8402[123] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[123]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[147] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[147]
$8402[148] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[148]

:ROULETE_16181
if 
  18@ == 27
goto_if_false @ROULETE_16409
$8402[27] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[27]
$8402[84] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[84]
$8402[54] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[54]
$8402[87] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[87]
$8402[102] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[102]
$8402[121] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[121]
$8402[123] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[123]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[147] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[147]
$8402[148] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[148]

:ROULETE_16409
if 
  18@ == 28
goto_if_false @ROULETE_16637
$8402[28] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[28]
$8402[85] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[85]
$8402[55] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[55]
$8402[88] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[88]
$8402[103] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[103]
$8402[122] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[122]
$8402[124] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[124]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[148] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[148]
$8402[149] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[149]

:ROULETE_16637
if 
  18@ == 29
goto_if_false @ROULETE_16910
$8402[29] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[29]
$8402[86] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[86]
$8402[55] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[55]
$8402[56] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[56]
$8402[89] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[89]
$8402[103] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[103]
$8402[122] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[122]
$8402[123] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[123]
$8402[124] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[124]
$8402[125] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[125]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[148] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[148]
$8402[149] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[149]

:ROULETE_16910
if 
  18@ == 30
goto_if_false @ROULETE_17138
$8402[30] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[30]
$8402[87] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[87]
$8402[56] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[56]
$8402[90] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[90]
$8402[103] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[103]
$8402[123] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[123]
$8402[125] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[125]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[148] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[148]
$8402[149] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[149]

:ROULETE_17138
if 
  18@ == 31
goto_if_false @ROULETE_17366
$8402[31] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[31]
$8402[88] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[88]
$8402[57] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[57]
$8402[91] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[91]
$8402[104] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[104]
$8402[124] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[124]
$8402[126] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[126]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[149] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[149]
$8402[150] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[150]

:ROULETE_17366
if 
  18@ == 32
goto_if_false @ROULETE_17639
$8402[32] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[32]
$8402[89] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[89]
$8402[57] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[57]
$8402[58] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[58]
$8402[92] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[92]
$8402[104] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[104]
$8402[124] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[124]
$8402[125] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[125]
$8402[126] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[126]
$8402[127] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[127]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[149] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[149]
$8402[150] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[150]

:ROULETE_17639
if 
  18@ == 33
goto_if_false @ROULETE_17867
$8402[33] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[33]
$8402[90] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[90]
$8402[58] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[58]
$8402[93] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[93]
$8402[104] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[104]
$8402[125] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[125]
$8402[127] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[127]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[149] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[149]
$8402[150] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[150]

:ROULETE_17867
if 
  18@ == 34
goto_if_false @ROULETE_18050
$8402[34] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[34]
$8402[91] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[91]
$8402[59] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[59]
$8402[105] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[105]
$8402[126] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[126]
$8402[128] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[128]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[150] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[150]

:ROULETE_18050
if 
  18@ == 35
goto_if_false @ROULETE_18263
$8402[35] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[35]
$8402[92] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[92]
$8402[59] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[59]
$8402[60] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[60]
$8402[105] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[105]
$8402[126] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[126]
$8402[127] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[127]
$8402[129] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[129]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[137] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[137]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[139] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[139]
$8402[150] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[150]

:ROULETE_18263
if 
  18@ == 36
goto_if_false @ROULETE_18446
$8402[36] *= 36
add_int_var_to_int_var $text_positionn_y += $8402[36]
$8402[93] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[93]
$8402[60] *= 18
add_int_var_to_int_var $text_positionn_y += $8402[60]
$8402[105] *= 12
add_int_var_to_int_var $text_positionn_y += $8402[105]
$8402[127] *= 9
add_int_var_to_int_var $text_positionn_y += $8402[127]
$8402[130] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[130]
$8402[133] *= 3
add_int_var_to_int_var $text_positionn_y += $8402[133]
$8402[136] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[136]
$8402[135] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[135]
$8402[138] *= 2
add_int_var_to_int_var $text_positionn_y += $8402[138]
$8402[150] *= 6
add_int_var_to_int_var $text_positionn_y += $8402[150]

:ROULETE_18446
return 

:ROULETE_18448
Text.SetColor(180, 180, 180, 255)
Text.SetScale($roulette_triggered, $spot1_topleft_y)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
return 
terminate_this_script 

//-------------External script 6 (OTB_SCRIPT)---------------

:OTB_MSC
script_name 'OTB_MSC'
1@ = 0
if 
  1@ == -1
goto_if_false @OTB_MSC_58
0@ = Object.Create(#OTB_MACHINE, 0.0, 0.0, 0.0)

:OTB_MSC_58
wait 0
if 
  Object.DoesExist(0@)
goto_if_false @OTB_MSC_625
if 
  Object.IsWithinBrainActivationRange(0@)
goto_if_false @OTB_MSC_589
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @OTB_MSC_555
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -1.0, 0.0, 0.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.6, 0.6, 1.0, False)
goto_if_false @OTB_MSC_521
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @OTB_MSC_478
if 
  1@ == 1
goto_if_false @OTB_MSC_471
Text.ClearHelp
1@ = 0
if 
  $weapon_shop1_blip == 0
goto_if_false @OTB_MSC_455
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @OTB_MSC_432
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @OTB_MSC_425
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Camera.DoFade(500, Fade.Out)

:OTB_MSC_298
if 
  Camera.GetFadingStatus
goto_if_false @OTB_MSC_322
wait 0
goto @OTB_MSC_298

:OTB_MSC_322
$territory_cash = 4
wait 0
wait 0
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @OTB_MSC_425
if 
  $weapon_shop1_blip == 0
goto_if_false @OTB_MSC_382
Player.SetControl($statbike_temp, True)

:OTB_MSC_382
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -2.0, 0.0, -1.0)
Char.SetCoordinates($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)

:OTB_MSC_425
goto @OTB_MSC_448

:OTB_MSC_432
Text.PrintNow('BUSY', 3000, 1)

:OTB_MSC_448
goto @OTB_MSC_471

:OTB_MSC_455
Text.PrintNow('BUSY', 3000, 1)

:OTB_MSC_471
goto @OTB_MSC_514

:OTB_MSC_478
if 
  1@ == 0
goto_if_false @OTB_MSC_514
Text.PrintHelpForever('OTB_A')
1@ = 1

:OTB_MSC_514
goto @OTB_MSC_548

:OTB_MSC_521
if 
  1@ == 1
goto_if_false @OTB_MSC_548
Text.ClearHelp
1@ = 0

:OTB_MSC_548
goto @OTB_MSC_582

:OTB_MSC_555
if 
  1@ == 1
goto_if_false @OTB_MSC_582
Text.ClearHelp
1@ = 0

:OTB_MSC_582
goto @OTB_MSC_618

:OTB_MSC_589
if 
  1@ == 1
goto_if_false @OTB_MSC_616
Text.ClearHelp
1@ = 0

:OTB_MSC_616
terminate_this_script 

:OTB_MSC_618
goto @OTB_MSC_654

:OTB_MSC_625
if 
  1@ == 1
goto_if_false @OTB_MSC_652
Text.ClearHelp
1@ = 0

:OTB_MSC_652
terminate_this_script 

:OTB_MSC_654
goto @OTB_MSC_58
terminate_this_script 

//-------------External script 7 (ARCADE)---------------

:ARCADE
script_name 'ARCADE'
1@ = 0
if 
  1@ == -1
goto_if_false @ARCADE_58
0@ = Object.Create(#CJ_COIN_OP_2, 0.0, 0.0, 0.0)

:ARCADE_58
wait 0
if 
  Object.DoesExist(0@)
goto_if_false @ARCADE_749
if 
  Object.IsWithinBrainActivationRange(0@)
goto_if_false @ARCADE_713
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @ARCADE_679
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, -1.0, 1.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.6, 0.6, 1.0, False)
goto_if_false @ARCADE_645
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @ARCADE_602
if 
  1@ == 1
goto_if_false @ARCADE_595
Text.ClearHelp
1@ = 0
if 
  $weapon_shop1_blip == 0
goto_if_false @ARCADE_563
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @ARCADE_524
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @ARCADE_517
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Camera.DoFade(500, Fade.Out)

:ARCADE_298
if 
  Camera.GetFadingStatus
goto_if_false @ARCADE_322
wait 0
goto @ARCADE_298

:ARCADE_322
if 
  Object.DoesHaveThisModel(0@, #CJ_COIN_OP_2)
goto_if_false @ARCADE_354
$territory_cash = 1
goto @ARCADE_464

:ARCADE_354
if or
  Object.DoesHaveThisModel(0@, #CJ_COIN_OP_3)
  Object.DoesHaveThisModel(0@, #SWANK_CONSOLE)
goto_if_false @ARCADE_393
$territory_cash = 0
goto @ARCADE_464

:ARCADE_393
if or
  Object.DoesHaveThisModel(0@, #CJ_COIN_OP_1)
  Object.DoesHaveThisModel(0@, #SNESISH)
goto_if_false @ARCADE_432
$territory_cash = 3
goto @ARCADE_464

:ARCADE_432
if or
  Object.DoesHaveThisModel(0@, #CJ_COIN_OP)
  Object.DoesHaveThisModel(0@, #LOW_CONSOLE)
goto_if_false @ARCADE_464
$territory_cash = 2

:ARCADE_464
wait 0
wait 0
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @ARCADE_517
if 
  $weapon_shop1_blip == 0
goto_if_false @ARCADE_517
Player.SetControl($statbike_temp, True)

:ARCADE_517
goto @ARCADE_556

:ARCADE_524
if 
  Player.IsControlOn($statbike_temp)
goto_if_false @ARCADE_556
Text.PrintNow('BUSY', 3000, 1)

:ARCADE_556
goto @ARCADE_595

:ARCADE_563
if 
  Player.IsControlOn($statbike_temp)
goto_if_false @ARCADE_595
Text.PrintNow('BUSY', 3000, 1)

:ARCADE_595
goto @ARCADE_638

:ARCADE_602
if 
  1@ == 0
goto_if_false @ARCADE_638
Text.PrintHelpForever('DUAL_A')
1@ = 1

:ARCADE_638
goto @ARCADE_672

:ARCADE_645
if 
  1@ == 1
goto_if_false @ARCADE_672
Text.ClearHelp
1@ = 0

:ARCADE_672
goto @ARCADE_706

:ARCADE_679
if 
  1@ == 1
goto_if_false @ARCADE_706
Text.ClearHelp
1@ = 0

:ARCADE_706
goto @ARCADE_742

:ARCADE_713
if 
  1@ == 1
goto_if_false @ARCADE_740
Text.ClearHelp
1@ = 0

:ARCADE_740
terminate_this_script 

:ARCADE_742
goto @ARCADE_778

:ARCADE_749
if 
  1@ == 1
goto_if_false @ARCADE_776
Text.ClearHelp
1@ = 0

:ARCADE_776
terminate_this_script 

:ARCADE_778
goto @ARCADE_58
terminate_this_script 

//-------------External script 8 (VENDING_MACHINE)---------------

:VENDING
script_name 'VENDING'
1@ = 0
if 
  1@ == 1
goto_if_false @VENDING_80
0@ = Object.CreateNoOffset(#VENDMACHFD, 0.0, 0.0, 0.0)
3@ = Object.CreateNoOffset(#KB_BEER, 0.0, 0.0, 0.0)

:VENDING_80
wait 0
$RStickY = Clock.GetGameTimer()
if 
  Object.DoesExist(0@)
goto_if_false @VENDING_1579
if 
  Object.IsWithinBrainActivationRange(0@)
goto_if_false @VENDING_1484
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VENDING_1391
if 
  1@ == 0
goto_if_false @VENDING_173
Streaming.RequestAnimation("VENDING")
1@ += 1

:VENDING_173
if 
  1@ == 1
goto_if_false @VENDING_395
if 
  Streaming.HasAnimationLoaded("VENDING")
goto_if_false @VENDING_384
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, -1.0, 0.5)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.6, 0.6, 1.0, False)
goto_if_false @VENDING_377
if or
  Object.DoesHaveThisModel(0@, #VENDIN3)
  Object.DoesHaveThisModel(0@, #CJ_CANDYVENDOR)
  Object.DoesHaveThisModel(0@, #CJ_EXT_CANDY)
goto_if_false @VENDING_343
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 42601)
Text.PrintHelpForever('SLOT_04')
goto @VENDING_363

:VENDING_343
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 42600)
Text.PrintHelpForever('SLOT_05')

:VENDING_363
Pad.SetPlayerEnterCarButton($statbike_temp, False)
1@ += 1

:VENDING_377
goto @VENDING_395

:VENDING_384
Streaming.RequestAnimation("VENDING")

:VENDING_395
if 
  1@ == 2
goto_if_false @VENDING_1210
if 
  Streaming.HasAnimationLoaded("VENDING")
goto_if_false @VENDING_1199
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, -1.0, 0.5)
if or
  Object.DoesHaveThisModel(0@, #VENDIN3)
  Object.DoesHaveThisModel(0@, #CJ_CANDYVENDOR)
  Object.DoesHaveThisModel(0@, #CJ_EXT_CANDY)
goto_if_false @VENDING_512
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 42601)
goto @VENDING_521

:VENDING_512
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 42600)

:VENDING_521
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.6, 0.6, 1.0, False)
goto_if_false @VENDING_1176
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @VENDING_1169
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @VENDING_1169
if 
  Player.IsScoreGreater($statbike_temp, 0)
goto_if_false @VENDING_1141
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @VENDING_1134
$on_footX = Object.GetHeading(0@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, -0.2, 0.6)
3@ = Object.CreateNoOffset(#CJ_JUICE_CAN, $on_footY, $on_footZ, $in_carX)
$on_footX = Object.GetHeading(0@)
$temp_integer_4 = Sequence.Open()
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.2, -1.0, 0.0)
Task.CharSlideToCoordAndPlayAnim(-1, $on_footY, $on_footZ, $in_carX, $on_footX, 0.4, "VEND_USE", "VENDING", 4.0, False, False, False, True, 0)
if or
  Object.DoesHaveThisModel(0@, #VENDIN3)
  Object.DoesHaveThisModel(0@, #CJ_CANDYVENDOR)
  Object.DoesHaveThisModel(0@, #CJ_EXT_CANDY)
goto_if_false @VENDING_859
Task.PlayAnimSecondary(-1, "VEND_EAT_P", "VENDING", 4.0, False, False, False, False, -1)
goto @VENDING_1001

:VENDING_859
$on_footY, $on_footZ, $in_carX, $on_footY, $on_footZ, $in_carX = Streaming.GetModelDimensions(#CJ_JUICE_CAN)
$on_footZ /= 2.0
$on_footZ += 0.027
Task.PickUpObject(-1, 3@, 0.062, $on_footZ, 0.0, 5, 16, "VEND_USE_PT2", "VENDING", 0)
Task.PickUpObject(-1, 3@, 0.062, $on_footZ, 0.0, 5, 16, "VEND_DRINK2_P", "VENDING", 0)

:VENDING_1001
Sequence.Close($temp_integer_4)
Char.PerformSequence($stattreadstamina_ctr, $temp_integer_4)
Sequence.Clear($temp_integer_4)
Player.AddScore($statbike_temp, -1)
Text.ClearHelp
if or
  Object.DoesHaveThisModel(0@, #VENDIN3)
  Object.DoesHaveThisModel(0@, #CJ_CANDYVENDOR)
  Object.DoesHaveThisModel(0@, #CJ_EXT_CANDY)
goto_if_false @VENDING_1076
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 42601)
goto @VENDING_1085

:VENDING_1076
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 42600)

:VENDING_1085
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @VENDING_1111
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot4, $stattreadstamina_ctr)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)

:VENDING_1111
set_lvar_int_to_var_int 2@ = $RStickY
2@ += 3000
1@ += 1

:VENDING_1134
goto @VENDING_1169

:VENDING_1141
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
Sound.AddOneOffSound($on_footY, $on_footZ, $in_carX, ScriptSound.SoundAmmunationBuyWeaponDenied)

:VENDING_1169
goto @VENDING_1192

:VENDING_1176
Text.ClearHelp
Pad.SetPlayerEnterCarButton($statbike_temp, True)
1@ = 1

:VENDING_1192
goto @VENDING_1210

:VENDING_1199
Streaming.RequestAnimation("VENDING")

:VENDING_1210
if 
  1@ == 3
goto_if_false @VENDING_1324
$chickY = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @VENDING_1324
Stat.IncrementInt(StatId.Calories, 5)
$an = Char.GetHealth($stattreadstamina_ctr)
$an += 30
Char.SetHealth($stattreadstamina_ctr, $an)
Object.MarkAsNoLongerNeeded(3@)
Text.ClearHelp
Pad.SetPlayerEnterCarButton($statbike_temp, True)
set_lvar_int_to_var_int 2@ = $RStickY
2@ += 1500
1@ += 1

:VENDING_1324
if 
  1@ == 4
goto_if_false @VENDING_1384
if 
  is_int_var_greater_than_int_lvar $RStickY > 2@
goto_if_false @VENDING_1384
Char.ClearTasks($stattreadstamina_ctr)
Streaming.RemoveAnimation("VENDING")
1@ = 0

:VENDING_1384
goto @VENDING_1477

:VENDING_1391
if 
  1@ > 0
goto_if_false @VENDING_1477
if 
  1@ > 1
goto_if_false @VENDING_1436
Text.ClearHelp
Pad.SetPlayerEnterCarButton($statbike_temp, True)

:VENDING_1436
if 
  1@ > 2
goto_if_false @VENDING_1459
Object.MarkAsNoLongerNeeded(3@)

:VENDING_1459
Streaming.RemoveAnimation("VENDING")
1@ = 0

:VENDING_1477
goto @VENDING_1572

:VENDING_1484
if 
  1@ > 0
goto_if_false @VENDING_1570
if 
  1@ > 1
goto_if_false @VENDING_1529
Text.ClearHelp
Pad.SetPlayerEnterCarButton($statbike_temp, True)

:VENDING_1529
if 
  1@ > 2
goto_if_false @VENDING_1552
Object.MarkAsNoLongerNeeded(3@)

:VENDING_1552
Streaming.RemoveAnimation("VENDING")
1@ = 0

:VENDING_1570
terminate_this_script 

:VENDING_1572
goto @VENDING_1667

:VENDING_1579
if 
  1@ > 0
goto_if_false @VENDING_1665
if 
  1@ > 1
goto_if_false @VENDING_1624
Text.ClearHelp
Pad.SetPlayerEnterCarButton($statbike_temp, True)

:VENDING_1624
if 
  1@ > 2
goto_if_false @VENDING_1647
Object.MarkAsNoLongerNeeded(3@)

:VENDING_1647
Streaming.RemoveAnimation("VENDING")
1@ = 0

:VENDING_1665
terminate_this_script 

:VENDING_1667
goto @VENDING_80
terminate_this_script 

//-------------External script 9 (FOOD_VENDOR)---------------

:FODVEND
script_name 'FODVEND'
1@ = 0
if 
  1@ == 1
goto_if_false @FODVEND_58
0@ = Object.CreateNoOffset(#ICESCART_PROP, 0.0, 0.0, 0.0)

:FODVEND_58
wait 0
$RStickY = Clock.GetGameTimer()
if 
  Object.DoesExist(0@)
goto_if_false @FODVEND_1130
if 
  Object.IsWithinBrainActivationRange(0@)
goto_if_false @FODVEND_1075
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @FODVEND_1022
if 
  not Object.HasBeenUprooted(0@)
goto_if_false @FODVEND_924
if 
  1@ == 0
goto_if_false @FODVEND_469
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -1.0, 0.0, -1.0)
set_var_float_to_var_float $grape = $on_footY
$grape -= 0.5
set_var_float_to_var_float $r_69 = $on_footZ
$r_69 -= 0.5
set_var_float_to_var_float $bell = $in_carX
set_var_float_to_var_float $y_temp = $on_footY
$y_temp += 0.5
set_var_float_to_var_float $z_temp = $on_footZ
$z_temp += 0.5
set_var_float_to_var_float $cherry = $in_carX
$cherry += 2.0
if 
  not World.IsAreaOccupied($grape, $r_69, $bell, $y_temp, $z_temp, $cherry, False, False, True, False, False)
goto_if_false @FODVEND_462
if 
  not Camera.IsPointOnScreen($on_footY, $on_footZ, $in_carX, 1.0)
goto_if_false @FODVEND_455
Streaming.RequestModel(168)
if 
  Streaming.HasModelLoaded(168)
goto_if_false @FODVEND_455
2@ = Char.Create(PedType.CivMale, 168, $on_footY, $on_footZ, $in_carX)
$grape, $r_69, $bell = Object.GetOffsetInWorldCoords(0@, 1.0, 0.0, 0.0)
sub_float_var_from_float_var $grape -= $on_footY
sub_float_var_from_float_var $r_69 -= $on_footZ
$on_footX = Math.GetHeadingFromVector2D($grape, $r_69)
Char.SetHeading(2@, $on_footX)
1@ += 1

:FODVEND_455
goto @FODVEND_469

:FODVEND_462
Streaming.MarkModelAsNoLongerNeeded(168)
terminate_this_script 

:FODVEND_469
if 
  1@ == 1
goto_if_false @FODVEND_742
if 
  Char.LocateOnFootObject2D($stattreadstamina_ctr, 0@, 8.0, 8.0, False)
goto_if_false @FODVEND_742
Streaming.RequestAnimation("VENDING")
if 
  Streaming.HasAnimationLoaded("VENDING")
goto_if_false @FODVEND_742
if 
  Player.IsScoreGreater($statbike_temp, 0)
goto_if_false @FODVEND_742
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 1.0, 0.0, 0.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.6, 0.6, 1.0, True)
goto_if_false @FODVEND_742
$an = Char.GetHealth($stattreadstamina_ctr)
$an += 50
Char.SetHealth($stattreadstamina_ctr, $an)
Task.PlayAnimSecondary($stattreadstamina_ctr, "VEND_EAT1_P", "VENDING", 4.0, False, False, False, False, -1)
Stat.IncrementInt(StatId.Calories, 10)
set_lvar_int_to_var_int 3@ = $RStickY
3@ += 3000
Player.AddScore($statbike_temp, -1)
1@ += 1

:FODVEND_742
if 
  1@ == 2
goto_if_false @FODVEND_802
if 
  is_int_var_greater_than_int_lvar $RStickY > 3@
goto_if_false @FODVEND_802
set_lvar_int_to_var_int 3@ = $RStickY
3@ += 27000
1@ += 1

:FODVEND_802
if 
  1@ == 3
goto_if_false @FODVEND_917
if 
  is_int_var_greater_than_int_lvar $RStickY > 3@
goto_if_false @FODVEND_917
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 1.0, 0.0, 0.0)
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.6, 0.6, 1.0, False)
goto_if_false @FODVEND_917
1@ = 1

:FODVEND_917
goto @FODVEND_1015

:FODVEND_924
if 
  1@ > 0
goto_if_false @FODVEND_1008
Char.MarkAsNoLongerNeeded(2@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @FODVEND_990
if 
  not Char.IsDead(2@)
goto_if_false @FODVEND_990
Task.KillCharOnFootTimed(2@, $stattreadstamina_ctr, 10000)

:FODVEND_990
Streaming.RemoveAnimation("VENDING")
1@ = 0

:FODVEND_1008
Streaming.MarkModelAsNoLongerNeeded(168)
terminate_this_script 

:FODVEND_1015
goto @FODVEND_1068

:FODVEND_1022
if 
  1@ > 0
goto_if_false @FODVEND_1063
Char.MarkAsNoLongerNeeded(2@)
Streaming.RemoveAnimation("VENDING")
1@ = 0

:FODVEND_1063
Streaming.MarkModelAsNoLongerNeeded(168)

:FODVEND_1068
goto @FODVEND_1123

:FODVEND_1075
if 
  1@ > 0
goto_if_false @FODVEND_1116
Char.MarkAsNoLongerNeeded(2@)
Streaming.RemoveAnimation("VENDING")
1@ = 0

:FODVEND_1116
Streaming.MarkModelAsNoLongerNeeded(168)
terminate_this_script 

:FODVEND_1123
goto @FODVEND_1178

:FODVEND_1130
if 
  1@ > 0
goto_if_false @FODVEND_1171
Char.MarkAsNoLongerNeeded(2@)
Streaming.RemoveAnimation("VENDING")
1@ = 0

:FODVEND_1171
Streaming.MarkModelAsNoLongerNeeded(168)
terminate_this_script 

:FODVEND_1178
goto @FODVEND_58
terminate_this_script 

//-------------External script 10 (GATES_SCRIPT)---------------

:GATEOS
script_name 'GATEOS'
1@ = 0
if 
  1@ == 1
goto_if_false @GATEOS_80
0@ = Object.CreateNoOffset(#GATE_AUTOL, 0.0, 0.0, 0.0)
0@ = Object.CreateNoOffset(#GATE_AUTOR, 0.0, 0.0, 0.0)

:GATEOS_80
wait 0
$RStickY = Clock.GetGameTimer()
if 
  Object.DoesExist(0@)
goto_if_false @GATEOS_997
if 
  Object.IsWithinBrainActivationRange(0@)
goto_if_false @GATEOS_988
if 
  1@ == 0
goto_if_false @GATEOS_502
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GATEOS_502
9@ = Object.GetModel(0@)
if 
  Streaming.HasModelLoaded(9@)
goto_if_false @GATEOS_502
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 12.0, 12.0, False)
goto_if_false @GATEOS_477
if or
  Char.IsInModel($stattreadstamina_ctr, 433)
  Char.IsInModel($stattreadstamina_ctr, 470)
  Char.IsInModel($stattreadstamina_ctr, 432)
goto_if_false @GATEOS_366
$y_temp, $z_temp, $cherry = Object.GetLevelDesignCoords(0@, 5)
$grape, $r_69, $bell = Object.GetLevelDesignCoords(0@, 6)
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 7)
$in_carX = Math.GetDistanceBetweenCoords2D($grape, $r_69, $on_footY, $on_footZ)
$in_carX *= -1.0
if 
  Char.IsInAngledArea3D($stattreadstamina_ctr, $y_temp, $z_temp, $cherry, $grape, $r_69, $bell, $in_carX, False)
goto_if_false @GATEOS_366
1@ = 1

:GATEOS_366
$y_temp, $z_temp, $cherry = Object.GetLevelDesignCoords(0@, 1)
$grape, $r_69, $bell = Object.GetLevelDesignCoords(0@, 2)
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 3)
$in_carX = Math.GetDistanceBetweenCoords2D($grape, $r_69, $on_footY, $on_footZ)
if 
  Char.IsInAngledArea3D($stattreadstamina_ctr, $y_temp, $z_temp, $cherry, $grape, $r_69, $bell, $in_carX, False)
goto_if_false @GATEOS_477
1@ = 1

:GATEOS_477
if 
  $number_of_instances_of_streamed_script == 1
goto_if_false @GATEOS_502
1@ = 1

:GATEOS_502
if 
  1@ == 1
goto_if_false @GATEOS_589
9@ = Object.GetModel(0@)
if 
  Streaming.HasModelLoaded(9@)
goto_if_false @GATEOS_589
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 0)
5@, 6@, 7@ = Object.GetCoordinates(0@)
Audio.ReportMissionAudioEventAtObject(0@, 1100)
1@ += 1

:GATEOS_589
if 
  1@ == 2
goto_if_false @GATEOS_727
if 
  Object.Slide(0@, 2@, 3@, 4@, 0.1, 0.1, 0.1, True)
goto_if_false @GATEOS_727
if 
  Object.Locate3D(0@, 2@, 3@, 4@, 0.1, 0.1, 0.1, False)
goto_if_false @GATEOS_727
Object.SetCoordinates(0@, 2@, 3@, 4@)
Audio.ReportMissionAudioEventAtObject(0@, 1101)
$number_of_instances_of_streamed_script += 1
1@ += 1

:GATEOS_727
if 
  1@ == 3
goto_if_false @GATEOS_770
if 
  $1525 == 0
goto_if_false @GATEOS_770
1@ += 1

:GATEOS_770
if 
  1@ == 4
goto_if_false @GATEOS_850
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GATEOS_850
if 
  not Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 20.0, 20.0, False)
goto_if_false @GATEOS_850
Audio.ReportMissionAudioEventAtObject(0@, 1100)
1@ += 1

:GATEOS_850
if 
  1@ == 5
goto_if_false @GATEOS_981
if 
  Object.Slide(0@, 5@, 6@, 7@, 0.1, 0.1, 0.1, True)
goto_if_false @GATEOS_981
if 
  Object.Locate3D(0@, 5@, 6@, 7@, 0.1, 0.1, 0.1, False)
goto_if_false @GATEOS_981
Object.SetCoordinates(0@, 5@, 6@, 7@)
Audio.ReportMissionAudioEventAtObject(0@, 1101)
1@ = 0

:GATEOS_981
goto @GATEOS_990

:GATEOS_988
terminate_this_script 

:GATEOS_990
goto @GATEOS_999

:GATEOS_997
terminate_this_script 

:GATEOS_999
goto @GATEOS_80
terminate_this_script 

//-------------External script 11 (GYMBIKE)---------------

:GYMBIKE
script_name 'GYMBIKE'
$weightbp = 0
$bike_has_KD = 0.0
$bench_txt = 0
$levelbar_bike_1 = 0
$bike_shake_speed = 0
5@ = 0.0
6@ = 0.0
7@ = 0.0
8@ = 0.0
9@ = 0.0
10@ = 0.0
11@ = 0.0
12@ = 0.0
13@ = 0.0
14@ = 0.0
15@ = 0.0
$distanceon_bike = 0.0
$distancetoaddbike_gym = 0.0
16@ = 0.0
17@ = 0.0
19@ = 0.0
$expedalsy = 0
20@ = 0
21@ = 0
22@ = 0
23@ = 0
24@ = 0
25@ = 0
26@ = 0
27@ = 0
28@ = 0
$distanceon_bike = 0.0
$distancetoaddbike_gym = 0.0
$distanceon_bikefloat = 0
$bike_TIMERC = 0
$temp_ply_z = 0
$bike_pedals = 0.0
$bike_speed_level = 0.0
20@ = 0
21@ = 0
22@ = 0
23@ = 0
24@ = 0
25@ = 0
26@ = 0
27@ = 0
28@ = 0
$bike_TIMERC = 0
30@ = 0
29@ = 0
$speedbar_bike = 0
TIMERA = 0
TIMERB = 0
if 
  30@ == 1
goto_if_false @GYMBIKE_486
0@ = Object.CreateNoOffset(#CM_BOX, 0.0, 0.0, 0.0)

:GYMBIKE_486
if 
  Object.DoesExist(0@)
goto_if_false @GYMBIKE_538
5@, 6@, 7@ = Object.GetCoordinates(0@)
11@, 12@, 13@ = Object.GetCoordinates(0@)
4@ = Object.GetHeading(0@)

:GYMBIKE_538
set_var_float_to_lvar_float $main_menu_bench = 7@
$main_menu_bench += 0.15
set_lvar_float_to_lvar_float 3@ = 4@
3@ -= 90.0
1@ = Math.Sin(3@)
2@ = Math.Cos(3@)
1@ *= 0.05
2@ *= 0.05
set_var_float_to_lvar_float $bike_start_sound = 5@
add_float_lvar_to_float_var $bike_start_sound += 2@
set_var_float_to_lvar_float $bike_show_stat = 6@
add_float_lvar_to_float_var $bike_show_stat += 1@
$expedalsx = Object.Create(#PEDALS, $bike_start_sound, $bike_show_stat, $main_menu_bench)
Object.SetHeading($expedalsx, 4@)
set_lvar_float_to_lvar_float 10@ = 7@
10@ += 0.9
set_lvar_float_to_lvar_float 3@ = 4@
3@ -= 45.0
1@ = Math.Sin(3@)
2@ = Math.Cos(3@)
1@ *= 2.8
2@ *= 2.8
set_lvar_float_to_lvar_float 8@ = 5@
add_float_lvar_to_float_lvar 8@ += 2@
set_lvar_float_to_lvar_float 9@ = 6@
add_float_lvar_to_float_lvar 9@ += 1@
4@ -= 180.0
3@ += 45.0
1@ = Math.Sin(3@)
2@ = Math.Cos(3@)
1@ *= 0.5
2@ *= 0.5
add_float_lvar_to_float_lvar 5@ += 2@
add_float_lvar_to_float_lvar 6@ += 1@
set_lvar_float_to_lvar_float 3@ = 4@
3@ -= 90.0
1@ = Math.Sin(3@)
2@ = Math.Cos(3@)
1@ *= 0.5
2@ *= 0.5
set_var_float_to_lvar_float $distanceon_bike = 5@
add_float_lvar_to_float_var $distanceon_bike += 2@
set_var_float_to_lvar_float $distancetoaddbike_gym = 6@
add_float_lvar_to_float_var $distancetoaddbike_gym += 1@
7@ += 0.05
$distanceon_bikefloat = 0
$temp_ply_z = 0
$inclinebutton_flag = 0

:GYMBIKE_960
wait 0
if 
  not Object.DoesExist(0@)
goto_if_false @GYMBIKE_987
Object.Delete($expedalsx)
terminate_this_script 

:GYMBIKE_987
if 
  not Object.IsWithinBrainActivationRange(0@)
goto_if_false @GYMBIKE_1010
Object.Delete($expedalsx)
terminate_this_script 

:GYMBIKE_1010
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GYMBIKE_6443
if 
  20@ == 0
goto_if_false @GYMBIKE_1371
if and
  28@ == 0
  not Player.IsUsingJetpack($statbike_temp)
goto_if_false @GYMBIKE_1330
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 5@, 6@, 7@, 1.2, 1.2, 4.0, False)
goto_if_false @GYMBIKE_1296
if 
  29@ == 0
goto_if_false @GYMBIKE_1145
Text.PrintHelpForever('GYM1_81')
29@ = 1

:GYMBIKE_1145
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @GYMBIKE_1289
if or
  $weapon_shop1_blip == 0
  $switch_the_gym_interiors_off == 1
goto_if_false @GYMBIKE_1273
$gym_day_fitness, $burglary_male_decision = Clock.GetCurrentDate()
if or
  is_int_var_greater_than_int_var $gym_day_fitness > $burglary_female_decision
  is_int_var_greater_than_int_var $burglary_male_decision > $burglary_gang_decision
goto_if_false @GYMBIKE_1250
20@ = 1
$reptread_flag = 1
$levelbar_bike = 0
goto @GYMBIKE_1266

:GYMBIKE_1250
Text.PrintNow('GYM1_1A', 4000, 1)

:GYMBIKE_1266
goto @GYMBIKE_1289

:GYMBIKE_1273
Text.PrintNow('GYM1_90', 4000, 1)

:GYMBIKE_1289
goto @GYMBIKE_1323

:GYMBIKE_1296
if 
  29@ == 1
goto_if_false @GYMBIKE_1323
Text.ClearHelp
29@ = 0

:GYMBIKE_1323
goto @GYMBIKE_1371

:GYMBIKE_1330
if 
  not Char.LocateOnFoot2D($stattreadstamina_ctr, 5@, 6@, 2.0, 2.0, False)
goto_if_false @GYMBIKE_1371
28@ = 0

:GYMBIKE_1371
if 
  20@ == 1
goto_if_false @GYMBIKE_6443
if 
  $inclinebutton_flag == 0
goto_if_false @GYMBIKE_1499
Streaming.RequestAnimation("GYMNASIUM")

:GYMBIKE_1420
if 
  not Streaming.HasAnimationLoaded("GYMNASIUM")
goto_if_false @GYMBIKE_1455
wait 0
goto @GYMBIKE_1420

:GYMBIKE_1455
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1820)

:GYMBIKE_1466
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMBIKE_1492
wait 0
goto @GYMBIKE_1466

:GYMBIKE_1492
$inclinebutton_flag = 1

:GYMBIKE_1499
if and
  $reptread_flag == 1
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_1611
Char.SetCollision($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, False)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, $distanceon_bike, $distancetoaddbike_gym, 7@)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Camera.SetFixedPosition(8@, 9@, 10@, 0.0, 0.0, 0.0)
Char.SetHeading($stattreadstamina_ctr, 4@)
Camera.PointAtPoint(11@, 12@, 10@, SwitchType.JumpCut)
$reptread_flag = 2

:GYMBIKE_1611
if and
  $reptread_flag == 2
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_2308
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.PlayAnim($stattreadstamina_ctr, "GYM_BIKE_GETON", "GYMNASIUM", 4.0, False, False, False, True, -1)
Text.PrintHelpForever('GYM1_60')
if or
  $flag_hhiker_trigger == 4
  $flag_hhiker_trigger == 2
goto_if_false @GYMBIKE_1890
$ply_exbikey = Menu.Create('GYM1_D', 31.0, 180.0, 178.0, 1, True, True, 0)
Menu.SetColumn($ply_exbikey, 0, 'GYM1_89', 'GYM1_61', 'GYM1_62', 'GYM1_63', 'GYM1_64', 'GYM1_65', 'GYM1_66', 'GYM1_67', 'GYM1_68', 'GYM1_69', 'GYM1_70', 'DUMMY', 'DUMMY')
goto @GYMBIKE_2051

:GYMBIKE_1890
$ply_exbikey = Menu.Create('GYM1_D', 31.0, 150.0, 178.0, 1, True, True, 0)
Menu.SetColumn($ply_exbikey, 0, 'GYM1_89', 'GYM1_61', 'GYM1_62', 'GYM1_63', 'GYM1_64', 'GYM1_65', 'GYM1_66', 'GYM1_67', 'GYM1_68', 'GYM1_69', 'GYM1_70', 'DUMMY', 'DUMMY')

:GYMBIKE_2051
Menu.SetActiveItem($ply_exbikey, 0)

:GYMBIKE_2058
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_2294
wait 0
$levelbar_bike += 1
if 
is_japanese_version 
goto_if_false @GYMBIKE_2196
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  $levelbar_bike > 20
goto_if_false @GYMBIKE_2143
Text.ClearHelp
Menu.Delete($ply_exbikey)
$bike_TIMERC = 0
goto @GYMBIKE_5438

:GYMBIKE_2143
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @GYMBIKE_2189
Text.ClearHelp
$bike_TIMERC = Menu.GetItemSelected($ply_exbikey)
$bike_TIMERC += 1
Menu.Delete($ply_exbikey)
goto @GYMBIKE_2294

:GYMBIKE_2189
goto @GYMBIKE_2287

:GYMBIKE_2196
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  $levelbar_bike > 20
goto_if_false @GYMBIKE_2241
Text.ClearHelp
Menu.Delete($ply_exbikey)
$bike_TIMERC = 0
goto @GYMBIKE_5438

:GYMBIKE_2241
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMBIKE_2287
Text.ClearHelp
$bike_TIMERC = Menu.GetItemSelected($ply_exbikey)
$bike_TIMERC += 1
Menu.Delete($ply_exbikey)
goto @GYMBIKE_2294

:GYMBIKE_2287
goto @GYMBIKE_2058

:GYMBIKE_2294
$reptread_flag = 3
TIMERB = 0

:GYMBIKE_2308
if and
  $reptread_flag == 3
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_2499
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BIKE_GETON")
goto_if_false @GYMBIKE_2499
15@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_BIKE_GETON")
if 
  15@ == 1.0
goto_if_false @GYMBIKE_2499
Task.PlayAnim($stattreadstamina_ctr, "GYM_BIKE_SLOW", "GYMNASIUM", 4.0, True, False, False, True, -1)
Object.PlayAnim($expedalsx, "PEDALS_SLOW", "GYMNASIUM", 4.0, True, -1)
$reptread_flag = 4

:GYMBIKE_2499
if and
  $reptread_flag == 4
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_2694
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BIKE_SLOW")
goto_if_false @GYMBIKE_2694
15@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_BIKE_SLOW")
if 
  15@ == 0.0
goto_if_false @GYMBIKE_2694
Char.SetAnimPlayingFlag($stattreadstamina_ctr, "GYM_BIKE_SLOW", False)
Hud.DisplayNthCounterWithString($distanceon_bikefloat, CounterDisplay.Bar, 1, 'GYM1_1')
Hud.DisplayNthCounterWithString($bike_TIMERC, CounterDisplay.Number, 2, 'GYM1_4')
Hud.DisplayNthCounterWithString($temp_ply_z, CounterDisplay.Number, 3, 'GYM1_3')
21@ = 1
$reptread_flag = 5
TIMERB = 0

:GYMBIKE_2694
if and
  $reptread_flag == 5
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_6443
if 
  $speedbar_bike == 0
goto_if_false @GYMBIKE_2753
Text.PrintHelpForever('GYM1_40')
$speedbar_bike = 1

:GYMBIKE_2753
if and
  TIMERB > 4000
  $speedbar_bike == 1
goto_if_false @GYMBIKE_2799
Text.ClearHelp
Text.PrintHelpForever('GYM1_41')
$speedbar_bike = 2

:GYMBIKE_2799
if and
  TIMERB > 8000
  $speedbar_bike == 2
goto_if_false @GYMBIKE_2834
Text.ClearHelp
$speedbar_bike = 101

:GYMBIKE_2834
19@ = Stat.GetFloat(StatId.Stamina)
19@ /= 100.0
set_lvar_float_to_lvar_float 16@ = 17@
add_float_lvar_to_float_lvar 16@ += 19@
14@ -= 0.7
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMBIKE_2927
if 
  22@ == 0
goto_if_false @GYMBIKE_2927
add_float_lvar_to_float_lvar 14@ += 16@
22@ = 1

:GYMBIKE_2927
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMBIKE_2969
if 
  22@ == 1
goto_if_false @GYMBIKE_2969
22@ = 0

:GYMBIKE_2969
if 
  0.0 > 14@
goto_if_false @GYMBIKE_3000
14@ = 0.0

:GYMBIKE_3000
if 
  14@ > 100.0
goto_if_false @GYMBIKE_3031
14@ = 100.0

:GYMBIKE_3031
if 
  21@ == 1
goto_if_false @GYMBIKE_3164
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BIKE_SLOW")
goto_if_false @GYMBIKE_3164
Char.SetAnimPlayingFlag($stattreadstamina_ctr, "GYM_BIKE_SLOW", True)
Char.SetAnimSpeed($stattreadstamina_ctr, "GYM_BIKE_SLOW", 0.5)
Object.SetAnimSpeed($expedalsx, "PEDALS_SLOW", 0.5)
TIMERA = 0
21@ = 2

:GYMBIKE_3164
if and
  21@ == 2
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_6339
19@ = Stat.GetFloat(StatId.Stamina)
19@ /= 200.0
if 
  0.0 > 19@
goto_if_false @GYMBIKE_3235
19@ = 0.0

:GYMBIKE_3235
cset_var_int_to_lvar_float $expedalsy =# 19@
set_var_int_to_var_int $bike_pedals_z = $bike_TIMERC
sub_int_var_from_int_var $bike_pedals_z -= $expedalsy
if 
  14@ == 0.0
goto_if_false @GYMBIKE_3412
if 
  23@ == 0
goto_if_false @GYMBIKE_3412
Task.PlayAnim($stattreadstamina_ctr, "GYM_BIKE_STILL", "GYMNASIUM", 4.0, True, False, False, True, -1)
Object.PlayAnim($expedalsx, "PEDALS_STILL", "GYMNASIUM", 4.0, True, -1)
24@ = 0
25@ = 0
26@ = 0
23@ = 1

:GYMBIKE_3412
if 
  24@ == 0
goto_if_false @GYMBIKE_3570
if and
  3 > $bike_pedals_z
  14@ <> 0.0
goto_if_false @GYMBIKE_3570
Task.PlayAnim($stattreadstamina_ctr, "GYM_BIKE_SLOW", "GYMNASIUM", 4.0, True, False, False, True, -1)
Object.PlayAnim($expedalsx, "PEDALS_SLOW", "GYMNASIUM", 4.0, True, -1)
24@ = 1
25@ = 0
26@ = 0
23@ = 0

:GYMBIKE_3570
if 
  25@ == 0
goto_if_false @GYMBIKE_3734
if and
  $bike_pedals_z > 2
  7 > $bike_pedals_z
  14@ <> 0.0
goto_if_false @GYMBIKE_3734
Task.PlayAnim($stattreadstamina_ctr, "GYM_BIKE_FAST", "GYMNASIUM", 4.0, True, False, False, True, -1)
Object.PlayAnim($expedalsx, "PEDALS_MED", "GYMNASIUM", 4.0, True, -1)
24@ = 0
26@ = 0
25@ = 1
23@ = 0

:GYMBIKE_3734
if 
  26@ == 0
goto_if_false @GYMBIKE_3901
if and
  $bike_pedals_z > 6
  11 > $bike_pedals_z
  14@ <> 0.0
goto_if_false @GYMBIKE_3901
Task.PlayAnim($stattreadstamina_ctr, "GYM_BIKE_FASTER", "GYMNASIUM", 4.0, True, False, False, True, -1)
Object.PlayAnim($expedalsx, "PEDALS_FAST", "GYMNASIUM", 4.0, True, -1)
24@ = 0
25@ = 0
26@ = 1
23@ = 0

:GYMBIKE_3901
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @GYMBIKE_4039
if 
  27@ == 0
goto_if_false @GYMBIKE_4039
if and
  $bike_TIMERC > 0
  10 > $bike_TIMERC
goto_if_false @GYMBIKE_4039
$bike_TIMERC += 1
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMBIKE_3991
Audio.ReportMissionAudioEventAtObject(0@, 1116)

:GYMBIKE_3991
14@ -= 20.0
if 
  0.0 > 14@
goto_if_false @GYMBIKE_4032
14@ = 0.0

:GYMBIKE_4032
27@ = 1

:GYMBIKE_4039
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @GYMBIKE_4136
if 
  27@ == 0
goto_if_false @GYMBIKE_4136
if and
  $bike_TIMERC > 1
  11 > $bike_TIMERC
goto_if_false @GYMBIKE_4136
$bike_TIMERC -= 1
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMBIKE_4129
Audio.ReportMissionAudioEventAtObject(0@, 1116)

:GYMBIKE_4129
27@ = 2

:GYMBIKE_4136
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @GYMBIKE_4178
if 
  27@ == 1
goto_if_false @GYMBIKE_4178
27@ = 0

:GYMBIKE_4178
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @GYMBIKE_4220
if 
  27@ == 2
goto_if_false @GYMBIKE_4220
27@ = 0

:GYMBIKE_4220
if 
  $bike_TIMERC == 1
goto_if_false @GYMBIKE_4248
17@ = 6.5

:GYMBIKE_4248
if 
  $bike_TIMERC == 2
goto_if_false @GYMBIKE_4276
17@ = 5.9

:GYMBIKE_4276
if 
  $bike_TIMERC == 3
goto_if_false @GYMBIKE_4304
17@ = 5.0

:GYMBIKE_4304
if 
  $bike_TIMERC == 4
goto_if_false @GYMBIKE_4332
17@ = 4.3

:GYMBIKE_4332
if 
  $bike_TIMERC == 5
goto_if_false @GYMBIKE_4360
17@ = 3.7

:GYMBIKE_4360
if 
  $bike_TIMERC == 6
goto_if_false @GYMBIKE_4388
17@ = 2.9

:GYMBIKE_4388
if 
  $bike_TIMERC == 7
goto_if_false @GYMBIKE_4416
17@ = 2.2

:GYMBIKE_4416
if 
  $bike_TIMERC == 8
goto_if_false @GYMBIKE_4444
17@ = 1.5

:GYMBIKE_4444
if 
  $bike_TIMERC == 9
goto_if_false @GYMBIKE_4472
17@ = 1.1

:GYMBIKE_4472
if 
  $bike_TIMERC == 10
goto_if_false @GYMBIKE_4500
17@ = 0.7

:GYMBIKE_4500
if 
  14@ >= 0.0
goto_if_false @GYMBIKE_4552
if 
  10.0 >= 14@
goto_if_false @GYMBIKE_4552
18@ = 0.9

:GYMBIKE_4552
if 
  14@ >= 11.0
goto_if_false @GYMBIKE_4604
if 
  20.0 >= 14@
goto_if_false @GYMBIKE_4604
18@ = 1.0

:GYMBIKE_4604
if 
  14@ >= 21.0
goto_if_false @GYMBIKE_4656
if 
  30.0 >= 14@
goto_if_false @GYMBIKE_4656
18@ = 1.1

:GYMBIKE_4656
if 
  14@ >= 31.0
goto_if_false @GYMBIKE_4708
if 
  40.0 >= 14@
goto_if_false @GYMBIKE_4708
18@ = 1.2

:GYMBIKE_4708
if 
  14@ >= 41.0
goto_if_false @GYMBIKE_4760
if 
  50.0 >= 14@
goto_if_false @GYMBIKE_4760
18@ = 1.3

:GYMBIKE_4760
if 
  14@ >= 51.0
goto_if_false @GYMBIKE_4812
if 
  60.0 >= 14@
goto_if_false @GYMBIKE_4812
18@ = 1.4

:GYMBIKE_4812
if 
  14@ >= 61.0
goto_if_false @GYMBIKE_4864
if 
  70.0 >= 14@
goto_if_false @GYMBIKE_4864
18@ = 1.5

:GYMBIKE_4864
if 
  14@ >= 71.0
goto_if_false @GYMBIKE_4916
if 
  80.0 >= 14@
goto_if_false @GYMBIKE_4916
18@ = 1.6

:GYMBIKE_4916
if 
  14@ >= 81.0
goto_if_false @GYMBIKE_4968
if 
  90.0 >= 14@
goto_if_false @GYMBIKE_4968
18@ = 1.7

:GYMBIKE_4968
if 
  14@ >= 91.0
goto_if_false @GYMBIKE_5020
if 
  100.0 >= 14@
goto_if_false @GYMBIKE_5020
18@ = 1.8

:GYMBIKE_5020
if and
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BIKE_SLOW")
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_5079
Char.SetAnimSpeed($stattreadstamina_ctr, "GYM_BIKE_SLOW", 18@)

:GYMBIKE_5079
if and
  Object.IsPlayingAnim($expedalsx, "PEDALS_SLOW")
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_5134
Object.SetAnimSpeed($expedalsx, "PEDALS_SLOW", 18@)

:GYMBIKE_5134
if and
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BIKE_FAST")
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_5193
Char.SetAnimSpeed($stattreadstamina_ctr, "GYM_BIKE_FAST", 18@)

:GYMBIKE_5193
if and
  Object.IsPlayingAnim($expedalsx, "PEDALS_MED")
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_5246
Object.SetAnimSpeed($expedalsx, "PEDALS_MED", 18@)

:GYMBIKE_5246
if and
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BIKE_FASTER")
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_5309
Char.SetAnimSpeed($stattreadstamina_ctr, "GYM_BIKE_FASTER", 18@)

:GYMBIKE_5309
if and
  Object.IsPlayingAnim($expedalsx, "PEDALS_FAST")
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_5364
Object.SetAnimSpeed($expedalsx, "PEDALS_FAST", 18@)

:GYMBIKE_5364
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMBIKE_5898
if 
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMBIKE_5422
$cutscene_skip_CUT = 0.0

:GYMBIKE_5422
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_5898

:GYMBIKE_5438
Pad.Shake(PadId.Pad1, 1, 1)
Stat.IncrementInt(StatId.DistExerciseBike, $temp_ply_z)
set_lvar_int_to_lvar_int 31@ = TIMERB
31@ /= 1000
Stat.IncrementInt(StatId.LongestExerciseBikeTime, 31@)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_5579
Task.PlayAnim($stattreadstamina_ctr, "GYM_BIKE_GETOFF", "GYMNASIUM", 4.0, False, False, False, False, -1)
Object.PlayAnim($expedalsx, "PEDALS_STILL", "GYMNASIUM", 4.0, False, -1)

:GYMBIKE_5579
21@ = 0
22@ = 0
23@ = 0
24@ = 0
25@ = 0
26@ = 0
27@ = 0
20@ = 0
$reptread_flag = 0
$bike_TIMERC = 0
$temp_ply_z = 0
$bike_speed_level = 0.0
$bike_pedals = 0.0
$distanceon_bikefloat = 0
14@ = 0.0
$flag_player_on_oddjob = Stat.GetFloat(StatId.Fat)
if 
  0.0 >= $flag_player_on_oddjob
goto_if_false @GYMBIKE_5730
Stat.SetFloat(StatId.Fat, 0.0)

:GYMBIKE_5730
if 
  Object.DoesExist(0@)
goto_if_false @GYMBIKE_5753
Object.SetCollision(0@, True)

:GYMBIKE_5753
$upperbodymusclestat_gym = 0
$powerbar = 0
$inclinebutton_flag = 0
Streaming.RemoveAnimation("GYMNASIUM")
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Hud.ClearCounter($distanceon_bikefloat)
Hud.ClearCounter($bike_TIMERC)
Hud.ClearCounter($temp_ply_z)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, False)
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBIKE_5842
Player.SetControl($statbike_temp, True)

:GYMBIKE_5842
28@ = 1
Menu.Delete($ply_exbikey)
Text.ClearHelp
Player.SetControl($statbike_temp, True)
Char.SetCollision($stattreadstamina_ctr, True)

:GYMBIKE_5870
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMBIKE_5898
wait 0
goto @GYMBIKE_5870

:GYMBIKE_5898
if 
  Object.DoesExist(0@)
goto_if_false @GYMBIKE_6023
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMBIKE_6023
if 
  14@ > 10.0
goto_if_false @GYMBIKE_5990
if 
  $weightbp == 0
goto_if_false @GYMBIKE_5983
Audio.ReportMissionAudioEventAtObject(0@, 1113)
$weightbp = 1

:GYMBIKE_5983
goto @GYMBIKE_6023

:GYMBIKE_5990
if 
  $weightbp == 1
goto_if_false @GYMBIKE_6023
Audio.ReportMissionAudioEventAtObject(0@, 1114)
$weightbp = 0

:GYMBIKE_6023
if 
  TIMERA > 250
goto_if_false @GYMBIKE_6339
TIMERA -= 250
set_var_float_to_lvar_float $bike_pedals = 14@
$bike_pedals /= 10.0
cset_var_float_to_var_int $gf_game_timer =# $bike_TIMERC
$gf_game_timer /= 10.0
$gf_game_timer += 1.0
mult_float_var_by_float_var $gf_game_timer *= $bike_pedals
add_float_var_to_float_var $stattreadlowmuscle_ctr += $gf_game_timer
if 
  $stattreadlowmuscle_ctr >= 400.0
goto_if_false @GYMBIKE_6257
$stattreadlowmuscle_ctr -= 400.0
$flag_player_on_oddjob = Stat.GetFloat(StatId.Fat)
if 
  $flag_player_on_oddjob >= 1.0
goto_if_false @GYMBIKE_6180
Stat.DecrementFloat(StatId.Fat, 8.0)

:GYMBIKE_6180
if 
  $bpress_resistance == 3
goto_if_false @GYMBIKE_6231
$bpress_resistance = 0
Stat.IncrementFloat(StatId.Stamina, 4.0)
$cutscene_skip_CUT += 4.0
goto @GYMBIKE_6257

:GYMBIKE_6231
Stat.IncrementFloatNoMessage(StatId.Stamina, 4.0)
$cutscene_skip_CUT += 4.0
$bpress_resistance += 1

:GYMBIKE_6257
if 
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMBIKE_6302
$burglary_female_decision, $burglary_gang_decision = Clock.GetCurrentDate()
Text.PrintNow('GYM1_1B', 4000, 1)

:GYMBIKE_6302
if 
  $temp_ply_z < 999999
goto_if_false @GYMBIKE_6339
add_float_var_to_float_var $bike_speed_level += $bike_pedals
cset_var_int_to_var_float $temp_ply_z =# $bike_speed_level

:GYMBIKE_6339
$levelbar_bike_1 += 1
set_var_int_to_var_int $bench_txt = $distanceon_bikefloat
$bench_txt -= 100
if 
  $bench_txt > -40
goto_if_false @GYMBIKE_6386
$bench_txt = -40

:GYMBIKE_6386
if 
  is_int_var_greater_or_equal_to_int_var $levelbar_bike_1 >= $bench_txt
goto_if_false @GYMBIKE_6435
$levelbar_bike_1 = 0
$distanceon_bikefloat *= 12
$distanceon_bikefloat /= 10
Pad.Shake(PadId.Pad1, 100, $distanceon_bikefloat)

:GYMBIKE_6435
cset_var_int_to_lvar_float $distanceon_bikefloat =# 14@

:GYMBIKE_6443
goto @GYMBIKE_960
terminate_this_script 

//-------------External script 12 (GYMBENCH)---------------

:GYMBENC
script_name 'GYMBENC'
$bench_has_KD = 0.0
$speed_treadbar = 0.0
$temp_muscle_stat = 2
$main_menu_tread = 0
23@ = 0
24@ = 0
25@ = 0
26@ = 0
27@ = 0
$bench_sfx = 0
$lowerbodymusclestat_gym = 0.0
$are_anims_loaded = 0.0
$playerexercising_flag = 0.0
$starttreadmill_flag = 0.0
21@ = 1
$bench_audio = 0
$bench_weight = 0
22@ = 0
29@ = 0
TIMERA = 0
TIMERB = 0
if 
  29@ == 1
goto_if_false @GYMBENC_217
0@ = Object.CreateNoOffset(#BEACHTOWEL01, 0.0, 0.0, 0.0)

:GYMBENC_217
if 
  Object.DoesExist(0@)
goto_if_false @GYMBENC_277
5@, 6@, 7@ = Object.GetCoordinates(0@)
8@, 9@, 10@ = Object.GetCoordinates(0@)
11@ = Object.GetHeading(0@)
3@ = Object.GetHeading(0@)

:GYMBENC_277
1@ = 0.0
2@ = 0.0
12@ = 0.0
13@ = 0.0
14@ = 0.0
21@ = 1
$bench_audio = 0
set_lvar_float_to_lvar_float 14@ = 7@
14@ += 1.7
3@ -= 180.0
set_lvar_float_to_lvar_float 4@ = 3@
4@ -= 270.0
1@ = Math.Sin(4@)
2@ = Math.Cos(4@)
1@ *= 1.0
2@ *= 1.0
add_float_lvar_to_float_lvar 5@ += 2@
add_float_lvar_to_float_lvar 6@ += 1@
1@ *= 3.0
2@ *= 3.0
set_lvar_float_to_lvar_float 12@ = 5@
add_float_lvar_to_float_lvar 12@ += 2@
set_lvar_float_to_lvar_float 13@ = 6@
add_float_lvar_to_float_lvar 13@ += 1@
11@ += 90.0
1@ = Math.Sin(11@)
2@ = Math.Cos(11@)
1@ *= 1.0
2@ *= 1.0
sub_float_lvar_from_float_lvar 8@ -= 2@
sub_float_lvar_from_float_lvar 9@ -= 1@
30@ = Object.Create(#KMB_BPRESS, 8@, 9@, 10@)
Object.AttachToObject(30@, 0@, -0.45, 0.45, 0.9, 90.0, 180.0, 270.0)
3@ -= 180.0
$bike_TIMERC = 1
$inclinebutton_flag = 0

:GYMBENC_632
wait 0
if 
  not Object.DoesExist(0@)
goto_if_false @GYMBENC_659
Object.Delete(30@)
terminate_this_script 

:GYMBENC_659
if 
  not Object.IsWithinBrainActivationRange(0@)
goto_if_false @GYMBENC_682
Object.Delete(30@)
terminate_this_script 

:GYMBENC_682
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GYMBENC_8195
if and
  $reptread_flag == 0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_1102
if and
  23@ == 0
  not Player.IsUsingJetpack($statbike_temp)
goto_if_false @GYMBENC_1102
if 
  27@ == 0
goto_if_false @GYMBENC_1061
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 5@, 6@, 7@, 1.2, 1.2, 4.0, False)
goto_if_false @GYMBENC_1027
if 
  22@ == 0
goto_if_false @GYMBENC_840
Text.PrintHelpForever('GYM1_81')
22@ = 1

:GYMBENC_840
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @GYMBENC_1020
if or
  $weapon_shop1_blip == 0
  $switch_the_gym_interiors_off == 1
goto_if_false @GYMBENC_1004
$gym_day_fitness, $burglary_male_decision = Clock.GetCurrentDate()
if or
  is_int_var_greater_than_int_var $gym_day_fitness > $burglary_female_decision
  is_int_var_greater_than_int_var $burglary_male_decision > $burglary_gang_decision
goto_if_false @GYMBENC_981
23@ = 1
$reptread_flag = 1
Player.SetControl($statbike_temp, False)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 5@, 6@, 7@)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.SetHeading($stattreadstamina_ctr, 3@)
$levelbar_bike = 0
goto @GYMBENC_997

:GYMBENC_981
Text.PrintNow('GYM1_1A', 4000, 1)

:GYMBENC_997
goto @GYMBENC_1020

:GYMBENC_1004
Text.PrintNow('GYM1_90', 4000, 1)

:GYMBENC_1020
goto @GYMBENC_1054

:GYMBENC_1027
if 
  22@ == 1
goto_if_false @GYMBENC_1054
Text.ClearHelp
22@ = 0

:GYMBENC_1054
goto @GYMBENC_1102

:GYMBENC_1061
if 
  not Char.LocateOnFoot2D($stattreadstamina_ctr, 5@, 6@, 2.0, 2.0, False)
goto_if_false @GYMBENC_1102
27@ = 0

:GYMBENC_1102
if 
  23@ == 1
goto_if_false @GYMBENC_1210
if 
  $inclinebutton_flag == 0
goto_if_false @GYMBENC_1210
Streaming.RequestAnimation("BENCHPRESS")
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1820)

:GYMBENC_1163
if or
  not Streaming.HasAnimationLoaded("BENCHPRESS")
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMBENC_1203
wait 0
goto @GYMBENC_1163

:GYMBENC_1203
$inclinebutton_flag = 1

:GYMBENC_1210
if and
  23@ == 1
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_8195
if 
  $reptread_flag == 1
goto_if_false @GYMBENC_1329
Char.SetCollision($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, False)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 5@, 6@, 7@)
Camera.SetFixedPosition(12@, 13@, 14@, 0.0, 0.0, 0.0)
Char.SetHeading($stattreadstamina_ctr, 3@)
Camera.PointAtChar($stattreadstamina_ctr, CameraMode.Fixed, SwitchType.JumpCut)
$reptread_flag = 2

:GYMBENC_1329
if and
  $reptread_flag == 2
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_2669
Text.PrintHelpForever('GYM1_71')
if or
  $flag_hhiker_trigger == 4
  $flag_hhiker_trigger == 2
goto_if_false @GYMBENC_1556
$reps_bpress = Menu.Create('GYM1_E', 31.0, 180.0, 184.0, 1, True, True, 0)
Menu.SetColumn($reps_bpress, 0, 'GYM1_72', 'GYM1_8', 'GYM1_9', 'GYM1_10', 'GYM1_11', 'GYM1_12', 'GYM1_13', 'GYM1_14', 'GYM1_15', 'GYM1_16', 'GYM1_17', 'DUMMY', 'DUMMY')
goto @GYMBENC_1717

:GYMBENC_1556
$reps_bpress = Menu.Create('GYM1_E', 31.0, 150.0, 184.0, 1, True, True, 0)
Menu.SetColumn($reps_bpress, 0, 'GYM1_72', 'GYM1_8', 'GYM1_9', 'GYM1_10', 'GYM1_11', 'GYM1_12', 'GYM1_13', 'GYM1_14', 'GYM1_15', 'GYM1_16', 'GYM1_17', 'DUMMY', 'DUMMY')

:GYMBENC_1717
Menu.SetActiveItem($reps_bpress, 0)

:GYMBENC_1724
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_1946
wait 0
$levelbar_bike += 1
if 
is_japanese_version 
goto_if_false @GYMBENC_1855
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  $levelbar_bike > 20
goto_if_false @GYMBENC_1802
Text.ClearHelp
Menu.Delete($reps_bpress)
goto @GYMBENC_7450

:GYMBENC_1802
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @GYMBENC_1848
Text.ClearHelp
21@ = Menu.GetItemSelected($reps_bpress)
21@ += 1
Menu.Delete($reps_bpress)
goto @GYMBENC_1946

:GYMBENC_1848
goto @GYMBENC_1939

:GYMBENC_1855
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  $levelbar_bike > 20
goto_if_false @GYMBENC_1893
Text.ClearHelp
Menu.Delete($reps_bpress)
goto @GYMBENC_7450

:GYMBENC_1893
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMBENC_1939
Text.ClearHelp
21@ = Menu.GetItemSelected($reps_bpress)
21@ += 1
Menu.Delete($reps_bpress)
goto @GYMBENC_1946

:GYMBENC_1939
goto @GYMBENC_1724

:GYMBENC_1946
if 
  21@ == 1
goto_if_false @GYMBENC_1984
$temp_bench_weight = 1.0
20@ = 5.0

:GYMBENC_1984
if 
  21@ == 2
goto_if_false @GYMBENC_2022
20@ = 5.2
$temp_bench_weight = 2.0

:GYMBENC_2022
if 
  21@ == 3
goto_if_false @GYMBENC_2060
20@ = 5.3
$temp_bench_weight = 3.0

:GYMBENC_2060
if 
  21@ == 4
goto_if_false @GYMBENC_2098
20@ = 5.5
$temp_bench_weight = 4.0

:GYMBENC_2098
if 
  21@ == 5
goto_if_false @GYMBENC_2136
20@ = 6.0
$temp_bench_weight = 5.0

:GYMBENC_2136
if 
  21@ == 6
goto_if_false @GYMBENC_2174
20@ = 6.5
$temp_bench_weight = 6.0

:GYMBENC_2174
if 
  21@ == 7
goto_if_false @GYMBENC_2212
20@ = 7.0
$temp_bench_weight = 7.0

:GYMBENC_2212
if 
  21@ == 8
goto_if_false @GYMBENC_2250
20@ = 7.5
$temp_bench_weight = 8.0

:GYMBENC_2250
if 
  21@ == 9
goto_if_false @GYMBENC_2288
20@ = 8.0
$temp_bench_weight = 9.0

:GYMBENC_2288
if 
  21@ == 10
goto_if_false @GYMBENC_2326
20@ = 8.5
$temp_bench_weight = 10.0

:GYMBENC_2326
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_2388
Task.PlayAnim($stattreadstamina_ctr, "GYM_BP_GETON", "BENCHPRESS", 4.0, False, False, False, True, -1)

:GYMBENC_2388
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_2662
if and
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BP_GETON")
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_2662
$lowerbodymusclestat_gym = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_GETON")

:GYMBENC_2465
if 
  $lowerbodymusclestat_gym <= 0.75
goto_if_false @GYMBENC_2535
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_2528
$lowerbodymusclestat_gym = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_GETON")

:GYMBENC_2528
goto @GYMBENC_2465

:GYMBENC_2535
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMBENC_2558
Audio.ReportMissionAudioEventAtObject(0@, 1117)

:GYMBENC_2558
Object.FreezePosition(30@, False)
Object.Detach(30@, 0.0, 0.0, 0.0, False)
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_2648
Task.PickUpObject($stattreadstamina_ctr, 30@, 0.0, 0.0, -0.1, 6, 16, "NULL", "NULL", -1)

:GYMBENC_2648
$reptread_flag = 4
TIMERA = 0

:GYMBENC_2662
$reptread_flag = 4

:GYMBENC_2669
if and
  $reptread_flag == 4
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_3347
if 
  $bench_weight == 0
goto_if_false @GYMBENC_2730
Text.ClearHelp
Text.PrintHelpForever('GYM1_37')
$bench_weight = 1

:GYMBENC_2730
if and
  TIMERA > 6000
  $bench_weight == 1
goto_if_false @GYMBENC_2776
Text.ClearHelp
Text.PrintHelpForever('GYM1_25')
$bench_weight = 2

:GYMBENC_2776
if and
  TIMERA > 9000
  $bench_weight == 2
goto_if_false @GYMBENC_2811
Text.ClearHelp
$bench_weight = 101

:GYMBENC_2811
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BP_GETON")
goto_if_false @GYMBENC_2898
$bar_animvalue = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_GETON")
if 
  $bar_animvalue == 1.0
goto_if_false @GYMBENC_2891
goto @GYMBENC_2952

:GYMBENC_2891
goto @GYMBENC_3347

:GYMBENC_2898
if and
  $powerbar == 1
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_3347
$bench_audio = 0
$tempfloat_gym = 0
Hud.ClearCounter($bench_audio)
Hud.ClearCounter($tempfloat_gym)
goto @GYMBENC_2952

:GYMBENC_2952
$diffgym = Stat.GetFloat(StatId.BodyMuscle)
$diffgym /= 30.0
if 
  0.0 > $diffgym
goto_if_false @GYMBENC_3000
$diffgym = 0.0

:GYMBENC_3000
set_var_float_to_var_float $bench_has_KD = $diffgym
$bench_has_KD += 30.0
if 
  $bench_has_KD > 75.0
goto_if_false @GYMBENC_3049
$bench_has_KD = 75.0

:GYMBENC_3049
cset_lvar_float_to_var_int 19@ =# $bench_audio
set_var_float_to_var_float $animframe_freegetoff = $bench_has_KD
sub_float_var_from_float_var $animframe_freegetoff -= $temp_bench_weight
if 
  18.0 >= $animframe_freegetoff
goto_if_false @GYMBENC_3139
Task.PlayAnim($stattreadstamina_ctr, "GYM_BP_UP_B", "BENCHPRESS", 8.0, False, False, False, True, -1)

:GYMBENC_3139
if 
  $animframe_freegetoff > 18.0
goto_if_false @GYMBENC_3226
if 
  24.0 >= $animframe_freegetoff
goto_if_false @GYMBENC_3226
Task.PlayAnim($stattreadstamina_ctr, "GYM_BP_UP_A", "BENCHPRESS", 8.0, False, False, False, True, -1)

:GYMBENC_3226
if 
  $animframe_freegetoff > 24.0
goto_if_false @GYMBENC_3297
Task.PlayAnim($stattreadstamina_ctr, "GYM_BP_UP_SMOOTH", "BENCHPRESS", 8.0, False, False, False, True, -1)

:GYMBENC_3297
Hud.DisplayNthCounterWithString($tempfloat_gym, CounterDisplay.Bar, 1, 'GYM1_1')
Hud.DisplayNthCounterWithString($bench_audio, CounterDisplay.Number, 2, 'GYM1_2')
$upperbodymusclestat_gym = 1
$reptread_flag = 5

:GYMBENC_3347
if and
  $reptread_flag == 5
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_7058
$diffgym = Stat.GetFloat(StatId.BodyMuscle)
$diffgym /= 30.0
if 
  0.0 > $diffgym
goto_if_false @GYMBENC_3418
$diffgym = 0.0

:GYMBENC_3418
set_var_float_to_var_float $bench_has_KD = $diffgym
$bench_has_KD += 20.0
if 
  $bench_has_KD > 75.0
goto_if_false @GYMBENC_3467
$bench_has_KD = 75.0

:GYMBENC_3467
if 
  $bench_weight == 0
goto_if_false @GYMBENC_3505
Text.ClearHelp
Text.PrintHelpForever('GYM1_37')
$bench_weight = 1

:GYMBENC_3505
if and
  TIMERA > 6000
  $bench_weight == 1
goto_if_false @GYMBENC_3551
Text.ClearHelp
Text.PrintHelpForever('GYM1_25')
$bench_weight = 2

:GYMBENC_3551
if and
  TIMERA > 9000
  $bench_weight == 2
goto_if_false @GYMBENC_3586
Text.ClearHelp
$bench_weight = 101

:GYMBENC_3586
if or
  $upperbodymusclestat_gym == 1
  $upperbodymusclestat_gym == 3
goto_if_false @GYMBENC_3619
sub_float_var_from_float_lvar 18@ -= $temp_bench_weight

:GYMBENC_3619
if 
  $upperbodymusclestat_gym == 4
goto_if_false @GYMBENC_3647
18@ -= 4.0

:GYMBENC_3647
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMBENC_3689
if 
  26@ == 1
goto_if_false @GYMBENC_3689
26@ = 2

:GYMBENC_3689
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @GYMBENC_3731
if 
  26@ == 3
goto_if_false @GYMBENC_3731
26@ = 0

:GYMBENC_3731
if or
  $upperbodymusclestat_gym == 1
  $upperbodymusclestat_gym == 3
goto_if_false @GYMBENC_3868
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  not Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @GYMBENC_3812
if 
  26@ == 0
goto_if_false @GYMBENC_3812
add_float_var_to_float_lvar 18@ += $bench_has_KD
26@ = 1

:GYMBENC_3812
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMBENC_3868
if 
  26@ == 2
goto_if_false @GYMBENC_3868
add_float_var_to_float_lvar 18@ += $bench_has_KD
26@ = 3

:GYMBENC_3868
if 
  0.0 > 18@
goto_if_false @GYMBENC_3899
18@ = 0.0

:GYMBENC_3899
if 
  18@ > 25.0
goto_if_false @GYMBENC_3931
$tread_txt = Char.SetSayContext($stattreadstamina_ctr, 349)

:GYMBENC_3931
if 
  18@ >= 100.0
goto_if_false @GYMBENC_3987
18@ = 100.0
if 
  $upperbodymusclestat_gym == 1
goto_if_false @GYMBENC_3987
$upperbodymusclestat_gym = 2

:GYMBENC_3987
if and
  $upperbodymusclestat_gym == 2
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_4052
if 
  $animationtobeplayed == 1.0
goto_if_false @GYMBENC_4052
26@ = 0
$upperbodymusclestat_gym = 3
TIMERB = 0

:GYMBENC_4052
if and
  $upperbodymusclestat_gym == 3
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_6152
switch_start 21@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @GYMBENC_4348 {caseNum1} 1 {caseLabel1} @GYMBENC_4203 {caseNum2} 2 {caseLabel2} @GYMBENC_4217 {caseNum3} 3 {caseLabel3} @GYMBENC_4231 {caseNum4} 4 {caseLabel4} @GYMBENC_4245 {caseNum5} 5 {caseLabel5} @GYMBENC_4259 {caseNum6} 6 {caseLabel6} @GYMBENC_4273 {caseNum7} 7 {caseLabel7} @GYMBENC_4288
switch_continued 8 {caseLabel1} @GYMBENC_4303 {caseNum2} 9 {caseLabel2} @GYMBENC_4318 {caseNum3} 10 {caseLabel3} @GYMBENC_4333 {caseNum4} -1 {caseLabel4} @GYMBENC_4348 {caseNum5} -1 {caseLabel5} @GYMBENC_4348 {caseNum6} -1 {caseLabel6} @GYMBENC_4348 {caseNum7} -1 {caseLabel7} @GYMBENC_4348 {caseNum8} -1 {caseLabel8} @GYMBENC_4348 {caseNum9} -1 {caseLabel9} @GYMBENC_4348

:GYMBENC_4203
$bench_playing = 40
goto @GYMBENC_4348

:GYMBENC_4217
$bench_playing = 60
goto @GYMBENC_4348

:GYMBENC_4231
$bench_playing = 80
goto @GYMBENC_4348

:GYMBENC_4245
$bench_playing = 100
goto @GYMBENC_4348

:GYMBENC_4259
$bench_playing = 120
goto @GYMBENC_4348

:GYMBENC_4273
$bench_playing = 160
goto @GYMBENC_4348

:GYMBENC_4288
$bench_playing = 200
goto @GYMBENC_4348

:GYMBENC_4303
$bench_playing = 240
goto @GYMBENC_4348

:GYMBENC_4318
$bench_playing = 280
goto @GYMBENC_4348

:GYMBENC_4333
$bench_playing = 320
goto @GYMBENC_4348

:GYMBENC_4348
$play_bench_once = Stat.GetInt(StatId.HeaviestWeightBenchPress)
if 
  is_int_var_greater_than_int_var $bench_playing > $play_bench_once
goto_if_false @GYMBENC_4381
Stat.SetInt(StatId.HeaviestWeightBenchPress, $bench_playing)

:GYMBENC_4381
Pad.Shake(PadId.Pad1, 200, 200)
if 
  $bench_audio < 999999
goto_if_false @GYMBENC_4419
$bench_audio += 1

:GYMBENC_4419
$speed_treadbar = Stat.GetFloat(StatId.BodyMuscle)
if 
  1000.0 > $speed_treadbar
goto_if_false @GYMBENC_4727
if 
  21@ == 1
goto_if_false @GYMBENC_4475
20@ = 1.0

:GYMBENC_4475
if 
  21@ == 2
goto_if_false @GYMBENC_4503
20@ = 1.2

:GYMBENC_4503
if 
  21@ == 3
goto_if_false @GYMBENC_4531
20@ = 1.3

:GYMBENC_4531
if 
  21@ == 4
goto_if_false @GYMBENC_4559
20@ = 1.5

:GYMBENC_4559
if 
  21@ == 5
goto_if_false @GYMBENC_4587
20@ = 2.0

:GYMBENC_4587
if 
  21@ == 6
goto_if_false @GYMBENC_4615
20@ = 2.5

:GYMBENC_4615
if 
  21@ == 7
goto_if_false @GYMBENC_4643
20@ = 3.0

:GYMBENC_4643
if 
  21@ == 8
goto_if_false @GYMBENC_4671
20@ = 4.0

:GYMBENC_4671
if 
  21@ == 9
goto_if_false @GYMBENC_4699
20@ = 5.0

:GYMBENC_4699
if 
  21@ == 10
goto_if_false @GYMBENC_4727
20@ = 6.0

:GYMBENC_4727
if 
  800.0 > $speed_treadbar
goto_if_false @GYMBENC_5028
if 
  21@ == 1
goto_if_false @GYMBENC_4776
20@ = 2.0

:GYMBENC_4776
if 
  21@ == 2
goto_if_false @GYMBENC_4804
20@ = 2.2

:GYMBENC_4804
if 
  21@ == 3
goto_if_false @GYMBENC_4832
20@ = 2.3

:GYMBENC_4832
if 
  21@ == 4
goto_if_false @GYMBENC_4860
20@ = 2.5

:GYMBENC_4860
if 
  21@ == 5
goto_if_false @GYMBENC_4888
20@ = 3.0

:GYMBENC_4888
if 
  21@ == 6
goto_if_false @GYMBENC_4916
20@ = 3.5

:GYMBENC_4916
if 
  21@ == 7
goto_if_false @GYMBENC_4944
20@ = 4.0

:GYMBENC_4944
if 
  21@ == 8
goto_if_false @GYMBENC_4972
20@ = 5.0

:GYMBENC_4972
if 
  21@ == 9
goto_if_false @GYMBENC_5000
20@ = 6.0

:GYMBENC_5000
if 
  21@ == 10
goto_if_false @GYMBENC_5028
20@ = 7.0

:GYMBENC_5028
if 
  600.0 > $speed_treadbar
goto_if_false @GYMBENC_5329
if 
  21@ == 1
goto_if_false @GYMBENC_5077
20@ = 3.0

:GYMBENC_5077
if 
  21@ == 2
goto_if_false @GYMBENC_5105
20@ = 3.2

:GYMBENC_5105
if 
  21@ == 3
goto_if_false @GYMBENC_5133
20@ = 3.3

:GYMBENC_5133
if 
  21@ == 4
goto_if_false @GYMBENC_5161
20@ = 3.5

:GYMBENC_5161
if 
  21@ == 5
goto_if_false @GYMBENC_5189
20@ = 4.0

:GYMBENC_5189
if 
  21@ == 6
goto_if_false @GYMBENC_5217
20@ = 4.5

:GYMBENC_5217
if 
  21@ == 7
goto_if_false @GYMBENC_5245
20@ = 5.0

:GYMBENC_5245
if 
  21@ == 8
goto_if_false @GYMBENC_5273
20@ = 6.0

:GYMBENC_5273
if 
  21@ == 9
goto_if_false @GYMBENC_5301
20@ = 7.0

:GYMBENC_5301
if 
  21@ == 10
goto_if_false @GYMBENC_5329
20@ = 8.0

:GYMBENC_5329
if 
  400.0 > $speed_treadbar
goto_if_false @GYMBENC_5630
if 
  21@ == 1
goto_if_false @GYMBENC_5378
20@ = 4.0

:GYMBENC_5378
if 
  21@ == 2
goto_if_false @GYMBENC_5406
20@ = 4.2

:GYMBENC_5406
if 
  21@ == 3
goto_if_false @GYMBENC_5434
20@ = 4.3

:GYMBENC_5434
if 
  21@ == 4
goto_if_false @GYMBENC_5462
20@ = 4.5

:GYMBENC_5462
if 
  21@ == 5
goto_if_false @GYMBENC_5490
20@ = 5.0

:GYMBENC_5490
if 
  21@ == 6
goto_if_false @GYMBENC_5518
20@ = 5.5

:GYMBENC_5518
if 
  21@ == 7
goto_if_false @GYMBENC_5546
20@ = 6.0

:GYMBENC_5546
if 
  21@ == 8
goto_if_false @GYMBENC_5574
20@ = 7.0

:GYMBENC_5574
if 
  21@ == 9
goto_if_false @GYMBENC_5602
20@ = 8.0

:GYMBENC_5602
if 
  21@ == 10
goto_if_false @GYMBENC_5630
20@ = 9.0

:GYMBENC_5630
if 
  200.0 > $speed_treadbar
goto_if_false @GYMBENC_5931
if 
  21@ == 1
goto_if_false @GYMBENC_5679
20@ = 5.0

:GYMBENC_5679
if 
  21@ == 2
goto_if_false @GYMBENC_5707
20@ = 5.2

:GYMBENC_5707
if 
  21@ == 3
goto_if_false @GYMBENC_5735
20@ = 5.3

:GYMBENC_5735
if 
  21@ == 4
goto_if_false @GYMBENC_5763
20@ = 5.5

:GYMBENC_5763
if 
  21@ == 5
goto_if_false @GYMBENC_5791
20@ = 6.0

:GYMBENC_5791
if 
  21@ == 6
goto_if_false @GYMBENC_5819
20@ = 6.5

:GYMBENC_5819
if 
  21@ == 7
goto_if_false @GYMBENC_5847
20@ = 7.0

:GYMBENC_5847
if 
  21@ == 8
goto_if_false @GYMBENC_5875
20@ = 7.5

:GYMBENC_5875
if 
  21@ == 9
goto_if_false @GYMBENC_5903
20@ = 8.0

:GYMBENC_5903
if 
  21@ == 10
goto_if_false @GYMBENC_5931
20@ = 8.5

:GYMBENC_5931
if 
  $levelbar_tread == 8
goto_if_false @GYMBENC_5978
$levelbar_tread = 0
Stat.IncrementFloat(StatId.BodyMuscle, 20@)
add_float_lvar_to_float_var $cutscene_skip_CUT += 20@
goto @GYMBENC_6000

:GYMBENC_5978
Stat.IncrementFloatNoMessage(StatId.BodyMuscle, 20@)
$levelbar_tread += 1
add_float_lvar_to_float_var $cutscene_skip_CUT += 20@

:GYMBENC_6000
if 
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMBENC_6045
$burglary_female_decision, $burglary_gang_decision = Clock.GetCurrentDate()
Text.PrintNow('GYM1_1B', 4000, 1)

:GYMBENC_6045
$flag_player_on_oddjob = Stat.GetFloat(StatId.Fat)
if 
  $flag_player_on_oddjob >= 1.0
goto_if_false @GYMBENC_6082
Stat.DecrementFloat(StatId.Fat, 1.0)

:GYMBENC_6082
$tempfloat_gym = 0
$tread_txt = Char.SetSayContext($stattreadstamina_ctr, 350)
Task.PlayAnim($stattreadstamina_ctr, "GYM_BP_DOWN", "BENCHPRESS", 8.0, False, False, False, True, -1)
$upperbodymusclestat_gym = 4

:GYMBENC_6152
if and
  $upperbodymusclestat_gym == 4
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_6492
if and
  18@ == 0.0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_6492
if 
  $animationtobeplayed == 0.0
goto_if_false @GYMBENC_6492
cset_lvar_float_to_var_int 19@ =# $bench_audio
set_var_float_to_var_float $animframe_freegetoff = $bench_has_KD
sub_float_var_from_float_var $animframe_freegetoff -= $temp_bench_weight
if and
  18.0 >= $animframe_freegetoff
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_6317
Task.PlayAnim($stattreadstamina_ctr, "GYM_BP_UP_B", "BENCHPRESS", 8.0, False, False, False, True, -1)

:GYMBENC_6317
if and
  $animframe_freegetoff > 18.0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_6409
if 
  24.0 >= $animframe_freegetoff
goto_if_false @GYMBENC_6409
Task.PlayAnim($stattreadstamina_ctr, "GYM_BP_UP_A", "BENCHPRESS", 8.0, False, False, False, True, -1)

:GYMBENC_6409
if and
  $animframe_freegetoff > 24.0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_6485
Task.PlayAnim($stattreadstamina_ctr, "GYM_BP_UP_SMOOTH", "BENCHPRESS", 8.0, False, False, False, True, -1)

:GYMBENC_6485
$upperbodymusclestat_gym = 1

:GYMBENC_6492
set_var_float_to_lvar_float $animframe_bppickup = 18@
$animframe_bppickup /= 100.0
if and
  $upperbodymusclestat_gym > 0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_6871
set_var_float_to_var_float $animframe_bpgetoff = $animframe_bppickup
sub_float_var_from_float_var $animframe_bpgetoff -= $animationtobeplayed
$animframe_bpgetoff /= 2.0
if and
  0.05 > $animframe_bpgetoff
  $animframe_bpgetoff > -0.05
goto_if_false @GYMBENC_6605
set_var_float_to_var_float $animationtobeplayed = $animframe_bppickup
goto @GYMBENC_6613

:GYMBENC_6605
add_float_var_to_float_var $animationtobeplayed += $animframe_bpgetoff

:GYMBENC_6613
if and
  $upperbodymusclestat_gym == 4
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_6711
$animframe_freepickup = 1.0
sub_float_var_from_float_var $animframe_freepickup -= $animationtobeplayed
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BP_DOWN")
goto_if_false @GYMBENC_6704
Char.SetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_DOWN", $animframe_freepickup)

:GYMBENC_6704
goto @GYMBENC_6871

:GYMBENC_6711
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BP_UP_A")
goto_if_false @GYMBENC_6761
Char.SetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_UP_A", $animationtobeplayed)

:GYMBENC_6761
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BP_UP_B")
goto_if_false @GYMBENC_6811
Char.SetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_UP_B", $animationtobeplayed)

:GYMBENC_6811
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BP_UP_SMOOTH")
goto_if_false @GYMBENC_6871
Char.SetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_UP_SMOOTH", $animationtobeplayed)

:GYMBENC_6871
cset_var_int_to_lvar_float $tempfloat_gym =# 18@
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMBENC_7058
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_7058

:GYMBENC_6922
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMBENC_6950
wait 0
goto @GYMBENC_6922

:GYMBENC_6950
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_7013
Task.PlayAnim($stattreadstamina_ctr, "GYM_BP_GETOFF", "BENCHPRESS", 100.0, False, False, False, False, -1)

:GYMBENC_7013
$tempfloat_gym = 0
if 
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMBENC_7051
$cutscene_skip_CUT = 0.0

:GYMBENC_7051
$reptread_flag = 6

:GYMBENC_7058
if and
  $reptread_flag == 6
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_8195
if 
  $bench_audio > 4
goto_if_false @GYMBENC_7715
if and
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BP_GETOFF")
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_7708
$are_anims_loaded = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_GETOFF")

:GYMBENC_7158
if 
  $are_anims_loaded <= 0.26
goto_if_false @GYMBENC_7229
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_7222
$are_anims_loaded = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_GETOFF")

:GYMBENC_7222
goto @GYMBENC_7158

:GYMBENC_7229
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
  $main_menu_tread == 0
goto_if_false @GYMBENC_7266
Audio.ReportMissionAudioEventAtObject(0@, 1117)
$main_menu_tread = 1

:GYMBENC_7266
Char.DropObject($stattreadstamina_ctr, False)
Object.FreezePosition(30@, True)
Object.Delete(30@)
30@ = Object.Create(#KMB_BPRESS, 8@, 9@, 10@)
Object.AttachToObject(30@, 0@, -0.45, 0.45, 0.9, 90.0, 180.0, 270.0)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_7379
$bar_animvalue = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_GETOFF")

:GYMBENC_7379
if 
  $bar_animvalue == 1.0
goto_if_false @GYMBENC_7708
Task.PlayAnim($stattreadstamina_ctr, "GYM_BP_CELEBRATE", "BENCHPRESS", 8.0, False, False, False, False, -1)

:GYMBENC_7450
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_7708
23@ = 0
$upperbodymusclestat_gym = 0
27@ = 1
21@ = 1
$bench_audio = 0
$tempfloat_gym = 0
$animframe_freegetoff = 0.0
$reptread_flag = 0
18@ = 0.0
21@ = 1
$bench_audio = 0
$diffgym = Stat.GetFloat(StatId.BodyMuscle)
if 
  $diffgym >= 1000.0
goto_if_false @GYMBENC_7586
Stat.SetFloat(StatId.BodyMuscle, 1000.0)

:GYMBENC_7586
$flag_player_on_oddjob = Stat.GetFloat(StatId.Fat)
if 
  0.0 >= $flag_player_on_oddjob
goto_if_false @GYMBENC_7623
Stat.SetFloat(StatId.Fat, 0.0)

:GYMBENC_7623
$lowerbodymusclestat_gym = 0.0
$are_anims_loaded = 0.0
Hud.ClearCounter($bench_audio)
Hud.ClearCounter($tempfloat_gym)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Char.SetCollision($stattreadstamina_ctr, True)
Streaming.RemoveAnimation("BENCHPRESS")
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Text.ClearHelp
Menu.Delete($reps_bpress)
$bench_weight = 0
$inclinebutton_flag = 0

:GYMBENC_7708
goto @GYMBENC_8195

:GYMBENC_7715
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_8195
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_BP_GETOFF")
goto_if_false @GYMBENC_8195
$are_anims_loaded = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_GETOFF")

:GYMBENC_7785
if 
  $are_anims_loaded <= 0.26
goto_if_false @GYMBENC_7856
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_7849
$are_anims_loaded = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_GETOFF")

:GYMBENC_7849
goto @GYMBENC_7785

:GYMBENC_7856
if and
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
  $main_menu_tread == 0
goto_if_false @GYMBENC_7893
Audio.ReportMissionAudioEventAtObject(0@, 1117)
$main_menu_tread = 1

:GYMBENC_7893
Char.DropObject($stattreadstamina_ctr, False)
Object.FreezePosition(30@, True)
Object.Delete(30@)
30@ = Object.Create(#KMB_BPRESS, 8@, 9@, 10@)
Object.AttachToObject(30@, 0@, -0.45, 0.45, 0.9, 90.0, 180.0, 270.0)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMBENC_8006
$bar_animvalue = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_BP_GETOFF")

:GYMBENC_8006
if 
  $bar_animvalue == 1.0
goto_if_false @GYMBENC_8195
$lowerbodymusclestat_gym = 0.0
$are_anims_loaded = 0.0
23@ = 0
$upperbodymusclestat_gym = 0
27@ = 1
21@ = 1
$bench_audio = 0
$tempfloat_gym = 0
$animframe_freegetoff = 0.0
$reptread_flag = 0
18@ = 0.0
21@ = 1
$bench_audio = 0
Hud.ClearCounter($bench_audio)
Hud.ClearCounter($tempfloat_gym)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Char.SetCollision($stattreadstamina_ctr, True)
Streaming.RemoveAnimation("BENCHPRESS")
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Text.ClearHelp
Menu.Delete($reps_bpress)
$bench_weight = 0
$inclinebutton_flag = 0

:GYMBENC_8195
goto @GYMBENC_632
terminate_this_script 

//-------------External script 13 (GYMTREAD)---------------

:GYMTREA
script_name 'GYMTREA'
$sub_menu_bell = 0
$DUMBELL_TXT = 0
$main_menu_bell = 0
$tread_has_KD = 0
$tread_TIMERC = 0
$tread_shake_speed = 0
$tread_start_sound = 0
$tread_show_stat = 0
$buttonpressgymtread_flag = 0
$playerstarttread_flag = 0
$playwalkanim_flag = 0
$playjoganim_flag = 0
$playsprintanim_flag = 0
$finishedtread_flag = 0
$ram_2p_level = 0
$bike_2p_level = 0
$heli_2p_level = 0
$cars_2p_level = 0
19@ = 1.0
$tread_has_KD = 1
$tread_shake_speed = 1
$reptread_flag = 0
$tread_start_sound = 0
22@ = 0.0
21@ = 0.0
$inclinebutton_flag = 0
$cars_2p_level = 1
27@ = 0
TIMERA = 0
TIMERB = 0
28@ = 0
if 
  28@ == 1
goto_if_false @GYMTREA_278
0@ = Object.CreateNoOffset(#BEACHTOWEL03, 0.0, 0.0, 0.0)

:GYMTREA_278
if 
  Object.DoesExist(0@)
goto_if_false @GYMTREA_330
1@, 2@, 3@ = Object.GetCoordinates(0@)
7@, 8@, 9@ = Object.GetCoordinates(0@)
10@ = Object.GetHeading(0@)

:GYMTREA_330
19@ = 1.0
$tread_has_KD = 1
$tread_shake_speed = 1
26@ = 1.0
set_lvar_float_to_lvar_float 6@ = 3@
6@ += 1.5
set_lvar_float_to_lvar_float 9@ = 3@
9@ += 0.75
set_lvar_float_to_lvar_float 11@ = 10@
11@ -= 60.0
12@ = Math.Sin(11@)
13@ = Math.Cos(11@)
12@ *= 3.0
13@ *= 3.0
set_lvar_float_to_lvar_float 4@ = 1@
sub_float_lvar_from_float_lvar 4@ -= 13@
set_lvar_float_to_lvar_float 5@ = 2@
sub_float_lvar_from_float_lvar 5@ -= 12@
set_lvar_float_to_lvar_float 11@ = 10@
11@ += 90.0
12@ = Math.Sin(11@)
13@ = Math.Cos(11@)
12@ *= 1.5
13@ *= 1.5
sub_float_lvar_from_float_lvar 1@ -= 13@
sub_float_lvar_from_float_lvar 2@ -= 12@
3@ += 0.1
$inclinebutton_flag = 0

:GYMTREA_573
wait 0
if 
  not Object.DoesExist(0@)
goto_if_false @GYMTREA_595
terminate_this_script 

:GYMTREA_595
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GYMTREA_5991
if and
  $reptread_flag == 0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_979
if and
  $buttonpressgymtread_flag == 0
  not Player.IsUsingJetpack($statbike_temp)
goto_if_false @GYMTREA_979
if 
  $cars_2p_level == 0
goto_if_false @GYMTREA_938
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 1@, 2@, 3@, 1.2, 1.2, 4.0, False)
goto_if_false @GYMTREA_904
if 
  27@ == 0
goto_if_false @GYMTREA_753
Text.PrintHelpForever('GYM1_81')
27@ = 1

:GYMTREA_753
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @GYMTREA_897
if or
  $weapon_shop1_blip == 0
  $switch_the_gym_interiors_off == 1
goto_if_false @GYMTREA_881
$gym_day_fitness, $burglary_male_decision = Clock.GetCurrentDate()
if or
  is_int_var_greater_than_int_var $gym_day_fitness > $burglary_female_decision
  is_int_var_greater_than_int_var $burglary_male_decision > $burglary_gang_decision
goto_if_false @GYMTREA_858
$buttonpressgymtread_flag = 1
$reptread_flag = 1
$levelbar_bike = 0
goto @GYMTREA_874

:GYMTREA_858
Text.PrintNow('GYM1_1A', 4000, 1)

:GYMTREA_874
goto @GYMTREA_897

:GYMTREA_881
Text.PrintNow('GYM1_90', 4000, 1)

:GYMTREA_897
goto @GYMTREA_931

:GYMTREA_904
if 
  27@ == 1
goto_if_false @GYMTREA_931
Text.ClearHelp
27@ = 0

:GYMTREA_931
goto @GYMTREA_979

:GYMTREA_938
if 
  not Char.LocateOnFoot2D($stattreadstamina_ctr, 1@, 2@, 2.0, 2.0, False)
goto_if_false @GYMTREA_979
$cars_2p_level = 0

:GYMTREA_979
if and
  $buttonpressgymtread_flag == 1
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_5991
if 
  $inclinebutton_flag == 0
goto_if_false @GYMTREA_1112
Streaming.RequestAnimation("GYMNASIUM")

:GYMTREA_1033
if 
  not Streaming.HasAnimationLoaded("GYMNASIUM")
goto_if_false @GYMTREA_1068
wait 0
goto @GYMTREA_1033

:GYMTREA_1068
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1820)

:GYMTREA_1079
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMTREA_1105
wait 0
goto @GYMTREA_1079

:GYMTREA_1105
$inclinebutton_flag = 1

:GYMTREA_1112
if and
  $reptread_flag == 1
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_1224
Char.SetCollision($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, False)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 1@, 2@, 3@)
Char.SetHeading($stattreadstamina_ctr, 10@)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Camera.SetFixedPosition(4@, 5@, 6@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(7@, 8@, 9@, SwitchType.JumpCut)
$reptread_flag = 2

:GYMTREA_1224
if 
  $reptread_flag == 2
goto_if_false @GYMTREA_2055
Text.PrintHelpForever('GYM1_60')
if or
  $flag_hhiker_trigger == 4
  $flag_hhiker_trigger == 2
goto_if_false @GYMTREA_1446
$incline_tread = Menu.Create('GYM1_F', 31.0, 180.0, 184.0, 1, True, True, 0)
Menu.SetColumn($incline_tread, 0, 'GYM1_89', 'GYM1_61', 'GYM1_62', 'GYM1_63', 'GYM1_64', 'GYM1_65', 'GYM1_66', 'GYM1_67', 'GYM1_68', 'GYM1_69', 'GYM1_70', 'DUMMY', 'DUMMY')
goto @GYMTREA_1607

:GYMTREA_1446
$incline_tread = Menu.Create('GYM1_F', 31.0, 150.0, 184.0, 1, True, True, 0)
Menu.SetColumn($incline_tread, 0, 'GYM1_89', 'GYM1_61', 'GYM1_62', 'GYM1_63', 'GYM1_64', 'GYM1_65', 'GYM1_66', 'GYM1_67', 'GYM1_68', 'GYM1_69', 'GYM1_70', 'DUMMY', 'DUMMY')

:GYMTREA_1607
Menu.SetActiveItem($incline_tread, 0)

:GYMTREA_1614
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_1850
wait 0
$levelbar_bike += 1
if 
is_japanese_version 
goto_if_false @GYMTREA_1752
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  $levelbar_bike > 20
goto_if_false @GYMTREA_1692
Text.ClearHelp
Menu.Delete($incline_tread)
goto @GYMTREA_5534

:GYMTREA_1692
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @GYMTREA_1745
Text.ClearHelp
$tread_has_KD = Menu.GetItemSelected($incline_tread)
$tread_has_KD += 1
Menu.Delete($incline_tread)
TIMERA = 0
goto @GYMTREA_1850

:GYMTREA_1745
goto @GYMTREA_1843

:GYMTREA_1752
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  $levelbar_bike > 20
goto_if_false @GYMTREA_1790
Text.ClearHelp
Menu.Delete($incline_tread)
goto @GYMTREA_5534

:GYMTREA_1790
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMTREA_1843
Text.ClearHelp
$tread_has_KD = Menu.GetItemSelected($incline_tread)
$tread_has_KD += 1
Menu.Delete($incline_tread)
TIMERA = 0
goto @GYMTREA_1850

:GYMTREA_1843
goto @GYMTREA_1614

:GYMTREA_1850
if 
  $animvalue == 0
goto_if_false @GYMTREA_1891
Text.PrintHelp('GYM1_42')
wait 4000
$animvalue = 1

:GYMTREA_1891
if 
  $animvalue == 1
goto_if_false @GYMTREA_1932
Text.PrintHelp('GYM1_43')
wait 5000
$animvalue = 2

:GYMTREA_1932
if 
  $animvalue == 2
goto_if_false @GYMTREA_1980
Text.PrintHelp('GYM1_45')
wait 4000
$animvalue = 4
TIMERA = 0

:GYMTREA_1980
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_2044
Task.PlayAnim($stattreadstamina_ctr, "GYM_TREAD_GETON", "GYMNASIUM", 4.0, False, False, False, True, -1)

:GYMTREA_2044
wait 0
$reptread_flag = 3

:GYMTREA_2055
if and
  $reptread_flag == 3
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_2275
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_TREAD_GETON")
goto_if_false @GYMTREA_2275
14@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_TREAD_GETON")
if 
  14@ == 1.0
goto_if_false @GYMTREA_2275
Task.PlayAnim($stattreadstamina_ctr, "GYM_TREAD_WALK", "GYMNASIUM", 8.0, True, False, False, True, -1)
Hud.DisplayNthCounterWithString($tread_TIMERC, CounterDisplay.Bar, 1, 'GYM1_1')
Hud.DisplayNthCounterWithString($tread_has_KD, CounterDisplay.Number, 2, 'GYM1_4')
Hud.DisplayNthCounterWithString($tread_start_sound, CounterDisplay.Number, 3, 'GYM1_3')
17@ = 30.0
$reptread_flag = 4

:GYMTREA_2275
if and
  $reptread_flag == 4
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_5991
23@ /= 500.0
$incline_tread_flag /= 750.0
add_float_var_to_float_lvar 23@ += $incline_tread_flag
set_lvar_float_to_lvar_float 18@ = 20@
add_float_lvar_to_float_lvar 18@ += 23@
sub_float_lvar_from_float_lvar 17@ -= 19@
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMTREA_2400
if 
  $playjoganim_flag == 0
goto_if_false @GYMTREA_2400
add_float_lvar_to_float_lvar 17@ += 18@
$playjoganim_flag = 1

:GYMTREA_2400
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMTREA_2442
if 
  $playjoganim_flag == 1
goto_if_false @GYMTREA_2442
$playjoganim_flag = 0

:GYMTREA_2442
if 
  0.0 > 17@
goto_if_false @GYMTREA_2473
17@ = 0.0

:GYMTREA_2473
if 
  17@ > 100.0
goto_if_false @GYMTREA_2504
17@ = 100.0

:GYMTREA_2504
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
goto_if_false @GYMTREA_2521

:GYMTREA_2521
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
goto_if_false @GYMTREA_2538

:GYMTREA_2538
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
goto_if_false @GYMTREA_2580
if 
  $playwalkanim_flag == 1
goto_if_false @GYMTREA_2580
$playwalkanim_flag = 0

:GYMTREA_2580
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
goto_if_false @GYMTREA_2622
if 
  $playwalkanim_flag == 2
goto_if_false @GYMTREA_2622
$playwalkanim_flag = 0

:GYMTREA_2622
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @GYMTREA_2760
if 
  $playsprintanim_flag == 0
goto_if_false @GYMTREA_2760
if and
  $tread_has_KD > 0
  10 > $tread_has_KD
goto_if_false @GYMTREA_2760
$tread_has_KD += 1
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMTREA_2712
Audio.ReportMissionAudioEventAtObject(0@, 1116)

:GYMTREA_2712
17@ -= 10.0
if 
  0.0 > 17@
goto_if_false @GYMTREA_2753
17@ = 0.0

:GYMTREA_2753
$playsprintanim_flag = 1

:GYMTREA_2760
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @GYMTREA_2857
if 
  $playsprintanim_flag == 0
goto_if_false @GYMTREA_2857
if and
  $tread_has_KD > 1
  11 > $tread_has_KD
goto_if_false @GYMTREA_2857
$tread_has_KD -= 1
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMTREA_2850
Audio.ReportMissionAudioEventAtObject(0@, 1116)

:GYMTREA_2850
$playsprintanim_flag = 2

:GYMTREA_2857
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @GYMTREA_2899
if 
  $playsprintanim_flag == 1
goto_if_false @GYMTREA_2899
$playsprintanim_flag = 0

:GYMTREA_2899
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @GYMTREA_2941
if 
  $playsprintanim_flag == 2
goto_if_false @GYMTREA_2941
$playsprintanim_flag = 0

:GYMTREA_2941
if 
  $tread_has_KD == 1
goto_if_false @GYMTREA_2979
26@ = 1.0
20@ = 9.5

:GYMTREA_2979
if 
  $tread_has_KD == 2
goto_if_false @GYMTREA_3017
26@ = 2.0
20@ = 8.5

:GYMTREA_3017
if 
  $tread_has_KD == 3
goto_if_false @GYMTREA_3055
26@ = 3.0
20@ = 7.5

:GYMTREA_3055
if 
  $tread_has_KD == 4
goto_if_false @GYMTREA_3093
26@ = 4.0
20@ = 6.5

:GYMTREA_3093
if 
  $tread_has_KD == 5
goto_if_false @GYMTREA_3131
26@ = 5.0
20@ = 5.5

:GYMTREA_3131
if 
  $tread_has_KD == 6
goto_if_false @GYMTREA_3169
26@ = 6.0
20@ = 4.5

:GYMTREA_3169
if 
  $tread_has_KD == 7
goto_if_false @GYMTREA_3207
26@ = 7.0
20@ = 3.5

:GYMTREA_3207
if 
  $tread_has_KD == 8
goto_if_false @GYMTREA_3245
26@ = 8.0
20@ = 2.5

:GYMTREA_3245
if 
  $tread_has_KD == 9
goto_if_false @GYMTREA_3283
26@ = 9.0
20@ = 1.5

:GYMTREA_3283
if 
  $tread_has_KD == 10
goto_if_false @GYMTREA_3321
26@ = 10.0
20@ = 0.5

:GYMTREA_3321
if 
  $finishedtread_flag == 0
goto_if_false @GYMTREA_3390
if 
  17@ > 0.0
goto_if_false @GYMTREA_3390
Sound.AddOneOffSound(1@, 2@, 3@, 65535)
TIMERB = 0
$finishedtread_flag = 1

:GYMTREA_3390
if and
  0.0 >= 17@
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_3894
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_TREAD_WALK")
goto_if_false @GYMTREA_3497
Task.PlayAnim($stattreadstamina_ctr, "GYM_WALK_FALLOFF", "GYMNASIUM", 100.0, False, False, False, False, -1)

:GYMTREA_3497
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_TREAD_JOG")
goto_if_false @GYMTREA_3576
Task.PlayAnim($stattreadstamina_ctr, "GYM_JOG_FALLOFF", "GYMNASIUM", 100.0, False, False, False, False, -1)

:GYMTREA_3576
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_TREAD_SPRINT")
goto_if_false @GYMTREA_3660
Task.PlayAnim($stattreadstamina_ctr, "GYM_TREAD_FALLOFF", "GYMNASIUM", 100.0, False, False, False, False, -1)

:GYMTREA_3660
$flag_player_on_oddjob = Stat.GetFloat(StatId.Fat)
if 
  0.0 >= $flag_player_on_oddjob
goto_if_false @GYMTREA_3697
Stat.SetFloat(StatId.Fat, 0.0)

:GYMTREA_3697
$buttonpressgymtread_flag = 0
$playerstarttread_flag = 0
$playwalkanim_flag = 0
$playjoganim_flag = 0
$playsprintanim_flag = 0
$finishedtread_flag = 0
$ram_2p_level = 0
$bike_2p_level = 0
$heli_2p_level = 0
$cars_2p_level = 0
19@ = 1.0
$tread_has_KD = 0
$tread_shake_speed = 1
$reptread_flag = 0
$tread_start_sound = 0
22@ = 0.0
21@ = 0.0
$inclinebutton_flag = 0
Hud.ClearCounter($tread_TIMERC)
Hud.ClearCounter($tread_has_KD)
Hud.ClearCounter($tread_start_sound)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
$cars_2p_level = 1
Char.SetCollision($stattreadstamina_ctr, True)
Streaming.RemoveAnimation("GYMNASIUM")
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Menu.Delete($incline_tread)
Text.ClearHelp

:GYMTREA_3894
if 
  $buttonpressgymtread_flag == 1
goto_if_false @GYMTREA_4261
if and
  $ram_2p_level == 0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_4028
if and
  $tread_has_KD > 0
  3 > $tread_has_KD
goto_if_false @GYMTREA_4028
Task.PlayAnim($stattreadstamina_ctr, "GYM_TREAD_WALK", "GYMNASIUM", 100.0, True, False, False, True, -1)
$ram_2p_level = 1
$bike_2p_level = 0
$heli_2p_level = 0

:GYMTREA_4028
if and
  $bike_2p_level == 0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_4143
if and
  $tread_has_KD > 2
  7 > $tread_has_KD
goto_if_false @GYMTREA_4143
Task.PlayAnim($stattreadstamina_ctr, "GYM_TREAD_JOG", "GYMNASIUM", 100.0, True, False, False, True, -1)
$ram_2p_level = 0
$heli_2p_level = 0
$bike_2p_level = 1

:GYMTREA_4143
if and
  $heli_2p_level == 0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_4261
if and
  $tread_has_KD > 6
  11 > $tread_has_KD
goto_if_false @GYMTREA_4261
Task.PlayAnim($stattreadstamina_ctr, "GYM_TREAD_SPRINT", "GYMNASIUM", 100.0, True, False, False, True, -1)
$ram_2p_level = 0
$bike_2p_level = 0
$heli_2p_level = 1

:GYMTREA_4261
if 
  17@ >= 0.0
goto_if_false @GYMTREA_4313
if 
  10.0 >= 17@
goto_if_false @GYMTREA_4313
15@ = 0.9

:GYMTREA_4313
if 
  17@ >= 11.0
goto_if_false @GYMTREA_4365
if 
  20.0 >= 17@
goto_if_false @GYMTREA_4365
15@ = 0.97

:GYMTREA_4365
if 
  17@ >= 21.0
goto_if_false @GYMTREA_4417
if 
  30.0 >= 17@
goto_if_false @GYMTREA_4417
15@ = 1.04

:GYMTREA_4417
if 
  17@ >= 31.0
goto_if_false @GYMTREA_4469
if 
  40.0 >= 17@
goto_if_false @GYMTREA_4469
15@ = 1.11

:GYMTREA_4469
if 
  17@ >= 41.0
goto_if_false @GYMTREA_4521
if 
  50.0 >= 17@
goto_if_false @GYMTREA_4521
15@ = 1.18

:GYMTREA_4521
if 
  17@ >= 51.0
goto_if_false @GYMTREA_4573
if 
  60.0 >= 17@
goto_if_false @GYMTREA_4573
15@ = 1.25

:GYMTREA_4573
if 
  17@ >= 61.0
goto_if_false @GYMTREA_4625
if 
  70.0 >= 17@
goto_if_false @GYMTREA_4625
15@ = 1.32

:GYMTREA_4625
if 
  17@ >= 71.0
goto_if_false @GYMTREA_4677
if 
  80.0 >= 17@
goto_if_false @GYMTREA_4677
15@ = 1.39

:GYMTREA_4677
if 
  17@ >= 81.0
goto_if_false @GYMTREA_4729
if 
  90.0 >= 17@
goto_if_false @GYMTREA_4729
15@ = 1.46

:GYMTREA_4729
if 
  17@ >= 91.0
goto_if_false @GYMTREA_4781
if 
  100.0 >= 17@
goto_if_false @GYMTREA_4781
15@ = 1.53

:GYMTREA_4781
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_4967
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_TREAD_WALK")
goto_if_false @GYMTREA_4853
Char.SetAnimSpeed($stattreadstamina_ctr, "GYM_TREAD_WALK", 15@)

:GYMTREA_4853
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_TREAD_JOG")
goto_if_false @GYMTREA_4907
Char.SetAnimSpeed($stattreadstamina_ctr, "GYM_TREAD_JOG", 15@)

:GYMTREA_4907
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_TREAD_SPRINT")
goto_if_false @GYMTREA_4967
Char.SetAnimSpeed($stattreadstamina_ctr, "GYM_TREAD_SPRINT", 15@)

:GYMTREA_4967
if 
  Object.DoesExist(0@)
goto_if_false @GYMTREA_5092
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMTREA_5092
if 
  17@ > 10.0
goto_if_false @GYMTREA_5059
if 
  $DUMBELL_TXT == 0
goto_if_false @GYMTREA_5052
Audio.ReportMissionAudioEventAtObject(0@, 1118)
$DUMBELL_TXT = 1

:GYMTREA_5052
goto @GYMTREA_5092

:GYMTREA_5059
if 
  $DUMBELL_TXT == 1
goto_if_false @GYMTREA_5092
Audio.ReportMissionAudioEventAtObject(0@, 1119)
$DUMBELL_TXT = 0

:GYMTREA_5092
if 
  TIMERB > 250
goto_if_false @GYMTREA_5411
TIMERB -= 250
set_lvar_float_to_lvar_float 21@ = 17@
mult_float_lvar_by_float_lvar 21@ *= 26@
21@ /= 80.0
cset_var_float_to_var_int $controlmode =# $tread_has_KD
$controlmode /= 10.0
$controlmode += 1.0
mult_float_var_by_float_lvar $controlmode *= 21@
add_float_var_to_float_var $Players_Group += $controlmode
if 
  $Players_Group >= 170.0
goto_if_false @GYMTREA_5334
$Players_Group -= 170.0
$flag_player_on_oddjob = Stat.GetFloat(StatId.Fat)
if 
  $flag_player_on_oddjob >= 1.0
goto_if_false @GYMTREA_5257
Stat.DecrementFloat(StatId.Fat, 8.0)

:GYMTREA_5257
if 
  $weightdb == 3
goto_if_false @GYMTREA_5308
$weightdb = 0
Stat.IncrementFloat(StatId.Stamina, 4.0)
$cutscene_skip_CUT += 4.0
goto @GYMTREA_5334

:GYMTREA_5308
Stat.IncrementFloatNoMessage(StatId.Stamina, 4.0)
$cutscene_skip_CUT += 4.0
$weightdb += 1

:GYMTREA_5334
if 
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMTREA_5379
$burglary_female_decision, $burglary_gang_decision = Clock.GetCurrentDate()
Text.PrintNow('GYM1_1B', 4000, 1)

:GYMTREA_5379
cset_lvar_float_to_var_int 25@ =# $tread_shake_speed
mult_float_var_by_float_lvar $controlmode *= 25@
add_float_lvar_to_float_lvar 22@ += 21@
cset_var_int_to_lvar_float $tread_start_sound =# 22@

:GYMTREA_5411
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMTREA_5887
if 
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMTREA_5469
$cutscene_skip_CUT = 0.0

:GYMTREA_5469
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_5887
Task.PlayAnim($stattreadstamina_ctr, "GYM_TREAD_GETOFF", "GYMNASIUM", 100.0, False, False, False, False, -1)

:GYMTREA_5534
Pad.Shake(PadId.Pad1, 1, 1)
Stat.IncrementInt(StatId.DistTreadmill, $tread_start_sound)
set_lvar_int_to_lvar_int 29@ = TIMERA
29@ /= 1000
Stat.IncrementInt(StatId.LongestTreadmillTime, 29@)
Text.ClearHelp
Menu.Delete($incline_tread)
$buttonpressgymtread_flag = 0
$playerstarttread_flag = 0
$playwalkanim_flag = 0
$playjoganim_flag = 0
$playsprintanim_flag = 0
$finishedtread_flag = 0
$ram_2p_level = 0
$bike_2p_level = 0
$heli_2p_level = 0
$cars_2p_level = 0
19@ = 1.0
$tread_has_KD = 1
$tread_shake_speed = 1
$reptread_flag = 0
$tread_start_sound = 0
22@ = 0.0
21@ = 0.0
$inclinebutton_flag = 0
Hud.ClearCounter($tread_TIMERC)
Hud.ClearCounter($tread_has_KD)
Hud.ClearCounter($tread_start_sound)
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMTREA_5759
Player.SetControl($statbike_temp, True)
Char.SetCollision($stattreadstamina_ctr, True)

:GYMTREA_5759
Streaming.RemoveAnimation("GYMNASIUM")
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Camera.RestoreJumpcut
$cars_2p_level = 1
$diffgym = Stat.GetFloat(StatId.BodyMuscle)
if 
  $diffgym >= 1000.0
goto_if_false @GYMTREA_5822
Stat.SetFloat(StatId.BodyMuscle, 1000.0)

:GYMTREA_5822
$flag_player_on_oddjob = Stat.GetFloat(StatId.Fat)
if 
  0.0 >= $flag_player_on_oddjob
goto_if_false @GYMTREA_5859
Stat.SetFloat(StatId.Fat, 0.0)

:GYMTREA_5859
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @GYMTREA_5887
wait 0
goto @GYMTREA_5859

:GYMTREA_5887
$main_menu_bell += 1
set_var_int_to_var_int $sub_menu_bell = $tread_TIMERC
$sub_menu_bell -= 100
if 
  $sub_menu_bell > -40
goto_if_false @GYMTREA_5934
$sub_menu_bell = -40

:GYMTREA_5934
if 
  is_int_var_greater_or_equal_to_int_var $main_menu_bell >= $sub_menu_bell
goto_if_false @GYMTREA_5983
$main_menu_bell = 0
$tread_TIMERC *= 12
$tread_TIMERC /= 10
Pad.Shake(PadId.Pad1, 100, $tread_TIMERC)

:GYMTREA_5983
cset_var_int_to_lvar_float $tread_TIMERC =# 17@

:GYMTREA_5991
goto @GYMTREA_573
terminate_this_script 

//-------------External script 14 (GYMDUMB)---------------

:GYMDUMB
script_name 'GYMDUMB'
$incmusclestatdb = 1
$reps_dumbellfloat = 0
27@ = 0
$dumbell_player_heading = 0
$release_time = 0.0
TIMERA = 0
TIMERB = 0
23@ = 0
if 
  23@ == 1
goto_if_false @GYMDUMB_111
0@ = Object.CreateNoOffset(#BEACHTOWEL04, 0.0, 0.0, 0.0)

:GYMDUMB_111
if 
  Object.DoesExist(0@)
goto_if_false @GYMDUMB_149
4@, 5@, 6@ = Object.GetCoordinates(0@)
12@ = Object.GetHeading(0@)

:GYMDUMB_149
if 
  not Object.DoesExist(0@)
goto_if_false @GYMDUMB_167
terminate_this_script 

:GYMDUMB_167
set_lvar_float_to_lvar_float 2@ = 4@
set_lvar_float_to_lvar_float 3@ = 5@
set_var_float_to_lvar_float $temp_muscle_stat_dumb = 4@
set_var_float_to_lvar_float $dumb_sfx = 5@
set_lvar_float_to_lvar_float 9@ = 6@
9@ += 1.7
set_lvar_float_to_lvar_float 13@ = 12@
set_lvar_float_to_lvar_float 1@ = 12@
1@ -= 90.0
set_var_float_to_lvar_float $dumbellcamx1 = 12@
$dumbellcamx1 -= 90.0
set_var_float_to_lvar_float $dumbellcamy1 = 12@
$dumbellcamy1 += 90.0
10@ = Math.Sin(13@)
11@ = Math.Cos(13@)
10@ *= 0.95
11@ *= 0.95
sub_float_lvar_from_float_lvar 4@ -= 11@
sub_float_lvar_from_float_lvar 5@ -= 10@
10@ *= 3.5
11@ *= 3.5
set_lvar_float_to_lvar_float 7@ = 4@
add_float_lvar_to_float_lvar 7@ += 11@
set_lvar_float_to_lvar_float 8@ = 5@
add_float_lvar_to_float_lvar 8@ += 10@
10@ = Math.Sin(13@)
11@ = Math.Cos(13@)
10@ *= 0.95
11@ *= 0.95
add_float_lvar_to_float_var $temp_muscle_stat_dumb += 11@
add_float_lvar_to_float_var $dumb_sfx += 10@
10@ *= 3.5
11@ *= 3.5
set_var_float_to_var_float $dumb_show_stat = $temp_muscle_stat_dumb
sub_float_lvar_from_float_var $dumb_show_stat -= 11@
set_var_float_to_var_float $char_obj = $dumb_sfx
sub_float_lvar_from_float_var $char_obj -= 10@
12@ += 180.0
set_lvar_float_to_lvar_float 13@ = 12@
13@ += 90.0
10@ = Math.Sin(13@)
11@ = Math.Cos(13@)
10@ *= 0.2
11@ *= 0.2
add_float_lvar_to_float_lvar 2@ += 11@
add_float_lvar_to_float_lvar 3@ += 10@
25@ = Object.Create(#KMB_DUMBBELL_R, 2@, 3@, 6@)
Object.AttachToObject(25@, 0@, 0.05, 0.2, 0.3, 0.0, 90.0, 90.0)
26@ = Object.Create(#KMB_DUMBBELL_L, 2@, 3@, 6@)
Object.AttachToObject(26@, 0@, 0.05, -0.2, 0.3, 0.0, 90.0, 90.0)
6@ += 0.1
$bike_TIMERC = 1
$inclinebutton_flag = 0

:GYMDUMB_701
wait 0
if 
  not Object.DoesExist(0@)
goto_if_false @GYMDUMB_733
Object.Delete(25@)
Object.Delete(26@)
terminate_this_script 

:GYMDUMB_733
if 
  not Object.IsWithinBrainActivationRange(0@)
goto_if_false @GYMDUMB_761
Object.Delete(25@)
Object.Delete(26@)
terminate_this_script 

:GYMDUMB_761
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GYMDUMB_7998
if 
  $reptread_flag == 0
goto_if_false @GYMDUMB_1257
if and
  17@ == 0
  not Player.IsUsingJetpack($statbike_temp)
goto_if_false @GYMDUMB_1257
if 
  21@ == 0
goto_if_false @GYMDUMB_1193
if or
  Char.LocateOnFoot3D($stattreadstamina_ctr, 4@, 5@, 6@, 1.2, 1.2, 4.0, False)
  Char.LocateOnFoot3D($stattreadstamina_ctr, $temp_muscle_stat_dumb, $dumb_sfx, 6@, 1.2, 1.2, 4.0, False)
goto_if_false @GYMDUMB_1159
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 4@, 5@, 6@, 1.2, 1.2, 4.0, False)
goto_if_false @GYMDUMB_965
$dumbelly1 = 0
goto @GYMDUMB_972

:GYMDUMB_965
$dumbelly1 = 1

:GYMDUMB_972
if 
  27@ == 0
goto_if_false @GYMDUMB_1008
Text.PrintHelpForever('GYM1_85')
27@ = 1

:GYMDUMB_1008
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @GYMDUMB_1152
if or
  $weapon_shop1_blip == 0
  $switch_the_gym_interiors_off == 1
goto_if_false @GYMDUMB_1136
$gym_day_fitness, $burglary_male_decision = Clock.GetCurrentDate()
if or
  is_int_var_greater_than_int_var $gym_day_fitness > $burglary_female_decision
  is_int_var_greater_than_int_var $burglary_male_decision > $burglary_gang_decision
goto_if_false @GYMDUMB_1113
17@ = 1
$reptread_flag = 1
$levelbar_bike = 0
goto @GYMDUMB_1129

:GYMDUMB_1113
Text.PrintNow('GYM1_1A', 4000, 1)

:GYMDUMB_1129
goto @GYMDUMB_1152

:GYMDUMB_1136
Text.PrintNow('GYM1_90', 4000, 1)

:GYMDUMB_1152
goto @GYMDUMB_1186

:GYMDUMB_1159
if 
  27@ == 1
goto_if_false @GYMDUMB_1186
Text.ClearHelp
27@ = 0

:GYMDUMB_1186
goto @GYMDUMB_1257

:GYMDUMB_1193
if or
  not Char.LocateOnFoot2D($stattreadstamina_ctr, 4@, 5@, 2.0, 2.0, False)
  not Char.LocateOnFoot2D($stattreadstamina_ctr, $temp_muscle_stat_dumb, $dumb_sfx, 2.0, 2.0, False)
goto_if_false @GYMDUMB_1257
21@ = 0

:GYMDUMB_1257
if 
  17@ == 1
goto_if_false @GYMDUMB_7998
if 
  $inclinebutton_flag == 0
goto_if_false @GYMDUMB_1400
Streaming.RequestAnimation("FREEWEIGHTS")
Text.LoadMissionText('GYM')

:GYMDUMB_1319
if 
  not Streaming.HasAnimationLoaded("FREEWEIGHTS")
goto_if_false @GYMDUMB_1356
wait 0
goto @GYMDUMB_1319

:GYMDUMB_1356
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1820)

:GYMDUMB_1367
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @GYMDUMB_1393
wait 0
goto @GYMDUMB_1367

:GYMDUMB_1393
$inclinebutton_flag = 1

:GYMDUMB_1400
if and
  $reptread_flag == 1
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_1588
Char.SetCollision($stattreadstamina_ctr, False)
if 
  $dumbelly1 == 0
goto_if_false @GYMDUMB_1510
Player.SetControl($statbike_temp, False)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, 4@, 5@, 6@)
Camera.SetFixedPosition(7@, 8@, 9@, 0.0, 0.0, 0.0)
Char.SetHeading($stattreadstamina_ctr, $dumbellcamx1)
goto @GYMDUMB_1565

:GYMDUMB_1510
Player.SetControl($statbike_temp, False)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, $temp_muscle_stat_dumb, $dumb_sfx, 6@)
Camera.SetFixedPosition($dumb_show_stat, $char_obj, 9@, 0.0, 0.0, 0.0)
Char.SetHeading($stattreadstamina_ctr, $dumbellcamy1)

:GYMDUMB_1565
Camera.PointAtChar($stattreadstamina_ctr, CameraMode.Fixed, SwitchType.JumpCut)
$reptread_flag = 2
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)

:GYMDUMB_1588
if and
  $reptread_flag == 2
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_2212
Text.PrintHelpForever('GYM1_71')
if or
  $flag_hhiker_trigger == 4
  $flag_hhiker_trigger == 2
goto_if_false @GYMDUMB_1815
$reps_dumbell = Menu.Create('GYM1_G', 31.0, 180.0, 184.0, 1, True, True, 0)
Menu.SetColumn($reps_dumbell, 0, 'GYM1_72', 'GYM1_26', 'GYM1_27', 'GYM1_28', 'GYM1_29', 'GYM1_30', 'GYM1_31', 'GYM1_32', 'GYM1_33', 'GYM1_34', 'GYM1_35', 'DUMMY', 'DUMMY')
goto @GYMDUMB_1976

:GYMDUMB_1815
$reps_dumbell = Menu.Create('GYM1_G', 31.0, 150.0, 184.0, 1, True, True, 0)
Menu.SetColumn($reps_dumbell, 0, 'GYM1_72', 'GYM1_26', 'GYM1_27', 'GYM1_28', 'GYM1_29', 'GYM1_30', 'GYM1_31', 'GYM1_32', 'GYM1_33', 'GYM1_34', 'GYM1_35', 'DUMMY', 'DUMMY')

:GYMDUMB_1976
Menu.SetActiveItem($reps_dumbell, 0)

:GYMDUMB_1983
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_2191
wait 0
$levelbar_bike += 1
if 
is_japanese_version 
goto_if_false @GYMDUMB_2107
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  $levelbar_bike > 20
goto_if_false @GYMDUMB_2061
Text.ClearHelp
Menu.Delete($reps_dumbell)
goto @GYMDUMB_7522

:GYMDUMB_2061
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @GYMDUMB_2100
Text.ClearHelp
$incmusclestatdb = Menu.GetItemSelected($reps_dumbell)
Menu.Delete($reps_dumbell)
goto @GYMDUMB_2191

:GYMDUMB_2100
goto @GYMDUMB_2184

:GYMDUMB_2107
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  $levelbar_bike > 20
goto_if_false @GYMDUMB_2145
Text.ClearHelp
Menu.Delete($reps_dumbell)
goto @GYMDUMB_7522

:GYMDUMB_2145
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMDUMB_2184
Text.ClearHelp
$incmusclestatdb = Menu.GetItemSelected($reps_dumbell)
Menu.Delete($reps_dumbell)
goto @GYMDUMB_2191

:GYMDUMB_2184
goto @GYMDUMB_1983

:GYMDUMB_2191
19@ = 1
18@ = 1
$reptread_flag = 3

:GYMDUMB_2212
if and
  $reptread_flag == 3
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_2969
if 
  $incmusclestatdb == 0
goto_if_false @GYMDUMB_2273
$powerdumbell = 1.0
$dumb_front_back = 5.0

:GYMDUMB_2273
if 
  $incmusclestatdb == 1
goto_if_false @GYMDUMB_2311
$powerdumbell = 2.0
$dumb_front_back = 5.2

:GYMDUMB_2311
if 
  $incmusclestatdb == 2
goto_if_false @GYMDUMB_2349
$powerdumbell = 3.0
$dumb_front_back = 5.3

:GYMDUMB_2349
if 
  $incmusclestatdb == 3
goto_if_false @GYMDUMB_2387
$powerdumbell = 4.0
$dumb_front_back = 5.5

:GYMDUMB_2387
if 
  $incmusclestatdb == 4
goto_if_false @GYMDUMB_2425
$powerdumbell = 5.0
$dumb_front_back = 6.0

:GYMDUMB_2425
if 
  $incmusclestatdb == 5
goto_if_false @GYMDUMB_2463
$powerdumbell = 6.0
$dumb_front_back = 6.5

:GYMDUMB_2463
if 
  $incmusclestatdb == 6
goto_if_false @GYMDUMB_2501
$powerdumbell = 7.0
$dumb_front_back = 7.0

:GYMDUMB_2501
if 
  $incmusclestatdb == 7
goto_if_false @GYMDUMB_2539
$powerdumbell = 8.0
$dumb_front_back = 7.5

:GYMDUMB_2539
if 
  $incmusclestatdb == 8
goto_if_false @GYMDUMB_2577
$powerdumbell = 9.0
$dumb_front_back = 8.0

:GYMDUMB_2577
if 
  $incmusclestatdb == 9
goto_if_false @GYMDUMB_2615
$powerdumbell = 10.0
$dumb_front_back = 8.5

:GYMDUMB_2615
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_2681
Task.PlayAnim($stattreadstamina_ctr, "GYM_FREE_PICKUP", "FREEWEIGHTS", 4.0, False, False, False, True, -1)

:GYMDUMB_2681
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_2969
if and
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_FREE_PICKUP")
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_2969
$playerexercising_flag = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_FREE_PICKUP")

:GYMDUMB_2764
if 
  $playerexercising_flag <= 0.7789
goto_if_false @GYMDUMB_2837
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_2830
$playerexercising_flag = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_FREE_PICKUP")

:GYMDUMB_2830
goto @GYMDUMB_2764

:GYMDUMB_2837
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_2955
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_2955
Task.PickUpObject($stattreadstamina_ctr, 25@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", -1)
Task.PickUpSecondObject($stattreadstamina_ctr, 26@, 0.0, 0.0, 0.0, 5, 16, "NULL", "NULL", -1)

:GYMDUMB_2955
$reptread_flag = 4
TIMERA = 0

:GYMDUMB_2969
if and
  $reptread_flag == 4
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_3505
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_FREE_PICKUP")
goto_if_false @GYMDUMB_3505
$bar_animvalue = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_FREE_PICKUP")
if 
  $bar_animvalue == 1.0
goto_if_false @GYMDUMB_3505
if 
  $dumbell_resistance == 0
goto_if_false @GYMDUMB_3107
Text.PrintHelpForever('GYM1_36')
$dumbell_resistance = 1

:GYMDUMB_3107
$diffgym = Stat.GetFloat(StatId.BodyMuscle)
$diffgym /= 30.0
if 
  0.0 > $diffgym
goto_if_false @GYMDUMB_3155
$diffgym = 0.0

:GYMDUMB_3155
set_var_float_to_var_float $dumb_has_KD = $diffgym
$dumb_has_KD += 30.0
if 
  $dumb_has_KD > 75.0
goto_if_false @GYMDUMB_3204
$dumb_has_KD = 75.0

:GYMDUMB_3204
cset_var_float_to_var_int $dumb_weight =# $reps_dumbellfloat
set_var_float_to_var_float $animframe_freegetoff = $dumb_has_KD
sub_float_var_from_float_var $animframe_freegetoff -= $powerdumbell
if 
  18.0 >= $animframe_freegetoff
goto_if_false @GYMDUMB_3294
Task.PlayAnim($stattreadstamina_ctr, "GYM_FREE_B", "FREEWEIGHTS", 8.0, False, False, False, True, -1)

:GYMDUMB_3294
if 
  $animframe_freegetoff > 18.0
goto_if_false @GYMDUMB_3381
if 
  24.0 >= $animframe_freegetoff
goto_if_false @GYMDUMB_3381
Task.PlayAnim($stattreadstamina_ctr, "GYM_FREE_A", "FREEWEIGHTS", 8.0, False, False, False, True, -1)

:GYMDUMB_3381
if 
  $animframe_freegetoff > 24.0
goto_if_false @GYMDUMB_3455
Task.PlayAnim($stattreadstamina_ctr, "GYM_FREE_UP_SMOOTH", "FREEWEIGHTS", 8.0, False, False, False, True, -1)

:GYMDUMB_3455
Hud.DisplayNthCounterWithString($tempfloat_gym, CounterDisplay.Bar, 1, 'GYM1_1')
Hud.DisplayNthCounterWithString($reps_dumbellfloat, CounterDisplay.Number, 2, 'GYM1_2')
$upperbodymusclestat_gym = 1
$reptread_flag = 5

:GYMDUMB_3505
if and
  $reptread_flag == 5
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_7134
if and
  TIMERA > 4000
  $dumbell_resistance == 1
goto_if_false @GYMDUMB_3574
Text.ClearHelp
Text.PrintHelpForever('GYM1_25')
$dumbell_resistance = 2

:GYMDUMB_3574
if and
  TIMERA > 8000
  $dumbell_resistance == 2
goto_if_false @GYMDUMB_3609
Text.ClearHelp
$dumbell_resistance = 101

:GYMDUMB_3609
$diffgym = Stat.GetFloat(StatId.BodyMuscle)
$diffgym /= 30.0
if 
  0.0 > $diffgym
goto_if_false @GYMDUMB_3657
$diffgym = 0.0

:GYMDUMB_3657
set_var_float_to_var_float $dumb_has_KD = $diffgym
$dumb_has_KD += 20.0
if 
  $dumb_has_KD > 75.0
goto_if_false @GYMDUMB_3706
$dumb_has_KD = 75.0

:GYMDUMB_3706
if or
  $upperbodymusclestat_gym == 1
  $upperbodymusclestat_gym == 3
goto_if_false @GYMDUMB_3739
sub_float_var_from_float_var $temp_dumb_weight -= $powerdumbell

:GYMDUMB_3739
if 
  $upperbodymusclestat_gym == 4
goto_if_false @GYMDUMB_3767
$temp_dumb_weight -= 4.0

:GYMDUMB_3767
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @GYMDUMB_3809
if 
  20@ == 3
goto_if_false @GYMDUMB_3809
20@ = 0

:GYMDUMB_3809
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMDUMB_3851
if 
  20@ == 1
goto_if_false @GYMDUMB_3851
20@ = 2

:GYMDUMB_3851
if or
  $upperbodymusclestat_gym == 1
  $upperbodymusclestat_gym == 3
goto_if_false @GYMDUMB_3988
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
  not Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @GYMDUMB_3932
if 
  20@ == 0
goto_if_false @GYMDUMB_3932
add_float_var_to_float_var $temp_dumb_weight += $dumb_has_KD
20@ = 1

:GYMDUMB_3932
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMDUMB_3988
if 
  20@ == 2
goto_if_false @GYMDUMB_3988
add_float_var_to_float_var $temp_dumb_weight += $dumb_has_KD
20@ = 3

:GYMDUMB_3988
if 
  0.0 > $temp_dumb_weight
goto_if_false @GYMDUMB_4019
$temp_dumb_weight = 0.0

:GYMDUMB_4019
if 
  $temp_dumb_weight >= 100.0
goto_if_false @GYMDUMB_4075
$temp_dumb_weight = 100.0
if 
  $upperbodymusclestat_gym == 1
goto_if_false @GYMDUMB_4075
$upperbodymusclestat_gym = 2

:GYMDUMB_4075
if 
  $temp_dumb_weight > 25.0
goto_if_false @GYMDUMB_4107
$anim_release_time = Char.SetSayContext($stattreadstamina_ctr, 349)

:GYMDUMB_4107
if 
  $upperbodymusclestat_gym == 2
goto_if_false @GYMDUMB_4167
if 
  $animationtobeplayed == 1.0
goto_if_false @GYMDUMB_4167
20@ = 0
$upperbodymusclestat_gym = 3
TIMERB = 0

:GYMDUMB_4167
if and
  $upperbodymusclestat_gym == 3
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_6258
if 
  $reps_dumbellfloat < 999999
goto_if_false @GYMDUMB_4218
$reps_dumbellfloat += 1

:GYMDUMB_4218
switch_start $incmusclestatdb {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @GYMDUMB_4486 {caseNum1} 0 {caseLabel1} @GYMDUMB_4346 {caseNum2} 1 {caseLabel2} @GYMDUMB_4360 {caseNum3} 2 {caseLabel3} @GYMDUMB_4374 {caseNum4} 3 {caseLabel4} @GYMDUMB_4388 {caseNum5} 4 {caseLabel5} @GYMDUMB_4402 {caseNum6} 5 {caseLabel6} @GYMDUMB_4416 {caseNum7} 6 {caseLabel7} @GYMDUMB_4430
switch_continued 7 {caseLabel1} @GYMDUMB_4444 {caseNum2} 8 {caseLabel2} @GYMDUMB_4458 {caseNum3} 9 {caseLabel3} @GYMDUMB_4472 {caseNum4} -1 {caseLabel4} @GYMDUMB_4486 {caseNum5} -1 {caseLabel5} @GYMDUMB_4486 {caseNum6} -1 {caseLabel6} @GYMDUMB_4486 {caseNum7} -1 {caseLabel7} @GYMDUMB_4486 {caseNum8} -1 {caseLabel8} @GYMDUMB_4486 {caseNum9} -1 {caseLabel9} @GYMDUMB_4486

:GYMDUMB_4346
$dumbellx1 = 20
goto @GYMDUMB_4486

:GYMDUMB_4360
$dumbellx1 = 30
goto @GYMDUMB_4486

:GYMDUMB_4374
$dumbellx1 = 40
goto @GYMDUMB_4486

:GYMDUMB_4388
$dumbellx1 = 50
goto @GYMDUMB_4486

:GYMDUMB_4402
$dumbellx1 = 60
goto @GYMDUMB_4486

:GYMDUMB_4416
$dumbellx1 = 70
goto @GYMDUMB_4486

:GYMDUMB_4430
$dumbellx1 = 80
goto @GYMDUMB_4486

:GYMDUMB_4444
$dumbellx1 = 90
goto @GYMDUMB_4486

:GYMDUMB_4458
$dumbellx1 = 100
goto @GYMDUMB_4486

:GYMDUMB_4472
$dumbellx1 = 110
goto @GYMDUMB_4486

:GYMDUMB_4486
$dumbell_player_heading1 = Stat.GetInt(StatId.HeaviestWeightDumbells)
if 
  is_int_var_greater_than_int_var $dumbellx1 > $dumbell_player_heading1
goto_if_false @GYMDUMB_4519
Stat.SetInt(StatId.HeaviestWeightDumbells, $dumbellx1)

:GYMDUMB_4519
$release_time = Stat.GetFloat(StatId.BodyMuscle)
if 
  1000.0 > $release_time
goto_if_false @GYMDUMB_4827
if 
  $incmusclestatdb == 1
goto_if_false @GYMDUMB_4575
$dumb_front_back = 1.0

:GYMDUMB_4575
if 
  $incmusclestatdb == 2
goto_if_false @GYMDUMB_4603
$dumb_front_back = 1.2

:GYMDUMB_4603
if 
  $incmusclestatdb == 3
goto_if_false @GYMDUMB_4631
$dumb_front_back = 1.3

:GYMDUMB_4631
if 
  $incmusclestatdb == 4
goto_if_false @GYMDUMB_4659
$dumb_front_back = 1.5

:GYMDUMB_4659
if 
  $incmusclestatdb == 5
goto_if_false @GYMDUMB_4687
$dumb_front_back = 2.0

:GYMDUMB_4687
if 
  $incmusclestatdb == 6
goto_if_false @GYMDUMB_4715
$dumb_front_back = 2.5

:GYMDUMB_4715
if 
  $incmusclestatdb == 7
goto_if_false @GYMDUMB_4743
$dumb_front_back = 3.0

:GYMDUMB_4743
if 
  $incmusclestatdb == 8
goto_if_false @GYMDUMB_4771
$dumb_front_back = 4.0

:GYMDUMB_4771
if 
  $incmusclestatdb == 9
goto_if_false @GYMDUMB_4799
$dumb_front_back = 5.0

:GYMDUMB_4799
if 
  $incmusclestatdb == 10
goto_if_false @GYMDUMB_4827
$dumb_front_back = 6.0

:GYMDUMB_4827
if 
  800.0 > $release_time
goto_if_false @GYMDUMB_5128
if 
  $incmusclestatdb == 1
goto_if_false @GYMDUMB_4876
$dumb_front_back = 2.0

:GYMDUMB_4876
if 
  $incmusclestatdb == 2
goto_if_false @GYMDUMB_4904
$dumb_front_back = 2.2

:GYMDUMB_4904
if 
  $incmusclestatdb == 3
goto_if_false @GYMDUMB_4932
$dumb_front_back = 2.3

:GYMDUMB_4932
if 
  $incmusclestatdb == 4
goto_if_false @GYMDUMB_4960
$dumb_front_back = 2.5

:GYMDUMB_4960
if 
  $incmusclestatdb == 5
goto_if_false @GYMDUMB_4988
$dumb_front_back = 3.0

:GYMDUMB_4988
if 
  $incmusclestatdb == 6
goto_if_false @GYMDUMB_5016
$dumb_front_back = 3.5

:GYMDUMB_5016
if 
  $incmusclestatdb == 7
goto_if_false @GYMDUMB_5044
$dumb_front_back = 4.0

:GYMDUMB_5044
if 
  $incmusclestatdb == 8
goto_if_false @GYMDUMB_5072
$dumb_front_back = 5.0

:GYMDUMB_5072
if 
  $incmusclestatdb == 9
goto_if_false @GYMDUMB_5100
$dumb_front_back = 6.0

:GYMDUMB_5100
if 
  $incmusclestatdb == 10
goto_if_false @GYMDUMB_5128
$dumb_front_back = 7.0

:GYMDUMB_5128
if 
  600.0 > $release_time
goto_if_false @GYMDUMB_5429
if 
  $incmusclestatdb == 1
goto_if_false @GYMDUMB_5177
$dumb_front_back = 3.0

:GYMDUMB_5177
if 
  $incmusclestatdb == 2
goto_if_false @GYMDUMB_5205
$dumb_front_back = 3.2

:GYMDUMB_5205
if 
  $incmusclestatdb == 3
goto_if_false @GYMDUMB_5233
$dumb_front_back = 3.3

:GYMDUMB_5233
if 
  $incmusclestatdb == 4
goto_if_false @GYMDUMB_5261
$dumb_front_back = 3.5

:GYMDUMB_5261
if 
  $incmusclestatdb == 5
goto_if_false @GYMDUMB_5289
$dumb_front_back = 4.0

:GYMDUMB_5289
if 
  $incmusclestatdb == 6
goto_if_false @GYMDUMB_5317
$dumb_front_back = 4.5

:GYMDUMB_5317
if 
  $incmusclestatdb == 7
goto_if_false @GYMDUMB_5345
$dumb_front_back = 5.0

:GYMDUMB_5345
if 
  $incmusclestatdb == 8
goto_if_false @GYMDUMB_5373
$dumb_front_back = 6.0

:GYMDUMB_5373
if 
  $incmusclestatdb == 9
goto_if_false @GYMDUMB_5401
$dumb_front_back = 7.0

:GYMDUMB_5401
if 
  $incmusclestatdb == 10
goto_if_false @GYMDUMB_5429
$dumb_front_back = 8.0

:GYMDUMB_5429
if 
  400.0 > $release_time
goto_if_false @GYMDUMB_5730
if 
  $incmusclestatdb == 1
goto_if_false @GYMDUMB_5478
$dumb_front_back = 4.0

:GYMDUMB_5478
if 
  $incmusclestatdb == 2
goto_if_false @GYMDUMB_5506
$dumb_front_back = 4.2

:GYMDUMB_5506
if 
  $incmusclestatdb == 3
goto_if_false @GYMDUMB_5534
$dumb_front_back = 4.3

:GYMDUMB_5534
if 
  $incmusclestatdb == 4
goto_if_false @GYMDUMB_5562
$dumb_front_back = 4.5

:GYMDUMB_5562
if 
  $incmusclestatdb == 5
goto_if_false @GYMDUMB_5590
$dumb_front_back = 5.0

:GYMDUMB_5590
if 
  $incmusclestatdb == 6
goto_if_false @GYMDUMB_5618
$dumb_front_back = 5.5

:GYMDUMB_5618
if 
  $incmusclestatdb == 7
goto_if_false @GYMDUMB_5646
$dumb_front_back = 6.0

:GYMDUMB_5646
if 
  $incmusclestatdb == 8
goto_if_false @GYMDUMB_5674
$dumb_front_back = 7.0

:GYMDUMB_5674
if 
  $incmusclestatdb == 9
goto_if_false @GYMDUMB_5702
$dumb_front_back = 8.0

:GYMDUMB_5702
if 
  $incmusclestatdb == 10
goto_if_false @GYMDUMB_5730
$dumb_front_back = 9.0

:GYMDUMB_5730
if 
  200.0 > $release_time
goto_if_false @GYMDUMB_6031
if 
  $incmusclestatdb == 1
goto_if_false @GYMDUMB_5779
$dumb_front_back = 5.0

:GYMDUMB_5779
if 
  $incmusclestatdb == 2
goto_if_false @GYMDUMB_5807
$dumb_front_back = 5.2

:GYMDUMB_5807
if 
  $incmusclestatdb == 3
goto_if_false @GYMDUMB_5835
$dumb_front_back = 5.3

:GYMDUMB_5835
if 
  $incmusclestatdb == 4
goto_if_false @GYMDUMB_5863
$dumb_front_back = 5.5

:GYMDUMB_5863
if 
  $incmusclestatdb == 5
goto_if_false @GYMDUMB_5891
$dumb_front_back = 6.0

:GYMDUMB_5891
if 
  $incmusclestatdb == 6
goto_if_false @GYMDUMB_5919
$dumb_front_back = 6.5

:GYMDUMB_5919
if 
  $incmusclestatdb == 7
goto_if_false @GYMDUMB_5947
$dumb_front_back = 7.0

:GYMDUMB_5947
if 
  $incmusclestatdb == 8
goto_if_false @GYMDUMB_5975
$dumb_front_back = 7.5

:GYMDUMB_5975
if 
  $incmusclestatdb == 9
goto_if_false @GYMDUMB_6003
$dumb_front_back = 8.0

:GYMDUMB_6003
if 
  $incmusclestatdb == 10
goto_if_false @GYMDUMB_6031
$dumb_front_back = 8.5

:GYMDUMB_6031
if 
  $bball_frame_count == 8
goto_if_false @GYMDUMB_6078
$bball_frame_count = 0
Stat.IncrementFloat(StatId.BodyMuscle, $dumb_front_back)
add_float_var_to_float_var $cutscene_skip_CUT += $dumb_front_back
goto @GYMDUMB_6100

:GYMDUMB_6078
Stat.IncrementFloatNoMessage(StatId.BodyMuscle, $dumb_front_back)
$bball_frame_count += 1
add_float_var_to_float_var $cutscene_skip_CUT += $dumb_front_back

:GYMDUMB_6100
if 
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMDUMB_6145
$burglary_female_decision, $burglary_gang_decision = Clock.GetCurrentDate()
Text.PrintNow('GYM1_1B', 4000, 1)

:GYMDUMB_6145
$flag_player_on_oddjob = Stat.GetFloat(StatId.Fat)
if 
  $flag_player_on_oddjob >= 1.0
goto_if_false @GYMDUMB_6182
Stat.DecrementFloat(StatId.Fat, 1.0)

:GYMDUMB_6182
Pad.Shake(PadId.Pad1, 200, 200)
$anim_release_time = Char.SetSayContext($stattreadstamina_ctr, 350)
Task.PlayAnim($stattreadstamina_ctr, "GYM_FREE_DOWN", "FREEWEIGHTS", 8.0, False, False, False, True, -1)
$upperbodymusclestat_gym = 4

:GYMDUMB_6258
if and
  $upperbodymusclestat_gym == 4
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_6581
if 
  $temp_dumb_weight == 0.0
goto_if_false @GYMDUMB_6581
if 
  $animationtobeplayed == 0.0
goto_if_false @GYMDUMB_6581
cset_var_float_to_var_int $dumb_weight =# $reps_dumbellfloat
set_var_float_to_var_float $animframe_freegetoff = $dumb_has_KD
sub_float_var_from_float_var $animframe_freegetoff -= $powerdumbell
if 
  18.0 >= $animframe_freegetoff
goto_if_false @GYMDUMB_6413
Task.PlayAnim($stattreadstamina_ctr, "GYM_FREE_B", "FREEWEIGHTS", 8.0, False, False, False, True, -1)

:GYMDUMB_6413
if 
  $animframe_freegetoff > 18.0
goto_if_false @GYMDUMB_6500
if 
  24.0 >= $animframe_freegetoff
goto_if_false @GYMDUMB_6500
Task.PlayAnim($stattreadstamina_ctr, "GYM_FREE_A", "FREEWEIGHTS", 8.0, False, False, False, True, -1)

:GYMDUMB_6500
if 
  $animframe_freegetoff > 24.0
goto_if_false @GYMDUMB_6574
Task.PlayAnim($stattreadstamina_ctr, "GYM_FREE_UP_SMOOTH", "FREEWEIGHTS", 8.0, False, False, False, True, -1)

:GYMDUMB_6574
$upperbodymusclestat_gym = 1

:GYMDUMB_6581
set_var_float_to_var_float $animframe_bppickup = $temp_dumb_weight
$animframe_bppickup /= 100.0
if and
  $upperbodymusclestat_gym > 0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_6959
set_var_float_to_var_float $animframe_bpgetoff = $animframe_bppickup
sub_float_var_from_float_var $animframe_bpgetoff -= $animationtobeplayed
$animframe_bpgetoff /= 2.0
if and
  0.05 > $animframe_bpgetoff
  $animframe_bpgetoff > -0.05
goto_if_false @GYMDUMB_6694
set_var_float_to_var_float $animationtobeplayed = $animframe_bppickup
goto @GYMDUMB_6702

:GYMDUMB_6694
add_float_var_to_float_var $animationtobeplayed += $animframe_bpgetoff

:GYMDUMB_6702
if 
  $upperbodymusclestat_gym == 4
goto_if_false @GYMDUMB_6799
$animframe_freepickup = 1.0
sub_float_var_from_float_var $animframe_freepickup -= $animationtobeplayed
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_FREE_DOWN")
goto_if_false @GYMDUMB_6792
Char.SetAnimCurrentTime($stattreadstamina_ctr, "GYM_FREE_DOWN", $animframe_freepickup)

:GYMDUMB_6792
goto @GYMDUMB_6959

:GYMDUMB_6799
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_FREE_A")
goto_if_false @GYMDUMB_6847
Char.SetAnimCurrentTime($stattreadstamina_ctr, "GYM_FREE_A", $animationtobeplayed)

:GYMDUMB_6847
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_FREE_B")
goto_if_false @GYMDUMB_6895
Char.SetAnimCurrentTime($stattreadstamina_ctr, "GYM_FREE_B", $animationtobeplayed)

:GYMDUMB_6895
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_FREE_UP_SMOOTH")
goto_if_false @GYMDUMB_6959
Char.SetAnimCurrentTime($stattreadstamina_ctr, "GYM_FREE_UP_SMOOTH", $animationtobeplayed)

:GYMDUMB_6959
cset_var_int_to_var_float $tempfloat_gym =# $temp_dumb_weight
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMDUMB_7134
$tempfloat_gym = 0

:GYMDUMB_7001
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GYMDUMB_7029
wait 0
goto @GYMDUMB_7001

:GYMDUMB_7029
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_7096
Task.PlayAnim($stattreadstamina_ctr, "GYM_FREE_PUTDOWN", "FREEWEIGHTS", 100.0, False, False, False, False, -1)

:GYMDUMB_7096
if 
  $cutscene_skip_CUT > 200.0
goto_if_false @GYMDUMB_7127
$cutscene_skip_CUT = 0.0

:GYMDUMB_7127
$reptread_flag = 6

:GYMDUMB_7134
if and
  $reptread_flag == 6
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_7998
if 
  $reps_dumbellfloat >= 0
goto_if_false @GYMDUMB_7781
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GYM_FREE_PUTDOWN")
goto_if_false @GYMDUMB_7774
$starttreadmill_flag = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_FREE_PUTDOWN")

:GYMDUMB_7235
if 
  $starttreadmill_flag <= 0.3
goto_if_false @GYMDUMB_7309
wait 0
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_7302
$starttreadmill_flag = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_FREE_PUTDOWN")

:GYMDUMB_7302
goto @GYMDUMB_7235

:GYMDUMB_7309
Char.DropObject($stattreadstamina_ctr, False)
Char.DropSecondObject($stattreadstamina_ctr, False)
Object.AttachToObject(25@, 0@, 0.0, 0.2, 0.3, 0.0, 90.0, 90.0)
Object.AttachToObject(26@, 0@, 0.0, -0.2, 0.3, 0.0, 90.0, 90.0)
$bar_animvalue = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GYM_FREE_PUTDOWN")
if and
  $bar_animvalue == 1.0
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_7774
if 
  $reps_dumbellfloat > 4
goto_if_false @GYMDUMB_7522
Task.PlayAnim($stattreadstamina_ctr, "GYM_FREE_CELEBRATE", "FREEWEIGHTS", 8.0, False, False, False, False, -1)

:GYMDUMB_7522
17@ = 0
$upperbodymusclestat_gym = 0
21@ = 1
$incmusclestatdb = 1
$reps_dumbellfloat = 0
$tempfloat_gym = 0
$animframe_freegetoff = 0.0
$reptread_flag = 0
$temp_dumb_weight = 0.0
$incmusclestatdb = 1
$reps_dumbellfloat = 0
$bar_animvalue = 0.0
$playerexercising_flag = 0.0
$diffgym = Stat.GetFloat(StatId.BodyMuscle)
if 
  $diffgym >= 1000.0
goto_if_false @GYMDUMB_7662
Stat.SetFloat(StatId.BodyMuscle, 1000.0)

:GYMDUMB_7662
$flag_player_on_oddjob = Stat.GetFloat(StatId.Fat)
if 
  0.0 >= $flag_player_on_oddjob
goto_if_false @GYMDUMB_7699
Stat.SetFloat(StatId.Fat, 0.0)

:GYMDUMB_7699
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @GYMDUMB_7741
Hud.ClearCounter($reps_dumbellfloat)
Hud.ClearCounter($tempfloat_gym)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Char.SetCollision($stattreadstamina_ctr, True)

:GYMDUMB_7741
Streaming.RemoveAnimation("FREEWEIGHTS")
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Menu.Delete($reps_dumbell)
Text.ClearHelp
$inclinebutton_flag = 0

:GYMDUMB_7774
goto @GYMDUMB_7998

:GYMDUMB_7781
17@ = 0
$upperbodymusclestat_gym = 0
21@ = 1
$incmusclestatdb = 1
$reps_dumbellfloat = 0
$tempfloat_gym = 0
$animframe_freegetoff = 0.0
$reptread_flag = 0
$temp_dumb_weight = 0.0
$incmusclestatdb = 1
$reps_dumbellfloat = 0
$bar_animvalue = 0.0
$playerexercising_flag = 0.0
$diffgym = Stat.GetFloat(StatId.BodyMuscle)
if 
  $diffgym >= 1000.0
goto_if_false @GYMDUMB_7921
Stat.SetFloat(StatId.BodyMuscle, 1000.0)

:GYMDUMB_7921
$flag_player_on_oddjob = Stat.GetFloat(StatId.Fat)
if 
  0.0 >= $flag_player_on_oddjob
goto_if_false @GYMDUMB_7958
Stat.SetFloat(StatId.Fat, 0.0)

:GYMDUMB_7958
Hud.ClearCounter($reps_dumbellfloat)
Hud.ClearCounter($tempfloat_gym)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Char.SetCollision($stattreadstamina_ctr, True)
Menu.Delete($reps_dumbell)
Text.ClearHelp
$inclinebutton_flag = 0

:GYMDUMB_7998
goto @GYMDUMB_701
terminate_this_script 

//-------------External script 15 (BASKETB)---------------

:BBALL
script_name 'BBALL'
if 
  $g_Quarry_CashPickupValueKM <> 0
goto_if_false @BBALL_31
terminate_this_script 

:BBALL_31
16@ = 0
17@ = 0
18@ = 0
20@ = 0
22@ = 0
$bball_court_z = 0
19@ = 0
21@ = 0
$points_scored = 0
if 
  16@ == -1
goto_if_false @BBALL_178
0@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
1@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
$bball_camera_type = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)

:BBALL_178
24@ = 0
if 
  $zero_revenue <> 0
goto_if_false @BBALL_451
if 
  Object.DoesExist(0@)
goto_if_false @BBALL_451
if and
  Player.IsPlaying($statbike_temp)
  $weapon_shop1_blip == 0
goto_if_false @BBALL_451
if 
  Object.DoesHaveThisModel(0@, #BSKBALL_LAX)
goto_if_false @BBALL_296
if 
  Streaming.HasModelLoaded(#BSKBALL_LAX)
goto_if_false @BBALL_289
23@ = -30
24@ = 1

:BBALL_289
goto @BBALL_451

:BBALL_296
if 
  Object.DoesHaveThisModel(0@, #BSKBALLHUB_LAX01)
goto_if_false @BBALL_350
if 
  Streaming.HasModelLoaded(#BSKBALLHUB_LAX01)
goto_if_false @BBALL_343
23@ = -31
24@ = 1

:BBALL_343
goto @BBALL_451

:BBALL_350
if 
  Object.DoesHaveThisModel(0@, #VGSXREFBBALLNET)
goto_if_false @BBALL_404
if 
  Streaming.HasModelLoaded(#VGSXREFBBALLNET)
goto_if_false @BBALL_397
23@ = -32
24@ = 1

:BBALL_397
goto @BBALL_451

:BBALL_404
if 
  Object.DoesHaveThisModel(0@, #VGSXREFBBALLNET2)
goto_if_false @BBALL_451
if 
  Streaming.HasModelLoaded(#VGSXREFBBALLNET2)
goto_if_false @BBALL_451
23@ = -33
24@ = 1

:BBALL_451
if 
  24@ == 1
goto_if_false @BBALL_2479
switch_start 16@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @BBALL_2472 {caseNum1} 0 {caseLabel1} @BBALL_532 {caseNum2} 1 {caseLabel2} @BBALL_777 {caseNum3} 2 {caseLabel3} @BBALL_1293 {caseNum4} 3 {caseLabel4} @BBALL_1968 {caseNum5} -1 {caseLabel5} @BBALL_2472 {caseNum6} -1 {caseLabel6} @BBALL_2472 {caseNum7} -1 {caseLabel7} @BBALL_2472

:BBALL_532
if 
  $g_Quarry_CashPickupValueKM == 0
goto_if_false @BBALL_763
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 50.0, 50.0, False)
goto_if_false @BBALL_756
if 
  not Object.DoesExist(1@)
goto_if_false @BBALL_756
if 
  Streaming.HasModelLoaded(23@)
goto_if_false @BBALL_756
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 1)
if 
  not Camera.IsPointOnScreen($on_footY, $on_footZ, $in_carX, 2.0)
goto_if_false @BBALL_756
$in_carX += 1.0
World.ClearArea($on_footY, $on_footZ, $in_carX, 0.5, False)
1@ = Object.CreateNoOffset(#BBALL_COL, $on_footY, $on_footZ, $in_carX)
19@ = 1
Object.SetDynamic(1@, True)
Object.SetCollision(1@, True)
Object.SetVelocity(1@, 0.0, 0.0, -0.1)
$g_Quarry_CashPickupValueKM = 1
16@ += 1

:BBALL_756
goto @BBALL_770

:BBALL_763
gosub @BBALL_2504

:BBALL_770
goto @BBALL_2472

:BBALL_777
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 50.0, 50.0, False)
goto_if_false @BBALL_1267
if 
  Object.DoesExist(1@)
goto_if_false @BBALL_1260
if 
  Char.LocateOnFootObject3D($stattreadstamina_ctr, 1@, 1.0, 1.0, 2.0, False)
goto_if_false @BBALL_1260
if 
  Streaming.HasModelLoaded(23@)
goto_if_false @BBALL_1260
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 2)
5@, 6@, 7@ = Object.GetLevelDesignCoords(0@, 3)
if 
  Object.IsInArea3D(1@, 2@, 3@, 4@, 5@, 6@, 7@, False)
goto_if_false @BBALL_1220
if 
  Char.LocateOnFootObject3D($stattreadstamina_ctr, 1@, 0.7, 0.7, 2.0, False)
goto_if_false @BBALL_1213
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(1@)
set_lvar_float_to_var_float 2@ = $on_footY
2@ -= 0.71
set_lvar_float_to_var_float 3@ = $on_footZ
3@ -= 0.71
set_lvar_float_to_var_float 4@ = $in_carX
4@ -= 0.71
set_lvar_float_to_var_float 5@ = $on_footY
5@ += 0.71
set_lvar_float_to_var_float 6@ = $on_footZ
6@ += 0.71
set_lvar_float_to_var_float 7@ = $in_carX
7@ += 2.0
if 
  not World.IsAreaOccupied(2@, 3@, 4@, 5@, 6@, 7@, False, True, False, False, False)
goto_if_false @BBALL_1213
if 
  not Player.IsUsingJetpack($statbike_temp)
goto_if_false @BBALL_1213
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1833)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_1213
Pad.SetPlayerEnterCarButton($statbike_temp, False)
Text.PrintHelpForever('BB_01')
16@ += 1

:BBALL_1213
goto @BBALL_1260

:BBALL_1220
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 1)
$in_carX += 1.0
Object.SetCoordinates(1@, $on_footY, $on_footZ, $in_carX)

:BBALL_1260
goto @BBALL_1286

:BBALL_1267
Object.MarkAsNoLongerNeeded(1@)
16@ = 0
$g_Quarry_CashPickupValueKM = 0

:BBALL_1286
goto @BBALL_2472

:BBALL_1293
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 50.0, 50.0, False)
goto_if_false @BBALL_1935
if 
  Object.DoesExist(1@)
goto_if_false @BBALL_1902
if 
  not Player.IsUsingJetpack($statbike_temp)
goto_if_false @BBALL_1879
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1833)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_1856
if 
  Streaming.HasModelLoaded(23@)
goto_if_false @BBALL_1833
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 2)
5@, 6@, 7@ = Object.GetLevelDesignCoords(0@, 3)
if 
  Object.IsInArea3D(1@, 2@, 3@, 4@, 5@, 6@, 7@, False)
goto_if_false @BBALL_1810
if 
  Char.LocateOnFootObject3D($stattreadstamina_ctr, 1@, 0.7, 0.7, 2.0, False)
goto_if_false @BBALL_1787
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(1@)
set_lvar_float_to_var_float 2@ = $on_footY
2@ -= 0.71
set_lvar_float_to_var_float 3@ = $on_footZ
3@ -= 0.71
set_lvar_float_to_var_float 4@ = $in_carX
4@ -= 0.71
set_lvar_float_to_var_float 5@ = $on_footY
5@ += 0.71
set_lvar_float_to_var_float 6@ = $on_footZ
6@ += 0.71
set_lvar_float_to_var_float 7@ = $in_carX
7@ += 2.0
if 
  not World.IsAreaOccupied(2@, 3@, 4@, 5@, 6@, 7@, False, True, False, False, False)
goto_if_false @BBALL_1764
if 
  20@ == 0
goto_if_false @BBALL_1733
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BBALL_1726
20@ = 1
Text.ClearHelp
gosub @BBALL_3792
16@ += 1

:BBALL_1726
goto @BBALL_1757

:BBALL_1733
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BBALL_1757
20@ = 0

:BBALL_1757
goto @BBALL_1780

:BBALL_1764
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Text.ClearHelp
16@ += -1

:BBALL_1780
goto @BBALL_1803

:BBALL_1787
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Text.ClearHelp
16@ += -1

:BBALL_1803
goto @BBALL_1826

:BBALL_1810
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Text.ClearHelp
16@ += -1

:BBALL_1826
goto @BBALL_1849

:BBALL_1833
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Text.ClearHelp
16@ += -1

:BBALL_1849
goto @BBALL_1872

:BBALL_1856
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Text.ClearHelp
16@ += -1

:BBALL_1872
goto @BBALL_1895

:BBALL_1879
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Text.ClearHelp
16@ += -1

:BBALL_1895
goto @BBALL_1928

:BBALL_1902
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Object.MarkAsNoLongerNeeded(1@)
$g_Quarry_CashPickupValueKM = 0
16@ = 0

:BBALL_1928
goto @BBALL_1961

:BBALL_1935
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Object.MarkAsNoLongerNeeded(1@)
$g_Quarry_CashPickupValueKM = 0
16@ = 0

:BBALL_1961
goto @BBALL_2472

:BBALL_1968
if 
  Streaming.HasModelLoaded(23@)
goto_if_false @BBALL_2465
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 2)
5@, 6@, 7@ = Object.GetLevelDesignCoords(0@, 3)
if 
  not Char.IsInArea3D($stattreadstamina_ctr, 2@, 3@, 4@, 5@, 6@, 7@, False)
goto_if_false @BBALL_2151
if 
  6000 > TIMERB
goto_if_false @BBALL_2130
if and
  TIMERB > 0
  1000 > TIMERB
goto_if_false @BBALL_2116
Text.PrintHelpForever('BB_03')
TIMERB = 1000

:BBALL_2116
gosub @BBALL_4523
goto @BBALL_2144

:BBALL_2130
gosub @BBALL_5124
16@ = 1

:BBALL_2144
goto @BBALL_2186

:BBALL_2151
if 
  TIMERB > 1000
goto_if_false @BBALL_2172
Text.ClearHelp

:BBALL_2172
gosub @BBALL_4523
TIMERB = 0

:BBALL_2186
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBALL_2234
if 
  Char.HasBeenDamagedByWeapon($stattreadstamina_ctr, WeaponType.AnyWeapon)
goto_if_false @BBALL_2234
gosub @BBALL_5124
16@ = 1

:BBALL_2234
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBALL_2280
if 
  Player.IsUsingJetpack($statbike_temp)
goto_if_false @BBALL_2280
gosub @BBALL_5124
16@ = 1

:BBALL_2280
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBALL_2339
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1833)
if 
  not is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_2339
gosub @BBALL_5124
16@ = 1

:BBALL_2339
if and
  17@ <> 10
  17@ <> 16
  17@ <> 17
  17@ <> 4
goto_if_false @BBALL_2465
if 
  20@ == 0
goto_if_false @BBALL_2441
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BBALL_2434
20@ = 1
gosub @BBALL_5124
16@ = 1

:BBALL_2434
goto @BBALL_2465

:BBALL_2441
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BBALL_2465
20@ = 0

:BBALL_2465
goto @BBALL_2472

:BBALL_2472
goto @BBALL_2493

:BBALL_2479
$g_Quarry_CashPickupValueKM = 0
gosub @BBALL_2504

:BBALL_2493
wait 0
goto @BBALL_178

:BBALL_2504
Object.MarkAsNoLongerNeeded(1@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBALL_2550
if 
  $weapon_shop1_blip == 0
goto_if_false @BBALL_2550
Pad.SetPlayerEnterCarButton($statbike_temp, True)

:BBALL_2550
terminate_this_script 
return 
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @BBALL_2580
$bball_stored_weapon += 0.01

:BBALL_2580
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @BBALL_2606
$bball_stored_weapon += -0.01

:BBALL_2606
return 

:BBALL_2608
if 
  Object.DoesExist(1@)
goto_if_false @BBALL_2962
if 
  Object.IsAttached(1@)
goto_if_false @BBALL_2831
if 
  19@ == 1
goto_if_false @BBALL_2824
Object.Detach(1@, 0.0, 0.0, 0.0, False)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(1@)
2@, 3@, 4@ = Object.GetVelocity(1@)
5@, 6@, 7@ = Object.GetRotationVelocity(1@)
Object.Delete(1@)
1@ = Object.CreateNoOffset(#BBALL_INGAME, $on_footY, $on_footZ, $in_carX)
Object.AttachToChar(1@, $stattreadstamina_ctr, 0.0, 0.5, -1.0, 0.0, 0.0, 0.0)
Object.SetVelocity(1@, 2@, 3@, 4@)
5@, 6@, 7@ = Object.GetRotationVelocity(1@)
Object.SetCollision(1@, True)
19@ = 0

:BBALL_2824
goto @BBALL_2962

:BBALL_2831
if 
  19@ == 0
goto_if_false @BBALL_2962
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(1@)
2@, 3@, 4@ = Object.GetVelocity(1@)
5@, 6@, 7@ = Object.GetRotationVelocity(1@)
Object.Delete(1@)
1@ = Object.CreateNoOffset(#BBALL_COL, $on_footY, $on_footZ, $in_carX)
Object.SetDynamic(1@, True)
Object.SetCollision(1@, True)
Object.SetVelocity(1@, 2@, 3@, 4@)
5@, 6@, 7@ = Object.GetRotationVelocity(1@)
19@ = 1

:BBALL_2962
return 

:BBALL_2964
if 
  Object.DoesExist(1@)
goto_if_false @BBALL_3790
if 
  Object.IsAttached(1@)
goto_if_false @BBALL_3187
if 
  19@ == 1
goto_if_false @BBALL_3180
Object.Detach(1@, 0.0, 0.0, 0.0, False)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(1@)
2@, 3@, 4@ = Object.GetVelocity(1@)
5@, 6@, 7@ = Object.GetRotationVelocity(1@)
Object.Delete(1@)
1@ = Object.CreateNoOffset(#BBALL_INGAME, $on_footY, $on_footZ, $in_carX)
Object.AttachToChar(1@, $stattreadstamina_ctr, 0.0, 0.5, -1.0, 0.0, 0.0, 0.0)
Object.SetVelocity(1@, 2@, 3@, 4@)
5@, 6@, 7@ = Object.GetRotationVelocity(1@)
Object.SetCollision(1@, True)
19@ = 0

:BBALL_3180
goto @BBALL_3790

:BBALL_3187
if 
  19@ == 0
goto_if_false @BBALL_3790
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.5, 0.0)
set_lvar_float_to_var_float 2@ = $on_footY
2@ -= 0.1
set_lvar_float_to_var_float 5@ = $on_footY
5@ += 0.1
set_lvar_float_to_var_float 3@ = $on_footZ
3@ -= 0.1
set_lvar_float_to_var_float 6@ = $on_footZ
6@ += 0.1
set_lvar_float_to_var_float 4@ = $in_carX
4@ -= 0.5
set_lvar_float_to_var_float 7@ = $in_carX
7@ += 1.0
if 
  not World.IsAreaOccupied(2@, 3@, 4@, 5@, 6@, 7@, False, True, False, False, False)
goto_if_false @BBALL_3495
2@, 3@, 4@ = Object.GetVelocity(1@)
5@, 6@, 7@ = Object.GetRotationVelocity(1@)
Object.Delete(1@)
1@ = Object.CreateNoOffset(#BBALL_COL, $on_footY, $on_footZ, $in_carX)
Object.SetDynamic(1@, True)
Object.SetCollision(1@, True)
Object.SetVelocity(1@, 0.0, 0.0, -0.1)
5@, 6@, 7@ = Object.GetRotationVelocity(1@)
19@ = 1
goto @BBALL_3790

:BBALL_3495
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, -2.0, -0.3)
set_lvar_float_to_var_float 2@ = $on_footY
2@ -= 0.1
set_lvar_float_to_var_float 5@ = $on_footY
5@ += 0.1
set_lvar_float_to_var_float 3@ = $on_footZ
3@ -= 0.1
set_lvar_float_to_var_float 6@ = $on_footZ
6@ += 0.1
set_lvar_float_to_var_float 4@ = $in_carX
4@ -= 0.5
set_lvar_float_to_var_float 7@ = $in_carX
7@ += 1.0
if 
  not World.IsAreaOccupied(2@, 3@, 4@, 5@, 6@, 7@, False, True, False, False, False)
goto_if_false @BBALL_3785
2@, 3@, 4@ = Object.GetVelocity(1@)
5@, 6@, 7@ = Object.GetRotationVelocity(1@)
Object.Delete(1@)
1@ = Object.CreateNoOffset(#BBALL_COL, $on_footY, $on_footZ, $in_carX)
Object.SetDynamic(1@, True)
Object.SetCollision(1@, True)
Object.SetVelocity(1@, 0.0, 0.0, -0.1)
5@, 6@, 7@ = Object.GetRotationVelocity(1@)
19@ = 1
goto @BBALL_3790

:BBALL_3785
Object.Delete(1@)

:BBALL_3790
return 

:BBALL_3792
Game.SetMinigameInProgress(True)
Text.DisplayNonMinigameHelpMessages(True)
$bball_stored_weapon = 0.4
Pad.SetPlayerEnterCarButton($statbike_temp, False)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBALL_3965
Player.SetControl($statbike_temp, False)
Char.ClearTasks($stattreadstamina_ctr)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Char.ClearLastWeaponDamage($stattreadstamina_ctr)
$roll_along_back_flag = Char.GetCurrentWeapon($stattreadstamina_ctr)
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles)
goto_if_false @BBALL_3944
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles)
$spin_on_finger_flag = 1
Streaming.RequestModel(331)

:BBALL_3910
if 
  not Streaming.HasModelLoaded(331)
goto_if_false @BBALL_3937
wait 0
goto @BBALL_3910

:BBALL_3937
goto @BBALL_3951

:BBALL_3944
$spin_on_finger_flag = 0

:BBALL_3951
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Pad.SetPlayerCycleWeaponButton($statbike_temp, False)

:BBALL_3965
if 
  Object.DoesExist(1@)
goto_if_false @BBALL_3988
Object.FreezePosition(1@, True)

:BBALL_3988
Streaming.RequestAnimation("BSKTBALL")
Streaming.RequestModel(#BBALL_INGAME)
Streaming.RequestModel(#BBALL_COL)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1811)

:BBALL_4017
if or
  not Streaming.HasAnimationLoaded("BSKTBALL")
  not Streaming.HasModelLoaded(#BBALL_INGAME)
  not Streaming.HasModelLoaded(#BBALL_COL)
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @BBALL_4065
wait 0
goto @BBALL_4017

:BBALL_4065
10@, 11@, 12@ = Camera.GetActiveCoordinates()
13@, 14@, 15@ = Camera.GetActivePointAt()
set_var_float_to_lvar_float $on_footY = 13@
sub_float_lvar_from_float_var $on_footY -= 10@
set_var_float_to_lvar_float $on_footZ = 14@
sub_float_lvar_from_float_var $on_footZ -= 11@
set_var_float_to_lvar_float $in_carX = 15@
sub_float_lvar_from_float_var $in_carX -= 12@
$heading = Math.GetDistanceBetweenCoords3D(13@, 14@, 15@, 10@, 11@, 12@)
div_float_var_by_float_var $on_footY /= $heading
div_float_var_by_float_var $on_footZ /= $heading
div_float_var_by_float_var $in_carX /= $heading
$on_footY *= 10.0
$on_footZ *= 10.0
$in_carX *= 10.0
set_lvar_float_to_lvar_float 13@ = 10@
add_float_var_to_float_lvar 13@ += $on_footY
set_lvar_float_to_lvar_float 14@ = 11@
add_float_var_to_float_lvar 14@ += $on_footZ
set_lvar_float_to_lvar_float 15@ = 12@
add_float_var_to_float_lvar 15@ += $in_carX
TIMERA = 0
$points_scored = 0
17@ = 10
$bball_court_z = 1
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBALL_4340
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
set_var_float_to_var_float $walk_with_ball_flag = $in_carX

:BBALL_4340
8@ = Object.GetHeading(0@)
if or
  10.0 > 8@
  8@ > 350.0
goto_if_false @BBALL_4386
$walk_with_ball_start_position = 1

:BBALL_4386
if and
  8@ > 80.0
  100.0 > 8@
goto_if_false @BBALL_4424
$walk_with_ball_start_position = 2

:BBALL_4424
if and
  8@ > 170.0
  190.0 > 8@
goto_if_false @BBALL_4462
$walk_with_ball_start_position = 3

:BBALL_4462
if and
  8@ > 260.0
  280.0 > 8@
goto_if_false @BBALL_4500
$walk_with_ball_start_position = 4

:BBALL_4500
World.SetPedDensityMultiplier(0.2)
World.SetCarDensityMultiplier(0.2)
$hoop_direction = 1
return 

:BBALL_4523
$bball_player_has_brassknuckle += 1
if 
  $bball_player_has_brassknuckle >= 30
goto_if_false @BBALL_4555
$bball_player_has_brassknuckle = 0

:BBALL_4555
gosub @BBALL_16494
gosub @BBALL_18093
gosub @BBALL_5529
gosub @BBALL_12355
if 
is_ps2_keyboard_key_just_pressed 67
goto_if_false @BBALL_4605
gosub @BBALL_21051

:BBALL_4605
if 
  3 > $points_scored
goto_if_false @BBALL_4848
if 
  $points_scored == 0
goto_if_false @BBALL_4684
if 
  $bball_help == 0
goto_if_false @BBALL_4670
Text.PrintHelp('BB_02')

:BBALL_4670
$points_scored += 1
TIMERA = 0

:BBALL_4684
if and
  $points_scored == 1
  TIMERA > 10000
goto_if_false @BBALL_4753
if 
  $bball_help == 0
goto_if_false @BBALL_4739
Text.PrintHelp('BB_07')

:BBALL_4739
TIMERA = 0
$points_scored += 1

:BBALL_4753
if and
  $points_scored == 2
  TIMERA > 5000
goto_if_false @BBALL_4848
if or
  Object.DoesHaveThisModel(0@, #BSKBALL_LAX)
  Object.DoesHaveThisModel(0@, #VGSXREFBBALLNET)
goto_if_false @BBALL_4833
if 
  $bball_help == 0
goto_if_false @BBALL_4833
Text.PrintHelp('BB_09')

:BBALL_4833
TIMERA = 12000
$points_scored += 1

:BBALL_4848
if or
  Object.DoesHaveThisModel(0@, #BSKBALL_LAX)
  Object.DoesHaveThisModel(0@, #VGSXREFBBALLNET)
goto_if_false @BBALL_4975
if 
  $bball_help == 0
goto_if_false @BBALL_4975
if 
  $lowrider_level == 0
goto_if_false @BBALL_4951
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @BBALL_4944
$lowrider_level = 1
start_new_script @BBCHAL 0@ 

:BBALL_4944
goto @BBALL_4975

:BBALL_4951
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Rightshock)
goto_if_false @BBALL_4975
$lowrider_level = 0

:BBALL_4975
if 
  $bball_player_has_brassknuckle == 0
goto_if_false @BBALL_5122
if 
  Object.DoesExist(1@)
goto_if_false @BBALL_5122
if 
  not Object.IsAttached(1@)
goto_if_false @BBALL_5122
if 
  Streaming.HasModelLoaded(23@)
goto_if_false @BBALL_5122
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 1)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(1@)
set_lvar_float_to_lvar_float 8@ = 4@
8@ -= 0.7
if 
  is_float_lvar_greater_than_float_var 8@ > $in_carX
goto_if_false @BBALL_5122
Object.SetCoordinates(1@, 2@, 3@, 4@)

:BBALL_5122
return 

:BBALL_5124
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBALL_5527
if 
  $spin_on_finger_flag == 1
goto_if_false @BBALL_5179
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.BrassKnuckles, 1)
$spin_on_finger_flag = 0
Streaming.MarkModelAsNoLongerNeeded(331)

:BBALL_5179
Char.SetCurrentWeapon($stattreadstamina_ctr, $roll_along_back_flag)
if 
  Object.DoesExist(1@)
goto_if_false @BBALL_5248
if 
  Object.IsAttached(1@)
goto_if_false @BBALL_5248
Object.Detach(1@, 0.0, 0.0, 0.0, True)
gosub @BBALL_2964

:BBALL_5248
if 
  Object.DoesExist(1@)
goto_if_false @BBALL_5388
if 
  Streaming.HasModelLoaded(23@)
goto_if_false @BBALL_5328
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 1)
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 2)
5@, 6@, 7@ = Object.GetLevelDesignCoords(0@, 3)

:BBALL_5328
if 
  not Object.IsInArea3D(1@, 2@, 3@, 4@, 5@, 6@, 7@, False)
goto_if_false @BBALL_5388
$in_carX += 1.0
Object.SetCoordinates(1@, $on_footY, $on_footZ, $in_carX)

:BBALL_5388
if 
  Object.DoesExist($bball_camera_type)
goto_if_false @BBALL_5439
if 
  22@ == 1
goto_if_false @BBALL_5434
Char.DetachFromCar($stattreadstamina_ctr)
22@ = 0

:BBALL_5434
Object.Delete($bball_camera_type)

:BBALL_5439
Camera.Restore
$bball_court_z = 0
Streaming.RemoveAnimation("BSKTBALL")
Streaming.MarkModelAsNoLongerNeeded(#BBALL_INGAME)
Streaming.MarkModelAsNoLongerNeeded(#BBALL_COL)
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Text.ClearHelp
$hoop_direction = 0
World.SetPedDensityMultiplier(1.0)
World.SetCarDensityMultiplier(1.0)
Pad.SetPlayerCycleWeaponButton($statbike_temp, True)
Char.ClearTasks($stattreadstamina_ctr)
Pad.SetPlayerEnterCarButton($statbike_temp, True)
Player.SetControl($statbike_temp, True)
Game.SetMinigameInProgress(False)

:BBALL_5527
return 

:BBALL_5529
if and
  Player.IsPlaying($statbike_temp)
  Streaming.HasModelLoaded(23@)
goto_if_false @BBALL_12345
switch_start 17@ {numCases} 17 {hasDefaultCase} 1 {defaultLabel} @BBALL_12345 {caseNum1} 1 {caseLabel1} @BBALL_6613 {caseNum2} 2 {caseLabel2} @BBALL_7146 {caseNum3} 3 {caseLabel3} @BBALL_7556 {caseNum4} 4 {caseLabel4} @BBALL_8552 {caseNum5} 5 {caseLabel5} @BBALL_9043 {caseNum6} 6 {caseLabel6} @BBALL_9217 {caseNum7} 7 {caseLabel7} @BBALL_11459
switch_continued 8 {caseLabel1} @BBALL_11649 {caseNum2} 9 {caseLabel2} @BBALL_11849 {caseNum3} 10 {caseLabel3} @BBALL_11863 {caseNum4} 11 {caseLabel4} @BBALL_8362 {caseNum5} 12 {caseLabel5} @BBALL_11856 {caseNum6} 13 {caseLabel6} @BBALL_9167 {caseNum7} 14 {caseLabel7} @BBALL_5743 {caseNum8} 15 {caseLabel8} @BBALL_6177 {caseNum9} 16 {caseLabel9} @BBALL_9769
switch_continued 17 {caseLabel1} @BBALL_10758 {caseNum2} -1 {caseLabel2} @BBALL_12345 {caseNum3} -1 {caseLabel3} @BBALL_12345 {caseNum4} -1 {caseLabel4} @BBALL_12345 {caseNum5} -1 {caseLabel5} @BBALL_12345 {caseNum6} -1 {caseLabel6} @BBALL_12345 {caseNum7} -1 {caseLabel7} @BBALL_12345 {caseNum8} -1 {caseLabel8} @BBALL_12345 {caseNum9} -1 {caseLabel9} @BBALL_12345

:BBALL_5743
if 
  18@ <> 14
goto_if_false @BBALL_6007
24@ = 0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLELOOP")
goto_if_false @BBALL_5859
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_IDLELOOP")
if 
  8@ > 0.9
goto_if_false @BBALL_5859
24@ = 1
$run_with_ball_flag = 0

:BBALL_5859
if 
  24@ == 1
goto_if_false @BBALL_5993
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_IDLE", "BSKTBALL", 10000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "BBALL_IDLELOOP", "BSKTBALL", 10000.0, False, False, False, True, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)
goto @BBALL_6000

:BBALL_5993
goto @BBALL_12353

:BBALL_6000
goto @BBALL_6170

:BBALL_6007
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_6057
17@ = 11
goto @BBALL_5529
goto @BBALL_6170

:BBALL_6057
if 
  $run_with_ball_flag == 0
goto_if_false @BBALL_6117
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLE")
goto_if_false @BBALL_6110
$run_with_ball_flag += 1

:BBALL_6110
goto @BBALL_6170

:BBALL_6117
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLELOOP")
goto_if_false @BBALL_6170
17@ = 11
$run_with_ball_flag = 0
goto @BBALL_5529

:BBALL_6170
goto @BBALL_12345

:BBALL_6177
if 
  18@ <> 15
goto_if_false @BBALL_6442
24@ = 0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLELOOP")
goto_if_false @BBALL_6293
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_IDLELOOP")
if 
  8@ > 0.9
goto_if_false @BBALL_6293
$run_with_ball_start_position = 0
24@ = 1

:BBALL_6293
if 
  24@ == 1
goto_if_false @BBALL_6428
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_IDLE2", "BSKTBALL", 10000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "BBALL_IDLELOOP", "BSKTBALL", 10000.0, False, False, False, True, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)
goto @BBALL_6435

:BBALL_6428
goto @BBALL_12353

:BBALL_6435
goto @BBALL_6606

:BBALL_6442
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_6492
17@ = 11
goto @BBALL_5529
goto @BBALL_6606

:BBALL_6492
if 
  $run_with_ball_start_position == 0
goto_if_false @BBALL_6553
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLE2")
goto_if_false @BBALL_6546
$run_with_ball_start_position += 1

:BBALL_6546
goto @BBALL_6606

:BBALL_6553
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLELOOP")
goto_if_false @BBALL_6606
17@ = 11
$run_with_ball_start_position = 0
goto @BBALL_5529

:BBALL_6606
goto @BBALL_12345

:BBALL_6613
if or
  18@ == 11
  18@ == 2
  18@ == 3
  18@ == 10
goto_if_false @BBALL_7046
if and
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_PICKUP")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_SKIDSTOP_L")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_SKIDSTOP_R")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALKSTOP_L")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALKSTOP_R")
goto_if_false @BBALL_7032
$dunk_slide_distance = 0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_RUN")
goto_if_false @BBALL_6827
$bb_cam_vec_x = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_RUN")

:BBALL_6827
26@ = Sequence.Open()
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLELOOP")
goto_if_false @BBALL_6966
Task.PlayAnimNonInterruptable(-1, "BBALL_WALK_START", "BSKTBALL", 8.0, False, True, True, True, -1)
Task.PlayAnimNonInterruptable(-1, "BBALL_WALK", "BSKTBALL", 10000.0, True, True, True, False, -1)
$dunk_slide_distance = 1
goto @BBALL_7007

:BBALL_6966
Task.PlayAnimNonInterruptable(-1, "BBALL_WALK", "BSKTBALL", 8.0, True, True, True, False, -1)

:BBALL_7007
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)
goto @BBALL_7039

:BBALL_7032
goto @BBALL_12353

:BBALL_7039
goto @BBALL_7139

:BBALL_7046
if 
  $dunk_slide_distance == 0
goto_if_false @BBALL_7139
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALK")
goto_if_false @BBALL_7139
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_WALK")
Char.SetAnimCurrentTime($stattreadstamina_ctr, "BBALL_WALK", $bb_cam_vec_x)
$dunk_slide_distance += 1

:BBALL_7139
goto @BBALL_12345

:BBALL_7146
if or
  18@ == 11
  18@ == 1
  18@ == 3
  18@ == 10
goto_if_false @BBALL_7478
if 
  18@ == 11
goto_if_false @BBALL_7217
17@ = 1
goto @BBALL_5529

:BBALL_7217
if and
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_PICKUP")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_SKIDSTOP_L")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_SKIDSTOP_R")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALKSTOP_L")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALKSTOP_R")
goto_if_false @BBALL_7464
$bb_cam_vec_y = 0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALK")
goto_if_false @BBALL_7394
$bb_cam_vec_z = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_WALK")

:BBALL_7394
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_RUN", "BSKTBALL", 8.0, True, True, True, False, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)
goto @BBALL_7471

:BBALL_7464
goto @BBALL_12353

:BBALL_7471
goto @BBALL_7549

:BBALL_7478
if 
  $bb_cam_vec_y == 0
goto_if_false @BBALL_7549
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_RUN")
goto_if_false @BBALL_7549
Char.SetAnimCurrentTime($stattreadstamina_ctr, "BBALL_RUN", $bb_cam_vec_z)
$bb_cam_vec_y += 1

:BBALL_7549
goto @BBALL_12345

:BBALL_7556
if 
  18@ <> 3
goto_if_false @BBALL_8259
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_RUN")
goto_if_false @BBALL_7837
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_RUN")
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_RUN")
goto_if_false @BBALL_7837
26@ = Sequence.Open()
if 
  0.5 > 8@
goto_if_false @BBALL_7727
Task.PlayAnimNonInterruptable(-1, "BBALL_SKIDSTOP_R", "BSKTBALL", 6.0, False, True, True, True, -1)
goto @BBALL_7774

:BBALL_7727
Task.PlayAnimNonInterruptable(-1, "BBALL_SKIDSTOP_L", "BSKTBALL", 6.0, False, True, True, True, -1)

:BBALL_7774
Task.PlayAnimNonInterruptable(-1, "BBALL_IDLELOOP", "BSKTBALL", 10000.0, False, False, False, True, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)

:BBALL_7837
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALK")
goto_if_false @BBALL_8103
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_WALK")
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALK")
goto_if_false @BBALL_8103
26@ = Sequence.Open()
if 
  0.5 > 8@
goto_if_false @BBALL_7993
Task.PlayAnimNonInterruptable(-1, "BBALL_WALKSTOP_R", "BSKTBALL", 6.0, False, True, True, True, -1)
goto @BBALL_8040

:BBALL_7993
Task.PlayAnimNonInterruptable(-1, "BBALL_WALKSTOP_L", "BSKTBALL", 6.0, False, True, True, True, -1)

:BBALL_8040
Task.PlayAnimNonInterruptable(-1, "BBALL_IDLELOOP", "BSKTBALL", 10000.0, False, False, False, True, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)

:BBALL_8103
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALK_START")
goto_if_false @BBALL_8252
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_WALKSTOP_L", "BSKTBALL", 6.0, False, True, True, True, -1)
Task.PlayAnimNonInterruptable(-1, "BBALL_IDLELOOP", "BSKTBALL", 10000.0, False, False, False, True, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)

:BBALL_8252
goto @BBALL_8355

:BBALL_8259
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_8309
17@ = 11
goto @BBALL_12353
goto @BBALL_8355

:BBALL_8309
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLELOOP")
goto_if_false @BBALL_8355
17@ = 11
goto @BBALL_12353

:BBALL_8355
goto @BBALL_12345

:BBALL_8362
if 
  18@ <> 11
goto_if_false @BBALL_8448
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_IDLELOOP", "BSKTBALL", 10000.0, True, False, False, False, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)

:BBALL_8448
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_8545
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_IDLELOOP", "BSKTBALL", 10000.0, True, False, False, False, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)

:BBALL_8545
goto @BBALL_12345

:BBALL_8552
if 
  18@ <> 4
goto_if_false @BBALL_8945
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 0)
set_lvar_float_to_lvar_float 5@ = 2@
sub_float_var_from_float_lvar 5@ -= $on_footY
set_lvar_float_to_lvar_float 6@ = 3@
sub_float_var_from_float_lvar 6@ -= $on_footZ
$on_footX = Math.GetHeadingFromVector2D(5@, 6@)
set_var_float_to_var_float $dunc_glide_percent = $on_footX
26@ = Sequence.Open()
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 0)
Task.LookAtCoord(-1, $on_footY, $on_footZ, $in_carX, 2000)
if 
  18@ == 2
goto_if_false @BBALL_8874
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_RUN")
goto_if_false @BBALL_8752
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_RUN")

:BBALL_8752
if 
  0.5 > 8@
goto_if_false @BBALL_8827
Task.PlayAnimNonInterruptable(-1, "BBALL_SKIDSTOP_L", "BSKTBALL", 6.0, False, True, True, True, -1)
goto @BBALL_8874

:BBALL_8827
Task.PlayAnimNonInterruptable(-1, "BBALL_SKIDSTOP_R", "BSKTBALL", 6.0, False, True, True, True, -1)

:BBALL_8874
Task.PlayAnimNonInterruptable(-1, "BBALL_JUMP_SHOT", "BSKTBALL", 10000.0, False, False, False, False, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)
goto @BBALL_9036

:BBALL_8945
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_JUMP_SHOT")
goto_if_false @BBALL_9036
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_JUMP_SHOT")
if 
  is_float_lvar_greater_than_float_var 8@ > $bball_stored_weapon
goto_if_false @BBALL_9036
17@ = 6
goto @BBALL_12353

:BBALL_9036
goto @BBALL_12345

:BBALL_9043
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_JUMP_END")
goto_if_false @BBALL_9160
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_JUMP_CANCEL", "BSKTBALL", 10000.0, False, False, False, True, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)
17@ = 13
goto @BBALL_12353

:BBALL_9160
goto @BBALL_12345

:BBALL_9167
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_9210
17@ = 11
goto @BBALL_12353

:BBALL_9210
goto @BBALL_12345

:BBALL_9217
if 
  18@ <> 6
goto_if_false @BBALL_9679
if 
  Object.IsAttached(1@)
goto_if_false @BBALL_9672
Object.Detach(1@, 0.0, 0.0, 0.0, False)
gosub @BBALL_2608
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.04, 0.694, 1.75)
Object.SetCoordinates(1@, $on_footY, $on_footZ, $in_carX)
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 0)
8@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 2@, 3@)
cset_var_int_to_lvar_float $bball_throw_active =# 8@
set_lvar_float_to_var_float 7@ = $in_carX
cset_lvar_float_to_var_int 7@ =# $bball_throw_active
set_lvar_float_to_lvar_float 9@ = 8@
sub_float_lvar_from_float_lvar 9@ -= 7@
9@ *= 10.0
cset_var_int_to_lvar_float $g_Quarry_CashPickupKM =# 9@
if 
  8@ > 20.0
goto_if_false @BBALL_9445
8@ = 20.0

:BBALL_9445
8@ /= 20.0
8@ *= 5.0
9@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 2@, 3@)
if 
  9@ > 15.0
goto_if_false @BBALL_9513
9@ = 15.0

:BBALL_9513
mult_float_var_by_float_lvar $bball_is_active *= 9@
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(1@)
9@ = Stat.GetFloat(StatId.BodyMuscle)
9@ /= 1000.0
9@ += 1.0
9@ *= 0.15
if 
  is_float_lvar_greater_than_float_var 9@ > $bball_is_active
goto_if_false @BBALL_9635
start_new_script @PROJECT 1@ $on_footY $on_footZ $in_carX 2@ 3@ 4@ 8@ 0 0@ 
goto @BBALL_9672

:BBALL_9635
start_new_script @PROJECT 1@ $on_footY $on_footZ $in_carX 2@ 3@ 4@ 8@ 1 0@ 

:BBALL_9672
goto @BBALL_9762

:BBALL_9679
if 
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_JUMP_SHOT")
goto_if_false @BBALL_9762
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_9762
Player.SetControl($statbike_temp, True)
17@ = 12
goto @BBALL_12353

:BBALL_9762
goto @BBALL_12345

:BBALL_9769
if 
  18@ <> 16
goto_if_false @BBALL_10249
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 0)
set_lvar_float_to_var_float 5@ = $on_footY
sub_float_lvar_from_float_lvar 5@ -= 2@
set_lvar_float_to_var_float 6@ = $on_footZ
sub_float_lvar_from_float_lvar 6@ -= 3@
8@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 2@, 3@)
if 
  8@ > 0.01
goto_if_false @BBALL_9903
div_float_lvar_by_float_lvar 5@ /= 8@
div_float_lvar_by_float_lvar 6@ /= 8@

:BBALL_9903
5@ *= 0.01
6@ *= 0.01
set_var_float_to_lvar_float $on_footY = 2@
add_float_lvar_to_float_var $on_footY += 5@
set_var_float_to_lvar_float $on_footZ = 3@
add_float_lvar_to_float_var $on_footZ += 6@
set_var_float_to_lvar_float $in_carX = 4@
$in_carX -= 1.9
set_var_float_to_var_float $intrp_dest_x = $on_footY
set_var_float_to_var_float $intrp_dest_y = $on_footZ
set_var_float_to_var_float $intrp_dest_z = $in_carX
5@ *= -1.0
6@ *= -1.0
$on_footX = Math.GetHeadingFromVector2D(5@, 6@)
set_var_float_to_var_float $dunc_glide_percent = $on_footX
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_DNK_LNCH", "BSKTBALL", 4.0, False, True, True, True, -1)
Task.PlayAnimNonInterruptable(-1, "BBALL_DNK_GLI", "BSKTBALL", 1000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "BBALL_DNK", "BSKTBALL", 1000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "BBALL_DNK_LND", "BSKTBALL", 1000.0, False, False, False, False, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)
$intrp_start_x = 0.0
goto @BBALL_10751

:BBALL_10249
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_GLI")
goto_if_false @BBALL_10446
if 
  not Object.DoesExist($bball_camera_type)
goto_if_false @BBALL_10446
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 0)
$bb_new_camera_x = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 2@, 3@)
$intrp_start_x = 0.0
$on_footX = Char.GetHeading($stattreadstamina_ctr)
$bball_camera_type = Object.CreateNoOffset(#BBALL_INGAME, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($bball_camera_type, $on_footX)
Object.SetCollision($bball_camera_type, False)
Object.SetVisible($bball_camera_type, False)
Object.FreezePosition($bball_camera_type, True)
Char.AttachToObject($stattreadstamina_ctr, $bball_camera_type, 0.0, 0.0, 0.0, 0, 360.0, WeaponType.Unarmed)
22@ = 1

:BBALL_10446
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK")
goto_if_false @BBALL_10494
17@ = 17
goto @BBALL_12353
goto @BBALL_10571

:BBALL_10494
if 
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_GLI")
goto_if_false @BBALL_10571
if 
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_LNCH")
goto_if_false @BBALL_10571
17@ = 17
goto @BBALL_12353

:BBALL_10571
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_GLI")
goto_if_false @BBALL_10751
if 
  Object.DoesExist($bball_camera_type)
goto_if_false @BBALL_10751
if 
  $intrp_start_x > 1.0
goto_if_false @BBALL_10751
Char.ClearTasksImmediately($stattreadstamina_ctr)
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_DNK", "BSKTBALL", 1000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "BBALL_DNK_LND", "BSKTBALL", 1000.0, False, False, False, False, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)

:BBALL_10751
goto @BBALL_12345

:BBALL_10758
if 
  18@ <> 17
goto_if_false @BBALL_11166
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK")
goto_if_false @BBALL_11145
if 
  Object.IsAttached(1@)
goto_if_false @BBALL_11138
if 
  Object.IsPlayingAnim(1@, "BBALL_DNK_O")
goto_if_false @BBALL_11028
8@ = Object.GetAnimCurrentTime(1@, "BBALL_DNK_O")
if 
  8@ > 0.9
goto_if_false @BBALL_11007
Object.Detach(1@, 0.0, 0.0, 0.0, False)
gosub @BBALL_2608
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 0)
$in_carX += -0.5
Object.SetCoordinates(1@, $on_footY, $on_footZ, $in_carX)
Object.FreezePosition(1@, False)
Object.SetCollision(1@, True)
Object.SetDynamic(1@, True)
Object.SetVelocity(1@, 0.0, 0.0, -0.1)
goto @BBALL_11021

:BBALL_11007
18@ = 0
goto @BBALL_12353

:BBALL_11021
goto @BBALL_11138

:BBALL_11028
Object.Detach(1@, 0.0, 0.0, 0.0, False)
gosub @BBALL_2608
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 0)
$in_carX += -0.5
Object.SetCoordinates(1@, $on_footY, $on_footZ, $in_carX)
Object.FreezePosition(1@, False)
Object.SetCollision(1@, True)
Object.SetDynamic(1@, True)
Object.SetVelocity(1@, 0.0, 0.0, -0.1)

:BBALL_11138
goto @BBALL_11159

:BBALL_11145
$intrp_dest_z = World.GetGroundZFor3DCoord($intrp_dest_x, $intrp_dest_y, $intrp_dest_z)

:BBALL_11159
goto @BBALL_11452

:BBALL_11166
if and
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_LNCH")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_GLI")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_LND")
goto_if_false @BBALL_11344
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_11337
if 
  Object.DoesExist($bball_camera_type)
goto_if_false @BBALL_11316
Char.DetachFromCar($stattreadstamina_ctr)
Object.Delete($bball_camera_type)
22@ = 0

:BBALL_11316
Player.SetControl($statbike_temp, True)
17@ = 12
goto @BBALL_12353

:BBALL_11337
goto @BBALL_11452

:BBALL_11344
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_LND")
goto_if_false @BBALL_11452
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 1.0, 0.0)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
$in_carX += 1.0
set_var_float_to_var_float $intrp_dest_x = $on_footY
set_var_float_to_var_float $intrp_dest_y = $on_footZ
set_var_float_to_var_float $intrp_dest_z = $in_carX

:BBALL_11452
goto @BBALL_12345

:BBALL_11459
if 
  18@ <> 7
goto_if_false @BBALL_11545
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_DEF_LOOP", "BSKTBALL", 4.0, True, False, False, False, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)

:BBALL_11545
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_11642
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_DEF_LOOP", "BSKTBALL", 4.0, True, False, False, False, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)

:BBALL_11642
goto @BBALL_12345

:BBALL_11649
if 
  18@ <> 8
goto_if_false @BBALL_11740
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_DEF_JUMP_SHOT", "BSKTBALL", 4.0, False, False, False, True, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)

:BBALL_11740
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_11842
26@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BBALL_DEF_JUMP_SHOT", "BSKTBALL", 4.0, False, False, False, True, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)

:BBALL_11842
goto @BBALL_12345

:BBALL_11849
goto @BBALL_12345

:BBALL_11856
goto @BBALL_12345

:BBALL_11863
if 
  18@ <> 10
goto_if_false @BBALL_12242
Player.SetControl($statbike_temp, False)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if 
  Object.DoesExist(1@)
goto_if_false @BBALL_11947
2@, 3@, 4@ = Object.GetCoordinates(1@)

:BBALL_11947
set_lvar_float_to_var_float 5@ = $on_footY
sub_float_lvar_from_float_lvar 5@ -= 2@
set_lvar_float_to_var_float 6@ = $on_footZ
sub_float_lvar_from_float_lvar 6@ -= 3@
8@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 2@, 3@)
div_float_lvar_by_float_lvar 5@ /= 8@
div_float_lvar_by_float_lvar 6@ /= 8@
5@ *= 0.5
6@ *= 0.5
set_var_float_to_lvar_float $on_footY = 2@
add_float_lvar_to_float_var $on_footY += 5@
set_var_float_to_lvar_float $on_footZ = 3@
add_float_lvar_to_float_var $on_footZ += 6@
set_lvar_float_to_lvar_float 5@ = 2@
sub_float_var_from_float_lvar 5@ -= $on_footY
set_lvar_float_to_lvar_float 6@ = 3@
sub_float_var_from_float_lvar 6@ -= $on_footZ
$on_footX = Math.GetHeadingFromVector2D(5@, 6@)
26@ = Sequence.Open()
Task.CharSlideToCoordAndPlayAnim(-1, $on_footY, $on_footZ, $in_carX, $on_footX, -1.0, "BBALL_PICKUP", "BSKTBALL", 4.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable(-1, "BBALL_IDLELOOP", "BSKTBALL", 10000.0, False, False, False, True, -1)
Sequence.Close(26@)
Char.PerformSequence($stattreadstamina_ctr, 26@)
Sequence.Clear(26@)
goto @BBALL_12338

:BBALL_12242
24@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  is_int_lvar_equal_to_constant 24@ == 7
goto_if_false @BBALL_12292
17@ = 11
goto @BBALL_12353
goto @BBALL_12338

:BBALL_12292
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLELOOP")
goto_if_false @BBALL_12338
17@ = 11
goto @BBALL_12353

:BBALL_12338
goto @BBALL_12345

:BBALL_12345
set_lvar_int_to_lvar_int 18@ = 17@

:BBALL_12353
return 

:BBALL_12355
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBALL_16492
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLELOOP")
goto_if_false @BBALL_12705
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_IDLELOOP")
if 
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_RUN")
goto_if_false @BBALL_12540
if 
  8@ > 0.45
goto_if_false @BBALL_12515
if 
  27@ <> 1
goto_if_false @BBALL_12508
Audio.ReportMissionAudioEventAtObject(1@, 1010)
27@ = 1

:BBALL_12508
goto @BBALL_12540

:BBALL_12515
if 
  27@ == 1
goto_if_false @BBALL_12540
27@ = 0

:BBALL_12540
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_12705
if 
  Object.IsPlayingAnim(1@, "BBALL_IDLELOOP_O")
goto_if_false @BBALL_12626
Object.SetAnimCurrentTime(1@, "BBALL_IDLELOOP_O", 8@)
goto @BBALL_12705

:BBALL_12626
if 
Object.PlayAnim(1@, "BBALL_IDLELOOP_O", "BSKTBALL", 1000.0, True, False)
goto_if_false @BBALL_12705
Object.SetAnimCurrentTime(1@, "BBALL_IDLELOOP_O", 8@)

:BBALL_12705
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLE")
goto_if_false @BBALL_12988
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_IDLE")
if 
  8@ > 0.87671
goto_if_false @BBALL_12814
if 
  27@ <> 2
goto_if_false @BBALL_12807
Audio.ReportMissionAudioEventAtObject(1@, 1010)
27@ = 2

:BBALL_12807
goto @BBALL_12839

:BBALL_12814
if 
  27@ == 2
goto_if_false @BBALL_12839
27@ = 0

:BBALL_12839
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_12988
if 
  Object.IsPlayingAnim(1@, "BBALL_IDLE_O")
goto_if_false @BBALL_12917
Object.SetAnimCurrentTime(1@, "BBALL_IDLE_O", 8@)
goto @BBALL_12988

:BBALL_12917
if 
Object.PlayAnim(1@, "BBALL_IDLE_O", "BSKTBALL", 1000.0, False, True)
goto_if_false @BBALL_12988
Object.SetAnimCurrentTime(1@, "BBALL_IDLE_O", 8@)

:BBALL_12988
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_IDLE2")
goto_if_false @BBALL_13191
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_IDLE2")
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_13191
if 
  Object.IsPlayingAnim(1@, "BBALL_IDLE2_O")
goto_if_false @BBALL_13118
Object.SetAnimCurrentTime(1@, "BBALL_IDLE2_O", 8@)
goto @BBALL_13191

:BBALL_13118
if 
Object.PlayAnim(1@, "BBALL_IDLE2_O", "BSKTBALL", 1000.0, False, True)
goto_if_false @BBALL_13191
Object.SetAnimCurrentTime(1@, "BBALL_IDLE2_O", 8@)

:BBALL_13191
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_JUMP_SHOT")
goto_if_false @BBALL_13380
if 
  Object.IsAttached(1@)
goto_if_false @BBALL_13380
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_JUMP_SHOT")
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_13380
if 
  Object.IsPlayingAnim(1@, "BBALL_JUMP_SHOT_O")
goto_if_false @BBALL_13326
goto @BBALL_13380

:BBALL_13326
if 
Object.PlayAnim(1@, "BBALL_JUMP_SHOT_O", "BSKTBALL", 1000.0, False, True)
goto_if_false @BBALL_13380

:BBALL_13380
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_JUMP_CANCEL")
goto_if_false @BBALL_13619
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_JUMP_CANCEL")
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_13619
if 
  Object.IsPlayingAnim(1@, "BBALL_JUMP_CANCEL_O")
goto_if_false @BBALL_13534
Object.SetAnimCurrentTime(1@, "BBALL_JUMP_CANCEL_O", 8@)
goto @BBALL_13619

:BBALL_13534
if 
Object.PlayAnim(1@, "BBALL_JUMP_CANCEL_O", "BSKTBALL", 1000.0, False, True)
goto_if_false @BBALL_13619
Object.SetAnimCurrentTime(1@, "BBALL_JUMP_CANCEL_O", 8@)

:BBALL_13619
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_PICKUP")
goto_if_false @BBALL_13982
if 
  not Object.IsAttached(1@)
goto_if_false @BBALL_13717
Object.AttachToChar(1@, $stattreadstamina_ctr, 0.0, 0.5, -1.0, 0.0, 0.0, 0.0)
gosub @BBALL_2608
goto @BBALL_13982

:BBALL_13717
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_PICKUP")
if 
  8@ > 0.836
goto_if_false @BBALL_13800
if 
  27@ <> 3
goto_if_false @BBALL_13793
Audio.ReportMissionAudioEventAtObject(1@, 1010)
27@ = 3

:BBALL_13793
goto @BBALL_13825

:BBALL_13800
if 
  27@ == 3
goto_if_false @BBALL_13825
27@ = 0

:BBALL_13825
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_13982
if 
  Object.IsPlayingAnim(1@, "BBALL_PICKUP_O")
goto_if_false @BBALL_13907
Object.SetAnimCurrentTime(1@, "BBALL_PICKUP_O", 8@)
goto @BBALL_13982

:BBALL_13907
if 
Object.PlayAnim(1@, "BBALL_PICKUP_O", "BSKTBALL", 1000.0, False, True)
goto_if_false @BBALL_13982
Object.SetAnimCurrentTime(1@, "BBALL_PICKUP_O", 8@)

:BBALL_13982
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_RUN")
goto_if_false @BBALL_14327
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_RUN")
if 
  8@ > 0.222
goto_if_false @BBALL_14150
if 
  0.74 > 8@
goto_if_false @BBALL_14110
if 
  27@ <> 4
goto_if_false @BBALL_14103
Audio.ReportMissionAudioEventAtObject(1@, 1010)
27@ = 4

:BBALL_14103
goto @BBALL_14143

:BBALL_14110
if 
  27@ <> 5
goto_if_false @BBALL_14143
Audio.ReportMissionAudioEventAtObject(1@, 1010)
27@ = 5

:BBALL_14143
goto @BBALL_14182

:BBALL_14150
if or
  27@ == 4
  27@ == 5
goto_if_false @BBALL_14182
27@ = 0

:BBALL_14182
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_14327
if 
  Object.IsPlayingAnim(1@, "BBALL_RUN_O")
goto_if_false @BBALL_14258
Object.SetAnimCurrentTime(1@, "BBALL_RUN_O", 8@)
goto @BBALL_14327

:BBALL_14258
if 
Object.PlayAnim(1@, "BBALL_RUN_O", "BSKTBALL", 8.0, True, False)
goto_if_false @BBALL_14327
Object.SetAnimCurrentTime(1@, "BBALL_RUN_O", 8@)

:BBALL_14327
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_SKIDSTOP_L")
goto_if_false @BBALL_14560
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_SKIDSTOP_L")
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_14560
if 
  Object.IsPlayingAnim(1@, "BBALL_SKIDSTOP_L_O")
goto_if_false @BBALL_14477
Object.SetAnimCurrentTime(1@, "BBALL_SKIDSTOP_L_O", 8@)
goto @BBALL_14560

:BBALL_14477
if 
Object.PlayAnim(1@, "BBALL_SKIDSTOP_L_O", "BSKTBALL", 6.0, False, True)
goto_if_false @BBALL_14560
Object.SetAnimCurrentTime(1@, "BBALL_SKIDSTOP_L_O", 8@)

:BBALL_14560
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_SKIDSTOP_R")
goto_if_false @BBALL_14793
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_SKIDSTOP_R")
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_14793
if 
  Object.IsPlayingAnim(1@, "BBALL_SKIDSTOP_R_O")
goto_if_false @BBALL_14710
Object.SetAnimCurrentTime(1@, "BBALL_SKIDSTOP_R_O", 8@)
goto @BBALL_14793

:BBALL_14710
if 
Object.PlayAnim(1@, "BBALL_SKIDSTOP_R_O", "BSKTBALL", 6.0, False, True)
goto_if_false @BBALL_14793
Object.SetAnimCurrentTime(1@, "BBALL_SKIDSTOP_R_O", 8@)

:BBALL_14793
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALKSTOP_L")
goto_if_false @BBALL_15026
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_WALKSTOP_L")
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_15026
if 
  Object.IsPlayingAnim(1@, "BBALL_WALKSTOP_L_O")
goto_if_false @BBALL_14943
Object.SetAnimCurrentTime(1@, "BBALL_WALKSTOP_L_O", 8@)
goto @BBALL_15026

:BBALL_14943
if 
Object.PlayAnim(1@, "BBALL_WALKSTOP_L_O", "BSKTBALL", 6.0, False, True)
goto_if_false @BBALL_15026
Object.SetAnimCurrentTime(1@, "BBALL_WALKSTOP_L_O", 8@)

:BBALL_15026
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALKSTOP_R")
goto_if_false @BBALL_15259
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_WALKSTOP_R")
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_15259
if 
  Object.IsPlayingAnim(1@, "BBALL_WALKSTOP_R_O")
goto_if_false @BBALL_15176
Object.SetAnimCurrentTime(1@, "BBALL_WALKSTOP_R_O", 8@)
goto @BBALL_15259

:BBALL_15176
if 
Object.PlayAnim(1@, "BBALL_WALKSTOP_R_O", "BSKTBALL", 6.0, False, True)
goto_if_false @BBALL_15259
Object.SetAnimCurrentTime(1@, "BBALL_WALKSTOP_R_O", 8@)

:BBALL_15259
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALK")
goto_if_false @BBALL_15637
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_WALK")
if 
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_RUN")
goto_if_false @BBALL_15488
if 
  8@ > 0.218
goto_if_false @BBALL_15456
if 
  0.718 > 8@
goto_if_false @BBALL_15416
if 
  27@ <> 6
goto_if_false @BBALL_15409
Audio.ReportMissionAudioEventAtObject(1@, 1010)
27@ = 6

:BBALL_15409
goto @BBALL_15449

:BBALL_15416
if 
  27@ <> 7
goto_if_false @BBALL_15449
Audio.ReportMissionAudioEventAtObject(1@, 1010)
27@ = 7

:BBALL_15449
goto @BBALL_15488

:BBALL_15456
if or
  27@ == 6
  27@ == 7
goto_if_false @BBALL_15488
27@ = 0

:BBALL_15488
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_15637
if 
  Object.IsPlayingAnim(1@, "BBALL_WALK_O")
goto_if_false @BBALL_15566
Object.SetAnimCurrentTime(1@, "BBALL_WALK_O", 8@)
goto @BBALL_15637

:BBALL_15566
if 
Object.PlayAnim(1@, "BBALL_WALK_O", "BSKTBALL", 1000.0, True, False)
goto_if_false @BBALL_15637
Object.SetAnimCurrentTime(1@, "BBALL_WALK_O", 8@)

:BBALL_15637
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_WALK_START")
goto_if_false @BBALL_15870
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_WALK_START")
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_15870
if 
  Object.IsPlayingAnim(1@, "BBALL_WALK_START_O")
goto_if_false @BBALL_15787
Object.SetAnimCurrentTime(1@, "BBALL_WALK_START_O", 8@)
goto @BBALL_15870

:BBALL_15787
if 
Object.PlayAnim(1@, "BBALL_WALK_START_O", "BSKTBALL", 8.0, False, True)
goto_if_false @BBALL_15870
Object.SetAnimCurrentTime(1@, "BBALL_WALK_START_O", 8@)

:BBALL_15870
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_LNCH")
goto_if_false @BBALL_16091
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_DNK_LNCH")
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_16091
if 
  Object.IsPlayingAnim(1@, "BBALL_DNK_LNCH_O")
goto_if_false @BBALL_16012
Object.SetAnimCurrentTime(1@, "BBALL_DNK_LNCH_O", 8@)
goto @BBALL_16091

:BBALL_16012
if 
Object.PlayAnim(1@, "BBALL_DNK_LNCH_O", "BSKTBALL", 4.0, False, True)
goto_if_false @BBALL_16091
Object.SetAnimCurrentTime(1@, "BBALL_DNK_LNCH_O", 8@)

:BBALL_16091
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_GLI")
goto_if_false @BBALL_16306
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_DNK_GLI")
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_16306
if 
  Object.IsPlayingAnim(1@, "BBALL_DNK_GLI_O")
goto_if_false @BBALL_16229
Object.SetAnimCurrentTime(1@, "BBALL_DNK_GLI_O", 8@)
goto @BBALL_16306

:BBALL_16229
if 
Object.PlayAnim(1@, "BBALL_DNK_GLI_O", "BSKTBALL", 1000.0, False, True)
goto_if_false @BBALL_16306
Object.SetAnimCurrentTime(1@, "BBALL_DNK_GLI_O", 8@)

:BBALL_16306
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK")
goto_if_false @BBALL_16492
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_DNK")
if 
  0.2 > 8@
goto_if_false @BBALL_16492
if 
  Object.DoesHaveThisModel(1@, #BBALL_INGAME)
goto_if_false @BBALL_16492
if 
  Object.IsAttached(1@)
goto_if_false @BBALL_16492
if 
  Object.IsPlayingAnim(1@, "BBALL_DNK_O")
goto_if_false @BBALL_16444
goto @BBALL_16492

:BBALL_16444
if 
Object.PlayAnim(1@, "BBALL_DNK_O", "BSKTBALL", 1000.0, False, True)
goto_if_false @BBALL_16492

:BBALL_16492
return 

:BBALL_16494
if and
  Player.IsPlaying($statbike_temp)
  Streaming.HasModelLoaded(23@)
goto_if_false @BBALL_18091
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
2@, 3@, 4@ = Object.GetCoordinates(0@)
5@, 6@, 7@ = Object.GetLevelDesignCoords(0@, 3)
8@, 8@, $p_desired_heading = Object.GetLevelDesignCoords(0@, 0)
$p_desired_heading += -1.0
switch_start $walk_with_ball_start_position {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @BBALL_17428 {caseNum1} 1 {caseLabel1} @BBALL_16648 {caseNum2} 2 {caseLabel2} @BBALL_16843 {caseNum3} 3 {caseLabel3} @BBALL_17038 {caseNum4} 4 {caseLabel4} @BBALL_17233 {caseNum5} -1 {caseLabel5} @BBALL_17428 {caseNum6} -1 {caseLabel6} @BBALL_17428 {caseNum7} -1 {caseLabel7} @BBALL_17428

:BBALL_16648
set_var_float_to_lvar_float $bb_new_look_y = 2@
$bb_new_look_y += 0.2
set_var_float_to_var_float $bb_new_look_z = $on_footZ
$bb_new_look_z += 5.0
6@ += 5.0
if 
  is_float_var_greater_than_float_lvar $bb_new_look_z > 6@
goto_if_false @BBALL_16721
set_var_float_to_lvar_float $bb_new_look_z = 6@

:BBALL_16721
set_lvar_float_to_lvar_float 8@ = 3@
8@ += 5.0
if 
  is_float_lvar_greater_than_float_var 8@ > $bb_new_look_z
goto_if_false @BBALL_16766
set_var_float_to_lvar_float $bb_new_look_z = 8@

:BBALL_16766
set_lvar_float_to_lvar_float 8@ = 6@
sub_float_lvar_from_float_lvar 8@ -= 3@
8@ += -5.0
set_lvar_float_to_lvar_float 9@ = 6@
sub_float_var_from_float_lvar 9@ -= $bb_new_look_z
div_float_lvar_by_float_lvar 9@ /= 8@
9@ *= 0.29
9@ += 0.34
goto @BBALL_17428

:BBALL_16843
set_var_float_to_var_float $bb_new_look_y = $on_footY
$bb_new_look_y -= 5.0
set_var_float_to_lvar_float $bb_new_look_z = 3@
$bb_new_look_z += 0.2
5@ += -5.0
if 
  is_float_lvar_greater_than_float_var 5@ > $bb_new_look_y
goto_if_false @BBALL_16916
set_var_float_to_lvar_float $bb_new_look_y = 5@

:BBALL_16916
set_lvar_float_to_lvar_float 8@ = 2@
8@ -= 5.0
if 
  is_float_var_greater_than_float_lvar $bb_new_look_y > 8@
goto_if_false @BBALL_16961
set_var_float_to_lvar_float $bb_new_look_y = 8@

:BBALL_16961
set_lvar_float_to_lvar_float 8@ = 2@
sub_float_lvar_from_float_lvar 8@ -= 5@
8@ += -5.0
set_lvar_float_to_var_float 9@ = $bb_new_look_y
sub_float_lvar_from_float_lvar 9@ -= 5@
div_float_lvar_by_float_lvar 9@ /= 8@
9@ *= 0.29
9@ += 0.34
goto @BBALL_17428

:BBALL_17038
set_var_float_to_lvar_float $bb_new_look_y = 2@
$bb_new_look_y -= 0.2
set_var_float_to_var_float $bb_new_look_z = $on_footZ
$bb_new_look_z -= 5.0
6@ += -5.0
if 
  is_float_lvar_greater_than_float_var 6@ > $bb_new_look_z
goto_if_false @BBALL_17111
set_var_float_to_lvar_float $bb_new_look_z = 6@

:BBALL_17111
set_lvar_float_to_lvar_float 8@ = 3@
8@ -= 5.0
if 
  is_float_var_greater_than_float_lvar $bb_new_look_z > 8@
goto_if_false @BBALL_17156
set_var_float_to_lvar_float $bb_new_look_z = 8@

:BBALL_17156
set_lvar_float_to_lvar_float 8@ = 3@
sub_float_lvar_from_float_lvar 8@ -= 6@
8@ += -5.0
set_lvar_float_to_var_float 9@ = $bb_new_look_z
sub_float_lvar_from_float_lvar 9@ -= 6@
div_float_lvar_by_float_lvar 9@ /= 8@
9@ *= 0.29
9@ += 0.34
goto @BBALL_17428

:BBALL_17233
set_var_float_to_var_float $bb_new_look_y = $on_footY
$bb_new_look_y += 5.0
set_var_float_to_lvar_float $bb_new_look_z = 3@
$bb_new_look_z -= 0.2
5@ += 5.0
if 
  is_float_var_greater_than_float_lvar $bb_new_look_y > 5@
goto_if_false @BBALL_17306
set_var_float_to_lvar_float $bb_new_look_y = 5@

:BBALL_17306
set_lvar_float_to_lvar_float 8@ = 2@
8@ += 5.0
if 
  is_float_lvar_greater_than_float_var 8@ > $bb_new_look_y
goto_if_false @BBALL_17351
set_var_float_to_lvar_float $bb_new_look_y = 8@

:BBALL_17351
set_lvar_float_to_lvar_float 8@ = 5@
sub_float_lvar_from_float_lvar 8@ -= 2@
8@ += -5.0
set_lvar_float_to_lvar_float 9@ = 5@
sub_float_var_from_float_lvar 9@ -= $bb_new_look_y
div_float_lvar_by_float_lvar 9@ /= 8@
9@ *= 0.29
9@ += 0.34
goto @BBALL_17428

:BBALL_17428
set_var_float_to_lvar_float $bb_new_camera_y = 2@
sub_float_var_from_float_var $bb_new_camera_y -= $on_footY
set_var_float_to_lvar_float $bb_new_camera_z = 3@
sub_float_var_from_float_var $bb_new_camera_z -= $on_footZ
set_var_float_to_lvar_float $bb_new_look_x = 4@
sub_float_var_from_float_var $bb_new_look_x -= $in_carX
mult_float_var_by_float_lvar $bb_new_camera_y *= 9@
mult_float_var_by_float_lvar $bb_new_camera_z *= 9@
mult_float_var_by_float_lvar $bb_new_look_x *= 9@
set_var_float_to_var_float $bb_desired_x = $on_footY
add_float_var_to_float_var $bb_desired_x += $bb_new_camera_y
set_var_float_to_var_float $bb_desired_y = $on_footZ
add_float_var_to_float_var $bb_desired_y += $bb_new_camera_z
set_var_float_to_var_float $bb_desired_z = $in_carX
add_float_var_to_float_var $bb_desired_z += $bb_new_look_x
2@, 3@, 4@ = Object.GetLevelDesignCoords(0@, 2)
5@, 6@, 7@ = Object.GetLevelDesignCoords(0@, 3)
if 
  is_float_lvar_greater_than_float_lvar 2@ > 5@
goto_if_false @BBALL_17660
if 
  is_float_var_greater_than_float_lvar $bb_desired_x > 2@
goto_if_false @BBALL_17626
set_var_float_to_lvar_float $bb_desired_x = 2@

:BBALL_17626
if 
  is_float_lvar_greater_than_float_var 5@ > $bb_desired_x
goto_if_false @BBALL_17653
set_var_float_to_lvar_float $bb_desired_x = 5@

:BBALL_17653
goto @BBALL_17714

:BBALL_17660
if 
  is_float_var_greater_than_float_lvar $bb_desired_x > 5@
goto_if_false @BBALL_17687
set_var_float_to_lvar_float $bb_desired_x = 5@

:BBALL_17687
if 
  is_float_lvar_greater_than_float_var 2@ > $bb_desired_x
goto_if_false @BBALL_17714
set_var_float_to_lvar_float $bb_desired_x = 2@

:BBALL_17714
if 
  is_float_lvar_greater_than_float_lvar 3@ > 6@
goto_if_false @BBALL_17794
if 
  is_float_var_greater_than_float_lvar $bb_desired_y > 3@
goto_if_false @BBALL_17760
set_var_float_to_lvar_float $bb_desired_y = 3@

:BBALL_17760
if 
  is_float_lvar_greater_than_float_var 6@ > $bb_desired_y
goto_if_false @BBALL_17787
set_var_float_to_lvar_float $bb_desired_y = 6@

:BBALL_17787
goto @BBALL_17848

:BBALL_17794
if 
  is_float_var_greater_than_float_lvar $bb_desired_y > 6@
goto_if_false @BBALL_17821
set_var_float_to_lvar_float $bb_desired_y = 6@

:BBALL_17821
if 
  is_float_lvar_greater_than_float_var 3@ > $bb_desired_y
goto_if_false @BBALL_17848
set_var_float_to_lvar_float $bb_desired_y = 3@

:BBALL_17848
set_var_float_to_var_float $bb_new_camera_y = $bb_new_look_y
sub_float_lvar_from_float_var $bb_new_camera_y -= 10@
set_var_float_to_var_float $bb_new_camera_z = $bb_new_look_z
sub_float_lvar_from_float_var $bb_new_camera_z -= 11@
set_var_float_to_var_float $bb_new_look_x = $p_desired_heading
sub_float_lvar_from_float_var $bb_new_look_x -= 12@
$bb_new_camera_y *= 0.25
$bb_new_camera_z *= 0.25
$bb_new_look_x *= 0.25
add_float_var_to_float_lvar 10@ += $bb_new_camera_y
add_float_var_to_float_lvar 11@ += $bb_new_camera_z
add_float_var_to_float_lvar 12@ += $bb_new_look_x
set_var_float_to_var_float $bb_new_camera_y = $bb_desired_x
sub_float_lvar_from_float_var $bb_new_camera_y -= 13@
set_var_float_to_var_float $bb_new_camera_z = $bb_desired_y
sub_float_lvar_from_float_var $bb_new_camera_z -= 14@
set_var_float_to_var_float $bb_new_look_x = $bb_desired_z
sub_float_lvar_from_float_var $bb_new_look_x -= 15@
$bb_new_camera_y *= 0.1
$bb_new_camera_z *= 0.1
$bb_new_look_x *= 0.1
add_float_var_to_float_lvar 13@ += $bb_new_camera_y
add_float_var_to_float_lvar 14@ += $bb_new_camera_z
add_float_var_to_float_lvar 15@ += $bb_new_look_x
Camera.SetFixedPosition(10@, 11@, 12@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(13@, 14@, 15@, SwitchType.JumpCut)

:BBALL_18091
return 

:BBALL_18093
if and
  Object.IsAttached(1@)
  Streaming.HasModelLoaded(23@)
goto_if_false @BBALL_19806
24@ = 1
if or
  17@ == 10
  17@ == 4
  17@ == 6
  17@ == 16
  17@ == 17
goto_if_false @BBALL_18174
24@ = 0

:BBALL_18174
if or
  17@ == 14
  17@ == 15
goto_if_false @BBALL_18206
24@ = 0

:BBALL_18206
if 
  24@ == 1
goto_if_false @BBALL_19432
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftStickX)
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftStickY)
goto_if_false @BBALL_18634
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
cset_var_float_to_var_int $on_footY =# $been_in_a_bmx
cset_var_float_to_var_int $on_footZ =# $tucking_contact_blip
$on_footY /= 128.0
$on_footZ /= -128.0
set_lvar_float_to_var_float 8@ = $on_footY
mult_float_lvar_by_float_var 8@ *= $on_footY
set_lvar_float_to_var_float 9@ = $on_footZ
mult_float_lvar_by_float_var 9@ *= $on_footZ
add_float_lvar_to_float_lvar 8@ += 9@
8@ = Math.Sqrt(8@)
$dunc_glide_percent = Math.GetHeadingFromVector2D($on_footY, $on_footZ)
if 
  $bball_court_z == 1
goto_if_false @BBALL_18415
set_var_float_to_lvar_float $on_footY = 13@
sub_float_lvar_from_float_var $on_footY -= 10@
set_var_float_to_lvar_float $on_footZ = 14@
sub_float_lvar_from_float_var $on_footZ -= 11@
goto @BBALL_18485

:BBALL_18415
2@, 3@, 4@ = Camera.GetActiveCoordinates()
5@, 6@, 7@ = Camera.GetActivePointAt()
set_var_float_to_lvar_float $on_footY = 5@
sub_float_lvar_from_float_var $on_footY -= 2@
set_var_float_to_lvar_float $on_footZ = 6@
sub_float_lvar_from_float_var $on_footZ -= 3@
set_var_float_to_lvar_float $in_carX = 7@
sub_float_lvar_from_float_var $in_carX -= 4@

:BBALL_18485
9@ = Math.GetHeadingFromVector2D($on_footY, $on_footZ)
add_float_lvar_to_float_var $dunc_glide_percent += 9@
if 
  8@ > 0.3
goto_if_false @BBALL_18574
if 
  0.8 > 8@
goto_if_false @BBALL_18560
17@ = 1
goto @BBALL_18567

:BBALL_18560
17@ = 2

:BBALL_18567
goto @BBALL_18627

:BBALL_18574
if or
  18@ == 2
  18@ == 1
  17@ == 2
  17@ == 1
goto_if_false @BBALL_18627
17@ = 3
18@ = 0

:BBALL_18627
goto @BBALL_18687

:BBALL_18634
if or
  18@ == 2
  18@ == 1
  17@ == 2
  17@ == 1
goto_if_false @BBALL_18687
17@ = 3
18@ = 0

:BBALL_18687
if 
  21@ == 0
goto_if_false @BBALL_19327
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BBALL_19288
if 
  18@ <> 6
goto_if_false @BBALL_19281
$on_footY, $on_footZ, $in_carX = Object.GetLevelDesignCoords(0@, 0)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BBALL_18786
2@, 3@, 4@ = Char.GetCoordinates($stattreadstamina_ctr)

:BBALL_18786
set_lvar_float_to_var_float 5@ = $on_footY
sub_float_lvar_from_float_lvar 5@ -= 2@
set_lvar_float_to_var_float 6@ = $on_footZ
sub_float_lvar_from_float_lvar 6@ -= 3@
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(0@)
2@, 3@, 4@ = Object.GetOffsetInWorldCoords(0@, 0.0, -1.0, 0.0)
set_lvar_float_to_lvar_float 8@ = 2@
sub_float_var_from_float_lvar 8@ -= $on_footY
set_lvar_float_to_lvar_float 9@ = 3@
sub_float_var_from_float_lvar 9@ -= $on_footZ
set_lvar_float_to_lvar_float 2@ = 8@
set_lvar_float_to_lvar_float 3@ = 9@
8@ = Math.GetAngleBetween2DVectors(5@, 6@, 2@, 3@)
24@ = 0
if 
  90.0 > 8@
goto_if_false @BBALL_19281
24@ = 0
if 
  18@ == 2
goto_if_false @BBALL_19235
8@ = Stat.GetFloat(StatId.Fat)
if 
  400.0 > 8@
goto_if_false @BBALL_19235
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
2@, 3@, 4@ = Object.GetCoordinates(0@)
5@, 6@, 7@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
8@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 2@, 3@)
if and
  8@ > 2.4
  3.5 > 8@
goto_if_false @BBALL_19235
set_var_float_to_lvar_float $bb_new_camera_y = 5@
sub_float_var_from_float_var $bb_new_camera_y -= $on_footY
set_var_float_to_lvar_float $bb_new_camera_z = 6@
sub_float_var_from_float_var $bb_new_camera_z -= $on_footZ
set_lvar_float_to_lvar_float 8@ = 2@
sub_float_var_from_float_lvar 8@ -= $on_footY
set_lvar_float_to_lvar_float 9@ = 3@
sub_float_var_from_float_lvar 9@ -= $on_footZ
$in_carX = Math.GetAngleBetween2DVectors($bb_new_camera_y, $bb_new_camera_z, 8@, 9@)
if 
  90.0 > $in_carX
goto_if_false @BBALL_19228
24@ = 1
goto @BBALL_19235

:BBALL_19228
24@ = 0

:BBALL_19235
if 
  24@ == 1
goto_if_false @BBALL_19267
17@ = 16
goto @BBALL_19274

:BBALL_19267
17@ = 4

:BBALL_19274
21@ = 1

:BBALL_19281
goto @BBALL_19320

:BBALL_19288
if and
  18@ == 4
  17@ <> 6
goto_if_false @BBALL_19320
21@ = 1

:BBALL_19320
goto @BBALL_19327

:BBALL_19327
if and
  17@ == 11
  18@ == 11
goto_if_false @BBALL_19376
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @BBALL_19376
17@ = 14

:BBALL_19376
if and
  17@ == 11
  18@ == 11
goto_if_false @BBALL_19425
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @BBALL_19425
17@ = 15

:BBALL_19425
goto @BBALL_19799

:BBALL_19432
if 
  21@ == 1
goto_if_false @BBALL_19799
if or
  17@ == 4
  17@ == 6
goto_if_false @BBALL_19775
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BBALL_19639
21@ = 0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_JUMP_SHOT")
goto_if_false @BBALL_19622
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_JUMP_SHOT")
if 
  is_float_lvar_greater_than_float_var 8@ > $bball_stored_weapon
goto_if_false @BBALL_19599
set_var_float_to_lvar_float $bball_is_active = 8@
sub_float_var_from_float_var $bball_is_active -= $bball_stored_weapon
goto @BBALL_19615

:BBALL_19599
set_var_float_to_var_float $bball_is_active = $bball_stored_weapon
sub_float_lvar_from_float_var $bball_is_active -= 8@

:BBALL_19615
goto @BBALL_19632

:BBALL_19622
$bball_is_active = 1.0

:BBALL_19632
goto @BBALL_19768

:BBALL_19639
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_JUMP_SHOT")
goto_if_false @BBALL_19758
8@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BBALL_JUMP_SHOT")
set_lvar_float_to_var_float 9@ = $bball_stored_weapon
9@ += 0.1
if 
  is_float_lvar_greater_than_float_lvar 8@ > 9@
goto_if_false @BBALL_19751
$bball_is_active = 1.0
21@ = 0

:BBALL_19751
goto @BBALL_19768

:BBALL_19758
$bball_is_active = 1.0

:BBALL_19768
goto @BBALL_19799

:BBALL_19775
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BBALL_19799
21@ = 0

:BBALL_19799
goto @BBALL_19946

:BBALL_19806
if 
  18@ == 12
goto_if_false @BBALL_19946
if 
  21@ == 0
goto_if_false @BBALL_19922
if 
  Object.DoesExist(1@)
goto_if_false @BBALL_19915
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(1@)
if 
  Char.LocateOnFootObject3D($stattreadstamina_ctr, 1@, 0.7, 0.7, 2.0, False)
goto_if_false @BBALL_19915
17@ = 10

:BBALL_19915
goto @BBALL_19946

:BBALL_19922
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BBALL_19946
21@ = 0

:BBALL_19946
24@ = 0
if or
  17@ == 1
  17@ == 2
  17@ == 8
  17@ == 4
  17@ == 6
goto_if_false @BBALL_20006
24@ = 1

:BBALL_20006
if or
  17@ == 16
  17@ == 17
goto_if_false @BBALL_20038
24@ = 1

:BBALL_20038
if 
  24@ == 1
goto_if_false @BBALL_20333
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BBALL_20080
29@ = Char.GetHeading($stattreadstamina_ctr)

:BBALL_20080
if 
  $dunc_glide_percent > 360.0
goto_if_false @BBALL_20118
$dunc_glide_percent += -360.0
goto @BBALL_20080

:BBALL_20118
if 
  -360.0 > $dunc_glide_percent
goto_if_false @BBALL_20156
$dunc_glide_percent += 360.0
goto @BBALL_20118

:BBALL_20156
set_lvar_float_to_var_float 30@ = $dunc_glide_percent
sub_float_lvar_from_float_lvar 30@ -= 29@
if 
  30@ > 180.0
goto_if_false @BBALL_20203
30@ += -360.0

:BBALL_20203
if 
  -180.0 > 30@
goto_if_false @BBALL_20234
30@ += 360.0

:BBALL_20234
30@ /= 10.0
add_timed_float_lvar_to_float_lvar 29@ +=@ 30@
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @BBALL_20333
if and
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_SKIDSTOP_L")
  not Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_SKIDSTOP_R")
goto_if_false @BBALL_20333
Char.SetHeading($stattreadstamina_ctr, 29@)

:BBALL_20333
if or
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_GLI")
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK")
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_LND")
goto_if_false @BBALL_20951
if 
  Object.DoesExist($bball_camera_type)
goto_if_false @BBALL_20951
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($bball_camera_type)
8@ = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, $intrp_dest_x, $intrp_dest_y, $intrp_dest_z)
if 
  1.0 >= $intrp_start_x
goto_if_false @BBALL_20920
if 
  8@ > 0.07
goto_if_false @BBALL_20753
set_lvar_float_to_var_float 2@ = $intrp_dest_x
sub_float_var_from_float_lvar 2@ -= $on_footY
set_lvar_float_to_var_float 3@ = $intrp_dest_y
sub_float_var_from_float_lvar 3@ -= $on_footZ
set_lvar_float_to_var_float 4@ = $intrp_dest_z
sub_float_var_from_float_lvar 4@ -= $in_carX
div_float_lvar_by_float_lvar 2@ /= 8@
div_float_lvar_by_float_lvar 3@ /= 8@
div_float_lvar_by_float_lvar 4@ /= 8@
if 
  8@ > 0.065
goto_if_false @BBALL_20722
2@ *= 0.065
3@ *= 0.065
4@ *= 0.065
add_timed_float_lvar_to_float_var $on_footY +=@ 2@
add_timed_float_lvar_to_float_var $on_footZ +=@ 3@
add_timed_float_lvar_to_float_var $in_carX +=@ 4@
Object.SetCoordinates($bball_camera_type, $on_footY, $on_footZ, $in_carX)
8@ = Math.GetDistanceBetweenCoords3D($on_footY, $on_footZ, $in_carX, $intrp_dest_x, $intrp_dest_y, $intrp_dest_z)
set_var_float_to_lvar_float $intrp_start_x = 8@
div_float_var_by_float_var $intrp_start_x /= $bb_new_camera_x
$intrp_start_x += -1.0
$intrp_start_x *= -1.0
goto @BBALL_20746

:BBALL_20722
Object.SetCoordinates($bball_camera_type, $intrp_dest_x, $intrp_dest_y, $intrp_dest_z)
$intrp_start_x = 1.0

:BBALL_20746
goto @BBALL_20777

:BBALL_20753
Object.SetCoordinates($bball_camera_type, $intrp_dest_x, $intrp_dest_y, $intrp_dest_z)
$intrp_start_x = 1.0

:BBALL_20777
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BBALL_DNK_GLI")
goto_if_false @BBALL_20920
if and
  $intrp_start_x >= 0.0
  1.0 >= $intrp_start_x
goto_if_false @BBALL_20920
Char.SetAnimCurrentTime($stattreadstamina_ctr, "BBALL_DNK_GLI", $intrp_start_x)
if 
  Object.IsPlayingAnim(1@, "BBALL_DNK_GLI_O")
goto_if_false @BBALL_20920
Object.SetAnimCurrentTime(1@, "BBALL_DNK_GLI_O", $intrp_start_x)

:BBALL_20920
if 
  $intrp_start_x == 1.0
goto_if_false @BBALL_20951
$intrp_start_x = 1.01

:BBALL_20951
return 
set_var_float_to_var_float $on_footY = $intrp_start_y
sub_float_var_from_float_var $on_footY -= $bb_vec_x
set_var_float_to_var_float $on_footZ = $intrp_start_z
sub_float_var_from_float_var $on_footZ -= $bb_vec_y
set_var_float_to_var_float $in_carX = $intrp_speed
sub_float_var_from_float_var $in_carX -= $bb_vec_z
mult_float_var_by_float_var $on_footY *= $bb_vec2_x
mult_float_var_by_float_var $on_footZ *= $bb_vec2_x
mult_float_var_by_float_var $in_carX *= $bb_vec2_x
add_float_var_to_float_var $bb_vec_x += $on_footY
add_float_var_to_float_var $bb_vec_y += $on_footZ
add_float_var_to_float_var $bb_vec_z += $in_carX
return 

:BBALL_21051
$on_footY, $on_footZ, $in_carX = Camera.GetDebugCoordinates()
if 
  Object.DoesExist(0@)
goto_if_false @BBALL_21100
2@, 3@, 4@ = Object.GetCoordinates(0@)
$on_footX = Object.GetHeading(0@)

:BBALL_21100
$on_footX *= -1.0
8@ = Math.Cos($on_footX)
9@ = Math.Sin($on_footX)
set_var_float_to_var_float $bb_vec2_y = $on_footY
sub_float_lvar_from_float_var $bb_vec2_y -= 2@
set_var_float_to_var_float $bb_temp_float3 = $on_footZ
sub_float_lvar_from_float_var $bb_temp_float3 -= 3@
set_var_float_to_var_float $no_of_coins = $in_carX
sub_float_lvar_from_float_var $no_of_coins -= 4@
set_var_float_to_var_float $card_value = $bb_vec2_y
mult_float_var_by_float_lvar $card_value *= 8@
set_var_float_to_var_float $8829 = $bb_temp_float3
mult_float_var_by_float_lvar $8829 *= 9@
sub_float_var_from_float_var $card_value -= $8829
set_var_float_to_var_float $8828 = $bb_vec2_y
mult_float_var_by_float_lvar $8828 *= 9@
set_var_float_to_var_float $8829 = $bb_temp_float3
mult_float_var_by_float_lvar $8829 *= 8@
add_float_var_to_float_var $8828 += $8829
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("FIXED_CAMERA_POSITION - OFFSET FROM BBHOOP = ")
save_float_to_debug_file $card_value
save_float_to_debug_file $8828
save_float_to_debug_file $no_of_coins
$on_footY, $on_footZ, $in_carX = Camera.GetDebugPointAt()
set_var_float_to_var_float $bb_vec2_y = $on_footY
sub_float_lvar_from_float_var $bb_vec2_y -= 2@
set_var_float_to_var_float $bb_temp_float3 = $on_footZ
sub_float_lvar_from_float_var $bb_temp_float3 -= 3@
set_var_float_to_var_float $no_of_coins = $in_carX
sub_float_lvar_from_float_var $no_of_coins -= 4@
set_var_float_to_var_float $card_value = $bb_vec2_y
mult_float_var_by_float_lvar $card_value *= 8@
set_var_float_to_var_float $8829 = $bb_temp_float3
mult_float_var_by_float_lvar $8829 *= 9@
sub_float_var_from_float_var $card_value -= $8829
set_var_float_to_var_float $8828 = $bb_vec2_y
mult_float_var_by_float_lvar $8828 *= 9@
set_var_float_to_var_float $8829 = $bb_temp_float3
mult_float_var_by_float_lvar $8829 *= 8@
add_float_var_to_float_var $8828 += $8829
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CAMERA_POINT_AT -       OFFSET FROM BBHOOP = ")
save_float_to_debug_file $card_value
save_float_to_debug_file $8828
save_float_to_debug_file $no_of_coins
return 
terminate_this_script 

//-------------External script 16 (VIDPOK)---------------

:VIDPOK
script_name 'VIDPOK'
3@ = 0
4@ = 0
5@ = 0
6@ = 0
7@ = 0
if 
  4@ == -1
goto_if_false @VIDPOK_110
0@ = Object.Create(#KMB_ROCK, 0.0, 0.0, 0.0)
$vp_dpad_is_pressed = Object.Create(#KMB_ROCK, 0.0, 0.0, 0.0)

:VIDPOK_110
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VIDPOK_134
12@ = Player.StoreScore($statbike_temp)

:VIDPOK_134
if 
  100 > 12@
goto_if_false @VIDPOK_166
13@ = 5
goto @VIDPOK_309

:VIDPOK_166
if 
  1000 > 12@
goto_if_false @VIDPOK_199
13@ = 6
goto @VIDPOK_309

:VIDPOK_199
if 
  10000 > 12@
goto_if_false @VIDPOK_232
13@ = 7
goto @VIDPOK_309

:VIDPOK_232
if 
  50000 > 12@
goto_if_false @VIDPOK_267
13@ = 8
goto @VIDPOK_309

:VIDPOK_267
if 
  100000 > 12@
goto_if_false @VIDPOK_302
13@ = 9
goto @VIDPOK_309

:VIDPOK_302
13@ = 10

:VIDPOK_309
12@ = Math.RandomIntInRange(0, 13@)
switch_start 12@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_591 {caseNum1} 0 {caseLabel1} @VIDPOK_447 {caseNum2} 1 {caseLabel2} @VIDPOK_461 {caseNum3} 2 {caseLabel3} @VIDPOK_475 {caseNum4} 3 {caseLabel4} @VIDPOK_489 {caseNum5} 4 {caseLabel5} @VIDPOK_503 {caseNum6} 5 {caseLabel6} @VIDPOK_517 {caseNum7} 6 {caseLabel7} @VIDPOK_531
switch_continued 7 {caseLabel1} @VIDPOK_546 {caseNum2} 8 {caseLabel2} @VIDPOK_561 {caseNum3} 9 {caseLabel3} @VIDPOK_576 {caseNum4} -1 {caseLabel4} @VIDPOK_591 {caseNum5} -1 {caseLabel5} @VIDPOK_591 {caseNum6} -1 {caseLabel6} @VIDPOK_591 {caseNum7} -1 {caseLabel7} @VIDPOK_591 {caseNum8} -1 {caseLabel8} @VIDPOK_591 {caseNum9} -1 {caseLabel9} @VIDPOK_591

:VIDPOK_447
1@ = 1
goto @VIDPOK_591

:VIDPOK_461
1@ = 5
goto @VIDPOK_591

:VIDPOK_475
1@ = 10
goto @VIDPOK_591

:VIDPOK_489
1@ = 25
goto @VIDPOK_591

:VIDPOK_503
1@ = 50
goto @VIDPOK_591

:VIDPOK_517
1@ = 100
goto @VIDPOK_591

:VIDPOK_531
1@ = 500
goto @VIDPOK_591

:VIDPOK_546
1@ = 1000
goto @VIDPOK_591

:VIDPOK_561
1@ = 5000
goto @VIDPOK_591

:VIDPOK_576
1@ = 10000
goto @VIDPOK_591

:VIDPOK_591
wait 0
if 
  Object.DoesExist(0@)
goto_if_false @VIDPOK_1657
if 
  $vp_dpad_is_pressed == 0
goto_if_false @VIDPOK_1569
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VIDPOK_1533
if 
  $iPrintStripperHelp == 0
goto_if_false @VIDPOK_1497
if 
  Char.LocateOnFootObject2D($stattreadstamina_ctr, 0@, 5.0, 5.0, False)
goto_if_false @VIDPOK_1461
12@ = 0
13@ = Object.GetModel(0@)
19@, 20@, 21@, 22@, 23@, 24@ = Streaming.GetModelDimensions(13@)
set_lvar_float_to_lvar_float 15@ = 22@
sub_float_lvar_from_float_lvar 15@ -= 19@
if 
  15@ > 4.0
goto_if_false @VIDPOK_1166
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, -1.0, 0.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.3, 0.3, 1.5, False)
goto_if_false @VIDPOK_847
12@ = 1

:VIDPOK_847
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.838, -1.0, 0.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.3, 0.3, 1.5, False)
goto_if_false @VIDPOK_925
12@ = 1

:VIDPOK_925
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -1.676, -1.0, 0.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.3, 0.3, 1.5, False)
goto_if_false @VIDPOK_1003
12@ = 1

:VIDPOK_1003
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.838, -1.0, 0.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.3, 0.3, 1.5, False)
goto_if_false @VIDPOK_1081
12@ = 1

:VIDPOK_1081
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 1.676, -1.0, 0.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.3, 0.3, 1.5, False)
goto_if_false @VIDPOK_1159
12@ = 1

:VIDPOK_1159
goto @VIDPOK_1244

:VIDPOK_1166
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, -1.0, 0.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.3, 0.3, 1.5, False)
goto_if_false @VIDPOK_1244
12@ = 1

:VIDPOK_1244
if 
  12@ == 1
goto_if_false @VIDPOK_1427
if 
  $8874 == 0
goto_if_false @VIDPOK_1396
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @VIDPOK_1353
if 
  2@ == 1
goto_if_false @VIDPOK_1324
Text.ClearHelp
2@ = 0

:VIDPOK_1324
3@ = 0
4@ = 0
set_var_int_to_lvar_int $vp_dpad_is_pressed = 0@
goto @VIDPOK_1389

:VIDPOK_1353
if 
  2@ == 0
goto_if_false @VIDPOK_1389
Text.PrintHelpForever('VP01')
2@ = 1

:VIDPOK_1389
goto @VIDPOK_1420

:VIDPOK_1396
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @VIDPOK_1420
$8874 = 0

:VIDPOK_1420
goto @VIDPOK_1454

:VIDPOK_1427
if 
  2@ == 1
goto_if_false @VIDPOK_1454
Text.ClearHelp
2@ = 0

:VIDPOK_1454
goto @VIDPOK_1490

:VIDPOK_1461
if 
  2@ == 1
goto_if_false @VIDPOK_1488
Text.ClearHelp
2@ = 0

:VIDPOK_1488
terminate_this_script 

:VIDPOK_1490
goto @VIDPOK_1526

:VIDPOK_1497
if 
  2@ == 1
goto_if_false @VIDPOK_1524
Text.ClearHelp
2@ = 0

:VIDPOK_1524
terminate_this_script 

:VIDPOK_1526
goto @VIDPOK_1562

:VIDPOK_1533
if 
  2@ == 1
goto_if_false @VIDPOK_1560
Text.ClearHelp
2@ = 0

:VIDPOK_1560
terminate_this_script 

:VIDPOK_1562
goto @VIDPOK_1650

:VIDPOK_1569
if 
  is_int_var_equal_to_int_lvar $vp_dpad_is_pressed == 0@
goto_if_false @VIDPOK_1650
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VIDPOK_1650
if 
  7@ == 0
goto_if_false @VIDPOK_1636
gosub @VIDPOK_1695
goto @VIDPOK_1650

:VIDPOK_1636
gosub @VIDPOK_35323
$vp_dpad_is_pressed = 0

:VIDPOK_1650
goto @VIDPOK_1686

:VIDPOK_1657
if 
  2@ == 1
goto_if_false @VIDPOK_1684
Text.ClearHelp
2@ = 0

:VIDPOK_1684
terminate_this_script 

:VIDPOK_1686
goto @VIDPOK_591
return 

:VIDPOK_1695
if 
is_ps2_keyboard_key_pressed 32
goto_if_false @VIDPOK_1717
25@ = 1

:VIDPOK_1717
if 
  25@ == 1
goto_if_false @VIDPOK_1801
set_var_int_to_lvar_int $vp_edit_counter = 3@
set_var_int_to_lvar_int $vp_screen_x = 4@
view_integer_variable $vp_edit_counter {_p2} "M_STAGE"
view_integer_variable $vp_screen_x {_p2} "M_GOALS"
view_integer_variable $vp_initial_stake {_p2} "HIGH_CARDS_HELD"

:VIDPOK_1801
8@ += 1
if 
  8@ > 9
goto_if_false @VIDPOK_1833
8@ = 0

:VIDPOK_1833
9@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 11@ = 9@
sub_int_lvar_from_int_lvar 11@ -= 10@
set_lvar_int_to_lvar_int 10@ = 9@
if 
  3@ == 0
goto_if_false @VIDPOK_4822
if 
  4@ == 0
goto_if_false @VIDPOK_3940
Game.SetMinigameInProgress(True)
if 
  Object.DoesExist(0@)
goto_if_false @VIDPOK_1926
$on_footX = Object.GetHeading(0@)

:VIDPOK_1926
Player.SetControl($statbike_temp, False)
Task.AchieveHeading($stattreadstamina_ctr, $on_footX)
Hud.Display(False)
$8909 = 200
$8912[0] = 529.0
$8920[0] = 57.0
$8912[1] = 565.0
if 
  not is_xbox_version 
goto_if_false @VIDPOK_2013
$8920[1] = 384.0
goto @VIDPOK_2023

:VIDPOK_2013
$8920[1] = 368.0

:VIDPOK_2023
$8912[2] = 527.0
$8920[2] = 133.0
$8912[3] = 323.0
$8920[3] = 291.0
$8912[4] = 180.0
if 
  not is_xbox_version 
goto_if_false @VIDPOK_2103
$8920[4] = 413.0
goto @VIDPOK_2113

:VIDPOK_2103
$8920[4] = 397.0

:VIDPOK_2113
$8912[5] = 79.0
$8920[5] = 34.0
$8912[6] = 531.0
$8920[6] = 79.0
$8912[7] = 527.0
$8920[7] = 157.0
$8877[0] = 122.0
$8877[1] = 222.0
$8877[2] = 320.0
$8877[3] = 419.0
$8877[4] = 517.0
if 
  not is_xbox_version 
goto_if_false @VIDPOK_2293
$8882[0] = 314.0
$8882[1] = 314.0
$8882[2] = 314.0
$8882[3] = 314.0
$8882[4] = 314.0
goto @VIDPOK_2343

:VIDPOK_2293
$8882[0] = 306.0
$8882[1] = 306.0
$8882[2] = 306.0
$8882[3] = 306.0
$8882[4] = 306.0

:VIDPOK_2343
$vp_border_thickness = 91.0
if 
  not is_xbox_version 
goto_if_false @VIDPOK_2383
$vp_hold_height = 137.0
goto @VIDPOK_2393

:VIDPOK_2383
$vp_hold_height = 121.0

:VIDPOK_2393
$8897[0] = 33.0
$8897[1] = 61.0
$8897[2] = 76.0
$8897[3] = 92.0
$8897[4] = 108.0
$8897[5] = 124.0
$8897[6] = 140.0
$8897[7] = 156.0
$8897[8] = 172.0
$8897[9] = 188.0
$8891[0] = 86.0
$8891[1] = 239.0
$8891[2] = 286.0
$8891[3] = 330.0
$8891[4] = 378.0
$8891[5] = 450.0
if 
  not is_xbox_version 
goto_if_false @VIDPOK_2583
$vp_border_width = -86.0
goto @VIDPOK_2621

:VIDPOK_2583
set_var_float_to_var_float $vp_border_width = $vp_hold_height
$vp_border_width /= 2.0
$vp_border_width += 17.5
$vp_border_width *= -1.0

:VIDPOK_2621
$vp_border_height = 49.0
$vp_deal_width = 18.0
$col_x = 123.0
if 
  not is_xbox_version 
goto_if_false @VIDPOK_2681
$8888 = 401.0
goto @VIDPOK_2691

:VIDPOK_2681
$8888 = 385.0

:VIDPOK_2691
$8938 = 81.0
$8939 = 18.0
$8889 = 222.0
if 
  not is_xbox_version 
goto_if_false @VIDPOK_2751
$8890 = 401.0
goto @VIDPOK_2761

:VIDPOK_2751
$8890 = 385.0

:VIDPOK_2761
$vp_line_x = 87.0
$8937 = 18.0
$vp_deal_height = 4.0
$8940[0] = 384.0
$8949[0] = 131.0
$8958[0] = 2.0
$8967[0] = 152.0
$8940[1] = 458.0
$8949[1] = 131.0
$8958[1] = 2.0
$8967[1] = 154.0
$8940[2] = 267.0
$8949[2] = 207.0
$8958[2] = 382.0
$8967[2] = 2.0
$8940[3] = 77.0
$8949[3] = 131.0
$8958[3] = 2.0
$8967[3] = 152.0
$8940[4] = 267.0
$8949[4] = 54.0
$8958[4] = 383.0
$8967[4] = 2.0
$8940[5] = 199.0
$8949[5] = 131.0
$8958[5] = 2.0
$8967[5] = 152.0
$8940[6] = 246.0
$8949[6] = 131.0
$8958[6] = 2.0
$8967[6] = 152.0
$8940[7] = 292.0
$8949[7] = 131.0
$8958[7] = 2.0
$8967[7] = 153.0
$8940[8] = 338.0
$8949[8] = 131.0
$8958[8] = 2.0
$8967[8] = 153.0
$8976[0] = 0.82
$8982[0] = 3.02
$8988[0] = 128
$8994[0] = 0
$9000[0] = 0
$9006[0] = 1
$9012[0] = 1
$9018[0] = 1
set_var_int_to_var_int $9024[0] = $8909
set_var_int_to_var_int $9030[0] = $8909
$9036[0] = 0
$8976[1] = 0.52
$8982[1] = 2.39
$8988[1] = 128
$8994[1] = 0
$9000[1] = 0
$9006[1] = 1
$9012[1] = 0
$9018[1] = 1
set_var_int_to_var_int $9024[1] = $8909
set_var_int_to_var_int $9030[1] = $8909
$9036[1] = 0
$8976[2] = 0.36
$8982[2] = 1.53
set_var_int_to_var_int $8988[2] = $8909
set_var_int_to_var_int $8994[2] = $8909
$9000[2] = 0
$9006[2] = 1
$9012[2] = 0
$9018[2] = 1
$9024[2] = 0
$9030[2] = 0
$9036[2] = 0
$8976[3] = 0.36
$8982[3] = 1.72
set_var_int_to_var_int $8988[3] = $8909
set_var_int_to_var_int $8994[3] = $8909
$9000[3] = 0
$9006[3] = 1
$9012[3] = 0
$9018[3] = 1
$9024[3] = 0
$9030[3] = 0
$9036[3] = 0
$8976[4] = 0.42
$8982[4] = 1.6
set_var_int_to_var_int $8988[4] = $8909
set_var_int_to_var_int $8994[4] = $8909
$9000[4] = 0
$9006[4] = 1
$9012[4] = 0
$9018[4] = 1
$9024[4] = 0
$9030[4] = 0
$9036[4] = 0
$8976[5] = 0.44
$8982[5] = 1.35
set_var_int_to_var_int $8988[5] = $8909
set_var_int_to_var_int $8994[5] = $8909
$9000[5] = 0
$9006[5] = 1
$9012[5] = 1
$9018[5] = 1
$9024[5] = 0
$9030[5] = 0
$9036[5] = 0
$9072 = 81.0
$dealer_sprite_x = 63.0
$vp_highl_x = 268.0
$9045 = 130.0
$9046 = 384.0
$9047 = 152.0
$9048[0] = 222.0
$9053[0] = 130.0
$9058[0] = 49.0
$9063[0] = 152.0
$9048[1] = 269.0
$9053[1] = 130.0
$9058[1] = 46.0
$9063[1] = 152.0
$9048[2] = 314.0
$9053[2] = 130.0
$9058[2] = 48.0
$9063[2] = 152.0
$9048[3] = 360.0
$9053[3] = 130.0
$9058[3] = 46.0
$9063[3] = 152.0
$9048[4] = 421.0
$9053[4] = 130.0
$9058[4] = 72.0
$9063[4] = 152.0
$vp_table_width = 2.5
4@ += 1

:VIDPOK_3940
if 
  4@ == 1
goto_if_false @VIDPOK_3972
Camera.DoFade(500, Fade.Out)
4@ += 1

:VIDPOK_3972
if 
  4@ == 2
goto_if_false @VIDPOK_4010
if 
  not Camera.GetFadingStatus
goto_if_false @VIDPOK_4010
4@ += 1

:VIDPOK_4010
if 
  4@ == 3
goto_if_false @VIDPOK_4783
Text.UseCommands(True)
Txd.LoadDictionary('LD_POKE')
Txd.LoadSprite(1, "CD1C")
Txd.LoadSprite(2, "CD2C")
Txd.LoadSprite(3, "CD3C")
Txd.LoadSprite(4, "CD4C")
Txd.LoadSprite(5, "CD5C")
Txd.LoadSprite(6, "CD6C")
Txd.LoadSprite(7, "CD7C")
Txd.LoadSprite(8, "CD8C")
Txd.LoadSprite(9, "CD9C")
Txd.LoadSprite(10, "CD10C")
Txd.LoadSprite(11, "CD11C")
Txd.LoadSprite(12, "CD12C")
Txd.LoadSprite(13, "CD13C")
Txd.LoadSprite(14, "CD1D")
Txd.LoadSprite(15, "CD2D")
Txd.LoadSprite(16, "CD3D")
Txd.LoadSprite(17, "CD4D")
Txd.LoadSprite(18, "CD5D")
Txd.LoadSprite(19, "CD6D")
Txd.LoadSprite(20, "CD7D")
Txd.LoadSprite(21, "CD8D")
Txd.LoadSprite(22, "CD9D")
Txd.LoadSprite(23, "CD10D")
Txd.LoadSprite(24, "CD11D")
Txd.LoadSprite(25, "CD12D")
Txd.LoadSprite(26, "CD13D")
Txd.LoadSprite(27, "CD1S")
Txd.LoadSprite(28, "CD2S")
Txd.LoadSprite(29, "CD3S")
Txd.LoadSprite(30, "CD4S")
Txd.LoadSprite(31, "CD5S")
Txd.LoadSprite(32, "CD6S")
Txd.LoadSprite(33, "CD7S")
Txd.LoadSprite(34, "CD8S")
Txd.LoadSprite(35, "CD9S")
Txd.LoadSprite(36, "CD10S")
Txd.LoadSprite(37, "CD11S")
Txd.LoadSprite(38, "CD12S")
Txd.LoadSprite(39, "CD13S")
Txd.LoadSprite(40, "CD1H")
Txd.LoadSprite(41, "CD2H")
Txd.LoadSprite(42, "CD3H")
Txd.LoadSprite(43, "CD4H")
Txd.LoadSprite(44, "CD5H")
Txd.LoadSprite(45, "CD6H")
Txd.LoadSprite(46, "CD7H")
Txd.LoadSprite(47, "CD8H")
Txd.LoadSprite(48, "CD9H")
Txd.LoadSprite(49, "CD10H")
Txd.LoadSprite(50, "CD11H")
Txd.LoadSprite(51, "CD12H")
Txd.LoadSprite(52, "CD13H")
Txd.LoadSprite(53, "CDBACK")
Txd.LoadSprite(54, "ADDCOIN")
Txd.LoadSprite(57, "DEAL")
Txd.LoadSprite(60, "HOLDOFF")
Txd.LoadSprite(61, "HOLDMID")
Txd.LoadSprite(62, "HOLDON")
Txd.LoadSprite(63, "TVCORN")
Txd.LoadSprite(64, "BACKRED")
Txd.LoadSprite(65, "BACKCYAN")
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1800)

:VIDPOK_4698
if 
  not Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @VIDPOK_4724
wait 0
goto @VIDPOK_4698

:VIDPOK_4724
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VIDPOK_4770
12@ = Player.StoreScore($statbike_temp)
gosub @VIDPOK_35159
add_int_var_to_int_lvar 12@ += $colour_a
$8830 = 1

:VIDPOK_4770
Camera.DoFade(0, Fade.In)
4@ = 99

:VIDPOK_4783
if 
  4@ == 99
goto_if_false @VIDPOK_4822
$hand_is_full_house = 0
3@ += 1
4@ = 0

:VIDPOK_4822
if 
  3@ == 1
goto_if_false @VIDPOK_5992
if 
  4@ == 0
goto_if_false @VIDPOK_5005
$hand_is_four_of_kind = 2
$hand_is_straight_flush = 2
12@ = 0

:VIDPOK_4879
if 
  5 > 12@
goto_if_false @VIDPOK_4933
$8831(12@,5i) = 0
$8841(12@,5i) = 0
12@ += 1
goto @VIDPOK_4879

:VIDPOK_4933
12@ = Player.StoreScore($statbike_temp)
gosub @VIDPOK_35159
add_int_var_to_int_lvar 12@ += $colour_a
set_lvar_int_to_var_int 13@ = $8830
mult_int_lvar_by_int_lvar 13@ *= 1@
if 
  is_int_lvar_greater_than_int_lvar 13@ > 12@
goto_if_false @VIDPOK_4998
$8830 = 1

:VIDPOK_4998
4@ += 1

:VIDPOK_5005
if 
  4@ == 1
goto_if_false @VIDPOK_5517
if 
  $hand_is_full_house == 0
goto_if_false @VIDPOK_5062
$hand_is_straight_flush = 3
$hand_is_four_of_kind = 2
goto @VIDPOK_5076

:VIDPOK_5062
$hand_is_straight_flush = 2
$hand_is_four_of_kind = 3

:VIDPOK_5076
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  $been_in_a_bmx > 64
goto_if_false @VIDPOK_5194
if 
  $8875 == 0
goto_if_false @VIDPOK_5187
if 
  $hand_is_full_house == 0
goto_if_false @VIDPOK_5166
$hand_is_full_house = 1
goto @VIDPOK_5173

:VIDPOK_5166
$hand_is_full_house = 0

:VIDPOK_5173
$8875 += 1
goto @VIDPOK_5517

:VIDPOK_5187
goto @VIDPOK_5328

:VIDPOK_5194
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  -64 > $been_in_a_bmx
goto_if_false @VIDPOK_5296
if 
  $8875 == 0
goto_if_false @VIDPOK_5289
if 
  $hand_is_full_house == 1
goto_if_false @VIDPOK_5268
$hand_is_full_house = 0
goto @VIDPOK_5275

:VIDPOK_5268
$hand_is_full_house = 1

:VIDPOK_5275
$8875 += 1
goto @VIDPOK_5517

:VIDPOK_5289
goto @VIDPOK_5328

:VIDPOK_5296
if and
  $been_in_a_bmx > -64
  64 > $been_in_a_bmx
goto_if_false @VIDPOK_5328
$8875 = 0

:VIDPOK_5328
if 
  $card_x == 0
goto_if_false @VIDPOK_5492
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @VIDPOK_5485
if 
  $hand_is_full_house == 0
goto_if_false @VIDPOK_5430
$card_x += 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1026)
4@ += 1
goto @VIDPOK_5517
goto @VIDPOK_5485

:VIDPOK_5430
$card_x += 1
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1026)
$hand_is_four_of_kind = 2
TIMERA = 0
4@ += 3
goto @VIDPOK_5517

:VIDPOK_5485
goto @VIDPOK_5517

:VIDPOK_5492
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @VIDPOK_5517
$card_x = 0

:VIDPOK_5517
if 
  4@ == 2
goto_if_false @VIDPOK_5653
if 
  5 > $8830
goto_if_false @VIDPOK_5567
$8830 += 1
goto @VIDPOK_5574

:VIDPOK_5567
$8830 = 1

:VIDPOK_5574
set_lvar_int_to_var_int 12@ = $8830
mult_int_lvar_by_int_lvar 12@ *= 1@
13@ = Player.StoreScore($statbike_temp)
gosub @VIDPOK_35159
add_int_var_to_int_lvar 13@ += $colour_a
if 
  is_int_lvar_greater_than_int_lvar 12@ > 13@
goto_if_false @VIDPOK_5639
$8830 = 1

:VIDPOK_5639
TIMERA = 0
4@ += 1

:VIDPOK_5653
if 
  4@ == 3
goto_if_false @VIDPOK_5678
4@ = 1

:VIDPOK_5678
if 
  4@ == 4
goto_if_false @VIDPOK_5775
12@ = Player.StoreScore($statbike_temp)
gosub @VIDPOK_35159
add_int_var_to_int_lvar 12@ += $colour_a
set_lvar_int_to_var_int 13@ = $8830
mult_int_lvar_by_int_lvar 13@ *= 1@
if 
  is_int_lvar_greater_than_int_lvar 13@ > 12@
goto_if_false @VIDPOK_5768
4@ = 1
goto @VIDPOK_5775

:VIDPOK_5768
4@ = 99

:VIDPOK_5775
if 
  4@ == 99
goto_if_false @VIDPOK_5985
if 
  $8830 == 6
goto_if_false @VIDPOK_5818
$8830 = 4

:VIDPOK_5818
if 
  $8830 == 7
goto_if_false @VIDPOK_5843
$8830 = 3

:VIDPOK_5843
if 
  $8830 == 8
goto_if_false @VIDPOK_5868
$8830 = 2

:VIDPOK_5868
if 
  $8830 == 9
goto_if_false @VIDPOK_5893
$8830 = 1

:VIDPOK_5893
set_lvar_int_to_var_int 12@ = $8830
mult_int_lvar_by_int_lvar 12@ *= 1@
Stat.IncrementIntNoMessage(StatId.MoneySpentGambling, 12@)
cset_lvar_float_to_lvar_int 15@ =# 12@
15@ *= 0.001
Stat.IncrementFloatNoMessage(StatId.Gambling, 15@)
set_var_int_to_lvar_int $8876 = 12@
12@ *= -1
Player.AddScore($statbike_temp, 12@)
4@ = 0
3@ += 1
goto @VIDPOK_5992

:VIDPOK_5985
gosub @VIDPOK_26814

:VIDPOK_5992
if 
  3@ == 2
goto_if_false @VIDPOK_6640
if 
  4@ == 0
goto_if_false @VIDPOK_6114
$hand_is_four_of_kind = 0
$hand_is_straight_flush = 0
12@ = 0

:VIDPOK_6049
if 
  5 > 12@
goto_if_false @VIDPOK_6103
$8831(12@,5i) = 0
$8841(12@,5i) = 0
12@ += 1
goto @VIDPOK_6049

:VIDPOK_6103
CardDecks.Shuffle(1)
4@ += 1

:VIDPOK_6114
if 
  4@ == 1
goto_if_false @VIDPOK_6166
12@ = CardDecks.FetchNextCard()
gosub @VIDPOK_33917
set_var_int_to_lvar_int $8831[0] = 12@
TIMERA = 0
4@ += 1

:VIDPOK_6166
if 
  4@ == 2
goto_if_false @VIDPOK_6210
if 
  TIMERA > 400
goto_if_false @VIDPOK_6210
4@ += 1

:VIDPOK_6210
if 
  4@ == 3
goto_if_false @VIDPOK_6262
12@ = CardDecks.FetchNextCard()
gosub @VIDPOK_33917
set_var_int_to_lvar_int $8831[1] = 12@
TIMERA = 0
4@ += 1

:VIDPOK_6262
if 
  4@ == 4
goto_if_false @VIDPOK_6306
if 
  TIMERA > 400
goto_if_false @VIDPOK_6306
4@ += 1

:VIDPOK_6306
if 
  4@ == 5
goto_if_false @VIDPOK_6358
12@ = CardDecks.FetchNextCard()
gosub @VIDPOK_33917
set_var_int_to_lvar_int $8831[2] = 12@
TIMERA = 0
4@ += 1

:VIDPOK_6358
if 
  4@ == 6
goto_if_false @VIDPOK_6402
if 
  TIMERA > 400
goto_if_false @VIDPOK_6402
4@ += 1

:VIDPOK_6402
if 
  4@ == 7
goto_if_false @VIDPOK_6454
12@ = CardDecks.FetchNextCard()
gosub @VIDPOK_33917
set_var_int_to_lvar_int $8831[3] = 12@
TIMERA = 0
4@ += 1

:VIDPOK_6454
if 
  4@ == 8
goto_if_false @VIDPOK_6498
if 
  TIMERA > 400
goto_if_false @VIDPOK_6498
4@ += 1

:VIDPOK_6498
if 
  4@ == 9
goto_if_false @VIDPOK_6550
12@ = CardDecks.FetchNextCard()
gosub @VIDPOK_33917
set_var_int_to_lvar_int $8831[4] = 12@
TIMERA = 0
4@ += 1

:VIDPOK_6550
if 
  4@ == 10
goto_if_false @VIDPOK_6594
if 
  TIMERA > 800
goto_if_false @VIDPOK_6594
4@ = 99

:VIDPOK_6594
if 
  4@ == 99
goto_if_false @VIDPOK_6633
4@ = 0
3@ += 1
goto @VIDPOK_6640

:VIDPOK_6633
gosub @VIDPOK_26814

:VIDPOK_6640
if 
  3@ == 3
goto_if_false @VIDPOK_7782
if 
  4@ == 0
goto_if_false @VIDPOK_6765
$hand_is_four_of_kind = 2
$hand_is_straight_flush = 0
12@ = 0

:VIDPOK_6697
if 
  5 > 12@
goto_if_false @VIDPOK_6751
$8841(12@,5i) = 2
$8836(12@,5i) = 0
12@ += 1
goto @VIDPOK_6697

:VIDPOK_6751
$hand_is_full_house = 0
4@ += 1

:VIDPOK_6765
if 
  4@ == 1
goto_if_false @VIDPOK_7686
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  $been_in_a_bmx > 64
goto_if_false @VIDPOK_6926
if 
  $8875 == 0
goto_if_false @VIDPOK_6919
if 
  5 > $hand_is_full_house
goto_if_false @VIDPOK_6919
$hand_is_full_house += 1
if 
  $hand_is_full_house == 5
goto_if_false @VIDPOK_6891
$hand_is_full_house = 0

:VIDPOK_6891
4@ += 1
TIMERA = 0
$8875 += 1
goto @VIDPOK_7454

:VIDPOK_6919
goto @VIDPOK_7092

:VIDPOK_6926
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  -64 > $been_in_a_bmx
goto_if_false @VIDPOK_7060
if 
  $8875 == 0
goto_if_false @VIDPOK_7053
if and
  $hand_is_full_house > -1
  5 > $hand_is_full_house
goto_if_false @VIDPOK_7053
$hand_is_full_house -= 1
if 
  $hand_is_full_house == -1
goto_if_false @VIDPOK_7025
$hand_is_full_house = 4

:VIDPOK_7025
4@ += 1
$8875 += 1
TIMERA = 0
goto @VIDPOK_7454

:VIDPOK_7053
goto @VIDPOK_7092

:VIDPOK_7060
if and
  $been_in_a_bmx > -64
  64 > $been_in_a_bmx
goto_if_false @VIDPOK_7092
$8875 = 0

:VIDPOK_7092
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  $tucking_contact_blip > 64
goto_if_false @VIDPOK_7144
$hand_is_full_house = 5
4@ += 1
TIMERA = 0
goto @VIDPOK_7454

:VIDPOK_7144
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -64 > $tucking_contact_blip
goto_if_false @VIDPOK_7214
if 
  $hand_is_full_house == 5
goto_if_false @VIDPOK_7214
$hand_is_full_house = 1
4@ += 1
TIMERA = 0
goto @VIDPOK_7454

:VIDPOK_7214
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @VIDPOK_7429
if 
  $card_x == 0
goto_if_false @VIDPOK_7422
if 
  5 > $hand_is_full_house
goto_if_false @VIDPOK_7374
if 
  $8836($hand_is_full_house,5i) == 0
goto_if_false @VIDPOK_7308
$8836($hand_is_full_house,5i) = 1
goto @VIDPOK_7319

:VIDPOK_7308
$8836($hand_is_full_house,5i) = 0

:VIDPOK_7319
TIMERA = 0
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1026)
4@ += 1
$card_x += 1
goto @VIDPOK_7454
goto @VIDPOK_7422

:VIDPOK_7374
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1026)
TIMERA = 0
4@ += 2
$card_x += 1
goto @VIDPOK_7454

:VIDPOK_7422
goto @VIDPOK_7454

:VIDPOK_7429
if 
  $card_x <> 0
goto_if_false @VIDPOK_7454
$card_x = 0

:VIDPOK_7454
12@ = 0

:VIDPOK_7461
if 
  6 > 12@
goto_if_false @VIDPOK_7686
if 
  5 > 12@
goto_if_false @VIDPOK_7632
if 
  not is_int_lvar_equal_to_int_var 12@ == $hand_is_full_house
goto_if_false @VIDPOK_7574
if 
  $8836(12@,5i) == 0
goto_if_false @VIDPOK_7556
$8841(12@,5i) = 2
goto @VIDPOK_7567

:VIDPOK_7556
$8841(12@,5i) = 4

:VIDPOK_7567
goto @VIDPOK_7625

:VIDPOK_7574
if 
  $8836(12@,5i) == 0
goto_if_false @VIDPOK_7614
$8841(12@,5i) = 3
goto @VIDPOK_7625

:VIDPOK_7614
$8841(12@,5i) = 5

:VIDPOK_7625
goto @VIDPOK_7672

:VIDPOK_7632
if 
  not is_int_lvar_equal_to_int_var 12@ == $hand_is_full_house
goto_if_false @VIDPOK_7665
$hand_is_four_of_kind = 2
goto @VIDPOK_7672

:VIDPOK_7665
$hand_is_four_of_kind = 3

:VIDPOK_7672
12@ += 1
goto @VIDPOK_7461

:VIDPOK_7686
if 
  4@ == 2
goto_if_false @VIDPOK_7711
4@ = 1

:VIDPOK_7711
if 
  4@ == 3
goto_if_false @VIDPOK_7736
4@ = 99

:VIDPOK_7736
if 
  4@ == 99
goto_if_false @VIDPOK_7775
4@ = 0
3@ += 1
goto @VIDPOK_7782

:VIDPOK_7775
gosub @VIDPOK_26814

:VIDPOK_7782
if 
  3@ == 4
goto_if_false @VIDPOK_8900
if 
  4@ == 0
goto_if_false @VIDPOK_8022
$hand_is_four_of_kind = 0
$hand_is_straight_flush = 0
12@ = 0

:VIDPOK_7839
if 
  5 > 12@
goto_if_false @VIDPOK_7882
$8841(12@,5i) = 0
12@ += 1
goto @VIDPOK_7839

:VIDPOK_7882
$vp_initial_stake = 0
12@ = 0

:VIDPOK_7896
if 
  5 > 12@
goto_if_false @VIDPOK_8015
if 
  $8836(12@,5i) <> 0
goto_if_false @VIDPOK_8001
set_var_int_to_var_int $9073 = $8831(12@,5i)
gosub @VIDPOK_33664
if or
  $9074 == 1
  $9074 == 11
  $9074 == 12
  $9074 == 13
goto_if_false @VIDPOK_8001
$vp_initial_stake += 1

:VIDPOK_8001
12@ += 1
goto @VIDPOK_7896

:VIDPOK_8015
4@ += 1

:VIDPOK_8022
if 
  4@ == 1
goto_if_false @VIDPOK_8126
12@ = 0

:VIDPOK_8047
if 
  5 > 12@
goto_if_false @VIDPOK_8112
if 
  $8836(12@,5i) == 0
goto_if_false @VIDPOK_8098
$8831(12@,5i) = 0

:VIDPOK_8098
12@ += 1
goto @VIDPOK_8047

:VIDPOK_8112
TIMERA = 0
4@ += 1

:VIDPOK_8126
if 
  4@ == 2
goto_if_false @VIDPOK_8170
if 
  TIMERA > 500
goto_if_false @VIDPOK_8170
4@ += 1

:VIDPOK_8170
if 
  4@ == 3
goto_if_false @VIDPOK_8254
if 
  $8836[0] == 0
goto_if_false @VIDPOK_8247
12@ = CardDecks.FetchNextCard()
gosub @VIDPOK_33919
set_var_int_to_lvar_int $8831[0] = 12@
TIMERA = 0
4@ += 1
goto @VIDPOK_8254

:VIDPOK_8247
4@ += 2

:VIDPOK_8254
if 
  4@ == 4
goto_if_false @VIDPOK_8298
if 
  TIMERA > 400
goto_if_false @VIDPOK_8298
4@ += 1

:VIDPOK_8298
if 
  4@ == 5
goto_if_false @VIDPOK_8382
if 
  $8836[1] == 0
goto_if_false @VIDPOK_8375
12@ = CardDecks.FetchNextCard()
gosub @VIDPOK_33919
set_var_int_to_lvar_int $8831[1] = 12@
TIMERA = 0
4@ += 1
goto @VIDPOK_8382

:VIDPOK_8375
4@ += 2

:VIDPOK_8382
if 
  4@ == 6
goto_if_false @VIDPOK_8426
if 
  TIMERA > 400
goto_if_false @VIDPOK_8426
4@ += 1

:VIDPOK_8426
if 
  4@ == 7
goto_if_false @VIDPOK_8510
if 
  $8836[2] == 0
goto_if_false @VIDPOK_8503
12@ = CardDecks.FetchNextCard()
gosub @VIDPOK_33919
set_var_int_to_lvar_int $8831[2] = 12@
TIMERA = 0
4@ += 1
goto @VIDPOK_8510

:VIDPOK_8503
4@ += 2

:VIDPOK_8510
if 
  4@ == 8
goto_if_false @VIDPOK_8554
if 
  TIMERA > 400
goto_if_false @VIDPOK_8554
4@ += 1

:VIDPOK_8554
if 
  4@ == 9
goto_if_false @VIDPOK_8638
if 
  $8836[3] == 0
goto_if_false @VIDPOK_8631
12@ = CardDecks.FetchNextCard()
gosub @VIDPOK_33919
set_var_int_to_lvar_int $8831[3] = 12@
TIMERA = 0
4@ += 1
goto @VIDPOK_8638

:VIDPOK_8631
4@ += 2

:VIDPOK_8638
if 
  4@ == 10
goto_if_false @VIDPOK_8682
if 
  TIMERA > 400
goto_if_false @VIDPOK_8682
4@ += 1

:VIDPOK_8682
if 
  4@ == 11
goto_if_false @VIDPOK_8766
if 
  $8836[4] == 0
goto_if_false @VIDPOK_8759
12@ = CardDecks.FetchNextCard()
gosub @VIDPOK_33919
set_var_int_to_lvar_int $8831[4] = 12@
TIMERA = 0
4@ += 1
goto @VIDPOK_8766

:VIDPOK_8759
4@ += 2

:VIDPOK_8766
if 
  4@ == 12
goto_if_false @VIDPOK_8810
if 
  TIMERA > 400
goto_if_false @VIDPOK_8810
4@ += 1

:VIDPOK_8810
if 
  4@ == 13
goto_if_false @VIDPOK_8854
if 
  TIMERA > 800
goto_if_false @VIDPOK_8854
4@ = 99

:VIDPOK_8854
if 
  4@ == 99
goto_if_false @VIDPOK_8893
4@ = 0
3@ += 1
goto @VIDPOK_8900

:VIDPOK_8893
gosub @VIDPOK_26814

:VIDPOK_8900
if 
  3@ == 5
goto_if_false @VIDPOK_10424
if 
  4@ == 0
goto_if_false @VIDPOK_9020
$hand_is_flush = 0
$hand_is_straight = 0
$hand_is_three_of_kind = 0
$hand_is_two_pairs = 0
$hand_is_jacks_or_better = 0
$pair1 = 0
$pair2 = 0
$card_value_number = 0
$8857 = 0
$8858 = 0
$8859 = 0
4@ += 1

:VIDPOK_9020
if 
  4@ == 1
goto_if_false @VIDPOK_10346
12@ = 0

:VIDPOK_9045
if 
  5 > 12@
goto_if_false @VIDPOK_9139
set_var_int_to_var_int $9073 = $8831(12@,5i)
gosub @VIDPOK_33664
set_var_int_to_var_int $8860(12@,5i) = $9074
set_var_int_to_var_int $9073 = $8831(12@,5i)
gosub @VIDPOK_33812
set_var_int_to_var_int $8865(12@,5i) = $9074
12@ += 1
goto @VIDPOK_9045

:VIDPOK_9139
save_newline_to_debug_file 
14@ = 1

:VIDPOK_9148
if 
  14@ > 0
goto_if_false @VIDPOK_9333
12@ = 0
13@ = 0
14@ = 0

:VIDPOK_9187
if 
  5 > 12@
goto_if_false @VIDPOK_9326
set_lvar_int_to_lvar_int 13@ = 12@
13@ += 1
if 
  5 > 13@
goto_if_false @VIDPOK_9312
if 
  is_int_var_greater_than_int_var $8860(12@,5i) > $8860(13@,5i)
goto_if_false @VIDPOK_9312
set_lvar_int_to_var_int 26@ = $8860(13@,5i)
set_var_int_to_var_int $8860(13@,5i) = $8860(12@,5i)
set_var_int_to_lvar_int $8860(12@,5i) = 26@
14@ += 1

:VIDPOK_9312
12@ += 1
goto @VIDPOK_9187

:VIDPOK_9326
goto @VIDPOK_9148

:VIDPOK_9333
if and
  is_int_var_equal_to_int_var $8865[0] == $8865[1]
  is_int_var_equal_to_int_var $8865[1] == $8865[2]
  is_int_var_equal_to_int_var $8865[2] == $8865[3]
  is_int_var_equal_to_int_var $8865[3] == $8865[4]
goto_if_false @VIDPOK_9383
$hand_is_jacks_or_better = 1

:VIDPOK_9383
set_lvar_int_to_var_int 12@ = $8860[0]
12@ += 1
if 
  is_int_lvar_equal_to_int_var 12@ == $8860[1]
goto_if_false @VIDPOK_9551
set_lvar_int_to_var_int 12@ = $8860[1]
12@ += 1
if 
  is_int_lvar_equal_to_int_var 12@ == $8860[2]
goto_if_false @VIDPOK_9551
set_lvar_int_to_var_int 12@ = $8860[2]
12@ += 1
if 
  is_int_lvar_equal_to_int_var 12@ == $8860[3]
goto_if_false @VIDPOK_9551
set_lvar_int_to_var_int 12@ = $8860[3]
12@ += 1
if 
  is_int_lvar_equal_to_int_var 12@ == $8860[4]
goto_if_false @VIDPOK_9551
$pair1 = 1
if 
  $hand_is_jacks_or_better == 1
goto_if_false @VIDPOK_9551
$hand_is_straight = 1

:VIDPOK_9551
if and
  $8860[0] == 1
  $8860[1] == 10
  $8860[2] == 11
  $8860[3] == 12
  $8860[4] == 13
goto_if_false @VIDPOK_9636
$pair1 = 1
if 
  $hand_is_jacks_or_better == 1
goto_if_false @VIDPOK_9636
$hand_is_straight = 1
$hand_is_flush = 1

:VIDPOK_9636
12@ = 0
13@ = 0
14@ = 0

:VIDPOK_9657
if 
  5 > 12@
goto_if_false @VIDPOK_9930
set_lvar_int_to_lvar_int 13@ = 12@
13@ += 1
if 
  5 > 13@
goto_if_false @VIDPOK_9916
if 
  is_int_var_equal_to_int_var $8860(12@,5i) == $8860(13@,5i)
goto_if_false @VIDPOK_9774
14@ += 1
if 
  13@ == 4
goto_if_false @VIDPOK_9767
goto @VIDPOK_9774

:VIDPOK_9767
goto @VIDPOK_9916

:VIDPOK_9774
if 
  14@ > 0
goto_if_false @VIDPOK_9916
if 
  14@ == 1
goto_if_false @VIDPOK_9859
if 
  $8858 == 0
goto_if_false @VIDPOK_9847
set_var_int_to_var_int $8858 = $8860(12@,5i)
goto @VIDPOK_9859

:VIDPOK_9847
set_var_int_to_var_int $8859 = $8860(12@,5i)

:VIDPOK_9859
if 
  14@ == 2
goto_if_false @VIDPOK_9884
$pair2 = 1

:VIDPOK_9884
if 
  14@ == 3
goto_if_false @VIDPOK_9909
$hand_is_three_of_kind = 1

:VIDPOK_9909
14@ = 0

:VIDPOK_9916
12@ += 1
goto @VIDPOK_9657

:VIDPOK_9930
if and
  $pair2 == 1
  $8858 <> 0
goto_if_false @VIDPOK_9962
$hand_is_two_pairs = 1

:VIDPOK_9962
if and
  $8858 <> 0
  $8859 <> 0
goto_if_false @VIDPOK_9994
$card_value_number = 1

:VIDPOK_9994
if 
  $8858 <> 0
goto_if_false @VIDPOK_10044
if or
  $8858 > 10
  $8858 == 1
goto_if_false @VIDPOK_10044
$8857 = 1

:VIDPOK_10044
if 
  $hand_is_flush == 1
goto_if_false @VIDPOK_10076
$vp_triangle_is_pressed = 9
goto @VIDPOK_10339

:VIDPOK_10076
if 
  $hand_is_straight == 1
goto_if_false @VIDPOK_10108
$vp_triangle_is_pressed = 8
goto @VIDPOK_10339

:VIDPOK_10108
if 
  $hand_is_three_of_kind == 1
goto_if_false @VIDPOK_10140
$vp_triangle_is_pressed = 7
goto @VIDPOK_10339

:VIDPOK_10140
if 
  $hand_is_two_pairs == 1
goto_if_false @VIDPOK_10172
$vp_triangle_is_pressed = 6
goto @VIDPOK_10339

:VIDPOK_10172
if 
  $hand_is_jacks_or_better == 1
goto_if_false @VIDPOK_10204
$vp_triangle_is_pressed = 5
goto @VIDPOK_10339

:VIDPOK_10204
if 
  $pair1 == 1
goto_if_false @VIDPOK_10236
$vp_triangle_is_pressed = 4
goto @VIDPOK_10339

:VIDPOK_10236
if 
  $pair2 == 1
goto_if_false @VIDPOK_10268
$vp_triangle_is_pressed = 3
goto @VIDPOK_10339

:VIDPOK_10268
if 
  $card_value_number == 1
goto_if_false @VIDPOK_10300
$vp_triangle_is_pressed = 2
goto @VIDPOK_10339

:VIDPOK_10300
if 
  $8857 == 1
goto_if_false @VIDPOK_10332
$vp_triangle_is_pressed = 1
goto @VIDPOK_10339

:VIDPOK_10332
$vp_triangle_is_pressed = 0

:VIDPOK_10339
4@ += 1

:VIDPOK_10346
if 
  4@ == 2
goto_if_false @VIDPOK_10371
4@ = 99

:VIDPOK_10371
if 
  4@ == 99
goto_if_false @VIDPOK_10417
3@ += 1
4@ = 0
TIMERA = 0
goto @VIDPOK_10424

:VIDPOK_10417
gosub @VIDPOK_26814

:VIDPOK_10424
if 
  3@ == 6
goto_if_false @VIDPOK_12437
if 
  4@ == 0
goto_if_false @VIDPOK_12202
set_lvar_int_to_lvar_int 12@ = 1@
if 
  $vp_triangle_is_pressed == 9
goto_if_false @VIDPOK_10664
switch_start $8830 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_10664 {caseNum1} 1 {caseLabel1} @VIDPOK_10549 {caseNum2} 2 {caseLabel2} @VIDPOK_10572 {caseNum3} 3 {caseLabel3} @VIDPOK_10595 {caseNum4} 4 {caseLabel4} @VIDPOK_10618 {caseNum5} 5 {caseLabel5} @VIDPOK_10641 {caseNum6} -1 {caseLabel6} @VIDPOK_10664 {caseNum7} -1 {caseLabel7} @VIDPOK_10664

:VIDPOK_10549
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 250
goto @VIDPOK_10664

:VIDPOK_10572
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 500
goto @VIDPOK_10664

:VIDPOK_10595
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 750
goto @VIDPOK_10664

:VIDPOK_10618
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 1000
goto @VIDPOK_10664

:VIDPOK_10641
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 4000
goto @VIDPOK_10664

:VIDPOK_10664
if 
  $vp_triangle_is_pressed == 8
goto_if_false @VIDPOK_10858
switch_start $8830 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_10858 {caseNum1} 1 {caseLabel1} @VIDPOK_10745 {caseNum2} 2 {caseLabel2} @VIDPOK_10767 {caseNum3} 3 {caseLabel3} @VIDPOK_10789 {caseNum4} 4 {caseLabel4} @VIDPOK_10812 {caseNum5} 5 {caseLabel5} @VIDPOK_10835 {caseNum6} -1 {caseLabel6} @VIDPOK_10858 {caseNum7} -1 {caseLabel7} @VIDPOK_10858

:VIDPOK_10745
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 50
goto @VIDPOK_10858

:VIDPOK_10767
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 100
goto @VIDPOK_10858

:VIDPOK_10789
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 150
goto @VIDPOK_10858

:VIDPOK_10812
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 200
goto @VIDPOK_10858

:VIDPOK_10835
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 250
goto @VIDPOK_10858

:VIDPOK_10858
if 
  $vp_triangle_is_pressed == 7
goto_if_false @VIDPOK_11049
switch_start $8830 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_11049 {caseNum1} 1 {caseLabel1} @VIDPOK_10939 {caseNum2} 2 {caseLabel2} @VIDPOK_10961 {caseNum3} 3 {caseLabel3} @VIDPOK_10983 {caseNum4} 4 {caseLabel4} @VIDPOK_11005 {caseNum5} 5 {caseLabel5} @VIDPOK_11027 {caseNum6} -1 {caseLabel6} @VIDPOK_11049 {caseNum7} -1 {caseLabel7} @VIDPOK_11049

:VIDPOK_10939
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 25
goto @VIDPOK_11049

:VIDPOK_10961
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 50
goto @VIDPOK_11049

:VIDPOK_10983
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 75
goto @VIDPOK_11049

:VIDPOK_11005
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 100
goto @VIDPOK_11049

:VIDPOK_11027
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 125
goto @VIDPOK_11049

:VIDPOK_11049
if 
  $vp_triangle_is_pressed == 6
goto_if_false @VIDPOK_11240
switch_start $8830 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_11240 {caseNum1} 1 {caseLabel1} @VIDPOK_11130 {caseNum2} 2 {caseLabel2} @VIDPOK_11152 {caseNum3} 3 {caseLabel3} @VIDPOK_11174 {caseNum4} 4 {caseLabel4} @VIDPOK_11196 {caseNum5} 5 {caseLabel5} @VIDPOK_11218 {caseNum6} -1 {caseLabel6} @VIDPOK_11240 {caseNum7} -1 {caseLabel7} @VIDPOK_11240

:VIDPOK_11130
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 9
goto @VIDPOK_11240

:VIDPOK_11152
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 18
goto @VIDPOK_11240

:VIDPOK_11174
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 27
goto @VIDPOK_11240

:VIDPOK_11196
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 36
goto @VIDPOK_11240

:VIDPOK_11218
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 45
goto @VIDPOK_11240

:VIDPOK_11240
if 
  $vp_triangle_is_pressed == 5
goto_if_false @VIDPOK_11431
switch_start $8830 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_11431 {caseNum1} 1 {caseLabel1} @VIDPOK_11321 {caseNum2} 2 {caseLabel2} @VIDPOK_11343 {caseNum3} 3 {caseLabel3} @VIDPOK_11365 {caseNum4} 4 {caseLabel4} @VIDPOK_11387 {caseNum5} 5 {caseLabel5} @VIDPOK_11409 {caseNum6} -1 {caseLabel6} @VIDPOK_11431 {caseNum7} -1 {caseLabel7} @VIDPOK_11431

:VIDPOK_11321
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 6
goto @VIDPOK_11431

:VIDPOK_11343
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 12
goto @VIDPOK_11431

:VIDPOK_11365
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 18
goto @VIDPOK_11431

:VIDPOK_11387
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 24
goto @VIDPOK_11431

:VIDPOK_11409
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 30
goto @VIDPOK_11431

:VIDPOK_11431
if 
  $vp_triangle_is_pressed == 4
goto_if_false @VIDPOK_11622
switch_start $8830 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_11622 {caseNum1} 1 {caseLabel1} @VIDPOK_11512 {caseNum2} 2 {caseLabel2} @VIDPOK_11534 {caseNum3} 3 {caseLabel3} @VIDPOK_11556 {caseNum4} 4 {caseLabel4} @VIDPOK_11578 {caseNum5} 5 {caseLabel5} @VIDPOK_11600 {caseNum6} -1 {caseLabel6} @VIDPOK_11622 {caseNum7} -1 {caseLabel7} @VIDPOK_11622

:VIDPOK_11512
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 4
goto @VIDPOK_11622

:VIDPOK_11534
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 8
goto @VIDPOK_11622

:VIDPOK_11556
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 12
goto @VIDPOK_11622

:VIDPOK_11578
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 16
goto @VIDPOK_11622

:VIDPOK_11600
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 20
goto @VIDPOK_11622

:VIDPOK_11622
if 
  $vp_triangle_is_pressed == 3
goto_if_false @VIDPOK_11813
switch_start $8830 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_11813 {caseNum1} 1 {caseLabel1} @VIDPOK_11703 {caseNum2} 2 {caseLabel2} @VIDPOK_11725 {caseNum3} 3 {caseLabel3} @VIDPOK_11747 {caseNum4} 4 {caseLabel4} @VIDPOK_11769 {caseNum5} 5 {caseLabel5} @VIDPOK_11791 {caseNum6} -1 {caseLabel6} @VIDPOK_11813 {caseNum7} -1 {caseLabel7} @VIDPOK_11813

:VIDPOK_11703
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 3
goto @VIDPOK_11813

:VIDPOK_11725
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 6
goto @VIDPOK_11813

:VIDPOK_11747
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 9
goto @VIDPOK_11813

:VIDPOK_11769
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 12
goto @VIDPOK_11813

:VIDPOK_11791
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 15
goto @VIDPOK_11813

:VIDPOK_11813
if 
  $vp_triangle_is_pressed == 2
goto_if_false @VIDPOK_12004
switch_start $8830 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_12004 {caseNum1} 1 {caseLabel1} @VIDPOK_11894 {caseNum2} 2 {caseLabel2} @VIDPOK_11916 {caseNum3} 3 {caseLabel3} @VIDPOK_11938 {caseNum4} 4 {caseLabel4} @VIDPOK_11960 {caseNum5} 5 {caseLabel5} @VIDPOK_11982 {caseNum6} -1 {caseLabel6} @VIDPOK_12004 {caseNum7} -1 {caseLabel7} @VIDPOK_12004

:VIDPOK_11894
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 2
goto @VIDPOK_12004

:VIDPOK_11916
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 4
goto @VIDPOK_12004

:VIDPOK_11938
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 6
goto @VIDPOK_12004

:VIDPOK_11960
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 8
goto @VIDPOK_12004

:VIDPOK_11982
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 10
goto @VIDPOK_12004

:VIDPOK_12004
if 
  $vp_triangle_is_pressed == 1
goto_if_false @VIDPOK_12195
switch_start $8830 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_12195 {caseNum1} 1 {caseLabel1} @VIDPOK_12085 {caseNum2} 2 {caseLabel2} @VIDPOK_12107 {caseNum3} 3 {caseLabel3} @VIDPOK_12129 {caseNum4} 4 {caseLabel4} @VIDPOK_12151 {caseNum5} 5 {caseLabel5} @VIDPOK_12173 {caseNum6} -1 {caseLabel6} @VIDPOK_12195 {caseNum7} -1 {caseLabel7} @VIDPOK_12195

:VIDPOK_12085
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 1
goto @VIDPOK_12195

:VIDPOK_12107
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 2
goto @VIDPOK_12195

:VIDPOK_12129
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 3
goto @VIDPOK_12195

:VIDPOK_12151
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 4
goto @VIDPOK_12195

:VIDPOK_12173
set_lvar_int_to_lvar_int 14@ = 12@
14@ *= 5
goto @VIDPOK_12195

:VIDPOK_12195
4@ += 1

:VIDPOK_12202
if 
  $vp_triangle_is_pressed <> 0
goto_if_false @VIDPOK_12354
if or
  TIMERA > 4000
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @VIDPOK_12347
Audio.ReportMissionAudioEventAtPosition(-1000.0, -1000.0, -1000.0, 1025)
Player.AddScore($statbike_temp, 14@)
set_lvar_int_to_lvar_int 12@ = 14@
sub_int_var_from_int_lvar 12@ -= $8876
Stat.IncrementIntNoMessage(StatId.MoneyWonGambling, 12@)
Stat.ShowUpdateStats(False)
Stat.RegisterInt(StatId.BiggestGamblingWin, 12@)
Stat.ShowUpdateStats(True)
3@ = 1
4@ = 0
$hand_is_full_house = 1
$card_x = 1
$8876 = 0

:VIDPOK_12347
goto @VIDPOK_12430

:VIDPOK_12354
if or
  TIMERA > 4000
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @VIDPOK_12430
Stat.ShowUpdateStats(False)
Stat.RegisterInt(StatId.BiggestGamblingLoss, $8876)
Stat.ShowUpdateStats(True)
$8876 = 0
$card_x = 1
3@ = 1
4@ = 0
$hand_is_full_house = 1

:VIDPOK_12430
gosub @VIDPOK_26814

:VIDPOK_12437
gosub @VIDPOK_12496
if 
  3@ > 0
goto_if_false @VIDPOK_12494
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @VIDPOK_12494
7@ = 1
$8874 = 1

:VIDPOK_12494
return 

:VIDPOK_12496
if 
is_ps2_keyboard_key_just_pressed 67
goto_if_false @VIDPOK_13062
$8910 += 1
if 
  $8910 > 13
goto_if_false @VIDPOK_12543
$8910 = 0

:VIDPOK_12543
if 
  $8910 == 1
goto_if_false @VIDPOK_12581
write_debug "EDIT_BET_DETAILS"

:VIDPOK_12581
if 
  $8910 == 2
goto_if_false @VIDPOK_12619
write_debug "EDIT_SHIFT_CARDS"

:VIDPOK_12619
if 
  $8910 == 3
goto_if_false @VIDPOK_12674
write_debug "EDIT_SHIFT_TABLE_ROWS_AND_COLUMNS"

:VIDPOK_12674
if 
  $8910 == 4
goto_if_false @VIDPOK_12713
write_debug "EDIT_HOLD_BUTTONS"

:VIDPOK_12713
if 
  $8910 == 5
goto_if_false @VIDPOK_12747
write_debug "EDIT_BET_ONE"

:VIDPOK_12747
if 
  $8910 == 6
goto_if_false @VIDPOK_12778
write_debug "EDIT_DEAL"

:VIDPOK_12778
if 
  $8910 == 7
goto_if_false @VIDPOK_12821
write_debug "EDIT_BORDER_THICKNESS"

:VIDPOK_12821
if 
  $8910 == 8
goto_if_false @VIDPOK_12859
write_debug "EDIT_TABLE_LINES"

:VIDPOK_12859
if 
  $8910 == 9
goto_if_false @VIDPOK_12890
write_debug "EDIT_TEXT"

:VIDPOK_12890
if 
  $8910 == 10
goto_if_false @VIDPOK_12922
write_debug "EDIT_TILES"

:VIDPOK_12922
if 
  $8910 == 11
goto_if_false @VIDPOK_12965
write_debug "EDIT_TABLE_BACKGROUND"

:VIDPOK_12965
if 
  $8910 == 12
goto_if_false @VIDPOK_13017
write_debug "EDIT_TABLE_HIGHLIGHTED_COLUMNS"

:VIDPOK_13017
if 
  $8910 == 13
goto_if_false @VIDPOK_13062
write_debug "EDIT_BUTTON_TEXT_OFFSET"

:VIDPOK_13062
if 
  $8910 == 1
goto_if_false @VIDPOK_13266
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @VIDPOK_13146
$8911 += 1
if 
  $8911 > 7
goto_if_false @VIDPOK_13127
$8911 = 0

:VIDPOK_13127
write_debug_with_int "EDIT_COUNTER" {_p2} $8911

:VIDPOK_13146
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @VIDPOK_13176
$8920($8911,8f) += -1.0

:VIDPOK_13176
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @VIDPOK_13206
$8920($8911,8f) += 1.0

:VIDPOK_13206
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @VIDPOK_13236
$8912($8911,8f) += 1.0

:VIDPOK_13236
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @VIDPOK_13266
$8912($8911,8f) += -1.0

:VIDPOK_13266
if 
  $8910 == 2
goto_if_false @VIDPOK_13574
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @VIDPOK_13350
$8911 += 1
if 
  $8911 > 4
goto_if_false @VIDPOK_13331
$8911 = 0

:VIDPOK_13331
write_debug_with_int "EDIT_COUNTER" {_p2} $8911

:VIDPOK_13350
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @VIDPOK_13380
$8882($8911,5f) += -1.0

:VIDPOK_13380
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @VIDPOK_13410
$8882($8911,5f) += 1.0

:VIDPOK_13410
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @VIDPOK_13440
$8877($8911,5f) += 1.0

:VIDPOK_13440
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @VIDPOK_13470
$8877($8911,5f) += -1.0

:VIDPOK_13470
if 
is_ps2_keyboard_key_just_pressed 143
goto_if_false @VIDPOK_13496
$vp_border_thickness += 1.0

:VIDPOK_13496
if 
is_ps2_keyboard_key_just_pressed 141
goto_if_false @VIDPOK_13522
$vp_border_thickness += -1.0

:VIDPOK_13522
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @VIDPOK_13548
$vp_hold_height += 1.0

:VIDPOK_13548
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @VIDPOK_13574
$vp_hold_height += -1.0

:VIDPOK_13574
if 
  $8910 == 3
goto_if_false @VIDPOK_13828
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @VIDPOK_13658
$8911 += 1
if 
  $8911 > 9
goto_if_false @VIDPOK_13639
$8911 = 0

:VIDPOK_13639
write_debug_with_int "EDIT_COUNTER" {_p2} $8911

:VIDPOK_13658
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @VIDPOK_13688
$8897($8911,10f) += -1.0

:VIDPOK_13688
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @VIDPOK_13718
$8897($8911,10f) += 1.0

:VIDPOK_13718
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @VIDPOK_13773
if 
  $8911 > 5
goto_if_false @VIDPOK_13759
$8911 = 0

:VIDPOK_13759
$8891($8911,6f) += 1.0

:VIDPOK_13773
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @VIDPOK_13828
if 
  $8911 > 5
goto_if_false @VIDPOK_13814
$8911 = 0

:VIDPOK_13814
$8891($8911,6f) += -1.0

:VIDPOK_13828
if 
  $8910 == 4
goto_if_false @VIDPOK_14015
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @VIDPOK_13861

:VIDPOK_13861
if 
is_ps2_keyboard_key_just_pressed 87
goto_if_false @VIDPOK_13886
$vp_border_width += -1.0

:VIDPOK_13886
if 
is_ps2_keyboard_key_just_pressed 83
goto_if_false @VIDPOK_13911
$vp_border_width += 1.0

:VIDPOK_13911
if 
is_ps2_keyboard_key_just_pressed 143
goto_if_false @VIDPOK_13937
$vp_border_height += 1.0

:VIDPOK_13937
if 
is_ps2_keyboard_key_just_pressed 141
goto_if_false @VIDPOK_13963
$vp_border_height += -1.0

:VIDPOK_13963
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @VIDPOK_13989
$vp_deal_width += 1.0

:VIDPOK_13989
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @VIDPOK_14015
$vp_deal_width += -1.0

:VIDPOK_14015
if 
  $8910 == 5
goto_if_false @VIDPOK_14256
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @VIDPOK_14048

:VIDPOK_14048
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @VIDPOK_14074
$8888 += -1.0

:VIDPOK_14074
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @VIDPOK_14100
$8888 += 1.0

:VIDPOK_14100
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @VIDPOK_14126
$col_x += 1.0

:VIDPOK_14126
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @VIDPOK_14152
$col_x += -1.0

:VIDPOK_14152
if 
is_ps2_keyboard_key_just_pressed 143
goto_if_false @VIDPOK_14178
$8938 += 1.0

:VIDPOK_14178
if 
is_ps2_keyboard_key_just_pressed 141
goto_if_false @VIDPOK_14204
$8938 += -1.0

:VIDPOK_14204
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @VIDPOK_14230
$8939 += 1.0

:VIDPOK_14230
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @VIDPOK_14256
$8939 += -1.0

:VIDPOK_14256
if 
  $8910 == 6
goto_if_false @VIDPOK_14497
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @VIDPOK_14289

:VIDPOK_14289
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @VIDPOK_14315
$8890 += -1.0

:VIDPOK_14315
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @VIDPOK_14341
$8890 += 1.0

:VIDPOK_14341
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @VIDPOK_14367
$8889 += 1.0

:VIDPOK_14367
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @VIDPOK_14393
$8889 += -1.0

:VIDPOK_14393
if 
is_ps2_keyboard_key_just_pressed 143
goto_if_false @VIDPOK_14419
$vp_line_x += 1.0

:VIDPOK_14419
if 
is_ps2_keyboard_key_just_pressed 141
goto_if_false @VIDPOK_14445
$vp_line_x += -1.0

:VIDPOK_14445
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @VIDPOK_14471
$8937 += 1.0

:VIDPOK_14471
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @VIDPOK_14497
$8937 += -1.0

:VIDPOK_14497
if 
  $8910 == 7
goto_if_false @VIDPOK_14567
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @VIDPOK_14541
$vp_deal_height += 0.1

:VIDPOK_14541
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @VIDPOK_14567
$vp_deal_height += -0.1

:VIDPOK_14567
if 
  $8910 == 8
goto_if_false @VIDPOK_14947
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @VIDPOK_14651
$8911 += 1
if 
  $8911 > 8
goto_if_false @VIDPOK_14632
$8911 = 0

:VIDPOK_14632
write_debug_with_int "EDIT_COUNTER" {_p2} $8911

:VIDPOK_14651
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @VIDPOK_14681
$8949($8911,9f) += -1.0

:VIDPOK_14681
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @VIDPOK_14711
$8949($8911,9f) += 1.0

:VIDPOK_14711
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @VIDPOK_14741
$8940($8911,9f) += 1.0

:VIDPOK_14741
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @VIDPOK_14771
$8940($8911,9f) += -1.0

:VIDPOK_14771
if 
is_ps2_keyboard_key_just_pressed 142
goto_if_false @VIDPOK_14827
set_lvar_float_to_var_float 15@ = $8958($8911,9f)
set_var_float_to_var_float $8958($8911,9f) = $8967($8911,9f)
set_var_float_to_lvar_float $8967($8911,9f) = 15@

:VIDPOK_14827
if 
is_ps2_keyboard_key_just_pressed 141
goto_if_false @VIDPOK_14857
$8958($8911,9f) += -1.0

:VIDPOK_14857
if 
is_ps2_keyboard_key_just_pressed 143
goto_if_false @VIDPOK_14887
$8958($8911,9f) += 1.0

:VIDPOK_14887
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @VIDPOK_14917
$8967($8911,9f) += 1.0

:VIDPOK_14917
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @VIDPOK_14947
$8967($8911,9f) += -1.0

:VIDPOK_14947
if 
  $8910 == 9
goto_if_false @VIDPOK_15884
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @VIDPOK_15031
$8911 += 1
if 
  $8911 > 5
goto_if_false @VIDPOK_15012
$8911 = 0

:VIDPOK_15012
write_debug_with_int "EDIT_COUNTER" {_p2} $8911

:VIDPOK_15031
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @VIDPOK_15061
$8982($8911,6f) += -0.01

:VIDPOK_15061
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @VIDPOK_15091
$8982($8911,6f) += 0.01

:VIDPOK_15091
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @VIDPOK_15121
$8976($8911,6f) += 0.01

:VIDPOK_15121
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @VIDPOK_15151
$8976($8911,6f) += -0.01

:VIDPOK_15151
if 
is_ps2_keyboard_key_just_pressed 82
goto_if_false @VIDPOK_15191
$8988($8911,6i) += 1
write_debug_with_int "RED" {_p2} $8988($8911,6i)

:VIDPOK_15191
if 
is_ps2_keyboard_key_just_pressed 86
goto_if_false @VIDPOK_15231
$8988($8911,6i) += -1
write_debug_with_int "RED" {_p2} $8988($8911,6i)

:VIDPOK_15231
if 
is_ps2_keyboard_key_just_pressed 84
goto_if_false @VIDPOK_15273
$8994($8911,6i) += 1
write_debug_with_int "GREEN" {_p2} $8994($8911,6i)

:VIDPOK_15273
if 
is_ps2_keyboard_key_just_pressed 71
goto_if_false @VIDPOK_15315
$8994($8911,6i) += -1
write_debug_with_int "GREEN" {_p2} $8994($8911,6i)

:VIDPOK_15315
if 
is_ps2_keyboard_key_just_pressed 89
goto_if_false @VIDPOK_15356
$9000($8911,6i) += 1
write_debug_with_int "BLUE" {_p2} $9000($8911,6i)

:VIDPOK_15356
if 
is_ps2_keyboard_key_just_pressed 72
goto_if_false @VIDPOK_15397
$9000($8911,6i) += -1
write_debug_with_int "BLUE" {_p2} $9000($8911,6i)

:VIDPOK_15397
if 
is_ps2_keyboard_key_just_pressed 85
goto_if_false @VIDPOK_15437
$9024($8911,6i) += 1
write_debug_with_int "RED" {_p2} $9024($8911,6i)

:VIDPOK_15437
if 
is_ps2_keyboard_key_just_pressed 74
goto_if_false @VIDPOK_15477
$9024($8911,6i) += -1
write_debug_with_int "RED" {_p2} $9024($8911,6i)

:VIDPOK_15477
if 
is_ps2_keyboard_key_just_pressed 73
goto_if_false @VIDPOK_15519
$9030($8911,6i) += 1
write_debug_with_int "GREEN" {_p2} $9030($8911,6i)

:VIDPOK_15519
if 
is_ps2_keyboard_key_just_pressed 75
goto_if_false @VIDPOK_15561
$9030($8911,6i) += -1
write_debug_with_int "GREEN" {_p2} $9030($8911,6i)

:VIDPOK_15561
if 
is_ps2_keyboard_key_just_pressed 79
goto_if_false @VIDPOK_15602
$9036($8911,6i) += 1
write_debug_with_int "BLUE" {_p2} $9036($8911,6i)

:VIDPOK_15602
if 
is_ps2_keyboard_key_just_pressed 76
goto_if_false @VIDPOK_15643
$9036($8911,6i) += -1
write_debug_with_int "BLUE" {_p2} $9036($8911,6i)

:VIDPOK_15643
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @VIDPOK_15670
$9018($8911,6i) += 1

:VIDPOK_15670
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @VIDPOK_15697
$9018($8911,6i) += -1

:VIDPOK_15697
if 
is_ps2_keyboard_key_just_pressed 136
goto_if_false @VIDPOK_15757
$9006($8911,6i) += 1
if 
  $9006($8911,6i) > 3
goto_if_false @VIDPOK_15757
$9006($8911,6i) = 0

:VIDPOK_15757
if 
is_ps2_keyboard_key_just_pressed 135
goto_if_false @VIDPOK_15817
$9006($8911,6i) += -1
if 
  0 > $9006($8911,6i)
goto_if_false @VIDPOK_15817
$9006($8911,6i) = 3

:VIDPOK_15817
if 
is_ps2_keyboard_key_just_pressed 133
goto_if_false @VIDPOK_15884
if 
  $9012($8911,6i) == 0
goto_if_false @VIDPOK_15873
$9012($8911,6i) = 1
goto @VIDPOK_15884

:VIDPOK_15873
$9012($8911,6i) = 0

:VIDPOK_15884
if 
  $8910 == 10
goto_if_false @VIDPOK_16072
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @VIDPOK_15928
$9072 += -1.0

:VIDPOK_15928
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @VIDPOK_15954
$9072 += 1.0

:VIDPOK_15954
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @VIDPOK_15980
$dealer_sprite_x += 1.0

:VIDPOK_15980
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @VIDPOK_16006
$dealer_sprite_x += -1.0

:VIDPOK_16006
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @VIDPOK_16072
$vp_table_height += 1
if 
  $vp_table_height > 3
goto_if_false @VIDPOK_16053
$vp_table_height = 0

:VIDPOK_16053
write_debug_with_int "VP_TILE_TYPE" {_p2} $vp_table_height

:VIDPOK_16072
if 
  $8910 == 11
goto_if_false @VIDPOK_16298
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @VIDPOK_16116
$9045 += -1.0

:VIDPOK_16116
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @VIDPOK_16142
$9045 += 1.0

:VIDPOK_16142
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @VIDPOK_16168
$vp_highl_x += 1.0

:VIDPOK_16168
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @VIDPOK_16194
$vp_highl_x += -1.0

:VIDPOK_16194
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @VIDPOK_16220
$9047 += 1.0

:VIDPOK_16220
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @VIDPOK_16246
$9047 += -1.0

:VIDPOK_16246
if 
is_ps2_keyboard_key_just_pressed 143
goto_if_false @VIDPOK_16272
$9046 += 1.0

:VIDPOK_16272
if 
is_ps2_keyboard_key_just_pressed 141
goto_if_false @VIDPOK_16298
$9046 += -1.0

:VIDPOK_16298
if 
  $8910 == 12
goto_if_false @VIDPOK_16622
if 
is_ps2_keyboard_key_just_pressed 97
goto_if_false @VIDPOK_16382
$8911 += 1
if 
  $8911 > 4
goto_if_false @VIDPOK_16363
$8911 = 0

:VIDPOK_16363
write_debug_with_int "EDIT_COUNTER" {_p2} $8911

:VIDPOK_16382
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @VIDPOK_16412
$9053($8911,5f) += -1.0

:VIDPOK_16412
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @VIDPOK_16442
$9053($8911,5f) += 1.0

:VIDPOK_16442
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @VIDPOK_16472
$9048($8911,5f) += 1.0

:VIDPOK_16472
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @VIDPOK_16502
$9048($8911,5f) += -1.0

:VIDPOK_16502
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @VIDPOK_16532
$9063($8911,5f) += 1.0

:VIDPOK_16532
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @VIDPOK_16562
$9063($8911,5f) += -1.0

:VIDPOK_16562
if 
is_ps2_keyboard_key_just_pressed 143
goto_if_false @VIDPOK_16592
$9058($8911,5f) += 1.0

:VIDPOK_16592
if 
is_ps2_keyboard_key_just_pressed 141
goto_if_false @VIDPOK_16622
$9058($8911,5f) += -1.0

:VIDPOK_16622
if 
  $8910 == 13
goto_if_false @VIDPOK_16692
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @VIDPOK_16666
$vp_table_width += 0.05

:VIDPOK_16666
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @VIDPOK_16692
$vp_table_width += -0.05

:VIDPOK_16692
if 
is_ps2_keyboard_key_just_pressed 137
goto_if_false @VIDPOK_26812
save_newline_to_debug_file 
save_newline_to_debug_file 
12@ = 0

:VIDPOK_16719
if 
  8 > 12@
goto_if_false @VIDPOK_17303
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_SCREEN_X[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8912(12@,8f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_SCREEN_Y[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8920(12@,8f)
12@ += 1
goto @VIDPOK_16719

:VIDPOK_17303
save_newline_to_debug_file 
save_newline_to_debug_file 
12@ = 0

:VIDPOK_17314
if 
  5 > 12@
goto_if_false @VIDPOK_17898
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CARD_X[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8877(12@,5f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CARD_Y[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8882(12@,5f)
12@ += 1
goto @VIDPOK_17314

:VIDPOK_17898
save_newline_to_debug_file 
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_CARD_WIDTH = ")
save_float_to_debug_file $vp_border_thickness
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_CARD_HEIGHT = ")
save_float_to_debug_file $vp_hold_height
save_newline_to_debug_file 
save_newline_to_debug_file 
12@ = 0

:VIDPOK_18187
if 
  10 > 12@
goto_if_false @VIDPOK_18495
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("ROW_Y[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8897(12@,10f)
12@ += 1
goto @VIDPOK_18187

:VIDPOK_18495
save_newline_to_debug_file 
save_newline_to_debug_file 
12@ = 0

:VIDPOK_18506
if 
  6 > 12@
goto_if_false @VIDPOK_18814
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("COL_X[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8891(12@,6f)
12@ += 1
goto @VIDPOK_18506

:VIDPOK_18814
save_newline_to_debug_file 
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_HOLD_BUTTON_OFFSET = ")
save_float_to_debug_file $vp_border_width
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_HOLD_WIDTH = ")
save_float_to_debug_file $vp_border_height
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_HOLD_HEIGHT = ")
save_float_to_debug_file $vp_deal_width
save_newline_to_debug_file 
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BET_ONE_X = ")
save_float_to_debug_file $col_x
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BET_ONE_Y = ")
save_float_to_debug_file $8888
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_BET_ONE_WIDTH = ")
save_float_to_debug_file $8938
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_BET_ONE_HEIGHT = ")
save_float_to_debug_file $8939
save_newline_to_debug_file 
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("DEAL_X = ")
save_float_to_debug_file $8889
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("DEAL_Y = ")
save_float_to_debug_file $8890
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_DEAL_WIDTH = ")
save_float_to_debug_file $vp_line_x
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_DEAL_HEIGHT = ")
save_float_to_debug_file $8937
save_newline_to_debug_file 
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_BORDER_THICKNESS = ")
save_float_to_debug_file $vp_deal_height
save_newline_to_debug_file 
save_newline_to_debug_file 
12@ = 0

:VIDPOK_20485
if 
  9 > 12@
goto_if_false @VIDPOK_21621
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_LINE_X[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8940(12@,9f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_LINE_Y[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8949(12@,9f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_LINE_WIDTH[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8958(12@,9f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_LINE_HEIGHT[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8967(12@,9f)
12@ += 1
goto @VIDPOK_20485

:VIDPOK_21621
12@ = 0

:VIDPOK_21628
if 
  6 > 12@
goto_if_false @VIDPOK_24696
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TEXT_SCALE_X[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8976(12@,6f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TEXT_SCALE_Y[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $8982(12@,6f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TEXT_COLOUR_R[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_int_to_debug_file $8988(12@,6i)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TEXT_COLOUR_G[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_int_to_debug_file $8994(12@,6i)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TEXT_COLOUR_B[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_int_to_debug_file $9000(12@,6i)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TEXT_FONT[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_int_to_debug_file $9006(12@,6i)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TEXT_CENTRE[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_int_to_debug_file $9012(12@,6i)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TEXT_EDGE[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_int_to_debug_file $9018(12@,6i)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TEXT_EDGE_R[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_int_to_debug_file $9024(12@,6i)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TEXT_EDGE_G[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_int_to_debug_file $9030(12@,6i)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TEXT_EDGE_B[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_int_to_debug_file $9036(12@,6i)
12@ += 1
goto @VIDPOK_21628

:VIDPOK_24696
save_newline_to_debug_file 
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TILE_HEIGHT = ")
save_float_to_debug_file $9072
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("TILE_WIDTH = ")
save_float_to_debug_file $dealer_sprite_x
save_newline_to_debug_file 
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_TABLE_X = ")
save_float_to_debug_file $vp_highl_x
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_TABLE_Y = ")
save_float_to_debug_file $9045
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_TABLE_WIDTH = ")
save_float_to_debug_file $9046
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_TABLE_HEIGHT = ")
save_float_to_debug_file $9047
save_newline_to_debug_file 
save_newline_to_debug_file 
12@ = 0

:VIDPOK_25537
if 
  5 > 12@
goto_if_false @VIDPOK_26673
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_HIGHL_X[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $9048(12@,5f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_HIGHL_Y[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $9053(12@,5f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_HIGHL_WIDTH[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $9058(12@,5f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("VP_HIGHL_HEIGHT[")
save_int_to_debug_file 12@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $9063(12@,5f)
12@ += 1
goto @VIDPOK_25537

:VIDPOK_26673
save_newline_to_debug_file 
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BUTTON_TEXT_OFFSET = ")
save_float_to_debug_file $vp_table_width

:VIDPOK_26812
return 

:VIDPOK_26814
if 
  $vp_out_card_value == 0
goto_if_false @VIDPOK_26880
$vp_in_card_value += 10
if 
  $vp_in_card_value >= 255
goto_if_false @VIDPOK_26873
$vp_in_card_value = 255
$vp_out_card_value = 1

:VIDPOK_26873
goto @VIDPOK_26919

:VIDPOK_26880
$vp_in_card_value += -10
if 
  0 >= $vp_in_card_value
goto_if_false @VIDPOK_26919
$vp_in_card_value = 0
$vp_out_card_value = 0

:VIDPOK_26919
if 
  $vp_table_height <> 0
goto_if_false @VIDPOK_27190
12@ = 0
set_var_float_to_var_float $on_footY = $dealer_sprite_x
$on_footY /= 2.0
set_var_float_to_var_float $on_footZ = $9072
$on_footZ /= 2.0

:VIDPOK_26980
if and
  480.0 > $on_footZ
  100 > 12@
goto_if_false @VIDPOK_27183

:VIDPOK_27008
if and
  640.0 > $on_footY
  100 > 12@
goto_if_false @VIDPOK_27150
if 
  $vp_table_height == 1
goto_if_false @VIDPOK_27082
Hud.DrawSprite(64, $on_footY, $on_footZ, $dealer_sprite_x, $9072, 150, 150, 150, 255)

:VIDPOK_27082
if 
  $vp_table_height == 2
goto_if_false @VIDPOK_27128
Hud.DrawSprite(65, $on_footY, $on_footZ, $dealer_sprite_x, $9072, 150, 150, 150, 255)

:VIDPOK_27128
12@ += 1
add_float_var_to_float_var $on_footY += $dealer_sprite_x
goto @VIDPOK_27008

:VIDPOK_27150
add_float_var_to_float_var $on_footZ += $9072
set_var_float_to_var_float $on_footY = $dealer_sprite_x
$on_footY /= 2.0
goto @VIDPOK_26980

:VIDPOK_27183
goto @VIDPOK_27222

:VIDPOK_27190
Hud.DrawRect(320.0, 240.0, 640.0, 480.0, 6, 16, 140, 255)

:VIDPOK_27222
Hud.DrawSprite(63, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(63, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.DrawSprite(63, 480.0, 336.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.DrawSprite(63, 160.0, 336.0, 320.0, -224.0, 150, 150, 150, 255)
gosub @VIDPOK_34113
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.Display($8912[0], $8920[0], 'VP02')
gosub @VIDPOK_33921
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.DisplayWithNumber($8912[6], $8920[6], 'DOLLAR', 1@)
12@ = Player.StoreScore($statbike_temp)
gosub @VIDPOK_35159
gosub @VIDPOK_33921
Text.SetRightJustify(True)
set_lvar_int_to_var_int 13@ = $colour_a
13@ *= -1
if 
  is_int_lvar_greater_or_equal_to_int_lvar 13@ >= 12@
goto_if_false @VIDPOK_27517
Text.Display($8912[1], $8920[1], 'VP18')
goto @VIDPOK_27537

:VIDPOK_27517
Text.DisplayWithNumber($8912[1], $8920[1], 'VP16', 12@)

:VIDPOK_27537
gosub @VIDPOK_34113
Text.SetRightJustify(False)
Text.SetCenter(True)
set_lvar_int_to_var_int 12@ = $8830
mult_int_lvar_by_int_lvar 12@ *= 1@
Text.Display($8912[2], $8920[2], 'VP03')
gosub @VIDPOK_33921
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.DisplayWithNumber($8912[7], $8920[7], 'DOLLAR', 12@)
gosub @VIDPOK_34497
Text.SetCenter(True)
Text.Display(320.0, $8920[4], 'VP17')
Hud.DrawRect($vp_highl_x, $9045, $9046, $9047, 0, 0, 0, 255)
if 
  3@ <> 6
goto_if_false @VIDPOK_27919
switch_start $8830 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_27919 {caseNum1} 1 {caseLabel1} @VIDPOK_27754 {caseNum2} 2 {caseLabel2} @VIDPOK_27787 {caseNum3} 3 {caseLabel3} @VIDPOK_27820 {caseNum4} 4 {caseLabel4} @VIDPOK_27853 {caseNum5} 5 {caseLabel5} @VIDPOK_27886 {caseNum6} -1 {caseLabel6} @VIDPOK_27919 {caseNum7} -1 {caseLabel7} @VIDPOK_27919

:VIDPOK_27754
Hud.DrawRect($9048[0], $9053[0], $9058[0], $9063[0], $8988[1], $8994[1], $9000[1], 255)
goto @VIDPOK_27919

:VIDPOK_27787
Hud.DrawRect($9048[1], $9053[1], $9058[1], $9063[1], $8988[1], $8994[1], $9000[1], 255)
goto @VIDPOK_27919

:VIDPOK_27820
Hud.DrawRect($9048[2], $9053[2], $9058[2], $9063[2], $8988[1], $8994[1], $9000[1], 255)
goto @VIDPOK_27919

:VIDPOK_27853
Hud.DrawRect($9048[3], $9053[3], $9058[3], $9063[3], $8988[1], $8994[1], $9000[1], 255)
goto @VIDPOK_27919

:VIDPOK_27886
Hud.DrawRect($9048[4], $9053[4], $9058[4], $9063[4], $8988[1], $8994[1], $9000[1], 255)
goto @VIDPOK_27919

:VIDPOK_27919
if and
  3@ == 6
  $vp_triangle_is_pressed <> 0
goto_if_false @VIDPOK_28256
12@ = 10
sub_int_var_from_int_lvar 12@ -= $vp_triangle_is_pressed
set_lvar_float_to_var_float 15@ = $8897(12@,10f)
15@ += 9.0
switch_start $8830 {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @VIDPOK_28214 {caseNum1} 1 {caseLabel1} @VIDPOK_28044 {caseNum2} 2 {caseLabel2} @VIDPOK_28078 {caseNum3} 3 {caseLabel3} @VIDPOK_28112 {caseNum4} 4 {caseLabel4} @VIDPOK_28146 {caseNum5} 5 {caseLabel5} @VIDPOK_28180 {caseNum6} -1 {caseLabel6} @VIDPOK_28214 {caseNum7} -1 {caseLabel7} @VIDPOK_28214

:VIDPOK_28044
Hud.DrawRect($9048[0], 15@, $9058[0], 18.0, 255, $vp_in_card_value, 0, 255)
goto @VIDPOK_28214

:VIDPOK_28078
Hud.DrawRect($9048[1], 15@, $9058[1], 18.0, 255, $vp_in_card_value, 0, 255)
goto @VIDPOK_28214

:VIDPOK_28112
Hud.DrawRect($9048[2], 15@, $9058[2], 18.0, 255, $vp_in_card_value, 0, 255)
goto @VIDPOK_28214

:VIDPOK_28146
Hud.DrawRect($9048[3], 15@, $9058[3], 18.0, 255, $vp_in_card_value, 0, 255)
goto @VIDPOK_28214

:VIDPOK_28180
Hud.DrawRect($9048[4], 15@, $9058[4], 18.0, 255, $vp_in_card_value, 0, 255)
goto @VIDPOK_28214

:VIDPOK_28214
gosub @VIDPOK_33921
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.DisplayWithNumber($8912[3], $8920[3], 'VP04', 14@)
goto @VIDPOK_28323

:VIDPOK_28256
if and
  3@ == 6
  $vp_triangle_is_pressed == 0
goto_if_false @VIDPOK_28323
14@ = 0
gosub @VIDPOK_33921
Text.SetRightJustify(False)
Text.SetCenter(True)
Text.DisplayWithNumber($8912[3], $8920[3], 'VP04', 14@)

:VIDPOK_28323
gosub @VIDPOK_34305
Text.Display($8891[0], $8897[1], 'VP06')
gosub @VIDPOK_34305
Text.Display($8891[0], $8897[2], 'VP07')
gosub @VIDPOK_34305
Text.Display($8891[0], $8897[3], 'VP08')
gosub @VIDPOK_34305
Text.Display($8891[0], $8897[4], 'VP09')
gosub @VIDPOK_34305
Text.Display($8891[0], $8897[5], 'VP10')
gosub @VIDPOK_34305
Text.Display($8891[0], $8897[6], 'VP11')
gosub @VIDPOK_34305
Text.Display($8891[0], $8897[7], 'VP12')
gosub @VIDPOK_34305
Text.Display($8891[0], $8897[8], 'VP13')
gosub @VIDPOK_34305
Text.Display($8891[0], $8897[9], 'VP14')
gosub @VIDPOK_34497
Text.SetColor(255, 255, 255, 255)
Text.Display($8912[5], $8920[5], 'VP05')
gosub @VIDPOK_34497
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber($8891[1], $8897[0], 'VP15', 1)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[1], $8897[1], 'VP15', 250)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[1], $8897[2], 'VP15', 50)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[1], $8897[3], 'VP15', 25)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[1], $8897[4], 'VP15', 9)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[1], $8897[5], 'VP15', 6)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[1], $8897[6], 'VP15', 4)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[1], $8897[7], 'VP15', 3)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[1], $8897[8], 'VP15', 2)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[1], $8897[9], 'VP15', 1)
gosub @VIDPOK_34497
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber($8891[2], $8897[0], 'VP15', 2)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[2], $8897[1], 'VP15', 500)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[2], $8897[2], 'VP15', 100)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[2], $8897[3], 'VP15', 50)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[2], $8897[4], 'VP15', 18)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[2], $8897[5], 'VP15', 12)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[2], $8897[6], 'VP15', 8)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[2], $8897[7], 'VP15', 6)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[2], $8897[8], 'VP15', 4)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[2], $8897[9], 'VP15', 2)
gosub @VIDPOK_34497
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber($8891[3], $8897[0], 'VP15', 3)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[3], $8897[1], 'VP15', 750)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[3], $8897[2], 'VP15', 150)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[3], $8897[3], 'VP15', 75)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[3], $8897[4], 'VP15', 27)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[3], $8897[5], 'VP15', 18)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[3], $8897[6], 'VP15', 12)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[3], $8897[7], 'VP15', 9)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[3], $8897[8], 'VP15', 6)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[3], $8897[9], 'VP15', 3)
gosub @VIDPOK_34497
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber($8891[4], $8897[0], 'VP15', 4)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[4], $8897[1], 'VP15', 1000)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[4], $8897[2], 'VP15', 200)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[4], $8897[3], 'VP15', 100)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[4], $8897[4], 'VP15', 36)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[4], $8897[5], 'VP15', 24)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[4], $8897[6], 'VP15', 16)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[4], $8897[7], 'VP15', 12)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[4], $8897[8], 'VP15', 8)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[4], $8897[9], 'VP15', 4)
gosub @VIDPOK_34497
Text.SetRightJustify(True)
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber($8891[5], $8897[0], 'VP15', 5)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[5], $8897[1], 'VP15', 4000)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[5], $8897[2], 'VP15', 250)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[5], $8897[3], 'VP15', 125)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[5], $8897[4], 'VP15', 45)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[5], $8897[5], 'VP15', 30)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[5], $8897[6], 'VP15', 20)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[5], $8897[7], 'VP15', 15)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[5], $8897[8], 'VP15', 10)
gosub @VIDPOK_34689
Text.SetRightJustify(True)
Text.DisplayWithNumber($8891[5], $8897[9], 'VP15', 5)
Hud.DrawRect($8940[0], $8949[0], $8958[0], $8967[0], $9024[0], $9030[0], $9036[0], 255)
Hud.DrawRect($8940[1], $8949[1], $8958[1], $8967[1], $9024[0], $9030[0], $9036[0], 255)
Hud.DrawRect($8940[2], $8949[2], $8958[2], $8967[2], $9024[0], $9030[0], $9036[0], 255)
Hud.DrawRect($8940[3], $8949[3], $8958[3], $8967[3], $9024[0], $9030[0], $9036[0], 255)
Hud.DrawRect($8940[4], $8949[4], $8958[4], $8967[4], $9024[0], $9030[0], $9036[0], 255)
Hud.DrawRect($8940[5], $8949[5], $8958[5], $8967[5], $9024[0], $9030[0], $9036[0], 255)
Hud.DrawRect($8940[6], $8949[6], $8958[6], $8967[6], $9024[0], $9030[0], $9036[0], 255)
Hud.DrawRect($8940[7], $8949[7], $8958[7], $8967[7], $9024[0], $9030[0], $9036[0], 255)
Hud.DrawRect($8940[8], $8949[8], $8958[8], $8967[8], $9024[0], $9030[0], $9036[0], 255)
$TILE_HEIGHT = 0

:VIDPOK_30396
if 
  5 > $TILE_HEIGHT
goto_if_false @VIDPOK_31582
if 
  $8831($TILE_HEIGHT,5i) == 0
goto_if_false @VIDPOK_30479
Hud.DrawSprite(53, $8877($TILE_HEIGHT,5f), $8882($TILE_HEIGHT,5f), $vp_border_thickness, $vp_hold_height, 128, 128, 128, 255)
goto @VIDPOK_30520

:VIDPOK_30479
Hud.DrawSprite($8831($TILE_HEIGHT,5i), $8877($TILE_HEIGHT,5f), $8882($TILE_HEIGHT,5f), $vp_border_thickness, $vp_hold_height, 128, 128, 128, 255)

:VIDPOK_30520
set_var_float_to_var_float $on_footY = $8877($TILE_HEIGHT,5f)
set_var_float_to_var_float $on_footZ = $8882($TILE_HEIGHT,5f)
add_float_var_to_float_var $on_footZ += $vp_border_width
if 
  $8841($TILE_HEIGHT,5i) == 0
goto_if_false @VIDPOK_30731
set_var_float_to_var_float $vp_bet_one_width = $vp_border_height
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $vp_deal_width
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($on_footY, $on_footZ, $vp_bet_one_width, $vp_bet_one_height, 0, 0, 0, 128)
Hud.DrawRect($on_footY, $on_footZ, $vp_border_height, $vp_deal_width, 128, 128, 128, 255)
gosub @VIDPOK_34881
Text.SetColor(128, 128, 128, 255)
Text.SetEdge($9018[5], 0, 0, 0, 128)
set_lvar_float_to_var_float 15@ = $vp_deal_width
div_float_lvar_by_float_var 15@ /= $vp_table_width
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($on_footY, $on_footZ, 'VP19')

:VIDPOK_30731
if 
  $8841($TILE_HEIGHT,5i) == 1
goto_if_false @VIDPOK_30912
set_var_float_to_var_float $vp_bet_one_width = $vp_border_height
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $vp_deal_width
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($on_footY, $on_footZ, $vp_bet_one_width, $vp_bet_one_height, 255, $vp_in_card_value, 0, 128)
Hud.DrawRect($on_footY, $on_footZ, $vp_border_height, $vp_deal_width, 128, 128, 128, 255)
gosub @VIDPOK_34881
Text.SetColor(128, 128, 128, 255)
Text.SetEdge($9018[5], 0, 0, 0, 128)
set_lvar_float_to_var_float 15@ = $vp_deal_width
div_float_lvar_by_float_var 15@ /= $vp_table_width
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($on_footY, $on_footZ, 'VP19')

:VIDPOK_30912
if 
  $8841($TILE_HEIGHT,5i) == 2
goto_if_false @VIDPOK_31073
set_var_float_to_var_float $vp_bet_one_width = $vp_border_height
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $vp_deal_width
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($on_footY, $on_footZ, $vp_bet_one_width, $vp_bet_one_height, 0, 0, 0, 255)
Hud.DrawRect($on_footY, $on_footZ, $vp_border_height, $vp_deal_width, 0, 128, 0, 255)
gosub @VIDPOK_34881
Text.SetColor(0, 255, 0, 255)
set_lvar_float_to_var_float 15@ = $vp_deal_width
div_float_lvar_by_float_var 15@ /= $vp_table_width
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($on_footY, $on_footZ, 'VP19')

:VIDPOK_31073
if 
  $8841($TILE_HEIGHT,5i) == 3
goto_if_false @VIDPOK_31238
set_var_float_to_var_float $vp_bet_one_width = $vp_border_height
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $vp_deal_width
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($on_footY, $on_footZ, $vp_bet_one_width, $vp_bet_one_height, 255, $vp_in_card_value, 0, 255)
Hud.DrawRect($on_footY, $on_footZ, $vp_border_height, $vp_deal_width, 0, 128, 0, 255)
gosub @VIDPOK_34881
Text.SetColor($8988[5], $vp_in_card_value, $9000[5], 255)
set_lvar_float_to_var_float 15@ = $vp_deal_width
div_float_lvar_by_float_var 15@ /= $vp_table_width
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($on_footY, $on_footZ, 'VP19')

:VIDPOK_31238
if 
  $8841($TILE_HEIGHT,5i) == 4
goto_if_false @VIDPOK_31401
set_var_float_to_var_float $vp_bet_one_width = $vp_border_height
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $vp_deal_width
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($on_footY, $on_footZ, $vp_bet_one_width, $vp_bet_one_height, 0, 0, 0, 255)
Hud.DrawRect($on_footY, $on_footZ, $vp_border_height, $vp_deal_width, $8988[1], $8994[1], $9000[1], 255)
gosub @VIDPOK_34881
Text.SetColor(255, 0, 0, 255)
set_lvar_float_to_var_float 15@ = $vp_deal_width
div_float_lvar_by_float_var 15@ /= $vp_table_width
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($on_footY, $on_footZ, 'VP19')

:VIDPOK_31401
if 
  $8841($TILE_HEIGHT,5i) == 5
goto_if_false @VIDPOK_31568
set_var_float_to_var_float $vp_bet_one_width = $vp_border_height
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $vp_deal_width
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($on_footY, $on_footZ, $vp_bet_one_width, $vp_bet_one_height, 255, $vp_in_card_value, 0, 255)
Hud.DrawRect($on_footY, $on_footZ, $vp_border_height, $vp_deal_width, $8988[1], $8994[1], $9000[1], 255)
gosub @VIDPOK_34881
Text.SetColor($8988[5], $vp_in_card_value, $9000[5], 255)
set_lvar_float_to_var_float 15@ = $vp_deal_width
div_float_lvar_by_float_var 15@ /= $vp_table_width
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($on_footY, $on_footZ, 'VP19')

:VIDPOK_31568
$TILE_HEIGHT += 1
goto @VIDPOK_30396

:VIDPOK_31582
if 
  $hand_is_straight_flush == 0
goto_if_false @VIDPOK_31765
set_var_float_to_var_float $vp_bet_one_width = $8938
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8939
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($col_x, $8888, $vp_bet_one_width, $vp_bet_one_height, 0, 0, 0, 128)
Hud.DrawRect($col_x, $8888, $8938, $8939, 128, 128, 128, 255)
gosub @VIDPOK_34881
Text.SetColor(128, 128, 128, 255)
Text.SetEdge($9018[5], 0, 0, 0, 128)
set_lvar_float_to_var_float 15@ = $8939
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8888
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($col_x, $on_footZ, 'VP20')

:VIDPOK_31765
if 
  $hand_is_straight_flush == 1
goto_if_false @VIDPOK_31950
set_var_float_to_var_float $vp_bet_one_width = $8938
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8939
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($col_x, $8888, $vp_bet_one_width, $vp_bet_one_height, 255, $vp_in_card_value, 0, 128)
Hud.DrawRect($col_x, $8888, $8938, $8939, 128, 128, 128, 255)
gosub @VIDPOK_34881
Text.SetColor(128, 128, 128, 255)
Text.SetEdge($9018[5], 0, 0, 0, 128)
set_lvar_float_to_var_float 15@ = $8939
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8888
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($col_x, $on_footZ, 'VP20')

:VIDPOK_31950
if 
  $hand_is_straight_flush == 2
goto_if_false @VIDPOK_32115
set_var_float_to_var_float $vp_bet_one_width = $8938
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8939
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($col_x, $8888, $vp_bet_one_width, $vp_bet_one_height, 0, 0, 0, 255)
Hud.DrawRect($col_x, $8888, $8938, $8939, 0, 128, 0, 255)
gosub @VIDPOK_34881
Text.SetColor(0, 255, 0, 255)
set_lvar_float_to_var_float 15@ = $8939
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8888
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($col_x, $on_footZ, 'VP20')

:VIDPOK_32115
if 
  $hand_is_straight_flush == 3
goto_if_false @VIDPOK_32284
set_var_float_to_var_float $vp_bet_one_width = $8938
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8939
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($col_x, $8888, $vp_bet_one_width, $vp_bet_one_height, 255, $vp_in_card_value, 0, 255)
Hud.DrawRect($col_x, $8888, $8938, $8939, 0, 128, 0, 255)
gosub @VIDPOK_34881
Text.SetColor($8988[5], $vp_in_card_value, $9000[5], 255)
set_lvar_float_to_var_float 15@ = $8939
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8888
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($col_x, $on_footZ, 'VP20')

:VIDPOK_32284
if 
  $hand_is_straight_flush == 4
goto_if_false @VIDPOK_32451
set_var_float_to_var_float $vp_bet_one_width = $8938
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8939
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($col_x, $8888, $vp_bet_one_width, $vp_bet_one_height, 0, 0, 0, 255)
Hud.DrawRect($col_x, $8888, $8938, $8939, $8988[1], $8994[1], $9000[1], 255)
gosub @VIDPOK_34881
Text.SetColor(255, 0, 0, 255)
set_lvar_float_to_var_float 15@ = $8939
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8888
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($col_x, $on_footZ, 'VP20')

:VIDPOK_32451
if 
  $hand_is_straight_flush == 5
goto_if_false @VIDPOK_32622
set_var_float_to_var_float $vp_bet_one_width = $8938
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8939
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($col_x, $8888, $vp_bet_one_width, $vp_bet_one_height, 255, $vp_in_card_value, 0, 255)
Hud.DrawRect($col_x, $8888, $8938, $8939, $8988[1], $8994[1], $9000[1], 255)
gosub @VIDPOK_34881
Text.SetColor($8988[5], $vp_in_card_value, $9000[5], 255)
set_lvar_float_to_var_float 15@ = $8939
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8888
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($col_x, $on_footZ, 'VP20')

:VIDPOK_32622
if 
  $hand_is_four_of_kind == 0
goto_if_false @VIDPOK_32805
set_var_float_to_var_float $vp_bet_one_width = $vp_line_x
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8937
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($8889, $8890, $vp_bet_one_width, $vp_bet_one_height, 0, 0, 0, 128)
Hud.DrawRect($8889, $8890, $vp_line_x, $8937, 128, 128, 128, 255)
gosub @VIDPOK_34881
Text.SetColor(128, 128, 128, 255)
Text.SetEdge($9018[5], 0, 0, 0, 128)
set_lvar_float_to_var_float 15@ = $8937
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8890
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($8889, $on_footZ, 'VP21')

:VIDPOK_32805
if 
  $hand_is_four_of_kind == 1
goto_if_false @VIDPOK_32990
set_var_float_to_var_float $vp_bet_one_width = $vp_line_x
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8937
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($8889, $8890, $vp_bet_one_width, $vp_bet_one_height, 255, $vp_in_card_value, 0, 128)
Hud.DrawRect($8889, $8890, $vp_line_x, $8937, 128, 128, 128, 255)
gosub @VIDPOK_34881
Text.SetColor(128, 128, 128, 255)
Text.SetEdge($9018[5], 0, 0, 0, 128)
set_lvar_float_to_var_float 15@ = $8937
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8890
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($8889, $on_footZ, 'VP21')

:VIDPOK_32990
if 
  $hand_is_four_of_kind == 2
goto_if_false @VIDPOK_33155
set_var_float_to_var_float $vp_bet_one_width = $vp_line_x
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8937
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($8889, $8890, $vp_bet_one_width, $vp_bet_one_height, 0, 0, 0, 255)
Hud.DrawRect($8889, $8890, $vp_line_x, $8937, 0, 128, 0, 255)
gosub @VIDPOK_34881
Text.SetColor(0, 255, 0, 255)
set_lvar_float_to_var_float 15@ = $8937
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8890
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($8889, $on_footZ, 'VP21')

:VIDPOK_33155
if 
  $hand_is_four_of_kind == 3
goto_if_false @VIDPOK_33324
set_var_float_to_var_float $vp_bet_one_width = $vp_line_x
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8937
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($8889, $8890, $vp_bet_one_width, $vp_bet_one_height, 255, $vp_in_card_value, 0, 255)
Hud.DrawRect($8889, $8890, $vp_line_x, $8937, 0, 128, 0, 255)
gosub @VIDPOK_34881
Text.SetColor($8988[5], $vp_in_card_value, $9000[5], 255)
set_lvar_float_to_var_float 15@ = $8937
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8890
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($8889, $on_footZ, 'VP21')

:VIDPOK_33324
if 
  $hand_is_four_of_kind == 4
goto_if_false @VIDPOK_33491
set_var_float_to_var_float $vp_bet_one_width = $vp_line_x
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8937
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($8889, $8890, $vp_bet_one_width, $vp_bet_one_height, 0, 0, 0, 255)
Hud.DrawRect($8889, $8890, $vp_line_x, $8937, $8988[1], $8994[1], $9000[1], 255)
gosub @VIDPOK_34881
Text.SetColor(255, 0, 0, 255)
set_lvar_float_to_var_float 15@ = $8937
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8890
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($8889, $on_footZ, 'VP21')

:VIDPOK_33491
if 
  $hand_is_four_of_kind == 5
goto_if_false @VIDPOK_33662
set_var_float_to_var_float $vp_bet_one_width = $vp_line_x
add_float_var_to_float_var $vp_bet_one_width += $vp_deal_height
set_var_float_to_var_float $vp_bet_one_height = $8937
add_float_var_to_float_var $vp_bet_one_height += $vp_deal_height
Hud.DrawRect($8889, $8890, $vp_bet_one_width, $vp_bet_one_height, 255, $vp_in_card_value, 0, 255)
Hud.DrawRect($8889, $8890, $vp_line_x, $8937, $8988[1], $8994[1], $9000[1], 255)
gosub @VIDPOK_34881
Text.SetColor($8988[5], $vp_in_card_value, $9000[5], 255)
set_lvar_float_to_var_float 15@ = $8937
div_float_lvar_by_float_var 15@ /= $vp_table_width
set_var_float_to_var_float $on_footZ = $8890
sub_float_lvar_from_float_var $on_footZ -= 15@
Text.Display($8889, $on_footZ, 'VP21')

:VIDPOK_33662
return 

:VIDPOK_33664
if and
  27 > $9073
  $9073 > 13
goto_if_false @VIDPOK_33704
set_var_int_to_var_int $9074 = $9073
$9074 -= 13

:VIDPOK_33704
if and
  40 > $9073
  $9073 > 26
goto_if_false @VIDPOK_33744
set_var_int_to_var_int $9074 = $9073
$9074 -= 26

:VIDPOK_33744
if and
  53 > $9073
  $9073 > 39
goto_if_false @VIDPOK_33784
set_var_int_to_var_int $9074 = $9073
$9074 -= 39

:VIDPOK_33784
if 
  13 >= $9073
goto_if_false @VIDPOK_33810
set_var_int_to_var_int $9074 = $9073

:VIDPOK_33810
return 

:VIDPOK_33812
if 
  14 > $9073
goto_if_false @VIDPOK_33844
$9074 = 1
goto @VIDPOK_33915

:VIDPOK_33844
if 
  27 > $9073
goto_if_false @VIDPOK_33876
$9074 = 2
goto @VIDPOK_33915

:VIDPOK_33876
if 
  40 > $9073
goto_if_false @VIDPOK_33908
$9074 = 3
goto @VIDPOK_33915

:VIDPOK_33908
$9074 = 4

:VIDPOK_33915
return 

:VIDPOK_33917
return 

:VIDPOK_33919
return 

:VIDPOK_33921
Text.SetScale($8976[0], $8982[0])
Text.SetColor($8988[0], $8994[0], $9000[0], 255)
if 
  $9012[0] == 1
goto_if_false @VIDPOK_33965
Text.SetCenter(True)

:VIDPOK_33965
switch_start $9006[0] {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @VIDPOK_34072 {caseNum1} 0 {caseLabel1} @VIDPOK_34028 {caseNum2} 1 {caseLabel2} @VIDPOK_34039 {caseNum3} 2 {caseLabel3} @VIDPOK_34050 {caseNum4} 3 {caseLabel4} @VIDPOK_34061 {caseNum5} -1 {caseLabel5} @VIDPOK_34083 {caseNum6} -1 {caseLabel6} @VIDPOK_34083 {caseNum7} -1 {caseLabel7} @VIDPOK_34083

:VIDPOK_34028
Text.SetFont(Font.Gothic)
goto @VIDPOK_34083

:VIDPOK_34039
Text.SetFont(Font.Subtitles)
goto @VIDPOK_34083

:VIDPOK_34050
Text.SetFont(Font.Menu)
goto @VIDPOK_34083

:VIDPOK_34061
Text.SetFont(Font.Pricedown)
goto @VIDPOK_34083

:VIDPOK_34072
Text.SetFont(Font.Gothic)
goto @VIDPOK_34083

:VIDPOK_34083
Text.SetEdge($9018[0], $9024[0], $9030[0], $9036[0], 255)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 

:VIDPOK_34113
Text.SetScale($8976[1], $8982[1])
Text.SetColor($8988[1], $8994[1], $9000[1], 255)
if 
  $9012[1] == 1
goto_if_false @VIDPOK_34157
Text.SetCenter(True)

:VIDPOK_34157
switch_start $9006[1] {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @VIDPOK_34264 {caseNum1} 0 {caseLabel1} @VIDPOK_34220 {caseNum2} 1 {caseLabel2} @VIDPOK_34231 {caseNum3} 2 {caseLabel3} @VIDPOK_34242 {caseNum4} 3 {caseLabel4} @VIDPOK_34253 {caseNum5} -1 {caseLabel5} @VIDPOK_34275 {caseNum6} -1 {caseLabel6} @VIDPOK_34275 {caseNum7} -1 {caseLabel7} @VIDPOK_34275

:VIDPOK_34220
Text.SetFont(Font.Gothic)
goto @VIDPOK_34275

:VIDPOK_34231
Text.SetFont(Font.Subtitles)
goto @VIDPOK_34275

:VIDPOK_34242
Text.SetFont(Font.Menu)
goto @VIDPOK_34275

:VIDPOK_34253
Text.SetFont(Font.Pricedown)
goto @VIDPOK_34275

:VIDPOK_34264
Text.SetFont(Font.Gothic)
goto @VIDPOK_34275

:VIDPOK_34275
Text.SetEdge($9018[1], $9024[1], $9030[1], $9036[1], 255)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 

:VIDPOK_34305
Text.SetScale($8976[2], $8982[2])
Text.SetColor($8988[2], $8994[2], $9000[2], 255)
if 
  $9012[2] == 1
goto_if_false @VIDPOK_34349
Text.SetCenter(True)

:VIDPOK_34349
switch_start $9006[2] {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @VIDPOK_34456 {caseNum1} 0 {caseLabel1} @VIDPOK_34412 {caseNum2} 1 {caseLabel2} @VIDPOK_34423 {caseNum3} 2 {caseLabel3} @VIDPOK_34434 {caseNum4} 3 {caseLabel4} @VIDPOK_34445 {caseNum5} -1 {caseLabel5} @VIDPOK_34467 {caseNum6} -1 {caseLabel6} @VIDPOK_34467 {caseNum7} -1 {caseLabel7} @VIDPOK_34467

:VIDPOK_34412
Text.SetFont(Font.Gothic)
goto @VIDPOK_34467

:VIDPOK_34423
Text.SetFont(Font.Subtitles)
goto @VIDPOK_34467

:VIDPOK_34434
Text.SetFont(Font.Menu)
goto @VIDPOK_34467

:VIDPOK_34445
Text.SetFont(Font.Pricedown)
goto @VIDPOK_34467

:VIDPOK_34456
Text.SetFont(Font.Gothic)
goto @VIDPOK_34467

:VIDPOK_34467
Text.SetEdge($9018[2], $9024[2], $9030[2], $9036[2], 255)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 

:VIDPOK_34497
Text.SetScale($8976[3], $8982[3])
Text.SetColor($8988[3], $8994[3], $9000[3], 255)
if 
  $9012[3] == 1
goto_if_false @VIDPOK_34541
Text.SetCenter(True)

:VIDPOK_34541
switch_start $9006[3] {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @VIDPOK_34648 {caseNum1} 0 {caseLabel1} @VIDPOK_34604 {caseNum2} 1 {caseLabel2} @VIDPOK_34615 {caseNum3} 2 {caseLabel3} @VIDPOK_34626 {caseNum4} 3 {caseLabel4} @VIDPOK_34637 {caseNum5} -1 {caseLabel5} @VIDPOK_34659 {caseNum6} -1 {caseLabel6} @VIDPOK_34659 {caseNum7} -1 {caseLabel7} @VIDPOK_34659

:VIDPOK_34604
Text.SetFont(Font.Gothic)
goto @VIDPOK_34659

:VIDPOK_34615
Text.SetFont(Font.Subtitles)
goto @VIDPOK_34659

:VIDPOK_34626
Text.SetFont(Font.Menu)
goto @VIDPOK_34659

:VIDPOK_34637
Text.SetFont(Font.Pricedown)
goto @VIDPOK_34659

:VIDPOK_34648
Text.SetFont(Font.Gothic)
goto @VIDPOK_34659

:VIDPOK_34659
Text.SetEdge($9018[3], $9024[3], $9030[3], $9036[3], 255)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 

:VIDPOK_34689
Text.SetScale($8976[4], $8982[4])
Text.SetColor($8988[4], $8994[4], $9000[4], 255)
if 
  $9012[4] == 1
goto_if_false @VIDPOK_34733
Text.SetCenter(True)

:VIDPOK_34733
switch_start $9006[4] {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @VIDPOK_34840 {caseNum1} 0 {caseLabel1} @VIDPOK_34796 {caseNum2} 1 {caseLabel2} @VIDPOK_34807 {caseNum3} 2 {caseLabel3} @VIDPOK_34818 {caseNum4} 3 {caseLabel4} @VIDPOK_34829 {caseNum5} -1 {caseLabel5} @VIDPOK_34851 {caseNum6} -1 {caseLabel6} @VIDPOK_34851 {caseNum7} -1 {caseLabel7} @VIDPOK_34851

:VIDPOK_34796
Text.SetFont(Font.Gothic)
goto @VIDPOK_34851

:VIDPOK_34807
Text.SetFont(Font.Subtitles)
goto @VIDPOK_34851

:VIDPOK_34818
Text.SetFont(Font.Menu)
goto @VIDPOK_34851

:VIDPOK_34829
Text.SetFont(Font.Pricedown)
goto @VIDPOK_34851

:VIDPOK_34840
Text.SetFont(Font.Gothic)
goto @VIDPOK_34851

:VIDPOK_34851
Text.SetEdge($9018[4], $9024[4], $9030[4], $9036[4], 255)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 

:VIDPOK_34881
Text.SetScale($8976[5], $8982[5])
Text.SetColor($8988[5], $8994[5], $9000[5], 255)
if 
  $9012[5] == 1
goto_if_false @VIDPOK_34925
Text.SetCenter(True)

:VIDPOK_34925
switch_start $9006[5] {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @VIDPOK_35032 {caseNum1} 0 {caseLabel1} @VIDPOK_34988 {caseNum2} 1 {caseLabel2} @VIDPOK_34999 {caseNum3} 2 {caseLabel3} @VIDPOK_35010 {caseNum4} 3 {caseLabel4} @VIDPOK_35021 {caseNum5} -1 {caseLabel5} @VIDPOK_35043 {caseNum6} -1 {caseLabel6} @VIDPOK_35043 {caseNum7} -1 {caseLabel7} @VIDPOK_35043

:VIDPOK_34988
Text.SetFont(Font.Gothic)
goto @VIDPOK_35043

:VIDPOK_34999
Text.SetFont(Font.Subtitles)
goto @VIDPOK_35043

:VIDPOK_35010
Text.SetFont(Font.Menu)
goto @VIDPOK_35043

:VIDPOK_35021
Text.SetFont(Font.Pricedown)
goto @VIDPOK_35043

:VIDPOK_35032
Text.SetFont(Font.Gothic)
goto @VIDPOK_35043

:VIDPOK_35043
Text.SetEdge($9018[5], $9024[5], $9030[5], $9036[5], 255)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 
Text.SetScale(0.54, 1.44)
Text.SetColor(128, 148, 178, 255)
Text.SetJustify(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 
Text.SetScale(0.54, 1.44)
Text.SetColor(128, 148, 178, 255)
Text.SetCenter(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 

:VIDPOK_35159
15@ = Stat.GetFloat(StatId.Gambling)
if 
  50.0 > 15@
goto_if_false @VIDPOK_35201
$colour_a = 100
goto @VIDPOK_35321

:VIDPOK_35201
if 
  150.0 > 15@
goto_if_false @VIDPOK_35237
$colour_a = 1000
goto @VIDPOK_35321

:VIDPOK_35237
if 
  350.0 > 15@
goto_if_false @VIDPOK_35273
$colour_a = 10000
goto @VIDPOK_35321

:VIDPOK_35273
if 
  1000.0 > 15@
goto_if_false @VIDPOK_35311
$colour_a = 100000
goto @VIDPOK_35321

:VIDPOK_35311
$colour_a = 1000000

:VIDPOK_35321
return 

:VIDPOK_35323
Game.SetMinigameInProgress(False)
3@ = 0
4@ = 0
5@ = 0
6@ = 0
7@ = 0
terminate_all_scripts_with_this_name 'CASHWIN'
Text.ClearPrints
Text.ClearHelp
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Txd.Remove
Text.UseCommands(False)
Player.SetControl($statbike_temp, True)
Hud.Display(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
return 
terminate_this_script 

//-------------External script 17 (BLACKJ)---------------

:BLACKJ
script_name 'BLACKJ'
2@ = 0
3@ = 0
4@ = 0
5@ = 0
22@ = 0
23@ = 0
24@ = 0
if 
  3@ == -1
goto_if_false @BLACKJ_193
0@ = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
1@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
$9221 = Object.Create(#WOODENBOX, 0.0, 0.0, 0.0)
$9222 = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
$9212[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0)

:BLACKJ_193
29@ = -99

:BLACKJ_200
wait 0
if 
  $1253 == 0
goto_if_false @BLACKJ_2470
if 
  Object.DoesExist(0@)
goto_if_false @BLACKJ_2454
if 
  Object.IsWithinBrainActivationRange(0@)
goto_if_false @BLACKJ_2438
if 
  $9221 == 0
goto_if_false @BLACKJ_2350
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BLACKJ_2334
if 
  2@ == 0
goto_if_false @BLACKJ_1076
if 
  3@ == 0
goto_if_false @BLACKJ_869
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @BLACKJ_366
set_lvar_int_to_constant 26@ = 171
goto @BLACKJ_374

:BLACKJ_366
set_lvar_int_to_constant 26@ = 171

:BLACKJ_374
if 
  not Streaming.HasModelLoaded(26@)
goto_if_false @BLACKJ_395
Streaming.RequestModel(26@)

:BLACKJ_395
if 
  not Streaming.HasAnimationLoaded("CASINO")
goto_if_false @BLACKJ_426
Streaming.RequestAnimation("CASINO")

:BLACKJ_426
if 
  29@ == -99
goto_if_false @BLACKJ_862
13@ = Stat.GetFloat(StatId.Gambling)
if 
  $9211 == 0
goto_if_false @BLACKJ_675
if 
  1.0 > 13@
goto_if_false @BLACKJ_511
29@ = 100
30@ = 1
goto @BLACKJ_661

:BLACKJ_511
if 
  10.0 > 13@
goto_if_false @BLACKJ_554
29@ = 1000
30@ = 10
goto @BLACKJ_661

:BLACKJ_554
if 
  100.0 > 13@
goto_if_false @BLACKJ_597
29@ = 10000
30@ = 100
goto @BLACKJ_661

:BLACKJ_597
if 
  1000.0 > 13@
goto_if_false @BLACKJ_643
29@ = 100000
30@ = 1000
goto @BLACKJ_661

:BLACKJ_643
29@ = 1000000
30@ = 10000

:BLACKJ_661
$9211 += 1
goto @BLACKJ_862

:BLACKJ_675
10@ = Math.RandomIntInRange(0, 5)
switch_start 10@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @BLACKJ_862 {caseNum1} 0 {caseLabel1} @BLACKJ_747 {caseNum2} 1 {caseLabel2} @BLACKJ_768 {caseNum3} 2 {caseLabel3} @BLACKJ_790 {caseNum4} 3 {caseLabel4} @BLACKJ_812 {caseNum5} 4 {caseLabel5} @BLACKJ_837 {caseNum6} -1 {caseLabel6} @BLACKJ_862 {caseNum7} -1 {caseLabel7} @BLACKJ_862

:BLACKJ_747
29@ = 100
30@ = 1
goto @BLACKJ_862

:BLACKJ_768
29@ = 1000
30@ = 10
goto @BLACKJ_862

:BLACKJ_790
29@ = 10000
30@ = 100
goto @BLACKJ_862

:BLACKJ_812
29@ = 100000
30@ = 1000
goto @BLACKJ_862

:BLACKJ_837
29@ = 1000000
30@ = 10000
goto @BLACKJ_862

:BLACKJ_862
3@ += 1

:BLACKJ_869
if 
  3@ == 1
goto_if_false @BLACKJ_920
if and
  Streaming.HasModelLoaded(26@)
  Streaming.HasAnimationLoaded("CASINO")
goto_if_false @BLACKJ_920
3@ += 1

:BLACKJ_920
if 
  3@ == 2
goto_if_false @BLACKJ_1076
if 
  not Char.DoesExist(1@)
goto_if_false @BLACKJ_1062
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.4, 0.0)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
1@ = Char.Create(PedType.CivMale, 26@, $on_footY, $on_footZ, $in_carX)
Char.SetDecisionMaker(1@, $iCheckForWeapons)
$on_footX = Object.GetHeading(0@)
$on_footX += 180.0
Char.SetHeading(1@, $on_footX)
Streaming.MarkModelAsNoLongerNeeded(26@)
Object.EnableDisabledAttractors(0@, True)

:BLACKJ_1062
2@ += 1
3@ = 0

:BLACKJ_1076
if 
  2@ == 1
goto_if_false @BLACKJ_2327
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_2327
if 
  $iPrintStripperHelp == 0
goto_if_false @BLACKJ_2278
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.4, 0.0)
if 
  Char.LocateOnFoot3D(1@, $on_footY, $on_footZ, $in_carX, 0.4, 0.4, 2.0, False)
goto_if_false @BLACKJ_2222
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, -1.5, 0.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.5, 0.5, 2.0, False)
goto_if_false @BLACKJ_2166
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @BLACKJ_2159
if 
  22@ == 0
goto_if_false @BLACKJ_2135
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BLACKJ_1882
$bj_bet_step = Player.StoreScore($statbike_temp)
gosub @BLACKJ_33823
add_int_var_to_int_var $bj_bet_step += $colour_a
if 
  is_int_var_greater_than_int_lvar $bj_bet_step > 30@
goto_if_false @BLACKJ_1852
10@ = 0
13@ = Stat.GetFloat(StatId.Gambling)
if 
  29@ == 1000000
goto_if_false @BLACKJ_1449
if 
  1000.0 > 13@
goto_if_false @BLACKJ_1442
Text.PrintNow('GAMBSTA', 5000, 1)
10@ = 1

:BLACKJ_1442
goto @BLACKJ_1654

:BLACKJ_1449
if 
  29@ == 100000
goto_if_false @BLACKJ_1521
if 
  100.0 > 13@
goto_if_false @BLACKJ_1514
Text.PrintNow('GAMBSTA', 5000, 1)
10@ = 1

:BLACKJ_1514
goto @BLACKJ_1654

:BLACKJ_1521
if 
  29@ == 10000
goto_if_false @BLACKJ_1591
if 
  10.0 > 13@
goto_if_false @BLACKJ_1584
Text.PrintNow('GAMBSTA', 5000, 1)
10@ = 1

:BLACKJ_1584
goto @BLACKJ_1654

:BLACKJ_1591
if 
  29@ == 1000
goto_if_false @BLACKJ_1654
if 
  1.0 > 13@
goto_if_false @BLACKJ_1654
Text.PrintNow('GAMBSTA', 5000, 1)
10@ = 1

:BLACKJ_1654
if 
  10@ == 0
goto_if_false @BLACKJ_1751
if 
  21@ == 1
goto_if_false @BLACKJ_1701
Text.ClearPrints
Text.ClearHelp
21@ = 0

:BLACKJ_1701
2@ = 0
3@ = 0
set_var_int_to_lvar_int $9221 = 0@
$9209 = 0
22@ = 1
24@ = 1
goto @BLACKJ_1845

:BLACKJ_1751
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_1845
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @BLACKJ_1823
Char.SetSayScript(1@, 5850, True, True, False)
Char.StartFacialTalk(1@, 2000)
goto @BLACKJ_1845

:BLACKJ_1823
Char.SetSayScript(1@, 5851, True, True, False)
Char.StartFacialTalk(1@, 2000)

:BLACKJ_1845
goto @BLACKJ_1875

:BLACKJ_1852
Text.PrintNow('BJ_2', 5000, 1)
gosub @BLACKJ_18358

:BLACKJ_1875
goto @BLACKJ_2128

:BLACKJ_1882
if 
  21@ <> 1
goto_if_false @BLACKJ_2128
if and
  not Text.IsThisHelpMessageBeingDisplayed('SGPUNT')
  not Text.IsThisHelpMessageBeingDisplayed('SGGAMB')
  not Text.IsThisHelpMessageBeingDisplayed('SGPROF')
  not Text.IsThisHelpMessageBeingDisplayed('SGHIRO')
goto_if_false @BLACKJ_2128
Text.SetHelpMessageBoxSize(200)
switch_start 29@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @BLACKJ_2121 {caseNum1} 100 {caseLabel1} @BLACKJ_2031 {caseNum2} 1000 {caseLabel2} @BLACKJ_2049 {caseNum3} 10000 {caseLabel3} @BLACKJ_2067 {caseNum4} 100000 {caseLabel4} @BLACKJ_2085 {caseNum5} 1000000 {caseLabel5} @BLACKJ_2103 {caseNum6} -1 {caseLabel6} @BLACKJ_2121 {caseNum7} -1 {caseLabel7} @BLACKJ_2121

:BLACKJ_2031
Text.PrintHelpForever('BJ_1A')
goto @BLACKJ_2121

:BLACKJ_2049
Text.PrintHelpForever('BJ_1B')
goto @BLACKJ_2121

:BLACKJ_2067
Text.PrintHelpForever('BJ_1C')
goto @BLACKJ_2121

:BLACKJ_2085
Text.PrintHelpForever('BJ_1D')
goto @BLACKJ_2121

:BLACKJ_2103
Text.PrintHelpForever('BJ_1E')
goto @BLACKJ_2121

:BLACKJ_2121
21@ = 1

:BLACKJ_2128
goto @BLACKJ_2159

:BLACKJ_2135
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @BLACKJ_2159
22@ = 0

:BLACKJ_2159
goto @BLACKJ_2215

:BLACKJ_2166
if 
  21@ == 1
goto_if_false @BLACKJ_2215
Text.ClearThisPrint('BJ_2')
Text.ClearThisPrint('GAMBSTA')
Text.ClearHelp
21@ = 0

:BLACKJ_2215
goto @BLACKJ_2271

:BLACKJ_2222
if 
  21@ == 1
goto_if_false @BLACKJ_2271
Text.ClearThisPrint('BJ_2')
Text.ClearThisPrint('GAMBSTA')
Text.ClearHelp
21@ = 0

:BLACKJ_2271
goto @BLACKJ_2327

:BLACKJ_2278
if 
  21@ == 1
goto_if_false @BLACKJ_2327
Text.ClearThisPrint('BJ_2')
Text.ClearThisPrint('GAMBSTA')
Text.ClearHelp
21@ = 0

:BLACKJ_2327
goto @BLACKJ_2343

:BLACKJ_2334
gosub @BLACKJ_2486
terminate_this_script 

:BLACKJ_2343
goto @BLACKJ_2431

:BLACKJ_2350
if 
  is_int_var_equal_to_int_lvar $9221 == 0@
goto_if_false @BLACKJ_2431
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BLACKJ_2431
if 
  5@ == 0
goto_if_false @BLACKJ_2417
gosub @BLACKJ_2540
goto @BLACKJ_2431

:BLACKJ_2417
gosub @BLACKJ_34622
$9221 = 0

:BLACKJ_2431
goto @BLACKJ_2447

:BLACKJ_2438
gosub @BLACKJ_2486
terminate_this_script 

:BLACKJ_2447
goto @BLACKJ_2463

:BLACKJ_2454
gosub @BLACKJ_2486
terminate_this_script 

:BLACKJ_2463
goto @BLACKJ_2479

:BLACKJ_2470
gosub @BLACKJ_2486
terminate_this_script 

:BLACKJ_2479
goto @BLACKJ_200

:BLACKJ_2486
if 
  Object.DoesExist(0@)
goto_if_false @BLACKJ_2509
Object.EnableDisabledAttractors(0@, False)

:BLACKJ_2509
Char.MarkAsNoLongerNeeded(1@)
Streaming.RemoveAnimation("CASINO")
$9211 -= 1
2@ = 0
return 

:BLACKJ_2540
if 
is_ps2_keyboard_key_just_pressed 32
goto_if_false @BLACKJ_2589
31@ += 1
if 
  31@ > 5
goto_if_false @BLACKJ_2587
31@ = 0

:BLACKJ_2587
clear_all_view_variables 

:BLACKJ_2589
if 
  31@ == 1
goto_if_false @BLACKJ_2845
set_var_int_to_lvar_int $9223 = 2@
set_var_int_to_lvar_int $9224 = 3@
set_var_int_to_lvar_int $9225 = 4@
set_var_int_to_var_int $9226 = $dealer_total
set_var_int_to_var_int $9227 = $dealer_total2
set_var_int_to_var_int $card_cheat_value = $dealer_got_ace
set_var_int_to_var_int $screen_pos_x = $player_got_ace1
set_var_int_to_var_int $9230 = $player_got_ace2
set_var_int_to_var_int $9231 = $player_got_bj
view_integer_variable $9223 {_p2} "M_STAGE"
view_integer_variable $9224 {_p2} "M_GOALS"
view_integer_variable $9225 {_p2} "M_GOALS2"
view_integer_variable $9226 {_p2} "PLAYER_TOTAL1"
view_integer_variable $9227 {_p2} "PLAYER_TOTAL1_B"
view_integer_variable $card_cheat_value {_p2} "PLAYER_TOTAL2"
view_integer_variable $screen_pos_x {_p2} "PLAYER_TOTAL2_B"
view_integer_variable $9230 {_p2} "DEALER_TOTAL"
view_integer_variable $9231 {_p2} "DEALER_TOTAL2"

:BLACKJ_2845
if 
  31@ == 2
goto_if_false @BLACKJ_3155
set_var_int_to_var_int $9223 = $player_has_doubled2
set_var_int_to_var_int $9224 = $player_has_stuck1
set_var_int_to_var_int $9225 = $player_has_stuck2
set_var_int_to_var_int $9226 = $player_has_hit
set_var_int_to_var_int $9227 = $dealer_has_stuck
set_var_int_to_var_int $card_cheat_value = $player_has_quit
set_var_int_to_var_int $screen_pos_x = $player_has_won1
set_var_int_to_var_int $9230 = $player_has_won2
set_var_int_to_var_int $9231 = $player_has_input
view_integer_variable $9223 {_p2} "PLAYER_CANNOT_SPLIT"
view_integer_variable $9224 {_p2} "PLAYER_HAS_SPLIT"
view_integer_variable $9225 {_p2} "PLAYER_CANNOT_DOUBLE"
view_integer_variable $9226 {_p2} "PLAYER_HAS_DOUBLED1"
view_integer_variable $9227 {_p2} "PLAYER_HAS_DOUBLED2"
view_integer_variable $card_cheat_value {_p2} "PLAYER_HAS_STUCK1"
view_integer_variable $screen_pos_x {_p2} "PLAYER_HAS_STUCK2"
view_integer_variable $9230 {_p2} "PLAYER_HAS_HIT"
view_integer_variable $9231 {_p2} "DEALER_HAS_STUCK"

:BLACKJ_3155
if 
  31@ == 3
goto_if_false @BLACKJ_3448
set_var_int_to_var_int $9223 = $dealer_wins_by_default
set_var_int_to_var_int $9224 = $player_total1
set_var_int_to_var_int $9225 = $player_total1_b
set_var_int_to_var_int $9226 = $player_total2
set_var_int_to_var_int $9227 = $player_total2_b
set_var_int_to_var_int $card_cheat_value = $dealer_got_bj
set_var_int_to_var_int $screen_pos_x = $bj_players_cash
set_var_int_to_var_int $9230 = $bj_last_bet
set_var_int_to_var_int $9231 = $bj_bet1
view_integer_variable $9223 {_p2} "PLAYER_HAS_QUIT"
view_integer_variable $9224 {_p2} "PLAYER_HAS_WON1"
view_integer_variable $9225 {_p2} "PLAYER_HAS_WON2"
view_integer_variable $9226 {_p2} "PLAYER_HAS_INPUT"
view_integer_variable $9227 {_p2} "DEALER_WINS_BY_DEFAULT"
view_integer_variable $card_cheat_value {_p2} "DEALER_GOT_ACE"
view_integer_variable $screen_pos_x {_p2} "PLAYER_GOT_ACE1"
view_integer_variable $9230 {_p2} "PLAYER_GOT_ACE2"
view_integer_variable $9231 {_p2} "PLAYER_GOT_BJ"

:BLACKJ_3448
if 
  31@ == 4
goto_if_false @BLACKJ_3686
set_var_int_to_var_int $9223 = $bj_bet_step
set_var_int_to_lvar_int $9224 = 30@
set_var_int_to_lvar_int $9225 = 29@
set_var_int_to_var_int $9226 = $bj_half_bet_f
set_var_int_to_var_int $9227 = $bj_half_bet
set_var_int_to_var_int $card_cheat_value = $bj_refund
set_var_int_to_var_int $screen_pos_x = $bj_initial_stake
set_var_int_to_var_int $9230 = $casino_credit
set_var_int_to_var_int $9231 = $colour_r
view_integer_variable $9223 {_p2} "BJ_PLAYERS_CASH"
view_integer_variable $9224 {_p2} "MIN_BET"
view_integer_variable $9225 {_p2} "MAX_BET"
view_integer_variable $9226 {_p2} "BJ_LAST_BET"
view_integer_variable $9227 {_p2} "BJ_BET1"
view_integer_variable $card_cheat_value {_p2} "BJ_BET2"
view_integer_variable $screen_pos_x {_p2} "BJ_BET_STEP"
view_integer_variable $9230 {_p2} "BJ_HALF_BET"
view_integer_variable $9231 {_p2} "BJ_REFUND"

:BLACKJ_3686
if 
  31@ == 5
goto_if_false @BLACKJ_3787
set_var_int_to_var_int $9223 = $bj_bet1
set_var_int_to_var_int $9224 = $colour_b
set_var_int_to_var_int $9225 = $colour_g
view_integer_variable $9223 {_p2} "PLAYER_GOT_BJ"
view_integer_variable $9224 {_p2} "BJ_PAYOUT"
view_integer_variable $9225 {_p2} "BJ_INITIAL_STAKE"

:BLACKJ_3787
6@ += 1
if 
  6@ > 9
goto_if_false @BLACKJ_3819
6@ = 0

:BLACKJ_3819
7@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 9@ = 7@
sub_int_lvar_from_int_lvar 9@ -= 8@
set_lvar_int_to_lvar_int 8@ = 7@
if or
  Text.IsThisHelpMessageBeingDisplayed('SGPUNT')
  Text.IsThisHelpMessageBeingDisplayed('SGGAMB')
  Text.IsThisHelpMessageBeingDisplayed('SGPROF')
  Text.IsThisHelpMessageBeingDisplayed('SGHIRO')
goto_if_false @BLACKJ_4372
if 
  $9210 <> 1
goto_if_false @BLACKJ_4086
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_4072
10@ = Math.RandomIntInRange(0, 3)
switch_start 10@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @BLACKJ_4072 {caseNum1} 0 {caseLabel1} @BLACKJ_4009 {caseNum2} 1 {caseLabel2} @BLACKJ_4030 {caseNum3} 2 {caseLabel3} @BLACKJ_4051 {caseNum4} -1 {caseLabel4} @BLACKJ_4072 {caseNum5} -1 {caseLabel5} @BLACKJ_4072 {caseNum6} -1 {caseLabel6} @BLACKJ_4072 {caseNum7} -1 {caseLabel7} @BLACKJ_4072

:BLACKJ_4009
Char.SetSayScript(1@, 5820, True, True, False)
goto @BLACKJ_4072

:BLACKJ_4030
Char.SetSayScript(1@, 5821, True, True, False)
goto @BLACKJ_4072

:BLACKJ_4051
Char.SetSayScript(1@, 5822, True, True, False)
goto @BLACKJ_4072

:BLACKJ_4072
$9210 = 1
TIMERA = 0

:BLACKJ_4086
if 
  23@ == 0
goto_if_false @BLACKJ_4137
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BLACKJ_4130
Text.ClearHelp
23@ = 1

:BLACKJ_4130
goto @BLACKJ_4179

:BLACKJ_4137
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @BLACKJ_4179
if 
  23@ <> 0
goto_if_false @BLACKJ_4179
23@ = 0

:BLACKJ_4179
if 
  25@ == 0
goto_if_false @BLACKJ_4230
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @BLACKJ_4223
Text.ClearHelp
25@ = 1

:BLACKJ_4223
goto @BLACKJ_4272

:BLACKJ_4230
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @BLACKJ_4272
if 
  25@ <> 0
goto_if_false @BLACKJ_4272
25@ = 0

:BLACKJ_4272
if 
  24@ == 0
goto_if_false @BLACKJ_4323
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @BLACKJ_4316
Text.ClearHelp
24@ = 1

:BLACKJ_4316
goto @BLACKJ_4365

:BLACKJ_4323
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @BLACKJ_4365
if 
  24@ <> 0
goto_if_false @BLACKJ_4365
24@ = 0

:BLACKJ_4365
goto @BLACKJ_4397

:BLACKJ_4372
if 
  $9210 <> 0
goto_if_false @BLACKJ_4397
$9210 = 0

:BLACKJ_4397
switch_start 2@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @BLACKJ_4558 {caseNum1} 0 {caseLabel1} @BLACKJ_4460 {caseNum2} 1 {caseLabel2} @BLACKJ_4474 {caseNum3} 2 {caseLabel3} @BLACKJ_4488 {caseNum4} 3 {caseLabel4} @BLACKJ_4502 {caseNum5} 4 {caseLabel5} @BLACKJ_4516 {caseNum6} 5 {caseLabel6} @BLACKJ_4530 {caseNum7} 6 {caseLabel7} @BLACKJ_4544

:BLACKJ_4460
gosub @BLACKJ_5024
goto @BLACKJ_4558

:BLACKJ_4474
gosub @BLACKJ_7755
goto @BLACKJ_4558

:BLACKJ_4488
gosub @BLACKJ_9660
goto @BLACKJ_4558

:BLACKJ_4502
gosub @BLACKJ_10234
goto @BLACKJ_4558

:BLACKJ_4516
gosub @BLACKJ_10667
goto @BLACKJ_4558

:BLACKJ_4530
gosub @BLACKJ_15409
goto @BLACKJ_4558

:BLACKJ_4544
gosub @BLACKJ_15931
goto @BLACKJ_4558

:BLACKJ_4558
if 
is_ps2_keyboard_key_just_pressed 85
goto_if_false @BLACKJ_4653
$in_card_value += 1
if 
  $in_card_value > 1
goto_if_false @BLACKJ_4633
$in_card_value = 0
write_debug_with_int "CARD_CHEAT_OFF" {_p2} $in_card_value
goto @BLACKJ_4653

:BLACKJ_4633
write_debug_with_int "CARD_CHEAT_ON" {_p2} $in_card_value

:BLACKJ_4653
if 
  $in_card_value <> 0
goto_if_false @BLACKJ_4799
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @BLACKJ_4735
$9232 += 1
if 
  $9232 > 52
goto_if_false @BLACKJ_4719
$9232 = 1

:BLACKJ_4719
write_debug_with_int "NEXT_CARD" {_p2} $9232

:BLACKJ_4735
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @BLACKJ_4799
$9232 -= 1
if 
  1 > $9232
goto_if_false @BLACKJ_4783
$9232 = 52

:BLACKJ_4783
write_debug_with_int "NEXT_CARD" {_p2} $9232

:BLACKJ_4799
if 
  22@ == 0
goto_if_false @BLACKJ_4974
if and
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
  2@ <> 2
goto_if_false @BLACKJ_4967
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_4920
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @BLACKJ_4906
Char.SetSayScript(1@, 5852, True, True, False)
goto @BLACKJ_4920

:BLACKJ_4906
Char.SetSayScript(1@, 5853, True, True, False)

:BLACKJ_4920
5@ = 1
22@ = 1
if 
  $colour_r <> 0
goto_if_false @BLACKJ_4960
Player.AddScore($statbike_temp, $colour_r)

:BLACKJ_4960
$bj_half_bet_f = 0

:BLACKJ_4967
goto @BLACKJ_4999

:BLACKJ_4974
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BLACKJ_4999
22@ = 0

:BLACKJ_4999
if 
  Char.IsDead(1@)
goto_if_false @BLACKJ_5022
5@ = 1

:BLACKJ_5022
return 

:BLACKJ_5024
if 
  3@ == 0
goto_if_false @BLACKJ_5989
Game.SetMinigameInProgress(True)
Player.SetControl($statbike_temp, False)
$9329 = 0
$multiplier = 51.0
$next_card = 64.0
$9091[0] = 233.0
$9099[0] = 381.0
$9107[0] = 233.0
$9115[0] = 311.0
$9123[0] = 233.0
$9131[0] = 381.0
$9075[0] = 226.0
if 
is_xbox_version 
goto_if_false @BLACKJ_5180
$9083[0] = 67.0
goto @BLACKJ_5190

:BLACKJ_5180
$9083[0] = 60.0

:BLACKJ_5190
$9142 = 6.0
$9233[0] = 29.0
$9260[0] = 220.0
switch_start $flag_hhiker_trigger {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @BLACKJ_5310 {caseNum1} 3 {caseLabel1} @BLACKJ_5283 {caseNum2} -1 {caseLabel2} @BLACKJ_5337 {caseNum3} -1 {caseLabel3} @BLACKJ_5337 {caseNum4} -1 {caseLabel4} @BLACKJ_5337 {caseNum5} -1 {caseLabel5} @BLACKJ_5337 {caseNum6} -1 {caseLabel6} @BLACKJ_5337 {caseNum7} -1 {caseLabel7} @BLACKJ_5337

:BLACKJ_5283
$9233[1] = 173.9799
$9260[1] = 409.0
goto @BLACKJ_5337

:BLACKJ_5310
$9233[1] = 157.0
$9260[1] = 409.0
goto @BLACKJ_5337

:BLACKJ_5337
$9233[2] = 36.0
$9260[2] = 240.0
$9233[3] = 36.0
$9260[3] = 260.0
$9233[4] = 36.0
$9260[4] = 290.0
$9233[5] = 36.0
$9260[5] = 310.0
$9233[6] = 36.0
$9260[6] = 340.0
$9233[7] = 36.0
$9260[7] = 360.0
$9233[8] = 29.0
$9260[8] = 220.0
switch_start $flag_hhiker_trigger {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @BLACKJ_5594 {caseNum1} 1 {caseLabel1} @BLACKJ_5567 {caseNum2} 2 {caseLabel2} @BLACKJ_5540 {caseNum3} 3 {caseLabel3} @BLACKJ_5540 {caseNum4} 4 {caseLabel4} @BLACKJ_5540 {caseNum5} -1 {caseLabel5} @BLACKJ_5621 {caseNum6} -1 {caseLabel6} @BLACKJ_5621 {caseNum7} -1 {caseLabel7} @BLACKJ_5621

:BLACKJ_5540
$9233[9] = 169.0
$9260[9] = 409.0
goto @BLACKJ_5621

:BLACKJ_5567
$9233[9] = 177.0
$9260[9] = 409.0
goto @BLACKJ_5621

:BLACKJ_5594
$9233[9] = 157.0
$9260[9] = 409.0
goto @BLACKJ_5621

:BLACKJ_5621
$9233[10] = 36.0
$9260[10] = 240.0
$9233[11] = 36.0
$9260[11] = 260.0
$9233[12] = 36.0
$9260[12] = 290.0
$9233[13] = 40.0
$9260[13] = 310.0
$9233[14] = 40.0
$9260[14] = 310.0
$9233[15] = 36.0
$9260[15] = 340.0
$9233[16] = 40.0
$9260[16] = 360.0
$9233[17] = 40.0
$9260[17] = 360.0
$9233[18] = 40.0
$9260[18] = 360.0
$9233[19] = 40.0
$9260[19] = 360.0
$9233[20] = 40.0
$9260[20] = 382.0
$9233[21] = 40.0
$9260[21] = 382.0
$9233[22] = 209.0
$9260[22] = 293.0
$9233[23] = 209.0
$9260[23] = 361.0
$9233[24] = 1.0
$9260[24] = 4.0
$9233[25] = 320.0
$9260[25] = 197.0
$9233[26] = 320.0
$9260[26] = 233.0
gosub @BLACKJ_32444
Streaming.RequestModel(#BLCK_JACK)
Streaming.RequestAnimation("CASINO")
3@ += 1

:BLACKJ_5989
if 
  3@ == 1
goto_if_false @BLACKJ_6039
if and
  Streaming.HasModelLoaded(#BLCK_JACK)
  Streaming.HasAnimationLoaded("CASINO")
goto_if_false @BLACKJ_6039
3@ += 1

:BLACKJ_6039
if 
  3@ == 2
goto_if_false @BLACKJ_7591
Text.UseCommands(True)
Txd.LoadDictionary('LD_CARD')
Txd.LoadSprite(1, "CD1C")
Txd.LoadSprite(2, "CD2C")
Txd.LoadSprite(3, "CD3C")
Txd.LoadSprite(4, "CD4C")
Txd.LoadSprite(5, "CD5C")
Txd.LoadSprite(6, "CD6C")
Txd.LoadSprite(7, "CD7C")
Txd.LoadSprite(8, "CD8C")
Txd.LoadSprite(9, "CD9C")
Txd.LoadSprite(10, "CD10C")
Txd.LoadSprite(11, "CD11C")
Txd.LoadSprite(12, "CD12C")
Txd.LoadSprite(13, "CD13C")
Txd.LoadSprite(14, "CD1D")
Txd.LoadSprite(15, "CD2D")
Txd.LoadSprite(16, "CD3D")
Txd.LoadSprite(17, "CD4D")
Txd.LoadSprite(18, "CD5D")
Txd.LoadSprite(19, "CD6D")
Txd.LoadSprite(20, "CD7D")
Txd.LoadSprite(21, "CD8D")
Txd.LoadSprite(22, "CD9D")
Txd.LoadSprite(23, "CD10D")
Txd.LoadSprite(24, "CD11D")
Txd.LoadSprite(25, "CD12D")
Txd.LoadSprite(26, "CD13D")
Txd.LoadSprite(27, "CD1S")
Txd.LoadSprite(28, "CD2S")
Txd.LoadSprite(29, "CD3S")
Txd.LoadSprite(30, "CD4S")
Txd.LoadSprite(31, "CD5S")
Txd.LoadSprite(32, "CD6S")
Txd.LoadSprite(33, "CD7S")
Txd.LoadSprite(34, "CD8S")
Txd.LoadSprite(35, "CD9S")
Txd.LoadSprite(36, "CD10S")
Txd.LoadSprite(37, "CD11S")
Txd.LoadSprite(38, "CD12S")
Txd.LoadSprite(39, "CD13S")
Txd.LoadSprite(40, "CD1H")
Txd.LoadSprite(41, "CD2H")
Txd.LoadSprite(42, "CD3H")
Txd.LoadSprite(43, "CD4H")
Txd.LoadSprite(44, "CD5H")
Txd.LoadSprite(45, "CD6H")
Txd.LoadSprite(46, "CD7H")
Txd.LoadSprite(47, "CD8H")
Txd.LoadSprite(48, "CD9H")
Txd.LoadSprite(49, "CD10H")
Txd.LoadSprite(50, "CD11H")
Txd.LoadSprite(51, "CD12H")
Txd.LoadSprite(52, "CD13H")
Txd.LoadSprite(53, "CDBACK")
CardDecks.Shuffle(6)
Hud.DisplayRadar(False)
switch_rubbish 0
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.4, 0.0)
$on_footX = Object.GetHeading(0@)
$on_footX += 180.0
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
$in_carX += -0.4
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_6746
Char.ClearTasksImmediately(1@)
Char.SetCoordinates(1@, $on_footY, $on_footZ, $in_carX)
Char.SetHeading(1@, $on_footX)

:BLACKJ_6746
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.3192, -1.6334, 0.1415)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
$in_carX += -0.4
Char.SetCoordinates($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_6837
Task.TurnCharToFaceChar($stattreadstamina_ctr, 1@)

:BLACKJ_6837
if 
  Object.DoesExist(0@)
goto_if_false @BLACKJ_6950
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.4379, -2.243, 1.16)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.2822, -1.3256, 0.7939)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)

:BLACKJ_6950
if 
  Object.DoesExist(0@)
goto_if_false @BLACKJ_7584
$9220 = -0.14
$9287[0] = 0.0
$9295[0] = -0.885
set_var_float_to_var_float $9303[0] = $9220
$9287[1] = 0.045
$9295[1] = -0.935
set_var_float_to_var_float $9303[1] = $9220
$9287[2] = -0.05
$9295[2] = -0.93
set_var_float_to_var_float $9303[2] = $9220
$9287[3] = -0.01
$9295[3] = -0.98
set_var_float_to_var_float $9303[3] = $9220
$9287[4] = 0.06
$9295[4] = -0.995
set_var_float_to_var_float $9303[4] = $9220
$9287[5] = 0.02
$9295[5] = -1.075
set_var_float_to_var_float $9303[5] = $9220
$9287[6] = -0.07
$9295[6] = -1.03
set_var_float_to_var_float $9303[6] = $9220
$9287[7] = 0.065
$9295[7] = -1.05
set_var_float_to_var_float $9303[7] = $9220
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, $9287[0], $9295[0], $9220)
$9212[0] = Object.CreateNoOffset(#CHIP_STACK07, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9212[0], $on_footX)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, $9287[1], $9295[1], $9220)
$9212[1] = Object.CreateNoOffset(#CHIP_STACK08, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9212[1], $on_footX)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, $9287[2], $9295[2], $9220)
$9212[2] = Object.CreateNoOffset(#CHIP_STACK09, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9212[2], $on_footX)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, $9287[3], $9295[3], $9220)
$9212[3] = Object.CreateNoOffset(#CHIP_STACK10, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9212[3], $on_footX)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, $9287[4], $9295[4], $9220)
$9212[4] = Object.CreateNoOffset(#CHIP_STACK11, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9212[4], $on_footX)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, $9287[5], $9295[5], $9220)
$9212[5] = Object.CreateNoOffset(#CHIP_STACK12, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9212[5], $on_footX)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, $9287[6], $9295[6], $9220)
$9212[6] = Object.CreateNoOffset(#CHIP_STACK13, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9212[6], $on_footX)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, $9287[7], $9295[7], $9220)
$9212[7] = Object.CreateNoOffset(#CHIP_STACK14, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9212[7], $on_footX)

:BLACKJ_7584
3@ = 99

:BLACKJ_7591
if 
  3@ == 99
goto_if_false @BLACKJ_7753
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_7739
10@ = Math.RandomIntInRange(0, 2)
switch_start 10@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @BLACKJ_7739 {caseNum1} 0 {caseLabel1} @BLACKJ_7697 {caseNum2} 1 {caseLabel2} @BLACKJ_7718 {caseNum3} -1 {caseLabel3} @BLACKJ_7739 {caseNum4} -1 {caseLabel4} @BLACKJ_7739 {caseNum5} -1 {caseLabel5} @BLACKJ_7739 {caseNum6} -1 {caseLabel6} @BLACKJ_7739 {caseNum7} -1 {caseLabel7} @BLACKJ_7739

:BLACKJ_7697
Char.SetSayScript(1@, 5809, True, True, False)
goto @BLACKJ_7739

:BLACKJ_7718
Char.SetSayScript(1@, 5810, True, True, False)
goto @BLACKJ_7739

:BLACKJ_7739
2@ += 1
3@ = 0

:BLACKJ_7753
return 

:BLACKJ_7755
if 
  3@ == 0
goto_if_false @BLACKJ_8362
$9144 = 0
10@ = 0

:BLACKJ_7787
if 
  8 > 10@
goto_if_false @BLACKJ_7852
$9145(10@,8i) = 0
$9153(10@,8i) = 0
$9161(10@,8i) = 0
10@ += 1
goto @BLACKJ_7787

:BLACKJ_7852
$player_has_doubled2 = 0
$player_has_stuck1 = 0
$player_has_stuck2 = 0
$player_has_hit = 0
$dealer_has_stuck = 0
$player_has_quit = 0
$player_has_won1 = 0
$player_has_won2 = 0
$player_has_input = 0
$dealer_wins_by_default = 0
$player_total1 = 0
$player_total1_b = 0
$player_total2 = 0
$player_total2_b = 0
$dealer_total = 0
$dealer_total2 = 0
$dealer_got_ace = 0
$player_got_ace1 = 0
$player_got_ace2 = 0
$player_got_bj = 0
$dealer_got_bj = 0
$bj_players_cash = 0
$bj_last_bet = 0
$colour_r = 0
if 
  is_int_lvar_greater_than_int_var 30@ > $9209
goto_if_false @BLACKJ_8047
set_var_int_to_lvar_int $9209 = 30@

:BLACKJ_8047
set_var_int_to_var_int $bj_half_bet = $9209
$bj_refund = 0
$bj_bet_step = Player.StoreScore($statbike_temp)
gosub @BLACKJ_33823
add_int_var_to_int_var $bj_bet_step += $colour_a
if 
  is_int_var_greater_than_int_var $bj_half_bet > $bj_bet_step
goto_if_false @BLACKJ_8112
set_var_int_to_lvar_int $bj_half_bet = 30@

:BLACKJ_8112
if 
  is_int_var_greater_than_int_var $bj_half_bet > $bj_bet_step
goto_if_false @BLACKJ_8175
Text.PrintNow('BJ_2', 5000, 1)
gosub @BLACKJ_18358
5@ = 1
goto @BLACKJ_9658
goto @BLACKJ_8344

:BLACKJ_8175
set_lvar_int_to_var_int 10@ = $bj_half_bet
10@ *= -1
Player.AddScore($statbike_temp, 10@)
set_var_int_to_var_int $colour_r = $bj_half_bet
set_var_int_to_var_int $colour_g = $bj_half_bet
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_8344
10@ = Math.RandomIntInRange(0, 2)
switch_start 10@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @BLACKJ_8344 {caseNum1} 0 {caseLabel1} @BLACKJ_8302 {caseNum2} 1 {caseLabel2} @BLACKJ_8323 {caseNum3} -1 {caseLabel3} @BLACKJ_8344 {caseNum4} -1 {caseLabel4} @BLACKJ_8344 {caseNum5} -1 {caseLabel5} @BLACKJ_8344 {caseNum6} -1 {caseLabel6} @BLACKJ_8344 {caseNum7} -1 {caseLabel7} @BLACKJ_8344

:BLACKJ_8302
Char.SetSayScript(1@, 5809, True, True, False)
goto @BLACKJ_8344

:BLACKJ_8323
Char.SetSayScript(1@, 5810, True, True, False)
goto @BLACKJ_8344

:BLACKJ_8344
terminate_all_scripts_with_this_name 'CASHWIN'
3@ += 1

:BLACKJ_8362
if 
  3@ == 1
goto_if_false @BLACKJ_9587
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @BLACKJ_9510
if and
  not Text.IsThisHelpMessageBeingDisplayed('SGPUNT')
  not Text.IsThisHelpMessageBeingDisplayed('SGGAMB')
  not Text.IsThisHelpMessageBeingDisplayed('SGPROF')
  not Text.IsThisHelpMessageBeingDisplayed('SGHIRO')
goto_if_false @BLACKJ_8477
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BLACKJ_8477
Text.SetHelpMessageBoxSize(200)
Text.PrintHelpForever('BJ_H1')

:BLACKJ_8477
$bj_bet_step = Player.StoreScore($statbike_temp)
gosub @BLACKJ_33823
add_int_var_to_int_var $bj_bet_step += $colour_a
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikestamina_ctr)
goto_if_false @BLACKJ_8927
if and
  24@ <> 1
  24@ <> -1
goto_if_false @BLACKJ_8876
if 
  $bj_half_bet >= 10000
goto_if_false @BLACKJ_8577
$bj_initial_stake = 1000
goto @BLACKJ_8681

:BLACKJ_8577
if 
  $bj_half_bet >= 1000
goto_if_false @BLACKJ_8610
$bj_initial_stake = 100
goto @BLACKJ_8681

:BLACKJ_8610
if 
  $bj_half_bet >= 100
goto_if_false @BLACKJ_8642
$bj_initial_stake = 10
goto @BLACKJ_8681

:BLACKJ_8642
if 
  $bj_half_bet == 0
goto_if_false @BLACKJ_8674
$bj_initial_stake = 2
goto @BLACKJ_8681

:BLACKJ_8674
$bj_initial_stake = 1

:BLACKJ_8681
if 
  is_int_var_greater_than_int_var $bj_initial_stake > $bj_bet_step
goto_if_false @BLACKJ_8708
set_var_int_to_var_int $bj_initial_stake = $bj_bet_step

:BLACKJ_8708
set_lvar_int_to_var_int 10@ = $bj_half_bet
add_int_var_to_int_lvar 10@ += $bj_initial_stake
if 
  is_int_lvar_greater_than_int_lvar 10@ > 29@
goto_if_false @BLACKJ_8759
set_var_int_to_lvar_int $bj_initial_stake = 29@
sub_int_var_from_int_var $bj_initial_stake -= $bj_half_bet

:BLACKJ_8759
if 
  0 > $bj_initial_stake
goto_if_false @BLACKJ_8784
$bj_initial_stake *= -1

:BLACKJ_8784
add_int_var_to_int_var $bj_half_bet += $bj_initial_stake
add_int_var_to_int_var $colour_r += $bj_initial_stake
add_int_var_to_int_var $colour_g += $bj_initial_stake
$bj_initial_stake *= -1
Player.AddScore($statbike_temp, $bj_initial_stake)
24@ += 1
if 
  24@ > 1
goto_if_false @BLACKJ_8862
24@ = 2
goto @BLACKJ_8869

:BLACKJ_8862
TIMERA = 0

:BLACKJ_8869
goto @BLACKJ_8920

:BLACKJ_8876
if 
  24@ == 1
goto_if_false @BLACKJ_8920
if 
  TIMERA > 500
goto_if_false @BLACKJ_8920
24@ = 2

:BLACKJ_8920
goto @BLACKJ_9327

:BLACKJ_8927
if 
  25@ <> 0
goto_if_false @BLACKJ_8952
25@ = 0

:BLACKJ_8952
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikelowmuscle_ctr)
goto_if_false @BLACKJ_9302
if 
  25@ <> 1
goto_if_false @BLACKJ_9269
if 
  $bj_half_bet > 10000
goto_if_false @BLACKJ_9022
$bj_initial_stake = -1000
goto @BLACKJ_9094

:BLACKJ_9022
if 
  $bj_half_bet > 1000
goto_if_false @BLACKJ_9055
$bj_initial_stake = -100
goto @BLACKJ_9094

:BLACKJ_9055
if 
  $bj_half_bet > 100
goto_if_false @BLACKJ_9087
$bj_initial_stake = -10
goto @BLACKJ_9094

:BLACKJ_9087
$bj_initial_stake = -1

:BLACKJ_9094
set_lvar_int_to_var_int 10@ = $bj_half_bet
add_int_var_to_int_var $bj_half_bet += $bj_initial_stake
if 
  is_int_lvar_greater_than_int_var 30@ > $bj_half_bet
goto_if_false @BLACKJ_9151
$bj_half_bet = 0
set_var_int_to_lvar_int $bj_initial_stake = 10@
$bj_initial_stake *= -1

:BLACKJ_9151
if 
  is_int_lvar_greater_than_int_var 30@ > $bj_half_bet
goto_if_false @BLACKJ_9185
set_var_int_to_lvar_int $bj_half_bet = 30@
goto @BLACKJ_9216

:BLACKJ_9185
$bj_initial_stake *= -1
sub_int_var_from_int_var $colour_r -= $bj_initial_stake
sub_int_var_from_int_var $colour_g -= $bj_initial_stake
Player.AddScore($statbike_temp, $bj_initial_stake)

:BLACKJ_9216
25@ += 1
if 
  25@ > 1
goto_if_false @BLACKJ_9255
25@ = 2
goto @BLACKJ_9262

:BLACKJ_9255
TIMERA = 0

:BLACKJ_9262
goto @BLACKJ_9295

:BLACKJ_9269
if 
  TIMERA > 500
goto_if_false @BLACKJ_9295
25@ = 2

:BLACKJ_9295
goto @BLACKJ_9327

:BLACKJ_9302
if 
  25@ <> 0
goto_if_false @BLACKJ_9327
25@ = 0

:BLACKJ_9327
if 
  23@ == 0
goto_if_false @BLACKJ_9446
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BLACKJ_9439
set_var_int_to_var_int $9209 = $bj_half_bet
Stat.IncrementInt(StatId.MoneySpentGambling, $bj_half_bet)
cset_lvar_float_to_var_int 13@ =# $bj_half_bet
13@ *= 0.001
Stat.IncrementFloat(StatId.Gambling, 13@)
$colour_r = 0
set_var_int_to_var_int $bj_half_bet_f = $bj_half_bet
gosub @BLACKJ_24912
23@ = 1
3@ = 99

:BLACKJ_9439
goto @BLACKJ_9471

:BLACKJ_9446
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BLACKJ_9471
23@ = 0

:BLACKJ_9471
gosub @BLACKJ_23259
if 
  3@ <> 99
goto_if_false @BLACKJ_9503
3@ += 1

:BLACKJ_9503
goto @BLACKJ_9587

:BLACKJ_9510
if 
  23@ == 0
goto_if_false @BLACKJ_9562
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BLACKJ_9555
23@ = 1
Text.ClearPrints

:BLACKJ_9555
goto @BLACKJ_9587

:BLACKJ_9562
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BLACKJ_9587
23@ = 0

:BLACKJ_9587
if 
  3@ == 2
goto_if_false @BLACKJ_9619
gosub @BLACKJ_24912
3@ = 1

:BLACKJ_9619
if 
  3@ == 99
goto_if_false @BLACKJ_9658
gosub @BLACKJ_10608
3@ = 0
2@ += 1

:BLACKJ_9658
return 

:BLACKJ_9660
if 
  3@ == 0
goto_if_false @BLACKJ_9718
gosub @BLACKJ_29819
if 
  $9144 <> 0
goto_if_false @BLACKJ_9711
set_var_int_to_var_int $9153[0] = $9144

:BLACKJ_9711
3@ += 1

:BLACKJ_9718
if 
  3@ == 1
goto_if_false @BLACKJ_9788
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_9788
10@ = Char.GetScriptTaskStatus(1@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BLACKJ_9788
3@ += 1

:BLACKJ_9788
if 
  3@ == 2
goto_if_false @BLACKJ_9846
gosub @BLACKJ_29819
if 
  $9144 <> 0
goto_if_false @BLACKJ_9839
set_var_int_to_var_int $9145[0] = $9144

:BLACKJ_9839
3@ += 1

:BLACKJ_9846
if 
  3@ == 3
goto_if_false @BLACKJ_9916
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_9916
10@ = Char.GetScriptTaskStatus(1@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BLACKJ_9916
3@ += 1

:BLACKJ_9916
if 
  3@ == 4
goto_if_false @BLACKJ_9974
gosub @BLACKJ_29819
if 
  $9144 <> 0
goto_if_false @BLACKJ_9967
set_var_int_to_var_int $9153[1] = $9144

:BLACKJ_9967
3@ += 1

:BLACKJ_9974
if 
  3@ == 5
goto_if_false @BLACKJ_10044
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_10044
10@ = Char.GetScriptTaskStatus(1@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BLACKJ_10044
3@ += 1

:BLACKJ_10044
if 
  3@ == 6
goto_if_false @BLACKJ_10102
gosub @BLACKJ_29819
if 
  $9144 <> 0
goto_if_false @BLACKJ_10095
set_var_int_to_var_int $9145[1] = $9144

:BLACKJ_10095
3@ += 1

:BLACKJ_10102
if 
  3@ == 7
goto_if_false @BLACKJ_10172
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_10172
10@ = Char.GetScriptTaskStatus(1@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BLACKJ_10172
3@ = 99

:BLACKJ_10172
if 
  3@ == 99
goto_if_false @BLACKJ_10211
21@ = 0
3@ = 0
2@ += 1

:BLACKJ_10211
gosub @BLACKJ_31275
gosub @BLACKJ_29920
gosub @BLACKJ_25198
return 

:BLACKJ_10234
gosub @BLACKJ_10608
if 
  3@ == 0
goto_if_false @BLACKJ_10397
gosub @BLACKJ_31275
$bj_bet1 = 0
$bj_bet2 = 0
if or
  $dealer_total == 21
  $player_got_ace2 == 21
goto_if_false @BLACKJ_10390
if 
  $dealer_total == 21
goto_if_false @BLACKJ_10330
$bj_bet1 = 1

:BLACKJ_10330
if 
  $player_got_ace2 == 21
goto_if_false @BLACKJ_10355
$bj_bet2 = 1

:BLACKJ_10355
$player_has_quit = 1
$player_has_input = 1
2@ += 2
3@ = 0
goto @BLACKJ_10397

:BLACKJ_10390
3@ = 99

:BLACKJ_10397
if 
  3@ == 99
goto_if_false @BLACKJ_10443
3@ = 0
4@ = 0
21@ = 0
2@ += 1

:BLACKJ_10443
gosub @BLACKJ_31275
gosub @BLACKJ_29920
gosub @BLACKJ_25198
if 
  $bj_bet1 == 0
goto_if_false @BLACKJ_10496
gosub @BLACKJ_18511
goto @BLACKJ_10606

:BLACKJ_10496
if 
  $player_got_ace2 <> 21
goto_if_false @BLACKJ_10599
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_10592
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @BLACKJ_10578
Char.SetSayScript(1@, 5811, True, True, False)
goto @BLACKJ_10592

:BLACKJ_10578
Char.SetSayScript(1@, 5812, True, True, False)

:BLACKJ_10592
goto @BLACKJ_10606

:BLACKJ_10599
gosub @BLACKJ_18511

:BLACKJ_10606
return 

:BLACKJ_10608
if and
  not Text.IsThisHelpMessageBeingDisplayed('SGPUNT')
  not Text.IsThisHelpMessageBeingDisplayed('SGGAMB')
  not Text.IsThisHelpMessageBeingDisplayed('SGPROF')
  not Text.IsThisHelpMessageBeingDisplayed('SGHIRO')
goto_if_false @BLACKJ_10665
Text.ClearHelp

:BLACKJ_10665
return 

:BLACKJ_10667
if 
  3@ == 0
goto_if_false @BLACKJ_12287
if 
  $player_has_doubled2 == 0
goto_if_false @BLACKJ_10853
set_var_int_to_var_int $bj_z2 = $9153[0]
gosub @BLACKJ_32296
set_lvar_int_to_var_int 10@ = $bj_vec_x
set_var_int_to_var_int $bj_z2 = $9153[1]
gosub @BLACKJ_32296
set_lvar_int_to_var_int 11@ = $bj_vec_x
if 
  is_int_lvar_equal_to_int_lvar 10@ == 11@
goto_if_false @BLACKJ_10807
if 
  $9153[2] <> 0
goto_if_false @BLACKJ_10800
gosub @BLACKJ_10608
$player_has_doubled2 = 1

:BLACKJ_10800
goto @BLACKJ_10821

:BLACKJ_10807
gosub @BLACKJ_10608
$player_has_doubled2 = 1

:BLACKJ_10821
if 
  $player_has_stuck1 <> 0
goto_if_false @BLACKJ_10853
gosub @BLACKJ_10608
$player_has_doubled2 = 1

:BLACKJ_10853
if 
  $player_has_stuck2 == 0
goto_if_false @BLACKJ_11185
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_10984
if 
  $9153[2] <> 0
goto_if_false @BLACKJ_10921
gosub @BLACKJ_10608
$player_has_stuck2 = 1

:BLACKJ_10921
$bj_bet_step = Player.StoreScore($statbike_temp)
gosub @BLACKJ_33823
add_int_var_to_int_var $bj_bet_step += $colour_a
if 
  is_int_var_greater_than_int_var $bj_half_bet > $bj_bet_step
goto_if_false @BLACKJ_10977
gosub @BLACKJ_10608
$player_has_stuck2 = 1

:BLACKJ_10977
goto @BLACKJ_11185

:BLACKJ_10984
if 
  $player_has_quit == 0
goto_if_false @BLACKJ_11097
if 
  $9153[2] <> 0
goto_if_false @BLACKJ_11034
gosub @BLACKJ_10608
$player_has_stuck2 = 1

:BLACKJ_11034
$bj_bet_step = Player.StoreScore($statbike_temp)
gosub @BLACKJ_33823
add_int_var_to_int_var $bj_bet_step += $colour_a
if 
  is_int_var_greater_than_int_var $bj_half_bet > $bj_bet_step
goto_if_false @BLACKJ_11090
gosub @BLACKJ_10608
$player_has_stuck2 = 1

:BLACKJ_11090
goto @BLACKJ_11185

:BLACKJ_11097
if 
  $9161[2] <> 0
goto_if_false @BLACKJ_11129
gosub @BLACKJ_10608
$player_has_stuck2 = 1

:BLACKJ_11129
$bj_bet_step = Player.StoreScore($statbike_temp)
gosub @BLACKJ_33823
add_int_var_to_int_var $bj_bet_step += $colour_a
if 
  is_int_var_greater_than_int_var $bj_refund > $bj_bet_step
goto_if_false @BLACKJ_11185
gosub @BLACKJ_10608
$player_has_stuck2 = 1

:BLACKJ_11185
if and
  not Text.IsThisHelpMessageBeingDisplayed('SGPUNT')
  not Text.IsThisHelpMessageBeingDisplayed('SGGAMB')
  not Text.IsThisHelpMessageBeingDisplayed('SGPROF')
  not Text.IsThisHelpMessageBeingDisplayed('SGHIRO')
goto_if_false @BLACKJ_11789
if and
  $player_has_doubled2 == 0
  $player_has_stuck2 == 0
goto_if_false @BLACKJ_11301
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BLACKJ_11294
Text.SetHelpMessageBoxSize(128)
Text.PrintHelpForever('BJ_H3')

:BLACKJ_11294
21@ = 1

:BLACKJ_11301
if and
  $player_has_doubled2 == 1
  $player_has_stuck2 == 0
goto_if_false @BLACKJ_11362
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BLACKJ_11355
Text.SetHelpMessageBoxSize(128)
Text.PrintHelpForever('BJ_H2')

:BLACKJ_11355
21@ = 2

:BLACKJ_11362
if and
  $player_has_doubled2 == 1
  $player_has_stuck2 == 1
goto_if_false @BLACKJ_11423
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BLACKJ_11416
Text.SetHelpMessageBoxSize(128)
Text.PrintHelpForever('BJ_H5')

:BLACKJ_11416
21@ = 3

:BLACKJ_11423
if and
  $player_has_doubled2 == 1
  $player_has_stuck2 == 0
goto_if_false @BLACKJ_11484
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BLACKJ_11477
Text.SetHelpMessageBoxSize(128)
Text.PrintHelpForever('BJ_H2')

:BLACKJ_11477
21@ = 2

:BLACKJ_11484
if and
  $player_has_doubled2 == 1
  $player_has_stuck2 == 1
goto_if_false @BLACKJ_11545
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BLACKJ_11538
Text.SetHelpMessageBoxSize(128)
Text.PrintHelpForever('BJ_H5')

:BLACKJ_11538
21@ = 3

:BLACKJ_11545
if and
  $player_has_doubled2 == 0
  $player_has_stuck2 == 0
goto_if_false @BLACKJ_11606
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BLACKJ_11599
Text.SetHelpMessageBoxSize(128)
Text.PrintHelpForever('BJ_H3')

:BLACKJ_11599
21@ = 1

:BLACKJ_11606
if and
  $player_has_doubled2 == 1
  $player_has_stuck2 == 1
goto_if_false @BLACKJ_11667
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BLACKJ_11660
Text.SetHelpMessageBoxSize(128)
Text.PrintHelpForever('BJ_H5')

:BLACKJ_11660
21@ = 3

:BLACKJ_11667
if and
  $player_has_doubled2 == 0
  $player_has_stuck2 == 0
goto_if_false @BLACKJ_11728
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BLACKJ_11721
Text.SetHelpMessageBoxSize(128)
Text.PrintHelpForever('BJ_H3')

:BLACKJ_11721
21@ = 1

:BLACKJ_11728
if and
  $player_has_doubled2 == 1
  $player_has_stuck2 == 0
goto_if_false @BLACKJ_11789
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BLACKJ_11782
Text.SetHelpMessageBoxSize(128)
Text.PrintHelpForever('BJ_H2')

:BLACKJ_11782
21@ = 2

:BLACKJ_11789
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @BLACKJ_12210
if 
  25@ == 0
goto_if_false @BLACKJ_11880
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikelowmuscle_ctr)
goto_if_false @BLACKJ_11873
$player_has_won2 = 1
4@ = 0
3@ += 1
25@ = 1
goto @BLACKJ_12287

:BLACKJ_11873
goto @BLACKJ_11905

:BLACKJ_11880
if 
  not Pad.IsButtonPressed(PadId.Pad1, $statbikelowmuscle_ctr)
goto_if_false @BLACKJ_11905
25@ = 0

:BLACKJ_11905
if 
  $player_has_doubled2 == 0
goto_if_false @BLACKJ_11986
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_11986
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder2)
goto_if_false @BLACKJ_11986
$player_has_stuck1 = 1
3@ += 1
4@ = 0
goto @BLACKJ_12287

:BLACKJ_11986
if 
  $player_has_stuck2 == 0
goto_if_false @BLACKJ_12075
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikestamina_ctr)
goto_if_false @BLACKJ_12075
if 
  $player_has_quit == 0
goto_if_false @BLACKJ_12054
$player_has_hit = 1
goto @BLACKJ_12061

:BLACKJ_12054
$dealer_has_stuck = 1

:BLACKJ_12061
3@ += 1
goto @BLACKJ_12287

:BLACKJ_12075
if 
  23@ == 0
goto_if_false @BLACKJ_12178
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BLACKJ_12171
if 
  $player_has_quit == 0
goto_if_false @BLACKJ_12143
$player_has_quit = 1
goto @BLACKJ_12150

:BLACKJ_12143
$player_has_won1 = 1

:BLACKJ_12150
23@ = 1
3@ += 1
goto @BLACKJ_12287

:BLACKJ_12171
goto @BLACKJ_12203

:BLACKJ_12178
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BLACKJ_12203
23@ = 0

:BLACKJ_12203
goto @BLACKJ_12287

:BLACKJ_12210
if 
  25@ == 0
goto_if_false @BLACKJ_12262
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikelowmuscle_ctr)
goto_if_false @BLACKJ_12255
25@ = 1
Text.ClearPrints

:BLACKJ_12255
goto @BLACKJ_12287

:BLACKJ_12262
if 
  not Pad.IsButtonPressed(PadId.Pad1, $statbikelowmuscle_ctr)
goto_if_false @BLACKJ_12287
25@ = 0

:BLACKJ_12287
if 
  3@ == 1
goto_if_false @BLACKJ_15256
if 
  $player_has_won2 == 1
goto_if_false @BLACKJ_12786
if 
  4@ == 0
goto_if_false @BLACKJ_12355
gosub @BLACKJ_29819
4@ += 1

:BLACKJ_12355
if 
  4@ == 1
goto_if_false @BLACKJ_12425
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_12425
10@ = Char.GetScriptTaskStatus(1@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BLACKJ_12425
4@ += 1

:BLACKJ_12425
if 
  4@ == 2
goto_if_false @BLACKJ_12754
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_12555
10@ = 0

:BLACKJ_12468
if 
  8 > 10@
goto_if_false @BLACKJ_12548
if 
  $9153(10@,8i) == 0
goto_if_false @BLACKJ_12534
set_var_int_to_var_int $9153(10@,8i) = $9144
10@ = 8
4@ = 99

:BLACKJ_12534
10@ += 1
goto @BLACKJ_12468

:BLACKJ_12548
goto @BLACKJ_12754

:BLACKJ_12555
if 
  $player_has_quit == 0
goto_if_false @BLACKJ_12667
10@ = 0

:BLACKJ_12580
if 
  8 > 10@
goto_if_false @BLACKJ_12660
if 
  $9153(10@,8i) == 0
goto_if_false @BLACKJ_12646
set_var_int_to_var_int $9153(10@,8i) = $9144
10@ = 8
4@ = 99

:BLACKJ_12646
10@ += 1
goto @BLACKJ_12580

:BLACKJ_12660
goto @BLACKJ_12754

:BLACKJ_12667
10@ = 0

:BLACKJ_12674
if 
  8 > 10@
goto_if_false @BLACKJ_12754
if 
  $9161(10@,8i) == 0
goto_if_false @BLACKJ_12740
set_var_int_to_var_int $9161(10@,8i) = $9144
10@ = 8
4@ = 99

:BLACKJ_12740
10@ += 1
goto @BLACKJ_12674

:BLACKJ_12754
if 
  4@ == 99
goto_if_false @BLACKJ_12786
$player_has_won2 = 0
gosub @BLACKJ_18511

:BLACKJ_12786
10@ = 0
if 
  $player_has_stuck1 == 1
goto_if_false @BLACKJ_12843
if or
  $9161[0] == 0
  $9153[1] == 0
goto_if_false @BLACKJ_12843
10@ = 1

:BLACKJ_12843
if and
  $player_has_stuck1 == 1
  10@ == 1
goto_if_false @BLACKJ_13318
if 
  4@ == 0
goto_if_false @BLACKJ_12995
cset_var_float_to_var_int $bj_payout =# $bj_half_bet
cset_var_int_to_var_float $casino_credit =# $bj_payout
$bj_bet_step = Player.StoreScore($statbike_temp)
gosub @BLACKJ_33823
add_int_var_to_int_var $bj_bet_step += $colour_a
if 
  is_int_var_greater_than_int_var $casino_credit > $bj_bet_step
goto_if_false @BLACKJ_12988
$player_has_stuck1 = 0
4@ = 99
Text.PrintNow('BJ_3', 5000, 1)
gosub @BLACKJ_18358
goto @BLACKJ_12995

:BLACKJ_12988
4@ += 1

:BLACKJ_12995
if 
  4@ == 1
goto_if_false @BLACKJ_13097
Stat.IncrementInt(StatId.MoneySpentGambling, $casino_credit)
cset_lvar_float_to_var_int 13@ =# $casino_credit
13@ *= 0.001
Stat.IncrementFloat(StatId.Gambling, 13@)
$casino_credit *= -1
Player.AddScore($statbike_temp, $casino_credit)
$casino_credit *= -1
add_int_var_to_int_var $bj_half_bet += $casino_credit
add_int_var_to_int_var $colour_g += $casino_credit
gosub @BLACKJ_23259
4@ += 1

:BLACKJ_13097
if 
  4@ == 2
goto_if_false @BLACKJ_13152
set_var_int_to_var_int $9161[0] = $9153[0]
set_var_int_to_var_int $9153[0] = $9153[1]
$9153[1] = 0
gosub @BLACKJ_29819
4@ += 1

:BLACKJ_13152
if 
  4@ == 3
goto_if_false @BLACKJ_13230
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_13230
10@ = Char.GetScriptTaskStatus(1@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BLACKJ_13230
set_var_int_to_var_int $9153[1] = $9144
4@ += 1

:BLACKJ_13230
if 
  4@ == 4
goto_if_false @BLACKJ_13318
cset_var_float_to_var_int $bj_payout =# $bj_half_bet
$bj_payout /= 2.0
cset_var_int_to_var_float $casino_credit =# $bj_payout
set_var_int_to_var_int $bj_half_bet = $casino_credit
set_var_int_to_var_int $bj_refund = $casino_credit
$player_has_stuck2 = 0
gosub @BLACKJ_10608
gosub @BLACKJ_18511
4@ = 99

:BLACKJ_13318
if and
  $player_has_stuck1 == 1
  $player_has_quit == 1
  $9161[1] == 0
goto_if_false @BLACKJ_13524
if 
  4@ == 0
goto_if_false @BLACKJ_13382
gosub @BLACKJ_29819
4@ += 1

:BLACKJ_13382
if 
  4@ == 1
goto_if_false @BLACKJ_13452
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_13452
10@ = Char.GetScriptTaskStatus(1@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BLACKJ_13452
4@ += 1

:BLACKJ_13452
if 
  4@ == 2
goto_if_false @BLACKJ_13506
set_var_int_to_var_int $9161[1] = $9144
$player_has_stuck2 = 0
gosub @BLACKJ_10608
gosub @BLACKJ_18511
4@ = 99

:BLACKJ_13506
if 
  4@ == 99
goto_if_false @BLACKJ_13524

:BLACKJ_13524
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_13927
if and
  $player_has_hit == 1
  $player_has_quit == 0
goto_if_false @BLACKJ_13920
if 
  4@ == 0
goto_if_false @BLACKJ_13694
cset_var_float_to_var_int $bj_payout =# $bj_half_bet
cset_var_int_to_var_float $casino_credit =# $bj_payout
$bj_bet_step = Player.StoreScore($statbike_temp)
gosub @BLACKJ_33823
add_int_var_to_int_var $bj_bet_step += $colour_a
if 
  is_int_var_greater_than_int_var $casino_credit > $bj_bet_step
goto_if_false @BLACKJ_13687
$player_has_hit = 0
4@ = 99
Text.PrintNow('BJ_3', 5000, 1)
gosub @BLACKJ_18358
goto @BLACKJ_13694

:BLACKJ_13687
4@ += 1

:BLACKJ_13694
if 
  4@ == 1
goto_if_false @BLACKJ_13803
Stat.IncrementInt(StatId.MoneySpentGambling, $casino_credit)
cset_lvar_float_to_var_int 13@ =# $casino_credit
13@ *= 0.001
Stat.IncrementFloat(StatId.Gambling, 13@)
$casino_credit *= -1
Player.AddScore($statbike_temp, $casino_credit)
$casino_credit *= -1
add_int_var_to_int_var $bj_half_bet += $casino_credit
add_int_var_to_int_var $colour_g += $casino_credit
gosub @BLACKJ_23259
gosub @BLACKJ_29819
4@ += 1

:BLACKJ_13803
if 
  4@ == 2
goto_if_false @BLACKJ_13873
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_13873
10@ = Char.GetScriptTaskStatus(1@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BLACKJ_13873
4@ += 1

:BLACKJ_13873
if 
  4@ == 3
goto_if_false @BLACKJ_13920
set_var_int_to_var_int $9153[2] = $9144
$player_has_quit = 1
gosub @BLACKJ_18511
4@ = 99

:BLACKJ_13920
goto @BLACKJ_14690

:BLACKJ_13927
if and
  $player_has_hit == 1
  $player_has_quit == 0
goto_if_false @BLACKJ_14312
if 
  4@ == 0
goto_if_false @BLACKJ_14079
cset_var_float_to_var_int $bj_payout =# $bj_half_bet
cset_var_int_to_var_float $casino_credit =# $bj_payout
$bj_bet_step = Player.StoreScore($statbike_temp)
gosub @BLACKJ_33823
add_int_var_to_int_var $bj_bet_step += $colour_a
if 
  is_int_var_greater_than_int_var $casino_credit > $bj_bet_step
goto_if_false @BLACKJ_14072
$player_has_hit = 0
Text.PrintNow('BJ_3', 5000, 1)
gosub @BLACKJ_18358
4@ = 99
goto @BLACKJ_14079

:BLACKJ_14072
4@ += 1

:BLACKJ_14079
if 
  4@ == 1
goto_if_false @BLACKJ_14188
Stat.IncrementInt(StatId.MoneySpentGambling, $casino_credit)
cset_lvar_float_to_var_int 13@ =# $casino_credit
13@ *= 0.001
Stat.IncrementFloat(StatId.Gambling, 13@)
$casino_credit *= -1
Player.AddScore($statbike_temp, $casino_credit)
$casino_credit *= -1
add_int_var_to_int_var $bj_half_bet += $casino_credit
add_int_var_to_int_var $colour_g += $casino_credit
gosub @BLACKJ_23259
gosub @BLACKJ_29819
4@ += 1

:BLACKJ_14188
if 
  4@ == 2
goto_if_false @BLACKJ_14258
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_14258
10@ = Char.GetScriptTaskStatus(1@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BLACKJ_14258
4@ += 1

:BLACKJ_14258
if 
  4@ == 3
goto_if_false @BLACKJ_14312
set_var_int_to_var_int $9153[2] = $9144
$player_has_quit = 1
gosub @BLACKJ_18511
4@ = 0
goto @BLACKJ_13318

:BLACKJ_14312
if and
  $dealer_has_stuck == 1
  $player_has_won1 == 0
goto_if_false @BLACKJ_14690
if 
  4@ == 0
goto_if_false @BLACKJ_14464
cset_var_float_to_var_int $bj_payout =# $bj_half_bet
cset_var_int_to_var_float $casino_credit =# $bj_payout
$bj_bet_step = Player.StoreScore($statbike_temp)
gosub @BLACKJ_33823
add_int_var_to_int_var $bj_bet_step += $colour_a
if 
  is_int_var_greater_than_int_var $casino_credit > $bj_bet_step
goto_if_false @BLACKJ_14457
$dealer_has_stuck = 0
4@ = 99
Text.PrintNow('BJ_3', 5000, 1)
gosub @BLACKJ_18358
goto @BLACKJ_14464

:BLACKJ_14457
4@ += 1

:BLACKJ_14464
if 
  4@ == 1
goto_if_false @BLACKJ_14573
Stat.IncrementInt(StatId.MoneySpentGambling, $casino_credit)
cset_lvar_float_to_var_int 13@ =# $casino_credit
13@ *= 0.001
Stat.IncrementFloat(StatId.Gambling, 13@)
$casino_credit *= -1
Player.AddScore($statbike_temp, $casino_credit)
$casino_credit *= -1
add_int_var_to_int_var $bj_refund += $casino_credit
add_int_var_to_int_var $colour_g += $casino_credit
gosub @BLACKJ_23259
gosub @BLACKJ_29819
4@ += 1

:BLACKJ_14573
if 
  4@ == 2
goto_if_false @BLACKJ_14643
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_14643
10@ = Char.GetScriptTaskStatus(1@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BLACKJ_14643
4@ += 1

:BLACKJ_14643
if 
  4@ == 3
goto_if_false @BLACKJ_14690
set_var_int_to_var_int $9161[2] = $9144
$player_has_won1 = 1
gosub @BLACKJ_18511
4@ = 99

:BLACKJ_14690
gosub @BLACKJ_31275
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_14772
if 
  $dealer_total > 20
goto_if_false @BLACKJ_14740
$player_has_quit = 1

:BLACKJ_14740
if 
  $9153[4] <> 0
goto_if_false @BLACKJ_14765
$player_has_quit = 1

:BLACKJ_14765
goto @BLACKJ_14918

:BLACKJ_14772
if 
  $player_has_quit == 0
goto_if_false @BLACKJ_14868
if 
  $dealer_total > 20
goto_if_false @BLACKJ_14829
$player_has_quit = 1
4@ = 0
goto @BLACKJ_13318

:BLACKJ_14829
if 
  $9153[4] <> 0
goto_if_false @BLACKJ_14868
$player_has_quit = 1
4@ = 0
goto @BLACKJ_13318

:BLACKJ_14868
if 
  $dealer_got_ace > 20
goto_if_false @BLACKJ_14893
$player_has_won1 = 1

:BLACKJ_14893
if 
  $9161[4] <> 0
goto_if_false @BLACKJ_14918
$player_has_won1 = 1

:BLACKJ_14918
if 
  $player_has_stuck1 == 1
goto_if_false @BLACKJ_15096
if and
  $player_has_quit == 1
  $player_has_won1 == 1
goto_if_false @BLACKJ_15096
if and
  $dealer_total == 21
  $9153[2] == 0
goto_if_false @BLACKJ_15064
if or
  $dealer_got_ace <> 21
  $9161[2] <> 0
goto_if_false @BLACKJ_15025
$bj_bet1 = 2
goto @BLACKJ_15057

:BLACKJ_15025
if and
  $dealer_got_ace == 21
  $9161[2] == 0
goto_if_false @BLACKJ_15057
$bj_bet1 = 4

:BLACKJ_15057
goto @BLACKJ_15096

:BLACKJ_15064
if and
  $dealer_got_ace == 21
  $9161[2] == 0
goto_if_false @BLACKJ_15096
$bj_bet1 = 3

:BLACKJ_15096
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_15185
if 
  $player_has_quit == 1
goto_if_false @BLACKJ_15146
3@ = 99
goto @BLACKJ_15178

:BLACKJ_15146
if 
  4@ == 99
goto_if_false @BLACKJ_15178
3@ = 0
4@ = 0

:BLACKJ_15178
goto @BLACKJ_15256

:BLACKJ_15185
if and
  $player_has_quit == 1
  $player_has_won1 == 1
goto_if_false @BLACKJ_15224
3@ = 99
goto @BLACKJ_15256

:BLACKJ_15224
if 
  4@ == 99
goto_if_false @BLACKJ_15256
3@ = 0
4@ = 0

:BLACKJ_15256
if 
  $player_has_stuck1 == 1
goto_if_false @BLACKJ_15347
if 
  $player_has_quit == 0
goto_if_false @BLACKJ_15323
gosub @BLACKJ_34207
Text.Display($9233[22], $9260[22], 'BJ_ARR')
goto @BLACKJ_15347

:BLACKJ_15323
gosub @BLACKJ_34207
Text.Display($9233[23], $9260[23], 'BJ_ARR')

:BLACKJ_15347
if 
  3@ == 99
goto_if_false @BLACKJ_15386
gosub @BLACKJ_10608
3@ = 0
2@ += 1

:BLACKJ_15386
gosub @BLACKJ_31275
gosub @BLACKJ_29920
gosub @BLACKJ_25198
return 

:BLACKJ_15409
if 
  3@ == 0
goto_if_false @BLACKJ_15562
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_15491
if 
  $dealer_total > 21
goto_if_false @BLACKJ_15484
$player_has_input = 1
$player_total2_b = 1
3@ = 99

:BLACKJ_15484
goto @BLACKJ_15537

:BLACKJ_15491
if and
  $dealer_total > 21
  $dealer_got_ace > 21
goto_if_false @BLACKJ_15537
$player_has_input = 1
$player_total2_b = 1
3@ = 99

:BLACKJ_15537
if 
  3@ <> 99
goto_if_false @BLACKJ_15562
3@ += 1

:BLACKJ_15562
if 
  3@ == 1
goto_if_false @BLACKJ_15669
if 
  $player_got_ace2 > 16
goto_if_false @BLACKJ_15612
$player_has_input = 1
goto @BLACKJ_15619

:BLACKJ_15612
3@ += 1

:BLACKJ_15619
if 
  $9145[4] <> 0
goto_if_false @BLACKJ_15644
$player_has_input = 1

:BLACKJ_15644
if 
  $player_has_input == 1
goto_if_false @BLACKJ_15669
3@ = 99

:BLACKJ_15669
if 
  3@ == 2
goto_if_false @BLACKJ_15701
gosub @BLACKJ_29819
3@ += 1

:BLACKJ_15701
if 
  3@ == 3
goto_if_false @BLACKJ_15771
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_15771
10@ = Char.GetScriptTaskStatus(1@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BLACKJ_15771
3@ += 1

:BLACKJ_15771
if 
  3@ == 4
goto_if_false @BLACKJ_15876
10@ = 0

:BLACKJ_15796
if 
  8 > 10@
goto_if_false @BLACKJ_15869
if 
  $9145(10@,8i) == 0
goto_if_false @BLACKJ_15855
set_var_int_to_var_int $9145(10@,8i) = $9144
10@ = 8

:BLACKJ_15855
10@ += 1
goto @BLACKJ_15796

:BLACKJ_15869
3@ = 0

:BLACKJ_15876
if 
  3@ == 99
goto_if_false @BLACKJ_15908
2@ += 1
3@ = 0

:BLACKJ_15908
gosub @BLACKJ_31275
gosub @BLACKJ_29920
gosub @BLACKJ_25198
return 

:BLACKJ_15931
if 
  3@ == 0
goto_if_false @BLACKJ_17997
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_16193
if 
  $dealer_total <= 21
goto_if_false @BLACKJ_16186
if 
  $player_got_ace2 > 21
goto_if_false @BLACKJ_16017
$player_total1 = 1
goto @BLACKJ_16186

:BLACKJ_16017
if 
  is_int_var_greater_than_int_var $dealer_total > $player_got_ace2
goto_if_false @BLACKJ_16050
$player_total1 = 1
goto @BLACKJ_16186

:BLACKJ_16050
if 
  is_int_var_equal_to_int_var $dealer_total == $player_got_ace2
goto_if_false @BLACKJ_16179
if 
  $bj_bet1 == 1
goto_if_false @BLACKJ_16133
if 
  $bj_bet2 == 1
goto_if_false @BLACKJ_16119
$player_total1 = 2
goto @BLACKJ_16126

:BLACKJ_16119
$player_total1 = 1

:BLACKJ_16126
goto @BLACKJ_16172

:BLACKJ_16133
if 
  $bj_bet2 == 1
goto_if_false @BLACKJ_16165
$player_total1 = 0
goto @BLACKJ_16172

:BLACKJ_16165
$player_total1 = 2

:BLACKJ_16172
goto @BLACKJ_16186

:BLACKJ_16179
$player_total1 = 0

:BLACKJ_16186
goto @BLACKJ_16645

:BLACKJ_16193
if 
  $dealer_total <= 21
goto_if_false @BLACKJ_16419
if 
  $player_got_ace2 > 21
goto_if_false @BLACKJ_16243
$player_total1 = 1
goto @BLACKJ_16419

:BLACKJ_16243
if 
  is_int_var_greater_than_int_var $dealer_total > $player_got_ace2
goto_if_false @BLACKJ_16276
$player_total1 = 1
goto @BLACKJ_16419

:BLACKJ_16276
if 
  is_int_var_equal_to_int_var $dealer_total == $player_got_ace2
goto_if_false @BLACKJ_16412
if or
  $bj_bet1 == 2
  $bj_bet1 == 4
goto_if_false @BLACKJ_16366
if 
  $bj_bet2 == 1
goto_if_false @BLACKJ_16352
$player_total1 = 2
goto @BLACKJ_16359

:BLACKJ_16352
$player_total1 = 1

:BLACKJ_16359
goto @BLACKJ_16405

:BLACKJ_16366
if 
  $bj_bet2 == 1
goto_if_false @BLACKJ_16398
$player_total1 = 0
goto @BLACKJ_16405

:BLACKJ_16398
$player_total1 = 2

:BLACKJ_16405
goto @BLACKJ_16419

:BLACKJ_16412
$player_total1 = 0

:BLACKJ_16419
if 
  $dealer_got_ace <= 21
goto_if_false @BLACKJ_16645
if 
  $player_got_ace2 > 21
goto_if_false @BLACKJ_16469
$player_total1_b = 1
goto @BLACKJ_16645

:BLACKJ_16469
if 
  is_int_var_greater_than_int_var $dealer_got_ace > $player_got_ace2
goto_if_false @BLACKJ_16502
$player_total1_b = 1
goto @BLACKJ_16645

:BLACKJ_16502
if 
  is_int_var_equal_to_int_var $dealer_got_ace == $player_got_ace2
goto_if_false @BLACKJ_16638
if or
  $bj_bet1 == 3
  $bj_bet1 == 4
goto_if_false @BLACKJ_16592
if 
  $bj_bet2 == 1
goto_if_false @BLACKJ_16578
$player_total1_b = 2
goto @BLACKJ_16585

:BLACKJ_16578
$player_total1_b = 1

:BLACKJ_16585
goto @BLACKJ_16631

:BLACKJ_16592
if 
  $bj_bet2 == 1
goto_if_false @BLACKJ_16624
$player_total1_b = 0
goto @BLACKJ_16631

:BLACKJ_16624
$player_total1_b = 2

:BLACKJ_16631
goto @BLACKJ_16645

:BLACKJ_16638
$player_total1_b = 0

:BLACKJ_16645
TIMERA = 0
$colour_b = 0
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_16790
if 
  $player_total1 == 1
goto_if_false @BLACKJ_16757
if 
  $bj_bet1 == 1
goto_if_false @BLACKJ_16735
$colour_b = 3
mult_int_var_by_int_var $colour_b *= $bj_half_bet
goto @BLACKJ_16750

:BLACKJ_16735
$colour_b = 2
mult_int_var_by_int_var $colour_b *= $bj_half_bet

:BLACKJ_16750
goto @BLACKJ_16783

:BLACKJ_16757
if 
  $player_total1 == 2
goto_if_false @BLACKJ_16783
set_var_int_to_var_int $colour_b = $bj_half_bet

:BLACKJ_16783
goto @BLACKJ_17032

:BLACKJ_16790
if 
  $player_total1 == 1
goto_if_false @BLACKJ_16877
if or
  $bj_bet1 == 2
  $bj_bet1 == 4
goto_if_false @BLACKJ_16855
$colour_b = 3
mult_int_var_by_int_var $colour_b *= $bj_half_bet
goto @BLACKJ_16870

:BLACKJ_16855
$colour_b = 2
mult_int_var_by_int_var $colour_b *= $bj_half_bet

:BLACKJ_16870
goto @BLACKJ_16903

:BLACKJ_16877
if 
  $player_total1 == 2
goto_if_false @BLACKJ_16903
set_var_int_to_var_int $colour_b = $bj_half_bet

:BLACKJ_16903
if 
  $player_total1_b == 1
goto_if_false @BLACKJ_17006
if or
  $bj_bet1 == 3
  $bj_bet1 == 4
goto_if_false @BLACKJ_16976
set_lvar_int_to_var_int 10@ = $bj_refund
10@ *= 3
add_int_lvar_to_int_var $colour_b += 10@
goto @BLACKJ_16999

:BLACKJ_16976
set_lvar_int_to_var_int 10@ = $bj_refund
10@ *= 2
add_int_lvar_to_int_var $colour_b += 10@

:BLACKJ_16999
goto @BLACKJ_17032

:BLACKJ_17006
if 
  $player_total1_b == 2
goto_if_false @BLACKJ_17032
add_int_var_to_int_var $colour_b += $bj_refund

:BLACKJ_17032
set_lvar_int_to_var_int 10@ = $colour_b
sub_int_var_from_int_lvar 10@ -= $colour_g
Stat.IncrementInt(StatId.MoneyWonGambling, 10@)
Player.AddScore($statbike_temp, $colour_b)
start_new_script @CASHWIN 10@ 3000 69 
Stat.ShowUpdateStats(False)
if 
  10@ > 0
goto_if_false @BLACKJ_17550
Stat.RegisterInt(StatId.BiggestGamblingWin, 10@)
cset_lvar_float_to_lvar_int 13@ =# 10@
cset_lvar_float_to_lvar_int 14@ =# 29@
div_float_lvar_by_float_lvar 13@ /= 14@
$9329 += 1
if 
  5 > $9329
goto_if_false @BLACKJ_17385
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_17378
if 
  13@ > 0.8
goto_if_false @BLACKJ_17210
10@ = Math.RandomIntInRange(0, 4)
goto @BLACKJ_17219

:BLACKJ_17210
10@ = Math.RandomIntInRange(0, 3)

:BLACKJ_17219
switch_start 10@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @BLACKJ_17378 {caseNum1} 0 {caseLabel1} @BLACKJ_17282 {caseNum2} 1 {caseLabel2} @BLACKJ_17303 {caseNum3} 2 {caseLabel3} @BLACKJ_17324 {caseNum4} 3 {caseLabel4} @BLACKJ_17345 {caseNum5} -1 {caseLabel5} @BLACKJ_17378 {caseNum6} -1 {caseLabel6} @BLACKJ_17378 {caseNum7} -1 {caseLabel7} @BLACKJ_17378

:BLACKJ_17282
Char.SetSayScript(1@, 5847, True, True, False)
goto @BLACKJ_17378

:BLACKJ_17303
Char.SetSayScript(1@, 5848, True, True, False)
goto @BLACKJ_17378

:BLACKJ_17324
Char.SetSayScript(1@, 5849, True, True, False)
goto @BLACKJ_17378

:BLACKJ_17345
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BLACKJ_17371
10@ = Char.SetSayContext($stattreadstamina_ctr, 100)

:BLACKJ_17371
goto @BLACKJ_17378

:BLACKJ_17378
goto @BLACKJ_17543

:BLACKJ_17385
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_17536
10@ = Math.RandomIntInRange(0, 3)
switch_start 10@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @BLACKJ_17536 {caseNum1} 0 {caseLabel1} @BLACKJ_17473 {caseNum2} 1 {caseLabel2} @BLACKJ_17494 {caseNum3} 2 {caseLabel3} @BLACKJ_17515 {caseNum4} -1 {caseLabel4} @BLACKJ_17536 {caseNum5} -1 {caseLabel5} @BLACKJ_17536 {caseNum6} -1 {caseLabel6} @BLACKJ_17536 {caseNum7} -1 {caseLabel7} @BLACKJ_17536

:BLACKJ_17473
Char.SetSayScript(1@, 5854, True, True, False)
goto @BLACKJ_17536

:BLACKJ_17494
Char.SetSayScript(1@, 5855, True, True, False)
goto @BLACKJ_17536

:BLACKJ_17515
Char.SetSayScript(1@, 5856, True, True, False)
goto @BLACKJ_17536

:BLACKJ_17536
$9329 = 0

:BLACKJ_17543
goto @BLACKJ_17972

:BLACKJ_17550
10@ *= -1
Stat.RegisterInt(StatId.BiggestGamblingLoss, 10@)
10@ *= -1
$9329 = 0
cset_lvar_float_to_lvar_int 13@ =# 10@
13@ *= -1.0
cset_lvar_float_to_lvar_int 14@ =# 29@
div_float_lvar_by_float_lvar 13@ /= 14@
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_17972
if 
  0 > 10@
goto_if_false @BLACKJ_17858
if 
  13@ > 0.8
goto_if_false @BLACKJ_17683
10@ = Math.RandomIntInRange(0, 4)
goto @BLACKJ_17692

:BLACKJ_17683
10@ = Math.RandomIntInRange(0, 3)

:BLACKJ_17692
switch_start 10@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @BLACKJ_17851 {caseNum1} 0 {caseLabel1} @BLACKJ_17755 {caseNum2} 1 {caseLabel2} @BLACKJ_17776 {caseNum3} 2 {caseLabel3} @BLACKJ_17797 {caseNum4} 3 {caseLabel4} @BLACKJ_17818 {caseNum5} -1 {caseLabel5} @BLACKJ_17851 {caseNum6} -1 {caseLabel6} @BLACKJ_17851 {caseNum7} -1 {caseLabel7} @BLACKJ_17851

:BLACKJ_17755
Char.SetSayScript(1@, 5817, True, True, False)
goto @BLACKJ_17851

:BLACKJ_17776
Char.SetSayScript(1@, 5818, True, True, False)
goto @BLACKJ_17851

:BLACKJ_17797
Char.SetSayScript(1@, 5819, True, True, False)
goto @BLACKJ_17851

:BLACKJ_17818
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BLACKJ_17844
10@ = Char.SetSayContext($stattreadstamina_ctr, 101)

:BLACKJ_17844
goto @BLACKJ_17851

:BLACKJ_17851
goto @BLACKJ_17972

:BLACKJ_17858
10@ = Math.RandomIntInRange(0, 2)
switch_start 10@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @BLACKJ_17972 {caseNum1} 0 {caseLabel1} @BLACKJ_17930 {caseNum2} 1 {caseLabel2} @BLACKJ_17951 {caseNum3} -1 {caseLabel3} @BLACKJ_17972 {caseNum4} -1 {caseLabel4} @BLACKJ_17972 {caseNum5} -1 {caseLabel5} @BLACKJ_17972 {caseNum6} -1 {caseLabel6} @BLACKJ_17972 {caseNum7} -1 {caseLabel7} @BLACKJ_17972

:BLACKJ_17930
Char.SetSayScript(1@, 5815, True, True, False)
goto @BLACKJ_17972

:BLACKJ_17951
Char.SetSayScript(1@, 5816, True, True, False)
goto @BLACKJ_17972

:BLACKJ_17972
Stat.ShowUpdateStats(True)
$colour_g = 0
gosub @BLACKJ_23259
3@ += 1

:BLACKJ_17997
if 
  3@ == 1
goto_if_false @BLACKJ_18130
if 
  TIMERA > 3000
goto_if_false @BLACKJ_18048
3@ += 1
goto @BLACKJ_18130

:BLACKJ_18048
if 
  23@ == 0
goto_if_false @BLACKJ_18105
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BLACKJ_18098
23@ = 1
3@ += 1

:BLACKJ_18098
goto @BLACKJ_18130

:BLACKJ_18105
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BLACKJ_18130
23@ = 0

:BLACKJ_18130
if 
  3@ == 2
goto_if_false @BLACKJ_18162
TIMERA = 0
3@ += 1

:BLACKJ_18162
if 
  3@ == 3
goto_if_false @BLACKJ_18303
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BLACKJ_18219
23@ = 1
3@ = 99
goto @BLACKJ_18303

:BLACKJ_18219
if and
  not Text.IsThisHelpMessageBeingDisplayed('SGPUNT')
  not Text.IsThisHelpMessageBeingDisplayed('SGGAMB')
  not Text.IsThisHelpMessageBeingDisplayed('SGPROF')
  not Text.IsThisHelpMessageBeingDisplayed('SGHIRO')
goto_if_false @BLACKJ_18303
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @BLACKJ_18303
Text.SetHelpMessageBoxSize(128)
Text.PrintHelpForever('BJ_H4')

:BLACKJ_18303
if 
  3@ == 99
goto_if_false @BLACKJ_18342
gosub @BLACKJ_10608
2@ = 1
3@ = 0

:BLACKJ_18342
gosub @BLACKJ_29920
gosub @BLACKJ_25198
return 

:BLACKJ_18358
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_18509
10@ = Math.RandomIntInRange(0, 3)
switch_start 10@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @BLACKJ_18509 {caseNum1} 0 {caseLabel1} @BLACKJ_18446 {caseNum2} 1 {caseLabel2} @BLACKJ_18467 {caseNum3} 2 {caseLabel3} @BLACKJ_18488 {caseNum4} -1 {caseLabel4} @BLACKJ_18509 {caseNum5} -1 {caseLabel5} @BLACKJ_18509 {caseNum6} -1 {caseLabel6} @BLACKJ_18509 {caseNum7} -1 {caseLabel7} @BLACKJ_18509

:BLACKJ_18446
Char.SetSayScript(1@, 5823, True, True, False)
goto @BLACKJ_18509

:BLACKJ_18467
Char.SetSayScript(1@, 5824, True, True, False)
goto @BLACKJ_18509

:BLACKJ_18488
Char.SetSayScript(1@, 5825, True, True, False)
goto @BLACKJ_18509

:BLACKJ_18509
return 

:BLACKJ_18511
gosub @BLACKJ_31275
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_21854
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_19649
if 
  $dealer_total2 == 0
goto_if_false @BLACKJ_19225
switch_start $dealer_total {numCases} 18 {hasDefaultCase} 1 {defaultLabel} @BLACKJ_19141 {caseNum1} 4 {caseLabel1} @BLACKJ_18763 {caseNum2} 5 {caseLabel2} @BLACKJ_18784 {caseNum3} 6 {caseLabel3} @BLACKJ_18805 {caseNum4} 7 {caseLabel4} @BLACKJ_18826 {caseNum5} 8 {caseLabel5} @BLACKJ_18847 {caseNum6} 9 {caseLabel6} @BLACKJ_18868 {caseNum7} 10 {caseLabel7} @BLACKJ_18889
switch_continued 11 {caseLabel1} @BLACKJ_18910 {caseNum2} 12 {caseLabel2} @BLACKJ_18931 {caseNum3} 13 {caseLabel3} @BLACKJ_18952 {caseNum4} 14 {caseLabel4} @BLACKJ_18973 {caseNum5} 15 {caseLabel5} @BLACKJ_18994 {caseNum6} 16 {caseLabel6} @BLACKJ_19015 {caseNum7} 17 {caseLabel7} @BLACKJ_19036 {caseNum8} 18 {caseLabel8} @BLACKJ_19057 {caseNum9} 19 {caseLabel9} @BLACKJ_19078
switch_continued 20 {caseLabel1} @BLACKJ_19099 {caseNum2} 21 {caseLabel2} @BLACKJ_19120 {caseNum3} -1 {caseLabel3} @BLACKJ_19210 {caseNum4} -1 {caseLabel4} @BLACKJ_19210 {caseNum5} -1 {caseLabel5} @BLACKJ_19210 {caseNum6} -1 {caseLabel6} @BLACKJ_19210 {caseNum7} -1 {caseLabel7} @BLACKJ_19210 {caseNum8} -1 {caseLabel8} @BLACKJ_19210 {caseNum9} -1 {caseLabel9} @BLACKJ_19210

:BLACKJ_18763
Char.SetSayScript(1@, 5841, True, True, False)
goto @BLACKJ_19210

:BLACKJ_18784
Char.SetSayScript(1@, 5842, True, True, False)
goto @BLACKJ_19210

:BLACKJ_18805
Char.SetSayScript(1@, 5843, True, True, False)
goto @BLACKJ_19210

:BLACKJ_18826
Char.SetSayScript(1@, 5844, True, True, False)
goto @BLACKJ_19210

:BLACKJ_18847
Char.SetSayScript(1@, 5845, True, True, False)
goto @BLACKJ_19210

:BLACKJ_18868
Char.SetSayScript(1@, 5846, True, True, False)
goto @BLACKJ_19210

:BLACKJ_18889
Char.SetSayScript(1@, 5829, True, True, False)
goto @BLACKJ_19210

:BLACKJ_18910
Char.SetSayScript(1@, 5830, True, True, False)
goto @BLACKJ_19210

:BLACKJ_18931
Char.SetSayScript(1@, 5831, True, True, False)
goto @BLACKJ_19210

:BLACKJ_18952
Char.SetSayScript(1@, 5832, True, True, False)
goto @BLACKJ_19210

:BLACKJ_18973
Char.SetSayScript(1@, 5833, True, True, False)
goto @BLACKJ_19210

:BLACKJ_18994
Char.SetSayScript(1@, 5834, True, True, False)
goto @BLACKJ_19210

:BLACKJ_19015
Char.SetSayScript(1@, 5835, True, True, False)
goto @BLACKJ_19210

:BLACKJ_19036
Char.SetSayScript(1@, 5836, True, True, False)
goto @BLACKJ_19210

:BLACKJ_19057
Char.SetSayScript(1@, 5837, True, True, False)
goto @BLACKJ_19210

:BLACKJ_19078
Char.SetSayScript(1@, 5838, True, True, False)
goto @BLACKJ_19210

:BLACKJ_19099
Char.SetSayScript(1@, 5839, True, True, False)
goto @BLACKJ_19210

:BLACKJ_19120
Char.SetSayScript(1@, 5840, True, True, False)
goto @BLACKJ_19210

:BLACKJ_19141
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @BLACKJ_19189
Char.SetSayScript(1@, 5813, True, True, False)
goto @BLACKJ_19203

:BLACKJ_19189
Char.SetSayScript(1@, 5814, True, True, False)

:BLACKJ_19203
goto @BLACKJ_19210

:BLACKJ_19210
Char.StartFacialTalk(1@, 1500)
goto @BLACKJ_19642

:BLACKJ_19225
switch_start $dealer_total {numCases} 10 {hasDefaultCase} 1 {defaultLabel} @BLACKJ_19565 {caseNum1} 12 {caseLabel1} @BLACKJ_19353 {caseNum2} 13 {caseLabel2} @BLACKJ_19374 {caseNum3} 14 {caseLabel3} @BLACKJ_19395 {caseNum4} 15 {caseLabel4} @BLACKJ_19416 {caseNum5} 16 {caseLabel5} @BLACKJ_19437 {caseNum6} 17 {caseLabel6} @BLACKJ_19458 {caseNum7} 18 {caseLabel7} @BLACKJ_19479
switch_continued 19 {caseLabel1} @BLACKJ_19500 {caseNum2} 20 {caseLabel2} @BLACKJ_19521 {caseNum3} 21 {caseLabel3} @BLACKJ_19542 {caseNum4} -1 {caseLabel4} @BLACKJ_19634 {caseNum5} -1 {caseLabel5} @BLACKJ_19634 {caseNum6} -1 {caseLabel6} @BLACKJ_19634 {caseNum7} -1 {caseLabel7} @BLACKJ_19634 {caseNum8} -1 {caseLabel8} @BLACKJ_19634 {caseNum9} -1 {caseLabel9} @BLACKJ_19634

:BLACKJ_19353
Char.SetSayScript(1@, 5801, True, True, False)
goto @BLACKJ_19634

:BLACKJ_19374
Char.SetSayScript(1@, 5802, True, True, False)
goto @BLACKJ_19634

:BLACKJ_19395
Char.SetSayScript(1@, 5803, True, True, False)
goto @BLACKJ_19634

:BLACKJ_19416
Char.SetSayScript(1@, 5804, True, True, False)
goto @BLACKJ_19634

:BLACKJ_19437
Char.SetSayScript(1@, 5805, True, True, False)
goto @BLACKJ_19634

:BLACKJ_19458
Char.SetSayScript(1@, 5806, True, True, False)
goto @BLACKJ_19634

:BLACKJ_19479
Char.SetSayScript(1@, 5807, True, True, False)
goto @BLACKJ_19634

:BLACKJ_19500
Char.SetSayScript(1@, 5808, True, True, False)
goto @BLACKJ_19634

:BLACKJ_19521
Char.SetSayScript(1@, 5800, True, True, False)
goto @BLACKJ_19634

:BLACKJ_19542
Char.SetSayScript(1@, 65535, True, True, False)
goto @BLACKJ_19634

:BLACKJ_19565
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @BLACKJ_19613
Char.SetSayScript(1@, 5813, True, True, False)
goto @BLACKJ_19627

:BLACKJ_19613
Char.SetSayScript(1@, 5814, True, True, False)

:BLACKJ_19627
goto @BLACKJ_19634

:BLACKJ_19634
Char.StartFacialTalk(1@, 3000)

:BLACKJ_19642
goto @BLACKJ_21854

:BLACKJ_19649
if 
  $player_has_quit == 0
goto_if_false @BLACKJ_20764
if 
  $dealer_total2 == 0
goto_if_false @BLACKJ_20340
switch_start $dealer_total {numCases} 18 {hasDefaultCase} 1 {defaultLabel} @BLACKJ_20256 {caseNum1} 4 {caseLabel1} @BLACKJ_19878 {caseNum2} 5 {caseLabel2} @BLACKJ_19899 {caseNum3} 6 {caseLabel3} @BLACKJ_19920 {caseNum4} 7 {caseLabel4} @BLACKJ_19941 {caseNum5} 8 {caseLabel5} @BLACKJ_19962 {caseNum6} 9 {caseLabel6} @BLACKJ_19983 {caseNum7} 10 {caseLabel7} @BLACKJ_20004
switch_continued 11 {caseLabel1} @BLACKJ_20025 {caseNum2} 12 {caseLabel2} @BLACKJ_20046 {caseNum3} 13 {caseLabel3} @BLACKJ_20067 {caseNum4} 14 {caseLabel4} @BLACKJ_20088 {caseNum5} 15 {caseLabel5} @BLACKJ_20109 {caseNum6} 16 {caseLabel6} @BLACKJ_20130 {caseNum7} 17 {caseLabel7} @BLACKJ_20151 {caseNum8} 18 {caseLabel8} @BLACKJ_20172 {caseNum9} 19 {caseLabel9} @BLACKJ_20193
switch_continued 20 {caseLabel1} @BLACKJ_20214 {caseNum2} 21 {caseLabel2} @BLACKJ_20235 {caseNum3} -1 {caseLabel3} @BLACKJ_20325 {caseNum4} -1 {caseLabel4} @BLACKJ_20325 {caseNum5} -1 {caseLabel5} @BLACKJ_20325 {caseNum6} -1 {caseLabel6} @BLACKJ_20325 {caseNum7} -1 {caseLabel7} @BLACKJ_20325 {caseNum8} -1 {caseLabel8} @BLACKJ_20325 {caseNum9} -1 {caseLabel9} @BLACKJ_20325

:BLACKJ_19878
Char.SetSayScript(1@, 5841, True, True, False)
goto @BLACKJ_20325

:BLACKJ_19899
Char.SetSayScript(1@, 5842, True, True, False)
goto @BLACKJ_20325

:BLACKJ_19920
Char.SetSayScript(1@, 5843, True, True, False)
goto @BLACKJ_20325

:BLACKJ_19941
Char.SetSayScript(1@, 5844, True, True, False)
goto @BLACKJ_20325

:BLACKJ_19962
Char.SetSayScript(1@, 5845, True, True, False)
goto @BLACKJ_20325

:BLACKJ_19983
Char.SetSayScript(1@, 5846, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20004
Char.SetSayScript(1@, 5829, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20025
Char.SetSayScript(1@, 5830, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20046
Char.SetSayScript(1@, 5831, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20067
Char.SetSayScript(1@, 5832, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20088
Char.SetSayScript(1@, 5833, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20109
Char.SetSayScript(1@, 5834, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20130
Char.SetSayScript(1@, 5835, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20151
Char.SetSayScript(1@, 5836, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20172
Char.SetSayScript(1@, 5837, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20193
Char.SetSayScript(1@, 5838, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20214
Char.SetSayScript(1@, 5839, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20235
Char.SetSayScript(1@, 5840, True, True, False)
goto @BLACKJ_20325

:BLACKJ_20256
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @BLACKJ_20304
Char.SetSayScript(1@, 5813, True, True, False)
goto @BLACKJ_20318

:BLACKJ_20304
Char.SetSayScript(1@, 5814, True, True, False)

:BLACKJ_20318
goto @BLACKJ_20325

:BLACKJ_20325
Char.StartFacialTalk(1@, 1500)
goto @BLACKJ_20757

:BLACKJ_20340
switch_start $dealer_total {numCases} 10 {hasDefaultCase} 1 {defaultLabel} @BLACKJ_20680 {caseNum1} 12 {caseLabel1} @BLACKJ_20468 {caseNum2} 13 {caseLabel2} @BLACKJ_20489 {caseNum3} 14 {caseLabel3} @BLACKJ_20510 {caseNum4} 15 {caseLabel4} @BLACKJ_20531 {caseNum5} 16 {caseLabel5} @BLACKJ_20552 {caseNum6} 17 {caseLabel6} @BLACKJ_20573 {caseNum7} 18 {caseLabel7} @BLACKJ_20594
switch_continued 19 {caseLabel1} @BLACKJ_20615 {caseNum2} 20 {caseLabel2} @BLACKJ_20636 {caseNum3} 21 {caseLabel3} @BLACKJ_20657 {caseNum4} -1 {caseLabel4} @BLACKJ_20749 {caseNum5} -1 {caseLabel5} @BLACKJ_20749 {caseNum6} -1 {caseLabel6} @BLACKJ_20749 {caseNum7} -1 {caseLabel7} @BLACKJ_20749 {caseNum8} -1 {caseLabel8} @BLACKJ_20749 {caseNum9} -1 {caseLabel9} @BLACKJ_20749

:BLACKJ_20468
Char.SetSayScript(1@, 5801, True, True, False)
goto @BLACKJ_20749

:BLACKJ_20489
Char.SetSayScript(1@, 5802, True, True, False)
goto @BLACKJ_20749

:BLACKJ_20510
Char.SetSayScript(1@, 5803, True, True, False)
goto @BLACKJ_20749

:BLACKJ_20531
Char.SetSayScript(1@, 5804, True, True, False)
goto @BLACKJ_20749

:BLACKJ_20552
Char.SetSayScript(1@, 5805, True, True, False)
goto @BLACKJ_20749

:BLACKJ_20573
Char.SetSayScript(1@, 5806, True, True, False)
goto @BLACKJ_20749

:BLACKJ_20594
Char.SetSayScript(1@, 5807, True, True, False)
goto @BLACKJ_20749

:BLACKJ_20615
Char.SetSayScript(1@, 5808, True, True, False)
goto @BLACKJ_20749

:BLACKJ_20636
Char.SetSayScript(1@, 5800, True, True, False)
goto @BLACKJ_20749

:BLACKJ_20657
Char.SetSayScript(1@, 65535, True, True, False)
goto @BLACKJ_20749

:BLACKJ_20680
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @BLACKJ_20728
Char.SetSayScript(1@, 5813, True, True, False)
goto @BLACKJ_20742

:BLACKJ_20728
Char.SetSayScript(1@, 5814, True, True, False)

:BLACKJ_20742
goto @BLACKJ_20749

:BLACKJ_20749
Char.StartFacialTalk(1@, 3000)

:BLACKJ_20757
goto @BLACKJ_21854

:BLACKJ_20764
if 
  $player_got_ace1 == 0
goto_if_false @BLACKJ_21437
switch_start $dealer_got_ace {numCases} 18 {hasDefaultCase} 1 {defaultLabel} @BLACKJ_21353 {caseNum1} 4 {caseLabel1} @BLACKJ_20975 {caseNum2} 5 {caseLabel2} @BLACKJ_20996 {caseNum3} 6 {caseLabel3} @BLACKJ_21017 {caseNum4} 7 {caseLabel4} @BLACKJ_21038 {caseNum5} 8 {caseLabel5} @BLACKJ_21059 {caseNum6} 9 {caseLabel6} @BLACKJ_21080 {caseNum7} 10 {caseLabel7} @BLACKJ_21101
switch_continued 11 {caseLabel1} @BLACKJ_21122 {caseNum2} 12 {caseLabel2} @BLACKJ_21143 {caseNum3} 13 {caseLabel3} @BLACKJ_21164 {caseNum4} 14 {caseLabel4} @BLACKJ_21185 {caseNum5} 15 {caseLabel5} @BLACKJ_21206 {caseNum6} 16 {caseLabel6} @BLACKJ_21227 {caseNum7} 17 {caseLabel7} @BLACKJ_21248 {caseNum8} 18 {caseLabel8} @BLACKJ_21269 {caseNum9} 19 {caseLabel9} @BLACKJ_21290
switch_continued 20 {caseLabel1} @BLACKJ_21311 {caseNum2} 21 {caseLabel2} @BLACKJ_21332 {caseNum3} -1 {caseLabel3} @BLACKJ_21422 {caseNum4} -1 {caseLabel4} @BLACKJ_21422 {caseNum5} -1 {caseLabel5} @BLACKJ_21422 {caseNum6} -1 {caseLabel6} @BLACKJ_21422 {caseNum7} -1 {caseLabel7} @BLACKJ_21422 {caseNum8} -1 {caseLabel8} @BLACKJ_21422 {caseNum9} -1 {caseLabel9} @BLACKJ_21422

:BLACKJ_20975
Char.SetSayScript(1@, 5841, True, True, False)
goto @BLACKJ_21422

:BLACKJ_20996
Char.SetSayScript(1@, 5842, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21017
Char.SetSayScript(1@, 5843, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21038
Char.SetSayScript(1@, 5844, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21059
Char.SetSayScript(1@, 5845, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21080
Char.SetSayScript(1@, 5846, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21101
Char.SetSayScript(1@, 5829, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21122
Char.SetSayScript(1@, 5830, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21143
Char.SetSayScript(1@, 5831, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21164
Char.SetSayScript(1@, 5832, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21185
Char.SetSayScript(1@, 5833, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21206
Char.SetSayScript(1@, 5834, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21227
Char.SetSayScript(1@, 5835, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21248
Char.SetSayScript(1@, 5836, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21269
Char.SetSayScript(1@, 5837, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21290
Char.SetSayScript(1@, 5838, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21311
Char.SetSayScript(1@, 5839, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21332
Char.SetSayScript(1@, 5840, True, True, False)
goto @BLACKJ_21422

:BLACKJ_21353
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @BLACKJ_21401
Char.SetSayScript(1@, 5813, True, True, False)
goto @BLACKJ_21415

:BLACKJ_21401
Char.SetSayScript(1@, 5814, True, True, False)

:BLACKJ_21415
goto @BLACKJ_21422

:BLACKJ_21422
Char.StartFacialTalk(1@, 1500)
goto @BLACKJ_21854

:BLACKJ_21437
switch_start $dealer_got_ace {numCases} 10 {hasDefaultCase} 1 {defaultLabel} @BLACKJ_21777 {caseNum1} 12 {caseLabel1} @BLACKJ_21565 {caseNum2} 13 {caseLabel2} @BLACKJ_21586 {caseNum3} 14 {caseLabel3} @BLACKJ_21607 {caseNum4} 15 {caseLabel4} @BLACKJ_21628 {caseNum5} 16 {caseLabel5} @BLACKJ_21649 {caseNum6} 17 {caseLabel6} @BLACKJ_21670 {caseNum7} 18 {caseLabel7} @BLACKJ_21691
switch_continued 19 {caseLabel1} @BLACKJ_21712 {caseNum2} 20 {caseLabel2} @BLACKJ_21733 {caseNum3} 21 {caseLabel3} @BLACKJ_21754 {caseNum4} -1 {caseLabel4} @BLACKJ_21846 {caseNum5} -1 {caseLabel5} @BLACKJ_21846 {caseNum6} -1 {caseLabel6} @BLACKJ_21846 {caseNum7} -1 {caseLabel7} @BLACKJ_21846 {caseNum8} -1 {caseLabel8} @BLACKJ_21846 {caseNum9} -1 {caseLabel9} @BLACKJ_21846

:BLACKJ_21565
Char.SetSayScript(1@, 5801, True, True, False)
goto @BLACKJ_21846

:BLACKJ_21586
Char.SetSayScript(1@, 5802, True, True, False)
goto @BLACKJ_21846

:BLACKJ_21607
Char.SetSayScript(1@, 5803, True, True, False)
goto @BLACKJ_21846

:BLACKJ_21628
Char.SetSayScript(1@, 5804, True, True, False)
goto @BLACKJ_21846

:BLACKJ_21649
Char.SetSayScript(1@, 5805, True, True, False)
goto @BLACKJ_21846

:BLACKJ_21670
Char.SetSayScript(1@, 5806, True, True, False)
goto @BLACKJ_21846

:BLACKJ_21691
Char.SetSayScript(1@, 5807, True, True, False)
goto @BLACKJ_21846

:BLACKJ_21712
Char.SetSayScript(1@, 5808, True, True, False)
goto @BLACKJ_21846

:BLACKJ_21733
Char.SetSayScript(1@, 5800, True, True, False)
goto @BLACKJ_21846

:BLACKJ_21754
Char.SetSayScript(1@, 65535, True, True, False)
goto @BLACKJ_21846

:BLACKJ_21777
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @BLACKJ_21825
Char.SetSayScript(1@, 5813, True, True, False)
goto @BLACKJ_21839

:BLACKJ_21825
Char.SetSayScript(1@, 5814, True, True, False)

:BLACKJ_21839
goto @BLACKJ_21846

:BLACKJ_21846
Char.StartFacialTalk(1@, 3000)

:BLACKJ_21854
return 
if 
is_ps2_keyboard_key_just_pressed 67
goto_if_false @BLACKJ_21921
$counter_disp += 1
if 
  $counter_disp > 7
goto_if_false @BLACKJ_21903
$counter_disp = 0

:BLACKJ_21903
write_debug_with_int "BJ_CHIP_NUM" {_p2} $counter_disp

:BLACKJ_21921
if 
  Object.DoesExist(0@)
goto_if_false @BLACKJ_22240
if 
  Object.DoesExist($9212($counter_disp,8i))
goto_if_false @BLACKJ_22240
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, $9287($counter_disp,8f), $9295($counter_disp,8f), $9303($counter_disp,8f))
Object.SetCoordinates($9212($counter_disp,8i), $on_footY, $on_footZ, $in_carX)
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @BLACKJ_22040
$9303($counter_disp,8f) += 0.005

:BLACKJ_22040
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @BLACKJ_22070
$9303($counter_disp,8f) += -0.005

:BLACKJ_22070
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @BLACKJ_22100
$9287($counter_disp,8f) += 0.005

:BLACKJ_22100
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @BLACKJ_22130
$9287($counter_disp,8f) += -0.005

:BLACKJ_22130
if 
is_ps2_keyboard_key_just_pressed 139
goto_if_false @BLACKJ_22160
$9295($counter_disp,8f) += 0.005

:BLACKJ_22160
if 
is_ps2_keyboard_key_just_pressed 145
goto_if_false @BLACKJ_22190
$9295($counter_disp,8f) += -0.005

:BLACKJ_22190
if 
is_ps2_keyboard_key_just_pressed 69
goto_if_false @BLACKJ_22215
$9220 += 0.005

:BLACKJ_22215
if 
is_ps2_keyboard_key_just_pressed 68
goto_if_false @BLACKJ_22240
$9220 += -0.005

:BLACKJ_22240
if 
is_ps2_keyboard_key_just_pressed 137
goto_if_false @BLACKJ_23257
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("// ------ BJ CHIP OFFSETS -------")
save_newline_to_debug_file 
10@ = 0

:BLACKJ_22397
if 
  8 > 10@
goto_if_false @BLACKJ_23257
Debugger.SaveStringToDebugFile("BJ_CHIP_OFF_X[")
save_int_to_debug_file 10@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $9287(10@,8f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BJ_CHIP_OFF_Y[")
save_int_to_debug_file 10@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $9295(10@,8f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BJ_CHIP_OFF_Z[")
save_int_to_debug_file 10@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $9303(10@,8f)
save_newline_to_debug_file 
10@ += 1
goto @BLACKJ_22397

:BLACKJ_23257
return 

:BLACKJ_23259
set_lvar_int_to_var_int 12@ = $colour_g
cset_lvar_float_to_lvar_int 13@ =# 12@
13@ /= 1.0
if 
  13@ > 10.0
goto_if_false @BLACKJ_23316
13@ = 10.0

:BLACKJ_23316
cset_lvar_int_to_lvar_float 11@ =# 13@
cset_lvar_float_to_lvar_int 14@ =# 11@
14@ *= 0.0126
if 
  11@ > 0
goto_if_false @BLACKJ_23370
14@ += 0.0

:BLACKJ_23370
set_lvar_float_to_var_float 13@ = $9220
add_float_lvar_to_float_lvar 13@ += 14@
11@ *= -1
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9212[0])
goto_if_false @BLACKJ_23472
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9212[0])
13@, 13@, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.0, 13@)
Object.SetCoordinates($9212[0], $on_footY, $on_footZ, $in_carX)

:BLACKJ_23472
cset_lvar_float_to_lvar_int 13@ =# 12@
13@ /= 5.0
if 
  13@ > 10.0
goto_if_false @BLACKJ_23521
13@ = 10.0

:BLACKJ_23521
cset_lvar_int_to_lvar_float 11@ =# 13@
cset_lvar_float_to_lvar_int 14@ =# 11@
14@ *= 0.0126
if 
  11@ > 0
goto_if_false @BLACKJ_23575
14@ += 0.0

:BLACKJ_23575
set_lvar_float_to_var_float 13@ = $9220
add_float_lvar_to_float_lvar 13@ += 14@
11@ *= -5
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9212[1])
goto_if_false @BLACKJ_23677
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9212[1])
13@, 13@, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.0, 13@)
Object.SetCoordinates($9212[1], $on_footY, $on_footZ, $in_carX)

:BLACKJ_23677
cset_lvar_float_to_lvar_int 13@ =# 12@
13@ /= 10.0
if 
  13@ > 10.0
goto_if_false @BLACKJ_23726
13@ = 10.0

:BLACKJ_23726
cset_lvar_int_to_lvar_float 11@ =# 13@
cset_lvar_float_to_lvar_int 14@ =# 11@
14@ *= 0.0126
if 
  11@ > 0
goto_if_false @BLACKJ_23780
14@ += 0.0

:BLACKJ_23780
set_lvar_float_to_var_float 13@ = $9220
add_float_lvar_to_float_lvar 13@ += 14@
11@ *= -10
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9212[2])
goto_if_false @BLACKJ_23882
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9212[2])
13@, 13@, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.0, 13@)
Object.SetCoordinates($9212[2], $on_footY, $on_footZ, $in_carX)

:BLACKJ_23882
cset_lvar_float_to_lvar_int 13@ =# 12@
13@ /= 50.0
if 
  13@ > 10.0
goto_if_false @BLACKJ_23931
13@ = 10.0

:BLACKJ_23931
cset_lvar_int_to_lvar_float 11@ =# 13@
cset_lvar_float_to_lvar_int 14@ =# 11@
14@ *= 0.0126
if 
  11@ > 0
goto_if_false @BLACKJ_23985
14@ += 0.0

:BLACKJ_23985
set_lvar_float_to_var_float 13@ = $9220
add_float_lvar_to_float_lvar 13@ += 14@
11@ *= -50
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9212[3])
goto_if_false @BLACKJ_24087
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9212[3])
13@, 13@, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.0, 13@)
Object.SetCoordinates($9212[3], $on_footY, $on_footZ, $in_carX)

:BLACKJ_24087
cset_lvar_float_to_lvar_int 13@ =# 12@
13@ /= 100.0
if 
  13@ > 10.0
goto_if_false @BLACKJ_24136
13@ = 10.0

:BLACKJ_24136
cset_lvar_int_to_lvar_float 11@ =# 13@
cset_lvar_float_to_lvar_int 14@ =# 11@
14@ *= 0.0126
if 
  11@ > 0
goto_if_false @BLACKJ_24190
14@ += 0.0

:BLACKJ_24190
set_lvar_float_to_var_float 13@ = $9220
add_float_lvar_to_float_lvar 13@ += 14@
11@ *= -100
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9212[4])
goto_if_false @BLACKJ_24292
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9212[4])
13@, 13@, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.0, 13@)
Object.SetCoordinates($9212[4], $on_footY, $on_footZ, $in_carX)

:BLACKJ_24292
cset_lvar_float_to_lvar_int 13@ =# 12@
13@ /= 200.0
if 
  13@ > 10.0
goto_if_false @BLACKJ_24341
13@ = 10.0

:BLACKJ_24341
cset_lvar_int_to_lvar_float 11@ =# 13@
cset_lvar_float_to_lvar_int 14@ =# 11@
14@ *= 0.0126
if 
  11@ > 0
goto_if_false @BLACKJ_24395
14@ += 0.0

:BLACKJ_24395
set_lvar_float_to_var_float 13@ = $9220
add_float_lvar_to_float_lvar 13@ += 14@
11@ *= -200
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9212[5])
goto_if_false @BLACKJ_24498
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9212[5])
13@, 13@, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.0, 13@)
Object.SetCoordinates($9212[5], $on_footY, $on_footZ, $in_carX)

:BLACKJ_24498
cset_lvar_float_to_lvar_int 13@ =# 12@
13@ /= 500.0
if 
  13@ > 10.0
goto_if_false @BLACKJ_24547
13@ = 10.0

:BLACKJ_24547
cset_lvar_int_to_lvar_float 11@ =# 13@
cset_lvar_float_to_lvar_int 14@ =# 11@
14@ *= 0.0126
if 
  11@ > 0
goto_if_false @BLACKJ_24601
14@ += 0.0

:BLACKJ_24601
set_lvar_float_to_var_float 13@ = $9220
add_float_lvar_to_float_lvar 13@ += 14@
11@ *= -500
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9212[6])
goto_if_false @BLACKJ_24704
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9212[6])
13@, 13@, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.0, 13@)
Object.SetCoordinates($9212[6], $on_footY, $on_footZ, $in_carX)

:BLACKJ_24704
cset_lvar_float_to_lvar_int 13@ =# 12@
13@ /= 1000.0
if 
  13@ > 10.0
goto_if_false @BLACKJ_24753
13@ = 10.0

:BLACKJ_24753
cset_lvar_int_to_lvar_float 11@ =# 13@
cset_lvar_float_to_lvar_int 14@ =# 11@
14@ *= 0.0126
if 
  11@ > 0
goto_if_false @BLACKJ_24807
14@ += 0.0

:BLACKJ_24807
set_lvar_float_to_var_float 13@ = $9220
add_float_lvar_to_float_lvar 13@ += 14@
11@ *= -1000
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9212[7])
goto_if_false @BLACKJ_24910
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9212[7])
13@, 13@, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.0, 13@)
Object.SetCoordinates($9212[7], $on_footY, $on_footZ, $in_carX)

:BLACKJ_24910
return 

:BLACKJ_24912
Hud.SetSpritesDrawBeforeFade(False)
Hud.DrawWindow($9233[0], $9260[0], $9233[1], $9260[1], 'BJ_TITL', 2)
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetColor(134, 155, 184, 255)
Text.Display($9233[2], $9260[2], 'BJ_01')
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber($9233[3], $9260[3], 'DOLLAR', $colour_g)
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetColor(134, 155, 184, 255)
Text.Display($9233[4], $9260[4], 'BJ_02')
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber($9233[5], $9260[5], 'DOLLAR', 30@)
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetColor(134, 155, 184, 255)
Text.Display($9233[6], $9260[6], 'BJ_03')
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber($9233[7], $9260[7], 'DOLLAR', 29@)
return 

:BLACKJ_25198
Hud.SetSpritesDrawBeforeFade(False)
Hud.DrawWindow($9233[8], $9260[8], $9233[9], $9260[9], 'BJ_TITL', 2)
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetColor(134, 155, 184, 255)
Text.Display($9233[10], $9260[10], 'BJ_01')
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber($9233[11], $9260[11], 'DOLLAR', $colour_g)
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetColor(134, 155, 184, 255)
Text.Display($9233[12], $9260[12], 'BJ_04')
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetScale(0.6253, 2.7876)
if 
  2@ > 4
goto_if_false @BLACKJ_25512
if 
  $player_got_bj == 0
goto_if_false @BLACKJ_25482
if 
  $player_got_ace2 > 21
goto_if_false @BLACKJ_25455
Text.Display($9233[13], $9260[13], 'BJ_BUST')
goto @BLACKJ_25475

:BLACKJ_25455
Text.DisplayWithNumber($9233[13], $9260[13], 'BJ_0', $player_got_ace2)

:BLACKJ_25475
goto @BLACKJ_25505

:BLACKJ_25482
Text.DisplayWith2Numbers($9233[14], $9260[14], 'BJ_OR2', $player_got_ace2, $player_got_bj)

:BLACKJ_25505
goto @BLACKJ_25529

:BLACKJ_25512
Text.Display($9233[13], $9260[13], 'BJ_HIDE')

:BLACKJ_25529
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetColor(134, 155, 184, 255)
Text.Display($9233[15], $9260[15], 'BJ_05')
if 
  $dealer_got_ace == 0
goto_if_false @BLACKJ_25729
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetScale(0.6253, 2.7876)
if 
  $dealer_total2 == 0
goto_if_false @BLACKJ_25699
if 
  $dealer_total > 21
goto_if_false @BLACKJ_25672
Text.Display($9233[16], $9260[16], 'BJ_BUST')
goto @BLACKJ_25692

:BLACKJ_25672
Text.DisplayWithNumber($9233[16], $9260[16], 'BJ_0', $dealer_total)

:BLACKJ_25692
goto @BLACKJ_25722

:BLACKJ_25699
Text.DisplayWith2Numbers($9233[17], $9260[17], 'BJ_OR2', $dealer_total, $dealer_total2)

:BLACKJ_25722
goto @BLACKJ_25995

:BLACKJ_25729
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetScale(0.6253, 2.7876)
if 
  $dealer_total2 == 0
goto_if_false @BLACKJ_25839
if 
  $dealer_total > 21
goto_if_false @BLACKJ_25812
Text.Display($9233[18], $9260[18], 'BJ_BUST')
goto @BLACKJ_25832

:BLACKJ_25812
Text.DisplayWithNumber($9233[18], $9260[18], 'BJ_0', $dealer_total)

:BLACKJ_25832
goto @BLACKJ_25862

:BLACKJ_25839
Text.DisplayWith2Numbers($9233[19], $9260[19], 'BJ_OR2', $dealer_total, $dealer_total2)

:BLACKJ_25862
gosub @BLACKJ_34097
Hud.SetSpritesDrawBeforeFade(False)
Text.SetScale(0.6253, 2.7876)
if 
  $player_got_ace1 == 0
goto_if_false @BLACKJ_25972
if 
  $dealer_got_ace > 21
goto_if_false @BLACKJ_25945
Text.Display($9233[20], $9260[20], 'BJ_BUST')
goto @BLACKJ_25965

:BLACKJ_25945
Text.DisplayWithNumber($9233[20], $9260[20], 'BJ_0', $dealer_got_ace)

:BLACKJ_25965
goto @BLACKJ_25995

:BLACKJ_25972
Text.DisplayWith2Numbers($9233[21], $9260[21], 'BJ_OR2', $dealer_got_ace, $player_got_ace1)

:BLACKJ_25995
return 
if 
is_ps2_keyboard_key_just_pressed 76
goto_if_false @BLACKJ_26071
$ct_temp_int += 1
if 
  $ct_temp_int > 26
goto_if_false @BLACKJ_26044
$ct_temp_int = -1

:BLACKJ_26044
write_debug_with_int "SCREEN_POSITION_EDIT" {_p2} $ct_temp_int

:BLACKJ_26071
if 
  $ct_temp_int > -1
goto_if_false @BLACKJ_26209
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @BLACKJ_26119
$9233($ct_temp_int,27f) += 1.0

:BLACKJ_26119
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @BLACKJ_26149
$9233($ct_temp_int,27f) += -1.0

:BLACKJ_26149
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @BLACKJ_26179
$9260($ct_temp_int,27f) += -1.0

:BLACKJ_26179
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @BLACKJ_26209
$9260($ct_temp_int,27f) += 1.0

:BLACKJ_26209
if 
  $ct_temp_int > -1
goto_if_false @BLACKJ_26968
if 
is_ps2_keyboard_key_just_pressed 137
goto_if_false @BLACKJ_26968
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("------ SCREEN COORDS ------")
10@ = 0

:BLACKJ_26382
if 
  27 > 10@
goto_if_false @BLACKJ_26966
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("SCREEN_POS_X[")
save_int_to_debug_file 10@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $9233(10@,27f)
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("SCREEN_POS_Y[")
save_int_to_debug_file 10@
Debugger.SaveStringToDebugFile("] = ")
save_float_to_debug_file $9260(10@,27f)
10@ += 1
goto @BLACKJ_26382

:BLACKJ_26966
save_newline_to_debug_file 

:BLACKJ_26968
return 
if 
is_ps2_keyboard_key_just_pressed 66
goto_if_false @BLACKJ_27334
$ct_this_card_value += 1
if 
  $ct_this_card_value > 7
goto_if_false @BLACKJ_27017
$ct_this_card_value = 0

:BLACKJ_27017
if 
  $ct_this_card_value == 1
goto_if_false @BLACKJ_27053
write_debug "EDIT_CARD_SIZE"

:BLACKJ_27053
if 
  $ct_this_card_value == 2
goto_if_false @BLACKJ_27096
write_debug "EDIT_CARD_POSITIONS_X"

:BLACKJ_27096
if 
  $ct_this_card_value == 3
goto_if_false @BLACKJ_27146
write_debug "EDIT_PLAYERS_CARD_POSITION_1"

:BLACKJ_27146
if 
  $ct_this_card_value == 4
goto_if_false @BLACKJ_27197
write_debug "EDIT_PLAYERS_CARD_POSITION_1B"

:BLACKJ_27197
if 
  $ct_this_card_value == 5
goto_if_false @BLACKJ_27247
write_debug "EDIT_PLAYERS_CARD_POSITION_2"

:BLACKJ_27247
if 
  $ct_this_card_value == 6
goto_if_false @BLACKJ_27295
write_debug "EDIT_DEALERS_CARD_POSITION"

:BLACKJ_27295
if 
  $ct_this_card_value == 7
goto_if_false @BLACKJ_27334
write_debug "EDIT_BORDER_WIDTH"

:BLACKJ_27334
if 
  $ct_this_card_value == 1
goto_if_false @BLACKJ_27546
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @BLACKJ_27385
$next_card += 1.0
gosub @BLACKJ_32444

:BLACKJ_27385
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @BLACKJ_27449
$next_card += -1.0
if 
  1.0 > $next_card
goto_if_false @BLACKJ_27442
$next_card = 1.0

:BLACKJ_27442
gosub @BLACKJ_32444

:BLACKJ_27449
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @BLACKJ_27482
$multiplier += 1.0
gosub @BLACKJ_32444

:BLACKJ_27482
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @BLACKJ_27546
$multiplier += -1.0
if 
  1.0 > $multiplier
goto_if_false @BLACKJ_27539
$multiplier = 1.0

:BLACKJ_27539
gosub @BLACKJ_32444

:BLACKJ_27546
if 
  $ct_this_card_value == 2
goto_if_false @BLACKJ_27670
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @BLACKJ_27617
$9091[0] += 1.0
$9107[0] += 1.0
$9123[0] += 1.0
gosub @BLACKJ_32444

:BLACKJ_27617
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @BLACKJ_27670
$9091[0] += -1.0
$9107[0] += -1.0
$9123[0] += -1.0
gosub @BLACKJ_32444

:BLACKJ_27670
if 
  $ct_this_card_value == 3
goto_if_false @BLACKJ_27754
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @BLACKJ_27721
$9099[0] += -1.0
gosub @BLACKJ_32444

:BLACKJ_27721
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @BLACKJ_27754
$9099[0] += 1.0
gosub @BLACKJ_32444

:BLACKJ_27754
if 
  $ct_this_card_value == 4
goto_if_false @BLACKJ_27838
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @BLACKJ_27805
$9115[0] += -1.0
gosub @BLACKJ_32444

:BLACKJ_27805
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @BLACKJ_27838
$9115[0] += 1.0
gosub @BLACKJ_32444

:BLACKJ_27838
if 
  $ct_this_card_value == 5
goto_if_false @BLACKJ_27922
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @BLACKJ_27889
$9131[0] += -1.0
gosub @BLACKJ_32444

:BLACKJ_27889
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @BLACKJ_27922
$9131[0] += 1.0
gosub @BLACKJ_32444

:BLACKJ_27922
if 
  $ct_this_card_value == 6
goto_if_false @BLACKJ_28072
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @BLACKJ_27973
$9075[0] += 1.0
gosub @BLACKJ_32444

:BLACKJ_27973
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @BLACKJ_28006
$9075[0] += -1.0
gosub @BLACKJ_32444

:BLACKJ_28006
if 
is_ps2_keyboard_key_just_pressed 131
goto_if_false @BLACKJ_28039
$9083[0] += -1.0
gosub @BLACKJ_32444

:BLACKJ_28039
if 
is_ps2_keyboard_key_just_pressed 130
goto_if_false @BLACKJ_28072
$9083[0] += 1.0
gosub @BLACKJ_32444

:BLACKJ_28072
if 
  $ct_this_card_value == 7
goto_if_false @BLACKJ_28142
if 
is_ps2_keyboard_key_just_pressed 128
goto_if_false @BLACKJ_28116
$9142 += 1.0

:BLACKJ_28116
if 
is_ps2_keyboard_key_just_pressed 129
goto_if_false @BLACKJ_28142
$9142 += -1.0

:BLACKJ_28142
if 
  $ct_this_card_value > 0
goto_if_false @BLACKJ_29817
if 
is_ps2_keyboard_key_just_pressed 137
goto_if_false @BLACKJ_29817
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("----- BLACKJACK SCREEN COORDS ------")
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CARD_WIDTH = ")
save_float_to_debug_file $multiplier
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CARD_HEIGHT = ")
save_float_to_debug_file $next_card
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("PLAYER_SPRITE1_X[0] = ")
save_float_to_debug_file $9091[0]
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("PLAYER_SPRITE1_Y[0] = ")
save_float_to_debug_file $9099[0]
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("PLAYER_SPRITE1B_X[0] = ")
save_float_to_debug_file $9107[0]
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("PLAYER_SPRITE1B_Y[0] = ")
save_float_to_debug_file $9115[0]
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("PLAYER_SPRITE2_X[0] = ")
save_float_to_debug_file $9123[0]
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("PLAYER_SPRITE2_Y[0] = ")
save_float_to_debug_file $9131[0]
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("DEALER_SPRITE_X[0] = ")
save_float_to_debug_file $9075[0]
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("DEALER_SPRITE_Y[0] = ")
save_float_to_debug_file $9083[0]
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("BORDER_WIDTH = ")
save_float_to_debug_file $9142
save_newline_to_debug_file 

:BLACKJ_29817
return 

:BLACKJ_29819
if 
  $in_card_value == 0
goto_if_false @BLACKJ_29856
$9144 = 0
$9144 = CardDecks.FetchNextCard()
goto @BLACKJ_29864

:BLACKJ_29856
set_var_int_to_var_int $9144 = $9232

:BLACKJ_29864
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_29918
Task.PlayAnim(1@, "DEALONE", "CASINO", 6.0, False, False, False, False, 500)

:BLACKJ_29918
return 

:BLACKJ_29920
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @BLACKJ_31273
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_30155
set_lvar_float_to_var_float 13@ = $multiplier
13@ /= 2.0
set_var_float_to_var_float $on_footY = $9091[0]
sub_float_lvar_from_float_var $on_footY -= 13@
sub_float_var_from_float_var $on_footY -= $9142
set_lvar_float_to_var_float 13@ = $next_card
13@ /= 2.0
set_var_float_to_var_float $on_footZ = $9099[0]
sub_float_lvar_from_float_var $on_footZ -= 13@
sub_float_var_from_float_var $on_footZ -= $9142
set_lvar_float_to_var_float 13@ = $multiplier
13@ /= 2.0
set_lvar_float_to_var_float 17@ = $9091[4]
add_float_lvar_to_float_lvar 17@ += 13@
add_float_var_to_float_lvar 17@ += $9142
set_lvar_float_to_var_float 13@ = $next_card
13@ /= 2.0
set_lvar_float_to_var_float 18@ = $9099[4]
add_float_lvar_to_float_lvar 18@ += 13@
add_float_var_to_float_lvar 18@ += $9142
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawWindow($on_footY, $on_footZ, 17@, 18@, 'DUMMY', 0)
goto @BLACKJ_30352

:BLACKJ_30155
set_lvar_float_to_var_float 13@ = $multiplier
13@ /= 2.0
set_var_float_to_var_float $on_footY = $9107[0]
sub_float_lvar_from_float_var $on_footY -= 13@
sub_float_var_from_float_var $on_footY -= $9142
set_lvar_float_to_var_float 13@ = $next_card
13@ /= 2.0
set_var_float_to_var_float $on_footZ = $9115[0]
sub_float_lvar_from_float_var $on_footZ -= 13@
sub_float_var_from_float_var $on_footZ -= $9142
set_lvar_float_to_var_float 13@ = $multiplier
13@ /= 2.0
set_lvar_float_to_var_float 17@ = $9123[4]
add_float_lvar_to_float_lvar 17@ += 13@
add_float_var_to_float_lvar 17@ += $9142
set_lvar_float_to_var_float 13@ = $next_card
13@ /= 2.0
set_lvar_float_to_var_float 18@ = $9131[4]
add_float_lvar_to_float_lvar 18@ += 13@
add_float_var_to_float_lvar 18@ += $9142
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawWindow($on_footY, $on_footZ, 17@, 18@, 'DUMMY', 0)

:BLACKJ_30352
if and
  not Text.IsThisHelpMessageBeingDisplayed('SGPUNT')
  not Text.IsThisHelpMessageBeingDisplayed('SGGAMB')
  not Text.IsThisHelpMessageBeingDisplayed('SGPROF')
  not Text.IsThisHelpMessageBeingDisplayed('SGHIRO')
goto_if_false @BLACKJ_30604
set_lvar_float_to_var_float 13@ = $multiplier
13@ /= 2.0
set_var_float_to_var_float $on_footY = $9075[0]
sub_float_lvar_from_float_var $on_footY -= 13@
sub_float_var_from_float_var $on_footY -= $9142
set_lvar_float_to_var_float 13@ = $next_card
13@ /= 2.0
set_var_float_to_var_float $on_footZ = $9083[0]
sub_float_lvar_from_float_var $on_footZ -= 13@
sub_float_var_from_float_var $on_footZ -= $9142
set_lvar_float_to_var_float 13@ = $multiplier
13@ /= 2.0
set_lvar_float_to_var_float 17@ = $9075[4]
add_float_lvar_to_float_lvar 17@ += 13@
add_float_var_to_float_lvar 17@ += $9142
set_lvar_float_to_var_float 13@ = $next_card
13@ /= 2.0
set_lvar_float_to_var_float 18@ = $9083[4]
add_float_lvar_to_float_lvar 18@ += 13@
add_float_var_to_float_lvar 18@ += $9142
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawWindow($on_footY, $on_footZ, 17@, 18@, 'DUMMY', 0)

:BLACKJ_30604
$out_card_value = 0

:BLACKJ_30611
if 
  8 > $out_card_value
goto_if_false @BLACKJ_31273
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_30721
if 
  $9153($out_card_value,8i) <> 0
goto_if_false @BLACKJ_30714
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite($9153($out_card_value,8i), $9091($out_card_value,8f), $9099($out_card_value,8f), $multiplier, $next_card, 128, 128, 128, 255)

:BLACKJ_30714
goto @BLACKJ_30855

:BLACKJ_30721
if 
  $9153($out_card_value,8i) <> 0
goto_if_false @BLACKJ_30788
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite($9153($out_card_value,8i), $9107($out_card_value,8f), $9115($out_card_value,8f), $multiplier, $next_card, 128, 128, 128, 255)

:BLACKJ_30788
if 
  $9161($out_card_value,8i) <> 0
goto_if_false @BLACKJ_30855
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite($9161($out_card_value,8i), $9123($out_card_value,8f), $9131($out_card_value,8f), $multiplier, $next_card, 128, 128, 128, 255)

:BLACKJ_30855
if and
  not Text.IsThisHelpMessageBeingDisplayed('SGPUNT')
  not Text.IsThisHelpMessageBeingDisplayed('SGGAMB')
  not Text.IsThisHelpMessageBeingDisplayed('SGPROF')
  not Text.IsThisHelpMessageBeingDisplayed('SGHIRO')
goto_if_false @BLACKJ_31254
if 
  $9145($out_card_value,8i) <> 0
goto_if_false @BLACKJ_31247
if 
  $out_card_value == 0
goto_if_false @BLACKJ_31202
if 
  $player_has_stuck1 == 0
goto_if_false @BLACKJ_31085
if 
  $player_has_quit == 0
goto_if_false @BLACKJ_31033
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(53, $9075($out_card_value,8f), $9083($out_card_value,8f), $multiplier, $next_card, 128, 128, 128, 255)
goto @BLACKJ_31078

:BLACKJ_31033
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite($9145($out_card_value,8i), $9075($out_card_value,8f), $9083($out_card_value,8f), $multiplier, $next_card, 128, 128, 128, 255)

:BLACKJ_31078
goto @BLACKJ_31195

:BLACKJ_31085
if 
  $player_has_won1 == 0
goto_if_false @BLACKJ_31150
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(53, $9075($out_card_value,8f), $9083($out_card_value,8f), $multiplier, $next_card, 128, 128, 128, 255)
goto @BLACKJ_31195

:BLACKJ_31150
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite($9145($out_card_value,8i), $9075($out_card_value,8f), $9083($out_card_value,8f), $multiplier, $next_card, 128, 128, 128, 255)

:BLACKJ_31195
goto @BLACKJ_31247

:BLACKJ_31202
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite($9145($out_card_value,8i), $9075($out_card_value,8f), $9083($out_card_value,8f), $multiplier, $next_card, 128, 128, 128, 255)

:BLACKJ_31247
goto @BLACKJ_31259

:BLACKJ_31254
Text.SetHelpMessageBoxSize(200)

:BLACKJ_31259
$out_card_value += 1
goto @BLACKJ_30611

:BLACKJ_31273
return 

:BLACKJ_31275
$player_got_ace2 = 0
$player_got_bj = 0
$dealer_total = 0
$dealer_total2 = 0
$dealer_got_ace = 0
$player_got_ace1 = 0
$dealer_got_bj = 0
$bj_players_cash = 0
$bj_last_bet = 0
$bj_x2 = 0

:BLACKJ_31345
if 
  8 > $bj_x2
goto_if_false @BLACKJ_31830
if 
  $9145($bj_x2,8i) <> 0
goto_if_false @BLACKJ_31514
set_var_int_to_var_int $bj_y2 = $9145($bj_x2,8i)
set_var_int_to_var_int $bj_z2 = $bj_y2
gosub @BLACKJ_32105
set_var_int_to_var_int $bj_y2 = $bj_vec_x
if 
  $bj_y2 == 1
goto_if_false @BLACKJ_31498
if 
  $dealer_got_bj == 0
goto_if_false @BLACKJ_31477
$player_got_ace2 += 11
$dealer_got_bj = 1
goto @BLACKJ_31484

:BLACKJ_31477
$player_got_ace2 += 1

:BLACKJ_31484
$player_got_bj += 1
goto @BLACKJ_31514

:BLACKJ_31498
add_int_var_to_int_var $player_got_ace2 += $bj_y2
add_int_var_to_int_var $player_got_bj += $bj_y2

:BLACKJ_31514
if 
  $9153($bj_x2,8i) <> 0
goto_if_false @BLACKJ_31665
set_var_int_to_var_int $bj_y2 = $9153($bj_x2,8i)
set_var_int_to_var_int $bj_z2 = $bj_y2
gosub @BLACKJ_32105
set_var_int_to_var_int $bj_y2 = $bj_vec_x
if 
  $bj_y2 == 1
goto_if_false @BLACKJ_31649
if 
  $bj_players_cash == 0
goto_if_false @BLACKJ_31628
$dealer_total += 11
$bj_players_cash = 1
goto @BLACKJ_31635

:BLACKJ_31628
$dealer_total += 1

:BLACKJ_31635
$dealer_total2 += 1
goto @BLACKJ_31665

:BLACKJ_31649
add_int_var_to_int_var $dealer_total += $bj_y2
add_int_var_to_int_var $dealer_total2 += $bj_y2

:BLACKJ_31665
if 
  $9161($bj_x2,8i) <> 0
goto_if_false @BLACKJ_31816
set_var_int_to_var_int $bj_y2 = $9161($bj_x2,8i)
set_var_int_to_var_int $bj_z2 = $bj_y2
gosub @BLACKJ_32105
set_var_int_to_var_int $bj_y2 = $bj_vec_x
if 
  $bj_y2 == 1
goto_if_false @BLACKJ_31800
if 
  $bj_last_bet == 0
goto_if_false @BLACKJ_31779
$dealer_got_ace += 11
$bj_last_bet = 1
goto @BLACKJ_31786

:BLACKJ_31779
$dealer_got_ace += 1

:BLACKJ_31786
$player_got_ace1 += 1
goto @BLACKJ_31816

:BLACKJ_31800
add_int_var_to_int_var $dealer_got_ace += $bj_y2
add_int_var_to_int_var $player_got_ace1 += $bj_y2

:BLACKJ_31816
$bj_x2 += 1
goto @BLACKJ_31345

:BLACKJ_31830
if 
  is_int_var_greater_than_int_var $player_got_ace2 > $player_got_bj
goto_if_false @BLACKJ_31914
if 
  $player_got_ace2 > 21
goto_if_false @BLACKJ_31882
set_var_int_to_var_int $player_got_ace2 = $player_got_bj
$player_got_bj = 0

:BLACKJ_31882
if 
  $player_got_ace2 == 21
goto_if_false @BLACKJ_31907
$player_got_bj = 0

:BLACKJ_31907
goto @BLACKJ_31921

:BLACKJ_31914
$player_got_bj = 0

:BLACKJ_31921
if 
  is_int_var_greater_than_int_var $dealer_total > $dealer_total2
goto_if_false @BLACKJ_32005
if 
  $dealer_total > 21
goto_if_false @BLACKJ_31973
set_var_int_to_var_int $dealer_total = $dealer_total2
$dealer_total2 = 0

:BLACKJ_31973
if 
  $dealer_total == 21
goto_if_false @BLACKJ_31998
$dealer_total2 = 0

:BLACKJ_31998
goto @BLACKJ_32012

:BLACKJ_32005
$dealer_total2 = 0

:BLACKJ_32012
if 
  is_int_var_greater_than_int_var $dealer_got_ace > $player_got_ace1
goto_if_false @BLACKJ_32096
if 
  $dealer_got_ace > 21
goto_if_false @BLACKJ_32064
set_var_int_to_var_int $dealer_got_ace = $player_got_ace1
$player_got_ace1 = 0

:BLACKJ_32064
if 
  $dealer_got_ace == 21
goto_if_false @BLACKJ_32089
$player_got_ace1 = 0

:BLACKJ_32089
goto @BLACKJ_32103

:BLACKJ_32096
$player_got_ace1 = 0

:BLACKJ_32103
return 

:BLACKJ_32105
if 
  14 > $bj_z2
goto_if_false @BLACKJ_32131
set_var_int_to_var_int $bj_vec_x = $bj_z2

:BLACKJ_32131
if and
  27 > $bj_z2
  $bj_z2 > 13
goto_if_false @BLACKJ_32171
set_var_int_to_var_int $bj_vec_x = $bj_z2
$bj_vec_x -= 13

:BLACKJ_32171
if and
  40 > $bj_z2
  $bj_z2 > 26
goto_if_false @BLACKJ_32211
set_var_int_to_var_int $bj_vec_x = $bj_z2
$bj_vec_x -= 26

:BLACKJ_32211
if and
  53 > $bj_z2
  $bj_z2 > 39
goto_if_false @BLACKJ_32251
set_var_int_to_var_int $bj_vec_x = $bj_z2
$bj_vec_x -= 39

:BLACKJ_32251
if 
  14 > $bj_vec_x
goto_if_false @BLACKJ_32294
if 
  $bj_vec_x > 10
goto_if_false @BLACKJ_32294
$bj_vec_x = 10

:BLACKJ_32294
return 

:BLACKJ_32296
if 
  14 > $bj_z2
goto_if_false @BLACKJ_32322
set_var_int_to_var_int $bj_vec_x = $bj_z2

:BLACKJ_32322
if and
  27 > $bj_z2
  $bj_z2 > 13
goto_if_false @BLACKJ_32362
set_var_int_to_var_int $bj_vec_x = $bj_z2
$bj_vec_x -= 13

:BLACKJ_32362
if and
  40 > $bj_z2
  $bj_z2 > 26
goto_if_false @BLACKJ_32402
set_var_int_to_var_int $bj_vec_x = $bj_z2
$bj_vec_x -= 26

:BLACKJ_32402
if and
  53 > $bj_z2
  $bj_z2 > 39
goto_if_false @BLACKJ_32442
set_var_int_to_var_int $bj_vec_x = $bj_z2
$bj_vec_x -= 39

:BLACKJ_32442
return 

:BLACKJ_32444
set_var_float_to_var_float $9123[0] = $9091[0]
set_var_float_to_var_float $9131[0] = $9099[0]
set_var_float_to_var_float $9107[0] = $9091[0]
set_var_float_to_var_float $9115[0] = $9099[0]
sub_float_var_from_float_var $9115[0] -= $next_card
sub_float_var_from_float_var $9115[0] -= $9142
10@ = 0

:BLACKJ_32499
if 
  8 > 10@
goto_if_false @BLACKJ_32828
if 
  5 > 10@
goto_if_false @BLACKJ_32718
set_var_float_to_var_float $dealers_cards = $multiplier
add_float_var_to_float_var $dealers_cards += $9142
cset_var_float_to_lvar_int $9143 =# 10@
mult_float_var_by_float_var $9143 *= $dealers_cards
set_var_float_to_var_float $9091(10@,8f) = $9091[0]
add_float_var_to_float_var $9091(10@,8f) += $9143
set_var_float_to_var_float $9099(10@,8f) = $9099[0]
set_var_float_to_var_float $9107(10@,8f) = $9107[0]
add_float_var_to_float_var $9107(10@,8f) += $9143
set_var_float_to_var_float $9115(10@,8f) = $9115[0]
set_var_float_to_var_float $9123(10@,8f) = $9123[0]
add_float_var_to_float_var $9123(10@,8f) += $9143
set_var_float_to_var_float $9131(10@,8f) = $9131[0]
set_var_float_to_var_float $9075(10@,8f) = $9075[0]
add_float_var_to_float_var $9075(10@,8f) += $9143
set_var_float_to_var_float $9083(10@,8f) = $9083[0]
goto @BLACKJ_32814

:BLACKJ_32718
set_var_float_to_var_float $9091(10@,8f) = $9091[4]
set_var_float_to_var_float $9099(10@,8f) = $9099[4]
set_var_float_to_var_float $9107(10@,8f) = $9107[4]
set_var_float_to_var_float $9115(10@,8f) = $9115[4]
set_var_float_to_var_float $9123(10@,8f) = $9123[4]
set_var_float_to_var_float $9131(10@,8f) = $9131[4]
set_var_float_to_var_float $9075(10@,8f) = $9075[4]
set_var_float_to_var_float $9083(10@,8f) = $9083[4]

:BLACKJ_32814
10@ += 1
goto @BLACKJ_32499

:BLACKJ_32828
return 
$on_footY, $on_footZ, $in_carX = Camera.GetDebugCoordinates()
if 
  Object.DoesExist(0@)
goto_if_false @BLACKJ_32879
$bj_vec_y, $bj_vec_z, $bj_vec2_x = Object.GetCoordinates(0@)
$on_footX = Object.GetHeading(0@)

:BLACKJ_32879
$on_footX *= -1.0
13@ = Math.Cos($on_footX)
14@ = Math.Sin($on_footX)
set_var_float_to_var_float $bj_vec2_y = $on_footY
sub_float_var_from_float_var $bj_vec2_y -= $bj_vec_y
set_var_float_to_var_float $bj_temp_float3 = $on_footZ
sub_float_var_from_float_var $bj_temp_float3 -= $bj_vec_z
set_var_float_to_var_float $winning_streak = $in_carX
sub_float_var_from_float_var $winning_streak -= $bj_vec2_x
set_var_float_to_var_float $win_dialogue = $bj_vec2_y
mult_float_var_by_float_lvar $win_dialogue *= 13@
set_var_float_to_var_float $9328 = $bj_temp_float3
mult_float_var_by_float_lvar $9328 *= 14@
sub_float_var_from_float_var $win_dialogue -= $9328
set_var_float_to_var_float $current_bet = $bj_vec2_y
mult_float_var_by_float_lvar $current_bet *= 14@
set_var_float_to_var_float $9328 = $bj_temp_float3
mult_float_var_by_float_lvar $9328 *= 13@
add_float_var_to_float_var $current_bet += $9328
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("FIXED_CAMERA_POSITION - OFFSET FROM TABLE = ")
save_float_to_debug_file $win_dialogue
save_float_to_debug_file $current_bet
save_float_to_debug_file $winning_streak
$on_footY, $on_footZ, $in_carX = Camera.GetDebugPointAt()
set_var_float_to_var_float $bj_vec2_y = $on_footY
sub_float_var_from_float_var $bj_vec2_y -= $bj_vec_y
set_var_float_to_var_float $bj_temp_float3 = $on_footZ
sub_float_var_from_float_var $bj_temp_float3 -= $bj_vec_z
set_var_float_to_var_float $winning_streak = $in_carX
sub_float_var_from_float_var $winning_streak -= $bj_vec2_x
set_var_float_to_var_float $win_dialogue = $bj_vec2_y
mult_float_var_by_float_lvar $win_dialogue *= 13@
set_var_float_to_var_float $9328 = $bj_temp_float3
mult_float_var_by_float_lvar $9328 *= 14@
sub_float_var_from_float_var $win_dialogue -= $9328
set_var_float_to_var_float $current_bet = $bj_vec2_y
mult_float_var_by_float_lvar $current_bet *= 14@
set_var_float_to_var_float $9328 = $bj_temp_float3
mult_float_var_by_float_lvar $9328 *= 13@
add_float_var_to_float_var $current_bet += $9328
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CAMERA_POINT_AT -       OFFSET FROM TABLE = ")
save_float_to_debug_file $win_dialogue
save_float_to_debug_file $current_bet
save_float_to_debug_file $winning_streak
return 
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if 
  Object.DoesExist(0@)
goto_if_false @BLACKJ_33520
$bj_vec_y, $bj_vec_z, $bj_vec2_x = Object.GetCoordinates(0@)
$on_footX = Object.GetHeading(0@)

:BLACKJ_33520
$on_footX *= -1.0
13@ = Math.Cos($on_footX)
14@ = Math.Sin($on_footX)
set_var_float_to_var_float $bj_vec2_y = $on_footY
sub_float_var_from_float_var $bj_vec2_y -= $bj_vec_y
set_var_float_to_var_float $bj_temp_float3 = $on_footZ
sub_float_var_from_float_var $bj_temp_float3 -= $bj_vec_z
set_var_float_to_var_float $winning_streak = $in_carX
sub_float_var_from_float_var $winning_streak -= $bj_vec2_x
set_var_float_to_var_float $win_dialogue = $bj_vec2_y
mult_float_var_by_float_lvar $win_dialogue *= 13@
set_var_float_to_var_float $9328 = $bj_temp_float3
mult_float_var_by_float_lvar $9328 *= 14@
sub_float_var_from_float_var $win_dialogue -= $9328
set_var_float_to_var_float $current_bet = $bj_vec2_y
mult_float_var_by_float_lvar $current_bet *= 14@
set_var_float_to_var_float $9328 = $bj_temp_float3
mult_float_var_by_float_lvar $9328 *= 13@
add_float_var_to_float_var $current_bet += $9328
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("PLAYER_COORDINATES - OFFSET FROM TABLE = ")
save_float_to_debug_file $win_dialogue
save_float_to_debug_file $current_bet
save_float_to_debug_file $winning_streak
return 

:BLACKJ_33823
13@ = Stat.GetFloat(StatId.Gambling)
if 
  1.0 > 13@
goto_if_false @BLACKJ_33865
$colour_a = 100
goto @BLACKJ_33985

:BLACKJ_33865
if 
  10.0 > 13@
goto_if_false @BLACKJ_33901
$colour_a = 1000
goto @BLACKJ_33985

:BLACKJ_33901
if 
  100.0 > 13@
goto_if_false @BLACKJ_33937
$colour_a = 10000
goto @BLACKJ_33985

:BLACKJ_33937
if 
  1000.0 > 13@
goto_if_false @BLACKJ_33975
$colour_a = 100000
goto @BLACKJ_33985

:BLACKJ_33975
$colour_a = 1000000

:BLACKJ_33985
return 
Text.SetColor(255, 255, 255, 255)
Text.SetJustify(False)
Text.SetRightJustify(False)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
Text.SetCenter(False)
Text.SetBackground(False)
Text.SetScale(0.6, 1.6)
return 
Text.SetColor(255, 180, 180, 255)
Text.SetJustify(False)
Text.SetRightJustify(False)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(2.0, 3.0)
return 

:BLACKJ_34097
Text.SetColor(180, 180, 180, 255)
Text.SetScale(0.4714, 2.5077)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
return 
Text.SetColor(180, 180, 180, 255)
Text.SetScale(0.4714, 2.5077)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(True)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
return 

:BLACKJ_34207
Text.SetColor(255, 255, 0, 255)
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetScale($9233[24], $9260[24])
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(True)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
return 
$bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set = Hud.GetColor(6)
Text.SetColor($bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set)
Text.SetFont(Font.Pricedown)
Text.SetEdge(3, 0, 0, 0, 255)
Text.SetScale(1.2, 4.0)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
return 
$bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set = Hud.GetColor(0)
Text.SetColor($bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set)
Text.SetFont(Font.Pricedown)
Text.SetEdge(3, 0, 0, 0, 255)
Text.SetScale(1.2, 4.0)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
return 
$bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set = Hud.GetColor(HudObject.Health)
Text.SetColor($bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set)
Text.SetFont(Font.Pricedown)
Text.SetEdge(3, 0, 0, 0, 255)
Text.SetScale(1.2, 4.0)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
return 
$bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set = Hud.GetColor(HudObject.Health)
Text.SetColor($bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set)
Text.SetFont(Font.Menu)
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetScale(0.52, 1.45)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
return 

:BLACKJ_34622
Game.SetMinigameInProgress(False)
2@ = 0
3@ = 0
4@ = 0
5@ = 0
if and
  not Text.IsThisHelpMessageBeingDisplayed('SGPUNT')
  not Text.IsThisHelpMessageBeingDisplayed('SGGAMB')
  not Text.IsThisHelpMessageBeingDisplayed('SGPROF')
  not Text.IsThisHelpMessageBeingDisplayed('SGHIRO')
goto_if_false @BLACKJ_34711
Text.ClearHelp

:BLACKJ_34711
Camera.Restore
10@ = 0

:BLACKJ_34720
if 
  8 > 10@
goto_if_false @BLACKJ_34781
if 
  Object.DoesExist($9212(10@,8i))
goto_if_false @BLACKJ_34767
Object.Delete($9212(10@,8i))

:BLACKJ_34767
10@ += 1
goto @BLACKJ_34720

:BLACKJ_34781
if 
  not Char.IsDead(1@)
goto_if_false @BLACKJ_34804
Task.StayInSamePlace(1@, True)

:BLACKJ_34804
terminate_all_scripts_with_this_name 'CASHWIN'
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
Streaming.RemoveAnimation("CASINO")
Txd.Remove
Text.UseCommands(False)
Hud.DisplayRadar(True)
switch_rubbish 1
Text.SetHelpMessageBoxSize(200)
return 
terminate_this_script 

//-------------External script 18 (WHEELO)---------------

:WOF
script_name 'WOF'
5@ = 0
6@ = 0
22@ = 0.0
23@ = 0.0
13@ = 0
15@ = 0
16@ = 0
25@ = -1
27@ = 0
TIMERA = Math.RandomIntInRange(0, 30000)
goto @WOF_438
0@ = Object.Create(#WHEEL_O_FORTUNE, 0.0, 0.0, 0.0)
4@ = Object.Create(#WHEEL_O_FORTUNE, 0.0, 0.0, 0.0)
2@ = Object.Create(#WHEEL_O_FORTUNE, 0.0, 0.0, 0.0)
1@ = Object.Create(#WHEEL_O_FORTUNE, 0.0, 0.0, 0.0)
3@ = Object.Create(#WHEEL_O_FORTUNE, 0.0, 0.0, 0.0)
7@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
$9343[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0)
$9349[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0)
$9355[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0)
$9361[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0)
$9367[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0)
$9373[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0)
$9379[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0)
$9385[0] = Object.Create(#CHIP_STACK07, 0.0, 0.0, 0.0)
$active_wheel = Object.Create(#ROULETTE_MARKER, 0.0, 0.0, 0.0)

:WOF_438
wait 0
if 
  $1253 == 0
goto_if_false @WOF_2376
if 
  Object.DoesExist(0@)
goto_if_false @WOF_2362
if 
  Object.IsWithinBrainActivationRange(0@)
goto_if_false @WOF_2348
if 
  $wof_vec_x == 0
goto_if_false @WOF_2253
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WOF_2239
if 
  5@ == 0
goto_if_false @WOF_1066
if 
  6@ == 0
goto_if_false @WOF_583
Streaming.RequestModel(11)
Streaming.RequestAnimation("CASINO")
6@ += 1

:WOF_583
if 
  6@ == 1
goto_if_false @WOF_633
if and
  Streaming.HasModelLoaded(11)
  Streaming.HasAnimationLoaded("CASINO")
goto_if_false @WOF_633
6@ += 1

:WOF_633
if 
  6@ == 2
goto_if_false @WOF_1029
if 
  not Char.DoesExist(7@)
goto_if_false @WOF_781
20@ = Object.GetHeading(0@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.5, -0.3974, 0.0)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
7@ = Char.Create(PedType.CivFemale, 11, $on_footY, $on_footZ, $in_carX)
Char.SetDecisionMaker(7@, $iCheckForWeapons)
set_var_float_to_lvar_float $on_footX = 20@
$on_footX += 180.0
Char.SetHeading(7@, $on_footX)
Char.FreezePosition(7@, True)
Streaming.MarkModelAsNoLongerNeeded(11)

:WOF_781
if 
  not Object.DoesExist(4@)
goto_if_false @WOF_851
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.159, 0.0)
4@ = Object.CreateNoOffset(#WHEEL_SUPPORT, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(4@, 20@)

:WOF_851
if 
  not Object.DoesExist(2@)
goto_if_false @WOF_952
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, -0.132, -1.049194, -0.834192)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
$in_carX += 1.0
2@ = Object.CreateNoOffset(#WHEEL_TABLE, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(2@, 20@)
gosub @WOF_15511

:WOF_952
if 
  not Object.DoesExist(1@)
goto_if_false @WOF_1022
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.0, 1.05)
1@ = Object.CreateNoOffset(#CLICKER, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(1@, 20@)

:WOF_1022
6@ += 1

:WOF_1029
if 
  6@ == 3
goto_if_false @WOF_1066
TIMERA = Math.RandomIntInRange(0, 50000)
5@ += 1

:WOF_1066
if 
  5@ == 1
goto_if_false @WOF_2189
if 
  not Char.IsDead(7@)
goto_if_false @WOF_1309
if 
  TIMERA > 50000
goto_if_false @WOF_1309
Task.PlayAnim(7@, "WOF", "CASINO", 4.0, False, False, False, False, -1)
10@ = Math.RandomIntInRange(0, 3)
switch_start 10@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @WOF_1295 {caseNum1} 0 {caseLabel1} @WOF_1226 {caseNum2} 1 {caseLabel2} @WOF_1249 {caseNum3} 2 {caseLabel3} @WOF_1272 {caseNum4} -1 {caseLabel4} @WOF_1295 {caseNum5} -1 {caseLabel5} @WOF_1295 {caseNum6} -1 {caseLabel6} @WOF_1295 {caseNum7} -1 {caseLabel7} @WOF_1295

:WOF_1226
Char.SetSayScript(7@, 43608, True, True, False)
goto @WOF_1295

:WOF_1249
Char.SetSayScript(7@, 43609, True, True, False)
goto @WOF_1295

:WOF_1272
Char.SetSayScript(7@, 43610, True, True, False)
goto @WOF_1295

:WOF_1295
25@ = 0
TIMERA = 0

:WOF_1309
if 
  not Char.IsDead(7@)
goto_if_false @WOF_2189
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, -1.0, 0.0)
if 
  $iPrintStripperHelp == 0
goto_if_false @WOF_2189
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.5, 0.5, 2.0, False)
goto_if_false @WOF_2162
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @WOF_2155
if 
  15@ == 0
goto_if_false @WOF_2131
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @WOF_1865
10@ = 0
8@ = Stat.GetFloat(StatId.Gambling)
if 
  19@ == 1000000
goto_if_false @WOF_1558
if 
  1000.0 > 8@
goto_if_false @WOF_1551
Text.PrintNow('GAMBSTA', 5000, 1)
gosub @WOF_2390
10@ = 1

:WOF_1551
goto @WOF_1784

:WOF_1558
if 
  19@ == 100000
goto_if_false @WOF_1637
if 
  100.0 > 8@
goto_if_false @WOF_1630
Text.PrintNow('GAMBSTA', 5000, 1)
gosub @WOF_2390
10@ = 1

:WOF_1630
goto @WOF_1784

:WOF_1637
if 
  19@ == 10000
goto_if_false @WOF_1714
if 
  10.0 > 8@
goto_if_false @WOF_1707
Text.PrintNow('GAMBSTA', 5000, 1)
gosub @WOF_2390
10@ = 1

:WOF_1707
goto @WOF_1784

:WOF_1714
if 
  19@ == 1000
goto_if_false @WOF_1784
if 
  1.0 > 8@
goto_if_false @WOF_1784
Text.PrintNow('GAMBSTA', 5000, 1)
gosub @WOF_2390
10@ = 1

:WOF_1784
if 
  10@ == 0
goto_if_false @WOF_1858
if 
  14@ == 1
goto_if_false @WOF_1829
Text.ClearHelp
14@ = 0

:WOF_1829
5@ = 0
6@ = 0
set_var_int_to_lvar_int $wof_vec_x = 0@
15@ = 1

:WOF_1858
goto @WOF_2124

:WOF_1865
if 
  14@ == 0
goto_if_false @WOF_2124
if and
  not Text.IsThisHelpMessageBeingDisplayed('SGPUNT')
  not Text.IsThisHelpMessageBeingDisplayed('SGGAMB')
  not Text.IsThisHelpMessageBeingDisplayed('SGPROF')
  not Text.IsThisHelpMessageBeingDisplayed('SGHIRO')
goto_if_false @WOF_2124
switch_start 19@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @WOF_2099 {caseNum1} 100 {caseLabel1} @WOF_2009 {caseNum2} 1000 {caseLabel2} @WOF_2027 {caseNum3} 10000 {caseLabel3} @WOF_2045 {caseNum4} 100000 {caseLabel4} @WOF_2063 {caseNum5} 1000000 {caseLabel5} @WOF_2081 {caseNum6} -1 {caseLabel6} @WOF_2117 {caseNum7} -1 {caseLabel7} @WOF_2117

:WOF_2009
Text.PrintHelpForever('WOF_06A')
goto @WOF_2117

:WOF_2027
Text.PrintHelpForever('WOF_06B')
goto @WOF_2117

:WOF_2045
Text.PrintHelpForever('WOF_06C')
goto @WOF_2117

:WOF_2063
Text.PrintHelpForever('WOF_06D')
goto @WOF_2117

:WOF_2081
Text.PrintHelpForever('WOF_06E')
goto @WOF_2117

:WOF_2099
Text.PrintHelpForever('WOF_06')
goto @WOF_2117

:WOF_2117
14@ = 1

:WOF_2124
goto @WOF_2155

:WOF_2131
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @WOF_2155
15@ = 0

:WOF_2155
goto @WOF_2189

:WOF_2162
if 
  14@ == 1
goto_if_false @WOF_2189
Text.ClearHelp
14@ = 0

:WOF_2189
if or
  Object.IsOnScreen(0@)
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 5.0, 5.0, False)
goto_if_false @WOF_2232
gosub @WOF_9898

:WOF_2232
goto @WOF_2246

:WOF_2239
gosub @WOF_2465

:WOF_2246
goto @WOF_2341

:WOF_2253
if 
  is_int_var_equal_to_int_lvar $wof_vec_x == 0@
goto_if_false @WOF_2341
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WOF_2341
if 
  13@ == 0
goto_if_false @WOF_2327
gosub @WOF_9898
gosub @WOF_2506
goto @WOF_2341

:WOF_2327
gosub @WOF_11181
$wof_vec_x = 0

:WOF_2341
goto @WOF_2355

:WOF_2348
gosub @WOF_2465

:WOF_2355
goto @WOF_2369

:WOF_2362
gosub @WOF_2465

:WOF_2369
goto @WOF_2383

:WOF_2376
gosub @WOF_2465

:WOF_2383
goto @WOF_438

:WOF_2390
10@ = 0
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @WOF_2447
Char.SetSayScript(7@, 43651, True, True, False)
goto @WOF_2463

:WOF_2447
Char.SetSayScript(7@, 43651, True, True, False)

:WOF_2463
return 

:WOF_2465
Char.MarkAsNoLongerNeeded(7@)
Object.MarkAsNoLongerNeeded(4@)
Object.MarkAsNoLongerNeeded(2@)
Object.MarkAsNoLongerNeeded(1@)
Streaming.RemoveAnimation("CASINO")
$homeless_brain_flag -= 1
terminate_this_script 
return 

:WOF_2506
switch_start 5@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @WOF_2667 {caseNum1} 0 {caseLabel1} @WOF_2569 {caseNum2} 1 {caseLabel2} @WOF_2583 {caseNum3} 2 {caseLabel3} @WOF_2597 {caseNum4} 3 {caseLabel4} @WOF_2611 {caseNum5} 4 {caseLabel5} @WOF_2625 {caseNum6} 5 {caseLabel6} @WOF_2639 {caseNum7} 6 {caseLabel7} @WOF_2653

:WOF_2569
gosub @WOF_2817
goto @WOF_2667

:WOF_2583
gosub @WOF_4183
goto @WOF_2667

:WOF_2597
gosub @WOF_7349
goto @WOF_2667

:WOF_2611
gosub @WOF_7675
goto @WOF_2667

:WOF_2625
gosub @WOF_7819
goto @WOF_2667

:WOF_2639
gosub @WOF_7853
goto @WOF_2667

:WOF_2653
gosub @WOF_9501
goto @WOF_2667

:WOF_2667
gosub @WOF_13539
if 
  5@ == 1
goto_if_false @WOF_2774
if 
  15@ == 0
goto_if_false @WOF_2749
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @WOF_2742
13@ = 1
15@ = 1

:WOF_2742
goto @WOF_2774

:WOF_2749
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @WOF_2774
15@ = 0

:WOF_2774
if 
  Char.IsDead(7@)
goto_if_false @WOF_2815
if 
  5@ > 0
goto_if_false @WOF_2815
13@ = 1

:WOF_2815
return 

:WOF_2817
if 
  6@ == 0
goto_if_false @WOF_4078
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WOF_4071
Game.SetMinigameInProgress(True)
Player.SetControl($statbike_temp, False)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(0@)
Task.TurnCharToFaceCoord($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)
Text.UseCommands(True)
Hud.DisplayRadar(False)
Streaming.RequestAnimation("CASINO")
Text.ClearPrints
10@ = 0

:WOF_2917
if 
  6 > 10@
goto_if_false @WOF_3055
$9391 = -0.118
set_var_float_to_var_float $9392(10@,6f) = $9391
set_var_float_to_var_float $9398(10@,6f) = $9391
set_var_float_to_var_float $9404(10@,6f) = $9391
set_var_float_to_var_float $9410(10@,6f) = $9391
set_var_float_to_var_float $9416(10@,6f) = $9391
set_var_float_to_var_float $9422(10@,6f) = $9391
set_var_float_to_var_float $9428(10@,6f) = $9391
set_var_float_to_var_float $9434(10@,6f) = $9391
10@ += 1
goto @WOF_2917

:WOF_3055
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.634, 0.253, $9392[0])
$9343[0] = Object.CreateNoOffset(#CHIP_STACK07, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9343[0], 20@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.201, 0.253, $9392[1])
$9343[1] = Object.CreateNoOffset(#CHIP_STACK07, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9343[1], 20@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.243, 0.253, $9392[2])
$9343[2] = Object.CreateNoOffset(#CHIP_STACK07, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9343[2], 20@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.635, -0.106, $9392[3])
$9343[3] = Object.CreateNoOffset(#CHIP_STACK07, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9343[3], 20@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.201, -0.106, $9392[4])
$9343[4] = Object.CreateNoOffset(#CHIP_STACK07, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9343[4], 20@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.243, -0.106, $9392[5])
$9343[5] = Object.CreateNoOffset(#CHIP_STACK07, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($9343[5], 20@)
10@ = 0

:WOF_3374
if 
  6 > 10@
goto_if_false @WOF_3460
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($9343(10@,6i), 0.07, 0.0, 0.0)
$9349(10@,6i) = Object.CreateNoOffset(#CHIP_STACK08, $on_footY, $on_footZ, $in_carX)
10@ += 1
goto @WOF_3374

:WOF_3460
10@ = 0

:WOF_3467
if 
  6 > 10@
goto_if_false @WOF_3553
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($9343(10@,6i), -0.07, 0.0, 0.0)
$9355(10@,6i) = Object.CreateNoOffset(#CHIP_STACK09, $on_footY, $on_footZ, $in_carX)
10@ += 1
goto @WOF_3467

:WOF_3553
10@ = 0

:WOF_3560
if 
  6 > 10@
goto_if_false @WOF_3646
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($9343(10@,6i), 0.07, 0.07, 0.0)
$9361(10@,6i) = Object.CreateNoOffset(#CHIP_STACK10, $on_footY, $on_footZ, $in_carX)
10@ += 1
goto @WOF_3560

:WOF_3646
10@ = 0

:WOF_3653
if 
  6 > 10@
goto_if_false @WOF_3739
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($9343(10@,6i), 0.07, -0.07, 0.0)
$9367(10@,6i) = Object.CreateNoOffset(#CHIP_STACK11, $on_footY, $on_footZ, $in_carX)
10@ += 1
goto @WOF_3653

:WOF_3739
10@ = 0

:WOF_3746
if 
  6 > 10@
goto_if_false @WOF_3832
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($9343(10@,6i), -0.07, 0.07, 0.0)
$9373(10@,6i) = Object.CreateNoOffset(#CHIP_STACK12, $on_footY, $on_footZ, $in_carX)
10@ += 1
goto @WOF_3746

:WOF_3832
10@ = 0

:WOF_3839
if 
  6 > 10@
goto_if_false @WOF_3925
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($9343(10@,6i), -0.07, -0.07, 0.0)
$9379(10@,6i) = Object.CreateNoOffset(#CHIP_STACK13, $on_footY, $on_footZ, $in_carX)
10@ += 1
goto @WOF_3839

:WOF_3925
10@ = 0

:WOF_3932
if 
  6 > 10@
goto_if_false @WOF_4018
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($9343(10@,6i), 0.0, 0.07, 0.0)
$9385(10@,6i) = Object.CreateNoOffset(#CHIP_STACK14, $on_footY, $on_footZ, $in_carX)
10@ += 1
goto @WOF_3932

:WOF_4018
$9329 = 0
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.635, 0.253, 0.041)
$active_wheel = Object.CreateNoOffset(#ROULETTE_MARKER, $on_footY, $on_footZ, $in_carX)

:WOF_4071
6@ += 1

:WOF_4078
if 
  6@ == 1
goto_if_false @WOF_4124
if 
  Streaming.HasAnimationLoaded("CASINO")
goto_if_false @WOF_4124
6@ += 1

:WOF_4124
if 
  6@ == 2
goto_if_false @WOF_4149
6@ = 99

:WOF_4149
if 
  6@ == 99
goto_if_false @WOF_4181
5@ += 1
6@ = 0

:WOF_4181
return 

:WOF_4183
if 
  6@ == 0
goto_if_false @WOF_4650
10@ = 0

:WOF_4208
if 
  6 > 10@
goto_if_false @WOF_4251
$9331(10@,6i) = 0
10@ += 1
goto @WOF_4208

:WOF_4251
$wheel_position_value = 0
$wof_winnings = 0
TIMERA = 0
TIMERB = 0
Text.PrintHelpForever('WOFHD01')
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, -0.7, 0.0)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
Char.SetCoordinates($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)
Char.SetHeading($stattreadstamina_ctr, 20@)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.7734, -0.6326, 0.9882)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.4684, -0.0634, 0.2246)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
if 
  Object.DoesExist($active_wheel)
goto_if_false @WOF_4475
Object.SetVisible($active_wheel, True)

:WOF_4475
23@ = 0.0
24@ = 0.0
$wof_y2 = 0
$wof_z2 = 0
if 
  not Char.IsDead(7@)
goto_if_false @WOF_4643
10@ = Math.RandomIntInRange(0, 2)
switch_start 10@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @WOF_4643 {caseNum1} 0 {caseLabel1} @WOF_4597 {caseNum2} 1 {caseLabel2} @WOF_4620 {caseNum3} -1 {caseLabel3} @WOF_4643 {caseNum4} -1 {caseLabel4} @WOF_4643 {caseNum5} -1 {caseLabel5} @WOF_4643 {caseNum6} -1 {caseLabel6} @WOF_4643 {caseNum7} -1 {caseLabel7} @WOF_4643

:WOF_4597
Char.SetSayScript(7@, 43600, True, True, False)
goto @WOF_4643

:WOF_4620
Char.SetSayScript(7@, 43601, True, True, False)
goto @WOF_4643

:WOF_4643
6@ += 1

:WOF_4650
if 
  6@ == 1
goto_if_false @WOF_7313
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if 
  17@ <> 0
goto_if_false @WOF_4822
10@ = 0
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @WOF_4751
10@ = 1

:WOF_4751
if or
  $tucking_contact_blip > 100
  -100 > $tucking_contact_blip
  $been_in_a_bmx > 100
  -100 > $been_in_a_bmx
goto_if_false @WOF_4797
10@ = 1

:WOF_4797
if 
  10@ == 0
goto_if_false @WOF_4822
17@ = 0

:WOF_4822
set_lvar_int_to_lvar_int 10@ = 17@
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
  -100 > $tucking_contact_blip
goto_if_false @WOF_4861
17@ = 1

:WOF_4861
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
  $tucking_contact_blip > 100
goto_if_false @WOF_4892
17@ = 2

:WOF_4892
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
  -100 > $been_in_a_bmx
goto_if_false @WOF_4923
17@ = 3

:WOF_4923
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
  $been_in_a_bmx > 100
goto_if_false @WOF_4954
17@ = 4

:WOF_4954
if 
  not is_int_lvar_equal_to_int_lvar 17@ == 10@
goto_if_false @WOF_5228
if 
  17@ == 4
goto_if_false @WOF_5058
if or
  $wof_winnings == 0
  $wof_winnings == 1
  $wof_winnings == 3
  $wof_winnings == 4
goto_if_false @WOF_5044
$wof_winnings += 1
goto @WOF_5051

:WOF_5044
$wof_winnings += -2

:WOF_5051
TIMERA = 0

:WOF_5058
if 
  17@ == 3
goto_if_false @WOF_5143
if or
  $wof_winnings == 1
  $wof_winnings == 2
  $wof_winnings == 4
  $wof_winnings == 5
goto_if_false @WOF_5129
$wof_winnings += -1
goto @WOF_5136

:WOF_5129
$wof_winnings += 2

:WOF_5136
TIMERA = 0

:WOF_5143
if or
  17@ == 1
  17@ == 2
goto_if_false @WOF_5228
if or
  $wof_winnings == 0
  $wof_winnings == 1
  $wof_winnings == 2
goto_if_false @WOF_5214
$wof_winnings += 3
goto @WOF_5221

:WOF_5214
$wof_winnings += -3

:WOF_5221
TIMERA = 0

:WOF_5228
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikestamina_ctr)
goto_if_false @WOF_5820
if and
  16@ <> 1
  16@ <> -1
goto_if_false @WOF_5769
if 
  $9331($wof_winnings,6i) >= 100000
goto_if_false @WOF_5311
$chip_set_1 = 10000
goto @WOF_5497

:WOF_5311
if 
  $9331($wof_winnings,6i) >= 10000
goto_if_false @WOF_5349
$chip_set_1 = 1000
goto @WOF_5497

:WOF_5349
if 
  $9331($wof_winnings,6i) >= 1000
goto_if_false @WOF_5386
$chip_set_1 = 100
goto @WOF_5497

:WOF_5386
if 
  $9331($wof_winnings,6i) >= 100
goto_if_false @WOF_5422
$chip_set_1 = 10
goto @WOF_5497

:WOF_5422
if 
  $9331($wof_winnings,6i) == 0
goto_if_false @WOF_5490
if 
  $wof_winnings == 2
goto_if_false @WOF_5476
$chip_set_1 = 5
goto @WOF_5483

:WOF_5476
$chip_set_1 = 2

:WOF_5483
goto @WOF_5497

:WOF_5490
$chip_set_1 = 1

:WOF_5497
10@ = Player.StoreScore($statbike_temp)
gosub @WOF_11547
add_int_var_to_int_lvar 10@ += $colour_a
if 
  is_int_var_greater_than_int_lvar $chip_set_1 > 10@
goto_if_false @WOF_5547
set_var_int_to_lvar_int $chip_set_1 = 10@

:WOF_5547
$wheel_position_value = 0
10@ = 0

:WOF_5561
if 
  6 > 10@
goto_if_false @WOF_5605
add_int_var_to_int_var $wheel_position_value += $9331(10@,6i)
10@ += 1
goto @WOF_5561

:WOF_5605
set_lvar_int_to_lvar_int 10@ = 19@
sub_int_var_from_int_lvar 10@ -= $wheel_position_value
if 
  is_int_var_greater_than_int_lvar $chip_set_1 > 10@
goto_if_false @WOF_5648
set_var_int_to_lvar_int $chip_set_1 = 10@

:WOF_5648
if 
  0 > $chip_set_1
goto_if_false @WOF_5673
$chip_set_1 *= -1

:WOF_5673
add_int_var_to_int_var $9331($wof_winnings,6i) += $chip_set_1
add_int_var_to_int_var $wof_y2 += $chip_set_1
add_int_var_to_int_var $wof_z2 += $chip_set_1
$chip_set_1 *= -1
Player.AddScore($statbike_temp, $chip_set_1)
16@ += 1
if 
  16@ > 1
goto_if_false @WOF_5755
16@ = 2
goto @WOF_5762

:WOF_5755
TIMERA = 0

:WOF_5762
goto @WOF_5813

:WOF_5769
if 
  16@ == 1
goto_if_false @WOF_5813
if 
  TIMERA > 500
goto_if_false @WOF_5813
16@ = 2

:WOF_5813
goto @WOF_6341

:WOF_5820
if 
  Pad.IsButtonPressed(PadId.Pad1, $statbikelowmuscle_ctr)
goto_if_false @WOF_6316
if 
  18@ <> 1
goto_if_false @WOF_6283
if 
  $9331($wof_winnings,6i) > 100000
goto_if_false @WOF_5896
$chip_set_1 = -10000
goto @WOF_6014

:WOF_5896
if 
  $9331($wof_winnings,6i) > 10000
goto_if_false @WOF_5934
$chip_set_1 = -1000
goto @WOF_6014

:WOF_5934
if 
  $9331($wof_winnings,6i) > 1000
goto_if_false @WOF_5971
$chip_set_1 = -100
goto @WOF_6014

:WOF_5971
if 
  $9331($wof_winnings,6i) > 100
goto_if_false @WOF_6007
$chip_set_1 = -10
goto @WOF_6014

:WOF_6007
$chip_set_1 = -1

:WOF_6014
set_lvar_int_to_var_int 10@ = $9331($wof_winnings,6i)
add_int_var_to_int_var $9331($wof_winnings,6i) += $chip_set_1
if 
  $wof_winnings == 2
goto_if_false @WOF_6111
if 
  5 > $9331($wof_winnings,6i)
goto_if_false @WOF_6104
$9331($wof_winnings,6i) = 0
set_var_int_to_lvar_int $chip_set_1 = 10@
$chip_set_1 *= -1

:WOF_6104
goto @WOF_6159

:WOF_6111
if 
  2 > $9331($wof_winnings,6i)
goto_if_false @WOF_6159
$9331($wof_winnings,6i) = 0
set_var_int_to_lvar_int $chip_set_1 = 10@
$chip_set_1 *= -1

:WOF_6159
if 
  0 > $9331($wof_winnings,6i)
goto_if_false @WOF_6199
$9331($wof_winnings,6i) = 0
goto @WOF_6230

:WOF_6199
add_int_var_to_int_var $wof_y2 += $chip_set_1
add_int_var_to_int_var $wof_z2 += $chip_set_1
$chip_set_1 *= -1
Player.AddScore($statbike_temp, $chip_set_1)

:WOF_6230
18@ += 1
if 
  18@ > 1
goto_if_false @WOF_6269
18@ = 2
goto @WOF_6276

:WOF_6269
TIMERA = 0

:WOF_6276
goto @WOF_6309

:WOF_6283
if 
  TIMERA > 500
goto_if_false @WOF_6309
18@ = 2

:WOF_6309
goto @WOF_6341

:WOF_6316
if 
  18@ <> 0
goto_if_false @WOF_6341
18@ = 0

:WOF_6341
$wheel_position_value = 0
10@ = 0

:WOF_6355
if 
  6 > 10@
goto_if_false @WOF_6399
add_int_var_to_int_var $wheel_position_value += $9331(10@,6i)
10@ += 1
goto @WOF_6355

:WOF_6399
if 
  $wof_winnings == 0
goto_if_false @WOF_6460
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.635, 0.253, 0.041)
Object.SetCoordinates($active_wheel, $on_footY, $on_footZ, $in_carX)

:WOF_6460
if 
  $wof_winnings == 1
goto_if_false @WOF_6521
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.201, 0.253, 0.041)
Object.SetCoordinates($active_wheel, $on_footY, $on_footZ, $in_carX)

:WOF_6521
if 
  $wof_winnings == 2
goto_if_false @WOF_6582
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.243, 0.253, 0.041)
Object.SetCoordinates($active_wheel, $on_footY, $on_footZ, $in_carX)

:WOF_6582
if 
  $wof_winnings == 3
goto_if_false @WOF_6643
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.635, -0.106, 0.041)
Object.SetCoordinates($active_wheel, $on_footY, $on_footZ, $in_carX)

:WOF_6643
if 
  $wof_winnings == 4
goto_if_false @WOF_6704
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.201, -0.106, 0.041)
Object.SetCoordinates($active_wheel, $on_footY, $on_footZ, $in_carX)

:WOF_6704
if 
  $wof_winnings == 5
goto_if_false @WOF_6765
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.243, -0.106, 0.041)
Object.SetCoordinates($active_wheel, $on_footY, $on_footZ, $in_carX)

:WOF_6765
switch_start $flag_hhiker_trigger {numCases} 1 {hasDefaultCase} 1 {defaultLabel} @WOF_6868 {caseNum1} 3 {caseLabel1} @WOF_6828 {caseNum2} -1 {caseLabel2} @WOF_6908 {caseNum3} -1 {caseLabel3} @WOF_6908 {caseNum4} -1 {caseLabel4} @WOF_6908 {caseNum5} -1 {caseLabel5} @WOF_6908 {caseNum6} -1 {caseLabel6} @WOF_6908 {caseNum7} -1 {caseLabel7} @WOF_6908

:WOF_6828
Hud.DrawWindow(29.0, 220.0, 173.0, 409.0, 'BJ_TITL', 2)
goto @WOF_6908

:WOF_6868
Hud.DrawWindow(29.0, 220.0, 157.0, 409.0, 'BJ_TITL', 2)
goto @WOF_6908

:WOF_6908
gosub @WOF_11754
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 240.0, 'WOF_04')
gosub @WOF_11754
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 260.0, 'DOLLAR', $9331($wof_winnings,6i))
gosub @WOF_11754
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 290.0, 'WOF_05')
gosub @WOF_11754
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 310.0, 'DOLLAR', $wheel_position_value)
gosub @WOF_11754
Text.SetColor(134, 155, 184, 255)
Text.Display(36.0, 340.0, 'BJ_03')
gosub @WOF_11754
Text.SetScale(0.6253, 2.7876)
Text.DisplayWithNumber(36.0, 360.0, 'DOLLAR', 19@)
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @WOF_7288
if 
  16@ == 0
goto_if_false @WOF_7281
if 
  $wheel_position_value > 0
goto_if_false @WOF_7274
Stat.IncrementInt(StatId.MoneySpentGambling, $wheel_position_value)
cset_lvar_float_to_var_int 8@ =# $wheel_position_value
8@ *= 0.001
Stat.IncrementFloat(StatId.Gambling, 8@)
TIMERA = 0
$wof_z2 = 0
6@ = 99

:WOF_7274
16@ = 1

:WOF_7281
goto @WOF_7313

:WOF_7288
if 
  16@ <> 0
goto_if_false @WOF_7313
16@ = 0

:WOF_7313
if 
  6@ == 99
goto_if_false @WOF_7347
Text.ClearHelp
5@ += 1
6@ = 0

:WOF_7347
return 

:WOF_7349
if 
  not Char.IsDead(7@)
goto_if_false @WOF_7673
Task.PlayAnim(7@, "WOF", "CASINO", 4.0, False, False, False, False, -1)
10@ = Math.RandomIntInRange(0, 3)
switch_start 10@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @WOF_7539 {caseNum1} 0 {caseLabel1} @WOF_7470 {caseNum2} 1 {caseLabel2} @WOF_7493 {caseNum3} 2 {caseLabel3} @WOF_7516 {caseNum4} -1 {caseLabel4} @WOF_7539 {caseNum5} -1 {caseLabel5} @WOF_7539 {caseNum6} -1 {caseLabel6} @WOF_7539 {caseNum7} -1 {caseLabel7} @WOF_7539

:WOF_7470
Char.SetSayScript(7@, 43608, True, True, False)
goto @WOF_7539

:WOF_7493
Char.SetSayScript(7@, 43609, True, True, False)
goto @WOF_7539

:WOF_7516
Char.SetSayScript(7@, 43610, True, True, False)
goto @WOF_7539

:WOF_7539
25@ = 0
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -1.3681, -2.0088, 0.7317)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, -0.8154, -1.1754, 0.7401)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.JumpCut)
if 
  Object.DoesExist($active_wheel)
goto_if_false @WOF_7666
Object.SetVisible($active_wheel, False)

:WOF_7666
5@ += 1

:WOF_7673
return 

:WOF_7675
if and
  2.0 > 23@
  25@ > 1
goto_if_false @WOF_7817
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(4@, -0.3059, -0.9385, 0.4225)
Camera.SetFixedPosition($on_footY, $on_footZ, $in_carX, 0.0, 0.0, 0.0)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(4@, -0.0298, -0.0515, 0.7929)
Camera.SetInterpolationParameters(0.0, 6000)
Camera.PointAtPoint($on_footY, $on_footZ, $in_carX, SwitchType.Interpolation)
5@ += 1

:WOF_7817
return 

:WOF_7819
if 
  25@ == 4
goto_if_false @WOF_7851
6@ = 0
5@ += 1

:WOF_7851
return 

:WOF_7853
if 
  6@ == 0
goto_if_false @WOF_9054
set_lvar_float_to_lvar_float 8@ = 21@
8@ -= 3.333333
if 
  0.0 > 8@
goto_if_false @WOF_7920
8@ += 360.0

:WOF_7920
8@ /= 6.666667
cset_var_int_to_lvar_float $9340 =# 8@
$9340 += 1
gosub @WOF_11809
10@ = 0
$9342 = 0
if 
  $9341 == 1
goto_if_false @WOF_8017
if 
  $9331[2] > 0
goto_if_false @WOF_8017
$9342 = 2
mult_int_var_by_int_var $9342 *= $9331[2]

:WOF_8017
if 
  $9341 == 2
goto_if_false @WOF_8068
if 
  $9331[4] > 0
goto_if_false @WOF_8068
$9342 = 3
mult_int_var_by_int_var $9342 *= $9331[4]

:WOF_8068
if 
  $9341 == 5
goto_if_false @WOF_8119
if 
  $9331[1] > 0
goto_if_false @WOF_8119
$9342 = 6
mult_int_var_by_int_var $9342 *= $9331[1]

:WOF_8119
if 
  $9341 == 10
goto_if_false @WOF_8170
if 
  $9331[3] > 0
goto_if_false @WOF_8170
$9342 = 11
mult_int_var_by_int_var $9342 *= $9331[3]

:WOF_8170
if 
  $9341 == 20
goto_if_false @WOF_8221
if 
  $9331[0] > 0
goto_if_false @WOF_8221
$9342 = 21
mult_int_var_by_int_var $9342 *= $9331[0]

:WOF_8221
if 
  $9341 == 40
goto_if_false @WOF_8272
if 
  $9331[5] > 0
goto_if_false @WOF_8272
$9342 = 41
mult_int_var_by_int_var $9342 *= $9331[5]

:WOF_8272
TIMERA = 0
set_lvar_int_to_var_int 10@ = $9342
sub_int_var_from_int_lvar 10@ -= $wof_y2
Player.AddScore($statbike_temp, $9342)
if 
  10@ > 0
goto_if_false @WOF_8335
Stat.IncrementInt(StatId.MoneyWonGambling, 10@)
goto @WOF_8335

:WOF_8335
start_new_script @CASHWIN 10@ 3000 
Stat.ShowUpdateStats(False)
if 
  10@ > 0
goto_if_false @WOF_9008
Stat.RegisterInt(StatId.BiggestGamblingWin, 10@)
cset_lvar_float_to_lvar_int 8@ =# 10@
cset_lvar_float_to_lvar_int 9@ =# 19@
div_float_lvar_by_float_lvar 8@ /= 9@
$9329 += 1
if 
  3 > $9329
goto_if_false @WOF_8837
if 
  8@ > 0.9
goto_if_false @WOF_8659
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WOF_8652
if 
  not Char.IsDead(7@)
goto_if_false @WOF_8652
10@ = Math.RandomIntInRange(0, 5)
switch_start 10@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @WOF_8638 {caseNum1} 0 {caseLabel1} @WOF_8552 {caseNum2} 1 {caseLabel2} @WOF_8575 {caseNum3} 2 {caseLabel3} @WOF_8598 {caseNum4} 3 {caseLabel4} @WOF_8621 {caseNum5} -1 {caseLabel5} @WOF_8652 {caseNum6} -1 {caseLabel6} @WOF_8652 {caseNum7} -1 {caseLabel7} @WOF_8652

:WOF_8552
Char.SetSayScript(7@, 43648, True, True, False)
goto @WOF_8652

:WOF_8575
Char.SetSayScript(7@, 43649, True, True, False)
goto @WOF_8652

:WOF_8598
Char.SetSayScript(7@, 43650, True, True, False)
goto @WOF_8652

:WOF_8621
10@ = Char.SetSayContext($stattreadstamina_ctr, 100)
goto @WOF_8652

:WOF_8638
gosub @WOF_9232
goto @WOF_8652

:WOF_8652
goto @WOF_8830

:WOF_8659
if 
  not Char.IsDead(7@)
goto_if_false @WOF_8830
10@ = Math.RandomIntInRange(0, 10)
switch_start 10@ {numCases} 3 {hasDefaultCase} 1 {defaultLabel} @WOF_8816 {caseNum1} 0 {caseLabel1} @WOF_8747 {caseNum2} 1 {caseLabel2} @WOF_8770 {caseNum3} 2 {caseLabel3} @WOF_8793 {caseNum4} -1 {caseLabel4} @WOF_8830 {caseNum5} -1 {caseLabel5} @WOF_8830 {caseNum6} -1 {caseLabel6} @WOF_8830 {caseNum7} -1 {caseLabel7} @WOF_8830

:WOF_8747
Char.SetSayScript(7@, 43648, True, True, False)
goto @WOF_8830

:WOF_8770
Char.SetSayScript(7@, 43649, True, True, False)
goto @WOF_8830

:WOF_8793
Char.SetSayScript(7@, 43650, True, True, False)
goto @WOF_8830

:WOF_8816
gosub @WOF_9232
goto @WOF_8830

:WOF_8830
goto @WOF_9001

:WOF_8837
if 
  not Char.IsDead(7@)
goto_if_false @WOF_8994
10@ = Math.RandomIntInRange(0, 3)
switch_start 10@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @WOF_8994 {caseNum1} 0 {caseLabel1} @WOF_8925 {caseNum2} 1 {caseLabel2} @WOF_8948 {caseNum3} 2 {caseLabel3} @WOF_8971 {caseNum4} -1 {caseLabel4} @WOF_8994 {caseNum5} -1 {caseLabel5} @WOF_8994 {caseNum6} -1 {caseLabel6} @WOF_8994 {caseNum7} -1 {caseLabel7} @WOF_8994

:WOF_8925
Char.SetSayScript(7@, 43662, True, True, False)
goto @WOF_8994

:WOF_8948
Char.SetSayScript(7@, 43663, True, True, False)
goto @WOF_8994

:WOF_8971
Char.SetSayScript(7@, 43664, True, True, False)
goto @WOF_8994

:WOF_8994
$9329 = 0

:WOF_9001
goto @WOF_9043

:WOF_9008
10@ *= -1
Stat.RegisterInt(StatId.BiggestGamblingLoss, 10@)
10@ *= -1
gosub @WOF_9232
$9329 = 0

:WOF_9043
Stat.ShowUpdateStats(True)
6@ += 1

:WOF_9054
if 
  6@ == 1
goto_if_false @WOF_9105
if 
  3000 > TIMERA
goto_if_false @WOF_9098
goto @WOF_9105

:WOF_9098
6@ += 1

:WOF_9105
if 
  6@ == 2
goto_if_false @WOF_9198
Text.PrintHelpForever('WOF_09')
10@ = 0

:WOF_9141
if 
  6 > 10@
goto_if_false @WOF_9184
$9331(10@,6i) = 0
10@ += 1
goto @WOF_9141

:WOF_9184
TIMERA = 0
6@ = 99

:WOF_9198
if 
  6@ == 99
goto_if_false @WOF_9230
TIMERA = 0
5@ += 1

:WOF_9230
return 

:WOF_9232
if 
  not Char.IsDead(7@)
goto_if_false @WOF_9499
switch_start $9341 {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @WOF_9499 {caseNum1} 1 {caseLabel1} @WOF_9311 {caseNum2} 2 {caseLabel2} @WOF_9334 {caseNum3} 5 {caseLabel3} @WOF_9357 {caseNum4} 10 {caseLabel4} @WOF_9380 {caseNum5} 20 {caseLabel5} @WOF_9403 {caseNum6} 40 {caseLabel6} @WOF_9426 {caseNum7} -1 {caseLabel7} @WOF_9499

:WOF_9311
Char.SetSayScript(7@, 43655, True, True, False)
goto @WOF_9499

:WOF_9334
Char.SetSayScript(7@, 43656, True, True, False)
goto @WOF_9499

:WOF_9357
Char.SetSayScript(7@, 43657, True, True, False)
goto @WOF_9499

:WOF_9380
Char.SetSayScript(7@, 43658, True, True, False)
goto @WOF_9499

:WOF_9403
Char.SetSayScript(7@, 43659, True, True, False)
goto @WOF_9499

:WOF_9426
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @WOF_9476
Char.SetSayScript(7@, 43660, True, True, False)
goto @WOF_9492

:WOF_9476
Char.SetSayScript(7@, 43661, True, True, False)

:WOF_9492
goto @WOF_9499

:WOF_9499
return 

:WOF_9501
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @WOF_9544
16@ = -1
Text.ClearPrints
Text.ClearHelp
5@ = 1
6@ = 0

:WOF_9544
return 
$bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set = Hud.GetColor(6)
Text.SetColor($bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set)
Text.SetFont(Font.Pricedown)
Text.SetEdge(3, 0, 0, 0, 255)
Text.SetScale(1.2, 4.0)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
return 
$bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set = Hud.GetColor(0)
Text.SetColor($bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set)
Text.SetFont(Font.Pricedown)
Text.SetEdge(3, 0, 0, 0, 255)
Text.SetScale(1.2, 4.0)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
return 
$bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set = Hud.GetColor(HudObject.Health)
Text.SetColor($bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set)
Text.SetFont(Font.Pricedown)
Text.SetEdge(3, 0, 0, 0, 255)
Text.SetScale(1.2, 4.0)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
return 
$bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set = Hud.GetColor(HudObject.Health)
Text.SetColor($bj_initial_last_bet, $bj_offering_credit, $total_bj_tables, $bj_chip_set)
Text.SetFont(Font.Menu)
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetScale(0.52, 1.45)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
return 

:WOF_9898
switch_start 25@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @WOF_10597 {caseNum1} 0 {caseLabel1} @WOF_9961 {caseNum2} 1 {caseLabel2} @WOF_9997 {caseNum3} 2 {caseLabel3} @WOF_10056 {caseNum4} 3 {caseLabel4} @WOF_10226 {caseNum5} 4 {caseLabel5} @WOF_10590 {caseNum6} -1 {caseLabel6} @WOF_10597 {caseNum7} -1 {caseLabel7} @WOF_10597

:WOF_9961
24@ = Math.RandomFloatInRange(0.1, 0.15)
TIMERB = 0
25@ += 1
goto @WOF_10597

:WOF_9997
add_timed_float_lvar_to_float_lvar 23@ +=@ 24@
add_timed_float_lvar_to_float_lvar 22@ +=@ 23@
if 
  TIMERB > 500
goto_if_false @WOF_10049
24@ = -0.005
25@ += 1

:WOF_10049
goto @WOF_10597

:WOF_10056
add_timed_float_lvar_to_float_lvar 23@ +=@ 24@
add_timed_float_lvar_to_float_lvar 22@ +=@ 23@
if 
  0.3 > 23@
goto_if_false @WOF_10219
set_lvar_float_to_lvar_float 21@ = 22@
set_lvar_float_to_lvar_float 8@ = 21@
8@ /= 6.6667
cset_lvar_int_to_lvar_float 10@ =# 8@
cset_lvar_float_to_lvar_int 9@ =# 10@
sub_float_lvar_from_float_lvar 8@ -= 9@
8@ += -1.0
8@ *= -1.0
8@ *= 6.666667
add_float_lvar_to_float_lvar 21@ += 8@
if 
  21@ > 360.0
goto_if_false @WOF_10212
21@ += -360.0

:WOF_10212
25@ += 1

:WOF_10219
goto @WOF_10597

:WOF_10226
set_lvar_float_to_lvar_float 8@ = 22@
sub_float_lvar_from_float_lvar 8@ -= 21@
if 
  -180.0 > 8@
goto_if_false @WOF_10273
8@ += 360.0

:WOF_10273
if 
  8@ > 180.0
goto_if_false @WOF_10304
8@ += -360.0

:WOF_10304
if 
  23@ > 0.01
goto_if_false @WOF_10422
if 
  8@ > 3.333333
goto_if_false @WOF_10415
set_lvar_float_to_lvar_float 22@ = 21@
22@ += 3.333333
if 
  22@ > 360.0
goto_if_false @WOF_10395
22@ += -360.0

:WOF_10395
23@ *= -1.0
24@ *= -1.0

:WOF_10415
goto @WOF_10567

:WOF_10422
if 
  -0.01 > 23@
goto_if_false @WOF_10540
if 
  -3.333333 > 8@
goto_if_false @WOF_10533
set_lvar_float_to_lvar_float 22@ = 21@
22@ -= 3.333333
if 
  0.0 > 22@
goto_if_false @WOF_10513
22@ += 360.0

:WOF_10513
23@ *= -1.0
24@ *= -1.0

:WOF_10533
goto @WOF_10567

:WOF_10540
23@ = 0.0
24@ = 0.0
25@ += 1

:WOF_10567
add_timed_float_lvar_to_float_lvar 23@ +=@ 24@
add_timed_float_lvar_to_float_lvar 22@ +=@ 23@
goto @WOF_10597

:WOF_10590
goto @WOF_10597

:WOF_10597
if 
  23@ <> 0.0
goto_if_false @WOF_10696
if 
  22@ > 360.0
goto_if_false @WOF_10649
22@ += -360.0

:WOF_10649
if 
  0.0 > 22@
goto_if_false @WOF_10680
22@ += 360.0

:WOF_10680
Object.SetRotation(0@, 0.0, 22@, 20@)

:WOF_10696
if 
  Object.DoesExist(1@)
goto_if_false @WOF_11179
if 
  23@ > 0.2
goto_if_false @WOF_11101
if 
  0.8 > 23@
goto_if_false @WOF_11038
set_lvar_float_to_lvar_float 8@ = 22@
8@ += 3.33333
8@ /= 6.6667
cset_lvar_int_to_lvar_float 10@ =# 8@
cset_lvar_float_to_lvar_int 9@ =# 10@
sub_float_lvar_from_float_lvar 8@ -= 9@
8@ += -1.0
8@ *= -1.0
8@ *= 6.666667
if 
  8@ > 5.0
goto_if_false @WOF_10965
8@ += -5.0
8@ /= 1.66667
8@ += -1.0
8@ *= -1.0
8@ *= 5.0
set_lvar_float_to_lvar_float 26@ = 8@
26@ *= -1.0
if 
  27@ <> 1
goto_if_false @WOF_10958
Audio.ReportMissionAudioEventAtObject(1@, 1027)
27@ = 1

:WOF_10958
goto @WOF_11031

:WOF_10965
add_timed_val_to_float_lvar 26@ +=@ 0.5
if 
  26@ > 0.0
goto_if_false @WOF_11006
26@ = 0.0

:WOF_11006
if 
  27@ <> 0
goto_if_false @WOF_11031
27@ = 0

:WOF_11031
goto @WOF_11094

:WOF_11038
if 
  26@ == -5.0
goto_if_false @WOF_11084
26@ = -2.0
Audio.ReportMissionAudioEventAtObject(1@, 1027)
goto @WOF_11094

:WOF_11084
26@ = -5.0

:WOF_11094
goto @WOF_11163

:WOF_11101
if 
  0.0 > 26@
goto_if_false @WOF_11163
add_timed_val_to_float_lvar 26@ +=@ 0.5
if 
  26@ > 0.0
goto_if_false @WOF_11163
26@ = 0.0

:WOF_11163
Object.SetRotation(1@, 0.0, 26@, 20@)

:WOF_11179
return 

:WOF_11181
Game.SetMinigameInProgress(False)
13@ = 0
5@ = 0
6@ = 0
if 
  $wof_z2 > 0
goto_if_false @WOF_11232
Player.AddScore($statbike_temp, $wof_z2)

:WOF_11232
$wof_z2 = 0
if 
  not Char.IsDead(7@)
goto_if_false @WOF_11321
10@ = Math.RandomIntInRange(0, 2)
if 
  10@ == 0
goto_if_false @WOF_11305
Char.SetSayScript(7@, 43653, True, True, False)
goto @WOF_11321

:WOF_11305
Char.SetSayScript(7@, 43654, True, True, False)

:WOF_11321
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WOF_11344
Player.SetControl($statbike_temp, True)

:WOF_11344
terminate_all_scripts_with_this_name 'CASHWIN'
Text.UseCommands(False)
Hud.DisplayRadar(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
10@ = 0

:WOF_11374
if 
  6 > 10@
goto_if_false @WOF_11478
Object.Delete($9343(10@,6i))
Object.Delete($9349(10@,6i))
Object.Delete($9355(10@,6i))
Object.Delete($9361(10@,6i))
Object.Delete($9367(10@,6i))
Object.Delete($9373(10@,6i))
Object.Delete($9379(10@,6i))
Object.Delete($9385(10@,6i))
10@ += 1
goto @WOF_11374

:WOF_11478
Object.Delete($active_wheel)
Menu.Delete($wof_x2)
if and
  not Text.IsThisHelpMessageBeingDisplayed('SGPUNT')
  not Text.IsThisHelpMessageBeingDisplayed('SGGAMB')
  not Text.IsThisHelpMessageBeingDisplayed('SGPROF')
  not Text.IsThisHelpMessageBeingDisplayed('SGHIRO')
goto_if_false @WOF_11545
Text.ClearHelp

:WOF_11545
return 

:WOF_11547
8@ = Stat.GetFloat(StatId.Gambling)
if 
  1.0 > 8@
goto_if_false @WOF_11589
$colour_a = 100
goto @WOF_11709

:WOF_11589
if 
  10.0 > 8@
goto_if_false @WOF_11625
$colour_a = 1000
goto @WOF_11709

:WOF_11625
if 
  100.0 > 8@
goto_if_false @WOF_11661
$colour_a = 10000
goto @WOF_11709

:WOF_11661
if 
  1000.0 > 8@
goto_if_false @WOF_11699
$colour_a = 100000
goto @WOF_11709

:WOF_11699
$colour_a = 1000000

:WOF_11709
return 
Text.SetScale(0.4487, 1.5974)
Text.SetColor(128, 148, 178, 255)
Text.SetJustify(True)
Text.SetWrapX(2000.0)
Text.SetProportional(True)
return 

:WOF_11754
Text.SetColor(180, 180, 180, 255)
Text.SetScale(0.4714, 2.5077)
Text.SetRightJustify(False)
Text.SetJustify(False)
Text.SetCenter(False)
Text.SetWrapX(640.0)
Text.SetProportional(True)
Text.SetBackground(False)
return 

:WOF_11809
if 
  $9340 == 1
goto_if_false @WOF_11841
$9341 = 40
goto @WOF_13537

:WOF_11841
if 
  $9340 == 2
goto_if_false @WOF_11873
$9341 = 2
goto @WOF_13537

:WOF_11873
if 
  $9340 == 3
goto_if_false @WOF_11905
$9341 = 10
goto @WOF_13537

:WOF_11905
if 
  $9340 == 4
goto_if_false @WOF_11937
$9341 = 1
goto @WOF_13537

:WOF_11937
if 
  $9340 == 5
goto_if_false @WOF_11969
$9341 = 2
goto @WOF_13537

:WOF_11969
if 
  $9340 == 6
goto_if_false @WOF_12001
$9341 = 1
goto @WOF_13537

:WOF_12001
if 
  $9340 == 7
goto_if_false @WOF_12033
$9341 = 5
goto @WOF_13537

:WOF_12033
if 
  $9340 == 8
goto_if_false @WOF_12065
$9341 = 1
goto @WOF_13537

:WOF_12065
if 
  $9340 == 9
goto_if_false @WOF_12097
$9341 = 2
goto @WOF_13537

:WOF_12097
if 
  $9340 == 10
goto_if_false @WOF_12129
$9341 = 10
goto @WOF_13537

:WOF_12129
if 
  $9340 == 11
goto_if_false @WOF_12161
$9341 = 1
goto @WOF_13537

:WOF_12161
if 
  $9340 == 12
goto_if_false @WOF_12193
$9341 = 2
goto @WOF_13537

:WOF_12193
if 
  $9340 == 13
goto_if_false @WOF_12225
$9341 = 1
goto @WOF_13537

:WOF_12225
if 
  $9340 == 14
goto_if_false @WOF_12257
$9341 = 5
goto @WOF_13537

:WOF_12257
if 
  $9340 == 15
goto_if_false @WOF_12289
$9341 = 2
goto @WOF_13537

:WOF_12289
if 
  $9340 == 16
goto_if_false @WOF_12321
$9341 = 1
goto @WOF_13537

:WOF_12321
if 
  $9340 == 17
goto_if_false @WOF_12353
$9341 = 20
goto @WOF_13537

:WOF_12353
if 
  $9340 == 18
goto_if_false @WOF_12385
$9341 = 1
goto @WOF_13537

:WOF_12385
if 
  $9340 == 19
goto_if_false @WOF_12417
$9341 = 2
goto @WOF_13537

:WOF_12417
if 
  $9340 == 20
goto_if_false @WOF_12449
$9341 = 5
goto @WOF_13537

:WOF_12449
if 
  $9340 == 21
goto_if_false @WOF_12481
$9341 = 10
goto @WOF_13537

:WOF_12481
if 
  $9340 == 22
goto_if_false @WOF_12513
$9341 = 1
goto @WOF_13537

:WOF_12513
if 
  $9340 == 23
goto_if_false @WOF_12545
$9341 = 2
goto @WOF_13537

:WOF_12545
if 
  $9340 == 24
goto_if_false @WOF_12577
$9341 = 1
goto @WOF_13537

:WOF_12577
if 
  $9340 == 25
goto_if_false @WOF_12609
$9341 = 5
goto @WOF_13537

:WOF_12609
if 
  $9340 == 26
goto_if_false @WOF_12641
$9341 = 1
goto @WOF_13537

:WOF_12641
if 
  $9340 == 27
goto_if_false @WOF_12673
$9341 = 2
goto @WOF_13537

:WOF_12673
if 
  $9340 == 28
goto_if_false @WOF_12705
$9341 = 1
goto @WOF_13537

:WOF_12705
if 
  $9340 == 29
goto_if_false @WOF_12737
$9341 = 40
goto @WOF_13537

:WOF_12737
if 
  $9340 == 30
goto_if_false @WOF_12769
$9341 = 2
goto @WOF_13537

:WOF_12769
if 
  $9340 == 31
goto_if_false @WOF_12801
$9341 = 1
goto @WOF_13537

:WOF_12801
if 
  $9340 == 32
goto_if_false @WOF_12833
$9341 = 2
goto @WOF_13537

:WOF_12833
if 
  $9340 == 33
goto_if_false @WOF_12865
$9341 = 1
goto @WOF_13537

:WOF_12865
if 
  $9340 == 34
goto_if_false @WOF_12897
$9341 = 2
goto @WOF_13537

:WOF_12897
if 
  $9340 == 35
goto_if_false @WOF_12929
$9341 = 5
goto @WOF_13537

:WOF_12929
if 
  $9340 == 36
goto_if_false @WOF_12961
$9341 = 1
goto @WOF_13537

:WOF_12961
if 
  $9340 == 37
goto_if_false @WOF_12993
$9341 = 2
goto @WOF_13537

:WOF_12993
if 
  $9340 == 38
goto_if_false @WOF_13025
$9341 = 1
goto @WOF_13537

:WOF_13025
if 
  $9340 == 39
goto_if_false @WOF_13057
$9341 = 5
goto @WOF_13537

:WOF_13057
if 
  $9340 == 40
goto_if_false @WOF_13089
$9341 = 1
goto @WOF_13537

:WOF_13089
if 
  $9340 == 41
goto_if_false @WOF_13121
$9341 = 20
goto @WOF_13537

:WOF_13121
if 
  $9340 == 42
goto_if_false @WOF_13153
$9341 = 1
goto @WOF_13537

:WOF_13153
if 
  $9340 == 43
goto_if_false @WOF_13185
$9341 = 10
goto @WOF_13537

:WOF_13185
if 
  $9340 == 44
goto_if_false @WOF_13217
$9341 = 1
goto @WOF_13537

:WOF_13217
if 
  $9340 == 45
goto_if_false @WOF_13249
$9341 = 2
goto @WOF_13537

:WOF_13249
if 
  $9340 == 46
goto_if_false @WOF_13281
$9341 = 1
goto @WOF_13537

:WOF_13281
if 
  $9340 == 47
goto_if_false @WOF_13313
$9341 = 5
goto @WOF_13537

:WOF_13313
if 
  $9340 == 48
goto_if_false @WOF_13345
$9341 = 1
goto @WOF_13537

:WOF_13345
if 
  $9340 == 49
goto_if_false @WOF_13377
$9341 = 2
goto @WOF_13537

:WOF_13377
if 
  $9340 == 50
goto_if_false @WOF_13409
$9341 = 1
goto @WOF_13537

:WOF_13409
if 
  $9340 == 51
goto_if_false @WOF_13441
$9341 = 5
goto @WOF_13537

:WOF_13441
if 
  $9340 == 52
goto_if_false @WOF_13473
$9341 = 1
goto @WOF_13537

:WOF_13473
if 
  $9340 == 53
goto_if_false @WOF_13505
$9341 = 2
goto @WOF_13537

:WOF_13505
if 
  $9340 == 54
goto_if_false @WOF_13537
$9341 = 1
goto @WOF_13537

:WOF_13537
return 

:WOF_13539
if 
is_ps2_keyboard_key_just_pressed 85
goto_if_false @WOF_13581
$9391 += 0.001
write_debug_with_float "CHIP_SET_Z" {_p2} $9391

:WOF_13581
if 
is_ps2_keyboard_key_just_pressed 74
goto_if_false @WOF_13623
$9391 += -0.001
write_debug_with_float "CHIP_SET_Z" {_p2} $9391

:WOF_13623
10@ = 0

:WOF_13630
if 
  6 > 10@
goto_if_false @WOF_15509
set_lvar_int_to_var_int 12@ = $9331(10@,6i)
cset_lvar_float_to_lvar_int 8@ =# 12@
8@ /= 1.0
if 
  8@ > 10.0
goto_if_false @WOF_13709
8@ = 10.0

:WOF_13709
cset_lvar_int_to_lvar_float 11@ =# 8@
cset_lvar_float_to_lvar_int 9@ =# 11@
9@ *= 0.0126
if 
  11@ > 0
goto_if_false @WOF_13763
9@ += 0.03

:WOF_13763
set_var_float_to_var_float $9392(10@,6f) = $9391
add_float_lvar_to_float_var $9392(10@,6f) += 9@
11@ *= -1
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9343(10@,6i))
goto_if_false @WOF_13889
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9343(10@,6i))
8@, 8@, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, 0.0, $9392(10@,6f))
Object.SetCoordinates($9343(10@,6i), $on_footY, $on_footZ, $in_carX)

:WOF_13889
cset_lvar_float_to_lvar_int 8@ =# 12@
8@ /= 5.0
if 
  8@ > 10.0
goto_if_false @WOF_13938
8@ = 10.0

:WOF_13938
cset_lvar_int_to_lvar_float 11@ =# 8@
cset_lvar_float_to_lvar_int 9@ =# 11@
9@ *= 0.0126
if 
  11@ > 0
goto_if_false @WOF_13992
9@ += 0.03

:WOF_13992
set_var_float_to_var_float $9398(10@,6f) = $9391
add_float_lvar_to_float_var $9398(10@,6f) += 9@
11@ *= -5
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9349(10@,6i))
goto_if_false @WOF_14118
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9349(10@,6i))
8@, 8@, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, 0.0, $9398(10@,6f))
Object.SetCoordinates($9349(10@,6i), $on_footY, $on_footZ, $in_carX)

:WOF_14118
cset_lvar_float_to_lvar_int 8@ =# 12@
8@ /= 10.0
if 
  8@ > 10.0
goto_if_false @WOF_14167
8@ = 10.0

:WOF_14167
cset_lvar_int_to_lvar_float 11@ =# 8@
cset_lvar_float_to_lvar_int 9@ =# 11@
9@ *= 0.0126
if 
  11@ > 0
goto_if_false @WOF_14221
9@ += 0.03

:WOF_14221
set_var_float_to_var_float $9404(10@,6f) = $9391
add_float_lvar_to_float_var $9404(10@,6f) += 9@
11@ *= -10
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9355(10@,6i))
goto_if_false @WOF_14347
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9355(10@,6i))
8@, 8@, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, 0.0, $9404(10@,6f))
Object.SetCoordinates($9355(10@,6i), $on_footY, $on_footZ, $in_carX)

:WOF_14347
cset_lvar_float_to_lvar_int 8@ =# 12@
8@ /= 50.0
if 
  8@ > 10.0
goto_if_false @WOF_14396
8@ = 10.0

:WOF_14396
cset_lvar_int_to_lvar_float 11@ =# 8@
cset_lvar_float_to_lvar_int 9@ =# 11@
9@ *= 0.0126
if 
  11@ > 0
goto_if_false @WOF_14450
9@ += 0.03

:WOF_14450
set_var_float_to_var_float $9410(10@,6f) = $9391
add_float_lvar_to_float_var $9410(10@,6f) += 9@
11@ *= -50
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9361(10@,6i))
goto_if_false @WOF_14576
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9361(10@,6i))
8@, 8@, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, 0.0, $9410(10@,6f))
Object.SetCoordinates($9361(10@,6i), $on_footY, $on_footZ, $in_carX)

:WOF_14576
cset_lvar_float_to_lvar_int 8@ =# 12@
8@ /= 100.0
if 
  8@ > 10.0
goto_if_false @WOF_14625
8@ = 10.0

:WOF_14625
cset_lvar_int_to_lvar_float 11@ =# 8@
cset_lvar_float_to_lvar_int 9@ =# 11@
9@ *= 0.0126
if 
  11@ > 0
goto_if_false @WOF_14679
9@ += 0.03

:WOF_14679
set_var_float_to_var_float $9416(10@,6f) = $9391
add_float_lvar_to_float_var $9416(10@,6f) += 9@
11@ *= -100
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9367(10@,6i))
goto_if_false @WOF_14805
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9367(10@,6i))
8@, 8@, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, 0.0, $9416(10@,6f))
Object.SetCoordinates($9367(10@,6i), $on_footY, $on_footZ, $in_carX)

:WOF_14805
cset_lvar_float_to_lvar_int 8@ =# 12@
8@ /= 200.0
if 
  8@ > 10.0
goto_if_false @WOF_14854
8@ = 10.0

:WOF_14854
cset_lvar_int_to_lvar_float 11@ =# 8@
cset_lvar_float_to_lvar_int 9@ =# 11@
9@ *= 0.0126
if 
  11@ > 0
goto_if_false @WOF_14908
9@ += 0.03

:WOF_14908
set_var_float_to_var_float $9422(10@,6f) = $9391
add_float_lvar_to_float_var $9422(10@,6f) += 9@
11@ *= -200
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9373(10@,6i))
goto_if_false @WOF_15035
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9373(10@,6i))
8@, 8@, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, 0.0, $9422(10@,6f))
Object.SetCoordinates($9373(10@,6i), $on_footY, $on_footZ, $in_carX)

:WOF_15035
cset_lvar_float_to_lvar_int 8@ =# 12@
8@ /= 500.0
if 
  8@ > 10.0
goto_if_false @WOF_15084
8@ = 10.0

:WOF_15084
cset_lvar_int_to_lvar_float 11@ =# 8@
cset_lvar_float_to_lvar_int 9@ =# 11@
9@ *= 0.0126
if 
  11@ > 0
goto_if_false @WOF_15138
9@ += 0.03

:WOF_15138
set_var_float_to_var_float $9428(10@,6f) = $9391
add_float_lvar_to_float_var $9428(10@,6f) += 9@
11@ *= -500
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9379(10@,6i))
goto_if_false @WOF_15265
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9379(10@,6i))
8@, 8@, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, 0.0, $9428(10@,6f))
Object.SetCoordinates($9379(10@,6i), $on_footY, $on_footZ, $in_carX)

:WOF_15265
cset_lvar_float_to_lvar_int 8@ =# 12@
8@ /= 1000.0
if 
  8@ > 10.0
goto_if_false @WOF_15314
8@ = 10.0

:WOF_15314
cset_lvar_int_to_lvar_float 11@ =# 8@
cset_lvar_float_to_lvar_int 9@ =# 11@
9@ *= 0.0126
if 
  11@ > 0
goto_if_false @WOF_15368
9@ += 0.03

:WOF_15368
set_var_float_to_var_float $9434(10@,6f) = $9391
add_float_lvar_to_float_var $9434(10@,6f) += 9@
11@ *= -1000
add_int_lvar_to_int_lvar 12@ += 11@
if 
  Object.DoesExist($9385(10@,6i))
goto_if_false @WOF_15495
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($9385(10@,6i))
8@, 8@, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, 0.0, $9434(10@,6f))
Object.SetCoordinates($9385(10@,6i), $on_footY, $on_footZ, $in_carX)

:WOF_15495
10@ += 1
goto @WOF_13630

:WOF_15509
return 

:WOF_15511
if 
  Object.DoesExist(0@)
goto_if_false @WOF_15871
8@ = Stat.GetFloat(StatId.Gambling)
if 
  $homeless_brain_flag == 0
goto_if_false @WOF_15721
if 
  1.0 > 8@
goto_if_false @WOF_15587
19@ = 100
goto @WOF_15707

:WOF_15587
if 
  10.0 > 8@
goto_if_false @WOF_15623
19@ = 1000
goto @WOF_15707

:WOF_15623
if 
  100.0 > 8@
goto_if_false @WOF_15659
19@ = 10000
goto @WOF_15707

:WOF_15659
if 
  1000.0 > 8@
goto_if_false @WOF_15697
19@ = 100000
goto @WOF_15707

:WOF_15697
19@ = 1000000

:WOF_15707
$homeless_brain_flag += 1
goto @WOF_15871

:WOF_15721
10@ = Math.RandomIntInRange(0, 5)
switch_start 10@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @WOF_15871 {caseNum1} 0 {caseLabel1} @WOF_15793 {caseNum2} 1 {caseLabel2} @WOF_15807 {caseNum3} 2 {caseLabel3} @WOF_15822 {caseNum4} 3 {caseLabel4} @WOF_15837 {caseNum5} 4 {caseLabel5} @WOF_15854 {caseNum6} -1 {caseLabel6} @WOF_15871 {caseNum7} -1 {caseLabel7} @WOF_15871

:WOF_15793
19@ = 100
goto @WOF_15871

:WOF_15807
19@ = 1000
goto @WOF_15871

:WOF_15822
19@ = 10000
goto @WOF_15871

:WOF_15837
19@ = 100000
goto @WOF_15871

:WOF_15854
19@ = 1000000
goto @WOF_15871

:WOF_15871
return 
$on_footY, $on_footZ, $in_carX = Camera.GetDebugCoordinates()
if 
  Object.DoesExist(4@)
goto_if_false @WOF_15922
$wof_vec_y, $wof_vec_z, $wof_vec2_x = Object.GetCoordinates(4@)
$on_footX = Object.GetHeading(4@)

:WOF_15922
$on_footX *= -1.0
8@ = Math.Cos($on_footX)
9@ = Math.Sin($on_footX)
set_var_float_to_var_float $wof_vec2_y = $on_footY
sub_float_var_from_float_var $wof_vec2_y -= $wof_vec_y
set_var_float_to_var_float $wof_temp_float3 = $on_footZ
sub_float_var_from_float_var $wof_temp_float3 -= $wof_vec_z
set_var_float_to_var_float $total_wof_tables = $in_carX
sub_float_var_from_float_var $total_wof_tables -= $wof_vec2_x
set_var_float_to_var_float $txtGlobalDealerZoneName = $wof_vec2_y
mult_float_var_by_float_lvar $txtGlobalDealerZoneName *= 8@
set_var_float_to_var_float $iMyDM = $wof_temp_float3
mult_float_var_by_float_lvar $iMyDM *= 9@
sub_float_var_from_float_var $txtGlobalDealerZoneName -= $iMyDM
set_var_float_to_var_float $9452 = $wof_vec2_y
mult_float_var_by_float_lvar $9452 *= 9@
set_var_float_to_var_float $iMyDM = $wof_temp_float3
mult_float_var_by_float_lvar $iMyDM *= 8@
add_float_var_to_float_var $9452 += $iMyDM
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("FIXED_CAMERA_POSITION - OFFSET FROM TABLE = ")
save_float_to_debug_file $txtGlobalDealerZoneName
save_float_to_debug_file $9452
save_float_to_debug_file $total_wof_tables
$on_footY, $on_footZ, $in_carX = Camera.GetDebugPointAt()
set_var_float_to_var_float $wof_vec2_y = $on_footY
sub_float_var_from_float_var $wof_vec2_y -= $wof_vec_y
set_var_float_to_var_float $wof_temp_float3 = $on_footZ
sub_float_var_from_float_var $wof_temp_float3 -= $wof_vec_z
set_var_float_to_var_float $total_wof_tables = $in_carX
sub_float_var_from_float_var $total_wof_tables -= $wof_vec2_x
set_var_float_to_var_float $txtGlobalDealerZoneName = $wof_vec2_y
mult_float_var_by_float_lvar $txtGlobalDealerZoneName *= 8@
set_var_float_to_var_float $iMyDM = $wof_temp_float3
mult_float_var_by_float_lvar $iMyDM *= 9@
sub_float_var_from_float_var $txtGlobalDealerZoneName -= $iMyDM
set_var_float_to_var_float $9452 = $wof_vec2_y
mult_float_var_by_float_lvar $9452 *= 9@
set_var_float_to_var_float $iMyDM = $wof_temp_float3
mult_float_var_by_float_lvar $iMyDM *= 8@
add_float_var_to_float_var $9452 += $iMyDM
save_newline_to_debug_file 
Debugger.SaveStringToDebugFile("CAMERA_POINT_AT -       OFFSET FROM TABLE = ")
save_float_to_debug_file $txtGlobalDealerZoneName
save_float_to_debug_file $9452
save_float_to_debug_file $total_wof_tables
return 
terminate_this_script 

//-------------External script 19 (DEALER)---------------

:DEALER
script_name 'DEALER'
13@ = 0
if 
  13@ == 1
goto_if_false @DEALER_60
0@ = Char.Create(PedType.Dealer, 0, 0.0, 0.0, 0.0)

:DEALER_60
1@ = 0
2@ = 0
11@ = -1
14@ = 0
if and
  not Char.IsDead(0@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DEALER_338
3@, 4@, 5@ = Char.GetCoordinates(0@)
s$homeless_number = Zone.GetName(3@, 4@, 5@)
set_lvar_text_label 17@s = s$homeless_number
$active_pool_table = DecisionMakerChar.CopyShared(65539)
Char.SetDecisionMaker(0@, $active_pool_table)
Char.SetMoney(0@, 2000)
Conversation.StartSettingUp(0@)
Conversation.SetUpNodeWithSpeech('DEAL1', 'DEAL2', 'DEAL3', 191, 77, 78)
13@ = Stat.GetInt(StatId.RespectTotal)
if 
  13@ >= 500
goto_if_false @DEALER_271
Conversation.SetUpEndNodeWithSpeech('DEAL2', 79)
Conversation.SetUpEndNodeWithSpeech('DEAL3', 75)
goto @DEALER_297

:DEALER_271
Conversation.SetUpEndNodeWithSpeech('DEAL2', 80)
Conversation.SetUpEndNodeWithSpeech('DEAL3', 76)

:DEALER_297
13@ = Game.GetCurrentLanguage()
if 
  is_int_lvar_equal_to_constant 13@ == 0
goto_if_false @DEALER_329
Conversation.FinishSettingUpNoSubtitles
goto @DEALER_331

:DEALER_329
Conversation.FinishSettingUp

:DEALER_331
goto @DEALER_345

:DEALER_338
gosub @DEALER_3913

:DEALER_345
wait 0
if 
  not Char.IsDead(0@)
goto_if_false @DEALER_471
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DEALER_457
if or
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, 0@)
goto_if_false @DEALER_429
gosub @DEALER_641
gosub @DEALER_3368
goto @DEALER_450

:DEALER_429
gosub @DEALER_846
gosub @DEALER_485
gosub @DEALER_931

:DEALER_450
goto @DEALER_464

:DEALER_457
gosub @DEALER_3913

:DEALER_464
goto @DEALER_478

:DEALER_471
gosub @DEALER_3913

:DEALER_478
goto @DEALER_345

:DEALER_485
if 
  11@ == -1
goto_if_false @DEALER_604
if 
  TIMERA > 15000
goto_if_false @DEALER_597
3@, 4@, 5@ = Char.GetCoordinates(0@)
11@ = World.GetRandomCharInSphereOnlyDrugsBuyers(3@, 4@, 5@, 5.0)
if 
  11@ <> -1
goto_if_false @DEALER_597
if 
  Char.IsInAnyCar(11@)
goto_if_false @DEALER_597
12@ = Char.StoreCarIsInNoSave(11@)

:DEALER_597
goto @DEALER_639

:DEALER_604
if or
  Char.IsDead(11@)
  not Char.DoesExist(11@)
  Char.IsRespondingToEvent(0@, 36)
goto_if_false @DEALER_639
11@ = -1

:DEALER_639
return 

:DEALER_641
Char.MarkAsNoLongerNeeded(11@)
if 
  not Char.IsDead(11@)
goto_if_false @DEALER_709
if 
  not Car.IsDead(12@)
goto_if_false @DEALER_709
if 
  not Car.IsOnFire(12@)
goto_if_false @DEALER_709
Task.CarDriveWander(11@, 12@, 20.0, DrivingMode.AvoidCars)

:DEALER_709
TIMERA = 0
11@ = -1
return 

:DEALER_725
if 
  not Char.IsDead(0@)
goto_if_false @DEALER_844
if 
  not Char.IsDead(11@)
goto_if_false @DEALER_844
3@, 4@, 5@ = Char.GetCoordinates(0@)
6@, 7@, 8@ = Char.GetCoordinates(11@)
9@ = Math.GetDistanceBetweenCoords2D(3@, 4@, 6@, 7@)
if 
  9@ > 2.0
goto_if_false @DEALER_837
13@ = 1
goto @DEALER_844

:DEALER_837
13@ = 0

:DEALER_844
return 

:DEALER_846
if 
  Streaming.HasModelLoaded(346)
goto_if_false @DEALER_929
if 
  not Char.HasGotWeapon(0@, WeaponType.Pistol)
goto_if_false @DEALER_929
Char.GiveWeapon(0@, WeaponType.Pistol, 1000)
if 
  15@ <> 1
goto_if_false @DEALER_922
Char.SetCurrentWeapon(0@, WeaponType.Unarmed)
goto @DEALER_929

:DEALER_922
Char.SetCurrentWeapon(0@, WeaponType.Pistol)

:DEALER_929
return 

:DEALER_931
switch_start 1@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @DEALER_1285 {caseNum1} 0 {caseLabel1} @DEALER_994 {caseNum2} 1 {caseLabel2} @DEALER_1151 {caseNum3} 2 {caseLabel3} @DEALER_1211 {caseNum4} 3 {caseLabel4} @DEALER_1271 {caseNum5} -1 {caseLabel5} @DEALER_1299 {caseNum6} -1 {caseLabel6} @DEALER_1299 {caseNum7} -1 {caseLabel7} @DEALER_1299

:DEALER_994
if 
  Conversation.IsPlayerInPosition(0@)
goto_if_false @DEALER_1038
2@ = 0
1@ = 3
gosub @DEALER_2884
goto @DEALER_1144

:DEALER_1038
if 
  11@ > -1
goto_if_false @DEALER_1137
gosub @DEALER_725
if 
  13@ == 0
goto_if_false @DEALER_1109
2@ = 0
1@ = 2
gosub @DEALER_2636
goto @DEALER_1130

:DEALER_1109
2@ = 0
1@ = 1
gosub @DEALER_1793

:DEALER_1130
goto @DEALER_1144

:DEALER_1137
gosub @DEALER_1301

:DEALER_1144
goto @DEALER_1299

:DEALER_1151
if 
  11@ > -1
goto_if_false @DEALER_1183
gosub @DEALER_1793
goto @DEALER_1204

:DEALER_1183
1@ = 0
2@ = 0
gosub @DEALER_1301

:DEALER_1204
goto @DEALER_1299

:DEALER_1211
if 
  11@ > -1
goto_if_false @DEALER_1243
gosub @DEALER_2636
goto @DEALER_1264

:DEALER_1243
1@ = 0
2@ = 0
gosub @DEALER_1301

:DEALER_1264
goto @DEALER_1299

:DEALER_1271
gosub @DEALER_2884
goto @DEALER_1299

:DEALER_1285
gosub @DEALER_3913
goto @DEALER_1299

:DEALER_1299
return 

:DEALER_1301
switch_start 2@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DEALER_1791 {caseNum1} 0 {caseLabel1} @DEALER_1364 {caseNum2} 1 {caseLabel2} @DEALER_1488 {caseNum3} 2 {caseLabel3} @DEALER_1758 {caseNum4} -1 {caseLabel4} @DEALER_1791 {caseNum5} -1 {caseLabel5} @DEALER_1791 {caseNum6} -1 {caseLabel6} @DEALER_1791 {caseNum7} -1 {caseLabel7} @DEALER_1791

:DEALER_1364
if 
  not Char.IsRespondingToEvent(0@, 36)
goto_if_false @DEALER_1481
Conversation.Enable(0@, True)
13@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_1481
Task.PlayAnim(0@, "DEALER_IDLE", "DEALER", 4.0, True, False, False, False, -1)
TIMERB = 0
14@ = 3000
2@ += 1

:DEALER_1481
goto @DEALER_1791

:DEALER_1488
if 
  is_int_lvar_greater_or_equal_to_int_lvar TIMERB >= 14@
goto_if_false @DEALER_1751
Char.SetWantedByPolice(0@, False)
13@ = Math.RandomIntInRange(1, 15)
if 
  13@ > 5
goto_if_false @DEALER_1659
if 
  13@ > 10
goto_if_false @DEALER_1610
13@ = Char.GetScriptTaskStatus(0@, 1481)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_1603
Task.LookAbout(0@, -1)
14@ = 2000

:DEALER_1603
goto @DEALER_1652

:DEALER_1610
13@ = Char.GetScriptTaskStatus(0@, 1502)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_1652
Task.WanderStandard(0@)
14@ = 1500

:DEALER_1652
goto @DEALER_1737

:DEALER_1659
13@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_1737
Task.PlayAnim(0@, "DEALER_IDLE", "DEALER", 4.0, True, False, False, False, -1)
14@ = 3000

:DEALER_1737
TIMERB = 0
2@ += 1

:DEALER_1751
goto @DEALER_1791

:DEALER_1758
if 
  is_int_lvar_greater_or_equal_to_int_lvar TIMERB >= 14@
goto_if_false @DEALER_1784
2@ = 1

:DEALER_1784
goto @DEALER_1791

:DEALER_1791
return 

:DEALER_1793
switch_start 2@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @DEALER_2634 {caseNum1} 0 {caseLabel1} @DEALER_1856 {caseNum2} 1 {caseLabel2} @DEALER_1907 {caseNum3} 2 {caseLabel3} @DEALER_2044 {caseNum4} 3 {caseLabel4} @DEALER_2074 {caseNum5} 4 {caseLabel5} @DEALER_2295 {caseNum6} 5 {caseLabel6} @DEALER_2505 {caseNum7} -1 {caseLabel7} @DEALER_2634

:DEALER_1856
Conversation.Enable(0@, False)
Task.LookAbout(0@, -1)
Task.GotoChar(11@, 0@, 20000, 1.0)
TIMERB = 0
2@ += 1
goto @DEALER_2634

:DEALER_1907
3@, 4@, 5@ = Char.GetCoordinates(0@)
6@, 7@, 8@ = Char.GetCoordinates(11@)
9@ = Math.GetDistanceBetweenCoords2D(3@, 4@, 6@, 7@)
Task.LookAtChar(0@, 11@, -1)
if 
  1.8 >= 9@
goto_if_false @DEALER_1997
2@ += 1
goto @DEALER_2037

:DEALER_1997
if 
  TIMERB > 20000
goto_if_false @DEALER_2037
gosub @DEALER_641
2@ = 0
1@ = 0

:DEALER_2037
goto @DEALER_2634

:DEALER_2044
Task.TurnCharToFaceChar(11@, 0@)
Task.TurnCharToFaceChar(0@, 11@)
2@ += 1
goto @DEALER_2634

:DEALER_2074
13@ = Char.GetScriptTaskStatus(11@, 1593)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2139
13@ = Char.GetScriptTaskStatus(11@, 1466)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2139
Task.StandStill(11@, -1)

:DEALER_2139
13@ = Char.GetScriptTaskStatus(0@, 1593)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2288
13@ = Char.GetScriptTaskStatus(0@, 1466)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2204
Task.StandStill(0@, -1)

:DEALER_2204
13@ = Char.GetScriptTaskStatus(11@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2288
13@ = Char.SetSayContext(11@, 83)
Task.PlayAnim(11@, "SHOP_PAY", "DEALER", 4.0, False, False, False, False, -1)
2@ += 1

:DEALER_2288
goto @DEALER_2634

:DEALER_2295
13@ = Char.GetScriptTaskStatus(11@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2498
Char.ClearLookAt(0@)
13@ = Char.GetScriptTaskStatus(11@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2404
Task.PlayAnim(11@, "DRUGS_BUY", "DEALER", 4.0, False, False, False, False, -1)
Char.SetWantedByPolice(11@, True)

:DEALER_2404
13@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2498
13@ = Char.SetSayContext(0@, 84)
Task.PlayAnim(0@, "DEALER_DEAL", "DEALER", 4.0, False, False, False, False, -1)
Char.SetWantedByPolice(0@, True)
2@ += 1

:DEALER_2498
goto @DEALER_2634

:DEALER_2505
13@ = Char.GetScriptTaskStatus(11@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2570
13@ = Char.GetScriptTaskStatus(11@, 1466)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2570
Task.StandStill(11@, -1)

:DEALER_2570
13@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2627
Char.SetDruggedUp(11@, True)
gosub @DEALER_641
2@ = 0
1@ = 0

:DEALER_2627
goto @DEALER_2634

:DEALER_2634
return 

:DEALER_2636
switch_start 2@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DEALER_2882 {caseNum1} 0 {caseLabel1} @DEALER_2699 {caseNum2} 1 {caseLabel2} @DEALER_2769 {caseNum3} 2 {caseLabel3} @DEALER_2825 {caseNum4} -1 {caseLabel4} @DEALER_2882 {caseNum5} -1 {caseLabel5} @DEALER_2882 {caseNum6} -1 {caseLabel6} @DEALER_2882 {caseNum7} -1 {caseLabel7} @DEALER_2882

:DEALER_2699
Conversation.Enable(0@, False)
3@, 4@, 5@ = Char.GetCoordinates(0@)
Task.LookAtChar(0@, 11@, -1)
Task.FollowFootsteps(0@, 11@)
13@ = Char.SetSayContext(0@, 84)
TIMERB = 0
2@ += 1
goto @DEALER_2882

:DEALER_2769
if 
  TIMERB > 6000
goto_if_false @DEALER_2818
Char.ClearLookAt(0@)
Task.FollowPathNodesToCoord(0@, 3@, 4@, 5@, 4, -2)
2@ += 1

:DEALER_2818
goto @DEALER_2882

:DEALER_2825
13@ = Char.GetScriptTaskStatus(0@, 1525)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_2875
gosub @DEALER_641
2@ = 0
1@ = 0

:DEALER_2875
goto @DEALER_2882

:DEALER_2882
return 

:DEALER_2884
switch_start 2@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @DEALER_3366 {caseNum1} 0 {caseLabel1} @DEALER_2947 {caseNum2} 1 {caseLabel2} @DEALER_2976 {caseNum3} 2 {caseLabel3} @DEALER_3178 {caseNum4} 3 {caseLabel4} @DEALER_3312 {caseNum5} -1 {caseLabel5} @DEALER_3366 {caseNum6} -1 {caseLabel6} @DEALER_3366 {caseNum7} -1 {caseLabel7} @DEALER_3366

:DEALER_2947
TIMERB = 0
Task.TurnCharToFaceChar(0@, $stattreadstamina_ctr)
2@ += 1
goto @DEALER_3366

:DEALER_2976
if 
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @DEALER_3039
if and
  not Conversation.IsAtNode(0@, 'DEAL2')
  not Conversation.IsAtNode(0@, 'DEAL3')
goto_if_false @DEALER_3039
Text.PrintHelp('TALK_1')

:DEALER_3039
13@ = Char.GetScriptTaskStatus(0@, 1593)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_3128
Task.LookAtChar(0@, $stattreadstamina_ctr, -1)
13@ = Char.GetScriptTaskStatus(0@, 1466)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @DEALER_3114
Task.StandStill(0@, -2)

:DEALER_3114
2@ += 1
goto @DEALER_3171

:DEALER_3128
if or
  not Conversation.IsPlayerInPosition(0@)
  TIMERB > 15000
goto_if_false @DEALER_3171
Char.ClearLookAt(0@)
2@ = 0
1@ = 0

:DEALER_3171
goto @DEALER_3366

:DEALER_3178
if and
  Conversation.IsAtNode(0@, 'DEAL3')
  TIMERB > 9000
goto_if_false @DEALER_3220
Text.ClearHelp
gosub @DEALER_3368

:DEALER_3220
if and
  Conversation.IsAtNode(0@, 'DEAL2')
  TIMERB > 9000
goto_if_false @DEALER_3262
Text.ClearHelp
gosub @DEALER_3595

:DEALER_3262
if or
  not Conversation.IsPlayerInPosition(0@)
  TIMERB > 15000
goto_if_false @DEALER_3305
Char.ClearLookAt(0@)
2@ = 0
1@ = 0

:DEALER_3305
goto @DEALER_3366

:DEALER_3312
if 
  TIMERB > 2000
goto_if_false @DEALER_3359
DecisionMakerChar.ClearEventResponse($active_pool_table, 37)
Char.SetCurrentWeapon(0@, WeaponType.Unarmed)
2@ = 0
1@ = 0

:DEALER_3359
goto @DEALER_3366

:DEALER_3366
return 

:DEALER_3368
Text.ClearHelp
Char.ClearLookAt(0@)
Conversation.Enable(0@, False)
if 
  Char.HasGotWeapon(0@, WeaponType.Pistol)
goto_if_false @DEALER_3407
Char.SetCurrentWeapon(0@, WeaponType.Pistol)

:DEALER_3407
if 
  15@ <> 1
goto_if_false @DEALER_3593
15@ = 1
13@ = Stat.GetInt(StatId.RespectTotal)
if 
  13@ > 500
goto_if_false @DEALER_3529
Char.SetRelationship(0@, RelationshipType.Hate, PedType.Player1)
DecisionMakerChar.ClearEventResponse($active_pool_table, 36)
DecisionMakerChar.AddEventResponse($active_pool_table, 36, 927, 0.0, 100.0, 0.0, 0.0, True, True)
2@ = 0
1@ = 0
goto @DEALER_3593

:DEALER_3529
Char.SetRelationship(0@, RelationshipType.Hate, PedType.Player1)
DecisionMakerChar.ClearEventResponse($active_pool_table, 36)
DecisionMakerChar.AddEventResponse($active_pool_table, 36, 1000, 0.0, 100.0, 0.0, 0.0, True, True)
2@ = 0
1@ = 0

:DEALER_3593
return 

:DEALER_3595
Text.ClearHelp
Char.ClearLookAt(0@)
Conversation.Enable(0@, False)
13@ = Stat.GetInt(StatId.Respect)
if 
  15@ <> 2
goto_if_false @DEALER_3868
15@ = 2
if 
  13@ > 500
goto_if_false @DEALER_3738
Char.SetRelationship(0@, RelationshipType.Dislike, PedType.Player1)
Char.SetCurrentWeapon(0@, WeaponType.Unarmed)
DecisionMakerChar.ClearEventResponse($active_pool_table, 37)
DecisionMakerChar.AddEventResponse($active_pool_table, 37, 927, 0.0, 100.0, 0.0, 0.0, True, True)
2@ = 0
1@ = 0
goto @DEALER_3868

:DEALER_3738
Char.SetRelationship(0@, RelationshipType.Dislike, PedType.Player1)
DecisionMakerChar.ClearEventResponse($active_pool_table, 37)
if 
  Char.HasGotWeapon(0@, WeaponType.Pistol)
goto_if_false @DEALER_3820
Char.SetCurrentWeapon(0@, WeaponType.Pistol)
DecisionMakerChar.AddEventResponse($active_pool_table, 37, 1020, 0.0, 100.0, 0.0, 0.0, False, True)
goto @DEALER_3854

:DEALER_3820
DecisionMakerChar.AddEventResponse($active_pool_table, 37, 413, 0.0, 100.0, 0.0, 0.0, False, True)

:DEALER_3854
TIMERB = 0
2@ += 1

:DEALER_3868
return 

:DEALER_3870
16@ = Zone.GetDealerStrength(17@s)
if 
  16@ > 0
goto_if_false @DEALER_3903
16@ -= 1

:DEALER_3903
Zone.SetDealerStrength(17@s, 16@)
return 

:DEALER_3913
if 
  15@ == 1
goto_if_false @DEALER_3938
gosub @DEALER_3870

:DEALER_3938
Conversation.ClearForChar(0@)
if 
  11@ > -1
goto_if_false @DEALER_3966
Char.MarkAsNoLongerNeeded(11@)

:DEALER_3966
DecisionMaker.Remove($active_pool_table)
terminate_this_script 
return 
write_debug_with_int "PEDSTATE" {_p2} 1@
write_debug_with_int "SUBSTATESTATUS" {_p2} 2@
write_debug_with_int "TIMER_B" {_p2} TIMERB
write_debug_with_int "TIMER_A" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 20 (HOME_BRAINS)---------------

:HMLES
script_name 'HMLES'
$active_pool_opponent = 0
$pool_min_bet = 0
$active_initial_cue = 0
2@ = 0
12@ = 0
13@ = 0
14@ = 0
11@ = 0
if 
  $active_pool_opponent == 1
goto_if_false @HMLES_109
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:HMLES_109
$active_initial_cue = Math.RandomIntInRange(0, 4)
$active_initial_cue = 3
if 
  $burglary_total_items <> 0
goto_if_false @HMLES_159
12@ = 1
terminate_this_script 
goto @HMLES_236

:HMLES_159
if 
  Char.DoesExist(0@)
goto_if_false @HMLES_229
if 
  not Char.IsDead(0@)
goto_if_false @HMLES_229
Char.ClearTasksImmediately(0@)
if 
  $active_initial_cue == 2
goto_if_false @HMLES_229
Char.SetAnimGroup(0@, "DRUNKMAN")

:HMLES_229
$burglary_total_items = 1

:HMLES_236
wait 0
if and
  Char.DoesExist(0@)
  12@ == 0
goto_if_false @HMLES_3525
if and
  Player.IsPlaying($statbike_temp)
  not Char.IsDead(0@)
goto_if_false @HMLES_3518
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @HMLES_322
1@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
2@ = 1
goto @HMLES_329

:HMLES_322
2@ = 0

:HMLES_329
if 
  $active_pool_opponent == 0
goto_if_false @HMLES_1945
if 
  $active_initial_cue == 0
goto_if_false @HMLES_463
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 0@, 10.0, 10.0, 3.0, False)
goto_if_false @HMLES_463
if 
  Char.HasSpottedChar(0@, $stattreadstamina_ctr)
goto_if_false @HMLES_463
17@ = Char.SetSayContext(0@, 27)
if 
  2@ == 0
goto_if_false @HMLES_456
Task.WalkAlongsideChar(0@, $stattreadstamina_ctr)

:HMLES_456
$active_pool_opponent = 1

:HMLES_463
if 
  $active_initial_cue == 1
goto_if_false @HMLES_1012
if 
  $pool_min_bet == 0
goto_if_false @HMLES_518
Streaming.RequestAnimation("SUNBATHE")
$pool_min_bet = 1

:HMLES_518
if 
  $pool_min_bet == 1
goto_if_false @HMLES_573
if 
  Streaming.HasAnimationLoaded("SUNBATHE")
goto_if_false @HMLES_573
$pool_min_bet = 2
goto @HMLES_573

:HMLES_573
if 
  $pool_min_bet == 2
goto_if_false @HMLES_1012
if 
  Streaming.HasAnimationLoaded("SUNBATHE")
goto_if_false @HMLES_1000
7@, 8@, 9@ = Char.GetCoordinates(0@)
3@ = Sequence.Open()
Task.PlayAnim(-1, "PARKSIT_M_IN", "SUNBATHE", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PARKSIT_M_IDLEB", "SUNBATHE", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PARKSIT_M_IDLEA", "SUNBATHE", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PARKSIT_M_IDLEC", "SUNBATHE", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PARKSIT_M_IDLEB", "SUNBATHE", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PARKSIT_M_IDLEC", "SUNBATHE", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PARKSIT_M_OUT", "SUNBATHE", 4.0, False, False, False, False, -1)
Task.WanderStandard(-1)
Sequence.Close(3@)
Char.PerformSequence(0@, 3@)
Sequence.Clear(3@)
11@ = 0
$active_pool_opponent = 1
$pool_min_bet = 3
goto @HMLES_1012

:HMLES_1000
Streaming.RequestAnimation("SUNBATHE")

:HMLES_1012
if 
  $active_initial_cue == 2
goto_if_false @HMLES_1610
if 
  $pool_min_bet == 0
goto_if_false @HMLES_1079
Streaming.RequestAnimation("FOOD")
Streaming.RequestAnimation("VENDING")
Streaming.RequestModel(#CJ_JUICE_CAN)
$pool_min_bet = 1

:HMLES_1079
if 
  $pool_min_bet == 1
goto_if_false @HMLES_1185
if and
  Streaming.HasAnimationLoaded("FOOD")
  Streaming.HasAnimationLoaded("VENDING")
  Streaming.HasModelLoaded(#CJ_JUICE_CAN)
goto_if_false @HMLES_1185
7@, 8@, 9@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.3, 0.0)
19@ = Object.Create(#CJ_JUICE_CAN, 7@, 8@, 9@)
$pool_min_bet = 2

:HMLES_1185
if 
  $pool_min_bet == 2
goto_if_false @HMLES_1610
if 
  Streaming.HasAnimationLoaded("VENDING")
goto_if_false @HMLES_1599
if 
  Streaming.HasAnimationLoaded("FOOD")
goto_if_false @HMLES_1584
7@, 8@, 9@ = Char.GetCoordinates(0@)
3@ = Sequence.Open()
Task.PickUpObject(-1, 19@, 0.1, 0.1, 0.0, 5, 16, "NULL", "NULL", -1)
Task.PlayAnim(-1, "VEND_DRINK2_P", "VENDING", 1004.0, False, False, False, False, -1)
Task.PlayAnim(-1, "WALK_DRUNK", "PED", 1004.0, False, True, True, False, -1)
Task.PlayAnim(-1, "VEND_DRINK_P", "VENDING", 1004.0, False, False, False, False, -1)
Task.PlayAnim(-1, "WALK_DRUNK", "PED", 1004.0, False, True, True, False, -1)
Task.PlayAnim(-1, "VEND_DRINK2_P", "VENDING", 1004.0, False, False, False, False, -1)
Task.PlayAnim(-1, "EAT_VOMIT_P", "FOOD", 1004.0, False, False, False, False, -1)
Task.WanderStandard(-1)
Sequence.Close(3@)
Char.PerformSequence(0@, 3@)
Sequence.Clear(3@)
$active_pool_opponent = 1
$pool_min_bet = 3
goto @HMLES_1592

:HMLES_1584
Streaming.RequestAnimation("FOOD")

:HMLES_1592
goto @HMLES_1610

:HMLES_1599
Streaming.RequestAnimation("VENDING")

:HMLES_1610
if 
  $active_initial_cue == 3
goto_if_false @HMLES_1945
if 
  $pool_min_bet == 0
goto_if_false @HMLES_1665
Streaming.RequestAnimation("PAULNMAC")
$pool_min_bet = 1

:HMLES_1665
if 
  $pool_min_bet == 1
goto_if_false @HMLES_1713
if 
  Streaming.HasAnimationLoaded("PAULNMAC")
goto_if_false @HMLES_1713
$pool_min_bet = 2

:HMLES_1713
if 
  $pool_min_bet == 2
goto_if_false @HMLES_1945
if 
  Streaming.HasAnimationLoaded("PAULNMAC")
goto_if_false @HMLES_1933
7@, 8@, 9@ = Char.GetCoordinates(0@)
3@ = Sequence.Open()
Task.PlayAnim(-1, "PISS_IN", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PISS_LOOP", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "PISS_OUT", "PAULNMAC", 4.0, False, False, False, False, -1)
Task.WanderStandard(-1)
Sequence.Close(3@)
Char.PerformSequence(0@, 3@)
Sequence.Clear(3@)
$active_pool_opponent = 1
$pool_min_bet = 3
goto @HMLES_1945

:HMLES_1933
Streaming.RequestAnimation("PAULNMAC")

:HMLES_1945
if 
  $active_pool_opponent == 1
goto_if_false @HMLES_2069
if 
  $active_initial_cue == 0
goto_if_false @HMLES_1992
17@ = Char.SetSayContext(0@, 191)

:HMLES_1992
if 
  $active_initial_cue == 1
goto_if_false @HMLES_2021
17@ = Char.SetSayContext(0@, 191)

:HMLES_2021
if 
  $active_initial_cue == 2
goto_if_false @HMLES_2039

:HMLES_2039
if 
  $active_initial_cue == 3
goto_if_false @HMLES_2057

:HMLES_2057
4@ = Clock.GetGameTimer()
$active_pool_opponent = 2

:HMLES_2069
if 
  $active_pool_opponent == 2
goto_if_false @HMLES_2717
if 
  $active_initial_cue == 0
goto_if_false @HMLES_2217
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @HMLES_2217
5@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 6@ = 5@
sub_int_lvar_from_int_lvar 6@ -= 4@
if and
  6@ > 8000
  10000 > 6@
goto_if_false @HMLES_2206
17@ = Char.SetSayContext(0@, 197)
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)
$burglary_total_items = 0
12@ = 1
goto @HMLES_2217

:HMLES_2206
17@ = Char.SetSayContext(0@, 191)

:HMLES_2217
if 
  $active_initial_cue == 1
goto_if_false @HMLES_2381
16@ = Char.GetScriptTaskStatus(0@, 1560)
if 
  is_int_lvar_equal_to_constant 16@ == 1
goto_if_false @HMLES_2381
16@ = Char.GetSequenceProgress(0@)
if 
  16@ > 6
goto_if_false @HMLES_2381
if 
  11@ == 0
goto_if_false @HMLES_2327
11@ = 1
4@ = Clock.GetGameTimer()
goto @HMLES_2381

:HMLES_2327
5@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 6@ = 5@
sub_int_lvar_from_int_lvar 6@ -= 4@
if 
  6@ > 15000
goto_if_false @HMLES_2381
$active_pool_opponent = 0
$pool_min_bet = 0

:HMLES_2381
if 
  $active_initial_cue == 2
goto_if_false @HMLES_2553
16@ = Char.GetScriptTaskStatus(0@, 1560)
if 
  is_int_lvar_equal_to_constant 16@ == 1
goto_if_false @HMLES_2553
if 
  Char.IsPlayingAnim(0@, "EAT_VOMIT_P")
goto_if_false @HMLES_2553
7@, 8@, 9@ = Char.GetOffsetInWorldCoords(0@, 0.355, -0.116, 0.048)
10@ = Char.GetAnimCurrentTime(0@, "EAT_VOMIT_P")
15@ = Particle.Create("PUKE", 7@, 8@, 9@, 1)
10@ = 0.0
11@ = 0
$active_pool_opponent = 3

:HMLES_2553
if 
  $active_initial_cue == 3
goto_if_false @HMLES_2717
16@ = Char.GetScriptTaskStatus(0@, 1560)
if 
  is_int_lvar_equal_to_constant 16@ == 1
goto_if_false @HMLES_2717
if 
  Char.IsPlayingAnim(0@, "PISS_IN")
goto_if_false @HMLES_2717
10@ = Char.GetAnimCurrentTime(0@, "PISS_IN")
15@ = Particle.CreateOnCharWithDirection("PETROLCAN", 0@, 0.0, 0.58, -0.08, 0.0, 0.01, 0.0, 1)
10@ = 0.0
11@ = 0
$active_pool_opponent = 3

:HMLES_2717
if 
  $active_pool_opponent == 3
goto_if_false @HMLES_3468
if 
  $active_initial_cue == 0
goto_if_false @HMLES_2753

:HMLES_2753
if 
  $active_initial_cue == 1
goto_if_false @HMLES_2771

:HMLES_2771
if 
  $active_initial_cue == 2
goto_if_false @HMLES_2993
if 
  10@ <> 1.0
goto_if_false @HMLES_2969
if 
  not Char.IsDead(0@)
goto_if_false @HMLES_2883
if 
  Char.IsPlayingAnim(0@, "EAT_VOMIT_P")
goto_if_false @HMLES_2876
10@ = Char.GetAnimCurrentTime(0@, "EAT_VOMIT_P")

:HMLES_2876
goto @HMLES_2893

:HMLES_2883
10@ = 1.0

:HMLES_2893
if 
  11@ == 0
goto_if_false @HMLES_2962
if 
  10@ >= 0.5
goto_if_false @HMLES_2962
if 
  15@ <> -1
goto_if_false @HMLES_2955
Particle.Play(15@)

:HMLES_2955
11@ = 1

:HMLES_2962
goto @HMLES_2993

:HMLES_2969
Particle.Stop(15@)
Particle.Kill(15@)
$burglary_total_items = 0
12@ = 1

:HMLES_2993
if 
  $active_initial_cue == 3
goto_if_false @HMLES_3468
if 
  2 > 11@
goto_if_false @HMLES_3199
16@ = Char.GetScriptTaskStatus(0@, 1560)
if 
  is_int_lvar_equal_to_constant 16@ == 7
goto_if_false @HMLES_3114
if 
  11@ == 1
goto_if_false @HMLES_3093
Particle.Stop(15@)
Particle.Kill(15@)
11@ = 2

:HMLES_3093
$burglary_total_items = 0
12@ = 1
goto @HMLES_3199

:HMLES_3114
if 
  is_int_lvar_equal_to_constant 16@ == 1
goto_if_false @HMLES_3182
16@ = Char.GetSequenceProgress(0@)
if 
  16@ > 2
goto_if_false @HMLES_3175
Particle.Stop(15@)
Particle.Kill(15@)
11@ = 2

:HMLES_3175
goto @HMLES_3199

:HMLES_3182
Particle.Stop(15@)
Particle.Kill(15@)
11@ = 2

:HMLES_3199
if 
  11@ == 0
goto_if_false @HMLES_3368
if 
  not Char.IsDead(0@)
goto_if_false @HMLES_3282
if 
  Char.IsPlayingAnim(0@, "PISS_IN")
goto_if_false @HMLES_3275
10@ = Char.GetAnimCurrentTime(0@, "PISS_IN")

:HMLES_3275
goto @HMLES_3292

:HMLES_3282
10@ = 1.0

:HMLES_3292
if 
  11@ == 0
goto_if_false @HMLES_3361
if 
  10@ >= 0.6
goto_if_false @HMLES_3361
if 
  15@ <> -1
goto_if_false @HMLES_3354
Particle.Play(15@)

:HMLES_3354
11@ = 1

:HMLES_3361
goto @HMLES_3468

:HMLES_3368
if 
  11@ == 1
goto_if_false @HMLES_3468
if 
  Char.IsPlayingAnim(0@, "PISS_OUT")
goto_if_false @HMLES_3468
10@ = Char.GetAnimCurrentTime(0@, "PISS_OUT")
if 
  10@ >= 0.42
goto_if_false @HMLES_3468
Particle.Stop(15@)
Particle.Kill(15@)
11@ = 2

:HMLES_3468
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 0@, 30.0, 30.0, 20.0, False)
goto_if_false @HMLES_3518
$burglary_total_items = 0
12@ = 1

:HMLES_3518
goto @HMLES_3539

:HMLES_3525
$burglary_total_items = 0
12@ = 1

:HMLES_3539
if 
  Char.IsDead(0@)
goto_if_false @HMLES_3569
12@ = 1
$burglary_total_items = 0

:HMLES_3569
if 
  12@ == 1
goto_if_false @HMLES_3694
if 
  Char.DoesExist(0@)
goto_if_false @HMLES_3624
if 
  not Char.IsDead(0@)
goto_if_false @HMLES_3624
Task.WanderStandard(0@)

:HMLES_3624
Particle.Stop(15@)
Particle.Kill(15@)
Char.MarkAsNoLongerNeeded(0@)
Streaming.MarkModelAsNoLongerNeeded(#CJ_JUICE_CAN)
Object.MarkAsNoLongerNeeded(19@)
Streaming.RemoveAnimation("FOOD")
Streaming.RemoveAnimation("VENDING")
Streaming.RemoveAnimation("SUNBATHE")
Streaming.RemoveAnimation("PAULNMAC")
terminate_this_script 

:HMLES_3694
goto @HMLES_236
terminate_this_script 

//-------------External script 21 (POOL_SCRIPT)---------------

:POOL
script_name 'POOL'
if 
  $9466 == 0
goto_if_false @POOL_84
if 
  $weapon_shop1_blip == 0
goto_if_false @POOL_75
$9466 = 1
$pool_max_bet = 0
$active_pool_script = 0
goto @POOL_77

:POOL_75
terminate_this_script 

:POOL_77
goto @POOL_86

:POOL_84
terminate_this_script 

:POOL_86
3@ = 0

:POOL_93
wait 0
if 
  3@ == -1
goto_if_false @POOL_251
0@ = Object.Create(#K_POOLTABLESM, 0.0, 0.0, 0.0)
1@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
2@ = Object.Create(#K_POOLTABLESM, 0.0, 0.0, 0.0)
$active_pool_script = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
$pool_max_bet = Object.Create(#K_POOLTABLESM, 0.0, 0.0, 0.0)
$txtEntryExitName = Object.Create(#K_POOLTABLESM, 0.0, 0.0, 0.0)

:POOL_251
if 
  3@ == 0
goto_if_false @POOL_474
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL_467
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @POOL_453
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @POOL_439
5@ = Math.RandomIntInRange(0, 2)
if 
  5@ == 0
goto_if_false @POOL_360
set_lvar_int_to_constant 7@ = 66
goto @POOL_367

:POOL_360
set_lvar_int_to_constant 7@ = 67

:POOL_367
Streaming.RequestModel(7@)
Streaming.RequestAnimation("POOL")
Streaming.RequestModel(338)

:POOL_385
if or
  not Streaming.HasModelLoaded(7@)
  not Streaming.HasAnimationLoaded("POOL")
  not Streaming.HasModelLoaded(338)
goto_if_false @POOL_425
wait 0
goto @POOL_385

:POOL_425
3@ += 1
goto @POOL_446

:POOL_439
gosub @POOL_2110

:POOL_446
goto @POOL_460

:POOL_453
gosub @POOL_2110

:POOL_460
goto @POOL_474

:POOL_467
gosub @POOL_2110

:POOL_474
if 
  3@ == 1
goto_if_false @POOL_1183
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL_1176
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @POOL_1162
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @POOL_1148
if 
  Object.DoesExist(0@)
goto_if_false @POOL_1134
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0219, -1.1236, 0.5363)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
if 
  not Char.DoesExist(1@)
goto_if_false @POOL_804
if 
  not Char.DoesExist($active_pool_script)
goto_if_false @POOL_688
1@ = Char.Create(PedType.CivMale, 7@, $on_footY, $on_footZ, $in_carX)
Char.SetDecisionMaker(1@, $iCheckForWeapons)
Streaming.MarkModelAsNoLongerNeeded(7@)
$on_footX = Object.GetHeading(0@)
Char.SetHeading(1@, $on_footX)
goto @POOL_797

:POOL_688
if 
  not Char.IsDead($active_pool_script)
goto_if_false @POOL_749
set_lvar_int_to_var_int 1@ = $active_pool_script
Char.SetCoordinates(1@, $on_footY, $on_footZ, $in_carX)
$on_footX = Object.GetHeading(0@)
Char.SetHeading(1@, $on_footX)
goto @POOL_797

:POOL_749
1@ = Char.Create(PedType.CivMale, 7@, $on_footY, $on_footZ, $in_carX)
Char.SetDecisionMaker(1@, $iCheckForWeapons)
Streaming.MarkModelAsNoLongerNeeded(7@)
$on_footX = Object.GetHeading(0@)
Char.SetHeading(1@, $on_footX)

:POOL_797
goto @POOL_850

:POOL_804
if 
  not Char.IsDead(1@)
goto_if_false @POOL_850
Char.SetCoordinates(1@, $on_footY, $on_footZ, $in_carX)
$on_footX = Object.GetHeading(0@)
Char.SetHeading(1@, $on_footX)

:POOL_850
if 
  not Object.DoesExist(2@)
goto_if_false @POOL_888
2@ = Object.Create(#K_POOLQ, 0.0, 0.0, 0.0)

:POOL_888
if 
  not Char.IsDead(1@)
goto_if_false @POOL_964
if 
  not Char.IsHoldingObject(1@, 2@)
goto_if_false @POOL_964
Task.PickUpObject(1@, 2@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 1)

:POOL_964
6@ = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "POOL_CHALKCUE", "POOL", 4.0, False, False, False, True, -1)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL_1035
Task.LookAtChar(-1, $stattreadstamina_ctr, 9000)

:POOL_1035
Task.PlayAnimNonInterruptable(-1, "POOL_IDLE_STANCE", "POOL", 4.0, False, True, True, False, 10000)
Sequence.SetToRepeat(6@, True)
Sequence.Close(6@)
if 
  not Char.IsDead(1@)
goto_if_false @POOL_1115
Char.PerformSequence(1@, 6@)

:POOL_1115
Sequence.Clear(6@)
3@ += 1
goto @POOL_1141

:POOL_1134
gosub @POOL_2110

:POOL_1141
goto @POOL_1155

:POOL_1148
gosub @POOL_2110

:POOL_1155
goto @POOL_1169

:POOL_1162
gosub @POOL_2110

:POOL_1169
goto @POOL_1183

:POOL_1176
gosub @POOL_2110

:POOL_1183
if 
  3@ == 2
goto_if_false @POOL_1721
if 
  $weapon_shop1_blip == 0
goto_if_false @POOL_1693
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL_1679
if 
  $iPrintStripperHelp == 0
goto_if_false @POOL_1644
if 
  Object.DoesExist(0@)
goto_if_false @POOL_1630
if 
  not Char.IsDead(1@)
goto_if_false @POOL_1616
if 
  Char.HasBeenDamagedByChar(1@, $stattreadstamina_ctr)
goto_if_false @POOL_1364
Char.ClearTasks(1@)
Char.DropObject(1@, False)
Object.Delete(2@)
Char.GiveWeapon(1@, WeaponType.PoolCue, 99999)
Task.KillCharOnFoot(1@, $stattreadstamina_ctr)
Text.ClearHelp
4@ = 0
goto @POOL_2001
goto @POOL_1609

:POOL_1364
if 
  Char.LocateOnFootChar3D(1@, $stattreadstamina_ctr, 1.5, 1.5, 1.5, False)
goto_if_false @POOL_1582
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @POOL_1539
5@ = Player.StoreScore($statbike_temp)
if 
  50 > 5@
goto_if_false @POOL_1466
Text.PrintNow('NOCASH', 3000, 1)
goto @POOL_1532

:POOL_1466
if 
  4@ == 1
goto_if_false @POOL_1494
Text.ClearHelp
set_lvar_int_to_var_int 4@ = $weapon_shop1_blip

:POOL_1494
set_var_int_to_lvar_int $pool_max_bet = 0@
set_var_int_to_lvar_int $active_pool_script = 1@
set_var_int_to_lvar_int $txtEntryExitName = 2@
$territory_cash = 5
3@ += 1

:POOL_1532
goto @POOL_1575

:POOL_1539
if 
  4@ == 0
goto_if_false @POOL_1575
Text.PrintHelpForever('POOL_A')
4@ = 1

:POOL_1575
goto @POOL_1609

:POOL_1582
if 
  4@ == 1
goto_if_false @POOL_1609
Text.ClearHelp
4@ = 0

:POOL_1609
goto @POOL_1623

:POOL_1616
goto @POOL_2001

:POOL_1623
goto @POOL_1637

:POOL_1630
goto @POOL_2001

:POOL_1637
goto @POOL_1672

:POOL_1644
if 
  not Char.IsDead(1@)
goto_if_false @POOL_1665
Char.ClearTasks(1@)

:POOL_1665
goto @POOL_2001

:POOL_1672
goto @POOL_1686

:POOL_1679
goto @POOL_2001

:POOL_1686
goto @POOL_1721

:POOL_1693
if 
  not Char.IsDead(1@)
goto_if_false @POOL_1714
Char.ClearTasks(1@)

:POOL_1714
goto @POOL_2001

:POOL_1721
if 
  3@ == 3
goto_if_false @POOL_1764
if 
  $weapon_shop1_blip == 1
goto_if_false @POOL_1764
3@ += 1

:POOL_1764
if 
  3@ == 4
goto_if_false @POOL_1896
if 
  $weapon_shop1_blip == 0
goto_if_false @POOL_1896
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL_1896
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @POOL_1896
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @POOL_1896
if 
  Object.DoesExist(0@)
goto_if_false @POOL_1896
if 
  not Char.IsDead(1@)
goto_if_false @POOL_1896
3@ = 1
goto @POOL_474

:POOL_1896
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL_1987
if 
  Object.DoesExist(0@)
goto_if_false @POOL_1973
if 
  not Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 80.0, 80.0, False)
goto_if_false @POOL_1966
goto @POOL_2001

:POOL_1966
goto @POOL_1980

:POOL_1973
goto @POOL_2001

:POOL_1980
goto @POOL_1994

:POOL_1987
goto @POOL_2001

:POOL_1994
goto @POOL_93

:POOL_2001
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @POOL_2092
if 
  Object.DoesExist(0@)
goto_if_false @POOL_2078
if 
  not Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 80.0, 80.0, False)
goto_if_false @POOL_2071
gosub @POOL_2110

:POOL_2071
goto @POOL_2085

:POOL_2078
gosub @POOL_2110

:POOL_2085
goto @POOL_2099

:POOL_2092
gosub @POOL_2110

:POOL_2099
wait 0
goto @POOL_2001

:POOL_2110
if 
  4@ == 1
goto_if_false @POOL_2130
Text.ClearHelp

:POOL_2130
Text.ClearThisPrint('NOCASH')
Char.MarkAsNoLongerNeeded(1@)
Object.Delete(2@)
Streaming.MarkModelAsNoLongerNeeded(7@)
Streaming.RemoveAnimation("POOL")
Streaming.MarkModelAsNoLongerNeeded(338)
$9466 = 0
$pool_max_bet = 0
$active_pool_script = 0
terminate_this_script 
return 
terminate_this_script 

//-------------External script 22 (LOWR_CONT)---------------

:LOWRCON
script_name 'LOWRCON'
1@ = 0
if 
  1@ == -1
goto_if_false @LOWRCON_83
0@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
4@ = Car.Create(413, 0.0, 0.0, 0.0)

:LOWRCON_83
2@ = 0

:LOWRCON_90
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LOWRCON_1747
if or
  $weapon_shop1_blip == 0
  2@ == 1
goto_if_false @LOWRCON_1733
if 
  Char.LocateAnyMeans2D($stattreadstamina_ctr, 1812.369, -1929.922, 100.0, 100.0, False)
goto_if_false @LOWRCON_1719
if 
  Char.DoesExist(0@)
goto_if_false @LOWRCON_212
if 
  Char.IsDead(0@)
goto_if_false @LOWRCON_212
goto @LOWRCON_1761

:LOWRCON_212
switch_start 1@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @LOWRCON_1712 {caseNum1} 0 {caseLabel1} @LOWRCON_340 {caseNum2} 1 {caseLabel2} @LOWRCON_480 {caseNum3} 2 {caseLabel3} @LOWRCON_726 {caseNum4} 3 {caseLabel4} @LOWRCON_787 {caseNum5} 4 {caseLabel5} @LOWRCON_902 {caseNum6} 5 {caseLabel6} @LOWRCON_1123 {caseNum7} 6 {caseLabel7} @LOWRCON_1219
switch_continued 7 {caseLabel1} @LOWRCON_1334 {caseNum2} 8 {caseLabel2} @LOWRCON_1500 {caseNum3} 9 {caseLabel3} @LOWRCON_1640 {caseNum4} -1 {caseLabel4} @LOWRCON_1712 {caseNum5} -1 {caseLabel5} @LOWRCON_1712 {caseNum6} -1 {caseLabel6} @LOWRCON_1712 {caseNum7} -1 {caseLabel7} @LOWRCON_1712 {caseNum8} -1 {caseLabel8} @LOWRCON_1712 {caseNum9} -1 {caseLabel9} @LOWRCON_1712

:LOWRCON_340
Streaming.RequestModel(50)

:LOWRCON_344
if 
  not Streaming.HasModelLoaded(50)
goto_if_false @LOWRCON_370
wait 0
goto @LOWRCON_344

:LOWRCON_370
3@ = DecisionMakerChar.Copy(65542)
0@ = Char.Create(PedType.Mission1, 50, 1812.369, -1929.922, 12.5486)
Char.SetHeading(0@, 270.0)
Char.SetOnlyDamagedByPlayer(0@, True)
Char.SetDecisionMaker(0@, 3@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LOWRCON_455
Task.LookAtChar(0@, $stattreadstamina_ctr, -2)

:LOWRCON_455
Streaming.MarkModelAsNoLongerNeeded(50)
Char.FreezePosition(0@, True)
1@ += 1
goto @LOWRCON_1712

:LOWRCON_480
if 
  not Char.IsDead(0@)
goto_if_false @LOWRCON_719
if 
  Char.LocateOnFoot3D(0@, 1813.369, -1929.922, 12.5486, 1.2, 1.2, 2.0, False)
goto_if_false @LOWRCON_719
if 
  not Char.IsDead(0@)
goto_if_false @LOWRCON_589
$on_footY, $on_footZ, $in_carX = Char.GetOffsetInWorldCoords(0@, 0.0, 1.0, 0.0)

:LOWRCON_589
if 
  not Char.IsDead(0@)
goto_if_false @LOWRCON_639
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @LOWRCON_639
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)
goto @LOWRCON_1761

:LOWRCON_639
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.7, 0.7, 1.2, True)
goto_if_false @LOWRCON_719
Player.SetControl($statbike_temp, False)
if 
  not Char.IsDead(0@)
goto_if_false @LOWRCON_712
Task.TurnCharToFaceChar($stattreadstamina_ctr, 0@)

:LOWRCON_712
1@ += 1

:LOWRCON_719
goto @LOWRCON_1712

:LOWRCON_726
if 
  not Char.IsDead(0@)
goto_if_false @LOWRCON_780
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LOWRCON_768
Task.LookAtChar(0@, $stattreadstamina_ctr, -2)

:LOWRCON_768
Char.ClearTasks(0@)
1@ += 1

:LOWRCON_780
goto @LOWRCON_1712

:LOWRCON_787
if 
  not Char.IsDead(0@)
goto_if_false @LOWRCON_840
Task.PlayAnim(0@, "IDLE_CHAT", "PED", 4.0, False, False, False, False, 2000)

:LOWRCON_840
set_var_text_label s$bd_future_time_shown = 'MEC_HI'
set_var_int_to_constant $bd_x = 26007
start_new_script @AUDIOL 0@ 0 1 1 0 
TIMERA = 0
1@ += 1
goto @LOWRCON_1712

:LOWRCON_902
if 
  TIMERA > 1000
goto_if_false @LOWRCON_1116
if 
  $audio_line_terminate_all == 0
goto_if_false @LOWRCON_1116
Text.PrintHelpForever('TALK_1')
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @LOWRCON_1040
set_var_text_label s$bd_future_time_shown = 'SYN2_LO'
set_var_int_to_constant $bd_x = 39072
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
Text.ClearHelp
TIMERA = 0
2@ = 1
1@ += 1
goto @LOWRCON_1116

:LOWRCON_1040
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @LOWRCON_1116
set_var_text_label s$bd_future_time_shown = 'VOFFE1N'
set_var_int_to_constant $bd_x = 21444
start_new_script @AUDIOL $stattreadstamina_ctr 0 1 1 0 
Text.ClearHelp
TIMERA = 0
Camera.Restore
1@ += 2

:LOWRCON_1116
goto @LOWRCON_1712

:LOWRCON_1123
if 
  TIMERA > 1000
goto_if_false @LOWRCON_1212
if 
  $audio_line_terminate_all == 0
goto_if_false @LOWRCON_1212
Camera.DoFade(150, Fade.Out)

:LOWRCON_1167
if 
  Camera.GetFadingStatus
goto_if_false @LOWRCON_1191
wait 0
goto @LOWRCON_1167

:LOWRCON_1191
$player_is_in_crane = 0
$territory_cash = 6
1@ += 2

:LOWRCON_1212
goto @LOWRCON_1712

:LOWRCON_1219
if 
  TIMERA > 1000
goto_if_false @LOWRCON_1327
if 
  $audio_line_terminate_all == 0
goto_if_false @LOWRCON_1327
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LOWRCON_1279
Player.SetControl($statbike_temp, True)

:LOWRCON_1279
set_var_text_label s$bd_future_time_shown = 'MEC_N'
set_var_int_to_constant $bd_x = 26008
start_new_script @AUDIOL 0@ 1 1 1 0 
goto @LOWRCON_1761

:LOWRCON_1327
goto @LOWRCON_1712

:LOWRCON_1334
if 
  $player_is_in_crane == 1
goto_if_false @LOWRCON_1493
Camera.SetFixedPosition(1815.894, -1932.708, 15.2576, 0.0, 0.0, 0.0)
Camera.PointAtPoint(1815.094, -1932.212, 14.9195, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
Camera.DoFade(150, Fade.In)

:LOWRCON_1414
if 
  Camera.GetFadingStatus
goto_if_false @LOWRCON_1438
wait 0
goto @LOWRCON_1414

:LOWRCON_1438
set_var_text_label s$bd_future_time_shown = 'MEC_Y'
set_var_int_to_constant $bd_x = 26009
start_new_script @AUDIOL 0@ 0 1 1 0 
TIMERA = 0
1@ += 1

:LOWRCON_1493
goto @LOWRCON_1712

:LOWRCON_1500
if 
  TIMERA > 1000
goto_if_false @LOWRCON_1633
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LOWRCON_1633
Camera.ResetNewScriptables
Camera.SetVectorMove(1815.894, -1932.708, 15.2576, 1813.444, -1932.063, 18.552, 3000, True)
Camera.SetVectorTrack(1815.094, -1932.212, 14.9195, 1812.689, -1931.438, 18.3523, 3000, True)
Camera.PersistTrack(True)
Camera.PersistPos(True)
TIMERA = 0
1@ += 1

:LOWRCON_1633
goto @LOWRCON_1712

:LOWRCON_1640
if or
  TIMERA > 5000
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @LOWRCON_1705
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @LOWRCON_1705
Camera.ResetNewScriptables
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
goto @LOWRCON_1761

:LOWRCON_1705
goto @LOWRCON_1712

:LOWRCON_1712
goto @LOWRCON_1726

:LOWRCON_1719
goto @LOWRCON_1761

:LOWRCON_1726
goto @LOWRCON_1740

:LOWRCON_1733
goto @LOWRCON_1761

:LOWRCON_1740
goto @LOWRCON_1754

:LOWRCON_1747
goto @LOWRCON_1761

:LOWRCON_1754
goto @LOWRCON_90

:LOWRCON_1761
if 
  not Char.IsDead(0@)
goto_if_false @LOWRCON_1794
Char.FreezePosition(0@, False)
Char.ClearLookAt(0@)
Task.WanderStandard(0@)

:LOWRCON_1794
Char.MarkAsNoLongerNeeded(0@)
Car.MarkAsNoLongerNeeded(4@)
Streaming.RemoveAnimation("GANGS")
Streaming.MarkModelAsNoLongerNeeded(50)
2@ = 0
DecisionMaker.Remove(3@)
terminate_this_script 
terminate_this_script 

//-------------External script 23 (BURG_BRAINS)---------------

:BURGLAR
script_name 'BURGLAR'
1@ = 0
5@ = 0
4@ = 0
7@ = 0
8@ = 0
14@ = 0
15@ = 0
if 
  1@ == 1
goto_if_false @BURGLAR_132
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)
$played_none_before = DecisionMakerChar.CopyShared(65542)
$none_hiscore = DecisionMakerChar.CopyShared(65542)
$5356 = DecisionMakerChar.CopyShared(65542)

:BURGLAR_132
2@ = Math.RandomIntInRange(0, 6)
if 
  2@ == 2
goto_if_false @BURGLAR_168
3@ = Math.RandomIntInRange(0, 6)

:BURGLAR_168
wait 0
if and
  Char.DoesExist(0@)
  5@ == 0
goto_if_false @BURGLAR_5624
if and
  Player.IsPlaying($statbike_temp)
  not Char.IsDead(0@)
goto_if_false @BURGLAR_5610
if 
  15@ == 0
goto_if_false @BURGLAR_550
13@ = Char.GetPedType(0@)
14@ = 1
if 
  not is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BURGLAR_527
if 
  not is_int_lvar_equal_to_constant 13@ == 9
goto_if_false @BURGLAR_504
if 
  not is_int_lvar_equal_to_constant 13@ == 10
goto_if_false @BURGLAR_481
if 
  not is_int_lvar_equal_to_constant 13@ == 11
goto_if_false @BURGLAR_458
if 
  not is_int_lvar_equal_to_constant 13@ == 12
goto_if_false @BURGLAR_435
if 
  not is_int_lvar_equal_to_constant 13@ == 13
goto_if_false @BURGLAR_412
if 
  not is_int_lvar_equal_to_constant 13@ == 14
goto_if_false @BURGLAR_389
14@ = 0
goto @BURGLAR_405

:BURGLAR_389
13@ = Char.SetSayContextImportant(0@, 7, True, False, False)

:BURGLAR_405
goto @BURGLAR_428

:BURGLAR_412
13@ = Char.SetSayContextImportant(0@, 5, True, False, False)

:BURGLAR_428
goto @BURGLAR_451

:BURGLAR_435
13@ = Char.SetSayContextImportant(0@, 6, True, False, False)

:BURGLAR_451
goto @BURGLAR_474

:BURGLAR_458
13@ = Char.SetSayContextImportant(0@, 8, True, False, False)

:BURGLAR_474
goto @BURGLAR_497

:BURGLAR_481
13@ = Char.SetSayContextImportant(0@, 2, True, False, False)

:BURGLAR_497
goto @BURGLAR_520

:BURGLAR_504
13@ = Char.SetSayContextImportant(0@, 3, True, False, False)

:BURGLAR_520
goto @BURGLAR_543

:BURGLAR_527
13@ = Char.SetSayContextImportant(0@, 1, True, False, False)

:BURGLAR_543
15@ = 1

:BURGLAR_550
if 
  not Char.IsHoldingObject($stattreadstamina_ctr, -1)
goto_if_false @BURGLAR_2056
if 
  8@ <> 1
goto_if_false @BURGLAR_2049
if 
  14@ == 0
goto_if_false @BURGLAR_1686
if 
  Char.IsMale(0@)
goto_if_false @BURGLAR_1221
DecisionMaker.Remove($played_none_before)
$played_none_before = DecisionMakerChar.CopyShared(65542)
if 
  $played_none_before <> -1
goto_if_false @BURGLAR_661
Char.SetDecisionMaker(0@, $played_none_before)

:BURGLAR_661
Char.SetRelationship(0@, RelationshipType.Dislike, PedType.Player1)
DecisionMakerChar.AddEventResponse($played_none_before, 37, 1029, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 37, 413, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 31, 1000, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 31, 413, 0.0, 100.0, 40.0, 40.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 36, 1000, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 36, 1029, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 36, 413, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 9, 251, 0.0, 100.0, 10.0, 10.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 9, 1000, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 9, 427, 0.0, 100.0, 70.0, 70.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 11, 600, 0.0, 100.0, 100.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 15, 415, 0.0, 100.0, 50.0, 50.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 15, 1000, 0.0, 100.0, 10.0, 10.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 15, 920, 0.0, 100.0, 10.0, 10.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 15, 427, 0.0, 100.0, 30.0, 30.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 62, 935, 0.0, 100.0, 0.0, 0.0, False, True)
goto @BURGLAR_1679

:BURGLAR_1221
DecisionMaker.Remove($none_hiscore)
$none_hiscore = DecisionMakerChar.CopyShared(65542)
if 
  $none_hiscore <> -1
goto_if_false @BURGLAR_1262
Char.SetDecisionMaker(0@, $none_hiscore)

:BURGLAR_1262
Char.SetRelationship(0@, RelationshipType.Dislike, PedType.Player1)
DecisionMakerChar.AddEventResponse($none_hiscore, 37, 427, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 37, 413, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 31, 601, 0.0, 100.0, 50.0, 50.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 31, 413, 0.0, 100.0, 30.0, 30.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 31, 427, 0.0, 100.0, 10.0, 10.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 36, 413, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 36, 427, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 9, 251, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 9, 1000, 0.0, 100.0, 60.0, 60.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 9, 427, 0.0, 100.0, 40.0, 40.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 62, 935, 0.0, 100.0, 0.0, 0.0, False, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 11, 600, 0.0, 100.0, 40.0, 40.0, True, True)

:BURGLAR_1679
goto @BURGLAR_2042

:BURGLAR_1686
DecisionMaker.Remove($5356)
$5356 = DecisionMakerChar.CopyShared(65542)
if 
  $5356 <> -1
goto_if_false @BURGLAR_1727
Char.SetDecisionMaker(0@, $5356)

:BURGLAR_1727
Char.SetRelationship(0@, RelationshipType.Dislike, PedType.Player1)
DecisionMakerChar.AddEventResponse($5356, 37, 1029, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 31, 1000, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 36, 1000, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 36, 1029, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 9, 251, 0.0, 100.0, 10.0, 10.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 9, 1000, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 11, 600, 0.0, 100.0, 100.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 15, 1000, 0.0, 100.0, 10.0, 10.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 62, 935, 0.0, 100.0, 0.0, 0.0, False, True)

:BURGLAR_2042
8@ = 1

:BURGLAR_2049
goto @BURGLAR_3571

:BURGLAR_2056
if 
  8@ <> 2
goto_if_false @BURGLAR_3571
if 
  14@ == 0
goto_if_false @BURGLAR_3208
if 
  Char.IsMale(0@)
goto_if_false @BURGLAR_2743
DecisionMaker.Remove($played_none_before)
$played_none_before = DecisionMakerChar.CopyShared(65542)
if 
  $played_none_before <> -1
goto_if_false @BURGLAR_2149
Char.SetDecisionMaker(0@, $played_none_before)

:BURGLAR_2149
DecisionMakerChar.AddEventResponse($played_none_before, 37, 1029, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 37, 413, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 31, 1000, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 31, 413, 0.0, 100.0, 40.0, 40.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 36, 1000, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 36, 1029, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 36, 413, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 9, 251, 0.0, 100.0, 10.0, 10.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 9, 1000, 0.0, 100.0, 30.0, 30.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 9, 427, 0.0, 100.0, 60.0, 60.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 11, 600, 0.0, 100.0, 50.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 15, 415, 0.0, 100.0, 50.0, 50.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 15, 1000, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 15, 920, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 15, 427, 0.0, 100.0, 10.0, 10.0, True, True)
DecisionMakerChar.AddEventResponse($played_none_before, 62, 935, 0.0, 100.0, 0.0, 0.0, False, True)
Char.SetRelationship(0@, RelationshipType.Hate, PedType.Player1)
DecisionMakerChar.AddEventResponse($played_none_before, 9, 251, 0.0, 100.0, 100.0, 0.0, True, True)
goto @BURGLAR_3201

:BURGLAR_2743
DecisionMaker.Remove($none_hiscore)
$none_hiscore = DecisionMakerChar.CopyShared(65542)
if 
  $none_hiscore <> -1
goto_if_false @BURGLAR_2784
Char.SetDecisionMaker(0@, $none_hiscore)

:BURGLAR_2784
Char.SetRelationship(0@, RelationshipType.Hate, PedType.Player1)
DecisionMakerChar.AddEventResponse($none_hiscore, 37, 427, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 37, 413, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 31, 601, 0.0, 100.0, 50.0, 50.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 31, 413, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 31, 427, 0.0, 100.0, 10.0, 10.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 36, 413, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 36, 427, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 9, 251, 0.0, 100.0, 30.0, 30.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 9, 1000, 0.0, 100.0, 10.0, 10.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 9, 427, 0.0, 100.0, 30.0, 30.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 11, 600, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($none_hiscore, 62, 935, 0.0, 100.0, 0.0, 0.0, False, True)

:BURGLAR_3201
goto @BURGLAR_3564

:BURGLAR_3208
DecisionMaker.Remove($5356)
$5356 = DecisionMakerChar.CopyShared(65542)
if 
  $5356 <> -1
goto_if_false @BURGLAR_3249
Char.SetDecisionMaker(0@, $5356)

:BURGLAR_3249
DecisionMakerChar.AddEventResponse($5356, 37, 1029, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 31, 1000, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 36, 1000, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 36, 1029, 0.0, 100.0, 0.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 9, 251, 0.0, 100.0, 10.0, 10.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 9, 1000, 0.0, 100.0, 30.0, 30.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 11, 600, 0.0, 100.0, 50.0, 0.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 15, 1000, 0.0, 100.0, 20.0, 20.0, True, True)
DecisionMakerChar.AddEventResponse($5356, 62, 935, 0.0, 100.0, 0.0, 0.0, False, True)
Char.SetRelationship(0@, RelationshipType.Hate, PedType.Player1)

:BURGLAR_3564
8@ = 2

:BURGLAR_3571
if or
  Char.IsRespondingToEvent(0@, 36)
  Char.IsRespondingToEvent(0@, 15)
  Char.IsRespondingToEvent(0@, 9)
  Char.IsRespondingToEvent(0@, 37)
  $iSwitchOffDanceMiniGame == 100
goto_if_false @BURGLAR_4393
if 
  $int_distance_player_girl == 0
goto_if_false @BURGLAR_4393
if and
  2@ == 4
  14@ == 0
goto_if_false @BURGLAR_3753
if 
  not Streaming.HasModelLoaded(330)
goto_if_false @BURGLAR_3688
Streaming.RequestModel(330)
goto @BURGLAR_3746

:BURGLAR_3688
if 
  not Char.IsDead(0@)
goto_if_false @BURGLAR_3711
Task.UseMobilePhone(0@, True)

:BURGLAR_3711
13@ = Char.SetSayContextImportant(0@, 119, True, False, False)
9@ = Clock.GetGameTimer()
7@ = 1
$int_distance_player_girl = 1

:BURGLAR_3746
goto @BURGLAR_4393

:BURGLAR_3753
if 
  2@ == 2
goto_if_false @BURGLAR_4379
if 
  Char.IsCurrentWeapon(0@, WeaponType.Unarmed)
goto_if_false @BURGLAR_4305
if 
  3@ == 1
goto_if_false @BURGLAR_3925
if 
  not Streaming.HasModelLoaded(336)
goto_if_false @BURGLAR_3835
Streaming.RequestModel(336)
goto @BURGLAR_3918

:BURGLAR_3835
Char.GiveWeapon(0@, WeaponType.BaseballBat, 0)
Char.SetCurrentWeapon(0@, WeaponType.BaseballBat)
13@ = Char.SetSayContextImportant(0@, 20, True, False, False)
12@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_3904
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)

:BURGLAR_3904
7@ = 1
$int_distance_player_girl = 1

:BURGLAR_3918
goto @BURGLAR_4298

:BURGLAR_3925
if 
  3@ == 3
goto_if_false @BURGLAR_4078
if 
  not Streaming.HasModelLoaded(346)
goto_if_false @BURGLAR_3971
Streaming.RequestModel(346)
goto @BURGLAR_4071

:BURGLAR_3971
Char.GiveWeapon(0@, WeaponType.Pistol, 40)
Char.SetCurrentWeapon(0@, WeaponType.Pistol)
13@ = Char.SetSayContextImportant(0@, 20, True, False, False)
12@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_4040
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)

:BURGLAR_4040
7@ = 1
$int_distance_player_girl = 1
13@ = Char.SetSayContextImportant(0@, 175, True, False, False)

:BURGLAR_4071
goto @BURGLAR_4298

:BURGLAR_4078
if 
  3@ == 5
goto_if_false @BURGLAR_4231
if 
  not Streaming.HasModelLoaded(350)
goto_if_false @BURGLAR_4124
Streaming.RequestModel(350)
goto @BURGLAR_4224

:BURGLAR_4124
Char.GiveWeapon(0@, WeaponType.Sawnoff, 40)
Char.SetCurrentWeapon(0@, WeaponType.Sawnoff)
13@ = Char.SetSayContextImportant(0@, 20, True, False, False)
12@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_4193
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)

:BURGLAR_4193
7@ = 1
$int_distance_player_girl = 1
13@ = Char.SetSayContextImportant(0@, 181, True, False, False)

:BURGLAR_4224
goto @BURGLAR_4298

:BURGLAR_4231
13@ = Char.SetSayContextImportant(0@, 89, True, False, False)
12@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_4284
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)

:BURGLAR_4284
7@ = 1
$int_distance_player_girl = 1

:BURGLAR_4298
goto @BURGLAR_4372

:BURGLAR_4305
13@ = Char.SetSayContextImportant(0@, 89, True, False, False)
12@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_4358
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)

:BURGLAR_4358
7@ = 1
$int_distance_player_girl = 1

:BURGLAR_4372
goto @BURGLAR_4393

:BURGLAR_4379
$int_distance_player_girl = 1
7@ = 1

:BURGLAR_4393
if or
  7@ == 1
  7@ == 2
goto_if_false @BURGLAR_5603
12@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_5196
if and
  not Char.IsRespondingToEvent(0@, 36)
  not Char.IsRespondingToEvent(0@, 15)
  not Char.IsRespondingToEvent(0@, 9)
  not Char.IsRespondingToEvent(0@, 37)
goto_if_false @BURGLAR_5196
switch_start 2@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @BURGLAR_5092 {caseNum1} 0 {caseLabel1} @BURGLAR_4549 {caseNum2} 1 {caseLabel2} @BURGLAR_4608 {caseNum3} 2 {caseLabel3} @BURGLAR_4709 {caseNum4} 3 {caseLabel4} @BURGLAR_4769 {caseNum5} 4 {caseLabel5} @BURGLAR_4828 {caseNum6} -1 {caseLabel6} @BURGLAR_5196 {caseNum7} -1 {caseLabel7} @BURGLAR_5196

:BURGLAR_4549
12@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_4601
Task.Duck(0@, -2)
13@ = Char.SetSayContextImportant(0@, 85, True, False, False)

:BURGLAR_4601
goto @BURGLAR_5196

:BURGLAR_4608
12@ = Char.GetScriptTaskStatus(0@, 1476)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_4702
Task.HandsUp(0@, -2)
if 
  Char.IsHoldingObject($stattreadstamina_ctr, -1)
goto_if_false @BURGLAR_4686
13@ = Char.SetSayContextImportant(0@, 144, True, False, False)
goto @BURGLAR_4702

:BURGLAR_4686
13@ = Char.SetSayContextImportant(0@, 115, True, False, False)

:BURGLAR_4702
goto @BURGLAR_5196

:BURGLAR_4709
12@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_4762
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)
13@ = Char.SetSayContextImportant(0@, 20, True, False, False)

:BURGLAR_4762
goto @BURGLAR_5196

:BURGLAR_4769
12@ = Char.GetScriptTaskStatus(0@, 1466)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_4821
Task.StandStill(0@, -2)
13@ = Char.SetSayContextImportant(0@, 114, True, False, False)

:BURGLAR_4821
goto @BURGLAR_5196

:BURGLAR_4828
if 
  $flag_player_on_menace_mission == 1
goto_if_false @BURGLAR_5085
if 
  7@ == 1
goto_if_false @BURGLAR_4991
10@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 11@ = 10@
sub_int_lvar_from_int_lvar 11@ -= 9@
if 
  11@ > 8000
goto_if_false @BURGLAR_4984
if 
  not Char.IsDead(0@)
goto_if_false @BURGLAR_4984
12@ = Char.GetScriptTaskStatus(0@, 1833)
if 
  not is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_4956
Task.UseMobilePhone(0@, False)

:BURGLAR_4956
Streaming.MarkModelAsNoLongerNeeded(330)
7@ = 2
13@ = Char.SetSayContextImportant(0@, 44, True, False, False)

:BURGLAR_4984
goto @BURGLAR_5085

:BURGLAR_4991
12@ = Char.GetScriptTaskStatus(0@, 1476)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BURGLAR_5085
Task.HandsUp(0@, -2)
if 
  Char.IsHoldingObject($stattreadstamina_ctr, -1)
goto_if_false @BURGLAR_5069
13@ = Char.SetSayContextImportant(0@, 144, True, False, False)
goto @BURGLAR_5085

:BURGLAR_5069
13@ = Char.SetSayContextImportant(0@, 115, True, False, False)

:BURGLAR_5085
goto @BURGLAR_5196

:BURGLAR_5092
if 
  Char.IsHoldingObject($stattreadstamina_ctr, -1)
goto_if_false @BURGLAR_5134
13@ = Char.SetSayContextImportant(0@, 144, True, False, False)
goto @BURGLAR_5189

:BURGLAR_5134
if 
  Char.IsMale(0@)
goto_if_false @BURGLAR_5173
13@ = Char.SetSayContextImportant(0@, 110, True, False, False)
goto @BURGLAR_5189

:BURGLAR_5173
13@ = Char.SetSayContextImportant(0@, 110, True, False, False)

:BURGLAR_5189
goto @BURGLAR_5196

:BURGLAR_5196
switch_start 2@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @BURGLAR_5499 {caseNum1} 0 {caseLabel1} @BURGLAR_5259 {caseNum2} 1 {caseLabel2} @BURGLAR_5282 {caseNum3} 2 {caseLabel3} @BURGLAR_5347 {caseNum4} 3 {caseLabel4} @BURGLAR_5370 {caseNum5} 4 {caseLabel5} @BURGLAR_5393 {caseNum6} -1 {caseLabel6} @BURGLAR_5603 {caseNum7} -1 {caseLabel7} @BURGLAR_5603

:BURGLAR_5259
13@ = Char.SetSayContextImportant(0@, 85, True, False, False)
goto @BURGLAR_5603

:BURGLAR_5282
if 
  Char.IsHoldingObject($stattreadstamina_ctr, -1)
goto_if_false @BURGLAR_5324
13@ = Char.SetSayContextImportant(0@, 144, True, False, False)
goto @BURGLAR_5340

:BURGLAR_5324
13@ = Char.SetSayContextImportant(0@, 115, True, False, False)

:BURGLAR_5340
goto @BURGLAR_5603

:BURGLAR_5347
13@ = Char.SetSayContextImportant(0@, 20, True, False, False)
goto @BURGLAR_5603

:BURGLAR_5370
13@ = Char.SetSayContextImportant(0@, 114, True, False, False)
goto @BURGLAR_5603

:BURGLAR_5393
if 
  7@ == 1
goto_if_false @BURGLAR_5434
13@ = Char.SetSayContextImportant(0@, 44, True, False, False)
goto @BURGLAR_5492

:BURGLAR_5434
if 
  Char.IsHoldingObject($stattreadstamina_ctr, -1)
goto_if_false @BURGLAR_5476
13@ = Char.SetSayContextImportant(0@, 144, True, False, False)
goto @BURGLAR_5492

:BURGLAR_5476
13@ = Char.SetSayContextImportant(0@, 115, True, False, False)

:BURGLAR_5492
goto @BURGLAR_5603

:BURGLAR_5499
if 
  Char.IsHoldingObject($stattreadstamina_ctr, -1)
goto_if_false @BURGLAR_5541
13@ = Char.SetSayContextImportant(0@, 144, True, False, False)
goto @BURGLAR_5596

:BURGLAR_5541
if 
  Char.IsMale(0@)
goto_if_false @BURGLAR_5580
13@ = Char.SetSayContextImportant(0@, 110, True, False, False)
goto @BURGLAR_5596

:BURGLAR_5580
13@ = Char.SetSayContextImportant(0@, 110, True, False, False)

:BURGLAR_5596
goto @BURGLAR_5603

:BURGLAR_5603
goto @BURGLAR_5617

:BURGLAR_5610
5@ = 1

:BURGLAR_5617
goto @BURGLAR_5666

:BURGLAR_5624
DecisionMaker.Remove($played_none_before)
DecisionMaker.Remove($none_hiscore)
DecisionMaker.Remove($5356)
Char.MarkAsNoLongerNeeded(0@)
Streaming.MarkModelAsNoLongerNeeded(330)
Streaming.MarkModelAsNoLongerNeeded(336)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(350)
terminate_this_script 

:BURGLAR_5666
goto @BURGLAR_168
terminate_this_script 

//-------------External script 24 (GF_MEETING)---------------

:GFMEET
script_name 'GFMEET'
5@ = 0
6@ = 0
7@ = 0
if 
  7@ > 0
goto_if_false @GFMEET_106
15@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)
17@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)
18@ = Blip.AddForChar(15@)

:GFMEET_106
gosub @GFMEET_3912
gosub @GFMEET_2883

:GFMEET_120
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFMEET_325
if and
  not Char.IsDead(15@)
  Char.LocateAnyMeans3D($stattreadstamina_ctr, 1@, 2@, 3@, 100.0, 100.0, 20.0, False)
goto_if_false @GFMEET_311
if 
  Char.HasBeenDamagedByChar(15@, $stattreadstamina_ctr)
goto_if_false @GFMEET_227
set_local_var_bit_const 7@ {n} 2
5@ = 6
6@ = 0

:GFMEET_227
if 
  8@ == 1
goto_if_false @GFMEET_290
if or
  Char.IsDead(17@)
  Char.HasBeenDamagedByChar(17@, $stattreadstamina_ctr)
goto_if_false @GFMEET_290
set_local_var_bit_const 7@ {n} 2
5@ = 6
6@ = 0

:GFMEET_290
gosub @GFMEET_339
gosub @GFMEET_4873
goto @GFMEET_318

:GFMEET_311
gosub @GFMEET_5627

:GFMEET_318
goto @GFMEET_332

:GFMEET_325
gosub @GFMEET_5627

:GFMEET_332
goto @GFMEET_120

:GFMEET_339
switch_start 5@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFMEET_486 {caseNum1} 1 {caseLabel1} @GFMEET_402 {caseNum2} 2 {caseLabel2} @GFMEET_416 {caseNum3} 3 {caseLabel3} @GFMEET_430 {caseNum4} 4 {caseLabel4} @GFMEET_444 {caseNum5} 5 {caseLabel5} @GFMEET_458 {caseNum6} 6 {caseLabel6} @GFMEET_472 {caseNum7} -1 {caseLabel7} @GFMEET_486

:GFMEET_402
gosub @GFMEET_488
goto @GFMEET_486

:GFMEET_416
gosub @GFMEET_822
goto @GFMEET_486

:GFMEET_430
gosub @GFMEET_1353
goto @GFMEET_486

:GFMEET_444
gosub @GFMEET_1710
goto @GFMEET_486

:GFMEET_458
gosub @GFMEET_1989
goto @GFMEET_486

:GFMEET_472
gosub @GFMEET_2399
goto @GFMEET_486

:GFMEET_486
return 

:GFMEET_488
switch_start 6@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @GFMEET_820 {caseNum1} 0 {caseLabel1} @GFMEET_551 {caseNum2} -1 {caseLabel2} @GFMEET_820 {caseNum3} -1 {caseLabel3} @GFMEET_820 {caseNum4} -1 {caseLabel4} @GFMEET_820 {caseNum5} -1 {caseLabel5} @GFMEET_820 {caseNum6} -1 {caseLabel6} @GFMEET_820 {caseNum7} -1 {caseLabel7} @GFMEET_820

:GFMEET_551
if 
  Conversation.IsPlayerInPosition(15@)
goto_if_false @GFMEET_813
if 
  not is_global_var_bit_set_lvar $spray_help {var_n} 0@
goto_if_false @GFMEET_742
if 
  Char.LocateOnFootChar2D($stattreadstamina_ctr, 15@, 2.0, 2.0, False)
goto_if_false @GFMEET_742
gosub @GFMEET_3967
if 
  13@ == 1
goto_if_false @GFMEET_703
Conversation.Enable(15@, True)
if 
  Conversation.IsAtNode(15@, 19@s)
goto_if_false @GFMEET_689
5@ = 2
6@ = 0
goto @GFMEET_696

:GFMEET_689
Conversation.Enable(15@, False)

:GFMEET_696
goto @GFMEET_742

:GFMEET_703
if 
  not is_local_var_bit_set_const 7@ {n} 1
goto_if_false @GFMEET_742
5@ = 3
6@ = 0
Conversation.Enable(15@, False)

:GFMEET_742
13@ = Char.GetScriptTaskStatus(15@, 1655)
14@ = Char.GetScriptTaskStatus(17@, 1655)
if and
  is_int_lvar_equal_to_constant 13@ == 7
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @GFMEET_813
Task.ChatWithChar(15@, 17@, True, 1)
Task.ChatWithChar(17@, 15@, False, 1)

:GFMEET_813
goto @GFMEET_820

:GFMEET_820
return 

:GFMEET_822
switch_start 6@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @GFMEET_1351 {caseNum1} 0 {caseLabel1} @GFMEET_885 {caseNum2} 1 {caseLabel2} @GFMEET_973 {caseNum3} 2 {caseLabel3} @GFMEET_1073 {caseNum4} 3 {caseLabel4} @GFMEET_1304 {caseNum5} -1 {caseLabel5} @GFMEET_1351 {caseNum6} -1 {caseLabel6} @GFMEET_1351 {caseNum7} -1 {caseLabel7} @GFMEET_1351

:GFMEET_885
TIMERB = 0
Task.TurnCharToFaceChar(15@, $stattreadstamina_ctr)
if and
  8@ == 1
  not Char.IsDead(17@)
goto_if_false @GFMEET_959
13@ = Char.GetScriptTaskStatus(17@, 1466)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_959
Task.StandStill(17@, -2)

:GFMEET_959
6@ += 1
goto @GFMEET_1351

:GFMEET_973
13@ = Char.GetScriptTaskStatus(15@, 1593)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_1066
Task.LookAtChar(15@, $stattreadstamina_ctr, -1)
13@ = Char.GetScriptTaskStatus(15@, 1466)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_1048
Task.StandStill(15@, -2)

:GFMEET_1048
Text.PrintHelpForever('TALK_1')
6@ += 1

:GFMEET_1066
goto @GFMEET_1351

:GFMEET_1073
if 
  Conversation.IsAtNode(15@, 23@s)
goto_if_false @GFMEET_1175
Text.ClearHelp
if 
  TIMERB > 9000
goto_if_false @GFMEET_1175
$363(0@,6i) = 0
clear_global_var_bit_lvar $spray_help {var_n} 0@
if 
  Blip.DoesExist(18@)
goto_if_false @GFMEET_1153
Blip.Remove(18@)

:GFMEET_1153
Text.ClearHelp
Char.ClearLookAt(15@)
6@ = 0
set_lvar_int_to_lvar_int 5@ = 8@

:GFMEET_1175
if 
  Conversation.IsAtNode(15@, 21@s)
goto_if_false @GFMEET_1251
Text.ClearHelp
if 
  not is_global_var_bit_set_lvar $spray_help {var_n} 0@
goto_if_false @GFMEET_1223
set_global_var_bit_lvar $spray_help {var_n} 0@

:GFMEET_1223
if 
  Blip.DoesExist(18@)
goto_if_false @GFMEET_1244
Blip.Remove(18@)

:GFMEET_1244
6@ += 1

:GFMEET_1251
if and
  not Conversation.IsPlayerInPosition(15@)
  TIMERB > 9000
goto_if_false @GFMEET_1297
Text.ClearHelp
Char.ClearLookAt(15@)
6@ = 0
set_lvar_int_to_lvar_int 5@ = 8@

:GFMEET_1297
goto @GFMEET_1351

:GFMEET_1304
if 
  not Text.IsMessageBeingDisplayed
goto_if_false @GFMEET_1344
gosub @GFMEET_3773
Char.ClearLookAt(15@)
6@ = 0
set_lvar_int_to_lvar_int 5@ = 8@

:GFMEET_1344
goto @GFMEET_1351

:GFMEET_1351
return 

:GFMEET_1353
switch_start 6@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @GFMEET_1708 {caseNum1} 0 {caseLabel1} @GFMEET_1416 {caseNum2} 1 {caseLabel2} @GFMEET_1504 {caseNum3} 2 {caseLabel3} @GFMEET_1593 {caseNum4} 3 {caseLabel4} @GFMEET_1655 {caseNum5} -1 {caseLabel5} @GFMEET_1708 {caseNum6} -1 {caseLabel6} @GFMEET_1708 {caseNum7} -1 {caseLabel7} @GFMEET_1708

:GFMEET_1416
TIMERB = 0
Task.TurnCharToFaceChar(15@, $stattreadstamina_ctr)
if and
  8@ == 1
  not Char.IsDead(17@)
goto_if_false @GFMEET_1490
13@ = Char.GetScriptTaskStatus(17@, 1466)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_1490
Task.StandStill(17@, -2)

:GFMEET_1490
6@ += 1
goto @GFMEET_1708

:GFMEET_1504
13@ = Char.GetScriptTaskStatus(15@, 1593)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_1586
Task.LookAtChar(15@, $stattreadstamina_ctr, -1)
13@ = Char.GetScriptTaskStatus(15@, 1466)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_1579
Task.StandStill(15@, -2)

:GFMEET_1579
6@ += 1

:GFMEET_1586
goto @GFMEET_1708

:GFMEET_1593
if 
  is_local_var_bit_set_const 7@ {n} 3
goto_if_false @GFMEET_1633
set_var_int_to_constant $iGF_TT_driver = 312
clear_local_var_bit_const 7@ {n} 3
goto @GFMEET_1641

:GFMEET_1633
set_var_int_to_constant $iGF_TT_driver = 311

:GFMEET_1641
6@ += 1
goto @GFMEET_1708

:GFMEET_1655
if 
  TIMERB > 6000
goto_if_false @GFMEET_1701
Char.ClearLookAt(15@)
set_local_var_bit_const 7@ {n} 1
6@ = 0
set_lvar_int_to_lvar_int 5@ = 8@

:GFMEET_1701
goto @GFMEET_1708

:GFMEET_1708
return 

:GFMEET_1710
switch_start 6@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @GFMEET_1987 {caseNum1} 0 {caseLabel1} @GFMEET_1773 {caseNum2} -1 {caseLabel2} @GFMEET_1987 {caseNum3} -1 {caseLabel3} @GFMEET_1987 {caseNum4} -1 {caseLabel4} @GFMEET_1987 {caseNum5} -1 {caseLabel5} @GFMEET_1987 {caseNum6} -1 {caseLabel6} @GFMEET_1987 {caseNum7} -1 {caseLabel7} @GFMEET_1987

:GFMEET_1773
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 15@, 3.0, 3.0, False)
goto_if_false @GFMEET_1929
gosub @GFMEET_3967
if 
  13@ == 1
goto_if_false @GFMEET_1890
Conversation.Enable(15@, True)
if 
  Conversation.IsAtNode(15@, 19@s)
goto_if_false @GFMEET_1876
5@ = 2
6@ = 0
goto @GFMEET_1883

:GFMEET_1876
Conversation.Enable(15@, False)

:GFMEET_1883
goto @GFMEET_1929

:GFMEET_1890
if 
  not is_local_var_bit_set_const 7@ {n} 1
goto_if_false @GFMEET_1929
5@ = 3
6@ = 0
Conversation.Enable(15@, False)

:GFMEET_1929
13@ = Char.GetScriptTaskStatus(15@, 1640)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_1980
Task.ShootAtCoord(15@, 264.0, -155.0, 5.0, -1)

:GFMEET_1980
goto @GFMEET_1987

:GFMEET_1987
return 

:GFMEET_1989
switch_start 6@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @GFMEET_2397 {caseNum1} 0 {caseLabel1} @GFMEET_2052 {caseNum2} 1 {caseLabel2} @GFMEET_2133 {caseNum3} 2 {caseLabel3} @GFMEET_2323 {caseNum4} -1 {caseLabel4} @GFMEET_2397 {caseNum5} -1 {caseLabel5} @GFMEET_2397 {caseNum6} -1 {caseLabel6} @GFMEET_2397 {caseNum7} -1 {caseLabel7} @GFMEET_2397

:GFMEET_2052
13@ = Char.GetScriptTaskStatus(15@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_2126
Task.PlayAnim(15@, "TAI_CHI_IN", "PARK", 4.0, False, False, False, False, -1)
6@ += 1

:GFMEET_2126
goto @GFMEET_2397

:GFMEET_2133
13@ = Char.GetScriptTaskStatus(15@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_2205
Task.PlayAnim(15@, "TAI_CHI_LOOP", "PARK", 4.0, False, False, False, False, 1215752191)

:GFMEET_2205
if and
  Conversation.IsPlayerInPosition(15@)
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 15@, 2.0, 2.0, False)
  Conversation.IsAtNode(15@, 19@s)
  not is_local_var_bit_set_const 7@ {n} 1
goto_if_false @GFMEET_2309
Task.PlayAnim(15@, "TAI_CHI_OUT", "PARK", 4.0, False, False, False, False, -1)
6@ += 1
goto @GFMEET_2316

:GFMEET_2309
Conversation.Enable(15@, False)

:GFMEET_2316
goto @GFMEET_2397

:GFMEET_2323
gosub @GFMEET_3967
if 
  13@ == 1
goto_if_false @GFMEET_2376
Conversation.Enable(15@, True)
5@ = 2
6@ = 0
goto @GFMEET_2390

:GFMEET_2376
5@ = 3
6@ = 0

:GFMEET_2390
goto @GFMEET_2397

:GFMEET_2397
return 

:GFMEET_2399
switch_start 6@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @GFMEET_2881 {caseNum1} 0 {caseLabel1} @GFMEET_2462 {caseNum2} 1 {caseLabel2} @GFMEET_2769 {caseNum3} -1 {caseLabel3} @GFMEET_2881 {caseNum4} -1 {caseLabel4} @GFMEET_2881 {caseNum5} -1 {caseLabel5} @GFMEET_2881 {caseNum6} -1 {caseLabel6} @GFMEET_2881 {caseNum7} -1 {caseLabel7} @GFMEET_2881

:GFMEET_2462
if 
  is_local_var_bit_set_const 7@ {n} 2
goto_if_false @GFMEET_2762
$363(0@,6i) = 0
if 
  0@ == 1
goto_if_false @GFMEET_2526
Char.SetDecisionMaker(15@, 65543)
goto @GFMEET_2536

:GFMEET_2526
Char.SetDecisionMaker(15@, 65539)

:GFMEET_2536
if 
  not Char.IsDead(17@)
goto_if_false @GFMEET_2562
Char.SetDecisionMaker(17@, 65543)

:GFMEET_2562
if 
  Char.HasGotWeapon(15@, WeaponType.Pistol)
goto_if_false @GFMEET_2631
Char.SetCurrentWeapon(15@, WeaponType.Pistol)
13@ = Char.GetScriptTaskStatus(15@, 1506)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_2624
Task.KillCharOnFoot(15@, $stattreadstamina_ctr)

:GFMEET_2624
goto @GFMEET_2667

:GFMEET_2631
13@ = Char.GetScriptTaskStatus(15@, 1477)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_2667
Task.Duck(15@, -2)

:GFMEET_2667
if 
  Blip.DoesExist(18@)
goto_if_false @GFMEET_2688
Blip.Remove(18@)

:GFMEET_2688
13@ = Clock.GetCurrentDayOfWeek()
13@ += 1
if 
  13@ > 7
goto_if_false @GFMEET_2725
13@ = 1

:GFMEET_2725
13@ += 22
set_global_var_bit_lvar $387(0@,6i) {var_n} 13@
set_global_var_bit_const $387(0@,6i) {n} 31
6@ += 1

:GFMEET_2762
goto @GFMEET_2881

:GFMEET_2769
if 
  Char.HasGotWeapon(15@, WeaponType.Pistol)
goto_if_false @GFMEET_2838
Char.SetCurrentWeapon(15@, WeaponType.Pistol)
13@ = Char.GetScriptTaskStatus(15@, 1506)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_2831
Task.KillCharOnFoot(15@, $stattreadstamina_ctr)

:GFMEET_2831
goto @GFMEET_2874

:GFMEET_2838
13@ = Char.GetScriptTaskStatus(15@, 1477)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @GFMEET_2874
Task.Duck(15@, -2)

:GFMEET_2874
goto @GFMEET_2881

:GFMEET_2881
return 

:GFMEET_2883
switch_start 0@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @GFMEET_3401 {caseNum1} 1 {caseLabel1} @GFMEET_2946 {caseNum2} 2 {caseLabel2} @GFMEET_3042 {caseNum3} 3 {caseLabel3} @GFMEET_3170 {caseNum4} 4 {caseLabel4} @GFMEET_3298 {caseNum5} -1 {caseLabel5} @GFMEET_3401 {caseNum6} -1 {caseLabel6} @GFMEET_3401 {caseNum7} -1 {caseLabel7} @GFMEET_3401

:GFMEET_2946
if 
  not Streaming.HasModelLoaded(192)
goto_if_false @GFMEET_2978
Streaming.RequestModel(192)
wait 0
goto @GFMEET_2946

:GFMEET_2978
set_lvar_int_to_constant 13@ = 192
set_lvar_text_label 19@s = 'GF_1A'
set_lvar_text_label 21@s = 'GF_1C'
set_lvar_text_label 23@s = 'GF_1B'
8@ = 1
goto @GFMEET_3401

:GFMEET_3042
if 
  not Streaming.HasModelLoaded(191)
goto_if_false @GFMEET_3074
Streaming.RequestModel(191)
wait 0
goto @GFMEET_3042

:GFMEET_3074
if 
  not Streaming.HasModelLoaded(346)
goto_if_false @GFMEET_3106
Streaming.RequestModel(346)
wait 0
goto @GFMEET_3074

:GFMEET_3106
set_lvar_int_to_constant 13@ = 191
set_lvar_text_label 19@s = 'GF_2A'
set_lvar_text_label 21@s = 'GF_2C'
set_lvar_text_label 23@s = 'GF_2B'
8@ = 4
goto @GFMEET_3401

:GFMEET_3170
if 
  not Streaming.HasModelLoaded(190)
goto_if_false @GFMEET_3202
Streaming.RequestModel(190)
wait 0
goto @GFMEET_3170

:GFMEET_3202
if 
  not Streaming.HasModelLoaded(346)
goto_if_false @GFMEET_3234
Streaming.RequestModel(346)
wait 0
goto @GFMEET_3202

:GFMEET_3234
set_lvar_int_to_constant 13@ = 190
set_lvar_text_label 19@s = 'GF_3A'
set_lvar_text_label 21@s = 'GF_3C'
set_lvar_text_label 23@s = 'GF_3B'
8@ = 1
goto @GFMEET_3401

:GFMEET_3298
if 
  not Streaming.HasModelLoaded(193)
goto_if_false @GFMEET_3330
Streaming.RequestModel(193)
wait 0
goto @GFMEET_3298

:GFMEET_3330
set_lvar_int_to_constant 13@ = 193
set_lvar_text_label 19@s = 'GF_4A'
set_lvar_text_label 21@s = 'GF_4C'
set_lvar_text_label 23@s = 'GF_4B'
8@ = 5
6@ = 0
goto @GFMEET_3401

:GFMEET_3401
15@ = Char.Create(PedType.CivFemale, 13@, 1@, 2@, 3@)
Char.SetHeading(15@, 4@)
if 
  0@ == 2
goto_if_false @GFMEET_3465
Char.GiveWeapon(15@, WeaponType.Pistol, 999999999)
Char.SetAccuracy(15@, 100)

:GFMEET_3465
if 
  0@ == 3
goto_if_false @GFMEET_3509
Char.GiveWeapon(15@, WeaponType.Pistol, 999999999)
Char.SetCurrentWeapon(15@, WeaponType.Unarmed)
Char.SetAccuracy(15@, 100)

:GFMEET_3509
Char.SetStayInSamePlace(15@, True)
Char.SetSuffersCriticalHits(15@, False)
Char.SetNeverTargeted(15@, True)
Char.SetProofs(15@, False, False, True, True, False)
Char.SetHealth(15@, 200)
Task.StandStill(15@, -1)
Char.SetKeepTask(15@, True)
Conversation.StartSettingUp(15@)
Conversation.SetUpNodeWithSpeech(19@s, 21@s, 23@s, 313, 247, 248)
Conversation.SetUpEndNodeWithSpeech(21@s, 315)
Conversation.SetUpEndNodeWithSpeech(23@s, 314)
Conversation.FinishSettingUp
Conversation.Enable(15@, False)
18@ = Blip.AddForChar(15@)
Blip.SetAsFriendly(18@, True)
Blip.ChangeDisplay(18@, BlipDisplay.MarkerOnly)
if 
  8@ == 1
goto_if_false @GFMEET_3756
9@, 10@, 11@ = Char.GetOffsetInWorldCoords(15@, 0.5, 1.0, 0.0)
11@ = World.GetGroundZFor3DCoord(9@, 10@, 11@)
17@ = Char.CreateRandom(9@, 10@, 11@)
4@ += 180.0
Char.SetHeading(17@, 4@)
Task.ChatWithChar(15@, 17@, True, 1)
Task.ChatWithChar(17@, 15@, False, 1)

:GFMEET_3756
set_lvar_int_to_lvar_int 5@ = 8@
6@ = 0
return 

:GFMEET_3773
Text.ClearHelp
switch_start 0@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @GFMEET_3910 {caseNum1} 1 {caseLabel1} @GFMEET_3838 {caseNum2} 2 {caseLabel2} @GFMEET_3856 {caseNum3} 3 {caseLabel3} @GFMEET_3874 {caseNum4} 4 {caseLabel4} @GFMEET_3892 {caseNum5} -1 {caseLabel5} @GFMEET_3910 {caseNum6} -1 {caseLabel6} @GFMEET_3910 {caseNum7} -1 {caseLabel7} @GFMEET_3910

:GFMEET_3838
Text.PrintHelp('GF_H001')
goto @GFMEET_3910

:GFMEET_3856
Text.PrintHelp('GF_H002')
goto @GFMEET_3910

:GFMEET_3874
Text.PrintHelp('GF_H003')
goto @GFMEET_3910

:GFMEET_3892
Text.PrintHelp('GF_H004')
goto @GFMEET_3910

:GFMEET_3910
return 

:GFMEET_3912
Streaming.RequestAnimation("PARK")

:GFMEET_3920
wait 0
if 
  Streaming.HasAnimationLoaded("PARK")
goto_if_false @GFMEET_3952
return 
goto @GFMEET_3967

:GFMEET_3952
Streaming.RequestAnimation("PARK")
goto @GFMEET_3920

:GFMEET_3967
13@ = 0
13@ = Stat.GetInt(StatId.SexAppeal)
13@ /= 10
14@ = Stat.GetInt(StatId.Fat)
14@ /= 10
14@ /= 2
if 
  14@ >= 25
goto_if_false @GFMEET_4093
if 
  is_global_var_bit_set_const $375(0@,6i) {n} 2
goto_if_false @GFMEET_4064
add_int_lvar_to_int_lvar 13@ += 14@
goto @GFMEET_4086

:GFMEET_4064
sub_int_lvar_from_int_lvar 13@ -= 14@
set_local_var_bit_const 7@ {n} 3
set_local_var_bit_const 7@ {n} 11

:GFMEET_4086
goto @GFMEET_4199

:GFMEET_4093
if 
  is_global_var_bit_set_const $375(0@,6i) {n} 2
goto_if_false @GFMEET_4144
sub_int_lvar_from_int_lvar 13@ -= 14@
set_local_var_bit_const 7@ {n} 3
set_local_var_bit_const 7@ {n} 10
goto @GFMEET_4199

:GFMEET_4144
if 
  is_global_var_bit_set_const $375(0@,6i) {n} 3
goto_if_false @GFMEET_4199
if 
  14@ == 0
goto_if_false @GFMEET_4191
14@ = 5

:GFMEET_4191
add_int_lvar_to_int_lvar 13@ += 14@

:GFMEET_4199
14@ = Stat.GetInt(StatId.BodyMuscle)
14@ /= 10
14@ /= 2
if 
  14@ >= 20
goto_if_false @GFMEET_4326
if 
  is_global_var_bit_set_const $375(0@,6i) {n} 1
goto_if_false @GFMEET_4275
add_int_lvar_to_int_lvar 13@ += 14@
goto @GFMEET_4319

:GFMEET_4275
if 
  is_global_var_bit_set_const $375(0@,6i) {n} 3
goto_if_false @GFMEET_4319
sub_int_lvar_from_int_lvar 13@ -= 14@
set_local_var_bit_const 7@ {n} 3
set_local_var_bit_const 7@ {n} 12

:GFMEET_4319
goto @GFMEET_4432

:GFMEET_4326
if 
  is_global_var_bit_set_const $375(0@,6i) {n} 1
goto_if_false @GFMEET_4377
sub_int_lvar_from_int_lvar 13@ -= 14@
set_local_var_bit_const 7@ {n} 3
set_local_var_bit_const 7@ {n} 11
goto @GFMEET_4432

:GFMEET_4377
if 
  is_global_var_bit_set_const $375(0@,6i) {n} 3
goto_if_false @GFMEET_4432
if 
  14@ == 0
goto_if_false @GFMEET_4424
14@ = 5

:GFMEET_4424
add_int_lvar_to_int_lvar 13@ += 14@

:GFMEET_4432
if 
  is_int_lvar_greater_or_equal_to_int_var 13@ >= $369(0@,6i)
goto_if_false @GFMEET_4487
$363(0@,6i) = 15
gosub @GFMEET_4496
13@ = 1
goto @GFMEET_4494

:GFMEET_4487
13@ = -1

:GFMEET_4494
return 

:GFMEET_4496
switch_start 0@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFMEET_4871 {caseNum1} 0 {caseLabel1} @GFMEET_4559 {caseNum2} 1 {caseLabel2} @GFMEET_4611 {caseNum3} 2 {caseLabel3} @GFMEET_4663 {caseNum4} 3 {caseLabel4} @GFMEET_4715 {caseNum5} 4 {caseLabel5} @GFMEET_4767 {caseNum6} 5 {caseLabel6} @GFMEET_4819 {caseNum7} -1 {caseLabel7} @GFMEET_4871

:GFMEET_4559
if 
  $363(0@,6i) > 100
goto_if_false @GFMEET_4592
$363(0@,6i) = 100

:GFMEET_4592
Stat.SetInt(StatId.GirlfriendDenise, $363(0@,6i))
goto @GFMEET_4871

:GFMEET_4611
if 
  $363(0@,6i) > 100
goto_if_false @GFMEET_4644
$363(0@,6i) = 100

:GFMEET_4644
Stat.SetInt(StatId.GirlfriendMichelle, $363(0@,6i))
goto @GFMEET_4871

:GFMEET_4663
if 
  $363(0@,6i) > 100
goto_if_false @GFMEET_4696
$363(0@,6i) = 100

:GFMEET_4696
Stat.SetInt(StatId.GirlfriendHelena, $363(0@,6i))
goto @GFMEET_4871

:GFMEET_4715
if 
  $363(0@,6i) > 100
goto_if_false @GFMEET_4748
$363(0@,6i) = 100

:GFMEET_4748
Stat.SetInt(StatId.GirlfriendBarbara, $363(0@,6i))
goto @GFMEET_4871

:GFMEET_4767
if 
  $363(0@,6i) > 100
goto_if_false @GFMEET_4800
$363(0@,6i) = 100

:GFMEET_4800
Stat.SetInt(StatId.GirlfriendKatie, $363(0@,6i))
goto @GFMEET_4871

:GFMEET_4819
if 
  $363(0@,6i) > 100
goto_if_false @GFMEET_4852
$363(0@,6i) = 100

:GFMEET_4852
Stat.SetInt(StatId.GirlfriendMillie, $363(0@,6i))
goto @GFMEET_4871

:GFMEET_4871
return 

:GFMEET_4873
switch_start $iGF_TT_Status {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @GFMEET_5405 {caseNum1} 0 {caseLabel1} @GFMEET_4936 {caseNum2} 1 {caseLabel2} @GFMEET_4968 {caseNum3} 2 {caseLabel3} @GFMEET_4980 {caseNum4} 3 {caseLabel4} @GFMEET_4994 {caseNum5} 4 {caseLabel5} @GFMEET_5263 {caseNum6} 5 {caseLabel6} @GFMEET_5363 {caseNum7} 6 {caseLabel7} @GFMEET_5172

:GFMEET_4936
if 
  $iGF_TT_driver > 0
goto_if_false @GFMEET_4961
$iGF_TT_Status = 3

:GFMEET_4961
goto @GFMEET_5405

:GFMEET_4968
Char.EnableSpeech(15@)
goto @GFMEET_5405

:GFMEET_4980
Char.DisableSpeech(15@, False)
goto @GFMEET_5405

:GFMEET_4994
if 
  not Char.IsTalking(15@)
goto_if_false @GFMEET_5165
if 
  $iGF_TT_driver > 0
goto_if_false @GFMEET_5105
$iGF_TT_PedModel = Char.SetSayContextImportant(15@, $iGF_TT_driver, False, True, False)
gosub @GFMEET_5407
$iGF_TT_driver = -1
if 
  $iGF_TT_Car > 0
goto_if_false @GFMEET_5091
$iGF_TT_Status = 6
goto @GFMEET_5098

:GFMEET_5091
$iGF_TT_Status = 0

:GFMEET_5098
goto @GFMEET_5165

:GFMEET_5105
if 
  $iGF_TT_driver == -2
goto_if_false @GFMEET_5144
$iGF_TT_driver = -1
$iGF_TT_Status = 6
goto @GFMEET_5165

:GFMEET_5144
$iGF_TT_driver = -1
$iGF_TT_Car = -1
$iGF_TT_Status = 0

:GFMEET_5165
goto @GFMEET_5405

:GFMEET_5172
if and
  not Char.IsTalking($stattreadstamina_ctr)
  not Char.IsTalking(15@)
goto_if_false @GFMEET_5256
if 
  $iGF_TT_Car > 0
goto_if_false @GFMEET_5249
$iGF_TT_PedModel = Char.SetSayContextImportant($stattreadstamina_ctr, $iGF_TT_Car, False, True, False)
$iGF_TT_Car = -1
$iGF_TT_Status = 0
goto @GFMEET_5256

:GFMEET_5249
$iGF_TT_Status = 0

:GFMEET_5256
goto @GFMEET_5405

:GFMEET_5263
Char.DisableSpeech(15@, False)
if 
  not Char.IsTalking(15@)
goto_if_false @GFMEET_5356
if 
  $iGF_TT_driver > 0
goto_if_false @GFMEET_5349
$iGF_TT_PedModel = Char.SetSayContextImportant(15@, $iGF_TT_driver, False, True, False)
gosub @GFMEET_5407
$iGF_TT_driver = -1
$iGF_TT_Status = 5
goto @GFMEET_5356

:GFMEET_5349
$iGF_TT_Status = 0

:GFMEET_5356
goto @GFMEET_5405

:GFMEET_5363
if 
  not Char.IsTalking(15@)
goto_if_false @GFMEET_5398
Char.EnableSpeech(15@)
$iGF_TT_driver = -1
$iGF_TT_Status = 0

:GFMEET_5398
goto @GFMEET_5405

:GFMEET_5405
return 

:GFMEET_5407
switch_start $iGF_TT_driver {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @GFMEET_5625 {caseNum1} 311 {caseLabel1} @GFMEET_5602 {caseNum2} 312 {caseLabel2} @GFMEET_5472 {caseNum3} -1 {caseLabel3} @GFMEET_5625 {caseNum4} -1 {caseLabel4} @GFMEET_5625 {caseNum5} -1 {caseLabel5} @GFMEET_5625 {caseNum6} -1 {caseLabel6} @GFMEET_5625 {caseNum7} -1 {caseLabel7} @GFMEET_5625

:GFMEET_5472
if 
  is_local_var_bit_set_const 7@ {n} 10
goto_if_false @GFMEET_5513
Text.PrintNow('GF_0074', 5000, 1)
goto @GFMEET_5625

:GFMEET_5513
if 
  is_local_var_bit_set_const 7@ {n} 11
goto_if_false @GFMEET_5554
Text.PrintNow('GF_0053', 5000, 1)
goto @GFMEET_5625

:GFMEET_5554
if 
  is_local_var_bit_set_const 7@ {n} 12
goto_if_false @GFMEET_5595
Text.PrintNow('GF_0075', 5000, 1)
goto @GFMEET_5625

:GFMEET_5595
goto @GFMEET_5625

:GFMEET_5602
Text.PrintNow('GF_0052', 5000, 1)
goto @GFMEET_5625

:GFMEET_5625
return 

:GFMEET_5627
Char.MarkAsNoLongerNeeded(15@)
Char.MarkAsNoLongerNeeded(17@)
Streaming.RemoveAnimation("PARK")
Text.ClearHelp
switch_start 0@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFMEET_5782 {caseNum1} 0 {caseLabel1} @GFMEET_5710 {caseNum2} 1 {caseLabel2} @GFMEET_5722 {caseNum3} 2 {caseLabel3} @GFMEET_5734 {caseNum4} 3 {caseLabel4} @GFMEET_5746 {caseNum5} 4 {caseLabel5} @GFMEET_5758 {caseNum6} 5 {caseLabel6} @GFMEET_5770 {caseNum7} -1 {caseLabel7} @GFMEET_5782

:GFMEET_5710
Streaming.MarkModelAsNoLongerNeeded(195)
goto @GFMEET_5782

:GFMEET_5722
Streaming.MarkModelAsNoLongerNeeded(192)
goto @GFMEET_5782

:GFMEET_5734
Streaming.MarkModelAsNoLongerNeeded(191)
goto @GFMEET_5782

:GFMEET_5746
Streaming.MarkModelAsNoLongerNeeded(190)
goto @GFMEET_5782

:GFMEET_5758
Streaming.MarkModelAsNoLongerNeeded(193)
goto @GFMEET_5782

:GFMEET_5770
Streaming.MarkModelAsNoLongerNeeded(194)
goto @GFMEET_5782

:GFMEET_5782
Conversation.ClearForChar(15@)
if 
  Blip.DoesExist(18@)
goto_if_false @GFMEET_5808
Blip.Remove(18@)

:GFMEET_5808
clear_global_var_bit_const $iGFBonusPickupID {n} 20
terminate_this_script 
return 
write_debug "I__________________________I"
write_debug "H"
write_debug "G"
write_debug "F"
write_debug "E"
write_debug_with_int "GF_LIKES_PLAYER" {_p2} $363(0@,6i)
write_debug_with_int "DESIRED_SEX_APPEAL" {_p2} $369(0@,6i)
write_debug_with_int "ISUBSTATESTATUS" {_p2} 6@
switch_start 5@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @GFMEET_6106 {caseNum1} 0 {caseLabel1} @GFMEET_6011 {caseNum2} 1 {caseLabel2} @GFMEET_6030 {caseNum3} 2 {caseLabel3} @GFMEET_6049 {caseNum4} 3 {caseLabel4} @GFMEET_6068 {caseNum5} 4 {caseLabel5} @GFMEET_6087 {caseNum6} -1 {caseLabel6} @GFMEET_6135 {caseNum7} -1 {caseLabel7} @GFMEET_6135

:GFMEET_6011
write_debug "STATE0__"
goto @GFMEET_6135

:GFMEET_6030
write_debug "STATE1__"
goto @GFMEET_6135

:GFMEET_6049
write_debug "STATE2__"
goto @GFMEET_6135

:GFMEET_6068
write_debug "STATE3__"
goto @GFMEET_6135

:GFMEET_6087
write_debug "STATE4__"
goto @GFMEET_6135

:GFMEET_6106
write_debug "UNTRAPPED_STATE___"
goto @GFMEET_6135

:GFMEET_6135
write_debug "I__________________________I"
return 
terminate_this_script 

//-------------External script 25 (GF_DATE)---------------

:GFDATE
script_name 'GFDATE'
1@ = 0
2@ = 0
3@ = 0
24@ = 0
30@ = -1
29@ = -1
$iBouncerAction = 30
$iSetBarPanic = 30.0
if 
  3@ > 0
goto_if_false @GFDATE_120
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)
28@ = Char.StoreCarIsInNoSave(0@)

:GFDATE_120
gosub @GFDATE_24076
set_local_var_bit_const 3@ {n} 1

:GFDATE_134
wait 0
if and
  Player.IsPlaying($statbike_temp)
  $weapon_shop1_blip == 0
goto_if_false @GFDATE_260
if 
  not Char.IsDead(0@)
goto_if_false @GFDATE_244
gosub @GFDATE_26752
gosub @GFDATE_24246
gosub @GFDATE_283
gosub @GFDATE_3688
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 22
goto_if_false @GFDATE_230
gosub @GFDATE_27210

:GFDATE_230
gosub @GFDATE_30455
goto @GFDATE_253

:GFDATE_244
Text.ClearHelp
gosub @GFDATE_32517

:GFDATE_253
goto @GFDATE_276

:GFDATE_260
Text.ClearHelp
set_local_var_bit_const 3@ {n} 9
gosub @GFDATE_32517

:GFDATE_276
goto @GFDATE_134

:GFDATE_283
if 
  not is_local_var_bit_set_const 3@ {n} 1
goto_if_false @GFDATE_3686
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 26
goto_if_false @GFDATE_342
set_global_var_bit_const $iGFBonusPickupID {n} 2
1@ = 3
2@ = 0
return 

:GFDATE_342
gosub @GFDATE_20055
if 
  24@ > -1
goto_if_false @GFDATE_462
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 11
goto_if_false @GFDATE_414
gosub @GFDATE_32407
Camera.DoFade(0, Fade.Out)
1@ = 2
2@ = 0
return 

:GFDATE_414
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 13
goto_if_false @GFDATE_455
gosub @GFDATE_32407
1@ = 10
2@ = 0
return 

:GFDATE_455
goto @GFDATE_503

:GFDATE_462
if 
  24@ == -2
goto_if_false @GFDATE_503
gosub @GFDATE_32407
1@ = 3
2@ = 0
return 

:GFDATE_503
switch_start $GF_right_stick_x {numCases} 17 {hasDefaultCase} 0 {defaultLabel} @GFDATE_3686 {caseNum1} 0 {caseLabel1} @GFDATE_696 {caseNum2} 1 {caseLabel2} @GFDATE_887 {caseNum3} 2 {caseLabel3} @GFDATE_1089 {caseNum4} 3 {caseLabel4} @GFDATE_1375 {caseNum5} 4 {caseLabel5} @GFDATE_1479 {caseNum6} 5 {caseLabel6} @GFDATE_1585 {caseNum7} 6 {caseLabel7} @GFDATE_1698
switch_continued 7 {caseLabel1} @GFDATE_1811 {caseNum2} 8 {caseLabel2} @GFDATE_1869 {caseNum3} 9 {caseLabel3} @GFDATE_1986 {caseNum4} 10 {caseLabel4} @GFDATE_2069 {caseNum5} 11 {caseLabel5} @GFDATE_2373 {caseNum6} 12 {caseLabel6} @GFDATE_2583 {caseNum7} 13 {caseLabel7} @GFDATE_2720 {caseNum8} 14 {caseLabel8} @GFDATE_3163 {caseNum9} 15 {caseLabel9} @GFDATE_3337
switch_continued 16 {caseLabel1} @GFDATE_3544 {caseNum2} -1 {caseLabel2} @GFDATE_3686 {caseNum3} -1 {caseLabel3} @GFDATE_3686 {caseNum4} -1 {caseLabel4} @GFDATE_3686 {caseNum5} -1 {caseLabel5} @GFDATE_3686 {caseNum6} -1 {caseLabel6} @GFDATE_3686 {caseNum7} -1 {caseLabel7} @GFDATE_3686 {caseNum8} -1 {caseLabel8} @GFDATE_3686 {caseNum9} -1 {caseLabel9} @GFDATE_3686

:GFDATE_696
gosub @GFDATE_23696
if 
  25@ > 0
goto_if_false @GFDATE_873
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @GFDATE_866
if and
  1@ == 1
  not is_local_var_bit_set_const 3@ {n} 7
  not is_local_var_bit_set_const 3@ {n} 26
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 22
goto_if_false @GFDATE_859
if 
  not is_local_var_bit_set_const 3@ {n} 3
goto_if_false @GFDATE_859
set_local_var_bit_const 3@ {n} 3
if 
  25@ == 2
goto_if_false @GFDATE_843
1@ = 11
2@ = 0
return 
goto @GFDATE_859

:GFDATE_843
1@ = 6
2@ = 0
return 

:GFDATE_859
goto @GFDATE_873

:GFDATE_866
clear_local_var_bit_const 3@ {n} 3

:GFDATE_873
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_887
if 
  not is_local_var_bit_set_const 3@ {n} 2
goto_if_false @GFDATE_1075
if or
  is_global_var_bit_set_const $381($iCaller,6i) {n} 21
  is_global_var_bit_set_const $381($iCaller,6i) {n} 16
goto_if_false @GFDATE_1075
4@, 7@, 10@ = Char.GetCoordinates($stattreadstamina_ctr)
s$mod_garage1 = Zone.GetName(4@, 7@, 10@)
if and
  is_global_var_bit_set_const $381($iCaller,6i) {n} 21
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_1075
25@ = Char.GetAmmoInWeapon(0@, WeaponType.MicroUzi)
if 
  25@ == 0
goto_if_false @GFDATE_1075
Char.AddAmmo(0@, WeaponType.MicroUzi, 60)
set_var_int_to_constant $iGF_TT_driver = 278
set_global_var_bit_const $iGFBonusPickupID {n} 2
gosub @GFDATE_32407
gosub @GFDATE_19460
set_local_var_bit_const 3@ {n} 27
set_local_var_bit_const 3@ {n} 2

:GFDATE_1075
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_1089
if 
  Char.IsInAnyCar(0@)
goto_if_false @GFDATE_1327
if and
  is_global_var_bit_set_const $iGFBonusPickupID {n} 15
  1@ <> 8
goto_if_false @GFDATE_1146
1@ = 8
2@ = 0
return 

:GFDATE_1146
if 
  1@ <> 4
goto_if_false @GFDATE_1187
1@ = 4
2@ = 0
return 
goto @GFDATE_1320

:GFDATE_1187
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_1253
if and
  0 > 29@
  not is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_1253
set_local_var_bit_const 3@ {n} 7
1@ = 5
2@ = 0
return 

:GFDATE_1253
if and
  is_local_var_bit_set_const 3@ {n} 5
  not is_local_var_bit_set_const 3@ {n} 7
  not is_local_var_bit_set_const 3@ {n} 6
  not Char.IsOnAnyBike($stattreadstamina_ctr)
  not is_local_var_bit_set_const 3@ {n} 30
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 22
goto_if_false @GFDATE_1320
1@ = 7
2@ = 0
return 

:GFDATE_1320
goto @GFDATE_1361

:GFDATE_1327
if 
  1@ <> 1
goto_if_false @GFDATE_1361
1@ = 1
2@ = 0
return 

:GFDATE_1361
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_1375
if and
  TIMERA > 10000
  not Char.IsGroupMember(0@, $flag_cell_nation)
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 22
goto_if_false @GFDATE_1465
if or
  1@ == 1
  1@ == 4
goto_if_false @GFDATE_1465
set_local_var_bit_const 3@ {n} 7
Text.ClearPrints
Text.ClearHelp
Text.PrintHelp('GF_H017')
gosub @GFDATE_32517
return 

:GFDATE_1465
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_1479
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @GFDATE_1571
if 
  not Char.IsHealthGreater(0@, 498)
goto_if_false @GFDATE_1558
set_local_var_bit_const 3@ {n} 15
Text.PrintHelp('GF_H018')
1@ = 9
2@ = 0
return 
goto @GFDATE_1571

:GFDATE_1558
set_var_int_to_constant $iGF_TT_driver = 308
Char.ClearLastDamageEntity(0@)

:GFDATE_1571
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_1585
if and
  TIMERA > 120000
  not is_local_var_bit_set_const 3@ {n} 26
goto_if_false @GFDATE_1684
if or
  $iCaller == 3
  $iCaller == 2
goto_if_false @GFDATE_1675
if 
  TIMERA > 240000
goto_if_false @GFDATE_1668
gosub @GFDATE_23580
return 

:GFDATE_1668
goto @GFDATE_1684

:GFDATE_1675
gosub @GFDATE_23580
return 

:GFDATE_1684
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_1698
if and
  TIMERA > 180000
  not is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_1797
if or
  $iCaller == 3
  $iCaller == 2
goto_if_false @GFDATE_1788
if 
  TIMERA > 300000
goto_if_false @GFDATE_1781
gosub @GFDATE_23680
return 

:GFDATE_1781
goto @GFDATE_1797

:GFDATE_1788
gosub @GFDATE_23680
return 

:GFDATE_1797
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_1811
if and
  TIMERA > 360000
  is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_1855
1@ = 9
2@ = 0
return 

:GFDATE_1855
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_1869
if 
  not Char.IsHealthGreater(0@, 10)
goto_if_false @GFDATE_1913
$363($iCaller,6i) = -999
Task.Dead(0@)
gosub @GFDATE_32517
return 

:GFDATE_1913
if and
  Player.IsWantedLevelGreater($statbike_temp, 2)
  not is_global_var_bit_set_const $381($iCaller,6i) {n} 21
  not is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_1972
set_local_var_bit_const 3@ {n} 7
1@ = 5
2@ = 0
return 

:GFDATE_1972
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_1986
if and
  Char.IsInAnyCar(0@)
  not Car.IsDead(28@)
goto_if_false @GFDATE_2055
if 
  not Car.IsStopped(28@)
goto_if_false @GFDATE_2055
if and
  not is_local_var_bit_set_const 3@ {n} 7
  not is_local_var_bit_set_const 3@ {n} 2
goto_if_false @GFDATE_2055
gosub @GFDATE_25145

:GFDATE_2055
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_2069
if and
  is_local_var_bit_set_const 3@ {n} 2
  not is_local_var_bit_set_const 3@ {n} 12
  not is_local_var_bit_set_const 3@ {n} 15
  $iGF_TT_CarModel <> -1
goto_if_false @GFDATE_2295
25@ = Stat.GetInt(StatId.CurrentGirlfriends)
if 
  25@ > 1
goto_if_false @GFDATE_2288
25@ = Streaming.GetAreaVisible()
if 
  25@ == 0
goto_if_false @GFDATE_2281
if or
  1@ == 1
  1@ == 4
goto_if_false @GFDATE_2281
if and
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 22
  TIMERA > 7000
goto_if_false @GFDATE_2281
25@ = Math.RandomIntInRange(0, 100)
if 
  50 >= 25@
goto_if_false @GFDATE_2256
$iGF_TT_CarModel = 0
set_global_var_bit_const $iGFBonusPickupID {n} 22
goto @GFDATE_2281

:GFDATE_2256
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 25
goto_if_false @GFDATE_2281
$iGF_TT_CarModel = -1

:GFDATE_2281
goto @GFDATE_2295

:GFDATE_2288
$iGF_TT_CarModel = -1

:GFDATE_2295
if and
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
  TIMERA >= 30000
  not is_local_var_bit_set_const 3@ {n} 2
goto_if_false @GFDATE_2349
$GF_right_stick_x += 1
goto @GFDATE_3686
goto @GFDATE_2359

:GFDATE_2349
$iSetSTRIPPanic = 0.0

:GFDATE_2359
$GF_right_stick_x = 0
goto @GFDATE_3686

:GFDATE_2373
if and
  is_global_var_bit_set_const $381($iCaller,6i) {n} 27
  1@ == 6
goto_if_false @GFDATE_2447
if 
  2@ == 0
goto_if_false @GFDATE_2437
$iSetSTRIPPanic += 1.5
goto @GFDATE_2447

:GFDATE_2437
$iSetSTRIPPanic += 1E-05

:GFDATE_2447
if and
  is_global_var_bit_set_const $381($iCaller,6i) {n} 28
  1@ == 7
goto_if_false @GFDATE_2521
if 
  2@ == 0
goto_if_false @GFDATE_2511
$iSetSTRIPPanic += 1.5
goto @GFDATE_2521

:GFDATE_2511
$iSetSTRIPPanic += 1E-05

:GFDATE_2521
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 21
goto_if_false @GFDATE_2569
if 
  Char.IsShooting(0@)
goto_if_false @GFDATE_2569
$iSetSTRIPPanic += 4.0

:GFDATE_2569
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_2583
if 
  Char.IsInAnyCar(0@)
goto_if_false @GFDATE_2706
25@ = Car.GetHealth(28@)
if 
  is_int_lvar_greater_than_int_lvar 29@ > 25@
goto_if_false @GFDATE_2706
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 24
goto_if_false @GFDATE_2688
if 
  Car.HasBeenDamagedByCar(28@, -1)
goto_if_false @GFDATE_2681
$iSetSTRIPPanic += 1.5
Car.ClearLastDamageEntity(28@)

:GFDATE_2681
goto @GFDATE_2698

:GFDATE_2688
$iSetSTRIPPanic -= 1.0

:GFDATE_2698
set_lvar_int_to_lvar_int 29@ = 25@

:GFDATE_2706
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_2720
if and
  Char.IsInAnyCar(0@)
  not Car.IsDead(28@)
goto_if_false @GFDATE_3149
if 
  not Car.IsStopped(28@)
goto_if_false @GFDATE_3149
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 11
goto_if_false @GFDATE_2846
if and
  $1344 == 1
  not is_local_var_bit_set_const 3@ {n} 17
goto_if_false @GFDATE_2821
$iSetSTRIPPanic += 1.5
set_local_var_bit_const 3@ {n} 17

:GFDATE_2821
if 
  $1344 == 0
goto_if_false @GFDATE_2846
clear_local_var_bit_const 3@ {n} 17

:GFDATE_2846
14@ = Car.GetSpeed(28@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 12
goto_if_false @GFDATE_2963
if 
  14@ > 22.0
goto_if_false @GFDATE_2921
$iSetSTRIPPanic += 1.5
clear_local_var_bit_const 3@ {n} 19
goto @GFDATE_2963

:GFDATE_2921
if 
  not is_local_var_bit_set_const 3@ {n} 19
goto_if_false @GFDATE_2953
set_local_var_bit_const 3@ {n} 19
set_var_int_to_constant $iGF_TT_driver = 39

:GFDATE_2953
$iSetSTRIPPanic -= 2.5

:GFDATE_2963
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 13
goto_if_false @GFDATE_3149
if and
  14@ > 8.0
  20.0 > 14@
goto_if_false @GFDATE_3047
$iSetSTRIPPanic += 0.5
clear_local_var_bit_const 3@ {n} 19
clear_local_var_bit_const 3@ {n} 18
goto @GFDATE_3149

:GFDATE_3047
if 
  8.0 >= 14@
goto_if_false @GFDATE_3107
if 
  not is_local_var_bit_set_const 3@ {n} 19
goto_if_false @GFDATE_3100
set_local_var_bit_const 3@ {n} 19
set_var_int_to_constant $iGF_TT_driver = 39

:GFDATE_3100
goto @GFDATE_3139

:GFDATE_3107
if 
  not is_local_var_bit_set_const 3@ {n} 18
goto_if_false @GFDATE_3139
set_local_var_bit_const 3@ {n} 18
set_var_int_to_constant $iGF_TT_driver = 32

:GFDATE_3139
$iSetSTRIPPanic -= 2.5

:GFDATE_3149
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_3163
if and
  Char.IsInAnyCar(0@)
  not Car.IsDead(28@)
goto_if_false @GFDATE_3275
if 
  not Car.IsStopped(28@)
goto_if_false @GFDATE_3275
if 
  not is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_3275
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 16
goto_if_false @GFDATE_3275
gosub @GFDATE_23458
if 
  25@ > 0
goto_if_false @GFDATE_3275
$iSetSTRIPPanic += 0.5

:GFDATE_3275
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 21
goto_if_false @GFDATE_3323
if 
  Char.IsShooting(0@)
goto_if_false @GFDATE_3323
$iSetSTRIPPanic += 4.0

:GFDATE_3323
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_3337
if and
  Char.IsInAnyCar(0@)
  not Car.IsDead(28@)
goto_if_false @GFDATE_3523
if 
  Car.IsStopped(28@)
goto_if_false @GFDATE_3523
26@ = Zone.GetCurrentPopulationZoneType()
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 14
goto_if_false @GFDATE_3523
if or
  is_int_lvar_equal_to_constant 26@ == 10
  is_int_lvar_equal_to_constant 26@ == 3
goto_if_false @GFDATE_3523
26@ = Clock.GetMinutesToTimeOfDay(6, 0)
if or
  30 >= 25@
  25@ >= 1380
goto_if_false @GFDATE_3478
$iSetSTRIPPanic += 4.0
goto @GFDATE_3523

:GFDATE_3478
26@ = Clock.GetMinutesToTimeOfDay(20, 0)
if or
  30 >= 25@
  25@ >= 1380
goto_if_false @GFDATE_3523
$iSetSTRIPPanic += 4.0

:GFDATE_3523
gosub @GFDATE_25027
$GF_right_stick_x += 1
goto @GFDATE_3686

:GFDATE_3544
if and
  $iBouncerAction >= 100
  not is_local_var_bit_set_const 3@ {n} 2
goto_if_false @GFDATE_3607
set_global_var_bit_const $iGFBonusPickupID {n} 2
set_var_int_to_constant $iGF_TT_driver = 278
set_local_var_bit_const 3@ {n} 2
gosub @GFDATE_32407
return 
goto @GFDATE_3662

:GFDATE_3607
if and
  0 >= $iBouncerAction
  not is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_3662
clear_global_var_bit_const $iGFBonusPickupID {n} 2
set_local_var_bit_const 3@ {n} 7
1@ = 5
2@ = 0
return 

:GFDATE_3662
$iSetSTRIPPanic = 0.0
$GF_right_stick_x = 0
goto @GFDATE_3686

:GFDATE_3686
return 

:GFDATE_3688
switch_start 1@ {numCases} 12 {hasDefaultCase} 0 {defaultLabel} @GFDATE_3984 {caseNum1} 0 {caseLabel1} @GFDATE_3816 {caseNum2} 1 {caseLabel2} @GFDATE_3830 {caseNum3} 2 {caseLabel3} @GFDATE_3844 {caseNum4} 3 {caseLabel4} @GFDATE_3858 {caseNum5} 4 {caseLabel5} @GFDATE_3872 {caseNum6} 5 {caseLabel6} @GFDATE_3886 {caseNum7} 6 {caseLabel7} @GFDATE_3900
switch_continued 7 {caseLabel1} @GFDATE_3914 {caseNum2} 8 {caseLabel2} @GFDATE_3928 {caseNum3} 9 {caseLabel3} @GFDATE_3942 {caseNum4} 10 {caseLabel4} @GFDATE_3956 {caseNum5} 11 {caseLabel5} @GFDATE_3970 {caseNum6} -1 {caseLabel6} @GFDATE_3984 {caseNum7} -1 {caseLabel7} @GFDATE_3984 {caseNum8} -1 {caseLabel8} @GFDATE_3984 {caseNum9} -1 {caseLabel9} @GFDATE_3984

:GFDATE_3816
gosub @GFDATE_3986
goto @GFDATE_3984

:GFDATE_3830
gosub @GFDATE_4788
goto @GFDATE_3984

:GFDATE_3844
gosub @GFDATE_5087
goto @GFDATE_3984

:GFDATE_3858
gosub @GFDATE_5819
goto @GFDATE_3984

:GFDATE_3872
gosub @GFDATE_6976
goto @GFDATE_3984

:GFDATE_3886
gosub @GFDATE_7695
goto @GFDATE_3984

:GFDATE_3900
gosub @GFDATE_7817
goto @GFDATE_3984

:GFDATE_3914
gosub @GFDATE_11047
goto @GFDATE_3984

:GFDATE_3928
gosub @GFDATE_12450
goto @GFDATE_3984

:GFDATE_3942
gosub @GFDATE_14647
goto @GFDATE_3984

:GFDATE_3956
gosub @GFDATE_14897
goto @GFDATE_3984

:GFDATE_3970
gosub @GFDATE_15244
goto @GFDATE_3984

:GFDATE_3984
return 

:GFDATE_3986
switch_start 2@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @GFDATE_4786 {caseNum1} 0 {caseLabel1} @GFDATE_4049 {caseNum2} 1 {caseLabel2} @GFDATE_4328 {caseNum3} 2 {caseLabel3} @GFDATE_4584 {caseNum4} 3 {caseLabel4} @GFDATE_4664 {caseNum5} -1 {caseLabel5} @GFDATE_4786 {caseNum6} -1 {caseLabel6} @GFDATE_4786 {caseNum7} -1 {caseLabel7} @GFDATE_4786

:GFDATE_4049
set_local_var_bit_const 3@ {n} 1
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 14
goto_if_false @GFDATE_4130
set_local_var_bit_const 3@ {n} 9
set_global_var_bit_const $iGFBonusPickupID {n} 2
set_global_var_bit_const $iGFBonusPickupID {n} 3
1@ = 3
2@ = 0
goto @GFDATE_4786

:GFDATE_4130
Hud.SwitchWidescreen(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene(0@, True)
Char.SetOnlyDamagedByPlayer(0@, True)
gosub @GFDATE_22751
World.ClearArea(6@, 9@, 12@, 2.0, True)
Camera.SetFixedPosition(4@, 7@, 10@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(5@, 8@, 11@, SwitchType.JumpCut)
Object.LockDoor($1246($iCaller,7i), False)
gosub @GFDATE_16680
if 
  25@ == -1
goto_if_false @GFDATE_4285
set_local_var_bit_const 3@ {n} 16
Task.GotoChar(0@, $stattreadstamina_ctr, 5000, 2.5)
goto @GFDATE_4307

:GFDATE_4285
Group.SetMember($flag_cell_nation, 0@)
Char.ListenToPlayerGroupCommands(0@, False)
Player.SetGroupToFollowAlways($statbike_temp, True)

:GFDATE_4307
TIMERB = 0
2@ += 1
goto @GFDATE_4786

:GFDATE_4328
4@, 7@, 10@ = Char.GetCoordinates($stattreadstamina_ctr)
5@, 8@, 11@ = Char.GetCoordinates(0@)
13@ = Math.GetDistanceBetweenCoords3D(4@, 7@, 10@, 5@, 8@, 11@)
if 
  TIMERB >= 6000
goto_if_false @GFDATE_4442
5@, 8@, 11@ = Path.GetClosestCharNode(5@, 8@, 11@)
Char.SetCoordinates(0@, 5@, 8@, 11@)
13@ = 1.0

:GFDATE_4442
if 
  3.0 >= 13@
goto_if_false @GFDATE_4577
Camera.PointAtPoint(4@, 7@, 10@, SwitchType.Interpolation)
Object.LockDoor($1246($iCaller,7i), True)
if 
  is_local_var_bit_set_const 3@ {n} 16
goto_if_false @GFDATE_4547
Char.SetOnlyDamagedByPlayer(0@, False)
set_local_var_bit_const 3@ {n} 9
1@ = 3
2@ = 3
goto @GFDATE_4786
goto @GFDATE_4577

:GFDATE_4547
set_var_int_to_constant $iGF_TT_driver = 293
set_var_int_to_constant $iGF_TT_Car = 238
TIMERB = 0
2@ += 1

:GFDATE_4577
goto @GFDATE_4786

:GFDATE_4584
if 
  TIMERB >= 3000
goto_if_false @GFDATE_4657
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene(0@, False)
Char.SetOnlyDamagedByPlayer(0@, False)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
2@ += 1

:GFDATE_4657
goto @GFDATE_4786

:GFDATE_4664
gosub @GFDATE_17450
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 11
goto_if_false @GFDATE_4700
Text.PrintHelp('GF_0036')

:GFDATE_4700
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_4729
Text.PrintHelp('GF_0037')

:GFDATE_4729
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 13
goto_if_false @GFDATE_4758
Text.PrintHelp('GF_0038')

:GFDATE_4758
clear_local_var_bit_const 3@ {n} 1
1@ = 1
2@ = 0
goto @GFDATE_4786

:GFDATE_4786
return 

:GFDATE_4788
switch_start 2@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @GFDATE_5085 {caseNum1} 0 {caseLabel1} @GFDATE_4851 {caseNum2} 1 {caseLabel2} @GFDATE_4879 {caseNum3} 2 {caseLabel3} @GFDATE_4965 {caseNum4} -1 {caseLabel4} @GFDATE_5085 {caseNum5} -1 {caseLabel5} @GFDATE_5085 {caseNum6} -1 {caseLabel6} @GFDATE_5085 {caseNum7} -1 {caseLabel7} @GFDATE_5085

:GFDATE_4851
clear_local_var_bit_const 3@ {n} 5
clear_local_var_bit_const 3@ {n} 6
2@ += 1
goto @GFDATE_5085

:GFDATE_4879
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 21
goto_if_false @GFDATE_4951
if and
  not is_local_var_bit_set_const 3@ {n} 7
  not Char.IsRespondingToEvent(0@, 36)
goto_if_false @GFDATE_4951
if 
  Char.IsCurrentWeapon(0@, WeaponType.MicroUzi)
goto_if_false @GFDATE_4951
Char.SetCurrentWeapon(0@, WeaponType.Unarmed)

:GFDATE_4951
2@ += 1
goto @GFDATE_5085

:GFDATE_4965
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 22
goto_if_false @GFDATE_5071
if and
  is_local_var_bit_set_const 3@ {n} 29
  not is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_5057
if 
  TIMERB > 25000
goto_if_false @GFDATE_5050
set_var_int_to_constant $iGF_TT_driver = 271
set_var_int_to_constant $iGF_TT_Car = 240
clear_local_var_bit_const 3@ {n} 29

:GFDATE_5050
goto @GFDATE_5071

:GFDATE_5057
TIMERB = 0
set_local_var_bit_const 3@ {n} 29

:GFDATE_5071
2@ = 0
goto @GFDATE_5085

:GFDATE_5085
return 

:GFDATE_5087
switch_start 2@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @GFDATE_5817 {caseNum1} 0 {caseLabel1} @GFDATE_5215 {caseNum2} 1 {caseLabel2} @GFDATE_5253 {caseNum3} 2 {caseLabel3} @GFDATE_5320 {caseNum4} 3 {caseLabel4} @GFDATE_5347 {caseNum5} 4 {caseLabel5} @GFDATE_5385 {caseNum6} 5 {caseLabel6} @GFDATE_5399 {caseNum7} 6 {caseLabel7} @GFDATE_5435
switch_continued 7 {caseLabel1} @GFDATE_5595 {caseNum2} 8 {caseLabel2} @GFDATE_5686 {caseNum3} 9 {caseLabel3} @GFDATE_5754 {caseNum4} -1 {caseLabel4} @GFDATE_5817 {caseNum5} -1 {caseLabel5} @GFDATE_5817 {caseNum6} -1 {caseLabel6} @GFDATE_5817 {caseNum7} -1 {caseLabel7} @GFDATE_5817 {caseNum8} -1 {caseLabel8} @GFDATE_5817 {caseNum9} -1 {caseLabel9} @GFDATE_5817

:GFDATE_5215
set_local_var_bit_const 3@ {n} 1
Camera.DoFade(0, Fade.Out)
gosub @GFDATE_32407
Text.ClearPrints
Text.ClearHelp
2@ += 1
goto @GFDATE_5817

:GFDATE_5253
if 
  not Camera.GetFadingStatus
goto_if_false @GFDATE_5313
Player.MakeSafeForCutscene($statbike_temp)
Char.SetCurrentWeapon(0@, WeaponType.Unarmed)
Char.SetCollision(0@, False)
Char.SetCollision($stattreadstamina_ctr, False)
gosub @GFDATE_20351
gosub @GFDATE_20578
2@ += 1

:GFDATE_5313
goto @GFDATE_5817

:GFDATE_5320
if 
  Cutscene.HasLoaded
goto_if_false @GFDATE_5340
2@ += 1

:GFDATE_5340
goto @GFDATE_5817

:GFDATE_5347
Cutscene.SetOffset(4@, 7@, 10@)
Camera.DoFade(1000, Fade.In)
switch_rubbish 0
Cutscene.Start
2@ += 1
goto @GFDATE_5817

:GFDATE_5385
2@ += 1
goto @GFDATE_5817

:GFDATE_5399
if 
  Cutscene.HasFinished
goto_if_false @GFDATE_5428
Camera.DoFade(1000, Fade.Out)
Text.ClearPrints
2@ += 1

:GFDATE_5428
goto @GFDATE_5817

:GFDATE_5435
if 
  not Camera.GetFadingStatus
goto_if_false @GFDATE_5588
Cutscene.Clear
World.ClearExtraColors(False)
gosub @GFDATE_19460
Streaming.SetAreaVisible(0)
Char.SetAreaVisible(0@, 0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
4@, 7@, 10@ = Char.GetCoordinates($stattreadstamina_ctr)
World.ClearArea(4@, 7@, 10@, 2.0, True)
Streaming.LoadScene(4@, 7@, 10@)
Streaming.RequestCollision(4@, 7@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately(0@)
if 
  not Char.IsGroupMember(0@, $flag_cell_nation)
goto_if_false @GFDATE_5581
Group.SetMember($flag_cell_nation, 0@)
Char.ListenToPlayerGroupCommands(0@, False)
Player.SetGroupToFollowAlways($statbike_temp, True)

:GFDATE_5581
2@ += 1

:GFDATE_5588
goto @GFDATE_5817

:GFDATE_5595
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene(0@, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Hud.DisplayRadar(True)
Char.SetCollision(0@, True)
Char.SetCollision($stattreadstamina_ctr, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
switch_rubbish 1
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause(0@, 0)
Camera.DoFade(500, Fade.In)
2@ += 1
goto @GFDATE_5817

:GFDATE_5686
if 
  not Camera.GetFadingStatus
goto_if_false @GFDATE_5747
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 2
goto_if_false @GFDATE_5732
set_var_int_to_constant $iGF_TT_driver = 275
goto @GFDATE_5740

:GFDATE_5732
set_var_int_to_constant $iGF_TT_driver = 276

:GFDATE_5740
2@ += 1

:GFDATE_5747
goto @GFDATE_5817

:GFDATE_5754
if and
  $iGF_TT_driver == -1
  not Text.IsMessageBeingDisplayed
goto_if_false @GFDATE_5810
set_var_int_to_constant $iGF_TT_driver = 278
clear_local_var_bit_const 3@ {n} 1
set_local_var_bit_const 3@ {n} 2
1@ = 1
2@ = 0

:GFDATE_5810
goto @GFDATE_5817

:GFDATE_5817
return 

:GFDATE_5819
switch_start 2@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @GFDATE_6974 {caseNum1} 0 {caseLabel1} @GFDATE_5947 {caseNum2} 1 {caseLabel2} @GFDATE_5975 {caseNum3} 2 {caseLabel3} @GFDATE_6163 {caseNum4} 3 {caseLabel4} @GFDATE_6184 {caseNum5} 4 {caseLabel5} @GFDATE_6669 {caseNum6} 5 {caseLabel6} @GFDATE_6732 {caseNum7} 6 {caseLabel7} @GFDATE_6874
switch_continued 7 {caseLabel1} @GFDATE_6921 {caseNum2} -1 {caseLabel2} @GFDATE_6974 {caseNum3} -1 {caseLabel3} @GFDATE_6974 {caseNum4} -1 {caseLabel4} @GFDATE_6974 {caseNum5} -1 {caseLabel5} @GFDATE_6974 {caseNum6} -1 {caseLabel6} @GFDATE_6974 {caseNum7} -1 {caseLabel7} @GFDATE_6974 {caseNum8} -1 {caseLabel8} @GFDATE_6974 {caseNum9} -1 {caseLabel9} @GFDATE_6974

:GFDATE_5947
set_local_var_bit_const 3@ {n} 1
Camera.DoFade(500, Fade.Out)
2@ += 1
goto @GFDATE_6974

:GFDATE_5975
set_local_var_bit_const 3@ {n} 1
if 
  not Camera.GetFadingStatus
goto_if_false @GFDATE_6156
gosub @GFDATE_32407
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
if 
  Char.IsGroupMember(0@, $flag_cell_nation)
goto_if_false @GFDATE_6040
Char.RemoveFromGroup(0@)

:GFDATE_6040
Hud.SwitchWidescreen(True)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene(0@, True)
gosub @GFDATE_22751
World.ClearArea(6@, 9@, 12@, 1.0, True)
Camera.SetFixedPosition(4@, 7@, 10@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(5@, 8@, 11@, SwitchType.JumpCut)
Char.ClearTasksImmediately(0@)
Char.SetCoordinates(0@, 6@, 9@, 12@)
Task.AchieveHeading(0@, 13@)
2@ += 1

:GFDATE_6156
goto @GFDATE_6974

:GFDATE_6163
Camera.DoFade(1000, Fade.In)
2@ += 1
goto @GFDATE_6974

:GFDATE_6184
if 
  not Camera.GetFadingStatus
goto_if_false @GFDATE_6662
if 
  is_local_var_bit_set_const 3@ {n} 9
goto_if_false @GFDATE_6414
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 14
goto_if_false @GFDATE_6270
set_var_int_to_constant $iGF_TT_driver = 267
TIMERB = 0
25@ = 5000
2@ = 6
goto @GFDATE_6974

:GFDATE_6270
if 
  $363($iCaller,6i) == -99
goto_if_false @GFDATE_6326
$363($iCaller,6i) = -100
set_var_int_to_constant $iGF_TT_driver = 309
clear_global_var_bit_var $spray_help {var_n} $iCaller
goto @GFDATE_6385

:GFDATE_6326
if 
  is_local_var_bit_set_const 3@ {n} 16
goto_if_false @GFDATE_6385
if 
  is_local_var_bit_set_const 3@ {n} 23
goto_if_false @GFDATE_6377
set_var_int_to_constant $iGF_TT_driver = 312
goto @GFDATE_6385

:GFDATE_6377
set_var_int_to_constant $iGF_TT_driver = 311

:GFDATE_6385
TIMERB = 0
25@ = 5000
2@ = 6
goto @GFDATE_6662

:GFDATE_6414
if 
  is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_6469
set_var_int_to_constant $iGF_TT_driver = 291
TIMERB = 0
25@ = 5000
2@ = 6
goto @GFDATE_6662

:GFDATE_6469
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 2
goto_if_false @GFDATE_6595
if 
  is_int_var_greater_or_equal_to_int_var $363($iCaller,6i) >= $357($iCaller,6i)
goto_if_false @GFDATE_6550
set_var_int_to_constant $iGF_TT_driver = 280
TIMERB = 0
25@ = 0
2@ += 1
goto @GFDATE_6588

:GFDATE_6550
set_var_int_to_constant $iGF_TT_driver = 287
set_var_int_to_constant $iGF_TT_Car = 239
TIMERB = 0
25@ = 5000
2@ = 6

:GFDATE_6588
goto @GFDATE_6662

:GFDATE_6595
if 
  -15 >= $363($iCaller,6i)
goto_if_false @GFDATE_6632
set_var_int_to_constant $iGF_TT_driver = 309
goto @GFDATE_6640

:GFDATE_6632
set_var_int_to_constant $iGF_TT_driver = 291

:GFDATE_6640
TIMERB = 0
25@ = 5000
2@ = 6

:GFDATE_6662
goto @GFDATE_6974

:GFDATE_6669
if 
  TIMERB >= 5000
goto_if_false @GFDATE_6725
Text.PrintHelpForever('TALK_1')
if 
  TIMERB > 5100
goto_if_false @GFDATE_6725
2@ += 1

:GFDATE_6725
goto @GFDATE_6974

:GFDATE_6732
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @GFDATE_6803
Text.ClearPrints
Text.ClearHelp
set_global_var_bit_const $iGFBonusPickupID {n} 3
$iGF_TT_driver = -2
set_var_int_to_constant $iGF_TT_Car = 46
TIMERB = 0
25@ = 3500
2@ += 1
goto @GFDATE_6867

:GFDATE_6803
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @GFDATE_6867
Text.ClearPrints
Text.ClearHelp
clear_global_var_bit_const $iGFBonusPickupID {n} 3
$iGF_TT_driver = -2
set_var_int_to_constant $iGF_TT_Car = 47
TIMERB = 0
25@ = 3500
2@ += 1

:GFDATE_6867
goto @GFDATE_6974

:GFDATE_6874
if 
  is_int_lvar_greater_or_equal_to_int_lvar TIMERB >= 25@
goto_if_false @GFDATE_6914
set_global_var_bit_const $iGFBonusPickupID {n} 6
Camera.DoFade(1000, Fade.Out)
2@ += 1

:GFDATE_6914
goto @GFDATE_6974

:GFDATE_6921
if 
  not Camera.GetFadingStatus
goto_if_false @GFDATE_6967
Hud.SwitchWidescreen(False)
Hud.DisplayRadar(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
gosub @GFDATE_32517

:GFDATE_6967
goto @GFDATE_6974

:GFDATE_6974
return 

:GFDATE_6976
switch_start 2@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @GFDATE_7693 {caseNum1} 0 {caseLabel1} @GFDATE_7039 {caseNum2} 1 {caseLabel2} @GFDATE_7196 {caseNum3} 2 {caseLabel3} @GFDATE_7330 {caseNum4} 3 {caseLabel4} @GFDATE_7479 {caseNum5} 4 {caseLabel5} @GFDATE_7579 {caseNum6} -1 {caseLabel6} @GFDATE_7693 {caseNum7} -1 {caseLabel7} @GFDATE_7693

:GFDATE_7039
if and
  is_global_var_bit_set_const $381($iCaller,6i) {n} 21
  not is_local_var_bit_set_const 3@ {n} 2
goto_if_false @GFDATE_7182
if 
  not is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_7182
if 
  not is_local_var_bit_set_const 3@ {n} 27
goto_if_false @GFDATE_7182
gosub @GFDATE_23458
if 
  25@ > 0
goto_if_false @GFDATE_7182
if and
  not Text.IsMessageBeingDisplayed
  not Char.IsTalking($stattreadstamina_ctr)
  not Char.IsTalking(0@)
goto_if_false @GFDATE_7182
set_var_int_to_constant $iGF_TT_driver = 301
set_var_int_to_constant $iGF_TT_Car = 242
2@ = 4
goto @GFDATE_7693

:GFDATE_7182
2@ += 1
goto @GFDATE_7693

:GFDATE_7196
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_7302
if 
  Car.IsStopped(28@)
goto_if_false @GFDATE_7281
if and
  not is_local_var_bit_set_const 3@ {n} 5
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 22
goto_if_false @GFDATE_7274
TIMERB = 0
2@ = 3
goto @GFDATE_7693

:GFDATE_7274
goto @GFDATE_7295

:GFDATE_7281
clear_local_var_bit_const 3@ {n} 30
clear_local_var_bit_const 3@ {n} 5

:GFDATE_7295
goto @GFDATE_7316

:GFDATE_7302
clear_local_var_bit_const 3@ {n} 30
clear_local_var_bit_const 3@ {n} 5

:GFDATE_7316
2@ += 1
goto @GFDATE_7693

:GFDATE_7330
if 
  is_local_var_bit_set_const 3@ {n} 29
goto_if_false @GFDATE_7433
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 22
goto_if_false @GFDATE_7426
if 
  not is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_7426
if 
  TIMERB > 25000
goto_if_false @GFDATE_7426
set_var_int_to_constant $iGF_TT_driver = 271
set_var_int_to_constant $iGF_TT_Car = 240
clear_local_var_bit_const 3@ {n} 29

:GFDATE_7426
goto @GFDATE_7465

:GFDATE_7433
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 22
goto_if_false @GFDATE_7465
TIMERB = 0
set_local_var_bit_const 3@ {n} 29

:GFDATE_7465
2@ = 0
goto @GFDATE_7693

:GFDATE_7479
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_7565
if 
  not Car.IsStopped(28@)
goto_if_false @GFDATE_7525
2@ = 0
goto @GFDATE_7558

:GFDATE_7525
if 
  TIMERB > 10000
goto_if_false @GFDATE_7558
set_local_var_bit_const 3@ {n} 5
2@ = 0

:GFDATE_7558
goto @GFDATE_7572

:GFDATE_7565
2@ = 0

:GFDATE_7572
goto @GFDATE_7693

:GFDATE_7579
if and
  is_global_var_bit_set_const $381($iCaller,6i) {n} 21
  not is_local_var_bit_set_const 3@ {n} 2
goto_if_false @GFDATE_7679
if 
  not Char.IsCurrentWeapon(0@, WeaponType.MicroUzi)
goto_if_false @GFDATE_7633
Char.SetCurrentWeapon(0@, WeaponType.MicroUzi)

:GFDATE_7633
gosub @GFDATE_23458
if 
  0 >= 25@
goto_if_false @GFDATE_7672
Char.SetCurrentWeapon(0@, WeaponType.Unarmed)
2@ = 0

:GFDATE_7672
goto @GFDATE_7686

:GFDATE_7679
2@ = 0

:GFDATE_7686
goto @GFDATE_7693

:GFDATE_7693
return 

:GFDATE_7695
switch_start 2@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @GFDATE_7815 {caseNum1} 0 {caseLabel1} @GFDATE_7758 {caseNum2} -1 {caseLabel2} @GFDATE_7815 {caseNum3} -1 {caseLabel3} @GFDATE_7815 {caseNum4} -1 {caseLabel4} @GFDATE_7815 {caseNum5} -1 {caseLabel5} @GFDATE_7815 {caseNum6} -1 {caseLabel6} @GFDATE_7815 {caseNum7} -1 {caseLabel7} @GFDATE_7815

:GFDATE_7758
clear_global_var_bit_const $iGFBonusPickupID {n} 2
set_local_var_bit_const 3@ {n} 2
set_local_var_bit_const 3@ {n} 7
set_var_int_to_constant $iGF_TT_driver = 279
gosub @GFDATE_32407
gosub @GFDATE_19605
$5301 = 1
goto @GFDATE_7815

:GFDATE_7815
return 

:GFDATE_7817
switch_start 2@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @GFDATE_11045 {caseNum1} 0 {caseLabel1} @GFDATE_7880 {caseNum2} 1 {caseLabel2} @GFDATE_8060 {caseNum3} 2 {caseLabel3} @GFDATE_8568 {caseNum4} 3 {caseLabel4} @GFDATE_9197 {caseNum5} 4 {caseLabel5} @GFDATE_9623 {caseNum6} 5 {caseLabel6} @GFDATE_9870 {caseNum7} 6 {caseLabel7} @GFDATE_10069

:GFDATE_7880
set_local_var_bit_const 3@ {n} 1
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene(0@, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
4@, 7@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(4@, 7@, 10@, 5@, 8@, 11@)
Path.SwitchPedRoadsOff(4@, 7@, 10@, 5@, 8@, 11@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 0@)
Task.TurnCharToFaceChar(0@, $stattreadstamina_ctr)
TIMERB = 0
2@ += 1
goto @GFDATE_11045

:GFDATE_8060
25@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
26@ = Char.GetScriptTaskStatus(0@, 1593)
if and
  is_int_lvar_equal_to_constant 25@ == 7
  is_int_lvar_equal_to_constant 26@ == 7
goto_if_false @GFDATE_8398
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision(0@, False)
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
11@ = World.GetGroundZFor3DCoord(5@, 8@, 11@)
6@, 9@, 12@ = Char.GetCoordinates(0@)
12@ = World.GetGroundZFor3DCoord(6@, 9@, 12@)
Char.SetCoordinates(0@, 5@, 8@, 11@)
13@ = Char.GetHeading($stattreadstamina_ctr)
13@ += 180.0
Char.SetHeading(0@, 13@)
4@, 7@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(4@, 7@, 10@, 5@, 8@, 11@, True, True, False, True, False)
goto_if_false @GFDATE_8370
Camera.SetFixedPosition(4@, 7@, 10@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(5@, 8@, 11@, SwitchType.JumpCut)

:GFDATE_8370
Task.StandStill($stattreadstamina_ctr, -1)
Task.StandStill(0@, -1)
2@ += 1
goto @GFDATE_8561

:GFDATE_8398
25@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_8463
25@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_8463
Task.StandStill($stattreadstamina_ctr, -1)

:GFDATE_8463
25@ = Char.GetScriptTaskStatus(0@, 1593)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_8528
25@ = Char.GetScriptTaskStatus(0@, 1466)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_8528
Task.StandStill(0@, -1)

:GFDATE_8528
if 
  TIMERB > 6000
goto_if_false @GFDATE_8561
2@ = 6
goto @GFDATE_11045

:GFDATE_8561
goto @GFDATE_11045

:GFDATE_8568
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision(0@, True)
cset_lvar_float_to_var_int 13@ =# $357($iCaller,6i)
13@ /= 1.2
cset_lvar_float_to_var_int 14@ =# $363($iCaller,6i)
if 
  is_float_lvar_greater_or_equal_to_float_lvar 13@ >= 14@
goto_if_false @GFDATE_8738
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_01", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim(0@, "GRLFRD_KISS_01", "KISSING", 4.0, False, False, False, False, 0)
2@ = 6
goto @GFDATE_9190

:GFDATE_8738
if 
  is_int_var_greater_or_equal_to_int_var $357($iCaller,6i) >= $363($iCaller,6i)
goto_if_false @GFDATE_8868
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim(0@, "GRLFRD_KISS_02", "KISSING", 4.0, False, False, False, False, 0)
2@ = 6
goto @GFDATE_9190

:GFDATE_8868
Task.PlayAnim($stattreadstamina_ctr, "PLAYA_KISS_03", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim(0@, "GRLFRD_KISS_03", "KISSING", 4.0, False, False, False, False, 0)
4@, 7@, 10@ = Char.GetCoordinates(0@)
27@ = World.GetRandomCharInSphere(4@, 7@, 10@, 20.0, True, True, True)
if 
  27@ == -1
goto_if_false @GFDATE_9067
if 
  $1223 == 0
goto_if_false @GFDATE_9046
2@ += 1
goto @GFDATE_9060

:GFDATE_9046
set_local_var_bit_const 3@ {n} 25
2@ = 6

:GFDATE_9060
goto @GFDATE_9190

:GFDATE_9067
Char.MarkAsNoLongerNeeded(27@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 27
goto_if_false @GFDATE_9183
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 28
goto_if_false @GFDATE_9169
if 
  $1223 == 0
goto_if_false @GFDATE_9148
2@ += 1
goto @GFDATE_9162

:GFDATE_9148
set_local_var_bit_const 3@ {n} 25
2@ = 6

:GFDATE_9162
goto @GFDATE_9176

:GFDATE_9169
2@ = 6

:GFDATE_9176
goto @GFDATE_9190

:GFDATE_9183
2@ = 6

:GFDATE_9190
goto @GFDATE_11045

:GFDATE_9197
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GFDATE_9224
2@ = 6
goto @GFDATE_11045

:GFDATE_9224
if 
  not is_local_var_bit_set_const 3@ {n} 25
goto_if_false @GFDATE_9609
25@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_9602
4@, 7@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 2.5, -1.2, 0.5)
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.1)
if 
  World.IsLineOfSightClear(4@, 7@, 10@, 5@, 8@, 11@, True, True, False, True, False)
goto_if_false @GFDATE_9409
Camera.SetFixedPosition(4@, 7@, 10@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(5@, 8@, 11@, SwitchType.JumpCut)

:GFDATE_9409
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
11@ = World.GetGroundZFor3DCoord(5@, 8@, 11@)
Char.SetCoordinates(0@, 5@, 8@, 11@)
13@ = Char.GetHeading($stattreadstamina_ctr)
13@ += 180.0
Char.SetHeading(0@, 13@)
Task.PlayAnim($stattreadstamina_ctr, "BJ_STAND_START_P", "BLOWJOBZ", 4.0, False, False, False, True, 0)
Task.PlayAnim(0@, "BJ_STAND_START_W", "BLOWJOBZ", 4.0, False, False, False, True, 0)
set_local_var_bit_const 3@ {n} 25
2@ += 1

:GFDATE_9602
goto @GFDATE_9616

:GFDATE_9609
2@ = 6

:GFDATE_9616
goto @GFDATE_11045

:GFDATE_9623
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GFDATE_9650
2@ = 6
goto @GFDATE_11045

:GFDATE_9650
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BJ_STAND_START_P")
goto_if_false @GFDATE_9856
13@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BJ_STAND_START_P")
if 
  13@ == 1.0
goto_if_false @GFDATE_9849
Task.PlayAnim($stattreadstamina_ctr, "BJ_STAND_LOOP_P", "BLOWJOBZ", 4.0, True, False, False, True, 6000)
Task.PlayAnim(0@, "BJ_STAND_LOOP_W", "BLOWJOBZ", 4.0, True, False, False, True, 6000)
set_var_int_to_constant $iGF_TT_driver = 282
TIMERB = 0
2@ += 1

:GFDATE_9849
goto @GFDATE_9863

:GFDATE_9856
2@ = 6

:GFDATE_9863
goto @GFDATE_11045

:GFDATE_9870
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GFDATE_9897
2@ = 6
goto @GFDATE_11045

:GFDATE_9897
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BJ_STAND_LOOP_P")
goto_if_false @GFDATE_10055
if 
  TIMERB > 6000
goto_if_false @GFDATE_10048
Task.PlayAnim($stattreadstamina_ctr, "BJ_STAND_END_P", "BLOWJOBZ", 4.0, False, False, False, False, 0)
Task.PlayAnim(0@, "BJ_STAND_END_W", "BLOWJOBZ", 4.0, False, False, False, False, 0)
2@ += 1

:GFDATE_10048
goto @GFDATE_10062

:GFDATE_10055
2@ = 6

:GFDATE_10062
goto @GFDATE_11045

:GFDATE_10069
if 
  not is_local_var_bit_set_const 3@ {n} 24
goto_if_false @GFDATE_10334
set_local_var_bit_const 3@ {n} 24
if and
  is_int_var_greater_than_int_lvar $363($iCaller,6i) > 25@
  is_int_var_greater_than_int_var $357($iCaller,6i) > $363($iCaller,6i)
goto_if_false @GFDATE_10201
if and
  Char.IsNearAnyChars(0@, 20.0)
  is_global_var_bit_set_const $381($iCaller,6i) {n} 27
goto_if_false @GFDATE_10183
$363($iCaller,6i) += 1
goto @GFDATE_10194

:GFDATE_10183
$363($iCaller,6i) -= 1

:GFDATE_10194
goto @GFDATE_10334

:GFDATE_10201
if and
  is_int_var_greater_than_int_lvar $363($iCaller,6i) > 25@
  is_int_var_greater_or_equal_to_int_var $363($iCaller,6i) >= $357($iCaller,6i)
goto_if_false @GFDATE_10334
if and
  Char.IsNearAnyChars(0@, 20.0)
  is_global_var_bit_set_const $381($iCaller,6i) {n} 27
goto_if_false @GFDATE_10323
$363($iCaller,6i) += 1
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 28
goto_if_false @GFDATE_10316
$363($iCaller,6i) += 1

:GFDATE_10316
goto @GFDATE_10334

:GFDATE_10323
$363($iCaller,6i) -= 1

:GFDATE_10334
13@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BJ_STAND_END_P")
goto_if_false @GFDATE_10400
13@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BJ_STAND_END_P")

:GFDATE_10400
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_01")
goto_if_false @GFDATE_10454
13@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_01")

:GFDATE_10454
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_02")
goto_if_false @GFDATE_10508
13@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_02")

:GFDATE_10508
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLAYA_KISS_03")
goto_if_false @GFDATE_10562
13@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLAYA_KISS_03")

:GFDATE_10562
if 
  13@ > -1.0
goto_if_false @GFDATE_10798
if 
  13@ == 1.0
goto_if_false @GFDATE_10791
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene(0@, False)
Char.SetCoordinates(0@, 6@, 9@, 12@)
4@, 7@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(4@, 7@, 10@, 5@, 8@, 11@)
Path.SwitchPedRoadsBackToOriginal(4@, 7@, 10@, 5@, 8@, 11@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision(0@, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
clear_local_var_bit_const 3@ {n} 1
1@ = 1
2@ = 0

:GFDATE_10791
goto @GFDATE_11038

:GFDATE_10798
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause(0@, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene(0@, False)
Char.SetCoordinates(0@, 6@, 9@, 12@)
4@, 7@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(4@, 7@, 10@, 5@, 8@, 11@)
Path.SwitchPedRoadsBackToOriginal(4@, 7@, 10@, 5@, 8@, 11@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision(0@, True)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
if 
  not Char.IsGroupMember(0@, $flag_cell_nation)
goto_if_false @GFDATE_11017
Group.SetMember($flag_cell_nation, 0@)
Char.ListenToPlayerGroupCommands(0@, False)
Player.SetGroupToFollowAlways($statbike_temp, True)

:GFDATE_11017
clear_local_var_bit_const 3@ {n} 1
1@ = 1
2@ = 0

:GFDATE_11038
goto @GFDATE_11045

:GFDATE_11045
return 

:GFDATE_11047
switch_start 2@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFDATE_12448 {caseNum1} 0 {caseLabel1} @GFDATE_11110 {caseNum2} 1 {caseLabel2} @GFDATE_11470 {caseNum3} 2 {caseLabel3} @GFDATE_11585 {caseNum4} 3 {caseLabel4} @GFDATE_11718 {caseNum5} 4 {caseLabel5} @GFDATE_11957 {caseNum6} 5 {caseLabel6} @GFDATE_12105 {caseNum7} -1 {caseLabel7} @GFDATE_12448

:GFDATE_11110
if 
  $1223 == 1
goto_if_false @GFDATE_11170
set_local_var_bit_const 3@ {n} 30
clear_local_var_bit_const 3@ {n} 1
1@ = 4
2@ = 0
goto @GFDATE_12448
goto @GFDATE_11463

:GFDATE_11170
set_local_var_bit_const 3@ {n} 1
if and
  is_int_var_greater_or_equal_to_int_var $363($iCaller,6i) >= $357($iCaller,6i)
  not Car.IsDead(28@)
  not Car.IsPassengerSeatFree(28@, SeatIndex.FrontRight)
goto_if_false @GFDATE_11435
27@ = Car.GetCharInPassengerSeat(28@, 0)
if 
  is_int_lvar_equal_to_int_lvar 27@ == 0@
goto_if_false @GFDATE_11400
4@, 7@, 10@ = Char.GetCoordinates(0@)
27@ = World.GetRandomCharInSphere(4@, 7@, 10@, 20.0, True, True, True)
if 
  27@ == -1
goto_if_false @GFDATE_11316
2@ += 1
goto @GFDATE_11393

:GFDATE_11316
Char.MarkAsNoLongerNeeded(27@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 28
goto_if_false @GFDATE_11357
2@ += 1
goto @GFDATE_11393

:GFDATE_11357
set_var_int_to_constant $iGF_TT_driver = 297
clear_local_var_bit_const 3@ {n} 1
set_local_var_bit_const 3@ {n} 30
1@ = 4
2@ = 0

:GFDATE_11393
goto @GFDATE_11428

:GFDATE_11400
clear_local_var_bit_const 3@ {n} 1
set_local_var_bit_const 3@ {n} 30
1@ = 4
2@ = 0

:GFDATE_11428
goto @GFDATE_11463

:GFDATE_11435
clear_local_var_bit_const 3@ {n} 1
set_local_var_bit_const 3@ {n} 30
1@ = 4
2@ = 0

:GFDATE_11463
goto @GFDATE_12448

:GFDATE_11470
set_local_var_bit_const 3@ {n} 6
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene(0@, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_11571
Camera.AttachToVehicle(28@, 4.0, 4.0, 1.0, 0.0, 0.0, 0.0, 0.0, SwitchType.JumpCut)

:GFDATE_11571
2@ += 1
goto @GFDATE_12448

:GFDATE_11585
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GFDATE_11612
2@ = 5
goto @GFDATE_12448

:GFDATE_11612
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BJ_CAR_START_P", "BLOWJOBZ", 4.0, False, False, False, True, 0)
Task.PlayAnimNonInterruptable(0@, "BJ_CAR_START_W", "BLOWJOBZ", 4.0, False, False, False, True, 0)
2@ += 1
goto @GFDATE_12448

:GFDATE_11718
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GFDATE_11745
2@ = 5
goto @GFDATE_12448

:GFDATE_11745
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BJ_CAR_START_P")
goto_if_false @GFDATE_11943
13@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BJ_CAR_START_P")
if 
  13@ == 1.0
goto_if_false @GFDATE_11936
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BJ_CAR_LOOP_P", "BLOWJOBZ", 4.0, True, False, False, True, 6000)
Task.PlayAnimNonInterruptable(0@, "BJ_CAR_LOOP_W", "BLOWJOBZ", 4.0, True, False, False, True, 6000)
set_var_int_to_constant $iGF_TT_driver = 282
TIMERB = 0
2@ += 1

:GFDATE_11936
goto @GFDATE_11950

:GFDATE_11943
2@ = 5

:GFDATE_11950
goto @GFDATE_12448

:GFDATE_11957
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GFDATE_11984
2@ = 5
goto @GFDATE_12448

:GFDATE_11984
if 
  TIMERB > 6000
goto_if_false @GFDATE_12098
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BJ_CAR_END_P", "BLOWJOBZ", 4.0, False, False, False, False, 0)
Task.PlayAnimNonInterruptable(0@, "BJ_CAR_END_W", "BLOWJOBZ", 4.0, False, False, False, False, 0)
2@ += 1

:GFDATE_12098
goto @GFDATE_12448

:GFDATE_12105
if 
  is_int_var_greater_or_equal_to_int_var $363($iCaller,6i) >= $357($iCaller,6i)
goto_if_false @GFDATE_12186
$363($iCaller,6i) += 1
if and
  Char.IsNearAnyChars(0@, 20.0)
  is_global_var_bit_set_const $381($iCaller,6i) {n} 28
goto_if_false @GFDATE_12186
$363($iCaller,6i) += 1

:GFDATE_12186
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BJ_CAR_END_P")
goto_if_false @GFDATE_12327
13@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BJ_CAR_END_P")
if 
  13@ == 1.0
goto_if_false @GFDATE_12320
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene(0@, False)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
clear_local_var_bit_const 3@ {n} 1
1@ = 4
2@ = 0

:GFDATE_12320
goto @GFDATE_12441

:GFDATE_12327
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause(0@, 0)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene(0@, False)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
if 
  not Char.IsGroupMember(0@, $flag_cell_nation)
goto_if_false @GFDATE_12420
Group.SetMember($flag_cell_nation, 0@)
Char.ListenToPlayerGroupCommands(0@, False)
Player.SetGroupToFollowAlways($statbike_temp, True)

:GFDATE_12420
clear_local_var_bit_const 3@ {n} 1
1@ = 4
2@ = 0

:GFDATE_12441
goto @GFDATE_12448

:GFDATE_12448
return 

:GFDATE_12450
switch_start 2@ {numCases} 12 {hasDefaultCase} 0 {defaultLabel} @GFDATE_14645 {caseNum1} 0 {caseLabel1} @GFDATE_12578 {caseNum2} 1 {caseLabel2} @GFDATE_12825 {caseNum3} 2 {caseLabel3} @GFDATE_12952 {caseNum4} 3 {caseLabel4} @GFDATE_13023 {caseNum5} 4 {caseLabel5} @GFDATE_13166 {caseNum6} 5 {caseLabel6} @GFDATE_13314 {caseNum7} 6 {caseLabel7} @GFDATE_13375
switch_continued 7 {caseLabel1} @GFDATE_13683 {caseNum2} 9 {caseLabel2} @GFDATE_14114 {caseNum3} 10 {caseLabel3} @GFDATE_14241 {caseNum4} 11 {caseLabel4} @GFDATE_14363 {caseNum5} 12 {caseLabel5} @GFDATE_14460 {caseNum6} -1 {caseLabel6} @GFDATE_14645 {caseNum7} -1 {caseLabel7} @GFDATE_14645 {caseNum8} -1 {caseLabel8} @GFDATE_14645 {caseNum9} -1 {caseLabel9} @GFDATE_14645

:GFDATE_12578
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_12780
if and
  not Char.IsOnAnyBike(0@)
  not Char.IsInFlyingVehicle(0@)
goto_if_false @GFDATE_12735
25@ = Car.GetMaximumNumberOfPassengers(28@)
if 
  25@ > 0
goto_if_false @GFDATE_12690
if and
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
  Char.IsSittingInAnyCar(0@)
goto_if_false @GFDATE_12683
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
set_local_var_bit_const 3@ {n} 1
2@ += 1

:GFDATE_12683
goto @GFDATE_12728

:GFDATE_12690
if and
  not Text.IsMessageBeingDisplayed
  not is_local_var_bit_set_const 3@ {n} 14
goto_if_false @GFDATE_12728
Text.PrintHelp('GF_0049')
set_local_var_bit_const 3@ {n} 14

:GFDATE_12728
goto @GFDATE_12773

:GFDATE_12735
if and
  not Text.IsMessageBeingDisplayed
  not is_local_var_bit_set_const 3@ {n} 14
goto_if_false @GFDATE_12773
Text.PrintHelp('GF_0049')
set_local_var_bit_const 3@ {n} 14

:GFDATE_12773
goto @GFDATE_12818

:GFDATE_12780
if and
  not Text.IsMessageBeingDisplayed
  not is_local_var_bit_set_const 3@ {n} 14
goto_if_false @GFDATE_12818
Text.PrintHelp('GF_0049')
set_local_var_bit_const 3@ {n} 14

:GFDATE_12818
goto @GFDATE_14645

:GFDATE_12825
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene(0@, True)
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_12914
Car.SetCruiseSpeed(28@, 0.0)
Camera.AttachToVehicle(28@, 4.0, 4.0, 1.0, 0.0, 0.0, 0.0, 0.0, SwitchType.JumpCut)

:GFDATE_12914
if 
  Char.IsGroupMember(0@, $flag_cell_nation)
goto_if_false @GFDATE_12938
Char.RemoveFromGroup(0@)

:GFDATE_12938
2@ += 1
goto @GFDATE_14645

:GFDATE_12952
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_13016
if 
  not Car.IsPassengerSeatFree(28@, SeatIndex.FrontRight)
goto_if_false @GFDATE_13001
Task.LeaveCar($stattreadstamina_ctr, 28@)
goto @GFDATE_13009

:GFDATE_13001
Task.LeaveCar(0@, 28@)

:GFDATE_13009
2@ += 1

:GFDATE_13016
goto @GFDATE_14645

:GFDATE_13023
25@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1485)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_13159
25@ = Char.GetScriptTaskStatus(0@, 1485)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_13159
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GFDATE_13124
28@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Task.EnterCarAsPassenger(0@, 28@, -1, 0)
goto @GFDATE_13152

:GFDATE_13124
28@ = Char.StoreCarIsInNoSave(0@)
Task.ShuffleToNextCarSeat(0@, 28@)
Task.EnterCarAsPassenger($stattreadstamina_ctr, 28@, -1, 0)

:GFDATE_13152
2@ += 1

:GFDATE_13159
goto @GFDATE_14645

:GFDATE_13166
25@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1482)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_13307
25@ = Char.GetScriptTaskStatus(0@, 1482)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_13307
27@ = Car.GetDriver(28@)
if 
  is_int_lvar_equal_to_int_var 27@ == $stattreadstamina_ctr
goto_if_false @GFDATE_13272
2@ = 2
goto @GFDATE_14645
goto @GFDATE_13307

:GFDATE_13272
Task.CarDriveWander(0@, 28@, 30.0, DrivingMode.AvoidCars)
StuckCarCheck.Add(28@, 1.0, 1000)
2@ += 1

:GFDATE_13307
goto @GFDATE_14645

:GFDATE_13314
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_13368
Camera.PointAtCar(28@, CameraMode.WheelCam, SwitchType.JumpCut)
Camera.SetCinema(True)
Text.PrintHelp('GF_RAD')
set_local_var_bit_const 3@ {n} 13
2@ += 1

:GFDATE_13368
goto @GFDATE_14645

:GFDATE_13375
if 
  not Camera.GetFadingStatus
goto_if_false @GFDATE_13676
if 
  StuckCarCheck.IsCarStuck(28@)
goto_if_false @GFDATE_13425
Camera.DoFade(500, Fade.Out)
2@ = 9
goto @GFDATE_14645

:GFDATE_13425
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
goto_if_false @GFDATE_13484
25@ = Audio.GetRadioChannel()
25@ += 1
if 
  25@ > 10
goto_if_false @GFDATE_13479
25@ = 0

:GFDATE_13479
Audio.SetRadioChannel(25@)

:GFDATE_13484
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
goto_if_false @GFDATE_13543
25@ = Audio.GetRadioChannel()
25@ -= 1
if 
  0 > 25@
goto_if_false @GFDATE_13538
25@ = 10

:GFDATE_13538
Audio.SetRadioChannel(25@)

:GFDATE_13543
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @GFDATE_13606
if 
  not is_local_var_bit_set_const 3@ {n} 12
goto_if_false @GFDATE_13599
2@ = 10
set_local_var_bit_const 3@ {n} 12
goto @GFDATE_14645

:GFDATE_13599
goto @GFDATE_13613

:GFDATE_13606
clear_local_var_bit_const 3@ {n} 12

:GFDATE_13613
if 
  TIMERA > 60000
goto_if_false @GFDATE_13676
gosub @GFDATE_19768
Task.CarDriveToCoord(0@, 28@, 4@, 7@, 10@, 30.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)
2@ += 1

:GFDATE_13676
goto @GFDATE_14645

:GFDATE_13683
if 
  StuckCarCheck.IsCarStuck(28@)
goto_if_false @GFDATE_13720
Camera.DoFade(500, Fade.Out)
2@ = 9
goto @GFDATE_14645

:GFDATE_13720
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadUp)
goto_if_false @GFDATE_13779
25@ = Audio.GetRadioChannel()
25@ += 1
if 
  25@ > 10
goto_if_false @GFDATE_13774
25@ = 0

:GFDATE_13774
Audio.SetRadioChannel(25@)

:GFDATE_13779
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadDown)
goto_if_false @GFDATE_13838
25@ = Audio.GetRadioChannel()
25@ -= 1
if 
  0 > 25@
goto_if_false @GFDATE_13833
25@ = 10

:GFDATE_13833
Audio.SetRadioChannel(25@)

:GFDATE_13838
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @GFDATE_13901
if 
  not is_local_var_bit_set_const 3@ {n} 12
goto_if_false @GFDATE_13894
2@ = 10
set_local_var_bit_const 3@ {n} 12
goto @GFDATE_14645

:GFDATE_13894
goto @GFDATE_13908

:GFDATE_13901
clear_local_var_bit_const 3@ {n} 12

:GFDATE_13908
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @GFDATE_13971
if 
  not is_local_var_bit_set_const 3@ {n} 12
goto_if_false @GFDATE_13964
2@ = 10
set_local_var_bit_const 3@ {n} 12
goto @GFDATE_14645

:GFDATE_13964
goto @GFDATE_13978

:GFDATE_13971
clear_local_var_bit_const 3@ {n} 12

:GFDATE_13978
25@ = Char.GetScriptTaskStatus(0@, 1489)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_14107
Text.ClearHelp
Camera.SetCinema(False)
if 
  Car.DoesHaveStuckCarCheck(28@)
goto_if_false @GFDATE_14034
StuckCarCheck.Remove(28@)

:GFDATE_14034
set_global_var_bit_const $iGFBonusPickupID {n} 2
if 
  not Char.IsGroupMember(0@, $flag_cell_nation)
goto_if_false @GFDATE_14082
Group.SetMember($flag_cell_nation, 0@)
Char.ListenToPlayerGroupCommands(0@, False)
Player.SetGroupToFollowAlways($statbike_temp, True)

:GFDATE_14082
$363($iCaller,6i) += 5
1@ = 3
2@ = 0

:GFDATE_14107
goto @GFDATE_14645

:GFDATE_14114
if 
  not Camera.GetFadingStatus
goto_if_false @GFDATE_14234
4@, 7@, 10@ = Car.GetCoordinates(28@)
5@, 8@, 11@ = Path.GetNthClosestCarNode(4@, 7@, 10@, 2)
Car.SetCoordinates(28@, 5@, 8@, 11@)
Camera.DoFade(2000, Fade.In)
25@ = Char.GetScriptTaskStatus(0@, 1489)
if 
  is_int_lvar_equal_to_constant 25@ == 1
goto_if_false @GFDATE_14227
2@ = 7
goto @GFDATE_14234

:GFDATE_14227
2@ = 6

:GFDATE_14234
goto @GFDATE_14645

:GFDATE_14241
Text.ClearHelp
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_14349
Car.SetIdle(28@)
Camera.SetCinema(False)
if 
  Car.DoesHaveStuckCarCheck(28@)
goto_if_false @GFDATE_14289
StuckCarCheck.Remove(28@)

:GFDATE_14289
Camera.AttachToVehicle(28@, 4.0, 4.0, 1.0, 0.0, 0.0, 0.0, 0.0, SwitchType.JumpCut)
Hud.SwitchWidescreen(True)
2@ += 1
goto @GFDATE_14356

:GFDATE_14349
2@ += 1

:GFDATE_14356
goto @GFDATE_14645

:GFDATE_14363
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_14446
if 
  Car.IsStopped(28@)
goto_if_false @GFDATE_14439
25@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1485)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_14439
Task.LeaveCar($stattreadstamina_ctr, 28@)
2@ += 1

:GFDATE_14439
goto @GFDATE_14453

:GFDATE_14446
2@ += 1

:GFDATE_14453
goto @GFDATE_14645

:GFDATE_14460
25@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1485)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_14638
28@ = Char.StoreCarIsInNoSave(0@)
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_14559
Car.SetProofs(28@, False, False, False, False, False)
Task.CarDriveWander(0@, 28@, 30.0, DrivingMode.AvoidCars)
set_var_int_to_constant $iGF_TT_driver = 305
set_var_int_to_constant $iGF_TT_Car = 244

:GFDATE_14559
Char.ClearTasks($stattreadstamina_ctr)
Text.ClearHelp
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Char.HideWeaponForScriptedCutscene(0@, False)
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
set_local_var_bit_const 3@ {n} 7
Char.SetProofs(0@, False, False, False, False, False)
1@ = 9
2@ = 1

:GFDATE_14638
goto @GFDATE_14645

:GFDATE_14645
return 

:GFDATE_14647
switch_start 2@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @GFDATE_14895 {caseNum1} 0 {caseLabel1} @GFDATE_14710 {caseNum2} 1 {caseLabel2} @GFDATE_14799 {caseNum3} -1 {caseLabel3} @GFDATE_14895 {caseNum4} -1 {caseLabel4} @GFDATE_14895 {caseNum5} -1 {caseLabel5} @GFDATE_14895 {caseNum6} -1 {caseLabel6} @GFDATE_14895 {caseNum7} -1 {caseLabel7} @GFDATE_14895

:GFDATE_14710
gosub @GFDATE_32407
set_local_var_bit_const 3@ {n} 1
clear_global_var_bit_const $iGFBonusPickupID {n} 2
Char.RemoveFromGroup(0@)
Char.ClearTasksImmediately(0@)
Task.FleeCharAnyMeans(0@, $stattreadstamina_ctr, 100.0, 36000000, False, 0, 0, 30.0)
Char.SetProofs(0@, False, False, False, False, False)
2@ += 1
goto @GFDATE_14895

:GFDATE_14799
if 
  not Char.IsHealthGreater(0@, 5)
goto_if_false @GFDATE_14843
$363($iCaller,6i) = -999
Task.Die(0@)
gosub @GFDATE_32517
return 

:GFDATE_14843
if 
  not Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 0@, 70.0, 70.0, 8.0, False)
goto_if_false @GFDATE_14888
gosub @GFDATE_32517
return 

:GFDATE_14888
goto @GFDATE_14895

:GFDATE_14895
return 

:GFDATE_14897
switch_start 2@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @GFDATE_15242 {caseNum1} 0 {caseLabel1} @GFDATE_14960 {caseNum2} 1 {caseLabel2} @GFDATE_15010 {caseNum3} -1 {caseLabel3} @GFDATE_15242 {caseNum4} -1 {caseLabel4} @GFDATE_15242 {caseNum5} -1 {caseLabel5} @GFDATE_15242 {caseNum6} -1 {caseLabel6} @GFDATE_15242 {caseNum7} -1 {caseLabel7} @GFDATE_15242

:GFDATE_14960
set_local_var_bit_const 3@ {n} 1
set_var_int_to_lvar_int $iGFContextVariation = 0@
$iLapDancesWatched = 0
$5301 = 0
set_global_var_bit_const $txtCURR_DANCE_MOVE {n} 31
2@ += 1
goto @GFDATE_15242

:GFDATE_15010
if 
  not is_global_var_bit_set_const $txtCURR_DANCE_MOVE {n} 31
goto_if_false @GFDATE_15167
$5301 = 1
if 
  not Char.IsGroupMember(0@, $flag_cell_nation)
goto_if_false @GFDATE_15076
Group.SetMember($flag_cell_nation, 0@)
Char.ListenToPlayerGroupCommands(0@, False)
Player.SetGroupToFollowAlways($statbike_temp, True)

:GFDATE_15076
if 
  $5300 >= 3000
goto_if_false @GFDATE_15117
set_global_var_bit_const $iGFBonusPickupID {n} 2
set_var_int_to_constant $iGF_TT_driver = 277
goto @GFDATE_15132

:GFDATE_15117
clear_global_var_bit_const $iGFBonusPickupID {n} 2
set_var_int_to_constant $iGF_TT_driver = 276

:GFDATE_15132
clear_local_var_bit_const 3@ {n} 1
set_local_var_bit_const 3@ {n} 2
1@ = 1
2@ = 0
goto @GFDATE_15235

:GFDATE_15167
24@ = Char.GetAreaVisible($stattreadstamina_ctr)
if 
  24@ == 0
goto_if_false @GFDATE_15228
clear_local_var_bit_const 3@ {n} 1
clear_global_var_bit_const $txtCURR_DANCE_MOVE {n} 31
1@ = 1
2@ = 0
goto @GFDATE_15235

:GFDATE_15228
set_local_var_bit_const 3@ {n} 13

:GFDATE_15235
goto @GFDATE_15242

:GFDATE_15242
return 

:GFDATE_15244
switch_start 2@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @GFDATE_16678 {caseNum1} 0 {caseLabel1} @GFDATE_15307 {caseNum2} 1 {caseLabel2} @GFDATE_15473 {caseNum3} 2 {caseLabel3} @GFDATE_15934 {caseNum4} 3 {caseLabel4} @GFDATE_16048 {caseNum5} 4 {caseLabel5} @GFDATE_16115 {caseNum6} -1 {caseLabel6} @GFDATE_16678 {caseNum7} -1 {caseLabel7} @GFDATE_16678

:GFDATE_15307
set_local_var_bit_const 3@ {n} 1
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Pad.SetPlayerFireButton($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
4@, 7@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 2.0)
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsOff(4@, 7@, 10@, 5@, 8@, 11@)
Path.SwitchPedRoadsOff(4@, 7@, 10@, 5@, 8@, 11@)
Task.TurnCharToFaceChar($stattreadstamina_ctr, 0@)
Task.TurnCharToFaceChar(0@, $stattreadstamina_ctr)
2@ += 1
goto @GFDATE_16678

:GFDATE_15473
25@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
26@ = Char.GetScriptTaskStatus(0@, 1593)
if and
  is_int_lvar_equal_to_constant 25@ == 7
  is_int_lvar_equal_to_constant 26@ == 7
goto_if_false @GFDATE_15797
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCollision(0@, False)
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, 0.0)
11@ = World.GetGroundZFor3DCoord(5@, 8@, 11@)
6@, 9@, 12@ = Char.GetCoordinates(0@)
12@ = World.GetGroundZFor3DCoord(6@, 9@, 12@)
Char.SetCoordinates(0@, 5@, 8@, 11@)
13@ = Char.GetHeading($stattreadstamina_ctr)
13@ += 180.0
Char.SetHeading(0@, 13@)
4@, 7@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.2, -1.0, 0.5)
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.7, 0.5)
if 
  World.IsLineOfSightClear(4@, 7@, 10@, 5@, 8@, 11@, True, True, False, True, False)
goto_if_false @GFDATE_15783
Camera.SetFixedPosition(4@, 7@, 10@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(5@, 8@, 11@, SwitchType.JumpCut)

:GFDATE_15783
2@ += 1
goto @GFDATE_15927

:GFDATE_15797
25@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_15862
25@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1466)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_15862
Task.StandStill($stattreadstamina_ctr, -1)

:GFDATE_15862
25@ = Char.GetScriptTaskStatus(0@, 1593)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_15927
25@ = Char.GetScriptTaskStatus(0@, 1466)
if 
  is_int_lvar_equal_to_constant 25@ == 7
goto_if_false @GFDATE_15927
Task.StandStill(0@, -1)

:GFDATE_15927
goto @GFDATE_16678

:GFDATE_15934
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision(0@, True)
Task.PlayAnim($stattreadstamina_ctr, "GIFT_GIVE", "KISSING", 4.0, False, False, False, False, 0)
Task.PlayAnim(0@, "GIFT_GET", "KISSING", 4.0, False, False, False, False, 0)
TIMERB = 0
2@ += 1
goto @GFDATE_16678

:GFDATE_16048
if 
  TIMERB >= 3966
goto_if_false @GFDATE_16108
25@ = Char.GetCurrentWeapon($stattreadstamina_ctr)
Char.RemoveWeapon($stattreadstamina_ctr, 25@)
Char.GiveWeapon(0@, 25@, 0)
set_var_int_to_constant $iGF_TT_driver = 298
2@ = 4

:GFDATE_16108
goto @GFDATE_16678

:GFDATE_16115
13@ = -1.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "GIFT_GIVE")
goto_if_false @GFDATE_16171
13@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "GIFT_GIVE")

:GFDATE_16171
if 
  13@ > -1.0
goto_if_false @GFDATE_16427
if 
  13@ == 1.0
goto_if_false @GFDATE_16420
Char.SetCoordinates(0@, 6@, 9@, 12@)
4@, 7@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(4@, 7@, 10@, 5@, 8@, 11@)
Path.SwitchPedRoadsBackToOriginal(4@, 7@, 10@, 5@, 8@, 11@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision(0@, True)
Player.SetControl($statbike_temp, True)
Pad.SetPlayerFireButton($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
25@ = Char.GetCurrentWeapon(0@)
Char.RemoveWeapon(0@, 25@)
$363($iCaller,6i) += 1
clear_local_var_bit_const 3@ {n} 1
1@ = 1
2@ = 0

:GFDATE_16420
goto @GFDATE_16671

:GFDATE_16427
Char.ClearTasks($stattreadstamina_ctr)
Task.Pause(0@, 0)
$363($iCaller,6i) += 1
Char.SetCoordinates(0@, 6@, 9@, 12@)
4@, 7@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 30.0, 30.0, 1.0)
5@, 8@, 11@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -30.0, -30.0, -1.0)
Path.SwitchRoadsBackToOriginal(4@, 7@, 10@, 5@, 8@, 11@)
Path.SwitchPedRoadsBackToOriginal(4@, 7@, 10@, 5@, 8@, 11@)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetCollision(0@, True)
Player.SetControl($statbike_temp, True)
Pad.SetPlayerFireButton($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Game.SetAllCarsCanBeDamaged(True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
if 
  not Char.IsGroupMember(0@, $flag_cell_nation)
goto_if_false @GFDATE_16650
Group.SetMember($flag_cell_nation, 0@)
Char.ListenToPlayerGroupCommands(0@, False)
Player.SetGroupToFollowAlways($statbike_temp, True)

:GFDATE_16650
clear_local_var_bit_const 3@ {n} 1
1@ = 1
2@ = 0

:GFDATE_16671
goto @GFDATE_16678

:GFDATE_16678
return 

:GFDATE_16680
if 
  -15 >= $363($iCaller,6i)
goto_if_false @GFDATE_16713
$363($iCaller,6i) = -99

:GFDATE_16713
if 
  $363($iCaller,6i) == -99
goto_if_false @GFDATE_16744
25@ = -1
return 

:GFDATE_16744
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 14
goto_if_false @GFDATE_16771
25@ = 1
return 

:GFDATE_16771
25@ = Stat.GetInt(StatId.SexAppeal)
25@ /= 10
switch_start $iCaller {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @GFDATE_16933 {caseNum1} 2 {caseLabel1} @GFDATE_16848 {caseNum2} 3 {caseLabel2} @GFDATE_16891 {caseNum3} -1 {caseLabel3} @GFDATE_16933 {caseNum4} -1 {caseLabel4} @GFDATE_16933 {caseNum5} -1 {caseLabel5} @GFDATE_16933 {caseNum6} -1 {caseLabel6} @GFDATE_16933 {caseNum7} -1 {caseLabel7} @GFDATE_16933

:GFDATE_16848
if 
  Player.IsWearing($statbike_temp, 17, "COUNTRYTR")
goto_if_false @GFDATE_16884
25@ += 25

:GFDATE_16884
goto @GFDATE_16933

:GFDATE_16891
if 
  Player.IsWearing($statbike_temp, 17, "POLICETR")
goto_if_false @GFDATE_16926
25@ += 25

:GFDATE_16926
goto @GFDATE_16933

:GFDATE_16933
26@ = Stat.GetInt(StatId.Fat)
26@ /= 10
26@ /= 2
if 
  26@ >= 25
goto_if_false @GFDATE_17038
if 
  is_global_var_bit_set_const $375($iCaller,6i) {n} 2
goto_if_false @GFDATE_17009
add_int_lvar_to_int_lvar 25@ += 26@
goto @GFDATE_17031

:GFDATE_17009
sub_int_lvar_from_int_lvar 25@ -= 26@
set_local_var_bit_const 3@ {n} 23
set_local_var_bit_const 3@ {n} 21

:GFDATE_17031
goto @GFDATE_17144

:GFDATE_17038
if 
  is_global_var_bit_set_const $375($iCaller,6i) {n} 2
goto_if_false @GFDATE_17089
sub_int_lvar_from_int_lvar 25@ -= 26@
set_local_var_bit_const 3@ {n} 23
set_local_var_bit_const 3@ {n} 20
goto @GFDATE_17144

:GFDATE_17089
if 
  is_global_var_bit_set_const $375($iCaller,6i) {n} 3
goto_if_false @GFDATE_17144
if 
  26@ == 0
goto_if_false @GFDATE_17136
26@ = 5

:GFDATE_17136
add_int_lvar_to_int_lvar 25@ += 26@

:GFDATE_17144
26@ = Stat.GetInt(StatId.BodyMuscle)
26@ /= 10
26@ /= 2
if 
  26@ >= 20
goto_if_false @GFDATE_17271
if 
  is_global_var_bit_set_const $375($iCaller,6i) {n} 1
goto_if_false @GFDATE_17220
add_int_lvar_to_int_lvar 25@ += 26@
goto @GFDATE_17264

:GFDATE_17220
if 
  is_global_var_bit_set_const $375($iCaller,6i) {n} 3
goto_if_false @GFDATE_17264
sub_int_lvar_from_int_lvar 25@ -= 26@
set_local_var_bit_const 3@ {n} 23
set_local_var_bit_const 3@ {n} 22

:GFDATE_17264
goto @GFDATE_17377

:GFDATE_17271
if 
  is_global_var_bit_set_const $375($iCaller,6i) {n} 1
goto_if_false @GFDATE_17322
sub_int_lvar_from_int_lvar 25@ -= 26@
set_local_var_bit_const 3@ {n} 23
set_local_var_bit_const 3@ {n} 21
goto @GFDATE_17377

:GFDATE_17322
if 
  is_global_var_bit_set_const $375($iCaller,6i) {n} 3
goto_if_false @GFDATE_17377
if 
  26@ == 0
goto_if_false @GFDATE_17369
26@ = 5

:GFDATE_17369
add_int_lvar_to_int_lvar 25@ += 26@

:GFDATE_17377
set_lvar_int_to_var_int 26@ = $363($iCaller,6i)
26@ /= 2
add_int_lvar_to_int_lvar 25@ += 26@
if 
  is_int_lvar_greater_or_equal_to_int_var 25@ >= $369($iCaller,6i)
goto_if_false @GFDATE_17441
25@ = 1
goto @GFDATE_17448

:GFDATE_17441
25@ = -1

:GFDATE_17448
return 

:GFDATE_17450
25@ = Math.RandomIntInRange(0, 100)
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 11
goto_if_false @GFDATE_17557
if and
  is_int_var_greater_than_int_var $363($iCaller,6i) > $357($iCaller,6i)
  25@ > 50
goto_if_false @GFDATE_17526
set_var_int_to_constant $iGF_TT_driver = 261
goto @GFDATE_17534

:GFDATE_17526
set_var_int_to_constant $iGF_TT_driver = 262

:GFDATE_17534
set_var_int_to_constant $iGF_TT_Car = 10
gosub @GFDATE_18725
gosub @GFDATE_17816
return 

:GFDATE_17557
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_17657
if and
  is_int_var_greater_than_int_var $363($iCaller,6i) > $357($iCaller,6i)
  25@ > 50
goto_if_false @GFDATE_17624
set_var_int_to_constant $iGF_TT_driver = 263
goto @GFDATE_17632

:GFDATE_17624
set_var_int_to_constant $iGF_TT_driver = 264

:GFDATE_17632
set_var_int_to_constant $iGF_TT_Car = 10
Hud.DisplayCounterWithString($iBouncerAction, CounterDisplay.Bar, 'GF_0029')
return 

:GFDATE_17657
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 13
goto_if_false @GFDATE_17755
if and
  is_int_var_greater_than_int_var $363($iCaller,6i) > $357($iCaller,6i)
  25@ > 50
goto_if_false @GFDATE_17724
set_var_int_to_constant $iGF_TT_driver = 265
goto @GFDATE_17732

:GFDATE_17724
set_var_int_to_constant $iGF_TT_driver = 266

:GFDATE_17732
set_var_int_to_constant $iGF_TT_Car = 10
gosub @GFDATE_18725
gosub @GFDATE_17816
return 

:GFDATE_17755
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 15
goto_if_false @GFDATE_17814
set_var_int_to_constant $iGF_TT_driver = 304
set_var_int_to_constant $iGF_TT_Car = 243
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFDATE_17812
Char.SetCantBeDraggedOut($stattreadstamina_ctr, True)

:GFDATE_17812
return 

:GFDATE_17814
return 

:GFDATE_17816
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFDATE_18723
gosub @GFDATE_32407
25@ = Player.GetCityIsIn($statbike_temp)
if 
  is_int_lvar_equal_to_constant 25@ == 1
goto_if_false @GFDATE_18033
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 11
goto_if_false @GFDATE_17993
15@ = Blip.AddShortRangeSpriteForCoord(2862.0, -1439.0, 10.0, RadarSprite.Diner)
16@ = Blip.AddShortRangeSpriteForCoord(2317.0, -1645.0, 13.0, RadarSprite.DateDrink)
17@ = Blip.AddShortRangeSpriteForCoord(1837.0, -1682.0, 14.0, RadarSprite.DateDrink)
18@ = Blip.AddShortRangeSpriteForCoord(415.3947, -1431.017, 31.5057, RadarSprite.DateFood)
19@ = Blip.AddShortRangeSpriteForCoord(384.6615, -1819.529, 6.8414, RadarSprite.Diner)

:GFDATE_17993
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 13
goto_if_false @GFDATE_18033
15@ = Blip.AddShortRangeSpriteForCoord(1837.0, -1682.0, 14.0, RadarSprite.DateDisco)

:GFDATE_18033
if 
  is_int_lvar_equal_to_constant 25@ == 2
goto_if_false @GFDATE_18241
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 11
goto_if_false @GFDATE_18201
15@ = Blip.AddShortRangeSpriteForCoord(-2463.0, 132.0, 34.0, RadarSprite.DateFood)
16@ = Blip.AddShortRangeSpriteForCoord(-1885.0, 747.0, 44.0, RadarSprite.DateFood)
17@ = Blip.AddShortRangeSpriteForCoord(-1699.0, 1380.0, 6.0, RadarSprite.Diner)
18@ = Blip.AddShortRangeSpriteForCoord(-2524.0, 1216.0, 37.0, RadarSprite.Diner)
19@ = Blip.AddShortRangeSpriteForCoord(-2241.0, -88.0, 35.0, RadarSprite.DateDrink)
20@ = Blip.AddShortRangeSpriteForCoord(-2551.115, 193.657, 5.2, RadarSprite.DateDrink)

:GFDATE_18201
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 13
goto_if_false @GFDATE_18241
15@ = Blip.AddShortRangeSpriteForCoord(-2551.115, 193.657, 5.2, RadarSprite.DateDisco)

:GFDATE_18241
if 
  is_int_lvar_equal_to_constant 25@ == 3
goto_if_false @GFDATE_18427
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 11
goto_if_false @GFDATE_18387
15@ = Blip.AddShortRangeSpriteForCoord(2441.145, 2065.145, 9.847, RadarSprite.DateDrink)
16@ = Blip.AddShortRangeSpriteForCoord(1693.0, 2208.0, 9.8, RadarSprite.DateFood)
17@ = Blip.AddShortRangeSpriteForCoord(2490.666, 2065.145, 9.847, RadarSprite.DateFood)
18@ = Blip.AddShortRangeSpriteForCoord(1376.892, 2327.792, 9.822, RadarSprite.Diner)
19@ = Blip.AddShortRangeSpriteForCoord(2368.058, 1983.185, 10.003, RadarSprite.Diner)

:GFDATE_18387
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 13
goto_if_false @GFDATE_18427
15@ = Blip.AddShortRangeSpriteForCoord(2507.44, 1242.31, 9.833, RadarSprite.DateDisco)

:GFDATE_18427
if 
  is_int_lvar_equal_to_constant 25@ == 0
goto_if_false @GFDATE_18723
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 11
goto_if_false @GFDATE_18639
15@ = Blip.AddShortRangeSpriteForCoord(292.865, -195.47, 0.852, RadarSprite.DateDrink)
16@ = Blip.AddShortRangeSpriteForCoord(681.544, -473.494, 15.592, RadarSprite.Diner)
17@ = Blip.AddShortRangeSpriteForCoord(-1941.516, 2379.672, 48.4922, RadarSprite.Diner)
18@ = Blip.AddShortRangeSpriteForCoord(-857.14, 1537.277, 21.587, RadarSprite.DateFood)
19@ = Blip.AddShortRangeSpriteForCoord(-85.2583, 1378.991, 9.2812, RadarSprite.DateDrink)
20@ = Blip.AddShortRangeSpriteForCoord(-53.867, 1189.297, 18.414, RadarSprite.Diner)
21@ = Blip.AddShortRangeSpriteForCoord(2317.0, -1645.0, 13.0, RadarSprite.DateDrink)
22@ = Blip.AddShortRangeSpriteForCoord(415.3947, -1431.017, 31.5057, RadarSprite.DateFood)

:GFDATE_18639
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 13
goto_if_false @GFDATE_18723
15@ = Blip.AddShortRangeSpriteForCoord(1837.0, -1682.0, 14.0, RadarSprite.DateDisco)
16@ = Blip.AddShortRangeSpriteForCoord(-2551.115, 193.657, 5.2, RadarSprite.DateDisco)
17@ = Blip.AddShortRangeSpriteForCoord(2507.44, 1242.31, 9.833, RadarSprite.DateDisco)

:GFDATE_18723
return 

:GFDATE_18725
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 11
goto_if_false @GFDATE_19023
World.SwitchEntryExit('FDREST1', True)
World.SwitchEntryExit('REST2', True)
World.SwitchEntryExit('DINER1', True)
World.SwitchEntryExit('DINER2', True)
World.SwitchEntryExit('TSDINER', True)
Game.SetNamedEntryExitFlag('FDPIZA', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('FDBURG', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('FDCHICK', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('UFOBAR', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('REST2', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('DINER1', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('FDREST1', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('REST2', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('DINER1', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('DINER2', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('TSDINER', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('BAR1', EntryexitsFlag.NoWarp, True)
Game.SetNamedEntryExitFlag('BAR2', EntryexitsFlag.NoWarp, True)
goto @GFDATE_19073

:GFDATE_19023
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 13
goto_if_false @GFDATE_19073
Game.SetNamedEntryExitFlag('BAR1', EntryexitsFlag.WarpGroup, True)
Game.SetNamedEntryExitFlag('BAR2', EntryexitsFlag.WarpGroup, True)

:GFDATE_19073
return 

:GFDATE_19075
World.SwitchEntryExit('FDREST1', False)
World.SwitchEntryExit('REST2', False)
World.SwitchEntryExit('DINER1', False)
World.SwitchEntryExit('DINER2', False)
World.SwitchEntryExit('TSDINER', False)
World.SwitchEntryExit('FDPIZA', True)
World.SwitchEntryExit('FDBURG', True)
World.SwitchEntryExit('FDCHICK', True)
World.SwitchEntryExit('BAR1', True)
World.SwitchEntryExit('BAR2', True)
World.SwitchEntryExit('UFOBAR', True)
Game.SetNamedEntryExitFlag('FDPIZA', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('FDBURG', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('FDCHICK', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('REST2', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('DINER1', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('FDREST1', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('REST2', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('DINER1', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('DINER2', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('TSDINER', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('BAR1', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('BAR2', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('UFOBAR', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('BAR1', EntryexitsFlag.WarpGroup, False)
Game.SetNamedEntryExitFlag('BAR2', EntryexitsFlag.WarpGroup, False)
return 

:GFDATE_19460
World.SwitchEntryExit('FDREST1', False)
World.SwitchEntryExit('REST2', False)
World.SwitchEntryExit('DINER1', False)
World.SwitchEntryExit('DINER2', False)
World.SwitchEntryExit('TSDINER', False)
World.SwitchEntryExit('FDPIZA', False)
World.SwitchEntryExit('FDBURG', False)
World.SwitchEntryExit('FDCHICK', False)
World.SwitchEntryExit('BAR1', False)
World.SwitchEntryExit('BAR2', False)
World.SwitchEntryExit('UFOBAR', False)
return 

:GFDATE_19605
World.SwitchEntryExit('FDREST1', False)
World.SwitchEntryExit('REST2', False)
World.SwitchEntryExit('DINER1', False)
World.SwitchEntryExit('DINER2', False)
World.SwitchEntryExit('TSDINER', False)
Game.SetNamedEntryExitFlag('FDPIZA', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('FDBURG', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('FDCHICK', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('BAR1', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('BAR2', EntryexitsFlag.NoWarp, False)
Game.SetNamedEntryExitFlag('UFOBAR', EntryexitsFlag.NoWarp, False)
return 

:GFDATE_19768
switch_start $iCaller {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFDATE_20053 {caseNum1} 0 {caseLabel1} @GFDATE_19831 {caseNum2} 1 {caseLabel2} @GFDATE_19942 {caseNum3} 2 {caseLabel3} @GFDATE_19905 {caseNum4} 3 {caseLabel4} @GFDATE_19868 {caseNum5} 4 {caseLabel5} @GFDATE_19979 {caseNum6} 5 {caseLabel6} @GFDATE_20016 {caseNum7} -1 {caseLabel7} @GFDATE_20053

:GFDATE_19831
4@ = 2402.012
7@ = -1719.648
10@ = 12.6219
goto @GFDATE_20053

:GFDATE_19868
4@ = -1398.101
7@ = 2636.873
10@ = 54.7031
goto @GFDATE_20053

:GFDATE_19905
4@ = -377.3978
7@ = -1438.692
10@ = 24.7209
goto @GFDATE_20053

:GFDATE_19942
4@ = -1796.952
7@ = 1197.376
10@ = 24.1094
goto @GFDATE_20053

:GFDATE_19979
4@ = -2576.808
7@ = 1144.744
10@ = 54.8547
goto @GFDATE_20053

:GFDATE_20016
4@ = 2035.362
7@ = 2732.411
10@ = 9.8203
goto @GFDATE_20053

:GFDATE_20053
return 

:GFDATE_20055
if 
  is_local_var_bit_set_const 3@ {n} 2
goto_if_false @GFDATE_20150
gosub @GFDATE_19768
if 
  Char.LocateStoppedAnyMeans3D(0@, 4@, 7@, 10@, 3.0, 3.0, 3.0, True)
goto_if_false @GFDATE_20136
24@ = -2
goto @GFDATE_20143

:GFDATE_20136
24@ = -1

:GFDATE_20143
goto @GFDATE_20349

:GFDATE_20150
24@ = Streaming.GetAreaVisible()
if 
  24@ <> 0
goto_if_false @GFDATE_20342
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 11
goto_if_false @GFDATE_20247
v$iFun = Char.GetNameOfEntryExitUsed($stattreadstamina_ctr)
gosub @GFDATE_22371
if 
  25@ > -1
goto_if_false @GFDATE_20233
return 
goto @GFDATE_20240

:GFDATE_20233
24@ = -1

:GFDATE_20240
goto @GFDATE_20335

:GFDATE_20247
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 13
goto_if_false @GFDATE_20328
v$iFun = Char.GetNameOfEntryExitUsed($stattreadstamina_ctr)
gosub @GFDATE_22371
if 
  25@ == 8
goto_if_false @GFDATE_20314
set_local_var_bit_const 3@ {n} 13
return 
goto @GFDATE_20321

:GFDATE_20314
24@ = -1

:GFDATE_20321
goto @GFDATE_20335

:GFDATE_20328
24@ = -1

:GFDATE_20335
goto @GFDATE_20349

:GFDATE_20342
24@ = -1

:GFDATE_20349
return 

:GFDATE_20351
switch_start $iCaller {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFDATE_20576 {caseNum1} 0 {caseLabel1} @GFDATE_20414 {caseNum2} 1 {caseLabel2} @GFDATE_20495 {caseNum3} 2 {caseLabel3} @GFDATE_20468 {caseNum4} 3 {caseLabel4} @GFDATE_20441 {caseNum5} 4 {caseLabel5} @GFDATE_20522 {caseNum6} 5 {caseLabel6} @GFDATE_20549 {caseNum7} -1 {caseLabel7} @GFDATE_20576

:GFDATE_20414
Cutscene.AppendToNext('GANGRL3', 'GFRIEND')
goto @GFDATE_20576

:GFDATE_20441
Cutscene.AppendToNext('COPGRL3', 'GFRIEND')
goto @GFDATE_20576

:GFDATE_20468
Cutscene.AppendToNext('GUNGRL3', 'GFRIEND')
goto @GFDATE_20576

:GFDATE_20495
Cutscene.AppendToNext('MECGRL3', 'GFRIEND')
goto @GFDATE_20576

:GFDATE_20522
Cutscene.AppendToNext('NURGRL3', 'GFRIEND')
goto @GFDATE_20576

:GFDATE_20549
Cutscene.AppendToNext('CROGRL3', 'GFRIEND')
goto @GFDATE_20576

:GFDATE_20576
return 

:GFDATE_20578
gosub @GFDATE_22371
switch_start 25@ {numCases} 11 {hasDefaultCase} 0 {defaultLabel} @GFDATE_22369 {caseNum1} 1 {caseLabel1} @GFDATE_21201 {caseNum2} 2 {caseLabel2} @GFDATE_21337 {caseNum3} 3 {caseLabel3} @GFDATE_20713 {caseNum4} 4 {caseLabel4} @GFDATE_20929 {caseNum5} 5 {caseLabel5} @GFDATE_21065 {caseNum6} 6 {caseLabel6} @GFDATE_21825 {caseNum7} 7 {caseLabel7} @GFDATE_22097
switch_continued 8 {caseLabel1} @GFDATE_21553 {caseNum2} 9 {caseLabel2} @GFDATE_21689 {caseNum3} 10 {caseLabel3} @GFDATE_22233 {caseNum4} 11 {caseLabel4} @GFDATE_21961 {caseNum5} -1 {caseLabel5} @GFDATE_22369 {caseNum6} -1 {caseLabel6} @GFDATE_22369 {caseNum7} -1 {caseLabel7} @GFDATE_22369 {caseNum8} -1 {caseLabel8} @GFDATE_22369 {caseNum9} -1 {caseLabel9} @GFDATE_22369

:GFDATE_20713
World.SetExtraColors(4, False)
Stat.ShowUpdateStats(False)
Stat.IncrementInt(StatId.Calories, 40)
Stat.IncrementInt(StatId.Fat, 40)
4@ = 370.0
7@ = -125.0
10@ = 1001.52
Streaming.LoadScene(4@, 7@, 10@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 1
goto_if_false @GFDATE_20864
Cutscene.AppendToNext('GFPIZ1', 'GFPIZ1')
Cutscene.AppendToNext('GFPIZ2', 'GFPIZ2')
Cutscene.Load('DATE1A')
set_global_var_bit_const $iGFBonusPickupID {n} 2
goto @GFDATE_20922

:GFDATE_20864
Cutscene.AppendToNext('GFPIZ1', 'GFPIZ1')
Cutscene.AppendToNext('GFPIZ2', 'GFPIZ2')
Cutscene.Load('DATE1B')
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_20922
goto @GFDATE_22369

:GFDATE_20929
World.SetExtraColors(4, False)
Stat.ShowUpdateStats(False)
Stat.IncrementInt(StatId.Calories, 40)
Stat.IncrementInt(StatId.Fat, 40)
4@ = 445.381
7@ = -14.147
10@ = 1001.731
Streaming.LoadScene(4@, 7@, 10@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 5
goto_if_false @GFDATE_21040
Cutscene.Load('DATE5A')
set_global_var_bit_const $iGFBonusPickupID {n} 2
goto @GFDATE_21058

:GFDATE_21040
Cutscene.Load('DATE5B')
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_21058
goto @GFDATE_22369

:GFDATE_21065
World.SetExtraColors(4, False)
Stat.ShowUpdateStats(False)
Stat.IncrementInt(StatId.Calories, 40)
Stat.IncrementInt(StatId.Fat, 40)
4@ = 441.871
7@ = -60.839
10@ = 1000.675
Streaming.LoadScene(4@, 7@, 10@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 5
goto_if_false @GFDATE_21176
Cutscene.Load('DATE5A')
set_global_var_bit_const $iGFBonusPickupID {n} 2
goto @GFDATE_21194

:GFDATE_21176
Cutscene.Load('DATE5B')
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_21194
goto @GFDATE_22369

:GFDATE_21201
World.SetExtraColors(4, False)
Stat.ShowUpdateStats(False)
Stat.IncrementInt(StatId.Calories, 40)
Stat.IncrementInt(StatId.Fat, 40)
4@ = 374.478
7@ = -8.415
10@ = 1002.86
Streaming.LoadScene(4@, 7@, 10@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 1
goto_if_false @GFDATE_21312
Cutscene.Load('DATE2A')
set_global_var_bit_const $iGFBonusPickupID {n} 2
goto @GFDATE_21330

:GFDATE_21312
Cutscene.Load('DATE2B')
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_21330
goto @GFDATE_22369

:GFDATE_21337
World.SetExtraColors(4, False)
Stat.ShowUpdateStats(False)
Stat.IncrementInt(StatId.Calories, 40)
Stat.IncrementInt(StatId.Fat, 40)
4@ = 367.891
7@ = -67.591
10@ = 1001.516
Streaming.LoadScene(4@, 7@, 10@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 1
goto_if_false @GFDATE_21488
Cutscene.AppendToNext('BURG_PA', 'GFPIZ1')
Cutscene.AppendToNext('BURG_GA', 'GFPIZ2')
Cutscene.Load('DATE1A')
set_global_var_bit_const $iGFBonusPickupID {n} 2
goto @GFDATE_21546

:GFDATE_21488
Cutscene.AppendToNext('BURG_PA', 'GFPIZ1')
Cutscene.AppendToNext('BURG_GA', 'GFPIZ2')
Cutscene.Load('DATE1B')
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_21546
goto @GFDATE_22369

:GFDATE_21553
World.SetExtraColors(5, False)
Stat.ShowUpdateStats(False)
Stat.IncrementInt(StatId.Calories, 20)
Stat.IncrementInt(StatId.Fat, 20)
4@ = 498.536
7@ = -18.2
10@ = 1000.651
Streaming.LoadScene(4@, 7@, 10@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 3
goto_if_false @GFDATE_21664
Cutscene.Load('DATE6A')
set_global_var_bit_const $iGFBonusPickupID {n} 2
goto @GFDATE_21682

:GFDATE_21664
Cutscene.Load('DATE6B')
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_21682
goto @GFDATE_22369

:GFDATE_21689
World.SetExtraColors(6, False)
Stat.ShowUpdateStats(False)
Stat.IncrementInt(StatId.Calories, 20)
Stat.IncrementInt(StatId.Fat, 20)
4@ = 490.718
7@ = -79.168
10@ = 998.76
Streaming.LoadScene(4@, 7@, 10@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 3
goto_if_false @GFDATE_21800
Cutscene.Load('DATE6A')
set_global_var_bit_const $iGFBonusPickupID {n} 2
goto @GFDATE_21818

:GFDATE_21800
Cutscene.Load('DATE6B')
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_21818
goto @GFDATE_22369

:GFDATE_21825
World.SetExtraColors(4, False)
Stat.ShowUpdateStats(False)
Stat.IncrementInt(StatId.Calories, 40)
Stat.IncrementInt(StatId.Fat, 40)
4@ = 449.41
7@ = -86.72
10@ = 1000.53
Streaming.LoadScene(4@, 7@, 10@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 2
goto_if_false @GFDATE_21936
Cutscene.Load('DATE3A')
set_global_var_bit_const $iGFBonusPickupID {n} 2
goto @GFDATE_21954

:GFDATE_21936
Cutscene.Load('DATE3B')
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_21954
goto @GFDATE_22369

:GFDATE_21961
World.SetExtraColors(4, False)
Stat.ShowUpdateStats(False)
Stat.IncrementInt(StatId.Calories, 40)
Stat.IncrementInt(StatId.Fat, 40)
4@ = 678.028
7@ = -452.9
10@ = -24.444
Streaming.LoadScene(4@, 7@, 10@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 2
goto_if_false @GFDATE_22072
Cutscene.Load('DATE3A')
set_global_var_bit_const $iGFBonusPickupID {n} 2
goto @GFDATE_22090

:GFDATE_22072
Cutscene.Load('DATE3B')
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_22090
goto @GFDATE_22369

:GFDATE_22097
World.SetExtraColors(4, False)
Stat.ShowUpdateStats(False)
Stat.IncrementInt(StatId.Calories, 40)
Stat.IncrementInt(StatId.Fat, 40)
4@ = 449.41
7@ = -108.24
10@ = 1000.528
Streaming.LoadScene(4@, 7@, 10@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 2
goto_if_false @GFDATE_22208
Cutscene.Load('DATE4A')
set_global_var_bit_const $iGFBonusPickupID {n} 2
goto @GFDATE_22226

:GFDATE_22208
Cutscene.Load('DATE4B')
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_22226
goto @GFDATE_22369

:GFDATE_22233
World.SetExtraColors(4, False)
Stat.ShowUpdateStats(False)
Stat.IncrementInt(StatId.Calories, 20)
Stat.IncrementInt(StatId.Fat, 20)
4@ = -226.249
7@ = 1405.448
10@ = 27.7
Streaming.LoadScene(4@, 7@, 10@)
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 3
goto_if_false @GFDATE_22344
Cutscene.Load('DATE6A')
set_global_var_bit_const $iGFBonusPickupID {n} 2
goto @GFDATE_22362

:GFDATE_22344
Cutscene.Load('DATE6B')
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_22362
goto @GFDATE_22369

:GFDATE_22369
return 

:GFDATE_22371
25@ = -1
if 
  is_var_text_label16_equal_to_text_label v$iFun == "FDCHICK"
goto_if_false @GFDATE_22412
25@ = 1
return 

:GFDATE_22412
if 
  is_var_text_label16_equal_to_text_label v$iFun == "FDBURG"
goto_if_false @GFDATE_22445
25@ = 2
return 

:GFDATE_22445
if 
  is_var_text_label16_equal_to_text_label v$iFun == "FDPIZA"
goto_if_false @GFDATE_22478
25@ = 3
return 

:GFDATE_22478
if 
  is_var_text_label16_equal_to_text_label v$iFun == "FDREST1"
goto_if_false @GFDATE_22512
25@ = 4
return 

:GFDATE_22512
if 
  is_var_text_label16_equal_to_text_label v$iFun == "REST2"
goto_if_false @GFDATE_22544
25@ = 5
return 

:GFDATE_22544
if 
  is_var_text_label16_equal_to_text_label v$iFun == "DINER1"
goto_if_false @GFDATE_22577
25@ = 6
return 

:GFDATE_22577
if 
  is_var_text_label16_equal_to_text_label v$iFun == "DINER2"
goto_if_false @GFDATE_22610
25@ = 7
return 

:GFDATE_22610
if 
  is_var_text_label16_equal_to_text_label v$iFun == "BAR1"
goto_if_false @GFDATE_22641
25@ = 8
return 

:GFDATE_22641
if 
  is_var_text_label16_equal_to_text_label v$iFun == "BAR2"
goto_if_false @GFDATE_22672
25@ = 9
return 

:GFDATE_22672
if 
  is_var_text_label16_equal_to_text_label v$iFun == "UFOBAR"
goto_if_false @GFDATE_22705
25@ = 10
return 

:GFDATE_22705
if 
  is_var_text_label16_equal_to_text_label v$iFun == "TSDINER"
goto_if_false @GFDATE_22739
25@ = 11
return 

:GFDATE_22739
set_var_text_label16 v$iFun = "NIL"
return 

:GFDATE_22751
switch_start $iCaller {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFDATE_23456 {caseNum1} 0 {caseLabel1} @GFDATE_22814 {caseNum2} 1 {caseLabel2} @GFDATE_23028 {caseNum3} 2 {caseLabel3} @GFDATE_23135 {caseNum4} 3 {caseLabel4} @GFDATE_22921 {caseNum5} 4 {caseLabel5} @GFDATE_23242 {caseNum6} 5 {caseLabel6} @GFDATE_23349 {caseNum7} -1 {caseLabel7} @GFDATE_23456

:GFDATE_22814
4@ = 2394.408
7@ = -1728.215
10@ = 14.2715
5@ = 2395.066
8@ = -1727.465
11@ = 14.2063
6@ = 2401.91
9@ = -1715.633
12@ = 13.0848
13@ = 180.0
goto @GFDATE_23456

:GFDATE_22921
4@ = -1401.494
7@ = 2640.099
10@ = 59.3883
5@ = -1400.704
8@ = 2639.641
11@ = 58.9806
6@ = -1390.6
9@ = 2638.349
12@ = 54.9965
13@ = 90.0
goto @GFDATE_23456

:GFDATE_23028
4@ = -1799.737
7@ = 1192.863
10@ = 29.6868
5@ = -1799.472
8@ = 1193.683
11@ = 29.1813
6@ = -1799.81
9@ = 1200.602
12@ = 24.1194
13@ = 197.0
goto @GFDATE_23456

:GFDATE_23135
4@ = -383.3153
7@ = -1435.266
10@ = 26.695
5@ = -382.5756
8@ = -1435.887
11@ = 26.4366
6@ = -382.0961
9@ = -1438.207
12@ = 24.7209
13@ = 269.3417
goto @GFDATE_23456

:GFDATE_23242
4@ = -2582.293
7@ = 1147.762
10@ = 59.6235
5@ = -2581.406
8@ = 1147.768
11@ = 59.1605
6@ = -2574.045
9@ = 1152.397
12@ = 54.7422
13@ = 151.7896
goto @GFDATE_23456

:GFDATE_23349
4@ = 2032.235
7@ = 2734.541
10@ = 13.3226
5@ = 2032.744
8@ = 2733.714
11@ = 13.0817
6@ = 2037.401
9@ = 2723.283
12@ = 9.8352
13@ = 8.0
goto @GFDATE_23456

:GFDATE_23456
return 

:GFDATE_23458
25@ = Zone.GetGangStrength(s$mod_garage1, GangType.Ballas)
if 
  25@ > 0
goto_if_false @GFDATE_23488
return 

:GFDATE_23488
25@ = Zone.GetGangStrength(s$mod_garage1, GangType.Aztecas)
if 
  25@ > 0
goto_if_false @GFDATE_23518
return 

:GFDATE_23518
25@ = Zone.GetGangStrength(s$mod_garage1, GangType.Vagos)
if 
  25@ > 0
goto_if_false @GFDATE_23548
return 

:GFDATE_23548
25@ = Zone.GetGangStrength(s$mod_garage1, GangType.Rifa)
if 
  25@ > 0
goto_if_false @GFDATE_23578
return 

:GFDATE_23578
return 

:GFDATE_23580
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_23638
if and
  not is_local_var_bit_set_const 3@ {n} 2
  not is_local_var_bit_set_const 3@ {n} 26
goto_if_false @GFDATE_23631
set_var_int_to_constant $iGF_TT_driver = 270

:GFDATE_23631
goto @GFDATE_23671

:GFDATE_23638
if and
  not is_local_var_bit_set_const 3@ {n} 2
  not is_local_var_bit_set_const 3@ {n} 26
goto_if_false @GFDATE_23671
set_var_int_to_constant $iGF_TT_driver = 269

:GFDATE_23671
set_local_var_bit_const 3@ {n} 26
return 

:GFDATE_23680
1@ = 5
2@ = 0
return 

:GFDATE_23696
25@ = 0
if 
  not is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_24074
if and
  not Char.IsInAnyCar(0@)
  not Player.IsUsingJetpack($statbike_temp)
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @GFDATE_24074
if 
  Char.IsStopped(0@)
goto_if_false @GFDATE_24074
4@, 7@, 10@ = Char.GetOffsetInWorldCoords(0@, 0.0, 0.5, 0.0)
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 4@, 7@, 10@, 1.3, 1.3, 1.0, False)
goto_if_false @GFDATE_24074
4@, 7@, 10@ = Char.GetCoordinates($stattreadstamina_ctr)
5@, 8@, 11@ = Char.GetCoordinates(0@)
set_lvar_float_to_lvar_float 13@ = 11@
13@ -= 0.02
set_lvar_float_to_lvar_float 14@ = 11@
14@ += 0.02
if and
  is_float_lvar_greater_than_float_lvar 10@ > 13@
  is_float_lvar_greater_than_float_lvar 14@ > 10@
goto_if_false @GFDATE_24074
if or
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Flowers)
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Dildo1)
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Dildo2)
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Vibe1)
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Vibe2)
goto_if_false @GFDATE_24027
if and
  not is_local_var_bit_set_const 3@ {n} 28
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GFDATE_24011
Text.PrintHelp('GF_H013')
set_local_var_bit_const 3@ {n} 28

:GFDATE_24011
25@ = 2
return 
goto @GFDATE_24074

:GFDATE_24027
if and
  not is_local_var_bit_set_const 3@ {n} 4
  not Text.IsHelpMessageBeingDisplayed
goto_if_false @GFDATE_24065
Text.PrintHelp('GF_0021')
set_local_var_bit_const 3@ {n} 4

:GFDATE_24065
25@ = 1
return 

:GFDATE_24074
return 

:GFDATE_24076
if 
  $1223 == 0
goto_if_false @GFDATE_24106
Streaming.RequestAnimation("BLOWJOBZ")

:GFDATE_24106
Streaming.RequestAnimation("KISSING")

:GFDATE_24117
wait 0
if 
  Streaming.HasAnimationLoaded("KISSING")
goto_if_false @GFDATE_24228
if 
  $1223 == 0
goto_if_false @GFDATE_24219
if 
  Streaming.HasAnimationLoaded("BLOWJOBZ")
goto_if_false @GFDATE_24193
return 
goto @GFDATE_24212

:GFDATE_24193
Streaming.RequestAnimation("BLOWJOBZ")
goto @GFDATE_24117

:GFDATE_24212
goto @GFDATE_24221

:GFDATE_24219
return 

:GFDATE_24221
goto @GFDATE_24246

:GFDATE_24228
Streaming.RequestAnimation("KISSING")
goto @GFDATE_24117

:GFDATE_24246
if 
  is_local_var_bit_set_const 3@ {n} 13
goto_if_false @GFDATE_24318
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_24297
TIMERA = 30000
goto @GFDATE_24304

:GFDATE_24297
TIMERA = 0

:GFDATE_24304
clear_local_var_bit_const 3@ {n} 13
goto @GFDATE_25025

:GFDATE_24318
if 
  is_local_var_bit_set_const 3@ {n} 8
goto_if_false @GFDATE_24416
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_24369
TIMERA = 30000
goto @GFDATE_24402

:GFDATE_24369
if 
  30@ == -1
goto_if_false @GFDATE_24395
set_lvar_int_to_lvar_int 30@ = TIMERA

:GFDATE_24395
TIMERA = 0

:GFDATE_24402
clear_local_var_bit_const 3@ {n} 8
goto @GFDATE_25025

:GFDATE_24416
switch_start 1@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @GFDATE_25025 {caseNum1} 1 {caseLabel1} @GFDATE_24544 {caseNum2} 2 {caseLabel2} @GFDATE_24625 {caseNum3} 3 {caseLabel3} @GFDATE_24639 {caseNum4} 4 {caseLabel4} @GFDATE_24653 {caseNum5} 5 {caseLabel5} @GFDATE_24734 {caseNum6} 6 {caseLabel6} @GFDATE_24748 {caseNum7} 7 {caseLabel7} @GFDATE_24843
switch_continued 10 {caseLabel1} @GFDATE_24938 {caseNum2} 11 {caseLabel2} @GFDATE_24952 {caseNum3} -1 {caseLabel3} @GFDATE_25025 {caseNum4} -1 {caseLabel4} @GFDATE_25025 {caseNum5} -1 {caseLabel5} @GFDATE_25025 {caseNum6} -1 {caseLabel6} @GFDATE_25025 {caseNum7} -1 {caseLabel7} @GFDATE_25025 {caseNum8} -1 {caseLabel8} @GFDATE_25025 {caseNum9} -1 {caseLabel9} @GFDATE_25025

:GFDATE_24544
if and
  is_global_var_bit_set_const $381($iCaller,6i) {n} 21
  Char.IsShooting(0@)
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_24585
TIMERA = 0

:GFDATE_24585
if 
  30@ > 0
goto_if_false @GFDATE_24618
set_lvar_int_to_lvar_int TIMERA = 30@
30@ = -1

:GFDATE_24618
goto @GFDATE_25025

:GFDATE_24625
TIMERA = 0
goto @GFDATE_25025

:GFDATE_24639
TIMERA = 0
goto @GFDATE_25025

:GFDATE_24653
if and
  is_global_var_bit_set_const $381($iCaller,6i) {n} 21
  Char.IsShooting(0@)
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_24694
TIMERA = 0

:GFDATE_24694
if 
  30@ > 0
goto_if_false @GFDATE_24727
set_lvar_int_to_lvar_int TIMERA = 30@
30@ = -1

:GFDATE_24727
goto @GFDATE_25025

:GFDATE_24734
TIMERA = 0
goto @GFDATE_25025

:GFDATE_24748
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 27
goto_if_false @GFDATE_24836
if 
  30@ == -1
goto_if_false @GFDATE_24796
set_lvar_int_to_lvar_int 30@ = TIMERA

:GFDATE_24796
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_24829
TIMERA = 30000
goto @GFDATE_24836

:GFDATE_24829
TIMERA = 0

:GFDATE_24836
goto @GFDATE_25025

:GFDATE_24843
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 28
goto_if_false @GFDATE_24931
if 
  30@ == -1
goto_if_false @GFDATE_24891
set_lvar_int_to_lvar_int 30@ = TIMERA

:GFDATE_24891
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_24924
TIMERA = 30000
goto @GFDATE_24931

:GFDATE_24924
TIMERA = 0

:GFDATE_24931
goto @GFDATE_25025

:GFDATE_24938
TIMERA = 0
goto @GFDATE_25025

:GFDATE_24952
if 
  30@ == -1
goto_if_false @GFDATE_24978
set_lvar_int_to_lvar_int 30@ = TIMERA

:GFDATE_24978
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_25011
TIMERA = 30000
goto @GFDATE_25018

:GFDATE_25011
TIMERA = 0

:GFDATE_25018
goto @GFDATE_25025

:GFDATE_25025
return 

:GFDATE_25027
if 
  0.0 >= $iSetSTRIPPanic
goto_if_false @GFDATE_25058
$iSetSTRIPPanic -= 0.5

:GFDATE_25058
add_float_var_to_float_var $iSetBarPanic += $iSetSTRIPPanic
if 
  0.0 > $iSetBarPanic
goto_if_false @GFDATE_25097
$iSetBarPanic = 0.0

:GFDATE_25097
if 
  $iSetBarPanic > 100.0
goto_if_false @GFDATE_25128
$iSetBarPanic = 100.0

:GFDATE_25128
cset_var_int_to_var_float $iBouncerAction =# $iSetBarPanic
set_local_var_bit_const 3@ {n} 8
return 

:GFDATE_25145
26@ = Zone.GetCurrentPopulationZoneType()
switch_start 26@ {numCases} 20 {hasDefaultCase} 0 {defaultLabel} @GFDATE_26510 {caseNum1} 0 {caseLabel1} @GFDATE_25385 {caseNum2} 1 {caseLabel2} @GFDATE_25878 {caseNum3} 2 {caseLabel3} @GFDATE_26352 {caseNum4} 3 {caseLabel4} @GFDATE_25957 {caseNum5} 4 {caseLabel5} @GFDATE_25464 {caseNum6} 5 {caseLabel6} @GFDATE_25371 {caseNum7} 6 {caseLabel7} @GFDATE_25378
switch_continued 7 {caseLabel1} @GFDATE_26431 {caseNum2} 8 {caseLabel2} @GFDATE_25720 {caseNum3} 9 {caseLabel3} @GFDATE_26115 {caseNum4} 10 {caseLabel4} @GFDATE_25622 {caseNum5} 11 {caseLabel5} @GFDATE_25343 {caseNum6} 12 {caseLabel6} @GFDATE_26273 {caseNum7} 13 {caseLabel7} @GFDATE_26194 {caseNum8} 14 {caseLabel8} @GFDATE_26036 {caseNum9} 15 {caseLabel9} @GFDATE_25543
switch_continued 16 {caseLabel1} @GFDATE_25357 {caseNum2} 17 {caseLabel2} @GFDATE_25799 {caseNum3} 18 {caseLabel3} @GFDATE_25350 {caseNum4} 19 {caseLabel4} @GFDATE_25364 {caseNum5} -1 {caseLabel5} @GFDATE_26510 {caseNum6} -1 {caseLabel6} @GFDATE_26510 {caseNum7} -1 {caseLabel7} @GFDATE_26510 {caseNum8} -1 {caseLabel8} @GFDATE_26510 {caseNum9} -1 {caseLabel9} @GFDATE_26510

:GFDATE_25343
goto @GFDATE_26510

:GFDATE_25350
goto @GFDATE_26510

:GFDATE_25357
goto @GFDATE_26510

:GFDATE_25364
goto @GFDATE_26510

:GFDATE_25371
goto @GFDATE_26510

:GFDATE_25378
goto @GFDATE_26510

:GFDATE_25385
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 15
goto_if_false @GFDATE_25450
if 
  TIMERA >= 30000
goto_if_false @GFDATE_25436
$iSetSTRIPPanic += 0.5

:GFDATE_25436
gosub @GFDATE_26512
goto @GFDATE_25457

:GFDATE_25450
gosub @GFDATE_26632

:GFDATE_25457
goto @GFDATE_26510

:GFDATE_25464
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 15
goto_if_false @GFDATE_25529
if 
  TIMERA >= 30000
goto_if_false @GFDATE_25515
$iSetSTRIPPanic += 0.5

:GFDATE_25515
gosub @GFDATE_26512
goto @GFDATE_25536

:GFDATE_25529
gosub @GFDATE_26632

:GFDATE_25536
goto @GFDATE_26510

:GFDATE_25543
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 15
goto_if_false @GFDATE_25608
if 
  TIMERA >= 30000
goto_if_false @GFDATE_25594
$iSetSTRIPPanic += 0.5

:GFDATE_25594
gosub @GFDATE_26512
goto @GFDATE_25615

:GFDATE_25608
gosub @GFDATE_26632

:GFDATE_25615
goto @GFDATE_26510

:GFDATE_25622
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 17
goto_if_false @GFDATE_25706
if 
  TIMERA >= 30000
goto_if_false @GFDATE_25692
if 
  TIMERA >= 30000
goto_if_false @GFDATE_25692
$iSetSTRIPPanic += 0.5

:GFDATE_25692
gosub @GFDATE_26512
goto @GFDATE_25713

:GFDATE_25706
gosub @GFDATE_26632

:GFDATE_25713
goto @GFDATE_26510

:GFDATE_25720
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 17
goto_if_false @GFDATE_25785
if 
  TIMERA >= 30000
goto_if_false @GFDATE_25771
$iSetSTRIPPanic += 0.5

:GFDATE_25771
gosub @GFDATE_26512
goto @GFDATE_25792

:GFDATE_25785
gosub @GFDATE_26632

:GFDATE_25792
goto @GFDATE_26510

:GFDATE_25799
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 17
goto_if_false @GFDATE_25864
if 
  TIMERA >= 30000
goto_if_false @GFDATE_25850
$iSetSTRIPPanic += 0.5

:GFDATE_25850
gosub @GFDATE_26512
goto @GFDATE_25871

:GFDATE_25864
gosub @GFDATE_26632

:GFDATE_25871
goto @GFDATE_26510

:GFDATE_25878
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 18
goto_if_false @GFDATE_25943
if 
  TIMERA >= 30000
goto_if_false @GFDATE_25929
$iSetSTRIPPanic += 0.5

:GFDATE_25929
gosub @GFDATE_26512
goto @GFDATE_25950

:GFDATE_25943
gosub @GFDATE_26632

:GFDATE_25950
goto @GFDATE_26510

:GFDATE_25957
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 18
goto_if_false @GFDATE_26022
if 
  TIMERA >= 30000
goto_if_false @GFDATE_26008
$iSetSTRIPPanic += 0.5

:GFDATE_26008
gosub @GFDATE_26512
goto @GFDATE_26029

:GFDATE_26022
gosub @GFDATE_26632

:GFDATE_26029
goto @GFDATE_26510

:GFDATE_26036
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 19
goto_if_false @GFDATE_26101
if 
  TIMERA >= 30000
goto_if_false @GFDATE_26087
$iSetSTRIPPanic += 0.5

:GFDATE_26087
gosub @GFDATE_26512
goto @GFDATE_26108

:GFDATE_26101
gosub @GFDATE_26632

:GFDATE_26108
goto @GFDATE_26510

:GFDATE_26115
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 19
goto_if_false @GFDATE_26180
if 
  TIMERA >= 30000
goto_if_false @GFDATE_26166
$iSetSTRIPPanic += 0.5

:GFDATE_26166
gosub @GFDATE_26512
goto @GFDATE_26187

:GFDATE_26180
gosub @GFDATE_26632

:GFDATE_26187
goto @GFDATE_26510

:GFDATE_26194
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 19
goto_if_false @GFDATE_26259
if 
  TIMERA >= 30000
goto_if_false @GFDATE_26245
$iSetSTRIPPanic += 0.5

:GFDATE_26245
gosub @GFDATE_26512
goto @GFDATE_26266

:GFDATE_26259
gosub @GFDATE_26632

:GFDATE_26266
goto @GFDATE_26510

:GFDATE_26273
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 20
goto_if_false @GFDATE_26338
if 
  TIMERA >= 30000
goto_if_false @GFDATE_26324
$iSetSTRIPPanic += 0.5

:GFDATE_26324
gosub @GFDATE_26512
goto @GFDATE_26345

:GFDATE_26338
gosub @GFDATE_26632

:GFDATE_26345
goto @GFDATE_26510

:GFDATE_26352
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 20
goto_if_false @GFDATE_26417
if 
  TIMERA >= 30000
goto_if_false @GFDATE_26403
$iSetSTRIPPanic += 0.5

:GFDATE_26403
gosub @GFDATE_26512
goto @GFDATE_26424

:GFDATE_26417
gosub @GFDATE_26632

:GFDATE_26424
goto @GFDATE_26510

:GFDATE_26431
if 
  is_global_var_bit_set_const $381($iCaller,6i) {n} 16
goto_if_false @GFDATE_26496
if 
  TIMERA >= 30000
goto_if_false @GFDATE_26482
$iSetSTRIPPanic += 0.5

:GFDATE_26482
gosub @GFDATE_26512
goto @GFDATE_26503

:GFDATE_26496
gosub @GFDATE_26632

:GFDATE_26503
goto @GFDATE_26510

:GFDATE_26510
return 

:GFDATE_26512
26@ = Zone.GetCurrentPopulationZoneType()
if 
  not is_int_lvar_equal_to_int_lvar 26@ == 31@
goto_if_false @GFDATE_26630
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_26595
if 
  $iBouncerAction > 0
goto_if_false @GFDATE_26588
set_var_int_to_constant $iGF_TT_driver = 307
set_lvar_int_to_lvar_int 31@ = 26@

:GFDATE_26588
goto @GFDATE_26630

:GFDATE_26595
if 
  TIMERA >= 30000
goto_if_false @GFDATE_26630
set_var_int_to_constant $iGF_TT_driver = 307
set_lvar_int_to_lvar_int 31@ = 26@

:GFDATE_26630
return 

:GFDATE_26632
26@ = Zone.GetCurrentPopulationZoneType()
if 
  not is_int_lvar_equal_to_int_lvar 26@ == 31@
goto_if_false @GFDATE_26750
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_26715
if 
  $iBouncerAction > 0
goto_if_false @GFDATE_26708
set_var_int_to_constant $iGF_TT_driver = 306
set_lvar_int_to_lvar_int 31@ = 26@

:GFDATE_26708
goto @GFDATE_26750

:GFDATE_26715
if 
  TIMERA >= 30000
goto_if_false @GFDATE_26750
set_var_int_to_constant $iGF_TT_driver = 306
set_lvar_int_to_lvar_int 31@ = 26@

:GFDATE_26750
return 

:GFDATE_26752
if 
  Char.IsInAnyCar(0@)
goto_if_false @GFDATE_26817
28@ = Char.StoreCarIsInNoSave(0@)
25@ = Car.GetHealth(28@)
if 
  29@ == -1
goto_if_false @GFDATE_26810
set_lvar_int_to_lvar_int 29@ = 25@

:GFDATE_26810
goto @GFDATE_26831

:GFDATE_26817
28@ = -1
29@ = -1

:GFDATE_26831
return 
switch_start $iCaller {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFDATE_27208 {caseNum1} 0 {caseLabel1} @GFDATE_26896 {caseNum2} 1 {caseLabel2} @GFDATE_26948 {caseNum3} 2 {caseLabel3} @GFDATE_27000 {caseNum4} 3 {caseLabel4} @GFDATE_27052 {caseNum5} 4 {caseLabel5} @GFDATE_27104 {caseNum6} 5 {caseLabel6} @GFDATE_27156 {caseNum7} -1 {caseLabel7} @GFDATE_27208

:GFDATE_26896
if 
  $363($iCaller,6i) > 100
goto_if_false @GFDATE_26929
$363($iCaller,6i) = 100

:GFDATE_26929
Stat.SetInt(StatId.GirlfriendDenise, $363($iCaller,6i))
goto @GFDATE_27208

:GFDATE_26948
if 
  $363($iCaller,6i) > 100
goto_if_false @GFDATE_26981
$363($iCaller,6i) = 100

:GFDATE_26981
Stat.SetInt(StatId.GirlfriendMichelle, $363($iCaller,6i))
goto @GFDATE_27208

:GFDATE_27000
if 
  $363($iCaller,6i) > 100
goto_if_false @GFDATE_27033
$363($iCaller,6i) = 100

:GFDATE_27033
Stat.SetInt(StatId.GirlfriendHelena, $363($iCaller,6i))
goto @GFDATE_27208

:GFDATE_27052
if 
  $363($iCaller,6i) > 100
goto_if_false @GFDATE_27085
$363($iCaller,6i) = 100

:GFDATE_27085
Stat.SetInt(StatId.GirlfriendBarbara, $363($iCaller,6i))
goto @GFDATE_27208

:GFDATE_27104
if 
  $363($iCaller,6i) > 100
goto_if_false @GFDATE_27137
$363($iCaller,6i) = 100

:GFDATE_27137
Stat.SetInt(StatId.GirlfriendKatie, $363($iCaller,6i))
goto @GFDATE_27208

:GFDATE_27156
if 
  $363($iCaller,6i) > 100
goto_if_false @GFDATE_27189
$363($iCaller,6i) = 100

:GFDATE_27189
Stat.SetInt(StatId.GirlfriendMillie, $363($iCaller,6i))
goto @GFDATE_27208

:GFDATE_27208
return 

:GFDATE_27210
switch_start $iGF_TT_CarModel {numCases} 16 {hasDefaultCase} 0 {defaultLabel} @GFDATE_30453 {caseNum1} -1 {caseLabel1} @GFDATE_27338 {caseNum2} 0 {caseLabel2} @GFDATE_27352 {caseNum3} 1 {caseLabel3} @GFDATE_27613 {caseNum4} 2 {caseLabel4} @GFDATE_27665 {caseNum5} 3 {caseLabel5} @GFDATE_27924 {caseNum6} 4 {caseLabel6} @GFDATE_28078 {caseNum7} 5 {caseLabel7} @GFDATE_28238
switch_continued 6 {caseLabel1} @GFDATE_28294 {caseNum2} 7 {caseLabel2} @GFDATE_28494 {caseNum3} 8 {caseLabel3} @GFDATE_28727 {caseNum4} 9 {caseLabel4} @GFDATE_28831 {caseNum5} 10 {caseLabel5} @GFDATE_29048 {caseNum6} 11 {caseLabel6} @GFDATE_29445 {caseNum7} 12 {caseLabel7} @GFDATE_29716 {caseNum8} 13 {caseLabel8} @GFDATE_29969 {caseNum9} 99 {caseLabel9} @GFDATE_30105

:GFDATE_27338
clear_global_var_bit_const $iGFBonusPickupID {n} 22
goto @GFDATE_30453

:GFDATE_27352
$1243 = Math.RandomIntInRange(0, 6)
if and
  6 > $1243
  is_global_var_bit_set_var $spray_help {var_n} $1243
  not is_int_var_equal_to_int_var $1243 == $iCaller
goto_if_false @GFDATE_27606
if 
  $1243 == 0
goto_if_false @GFDATE_27429
set_var_int_to_constant $1243 = 195
set_var_int_to_constant $1244 = 545

:GFDATE_27429
if 
  $1243 == 1
goto_if_false @GFDATE_27463
set_var_int_to_constant $1243 = 192
set_var_int_to_constant $1244 = 557

:GFDATE_27463
if 
  $1243 == 3
goto_if_false @GFDATE_27497
set_var_int_to_constant $1243 = 190
set_var_int_to_constant $1244 = 599

:GFDATE_27497
if 
  $1243 == 2
goto_if_false @GFDATE_27531
set_var_int_to_constant $1243 = 191
set_var_int_to_constant $1244 = 568

:GFDATE_27531
if 
  $1243 == 4
goto_if_false @GFDATE_27565
set_var_int_to_constant $1243 = 193
set_var_int_to_constant $1244 = 442

:GFDATE_27565
if 
  $1243 == 5
goto_if_false @GFDATE_27599
set_var_int_to_constant $1243 = 194
set_var_int_to_constant $1244 = 533

:GFDATE_27599
$iGF_TT_CarModel = 1

:GFDATE_27606
goto @GFDATE_30453

:GFDATE_27613
if and
  Streaming.HasModelLoaded($1244)
  Streaming.HasModelLoaded($1243)
goto_if_false @GFDATE_27648
$iGF_TT_CarModel = 2
goto @GFDATE_27658

:GFDATE_27648
Streaming.RequestModel($1244)
Streaming.RequestModel($1243)

:GFDATE_27658
goto @GFDATE_30453

:GFDATE_27665
4@, 7@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 25.0, 0.0)
if 
5@, 8@, 11@, 13@ = Path.GetClosestCarNodeWithHeading(4@, 7@, 10@)
goto_if_false @GFDATE_27910
World.ClearArea(5@, 8@, 11@, 5.0, True)
$iGFdoor = Car.Create($1244, 5@, 8@, 11@)
StuckCarCheck.AddWithWarp($iGFdoor, 1.0, 1000, True, True, True, -1)
if 
  is_int_var_equal_to_constant $1244 == 545
goto_if_false @GFDATE_27812
Car.ChangeColor($iGFdoor, 83, 1)

:GFDATE_27812
if 
  is_int_var_equal_to_constant $1244 == 442
goto_if_false @GFDATE_27840
Car.ChangeColor($iGFdoor, 1, 1)

:GFDATE_27840
if 
  is_int_var_equal_to_constant $1244 == 533
goto_if_false @GFDATE_27868
Car.ChangeColor($iGFdoor, 126, 1)

:GFDATE_27868
$iGF_TT_Blip = Char.CreateInsideCar($iGFdoor, PedType.CivFemale, $1243)
Char.SetCantBeDraggedOut($iGF_TT_Blip, True)
Car.SetHeading($iGFdoor, 13@)
$iGF_TT_CarModel = 3
goto @GFDATE_27917

:GFDATE_27910
$iGF_TT_CarModel = 99

:GFDATE_27917
goto @GFDATE_30453

:GFDATE_27924
Text.ClearPrints
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
if and
  not Car.IsDead($iGFdoor)
  not Char.IsDead($iGF_TT_Blip)
goto_if_false @GFDATE_28064
Camera.AttachToVehicleLookAtChar($iGFdoor, -1.5, 1.5, 1.5, $iGF_TT_Blip, 6.0, SwitchType.JumpCut)
Task.PlayAnimNonInterruptable($iGF_TT_Blip, "GF_CARSPOT", "KISSING", 4.0, True, False, False, False, 5000)
Text.PrintHelp('GF_H014')
$iGF_TT_CarModel = 4
goto @GFDATE_28071

:GFDATE_28064
$iGF_TT_CarModel = 99

:GFDATE_28071
goto @GFDATE_30453

:GFDATE_28078
if and
  not Char.IsDead($iGF_TT_Blip)
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_28224
26@ = Char.GetScriptTaskStatus($iGF_TT_Blip, 2066)
if 
  is_int_lvar_equal_to_constant 26@ == 7
goto_if_false @GFDATE_28217
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_28180
if and
  Car.IsPassengerSeatFree(28@, SeatIndex.FrontRight)
  Char.IsInCar($stattreadstamina_ctr, 28@)
goto_if_false @GFDATE_28180
Task.WarpCharIntoCarAsPassenger(0@, 28@, 0)

:GFDATE_28180
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
$1245 = Blip.AddForCar($iGFdoor)
$iGF_TT_CarModel = 5

:GFDATE_28217
goto @GFDATE_28231

:GFDATE_28224
$iGF_TT_CarModel = 99

:GFDATE_28231
goto @GFDATE_30453

:GFDATE_28238
if and
  not Char.IsDead($iGF_TT_Blip)
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_28280
Car.SetMission($iGFdoor, CarMission.RamPlayerClose)
$iGF_TT_CarModel = 6
goto @GFDATE_28287

:GFDATE_28280
$iGF_TT_CarModel = 99

:GFDATE_28287
goto @GFDATE_30453

:GFDATE_28294
if and
  not Char.IsDead($iGF_TT_Blip)
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_28480
4@, 7@, 10@ = Char.GetCoordinates($stattreadstamina_ctr)
5@, 8@, 11@ = Car.GetCoordinates($iGFdoor)
13@ = Math.GetDistanceBetweenCoords3D(4@, 7@, 10@, 5@, 8@, 11@)
if 
  6.0 >= 13@
goto_if_false @GFDATE_28429
Car.SetMission($iGFdoor, CarMission.None)
Car.FreezePosition($iGFdoor, True)
Player.SetControl($statbike_temp, False)
Camera.DoFade(500, Fade.Out)
$iGF_TT_CarModel = 8
goto @GFDATE_28473

:GFDATE_28429
if 
  13@ > 200.0
goto_if_false @GFDATE_28473
set_lvar_int_to_lvar_int 26@ = TIMERA
26@ += 20000
$iGF_TT_CarModel = 7

:GFDATE_28473
goto @GFDATE_28487

:GFDATE_28480
$iGF_TT_CarModel = 99

:GFDATE_28487
goto @GFDATE_30453

:GFDATE_28494
if and
  not Char.IsDead($iGF_TT_Blip)
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_28713
4@, 7@, 10@ = Char.GetCoordinates($stattreadstamina_ctr)
5@, 8@, 11@ = Car.GetCoordinates($iGFdoor)
13@ = Math.GetDistanceBetweenCoords3D(4@, 7@, 10@, 5@, 8@, 11@)
if 
  13@ > 180.0
goto_if_false @GFDATE_28699
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 26@
goto_if_false @GFDATE_28692
if 
  Blip.DoesExist($1245)
goto_if_false @GFDATE_28627
Blip.Remove($1245)

:GFDATE_28627
Char.Delete($iGF_TT_Blip)
if 
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_28674
if 
  Car.DoesHaveStuckCarCheck($iGFdoor)
goto_if_false @GFDATE_28669
StuckCarCheck.Remove($iGFdoor)

:GFDATE_28669
Car.Delete($iGFdoor)

:GFDATE_28674
Text.PrintHelp('GF_H016')
$iGF_TT_CarModel = 12

:GFDATE_28692
goto @GFDATE_28706

:GFDATE_28699
$iGF_TT_CarModel = 6

:GFDATE_28706
goto @GFDATE_28720

:GFDATE_28713
$iGF_TT_CarModel = 99

:GFDATE_28720
goto @GFDATE_30453

:GFDATE_28727
if and
  not Char.IsDead($iGF_TT_Blip)
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_28817
if 
  not Camera.GetFadingStatus
goto_if_false @GFDATE_28810
Text.ClearPrints
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
Camera.SetInFrontOfPlayer
Camera.DoFade(500, Fade.In)
TIMERB = 0
$iGF_TT_CarModel = 9

:GFDATE_28810
goto @GFDATE_28824

:GFDATE_28817
$iGF_TT_CarModel = 99

:GFDATE_28824
goto @GFDATE_30453

:GFDATE_28831
if and
  not Char.IsDead($iGF_TT_Blip)
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_29034
if 
  not Camera.GetFadingStatus
goto_if_false @GFDATE_29027
4@, 7@, 10@ = Camera.GetActiveCoordinates()
5@, 8@, 11@ = Char.GetCoordinates($iGF_TT_Blip)
Camera.SetFixedPosition(4@, 7@, 10@, 0.0, 0.0, 1.0)
Camera.PointAtPoint(5@, 8@, 11@, SwitchType.Interpolation)
Char.SetProofs($iGF_TT_Blip, True, True, True, True, True)
Car.SetProofs($iGFdoor, True, True, True, True, True)
Task.PlayAnimNonInterruptable($iGF_TT_Blip, "GF_CARARGUE_01", "KISSING", 4.0, True, False, False, False, 5000)
$iGF_TT_Status = 7
set_var_int_to_constant $iGF_TT_driver = 288
$iGF_TT_CarModel = 10

:GFDATE_29027
goto @GFDATE_29041

:GFDATE_29034
$iGF_TT_CarModel = 99

:GFDATE_29041
goto @GFDATE_30453

:GFDATE_29048
if and
  not Char.IsDead($iGF_TT_Blip)
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_29431
26@ = Char.GetScriptTaskStatus($iGF_TT_Blip, 2066)
if 
  is_int_lvar_equal_to_constant 26@ == 7
goto_if_false @GFDATE_29424
if 
  Char.IsInAnyCar(0@)
goto_if_false @GFDATE_29224
5@, 8@, 11@ = Char.GetCoordinates(0@)
Camera.PointAtPoint(5@, 8@, 11@, SwitchType.Interpolation)
Char.SetProofs(0@, True, True, True, True, True)
Task.PlayAnimNonInterruptable(0@, "GF_CARARGUE_02", "KISSING", 4.0, True, False, False, False, 5000)
set_var_int_to_constant $iGF_TT_driver = 289
$iGF_TT_CarModel = 11
goto @GFDATE_29424

:GFDATE_29224
4@, 7@, 10@ = Char.GetCoordinates(0@)
5@, 8@, 11@ = Char.GetCoordinates($stattreadstamina_ctr)
13@ = Math.GetDistanceBetweenCoords3D(4@, 7@, 10@, 5@, 8@, 11@)
if or
  5.0 > 13@
  TIMERB > 6000
goto_if_false @GFDATE_29417
5@, 8@, 11@ = Char.GetCoordinates(0@)
Camera.PointAtPoint(5@, 8@, 11@, SwitchType.Interpolation)
Char.SetProofs(0@, True, True, True, True, True)
Task.PlayAnimNonInterruptable(0@, "GF_STREETARGUE_02", "KISSING", 4.0, True, False, False, False, 5000)
set_var_int_to_constant $iGF_TT_driver = 289
$iGF_TT_CarModel = 11
goto @GFDATE_29424

:GFDATE_29417
goto @GFDATE_30453

:GFDATE_29424
goto @GFDATE_29438

:GFDATE_29431
$iGF_TT_CarModel = 99

:GFDATE_29438
goto @GFDATE_30453

:GFDATE_29445
if and
  not Char.IsDead($iGF_TT_Blip)
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_29702
26@ = Char.GetScriptTaskStatus(0@, 2066)
if 
  is_int_lvar_equal_to_constant 26@ == 7
goto_if_false @GFDATE_29695
26@ = Char.GetScriptTaskStatus($iGF_TT_Blip, 1490)
if 
  is_int_lvar_equal_to_constant 26@ == 7
goto_if_false @GFDATE_29546
Car.FreezePosition($iGFdoor, False)
Task.CarDriveWander($iGF_TT_Blip, $iGFdoor, 30.0, DrivingMode.PloughThrough)

:GFDATE_29546
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_29681
if 
  Char.IsInCar(0@, 28@)
goto_if_false @GFDATE_29625
26@ = Char.GetScriptTaskStatus(0@, 1485)
if 
  is_int_lvar_equal_to_constant 26@ == 7
goto_if_false @GFDATE_29618
Task.LeaveCar(0@, 28@)

:GFDATE_29618
goto @GFDATE_29681

:GFDATE_29625
26@ = Char.GetScriptTaskStatus(0@, 1873)
if 
  is_int_lvar_equal_to_constant 26@ == 7
goto_if_false @GFDATE_29681
Task.FleeCharAnyMeans(0@, $stattreadstamina_ctr, 100.0, 5000, False, 0, 0, 30.0)

:GFDATE_29681
TIMERB = 0
$iGF_TT_CarModel = 12

:GFDATE_29695
goto @GFDATE_29709

:GFDATE_29702
$iGF_TT_CarModel = 99

:GFDATE_29709
goto @GFDATE_30453

:GFDATE_29716
if and
  not Char.IsDead($iGF_TT_Blip)
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_29955
if 
  TIMERB > 5000
goto_if_false @GFDATE_29948
Camera.DoFade(1000, Fade.Out)
$363($iCaller,6i) -= 4
if 
  is_int_var_equal_to_constant $1243 == 195
goto_if_false @GFDATE_29800
26@ = 0

:GFDATE_29800
if 
  is_int_var_equal_to_constant $1243 == 192
goto_if_false @GFDATE_29826
26@ = 1

:GFDATE_29826
if 
  is_int_var_equal_to_constant $1243 == 190
goto_if_false @GFDATE_29852
26@ = 3

:GFDATE_29852
if 
  is_int_var_equal_to_constant $1243 == 191
goto_if_false @GFDATE_29878
26@ = 2

:GFDATE_29878
if 
  is_int_var_equal_to_constant $1243 == 193
goto_if_false @GFDATE_29904
26@ = 4

:GFDATE_29904
if 
  is_int_var_equal_to_constant $1243 == 194
goto_if_false @GFDATE_29930
26@ = 5

:GFDATE_29930
$363(26@,6i) -= 4
$iGF_TT_CarModel = 13

:GFDATE_29948
goto @GFDATE_29962

:GFDATE_29955
$iGF_TT_CarModel = 99

:GFDATE_29962
goto @GFDATE_30453

:GFDATE_29969
if 
  not Camera.GetFadingStatus
goto_if_false @GFDATE_30098
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
set_local_var_bit_const 3@ {n} 7
Char.Delete($iGF_TT_Blip)
if 
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_30058
if 
  Car.DoesHaveStuckCarCheck($iGFdoor)
goto_if_false @GFDATE_30053
StuckCarCheck.Remove($iGFdoor)

:GFDATE_30053
Car.Delete($iGFdoor)

:GFDATE_30058
Char.SetProofs(0@, False, False, False, False, False)
Camera.DoFade(1500, Fade.In)
Text.PrintHelp('GF_H015')
gosub @GFDATE_32517

:GFDATE_30098
goto @GFDATE_30453

:GFDATE_30105
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
if 
  not Char.IsDead(0@)
goto_if_false @GFDATE_30151
Char.SetProofs(0@, False, False, False, False, False)

:GFDATE_30151
if 
  not Char.IsDead($iGF_TT_Blip)
goto_if_false @GFDATE_30182
Char.SetProofs($iGF_TT_Blip, False, False, False, False, False)

:GFDATE_30182
if 
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_30219
if 
  Car.DoesHaveStuckCarCheck($iGFdoor)
goto_if_false @GFDATE_30219
StuckCarCheck.Remove($iGFdoor)

:GFDATE_30219
if 
  Blip.DoesExist($1245)
goto_if_false @GFDATE_30240
Blip.Remove($1245)

:GFDATE_30240
if and
  Char.IsDead($iGF_TT_Blip)
  Char.HasBeenDamagedByChar($iGF_TT_Blip, $stattreadstamina_ctr)
goto_if_false @GFDATE_30432
if 
  is_int_var_equal_to_constant $1243 == 195
goto_if_false @GFDATE_30290
26@ = 0

:GFDATE_30290
if 
  is_int_var_equal_to_constant $1243 == 192
goto_if_false @GFDATE_30316
26@ = 1

:GFDATE_30316
if 
  is_int_var_equal_to_constant $1243 == 190
goto_if_false @GFDATE_30342
26@ = 3

:GFDATE_30342
if 
  is_int_var_equal_to_constant $1243 == 191
goto_if_false @GFDATE_30368
26@ = 2

:GFDATE_30368
if 
  is_int_var_equal_to_constant $1243 == 193
goto_if_false @GFDATE_30394
26@ = 4

:GFDATE_30394
if 
  is_int_var_equal_to_constant $1243 == 194
goto_if_false @GFDATE_30420
26@ = 5

:GFDATE_30420
$363(26@,6i) = -999

:GFDATE_30432
clear_global_var_bit_const $iGFBonusPickupID {n} 22
$iGF_TT_CarModel = -1
goto @GFDATE_30453

:GFDATE_30453
return 

:GFDATE_30455
switch_start $iGF_TT_Status {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @GFDATE_31285 {caseNum1} 0 {caseLabel1} @GFDATE_30583 {caseNum2} 1 {caseLabel2} @GFDATE_30654 {caseNum3} 2 {caseLabel3} @GFDATE_30666 {caseNum4} 3 {caseLabel4} @GFDATE_30680 {caseNum5} 4 {caseLabel5} @GFDATE_30949 {caseNum6} 5 {caseLabel6} @GFDATE_31049 {caseNum7} 6 {caseLabel7} @GFDATE_30858
switch_continued 7 {caseLabel1} @GFDATE_31091 {caseNum2} -1 {caseLabel2} @GFDATE_31285 {caseNum3} -1 {caseLabel3} @GFDATE_31285 {caseNum4} -1 {caseLabel4} @GFDATE_31285 {caseNum5} -1 {caseLabel5} @GFDATE_31285 {caseNum6} -1 {caseLabel6} @GFDATE_31285 {caseNum7} -1 {caseLabel7} @GFDATE_31285 {caseNum8} -1 {caseLabel8} @GFDATE_31285 {caseNum9} -1 {caseLabel9} @GFDATE_31285

:GFDATE_30583
if 
  $iGF_TT_driver > 0
goto_if_false @GFDATE_30615
$iGF_TT_Status = 3
goto @GFDATE_30647

:GFDATE_30615
if and
  $iGF_TT_driver == -2
  $iGF_TT_Car > 0
goto_if_false @GFDATE_30647
$iGF_TT_Status = 3

:GFDATE_30647
goto @GFDATE_31285

:GFDATE_30654
Char.EnableSpeech(0@)
goto @GFDATE_31285

:GFDATE_30666
Char.DisableSpeech(0@, False)
goto @GFDATE_31285

:GFDATE_30680
if 
  not Char.IsTalking(0@)
goto_if_false @GFDATE_30851
if 
  $iGF_TT_driver > 0
goto_if_false @GFDATE_30791
$iGF_TT_PedModel = Char.SetSayContextImportant(0@, $iGF_TT_driver, False, True, False)
gosub @GFDATE_31287
$iGF_TT_driver = -1
if 
  $iGF_TT_Car > 0
goto_if_false @GFDATE_30777
$iGF_TT_Status = 6
goto @GFDATE_30784

:GFDATE_30777
$iGF_TT_Status = 0

:GFDATE_30784
goto @GFDATE_30851

:GFDATE_30791
if 
  $iGF_TT_driver == -2
goto_if_false @GFDATE_30830
$iGF_TT_driver = -1
$iGF_TT_Status = 6
goto @GFDATE_30851

:GFDATE_30830
$iGF_TT_driver = -1
$iGF_TT_Car = -1
$iGF_TT_Status = 0

:GFDATE_30851
goto @GFDATE_31285

:GFDATE_30858
if and
  not Char.IsTalking($stattreadstamina_ctr)
  not Char.IsTalking(0@)
goto_if_false @GFDATE_30942
if 
  $iGF_TT_Car > 0
goto_if_false @GFDATE_30935
$iGF_TT_PedModel = Char.SetSayContextImportant($stattreadstamina_ctr, $iGF_TT_Car, False, True, False)
$iGF_TT_Car = -1
$iGF_TT_Status = 0
goto @GFDATE_30942

:GFDATE_30935
$iGF_TT_Status = 0

:GFDATE_30942
goto @GFDATE_31285

:GFDATE_30949
Char.DisableSpeech(0@, False)
if 
  not Char.IsTalking(0@)
goto_if_false @GFDATE_31042
if 
  $iGF_TT_driver > 0
goto_if_false @GFDATE_31035
$iGF_TT_PedModel = Char.SetSayContextImportant(0@, $iGF_TT_driver, False, True, False)
gosub @GFDATE_31287
$iGF_TT_driver = -1
$iGF_TT_Status = 5
goto @GFDATE_31042

:GFDATE_31035
$iGF_TT_Status = 0

:GFDATE_31042
goto @GFDATE_31285

:GFDATE_31049
if 
  not Char.IsTalking(0@)
goto_if_false @GFDATE_31084
Char.EnableSpeech(0@)
$iGF_TT_driver = -1
$iGF_TT_Status = 0

:GFDATE_31084
goto @GFDATE_31285

:GFDATE_31091
if 
  not Char.IsDead($iGF_TT_Blip)
goto_if_false @GFDATE_31278
if 
  not Char.IsTalking($iGF_TT_Blip)
goto_if_false @GFDATE_31278
if 
  $iGF_TT_driver > 0
goto_if_false @GFDATE_31218
$iGF_TT_PedModel = Char.SetSayContextImportant($iGF_TT_Blip, $iGF_TT_driver, False, True, False)
gosub @GFDATE_31287
$iGF_TT_driver = -1
if 
  $iGF_TT_Car > 0
goto_if_false @GFDATE_31204
$iGF_TT_Status = 6
goto @GFDATE_31211

:GFDATE_31204
$iGF_TT_Status = 0

:GFDATE_31211
goto @GFDATE_31278

:GFDATE_31218
if 
  $iGF_TT_driver == -2
goto_if_false @GFDATE_31257
$iGF_TT_driver = -1
$iGF_TT_Status = 6
goto @GFDATE_31278

:GFDATE_31257
$iGF_TT_driver = -1
$iGF_TT_Car = -1
$iGF_TT_Status = 0

:GFDATE_31278
goto @GFDATE_31285

:GFDATE_31285
return 

:GFDATE_31287
switch_start $iGF_TT_driver {numCases} 29 {hasDefaultCase} 0 {defaultLabel} @GFDATE_32405 {caseNum1} 32 {caseLabel1} @GFDATE_32359 {caseNum2} 39 {caseLabel2} @GFDATE_32382 {caseNum3} 262 {caseLabel3} @GFDATE_31572 {caseNum4} 264 {caseLabel4} @GFDATE_31579 {caseNum5} 266 {caseLabel5} @GFDATE_31586 {caseNum6} 267 {caseLabel6} @GFDATE_31639 {caseNum7} 268 {caseLabel7} @GFDATE_31616
switch_continued 269 {caseLabel1} @GFDATE_31685 {caseNum2} 270 {caseLabel2} @GFDATE_31831 {caseNum3} 275 {caseLabel3} @GFDATE_31877 {caseNum4} 276 {caseLabel4} @GFDATE_31900 {caseNum5} 277 {caseLabel5} @GFDATE_32244 {caseNum6} 278 {caseLabel6} @GFDATE_31662 {caseNum7} 279 {caseLabel7} @GFDATE_32198 {caseNum8} 280 {caseLabel8} @GFDATE_32122 {caseNum9} 287 {caseLabel9} @GFDATE_32145
switch_continued 291 {caseLabel1} @GFDATE_32099 {caseNum2} 293 {caseLabel2} @GFDATE_31854 {caseNum3} 294 {caseLabel3} @GFDATE_32168 {caseNum4} 297 {caseLabel4} @GFDATE_32313 {caseNum5} 301 {caseLabel5} @GFDATE_32175 {caseNum6} 304 {caseLabel6} @GFDATE_31593 {caseNum7} 305 {caseLabel7} @GFDATE_32221 {caseNum8} 306 {caseLabel8} @GFDATE_32290 {caseNum9} 307 {caseLabel9} @GFDATE_32267
switch_continued 308 {caseLabel1} @GFDATE_32336 {caseNum2} 309 {caseLabel2} @GFDATE_31923 {caseNum3} 311 {caseLabel3} @GFDATE_32076 {caseNum4} 312 {caseLabel4} @GFDATE_31946 {caseNum5} -1 {caseLabel5} @GFDATE_32405 {caseNum6} -1 {caseLabel6} @GFDATE_32405 {caseNum7} -1 {caseLabel7} @GFDATE_32405 {caseNum8} -1 {caseLabel8} @GFDATE_32405 {caseNum9} -1 {caseLabel9} @GFDATE_32405

:GFDATE_31572
goto @GFDATE_32405

:GFDATE_31579
goto @GFDATE_32405

:GFDATE_31586
goto @GFDATE_32405

:GFDATE_31593
Text.PrintNow('GF_0045', 5000, 1)
goto @GFDATE_32405

:GFDATE_31616
Text.PrintNow('GF_0061', 5000, 1)
goto @GFDATE_32405

:GFDATE_31639
Text.PrintNow('GF_0044', 5000, 1)
goto @GFDATE_32405

:GFDATE_31662
Text.PrintNow('GF_0022', 5000, 1)
goto @GFDATE_32405

:GFDATE_31685
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 11
goto_if_false @GFDATE_31726
Text.PrintNow('GF_0077', 5000, 1)
goto @GFDATE_31824

:GFDATE_31726
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_31767
Text.PrintNow('GF_0078', 5000, 1)
goto @GFDATE_31824

:GFDATE_31767
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 13
goto_if_false @GFDATE_31808
Text.PrintNow('GF_0079', 5000, 1)
goto @GFDATE_31824

:GFDATE_31808
Text.PrintNow('GF_0031', 5000, 1)

:GFDATE_31824
goto @GFDATE_32405

:GFDATE_31831
Text.PrintNow('GF_0031', 5000, 1)
goto @GFDATE_32405

:GFDATE_31854
Text.PrintNow('GF_0004', 3000, 1)
goto @GFDATE_32405

:GFDATE_31877
Text.PrintNow('GF_0007', 5000, 1)
goto @GFDATE_32405

:GFDATE_31900
Text.PrintNow('GF_0066', 5000, 1)
goto @GFDATE_32405

:GFDATE_31923
Text.PrintNow('GF_0011', 5000, 1)
goto @GFDATE_32405

:GFDATE_31946
if 
  is_local_var_bit_set_const 3@ {n} 20
goto_if_false @GFDATE_31987
Text.PrintNow('GF_0074', 5000, 1)
goto @GFDATE_32405

:GFDATE_31987
if 
  is_local_var_bit_set_const 3@ {n} 21
goto_if_false @GFDATE_32028
Text.PrintNow('GF_0053', 5000, 1)
goto @GFDATE_32405

:GFDATE_32028
if 
  is_local_var_bit_set_const 3@ {n} 22
goto_if_false @GFDATE_32069
Text.PrintNow('GF_0075', 5000, 1)
goto @GFDATE_32405

:GFDATE_32069
goto @GFDATE_32405

:GFDATE_32076
Text.PrintNow('GF_0052', 5000, 1)
goto @GFDATE_32405

:GFDATE_32099
Text.PrintNow('GF_0034', 5000, 1)
goto @GFDATE_32405

:GFDATE_32122
Text.PrintNow('GF_0014', 5000, 1)
goto @GFDATE_32405

:GFDATE_32145
Text.PrintNow('GF_0033', 5000, 1)
goto @GFDATE_32405

:GFDATE_32168
goto @GFDATE_32405

:GFDATE_32175
Text.PrintNow('GF_0024', 5000, 1)
goto @GFDATE_32405

:GFDATE_32198
Text.PrintNow('GF_0032', 5000, 1)
goto @GFDATE_32405

:GFDATE_32221
Text.PrintNow('GF_0047', 5000, 1)
goto @GFDATE_32405

:GFDATE_32244
Text.PrintNow('GF_0054', 5000, 1)
goto @GFDATE_32405

:GFDATE_32267
Text.PrintNow('GF_0050', 5000, 1)
goto @GFDATE_32405

:GFDATE_32290
Text.PrintNow('GF_0051', 5000, 1)
goto @GFDATE_32405

:GFDATE_32313
Text.PrintNow('GF_0070', 5000, 1)
goto @GFDATE_32405

:GFDATE_32336
Text.PrintNow('GF_0072', 5000, 1)
goto @GFDATE_32405

:GFDATE_32359
Text.PrintNow('GF_0073', 2500, 1)
goto @GFDATE_32405

:GFDATE_32382
Text.PrintNow('GF_0076', 2500, 1)
goto @GFDATE_32405

:GFDATE_32405
return 

:GFDATE_32407
26@ = 0

:GFDATE_32414
if 
  Blip.DoesExist(15@(26@,9i))
goto_if_false @GFDATE_32443
Blip.Remove(15@(26@,9i))

:GFDATE_32443
26@ += 1
  26@ >= 9
goto_if_false @GFDATE_32414
if 
  Blip.DoesExist($1245)
goto_if_false @GFDATE_32485
Blip.Remove($1245)

:GFDATE_32485
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 12
goto_if_false @GFDATE_32508
Hud.ClearCounter($iBouncerAction)

:GFDATE_32508
clear_local_var_bit_const 3@ {n} 11
return 

:GFDATE_32517
gosub @GFDATE_32407
gosub @GFDATE_19075
Text.ClearPrints
if 
  not Char.IsDead(0@)
goto_if_false @GFDATE_32573
if 
  Char.IsGroupMember(0@, $flag_cell_nation)
goto_if_false @GFDATE_32573
Char.RemoveFromGroup(0@)

:GFDATE_32573
if 
  not Car.IsDead(28@)
goto_if_false @GFDATE_32610
if 
  Car.DoesHaveStuckCarCheck(28@)
goto_if_false @GFDATE_32610
StuckCarCheck.Remove(28@)

:GFDATE_32610
if 
  $iGF_TT_CarModel > 0
goto_if_false @GFDATE_32658
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFDATE_32658
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)

:GFDATE_32658
if 
  not Car.IsDead($iGFdoor)
goto_if_false @GFDATE_32695
if 
  Car.DoesHaveStuckCarCheck($iGFdoor)
goto_if_false @GFDATE_32695
StuckCarCheck.Remove($iGFdoor)

:GFDATE_32695
Streaming.MarkModelAsNoLongerNeeded($1244)
Streaming.MarkModelAsNoLongerNeeded($1243)
Char.MarkAsNoLongerNeeded($iGF_TT_Blip)
Car.MarkAsNoLongerNeeded($iGFdoor)
Streaming.RemoveAnimation("KISSING")
if 
  $1223 == 0
goto_if_false @GFDATE_32756
Streaming.RemoveAnimation("BLOWJOBZ")

:GFDATE_32756
if 
  Char.IsDead(0@)
goto_if_false @GFDATE_32816
clear_global_var_bit_const $iGFBonusPickupID {n} 2
if 
  is_local_var_bit_set_const 3@ {n} 15
goto_if_false @GFDATE_32809
$363($iCaller,6i) = -999

:GFDATE_32809
goto @GFDATE_32889

:GFDATE_32816
if 
  is_local_var_bit_set_const 3@ {n} 15
goto_if_false @GFDATE_32889
clear_global_var_bit_const $iGFBonusPickupID {n} 2
if 
  not Char.IsHealthGreater(0@, 10)
goto_if_false @GFDATE_32878
$363($iCaller,6i) = -999
goto @GFDATE_32889

:GFDATE_32878
$363($iCaller,6i) -= 10

:GFDATE_32889
if 
  is_local_var_bit_set_const 3@ {n} 7
goto_if_false @GFDATE_32914
clear_global_var_bit_const $iGFBonusPickupID {n} 2

:GFDATE_32914
$5301 = 0
$iGFContextVariation = -1
if 
  is_local_var_bit_set_const 3@ {n} 9
goto_if_false @GFDATE_32978
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 14
goto_if_false @GFDATE_32971
set_global_var_bit_const $iGFBonusPickupID {n} 8

:GFDATE_32971
goto @GFDATE_32985

:GFDATE_32978
set_global_var_bit_const $iGFBonusPickupID {n} 21

:GFDATE_32985
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFDATE_33033
Char.SetCantBeDraggedOut($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)
Player.SetGroupToFollowAlways($statbike_temp, False)
Player.SetGroupRecruitment($statbike_temp, True)

:GFDATE_33033
Stat.ShowUpdateStats(True)
clear_global_var_bit_const $iGFBonusPickupID {n} 1
set_global_var_bit_var $GF_left_stick_y {var_n} $iCaller
terminate_this_script 
return 
write_debug_with_int "IGF_TT_STATUS" {_p2} $iGF_TT_CarModel
write_debug_with_int v$iFun {_p2} 24@
write_debug_with_int "ICURRENTCARHEALTH" {_p2} 29@
write_debug_with_float "FTEMP1_SPEED" {_p2} 14@
write_debug_with_float "FUN_TEMP" {_p2} $iSetSTRIPPanic
write_debug_with_int "TIMERB" {_p2} TIMERB
write_debug_with_int "DATE_TIMER" {_p2} TIMERA
write_debug_with_int "SUBSTATESTATUS" {_p2} 2@
switch_start 1@ {numCases} 11 {hasDefaultCase} 1 {defaultLabel} @GFDATE_33651 {caseNum1} 0 {caseLabel1} @GFDATE_33321 {caseNum2} 1 {caseLabel2} @GFDATE_33349 {caseNum3} 2 {caseLabel3} @GFDATE_33380 {caseNum4} 3 {caseLabel4} @GFDATE_33411 {caseNum5} 4 {caseLabel5} @GFDATE_33442 {caseNum6} 5 {caseLabel6} @GFDATE_33472 {caseNum7} 6 {caseLabel7} @GFDATE_33502
switch_continued 7 {caseLabel1} @GFDATE_33533 {caseNum2} 8 {caseLabel2} @GFDATE_33566 {caseNum3} 9 {caseLabel3} @GFDATE_33596 {caseNum4} 10 {caseLabel4} @GFDATE_33626 {caseNum5} -1 {caseLabel5} @GFDATE_33683 {caseNum6} -1 {caseLabel6} @GFDATE_33683 {caseNum7} -1 {caseLabel7} @GFDATE_33683 {caseNum8} -1 {caseLabel8} @GFDATE_33683 {caseNum9} -1 {caseLabel9} @GFDATE_33683

:GFDATE_33321
write_debug "STATE0__DATE_INIT"
goto @GFDATE_33683

:GFDATE_33349
write_debug "STATE1__IDLE_ON_FOOT"
goto @GFDATE_33683

:GFDATE_33380
write_debug "STATE2__REACHED_DEST"
goto @GFDATE_33683

:GFDATE_33411
write_debug "STATE3__REACHED_HOME"
goto @GFDATE_33683

:GFDATE_33442
write_debug "STATE4__IDLE_IN_CAR"
goto @GFDATE_33683

:GFDATE_33472
write_debug "STATE5__DUMP_PLAYER"
goto @GFDATE_33683

:GFDATE_33502
write_debug "STATE6__KISS_ON_FOOT"
goto @GFDATE_33683

:GFDATE_33533
write_debug "STATE7__BLOWJOB_IN_CAR"
goto @GFDATE_33683

:GFDATE_33566
write_debug "STATE8__GIRL_DRIVES"
goto @GFDATE_33683

:GFDATE_33596
write_debug "STATE9__FLEE_PLAYER"
goto @GFDATE_33683

:GFDATE_33626
write_debug "STATE10__DANCE"
goto @GFDATE_33683

:GFDATE_33651
write_debug_with_int "UNTRAPPED_STATE___" {_p2} 1@
goto @GFDATE_33683

:GFDATE_33683
write_debug "I__________________________I"
return 
terminate_this_script 

//-------------External script 26 (GF_SEX)---------------

:GFSEX
script_name 'GFSEX'
Game.SetMinigameInProgress(True)
7@ = 0
8@ = 0
if 
  1@ > 0
goto_if_false @GFSEX_61
$GF_txtConsoleIn = 40
goto @GFSEX_68

:GFSEX_61
$GF_txtConsoleIn = 50

:GFSEX_68
$1222 = 1
9@ = 0
if 
  9@ > 0
goto_if_false @GFSEX_124
24@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:GFSEX_124
gosub @GFSEX_7597
if 
  $1223 == 0
goto_if_false @GFSEX_156
gosub @GFSEX_7990

:GFSEX_156
wait 0
if and
  not Char.IsDead($stattreadstamina_ctr)
  not Char.IsDead(24@)
  $363(0@,6i) <> -999
  $363(0@,6i) <> -100
  $363(0@,6i) <> -99
goto_if_false @GFSEX_243
gosub @GFSEX_257
gosub @GFSEX_514
gosub @GFSEX_12507
goto @GFSEX_250

:GFSEX_243
gosub @GFSEX_13669

:GFSEX_250
goto @GFSEX_156

:GFSEX_257
if 
  not is_local_var_bit_set_const 9@ {n} 1
goto_if_false @GFSEX_512
if 
  $1223 == 1
goto_if_false @GFSEX_316
set_local_var_bit_const 9@ {n} 1
7@ = 9
8@ = 0
return 

:GFSEX_316
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @GFSEX_372
if 
  not is_local_var_bit_set_const 9@ {n} 2
goto_if_false @GFSEX_365
gosub @GFSEX_9153
set_local_var_bit_const 9@ {n} 2

:GFSEX_365
goto @GFSEX_379

:GFSEX_372
clear_local_var_bit_const 9@ {n} 2

:GFSEX_379
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @GFSEX_435
if 
  not is_local_var_bit_set_const 9@ {n} 3
goto_if_false @GFSEX_428
gosub @GFSEX_9931
set_local_var_bit_const 9@ {n} 3

:GFSEX_428
goto @GFSEX_442

:GFSEX_435
clear_local_var_bit_const 9@ {n} 3

:GFSEX_442
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @GFSEX_505
if 
  not is_local_var_bit_set_const 9@ {n} 4
goto_if_false @GFSEX_498
7@ = 2
8@ = 0
set_local_var_bit_const 9@ {n} 4

:GFSEX_498
goto @GFSEX_512

:GFSEX_505
clear_local_var_bit_const 9@ {n} 4

:GFSEX_512
return 

:GFSEX_514
switch_start 7@ {numCases} 10 {hasDefaultCase} 0 {defaultLabel} @GFSEX_782 {caseNum1} 0 {caseLabel1} @GFSEX_642 {caseNum2} 1 {caseLabel2} @GFSEX_656 {caseNum3} 2 {caseLabel3} @GFSEX_670 {caseNum4} 3 {caseLabel4} @GFSEX_684 {caseNum5} 4 {caseLabel5} @GFSEX_698 {caseNum6} 5 {caseLabel6} @GFSEX_712 {caseNum7} 6 {caseLabel7} @GFSEX_726
switch_continued 7 {caseLabel1} @GFSEX_740 {caseNum2} 8 {caseLabel2} @GFSEX_754 {caseNum3} 9 {caseLabel3} @GFSEX_768 {caseNum4} -1 {caseLabel4} @GFSEX_782 {caseNum5} -1 {caseLabel5} @GFSEX_782 {caseNum6} -1 {caseLabel6} @GFSEX_782 {caseNum7} -1 {caseLabel7} @GFSEX_782 {caseNum8} -1 {caseLabel8} @GFSEX_782 {caseNum9} -1 {caseLabel9} @GFSEX_782

:GFSEX_642
gosub @GFSEX_784
goto @GFSEX_782

:GFSEX_656
gosub @GFSEX_958
goto @GFSEX_782

:GFSEX_670
gosub @GFSEX_1707
goto @GFSEX_782

:GFSEX_684
gosub @GFSEX_1988
goto @GFSEX_782

:GFSEX_698
gosub @GFSEX_3093
goto @GFSEX_782

:GFSEX_712
gosub @GFSEX_3522
goto @GFSEX_782

:GFSEX_726
gosub @GFSEX_4083
goto @GFSEX_782

:GFSEX_740
gosub @GFSEX_5310
goto @GFSEX_782

:GFSEX_754
gosub @GFSEX_6051
goto @GFSEX_782

:GFSEX_768
gosub @GFSEX_6653
goto @GFSEX_782

:GFSEX_782
return 

:GFSEX_784
switch_start 8@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @GFSEX_956 {caseNum1} 0 {caseLabel1} @GFSEX_847 {caseNum2} 1 {caseLabel2} @GFSEX_874 {caseNum3} -1 {caseLabel3} @GFSEX_956 {caseNum4} -1 {caseLabel4} @GFSEX_956 {caseNum5} -1 {caseLabel5} @GFSEX_956 {caseNum6} -1 {caseLabel6} @GFSEX_956 {caseNum7} -1 {caseLabel7} @GFSEX_956

:GFSEX_847
set_local_var_bit_const 9@ {n} 1
Camera.DoFade(0, Fade.Out)
8@ += 1
goto @GFSEX_956

:GFSEX_874
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_949
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Char.HideWeaponForScriptedCutscene(24@, True)
Hud.DisplayRadar(False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Hud.SwitchWidescreen(True)
Game.SetAllCarsCanBeDamaged(False)
gosub @GFSEX_8132
set_lvar_int_to_lvar_int 7@ = 21@
8@ = 0

:GFSEX_949
goto @GFSEX_956

:GFSEX_956
return 

:GFSEX_958
switch_start 8@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFSEX_1705 {caseNum1} 0 {caseLabel1} @GFSEX_1021 {caseNum2} 1 {caseLabel2} @GFSEX_1063 {caseNum3} 2 {caseLabel3} @GFSEX_1186 {caseNum4} 3 {caseLabel4} @GFSEX_1423 {caseNum5} 4 {caseLabel5} @GFSEX_1582 {caseNum6} 5 {caseLabel6} @GFSEX_1632 {caseNum7} -1 {caseLabel7} @GFSEX_1705

:GFSEX_1021
set_local_var_bit_const 9@ {n} 1
23@ = -1
gosub @GFSEX_9153
Camera.DoFade(1500, Fade.In)
8@ += 1
goto @GFSEX_1705

:GFSEX_1063
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_1179
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BJ_COUCH_START_P", "BLOWJOBZ", 4.0, False, False, False, True, 0)
Task.PlayAnimNonInterruptable(24@, "BJ_COUCH_START_W", "BLOWJOBZ", 4.0, False, False, False, True, 0)
8@ += 1

:GFSEX_1179
goto @GFSEX_1705

:GFSEX_1186
16@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BJ_COUCH_START_P")
if and
  16@ > 0.5
  1.0 > 16@
goto_if_false @GFSEX_1277
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GFSEX_1277
Camera.DoFade(500, Fade.Out)
8@ = 5
goto @GFSEX_1705

:GFSEX_1277
if 
  16@ == 1.0
goto_if_false @GFSEX_1416
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BJ_COUCH_LOOP_P", "BLOWJOBZ", 4.0, True, False, False, True, 6000)
Task.PlayAnimNonInterruptable(24@, "BJ_COUCH_LOOP_W", "BLOWJOBZ", 4.0, True, False, False, True, 6000)
set_var_int_to_constant $iGF_TT_driver = 282
TIMERB = 0
8@ += 1

:GFSEX_1416
goto @GFSEX_1705

:GFSEX_1423
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GFSEX_1457
Camera.DoFade(500, Fade.Out)
8@ = 5
goto @GFSEX_1575

:GFSEX_1457
if 
  TIMERB > 6000
goto_if_false @GFSEX_1575
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BJ_COUCH_END_P", "BLOWJOBZ", 4.0, False, False, False, False, 0)
Task.PlayAnimNonInterruptable(24@, "BJ_COUCH_END_W", "BLOWJOBZ", 4.0, False, False, False, False, 0)
8@ += 1

:GFSEX_1575
goto @GFSEX_1705

:GFSEX_1582
20@ = Char.GetScriptTaskStatus(24@, 2066)
if 
  is_int_lvar_equal_to_constant 20@ == 7
goto_if_false @GFSEX_1625
Camera.DoFade(500, Fade.Out)
8@ += 1

:GFSEX_1625
goto @GFSEX_1705

:GFSEX_1632
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_1698
if 
  1@ > 0
goto_if_false @GFSEX_1684
7@ = 3
8@ = 0
goto @GFSEX_1698

:GFSEX_1684
7@ = 6
8@ = 0

:GFSEX_1698
goto @GFSEX_1705

:GFSEX_1705
return 

:GFSEX_1707
switch_start 8@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @GFSEX_1986 {caseNum1} 0 {caseLabel1} @GFSEX_1770 {caseNum2} 1 {caseLabel2} @GFSEX_1791 {caseNum3} 2 {caseLabel3} @GFSEX_1959 {caseNum4} -1 {caseLabel4} @GFSEX_1986 {caseNum5} -1 {caseLabel5} @GFSEX_1986 {caseNum6} -1 {caseLabel6} @GFSEX_1986 {caseNum7} -1 {caseLabel7} @GFSEX_1986

:GFSEX_1770
Camera.DoFade(1000, Fade.Out)
8@ += 1
goto @GFSEX_1986

:GFSEX_1791
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_1952
gosub @GFSEX_8718
if 
  is_local_var_bit_set_const 9@ {n} 13
goto_if_false @GFSEX_1841
Hud.ClearCounter($GF_txtConsoleIn)
clear_local_var_bit_const 9@ {n} 13

:GFSEX_1841
if 
  is_local_var_bit_set_const 9@ {n} 9
goto_if_false @GFSEX_1871
Hud.ClearCounter($1222)
clear_local_var_bit_const 9@ {n} 9

:GFSEX_1871
Text.ClearHelp
Hud.SwitchWidescreen(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
if 
  Player.IsWearing($statbike_temp, 17, "GIMPLEG")
goto_if_false @GFSEX_1938
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.BuildModel($statbike_temp)

:GFSEX_1938
Camera.DoFade(1000, Fade.In)
8@ += 1

:GFSEX_1952
goto @GFSEX_1986

:GFSEX_1959
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_1979
gosub @GFSEX_13669

:GFSEX_1979
goto @GFSEX_1986

:GFSEX_1986
return 

:GFSEX_1988
switch_start 8@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFSEX_3091 {caseNum1} 0 {caseLabel1} @GFSEX_2051 {caseNum2} 1 {caseLabel2} @GFSEX_2269 {caseNum3} 2 {caseLabel3} @GFSEX_2464 {caseNum4} 3 {caseLabel4} @GFSEX_2681 {caseNum5} 4 {caseLabel5} @GFSEX_2923 {caseNum6} 5 {caseLabel6} @GFSEX_3030 {caseNum7} -1 {caseLabel7} @GFSEX_3091

:GFSEX_2051
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_2262
Hud.SwitchWidescreen(False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately(24@)
gosub @GFSEX_8806
Char.SetCoordinates($stattreadstamina_ctr, 10@, 12@, 14@)
Char.SetHeading($stattreadstamina_ctr, 16@)
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.5, -1.0)
16@ = Char.GetHeading($stattreadstamina_ctr)
Char.SetCoordinates(24@, 10@, 12@, 14@)
Char.SetHeading(24@, 16@)
Text.PrintHelpForever('GF_0043')
Hud.DisplayNthCounterWithString($GF_txtConsoleIn, CounterDisplay.Bar, 1, 'GF_0017')
Hud.DisplayNthCounterWithString($1222, CounterDisplay.Bar, 3, 'GF_0040')
set_local_var_bit_const 9@ {n} 9
set_local_var_bit_const 9@ {n} 13
23@ = 1
gosub @GFSEX_9153
Camera.DoFade(1000, Fade.In)
clear_local_var_bit_const 9@ {n} 1
8@ += 1

:GFSEX_2262
goto @GFSEX_3091

:GFSEX_2269
Task.PlayAnimNonInterruptable(24@, "SPANKING_IDLEW", "SNM", 4.0, True, False, False, False, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SPANKING_IDLEP", "SNM", 4.0, True, False, False, False, 0)
clear_local_var_bit_const 9@ {n} 8
gosub @GFSEX_12341
if 
  0 >= $GF_txtConsoleIn
goto_if_false @GFSEX_2411
7@ = 4
8@ = 0
goto @GFSEX_3091
goto @GFSEX_2450

:GFSEX_2411
if 
  $GF_txtConsoleIn >= 100
goto_if_false @GFSEX_2450
7@ = 5
8@ = 0
goto @GFSEX_3091

:GFSEX_2450
8@ += 1
goto @GFSEX_3091

:GFSEX_2464
gosub @GFSEX_12341
if 
  $1222 >= 100
goto_if_false @GFSEX_2496
8@ += 1

:GFSEX_2496
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GFSEX_2582
if and
  not is_local_var_bit_set_const 9@ {n} 8
  not Char.IsPlayingAnim($stattreadstamina_ctr, "SPANKINGP")
goto_if_false @GFSEX_2575
set_local_var_bit_const 9@ {n} 8
gosub @GFSEX_11920
8@ = 4
goto @GFSEX_3091

:GFSEX_2575
goto @GFSEX_2589

:GFSEX_2582
clear_local_var_bit_const 9@ {n} 8

:GFSEX_2589
if 
  0 >= $GF_txtConsoleIn
goto_if_false @GFSEX_2635
7@ = 4
8@ = 0
goto @GFSEX_3091
goto @GFSEX_2674

:GFSEX_2635
if 
  $GF_txtConsoleIn == 100
goto_if_false @GFSEX_2674
7@ = 5
8@ = 0
goto @GFSEX_3091

:GFSEX_2674
goto @GFSEX_3091

:GFSEX_2681
gosub @GFSEX_12341
if 
  $1222 >= 97
goto_if_false @GFSEX_2799
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @GFSEX_2792
if and
  not is_local_var_bit_set_const 9@ {n} 8
  not Char.IsPlayingAnim($stattreadstamina_ctr, "SPANKINGP")
goto_if_false @GFSEX_2785
set_local_var_bit_const 9@ {n} 8
gosub @GFSEX_11920
8@ = 4
goto @GFSEX_3091

:GFSEX_2785
goto @GFSEX_2799

:GFSEX_2792
clear_local_var_bit_const 9@ {n} 8

:GFSEX_2799
if 
  0 >= $1222
goto_if_false @GFSEX_2831
gosub @GFSEX_11621
8@ -= 1

:GFSEX_2831
if 
  0 >= $GF_txtConsoleIn
goto_if_false @GFSEX_2877
7@ = 4
8@ = 0
goto @GFSEX_3091
goto @GFSEX_2916

:GFSEX_2877
if 
  $GF_txtConsoleIn == 100
goto_if_false @GFSEX_2916
7@ = 5
8@ = 0
goto @GFSEX_3091

:GFSEX_2916
goto @GFSEX_3091

:GFSEX_2923
gosub @GFSEX_12341
gosub @GFSEX_11961
Task.PlayAnimNonInterruptable(24@, "SPANKINGW", "SNM", 99.0, False, False, False, True, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SPANKINGP", "SNM", 99.0, False, False, False, True, 0)
clear_local_var_bit_const 9@ {n} 5
8@ += 1
goto @GFSEX_3091

:GFSEX_3030
gosub @GFSEX_12341
gosub @GFSEX_12011
if 
  is_local_var_bit_set_const 9@ {n} 5
goto_if_false @GFSEX_3084
set_var_int_to_constant $iGF_TT_Car = 237
gosub @GFSEX_12207
8@ = 1

:GFSEX_3084
goto @GFSEX_3091

:GFSEX_3091
return 

:GFSEX_3093
switch_start 8@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @GFSEX_3520 {caseNum1} 0 {caseLabel1} @GFSEX_3156 {caseNum2} 1 {caseLabel2} @GFSEX_3239 {caseNum3} 2 {caseLabel3} @GFSEX_3444 {caseNum4} -1 {caseLabel4} @GFSEX_3520 {caseNum5} -1 {caseLabel5} @GFSEX_3520 {caseNum6} -1 {caseLabel6} @GFSEX_3520 {caseNum7} -1 {caseLabel7} @GFSEX_3520

:GFSEX_3156
if 
  is_local_var_bit_set_const 9@ {n} 13
goto_if_false @GFSEX_3186
Hud.ClearCounter($GF_txtConsoleIn)
clear_local_var_bit_const 9@ {n} 13

:GFSEX_3186
if 
  is_local_var_bit_set_const 9@ {n} 9
goto_if_false @GFSEX_3216
Hud.ClearCounter($1222)
clear_local_var_bit_const 9@ {n} 9

:GFSEX_3216
Text.ClearHelp
Camera.DoFade(1000, Fade.Out)
8@ += 1
goto @GFSEX_3520

:GFSEX_3239
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_3437
gosub @GFSEX_8806
Char.SetCoordinates($stattreadstamina_ctr, 10@, 12@, 14@)
Char.SetHeading($stattreadstamina_ctr, 16@)
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.5, -1.0)
16@ = Char.GetHeading($stattreadstamina_ctr)
Char.SetCoordinates(24@, 10@, 12@, 14@)
Char.SetHeading(24@, 16@)
Task.PlayAnimNonInterruptable(24@, "SPANKEDW", "SNM", 4.0, True, False, False, True, 600000)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SPANKEDP", "SNM", 4.0, True, False, False, True, 600000)
Camera.DoFade(1000, Fade.In)
TIMERB = 0
8@ += 1

:GFSEX_3437
goto @GFSEX_3520

:GFSEX_3444
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_3513
set_var_int_to_constant $iGF_TT_driver = 286
set_var_int_to_constant $iGF_TT_Car = 236
if 
  TIMERB > 7000
goto_if_false @GFSEX_3513
clear_global_var_bit_const $iGFBonusPickupID {n} 4
7@ = 2
8@ = 0

:GFSEX_3513
goto @GFSEX_3520

:GFSEX_3520
return 

:GFSEX_3522
switch_start 8@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @GFSEX_4081 {caseNum1} 0 {caseLabel1} @GFSEX_3585 {caseNum2} 1 {caseLabel2} @GFSEX_3668 {caseNum3} 2 {caseLabel3} @GFSEX_3967 {caseNum4} 3 {caseLabel4} @GFSEX_4009 {caseNum5} -1 {caseLabel5} @GFSEX_4081 {caseNum6} -1 {caseLabel6} @GFSEX_4081 {caseNum7} -1 {caseLabel7} @GFSEX_4081

:GFSEX_3585
if 
  is_local_var_bit_set_const 9@ {n} 13
goto_if_false @GFSEX_3615
Hud.ClearCounter($GF_txtConsoleIn)
clear_local_var_bit_const 9@ {n} 13

:GFSEX_3615
if 
  is_local_var_bit_set_const 9@ {n} 9
goto_if_false @GFSEX_3645
Hud.ClearCounter($1222)
clear_local_var_bit_const 9@ {n} 9

:GFSEX_3645
Text.ClearHelp
Camera.DoFade(1000, Fade.Out)
8@ += 1
goto @GFSEX_4081

:GFSEX_3668
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_3960
gosub @GFSEX_8806
Char.SetCoordinates($stattreadstamina_ctr, 10@, 12@, 14@)
Char.SetHeading($stattreadstamina_ctr, 16@)
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 0.5, -1.0)
16@ = Char.GetHeading($stattreadstamina_ctr)
Char.SetCoordinates(24@, 10@, 12@, 14@)
Char.SetHeading(24@, 16@)
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.707, 3.136, -0.163)
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.427, 0.634, -0.5)
Camera.SetFixedPosition(10@, 12@, 14@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(11@, 13@, 15@, SwitchType.JumpCut)
Task.PlayAnimNonInterruptable(24@, "SPANKING_ENDW", "SNM", 4.0, False, False, False, True, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SPANKING_ENDP", "SNM", 4.0, False, False, False, True, 0)
Camera.DoFade(1000, Fade.In)
8@ += 1

:GFSEX_3960
goto @GFSEX_4081

:GFSEX_3967
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_4002
set_var_int_to_constant $iGF_TT_driver = 285
TIMERB = 0
8@ += 1

:GFSEX_4002
goto @GFSEX_4081

:GFSEX_4009
16@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "SPANKING_ENDP")
if 
  16@ == 1.0
goto_if_false @GFSEX_4074
set_global_var_bit_const $iGFBonusPickupID {n} 4
7@ = 2
8@ = 0

:GFSEX_4074
goto @GFSEX_4081

:GFSEX_4081
return 

:GFSEX_4083
switch_start 8@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFSEX_5308 {caseNum1} 0 {caseLabel1} @GFSEX_4146 {caseNum2} 1 {caseLabel2} @GFSEX_4340 {caseNum3} 2 {caseLabel3} @GFSEX_4921 {caseNum4} 3 {caseLabel4} @GFSEX_5037 {caseNum5} 4 {caseLabel5} @GFSEX_5147 {caseNum6} 5 {caseLabel6} @GFSEX_5245 {caseNum7} -1 {caseLabel7} @GFSEX_5308

:GFSEX_4146
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_4333
Hud.SwitchWidescreen(False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately(24@)
gosub @GFSEX_8806
Char.SetCoordinates($stattreadstamina_ctr, 10@, 12@, 14@)
Char.SetHeading($stattreadstamina_ctr, 16@)
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, -1.0)
16@ = Char.GetHeading($stattreadstamina_ctr)
16@ += 180.0
Char.SetCoordinates(24@, 10@, 12@, 14@)
Char.SetHeading(24@, 16@)
Hud.DisplayCounterWithString($GF_txtConsoleIn, CounterDisplay.Bar, 'GF_0017')
set_local_var_bit_const 9@ {n} 13
gosub @GFSEX_9153
Text.PrintHelpForever('GF_0020')
Camera.DoFade(500, Fade.In)
clear_local_var_bit_const 9@ {n} 1
8@ += 1

:GFSEX_4333
goto @GFSEX_5308

:GFSEX_4340
TIMERB = 0
if 
  22@ == 0
goto_if_false @GFSEX_4440
Task.PlayAnimNonInterruptable(24@, "SEX_1_W", "SEX", 4.0, True, False, False, False, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_1_P", "SEX", 4.0, True, False, False, False, 0)
8@ += 1

:GFSEX_4440
if 
  22@ == 1
goto_if_false @GFSEX_4677
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "SEX_1TO2_P")
goto_if_false @GFSEX_4602
16@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "SEX_1TO2_P")
if 
  16@ >= 1.0
goto_if_false @GFSEX_4595
Task.PlayAnimNonInterruptable(24@, "SEX_2_W", "SEX", 4.0, True, False, False, False, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_2_P", "SEX", 4.0, True, False, False, False, 0)

:GFSEX_4595
goto @GFSEX_4670

:GFSEX_4602
Task.PlayAnimNonInterruptable(24@, "SEX_2_W", "SEX", 4.0, True, False, False, False, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_2_P", "SEX", 4.0, True, False, False, False, 0)

:GFSEX_4670
8@ += 1

:GFSEX_4677
if 
  22@ == 2
goto_if_false @GFSEX_4914
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "SEX_2TO3_P")
goto_if_false @GFSEX_4839
16@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "SEX_2TO3_P")
if 
  16@ >= 1.0
goto_if_false @GFSEX_4832
Task.PlayAnimNonInterruptable(24@, "SEX_3_W", "SEX", 4.0, True, False, False, False, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_3_P", "SEX", 4.0, True, False, False, False, 0)

:GFSEX_4832
goto @GFSEX_4907

:GFSEX_4839
Task.PlayAnimNonInterruptable(24@, "SEX_3_W", "SEX", 4.0, True, False, False, False, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_3_P", "SEX", 4.0, True, False, False, False, 0)

:GFSEX_4907
8@ += 1

:GFSEX_4914
goto @GFSEX_5308

:GFSEX_4921
gosub @GFSEX_10278
gosub @GFSEX_10689
if 
  $GF_txtConsoleIn == 100
goto_if_false @GFSEX_4989
set_var_int_to_constant $iGF_TT_driver = 283
Player.SetControl($statbike_temp, False)
set_local_var_bit_const 9@ {n} 1
set_global_var_bit_const $iGFBonusPickupID {n} 4
8@ += 1

:GFSEX_4989
if 
  $GF_txtConsoleIn == 0
goto_if_false @GFSEX_5030
clear_global_var_bit_const $iGFBonusPickupID {n} 4
Text.ClearHelp
7@ = 8
8@ = 0

:GFSEX_5030
goto @GFSEX_5308

:GFSEX_5037
if 
  22@ == 0
goto_if_false @GFSEX_5062
8@ += 1

:GFSEX_5062
if 
  22@ == 1
goto_if_false @GFSEX_5101
gosub @GFSEX_9153
22@ = 0
8@ += 1

:GFSEX_5101
if 
  22@ == 2
goto_if_false @GFSEX_5140
gosub @GFSEX_9153
22@ = 0
8@ += 1

:GFSEX_5140
goto @GFSEX_5308

:GFSEX_5147
Task.PlayAnimNonInterruptable(24@, "SEX_1_CUM_W", "SEX", 4.0, False, False, False, True, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_1_CUM_P", "SEX", 4.0, False, False, False, True, 0)
set_var_int_to_constant $iGF_TT_driver = 285
8@ += 1
goto @GFSEX_5308

:GFSEX_5245
16@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "SEX_1_CUM_P")
if 
  16@ == 1.0
goto_if_false @GFSEX_5301
7@ = 2
8@ = 0

:GFSEX_5301
goto @GFSEX_5308

:GFSEX_5308
return 

:GFSEX_5310
switch_start 8@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFSEX_6049 {caseNum1} 0 {caseLabel1} @GFSEX_5373 {caseNum2} 1 {caseLabel2} @GFSEX_5415 {caseNum3} 2 {caseLabel3} @GFSEX_5538 {caseNum4} 3 {caseLabel4} @GFSEX_5767 {caseNum5} 4 {caseLabel5} @GFSEX_5926 {caseNum6} 5 {caseLabel6} @GFSEX_5976 {caseNum7} -1 {caseLabel7} @GFSEX_6049

:GFSEX_5373
set_local_var_bit_const 9@ {n} 1
23@ = -1
gosub @GFSEX_9153
Camera.DoFade(1500, Fade.In)
8@ += 1
goto @GFSEX_6049

:GFSEX_5415
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_5531
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BJ_STAND_START_P", "BLOWJOBZ", 4.0, False, False, False, True, 0)
Task.PlayAnimNonInterruptable(24@, "BJ_STAND_START_W", "BLOWJOBZ", 4.0, False, False, False, True, 0)
8@ += 1

:GFSEX_5531
goto @GFSEX_6049

:GFSEX_5538
16@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BJ_STAND_START_P")
if and
  16@ > 0.5
  1.0 > 16@
goto_if_false @GFSEX_5629
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GFSEX_5629
Camera.DoFade(500, Fade.Out)
8@ = 5
goto @GFSEX_6049

:GFSEX_5629
if 
  16@ == 1.0
goto_if_false @GFSEX_5760
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BJ_STAND_LOOP_P", "BLOWJOBZ", 4.0, True, False, False, True, 6000)
Task.PlayAnimNonInterruptable(24@, "BJ_STAND_LOOP_W", "BLOWJOBZ", 4.0, True, False, False, True, 6000)
TIMERB = 0
8@ += 1

:GFSEX_5760
goto @GFSEX_6049

:GFSEX_5767
if 
  Pad.IsSkipCutsceneButtonPressed
goto_if_false @GFSEX_5801
Camera.DoFade(500, Fade.Out)
8@ = 5
goto @GFSEX_5919

:GFSEX_5801
if 
  TIMERB > 6000
goto_if_false @GFSEX_5919
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BJ_STAND_END_P", "BLOWJOBZ", 4.0, False, False, False, False, 0)
Task.PlayAnimNonInterruptable(24@, "BJ_STAND_END_W", "BLOWJOBZ", 4.0, False, False, False, False, 0)
8@ += 1

:GFSEX_5919
goto @GFSEX_6049

:GFSEX_5926
20@ = Char.GetScriptTaskStatus(24@, 2066)
if 
  is_int_lvar_equal_to_constant 20@ == 7
goto_if_false @GFSEX_5969
Camera.DoFade(500, Fade.Out)
8@ += 1

:GFSEX_5969
goto @GFSEX_6049

:GFSEX_5976
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_6042
if 
  1@ > 0
goto_if_false @GFSEX_6028
7@ = 3
8@ = 0
goto @GFSEX_6042

:GFSEX_6028
7@ = 6
8@ = 0

:GFSEX_6042
goto @GFSEX_6049

:GFSEX_6049
return 

:GFSEX_6051
switch_start 8@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @GFSEX_6651 {caseNum1} 0 {caseLabel1} @GFSEX_6114 {caseNum2} 1 {caseLabel2} @GFSEX_6475 {caseNum3} -1 {caseLabel3} @GFSEX_6651 {caseNum4} -1 {caseLabel4} @GFSEX_6651 {caseNum5} -1 {caseLabel5} @GFSEX_6651 {caseNum6} -1 {caseLabel6} @GFSEX_6651 {caseNum7} -1 {caseLabel7} @GFSEX_6651

:GFSEX_6114
if 
  22@ == 0
goto_if_false @GFSEX_6232
Task.PlayAnimNonInterruptable(24@, "SEX_1_FAIL_W", "SEX", 4.0, False, False, False, True, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_1_FAIL_P", "SEX", 4.0, False, False, False, True, 0)
set_var_int_to_constant $iGF_TT_driver = 284
8@ += 1
goto @GFSEX_6651

:GFSEX_6232
if 
  22@ == 1
goto_if_false @GFSEX_6350
Task.PlayAnimNonInterruptable(24@, "SEX_2_FAIL_W", "SEX", 4.0, False, False, False, True, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_2_FAIL_P", "SEX", 4.0, False, False, False, True, 0)
set_var_int_to_constant $iGF_TT_driver = 284
8@ += 1
goto @GFSEX_6651

:GFSEX_6350
if 
  22@ == 2
goto_if_false @GFSEX_6468
Task.PlayAnimNonInterruptable(24@, "SEX_3_FAIL_W", "SEX", 4.0, False, False, False, True, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_3_FAIL_P", "SEX", 4.0, False, False, False, True, 0)
set_var_int_to_constant $iGF_TT_driver = 284
8@ += 1
goto @GFSEX_6651

:GFSEX_6468
goto @GFSEX_6651

:GFSEX_6475
if 
  22@ == 0
goto_if_false @GFSEX_6522
16@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "SEX_1_FAIL_P")
goto @GFSEX_6609

:GFSEX_6522
if 
  22@ == 1
goto_if_false @GFSEX_6569
16@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "SEX_2_FAIL_P")
goto @GFSEX_6609

:GFSEX_6569
if 
  22@ == 2
goto_if_false @GFSEX_6609
16@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "SEX_3_FAIL_P")

:GFSEX_6609
if 
  16@ == 1.0
goto_if_false @GFSEX_6644
7@ = 2
8@ = 0

:GFSEX_6644
goto @GFSEX_6651

:GFSEX_6651
return 

:GFSEX_6653
switch_start 8@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @GFSEX_7595 {caseNum1} 0 {caseLabel1} @GFSEX_6781 {caseNum2} 1 {caseLabel2} @GFSEX_6862 {caseNum3} 2 {caseLabel3} @GFSEX_7160 {caseNum4} 3 {caseLabel4} @GFSEX_7202 {caseNum5} 4 {caseLabel5} @GFSEX_7277 {caseNum6} 5 {caseLabel6} @GFSEX_7391 {caseNum7} 6 {caseLabel7} @GFSEX_7466
switch_continued 7 {caseLabel1} @GFSEX_7541 {caseNum2} -1 {caseLabel2} @GFSEX_7595 {caseNum3} -1 {caseLabel3} @GFSEX_7595 {caseNum4} -1 {caseLabel4} @GFSEX_7595 {caseNum5} -1 {caseLabel5} @GFSEX_7595 {caseNum6} -1 {caseLabel6} @GFSEX_7595 {caseNum7} -1 {caseLabel7} @GFSEX_7595 {caseNum8} -1 {caseLabel8} @GFSEX_7595 {caseNum9} -1 {caseLabel9} @GFSEX_7595

:GFSEX_6781
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @GFSEX_6827
25@ = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Car.SetProofs(25@, True, True, True, True, True)
goto @GFSEX_6842

:GFSEX_6827
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)

:GFSEX_6842
Camera.DoFade(0, Fade.Out)
8@ += 1
goto @GFSEX_7595

:GFSEX_6862
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_7153
Streaming.SetAreaVisible(0)
Char.SetAreaVisible(24@, 0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @GFSEX_6931
Char.SetCoordinates($stattreadstamina_ctr, 3@, 4@, 5@)
Char.SetHeading($stattreadstamina_ctr, 6@)

:GFSEX_6931
Streaming.LoadScene(3@, 4@, 5@)
Streaming.RequestCollision(3@, 4@)
Char.SetVisible($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
Hud.DisplayRadar(False)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetAllCarsCanBeDamaged(False)
gosub @GFSEX_13202
Char.SetCoordinates(24@, 10@, 12@, 14@)
Char.SetCollision(24@, False)
Char.SetVisible(24@, False)
Camera.SetFixedPosition(10@, 12@, 14@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(11@, 13@, 15@, SwitchType.JumpCut)
if 
  not is_xbox_version 
goto_if_false @GFSEX_7084
Camera.SetShakeSimulationSimple(5, 5000.0, 10.0)

:GFSEX_7084
20@, 21@ = Clock.GetTimeOfDay()
21@ += 30
if 
  21@ > 60
goto_if_false @GFSEX_7131
21@ -= 60
20@ += 1

:GFSEX_7131
Clock.SetTimeOfDay(20@, 21@)
Camera.DoFade(1000, Fade.In)
8@ += 1

:GFSEX_7153
goto @GFSEX_7595

:GFSEX_7160
if 
  not Camera.GetFadingStatus
goto_if_false @GFSEX_7195
set_var_int_to_constant $iGF_TT_driver = 281
TIMERB = 0
8@ += 1

:GFSEX_7195
goto @GFSEX_7595

:GFSEX_7202
if 
  TIMERB > 3000
goto_if_false @GFSEX_7270
set_var_int_to_constant $iGF_TT_driver = 281
TIMERB = 0
if 
  not is_xbox_version 
goto_if_false @GFSEX_7263
Camera.SetShakeSimulationSimple(5, 3000.0, 15.0)

:GFSEX_7263
8@ += 1

:GFSEX_7270
goto @GFSEX_7595

:GFSEX_7277
if 
  TIMERB > 3000
goto_if_false @GFSEX_7384
$iGF_TT_driver = -2
if 
  1@ > 0
goto_if_false @GFSEX_7336
set_var_int_to_constant $iGF_TT_Car = 237
goto @GFSEX_7343

:GFSEX_7336
set_var_int_to_constant $iGF_TT_Car = 116

:GFSEX_7343
if 
  not is_xbox_version 
goto_if_false @GFSEX_7370
Camera.SetShakeSimulationSimple(5, 3000.0, 20.0)

:GFSEX_7370
TIMERB = 0
8@ += 1

:GFSEX_7384
goto @GFSEX_7595

:GFSEX_7391
if 
  TIMERB > 3000
goto_if_false @GFSEX_7459
set_var_int_to_constant $iGF_TT_driver = 283
if 
  not is_xbox_version 
goto_if_false @GFSEX_7445
Camera.SetShakeSimulationSimple(5, 4000.0, 30.0)

:GFSEX_7445
TIMERB = 0
8@ += 1

:GFSEX_7459
goto @GFSEX_7595

:GFSEX_7466
if 
  TIMERB > 4000
goto_if_false @GFSEX_7534
set_var_int_to_constant $iGF_TT_driver = 285
if 
  not is_xbox_version 
goto_if_false @GFSEX_7520
Camera.SetShakeSimulationSimple(5, 3000.0, 5.0)

:GFSEX_7520
TIMERB = 0
8@ += 1

:GFSEX_7534
goto @GFSEX_7595

:GFSEX_7541
if 
  TIMERB > 3000
goto_if_false @GFSEX_7588
set_global_var_bit_const $iGFBonusPickupID {n} 2
set_global_var_bit_const $iGFBonusPickupID {n} 4
7@ = 2
8@ = 0

:GFSEX_7588
goto @GFSEX_7595

:GFSEX_7595
return 

:GFSEX_7597
switch_start 0@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFSEX_7936 {caseNum1} 0 {caseLabel1} @GFSEX_7660 {caseNum2} 1 {caseLabel2} @GFSEX_7706 {caseNum3} 2 {caseLabel3} @GFSEX_7752 {caseNum4} 3 {caseLabel4} @GFSEX_7798 {caseNum5} 4 {caseLabel5} @GFSEX_7844 {caseNum6} 5 {caseLabel6} @GFSEX_7890 {caseNum7} -1 {caseLabel7} @GFSEX_7936

:GFSEX_7660
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @GFSEX_7699
Streaming.LoadSpecialCharacter(1, 'GANGRL2')
wait 0
goto @GFSEX_7660

:GFSEX_7699
goto @GFSEX_7936

:GFSEX_7706
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @GFSEX_7745
Streaming.LoadSpecialCharacter(1, 'MECGRL2')
wait 0
goto @GFSEX_7706

:GFSEX_7745
goto @GFSEX_7936

:GFSEX_7752
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @GFSEX_7791
Streaming.LoadSpecialCharacter(1, 'GUNGRL2')
wait 0
goto @GFSEX_7752

:GFSEX_7791
goto @GFSEX_7936

:GFSEX_7798
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @GFSEX_7837
Streaming.LoadSpecialCharacter(1, 'COPGRL2')
wait 0
goto @GFSEX_7798

:GFSEX_7837
goto @GFSEX_7936

:GFSEX_7844
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @GFSEX_7883
Streaming.LoadSpecialCharacter(1, 'NURGRL2')
wait 0
goto @GFSEX_7844

:GFSEX_7883
goto @GFSEX_7936

:GFSEX_7890
if 
  not Streaming.HasSpecialCharacterLoaded(1)
goto_if_false @GFSEX_7929
Streaming.LoadSpecialCharacter(1, 'CROGRL2')
wait 0
goto @GFSEX_7890

:GFSEX_7929
goto @GFSEX_7936

:GFSEX_7936
24@ = Char.Create(PedType.CivFemale, 290, 0.0, 0.0, 0.0)
Char.SetProofs(24@, True, True, True, True, True)
Char.SetCollision(24@, False)
Char.DontRemove(24@)
return 

:GFSEX_7990
Streaming.RequestAnimation("BLOWJOBZ")
Streaming.RequestAnimation("KISSING")
Streaming.RequestAnimation("SEX")
Streaming.RequestAnimation("SNM")

:GFSEX_8027
wait 0
if and
  Streaming.HasAnimationLoaded("BLOWJOBZ")
  Streaming.HasAnimationLoaded("SEX")
  Streaming.HasAnimationLoaded("KISSING")
  Streaming.HasAnimationLoaded("SNM")
goto_if_false @GFSEX_8088
return 
goto @GFSEX_8132

:GFSEX_8088
Streaming.RequestAnimation("BLOWJOBZ")
Streaming.RequestAnimation("KISSING")
Streaming.RequestAnimation("SEX")
Streaming.RequestAnimation("SNM")
goto @GFSEX_8027

:GFSEX_8132
switch_start 0@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFSEX_8561 {caseNum1} 0 {caseLabel1} @GFSEX_8195 {caseNum2} 1 {caseLabel2} @GFSEX_8256 {caseNum3} 2 {caseLabel3} @GFSEX_8317 {caseNum4} 3 {caseLabel4} @GFSEX_8378 {caseNum5} 4 {caseLabel5} @GFSEX_8439 {caseNum6} 5 {caseLabel6} @GFSEX_8500 {caseNum7} -1 {caseLabel7} @GFSEX_8561

:GFSEX_8195
10@ = 245.6252
12@ = 304.1411
14@ = 998.32
16@ = 0.0
20@ = 1
21@ = 1
goto @GFSEX_8561

:GFSEX_8256
10@ = 306.1999
12@ = 305.1225
14@ = 1002.297
16@ = 90.0
20@ = 4
21@ = 1
goto @GFSEX_8561

:GFSEX_8317
10@ = 288.7753
12@ = 308.4772
14@ = 998.1641
16@ = 213.8029
20@ = 3
21@ = 7
goto @GFSEX_8561

:GFSEX_8378
10@ = 324.6405
12@ = 307.4622
14@ = 998.1558
16@ = 175.0
20@ = 5
21@ = 7
goto @GFSEX_8561

:GFSEX_8439
10@ = 271.4699
12@ = 307.2668
14@ = 998.32
16@ = 265.0
20@ = 2
21@ = 1
goto @GFSEX_8561

:GFSEX_8500
10@ = 345.6252
12@ = 304.1411
14@ = 998.25
16@ = 0.0
20@ = 6
21@ = 1
goto @GFSEX_8561

:GFSEX_8561
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.ClearTasksImmediately(24@)
Char.SetCollision(24@, False)
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCoordinates($stattreadstamina_ctr, 10@, 12@, 14@)
Char.SetHeading($stattreadstamina_ctr, 16@)
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 1.0, -1.0)
16@ = Char.GetHeading($stattreadstamina_ctr)
16@ += 180.0
Char.SetCoordinates(24@, 10@, 12@, 14@)
Char.SetHeading(24@, 16@)
Streaming.SetAreaVisible(20@)
Char.SetAreaVisible(24@, 20@)
Char.SetAreaVisible($stattreadstamina_ctr, 20@)
Streaming.LoadScene(10@, 12@, 14@)
Streaming.RequestCollision(10@, 12@)
return 

:GFSEX_8718
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
World.ClearArea(3@, 4@, 5@, 3.0, True)
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @GFSEX_8785
Char.SetCoordinates($stattreadstamina_ctr, 3@, 4@, 5@)
Char.SetHeading($stattreadstamina_ctr, 6@)

:GFSEX_8785
Streaming.RequestCollision(3@, 4@)
Streaming.LoadScene(3@, 4@, 5@)
return 

:GFSEX_8806
switch_start 0@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFSEX_9151 {caseNum1} 0 {caseLabel1} @GFSEX_8869 {caseNum2} 1 {caseLabel2} @GFSEX_8963 {caseNum3} 2 {caseLabel3} @GFSEX_9010 {caseNum4} 3 {caseLabel4} @GFSEX_8916 {caseNum5} 4 {caseLabel5} @GFSEX_9057 {caseNum6} 5 {caseLabel6} @GFSEX_9104 {caseNum7} -1 {caseLabel7} @GFSEX_9151

:GFSEX_8869
10@ = 245.617
12@ = 301.507
14@ = 999.046
16@ = 0.0
goto @GFSEX_9151

:GFSEX_8916
10@ = 318.4
12@ = 311.85
14@ = 998.8
16@ = 110.0
goto @GFSEX_9151

:GFSEX_8963
10@ = 308.8862
12@ = 301.9657
14@ = 1003.0
16@ = 0.0
goto @GFSEX_9151

:GFSEX_9010
10@ = 282.5775
12@ = 307.7573
14@ = 1002.391
16@ = 0.0
goto @GFSEX_9151

:GFSEX_9057
10@ = 270.12
12@ = 307.737
14@ = 999.0204
16@ = 180.0
goto @GFSEX_9151

:GFSEX_9104
10@ = 345.617
12@ = 301.507
14@ = 998.8
16@ = 0.0
goto @GFSEX_9151

:GFSEX_9151
return 

:GFSEX_9153
switch_start 23@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @GFSEX_9757 {caseNum1} -1 {caseLabel1} @GFSEX_9216 {caseNum2} 0 {caseLabel2} @GFSEX_9281 {caseNum3} 1 {caseLabel3} @GFSEX_9400 {caseNum4} 2 {caseLabel4} @GFSEX_9519 {caseNum5} 3 {caseLabel5} @GFSEX_9638 {caseNum6} -1 {caseLabel6} @GFSEX_9883 {caseNum7} -1 {caseLabel7} @GFSEX_9883

:GFSEX_9216
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.8, 2.9, 0.353)
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.0, 0.8701, 0.1828)
goto @GFSEX_9883

:GFSEX_9281
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -0.6375, 2.3043, 0.1065)
if 
  7@ == 3
goto_if_false @GFSEX_9364
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -0.3435, 1.4278, -0.1)
goto @GFSEX_9393

:GFSEX_9364
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -0.3435, 1.4278, -0.2746)

:GFSEX_9393
goto @GFSEX_9883

:GFSEX_9400
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.5989, 0.7828, -0.2044)
if 
  7@ == 3
goto_if_false @GFSEX_9483
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.6223, 0.6748, -0.2)
goto @GFSEX_9512

:GFSEX_9483
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.6223, 0.6748, -0.3904)

:GFSEX_9512
goto @GFSEX_9883

:GFSEX_9519
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.9748, -0.1026, 0.7511)
if 
  7@ == 3
goto_if_false @GFSEX_9602
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.4155, 0.3026, 0.01)
goto @GFSEX_9631

:GFSEX_9602
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.4155, 0.3026, 0.0279)

:GFSEX_9631
goto @GFSEX_9883

:GFSEX_9638
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -1.3103, 1.6396, -0.6208)
if 
  7@ == 3
goto_if_false @GFSEX_9721
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -0.49, 1.0874, -0.2)
goto @GFSEX_9750

:GFSEX_9721
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -0.49, 1.0874, -0.4726)

:GFSEX_9750
goto @GFSEX_9883

:GFSEX_9757
23@ = 0
10@, 12@, 14@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -0.6375, 2.3043, 0.1065)
if 
  7@ == 3
goto_if_false @GFSEX_9847
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -0.3435, 1.4278, 0.0)
goto @GFSEX_9876

:GFSEX_9847
11@, 13@, 15@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -0.3435, 1.4278, -0.2746)

:GFSEX_9876
goto @GFSEX_9883

:GFSEX_9883
Camera.SetFixedPosition(10@, 12@, 14@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(11@, 13@, 15@, SwitchType.JumpCut)
23@ += 1
return 

:GFSEX_9931
if 
  7@ == 6
goto_if_false @GFSEX_10276
22@ += 1
switch_start 22@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @GFSEX_10269 {caseNum1} 1 {caseLabel1} @GFSEX_10019 {caseNum2} 2 {caseLabel2} @GFSEX_10100 {caseNum3} 3 {caseLabel3} @GFSEX_10181 {caseNum4} -1 {caseLabel4} @GFSEX_10269 {caseNum5} -1 {caseLabel5} @GFSEX_10269 {caseNum6} -1 {caseLabel6} @GFSEX_10269 {caseNum7} -1 {caseLabel7} @GFSEX_10269

:GFSEX_10019
Task.PlayAnimNonInterruptable(24@, "SEX_1TO2_W", "SEX", 4.0, False, False, False, False, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_1TO2_P", "SEX", 4.0, False, False, False, False, 0)
goto @GFSEX_10269

:GFSEX_10100
Task.PlayAnimNonInterruptable(24@, "SEX_2TO3_W", "SEX", 4.0, False, False, False, False, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_2TO3_P", "SEX", 4.0, False, False, False, False, 0)
goto @GFSEX_10269

:GFSEX_10181
22@ = 0
Task.PlayAnimNonInterruptable(24@, "SEX_3TO1_W", "SEX", 4.0, False, False, False, False, 0)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "SEX_3TO1_P", "SEX", 4.0, False, False, False, False, 0)
goto @GFSEX_10269

:GFSEX_10269
8@ = 1

:GFSEX_10276
return 

:GFSEX_10278
set_lvar_int_to_var_int 20@ = $GF_txtConsoleIn
20@ /= 10
if 
  3 > 20@
goto_if_false @GFSEX_10318
20@ = 0

:GFSEX_10318
switch_start 20@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @GFSEX_10687 {caseNum1} 0 {caseLabel1} @GFSEX_10446 {caseNum2} 3 {caseLabel2} @GFSEX_10477 {caseNum3} 4 {caseLabel3} @GFSEX_10508 {caseNum4} 5 {caseLabel4} @GFSEX_10539 {caseNum5} 6 {caseLabel5} @GFSEX_10570 {caseNum6} 7 {caseLabel6} @GFSEX_10601 {caseNum7} 8 {caseLabel7} @GFSEX_10632
switch_continued 9 {caseLabel1} @GFSEX_10663 {caseNum2} -1 {caseLabel2} @GFSEX_10687 {caseNum3} -1 {caseLabel3} @GFSEX_10687 {caseNum4} -1 {caseLabel4} @GFSEX_10687 {caseNum5} -1 {caseLabel5} @GFSEX_10687 {caseNum6} -1 {caseLabel6} @GFSEX_10687 {caseNum7} -1 {caseLabel7} @GFSEX_10687 {caseNum8} -1 {caseLabel8} @GFSEX_10687 {caseNum9} -1 {caseLabel9} @GFSEX_10687

:GFSEX_10446
16@ = 0.035
clear_local_var_bit_const 9@ {n} 6
clear_local_var_bit_const 9@ {n} 7
goto @GFSEX_10687

:GFSEX_10477
16@ = 0.045
clear_local_var_bit_const 9@ {n} 6
clear_local_var_bit_const 9@ {n} 7
goto @GFSEX_10687

:GFSEX_10508
16@ = 0.05
clear_local_var_bit_const 9@ {n} 6
clear_local_var_bit_const 9@ {n} 7
goto @GFSEX_10687

:GFSEX_10539
16@ = 0.055
clear_local_var_bit_const 9@ {n} 6
clear_local_var_bit_const 9@ {n} 7
goto @GFSEX_10687

:GFSEX_10570
16@ = 0.055
clear_local_var_bit_const 9@ {n} 6
clear_local_var_bit_const 9@ {n} 7
goto @GFSEX_10687

:GFSEX_10601
16@ = 0.08
set_local_var_bit_const 9@ {n} 6
clear_local_var_bit_const 9@ {n} 7
goto @GFSEX_10687

:GFSEX_10632
16@ = 0.08
set_local_var_bit_const 9@ {n} 6
clear_local_var_bit_const 9@ {n} 7
goto @GFSEX_10687

:GFSEX_10663
16@ = 0.09
set_local_var_bit_const 9@ {n} 7
goto @GFSEX_10687

:GFSEX_10687
return 

:GFSEX_10689
switch_start 22@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @GFSEX_11121 {caseNum1} 0 {caseLabel1} @GFSEX_10752 {caseNum2} 1 {caseLabel2} @GFSEX_10875 {caseNum3} 2 {caseLabel3} @GFSEX_10998 {caseNum4} -1 {caseLabel4} @GFSEX_11121 {caseNum5} -1 {caseLabel5} @GFSEX_11121 {caseNum6} -1 {caseLabel6} @GFSEX_11121 {caseNum7} -1 {caseLabel7} @GFSEX_11121

:GFSEX_10752
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "SEX_1_P")
goto_if_false @GFSEX_10810
Char.SetAnimPlayingFlag($stattreadstamina_ctr, "SEX_1_P", False)
Char.SetAnimCurrentTime($stattreadstamina_ctr, "SEX_1_P", $1224)

:GFSEX_10810
if 
  Char.IsPlayingAnim(24@, "SEX_1_W")
goto_if_false @GFSEX_10868
Char.SetAnimPlayingFlag(24@, "SEX_1_W", False)
Char.SetAnimCurrentTime(24@, "SEX_1_W", $1224)

:GFSEX_10868
goto @GFSEX_11121

:GFSEX_10875
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "SEX_2_P")
goto_if_false @GFSEX_10933
Char.SetAnimPlayingFlag($stattreadstamina_ctr, "SEX_2_P", False)
Char.SetAnimCurrentTime($stattreadstamina_ctr, "SEX_2_P", $1224)

:GFSEX_10933
if 
  Char.IsPlayingAnim(24@, "SEX_2_W")
goto_if_false @GFSEX_10991
Char.SetAnimPlayingFlag(24@, "SEX_2_W", False)
Char.SetAnimCurrentTime(24@, "SEX_2_W", $1224)

:GFSEX_10991
goto @GFSEX_11121

:GFSEX_10998
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "SEX_3_P")
goto_if_false @GFSEX_11056
Char.SetAnimPlayingFlag($stattreadstamina_ctr, "SEX_3_P", False)
Char.SetAnimCurrentTime($stattreadstamina_ctr, "SEX_3_P", $1224)

:GFSEX_11056
if 
  Char.IsPlayingAnim(24@, "SEX_3_W")
goto_if_false @GFSEX_11114
Char.SetAnimPlayingFlag(24@, "SEX_3_W", False)
Char.SetAnimCurrentTime(24@, "SEX_3_W", $1224)

:GFSEX_11114
goto @GFSEX_11121

:GFSEX_11121
if 
  is_local_var_bit_set_const 9@ {n} 5
goto_if_false @GFSEX_11154
sub_float_lvar_from_float_var $1224 -= 16@
goto @GFSEX_11162

:GFSEX_11154
add_float_lvar_to_float_var $1224 += 16@

:GFSEX_11162
if 
  0.0 >= $1224
goto_if_false @GFSEX_11207
$1224 = 0.01
clear_local_var_bit_const 9@ {n} 5
gosub @GFSEX_11282

:GFSEX_11207
if 
  $1224 >= 1.0
goto_if_false @GFSEX_11252
$1224 = 0.99
set_local_var_bit_const 9@ {n} 5
gosub @GFSEX_11282

:GFSEX_11252
if 
  $1224 == 0.5
goto_if_false @GFSEX_11280
gosub @GFSEX_11282

:GFSEX_11280
return 

:GFSEX_11282
$excitement, $power, $iCensoredVersion, $GF_anim_time = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
cset_lvar_float_to_var_int 17@ =# $power
17@ /= 128.0
if 
  $1224 == 0.5
goto_if_false @GFSEX_11381
if 
  0.0 > 17@
goto_if_false @GFSEX_11372
gosub @GFSEX_11516
goto @GFSEX_11381

:GFSEX_11372
gosub @GFSEX_11621
return 

:GFSEX_11381
if 
  is_local_var_bit_set_const 9@ {n} 5
goto_if_false @GFSEX_11472
Pad.Shake(PadId.Pad1, 200, 100)
set_var_int_to_constant $iGF_TT_driver = 281
set_var_int_to_constant $iGF_TT_Car = 116
if 
  -0.8 > 17@
goto_if_false @GFSEX_11458
gosub @GFSEX_11516
goto @GFSEX_11465

:GFSEX_11458
gosub @GFSEX_11621

:GFSEX_11465
goto @GFSEX_11514

:GFSEX_11472
if 
  17@ > 0.8
goto_if_false @GFSEX_11507
gosub @GFSEX_11516
goto @GFSEX_11514

:GFSEX_11507
gosub @GFSEX_11621

:GFSEX_11514
return 

:GFSEX_11516
if 
  100 > $GF_txtConsoleIn
goto_if_false @GFSEX_11612
if 
  is_local_var_bit_set_const 9@ {n} 6
goto_if_false @GFSEX_11566
$GF_txtConsoleIn += 5
goto @GFSEX_11605

:GFSEX_11566
if 
  is_local_var_bit_set_const 9@ {n} 7
goto_if_false @GFSEX_11598
$GF_txtConsoleIn += 10
goto @GFSEX_11605

:GFSEX_11598
$GF_txtConsoleIn += 1

:GFSEX_11605
goto @GFSEX_11619

:GFSEX_11612
$GF_txtConsoleIn = 100

:GFSEX_11619
return 

:GFSEX_11621
if 
  TIMERB > 5000
goto_if_false @GFSEX_11718
if 
  $GF_txtConsoleIn > 0
goto_if_false @GFSEX_11711
if and
  $GF_txtConsoleIn > 10
  not is_local_var_bit_set_const 9@ {n} 6
goto_if_false @GFSEX_11697
$GF_txtConsoleIn -= 5
goto @GFSEX_11704

:GFSEX_11697
$GF_txtConsoleIn -= 1

:GFSEX_11704
goto @GFSEX_11718

:GFSEX_11711
$GF_txtConsoleIn = 0

:GFSEX_11718
return 

:GFSEX_11720
if 
  18@ > 90.0
goto_if_false @GFSEX_11751
18@ = 0.0

:GFSEX_11751
19@ = Math.Sin(18@)
19@ *= 13.5
cset_lvar_int_to_lvar_float 20@ =# 19@
add_int_var_to_int_lvar 20@ += $1222
if 
  20@ >= 100
goto_if_false @GFSEX_11817
$1222 = 100
goto @GFSEX_11825

:GFSEX_11817
set_var_int_to_lvar_int $1222 = 20@

:GFSEX_11825
18@ += 1.0
return 

:GFSEX_11837
18@ = 0.0
if 
  $1222 >= 97
goto_if_false @GFSEX_11879
$1222 -= 3
goto @GFSEX_11918

:GFSEX_11879
if 
  7 >= $1222
goto_if_false @GFSEX_11911
$1222 = 0
goto @GFSEX_11918

:GFSEX_11911
$1222 -= 7

:GFSEX_11918
return 

:GFSEX_11920
if 
  $1222 >= 97
goto_if_false @GFSEX_11952
set_local_var_bit_const 9@ {n} 10
goto @GFSEX_11959

:GFSEX_11952
clear_local_var_bit_const 9@ {n} 10

:GFSEX_11959
return 

:GFSEX_11961
16@ = 0.025
if 
  is_local_var_bit_set_const 9@ {n} 10
goto_if_false @GFSEX_11999
16@ += 0.015

:GFSEX_11999
$1224 = 0.01
return 

:GFSEX_12011
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "SPANKINGP")
goto_if_false @GFSEX_12075
Char.SetAnimPlayingFlag($stattreadstamina_ctr, "SPANKINGP", False)
Char.SetAnimCurrentTime($stattreadstamina_ctr, "SPANKINGP", $1224)

:GFSEX_12075
if 
  Char.IsPlayingAnim(24@, "SPANKINGW")
goto_if_false @GFSEX_12139
Char.SetAnimPlayingFlag(24@, "SPANKINGW", False)
Char.SetAnimCurrentTime(24@, "SPANKINGW", $1224)

:GFSEX_12139
if 
  not is_local_var_bit_set_const 9@ {n} 5
goto_if_false @GFSEX_12165
add_float_lvar_to_float_var $1224 += 16@

:GFSEX_12165
if 
  $1224 >= 1.0
goto_if_false @GFSEX_12205
$1224 = 0.99
set_local_var_bit_const 9@ {n} 5
return 

:GFSEX_12205
return 

:GFSEX_12207
if 
  is_local_var_bit_set_const 9@ {n} 10
goto_if_false @GFSEX_12279
set_var_int_to_constant $iGF_TT_driver = 283
if 
  100 >= $GF_txtConsoleIn
goto_if_false @GFSEX_12265
$GF_txtConsoleIn += 10
goto @GFSEX_12272

:GFSEX_12265
$GF_txtConsoleIn = 100

:GFSEX_12272
goto @GFSEX_12318

:GFSEX_12279
if 
  $GF_txtConsoleIn >= 10
goto_if_false @GFSEX_12311
$GF_txtConsoleIn -= 10
goto @GFSEX_12318

:GFSEX_12311
$GF_txtConsoleIn = 0

:GFSEX_12318
clear_local_var_bit_const 9@ {n} 10
clear_local_var_bit_const 9@ {n} 11
clear_local_var_bit_const 9@ {n} 12
return 

:GFSEX_12341
if and
  100 > $1222
  $1222 > 0
  is_local_var_bit_set_const 9@ {n} 14
goto_if_false @GFSEX_12382
gosub @GFSEX_11837
return 

:GFSEX_12382
if and
  100 > $1222
  $1222 > 0
  not is_local_var_bit_set_const 9@ {n} 14
goto_if_false @GFSEX_12423
gosub @GFSEX_11720
return 

:GFSEX_12423
if 
  $1222 >= 100
goto_if_false @GFSEX_12464
$1222 = 100
set_local_var_bit_const 9@ {n} 14
gosub @GFSEX_11837
return 

:GFSEX_12464
if 
  0 >= $1222
goto_if_false @GFSEX_12505
$1222 = 0
clear_local_var_bit_const 9@ {n} 14
gosub @GFSEX_11720
return 

:GFSEX_12505
return 

:GFSEX_12507
switch_start $iGF_TT_Status {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @GFSEX_13039 {caseNum1} 0 {caseLabel1} @GFSEX_12570 {caseNum2} 1 {caseLabel2} @GFSEX_12602 {caseNum3} 2 {caseLabel3} @GFSEX_12614 {caseNum4} 3 {caseLabel4} @GFSEX_12628 {caseNum5} 4 {caseLabel5} @GFSEX_12897 {caseNum6} 5 {caseLabel6} @GFSEX_12997 {caseNum7} 6 {caseLabel7} @GFSEX_12806

:GFSEX_12570
if 
  $iGF_TT_driver > 0
goto_if_false @GFSEX_12595
$iGF_TT_Status = 3

:GFSEX_12595
goto @GFSEX_13039

:GFSEX_12602
Char.EnableSpeech(24@)
goto @GFSEX_13039

:GFSEX_12614
Char.DisableSpeech(24@, False)
goto @GFSEX_13039

:GFSEX_12628
if 
  not Char.IsTalking(24@)
goto_if_false @GFSEX_12799
if 
  $iGF_TT_driver > 0
goto_if_false @GFSEX_12739
$iGF_TT_PedModel = Char.SetSayContextImportant(24@, $iGF_TT_driver, True, True, True)
gosub @GFSEX_13041
$iGF_TT_driver = -1
if 
  $iGF_TT_Car > 0
goto_if_false @GFSEX_12725
$iGF_TT_Status = 6
goto @GFSEX_12732

:GFSEX_12725
$iGF_TT_Status = 0

:GFSEX_12732
goto @GFSEX_12799

:GFSEX_12739
if 
  $iGF_TT_driver == -2
goto_if_false @GFSEX_12778
$iGF_TT_driver = -1
$iGF_TT_Status = 6
goto @GFSEX_12799

:GFSEX_12778
$iGF_TT_driver = -1
$iGF_TT_Car = -1
$iGF_TT_Status = 0

:GFSEX_12799
goto @GFSEX_13039

:GFSEX_12806
if and
  not Char.IsTalking($stattreadstamina_ctr)
  not Char.IsTalking(24@)
goto_if_false @GFSEX_12890
if 
  $iGF_TT_Car > 0
goto_if_false @GFSEX_12883
$iGF_TT_PedModel = Char.SetSayContextImportant($stattreadstamina_ctr, $iGF_TT_Car, True, True, True)
$iGF_TT_Car = -1
$iGF_TT_Status = 0
goto @GFSEX_12890

:GFSEX_12883
$iGF_TT_Status = 0

:GFSEX_12890
goto @GFSEX_13039

:GFSEX_12897
Char.DisableSpeech(24@, False)
if 
  not Char.IsTalking(24@)
goto_if_false @GFSEX_12990
if 
  $iGF_TT_driver > 0
goto_if_false @GFSEX_12983
$iGF_TT_PedModel = Char.SetSayContextImportant(24@, $iGF_TT_driver, True, True, True)
gosub @GFSEX_13041
$iGF_TT_driver = -1
$iGF_TT_Status = 5
goto @GFSEX_12990

:GFSEX_12983
$iGF_TT_Status = 0

:GFSEX_12990
goto @GFSEX_13039

:GFSEX_12997
if 
  not Char.IsTalking(24@)
goto_if_false @GFSEX_13032
Char.EnableSpeech(24@)
$iGF_TT_driver = -1
$iGF_TT_Status = 0

:GFSEX_13032
goto @GFSEX_13039

:GFSEX_13039
return 

:GFSEX_13041
switch_start $iGF_TT_driver {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @GFSEX_13200 {caseNum1} 283 {caseLabel1} @GFSEX_13108 {caseNum2} 284 {caseLabel2} @GFSEX_13131 {caseNum3} 285 {caseLabel3} @GFSEX_13154 {caseNum4} 286 {caseLabel4} @GFSEX_13177 {caseNum5} -1 {caseLabel5} @GFSEX_13200 {caseNum6} -1 {caseLabel6} @GFSEX_13200 {caseNum7} -1 {caseLabel7} @GFSEX_13200

:GFSEX_13108
Text.PrintNow('GF_0019', 5000, 1)
goto @GFSEX_13200

:GFSEX_13131
Text.PrintNow('GF_0067', 5000, 1)
goto @GFSEX_13200

:GFSEX_13154
Text.PrintNow('GF_0042', 5000, 1)
goto @GFSEX_13200

:GFSEX_13177
Text.PrintNow('GF_0067', 5000, 1)
goto @GFSEX_13200

:GFSEX_13200
return 

:GFSEX_13202
switch_start 0@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @GFSEX_13667 {caseNum1} 0 {caseLabel1} @GFSEX_13265 {caseNum2} 1 {caseLabel2} @GFSEX_13399 {caseNum3} 2 {caseLabel3} @GFSEX_13466 {caseNum4} 3 {caseLabel4} @GFSEX_13332 {caseNum5} 4 {caseLabel5} @GFSEX_13533 {caseNum6} 5 {caseLabel6} @GFSEX_13600 {caseNum7} -1 {caseLabel7} @GFSEX_13667

:GFSEX_13265
10@ = 2394.408
12@ = -1728.215
14@ = 14.2715
11@ = 2395.066
13@ = -1727.465
15@ = 14.2063
goto @GFSEX_13667

:GFSEX_13332
10@ = -1401.494
12@ = 2640.099
14@ = 59.3883
11@ = -1400.704
13@ = 2639.641
15@ = 58.9806
goto @GFSEX_13667

:GFSEX_13399
10@ = -1799.737
12@ = 1192.863
14@ = 29.6868
11@ = -1799.472
13@ = 1193.683
15@ = 29.1813
goto @GFSEX_13667

:GFSEX_13466
10@ = -383.3153
12@ = -1435.266
14@ = 26.695
11@ = -382.5756
13@ = -1435.887
15@ = 26.4366
goto @GFSEX_13667

:GFSEX_13533
10@ = -2582.293
12@ = 1147.762
14@ = 59.6235
11@ = -2581.406
13@ = 1147.768
15@ = 59.1605
goto @GFSEX_13667

:GFSEX_13600
10@ = 2032.235
12@ = 2734.541
14@ = 13.3226
11@ = 2032.744
13@ = 2733.714
15@ = 13.0817
goto @GFSEX_13667

:GFSEX_13667
return 

:GFSEX_13669
Streaming.RemoveAnimation("SNM")
Streaming.RemoveAnimation("SEX")
Streaming.RemoveAnimation("BLOWJOBZ")
Streaming.RemoveAnimation("KISSING")
Streaming.UnloadSpecialCharacter(1)
Char.Delete(24@)
if 
  not Car.IsDead(25@)
goto_if_false @GFSEX_13751
Car.SetProofs(25@, False, False, False, False, False)
Car.MarkAsNoLongerNeeded(25@)

:GFSEX_13751
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @GFSEX_13805
Char.SetVisible($stattreadstamina_ctr, True)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Char.ClearTasks($stattreadstamina_ctr)
Player.SetControl($statbike_temp, True)
Hud.SwitchWidescreen(False)

:GFSEX_13805
Hud.DisplayRadar(True)
set_global_var_bit_const $iGFBonusPickupID {n} 21
clear_global_var_bit_const $iGFBonusPickupID {n} 5
Game.SetMinigameInProgress(False)
terminate_this_script 
return 
write_debug "I__________________________I"
write_debug "H"
write_debug "G"
write_debug_with_float "STICK_POSITION" {_p2} 17@
write_debug_with_int "SHAGGIN_POSITION" {_p2} 22@
write_debug_with_int "I_EXCITEMENT" {_p2} $GF_txtConsoleIn
write_debug_with_float "ANIM_TIME" {_p2} $1224
write_debug_with_int "SUBSTATESTATUS" {_p2} 8@
switch_start 7@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @GFSEX_14131 {caseNum1} 0 {caseLabel1} @GFSEX_14036 {caseNum2} 1 {caseLabel2} @GFSEX_14055 {caseNum3} 2 {caseLabel3} @GFSEX_14074 {caseNum4} 3 {caseLabel4} @GFSEX_14093 {caseNum5} 4 {caseLabel5} @GFSEX_14112 {caseNum6} -1 {caseLabel6} @GFSEX_14160 {caseNum7} -1 {caseLabel7} @GFSEX_14160

:GFSEX_14036
write_debug "STATE0__"
goto @GFSEX_14160

:GFSEX_14055
write_debug "STATE1__"
goto @GFSEX_14160

:GFSEX_14074
write_debug "STATE2__"
goto @GFSEX_14160

:GFSEX_14093
write_debug "STATE3__"
goto @GFSEX_14160

:GFSEX_14112
write_debug "STATE4__"
goto @GFSEX_14160

:GFSEX_14131
write_debug "UNTRAPPED_STATE___"
goto @GFSEX_14160

:GFSEX_14160
write_debug "I__________________________I"
return 
terminate_this_script 

//-------------External script 27 (CASINO_AMBIENCE)---------------

:CASAMB
script_name 'CASAMB'
if 
  $weapon_shop1_blip == 0
goto_if_false @CASAMB_43
$iPrintStripperHelp = 0
$iThrowMoneyState = 0

:CASAMB_43
1@ = 1
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "MAFCAS"
goto_if_false @CASAMB_91
Streaming.RequestModel(124)
Streaming.RequestModel(126)
Streaming.RequestModel(125)
Streaming.RequestModel(214)

:CASAMB_91
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "TRICAS"
goto_if_false @CASAMB_130
Streaming.RequestModel(163)
Streaming.RequestModel(164)
Streaming.RequestModel(263)

:CASAMB_130
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "CASINO2"
goto_if_false @CASAMB_170
Streaming.RequestModel(163)
Streaming.RequestModel(164)
Streaming.RequestModel(172)

:CASAMB_170
Streaming.RequestAnimation("BAR")

:CASAMB_177
if 
  not Streaming.HasAnimationLoaded("BAR")
goto_if_false @CASAMB_206
wait 0
goto @CASAMB_177

:CASAMB_206
2@ = Sequence.Open()
Task.PlayAnim(-1, "BARSERVE_IN", "BAR", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "BARSERVE_LOOP", "BAR", 4.0, True, False, False, False, 10000)
Sequence.Close(2@)
3@ = Sequence.Open()
Task.PlayAnim(-1, "BARSERVE_BOTTLE", "BAR", 4.0, False, False, False, False, -1)
Sequence.Close(3@)
4@ = Sequence.Open()
Task.WanderStandard(-1)
Sequence.Close(4@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CASAMB_1779
Player.ResetNumOfModelsKilled($statbike_temp)
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "TRICAS"
goto_if_false @CASAMB_928
5@ = Attractor.Add(1953.774, 1018.197, 991.4766, 260.0, 90.0, 2@)
6@ = Attractor.Add(1952.286, 1025.58, 991.4745, 260.0, 90.0, 2@)
7@ = Attractor.Add(1952.3, 1010.296, 991.4745, 260.0, 90.0, 2@)
8@ = Attractor.Add(1952.25, 1017.92, 991.4766, 90.0, 260.0, 3@)
9@ = Attractor.Add(1948.073, 1016.505, 991.4766, 90.0, 180.0, 2@)
10@ = Attractor.Add(1948.564, 1022.182, 991.4766, 90.0, 180.0, 2@)
11@ = Attractor.Add(1949.246, 1013.613, 991.4766, 90.0, 180.0, 2@)
12@ = Attractor.Add(1949.0, 1015.8, 991.4766, 275.0, 85.0, 3@)
16@ = Char.CreateAtAttractor(PedType.CivFemale, 263, 5@, 1466)
17@ = Char.CreateAtAttractor(PedType.CivFemale, 263, 9@, 1466)
StreamedScript.StartNew(38, 16@, 5@, 6@, 7@, 8@, 2.5)
StreamedScript.StartNew(38, 17@, 9@, 10@, 11@, 12@, 2.5)
StreamedScript.Stream(38)
13@ = Attractor.Add(1966.539, 984.8237, 993.4688, 270.0, 270.0, 4@)
14@ = Attractor.Add(1932.395, 1033.886, 993.4688, 60.0, 300.0, 4@)
15@ = Attractor.Add(1959.094, 993.7656, 991.4766, 240.0, 240.0, 4@)
18@ = Char.CreateAtAttractor(PedType.Cop, 163, 13@, 1502)
19@ = Char.CreateAtAttractor(PedType.Cop, 164, 14@, 1502)
20@ = Char.CreateAtAttractor(PedType.Cop, 163, 15@, 1502)
StreamedScript.StartNew(39, 18@)
StreamedScript.StartNew(39, 19@)
StreamedScript.StartNew(39, 20@)
StreamedScript.Stream(39)

:CASAMB_928
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "MAFCAS"
goto_if_false @CASAMB_1474
5@ = Attractor.Add(2195.73, 1600.786, 1004.063, 206.0, -206.0, 2@)
6@ = Attractor.Add(2197.012, 1602.852, 1004.063, 253.0, -253.0, 2@)
7@ = Attractor.Add(2195.786, 1606.363, 1004.063, 349.0, -349.0, 2@)
8@ = Attractor.Add(2196.137, 1603.521, 1004.063, 98.0, -98.0, 3@)
9@ = Attractor.Add(2191.592, 1601.286, 1004.063, 151.0, -151.0, 2@)
10@ = Attractor.Add(2191.176, 1604.874, 1004.063, 58.0, -58.0, 2@)
11@ = Attractor.Add(2192.425, 1606.971, 1004.063, 40.0, -40.0, 2@)
12@ = Attractor.Add(2192.954, 1605.687, 1004.069, 207.0, -207.0, 3@)
16@ = Char.CreateAtAttractor(PedType.CivFemale, 214, 5@, 1466)
17@ = Char.CreateAtAttractor(PedType.CivFemale, 214, 9@, 1466)
StreamedScript.StartNew(38, 16@, 5@, 6@, 7@, 8@, 3.5)
StreamedScript.StartNew(38, 17@, 9@, 10@, 11@, 12@, 3.5)
StreamedScript.Stream(38)
13@ = Attractor.Add(2247.869, 1624.467, 1007.367, 152.0, -152.0, 4@)
14@ = Attractor.Add(2247.349, 1583.257, 1007.366, 358.0, -358.0, 4@)
15@ = Attractor.Add(2164.643, 1582.151, 1007.359, 13.0, -13.0, 4@)
18@ = Char.CreateAtAttractor(PedType.Cop, 124, 13@, 1502)
19@ = Char.CreateAtAttractor(PedType.Cop, 125, 14@, 1502)
20@ = Char.CreateAtAttractor(PedType.Cop, 126, 15@, 1502)
StreamedScript.StartNew(39, 18@)
StreamedScript.StartNew(39, 19@)
StreamedScript.StartNew(39, 20@)
StreamedScript.Stream(39)

:CASAMB_1474
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "CASINO2"
goto_if_false @CASAMB_1779
5@ = Attractor.Add(1141.206, -5.9198, 999.6719, 81.0, -81.0, 2@)
6@ = Attractor.Add(1141.831, -8.994, 999.6797, 94.0, -94.0, 2@)
7@ = Attractor.Add(1141.161, 1.224, 999.6719, 110.0, -110.0, 2@)
8@ = Attractor.Add(1141.159, -3.9906, 999.6797, 93.0, -93.0, 3@)
16@ = Char.CreateAtAttractor(PedType.CivFemale, 172, 5@, 1466)
StreamedScript.StartNew(38, 16@, 5@, 6@, 7@, 8@, 2.0)
StreamedScript.Stream(38)
9@ = -1
10@ = -1
11@ = -1
12@ = -1
13@ = Attractor.Add(1143.677, 6.4929, 999.6797, 71.0, -71.0, 4@)
18@ = Char.CreateAtAttractor(PedType.Cop, 163, 13@, 1502)
StreamedScript.StartNew(39, 18@)
StreamedScript.Stream(39)
14@ = -1
15@ = -1

:CASAMB_1779
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CASAMB_3006
$1254 = Char.GetAreaVisible($stattreadstamina_ctr)
if or
  $1254 == 0
  $1253 == 1
goto_if_false @CASAMB_1835
goto @CASAMB_3017

:CASAMB_1835
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @CASAMB_1865
$iPrintStripperHelp = 1
$iThrowMoneyState = 1

:CASAMB_1865
0@ = Player.GetTotalNumberOfPedsKilled($statbike_temp)
if 
  0@ > 0
goto_if_false @CASAMB_1898
$iThrowMoneyState = 1

:CASAMB_1898
if 
  Player.IsWantedLevelGreater($statbike_temp, $1263)
goto_if_false @CASAMB_1924
$iThrowMoneyState = 1

:CASAMB_1924
0@ = 0

:CASAMB_1931
if 
  not Char.IsDead(16@(0@,11i))
goto_if_false @CASAMB_2039
if and
  Player.IsTargetingChar($statbike_temp, 16@(0@,11i))
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.AnyMelee)
goto_if_false @CASAMB_2002
$iPrintStripperHelp = 1
$iThrowMoneyState = 1
goto @CASAMB_2039

:CASAMB_2002
if 
  Char.HasBeenDamagedByChar(16@(0@,11i), $stattreadstamina_ctr)
goto_if_false @CASAMB_2039
$iPrintStripperHelp = 1
$iThrowMoneyState = 1

:CASAMB_2039
0@ += 1
  0@ >= 11
goto_if_false @CASAMB_1931
if 
  $iPrintStripperHelp == 1
goto_if_false @CASAMB_2144
$iThrowMoneyState = 1
0@ = World.GetRandomCharInSphereNoBrain(27@, 28@, 29@, 50.0)
if 
  0@ > -1
goto_if_false @CASAMB_2144
1@ += 1
StreamedScript.StartNew(37, 0@, 1@)
StreamedScript.Stream(37)

:CASAMB_2144
if 
  $iThrowMoneyState == 1
goto_if_false @CASAMB_3006
if and
  Char.IsDead(18@)
  13@ <> -1
goto_if_false @CASAMB_2480
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "TRICAS"
goto_if_false @CASAMB_2239
27@ = 1966.539
28@ = 984.8237
29@ = 993.4688

:CASAMB_2239
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "MAFCAS"
goto_if_false @CASAMB_2293
27@ = 2247.869
28@ = 1624.467
29@ = 1007.367

:CASAMB_2293
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "CASINO2"
goto_if_false @CASAMB_2348
27@ = 1143.677
28@ = 6.4929
29@ = 999.6797

:CASAMB_2348
if and
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 27@, 28@, 29@, 8.0, 8.0, 8.0, False)
  not Camera.IsPointOnScreen(27@, 28@, 29@, 3.0)
goto_if_false @CASAMB_2480
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "MAFCAS"
goto_if_false @CASAMB_2452
18@ = Char.CreateAtAttractor(PedType.CivMale, 124, 13@, 1502)
goto @CASAMB_2468

:CASAMB_2452
18@ = Char.CreateAtAttractor(PedType.Cop, 163, 13@, 1502)

:CASAMB_2468
StreamedScript.StartNew(39, 18@)
StreamedScript.Stream(39)

:CASAMB_2480
if and
  Char.IsDead(19@)
  14@ <> -1
goto_if_false @CASAMB_2743
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "TRICAS"
goto_if_false @CASAMB_2557
27@ = 1932.395
28@ = 1033.886
29@ = 993.4688

:CASAMB_2557
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "MAFCAS"
goto_if_false @CASAMB_2611
27@ = 2247.349
28@ = 1583.257
29@ = 1007.366

:CASAMB_2611
if and
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 27@, 28@, 29@, 8.0, 8.0, 8.0, False)
  not Camera.IsPointOnScreen(27@, 28@, 29@, 3.0)
goto_if_false @CASAMB_2743
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "MAFCAS"
goto_if_false @CASAMB_2715
19@ = Char.CreateAtAttractor(PedType.Cop, 125, 14@, 1502)
goto @CASAMB_2731

:CASAMB_2715
19@ = Char.CreateAtAttractor(PedType.Cop, 164, 14@, 1502)

:CASAMB_2731
StreamedScript.StartNew(39, 19@)
StreamedScript.Stream(39)

:CASAMB_2743
if and
  Char.IsDead(20@)
  15@ <> -1
goto_if_false @CASAMB_3006
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "TRICAS"
goto_if_false @CASAMB_2820
27@ = 1959.094
28@ = 993.7656
29@ = 991.4766

:CASAMB_2820
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "MAFCAS"
goto_if_false @CASAMB_2874
27@ = 2164.643
28@ = 1582.151
29@ = 1007.359

:CASAMB_2874
if and
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 27@, 28@, 29@, 8.0, 8.0, 8.0, False)
  not Camera.IsPointOnScreen(27@, 28@, 29@, 3.0)
goto_if_false @CASAMB_3006
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "MAFCAS"
goto_if_false @CASAMB_2978
20@ = Char.CreateAtAttractor(PedType.CivMale, 126, 15@, 1502)
goto @CASAMB_2994

:CASAMB_2978
20@ = Char.CreateAtAttractor(PedType.Cop, 164, 15@, 1502)

:CASAMB_2994
StreamedScript.StartNew(39, 20@)
StreamedScript.Stream(39)

:CASAMB_3006
wait 0
goto @CASAMB_1779

:CASAMB_3017
0@ = 0

:CASAMB_3024
Char.MarkAsNoLongerNeeded(16@(0@,11i))
Char.Delete(16@(0@,11i))
0@ += 1
  0@ >= 11
goto_if_false @CASAMB_3024
0@ = 0

:CASAMB_3070
if 
  5@(0@,11i) <> -1
goto_if_false @CASAMB_3101
Attractor.Clear(5@(0@,11i))

:CASAMB_3101
0@ += 1
  0@ >= 11
goto_if_false @CASAMB_3070
Streaming.RemoveAnimation("BAR")
Streaming.MarkModelAsNoLongerNeeded(214)
Streaming.MarkModelAsNoLongerNeeded(263)
Streaming.MarkModelAsNoLongerNeeded(172)
Streaming.MarkModelAsNoLongerNeeded(163)
Streaming.MarkModelAsNoLongerNeeded(164)
Streaming.MarkModelAsNoLongerNeeded(124)
Streaming.MarkModelAsNoLongerNeeded(125)
Streaming.MarkModelAsNoLongerNeeded(126)
Sequence.Clear(2@)
Sequence.Clear(3@)
Sequence.Clear(4@)
terminate_this_script 
terminate_this_script 

//-------------External script 28 (BAR_AMBIENCE)---------------

:BAR
script_name 'BAR'
if and
  $weapon_shop1_blip == 0
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @BAR_50
$iLapDancesWatched = 0
$5301 = 0

:BAR_50
0@ = 0
if 
  0@ > 0
goto_if_false @BAR_99
$iGFContextVariation = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:BAR_99
1@ = 1
2@ = 0
0@ = Stat.GetInt(StatId.LatestDanceScore)
if 
  0@ >= 7500
goto_if_false @BAR_154
15@ = 3
goto @BAR_161

:BAR_154
15@ = 0

:BAR_161
gosub @BAR_2146
4@ = Sequence.Open()
Task.PlayAnim(-1, "BARSERVE_IN", "BAR", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "BARSERVE_LOOP", "BAR", 4.0, True, False, False, False, 10000)
Sequence.Close(4@)
5@ = Sequence.Open()
Task.PlayAnim(-1, "BARSERVE_BOTTLE", "BAR", 4.0, False, False, False, False, -1)
Sequence.Close(5@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BAR_944
v$iGlobalPedPanicDM = Char.GetNameOfEntryExitUsed($stattreadstamina_ctr)
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "BAR1"
goto_if_false @BAR_534
6@ = Attractor.Add(502.2242, -19.8799, 999.6797, 107.0, -107.0, 4@)
7@ = Attractor.Add(502.0665, -24.1488, 999.6797, 94.0, -94.0, 4@)
8@ = Attractor.Add(502.0757, -17.2798, 999.6719, 85.0, -85.0, 4@)
9@ = Attractor.Add(502.3116, -19.8236, 999.6797, 278.6, -278.6, 5@)
10@ = Char.CreateAtAttractor(PedType.CivFemale, 172, 6@, 1466)
StreamedScript.StartNew(38, 10@, 6@, 7@, 8@, 9@, 2.5, 20.0)
StreamedScript.Stream(38)

:BAR_534
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "BAR2"
goto_if_false @BAR_738
6@ = Attractor.Add(497.9362, -78.0533, 997.7651, 1.0, -1.0, 4@)
7@ = Attractor.Add(493.9349, -77.9233, 997.7651, 100.5, -100.5, 4@)
8@ = Attractor.Add(501.2002, -77.739, 997.7651, 19.0, -19.0, 4@)
9@ = Attractor.Add(496.5553, -78.7725, 997.7651, 194.5, -194.5, 5@)
10@ = Char.CreateAtAttractor(PedType.CivFemale, 172, 6@, 1466)
StreamedScript.StartNew(38, 10@, 6@, 7@, 8@, 9@, 2.5, 20.0)
StreamedScript.Stream(38)

:BAR_738
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "UFOBAR"
goto_if_false @BAR_944
6@ = Attractor.Add(-223.2594, 1405.634, 26.7656, 86.9, 262.0, 4@)
7@ = Attractor.Add(-223.26, 1402.984, 26.7656, 145.4, 327.0, 4@)
8@ = Attractor.Add(-223.2956, 1407.486, 26.7656, 26.0, 184.0, 4@)
9@ = Attractor.Add(-222.6826, 1405.787, 26.7656, 275.7, 97.0, 5@)
10@ = Char.CreateAtAttractor(PedType.CivFemale, 172, 6@, 1466)
StreamedScript.StartNew(38, 10@, 6@, 7@, 8@, 9@, 2.5, 20.0)
StreamedScript.Stream(38)

:BAR_944
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BAR_2139
$1254 = Char.GetAreaVisible($stattreadstamina_ctr)
if or
  $1254 == 0
  $1253 == 1
goto_if_false @BAR_1004
goto @BAR_2225

:BAR_1004
if and
  $5301 == 0
  $weapon_shop1_blip == 0
  2@ == 0
goto_if_false @BAR_1462
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "BAR1"
goto_if_false @BAR_1455
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 488.0048, -14.0754, 999.6797, 1.5, 1.5, 1.5, True)
goto_if_false @BAR_1455
Text.ClearHelp
Text.ClearPrints
if 
  is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @BAR_1286
0@ = Stat.GetInt(StatId.LatestDanceScore)
if 
  0@ >= 3500
goto_if_false @BAR_1169
3@ = 3
goto @BAR_1244

:BAR_1169
if 
  0@ >= 6000
goto_if_false @BAR_1202
3@ = 4
goto @BAR_1244

:BAR_1202
if 
  0@ >= 7500
goto_if_false @BAR_1237
3@ = Math.RandomIntInRange(1, 5)
goto @BAR_1244

:BAR_1237
3@ = 2

:BAR_1244
StreamedScript.StartNew(35, 488.0048, -14.0754, 999.6797, 180.0, 3@, $iGFContextVariation)
StreamedScript.Stream(35)
goto @BAR_1441

:BAR_1286
switch_start 15@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @BAR_1407 {caseNum1} 0 {caseLabel1} @BAR_1349 {caseNum2} 1 {caseLabel2} @BAR_1363 {caseNum3} 2 {caseLabel3} @BAR_1377 {caseNum4} 3 {caseLabel4} @BAR_1391 {caseNum5} -1 {caseLabel5} @BAR_1407 {caseNum6} -1 {caseLabel6} @BAR_1407 {caseNum7} -1 {caseLabel7} @BAR_1407

:BAR_1349
3@ = 2
goto @BAR_1407

:BAR_1363
3@ = 3
goto @BAR_1407

:BAR_1377
3@ = 4
goto @BAR_1407

:BAR_1391
3@ = Math.RandomIntInRange(1, 5)
goto @BAR_1407

:BAR_1407
StreamedScript.StartNew(35, 488.0048, -14.0754, 999.6797, 180.0, 3@, 0)
StreamedScript.Stream(35)

:BAR_1441
2@ = 1
16@ = 0

:BAR_1455
goto @BAR_1884

:BAR_1462
if and
  $5301 == 0
  $weapon_shop1_blip == 0
  2@ == 1
goto_if_false @BAR_1884
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "BAR1"
goto_if_false @BAR_1884
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, 488.0048, -14.0754, 999.6797, 2.5, 2.5, 2.5, False)
goto_if_false @BAR_1578
2@ = 0
goto @BAR_1884

:BAR_1578
if and
  not Game.IsMinigameInProgress
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
  16@ == 0
goto_if_false @BAR_1884
switch_start 15@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @BAR_1884 {caseNum1} 0 {caseLabel1} @BAR_1668 {caseNum2} 1 {caseLabel2} @BAR_1740 {caseNum3} 2 {caseLabel3} @BAR_1812 {caseNum4} -1 {caseLabel4} @BAR_1884 {caseNum5} -1 {caseLabel5} @BAR_1884 {caseNum6} -1 {caseLabel6} @BAR_1884 {caseNum7} -1 {caseLabel7} @BAR_1884

:BAR_1668
if 
  $5300 >= 3500
goto_if_false @BAR_1733
Text.PrintBig('DNC_P1', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DNC_P2', 10000, 1)
16@ = 1
15@ += 1

:BAR_1733
goto @BAR_1884

:BAR_1740
if 
  $5300 >= 6000
goto_if_false @BAR_1805
Text.PrintBig('DNC_P1', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DNC_P2', 10000, 1)
16@ = 1
15@ += 1

:BAR_1805
goto @BAR_1884

:BAR_1812
if 
  $5300 >= 7500
goto_if_false @BAR_1877
Text.PrintBig('DNC_P1', 5000, TextStyle.MiddleSmaller)
Text.PrintNow('DNC_P3', 10000, 1)
16@ = 1
15@ += 1

:BAR_1877
goto @BAR_1884

:BAR_1884
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @BAR_1907
$iLapDancesWatched = 1

:BAR_1907
if 
  Player.IsWantedLevelGreater($statbike_temp, $1263)
goto_if_false @BAR_1933
$iLapDancesWatched = 1

:BAR_1933
0@ = 0

:BAR_1940
if 
  not Char.IsDead(10@(0@,2i))
goto_if_false @BAR_2034
if and
  Player.IsTargetingChar($statbike_temp, 10@(0@,2i))
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.AnyMelee)
goto_if_false @BAR_2004
$iLapDancesWatched = 1
goto @BAR_2034

:BAR_2004
if 
  Char.HasBeenDamagedByChar(10@(0@,2i), $stattreadstamina_ctr)
goto_if_false @BAR_2034
$iLapDancesWatched = 1

:BAR_2034
0@ += 1
  0@ >= 2
goto_if_false @BAR_1940
if 
  $iLapDancesWatched == 1
goto_if_false @BAR_2139
$5301 = 1
0@ = World.GetRandomCharInSphereNoBrain(12@, 13@, 14@, 50.0)
if 
  0@ > -1
goto_if_false @BAR_2139
1@ += 1
StreamedScript.StartNew(37, 0@, 1@)
StreamedScript.Stream(37)

:BAR_2139
goto @BAR_944

:BAR_2146
Streaming.RequestModel(172)
Streaming.RequestAnimation("BAR")
Streaming.RequestAnimation("DANCING")
if and
  Streaming.HasModelLoaded(172)
  Streaming.HasAnimationLoaded("BAR")
  Streaming.HasAnimationLoaded("DANCING")
goto_if_false @BAR_2212
return 
goto @BAR_2223

:BAR_2212
wait 0
goto @BAR_2146

:BAR_2223
return 

:BAR_2225
0@ = 0

:BAR_2232
Char.MarkAsNoLongerNeeded(10@(0@,2i))
Char.Delete(10@(0@,2i))
0@ += 1
  0@ >= 2
goto_if_false @BAR_2232
0@ = 0

:BAR_2278
if 
  6@(0@,4i) <> -1
goto_if_false @BAR_2309
Attractor.Clear(6@(0@,4i))

:BAR_2309
0@ += 1
  0@ >= 4
goto_if_false @BAR_2278
Streaming.MarkModelAsNoLongerNeeded(172)
Sequence.Clear(4@)
Sequence.Clear(5@)
Streaming.RemoveAnimation("BAR")
Streaming.RemoveAnimation("DANCING")
terminate_this_script 
terminate_this_script 

//-------------External script 29 (FOODBRAINS)---------------

:PSHOP
script_name 'PSHOP'
$tray_offX = 0
switch_start 0@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @PSHOP_552 {caseNum1} 0 {caseLabel1} @PSHOP_81 {caseNum2} 1 {caseLabel2} @PSHOP_238 {caseNum3} 2 {caseLabel3} @PSHOP_395 {caseNum4} -1 {caseLabel4} @PSHOP_552 {caseNum5} -1 {caseLabel5} @PSHOP_552 {caseNum6} -1 {caseLabel6} @PSHOP_552 {caseNum7} -1 {caseLabel7} @PSHOP_552

:PSHOP_81
3@ = 377.3
4@ = -117.182
5@ = 1000.637
6@ = 180.0
7@ = 360.0
set_lvar_int_to_constant 11@ = 155
Streaming.RequestModel(11@)
Streaming.RequestModel(#PIZZAHIGH)
Streaming.RequestModel(#CJ_PIZZA_2)

:PSHOP_152
if 
  not Streaming.HasModelLoaded(11@)
goto_if_false @PSHOP_179
wait 0
goto @PSHOP_152

:PSHOP_179
if 
  not Streaming.HasModelLoaded(#PIZZAHIGH)
goto_if_false @PSHOP_205
wait 0
goto @PSHOP_179

:PSHOP_205
if 
  not Streaming.HasModelLoaded(#CJ_PIZZA_2)
goto_if_false @PSHOP_231
wait 0
goto @PSHOP_205

:PSHOP_231
goto @PSHOP_552

:PSHOP_238
3@ = 371.5365
4@ = -4.4935
5@ = 1000.859
6@ = 180.0
7@ = 360.0
set_lvar_int_to_constant 11@ = 167
Streaming.RequestModel(11@)
Streaming.RequestModel(#BURGERHIGH)
Streaming.RequestModel(#CJ_BURG_2)

:PSHOP_309
if 
  not Streaming.HasModelLoaded(11@)
goto_if_false @PSHOP_336
wait 0
goto @PSHOP_309

:PSHOP_336
if 
  not Streaming.HasModelLoaded(#BURGERHIGH)
goto_if_false @PSHOP_362
wait 0
goto @PSHOP_336

:PSHOP_362
if 
  not Streaming.HasModelLoaded(#CJ_BURG_2)
goto_if_false @PSHOP_388
wait 0
goto @PSHOP_362

:PSHOP_388
goto @PSHOP_552

:PSHOP_395
3@ = 378.4146
4@ = -65.8567
5@ = 1000.508
6@ = 180.0
7@ = 360.0
set_lvar_int_to_constant 11@ = 205
Streaming.RequestModel(11@)
Streaming.RequestModel(#BURGERHIGH)
Streaming.RequestModel(#CJ_BURG_2)

:PSHOP_466
if 
  not Streaming.HasModelLoaded(11@)
goto_if_false @PSHOP_493
wait 0
goto @PSHOP_466

:PSHOP_493
if 
  not Streaming.HasModelLoaded(#BURGERHIGH)
goto_if_false @PSHOP_519
wait 0
goto @PSHOP_493

:PSHOP_519
if 
  not Streaming.HasModelLoaded(#CJ_BURG_2)
goto_if_false @PSHOP_545
wait 0
goto @PSHOP_519

:PSHOP_545
goto @PSHOP_552

:PSHOP_552
8@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.StandStill(-1, -2)
Sequence.Close(8@)
9@ = Attractor.Add(3@, 4@, 5@, 6@, 7@, 8@)
10@ = Char.CreateAtAttractor(PedType.CivMale, 11@, 9@, 1466)
StreamedScript.StartNew(36, 10@, 9@)
StreamedScript.Stream(36)

:PSHOP_628
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PSHOP_873
$1254 = Char.GetAreaVisible($stattreadstamina_ctr)
if or
  $1254 == 0
  $1253 == 1
goto_if_false @PSHOP_684
gosub @PSHOP_884

:PSHOP_684
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @PSHOP_707
$tray_offX = 1

:PSHOP_707
if 
  not Char.IsDead(10@)
goto_if_false @PSHOP_782
if 
  Player.IsTargetingChar($statbike_temp, 10@)
goto_if_false @PSHOP_756
$tray_offX = 1
goto @PSHOP_782

:PSHOP_756
if 
  Char.HasBeenDamagedByChar(10@, $stattreadstamina_ctr)
goto_if_false @PSHOP_782
$tray_offX = 1

:PSHOP_782
if 
  $tray_offX == 1
goto_if_false @PSHOP_873
3@, 4@, 5@ = Char.GetCoordinates($stattreadstamina_ctr)
1@ = World.GetRandomCharInSphereNoBrain(3@, 4@, 5@, 20.0)
if 
  1@ > -1
goto_if_false @PSHOP_873
2@ += 1
StreamedScript.StartNew(37, 1@, 2@)
StreamedScript.Stream(37)

:PSHOP_873
wait 0
goto @PSHOP_628

:PSHOP_884
$tray_offX = 0
Char.MarkAsNoLongerNeeded(10@)
Streaming.MarkModelAsNoLongerNeeded(155)
Streaming.MarkModelAsNoLongerNeeded(167)
Streaming.MarkModelAsNoLongerNeeded(205)
Streaming.MarkModelAsNoLongerNeeded(#PIZZAHIGH)
Streaming.MarkModelAsNoLongerNeeded(#BURGERHIGH)
Streaming.MarkModelAsNoLongerNeeded(#CJ_PIZZA_2)
Streaming.MarkModelAsNoLongerNeeded(#CJ_BURG_2)
Char.Delete(10@)
Attractor.Clear(9@)
Sequence.Clear(8@)
terminate_this_script 
terminate_this_script 

//-------------External script 30 (OTB_AMBIENCE)---------------

:OTBSHP
script_name 'OTBSHP'
if 
  $weapon_shop1_blip == 0
goto_if_false @OTBSHP_36
$2885 = 0

:OTBSHP_36
1@ = 1
Streaming.RequestModel(11)
Streaming.RequestModel(172)

:OTBSHP_52
if 
  not Streaming.HasModelLoaded(172)
goto_if_false @OTBSHP_79
wait 0
goto @OTBSHP_52

:OTBSHP_79
if 
  not Streaming.HasModelLoaded(11)
goto_if_false @OTBSHP_105
wait 0
goto @OTBSHP_79

:OTBSHP_105
2@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.StandStill(-1, -2)
Sequence.Close(2@)
3@ = Attractor.Add(820.3698, -0.3935, 1003.18, 270.0, 90.0, 2@)
4@ = Attractor.Add(820.133, 4.2015, 1003.18, 270.0, 90.0, 2@)
5@ = Attractor.Add(820.3185, 6.4021, 1003.18, 270.0, 90.0, 2@)
6@ = Attractor.Add(820.0, 2.0, 1003.0, 270.0, 90.0, 2@)
7@ = Char.CreateAtAttractor(PedType.CivFemale, 172, 3@, 1466)
8@ = Char.CreateAtAttractor(PedType.CivFemale, 11, 4@, 1466)
9@ = Char.CreateAtAttractor(PedType.CivFemale, 172, 5@, 1466)
10@ = Char.CreateAtAttractor(PedType.CivFemale, 11, 6@, 1466)
StreamedScript.StartNew(40, 7@, 3@)
StreamedScript.StartNew(40, 8@, 4@)
StreamedScript.StartNew(40, 9@, 5@)
StreamedScript.StartNew(40, 10@, 6@)
StreamedScript.Stream(40)

:OTBSHP_369
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @OTBSHP_655
$1254 = Char.GetAreaVisible($stattreadstamina_ctr)
if or
  $1254 == 0
  $1253 == 1
goto_if_false @OTBSHP_425
goto @OTBSHP_666

:OTBSHP_425
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsWantedLevelGreater($statbike_temp, $1263)
goto_if_false @OTBSHP_456
$2885 = 1

:OTBSHP_456
0@ = 0

:OTBSHP_463
if 
  not Char.IsDead(7@(0@,4i))
goto_if_false @OTBSHP_557
if and
  Player.IsTargetingChar($statbike_temp, 7@(0@,4i))
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.AnyMelee)
goto_if_false @OTBSHP_527
$2885 = 1
goto @OTBSHP_557

:OTBSHP_527
if 
  Char.HasBeenDamagedByChar(7@(0@,4i), $stattreadstamina_ctr)
goto_if_false @OTBSHP_557
$2885 = 1

:OTBSHP_557
0@ += 1
  0@ >= 4
goto_if_false @OTBSHP_463
if 
  $2885 == 1
goto_if_false @OTBSHP_655
0@ = World.GetRandomCharInSphereNoBrain(11@, 12@, 13@, 20.0)
if 
  0@ > -1
goto_if_false @OTBSHP_655
1@ += 1
StreamedScript.StartNew(37, 0@, 1@)
StreamedScript.Stream(37)

:OTBSHP_655
wait 0
goto @OTBSHP_369

:OTBSHP_666
0@ = 0

:OTBSHP_673
Char.MarkAsNoLongerNeeded(7@(0@,4i))
Char.Delete(7@(0@,4i))
Attractor.Clear(3@(0@,4i))
0@ += 1
  0@ >= 4
goto_if_false @OTBSHP_673
Streaming.MarkModelAsNoLongerNeeded(172)
Streaming.MarkModelAsNoLongerNeeded(11)
Sequence.Clear(2@)
terminate_this_script 
terminate_this_script 

//-------------External script 31 (STRIP_AMBIENCE)---------------

:STRIP
script_name 'STRIP'
if 
  $weapon_shop1_blip == 0
goto_if_false @STRIP_43
$iStripperPed = 0
$iThrowMoneyState = 0

:STRIP_43
0@ = 0
if 
  0@ == 1
goto_if_false @STRIP_114
$9481 = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)
$9482 = Object.Create(0, 0.0, 0.0, 0.0)

:STRIP_114
1@ = 1
$pl_plane = 0
$iPlayerMoney = 0
gosub @STRIP_2509
7@ = Sequence.Open()
Task.PlayAnim(-1, "BARSERVE_IN", "BAR", 4.0, False, False, False, False, -1)
Task.PlayAnim(-1, "BARSERVE_LOOP", "BAR", 4.0, True, False, False, False, 10000)
Sequence.Close(7@)
8@ = Sequence.Open()
Task.PlayAnim(-1, "BARSERVE_BOTTLE", "BAR", 4.0, False, False, False, False, -1)
Sequence.Close(8@)
9@ = Sequence.Open()
Task.WanderStandard(-1)
Sequence.Close(9@)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @STRIP_881
Player.ResetNumOfModelsKilled($statbike_temp)
v$fDanceCameraX = Char.GetNameOfEntryExitUsed($stattreadstamina_ctr)
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "LASTRIP"
goto_if_false @STRIP_650
10@ = Attractor.Add(1214.859, -15.4637, 999.9219, 0.0, 180.0, 7@)
11@ = Attractor.Add(1217.084, -15.4657, 999.9219, 0.0, 180.0, 7@)
12@ = Attractor.Add(1213.234, -15.4087, 999.9219, 0.0, 180.0, 7@)
13@ = Attractor.Add(1214.085, -15.4395, 999.9219, 0.0, 180.0, 8@)
16@ = Char.CreateAtAttractor(PedType.CivFemale, 172, 10@, 1466)
StreamedScript.StartNew(38, 16@, 10@, 11@, 12@, 13@, 2.5, 15.0, 1)
StreamedScript.Stream(38)
14@ = Attractor.Add(1220.042, -15.3365, 999.9219, 341.7, -341.7, 9@)
15@ = Attractor.Add(1222.008, 4.4324, 999.9219, 93.3, -93.3, 9@)
17@ = Char.CreateAtAttractor(PedType.CivMale, 163, 14@, 1502)
18@ = Char.CreateAtAttractor(PedType.CivMale, 164, 15@, 1502)
StreamedScript.StartNew(39, 17@)
StreamedScript.StartNew(39, 18@)
StreamedScript.Stream(39)

:STRIP_650
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "STRIP2"
goto_if_false @STRIP_881
10@ = -1
11@ = Attractor.Add(1206.2, -30.6012, 999.9531, 180.0, 0.0, 7@)
12@ = -1
13@ = Attractor.Add(1206.2, -29.1414, 999.9531, 270.0, 0.0, 8@)
16@ = Char.CreateAtAttractor(PedType.CivFemale, 172, 11@, 1466)
StreamedScript.StartNew(38, 16@, 11@, 11@, 11@, 13@, 1.5, 15.0, 1)
StreamedScript.Stream(38)
14@ = Attractor.Add(1216.871, -24.1246, 999.9531, 146.8, -146.8, 9@)
15@ = -1
17@ = Char.CreateAtAttractor(PedType.CivMale, 163, 14@, 1502)
18@ = -1
StreamedScript.StartNew(39, 17@)
StreamedScript.Stream(39)

:STRIP_881
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @STRIP_2502
$1254 = Char.GetAreaVisible($stattreadstamina_ctr)
if or
  $1254 == 0
  $1253 == 1
goto_if_false @STRIP_941
goto @STRIP_2586

:STRIP_941
if 
  4@ > 0
goto_if_false @STRIP_973
gosub @STRIP_2766
goto @STRIP_881

:STRIP_973
if 
  $pl_plane <> 0
goto_if_false @STRIP_1042
if 
  not Char.IsDead($9481)
goto_if_false @STRIP_1021
gosub @STRIP_5426
goto @STRIP_1042

:STRIP_1021
Player.SetControl($statbike_temp, True)
$pl_plane = 0
$9481 = -1

:STRIP_1042
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "LASTRIP"
goto_if_false @STRIP_1326
if and
  $iStripperPed == 0
  $iThrowMoneyState == 0
goto_if_false @STRIP_1326
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 1204.85, 11.8, 999.9219, 1.0, 1.0, 1.0, True)
goto_if_false @STRIP_1312
if 
  Player.IsScoreGreater($statbike_temp, 99)
goto_if_false @STRIP_1298
if 
  2@ == 0
goto_if_false @STRIP_1291
3@ = 1
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @STRIP_1291
Player.AddScore($statbike_temp, -100)
Stat.IncrementFloat(StatId.StripClubBudget, 100.0)
2@ = 1
3@ = 0
19@ = 1204.326
20@ = 17.709
21@ = 998.925
22@ = 0.0
Camera.DoFade(500, Fade.Out)
4@ = 1
gosub @STRIP_2766

:STRIP_1291
goto @STRIP_1305

:STRIP_1298
3@ = 2

:STRIP_1305
goto @STRIP_1326

:STRIP_1312
3@ = 0
2@ = 0

:STRIP_1326
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "STRIP2"
goto_if_false @STRIP_1624
if and
  $iStripperPed == 0
  $iThrowMoneyState == 0
goto_if_false @STRIP_1624
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, 1207.59, -40.646, 999.9531, 1.0, 1.0, 1.0, True)
goto_if_false @STRIP_1610
if 
  Player.IsScoreGreater($statbike_temp, 99)
goto_if_false @STRIP_1596
if 
  2@ == 0
goto_if_false @STRIP_1589
3@ = 1
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @STRIP_1589
Player.AddScore($statbike_temp, -100)
22@ = Stat.GetFloat(StatId.StripClubBudget)
22@ += 100.0
22@ = Stat.GetFloat(StatId.StripClubBudget)
2@ = 1
3@ = 0
19@ = 1207.366
20@ = -43.595
21@ = 998.925
22@ = 0.0
Camera.DoFade(500, Fade.Out)
4@ = 1
gosub @STRIP_2766

:STRIP_1589
goto @STRIP_1603

:STRIP_1596
3@ = 2

:STRIP_1603
goto @STRIP_1624

:STRIP_1610
3@ = 0
2@ = 0

:STRIP_1624
if and
  $iStripperPed == 0
  $iThrowMoneyState == 0
goto_if_false @STRIP_1784
if 
  3@ == 1
goto_if_false @STRIP_1685
Text.PrintHelpForever('STR_01')
goto @STRIP_1777

:STRIP_1685
if 
  3@ == 2
goto_if_false @STRIP_1721
Text.PrintHelpForever('STR_03')
goto @STRIP_1777

:STRIP_1721
if 
  $iPlayerMoney > 0
goto_if_false @STRIP_1757
Text.PrintHelpForever('STR_00')
goto @STRIP_1777

:STRIP_1757
if 
  4@ == 0
goto_if_false @STRIP_1777
Text.ClearHelp

:STRIP_1777
goto @STRIP_1786

:STRIP_1784
Text.ClearHelp

:STRIP_1786
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @STRIP_1816
$iStripperPed = 1
$iThrowMoneyState = 1

:STRIP_1816
if 
  Player.IsWantedLevelGreater($statbike_temp, $1263)
goto_if_false @STRIP_1849
$iStripperPed = 1
$iThrowMoneyState = 1

:STRIP_1849
0@ = Player.GetTotalNumberOfPedsKilled($statbike_temp)
if 
  0@ > 0
goto_if_false @STRIP_1882
$iThrowMoneyState = 1

:STRIP_1882
0@ = 0

:STRIP_1889
if 
  not Char.IsDead(16@(0@,3i))
goto_if_false @STRIP_1997
if and
  Player.IsTargetingChar($statbike_temp, 16@(0@,3i))
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.AnyMelee)
goto_if_false @STRIP_1960
$iStripperPed = 1
$iThrowMoneyState = 1
goto @STRIP_1997

:STRIP_1960
if 
  Char.HasBeenDamagedByChar(16@(0@,3i), $stattreadstamina_ctr)
goto_if_false @STRIP_1997
$iStripperPed = 1
$iThrowMoneyState = 1

:STRIP_1997
0@ += 1
  0@ >= 3
goto_if_false @STRIP_1889
if 
  $iStripperPed == 1
goto_if_false @STRIP_2102
$iThrowMoneyState = 1
0@ = World.GetRandomCharInSphereNoBrain(19@, 20@, 21@, 50.0)
if 
  0@ > -1
goto_if_false @STRIP_2102
1@ += 1
StreamedScript.StartNew(37, 0@, 1@)
StreamedScript.Stream(37)

:STRIP_2102
if 
  $iThrowMoneyState == 1
goto_if_false @STRIP_2502
if and
  Char.IsDead(17@)
  14@ <> -1
goto_if_false @STRIP_2338
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "LASTRIP"
goto_if_false @STRIP_2198
19@ = 1220.042
20@ = -15.3365
21@ = 999.9219

:STRIP_2198
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "STRIP2"
goto_if_false @STRIP_2252
19@ = 1216.871
20@ = -24.1246
21@ = 999.9531

:STRIP_2252
if and
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 19@, 20@, 21@, 8.0, 8.0, 8.0, False)
  not Camera.IsPointOnScreen(19@, 20@, 21@, 3.0)
goto_if_false @STRIP_2338
17@ = Char.CreateAtAttractor(PedType.CivMale, 163, 14@, 1502)
StreamedScript.StartNew(39, 17@)
StreamedScript.Stream(39)

:STRIP_2338
if and
  Char.IsDead(18@)
  15@ <> -1
goto_if_false @STRIP_2502
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "LASTRIP"
goto_if_false @STRIP_2416
19@ = 1222.008
20@ = 4.4324
21@ = 999.9219

:STRIP_2416
if and
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 19@, 20@, 21@, 8.0, 8.0, 8.0, False)
  not Camera.IsPointOnScreen(19@, 20@, 21@, 3.0)
goto_if_false @STRIP_2502
18@ = Char.CreateAtAttractor(PedType.CivMale, 164, 15@, 1502)
StreamedScript.StartNew(39, 18@)
StreamedScript.Stream(39)

:STRIP_2502
goto @STRIP_881

:STRIP_2509
Streaming.RequestModel(163)
Streaming.RequestModel(164)
Streaming.RequestModel(172)
Streaming.RequestAnimation("BAR")
if and
  Streaming.HasModelLoaded(163)
  Streaming.HasModelLoaded(164)
  Streaming.HasModelLoaded(172)
  Streaming.HasAnimationLoaded("BAR")
goto_if_false @STRIP_2573
return 
goto @STRIP_2584

:STRIP_2573
wait 0
goto @STRIP_2509

:STRIP_2584
return 

:STRIP_2586
0@ = 0

:STRIP_2593
Char.MarkAsNoLongerNeeded(16@(0@,3i))
Char.Delete(16@(0@,3i))
0@ += 1
  0@ >= 3
goto_if_false @STRIP_2593
0@ = 0

:STRIP_2639
if 
  10@(0@,6i) <> -1
goto_if_false @STRIP_2670
Attractor.Clear(10@(0@,6i))

:STRIP_2670
0@ += 1
  0@ >= 6
goto_if_false @STRIP_2639
Streaming.MarkModelAsNoLongerNeeded(172)
Streaming.MarkModelAsNoLongerNeeded(163)
Streaming.MarkModelAsNoLongerNeeded(164)
Sequence.Clear(7@)
Sequence.Clear(8@)
Streaming.RemoveAnimation("STRIP")
Streaming.RemoveAnimation("BAR")
$iThrowMoneyState = 0
Text.ClearHelp
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @STRIP_2764
Player.SetControl($statbike_temp, True)

:STRIP_2764
terminate_this_script 

:STRIP_2766
switch_start 4@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @STRIP_3923 {caseNum1} 1 {caseLabel1} @STRIP_2829 {caseNum2} 2 {caseLabel2} @STRIP_3053 {caseNum3} 3 {caseLabel3} @STRIP_3194 {caseNum4} 4 {caseLabel4} @STRIP_3320 {caseNum5} 5 {caseLabel5} @STRIP_3653 {caseNum6} 6 {caseLabel6} @STRIP_3887 {caseNum7} -1 {caseLabel7} @STRIP_3923

:STRIP_2829
if 
  not Camera.GetFadingStatus
goto_if_false @STRIP_3046
Text.ClearHelp
Player.SetControl($statbike_temp, False)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Hud.Display(False)
Hud.DisplayRadar(False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetCoordinates($stattreadstamina_ctr, 19@, 20@, 21@)
Char.SetHeading($stattreadstamina_ctr, 22@)
Camera.SetInFrontOfPlayer
if 
  $pl_days == 0
goto_if_false @STRIP_2956
set_lvar_int_to_constant 5@ = 256
set_lvar_text_label16 28@v = "LAPDAN1"
$pl_days += 1
goto @STRIP_3039

:STRIP_2956
if 
  $pl_days == 1
goto_if_false @STRIP_3010
set_lvar_int_to_constant 5@ = 257
set_lvar_text_label16 28@v = "LAPDAN2"
$pl_days += 1
goto @STRIP_3039

:STRIP_3010
set_lvar_int_to_constant 5@ = 246
set_lvar_text_label16 28@v = "LAPDAN3"
$pl_days = 0

:STRIP_3039
4@ += 1

:STRIP_3046
goto @STRIP_3923

:STRIP_3053
if 
  not Streaming.HasAnimationLoaded(28@v)
goto_if_false @STRIP_3081
Streaming.RequestAnimation(28@v)
goto @STRIP_3187

:STRIP_3081
if 
  not Streaming.HasModelLoaded(5@)
goto_if_false @STRIP_3109
Streaming.RequestModel(5@)
goto @STRIP_3187

:STRIP_3109
19@, 20@, 21@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, -1.0, -1.0)
22@ = Char.GetHeading($stattreadstamina_ctr)
5@ = Char.Create(PedType.CivFemale, 5@, 19@, 20@, 21@)
Char.SetCollision(5@, False)
Char.SetHeading(5@, 22@)
4@ += 1

:STRIP_3187
goto @STRIP_3923

:STRIP_3194
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "LAPDAN_P", 28@v, 1000.0, False, False, False, True, -1)
if 
  not Char.IsDead(5@)
goto_if_false @STRIP_3290
Task.PlayAnimNonInterruptable(5@, "LAPDAN_D", 28@v, 1000.0, False, False, False, True, -1)
6@ = -1
gosub @STRIP_3925

:STRIP_3290
Camera.DoFade(1500, Fade.In)
TIMERB = 0
Text.ClearHelp
4@ += 1
goto @STRIP_3923

:STRIP_3320
if 
  not Camera.GetFadingStatus
goto_if_false @STRIP_3646
if 
  not Char.IsDead(5@)
goto_if_false @STRIP_3639
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "LAPDAN_P")
goto_if_false @STRIP_3432
23@ = Char.GetAnimTotalTime($stattreadstamina_ctr, "LAPDAN_P")
cset_lvar_int_to_lvar_float 25@ =# 23@
25@ -= 800
set_lvar_int_to_lvar_int 26@ = 25@
26@ -= 2200
goto @STRIP_3439

:STRIP_3432
25@ = 0

:STRIP_3439
if and
  TIMERB > 2500
  2600 > TIMERB
goto_if_false @STRIP_3499
if 
  not Text.IsThisHelpMessageBeingDisplayed('STR_02')
goto_if_false @STRIP_3499
Text.PrintHelp('STR_02')

:STRIP_3499
if 
  is_int_lvar_greater_or_equal_to_int_lvar TIMERB >= 25@
goto_if_false @STRIP_3539
Camera.DoFade(500, Fade.Out)
4@ += 1
goto @STRIP_3923

:STRIP_3539
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
  TIMERA >= 500
  TIMERB > 2500
  is_int_lvar_greater_than_int_lvar 26@ > TIMERB
goto_if_false @STRIP_3594
gosub @STRIP_3925
TIMERA = 0

:STRIP_3594
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @STRIP_3632
Camera.DoFade(500, Fade.Out)
4@ += 1
goto @STRIP_3923

:STRIP_3632
goto @STRIP_3646

:STRIP_3639
4@ += 1

:STRIP_3646
goto @STRIP_3923

:STRIP_3653
if 
  not Camera.GetFadingStatus
goto_if_false @STRIP_3880
if 
  not Char.IsDead(5@)
goto_if_false @STRIP_3873
Text.ClearHelp
0@ = Char.GetModel(5@)
Streaming.MarkModelAsNoLongerNeeded(0@)
Streaming.RemoveAnimation(28@v)
Char.Delete(5@)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Hud.Display(True)
Hud.DisplayRadar(True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCollision($stattreadstamina_ctr, True)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "LASTRIP"
goto_if_false @STRIP_3798
Char.SetCoordinates($stattreadstamina_ctr, 1204.991, 12.6603, 999.9219)
Char.SetHeading($stattreadstamina_ctr, 180.0)

:STRIP_3798
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "STRIP2"
goto_if_false @STRIP_3852
Char.SetCoordinates($stattreadstamina_ctr, 1207.59, -40.646, 999.9531)
Char.SetHeading($stattreadstamina_ctr, 360.0)

:STRIP_3852
Camera.DoFade(500, Fade.In)
4@ += 1
goto @STRIP_3880

:STRIP_3873
4@ += 1

:STRIP_3880
goto @STRIP_3923

:STRIP_3887
if 
  not Camera.GetFadingStatus
goto_if_false @STRIP_3916
Player.SetControl($statbike_temp, True)
4@ = 0
return 

:STRIP_3916
goto @STRIP_3923

:STRIP_3923
return 

:STRIP_3925
switch_start 6@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @STRIP_5173 {caseNum1} -1 {caseLabel1} @STRIP_3988 {caseNum2} 0 {caseLabel2} @STRIP_4225 {caseNum3} 1 {caseLabel3} @STRIP_4462 {caseNum4} 2 {caseLabel4} @STRIP_4699 {caseNum5} 3 {caseLabel5} @STRIP_4936 {caseNum6} -1 {caseLabel6} @STRIP_5417 {caseNum7} -1 {caseLabel7} @STRIP_5417

:STRIP_3988
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "LASTRIP"
goto_if_false @STRIP_4119
19@ = 1204.562
20@ = 15.6486
21@ = 1001.333
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1204.437
20@ = 16.5805
21@ = 1000.992
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.JumpCut)
goto @STRIP_4218

:STRIP_4119
19@ = 1208.32
20@ = -45.8672
21@ = 1001.066
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1207.847
20@ = -44.9985
21@ = 1000.919
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.JumpCut)

:STRIP_4218
goto @STRIP_5417

:STRIP_4225
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "LASTRIP"
goto_if_false @STRIP_4356
19@ = 1202.654
20@ = 16.7123
21@ = 1001.302
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1203.589
20@ = 16.9879
21@ = 1001.08
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.Interpolation)
goto @STRIP_4455

:STRIP_4356
19@ = 1205.649
20@ = -44.5486
21@ = 1001.344
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1206.541
20@ = -44.2188
21@ = 1001.035
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.Interpolation)

:STRIP_4455
goto @STRIP_5417

:STRIP_4462
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "LASTRIP"
goto_if_false @STRIP_4593
19@ = 1203.529
20@ = 18.3118
21@ = 1001.391
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1204.11
20@ = 17.5609
21@ = 1001.078
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.Interpolation)
goto @STRIP_4692

:STRIP_4593
19@ = 1206.434
20@ = -43.1812
21@ = 1001.705
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1207.044
20@ = -43.796
21@ = 1001.204
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.Interpolation)

:STRIP_4692
goto @STRIP_5417

:STRIP_4699
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "LASTRIP"
goto_if_false @STRIP_4830
19@ = 1204.712
20@ = 18.3221
21@ = 1000.941
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1204.409
20@ = 17.369
21@ = 1000.95
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.Interpolation)
goto @STRIP_4929

:STRIP_4830
19@ = 1207.472
20@ = -43.1042
21@ = 1001.054
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1207.325
20@ = -44.0841
21@ = 1000.919
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.Interpolation)

:STRIP_4929
goto @STRIP_5417

:STRIP_4936
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "LASTRIP"
goto_if_false @STRIP_5067
19@ = 1205.856
20@ = 17.3141
21@ = 1002.26
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1205.096
20@ = 17.1228
21@ = 1001.64
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.Interpolation)
goto @STRIP_5166

:STRIP_5067
19@ = 1207.846
20@ = -43.4954
21@ = 1001.964
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1207.427
20@ = -43.9585
21@ = 1001.184
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.Interpolation)

:STRIP_5166
goto @STRIP_5417

:STRIP_5173
6@ = -1
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "LASTRIP"
goto_if_false @STRIP_5311
19@ = 1204.562
20@ = 15.6486
21@ = 1001.333
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1204.437
20@ = 16.5805
21@ = 1000.992
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.Interpolation)
goto @STRIP_5410

:STRIP_5311
19@ = 1207.978
20@ = -46.1248
21@ = 1001.215
Camera.SetFixedPosition(19@, 20@, 21@, 0.0, 0.0, 0.0)
19@ = 1207.757
20@ = -45.1702
21@ = 1001.016
Camera.PointAtPoint(19@, 20@, 21@, SwitchType.Interpolation)

:STRIP_5410
goto @STRIP_5417

:STRIP_5417
6@ += 1
return 

:STRIP_5426
switch_start $pl_plane {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @STRIP_5877 {caseNum1} 1 {caseLabel1} @STRIP_5489 {caseNum2} 2 {caseLabel2} @STRIP_5518 {caseNum3} 3 {caseLabel3} @STRIP_5598 {caseNum4} 4 {caseLabel4} @STRIP_5770 {caseNum5} -1 {caseLabel5} @STRIP_5877 {caseNum6} -1 {caseLabel6} @STRIP_5877 {caseNum7} -1 {caseLabel7} @STRIP_5877

:STRIP_5489
Player.SetControl($statbike_temp, False)
Task.TurnCharToFaceChar($stattreadstamina_ctr, $9481)
$pl_plane = 2
goto @STRIP_5877

:STRIP_5518
27@ = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1593)
if 
  is_int_lvar_equal_to_constant 27@ == 7
goto_if_false @STRIP_5591
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "PLY_CASH", "STRIP", 4.0, False, False, False, False, 0)
$pl_plane = 3

:STRIP_5591
goto @STRIP_5877

:STRIP_5598
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLY_CASH")
goto_if_false @STRIP_5756
24@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLY_CASH")
if and
  24@ >= 0.35
  1.0 > 24@
goto_if_false @STRIP_5749
19@, 20@, 21@ = Char.GetOffsetInWorldCoords($9481, 0.0, 0.5, -0.5)
$9482 = Object.CreateNoOffset(#MONEY, 19@, 20@, 21@)
Object.SetCollision($9482, False)
Player.AddScore($statbike_temp, -20)
Stat.IncrementFloat(StatId.StripClubBudget, 20.0)
$pl_plane = 4

:STRIP_5749
goto @STRIP_5763

:STRIP_5756
$pl_plane = 4

:STRIP_5763
goto @STRIP_5877

:STRIP_5770
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "PLY_CASH")
goto_if_false @STRIP_5856
24@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, "PLY_CASH")
if 
  24@ >= 1.0
goto_if_false @STRIP_5849
Player.SetControl($statbike_temp, True)
$pl_plane = 0

:STRIP_5849
goto @STRIP_5870

:STRIP_5856
Player.SetControl($statbike_temp, True)
$pl_plane = 0

:STRIP_5870
goto @STRIP_5877

:STRIP_5877
return 
terminate_this_script 

//-------------External script 32 (PLANES)---------------

:PLANES
script_name 'PLANES'
set_var_text_label s$9484[1] = 'PLA_9'
set_var_text_label s$9484[2] = 'PLA_3'
set_var_text_label s$9484[3] = 'PLA_4'
set_var_text_label s$9484[4] = 'PLA_5'
set_var_text_label s$9484[5] = 'PLA_6'
set_var_text_label s$9484[6] = 'PLA_7'
set_var_text_label s$9484[7] = 'PLA_8'
$pl_ticket_price = 0
$pl_denied_flag = 0
$pl_control_flag = 0
$pl_game_timer_start = 500
$pl_game_timer_end = 0
$pl_game_timer_diff = 0
$pl_which_recording = 0
$pl_has_player_skipped = 0
$pl_undercarriage_flag = 0
$pl_undercarriage_up_time = 0
$pl_undercarriage_down_time = 0
$pl_print_flag_11 = 0
$pl_playerx = 0
$pl_playery = 0
$pl_playerz = 0
$train_speed = 0.0
$pl_planex = 0.0
$pl_planey = 0.0
$pl_planez = 0.0
$pl_plane_heading = 0.0
$pl_skip_in_how_much = 0.0
$pl_stop_player_skipping_flag = 0.0
$train_control_flag = 0.0
$train_car = 0.0
$pl_player_heading = 0
$iSetRCPanic = 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_342
goto @PLANES_3712

:PLANES_342
Player.SetControl($statbike_temp, False)
set_deatharrest_state 0
Clock.Store
$pl_ticket_price = Clock.GetCurrentDayOfWeek()
if 
  $pl_ticket_price == 7
goto_if_false @PLANES_392
$pl_ticket_price = 1
goto @PLANES_399

:PLANES_392
$pl_ticket_price += 1

:PLANES_399
$pl_players_money = Stat.GetInt(StatId.CitiesPassed)
gosub @PLANES_3818
Hud.SwitchWidescreen(False)
Camera.SetFadingColor(0, 0, 0)
Text.ClearPrints
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_455
goto @PLANES_3712

:PLANES_455
Camera.DoFade(500, Fade.Out)

:PLANES_462
if 
  Camera.GetFadingStatus
goto_if_false @PLANES_509
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_502
goto @PLANES_3712

:PLANES_502
goto @PLANES_462

:PLANES_509
Txd.LoadDictionary('LD_PLAN')
Txd.LoadSprite(1, "AIRLOGO")
Txd.LoadSprite(2, "TVCORN")
Txd.LoadSprite(3, "TVBASE")
Txd.LoadSprite(4, "BLKDOT")
Streaming.LoadAllModelsNow
Text.ClearHelp
Text.ClearPrints
Text.UseCommands(True)
Hud.Display(False)
Hud.DisplayRadar(False)
Stat.ShowUpdateStats(False)
Camera.DoFade(500, Fade.In)
gosub @PLANES_4363

:PLANES_605
if 
  Camera.GetFadingStatus
goto_if_false @PLANES_659
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_645
goto @PLANES_3712

:PLANES_645
gosub @PLANES_4363
goto @PLANES_605

:PLANES_659
gosub @PLANES_4363

:PLANES_666
wait 0
gosub @PLANES_4363
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_700
goto @PLANES_3712

:PLANES_700
Clock.Restore
if 
  $pl_players_money > 1
goto_if_false @PLANES_805
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  -100 > $been_in_a_bmx
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @PLANES_767
$pl_denied_flag = 0

:PLANES_767
if or
  $been_in_a_bmx > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @PLANES_798
$pl_denied_flag = 1

:PLANES_798
goto @PLANES_812

:PLANES_805
$pl_denied_flag = 0

:PLANES_812
if 
  $pl_players_money > 0
goto_if_false @PLANES_1281
if 
  $pl_which_recording == 0
goto_if_false @PLANES_879
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @PLANES_879
$pl_game_timer_diff = 0
$pl_which_recording = 1

:PLANES_879
if 
  $pl_which_recording == 1
goto_if_false @PLANES_921
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @PLANES_921
$pl_which_recording = 2

:PLANES_921
if 
  $pl_which_recording == 2
goto_if_false @PLANES_1134
$pl_game_timer_end = Player.StoreScore($statbike_temp)
if 
  is_int_var_greater_or_equal_to_int_var $pl_game_timer_end >= $pl_game_timer_start
goto_if_false @PLANES_1069
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1083)
gosub @PLANES_4363
Camera.DoFade(500, Fade.Out)

:PLANES_994
if 
  Camera.GetFadingStatus
goto_if_false @PLANES_1055
gosub @PLANES_4363
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_1041
goto @PLANES_3712

:PLANES_1041
gosub @PLANES_4363
goto @PLANES_994

:PLANES_1055
goto @PLANES_1437
goto @PLANES_1134

:PLANES_1069
if 
  $pl_game_timer_diff == 0
goto_if_false @PLANES_1134
$pl_has_player_skipped = Clock.GetGameTimer()
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1085)
$pl_game_timer_diff = 1
$pl_which_recording = 0

:PLANES_1134
$pl_undercarriage_flag = Clock.GetGameTimer()
set_var_int_to_var_int $pl_undercarriage_up_time = $pl_undercarriage_flag
sub_int_var_from_int_var $pl_undercarriage_up_time -= $pl_has_player_skipped
if 
  5000 > $pl_undercarriage_up_time
goto_if_false @PLANES_1281
gosub @PLANES_8014
Text.SetScale(0.41, 1.84)
Text.SetColor(255, 255, 255, 255)
if or
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @PLANES_1260
Text.Display(40.0, 337.0, 'SHOPNO')
goto @PLANES_1281

:PLANES_1260
Text.Display(93.0, 337.0, 'SHOPNO')

:PLANES_1281
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @PLANES_1430
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1085)
gosub @PLANES_4363
Camera.DoFade(500, Fade.Out)

:PLANES_1326
if 
  Camera.GetFadingStatus
goto_if_false @PLANES_1387
gosub @PLANES_4363
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_1373
goto @PLANES_3712

:PLANES_1373
gosub @PLANES_4363
goto @PLANES_1326

:PLANES_1387
gosub @PLANES_3818
Char.SetCoordinates($stattreadstamina_ctr, $pl_planex, $pl_planey, $pl_planez)
Char.SetHeading($stattreadstamina_ctr, $pl_plane_heading)
Camera.DoFade(500, Fade.In)
goto @PLANES_3712

:PLANES_1430
goto @PLANES_666

:PLANES_1437
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_1460
goto @PLANES_3712

:PLANES_1460
Clock.SetTimeOneDayForward
Player.AddScore($statbike_temp, -500)
Txd.Remove
Streaming.RequestModel(577)
Streaming.RequestModel(371)
Streaming.LoadAllModelsNow
Game.AllowPauseInWidescreen(True)
gosub @PLANES_3818
Streaming.RequestCollision($pl_skip_in_how_much, $pl_stop_player_skipping_flag)
World.ClearArea($pl_skip_in_how_much, $pl_stop_player_skipping_flag, $train_control_flag, 100.0, True)
$9483 = Car.Create(577, $pl_skip_in_how_much, $pl_stop_player_skipping_flag, $train_control_flag)
Car.SetHeading($9483, $train_car)
Char.WarpIntoCar($stattreadstamina_ctr, $9483)
Streaming.LoadScene($pl_skip_in_how_much, $pl_stop_player_skipping_flag, $train_control_flag)
Hud.SwitchWidescreen(True)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 1
goto_if_false @PLANES_1709
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_1650
Clock.SetTimeOfDay(10, 30)
$train_speed = 9500.0
$pl_playery = 20000
$pl_playerz = 150000
$pl_undercarriage_down_time = 42

:PLANES_1650
if 
  $pl_denied_flag == 1
goto_if_false @PLANES_1709
Clock.SetTimeOfDay(17, 50)
$train_speed = 5000.0
$pl_playery = 30000
$pl_playerz = 110000
$pl_undercarriage_down_time = 46

:PLANES_1709
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 2
goto_if_false @PLANES_1845
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_1786
Clock.SetTimeOfDay(11, 20)
$train_speed = 6000.0
$pl_playery = 20000
$pl_playerz = 120000
$pl_undercarriage_down_time = 49

:PLANES_1786
if 
  $pl_denied_flag == 1
goto_if_false @PLANES_1845
Clock.SetTimeOfDay(14, 40)
$train_speed = 8000.0
$pl_playery = 20000
$pl_playerz = 160000
$pl_undercarriage_down_time = 44

:PLANES_1845
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 3
goto_if_false @PLANES_1981
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_1922
Clock.SetTimeOfDay(19, 10)
$train_speed = 6600.0
$pl_playery = 20000
$pl_playerz = 120000
$pl_undercarriage_down_time = 48

:PLANES_1922
if 
  $pl_denied_flag == 1
goto_if_false @PLANES_1981
Clock.SetTimeOfDay(14, 30)
$train_speed = 3800.0
$pl_playery = 20000
$pl_playerz = 70000
$pl_undercarriage_down_time = 43

:PLANES_1981
Streaming.RequestCarRecording($pl_undercarriage_down_time)

:PLANES_1986
if 
  not Streaming.HasCarRecordingBeenLoaded($pl_undercarriage_down_time)
goto_if_false @PLANES_2036
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_2029
goto @PLANES_3712

:PLANES_2029
goto @PLANES_1986

:PLANES_2036
$pl_has_player_skipped = Clock.GetGameTimer()
$pl_which_recording = 0
Camera.DoFade(500, Fade.In)

:PLANES_2055
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_2082
goto @PLANES_3712

:PLANES_2082
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_2103
Player.ClearWantedLevel($statbike_temp)

:PLANES_2103
$pl_undercarriage_flag = Clock.GetGameTimer()
set_var_int_to_var_int $pl_undercarriage_up_time = $pl_undercarriage_flag
sub_int_var_from_int_var $pl_undercarriage_up_time -= $pl_has_player_skipped
if 
  not Car.IsDead($9483)
goto_if_false @PLANES_3705
if 
  $pl_which_recording == 0
goto_if_false @PLANES_2196
if 
  $pl_undercarriage_up_time > 2000
goto_if_false @PLANES_2196
Car.StartPlayback($9483, $pl_undercarriage_down_time)
Camera.SetCinema(True)
$pl_which_recording = 1

:PLANES_2196
if 
  $pl_which_recording > 0
goto_if_false @PLANES_2343
if 
  $pl_print_flag_11 == 0
goto_if_false @PLANES_2343
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  $z > 150.0
goto_if_false @PLANES_2343
Text.ClearThisPrint('PLA_11')
if 
  $pl_player_heading == 0
goto_if_false @PLANES_2319
Text.PrintNow('PLA_12', 20000, 1)
$pl_player_heading = 1

:PLANES_2319
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @PLANES_2343
$pl_which_recording = 2

:PLANES_2343
if 
  $pl_which_recording > 0
goto_if_false @PLANES_2467
if 
  $iSetRCPanic == 0
goto_if_false @PLANES_2421
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
if 
  $z > 150.0
goto_if_false @PLANES_2421
$iSetRCPanic = 1

:PLANES_2421
if 
  $iSetRCPanic == 1
goto_if_false @PLANES_2467
if 
  150.0 > $z
goto_if_false @PLANES_2467
$iSetRCPanic = 2

:PLANES_2467
if 
  $pl_which_recording == 1
goto_if_false @PLANES_3342
if 
  $pl_print_flag_11 == 0
goto_if_false @PLANES_3112
if 
  150.0 >= $z
goto_if_false @PLANES_2569
Text.ClearThisPrint('PLA_12')
if 
  $pl_player_heading == 0
goto_if_false @PLANES_2569
Text.PrintNow('PLA_11', 5000, 1)

:PLANES_2569
if 
  2 > $iSetRCPanic
goto_if_false @PLANES_3112
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @PLANES_3112
Camera.DoFade(500, Fade.Out)

:PLANES_2611
if 
  Camera.GetFadingStatus
goto_if_false @PLANES_2658
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_2651
goto @PLANES_3712

:PLANES_2651
goto @PLANES_2611

:PLANES_2658
if 
  not Car.IsDead($9483)
goto_if_false @PLANES_3056
if 
  Car.IsPlaybackGoingOn($9483)
goto_if_false @PLANES_3056
if 
  $pl_playerx == 1
goto_if_false @PLANES_2715
Plane.SetUndercarriageUp($9483, False)

:PLANES_2715
Car.SkipInPlayback($9483, -1E07)
Car.SkipInPlayback($9483, $train_speed)
Camera.SetCinema(False)
if or
  $pl_undercarriage_down_time == 48
  $pl_undercarriage_down_time == 49
goto_if_false @PLANES_2841
Camera.SetFixedPosition(1774.9, -2529.3, 30.9, 0.0, 0.0, 0.0)
if 
  not Car.IsDead($9483)
goto_if_false @PLANES_2819
Camera.PointAtCar($9483, CameraMode.Fixed, SwitchType.JumpCut)

:PLANES_2819
Streaming.LoadSceneInDirection(1774.9, -2529.3, 13.9, 48.0)

:PLANES_2841
if or
  $pl_undercarriage_down_time == 42
  $pl_undercarriage_down_time == 43
goto_if_false @PLANES_2945
Camera.SetFixedPosition(-1268.5, 106.9, 37.1, 0.0, 0.0, 0.0)
if 
  not Car.IsDead($9483)
goto_if_false @PLANES_2923
Camera.PointAtCar($9483, CameraMode.Fixed, SwitchType.JumpCut)

:PLANES_2923
Streaming.LoadSceneInDirection(-1268.5, 106.9, 13.0, 350.0)

:PLANES_2945
if or
  $pl_undercarriage_down_time == 46
  $pl_undercarriage_down_time == 44
goto_if_false @PLANES_3049
Camera.SetFixedPosition(1396.1, 1382.3, 25.4, 0.0, 0.0, 0.0)
if 
  not Car.IsDead($9483)
goto_if_false @PLANES_3027
Camera.PointAtCar($9483, CameraMode.Fixed, SwitchType.JumpCut)

:PLANES_3027
Streaming.LoadSceneInDirection(1396.1, 1382.3, 10.0, 264.0)

:PLANES_3049
$pl_print_flag_11 = 1

:PLANES_3056
Text.ClearPrints
Camera.DoFade(2500, Fade.In)

:PLANES_3065
if 
  Camera.GetFadingStatus
goto_if_false @PLANES_3112
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_3105
goto @PLANES_3712

:PLANES_3105
goto @PLANES_3065

:PLANES_3112
if 
  not Car.IsDead($9483)
goto_if_false @PLANES_3342
if 
  not Car.IsPlaybackGoingOn($9483)
goto_if_false @PLANES_3342
Camera.DoFade(2000, Fade.Out)

:PLANES_3151
if 
  Camera.GetFadingStatus
goto_if_false @PLANES_3198
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_3191
goto @PLANES_3712

:PLANES_3191
goto @PLANES_3151

:PLANES_3198
gosub @PLANES_3818
Camera.SetCinema(False)
Streaming.RequestCollision($pl_planex, $pl_planey)
World.ClearArea($pl_planex, $pl_planey, $pl_planez, 100.0, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Char.SetCoordinates($stattreadstamina_ctr, $pl_planex, $pl_planey, $pl_planez)
Char.SetHeading($stattreadstamina_ctr, $pl_plane_heading)
Streaming.LoadScene($pl_planex, $pl_planey, $pl_planez)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Camera.DoFade(500, Fade.In)

:PLANES_3288
if 
  Camera.GetFadingStatus
goto_if_false @PLANES_3335
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_3328
goto @PLANES_3712

:PLANES_3328
goto @PLANES_3288

:PLANES_3335
goto @PLANES_3712

:PLANES_3342
if 
  $pl_which_recording == 2
goto_if_false @PLANES_3585
Camera.DoFade(500, Fade.Out)

:PLANES_3367
if 
  Camera.GetFadingStatus
goto_if_false @PLANES_3414
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_3407
goto @PLANES_3712

:PLANES_3407
goto @PLANES_3367

:PLANES_3414
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Parachute, 1)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Parachute)
Camera.SetCinema(False)
Task.LeaveAnyCar($stattreadstamina_ctr)
Text.ClearThisPrint('PLA_11')
Text.ClearThisPrint('PLA_12')

:PLANES_3461
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @PLANES_3511
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_3504
goto @PLANES_3712

:PLANES_3504
goto @PLANES_3461

:PLANES_3511
Car.Delete($9483)
Camera.RestoreJumpcut
Camera.SetBehindPlayer
Hud.SwitchWidescreen(False)
Camera.DoFade(500, Fade.In)

:PLANES_3531
if 
  Camera.GetFadingStatus
goto_if_false @PLANES_3578
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_3571
goto @PLANES_3712

:PLANES_3571
goto @PLANES_3531

:PLANES_3578
goto @PLANES_3712

:PLANES_3585
if 
  $pl_print_flag_11 == 0
goto_if_false @PLANES_3705
if 
  $pl_playerx == 0
goto_if_false @PLANES_3654
if 
  is_int_var_greater_than_int_var $pl_undercarriage_up_time > $pl_playery
goto_if_false @PLANES_3654
Plane.SetUndercarriageUp($9483, True)
$pl_playerx = 1

:PLANES_3654
if 
  $pl_playerx == 1
goto_if_false @PLANES_3705
if 
  is_int_var_greater_than_int_var $pl_undercarriage_up_time > $pl_playerz
goto_if_false @PLANES_3705
Plane.SetUndercarriageUp($9483, False)
$pl_playerx = 2

:PLANES_3705
goto @PLANES_2055

:PLANES_3712
Text.ClearThisPrint('PLA_11')
Text.ClearThisPrint('PLA_12')
if 
  is_var_text_label_empty s$territory_pickup
goto_if_false @PLANES_3752
Camera.RestoreJumpcut

:PLANES_3752
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @PLANES_3775
Player.SetControl($statbike_temp, True)

:PLANES_3775
Camera.SetCinema(False)
Game.AllowPauseInWidescreen(False)
Text.UseCommands(False)
Car.MarkAsNoLongerNeeded($9483)
Streaming.MarkModelAsNoLongerNeeded(577)
Streaming.MarkModelAsNoLongerNeeded(371)
Txd.Remove
Hud.Display(True)
Hud.DisplayRadar(True)
Stat.ShowUpdateStats(True)
terminate_this_script 

:PLANES_3818
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 1
goto_if_false @PLANES_3999
$pl_planex = 1682.7
$pl_planey = -2244.9
$pl_planez = 12.5
$pl_plane_heading = 178.9
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_3934
$pl_skip_in_how_much = 2052.0
$pl_stop_player_skipping_flag = -2497.5
$train_control_flag = 12.4
$train_car = 89.9

:PLANES_3934
if 
  $pl_denied_flag == 1
goto_if_false @PLANES_3992
$pl_skip_in_how_much = 1580.0
$pl_stop_player_skipping_flag = -2493.5
$train_control_flag = 12.4
$train_car = 270.0

:PLANES_3992
$pl_control_flag = 18

:PLANES_3999
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 2
goto_if_false @PLANES_4180
$pl_planex = -1431.6
$pl_planey = -283.9
$pl_planez = 13.1
$pl_plane_heading = 149.9
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_4115
$pl_skip_in_how_much = -1626.0
$pl_stop_player_skipping_flag = -137.3
$train_control_flag = 13.0
$train_car = 315.6

:PLANES_4115
if 
  $pl_denied_flag == 1
goto_if_false @PLANES_4173
$pl_skip_in_how_much = -1590.9
$pl_stop_player_skipping_flag = -103.5
$train_control_flag = 13.0
$train_car = 315.3

:PLANES_4173
$pl_control_flag = 19

:PLANES_4180
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 3
goto_if_false @PLANES_4361
$pl_planex = 1669.8
$pl_planey = 1422.1
$pl_planez = 9.7
$pl_plane_heading = 263.9
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_4296
$pl_skip_in_how_much = 1479.7
$pl_stop_player_skipping_flag = 1716.1
$train_control_flag = 9.7
$train_car = 180.0

:PLANES_4296
if 
  $pl_denied_flag == 1
goto_if_false @PLANES_4354
$pl_skip_in_how_much = 1475.7
$pl_stop_player_skipping_flag = 1636.0
$train_control_flag = 9.7
$train_car = 180.0

:PLANES_4354
$pl_control_flag = 20

:PLANES_4361
return 

:PLANES_4363
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 320.0, 225.0, 612.0, 438.0, 0, 0, 0, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 320.0, 430.0, 640.0, 250.0, 0, 0, 0, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(1, 321.0, 246.0, 356.0, 246.0, 160, 160, 160, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(4, 326.0, 84.0, 602.0, 58.0, 73, 73, 73, 255)
gosub @PLANES_7939
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @PLANES_4574
Text.Display(269.0, 65.0, 'PLA_1')

:PLANES_4574
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @PLANES_4625
Text.SetScale(0.9, 3.4)
Text.Display(327.0, 65.0, 'PLA_1')

:PLANES_4625
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @PLANES_4664
Text.Display(269.0, 65.0, 'PLA_1')

:PLANES_4664
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @PLANES_4715
Text.SetScale(0.91, 3.43)
Text.Display(322.0, 65.0, 'PLA_1')

:PLANES_4715
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @PLANES_4766
Text.SetScale(0.9, 3.4)
Text.Display(322.0, 65.0, 'PLA_1')

:PLANES_4766
if 
  $pl_players_money == 0
goto_if_false @PLANES_4999
gosub @PLANES_7939
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @PLANES_4863
Text.SetScale(1.21, 6.23)
Text.Display(320.0, 204.0, 'PLA_25')
goto @PLANES_4896

:PLANES_4863
Text.SetScale(1.41, 6.23)
Text.Display(316.0, 204.0, 'PLA_25')

:PLANES_4896
gosub @PLANES_8014
Text.SetScale(0.62, 1.94)
Text.SetColor(255, 255, 255, 255)
Text.Display(277.0, 370.0, 'PLA_23')
gosub @PLANES_8014
Text.SetColor(255, 255, 255, 255)
Text.Display(298.0, 368.0, 'PLA_21')
goto @PLANES_7697

:PLANES_4999
gosub @PLANES_8014
Text.SetColor(138, 138, 138, 255)
Text.Display(92.0, 144.0, 'PLA_2')
gosub @PLANES_8014
Text.SetColor(138, 138, 138, 255)
Text.Display(92.0, 207.0, 'PLA_13')
gosub @PLANES_8014
Text.SetColor(138, 138, 138, 255)
Text.Display(92.0, 267.0, 'PLA_17')
if 
  $pl_players_money > 1
goto_if_false @PLANES_6482
gosub @PLANES_8014
Text.SetScale(0.62, 1.54)
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @PLANES_5215
Text.Display(92.0, 372.0, 'PLA_22')

:PLANES_5215
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @PLANES_5254
Text.Display(52.0, 372.0, 'PLA_22')

:PLANES_5254
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @PLANES_5293
Text.Display(52.0, 372.0, 'PLA_22')

:PLANES_5293
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @PLANES_5332
Text.Display(52.0, 372.0, 'PLA_22')

:PLANES_5332
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @PLANES_5371
Text.Display(52.0, 372.0, 'PLA_22')

:PLANES_5371
gosub @PLANES_8014
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @PLANES_5431
Text.Display(124.0, 368.0, 'PLA_19')

:PLANES_5431
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @PLANES_5470
Text.Display(84.0, 368.0, 'PLA_19')

:PLANES_5470
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @PLANES_5509
Text.Display(84.0, 368.0, 'PLA_19')

:PLANES_5509
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @PLANES_5548
Text.Display(84.0, 368.0, 'PLA_19')

:PLANES_5548
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @PLANES_5587
Text.Display(84.0, 368.0, 'PLA_19')

:PLANES_5587
gosub @PLANES_8014
Text.SetScale(0.62, 1.94)
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @PLANES_5659
Text.Display(260.0, 370.0, 'PLA_24')

:PLANES_5659
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @PLANES_5698
Text.Display(295.0, 370.0, 'PLA_24')

:PLANES_5698
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @PLANES_5737
Text.Display(295.0, 370.0, 'PLA_24')

:PLANES_5737
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @PLANES_5776
Text.Display(258.0, 370.0, 'PLA_24')

:PLANES_5776
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @PLANES_5815
Text.Display(295.0, 370.0, 'PLA_24')

:PLANES_5815
gosub @PLANES_8014
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @PLANES_5875
Text.Display(281.0, 368.0, 'PLA_20')

:PLANES_5875
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @PLANES_5914
Text.Display(312.0, 368.0, 'PLA_20')

:PLANES_5914
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @PLANES_5953
Text.Display(312.0, 368.0, 'PLA_20')

:PLANES_5953
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @PLANES_5992
Text.Display(277.0, 368.0, 'PLA_20')

:PLANES_5992
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @PLANES_6031
Text.Display(312.0, 368.0, 'PLA_20')

:PLANES_6031
gosub @PLANES_8014
Text.SetScale(0.62, 1.94)
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @PLANES_6103
Text.Display(362.0, 370.0, 'PLA_23')

:PLANES_6103
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @PLANES_6142
Text.Display(458.0, 370.0, 'PLA_23')

:PLANES_6142
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @PLANES_6181
Text.Display(458.0, 370.0, 'PLA_23')

:PLANES_6181
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @PLANES_6220
Text.Display(458.0, 370.0, 'PLA_23')

:PLANES_6220
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @PLANES_6259
Text.Display(458.0, 370.0, 'PLA_23')

:PLANES_6259
gosub @PLANES_8014
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @PLANES_6319
Text.Display(383.0, 368.0, 'PLA_21')

:PLANES_6319
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @PLANES_6358
Text.Display(477.0, 368.0, 'PLA_21')

:PLANES_6358
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @PLANES_6397
Text.Display(477.0, 368.0, 'PLA_21')

:PLANES_6397
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @PLANES_6436
Text.Display(477.0, 368.0, 'PLA_21')

:PLANES_6436
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @PLANES_6475
Text.Display(477.0, 368.0, 'PLA_21')

:PLANES_6475
goto @PLANES_6766

:PLANES_6482
gosub @PLANES_8014
Text.SetScale(0.62, 1.94)
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @PLANES_6561
Text.Display(220.0, 370.0, 'PLA_24')
goto @PLANES_6582

:PLANES_6561
Text.Display(170.0, 370.0, 'PLA_24')

:PLANES_6582
gosub @PLANES_8014
Text.SetColor(255, 255, 255, 255)
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @PLANES_6649
Text.Display(241.0, 368.0, 'PLA_20')
goto @PLANES_6670

:PLANES_6649
Text.Display(191.0, 368.0, 'PLA_20')

:PLANES_6670
gosub @PLANES_8014
Text.SetScale(0.62, 1.94)
Text.SetColor(255, 255, 255, 255)
Text.Display(328.0, 370.0, 'PLA_23')
gosub @PLANES_8014
Text.SetColor(255, 255, 255, 255)
Text.Display(349.0, 368.0, 'PLA_21')

:PLANES_6766
gosub @PLANES_8014
Text.SetColor(255, 255, 255, 255)
Text.Display(92.0, 167.0, $9484($pl_ticket_price,8s))
gosub @PLANES_8014
Text.SetColor(255, 255, 255, 255)
Text.DisplayWithNumber(92.0, 290.0, 'PLA_18', $pl_game_timer_start)
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 1
goto_if_false @PLANES_7139
gosub @PLANES_8014
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_6915
Text.SetColor(255, 255, 255, 255)
goto @PLANES_6926

:PLANES_6915
Text.SetColor(40, 40, 40, 255)

:PLANES_6926
Text.Display(92.0, 230.0, 'PLA_15')
if 
  $pl_players_money > 1
goto_if_false @PLANES_7043
gosub @PLANES_8014
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_7008
Text.SetColor(40, 40, 40, 255)
goto @PLANES_7022

:PLANES_7008
Text.SetColor(255, 255, 255, 255)

:PLANES_7022
Text.Display(282.0, 230.0, 'PLA_14')

:PLANES_7043
gosub @PLANES_8014
Text.SetColor(255, 255, 255, 255)
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_7114
Text.DisplayWith2Numbers(281.0, 167.0, 'PLA_10', 10, 30)
goto @PLANES_7139

:PLANES_7114
Text.DisplayWith2Numbers(281.0, 167.0, 'PLA_10', 17, 50)

:PLANES_7139
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 2
goto_if_false @PLANES_7427
gosub @PLANES_8014
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_7203
Text.SetColor(255, 255, 255, 255)
goto @PLANES_7214

:PLANES_7203
Text.SetColor(40, 40, 40, 255)

:PLANES_7214
Text.Display(92.0, 230.0, 'PLA_16')
if 
  $pl_players_money > 1
goto_if_false @PLANES_7331
gosub @PLANES_8014
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_7296
Text.SetColor(40, 40, 40, 255)
goto @PLANES_7310

:PLANES_7296
Text.SetColor(255, 255, 255, 255)

:PLANES_7310
Text.Display(282.0, 230.0, 'PLA_14')

:PLANES_7331
gosub @PLANES_8014
Text.SetColor(255, 255, 255, 255)
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_7402
Text.DisplayWith2Numbers(281.0, 167.0, 'PLA_10', 11, 20)
goto @PLANES_7427

:PLANES_7402
Text.DisplayWith2Numbers(281.0, 167.0, 'PLA_10', 14, 40)

:PLANES_7427
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 3
goto_if_false @PLANES_7697
gosub @PLANES_8014
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_7491
Text.SetColor(255, 255, 255, 255)
goto @PLANES_7502

:PLANES_7491
Text.SetColor(40, 40, 40, 255)

:PLANES_7502
Text.Display(92.0, 230.0, 'PLA_16')
gosub @PLANES_8014
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_7566
Text.SetColor(40, 40, 40, 255)
goto @PLANES_7580

:PLANES_7566
Text.SetColor(255, 255, 255, 255)

:PLANES_7580
Text.Display(282.0, 230.0, 'PLA_15')
gosub @PLANES_8014
Text.SetColor(255, 255, 255, 255)
if 
  $pl_denied_flag == 0
goto_if_false @PLANES_7672
Text.DisplayWith2Numbers(281.0, 167.0, 'PLA_10', 19, 10)
goto @PLANES_7697

:PLANES_7672
Text.DisplayWith2Numbers(281.0, 167.0, 'PLA_10', 14, 30)

:PLANES_7697
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(2, 160.0, 112.0, 320.0, 224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(2, 160.0, 317.0, 320.0, -224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(2, 480.0, 112.0, -320.0, 224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(2, 480.0, 317.0, -320.0, -224.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(3, 160.0, 435.0, 320.0, 17.0, 150, 150, 150, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(3, 480.0, 435.0, -320.0, 17.0, 150, 150, 150, 255)
return 

:PLANES_7939
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(True)
Text.SetBackground(False)
Text.SetScale(1.0, 3.4)
Text.SetDropshadow(3, 0, 0, 0, 255)
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetFont(Font.Menu)
return 

:PLANES_8014
Text.SetDrawBeforeFade(True)
Text.SetJustify(True)
Text.SetRightJustify(False)
Text.SetWrapX(1000.0)
Text.SetProportional(True)
Text.SetCenter(False)
Text.SetBackground(False)
Text.SetScale(0.62, 2.34)
Text.SetDropshadow(2, 0, 0, 0, 255)
Text.SetEdge(2, 0, 0, 0, 255)
Text.SetFont(Font.Menu)
return 
terminate_this_script 

//-------------External script 33 (TRAINS)---------------

:TRAINS
script_name 'TRAINS'
$iDance_SpeechCounter = 0.0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @TRAINS_44
goto @TRAINS_768

:TRAINS_44
set_deatharrest_state 0

:TRAINS_48
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRAINS_754
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @TRAINS_740
if 
  Char.IsInModel($stattreadstamina_ctr, 570)
goto_if_false @TRAINS_726
$iDance_SpeechState = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  $iDance_SpeechRequest == 0
goto_if_false @TRAINS_181
$iDance_SpeechCounter = Car.GetSpeed($iDance_SpeechState)
if 
  $iDance_SpeechCounter > 0.0
goto_if_false @TRAINS_181
Text.PrintNow('TRAINS', 20000, 1)
$iDance_SpeechRequest = 1

:TRAINS_181
if 
  $iDance_SpeechRequest == 1
goto_if_false @TRAINS_619
if 
  Train.IsNextStationAllowed($iDance_SpeechState)
goto_if_false @TRAINS_429
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @TRAINS_422
Camera.DoFade(1000, Fade.Out)

:TRAINS_239
if 
  Camera.GetFadingStatus
goto_if_false @TRAINS_286
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @TRAINS_279
goto @TRAINS_768

:TRAINS_279
goto @TRAINS_239

:TRAINS_286
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRAINS_361
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @TRAINS_361
if 
  Char.IsInModel($stattreadstamina_ctr, 570)
goto_if_false @TRAINS_361
$iDance_SpeechState = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Train.SkipToNextAllowedStation($iDance_SpeechState)
Text.ClearThisPrint('TRAINS')

:TRAINS_361
Camera.DoFade(1000, Fade.In)

:TRAINS_368
if 
  Camera.GetFadingStatus
goto_if_false @TRAINS_415
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @TRAINS_408
goto @TRAINS_768

:TRAINS_408
goto @TRAINS_368

:TRAINS_415
$iDance_SpeechRequest = 2

:TRAINS_422
goto @TRAINS_619

:TRAINS_429
Camera.DoFade(1000, Fade.Out)

:TRAINS_436
if 
  Camera.GetFadingStatus
goto_if_false @TRAINS_483
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @TRAINS_476
goto @TRAINS_768

:TRAINS_476
goto @TRAINS_436

:TRAINS_483
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRAINS_558
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @TRAINS_558
if 
  Char.IsInModel($stattreadstamina_ctr, 570)
goto_if_false @TRAINS_558
$iDance_SpeechState = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
Train.SkipToNextAllowedStation($iDance_SpeechState)
Text.ClearThisPrint('TRAINS')

:TRAINS_558
Camera.DoFade(1000, Fade.In)

:TRAINS_565
if 
  Camera.GetFadingStatus
goto_if_false @TRAINS_612
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @TRAINS_605
goto @TRAINS_768

:TRAINS_605
goto @TRAINS_565

:TRAINS_612
$iDance_SpeechRequest = 2

:TRAINS_619
if 
  $iDance_SpeechRequest == 2
goto_if_false @TRAINS_719
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TRAINS_719
if 
  Char.IsSittingInAnyCar($stattreadstamina_ctr)
goto_if_false @TRAINS_719
if 
  Char.IsInModel($stattreadstamina_ctr, 570)
goto_if_false @TRAINS_719
$iDance_SpeechState = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Car.IsStopped($iDance_SpeechState)
goto_if_false @TRAINS_719
$iDance_SpeechRequest = 0

:TRAINS_719
goto @TRAINS_733

:TRAINS_726
goto @TRAINS_768

:TRAINS_733
goto @TRAINS_747

:TRAINS_740
goto @TRAINS_768

:TRAINS_747
goto @TRAINS_761

:TRAINS_754
goto @TRAINS_768

:TRAINS_761
goto @TRAINS_48

:TRAINS_768
$iDance_SpeechRequest = 0
Text.ClearThisPrint('TRAINS')
terminate_this_script 
terminate_this_script 

//-------------External script 34 (ZERO_AMBIENCE)---------------

:RCSHOP
script_name 'RCSHOP'
$d_lstickx = 0
2@ = -2237.291
3@ = 128.5856
4@ = 1034.422
5@ = 0.0
6@ = 360.0
set_lvar_int_to_constant 10@ = 217
Streaming.RequestModel(10@)

:RCSHOP_81
if 
  not Streaming.HasModelLoaded(10@)
goto_if_false @RCSHOP_108
wait 0
goto @RCSHOP_81

:RCSHOP_108
7@ = Sequence.Open()
Task.StayInSamePlace(-1, True)
Task.StandStill(-1, -2)
Sequence.Close(7@)
8@ = Attractor.Add(2@, 3@, 4@, 5@, 6@, 7@)
9@ = Char.CreateAtAttractor(PedType.CivMale, 10@, 8@, 1466)

:RCSHOP_169
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @RCSHOP_509
$1254 = Char.GetAreaVisible($stattreadstamina_ctr)
if or
  $1254 == 0
  $1253 == 1
goto_if_false @RCSHOP_225
gosub @RCSHOP_520

:RCSHOP_225
if and
  $flag_scrash_mission_counter == 3
  $weapon_shop1_blip == 0
goto_if_false @RCSHOP_305
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, -2219.287, 133.8895, 1034.641, 1.5, 1.5, 1.5, True)
goto_if_false @RCSHOP_305
$territory_cash = 7

:RCSHOP_305
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsWantedLevelGreater($statbike_temp, $1263)
goto_if_false @RCSHOP_336
$d_lstickx = 1

:RCSHOP_336
if 
  not Char.IsDead(9@)
goto_if_false @RCSHOP_418
if and
  Player.IsTargetingChar($statbike_temp, 9@)
  not Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.AnyMelee)
goto_if_false @RCSHOP_392
$d_lstickx = 1
goto @RCSHOP_418

:RCSHOP_392
if 
  Char.HasBeenDamagedByChar(9@, $stattreadstamina_ctr)
goto_if_false @RCSHOP_418
$d_lstickx = 1

:RCSHOP_418
if 
  $d_lstickx == 1
goto_if_false @RCSHOP_509
2@, 3@, 4@ = Char.GetCoordinates($stattreadstamina_ctr)
0@ = World.GetRandomCharInSphereNoBrain(2@, 3@, 4@, 20.0)
if 
  0@ > -1
goto_if_false @RCSHOP_509
1@ += 1
StreamedScript.StartNew(37, 0@, 1@)
StreamedScript.Stream(37)

:RCSHOP_509
wait 0
goto @RCSHOP_169

:RCSHOP_520
$d_lstickx = 0
Char.MarkAsNoLongerNeeded(9@)
Streaming.MarkModelAsNoLongerNeeded(10@)
Char.Delete(9@)
Attractor.Clear(8@)
Sequence.Clear(7@)
terminate_this_script 
terminate_this_script 

//-------------External script 35 (DANCE)---------------

:DANCE
script_name 'DANCE'
set_global_var_bit_const $txtCURR_DANCE_MOVE {n} 31
Game.SetMinigameInProgress(True)
Text.UseCommands(True)
Hud.ForceBigMessageAndCounter(True)
if 
  13@ > 0
goto_if_false @DANCE_72
5@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:DANCE_72
18@ = 5
23@ = 5
16@ = -1
24@ = -1
17@ = -1
13@ = 0
$5300 = 0
$d_rstickx = 0
$d_lsticky = -1
$d_rsticky = 1
22@ = 5
TIMERA = 10000

:DANCE_157
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DANCE_367
if 
  6@ > 0
goto_if_false @DANCE_353
if 
  $5302 == 1
goto_if_false @DANCE_245
if 
  6@ <> 2
goto_if_false @DANCE_245
6@ = 2
7@ = 0

:DANCE_245
if 
  5@ == -1
goto_if_false @DANCE_302
if 
  22@ <> 5
goto_if_false @DANCE_288
gosub @DANCE_9699

:DANCE_288
gosub @DANCE_381
goto @DANCE_346

:DANCE_302
if 
  not Char.IsDead(5@)
goto_if_false @DANCE_339
gosub @DANCE_9699
gosub @DANCE_381
goto @DANCE_346

:DANCE_339
gosub @DANCE_16873

:DANCE_346
goto @DANCE_360

:DANCE_353
gosub @DANCE_381

:DANCE_360
goto @DANCE_374

:DANCE_367
gosub @DANCE_16873

:DANCE_374
goto @DANCE_157

:DANCE_381
switch_start 6@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @DANCE_500 {caseNum1} 0 {caseLabel1} @DANCE_444 {caseNum2} 1 {caseLabel2} @DANCE_458 {caseNum3} 2 {caseLabel3} @DANCE_472 {caseNum4} 3 {caseLabel4} @DANCE_486 {caseNum5} -1 {caseLabel5} @DANCE_500 {caseNum6} -1 {caseLabel6} @DANCE_500 {caseNum7} -1 {caseLabel7} @DANCE_500

:DANCE_444
gosub @DANCE_502
goto @DANCE_500

:DANCE_458
gosub @DANCE_1090
goto @DANCE_500

:DANCE_472
gosub @DANCE_2086
goto @DANCE_500

:DANCE_486
gosub @DANCE_2412
goto @DANCE_500

:DANCE_500
return 

:DANCE_502
switch_start 7@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @DANCE_1088 {caseNum1} 0 {caseLabel1} @DANCE_565 {caseNum2} 1 {caseLabel2} @DANCE_646 {caseNum3} 2 {caseLabel3} @DANCE_803 {caseNum4} 3 {caseLabel4} @DANCE_948 {caseNum5} -1 {caseLabel5} @DANCE_1088 {caseNum6} -1 {caseLabel6} @DANCE_1088 {caseNum7} -1 {caseLabel7} @DANCE_1088

:DANCE_565
Player.SetControl($statbike_temp, False)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, True)
Game.SetEveryoneIgnorePlayer($statbike_temp, True)
Game.SetAllCarsCanBeDamaged(False)
Hud.Display(False)
Hud.DisplayRadar(False)
if 
  5@ <> -1
goto_if_false @DANCE_625
Clock.Store

:DANCE_625
Camera.DoFade(500, Fade.Out)
7@ += 1
goto @DANCE_1088

:DANCE_646
if 
  not Camera.GetFadingStatus
goto_if_false @DANCE_796
gosub @DANCE_2965
Streaming.RequestAnimation(v$txtString)
if 
  not Streaming.HasAnimationLoaded(v$txtString)
goto_if_false @DANCE_694
goto @DANCE_1088

:DANCE_694
if 
  5@ <> -1
goto_if_false @DANCE_718
Clock.SetTimeOfDay(0, 0)

:DANCE_718
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea(0@, 1@, 2@, 1.5, True)
Char.SetCoordinates($stattreadstamina_ctr, 0@, 1@, 2@)
Char.SetHeading($stattreadstamina_ctr, 3@)
gosub @DANCE_7103
gosub @DANCE_6048
17@ = 0
Audio.PreloadBeatTrack(4@)
7@ += 1

:DANCE_796
goto @DANCE_1088

:DANCE_803
13@ = Audio.GetBeatTrackStatus()
if 
  is_int_lvar_equal_to_constant 13@ == 2
goto_if_false @DANCE_941
Audio.PlayBeatTrack
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "DANCE_LOOP", v$txtString, 99.0, True, False, False, True, 1215752191)
if 
  not Char.IsDead(5@)
goto_if_false @DANCE_920
Task.PlayAnimNonInterruptable(5@, "DANCE_LOOP", v$txtString, 99.0, True, False, False, True, 1215752191)

:DANCE_920
Camera.DoFade(500, Fade.In)
TIMERB = 0
7@ += 1

:DANCE_941
goto @DANCE_1088

:DANCE_948
if 
  not Camera.GetFadingStatus
goto_if_false @DANCE_1081
if 
  5@ == -1
goto_if_false @DANCE_1043
if 
  TIMERB >= 10000
goto_if_false @DANCE_1036
start_new_script @BDISPLY 
Hud.DisplayCounterWithString($5300, CounterDisplay.Number, 'DNC_001')
6@ = 1
7@ = 1

:DANCE_1036
goto @DANCE_1081

:DANCE_1043
start_new_script @BDISPLY 
Hud.DisplayCounterWithString($5300, CounterDisplay.Number, 'DNC_001')
6@ = 1
7@ = 1

:DANCE_1081
goto @DANCE_1088

:DANCE_1088
return 

:DANCE_1090
switch_start 7@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @DANCE_2084 {caseNum1} 1 {caseLabel1} @DANCE_1153 {caseNum2} -1 {caseLabel2} @DANCE_2084 {caseNum3} -1 {caseLabel3} @DANCE_2084 {caseNum4} -1 {caseLabel4} @DANCE_2084 {caseNum5} -1 {caseLabel5} @DANCE_2084 {caseNum6} -1 {caseLabel6} @DANCE_2084 {caseNum7} -1 {caseLabel7} @DANCE_2084

:DANCE_1153
gosub @DANCE_5912
gosub @DANCE_8288
gosub @DANCE_5943
gosub @DANCE_5724
gosub @DANCE_3133
if 
  6@ == 3
goto_if_false @DANCE_1213
goto @DANCE_2084

:DANCE_1213
gosub @DANCE_3879
gosub @DANCE_5587
gosub @DANCE_6048
gosub @DANCE_9172
gosub @DANCE_9837
if 
  22@ == 3
goto_if_false @DANCE_1387
if 
  99999999 > $5300
goto_if_false @DANCE_1341
if 
  29@ == 2
goto_if_false @DANCE_1334
30@ = 10
30@ *= 2
add_int_lvar_to_int_var $5300 += 30@
goto @DANCE_1341

:DANCE_1334
$5300 += 10

:DANCE_1341
26@ += 1
gosub @DANCE_8351
if 
  31@ <> -1
goto_if_false @DANCE_1380
gosub @DANCE_4333

:DANCE_1380
goto @DANCE_2084

:DANCE_1387
if 
  22@ == 1
goto_if_false @DANCE_1526
if 
  99999999 > $5300
goto_if_false @DANCE_1480
if 
  29@ == 2
goto_if_false @DANCE_1473
30@ = 50
30@ *= 2
add_int_lvar_to_int_var $5300 += 30@
goto @DANCE_1480

:DANCE_1473
$5300 += 50

:DANCE_1480
28@ += 1
gosub @DANCE_8351
if 
  31@ <> -1
goto_if_false @DANCE_1519
gosub @DANCE_4333

:DANCE_1519
goto @DANCE_2084

:DANCE_1526
if 
  22@ == 2
goto_if_false @DANCE_1665
if 
  99999999 > $5300
goto_if_false @DANCE_1619
if 
  29@ == 2
goto_if_false @DANCE_1612
30@ = 20
30@ *= 2
add_int_lvar_to_int_var $5300 += 30@
goto @DANCE_1619

:DANCE_1612
$5300 += 20

:DANCE_1619
26@ += 1
gosub @DANCE_8351
if 
  31@ <> -1
goto_if_false @DANCE_1658
gosub @DANCE_4333

:DANCE_1658
goto @DANCE_2084

:DANCE_1665
if 
  22@ == 0
goto_if_false @DANCE_1768
if 
  $5300 > 0
goto_if_false @DANCE_1715
$5300 -= 0
goto @DANCE_1722

:DANCE_1715
$5300 = 0

:DANCE_1722
27@ += 1
gosub @DANCE_8351
if 
  31@ <> -1
goto_if_false @DANCE_1761
gosub @DANCE_4960

:DANCE_1761
goto @DANCE_2084

:DANCE_1768
if 
  22@ == 4
goto_if_false @DANCE_1871
if 
  $5300 > 0
goto_if_false @DANCE_1818
$5300 -= 0
goto @DANCE_1825

:DANCE_1818
$5300 = 0

:DANCE_1825
27@ += 1
gosub @DANCE_8351
if 
  31@ <> -1
goto_if_false @DANCE_1864
gosub @DANCE_4960

:DANCE_1864
goto @DANCE_2084

:DANCE_1871
if 
  22@ == 10
goto_if_false @DANCE_1974
if 
  $5300 > 0
goto_if_false @DANCE_1921
$5300 -= 0
goto @DANCE_1928

:DANCE_1921
$5300 = 0

:DANCE_1928
27@ += 1
gosub @DANCE_8351
if 
  31@ <> -1
goto_if_false @DANCE_1967
gosub @DANCE_4960

:DANCE_1967
goto @DANCE_2084

:DANCE_1974
if 
  22@ == 11
goto_if_false @DANCE_2077
if 
  $5300 > 0
goto_if_false @DANCE_2024
$5300 -= 0
goto @DANCE_2031

:DANCE_2024
$5300 = 0

:DANCE_2031
27@ += 1
gosub @DANCE_8351
if 
  31@ <> -1
goto_if_false @DANCE_2070
gosub @DANCE_4960

:DANCE_2070
goto @DANCE_2084

:DANCE_2077
goto @DANCE_2084

:DANCE_2084
return 

:DANCE_2086
switch_start 7@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @DANCE_2410 {caseNum1} 0 {caseLabel1} @DANCE_2149 {caseNum2} 1 {caseLabel2} @DANCE_2170 {caseNum3} 2 {caseLabel3} @DANCE_2222 {caseNum4} 3 {caseLabel4} @DANCE_2396 {caseNum5} -1 {caseLabel5} @DANCE_2410 {caseNum6} -1 {caseLabel6} @DANCE_2410 {caseNum7} -1 {caseLabel7} @DANCE_2410

:DANCE_2149
Camera.DoFade(500, Fade.Out)
7@ += 1
goto @DANCE_2410

:DANCE_2170
if 
  not Camera.GetFadingStatus
goto_if_false @DANCE_2215
13@ = Audio.GetBeatTrackStatus()
if 
  is_int_lvar_equal_to_constant 13@ == 3
goto_if_false @DANCE_2208
Audio.StopBeatTrack

:DANCE_2208
7@ += 1

:DANCE_2215
goto @DANCE_2410

:DANCE_2222
Hud.ClearCounter($5300)
Char.HideWeaponForScriptedCutscene($stattreadstamina_ctr, False)
Game.SetAllCarsCanBeDamaged(True)
Hud.Display(True)
Hud.DisplayRadar(True)
Text.ClearHelp
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "DANCE_LOOP", v$txtString, 16.0, False, False, False, False, 0)
if 
  not Char.IsDead(5@)
goto_if_false @DANCE_2355
Char.ClearTasksImmediately(5@)
Task.PlayAnimNonInterruptable(5@, "DANCE_LOOP", v$txtString, 16.0, False, False, False, False, 0)

:DANCE_2355
if 
  5@ <> -1
goto_if_false @DANCE_2375
Clock.Restore

:DANCE_2375
Camera.DoFade(1500, Fade.In)
7@ += 1
goto @DANCE_2410

:DANCE_2396
gosub @DANCE_16873
goto @DANCE_2410

:DANCE_2410
return 

:DANCE_2412
switch_start 7@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @DANCE_2963 {caseNum1} 0 {caseLabel1} @DANCE_2475 {caseNum2} 1 {caseLabel2} @DANCE_2567 {caseNum3} -1 {caseLabel3} @DANCE_2963 {caseNum4} -1 {caseLabel4} @DANCE_2963 {caseNum5} -1 {caseLabel5} @DANCE_2963 {caseNum6} -1 {caseLabel6} @DANCE_2963 {caseNum7} -1 {caseLabel7} @DANCE_2963

:DANCE_2475
Audio.PauseCurrentBeatTrack(True)
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, v$txtCURR_DANCE_MOVE_P)
goto_if_false @DANCE_2508
Char.SetAnimPlayingFlag($stattreadstamina_ctr, v$txtCURR_DANCE_MOVE_P, False)

:DANCE_2508
if 
  not Char.IsDead(5@)
goto_if_false @DANCE_2553
if 
  Char.IsPlayingAnim(5@, v$txtCURR_DANCE_BLOCK)
goto_if_false @DANCE_2553
Char.SetAnimPlayingFlag(5@, v$txtCURR_DANCE_BLOCK, False)

:DANCE_2553
7@ += 1
goto @DANCE_2963

:DANCE_2567
gosub @DANCE_3133
if 
is_japanese_version 
goto_if_false @DANCE_2775
if 
  18@ == 4
goto_if_false @DANCE_2633
$5300 = 0
6@ = 2
7@ = 0
goto @DANCE_2963

:DANCE_2633
if 
  18@ == 1
goto_if_false @DANCE_2768
if 
  6@ > 0
goto_if_false @DANCE_2768
Audio.PauseCurrentBeatTrack(False)
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, v$txtCURR_DANCE_MOVE_P)
goto_if_false @DANCE_2702
Char.SetAnimPlayingFlag($stattreadstamina_ctr, v$txtCURR_DANCE_MOVE_P, True)

:DANCE_2702
if 
  not Char.IsDead(5@)
goto_if_false @DANCE_2747
if 
  Char.IsPlayingAnim(5@, v$txtCURR_DANCE_BLOCK)
goto_if_false @DANCE_2747
Char.SetAnimPlayingFlag(5@, v$txtCURR_DANCE_BLOCK, True)

:DANCE_2747
6@ = 1
7@ = 1
goto @DANCE_2963

:DANCE_2768
goto @DANCE_2956

:DANCE_2775
if 
  18@ == 1
goto_if_false @DANCE_2821
$5300 = 0
6@ = 2
7@ = 0
goto @DANCE_2963

:DANCE_2821
if 
  18@ == 3
goto_if_false @DANCE_2956
if 
  6@ > 0
goto_if_false @DANCE_2956
Audio.PauseCurrentBeatTrack(False)
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, v$txtCURR_DANCE_MOVE_P)
goto_if_false @DANCE_2890
Char.SetAnimPlayingFlag($stattreadstamina_ctr, v$txtCURR_DANCE_MOVE_P, True)

:DANCE_2890
if 
  not Char.IsDead(5@)
goto_if_false @DANCE_2935
if 
  Char.IsPlayingAnim(5@, v$txtCURR_DANCE_BLOCK)
goto_if_false @DANCE_2935
Char.SetAnimPlayingFlag(5@, v$txtCURR_DANCE_BLOCK, True)

:DANCE_2935
6@ = 1
7@ = 1
goto @DANCE_2963

:DANCE_2956
goto @DANCE_2963

:DANCE_2963
return 

:DANCE_2965
switch_start 4@ {numCases} 4 {hasDefaultCase} 1 {defaultLabel} @DANCE_3107 {caseNum1} 1 {caseLabel1} @DANCE_3028 {caseNum2} 2 {caseLabel2} @DANCE_3047 {caseNum3} 3 {caseLabel3} @DANCE_3066 {caseNum4} 4 {caseLabel4} @DANCE_3090 {caseNum5} -1 {caseLabel5} @DANCE_3131 {caseNum6} -1 {caseLabel6} @DANCE_3131 {caseNum7} -1 {caseLabel7} @DANCE_3131

:DANCE_3028
set_var_text_label16 v$txtString = "GFUNK"
goto @DANCE_3131

:DANCE_3047
set_var_text_label16 v$txtString = "GFUNK"
goto @DANCE_3131

:DANCE_3066
set_var_text_label16 v$txtString = "RUNNINGMAN"
goto @DANCE_3131

:DANCE_3090
set_var_text_label16 v$txtString = "WOP"
goto @DANCE_3131

:DANCE_3107
set_var_text_label16 v$txtString = "WOP"
4@ = 4
goto @DANCE_3131

:DANCE_3131
return 

:DANCE_3133
switch_start 23@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @DANCE_3877 {caseNum1} 1 {caseLabel1} @DANCE_3681 {caseNum2} 2 {caseLabel2} @DANCE_3636 {caseNum3} 3 {caseLabel3} @DANCE_3440 {caseNum4} 4 {caseLabel4} @DANCE_3395 {caseNum5} 5 {caseLabel5} @DANCE_3196 {caseNum6} -1 {caseLabel6} @DANCE_3877 {caseNum7} -1 {caseLabel7} @DANCE_3877

:DANCE_3196
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @DANCE_3234
18@ = 4
23@ = 4
goto @DANCE_3877

:DANCE_3234
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DANCE_3292
18@ = 3
23@ = 3
if 
  not is_japanese_version 
goto_if_false @DANCE_3285
TIMERB = 0

:DANCE_3285
goto @DANCE_3877

:DANCE_3292
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @DANCE_3330
18@ = 2
23@ = 2
goto @DANCE_3877

:DANCE_3330
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DANCE_3388
18@ = 1
23@ = 1
if 
is_japanese_version 
goto_if_false @DANCE_3381
TIMERB = 0

:DANCE_3381
goto @DANCE_3877

:DANCE_3388
goto @DANCE_3877

:DANCE_3395
18@ = 5
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Circle)
goto_if_false @DANCE_3433
23@ = 5
goto @DANCE_3877

:DANCE_3433
goto @DANCE_3877

:DANCE_3440
18@ = 5
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @DANCE_3485
23@ = 5
goto @DANCE_3877
goto @DANCE_3629

:DANCE_3485
if 
  not is_japanese_version 
goto_if_false @DANCE_3629
if 
  5@ == -1
goto_if_false @DANCE_3585
if 
  22@ <> 5
goto_if_false @DANCE_3578
if and
  6@ <> 3
  TIMERB >= 800
goto_if_false @DANCE_3578
Text.ClearHelp
6@ = 3
7@ = 0
return 

:DANCE_3578
goto @DANCE_3629

:DANCE_3585
if and
  6@ <> 3
  TIMERB >= 800
goto_if_false @DANCE_3629
Text.ClearHelp
6@ = 3
7@ = 0
return 

:DANCE_3629
goto @DANCE_3877

:DANCE_3636
18@ = 5
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Square)
goto_if_false @DANCE_3674
23@ = 5
goto @DANCE_3877

:DANCE_3674
goto @DANCE_3877

:DANCE_3681
18@ = 5
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @DANCE_3726
23@ = 5
goto @DANCE_3877
goto @DANCE_3870

:DANCE_3726
if 
is_japanese_version 
goto_if_false @DANCE_3870
if 
  5@ == -1
goto_if_false @DANCE_3826
if 
  22@ <> 5
goto_if_false @DANCE_3819
if and
  6@ <> 3
  TIMERB >= 800
goto_if_false @DANCE_3819
Text.ClearHelp
6@ = 3
7@ = 0
return 

:DANCE_3819
goto @DANCE_3870

:DANCE_3826
if and
  6@ <> 3
  TIMERB >= 800
goto_if_false @DANCE_3870
Text.ClearHelp
6@ = 3
7@ = 0
return 

:DANCE_3870
goto @DANCE_3877

:DANCE_3877
return 

:DANCE_3879
14@, 13@, 15@ = Audio.GetBeatProximity(0)
if 
  14@ > 3000
goto_if_false @DANCE_3925
22@ = 5
goto @DANCE_4331

:DANCE_3925
if 
  is_int_lvar_greater_than_int_lvar 15@ > 16@
goto_if_false @DANCE_4242
if 
  18@ == 5
goto_if_false @DANCE_4005
if 
  -132 > 14@
goto_if_false @DANCE_3998
22@ = 0
set_lvar_int_to_lvar_int 16@ = 15@
return 

:DANCE_3998
goto @DANCE_4235

:DANCE_4005
$time_since_first_beat = 1
if 
  is_int_lvar_equal_to_int_lvar 18@ == 13@
goto_if_false @DANCE_4218
if and
  42 >= 14@
  14@ >= -42
goto_if_false @DANCE_4087
22@ = 1
$time_since_first_beat = 3
set_lvar_int_to_lvar_int 16@ = 15@
return 
goto @DANCE_4211

:DANCE_4087
if and
  72 >= 14@
  14@ >= -72
goto_if_false @DANCE_4143
22@ = 2
$time_since_first_beat = 2
set_lvar_int_to_lvar_int 16@ = 15@
return 
goto @DANCE_4211

:DANCE_4143
if and
  132 >= 14@
  14@ >= -132
goto_if_false @DANCE_4194
22@ = 3
set_lvar_int_to_lvar_int 16@ = 15@
return 
goto @DANCE_4211

:DANCE_4194
22@ = 11
set_lvar_int_to_lvar_int 16@ = 15@
return 

:DANCE_4211
goto @DANCE_4235

:DANCE_4218
22@ = 10
set_lvar_int_to_lvar_int 16@ = 15@
return 

:DANCE_4235
goto @DANCE_4331

:DANCE_4242
if or
  22@ == 1
  22@ == 2
  22@ == 3
goto_if_false @DANCE_4283
22@ = 8
return 

:DANCE_4283
if or
  22@ == 0
  22@ == 4
  22@ == 10
  22@ == 11
goto_if_false @DANCE_4331
22@ = 9
return 

:DANCE_4331
return 

:DANCE_4333
switch_start 17@ {numCases} 15 {hasDefaultCase} 1 {defaultLabel} @DANCE_4461 {caseNum1} 2 {caseLabel1} @DANCE_4490 {caseNum2} 3 {caseLabel2} @DANCE_4519 {caseNum3} 4 {caseLabel3} @DANCE_4548 {caseNum4} 5 {caseLabel4} @DANCE_4577 {caseNum5} 6 {caseLabel5} @DANCE_4606 {caseNum6} 7 {caseLabel6} @DANCE_4635 {caseNum7} 8 {caseLabel7} @DANCE_4664
switch_continued 9 {caseLabel1} @DANCE_4693 {caseNum2} 10 {caseLabel2} @DANCE_4722 {caseNum3} 11 {caseLabel3} @DANCE_4752 {caseNum4} 12 {caseLabel4} @DANCE_4782 {caseNum5} 13 {caseLabel5} @DANCE_4812 {caseNum6} 14 {caseLabel6} @DANCE_4842 {caseNum7} 15 {caseLabel7} @DANCE_4872 {caseNum8} 16 {caseLabel8} @DANCE_4902 {caseNum9} -1 {caseLabel9} @DANCE_4932

:DANCE_4461
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G1"
17@ = 2
goto @DANCE_4932

:DANCE_4490
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G2"
17@ += 1
goto @DANCE_4932

:DANCE_4519
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G3"
17@ += 1
goto @DANCE_4932

:DANCE_4548
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G4"
17@ += 1
goto @DANCE_4932

:DANCE_4577
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G5"
17@ += 1
goto @DANCE_4932

:DANCE_4606
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G6"
17@ += 1
goto @DANCE_4932

:DANCE_4635
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G7"
17@ += 1
goto @DANCE_4932

:DANCE_4664
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G8"
17@ += 1
goto @DANCE_4932

:DANCE_4693
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G9"
17@ += 1
goto @DANCE_4932

:DANCE_4722
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G10"
17@ += 1
goto @DANCE_4932

:DANCE_4752
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G11"
17@ += 1
goto @DANCE_4932

:DANCE_4782
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G12"
17@ += 1
goto @DANCE_4932

:DANCE_4812
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G13"
17@ += 1
goto @DANCE_4932

:DANCE_4842
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G14"
17@ += 1
goto @DANCE_4932

:DANCE_4872
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G15"
17@ += 1
goto @DANCE_4932

:DANCE_4902
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_G16"
17@ += 1
goto @DANCE_4932

:DANCE_4932
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, v$txtCURR_DANCE_MOVE_P, v$txtString, 4.0, False, False, False, False, 0)
return 

:DANCE_4960
switch_start 17@ {numCases} 15 {hasDefaultCase} 1 {defaultLabel} @DANCE_5088 {caseNum1} 2 {caseLabel1} @DANCE_5117 {caseNum2} 3 {caseLabel2} @DANCE_5146 {caseNum3} 4 {caseLabel3} @DANCE_5175 {caseNum4} 5 {caseLabel4} @DANCE_5204 {caseNum5} 6 {caseLabel5} @DANCE_5233 {caseNum6} 7 {caseLabel6} @DANCE_5262 {caseNum7} 8 {caseLabel7} @DANCE_5291
switch_continued 9 {caseLabel1} @DANCE_5320 {caseNum2} 10 {caseLabel2} @DANCE_5349 {caseNum3} 11 {caseLabel3} @DANCE_5379 {caseNum4} 12 {caseLabel4} @DANCE_5409 {caseNum5} 13 {caseLabel5} @DANCE_5439 {caseNum6} 14 {caseLabel6} @DANCE_5469 {caseNum7} 15 {caseLabel7} @DANCE_5499 {caseNum8} 16 {caseLabel8} @DANCE_5529 {caseNum9} -1 {caseLabel9} @DANCE_5559

:DANCE_5088
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B1"
17@ = 2
goto @DANCE_5559

:DANCE_5117
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B2"
17@ += 1
goto @DANCE_5559

:DANCE_5146
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B3"
17@ += 1
goto @DANCE_5559

:DANCE_5175
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B4"
17@ += 1
goto @DANCE_5559

:DANCE_5204
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B5"
17@ += 1
goto @DANCE_5559

:DANCE_5233
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B6"
17@ += 1
goto @DANCE_5559

:DANCE_5262
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B7"
17@ += 1
goto @DANCE_5559

:DANCE_5291
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B8"
17@ += 1
goto @DANCE_5559

:DANCE_5320
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B9"
17@ += 1
goto @DANCE_5559

:DANCE_5349
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B10"
17@ += 1
goto @DANCE_5559

:DANCE_5379
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B11"
17@ += 1
goto @DANCE_5559

:DANCE_5409
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B12"
17@ += 1
goto @DANCE_5559

:DANCE_5439
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B13"
17@ += 1
goto @DANCE_5559

:DANCE_5469
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B14"
17@ += 1
goto @DANCE_5559

:DANCE_5499
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B15"
17@ += 1
goto @DANCE_5559

:DANCE_5529
set_var_text_label16 v$txtCURR_DANCE_MOVE_P = "DANCE_B16"
17@ += 1
goto @DANCE_5559

:DANCE_5559
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, v$txtCURR_DANCE_MOVE_P, v$txtString, 4.0, False, False, False, False, 0)
return 

:DANCE_5587
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, v$txtCURR_DANCE_MOVE_P)
goto_if_false @DANCE_5713
12@ = Char.GetAnimTotalTime($stattreadstamina_ctr, v$txtCURR_DANCE_MOVE_P)
11@ = Char.GetAnimCurrentTime($stattreadstamina_ctr, v$txtCURR_DANCE_MOVE_P)
cset_lvar_float_to_lvar_int 8@ =# 21@
set_lvar_float_to_lvar_float 0@ = 8@
div_float_lvar_by_float_lvar 0@ /= 12@
add_float_lvar_to_float_lvar 11@ += 0@
if 
  11@ >= 1.0
goto_if_false @DANCE_5697
31@ = 1
return 
goto @DANCE_5706

:DANCE_5697
31@ = -1
return 

:DANCE_5706
goto @DANCE_5722

:DANCE_5713
31@ = 0
return 

:DANCE_5722
return 

:DANCE_5724
if 
  5@ > -1
goto_if_false @DANCE_5910
if 
  Char.IsPlayingAnim(5@, v$txtCURR_DANCE_BLOCK)
goto_if_false @DANCE_5852
12@ = Char.GetAnimTotalTime(5@, v$txtCURR_DANCE_BLOCK)
11@ = Char.GetAnimCurrentTime(5@, v$txtCURR_DANCE_BLOCK)
cset_lvar_float_to_lvar_int 8@ =# 21@
set_lvar_float_to_lvar_float 0@ = 8@
div_float_lvar_by_float_lvar 0@ /= 12@
add_float_lvar_to_float_lvar 11@ += 0@
if 
  11@ >= 1.0
goto_if_false @DANCE_5845
gosub @DANCE_7286
return 

:DANCE_5845
goto @DANCE_5910

:DANCE_5852
14@, 13@, 15@ = Audio.GetBeatProximity(0)
if 
  15@ == 0
goto_if_false @DANCE_5910
if 
  25 >= 14@
goto_if_false @DANCE_5910
gosub @DANCE_7286
return 

:DANCE_5910
return 

:DANCE_5912
19@ = Clock.GetGameTimer()
set_lvar_int_to_lvar_int 21@ = 19@
sub_int_lvar_from_int_lvar 21@ -= 20@
set_lvar_int_to_lvar_int 20@ = 19@
return 

:DANCE_5943
gosub @DANCE_5587
if 
  31@ == 1
goto_if_false @DANCE_6046
if or
  22@ == 1
  22@ == 2
  22@ == 3
  22@ == 8
goto_if_false @DANCE_6030
gosub @DANCE_4333
31@ = -1
return 
goto @DANCE_6046

:DANCE_6030
gosub @DANCE_4960
31@ = -1
return 

:DANCE_6046
return 

:DANCE_6048
switch_start 17@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @DANCE_7101 {caseNum1} -1 {caseLabel1} @DANCE_6111 {caseNum2} 4 {caseLabel2} @DANCE_6309 {caseNum3} 8 {caseLabel3} @DANCE_6507 {caseNum4} 12 {caseLabel4} @DANCE_6705 {caseNum5} 16 {caseLabel5} @DANCE_6903 {caseNum6} -1 {caseLabel6} @DANCE_7101 {caseNum7} -1 {caseLabel7} @DANCE_7101

:DANCE_6111
if and
  5@ == -1
  $5319[0] > 0.0
goto_if_false @DANCE_6185
Camera.SetFixedPosition($5319[0], $5324[0], $5329[0], 0.0, 0.0, 0.0)
Camera.PointAtPoint($5334[0], $5339[0], $5344[0], SwitchType.JumpCut)
goto @DANCE_6302

:DANCE_6185
8@, 9@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -2.3176, 0.9635, 0.5141)
0@, 1@, 2@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -1.3381, 0.8235, 0.6587)
10@ -= 1.0
2@ -= 1.0
Camera.SetFixedPosition(8@, 9@, 10@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(0@, 1@, 2@, SwitchType.JumpCut)

:DANCE_6302
goto @DANCE_7101

:DANCE_6309
if and
  5@ == -1
  $5319[1] > 0.0
goto_if_false @DANCE_6383
Camera.SetFixedPosition($5319[1], $5324[1], $5329[1], 0.0, 0.0, 0.0)
Camera.PointAtPoint($5334[1], $5339[1], $5344[1], SwitchType.JumpCut)
goto @DANCE_6500

:DANCE_6383
8@, 9@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 3.5814, 0.8987, 0.6651)
0@, 1@, 2@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 2.6071, 0.853, 0.8857)
10@ -= 1.0
2@ -= 1.0
Camera.SetFixedPosition(8@, 9@, 10@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(0@, 1@, 2@, SwitchType.JumpCut)

:DANCE_6500
goto @DANCE_7101

:DANCE_6507
if and
  5@ == -1
  $5319[2] > 0.0
goto_if_false @DANCE_6581
Camera.SetFixedPosition($5319[2], $5324[2], $5329[2], 0.0, 0.0, 0.0)
Camera.PointAtPoint($5334[2], $5339[2], $5344[2], SwitchType.JumpCut)
goto @DANCE_6698

:DANCE_6581
8@, 9@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.3843, 2.9502, 1.8476)
0@, 1@, 2@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.461, 2.0089, 1.5188)
10@ -= 1.0
2@ -= 1.0
Camera.SetFixedPosition(8@, 9@, 10@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(0@, 1@, 2@, SwitchType.JumpCut)

:DANCE_6698
goto @DANCE_7101

:DANCE_6705
if and
  5@ == -1
  $5319[3] > 0.0
goto_if_false @DANCE_6779
Camera.SetFixedPosition($5319[3], $5324[3], $5329[3], 0.0, 0.0, 0.0)
Camera.PointAtPoint($5334[3], $5339[3], $5344[3], SwitchType.JumpCut)
goto @DANCE_6896

:DANCE_6779
8@, 9@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -2.2621, 0.1226, 0.6863)
0@, 1@, 2@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -1.2706, 0.1649, 0.8096)
10@ -= 1.0
2@ -= 1.0
Camera.SetFixedPosition(8@, 9@, 10@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(0@, 1@, 2@, SwitchType.JumpCut)

:DANCE_6896
goto @DANCE_7101

:DANCE_6903
if and
  5@ == -1
  $5319[4] > 0.0
goto_if_false @DANCE_6977
Camera.SetFixedPosition($5319[4], $5324[4], $5329[4], 0.0, 0.0, 0.0)
Camera.PointAtPoint($5334[4], $5339[4], $5344[4], SwitchType.JumpCut)
goto @DANCE_7094

:DANCE_6977
8@, 9@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -1.6647, 1.7322, 2.3217)
0@, 1@, 2@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -0.8677, 1.3108, 1.889)
10@ -= 1.0
2@ -= 1.0
Camera.SetFixedPosition(8@, 9@, 10@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(0@, 1@, 2@, SwitchType.JumpCut)

:DANCE_7094
goto @DANCE_7101

:DANCE_7101
return 

:DANCE_7103
if 
  5@ <> -1
goto_if_false @DANCE_7284
8@, 9@, 10@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 1.0, 1.3, 0.0)
10@ = World.GetGroundZFor3DCoord(8@, 9@, 10@)
if 
  Char.IsDead(5@)
goto_if_false @DANCE_7194
gosub @DANCE_7929
goto @DANCE_7237

:DANCE_7194
if 
  Char.IsGroupMember(5@, $flag_cell_nation)
goto_if_false @DANCE_7218
Char.RemoveFromGroup(5@)

:DANCE_7218
Char.ClearTasksImmediately(5@)
Char.SetCoordinates(5@, 8@, 9@, 10@)

:DANCE_7237
if and
  not Char.IsDead(5@)
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @DANCE_7284
11@ = Char.GetHeading($stattreadstamina_ctr)
11@ += 180.0
Char.SetHeading(5@, 11@)

:DANCE_7284
return 

:DANCE_7286
switch_start 25@ {numCases} 15 {hasDefaultCase} 1 {defaultLabel} @DANCE_7414 {caseNum1} 2 {caseLabel1} @DANCE_7443 {caseNum2} 3 {caseLabel2} @DANCE_7472 {caseNum3} 4 {caseLabel3} @DANCE_7501 {caseNum4} 5 {caseLabel4} @DANCE_7530 {caseNum5} 6 {caseLabel5} @DANCE_7559 {caseNum6} 7 {caseLabel6} @DANCE_7588 {caseNum7} 8 {caseLabel7} @DANCE_7617
switch_continued 9 {caseLabel1} @DANCE_7646 {caseNum2} 10 {caseLabel2} @DANCE_7675 {caseNum3} 11 {caseLabel3} @DANCE_7705 {caseNum4} 12 {caseLabel4} @DANCE_7735 {caseNum5} 13 {caseLabel5} @DANCE_7765 {caseNum6} 14 {caseLabel6} @DANCE_7795 {caseNum7} 15 {caseLabel7} @DANCE_7825 {caseNum8} 16 {caseLabel8} @DANCE_7855 {caseNum9} -1 {caseLabel9} @DANCE_7885

:DANCE_7414
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G1"
25@ = 2
goto @DANCE_7885

:DANCE_7443
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G2"
25@ += 1
goto @DANCE_7885

:DANCE_7472
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G3"
25@ += 1
goto @DANCE_7885

:DANCE_7501
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G4"
25@ += 1
goto @DANCE_7885

:DANCE_7530
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G5"
25@ += 1
goto @DANCE_7885

:DANCE_7559
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G6"
25@ += 1
goto @DANCE_7885

:DANCE_7588
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G7"
25@ += 1
goto @DANCE_7885

:DANCE_7617
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G8"
25@ += 1
goto @DANCE_7885

:DANCE_7646
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G9"
25@ += 1
goto @DANCE_7885

:DANCE_7675
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G10"
25@ += 1
goto @DANCE_7885

:DANCE_7705
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G11"
25@ += 1
goto @DANCE_7885

:DANCE_7735
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G12"
25@ += 1
goto @DANCE_7885

:DANCE_7765
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G13"
25@ += 1
goto @DANCE_7885

:DANCE_7795
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G14"
25@ += 1
goto @DANCE_7885

:DANCE_7825
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G15"
25@ += 1
goto @DANCE_7885

:DANCE_7855
set_var_text_label16 v$txtCURR_DANCE_BLOCK = "DANCE_G16"
25@ += 1
goto @DANCE_7885

:DANCE_7885
if 
  not Char.IsDead(5@)
goto_if_false @DANCE_7927
Task.PlayAnimNonInterruptable(5@, v$txtCURR_DANCE_BLOCK, v$txtString, 4.0, False, False, False, False, 0)

:DANCE_7927
return 

:DANCE_7929
13@ = Math.RandomIntInRange(1, 5)
switch_start 13@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @DANCE_8286 {caseNum1} 1 {caseLabel1} @DANCE_8001 {caseNum2} 2 {caseLabel2} @DANCE_8058 {caseNum3} 3 {caseLabel3} @DANCE_8115 {caseNum4} 4 {caseLabel4} @DANCE_8172 {caseNum5} 5 {caseLabel5} @DANCE_8229 {caseNum6} -1 {caseLabel6} @DANCE_8286 {caseNum7} -1 {caseLabel7} @DANCE_8286

:DANCE_8001
if 
  not Streaming.HasModelLoaded(12)
goto_if_false @DANCE_8031
Streaming.RequestModel(12)
wait 0
goto @DANCE_8001

:DANCE_8031
5@ = Char.Create(PedType.CivFemale, 12, 8@, 9@, 10@)
return 
goto @DANCE_8286

:DANCE_8058
if 
  not Streaming.HasModelLoaded(56)
goto_if_false @DANCE_8088
Streaming.RequestModel(56)
wait 0
goto @DANCE_8058

:DANCE_8088
5@ = Char.Create(PedType.CivFemale, 56, 8@, 9@, 10@)
return 
goto @DANCE_8286

:DANCE_8115
if 
  not Streaming.HasModelLoaded(93)
goto_if_false @DANCE_8145
Streaming.RequestModel(93)
wait 0
goto @DANCE_8115

:DANCE_8145
5@ = Char.Create(PedType.CivFemale, 93, 8@, 9@, 10@)
return 
goto @DANCE_8286

:DANCE_8172
if 
  not Streaming.HasModelLoaded(40)
goto_if_false @DANCE_8202
Streaming.RequestModel(40)
wait 0
goto @DANCE_8172

:DANCE_8202
5@ = Char.Create(PedType.CivFemale, 40, 8@, 9@, 10@)
return 
goto @DANCE_8286

:DANCE_8229
if 
  not Streaming.HasModelLoaded(91)
goto_if_false @DANCE_8259
Streaming.RequestModel(91)
wait 0
goto @DANCE_8229

:DANCE_8259
5@ = Char.Create(PedType.CivFemale, 91, 8@, 9@, 10@)
return 
goto @DANCE_8286

:DANCE_8286
return 

:DANCE_8288
if 
  not is_var_text_label16_empty v$txtCURR_DANCE_MOVE_P
goto_if_false @DANCE_8349
14@, 13@, 15@ = Audio.GetBeatProximity(0)
if 
  13@ == 33
goto_if_false @DANCE_8349
6@ = 2
7@ = 0

:DANCE_8349
return 

:DANCE_8351
switch_start 24@ {numCases} 2 {hasDefaultCase} 1 {defaultLabel} @DANCE_8414 {caseNum1} 2 {caseLabel1} @DANCE_8666 {caseNum2} 3 {caseLabel2} @DANCE_8918 {caseNum3} -1 {caseLabel3} @DANCE_9170 {caseNum4} -1 {caseLabel4} @DANCE_9170 {caseNum5} -1 {caseLabel5} @DANCE_9170 {caseNum6} -1 {caseLabel6} @DANCE_9170 {caseNum7} -1 {caseLabel7} @DANCE_9170

:DANCE_8414
if 
  22@ == 1
goto_if_false @DANCE_8448
Text.PrintBig('DNC_005', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8448
if 
  22@ == 2
goto_if_false @DANCE_8482
Text.PrintBig('DNC_006', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8482
if 
  22@ == 3
goto_if_false @DANCE_8516
Text.PrintBig('DNC_007', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8516
if 
  22@ == 0
goto_if_false @DANCE_8550
Text.PrintBig('DNC_008', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8550
if 
  22@ == 4
goto_if_false @DANCE_8584
Text.PrintBig('DNC_009', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8584
if 
  22@ == 10
goto_if_false @DANCE_8618
Text.PrintBig('DNC_010', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8618
if 
  22@ == 11
goto_if_false @DANCE_8652
Text.PrintBig('DNC_011', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8652
24@ = 2
goto @DANCE_9170

:DANCE_8666
if 
  22@ == 1
goto_if_false @DANCE_8700
Text.PrintBig('DNC_012', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8700
if 
  22@ == 2
goto_if_false @DANCE_8734
Text.PrintBig('DNC_013', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8734
if 
  22@ == 3
goto_if_false @DANCE_8768
Text.PrintBig('DNC_014', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8768
if 
  22@ == 0
goto_if_false @DANCE_8802
Text.PrintBig('DNC_015', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8802
if 
  22@ == 4
goto_if_false @DANCE_8836
Text.PrintBig('DNC_016', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8836
if 
  22@ == 10
goto_if_false @DANCE_8870
Text.PrintBig('DNC_017', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8870
if 
  22@ == 11
goto_if_false @DANCE_8904
Text.PrintBig('DNC_018', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8904
24@ += 1
goto @DANCE_9170

:DANCE_8918
if 
  22@ == 1
goto_if_false @DANCE_8952
Text.PrintBig('DNC_019', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8952
if 
  22@ == 2
goto_if_false @DANCE_8986
Text.PrintBig('DNC_020', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_8986
if 
  22@ == 3
goto_if_false @DANCE_9020
Text.PrintBig('DNC_021', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_9020
if 
  22@ == 0
goto_if_false @DANCE_9054
Text.PrintBig('DNC_022', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_9054
if 
  22@ == 4
goto_if_false @DANCE_9088
Text.PrintBig('DNC_023', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_9088
if 
  22@ == 10
goto_if_false @DANCE_9122
Text.PrintBig('DNC_024', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_9122
if 
  22@ == 11
goto_if_false @DANCE_9156
Text.PrintBig('DNC_025', 1000, TextStyle.MiddleSmallerHigher)

:DANCE_9156
24@ += 1
goto @DANCE_9170

:DANCE_9170
return 

:DANCE_9172
set_lvar_int_to_lvar_int 13@ = 26@
add_int_lvar_to_int_lvar 13@ += 27@
add_int_lvar_to_int_lvar 13@ += 28@
if 
  13@ > 0
goto_if_false @DANCE_9697
if 
  13@ >= 4
goto_if_false @DANCE_9697
if 
  28@ == 4
goto_if_false @DANCE_9367
if or
  29@ == 1
  29@ == 2
goto_if_false @DANCE_9321
$d_lsticky = 2
TIMERA = 0
Text.PrintBig('DNC_002', 50000, TextStyle.LightBlueTop)
29@ = 2
goto @DANCE_9360

:DANCE_9321
$d_lsticky = 2
TIMERA = 0
Text.PrintBig('DNC_004', 50000, TextStyle.LightBlueTop)
29@ = 1

:DANCE_9360
goto @DANCE_9676

:DANCE_9367
if 
  is_int_lvar_greater_than_int_lvar 26@ > 27@
goto_if_false @DANCE_9490
if 
  29@ <> 1
goto_if_false @DANCE_9425
$d_lsticky = 4
TIMERA = 0
goto @DANCE_9458

:DANCE_9425
if 
  TIMERA >= 10000
goto_if_false @DANCE_9458
$d_lsticky = 4
TIMERA = 0

:DANCE_9458
Text.PrintBig('DNC_004', 50000, TextStyle.LightBlueTop)
29@ = 1
goto @DANCE_9676

:DANCE_9490
if 
  29@ == 2
goto_if_false @DANCE_9554
$d_lsticky = 3
TIMERA = 0
Text.PrintBig('DNC_004', 50000, TextStyle.LightBlueTop)
29@ = 1
goto @DANCE_9676

:DANCE_9554
if 
  29@ == 1
goto_if_false @DANCE_9618
$d_lsticky = 5
TIMERA = 0
Text.PrintBig('DNC_003', 50000, TextStyle.LightBlueTop)
29@ = 0
goto @DANCE_9676

:DANCE_9618
if 
  TIMERA >= 10000
goto_if_false @DANCE_9651
$d_lsticky = 5
TIMERA = 0

:DANCE_9651
Text.PrintBig('DNC_003', 50000, TextStyle.LightBlueTop)
29@ = 0

:DANCE_9676
28@ = 0
26@ = 0
27@ = 0

:DANCE_9697
return 

:DANCE_9699
Text.SetRightJustify(False)
Text.SetProportional(True)
Text.SetBackground(True)
Text.SetScale(0.5014, 1.8889)
Text.SetEdge(2, 0, 0, 0, 255)
if 
  6@ == 3
goto_if_false @DANCE_9789
Text.SetWrapX(240.0)
Text.Display(32.0, 32.0, 'DNC_H2')
goto @DANCE_9835

:DANCE_9789
if 
  6@ <> 2
goto_if_false @DANCE_9835
Text.SetWrapX(220.0)
Text.Display(32.0, 32.0, 'DNC_H1')

:DANCE_9835
return 

:DANCE_9837
switch_start $d_rstickx {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @DANCE_10263 {caseNum1} 0 {caseLabel1} @DANCE_9900 {caseNum2} 1 {caseLabel2} @DANCE_10223 {caseNum3} 6 {caseLabel3} @DANCE_10063 {caseNum4} 8 {caseLabel4} @DANCE_10103 {caseNum5} 9 {caseLabel5} @DANCE_10143 {caseNum6} 10 {caseLabel6} @DANCE_10183 {caseNum7} -1 {caseLabel7} @DANCE_10263

:DANCE_9900
if 
  $d_lsticky == 2
goto_if_false @DANCE_9939
$d_rstickx = 6
$d_lsticky = -1
goto @DANCE_10263

:DANCE_9939
if 
  $d_lsticky == 3
goto_if_false @DANCE_9978
$d_rstickx = 8
$d_lsticky = -1
goto @DANCE_10263

:DANCE_9978
if 
  $d_lsticky == 4
goto_if_false @DANCE_10017
$d_rstickx = 9
$d_lsticky = -1
goto @DANCE_10263

:DANCE_10017
if 
  $d_lsticky == 5
goto_if_false @DANCE_10056
$d_rstickx = 10
$d_lsticky = -1
goto @DANCE_10263

:DANCE_10056
goto @DANCE_10263

:DANCE_10063
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @DANCE_10096
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
gosub @DANCE_10265
$d_rstickx = 1

:DANCE_10096
goto @DANCE_10263

:DANCE_10103
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @DANCE_10136
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
gosub @DANCE_11917
$d_rstickx = 1

:DANCE_10136
goto @DANCE_10263

:DANCE_10143
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @DANCE_10176
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
gosub @DANCE_13569
$d_rstickx = 1

:DANCE_10176
goto @DANCE_10263

:DANCE_10183
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @DANCE_10216
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
gosub @DANCE_15221
$d_rstickx = 1

:DANCE_10216
goto @DANCE_10263

:DANCE_10223
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @DANCE_10256
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot4, $stattreadstamina_ctr)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
$d_rstickx = 0

:DANCE_10256
goto @DANCE_10263

:DANCE_10263
return 

:DANCE_10265
switch_start $d_rsticky {numCases} 56 {hasDefaultCase} 1 {defaultLabel} @DANCE_10718 {caseNum1} 1 {caseLabel1} @DANCE_10739 {caseNum2} 2 {caseLabel2} @DANCE_10760 {caseNum3} 3 {caseLabel3} @DANCE_10781 {caseNum4} 4 {caseLabel4} @DANCE_10802 {caseNum5} 5 {caseLabel5} @DANCE_10823 {caseNum6} 6 {caseLabel6} @DANCE_10844 {caseNum7} 7 {caseLabel7} @DANCE_10865
switch_continued 8 {caseLabel1} @DANCE_10886 {caseNum2} 9 {caseLabel2} @DANCE_10907 {caseNum3} 10 {caseLabel3} @DANCE_10928 {caseNum4} 11 {caseLabel4} @DANCE_10949 {caseNum5} 12 {caseLabel5} @DANCE_10970 {caseNum6} 13 {caseLabel6} @DANCE_10991 {caseNum7} 14 {caseLabel7} @DANCE_11012 {caseNum8} 15 {caseLabel8} @DANCE_11033 {caseNum9} 16 {caseLabel9} @DANCE_11054
switch_continued 17 {caseLabel1} @DANCE_11075 {caseNum2} 18 {caseLabel2} @DANCE_11096 {caseNum3} 19 {caseLabel3} @DANCE_11117 {caseNum4} 20 {caseLabel4} @DANCE_11138 {caseNum5} 21 {caseLabel5} @DANCE_11159 {caseNum6} 22 {caseLabel6} @DANCE_11180 {caseNum7} 23 {caseLabel7} @DANCE_11201 {caseNum8} 24 {caseLabel8} @DANCE_11222 {caseNum9} 25 {caseLabel9} @DANCE_11243
switch_continued 26 {caseLabel1} @DANCE_11264 {caseNum2} 27 {caseLabel2} @DANCE_11285 {caseNum3} 28 {caseLabel3} @DANCE_11306 {caseNum4} 29 {caseLabel4} @DANCE_11327 {caseNum5} 30 {caseLabel5} @DANCE_11348 {caseNum6} 31 {caseLabel6} @DANCE_11369 {caseNum7} 32 {caseLabel7} @DANCE_11390 {caseNum8} 33 {caseLabel8} @DANCE_11411 {caseNum9} 34 {caseLabel9} @DANCE_11432
switch_continued 35 {caseLabel1} @DANCE_11453 {caseNum2} 36 {caseLabel2} @DANCE_11474 {caseNum3} 37 {caseLabel3} @DANCE_11495 {caseNum4} 38 {caseLabel4} @DANCE_11516 {caseNum5} 39 {caseLabel5} @DANCE_11537 {caseNum6} 40 {caseLabel6} @DANCE_11558 {caseNum7} 41 {caseLabel7} @DANCE_11579 {caseNum8} 42 {caseLabel8} @DANCE_11600 {caseNum9} 43 {caseLabel9} @DANCE_11621
switch_continued 44 {caseLabel1} @DANCE_11642 {caseNum2} 45 {caseLabel2} @DANCE_11663 {caseNum3} 46 {caseLabel3} @DANCE_11684 {caseNum4} 47 {caseLabel4} @DANCE_11705 {caseNum5} 48 {caseLabel5} @DANCE_11726 {caseNum6} 49 {caseLabel6} @DANCE_11747 {caseNum7} 50 {caseLabel7} @DANCE_11768 {caseNum8} 51 {caseLabel8} @DANCE_11789 {caseNum9} 52 {caseLabel9} @DANCE_11810
switch_continued 53 {caseLabel1} @DANCE_11831 {caseNum2} 54 {caseLabel2} @DANCE_11852 {caseNum3} 55 {caseLabel3} @DANCE_11873 {caseNum4} 56 {caseLabel4} @DANCE_11894 {caseNum5} -1 {caseLabel5} @DANCE_11915 {caseNum6} -1 {caseLabel6} @DANCE_11915 {caseNum7} -1 {caseLabel7} @DANCE_11915 {caseNum8} -1 {caseLabel8} @DANCE_11915 {caseNum9} -1 {caseLabel9} @DANCE_11915

:DANCE_10718
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11455)
$d_rsticky = 1
goto @DANCE_11915

:DANCE_10739
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11400)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10760
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11401)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10781
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11402)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10802
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11403)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10823
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11404)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10844
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11405)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10865
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11406)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10886
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11407)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10907
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11408)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10928
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11409)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10949
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11410)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10970
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11411)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_10991
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11412)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11012
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11413)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11033
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11414)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11054
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11415)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11075
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11416)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11096
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11417)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11117
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11418)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11138
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11419)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11159
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11420)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11180
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11421)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11201
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11422)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11222
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11423)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11243
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11424)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11264
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11425)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11285
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11426)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11306
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11427)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11327
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11428)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11348
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11429)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11369
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11430)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11390
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11431)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11411
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11432)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11432
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11433)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11453
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11434)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11474
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11435)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11495
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11436)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11516
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11437)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11537
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11438)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11558
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11439)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11579
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11440)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11600
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11441)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11621
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11442)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11642
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11443)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11663
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11444)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11684
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11445)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11705
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11446)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11726
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11447)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11747
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11448)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11768
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11449)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11789
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11450)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11810
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11451)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11831
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11452)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11852
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11453)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11873
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11454)
$d_rsticky += 1
goto @DANCE_11915

:DANCE_11894
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11455)
$d_rsticky = 1
goto @DANCE_11915

:DANCE_11915
return 

:DANCE_11917
switch_start $d_rsticky {numCases} 56 {hasDefaultCase} 1 {defaultLabel} @DANCE_12370 {caseNum1} 1 {caseLabel1} @DANCE_12391 {caseNum2} 2 {caseLabel2} @DANCE_12412 {caseNum3} 3 {caseLabel3} @DANCE_12433 {caseNum4} 4 {caseLabel4} @DANCE_12454 {caseNum5} 5 {caseLabel5} @DANCE_12475 {caseNum6} 6 {caseLabel6} @DANCE_12496 {caseNum7} 7 {caseLabel7} @DANCE_12517
switch_continued 8 {caseLabel1} @DANCE_12538 {caseNum2} 9 {caseLabel2} @DANCE_12559 {caseNum3} 10 {caseLabel3} @DANCE_12580 {caseNum4} 11 {caseLabel4} @DANCE_12601 {caseNum5} 12 {caseLabel5} @DANCE_12622 {caseNum6} 13 {caseLabel6} @DANCE_12643 {caseNum7} 14 {caseLabel7} @DANCE_12664 {caseNum8} 15 {caseLabel8} @DANCE_12685 {caseNum9} 16 {caseLabel9} @DANCE_12706
switch_continued 17 {caseLabel1} @DANCE_12727 {caseNum2} 18 {caseLabel2} @DANCE_12748 {caseNum3} 19 {caseLabel3} @DANCE_12769 {caseNum4} 20 {caseLabel4} @DANCE_12790 {caseNum5} 21 {caseLabel5} @DANCE_12811 {caseNum6} 22 {caseLabel6} @DANCE_12832 {caseNum7} 23 {caseLabel7} @DANCE_12853 {caseNum8} 24 {caseLabel8} @DANCE_12874 {caseNum9} 25 {caseLabel9} @DANCE_12895
switch_continued 26 {caseLabel1} @DANCE_12916 {caseNum2} 27 {caseLabel2} @DANCE_12937 {caseNum3} 28 {caseLabel3} @DANCE_12958 {caseNum4} 29 {caseLabel4} @DANCE_12979 {caseNum5} 30 {caseLabel5} @DANCE_13000 {caseNum6} 31 {caseLabel6} @DANCE_13021 {caseNum7} 32 {caseLabel7} @DANCE_13042 {caseNum8} 33 {caseLabel8} @DANCE_13063 {caseNum9} 34 {caseLabel9} @DANCE_13084
switch_continued 35 {caseLabel1} @DANCE_13105 {caseNum2} 36 {caseLabel2} @DANCE_13126 {caseNum3} 37 {caseLabel3} @DANCE_13147 {caseNum4} 38 {caseLabel4} @DANCE_13168 {caseNum5} 39 {caseLabel5} @DANCE_13189 {caseNum6} 40 {caseLabel6} @DANCE_13210 {caseNum7} 41 {caseLabel7} @DANCE_13231 {caseNum8} 42 {caseLabel8} @DANCE_13252 {caseNum9} 43 {caseLabel9} @DANCE_13273
switch_continued 44 {caseLabel1} @DANCE_13294 {caseNum2} 45 {caseLabel2} @DANCE_13315 {caseNum3} 46 {caseLabel3} @DANCE_13336 {caseNum4} 47 {caseLabel4} @DANCE_13357 {caseNum5} 48 {caseLabel5} @DANCE_13378 {caseNum6} 49 {caseLabel6} @DANCE_13399 {caseNum7} 50 {caseLabel7} @DANCE_13420 {caseNum8} 51 {caseLabel8} @DANCE_13441 {caseNum9} 52 {caseLabel9} @DANCE_13462
switch_continued 53 {caseLabel1} @DANCE_13483 {caseNum2} 54 {caseLabel2} @DANCE_13504 {caseNum3} 55 {caseLabel3} @DANCE_13525 {caseNum4} 56 {caseLabel4} @DANCE_13546 {caseNum5} -1 {caseLabel5} @DANCE_13567 {caseNum6} -1 {caseLabel6} @DANCE_13567 {caseNum7} -1 {caseLabel7} @DANCE_13567 {caseNum8} -1 {caseLabel8} @DANCE_13567 {caseNum9} -1 {caseLabel9} @DANCE_13567

:DANCE_12370
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11655)
$d_rsticky = 1
goto @DANCE_13567

:DANCE_12391
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11600)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12412
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11601)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12433
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11602)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12454
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11603)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12475
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11604)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12496
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11605)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12517
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11606)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12538
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11607)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12559
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11608)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12580
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11609)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12601
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11610)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12622
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11611)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12643
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11612)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12664
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11613)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12685
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11614)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12706
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11615)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12727
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11616)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12748
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11617)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12769
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11618)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12790
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11619)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12811
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11620)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12832
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11621)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12853
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11622)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12874
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11623)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12895
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11624)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12916
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11625)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12937
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11626)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12958
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11627)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_12979
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11628)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13000
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11629)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13021
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11630)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13042
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11631)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13063
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11632)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13084
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11633)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13105
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11634)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13126
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11635)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13147
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11636)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13168
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11637)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13189
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11638)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13210
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11639)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13231
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11640)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13252
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11641)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13273
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11642)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13294
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11643)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13315
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11644)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13336
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11645)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13357
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11646)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13378
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11647)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13399
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11648)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13420
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11649)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13441
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11650)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13462
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11651)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13483
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11652)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13504
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11653)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13525
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11654)
$d_rsticky += 1
goto @DANCE_13567

:DANCE_13546
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11655)
$d_rsticky = 1
goto @DANCE_13567

:DANCE_13567
return 

:DANCE_13569
switch_start $d_rsticky {numCases} 56 {hasDefaultCase} 1 {defaultLabel} @DANCE_14022 {caseNum1} 1 {caseLabel1} @DANCE_14043 {caseNum2} 2 {caseLabel2} @DANCE_14064 {caseNum3} 3 {caseLabel3} @DANCE_14085 {caseNum4} 4 {caseLabel4} @DANCE_14106 {caseNum5} 5 {caseLabel5} @DANCE_14127 {caseNum6} 6 {caseLabel6} @DANCE_14148 {caseNum7} 7 {caseLabel7} @DANCE_14169
switch_continued 8 {caseLabel1} @DANCE_14190 {caseNum2} 9 {caseLabel2} @DANCE_14211 {caseNum3} 10 {caseLabel3} @DANCE_14232 {caseNum4} 11 {caseLabel4} @DANCE_14253 {caseNum5} 12 {caseLabel5} @DANCE_14274 {caseNum6} 13 {caseLabel6} @DANCE_14295 {caseNum7} 14 {caseLabel7} @DANCE_14316 {caseNum8} 15 {caseLabel8} @DANCE_14337 {caseNum9} 16 {caseLabel9} @DANCE_14358
switch_continued 17 {caseLabel1} @DANCE_14379 {caseNum2} 18 {caseLabel2} @DANCE_14400 {caseNum3} 19 {caseLabel3} @DANCE_14421 {caseNum4} 20 {caseLabel4} @DANCE_14442 {caseNum5} 21 {caseLabel5} @DANCE_14463 {caseNum6} 22 {caseLabel6} @DANCE_14484 {caseNum7} 23 {caseLabel7} @DANCE_14505 {caseNum8} 24 {caseLabel8} @DANCE_14526 {caseNum9} 25 {caseLabel9} @DANCE_14547
switch_continued 26 {caseLabel1} @DANCE_14568 {caseNum2} 27 {caseLabel2} @DANCE_14589 {caseNum3} 28 {caseLabel3} @DANCE_14610 {caseNum4} 29 {caseLabel4} @DANCE_14631 {caseNum5} 30 {caseLabel5} @DANCE_14652 {caseNum6} 31 {caseLabel6} @DANCE_14673 {caseNum7} 32 {caseLabel7} @DANCE_14694 {caseNum8} 33 {caseLabel8} @DANCE_14715 {caseNum9} 34 {caseLabel9} @DANCE_14736
switch_continued 35 {caseLabel1} @DANCE_14757 {caseNum2} 36 {caseLabel2} @DANCE_14778 {caseNum3} 37 {caseLabel3} @DANCE_14799 {caseNum4} 38 {caseLabel4} @DANCE_14820 {caseNum5} 39 {caseLabel5} @DANCE_14841 {caseNum6} 40 {caseLabel6} @DANCE_14862 {caseNum7} 41 {caseLabel7} @DANCE_14883 {caseNum8} 42 {caseLabel8} @DANCE_14904 {caseNum9} 43 {caseLabel9} @DANCE_14925
switch_continued 44 {caseLabel1} @DANCE_14946 {caseNum2} 45 {caseLabel2} @DANCE_14967 {caseNum3} 46 {caseLabel3} @DANCE_14988 {caseNum4} 47 {caseLabel4} @DANCE_15009 {caseNum5} 48 {caseLabel5} @DANCE_15030 {caseNum6} 49 {caseLabel6} @DANCE_15051 {caseNum7} 50 {caseLabel7} @DANCE_15072 {caseNum8} 51 {caseLabel8} @DANCE_15093 {caseNum9} 52 {caseLabel9} @DANCE_15114
switch_continued 53 {caseLabel1} @DANCE_15135 {caseNum2} 54 {caseLabel2} @DANCE_15156 {caseNum3} 55 {caseLabel3} @DANCE_15177 {caseNum4} 56 {caseLabel4} @DANCE_15198 {caseNum5} -1 {caseLabel5} @DANCE_15219 {caseNum6} -1 {caseLabel6} @DANCE_15219 {caseNum7} -1 {caseLabel7} @DANCE_15219 {caseNum8} -1 {caseLabel8} @DANCE_15219 {caseNum9} -1 {caseLabel9} @DANCE_15219

:DANCE_14022
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11855)
$d_rsticky = 1
goto @DANCE_15219

:DANCE_14043
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11800)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14064
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11801)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14085
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11802)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14106
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11803)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14127
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11804)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14148
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11805)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14169
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11806)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14190
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11807)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14211
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11808)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14232
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11809)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14253
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11810)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14274
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11811)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14295
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11812)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14316
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11813)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14337
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11814)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14358
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11815)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14379
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11816)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14400
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11817)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14421
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11818)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14442
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11819)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14463
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11820)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14484
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11821)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14505
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11822)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14526
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11823)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14547
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11824)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14568
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11825)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14589
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11826)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14610
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11827)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14631
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11828)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14652
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11829)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14673
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11830)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14694
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11831)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14715
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11832)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14736
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11833)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14757
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11834)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14778
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11835)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14799
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11836)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14820
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11837)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14841
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11838)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14862
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11839)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14883
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11840)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14904
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11841)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14925
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11842)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14946
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11843)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14967
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11844)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_14988
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11845)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_15009
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11846)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_15030
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11847)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_15051
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11848)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_15072
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11849)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_15093
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11850)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_15114
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11851)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_15135
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11852)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_15156
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11853)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_15177
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11854)
$d_rsticky += 1
goto @DANCE_15219

:DANCE_15198
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 11855)
$d_rsticky = 1
goto @DANCE_15219

:DANCE_15219
return 

:DANCE_15221
switch_start $d_rsticky {numCases} 56 {hasDefaultCase} 1 {defaultLabel} @DANCE_15674 {caseNum1} 1 {caseLabel1} @DANCE_15695 {caseNum2} 2 {caseLabel2} @DANCE_15716 {caseNum3} 3 {caseLabel3} @DANCE_15737 {caseNum4} 4 {caseLabel4} @DANCE_15758 {caseNum5} 5 {caseLabel5} @DANCE_15779 {caseNum6} 6 {caseLabel6} @DANCE_15800 {caseNum7} 7 {caseLabel7} @DANCE_15821
switch_continued 8 {caseLabel1} @DANCE_15842 {caseNum2} 9 {caseLabel2} @DANCE_15863 {caseNum3} 10 {caseLabel3} @DANCE_15884 {caseNum4} 11 {caseLabel4} @DANCE_15905 {caseNum5} 12 {caseLabel5} @DANCE_15926 {caseNum6} 13 {caseLabel6} @DANCE_15947 {caseNum7} 14 {caseLabel7} @DANCE_15968 {caseNum8} 15 {caseLabel8} @DANCE_15989 {caseNum9} 16 {caseLabel9} @DANCE_16010
switch_continued 17 {caseLabel1} @DANCE_16031 {caseNum2} 18 {caseLabel2} @DANCE_16052 {caseNum3} 19 {caseLabel3} @DANCE_16073 {caseNum4} 20 {caseLabel4} @DANCE_16094 {caseNum5} 21 {caseLabel5} @DANCE_16115 {caseNum6} 22 {caseLabel6} @DANCE_16136 {caseNum7} 23 {caseLabel7} @DANCE_16157 {caseNum8} 24 {caseLabel8} @DANCE_16178 {caseNum9} 25 {caseLabel9} @DANCE_16199
switch_continued 26 {caseLabel1} @DANCE_16220 {caseNum2} 27 {caseLabel2} @DANCE_16241 {caseNum3} 28 {caseLabel3} @DANCE_16262 {caseNum4} 29 {caseLabel4} @DANCE_16283 {caseNum5} 30 {caseLabel5} @DANCE_16304 {caseNum6} 31 {caseLabel6} @DANCE_16325 {caseNum7} 32 {caseLabel7} @DANCE_16346 {caseNum8} 33 {caseLabel8} @DANCE_16367 {caseNum9} 34 {caseLabel9} @DANCE_16388
switch_continued 35 {caseLabel1} @DANCE_16409 {caseNum2} 36 {caseLabel2} @DANCE_16430 {caseNum3} 37 {caseLabel3} @DANCE_16451 {caseNum4} 38 {caseLabel4} @DANCE_16472 {caseNum5} 39 {caseLabel5} @DANCE_16493 {caseNum6} 40 {caseLabel6} @DANCE_16514 {caseNum7} 41 {caseLabel7} @DANCE_16535 {caseNum8} 42 {caseLabel8} @DANCE_16556 {caseNum9} 43 {caseLabel9} @DANCE_16577
switch_continued 44 {caseLabel1} @DANCE_16598 {caseNum2} 45 {caseLabel2} @DANCE_16619 {caseNum3} 46 {caseLabel3} @DANCE_16640 {caseNum4} 47 {caseLabel4} @DANCE_16661 {caseNum5} 48 {caseLabel5} @DANCE_16682 {caseNum6} 49 {caseLabel6} @DANCE_16703 {caseNum7} 50 {caseLabel7} @DANCE_16724 {caseNum8} 51 {caseLabel8} @DANCE_16745 {caseNum9} 52 {caseLabel9} @DANCE_16766
switch_continued 53 {caseLabel1} @DANCE_16787 {caseNum2} 54 {caseLabel2} @DANCE_16808 {caseNum3} 55 {caseLabel3} @DANCE_16829 {caseNum4} 56 {caseLabel4} @DANCE_16850 {caseNum5} -1 {caseLabel5} @DANCE_16871 {caseNum6} -1 {caseLabel6} @DANCE_16871 {caseNum7} -1 {caseLabel7} @DANCE_16871 {caseNum8} -1 {caseLabel8} @DANCE_16871 {caseNum9} -1 {caseLabel9} @DANCE_16871

:DANCE_15674
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12055)
$d_rsticky = 1
goto @DANCE_16871

:DANCE_15695
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12000)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15716
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12001)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15737
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12002)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15758
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12003)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15779
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12004)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15800
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12005)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15821
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12006)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15842
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12007)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15863
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12008)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15884
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12009)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15905
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12010)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15926
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12011)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15947
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12012)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15968
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12013)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_15989
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12014)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16010
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12015)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16031
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12016)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16052
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12017)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16073
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12018)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16094
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12019)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16115
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12020)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16136
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12021)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16157
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12022)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16178
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12023)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16199
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12024)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16220
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12025)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16241
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12026)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16262
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12027)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16283
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12028)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16304
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12029)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16325
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12030)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16346
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12031)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16367
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12032)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16388
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12033)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16409
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12034)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16430
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12035)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16451
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12036)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16472
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12037)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16493
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12038)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16514
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12039)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16535
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12040)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16556
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12041)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16577
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12042)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16598
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12043)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16619
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12044)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16640
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12045)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16661
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12046)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16682
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12047)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16703
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12048)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16724
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12049)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16745
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12050)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16766
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12051)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16787
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12052)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16808
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12053)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16829
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12054)
$d_rsticky += 1
goto @DANCE_16871

:DANCE_16850
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 12055)
$d_rsticky = 1
goto @DANCE_16871

:DANCE_16871
return 

:DANCE_16873
$beat_display_script_started = 1
$5302 = 0
Streaming.RemoveAnimation(v$txtString)
Text.ClearPrints
if 
  not Char.IsDead(5@)
goto_if_false @DANCE_16987
if and
  not Char.IsModel(5@, 195)
  not Char.IsModel(5@, 192)
  not Char.IsModel(5@, 191)
  not Char.IsModel(5@, 190)
  not Char.IsModel(5@, 193)
  not Char.IsModel(5@, 194)
goto_if_false @DANCE_16987
13@ = Char.GetModel(5@)
Streaming.MarkModelAsNoLongerNeeded(13@)
Char.Delete(5@)

:DANCE_16987
13@ = Audio.GetBeatTrackStatus()
if 
  is_int_lvar_equal_to_constant 13@ == 3
goto_if_false @DANCE_17012
Audio.StopBeatTrack

:DANCE_17012
13@ = 0

:DANCE_17019
$5319(13@,5f) = 0.0
$5324(13@,5f) = 0.0
$5329(13@,5f) = 0.0
$5334(13@,5f) = 0.0
$5339(13@,5f) = 0.0
$5344(13@,5f) = 0.0
13@ += 1
  13@ >= 5
goto_if_false @DANCE_17019
Hud.ForceBigMessageAndCounter(False)
Text.UseCommands(False)
if 
  $5300 >= 0
goto_if_false @DANCE_17158
Stat.SetInt(StatId.LatestDanceScore, $5300)

:DANCE_17158
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Player.SetControl($statbike_temp, True)
clear_global_var_bit_const $txtCURR_DANCE_MOVE {n} 31
Game.SetMinigameInProgress(False)
terminate_this_script 
return 
write_debug v$txtCURR_DANCE_MOVE_P
13@, 13@, 13@ = Audio.GetBeatProximity(1)
write_debug_with_int "NEXT_BEAT_NUMBER" {_p2} 13@
return 
terminate_this_script 

//-------------External script 36 (SHOPKEEPER)---------------

:SKBRAIN
script_name 'SKBRAIN'
2@ = 0
if 
  2@ == 1
goto_if_false @SKBRAIN_114
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)
1@ = Attractor.Add(0.0, 0.0, 0.0, 0.0, 0.0, -1)
6@ = Object.Create(0, 0.0, 0.0, 0.0)

:SKBRAIN_114
if 
  not Char.IsDead(0@)
goto_if_false @SKBRAIN_138
Char.SetDecisionMaker(0@, $iCreateDecisionMakers)

:SKBRAIN_138
Streaming.RequestAnimation("FOOD")

:SKBRAIN_146
if 
  not Streaming.HasAnimationLoaded("FOOD")
goto_if_false @SKBRAIN_176
wait 0
goto @SKBRAIN_146

:SKBRAIN_176
3@ = 1
4@ = 0
5@ = 0
7@ = 0

:SKBRAIN_204
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @SKBRAIN_377
$1254 = Char.GetAreaVisible($stattreadstamina_ctr)
if or
  $1254 == 0
  $1253 == 1
goto_if_false @SKBRAIN_283
gosub @SKBRAIN_1552
goto @SKBRAIN_370

:SKBRAIN_283
if or
  Player.IsTargetingChar($statbike_temp, 0@)
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @SKBRAIN_331
if 
  Object.DoesExist(6@)
goto_if_false @SKBRAIN_331
Object.Delete(6@)

:SKBRAIN_331
if 
  $tray_offX == 0
goto_if_false @SKBRAIN_363
gosub @SKBRAIN_391
goto @SKBRAIN_370

:SKBRAIN_363
goto @SKBRAIN_1590

:SKBRAIN_370
goto @SKBRAIN_384

:SKBRAIN_377
gosub @SKBRAIN_1552

:SKBRAIN_384
goto @SKBRAIN_204

:SKBRAIN_391
switch_start 3@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @SKBRAIN_496 {caseNum1} 1 {caseLabel1} @SKBRAIN_454 {caseNum2} 2 {caseLabel2} @SKBRAIN_468 {caseNum3} 3 {caseLabel3} @SKBRAIN_482 {caseNum4} -1 {caseLabel4} @SKBRAIN_496 {caseNum5} -1 {caseLabel5} @SKBRAIN_496 {caseNum6} -1 {caseLabel6} @SKBRAIN_496 {caseNum7} -1 {caseLabel7} @SKBRAIN_496

:SKBRAIN_454
gosub @SKBRAIN_498
goto @SKBRAIN_496

:SKBRAIN_468
gosub @SKBRAIN_841
goto @SKBRAIN_496

:SKBRAIN_482
gosub @SKBRAIN_1185
goto @SKBRAIN_496

:SKBRAIN_496
return 

:SKBRAIN_498
switch_start 4@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @SKBRAIN_839 {caseNum1} 0 {caseLabel1} @SKBRAIN_561 {caseNum2} 1 {caseLabel2} @SKBRAIN_737 {caseNum3} -1 {caseLabel3} @SKBRAIN_839 {caseNum4} -1 {caseLabel4} @SKBRAIN_839 {caseNum5} -1 {caseLabel5} @SKBRAIN_839 {caseNum6} -1 {caseLabel6} @SKBRAIN_839 {caseNum7} -1 {caseLabel7} @SKBRAIN_839

:SKBRAIN_561
13@, 14@, 15@ = Char.GetOffsetInWorldCoords(0@, 0.0, 3.0, 3.0)
2@ = World.GetUserOfClosestMapAttractor(13@, 14@, 15@, 20.0, #CJ_FF_TILL_QUE, "PCUSTOM")
if 
  2@ > -1
goto_if_false @SKBRAIN_730
10@, 11@, 12@ = Char.GetOffsetInWorldCoords(0@, -5.0, -5.0, -5.0)
6@ = Object.Create(#PIZZAHIGH, 10@, 11@, 12@)
Task.PlayAnim(0@, "SHP_TRAY_IN", "FOOD", 4.0, False, False, False, False, -1)
4@ += 1

:SKBRAIN_730
goto @SKBRAIN_839

:SKBRAIN_737
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "SHP_TRAY_IN")
goto_if_false @SKBRAIN_832
9@ = Char.GetAnimCurrentTime(0@, "SHP_TRAY_IN")
if 
  9@ == 1.0
goto_if_false @SKBRAIN_832
4@ = 0
3@ += 1

:SKBRAIN_832
goto @SKBRAIN_839

:SKBRAIN_839
return 

:SKBRAIN_841
switch_start 4@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @SKBRAIN_1183 {caseNum1} 0 {caseLabel1} @SKBRAIN_904 {caseNum2} 1 {caseLabel2} @SKBRAIN_1044 {caseNum3} 2 {caseLabel3} @SKBRAIN_1143 {caseNum4} -1 {caseLabel4} @SKBRAIN_1183 {caseNum5} -1 {caseLabel5} @SKBRAIN_1183 {caseNum6} -1 {caseLabel6} @SKBRAIN_1183 {caseNum7} -1 {caseLabel7} @SKBRAIN_1183

:SKBRAIN_904
if 
  Object.DoesExist(6@)
goto_if_false @SKBRAIN_1023
Task.PickUpObject(0@, 6@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
Task.PlayAnimNonInterruptable(0@, "SHP_TRAY_LIFT", "FOOD", 4.0, False, False, False, True, -1)
TIMERB = 0
4@ += 1
goto @SKBRAIN_1037

:SKBRAIN_1023
4@ = 0
3@ += 1

:SKBRAIN_1037
goto @SKBRAIN_1183

:SKBRAIN_1044
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "SHP_TRAY_LIFT")
goto_if_false @SKBRAIN_1136
9@ = Char.GetAnimCurrentTime(0@, "SHP_TRAY_LIFT")
if 
  9@ == 1.0
goto_if_false @SKBRAIN_1136
4@ += 1

:SKBRAIN_1136
goto @SKBRAIN_1183

:SKBRAIN_1143
if 
  TIMERB > 2000
goto_if_false @SKBRAIN_1176
4@ = 0
3@ += 1

:SKBRAIN_1176
goto @SKBRAIN_1183

:SKBRAIN_1183
return 

:SKBRAIN_1185
switch_start 4@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @SKBRAIN_1550 {caseNum1} 0 {caseLabel1} @SKBRAIN_1248 {caseNum2} 1 {caseLabel2} @SKBRAIN_1340 {caseNum3} 2 {caseLabel3} @SKBRAIN_1397 {caseNum4} 3 {caseLabel4} @SKBRAIN_1529 {caseNum5} -1 {caseLabel5} @SKBRAIN_1550 {caseNum6} -1 {caseLabel6} @SKBRAIN_1550 {caseNum7} -1 {caseLabel7} @SKBRAIN_1550

:SKBRAIN_1248
13@, 14@, 15@ = Char.GetOffsetInWorldCoords(0@, 0.0, 3.0, 3.0)
2@ = World.GetUserOfClosestMapAttractor(13@, 14@, 15@, 20.0, #CJ_FF_TILL_QUE, "PCUSTOM")
if 
  2@ == -1
goto_if_false @SKBRAIN_1333
4@ += 1

:SKBRAIN_1333
goto @SKBRAIN_1550

:SKBRAIN_1340
Task.PlayAnimNonInterruptable(0@, "SHP_TRAY_RETURN", "FOOD", 4.0, False, False, False, False, -1)
4@ += 1
goto @SKBRAIN_1550

:SKBRAIN_1397
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "SHP_TRAY_RETURN")
goto_if_false @SKBRAIN_1522
9@ = Char.GetAnimCurrentTime(0@, "SHP_TRAY_RETURN")
if 
  9@ == 1.0
goto_if_false @SKBRAIN_1522
if 
  Object.DoesExist(6@)
goto_if_false @SKBRAIN_1507
Object.Delete(6@)

:SKBRAIN_1507
Task.UseAttractor(0@, 1@)
4@ += 1

:SKBRAIN_1522
goto @SKBRAIN_1550

:SKBRAIN_1529
4@ = 0
3@ = 1
goto @SKBRAIN_1550

:SKBRAIN_1550
return 

:SKBRAIN_1552
Streaming.RemoveAnimation("FOOD")
Object.MarkAsNoLongerNeeded(6@)
if 
  not Char.IsDead(0@)
goto_if_false @SKBRAIN_1586
Char.ClearTasksImmediately(0@)

:SKBRAIN_1586
terminate_this_script 
return 

:SKBRAIN_1590
wait 0
if and
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @SKBRAIN_1762
$1254 = Char.GetAreaVisible($stattreadstamina_ctr)
if or
  $1254 == 0
  $1253 == 1
goto_if_false @SKBRAIN_1664
gosub @SKBRAIN_1552
goto @SKBRAIN_1755

:SKBRAIN_1664
if 
  not Char.IsDead(0@)
goto_if_false @SKBRAIN_1755
7@ = Char.GetScriptTaskStatus(0@, 1476)
if 
  is_int_lvar_equal_to_constant 7@ == 7
goto_if_false @SKBRAIN_1755
Task.HandsUp(0@, -2)
if 
  Char.IsHoldingObject(0@, -1)
goto_if_false @SKBRAIN_1755
if 
  Object.DoesExist(6@)
goto_if_false @SKBRAIN_1755
Object.Delete(6@)

:SKBRAIN_1755
goto @SKBRAIN_1769

:SKBRAIN_1762
gosub @SKBRAIN_1552

:SKBRAIN_1769
goto @SKBRAIN_1590
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 37 (CUSTOMER_PANIC)---------------

:FFPNC
script_name 'FFPNC'
2@ = 0
if 
  2@ == 1
goto_if_false @FFPNC_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:FFPNC_60
if 
  not Char.IsDead(0@)
goto_if_false @FFPNC_84
Char.SetDecisionMaker(0@, $iCheckForWeapons)

:FFPNC_84
wait 0
if and
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @FFPNC_308
$1254 = Char.GetAreaVisible($stattreadstamina_ctr)
if or
  $1254 == 0
  $1253 == 1
goto_if_false @FFPNC_151
gosub @FFPNC_322

:FFPNC_151
if 
  not Char.IsDead(0@)
goto_if_false @FFPNC_294
set_lvar_int_to_lvar_int 2@ = 1@
2@ /= 2
2@ *= 2
if 
  is_int_lvar_greater_than_int_lvar 1@ > 2@
goto_if_false @FFPNC_251
3@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @FFPNC_244
Task.Duck(0@, -2)

:FFPNC_244
goto @FFPNC_287

:FFPNC_251
3@ = Char.GetScriptTaskStatus(0@, 1476)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @FFPNC_287
Task.HandsUp(0@, -2)

:FFPNC_287
goto @FFPNC_301

:FFPNC_294
gosub @FFPNC_322

:FFPNC_301
goto @FFPNC_315

:FFPNC_308
gosub @FFPNC_322

:FFPNC_315
goto @FFPNC_84

:FFPNC_322
Char.MarkAsNoLongerNeeded(0@)
StreamedScript.MarkAsNoLongerNeeded(37)
terminate_this_script 
return 
terminate_this_script 

//-------------External script 38 (BAR_STAFF)---------------

:BARSTAF
script_name 'BARSTAF'
8@ = 0
if 
  8@ == 1
goto_if_false @BARSTAF_212
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)
8@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)
1@ = Attractor.Add(0.0, 0.0, 0.0, 0.0, 0.0, -1)
2@ = Attractor.Add(0.0, 0.0, 0.0, 0.0, 0.0, -1)
3@ = Attractor.Add(0.0, 0.0, 0.0, 0.0, 0.0, -1)
4@ = Attractor.Add(0.0, 0.0, 0.0, 0.0, 0.0, -1)

:BARSTAF_212
if 
  not Char.IsDead(0@)
goto_if_false @BARSTAF_236
Char.SetDecisionMaker(0@, $iCreateDecisionMakers)

:BARSTAF_236
Streaming.RequestAnimation("BAR")

:BARSTAF_243
if 
  not Streaming.HasAnimationLoaded("BAR")
goto_if_false @BARSTAF_279
Streaming.RequestAnimation("BAR")
wait 0
goto @BARSTAF_243

:BARSTAF_279
9@ = 1
10@ = 0
12@ = 0
if 
  0.0 >= 6@
goto_if_false @BARSTAF_331
6@ = 6.0

:BARSTAF_331
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @BARSTAF_540
if 
  9@ == 2
goto_if_false @BARSTAF_480
if 
  not Char.IsDead(8@)
goto_if_false @BARSTAF_452
if or
  $iPrintStripperHelp == 1
  $iLapDancesWatched == 1
  $iStripperPed == 1
goto_if_false @BARSTAF_438
goto @BARSTAF_2200
goto @BARSTAF_445

:BARSTAF_438
gosub @BARSTAF_554

:BARSTAF_445
goto @BARSTAF_473

:BARSTAF_452
9@ = 1
10@ = 0
gosub @BARSTAF_554

:BARSTAF_473
goto @BARSTAF_533

:BARSTAF_480
if or
  $iPrintStripperHelp == 1
  $iLapDancesWatched == 1
  $iStripperPed == 1
goto_if_false @BARSTAF_526
goto @BARSTAF_2200
goto @BARSTAF_533

:BARSTAF_526
gosub @BARSTAF_554

:BARSTAF_533
goto @BARSTAF_547

:BARSTAF_540
gosub @BARSTAF_2287

:BARSTAF_547
goto @BARSTAF_331

:BARSTAF_554
switch_start 9@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @BARSTAF_659 {caseNum1} 1 {caseLabel1} @BARSTAF_617 {caseNum2} 2 {caseLabel2} @BARSTAF_631 {caseNum3} 3 {caseLabel3} @BARSTAF_645 {caseNum4} -1 {caseLabel4} @BARSTAF_659 {caseNum5} -1 {caseLabel5} @BARSTAF_659 {caseNum6} -1 {caseLabel6} @BARSTAF_659 {caseNum7} -1 {caseLabel7} @BARSTAF_659

:BARSTAF_617
gosub @BARSTAF_661
goto @BARSTAF_659

:BARSTAF_631
gosub @BARSTAF_1390
goto @BARSTAF_659

:BARSTAF_645
gosub @BARSTAF_2085
goto @BARSTAF_659

:BARSTAF_659
return 

:BARSTAF_661
switch_start 10@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @BARSTAF_1388 {caseNum1} 0 {caseLabel1} @BARSTAF_724 {caseNum2} 1 {caseLabel2} @BARSTAF_767 {caseNum3} 2 {caseLabel3} @BARSTAF_974 {caseNum4} 3 {caseLabel4} @BARSTAF_1181 {caseNum5} -1 {caseLabel5} @BARSTAF_1388 {caseNum6} -1 {caseLabel6} @BARSTAF_1388 {caseNum7} -1 {caseLabel7} @BARSTAF_1388

:BARSTAF_724
13@ = Char.GetScriptTaskStatus(0@, 1868)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_760
10@ += 1

:BARSTAF_760
goto @BARSTAF_1388

:BARSTAF_767
14@, 15@, 16@ = Char.GetCoordinates(0@)
8@ = World.GetUserOfClosestMapAttractor(14@, 15@, 16@, 6@, 0, "BARGUY")
if 
  8@ > -1
goto_if_false @BARSTAF_923
13@ = Char.GetHealth(8@)
if 
  13@ == 99
goto_if_false @BARSTAF_866
8@ = -1
goto @BARSTAF_923

:BARSTAF_866
13@ = Char.GetScriptTaskStatus(8@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_916
9@ += 1
10@ = 0
goto @BARSTAF_923

:BARSTAF_916
8@ = -1

:BARSTAF_923
13@ = Char.GetScriptTaskStatus(0@, 1868)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_967
Task.UseAttractor(0@, 2@)
10@ += 1

:BARSTAF_967
goto @BARSTAF_1388

:BARSTAF_974
14@, 15@, 16@ = Char.GetCoordinates(0@)
8@ = World.GetUserOfClosestMapAttractor(14@, 15@, 16@, 6@, 0, "BARGUY")
if 
  8@ > -1
goto_if_false @BARSTAF_1130
13@ = Char.GetHealth(8@)
if 
  13@ == 99
goto_if_false @BARSTAF_1073
8@ = -1
goto @BARSTAF_1130

:BARSTAF_1073
13@ = Char.GetScriptTaskStatus(8@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_1123
9@ += 1
10@ = 0
goto @BARSTAF_1130

:BARSTAF_1123
8@ = -1

:BARSTAF_1130
13@ = Char.GetScriptTaskStatus(0@, 1868)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_1174
Task.UseAttractor(0@, 3@)
10@ += 1

:BARSTAF_1174
goto @BARSTAF_1388

:BARSTAF_1181
14@, 15@, 16@ = Char.GetCoordinates(0@)
8@ = World.GetUserOfClosestMapAttractor(14@, 15@, 16@, 6@, 0, "BARGUY")
if 
  8@ > -1
goto_if_false @BARSTAF_1337
13@ = Char.GetHealth(8@)
if 
  13@ == 99
goto_if_false @BARSTAF_1280
8@ = -1
goto @BARSTAF_1337

:BARSTAF_1280
13@ = Char.GetScriptTaskStatus(8@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_1330
9@ += 1
10@ = 0
goto @BARSTAF_1337

:BARSTAF_1330
8@ = -1

:BARSTAF_1337
13@ = Char.GetScriptTaskStatus(0@, 1868)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_1381
Task.UseAttractor(0@, 1@)
10@ = 0

:BARSTAF_1381
goto @BARSTAF_1388

:BARSTAF_1388
return 

:BARSTAF_1390
switch_start 10@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @BARSTAF_2083 {caseNum1} 0 {caseLabel1} @BARSTAF_1518 {caseNum2} 1 {caseLabel2} @BARSTAF_1577 {caseNum3} 2 {caseLabel3} @BARSTAF_1628 {caseNum4} 3 {caseLabel4} @BARSTAF_1720 {caseNum5} 4 {caseLabel5} @BARSTAF_1771 {caseNum6} 5 {caseLabel6} @BARSTAF_1873 {caseNum7} 6 {caseLabel7} @BARSTAF_1934
switch_continued 7 {caseLabel1} @BARSTAF_1985 {caseNum2} -1 {caseLabel2} @BARSTAF_2083 {caseNum3} -1 {caseLabel3} @BARSTAF_2083 {caseNum4} -1 {caseLabel4} @BARSTAF_2083 {caseNum5} -1 {caseLabel5} @BARSTAF_2083 {caseNum6} -1 {caseLabel6} @BARSTAF_2083 {caseNum7} -1 {caseLabel7} @BARSTAF_2083 {caseNum8} -1 {caseLabel8} @BARSTAF_2083 {caseNum9} -1 {caseLabel9} @BARSTAF_2083

:BARSTAF_1518
14@, 15@, 16@ = Char.GetOffsetInWorldCoords(8@, 0.0, 5@, 0.0)
Task.GoStraightToCoord(0@, 14@, 15@, 16@, MoveState.Walk, -2)
10@ += 1
goto @BARSTAF_2083

:BARSTAF_1577
13@ = Char.GetScriptTaskStatus(0@, 1491)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_1621
Task.TurnCharToFaceChar(0@, 8@)
10@ += 1

:BARSTAF_1621
goto @BARSTAF_2083

:BARSTAF_1628
13@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_1713
Char.SetHealth(8@, 99)
Task.PlayAnim(0@, "BARSERVE_ORDER", "BAR", 4.0, True, False, False, False, 3000)
10@ += 1

:BARSTAF_1713
goto @BARSTAF_2083

:BARSTAF_1720
13@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_1764
Task.UseAttractor(0@, 4@)
10@ += 1

:BARSTAF_1764
goto @BARSTAF_2083

:BARSTAF_1771
13@ = Char.GetScriptTaskStatus(0@, 1868)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_1866
if 
  7@ == 0
goto_if_false @BARSTAF_1859
Task.PlayAnim(0@, "BARSERVE_GLASS", "BAR", 4.0, False, False, False, False, 0)

:BARSTAF_1859
10@ += 1

:BARSTAF_1866
goto @BARSTAF_2083

:BARSTAF_1873
13@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_1927
Task.GoStraightToCoord(0@, 14@, 15@, 16@, MoveState.Walk, -2)
10@ += 1

:BARSTAF_1927
goto @BARSTAF_2083

:BARSTAF_1934
13@ = Char.GetScriptTaskStatus(0@, 1491)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_1978
Task.TurnCharToFaceChar(0@, 8@)
10@ += 1

:BARSTAF_1978
goto @BARSTAF_2083

:BARSTAF_1985
13@ = Char.GetScriptTaskStatus(0@, 1593)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_2076
Char.SetHealth(8@, 99)
Task.PlayAnim(0@, "BARSERVE_GIVE", "BAR", 4.0, True, False, False, False, 3000)
9@ += 1
10@ = 0

:BARSTAF_2076
goto @BARSTAF_2083

:BARSTAF_2083
return 

:BARSTAF_2085
switch_start 10@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @BARSTAF_2198 {caseNum1} 0 {caseLabel1} @BARSTAF_2148 {caseNum2} -1 {caseLabel2} @BARSTAF_2198 {caseNum3} -1 {caseLabel3} @BARSTAF_2198 {caseNum4} -1 {caseLabel4} @BARSTAF_2198 {caseNum5} -1 {caseLabel5} @BARSTAF_2198 {caseNum6} -1 {caseLabel6} @BARSTAF_2198 {caseNum7} -1 {caseLabel7} @BARSTAF_2198

:BARSTAF_2148
13@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 13@ == 7
goto_if_false @BARSTAF_2191
9@ = 1
10@ = 0

:BARSTAF_2191
goto @BARSTAF_2198

:BARSTAF_2198
return 

:BARSTAF_2200
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @BARSTAF_2273
12@ = Char.GetScriptTaskStatus(0@, 1476)
if 
  is_int_lvar_equal_to_constant 12@ == 7
goto_if_false @BARSTAF_2266
Task.HandsUp(0@, 60000)

:BARSTAF_2266
goto @BARSTAF_2280

:BARSTAF_2273
gosub @BARSTAF_2287

:BARSTAF_2280
goto @BARSTAF_2200

:BARSTAF_2287
Streaming.RemoveAnimation("BAR")
Char.MarkAsNoLongerNeeded(0@)
terminate_this_script 
return 
write_debug_with_int "PEDSTATE" {_p2} 9@
write_debug_with_int "SUBSTATESTATUS" {_p2} 10@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 39 (BOUNCER)---------------

:BOUNCER
script_name 'BOUNCER'
2@ = 0
if 
  2@ == 1
goto_if_false @BOUNCER_60
0@ = Char.Create(PedType.CivMale, 0, 0.0, 0.0, 0.0)

:BOUNCER_60
if 
  not Streaming.HasModelLoaded(346)
goto_if_false @BOUNCER_88
Streaming.RequestModel(346)
goto @BOUNCER_60

:BOUNCER_88
if 
  not Char.IsDead(0@)
goto_if_false @BOUNCER_187
Char.GiveWeapon(0@, WeaponType.Pistol, 99999999)
Char.SetCurrentWeapon(0@, WeaponType.Unarmed)
if 
  Char.HasGotWeapon(0@, WeaponType.NightStick)
goto_if_false @BOUNCER_148
Char.RemoveWeapon(0@, WeaponType.NightStick)

:BOUNCER_148
Char.SetAccuracy(0@, 80)
$d_player_stick_position = DecisionMakerChar.CopyShared(65537)
DecisionMakerChar.ClearEventResponse($d_player_stick_position, 27)
DecisionMakerChar.ClearEventResponse($d_player_stick_position, 48)
Char.SetDecisionMaker(0@, $d_player_stick_position)

:BOUNCER_187
3@ = 0
4@ = 0

:BOUNCER_201
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @BOUNCER_279
if 
  $iThrowMoneyState == 0
goto_if_false @BOUNCER_265
gosub @BOUNCER_293
goto @BOUNCER_272

:BOUNCER_265
goto @BOUNCER_693

:BOUNCER_272
goto @BOUNCER_286

:BOUNCER_279
gosub @BOUNCER_864

:BOUNCER_286
goto @BOUNCER_201

:BOUNCER_293
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @BOUNCER_370 {caseNum1} 0 {caseLabel1} @BOUNCER_356 {caseNum2} -1 {caseLabel2} @BOUNCER_370 {caseNum3} -1 {caseLabel3} @BOUNCER_370 {caseNum4} -1 {caseLabel4} @BOUNCER_370 {caseNum5} -1 {caseLabel5} @BOUNCER_370 {caseNum6} -1 {caseLabel6} @BOUNCER_370 {caseNum7} -1 {caseLabel7} @BOUNCER_370

:BOUNCER_356
gosub @BOUNCER_372
goto @BOUNCER_370

:BOUNCER_370
return 

:BOUNCER_372
switch_start 4@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @BOUNCER_691 {caseNum1} 0 {caseLabel1} @BOUNCER_435 {caseNum2} 1 {caseLabel2} @BOUNCER_498 {caseNum3} 2 {caseLabel3} @BOUNCER_658 {caseNum4} -1 {caseLabel4} @BOUNCER_691 {caseNum5} -1 {caseLabel5} @BOUNCER_691 {caseNum6} -1 {caseLabel6} @BOUNCER_691 {caseNum7} -1 {caseLabel7} @BOUNCER_691

:BOUNCER_435
2@ = Char.GetScriptTaskStatus(0@, 1502)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @BOUNCER_491
Task.WanderStandard(0@)
TIMERB = 0
6@ = 5000
4@ += 1

:BOUNCER_491
goto @BOUNCER_691

:BOUNCER_498
if 
  is_int_lvar_greater_or_equal_to_int_lvar TIMERB >= 6@
goto_if_false @BOUNCER_651
2@ = Math.RandomIntInRange(1, 10)
if 
  2@ > 5
goto_if_false @BOUNCER_595
2@ = Char.GetScriptTaskStatus(0@, 1481)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @BOUNCER_588
Task.LookAbout(0@, -1)
6@ = 5000

:BOUNCER_588
goto @BOUNCER_637

:BOUNCER_595
2@ = Char.GetScriptTaskStatus(0@, 1502)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @BOUNCER_637
Task.WanderStandard(0@)
6@ = 5000

:BOUNCER_637
TIMERB = 0
4@ += 1

:BOUNCER_651
goto @BOUNCER_691

:BOUNCER_658
if 
  is_int_lvar_greater_or_equal_to_int_lvar TIMERB >= 6@
goto_if_false @BOUNCER_684
4@ = 1

:BOUNCER_684
goto @BOUNCER_691

:BOUNCER_691
return 

:BOUNCER_693
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @BOUNCER_850
if 
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @BOUNCER_799
Char.SetCurrentWeapon(0@, WeaponType.Pistol)
5@ = Char.GetScriptTaskStatus(0@, 1588)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @BOUNCER_792
Task.KillCharOnFootWhileDucking(0@, $stattreadstamina_ctr, 1, 4000, 60)

:BOUNCER_792
goto @BOUNCER_843

:BOUNCER_799
Char.SetCurrentWeapon(0@, WeaponType.Pistol)
5@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @BOUNCER_843
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)

:BOUNCER_843
goto @BOUNCER_857

:BOUNCER_850
gosub @BOUNCER_864

:BOUNCER_857
goto @BOUNCER_693

:BOUNCER_864
DecisionMaker.Remove($d_player_stick_position)
Char.MarkAsNoLongerNeeded(0@)
terminate_this_script 
return 
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 40 (OTB_STAFF)---------------

:OTBSTAF
script_name 'OTBSTAF'
2@ = 0
if 
  2@ == 1
goto_if_false @OTBSTAF_92
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)
1@ = Attractor.Add(0.0, 0.0, 0.0, 0.0, 0.0, -1)

:OTBSTAF_92
Streaming.RequestAnimation("INT_SHOP")

:OTBSTAF_104
if 
  not Streaming.HasAnimationLoaded("INT_SHOP")
goto_if_false @OTBSTAF_138
wait 0
goto @OTBSTAF_104

:OTBSTAF_138
if 
  not Char.IsDead(0@)
goto_if_false @OTBSTAF_162
Char.SetDecisionMaker(0@, $iCreateDecisionMakers)

:OTBSTAF_162
3@ = 1
4@ = 0
6@ = 0

:OTBSTAF_183
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @OTBSTAF_256
if 
  $2885 == 0
goto_if_false @OTBSTAF_242
gosub @OTBSTAF_270
goto @OTBSTAF_249

:OTBSTAF_242
goto @OTBSTAF_848

:OTBSTAF_249
goto @OTBSTAF_263

:OTBSTAF_256
gosub @OTBSTAF_832

:OTBSTAF_263
goto @OTBSTAF_183

:OTBSTAF_270
switch_start 3@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @OTBSTAF_361 {caseNum1} 1 {caseLabel1} @OTBSTAF_333 {caseNum2} 2 {caseLabel2} @OTBSTAF_347 {caseNum3} -1 {caseLabel3} @OTBSTAF_361 {caseNum4} -1 {caseLabel4} @OTBSTAF_361 {caseNum5} -1 {caseLabel5} @OTBSTAF_361 {caseNum6} -1 {caseLabel6} @OTBSTAF_361 {caseNum7} -1 {caseLabel7} @OTBSTAF_361

:OTBSTAF_333
gosub @OTBSTAF_363
goto @OTBSTAF_361

:OTBSTAF_347
gosub @OTBSTAF_668
goto @OTBSTAF_361

:OTBSTAF_361
return 

:OTBSTAF_363
switch_start 4@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @OTBSTAF_666 {caseNum1} 0 {caseLabel1} @OTBSTAF_426 {caseNum2} 1 {caseLabel2} @OTBSTAF_562 {caseNum3} -1 {caseLabel3} @OTBSTAF_666 {caseNum4} -1 {caseLabel4} @OTBSTAF_666 {caseNum5} -1 {caseLabel5} @OTBSTAF_666 {caseNum6} -1 {caseLabel6} @OTBSTAF_666 {caseNum7} -1 {caseLabel7} @OTBSTAF_666

:OTBSTAF_426
9@, 10@, 11@ = Char.GetOffsetInWorldCoords(0@, 0.0, 3.0, 3.0)
2@ = World.GetUserOfClosestMapAttractor(9@, 10@, 11@, 3.0, #CJ_FF_TILL_QUE, "PCUSTOM")
if 
  2@ > -1
goto_if_false @OTBSTAF_555
Task.PlayAnim(0@, "SHOP_CASHIER", "INT_SHOP", 4.0, False, False, False, False, -1)
4@ += 1

:OTBSTAF_555
goto @OTBSTAF_666

:OTBSTAF_562
8@ = 0.0
if 
  Char.IsPlayingAnim(0@, "SHOP_CASHIER")
goto_if_false @OTBSTAF_659
8@ = Char.GetAnimCurrentTime(0@, "SHOP_CASHIER")
if 
  8@ == 1.0
goto_if_false @OTBSTAF_659
4@ = 0
3@ += 1

:OTBSTAF_659
goto @OTBSTAF_666

:OTBSTAF_666
return 

:OTBSTAF_668
switch_start 4@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @OTBSTAF_830 {caseNum1} 0 {caseLabel1} @OTBSTAF_731 {caseNum2} -1 {caseLabel2} @OTBSTAF_830 {caseNum3} -1 {caseLabel3} @OTBSTAF_830 {caseNum4} -1 {caseLabel4} @OTBSTAF_830 {caseNum5} -1 {caseLabel5} @OTBSTAF_830 {caseNum6} -1 {caseLabel6} @OTBSTAF_830 {caseNum7} -1 {caseLabel7} @OTBSTAF_830

:OTBSTAF_731
9@, 10@, 11@ = Char.GetOffsetInWorldCoords(0@, 0.0, 3.0, 3.0)
2@ = World.GetUserOfClosestMapAttractor(9@, 10@, 11@, 3.0, #CJ_FF_TILL_QUE, "PCUSTOM")
if 
  2@ == -1
goto_if_false @OTBSTAF_823
4@ = 0
3@ = 1

:OTBSTAF_823
goto @OTBSTAF_830

:OTBSTAF_830
return 

:OTBSTAF_832
Streaming.RemoveAnimation("INT_SHOP")
terminate_this_script 
return 

:OTBSTAF_848
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @OTBSTAF_918
6@ = Char.GetScriptTaskStatus(0@, 1476)
if 
  is_int_lvar_equal_to_constant 6@ == 7
goto_if_false @OTBSTAF_911
Task.HandsUp(0@, -2)

:OTBSTAF_911
goto @OTBSTAF_925

:OTBSTAF_918
gosub @OTBSTAF_832

:OTBSTAF_925
goto @OTBSTAF_848
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 41 (PCHAIR)---------------

:PCHAIR
script_name 'PCHAIR'
2@ = 0
if 
  2@ == 1
goto_if_false @PCHAIR_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:PCHAIR_60
Streaming.RequestAnimation("FOOD")

:PCHAIR_68
if 
  not Streaming.HasAnimationLoaded("FOOD")
goto_if_false @PCHAIR_98
wait 0
goto @PCHAIR_68

:PCHAIR_98
9@ = 0.0
3@ = 0
if 
  1@ == 0
goto_if_false @PCHAIR_154
5@ = 0
4@ = 1
goto @PCHAIR_168

:PCHAIR_154
5@ = -2
4@ = 2

:PCHAIR_168
7@ = 0
if 
  not Char.IsDead(0@)
goto_if_false @PCHAIR_215
Char.SetSuffersCriticalHits(0@, False)
6@ = 1800000
goto @PCHAIR_222

:PCHAIR_215
6@ = 0

:PCHAIR_222
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @PCHAIR_345
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @PCHAIR_331
if or
  $tray_offX == 1
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @PCHAIR_317
$tray_offX = 1
goto @PCHAIR_3035
goto @PCHAIR_324

:PCHAIR_317
gosub @PCHAIR_359

:PCHAIR_324
goto @PCHAIR_338

:PCHAIR_331
gosub @PCHAIR_2959

:PCHAIR_338
goto @PCHAIR_352

:PCHAIR_345
gosub @PCHAIR_2959

:PCHAIR_352
goto @PCHAIR_222

:PCHAIR_359
switch_start 4@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @PCHAIR_492 {caseNum1} 1 {caseLabel1} @PCHAIR_422 {caseNum2} 2 {caseLabel2} @PCHAIR_436 {caseNum3} 3 {caseLabel3} @PCHAIR_450 {caseNum4} 4 {caseLabel4} @PCHAIR_464 {caseNum5} 5 {caseLabel5} @PCHAIR_478 {caseNum6} -1 {caseLabel6} @PCHAIR_492 {caseNum7} -1 {caseLabel7} @PCHAIR_492

:PCHAIR_422
gosub @PCHAIR_494
goto @PCHAIR_492

:PCHAIR_436
gosub @PCHAIR_715
goto @PCHAIR_492

:PCHAIR_450
gosub @PCHAIR_2157
goto @PCHAIR_492

:PCHAIR_464
gosub @PCHAIR_2959
goto @PCHAIR_492

:PCHAIR_478
gosub @PCHAIR_2526
goto @PCHAIR_492

:PCHAIR_492
return 

:PCHAIR_494
switch_start 5@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @PCHAIR_713 {caseNum1} 0 {caseLabel1} @PCHAIR_557 {caseNum2} 1 {caseLabel2} @PCHAIR_615 {caseNum3} -1 {caseLabel3} @PCHAIR_713 {caseNum4} -1 {caseLabel4} @PCHAIR_713 {caseNum5} -1 {caseLabel5} @PCHAIR_713 {caseNum6} -1 {caseLabel6} @PCHAIR_713 {caseNum7} -1 {caseLabel7} @PCHAIR_713

:PCHAIR_557
Task.PlayAnimNonInterruptable(0@, "FF_SIT_IN", "FOOD", 4.0, False, False, False, True, -1)
3@ = 1
5@ += 1
goto @PCHAIR_713

:PCHAIR_615
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "FF_SIT_IN")
goto_if_false @PCHAIR_671
9@ = Char.GetAnimCurrentTime(0@, "FF_SIT_IN")

:PCHAIR_671
if 
  9@ == 1.0
goto_if_false @PCHAIR_706
5@ = 0
4@ += 1

:PCHAIR_706
goto @PCHAIR_713

:PCHAIR_713
return 

:PCHAIR_715
switch_start 5@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @PCHAIR_2155 {caseNum1} -2 {caseLabel1} @PCHAIR_778 {caseNum2} 0 {caseLabel2} @PCHAIR_1103 {caseNum3} 1 {caseLabel3} @PCHAIR_1560 {caseNum4} 2 {caseLabel4} @PCHAIR_1858 {caseNum5} 3 {caseLabel5} @PCHAIR_2061 {caseNum6} -1 {caseLabel6} @PCHAIR_2155 {caseNum7} -1 {caseLabel7} @PCHAIR_2155

:PCHAIR_778
if 
  Char.IsNearAnyChars(0@, 2.2)
goto_if_false @PCHAIR_848
Task.PlayAnimNonInterruptable(0@, "FF_SIT_LOOK", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @PCHAIR_1089

:PCHAIR_848
10@, 11@, 12@ = Char.GetOffsetInWorldCoords(0@, 0.0, 0.0, 0.0)
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDPIZA'
goto_if_false @PCHAIR_925
8@ = Object.Create(#CJ_PIZZA_2, 10@, 11@, 12@)
goto @PCHAIR_941

:PCHAIR_925
8@ = Object.Create(#CJ_BURG_2, 10@, 11@, 12@)

:PCHAIR_941
Task.PickUpObject(0@, 8@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
if 
  Char.IsMale(0@)
goto_if_false @PCHAIR_1047
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT1", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @PCHAIR_1089

:PCHAIR_1047
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT2", "FOOD", 1000.0, True, False, False, False, 50000000)

:PCHAIR_1089
5@ = 1
goto @PCHAIR_2155

:PCHAIR_1103
if 
  Char.IsHoldingObject(0@, -1)
goto_if_false @PCHAIR_1235
if 
  Char.IsMale(0@)
goto_if_false @PCHAIR_1186
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT1", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @PCHAIR_1228

:PCHAIR_1186
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT2", "FOOD", 1000.0, True, False, False, False, 50000000)

:PCHAIR_1228
goto @PCHAIR_1546

:PCHAIR_1235
if 
  Char.IsNearAnyChars(0@, 2.2)
goto_if_false @PCHAIR_1305
Task.PlayAnimNonInterruptable(0@, "FF_SIT_LOOK", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @PCHAIR_1546

:PCHAIR_1305
10@, 11@, 12@ = Char.GetOffsetInWorldCoords(0@, 0.0, 0.0, 0.0)
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDPIZA'
goto_if_false @PCHAIR_1382
8@ = Object.Create(#CJ_PIZZA_2, 10@, 11@, 12@)
goto @PCHAIR_1398

:PCHAIR_1382
8@ = Object.Create(#CJ_BURG_2, 10@, 11@, 12@)

:PCHAIR_1398
Task.PickUpObject(0@, 8@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
if 
  Char.IsMale(0@)
goto_if_false @PCHAIR_1504
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT1", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @PCHAIR_1546

:PCHAIR_1504
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT2", "FOOD", 1000.0, True, False, False, False, 50000000)

:PCHAIR_1546
5@ += 1
goto @PCHAIR_2155

:PCHAIR_1560
13@, 14@, 15@ = Char.GetCoordinates(0@)
15@ -= 1.04
16@, 17@, 18@ = Char.GetOffsetInWorldCoords(0@, 0.5, -0.5, 0.0)
19@, 20@, 21@ = Char.GetOffsetInWorldCoords(0@, -0.5, -1.0, 0.0)
10@, 11@, 12@ = Char.GetOffsetInWorldCoords(0@, 0.0, 1.0, -0.65)
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDBURG'
goto_if_false @PCHAIR_1727
World.SetCharUsesCollisionClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_BURG_CHAIR, False, 0@)
goto @PCHAIR_1751

:PCHAIR_1727
World.SetCharUsesCollisionClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_PIZZA_CHAIR, False, 0@)

:PCHAIR_1751
if or
  Char.IsPlayingAnim(0@, "FF_SIT_LOOK")
  Char.IsPlayingAnim(0@, "FF_SIT_EAT1")
  Char.IsPlayingAnim(0@, "FF_SIT_EAT2")
goto_if_false @PCHAIR_1851
Char.SetCoordinates(0@, 10@, 11@, 12@)
Char.FreezePosition(0@, True)
TIMERB = 0
5@ += 1

:PCHAIR_1851
goto @PCHAIR_2155

:PCHAIR_1858
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @PCHAIR_1910
Char.ClearLastDamageEntity(0@)
6@ = 0
4@ = 5
5@ = 0
goto @PCHAIR_2155

:PCHAIR_1910
if 
  is_int_lvar_greater_than_int_lvar TIMERB > 6@
goto_if_false @PCHAIR_2054
if 
  not World.IsAreaOccupied(16@, 17@, 18@, 19@, 20@, 21@, False, False, True, False, False)
goto_if_false @PCHAIR_1991
5@ = 0
4@ += 1
goto @PCHAIR_2054

:PCHAIR_1991
if 
  $tray_offX == 1
goto_if_false @PCHAIR_2054
Task.PlayAnimNonInterruptable(0@, "FF_DIE_FWD", "FOOD", 16.0, False, False, False, True, -1)
5@ += 1

:PCHAIR_2054
goto @PCHAIR_2155

:PCHAIR_2061
if 
  Char.IsHealthGreater(0@, 0)
goto_if_false @PCHAIR_2141
if 
  not World.IsAreaOccupied(16@, 17@, 18@, 19@, 20@, 21@, False, False, True, False, False)
goto_if_false @PCHAIR_2134
5@ = 0
4@ += 1

:PCHAIR_2134
goto @PCHAIR_2148

:PCHAIR_2141
Char.SetNeverTargeted(0@, True)

:PCHAIR_2148
goto @PCHAIR_2155

:PCHAIR_2155
return 

:PCHAIR_2157
switch_start 5@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @PCHAIR_2524 {caseNum1} 0 {caseLabel1} @PCHAIR_2220 {caseNum2} 1 {caseLabel2} @PCHAIR_2301 {caseNum3} 2 {caseLabel3} @PCHAIR_2336 {caseNum4} -1 {caseLabel4} @PCHAIR_2524 {caseNum5} -1 {caseLabel5} @PCHAIR_2524 {caseNum6} -1 {caseLabel6} @PCHAIR_2524 {caseNum7} -1 {caseLabel7} @PCHAIR_2524

:PCHAIR_2220
if 
  Char.IsHoldingObject(0@, -1)
goto_if_false @PCHAIR_2245
Char.DropObject(0@, True)

:PCHAIR_2245
Task.PlayAnimNonInterruptable(0@, "FF_SIT_OUT_180", "FOOD", 99.0, False, False, False, False, -1)
5@ += 1
goto @PCHAIR_2524

:PCHAIR_2301
Char.SetCoordinates(0@, 13@, 14@, 15@)
Char.FreezePosition(0@, False)
5@ += 1
goto @PCHAIR_2524

:PCHAIR_2336
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "FF_SIT_OUT_180")
goto_if_false @PCHAIR_2517
9@ = Char.GetAnimCurrentTime(0@, "FF_SIT_OUT_180")
if 
  9@ == 1.0
goto_if_false @PCHAIR_2517
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDBURG'
goto_if_false @PCHAIR_2479
World.SetCharUsesCollisionClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_BURG_CHAIR, True, 0@)
goto @PCHAIR_2503

:PCHAIR_2479
World.SetCharUsesCollisionClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_PIZZA_CHAIR, True, 0@)

:PCHAIR_2503
5@ = 0
4@ += 1

:PCHAIR_2517
goto @PCHAIR_2524

:PCHAIR_2524
return 

:PCHAIR_2526
switch_start 5@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @PCHAIR_2957 {caseNum1} 0 {caseLabel1} @PCHAIR_2589 {caseNum2} 1 {caseLabel2} @PCHAIR_2641 {caseNum3} 2 {caseLabel3} @PCHAIR_2797 {caseNum4} -1 {caseLabel4} @PCHAIR_2957 {caseNum5} -1 {caseLabel5} @PCHAIR_2957 {caseNum6} -1 {caseLabel6} @PCHAIR_2957 {caseNum7} -1 {caseLabel7} @PCHAIR_2957

:PCHAIR_2589
Task.PlayAnimNonInterruptable(0@, "FF_DAM_FWD", "FOOD", 16.0, False, False, False, True, 0)
5@ += 1
goto @PCHAIR_2957

:PCHAIR_2641
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "FF_DAM_FWD")
goto_if_false @PCHAIR_2727
9@ = Char.GetAnimCurrentTime(0@, "FF_DAM_FWD")
if 
  9@ == 1.0
goto_if_false @PCHAIR_2727
5@ += 1

:PCHAIR_2727
if 
  not Char.IsHealthGreater(0@, 0)
goto_if_false @PCHAIR_2790
Task.PlayAnimNonInterruptable(0@, "FF_DIE_FWD", "FOOD", 16.0, False, False, False, True, 0)
gosub @PCHAIR_2959

:PCHAIR_2790
goto @PCHAIR_2957

:PCHAIR_2797
if 
  not Char.IsHealthGreater(0@, 0)
goto_if_false @PCHAIR_2867
Task.PlayAnimNonInterruptable(0@, "FF_DIE_FWD", "FOOD", 16.0, False, False, False, True, 0)
gosub @PCHAIR_2959
goto @PCHAIR_2950

:PCHAIR_2867
if 
  not World.IsAreaOccupied(16@, 17@, 18@, 19@, 20@, 21@, False, False, True, False, False)
goto_if_false @PCHAIR_2936
4@ = 3
5@ = 0
gosub @PCHAIR_3035
goto @PCHAIR_2950

:PCHAIR_2936
4@ = 2
5@ = 2

:PCHAIR_2950
goto @PCHAIR_2957

:PCHAIR_2957
return 

:PCHAIR_2959
Object.MarkAsNoLongerNeeded(8@)
Streaming.RemoveAnimation("FOOD")
if 
  not Char.IsDead(0@)
goto_if_false @PCHAIR_3031
Char.SetSuffersCriticalHits(0@, True)
Task.UseClosestMapAttractor(0@, 100.0, 0, 0.0, 0.0, 0.0, "PCUSTOM")

:PCHAIR_3031
terminate_this_script 
return 

:PCHAIR_3035
wait 0
if and
  not is_var_text_label_empty s$territory_pickup
  $1253 == 0
goto_if_false @PCHAIR_3376
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
goto_if_false @PCHAIR_3369
switch_start 4@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @PCHAIR_3355 {caseNum1} 1 {caseLabel1} @PCHAIR_3146 {caseNum2} 2 {caseLabel2} @PCHAIR_3228 {caseNum3} 3 {caseLabel3} @PCHAIR_3277 {caseNum4} 4 {caseLabel4} @PCHAIR_3291 {caseNum5} 5 {caseLabel5} @PCHAIR_3341 {caseNum6} -1 {caseLabel6} @PCHAIR_3369 {caseNum7} -1 {caseLabel7} @PCHAIR_3369

:PCHAIR_3146
if 
  5@ > 1
goto_if_false @PCHAIR_3178
gosub @PCHAIR_359
goto @PCHAIR_3221

:PCHAIR_3178
7@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 7@ == 7
goto_if_false @PCHAIR_3221
Task.Duck(0@, -2)
gosub @PCHAIR_2959

:PCHAIR_3221
goto @PCHAIR_3369

:PCHAIR_3228
if 
  5@ == 2
goto_if_false @PCHAIR_3263
6@ = Math.RandomIntInRange(0, 5)
6@ *= 500

:PCHAIR_3263
gosub @PCHAIR_359
goto @PCHAIR_3369

:PCHAIR_3277
gosub @PCHAIR_359
goto @PCHAIR_3369

:PCHAIR_3291
7@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 7@ == 7
goto_if_false @PCHAIR_3334
Task.Duck(0@, -2)
gosub @PCHAIR_2959

:PCHAIR_3334
goto @PCHAIR_3369

:PCHAIR_3341
gosub @PCHAIR_359
goto @PCHAIR_3369

:PCHAIR_3355
gosub @PCHAIR_2959
goto @PCHAIR_3369

:PCHAIR_3369
goto @PCHAIR_3383

:PCHAIR_3376
gosub @PCHAIR_2959

:PCHAIR_3383
goto @PCHAIR_3035
write_debug_with_int "PEDSTATE" {_p2} 4@
write_debug_with_int "SUBSTATESTATUS" {_p2} 5@
write_debug_with_int "TIMERB" {_p2} TIMERB
write_debug_with_int "TIMERA" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 42 (PCUSTOM)---------------

:PCUSTOM
script_name 'PCUSTOM'
2@ = 0
if 
  2@ == 1
goto_if_false @PCUSTOM_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:PCUSTOM_60
Streaming.RequestAnimation("INT_SHOP")

:PCUSTOM_72
if 
  not Streaming.HasAnimationLoaded("INT_SHOP")
goto_if_false @PCUSTOM_106
wait 0
goto @PCUSTOM_72

:PCUSTOM_106
3@ = 1
4@ = 0
5@ = 0
11@ = 0

:PCUSTOM_134
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @PCUSTOM_237
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @PCUSTOM_223
if 
  $tray_offX == 0
goto_if_false @PCUSTOM_209
gosub @PCUSTOM_251
goto @PCUSTOM_216

:PCUSTOM_209
goto @PCUSTOM_804

:PCUSTOM_216
goto @PCUSTOM_230

:PCUSTOM_223
gosub @PCUSTOM_727

:PCUSTOM_230
goto @PCUSTOM_244

:PCUSTOM_237
gosub @PCUSTOM_727

:PCUSTOM_244
goto @PCUSTOM_134

:PCUSTOM_251
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @PCUSTOM_328 {caseNum1} 1 {caseLabel1} @PCUSTOM_314 {caseNum2} -1 {caseLabel2} @PCUSTOM_328 {caseNum3} -1 {caseLabel3} @PCUSTOM_328 {caseNum4} -1 {caseLabel4} @PCUSTOM_328 {caseNum5} -1 {caseLabel5} @PCUSTOM_328 {caseNum6} -1 {caseLabel6} @PCUSTOM_328 {caseNum7} -1 {caseLabel7} @PCUSTOM_328

:PCUSTOM_314
gosub @PCUSTOM_330
goto @PCUSTOM_328

:PCUSTOM_328
return 

:PCUSTOM_330
switch_start 4@ {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @PCUSTOM_725 {caseNum1} 0 {caseLabel1} @PCUSTOM_393 {caseNum2} 1 {caseLabel2} @PCUSTOM_451 {caseNum3} 2 {caseLabel3} @PCUSTOM_534 {caseNum4} 3 {caseLabel4} @PCUSTOM_711 {caseNum5} -1 {caseLabel5} @PCUSTOM_725 {caseNum6} -1 {caseLabel6} @PCUSTOM_725 {caseNum7} -1 {caseLabel7} @PCUSTOM_725

:PCUSTOM_393
5@ = 1
Task.PlayAnim(0@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, 5000)
4@ += 1
goto @PCUSTOM_725

:PCUSTOM_451
10@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @PCUSTOM_527
Task.PlayAnim(0@, "SHOP_PAY", "INT_SHOP", 1000.0, False, False, False, False, 0)
4@ += 1

:PCUSTOM_527
goto @PCUSTOM_725

:PCUSTOM_534
10@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @PCUSTOM_704
7@, 8@, 9@ = Char.GetOffsetInWorldCoords(0@, 0.0, 0.1, 1.0)
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDPIZA'
goto_if_false @PCUSTOM_640
12@ = Object.Create(#CJ_PIZZA_2, 7@, 8@, 9@)
goto @PCUSTOM_656

:PCUSTOM_640
12@ = Object.Create(#CJ_BURG_2, 7@, 8@, 9@)

:PCUSTOM_656
Task.PickUpObject(0@, 12@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
4@ += 1

:PCUSTOM_704
goto @PCUSTOM_725

:PCUSTOM_711
gosub @PCUSTOM_727
goto @PCUSTOM_725

:PCUSTOM_725
return 

:PCUSTOM_727
Streaming.RemoveAnimation("INT_SHOP")
Object.MarkAsNoLongerNeeded(12@)
if 
  not Char.IsDead(0@)
goto_if_false @PCUSTOM_800
Char.ClearTasksImmediately(0@)
Task.UseClosestMapAttractor(0@, 20.0, 0, 0.0, 0.0, 0.0, "PCHAIR")

:PCUSTOM_800
terminate_this_script 
return 

:PCUSTOM_804
wait 0
if and
  not is_var_text_label_empty s$territory_pickup
  $1253 == 0
goto_if_false @PCUSTOM_890
if 
  not Char.IsDead(0@)
goto_if_false @PCUSTOM_883
11@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 11@ == 7
goto_if_false @PCUSTOM_883
Task.Duck(0@, -2)

:PCUSTOM_883
goto @PCUSTOM_897

:PCUSTOM_890
gosub @PCUSTOM_727

:PCUSTOM_897
goto @PCUSTOM_804
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 43 (OTBWTCH)---------------

:OTBWTCH
script_name 'OTBWTCH'
2@ = 0
if 
  2@ == 1
goto_if_false @OTBWTCH_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:OTBWTCH_60
Streaming.RequestAnimation("OTB")

:OTBWTCH_67
if 
  not Streaming.HasAnimationLoaded("OTB")
goto_if_false @OTBWTCH_96
wait 0
goto @OTBWTCH_67

:OTBWTCH_96
3@ = 1
4@ = 0

:OTBWTCH_110
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @OTBWTCH_221
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @OTBWTCH_207
if 
  $2885 == 0
goto_if_false @OTBWTCH_185
gosub @OTBWTCH_235
goto @OTBWTCH_200

:OTBWTCH_185
Char.SetDecisionMaker(0@, $iCheckForWeapons)
goto @OTBWTCH_1122

:OTBWTCH_200
goto @OTBWTCH_214

:OTBWTCH_207
gosub @OTBWTCH_1060

:OTBWTCH_214
goto @OTBWTCH_228

:OTBWTCH_221
gosub @OTBWTCH_1060

:OTBWTCH_228
goto @OTBWTCH_110

:OTBWTCH_235
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @OTBWTCH_312 {caseNum1} 1 {caseLabel1} @OTBWTCH_298 {caseNum2} -1 {caseLabel2} @OTBWTCH_312 {caseNum3} -1 {caseLabel3} @OTBWTCH_312 {caseNum4} -1 {caseLabel4} @OTBWTCH_312 {caseNum5} -1 {caseLabel5} @OTBWTCH_312 {caseNum6} -1 {caseLabel6} @OTBWTCH_312 {caseNum7} -1 {caseLabel7} @OTBWTCH_312

:OTBWTCH_298
gosub @OTBWTCH_314
goto @OTBWTCH_312

:OTBWTCH_312
return 

:OTBWTCH_314
switch_start 4@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @OTBWTCH_1058 {caseNum1} 0 {caseLabel1} @OTBWTCH_377 {caseNum2} 1 {caseLabel2} @OTBWTCH_429 {caseNum3} 2 {caseLabel3} @OTBWTCH_524 {caseNum4} 3 {caseLabel4} @OTBWTCH_682 {caseNum5} 4 {caseLabel5} @OTBWTCH_777 {caseNum6} 5 {caseLabel6} @OTBWTCH_933 {caseNum7} 6 {caseLabel7} @OTBWTCH_1015

:OTBWTCH_377
Task.PlayAnim(0@, "WTCHRACE_IN", "OTB", 4.0, False, False, False, False, -1)
4@ += 1
goto @OTBWTCH_1058

:OTBWTCH_429
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @OTBWTCH_517
2@ = Math.RandomIntInRange(4000, 8000)
Task.PlayAnim(0@, "WTCHRACE_LOOP", "OTB", 4.0, True, False, False, True, 2@)
4@ += 1

:OTBWTCH_517
goto @OTBWTCH_1058

:OTBWTCH_524
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @OTBWTCH_675
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @OTBWTCH_627
Task.PlayAnim(0@, "WTCHRACE_CMON", "OTB", 4.0, False, False, False, False, -1)
goto @OTBWTCH_668

:OTBWTCH_627
Task.PlayAnim(0@, "WTCHRACE_LOOP", "OTB", 4.0, True, False, False, False, 1000)

:OTBWTCH_668
4@ += 1

:OTBWTCH_675
goto @OTBWTCH_1058

:OTBWTCH_682
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @OTBWTCH_770
2@ = Math.RandomIntInRange(4000, 8000)
Task.PlayAnim(0@, "WTCHRACE_LOOP", "OTB", 4.0, True, False, False, True, 2@)
4@ += 1

:OTBWTCH_770
goto @OTBWTCH_1058

:OTBWTCH_777
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @OTBWTCH_926
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @OTBWTCH_879
Task.PlayAnim(0@, "WTCHRACE_WIN", "OTB", 4.0, False, False, False, False, -1)
goto @OTBWTCH_919

:OTBWTCH_879
Task.PlayAnim(0@, "WTCHRACE_LOSE", "OTB", 4.0, False, False, False, False, -1)

:OTBWTCH_919
4@ += 1

:OTBWTCH_926
goto @OTBWTCH_1058

:OTBWTCH_933
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @OTBWTCH_1008
Task.PlayAnim(0@, "WTCHRACE_OUT", "OTB", 4.0, False, False, False, False, -1)
4@ += 1

:OTBWTCH_1008
goto @OTBWTCH_1058

:OTBWTCH_1015
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @OTBWTCH_1051
gosub @OTBWTCH_1060

:OTBWTCH_1051
goto @OTBWTCH_1058

:OTBWTCH_1058
return 

:OTBWTCH_1060
Streaming.RemoveAnimation("OTB")
if 
  not Char.IsDead(0@)
goto_if_false @OTBWTCH_1118
Task.UseClosestMapAttractor(0@, 100.0, 0, 0.0, 0.0, 0.0, "OTBSLP")

:OTBWTCH_1118
terminate_this_script 
return 

:OTBWTCH_1122
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @OTBWTCH_1192
5@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @OTBWTCH_1185
Task.Duck(0@, -2)

:OTBWTCH_1185
goto @OTBWTCH_1199

:OTBWTCH_1192
gosub @OTBWTCH_1060

:OTBWTCH_1199
goto @OTBWTCH_1122
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 44 (OTBSLP)---------------

:OTBSLP
script_name 'OTBSLP'
2@ = 0
if 
  2@ == 1
goto_if_false @OTBSLP_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:OTBSLP_60
Streaming.RequestAnimation("OTB")

:OTBSLP_67
if 
  not Streaming.HasAnimationLoaded("OTB")
goto_if_false @OTBSLP_96
wait 0
goto @OTBSLP_67

:OTBSLP_96
3@ = 1
4@ = 0

:OTBSLP_110
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @OTBSLP_221
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @OTBSLP_207
if 
  $2885 == 0
goto_if_false @OTBSLP_185
gosub @OTBSLP_235
goto @OTBSLP_200

:OTBSLP_185
Char.SetDecisionMaker(0@, $iCheckForWeapons)
goto @OTBSLP_902

:OTBSLP_200
goto @OTBSLP_214

:OTBSLP_207
gosub @OTBSLP_891

:OTBSLP_214
goto @OTBSLP_228

:OTBSLP_221
gosub @OTBSLP_891

:OTBSLP_228
goto @OTBSLP_110

:OTBSLP_235
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @OTBSLP_312 {caseNum1} 1 {caseLabel1} @OTBSLP_298 {caseNum2} -1 {caseLabel2} @OTBSLP_312 {caseNum3} -1 {caseLabel3} @OTBSLP_312 {caseNum4} -1 {caseLabel4} @OTBSLP_312 {caseNum5} -1 {caseLabel5} @OTBSLP_312 {caseNum6} -1 {caseLabel6} @OTBSLP_312 {caseNum7} -1 {caseLabel7} @OTBSLP_312

:OTBSLP_298
gosub @OTBSLP_314
goto @OTBSLP_312

:OTBSLP_312
return 

:OTBSLP_314
switch_start 4@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @OTBSLP_889 {caseNum1} 0 {caseLabel1} @OTBSLP_377 {caseNum2} 1 {caseLabel2} @OTBSLP_427 {caseNum3} 2 {caseLabel3} @OTBSLP_520 {caseNum4} 3 {caseLabel4} @OTBSLP_673 {caseNum5} 4 {caseLabel5} @OTBSLP_766 {caseNum6} 5 {caseLabel6} @OTBSLP_846 {caseNum7} -1 {caseLabel7} @OTBSLP_889

:OTBSLP_377
Task.PlayAnim(0@, "BETSLP_IN", "OTB", 4.0, False, False, False, False, -1)
4@ += 1
goto @OTBSLP_889

:OTBSLP_427
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @OTBSLP_513
2@ = Math.RandomIntInRange(4000, 8000)
Task.PlayAnim(0@, "BETSLP_LOOP", "OTB", 4.0, True, False, False, True, 2@)
4@ += 1

:OTBSLP_513
goto @OTBSLP_889

:OTBSLP_520
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @OTBSLP_666
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @OTBSLP_622
Task.PlayAnim(0@, "BETSLP_LKABT", "OTB", 16.0, False, False, False, False, -1)
goto @OTBSLP_659

:OTBSLP_622
Task.PlayAnim(0@, "BETSLP_TNK", "OTB", 16.0, False, False, False, False, -1)

:OTBSLP_659
4@ += 1

:OTBSLP_666
goto @OTBSLP_889

:OTBSLP_673
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @OTBSLP_759
2@ = Math.RandomIntInRange(4000, 8000)
Task.PlayAnim(0@, "BETSLP_LOOP", "OTB", 4.0, True, False, False, True, 2@)
4@ += 1

:OTBSLP_759
goto @OTBSLP_889

:OTBSLP_766
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @OTBSLP_839
Task.PlayAnim(0@, "BETSLP_OUT", "OTB", 4.0, False, False, False, False, -1)
4@ += 1

:OTBSLP_839
goto @OTBSLP_889

:OTBSLP_846
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @OTBSLP_882
gosub @OTBSLP_891

:OTBSLP_882
goto @OTBSLP_889

:OTBSLP_889
return 

:OTBSLP_891
Streaming.RemoveAnimation("OTB")
terminate_this_script 
return 

:OTBSLP_902
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @OTBSLP_972
5@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @OTBSLP_965
Task.Duck(0@, -2)

:OTBSLP_965
goto @OTBSLP_979

:OTBSLP_972
gosub @OTBSLP_891

:OTBSLP_979
goto @OTBSLP_902
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 45 (OTBTILL)---------------

:OTBTILL
script_name 'OTBTILL'
2@ = 0
if 
  2@ == 1
goto_if_false @OTBTILL_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:OTBTILL_60
Streaming.RequestAnimation("INT_SHOP")

:OTBTILL_72
if 
  not Streaming.HasAnimationLoaded("INT_SHOP")
goto_if_false @OTBTILL_106
wait 0
goto @OTBTILL_72

:OTBTILL_106
3@ = 1
4@ = 0
5@ = 0
11@ = 0

:OTBTILL_134
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @OTBTILL_245
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @OTBTILL_231
if 
  $2885 == 0
goto_if_false @OTBTILL_209
gosub @OTBTILL_259
goto @OTBTILL_224

:OTBTILL_209
Char.SetDecisionMaker(0@, $iCheckForWeapons)
goto @OTBTILL_655

:OTBTILL_224
goto @OTBTILL_238

:OTBTILL_231
gosub @OTBTILL_587

:OTBTILL_238
goto @OTBTILL_252

:OTBTILL_245
gosub @OTBTILL_587

:OTBTILL_252
goto @OTBTILL_134

:OTBTILL_259
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @OTBTILL_336 {caseNum1} 1 {caseLabel1} @OTBTILL_322 {caseNum2} -1 {caseLabel2} @OTBTILL_336 {caseNum3} -1 {caseLabel3} @OTBTILL_336 {caseNum4} -1 {caseLabel4} @OTBTILL_336 {caseNum5} -1 {caseLabel5} @OTBTILL_336 {caseNum6} -1 {caseLabel6} @OTBTILL_336 {caseNum7} -1 {caseLabel7} @OTBTILL_336

:OTBTILL_322
gosub @OTBTILL_338
goto @OTBTILL_336

:OTBTILL_336
return 

:OTBTILL_338
switch_start 4@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @OTBTILL_585 {caseNum1} 0 {caseLabel1} @OTBTILL_401 {caseNum2} 1 {caseLabel2} @OTBTILL_459 {caseNum3} 2 {caseLabel3} @OTBTILL_542 {caseNum4} -1 {caseLabel4} @OTBTILL_585 {caseNum5} -1 {caseLabel5} @OTBTILL_585 {caseNum6} -1 {caseLabel6} @OTBTILL_585 {caseNum7} -1 {caseLabel7} @OTBTILL_585

:OTBTILL_401
5@ = 1
Task.PlayAnim(0@, "IDLE_CHAT", "PED", 4.0, True, False, False, False, 5000)
4@ += 1
goto @OTBTILL_585

:OTBTILL_459
10@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @OTBTILL_535
Task.PlayAnim(0@, "SHOP_PAY", "INT_SHOP", 1000.0, False, False, False, False, 0)
4@ += 1

:OTBTILL_535
goto @OTBTILL_585

:OTBTILL_542
10@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @OTBTILL_578
gosub @OTBTILL_587

:OTBTILL_578
goto @OTBTILL_585

:OTBTILL_585
return 

:OTBTILL_587
Streaming.RemoveAnimation("INT_SHOP")
if 
  not Char.IsDead(0@)
goto_if_false @OTBTILL_651
Task.UseClosestMapAttractor(0@, 50.0, 0, 0.0, 0.0, 0.0, "OTBWTCH")

:OTBTILL_651
terminate_this_script 
return 

:OTBTILL_655
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @OTBTILL_725
11@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 11@ == 7
goto_if_false @OTBTILL_718
Task.Duck(0@, -2)

:OTBTILL_718
goto @OTBTILL_732

:OTBTILL_725
gosub @OTBTILL_587

:OTBTILL_732
goto @OTBTILL_655
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 46 (FBOOTHR)---------------

:FBOOTHR
script_name 'FBOOTHR'
2@ = 0
if 
  2@ == 1
goto_if_false @FBOOTHR_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:FBOOTHR_60
Streaming.RequestAnimation("FOOD")

:FBOOTHR_68
if 
  not Streaming.HasAnimationLoaded("FOOD")
goto_if_false @FBOOTHR_98
wait 0
goto @FBOOTHR_68

:FBOOTHR_98
9@ = 0.0
3@ = 0
if 
  1@ == 0
goto_if_false @FBOOTHR_154
5@ = 0
4@ = 1
goto @FBOOTHR_168

:FBOOTHR_154
5@ = -2
4@ = 2

:FBOOTHR_168
7@ = 0
if 
  not Char.IsDead(0@)
goto_if_false @FBOOTHR_215
Char.SetSuffersCriticalHits(0@, False)
6@ = 1800000
goto @FBOOTHR_222

:FBOOTHR_215
6@ = 0

:FBOOTHR_222
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @FBOOTHR_356
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @FBOOTHR_342
if 
  $tray_offX == 0
goto_if_false @FBOOTHR_302
gosub @FBOOTHR_370
goto @FBOOTHR_335

:FBOOTHR_302
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @FBOOTHR_328
$tray_offX = 1

:FBOOTHR_328
goto @FBOOTHR_2971

:FBOOTHR_335
goto @FBOOTHR_349

:FBOOTHR_342
gosub @FBOOTHR_2895

:FBOOTHR_349
goto @FBOOTHR_363

:FBOOTHR_356
gosub @FBOOTHR_2895

:FBOOTHR_363
goto @FBOOTHR_222

:FBOOTHR_370
switch_start 4@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @FBOOTHR_503 {caseNum1} 1 {caseLabel1} @FBOOTHR_433 {caseNum2} 2 {caseLabel2} @FBOOTHR_447 {caseNum3} 3 {caseLabel3} @FBOOTHR_461 {caseNum4} 4 {caseLabel4} @FBOOTHR_475 {caseNum5} 5 {caseLabel5} @FBOOTHR_489 {caseNum6} -1 {caseLabel6} @FBOOTHR_503 {caseNum7} -1 {caseLabel7} @FBOOTHR_503

:FBOOTHR_433
gosub @FBOOTHR_505
goto @FBOOTHR_503

:FBOOTHR_447
gosub @FBOOTHR_732
goto @FBOOTHR_503

:FBOOTHR_461
gosub @FBOOTHR_2118
goto @FBOOTHR_503

:FBOOTHR_475
gosub @FBOOTHR_2895
goto @FBOOTHR_503

:FBOOTHR_489
gosub @FBOOTHR_2455
goto @FBOOTHR_503

:FBOOTHR_503
return 

:FBOOTHR_505
switch_start 5@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @FBOOTHR_730 {caseNum1} 0 {caseLabel1} @FBOOTHR_568 {caseNum2} 1 {caseLabel2} @FBOOTHR_628 {caseNum3} -1 {caseLabel3} @FBOOTHR_730 {caseNum4} -1 {caseLabel4} @FBOOTHR_730 {caseNum5} -1 {caseLabel5} @FBOOTHR_730 {caseNum6} -1 {caseLabel6} @FBOOTHR_730 {caseNum7} -1 {caseLabel7} @FBOOTHR_730

:FBOOTHR_568
Task.PlayAnimNonInterruptable(0@, "FF_SIT_IN_R", "FOOD", 4.0, False, False, False, True, -1)
3@ = 1
5@ += 1
goto @FBOOTHR_730

:FBOOTHR_628
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "FF_SIT_IN_R")
goto_if_false @FBOOTHR_688
9@ = Char.GetAnimCurrentTime(0@, "FF_SIT_IN_R")

:FBOOTHR_688
if 
  9@ == 1.0
goto_if_false @FBOOTHR_723
5@ = 0
4@ += 1

:FBOOTHR_723
goto @FBOOTHR_730

:FBOOTHR_730
return 

:FBOOTHR_732
switch_start 5@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @FBOOTHR_2116 {caseNum1} -2 {caseLabel1} @FBOOTHR_795 {caseNum2} 0 {caseLabel2} @FBOOTHR_1120 {caseNum3} 1 {caseLabel3} @FBOOTHR_1577 {caseNum4} 2 {caseLabel4} @FBOOTHR_1819 {caseNum5} 3 {caseLabel5} @FBOOTHR_2022 {caseNum6} -1 {caseLabel6} @FBOOTHR_2116 {caseNum7} -1 {caseLabel7} @FBOOTHR_2116

:FBOOTHR_795
if 
  Char.IsNearAnyChars(0@, 2.2)
goto_if_false @FBOOTHR_865
Task.PlayAnimNonInterruptable(0@, "FF_SIT_LOOK", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @FBOOTHR_1106

:FBOOTHR_865
10@, 11@, 12@ = Char.GetOffsetInWorldCoords(0@, 0.0, 0.0, 0.0)
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDPIZA'
goto_if_false @FBOOTHR_942
8@ = Object.Create(#CJ_PIZZA_2, 10@, 11@, 12@)
goto @FBOOTHR_958

:FBOOTHR_942
8@ = Object.Create(#CJ_BURG_2, 10@, 11@, 12@)

:FBOOTHR_958
Task.PickUpObject(0@, 8@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
if 
  Char.IsMale(0@)
goto_if_false @FBOOTHR_1064
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT1", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @FBOOTHR_1106

:FBOOTHR_1064
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT2", "FOOD", 1000.0, True, False, False, False, 50000000)

:FBOOTHR_1106
5@ = 1
goto @FBOOTHR_2116

:FBOOTHR_1120
if 
  Char.IsHoldingObject(0@, -1)
goto_if_false @FBOOTHR_1252
if 
  Char.IsMale(0@)
goto_if_false @FBOOTHR_1203
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT1", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @FBOOTHR_1245

:FBOOTHR_1203
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT2", "FOOD", 1000.0, True, False, False, False, 50000000)

:FBOOTHR_1245
goto @FBOOTHR_1563

:FBOOTHR_1252
if 
  Char.IsNearAnyChars(0@, 2.2)
goto_if_false @FBOOTHR_1322
Task.PlayAnimNonInterruptable(0@, "FF_SIT_LOOK", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @FBOOTHR_1563

:FBOOTHR_1322
10@, 11@, 12@ = Char.GetOffsetInWorldCoords(0@, 0.0, 0.0, 0.0)
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDPIZA'
goto_if_false @FBOOTHR_1399
8@ = Object.Create(#CJ_PIZZA_2, 10@, 11@, 12@)
goto @FBOOTHR_1415

:FBOOTHR_1399
8@ = Object.Create(#CJ_BURG_2, 10@, 11@, 12@)

:FBOOTHR_1415
Task.PickUpObject(0@, 8@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
if 
  Char.IsMale(0@)
goto_if_false @FBOOTHR_1521
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT1", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @FBOOTHR_1563

:FBOOTHR_1521
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT2", "FOOD", 1000.0, True, False, False, False, 50000000)

:FBOOTHR_1563
5@ += 1
goto @FBOOTHR_2116

:FBOOTHR_1577
13@, 14@, 15@ = Char.GetCoordinates(0@)
15@ -= 1.04
16@, 17@, 18@ = Char.GetOffsetInWorldCoords(0@, 0.1, 0.5, 0.0)
19@, 20@, 21@ = Char.GetOffsetInWorldCoords(0@, 1.0, -0.5, 0.0)
10@, 11@, 12@ = Char.GetOffsetInWorldCoords(0@, -1.0, 0.0, -0.65)
if or
  Char.IsPlayingAnim(0@, "FF_SIT_LOOK")
  Char.IsPlayingAnim(0@, "FF_SIT_EAT1")
  Char.IsPlayingAnim(0@, "FF_SIT_EAT2")
goto_if_false @FBOOTHR_1812
World.SetCharUsesCollisionClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_PIZZA_CHAIR2, False, 0@)
Char.SetCoordinates(0@, 10@, 11@, 12@)
Char.FreezePosition(0@, True)
TIMERB = 0
5@ += 1

:FBOOTHR_1812
goto @FBOOTHR_2116

:FBOOTHR_1819
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @FBOOTHR_1871
Char.ClearLastDamageEntity(0@)
6@ = 0
4@ = 5
5@ = 0
goto @FBOOTHR_2116

:FBOOTHR_1871
if 
  is_int_lvar_greater_than_int_lvar TIMERB > 6@
goto_if_false @FBOOTHR_2015
if 
  not World.IsAreaOccupied(16@, 17@, 18@, 19@, 20@, 21@, False, False, True, False, False)
goto_if_false @FBOOTHR_1952
5@ = 0
4@ += 1
goto @FBOOTHR_2015

:FBOOTHR_1952
if 
  $tray_offX == 1
goto_if_false @FBOOTHR_2015
Task.PlayAnimNonInterruptable(0@, "FF_DIE_FWD", "FOOD", 16.0, False, False, False, True, -1)
5@ += 1

:FBOOTHR_2015
goto @FBOOTHR_2116

:FBOOTHR_2022
if 
  Char.IsHealthGreater(0@, 0)
goto_if_false @FBOOTHR_2102
if 
  not World.IsAreaOccupied(16@, 17@, 18@, 19@, 20@, 21@, False, False, True, False, False)
goto_if_false @FBOOTHR_2095
5@ = 0
4@ += 1

:FBOOTHR_2095
goto @FBOOTHR_2109

:FBOOTHR_2102
Char.SetNeverTargeted(0@, True)

:FBOOTHR_2109
goto @FBOOTHR_2116

:FBOOTHR_2116
return 

:FBOOTHR_2118
switch_start 5@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @FBOOTHR_2453 {caseNum1} 0 {caseLabel1} @FBOOTHR_2181 {caseNum2} 1 {caseLabel2} @FBOOTHR_2264 {caseNum3} 2 {caseLabel3} @FBOOTHR_2299 {caseNum4} -1 {caseLabel4} @FBOOTHR_2453 {caseNum5} -1 {caseLabel5} @FBOOTHR_2453 {caseNum6} -1 {caseLabel6} @FBOOTHR_2453 {caseNum7} -1 {caseLabel7} @FBOOTHR_2453

:FBOOTHR_2181
if 
  Char.IsHoldingObject(0@, -1)
goto_if_false @FBOOTHR_2206
Char.DropObject(0@, True)

:FBOOTHR_2206
Task.PlayAnimNonInterruptable(0@, "FF_SIT_OUT_R_180", "FOOD", 99.0, False, False, False, False, -1)
5@ += 1
goto @FBOOTHR_2453

:FBOOTHR_2264
Char.SetCoordinates(0@, 13@, 14@, 15@)
Char.FreezePosition(0@, False)
5@ += 1
goto @FBOOTHR_2453

:FBOOTHR_2299
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "FF_SIT_OUT_R_180")
goto_if_false @FBOOTHR_2446
9@ = Char.GetAnimCurrentTime(0@, "FF_SIT_OUT_R_180")
if 
  9@ == 1.0
goto_if_false @FBOOTHR_2446
World.SetUsesCollisionOfClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_PIZZA_CHAIR3, True)
World.SetUsesCollisionOfClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_PIZZA_CHAIR2, False)
5@ = 0
4@ += 1

:FBOOTHR_2446
goto @FBOOTHR_2453

:FBOOTHR_2453
return 

:FBOOTHR_2455
switch_start 5@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @FBOOTHR_2893 {caseNum1} 0 {caseLabel1} @FBOOTHR_2518 {caseNum2} 1 {caseLabel2} @FBOOTHR_2570 {caseNum3} 2 {caseLabel3} @FBOOTHR_2726 {caseNum4} -1 {caseLabel4} @FBOOTHR_2893 {caseNum5} -1 {caseLabel5} @FBOOTHR_2893 {caseNum6} -1 {caseLabel6} @FBOOTHR_2893 {caseNum7} -1 {caseLabel7} @FBOOTHR_2893

:FBOOTHR_2518
Task.PlayAnimNonInterruptable(0@, "FF_DAM_FWD", "FOOD", 16.0, False, False, False, True, 0)
5@ += 1
goto @FBOOTHR_2893

:FBOOTHR_2570
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "FF_DAM_FWD")
goto_if_false @FBOOTHR_2656
9@ = Char.GetAnimCurrentTime(0@, "FF_DAM_FWD")
if 
  9@ == 1.0
goto_if_false @FBOOTHR_2656
5@ += 1

:FBOOTHR_2656
if 
  not Char.IsHealthGreater(0@, 0)
goto_if_false @FBOOTHR_2719
Task.PlayAnimNonInterruptable(0@, "FF_DIE_FWD", "FOOD", 16.0, False, False, False, True, 0)
gosub @FBOOTHR_2895

:FBOOTHR_2719
goto @FBOOTHR_2893

:FBOOTHR_2726
if 
  not Char.IsHealthGreater(0@, 0)
goto_if_false @FBOOTHR_2796
Task.PlayAnimNonInterruptable(0@, "FF_DIE_FWD", "FOOD", 16.0, False, False, False, True, 0)
gosub @FBOOTHR_2895
goto @FBOOTHR_2879

:FBOOTHR_2796
if 
  not World.IsAreaOccupied(16@, 17@, 18@, 19@, 20@, 21@, False, False, True, False, False)
goto_if_false @FBOOTHR_2865
4@ = 3
5@ = 0
gosub @FBOOTHR_2971
goto @FBOOTHR_2879

:FBOOTHR_2865
4@ = 2
5@ = 2

:FBOOTHR_2879
$tray_offX = 1
goto @FBOOTHR_2893

:FBOOTHR_2893
return 

:FBOOTHR_2895
Object.MarkAsNoLongerNeeded(8@)
Streaming.RemoveAnimation("FOOD")
if 
  not Char.IsDead(0@)
goto_if_false @FBOOTHR_2967
Char.SetSuffersCriticalHits(0@, True)
Task.UseClosestMapAttractor(0@, 100.0, 0, 0.0, 0.0, 0.0, "PCUSTOM")

:FBOOTHR_2967
terminate_this_script 
return 

:FBOOTHR_2971
wait 0
if and
  not is_var_text_label_empty s$territory_pickup
  $1253 == 0
goto_if_false @FBOOTHR_3312
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
goto_if_false @FBOOTHR_3305
switch_start 4@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @FBOOTHR_3291 {caseNum1} 1 {caseLabel1} @FBOOTHR_3082 {caseNum2} 2 {caseLabel2} @FBOOTHR_3164 {caseNum3} 3 {caseLabel3} @FBOOTHR_3213 {caseNum4} 4 {caseLabel4} @FBOOTHR_3227 {caseNum5} 5 {caseLabel5} @FBOOTHR_3277 {caseNum6} -1 {caseLabel6} @FBOOTHR_3305 {caseNum7} -1 {caseLabel7} @FBOOTHR_3305

:FBOOTHR_3082
if 
  5@ > 1
goto_if_false @FBOOTHR_3114
gosub @FBOOTHR_370
goto @FBOOTHR_3157

:FBOOTHR_3114
7@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 7@ == 7
goto_if_false @FBOOTHR_3157
Task.Duck(0@, -2)
gosub @FBOOTHR_2895

:FBOOTHR_3157
goto @FBOOTHR_3305

:FBOOTHR_3164
if 
  5@ == 2
goto_if_false @FBOOTHR_3199
6@ = Math.RandomIntInRange(0, 5)
6@ *= 500

:FBOOTHR_3199
gosub @FBOOTHR_370
goto @FBOOTHR_3305

:FBOOTHR_3213
gosub @FBOOTHR_370
goto @FBOOTHR_3305

:FBOOTHR_3227
7@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 7@ == 7
goto_if_false @FBOOTHR_3270
Task.Duck(0@, -2)
gosub @FBOOTHR_2895

:FBOOTHR_3270
goto @FBOOTHR_3305

:FBOOTHR_3277
gosub @FBOOTHR_370
goto @FBOOTHR_3305

:FBOOTHR_3291
gosub @FBOOTHR_2895
goto @FBOOTHR_3305

:FBOOTHR_3305
goto @FBOOTHR_3319

:FBOOTHR_3312
gosub @FBOOTHR_2895

:FBOOTHR_3319
goto @FBOOTHR_2971
write_debug "I__________________________I"
write_debug "H"
write_debug "G"
write_debug "F"
write_debug "E"
write_debug_with_int "PEDSTATE" {_p2} 4@
write_debug_with_int "SUBSTATESTATUS" {_p2} 5@
write_debug_with_int "TIMERB" {_p2} TIMERB
write_debug_with_int "TIMERA" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 47 (FBOOTHL)---------------

:FBOOTHL
script_name 'FBOOTHL'
2@ = 0
if 
  2@ == 1
goto_if_false @FBOOTHL_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:FBOOTHL_60
Streaming.RequestAnimation("FOOD")

:FBOOTHL_68
if 
  not Streaming.HasAnimationLoaded("FOOD")
goto_if_false @FBOOTHL_98
wait 0
goto @FBOOTHL_68

:FBOOTHL_98
9@ = 0.0
3@ = 0
if 
  1@ == 0
goto_if_false @FBOOTHL_154
5@ = 0
4@ = 1
goto @FBOOTHL_168

:FBOOTHL_154
5@ = -2
4@ = 2

:FBOOTHL_168
7@ = 0
if 
  not Char.IsDead(0@)
goto_if_false @FBOOTHL_215
Char.SetSuffersCriticalHits(0@, False)
6@ = 1800000
goto @FBOOTHL_222

:FBOOTHL_215
6@ = 0

:FBOOTHL_222
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @FBOOTHL_356
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @FBOOTHL_342
if 
  $tray_offX == 0
goto_if_false @FBOOTHL_302
gosub @FBOOTHL_370
goto @FBOOTHL_335

:FBOOTHL_302
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @FBOOTHL_328
$tray_offX = 1

:FBOOTHL_328
goto @FBOOTHL_2971

:FBOOTHL_335
goto @FBOOTHL_349

:FBOOTHL_342
gosub @FBOOTHL_2895

:FBOOTHL_349
goto @FBOOTHL_363

:FBOOTHL_356
gosub @FBOOTHL_2895

:FBOOTHL_363
goto @FBOOTHL_222

:FBOOTHL_370
switch_start 4@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @FBOOTHL_503 {caseNum1} 1 {caseLabel1} @FBOOTHL_433 {caseNum2} 2 {caseLabel2} @FBOOTHL_447 {caseNum3} 3 {caseLabel3} @FBOOTHL_461 {caseNum4} 4 {caseLabel4} @FBOOTHL_475 {caseNum5} 5 {caseLabel5} @FBOOTHL_489 {caseNum6} -1 {caseLabel6} @FBOOTHL_503 {caseNum7} -1 {caseLabel7} @FBOOTHL_503

:FBOOTHL_433
gosub @FBOOTHL_505
goto @FBOOTHL_503

:FBOOTHL_447
gosub @FBOOTHL_732
goto @FBOOTHL_503

:FBOOTHL_461
gosub @FBOOTHL_2118
goto @FBOOTHL_503

:FBOOTHL_475
gosub @FBOOTHL_2895
goto @FBOOTHL_503

:FBOOTHL_489
gosub @FBOOTHL_2455
goto @FBOOTHL_503

:FBOOTHL_503
return 

:FBOOTHL_505
switch_start 5@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @FBOOTHL_730 {caseNum1} 0 {caseLabel1} @FBOOTHL_568 {caseNum2} 1 {caseLabel2} @FBOOTHL_628 {caseNum3} -1 {caseLabel3} @FBOOTHL_730 {caseNum4} -1 {caseLabel4} @FBOOTHL_730 {caseNum5} -1 {caseLabel5} @FBOOTHL_730 {caseNum6} -1 {caseLabel6} @FBOOTHL_730 {caseNum7} -1 {caseLabel7} @FBOOTHL_730

:FBOOTHL_568
Task.PlayAnimNonInterruptable(0@, "FF_SIT_IN_L", "FOOD", 4.0, False, False, False, True, -1)
3@ = 1
5@ += 1
goto @FBOOTHL_730

:FBOOTHL_628
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "FF_SIT_IN_L")
goto_if_false @FBOOTHL_688
9@ = Char.GetAnimCurrentTime(0@, "FF_SIT_IN_L")

:FBOOTHL_688
if 
  9@ == 1.0
goto_if_false @FBOOTHL_723
5@ = 0
4@ += 1

:FBOOTHL_723
goto @FBOOTHL_730

:FBOOTHL_730
return 

:FBOOTHL_732
switch_start 5@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @FBOOTHL_2116 {caseNum1} -2 {caseLabel1} @FBOOTHL_795 {caseNum2} 0 {caseLabel2} @FBOOTHL_1120 {caseNum3} 1 {caseLabel3} @FBOOTHL_1577 {caseNum4} 2 {caseLabel4} @FBOOTHL_1819 {caseNum5} 3 {caseLabel5} @FBOOTHL_2022 {caseNum6} -1 {caseLabel6} @FBOOTHL_2116 {caseNum7} -1 {caseLabel7} @FBOOTHL_2116

:FBOOTHL_795
if 
  Char.IsNearAnyChars(0@, 2.2)
goto_if_false @FBOOTHL_865
Task.PlayAnimNonInterruptable(0@, "FF_SIT_LOOK", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @FBOOTHL_1106

:FBOOTHL_865
10@, 11@, 12@ = Char.GetOffsetInWorldCoords(0@, 0.0, 0.0, 0.0)
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDPIZA'
goto_if_false @FBOOTHL_942
8@ = Object.Create(#CJ_PIZZA_2, 10@, 11@, 12@)
goto @FBOOTHL_958

:FBOOTHL_942
8@ = Object.Create(#CJ_BURG_2, 10@, 11@, 12@)

:FBOOTHL_958
Task.PickUpObject(0@, 8@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
if 
  Char.IsMale(0@)
goto_if_false @FBOOTHL_1064
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT1", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @FBOOTHL_1106

:FBOOTHL_1064
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT2", "FOOD", 1000.0, True, False, False, False, 50000000)

:FBOOTHL_1106
5@ = 1
goto @FBOOTHL_2116

:FBOOTHL_1120
if 
  Char.IsHoldingObject(0@, -1)
goto_if_false @FBOOTHL_1252
if 
  Char.IsMale(0@)
goto_if_false @FBOOTHL_1203
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT1", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @FBOOTHL_1245

:FBOOTHL_1203
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT2", "FOOD", 1000.0, True, False, False, False, 50000000)

:FBOOTHL_1245
goto @FBOOTHL_1563

:FBOOTHL_1252
if 
  Char.IsNearAnyChars(0@, 2.2)
goto_if_false @FBOOTHL_1322
Task.PlayAnimNonInterruptable(0@, "FF_SIT_LOOK", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @FBOOTHL_1563

:FBOOTHL_1322
10@, 11@, 12@ = Char.GetOffsetInWorldCoords(0@, 0.0, 0.0, 0.0)
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDPIZA'
goto_if_false @FBOOTHL_1399
8@ = Object.Create(#CJ_PIZZA_2, 10@, 11@, 12@)
goto @FBOOTHL_1415

:FBOOTHL_1399
8@ = Object.Create(#CJ_BURG_2, 10@, 11@, 12@)

:FBOOTHL_1415
Task.PickUpObject(0@, 8@, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
if 
  Char.IsMale(0@)
goto_if_false @FBOOTHL_1521
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT1", "FOOD", 1000.0, True, False, False, False, 50000000)
goto @FBOOTHL_1563

:FBOOTHL_1521
Task.PlayAnimNonInterruptable(0@, "FF_SIT_EAT2", "FOOD", 1000.0, True, False, False, False, 50000000)

:FBOOTHL_1563
5@ += 1
goto @FBOOTHL_2116

:FBOOTHL_1577
13@, 14@, 15@ = Char.GetCoordinates(0@)
15@ -= 1.04
16@, 17@, 18@ = Char.GetOffsetInWorldCoords(0@, -0.1, 0.5, 0.0)
19@, 20@, 21@ = Char.GetOffsetInWorldCoords(0@, -1.0, -0.5, 0.0)
10@, 11@, 12@ = Char.GetOffsetInWorldCoords(0@, 1.0, 0.0, -0.65)
if or
  Char.IsPlayingAnim(0@, "FF_SIT_LOOK")
  Char.IsPlayingAnim(0@, "FF_SIT_EAT1")
  Char.IsPlayingAnim(0@, "FF_SIT_EAT2")
goto_if_false @FBOOTHL_1812
World.SetCharUsesCollisionClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_PIZZA_CHAIR2, False, 0@)
Char.SetCoordinates(0@, 10@, 11@, 12@)
Char.FreezePosition(0@, True)
TIMERB = 0
5@ += 1

:FBOOTHL_1812
goto @FBOOTHL_2116

:FBOOTHL_1819
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @FBOOTHL_1871
Char.ClearLastDamageEntity(0@)
6@ = 0
4@ = 5
5@ = 0
goto @FBOOTHL_2116

:FBOOTHL_1871
if 
  is_int_lvar_greater_than_int_lvar TIMERB > 6@
goto_if_false @FBOOTHL_2015
if 
  not World.IsAreaOccupied(16@, 17@, 18@, 19@, 20@, 21@, False, False, True, False, False)
goto_if_false @FBOOTHL_1952
5@ = 0
4@ += 1
goto @FBOOTHL_2015

:FBOOTHL_1952
if 
  $tray_offX == 1
goto_if_false @FBOOTHL_2015
Task.PlayAnimNonInterruptable(0@, "FF_DIE_FWD", "FOOD", 16.0, False, False, False, True, -1)
5@ += 1

:FBOOTHL_2015
goto @FBOOTHL_2116

:FBOOTHL_2022
if 
  Char.IsHealthGreater(0@, 0)
goto_if_false @FBOOTHL_2102
if 
  not World.IsAreaOccupied(16@, 17@, 18@, 19@, 20@, 21@, False, False, True, False, False)
goto_if_false @FBOOTHL_2095
5@ = 0
4@ += 1

:FBOOTHL_2095
goto @FBOOTHL_2109

:FBOOTHL_2102
Char.SetNeverTargeted(0@, True)

:FBOOTHL_2109
goto @FBOOTHL_2116

:FBOOTHL_2116
return 

:FBOOTHL_2118
switch_start 5@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @FBOOTHL_2453 {caseNum1} 0 {caseLabel1} @FBOOTHL_2181 {caseNum2} 1 {caseLabel2} @FBOOTHL_2264 {caseNum3} 2 {caseLabel3} @FBOOTHL_2299 {caseNum4} -1 {caseLabel4} @FBOOTHL_2453 {caseNum5} -1 {caseLabel5} @FBOOTHL_2453 {caseNum6} -1 {caseLabel6} @FBOOTHL_2453 {caseNum7} -1 {caseLabel7} @FBOOTHL_2453

:FBOOTHL_2181
if 
  Char.IsHoldingObject(0@, -1)
goto_if_false @FBOOTHL_2206
Char.DropObject(0@, True)

:FBOOTHL_2206
Task.PlayAnimNonInterruptable(0@, "FF_SIT_OUT_L_180", "FOOD", 99.0, False, False, False, False, -1)
5@ += 1
goto @FBOOTHL_2453

:FBOOTHL_2264
Char.SetCoordinates(0@, 13@, 14@, 15@)
Char.FreezePosition(0@, False)
5@ += 1
goto @FBOOTHL_2453

:FBOOTHL_2299
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "FF_SIT_OUT_L_180")
goto_if_false @FBOOTHL_2446
9@ = Char.GetAnimCurrentTime(0@, "FF_SIT_OUT_L_180")
if 
  9@ == 1.0
goto_if_false @FBOOTHL_2446
World.SetUsesCollisionOfClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_PIZZA_CHAIR3, True)
World.SetUsesCollisionOfClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_PIZZA_CHAIR2, False)
5@ = 0
4@ += 1

:FBOOTHL_2446
goto @FBOOTHL_2453

:FBOOTHL_2453
return 

:FBOOTHL_2455
switch_start 5@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @FBOOTHL_2893 {caseNum1} 0 {caseLabel1} @FBOOTHL_2518 {caseNum2} 1 {caseLabel2} @FBOOTHL_2570 {caseNum3} 2 {caseLabel3} @FBOOTHL_2726 {caseNum4} -1 {caseLabel4} @FBOOTHL_2893 {caseNum5} -1 {caseLabel5} @FBOOTHL_2893 {caseNum6} -1 {caseLabel6} @FBOOTHL_2893 {caseNum7} -1 {caseLabel7} @FBOOTHL_2893

:FBOOTHL_2518
Task.PlayAnimNonInterruptable(0@, "FF_DAM_FWD", "FOOD", 16.0, False, False, False, True, 0)
5@ += 1
goto @FBOOTHL_2893

:FBOOTHL_2570
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "FF_DAM_FWD")
goto_if_false @FBOOTHL_2656
9@ = Char.GetAnimCurrentTime(0@, "FF_DAM_FWD")
if 
  9@ == 1.0
goto_if_false @FBOOTHL_2656
5@ += 1

:FBOOTHL_2656
if 
  not Char.IsHealthGreater(0@, 0)
goto_if_false @FBOOTHL_2719
Task.PlayAnimNonInterruptable(0@, "FF_DIE_FWD", "FOOD", 16.0, False, False, False, True, 0)
gosub @FBOOTHL_2895

:FBOOTHL_2719
goto @FBOOTHL_2893

:FBOOTHL_2726
if 
  not Char.IsHealthGreater(0@, 0)
goto_if_false @FBOOTHL_2796
Task.PlayAnimNonInterruptable(0@, "FF_DIE_FWD", "FOOD", 16.0, False, False, False, True, 0)
gosub @FBOOTHL_2895
goto @FBOOTHL_2879

:FBOOTHL_2796
if 
  not World.IsAreaOccupied(16@, 17@, 18@, 19@, 20@, 21@, False, False, True, False, False)
goto_if_false @FBOOTHL_2865
4@ = 3
5@ = 0
gosub @FBOOTHL_2971
goto @FBOOTHL_2879

:FBOOTHL_2865
4@ = 2
5@ = 2

:FBOOTHL_2879
$tray_offX = 1
goto @FBOOTHL_2893

:FBOOTHL_2893
return 

:FBOOTHL_2895
Object.MarkAsNoLongerNeeded(8@)
Streaming.RemoveAnimation("FOOD")
if 
  not Char.IsDead(0@)
goto_if_false @FBOOTHL_2967
Char.SetSuffersCriticalHits(0@, True)
Task.UseClosestMapAttractor(0@, 100.0, 0, 0.0, 0.0, 0.0, "PCUSTOM")

:FBOOTHL_2967
terminate_this_script 
return 

:FBOOTHL_2971
wait 0
if and
  not is_var_text_label_empty s$territory_pickup
  $1253 == 0
goto_if_false @FBOOTHL_3312
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
goto_if_false @FBOOTHL_3305
switch_start 4@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @FBOOTHL_3291 {caseNum1} 1 {caseLabel1} @FBOOTHL_3082 {caseNum2} 2 {caseLabel2} @FBOOTHL_3164 {caseNum3} 3 {caseLabel3} @FBOOTHL_3213 {caseNum4} 4 {caseLabel4} @FBOOTHL_3227 {caseNum5} 5 {caseLabel5} @FBOOTHL_3277 {caseNum6} -1 {caseLabel6} @FBOOTHL_3305 {caseNum7} -1 {caseLabel7} @FBOOTHL_3305

:FBOOTHL_3082
if 
  5@ > 1
goto_if_false @FBOOTHL_3114
gosub @FBOOTHL_370
goto @FBOOTHL_3157

:FBOOTHL_3114
7@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 7@ == 7
goto_if_false @FBOOTHL_3157
Task.Duck(0@, -2)
gosub @FBOOTHL_2895

:FBOOTHL_3157
goto @FBOOTHL_3305

:FBOOTHL_3164
if 
  5@ == 2
goto_if_false @FBOOTHL_3199
6@ = Math.RandomIntInRange(0, 5)
6@ *= 500

:FBOOTHL_3199
gosub @FBOOTHL_370
goto @FBOOTHL_3305

:FBOOTHL_3213
gosub @FBOOTHL_370
goto @FBOOTHL_3305

:FBOOTHL_3227
7@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 7@ == 7
goto_if_false @FBOOTHL_3270
Task.Duck(0@, -2)
gosub @FBOOTHL_2895

:FBOOTHL_3270
goto @FBOOTHL_3305

:FBOOTHL_3277
gosub @FBOOTHL_370
goto @FBOOTHL_3305

:FBOOTHL_3291
gosub @FBOOTHL_2895
goto @FBOOTHL_3305

:FBOOTHL_3305
goto @FBOOTHL_3319

:FBOOTHL_3312
gosub @FBOOTHL_2895

:FBOOTHL_3319
goto @FBOOTHL_2971
write_debug "I__________________________I"
write_debug "H"
write_debug "G"
write_debug "F"
write_debug "E"
write_debug_with_int "PEDSTATE" {_p2} 4@
write_debug_with_int "SUBSTATESTATUS" {_p2} 5@
write_debug_with_int "TIMERB" {_p2} TIMERB
write_debug_with_int "TIMERA" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 48 (BARGUY)---------------

:BARGUY
script_name 'BARGUY'
2@ = 0
if 
  2@ == 1
goto_if_false @BARGUY_60
0@ = Char.Create(PedType.CivMale, 0, 0.0, 0.0, 0.0)

:BARGUY_60
Streaming.RequestAnimation("BAR")

:BARGUY_67
if 
  not Streaming.HasAnimationLoaded("BAR")
goto_if_false @BARGUY_96
wait 0
goto @BARGUY_67

:BARGUY_96
3@ = 1
4@ = 0
5@ = 0
11@ = 0

:BARGUY_124
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @BARGUY_272
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @BARGUY_258
if 
  $iPrintStripperHelp == 0
goto_if_false @BARGUY_244
if 
  not Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @BARGUY_223
gosub @BARGUY_286
goto @BARGUY_237

:BARGUY_223
$iPrintStripperHelp = 1
goto @BARGUY_1067

:BARGUY_237
goto @BARGUY_251

:BARGUY_244
goto @BARGUY_1067

:BARGUY_251
goto @BARGUY_265

:BARGUY_258
gosub @BARGUY_1035

:BARGUY_265
goto @BARGUY_279

:BARGUY_272
gosub @BARGUY_1035

:BARGUY_279
goto @BARGUY_124

:BARGUY_286
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @BARGUY_363 {caseNum1} 1 {caseLabel1} @BARGUY_349 {caseNum2} -1 {caseLabel2} @BARGUY_363 {caseNum3} -1 {caseLabel3} @BARGUY_363 {caseNum4} -1 {caseLabel4} @BARGUY_363 {caseNum5} -1 {caseLabel5} @BARGUY_363 {caseNum6} -1 {caseLabel6} @BARGUY_363 {caseNum7} -1 {caseLabel7} @BARGUY_363

:BARGUY_349
gosub @BARGUY_365
goto @BARGUY_363

:BARGUY_363
return 

:BARGUY_365
switch_start 4@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @BARGUY_1033 {caseNum1} 0 {caseLabel1} @BARGUY_428 {caseNum2} 1 {caseLabel2} @BARGUY_488 {caseNum3} 2 {caseLabel3} @BARGUY_577 {caseNum4} 3 {caseLabel4} @BARGUY_674 {caseNum5} 4 {caseLabel5} @BARGUY_754 {caseNum6} 5 {caseLabel6} @BARGUY_826 {caseNum7} 6 {caseLabel7} @BARGUY_947

:BARGUY_428
10@ = Char.GetScriptTaskStatus(0@, 1481)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BARGUY_481
Task.LookAbout(0@, -2)
10@ = Char.SetSayContext(0@, 21)
4@ += 1

:BARGUY_481
goto @BARGUY_1033

:BARGUY_488
10@ = Char.GetHealth(0@)
if 
  10@ == 99
goto_if_false @BARGUY_570
Char.SetHealth(0@, 100)
Task.PlayAnim(0@, "BARCUSTOM_ORDER", "BAR", 4.0, False, False, False, False, 0)
4@ += 1

:BARGUY_570
goto @BARGUY_1033

:BARGUY_577
10@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BARGUY_667
Task.PlayAnim(0@, "BARCUSTOM_LOOP", "BAR", 4.0, True, False, False, False, 600000)
10@ = Char.SetSayContext(0@, 21)
4@ += 1

:BARGUY_667
goto @BARGUY_1033

:BARGUY_674
10@ = Char.GetHealth(0@)
if 
  10@ == 99
goto_if_false @BARGUY_747
Task.PlayAnim(0@, "BARCUSTOM_GET", "BAR", 4.0, False, False, False, False, 0)
4@ += 1

:BARGUY_747
goto @BARGUY_1033

:BARGUY_754
10@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BARGUY_819
7@, 8@, 9@ = Char.GetOffsetInWorldCoords(0@, 0.0, 0.1, 1.0)
4@ += 1

:BARGUY_819
goto @BARGUY_1033

:BARGUY_826
if 
  Char.IsMale(0@)
goto_if_false @BARGUY_891
Task.PlayAnim(0@, "DNK_STNDM_LOOP", "BAR", 4.0, True, False, False, False, 15000)
goto @BARGUY_933

:BARGUY_891
Task.PlayAnim(0@, "DNK_STNDF_LOOP", "BAR", 4.0, True, False, False, False, 15000)

:BARGUY_933
4@ += 1
goto @BARGUY_1033

:BARGUY_947
10@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @BARGUY_1026
Char.SetHealth(0@, 100)
if 
  is_var_text_label16_equal_to_text_label v$iGlobalPedPanicDM == "BAR1"
goto_if_false @BARGUY_1019
4@ = 0
goto @BARGUY_1026

:BARGUY_1019
gosub @BARGUY_1035

:BARGUY_1026
goto @BARGUY_1033

:BARGUY_1033
return 

:BARGUY_1035
Streaming.RemoveAnimation("BAR")
if 
  not Char.IsDead(0@)
goto_if_false @BARGUY_1063
Char.ClearTasksImmediately(0@)

:BARGUY_1063
terminate_this_script 
return 

:BARGUY_1067
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @BARGUY_1137
11@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 11@ == 7
goto_if_false @BARGUY_1130
Task.Duck(0@, -2)

:BARGUY_1130
goto @BARGUY_1144

:BARGUY_1137
gosub @BARGUY_1035

:BARGUY_1144
goto @BARGUY_1067
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 49 (PEDROUL)---------------

:PEDROUL
script_name 'PEDROUL'
2@ = 0
if 
  2@ == 1
goto_if_false @PEDROUL_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:PEDROUL_60
Streaming.RequestAnimation("CASINO")

:PEDROUL_70
if 
  not Streaming.HasAnimationLoaded("CASINO")
goto_if_false @PEDROUL_102
wait 0
goto @PEDROUL_70

:PEDROUL_102
3@ = 1
4@ = 0

:PEDROUL_116
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @PEDROUL_227
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @PEDROUL_213
if 
  $iPrintStripperHelp == 0
goto_if_false @PEDROUL_191
gosub @PEDROUL_241
goto @PEDROUL_206

:PEDROUL_191
Char.SetDecisionMaker(0@, $iCheckForWeapons)
goto @PEDROUL_998

:PEDROUL_206
goto @PEDROUL_220

:PEDROUL_213
gosub @PEDROUL_984

:PEDROUL_220
goto @PEDROUL_234

:PEDROUL_227
gosub @PEDROUL_984

:PEDROUL_234
goto @PEDROUL_116

:PEDROUL_241
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @PEDROUL_318 {caseNum1} 1 {caseLabel1} @PEDROUL_304 {caseNum2} -1 {caseLabel2} @PEDROUL_318 {caseNum3} -1 {caseLabel3} @PEDROUL_318 {caseNum4} -1 {caseLabel4} @PEDROUL_318 {caseNum5} -1 {caseLabel5} @PEDROUL_318 {caseNum6} -1 {caseLabel6} @PEDROUL_318 {caseNum7} -1 {caseLabel7} @PEDROUL_318

:PEDROUL_304
gosub @PEDROUL_320
goto @PEDROUL_318

:PEDROUL_318
return 

:PEDROUL_320
switch_start 4@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @PEDROUL_982 {caseNum1} 0 {caseLabel1} @PEDROUL_383 {caseNum2} 1 {caseLabel2} @PEDROUL_438 {caseNum3} 2 {caseLabel3} @PEDROUL_533 {caseNum4} 3 {caseLabel4} @PEDROUL_631 {caseNum5} 4 {caseLabel5} @PEDROUL_813 {caseNum6} 5 {caseLabel6} @PEDROUL_939 {caseNum7} -1 {caseLabel7} @PEDROUL_982

:PEDROUL_383
Task.PlayAnim(0@, "ROULETTE_IN", "CASINO", 4.0, False, False, False, False, -1)
4@ += 1
goto @PEDROUL_982

:PEDROUL_438
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDROUL_526
Task.PlayAnim(0@, "ROULETTE_BET", "CASINO", 4.0, False, False, False, False, -1)
2@ = Char.SetSayContext(0@, 103)
4@ += 1

:PEDROUL_526
goto @PEDROUL_982

:PEDROUL_533
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDROUL_624
2@ = Math.RandomIntInRange(8000, 15000)
Task.PlayAnim(0@, "ROULETTE_LOOP", "CASINO", 4.0, True, False, False, True, 2@)
4@ += 1

:PEDROUL_624
goto @PEDROUL_982

:PEDROUL_631
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDROUL_806
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @PEDROUL_746
Task.PlayAnim(0@, "ROULETTE_WIN", "CASINO", 4.0, False, False, False, False, -1)
2@ = Char.SetSayContext(0@, 100)
goto @PEDROUL_799

:PEDROUL_746
Task.PlayAnim(0@, "ROULETTE_LOSE", "CASINO", 4.0, False, False, False, False, -1)
2@ = Char.SetSayContext(0@, 101)

:PEDROUL_799
4@ += 1

:PEDROUL_806
goto @PEDROUL_982

:PEDROUL_813
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDROUL_932
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @PEDROUL_883
4@ = 1
goto @PEDROUL_932

:PEDROUL_883
Task.PlayAnim(0@, "ROULETTE_OUT", "CASINO", 4.0, False, False, False, False, -1)
4@ += 1

:PEDROUL_932
goto @PEDROUL_982

:PEDROUL_939
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDROUL_975
gosub @PEDROUL_984

:PEDROUL_975
goto @PEDROUL_982

:PEDROUL_982
return 

:PEDROUL_984
Streaming.RemoveAnimation("CASINO")
terminate_this_script 
return 

:PEDROUL_998
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @PEDROUL_1068
5@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @PEDROUL_1061
Task.Duck(0@, -2)

:PEDROUL_1061
goto @PEDROUL_1075

:PEDROUL_1068
gosub @PEDROUL_984

:PEDROUL_1075
goto @PEDROUL_998
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 50 (PEDCARD)---------------

:PEDCARD
script_name 'PEDCARD'
2@ = 0
if 
  2@ == 1
goto_if_false @PEDCARD_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:PEDCARD_60
Streaming.RequestAnimation("CASINO")

:PEDCARD_70
if 
  not Streaming.HasAnimationLoaded("CASINO")
goto_if_false @PEDCARD_102
wait 0
goto @PEDCARD_70

:PEDCARD_102
3@ = 1
4@ = 0

:PEDCARD_116
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @PEDCARD_227
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @PEDCARD_213
if 
  $iPrintStripperHelp == 0
goto_if_false @PEDCARD_191
gosub @PEDCARD_241
goto @PEDCARD_206

:PEDCARD_191
Char.SetDecisionMaker(0@, $iCheckForWeapons)
goto @PEDCARD_1335

:PEDCARD_206
goto @PEDCARD_220

:PEDCARD_213
gosub @PEDCARD_1321

:PEDCARD_220
goto @PEDCARD_234

:PEDCARD_227
gosub @PEDCARD_1321

:PEDCARD_234
goto @PEDCARD_116

:PEDCARD_241
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @PEDCARD_318 {caseNum1} 1 {caseLabel1} @PEDCARD_304 {caseNum2} -1 {caseLabel2} @PEDCARD_318 {caseNum3} -1 {caseLabel3} @PEDCARD_318 {caseNum4} -1 {caseLabel4} @PEDCARD_318 {caseNum5} -1 {caseLabel5} @PEDCARD_318 {caseNum6} -1 {caseLabel6} @PEDCARD_318 {caseNum7} -1 {caseLabel7} @PEDCARD_318

:PEDCARD_304
gosub @PEDCARD_320
goto @PEDCARD_318

:PEDCARD_318
return 

:PEDCARD_320
switch_start 4@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @PEDCARD_1319 {caseNum1} 0 {caseLabel1} @PEDCARD_448 {caseNum2} 1 {caseLabel2} @PEDCARD_510 {caseNum3} 2 {caseLabel3} @PEDCARD_596 {caseNum4} 3 {caseLabel4} @PEDCARD_691 {caseNum5} 4 {caseLabel5} @PEDCARD_872 {caseNum6} 5 {caseLabel6} @PEDCARD_977 {caseNum7} 6 {caseLabel7} @PEDCARD_1153
switch_continued 7 {caseLabel1} @PEDCARD_1276 {caseNum2} -1 {caseLabel2} @PEDCARD_1319 {caseNum3} -1 {caseLabel3} @PEDCARD_1319 {caseNum4} -1 {caseLabel4} @PEDCARD_1319 {caseNum5} -1 {caseLabel5} @PEDCARD_1319 {caseNum6} -1 {caseLabel6} @PEDCARD_1319 {caseNum7} -1 {caseLabel7} @PEDCARD_1319 {caseNum8} -1 {caseLabel8} @PEDCARD_1319 {caseNum9} -1 {caseLabel9} @PEDCARD_1319

:PEDCARD_448
Task.PlayAnim(0@, "CARDS_IN", "CASINO", 4.0, False, False, False, False, -1)
2@ = Char.SetSayContext(0@, 93)
4@ += 1
goto @PEDCARD_1319

:PEDCARD_510
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDCARD_589
Task.PlayAnim(0@, "CARDS_PICK_01", "CASINO", 4.0, False, False, False, False, -1)
4@ += 1

:PEDCARD_589
goto @PEDCARD_1319

:PEDCARD_596
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDCARD_684
2@ = Math.RandomIntInRange(8000, 15000)
Task.PlayAnim(0@, "CARDS_LOOP", "CASINO", 4.0, True, False, False, True, 2@)
4@ += 1

:PEDCARD_684
goto @PEDCARD_1319

:PEDCARD_691
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDCARD_865
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @PEDCARD_805
Task.PlayAnim(0@, "CARDS_RAISE", "CASINO", 4.0, False, False, False, False, -1)
2@ = Char.SetSayContext(0@, 98)
goto @PEDCARD_858

:PEDCARD_805
Task.PlayAnim(0@, "CARDS_PICK_02", "CASINO", 4.0, False, False, False, False, -1)
2@ = Char.SetSayContext(0@, 93)

:PEDCARD_858
4@ += 1

:PEDCARD_865
goto @PEDCARD_1319

:PEDCARD_872
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDCARD_970
2@ = Math.RandomIntInRange(1500, 5000)
Task.PlayAnim(0@, "CARDS_LOOP", "CASINO", 4.0, True, False, False, True, 2@)
2@ = Char.SetSayContext(0@, 95)
4@ += 1

:PEDCARD_970
goto @PEDCARD_1319

:PEDCARD_977
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDCARD_1146
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @PEDCARD_1089
Task.PlayAnim(0@, "CARDS_WIN", "CASINO", 4.0, False, False, False, False, -1)
2@ = Char.SetSayContext(0@, 96)
goto @PEDCARD_1139

:PEDCARD_1089
Task.PlayAnim(0@, "CARDS_LOSE", "CASINO", 4.0, False, False, False, False, -1)
2@ = Char.SetSayContext(0@, 94)

:PEDCARD_1139
4@ += 1

:PEDCARD_1146
goto @PEDCARD_1319

:PEDCARD_1153
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDCARD_1269
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @PEDCARD_1223
4@ = 1
goto @PEDCARD_1269

:PEDCARD_1223
Task.PlayAnim(0@, "CARDS_OUT", "CASINO", 4.0, False, False, False, False, -1)
4@ += 1

:PEDCARD_1269
goto @PEDCARD_1319

:PEDCARD_1276
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDCARD_1312
gosub @PEDCARD_1321

:PEDCARD_1312
goto @PEDCARD_1319

:PEDCARD_1319
return 

:PEDCARD_1321
Streaming.RemoveAnimation("CASINO")
terminate_this_script 
return 

:PEDCARD_1335
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @PEDCARD_1405
5@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @PEDCARD_1398
Task.Duck(0@, -2)

:PEDCARD_1398
goto @PEDCARD_1412

:PEDCARD_1405
gosub @PEDCARD_1321

:PEDCARD_1412
goto @PEDCARD_1335
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 51 (PEDSLOT)---------------

:PEDSLOT
script_name 'PEDSLOT'
2@ = 0
if 
  2@ == 1
goto_if_false @PEDSLOT_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:PEDSLOT_60
Streaming.RequestAnimation("CASINO")

:PEDSLOT_70
if 
  not Streaming.HasAnimationLoaded("CASINO")
goto_if_false @PEDSLOT_102
wait 0
goto @PEDSLOT_70

:PEDSLOT_102
3@ = 1
4@ = 0

:PEDSLOT_116
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @PEDSLOT_227
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @PEDSLOT_213
if 
  $iPrintStripperHelp == 0
goto_if_false @PEDSLOT_191
gosub @PEDSLOT_241
goto @PEDSLOT_206

:PEDSLOT_191
Char.SetDecisionMaker(0@, $iCheckForWeapons)
goto @PEDSLOT_1042

:PEDSLOT_206
goto @PEDSLOT_220

:PEDSLOT_213
gosub @PEDSLOT_1028

:PEDSLOT_220
goto @PEDSLOT_234

:PEDSLOT_227
gosub @PEDSLOT_1028

:PEDSLOT_234
goto @PEDSLOT_116

:PEDSLOT_241
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @PEDSLOT_318 {caseNum1} 1 {caseLabel1} @PEDSLOT_304 {caseNum2} -1 {caseLabel2} @PEDSLOT_318 {caseNum3} -1 {caseLabel3} @PEDSLOT_318 {caseNum4} -1 {caseLabel4} @PEDSLOT_318 {caseNum5} -1 {caseLabel5} @PEDSLOT_318 {caseNum6} -1 {caseLabel6} @PEDSLOT_318 {caseNum7} -1 {caseLabel7} @PEDSLOT_318

:PEDSLOT_304
gosub @PEDSLOT_320
goto @PEDSLOT_318

:PEDSLOT_318
return 

:PEDSLOT_320
switch_start 4@ {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @PEDSLOT_1026 {caseNum1} 0 {caseLabel1} @PEDSLOT_383 {caseNum2} 1 {caseLabel2} @PEDSLOT_434 {caseNum3} 2 {caseLabel3} @PEDSLOT_519 {caseNum4} 3 {caseLabel4} @PEDSLOT_613 {caseNum5} 4 {caseLabel5} @PEDSLOT_770 {caseNum6} 5 {caseLabel6} @PEDSLOT_942 {caseNum7} -1 {caseLabel7} @PEDSLOT_1026

:PEDSLOT_383
Task.PlayAnim(0@, "SLOT_IN", "CASINO", 4.0, False, False, False, False, -1)
4@ += 1
goto @PEDSLOT_1026

:PEDSLOT_434
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDSLOT_512
Task.PlayAnim(0@, "SLOT_BET_01", "CASINO", 4.0, False, False, False, False, 2@)
4@ += 1

:PEDSLOT_512
goto @PEDSLOT_1026

:PEDSLOT_519
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDSLOT_606
2@ = Math.RandomIntInRange(1500, 5000)
Task.PlayAnim(0@, "SLOT_WAIT", "CASINO", 4.0, True, False, False, True, 2@)
4@ += 1

:PEDSLOT_606
goto @PEDSLOT_1026

:PEDSLOT_613
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDSLOT_763
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @PEDSLOT_717
Task.PlayAnim(0@, "SLOT_BET_02", "CASINO", 4.0, False, False, False, False, -1)
goto @PEDSLOT_756

:PEDSLOT_717
Task.PlayAnim(0@, "SLOT_WAIT", "CASINO", 4.0, False, False, False, False, -1)

:PEDSLOT_756
4@ += 1

:PEDSLOT_763
goto @PEDSLOT_1026

:PEDSLOT_770
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDSLOT_935
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @PEDSLOT_885
Task.PlayAnim(0@, "SLOT_WIN_OUT", "CASINO", 4.0, False, False, False, False, -1)
2@ = Char.SetSayContext(0@, 104)
goto @PEDSLOT_928

:PEDSLOT_885
Task.PlayAnim(0@, "SLOT_LOSE_OUT", "CASINO", 4.0, False, False, False, False, -1)

:PEDSLOT_928
4@ += 1

:PEDSLOT_935
goto @PEDSLOT_1026

:PEDSLOT_942
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @PEDSLOT_1019
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @PEDSLOT_1012
4@ = 0
goto @PEDSLOT_1019

:PEDSLOT_1012
gosub @PEDSLOT_1028

:PEDSLOT_1019
goto @PEDSLOT_1026

:PEDSLOT_1026
return 

:PEDSLOT_1028
Streaming.RemoveAnimation("CASINO")
terminate_this_script 
return 

:PEDSLOT_1042
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @PEDSLOT_1112
5@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @PEDSLOT_1105
Task.Duck(0@, -2)

:PEDSLOT_1105
goto @PEDSLOT_1119

:PEDSLOT_1112
gosub @PEDSLOT_1028

:PEDSLOT_1119
goto @PEDSLOT_1042
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 52 (DANCER)---------------

:DANCER
script_name 'DANCER'
2@ = 0
if 
  2@ == 1
goto_if_false @DANCER_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:DANCER_60
Streaming.RequestAnimation("DANCING")

:DANCER_71
if 
  not Streaming.HasAnimationLoaded("DANCING")
goto_if_false @DANCER_104
wait 0
goto @DANCER_71

:DANCER_104
if 
  not Char.IsDead(0@)
goto_if_false @DANCER_317
2@ = Char.GetModel(0@)
if 
  10 > 2@
goto_if_false @DANCER_169
set_lvar_int_to_lvar_int 7@ = 2@
7@ *= 1500
goto @DANCER_225

:DANCER_169
if 
  100 > 2@
goto_if_false @DANCER_210
set_lvar_int_to_lvar_int 7@ = 2@
7@ *= 150
goto @DANCER_225

:DANCER_210
set_lvar_int_to_lvar_int 7@ = 2@
7@ *= 15

:DANCER_225
set_lvar_int_to_lvar_int 3@ = 2@
3@ /= 2
3@ *= 2
if 
  is_int_lvar_equal_to_int_lvar 2@ == 3@
goto_if_false @DANCER_310
if 
  Char.IsMale(0@)
goto_if_false @DANCER_296
8@ = 1
goto @DANCER_303

:DANCER_296
8@ = 2

:DANCER_303
goto @DANCER_317

:DANCER_310
8@ = 3

:DANCER_317
3@ = 1
4@ = 0

:DANCER_331
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @DANCER_442
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @DANCER_428
if 
  $iLapDancesWatched == 0
goto_if_false @DANCER_406
gosub @DANCER_456
goto @DANCER_421

:DANCER_406
Char.SetDecisionMaker(0@, $iCheckForWeapons)
goto @DANCER_1424

:DANCER_421
goto @DANCER_435

:DANCER_428
gosub @DANCER_1358

:DANCER_435
goto @DANCER_449

:DANCER_442
gosub @DANCER_1358

:DANCER_449
goto @DANCER_331

:DANCER_456
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @DANCER_540 {caseNum1} 1 {caseLabel1} @DANCER_519 {caseNum2} -1 {caseLabel2} @DANCER_540 {caseNum3} -1 {caseLabel3} @DANCER_540 {caseNum4} -1 {caseLabel4} @DANCER_540 {caseNum5} -1 {caseLabel5} @DANCER_540 {caseNum6} -1 {caseLabel6} @DANCER_540 {caseNum7} -1 {caseLabel7} @DANCER_540

:DANCER_519
gosub @DANCER_1246
gosub @DANCER_542
goto @DANCER_540

:DANCER_540
return 

:DANCER_542
switch_start 4@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @DANCER_1244 {caseNum1} 0 {caseLabel1} @DANCER_605 {caseNum2} 1 {caseLabel2} @DANCER_818 {caseNum3} 2 {caseLabel3} @DANCER_1031 {caseNum4} -1 {caseLabel4} @DANCER_1244 {caseNum5} -1 {caseLabel5} @DANCER_1244 {caseNum6} -1 {caseLabel6} @DANCER_1244 {caseNum7} -1 {caseLabel7} @DANCER_1244

:DANCER_605
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @DANCER_811
if 
  8@ == 1
goto_if_false @DANCER_699
Task.PlayAnim(0@, "DNCE_M_C", "DANCING", 4.0, True, False, False, True, 7@)
goto @DANCER_804

:DANCER_699
if 
  8@ == 2
goto_if_false @DANCER_764
Task.PlayAnim(0@, "DNCE_M_B", "DANCING", 4.0, True, False, False, True, 7@)
goto @DANCER_804

:DANCER_764
Task.PlayAnim(0@, "DNCE_M_A", "DANCING", 4.0, True, False, False, True, 7@)

:DANCER_804
4@ += 1

:DANCER_811
goto @DANCER_1244

:DANCER_818
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @DANCER_1024
if 
  8@ == 1
goto_if_false @DANCER_912
Task.PlayAnim(0@, "DNCE_M_D", "DANCING", 4.0, True, False, False, True, 7@)
goto @DANCER_1017

:DANCER_912
if 
  8@ == 2
goto_if_false @DANCER_977
Task.PlayAnim(0@, "DNCE_M_C", "DANCING", 4.0, True, False, False, True, 7@)
goto @DANCER_1017

:DANCER_977
Task.PlayAnim(0@, "DNCE_M_B", "DANCING", 4.0, True, False, False, True, 7@)

:DANCER_1017
4@ += 1

:DANCER_1024
goto @DANCER_1244

:DANCER_1031
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @DANCER_1237
if 
  8@ == 1
goto_if_false @DANCER_1125
Task.PlayAnim(0@, "DNCE_M_A", "DANCING", 4.0, True, False, False, True, 7@)
goto @DANCER_1230

:DANCER_1125
if 
  8@ == 2
goto_if_false @DANCER_1190
Task.PlayAnim(0@, "DNCE_M_D", "DANCING", 4.0, True, False, False, True, 7@)
goto @DANCER_1230

:DANCER_1190
Task.PlayAnim(0@, "DNCE_M_C", "DANCING", 4.0, True, False, False, True, 7@)

:DANCER_1230
4@ = 0

:DANCER_1237
goto @DANCER_1244

:DANCER_1244
return 

:DANCER_1246
if 
  is_global_var_bit_set_const $txtCURR_DANCE_MOVE {n} 31
goto_if_false @DANCER_1278
9@ = 1
goto @DANCER_1356

:DANCER_1278
if 
  9@ == 1
goto_if_false @DANCER_1356
if 
  $5300 > 3000
goto_if_false @DANCER_1339
2@ = Char.SetSayContext(0@, 70)
9@ = 0
goto @DANCER_1356

:DANCER_1339
2@ = Char.SetSayContext(0@, 73)
9@ = 0

:DANCER_1356
return 

:DANCER_1358
Streaming.RemoveAnimation("DANCING")
if 
  not Char.IsDead(0@)
goto_if_false @DANCER_1420
Task.UseClosestMapAttractor(0@, 100.0, 0, 0.0, 0.0, 0.0, "DANCER")

:DANCER_1420
terminate_this_script 
return 

:DANCER_1424
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @DANCER_1494
5@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @DANCER_1487
Task.Duck(0@, -2)

:DANCER_1487
goto @DANCER_1501

:DANCER_1494
gosub @DANCER_1358

:DANCER_1501
goto @DANCER_1424
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 53 (STRIPW)---------------

:STRIPW
script_name 'STRIPW'
2@ = 0
if 
  2@ == 1
goto_if_false @STRIPW_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:STRIPW_60
Streaming.RequestAnimation("STRIP")

:STRIPW_69
if 
  not Streaming.HasAnimationLoaded("STRIP")
goto_if_false @STRIPW_109
wait 0
Streaming.RequestAnimation("STRIP")
goto @STRIPW_69

:STRIPW_109
3@ = 1
4@ = 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @STRIPW_198
v$fDanceCameraX = Char.GetNameOfEntryExitUsed($stattreadstamina_ctr)
if 
  is_var_text_label16_equal_to_text_label v$fDanceCameraX == "STRIP2"
goto_if_false @STRIPW_188
10@ = 3.0
goto @STRIPW_198

:STRIPW_188
10@ = 4.0

:STRIPW_198
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @STRIPW_382
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @STRIPW_332
if 
  $iStripperPed == 0
goto_if_false @STRIPW_318
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @STRIPW_304
$iStripperPed = 1
goto @STRIPW_3515
goto @STRIPW_311

:STRIPW_304
gosub @STRIPW_396

:STRIPW_311
goto @STRIPW_325

:STRIPW_318
goto @STRIPW_3515

:STRIPW_325
goto @STRIPW_375

:STRIPW_332
$iThrowMoneyState = 1
5@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @STRIPW_375
Task.Duck(0@, -1)

:STRIPW_375
goto @STRIPW_389

:STRIPW_382
gosub @STRIPW_3497

:STRIPW_389
goto @STRIPW_198

:STRIPW_396
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @STRIPW_473 {caseNum1} 1 {caseLabel1} @STRIPW_459 {caseNum2} -1 {caseLabel2} @STRIPW_473 {caseNum3} -1 {caseLabel3} @STRIPW_473 {caseNum4} -1 {caseLabel4} @STRIPW_473 {caseNum5} -1 {caseLabel5} @STRIPW_473 {caseNum6} -1 {caseLabel6} @STRIPW_473 {caseNum7} -1 {caseLabel7} @STRIPW_473

:STRIPW_459
gosub @STRIPW_475
goto @STRIPW_473

:STRIPW_473
return 

:STRIPW_475
switch_start 4@ {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @STRIPW_3266 {caseNum1} 0 {caseLabel1} @STRIPW_603 {caseNum2} 1 {caseLabel2} @STRIPW_772 {caseNum3} 2 {caseLabel3} @STRIPW_1133 {caseNum4} 3 {caseLabel4} @STRIPW_1470 {caseNum5} 4 {caseLabel5} @STRIPW_1835 {caseNum6} 5 {caseLabel6} @STRIPW_2056 {caseNum7} 6 {caseLabel7} @STRIPW_2642
switch_continued 7 {caseLabel1} @STRIPW_2850 {caseNum2} 8 {caseLabel2} @STRIPW_3058 {caseNum3} -1 {caseLabel3} @STRIPW_3266 {caseNum4} -1 {caseLabel4} @STRIPW_3266 {caseNum5} -1 {caseLabel5} @STRIPW_3266 {caseNum6} -1 {caseLabel6} @STRIPW_3266 {caseNum7} -1 {caseLabel7} @STRIPW_3266 {caseNum8} -1 {caseLabel8} @STRIPW_3266 {caseNum9} -1 {caseLabel9} @STRIPW_3266

:STRIPW_603
if 
  Char.IsPlayingAnim(0@, "STR_B2A")
goto_if_false @STRIPW_719
9@ = Char.GetAnimCurrentTime(0@, "STR_B2A")
if 
  9@ >= 1.0
goto_if_false @STRIPW_712
Task.PlayAnim(0@, "STR_LOOP_A", "STRIP", 1000.0, False, False, False, True, -1)
4@ += 1

:STRIPW_712
goto @STRIPW_765

:STRIPW_719
Task.PlayAnim(0@, "STR_LOOP_A", "STRIP", 1000.0, False, False, False, True, -1)
4@ += 1

:STRIPW_765
goto @STRIPW_3266

:STRIPW_772
gosub @STRIPW_3268
if 
  Char.IsPlayingAnim(0@, "STR_LOOP_A")
goto_if_false @STRIPW_1087
9@ = Char.GetAnimCurrentTime(0@, "STR_LOOP_A")
if 
  9@ >= 1.0
goto_if_false @STRIPW_1080
if and
  Object.DoesExist($9482)
  is_int_var_equal_to_int_lvar $9481 == 0@
goto_if_false @STRIPW_922
Task.PlayAnim(0@, "STR_A2B", "STRIP", 1000.0, False, False, False, True, -1)
4@ += 1
goto @STRIPW_1080

:STRIPW_922
6@, 7@, 8@ = Char.GetOffsetInWorldCoords(0@, 0.3, 0.5, -0.5)
if 
  World.IsMoneyPickupAtCoords(6@, 7@, 8@)
goto_if_false @STRIPW_1041
World.ClearArea(6@, 7@, 8@, 0.3, False)
Task.PlayAnim(0@, "STR_A2B", "STRIP", 1000.0, False, False, False, True, -1)
4@ += 1
goto @STRIPW_1080

:STRIPW_1041
Task.PlayAnim(0@, "STR_LOOP_A", "STRIP", 1000.0, False, False, False, True, -1)

:STRIPW_1080
goto @STRIPW_1126

:STRIPW_1087
Task.PlayAnim(0@, "STR_LOOP_A", "STRIP", 1000.0, False, False, False, True, -1)

:STRIPW_1126
goto @STRIPW_3266

:STRIPW_1133
if 
  Char.IsPlayingAnim(0@, "STR_A2B")
goto_if_false @STRIPW_1301
Object.Delete($9482)
6@, 7@, 8@ = Char.GetOffsetInWorldCoords(0@, 0.3, 0.5, -0.5)
World.ClearArea(6@, 7@, 8@, 0.3, False)
9@ = Char.GetAnimCurrentTime(0@, "STR_A2B")
if 
  9@ >= 1.0
goto_if_false @STRIPW_1294
Task.PlayAnim(0@, "STR_LOOP_B", "STRIP", 1000.0, False, False, False, True, -1)
4@ += 1

:STRIPW_1294
goto @STRIPW_1463

:STRIPW_1301
if 
  Char.IsPlayingAnim(0@, "STR_C2B")
goto_if_false @STRIPW_1417
9@ = Char.GetAnimCurrentTime(0@, "STR_C2B")
if 
  9@ >= 1.0
goto_if_false @STRIPW_1410
Task.PlayAnim(0@, "STR_LOOP_B", "STRIP", 1000.0, False, False, False, True, -1)
4@ += 1

:STRIPW_1410
goto @STRIPW_1463

:STRIPW_1417
Task.PlayAnim(0@, "STR_LOOP_B", "STRIP", 1000.0, False, False, False, True, -1)
4@ += 1

:STRIPW_1463
goto @STRIPW_3266

:STRIPW_1470
gosub @STRIPW_3268
if 
  Char.IsPlayingAnim(0@, "STR_LOOP_B")
goto_if_false @STRIPW_1789
9@ = Char.GetAnimCurrentTime(0@, "STR_LOOP_B")
if 
  9@ >= 1.0
goto_if_false @STRIPW_1782
if and
  Object.DoesExist($9482)
  is_int_var_equal_to_int_lvar $9481 == 0@
goto_if_false @STRIPW_1620
Task.PlayAnim(0@, "STR_B2C", "STRIP", 1000.0, False, False, False, True, -1)
4@ += 1
goto @STRIPW_1782

:STRIPW_1620
6@, 7@, 8@ = Char.GetOffsetInWorldCoords(0@, 0.3, 0.5, -0.5)
if 
  World.IsMoneyPickupAtCoords(6@, 7@, 8@)
goto_if_false @STRIPW_1739
World.ClearArea(6@, 7@, 8@, 0.3, False)
Task.PlayAnim(0@, "STR_B2C", "STRIP", 1000.0, False, False, False, True, -1)
4@ += 1
goto @STRIPW_1782

:STRIPW_1739
Task.PlayAnim(0@, "STR_B2A", "STRIP", 1000.0, False, False, False, True, -1)
4@ = 0

:STRIPW_1782
goto @STRIPW_1828

:STRIPW_1789
Task.PlayAnim(0@, "STR_LOOP_B", "STRIP", 1000.0, False, False, False, True, -1)

:STRIPW_1828
goto @STRIPW_3266

:STRIPW_1835
if 
  Char.IsPlayingAnim(0@, "STR_B2C")
goto_if_false @STRIPW_2003
Object.Delete($9482)
6@, 7@, 8@ = Char.GetOffsetInWorldCoords(0@, 0.3, 0.5, -0.5)
World.ClearArea(6@, 7@, 8@, 0.3, False)
9@ = Char.GetAnimCurrentTime(0@, "STR_B2C")
if 
  9@ >= 1.0
goto_if_false @STRIPW_1996
Task.PlayAnim(0@, "STR_LOOP_C", "STRIP", 1000.0, False, False, False, True, -1)
4@ += 1

:STRIPW_1996
goto @STRIPW_2049

:STRIPW_2003
Task.PlayAnim(0@, "STR_LOOP_C", "STRIP", 1000.0, False, False, False, True, -1)
4@ += 1

:STRIPW_2049
goto @STRIPW_3266

:STRIPW_2056
gosub @STRIPW_3268
if 
  Char.IsPlayingAnim(0@, "STR_LOOP_C")
goto_if_false @STRIPW_2596
9@ = Char.GetAnimCurrentTime(0@, "STR_LOOP_C")
if 
  9@ >= 1.0
goto_if_false @STRIPW_2589
if and
  Object.DoesExist($9482)
  is_int_var_equal_to_int_lvar $9481 == 0@
goto_if_false @STRIPW_2431
6@, 7@, 8@ = Char.GetCoordinates(0@)
9@ = Char.GetHeading($stattreadstamina_ctr)
9@ += 180.0
2@ = Math.RandomIntInRange(35, 100)
if 
  33 > 2@
goto_if_false @STRIPW_2281
Task.CharSlideToCoordAndPlayAnim(0@, 6@, 7@, 8@, 9@, -1.0, "STR_C3", "STRIP", 1000.0, False, False, False, True, -1)
4@ = 6
goto @STRIPW_2424

:STRIPW_2281
if 
  2@ > 66
goto_if_false @STRIPW_2365
Task.CharSlideToCoordAndPlayAnim(0@, 6@, 7@, 8@, 9@, -1.0, "STR_C2", "STRIP", 1000.0, False, False, False, True, -1)
4@ = 7
goto @STRIPW_2424

:STRIPW_2365
Task.CharSlideToCoordAndPlayAnim(0@, 6@, 7@, 8@, 9@, -1.0, "STR_C1", "STRIP", 1000.0, False, False, False, True, -1)
4@ = 8

:STRIPW_2424
goto @STRIPW_2589

:STRIPW_2431
6@, 7@, 8@ = Char.GetOffsetInWorldCoords(0@, 0.3, 0.5, -0.5)
if 
  World.IsMoneyPickupAtCoords(6@, 7@, 8@)
goto_if_false @STRIPW_2546
World.ClearArea(6@, 7@, 8@, 0.3, False)
Task.PlayAnim(0@, "STR_LOOP_C", "STRIP", 1000.0, False, False, False, True, -1)
goto @STRIPW_2589

:STRIPW_2546
Task.PlayAnim(0@, "STR_C2B", "STRIP", 1000.0, False, False, False, True, -1)
4@ = 2

:STRIPW_2589
goto @STRIPW_2635

:STRIPW_2596
Task.PlayAnim(0@, "STR_LOOP_C", "STRIP", 1000.0, False, False, False, True, -1)

:STRIPW_2635
goto @STRIPW_3266

:STRIPW_2642
if 
  Char.IsPlayingAnim(0@, "STR_C3")
goto_if_false @STRIPW_2808
Object.Delete($9482)
6@, 7@, 8@ = Char.GetOffsetInWorldCoords(0@, 0.3, 0.5, -0.5)
World.ClearArea(6@, 7@, 8@, 0.3, False)
9@ = Char.GetAnimCurrentTime(0@, "STR_C3")
if 
  9@ >= 1.0
goto_if_false @STRIPW_2801
Task.PlayAnim(0@, "STR_LOOP_C", "STRIP", 1000.0, False, False, False, True, -1)
4@ = 5

:STRIPW_2801
goto @STRIPW_2843

:STRIPW_2808
Task.PlayAnim(0@, "STR_C3", "STRIP", 1000.0, False, False, False, True, -1)

:STRIPW_2843
goto @STRIPW_3266

:STRIPW_2850
if 
  Char.IsPlayingAnim(0@, "STR_C2")
goto_if_false @STRIPW_3016
Object.Delete($9482)
6@, 7@, 8@ = Char.GetOffsetInWorldCoords(0@, 0.3, 0.5, -0.5)
World.ClearArea(6@, 7@, 8@, 0.3, False)
9@ = Char.GetAnimCurrentTime(0@, "STR_C2")
if 
  9@ >= 1.0
goto_if_false @STRIPW_3009
Task.PlayAnim(0@, "STR_LOOP_C", "STRIP", 1000.0, False, False, False, True, -1)
4@ = 5

:STRIPW_3009
goto @STRIPW_3051

:STRIPW_3016
Task.PlayAnim(0@, "STR_C2", "STRIP", 1000.0, False, False, False, True, -1)

:STRIPW_3051
goto @STRIPW_3266

:STRIPW_3058
if 
  Char.IsPlayingAnim(0@, "STR_C1")
goto_if_false @STRIPW_3224
Object.Delete($9482)
6@, 7@, 8@ = Char.GetOffsetInWorldCoords(0@, 0.3, 0.5, -0.5)
World.ClearArea(6@, 7@, 8@, 0.3, False)
9@ = Char.GetAnimCurrentTime(0@, "STR_C1")
if 
  9@ >= 1.0
goto_if_false @STRIPW_3217
Task.PlayAnim(0@, "STR_LOOP_C", "STRIP", 1000.0, False, False, False, True, -1)
4@ = 5

:STRIPW_3217
goto @STRIPW_3259

:STRIPW_3224
Task.PlayAnim(0@, "STR_C1", "STRIP", 1000.0, False, False, False, True, -1)

:STRIPW_3259
goto @STRIPW_3266

:STRIPW_3266
return 

:STRIPW_3268
if and
  Char.IsStopped($stattreadstamina_ctr)
  Player.IsScoreGreater($statbike_temp, 19)
goto_if_false @STRIPW_3463
if 
  not Object.DoesExist($9482)
goto_if_false @STRIPW_3456
if and
  Char.LocateOnFootChar3D($stattreadstamina_ctr, 0@, 10@, 10@, 1.0, False)
  $pl_plane == 0
goto_if_false @STRIPW_3424
if 
  11@ == 0
goto_if_false @STRIPW_3378
$iPlayerMoney += 1
11@ = 1

:STRIPW_3378
if and
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
  $pl_plane == 0
goto_if_false @STRIPW_3417
set_var_int_to_lvar_int $9481 = 0@
$pl_plane = 1

:STRIPW_3417
goto @STRIPW_3456

:STRIPW_3424
if 
  11@ == 1
goto_if_false @STRIPW_3456
$iPlayerMoney -= 1
11@ = 0

:STRIPW_3456
goto @STRIPW_3495

:STRIPW_3463
if 
  11@ == 1
goto_if_false @STRIPW_3495
$iPlayerMoney -= 1
11@ = 0

:STRIPW_3495
return 

:STRIPW_3497
Streaming.RemoveAnimation("STRIP")
Object.Delete($9482)
terminate_this_script 
return 

:STRIPW_3515
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @STRIPW_3585
5@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @STRIPW_3578
Task.Duck(0@, -2)

:STRIPW_3578
goto @STRIPW_3592

:STRIPW_3585
gosub @STRIPW_3497

:STRIPW_3592
goto @STRIPW_3515
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 54 (STRIPM)---------------

:STRIPM
script_name 'STRIPM'
2@ = 0
if 
  2@ == 1
goto_if_false @STRIPM_60
0@ = Char.Create(PedType.CivMale, 0, 0.0, 0.0, 0.0)

:STRIPM_60
Streaming.RequestAnimation("STRIP")

:STRIPM_69
if 
  not Streaming.HasAnimationLoaded("STRIP")
goto_if_false @STRIPM_100
wait 0
goto @STRIPM_69

:STRIPM_100
3@ = 1
4@ = 0

:STRIPM_114
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @STRIPM_298
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @STRIPM_284
if 
  $iStripperPed == 0
goto_if_false @STRIPM_262
7@, 8@, 9@ = Char.GetCoordinates(0@)
10@ = World.GetUserOfClosestMapAttractor(7@, 8@, 9@, 15.0, 0, "STRIPW")
if 
  not Char.IsDead(10@)
goto_if_false @STRIPM_248
gosub @STRIPM_312
goto @STRIPM_255

:STRIPM_248
gosub @STRIPM_1075

:STRIPM_255
goto @STRIPM_277

:STRIPM_262
Char.SetDecisionMaker(0@, $iCheckForWeapons)
goto @STRIPM_1088

:STRIPM_277
goto @STRIPM_291

:STRIPM_284
gosub @STRIPM_1075

:STRIPM_291
goto @STRIPM_305

:STRIPM_298
gosub @STRIPM_1075

:STRIPM_305
goto @STRIPM_114

:STRIPM_312
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @STRIPM_389 {caseNum1} 1 {caseLabel1} @STRIPM_375 {caseNum2} -1 {caseLabel2} @STRIPM_389 {caseNum3} -1 {caseLabel3} @STRIPM_389 {caseNum4} -1 {caseLabel4} @STRIPM_389 {caseNum5} -1 {caseLabel5} @STRIPM_389 {caseNum6} -1 {caseLabel6} @STRIPM_389 {caseNum7} -1 {caseLabel7} @STRIPM_389

:STRIPM_375
gosub @STRIPM_391
goto @STRIPM_389

:STRIPM_389
return 

:STRIPM_391
switch_start 4@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @STRIPM_1073 {caseNum1} 0 {caseLabel1} @STRIPM_454 {caseNum2} 1 {caseLabel2} @STRIPM_597 {caseNum3} 2 {caseLabel3} @STRIPM_679 {caseNum4} 3 {caseLabel4} @STRIPM_771 {caseNum5} 4 {caseLabel5} @STRIPM_1030 {caseNum6} -1 {caseLabel6} @STRIPM_1073 {caseNum7} -1 {caseLabel7} @STRIPM_1073

:STRIPM_454
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @STRIPM_590
set_lvar_int_to_lvar_int 2@ = 0@
if 
  2@ > 10000
goto_if_false @STRIPM_518
2@ /= 10000

:STRIPM_518
if 
  1000 > 2@
goto_if_false @STRIPM_545
2@ += 2000

:STRIPM_545
Task.PlayAnim(0@, "PUN_LOOP", "STRIP", 4.0, True, False, False, True, 2@)
4@ += 1

:STRIPM_590
goto @STRIPM_1073

:STRIPM_597
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @STRIPM_672
Task.PlayAnim(0@, "PUN_HOLLER", "STRIP", 4.0, False, False, False, False, -1)
4@ += 1

:STRIPM_672
goto @STRIPM_1073

:STRIPM_679
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @STRIPM_764
2@ = Math.RandomIntInRange(2000, 5000)
Task.PlayAnim(0@, "PUN_LOOP", "STRIP", 4.0, True, False, False, True, 2@)
4@ += 1

:STRIPM_764
goto @STRIPM_1073

:STRIPM_771
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @STRIPM_1023
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ >= 50
goto_if_false @STRIPM_977
Task.PlayAnim(0@, "PUN_CASH", "STRIP", 4.0, False, False, False, False, -1)
7@, 8@, 9@ = Char.GetCoordinates(0@)
10@ = World.GetUserOfClosestMapAttractor(7@, 8@, 9@, 15.0, 0, "STRIPW")
if 
  not Char.IsDead(10@)
goto_if_false @STRIPM_970
7@, 8@, 9@ = Char.GetOffsetInWorldCoords(10@, 0.3, 0.5, -0.5)
11@ = Pickup.CreateMoney(7@, 8@, 9@, 100, False)

:STRIPM_970
goto @STRIPM_1016

:STRIPM_977
Task.PlayAnim(0@, "PUN_HOLLER", "STRIP", 4.0, False, False, False, False, -1)

:STRIPM_1016
4@ += 1

:STRIPM_1023
goto @STRIPM_1073

:STRIPM_1030
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @STRIPM_1066
4@ = 0

:STRIPM_1066
goto @STRIPM_1073

:STRIPM_1073
return 

:STRIPM_1075
Streaming.RemoveAnimation("STRIP")
terminate_this_script 
return 

:STRIPM_1088
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @STRIPM_1158
5@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @STRIPM_1151
Task.Duck(0@, -2)

:STRIPM_1151
goto @STRIPM_1165

:STRIPM_1158
gosub @STRIPM_1075

:STRIPM_1165
goto @STRIPM_1088
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 55 (BROWSE)---------------

:BROWSE
script_name 'BROWSE'
2@ = 0
if 
  2@ == 1
goto_if_false @BROWSE_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:BROWSE_60
Streaming.RequestAnimation("COP_AMBIENT")

:BROWSE_75
if 
  not Streaming.HasAnimationLoaded("COP_AMBIENT")
goto_if_false @BROWSE_112
wait 0
goto @BROWSE_75

:BROWSE_112
3@ = 1
4@ = 0

:BROWSE_126
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @BROWSE_235
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @BROWSE_221
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @BROWSE_207
goto @BROWSE_1166
goto @BROWSE_214

:BROWSE_207
gosub @BROWSE_249

:BROWSE_214
goto @BROWSE_228

:BROWSE_221
gosub @BROWSE_1147

:BROWSE_228
goto @BROWSE_242

:BROWSE_235
gosub @BROWSE_1147

:BROWSE_242
goto @BROWSE_126

:BROWSE_249
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @BROWSE_326 {caseNum1} 1 {caseLabel1} @BROWSE_312 {caseNum2} -1 {caseLabel2} @BROWSE_326 {caseNum3} -1 {caseLabel3} @BROWSE_326 {caseNum4} -1 {caseLabel4} @BROWSE_326 {caseNum5} -1 {caseLabel5} @BROWSE_326 {caseNum6} -1 {caseLabel6} @BROWSE_326 {caseNum7} -1 {caseLabel7} @BROWSE_326

:BROWSE_312
gosub @BROWSE_328
goto @BROWSE_326

:BROWSE_326
return 

:BROWSE_328
switch_start 4@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @BROWSE_1145 {caseNum1} 0 {caseLabel1} @BROWSE_391 {caseNum2} 1 {caseLabel2} @BROWSE_452 {caseNum3} 2 {caseLabel3} @BROWSE_556 {caseNum4} 3 {caseLabel4} @BROWSE_732 {caseNum5} 4 {caseLabel5} @BROWSE_836 {caseNum6} 5 {caseLabel6} @BROWSE_1011 {caseNum7} 6 {caseLabel7} @BROWSE_1102

:BROWSE_391
Task.PlayAnim(0@, "COPBROWSE_IN", "COP_AMBIENT", 4.0, False, False, False, False, -1)
4@ += 1
goto @BROWSE_1145

:BROWSE_452
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @BROWSE_549
2@ = Math.RandomIntInRange(4000, 8000)
Task.PlayAnim(0@, "COPBROWSE_LOOP", "COP_AMBIENT", 4.0, True, False, False, True, 2@)
4@ += 1

:BROWSE_549
goto @BROWSE_1145

:BROWSE_556
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @BROWSE_725
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @BROWSE_667
Task.PlayAnim(0@, "COPBROWSE_NOD", "COP_AMBIENT", 4.0, False, False, False, False, -1)
goto @BROWSE_718

:BROWSE_667
Task.PlayAnim(0@, "COPBROWSE_SHAKE", "COP_AMBIENT", 4.0, True, False, False, False, 1000)

:BROWSE_718
4@ += 1

:BROWSE_725
goto @BROWSE_1145

:BROWSE_732
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @BROWSE_829
2@ = Math.RandomIntInRange(4000, 8000)
Task.PlayAnim(0@, "COPBROWSE_LOOP", "COP_AMBIENT", 4.0, True, False, False, True, 2@)
4@ += 1

:BROWSE_829
goto @BROWSE_1145

:BROWSE_836
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @BROWSE_1004
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @BROWSE_947
Task.PlayAnim(0@, "COPBROWSE_NOD", "COP_AMBIENT", 4.0, False, False, False, False, -1)
goto @BROWSE_997

:BROWSE_947
Task.PlayAnim(0@, "COPBROWSE_SHAKE", "COP_AMBIENT", 4.0, False, False, False, False, -1)

:BROWSE_997
4@ += 1

:BROWSE_1004
goto @BROWSE_1145

:BROWSE_1011
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @BROWSE_1095
Task.PlayAnim(0@, "COPBROWSE_OUT", "COP_AMBIENT", 4.0, False, False, False, False, -1)
4@ += 1

:BROWSE_1095
goto @BROWSE_1145

:BROWSE_1102
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @BROWSE_1138
gosub @BROWSE_1147

:BROWSE_1138
goto @BROWSE_1145

:BROWSE_1145
return 

:BROWSE_1147
Streaming.RemoveAnimation("COP_AMBIENT")
terminate_this_script 
return 

:BROWSE_1166
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @BROWSE_1237
5@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @BROWSE_1230
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)

:BROWSE_1230
goto @BROWSE_1244

:BROWSE_1237
gosub @BROWSE_1147

:BROWSE_1244
goto @BROWSE_1166
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 56 (COPSIT)---------------

:COPSIT
script_name 'COPSIT'
2@ = 0
if 
  2@ == 1
goto_if_false @COPSIT_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:COPSIT_60
Streaming.RequestAnimation("INT_OFFICE")

:COPSIT_74
if 
  not Streaming.HasAnimationLoaded("INT_OFFICE")
goto_if_false @COPSIT_110
wait 0
goto @COPSIT_74

:COPSIT_110
9@ = 0.0
3@ = 0
if 
  1@ == 0
goto_if_false @COPSIT_166
5@ = 0
4@ = 1
goto @COPSIT_180

:COPSIT_166
5@ = -2
4@ = 2

:COPSIT_180
7@ = 0
if 
  not Char.IsDead(0@)
goto_if_false @COPSIT_236
Char.SetSuffersCriticalHits(0@, False)
$d_temp_float = DecisionMakerChar.CopyShared(65537)
Char.SetDecisionMaker(0@, $d_temp_float)
6@ = 15000

:COPSIT_236
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @COPSIT_345
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @COPSIT_331
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @COPSIT_317
goto @COPSIT_2292
goto @COPSIT_324

:COPSIT_317
gosub @COPSIT_359

:COPSIT_324
goto @COPSIT_338

:COPSIT_331
gosub @COPSIT_2239

:COPSIT_338
goto @COPSIT_352

:COPSIT_345
gosub @COPSIT_2239

:COPSIT_352
goto @COPSIT_236

:COPSIT_359
switch_start 4@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @COPSIT_492 {caseNum1} 1 {caseLabel1} @COPSIT_422 {caseNum2} 2 {caseLabel2} @COPSIT_436 {caseNum3} 3 {caseLabel3} @COPSIT_450 {caseNum4} 4 {caseLabel4} @COPSIT_464 {caseNum5} 5 {caseLabel5} @COPSIT_478 {caseNum6} -1 {caseLabel6} @COPSIT_492 {caseNum7} -1 {caseLabel7} @COPSIT_492

:COPSIT_422
gosub @COPSIT_494
goto @COPSIT_492

:COPSIT_436
gosub @COPSIT_724
goto @COPSIT_492

:COPSIT_450
gosub @COPSIT_1843
goto @COPSIT_492

:COPSIT_464
gosub @COPSIT_2239
goto @COPSIT_492

:COPSIT_478
gosub @COPSIT_2146
goto @COPSIT_492

:COPSIT_492
return 

:COPSIT_494
switch_start 5@ {numCases} 2 {hasDefaultCase} 0 {defaultLabel} @COPSIT_722 {caseNum1} 0 {caseLabel1} @COPSIT_557 {caseNum2} 1 {caseLabel2} @COPSIT_622 {caseNum3} -1 {caseLabel3} @COPSIT_722 {caseNum4} -1 {caseLabel4} @COPSIT_722 {caseNum5} -1 {caseLabel5} @COPSIT_722 {caseNum6} -1 {caseLabel6} @COPSIT_722 {caseNum7} -1 {caseLabel7} @COPSIT_722

:COPSIT_557
Task.PlayAnimNonInterruptable(0@, "OFF_SIT_IN", "INT_OFFICE", 4.0, False, False, False, True, -1)
3@ = 1
5@ += 1
goto @COPSIT_722

:COPSIT_622
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "OFF_SIT_IN")
goto_if_false @COPSIT_680
9@ = Char.GetAnimCurrentTime(0@, "OFF_SIT_IN")

:COPSIT_680
if 
  9@ == 1.0
goto_if_false @COPSIT_715
5@ = 0
4@ += 1

:COPSIT_715
goto @COPSIT_722

:COPSIT_722
return 

:COPSIT_724
switch_start 5@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @COPSIT_1841 {caseNum1} -2 {caseLabel1} @COPSIT_787 {caseNum2} 0 {caseLabel2} @COPSIT_1023 {caseNum3} 1 {caseLabel3} @COPSIT_1259 {caseNum4} 2 {caseLabel4} @COPSIT_1520 {caseNum5} 3 {caseLabel5} @COPSIT_1598 {caseNum6} -1 {caseLabel6} @COPSIT_1841 {caseNum7} -1 {caseLabel7} @COPSIT_1841

:COPSIT_787
8@ = Math.RandomIntInRange(0, 100)
if 
  8@ > 66
goto_if_false @COPSIT_955
if 
  8@ > 33
goto_if_false @COPSIT_893
Task.PlayAnimNonInterruptable(0@, "OFF_SIT_TYPE_LOOP", "INT_OFFICE", 1000.0, True, False, False, False, 50000000)
goto @COPSIT_948

:COPSIT_893
Task.PlayAnimNonInterruptable(0@, "OFF_SIT_BORED_LOOP", "INT_OFFICE", 1000.0, True, False, False, False, 50000000)

:COPSIT_948
goto @COPSIT_1009

:COPSIT_955
Task.PlayAnimNonInterruptable(0@, "OFF_SIT_IDLE_LOOP", "INT_OFFICE", 1000.0, True, False, False, False, 50000000)

:COPSIT_1009
5@ = 1
goto @COPSIT_1841

:COPSIT_1023
8@ = Math.RandomIntInRange(0, 100)
if 
  8@ > 66
goto_if_false @COPSIT_1191
if 
  8@ > 33
goto_if_false @COPSIT_1129
Task.PlayAnimNonInterruptable(0@, "OFF_SIT_TYPE_LOOP", "INT_OFFICE", 1000.0, True, False, False, False, 50000000)
goto @COPSIT_1184

:COPSIT_1129
Task.PlayAnimNonInterruptable(0@, "OFF_SIT_BORED_LOOP", "INT_OFFICE", 1000.0, True, False, False, False, 50000000)

:COPSIT_1184
goto @COPSIT_1245

:COPSIT_1191
Task.PlayAnimNonInterruptable(0@, "OFF_SIT_IDLE_LOOP", "INT_OFFICE", 1000.0, True, False, False, False, 50000000)

:COPSIT_1245
5@ += 1
goto @COPSIT_1841

:COPSIT_1259
13@, 14@, 15@ = Char.GetCoordinates(0@)
15@ -= 1.04
16@, 17@, 18@ = Char.GetOffsetInWorldCoords(0@, 0.5, -0.5, 0.0)
19@, 20@, 21@ = Char.GetOffsetInWorldCoords(0@, -0.5, -1.0, 0.0)
10@, 11@, 12@ = Char.GetOffsetInWorldCoords(0@, 0.0, 1.0, -1.0)
World.SetCharUsesCollisionClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_PIZZA_CHAIR, False, 0@)
if or
  Char.IsPlayingAnim(0@, "OFF_SIT_TYPE_LOOP")
  Char.IsPlayingAnim(0@, "OFF_SIT_BORED_LOOP")
  Char.IsPlayingAnim(0@, "OFF_SIT_IDLE_LOOP")
goto_if_false @COPSIT_1513
Char.SetCoordinates(0@, 10@, 11@, 12@)
Char.FreezePosition(0@, True)
TIMERB = 0
5@ += 1

:COPSIT_1513
goto @COPSIT_1841

:COPSIT_1520
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @COPSIT_1565
Char.ClearLastDamageEntity(0@)
4@ = 5
5@ = 0
goto @COPSIT_1841

:COPSIT_1565
if 
  is_int_lvar_greater_than_int_lvar TIMERB > 6@
goto_if_false @COPSIT_1591
5@ += 1

:COPSIT_1591
goto @COPSIT_1841

:COPSIT_1598
8@ = Math.RandomIntInRange(0, 100)
if 
  8@ > 66
goto_if_false @COPSIT_1766
if 
  8@ > 33
goto_if_false @COPSIT_1704
Task.PlayAnimNonInterruptable(0@, "OFF_SIT_TYPE_LOOP", "INT_OFFICE", 1000.0, True, False, False, False, 50000000)
goto @COPSIT_1759

:COPSIT_1704
Task.PlayAnimNonInterruptable(0@, "OFF_SIT_BORED_LOOP", "INT_OFFICE", 1000.0, True, False, False, False, 50000000)

:COPSIT_1759
goto @COPSIT_1820

:COPSIT_1766
Task.PlayAnimNonInterruptable(0@, "OFF_SIT_IDLE_LOOP", "INT_OFFICE", 1000.0, True, False, False, False, 50000000)

:COPSIT_1820
TIMERB = 0
5@ -= 1
goto @COPSIT_1841

:COPSIT_1841
return 

:COPSIT_1843
switch_start 5@ {numCases} 3 {hasDefaultCase} 0 {defaultLabel} @COPSIT_2144 {caseNum1} 0 {caseLabel1} @COPSIT_1906 {caseNum2} 1 {caseLabel2} @COPSIT_1971 {caseNum3} 2 {caseLabel3} @COPSIT_2006 {caseNum4} -1 {caseLabel4} @COPSIT_2144 {caseNum5} -1 {caseLabel5} @COPSIT_2144 {caseNum6} -1 {caseLabel6} @COPSIT_2144 {caseNum7} -1 {caseLabel7} @COPSIT_2144

:COPSIT_1906
Task.PlayAnimNonInterruptable(0@, "OFF_SIT_2IDLE_180", "INT_OFFICE", 99.0, False, False, False, False, -1)
5@ += 1
goto @COPSIT_2144

:COPSIT_1971
Char.SetCoordinates(0@, 13@, 14@, 15@)
Char.FreezePosition(0@, False)
5@ += 1
goto @COPSIT_2144

:COPSIT_2006
9@ = 0.0
if 
  Char.IsPlayingAnim(0@, "OFF_SIT_2IDLE_180")
goto_if_false @COPSIT_2137
9@ = Char.GetAnimCurrentTime(0@, "OFF_SIT_2IDLE_180")
if 
  9@ == 1.0
goto_if_false @COPSIT_2137
World.SetCharUsesCollisionClosestObjectOfType(13@, 14@, 15@, 1.5, #CJ_PIZZA_CHAIR, True, 0@)
5@ = 0
4@ += 1

:COPSIT_2137
goto @COPSIT_2144

:COPSIT_2144
return 

:COPSIT_2146
switch_start 5@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @COPSIT_2237 {caseNum1} 0 {caseLabel1} @COPSIT_2209 {caseNum2} -1 {caseLabel2} @COPSIT_2237 {caseNum3} -1 {caseLabel3} @COPSIT_2237 {caseNum4} -1 {caseLabel4} @COPSIT_2237 {caseNum5} -1 {caseLabel5} @COPSIT_2237 {caseNum6} -1 {caseLabel6} @COPSIT_2237 {caseNum7} -1 {caseLabel7} @COPSIT_2237

:COPSIT_2209
4@ = 3
5@ = 0
gosub @COPSIT_2292
goto @COPSIT_2237

:COPSIT_2237
return 

:COPSIT_2239
Streaming.RemoveAnimation("INT_OFFICE")
DecisionMaker.Remove($d_temp_float)
if 
  not Char.IsDead(0@)
goto_if_false @COPSIT_2288
Char.FreezePosition(0@, False)
Char.SetSuffersCriticalHits(0@, True)

:COPSIT_2288
terminate_this_script 
return 

:COPSIT_2292
wait 0
if and
  not is_var_text_label_empty s$territory_pickup
  $1253 == 0
goto_if_false @COPSIT_2635
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
goto_if_false @COPSIT_2628
switch_start 4@ {numCases} 5 {hasDefaultCase} 1 {defaultLabel} @COPSIT_2614 {caseNum1} 1 {caseLabel1} @COPSIT_2403 {caseNum2} 2 {caseLabel2} @COPSIT_2486 {caseNum3} 3 {caseLabel3} @COPSIT_2535 {caseNum4} 4 {caseLabel4} @COPSIT_2549 {caseNum5} 5 {caseLabel5} @COPSIT_2600 {caseNum6} -1 {caseLabel6} @COPSIT_2628 {caseNum7} -1 {caseLabel7} @COPSIT_2628

:COPSIT_2403
if 
  5@ > 1
goto_if_false @COPSIT_2435
gosub @COPSIT_359
goto @COPSIT_2479

:COPSIT_2435
7@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 7@ == 7
goto_if_false @COPSIT_2479
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)
gosub @COPSIT_2239

:COPSIT_2479
goto @COPSIT_2628

:COPSIT_2486
if 
  5@ == 2
goto_if_false @COPSIT_2521
6@ = Math.RandomIntInRange(0, 5)
6@ *= 500

:COPSIT_2521
gosub @COPSIT_359
goto @COPSIT_2628

:COPSIT_2535
gosub @COPSIT_359
goto @COPSIT_2628

:COPSIT_2549
7@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 7@ == 7
goto_if_false @COPSIT_2593
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)
gosub @COPSIT_2239

:COPSIT_2593
goto @COPSIT_2628

:COPSIT_2600
gosub @COPSIT_359
goto @COPSIT_2628

:COPSIT_2614
gosub @COPSIT_2239
goto @COPSIT_2628

:COPSIT_2628
goto @COPSIT_2642

:COPSIT_2635
gosub @COPSIT_2239

:COPSIT_2642
goto @COPSIT_2292
write_debug_with_int "PEDSTATE" {_p2} 4@
write_debug_with_int "SUBSTATESTATUS" {_p2} 5@
write_debug_with_int "TIMERB" {_p2} TIMERB
write_debug_with_int "TIMERA" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 57 (COPLOOK)---------------

:COPLOOK
script_name 'COPLOOK'
2@ = 0
if 
  2@ == 1
goto_if_false @COPLOOK_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:COPLOOK_60
Streaming.RequestAnimation("COP_AMBIENT")

:COPLOOK_75
if 
  not Streaming.HasAnimationLoaded("COP_AMBIENT")
goto_if_false @COPLOOK_112
wait 0
goto @COPLOOK_75

:COPLOOK_112
3@ = 1
4@ = 0

:COPLOOK_126
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @COPLOOK_235
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @COPLOOK_221
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @COPLOOK_207
goto @COPLOOK_1319
goto @COPLOOK_214

:COPLOOK_207
gosub @COPLOOK_249

:COPLOOK_214
goto @COPLOOK_228

:COPLOOK_221
gosub @COPLOOK_1300

:COPLOOK_228
goto @COPLOOK_242

:COPLOOK_235
gosub @COPLOOK_1300

:COPLOOK_242
goto @COPLOOK_126

:COPLOOK_249
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @COPLOOK_326 {caseNum1} 1 {caseLabel1} @COPLOOK_312 {caseNum2} -1 {caseLabel2} @COPLOOK_326 {caseNum3} -1 {caseLabel3} @COPLOOK_326 {caseNum4} -1 {caseLabel4} @COPLOOK_326 {caseNum5} -1 {caseLabel5} @COPLOOK_326 {caseNum6} -1 {caseLabel6} @COPLOOK_326 {caseNum7} -1 {caseLabel7} @COPLOOK_326

:COPLOOK_312
gosub @COPLOOK_328
goto @COPLOOK_326

:COPLOOK_326
return 

:COPLOOK_328
switch_start 4@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @COPLOOK_1298 {caseNum1} 0 {caseLabel1} @COPLOOK_456 {caseNum2} 1 {caseLabel2} @COPLOOK_515 {caseNum3} 2 {caseLabel3} @COPLOOK_617 {caseNum4} 3 {caseLabel4} @COPLOOK_789 {caseNum5} 4 {caseLabel5} @COPLOOK_891 {caseNum6} 5 {caseLabel6} @COPLOOK_1064 {caseNum7} 6 {caseLabel7} @COPLOOK_1166
switch_continued 7 {caseLabel1} @COPLOOK_1255 {caseNum2} -1 {caseLabel2} @COPLOOK_1298 {caseNum3} -1 {caseLabel3} @COPLOOK_1298 {caseNum4} -1 {caseLabel4} @COPLOOK_1298 {caseNum5} -1 {caseLabel5} @COPLOOK_1298 {caseNum6} -1 {caseLabel6} @COPLOOK_1298 {caseNum7} -1 {caseLabel7} @COPLOOK_1298 {caseNum8} -1 {caseLabel8} @COPLOOK_1298 {caseNum9} -1 {caseLabel9} @COPLOOK_1298

:COPLOOK_456
Task.PlayAnim(0@, "COPLOOK_IN", "COP_AMBIENT", 4.0, False, False, False, False, -1)
4@ += 1
goto @COPLOOK_1298

:COPLOOK_515
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COPLOOK_610
2@ = Math.RandomIntInRange(4000, 8000)
Task.PlayAnim(0@, "COPLOOK_LOOP", "COP_AMBIENT", 4.0, True, False, False, True, 2@)
4@ += 1

:COPLOOK_610
goto @COPLOOK_1298

:COPLOOK_617
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COPLOOK_782
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @COPLOOK_726
Task.PlayAnim(0@, "COPLOOK_NOD", "COP_AMBIENT", 4.0, False, False, False, False, -1)
goto @COPLOOK_775

:COPLOOK_726
Task.PlayAnim(0@, "COPLOOK_SHAKE", "COP_AMBIENT", 4.0, True, False, False, False, 1000)

:COPLOOK_775
4@ += 1

:COPLOOK_782
goto @COPLOOK_1298

:COPLOOK_789
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COPLOOK_884
2@ = Math.RandomIntInRange(4000, 8000)
Task.PlayAnim(0@, "COPLOOK_LOOP", "COP_AMBIENT", 4.0, True, False, False, True, 2@)
4@ += 1

:COPLOOK_884
goto @COPLOOK_1298

:COPLOOK_891
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COPLOOK_1057
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @COPLOOK_1002
Task.PlayAnim(0@, "COPLOOK_THINK", "COP_AMBIENT", 4.0, False, False, False, False, -1)
goto @COPLOOK_1050

:COPLOOK_1002
Task.PlayAnim(0@, "COPLOOK_WATCH", "COP_AMBIENT", 4.0, False, False, False, False, -1)

:COPLOOK_1050
4@ += 1

:COPLOOK_1057
goto @COPLOOK_1298

:COPLOOK_1064
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COPLOOK_1159
2@ = Math.RandomIntInRange(4000, 8000)
Task.PlayAnim(0@, "COPLOOK_LOOP", "COP_AMBIENT", 4.0, True, False, False, True, 2@)
4@ += 1

:COPLOOK_1159
goto @COPLOOK_1298

:COPLOOK_1166
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COPLOOK_1248
Task.PlayAnim(0@, "COPLOOK_OUT", "COP_AMBIENT", 4.0, False, False, False, False, -1)
4@ += 1

:COPLOOK_1248
goto @COPLOOK_1298

:COPLOOK_1255
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @COPLOOK_1291
gosub @COPLOOK_1300

:COPLOOK_1291
goto @COPLOOK_1298

:COPLOOK_1298
return 

:COPLOOK_1300
Streaming.RemoveAnimation("COP_AMBIENT")
terminate_this_script 
return 

:COPLOOK_1319
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @COPLOOK_1390
5@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @COPLOOK_1383
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)

:COPLOOK_1383
goto @COPLOOK_1397

:COPLOOK_1390
gosub @COPLOOK_1300

:COPLOOK_1397
goto @COPLOOK_1319
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 58 (TICKET)---------------

:TICKET
script_name 'TICKET'
2@ = 0
if 
  2@ == 1
goto_if_false @TICKET_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:TICKET_60
Streaming.RequestAnimation("CASINO")

:TICKET_70
if 
  not Streaming.HasAnimationLoaded("CASINO")
goto_if_false @TICKET_102
wait 0
goto @TICKET_70

:TICKET_102
3@ = 1
4@ = 0

:TICKET_116
wait 0
if 
  not Char.IsDead(0@)
goto_if_false @TICKET_180
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @TICKET_166
gosub @TICKET_194
goto @TICKET_173

:TICKET_166
gosub @TICKET_875

:TICKET_173
goto @TICKET_187

:TICKET_180
gosub @TICKET_875

:TICKET_187
goto @TICKET_116

:TICKET_194
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @TICKET_271 {caseNum1} 1 {caseLabel1} @TICKET_257 {caseNum2} -1 {caseLabel2} @TICKET_271 {caseNum3} -1 {caseLabel3} @TICKET_271 {caseNum4} -1 {caseLabel4} @TICKET_271 {caseNum5} -1 {caseLabel5} @TICKET_271 {caseNum6} -1 {caseLabel6} @TICKET_271 {caseNum7} -1 {caseLabel7} @TICKET_271

:TICKET_257
gosub @TICKET_273
goto @TICKET_271

:TICKET_271
return 

:TICKET_273
switch_start 4@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @TICKET_873 {caseNum1} 0 {caseLabel1} @TICKET_336 {caseNum2} 1 {caseLabel2} @TICKET_387 {caseNum3} 2 {caseLabel3} @TICKET_472 {caseNum4} 3 {caseLabel4} @TICKET_566 {caseNum5} 4 {caseLabel5} @TICKET_650 {caseNum6} 5 {caseLabel6} @TICKET_736 {caseNum7} 6 {caseLabel7} @TICKET_830

:TICKET_336
Task.PlayAnim(0@, "SLOT_IN", "CASINO", 4.0, False, False, False, False, -1)
4@ += 1
goto @TICKET_873

:TICKET_387
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @TICKET_465
Task.PlayAnim(0@, "SLOT_BET_01", "CASINO", 4.0, False, False, False, False, 2@)
4@ += 1

:TICKET_465
goto @TICKET_873

:TICKET_472
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @TICKET_559
2@ = Math.RandomIntInRange(5000, 10000)
Task.PlayAnim(0@, "SLOT_WAIT", "CASINO", 4.0, True, False, False, True, 2@)
4@ += 1

:TICKET_559
goto @TICKET_873

:TICKET_566
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @TICKET_643
Task.PlayAnim(0@, "SLOT_BET_02", "CASINO", 4.0, False, False, False, False, -1)
4@ += 1

:TICKET_643
goto @TICKET_873

:TICKET_650
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @TICKET_729
Task.PlayAnim(0@, "SLOT_LOSE_OUT", "CASINO", 4.0, False, False, False, False, -1)
4@ += 1

:TICKET_729
goto @TICKET_873

:TICKET_736
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @TICKET_823
2@ = Math.RandomIntInRange(4000, 8000)
Task.PlayAnim(0@, "SLOT_WAIT", "CASINO", 4.0, True, False, False, True, 2@)
4@ += 1

:TICKET_823
goto @TICKET_873

:TICKET_830
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @TICKET_866
gosub @TICKET_875

:TICKET_866
goto @TICKET_873

:TICKET_873
return 

:TICKET_875
Streaming.RemoveAnimation("CASINO")
terminate_this_script 
return 
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 59 (SHOPPER)---------------

:SHOPPER
script_name 'SHOPPER'
2@ = 0
if 
  2@ == 1
goto_if_false @SHOPPER_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:SHOPPER_60
Streaming.RequestAnimation("INT_SHOP")

:SHOPPER_72
if 
  not Streaming.HasAnimationLoaded("INT_SHOP")
goto_if_false @SHOPPER_106
wait 0
goto @SHOPPER_72

:SHOPPER_106
3@ = 1
4@ = 0

:SHOPPER_120
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @SHOPPER_289
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @SHOPPER_275
if or
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
  Char.IsShooting($stattreadstamina_ctr)
goto_if_false @SHOPPER_221
$SLOT_play_status = 1
Char.SetDecisionMaker(0@, $iCheckForWeapons)
goto @SHOPPER_1073
goto @SHOPPER_268

:SHOPPER_221
if 
  $SLOT_play_status == 1
goto_if_false @SHOPPER_261
Char.SetDecisionMaker(0@, $iCheckForWeapons)
goto @SHOPPER_1073
goto @SHOPPER_268

:SHOPPER_261
gosub @SHOPPER_303

:SHOPPER_268
goto @SHOPPER_282

:SHOPPER_275
gosub @SHOPPER_1057

:SHOPPER_282
goto @SHOPPER_296

:SHOPPER_289
gosub @SHOPPER_1057

:SHOPPER_296
goto @SHOPPER_120

:SHOPPER_303
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @SHOPPER_380 {caseNum1} 1 {caseLabel1} @SHOPPER_366 {caseNum2} -1 {caseLabel2} @SHOPPER_380 {caseNum3} -1 {caseLabel3} @SHOPPER_380 {caseNum4} -1 {caseLabel4} @SHOPPER_380 {caseNum5} -1 {caseLabel5} @SHOPPER_380 {caseNum6} -1 {caseLabel6} @SHOPPER_380 {caseNum7} -1 {caseLabel7} @SHOPPER_380

:SHOPPER_366
gosub @SHOPPER_382
goto @SHOPPER_380

:SHOPPER_380
return 

:SHOPPER_382
switch_start 4@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @SHOPPER_1055 {caseNum1} 0 {caseLabel1} @SHOPPER_445 {caseNum2} 1 {caseLabel2} @SHOPPER_527 {caseNum3} 2 {caseLabel3} @SHOPPER_674 {caseNum4} 3 {caseLabel4} @SHOPPER_835 {caseNum5} 4 {caseLabel5} @SHOPPER_1012 {caseNum6} -1 {caseLabel6} @SHOPPER_1055 {caseNum7} -1 {caseLabel7} @SHOPPER_1055

:SHOPPER_445
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @SHOPPER_520
Task.PlayAnim(0@, "SHOP_IN", "INT_SHOP", 4.0, False, False, False, False, -1)
4@ += 1

:SHOPPER_520
goto @SHOPPER_1055

:SHOPPER_527
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @SHOPPER_667
set_lvar_int_to_lvar_int 2@ = 0@
if 
  2@ > 10000
goto_if_false @SHOPPER_591
2@ /= 10000

:SHOPPER_591
if 
  1000 > 2@
goto_if_false @SHOPPER_618
2@ += 2000

:SHOPPER_618
Task.PlayAnim(0@, "SHOP_LOOP", "INT_SHOP", 4.0, True, False, False, True, 2@)
4@ += 1

:SHOPPER_667
goto @SHOPPER_1055

:SHOPPER_674
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @SHOPPER_828
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @SHOPPER_779
Task.PlayAnim(0@, "SHOP_LOOKA", "INT_SHOP", 4.0, False, False, False, False, -1)
goto @SHOPPER_821

:SHOPPER_779
Task.PlayAnim(0@, "SHOP_LOOKB", "INT_SHOP", 4.0, False, False, False, False, -1)

:SHOPPER_821
4@ += 1

:SHOPPER_828
goto @SHOPPER_1055

:SHOPPER_835
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @SHOPPER_1005
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @SHOPPER_945
Task.PlayAnim(0@, "SHOP_OUT", "INT_SHOP", 4.0, False, False, False, False, -1)
4@ += 1
goto @SHOPPER_1005

:SHOPPER_945
2@ = Math.RandomIntInRange(3000, 6000)
Task.PlayAnim(0@, "SHOP_LOOP", "INT_SHOP", 4.0, True, False, False, True, 2@)
4@ = 1

:SHOPPER_1005
goto @SHOPPER_1055

:SHOPPER_1012
2@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 2@ == 7
goto_if_false @SHOPPER_1048
gosub @SHOPPER_1057

:SHOPPER_1048
goto @SHOPPER_1055

:SHOPPER_1055
return 

:SHOPPER_1057
Streaming.RemoveAnimation("INT_SHOP")
terminate_this_script 
return 

:SHOPPER_1073
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @SHOPPER_1143
5@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @SHOPPER_1136
Task.Duck(0@, -2)

:SHOPPER_1136
goto @SHOPPER_1150

:SHOPPER_1143
gosub @SHOPPER_1057

:SHOPPER_1150
goto @SHOPPER_1073
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 60 (AMMU)---------------

:AMUNAT
$return_animation_time_ammunation = 0.0
$shop_keep_heading_ammunation = 0.0
$player_heading_ammunation = 0.0
$shop_progress_ammunation = 0.0
$weapon_on_counterX_shops = 0.0
$weapon_on_counterY_shops = 0.0
$ammuY = 0.0
$ammuZ = 0.0
$SHOPS_TEXT_SCALEX = 0.0
$weapon_on_counterZ_shops = 0.0
$ammu_offX = 0.0
$ammu_offY = 0.0
$weapon_offZ = 0.0
$temp_slot = 0.0
$bought_menu_drawn_shops = 0
$SHOPS_TEXT_SCALEY = 0.0
$TEXT_COL_SELECT_R = 0.0
$TEXT_COL_SELECT_G = 0.0
$weapon_offY = 0
$weapon_offX = 0
$shop_item_ammu = 0.0
$player_weapontype = 0.0
$player_ammo = 0.0
$9568 = 0
$9569 = 0
$shop_alarm_ammu = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$ammu_camera_pointX = 0
$ammu_offZ = 0
$ammu_camera_pointY = 0
$rifle_name_menu = 0
$ammu_camera_pointZ = 0
$2519 = 0
$player_armour = 0
$player_max_armour = 0
$flag_buy_ammo_flag = 0
$weapon_count_ammu = 0
$no_of_pistols = 0
$no_of_shotguns = 0
$no_of_microSMG = 0
$no_of_SMG = 0
$no_of_assault = 0
$no_of_thrown = 0
$no_of_rifle = 0
$no_of_armour = 0
$no_of_heavy = 0
$pistol_name_menu = 0
$shotgun_name_menu = 0
$microSMG_name_menu = 0
$SMG_name_menu = 0
$assault_name_menu = 0
$armour_array = 0
$second_menu_weapon = 0
$9634 = 0
goto @AMUNAT_525
add_continuous_sound $SHOPS_TEXT_SCALEY {_p2} $TEXT_COL_SELECT_R {_p3} $TEXT_COL_SELECT_G {_p4} 65535 {_p5} $anim_name_return_ammu
$9567 = Object.Create($section_selected_ammu, 1659.635, -1576.514, 15.585)
$iCopDM = Object.Create($section_selected_ammu, $shop_item_ammu, $player_weapontype, $player_ammo)

:AMUNAT_525
set_var_int_to_constant $main_menu_shops = 179
Streaming.RequestModel($main_menu_shops)
Streaming.RequestModel(346)
Streaming.RequestModel(372)
Streaming.RequestModel(352)
Streaming.RequestModel(349)
Streaming.RequestModel(342)
Streaming.RequestModel(373)
Streaming.RequestModel(353)
Streaming.RequestModel(350)
Streaming.RequestModel(347)
Streaming.RequestModel(363)
Streaming.RequestModel(364)
Streaming.RequestModel(357)
Streaming.RequestModel(358)
Streaming.RequestModel(355)
Streaming.RequestModel(356)
Streaming.RequestModel(348)
Streaming.RequestModel(351)
Streaming.LoadAllModelsNow
set_deatharrest_state 0
script_name 'AMUNAT'

:AMUNAT_640
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @AMUNAT_7687
if 
  not is_var_text_label_empty s$territory_pickup
goto_if_false @AMUNAT_7673
if 
  $weapon_offX > 0
goto_if_false @AMUNAT_762
if 
  Game.HasLanguageChanged
goto_if_false @AMUNAT_762
Text.ClearHelp
Menu.Delete($sub_menu_shops)
Menu.Delete($2427)
Menu.Delete($price_counter)
Menu.Delete($bought_menu_shops)
$sub_menu_drawn_shops = 0
$2428 = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_hhiker_trigger = Game.GetCurrentLanguage()

:AMUNAT_762
if 
  $weapon_offX == 0
goto_if_false @AMUNAT_1286
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'AMMUN1'
goto_if_false @AMUNAT_884
$shop_progress_ammunation = 0.0
$weapon_on_counterX_shops = 0.0
$weapon_on_counterY_shops = 0.0
$flag_ammu = 180.0
$temp_slot = 0.0
$ryder = 1
set_var_text_label s$weapon_obj = s$territory_pickup
$flag_attacked_ammu_keeper = 0
$weapon_offX = 1

:AMUNAT_884
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'AMMUN2'
goto_if_false @AMUNAT_988
$shop_progress_ammunation = -0.765
$weapon_on_counterX_shops = -42.311
$weapon_on_counterY_shops = -0.013
$flag_ammu = 180.0
$temp_slot = 0.0
$ryder = 1
set_var_text_label s$weapon_obj = s$territory_pickup
$flag_attacked_ammu_keeper = 0
$weapon_offX = 1

:AMUNAT_988
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'AMMUN3'
goto_if_false @AMUNAT_1092
$shop_progress_ammunation = -6.264
$weapon_on_counterX_shops = -71.34
$weapon_on_counterY_shops = -0.002
$flag_ammu = 180.0
$temp_slot = 0.0
$ryder = 1
set_var_text_label s$weapon_obj = s$territory_pickup
$flag_attacked_ammu_keeper = 0
$weapon_offX = 1

:AMUNAT_1092
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'AMMUN4'
goto_if_false @AMUNAT_1189
$shop_progress_ammunation = 11.642
$weapon_on_counterX_shops = -102.936
$weapon_on_counterY_shops = -1.929
$flag_ammu = 180.0
$temp_slot = 0.0
$ryder = 1
set_var_text_label s$weapon_obj = s$territory_pickup
$weapon_offX = 1

:AMUNAT_1189
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'AMMUN5'
goto_if_false @AMUNAT_1286
$shop_progress_ammunation = 16.285
$weapon_on_counterX_shops = -127.781
$weapon_on_counterY_shops = -1.929
$flag_ammu = 180.0
$temp_slot = 0.0
$ryder = 1
set_var_text_label s$weapon_obj = s$territory_pickup
$weapon_offX = 1

:AMUNAT_1286
if 
  $weapon_offX == 1
goto_if_false @AMUNAT_2318
Text.UseCommands(True)
Stat.ShowUpdateStats(False)
$tray_offY = 296.506
add_float_var_to_float_var $tray_offY += $shop_progress_ammunation
$tray_offZ = -38.168
add_float_var_to_float_var $tray_offZ += $weapon_on_counterX_shops
$keep_off_dirX = 1000.547
add_float_var_to_float_var $keep_off_dirX += $weapon_on_counterY_shops
$SHOPS_TEXT_SCALEY = 296.506
add_float_var_to_float_var $SHOPS_TEXT_SCALEY += $shop_progress_ammunation
$TEXT_COL_SELECT_R = -40.35
add_float_var_to_float_var $TEXT_COL_SELECT_R += $weapon_on_counterX_shops
$TEXT_COL_SELECT_G = 1000.54
add_float_var_to_float_var $TEXT_COL_SELECT_G += $weapon_on_counterY_shops
$ammuY = 296.585
add_float_var_to_float_var $ammuY += $shop_progress_ammunation
$ammuZ = -38.345
add_float_var_to_float_var $ammuZ += $weapon_on_counterX_shops
$SHOPS_TEXT_SCALEX = 1002.236
add_float_var_to_float_var $SHOPS_TEXT_SCALEX += $weapon_on_counterY_shops
$weapon_on_counterZ_shops = 296.501
add_float_var_to_float_var $weapon_on_counterZ_shops += $shop_progress_ammunation
$ammu_offX = -39.298
add_float_var_to_float_var $ammu_offX += $weapon_on_counterX_shops
$ammu_offY = 1001.943
add_float_var_to_float_var $ammu_offY += $weapon_on_counterY_shops
$d_vec_x = Char.Create(PedType.CivMale, $main_menu_shops, $SHOPS_TEXT_SCALEY, $TEXT_COL_SELECT_R, $TEXT_COL_SELECT_G)
Char.SetHeading($d_vec_x, $temp_slot)
Char.SetOnlyDamagedByPlayer($d_vec_x, True)
Char.SetDecisionMaker($d_vec_x, 65542)
if 
  $desertX > 2
goto_if_false @AMUNAT_1638
$iBouncerDM = Shopping.GetNumberOfItems()
if 
  $ammu_shop_blip == 0
goto_if_false @AMUNAT_1631
Text.PrintHelp('NEWWEAP')
$ammu_shop_blip = 1

:AMUNAT_1631
goto @AMUNAT_2311

:AMUNAT_1638
if 
  $flag_casino_mission_counter > 7
goto_if_false @AMUNAT_1706
$iBouncerDM = 15
if 
  $flag_gang_war_active == 0
goto_if_false @AMUNAT_1699
Text.PrintHelp('NEWWEAP')
$flag_gang_war_active = 1

:AMUNAT_1699
goto @AMUNAT_2311

:AMUNAT_1706
if 
  $garageZ > 9
goto_if_false @AMUNAT_1774
$iBouncerDM = 14
if 
  $flag_on_doberman_mission == 0
goto_if_false @AMUNAT_1767
Text.PrintHelp('NEWWEAP')
$flag_on_doberman_mission = 1

:AMUNAT_1767
goto @AMUNAT_2311

:AMUNAT_1774
if 
  $garageX > 0
goto_if_false @AMUNAT_1842
$iBouncerDM = 13
if 
  $flag_bought_gun_for_doberman == 0
goto_if_false @AMUNAT_1835
Text.PrintHelp('NEWWEAP')
$flag_bought_gun_for_doberman = 1

:AMUNAT_1835
goto @AMUNAT_2311

:AMUNAT_1842
if 
  $garageZ > 7
goto_if_false @AMUNAT_1910
$iBouncerDM = 12
if 
  $flag_16weapons_open == 0
goto_if_false @AMUNAT_1903
Text.PrintHelp('NEWWEAP')
$flag_16weapons_open = 1

:AMUNAT_1903
goto @AMUNAT_2311

:AMUNAT_1910
if 
  $bcrashY > 0
goto_if_false @AMUNAT_1978
$iBouncerDM = 11
if 
  $flag_15weapons_open == 0
goto_if_false @AMUNAT_1971
Text.PrintHelp('NEWWEAP')
$flag_15weapons_open = 1

:AMUNAT_1971
goto @AMUNAT_2311

:AMUNAT_1978
if 
  $stat == 1
goto_if_false @AMUNAT_2046
$iBouncerDM = 10
if 
  $flag_14weapons_open == 0
goto_if_false @AMUNAT_2039
Text.PrintHelp('NEWWEAP')
$flag_14weapons_open = 1

:AMUNAT_2039
goto @AMUNAT_2311

:AMUNAT_2046
if 
  $introX > 4
goto_if_false @AMUNAT_2114
$iBouncerDM = 9
if 
  $flag_13weapons_open == 0
goto_if_false @AMUNAT_2107
Text.PrintHelp('NEWWEAP')
$flag_13weapons_open = 1

:AMUNAT_2107
goto @AMUNAT_2311

:AMUNAT_2114
if 
  $flag_la1fin1_mission_counter > 3
goto_if_false @AMUNAT_2182
$iBouncerDM = 8
if 
  $flag_12weapons_open == 0
goto_if_false @AMUNAT_2175
Text.PrintHelp('NEWWEAP')
$flag_12weapons_open = 1

:AMUNAT_2175
goto @AMUNAT_2311

:AMUNAT_2182
if 
  $flag_cesar_mission_counter > 2
goto_if_false @AMUNAT_2250
$iBouncerDM = 7
if 
  $flag_11weapons_open == 0
goto_if_false @AMUNAT_2243
Text.PrintHelp('NEWWEAP')
$flag_11weapons_open = 1

:AMUNAT_2243
goto @AMUNAT_2311

:AMUNAT_2250
if 
  2 > $sweetX
goto_if_false @AMUNAT_2311
$iBouncerDM = 6
if 
  $flag_10weapons_open == 0
goto_if_false @AMUNAT_2311
Text.PrintHelp('NEWWEAP')
$flag_10weapons_open = 1

:AMUNAT_2311
$weapon_offX = 2

:AMUNAT_2318
if 
  $weapon_offX == 2
goto_if_false @AMUNAT_2978
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$weapon_obj
goto_if_false @AMUNAT_2367
gosub @AMUNAT_8604

:AMUNAT_2367
if 
  not Char.IsDead($d_vec_x)
goto_if_false @AMUNAT_2933
if 
  $weapon_offY == 0
goto_if_false @AMUNAT_2881
if 
  $flag_attacked_ammu_keeper == 0
goto_if_false @AMUNAT_2480
Task.PlayAnimNonInterruptable($d_vec_x, "SHP_TRAY_POSE", "WEAPONS", 1000.0, True, False, False, False, -1)
$weapon_offZ = 0.0
$flag_attacked_ammu_keeper = 1

:AMUNAT_2480
if 
  $sc3_missioncar == 0
goto_if_false @AMUNAT_2700
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, $d_vec_x)
  Char.HasBeenDamagedByWeapon($d_vec_x, WeaponType.AnyWeapon)
goto_if_false @AMUNAT_2613
$vomit_camZ = Char.SetSayContextImportant($d_vec_x, 322, False, False, True)
Task.StandStill($d_vec_x, 5)
Char.SetWeaponSkill($d_vec_x, 2)
Char.GiveWeapon($d_vec_x, WeaponType.Pistol, 30000)
Char.SetAccuracy($d_vec_x, 80)
Task.StayInSamePlace($d_vec_x, True)
Task.KillCharOnFoot($d_vec_x, $stattreadstamina_ctr)
$ryder = 0
$weapon_offY = 1
goto @AMUNAT_2693

:AMUNAT_2613
$ryder = 1
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX, 1.0, 1.0, 4.0, $ryder)
goto_if_false @AMUNAT_2693
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @AMUNAT_2693
$flag_attacked_ammu_keeper = 0
$weapon_offX = 3

:AMUNAT_2693
goto @AMUNAT_2874

:AMUNAT_2700
if or
  Player.IsTargetingChar($statbike_temp, $d_vec_x)
  Char.HasBeenDamagedByWeapon($d_vec_x, WeaponType.AnyWeapon)
goto_if_false @AMUNAT_2810
$vomit_camZ = Char.SetSayContextImportant($d_vec_x, 322, False, False, True)
Task.StandStill($d_vec_x, 5)
Char.SetWeaponSkill($d_vec_x, 2)
Char.GiveWeapon($d_vec_x, WeaponType.Pistol, 30000)
Char.SetAccuracy($d_vec_x, 80)
Task.StayInSamePlace($d_vec_x, True)
Task.KillCharOnFoot($d_vec_x, $stattreadstamina_ctr)
$ryder = 0
$weapon_offY = 1
goto @AMUNAT_2874

:AMUNAT_2810
$ryder = 1
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX, 1.0, 1.0, 4.0, $ryder)
goto_if_false @AMUNAT_2874
$flag_attacked_ammu_keeper = 0
$weapon_offX = 3

:AMUNAT_2874
goto @AMUNAT_2926

:AMUNAT_2881
gosub @AMUNAT_8342
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$weapon_obj
goto_if_false @AMUNAT_2919
gosub @AMUNAT_8604

:AMUNAT_2919
goto @AMUNAT_640

:AMUNAT_2926
goto @AMUNAT_2978

:AMUNAT_2933
gosub @AMUNAT_8342
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$weapon_obj
goto_if_false @AMUNAT_2971
gosub @AMUNAT_8604

:AMUNAT_2971
goto @AMUNAT_640

:AMUNAT_2978
if 
  $weapon_offX == 3
goto_if_false @AMUNAT_3062
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea($x, $y, $z, 1.0, True)
Text.ClearThisPrint('SHOPNO')
TIMERA = 0
$weapon_offX = 4

:AMUNAT_3062
if 
  $weapon_offX == 4
goto_if_false @AMUNAT_3421
if 
  Char.IsDead($d_vec_x)
goto_if_false @AMUNAT_3141
gosub @AMUNAT_8342
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$weapon_obj
goto_if_false @AMUNAT_3134
gosub @AMUNAT_8604

:AMUNAT_3134
goto @AMUNAT_640

:AMUNAT_3141
if 
  $flag_attacked_ammu_keeper == 0
goto_if_false @AMUNAT_3421
if 
  TIMERA >= 300
goto_if_false @AMUNAT_3421
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX)
Char.SetHeading($stattreadstamina_ctr, $flag_ammu)
$gen_car1, $gen_car2, $gen_car3 = Char.GetCoordinates($d_vec_x)
if or
  not is_float_var_equal_to_float_var $gen_car1 == $SHOPS_TEXT_SCALEY
  not is_float_var_equal_to_float_var $gen_car2 == $TEXT_COL_SELECT_R
  not is_float_var_equal_to_float_var $gen_car3 == $TEXT_COL_SELECT_G
goto_if_false @AMUNAT_3271
Char.SetCoordinates($d_vec_x, $SHOPS_TEXT_SCALEY, $TEXT_COL_SELECT_R, $TEXT_COL_SELECT_G)
Char.SetHeading($d_vec_x, $temp_slot)

:AMUNAT_3271
Camera.SetFixedPosition($ammuY, $ammuZ, $SHOPS_TEXT_SCALEX, 0.0, 0.0, 0.0)
Camera.PointAtPoint($weapon_on_counterZ_shops, $ammu_offX, $ammu_offY, SwitchType.JumpCut)
$vomit_camZ = Char.SetSayContextImportant($d_vec_x, 328, False, False, True)
if 
  $2580 == 1
goto_if_false @AMUNAT_3352
$2579 = 1

:AMUNAT_3352
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @AMUNAT_3389
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
goto @AMUNAT_3403

:AMUNAT_3389
gosub @AMUNAT_8604
goto @AMUNAT_640

:AMUNAT_3403
Hud.DisplayRadar(False)
$weapon_offX = 5
$flag_attacked_ammu_keeper = 0

:AMUNAT_3421
if 
  $weapon_offX == 5
goto_if_false @AMUNAT_4245
if 
  Char.IsDead($d_vec_x)
goto_if_false @AMUNAT_3500
gosub @AMUNAT_8342
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$weapon_obj
goto_if_false @AMUNAT_3493
gosub @AMUNAT_8604

:AMUNAT_3493
goto @AMUNAT_640

:AMUNAT_3500
if 
  1 > $flag_attacked_ammu_keeper
goto_if_false @AMUNAT_3550
if 
  $sub_menu_drawn_shops == 0
goto_if_false @AMUNAT_3550
gosub @AMUNAT_10049
gosub @AMUNAT_11055

:AMUNAT_3550
if 
  $flag_attacked_ammu_keeper == 0
goto_if_false @AMUNAT_3618
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @AMUNAT_3593
$flag_attacked_ammu_keeper = 3

:AMUNAT_3593
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @AMUNAT_3618
$flag_attacked_ammu_keeper = 1

:AMUNAT_3618
if 
  $flag_attacked_ammu_keeper == 1
goto_if_false @AMUNAT_3865
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @AMUNAT_3865
if 
  $sub_menu_drawn_shops == 1
goto_if_false @AMUNAT_3686
Text.ClearHelp
Menu.Delete($sub_menu_shops)
$sub_menu_drawn_shops = 0

:AMUNAT_3686
if 
  $2428 == 1
goto_if_false @AMUNAT_3718
Text.ClearHelp
Menu.Delete($2427)
$2428 = 0

:AMUNAT_3718
if 
  $bought_menu_drawn_shops == 1
goto_if_false @AMUNAT_3750
Text.ClearHelp
Menu.Delete($bought_menu_shops)
$bought_menu_drawn_shops = 0

:AMUNAT_3750
if 
  $item_price == 1
goto_if_false @AMUNAT_3780
Menu.Delete($price_counter)
$item_price = 0

:AMUNAT_3780
Text.ClearThisPrint('AMMUA')
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('AMMUC')
Text.ClearThisPrint('AMMUD')
$vomit_camZ = Char.SetSayContextImportant($d_vec_x, 326, False, False, True)
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.SetMinigameInProgress(False)
Hud.DisplayRadar(True)
$flag_attacked_ammu_keeper = 2

:AMUNAT_3865
if 
  $flag_attacked_ammu_keeper == 2
goto_if_false @AMUNAT_4093
if 
  $weapon_offY == 0
goto_if_false @AMUNAT_4002
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, $d_vec_x)
  Char.HasBeenDamagedByWeapon($d_vec_x, WeaponType.AnyWeapon)
goto_if_false @AMUNAT_4002
$vomit_camZ = Char.SetSayContextImportant($d_vec_x, 322, False, False, True)
Task.StandStill($d_vec_x, 5)
Char.SetWeaponSkill($d_vec_x, 2)
Char.GiveWeapon($d_vec_x, WeaponType.Pistol, 30000)
Char.SetAccuracy($d_vec_x, 80)
Task.StayInSamePlace($d_vec_x, True)
Task.KillCharOnFoot($d_vec_x, $stattreadstamina_ctr)
$weapon_offY = 1

:AMUNAT_4002
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX, 1.0, 1.0, 4.0, False)
goto_if_false @AMUNAT_4093
$sub_menu_drawn_shops = 0
$2428 = 0
$shop_keep_ammunation = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$weapon_offX = 2
$flag_attacked_ammu_keeper = 0

:AMUNAT_4093
if 
  $flag_attacked_ammu_keeper == 3
goto_if_false @AMUNAT_4245
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @AMUNAT_4245
$second_menu_weapon = Menu.GetItemAccepted($sub_menu_shops)
set_var_text_label s$weapon_name = $2454($second_menu_weapon,12s)
if 
  0 > $second_menu_weapon
goto_if_false @AMUNAT_4174
$second_menu_weapon = 0

:AMUNAT_4174
if 
  $sub_menu_drawn_shops == 1
goto_if_false @AMUNAT_4206
Text.ClearHelp
Menu.Delete($sub_menu_shops)
$sub_menu_drawn_shops = 0

:AMUNAT_4206
if 
  $2428 == 0
goto_if_false @AMUNAT_4231
gosub @AMUNAT_11457

:AMUNAT_4231
$flag_attacked_ammu_keeper = 0
$weapon_offX = 6

:AMUNAT_4245
if 
  $weapon_offX == 6
goto_if_false @AMUNAT_5573
if 
  Char.IsDead($d_vec_x)
goto_if_false @AMUNAT_4324
gosub @AMUNAT_8342
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$weapon_obj
goto_if_false @AMUNAT_4317
gosub @AMUNAT_8604

:AMUNAT_4317
goto @AMUNAT_640

:AMUNAT_4324
if 
  1 > $flag_attacked_ammu_keeper
goto_if_false @AMUNAT_4367
if 
  $2428 == 0
goto_if_false @AMUNAT_4367
gosub @AMUNAT_11457

:AMUNAT_4367
if 
  $flag_attacked_ammu_keeper == 0
goto_if_false @AMUNAT_4435
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @AMUNAT_4410
$flag_attacked_ammu_keeper = 2

:AMUNAT_4410
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @AMUNAT_4435
$flag_attacked_ammu_keeper = 1

:AMUNAT_4435
if 
  $flag_attacked_ammu_keeper == 1
goto_if_false @AMUNAT_4549
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @AMUNAT_4549
if 
  $2428 == 1
goto_if_false @AMUNAT_4503
Text.ClearHelp
Menu.Delete($2427)
$2428 = 0

:AMUNAT_4503
if 
  $sub_menu_drawn_shops == 0
goto_if_false @AMUNAT_4535
gosub @AMUNAT_10049
gosub @AMUNAT_11055

:AMUNAT_4535
$flag_attacked_ammu_keeper = 0
$weapon_offX = 5

:AMUNAT_4549
if 
  $flag_attacked_ammu_keeper == 2
goto_if_false @AMUNAT_4842
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @AMUNAT_4842
$9634 = Menu.GetItemAccepted($2427)
if 
  0 > $9634
goto_if_false @AMUNAT_4618
$9634 = 0

:AMUNAT_4618
set_var_int_to_var_int $9548 = $9629($9634,3i)
s$weapon_price = Shopping.GetNameOfItem($9548)
$d_vec_y = Shopping.GetPriceOfItem($9548)
if 
  not is_int_var_equal_to_constant $9548 == 48
goto_if_false @AMUNAT_4687
$stored_weapon_shop = Weapon.GetSlot($9548)
$section_selected_ammu = Weapon.GetModel($9548)
goto @AMUNAT_4695

:AMUNAT_4687
set_var_int_to_constant $section_selected_ammu = 373

:AMUNAT_4695
if 
  $2428 == 1
goto_if_false @AMUNAT_4727
Text.ClearHelp
Menu.Delete($2427)
$2428 = 0

:AMUNAT_4727
Task.PlayAnimNonInterruptable($d_vec_x, "SHP_G_LIFT_IN", "WEAPONS", 1000.0, False, False, False, True, -1)
$weapon_offZ = 0.0
if 
  Char.IsPlayingAnim($d_vec_x, "SHP_G_LIFT_IN")
goto_if_false @AMUNAT_4835
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, "SHP_G_LIFT_IN")

:AMUNAT_4835
$flag_attacked_ammu_keeper = 3

:AMUNAT_4842
if 
  $flag_attacked_ammu_keeper == 3
goto_if_false @AMUNAT_4942
if 
  Char.IsPlayingAnim($d_vec_x, "SHP_G_LIFT_IN")
goto_if_false @AMUNAT_4914
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, "SHP_G_LIFT_IN")

:AMUNAT_4914
if 
  $weapon_offZ == 1.0
goto_if_false @AMUNAT_4942
$flag_attacked_ammu_keeper = 4

:AMUNAT_4942
if 
  $flag_attacked_ammu_keeper == 4
goto_if_false @AMUNAT_5118
$iCopDM = Object.Create($section_selected_ammu, $SHOPS_TEXT_SCALEY, $TEXT_COL_SELECT_R, $TEXT_COL_SELECT_G)
gosub @AMUNAT_9029
gosub @AMUNAT_9684
Task.PickUpObject($d_vec_x, $iCopDM, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
Object.FreezePosition($iCopDM, False)
Task.PlayAnimNonInterruptable($d_vec_x, v$9550, "WEAPONS", 1000.0, False, False, False, True, -1)
$weapon_offZ = 0.0
if 
  Char.IsPlayingAnim($d_vec_x, v$9550)
goto_if_false @AMUNAT_5111
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, v$9550)

:AMUNAT_5111
$flag_attacked_ammu_keeper = 5

:AMUNAT_5118
if 
  $flag_attacked_ammu_keeper == 5
goto_if_false @AMUNAT_5308
if 
  Char.IsPlayingAnim($d_vec_x, v$9550)
goto_if_false @AMUNAT_5166
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, v$9550)

:AMUNAT_5166
if 
  $weapon_offZ == 1.0
goto_if_false @AMUNAT_5308
Char.DropObject($d_vec_x, False)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1131)
Object.SetCoordinates($iCopDM, $return_animation_time_ammunation, $shop_keep_heading_ammunation, $player_heading_ammunation)
Object.FreezePosition($iCopDM, True)
Task.PlayAnimNonInterruptable($d_vec_x, v$anim_name_lift_ammu, "WEAPONS", 1000.0, False, False, False, True, -1)
$weapon_offZ = 0.0
if 
  Char.IsPlayingAnim($d_vec_x, v$anim_name_lift_ammu)
goto_if_false @AMUNAT_5301
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, v$anim_name_lift_ammu)

:AMUNAT_5301
$flag_attacked_ammu_keeper = 6

:AMUNAT_5308
if 
  $flag_attacked_ammu_keeper == 6
goto_if_false @AMUNAT_5573
if 
  Char.IsPlayingAnim($d_vec_x, v$anim_name_lift_ammu)
goto_if_false @AMUNAT_5356
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, v$anim_name_lift_ammu)

:AMUNAT_5356
if 
  $weapon_offZ == 1.0
goto_if_false @AMUNAT_5573
Task.PlayAnimNonInterruptable($d_vec_x, "SHP_TRAY_POSE", "WEAPONS", 1000.0, True, False, False, False, -1)
$weapon_offZ = 0.0
if 
  $bought_menu_drawn_shops == 0
goto_if_false @AMUNAT_5456
gosub @AMUNAT_7701

:AMUNAT_5456
if 
  not is_int_var_equal_to_constant $9548 == 48
goto_if_false @AMUNAT_5559
set_var_int_to_var_int $player_weapon_model = $stored_weapon_shop
$player_weapon_model += 1
$9568, $9569, $shop_alarm_ammu = Char.GetWeaponInSlot($stattreadstamina_ctr, $player_weapon_model)
if 
  not is_int_var_equal_to_int_var $9568 == $9548
goto_if_false @AMUNAT_5559
if 
  $9569 > 0
goto_if_false @AMUNAT_5559
Text.PrintNow('AMMUA', 5000, 1)

:AMUNAT_5559
$weapon_offX = 7
$flag_attacked_ammu_keeper = 0

:AMUNAT_5573
if 
  $weapon_offX == 7
goto_if_false @AMUNAT_7666
if 
  Char.IsDead($d_vec_x)
goto_if_false @AMUNAT_5652
gosub @AMUNAT_8342
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$weapon_obj
goto_if_false @AMUNAT_5645
gosub @AMUNAT_8604

:AMUNAT_5645
goto @AMUNAT_640

:AMUNAT_5652
if 
  1 > $flag_attacked_ammu_keeper
goto_if_false @AMUNAT_5695
if 
  $bought_menu_drawn_shops == 0
goto_if_false @AMUNAT_5695
gosub @AMUNAT_7701

:AMUNAT_5695
if 
  $flag_attacked_ammu_keeper == 0
goto_if_false @AMUNAT_5763
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @AMUNAT_5738
$flag_attacked_ammu_keeper = 5

:AMUNAT_5738
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @AMUNAT_5763
$flag_attacked_ammu_keeper = 1

:AMUNAT_5763
if 
  $flag_attacked_ammu_keeper == 1
goto_if_false @AMUNAT_5910
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @AMUNAT_5910
if 
  $bought_menu_drawn_shops == 1
goto_if_false @AMUNAT_5831
Text.ClearHelp
Menu.Delete($bought_menu_shops)
$bought_menu_drawn_shops = 0

:AMUNAT_5831
Task.PlayAnimNonInterruptable($d_vec_x, v$anim_name_lift_end_ammu, "WEAPONS", 1000.0, False, False, False, True, -1)
$weapon_offZ = 0.0
if 
  Char.IsPlayingAnim($d_vec_x, v$anim_name_lift_end_ammu)
goto_if_false @AMUNAT_5903
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, v$anim_name_lift_end_ammu)

:AMUNAT_5903
$flag_attacked_ammu_keeper = 2

:AMUNAT_5910
if 
  $flag_attacked_ammu_keeper == 2
goto_if_false @AMUNAT_6106
if 
  Char.IsPlayingAnim($d_vec_x, v$anim_name_lift_end_ammu)
goto_if_false @AMUNAT_5958
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, v$anim_name_lift_end_ammu)

:AMUNAT_5958
if 
  $weapon_offZ == 1.0
goto_if_false @AMUNAT_6106
Task.PickUpObject($d_vec_x, $iCopDM, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
Object.FreezePosition($iCopDM, False)
Task.PlayAnimNonInterruptable($d_vec_x, v$anim_name_return_start_ammu, "WEAPONS", 1000.0, False, False, False, True, -1)
$weapon_offZ = 0.0
if 
  Char.IsPlayingAnim($d_vec_x, v$anim_name_return_start_ammu)
goto_if_false @AMUNAT_6099
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, v$anim_name_return_start_ammu)

:AMUNAT_6099
$flag_attacked_ammu_keeper = 3

:AMUNAT_6106
if 
  $flag_attacked_ammu_keeper == 3
goto_if_false @AMUNAT_6328
if 
  Char.IsPlayingAnim($d_vec_x, v$anim_name_return_start_ammu)
goto_if_false @AMUNAT_6154
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, v$anim_name_return_start_ammu)

:AMUNAT_6154
if 
  $weapon_offZ == 1.0
goto_if_false @AMUNAT_6328
Char.DropObject($d_vec_x, False)
Object.SetCoordinates($iCopDM, $return_animation_time_ammunation, $shop_keep_heading_ammunation, $player_heading_ammunation)
Object.FreezePosition($iCopDM, True)
gosub @AMUNAT_9022
Task.PlayAnimNonInterruptable($d_vec_x, "SHP_G_LIFT_OUT", "WEAPONS", 1000.0, False, False, False, True, -1)
$weapon_offZ = 0.0
if 
  Char.IsPlayingAnim($d_vec_x, "SHP_G_LIFT_OUT")
goto_if_false @AMUNAT_6321
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, "SHP_G_LIFT_OUT")

:AMUNAT_6321
$flag_attacked_ammu_keeper = 4

:AMUNAT_6328
if 
  $flag_attacked_ammu_keeper == 4
goto_if_false @AMUNAT_6491
if 
  Char.IsPlayingAnim($d_vec_x, "SHP_G_LIFT_OUT")
goto_if_false @AMUNAT_6402
$weapon_offZ = Char.GetAnimCurrentTime($d_vec_x, "SHP_G_LIFT_OUT")

:AMUNAT_6402
if 
  $weapon_offZ == 1.0
goto_if_false @AMUNAT_6491
Task.PlayAnimNonInterruptable($d_vec_x, "SHP_TRAY_POSE", "WEAPONS", 1000.0, True, False, False, False, -1)
$weapon_offZ = 0.0
$flag_attacked_ammu_keeper = 0
$weapon_offX = 6

:AMUNAT_6491
if 
  $flag_attacked_ammu_keeper == 5
goto_if_false @AMUNAT_7060
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @AMUNAT_7060
Text.ClearThisPrint('AMMUA')
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('AMMUC')
Text.ClearThisPrint('AMMUD')
$flag_on_neil_lowrider_mission = 0
$ammu_camera_pointY = 0
$flag_1st_time_nitro_shop = Player.StoreScore($statbike_temp)
if 
  is_int_var_greater_or_equal_to_int_var $flag_1st_time_nitro_shop >= $d_vec_y
goto_if_false @AMUNAT_6981
if 
  not is_int_var_equal_to_constant $9548 == 48
goto_if_false @AMUNAT_6803
$9569 = Char.GetAmmoInWeapon($stattreadstamina_ctr, $9548)
if 
  9999 > $9569
goto_if_false @AMUNAT_6717
Shopping.BuyItem($9548)
$vomit_camZ = Char.SetSayContextImportant($d_vec_x, 318, False, False, True)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1052)
$flag_attacked_ammu_keeper = 6
TIMERB = 0
goto @AMUNAT_6796

:AMUNAT_6717
if 
  $ammu_camera_pointY == 0
goto_if_false @AMUNAT_6796
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1053)
Text.PrintNow('AMMUC', 5000, 1)
$vomit_camZ = Char.SetSayContextImportant($d_vec_x, 317, False, False, True)
$flag_attacked_ammu_keeper = 0
$ammu_camera_pointY = 1

:AMUNAT_6796
goto @AMUNAT_6974

:AMUNAT_6803
$ammu_offZ = Char.GetArmor($stattreadstamina_ctr)
$ammu_camera_pointX = Player.GetMaxArmor($statbike_temp)
if 
  is_int_var_greater_than_int_var $ammu_camera_pointX > $ammu_offZ
goto_if_false @AMUNAT_6895
$vomit_camZ = Char.SetSayContextImportant($d_vec_x, 318, False, False, True)
Shopping.BuyItem($9548)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1052)
$flag_attacked_ammu_keeper = 6
TIMERB = 0
goto @AMUNAT_6974

:AMUNAT_6895
if 
  $ammu_camera_pointY == 0
goto_if_false @AMUNAT_6974
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1053)
$vomit_camZ = Char.SetSayContextImportant($d_vec_x, 317, False, False, True)
Text.PrintNow('AMMUD', 5000, 1)
$flag_attacked_ammu_keeper = 0
$ammu_camera_pointY = 1

:AMUNAT_6974
goto @AMUNAT_7060

:AMUNAT_6981
if 
  $flag_on_neil_lowrider_mission == 0
goto_if_false @AMUNAT_7060
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1053)
$vomit_camZ = Char.SetSayContextImportant($d_vec_x, 319, False, False, True)
Text.PrintNow('SHOPNO', 5000, 1)
$flag_attacked_ammu_keeper = 0
$flag_on_neil_lowrider_mission = 1

:AMUNAT_7060
if 
  $flag_attacked_ammu_keeper == 6
goto_if_false @AMUNAT_7549
if 
  $bought_menu_drawn_shops == 1
goto_if_false @AMUNAT_7110
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:AMUNAT_7110
if 
  $item_price == 0
goto_if_false @AMUNAT_7535
if 
is_xbox_version 
goto_if_false @AMUNAT_7185
$price_counter = Menu.Create('AMMUN', 29.0, 48.0, 93.0, 2, False, True, 1)
goto @AMUNAT_7222

:AMUNAT_7185
$price_counter = Menu.Create('AMMUN', 29.0, 20.0, 93.0, 2, False, True, 1)

:AMUNAT_7222
Menu.SetColumnOrientation($price_counter, 0, 1)
Menu.SetColumn($price_counter, 0, 'WEAPON', 'BOUGHT', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnOrientation($price_counter, 1, 0)
Menu.SetColumn($price_counter, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber($price_counter, 1, 0, 'DOLLAR', $d_vec_y)
Menu.SetColumnWidth($price_counter, 0, 140)
Menu.SetColumnWidth($price_counter, 1, 46)
$item_price = 1

:AMUNAT_7535
TIMERB = 0
$flag_attacked_ammu_keeper = 7

:AMUNAT_7549
if 
  $flag_attacked_ammu_keeper == 7
goto_if_false @AMUNAT_7666
if 
  TIMERB >= 1000
goto_if_false @AMUNAT_7666
if 
  $item_price == 1
goto_if_false @AMUNAT_7616
Menu.Delete($price_counter)
$item_price = 0

:AMUNAT_7616
$flag_attacked_ammu_keeper = 0
if 
  1 > $flag_attacked_ammu_keeper
goto_if_false @AMUNAT_7666
if 
  $bought_menu_drawn_shops == 0
goto_if_false @AMUNAT_7666
gosub @AMUNAT_7701

:AMUNAT_7666
goto @AMUNAT_7680

:AMUNAT_7673
gosub @AMUNAT_8604

:AMUNAT_7680
goto @AMUNAT_7694

:AMUNAT_7687
gosub @AMUNAT_8604

:AMUNAT_7694
goto @AMUNAT_640

:AMUNAT_7701
if 
  $bought_menu_drawn_shops == 0
goto_if_false @AMUNAT_8340
Text.PrintHelpForever('AMMU_H3')
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @AMUNAT_7792
$bought_menu_shops = Menu.Create('AMMUN', 29.0, 95.0, 93.0, 2, False, True, 1)
goto @AMUNAT_8033

:AMUNAT_7792
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @AMUNAT_7854
$bought_menu_shops = Menu.Create('AMMUN', 29.0, 95.0, 93.0, 2, False, True, 1)
goto @AMUNAT_8033

:AMUNAT_7854
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @AMUNAT_7916
$bought_menu_shops = Menu.Create('AMMUN', 29.0, 95.0, 93.0, 2, False, True, 1)
goto @AMUNAT_8033

:AMUNAT_7916
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @AMUNAT_7978
$bought_menu_shops = Menu.Create('AMMUN', 29.0, 95.0, 93.0, 2, False, True, 1)
goto @AMUNAT_8033

:AMUNAT_7978
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @AMUNAT_8033
$bought_menu_shops = Menu.Create('AMMUN', 29.0, 95.0, 93.0, 2, False, True, 1)

:AMUNAT_8033
Menu.SetColumnOrientation($bought_menu_shops, 0, 1)
Menu.SetColumn($bought_menu_shops, 0, 'WEAPON', s$weapon_price, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnOrientation($bought_menu_shops, 1, 0)
Menu.SetColumn($bought_menu_shops, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber($bought_menu_shops, 1, 0, 'DOLLAR', $d_vec_y)
Menu.SetColumnWidth($bought_menu_shops, 0, 140)
Menu.SetColumnWidth($bought_menu_shops, 1, 46)
$bought_menu_drawn_shops = 1

:AMUNAT_8340
return 

:AMUNAT_8342
if 
  $sub_menu_drawn_shops == 1
goto_if_false @AMUNAT_8374
Text.ClearHelp
Menu.Delete($sub_menu_shops)
$sub_menu_drawn_shops = 0

:AMUNAT_8374
if 
  $2428 == 1
goto_if_false @AMUNAT_8406
Text.ClearHelp
Menu.Delete($2427)
$2428 = 0

:AMUNAT_8406
if 
  $bought_menu_drawn_shops == 1
goto_if_false @AMUNAT_8438
Text.ClearHelp
Menu.Delete($bought_menu_shops)
$bought_menu_drawn_shops = 0

:AMUNAT_8438
if 
  $item_price == 1
goto_if_false @AMUNAT_8468
Menu.Delete($price_counter)
$item_price = 0

:AMUNAT_8468
if 
  $weapon_offX >= 1
goto_if_false @AMUNAT_8488
Text.ClearHelp

:AMUNAT_8488
Text.ClearThisPrint('AMMUA')
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('AMMUC')
Text.ClearThisPrint('AMMUD')
$sub_menu_drawn_shops = 0
$2428 = 0
$shop_keep_ammunation = 0
$flag_attacked_ammu_keeper = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$ammu_camera_pointY = 0
$weapon_offX = 2
return 

:AMUNAT_8604
if 
  $sub_menu_drawn_shops == 1
goto_if_false @AMUNAT_8636
Text.ClearHelp
Menu.Delete($sub_menu_shops)
$sub_menu_drawn_shops = 0

:AMUNAT_8636
if 
  $2428 == 1
goto_if_false @AMUNAT_8668
Text.ClearHelp
Menu.Delete($2427)
$2428 = 0

:AMUNAT_8668
if 
  $bought_menu_drawn_shops == 1
goto_if_false @AMUNAT_8700
Text.ClearHelp
Menu.Delete($bought_menu_shops)
$bought_menu_drawn_shops = 0

:AMUNAT_8700
if 
  $item_price == 1
goto_if_false @AMUNAT_8730
Menu.Delete($price_counter)
$item_price = 0

:AMUNAT_8730
if 
  $weapon_offX >= 1
goto_if_false @AMUNAT_8750
Text.ClearHelp

:AMUNAT_8750
Text.ClearThisPrint('AMMUA')
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('AMMUC')
Text.ClearThisPrint('AMMUD')
$sub_menu_drawn_shops = 0
$2428 = 0
$weapon_offY = 0
$shop_keep_ammunation = 0
$flag_attacked_ammu_keeper = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$ammu_camera_pointY = 0
$weapon_offX = 0
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(347)
Streaming.MarkModelAsNoLongerNeeded(348)
Streaming.MarkModelAsNoLongerNeeded(349)
Streaming.MarkModelAsNoLongerNeeded(350)
Streaming.MarkModelAsNoLongerNeeded(351)
Streaming.MarkModelAsNoLongerNeeded(342)
Streaming.MarkModelAsNoLongerNeeded(352)
Streaming.MarkModelAsNoLongerNeeded(353)
Streaming.MarkModelAsNoLongerNeeded(372)
Streaming.MarkModelAsNoLongerNeeded(355)
Streaming.MarkModelAsNoLongerNeeded(356)
Streaming.MarkModelAsNoLongerNeeded(357)
Streaming.MarkModelAsNoLongerNeeded(358)
Streaming.MarkModelAsNoLongerNeeded(373)
Streaming.MarkModelAsNoLongerNeeded(363)
Streaming.MarkModelAsNoLongerNeeded(364)
Text.UseCommands(False)
Streaming.MarkModelAsNoLongerNeeded($main_menu_shops)
Char.Delete($d_vec_x)
Stat.ShowUpdateStats(True)
Hud.DisplayRadar(True)
Game.SetMinigameInProgress(False)
if 
  $5278 == 1
goto_if_false @AMUNAT_9018
Text.PrintHelp('ANR_56')
$5278 = 0

:AMUNAT_9018
terminate_this_script 
return 

:AMUNAT_9022
Object.Delete($iCopDM)
return 

:AMUNAT_9029
if or
  is_int_var_equal_to_constant $section_selected_ammu == 349
  is_int_var_equal_to_constant $section_selected_ammu == 351
  is_int_var_equal_to_constant $section_selected_ammu == 355
  is_int_var_equal_to_constant $section_selected_ammu == 356
  is_int_var_equal_to_constant $section_selected_ammu == 358
  is_int_var_equal_to_constant $section_selected_ammu == 357
goto_if_false @AMUNAT_9182
set_var_text_label16 v$9550 = "SHP_2H_LIFT"
set_var_text_label16 v$anim_name_lift_ammu = "SHP_2H_LIFT_END"
set_var_float_to_var_float $return_animation_time_ammunation = $SHOPS_TEXT_SCALEY
$return_animation_time_ammunation += 0.231
set_var_float_to_var_float $shop_keep_heading_ammunation = $TEXT_COL_SELECT_R
$shop_keep_heading_ammunation += 0.636
set_var_float_to_var_float $player_heading_ammunation = $TEXT_COL_SELECT_G
$player_heading_ammunation += 1.053

:AMUNAT_9182
if 
  is_int_var_equal_to_constant $section_selected_ammu == 350
goto_if_false @AMUNAT_9295
set_var_text_label16 v$9550 = "SHP_2H_LIFT"
set_var_text_label16 v$anim_name_lift_ammu = "SHP_2H_LIFT_END"
set_var_float_to_var_float $return_animation_time_ammunation = $SHOPS_TEXT_SCALEY
$return_animation_time_ammunation += 0.231
set_var_float_to_var_float $shop_keep_heading_ammunation = $TEXT_COL_SELECT_R
$shop_keep_heading_ammunation += 0.636
set_var_float_to_var_float $player_heading_ammunation = $TEXT_COL_SELECT_G
$player_heading_ammunation += 1.053

:AMUNAT_9295
if or
  is_int_var_equal_to_constant $section_selected_ammu == 346
  is_int_var_equal_to_constant $section_selected_ammu == 347
  is_int_var_equal_to_constant $section_selected_ammu == 348
  is_int_var_equal_to_constant $section_selected_ammu == 342
  is_int_var_equal_to_constant $section_selected_ammu == 352
  is_int_var_equal_to_constant $section_selected_ammu == 353
goto_if_false @AMUNAT_9448
set_var_text_label16 v$9550 = "SHP_1H_LIFT"
set_var_text_label16 v$anim_name_lift_ammu = "SHP_1H_LIFT_END"
set_var_float_to_var_float $return_animation_time_ammunation = $SHOPS_TEXT_SCALEY
$return_animation_time_ammunation += 0.108
set_var_float_to_var_float $shop_keep_heading_ammunation = $TEXT_COL_SELECT_R
$shop_keep_heading_ammunation += 0.654
set_var_float_to_var_float $player_heading_ammunation = $TEXT_COL_SELECT_G
$player_heading_ammunation += 1.053

:AMUNAT_9448
if or
  is_int_var_equal_to_constant $section_selected_ammu == 363
  is_int_var_equal_to_constant $section_selected_ammu == 372
goto_if_false @AMUNAT_9569
set_var_text_label16 v$9550 = "SHP_1H_LIFT"
set_var_text_label16 v$anim_name_lift_ammu = "SHP_1H_LIFT_END"
set_var_float_to_var_float $return_animation_time_ammunation = $SHOPS_TEXT_SCALEY
$return_animation_time_ammunation += 0.108
set_var_float_to_var_float $shop_keep_heading_ammunation = $TEXT_COL_SELECT_R
$shop_keep_heading_ammunation += 0.654
set_var_float_to_var_float $player_heading_ammunation = $TEXT_COL_SELECT_G
$player_heading_ammunation += 1.053

:AMUNAT_9569
if 
  is_int_var_equal_to_constant $section_selected_ammu == 373
goto_if_false @AMUNAT_9682
set_var_text_label16 v$9550 = "SHP_AR_LIFT"
set_var_text_label16 v$anim_name_lift_ammu = "SHP_AR_LIFT_END"
set_var_float_to_var_float $return_animation_time_ammunation = $SHOPS_TEXT_SCALEY
$return_animation_time_ammunation += 0.175
set_var_float_to_var_float $shop_keep_heading_ammunation = $TEXT_COL_SELECT_R
$shop_keep_heading_ammunation += 0.676
set_var_float_to_var_float $player_heading_ammunation = $TEXT_COL_SELECT_G
$player_heading_ammunation += 1.5

:AMUNAT_9682
return 

:AMUNAT_9684
if or
  is_int_var_equal_to_constant $section_selected_ammu == 349
  is_int_var_equal_to_constant $section_selected_ammu == 351
  is_int_var_equal_to_constant $section_selected_ammu == 355
  is_int_var_equal_to_constant $section_selected_ammu == 356
  is_int_var_equal_to_constant $section_selected_ammu == 358
  is_int_var_equal_to_constant $section_selected_ammu == 357
goto_if_false @AMUNAT_9779
set_var_text_label16 v$anim_name_lift_end_ammu = "SHP_2H_RET_S"
set_var_text_label16 v$anim_name_return_start_ammu = "SHP_2H_RET"

:AMUNAT_9779
if 
  is_int_var_equal_to_constant $section_selected_ammu == 350
goto_if_false @AMUNAT_9834
set_var_text_label16 v$anim_name_lift_end_ammu = "SHP_2H_RET_S"
set_var_text_label16 v$anim_name_return_start_ammu = "SHP_2H_RET"

:AMUNAT_9834
if or
  is_int_var_equal_to_constant $section_selected_ammu == 346
  is_int_var_equal_to_constant $section_selected_ammu == 347
  is_int_var_equal_to_constant $section_selected_ammu == 348
  is_int_var_equal_to_constant $section_selected_ammu == 342
  is_int_var_equal_to_constant $section_selected_ammu == 352
  is_int_var_equal_to_constant $section_selected_ammu == 353
goto_if_false @AMUNAT_9929
set_var_text_label16 v$anim_name_lift_end_ammu = "SHP_1H_RET_S"
set_var_text_label16 v$anim_name_return_start_ammu = "SHP_1H_RET"

:AMUNAT_9929
if or
  is_int_var_equal_to_constant $section_selected_ammu == 363
  is_int_var_equal_to_constant $section_selected_ammu == 372
goto_if_false @AMUNAT_9992
set_var_text_label16 v$anim_name_lift_end_ammu = "SHP_1H_RET_S"
set_var_text_label16 v$anim_name_return_start_ammu = "SHP_1H_RET"

:AMUNAT_9992
if 
  is_int_var_equal_to_constant $section_selected_ammu == 373
goto_if_false @AMUNAT_10047
set_var_text_label16 v$anim_name_lift_end_ammu = "SHP_AR_RET_S"
set_var_text_label16 v$anim_name_return_start_ammu = "SHP_AR_RET"

:AMUNAT_10047
return 

:AMUNAT_10049
$ammu_camera_pointZ = 0
$rifle_name_menu = 0
$2519 = 0
$player_armour = 0
$player_max_armour = 0
$flag_buy_ammo_flag = 0
$weapon_count_ammu = 0
$no_of_pistols = 0
$no_of_shotguns = 0
$no_of_microSMG = 0
$no_of_SMG = 0
$no_of_assault = 0
$no_of_thrown = 0
$no_of_rifle = 0
$no_of_armour = 0
$no_of_heavy = 0
$pistol_name_menu = 0
$shotgun_name_menu = 0
$microSMG_name_menu = 0
$SMG_name_menu = 0
$assault_name_menu = 0

:AMUNAT_10196
if 
  is_int_var_greater_than_int_var $iBouncerDM > $ammu_camera_pointZ
goto_if_false @AMUNAT_10973
$9548 = Shopping.GetItem($ammu_camera_pointZ)
switch_start $9548 {numCases} 16 {hasDefaultCase} 0 {defaultLabel} @AMUNAT_10959 {caseNum1} 16 {caseLabel1} @AMUNAT_10807 {caseNum2} 22 {caseLabel2} @AMUNAT_10351 {caseNum3} 23 {caseLabel3} @AMUNAT_10351 {caseNum4} 24 {caseLabel4} @AMUNAT_10351 {caseNum5} 25 {caseLabel5} @AMUNAT_10427 {caseNum6} 26 {caseLabel6} @AMUNAT_10427 {caseNum7} 27 {caseLabel7} @AMUNAT_10427
switch_continued 28 {caseLabel1} @AMUNAT_10503 {caseNum2} 29 {caseLabel2} @AMUNAT_10579 {caseNum3} 30 {caseLabel3} @AMUNAT_10655 {caseNum4} 31 {caseLabel4} @AMUNAT_10655 {caseNum5} 32 {caseLabel5} @AMUNAT_10503 {caseNum6} 33 {caseLabel6} @AMUNAT_10731 {caseNum7} 34 {caseLabel7} @AMUNAT_10731 {caseNum8} 39 {caseLabel8} @AMUNAT_10807 {caseNum9} 48 {caseLabel9} @AMUNAT_10883

:AMUNAT_10351
set_var_int_to_var_int $thrown_name_menu($player_armour,3i) = $9548
$player_armour += 1
if 
  $no_of_thrown == 0
goto_if_false @AMUNAT_10420
set_var_text_label $2454($rifle_name_menu,12s) = 'GUN1'
$rifle_name_menu += 1
$no_of_thrown = 1

:AMUNAT_10420
goto @AMUNAT_10959

:AMUNAT_10427
set_var_int_to_var_int $no_of_different_type_weapons($player_max_armour,3i) = $9548
$player_max_armour += 1
if 
  $no_of_rifle == 0
goto_if_false @AMUNAT_10496
set_var_text_label $2454($rifle_name_menu,12s) = 'GUN2'
$rifle_name_menu += 1
$no_of_rifle = 1

:AMUNAT_10496
goto @AMUNAT_10959

:AMUNAT_10503
set_var_int_to_var_int $9619($flag_buy_ammo_flag,2i) = $9548
$flag_buy_ammo_flag += 1
if 
  $no_of_armour == 0
goto_if_false @AMUNAT_10572
set_var_text_label $2454($rifle_name_menu,12s) = 'GUN3'
$rifle_name_menu += 1
$no_of_armour = 1

:AMUNAT_10572
goto @AMUNAT_10959

:AMUNAT_10579
set_var_int_to_var_int $9621($weapon_count_ammu,1i) = $9548
$weapon_count_ammu += 1
if 
  $no_of_heavy == 0
goto_if_false @AMUNAT_10648
set_var_text_label $2454($rifle_name_menu,12s) = 'GUN4'
$rifle_name_menu += 1
$no_of_heavy = 1

:AMUNAT_10648
goto @AMUNAT_10959

:AMUNAT_10655
set_var_int_to_var_int $9622($no_of_pistols,2i) = $9548
$no_of_pistols += 1
if 
  $pistol_name_menu == 0
goto_if_false @AMUNAT_10724
set_var_text_label $2454($rifle_name_menu,12s) = 'GUN5'
$rifle_name_menu += 1
$pistol_name_menu = 1

:AMUNAT_10724
goto @AMUNAT_10959

:AMUNAT_10731
set_var_int_to_var_int $9624($no_of_microSMG,2i) = $9548
$no_of_microSMG += 1
if 
  $shotgun_name_menu == 0
goto_if_false @AMUNAT_10800
set_var_text_label $2454($rifle_name_menu,12s) = 'GUN6'
$rifle_name_menu += 1
$shotgun_name_menu = 1

:AMUNAT_10800
goto @AMUNAT_10959

:AMUNAT_10807
set_var_int_to_var_int $assault_array($no_of_shotguns,2i) = $9548
$no_of_shotguns += 1
if 
  $microSMG_name_menu == 0
goto_if_false @AMUNAT_10876
set_var_text_label $2454($rifle_name_menu,12s) = 'GUN7'
$rifle_name_menu += 1
$microSMG_name_menu = 1

:AMUNAT_10876
goto @AMUNAT_10959

:AMUNAT_10883
set_var_int_to_var_int $rifle_array($no_of_SMG,1i) = $9548
$no_of_SMG += 1
if 
  $SMG_name_menu == 0
goto_if_false @AMUNAT_10952
set_var_text_label $2454($rifle_name_menu,12s) = 'GUN8'
$rifle_name_menu += 1
$SMG_name_menu = 1

:AMUNAT_10952
goto @AMUNAT_10959

:AMUNAT_10959
$ammu_camera_pointZ += 1
goto @AMUNAT_10196

:AMUNAT_10973
set_var_int_to_var_int $2519 = $rifle_name_menu

:AMUNAT_10981
if 
  12 > $2519
goto_if_false @AMUNAT_11053
$2442($2519,12i) = -1
$2430($2519,12i) = 0
set_var_text_label $2454($2519,12s) = 'DUMMY'
$2519 += 1
goto @AMUNAT_10981

:AMUNAT_11053
return 

:AMUNAT_11055
if 
  $sub_menu_drawn_shops == 0
goto_if_false @AMUNAT_11455
Text.PrintHelpForever('AMMU_H')
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @AMUNAT_11146
$sub_menu_shops = Menu.Create('AMMUN', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @AMUNAT_11387

:AMUNAT_11146
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @AMUNAT_11208
$sub_menu_shops = Menu.Create('AMMUN', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @AMUNAT_11387

:AMUNAT_11208
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @AMUNAT_11270
$sub_menu_shops = Menu.Create('AMMUN', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @AMUNAT_11387

:AMUNAT_11270
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @AMUNAT_11332
$sub_menu_shops = Menu.Create('AMMUN', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @AMUNAT_11387

:AMUNAT_11332
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @AMUNAT_11387
$sub_menu_shops = Menu.Create('AMMUN', 29.0, 145.0, 186.0, 1, True, True, 1)

:AMUNAT_11387
Menu.SetColumnOrientation($sub_menu_shops, 0, 1)
Menu.SetColumn($sub_menu_shops, 0, 'DUMMY', s$2454[0], s$2454[1], s$2454[2], s$2454[3], s$2454[4], s$2454[5], s$2454[6], s$2454[7], s$2454[8], s$2454[9], s$2454[10], s$2454[11])
$sub_menu_drawn_shops = 1

:AMUNAT_11455
return 

:AMUNAT_11457
$armour_array = 0
if 
  is_var_text_label_equal_to_text_label s$weapon_name == 'GUN1'
goto_if_false @AMUNAT_11562

:AMUNAT_11489
if 
  is_int_var_greater_than_int_var $player_armour > $armour_array
goto_if_false @AMUNAT_11562
s$weapon_price = Shopping.GetNameOfItem($thrown_name_menu($armour_array,3i))
set_var_text_label $2454($armour_array,12s) = s$weapon_price
set_var_int_to_var_int $9629($armour_array,3i) = $thrown_name_menu($armour_array,3i)
$armour_array += 1
goto @AMUNAT_11489

:AMUNAT_11562
if 
  is_var_text_label_equal_to_text_label s$weapon_name == 'GUN2'
goto_if_false @AMUNAT_11660

:AMUNAT_11587
if 
  is_int_var_greater_than_int_var $player_max_armour > $armour_array
goto_if_false @AMUNAT_11660
s$weapon_price = Shopping.GetNameOfItem($no_of_different_type_weapons($armour_array,3i))
set_var_text_label $2454($armour_array,12s) = s$weapon_price
set_var_int_to_var_int $9629($armour_array,3i) = $no_of_different_type_weapons($armour_array,3i)
$armour_array += 1
goto @AMUNAT_11587

:AMUNAT_11660
if 
  is_var_text_label_equal_to_text_label s$weapon_name == 'GUN3'
goto_if_false @AMUNAT_11758

:AMUNAT_11685
if 
  is_int_var_greater_than_int_var $flag_buy_ammo_flag > $armour_array
goto_if_false @AMUNAT_11758
s$weapon_price = Shopping.GetNameOfItem($9619($armour_array,2i))
set_var_text_label $2454($armour_array,12s) = s$weapon_price
set_var_int_to_var_int $9629($armour_array,3i) = $9619($armour_array,2i)
$armour_array += 1
goto @AMUNAT_11685

:AMUNAT_11758
if 
  is_var_text_label_equal_to_text_label s$weapon_name == 'GUN4'
goto_if_false @AMUNAT_11856

:AMUNAT_11783
if 
  is_int_var_greater_than_int_var $weapon_count_ammu > $armour_array
goto_if_false @AMUNAT_11856
s$weapon_price = Shopping.GetNameOfItem($9621($armour_array,1i))
set_var_text_label $2454($armour_array,12s) = s$weapon_price
set_var_int_to_var_int $9629($armour_array,3i) = $9621($armour_array,1i)
$armour_array += 1
goto @AMUNAT_11783

:AMUNAT_11856
if 
  is_var_text_label_equal_to_text_label s$weapon_name == 'GUN5'
goto_if_false @AMUNAT_11954

:AMUNAT_11881
if 
  is_int_var_greater_than_int_var $no_of_pistols > $armour_array
goto_if_false @AMUNAT_11954
s$weapon_price = Shopping.GetNameOfItem($9622($armour_array,2i))
set_var_text_label $2454($armour_array,12s) = s$weapon_price
set_var_int_to_var_int $9629($armour_array,3i) = $9622($armour_array,2i)
$armour_array += 1
goto @AMUNAT_11881

:AMUNAT_11954
if 
  is_var_text_label_equal_to_text_label s$weapon_name == 'GUN6'
goto_if_false @AMUNAT_12052

:AMUNAT_11979
if 
  is_int_var_greater_than_int_var $no_of_microSMG > $armour_array
goto_if_false @AMUNAT_12052
s$weapon_price = Shopping.GetNameOfItem($9624($armour_array,2i))
set_var_text_label $2454($armour_array,12s) = s$weapon_price
set_var_int_to_var_int $9629($armour_array,3i) = $9624($armour_array,2i)
$armour_array += 1
goto @AMUNAT_11979

:AMUNAT_12052
if 
  is_var_text_label_equal_to_text_label s$weapon_name == 'GUN7'
goto_if_false @AMUNAT_12150

:AMUNAT_12077
if 
  is_int_var_greater_than_int_var $no_of_shotguns > $armour_array
goto_if_false @AMUNAT_12150
s$weapon_price = Shopping.GetNameOfItem($assault_array($armour_array,2i))
set_var_text_label $2454($armour_array,12s) = s$weapon_price
set_var_int_to_var_int $9629($armour_array,3i) = $assault_array($armour_array,2i)
$armour_array += 1
goto @AMUNAT_12077

:AMUNAT_12150
if 
  is_var_text_label_equal_to_text_label s$weapon_name == 'GUN8'
goto_if_false @AMUNAT_12248

:AMUNAT_12175
if 
  is_int_var_greater_than_int_var $no_of_SMG > $armour_array
goto_if_false @AMUNAT_12248
s$weapon_price = Shopping.GetNameOfItem($rifle_array($armour_array,1i))
set_var_text_label $2454($armour_array,12s) = s$weapon_price
set_var_int_to_var_int $9629($armour_array,3i) = $rifle_array($armour_array,1i)
$armour_array += 1
goto @AMUNAT_12175

:AMUNAT_12248
set_var_int_to_var_int $2519 = $armour_array

:AMUNAT_12256
if 
  12 > $2519
goto_if_false @AMUNAT_12328
$2442($2519,12i) = -1
$2430($2519,12i) = 0
set_var_text_label $2454($2519,12s) = 'DUMMY'
$2519 += 1
goto @AMUNAT_12256

:AMUNAT_12328
if 
  $2428 == 0
goto_if_false @AMUNAT_12728
Text.PrintHelpForever('AMMU_H2')
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @AMUNAT_12419
$2427 = Menu.Create('AMMUN', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @AMUNAT_12660

:AMUNAT_12419
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @AMUNAT_12481
$2427 = Menu.Create('AMMUN', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @AMUNAT_12660

:AMUNAT_12481
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @AMUNAT_12543
$2427 = Menu.Create('AMMUN', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @AMUNAT_12660

:AMUNAT_12543
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @AMUNAT_12605
$2427 = Menu.Create('AMMUN', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @AMUNAT_12660

:AMUNAT_12605
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @AMUNAT_12660
$2427 = Menu.Create('AMMUN', 29.0, 145.0, 186.0, 1, True, True, 1)

:AMUNAT_12660
Menu.SetColumnOrientation($2427, 0, 1)
Menu.SetColumn($2427, 0, 'DUMMY', s$2454[0], s$2454[1], s$2454[2], s$2454[3], s$2454[4], s$2454[5], s$2454[6], s$2454[7], s$2454[8], s$2454[9], s$2454[10], s$2454[11])
$2428 = 1

:AMUNAT_12728
return 
terminate_this_script 

//-------------External script 61 (TATTOO)---------------

:TATTO
$9702 = 0
$9703 = 0
$shop_sub_item_picked_shops = 0
$2429 = 0
$ITEM1 = 0
$2519 = 0
$tattoo_heading = 0
$9635 = 0.0
$temp_var_ammu = 0.0
$main_menu_selection_ammu = 0.0
$sub_menu_selection_ammu = 0.0
$tattoo_needle_heading = 0.0
$tattoo_needleX = 0.0
$tattoo_needleZ = 0.0
$tattoo_needleY = 0.0
$shopkeeper_attacked_tattoo = 0.0
$player_in_view_mode_tattoo = 0.0
$tattoo_needle = 0.0
$flag_tattoo = 0.0
$9648 = 0
$tattoo_price = 0
$shop_keep_tattoo = 0
$sub_menu_drawn_shops = 0
$2428 = 0
$name_of_object_out_anim_tattoo = 0
$ITEM2 = 0
$2521 = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$9704 = 0
$stored_item_picked_shops = 500
$number_of_tats_in_shop = 0
$number_of_tattoos_in_area = 0
$9717 = 0
$9718 = 0
$9720 = 0
$flag_in_remove_tattoo_section = 0
$tray_offY = 0.0
$tray_offZ = 0.0
$keep_off_dirX = 0.0
$9635 = 0.0
$temp_var_ammu = 0.0
$main_menu_selection_ammu = 0.0
$ammuY = 0.0
$ammuZ = 0.0
$SHOPS_TEXT_SCALEX = 0.0
$return_animation_time_tattoo = 0.0
$object_animation_time_tattoo = 0.0
$shop_keep_animation_time_tattoo = 0.0
$remove_tats_menu_drawn = 0.0
$remove_menu_tattoo = 0.0
$menu_item_no_tats = 0.0
set_var_int_to_constant $main_menu_shops = 180
Streaming.RequestModel(#TATTOO_KIT)
Txd.LoadDictionary('LD_TATT')
Streaming.RequestModel($main_menu_shops)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 40000)
Streaming.LoadAllModelsNow
set_deatharrest_state 0
script_name 'TATTO'

:TATTO_515
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TATTO_7674
if 
  not is_var_text_label_empty s$territory_pickup
goto_if_false @TATTO_7660
if 
  $9648 > 0
goto_if_false @TATTO_637
if 
  Game.HasLanguageChanged
goto_if_false @TATTO_637
Text.ClearHelp
Menu.Delete($price_counter)
Menu.Delete($2427)
Menu.Delete($sub_menu_shops)
Menu.Delete($9719)
$sub_menu_drawn_shops = 0
$item_price = 0
$2428 = 0
$9718 = 0
$flag_hhiker_trigger = Game.GetCurrentLanguage()

:TATTO_637
if 
  $9648 == 0
goto_if_false @TATTO_940
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'TATTO2'
goto_if_false @TATTO_750
$remove_tats_menu_drawn = 0.0
$remove_menu_tattoo = 0.0
$menu_item_no_tats = 0.0
$tattoo_needle_heading = 125.0
$sub_menu_selection_ammu = 155.0
set_var_text_label s$tattoo_name = s$territory_pickup
$9702 = Shopping.GetNumberOfItems()
$9648 = 1

:TATTO_750
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'TATTOO'
goto_if_false @TATTO_845
$remove_tats_menu_drawn = 0.0
$remove_menu_tattoo = -18.266
$menu_item_no_tats = 0.0
$tattoo_needle_heading = 125.0
$sub_menu_selection_ammu = 155.0
set_var_text_label s$tattoo_name = s$territory_pickup
$9702 = Shopping.GetNumberOfItems()
$9648 = 1

:TATTO_845
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'TATTO3'
goto_if_false @TATTO_940
$remove_tats_menu_drawn = 0.0
$remove_menu_tattoo = -35.32
$menu_item_no_tats = 0.0
$tattoo_needle_heading = 125.0
$sub_menu_selection_ammu = 155.0
set_var_text_label s$tattoo_name = s$territory_pickup
$9702 = Shopping.GetNumberOfItems()
$9648 = 1

:TATTO_940
if 
  $9648 == 1
goto_if_false @TATTO_1579
if 
  $tattoo_heading == 0
goto_if_false @TATTO_1462
$tray_offY = -203.318
add_float_var_to_float_var $tray_offY += $remove_tats_menu_drawn
$tray_offZ = -7.062
add_float_var_to_float_var $tray_offZ += $remove_menu_tattoo
$keep_off_dirX = 1001.28
add_float_var_to_float_var $keep_off_dirX += $menu_item_no_tats
$9635 = -201.668
add_float_var_to_float_var $9635 += $remove_tats_menu_drawn
$temp_var_ammu = -6.217
add_float_var_to_float_var $temp_var_ammu += $remove_menu_tattoo
$main_menu_selection_ammu = 1001.28
add_float_var_to_float_var $main_menu_selection_ammu += $menu_item_no_tats
$ammuY = -203.2045
add_float_var_to_float_var $ammuY += $remove_tats_menu_drawn
$ammuZ = -5.3316
add_float_var_to_float_var $ammuZ += $remove_menu_tattoo
$SHOPS_TEXT_SCALEX = 1002.432
add_float_var_to_float_var $SHOPS_TEXT_SCALEX += $menu_item_no_tats
$return_animation_time_tattoo = -202.2993
add_float_var_to_float_var $return_animation_time_tattoo += $remove_tats_menu_drawn
$object_animation_time_tattoo = -5.7376
add_float_var_to_float_var $object_animation_time_tattoo += $remove_menu_tattoo
$shop_keep_animation_time_tattoo = 1002.306
add_float_var_to_float_var $shop_keep_animation_time_tattoo += $menu_item_no_tats
set_var_float_to_var_float $shopkeeper_attacked_tattoo = $9635
set_var_float_to_var_float $player_in_view_mode_tattoo = $temp_var_ammu
set_var_float_to_var_float $tattoo_needle = $main_menu_selection_ammu
$tattoo_needle += 1.0
set_var_float_to_var_float $flag_tattoo = $sub_menu_selection_ammu
Text.UseCommands(True)
Stat.ShowUpdateStats(False)
$shop_keep_tattooZ = Char.Create(PedType.CivMale, $main_menu_shops, $9635, $temp_var_ammu, $main_menu_selection_ammu)
Char.SetOnlyDamagedByPlayer($shop_keep_tattooZ, True)
Char.SetDecisionMaker($shop_keep_tattooZ, 65542)
Char.SetHeading($shop_keep_tattooZ, $sub_menu_selection_ammu)
World.SetCharUsesCollisionClosestObjectOfType($9635, $temp_var_ammu, $main_menu_selection_ammu, 1.5, #CJ_BARSTOOL, False, $shop_keep_tattooZ)
$shop_keep_tattoo = 0
$stored_tattoo_shop = Object.CreateNoOffset(#TATTOO_KIT, $shopkeeper_attacked_tattoo, $player_in_view_mode_tattoo, $tattoo_needle)
Object.SetHeading($stored_tattoo_shop, $flag_tattoo)
Char.AttachToObject($shop_keep_tattooZ, $stored_tattoo_shop, 0.0, 0.0, 0.0, 0, 180.0, WeaponType.Unarmed)
$ryder = 1
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, "TAT_IDLE_LOOP_T", "TATTOOS", 4.0, True, False, False, False, -1)
$tattoo_needleZ = 0.0
TIMERA = 0
$vomit_camZ = Char.SetSayContext($shop_keep_tattooZ, 325)
$tattoo_heading = 1

:TATTO_1462
if 
  $tattoo_heading == 1
goto_if_false @TATTO_1579
if 
  TIMERA >= 300
goto_if_false @TATTO_1579
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_1565
Object.PlayAnim($stored_tattoo_shop, "TAT_IDLE_LOOP_O", "TATTOOS", 4.0, True, False)
$tattoo_needleY = 0.0

:TATTO_1565
$tattoo_heading = 0
$9648 = 2

:TATTO_1579
if 
  $9648 == 2
goto_if_false @TATTO_1963
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$tattoo_name
goto_if_false @TATTO_1628
gosub @TATTO_7942

:TATTO_1628
if 
  not Char.IsDead($shop_keep_tattooZ)
goto_if_false @TATTO_1918
if 
  $shop_keep_tattoo == 0
goto_if_false @TATTO_1866
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, $shop_keep_tattooZ)
  Char.HasBeenDamagedByWeapon($shop_keep_tattooZ, WeaponType.AnyWeapon)
goto_if_false @TATTO_1786
$vomit_camZ = Char.SetSayContext($shop_keep_tattooZ, 322)
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_1765
Object.PlayAnim($stored_tattoo_shop, "TAT_DROP_O", "TATTOOS", 1000.0, False, True)
$tattoo_needleY = 0.0

:TATTO_1765
Task.HandsUp($shop_keep_tattooZ, -2)
$shop_keep_tattoo = 1
goto @TATTO_1859

:TATTO_1786
$ryder = 1
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX, 1.0, 1.0, 4.0, $ryder)
goto_if_false @TATTO_1859
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @TATTO_1859
$9648 = 3

:TATTO_1859
goto @TATTO_1911

:TATTO_1866
gosub @TATTO_7688
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$tattoo_name
goto_if_false @TATTO_1904
gosub @TATTO_7942

:TATTO_1904
goto @TATTO_515

:TATTO_1911
goto @TATTO_1963

:TATTO_1918
gosub @TATTO_7688
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$tattoo_name
goto_if_false @TATTO_1956
gosub @TATTO_7942

:TATTO_1956
goto @TATTO_515

:TATTO_1963
if 
  $9648 == 3
goto_if_false @TATTO_2098
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @TATTO_2084
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea($x, $y, $z, 1.0, True)
Hud.DisplayRadar(False)
TIMERA = 0
$tattoo_heading = 0
$9648 = 4
goto @TATTO_2098

:TATTO_2084
gosub @TATTO_7942
goto @TATTO_515

:TATTO_2098
if 
  $9648 == 4
goto_if_false @TATTO_2930
if 
  Char.IsDead($shop_keep_tattooZ)
goto_if_false @TATTO_2177
gosub @TATTO_7688
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$tattoo_name
goto_if_false @TATTO_2170
gosub @TATTO_7942

:TATTO_2170
goto @TATTO_515

:TATTO_2177
if 
  $tattoo_heading == 0
goto_if_false @TATTO_2639
if 
  TIMERA >= 300
goto_if_false @TATTO_2639
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX)
Char.SetHeading($stattreadstamina_ctr, $tattoo_needle_heading)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
$gen_car1, $gen_car2, $gen_car3 = Char.GetCoordinates($shop_keep_tattooZ)
if or
  not is_float_var_equal_to_float_var $gen_car1 == $9635
  not is_float_var_equal_to_float_var $gen_car2 == $temp_var_ammu
  not is_float_var_equal_to_float_var $gen_car3 == $main_menu_selection_ammu
goto_if_false @TATTO_2328
Char.SetCoordinates($shop_keep_tattooZ, $9635, $temp_var_ammu, $main_menu_selection_ammu)
Char.SetHeading($shop_keep_tattooZ, $sub_menu_selection_ammu)

:TATTO_2328
Camera.SetFixedPosition($ammuY, $ammuZ, $SHOPS_TEXT_SCALEX, 0.0, 0.0, 0.0)
Camera.PointAtPoint($return_animation_time_tattoo, $object_animation_time_tattoo, $shop_keep_animation_time_tattoo, SwitchType.JumpCut)
Player.StoreClothesState
$cam_point_tattooX, $cam_point_tattooY = Player.GetClothesItem($statbike_temp, BodyPart.Torso)
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.Torso)
Player.BuildModel($statbike_temp)
Player.StoreClothesState
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "TAT_SIT_IN_P", "TATTOOS", 4.0, False, False, False, True, -1)
$tattoo_needleX = 0.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_SIT_IN_P")
goto_if_false @TATTO_2516
$tattoo_needleX = Char.GetAnimCurrentTime($stattreadstamina_ctr, "TAT_SIT_IN_P")

:TATTO_2516
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_2579
Object.PlayAnim($stored_tattoo_shop, "TAT_SIT_IN_O", "TATTOOS", 4.0, False, True)
$tattoo_needleY = 0.0

:TATTO_2579
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, "TAT_SIT_IN_T", "TATTOOS", 4.0, False, False, False, True, -1)
$tattoo_needleZ = 0.0
$tattoo_heading = 1

:TATTO_2639
if 
  $tattoo_heading == 1
goto_if_false @TATTO_2930
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_SIT_IN_P")
goto_if_false @TATTO_2709
$tattoo_needleX = Char.GetAnimCurrentTime($stattreadstamina_ctr, "TAT_SIT_IN_P")

:TATTO_2709
if 
  $tattoo_needleX == 1.0
goto_if_false @TATTO_2930
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "TAT_SIT_LOOP_P", "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleX = 0.0
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_2850
Object.PlayAnim($stored_tattoo_shop, "TAT_SIT_LOOP_O", "TATTOOS", 1000.0, True, False)
$tattoo_needleY = 0.0

:TATTO_2850
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, "TAT_SIT_LOOP_T", "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleZ = 0.0
$vomit_camZ = Char.SetSayContext($shop_keep_tattooZ, 328)
$tattoo_heading = 0
$9648 = 5

:TATTO_2930
if 
  $9648 == 5
goto_if_false @TATTO_4729
if 
  Char.IsDead($shop_keep_tattooZ)
goto_if_false @TATTO_3009
gosub @TATTO_7688
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$tattoo_name
goto_if_false @TATTO_3002
gosub @TATTO_7942

:TATTO_3002
goto @TATTO_515

:TATTO_3009
if 
  2 > $tattoo_heading
goto_if_false @TATTO_3041
gosub @TATTO_12199
gosub @TATTO_10845

:TATTO_3041
$ryder = 0
if 
  $tattoo_heading == 0
goto_if_false @TATTO_3116
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @TATTO_3091
$tattoo_heading = 1

:TATTO_3091
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @TATTO_3116
$tattoo_heading = 4

:TATTO_3116
if 
  $tattoo_heading == 1
goto_if_false @TATTO_3309
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @TATTO_3309
$ITEM2 = Menu.GetItemAccepted($sub_menu_shops)
if 
  0 > $ITEM2
goto_if_false @TATTO_3185
$ITEM2 = 0

:TATTO_3185
if 
  $ITEM2 == 9
goto_if_false @TATTO_3281
if 
  $sub_menu_drawn_shops == 1
goto_if_false @TATTO_3235
Menu.Delete($sub_menu_shops)
Text.ClearHelp
$sub_menu_drawn_shops = 0

:TATTO_3235
if 
  $9718 == 0
goto_if_false @TATTO_3260
gosub @TATTO_12301

:TATTO_3260
$tattoo_heading = 0
$9648 = 8
goto @TATTO_3309

:TATTO_3281
gosub @TATTO_8255
gosub @TATTO_8482
$9717 = 0
gosub @TATTO_13440

:TATTO_3309
if 
  $tattoo_heading == 2
goto_if_false @TATTO_3341
$9717 = 0
gosub @TATTO_13961

:TATTO_3341
if 
  $tattoo_heading == 3
goto_if_false @TATTO_3421
set_var_int_to_var_int $name_of_object_out_anim_tattoo = $ITEM2
if 
  $sub_menu_drawn_shops == 1
goto_if_false @TATTO_3399
Text.ClearHelp
Menu.Delete($sub_menu_shops)
$sub_menu_drawn_shops = 0

:TATTO_3399
$stored_item_picked_shops = 500
$9648 = 6
$tattoo_heading = 0

:TATTO_3421
if 
  $tattoo_heading == 4
goto_if_false @TATTO_3528
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @TATTO_3528
if 
  $sub_menu_drawn_shops == 1
goto_if_false @TATTO_3489
Menu.Delete($sub_menu_shops)
Text.ClearHelp
$sub_menu_drawn_shops = 0

:TATTO_3489
if 
  $2428 == 1
goto_if_false @TATTO_3521
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:TATTO_3521
$tattoo_heading = 5

:TATTO_3528
if 
  $tattoo_heading == 5
goto_if_false @TATTO_3842
$9717 = 0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_BACK_SIT_LOOP_P")
goto_if_false @TATTO_3663
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "TAT_BACK_SIT_OUT_P", "TATTOOS", 1000.0, False, False, False, True, -1)
$tattoo_needleX = 0.0
$tattoo_heading = 6
goto @TATTO_3842

:TATTO_3663
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "TAT_SIT_OUT_P", "TATTOOS", 1000.0, False, False, False, False, -1)
$tattoo_needleX = 0.0
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_3781
Object.PlayAnim($stored_tattoo_shop, "TAT_SIT_OUT_O", "TATTOOS", 1000.0, False, True)
$tattoo_needleY = 0.0

:TATTO_3781
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, "TAT_SIT_OUT_T", "TATTOOS", 1000.0, False, False, False, True, -1)
$tattoo_needleZ = 0.0
$tattoo_heading = 7

:TATTO_3842
if 
  $tattoo_heading == 6
goto_if_false @TATTO_4135
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_BACK_SIT_OUT_P")
goto_if_false @TATTO_3924
$tattoo_needleX = Char.GetAnimCurrentTime($stattreadstamina_ctr, "TAT_BACK_SIT_OUT_P")

:TATTO_3924
if 
  $tattoo_needleX == 1.0
goto_if_false @TATTO_4135
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "TAT_SIT_OUT_P", "TATTOOS", 1000.0, False, False, False, False, -1)
$tattoo_needleX = 0.0
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_4063
Object.PlayAnim($stored_tattoo_shop, "TAT_SIT_OUT_O", "TATTOOS", 1000.0, False, True)
$tattoo_needleY = 0.0

:TATTO_4063
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, "TAT_SIT_OUT_T", "TATTOOS", 1000.0, False, False, False, True, -1)
$vomit_camZ = Char.SetSayContext($shop_keep_tattooZ, 326)
$tattoo_needleZ = 0.0
$tattoo_heading = 7

:TATTO_4135
if 
  $tattoo_heading == 7
goto_if_false @TATTO_4446
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_SIT_OUT_P")
goto_if_false @TATTO_4207
$tattoo_needleX = Char.GetAnimCurrentTime($stattreadstamina_ctr, "TAT_SIT_OUT_P")

:TATTO_4207
if 
  Char.IsPlayingAnim($shop_keep_tattooZ, "TAT_SIT_OUT_T")
goto_if_false @TATTO_4261
$tattoo_needleZ = Char.GetAnimCurrentTime($shop_keep_tattooZ, "TAT_SIT_OUT_T")

:TATTO_4261
if 
  $tattoo_needleZ == 1.0
goto_if_false @TATTO_4404
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, "TAT_IDLE_LOOP_T", "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleZ = 0.0
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_4404
Object.PlayAnim($stored_tattoo_shop, "TAT_IDLE_LOOP_O", "TATTOOS", 1000.0, True, False)
$tattoo_needleY = 0.0

:TATTO_4404
if 
  $tattoo_needleX == 1.0
goto_if_false @TATTO_4446
$sub_menu_drawn_shops = 0
$2428 = 0
$tattoo_heading = 8

:TATTO_4446
if 
  $tattoo_heading == 8
goto_if_false @TATTO_4729
Player.GiveClothes($statbike_temp, $cam_point_tattooX, $cam_point_tattooY, BodyPart.Torso)
Player.BuildModel($statbike_temp)
Player.StoreClothesState
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('CLTHNO2')
Player.SetControl($statbike_temp, True)
Game.SetMinigameInProgress(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.DisplayRadar(True)
if 
  Char.IsPlayingAnim($shop_keep_tattooZ, "TAT_SIT_OUT_T")
goto_if_false @TATTO_4579
$tattoo_needleZ = Char.GetAnimCurrentTime($shop_keep_tattooZ, "TAT_SIT_OUT_T")

:TATTO_4579
if 
  $tattoo_needleZ == 1.0
goto_if_false @TATTO_4722
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, "TAT_IDLE_LOOP_T", "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleZ = 0.0
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_4722
Object.PlayAnim($stored_tattoo_shop, "TAT_IDLE_LOOP_O", "TATTOOS", 1000.0, True, False)
$tattoo_needleY = 0.0

:TATTO_4722
$9648 = 7

:TATTO_4729
if 
  $9648 == 6
goto_if_false @TATTO_6212
if 
  Char.IsDead($shop_keep_tattooZ)
goto_if_false @TATTO_4808
gosub @TATTO_7688
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$tattoo_name
goto_if_false @TATTO_4801
gosub @TATTO_7942

:TATTO_4801
goto @TATTO_515

:TATTO_4808
$ryder = 0
if 
  1 > $tattoo_heading
goto_if_false @TATTO_4840
gosub @TATTO_11454

:TATTO_4840
if 
  $tattoo_heading == 0
goto_if_false @TATTO_5038
$9704 = Menu.GetItemSelected($2427)
if 
  0 > $9704
goto_if_false @TATTO_4891
$9704 = 0

:TATTO_4891
if 
  not is_int_var_equal_to_int_var $stored_item_picked_shops == $9704
goto_if_false @TATTO_4925
gosub @TATTO_12186
set_var_int_to_var_int $stored_item_picked_shops = $9704

:TATTO_4925
gosub @TATTO_15586
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @TATTO_4985
$flag_on_neil_lowrider_mission = 0
$flag_bought_from_binco = 0
$item_price = 0
gosub @TATTO_15586
$tattoo_heading = 1

:TATTO_4985
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @TATTO_5038
gosub @TATTO_10572
$flag_on_neil_lowrider_mission = 0
$flag_bought_from_binco = 0
$item_price = 0
$tattoo_heading = 8

:TATTO_5038
if 
  $tattoo_heading == 8
goto_if_false @TATTO_5134
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @TATTO_5134
if 
  $2428 == 1
goto_if_false @TATTO_5106
Text.ClearHelp
Menu.Delete($2427)
$2428 = 0

:TATTO_5106
gosub @TATTO_12199
gosub @TATTO_10845
$tattoo_heading = 0
$9648 = 5

:TATTO_5134
if 
  $tattoo_heading == 1
goto_if_false @TATTO_5256
gosub @TATTO_15586
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @TATTO_5256
gosub @TATTO_15586
$2521 = Menu.GetItemAccepted($2427)
if 
  0 > $2521
goto_if_false @TATTO_5217
$2521 = 0

:TATTO_5217
set_var_int_to_var_int $car_class = $2442($2521,12i)
set_var_int_to_var_int $shop_keep_heading_tattoo = $2430($2521,12i)
$flag_1st_time_nitro_shop = Player.StoreScore($statbike_temp)
$tattoo_heading = 2

:TATTO_5256
if 
  $tattoo_heading == 2
goto_if_false @TATTO_6015
gosub @TATTO_15586
if 
  is_int_var_greater_or_equal_to_int_var $flag_1st_time_nitro_shop >= $shop_keep_heading_tattoo
goto_if_false @TATTO_5942
gosub @TATTO_15586
if 
  not is_int_var_equal_to_int_var $flag_player_owned_item_shops == $car_class
goto_if_false @TATTO_5873
if 
  $2428 == 1
goto_if_false @TATTO_5358
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:TATTO_5358
$vomit_camZ = Char.SetSayContext($shop_keep_tattooZ, 318)
Shopping.BuyItem($car_class)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1054)
if 
  $2428 == 1
goto_if_false @TATTO_5420
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:TATTO_5420
if 
  $item_price == 0
goto_if_false @TATTO_5845
if 
is_xbox_version 
goto_if_false @TATTO_5495
$price_counter = Menu.Create('TATTO', 29.0, 50.0, 93.0, 2, False, True, 1)
goto @TATTO_5532

:TATTO_5495
$price_counter = Menu.Create('TATTO', 29.0, 25.0, 93.0, 2, False, True, 1)

:TATTO_5532
Menu.SetColumnOrientation($price_counter, 0, 1)
Menu.SetColumn($price_counter, 0, 'TATTO', 'BOUGHT', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnOrientation($price_counter, 1, 2)
Menu.SetColumn($price_counter, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber($price_counter, 1, 0, 'DOLLAR', $shop_keep_heading_tattoo)
Menu.SetColumnWidth($price_counter, 0, 140)
Menu.SetColumnWidth($price_counter, 1, 46)
$item_price = 1

:TATTO_5845
$9717 = 0
gosub @TATTO_14356
$tattoo_heading = 3
goto @TATTO_5935

:TATTO_5873
if 
  $flag_bought_from_binco == 0
goto_if_false @TATTO_5935
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
Text.PrintNow('CLTHNO2', 5000, 1)
$tattoo_heading = 0
$flag_bought_from_binco = 1

:TATTO_5935
goto @TATTO_6015

:TATTO_5942
if 
  $flag_on_neil_lowrider_mission == 0
goto_if_false @TATTO_6015
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
$vomit_camZ = Char.SetSayContext($shop_keep_tattooZ, 319)
Text.PrintNow('SHOPNO', 5000, 1)
$tattoo_heading = 0
$flag_on_neil_lowrider_mission = 1

:TATTO_6015
if 
  $tattoo_heading == 3
goto_if_false @TATTO_6047
$9717 = 0
gosub @TATTO_14498

:TATTO_6047
if 
  $tattoo_heading == 4
goto_if_false @TATTO_6086
$9717 = 0
gosub @TATTO_14830
$tattoo_heading = 5

:TATTO_6086
if 
  $tattoo_heading == 5
goto_if_false @TATTO_6118
$9717 = 0
gosub @TATTO_14968

:TATTO_6118
if 
  $tattoo_heading == 6
goto_if_false @TATTO_6212
if 
  $item_price == 1
goto_if_false @TATTO_6166
Menu.Delete($price_counter)
$item_price = 0

:TATTO_6166
$tattoo_heading = 0
$9648 = 5
if 
  2 > $tattoo_heading
goto_if_false @TATTO_6212
gosub @TATTO_12199
gosub @TATTO_10845

:TATTO_6212
if 
  $9648 == 7
goto_if_false @TATTO_6779
if 
  Char.IsDead($shop_keep_tattooZ)
goto_if_false @TATTO_6291
gosub @TATTO_7688
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$tattoo_name
goto_if_false @TATTO_6284
gosub @TATTO_7942

:TATTO_6284
goto @TATTO_515

:TATTO_6291
if 
  $shop_keep_tattoo == 0
goto_if_false @TATTO_6426
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, $shop_keep_tattooZ)
  Char.HasBeenDamagedByWeapon($shop_keep_tattooZ, WeaponType.AnyWeapon)
goto_if_false @TATTO_6426
$vomit_camZ = Char.SetSayContext($shop_keep_tattooZ, 322)
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_6412
Object.PlayAnim($stored_tattoo_shop, "TAT_DROP_O", "TATTOOS", 1000.0, False, True)
$tattoo_needleY = 0.0

:TATTO_6412
Task.HandsUp($shop_keep_tattooZ, -2)
$shop_keep_tattoo = 1

:TATTO_6426
if 
  Char.IsPlayingAnim($shop_keep_tattooZ, "TAT_SIT_OUT_T")
goto_if_false @TATTO_6480
$tattoo_needleZ = Char.GetAnimCurrentTime($shop_keep_tattooZ, "TAT_SIT_OUT_T")

:TATTO_6480
if 
  $tattoo_needleZ == 1.0
goto_if_false @TATTO_6623
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, "TAT_IDLE_LOOP_T", "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleZ = 0.0
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_6623
Object.PlayAnim($stored_tattoo_shop, "TAT_IDLE_LOOP_O", "TATTOOS", 1000.0, True, False)
$tattoo_needleY = 0.0

:TATTO_6623
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX, 1.0, 1.0, 4.0, $ryder)
goto_if_false @TATTO_6779
$9648 = 2
$tattoo_heading = 0
$sub_menu_drawn_shops = 0
$2428 = 0
$name_of_object_out_anim_tattoo = 0
$ITEM2 = 0
$2521 = 0
$flag_in_remove_tattoo_section = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('CLTHNO2')
$ryder = 1

:TATTO_6779
if 
  $9648 == 8
goto_if_false @TATTO_7653
if 
  Char.IsDead($shop_keep_tattooZ)
goto_if_false @TATTO_6858
gosub @TATTO_7688
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$tattoo_name
goto_if_false @TATTO_6851
gosub @TATTO_7942

:TATTO_6851
goto @TATTO_515

:TATTO_6858
if 
  1 > $tattoo_heading
goto_if_false @TATTO_6901
if 
  $9718 == 0
goto_if_false @TATTO_6901
gosub @TATTO_12301

:TATTO_6901
if 
  $tattoo_heading == 0
goto_if_false @TATTO_6983
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @TATTO_6951
$flag_on_neil_lowrider_mission = 0
$tattoo_heading = 1

:TATTO_6951
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @TATTO_6983
$flag_on_neil_lowrider_mission = 0
$tattoo_heading = 2

:TATTO_6983
if 
  $tattoo_heading == 1
goto_if_false @TATTO_7104
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @TATTO_7104
if 
  $9718 == 1
goto_if_false @TATTO_7051
Menu.Delete($9719)
Text.ClearHelp
$9718 = 0

:TATTO_7051
if 
  $sub_menu_drawn_shops == 0
goto_if_false @TATTO_7083
gosub @TATTO_12199
gosub @TATTO_10845

:TATTO_7083
$flag_on_neil_lowrider_mission = 0
$tattoo_heading = 0
$9648 = 5

:TATTO_7104
if 
  $tattoo_heading == 2
goto_if_false @TATTO_7371
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @TATTO_7371
$flag_1st_time_nitro_shop = Player.StoreScore($statbike_temp)
if 
  $flag_1st_time_nitro_shop >= 400
goto_if_false @TATTO_7298
$flag_in_remove_tattoo_section = Menu.GetItemAccepted($9719)
if 
  0 > $flag_in_remove_tattoo_section
goto_if_false @TATTO_7200
$flag_in_remove_tattoo_section = 0

:TATTO_7200
if 
  $9718 == 1
goto_if_false @TATTO_7232
Menu.Delete($9719)
Text.ClearHelp
$9718 = 0

:TATTO_7232
set_var_int_to_var_int $flag_bought_from_suburban = $menu_two_item_hilighted($flag_in_remove_tattoo_section,9i)
gosub @TATTO_8482
Player.AddScore($statbike_temp, -400)
$vomit_camZ = Char.SetSayContext($shop_keep_tattooZ, 321)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1054)
$tattoo_heading = 3
goto @TATTO_7371

:TATTO_7298
if 
  $flag_on_neil_lowrider_mission == 0
goto_if_false @TATTO_7371
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
$vomit_camZ = Char.SetSayContext($shop_keep_tattooZ, 319)
Text.PrintNow('SHOPNO', 5000, 1)
$tattoo_heading = 0
$flag_on_neil_lowrider_mission = 1

:TATTO_7371
if 
  $tattoo_heading == 3
goto_if_false @TATTO_7403
$9717 = 1
gosub @TATTO_13440

:TATTO_7403
if 
  $tattoo_heading == 4
goto_if_false @TATTO_7435
$9717 = 1
gosub @TATTO_13961

:TATTO_7435
if 
  $tattoo_heading == 5
goto_if_false @TATTO_7486
Player.GiveClothes($statbike_temp, 0, 0, $flag_bought_from_suburban)
$9717 = 1
gosub @TATTO_14356
$tattoo_heading = 6

:TATTO_7486
if 
  $tattoo_heading == 6
goto_if_false @TATTO_7518
$9717 = 1
gosub @TATTO_14498

:TATTO_7518
if 
  $tattoo_heading == 7
goto_if_false @TATTO_7557
$9717 = 1
gosub @TATTO_14830
$tattoo_heading = 8

:TATTO_7557
if 
  $tattoo_heading == 8
goto_if_false @TATTO_7589
$9717 = 1
gosub @TATTO_14968

:TATTO_7589
if 
  $tattoo_heading == 9
goto_if_false @TATTO_7653
$tattoo_heading = 0
$9648 = 5
if 
  2 > $tattoo_heading
goto_if_false @TATTO_7653
gosub @TATTO_12199
gosub @TATTO_10845

:TATTO_7653
goto @TATTO_7667

:TATTO_7660
gosub @TATTO_7942

:TATTO_7667
goto @TATTO_7681

:TATTO_7674
gosub @TATTO_7942

:TATTO_7681
goto @TATTO_515

:TATTO_7688
if 
  $9648 >= 1
goto_if_false @TATTO_7708
Text.ClearHelp

:TATTO_7708
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('CLTHNO2')
if 
  $sub_menu_drawn_shops == 1
goto_if_false @TATTO_7762
Menu.Delete($sub_menu_shops)
Text.ClearHelp
$sub_menu_drawn_shops = 0

:TATTO_7762
if 
  $2428 == 1
goto_if_false @TATTO_7794
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:TATTO_7794
if 
  $9718 == 1
goto_if_false @TATTO_7826
Menu.Delete($9719)
Text.ClearHelp
$9718 = 0

:TATTO_7826
if 
  $item_price == 1
goto_if_false @TATTO_7856
Menu.Delete($price_counter)
$item_price = 0

:TATTO_7856
$bought_menu_drawn_shops = 0
$item_price = 0
$sub_menu_drawn_shops = 0
$2428 = 0
$name_of_object_out_anim_tattoo = 0
$ITEM2 = 0
$2521 = 0
$flag_in_remove_tattoo_section = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$9648 = 2
$tattoo_heading = 0
return 

:TATTO_7942
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('CLTHNO2')
$ryder = 1
$shop_keep_tattoo = 0
$9648 = 0
$tattoo_heading = 0
if 
  $sub_menu_drawn_shops == 1
goto_if_false @TATTO_8024
Menu.Delete($sub_menu_shops)
Text.ClearHelp
$sub_menu_drawn_shops = 0

:TATTO_8024
if 
  $2428 == 1
goto_if_false @TATTO_8056
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:TATTO_8056
if 
  $9718 == 1
goto_if_false @TATTO_8088
Menu.Delete($9719)
Text.ClearHelp
$9718 = 0

:TATTO_8088
if 
  $item_price == 1
goto_if_false @TATTO_8118
Menu.Delete($price_counter)
$item_price = 0

:TATTO_8118
$sub_menu_drawn_shops = 0
$2428 = 0
$name_of_object_out_anim_tattoo = 0
$ITEM2 = 0
$2521 = 0
$flag_in_remove_tattoo_section = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
if 
  not Char.IsDead($shop_keep_tattooZ)
goto_if_false @TATTO_8209
Char.DetachFromCar($shop_keep_tattooZ)

:TATTO_8209
Object.Delete($stored_tattoo_shop)
Streaming.MarkModelAsNoLongerNeeded(#TATTOO_KIT)
Char.Delete($shop_keep_tattooZ)
Streaming.MarkModelAsNoLongerNeeded($main_menu_shops)
Txd.Remove
Text.UseCommands(False)
Hud.DisplayRadar(True)
Stat.ShowUpdateStats(True)
Game.SetMinigameInProgress(False)
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
terminate_this_script 
return 

:TATTO_8255
if 
  $ITEM2 == 0
goto_if_false @TATTO_8280
set_var_int_to_constant $flag_bought_from_suburban = 4

:TATTO_8280
if 
  $ITEM2 == 1
goto_if_false @TATTO_8305
set_var_int_to_constant $flag_bought_from_suburban = 5

:TATTO_8305
if 
  $ITEM2 == 2
goto_if_false @TATTO_8330
set_var_int_to_constant $flag_bought_from_suburban = 6

:TATTO_8330
if 
  $ITEM2 == 3
goto_if_false @TATTO_8355
set_var_int_to_constant $flag_bought_from_suburban = 7

:TATTO_8355
if 
  $ITEM2 == 4
goto_if_false @TATTO_8380
set_var_int_to_constant $flag_bought_from_suburban = 8

:TATTO_8380
if 
  $ITEM2 == 5
goto_if_false @TATTO_8405
set_var_int_to_constant $flag_bought_from_suburban = 9

:TATTO_8405
if 
  $ITEM2 == 6
goto_if_false @TATTO_8430
set_var_int_to_constant $flag_bought_from_suburban = 10

:TATTO_8430
if 
  $ITEM2 == 7
goto_if_false @TATTO_8455
set_var_int_to_constant $flag_bought_from_suburban = 11

:TATTO_8455
if 
  $ITEM2 == 8
goto_if_false @TATTO_8480
set_var_int_to_constant $flag_bought_from_suburban = 12

:TATTO_8480
return 

:TATTO_8482
if 
  is_int_var_equal_to_constant $flag_bought_from_suburban == 4
goto_if_false @TATTO_8717
$shop_sub_item_picked_shops = 4
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @TATTO_10572
set_var_text_label16 v$tex_tattoo = "TAT_ARML_IN_P"
set_var_text_label16 v$name_of_player_in_anim_tattoo = "TAT_ARML_IN_T"
set_var_text_label16 v$name_of_shop_in_anim_tattoo = "TAT_ARML_IN_O"
set_var_text_label16 v$name_of_object_in_anim_tattoo = "TAT_ARML_POSE_P"
set_var_text_label16 v$name_of_player_pose_anim_tattoo = "TAT_ARML_POSE_T"
set_var_text_label16 v$name_of_shop_pose_anim_tattoo = "TAT_ARML_POSE_O"
set_var_text_label16 v$name_of_object_pose_anim_tattoo = "TAT_ARML_OUT_P"
set_var_text_label16 v$name_of_player_out_anim_tattoo = "TAT_ARML_OUT_T"
set_var_text_label16 v$name_of_shop_out_anim_tattoo = "TAT_ARML_OUT_O"

:TATTO_8717
if 
  is_int_var_equal_to_constant $flag_bought_from_suburban == 5
goto_if_false @TATTO_8952
$shop_sub_item_picked_shops = 5
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @TATTO_10572
set_var_text_label16 v$tex_tattoo = "TAT_ARML_IN_P"
set_var_text_label16 v$name_of_player_in_anim_tattoo = "TAT_ARML_IN_T"
set_var_text_label16 v$name_of_shop_in_anim_tattoo = "TAT_ARML_IN_O"
set_var_text_label16 v$name_of_object_in_anim_tattoo = "TAT_ARML_POSE_P"
set_var_text_label16 v$name_of_player_pose_anim_tattoo = "TAT_ARML_POSE_T"
set_var_text_label16 v$name_of_shop_pose_anim_tattoo = "TAT_ARML_POSE_O"
set_var_text_label16 v$name_of_object_pose_anim_tattoo = "TAT_ARML_OUT_P"
set_var_text_label16 v$name_of_player_out_anim_tattoo = "TAT_ARML_OUT_T"
set_var_text_label16 v$name_of_shop_out_anim_tattoo = "TAT_ARML_OUT_O"

:TATTO_8952
if 
  is_int_var_equal_to_constant $flag_bought_from_suburban == 6
goto_if_false @TATTO_9187
$shop_sub_item_picked_shops = 6
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @TATTO_10572
set_var_text_label16 v$tex_tattoo = "TAT_ARMR_IN_P"
set_var_text_label16 v$name_of_player_in_anim_tattoo = "TAT_ARMR_IN_T"
set_var_text_label16 v$name_of_shop_in_anim_tattoo = "TAT_ARMR_IN_O"
set_var_text_label16 v$name_of_object_in_anim_tattoo = "TAT_ARMR_POSE_P"
set_var_text_label16 v$name_of_player_pose_anim_tattoo = "TAT_ARMR_POSE_T"
set_var_text_label16 v$name_of_shop_pose_anim_tattoo = "TAT_ARMR_POSE_O"
set_var_text_label16 v$name_of_object_pose_anim_tattoo = "TAT_ARMR_OUT_P"
set_var_text_label16 v$name_of_player_out_anim_tattoo = "TAT_ARMR_OUT_T"
set_var_text_label16 v$name_of_shop_out_anim_tattoo = "TAT_ARMR_OUT_O"

:TATTO_9187
if 
  is_int_var_equal_to_constant $flag_bought_from_suburban == 7
goto_if_false @TATTO_9422
$shop_sub_item_picked_shops = 7
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @TATTO_10572
set_var_text_label16 v$tex_tattoo = "TAT_ARMR_IN_P"
set_var_text_label16 v$name_of_player_in_anim_tattoo = "TAT_ARMR_IN_T"
set_var_text_label16 v$name_of_shop_in_anim_tattoo = "TAT_ARMR_IN_O"
set_var_text_label16 v$name_of_object_in_anim_tattoo = "TAT_ARMR_POSE_P"
set_var_text_label16 v$name_of_player_pose_anim_tattoo = "TAT_ARMR_POSE_T"
set_var_text_label16 v$name_of_shop_pose_anim_tattoo = "TAT_ARMR_POSE_O"
set_var_text_label16 v$name_of_object_pose_anim_tattoo = "TAT_ARMR_OUT_P"
set_var_text_label16 v$name_of_player_out_anim_tattoo = "TAT_ARMR_OUT_T"
set_var_text_label16 v$name_of_shop_out_anim_tattoo = "TAT_ARMR_OUT_O"

:TATTO_9422
if 
  is_int_var_equal_to_constant $flag_bought_from_suburban == 8
goto_if_false @TATTO_9657
$shop_sub_item_picked_shops = 8
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @TATTO_10572
set_var_text_label16 v$tex_tattoo = "TAT_BACK_IN_P"
set_var_text_label16 v$name_of_player_in_anim_tattoo = "TAT_BACK_IN_T"
set_var_text_label16 v$name_of_shop_in_anim_tattoo = "TAT_BACK_IN_O"
set_var_text_label16 v$name_of_object_in_anim_tattoo = "TAT_BACK_POSE_P"
set_var_text_label16 v$name_of_player_pose_anim_tattoo = "TAT_BACK_POSE_T"
set_var_text_label16 v$name_of_shop_pose_anim_tattoo = "TAT_BACK_POSE_O"
set_var_text_label16 v$name_of_object_pose_anim_tattoo = "TAT_BACK_OUT_P"
set_var_text_label16 v$name_of_player_out_anim_tattoo = "TAT_BACK_OUT_T"
set_var_text_label16 v$name_of_shop_out_anim_tattoo = "TAT_BACK_OUT_O"

:TATTO_9657
if 
  is_int_var_equal_to_constant $flag_bought_from_suburban == 9
goto_if_false @TATTO_9883
$shop_sub_item_picked_shops = 9
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @TATTO_10572
set_var_text_label16 v$tex_tattoo = "TAT_CHE_IN_P"
set_var_text_label16 v$name_of_player_in_anim_tattoo = "TAT_CHE_IN_T"
set_var_text_label16 v$name_of_shop_in_anim_tattoo = "TAT_CHE_IN_O"
set_var_text_label16 v$name_of_object_in_anim_tattoo = "TAT_CHE_POSE_P"
set_var_text_label16 v$name_of_player_pose_anim_tattoo = "TAT_CHE_POSE_T"
set_var_text_label16 v$name_of_shop_pose_anim_tattoo = "TAT_CHE_POSE_O"
set_var_text_label16 v$name_of_object_pose_anim_tattoo = "TAT_CHE_OUT_P"
set_var_text_label16 v$name_of_player_out_anim_tattoo = "TAT_CHE_OUT_T"
set_var_text_label16 v$name_of_shop_out_anim_tattoo = "TAT_CHE_OUT_O"

:TATTO_9883
if 
  is_int_var_equal_to_constant $flag_bought_from_suburban == 10
goto_if_false @TATTO_10109
$shop_sub_item_picked_shops = 10
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @TATTO_10572
set_var_text_label16 v$tex_tattoo = "TAT_CHE_IN_P"
set_var_text_label16 v$name_of_player_in_anim_tattoo = "TAT_CHE_IN_T"
set_var_text_label16 v$name_of_shop_in_anim_tattoo = "TAT_CHE_IN_O"
set_var_text_label16 v$name_of_object_in_anim_tattoo = "TAT_CHE_POSE_P"
set_var_text_label16 v$name_of_player_pose_anim_tattoo = "TAT_CHE_POSE_T"
set_var_text_label16 v$name_of_shop_pose_anim_tattoo = "TAT_CHE_POSE_O"
set_var_text_label16 v$name_of_object_pose_anim_tattoo = "TAT_CHE_OUT_P"
set_var_text_label16 v$name_of_player_out_anim_tattoo = "TAT_CHE_OUT_T"
set_var_text_label16 v$name_of_shop_out_anim_tattoo = "TAT_CHE_OUT_O"

:TATTO_10109
if 
  is_int_var_equal_to_constant $flag_bought_from_suburban == 11
goto_if_false @TATTO_10335
$shop_sub_item_picked_shops = 11
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @TATTO_10572
set_var_text_label16 v$tex_tattoo = "TAT_CHE_IN_P"
set_var_text_label16 v$name_of_player_in_anim_tattoo = "TAT_BEL_IN_T"
set_var_text_label16 v$name_of_shop_in_anim_tattoo = "TAT_BEL_IN_O"
set_var_text_label16 v$name_of_object_in_anim_tattoo = "TAT_CHE_POSE_P"
set_var_text_label16 v$name_of_player_pose_anim_tattoo = "TAT_BEL_POSE_T"
set_var_text_label16 v$name_of_shop_pose_anim_tattoo = "TAT_BEL_POSE_O"
set_var_text_label16 v$name_of_object_pose_anim_tattoo = "TAT_CHE_OUT_P"
set_var_text_label16 v$name_of_player_out_anim_tattoo = "TAT_BEL_OUT_T"
set_var_text_label16 v$name_of_shop_out_anim_tattoo = "TAT_BEL_OUT_O"

:TATTO_10335
if 
  is_int_var_equal_to_constant $flag_bought_from_suburban == 12
goto_if_false @TATTO_10570
$shop_sub_item_picked_shops = 12
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @TATTO_10572
set_var_text_label16 v$tex_tattoo = "TAT_BACK_IN_P"
set_var_text_label16 v$name_of_player_in_anim_tattoo = "TAT_BACK_IN_T"
set_var_text_label16 v$name_of_shop_in_anim_tattoo = "TAT_BACK_IN_O"
set_var_text_label16 v$name_of_object_in_anim_tattoo = "TAT_BACK_POSE_P"
set_var_text_label16 v$name_of_player_pose_anim_tattoo = "TAT_BACK_POSE_T"
set_var_text_label16 v$name_of_shop_pose_anim_tattoo = "TAT_BACK_POSE_O"
set_var_text_label16 v$name_of_object_pose_anim_tattoo = "TAT_BACK_OUT_P"
set_var_text_label16 v$name_of_player_out_anim_tattoo = "TAT_BACK_OUT_T"
set_var_text_label16 v$name_of_shop_out_anim_tattoo = "TAT_BACK_OUT_O"

:TATTO_10570
return 

:TATTO_10572
$ITEM1 = 0
$9703 = 0

:TATTO_10586
if 
  is_int_var_greater_than_int_var $9702 > $ITEM1
goto_if_false @TATTO_10763
$car_class = Shopping.GetItem($ITEM1)
$item_no_shops = Shopping.GetExtraInfo($car_class, 0)
if 
  is_int_var_equal_to_int_var $item_no_shops == $shop_sub_item_picked_shops
goto_if_false @TATTO_10749
set_var_int_to_var_int $2442($9703,12i) = $car_class
s$shop_keep_tattooX = Shopping.GetNameOfItem($car_class)
$shop_keep_heading_tattoo = Shopping.GetPriceOfItem($car_class)
set_var_int_to_var_int $2430($9703,12i) = $shop_keep_heading_tattoo
set_var_text_label $2454($9703,12s) = s$shop_keep_tattooX
if 
  is_int_var_equal_to_int_var $flag_player_owned_item_shops == $car_class
goto_if_false @TATTO_10731
$2502($9703,12i) = 0
goto @TATTO_10742

:TATTO_10731
$2502($9703,12i) = 1

:TATTO_10742
$9703 += 1

:TATTO_10749
$ITEM1 += 1
goto @TATTO_10586

:TATTO_10763
set_var_int_to_var_int $2519 = $9703

:TATTO_10771
if 
  12 > $2519
goto_if_false @TATTO_10843
$2442($2519,12i) = -1
$2430($2519,12i) = 0
set_var_text_label $2454($2519,12s) = 'DUMMY'
$2519 += 1
goto @TATTO_10771

:TATTO_10843
return 

:TATTO_10845
if 
  $sub_menu_drawn_shops == 0
goto_if_false @TATTO_11452
Text.PrintHelpForever('TATTA')
set_var_text_label s$ITEM3 = 'LARMTP'
set_var_text_label s$ITEM4 = 'LARMLW'
set_var_text_label s$ITEM5 = 'RARMTP'
set_var_text_label s$ITEM6 = 'RARMLW'
set_var_text_label s$ITEM7 = 'BACK'
set_var_text_label s$ITEM8 = 'LCHEST'
set_var_text_label s$ITEM9 = 'RCHEST'
set_var_text_label s$ITEM10 = 'BELLY'
set_var_text_label s$ITEM11 = 'LBACK'
if 
  $number_of_tattoos_in_area > 0
goto_if_false @TATTO_11039
set_var_text_label s$ITEM12 = 'TATREM'
goto @TATTO_11053

:TATTO_11039
set_var_text_label s$ITEM12 = 'DUMMY'

:TATTO_11053
set_var_text_label s$player_item_texture_shops = 'DUMMY'
set_var_text_label s$flag_no_money_shops = 'DUMMY'
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @TATTO_11143
$sub_menu_shops = Menu.Create('TATTO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @TATTO_11384

:TATTO_11143
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @TATTO_11205
$sub_menu_shops = Menu.Create('TATTO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @TATTO_11384

:TATTO_11205
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @TATTO_11267
$sub_menu_shops = Menu.Create('TATTO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @TATTO_11384

:TATTO_11267
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @TATTO_11329
$sub_menu_shops = Menu.Create('TATTO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @TATTO_11384

:TATTO_11329
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @TATTO_11384
$sub_menu_shops = Menu.Create('TATTO', 29.0, 145.0, 186.0, 1, True, True, 1)

:TATTO_11384
Menu.SetColumnOrientation($sub_menu_shops, 1, 1)
Menu.SetColumn($sub_menu_shops, 0, 'DUMMY', s$ITEM3, s$ITEM4, s$ITEM5, s$ITEM6, s$ITEM7, s$ITEM8, s$ITEM9, s$ITEM10, s$ITEM11, s$ITEM12, s$player_item_texture_shops, s$flag_no_money_shops)
$sub_menu_drawn_shops = 1

:TATTO_11452
return 

:TATTO_11454
if 
  $2428 == 0
goto_if_false @TATTO_12184
Text.PrintHelpForever('TATTB')
if 
is_xbox_version 
goto_if_false @TATTO_11540
$2427 = Menu.Create('TATTO', 29.0, 155.0, 93.0, 2, True, True, 1)
goto @TATTO_11843

:TATTO_11540
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @TATTO_11602
$2427 = Menu.Create('TATTO', 29.0, 145.0, 93.0, 2, True, True, 1)
goto @TATTO_11843

:TATTO_11602
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @TATTO_11664
$2427 = Menu.Create('TATTO', 29.0, 145.0, 93.0, 2, True, True, 1)
goto @TATTO_11843

:TATTO_11664
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @TATTO_11726
$2427 = Menu.Create('TATTO', 29.0, 165.0, 93.0, 2, True, True, 1)
goto @TATTO_11843

:TATTO_11726
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @TATTO_11788
$2427 = Menu.Create('TATTO', 29.0, 145.0, 93.0, 2, True, True, 1)
goto @TATTO_11843

:TATTO_11788
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @TATTO_11843
$2427 = Menu.Create('TATTO', 29.0, 145.0, 93.0, 2, True, True, 1)

:TATTO_11843
Menu.SetColumnOrientation($2427, 0, 1)
Menu.SetColumn($2427, 0, 'TATTO', s$2454[0], s$2454[1], s$2454[2], s$2454[3], s$2454[4], s$2454[5], s$2454[6], s$2454[7], s$2454[8], s$2454[9], s$2454[10], s$2454[11])
Menu.SetColumnOrientation($2427, 1, 2)
Menu.SetColumn($2427, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
$2429 = 0

:TATTO_12044
if 
  is_int_var_greater_than_int_var $9703 > $2429
goto_if_false @TATTO_12103
Menu.SetItemWithNumber($2427, 1, $2429, 'DOLLAR', $2430($2429,12i))
$2429 += 1
goto @TATTO_12044

:TATTO_12103
$2519 = 0

:TATTO_12110
if 
  is_int_var_greater_than_int_var $9703 > $2519
goto_if_false @TATTO_12158
Menu.ActivateItem($2427, $2519, $2502($2519,12i))
$2519 += 1
goto @TATTO_12110

:TATTO_12158
Menu.SetColumnWidth($2427, 0, 140)
Menu.SetColumnWidth($2427, 1, 46)
$2428 = 1

:TATTO_12184
return 

:TATTO_12186
Txd.LoadSprite(1, $2454($9704,12s))
return 

:TATTO_12199
$2519 = 0
$number_of_tattoos_in_area = 0

:TATTO_12213
if 
  9 > $2519
goto_if_false @TATTO_12299
set_var_int_to_constant $number_of_tats_in_shop = 4
add_int_var_to_int_var $number_of_tats_in_shop += $2519
$cam_point_tattooZ, $shop_progress_tattoo = Player.GetClothesItem($statbike_temp, $number_of_tats_in_shop)
if 
  $cam_point_tattooZ <> 0
goto_if_false @TATTO_12285
$number_of_tattoos_in_area += 1

:TATTO_12285
$2519 += 1
goto @TATTO_12213

:TATTO_12299
return 

:TATTO_12301
if 
  $9718 == 0
goto_if_false @TATTO_13438
$9720 = 0
$2519 = 0

:TATTO_12333
if 
  9 > $2519
goto_if_false @TATTO_12784
set_var_int_to_constant $number_of_tats_in_shop = 4
add_int_var_to_int_var $number_of_tats_in_shop += $2519
$cam_point_tattooZ, $shop_progress_tattoo = Player.GetClothesItem($statbike_temp, $number_of_tats_in_shop)
if 
  $cam_point_tattooZ <> 0
goto_if_false @TATTO_12770
set_var_int_to_var_int $menu_two_item_hilighted($9720,9i) = $number_of_tats_in_shop
switch_start $number_of_tats_in_shop {numCases} 9 {hasDefaultCase} 0 {defaultLabel} @TATTO_12763 {caseNum1} 4 {caseLabel1} @TATTO_12538 {caseNum2} 5 {caseLabel2} @TATTO_12563 {caseNum3} 6 {caseLabel3} @TATTO_12588 {caseNum4} 7 {caseLabel4} @TATTO_12613 {caseNum5} 8 {caseLabel5} @TATTO_12638 {caseNum6} 9 {caseLabel6} @TATTO_12663 {caseNum7} 10 {caseLabel7} @TATTO_12688
switch_continued 11 {caseLabel1} @TATTO_12713 {caseNum2} 12 {caseLabel2} @TATTO_12738 {caseNum3} -1 {caseLabel3} @TATTO_12763 {caseNum4} -1 {caseLabel4} @TATTO_12763 {caseNum5} -1 {caseLabel5} @TATTO_12763 {caseNum6} -1 {caseLabel6} @TATTO_12763 {caseNum7} -1 {caseLabel7} @TATTO_12763 {caseNum8} -1 {caseLabel8} @TATTO_12763 {caseNum9} -1 {caseLabel9} @TATTO_12763

:TATTO_12538
set_var_text_label $2454($9720,12s) = 'LARMTP'
goto @TATTO_12763

:TATTO_12563
set_var_text_label $2454($9720,12s) = 'LARMLW'
goto @TATTO_12763

:TATTO_12588
set_var_text_label $2454($9720,12s) = 'RARMTP'
goto @TATTO_12763

:TATTO_12613
set_var_text_label $2454($9720,12s) = 'RARMLW'
goto @TATTO_12763

:TATTO_12638
set_var_text_label $2454($9720,12s) = 'BACK'
goto @TATTO_12763

:TATTO_12663
set_var_text_label $2454($9720,12s) = 'LCHEST'
goto @TATTO_12763

:TATTO_12688
set_var_text_label $2454($9720,12s) = 'RCHEST'
goto @TATTO_12763

:TATTO_12713
set_var_text_label $2454($9720,12s) = 'BELLY'
goto @TATTO_12763

:TATTO_12738
set_var_text_label $2454($9720,12s) = 'LBACK'
goto @TATTO_12763

:TATTO_12763
$9720 += 1

:TATTO_12770
$2519 += 1
goto @TATTO_12333

:TATTO_12784
set_var_int_to_var_int $2519 = $9720

:TATTO_12792
if 
  12 > $2519
goto_if_false @TATTO_12842
set_var_text_label $2454($2519,12s) = 'DUMMY'
$2519 += 1
goto @TATTO_12792

:TATTO_12842
Text.PrintHelpForever('TATTA')
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @TATTO_12915
$9719 = Menu.Create('TATTO', 29.0, 145.0, 93.0, 2, True, True, 1)
goto @TATTO_13156

:TATTO_12915
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @TATTO_12977
$9719 = Menu.Create('TATTO', 29.0, 165.0, 93.0, 2, True, True, 1)
goto @TATTO_13156

:TATTO_12977
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @TATTO_13039
$9719 = Menu.Create('TATTO', 29.0, 165.0, 93.0, 2, True, True, 1)
goto @TATTO_13156

:TATTO_13039
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @TATTO_13101
$9719 = Menu.Create('TATTO', 29.0, 145.0, 93.0, 2, True, True, 1)
goto @TATTO_13156

:TATTO_13101
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @TATTO_13156
$9719 = Menu.Create('TATTO', 29.0, 145.0, 93.0, 2, True, True, 1)

:TATTO_13156
Menu.SetColumnOrientation($9719, 0, 1)
Menu.SetColumn($9719, 0, 'TATTO', s$2454[0], s$2454[1], s$2454[2], s$2454[3], s$2454[4], s$2454[5], s$2454[6], s$2454[7], s$2454[8], s$2454[9], s$2454[10], s$2454[11])
Menu.SetColumnOrientation($9719, 1, 2)
Menu.SetColumn($9719, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
$2429 = 0

:TATTO_13357
if 
  is_int_var_greater_than_int_var $9720 > $2429
goto_if_false @TATTO_13412
Menu.SetItemWithNumber($2427, 1, $2429, 'DOLLAR', 400)
$2429 += 1
goto @TATTO_13357

:TATTO_13412
Menu.SetColumnWidth($9719, 0, 140)
Menu.SetColumnWidth($9719, 1, 46)
$9718 = 1

:TATTO_13438
return 

:TATTO_13440
if or
  is_int_var_equal_to_constant $flag_bought_from_suburban == 8
  is_int_var_equal_to_constant $flag_bought_from_suburban == 12
goto_if_false @TATTO_13714
if 
  not Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_BACK_SIT_LOOP_P")
goto_if_false @TATTO_13668
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "TAT_BACK_SIT_IN_P", "TATTOOS", 1000.0, False, False, False, True, -1)
$tattoo_needleX = 0.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_BACK_SIT_IN_P")
goto_if_false @TATTO_13622
$tattoo_needleX = Char.GetAnimCurrentTime($stattreadstamina_ctr, "TAT_BACK_SIT_IN_P")

:TATTO_13622
if 
  $9717 == 1
goto_if_false @TATTO_13654
$tattoo_heading = 4
goto @TATTO_13661

:TATTO_13654
$tattoo_heading = 2

:TATTO_13661
goto @TATTO_13707

:TATTO_13668
if 
  $9717 == 1
goto_if_false @TATTO_13700
$tattoo_heading = 5
goto @TATTO_13707

:TATTO_13700
$tattoo_heading = 3

:TATTO_13707
goto @TATTO_13959

:TATTO_13714
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_BACK_SIT_LOOP_P")
goto_if_false @TATTO_13920
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "TAT_BACK_SIT_OUT_P", "TATTOOS", 1000.0, False, False, False, True, -1)
$tattoo_needleX = 0.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_BACK_SIT_OUT_P")
goto_if_false @TATTO_13874
$tattoo_needleX = Char.GetAnimCurrentTime($stattreadstamina_ctr, "TAT_BACK_SIT_OUT_P")

:TATTO_13874
if 
  $9717 == 1
goto_if_false @TATTO_13906
$tattoo_heading = 4
goto @TATTO_13913

:TATTO_13906
$tattoo_heading = 2

:TATTO_13913
goto @TATTO_13959

:TATTO_13920
if 
  $9717 == 1
goto_if_false @TATTO_13952
$tattoo_heading = 5
goto @TATTO_13959

:TATTO_13952
$tattoo_heading = 3

:TATTO_13959
return 

:TATTO_13961
if or
  is_int_var_equal_to_constant $flag_bought_from_suburban == 8
  is_int_var_equal_to_constant $flag_bought_from_suburban == 12
goto_if_false @TATTO_14175
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_BACK_SIT_IN_P")
goto_if_false @TATTO_14048
$tattoo_needleX = Char.GetAnimCurrentTime($stattreadstamina_ctr, "TAT_BACK_SIT_IN_P")

:TATTO_14048
if 
  $tattoo_needleX == 1.0
goto_if_false @TATTO_14168
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "TAT_BACK_SIT_LOOP_P", "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleX = 0.0
if 
  $9717 == 1
goto_if_false @TATTO_14161
$tattoo_heading = 5
goto @TATTO_14168

:TATTO_14161
$tattoo_heading = 3

:TATTO_14168
goto @TATTO_14354

:TATTO_14175
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_BACK_SIT_OUT_P")
goto_if_false @TATTO_14239
$tattoo_needleX = Char.GetAnimCurrentTime($stattreadstamina_ctr, "TAT_BACK_SIT_OUT_P")

:TATTO_14239
if 
  $tattoo_needleX == 1.0
goto_if_false @TATTO_14354
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "TAT_SIT_LOOP_P", "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleX = 0.0
if 
  $9717 == 1
goto_if_false @TATTO_14347
$tattoo_heading = 5
goto @TATTO_14354

:TATTO_14347
$tattoo_heading = 3

:TATTO_14354
return 

:TATTO_14356
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, v$tex_tattoo, "TATTOOS", 1000.0, False, False, False, True, -1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
$tattoo_needleX = 0.0
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, v$name_of_player_in_anim_tattoo, "TATTOOS", 1000.0, False, False, False, True, -1)
$tattoo_needleZ = 0.0
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_14496
Object.PlayAnim($stored_tattoo_shop, v$name_of_shop_in_anim_tattoo, "TATTOOS", 1000.0, False, True)
$tattoo_needleY = 0.0

:TATTO_14496
return 

:TATTO_14498
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, v$tex_tattoo)
goto_if_false @TATTO_14528
$tattoo_needleX = Char.GetAnimCurrentTime($stattreadstamina_ctr, v$tex_tattoo)

:TATTO_14528
if 
  Char.IsPlayingAnim($shop_keep_tattooZ, v$name_of_player_in_anim_tattoo)
goto_if_false @TATTO_14558
$tattoo_needleX = Char.GetAnimCurrentTime($shop_keep_tattooZ, v$name_of_player_in_anim_tattoo)

:TATTO_14558
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_14604
if 
  Object.IsPlayingAnim($stored_tattoo_shop, v$name_of_shop_in_anim_tattoo)
goto_if_false @TATTO_14604
$tattoo_needleY = Object.GetAnimCurrentTime($stored_tattoo_shop, v$name_of_shop_in_anim_tattoo)

:TATTO_14604
if 
  $tattoo_needleX == 1.0
goto_if_false @TATTO_14828
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, v$name_of_object_in_anim_tattoo, "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleX = 0.0
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, v$name_of_player_pose_anim_tattoo, "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleZ = 0.0
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_14761
Object.PlayAnim($stored_tattoo_shop, v$name_of_shop_pose_anim_tattoo, "TATTOOS", 1000.0, True, False)
$tattoo_needleY = 0.0

:TATTO_14761
Player.StoreClothesState
Player.BuildModel($statbike_temp)
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
if 
  $9717 == 1
goto_if_false @TATTO_14814
$tattoo_heading = 7
goto @TATTO_14828

:TATTO_14814
gosub @TATTO_10572
$tattoo_heading = 4

:TATTO_14828
return 

:TATTO_14830
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, v$name_of_object_pose_anim_tattoo, "TATTOOS", 1000.0, False, False, False, True, -1)
$tattoo_needleX = 0.0
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, v$name_of_player_out_anim_tattoo, "TATTOOS", 1000.0, False, False, False, True, -1)
$tattoo_needleZ = 0.0
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_14966
Object.PlayAnim($stored_tattoo_shop, v$name_of_shop_out_anim_tattoo, "TATTOOS", 1000.0, False, True)
$tattoo_needleY = 0.0

:TATTO_14966
return 

:TATTO_14968
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, v$name_of_object_pose_anim_tattoo)
goto_if_false @TATTO_14998
$tattoo_needleX = Char.GetAnimCurrentTime($stattreadstamina_ctr, v$name_of_object_pose_anim_tattoo)

:TATTO_14998
if 
  Char.IsPlayingAnim($shop_keep_tattooZ, v$name_of_player_out_anim_tattoo)
goto_if_false @TATTO_15028
$tattoo_needleZ = Char.GetAnimCurrentTime($shop_keep_tattooZ, v$name_of_player_out_anim_tattoo)

:TATTO_15028
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "TAT_BACK_OUT_P")
goto_if_false @TATTO_15328
if 
  $tattoo_needleX == 1.0
goto_if_false @TATTO_15180
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "TAT_BACK_SIT_LOOP_P", "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleX = 0.0
if 
  $9717 == 1
goto_if_false @TATTO_15173
$tattoo_heading = 9
goto @TATTO_15180

:TATTO_15173
$tattoo_heading = 6

:TATTO_15180
if 
  $tattoo_needleZ == 1.0
goto_if_false @TATTO_15321
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, "TAT_SIT_LOOP_T", "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleZ = 0.0
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_15321
Object.PlayAnim($stored_tattoo_shop, "TAT_SIT_LOOP_O", "TATTOOS", 1000.0, True, False)
$tattoo_needleY = 0.0

:TATTO_15321
goto @TATTO_15584

:TATTO_15328
if 
  $tattoo_needleX == 1.0
goto_if_false @TATTO_15443
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "TAT_SIT_LOOP_P", "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleX = 0.0
if 
  $9717 == 1
goto_if_false @TATTO_15436
$tattoo_heading = 9
goto @TATTO_15443

:TATTO_15436
$tattoo_heading = 6

:TATTO_15443
if 
  $tattoo_needleZ == 1.0
goto_if_false @TATTO_15584
Task.PlayAnimNonInterruptable($shop_keep_tattooZ, "TAT_SIT_LOOP_T", "TATTOOS", 1000.0, True, False, False, False, -1)
$tattoo_needleZ = 0.0
if 
  Object.DoesExist($stored_tattoo_shop)
goto_if_false @TATTO_15584
Object.PlayAnim($stored_tattoo_shop, "TAT_SIT_LOOP_O", "TATTOOS", 1000.0, True, False)
$tattoo_needleY = 0.0

:TATTO_15584
return 

:TATTO_15586
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawRect(280.0, 70.0, 70.0, 70.0, 0, 0, 0, 255)
Hud.SetSpritesDrawBeforeFade(True)
Hud.DrawSprite(1, 280.0, 70.0, 64.0, 64.0, 255, 255, 255, 200)
return 
terminate_this_script 

//-------------External script 62 (BARBER)---------------

:BARB
$name_of_anim_barbers = 0.0
$9755 = 0.0
$9756 = 0.0
$9757 = 0.0
$getin_chaircam_offX = 0.0
$getin_chaircam_offY = 0.0
$getin_chaircam_offZ = 0.0
$getin_chaircam_lookat_offX = 0.0
$getin_chaircam_lookat_offY = 0.0
$getin_chaircam_lookat_offZ = 0.0
$chaircam_offX = 0.0
$chaircam_offY = 0.0
$chaircam_offZ = 0.0
$chaircam_lookat_offX = 0.0
$chaircam_lookat_offY = 0.0
$chaircam_lookat_offZ = 0.0
$hairstyle_cam_offX = 0.0
$hairstyle_cam_offY = 0.0
$hairstyle_cam_offZ = 0.0
$hairstyle_cam_lookat_offX = 0.0
$hairstyle_cam_lookat_offY = 0.0
$hairstyle_cam_lookat_offZ = 0.0
$getout_chair_cam_offX = 0.0
$getout_chair_cam_offY = 0.0
$getout_chair_cam_offZ = 0.0
$getout_chair_cam_lookat_offX = 0.0
$getout_chair_cam_lookat_offY = 0.0
$getout_chair_cam_lookat_offZ = 0.0
$leave_barb_cam_offX = 0.0
$leave_barb_cam_offY = 0.0
$unk9747 = 0.0
$barber_heading = 0
$leave_barb_cam_offZ = 0.0
$leave_barb_cam_lookat_offX = 0.0
$leave_barb_cam_lookat_offY = 0.0
$leave_barb_cam_lookat_offZ = 0.0
$walk_offX_barbers = 0.0
$walk_offY_barbers = 0.0
$barberY = 0
$unk9728 = 0
$haircut_picked_barbers = 0.0
$modelid_barber = 0
$stored_barbers_shop = 0
$9741 = 0.0
$hairstyle_name = 0.0
$9743 = 0.0
$flag_barber = 0.0
$barberX = 0
$temp_shopX = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$walk2_offZ_barbers = 0
$barber_shop_offsetZ = 0
$control_flag_barbers = 0
$player_item_texture_audio_shops = 0
$item_no_hairstyles = 0
$number_of_hairstyles_in_area = 0
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'BARBERS'
goto_if_false @BARB_558
set_var_int_to_constant $main_menu_shops = 156

:BARB_558
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'BARBER2'
goto_if_false @BARB_591
set_var_int_to_constant $main_menu_shops = 177

:BARB_591
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'BARBER3'
goto_if_false @BARB_624
set_var_int_to_constant $main_menu_shops = 176

:BARB_624
Streaming.RequestModel($main_menu_shops)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 4400)
Streaming.LoadAllModelsNow
set_deatharrest_state 0
script_name 'BARB'

:BARB_653
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @BARB_7286
if 
  not is_var_text_label_empty s$territory_pickup
goto_if_false @BARB_7272
if 
  $stored_barbers_shop > 0
goto_if_false @BARB_751
if 
  Game.HasLanguageChanged
goto_if_false @BARB_751
Text.ClearHelp
Menu.Delete($bought_menu_shops)
Menu.Delete($sub_menu_shops)
$bought_menu_drawn_shops = 0
$sub_menu_drawn_shops = 0
$flag_hhiker_trigger = Game.GetCurrentLanguage()

:BARB_751
if 
  $stored_barbers_shop == 0
goto_if_false @BARB_1015
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'BARBERS'
goto_if_false @BARB_851
$walk_offZ_barbers = 0.0
$walk2_offX_barbers = 0.0
$walk2_offY_barbers = 0.0
set_var_text_label s$component_barber = s$territory_pickup
$remove_menu_item_selected = Shopping.GetNumberOfItems()
$walk2_offZ_barbers = 0
$stored_barbers_shop = 1

:BARB_851
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'BARBER2'
goto_if_false @BARB_933
$walk_offZ_barbers = 6.987
$walk2_offX_barbers = -61.401
$walk2_offY_barbers = 0.0
set_var_text_label s$component_barber = s$territory_pickup
$remove_menu_item_selected = Shopping.GetNumberOfItems()
$walk2_offZ_barbers = 0
$stored_barbers_shop = 1

:BARB_933
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'BARBER3'
goto_if_false @BARB_1015
$walk_offZ_barbers = 0.371
$walk2_offX_barbers = -31.421
$walk2_offY_barbers = 0.0
set_var_text_label s$component_barber = s$territory_pickup
$remove_menu_item_selected = Shopping.GetNumberOfItems()
$walk2_offZ_barbers = 0
$stored_barbers_shop = 1

:BARB_1015
if 
  $stored_barbers_shop == 1
goto_if_false @BARB_2030
Text.UseCommands(True)
Stat.ShowUpdateStats(False)
Player.StoreClothesState
$tray_offY = 414.3
add_float_var_to_float_var $tray_offY += $walk_offZ_barbers
$tray_offZ = -19.9
add_float_var_to_float_var $tray_offZ += $walk2_offX_barbers
$keep_off_dirX = 1000.806
add_float_var_to_float_var $keep_off_dirX += $walk2_offY_barbers
$unk9747 = 90.0
$9741 = 414.3
$9741 -= 0.027
add_float_var_to_float_var $9741 += $walk_offZ_barbers
$hairstyle_name = -19.9
$hairstyle_name += 1.898
add_float_var_to_float_var $hairstyle_name += $walk2_offX_barbers
$9743 = 1000.86
$flag_barber = 180.0
$name_of_anim_barbers = 412.0009
add_float_var_to_float_var $name_of_anim_barbers += $walk_offZ_barbers
$9755 = -19.8018
add_float_var_to_float_var $9755 += $walk2_offX_barbers
$9756 = 1001.765
add_float_var_to_float_var $9756 += $walk2_offY_barbers
$9757 = 412.8502
add_float_var_to_float_var $9757 += $walk_offZ_barbers
$getin_chaircam_offX = -19.2749
add_float_var_to_float_var $getin_chaircam_offX += $walk2_offX_barbers
$getin_chaircam_offY = 1001.797
add_float_var_to_float_var $getin_chaircam_offY += $walk2_offY_barbers
$getin_chaircam_offZ = 414.9329
add_float_var_to_float_var $getin_chaircam_offZ += $walk_offZ_barbers
$getin_chaircam_lookat_offX = -18.4475
add_float_var_to_float_var $getin_chaircam_lookat_offX += $walk2_offX_barbers
$getin_chaircam_lookat_offY = 1002.286
add_float_var_to_float_var $getin_chaircam_lookat_offY += $walk2_offY_barbers
$getin_chaircam_lookat_offZ = 414.0564
add_float_var_to_float_var $getin_chaircam_lookat_offZ += $walk_offZ_barbers
$chaircam_offX = -18.7965
add_float_var_to_float_var $chaircam_offX += $walk2_offX_barbers
$chaircam_offY = 1001.955
add_float_var_to_float_var $chaircam_offY += $walk2_offY_barbers
$chaircam_offZ = 412.649
add_float_var_to_float_var $chaircam_offZ += $walk_offZ_barbers
$chaircam_lookat_offX = -19.7078
add_float_var_to_float_var $chaircam_lookat_offX += $walk2_offX_barbers
$chaircam_lookat_offY = 1001.992
add_float_var_to_float_var $chaircam_lookat_offY += $walk2_offY_barbers
$chaircam_lookat_offZ = 413.3581
add_float_var_to_float_var $chaircam_lookat_offZ += $walk_offZ_barbers
$hairstyle_cam_offX = -19.0046
add_float_var_to_float_var $hairstyle_cam_offX += $walk2_offX_barbers
$hairstyle_cam_offY = 1002.043
add_float_var_to_float_var $hairstyle_cam_offY += $walk2_offY_barbers
$hairstyle_cam_offZ = 414.5509
add_float_var_to_float_var $hairstyle_cam_offZ += $walk_offZ_barbers
$hairstyle_cam_lookat_offX = -20.8773
add_float_var_to_float_var $hairstyle_cam_lookat_offX += $walk2_offX_barbers
$hairstyle_cam_lookat_offY = 1001.405
add_float_var_to_float_var $hairstyle_cam_lookat_offY += $walk2_offY_barbers
$hairstyle_cam_lookat_offZ = 414.0572
add_float_var_to_float_var $hairstyle_cam_lookat_offZ += $walk_offZ_barbers
$getout_chair_cam_offX = -20.025
add_float_var_to_float_var $getout_chair_cam_offX += $walk2_offX_barbers
$getout_chair_cam_offY = 1001.578
add_float_var_to_float_var $getout_chair_cam_offY += $walk2_offY_barbers
$getout_chair_cam_offZ = 412.5159
add_float_var_to_float_var $getout_chair_cam_offZ += $walk_offZ_barbers
$getout_chair_cam_lookat_offX = -21.7447
add_float_var_to_float_var $getout_chair_cam_lookat_offX += $walk2_offX_barbers
$getout_chair_cam_lookat_offY = 1001.946
add_float_var_to_float_var $getout_chair_cam_lookat_offY += $walk2_offY_barbers
$getout_chair_cam_lookat_offZ = 412.9438
add_float_var_to_float_var $getout_chair_cam_lookat_offZ += $walk_offZ_barbers
$leave_barb_cam_offX = -20.8411
add_float_var_to_float_var $leave_barb_cam_offX += $walk2_offX_barbers
$leave_barb_cam_offY = 1001.963
add_float_var_to_float_var $leave_barb_cam_offY += $walk2_offY_barbers
$leave_barb_cam_offZ = 411.957
add_float_var_to_float_var $leave_barb_cam_offZ += $walk_offZ_barbers
$leave_barb_cam_lookat_offX = -19.779
add_float_var_to_float_var $leave_barb_cam_lookat_offX += $walk2_offX_barbers
$leave_barb_cam_lookat_offY = 1000.836
add_float_var_to_float_var $leave_barb_cam_lookat_offY += $walk2_offY_barbers
$leave_barb_cam_lookat_offZ = 411.795
add_float_var_to_float_var $leave_barb_cam_lookat_offZ += $walk_offZ_barbers
$walk_offX_barbers = -23.3
add_float_var_to_float_var $walk_offX_barbers += $walk2_offX_barbers
$walk_offY_barbers = 1000.836
add_float_var_to_float_var $walk_offY_barbers += $walk2_offY_barbers
$tattoo_offsetY = Char.Create(PedType.CivMale, $main_menu_shops, $9741, $hairstyle_name, $9743)
Char.SetHeading($tattoo_offsetY, $flag_barber)
Char.SetDecisionMaker($tattoo_offsetY, 65542)
Char.SetOnlyDamagedByPlayer($tattoo_offsetY, True)
$model_index_barbers = Sequence.Open()
Task.PlayAnimNonInterruptable(-1, "BRB_IN", "HAIRCUTS", 4.0, False, False, False, False, -1)
Task.PlayAnimNonInterruptable(-1, "BRB_LOOP", "HAIRCUTS", 4.0, True, False, False, False, -1)
Sequence.Close($model_index_barbers)
$barberZ = Sequence.Open()
Task.GoStraightToCoord(-1, $leave_barb_cam_offZ, $leave_barb_cam_lookat_offX, $leave_barb_cam_lookat_offY, MoveState.Walk, 8000)
Task.GoStraightToCoord(-1, $leave_barb_cam_lookat_offZ, $walk_offX_barbers, $walk_offY_barbers, MoveState.Walk, 8000)
Task.AchieveHeading(-1, 180.0)
Sequence.Close($barberZ)
$walk2_offZ_barbers = 0
$stored_barbers_shop = 2

:BARB_2030
if 
  $stored_barbers_shop == 2
goto_if_false @BARB_2439
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$component_barber
goto_if_false @BARB_2079
gosub @BARB_7506

:BARB_2079
if 
  not Char.IsDead($tattoo_offsetY)
goto_if_false @BARB_2394
if 
  $2753 == 0
goto_if_false @BARB_2342
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, $tattoo_offsetY)
  Char.HasBeenDamagedByWeapon($tattoo_offsetY, WeaponType.AnyWeapon)
goto_if_false @BARB_2181
Char.ClearLookAt($tattoo_offsetY)
$vomit_camZ = Char.SetSayContext($tattoo_offsetY, 322)
Task.HandsUp($tattoo_offsetY, -2)
$2753 = 1
goto @BARB_2335

:BARB_2181
if 
  $player_item_texture_audio_shops == 0
goto_if_false @BARB_2250
$player_item_model_audio_shops = Streaming.GetAreaVisible()
if 
  $player_item_model_audio_shops <> 0
goto_if_false @BARB_2250
Task.LookAtChar($tattoo_offsetY, $stattreadstamina_ctr, -2)
$vomit_camZ = Char.SetSayContext($tattoo_offsetY, 325)
$player_item_texture_audio_shops = 1

:BARB_2250
$ryder = 1
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX, 1.0, 1.0, 4.0, $ryder)
goto_if_false @BARB_2335
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @BARB_2335
Char.ClearLookAt($tattoo_offsetY)
$walk2_offZ_barbers = 0
$stored_barbers_shop = 3

:BARB_2335
goto @BARB_2387

:BARB_2342
gosub @BARB_7300
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$component_barber
goto_if_false @BARB_2380
gosub @BARB_7506

:BARB_2380
goto @BARB_653

:BARB_2387
goto @BARB_2439

:BARB_2394
gosub @BARB_7300
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$component_barber
goto_if_false @BARB_2432
gosub @BARB_7506

:BARB_2432
goto @BARB_653

:BARB_2439
if 
  $stored_barbers_shop == 3
goto_if_false @BARB_2537
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
Hud.DisplayRadar(False)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea($x, $y, $z, 1.0, True)
TIMERA = 0
$walk2_offZ_barbers = 0
$stored_barbers_shop = 4

:BARB_2537
if 
  $stored_barbers_shop == 4
goto_if_false @BARB_2925
if 
  Char.IsDead($tattoo_offsetY)
goto_if_false @BARB_2616
gosub @BARB_7300
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$component_barber
goto_if_false @BARB_2609
gosub @BARB_7506

:BARB_2609
goto @BARB_653

:BARB_2616
if 
  TIMERA >= 300
goto_if_false @BARB_2925
$gen_car1, $gen_car2, $gen_car3 = Char.GetCoordinates($tattoo_offsetY)
if or
  not is_float_var_equal_to_float_var $gen_car1 == $9741
  not is_float_var_equal_to_float_var $gen_car2 == $hairstyle_name
  not is_float_var_equal_to_float_var $gen_car3 == $9743
goto_if_false @BARB_2706
Char.SetCoordinates($tattoo_offsetY, $9741, $hairstyle_name, $9743)
Char.SetHeading($tattoo_offsetY, $flag_barber)

:BARB_2706
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX)
Char.SetHeading($stattreadstamina_ctr, $unk9747)
Player.StoreClothesState
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.Head)
Camera.SetFixedPosition($name_of_anim_barbers, $9755, $9756, 0.0, 0.0, 0.0)
Camera.PointAtPoint($9757, $getin_chaircam_offX, $getin_chaircam_offY, SwitchType.JumpCut)
$haircut_picked_barbers = 0.0
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BRB_SIT_IN", "HAIRCUTS", 1000.0, False, False, False, True, -1)
$flag_1st_time_nitro_shop = Player.StoreScore($statbike_temp)
if 
  $keep_offZ == 0
goto_if_false @BARB_2903
if 
  $opened_desert_up == 1
goto_if_false @BARB_2903
if 
  50 > $flag_1st_time_nitro_shop
goto_if_false @BARB_2903
Player.AddScore($statbike_temp, 52)

:BARB_2903
Char.PerformSequence($tattoo_offsetY, $model_index_barbers)
$walk2_offZ_barbers = 0
$stored_barbers_shop = 5

:BARB_2925
if 
  $stored_barbers_shop == 5
goto_if_false @BARB_3194
if 
  Char.IsDead($tattoo_offsetY)
goto_if_false @BARB_3004
gosub @BARB_7300
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$component_barber
goto_if_false @BARB_2997
gosub @BARB_7506

:BARB_2997
goto @BARB_653

:BARB_3004
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BRB_SIT_IN")
goto_if_false @BARB_3052
$haircut_picked_barbers = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BRB_SIT_IN")

:BARB_3052
if 
  $haircut_picked_barbers == 1.0
goto_if_false @BARB_3194
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BRB_SIT_LOOP", "HAIRCUTS", 1000.0, True, False, False, True, -1)
Camera.SetFixedPosition($getin_chaircam_offZ, $getin_chaircam_lookat_offX, $getin_chaircam_lookat_offY, 0.0, 0.0, 0.0)
Camera.PointAtPoint($getin_chaircam_lookat_offZ, $chaircam_offX, $chaircam_offY, SwitchType.JumpCut)
$vomit_camZ = Char.SetSayContext($tattoo_offsetY, 328)
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.Head)
$walk2_offZ_barbers = 0
$stored_barbers_shop = 6

:BARB_3194
if 
  $stored_barbers_shop == 6
goto_if_false @BARB_5433
if 
  Char.IsDead($tattoo_offsetY)
goto_if_false @BARB_3273
gosub @BARB_7300
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$component_barber
goto_if_false @BARB_3266
gosub @BARB_7506

:BARB_3266
goto @BARB_653

:BARB_3273
if 
  1 > $walk2_offZ_barbers
goto_if_false @BARB_3323
if 
  $sub_menu_drawn_shops == 0
goto_if_false @BARB_3323
gosub @BARB_8409
gosub @BARB_8697

:BARB_3323
if 
  $walk2_offZ_barbers == 0
goto_if_false @BARB_3391
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BARB_3366
$walk2_offZ_barbers = 10

:BARB_3366
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BARB_3391
$walk2_offZ_barbers = 1

:BARB_3391
if 
  $walk2_offZ_barbers == 1
goto_if_false @BARB_3562
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BARB_3562
if 
  $bought_menu_drawn_shops == 1
goto_if_false @BARB_3459
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:BARB_3459
if 
  $item_price == 1
goto_if_false @BARB_3491
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:BARB_3491
if 
  $sub_menu_drawn_shops == 1
goto_if_false @BARB_3523
Text.ClearHelp
Menu.Delete($sub_menu_shops)
$sub_menu_drawn_shops = 0

:BARB_3523
if 
  $barberY == 1
goto_if_false @BARB_3555
$walk2_offZ_barbers = 2
goto @BARB_3562

:BARB_3555
$walk2_offZ_barbers = 5

:BARB_3562
if 
  $walk2_offZ_barbers == 2
goto_if_false @BARB_3643
Task.PlayAnimNonInterruptable($tattoo_offsetY, "BRB_CUT_IN", "HAIRCUTS", 4.0, False, False, False, True, -1)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
$haircut_picked_barbers = 0.0
$walk2_offZ_barbers = 3

:BARB_3643
if 
  $walk2_offZ_barbers == 3
goto_if_false @BARB_3903
if 
  Char.IsPlayingAnim($tattoo_offsetY, "BRB_CUT_IN")
goto_if_false @BARB_3709
$haircut_picked_barbers = Char.GetAnimCurrentTime($tattoo_offsetY, "BRB_CUT_IN")

:BARB_3709
if 
  $haircut_picked_barbers == 1.0
goto_if_false @BARB_3903
if 
  $number_of_hairstyles_in_area == 0
goto_if_false @BARB_3803
Task.PlayAnimNonInterruptable($tattoo_offsetY, "BRB_CUT", "HAIRCUTS", 4.0, False, False, False, False, -1)
Player.RestoreClothesState
Player.BuildModel($statbike_temp)
Player.StoreClothesState
$number_of_hairstyles_in_area = 1

:BARB_3803
if 
  $number_of_hairstyles_in_area == 1
goto_if_false @BARB_3903
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @BARB_3903
Task.PlayAnimNonInterruptable($tattoo_offsetY, "BRB_CUT_OUT", "HAIRCUTS", 4.0, False, False, False, True, -1)
$haircut_picked_barbers = 0.0
$walk2_offZ_barbers = 4
$number_of_hairstyles_in_area = 0

:BARB_3903
if 
  $walk2_offZ_barbers == 4
goto_if_false @BARB_3999
if 
  Char.IsPlayingAnim($tattoo_offsetY, "BRB_CUT_OUT")
goto_if_false @BARB_3971
$haircut_picked_barbers = Char.GetAnimCurrentTime($tattoo_offsetY, "BRB_CUT_OUT")

:BARB_3971
if 
  $haircut_picked_barbers == 1.0
goto_if_false @BARB_3999
$walk2_offZ_barbers = 5

:BARB_3999
if 
  $walk2_offZ_barbers == 5
goto_if_false @BARB_4165
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BRB_SIT_OUT", "HAIRCUTS", 1000.0, False, False, False, False, -1)
$haircut_picked_barbers = 0.0
Task.PlayAnimNonInterruptable($tattoo_offsetY, "BRB_OUT", "HAIRCUTS", 1000.0, False, False, False, True, -1)
Task.LookAtChar($tattoo_offsetY, $stattreadstamina_ctr, -2)
Camera.SetFixedPosition($hairstyle_cam_offZ, $hairstyle_cam_lookat_offX, $hairstyle_cam_lookat_offY, 0.0, 0.0, 0.0)
Camera.PointAtPoint($hairstyle_cam_lookat_offZ, $getout_chair_cam_offX, $getout_chair_cam_offY, SwitchType.JumpCut)
$walk2_offZ_barbers = 6

:BARB_4165
if 
  $walk2_offZ_barbers == 6
goto_if_false @BARB_4326
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "BRB_SIT_OUT")
goto_if_false @BARB_4233
$haircut_picked_barbers = Char.GetAnimCurrentTime($stattreadstamina_ctr, "BRB_SIT_OUT")

:BARB_4233
if 
  $haircut_picked_barbers >= 0.8
goto_if_false @BARB_4326
Char.PerformSequence($stattreadstamina_ctr, $barberZ)
$vomit_camZ = Char.SetSayContext($tattoo_offsetY, 326)
Camera.SetFixedPosition($getout_chair_cam_offZ, $getout_chair_cam_lookat_offX, $getout_chair_cam_lookat_offY, 0.0, 0.0, 0.0)
Camera.PointAtPoint($getout_chair_cam_lookat_offZ, $leave_barb_cam_offX, $leave_barb_cam_offY, SwitchType.JumpCut)
TIMERA = 0
$walk2_offZ_barbers = 7

:BARB_4326
if 
  $walk2_offZ_barbers == 7
goto_if_false @BARB_4466
if 
  $item_no_hairstyles == 0
goto_if_false @BARB_4392
if 
  TIMERA >= 1500
goto_if_false @BARB_4392
Camera.SetBehindPlayer
Camera.RestoreJumpcut
$item_no_hairstyles = 1

:BARB_4392
if 
  $stored_barbers_shop > 2
goto_if_false @BARB_4412
Text.ClearHelp

:BARB_4412
$barber_heading = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
if 
  not is_int_var_equal_to_constant $barber_heading == 7
goto_if_false @BARB_4459
$barber_heading = Char.GetScriptTaskStatus($stattreadstamina_ctr, 1560)
goto @BARB_4466

:BARB_4459
$walk2_offZ_barbers = 8

:BARB_4466
if 
  $walk2_offZ_barbers == 8
goto_if_false @BARB_4532
Char.ClearLookAt($tattoo_offsetY)
Char.SetHeading($stattreadstamina_ctr, 180.0)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Player.SetControl($statbike_temp, True)
Game.SetMinigameInProgress(False)
Hud.DisplayRadar(True)
$item_no_hairstyles = 0
$walk2_offZ_barbers = 9

:BARB_4532
if 
  $walk2_offZ_barbers == 9
goto_if_false @BARB_4722
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX, 1.0, 1.0, 4.0, True)
goto_if_false @BARB_4648
$tattoo_offsetX = 0
$barberX = 0
$barberY = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$item_no_hairstyles = 0
$walk2_offZ_barbers = 0
$stored_barbers_shop = 2

:BARB_4648
if 
  $2753 == 0
goto_if_false @BARB_4722
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, $tattoo_offsetY)
  Char.HasBeenDamagedByWeapon($tattoo_offsetY, WeaponType.AnyWeapon)
goto_if_false @BARB_4722
$vomit_camZ = Char.SetSayContext($tattoo_offsetY, 322)
Task.HandsUp($tattoo_offsetY, -2)
$2753 = 1

:BARB_4722
if 
  $walk2_offZ_barbers == 10
goto_if_false @BARB_5017
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BARB_5017
$unk9728 = Menu.GetItemAccepted($sub_menu_shops)
if 
  0 > $unk9728
goto_if_false @BARB_4791
$unk9728 = 0

:BARB_4791
if 
  $sub_menu_drawn_shops == 1
goto_if_false @BARB_4823
Text.ClearHelp
Menu.Delete($sub_menu_shops)
$sub_menu_drawn_shops = 0

:BARB_4823
$num_of_hairstyles = Shopping.GetItem($unk9728)
s$return_animation_time_barbers = Shopping.GetNameOfItem($num_of_hairstyles)
$tattoo_offsetZ = Shopping.GetPriceOfItem($num_of_hairstyles)
$shop_keep_barbers = Shopping.GetExtraInfo($num_of_hairstyles, 0)
$hair_price = Shopping.GetExtraInfo($num_of_hairstyles, 1)
set_var_int_to_var_int $temp_shopX = $tattoo_offsetZ
set_var_text_label s$temp_shopY = s$return_animation_time_barbers
Camera.SetFixedPosition($getin_chaircam_offZ, $getin_chaircam_lookat_offX, $getin_chaircam_lookat_offY, 0.0, 0.0, 0.0)
Camera.PointAtPoint($getin_chaircam_lookat_offZ, $chaircam_offX, $chaircam_offY, SwitchType.JumpCut)
Task.PlayAnimNonInterruptable($tattoo_offsetY, "BRB_CUT_IN", "HAIRCUTS", 1000.0, False, False, False, True, -1)
$barber_shop_offsetX, $barber_shop_offsetY = Player.GetClothesItem($statbike_temp, BodyPart.Head)
if 
  not is_int_var_equal_to_int_var $barber_shop_offsetX == $num_of_hairstyles
goto_if_false @BARB_5000
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)

:BARB_5000
$haircut_picked_barbers = 0.0
$walk2_offZ_barbers = 11

:BARB_5017
if 
  $walk2_offZ_barbers == 11
goto_if_false @BARB_5187
if 
  Char.IsPlayingAnim($tattoo_offsetY, "BRB_CUT_IN")
goto_if_false @BARB_5083
$haircut_picked_barbers = Char.GetAnimCurrentTime($tattoo_offsetY, "BRB_CUT_IN")

:BARB_5083
if 
  $haircut_picked_barbers == 1.0
goto_if_false @BARB_5187
Task.PlayAnimNonInterruptable($tattoo_offsetY, "BRB_CUT", "HAIRCUTS", 1000.0, False, False, False, True, -1)
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.Hat)
Player.GiveClothes($statbike_temp, $num_of_hairstyles, $shop_keep_barbers, $hair_price)
Player.BuildModel($statbike_temp)
$barberY = 1
$walk2_offZ_barbers = 12

:BARB_5187
if 
  $walk2_offZ_barbers == 12
goto_if_false @BARB_5280
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @BARB_5280
Task.PlayAnimNonInterruptable($tattoo_offsetY, "BRB_CUT_OUT", "HAIRCUTS", 1000.0, False, False, False, True, -1)
$haircut_picked_barbers = 0.0
$walk2_offZ_barbers = 13

:BARB_5280
if 
  $walk2_offZ_barbers == 13
goto_if_false @BARB_5433
if 
  Char.IsPlayingAnim($tattoo_offsetY, "BRB_CUT_OUT")
goto_if_false @BARB_5348
$haircut_picked_barbers = Char.GetAnimCurrentTime($tattoo_offsetY, "BRB_CUT_OUT")

:BARB_5348
if 
  $haircut_picked_barbers == 1.0
goto_if_false @BARB_5433
Task.PlayAnimNonInterruptable($tattoo_offsetY, "BRB_LOOP", "HAIRCUTS", 1000.0, True, False, False, False, -1)
$haircut_picked_barbers = 0.0
$walk2_offZ_barbers = 0
$stored_barbers_shop = 7

:BARB_5433
if 
  $stored_barbers_shop == 7
goto_if_false @BARB_7265
if 
  Char.IsDead($tattoo_offsetY)
goto_if_false @BARB_5512
gosub @BARB_7300
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$component_barber
goto_if_false @BARB_5505
gosub @BARB_7506

:BARB_5505
goto @BARB_653

:BARB_5512
if 
  $bought_menu_drawn_shops == 0
goto_if_false @BARB_5555
if 
  1 > $walk2_offZ_barbers
goto_if_false @BARB_5555
gosub @BARB_7768

:BARB_5555
if 
  $walk2_offZ_barbers == 0
goto_if_false @BARB_5681
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BARB_5634
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('BARBNO')
$flag_on_neil_lowrider_mission = 0
$flag_bought_from_binco = 0
$walk2_offZ_barbers = 2

:BARB_5634
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BARB_5681
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('BARBNO')
$walk2_offZ_barbers = 1

:BARB_5681
if 
  $walk2_offZ_barbers == 1
goto_if_false @BARB_5795
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @BARB_5795
if 
  $bought_menu_drawn_shops == 1
goto_if_false @BARB_5749
Text.ClearHelp
Menu.Delete($bought_menu_shops)
$bought_menu_drawn_shops = 0

:BARB_5749
if 
  $sub_menu_drawn_shops == 0
goto_if_false @BARB_5781
gosub @BARB_8409
gosub @BARB_8697

:BARB_5781
$walk2_offZ_barbers = 0
$stored_barbers_shop = 6

:BARB_5795
if 
  $walk2_offZ_barbers == 2
goto_if_false @BARB_6920
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @BARB_6920
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$flag_1st_time_nitro_shop = Player.StoreScore($statbike_temp)
if 
  is_int_var_greater_or_equal_to_int_var $flag_1st_time_nitro_shop >= $tattoo_offsetZ
goto_if_false @BARB_6847
if 
  not is_int_var_equal_to_int_var $flag_player_owned_item_shops == $num_of_hairstyles
goto_if_false @BARB_6767
if 
  $bought_menu_drawn_shops == 1
goto_if_false @BARB_5923
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:BARB_5923
$vomit_camZ = Char.SetSayContext($tattoo_offsetY, 318)
Shopping.BuyItem($num_of_hairstyles)
$barberX = 1
$barberY = 0
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1054)
Player.StoreClothesState
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.Head)
Camera.SetFixedPosition($chaircam_offZ, $chaircam_lookat_offX, $chaircam_lookat_offY, 0.0, 0.0, 0.0)
Camera.PointAtPoint($chaircam_lookat_offZ, $hairstyle_cam_offX, $hairstyle_cam_offY, SwitchType.JumpCut)
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'BARBERS'
goto_if_false @BARB_6292
if or
  is_var_text_label_equal_to_text_label s$return_animation_time_barbers == 'TASH'
  is_var_text_label_equal_to_text_label s$return_animation_time_barbers == 'GOATEE'
  is_var_text_label_equal_to_text_label s$return_animation_time_barbers == 'BEARD'
  is_var_text_label_equal_to_text_label s$return_animation_time_barbers == 'AFROT'
  is_var_text_label_equal_to_text_label s$return_animation_time_barbers == 'AFROB'
  is_var_text_label_equal_to_text_label s$return_animation_time_barbers == 'AFROGOT'
goto_if_false @BARB_6167
set_var_text_label16 v$flag_viewed_hair = "BRB_BEARD_01"
goto @BARB_6292

:BARB_6167
if 
  $modelid_barber > 1
goto_if_false @BARB_6192
$modelid_barber = 0

:BARB_6192
if 
  0 > $modelid_barber
goto_if_false @BARB_6217
$modelid_barber = 0

:BARB_6217
if 
  $modelid_barber == 0
goto_if_false @BARB_6267
set_var_text_label16 v$flag_viewed_hair = "BRB_HAIR_01"
$modelid_barber += 1
goto @BARB_6292

:BARB_6267
set_var_text_label16 v$flag_viewed_hair = "BRB_HAIR_02"
$modelid_barber -= 1

:BARB_6292
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'BARBER2'
goto_if_false @BARB_6442
if 
  $modelid_barber > 1
goto_if_false @BARB_6342
$modelid_barber = 0

:BARB_6342
if 
  0 > $modelid_barber
goto_if_false @BARB_6367
$modelid_barber = 0

:BARB_6367
if 
  $modelid_barber == 0
goto_if_false @BARB_6417
set_var_text_label16 v$flag_viewed_hair = "BRB_HAIR_01"
$modelid_barber += 1
goto @BARB_6442

:BARB_6417
set_var_text_label16 v$flag_viewed_hair = "BRB_HAIR_02"
$modelid_barber -= 1

:BARB_6442
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'BARBER3'
goto_if_false @BARB_6671
if or
  is_var_text_label_equal_to_text_label s$return_animation_time_barbers == 'BLADBEA'
  is_var_text_label_equal_to_text_label s$return_animation_time_barbers == 'BALDTSH'
  is_var_text_label_equal_to_text_label s$return_animation_time_barbers == 'BALDGOT'
goto_if_false @BARB_6546
set_var_text_label16 v$flag_viewed_hair = "BRB_BEARD_01"
goto @BARB_6671

:BARB_6546
if 
  $modelid_barber > 1
goto_if_false @BARB_6571
$modelid_barber = 0

:BARB_6571
if 
  0 > $modelid_barber
goto_if_false @BARB_6596
$modelid_barber = 0

:BARB_6596
if 
  $modelid_barber == 0
goto_if_false @BARB_6646
set_var_text_label16 v$flag_viewed_hair = "BRB_HAIR_01"
$modelid_barber += 1
goto @BARB_6671

:BARB_6646
set_var_text_label16 v$flag_viewed_hair = "BRB_HAIR_02"
$modelid_barber -= 1

:BARB_6671
Task.PlayAnimNonInterruptable($tattoo_offsetY, "BRB_BUY", "HAIRCUTS", 1000.0, False, False, False, True, -1)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, v$flag_viewed_hair, "HAIRCUTS", 1000.0, False, False, False, True, -1)
$haircut_picked_barbers = 0.0
$walk2_offZ_barbers = 3
goto @BARB_6840

:BARB_6767
if 
  $flag_bought_from_binco == 0
goto_if_false @BARB_6840
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
$vomit_camZ = Char.SetSayContext($tattoo_offsetY, 317)
Text.PrintNow('BARBNO', 5000, 1)
$walk2_offZ_barbers = 0
$flag_bought_from_binco = 1

:BARB_6840
goto @BARB_6920

:BARB_6847
if 
  $flag_on_neil_lowrider_mission == 0
goto_if_false @BARB_6920
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
$vomit_camZ = Char.SetSayContext($tattoo_offsetY, 319)
Text.PrintNow('SHOPNO', 5000, 1)
$walk2_offZ_barbers = 0
$flag_on_neil_lowrider_mission = 1

:BARB_6920
if 
  $walk2_offZ_barbers == 3
goto_if_false @BARB_7265
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, v$flag_viewed_hair)
goto_if_false @BARB_6968
$haircut_picked_barbers = Char.GetAnimCurrentTime($stattreadstamina_ctr, v$flag_viewed_hair)

:BARB_6968
if 
  $haircut_picked_barbers == 1.0
goto_if_false @BARB_7265
if 
  $item_price == 1
goto_if_false @BARB_7021
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:BARB_7021
if 
  $bought_menu_drawn_shops == 1
goto_if_false @BARB_7053
Text.ClearHelp
Menu.Delete($bought_menu_shops)
$bought_menu_drawn_shops = 0

:BARB_7053
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "BRB_SIT_LOOP", "HAIRCUTS", 1000.0, True, False, False, True, -1)
Task.PlayAnimNonInterruptable($tattoo_offsetY, "BRB_LOOP", "HAIRCUTS", 1000.0, True, False, False, False, -1)
if 
  $keep_offZ == 0
goto_if_false @BARB_7180
if 
  $weapon_shop1_blip == 1
goto_if_false @BARB_7180
$keep_offZ = 1

:BARB_7180
Camera.SetFixedPosition($getin_chaircam_offZ, $getin_chaircam_lookat_offX, $getin_chaircam_lookat_offY, 0.0, 0.0, 0.0)
Camera.PointAtPoint($getin_chaircam_lookat_offZ, $chaircam_offX, $chaircam_offY, SwitchType.JumpCut)
if 
  $sub_menu_drawn_shops == 0
goto_if_false @BARB_7251
gosub @BARB_8409
gosub @BARB_8697

:BARB_7251
$walk2_offZ_barbers = 0
$stored_barbers_shop = 6

:BARB_7265
goto @BARB_7279

:BARB_7272
gosub @BARB_7506

:BARB_7279
goto @BARB_7293

:BARB_7286
gosub @BARB_7506

:BARB_7293
goto @BARB_653

:BARB_7300
if 
  $stored_barbers_shop > 0
goto_if_false @BARB_7320
Text.ClearHelp

:BARB_7320
if 
  $bought_menu_drawn_shops == 1
goto_if_false @BARB_7352
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:BARB_7352
if 
  $item_price == 1
goto_if_false @BARB_7384
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:BARB_7384
if 
  $sub_menu_drawn_shops == 1
goto_if_false @BARB_7416
Text.ClearHelp
Menu.Delete($sub_menu_shops)
$sub_menu_drawn_shops = 0

:BARB_7416
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('BARBNO')
$stored_barbers_shop = 2
$item_no_hairstyles = 0
$tattoo_offsetX = 0
$barberX = 0
$haircut_picked_barbers = 0.0
$barberY = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$number_of_hairstyles_in_area = 0
return 

:BARB_7506
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('BARBNO')
if 
  $stored_barbers_shop > 0
goto_if_false @BARB_7548
Text.ClearHelp

:BARB_7548
if 
  $bought_menu_drawn_shops == 1
goto_if_false @BARB_7580
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:BARB_7580
if 
  $item_price == 1
goto_if_false @BARB_7612
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:BARB_7612
if 
  $sub_menu_drawn_shops == 1
goto_if_false @BARB_7644
Text.ClearHelp
Menu.Delete($sub_menu_shops)
$sub_menu_drawn_shops = 0

:BARB_7644
$player_item_texture_audio_shops = 0
$tattoo_offsetX = 0
$2753 = 0
$stored_barbers_shop = 0
$barberX = 0
$haircut_picked_barbers = 0.0
$barberY = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$item_no_hairstyles = 0
$number_of_hairstyles_in_area = 0
Sequence.Clear($model_index_barbers)
Sequence.Clear($barberZ)
Streaming.MarkModelAsNoLongerNeeded($main_menu_shops)
Char.Delete($tattoo_offsetY)
Hud.DisplayRadar(True)
Text.UseCommands(False)
Stat.ShowUpdateStats(True)
Game.SetMinigameInProgress(False)
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
terminate_this_script 
return 

:BARB_7768
if 
  $bought_menu_drawn_shops == 0
goto_if_false @BARB_8407
Text.PrintHelpForever('BARB_H2')
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @BARB_7859
$bought_menu_shops = Menu.Create('HAIRCHO', 29.0, 95.0, 93.0, 2, False, True, 1)
goto @BARB_8100

:BARB_7859
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @BARB_7921
$bought_menu_shops = Menu.Create('HAIRCHO', 29.0, 95.0, 93.0, 2, False, True, 1)
goto @BARB_8100

:BARB_7921
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @BARB_7983
$bought_menu_shops = Menu.Create('HAIRCHO', 29.0, 95.0, 93.0, 2, False, True, 1)
goto @BARB_8100

:BARB_7983
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @BARB_8045
$bought_menu_shops = Menu.Create('HAIRCHO', 29.0, 95.0, 93.0, 2, False, True, 1)
goto @BARB_8100

:BARB_8045
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @BARB_8100
$bought_menu_shops = Menu.Create('HAIRCHO', 29.0, 95.0, 93.0, 2, False, True, 1)

:BARB_8100
Menu.SetColumnOrientation($bought_menu_shops, 0, 1)
Menu.SetColumn($bought_menu_shops, 0, 'HAIRSTY', s$return_animation_time_barbers, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnOrientation($bought_menu_shops, 1, 2)
Menu.SetColumn($bought_menu_shops, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber($bought_menu_shops, 1, 0, 'DOLLAR', $tattoo_offsetZ)
Menu.SetColumnWidth($bought_menu_shops, 0, 140)
Menu.SetColumnWidth($bought_menu_shops, 1, 46)
$bought_menu_drawn_shops = 1

:BARB_8407
return 

:BARB_8409
$barber_shop_offsetZ = 0
$control_flag_barbers = 0

:BARB_8423
if 
  is_int_var_greater_than_int_var $remove_menu_item_selected > $barber_shop_offsetZ
goto_if_false @BARB_8615
$car_class = Shopping.GetItem($barber_shop_offsetZ)
$item_no_shops = Shopping.GetExtraInfo($car_class, 0)
$temp_var_shops = Shopping.GetExtraInfo($car_class, 1)
set_var_int_to_var_int $2442($control_flag_barbers,12i) = $car_class
s$return_animation_time_barbers = Shopping.GetNameOfItem($car_class)
$tattoo_offsetZ = Shopping.GetPriceOfItem($car_class)
set_var_int_to_var_int $2430($control_flag_barbers,12i) = $tattoo_offsetZ
set_var_text_label $2454($control_flag_barbers,12s) = s$return_animation_time_barbers
set_var_int_to_var_int $2478($control_flag_barbers,12i) = $item_no_shops
set_var_int_to_var_int $2490($control_flag_barbers,12i) = $temp_var_shops
if 
  is_int_var_equal_to_int_var $flag_player_owned_item_shops == $car_class
goto_if_false @BARB_8583
$2502($control_flag_barbers,12i) = 0
goto @BARB_8594

:BARB_8583
$2502($control_flag_barbers,12i) = 1

:BARB_8594
$control_flag_barbers += 1
$barber_shop_offsetZ += 1
goto @BARB_8423

:BARB_8615
set_var_int_to_var_int $2519 = $control_flag_barbers

:BARB_8623
if 
  12 > $2519
goto_if_false @BARB_8695
$2442($2519,12i) = -1
$2430($2519,12i) = 0
set_var_text_label $2454($2519,12s) = 'DUMMY'
$2519 += 1
goto @BARB_8623

:BARB_8695
return 

:BARB_8697
if 
  $sub_menu_drawn_shops == 0
goto_if_false @BARB_9370
Text.PrintHelpForever('BARB_H1')
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @BARB_8788
$sub_menu_shops = Menu.Create('HAIRCHO', 29.0, 145.0, 93.0, 2, True, True, 1)
goto @BARB_9029

:BARB_8788
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @BARB_8850
$sub_menu_shops = Menu.Create('HAIRCHO', 29.0, 145.0, 93.0, 2, True, True, 1)
goto @BARB_9029

:BARB_8850
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @BARB_8912
$sub_menu_shops = Menu.Create('HAIRCHO', 29.0, 165.0, 93.0, 2, True, True, 1)
goto @BARB_9029

:BARB_8912
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @BARB_8974
$sub_menu_shops = Menu.Create('HAIRCHO', 29.0, 145.0, 93.0, 2, True, True, 1)
goto @BARB_9029

:BARB_8974
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @BARB_9029
$sub_menu_shops = Menu.Create('HAIRCHO', 29.0, 165.0, 93.0, 2, True, True, 1)

:BARB_9029
Menu.SetColumnOrientation($sub_menu_shops, 0, 1)
Menu.SetColumn($sub_menu_shops, 0, 'HAIRSTY', s$2454[0], s$2454[1], s$2454[2], s$2454[3], s$2454[4], s$2454[5], s$2454[6], s$2454[7], s$2454[8], s$2454[9], s$2454[10], s$2454[11])
Menu.SetColumnOrientation($sub_menu_shops, 1, 2)
Menu.SetColumn($sub_menu_shops, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
$2519 = 0

:BARB_9230
if 
  is_int_var_greater_than_int_var $control_flag_barbers > $2519
goto_if_false @BARB_9289
Menu.SetItemWithNumber($sub_menu_shops, 1, $2519, 'DOLLAR', $2430($2519,12i))
$2519 += 1
goto @BARB_9230

:BARB_9289
$2519 = 0

:BARB_9296
if 
  is_int_var_greater_than_int_var $control_flag_barbers > $2519
goto_if_false @BARB_9344
Menu.ActivateItem($sub_menu_shops, $2519, $2502($2519,12i))
$2519 += 1
goto @BARB_9296

:BARB_9344
Menu.SetColumnWidth($sub_menu_shops, 0, 140)
Menu.SetColumnWidth($sub_menu_shops, 1, 46)
$sub_menu_drawn_shops = 1

:BARB_9370
return 
terminate_this_script 

//-------------External script 63 (WARDROBE)---------------

:WARROBE
$current_name_of_anim_wardrobe = 0
$shop_progress_wardrobe = 0
$9866 = 0
$shop_door_model_wardrobe = 0
$main_menu_drawn_wardrobe = 0
$2429 = 0
$ITEM1 = 0
$2519 = 0
$number_of_wardrobe_in_area = 0.0
$main_menu_wardrobe = 0.0
$shop_main_item_picked_wardrobe = 0.0
$number_of_wardrobe_in_shop = 0.0
$number_of_wardrobe_in_area = 0.0
$wardrobe_offX = 0.0
$wardrobe_offY = 0.0
$wardrobe_offZ = 0.0
$wardrobe_door_heading = 0.0
$wardrobe_locateX = 0.0
$wardrobe_locateY = 0.0
$wardrobe_locateZ = 0.0
$wardrobe_heading = 0.0
$wardrobe_camX = 0.0
$wardrobe_camY = 0.0
$wardrobe_camZ = 0.0
$wardrobe_cam_pointX = 0.0
$wardrobe_cam_pointY = 0.0
$wardrobe_cam_pointZ = 0.0
$wardrobe_hat_camX = 0.0
$wardrobe_hat_camY = 0.0
$flag_restored_camera_barbers = 0
$changing_room_door_wardrobe = 0
$wardrobe_door_heading = 0.0
$wardrobe_heading = 0.0
$wardrobe_camX = 0.0
$wardrobe_camY = 0.0
$player_in_view_mode_wardrobe = 0.0
$flag_player_use_changing_room_wardrobe = 0.0
$number_of_items_wardrobe = 0
$wardrobe_name = 0
$cut_hair_flag_barber = 0
$9866 = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_bought_from_binco = 0
$flag_bought_from_prolapse = 0
$flag_bought_from_suburban = 0
$9941 = 0
$9942 = 0
$9943 = 0
$9944 = 0
$number_of_torso_wardrobe = 0
$number_of_legs_wardrobe = 0
$number_of_feet_wardrobe = 0
$number_of_chains_wardrobe = 0
$9963 = 0
$9961 = 0
$9964 = 0
$second_menu_wardrobe = 0
$second_menu_item_picked_wardrobe = 0
$number_bought_items_in_area = 0
$third_menu_wardrobe = 0
$third_menu_item_picked_wardrobe = 0
$flag_got_special_clothes_wardrobe = 0
$flag_remove_menu_drawn_wardrobe = 0
$remove_menu_wardrobe = 0
$9865 = -372
Streaming.RequestModel($9865)
Streaming.RequestAnimation("CLOTHES")
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 20800)
Streaming.LoadAllModelsNow
set_deatharrest_state 0
script_name 'WARROBE'

:WARROBE_584
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WARROBE_6465
$wardrobe_hat_camZ = Streaming.GetAreaVisible()
if 
  $wardrobe_hat_camZ == 14
goto_if_false @WARROBE_6451
if 
  $number_of_items_wardrobe > 0
goto_if_false @WARROBE_737
if 
  Game.HasLanguageChanged
goto_if_false @WARROBE_737
Text.ClearHelp
Menu.Delete($9867)
Menu.Delete($9962)
Menu.Delete($second_menu_drawn_wardrobe)
Menu.Delete($third_menu_drawn_wardrobe)
Menu.Delete($bought_menu_shops)
Menu.Delete($price_counter)
$9866 = 0
$9961 = 0
$second_menu_wardrobe = 0
$third_menu_wardrobe = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_hhiker_trigger = Game.GetCurrentLanguage()

:WARROBE_737
if 
  $number_of_items_wardrobe == 0
goto_if_false @WARROBE_819
$flag_remove_menu_drawn_wardrobe = 1
$main_menu_wardrobe = 43.529
$shop_main_item_picked_wardrobe = 0.694
$number_of_wardrobe_in_shop = 0.012
$wardrobe_door_heading = 90.0
$number_of_wardrobe_in_area = 0.0
$number_of_items_wardrobe = 1

:WARROBE_819
if 
  $number_of_items_wardrobe == 1
goto_if_false @WARROBE_1280
if 
  $current_name_of_anim_wardrobe == 0
goto_if_false @WARROBE_1226
Text.UseCommands(True)
Stat.ShowUpdateStats(False)
$wardrobe_locateX = 212.8715
add_float_var_to_float_var $wardrobe_locateX += $main_menu_wardrobe
$wardrobe_locateY = -42.8156
add_float_var_to_float_var $wardrobe_locateY += $shop_main_item_picked_wardrobe
$wardrobe_locateZ = 1002.116
add_float_var_to_float_var $wardrobe_locateZ += $number_of_wardrobe_in_shop
$wardrobe_heading = 213.4791
add_float_var_to_float_var $wardrobe_heading += $main_menu_wardrobe
$wardrobe_camX = -42.0238
add_float_var_to_float_var $wardrobe_camX += $shop_main_item_picked_wardrobe
$wardrobe_camY = 1002.053
add_float_var_to_float_var $wardrobe_camY += $number_of_wardrobe_in_shop
$wardrobe_camZ = 214.5148
add_float_var_to_float_var $wardrobe_camZ += $main_menu_wardrobe
$wardrobe_cam_pointX = -41.6106
add_float_var_to_float_var $wardrobe_cam_pointX += $shop_main_item_picked_wardrobe
$wardrobe_cam_pointY = 1002.494
add_float_var_to_float_var $wardrobe_cam_pointY += $number_of_wardrobe_in_shop
$wardrobe_cam_pointZ = 214.5367
add_float_var_to_float_var $wardrobe_cam_pointZ += $main_menu_wardrobe
$wardrobe_hat_camX = -40.6175
add_float_var_to_float_var $wardrobe_hat_camX += $shop_main_item_picked_wardrobe
$wardrobe_hat_camY = 1002.609
add_float_var_to_float_var $wardrobe_hat_camY += $number_of_wardrobe_in_shop
$wardrobe_offX = 214.622
add_float_var_to_float_var $wardrobe_offX += $main_menu_wardrobe
$wardrobe_offY = -40.652
add_float_var_to_float_var $wardrobe_offY += $shop_main_item_picked_wardrobe
$wardrobe_offZ = 1001.033
add_float_var_to_float_var $wardrobe_offZ += $number_of_wardrobe_in_shop
$9997 = 213.874
add_float_var_to_float_var $9997 += $main_menu_wardrobe
$shop_progress_clothes = -39.811
add_float_var_to_float_var $shop_progress_clothes += $shop_main_item_picked_wardrobe
$number_of_clothes_in_shop = 1002.2
add_float_var_to_float_var $number_of_clothes_in_shop += $number_of_wardrobe_in_shop
$9807 = Object.CreateNoOffset($9865, $9997, $shop_progress_clothes, $number_of_clothes_in_shop)
Object.SetHeading($9807, $number_of_wardrobe_in_area)
$ryder = 1
$current_name_of_anim_wardrobe = 1

:WARROBE_1226
if 
  $current_name_of_anim_wardrobe == 1
goto_if_false @WARROBE_1280
if 
  Streaming.HasAnimationLoaded("CLOTHES")
goto_if_false @WARROBE_1280
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 2

:WARROBE_1280
if 
  $number_of_items_wardrobe == 2
goto_if_false @WARROBE_1364
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, $wardrobe_offX, $wardrobe_offY, $wardrobe_offZ, 1.0, 1.0, 4.0, $ryder)
goto_if_false @WARROBE_1364
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @WARROBE_1364
$number_of_items_wardrobe = 3

:WARROBE_1364
if 
  $number_of_items_wardrobe == 3
goto_if_false @WARROBE_1499
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @WARROBE_1485
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea($x, $y, $z, 1.0, True)
Hud.DisplayRadar(False)
TIMERA = 0
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 4
goto @WARROBE_1499

:WARROBE_1485
gosub @WARROBE_6813
goto @WARROBE_584

:WARROBE_1499
if 
  $number_of_items_wardrobe == 4
goto_if_false @WARROBE_1880
if 
  $current_name_of_anim_wardrobe == 0
goto_if_false @WARROBE_1785
if 
  TIMERA >= 300
goto_if_false @WARROBE_1785
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, $wardrobe_offX, $wardrobe_offY, $wardrobe_offZ)
Char.SetHeading($stattreadstamina_ctr, $wardrobe_door_heading)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
Camera.SetFixedPosition($wardrobe_locateX, $wardrobe_locateY, $wardrobe_locateZ, 0.0, 0.0, 0.0)
Camera.PointAtPoint($wardrobe_heading, $wardrobe_camX, $wardrobe_camY, SwitchType.JumpCut)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_IN", "CLOTHES", 4.0, False, False, False, True, -1)
$player_in_view_mode_wardrobe = 0.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_IN")
goto_if_false @WARROBE_1723
$player_in_view_mode_wardrobe = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_IN")

:WARROBE_1723
if 
  Object.DoesExist($9807)
goto_if_false @WARROBE_1778
Object.PlayAnim($9807, "CLO_POSE_OUT_O", "CLOTHES", 4.0, False, True)

:WARROBE_1778
$current_name_of_anim_wardrobe = 1

:WARROBE_1785
if 
  $current_name_of_anim_wardrobe == 1
goto_if_false @WARROBE_1880
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_IN")
goto_if_false @WARROBE_1843
$player_in_view_mode_wardrobe = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_IN")

:WARROBE_1843
if 
  $player_in_view_mode_wardrobe == 1.0
goto_if_false @WARROBE_1880
Player.StoreClothesState
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 5

:WARROBE_1880
if 
  $number_of_items_wardrobe == 5
goto_if_false @WARROBE_2621
if 
  $9866 == 0
goto_if_false @WARROBE_1941
if 
  1 > $current_name_of_anim_wardrobe
goto_if_false @WARROBE_1941
gosub @WARROBE_9307

:WARROBE_1941
$ryder = 0
if 
  $current_name_of_anim_wardrobe == 0
goto_if_false @WARROBE_2016
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @WARROBE_1991
$current_name_of_anim_wardrobe = 1

:WARROBE_1991
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @WARROBE_2016
$current_name_of_anim_wardrobe = 2

:WARROBE_2016
if 
  $current_name_of_anim_wardrobe == 1
goto_if_false @WARROBE_2252
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @WARROBE_2252
$shop_progress_wardrobe = Menu.GetItemAccepted($9867)
if 
  0 > $shop_progress_wardrobe
goto_if_false @WARROBE_2085
$shop_progress_wardrobe = 0

:WARROBE_2085
if 
  $9866 == 1
goto_if_false @WARROBE_2117
Menu.Delete($9867)
Text.ClearHelp
$9866 = 0

:WARROBE_2117
if or
  is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'REMOVE'
  is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'UNIFORM'
goto_if_false @WARROBE_2206
set_var_text_label16 v$9860 = "CLO_POSE_TORSO"
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 7
goto @WARROBE_2252

:WARROBE_2206
gosub @WARROBE_7213
if 
  $9961 == 0
goto_if_false @WARROBE_2238
gosub @WARROBE_8137

:WARROBE_2238
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 6

:WARROBE_2252
if 
  $current_name_of_anim_wardrobe == 2
goto_if_false @WARROBE_2461
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @WARROBE_2461
if 
  $9866 == 1
goto_if_false @WARROBE_2320
Menu.Delete($9867)
Text.ClearHelp
$9866 = 0

:WARROBE_2320
if 
  $9961 == 1
goto_if_false @WARROBE_2352
Menu.Delete($9962)
Text.ClearHelp
$9961 = 0

:WARROBE_2352
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_OUT", "CLOTHES", 1000.0, False, False, False, False, -1)
$player_in_view_mode_wardrobe = 0.0
if 
  Object.DoesExist($9807)
goto_if_false @WARROBE_2454
Object.PlayAnim($9807, "CLO_POSE_IN_O", "CLOTHES", 1000.0, False, True)

:WARROBE_2454
$current_name_of_anim_wardrobe = 5

:WARROBE_2461
if 
  $current_name_of_anim_wardrobe == 5
goto_if_false @WARROBE_2549
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_OUT")
goto_if_false @WARROBE_2521
$player_in_view_mode_wardrobe = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_OUT")

:WARROBE_2521
if 
  $player_in_view_mode_wardrobe == 1.0
goto_if_false @WARROBE_2549
$current_name_of_anim_wardrobe = 6

:WARROBE_2549
if 
  $current_name_of_anim_wardrobe == 6
goto_if_false @WARROBE_2621
Player.SetControl($statbike_temp, True)
Game.SetMinigameInProgress(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.DisplayRadar(True)
$flag_got_special_clothes_wardrobe = 0
$9866 = 0
$9961 = 0
$second_menu_wardrobe = 0
$number_of_items_wardrobe = 11

:WARROBE_2621
if 
  $number_of_items_wardrobe == 6
goto_if_false @WARROBE_3012
if 
  $9961 == 0
goto_if_false @WARROBE_2671
gosub @WARROBE_7213
gosub @WARROBE_8137

:WARROBE_2671
$ryder = 0
if 
  $current_name_of_anim_wardrobe == 0
goto_if_false @WARROBE_2798
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @WARROBE_2721
$current_name_of_anim_wardrobe = 1

:WARROBE_2721
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @WARROBE_2798
$9963 = Menu.GetItemSelected($9962)
if 
  0 > $9963
goto_if_false @WARROBE_2772
$9963 = 0

:WARROBE_2772
set_var_text_label16 v$9860 = $flag_wardrobe($9963,12v)
gosub @WARROBE_8539
$current_name_of_anim_wardrobe = 2

:WARROBE_2798
if 
  $current_name_of_anim_wardrobe == 1
goto_if_false @WARROBE_2905
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @WARROBE_2905
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 5
if 
  $9961 == 1
goto_if_false @WARROBE_2880
Text.ClearHelp
Menu.Delete($9962)
$9961 = 0

:WARROBE_2880
if 
  $9866 == 0
goto_if_false @WARROBE_2905
gosub @WARROBE_9307

:WARROBE_2905
if 
  $current_name_of_anim_wardrobe == 2
goto_if_false @WARROBE_3012
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @WARROBE_3012
if 
  $9961 == 1
goto_if_false @WARROBE_2973
Text.ClearHelp
Menu.Delete($9962)
$9961 = 0

:WARROBE_2973
if 
  $second_menu_wardrobe == 0
goto_if_false @WARROBE_2998
gosub @WARROBE_8850

:WARROBE_2998
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 7

:WARROBE_3012
if 
  $number_of_items_wardrobe == 7
goto_if_false @WARROBE_3723
if 
  is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'REMOVE'
goto_if_false @WARROBE_3162
if 
  $third_menu_wardrobe == 0
goto_if_false @WARROBE_3155
gosub @WARROBE_11594
if 
  $wardrobe_hat_cam_pointX == 0
goto_if_false @WARROBE_3155
if 
  $third_menu_wardrobe == 1
goto_if_false @WARROBE_3134
Menu.Delete($third_menu_drawn_wardrobe)
Text.ClearHelp
$third_menu_wardrobe = 0

:WARROBE_3134
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 5
goto @WARROBE_584

:WARROBE_3155
goto @WARROBE_3262

:WARROBE_3162
if 
  is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'UNIFORM'
goto_if_false @WARROBE_3230
if 
  $second_menu_wardrobe == 0
goto_if_false @WARROBE_3223
gosub @WARROBE_10980
gosub @WARROBE_8850

:WARROBE_3223
goto @WARROBE_3262

:WARROBE_3230
if 
  $second_menu_wardrobe == 0
goto_if_false @WARROBE_3262
gosub @WARROBE_8539
gosub @WARROBE_8850

:WARROBE_3262
if 
  $current_name_of_anim_wardrobe == 0
goto_if_false @WARROBE_3363
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @WARROBE_3305
$current_name_of_anim_wardrobe = 1

:WARROBE_3305
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @WARROBE_3363
$second_menu_item_picked_wardrobe = Menu.GetItemSelected($second_menu_drawn_wardrobe)
if 
  0 > $second_menu_item_picked_wardrobe
goto_if_false @WARROBE_3356
$second_menu_item_picked_wardrobe = 0

:WARROBE_3356
$current_name_of_anim_wardrobe = 2

:WARROBE_3363
if 
  $current_name_of_anim_wardrobe == 1
goto_if_false @WARROBE_3602
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @WARROBE_3602
if 
  $second_menu_wardrobe == 1
goto_if_false @WARROBE_3431
Menu.Delete($second_menu_drawn_wardrobe)
Text.ClearHelp
$second_menu_wardrobe = 0

:WARROBE_3431
if 
  $third_menu_wardrobe == 1
goto_if_false @WARROBE_3463
Menu.Delete($third_menu_drawn_wardrobe)
Text.ClearHelp
$third_menu_wardrobe = 0

:WARROBE_3463
if or
  is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'UNIFORM'
  is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'REMOVE'
goto_if_false @WARROBE_3556
if 
  $9866 == 0
goto_if_false @WARROBE_3535
gosub @WARROBE_9307

:WARROBE_3535
$number_of_items_wardrobe = 5
$current_name_of_anim_wardrobe = 0
goto @WARROBE_3602

:WARROBE_3556
if 
  $9961 == 0
goto_if_false @WARROBE_3588
gosub @WARROBE_7213
gosub @WARROBE_8137

:WARROBE_3588
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 6

:WARROBE_3602
if 
  $current_name_of_anim_wardrobe == 2
goto_if_false @WARROBE_3723
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @WARROBE_3723
if 
  $second_menu_wardrobe == 1
goto_if_false @WARROBE_3670
Menu.Delete($second_menu_drawn_wardrobe)
Text.ClearHelp
$second_menu_wardrobe = 0

:WARROBE_3670
if 
  $third_menu_wardrobe == 1
goto_if_false @WARROBE_3702
Menu.Delete($third_menu_drawn_wardrobe)
Text.ClearHelp
$third_menu_wardrobe = 0

:WARROBE_3702
$flag_got_special_clothes_wardrobe = 0
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 8

:WARROBE_3723
if 
  $number_of_items_wardrobe == 8
goto_if_false @WARROBE_4601
if 
  $current_name_of_anim_wardrobe == 0
goto_if_false @WARROBE_4215
if 
  is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'REMOVE'
goto_if_false @WARROBE_3847
$car_class = 0
$item_no_shops = 0
set_var_int_to_var_int $temp_var_shops = $2490($second_menu_item_picked_wardrobe,12i)
set_var_text_label s$barber_look_shops = $wardrobe_hat_cam_pointY($second_menu_item_picked_wardrobe,12s)
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $temp_var_shops)
goto @WARROBE_3891

:WARROBE_3847
set_var_int_to_var_int $car_class = $2442($second_menu_item_picked_wardrobe,12i)
set_var_int_to_var_int $item_no_shops = $2478($second_menu_item_picked_wardrobe,12i)
set_var_int_to_var_int $temp_var_shops = $flag_bought_from_suburban
set_var_text_label s$barber_look_shops = $wardrobe_hat_cam_pointY($second_menu_item_picked_wardrobe,12s)

:WARROBE_3891
if or
  is_int_var_equal_to_constant $temp_var_shops == 13
  is_int_var_equal_to_constant $temp_var_shops == 14
  is_int_var_equal_to_constant $temp_var_shops == 15
  is_int_var_equal_to_constant $temp_var_shops == 16
goto_if_false @WARROBE_3976
Camera.SetFixedPosition($wardrobe_camZ, $wardrobe_cam_pointX, $wardrobe_cam_pointY, 0.0, 0.0, 0.0)
Camera.PointAtPoint($wardrobe_cam_pointZ, $wardrobe_hat_camX, $wardrobe_hat_camY, SwitchType.JumpCut)
goto @WARROBE_4038

:WARROBE_3976
Camera.SetFixedPosition($wardrobe_locateX, $wardrobe_locateY, $wardrobe_locateZ, 0.0, 0.0, 0.0)
Camera.PointAtPoint($wardrobe_heading, $wardrobe_camX, $wardrobe_camY, SwitchType.JumpCut)
if 
  not is_int_var_equal_to_int_var $flag_player_owned_item_shops == $car_class
goto_if_false @WARROBE_4038
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)

:WARROBE_4038
if or
  is_int_var_equal_to_constant $temp_var_shops == 0
  is_int_var_equal_to_constant $temp_var_shops == 2
  is_int_var_equal_to_constant $temp_var_shops == 3
goto_if_false @WARROBE_4083
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.StoreClothesState

:WARROBE_4083
Player.GiveClothes($statbike_temp, $car_class, $item_no_shops, $temp_var_shops)
Player.BuildModel($statbike_temp)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_POSE_IN", "CLOTHES", 1000.0, False, False, False, True, -1)
$player_in_view_mode_wardrobe = 0.0
if 
  Object.DoesExist($9807)
goto_if_false @WARROBE_4208
Object.PlayAnim($9807, "CLO_POSE_IN_O", "CLOTHES", 1000.0, False, True)

:WARROBE_4208
$current_name_of_anim_wardrobe = 1

:WARROBE_4215
if 
  $current_name_of_anim_wardrobe == 1
goto_if_false @WARROBE_4457
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_POSE_IN")
goto_if_false @WARROBE_4283
$player_in_view_mode_wardrobe = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_POSE_IN")

:WARROBE_4283
if 
  $player_in_view_mode_wardrobe == 1.0
goto_if_false @WARROBE_4457
if 
  not is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'REMOVE'
goto_if_false @WARROBE_4389
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, v$9860, "CLOTHES", 1000.0, False, False, False, True, -1)
$player_in_view_mode_wardrobe = 0.0
$current_name_of_anim_wardrobe = 2
goto @WARROBE_4457

:WARROBE_4389
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_POSE_LOOP", "CLOTHES", 1000.0, True, False, False, False, -1)
$player_in_view_mode_wardrobe = 0.0
$number_of_items_wardrobe = 9
$current_name_of_anim_wardrobe = 0

:WARROBE_4457
if 
  $current_name_of_anim_wardrobe == 2
goto_if_false @WARROBE_4601
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, v$9860)
goto_if_false @WARROBE_4505
$player_in_view_mode_wardrobe = Char.GetAnimCurrentTime($stattreadstamina_ctr, v$9860)

:WARROBE_4505
if 
  $player_in_view_mode_wardrobe == 1.0
goto_if_false @WARROBE_4601
gosub @WARROBE_10439
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_POSE_LOOP", "CLOTHES", 1000.0, True, False, False, False, -1)
$player_in_view_mode_wardrobe = 0.0
$number_of_items_wardrobe = 9
$current_name_of_anim_wardrobe = 0

:WARROBE_4601
if 
  $number_of_items_wardrobe == 9
goto_if_false @WARROBE_6292
$ryder = 0
if 
  $current_name_of_anim_wardrobe == 0
goto_if_false @WARROBE_4881
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @WARROBE_4712
Text.ClearThisPrint('WARDNO')
Text.ClearThisPrint('WARDNO2')
$flag_bought_from_binco = 0
$flag_bought_from_prolapse = 0
$remove_menu_wardrobe = 0
$current_name_of_anim_wardrobe = 1

:WARROBE_4712
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @WARROBE_4881
Text.ClearThisPrint('WARDNO')
Text.ClearThisPrint('WARDNO2')
$flag_bought_from_binco = 0
$flag_bought_from_prolapse = 0
$remove_menu_wardrobe = 0
if 
  $bought_menu_drawn_shops == 1
goto_if_false @WARROBE_4805
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:WARROBE_4805
if 
  $flag_got_special_clothes_wardrobe == 0
goto_if_false @WARROBE_4837
$current_name_of_anim_wardrobe = 3
goto @WARROBE_4881

:WARROBE_4837
if 
  $item_price == 1
goto_if_false @WARROBE_4867
Menu.Delete($price_counter)
$item_price = 0

:WARROBE_4867
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 7

:WARROBE_4881
if 
  2 > $current_name_of_anim_wardrobe
goto_if_false @WARROBE_4906
gosub @WARROBE_10439

:WARROBE_4906
if 
  $current_name_of_anim_wardrobe == 1
goto_if_false @WARROBE_5442
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @WARROBE_5442
if 
  is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'REMOVE'
goto_if_false @WARROBE_5201
if 
  $flag_player_owned_item_shops <> 0
goto_if_false @WARROBE_5132
if 
  $bought_menu_drawn_shops == 1
goto_if_false @WARROBE_5021
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:WARROBE_5021
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1054)
gosub @WARROBE_10707
$remove_menu_wardrobe = 1
Player.StoreClothesState
Player.BuildModel($statbike_temp)
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $temp_var_shops)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_BUY", "CLOTHES", 4.0, False, False, False, True, -1)
$player_in_view_mode_wardrobe = 0.0
$current_name_of_anim_wardrobe = 2
goto @WARROBE_5194

:WARROBE_5132
if 
  $flag_bought_from_binco == 0
goto_if_false @WARROBE_5194
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
Text.PrintNow('WARDNO2', 5000, 1)
$current_name_of_anim_wardrobe = 0
$flag_bought_from_binco = 1

:WARROBE_5194
goto @WARROBE_5442

:WARROBE_5201
if 
  not is_int_var_equal_to_int_var $flag_player_owned_item_shops == $car_class
goto_if_false @WARROBE_5380
if 
  $bought_menu_drawn_shops == 1
goto_if_false @WARROBE_5252
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:WARROBE_5252
Shopping.AddPriceModifier($car_class, 0)
Shopping.BuyItem($car_class)
$remove_menu_wardrobe = 1
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1054)
Shopping.RemovePriceModifier($car_class)
gosub @WARROBE_10707
Player.StoreClothesState
Player.BuildModel($statbike_temp)
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_BUY", "CLOTHES", 4.0, False, False, False, True, -1)
$player_in_view_mode_wardrobe = 0.0
$current_name_of_anim_wardrobe = 2
goto @WARROBE_5442

:WARROBE_5380
if 
  $flag_bought_from_binco == 0
goto_if_false @WARROBE_5442
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
Text.PrintNow('WARDNO', 5000, 1)
$current_name_of_anim_wardrobe = 0
$flag_bought_from_binco = 1

:WARROBE_5442
if 
  $current_name_of_anim_wardrobe == 2
goto_if_false @WARROBE_5584
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_BUY")
goto_if_false @WARROBE_5502
$player_in_view_mode_wardrobe = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_BUY")

:WARROBE_5502
if 
  $player_in_view_mode_wardrobe == 1.0
goto_if_false @WARROBE_5584
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_POSE_LOOP", "CLOTHES", 1000.0, True, False, False, False, -1)
$player_in_view_mode_wardrobe = 0.0
$current_name_of_anim_wardrobe = 3

:WARROBE_5584
if 
  $current_name_of_anim_wardrobe == 3
goto_if_false @WARROBE_5717
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_POSE_OUT", "CLOTHES", 4.0, False, False, False, True, -1)
$player_in_view_mode_wardrobe = 0.0
if 
  Object.DoesExist($9807)
goto_if_false @WARROBE_5710
Object.PlayAnim($9807, "CLO_POSE_OUT_O", "CLOTHES", 1000.0, False, True)

:WARROBE_5710
$current_name_of_anim_wardrobe = 4

:WARROBE_5717
if 
  $current_name_of_anim_wardrobe == 4
goto_if_false @WARROBE_6292
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_POSE_OUT")
goto_if_false @WARROBE_5787
$player_in_view_mode_wardrobe = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_POSE_OUT")

:WARROBE_5787
if 
  $player_in_view_mode_wardrobe == 1.0
goto_if_false @WARROBE_6292
Player.RestoreClothesState
Player.BuildModel($statbike_temp)
Player.StoreClothesState
if 
  $bought_menu_drawn_shops == 1
goto_if_false @WARROBE_5849
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:WARROBE_5849
if 
  $item_price == 1
goto_if_false @WARROBE_5879
Menu.Delete($price_counter)
$item_price = 0

:WARROBE_5879
$flag_got_special_clothes_wardrobe = 1
if 
  $remove_menu_wardrobe == 1
goto_if_false @WARROBE_5968
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 5
if 
  $9866 == 0
goto_if_false @WARROBE_5961
if 
  1 > $current_name_of_anim_wardrobe
goto_if_false @WARROBE_5961
gosub @WARROBE_9307

:WARROBE_5961
goto @WARROBE_6292

:WARROBE_5968
if 
  is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'REMOVE'
goto_if_false @WARROBE_6164
if 
  $third_menu_wardrobe == 0
goto_if_false @WARROBE_6157
gosub @WARROBE_11594
if 
  $wardrobe_hat_cam_pointX == 0
goto_if_false @WARROBE_6143
if 
  $third_menu_wardrobe == 1
goto_if_false @WARROBE_6072
Menu.Delete($third_menu_drawn_wardrobe)
Text.ClearHelp
$third_menu_wardrobe = 0

:WARROBE_6072
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 5
if 
  $9866 == 0
goto_if_false @WARROBE_6129
if 
  1 > $current_name_of_anim_wardrobe
goto_if_false @WARROBE_6129
gosub @WARROBE_9307

:WARROBE_6129
goto @WARROBE_584
goto @WARROBE_6157

:WARROBE_6143
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 7

:WARROBE_6157
goto @WARROBE_6292

:WARROBE_6164
if 
  is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'UNIFORM'
goto_if_false @WARROBE_6246
if 
  $second_menu_wardrobe == 0
goto_if_false @WARROBE_6225
gosub @WARROBE_10980
gosub @WARROBE_8850

:WARROBE_6225
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 7
goto @WARROBE_6292

:WARROBE_6246
if 
  $second_menu_wardrobe == 0
goto_if_false @WARROBE_6278
gosub @WARROBE_8539
gosub @WARROBE_8850

:WARROBE_6278
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 7

:WARROBE_6292
if 
  $number_of_items_wardrobe == 11
goto_if_false @WARROBE_6444
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, $wardrobe_offX, $wardrobe_offY, $wardrobe_offZ, 1.0, 1.0, 4.0, $ryder)
goto_if_false @WARROBE_6444
$9866 = 0
$9961 = 0
$second_menu_wardrobe = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$third_menu_wardrobe = 0
$shop_progress_wardrobe = 0
$2521 = 0
$remove_menu_wardrobe = 0
$number_of_items_wardrobe = 2
$current_name_of_anim_wardrobe = 0
$flag_bought_from_binco = 0
$ryder = 1

:WARROBE_6444
goto @WARROBE_6458

:WARROBE_6451
gosub @WARROBE_6813

:WARROBE_6458
goto @WARROBE_6472

:WARROBE_6465
gosub @WARROBE_6813

:WARROBE_6472
goto @WARROBE_584
if 
  $number_of_items_wardrobe >= 1
goto_if_false @WARROBE_6499
Text.ClearHelp

:WARROBE_6499
if 
  $9866 == 1
goto_if_false @WARROBE_6531
Menu.Delete($9867)
Text.ClearHelp
$9866 = 0

:WARROBE_6531
if 
  $9961 == 1
goto_if_false @WARROBE_6563
Menu.Delete($9962)
Text.ClearHelp
$9961 = 0

:WARROBE_6563
if 
  $second_menu_wardrobe == 1
goto_if_false @WARROBE_6595
Menu.Delete($second_menu_drawn_wardrobe)
Text.ClearHelp
$second_menu_wardrobe = 0

:WARROBE_6595
if 
  $third_menu_wardrobe == 1
goto_if_false @WARROBE_6627
Menu.Delete($third_menu_drawn_wardrobe)
Text.ClearHelp
$third_menu_wardrobe = 0

:WARROBE_6627
if 
  $bought_menu_drawn_shops == 1
goto_if_false @WARROBE_6659
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:WARROBE_6659
if 
  $item_price == 1
goto_if_false @WARROBE_6691
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:WARROBE_6691
Text.ClearThisPrint('WARDNO')
Text.ClearThisPrint('WARDNO2')
$9866 = 0
$9961 = 0
$second_menu_wardrobe = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$third_menu_wardrobe = 0
$shop_progress_wardrobe = 0
$2521 = 0
$flag_bought_from_binco = 0
$flag_bought_from_prolapse = 0
$remove_menu_wardrobe = 0
$current_name_of_anim_wardrobe = 0
$flag_got_special_clothes_wardrobe = 0
$number_of_items_wardrobe = 2
return 

:WARROBE_6813
if 
  $9866 == 1
goto_if_false @WARROBE_6845
Menu.Delete($9867)
Text.ClearHelp
$9866 = 0

:WARROBE_6845
if 
  $9961 == 1
goto_if_false @WARROBE_6877
Menu.Delete($9962)
Text.ClearHelp
$9961 = 0

:WARROBE_6877
if 
  $second_menu_wardrobe == 1
goto_if_false @WARROBE_6909
Menu.Delete($second_menu_drawn_wardrobe)
Text.ClearHelp
$second_menu_wardrobe = 0

:WARROBE_6909
if 
  $third_menu_wardrobe == 1
goto_if_false @WARROBE_6941
Menu.Delete($third_menu_drawn_wardrobe)
Text.ClearHelp
$third_menu_wardrobe = 0

:WARROBE_6941
if 
  $bought_menu_drawn_shops == 1
goto_if_false @WARROBE_6973
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:WARROBE_6973
if 
  $item_price == 1
goto_if_false @WARROBE_7005
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:WARROBE_7005
if 
  $number_of_items_wardrobe >= 1
goto_if_false @WARROBE_7025
Text.ClearHelp

:WARROBE_7025
Text.ClearThisPrint('WARDNO')
Text.ClearThisPrint('WARDNO2')
$9866 = 0
$9961 = 0
$second_menu_wardrobe = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$third_menu_wardrobe = 0
$shop_progress_wardrobe = 0
$2521 = 0
$remove_menu_wardrobe = 0
$ryder = 1
$wardrobe_name = 0
$flag_bought_from_binco = 0
$flag_bought_from_prolapse = 0
$current_name_of_anim_wardrobe = 0
$number_of_items_wardrobe = 0
$flag_got_special_clothes_wardrobe = 0
Object.Delete($9807)
Streaming.MarkModelAsNoLongerNeeded($9865)
Streaming.RemoveAnimation("CLOTHES")
Shopping.ClearLoaded
Text.UseCommands(False)
Hud.DisplayRadar(True)
Stat.ShowUpdateStats(True)
Game.SetMinigameInProgress(False)
$flag_remove_menu_drawn_wardrobe = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
terminate_this_script 
return 

:WARROBE_7213
$9941 = 0
$9942 = 0
$9943 = 0
$9944 = 0
$number_of_torso_wardrobe = 0
$number_of_legs_wardrobe = 0
$number_of_feet_wardrobe = 0
Shopping.Load($9917($shop_progress_wardrobe,12s))
Shopping.LoadPrices("CLOTHES")
$shop_door_model_wardrobe = Shopping.GetNumberOfItems()
$2519 = 0
$wardrobe_hat_cam_pointX = 0

:WARROBE_7301
if 
  is_int_var_greater_than_int_var $shop_door_model_wardrobe > $2519
goto_if_false @WARROBE_8077
$car_class = Shopping.GetItem($2519)
$temp_var_shops = Shopping.GetExtraInfo($car_class, 1)
if 
  Shopping.HasPlayerBoughtItem($car_class)
goto_if_false @WARROBE_8063
switch_start $temp_var_shops {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @WARROBE_8063 {caseNum1} 0 {caseLabel1} @WARROBE_7417 {caseNum2} 2 {caseLabel2} @WARROBE_7510 {caseNum3} 3 {caseLabel3} @WARROBE_7602 {caseNum4} 13 {caseLabel4} @WARROBE_7695 {caseNum5} 14 {caseLabel5} @WARROBE_7788 {caseNum6} 15 {caseLabel6} @WARROBE_7881 {caseNum7} 16 {caseLabel7} @WARROBE_7972

:WARROBE_7417
if 
  $9941 == 0
goto_if_false @WARROBE_7503
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'TORSO'
set_var_int_to_constant $number_of_watches_wardrobe($wardrobe_hat_cam_pointX,12i) = 0
set_var_text_label16 $flag_wardrobe($wardrobe_hat_cam_pointX,12v) = "CLO_POSE_TORSO"
$wardrobe_hat_cam_pointX += 1
$9941 = 1

:WARROBE_7503
goto @WARROBE_8063

:WARROBE_7510
if 
  $9942 == 0
goto_if_false @WARROBE_7595
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'LEGS'
set_var_int_to_constant $number_of_watches_wardrobe($wardrobe_hat_cam_pointX,12i) = 2
set_var_text_label16 $flag_wardrobe($wardrobe_hat_cam_pointX,12v) = "CLO_POSE_LEGS"
$wardrobe_hat_cam_pointX += 1
$9942 = 1

:WARROBE_7595
goto @WARROBE_8063

:WARROBE_7602
if 
  $9943 == 0
goto_if_false @WARROBE_7688
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'FEET'
set_var_int_to_constant $number_of_watches_wardrobe($wardrobe_hat_cam_pointX,12i) = 3
set_var_text_label16 $flag_wardrobe($wardrobe_hat_cam_pointX,12v) = "CLO_POSE_SHOES"
$wardrobe_hat_cam_pointX += 1
$9943 = 1

:WARROBE_7688
goto @WARROBE_8063

:WARROBE_7695
if 
  $9944 == 0
goto_if_false @WARROBE_7781
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'CHAINS'
set_var_int_to_constant $number_of_watches_wardrobe($wardrobe_hat_cam_pointX,12i) = 13
set_var_text_label16 $flag_wardrobe($wardrobe_hat_cam_pointX,12v) = "CLO_POSE_TORSO"
$wardrobe_hat_cam_pointX += 1
$9944 = 1

:WARROBE_7781
goto @WARROBE_8063

:WARROBE_7788
if 
  $number_of_torso_wardrobe == 0
goto_if_false @WARROBE_7874
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'WATCHES'
set_var_int_to_constant $number_of_watches_wardrobe($wardrobe_hat_cam_pointX,12i) = 14
set_var_text_label16 $flag_wardrobe($wardrobe_hat_cam_pointX,12v) = "CLO_POSE_WATCH"
$wardrobe_hat_cam_pointX += 1
$number_of_torso_wardrobe = 1

:WARROBE_7874
goto @WARROBE_8063

:WARROBE_7881
if 
  $number_of_legs_wardrobe == 0
goto_if_false @WARROBE_7965
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'SHADES'
set_var_int_to_constant $number_of_watches_wardrobe($wardrobe_hat_cam_pointX,12i) = 15
set_var_text_label16 $flag_wardrobe($wardrobe_hat_cam_pointX,12v) = "CLO_POSE_HAT"
$wardrobe_hat_cam_pointX += 1
$number_of_legs_wardrobe = 1

:WARROBE_7965
goto @WARROBE_8063

:WARROBE_7972
if 
  $number_of_feet_wardrobe == 0
goto_if_false @WARROBE_8056
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'HATS'
set_var_int_to_constant $number_of_watches_wardrobe($wardrobe_hat_cam_pointX,12i) = 16
set_var_text_label16 $flag_wardrobe($wardrobe_hat_cam_pointX,12v) = "CLO_POSE_HAT"
$wardrobe_hat_cam_pointX += 1
$number_of_feet_wardrobe = 1

:WARROBE_8056
goto @WARROBE_8063

:WARROBE_8063
$2519 += 1
goto @WARROBE_7301

:WARROBE_8077
set_var_int_to_var_int $2519 = $wardrobe_hat_cam_pointX

:WARROBE_8085
if 
  12 > $2519
goto_if_false @WARROBE_8135
set_var_text_label $wardrobe_hat_cam_pointY($2519,12s) = 'DUMMY'
$2519 += 1
goto @WARROBE_8085

:WARROBE_8135
return 

:WARROBE_8137
if 
  $9961 == 0
goto_if_false @WARROBE_8537
Text.PrintHelpForever('WARDH2')
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @WARROBE_8228
$9962 = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @WARROBE_8469

:WARROBE_8228
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @WARROBE_8290
$9962 = Menu.Create('CLOTCHO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @WARROBE_8469

:WARROBE_8290
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @WARROBE_8352
$9962 = Menu.Create('CLOTCHO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @WARROBE_8469

:WARROBE_8352
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @WARROBE_8414
$9962 = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @WARROBE_8469

:WARROBE_8414
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @WARROBE_8469
$9962 = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)

:WARROBE_8469
Menu.SetColumnOrientation($9962, 0, 1)
Menu.SetColumn($9962, 0, 'DUMMY', s$wardrobe_hat_cam_pointY[0], s$wardrobe_hat_cam_pointY[1], s$wardrobe_hat_cam_pointY[2], s$wardrobe_hat_cam_pointY[3], s$wardrobe_hat_cam_pointY[4], s$wardrobe_hat_cam_pointY[5], s$wardrobe_hat_cam_pointY[6], s$wardrobe_hat_cam_pointY[7], s$wardrobe_hat_cam_pointY[8], s$wardrobe_hat_cam_pointY[9], s$wardrobe_hat_cam_pointY[10], s$wardrobe_hat_cam_pointY[11])
$9961 = 1

:WARROBE_8537
return 

:WARROBE_8539
$2519 = 0
$wardrobe_hat_cam_pointX = 0
$9964 = 0
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $number_of_watches_wardrobe($9963,12i))
$shop_door_model_wardrobe = Shopping.GetNumberOfItems()

:WARROBE_8583
if 
  is_int_var_greater_than_int_var $shop_door_model_wardrobe > $2519
goto_if_false @WARROBE_8790
$car_class = Shopping.GetItem($2519)
$item_no_shops = Shopping.GetExtraInfo($car_class, 0)
$temp_var_shops = Shopping.GetExtraInfo($car_class, 1)
if 
  Shopping.HasPlayerBoughtItem($car_class)
goto_if_false @WARROBE_8776
if 
  is_int_var_equal_to_int_var $temp_var_shops == $number_of_watches_wardrobe($9963,12i)
goto_if_false @WARROBE_8776
set_var_int_to_var_int $2442($9964,12i) = $car_class
s$barber_look_shops = Shopping.GetNameOfItem($car_class)
set_var_text_label $wardrobe_hat_cam_pointY($9964,12s) = s$barber_look_shops
set_var_int_to_var_int $2478($9964,12i) = $item_no_shops
set_var_int_to_var_int $flag_bought_from_suburban = $temp_var_shops
if 
  is_int_var_equal_to_int_var $flag_player_owned_item_shops == $car_class
goto_if_false @WARROBE_8758
$2502($9964,12i) = 0
goto @WARROBE_8769

:WARROBE_8758
$2502($9964,12i) = 1

:WARROBE_8769
$9964 += 1

:WARROBE_8776
$2519 += 1
goto @WARROBE_8583

:WARROBE_8790
set_var_int_to_var_int $2519 = $9964

:WARROBE_8798
if 
  12 > $2519
goto_if_false @WARROBE_8848
set_var_text_label $wardrobe_hat_cam_pointY($2519,12s) = 'DUMMY'
$2519 += 1
goto @WARROBE_8798

:WARROBE_8848
return 

:WARROBE_8850
if 
  $second_menu_wardrobe == 0
goto_if_false @WARROBE_9305
Text.PrintHelpForever('WARDH3')
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @WARROBE_8941
$second_menu_drawn_wardrobe = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @WARROBE_9182

:WARROBE_8941
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @WARROBE_9003
$second_menu_drawn_wardrobe = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @WARROBE_9182

:WARROBE_9003
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @WARROBE_9065
$second_menu_drawn_wardrobe = Menu.Create('CLOTCHO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @WARROBE_9182

:WARROBE_9065
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @WARROBE_9127
$second_menu_drawn_wardrobe = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @WARROBE_9182

:WARROBE_9127
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @WARROBE_9182
$second_menu_drawn_wardrobe = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)

:WARROBE_9182
Menu.SetColumnOrientation($second_menu_drawn_wardrobe, 0, 1)
Menu.SetColumn($second_menu_drawn_wardrobe, 0, 'DUMMY', s$wardrobe_hat_cam_pointY[0], s$wardrobe_hat_cam_pointY[1], s$wardrobe_hat_cam_pointY[2], s$wardrobe_hat_cam_pointY[3], s$wardrobe_hat_cam_pointY[4], s$wardrobe_hat_cam_pointY[5], s$wardrobe_hat_cam_pointY[6], s$wardrobe_hat_cam_pointY[7], s$wardrobe_hat_cam_pointY[8], s$wardrobe_hat_cam_pointY[9], s$wardrobe_hat_cam_pointY[10], s$wardrobe_hat_cam_pointY[11])
$2519 = 0

:WARROBE_9250
if 
  is_int_var_greater_than_int_var $9964 > $2519
goto_if_false @WARROBE_9298
Menu.ActivateItem($second_menu_drawn_wardrobe, $2519, $2502($2519,12i))
$2519 += 1
goto @WARROBE_9250

:WARROBE_9298
$second_menu_wardrobe = 1

:WARROBE_9305
return 

:WARROBE_9307
if 
  $9866 == 0
goto_if_false @WARROBE_10437
gosub @WARROBE_11594
if 
  $third_menu_wardrobe == 1
goto_if_false @WARROBE_9364
Menu.Delete($third_menu_drawn_wardrobe)
Text.ClearHelp
$third_menu_wardrobe = 0

:WARROBE_9364
if 
  $wardrobe_hat_cam_pointX == 0
goto_if_false @WARROBE_9396
$third_menu_item_picked_wardrobe = 0
goto @WARROBE_9403

:WARROBE_9396
$third_menu_item_picked_wardrobe = 1

:WARROBE_9403
$wardrobe_hat_cam_pointX = 0
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @WARROBE_9472
$9867 = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @WARROBE_9713

:WARROBE_9472
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @WARROBE_9534
$9867 = Menu.Create('CLOTCHO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @WARROBE_9713

:WARROBE_9534
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @WARROBE_9596
$9867 = Menu.Create('CLOTCHO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @WARROBE_9713

:WARROBE_9596
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @WARROBE_9658
$9867 = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @WARROBE_9713

:WARROBE_9658
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @WARROBE_9713
$9867 = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)

:WARROBE_9713
Menu.SetColumnOrientation($9867, 0, 1)
if 
  $flag_bought_from_victim == 1
goto_if_false @WARROBE_9783
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'SHOP1'
set_var_text_label $9917($wardrobe_hat_cam_pointX,12s) = 'CSCHP'
$wardrobe_hat_cam_pointX += 1

:WARROBE_9783
if 
  $flag_bought_from_didiessachs == 1
goto_if_false @WARROBE_9844
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'SHOP2'
set_var_text_label $9917($wardrobe_hat_cam_pointX,12s) = 'CSSPRT'
$wardrobe_hat_cam_pointX += 1

:WARROBE_9844
if 
  $flag_player_got_gimp_suit == 1
goto_if_false @WARROBE_9905
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'SHOP3'
set_var_text_label $9917($wardrobe_hat_cam_pointX,12s) = 'LACS1'
$wardrobe_hat_cam_pointX += 1

:WARROBE_9905
if 
  $flag_player_got_valet_uniform == 1
goto_if_false @WARROBE_9966
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'SHOP4'
set_var_text_label $9917($wardrobe_hat_cam_pointX,12s) = 'CLOTHGP'
$wardrobe_hat_cam_pointX += 1

:WARROBE_9966
if 
  $flag_player_got_casino_uniform == 1
goto_if_false @WARROBE_10027
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'SHOP5'
set_var_text_label $9917($wardrobe_hat_cam_pointX,12s) = 'CSDESGN'
$wardrobe_hat_cam_pointX += 1

:WARROBE_10027
if 
  $flag_player_got_police_uniform == 1
goto_if_false @WARROBE_10088
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'SHOP6'
set_var_text_label $9917($wardrobe_hat_cam_pointX,12s) = 'CSEXL'
$wardrobe_hat_cam_pointX += 1

:WARROBE_10088
$number_bought_items_in_area = 0
if or
  $flag_player_got_country_clothes == 1
  $flag_got_mechanic_clothes == 1
  $flag_got_medic_clothes == 1
  $flag_6weapons_open == 1
  $flag_got_pimp_clothes == 1
  $sample_name_shop == 1
goto_if_false @WARROBE_10155
$number_bought_items_in_area = 1

:WARROBE_10155
if or
  $flag_7weapons_open == 1
  $flag_8weapons_open == 1
goto_if_false @WARROBE_10187
$number_bought_items_in_area = 1

:WARROBE_10187
if 
  $number_bought_items_in_area == 1
goto_if_false @WARROBE_10248
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'SHOP7'
set_var_text_label $9917($wardrobe_hat_cam_pointX,12s) = 'UNIFORM'
$wardrobe_hat_cam_pointX += 1

:WARROBE_10248
if 
  $third_menu_item_picked_wardrobe == 1
goto_if_false @WARROBE_10309
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'REMCLT'
set_var_text_label $9917($wardrobe_hat_cam_pointX,12s) = 'REMOVE'
$wardrobe_hat_cam_pointX += 1

:WARROBE_10309
set_var_int_to_var_int $2519 = $wardrobe_hat_cam_pointX

:WARROBE_10317
if 
  12 > $2519
goto_if_false @WARROBE_10367
set_var_text_label $wardrobe_hat_cam_pointY($2519,12s) = 'DUMMY'
$2519 += 1
goto @WARROBE_10317

:WARROBE_10367
Text.PrintHelpForever('WARDH1')
Menu.SetColumn($9867, 0, 'DUMMY', s$wardrobe_hat_cam_pointY[0], s$wardrobe_hat_cam_pointY[1], s$wardrobe_hat_cam_pointY[2], s$wardrobe_hat_cam_pointY[3], s$wardrobe_hat_cam_pointY[4], s$wardrobe_hat_cam_pointY[5], s$wardrobe_hat_cam_pointY[6], s$wardrobe_hat_cam_pointY[7], s$wardrobe_hat_cam_pointY[8], s$wardrobe_hat_cam_pointY[9], s$wardrobe_hat_cam_pointY[10], s$wardrobe_hat_cam_pointY[11])
$9866 = 1

:WARROBE_10437
return 

:WARROBE_10439
if 
  $bought_menu_drawn_shops == 0
goto_if_false @WARROBE_10705
if 
  is_var_text_label_equal_to_text_label $9917($shop_progress_wardrobe,12s) == 'REMOVE'
goto_if_false @WARROBE_10504
Text.PrintHelpForever('REMOH2')
goto @WARROBE_10515

:WARROBE_10504
Text.PrintHelpForever('WARDH4')

:WARROBE_10515
$bought_menu_shops = Menu.Create('CLOTCHO', 29.0, 95.0, 93.0, 2, False, True, 1)
Menu.SetColumnOrientation($bought_menu_shops, 0, 1)
Menu.SetColumn($bought_menu_shops, 0, 'DUMMY', s$barber_look_shops, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnWidth($bought_menu_shops, 0, 140)
Menu.SetColumnWidth($bought_menu_shops, 1, 46)
$bought_menu_drawn_shops = 1

:WARROBE_10705
return 

:WARROBE_10707
if 
  $item_price == 0
goto_if_false @WARROBE_10978
if 
is_xbox_version 
goto_if_false @WARROBE_10782
$price_counter = Menu.Create('CLOTCHO', 29.0, 48.0, 93.0, 2, False, True, 1)
goto @WARROBE_10819

:WARROBE_10782
$price_counter = Menu.Create('CLOTCHO', 29.0, 25.0, 93.0, 2, False, True, 1)

:WARROBE_10819
Menu.SetColumnOrientation($price_counter, 0, 1)
Menu.SetColumn($price_counter, 0, 'DUMMY', 'CHANGED', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnWidth($price_counter, 0, 140)
Menu.SetColumnWidth($price_counter, 1, 46)
$item_price = 1

:WARROBE_10978
return 

:WARROBE_10980
Shopping.Load("UNIFORM")
Shopping.LoadPrices("CLOTHES")
$shop_door_model_wardrobe = Shopping.GetNumberOfItems()
$2519 = 0
$wardrobe_hat_cam_pointX = 0
$9964 = 0

:WARROBE_11028
if 
  is_int_var_greater_than_int_var $shop_door_model_wardrobe > $2519
goto_if_false @WARROBE_11534
$car_class = Shopping.GetItem($2519)
$item_no_shops = Shopping.GetExtraInfo($car_class, 0)
$temp_var_shops = Shopping.GetExtraInfo($car_class, 1)
set_var_int_to_var_int $2442($9964,12i) = $car_class
s$barber_look_shops = Shopping.GetNameOfItem($car_class)
set_var_text_label $wardrobe_hat_cam_pointY($9964,12s) = s$barber_look_shops
set_var_int_to_var_int $2478($9964,12i) = $item_no_shops
set_var_int_to_constant $flag_bought_from_suburban = 17
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.SpecialCostume)
if 
  is_int_var_equal_to_int_var $flag_player_owned_item_shops == $car_class
goto_if_false @WARROBE_11176
$2502($9964,12i) = 0
goto @WARROBE_11187

:WARROBE_11176
$2502($9964,12i) = 1

:WARROBE_11187
if and
  $flag_player_got_country_clothes == 1
  is_var_text_label_equal_to_text_label s$barber_look_shops == 'GIMP'
goto_if_false @WARROBE_11226
$9964 += 1

:WARROBE_11226
if and
  $flag_got_mechanic_clothes == 1
  is_var_text_label_equal_to_text_label s$barber_look_shops == 'VALETU'
goto_if_false @WARROBE_11265
$9964 += 1

:WARROBE_11265
if and
  $sample_name_shop == 1
  is_var_text_label_equal_to_text_label s$barber_look_shops == 'COUNTRY'
goto_if_false @WARROBE_11304
$9964 += 1

:WARROBE_11304
if and
  $flag_got_medic_clothes == 1
  is_var_text_label_equal_to_text_label s$barber_look_shops == 'CROUP'
goto_if_false @WARROBE_11343
$9964 += 1

:WARROBE_11343
if and
  $flag_got_pimp_clothes == 1
  is_var_text_label_equal_to_text_label s$barber_look_shops == 'POLICE'
goto_if_false @WARROBE_11382
$9964 += 1

:WARROBE_11382
if and
  $flag_7weapons_open == 1
  is_var_text_label_equal_to_text_label s$barber_look_shops == 'PAMEDIC'
goto_if_false @WARROBE_11421
$9964 += 1

:WARROBE_11421
if and
  $flag_8weapons_open == 1
  is_var_text_label_equal_to_text_label s$barber_look_shops == 'PIMPSUT'
goto_if_false @WARROBE_11460
$9964 += 1

:WARROBE_11460
if and
  $flag_6weapons_open == 1
  is_var_text_label_equal_to_text_label s$barber_look_shops == 'RDRIVER'
goto_if_false @WARROBE_11499
$9964 += 1

:WARROBE_11499
set_var_text_label16 v$9860 = "CLO_POSE_TORSO"
$2519 += 1
goto @WARROBE_11028

:WARROBE_11534
set_var_int_to_var_int $2519 = $9964

:WARROBE_11542
if 
  12 > $2519
goto_if_false @WARROBE_11592
set_var_text_label $wardrobe_hat_cam_pointY($2519,12s) = 'DUMMY'
$2519 += 1
goto @WARROBE_11542

:WARROBE_11592
return 

:WARROBE_11594
$2519 = 0
$wardrobe_hat_cam_pointX = 0
if 
  $third_menu_wardrobe == 0
goto_if_false @WARROBE_12602
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @WARROBE_11688
$third_menu_drawn_wardrobe = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @WARROBE_11929

:WARROBE_11688
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @WARROBE_11750
$third_menu_drawn_wardrobe = Menu.Create('CLOTCHO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @WARROBE_11929

:WARROBE_11750
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @WARROBE_11812
$third_menu_drawn_wardrobe = Menu.Create('CLOTCHO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @WARROBE_11929

:WARROBE_11812
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @WARROBE_11874
$third_menu_drawn_wardrobe = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @WARROBE_11929

:WARROBE_11874
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @WARROBE_11929
$third_menu_drawn_wardrobe = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)

:WARROBE_11929
Menu.SetColumnOrientation($third_menu_drawn_wardrobe, 0, 1)
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.Torso)
if 
  $flag_player_owned_item_shops <> 0
goto_if_false @WARROBE_12005
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'TORSO'
set_var_int_to_constant $2490($wardrobe_hat_cam_pointX,12i) = 0
$wardrobe_hat_cam_pointX += 1

:WARROBE_12005
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.Legs)
if 
  $flag_player_owned_item_shops <> 0
goto_if_false @WARROBE_12072
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'LEGS'
set_var_int_to_constant $2490($wardrobe_hat_cam_pointX,12i) = 2
$wardrobe_hat_cam_pointX += 1

:WARROBE_12072
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.Shoes)
if 
  $flag_player_owned_item_shops <> 0
goto_if_false @WARROBE_12139
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'FEET'
set_var_int_to_constant $2490($wardrobe_hat_cam_pointX,12i) = 3
$wardrobe_hat_cam_pointX += 1

:WARROBE_12139
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.Necklace)
if 
  $flag_player_owned_item_shops <> 0
goto_if_false @WARROBE_12206
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'CHAINS'
set_var_int_to_constant $2490($wardrobe_hat_cam_pointX,12i) = 13
$wardrobe_hat_cam_pointX += 1

:WARROBE_12206
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.WatchOrBracelet)
if 
  $flag_player_owned_item_shops <> 0
goto_if_false @WARROBE_12273
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'WATCHES'
set_var_int_to_constant $2490($wardrobe_hat_cam_pointX,12i) = 14
$wardrobe_hat_cam_pointX += 1

:WARROBE_12273
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.Glasses)
if 
  $flag_player_owned_item_shops <> 0
goto_if_false @WARROBE_12340
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'SHADES'
set_var_int_to_constant $2490($wardrobe_hat_cam_pointX,12i) = 15
$wardrobe_hat_cam_pointX += 1

:WARROBE_12340
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.Hat)
if 
  $flag_player_owned_item_shops <> 0
goto_if_false @WARROBE_12407
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'HATS'
set_var_int_to_constant $2490($wardrobe_hat_cam_pointX,12i) = 16
$wardrobe_hat_cam_pointX += 1

:WARROBE_12407
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, BodyPart.SpecialCostume)
if 
  $flag_player_owned_item_shops <> 0
goto_if_false @WARROBE_12474
set_var_text_label $wardrobe_hat_cam_pointY($wardrobe_hat_cam_pointX,12s) = 'SHOP7'
set_var_int_to_constant $2490($wardrobe_hat_cam_pointX,12i) = 17
$wardrobe_hat_cam_pointX += 1

:WARROBE_12474
set_var_int_to_var_int $2519 = $wardrobe_hat_cam_pointX

:WARROBE_12482
if 
  12 > $2519
goto_if_false @WARROBE_12532
set_var_text_label $wardrobe_hat_cam_pointY($2519,12s) = 'DUMMY'
$2519 += 1
goto @WARROBE_12482

:WARROBE_12532
Text.PrintHelpForever('REMOH1')
Menu.SetColumn($third_menu_drawn_wardrobe, 0, 'DUMMY', s$wardrobe_hat_cam_pointY[0], s$wardrobe_hat_cam_pointY[1], s$wardrobe_hat_cam_pointY[2], s$wardrobe_hat_cam_pointY[3], s$wardrobe_hat_cam_pointY[4], s$wardrobe_hat_cam_pointY[5], s$wardrobe_hat_cam_pointY[6], s$wardrobe_hat_cam_pointY[7], s$wardrobe_hat_cam_pointY[8], s$wardrobe_hat_cam_pointY[9], s$wardrobe_hat_cam_pointY[10], s$wardrobe_hat_cam_pointY[11])
$third_menu_wardrobe = 1

:WARROBE_12602
return 
terminate_this_script 

//-------------External script 64 (CLOTHES)---------------

:CLOTH
$9995 = 0
$9996 = 0
$shop_sub_item_picked_shops = 0
$2429 = 0
$ITEM1 = 0
$2519 = 0
$sub_menu_drawn_shops = 0
$2428 = 0
$name_of_anim_clothes = 0
$9997 = 0.0
$shop_progress_clothes = 0.0
$number_of_clothes_in_shop = 0.0
$change_doorZ = 0.0
$number_of_clothes_in_area = 0.0
$change_doorX = 0.0
$change_doorY = 0.0
$change_doorZ = 0.0
$clothes_offX = 0.0
$clothes_offY = 0.0
$clothes_offZ = 0.0
$change_room_door_heading = 0.0
$clothes_locateX = 0.0
$clothes_locateY = 0.0
$clothes_locateZ = 0.0
$clothes_heading = 0.0
$clothes_camX = 0.0
$clothes_camY = 0.0
$clothes_camZ = 0.0
$clothes_cam_pointX = 0.0
$clothes_cam_pointY = 0.0
$clothes_cam_pointZ = 0.0
$clothes_hat_camX = 0.0
$clothes_hat_camY = 0.0
$clothes_hat_camZ = 0.0
$clothes_hat_cam_pointX = 0.0
$clothes_hat_cam_pointY = 0.0
$clothes_hat_cam_pointZ = 0.0
$clothes_name = 0
$changing_room_door = 0
$change_room_door_heading = 0.0
$clothes_heading = 0.0
$clothes_camX = 0.0
$clothes_camY = 0.0
$player_in_view_mode = 0.0
$flag_player_use_changing_room = 0.0
$shopkeeper_attacked_clothes = 0
$stored_clothes_shop = 0
$number_of_items_clothes = 0
$clothes_price = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$sub_menu_drawn_shops = 0
$2428 = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$flag_bought_from_prolapse = 0
$flag_bought_from_suburban = 0
$shop_keep_clothY = 0
$shop_keep_clothZ = 0
$shop_keep_heading_clothes = 0
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'LACS1'
goto_if_false @CLOTH_577
set_var_int_to_constant $main_menu_shops = 211
$shop_keep_clothX = -373

:CLOTH_577
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSCHP'
goto_if_false @CLOTH_618
set_var_int_to_constant $main_menu_shops = 211
$shop_keep_clothX = -372

:CLOTH_618
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSSPRT'
goto_if_false @CLOTH_659
set_var_int_to_constant $main_menu_shops = 217
$shop_keep_clothX = -374

:CLOTH_659
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CLOTHGP'
goto_if_false @CLOTH_700
set_var_int_to_constant $main_menu_shops = 211
$shop_keep_clothX = -375

:CLOTH_700
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSDESGN'
goto_if_false @CLOTH_741
set_var_int_to_constant $main_menu_shops = 211
$shop_keep_clothX = -376

:CLOTH_741
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSEXL'
goto_if_false @CLOTH_782
set_var_int_to_constant $main_menu_shops = 217
$shop_keep_clothX = -377

:CLOTH_782
Streaming.RequestModel($shop_keep_clothX)
Streaming.RequestModel($main_menu_shops)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 20802)
Streaming.LoadAllModelsNow
set_deatharrest_state 0
script_name 'CLOTH'

:CLOTH_816
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CLOTH_6957
if 
  not is_var_text_label_empty s$territory_pickup
goto_if_false @CLOTH_6943
if 
  $shopkeeper_attacked_clothes > 0
goto_if_false @CLOTH_945
Char.ShutUp($stattreadstamina_ctr, True)
if 
  Game.HasLanguageChanged
goto_if_false @CLOTH_945
Text.ClearHelp
Menu.Delete($sub_menu_shops)
Menu.Delete($2427)
Menu.Delete($price_counter)
Menu.Delete($bought_menu_shops)
$sub_menu_drawn_shops = 0
$2428 = 0
$item_price = 0
$bought_menu_drawn_shops = 0
$flag_hhiker_trigger = Game.GetCurrentLanguage()

:CLOTH_945
if 
  $shopkeeper_attacked_clothes == 0
goto_if_false @CLOTH_1900
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'LACS1'
goto_if_false @CLOTH_1098
$number_of_clothes_in_area = 0.0
$change_doorX = 0.0
$change_doorY = 0.0
$clothes_hat_camZ = 203.528
$clothes_hat_cam_pointX = -41.644
$clothes_hat_cam_pointY = 1000.852
$clothes_hat_cam_pointZ = 180.0
$change_room_door_heading = 90.0
$change_doorZ = 0.0
set_var_text_label s$9980 = s$territory_pickup
$9995 = Shopping.GetNumberOfItems()
$shopkeeper_attacked_clothes = 1

:CLOTH_1098
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSCHP'
goto_if_false @CLOTH_1233
$number_of_clothes_in_area = 2.85
$change_doorX = -57.534
$change_doorY = 3.26
$clothes_hat_camZ = 208.806
$clothes_hat_cam_pointX = -98.713
$clothes_hat_cam_pointY = 1004.297
$clothes_hat_cam_pointZ = 180.0
$change_room_door_heading = 90.0
$change_doorZ = 0.0
set_var_text_label s$9980 = s$territory_pickup
$9995 = Shopping.GetNumberOfItems()
$shopkeeper_attacked_clothes = 1

:CLOTH_1233
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSSPRT'
goto_if_false @CLOTH_1368
$number_of_clothes_in_area = -12.653
$change_doorX = -90.758
$change_doorY = 1.477
$clothes_hat_camZ = 207.018
$clothes_hat_cam_pointX = -127.782
$clothes_hat_cam_pointY = 1002.555
$clothes_hat_cam_pointZ = 180.0
$change_room_door_heading = 90.0
$change_doorZ = 0.0
set_var_text_label s$9980 = s$territory_pickup
$9995 = Shopping.GetNumberOfItems()
$shopkeeper_attacked_clothes = 1

:CLOTH_1368
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CLOTHGP'
goto_if_false @CLOTH_1503
$number_of_clothes_in_area = -33.204
$change_doorX = -46.245
$change_doorY = 0.0
$clothes_hat_camZ = 161.56
$clothes_hat_cam_pointX = -81.369
$clothes_hat_cam_pointY = 1000.859
$clothes_hat_cam_pointZ = 180.0
$change_room_door_heading = 90.0
$change_doorZ = 0.0
set_var_text_label s$9980 = s$territory_pickup
$9995 = Shopping.GetNumberOfItems()
$shopkeeper_attacked_clothes = 1

:CLOTH_1503
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSDESGN'
goto_if_false @CLOTH_1765
if 
  $boat_school_blip > 3
goto_if_false @CLOTH_1655
$shop_keep_heading_clothes = Text.GetHashKey("TSHIRTLOCGREY")
Shopping.AddPriceModifier($shop_keep_heading_clothes, 15)
$shop_keep_heading_clothes = Text.GetHashKey("BASKBALLLOC")
Shopping.AddPriceModifier($shop_keep_heading_clothes, 20)
$shop_keep_heading_clothes = Text.GetHashKey("TSHIRTMADDGREY")
Shopping.AddPriceModifier($shop_keep_heading_clothes, 300)
$shop_keep_heading_clothes = Text.GetHashKey("TSHIRTMADDGRN")
Shopping.AddPriceModifier($shop_keep_heading_clothes, 300)

:CLOTH_1655
$number_of_clothes_in_area = -5.806
$change_doorX = 36.733
$change_doorY = -0.815
$clothes_hat_camZ = 204.836
$clothes_hat_cam_pointX = -7.328
$clothes_hat_cam_pointY = 1000.258
$clothes_hat_cam_pointZ = 270.0
$change_room_door_heading = 90.0
$change_doorZ = 0.0
set_var_text_label s$9980 = s$territory_pickup
$9995 = Shopping.GetNumberOfItems()
$shopkeeper_attacked_clothes = 1

:CLOTH_1765
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSEXL'
goto_if_false @CLOTH_1900
$number_of_clothes_in_area = 1.2
$change_doorX = -114.524
$change_doorY = -1.51
$clothes_hat_camZ = 204.366
$clothes_hat_cam_pointX = -157.789
$clothes_hat_cam_pointY = 999.563
$clothes_hat_cam_pointZ = 180.0
$change_room_door_heading = 90.0
$change_doorZ = 0.0
set_var_text_label s$9980 = s$territory_pickup
$9995 = Shopping.GetNumberOfItems()
$shopkeeper_attacked_clothes = 1

:CLOTH_1900
if 
  $shopkeeper_attacked_clothes == 1
goto_if_false @CLOTH_2351
Text.UseCommands(True)
Stat.ShowUpdateStats(False)
$clothes_locateX = 212.8715
add_float_var_to_float_var $clothes_locateX += $number_of_clothes_in_area
$clothes_locateY = -42.8156
add_float_var_to_float_var $clothes_locateY += $change_doorX
$clothes_locateZ = 1002.116
add_float_var_to_float_var $clothes_locateZ += $change_doorY
$clothes_heading = 213.4791
add_float_var_to_float_var $clothes_heading += $number_of_clothes_in_area
$clothes_camX = -42.0238
add_float_var_to_float_var $clothes_camX += $change_doorX
$clothes_camY = 1002.053
add_float_var_to_float_var $clothes_camY += $change_doorY
$clothes_camZ = 214.5148
add_float_var_to_float_var $clothes_camZ += $number_of_clothes_in_area
$clothes_cam_pointX = -41.6106
add_float_var_to_float_var $clothes_cam_pointX += $change_doorX
$clothes_cam_pointY = 1002.494
add_float_var_to_float_var $clothes_cam_pointY += $change_doorY
$clothes_cam_pointZ = 214.5367
add_float_var_to_float_var $clothes_cam_pointZ += $number_of_clothes_in_area
$clothes_hat_camX = -40.6175
add_float_var_to_float_var $clothes_hat_camX += $change_doorX
$clothes_hat_camY = 1002.609
add_float_var_to_float_var $clothes_hat_camY += $change_doorY
$clothes_offX = 214.622
add_float_var_to_float_var $clothes_offX += $number_of_clothes_in_area
$clothes_offY = -40.652
add_float_var_to_float_var $clothes_offY += $change_doorX
$clothes_offZ = 1001.033
add_float_var_to_float_var $clothes_offZ += $change_doorY
$9997 = 213.874
add_float_var_to_float_var $9997 += $number_of_clothes_in_area
$shop_progress_clothes = -39.811
add_float_var_to_float_var $shop_progress_clothes += $change_doorX
$number_of_clothes_in_shop = 1002.2
add_float_var_to_float_var $number_of_clothes_in_shop += $change_doorY
$player_using_wardrobe = Char.Create(PedType.CivMale, $main_menu_shops, $clothes_hat_camZ, $clothes_hat_cam_pointX, $clothes_hat_cam_pointY)
Char.SetOnlyDamagedByPlayer($player_using_wardrobe, True)
Char.SetDecisionMaker($player_using_wardrobe, 65542)
Char.SetHeading($player_using_wardrobe, $clothes_hat_cam_pointZ)
$clothes_price = 0
$9985 = Object.CreateNoOffset($shop_keep_clothX, $9997, $shop_progress_clothes, $number_of_clothes_in_shop)
Object.SetHeading($9985, $change_doorZ)
$vomit_camZ = Char.SetSayContext($player_using_wardrobe, 327)
$ryder = 1
$shopkeeper_attacked_clothes = 2

:CLOTH_2351
if 
  $shopkeeper_attacked_clothes == 2
goto_if_false @CLOTH_2767
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$9980
goto_if_false @CLOTH_2400
gosub @CLOTH_7245

:CLOTH_2400
if 
  not Char.IsDead($player_using_wardrobe)
goto_if_false @CLOTH_2722
if 
  $clothes_price == 0
goto_if_false @CLOTH_2670
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, $player_using_wardrobe)
  Char.HasBeenDamagedByWeapon($player_using_wardrobe, WeaponType.AnyWeapon)
  $SLOT_play_status == 1
goto_if_false @CLOTH_2504
$vomit_camZ = Char.SetSayContext($player_using_wardrobe, 322)
Task.HandsUp($player_using_wardrobe, -2)
$clothes_price = 1
goto @CLOTH_2577

:CLOTH_2504
$ryder = 1
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, $clothes_offX, $clothes_offY, $clothes_offZ, 1.0, 1.0, 4.0, $ryder)
goto_if_false @CLOTH_2577
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @CLOTH_2577
$shopkeeper_attacked_clothes = 3

:CLOTH_2577
if 
  $stored_clothes_shop == 0
goto_if_false @CLOTH_2663
if 
  Char.LocateOnFootChar3D($stattreadstamina_ctr, $player_using_wardrobe, 8.0, 8.0, 3.0, False)
goto_if_false @CLOTH_2656
$vomit_camZ = Char.SetSayContext($player_using_wardrobe, 323)
$stored_clothes_shop = 1
goto @CLOTH_2663

:CLOTH_2656
$stored_clothes_shop = 0

:CLOTH_2663
goto @CLOTH_2715

:CLOTH_2670
gosub @CLOTH_6971
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$9980
goto_if_false @CLOTH_2708
gosub @CLOTH_7245

:CLOTH_2708
goto @CLOTH_816

:CLOTH_2715
goto @CLOTH_2767

:CLOTH_2722
gosub @CLOTH_6971
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$9980
goto_if_false @CLOTH_2760
gosub @CLOTH_7245

:CLOTH_2760
goto @CLOTH_816

:CLOTH_2767
if 
  $shopkeeper_attacked_clothes == 3
goto_if_false @CLOTH_2902
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CLOTH_2888
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea($x, $y, $z, 1.0, True)
Hud.DisplayRadar(False)
TIMERA = 0
$name_of_anim_clothes = 0
$shopkeeper_attacked_clothes = 4
goto @CLOTH_2902

:CLOTH_2888
gosub @CLOTH_7245
goto @CLOTH_816

:CLOTH_2902
if 
  $shopkeeper_attacked_clothes == 4
goto_if_false @CLOTH_3415
if 
  Char.IsDead($player_using_wardrobe)
goto_if_false @CLOTH_2981
gosub @CLOTH_6971
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$9980
goto_if_false @CLOTH_2974
gosub @CLOTH_7245

:CLOTH_2974
goto @CLOTH_816

:CLOTH_2981
if 
  $name_of_anim_clothes == 0
goto_if_false @CLOTH_3322
if 
  TIMERA >= 300
goto_if_false @CLOTH_3322
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Char.SetCoordinatesDontWarpGang($stattreadstamina_ctr, $clothes_offX, $clothes_offY, $clothes_offZ)
Char.SetHeading($stattreadstamina_ctr, $change_room_door_heading)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
$gen_car1, $gen_car2, $gen_car3 = Char.GetCoordinates($player_using_wardrobe)
if or
  not is_float_var_equal_to_float_var $gen_car1 == $clothes_hat_camZ
  not is_float_var_equal_to_float_var $gen_car2 == $clothes_hat_cam_pointX
  not is_float_var_equal_to_float_var $gen_car3 == $clothes_hat_cam_pointY
goto_if_false @CLOTH_3132
Char.SetCoordinates($player_using_wardrobe, $clothes_hat_camZ, $clothes_hat_cam_pointX, $clothes_hat_cam_pointY)
Char.SetHeading($player_using_wardrobe, $clothes_hat_cam_pointZ)

:CLOTH_3132
Camera.SetFixedPosition($clothes_locateX, $clothes_locateY, $clothes_locateZ, 0.0, 0.0, 0.0)
Camera.PointAtPoint($clothes_heading, $clothes_camX, $clothes_camY, SwitchType.JumpCut)
Player.StoreClothesState
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_IN", "CLOTHES", 4.0, False, False, False, True, -1)
$player_in_view_mode = 0.0
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_IN")
goto_if_false @CLOTH_3260
$player_in_view_mode = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_IN")

:CLOTH_3260
if 
  Object.DoesExist($9985)
goto_if_false @CLOTH_3315
Object.PlayAnim($9985, "CLO_POSE_OUT_O", "CLOTHES", 4.0, False, True)

:CLOTH_3315
$name_of_anim_clothes = 1

:CLOTH_3322
if 
  $name_of_anim_clothes == 1
goto_if_false @CLOTH_3415
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_IN")
goto_if_false @CLOTH_3380
$player_in_view_mode = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_IN")

:CLOTH_3380
if 
  $player_in_view_mode == 1.0
goto_if_false @CLOTH_3415
$name_of_anim_clothes = 0
$shopkeeper_attacked_clothes = 5

:CLOTH_3415
if 
  $shopkeeper_attacked_clothes == 5
goto_if_false @CLOTH_4107
if 
  Char.IsDead($player_using_wardrobe)
goto_if_false @CLOTH_3494
gosub @CLOTH_6971
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$9980
goto_if_false @CLOTH_3487
gosub @CLOTH_7245

:CLOTH_3487
goto @CLOTH_816

:CLOTH_3494
if 
  $sub_menu_drawn_shops == 0
goto_if_false @CLOTH_3537
if 
  1 > $name_of_anim_clothes
goto_if_false @CLOTH_3537
gosub @CLOTH_8461

:CLOTH_3537
$ryder = 0
if 
  $name_of_anim_clothes == 0
goto_if_false @CLOTH_3612
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CLOTH_3587
$name_of_anim_clothes = 1

:CLOTH_3587
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @CLOTH_3612
$name_of_anim_clothes = 2

:CLOTH_3612
if 
  $name_of_anim_clothes == 1
goto_if_false @CLOTH_3734
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CLOTH_3734
$ITEM2 = Menu.GetItemAccepted($sub_menu_shops)
if 
  0 > $ITEM2
goto_if_false @CLOTH_3681
$ITEM2 = 0

:CLOTH_3681
gosub @CLOTH_7605
$shopkeeper_attacked_clothes = 6
if 
  $sub_menu_drawn_shops == 1
goto_if_false @CLOTH_3727
Menu.Delete($sub_menu_shops)
Text.ClearHelp
$sub_menu_drawn_shops = 0

:CLOTH_3727
$name_of_anim_clothes = 0

:CLOTH_3734
if 
  $name_of_anim_clothes == 2
goto_if_false @CLOTH_3943
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @CLOTH_3943
if 
  $sub_menu_drawn_shops == 1
goto_if_false @CLOTH_3802
Menu.Delete($sub_menu_shops)
Text.ClearHelp
$sub_menu_drawn_shops = 0

:CLOTH_3802
if 
  $2428 == 1
goto_if_false @CLOTH_3834
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CLOTH_3834
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_OUT", "CLOTHES", 1000.0, False, False, False, False, -1)
$player_in_view_mode = 0.0
if 
  Object.DoesExist($9985)
goto_if_false @CLOTH_3936
Object.PlayAnim($9985, "CLO_POSE_IN_O", "CLOTHES", 1000.0, False, True)

:CLOTH_3936
$name_of_anim_clothes = 5

:CLOTH_3943
if 
  $name_of_anim_clothes == 5
goto_if_false @CLOTH_4031
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_OUT")
goto_if_false @CLOTH_4003
$player_in_view_mode = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_OUT")

:CLOTH_4003
if 
  $player_in_view_mode == 1.0
goto_if_false @CLOTH_4031
$name_of_anim_clothes = 6

:CLOTH_4031
if 
  $name_of_anim_clothes == 6
goto_if_false @CLOTH_4107
Player.SetControl($statbike_temp, True)
Game.SetMinigameInProgress(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.DisplayRadar(True)
$vomit_camZ = Char.SetSayContext($player_using_wardrobe, 326)
$shop_keep_clothY = 0
$sub_menu_drawn_shops = 0
$2428 = 0
$shopkeeper_attacked_clothes = 8

:CLOTH_4107
if 
  $shopkeeper_attacked_clothes == 6
goto_if_false @CLOTH_5231
if 
  Char.IsDead($player_using_wardrobe)
goto_if_false @CLOTH_4186
gosub @CLOTH_6971
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$9980
goto_if_false @CLOTH_4179
gosub @CLOTH_7245

:CLOTH_4179
goto @CLOTH_816

:CLOTH_4186
if 
  $2428 == 0
goto_if_false @CLOTH_4229
if 
  2 > $name_of_anim_clothes
goto_if_false @CLOTH_4229
gosub @CLOTH_9031

:CLOTH_4229
$ryder = 0
if 
  $name_of_anim_clothes == 0
goto_if_false @CLOTH_4589
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @CLOTH_4279
$name_of_anim_clothes = 1

:CLOTH_4279
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CLOTH_4589
$shop_keep_clothY = 0
$2521 = Menu.GetItemSelected($2427)
if 
  0 > $2521
goto_if_false @CLOTH_4337
$2521 = 0

:CLOTH_4337
set_var_int_to_var_int $car_class = $2442($2521,12i)
set_var_int_to_var_int $flag_bought_something_wardrobe = $2430($2521,12i)
set_var_int_to_var_int $item_no_shops = $2478($2521,12i)
set_var_int_to_var_int $temp_var_shops = $2490($2521,12i)
set_var_text_label s$draw_remove_option_wardrobe = $2454($2521,12s)
if or
  is_int_var_equal_to_constant $temp_var_shops == 13
  is_int_var_equal_to_constant $temp_var_shops == 14
  is_int_var_equal_to_constant $temp_var_shops == 15
  is_int_var_equal_to_constant $temp_var_shops == 16
goto_if_false @CLOTH_4482
Camera.SetFixedPosition($clothes_camZ, $clothes_cam_pointX, $clothes_cam_pointY, 0.0, 0.0, 0.0)
Camera.PointAtPoint($clothes_cam_pointZ, $clothes_hat_camX, $clothes_hat_camY, SwitchType.JumpCut)
goto @CLOTH_4550

:CLOTH_4482
if or
  is_int_var_equal_to_constant $flag_bought_from_suburban == 0
  is_int_var_equal_to_constant $flag_bought_from_suburban == 2
goto_if_false @CLOTH_4511
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)

:CLOTH_4511
Camera.SetFixedPosition($clothes_locateX, $clothes_locateY, $clothes_locateZ, 0.0, 0.0, 0.0)
Camera.PointAtPoint($clothes_heading, $clothes_camX, $clothes_camY, SwitchType.JumpCut)

:CLOTH_4550
if 
  $2428 == 1
goto_if_false @CLOTH_4582
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CLOTH_4582
$name_of_anim_clothes = 2

:CLOTH_4589
if 
  $name_of_anim_clothes == 1
goto_if_false @CLOTH_4696
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @CLOTH_4696
$name_of_anim_clothes = 0
$shopkeeper_attacked_clothes = 5
if 
  $2428 == 1
goto_if_false @CLOTH_4671
Text.ClearHelp
Menu.Delete($2427)
$2428 = 0

:CLOTH_4671
if 
  $sub_menu_drawn_shops == 0
goto_if_false @CLOTH_4696
gosub @CLOTH_8461

:CLOTH_4696
if 
  $name_of_anim_clothes == 2
goto_if_false @CLOTH_4754
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @CLOTH_4754
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CLOTH_4754
$name_of_anim_clothes = 3

:CLOTH_4754
if 
  $name_of_anim_clothes == 3
goto_if_false @CLOTH_4949
if or
  is_int_var_equal_to_constant $flag_bought_from_suburban == 0
  is_int_var_equal_to_constant $flag_bought_from_suburban == 2
  is_int_var_equal_to_constant $flag_bought_from_suburban == 3
goto_if_false @CLOTH_4817
Player.GiveClothes($statbike_temp, 0, 0, BodyPart.SpecialCostume)
Player.StoreClothesState

:CLOTH_4817
Player.GiveClothes($statbike_temp, $car_class, $item_no_shops, $temp_var_shops)
Player.BuildModel($statbike_temp)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_POSE_IN", "CLOTHES", 1000.0, False, False, False, True, -1)
$player_in_view_mode = 0.0
if 
  Object.DoesExist($9985)
goto_if_false @CLOTH_4942
Object.PlayAnim($9985, "CLO_POSE_IN_O", "CLOTHES", 1000.0, False, True)

:CLOTH_4942
$name_of_anim_clothes = 4

:CLOTH_4949
if 
  $name_of_anim_clothes == 4
goto_if_false @CLOTH_5087
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_POSE_IN")
goto_if_false @CLOTH_5017
$player_in_view_mode = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_POSE_IN")

:CLOTH_5017
if 
  $player_in_view_mode == 1.0
goto_if_false @CLOTH_5087
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, v$flag_clothes, "CLOTHES", 1000.0, False, False, False, True, -1)
$player_in_view_mode = 0.0
$name_of_anim_clothes = 5

:CLOTH_5087
if 
  $name_of_anim_clothes == 5
goto_if_false @CLOTH_5231
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, v$flag_clothes)
goto_if_false @CLOTH_5135
$player_in_view_mode = Char.GetAnimCurrentTime($stattreadstamina_ctr, v$flag_clothes)

:CLOTH_5135
if 
  $player_in_view_mode == 1.0
goto_if_false @CLOTH_5231
gosub @CLOTH_9581
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_POSE_LOOP", "CLOTHES", 1000.0, True, False, False, False, -1)
$player_in_view_mode = 0.0
$shopkeeper_attacked_clothes = 7
$name_of_anim_clothes = 0

:CLOTH_5231
if 
  $shopkeeper_attacked_clothes == 7
goto_if_false @CLOTH_6649
if 
  Char.IsDead($player_using_wardrobe)
goto_if_false @CLOTH_5310
gosub @CLOTH_6971
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$9980
goto_if_false @CLOTH_5303
gosub @CLOTH_7245

:CLOTH_5303
goto @CLOTH_816

:CLOTH_5310
$ryder = 0
if 
  $name_of_anim_clothes == 0
goto_if_false @CLOTH_5617
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CLOTH_5421
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('CLTHNO2')
Text.ClearThisPrint('CLTHNO1')
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$flag_bought_from_prolapse = 0
$shop_keep_clothZ = 0
$name_of_anim_clothes = 1

:CLOTH_5421
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @CLOTH_5617
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('CLTHNO2')
Text.ClearThisPrint('CLTHNO1')
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$flag_bought_from_prolapse = 0
$shop_keep_clothZ = 0
gosub @CLOTH_8120
if 
  $bought_menu_drawn_shops == 1
goto_if_false @CLOTH_5539
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:CLOTH_5539
if 
  $shop_keep_clothY == 0
goto_if_false @CLOTH_5571
$name_of_anim_clothes = 3
goto @CLOTH_5617

:CLOTH_5571
if 
  $item_price == 1
goto_if_false @CLOTH_5603
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:CLOTH_5603
$name_of_anim_clothes = 0
$shopkeeper_attacked_clothes = 6

:CLOTH_5617
if 
  2 > $name_of_anim_clothes
goto_if_false @CLOTH_5642
gosub @CLOTH_9581

:CLOTH_5642
if 
  $name_of_anim_clothes == 1
goto_if_false @CLOTH_6043
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CLOTH_6043
$flag_1st_time_nitro_shop = Player.StoreScore($statbike_temp)
if 
  is_int_var_greater_or_equal_to_int_var $flag_1st_time_nitro_shop >= $flag_bought_something_wardrobe
goto_if_false @CLOTH_5970
if 
  not is_int_var_equal_to_int_var $flag_player_owned_item_shops == $car_class
goto_if_false @CLOTH_5890
if 
  $bought_menu_drawn_shops == 1
goto_if_false @CLOTH_5756
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:CLOTH_5756
Shopping.BuyItem($car_class)
$shop_keep_clothZ = 1
$vomit_camZ = Char.SetSayContext($player_using_wardrobe, 318)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1054)
gosub @CLOTH_9956
gosub @CLOTH_10383
Player.StoreClothesState
Player.BuildModel($statbike_temp)
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_BUY", "CLOTHES", 4.0, False, False, False, True, -1)
$player_in_view_mode = 0.0
$name_of_anim_clothes = 2
goto @CLOTH_5963

:CLOTH_5890
if 
  $flag_bought_from_binco == 0
goto_if_false @CLOTH_5963
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
$vomit_camZ = Char.SetSayContext($player_using_wardrobe, 317)
Text.PrintNow('CLTHNO2', 5000, 1)
$name_of_anim_clothes = 0
$flag_bought_from_binco = 1

:CLOTH_5963
goto @CLOTH_6043

:CLOTH_5970
if 
  $flag_on_neil_lowrider_mission == 0
goto_if_false @CLOTH_6043
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
$vomit_camZ = Char.SetSayContext($player_using_wardrobe, 319)
Text.PrintNow('SHOPNO', 5000, 1)
$name_of_anim_clothes = 0
$flag_on_neil_lowrider_mission = 1

:CLOTH_6043
if 
  $name_of_anim_clothes == 2
goto_if_false @CLOTH_6185
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_BUY")
goto_if_false @CLOTH_6103
$player_in_view_mode = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_BUY")

:CLOTH_6103
if 
  $player_in_view_mode == 1.0
goto_if_false @CLOTH_6185
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_POSE_LOOP", "CLOTHES", 1000.0, True, False, False, False, -1)
$player_in_view_mode = 0.0
$name_of_anim_clothes = 3

:CLOTH_6185
if 
  $name_of_anim_clothes == 3
goto_if_false @CLOTH_6318
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "CLO_POSE_OUT", "CLOTHES", 4.0, False, False, False, True, -1)
$player_in_view_mode = 0.0
if 
  Object.DoesExist($9985)
goto_if_false @CLOTH_6311
Object.PlayAnim($9985, "CLO_POSE_OUT_O", "CLOTHES", 1000.0, False, True)

:CLOTH_6311
$name_of_anim_clothes = 4

:CLOTH_6318
if 
  $name_of_anim_clothes == 4
goto_if_false @CLOTH_6649
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "CLO_POSE_OUT")
goto_if_false @CLOTH_6388
$player_in_view_mode = Char.GetAnimCurrentTime($stattreadstamina_ctr, "CLO_POSE_OUT")

:CLOTH_6388
if 
  $player_in_view_mode == 1.0
goto_if_false @CLOTH_6649
Player.RestoreClothesState
Player.BuildModel($statbike_temp)
Player.StoreClothesState
if 
  $item_price == 1
goto_if_false @CLOTH_6450
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:CLOTH_6450
if 
  $2428 == 1
goto_if_false @CLOTH_6482
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CLOTH_6482
if 
  $bought_menu_drawn_shops == 1
goto_if_false @CLOTH_6514
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:CLOTH_6514
$shop_keep_clothY = 1
if 
  $shop_keep_clothZ == 1
goto_if_false @CLOTH_6603
$name_of_anim_clothes = 0
$shopkeeper_attacked_clothes = 5
if 
  $sub_menu_drawn_shops == 0
goto_if_false @CLOTH_6596
if 
  1 > $name_of_anim_clothes
goto_if_false @CLOTH_6596
gosub @CLOTH_8461

:CLOTH_6596
goto @CLOTH_6649

:CLOTH_6603
$name_of_anim_clothes = 0
$shopkeeper_attacked_clothes = 6
if 
  $2428 == 0
goto_if_false @CLOTH_6649
gosub @CLOTH_8120
gosub @CLOTH_9031

:CLOTH_6649
if 
  $shopkeeper_attacked_clothes == 8
goto_if_false @CLOTH_6936
if 
  Char.IsDead($player_using_wardrobe)
goto_if_false @CLOTH_6728
gosub @CLOTH_6971
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$9980
goto_if_false @CLOTH_6721
gosub @CLOTH_7245

:CLOTH_6721
goto @CLOTH_816

:CLOTH_6728
if 
  $clothes_price == 0
goto_if_false @CLOTH_6809
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, $player_using_wardrobe)
  Char.HasBeenDamagedByWeapon($player_using_wardrobe, WeaponType.AnyWeapon)
  $SLOT_play_status == 1
goto_if_false @CLOTH_6809
$vomit_camZ = Char.SetSayContext($player_using_wardrobe, 322)
Task.HandsUp($player_using_wardrobe, -2)
$clothes_price = 1

:CLOTH_6809
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, $clothes_offX, $clothes_offY, $clothes_offZ, 1.0, 1.0, 4.0, $ryder)
goto_if_false @CLOTH_6936
$sub_menu_drawn_shops = 0
$2428 = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$ITEM2 = 0
$2521 = 0
$shopkeeper_attacked_clothes = 2
$name_of_anim_clothes = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$shop_keep_clothZ = 0
$ryder = 1

:CLOTH_6936
goto @CLOTH_6950

:CLOTH_6943
gosub @CLOTH_7245

:CLOTH_6950
goto @CLOTH_6964

:CLOTH_6957
gosub @CLOTH_7245

:CLOTH_6964
goto @CLOTH_816

:CLOTH_6971
if 
  $shopkeeper_attacked_clothes >= 1
goto_if_false @CLOTH_6991
Text.ClearHelp

:CLOTH_6991
if 
  $sub_menu_drawn_shops == 1
goto_if_false @CLOTH_7023
Menu.Delete($sub_menu_shops)
Text.ClearHelp
$sub_menu_drawn_shops = 0

:CLOTH_7023
if 
  $2428 == 1
goto_if_false @CLOTH_7055
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CLOTH_7055
if 
  $item_price == 1
goto_if_false @CLOTH_7087
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:CLOTH_7087
if 
  $bought_menu_drawn_shops == 1
goto_if_false @CLOTH_7119
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:CLOTH_7119
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('CLTHNO2')
Text.ClearThisPrint('CLTHNO1')
$sub_menu_drawn_shops = 0
$2428 = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$ITEM2 = 0
$2521 = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$flag_bought_from_prolapse = 0
$name_of_anim_clothes = 0
$shop_keep_clothY = 0
$shop_keep_clothZ = 0
$shopkeeper_attacked_clothes = 2
return 

:CLOTH_7245
if 
  $sub_menu_drawn_shops == 1
goto_if_false @CLOTH_7277
Menu.Delete($sub_menu_shops)
Text.ClearHelp
$sub_menu_drawn_shops = 0

:CLOTH_7277
if 
  $2428 == 1
goto_if_false @CLOTH_7309
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CLOTH_7309
if 
  $item_price == 1
goto_if_false @CLOTH_7341
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:CLOTH_7341
if 
  $bought_menu_drawn_shops == 1
goto_if_false @CLOTH_7373
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:CLOTH_7373
if 
  $shopkeeper_attacked_clothes >= 1
goto_if_false @CLOTH_7393
Text.ClearHelp

:CLOTH_7393
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('CLTHNO2')
Text.ClearThisPrint('CLTHNO1')
$shop_keep_clothY = 0
$sub_menu_drawn_shops = 0
$2428 = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$ITEM2 = 0
$2521 = 0
$ryder = 1
$stored_clothes_shop = 0
$clothes_price = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$flag_bought_from_prolapse = 0
$shop_keep_clothZ = 0
$name_of_anim_clothes = 0
$shopkeeper_attacked_clothes = 0
Object.Delete($9985)
Streaming.MarkModelAsNoLongerNeeded($shop_keep_clothX)
Char.Delete($player_using_wardrobe)
Streaming.MarkModelAsNoLongerNeeded($main_menu_shops)
Text.UseCommands(False)
Hud.DisplayRadar(True)
Stat.ShowUpdateStats(True)
Game.SetMinigameInProgress(False)
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CLOTH_7601
Char.ShutUp($stattreadstamina_ctr, False)

:CLOTH_7601
terminate_this_script 
return 

:CLOTH_7605
if 
  $ITEM2 == 0
goto_if_false @CLOTH_7679
$shop_sub_item_picked_shops = 0
set_var_int_to_constant $flag_bought_from_suburban = 0
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @CLOTH_8120
set_var_text_label16 v$flag_clothes = "CLO_POSE_TORSO"

:CLOTH_7679
if 
  $ITEM2 == 1
goto_if_false @CLOTH_7752
$shop_sub_item_picked_shops = 2
set_var_int_to_constant $flag_bought_from_suburban = 2
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @CLOTH_8120
set_var_text_label16 v$flag_clothes = "CLO_POSE_LEGS"

:CLOTH_7752
if 
  $ITEM2 == 2
goto_if_false @CLOTH_7826
$shop_sub_item_picked_shops = 3
set_var_int_to_constant $flag_bought_from_suburban = 3
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @CLOTH_8120
set_var_text_label16 v$flag_clothes = "CLO_POSE_SHOES"

:CLOTH_7826
if 
  $ITEM2 == 3
goto_if_false @CLOTH_7900
$shop_sub_item_picked_shops = 13
set_var_int_to_constant $flag_bought_from_suburban = 13
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @CLOTH_8120
set_var_text_label16 v$flag_clothes = "CLO_POSE_TORSO"

:CLOTH_7900
if 
  $ITEM2 == 4
goto_if_false @CLOTH_7974
$shop_sub_item_picked_shops = 14
set_var_int_to_constant $flag_bought_from_suburban = 14
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @CLOTH_8120
set_var_text_label16 v$flag_clothes = "CLO_POSE_WATCH"

:CLOTH_7974
if 
  $ITEM2 == 5
goto_if_false @CLOTH_8046
$shop_sub_item_picked_shops = 15
set_var_int_to_constant $flag_bought_from_suburban = 15
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @CLOTH_8120
set_var_text_label16 v$flag_clothes = "CLO_POSE_HAT"

:CLOTH_8046
if 
  $ITEM2 == 6
goto_if_false @CLOTH_8118
$shop_sub_item_picked_shops = 16
set_var_int_to_constant $flag_bought_from_suburban = 16
$flag_player_owned_item_shops, $area_to_look_at_shops = Player.GetClothesItem($statbike_temp, $flag_bought_from_suburban)
gosub @CLOTH_8120
set_var_text_label16 v$flag_clothes = "CLO_POSE_HAT"

:CLOTH_8118
return 

:CLOTH_8120
$ITEM1 = 0
$9996 = 0

:CLOTH_8134
if 
  is_int_var_greater_than_int_var $9995 > $ITEM1
goto_if_false @CLOTH_8379
$car_class = Shopping.GetItem($ITEM1)
$item_no_shops = Shopping.GetExtraInfo($car_class, 0)
$temp_var_shops = Shopping.GetExtraInfo($car_class, 1)
if 
  is_int_var_equal_to_int_var $temp_var_shops == $shop_sub_item_picked_shops
goto_if_false @CLOTH_8365
set_var_int_to_var_int $2442($9996,12i) = $car_class
s$draw_remove_option_wardrobe = Shopping.GetNameOfItem($car_class)
$flag_bought_something_wardrobe = Shopping.GetPriceOfItem($car_class)
set_var_int_to_var_int $2430($9996,12i) = $flag_bought_something_wardrobe
set_var_text_label $2454($9996,12s) = s$draw_remove_option_wardrobe
set_var_int_to_var_int $2478($9996,12i) = $item_no_shops
set_var_int_to_var_int $2490($9996,12i) = $temp_var_shops
if 
  is_int_var_equal_to_int_var $flag_player_owned_item_shops == $car_class
goto_if_false @CLOTH_8313
$2502($9996,12i) = 0
goto @CLOTH_8358

:CLOTH_8313
if 
  Shopping.HasPlayerBoughtItem($car_class)
goto_if_false @CLOTH_8347
$2502($9996,12i) = 1
goto @CLOTH_8358

:CLOTH_8347
$2502($9996,12i) = 2

:CLOTH_8358
$9996 += 1

:CLOTH_8365
$ITEM1 += 1
goto @CLOTH_8134

:CLOTH_8379
set_var_int_to_var_int $2519 = $9996

:CLOTH_8387
if 
  12 > $2519
goto_if_false @CLOTH_8459
$2442($2519,12i) = -1
$2430($2519,12i) = 0
set_var_text_label $2454($2519,12s) = 'DUMMY'
$2519 += 1
goto @CLOTH_8387

:CLOTH_8459
return 

:CLOTH_8461
if 
  $sub_menu_drawn_shops == 0
goto_if_false @CLOTH_9029
Text.PrintHelpForever('CLOTHA')
set_var_text_label s$ITEM3 = 'TORSO'
set_var_text_label s$ITEM4 = 'LEGS'
set_var_text_label s$ITEM5 = 'FEET'
set_var_text_label s$ITEM6 = 'CHAINS'
set_var_text_label s$ITEM7 = 'WATCHES'
set_var_text_label s$ITEM8 = 'SHADES'
set_var_text_label s$ITEM9 = 'HATS'
set_var_text_label s$ITEM10 = 'DUMMY'
set_var_text_label s$ITEM11 = 'DUMMY'
set_var_text_label s$ITEM12 = 'DUMMY'
set_var_text_label s$player_item_texture_shops = 'DUMMY'
set_var_text_label s$flag_no_money_shops = 'DUMMY'
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @CLOTH_8720
$sub_menu_shops = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @CLOTH_8961

:CLOTH_8720
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @CLOTH_8782
$sub_menu_shops = Menu.Create('CLOTCHO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @CLOTH_8961

:CLOTH_8782
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @CLOTH_8844
$sub_menu_shops = Menu.Create('CLOTCHO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @CLOTH_8961

:CLOTH_8844
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @CLOTH_8906
$sub_menu_shops = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @CLOTH_8961

:CLOTH_8906
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @CLOTH_8961
$sub_menu_shops = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)

:CLOTH_8961
Menu.SetColumnOrientation($sub_menu_shops, 0, 1)
Menu.SetColumn($sub_menu_shops, 0, 'DUMMY', s$ITEM3, s$ITEM4, s$ITEM5, s$ITEM6, s$ITEM7, s$ITEM8, s$ITEM9, s$ITEM10, s$ITEM11, s$ITEM12, s$player_item_texture_shops, s$flag_no_money_shops)
$sub_menu_drawn_shops = 1

:CLOTH_9029
return 

:CLOTH_9031
if 
  $2428 == 0
goto_if_false @CLOTH_9579
Text.PrintHelpForever('CLOTHB')
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @CLOTH_9122
$2427 = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @CLOTH_9363

:CLOTH_9122
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @CLOTH_9184
$2427 = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @CLOTH_9363

:CLOTH_9184
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @CLOTH_9246
$2427 = Menu.Create('CLOTCHO', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @CLOTH_9363

:CLOTH_9246
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @CLOTH_9308
$2427 = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @CLOTH_9363

:CLOTH_9308
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @CLOTH_9363
$2427 = Menu.Create('CLOTCHO', 29.0, 145.0, 186.0, 1, True, True, 1)

:CLOTH_9363
Menu.SetColumnOrientation($2427, 0, 1)
Menu.SetColumn($2427, 0, 'DUMMY', s$2454[0], s$2454[1], s$2454[2], s$2454[3], s$2454[4], s$2454[5], s$2454[6], s$2454[7], s$2454[8], s$2454[9], s$2454[10], s$2454[11])
$2519 = 0

:CLOTH_9431
if 
  is_int_var_greater_than_int_var $9996 > $2519
goto_if_false @CLOTH_9572
if 
  $2502($2519,12i) == 0
goto_if_false @CLOTH_9499
Menu.HighlightItem($2427, $2519, False)
Menu.ActivateItem($2427, $2519, False)
goto @CLOTH_9558

:CLOTH_9499
if 
  $2502($2519,12i) == 1
goto_if_false @CLOTH_9538
Menu.HighlightItem($2427, $2519, True)
goto @CLOTH_9558

:CLOTH_9538
Menu.HighlightItem($2427, $2519, False)
Menu.ActivateItem($2427, $2519, True)

:CLOTH_9558
$2519 += 1
goto @CLOTH_9431

:CLOTH_9572
$2428 = 1

:CLOTH_9579
return 

:CLOTH_9581
if 
  $bought_menu_drawn_shops == 0
goto_if_false @CLOTH_9954
Text.PrintHelpForever('CLOTHC')
$bought_menu_shops = Menu.Create('CLOTCHO', 29.0, 95.0, 93.0, 2, False, True, 1)
Menu.SetColumnOrientation($bought_menu_shops, 0, 1)
Menu.SetColumn($bought_menu_shops, 0, 'CLOTCHO', s$draw_remove_option_wardrobe, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnOrientation($bought_menu_shops, 1, 2)
Menu.SetColumn($bought_menu_shops, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber($bought_menu_shops, 1, 0, 'DOLLAR', $flag_bought_something_wardrobe)
Menu.SetColumnWidth($bought_menu_shops, 0, 140)
Menu.SetColumnWidth($bought_menu_shops, 1, 46)
$bought_menu_drawn_shops = 1

:CLOTH_9954
return 

:CLOTH_9956
if 
  $item_price == 0
goto_if_false @CLOTH_10381
if 
is_xbox_version 
goto_if_false @CLOTH_10031
$price_counter = Menu.Create('CLOTCHO', 29.0, 48.0, 93.0, 2, False, True, 1)
goto @CLOTH_10068

:CLOTH_10031
$price_counter = Menu.Create('CLOTCHO', 29.0, 25.0, 93.0, 2, False, True, 1)

:CLOTH_10068
Menu.SetColumnOrientation($price_counter, 0, 1)
Menu.SetColumn($price_counter, 0, 'CLOTCHO', 'BOUGHT', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnOrientation($price_counter, 1, 2)
Menu.SetColumn($price_counter, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber($price_counter, 1, 0, 'DOLLAR', $flag_bought_something_wardrobe)
Menu.SetColumnWidth($price_counter, 0, 140)
Menu.SetColumnWidth($price_counter, 1, 46)
$item_price = 1

:CLOTH_10381
return 

:CLOTH_10383
if 
  $flag_bought_from_victim == 0
goto_if_false @CLOTH_10433
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSCHP'
goto_if_false @CLOTH_10433
$flag_bought_from_victim = 1

:CLOTH_10433
if 
  $flag_bought_from_didiessachs == 0
goto_if_false @CLOTH_10483
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSSPRT'
goto_if_false @CLOTH_10483
$flag_bought_from_didiessachs = 1

:CLOTH_10483
if 
  $flag_player_got_gimp_suit == 0
goto_if_false @CLOTH_10533
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'LACS1'
goto_if_false @CLOTH_10533
$flag_player_got_gimp_suit = 1

:CLOTH_10533
if 
  $flag_player_got_valet_uniform == 0
goto_if_false @CLOTH_10583
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CLOTHGP'
goto_if_false @CLOTH_10583
$flag_player_got_valet_uniform = 1

:CLOTH_10583
if 
  $flag_player_got_casino_uniform == 0
goto_if_false @CLOTH_10633
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSDESGN'
goto_if_false @CLOTH_10633
$flag_player_got_casino_uniform = 1

:CLOTH_10633
if 
  $flag_player_got_police_uniform == 0
goto_if_false @CLOTH_10683
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'CSEXL'
goto_if_false @CLOTH_10683
$flag_player_got_police_uniform = 1

:CLOTH_10683
return 
terminate_this_script 

//-------------External script 65 (JUNKFUD)---------------

:JFUD
$junkfudX = 0.0
$junkfudY = 0.0
$junkfudZ = 0.0
$junkfud_heading = 0.0
$junkfud_offsetX = 0.0
$junkfud_offsetY = 0.0
$junkfud_offsetZ = 0.0
$junkfud_heading_offset = 0.0
$junkfud_cam_offX = 0.0
$junkfud_cam_offY = 0.0
$foodsmall_junkfud = 0.0
$foodmed_junkfud = 0.0
$foodlarge_junkfud = 0.0
$foodhealthy_junkfud = 0.0
$vomit_camX = 0.0
$vomit_camY = 0.0
$return_animation_time_food = 0
$vomitZ = 0.0
$temp_shopX = 0
$flag_ate_too_much_food = 0.0
$flag_food = 0.0
$flag_bought_some_food = 0.0
$ffood_obj = 0
$keep_offY = 0
$hash_key_clothes = 0
$pish_flag = 0
$stored_shop = 0
$shop_item_label = 0
$vomit_foodshop = 0.0
$ryder = 1
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_on_neil_lowrider_mission = 0
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDPIZA'
goto_if_false @JFUD_358
set_var_int_to_constant $main_menu_shops = 155
$junkfud_cam_offZ = -378
$cam_point_junkfudX = -379
$cam_point_junkfudY = -59
$cam_point_junnkfudZ = -380

:JFUD_358
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDCHICK'
goto_if_false @JFUD_423
set_var_int_to_constant $main_menu_shops = 167
$junkfud_cam_offZ = -381
$cam_point_junkfudX = -382
$cam_point_junkfudY = -383
$cam_point_junnkfudZ = -384

:JFUD_423
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDBURG'
goto_if_false @JFUD_487
set_var_int_to_constant $main_menu_shops = 205
$junkfud_cam_offZ = -385
$cam_point_junkfudX = -386
$cam_point_junkfudY = -62
$cam_point_junnkfudZ = -387

:JFUD_487
Streaming.RequestModel($junkfud_cam_offZ)
Streaming.RequestModel($cam_point_junkfudX)
Streaming.RequestModel($cam_point_junkfudY)
Streaming.RequestModel($cam_point_junnkfudZ)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 1828)
Streaming.RequestModel($main_menu_shops)
Streaming.LoadAllModelsNow
set_deatharrest_state 0
if 
  $ffood_obj == 1000000
goto_if_false @JFUD_563
$jfud_keep_created = Object.Create($car_class, $keep_off_dirY, $cam_offx, $cam_offy)

:JFUD_563
script_name 'JFUD'

:JFUD_574
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_9755
if 
  not is_var_text_label_empty s$territory_pickup
goto_if_false @JFUD_9741
if 
  $current_food_item > 0
goto_if_false @JFUD_672
if 
  Game.HasLanguageChanged
goto_if_false @JFUD_672
Text.ClearHelp
Menu.Delete($bought_menu_shops)
Menu.Delete($price_counter)
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_hhiker_trigger = Game.GetCurrentLanguage()

:JFUD_672
if 
  $current_food_item == 0
goto_if_false @JFUD_1005
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDPIZA'
goto_if_false @JFUD_795
$shop_keep_junkfud = Shopping.GetNumberOfItems()
$junkfudX = 0.0
$junkfudY = 0.0
$junkfudZ = 0.0
$junkfud_heading = 0.0
$cam_offz = 0.0
$ammuX = 2.5
set_var_text_label s$food_name = s$territory_pickup
$current_food_item = 1

:JFUD_795
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDCHICK'
goto_if_false @JFUD_900
$shop_keep_junkfud = Shopping.GetNumberOfItems()
$junkfudX = -5.211
$junkfudY = 112.784
$junkfudZ = 0.3
$junkfud_heading = 0.0
$cam_offz = 0.0
$ammuX = 2.5
set_var_text_label s$food_name = s$territory_pickup
$current_food_item = 1

:JFUD_900
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDBURG'
goto_if_false @JFUD_1005
$shop_keep_junkfud = Shopping.GetNumberOfItems()
$cam_offz = 0.0
$ammuX = 2.5
$junkfudX = 1.566
$junkfudY = 51.419
$junkfudZ = 0.01
$junkfud_heading = 0.0
set_var_text_label s$food_name = s$territory_pickup
$current_food_item = 1

:JFUD_1005
if 
  $current_food_item == 1
goto_if_false @JFUD_1427
Text.UseCommands(True)
Stat.ShowUpdateStats(False)
$players_fat = 374.0
add_float_var_to_float_var $players_fat += $junkfudX
$players_health = -117.141
add_float_var_to_float_var $players_health += $junkfudY
$food_heading = 1000.539
add_float_var_to_float_var $food_heading += $junkfudZ
$flag_vomit_playing_food = 180.0
add_float_var_to_float_var $flag_vomit_playing_food += $junkfud_heading
$junkfud_offsetX = 374.0
add_float_var_to_float_var $junkfud_offsetX += $junkfudX
$junkfud_offsetY = -119.1869
add_float_var_to_float_var $junkfud_offsetY += $junkfudY
$junkfud_offsetZ = 1002.019
add_float_var_to_float_var $junkfud_offsetZ += $junkfudZ
$junkfud_heading_offset = 373.9532
add_float_var_to_float_var $junkfud_heading_offset += $junkfudX
$junkfud_cam_offX = -118.189
add_float_var_to_float_var $junkfud_cam_offX += $junkfudY
$junkfud_cam_offY = 1001.975
add_float_var_to_float_var $junkfud_cam_offY += $junkfudZ
$foodsmall_junkfud = 374.717
add_float_var_to_float_var $foodsmall_junkfud += $junkfudX
$foodmed_junkfud = -122.55
add_float_var_to_float_var $foodmed_junkfud += $junkfudY
$foodlarge_junkfud = 1002.572
add_float_var_to_float_var $foodlarge_junkfud += $junkfudZ
$foodhealthy_junkfud = 374.599
add_float_var_to_float_var $foodhealthy_junkfud += $junkfudX
$vomit_camX = -121.608
add_float_var_to_float_var $vomit_camX += $junkfudY
$vomit_camY = 1002.256
add_float_var_to_float_var $vomit_camY += $junkfudZ
if 
  $player_in_changeroom_clothes == 0
goto_if_false @JFUD_1420
$shop_door_model_clothes = Char.Create(PedType.CivMale, $main_menu_shops, $players_fat, $players_health, $food_heading)
Char.SetHeading($shop_door_model_clothes, $flag_vomit_playing_food)
Char.SetOnlyDamagedByPlayer($shop_door_model_clothes, True)
Char.SetDecisionMaker($shop_door_model_clothes, 65542)
$tray_offY, $tray_offZ, $keep_off_dirX = Char.GetOffsetInWorldCoords($shop_door_model_clothes, $cam_offz, $ammuX, 0.0)
$shop_item_label = 0
$player_in_changeroom_clothes = 1

:JFUD_1420
$current_food_item = 2

:JFUD_1427
if 
  $current_food_item == 2
goto_if_false @JFUD_2034
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_1476
gosub @JFUD_9946

:JFUD_1476
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_1989
if 
  $shop_item_label == 0
goto_if_false @JFUD_1937
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, $shop_door_model_clothes)
  Char.HasBeenDamagedByWeapon($shop_door_model_clothes, WeaponType.AnyWeapon)
  $tray_offX == 1
goto_if_false @JFUD_1587
$flag_9weapons_open = Char.SetSayContext($shop_door_model_clothes, 322)
Task.HandsUp($shop_door_model_clothes, -2)
$tray_offX = 1
$shop_item_label = 1
goto @JFUD_1930

:JFUD_1587
if 
  11 > $keep_offX
goto_if_false @JFUD_1765
$ryder = 1
if 
  Char.LocateStoppedOnFoot3D($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX, 1.0, 1.0, 4.0, $ryder)
goto_if_false @JFUD_1758
if 
  Player.CanStartMission($statbike_temp)
goto_if_false @JFUD_1758
$flag_9weapons_open = Char.SetSayContext($shop_door_model_clothes, 328)
$flag_1st_time_nitro_shop = Player.StoreScore($statbike_temp)
if 
  2 > $f1_spinrightgo_best_score
goto_if_false @JFUD_1751
if 
  $opened_desert_up == 1
goto_if_false @JFUD_1751
if 
  2 > $flag_1st_time_nitro_shop
goto_if_false @JFUD_1751
Player.AddScore($statbike_temp, 2)

:JFUD_1751
$current_food_item = 3

:JFUD_1758
goto @JFUD_1930

:JFUD_1765
if 
  $pish_flag == 0
goto_if_false @JFUD_1899
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_1847
$flag_9weapons_open = Char.SetSayContext($shop_door_model_clothes, 317)
Text.PrintNow('FOOD1', 5000, 1)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
goto @JFUD_1892

:JFUD_1847
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_1885
gosub @JFUD_9946

:JFUD_1885
goto @JFUD_574

:JFUD_1892
$pish_flag = 1

:JFUD_1899
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_1930
gosub @JFUD_9946

:JFUD_1930
goto @JFUD_1982

:JFUD_1937
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_1975
gosub @JFUD_9946

:JFUD_1975
goto @JFUD_574

:JFUD_1982
goto @JFUD_2034

:JFUD_1989
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_2027
gosub @JFUD_9946

:JFUD_2027
goto @JFUD_574

:JFUD_2034
if 
  $current_food_item == 3
goto_if_false @JFUD_4339
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
Char.SetCoordinatesDontWarpGangNoOffset($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
Char.SetHeading($stattreadstamina_ctr, $vomitZ)
$vomitY = Char.GetHealth($stattreadstamina_ctr)
$vomitX = Stat.GetFloat(StatId.Fat)
Char.ClearTasksImmediately($stattreadstamina_ctr)
World.ClearArea($x, $y, $z, 1.0, True)
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_2401
$gen_car1, $gen_car2, $gen_car3 = Char.GetCoordinates($shop_door_model_clothes)
if or
  not is_float_var_equal_to_float_var $gen_car1 == $players_fat
  not is_float_var_equal_to_float_var $gen_car2 == $players_health
  not is_float_var_equal_to_float_var $gen_car3 == $food_heading
goto_if_false @JFUD_2224
Char.SetCoordinates($shop_door_model_clothes, $players_fat, $players_health, $food_heading)
Char.SetHeading($shop_door_model_clothes, $flag_vomit_playing_food)

:JFUD_2224
$keep_off_dirY, $cam_offx, $cam_offy = Char.GetOffsetInWorldCoords($shop_door_model_clothes, 0.0, 0.8, 0.1)
if 
  not Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_POSE")
goto_if_false @JFUD_2333
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_IN", "FOOD", 4.0, False, False, False, True, -1)
$vomit_foodshop = 0.0

:JFUD_2333
$vomit_camZ = Char.SetSayContext($shop_door_model_clothes, 328)
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_IN")
goto_if_false @JFUD_2394
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_IN")

:JFUD_2394
goto @JFUD_2446

:JFUD_2401
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_2439
gosub @JFUD_9946

:JFUD_2439
goto @JFUD_574

:JFUD_2446
TIMERA = 0

:JFUD_2453
if 
  TIMERA >= 600
goto_if_false @JFUD_2631
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_2506
gosub @JFUD_9946
goto @JFUD_574

:JFUD_2506
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_2574
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_2560
gosub @JFUD_9946

:JFUD_2560
goto @JFUD_574
goto @JFUD_2624

:JFUD_2574
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_IN")
goto_if_false @JFUD_2624
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_IN")

:JFUD_2624
goto @JFUD_2453

:JFUD_2631
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_2700
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Unarmed)
Camera.SetFixedPosition($junkfud_offsetX, $junkfud_offsetY, $junkfud_offsetZ, 0.0, 0.0, 0.0)
Camera.PointAtPoint($junkfud_heading_offset, $junkfud_cam_offX, $junkfud_cam_offY, SwitchType.JumpCut)
goto @JFUD_2714

:JFUD_2700
gosub @JFUD_9946
goto @JFUD_574

:JFUD_2714
if 
  not Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_POSE")
goto_if_false @JFUD_2925

:JFUD_2745
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_2925
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_2800
gosub @JFUD_9946
goto @JFUD_574

:JFUD_2800
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_2868
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_2854
gosub @JFUD_9946

:JFUD_2854
goto @JFUD_574
goto @JFUD_2918

:JFUD_2868
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_IN")
goto_if_false @JFUD_2918
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_IN")

:JFUD_2918
goto @JFUD_2745

:JFUD_2925
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_3053
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_POSE", "FOOD", 4.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_POSE")
goto_if_false @JFUD_3046
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_POSE")

:JFUD_3046
goto @JFUD_3098

:JFUD_3053
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_3091
gosub @JFUD_9946

:JFUD_3091
goto @JFUD_574

:JFUD_3098
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_3282
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_3153
gosub @JFUD_9946
goto @JFUD_574

:JFUD_3153
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_3221
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_3207
gosub @JFUD_9946

:JFUD_3207
goto @JFUD_574
goto @JFUD_3275

:JFUD_3221
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_POSE")
goto_if_false @JFUD_3275
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_POSE")

:JFUD_3275
goto @JFUD_3098

:JFUD_3282
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_3419
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_LIFT_IN", "FOOD", 4.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT_IN")
goto_if_false @JFUD_3412
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT_IN")

:JFUD_3412
goto @JFUD_3464

:JFUD_3419
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_3457
gosub @JFUD_9946

:JFUD_3457
goto @JFUD_574

:JFUD_3464
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_3654
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_3519
gosub @JFUD_9946
goto @JFUD_574

:JFUD_3519
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_3587
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_3573
gosub @JFUD_9946

:JFUD_3573
goto @JFUD_574
goto @JFUD_3647

:JFUD_3587
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT_IN")
goto_if_false @JFUD_3647
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT_IN")

:JFUD_3647
goto @JFUD_3464

:JFUD_3654
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1145)
$created_this_food = 0
$food_price = 0
$car_class = Shopping.GetItem($created_this_food)
$jfud_keep_created = Object.Create($car_class, $keep_off_dirY, $cam_offx, $cam_offy)
$flag_bought_something_clothes = Shopping.GetPriceOfItem($car_class)
s$found_a_food_shop = Shopping.GetNameOfItem($car_class)
set_var_int_to_var_int $temp_shopX = $flag_bought_something_clothes
set_var_text_label s$temp_shopY = s$found_a_food_shop
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_3915
Task.PickUpObject($shop_door_model_clothes, $jfud_keep_created, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_LIFT", "FOOD", 1000.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
$food_price = 1
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT")
goto_if_false @JFUD_3908
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT")

:JFUD_3908
goto @JFUD_3960

:JFUD_3915
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_3953
gosub @JFUD_9946

:JFUD_3953
goto @JFUD_574

:JFUD_3960
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_4144
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_4015
gosub @JFUD_9946
goto @JFUD_574

:JFUD_4015
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_4083
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_4069
gosub @JFUD_9946

:JFUD_4069
goto @JFUD_574
goto @JFUD_4137

:JFUD_4083
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT")
goto_if_false @JFUD_4137
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT")

:JFUD_4137
goto @JFUD_3960

:JFUD_4144
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_4287
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_LIFT_LOOP", "FOOD", 1000.0, True, False, False, False, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT_LOOP")
goto_if_false @JFUD_4280
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT_LOOP")

:JFUD_4280
goto @JFUD_4332

:JFUD_4287
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_4325
gosub @JFUD_9946

:JFUD_4325
goto @JFUD_574

:JFUD_4332
$current_food_item = 4

:JFUD_4339
if 
  $current_food_item == 4
goto_if_false @JFUD_9734
if 
  $pish_flag == 0
goto_if_false @JFUD_9727
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
if or
  -100 > $been_in_a_bmx
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadLeft)
goto_if_false @JFUD_4603
if 
  $bought_menu_drawn_shops == 1
goto_if_false @JFUD_4447
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:JFUD_4447
$flag_on_neil_lowrider_mission = 0
$created_this_food -= 1
TIMERA = 0

:JFUD_4468
if 
  150 > TIMERA
goto_if_false @JFUD_4589
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_4521
gosub @JFUD_9946
goto @JFUD_574

:JFUD_4521
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_4582
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_4575
gosub @JFUD_9946

:JFUD_4575
goto @JFUD_574

:JFUD_4582
goto @JFUD_4468

:JFUD_4589
$stored_shop = 0
$food_price = 0

:JFUD_4603
if or
  $been_in_a_bmx > 100
  Pad.IsButtonPressed(PadId.Pad1, Button.DpadRight)
goto_if_false @JFUD_4815
if 
  $bought_menu_drawn_shops == 1
goto_if_false @JFUD_4659
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:JFUD_4659
$flag_on_neil_lowrider_mission = 0
$created_this_food += 1
TIMERA = 0

:JFUD_4680
if 
  150 > TIMERA
goto_if_false @JFUD_4801
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_4733
gosub @JFUD_9946
goto @JFUD_574

:JFUD_4733
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_4794
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_4787
gosub @JFUD_9946

:JFUD_4787
goto @JFUD_574

:JFUD_4794
goto @JFUD_4680

:JFUD_4801
$food_price = 0
$stored_shop = 0

:JFUD_4815
if 
  0 > $created_this_food
goto_if_false @JFUD_4848
set_var_int_to_var_int $created_this_food = $shop_keep_junkfud
$created_this_food -= 1

:JFUD_4848
if 
  is_int_var_equal_to_int_var $created_this_food == $shop_keep_junkfud
goto_if_false @JFUD_4874
$created_this_food = 0

:JFUD_4874
if 
  $food_price == 0
goto_if_false @JFUD_5930
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_5026
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_RETURN", "FOOD", 4.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_RETURN")
goto_if_false @JFUD_5019
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_RETURN")

:JFUD_5019
goto @JFUD_5071

:JFUD_5026
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_5064
gosub @JFUD_9946

:JFUD_5064
goto @JFUD_574

:JFUD_5071
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_5259
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_5126
gosub @JFUD_9946
goto @JFUD_574

:JFUD_5126
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_5194
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_5180
gosub @JFUD_9946

:JFUD_5180
goto @JFUD_574
goto @JFUD_5252

:JFUD_5194
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_RETURN")
goto_if_false @JFUD_5252
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_RETURN")

:JFUD_5252
goto @JFUD_5071

:JFUD_5259
gosub @JFUD_13054
$car_class = Shopping.GetItem($created_this_food)
$jfud_keep_created = Object.Create($car_class, $keep_off_dirY, $cam_offx, $cam_offy)
$flag_bought_something_clothes = Shopping.GetPriceOfItem($car_class)
s$found_a_food_shop = Shopping.GetNameOfItem($car_class)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1145)
set_var_int_to_var_int $temp_shopX = $flag_bought_something_clothes
set_var_text_label s$temp_shopY = s$found_a_food_shop
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_5506
Task.PickUpObject($shop_door_model_clothes, $jfud_keep_created, 0.0, 0.0, 0.0, 6, 16, "NULL", "NULL", 0)
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_LIFT", "FOOD", 1000.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT")
goto_if_false @JFUD_5499
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT")

:JFUD_5499
goto @JFUD_5551

:JFUD_5506
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_5544
gosub @JFUD_9946

:JFUD_5544
goto @JFUD_574

:JFUD_5551
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_5735
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_5606
gosub @JFUD_9946
goto @JFUD_574

:JFUD_5606
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_5674
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_5660
gosub @JFUD_9946

:JFUD_5660
goto @JFUD_574
goto @JFUD_5728

:JFUD_5674
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT")
goto_if_false @JFUD_5728
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT")

:JFUD_5728
goto @JFUD_5551

:JFUD_5735
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_5878
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_LIFT_LOOP", "FOOD", 1000.0, True, False, False, False, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT_LOOP")
goto_if_false @JFUD_5871
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT_LOOP")

:JFUD_5871
goto @JFUD_5923

:JFUD_5878
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_5916
gosub @JFUD_9946

:JFUD_5916
goto @JFUD_574

:JFUD_5923
$food_price = 1

:JFUD_5930
if 
  $pish_flag == 0
goto_if_false @JFUD_5955
gosub @JFUD_12413

:JFUD_5955
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @JFUD_9727

:JFUD_5973
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @JFUD_6093
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_6025
gosub @JFUD_9946
goto @JFUD_574

:JFUD_6025
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_6086
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_6079
gosub @JFUD_9946

:JFUD_6079
goto @JFUD_574

:JFUD_6086
goto @JFUD_5973

:JFUD_6093
$flag_on_neil_lowrider_mission = 0
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('FOOD1')
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_6153
$flag_1st_time_nitro_shop = Player.StoreScore($statbike_temp)
goto @JFUD_6167

:JFUD_6153
gosub @JFUD_9946
goto @JFUD_574

:JFUD_6167
if 
  is_int_var_greater_or_equal_to_int_var $flag_1st_time_nitro_shop >= $flag_bought_something_clothes
goto_if_false @JFUD_9593
if 
  11 > $keep_offX
goto_if_false @JFUD_7056
Shopping.BuyItem($car_class)
$stored_shop = 1
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @JFUD_6254
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @JFUD_6254
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1168)

:JFUD_6254
if 
  $flag_changed_hair_intro2 == 0
goto_if_false @JFUD_6284
$displayed_sniper_help_text = Clock.GetGameTimer()
$flag_changed_hair_intro2 = 1

:JFUD_6284
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1054)
$keep_offX += 1
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_6339
$flag_9weapons_open = Char.SetSayContext($shop_door_model_clothes, 318)
goto @JFUD_6384

:JFUD_6339
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_6377
gosub @JFUD_9946

:JFUD_6377
goto @JFUD_574

:JFUD_6384
TIMERA = 0
if 
  $bought_menu_drawn_shops == 1
goto_if_false @JFUD_6423
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:JFUD_6423
if 
  $item_price == 0
goto_if_false @JFUD_6848
if 
is_xbox_version 
goto_if_false @JFUD_6498
$price_counter = Menu.Create('FOODCHO', 29.0, 48.0, 93.0, 2, False, True, 1)
goto @JFUD_6535

:JFUD_6498
$price_counter = Menu.Create('FOODCHO', 29.0, 25.0, 93.0, 2, False, True, 1)

:JFUD_6535
Menu.SetColumnOrientation($price_counter, 0, 1)
Menu.SetColumn($price_counter, 0, 'MEAL', 'BOUGHT', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnOrientation($price_counter, 1, 2)
Menu.SetColumn($price_counter, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber($price_counter, 1, 0, 'DOLLAR', $flag_bought_something_clothes)
Menu.SetColumnWidth($price_counter, 0, 140)
Menu.SetColumnWidth($price_counter, 1, 46)
$item_price = 1

:JFUD_6848
if 
  1000 >= TIMERA
goto_if_false @JFUD_6969
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_6901
gosub @JFUD_9946
goto @JFUD_574

:JFUD_6901
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_6962
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_6955
gosub @JFUD_9946

:JFUD_6955
goto @JFUD_574

:JFUD_6962
goto @JFUD_6848

:JFUD_6969
if 
  $item_price == 1
goto_if_false @JFUD_6999
Menu.Delete($price_counter)
$item_price = 0

:JFUD_6999
if 
  $bought_menu_drawn_shops == 0
goto_if_false @JFUD_7024
gosub @JFUD_12413

:JFUD_7024
if 
  $f1_spinrightgo_best_score == 1
goto_if_false @JFUD_7049
$f1_spinrightgo_best_score = 2

:JFUD_7049
goto @JFUD_9586

:JFUD_7056
if 
  $pish_flag == 0
goto_if_false @JFUD_9586
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_7138
$flag_9weapons_open = Char.SetSayContext($shop_door_model_clothes, 317)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
Text.PrintNow('FOOD1', 5000, 1)
goto @JFUD_7183

:JFUD_7138
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_7176
gosub @JFUD_9946

:JFUD_7176
goto @JFUD_574

:JFUD_7183
if 
  $bought_menu_drawn_shops == 1
goto_if_false @JFUD_7215
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:JFUD_7215
if 
  $item_price == 1
goto_if_false @JFUD_7247
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:JFUD_7247
if 
  $f1_spinrightgo_best_score == 2
goto_if_false @JFUD_7373
Camera.SetFadingColor(0, 0, 0)
Audio.SetMusicDoesFade(False)
Camera.DoFade(0, Fade.Out)
gosub @JFUD_13054
Char.Delete($shop_door_model_clothes)
$f1_spinrightgo_best_score = 3
$bought_menu_drawn_shops = 0
$item_price = 0
$flag_on_neil_lowrider_mission = 0
$food_price = 0
$created_this_food = 0
$current_food_item = 2
Char.SetHealth($stattreadstamina_ctr, $vomitY)
Stat.SetFloat(StatId.Fat, $vomitX)
$emmets_gun = 1
goto @JFUD_574

:JFUD_7373
if 
  $keep_offX >= 11
goto_if_false @JFUD_8175
gosub @JFUD_9769
gosub @JFUD_13054
if 
  10 > $vomitY
goto_if_false @JFUD_7438
set_var_int_to_var_int $vomitY = $vomitY
goto @JFUD_7470

:JFUD_7438
$vomitY -= 10
if 
  10 > $vomitY
goto_if_false @JFUD_7470
$vomitY = 10

:JFUD_7470
Char.SetHealth($stattreadstamina_ctr, $vomitY)
Stat.SetFloat(StatId.Fat, $vomitX)
Camera.SetFixedPosition($foodsmall_junkfud, $foodmed_junkfud, $foodlarge_junkfud, 0.0, 0.0, 0.0)
Camera.PointAtPoint($foodhealthy_junkfud, $vomit_camX, $vomit_camY, SwitchType.JumpCut)
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_7697
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
set_var_float_to_var_float $flag_ate_too_much_food = $x
$flag_ate_too_much_food += 0.355
set_var_float_to_var_float $flag_food = $y
$flag_food -= 0.116
set_var_float_to_var_float $flag_bought_some_food = $z
$flag_bought_some_food -= 0.048
$10044 = Particle.Create("PUKE", $flag_ate_too_much_food, $flag_food, $flag_bought_some_food, 1)
Task.PlayAnimNonInterruptable($stattreadstamina_ctr, "EAT_VOMIT_P", "FOOD", 4.0, False, False, False, False, -1)
$vomit_foodshop = 0.0
$flag_9weapons_open = Char.SetSayContext($stattreadstamina_ctr, 348)
goto @JFUD_7711

:JFUD_7697
gosub @JFUD_9946
goto @JFUD_574

:JFUD_7711
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_7785
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "EAT_VOMIT_SK", "FOOD", 1000.0, False, False, False, False, -1)
$flag_9weapons_open = Char.SetSayContext($shop_door_model_clothes, 320)
goto @JFUD_7830

:JFUD_7785
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_7823
gosub @JFUD_9946

:JFUD_7823
goto @JFUD_574

:JFUD_7830
if 
  Char.IsPlayingAnim($stattreadstamina_ctr, "EAT_VOMIT_P")
goto_if_false @JFUD_7880
$vomit_foodshop = Char.GetAnimCurrentTime($stattreadstamina_ctr, "EAT_VOMIT_P")

:JFUD_7880
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_8158
wait 0
if 
  $return_animation_time_food == 0
goto_if_false @JFUD_7974
if 
  $vomit_foodshop >= 0.463
goto_if_false @JFUD_7974
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @JFUD_7967
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1169)

:JFUD_7967
$return_animation_time_food = 1

:JFUD_7974
if 
  $return_animation_time_food == 1
goto_if_false @JFUD_8025
if 
  $vomit_foodshop >= 0.52
goto_if_false @JFUD_8025
Particle.Play($10044)
$return_animation_time_food = 2

:JFUD_8025
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_8069
$vomit_foodshop = Char.GetAnimCurrentTime($stattreadstamina_ctr, "EAT_VOMIT_P")
goto @JFUD_8083

:JFUD_8069
gosub @JFUD_9946
goto @JFUD_574

:JFUD_8083
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_8106
goto @JFUD_8151

:JFUD_8106
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_8144
gosub @JFUD_9946

:JFUD_8144
goto @JFUD_574

:JFUD_8151
goto @JFUD_7880

:JFUD_8158
Particle.Stop($10044)
Particle.Kill($10044)
goto @JFUD_8926

:JFUD_8175
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_8309
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_RETURN", "FOOD", 4.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_RETURN")
goto_if_false @JFUD_8302
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_RETURN")

:JFUD_8302
goto @JFUD_8354

:JFUD_8309
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_8347
gosub @JFUD_9946

:JFUD_8347
goto @JFUD_574

:JFUD_8354
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_8542
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_8409
gosub @JFUD_9946
goto @JFUD_574

:JFUD_8409
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_8477
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_8463
gosub @JFUD_9946

:JFUD_8463
goto @JFUD_574
goto @JFUD_8535

:JFUD_8477
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_RETURN")
goto_if_false @JFUD_8535
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_RETURN")

:JFUD_8535
goto @JFUD_8354

:JFUD_8542
gosub @JFUD_13054
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_8689
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_LIFT_OUT", "FOOD", 1000.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT_OUT")
goto_if_false @JFUD_8682
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT_OUT")

:JFUD_8682
goto @JFUD_8734

:JFUD_8689
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_8727
gosub @JFUD_9946

:JFUD_8727
goto @JFUD_574

:JFUD_8734
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_8926
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_8789
gosub @JFUD_9946
goto @JFUD_574

:JFUD_8789
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_8857
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_8843
gosub @JFUD_9946

:JFUD_8843
goto @JFUD_574
goto @JFUD_8919

:JFUD_8857
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT_OUT")
goto_if_false @JFUD_8919
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT_OUT")

:JFUD_8919
goto @JFUD_8734

:JFUD_8926
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_9054
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_POSE", "FOOD", 1000.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_POSE")
goto_if_false @JFUD_9047
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_POSE")

:JFUD_9047
goto @JFUD_9099

:JFUD_9054
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_9092
gosub @JFUD_9946

:JFUD_9092
goto @JFUD_574

:JFUD_9099
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_9290
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_9147
goto @JFUD_9161

:JFUD_9147
gosub @JFUD_9946
goto @JFUD_574

:JFUD_9161
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_9238
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_POSE")
goto_if_false @JFUD_9231
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_POSE")

:JFUD_9231
goto @JFUD_9283

:JFUD_9238
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_9276
gosub @JFUD_9946

:JFUD_9276
goto @JFUD_574

:JFUD_9283
goto @JFUD_9099

:JFUD_9290
Player.SetControl($statbike_temp, True)
Game.SetMinigameInProgress(False)
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:JFUD_9305
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX, 1.0, 1.0, 4.0, False)
goto_if_false @JFUD_9544
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_9381
gosub @JFUD_9946
goto @JFUD_574

:JFUD_9381
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_9449
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_9435
gosub @JFUD_9946

:JFUD_9435
goto @JFUD_574
goto @JFUD_9537

:JFUD_9449
if 
  $shop_item_label == 0
goto_if_false @JFUD_9537
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, $shop_door_model_clothes)
  Char.HasBeenDamagedByWeapon($shop_door_model_clothes, WeaponType.AnyWeapon)
  $tray_offX == 1
goto_if_false @JFUD_9537
$flag_9weapons_open = Char.SetSayContext($shop_door_model_clothes, 322)
Task.HandsUp($shop_door_model_clothes, -2)
$tray_offX = 1
$shop_item_label = 1

:JFUD_9537
goto @JFUD_9305

:JFUD_9544
$bought_menu_drawn_shops = 0
$item_price = 0
$food_price = 0
$created_this_food = 0
$current_food_item = 2
$pish_flag = 1

:JFUD_9586
goto @JFUD_9727

:JFUD_9593
if 
  $flag_on_neil_lowrider_mission == 0
goto_if_false @JFUD_9727
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_9675
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
$vomit_camZ = Char.SetSayContext($shop_door_model_clothes, 319)
Text.PrintNow('SHOPNO', 5000, 1)
goto @JFUD_9720

:JFUD_9675
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_9713
gosub @JFUD_9946

:JFUD_9713
goto @JFUD_574

:JFUD_9720
$flag_on_neil_lowrider_mission = 1

:JFUD_9727
gosub @JFUD_10191

:JFUD_9734
goto @JFUD_9748

:JFUD_9741
gosub @JFUD_9946

:JFUD_9748
goto @JFUD_9762

:JFUD_9755
gosub @JFUD_9946

:JFUD_9762
goto @JFUD_574

:JFUD_9769
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('FOOD1')
if 
  $bought_menu_drawn_shops == 1
goto_if_false @JFUD_9823
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:JFUD_9823
if 
  $item_price == 1
goto_if_false @JFUD_9855
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:JFUD_9855
$food_price = 0
$created_this_food = 0
$stored_shop = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$current_food_item = 2
$flag_on_neil_lowrider_mission = 0
Streaming.MarkModelAsNoLongerNeeded($junkfud_cam_offZ)
Streaming.MarkModelAsNoLongerNeeded($cam_point_junkfudX)
Streaming.MarkModelAsNoLongerNeeded($cam_point_junkfudY)
Streaming.MarkModelAsNoLongerNeeded($cam_point_junnkfudZ)
if 
  $player_in_changeroom_clothes == 1
goto_if_false @JFUD_9944
Text.ClearHelp

:JFUD_9944
return 

:JFUD_9946
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('FOOD1')
if 
  $player_in_changeroom_clothes == 1
goto_if_false @JFUD_9988
Text.ClearHelp

:JFUD_9988
if 
  $bought_menu_drawn_shops == 1
goto_if_false @JFUD_10020
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:JFUD_10020
if 
  $item_price == 1
goto_if_false @JFUD_10052
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:JFUD_10052
$player_in_changeroom_clothes = 0
$hash_key_clothes = 0
$created_this_food = 0
$food_price = 0
$pish_flag = 0
$stored_shop = 0
$shop_item_label = 0
$return_animation_time_food = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$current_food_item = 0
$flag_on_neil_lowrider_mission = 0
Particle.Kill($10044)
Char.Delete($shop_door_model_clothes)
Streaming.MarkModelAsNoLongerNeeded($main_menu_shops)
Streaming.MarkModelAsNoLongerNeeded($junkfud_cam_offZ)
Streaming.MarkModelAsNoLongerNeeded($cam_point_junkfudX)
Streaming.MarkModelAsNoLongerNeeded($cam_point_junkfudY)
Streaming.MarkModelAsNoLongerNeeded($cam_point_junnkfudZ)
Text.UseCommands(False)
Stat.ShowUpdateStats(True)
Game.SetMinigameInProgress(False)
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
terminate_this_script 
return 

:JFUD_10191
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @JFUD_12411
if 
  $bought_menu_drawn_shops == 1
goto_if_false @JFUD_10241
Menu.Delete($bought_menu_shops)
Text.ClearHelp
$bought_menu_drawn_shops = 0

:JFUD_10241
if 
  $item_price == 1
goto_if_false @JFUD_10273
Menu.Delete($price_counter)
Text.ClearHelp
$item_price = 0

:JFUD_10273
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @JFUD_10393
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_10325
gosub @JFUD_9946
goto @JFUD_574

:JFUD_10325
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_10386
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_10379
gosub @JFUD_9946

:JFUD_10379
goto @JFUD_574

:JFUD_10386
goto @JFUD_10273

:JFUD_10393
Text.ClearThisPrint('SHOPNO')
Text.ClearThisPrint('FOOD1')
if 
  $f1_spinrightgo_best_score == 2
goto_if_false @JFUD_10515
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(0, Fade.Out)
gosub @JFUD_13054
Char.Delete($shop_door_model_clothes)
$f1_spinrightgo_best_score = 3
$food_price = 0
$created_this_food = 0
$bought_menu_drawn_shops = 0
$item_price = 0
$current_food_item = 2
$flag_on_neil_lowrider_mission = 0
goto @JFUD_12411

:JFUD_10515
$ryder = 0
s$territory_pickup = Shopping.GetLoaded()
if 
  $stored_shop == 1
goto_if_false @JFUD_10748
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDBURG'
goto_if_false @JFUD_10615
Task.PlayAnim($stattreadstamina_ctr, "EAT_BURGER", "FOOD", 4.0, False, False, False, False, -1)
goto @JFUD_10748

:JFUD_10615
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDPIZA'
goto_if_false @JFUD_10684
Task.PlayAnim($stattreadstamina_ctr, "EAT_PIZZA", "FOOD", 4.0, False, False, False, False, -1)
goto @JFUD_10748

:JFUD_10684
if 
  is_var_text_label_equal_to_text_label s$territory_pickup == 'FDCHICK'
goto_if_false @JFUD_10748
Task.PlayAnim($stattreadstamina_ctr, "EAT_CHICKEN", "FOOD", 4.0, False, False, False, False, -1)

:JFUD_10748
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_10893
$vomit_camZ = Char.SetSayContext($shop_door_model_clothes, 326)
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_RETURN", "FOOD", 1000.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_RETURN")
goto_if_false @JFUD_10886
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_RETURN")

:JFUD_10886
goto @JFUD_10938

:JFUD_10893
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_10931
gosub @JFUD_9946

:JFUD_10931
goto @JFUD_574

:JFUD_10938
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_11126
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_10993
gosub @JFUD_9946
goto @JFUD_574

:JFUD_10993
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_11061
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_11047
gosub @JFUD_9946

:JFUD_11047
goto @JFUD_574
goto @JFUD_11119

:JFUD_11061
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_RETURN")
goto_if_false @JFUD_11119
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_RETURN")

:JFUD_11119
goto @JFUD_10938

:JFUD_11126
gosub @JFUD_13054
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_11273
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_LIFT_OUT", "FOOD", 1000.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT_OUT")
goto_if_false @JFUD_11266
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT_OUT")

:JFUD_11266
goto @JFUD_11318

:JFUD_11273
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_11311
gosub @JFUD_9946

:JFUD_11311
goto @JFUD_574

:JFUD_11318
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_11510
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_11373
gosub @JFUD_9946
goto @JFUD_574

:JFUD_11373
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_11441
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_11427
gosub @JFUD_9946

:JFUD_11427
goto @JFUD_574
goto @JFUD_11503

:JFUD_11441
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_LIFT_OUT")
goto_if_false @JFUD_11503
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_LIFT_OUT")

:JFUD_11503
goto @JFUD_11318

:JFUD_11510
if 
  $stored_shop == 1
goto_if_false @JFUD_11566
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @JFUD_11566
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @JFUD_11566
Audio.ReportMissionAudioEventAtChar($stattreadstamina_ctr, 1168)

:JFUD_11566
$food_price = 0
$created_this_food = 0
$current_food_item = 2
$bought_menu_drawn_shops = 0
$item_price = 0
$stored_shop = 0
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
if 
  $player_in_changeroom_clothes == 1
goto_if_false @JFUD_11637
Text.ClearHelp

:JFUD_11637
gosub @JFUD_13054
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_11771
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_THANK", "FOOD", 1000.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
$vomit_camZ = Char.SetSayContext($shop_door_model_clothes, 326)
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_THANK")
goto_if_false @JFUD_11764
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_THANK")

:JFUD_11764
goto @JFUD_11816

:JFUD_11771
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_11809
gosub @JFUD_9946

:JFUD_11809
goto @JFUD_574

:JFUD_11816
if 
  $vomit_foodshop <> 1.0
goto_if_false @JFUD_11992
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_11871
gosub @JFUD_9946
goto @JFUD_574

:JFUD_11871
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_11939
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_11925
gosub @JFUD_9946

:JFUD_11925
goto @JFUD_574
goto @JFUD_11985

:JFUD_11939
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_THANK")
goto_if_false @JFUD_11985
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_THANK")

:JFUD_11985
goto @JFUD_11816

:JFUD_11992
if 
  not Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_12120
Task.PlayAnimNonInterruptable($shop_door_model_clothes, "SHP_TRAY_POSE", "FOOD", 1000.0, False, False, False, True, -1)
$vomit_foodshop = 0.0
if 
  Char.IsPlayingAnim($shop_door_model_clothes, "SHP_TRAY_POSE")
goto_if_false @JFUD_12113
$vomit_foodshop = Char.GetAnimCurrentTime($shop_door_model_clothes, "SHP_TRAY_POSE")

:JFUD_12113
goto @JFUD_12165

:JFUD_12120
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_12158
gosub @JFUD_9946

:JFUD_12158
goto @JFUD_574

:JFUD_12165
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $tray_offY, $tray_offZ, $keep_off_dirX, 1.0, 1.0, 4.0, True)
goto_if_false @JFUD_12404
wait 0
if 
  not Player.IsPlaying($statbike_temp)
goto_if_false @JFUD_12241
gosub @JFUD_9946
goto @JFUD_574

:JFUD_12241
if 
  Char.IsDead($shop_door_model_clothes)
goto_if_false @JFUD_12309
gosub @JFUD_9769
s$territory_pickup = Shopping.GetLoaded()
if 
  not is_var_text_label_equal_to_text_label s$territory_pickup == s$food_name
goto_if_false @JFUD_12295
gosub @JFUD_9946

:JFUD_12295
goto @JFUD_574
goto @JFUD_12397

:JFUD_12309
if 
  $shop_item_label == 0
goto_if_false @JFUD_12397
if or
  Char.IsShooting($stattreadstamina_ctr)
  Player.IsTargetingChar($statbike_temp, $shop_door_model_clothes)
  Char.HasBeenDamagedByWeapon($shop_door_model_clothes, WeaponType.AnyWeapon)
  $tray_offX == 1
goto_if_false @JFUD_12397
$flag_9weapons_open = Char.SetSayContext($shop_door_model_clothes, 322)
Task.HandsUp($shop_door_model_clothes, -2)
$tray_offX = 1
$shop_item_label = 1

:JFUD_12397
goto @JFUD_12165

:JFUD_12404
$ryder = 1

:JFUD_12411
return 

:JFUD_12413
if 
  $bought_menu_drawn_shops == 0
goto_if_false @JFUD_13052
Text.PrintHelpForever('FOOD_H')
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @JFUD_12504
$bought_menu_shops = Menu.Create('FOODCHO', 29.0, 145.0, 93.0, 2, False, True, 1)
goto @JFUD_12745

:JFUD_12504
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @JFUD_12566
$bought_menu_shops = Menu.Create('FOODCHO', 29.0, 145.0, 93.0, 2, False, True, 1)
goto @JFUD_12745

:JFUD_12566
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @JFUD_12628
$bought_menu_shops = Menu.Create('FOODCHO', 29.0, 165.0, 93.0, 2, False, True, 1)
goto @JFUD_12745

:JFUD_12628
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @JFUD_12690
$bought_menu_shops = Menu.Create('FOODCHO', 29.0, 145.0, 93.0, 2, False, True, 1)
goto @JFUD_12745

:JFUD_12690
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @JFUD_12745
$bought_menu_shops = Menu.Create('FOODCHO', 29.0, 145.0, 93.0, 2, False, True, 1)

:JFUD_12745
Menu.SetColumnOrientation($bought_menu_shops, 0, 1)
Menu.SetColumn($bought_menu_shops, 0, 'MEAL', s$temp_shopY, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetColumnOrientation($bought_menu_shops, 1, 2)
Menu.SetColumn($bought_menu_shops, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber($bought_menu_shops, 1, 0, 'DOLLAR', $temp_shopX)
Menu.SetColumnWidth($bought_menu_shops, 0, 140)
Menu.SetColumnWidth($bought_menu_shops, 1, 46)
$bought_menu_drawn_shops = 1

:JFUD_13052
return 

:JFUD_13054
Object.Delete($jfud_keep_created)
return 
terminate_this_script 

//-------------External script 66 (CARMOD1)---------------

:CARMOD
$vomit_cam_point_junnkfudZ = 0
$sample_name_shops = 0
$mod_flag = 0
$control_flag_mod = 0
$number_of_colours = 0.0
$stored_paintjob_number = 0.0
$paintjob_number = 0.0
$paintjob_number_menu = 0.0
$cam_general_modX = 0.0
$cam_general_modY = 0.0
$cam_general_modZ = 0.0
$cam_general_look_at_modX = 0.0
$cam_general_look_at_modY = 0.0
$cam_general_look_at_modZ = 0.0
$wheel_cam_modX = 0.0
$wheel_cam_modY = 0.0
$wheel_cam_modZ = 0.0
$wheel_cam_look_at_modX = 0.0
$wheel_cam_look_at_modY = 0.0
$wheel_cam_look_at_modZ = 0.0
$spoiler_cam_modX = 0.0
$spoiler_cam_modY = 0.0
$spoiler_cam_modZ = 0.0
$spoiler_cam_look_at_modX = 0.0
$spoiler_cam_look_at_modY = 0.0
$spoiler_cam_look_at_modZ = 0.0
$wing_cam_modX = 0.0
$wing_cam_modY = 0.0
$wing_cam_modZ = 0.0
$wing_cam_look_at_modX = 0.0
$wing_cam_look_at_modY = 0.0
$wing_cam_look_at_modZ = 0.0
$roof_cam_modX = 0.0
$roof_cam_modY = 0.0
$roof_cam_modZ = 0.0
$roof_cam_look_at_modX = 0.0
$roof_cam_look_at_modY = 0.0
$roof_cam_look_at_modZ = 0.0
$bonnet_cam_modX = 0.0
$bonnet_cam_modY = 0.0
$bonnet_cam_modZ = 0.0
$bonnet_cam_look_at_modX = 0.0
$bonnet_cam_look_at_modY = 0.0
$bonnet_cam_look_at_modZ = 0.0
$exhaust_cam_modX = 0.0
$exhaust_cam_modY = 0.0
$exhaust_cam_modZ = 0.0
$exhaust_look_at_cam_modX = 0.0
$exhaust_look_at_cam_modY = 0.0
$exhaust_look_at_cam_modZ = 0.0
$front_fender_cam_modX = 0.0
$front_fender_cam_modY = 0.0
$front_fender_cam_modZ = 0.0
$front_fender_look_at_cam_modX = 0.0
$front_fender_look_at_cam_modY = 0.0
$front_fender_look_at_cam_modZ = 0.0
$rear_fender_cam_modX = 0.0
$rear_fender_cam_modY = 0.0
$rear_fender_cam_modZ = 0.0
$rear_fender_look_at_cam_modX = 0.0
$rear_fender_look_at_cam_modY = 0.0
$rear_fender_look_at_cam_modZ = 0.0
$lights_cam_modX = 0.0
$lights_cam_modY = 0.0
$lights_cam_modZ = 0.0
$lights_look_at_cam_modX = 0.0
$lights_look_at_cam_modY = 0.0
$lights_look_at_cam_modZ = 0.0
$front_bullbar_cam_modX = 0.0
$front_bullbar_cam_modY = 0.0
$front_bullbar_cam_modZ = 0.0
$front_bullbar_look_at_cam_modX = 0.0
$front_bullbar_look_at_cam_modY = 0.0
$front_bullbar_look_at_cam_modZ = 0.0
$rear_bullbar_cam_modX = 0.0
$rear_bullbar_cam_modY = 0.0
$rear_bullbar_cam_modZ = 0.0
$rear_bullbar_look_at_cam_modX = 0.0
$rear_bullbar_look_at_cam_modY = 0.0
$rear_bullbar_look_at_cam_modZ = 0.0
$nitro_cam_modX = 0.0
$nitro_cam_modY = 0.0
$nitro_cam_modZ = 0.0
$nitro_look_at_modX = 0.0
$nitro_look_at_modY = 0.0
$nitro_look_at_modZ = 0.0
$custom_paint_cam_modX = 0.0
$custom_paint_cam_modY = 0.0
$custom_paint_cam_modZ = 0.0
$custom_paint_cam_look_at_modX = 0.0
$custom_paint_cam_look_at_modY = 0.0
$custom_paint_cam_look_at_modZ = 0.0
$misc_cam_modX = 0.0
$misc_cam_modY = 0.0
$misc_cam_modZ = 0.0
$misc_cam_look_at_modX = 0.0
$misc_cam_look_at_modY = 0.0
$misc_cam_look_at_modZ = 0.0
$mod_garage_offsetX = 0.0
$mod_garage_offsetY = 0.0
$mod_garage_offsetZ = 0.0
$mod_swap_camX = 0.0
$mod_swap_camY = 0.0
$vomit_cam_point_junkfudX = 0
$mod_swap_camZ = 0
$nitro_mod_counter = 0
$mod_swap_look_at_camZ = 0
$no_of_mods_for_vehicle = 0
$new_mod_index_wil = 0
$upgradetype_mod = 0
$wing_mod_counter = 0
$roof_mod_counter = 0
$exhaust_mod_counter = 0
$spolier_mod_counter = 0
$bonnet_mod_counter = 0
$bonnetLR_mod_counter = 0
$wheel_mod_counter = 0
$front_bumper_mod_counter = 0
$rear_bumper_mod_counter = 0
$lights_mod_counter = 0
$front_bullbar_mod_counter = 0
$rear_bullbar_mod_counter = 0
$10407 = 0
$10408 = 0
$10409 = 0
$mod_counter = 0
$upgrade_meun2_selected = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$number_of_mods_in_section = 0
$mod_model_index = 0
$original_car_mod = 0
$stored_car_colour2 = 0
$sub_menu_drawn_shops = 0
$2428 = 0
$third_menu_shops = 0.0
$third_menu_drawn_shops = 0.0
$colour_menu_shops = 0.0
$10433 = 0
$forth_menu_item2 = 0
$10435 = 0
$forth_menu_shops = 0
$forth_menu_drawn_shops = 0
$upgrade_meun4_selected = 0
$selected_car_colour_mods = 0
$upgrade_colour_selected = 0
$car_colour1_change_mods = 0
$car_colour2_change_mods = 0
$flag_no_of_car_colours = 0
$car_name_mod = 0
$10477 = 0
$10479 = 0
$10480 = 0
$can_car_be_modded_counter = 0
$car_name_mod_garage = 0
set_deatharrest_state 0
script_name 'CARMOD'

:CARMOD_1406
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CARMOD_13948
if 
  $cs1_race_is_go == 0
goto_if_false @CARMOD_13941
if 
  $vomit_cam_point_junkfudX > 0
goto_if_false @CARMOD_1542
if 
  Game.HasLanguageChanged
goto_if_false @CARMOD_1542
Text.ClearHelp
Menu.Delete($sub_menu_shops)
Menu.Delete($2427)
Menu.Delete($stored_car_colour1)
Menu.Delete($just_replaced_car_mod)
Menu.Delete($forth_menu_item1)
$sub_menu_drawn_shops = 0
$2428 = 0
$stored_car_colour2 = 0
$original_car_mod = 0
$10433 = 0
$flag_hhiker_trigger = Game.GetCurrentLanguage()

:CARMOD_1542
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @CARMOD_13941
$colour_menu_drawn_shops = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  $vomit_cam_point_junkfudX == 0
goto_if_false @CARMOD_3943
if or
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, 1042.013, -1019.927, 31.127, 4.0, 4.0, 2.0, True)
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, -1935.528, 247.029, 33.561, 4.0, 4.0, 2.0, True)
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, 2387.075, 1050.511, 9.812, 4.0, 4.0, 2.0, True)
goto_if_false @CARMOD_2548
$colour_menu_drawn_shops = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Char.IsSittingInCar($stattreadstamina_ctr, $colour_menu_drawn_shops)
goto_if_false @CARMOD_2521
if and
goto_if_false @CARMOD_2466
gosub @CARMOD_23870
if 
  $10477 <> 0
goto_if_false @CARMOD_2411
if and
  not Car.IsStreetRacer($colour_menu_drawn_shops)
  not Car.IsLowRider($colour_menu_drawn_shops)
goto_if_false @CARMOD_2356
if 
  $vomit_cam_point_junkfudY == 0
goto_if_false @CARMOD_1870
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
Audio.SetRadioToPlayersFavouriteStation
$car_name_mod = Car.GetDoorLockStatus($colour_menu_drawn_shops)
Car.LockDoors($colour_menu_drawn_shops, CarLock.LockedPlayerInside)
Camera.DoFade(1000, Fade.Out)
$vomit_cam_point_junkfudY = 1

:CARMOD_1870
if 
  $vomit_cam_point_junkfudY == 1
goto_if_false @CARMOD_1919
if 
  not Camera.GetFadingStatus
goto_if_false @CARMOD_1919
Text.SetAreaName('CARMOD1')
$vomit_cam_point_junkfudY = 2

:CARMOD_1919
if 
  $vomit_cam_point_junkfudY == 2
goto_if_false @CARMOD_2349
if 
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, 1042.013, -1019.927, 31.127, 4.0, 4.0, 2.0, False)
goto_if_false @CARMOD_2022
$third_menu_shops = 1042.013
$third_menu_drawn_shops = -1019.927
$colour_menu_shops = 31.127
goto @CARMOD_2185

:CARMOD_2022
if 
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, -1935.528, 247.029, 33.561, 4.0, 4.0, 2.0, False)
goto_if_false @CARMOD_2107
$third_menu_shops = -1935.9255
$third_menu_drawn_shops = 228.6500
$colour_menu_shops = 33.8182
goto @CARMOD_2185

:CARMOD_2107
if 
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, 2387.075, 1050.511, 9.812, 4.0, 4.0, 2.0, False)
goto_if_false @CARMOD_2185
$third_menu_shops = 2386.5205
$third_menu_drawn_shops = 1037.7972
$colour_menu_shops = 10.7

:CARMOD_2185
$misc_cam_modZ = 0.0
$misc_cam_look_at_modX = 0.0
$misc_cam_look_at_modY = 0.0
Streaming.SetAreaVisible(1)
Char.SetAreaVisible($stattreadstamina_ctr, 1)
Car.SetAreaVisible($colour_menu_drawn_shops, 1)
Shopping.Load("CARMOD1")
Shopping.LoadPrices("CARMODS")
Streaming.RequestCollision(617.536, -1.99)
Streaming.LoadScene(617.536, -1.99, 999.98)
Car.SetCoordinates($colour_menu_drawn_shops, 617.536, -1.99, 999.98)
Car.SetHeading($colour_menu_drawn_shops, 90.0)
$10479 = 1
$flag_no_of_car_colours = 0
$upgrade_meun2_selected = 0
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 1

:CARMOD_2349
goto @CARMOD_2404

:CARMOD_2356
if 
  $upgrade_meun2_selected == 0
goto_if_false @CARMOD_2404
Text.PrintNow('MODNO', 5000, 1)
$upgrade_meun2_selected = 1
$vomit_cam_point_junkfudX = 0

:CARMOD_2404
goto @CARMOD_2459

:CARMOD_2411
if 
  $upgrade_meun2_selected == 0
goto_if_false @CARMOD_2459
Text.PrintNow('MODNO2', 5000, 1)
$upgrade_meun2_selected = 1
$vomit_cam_point_junkfudX = 0

:CARMOD_2459
goto @CARMOD_2514

:CARMOD_2466
if 
  $upgrade_meun2_selected == 0
goto_if_false @CARMOD_2514
Text.PrintNow('MODNO2', 5000, 1)
$upgrade_meun2_selected = 1
$vomit_cam_point_junkfudX = 0

:CARMOD_2514
goto @CARMOD_2541

:CARMOD_2521
World.SwitchEntryExit('CARMOD1', False)
$upgrade_meun2_selected = 0

:CARMOD_2541
goto @CARMOD_2568

:CARMOD_2548
World.SwitchEntryExit('CARMOD1', False)
$upgrade_meun2_selected = 0

:CARMOD_2568
if 
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, 2645.112, -2045.745, 12.607, 4.0, 4.0, 4.0, True)
goto_if_false @CARMOD_3236
$colour_menu_drawn_shops = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Char.IsSittingInCar($stattreadstamina_ctr, $colour_menu_drawn_shops)
goto_if_false @CARMOD_3209
if and
goto_if_false @CARMOD_3161
gosub @CARMOD_23870
if 
  $10477 <> 0
goto_if_false @CARMOD_3106
if 
  Car.IsLowRider($colour_menu_drawn_shops)
goto_if_false @CARMOD_3051
if 
  $vomit_cam_point_junkfudY == 0
goto_if_false @CARMOD_2783
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
Audio.SetRadioToPlayersFavouriteStation
$car_name_mod = Car.GetDoorLockStatus($colour_menu_drawn_shops)
Car.LockDoors($colour_menu_drawn_shops, CarLock.LockedPlayerInside)
$10478 = Car.GetModel($colour_menu_drawn_shops)
Camera.DoFade(1000, Fade.Out)
$vomit_cam_point_junkfudY = 1

:CARMOD_2783
if 
  $vomit_cam_point_junkfudY == 1
goto_if_false @CARMOD_2832
if 
  not Camera.GetFadingStatus
goto_if_false @CARMOD_2832
Text.SetAreaName('CARMOD2')
$vomit_cam_point_junkfudY = 2

:CARMOD_2832
if 
  $vomit_cam_point_junkfudY == 2
goto_if_false @CARMOD_3044
$flag_no_of_car_colours = 1
$third_menu_shops = 2645.112
$third_menu_drawn_shops = -2045.745
$colour_menu_shops = 12.607
Streaming.SetAreaVisible(2)
Char.SetAreaVisible($stattreadstamina_ctr, 2)
Car.SetAreaVisible($colour_menu_drawn_shops, 2)
Shopping.Load("CARMOD2")
Shopping.LoadPrices("CARMODS")
Streaming.RequestCollision(616.783, -74.815)
Streaming.LoadScene(616.783, -74.815, 997.014)
Car.SetCoordinates($colour_menu_drawn_shops, 616.783, -74.815, 997.014)
Car.SetHeading($colour_menu_drawn_shops, 90.0)
$10480 = 1
$misc_cam_modZ = 0.0
$misc_cam_look_at_modX = 0.0
$misc_cam_look_at_modY = 0.0
$upgrade_meun2_selected = 0
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 1

:CARMOD_3044
goto @CARMOD_3099

:CARMOD_3051
if 
  $upgrade_meun2_selected == 0
goto_if_false @CARMOD_3099
Text.PrintNow('MODNO', 5000, 1)
$upgrade_meun2_selected = 1
$vomit_cam_point_junkfudX = 0

:CARMOD_3099
goto @CARMOD_3154

:CARMOD_3106
if 
  $upgrade_meun2_selected == 0
goto_if_false @CARMOD_3154
Text.PrintNow('MODNO2', 5000, 1)
$upgrade_meun2_selected = 1
$vomit_cam_point_junkfudX = 0

:CARMOD_3154
goto @CARMOD_3202

:CARMOD_3161
if 
  $upgrade_meun2_selected == 0
goto_if_false @CARMOD_3202
Text.PrintNow('MODNO2', 5000, 1)
$vomit_cam_point_junkfudX = 0

:CARMOD_3202
goto @CARMOD_3229

:CARMOD_3209
World.SwitchEntryExit('CARMOD2', False)
$upgrade_meun2_selected = 0

:CARMOD_3229
goto @CARMOD_3256

:CARMOD_3236
World.SwitchEntryExit('CARMOD2', False)
$upgrade_meun2_selected = 0

:CARMOD_3256
if 
  Char.LocateStoppedInCar3D($stattreadstamina_ctr, -2723.845, 217.804, 3.585, 4.0, 4.0, 1.0, True)
goto_if_false @CARMOD_3923
$colour_menu_drawn_shops = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  Char.IsSittingInCar($stattreadstamina_ctr, $colour_menu_drawn_shops)
goto_if_false @CARMOD_3896
if and
goto_if_false @CARMOD_3841
gosub @CARMOD_23870
if 
  $10477 <> 0
goto_if_false @CARMOD_3786
if 
  Car.IsStreetRacer($colour_menu_drawn_shops)
goto_if_false @CARMOD_3731
if 
  $vomit_cam_point_junkfudY == 0
goto_if_false @CARMOD_3463
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
Audio.SetRadioToPlayersFavouriteStation
$car_name_mod = Car.GetDoorLockStatus($colour_menu_drawn_shops)
Car.LockDoors($colour_menu_drawn_shops, CarLock.LockedPlayerInside)
Camera.DoFade(1000, Fade.Out)
$vomit_cam_point_junkfudY = 1

:CARMOD_3463
if 
  $vomit_cam_point_junkfudY == 1
goto_if_false @CARMOD_3512
if 
  not Camera.GetFadingStatus
goto_if_false @CARMOD_3512
Text.SetAreaName('CARMOD3')
$vomit_cam_point_junkfudY = 2

:CARMOD_3512
if 
  $vomit_cam_point_junkfudY == 2
goto_if_false @CARMOD_3724
$misc_cam_modZ = 0.0
$misc_cam_look_at_modX = 0.0
$misc_cam_look_at_modY = 0.0
$third_menu_shops = -2723.845
$third_menu_drawn_shops = 217.804
$colour_menu_shops = 3.585
Streaming.SetAreaVisible(3)
Char.SetAreaVisible($stattreadstamina_ctr, 3)
Car.SetAreaVisible($colour_menu_drawn_shops, 3)
$flag_no_of_car_colours = 0
$can_car_be_modded_counter = 1
Shopping.Load("CARMOD3")
Shopping.LoadPrices("CARMODS")
Streaming.RequestCollision(615.286, -124.239)
Streaming.LoadScene(615.286, -124.239, 996.995)
Car.SetCoordinates($colour_menu_drawn_shops, 615.286, -124.239, 996.995)
Car.SetHeading($colour_menu_drawn_shops, 90.0)
$upgrade_meun2_selected = 0
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 1

:CARMOD_3724
goto @CARMOD_3779

:CARMOD_3731
if 
  $upgrade_meun2_selected == 0
goto_if_false @CARMOD_3779
Text.PrintNow('MODNO', 5000, 1)
$upgrade_meun2_selected = 1
$vomit_cam_point_junkfudX = 0

:CARMOD_3779
goto @CARMOD_3834

:CARMOD_3786
if 
  $upgrade_meun2_selected == 0
goto_if_false @CARMOD_3834
Text.PrintNow('MODNO2', 5000, 1)
$upgrade_meun2_selected = 1
$vomit_cam_point_junkfudX = 0

:CARMOD_3834
goto @CARMOD_3889

:CARMOD_3841
if 
  $upgrade_meun2_selected == 0
goto_if_false @CARMOD_3889
Text.PrintNow('MODNO2', 5000, 1)
$upgrade_meun2_selected = 1
$vomit_cam_point_junkfudX = 0

:CARMOD_3889
goto @CARMOD_3916

:CARMOD_3896
World.SwitchEntryExit('CARMOD3', False)
$upgrade_meun2_selected = 0

:CARMOD_3916
goto @CARMOD_3943

:CARMOD_3923
World.SwitchEntryExit('CARMOD3', False)
$upgrade_meun2_selected = 0

:CARMOD_3943
if 
  $vomit_cam_point_junkfudX == 1
goto_if_false @CARMOD_9080
s$territory_pickup = Shopping.GetLoaded()
World.SetExtraColors(4, False)
if 
  Car.IsStreetRacer($colour_menu_drawn_shops)
goto_if_false @CARMOD_5615
$number_of_colours = 611.2935
add_float_var_to_float_var $number_of_colours += $misc_cam_modZ
$stored_paintjob_number = -121.2534
add_float_var_to_float_var $stored_paintjob_number += $misc_cam_look_at_modX
$paintjob_number = 999.0341
add_float_var_to_float_var $paintjob_number += $misc_cam_look_at_modY
$paintjob_number_menu = 612.0599
add_float_var_to_float_var $paintjob_number_menu += $misc_cam_modZ
$cam_general_modX = -121.7974
add_float_var_to_float_var $cam_general_modX += $misc_cam_look_at_modX
$cam_general_modY = 998.6927
add_float_var_to_float_var $cam_general_modY += $misc_cam_look_at_modY
$cam_general_modZ = 612.551
add_float_var_to_float_var $cam_general_modZ += $misc_cam_modZ
$cam_general_look_at_modX = -126.8767
add_float_var_to_float_var $cam_general_look_at_modX += $misc_cam_look_at_modX
$cam_general_look_at_modY = 997.6746
add_float_var_to_float_var $cam_general_look_at_modY += $misc_cam_look_at_modY
$cam_general_look_at_modZ = 613.1689
add_float_var_to_float_var $cam_general_look_at_modZ += $misc_cam_modZ
$wheel_cam_modX = -126.0916
add_float_var_to_float_var $wheel_cam_modX += $misc_cam_look_at_modX
$wheel_cam_modY = 997.6324
add_float_var_to_float_var $wheel_cam_modY += $misc_cam_look_at_modY
$wheel_cam_modZ = 615.7711
add_float_var_to_float_var $wheel_cam_modZ += $misc_cam_modZ
$wheel_cam_look_at_modX = -126.8826
add_float_var_to_float_var $wheel_cam_look_at_modX += $misc_cam_look_at_modX
$wheel_cam_look_at_modY = 998.7869
add_float_var_to_float_var $wheel_cam_look_at_modY += $misc_cam_look_at_modY
$wheel_cam_look_at_modZ = 616.1115
add_float_var_to_float_var $wheel_cam_look_at_modZ += $misc_cam_modZ
$spoiler_cam_modX = -125.981
add_float_var_to_float_var $spoiler_cam_modX += $misc_cam_look_at_modX
$spoiler_cam_modY = 998.52
add_float_var_to_float_var $spoiler_cam_modY += $misc_cam_look_at_modY
$spoiler_cam_modZ = 612.551
add_float_var_to_float_var $spoiler_cam_modZ += $misc_cam_modZ
$spoiler_cam_look_at_modX = -126.8767
add_float_var_to_float_var $spoiler_cam_look_at_modX += $misc_cam_look_at_modX
$spoiler_cam_look_at_modY = 997.6746
add_float_var_to_float_var $spoiler_cam_look_at_modY += $misc_cam_look_at_modY
$spoiler_cam_look_at_modZ = 613.1689
add_float_var_to_float_var $spoiler_cam_look_at_modZ += $misc_cam_modZ
$wing_cam_modX = -126.0916
add_float_var_to_float_var $wing_cam_modX += $misc_cam_look_at_modX
$wing_cam_modY = 997.6324
add_float_var_to_float_var $wing_cam_modY += $misc_cam_look_at_modY
$wing_cam_modZ = 611.6899
add_float_var_to_float_var $wing_cam_modZ += $misc_cam_modZ
$wing_cam_look_at_modX = -124.1341
add_float_var_to_float_var $wing_cam_look_at_modX += $misc_cam_look_at_modX
$wing_cam_look_at_modY = 998.957
add_float_var_to_float_var $wing_cam_look_at_modY += $misc_cam_look_at_modY
$wing_cam_look_at_modZ = 612.6635
add_float_var_to_float_var $wing_cam_look_at_modZ += $misc_cam_modZ
$roof_cam_modX = -124.0004
add_float_var_to_float_var $roof_cam_modX += $misc_cam_look_at_modX
$roof_cam_modY = 998.772
add_float_var_to_float_var $roof_cam_modY += $misc_cam_look_at_modY
$roof_cam_modZ = 610.8686
add_float_var_to_float_var $roof_cam_modZ += $misc_cam_modZ
$roof_cam_look_at_modX = -123.9456
add_float_var_to_float_var $roof_cam_look_at_modX += $misc_cam_look_at_modX
$roof_cam_look_at_modY = 998.8293
add_float_var_to_float_var $roof_cam_look_at_modY += $misc_cam_look_at_modY
$roof_cam_look_at_modZ = 611.8196
add_float_var_to_float_var $roof_cam_look_at_modZ += $misc_cam_modZ
$bonnet_cam_modX = -123.8469
add_float_var_to_float_var $bonnet_cam_modX += $misc_cam_look_at_modX
$bonnet_cam_modY = 998.5366
add_float_var_to_float_var $bonnet_cam_modY += $misc_cam_look_at_modY
$bonnet_cam_modZ = 618.9148
add_float_var_to_float_var $bonnet_cam_modZ += $misc_cam_modZ
$bonnet_cam_look_at_modX = -125.9082
add_float_var_to_float_var $bonnet_cam_look_at_modX += $misc_cam_look_at_modX
$bonnet_cam_look_at_modY = 997.2668
add_float_var_to_float_var $bonnet_cam_look_at_modY += $misc_cam_look_at_modY
$bonnet_cam_look_at_modZ = 618.0776
add_float_var_to_float_var $bonnet_cam_look_at_modZ += $misc_cam_modZ
$exhaust_cam_modX = -125.3645
add_float_var_to_float_var $exhaust_cam_modX += $misc_cam_look_at_modX
$exhaust_cam_modY = 997.3261
add_float_var_to_float_var $exhaust_cam_modY += $misc_cam_look_at_modY
$exhaust_cam_modZ = 611.384
add_float_var_to_float_var $exhaust_cam_modZ += $misc_cam_modZ
$exhaust_look_at_cam_modX = -122.4332
add_float_var_to_float_var $exhaust_look_at_cam_modX += $misc_cam_look_at_modX
$exhaust_look_at_cam_modY = 997.4291
add_float_var_to_float_var $exhaust_look_at_cam_modY += $misc_cam_look_at_modY
$exhaust_look_at_cam_modZ = 612.2263
add_float_var_to_float_var $exhaust_look_at_cam_modZ += $misc_cam_modZ
$front_fender_cam_modX = -122.972
add_float_var_to_float_var $front_fender_cam_modX += $misc_cam_look_at_modX
$front_fender_cam_modY = 997.4357
add_float_var_to_float_var $front_fender_cam_modY += $misc_cam_look_at_modY
$front_fender_cam_modZ = 618.9148
add_float_var_to_float_var $front_fender_cam_modZ += $misc_cam_modZ
$front_fender_look_at_cam_modX = -125.9082
add_float_var_to_float_var $front_fender_look_at_cam_modX += $misc_cam_look_at_modX
$front_fender_look_at_cam_modY = 997.2668
add_float_var_to_float_var $front_fender_look_at_cam_modY += $misc_cam_look_at_modY
$front_fender_look_at_cam_modZ = 618.0776
add_float_var_to_float_var $front_fender_look_at_cam_modZ += $misc_cam_modZ
$rear_fender_cam_modX = -125.3645
add_float_var_to_float_var $rear_fender_cam_modX += $misc_cam_look_at_modX
$rear_fender_cam_modY = 997.3261
add_float_var_to_float_var $rear_fender_cam_modY += $misc_cam_look_at_modY
$rear_fender_cam_modZ = 611.1373
add_float_var_to_float_var $rear_fender_cam_modZ += $misc_cam_modZ
$rear_fender_look_at_cam_modX = -124.2795
add_float_var_to_float_var $rear_fender_look_at_cam_modX += $misc_cam_look_at_modX
$rear_fender_look_at_cam_modY = 998.1324
add_float_var_to_float_var $rear_fender_look_at_cam_modY += $misc_cam_look_at_modY
$rear_fender_look_at_cam_modZ = 612.1359
add_float_var_to_float_var $rear_fender_look_at_cam_modZ += $misc_cam_modZ
$lights_cam_modX = -124.2299
add_float_var_to_float_var $lights_cam_modX += $misc_cam_look_at_modX
$lights_cam_modY = 998.1481
add_float_var_to_float_var $lights_cam_modY += $misc_cam_look_at_modY
$lights_cam_modZ = 610.8206
add_float_var_to_float_var $lights_cam_modZ += $misc_cam_modZ
$lights_look_at_cam_modX = -126.0154
add_float_var_to_float_var $lights_look_at_cam_modX += $misc_cam_look_at_modX
$lights_look_at_cam_modY = 997.3317
add_float_var_to_float_var $lights_look_at_cam_modY += $misc_cam_look_at_modY
$lights_look_at_cam_modZ = 611.6263
add_float_var_to_float_var $lights_look_at_cam_modZ += $misc_cam_modZ
$front_bullbar_cam_modX = -125.4232
add_float_var_to_float_var $front_bullbar_cam_modX += $misc_cam_look_at_modX
$front_bullbar_cam_modY = 997.3185
add_float_var_to_float_var $front_bullbar_cam_modY += $misc_cam_look_at_modY
$front_bullbar_cam_modZ = 619.0011
add_float_var_to_float_var $front_bullbar_cam_modZ += $misc_cam_modZ
$front_bullbar_look_at_cam_modX = -126.195
add_float_var_to_float_var $front_bullbar_look_at_cam_modX += $misc_cam_look_at_modX
$front_bullbar_look_at_cam_modY = 997.444
add_float_var_to_float_var $front_bullbar_look_at_cam_modY += $misc_cam_look_at_modY
$front_bullbar_look_at_cam_modZ = 618.3423
add_float_var_to_float_var $front_bullbar_look_at_cam_modZ += $misc_cam_modZ
$rear_bullbar_cam_modX = -125.4429
add_float_var_to_float_var $rear_bullbar_cam_modX += $misc_cam_look_at_modX
$rear_bullbar_cam_modY = 997.461
add_float_var_to_float_var $rear_bullbar_cam_modY += $misc_cam_look_at_modY
$rear_bullbar_cam_modZ = 617.8134
add_float_var_to_float_var $rear_bullbar_cam_modZ += $misc_cam_modZ
$rear_bullbar_look_at_cam_modX = -126.8104
add_float_var_to_float_var $rear_bullbar_look_at_cam_modX += $misc_cam_look_at_modX
$rear_bullbar_look_at_cam_modY = 999.6476
add_float_var_to_float_var $rear_bullbar_look_at_cam_modY += $misc_cam_look_at_modY
$rear_bullbar_look_at_cam_modZ = 617.3374
add_float_var_to_float_var $rear_bullbar_look_at_cam_modZ += $misc_cam_modZ
$nitro_cam_modX = -126.1012
add_float_var_to_float_var $nitro_cam_modX += $misc_cam_look_at_modX
$nitro_cam_modY = 999.1275
add_float_var_to_float_var $nitro_cam_modY += $misc_cam_look_at_modY
$nitro_cam_modZ = 611.2935
add_float_var_to_float_var $nitro_cam_modZ += $misc_cam_modZ
$nitro_look_at_modX = -121.2534
add_float_var_to_float_var $nitro_look_at_modX += $misc_cam_look_at_modX
$nitro_look_at_modY = 999.0341
add_float_var_to_float_var $nitro_look_at_modY += $misc_cam_look_at_modY
$nitro_look_at_modZ = 612.0599
add_float_var_to_float_var $nitro_look_at_modZ += $misc_cam_modZ
$custom_paint_cam_modX = -121.7974
add_float_var_to_float_var $custom_paint_cam_modX += $misc_cam_look_at_modX
$custom_paint_cam_modY = 998.6927
add_float_var_to_float_var $custom_paint_cam_modY += $misc_cam_look_at_modY
$custom_paint_cam_modZ = 611.2935
add_float_var_to_float_var $custom_paint_cam_modZ += $misc_cam_modZ
$custom_paint_cam_look_at_modX = -121.2534
add_float_var_to_float_var $custom_paint_cam_look_at_modX += $misc_cam_look_at_modX
$custom_paint_cam_look_at_modY = 999.0341
add_float_var_to_float_var $custom_paint_cam_look_at_modY += $misc_cam_look_at_modY
$custom_paint_cam_look_at_modZ = 612.0599
add_float_var_to_float_var $custom_paint_cam_look_at_modZ += $misc_cam_modZ
$misc_cam_modX = -121.7974
add_float_var_to_float_var $misc_cam_modX += $misc_cam_look_at_modX
$misc_cam_modY = 998.6927
add_float_var_to_float_var $misc_cam_modY += $misc_cam_look_at_modY
goto @CARMOD_9012

:CARMOD_5615
if 
  Car.IsLowRider($colour_menu_drawn_shops)
goto_if_false @CARMOD_7392
$number_of_colours = 611.9196
add_float_var_to_float_var $number_of_colours += $misc_cam_modZ
$stored_paintjob_number = -71.983
add_float_var_to_float_var $stored_paintjob_number += $misc_cam_look_at_modX
$paintjob_number = 998.9867
add_float_var_to_float_var $paintjob_number += $misc_cam_look_at_modY
$paintjob_number_menu = 612.8176
add_float_var_to_float_var $paintjob_number_menu += $misc_cam_modZ
$cam_general_modX = -72.3798
add_float_var_to_float_var $cam_general_modX += $misc_cam_look_at_modX
$cam_general_modY = 998.7969
add_float_var_to_float_var $cam_general_modY += $misc_cam_look_at_modY
$cam_general_modZ = 613.5045
add_float_var_to_float_var $cam_general_modZ += $misc_cam_modZ
$cam_general_look_at_modX = -77.61
add_float_var_to_float_var $cam_general_look_at_modX += $misc_cam_look_at_modX
$cam_general_look_at_modY = 997.6773
add_float_var_to_float_var $cam_general_look_at_modY += $misc_cam_look_at_modY
$cam_general_look_at_modZ = 614.0041
add_float_var_to_float_var $cam_general_look_at_modZ += $misc_cam_modZ
$wheel_cam_modX = -76.7527
add_float_var_to_float_var $wheel_cam_modX += $misc_cam_look_at_modX
$wheel_cam_modY = 997.8019
add_float_var_to_float_var $wheel_cam_modY += $misc_cam_look_at_modY
$wheel_cam_modZ = 617.6616
add_float_var_to_float_var $wheel_cam_modZ += $misc_cam_modZ
$wheel_cam_look_at_modX = -77.5803
add_float_var_to_float_var $wheel_cam_look_at_modX += $misc_cam_look_at_modX
$wheel_cam_look_at_modY = 998.5854
add_float_var_to_float_var $wheel_cam_look_at_modY += $misc_cam_look_at_modY
$wheel_cam_look_at_modZ = 618.0117
add_float_var_to_float_var $wheel_cam_look_at_modZ += $misc_cam_modZ
$spoiler_cam_modX = -76.6793
add_float_var_to_float_var $spoiler_cam_modX += $misc_cam_look_at_modX
$spoiler_cam_modY = 998.329
add_float_var_to_float_var $spoiler_cam_modY += $misc_cam_look_at_modY
$spoiler_cam_modZ = 616.0645
add_float_var_to_float_var $spoiler_cam_modZ += $misc_cam_modZ
$spoiler_cam_look_at_modX = -77.4652
add_float_var_to_float_var $spoiler_cam_look_at_modX += $misc_cam_look_at_modX
$spoiler_cam_look_at_modY = 998.1566
add_float_var_to_float_var $spoiler_cam_look_at_modY += $misc_cam_look_at_modY
$spoiler_cam_look_at_modZ = 616.6523
add_float_var_to_float_var $spoiler_cam_look_at_modZ += $misc_cam_modZ
$wing_cam_modX = -76.6904
add_float_var_to_float_var $wing_cam_modX += $misc_cam_look_at_modX
$wing_cam_modY = 997.9242
add_float_var_to_float_var $wing_cam_modY += $misc_cam_look_at_modY
$wing_cam_modZ = 615.7546
add_float_var_to_float_var $wing_cam_modZ += $misc_cam_modZ
$wing_cam_look_at_modX = -77.9771
add_float_var_to_float_var $wing_cam_look_at_modX += $misc_cam_look_at_modX
$wing_cam_look_at_modY = 999.3472
add_float_var_to_float_var $wing_cam_look_at_modY += $misc_cam_look_at_modY
$wing_cam_look_at_modZ = 616.0991
add_float_var_to_float_var $wing_cam_look_at_modZ += $misc_cam_modZ
$roof_cam_modX = -77.1049
add_float_var_to_float_var $roof_cam_modX += $misc_cam_look_at_modX
$roof_cam_modY = 998.9999
add_float_var_to_float_var $roof_cam_modY += $misc_cam_look_at_modY
$roof_cam_modZ = 612.3392
add_float_var_to_float_var $roof_cam_modZ += $misc_cam_modZ
$roof_cam_look_at_modX = -74.6454
add_float_var_to_float_var $roof_cam_look_at_modX += $misc_cam_look_at_modX
$roof_cam_look_at_modY = 998.7184
add_float_var_to_float_var $roof_cam_look_at_modY += $misc_cam_look_at_modY
$roof_cam_look_at_modZ = 613.3315
add_float_var_to_float_var $roof_cam_look_at_modZ += $misc_cam_modZ
$bonnet_cam_modX = -74.5934
add_float_var_to_float_var $bonnet_cam_modX += $misc_cam_look_at_modX
$bonnet_cam_modY = 998.6063
add_float_var_to_float_var $bonnet_cam_modY += $misc_cam_look_at_modY
$bonnet_cam_modZ = 620.7762
add_float_var_to_float_var $bonnet_cam_modZ += $misc_cam_modZ
$bonnet_cam_look_at_modX = -76.6076
add_float_var_to_float_var $bonnet_cam_look_at_modX += $misc_cam_look_at_modX
$bonnet_cam_look_at_modY = 997.2366
add_float_var_to_float_var $bonnet_cam_look_at_modY += $misc_cam_look_at_modY
$bonnet_cam_look_at_modZ = 620.051
add_float_var_to_float_var $bonnet_cam_look_at_modZ += $misc_cam_modZ
$exhaust_cam_modX = -75.9492
add_float_var_to_float_var $exhaust_cam_modX += $misc_cam_look_at_modX
$exhaust_cam_modY = 997.4383
add_float_var_to_float_var $exhaust_cam_modY += $misc_cam_look_at_modY
$exhaust_cam_modZ = 612.1144
add_float_var_to_float_var $exhaust_cam_modZ += $misc_cam_modZ
$exhaust_look_at_cam_modX = -74.4962
add_float_var_to_float_var $exhaust_look_at_cam_modX += $misc_cam_look_at_modX
$exhaust_look_at_cam_modY = 997.7816
add_float_var_to_float_var $exhaust_look_at_cam_modY += $misc_cam_look_at_modY
$exhaust_look_at_cam_modZ = 613.111
add_float_var_to_float_var $exhaust_look_at_cam_modZ += $misc_cam_modZ
$front_fender_cam_modX = -74.4536
add_float_var_to_float_var $front_fender_cam_modX += $misc_cam_look_at_modX
$front_fender_cam_modY = 997.7114
add_float_var_to_float_var $front_fender_cam_modY += $misc_cam_look_at_modY
$front_fender_cam_modZ = 620.7762
add_float_var_to_float_var $front_fender_cam_modZ += $misc_cam_modZ
$front_fender_look_at_cam_modX = -76.6076
add_float_var_to_float_var $front_fender_look_at_cam_modX += $misc_cam_look_at_modX
$front_fender_look_at_cam_modY = 997.2366
add_float_var_to_float_var $front_fender_look_at_cam_modY += $misc_cam_look_at_modY
$front_fender_look_at_cam_modZ = 620.051
add_float_var_to_float_var $front_fender_look_at_cam_modZ += $misc_cam_modZ
$rear_fender_cam_modX = -75.9492
add_float_var_to_float_var $rear_fender_cam_modX += $misc_cam_look_at_modX
$rear_fender_cam_modY = 997.4383
add_float_var_to_float_var $rear_fender_cam_modY += $misc_cam_look_at_modY
$rear_fender_cam_modZ = 612.1144
add_float_var_to_float_var $rear_fender_cam_modZ += $misc_cam_modZ
$rear_fender_look_at_cam_modX = -74.4962
add_float_var_to_float_var $rear_fender_look_at_cam_modX += $misc_cam_look_at_modX
$rear_fender_look_at_cam_modY = 997.7816
add_float_var_to_float_var $rear_fender_look_at_cam_modY += $misc_cam_look_at_modY
$rear_fender_look_at_cam_modZ = 613.111
add_float_var_to_float_var $rear_fender_look_at_cam_modZ += $misc_cam_modZ
$lights_cam_modX = -74.4536
add_float_var_to_float_var $lights_cam_modX += $misc_cam_look_at_modX
$lights_cam_modY = 997.7114
add_float_var_to_float_var $lights_cam_modY += $misc_cam_look_at_modY
$lights_cam_modZ = 612.1144
add_float_var_to_float_var $lights_cam_modZ += $misc_cam_modZ
$lights_look_at_cam_modX = -74.4962
add_float_var_to_float_var $lights_look_at_cam_modX += $misc_cam_look_at_modX
$lights_look_at_cam_modY = 997.7816
add_float_var_to_float_var $lights_look_at_cam_modY += $misc_cam_look_at_modY
$lights_look_at_cam_modZ = 613.111
add_float_var_to_float_var $lights_look_at_cam_modZ += $misc_cam_modZ
$front_bullbar_cam_modX = -74.4536
add_float_var_to_float_var $front_bullbar_cam_modX += $misc_cam_look_at_modX
$front_bullbar_cam_modY = 997.7114
add_float_var_to_float_var $front_bullbar_cam_modY += $misc_cam_look_at_modY
$front_bullbar_cam_modZ = 620.8461
add_float_var_to_float_var $front_bullbar_cam_modZ += $misc_cam_modZ
$front_bullbar_look_at_cam_modX = -76.8773
add_float_var_to_float_var $front_bullbar_look_at_cam_modX += $misc_cam_look_at_modX
$front_bullbar_look_at_cam_modY = 997.3512
add_float_var_to_float_var $front_bullbar_look_at_cam_modY += $misc_cam_look_at_modY
$front_bullbar_look_at_cam_modZ = 620.2133
add_float_var_to_float_var $front_bullbar_look_at_cam_modZ += $misc_cam_modZ
$rear_bullbar_cam_modX = -76.1111
add_float_var_to_float_var $rear_bullbar_cam_modX += $misc_cam_look_at_modX
$rear_bullbar_cam_modY = 997.4626
add_float_var_to_float_var $rear_bullbar_cam_modY += $misc_cam_look_at_modY
$rear_bullbar_cam_modZ = 621.0414
add_float_var_to_float_var $rear_bullbar_cam_modZ += $misc_cam_modZ
$rear_bullbar_look_at_cam_modX = -74.9455
add_float_var_to_float_var $rear_bullbar_look_at_cam_modX += $misc_cam_look_at_modX
$rear_bullbar_look_at_cam_modY = 998.9329
add_float_var_to_float_var $rear_bullbar_look_at_cam_modY += $misc_cam_look_at_modY
$rear_bullbar_look_at_cam_modZ = 620.0759
add_float_var_to_float_var $rear_bullbar_look_at_cam_modZ += $misc_cam_modZ
$nitro_cam_modX = -74.9535
add_float_var_to_float_var $nitro_cam_modX += $misc_cam_look_at_modX
$nitro_cam_modY = 998.6727
add_float_var_to_float_var $nitro_cam_modY += $misc_cam_look_at_modY
$nitro_cam_modZ = 612.2584
add_float_var_to_float_var $nitro_cam_modZ += $misc_cam_modZ
$nitro_look_at_modX = -72.1851
add_float_var_to_float_var $nitro_look_at_modX += $misc_cam_look_at_modX
$nitro_look_at_modY = 998.8818
add_float_var_to_float_var $nitro_look_at_modY += $misc_cam_look_at_modY
$nitro_look_at_modZ = 613.1286
add_float_var_to_float_var $nitro_look_at_modZ += $misc_cam_modZ
$custom_paint_cam_modX = -72.6701
add_float_var_to_float_var $custom_paint_cam_modX += $misc_cam_look_at_modX
$custom_paint_cam_modY = 998.7961
add_float_var_to_float_var $custom_paint_cam_modY += $misc_cam_look_at_modY
if 
  is_int_var_equal_to_constant $10478 == 534
goto_if_false @CARMOD_7277
$custom_paint_cam_modZ = 612.1144
add_float_var_to_float_var $custom_paint_cam_modZ += $misc_cam_modZ
$custom_paint_cam_look_at_modX = -74.4962
add_float_var_to_float_var $custom_paint_cam_look_at_modX += $misc_cam_look_at_modX
$custom_paint_cam_look_at_modY = 997.7816
add_float_var_to_float_var $custom_paint_cam_look_at_modY += $misc_cam_look_at_modY
$custom_paint_cam_look_at_modZ = 613.111
add_float_var_to_float_var $custom_paint_cam_look_at_modZ += $misc_cam_modZ
$misc_cam_modX = -74.4536
add_float_var_to_float_var $misc_cam_modX += $misc_cam_look_at_modX
$misc_cam_modY = 997.7114
add_float_var_to_float_var $misc_cam_modY += $misc_cam_look_at_modY
goto @CARMOD_7385

:CARMOD_7277
$custom_paint_cam_modZ = 615.7372
add_float_var_to_float_var $custom_paint_cam_modZ += $misc_cam_modZ
$custom_paint_cam_look_at_modX = -77.2556
add_float_var_to_float_var $custom_paint_cam_look_at_modX += $misc_cam_look_at_modX
$custom_paint_cam_look_at_modY = 998.6337
add_float_var_to_float_var $custom_paint_cam_look_at_modY += $misc_cam_look_at_modY
$custom_paint_cam_look_at_modZ = 616.2341
add_float_var_to_float_var $custom_paint_cam_look_at_modZ += $misc_cam_modZ
$misc_cam_modX = -76.4031
add_float_var_to_float_var $misc_cam_modX += $misc_cam_look_at_modX
$misc_cam_modY = 998.4717
add_float_var_to_float_var $misc_cam_modY += $misc_cam_look_at_modY

:CARMOD_7385
goto @CARMOD_9012

:CARMOD_7392
$number_of_colours = 612.7667
add_float_var_to_float_var $number_of_colours += $misc_cam_modZ
$stored_paintjob_number = 0.5696
add_float_var_to_float_var $stored_paintjob_number += $misc_cam_look_at_modX
$paintjob_number = 1002.114
add_float_var_to_float_var $paintjob_number += $misc_cam_look_at_modY
$paintjob_number_menu = 613.6664
add_float_var_to_float_var $paintjob_number_menu += $misc_cam_modZ
$cam_general_modX = 0.1645
add_float_var_to_float_var $cam_general_modX += $misc_cam_look_at_modX
$cam_general_modY = 1001.951
add_float_var_to_float_var $cam_general_modY += $misc_cam_look_at_modY
$cam_general_modZ = 614.4382
add_float_var_to_float_var $cam_general_modZ += $misc_cam_modZ
$cam_general_look_at_modX = -4.5756
add_float_var_to_float_var $cam_general_look_at_modX += $misc_cam_look_at_modX
$cam_general_look_at_modY = 1000.632
add_float_var_to_float_var $cam_general_look_at_modY += $misc_cam_look_at_modY
$cam_general_look_at_modZ = 614.9804
add_float_var_to_float_var $cam_general_look_at_modZ += $misc_cam_modZ
$wheel_cam_modX = -3.7381
add_float_var_to_float_var $wheel_cam_modX += $misc_cam_look_at_modX
$wheel_cam_modY = 1000.565
add_float_var_to_float_var $wheel_cam_modY += $misc_cam_look_at_modY
$wheel_cam_modZ = 618.1872
add_float_var_to_float_var $wheel_cam_modZ += $misc_cam_modZ
$wheel_cam_look_at_modX = -5.3884
add_float_var_to_float_var $wheel_cam_look_at_modX += $misc_cam_look_at_modX
$wheel_cam_look_at_modY = 1002.423
add_float_var_to_float_var $wheel_cam_look_at_modY += $misc_cam_look_at_modY
$wheel_cam_look_at_modZ = 618.4805
add_float_var_to_float_var $wheel_cam_look_at_modZ += $misc_cam_modZ
$spoiler_cam_modX = -4.4899
add_float_var_to_float_var $spoiler_cam_modX += $misc_cam_look_at_modX
$spoiler_cam_modY = 1002.097
add_float_var_to_float_var $spoiler_cam_modY += $misc_cam_look_at_modY
$spoiler_cam_modZ = 615.6667
add_float_var_to_float_var $spoiler_cam_modZ += $misc_cam_modZ
$spoiler_cam_look_at_modX = -4.5419
add_float_var_to_float_var $spoiler_cam_look_at_modX += $misc_cam_look_at_modX
$spoiler_cam_look_at_modY = 1000.27
add_float_var_to_float_var $spoiler_cam_look_at_modY += $misc_cam_look_at_modY
$spoiler_cam_look_at_modZ = 616.2391
add_float_var_to_float_var $spoiler_cam_look_at_modZ += $misc_cam_modZ
$wing_cam_modX = -3.7425
add_float_var_to_float_var $wing_cam_modX += $misc_cam_look_at_modX
$wing_cam_modY = 1000.452
add_float_var_to_float_var $wing_cam_modY += $misc_cam_look_at_modY
$wing_cam_modZ = 613.6697
add_float_var_to_float_var $wing_cam_modZ += $misc_cam_modZ
$wing_cam_look_at_modX = -1.4788
add_float_var_to_float_var $wing_cam_look_at_modX += $misc_cam_look_at_modX
$wing_cam_look_at_modY = 1002.232
add_float_var_to_float_var $wing_cam_look_at_modY += $misc_cam_look_at_modY
$wing_cam_look_at_modZ = 614.647
add_float_var_to_float_var $wing_cam_look_at_modZ += $misc_cam_modZ
$roof_cam_modX = -1.5313
add_float_var_to_float_var $roof_cam_modX += $misc_cam_look_at_modX
$roof_cam_modY = 1002.027
add_float_var_to_float_var $roof_cam_modY += $misc_cam_look_at_modY
$roof_cam_modZ = 613.5347
add_float_var_to_float_var $roof_cam_modZ += $misc_cam_modZ
$roof_cam_look_at_modX = -1.7916
add_float_var_to_float_var $roof_cam_look_at_modX += $misc_cam_look_at_modX
$roof_cam_look_at_modY = 1002.526
add_float_var_to_float_var $roof_cam_look_at_modY += $misc_cam_look_at_modY
$roof_cam_look_at_modZ = 614.4059
add_float_var_to_float_var $roof_cam_look_at_modZ += $misc_cam_modZ
$bonnet_cam_modX = -1.7952
add_float_var_to_float_var $bonnet_cam_modX += $misc_cam_look_at_modX
$bonnet_cam_modY = 1002.035
add_float_var_to_float_var $bonnet_cam_modY += $misc_cam_look_at_modY
$bonnet_cam_modZ = 621.9104
add_float_var_to_float_var $bonnet_cam_modZ += $misc_cam_modZ
$bonnet_cam_look_at_modX = -3.6269
add_float_var_to_float_var $bonnet_cam_look_at_modX += $misc_cam_look_at_modX
$bonnet_cam_look_at_modY = 1000.408
add_float_var_to_float_var $bonnet_cam_look_at_modY += $misc_cam_look_at_modY
$bonnet_cam_look_at_modZ = 621.0475
add_float_var_to_float_var $bonnet_cam_look_at_modZ += $misc_cam_modZ
$exhaust_cam_modX = -3.1303
add_float_var_to_float_var $exhaust_cam_modX += $misc_cam_look_at_modX
$exhaust_cam_modY = 1000.314
add_float_var_to_float_var $exhaust_cam_modY += $misc_cam_look_at_modY
$exhaust_cam_modZ = 611.6121
add_float_var_to_float_var $exhaust_cam_modZ += $misc_cam_modZ
$exhaust_look_at_cam_modX = -1.4851
add_float_var_to_float_var $exhaust_look_at_cam_modX += $misc_cam_look_at_modX
$exhaust_look_at_cam_modY = 1001.777
add_float_var_to_float_var $exhaust_look_at_cam_modY += $misc_cam_look_at_modY
$exhaust_look_at_cam_modZ = 612.6027
add_float_var_to_float_var $exhaust_look_at_cam_modZ += $misc_cam_modZ
$front_fender_cam_modX = -1.507
add_float_var_to_float_var $front_fender_cam_modX += $misc_cam_look_at_modX
$front_fender_cam_modY = 1001.642
add_float_var_to_float_var $front_fender_cam_modY += $misc_cam_look_at_modY
$front_fender_cam_modZ = 621.4796
add_float_var_to_float_var $front_fender_cam_modZ += $misc_cam_modZ
$front_fender_look_at_cam_modX = -3.4952
add_float_var_to_float_var $front_fender_look_at_cam_modX += $misc_cam_look_at_modX
$front_fender_look_at_cam_modY = 1000.33
add_float_var_to_float_var $front_fender_look_at_cam_modY += $misc_cam_look_at_modY
$front_fender_look_at_cam_modZ = 620.5905
add_float_var_to_float_var $front_fender_look_at_cam_modZ += $misc_cam_modZ
$rear_fender_cam_modX = -3.0499
add_float_var_to_float_var $rear_fender_cam_modX += $misc_cam_look_at_modX
$rear_fender_cam_modY = 1000.435
add_float_var_to_float_var $rear_fender_cam_modY += $misc_cam_look_at_modY
$rear_fender_cam_modZ = 612.6115
add_float_var_to_float_var $rear_fender_cam_modZ += $misc_cam_modZ
$rear_fender_look_at_cam_modX = -1.7655
add_float_var_to_float_var $rear_fender_look_at_cam_modX += $misc_cam_look_at_modX
$rear_fender_look_at_cam_modY = 1001.3
add_float_var_to_float_var $rear_fender_look_at_cam_modY += $misc_cam_look_at_modY
$rear_fender_look_at_cam_modZ = 613.5665
add_float_var_to_float_var $rear_fender_look_at_cam_modZ += $misc_cam_modZ
$lights_cam_modX = -1.6304
add_float_var_to_float_var $lights_cam_modX += $misc_cam_look_at_modX
$lights_cam_modY = 1001.036
add_float_var_to_float_var $lights_cam_modY += $misc_cam_look_at_modY
$lights_cam_modZ = 611.6121
add_float_var_to_float_var $lights_cam_modZ += $misc_cam_modZ
$lights_look_at_cam_modX = -1.4851
add_float_var_to_float_var $lights_look_at_cam_modX += $misc_cam_look_at_modX
$lights_look_at_cam_modY = 1001.777
add_float_var_to_float_var $lights_look_at_cam_modY += $misc_cam_look_at_modY
$lights_look_at_cam_modZ = 612.6027
add_float_var_to_float_var $lights_look_at_cam_modZ += $misc_cam_modZ
$front_bullbar_cam_modX = -1.507
add_float_var_to_float_var $front_bullbar_cam_modX += $misc_cam_look_at_modX
$front_bullbar_cam_modY = 1001.642
add_float_var_to_float_var $front_bullbar_cam_modY += $misc_cam_look_at_modY
$front_bullbar_cam_modZ = 621.4796
add_float_var_to_float_var $front_bullbar_cam_modZ += $misc_cam_modZ
$front_bullbar_look_at_cam_modX = -3.4952
add_float_var_to_float_var $front_bullbar_look_at_cam_modX += $misc_cam_look_at_modX
$front_bullbar_look_at_cam_modY = 1000.33
add_float_var_to_float_var $front_bullbar_look_at_cam_modY += $misc_cam_look_at_modY
$front_bullbar_look_at_cam_modZ = 620.5905
add_float_var_to_float_var $front_bullbar_look_at_cam_modZ += $misc_cam_modZ
$rear_bullbar_cam_modX = -3.0499
add_float_var_to_float_var $rear_bullbar_cam_modX += $misc_cam_look_at_modX
$rear_bullbar_cam_modY = 1000.435
add_float_var_to_float_var $rear_bullbar_cam_modY += $misc_cam_look_at_modY
$rear_bullbar_cam_modZ = 622.5965
add_float_var_to_float_var $rear_bullbar_cam_modZ += $misc_cam_modZ
$rear_bullbar_look_at_cam_modX = -2.014
add_float_var_to_float_var $rear_bullbar_look_at_cam_modX += $misc_cam_look_at_modX
$rear_bullbar_look_at_cam_modY = 1003.019
add_float_var_to_float_var $rear_bullbar_look_at_cam_modY += $misc_cam_look_at_modY
$rear_bullbar_look_at_cam_modZ = 621.7657
add_float_var_to_float_var $rear_bullbar_look_at_cam_modZ += $misc_cam_modZ
$nitro_cam_modX = -2.0174
add_float_var_to_float_var $nitro_cam_modX += $misc_cam_look_at_modX
$nitro_cam_modY = 1002.462
add_float_var_to_float_var $nitro_cam_modY += $misc_cam_look_at_modY
$nitro_cam_modZ = 612.7667
add_float_var_to_float_var $nitro_cam_modZ += $misc_cam_modZ
$nitro_look_at_modX = 0.5696
add_float_var_to_float_var $nitro_look_at_modX += $misc_cam_look_at_modX
$nitro_look_at_modY = 1002.114
add_float_var_to_float_var $nitro_look_at_modY += $misc_cam_look_at_modY
$nitro_look_at_modZ = 613.6664
add_float_var_to_float_var $nitro_look_at_modZ += $misc_cam_modZ
$custom_paint_cam_modX = 0.1645
add_float_var_to_float_var $custom_paint_cam_modX += $misc_cam_look_at_modX
$custom_paint_cam_modY = 1001.951
add_float_var_to_float_var $custom_paint_cam_modY += $misc_cam_look_at_modY
$custom_paint_cam_modZ = 613.5844
add_float_var_to_float_var $custom_paint_cam_modZ += $misc_cam_modZ
$custom_paint_cam_look_at_modX = -0.7127
add_float_var_to_float_var $custom_paint_cam_look_at_modX += $misc_cam_look_at_modX
$custom_paint_cam_look_at_modY = 1002.031
add_float_var_to_float_var $custom_paint_cam_look_at_modY += $misc_cam_look_at_modY
$custom_paint_cam_look_at_modZ = 614.5616
add_float_var_to_float_var $custom_paint_cam_look_at_modZ += $misc_cam_modZ
$misc_cam_modX = -0.84
add_float_var_to_float_var $misc_cam_modX += $misc_cam_look_at_modX
$misc_cam_modY = 1001.862
add_float_var_to_float_var $misc_cam_modY += $misc_cam_look_at_modY

:CARMOD_9012
TIMERA = 0
Hud.DisplayRadar(False)
Stat.ShowUpdateStats(False)
Camera.SetFixedPosition($number_of_colours, $stored_paintjob_number, $paintjob_number, 0.0, 0.0, 0.0)
Camera.PointAtPoint($paintjob_number_menu, $cam_general_modX, $cam_general_modY, SwitchType.JumpCut)
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 2

:CARMOD_9080
if 
  $vomit_cam_point_junkfudX == 2
goto_if_false @CARMOD_9269
if 
  $vomit_cam_point_junkfudY == 0
goto_if_false @CARMOD_9169
World.SetCarDensityMultiplier(0.0)
$ITEM1 = Shopping.GetNumberOfItems()
$unk10416, $unk10417 = Car.GetColors($colour_menu_drawn_shops)
$sample_name_shops = Car.GetCurrentPaintjob($colour_menu_drawn_shops)
$car_name_mod_garage = Car.GetModel($colour_menu_drawn_shops)
Car.ResetHydraulics($colour_menu_drawn_shops)
Car.StoreModState
$vomit_cam_point_junkfudY = 1

:CARMOD_9169
if 
  $vomit_cam_point_junkfudY == 1
goto_if_false @CARMOD_9220
if 
  TIMERA > 2000
goto_if_false @CARMOD_9220
Camera.DoFade(1000, Fade.In)
$vomit_cam_point_junkfudY = 2

:CARMOD_9220
if 
  $vomit_cam_point_junkfudY == 2
goto_if_false @CARMOD_9269
if 
  not Camera.GetFadingStatus
goto_if_false @CARMOD_9269
Game.SetIsInStadium(True)
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 3

:CARMOD_9269
if 
  $vomit_cam_point_junkfudX == 3
goto_if_false @CARMOD_10202
if 
  $vomit_cam_point_junkfudY == 0
goto_if_false @CARMOD_9597
if 
  $sub_menu_drawn_shops == 0
goto_if_false @CARMOD_9337
gosub @CARMOD_15746
gosub @CARMOD_14271

:CARMOD_9337
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CARMOD_9572
$forth_menu_drawn_shops = 0
$upgrade_meun4_selected = 0
$10407 = Menu.GetItemSelected($sub_menu_shops)
if 
  0 > $10407
goto_if_false @CARMOD_9402
$10407 = 0

:CARMOD_9402
if 
  $10395($10407,12i) <> 101
goto_if_false @CARMOD_9490
if 
  $10395($10407,12i) <> 100
goto_if_false @CARMOD_9468
$flag_car_same_colour = Car.GetCurrentMod($colour_menu_drawn_shops, $10395($10407,12i))
goto @CARMOD_9476

:CARMOD_9468
$sample_name_shops = Car.GetCurrentPaintjob($colour_menu_drawn_shops)

:CARMOD_9476
gosub @CARMOD_17532
goto @CARMOD_9565

:CARMOD_9490
set_var_float_to_var_float $misc_cam_look_at_modZ = $number_of_colours
set_var_float_to_var_float $mod_garage_offsetX = $stored_paintjob_number
set_var_float_to_var_float $mod_garage_offsetY = $paintjob_number
set_var_float_to_var_float $mod_garage_offsetZ = $paintjob_number_menu
set_var_float_to_var_float $mod_swap_camX = $cam_general_modX
set_var_float_to_var_float $mod_swap_camY = $cam_general_modY
$2430($10409,12i) = 150
$upgrade_colour_selected = Car.GetModel($colour_menu_drawn_shops)
gosub @CARMOD_22520

:CARMOD_9565
$vomit_cam_point_junkfudY = 5

:CARMOD_9572
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @CARMOD_9597
$vomit_cam_point_junkfudY = 1

:CARMOD_9597
if 
  $vomit_cam_point_junkfudY == 1
goto_if_false @CARMOD_9687
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @CARMOD_9687
if 
  $sub_menu_drawn_shops == 1
goto_if_false @CARMOD_9665
Menu.Delete($sub_menu_shops)
Text.ClearHelp
$sub_menu_drawn_shops = 0

:CARMOD_9665
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.Out)
$vomit_cam_point_junkfudY = 2

:CARMOD_9687
if 
  $vomit_cam_point_junkfudY == 2
goto_if_false @CARMOD_9900
if 
  not Camera.GetFadingStatus
goto_if_false @CARMOD_9900
Streaming.SetAreaVisible(0)
Char.SetAreaVisible($stattreadstamina_ctr, 0)
Car.SetAreaVisible($colour_menu_drawn_shops, 0)
World.ClearExtraColors(False)
Car.RestoreModState
$flag_no_of_car_colours = 0
Streaming.RequestCollision($third_menu_shops, $third_menu_drawn_shops)
Streaming.LoadScene($third_menu_shops, $third_menu_drawn_shops, $colour_menu_shops)
Car.SetCoordinates($colour_menu_drawn_shops, $third_menu_shops, $third_menu_drawn_shops, $colour_menu_shops)
if 
  $10479 == 1
goto_if_false @CARMOD_9812
Car.SetHeading($colour_menu_drawn_shops, 0.0)
Camera.SetBehindPlayer

:CARMOD_9812
if 
  $10480 == 1
goto_if_false @CARMOD_9842
Car.SetHeading($colour_menu_drawn_shops, 180.0)
Camera.SetBehindPlayer

:CARMOD_9842
if 
  $can_car_be_modded_counter == 1
goto_if_false @CARMOD_9872
Car.SetHeading($colour_menu_drawn_shops, 90.0)
Camera.SetBehindPlayer

:CARMOD_9872
Game.ManageAllPopulation
Camera.RestoreJumpcut
Shopping.ClearLoaded
Camera.SetFadingColor(0, 0, 0)
Camera.DoFade(1000, Fade.In)
$vomit_cam_point_junkfudY = 3

:CARMOD_9900
if 
  $vomit_cam_point_junkfudY == 3
goto_if_false @CARMOD_9965
if 
  not Camera.GetFadingStatus
goto_if_false @CARMOD_9965
Player.SetControl($statbike_temp, True)
Game.SetMinigameInProgress(False)
Car.LockDoors($colour_menu_drawn_shops, $car_name_mod)
Hud.DisplayRadar(True)
Game.SetIsInStadium(False)
$vomit_cam_point_junkfudY = 4

:CARMOD_9965
if 
  $vomit_cam_point_junkfudY == 4
goto_if_false @CARMOD_10081
if 
  not Char.LocateInCar3D($stattreadstamina_ctr, $third_menu_shops, $third_menu_drawn_shops, $colour_menu_shops, 4.0, 4.0, 4.0, False)
goto_if_false @CARMOD_10081
World.SetCarDensityMultiplier(1.0)
$upgrade_meun2_selected = 0
$vomit_cam_point_junkfudX = 0
$vomit_cam_point_junkfudY = 0
$10479 = 0
$10480 = 0
$can_car_be_modded_counter = 0
gosub @CARMOD_13962

:CARMOD_10081
if 
  $vomit_cam_point_junkfudY == 5
goto_if_false @CARMOD_10202
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CARMOD_10202
if 
  $sub_menu_drawn_shops == 1
goto_if_false @CARMOD_10149
Menu.Delete($sub_menu_shops)
Text.ClearHelp
$sub_menu_drawn_shops = 0

:CARMOD_10149
Camera.SetFixedPosition($misc_cam_look_at_modZ, $mod_garage_offsetX, $mod_garage_offsetY, 0.0, 0.0, 0.0)
Camera.PointAtPoint($mod_garage_offsetZ, $mod_swap_camX, $mod_swap_camY, SwitchType.JumpCut)
$vomit_cam_point_junkfudX = 4
$vomit_cam_point_junkfudY = 0

:CARMOD_10202
if 
  $vomit_cam_point_junkfudX == 4
goto_if_false @CARMOD_10854
if 
  Car.IsDead($colour_menu_drawn_shops)
goto_if_false @CARMOD_10250
gosub @CARMOD_13962
goto @CARMOD_1406

:CARMOD_10250
if 
  $10395($10407,12i) == 101
goto_if_false @CARMOD_10304
if 
  $10433 == 0
goto_if_false @CARMOD_10297
gosub @CARMOD_21547

:CARMOD_10297
goto @CARMOD_10329

:CARMOD_10304
if 
  $2428 == 0
goto_if_false @CARMOD_10329
gosub @CARMOD_14730

:CARMOD_10329
if 
  $vomit_cam_point_junkfudY == 0
goto_if_false @CARMOD_10630
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @CARMOD_10393
$flag_on_neil_lowrider_mission = 0
$flag_bought_from_binco = 0
$mod_counter = 0
$vomit_cam_point_junkfudY = 1

:CARMOD_10393
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CARMOD_10630
if 
  $10395($10407,12i) == 101
goto_if_false @CARMOD_10512
$forth_menu_item2 = Menu.GetItemSelected($forth_menu_item1)
if 
  0 > $forth_menu_item2
goto_if_false @CARMOD_10466
$forth_menu_item2 = 0

:CARMOD_10466
if 
  $forth_menu_item2 == 0
goto_if_false @CARMOD_10498
$forth_menu_drawn_shops = 1
goto @CARMOD_10505

:CARMOD_10498
$upgrade_meun4_selected = 1

:CARMOD_10505
goto @CARMOD_10595

:CARMOD_10512
$10408 = Menu.GetItemSelected($2427)
if 
  0 > $10408
goto_if_false @CARMOD_10545
$10408 = 0

:CARMOD_10545
if and
  $10395($10407,12i) <> 100
  $10395($10407,12i) <> 101
goto_if_false @CARMOD_10595
set_var_int_to_var_int $upgrade_meun1_selected = $2442($10408,12i)
Streaming.RequestVehicleMod($upgrade_meun1_selected)

:CARMOD_10595
$flag_on_neil_lowrider_mission = 0
$flag_bought_from_binco = 0
$mod_counter = 0
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 5

:CARMOD_10630
if 
  $vomit_cam_point_junkfudY == 1
goto_if_false @CARMOD_10854
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @CARMOD_10854
if 
  $2428 == 1
goto_if_false @CARMOD_10698
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CARMOD_10698
if 
  $stored_car_colour2 == 1
goto_if_false @CARMOD_10730
Menu.Delete($stored_car_colour1)
Text.ClearHelp
$stored_car_colour2 = 0

:CARMOD_10730
if 
  $10433 == 1
goto_if_false @CARMOD_10762
Menu.Delete($forth_menu_item1)
Text.ClearHelp
$10433 = 0

:CARMOD_10762
if 
  $sub_menu_drawn_shops == 0
goto_if_false @CARMOD_10794
gosub @CARMOD_15746
gosub @CARMOD_14271

:CARMOD_10794
Camera.SetFixedPosition($number_of_colours, $stored_paintjob_number, $paintjob_number, 0.0, 0.0, 0.0)
Camera.PointAtPoint($paintjob_number_menu, $cam_general_modX, $cam_general_modY, SwitchType.JumpCut)
$upgrade_meun2_selected = 0
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 3

:CARMOD_10854
if 
  $vomit_cam_point_junkfudX == 5
goto_if_false @CARMOD_13941
if 
  Car.IsDead($colour_menu_drawn_shops)
goto_if_false @CARMOD_10902
gosub @CARMOD_13962
goto @CARMOD_1406

:CARMOD_10902
if 
  $vomit_cam_point_junkfudY == 0
goto_if_false @CARMOD_11083
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CARMOD_11083
if 
  $10395($10407,12i) == 101
goto_if_false @CARMOD_10974
$vomit_cam_point_junkfudY = 1
goto @CARMOD_11033

:CARMOD_10974
if 
  $10395($10407,12i) <> 100
goto_if_false @CARMOD_11026
if 
  Streaming.HasVehicleModLoaded($upgrade_meun1_selected)
goto_if_false @CARMOD_11019
$vomit_cam_point_junkfudY = 1

:CARMOD_11019
goto @CARMOD_11033

:CARMOD_11026
$vomit_cam_point_junkfudY = 1

:CARMOD_11033
if 
  $vomit_cam_point_junkfudY == 1
goto_if_false @CARMOD_11083
if 
  $2428 == 1
goto_if_false @CARMOD_11083
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CARMOD_11083
if 
  $vomit_cam_point_junkfudY == 1
goto_if_false @CARMOD_11277
if 
  $10395($10407,12i) == 101
goto_if_false @CARMOD_11187
if 
  $10433 == 1
goto_if_false @CARMOD_11155
Menu.Delete($forth_menu_item1)
Text.ClearHelp
$10433 = 0

:CARMOD_11155
if 
  $stored_car_colour2 == 0
goto_if_false @CARMOD_11180
gosub @CARMOD_15405

:CARMOD_11180
goto @CARMOD_11270

:CARMOD_11187
if 
  $10395($10407,12i) == 100
goto_if_false @CARMOD_11247
set_var_int_to_var_int $mod_flag = $10408
set_var_int_to_var_int $control_flag_mod = $10408
$control_flag_mod += 1
Car.GivePaintjob($colour_menu_drawn_shops, $mod_flag)
goto @CARMOD_11263

:CARMOD_11247
$flag_cant_mod = Car.AddMod($colour_menu_drawn_shops, $upgrade_meun1_selected)
Streaming.MarkVehicleModAsNoLongerNeeded($upgrade_meun1_selected)

:CARMOD_11263
gosub @CARMOD_23966

:CARMOD_11270
$vomit_cam_point_junkfudY = 2

:CARMOD_11277
if 
  $vomit_cam_point_junkfudY == 2
goto_if_false @CARMOD_11622
if 
  $10395($10407,12i) == 101
goto_if_false @CARMOD_11493
$forth_menu_shops = Menu.GetItemSelected($stored_car_colour1)
if 
  0 > $forth_menu_shops
goto_if_false @CARMOD_11350
$forth_menu_shops = 0

:CARMOD_11350
if 
  $forth_menu_drawn_shops == 1
goto_if_false @CARMOD_11448
if or
  $car_name_mod_garage == 542
  $car_name_mod_garage == 549
goto_if_false @CARMOD_11428
Menu.ChangeCarColor($stored_car_colour1, $colour_menu_drawn_shops, 1, $forth_menu_shops)
Menu.ChangeCarColor($stored_car_colour1, $colour_menu_drawn_shops, 2, $forth_menu_shops)
goto @CARMOD_11441

:CARMOD_11428
Menu.ChangeCarColor($stored_car_colour1, $colour_menu_drawn_shops, 1, $forth_menu_shops)

:CARMOD_11441
goto @CARMOD_11461

:CARMOD_11448
Menu.ChangeCarColor($stored_car_colour1, $colour_menu_drawn_shops, 2, $forth_menu_shops)

:CARMOD_11461
if 
  $stored_car_colour2 == 0
goto_if_false @CARMOD_11486
gosub @CARMOD_15405

:CARMOD_11486
goto @CARMOD_11518

:CARMOD_11493
if 
  $original_car_mod == 0
goto_if_false @CARMOD_11518
gosub @CARMOD_23966

:CARMOD_11518
if 
  Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @CARMOD_11543
$vomit_cam_point_junkfudY = 3

:CARMOD_11543
if 
  Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CARMOD_11622
Text.ClearThisPrint('CLTHNO2')
Text.ClearThisPrint('COLORNO')
Text.ClearThisPrint('SHOPNO')
$flag_bought_from_binco = 0
$mod_counter = 0
$flag_on_neil_lowrider_mission = 0
$vomit_cam_point_junkfudY = 4

:CARMOD_11622
if 
  $vomit_cam_point_junkfudY == 3
goto_if_false @CARMOD_12034
if 
  not Pad.IsButtonPressed(PadId.Pad1, $scplayer)
goto_if_false @CARMOD_12034
if 
  $10395($10407,12i) == 101
goto_if_false @CARMOD_11742
if 
  $sample_name_shops > -1
goto_if_false @CARMOD_11724
Car.ChangeColor($colour_menu_drawn_shops, $unk10416, $unk10417)
Car.GivePaintjob($colour_menu_drawn_shops, $sample_name_shops)
goto @CARMOD_11735

:CARMOD_11724
Car.ChangeColor($colour_menu_drawn_shops, $unk10416, $unk10417)

:CARMOD_11735
goto @CARMOD_11856

:CARMOD_11742
if 
  $10395($10407,12i) == 100
goto_if_false @CARMOD_11822
if 
  0 > $sample_name_shops
goto_if_false @CARMOD_11807
Car.GivePaintjob($colour_menu_drawn_shops, -1)
Car.ChangeColor($colour_menu_drawn_shops, $unk10416, $unk10417)
goto @CARMOD_11815

:CARMOD_11807
Car.GivePaintjob($colour_menu_drawn_shops, $sample_name_shops)

:CARMOD_11815
goto @CARMOD_11824

:CARMOD_11822
Car.RestoreModState

:CARMOD_11824
if 
  $original_car_mod == 1
goto_if_false @CARMOD_11856
Menu.Delete($just_replaced_car_mod)
Text.ClearHelp
$original_car_mod = 0

:CARMOD_11856
if 
  $stored_car_colour2 == 1
goto_if_false @CARMOD_11888
Menu.Delete($stored_car_colour1)
Text.ClearHelp
$stored_car_colour2 = 0

:CARMOD_11888
if 
  $10433 == 1
goto_if_false @CARMOD_11920
Menu.Delete($forth_menu_item1)
Text.ClearHelp
$10433 = 0

:CARMOD_11920
if 
  $10395($10407,12i) == 101
goto_if_false @CARMOD_11974
if 
  $10433 == 0
goto_if_false @CARMOD_11967
gosub @CARMOD_21547

:CARMOD_11967
goto @CARMOD_12006

:CARMOD_11974
if 
  $2428 == 0
goto_if_false @CARMOD_12006
gosub @CARMOD_17532
gosub @CARMOD_14730

:CARMOD_12006
$forth_menu_drawn_shops = 0
$upgrade_meun4_selected = 0
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 4

:CARMOD_12034
if 
  $vomit_cam_point_junkfudY == 4
goto_if_false @CARMOD_13941
if 
  not Pad.IsButtonPressed(PadId.Pad1, $player1)
goto_if_false @CARMOD_13941
$flag_1st_time_nitro_shop = Player.StoreScore($statbike_temp)
if 
  $10395($10407,12i) == 101
goto_if_false @CARMOD_12944
if 
  $flag_1st_time_nitro_shop >= 150
goto_if_false @CARMOD_12875
if 
  $forth_menu_drawn_shops == 1
goto_if_false @CARMOD_12506
if 
  not is_int_var_equal_to_int_var $unk10416 == $forth_menu_shops
goto_if_false @CARMOD_12437
Player.AddScore($statbike_temp, -150)
Stat.IncrementFloat(StatId.CarModBudget, 150.0)
Game.ClearWantedLevelInGarage
Car.SetDirtLevel($colour_menu_drawn_shops, 0.0)
$unk10416, $unk10417 = Car.GetColors($colour_menu_drawn_shops)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1134)
Car.Fix($colour_menu_drawn_shops)
Car.StoreModState
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 3
if 
  $2428 == 1
goto_if_false @CARMOD_12263
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CARMOD_12263
if 
  $stored_car_colour2 == 1
goto_if_false @CARMOD_12295
Menu.Delete($stored_car_colour1)
Text.ClearHelp
$stored_car_colour2 = 0

:CARMOD_12295
if 
  $original_car_mod == 1
goto_if_false @CARMOD_12327
Menu.Delete($just_replaced_car_mod)
Text.ClearHelp
$original_car_mod = 0

:CARMOD_12327
if 
  $10433 == 1
goto_if_false @CARMOD_12359
Menu.Delete($forth_menu_item1)
Text.ClearHelp
$10433 = 0

:CARMOD_12359
if 
  $sub_menu_drawn_shops == 0
goto_if_false @CARMOD_12391
gosub @CARMOD_15746
gosub @CARMOD_14271

:CARMOD_12391
Camera.SetFixedPosition($number_of_colours, $stored_paintjob_number, $paintjob_number, 0.0, 0.0, 0.0)
Camera.PointAtPoint($paintjob_number_menu, $cam_general_modX, $cam_general_modY, SwitchType.JumpCut)
goto @CARMOD_12499

:CARMOD_12437
if 
  $mod_counter == 0
goto_if_false @CARMOD_12499
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
Text.PrintNow('COLORNO', 3000, 1)
$vomit_cam_point_junkfudY = 2
$mod_counter = 1

:CARMOD_12499
goto @CARMOD_12868

:CARMOD_12506
if 
  not is_int_var_equal_to_int_var $unk10417 == $forth_menu_shops
goto_if_false @CARMOD_12806
Player.AddScore($statbike_temp, -150)
Stat.IncrementFloat(StatId.CarModBudget, 150.0)
Game.ClearWantedLevelInGarage
Car.SetDirtLevel($colour_menu_drawn_shops, 0.0)
$unk10416, $unk10417 = Car.GetColors($colour_menu_drawn_shops)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1134)
Car.Fix($colour_menu_drawn_shops)
Car.StoreModState
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 3
if 
  $2428 == 1
goto_if_false @CARMOD_12632
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CARMOD_12632
if 
  $stored_car_colour2 == 1
goto_if_false @CARMOD_12664
Menu.Delete($stored_car_colour1)
Text.ClearHelp
$stored_car_colour2 = 0

:CARMOD_12664
if 
  $original_car_mod == 1
goto_if_false @CARMOD_12696
Menu.Delete($just_replaced_car_mod)
Text.ClearHelp
$original_car_mod = 0

:CARMOD_12696
if 
  $10433 == 1
goto_if_false @CARMOD_12728
Menu.Delete($forth_menu_item1)
Text.ClearHelp
$10433 = 0

:CARMOD_12728
if 
  $sub_menu_drawn_shops == 0
goto_if_false @CARMOD_12760
gosub @CARMOD_15746
gosub @CARMOD_14271

:CARMOD_12760
Camera.SetFixedPosition($number_of_colours, $stored_paintjob_number, $paintjob_number, 0.0, 0.0, 0.0)
Camera.PointAtPoint($paintjob_number_menu, $cam_general_modX, $cam_general_modY, SwitchType.JumpCut)
goto @CARMOD_12868

:CARMOD_12806
if 
  $mod_counter == 0
goto_if_false @CARMOD_12868
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
Text.PrintNow('COLORNO', 3000, 1)
$vomit_cam_point_junkfudY = 2
$mod_counter = 1

:CARMOD_12868
goto @CARMOD_12937

:CARMOD_12875
if 
  $flag_on_neil_lowrider_mission == 0
goto_if_false @CARMOD_12937
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
Text.PrintNow('SHOPNO', 3000, 1)
$vomit_cam_point_junkfudY = 2
$flag_on_neil_lowrider_mission = 1

:CARMOD_12937
goto @CARMOD_13941

:CARMOD_12944
if 
  $10395($10407,12i) == 100
goto_if_false @CARMOD_13431
if 
  $flag_1st_time_nitro_shop >= 500
goto_if_false @CARMOD_13362
if 
  is_int_var_equal_to_int_var $mod_flag == $sample_name_shops
goto_if_false @CARMOD_13073
if 
  $flag_bought_from_binco == 0
goto_if_false @CARMOD_13066
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
Text.PrintNow('CLTHNO2', 3000, 1)
$vomit_cam_point_junkfudY = 2
$flag_bought_from_binco = 1

:CARMOD_13066
goto @CARMOD_13355

:CARMOD_13073
Player.AddScore($statbike_temp, -500)
Stat.IncrementFloat(StatId.CarModBudget, 500.0)
Game.ClearWantedLevelInGarage
Car.SetDirtLevel($colour_menu_drawn_shops, 0.0)
Car.Fix($colour_menu_drawn_shops)
Car.StoreModState
set_var_int_to_var_int $sample_name_shops = $mod_flag
$unk10416, $unk10417 = Car.GetColors($colour_menu_drawn_shops)
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1134)
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 3
if 
  $2428 == 1
goto_if_false @CARMOD_13188
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CARMOD_13188
if 
  $stored_car_colour2 == 1
goto_if_false @CARMOD_13220
Menu.Delete($stored_car_colour1)
Text.ClearHelp
$stored_car_colour2 = 0

:CARMOD_13220
if 
  $original_car_mod == 1
goto_if_false @CARMOD_13252
Menu.Delete($just_replaced_car_mod)
Text.ClearHelp
$original_car_mod = 0

:CARMOD_13252
if 
  $10433 == 1
goto_if_false @CARMOD_13284
Menu.Delete($forth_menu_item1)
Text.ClearHelp
$10433 = 0

:CARMOD_13284
if 
  $sub_menu_drawn_shops == 0
goto_if_false @CARMOD_13316
gosub @CARMOD_15746
gosub @CARMOD_14271

:CARMOD_13316
Camera.SetFixedPosition($number_of_colours, $stored_paintjob_number, $paintjob_number, 0.0, 0.0, 0.0)
Camera.PointAtPoint($paintjob_number_menu, $cam_general_modX, $cam_general_modY, SwitchType.JumpCut)

:CARMOD_13355
goto @CARMOD_13424

:CARMOD_13362
if 
  $flag_on_neil_lowrider_mission == 0
goto_if_false @CARMOD_13424
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
Text.PrintNow('SHOPNO', 3000, 1)
$vomit_cam_point_junkfudY = 2
$flag_on_neil_lowrider_mission = 1

:CARMOD_13424
goto @CARMOD_13941

:CARMOD_13431
if 
  is_int_var_greater_or_equal_to_int_var $flag_1st_time_nitro_shop >= $2430($10408,12i)
goto_if_false @CARMOD_13879
if 
  not is_int_var_equal_to_int_var $flag_car_same_colour == $upgrade_meun1_selected
goto_if_false @CARMOD_13810
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1133)
Shopping.BuyItem($upgrade_meun1_selected)
Car.SetDirtLevel($colour_menu_drawn_shops, 0.0)
Car.StoreModState
set_var_int_to_var_int $flag_car_same_colour = $upgrade_meun1_selected
if 
  $gen_car4 == 0
goto_if_false @CARMOD_13590
if or
  is_var_text_label_equal_to_text_label s$2454[0] == 'BMBSM'
  is_var_text_label_equal_to_text_label s$2454[0] == 'BMBTN'
  is_var_text_label_equal_to_text_label s$2454[0] == 'BMBLN'
goto_if_false @CARMOD_13590
$gen_car4 = 1

:CARMOD_13590
$vomit_cam_point_junkfudY = 0
$vomit_cam_point_junkfudX = 3
if 
  $2428 == 1
goto_if_false @CARMOD_13636
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CARMOD_13636
if 
  $stored_car_colour2 == 1
goto_if_false @CARMOD_13668
Menu.Delete($stored_car_colour1)
Text.ClearHelp
$stored_car_colour2 = 0

:CARMOD_13668
if 
  $original_car_mod == 1
goto_if_false @CARMOD_13700
Menu.Delete($just_replaced_car_mod)
Text.ClearHelp
$original_car_mod = 0

:CARMOD_13700
if 
  $10433 == 1
goto_if_false @CARMOD_13732
Menu.Delete($forth_menu_item1)
Text.ClearHelp
$10433 = 0

:CARMOD_13732
if 
  $sub_menu_drawn_shops == 0
goto_if_false @CARMOD_13764
gosub @CARMOD_15746
gosub @CARMOD_14271

:CARMOD_13764
Camera.SetFixedPosition($number_of_colours, $stored_paintjob_number, $paintjob_number, 0.0, 0.0, 0.0)
Camera.PointAtPoint($paintjob_number_menu, $cam_general_modX, $cam_general_modY, SwitchType.JumpCut)
goto @CARMOD_13872

:CARMOD_13810
if 
  $flag_bought_from_binco == 0
goto_if_false @CARMOD_13872
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
Text.PrintNow('CLTHNO2', 3000, 1)
$vomit_cam_point_junkfudY = 2
$flag_bought_from_binco = 1

:CARMOD_13872
goto @CARMOD_13941

:CARMOD_13879
if 
  $flag_on_neil_lowrider_mission == 0
goto_if_false @CARMOD_13941
Audio.ReportMissionAudioEventAtPosition($x, $y, $z, 1055)
Text.PrintNow('SHOPNO', 3000, 1)
$vomit_cam_point_junkfudY = 2
$flag_on_neil_lowrider_mission = 1

:CARMOD_13941
goto @CARMOD_13955

:CARMOD_13948
gosub @CARMOD_13962

:CARMOD_13955
goto @CARMOD_1406

:CARMOD_13962
if 
  $sub_menu_drawn_shops == 1
goto_if_false @CARMOD_13994
Menu.Delete($sub_menu_shops)
Text.ClearHelp
$sub_menu_drawn_shops = 0

:CARMOD_13994
if 
  $2428 == 1
goto_if_false @CARMOD_14026
Menu.Delete($2427)
Text.ClearHelp
$2428 = 0

:CARMOD_14026
if 
  $stored_car_colour2 == 1
goto_if_false @CARMOD_14058
Menu.Delete($stored_car_colour1)
Text.ClearHelp
$stored_car_colour2 = 0

:CARMOD_14058
if 
  $original_car_mod == 1
goto_if_false @CARMOD_14090
Menu.Delete($just_replaced_car_mod)
Text.ClearHelp
$original_car_mod = 0

:CARMOD_14090
if 
  $10433 == 1
goto_if_false @CARMOD_14122
Menu.Delete($forth_menu_item1)
Text.ClearHelp
$10433 = 0

:CARMOD_14122
if 
  $vomit_cam_point_junkfudX >= 1
goto_if_false @CARMOD_14142
Text.ClearHelp

:CARMOD_14142
$forth_menu_drawn_shops = 0
$upgrade_meun4_selected = 0
$upgrade_meun2_selected = 0
$flag_bought_from_binco = 0
$flag_on_neil_lowrider_mission = 0
$mod_counter = 0
$10479 = 0
$10480 = 0
$can_car_be_modded_counter = 0
$vomit_cam_point_junkfudX = 0
$vomit_cam_point_junkfudY = 0
Game.SetIsInStadium(False)
Stat.ShowUpdateStats(True)
Game.SetMinigameInProgress(False)
if 
  $gen_car4 == 1
goto_if_false @CARMOD_14267
Text.PrintHelp('NITROH1')
$gen_car4 = 2

:CARMOD_14267
terminate_this_script 
return 

:CARMOD_14271
if 
  $sub_menu_drawn_shops == 0
goto_if_false @CARMOD_14728
Text.PrintHelpForever('MODH1')
if 
is_xbox_version 
goto_if_false @CARMOD_14357
$sub_menu_shops = Menu.Create('UPGRADE', 29.0, 155.0, 186.0, 1, True, True, 1)
goto @CARMOD_14660

:CARMOD_14357
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @CARMOD_14419
$sub_menu_shops = Menu.Create('UPGRADE', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @CARMOD_14660

:CARMOD_14419
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @CARMOD_14481
$sub_menu_shops = Menu.Create('UPGRADE', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @CARMOD_14660

:CARMOD_14481
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @CARMOD_14543
$sub_menu_shops = Menu.Create('UPGRADE', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @CARMOD_14660

:CARMOD_14543
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @CARMOD_14605
$sub_menu_shops = Menu.Create('UPGRADE', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @CARMOD_14660

:CARMOD_14605
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @CARMOD_14660
$sub_menu_shops = Menu.Create('UPGRADE', 29.0, 145.0, 186.0, 1, True, True, 1)

:CARMOD_14660
Menu.SetColumnOrientation($sub_menu_shops, 0, 1)
Menu.SetColumn($sub_menu_shops, 0, 'DUMMY', s$2454[0], s$2454[1], s$2454[2], s$2454[3], s$2454[4], s$2454[5], s$2454[6], s$2454[7], s$2454[8], s$2454[9], s$2454[10], s$2454[11])
$sub_menu_drawn_shops = 1

:CARMOD_14728
return 

:CARMOD_14730
if 
  $2428 == 0
goto_if_false @CARMOD_15403
Text.PrintHelpForever('MODH3')
if 
is_xbox_version 
goto_if_false @CARMOD_14816
$2427 = Menu.Create('UPGRADE', 29.0, 155.0, 186.0, 1, True, True, 1)
goto @CARMOD_15119

:CARMOD_14816
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @CARMOD_14878
$2427 = Menu.Create('UPGRADE', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @CARMOD_15119

:CARMOD_14878
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @CARMOD_14940
$2427 = Menu.Create('UPGRADE', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @CARMOD_15119

:CARMOD_14940
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @CARMOD_15002
$2427 = Menu.Create('UPGRADE', 29.0, 165.0, 186.0, 1, True, True, 1)
goto @CARMOD_15119

:CARMOD_15002
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @CARMOD_15064
$2427 = Menu.Create('UPGRADE', 29.0, 145.0, 186.0, 1, True, True, 1)
goto @CARMOD_15119

:CARMOD_15064
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @CARMOD_15119
$2427 = Menu.Create('UPGRADE', 29.0, 145.0, 186.0, 1, True, True, 1)

:CARMOD_15119
Menu.SetColumnOrientation($2427, 0, 1)
Menu.SetColumn($2427, 0, 'DUMMY', s$2454[0], s$2454[1], s$2454[2], s$2454[3], s$2454[4], s$2454[5], s$2454[6], s$2454[7], s$2454[8], s$2454[9], s$2454[10], s$2454[11])
if 
  $10395($10407,12i) == 100
goto_if_false @CARMOD_15341
$2519 = 0

:CARMOD_15209
if 
  is_int_var_greater_than_int_var $car_colour2_change_mods > $2519
goto_if_false @CARMOD_15279
set_var_int_to_var_int $control_flag_mod = $2519
$control_flag_mod += 1
Menu.SetItemWithNumber($2427, 0, $2519, 'PJOB', $control_flag_mod)
$2519 += 1
goto @CARMOD_15209

:CARMOD_15279
$2519 = 0

:CARMOD_15286
if 
  is_int_var_greater_than_int_var $car_colour2_change_mods > $2519
goto_if_false @CARMOD_15334
Menu.ActivateItem($2427, $2519, $2502($2519,12i))
$2519 += 1
goto @CARMOD_15286

:CARMOD_15334
goto @CARMOD_15396

:CARMOD_15341
$2519 = 0

:CARMOD_15348
if 
  is_int_var_greater_than_int_var $10410 > $2519
goto_if_false @CARMOD_15396
Menu.ActivateItem($2427, $2519, $2502($2519,12i))
$2519 += 1
goto @CARMOD_15348

:CARMOD_15396
$2428 = 1

:CARMOD_15403
return 

:CARMOD_15405
if 
  $stored_car_colour2 == 0
goto_if_false @CARMOD_15744
Text.PrintHelpForever('MODH6')
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @CARMOD_15496
$stored_car_colour1 = MenuGrid.Create('CARM1', 29.0, 145.0, 25.7, 8, True, True, 1)
goto @CARMOD_15737

:CARMOD_15496
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @CARMOD_15558
$stored_car_colour1 = MenuGrid.Create('CARM1', 29.0, 145.0, 25.7, 8, True, True, 1)
goto @CARMOD_15737

:CARMOD_15558
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @CARMOD_15620
$stored_car_colour1 = MenuGrid.Create('CARM1', 29.0, 155.0, 25.7, 8, True, True, 1)
goto @CARMOD_15737

:CARMOD_15620
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @CARMOD_15682
$stored_car_colour1 = MenuGrid.Create('CARM1', 29.0, 145.0, 25.7, 8, True, True, 1)
goto @CARMOD_15737

:CARMOD_15682
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @CARMOD_15737
$stored_car_colour1 = MenuGrid.Create('CARM1', 29.0, 145.0, 25.7, 8, True, True, 1)

:CARMOD_15737
$stored_car_colour2 = 1

:CARMOD_15744
return 

:CARMOD_15746
$mod_swap_camZ = 0
$mod_swap_look_at_camZ = 0
$no_of_mods_for_vehicle = 0
$new_mod_index_wil = 0
$upgradetype_mod = 0
$wing_mod_counter = 0
$roof_mod_counter = 0
$exhaust_mod_counter = 0
$spolier_mod_counter = 0
$bonnet_mod_counter = 0
$bonnetLR_mod_counter = 0
$wheel_mod_counter = 0
$front_bumper_mod_counter = 0
$rear_bumper_mod_counter = 0
$nitro_mod_counter = 0
$car_colour2_change_mods = 0
$vomit_cam_point_junnkfudZ = 0
$rear_bullbar_mod_counter = 0
$front_bullbar_mod_counter = 0
$car_colour1_change_mods = 0
$car_colour2_change_mods = Car.GetNumAvailablePaintjobs($colour_menu_drawn_shops)
if 
  $car_colour2_change_mods <> 0
goto_if_false @CARMOD_15948
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM11'
$10395($mod_swap_camZ,12i) = 100
$mod_swap_camZ += 1

:CARMOD_15948
$vomit_cam_point_junnkfudZ = Car.GetNumColors($colour_menu_drawn_shops)
if 
  $vomit_cam_point_junnkfudZ <> 0
goto_if_false @CARMOD_16010
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM1'
$10395($mod_swap_camZ,12i) = 101
$mod_swap_camZ += 1

:CARMOD_16010
if 
  is_int_var_greater_than_int_var $ITEM1 > $car_colour1_change_mods
goto_if_false @CARMOD_17515
$mod_swap_look_at_camX = Shopping.GetItem($car_colour1_change_mods)
$mod_swap_look_at_camY = Streaming.GetVehicleModType($mod_swap_look_at_camX)
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 12
goto_if_false @CARMOD_16136
if 
  $nitro_mod_counter == 0
goto_if_false @CARMOD_16117
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM12'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 12
$mod_swap_camZ += 1

:CARMOD_16117
set_var_int_to_var_int $10359($nitro_mod_counter,12i) = $mod_swap_look_at_camX
$nitro_mod_counter += 1

:CARMOD_16136
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 3
goto_if_false @CARMOD_16227
if 
  $mod_swap_look_at_camZ == 0
goto_if_false @CARMOD_16208
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM4'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 3
$mod_swap_camZ += 1

:CARMOD_16208
set_var_int_to_var_int $misc_mod_counter($mod_swap_look_at_camZ,12i) = $mod_swap_look_at_camX
$mod_swap_look_at_camZ += 1

:CARMOD_16227
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 7
goto_if_false @CARMOD_16318
if 
  $no_of_mods_for_vehicle == 0
goto_if_false @CARMOD_16299
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM10'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 7
$mod_swap_camZ += 1

:CARMOD_16299
set_var_int_to_var_int $10215($no_of_mods_for_vehicle,12i) = $mod_swap_look_at_camX
$no_of_mods_for_vehicle += 1

:CARMOD_16318
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 13
goto_if_false @CARMOD_16409
if 
  $new_mod_index_wil == 0
goto_if_false @CARMOD_16390
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM5'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 13
$mod_swap_camZ += 1

:CARMOD_16390
set_var_int_to_var_int $10227($new_mod_index_wil,12i) = $mod_swap_look_at_camX
$new_mod_index_wil += 1

:CARMOD_16409
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 8
goto_if_false @CARMOD_16500
if 
  $upgradetype_mod == 0
goto_if_false @CARMOD_16481
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM6'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 8
$mod_swap_camZ += 1

:CARMOD_16481
set_var_int_to_var_int $10239($upgradetype_mod,12i) = $mod_swap_look_at_camX
$upgradetype_mod += 1

:CARMOD_16500
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 2
goto_if_false @CARMOD_16591
if 
  $wing_mod_counter == 0
goto_if_false @CARMOD_16572
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM2'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 2
$mod_swap_camZ += 1

:CARMOD_16572
set_var_int_to_var_int $10251($wing_mod_counter,12i) = $mod_swap_look_at_camX
$wing_mod_counter += 1

:CARMOD_16591
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 0
goto_if_false @CARMOD_16682
if 
  $roof_mod_counter == 0
goto_if_false @CARMOD_16663
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM3'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 0
$mod_swap_camZ += 1

:CARMOD_16663
set_var_int_to_var_int $10263($roof_mod_counter,12i) = $mod_swap_look_at_camX
$roof_mod_counter += 1

:CARMOD_16682
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 1
goto_if_false @CARMOD_16773
if 
  $exhaust_mod_counter == 0
goto_if_false @CARMOD_16754
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM17'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 1
$mod_swap_camZ += 1

:CARMOD_16754
set_var_int_to_var_int $10275($exhaust_mod_counter,12i) = $mod_swap_look_at_camX
$exhaust_mod_counter += 1

:CARMOD_16773
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 14
goto_if_false @CARMOD_16864
if 
  $spolier_mod_counter == 0
goto_if_false @CARMOD_16845
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM7'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 14
$mod_swap_camZ += 1

:CARMOD_16845
set_var_int_to_var_int $10287($spolier_mod_counter,12i) = $mod_swap_look_at_camX
$spolier_mod_counter += 1

:CARMOD_16864
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 15
goto_if_false @CARMOD_16955
if 
  $bonnet_mod_counter == 0
goto_if_false @CARMOD_16936
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM8'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 15
$mod_swap_camZ += 1

:CARMOD_16936
set_var_int_to_var_int $10299($bonnet_mod_counter,12i) = $mod_swap_look_at_camX
$bonnet_mod_counter += 1

:CARMOD_16955
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 6
goto_if_false @CARMOD_17046
if 
  $bonnetLR_mod_counter == 0
goto_if_false @CARMOD_17027
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM9'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 6
$mod_swap_camZ += 1

:CARMOD_17027
set_var_int_to_var_int $10311($bonnetLR_mod_counter,12i) = $mod_swap_look_at_camX
$bonnetLR_mod_counter += 1

:CARMOD_17046
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 4
goto_if_false @CARMOD_17137
if 
  $wheel_mod_counter == 0
goto_if_false @CARMOD_17118
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM13'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 4
$mod_swap_camZ += 1

:CARMOD_17118
set_var_int_to_var_int $10323($wheel_mod_counter,12i) = $mod_swap_look_at_camX
$wheel_mod_counter += 1

:CARMOD_17137
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 5
goto_if_false @CARMOD_17228
if 
  $front_bumper_mod_counter == 0
goto_if_false @CARMOD_17209
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM14'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 5
$mod_swap_camZ += 1

:CARMOD_17209
set_var_int_to_var_int $10335($front_bumper_mod_counter,12i) = $mod_swap_look_at_camX
$front_bumper_mod_counter += 1

:CARMOD_17228
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 16
goto_if_false @CARMOD_17319
if 
  $rear_bumper_mod_counter == 0
goto_if_false @CARMOD_17300
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM15'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 16
$mod_swap_camZ += 1

:CARMOD_17300
set_var_int_to_var_int $10347($rear_bumper_mod_counter,12i) = $mod_swap_look_at_camX
$rear_bumper_mod_counter += 1

:CARMOD_17319
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 9
goto_if_false @CARMOD_17410
if 
  $rear_bullbar_mod_counter == 0
goto_if_false @CARMOD_17391
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM18'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 9
$mod_swap_camZ += 1

:CARMOD_17391
set_var_int_to_var_int $10383($rear_bullbar_mod_counter,12i) = $mod_swap_look_at_camX
$rear_bullbar_mod_counter += 1

:CARMOD_17410
if 
  is_int_var_equal_to_constant $mod_swap_look_at_camY == 10
goto_if_false @CARMOD_17501
if 
  $front_bullbar_mod_counter == 0
goto_if_false @CARMOD_17482
set_var_text_label $2454($mod_swap_camZ,12s) = 'CARM16'
set_var_int_to_constant $10395($mod_swap_camZ,12i) = 10
$mod_swap_camZ += 1

:CARMOD_17482
set_var_int_to_var_int $10371($front_bullbar_mod_counter,12i) = $mod_swap_look_at_camX
$front_bullbar_mod_counter += 1

:CARMOD_17501
$car_colour1_change_mods += 1
goto @CARMOD_16010

:CARMOD_17515
set_var_int_to_var_int $2519 = $mod_swap_camZ
gosub @CARMOD_21473
return 

:CARMOD_17532
if 
  $10395($10407,12i) == 100
goto_if_false @CARMOD_17743
$10409 = 0
set_var_int_to_var_int $10410 = $car_colour2_change_mods

:CARMOD_17569
if 
  is_int_var_greater_than_int_var $car_colour2_change_mods > $10409
goto_if_false @CARMOD_17680
set_var_text_label $2454($10409,12s) = 'PAINTJB'
$2430($10409,12i) = 500
if 
  is_int_var_equal_to_int_var $sample_name_shops == $10409
goto_if_false @CARMOD_17655
$2502($10409,12i) = 0
goto @CARMOD_17666

:CARMOD_17655
$2502($10409,12i) = 1

:CARMOD_17666
$10409 += 1
goto @CARMOD_17569

:CARMOD_17680
set_var_int_to_var_int $2519 = $car_colour2_change_mods
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $nitro_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $nitro_look_at_modX
set_var_float_to_var_float $mod_garage_offsetY = $nitro_look_at_modY
set_var_float_to_var_float $mod_garage_offsetZ = $nitro_look_at_modZ
set_var_float_to_var_float $mod_swap_camX = $custom_paint_cam_modX
set_var_float_to_var_float $mod_swap_camY = $custom_paint_cam_modY

:CARMOD_17743
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 12
goto_if_false @CARMOD_17976
$10409 = 0
set_var_int_to_var_int $10410 = $nitro_mod_counter

:CARMOD_17780
if 
  is_int_var_greater_than_int_var $nitro_mod_counter > $10409
goto_if_false @CARMOD_17913
$2454($10409,12s) = Shopping.GetNameOfItem($10359($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10359($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10359($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10359($10409,12i)
goto_if_false @CARMOD_17888
$2502($10409,12i) = 0
goto @CARMOD_17899

:CARMOD_17888
$2502($10409,12i) = 1

:CARMOD_17899
$10409 += 1
goto @CARMOD_17780

:CARMOD_17913
set_var_int_to_var_int $2519 = $nitro_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $cam_general_modZ
set_var_float_to_var_float $mod_garage_offsetX = $cam_general_look_at_modX
set_var_float_to_var_float $mod_garage_offsetY = $cam_general_look_at_modY
set_var_float_to_var_float $mod_garage_offsetZ = $cam_general_look_at_modZ
set_var_float_to_var_float $mod_swap_camX = $wheel_cam_modX
set_var_float_to_var_float $mod_swap_camY = $wheel_cam_modY

:CARMOD_17976
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 3
goto_if_false @CARMOD_18209
$10409 = 0
set_var_int_to_var_int $10410 = $mod_swap_look_at_camZ

:CARMOD_18013
if 
  is_int_var_greater_than_int_var $mod_swap_look_at_camZ > $10409
goto_if_false @CARMOD_18146
$2454($10409,12s) = Shopping.GetNameOfItem($misc_mod_counter($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($misc_mod_counter($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $misc_mod_counter($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $misc_mod_counter($10409,12i)
goto_if_false @CARMOD_18121
$2502($10409,12i) = 0
goto @CARMOD_18132

:CARMOD_18121
$2502($10409,12i) = 1

:CARMOD_18132
$10409 += 1
goto @CARMOD_18013

:CARMOD_18146
set_var_int_to_var_int $2519 = $mod_swap_look_at_camZ
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $spoiler_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $spoiler_cam_look_at_modX
set_var_float_to_var_float $mod_garage_offsetY = $spoiler_cam_look_at_modY
set_var_float_to_var_float $mod_garage_offsetZ = $spoiler_cam_look_at_modZ
set_var_float_to_var_float $mod_swap_camX = $wing_cam_modX
set_var_float_to_var_float $mod_swap_camY = $wing_cam_modY

:CARMOD_18209
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 7
goto_if_false @CARMOD_18442
$10409 = 0
set_var_int_to_var_int $10410 = $no_of_mods_for_vehicle

:CARMOD_18246
if 
  is_int_var_greater_than_int_var $no_of_mods_for_vehicle > $10409
goto_if_false @CARMOD_18379
$2454($10409,12s) = Shopping.GetNameOfItem($10215($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10215($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10215($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10215($10409,12i)
goto_if_false @CARMOD_18354
$2502($10409,12i) = 0
goto @CARMOD_18365

:CARMOD_18354
$2502($10409,12i) = 1

:CARMOD_18365
$10409 += 1
goto @CARMOD_18246

:CARMOD_18379
set_var_int_to_var_int $2519 = $no_of_mods_for_vehicle
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $wing_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $wing_cam_look_at_modX
set_var_float_to_var_float $mod_garage_offsetY = $wing_cam_look_at_modY
set_var_float_to_var_float $mod_garage_offsetZ = $wing_cam_look_at_modZ
set_var_float_to_var_float $mod_swap_camX = $roof_cam_modX
set_var_float_to_var_float $mod_swap_camY = $roof_cam_modY

:CARMOD_18442
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 13
goto_if_false @CARMOD_18675
$10409 = 0
set_var_int_to_var_int $10410 = $new_mod_index_wil

:CARMOD_18479
if 
  is_int_var_greater_than_int_var $new_mod_index_wil > $10409
goto_if_false @CARMOD_18612
$2454($10409,12s) = Shopping.GetNameOfItem($10227($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10227($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10227($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10227($10409,12i)
goto_if_false @CARMOD_18587
$2502($10409,12i) = 0
goto @CARMOD_18598

:CARMOD_18587
$2502($10409,12i) = 1

:CARMOD_18598
$10409 += 1
goto @CARMOD_18479

:CARMOD_18612
set_var_int_to_var_int $2519 = $new_mod_index_wil
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $bonnet_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $bonnet_cam_look_at_modX
set_var_float_to_var_float $mod_garage_offsetY = $bonnet_cam_look_at_modY
set_var_float_to_var_float $mod_garage_offsetZ = $bonnet_cam_look_at_modZ
set_var_float_to_var_float $mod_swap_camX = $exhaust_cam_modX
set_var_float_to_var_float $mod_swap_camY = $exhaust_cam_modY

:CARMOD_18675
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 8
goto_if_false @CARMOD_18908
$10409 = 0
set_var_int_to_var_int $10410 = $upgradetype_mod

:CARMOD_18712
if 
  is_int_var_greater_than_int_var $upgradetype_mod > $10409
goto_if_false @CARMOD_18845
$2454($10409,12s) = Shopping.GetNameOfItem($10239($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10239($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10239($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10239($10409,12i)
goto_if_false @CARMOD_18820
$2502($10409,12i) = 0
goto @CARMOD_18831

:CARMOD_18820
$2502($10409,12i) = 1

:CARMOD_18831
$10409 += 1
goto @CARMOD_18712

:CARMOD_18845
set_var_int_to_var_int $2519 = $upgradetype_mod
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $rear_bullbar_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $rear_bullbar_look_at_cam_modX
set_var_float_to_var_float $mod_garage_offsetY = $rear_bullbar_look_at_cam_modY
set_var_float_to_var_float $mod_garage_offsetZ = $rear_bullbar_look_at_cam_modZ
set_var_float_to_var_float $mod_swap_camX = $nitro_cam_modX
set_var_float_to_var_float $mod_swap_camY = $nitro_cam_modY

:CARMOD_18908
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 2
goto_if_false @CARMOD_19141
$10409 = 0
set_var_int_to_var_int $10410 = $wing_mod_counter

:CARMOD_18945
if 
  is_int_var_greater_than_int_var $wing_mod_counter > $10409
goto_if_false @CARMOD_19078
$2454($10409,12s) = Shopping.GetNameOfItem($10251($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10251($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10251($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10251($10409,12i)
goto_if_false @CARMOD_19053
$2502($10409,12i) = 0
goto @CARMOD_19064

:CARMOD_19053
$2502($10409,12i) = 1

:CARMOD_19064
$10409 += 1
goto @CARMOD_18945

:CARMOD_19078
set_var_int_to_var_int $2519 = $wing_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $wheel_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $wheel_cam_look_at_modX
set_var_float_to_var_float $mod_garage_offsetY = $wheel_cam_look_at_modY
set_var_float_to_var_float $mod_garage_offsetZ = $wheel_cam_look_at_modZ
set_var_float_to_var_float $mod_swap_camX = $spoiler_cam_modX
set_var_float_to_var_float $mod_swap_camY = $spoiler_cam_modY

:CARMOD_19141
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 0
goto_if_false @CARMOD_19374
$10409 = 0
set_var_int_to_var_int $10410 = $roof_mod_counter

:CARMOD_19178
if 
  is_int_var_greater_than_int_var $roof_mod_counter > $10409
goto_if_false @CARMOD_19311
$2454($10409,12s) = Shopping.GetNameOfItem($10263($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10263($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10263($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10263($10409,12i)
goto_if_false @CARMOD_19286
$2502($10409,12i) = 0
goto @CARMOD_19297

:CARMOD_19286
$2502($10409,12i) = 1

:CARMOD_19297
$10409 += 1
goto @CARMOD_19178

:CARMOD_19311
set_var_int_to_var_int $2519 = $roof_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $roof_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $roof_cam_look_at_modX
set_var_float_to_var_float $mod_garage_offsetY = $roof_cam_look_at_modY
set_var_float_to_var_float $mod_garage_offsetZ = $roof_cam_look_at_modZ
set_var_float_to_var_float $mod_swap_camX = $bonnet_cam_modX
set_var_float_to_var_float $mod_swap_camY = $bonnet_cam_modY

:CARMOD_19374
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 1
goto_if_false @CARMOD_19607
$10409 = 0
set_var_int_to_var_int $10410 = $exhaust_mod_counter

:CARMOD_19411
if 
  is_int_var_greater_than_int_var $exhaust_mod_counter > $10409
goto_if_false @CARMOD_19544
$2454($10409,12s) = Shopping.GetNameOfItem($10275($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10275($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10275($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10275($10409,12i)
goto_if_false @CARMOD_19519
$2502($10409,12i) = 0
goto @CARMOD_19530

:CARMOD_19519
$2502($10409,12i) = 1

:CARMOD_19530
$10409 += 1
goto @CARMOD_19411

:CARMOD_19544
set_var_int_to_var_int $2519 = $exhaust_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $roof_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $roof_cam_look_at_modX
set_var_float_to_var_float $mod_garage_offsetY = $roof_cam_look_at_modY
set_var_float_to_var_float $mod_garage_offsetZ = $roof_cam_look_at_modZ
set_var_float_to_var_float $mod_swap_camX = $bonnet_cam_modX
set_var_float_to_var_float $mod_swap_camY = $bonnet_cam_modY

:CARMOD_19607
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 14
goto_if_false @CARMOD_19840
$10409 = 0
set_var_int_to_var_int $10410 = $spolier_mod_counter

:CARMOD_19644
if 
  is_int_var_greater_than_int_var $spolier_mod_counter > $10409
goto_if_false @CARMOD_19777
$2454($10409,12s) = Shopping.GetNameOfItem($10287($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10287($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10287($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10287($10409,12i)
goto_if_false @CARMOD_19752
$2502($10409,12i) = 0
goto @CARMOD_19763

:CARMOD_19752
$2502($10409,12i) = 1

:CARMOD_19763
$10409 += 1
goto @CARMOD_19644

:CARMOD_19777
set_var_int_to_var_int $2519 = $spolier_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $exhaust_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $exhaust_look_at_cam_modX
set_var_float_to_var_float $mod_garage_offsetY = $exhaust_look_at_cam_modY
set_var_float_to_var_float $mod_garage_offsetZ = $exhaust_look_at_cam_modZ
set_var_float_to_var_float $mod_swap_camX = $front_fender_cam_modX
set_var_float_to_var_float $mod_swap_camY = $front_fender_cam_modY

:CARMOD_19840
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 15
goto_if_false @CARMOD_20073
$10409 = 0
set_var_int_to_var_int $10410 = $bonnet_mod_counter

:CARMOD_19877
if 
  is_int_var_greater_than_int_var $bonnet_mod_counter > $10409
goto_if_false @CARMOD_20010
$2454($10409,12s) = Shopping.GetNameOfItem($10299($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10299($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10299($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10299($10409,12i)
goto_if_false @CARMOD_19985
$2502($10409,12i) = 0
goto @CARMOD_19996

:CARMOD_19985
$2502($10409,12i) = 1

:CARMOD_19996
$10409 += 1
goto @CARMOD_19877

:CARMOD_20010
set_var_int_to_var_int $2519 = $bonnet_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $front_fender_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $front_fender_look_at_cam_modX
set_var_float_to_var_float $mod_garage_offsetY = $front_fender_look_at_cam_modY
set_var_float_to_var_float $mod_garage_offsetZ = $front_fender_look_at_cam_modZ
set_var_float_to_var_float $mod_swap_camX = $rear_fender_cam_modX
set_var_float_to_var_float $mod_swap_camY = $rear_fender_cam_modY

:CARMOD_20073
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 6
goto_if_false @CARMOD_20306
$10409 = 0
set_var_int_to_var_int $10410 = $bonnetLR_mod_counter

:CARMOD_20110
if 
  is_int_var_greater_than_int_var $bonnetLR_mod_counter > $10409
goto_if_false @CARMOD_20243
$2454($10409,12s) = Shopping.GetNameOfItem($10311($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10311($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10311($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10311($10409,12i)
goto_if_false @CARMOD_20218
$2502($10409,12i) = 0
goto @CARMOD_20229

:CARMOD_20218
$2502($10409,12i) = 1

:CARMOD_20229
$10409 += 1
goto @CARMOD_20110

:CARMOD_20243
set_var_int_to_var_int $2519 = $bonnetLR_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $rear_fender_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $rear_fender_look_at_cam_modX
set_var_float_to_var_float $mod_garage_offsetY = $rear_fender_look_at_cam_modY
set_var_float_to_var_float $mod_garage_offsetZ = $rear_fender_look_at_cam_modZ
set_var_float_to_var_float $mod_swap_camX = $lights_cam_modX
set_var_float_to_var_float $mod_swap_camY = $lights_cam_modY

:CARMOD_20306
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 4
goto_if_false @CARMOD_20539
$10409 = 0
set_var_int_to_var_int $10410 = $wheel_mod_counter

:CARMOD_20343
if 
  is_int_var_greater_than_int_var $wheel_mod_counter > $10409
goto_if_false @CARMOD_20476
$2454($10409,12s) = Shopping.GetNameOfItem($10323($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10323($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10323($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10323($10409,12i)
goto_if_false @CARMOD_20451
$2502($10409,12i) = 0
goto @CARMOD_20462

:CARMOD_20451
$2502($10409,12i) = 1

:CARMOD_20462
$10409 += 1
goto @CARMOD_20343

:CARMOD_20476
set_var_int_to_var_int $2519 = $wheel_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $lights_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $lights_look_at_cam_modX
set_var_float_to_var_float $mod_garage_offsetY = $lights_look_at_cam_modY
set_var_float_to_var_float $mod_garage_offsetZ = $lights_look_at_cam_modZ
set_var_float_to_var_float $mod_swap_camX = $front_bullbar_cam_modX
set_var_float_to_var_float $mod_swap_camY = $front_bullbar_cam_modY

:CARMOD_20539
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 5
goto_if_false @CARMOD_20772
$10409 = 0
set_var_int_to_var_int $10410 = $front_bumper_mod_counter

:CARMOD_20576
if 
  is_int_var_greater_than_int_var $front_bumper_mod_counter > $10409
goto_if_false @CARMOD_20709
$2454($10409,12s) = Shopping.GetNameOfItem($10335($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10335($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10335($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10335($10409,12i)
goto_if_false @CARMOD_20684
$2502($10409,12i) = 0
goto @CARMOD_20695

:CARMOD_20684
$2502($10409,12i) = 1

:CARMOD_20695
$10409 += 1
goto @CARMOD_20576

:CARMOD_20709
set_var_int_to_var_int $2519 = $front_bumper_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $front_bullbar_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $front_bullbar_look_at_cam_modX
set_var_float_to_var_float $mod_garage_offsetY = $front_bullbar_look_at_cam_modY
set_var_float_to_var_float $mod_garage_offsetZ = $front_bullbar_look_at_cam_modZ
set_var_float_to_var_float $mod_swap_camX = $rear_bullbar_cam_modX
set_var_float_to_var_float $mod_swap_camY = $rear_bullbar_cam_modY

:CARMOD_20772
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 16
goto_if_false @CARMOD_21005
$10409 = 0
set_var_int_to_var_int $10410 = $rear_bumper_mod_counter

:CARMOD_20809
if 
  is_int_var_greater_than_int_var $rear_bumper_mod_counter > $10409
goto_if_false @CARMOD_20942
$2454($10409,12s) = Shopping.GetNameOfItem($10347($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10347($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10347($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10347($10409,12i)
goto_if_false @CARMOD_20917
$2502($10409,12i) = 0
goto @CARMOD_20928

:CARMOD_20917
$2502($10409,12i) = 1

:CARMOD_20928
$10409 += 1
goto @CARMOD_20809

:CARMOD_20942
set_var_int_to_var_int $2519 = $rear_bumper_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $custom_paint_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $custom_paint_cam_look_at_modX
set_var_float_to_var_float $mod_garage_offsetY = $custom_paint_cam_look_at_modY
set_var_float_to_var_float $mod_garage_offsetZ = $custom_paint_cam_look_at_modZ
set_var_float_to_var_float $mod_swap_camX = $misc_cam_modX
set_var_float_to_var_float $mod_swap_camY = $misc_cam_modY

:CARMOD_21005
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 9
goto_if_false @CARMOD_21238
$10409 = 0
set_var_int_to_var_int $10410 = $rear_bullbar_mod_counter

:CARMOD_21042
if 
  is_int_var_greater_than_int_var $rear_bullbar_mod_counter > $10409
goto_if_false @CARMOD_21175
$2454($10409,12s) = Shopping.GetNameOfItem($10383($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10383($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10383($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10383($10409,12i)
goto_if_false @CARMOD_21150
$2502($10409,12i) = 0
goto @CARMOD_21161

:CARMOD_21150
$2502($10409,12i) = 1

:CARMOD_21161
$10409 += 1
goto @CARMOD_21042

:CARMOD_21175
set_var_int_to_var_int $2519 = $rear_bullbar_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $nitro_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $nitro_look_at_modX
set_var_float_to_var_float $mod_garage_offsetY = $nitro_look_at_modY
set_var_float_to_var_float $mod_garage_offsetZ = $nitro_look_at_modZ
set_var_float_to_var_float $mod_swap_camX = $custom_paint_cam_modX
set_var_float_to_var_float $mod_swap_camY = $custom_paint_cam_modY

:CARMOD_21238
if 
  is_int_var_equal_to_constant $10395($10407,12i) == 10
goto_if_false @CARMOD_21471
$10409 = 0
set_var_int_to_var_int $10410 = $front_bullbar_mod_counter

:CARMOD_21275
if 
  is_int_var_greater_than_int_var $front_bullbar_mod_counter > $10409
goto_if_false @CARMOD_21408
$2454($10409,12s) = Shopping.GetNameOfItem($10371($10409,12i))
$2430($10409,12i) = Shopping.GetPriceOfItem($10371($10409,12i))
set_var_int_to_var_int $2442($10409,12i) = $10371($10409,12i)
if 
  is_int_var_equal_to_int_var $flag_car_same_colour == $10371($10409,12i)
goto_if_false @CARMOD_21383
$2502($10409,12i) = 0
goto @CARMOD_21394

:CARMOD_21383
$2502($10409,12i) = 1

:CARMOD_21394
$10409 += 1
goto @CARMOD_21275

:CARMOD_21408
set_var_int_to_var_int $2519 = $front_bullbar_mod_counter
gosub @CARMOD_21473
set_var_float_to_var_float $misc_cam_look_at_modZ = $nitro_cam_modZ
set_var_float_to_var_float $mod_garage_offsetX = $nitro_look_at_modX
set_var_float_to_var_float $mod_garage_offsetY = $nitro_look_at_modY
set_var_float_to_var_float $mod_garage_offsetZ = $nitro_look_at_modZ
set_var_float_to_var_float $mod_swap_camX = $custom_paint_cam_modX
set_var_float_to_var_float $mod_swap_camY = $custom_paint_cam_modY

:CARMOD_21471
return 

:CARMOD_21473
if 
  12 > $2519
goto_if_false @CARMOD_21545
$2442($2519,12i) = -1
$2430($2519,12i) = 0
set_var_text_label $2454($2519,12s) = 'DUMMY'
$2519 += 1
goto @CARMOD_21473

:CARMOD_21545
return 

:CARMOD_21547
if 
  $10433 == 0
goto_if_false @CARMOD_22518
if 
  $selected_car_colour_mods == 1
goto_if_false @CARMOD_21618
set_var_text_label s$car_locate_modX = 'CARCOL1'
set_var_text_label s$car_locate_modZ = 'DUMMY'
goto @CARMOD_21646

:CARMOD_21618
set_var_text_label s$car_locate_modX = 'CARCOL1'
set_var_text_label s$car_locate_modZ = 'CARCOL2'

:CARMOD_21646
Text.PrintHelpForever('MODH5')
if 
is_xbox_version 
goto_if_false @CARMOD_21714
$forth_menu_item1 = Menu.Create('UPGRADE', 29.0, 155.0, 93.0, 2, True, True, 1)
goto @CARMOD_22017

:CARMOD_21714
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @CARMOD_21776
$forth_menu_item1 = Menu.Create('UPGRADE', 29.0, 145.0, 93.0, 2, True, True, 1)
goto @CARMOD_22017

:CARMOD_21776
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @CARMOD_21838
$forth_menu_item1 = Menu.Create('UPGRADE', 29.0, 165.0, 93.0, 2, True, True, 1)
goto @CARMOD_22017

:CARMOD_21838
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @CARMOD_21900
$forth_menu_item1 = Menu.Create('UPGRADE', 29.0, 165.0, 93.0, 2, True, True, 1)
goto @CARMOD_22017

:CARMOD_21900
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @CARMOD_21962
$forth_menu_item1 = Menu.Create('UPGRADE', 29.0, 145.0, 93.0, 2, True, True, 1)
goto @CARMOD_22017

:CARMOD_21962
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @CARMOD_22017
$forth_menu_item1 = Menu.Create('UPGRADE', 29.0, 145.0, 93.0, 2, True, True, 1)

:CARMOD_22017
Menu.SetColumnOrientation($forth_menu_item1, 0, 1)
Menu.SetColumn($forth_menu_item1, 0, 'UPGRADE', s$car_locate_modX, s$car_locate_modZ, 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
if 
  $selected_car_colour_mods == 1
goto_if_false @CARMOD_22317
Menu.SetColumnOrientation($forth_menu_item1, 1, 1)
Menu.SetColumn($forth_menu_item1, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber($forth_menu_item1, 1, 0, 'DOLLAR', 150)
goto @CARMOD_22492

:CARMOD_22317
Menu.SetColumnOrientation($forth_menu_item1, 1, 1)
Menu.SetColumn($forth_menu_item1, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber($forth_menu_item1, 1, 0, 'DOLLAR', 150)
Menu.SetItemWithNumber($forth_menu_item1, 1, 1, 'DOLLAR', 150)

:CARMOD_22492
Menu.SetColumnWidth($forth_menu_item1, 0, 140)
Menu.SetColumnWidth($forth_menu_item1, 1, 46)
$10433 = 1

:CARMOD_22518
return 

:CARMOD_22520
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 401
  is_int_var_equal_to_constant $upgrade_colour_selected == 402
  is_int_var_equal_to_constant $upgrade_colour_selected == 404
  is_int_var_equal_to_constant $upgrade_colour_selected == 405
  is_int_var_equal_to_constant $upgrade_colour_selected == 409
  is_int_var_equal_to_constant $upgrade_colour_selected == 410
goto_if_false @CARMOD_22586
$selected_car_colour_mods = 2

:CARMOD_22586
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 411
  is_int_var_equal_to_constant $upgrade_colour_selected == 412
  is_int_var_equal_to_constant $upgrade_colour_selected == 413
  is_int_var_equal_to_constant $upgrade_colour_selected == 415
  is_int_var_equal_to_constant $upgrade_colour_selected == 418
  is_int_var_equal_to_constant $upgrade_colour_selected == 419
goto_if_false @CARMOD_22652
$selected_car_colour_mods = 2

:CARMOD_22652
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 421
  is_int_var_equal_to_constant $upgrade_colour_selected == 426
  is_int_var_equal_to_constant $upgrade_colour_selected == 434
  is_int_var_equal_to_constant $upgrade_colour_selected == 436
  is_int_var_equal_to_constant $upgrade_colour_selected == 440
goto_if_false @CARMOD_22710
$selected_car_colour_mods = 2

:CARMOD_22710
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 444
  is_int_var_equal_to_constant $upgrade_colour_selected == 445
  is_int_var_equal_to_constant $upgrade_colour_selected == 451
  is_int_var_equal_to_constant $upgrade_colour_selected == 457
  is_int_var_equal_to_constant $upgrade_colour_selected == 458
  is_int_var_equal_to_constant $upgrade_colour_selected == 461
goto_if_false @CARMOD_22776
$selected_car_colour_mods = 2

:CARMOD_22776
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 462
  is_int_var_equal_to_constant $upgrade_colour_selected == 463
  is_int_var_equal_to_constant $upgrade_colour_selected == 468
  is_int_var_equal_to_constant $upgrade_colour_selected == 474
  is_int_var_equal_to_constant $upgrade_colour_selected == 475
  is_int_var_equal_to_constant $upgrade_colour_selected == 477
goto_if_false @CARMOD_22842
$selected_car_colour_mods = 2

:CARMOD_22842
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 478
  is_int_var_equal_to_constant $upgrade_colour_selected == 481
  is_int_var_equal_to_constant $upgrade_colour_selected == 482
  is_int_var_equal_to_constant $upgrade_colour_selected == 500
  is_int_var_equal_to_constant $upgrade_colour_selected == 506
goto_if_false @CARMOD_22900
$selected_car_colour_mods = 2

:CARMOD_22900
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 507
  is_int_var_equal_to_constant $upgrade_colour_selected == 510
  is_int_var_equal_to_constant $upgrade_colour_selected == 516
  is_int_var_equal_to_constant $upgrade_colour_selected == 518
  is_int_var_equal_to_constant $upgrade_colour_selected == 521
  is_int_var_equal_to_constant $upgrade_colour_selected == 526
goto_if_false @CARMOD_22966
$selected_car_colour_mods = 2

:CARMOD_22966
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 527
  is_int_var_equal_to_constant $upgrade_colour_selected == 529
  is_int_var_equal_to_constant $upgrade_colour_selected == 530
  is_int_var_equal_to_constant $upgrade_colour_selected == 531
  is_int_var_equal_to_constant $upgrade_colour_selected == 533
  is_int_var_equal_to_constant $upgrade_colour_selected == 534
goto_if_false @CARMOD_23032
$selected_car_colour_mods = 2

:CARMOD_23032
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 539
  is_int_var_equal_to_constant $upgrade_colour_selected == 540
  is_int_var_equal_to_constant $upgrade_colour_selected == 543
  is_int_var_equal_to_constant $upgrade_colour_selected == 545
  is_int_var_equal_to_constant $upgrade_colour_selected == 546
goto_if_false @CARMOD_23090
$selected_car_colour_mods = 2

:CARMOD_23090
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 547
  is_int_var_equal_to_constant $upgrade_colour_selected == 550
  is_int_var_equal_to_constant $upgrade_colour_selected == 551
  is_int_var_equal_to_constant $upgrade_colour_selected == 552
  is_int_var_equal_to_constant $upgrade_colour_selected == 555
  is_int_var_equal_to_constant $upgrade_colour_selected == 556
goto_if_false @CARMOD_23156
$selected_car_colour_mods = 2

:CARMOD_23156
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 559
  is_int_var_equal_to_constant $upgrade_colour_selected == 560
  is_int_var_equal_to_constant $upgrade_colour_selected == 561
  is_int_var_equal_to_constant $upgrade_colour_selected == 509
  is_int_var_equal_to_constant $upgrade_colour_selected == 562
  is_int_var_equal_to_constant $upgrade_colour_selected == 558
goto_if_false @CARMOD_23222
$selected_car_colour_mods = 2

:CARMOD_23222
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 565
  is_int_var_equal_to_constant $upgrade_colour_selected == 571
  is_int_var_equal_to_constant $upgrade_colour_selected == 572
  is_int_var_equal_to_constant $upgrade_colour_selected == 574
  is_int_var_equal_to_constant $upgrade_colour_selected == 579
  is_int_var_equal_to_constant $upgrade_colour_selected == 580
goto_if_false @CARMOD_23288
$selected_car_colour_mods = 2

:CARMOD_23288
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 581
  is_int_var_equal_to_constant $upgrade_colour_selected == 582
  is_int_var_equal_to_constant $upgrade_colour_selected == 585
  is_int_var_equal_to_constant $upgrade_colour_selected == 586
  is_int_var_equal_to_constant $upgrade_colour_selected == 589
  is_int_var_equal_to_constant $upgrade_colour_selected == 543
goto_if_false @CARMOD_23354
$selected_car_colour_mods = 2

:CARMOD_23354
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 587
  is_int_var_equal_to_constant $upgrade_colour_selected == 600
  is_int_var_equal_to_constant $upgrade_colour_selected == 602
  is_int_var_equal_to_constant $upgrade_colour_selected == 420
  is_int_var_equal_to_constant $upgrade_colour_selected == 400
  is_int_var_equal_to_constant $upgrade_colour_selected == 439
goto_if_false @CARMOD_23420
$selected_car_colour_mods = 2

:CARMOD_23420
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 535
  is_int_var_equal_to_constant $upgrade_colour_selected == 542
  is_int_var_equal_to_constant $upgrade_colour_selected == 549
  is_int_var_equal_to_constant $upgrade_colour_selected == 438
goto_if_false @CARMOD_23470
$selected_car_colour_mods = 2

:CARMOD_23470
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 422
  is_int_var_equal_to_constant $upgrade_colour_selected == 423
  is_int_var_equal_to_constant $upgrade_colour_selected == 424
  is_int_var_equal_to_constant $upgrade_colour_selected == 429
  is_int_var_equal_to_constant $upgrade_colour_selected == 442
  is_int_var_equal_to_constant $upgrade_colour_selected == 536
goto_if_false @CARMOD_23536
$selected_car_colour_mods = 2

:CARMOD_23536
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 466
  is_int_var_equal_to_constant $upgrade_colour_selected == 467
  is_int_var_equal_to_constant $upgrade_colour_selected == 471
  is_int_var_equal_to_constant $upgrade_colour_selected == 479
  is_int_var_equal_to_constant $upgrade_colour_selected == 483
  is_int_var_equal_to_constant $upgrade_colour_selected == 489
goto_if_false @CARMOD_23602
$selected_car_colour_mods = 2

:CARMOD_23602
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 491
  is_int_var_equal_to_constant $upgrade_colour_selected == 492
  is_int_var_equal_to_constant $upgrade_colour_selected == 494
  is_int_var_equal_to_constant $upgrade_colour_selected == 495
  is_int_var_equal_to_constant $upgrade_colour_selected == 496
  is_int_var_equal_to_constant $upgrade_colour_selected == 502
goto_if_false @CARMOD_23668
$selected_car_colour_mods = 2

:CARMOD_23668
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 503
  is_int_var_equal_to_constant $upgrade_colour_selected == 504
  is_int_var_equal_to_constant $upgrade_colour_selected == 517
  is_int_var_equal_to_constant $upgrade_colour_selected == 522
  is_int_var_equal_to_constant $upgrade_colour_selected == 525
  is_int_var_equal_to_constant $upgrade_colour_selected == 480
goto_if_false @CARMOD_23734
$selected_car_colour_mods = 2

:CARMOD_23734
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 541
  is_int_var_equal_to_constant $upgrade_colour_selected == 517
  is_int_var_equal_to_constant $upgrade_colour_selected == 554
  is_int_var_equal_to_constant $upgrade_colour_selected == 567
goto_if_false @CARMOD_23784
$selected_car_colour_mods = 2

:CARMOD_23784
if or
  is_int_var_equal_to_constant $upgrade_colour_selected == 573
  is_int_var_equal_to_constant $upgrade_colour_selected == 575
  is_int_var_equal_to_constant $upgrade_colour_selected == 576
  is_int_var_equal_to_constant $upgrade_colour_selected == 583
  is_int_var_equal_to_constant $upgrade_colour_selected == 603
goto_if_false @CARMOD_23842
$selected_car_colour_mods = 2

:CARMOD_23842
if 
  is_int_var_equal_to_constant $upgrade_colour_selected == 557
goto_if_false @CARMOD_23868
$selected_car_colour_mods = 2

:CARMOD_23868
return 

:CARMOD_23870
$2519 = 0
$10477 = 0

:CARMOD_23884
if 
  16 > $2519
goto_if_false @CARMOD_23964
$10461($2519,16i) = Car.GetAvailableMod($colour_menu_drawn_shops, $shop_counter($2519,16i))
if 
  $10461($2519,16i) <> -1
goto_if_false @CARMOD_23950
$10477 += 1

:CARMOD_23950
$2519 += 1
goto @CARMOD_23884

:CARMOD_23964
return 

:CARMOD_23966
if 
  $original_car_mod == 0
goto_if_false @CARMOD_24713
Text.PrintHelpForever('MODH2')
if 
is_xbox_version 
goto_if_false @CARMOD_24052
$just_replaced_car_mod = Menu.Create('UPGRADE', 29.0, 155.0, 93.0, 2, False, True, 1)
goto @CARMOD_24355

:CARMOD_24052
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 0
goto_if_false @CARMOD_24114
$just_replaced_car_mod = Menu.Create('UPGRADE', 29.0, 145.0, 93.0, 2, False, True, 1)
goto @CARMOD_24355

:CARMOD_24114
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 1
goto_if_false @CARMOD_24176
$just_replaced_car_mod = Menu.Create('UPGRADE', 29.0, 165.0, 93.0, 2, False, True, 1)
goto @CARMOD_24355

:CARMOD_24176
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 2
goto_if_false @CARMOD_24238
$just_replaced_car_mod = Menu.Create('UPGRADE', 29.0, 165.0, 93.0, 2, False, True, 1)
goto @CARMOD_24355

:CARMOD_24238
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 3
goto_if_false @CARMOD_24300
$just_replaced_car_mod = Menu.Create('UPGRADE', 29.0, 145.0, 93.0, 2, False, True, 1)
goto @CARMOD_24355

:CARMOD_24300
if 
  is_int_var_equal_to_constant $flag_hhiker_trigger == 4
goto_if_false @CARMOD_24355
$just_replaced_car_mod = Menu.Create('UPGRADE', 29.0, 145.0, 93.0, 2, False, True, 1)

:CARMOD_24355
Menu.SetColumnOrientation($just_replaced_car_mod, 0, 1)
Menu.SetColumn($just_replaced_car_mod, 0, 'UPGRADE', $2454($10408,12s), 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
if 
  $10395($10407,12i) == 100
goto_if_false @CARMOD_24529
Menu.SetItemWithNumber($just_replaced_car_mod, 0, 0, 'PJOB', $control_flag_mod)

:CARMOD_24529
Menu.SetColumnOrientation($just_replaced_car_mod, 1, 2)
Menu.SetColumn($just_replaced_car_mod, 1, 'COST', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY', 'DUMMY')
Menu.SetItemWithNumber($just_replaced_car_mod, 1, 0, 'DOLLAR', $2430($10408,12i))
Menu.SetColumnWidth($just_replaced_car_mod, 0, 140)
Menu.SetColumnWidth($just_replaced_car_mod, 1, 46)
$original_car_mod = 1

:CARMOD_24713
return 
terminate_this_script 

//-------------External script 67 (CRANE1)---------------

:CRANE1
script_name 'CRANE1'
5@ = 0
if 
  5@ == 1
goto_if_false @CRANE1_102
0@ = Object.CreateNoOffset(#WOODENBOX, 0.0, 0.0, 0.0)
1@ = Object.CreateNoOffset(#WOODENBOX, 0.0, 0.0, 0.0)
2@ = Object.CreateNoOffset(#WOODENBOX, 0.0, 0.0, 0.0)

:CRANE1_102
if 
  Object.DoesExist(0@)
goto_if_false @CRANE1_258
if 
  Object.Locate2D(0@, -2080.441, 256.015, 10.0, 10.0, False)
goto_if_false @CRANE1_188
set_lvar_int_to_var_int 1@ = $magno_base
set_lvar_int_to_var_int 2@ = $magno_cabin
set_lvar_int_to_var_int 3@ = $magno_base_LOD
set_lvar_int_to_var_int 4@ = $magno_arm

:CRANE1_188
if 
  Object.Locate2D(0@, 2399.202, 1879.139, 10.0, 10.0, False)
goto_if_false @CRANE1_258
set_lvar_int_to_var_int 1@ = $flag_attacked_keeper_food
set_lvar_int_to_var_int 2@ = $flag_attacked_barber
set_lvar_int_to_var_int 3@ = $shop_item_price
set_lvar_int_to_var_int 4@ = $flag_food_message

:CRANE1_258
$car_model_carmod1 = 0
21@ = 0

:CRANE1_272
wait 0
if 
  Object.DoesExist(0@)
goto_if_false @CRANE1_2496
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE1_2489
if 
  $cammy_off_Z == 0
goto_if_false @CRANE1_2489
if 
  $remove_player_from_crane == 1
goto_if_false @CRANE1_351
gosub @CRANE1_2512

:CRANE1_351
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 100.0, 100.0, False)
goto_if_false @CRANE1_2487
if 
  $finish_crane_loading_script == 1
goto_if_false @CRANE1_407
gosub @CRANE1_2512

:CRANE1_407
if 
  5@ == 0
goto_if_false @CRANE1_461
9@, 10@, 11@ = Object.GetOffsetInWorldCoords(0@, 0.0, -7.2092, -31.7581)
5@ += 1

:CRANE1_461
if 
  5@ == 1
goto_if_false @CRANE1_646
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 9@, 10@, 11@, 1.2, 1.2, 1.5, True)
goto_if_false @CRANE1_619
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @CRANE1_612
if 
  $car_model_carmod1 == 0
goto_if_false @CRANE1_573
Text.PrintHelpForever('CR_2')
$car_model_carmod1 = 1

:CRANE1_573
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CRANE1_612
5@ += 1
TIMERA = 6000
$car_model_carmod1 = 0

:CRANE1_612
goto @CRANE1_646

:CRANE1_619
if 
  $car_model_carmod1 <> 0
goto_if_false @CRANE1_646
Text.ClearHelp
$car_model_carmod1 = 0

:CRANE1_646
if 
  5@ == 2
goto_if_false @CRANE1_1068
if 
  Object.DoesExist(1@)
goto_if_false @CRANE1_688
Audio.ReportMissionAudioEventAtObject(1@, 1019)

:CRANE1_688
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
Camera.DoFade(500, Fade.Out)

:CRANE1_706
if 
  Camera.GetFadingStatus
goto_if_false @CRANE1_730
wait 0
goto @CRANE1_706

:CRANE1_730
if 
  is_int_lvar_equal_to_int_var 1@ == $magno_base
goto_if_false @CRANE1_758
Crane.PlayerEnteredBuildingsiteCrane
goto @CRANE1_760

:CRANE1_758
Crane.PlayerEnteredLasVegasCrane

:CRANE1_760
Text.DisplayNonMinigameHelpMessages(True)
7@ = Object.GetHeading(1@)
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates(1@)
12@, 13@, 14@ = Object.GetCoordinates(2@)
8@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 12@, 13@)
if 
  8@ > 47.5
goto_if_false @CRANE1_848
8@ = 47.5

:CRANE1_848
if 
  10.0 > 8@
goto_if_false @CRANE1_879
8@ = 10.0

:CRANE1_879
if 
  Object.DoesExist(1@)
goto_if_false @CRANE1_943
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE1_943
Char.AttachToObject($stattreadstamina_ctr, 0@, 0.0, 0.0, 34.5, 0, 360.0, WeaponType.Unarmed)

:CRANE1_943
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE1_1016
Char.FreezePosition($stattreadstamina_ctr, True)
Char.SetVisible($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
$finish_crane_loading_script = 1
22@ = 0

:CRANE1_1016
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
gosub @CRANE1_2512
Camera.DoFade(500, Fade.In)

:CRANE1_1037
if 
  Camera.GetFadingStatus
goto_if_false @CRANE1_1061
wait 0
goto @CRANE1_1037

:CRANE1_1061
5@ += 1

:CRANE1_1068
if 
  5@ == 3
goto_if_false @CRANE1_2277
if 
  TIMERA > 6000
goto_if_false @CRANE1_1468
$car_model_carmod1 += 1
if 
  7 > $car_model_carmod1
goto_if_false @CRANE1_1461
switch_start $car_model_carmod1 {numCases} 6 {hasDefaultCase} 0 {defaultLabel} @CRANE1_1461 {caseNum1} 1 {caseLabel1} @CRANE1_1193 {caseNum2} 2 {caseLabel2} @CRANE1_1250 {caseNum3} 3 {caseLabel3} @CRANE1_1307 {caseNum4} 4 {caseLabel4} @CRANE1_1364 {caseNum5} 5 {caseLabel5} @CRANE1_1421 {caseNum6} 6 {caseLabel6} @CRANE1_1441 {caseNum7} -1 {caseLabel7} @CRANE1_1461

:CRANE1_1193
Text.ClearHelp
if 
  is_int_lvar_equal_to_int_var 1@ == $magno_base
goto_if_false @CRANE1_1232
Text.PrintHelpForever('CONS_1')
goto @CRANE1_1243

:CRANE1_1232
Text.PrintHelpForever('CONS_1B')

:CRANE1_1243
goto @CRANE1_1461

:CRANE1_1250
Text.ClearHelp
if 
  is_int_lvar_equal_to_int_var 1@ == $magno_base
goto_if_false @CRANE1_1289
Text.PrintHelpForever('CONS_2')
goto @CRANE1_1300

:CRANE1_1289
Text.PrintHelpForever('CONS_2B')

:CRANE1_1300
goto @CRANE1_1461

:CRANE1_1307
Text.ClearHelp
if 
  is_int_lvar_equal_to_int_var 1@ == $magno_base
goto_if_false @CRANE1_1346
Text.PrintHelpForever('CONS_3')
goto @CRANE1_1357

:CRANE1_1346
Text.PrintHelpForever('CONS_3B')

:CRANE1_1357
goto @CRANE1_1461

:CRANE1_1364
Text.ClearHelp
if 
  is_int_lvar_equal_to_int_var 1@ == $magno_base
goto_if_false @CRANE1_1403
Text.PrintHelpForever('CONS_4')
goto @CRANE1_1414

:CRANE1_1403
Text.PrintHelpForever('CONS_4B')

:CRANE1_1414
goto @CRANE1_1461

:CRANE1_1421
Text.ClearHelp
Text.PrintHelpForever('CONS_5')
goto @CRANE1_1461

:CRANE1_1441
Text.ClearHelp
Text.PrintHelp('CR_3')
goto @CRANE1_1461

:CRANE1_1461
TIMERA = 0

:CRANE1_1468
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE1_2277
if 
is_ps2_keyboard_key_pressed 81
goto_if_false @CRANE1_1509
$flag_car_normal_carmod += 0.1

:CRANE1_1509
if 
is_ps2_keyboard_key_pressed 65
goto_if_false @CRANE1_1534
$flag_car_normal_carmod += -0.1

:CRANE1_1534
if 
is_ps2_keyboard_key_pressed 87
goto_if_false @CRANE1_1559
$flag_car_lowrider_carmod += 0.1

:CRANE1_1559
if 
is_ps2_keyboard_key_pressed 83
goto_if_false @CRANE1_1584
$flag_car_lowrider_carmod += -0.1

:CRANE1_1584
if 
is_ps2_keyboard_key_pressed 69
goto_if_false @CRANE1_1609
$flag_car_racer_carmod += 0.1

:CRANE1_1609
if 
is_ps2_keyboard_key_pressed 68
goto_if_false @CRANE1_1634
$flag_car_racer_carmod += -0.1

:CRANE1_1634
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftStickX)
goto_if_false @CRANE1_1749
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
cset_lvar_float_to_var_int 6@ =# $been_in_a_bmx
6@ /= 500.0
sub_timed_float_lvar_from_float_lvar 7@ -=@ 6@
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE1_1742
if 
  22@ <> 1
goto_if_false @CRANE1_1742
Audio.ReportMissionAudioEventAtObject(1@, 1020)
22@ = 1

:CRANE1_1742
goto @CRANE1_1798

:CRANE1_1749
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE1_1798
if 
  22@ <> 0
goto_if_false @CRANE1_1798
Audio.ReportMissionAudioEventAtObject(1@, 1021)
22@ = 0

:CRANE1_1798
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftStickY)
goto_if_false @CRANE1_2000
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
cset_lvar_float_to_var_int 6@ =# $tucking_contact_blip
6@ /= 128.0
if or
  6@ > 0.6
  -0.6 > 6@
goto_if_false @CRANE1_1993
6@ *= 0.15
sub_timed_float_lvar_from_float_lvar 8@ -=@ 6@
if 
  8@ > 47.5
goto_if_false @CRANE1_1929
8@ = 47.5

:CRANE1_1929
if 
  10.0 > 8@
goto_if_false @CRANE1_1960
8@ = 10.0

:CRANE1_1960
if 
  23@ <> 1
goto_if_false @CRANE1_1993
Audio.ReportMissionAudioEventAtObject(2@, 1020)
23@ = 1

:CRANE1_1993
goto @CRANE1_2033

:CRANE1_2000
if 
  23@ <> 0
goto_if_false @CRANE1_2033
Audio.ReportMissionAudioEventAtObject(2@, 1021)
23@ = 0

:CRANE1_2033
if 
  Object.DoesExist(2@)
goto_if_false @CRANE1_2071
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Cross)
goto_if_false @CRANE1_2071
Object.ReleaseEntityFromRope(2@)

:CRANE1_2071
if 
  Object.DoesExist(1@)
goto_if_false @CRANE1_2172
if 
  Object.DoesExist(0@)
goto_if_false @CRANE1_2172
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 0.0, 0.0, 32.521)
Object.SetHeading(1@, 7@)
if 
  Object.DoesExist(3@)
goto_if_false @CRANE1_2164
Object.SetHeading(3@, 7@)

:CRANE1_2164
Char.SetHeading($stattreadstamina_ctr, 7@)

:CRANE1_2172
if 
  Object.DoesExist(1@)
goto_if_false @CRANE1_2253
if 
  Object.DoesExist(2@)
goto_if_false @CRANE1_2253
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(1@, 0.0, 8@, 3.453)
Object.SetCoordinatesAndVelocity(2@, $on_footY, $on_footZ, $in_carX)
Object.SetHeading(2@, 7@)

:CRANE1_2253
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CRANE1_2277
5@ += 1

:CRANE1_2277
if 
  5@ == 4
goto_if_false @CRANE1_2480
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE1_2480
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if 
  Object.DoesExist(1@)
goto_if_false @CRANE1_2349
Audio.ReportMissionAudioEventAtObject(1@, 1022)

:CRANE1_2349
Text.ClearHelp
Crane.PlayerLeftCrane
Game.SetMinigameInProgress(False)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(0@, 2.0, -7.0, 0.0)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
Char.SetCoordinates($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)
Char.DetachFromCar($stattreadstamina_ctr)
Char.FreezePosition($stattreadstamina_ctr, False)
Char.SetVisible($stattreadstamina_ctr, True)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Player.SetControl($statbike_temp, True)
Camera.RestoreJumpcut
$finish_crane_loading_script = 0
5@ = 0
terminate_this_script 

:CRANE1_2480
goto @CRANE1_2489

:CRANE1_2487
terminate_this_script 

:CRANE1_2489
goto @CRANE1_2505

:CRANE1_2496
5@ = 0
terminate_this_script 

:CRANE1_2505
goto @CRANE1_272

:CRANE1_2512
if 
  $crane_help1 == 0
goto_if_false @CRANE1_3074
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Select)
goto_if_false @CRANE1_2619
if 
  24@ == 0
goto_if_false @CRANE1_2612
21@ += 1
if 
  21@ > 2
goto_if_false @CRANE1_2597
21@ = 0

:CRANE1_2597
set_var_int_to_lvar_int $crane_help2 = 21@
24@ += 1

:CRANE1_2612
goto @CRANE1_2644

:CRANE1_2619
if 
  24@ <> 0
goto_if_false @CRANE1_2644
24@ = 0

:CRANE1_2644
if 
  $finish_crane_loading_script == 1
goto_if_false @CRANE1_2695
if 
  $remove_player_from_crane == 1
goto_if_false @CRANE1_2695
set_var_int_to_var_int $crane_help2 = $crane_help2
$remove_player_from_crane = 0

:CRANE1_2695
if 
  21@ == 0
goto_if_false @CRANE1_2758
if 
  Object.DoesExist(1@)
goto_if_false @CRANE1_2758
15@, 16@, 17@ = Object.GetOffsetInWorldCoords(1@, -7.18, -6.42, 15.79)

:CRANE1_2758
if 
  21@ == 1
goto_if_false @CRANE1_2920
if 
  Object.DoesExist(1@)
goto_if_false @CRANE1_2920
15@, 16@, 17@ = Object.GetOffsetInWorldCoords(2@, 0.0, -4.5, 20.1999)
if 
  Object.DoesExist(2@)
goto_if_false @CRANE1_2920
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, 0.0, 20.1999)
6@ = Object.GetRopeHeight(2@)
6@ += -1.0
6@ *= -1.0
6@ *= 72.0
sub_float_lvar_from_float_var $in_carX -= 6@
set_lvar_float_to_var_float 17@ = $in_carX

:CRANE1_2920
if 
  Object.DoesExist(2@)
goto_if_false @CRANE1_3035
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, 0.0, 2.0)
6@ = Object.GetRopeHeight(2@)
6@ += -1.0
6@ *= -1.0
6@ *= 72.0
sub_float_lvar_from_float_var $in_carX -= 6@
set_lvar_float_to_var_float 18@ = $on_footY
set_lvar_float_to_var_float 19@ = $on_footZ
set_lvar_float_to_var_float 20@ = $in_carX

:CRANE1_3035
Camera.SetFixedPosition(15@, 16@, 17@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(18@, 19@, 20@, SwitchType.JumpCut)

:CRANE1_3074
return 
terminate_this_script 

//-------------External script 68 (CRANE2)---------------

:CRANE2
script_name 'CRANE2'
0@ = 0
if 
  0@ == 1
goto_if_false @CRANE2_102
$magno_cabin_LOD = Object.CreateNoOffset(#WOODENBOX, 0.0, 0.0, 0.0)
$magno_arm_LOD = Object.CreateNoOffset(#WOODENBOX, 0.0, 0.0, 0.0)
$magno_base_x = Object.CreateNoOffset(#WOODENBOX, 0.0, 0.0, 0.0)

:CRANE2_102
$cammy_off_X = 0
$cam_look_z = 33.7
$quarry_arm = 15.0
28@ = 0
27@ = 1
$bball_challenge_timer = 0

:CRANE2_150
wait 0
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @CRANE2_4720
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE2_4713
if 
  $cammy_off_Z == 0
goto_if_false @CRANE2_4713
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, $magno_cabin_LOD, 100.0, 100.0, False)
goto_if_false @CRANE2_4711
if 
  $remove_player_from_crane == 1
goto_if_false @CRANE2_260
gosub @CRANE2_4736

:CRANE2_260
if and
  Player.IsPlaying($statbike_temp)
  $disable_crane_slide == 0
goto_if_false @CRANE2_4704
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, $magno_cabin_LOD, 100.0, 100.0, False)
goto_if_false @CRANE2_4679
if 
  $finish_crane_loading_script == 2
goto_if_false @CRANE2_339
gosub @CRANE2_4736

:CRANE2_339
if 
  0@ == 0
goto_if_false @CRANE2_393
1@, 2@, 3@ = Object.GetOffsetInWorldCoords($magno_cabin_LOD, -1.7837, 2.4699, -24.1519)
0@ += 1

:CRANE2_393
if 
  0@ == 1
goto_if_false @CRANE2_691
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 1@, 2@, 3@, 1.2, 1.2, 1.5, True)
goto_if_false @CRANE2_538
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @CRANE2_531
if 
  $cammy_off_X == 0
goto_if_false @CRANE2_505
Text.PrintHelpForever('CR_2')
$cammy_off_X = 1

:CRANE2_505
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CRANE2_531
Text.ClearHelp
0@ += 1

:CRANE2_531
goto @CRANE2_565

:CRANE2_538
if 
  $cammy_off_X <> 0
goto_if_false @CRANE2_565
Text.ClearHelp
$cammy_off_X = 0

:CRANE2_565
if 
  15.0 > $quarry_arm
goto_if_false @CRANE2_628
$quarry_arm = 15.0
if 
  Object.DoesExist($magno_base_x)
goto_if_false @CRANE2_628
Object.SetRotation($magno_base_x, $quarry_arm, 0.0, $quarry_stand)

:CRANE2_628
if 
  $quarry_arm > 30.0
goto_if_false @CRANE2_691
$quarry_arm = 30.0
if 
  Object.DoesExist($magno_base_x)
goto_if_false @CRANE2_691
Object.SetRotation($magno_base_x, $quarry_arm, 0.0, $quarry_stand)

:CRANE2_691
if 
  0@ == 2
goto_if_false @CRANE2_1309
if 
  Object.DoesExist($magno_arm_LOD)
goto_if_false @CRANE2_733
Audio.ReportMissionAudioEventAtObject($magno_arm_LOD, 1019)

:CRANE2_733
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
$finish_crane_loading_script = 2
Camera.DoFade(500, Fade.Out)

:CRANE2_758
if 
  Camera.GetFadingStatus
goto_if_false @CRANE2_782
wait 0
goto @CRANE2_758

:CRANE2_782
Crane.PlayerEnteredDockCrane
Text.DisplayNonMinigameHelpMessages(True)
$quarry_base = Object.GetHeading($magno_arm_LOD)
$quarry_stand = Object.GetHeading($magno_base_x)
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @CRANE2_882
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE2_882
$magno_arm_h, $magno_arm_rotate_y, $arm_rotate_y = Object.GetCoordinates($magno_cabin_LOD)
Char.AttachToObject($stattreadstamina_ctr, $magno_cabin_LOD, 0.0, 0.0, 2.0, 0, 360.0, WeaponType.Unarmed)

:CRANE2_882
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE2_948
Char.FreezePosition($stattreadstamina_ctr, True)
Char.SetVisible($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
$dock_crane_accel = 0

:CRANE2_948
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @CRANE2_978
21@, 22@, $in_carX = Object.GetCoordinates($magno_cabin_LOD)

:CRANE2_978
if 
  Object.DoesExist($magno_base_x)
goto_if_false @CRANE2_1002
25@ = Object.GetHeading($magno_base_x)

:CRANE2_1002
if 
  Object.DoesExist($magno_base_x)
goto_if_false @CRANE2_1204
$cam_pos_z, $new_cam_look_x, $new_cam_look_y = Object.GetOffsetInWorldCoords($magno_base_x, 0.0, $cam_look_z, -3.0)
4@ = Object.GetRopeHeight($magno_base_x)
4@ += -1.0
4@ *= -1.0
4@ *= 50.0
sub_float_lvar_from_float_var $new_cam_look_y -= 4@
set_var_float_to_var_float $on_footY = $cam_pos_z
sub_float_var_from_float_var $on_footY -= $magno_arm_h
set_var_float_to_var_float $on_footZ = $new_cam_look_x
sub_float_var_from_float_var $on_footZ -= $magno_arm_rotate_y
4@ = Math.GetDistanceBetweenCoords2D($cam_pos_z, $new_cam_look_x, $magno_arm_h, $magno_arm_rotate_y)
div_float_var_by_float_lvar $on_footY /= 4@
div_float_var_by_float_lvar $on_footZ /= 4@
mult_float_var_by_float_var $on_footY *= $cam_look_z
mult_float_var_by_float_var $on_footZ *= $cam_look_z
set_var_float_to_var_float $cam_pos_z = $magno_arm_h
add_float_var_to_float_var $cam_pos_z += $on_footY
set_var_float_to_var_float $new_cam_look_x = $magno_arm_rotate_y
add_float_var_to_float_var $new_cam_look_x += $on_footZ

:CRANE2_1204
set_lvar_float_to_var_float 10@ = $cam_pos_z
set_lvar_float_to_var_float 11@ = $new_cam_look_x
$cam_vec_x = 0.0
$cam_vec_y = 0.0
$cam_vec_z = 0.3
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
gosub @CRANE2_4736
Camera.DoFade(500, Fade.In)

:CRANE2_1271
if 
  Camera.GetFadingStatus
goto_if_false @CRANE2_1302
wait 0
gosub @CRANE2_4736
goto @CRANE2_1271

:CRANE2_1302
0@ += 1

:CRANE2_1309
if 
  0@ == 3
goto_if_false @CRANE2_4430
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE2_4430
if 
is_ps2_keyboard_key_pressed 131
goto_if_false @CRANE2_1369
$cam_look_z += 0.1

:CRANE2_1369
if 
is_ps2_keyboard_key_pressed 130
goto_if_false @CRANE2_1395
$cam_look_z += -0.1

:CRANE2_1395
if 
  $finish_crane_loading_script == 2
goto_if_false @CRANE2_3930
if or
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftStickX)
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftStickY)
goto_if_false @CRANE2_2947
if 
  $dock_crane_accel <> 1
goto_if_false @CRANE2_1485
if 
  Object.DoesExist($magno_arm_LOD)
goto_if_false @CRANE2_1478
Audio.ReportMissionAudioEventAtObject($magno_arm_LOD, 1020)

:CRANE2_1478
$dock_crane_accel = 1

:CRANE2_1485
if 
  $bball_challenge_high_score == 0
goto_if_false @CRANE2_2940
28@ = 1
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
cset_lvar_float_to_var_int 6@ =# $been_in_a_bmx
cset_lvar_float_to_var_int 7@ =# $tucking_contact_blip
6@ /= 128.0
7@ /= 128.0
6@ *= 0.15
7@ *= 0.15
set_lvar_float_to_var_float 12@ = $new_cam_look_z
set_lvar_float_to_var_float 13@ = $cam_look_x
set_lvar_float_to_lvar_float 15@ = 13@
set_lvar_float_to_lvar_float 16@ = 12@
16@ *= -1.0
mult_float_lvar_by_float_lvar 12@ *= 7@
mult_float_lvar_by_float_lvar 13@ *= 7@
12@ *= -1.0
13@ *= -1.0
add_timed_float_lvar_to_float_lvar 10@ +=@ 12@
add_timed_float_lvar_to_float_lvar 11@ +=@ 13@
mult_float_lvar_by_float_lvar 15@ *= 6@
mult_float_lvar_by_float_lvar 16@ *= 6@
add_timed_float_lvar_to_float_lvar 10@ +=@ 15@
add_timed_float_lvar_to_float_lvar 11@ +=@ 16@
4@ = Math.GetDistanceBetweenCoords2D(10@, 11@, $crane_rope_length, $cam_pos_x)
if 
  4@ > 0.3
goto_if_false @CRANE2_1846
set_var_float_to_lvar_float $on_footY = 10@
sub_float_var_from_float_var $on_footY -= $crane_rope_length
set_var_float_to_lvar_float $on_footZ = 11@
sub_float_var_from_float_var $on_footZ -= $cam_pos_x
div_float_var_by_float_lvar $on_footY /= 4@
div_float_var_by_float_lvar $on_footZ /= 4@
$on_footY *= 0.3
$on_footZ *= 0.3
set_lvar_float_to_var_float 10@ = $crane_rope_length
add_float_var_to_float_lvar 10@ += $on_footY
set_lvar_float_to_var_float 11@ = $cam_pos_x
add_float_var_to_float_lvar 11@ += $on_footZ

:CRANE2_1846
$in_carX = 0.0
set_var_float_to_lvar_float $on_footZ = 11@
set_var_float_to_var_float $on_footY = $on_footZ
$on_footY -= 1671.5
set_lvar_float_to_lvar_float 8@ = 10@
set_lvar_float_to_lvar_float 9@ = 8@
9@ += 1671.5
add_float_lvar_to_float_var $on_footY += 8@
add_float_lvar_to_float_var $on_footZ += 9@
$on_footY /= 2.0
$on_footZ /= 2.0
if 
  -1648.057 > $on_footY
goto_if_false @CRANE2_2116
4@ = Math.GetDistanceBetweenCoords2D(-1648.057, 23.852, 10@, 11@)
if 
  is_float_lvar_greater_than_float_var 4@ > $cam_look_z
goto_if_false @CRANE2_2109
set_lvar_float_to_lvar_float 12@ = 10@
12@ += 1648.057
set_lvar_float_to_lvar_float 13@ = 11@
13@ -= 23.852
div_float_lvar_by_float_lvar 12@ /= 4@
div_float_lvar_by_float_lvar 13@ /= 4@
mult_float_lvar_by_float_var 12@ *= $cam_look_z
mult_float_lvar_by_float_var 13@ *= $cam_look_z
10@ = -1648.057
add_float_lvar_to_float_lvar 10@ += 12@
11@ = 23.852
add_float_lvar_to_float_lvar 11@ += 13@

:CRANE2_2109
goto @CRANE2_2420

:CRANE2_2116
if 
  $on_footY > -1532.742
goto_if_false @CRANE2_2288
4@ = Math.GetDistanceBetweenCoords2D(-1532.742, 138.719, 10@, 11@)
if 
  is_float_lvar_greater_than_float_var 4@ > $cam_look_z
goto_if_false @CRANE2_2281
set_lvar_float_to_lvar_float 12@ = 10@
12@ += 1532.742
set_lvar_float_to_lvar_float 13@ = 11@
13@ -= 138.719
div_float_lvar_by_float_lvar 12@ /= 4@
div_float_lvar_by_float_lvar 13@ /= 4@
mult_float_lvar_by_float_var 12@ *= $cam_look_z
mult_float_lvar_by_float_var 13@ *= $cam_look_z
10@ = -1532.742
add_float_lvar_to_float_lvar 10@ += 12@
11@ = 138.719
add_float_lvar_to_float_lvar 11@ += 13@

:CRANE2_2281
goto @CRANE2_2420

:CRANE2_2288
4@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 10@, 11@)
if 
  is_float_lvar_greater_than_float_var 4@ > $cam_look_z
goto_if_false @CRANE2_2420
set_lvar_float_to_lvar_float 12@ = 10@
sub_float_var_from_float_lvar 12@ -= $on_footY
set_lvar_float_to_lvar_float 13@ = 11@
sub_float_var_from_float_lvar 13@ -= $on_footZ
div_float_lvar_by_float_lvar 12@ /= 4@
div_float_lvar_by_float_lvar 13@ /= 4@
mult_float_lvar_by_float_var 12@ *= $cam_look_z
mult_float_lvar_by_float_var 13@ *= $cam_look_z
set_lvar_float_to_var_float 10@ = $on_footY
add_float_lvar_to_float_lvar 10@ += 12@
set_lvar_float_to_var_float 11@ = $on_footZ
add_float_lvar_to_float_lvar 11@ += 13@

:CRANE2_2420
18@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 10@, 11@)
set_lvar_float_to_var_float 4@ = $cam_look_z
mult_float_lvar_by_float_var 4@ *= $cam_look_z
set_lvar_float_to_lvar_float 5@ = 18@
mult_float_lvar_by_float_lvar 5@ *= 18@
set_lvar_float_to_lvar_float 19@ = 4@
sub_float_lvar_from_float_lvar 19@ -= 5@
set_lvar_float_to_lvar_float 20@ = 19@
20@ /= 2.0
20@ = Math.Sqrt(20@)
set_lvar_float_to_var_float 21@ = $on_footY
sub_float_lvar_from_float_lvar 21@ -= 20@
set_lvar_float_to_var_float 22@ = $on_footZ
sub_float_lvar_from_float_lvar 22@ -= 20@
set_lvar_float_to_var_float 23@ = $on_footY
add_float_lvar_to_float_lvar 23@ += 20@
set_lvar_float_to_var_float 24@ = $on_footZ
add_float_lvar_to_float_lvar 24@ += 20@
26@ = 0
if and
  -1532.742 > 21@
  21@ > -1648.057
goto_if_false @CRANE2_2620
26@ += 1

:CRANE2_2620
if and
  -1532.742 > 23@
  23@ > -1648.057
goto_if_false @CRANE2_2658
26@ += 2

:CRANE2_2658
if 
  26@ <> 0
goto_if_false @CRANE2_2881
if 
  26@ == 1
goto_if_false @CRANE2_2694

:CRANE2_2694
if 
  26@ == 2
goto_if_false @CRANE2_2728
set_lvar_float_to_lvar_float 21@ = 23@
set_lvar_float_to_lvar_float 22@ = 24@

:CRANE2_2728
if 
  26@ == 3
goto_if_false @CRANE2_2831
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @CRANE2_2831
4@ = Math.GetDistanceBetweenCoords2D($magno_arm_h, $magno_arm_rotate_y, 21@, 22@)
5@ = Math.GetDistanceBetweenCoords2D($magno_arm_h, $magno_arm_rotate_y, 23@, 24@)
if 
  is_float_lvar_greater_than_float_lvar 4@ > 5@
goto_if_false @CRANE2_2831
set_lvar_float_to_lvar_float 21@ = 23@
set_lvar_float_to_lvar_float 22@ = 24@

:CRANE2_2831
set_lvar_float_to_lvar_float 12@ = 10@
sub_float_lvar_from_float_lvar 12@ -= 21@
set_lvar_float_to_lvar_float 13@ = 11@
sub_float_lvar_from_float_lvar 13@ -= 22@
25@ = Math.GetHeadingFromVector2D(12@, 13@)
goto @CRANE2_2940

:CRANE2_2881
set_lvar_float_to_var_float 21@ = $magno_arm_h
set_lvar_float_to_var_float 22@ = $magno_arm_rotate_y
set_lvar_float_to_lvar_float 12@ = 10@
sub_float_var_from_float_lvar 12@ -= $magno_arm_h
set_lvar_float_to_lvar_float 13@ = 11@
sub_float_var_from_float_lvar 13@ -= $magno_arm_rotate_y
25@ = Math.GetHeadingFromVector2D(12@, 13@)

:CRANE2_2940
goto @CRANE2_3246

:CRANE2_2947
if 
  $dock_crane_accel <> 0
goto_if_false @CRANE2_2996
if 
  Object.DoesExist($magno_arm_LOD)
goto_if_false @CRANE2_2989
Audio.ReportMissionAudioEventAtObject($magno_arm_LOD, 1021)

:CRANE2_2989
$dock_crane_accel = 0

:CRANE2_2996
if 
  28@ <> 0
goto_if_false @CRANE2_3246
if 
  28@ == 1
goto_if_false @CRANE2_3107
set_var_float_to_var_float $on_footY = $cam_pos_z
set_var_float_to_var_float $on_footZ = $new_cam_look_x
set_lvar_float_to_var_float 12@ = $on_footY
sub_float_var_from_float_lvar 12@ -= $magno_arm_h
set_lvar_float_to_var_float 13@ = $on_footZ
sub_float_var_from_float_lvar 13@ -= $magno_arm_rotate_y
25@ = Math.GetHeadingFromVector2D(12@, 13@)
set_lvar_float_to_var_float 12@ = $crane_arm_length
set_lvar_float_to_var_float 13@ = $dock_crane_speed

:CRANE2_3107
if 
  $cam_vec_x > 0.0
goto_if_false @CRANE2_3246
$cam_vec_y = -0.007
add_timed_float_var_to_float_var $cam_vec_x +=@ $cam_vec_y
if 
  0.0 > $cam_vec_x
goto_if_false @CRANE2_3191
$cam_vec_x = 0.0
28@ = 0
goto @CRANE2_3198

:CRANE2_3191
28@ = 2

:CRANE2_3198
set_var_float_to_var_float $on_footY = $cam_vec_x
mult_float_var_by_float_lvar $on_footY *= 12@
set_var_float_to_var_float $on_footZ = $cam_vec_x
mult_float_var_by_float_lvar $on_footZ *= 13@
add_float_var_to_float_var $magno_arm_h += $on_footY
add_float_var_to_float_var $magno_arm_rotate_y += $on_footZ

:CRANE2_3246
if 
  28@ == 1
goto_if_false @CRANE2_3530
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @CRANE2_3530
4@ = Math.GetDistanceBetweenCoords2D($magno_arm_h, $magno_arm_rotate_y, 21@, 22@)
if 
  4@ > 0.01
goto_if_false @CRANE2_3366
set_var_float_to_lvar_float $crane_arm_length = 21@
sub_float_var_from_float_var $crane_arm_length -= $magno_arm_h
set_var_float_to_lvar_float $dock_crane_speed = 22@
sub_float_var_from_float_var $dock_crane_speed -= $magno_arm_rotate_y
div_float_var_by_float_lvar $crane_arm_length /= 4@
div_float_var_by_float_lvar $dock_crane_speed /= 4@

:CRANE2_3366
if 
  4@ > 0.01
goto_if_false @CRANE2_3530
$cam_vec_y = 0.003
add_timed_float_var_to_float_var $cam_vec_x +=@ $cam_vec_y
if 
  is_float_var_greater_than_float_var $cam_vec_x > $cam_vec_z
goto_if_false @CRANE2_3432
set_var_float_to_var_float $cam_vec_x = $cam_vec_z

:CRANE2_3432
set_lvar_float_to_var_float 12@ = $crane_arm_length
set_lvar_float_to_var_float 13@ = $dock_crane_speed
if 
  is_float_lvar_greater_than_float_var 4@ > $cam_vec_x
goto_if_false @CRANE2_3490
mult_float_lvar_by_float_var 12@ *= $cam_vec_x
mult_float_lvar_by_float_var 13@ *= $cam_vec_x
goto @CRANE2_3514

:CRANE2_3490
mult_float_lvar_by_float_lvar 12@ *= 4@
mult_float_lvar_by_float_lvar 13@ *= 4@
set_var_float_to_lvar_float $cam_vec_x = 4@

:CRANE2_3514
add_float_lvar_to_float_var $magno_arm_h += 12@
add_float_lvar_to_float_var $magno_arm_rotate_y += 13@

:CRANE2_3530
if 
  28@ == 1
goto_if_false @CRANE2_3888
if 
  Object.DoesExist($magno_base_x)
goto_if_false @CRANE2_3888
if 
  25@ > 180.0
goto_if_false @CRANE2_3595
25@ += -360.0

:CRANE2_3595
if 
  -180.0 > 25@
goto_if_false @CRANE2_3626
25@ += 360.0

:CRANE2_3626
set_var_float_to_var_float $on_footX = $quarry_stand
if 
  $on_footX > 180.0
goto_if_false @CRANE2_3665
$on_footX += -360.0

:CRANE2_3665
if 
  -180.0 > $on_footX
goto_if_false @CRANE2_3696
$on_footX += 360.0

:CRANE2_3696
set_lvar_float_to_lvar_float 4@ = 25@
sub_float_var_from_float_lvar 4@ -= $on_footX
if 
  4@ > 180.0
goto_if_false @CRANE2_3743
4@ += -360.0

:CRANE2_3743
if 
  -180.0 > 4@
goto_if_false @CRANE2_3774
4@ += 360.0

:CRANE2_3774
if 
  4@ >= 0.0
goto_if_false @CRANE2_3833
if 
  4@ > 0.2
goto_if_false @CRANE2_3826
4@ = 0.2

:CRANE2_3826
goto @CRANE2_3864

:CRANE2_3833
if 
  -0.2 > 4@
goto_if_false @CRANE2_3864
4@ = -0.2

:CRANE2_3864
add_timed_float_lvar_to_float_var $on_footX +=@ 4@
set_var_float_to_var_float $quarry_base = $on_footX
set_var_float_to_var_float $quarry_stand = $on_footX

:CRANE2_3888
if 
  $disable_crane_rotate == 0
goto_if_false @CRANE2_3930
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CRANE2_3930
0@ += 1

:CRANE2_3930
if and
  -1532.742 > $magno_arm_h
  $magno_arm_h > -1648.057
goto_if_false @CRANE2_3998
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @CRANE2_3991
Object.SetCoordinatesAndVelocity($magno_cabin_LOD, $magno_arm_h, $magno_arm_rotate_y, $arm_rotate_y)

:CRANE2_3991
goto @CRANE2_4028

:CRANE2_3998
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @CRANE2_4028
$magno_arm_h, $magno_arm_rotate_y, $arm_rotate_y = Object.GetCoordinates($magno_cabin_LOD)

:CRANE2_4028
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @CRANE2_4104
if 
  Object.DoesExist($magno_base_y)
goto_if_false @CRANE2_4104
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($magno_cabin_LOD)
$on_footX = Object.GetHeading($magno_cabin_LOD)
Object.SetCoordinates($magno_base_y, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($magno_base_y, $on_footX)

:CRANE2_4104
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @CRANE2_4255
if 
  Object.DoesExist($magno_arm_LOD)
goto_if_false @CRANE2_4195
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($magno_cabin_LOD, 0.0, 0.0, 0.0)
Object.SetHeading($magno_arm_LOD, $quarry_base)
Object.SetCoordinatesAndVelocity($magno_arm_LOD, $on_footY, $on_footZ, $in_carX)
Char.SetHeading($stattreadstamina_ctr, $quarry_base)

:CRANE2_4195
if 
  Object.DoesExist($magno_base_z)
goto_if_false @CRANE2_4255
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($magno_arm_LOD)
$on_footX = Object.GetHeading($magno_arm_LOD)
Object.SetCoordinates($magno_base_z, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($magno_base_z, $on_footX)

:CRANE2_4255
if 
  Object.DoesExist($magno_base_x)
goto_if_false @CRANE2_4430
if 
  Object.DoesExist($magno_arm_LOD)
goto_if_false @CRANE2_4354
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($magno_arm_LOD, 0.0, -2.185, 8.51)
$quarry_stand = Object.GetHeading($magno_arm_LOD)
Object.SetCoordinatesAndVelocity($magno_base_x, $on_footY, $on_footZ, $in_carX)
Object.SetRotation($magno_base_x, $quarry_arm, 0.0, $quarry_stand)

:CRANE2_4354
if 
  Object.DoesExist($magno_cabin_h)
goto_if_false @CRANE2_4430
$on_footY, $on_footZ, $in_carX = Object.GetCoordinates($magno_base_x)
$on_footX = Object.GetHeading($magno_base_x)
Object.SetCoordinates($magno_cabin_h, $on_footY, $on_footZ, $in_carX)
Object.SetHeading($magno_cabin_h, $on_footX)
Object.SetRotation($magno_cabin_h, $quarry_arm, 0.0, $quarry_stand)

:CRANE2_4430
if or
  0@ == 4
  $magno_camera_type == 1
goto_if_false @CRANE2_4672
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE2_4672
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
if 
  Object.DoesExist($magno_arm_LOD)
goto_if_false @CRANE2_4509
Audio.ReportMissionAudioEventAtObject($magno_arm_LOD, 1022)

:CRANE2_4509
Text.ClearHelp
Crane.PlayerLeftCrane
Game.SetMinigameInProgress(False)
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords($magno_cabin_LOD, 2.0, -4.0, 0.0)
$in_carX = World.GetGroundZFor3DCoord($on_footY, $on_footZ, $in_carX)
Char.SetCoordinates($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX)
Char.DetachFromCar($stattreadstamina_ctr)
Char.FreezePosition($stattreadstamina_ctr, False)
Char.SetVisible($stattreadstamina_ctr, True)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Player.SetControl($statbike_temp, True)
Char.ClearTasksImmediately($stattreadstamina_ctr)
Camera.SetBehindPlayer
Camera.RestoreJumpcut
$finish_crane_loading_script = 0
$magno_camera_type = 0
0@ = 0
Object.SetVelocity($magno_cabin_LOD, 0.0, 0.0, 0.0)

:CRANE2_4672
goto @CRANE2_4704

:CRANE2_4679
if 
  0@ <> 0
goto_if_false @CRANE2_4704
0@ = 0

:CRANE2_4704
goto @CRANE2_4713

:CRANE2_4711
terminate_this_script 

:CRANE2_4713
goto @CRANE2_4729

:CRANE2_4720
0@ = 0
terminate_this_script 

:CRANE2_4729
goto @CRANE2_150

:CRANE2_4736
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Select)
goto_if_false @CRANE2_4825
if 
  29@ == 0
goto_if_false @CRANE2_4818
27@ += 1
if 
  27@ > 2
goto_if_false @CRANE2_4803
27@ = 0

:CRANE2_4803
set_var_int_to_lvar_int $bball_challenge_timer = 27@
29@ += 1

:CRANE2_4818
goto @CRANE2_4850

:CRANE2_4825
if 
  29@ <> 0
goto_if_false @CRANE2_4850
29@ = 0

:CRANE2_4850
if 
  $finish_crane_loading_script == 2
goto_if_false @CRANE2_4901
if 
  $remove_player_from_crane == 1
goto_if_false @CRANE2_4901
set_lvar_int_to_var_int 27@ = $bball_challenge_timer
$remove_player_from_crane = 0

:CRANE2_4901
if 
  not is_int_var_equal_to_int_lvar $bball_challenge_timer == 27@
goto_if_false @CRANE2_4928
set_var_int_to_lvar_int $bball_challenge_timer = 27@

:CRANE2_4928
if 
  27@ == 0
goto_if_false @CRANE2_4998
if 
  Object.DoesExist($magno_arm_LOD)
goto_if_false @CRANE2_4991
$disable_all_cranes, $do_not_update_camera_crane1, $crane1_cam_mode = Object.GetOffsetInWorldCoords($magno_arm_LOD, 6.1, 15.0, 5.1)

:CRANE2_4991
goto @CRANE2_5113

:CRANE2_4998
if 
  27@ == 1
goto_if_false @CRANE2_5068
if 
  Object.DoesExist($magno_cabin_LOD)
goto_if_false @CRANE2_5061
$disable_all_cranes, $do_not_update_camera_crane1, $crane1_cam_mode = Object.GetOffsetInWorldCoords($magno_cabin_LOD, -4.0, 17.3, 35.0)

:CRANE2_5061
goto @CRANE2_5113

:CRANE2_5068
if 
  Object.DoesExist($magno_arm_LOD)
goto_if_false @CRANE2_5113
$disable_all_cranes, $do_not_update_camera_crane1, $crane1_cam_mode = Object.GetOffsetInWorldCoords($magno_arm_LOD, 3.0, 45.0, 0.0)

:CRANE2_5113
if 
  Object.DoesExist($magno_base_x)
goto_if_false @CRANE2_5750
$crane_rope_length, $cam_pos_x, $cam_pos_y = Object.GetOffsetInWorldCoords($magno_base_x, 0.0, $cam_look_z, -3.0)
4@ = Object.GetRopeHeight($magno_base_x)
4@ += -1.0
4@ *= -1.0
4@ *= 50.0
sub_float_lvar_from_float_var $cam_pos_y -= 4@
set_var_float_to_var_float $on_footY = $crane_rope_length
sub_float_var_from_float_var $on_footY -= $magno_arm_h
set_var_float_to_var_float $on_footZ = $cam_pos_x
sub_float_var_from_float_var $on_footZ -= $magno_arm_rotate_y
4@ = Math.GetDistanceBetweenCoords2D($crane_rope_length, $cam_pos_x, $magno_arm_h, $magno_arm_rotate_y)
div_float_var_by_float_lvar $on_footY /= 4@
div_float_var_by_float_lvar $on_footZ /= 4@
mult_float_var_by_float_var $on_footY *= $cam_look_z
mult_float_var_by_float_var $on_footZ *= $cam_look_z
set_var_float_to_var_float $crane_rope_length = $magno_arm_h
add_float_var_to_float_var $crane_rope_length += $on_footY
set_var_float_to_var_float $cam_pos_x = $magno_arm_rotate_y
add_float_var_to_float_var $cam_pos_x += $on_footZ
4@ = Math.GetDistanceBetweenCoords3D($crane_rope_length, $cam_pos_x, $cam_pos_y, $cam_pos_z, $new_cam_look_x, $new_cam_look_y)
if 
  4@ > 0.3
goto_if_false @CRANE2_5461
set_var_float_to_var_float $new_cam_look_z = $crane_rope_length
sub_float_var_from_float_var $new_cam_look_z -= $cam_pos_z
set_var_float_to_var_float $cam_look_x = $cam_pos_x
sub_float_var_from_float_var $cam_look_x -= $new_cam_look_x
set_var_float_to_var_float $cam_look_y = $cam_pos_y
sub_float_var_from_float_var $cam_look_y -= $new_cam_look_y
$new_cam_look_z *= 0.05
$cam_look_x *= 0.05
$cam_look_y *= 0.05
add_float_var_to_float_var $cam_pos_z += $new_cam_look_z
add_float_var_to_float_var $new_cam_look_x += $cam_look_x
add_float_var_to_float_var $new_cam_look_y += $cam_look_y

:CRANE2_5461
$on_footY, $on_footZ, $in_carX = Camera.GetActiveCoordinates()
if 
  $disable_crane_slide == 0
goto_if_false @CRANE2_5616
set_lvar_float_to_var_float 12@ = $disable_all_cranes
sub_float_var_from_float_lvar 12@ -= $on_footY
set_lvar_float_to_var_float 13@ = $do_not_update_camera_crane1
sub_float_var_from_float_lvar 13@ -= $on_footZ
set_lvar_float_to_var_float 14@ = $crane1_cam_mode
sub_float_var_from_float_lvar 14@ -= $in_carX
12@ *= 0.2
13@ *= 0.2
14@ *= 0.2
set_var_float_to_var_float $disable_all_cranes = $on_footY
add_float_lvar_to_float_var $disable_all_cranes += 12@
set_var_float_to_var_float $do_not_update_camera_crane1 = $on_footZ
add_float_lvar_to_float_var $do_not_update_camera_crane1 += 13@
set_var_float_to_var_float $crane1_cam_mode = $in_carX
add_float_lvar_to_float_var $crane1_cam_mode += 14@

:CRANE2_5616
Camera.SetFixedPosition($disable_all_cranes, $do_not_update_camera_crane1, $crane1_cam_mode, 0.0, 0.0, 0.0)
Camera.PointAtPoint($cam_pos_z, $new_cam_look_x, $new_cam_look_y, SwitchType.JumpCut)
set_var_float_to_var_float $new_cam_look_z = $cam_pos_z
sub_float_var_from_float_var $new_cam_look_z -= $disable_all_cranes
set_var_float_to_var_float $cam_look_x = $new_cam_look_x
sub_float_var_from_float_var $cam_look_x -= $do_not_update_camera_crane1
set_var_float_to_var_float $cam_look_y = $new_cam_look_y
sub_float_var_from_float_var $cam_look_y -= $crane1_cam_mode
4@ = Math.GetDistanceBetweenCoords3D($disable_all_cranes, $do_not_update_camera_crane1, $crane1_cam_mode, $cam_pos_z, $new_cam_look_x, $new_cam_look_y)
div_float_var_by_float_lvar $new_cam_look_z /= 4@
div_float_var_by_float_lvar $cam_look_x /= 4@
div_float_var_by_float_lvar $cam_look_y /= 4@

:CRANE2_5750
return 
terminate_this_script 

//-------------External script 69 (CRANE3)---------------

:CRANE3
script_name 'CRANE3'
3@ = 0
if 
  3@ == 1
goto_if_false @CRANE3_124
0@ = Object.CreateNoOffset(#WOODENBOX, 0.0, 0.0, 0.0)
1@ = Object.CreateNoOffset(#WOODENBOX, 0.0, 0.0, 0.0)
2@ = Object.CreateNoOffset(#WOODENBOX, 0.0, 0.0, 0.0)
3@ = Object.CreateNoOffset(#WOODENBOX, 0.0, 0.0, 0.0)

:CRANE3_124
$cammy_off_Y = 0

:CRANE3_131
wait 0
if 
  Object.DoesExist(0@)
goto_if_false @CRANE3_1554
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE3_1547
if 
  $cammy_off_Z == 0
goto_if_false @CRANE3_1547
if 
  Char.LocateAnyMeansObject2D($stattreadstamina_ctr, 0@, 100.0, 100.0, False)
goto_if_false @CRANE3_1538
if 
  3@ == 0
goto_if_false @CRANE3_270
5@, 6@, 7@ = Object.GetOffsetInWorldCoords(0@, 3.0899, 2.9792, 0.0081)
3@ += 1

:CRANE3_270
if 
  3@ == 1
goto_if_false @CRANE3_440
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, 5@, 6@, 7@, 1.2, 1.2, 1.5, True)
goto_if_false @CRANE3_413
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @CRANE3_406
if 
  $cammy_off_Y == 0
goto_if_false @CRANE3_382
Text.PrintHelpForever('CR_2')
$cammy_off_Y = 1

:CRANE3_382
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CRANE3_406
3@ += 1

:CRANE3_406
goto @CRANE3_440

:CRANE3_413
if 
  $cammy_off_Y <> 0
goto_if_false @CRANE3_440
Text.ClearHelp
$cammy_off_Y = 0

:CRANE3_440
if 
  3@ == 2
goto_if_false @CRANE3_719
if 
  Object.DoesExist(0@)
goto_if_false @CRANE3_482
Audio.ReportMissionAudioEventAtObject(0@, 1019)

:CRANE3_482
Player.SetControl($statbike_temp, False)
Game.SetMinigameInProgress(True)
Camera.DoFade(500, Fade.Out)

:CRANE3_500
if 
  Camera.GetFadingStatus
goto_if_false @CRANE3_524
wait 0
goto @CRANE3_500

:CRANE3_524
Crane.PlayerEnteredQuarryCrane
Text.DisplayNonMinigameHelpMessages(True)
4@ = Object.GetHeading(1@)
if 
  Object.DoesExist(0@)
goto_if_false @CRANE3_570
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE3_570

:CRANE3_570
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE3_656
Char.FreezePosition($stattreadstamina_ctr, True)
Char.SetCoordinates($stattreadstamina_ctr, 713.5652, 906.2935, -18.0674)
Char.SetVisible($stattreadstamina_ctr, False)
Player.SetControl($statbike_temp, True)
Char.SetCollision($stattreadstamina_ctr, False)
Char.SetProofs($stattreadstamina_ctr, True, True, True, True, True)
15@ = 0

:CRANE3_656
Text.PrintHelpForever('QUAR_1')
gosub @CRANE3_1570
Game.SetEveryoneIgnorePlayer($statbike_temp, False)
Camera.DoFade(500, Fade.In)

:CRANE3_688
if 
  Camera.GetFadingStatus
goto_if_false @CRANE3_712
wait 0
goto @CRANE3_688

:CRANE3_712
3@ += 1

:CRANE3_719
if 
  3@ == 3
goto_if_false @CRANE3_1383
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE3_1383
gosub @CRANE3_1570
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftStickX)
goto_if_false @CRANE3_875
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
cset_lvar_float_to_var_int 8@ =# $been_in_a_bmx
8@ /= 500.0
sub_timed_float_lvar_from_float_lvar 4@ -=@ 8@
if 
  15@ <> 1
goto_if_false @CRANE3_868
if 
  Object.DoesExist(0@)
goto_if_false @CRANE3_868
Audio.ReportMissionAudioEventAtObject(0@, 1020)
15@ = 1

:CRANE3_868
goto @CRANE3_924

:CRANE3_875
if 
  15@ <> 0
goto_if_false @CRANE3_924
if 
  Object.DoesExist(0@)
goto_if_false @CRANE3_924
Audio.ReportMissionAudioEventAtObject(0@, 1021)
15@ = 0

:CRANE3_924
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftStickY)
goto_if_false @CRANE3_1187
$been_in_a_bmx, $tucking_contact_blip, $launch_shit_for_debug_build, $game_starts_from_scratch = Pad.GetPositionOfAnalogueSticks(PadId.Pad1)
cset_lvar_float_to_var_int 8@ =# $tucking_contact_blip
8@ /= 1000.0
8@ *= 1.5
sub_timed_float_lvar_from_float_var $lv_base -=@ 8@

:CRANE3_993
if 
  0.0 > $lv_base
goto_if_false @CRANE3_1031
$lv_base += 360.0
goto @CRANE3_993

:CRANE3_1031
if 
  $lv_base > 360.0
goto_if_false @CRANE3_1069
$lv_base += -360.0
goto @CRANE3_1031

:CRANE3_1069
if 
  $lv_base > 70.0
goto_if_false @CRANE3_1100
$lv_base = 70.0

:CRANE3_1100
if 
  10.0 > $lv_base
goto_if_false @CRANE3_1131
$lv_base = 10.0

:CRANE3_1131
if 
  16@ <> 1
goto_if_false @CRANE3_1180
if 
  Object.DoesExist(0@)
goto_if_false @CRANE3_1180
Audio.ReportMissionAudioEventAtObject(2@, 1020)
16@ = 1

:CRANE3_1180
goto @CRANE3_1236

:CRANE3_1187
if 
  16@ <> 0
goto_if_false @CRANE3_1236
if 
  Object.DoesExist(0@)
goto_if_false @CRANE3_1236
Audio.ReportMissionAudioEventAtObject(2@, 1021)
16@ = 0

:CRANE3_1236
if 
  Object.DoesExist(1@)
goto_if_false @CRANE3_1268
Object.SetHeading(1@, 4@)
Char.SetHeading($stattreadstamina_ctr, 4@)

:CRANE3_1268
if 
  Object.DoesExist(2@)
goto_if_false @CRANE3_1359
if 
  Object.DoesExist(1@)
goto_if_false @CRANE3_1359
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(1@, 0.0, 0.0, 1.0206)
Object.SetCoordinatesAndVelocity(2@, $on_footY, $on_footZ, $in_carX)
Object.SetRotation(2@, 0.0, $lv_base, 4@)

:CRANE3_1359
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CRANE3_1383
3@ += 1

:CRANE3_1383
if 
  3@ == 4
goto_if_false @CRANE3_1531
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CRANE3_1531
Text.ClearHelp
if 
  Object.DoesExist(0@)
goto_if_false @CRANE3_1443
Audio.ReportMissionAudioEventAtObject(0@, 1022)

:CRANE3_1443
Crane.PlayerLeftCrane
Game.SetMinigameInProgress(False)
Char.FreezePosition($stattreadstamina_ctr, False)
Char.SetVisible($stattreadstamina_ctr, True)
Char.SetCollision($stattreadstamina_ctr, True)
Char.SetProofs($stattreadstamina_ctr, False, False, False, False, False)
Player.SetControl($statbike_temp, True)
Char.SetCoordinates($stattreadstamina_ctr, 706.2595, 918.6275, -19.6407)
Char.SetHeading($stattreadstamina_ctr, 127.184)
Camera.RestoreJumpcut
3@ = 0

:CRANE3_1531
goto @CRANE3_1547

:CRANE3_1538
3@ = 0
terminate_this_script 

:CRANE3_1547
goto @CRANE3_1563

:CRANE3_1554
3@ = 0
terminate_this_script 

:CRANE3_1563
goto @CRANE3_131

:CRANE3_1570
if 
  Object.DoesExist(1@)
goto_if_false @CRANE3_1615
9@, 10@, 11@ = Object.GetOffsetInWorldCoords(1@, -9.0, -6.8, 6.0)

:CRANE3_1615
if 
  Object.DoesExist(2@)
goto_if_false @CRANE3_1730
$on_footY, $on_footZ, $in_carX = Object.GetOffsetInWorldCoords(2@, 0.0, 0.0, 59.0)
8@ = Object.GetRopeHeight(2@)
8@ += -1.0
8@ *= -1.0
8@ *= 72.0
sub_float_lvar_from_float_var $in_carX -= 8@
set_lvar_float_to_var_float 12@ = $on_footY
set_lvar_float_to_var_float 13@ = $on_footZ
set_lvar_float_to_var_float 14@ = $in_carX

:CRANE3_1730
Camera.SetFixedPosition(9@, 10@, 11@, 0.0, 0.0, 0.0)
Camera.PointAtPoint(12@, 13@, 14@, SwitchType.JumpCut)
return 
terminate_this_script 

//-------------External script 70 (CARPARK1)---------------

:CARPRK1
script_name 'CARPRK1'
set_deatharrest_state 0
0@ = 0
1@ = 0
2@ = 0
3@ = 0
4@ = 0
5@ = 0
6@ = 0
7@ = 0
8@ = 0
9@ = 0

:CARPRK1_85
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CARPRK1_2769
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2037.568, 2366.152, 9.8203, 2119.283, 2472.418, 14.1172, False)
goto_if_false @CARPRK1_251
if 
  0@ == 0
goto_if_false @CARPRK1_244
World.CreateRandomCarForCarPark(2077.872, 2398.657, 9.8203, 89.6383)
World.CreateRandomCarForCarPark(2087.099, 2414.177, 9.8203, 90.4575)
World.CreateRandomCarForCarPark(2104.859, 2416.439, 9.8203, 270.7819)
0@ = 1

:CARPRK1_244
goto @CARPRK1_308

:CARPRK1_251
if 
  0@ == 1
goto_if_false @CARPRK1_308
World.ClearAreaOfCars(2052.432, 2366.152, 9.8203, 2117.283, 2441.002, 14.1172)
0@ = 0

:CARPRK1_308
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2052.432, 2366.152, 13.1172, 2119.283, 2441.002, 18.4219, False)
goto_if_false @CARPRK1_520
if 
  1@ == 0
goto_if_false @CARPRK1_513
World.CreateRandomCarForCarPark(2104.537, 2412.3, 14.1172, 89.9851)
World.CreateRandomCarForCarPark(2095.321, 2398.559, 14.1172, 90.1384)
World.CreateRandomCarForCarPark(2087.071, 2405.525, 14.1172, 267.6596)
World.CreateRandomCarForCarPark(2087.187, 2420.887, 14.1172, 90.4995)
World.CreateRandomCarForCarPark(2078.36, 2410.139, 14.1172, 270.9704)
World.CreateRandomCarForCarPark(2069.168, 2396.778, 14.1172, 98.3338)
1@ = 1

:CARPRK1_513
goto @CARPRK1_577

:CARPRK1_520
if 
  1@ == 1
goto_if_false @CARPRK1_577
World.ClearAreaOfCars(2052.432, 2366.152, 14.1172, 2117.283, 2441.002, 18.4219)
1@ = 0

:CARPRK1_577
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2052.432, 2366.152, 17.4219, 2119.283, 2441.002, 22.7188, False)
goto_if_false @CARPRK1_789
if 
  2@ == 0
goto_if_false @CARPRK1_782
World.CreateRandomCarForCarPark(2104.517, 2405.886, 18.4219, 92.3912)
World.CreateRandomCarForCarPark(2095.688, 2396.195, 18.4219, 270.3566)
World.CreateRandomCarForCarPark(2087.0, 2416.442, 18.4219, 89.9821)
World.CreateRandomCarForCarPark(2086.925, 2402.896, 18.4219, 270.2662)
World.CreateRandomCarForCarPark(2069.071, 2409.651, 18.4219, 89.1894)
World.CreateRandomCarForCarPark(2078.146, 2416.5, 18.4219, 270.7297)
2@ = 1

:CARPRK1_782
goto @CARPRK1_846

:CARPRK1_789
if 
  2@ == 1
goto_if_false @CARPRK1_846
World.ClearAreaOfCars(2052.432, 2366.152, 18.4219, 2117.283, 2441.002, 22.7188)
2@ = 0

:CARPRK1_846
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2052.432, 2366.152, 21.7188, 2119.283, 2441.002, 27.0234, False)
goto_if_false @CARPRK1_1058
if 
  3@ == 0
goto_if_false @CARPRK1_1051
World.CreateRandomCarForCarPark(2104.499, 2411.852, 22.7188, 90.7897)
World.CreateRandomCarForCarPark(2104.483, 2407.618, 22.7188, 91.9516)
World.CreateRandomCarForCarPark(2087.242, 2400.854, 22.7188, 269.9636)
World.CreateRandomCarForCarPark(2078.313, 2412.077, 22.7188, 267.6149)
World.CreateRandomCarForCarPark(2069.138, 2396.251, 22.7188, 92.2442)
World.CreateRandomCarForCarPark(2078.179, 2392.021, 22.7188, 87.7661)
3@ = 1

:CARPRK1_1051
goto @CARPRK1_1115

:CARPRK1_1058
if 
  3@ == 1
goto_if_false @CARPRK1_1115
World.ClearAreaOfCars(2052.432, 2366.152, 22.7188, 2117.283, 2441.002, 27.0234)
3@ = 0

:CARPRK1_1115
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2052.432, 2366.152, 24.7815, 2119.283, 2441.002, 31.3203, False)
goto_if_false @CARPRK1_1327
if 
  4@ == 0
goto_if_false @CARPRK1_1320
World.CreateRandomCarForCarPark(2069.661, 2416.422, 27.0234, 268.612)
World.CreateRandomCarForCarPark(2077.872, 2398.657, 27.0234, 89.6383)
World.CreateRandomCarForCarPark(2087.195, 2394.364, 27.0234, 271.5008)
World.CreateRandomCarForCarPark(2087.099, 2414.177, 27.0234, 90.4575)
World.CreateRandomCarForCarPark(2095.818, 2398.686, 27.0234, 268.2181)
World.CreateRandomCarForCarPark(2104.859, 2416.439, 27.0234, 270.7819)
4@ = 1

:CARPRK1_1320
goto @CARPRK1_1384

:CARPRK1_1327
if 
  4@ == 1
goto_if_false @CARPRK1_1384
World.ClearAreaOfCars(2052.432, 2366.152, 27.0234, 2117.283, 2441.002, 31.3203)
4@ = 0

:CARPRK1_1384
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2052.432, 2366.152, 30.3203, 2119.283, 2441.002, 35.6172, False)
goto_if_false @CARPRK1_1596
if 
  5@ == 0
goto_if_false @CARPRK1_1589
World.CreateRandomCarForCarPark(2104.537, 2412.3, 31.3203, 89.9851)
World.CreateRandomCarForCarPark(2095.321, 2398.559, 31.3203, 90.1384)
World.CreateRandomCarForCarPark(2087.071, 2405.525, 31.3203, 267.6596)
World.CreateRandomCarForCarPark(2087.187, 2420.887, 31.3203, 90.4995)
World.CreateRandomCarForCarPark(2078.36, 2410.139, 31.3203, 270.9704)
World.CreateRandomCarForCarPark(2069.168, 2396.778, 31.3203, 98.3338)
5@ = 1

:CARPRK1_1589
goto @CARPRK1_1653

:CARPRK1_1596
if 
  5@ == 1
goto_if_false @CARPRK1_1653
World.ClearAreaOfCars(2052.432, 2366.152, 31.3203, 2117.283, 2441.002, 35.6172)
5@ = 0

:CARPRK1_1653
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2052.432, 2366.152, 34.6172, 2119.283, 2441.002, 39.9219, False)
goto_if_false @CARPRK1_1865
if 
  6@ == 0
goto_if_false @CARPRK1_1858
World.CreateRandomCarForCarPark(2104.517, 2405.886, 35.6172, 92.3912)
World.CreateRandomCarForCarPark(2095.688, 2396.195, 35.6172, 270.3566)
World.CreateRandomCarForCarPark(2087.0, 2416.442, 35.6172, 89.9821)
World.CreateRandomCarForCarPark(2086.925, 2402.896, 35.6172, 270.2662)
World.CreateRandomCarForCarPark(2069.071, 2409.651, 35.6172, 89.1894)
World.CreateRandomCarForCarPark(2078.146, 2416.5, 35.6172, 270.7297)
6@ = 1

:CARPRK1_1858
goto @CARPRK1_1922

:CARPRK1_1865
if 
  6@ == 1
goto_if_false @CARPRK1_1922
World.ClearAreaOfCars(2052.432, 2366.152, 35.6172, 2117.283, 2441.002, 39.9219)
6@ = 0

:CARPRK1_1922
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2052.432, 2366.152, 38.9219, 2119.283, 2441.002, 44.2188, False)
goto_if_false @CARPRK1_2134
if 
  7@ == 0
goto_if_false @CARPRK1_2127
World.CreateRandomCarForCarPark(2104.499, 2411.852, 39.9219, 90.7897)
World.CreateRandomCarForCarPark(2104.483, 2407.618, 39.9219, 91.9516)
World.CreateRandomCarForCarPark(2087.242, 2400.854, 39.9219, 269.9636)
World.CreateRandomCarForCarPark(2078.313, 2412.077, 39.9219, 267.6149)
World.CreateRandomCarForCarPark(2069.138, 2396.251, 39.9219, 92.2442)
World.CreateRandomCarForCarPark(2078.179, 2392.021, 39.9219, 87.7661)
7@ = 1

:CARPRK1_2127
goto @CARPRK1_2191

:CARPRK1_2134
if 
  7@ == 1
goto_if_false @CARPRK1_2191
World.ClearAreaOfCars(2052.432, 2366.152, 39.9219, 2117.283, 2441.002, 44.2188)
7@ = 0

:CARPRK1_2191
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2052.432, 2366.152, 43.2188, 2119.283, 2441.002, 48.5234, False)
goto_if_false @CARPRK1_2403
if 
  8@ == 0
goto_if_false @CARPRK1_2396
World.CreateRandomCarForCarPark(2069.661, 2416.422, 44.2188, 268.612)
World.CreateRandomCarForCarPark(2077.872, 2398.657, 44.2188, 89.6383)
World.CreateRandomCarForCarPark(2087.195, 2394.364, 44.2188, 271.5008)
World.CreateRandomCarForCarPark(2087.099, 2414.177, 44.2188, 90.4575)
World.CreateRandomCarForCarPark(2095.818, 2398.686, 44.2188, 268.2181)
World.CreateRandomCarForCarPark(2104.859, 2416.439, 44.2188, 270.7819)
8@ = 1

:CARPRK1_2396
goto @CARPRK1_2460

:CARPRK1_2403
if 
  8@ == 1
goto_if_false @CARPRK1_2460
World.ClearAreaOfCars(2052.432, 2366.152, 44.2188, 2117.283, 2441.002, 48.5234)
8@ = 0

:CARPRK1_2460
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2052.432, 2366.152, 44.5234, 2119.283, 2441.002, 55.9123, False)
goto_if_false @CARPRK1_2672
if 
  9@ == 0
goto_if_false @CARPRK1_2665
World.CreateRandomCarForCarPark(2104.537, 2412.3, 48.5234, 89.9851)
World.CreateRandomCarForCarPark(2095.321, 2398.559, 48.5234, 90.1384)
World.CreateRandomCarForCarPark(2087.071, 2405.525, 48.5234, 267.6596)
World.CreateRandomCarForCarPark(2087.187, 2420.887, 48.5234, 90.4995)
World.CreateRandomCarForCarPark(2078.36, 2410.139, 48.5234, 270.9704)
World.CreateRandomCarForCarPark(2069.168, 2396.778, 48.5234, 98.3338)
9@ = 1

:CARPRK1_2665
goto @CARPRK1_2729

:CARPRK1_2672
if 
  9@ == 1
goto_if_false @CARPRK1_2729
World.ClearAreaOfCars(2052.432, 2366.152, 48.5234, 2117.283, 2441.002, 52.9123)
9@ = 0

:CARPRK1_2729
if 
  not Char.IsInArea2D($stattreadstamina_ctr, 2037.536, 2365.373, 2119.9, 2483.922, False)
goto_if_false @CARPRK1_2769
terminate_this_script 

:CARPRK1_2769
goto @CARPRK1_85
terminate_this_script 

//-------------External script 71 (IMPOUND)---------------

:IMPND
script_name 'IMPND'
$10545[0] = 0
$10545[1] = 0
$10545[2] = 0
$10545[3] = 0
$10545[4] = 0
$10545[5] = 0
$10545[6] = 0
$10545[7] = 0
$10555 = 1540.632
$10559 = -1603.163
$10563 = 17.6564
$10567 = 1607.27
$10571 = -1637.528
$10575 = 12.774
$10579 = 1613.319
$10583 = -1633.612
$10587 = 12.077
$10591 = 1522.73
$10595 = -1721.398
$10599 = 4.2191
$10556 = -1572.807
$10560 = 646.8937
$10564 = 10.5019
$10568 = -1641.409
$10572 = 687.6273
$10576 = 4.8704
$10580 = -1700.933
$10584 = 680.025
$10588 = 27.7313
$10592 = -1638.982
$10596 = 699.3646
$10600 = 5.0489
$activate_doors = 2238.01
$10561 = 2430.891
$10565 = 11.764
$10569 = 2304.289
$10573 = 2502.322
$10577 = -9.0538
$10581 = 2238.01
$10585 = 2430.891
$10589 = 11.764
$10593 = 2304.289
$10597 = 2502.322
$10601 = -9.0538
$cop_territory_zb2[1] = 1544.691
$imp_barrier_x1[1] = -1630.75
$imp_barrier_y1[1] = 13.043
$imp_barrier_z1[1] = 0.0
$imp_barrier_h1[1] = 0.0
$imp_barrier_x2[1] = 0.0
$imp_barrier_y2[1] = 0.0
$imp_barrier_z2[1] = 0.0
$cop_territory_zb2[2] = -1572.203
$imp_barrier_x1[2] = 658.7618
$imp_barrier_y1[2] = 6.8916
$imp_barrier_z1[2] = 0.0
$imp_barrier_h1[2] = -1701.43
$imp_barrier_x2[2] = 687.7184
$imp_barrier_y2[2] = 24.6525
$imp_barrier_z2[2] = 180.0
$cop_territory_zb2[3] = 2238.199
$imp_barrier_x1[3] = 2450.339
$imp_barrier_y1[3] = 10.5829
$imp_barrier_z1[3] = 0.0
$imp_barrier_h1[3] = 0.0
$imp_barrier_x2[3] = 0.0
$imp_barrier_y2[3] = 0.0
$imp_barrier_z2[3] = 0.0
$imp_barrier_h2[1] = 1588.503
$imp_shutter_x1[1] = -1637.872
$imp_shutter_y1[1] = 14.5641
$imp_shutter_z1[1] = 0.0
$imp_shutter_h1[1] = 0.0
$imp_shutter_x2[1] = 0.0
$imp_shutter_y2[1] = 0.0
$imp_shutter_z2[1] = 0.0
$imp_barrier_h2[2] = -1631.767
$imp_shutter_x1[2] = 688.4075
$imp_shutter_y1[2] = 8.5436
$imp_shutter_z1[2] = 90.0
$imp_shutter_h1[2] = 0.0
$imp_shutter_x2[2] = 0.0
$imp_shutter_y2[2] = 0.0
$imp_shutter_z2[2] = 0.0
$imp_barrier_h2[3] = 2293.83
$imp_shutter_x1[3] = 2498.804
$imp_shutter_y1[3] = 4.4414
$imp_shutter_z1[3] = 90.0
$imp_shutter_h1[3] = 2335.178
$imp_shutter_x2[3] = 2443.621
$imp_shutter_y2[3] = 6.9743
$imp_shutter_z2[3] = 59.9993
$10726 = 0
$10727 = 0
$10728 = 0
$impound_cops_created = 0
if 
  8@ == 90
goto_if_false @IMPND_1039
9@ = Object.Create(#POLICE_BARRIER, 0.0, 0.0, 0.0)
6@ = Object.Create(#KMB_SHUTTER, 0.0, 0.0, 0.0)
24@ = Char.CreateRandom(0.0, 0.0, 0.0)
19@ = Char.CreateRandom(0.0, 0.0, 0.0)

:IMPND_1039
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @IMPND_4118
if 
  0@ == 0
goto_if_false @IMPND_2453
if 
  1@ == 0
goto_if_false @IMPND_1289
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 1
goto_if_false @IMPND_1144
Streaming.RequestModel(280)
Streaming.RequestModel(346)
Streaming.RequestModel(596)
set_var_int_to_constant $10706 = 280
set_var_int_to_constant $10707 = 596

:IMPND_1144
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 2
goto_if_false @IMPND_1193
Streaming.RequestModel(281)
Streaming.RequestModel(346)
Streaming.RequestModel(597)
set_var_int_to_constant $10706 = 281
set_var_int_to_constant $10707 = 597

:IMPND_1193
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 3
goto_if_false @IMPND_1242
Streaming.RequestModel(282)
Streaming.RequestModel(346)
Streaming.RequestModel(598)
set_var_int_to_constant $10706 = 282
set_var_int_to_constant $10707 = 598

:IMPND_1242
if 
  $weapon_shop1_blip == 0
goto_if_false @IMPND_1282
22@ = 1
Streaming.RequestModel(#POLICE_BARRIER)
Streaming.RequestModel(#SFCOPDR)
Streaming.RequestModel(#KMB_SHUTTER)

:IMPND_1282
1@ = 2

:IMPND_1289
if 
  1@ == 2
goto_if_false @IMPND_2453
if and
  Streaming.HasModelLoaded($10706)
  Streaming.HasModelLoaded(346)
  Streaming.HasModelLoaded($10707)
goto_if_false @IMPND_2453
1@ = 0
if 
  $weapon_shop1_blip <> 1
goto_if_false @IMPND_1358

:IMPND_1358
2@ = DecisionMakerChar.Copy(65542)
DecisionMakerChar.AddEventResponse(2@, 15, 300, 100.0, 100.0, 100.0, 0.0, False, True)
9@ = Object.CreateNoOffset(#POLICE_BARRIER, $cop_territory_zb2($valet_oddjob_opened,4f), $imp_barrier_x1($valet_oddjob_opened,4f), $imp_barrier_y1($valet_oddjob_opened,4f))
Object.SetRotation(9@, -90.0, 0.0, $imp_barrier_z1($valet_oddjob_opened,4f))
if 
  $imp_barrier_h1($valet_oddjob_opened,4f) <> 0.0
goto_if_false @IMPND_1529
10@ = Object.CreateNoOffset(#POLICE_BARRIER, $imp_barrier_h1($valet_oddjob_opened,4f), $imp_barrier_x2($valet_oddjob_opened,4f), $imp_barrier_y2($valet_oddjob_opened,4f))
Object.SetRotation(10@, -90.0, 0.0, $imp_barrier_z2($valet_oddjob_opened,4f))

:IMPND_1529
if 
  $valet_oddjob_opened == 2
goto_if_false @IMPND_1562
11@ = -390
goto @IMPND_1570

:IMPND_1562
11@ = -389

:IMPND_1570
6@ = Object.CreateNoOffset(11@, $imp_barrier_h2($valet_oddjob_opened,4f), $imp_shutter_x1($valet_oddjob_opened,4f), $imp_shutter_y1($valet_oddjob_opened,4f))
Object.SetRotation(6@, 0.0, 0.0, $imp_shutter_z1($valet_oddjob_opened,4f))
if 
  $imp_shutter_h1($valet_oddjob_opened,4f) <> 0.0
goto_if_false @IMPND_1697
7@ = Object.CreateNoOffset(11@, $imp_shutter_h1($valet_oddjob_opened,4f), $imp_shutter_x2($valet_oddjob_opened,4f), $imp_shutter_y2($valet_oddjob_opened,4f))
Object.SetRotation(7@, 0.0, 0.0, $imp_shutter_z2($valet_oddjob_opened,4f))

:IMPND_1697
if 
  $valet_oddjob_opened == 1
goto_if_false @IMPND_1885
$dock_crane_max_speed[0] = Char.Create(PedType.Mission1, $10706, 1544.383, -1631.849, 12.3905)
Char.SetHeading($dock_crane_max_speed[0], 45.0)
$dock_crane_max_speed[2] = Char.Create(PedType.Mission1, $10706, 1578.957, -1634.127, 12.5547)
Char.SetHeading($dock_crane_max_speed[2], 0.0)
$imp_shutter_h2 = 1544.383
$10676 = -1631.849
$10686 = 12.3905
$10696 = 45.0
$10668 = 1544.383
$10678 = 1578.957
$10688 = -1634.127
$10698 = 12.554
$door_control = -90.0
$10732 = 0.0

:IMPND_1885
if 
  $valet_oddjob_opened == 2
goto_if_false @IMPND_2158
$dock_crane_max_speed[1] = Char.Create(PedType.Mission1, $10706, -1700.839, 688.9841, 23.9032)
Char.SetHeading($dock_crane_max_speed[1], 134.0)
$dock_crane_max_speed[0] = Char.Create(PedType.Mission1, $10706, -1572.705, 657.5745, 6.2446)
Char.SetHeading($dock_crane_max_speed[0], 304.0)
$dock_crane_max_speed[2] = Char.Create(PedType.Mission1, $10706, -1616.822, 679.9485, 6.1901)
Char.SetHeading($dock_crane_max_speed[2], 188.0)
$imp_shutter_h2 = -1572.705
$10676 = 657.5745
$10686 = 6.2446
$10696 = 304.0
$10667 = -1700.839
$10677 = 688.9841
$10687 = 23.9032
$10697 = 134.0
$10668 = -1616.822
$10678 = 679.9485
$10688 = 6.1901
$10698 = 188.0
$door_control = -90.0
$10731 = -90.0
$10732 = 0.0

:IMPND_2158
if 
  $valet_oddjob_opened == 3
goto_if_false @IMPND_2326
$dock_crane_max_speed[0] = Char.Create(PedType.Mission1, $10706, 2238.569, 2449.417, 10.0372)
Char.SetHeading($dock_crane_max_speed[0], 90.0)
$dock_crane_max_speed[2] = Char.Create(PedType.Mission1, $10706, 2250.277, 2489.333, 9.8203)
Char.SetHeading($dock_crane_max_speed[2], 90.0)
$imp_shutter_h2 = 2238.569
$10676 = 2449.417
$10686 = 10.0372
$10696 = 90.0
$10668 = 2250.277
$10678 = 2489.333
$10688 = 9.8203
$10698 = 90.0

:IMPND_2326
12@ = 0

:IMPND_2333
if 
  3 > 12@
goto_if_false @IMPND_2446
if 
  not Char.IsDead($dock_crane_max_speed(12@,8i))
goto_if_false @IMPND_2432
Char.SetDecisionMaker($dock_crane_max_speed(12@,8i), 2@)
Char.GiveWeapon($dock_crane_max_speed(12@,8i), WeaponType.Pistol, 9999)
Char.SetRelationship($dock_crane_max_speed(12@,8i), RelationshipType.Dislike, PedType.Player1)
$10529(12@,8i) = 0
$10521(12@,8i) = 5

:IMPND_2432
12@ += 1
goto @IMPND_2333

:IMPND_2446
0@ = 2

:IMPND_2453
if 
  0@ == 2
goto_if_false @IMPND_4111
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
gosub @IMPND_5547
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 4@
goto_if_false @IMPND_2583
set_lvar_int_to_lvar_int 4@ = TIMERA
4@ += 90
gosub @IMPND_21068
if 
  $cop_car == 0
goto_if_false @IMPND_2583
if 
  $10709 == 1
goto_if_false @IMPND_2583
$cop_car = 1
gosub @IMPND_4150

:IMPND_2583
if 
  $weapon_shop1_blip == 1
goto_if_false @IMPND_2641
if 
  22@ == 1
goto_if_false @IMPND_2641
22@ = 0
Streaming.MarkModelAsNoLongerNeeded(#POLICE_BARRIER)
Streaming.MarkModelAsNoLongerNeeded(#SFCOPDR)
Streaming.MarkModelAsNoLongerNeeded(#KMB_SHUTTER)

:IMPND_2641
if 
  20@ == 1
goto_if_false @IMPND_2754
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
8@ = Math.RandomIntInRange(0, 4)
if 
  8@ == 0
goto_if_false @IMPND_2697
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 10204)

:IMPND_2697
if 
  8@ == 1
goto_if_false @IMPND_2722
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 10205)

:IMPND_2722
if 
  8@ == 2
goto_if_false @IMPND_2747
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 10206)

:IMPND_2747
20@ = 2

:IMPND_2754
if 
  20@ == 2
goto_if_false @IMPND_2851
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @IMPND_2851
if 
  not Char.IsDead(19@)
goto_if_false @IMPND_2851
Audio.AttachMissionAudioToChar(MissionAudioSlot.Slot4, 19@)
Char.ShutUp(19@, True)
Char.DisableSpeech(19@, True)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
20@ = 3
set_lvar_int_to_lvar_int 21@ = TIMERA
21@ += 10000

:IMPND_2851
if 
  20@ == 3
goto_if_false @IMPND_2925
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 21@
goto_if_false @IMPND_2925
20@ = 0
if 
  not Char.IsDead(19@)
goto_if_false @IMPND_2925
Char.ShutUp(19@, False)
Char.DisableSpeech(19@, False)

:IMPND_2925
if 
  20@ == 4
goto_if_false @IMPND_3038
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
8@ = Math.RandomIntInRange(0, 4)
if 
  8@ == 0
goto_if_false @IMPND_2981
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 10200)

:IMPND_2981
if 
  8@ == 1
goto_if_false @IMPND_3006
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 10201)

:IMPND_3006
if 
  8@ == 2
goto_if_false @IMPND_3031
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 10202)

:IMPND_3031
20@ = 2

:IMPND_3038
if 
  20@ == 5
goto_if_false @IMPND_3076
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 36000)
20@ = 2

:IMPND_3076
if 
  $10520 == 1
goto_if_false @IMPND_3407
if 
  Audio.HasMissionAudioFinished(MissionAudioSlot.Slot4)
goto_if_false @IMPND_3407
if 
  Audio.HasMissionAudioLoaded(MissionAudioSlot.Slot4)
goto_if_false @IMPND_3407
if 
  $valet_oddjob_opened == 1
goto_if_false @IMPND_3199
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot4, 6@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot4, 1589.06, -1694.729, 10.4887)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot4, 1541.513, -1685.943, 10.1571)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)

:IMPND_3199
if 
  $valet_oddjob_opened == 2
goto_if_false @IMPND_3297
Audio.AttachMissionAudioToObject(MissionAudioSlot.Slot4, 6@)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot4, -1619.873, 742.786, -2.1389)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot4, -1594.096, 716.011, -3.1454)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot4, -1605.518, 672.6205, -3.2395)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)

:IMPND_3297
if 
  $valet_oddjob_opened == 3
goto_if_false @IMPND_3407
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot4, 2296.433, 2444.295, 7.0111)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot4, 2255.404, 2446.676, 5.6601)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot4, 2243.107, 2498.225, 8.5154)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)
Audio.SetMissionAudioPosition(MissionAudioSlot.Slot4, 2296.927, 2492.902, 0.2841)
Audio.PlayMissionAudio(MissionAudioSlot.Slot4)

:IMPND_3407
16@ = 0

:IMPND_3414
if 
  8 > 16@
goto_if_false @IMPND_3682
if 
  not Char.IsDead($dock_crane_max_speed(16@,8i))
goto_if_false @IMPND_3668
if 
  0 <= $imp_f(16@,8i)
goto_if_false @IMPND_3668
$imp_f(16@,8i) = Char.GetHighestPriorityEvent($dock_crane_max_speed(16@,8i))
if 
  $imp_f(16@,8i) <> 0
goto_if_false @IMPND_3668
if or
  is_int_var_equal_to_constant $imp_f(16@,8i) == 15
  is_int_var_equal_to_constant $imp_f(16@,8i) == 49
  is_int_var_equal_to_constant $imp_f(16@,8i) == 9
goto_if_false @IMPND_3581
$imp_f(16@,8i) = -2
$10739, $10740, $10741 = Char.GetCoordinates($stattreadstamina_ctr)

:IMPND_3581
if 
  is_int_var_equal_to_constant $imp_f(16@,8i) == 62
goto_if_false @IMPND_3668
if 
  Char.LocateAnyMeansChar3D($dock_crane_max_speed(16@,8i), $stattreadstamina_ctr, 5.0, 5.0, 3.0, False)
goto_if_false @IMPND_3668
$imp_f(16@,8i) = -1
$10739, $10740, $10741 = Char.GetCoordinates($stattreadstamina_ctr)

:IMPND_3668
16@ += 1
goto @IMPND_3414

:IMPND_3682
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 3@
goto_if_false @IMPND_3892
set_lvar_int_to_lvar_int 3@ = TIMERA
3@ += 100
if 
  not Char.IsDead($dock_crane_max_speed(12@,8i))
goto_if_false @IMPND_3794
$cop_model = 0
23@ = 0
set_lvar_int_to_var_int 13@ = $10521(12@,8i)
gosub @IMPND_21725
gosub @IMPND_10480
$imp_f(12@,8i) = 0
goto @IMPND_3860

:IMPND_3794
if 
  is_int_lvar_equal_to_int_var 19@ == $dock_crane_max_speed(12@,8i)
goto_if_false @IMPND_3860
if and
  20@ <> 0
  $10520 == 0
goto_if_false @IMPND_3846
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)

:IMPND_3846
20@ = 0
19@ = 0

:IMPND_3860
12@ += 1
if 
  12@ > 7
goto_if_false @IMPND_3892
12@ = 0

:IMPND_3892
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 1
goto_if_false @IMPND_3965
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 1579.425, -1636.463, 14.5812, 120.0, 120.0, 80.0, False)
goto_if_false @IMPND_3965
gosub @IMPND_22003

:IMPND_3965
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 2
goto_if_false @IMPND_4038
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, -1624.771, 679.6637, 8.569, 120.0, 120.0, 80.0, False)
goto_if_false @IMPND_4038
gosub @IMPND_22003

:IMPND_4038
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 3
goto_if_false @IMPND_4111
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2284.592, 2466.838, 12.2306, 120.0, 120.0, 80.0, False)
goto_if_false @IMPND_4111
gosub @IMPND_22003

:IMPND_4111
goto @IMPND_4143

:IMPND_4118
if 
  0@ == 2
goto_if_false @IMPND_4143
gosub @IMPND_22003

:IMPND_4143
goto @IMPND_1039

:IMPND_4150
if 
  $valet_oddjob_opened == 3
goto_if_false @IMPND_4580
$10721[0] = Car.Create($10707, 2285.502, 2473.748, 2.266)
$10721[1] = Car.Create($10707, 2314.358, 2475.845, 2.266)
$10721[2] = Car.Create($10707, 2240.971, 2476.485, -8.4476)
$10721[3] = Car.Create($10707, 2303.053, 2431.712, -8.4531)
Car.SetHeading($10721[0], 179.4722)
Car.SetHeading($10721[1], 268.529)
Car.SetHeading($10721[2], 92.5631)
Car.SetHeading($10721[3], 180.0971)
Car.LockDoors($10721[0], CarLock.LockoutPlayerOnly)
Car.LockDoors($10721[1], CarLock.Unlocked)
Car.LockDoors($10721[2], CarLock.LockoutPlayerOnly)
Car.LockDoors($10721[3], CarLock.Unlocked)
$dock_crane_max_speed[3] = Char.CreateInsideCar($10721[0], PedType.Mission1, $10706)
$dock_crane_max_speed[4] = Char.CreateAsPassenger($10721[0], PedType.Mission1, $10706, 0)
$dock_crane_max_speed[5] = Char.Create(PedType.Mission1, $10706, 2278.1, 2425.453, 2.4766)
$dock_crane_max_speed[6] = Char.Create(PedType.Mission1, $10706, 2268.906, 2449.246, -8.1953)
Char.SetHeading($dock_crane_max_speed[5], 187.5721)
Char.SetHeading($dock_crane_max_speed[6], 228.3262)
$10521[3] = 5
$10521[4] = 5
$10521[5] = 5
$10521[6] = 5
$10529[3] = 0
$10529[4] = 0
$10529[5] = 0
$10529[6] = 0
12@ = 3

:IMPND_4489
if 
  7 > 12@
goto_if_false @IMPND_4580
if 
  not Char.IsDead($dock_crane_max_speed(12@,8i))
goto_if_false @IMPND_4566
Char.SetDecisionMaker($dock_crane_max_speed(12@,8i), 2@)
Char.GiveWeapon($dock_crane_max_speed(12@,8i), WeaponType.Pistol, 9999)
Char.SetRelationship($dock_crane_max_speed(12@,8i), RelationshipType.Dislike, PedType.Player1)

:IMPND_4566
12@ += 1
goto @IMPND_4489

:IMPND_4580
if 
  $valet_oddjob_opened == 2
goto_if_false @IMPND_5017
$10721[0] = Car.Create($10707, -1600.142, 748.2594, -6.2344)
$10721[1] = Car.Create($10707, -1616.233, 691.9449, -6.2422)
$10721[2] = Car.Create($10707, -1574.061, 717.9744, -6.2344)
$10721[3] = Car.Create($10707, -1574.305, 726.8611, -6.2344)
Car.SetHeading($10721[0], 359.8067)
Car.SetHeading($10721[1], 358.8804)
Car.SetHeading($10721[2], 268.0333)
Car.SetHeading($10721[3], 268.3534)
Car.LockDoors($10721[0], CarLock.LockoutPlayerOnly)
Car.LockDoors($10721[1], CarLock.Unlocked)
Car.LockDoors($10721[2], CarLock.LockoutPlayerOnly)
Car.LockDoors($10721[3], CarLock.Unlocked)
$dock_crane_max_speed[3] = Char.CreateInsideCar($10721[0], PedType.Mission1, $10706)
$dock_crane_max_speed[4] = Char.CreateAsPassenger($10721[0], PedType.Mission1, $10706, 0)
$dock_crane_max_speed[5] = Char.Create(PedType.Mission1, $10706, -1606.067, 701.3859, -5.9062)
$dock_crane_max_speed[6] = Char.Create(PedType.Mission1, $10706, -1615.934, 695.0814, -6.2422)
Char.SetHeading($dock_crane_max_speed[5], 270.5721)
Char.SetHeading($dock_crane_max_speed[6], 180.3262)
$10521[3] = 5
$10521[4] = 5
$10521[5] = 5
$10521[6] = 5
$10529[3] = 0
$10529[4] = 0
$10529[5] = 0
$10529[6] = 0
12@ = 3

:IMPND_4919
if 
  8 > 12@
goto_if_false @IMPND_5010
if 
  not Char.IsDead($dock_crane_max_speed(12@,8i))
goto_if_false @IMPND_4996
Char.SetDecisionMaker($dock_crane_max_speed(12@,8i), 2@)
Char.GiveWeapon($dock_crane_max_speed(12@,8i), WeaponType.Pistol, 9999)
Char.SetRelationship($dock_crane_max_speed(12@,8i), RelationshipType.Dislike, PedType.Player1)

:IMPND_4996
12@ += 1
goto @IMPND_4919

:IMPND_5010
12@ = 0

:IMPND_5017
if 
  $valet_oddjob_opened == 1
goto_if_false @IMPND_5545
$10721[0] = Car.Create($10707, 1586.254, -1671.732, 4.8916)
$10721[1] = Car.Create($10707, 1601.52, -1699.925, 4.8984)
$10721[2] = Car.Create($10707, 1565.429, -1710.81, 4.8984)
$10721[3] = Car.Create($10707, 1529.675, -1688.105, 4.897)
Car.SetHeading($10721[0], 90.8726)
Car.SetHeading($10721[1], 268.6337)
Car.SetHeading($10721[2], 177.2788)
Car.SetHeading($10721[3], 270.141)
Car.LockDoors($10721[0], CarLock.LockoutPlayerOnly)
Car.LockDoors($10721[1], CarLock.Unlocked)
Car.LockDoors($10721[2], CarLock.LockoutPlayerOnly)
Car.LockDoors($10721[3], CarLock.Unlocked)
$dock_crane_max_speed[3] = Char.CreateInsideCar($10721[0], PedType.Mission1, $10706)
$dock_crane_max_speed[4] = Char.CreateAsPassenger($10721[0], PedType.Mission1, $10706, 0)
$dock_crane_max_speed[5] = Char.Create(PedType.Mission1, $10706, 1527.145, -1675.299, 4.8984)
$dock_crane_max_speed[6] = Char.Create(PedType.Mission1, $10706, 1603.711, -1714.294, 5.2187)
$dock_crane_max_speed[1] = Char.Create(PedType.Mission1, $10706, 1608.285, -1715.779, 5.2187)
$dock_crane_max_speed[7] = Char.Create(PedType.Mission1, $10706, 1532.631, -1688.01, 4.8984)
Char.SetHeading($dock_crane_max_speed[5], 90.5721)
Char.SetHeading($dock_crane_max_speed[6], 242.3262)
Char.SetHeading($dock_crane_max_speed[1], 225.3262)
Char.SetHeading($dock_crane_max_speed[7], 90.3262)
$10521[1] = 5
$10521[3] = 5
$10521[4] = 5
$10521[5] = 5
$10521[6] = 5
$10521[7] = 5
$10529[3] = 0
$10529[4] = 0
$10529[5] = 0
$10529[6] = 0
$10529[7] = 0
12@ = 0

:IMPND_5447
if 
  8 > 12@
goto_if_false @IMPND_5538
if 
  not Char.IsDead($dock_crane_max_speed(12@,8i))
goto_if_false @IMPND_5524
Char.SetDecisionMaker($dock_crane_max_speed(12@,8i), 2@)
Char.GiveWeapon($dock_crane_max_speed(12@,8i), WeaponType.Pistol, 9999)
Char.SetRelationship($dock_crane_max_speed(12@,8i), RelationshipType.Dislike, PedType.Player1)

:IMPND_5524
12@ += 1
goto @IMPND_5447

:IMPND_5538
12@ = 0

:IMPND_5545
return 

:IMPND_5547
if 
  $valet_oddjob_opened == 1
goto_if_false @IMPND_6873
switch_start $10726 {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @IMPND_6147 {caseNum1} 0 {caseLabel1} @IMPND_5628 {caseNum2} 1 {caseLabel2} @IMPND_5887 {caseNum3} 2 {caseLabel3} @IMPND_5950 {caseNum4} 3 {caseLabel4} @IMPND_6017 {caseNum5} -1 {caseLabel5} @IMPND_6147 {caseNum6} -1 {caseLabel6} @IMPND_6147 {caseNum7} -1 {caseLabel7} @IMPND_6147

:IMPND_5628
if 
  $10545[0] == 0
goto_if_false @IMPND_5801
if 
  World.IsCopVehicleInArea3DNoSave(1554.32, -1632.669, 13.9475, 1535.271, -1620.762, 11.8805)
goto_if_false @IMPND_5801
if 
  not Char.IsDead($dock_crane_max_speed[0])
goto_if_false @IMPND_5801
if 
  Char.IsInArea2D($dock_crane_max_speed[0], 1543.595, -1631.279, 1545.022, -1632.704, False)
goto_if_false @IMPND_5801
$10726 = 1
if 
  $10520 == 0
goto_if_false @IMPND_5801
if 
  20@ == 0
goto_if_false @IMPND_5801
20@ = 1
set_lvar_int_to_var_int 19@ = $dock_crane_max_speed[0]

:IMPND_5801
if 
  $10553 == 1
goto_if_false @IMPND_5880
if 
  not Car.IsDead($10721[1])
goto_if_false @IMPND_5880
if 
  Car.IsInArea2D($10721[1], 1544.988, -1622.29, 1556.178, -1632.62, False)
goto_if_false @IMPND_5880
$10726 = 1

:IMPND_5880
goto @IMPND_6147

:IMPND_5887
$door_control += 0.5
Object.SetRotation(9@, $door_control, 0.0, 0.0)
if 
  $door_control >= 0.0
goto_if_false @IMPND_5943
$10726 = 2

:IMPND_5943
goto @IMPND_6147

:IMPND_5950
if 
  not World.IsAreaOccupied(1554.32, -1632.669, 13.9475, 1535.271, -1620.762, 11.8805, False, True, False, False, False)
goto_if_false @IMPND_6010
$10726 = 3

:IMPND_6010
goto @IMPND_6147

:IMPND_6017
if 
  World.IsAreaOccupied(1540.938, -1623.681, 14.3551, 1550.887, -1631.648, 12.1949, False, True, False, False, False)
goto_if_false @IMPND_6084
$10726 = 1
goto @IMPND_6140

:IMPND_6084
$door_control -= 0.5
Object.SetRotation(9@, $door_control, 0.0, 0.0)
if 
  -90.0 >= $door_control
goto_if_false @IMPND_6140
$10726 = 0

:IMPND_6140
goto @IMPND_6147

:IMPND_6147
switch_start $10728 {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @IMPND_6873 {caseNum1} 0 {caseLabel1} @IMPND_6210 {caseNum2} 1 {caseLabel2} @IMPND_6484 {caseNum3} 2 {caseLabel3} @IMPND_6611 {caseNum4} 3 {caseLabel4} @IMPND_6686 {caseNum5} -1 {caseLabel5} @IMPND_6873 {caseNum6} -1 {caseLabel6} @IMPND_6873 {caseNum7} -1 {caseLabel7} @IMPND_6873

:IMPND_6210
if 
  $10709 == 1
goto_if_false @IMPND_6409
if 
  World.IsCopVehicleInArea3DNoSave(1592.251, -1637.59, 17.1898, 1578.344, -1624.273, 11.9866)
goto_if_false @IMPND_6409
if 
  $10545[2] == 0
goto_if_false @IMPND_6409
if 
  not Char.IsDead($dock_crane_max_speed[2])
goto_if_false @IMPND_6409
if 
  Char.IsInArea2D($dock_crane_max_speed[2], 1582.153, -1637.67, 1577.585, -1633.235, False)
goto_if_false @IMPND_6409
$10728 = 1
Audio.ReportMissionAudioEventAtObject(6@, 1153)
if 
  $10520 == 0
goto_if_false @IMPND_6409
if 
  20@ == 0
goto_if_false @IMPND_6409
20@ = 1
set_lvar_int_to_var_int 19@ = $dock_crane_max_speed[2]

:IMPND_6409
if 
  World.IsAreaOccupied(1581.732, -1639.463, 16.4817, 1599.936, -1652.072, 7.8825, False, True, False, False, False)
goto_if_false @IMPND_6477
$10728 = 1
Audio.ReportMissionAudioEventAtObject(6@, 1153)

:IMPND_6477
goto @IMPND_6873

:IMPND_6484
$on_footY, $on_footZ, $10736 = Object.GetCoordinates(6@)
$10736 += 0.0173
$10732 += 0.9
if 
  $10736 >= 16.425
goto_if_false @IMPND_6574
$10728 = 2
$10736 = 16.425
$10732 = 90.0
Audio.ReportMissionAudioEventAtObject(6@, 1154)

:IMPND_6574
Object.SetCoordinates(6@, $on_footY, $on_footZ, $10736)
Object.SetRotation(6@, $10732, 0.0, $imp_shutter_z1[1])
goto @IMPND_6873

:IMPND_6611
if 
  not World.IsAreaOccupied(1602.079, -1655.913, 6.5685, 1582.779, -1631.262, 17.1606, False, True, False, False, False)
goto_if_false @IMPND_6679
$10728 = 3
Audio.ReportMissionAudioEventAtObject(6@, 1153)

:IMPND_6679
goto @IMPND_6873

:IMPND_6686
$on_footY, $on_footZ, $10736 = Object.GetCoordinates(6@)
$10736 -= 0.0155
$10732 -= 0.9
if 
  14.5641 >= $10736
goto_if_false @IMPND_6776
Audio.ReportMissionAudioEventAtObject(6@, 1154)
$10728 = 0
$10732 = 0.0
$10736 = 14.5641

:IMPND_6776
Object.SetCoordinates(6@, $on_footY, $on_footZ, $10736)
Object.SetRotation(6@, $10732, 0.0, $imp_shutter_z1[1])
if 
  World.IsAreaOccupied(1602.079, -1655.913, 6.5685, 1582.779, -1631.262, 17.1606, False, True, False, False, False)
goto_if_false @IMPND_6866
$10728 = 1

:IMPND_6866
goto @IMPND_6873

:IMPND_6873
if 
  $valet_oddjob_opened == 2
goto_if_false @IMPND_8639
switch_start $10726 {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @IMPND_7394 {caseNum1} 0 {caseLabel1} @IMPND_6954 {caseNum2} 1 {caseLabel2} @IMPND_7134 {caseNum3} 2 {caseLabel3} @IMPND_7197 {caseNum4} 3 {caseLabel4} @IMPND_7264 {caseNum5} -1 {caseLabel5} @IMPND_7394 {caseNum6} -1 {caseLabel6} @IMPND_7394 {caseNum7} -1 {caseLabel7} @IMPND_7394

:IMPND_6954
if 
  $10545[0] == 0
goto_if_false @IMPND_7127
if 
  World.IsCopVehicleInArea3DNoSave(-1566.137, 666.7503, 5.775, -1577.602, 658.2418, 9.2455)
goto_if_false @IMPND_7127
if 
  not Char.IsDead($dock_crane_max_speed[0])
goto_if_false @IMPND_7127
if 
  Char.IsInArea2D($dock_crane_max_speed[0], -1573.406, 656.8607, -1572.033, 658.196, False)
goto_if_false @IMPND_7076
$10726 = 1

:IMPND_7076
if 
  $10520 == 0
goto_if_false @IMPND_7127
if 
  20@ == 0
goto_if_false @IMPND_7127
20@ = 1
set_lvar_int_to_var_int 19@ = $dock_crane_max_speed[0]

:IMPND_7127
goto @IMPND_7394

:IMPND_7134
$door_control += 0.5
Object.SetRotation(9@, $door_control, 0.0, 0.0)
if 
  $door_control >= 0.0
goto_if_false @IMPND_7190
$10726 = 2

:IMPND_7190
goto @IMPND_7394

:IMPND_7197
if 
  not World.IsAreaOccupied(-1566.137, 666.7503, 5.775, -1577.602, 658.2418, 9.2455, False, True, False, False, False)
goto_if_false @IMPND_7257
$10726 = 3

:IMPND_7257
goto @IMPND_7394

:IMPND_7264
if 
  World.IsAreaOccupied(-1566.137, 666.7503, 5.775, -1577.602, 658.2418, 9.2455, False, True, False, False, False)
goto_if_false @IMPND_7331
$10726 = 1
goto @IMPND_7387

:IMPND_7331
$door_control -= 0.5
Object.SetRotation(9@, $door_control, 0.0, 0.0)
if 
  -90.0 >= $door_control
goto_if_false @IMPND_7387
$10726 = 0

:IMPND_7387
goto @IMPND_7394

:IMPND_7394
switch_start $10727 {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @IMPND_7897 {caseNum1} 0 {caseLabel1} @IMPND_7457 {caseNum2} 1 {caseLabel2} @IMPND_7637 {caseNum3} 2 {caseLabel3} @IMPND_7700 {caseNum4} 3 {caseLabel4} @IMPND_7767 {caseNum5} -1 {caseLabel5} @IMPND_7897 {caseNum6} -1 {caseLabel6} @IMPND_7897 {caseNum7} -1 {caseLabel7} @IMPND_7897

:IMPND_7457
if 
  $10545[1] == 0
goto_if_false @IMPND_7630
if 
  World.IsCopVehicleInArea3DNoSave(-1688.231, 679.8141, 20.5924, -1710.483, 687.937, 28.4141)
goto_if_false @IMPND_7630
if 
  not Char.IsDead($dock_crane_max_speed[1])
goto_if_false @IMPND_7630
if 
  Char.IsInArea2D($dock_crane_max_speed[1], -1701.648, 689.5652, -1700.086, 688.274, False)
goto_if_false @IMPND_7579
$10727 = 1

:IMPND_7579
if 
  $10520 == 0
goto_if_false @IMPND_7630
if 
  20@ == 0
goto_if_false @IMPND_7630
20@ = 1
set_lvar_int_to_var_int 19@ = $dock_crane_max_speed[1]

:IMPND_7630
goto @IMPND_7897

:IMPND_7637
$10731 += 0.5
Object.SetRotation(10@, $10731, 0.0, 180.0)
if 
  $10731 >= 0.0
goto_if_false @IMPND_7693
$10727 = 2

:IMPND_7693
goto @IMPND_7897

:IMPND_7700
if 
  not World.IsAreaOccupied(-1688.231, 679.8141, 20.5924, -1710.483, 687.937, 28.4141, False, True, False, False, False)
goto_if_false @IMPND_7760
$10727 = 3

:IMPND_7760
goto @IMPND_7897

:IMPND_7767
if 
  World.IsAreaOccupied(-1688.231, 679.8141, 20.5924, -1710.483, 687.937, 28.4141, False, True, False, False, False)
goto_if_false @IMPND_7834
$10727 = 1
goto @IMPND_7890

:IMPND_7834
$10731 -= 0.5
Object.SetRotation(10@, $10731, 0.0, 180.0)
if 
  -90.0 >= $10731
goto_if_false @IMPND_7890
$10727 = 0

:IMPND_7890
goto @IMPND_7897

:IMPND_7897
switch_start $10728 {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @IMPND_8639 {caseNum1} 0 {caseLabel1} @IMPND_7960 {caseNum2} 1 {caseLabel2} @IMPND_8312 {caseNum3} 2 {caseLabel3} @IMPND_8403 {caseNum4} 3 {caseLabel4} @IMPND_8478 {caseNum5} -1 {caseLabel5} @IMPND_8639 {caseNum6} -1 {caseLabel6} @IMPND_8639 {caseNum7} -1 {caseLabel7} @IMPND_8639

:IMPND_7960
if 
  $10709 == 1
goto_if_false @IMPND_8159
if 
  World.IsCopVehicleInArea3DNoSave(-1639.599, 674.9066, 10.3898, -1622.298, 710.0969, 0.8401)
goto_if_false @IMPND_8159
if 
  $10545[2] == 0
goto_if_false @IMPND_8159
if 
  not Char.IsDead($dock_crane_max_speed[2])
goto_if_false @IMPND_8159
if 
  Char.IsInArea2D($dock_crane_max_speed[2], -1613.253, 679.4489, -1618.76, 688.0851, False)
goto_if_false @IMPND_8159
$10728 = 1
Audio.ReportMissionAudioEventAtObject(6@, 1153)
if 
  $10520 == 0
goto_if_false @IMPND_8159
if 
  20@ == 0
goto_if_false @IMPND_8159
20@ = 1
set_lvar_int_to_var_int 19@ = $dock_crane_max_speed[2]

:IMPND_8159
if 
  $10553 == 1
goto_if_false @IMPND_8245
if 
  World.IsAreaOccupied(-1639.599, 674.9066, 10.3898, -1622.298, 710.0969, 0.8401, False, True, False, False, False)
goto_if_false @IMPND_8245
$10728 = 1
Audio.ReportMissionAudioEventAtObject(6@, 1153)

:IMPND_8245
if 
  World.IsAreaOccupied(-1620.061, 715.371, -4.554, -1640.881, 691.9899, 11.1863, False, True, False, False, False)
goto_if_false @IMPND_8305
$10728 = 1

:IMPND_8305
goto @IMPND_8639

:IMPND_8312
$on_footY, $on_footZ, $10736 = Object.GetCoordinates(6@)
$10736 += 0.0155
if 
  $10736 >= 13.2513
goto_if_false @IMPND_8382
$10728 = 2
$10736 = 13.2513
Audio.ReportMissionAudioEventAtObject(6@, 1154)

:IMPND_8382
Object.SetCoordinates(6@, $on_footY, $on_footZ, $10736)
goto @IMPND_8639

:IMPND_8403
if 
  not World.IsAreaOccupied(-1639.599, 674.9066, 10.3898, -1622.298, 710.0969, 0.8401, False, True, False, False, False)
goto_if_false @IMPND_8471
$10728 = 3
Audio.ReportMissionAudioEventAtObject(6@, 1153)

:IMPND_8471
goto @IMPND_8639

:IMPND_8478
$on_footY, $on_footZ, $10736 = Object.GetCoordinates(6@)
$10736 -= 0.0155
if 
  8.5436 >= $10736
goto_if_false @IMPND_8558
$10728 = 0
$10732 = 0.0
$10736 = 8.5436
Audio.ReportMissionAudioEventAtObject(6@, 1154)

:IMPND_8558
Object.SetCoordinates(6@, $on_footY, $on_footZ, $10736)
if 
  World.IsAreaOccupied(-1639.599, 674.9066, 10.3898, -1622.298, 710.0969, 0.8401, False, True, False, False, False)
goto_if_false @IMPND_8632
$10728 = 1

:IMPND_8632
goto @IMPND_8639

:IMPND_8639
if 
  $valet_oddjob_opened == 3
goto_if_false @IMPND_10478
switch_start $10726 {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @IMPND_9276 {caseNum1} 0 {caseLabel1} @IMPND_8720 {caseNum2} 1 {caseLabel2} @IMPND_9016 {caseNum3} 2 {caseLabel3} @IMPND_9079 {caseNum4} 3 {caseLabel4} @IMPND_9146 {caseNum5} -1 {caseLabel5} @IMPND_9276 {caseNum6} -1 {caseLabel6} @IMPND_9276 {caseNum7} -1 {caseLabel7} @IMPND_9276

:IMPND_8720
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @IMPND_8930
if 
  Char.IsInAnyPoliceVehicle($stattreadstamina_ctr)
goto_if_false @IMPND_8930
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2250.323, 2449.556, 8.4616, 2230.411, 2461.791, 17.8394, False)
goto_if_false @IMPND_8930
if 
  $10545[0] == 0
goto_if_false @IMPND_8930
if 
  not Char.IsDead($dock_crane_max_speed[0])
goto_if_false @IMPND_8930
if 
  Char.IsInArea2D($dock_crane_max_speed[0], 2237.854, 2448.608, 2239.385, 2450.014, False)
goto_if_false @IMPND_8930
$10726 = 1
if 
  $10520 == 0
goto_if_false @IMPND_8930
if 
  20@ == 0
goto_if_false @IMPND_8930
20@ = 1
set_lvar_int_to_var_int 19@ = $dock_crane_max_speed[0]

:IMPND_8930
if 
  $10553 == 1
goto_if_false @IMPND_9009
if 
  not Car.IsDead($10721[0])
goto_if_false @IMPND_9009
if 
  Car.IsInArea2D($10721[0], 2222.316, 2432.012, 2246.956, 2467.653, False)
goto_if_false @IMPND_9009
$10726 = 1

:IMPND_9009
goto @IMPND_9276

:IMPND_9016
$door_control += 0.5
Object.SetRotation(9@, $door_control, 0.0, 0.0)
if 
  $door_control >= 0.0
goto_if_false @IMPND_9072
$10726 = 2

:IMPND_9072
goto @IMPND_9276

:IMPND_9079
if 
  not World.IsAreaOccupied(2250.323, 2449.556, 8.4616, 2230.411, 2461.791, 17.8394, False, True, False, False, False)
goto_if_false @IMPND_9139
$10726 = 3

:IMPND_9139
goto @IMPND_9276

:IMPND_9146
if 
  World.IsAreaOccupied(2250.323, 2449.556, 8.4616, 2230.411, 2461.791, 17.8394, False, True, False, False, False)
goto_if_false @IMPND_9213
$10726 = 1
goto @IMPND_9269

:IMPND_9213
$door_control -= 0.5
Object.SetRotation(9@, $door_control, 0.0, 0.0)
if 
  -90.0 >= $door_control
goto_if_false @IMPND_9269
$10726 = 0

:IMPND_9269
goto @IMPND_9276

:IMPND_9276
switch_start $10728 {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @IMPND_9995 {caseNum1} 0 {caseLabel1} @IMPND_9339 {caseNum2} 1 {caseLabel2} @IMPND_9668 {caseNum3} 2 {caseLabel3} @IMPND_9759 {caseNum4} 3 {caseLabel4} @IMPND_9834 {caseNum5} -1 {caseLabel5} @IMPND_9995 {caseNum6} -1 {caseLabel6} @IMPND_9995 {caseNum7} -1 {caseLabel7} @IMPND_9995

:IMPND_9339
if 
  $10709 == 1
goto_if_false @IMPND_9575
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @IMPND_9575
if 
  Char.IsInAnyPoliceVehicle($stattreadstamina_ctr)
goto_if_false @IMPND_9575
if 
  Char.IsInArea3D($stattreadstamina_ctr, 2237.808, 2486.764, 12.7579, 2280.211, 2502.595, 6.2211, False)
goto_if_false @IMPND_9575
if 
  $10545[2] == 0
goto_if_false @IMPND_9575
if 
  not Char.IsDead($dock_crane_max_speed[2])
goto_if_false @IMPND_9575
if 
  Char.IsInArea2D($dock_crane_max_speed[2], 2253.515, 2485.275, 2248.9, 2492.416, False)
goto_if_false @IMPND_9575
$10728 = 1
Audio.ReportMissionAudioEventAtObject(6@, 1153)
if 
  $10520 == 0
goto_if_false @IMPND_9575
if 
  20@ == 0
goto_if_false @IMPND_9575
20@ = 1
set_lvar_int_to_var_int 19@ = $dock_crane_max_speed[2]

:IMPND_9575
if 
  $10553 == 1
goto_if_false @IMPND_9661
if 
  World.IsAreaOccupied(2294.371, 2493.447, 6.6617, 2305.78, 2504.33, 2.1808, False, True, False, False, False)
goto_if_false @IMPND_9661
$10728 = 1
Audio.ReportMissionAudioEventAtObject(6@, 1153)

:IMPND_9661
goto @IMPND_9995

:IMPND_9668
$on_footY, $on_footZ, $10736 = Object.GetCoordinates(6@)
$10736 += 0.0155
if 
  $10736 >= 8.8513
goto_if_false @IMPND_9738
$10728 = 2
$10736 = 8.8513
Audio.ReportMissionAudioEventAtObject(6@, 1154)

:IMPND_9738
Object.SetCoordinates(6@, $on_footY, $on_footZ, $10736)
goto @IMPND_9995

:IMPND_9759
if 
  not World.IsAreaOccupied(2286.148, 2503.084, 7.8689, 2302.432, 2491.353, 1.8459, False, True, False, False, False)
goto_if_false @IMPND_9827
$10728 = 3
Audio.ReportMissionAudioEventAtObject(6@, 1153)

:IMPND_9827
goto @IMPND_9995

:IMPND_9834
$on_footY, $on_footZ, $10736 = Object.GetCoordinates(6@)
$10736 -= 0.0155
if 
  4.4414 >= $10736
goto_if_false @IMPND_9914
$10728 = 0
$10732 = 0.0
$10736 = 4.4414
Audio.ReportMissionAudioEventAtObject(6@, 1154)

:IMPND_9914
Object.SetCoordinates(6@, $on_footY, $on_footZ, $10736)
if 
  World.IsAreaOccupied(2286.148, 2503.084, 7.8689, 2302.432, 2491.353, 1.8459, False, True, False, False, False)
goto_if_false @IMPND_9988
$10728 = 1

:IMPND_9988
goto @IMPND_9995

:IMPND_9995
switch_start $impound_cops_created {numCases} 4 {hasDefaultCase} 0 {defaultLabel} @IMPND_10478 {caseNum1} 0 {caseLabel1} @IMPND_10058 {caseNum2} 1 {caseLabel2} @IMPND_10151 {caseNum3} 2 {caseLabel3} @IMPND_10242 {caseNum4} 3 {caseLabel4} @IMPND_10317 {caseNum5} -1 {caseLabel5} @IMPND_10478 {caseNum6} -1 {caseLabel6} @IMPND_10478 {caseNum7} -1 {caseLabel7} @IMPND_10478

:IMPND_10058
if 
  $10709 == 1
goto_if_false @IMPND_10144
if 
  World.IsAreaOccupied(2333.481, 2439.576, 8.8878, 2319.688, 2452.0, 2.1724, False, True, False, False, False)
goto_if_false @IMPND_10144
$impound_cops_created = 1
Audio.ReportMissionAudioEventAtObject(7@, 1153)

:IMPND_10144
goto @IMPND_10478

:IMPND_10151
$on_footY, $on_footZ, $10737 = Object.GetCoordinates(7@)
$10737 += 0.0155
if 
  $10737 >= 11.6441
goto_if_false @IMPND_10221
$impound_cops_created = 2
$10737 = 11.6441
Audio.ReportMissionAudioEventAtObject(7@, 1154)

:IMPND_10221
Object.SetCoordinates(7@, $on_footY, $on_footZ, $10737)
goto @IMPND_10478

:IMPND_10242
if 
  not World.IsAreaOccupied(2338.707, 2434.458, 11.8518, 2330.938, 2452.455, 3.5886, False, True, False, False, False)
goto_if_false @IMPND_10310
$impound_cops_created = 3
Audio.ReportMissionAudioEventAtObject(7@, 1153)

:IMPND_10310
goto @IMPND_10478

:IMPND_10317
$on_footY, $on_footZ, $10737 = Object.GetCoordinates(7@)
$10737 -= 0.0155
if 
  6.9743 >= $10737
goto_if_false @IMPND_10397
$impound_cops_created = 0
$10733 = 0.0
$10737 = 6.9743
Audio.ReportMissionAudioEventAtObject(6@, 1154)

:IMPND_10397
Object.SetCoordinates(7@, $on_footY, $on_footZ, $10737)
if 
  World.IsAreaOccupied(2338.707, 2434.458, 11.8518, 2330.938, 2452.455, 3.5886, False, True, False, False, False)
goto_if_false @IMPND_10471
$impound_cops_created = 1

:IMPND_10471
goto @IMPND_10478

:IMPND_10478
return 

:IMPND_10480
switch_start 13@ {numCases} 7 {hasDefaultCase} 0 {defaultLabel} @IMPND_12863 {caseNum1} 1 {caseLabel1} @IMPND_12316 {caseNum2} 2 {caseLabel2} @IMPND_10853 {caseNum3} 3 {caseLabel3} @IMPND_11228 {caseNum4} 4 {caseLabel4} @IMPND_11920 {caseNum5} 5 {caseLabel5} @IMPND_10543 {caseNum6} 6 {caseLabel6} @IMPND_12714 {caseNum7} 9 {caseLabel7} @IMPND_11530

:IMPND_10543
gosub @IMPND_12865
if and
  $cop_model == 1
  $10709 == 1
goto_if_false @IMPND_10597
$10521(12@,8i) = 2
$10529(12@,8i) = 0

:IMPND_10597
if 
  $imp_f(12@,8i) == -2
goto_if_false @IMPND_10707
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($dock_crane_max_speed(12@,8i))
set_var_float_to_var_float $10708 = $z
sub_float_var_from_float_var $10708 -= $in_carX
if 
  3.0 > $10708
goto_if_false @IMPND_10707
$10521(12@,8i) = 9
$10545(12@,8i) = 1
$10529(12@,8i) = 0

:IMPND_10707
if 
  $imp_f(12@,8i) == -1
goto_if_false @IMPND_10806
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($dock_crane_max_speed(12@,8i))
set_var_float_to_var_float $10708 = $z
sub_float_var_from_float_var $10708 -= $in_carX
if 
  3.0 > $10708
goto_if_false @IMPND_10806
$10521(12@,8i) = 9
$10529(12@,8i) = 0

:IMPND_10806
if 
  $10520 == 1
goto_if_false @IMPND_10846
$10521(12@,8i) = 6
$10529(12@,8i) = 0

:IMPND_10846
goto @IMPND_12863

:IMPND_10853
gosub @IMPND_19919
if 
  23@ == 0
goto_if_false @IMPND_11166
if 
  $10529(12@,8i) == 0
goto_if_false @IMPND_11012
if 
  $10520 == 0
goto_if_false @IMPND_10955
if 
  20@ == 0
goto_if_false @IMPND_10955
set_lvar_int_to_var_int 19@ = $dock_crane_max_speed(12@,8i)
20@ = 4

:IMPND_10955
Task.GotoCharAiming($dock_crane_max_speed(12@,8i), $stattreadstamina_ctr, 5.0, 10.0)
set_var_int_to_lvar_int $10537(12@,8i) = TIMERA
$10537(12@,8i) += 6000
$10529(12@,8i) = 1

:IMPND_11012
if 
  $10529(12@,8i) == 1
goto_if_false @IMPND_11166
if 
  is_int_lvar_greater_than_int_var TIMERA > $10537(12@,8i)
goto_if_false @IMPND_11166
if 
  $10520 == 0
goto_if_false @IMPND_11133
if 
  20@ == 0
goto_if_false @IMPND_11126
$10521(12@,8i) = 1
$10545(12@,8i) = 1
$10529(12@,8i) = 0

:IMPND_11126
goto @IMPND_11166

:IMPND_11133
$10521(12@,8i) = 3
$10545(12@,8i) = 1
$10529(12@,8i) = 0

:IMPND_11166
if 
  $imp_f(12@,8i) == -2
goto_if_false @IMPND_11221
$10521(12@,8i) = 3
$10545(12@,8i) = 1
$10529(12@,8i) = 0

:IMPND_11221
goto @IMPND_12863

:IMPND_11228
gosub @IMPND_19919
if 
  23@ == 0
goto_if_false @IMPND_11476
if 
  $10529(12@,8i) == 0
goto_if_false @IMPND_11322
set_var_int_to_lvar_int $10537(12@,8i) = TIMERA
$10537(12@,8i) += 7000
Task.KillCharOnFoot($dock_crane_max_speed(12@,8i), $stattreadstamina_ctr)
$10529(12@,8i) = 1

:IMPND_11322
if 
  $10529(12@,8i) == 1
goto_if_false @IMPND_11476
if 
  is_int_lvar_greater_than_int_var TIMERA > $10537(12@,8i)
goto_if_false @IMPND_11476
if 
  $10520 == 0
goto_if_false @IMPND_11443
if 
  20@ == 0
goto_if_false @IMPND_11436
$10521(12@,8i) = 1
$10545(12@,8i) = 1
$10529(12@,8i) = 0

:IMPND_11436
goto @IMPND_11476

:IMPND_11443
$10521(12@,8i) = 3
$10545(12@,8i) = 1
$10529(12@,8i) = 0

:IMPND_11476
if 
  $cop_model == 0
goto_if_false @IMPND_11523
$10720 += 1
$10521(12@,8i) = 4
$10529(12@,8i) = 0

:IMPND_11523
goto @IMPND_12863

:IMPND_11530
if 
  $10529(12@,8i) == 0
goto_if_false @IMPND_11617
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_11617
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), $10739, $10740, $10741, 5000)
$10529(12@,8i) = 1

:IMPND_11617
if 
  $10529(12@,8i) == 1
goto_if_false @IMPND_11760
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_11760
if 
  $10545(12@,8i) == 0
goto_if_false @IMPND_11716
$10521(12@,8i) = 8
$10529(12@,8i) = 0

:IMPND_11716
if 
  $10545(12@,8i) == 1
goto_if_false @IMPND_11760
$10521(12@,8i) = 6
$10529(12@,8i) = 0

:IMPND_11760
if and
  $cop_model == 1
  $10709 == 1
goto_if_false @IMPND_11858
if 
  $10545(12@,8i) == 0
goto_if_false @IMPND_11836
$10521(12@,8i) = 2
$10529(12@,8i) = 0
goto @IMPND_11858

:IMPND_11836
$10521(12@,8i) = 3
$10529(12@,8i) = 0

:IMPND_11858
if 
  $imp_f(12@,8i) == -2
goto_if_false @IMPND_11913
$10521(12@,8i) = 9
$10545(12@,8i) = 1
$10529(12@,8i) = 0

:IMPND_11913
goto @IMPND_12863

:IMPND_11920
if 
  $10529(12@,8i) == 0
goto_if_false @IMPND_12019
gosub @IMPND_19919
if 
  23@ == 0
goto_if_false @IMPND_12008
Task.GoToCoordWhileAiming($dock_crane_max_speed(12@,8i), $10739, $10740, $10741, 6, 1.0, 5.0, -1, $10739, $10740, $10741)

:IMPND_12008
$10529(12@,8i) = 1

:IMPND_12019
if 
  $10529(12@,8i) == 1
goto_if_false @IMPND_12097
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1730)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_12097
Task.Pause($dock_crane_max_speed(12@,8i), 2000)
$10529(12@,8i) = 2

:IMPND_12097
if 
  $10529(12@,8i) == 2
goto_if_false @IMPND_12174
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1465)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_12174
$10521(12@,8i) = 6
$10529(12@,8i) = 0

:IMPND_12174
if and
  $cop_model == 1
  $10709 == 1
goto_if_false @IMPND_12221
$10521(12@,8i) = 3
$10529(12@,8i) = 0

:IMPND_12221
if 
  $imp_f(12@,8i) == -2
goto_if_false @IMPND_12265
$10521(12@,8i) = 9
$10529(12@,8i) = 0

:IMPND_12265
if 
  $imp_f(12@,8i) == -1
goto_if_false @IMPND_12309
$10521(12@,8i) = 9
$10529(12@,8i) = 0

:IMPND_12309
goto @IMPND_12863

:IMPND_12316
if 
  $10529(12@,8i) == 0
goto_if_false @IMPND_12437
if 
  20@ == 0
goto_if_false @IMPND_12437
Char.ClearTasksImmediately($dock_crane_max_speed(12@,8i))
Task.PlayAnimNonInterruptable($dock_crane_max_speed(12@,8i), "PHONE_TALK", "PED", 4.0, True, False, False, False, 4000)
20@ = 5
set_lvar_int_to_var_int 19@ = $dock_crane_max_speed(12@,8i)
$10529(12@,8i) = 1

:IMPND_12437
if 
  $10529(12@,8i) == 1
goto_if_false @IMPND_12707
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 2066)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_12707
if 
  $10520 == 0
goto_if_false @IMPND_12685
$10520 = 1
if 
  not Char.IsDead(24@)
goto_if_false @IMPND_12545
Char.FreezePosition(24@, False)
Task.Cower(24@)

:IMPND_12545
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Audio.LoadMissionAudio(MissionAudioSlot.Slot4, 41800)
$10545[0] = 1
$10545[1] = 1
$10545[2] = 1
$10545[3] = 1
$10545[4] = 1
$10545[5] = 1
$10545[6] = 1
$10545[7] = 1
if 
  not Char.IsDead($dock_crane_max_speed[1])
goto_if_false @IMPND_12637
Char.SetCurrentWeapon($dock_crane_max_speed[1], WeaponType.Pistol)

:IMPND_12637
if 
  not Char.IsDead($dock_crane_max_speed[6])
goto_if_false @IMPND_12660
Char.SetCurrentWeapon($dock_crane_max_speed[6], WeaponType.Pistol)

:IMPND_12660
if 
  $weapon_shop1_blip == 0
goto_if_false @IMPND_12685
Player.AlterWantedLevelNoDrop($statbike_temp, 3)

:IMPND_12685
$10521(12@,8i) = 3
$10529(12@,8i) = 0

:IMPND_12707
goto @IMPND_12863

:IMPND_12714
gosub @IMPND_15737
if and
  $cop_model == 1
  $10709 == 1
goto_if_false @IMPND_12768
$10521(12@,8i) = 3
$10529(12@,8i) = 0

:IMPND_12768
if 
  $imp_f(12@,8i) == -2
goto_if_false @IMPND_12812
$10521(12@,8i) = 9
$10529(12@,8i) = 0

:IMPND_12812
if 
  $imp_f(12@,8i) == -1
goto_if_false @IMPND_12856
$10521(12@,8i) = 9
$10529(12@,8i) = 0

:IMPND_12856
goto @IMPND_12863

:IMPND_12863
return 

:IMPND_12865
if 
  $valet_oddjob_opened == 1
goto_if_false @IMPND_13978
if 
  $10709 == 1
goto_if_false @IMPND_13630
if 
  $cop_car == 1
goto_if_false @IMPND_13630
if 
  12.0 > $z
goto_if_false @IMPND_13630
$10553 = 1
if 
  $10529(12@,8i) == 0
goto_if_false @IMPND_13630
if 
  12@ == 3
goto_if_false @IMPND_13102
Path.FlushRoute
Path.ExtendRoute(1583.321, -1691.575, 5.2252)
Path.ExtendRoute(1555.105, -1692.137, 5.2252)
Path.ExtendRoute(1526.534, -1676.968, 4.8984)
$car_model = Sequence.Open()
Task.Pause(-1, 3500)
Task.LeaveAnyCar(-1)
Task.Pause(-1, 700)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Task.AchieveHeading(-1, 63.3988)
Sequence.Close($car_model)
Char.PerformSequence($dock_crane_max_speed(12@,8i), $car_model)
Sequence.Clear($car_model)

:IMPND_13102
if 
  12@ == 4
goto_if_false @IMPND_13238
Path.FlushRoute
Path.ExtendRoute(1582.722, -1669.56, 4.8942)
Path.ExtendRoute(1581.765, -1690.743, 5.2187)
Path.ExtendRoute(1556.016, -1690.699, 5.2252)
Path.ExtendRoute(1525.97, -1674.655, 4.8984)
$car_model = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Task.AchieveHeading(-1, 92.6125)
Sequence.Close($car_model)
Char.PerformSequence($dock_crane_max_speed(12@,8i), $car_model)
Sequence.Clear($car_model)

:IMPND_13238
if 
  12@ == 5
goto_if_false @IMPND_13493
$door_height = Sequence.Open()
if 
  not Car.IsDead($10721[2])
goto_if_false @IMPND_13350
Task.CarDriveToCoord(-1, $10721[2], 1589.878, -1644.143, 11.2316, 10.0, DriveMode.Accurate, 0, DrivingMode.StopForCars)
Task.Pause(-1, 2000)
Task.CarDriveToCoord(-1, $10721[2], 1549.443, -1627.994, 12.3905, 10.0, DriveMode.Accurate, 0, DrivingMode.StopForCars)

:IMPND_13350
Sequence.Close($door_height)
Path.FlushRoute
Path.ExtendRoute(1567.392, -1706.847, 4.8984)
Path.ExtendRoute(1566.885, -1710.162, 4.8984)
$car_model = Sequence.Open()
Task.Pause(-1, 10000)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
if 
  not Car.IsDead($10721[2])
goto_if_false @IMPND_13455
Task.EnterCarAsDriver(-1, $10721[2], -1)
Task.CarTempAction(-1, $10721[2], TempAction.ReverseRight, 1000)
Char.PerformSequence(-1, $door_height)

:IMPND_13455
Sequence.Close($car_model)
Char.PerformSequence($dock_crane_max_speed(12@,8i), $car_model)
Sequence.Clear($car_model)
Sequence.Clear($door_height)
$10529(12@,8i) = 1

:IMPND_13493
if 
  12@ == 6
goto_if_false @IMPND_13578
24@ = Char.CreateRandom(1610.446, -1720.474, 5.2252)
Char.SetHeading(24@, 45.0)
Task.HandsUp(24@, -2)
Char.FreezePosition(24@, True)
Char.SetCurrentWeapon($dock_crane_max_speed(12@,8i), WeaponType.Unarmed)
Task.KillCharOnFoot($dock_crane_max_speed(12@,8i), 24@)

:IMPND_13578
if 
  12@ == 7
goto_if_false @IMPND_13619
if 
  not Car.IsDead($10721[3])
goto_if_false @IMPND_13619
Car.OpenDoor($10721[3], CarDoor.Hood)

:IMPND_13619
$10529(12@,8i) = 1

:IMPND_13630
if 
  $10529(12@,8i) == 1
goto_if_false @IMPND_13978
if 
  12@ == 5
goto_if_false @IMPND_13853
if 
  $10529(12@,8i) == 1
goto_if_false @IMPND_13853
if 
  not Char.IsDead($dock_crane_max_speed[5])
goto_if_false @IMPND_13853
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), -1)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_13853
if 
  Char.LocateInCar3D($dock_crane_max_speed(12@,8i), 2242.173, 2461.965, 9.8203, 4.0, 4.0, 4.0, False)
goto_if_false @IMPND_13853
Char.MarkAsNoLongerNeeded($dock_crane_max_speed[5])
Car.MarkAsNoLongerNeeded($10721[1])
if 
  $door_control > -25.0
goto_if_false @IMPND_13853
Task.CarDriveWander($dock_crane_max_speed(12@,8i), $10721[1], 20.0, DrivingMode.StopForCars)
$10529(12@,8i) = 2

:IMPND_13853
if 
  12@ == 6
goto_if_false @IMPND_13978
if 
  not Char.IsDead(24@)
goto_if_false @IMPND_13978
Char.SetHealth(24@, 100)
14@ = Char.GetScriptTaskStatus(24@, 1476)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_13978
Task.HandsUp(24@, -2)
if 
  not Char.IsDead($dock_crane_max_speed[1])
goto_if_false @IMPND_13978
Task.PlayAnim($dock_crane_max_speed[1], "FUCKU", "PED", 4.0, False, False, False, False, -2)

:IMPND_13978
if 
  $valet_oddjob_opened == 2
goto_if_false @IMPND_14838
if 
  $cop_car == 1
goto_if_false @IMPND_14838
if 
  -0.7114 > $z
goto_if_false @IMPND_14633
$10553 = 1
if 
  $10529(12@,8i) == 0
goto_if_false @IMPND_14633
if 
  12@ == 3
goto_if_false @IMPND_14190
Path.FlushRoute
Path.ExtendRoute(-1601.988, 744.1652, -6.2422)
Path.ExtendRoute(-1593.343, 729.7554, -5.9062)
Path.ExtendRoute(-1593.44, 718.5184, -6.2344)
$car_model = Sequence.Open()
Task.Pause(-1, 1000)
Task.LeaveAnyCar(-1)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Task.AchieveHeading(-1, 146.3988)
Sequence.Close($car_model)
Char.PerformSequence($dock_crane_max_speed(12@,8i), $car_model)
Sequence.Clear($car_model)

:IMPND_14190
if 
  12@ == 4
goto_if_false @IMPND_14292
Path.FlushRoute
Path.ExtendRoute(-1592.119, 729.1914, -5.9062)
Path.ExtendRoute(-1592.753, 715.295, -6.2344)
$car_model = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Task.AchieveHeading(-1, 103.6125)
Sequence.Close($car_model)
Char.PerformSequence($dock_crane_max_speed(12@,8i), $car_model)
Sequence.Clear($car_model)

:IMPND_14292
if 
  12@ == 5
goto_if_false @IMPND_14581
$door_height = Sequence.Open()
if 
  not Car.IsDead($10721[3])
goto_if_false @IMPND_14404
Task.CarDriveToCoord(-1, $10721[3], -1629.925, 694.9102, 5.8578, 10.0, DriveMode.Accurate, 0, DrivingMode.StopForCars)
Task.Pause(-1, 8000)
Task.CarDriveToCoord(-1, $10721[3], -1578.795, 662.8546, 6.1874, 10.0, DriveMode.Accurate, 0, DrivingMode.StopForCars)

:IMPND_14404
Sequence.Close($door_height)
Path.FlushRoute
Path.ExtendRoute(-1595.711, 698.4703, -5.9062)
Path.ExtendRoute(-1587.208, 701.9536, -5.914)
Path.ExtendRoute(-1577.201, 720.1028, -6.2344)
Path.ExtendRoute(-1574.414, 720.1995, -6.2344)
$car_model = Sequence.Open()
Task.Pause(-1, 10000)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
if 
  not Car.IsDead($10721[3])
goto_if_false @IMPND_14543
Task.EnterCarAsDriver(-1, $10721[3], -1)
Task.CarTempAction(-1, $10721[3], TempAction.ReverseRight, 1000)
Char.PerformSequence(-1, $door_height)

:IMPND_14543
Sequence.Close($car_model)
Char.PerformSequence($dock_crane_max_speed(12@,8i), $car_model)
Sequence.Clear($car_model)
Sequence.Clear($door_height)
$10529(12@,8i) = 1

:IMPND_14581
if 
  12@ == 6
goto_if_false @IMPND_14622
if 
  not Car.IsDead($10721[1])
goto_if_false @IMPND_14622
Car.OpenDoor($10721[1], CarDoor.Hood)

:IMPND_14622
$10529(12@,8i) = 1

:IMPND_14633
if 
  $10529(12@,8i) == 1
goto_if_false @IMPND_14838
if 
  $10529(12@,8i) == 1
goto_if_false @IMPND_14827
if 
  not Char.IsDead($dock_crane_max_speed[5])
goto_if_false @IMPND_14827
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), -1)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_14827
if 
  Char.LocateInCar3D($dock_crane_max_speed(12@,8i), 2242.173, 2461.965, 9.8203, 4.0, 4.0, 4.0, False)
goto_if_false @IMPND_14827
Char.MarkAsNoLongerNeeded($dock_crane_max_speed[5])
Car.MarkAsNoLongerNeeded($10721[1])
if 
  $door_control > -25.0
goto_if_false @IMPND_14827
Task.CarDriveWander($dock_crane_max_speed(12@,8i), $10721[1], 20.0, DrivingMode.StopForCars)

:IMPND_14827
$10529(12@,8i) = 2

:IMPND_14838
if 
  $valet_oddjob_opened == 3
goto_if_false @IMPND_15735
if 
  $cop_car == 1
goto_if_false @IMPND_15735
if and
  4.3 > $z
  $x > 2292.0
goto_if_false @IMPND_15530
$10553 = 1
if 
  $10529(12@,8i) == 0
goto_if_false @IMPND_15530
if 
  12@ == 3
goto_if_false @IMPND_15094
Path.FlushRoute
Path.ExtendRoute(2292.413, 2466.859, 2.5313)
Path.ExtendRoute(2292.549, 2448.623, 2.5313)
Path.ExtendRoute(2290.439, 2446.945, 2.5313)
Path.ExtendRoute(2271.247, 2446.799, 2.5313)
Path.ExtendRoute(2266.618, 2449.154, 2.5313)
$car_model = Sequence.Open()
Task.Pause(-1, 1000)
Task.LeaveAnyCar(-1)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Task.AchieveHeading(-1, 337.3988)
Sequence.Close($car_model)
Char.PerformSequence($dock_crane_max_speed(12@,8i), $car_model)
Sequence.Clear($car_model)

:IMPND_15094
if 
  12@ == 4
goto_if_false @IMPND_15230
Path.FlushRoute
Path.ExtendRoute(2283.378, 2469.562, 2.5313)
Path.ExtendRoute(2290.223, 2466.888, 2.5313)
Path.ExtendRoute(2290.487, 2449.401, 2.5313)
Path.ExtendRoute(2269.623, 2448.8, 2.5313)
$car_model = Sequence.Open()
Task.LeaveAnyCar(-1)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Task.AchieveHeading(-1, 25.6125)
Sequence.Close($car_model)
Char.PerformSequence($dock_crane_max_speed(12@,8i), $car_model)
Sequence.Clear($car_model)

:IMPND_15230
if 
  12@ == 5
goto_if_false @IMPND_15519
$door_height = Sequence.Open()
if 
  not Car.IsDead($10721[1])
goto_if_false @IMPND_15342
Task.CarDriveToCoord(-1, $10721[1], 2300.103, 2494.479, 2.266, 10.0, DriveMode.Accurate, 0, DrivingMode.StopForCars)
Task.Pause(-1, 8000)
Task.CarDriveToCoord(-1, $10721[1], 2242.173, 2461.965, 9.8203, 10.0, DriveMode.Accurate, 0, DrivingMode.StopForCars)

:IMPND_15342
Sequence.Close($door_height)
Path.FlushRoute
Path.ExtendRoute(2258.914, 2447.821, 2.5313)
Path.ExtendRoute(2258.346, 2467.58, 2.5313)
Path.ExtendRoute(2298.069, 2467.792, 2.266)
Path.ExtendRoute(2313.553, 2474.045, 2.266)
$car_model = Sequence.Open()
Task.Pause(-1, 10000)
Task.FollowPointRoute(-1, 4, RouteMode.Once)
if 
  not Car.IsDead($10721[1])
goto_if_false @IMPND_15481
Task.EnterCarAsDriver(-1, $10721[1], -1)
Task.CarTempAction(-1, $10721[1], TempAction.ReverseRight, 1000)
Char.PerformSequence(-1, $door_height)

:IMPND_15481
Sequence.Close($car_model)
Char.PerformSequence($dock_crane_max_speed(12@,8i), $car_model)
Sequence.Clear($car_model)
Sequence.Clear($door_height)
$10529(12@,8i) = 1

:IMPND_15519
$10529(12@,8i) = 1

:IMPND_15530
if 
  $10529(12@,8i) == 1
goto_if_false @IMPND_15735
if 
  $10529(12@,8i) == 1
goto_if_false @IMPND_15724
if 
  not Char.IsDead($dock_crane_max_speed[5])
goto_if_false @IMPND_15724
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), -1)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_15724
if 
  Char.LocateInCar3D($dock_crane_max_speed(12@,8i), 2242.173, 2461.965, 9.8203, 4.0, 4.0, 4.0, False)
goto_if_false @IMPND_15724
Char.MarkAsNoLongerNeeded($dock_crane_max_speed[5])
Car.MarkAsNoLongerNeeded($10721[1])
if 
  $door_control > -25.0
goto_if_false @IMPND_15724
Task.CarDriveWander($dock_crane_max_speed(12@,8i), $10721[1], 20.0, DrivingMode.StopForCars)

:IMPND_15724
$10529(12@,8i) = 2

:IMPND_15735
return 

:IMPND_15737
if 
  $valet_oddjob_opened == 1
goto_if_false @IMPND_16699
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($dock_crane_max_speed(12@,8i))
if 
  $in_carX > 16.3914
goto_if_false @IMPND_16011
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), 1553.0, -1627.837, 12.3905, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_15923
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_15916
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 1553.0, -1627.837, 12.3905, MoveState.Run, -2)

:IMPND_15916
goto @IMPND_16004

:IMPND_15923
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_16004
if 
  $10741 > 15.0
goto_if_false @IMPND_16004
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), 1566.329, -1628.917, 13.7858, 8000)

:IMPND_16004
goto @IMPND_16699

:IMPND_16011
if and
  $on_footY > 1580.82
  $on_footZ > -1678.518
goto_if_false @IMPND_16293
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), 1596.388, -1665.798, 4.8604, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_16171
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_16164
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 1596.388, -1665.798, 4.8604, MoveState.Run, -2)

:IMPND_16164
goto @IMPND_16286

:IMPND_16171
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_16286
if 
  $10741 > 10.5
goto_if_false @IMPND_16259
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), 1588.92, -1643.827, 13.2958, 8000)
goto @IMPND_16286

:IMPND_16259
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), 1551.462, -1625.453, 12.3905, 8000)

:IMPND_16286
goto @IMPND_16699

:IMPND_16293
if 
  $on_footY > 1565.101
goto_if_false @IMPND_16510
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), 1593.21, -1702.36, 4.897, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_16443
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_16436
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 1593.21, -1702.36, 4.897, MoveState.Run, -2)

:IMPND_16436
goto @IMPND_16503

:IMPND_16443
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_16503
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), 1589.466, -1699.136, 5.6059, 8000)

:IMPND_16503
goto @IMPND_16699

:IMPND_16510
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), 1542.683, -1706.747, 4.8984, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_16639
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_16632
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 1542.683, -1706.747, 4.8984, MoveState.Run, -2)

:IMPND_16632
goto @IMPND_16699

:IMPND_16639
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_16699
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), 1550.058, -1696.444, 6.4232, 8000)

:IMPND_16699
if 
  $valet_oddjob_opened == 2
goto_if_false @IMPND_18601
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($dock_crane_max_speed(12@,8i))
if 
  $in_carX > 1.6789
goto_if_false @IMPND_17702
if 
  -1667.059 > $on_footY
goto_if_false @IMPND_17056
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), -1697.185, 684.1302, 23.01, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_16906
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_16899
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), -1697.185, 684.1302, 23.01, MoveState.Run, -2)

:IMPND_16899
goto @IMPND_17049

:IMPND_16906
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_17049
16@ = Math.RandomIntInRange(0, 2)
if 
  16@ == 0
goto_if_false @IMPND_17011
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1706.253, 683.8111, 25.3122, 16@)
goto @IMPND_17049

:IMPND_17011
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1685.691, 683.6411, 20.7149, 16@)

:IMPND_17049
goto @IMPND_17695

:IMPND_17056
if 
  $on_footY > -1604.599
goto_if_false @IMPND_17356
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), -1576.953, 661.7159, 6.1901, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_17206
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_17199
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), -1576.953, 661.7159, 6.1901, MoveState.Run, -2)

:IMPND_17199
goto @IMPND_17349

:IMPND_17206
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_17349
16@ = Math.RandomIntInRange(0, 2)
if 
  16@ == 0
goto_if_false @IMPND_17311
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1584.874, 663.152, 7.414, 16@)
goto @IMPND_17349

:IMPND_17311
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1566.207, 664.1497, 8.621, 16@)

:IMPND_17349
goto @IMPND_17695

:IMPND_17356
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), -1629.609, 683.5222, 6.1901, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_17485
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_17478
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), -1629.609, 683.5222, 6.1901, MoveState.Run, -2)

:IMPND_17478
goto @IMPND_17695

:IMPND_17485
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_17695
16@ = Math.RandomIntInRange(0, 3)
if 
  16@ == 0
goto_if_false @IMPND_17583
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1629.298, 694.5806, 6.6079, 16@)

:IMPND_17583
if 
  16@ == 1
goto_if_false @IMPND_17639
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1617.505, 677.6022, 7.9235, 16@)

:IMPND_17639
if 
  16@ == 2
goto_if_false @IMPND_17695
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1648.488, 682.1654, 10.8535, 16@)

:IMPND_17695
goto @IMPND_18601

:IMPND_17702
if and
  -1598.681 > $on_footY
  $on_footZ > 707.923
goto_if_false @IMPND_18005
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), -1618.067, 742.9348, -6.2344, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_17862
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_17855
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), -1618.067, 742.9348, -6.2344, MoveState.Run, -2)

:IMPND_17855
goto @IMPND_18005

:IMPND_17862
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_18005
16@ = Math.RandomIntInRange(0, 2)
if 
  16@ == 0
goto_if_false @IMPND_17967
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1627.667, 738.323, -5.0193, 16@)
goto @IMPND_18005

:IMPND_17967
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1601.436, 739.188, -4.696, 16@)

:IMPND_18005
if and
  $on_footY > -1598.681
  $on_footZ > 707.923
goto_if_false @IMPND_18308
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), -1581.888, 738.4942, -6.2422, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_18165
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_18158
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), -1581.888, 738.4942, -6.2422, MoveState.Run, -2)

:IMPND_18158
goto @IMPND_18308

:IMPND_18165
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_18308
16@ = Math.RandomIntInRange(0, 2)
if 
  16@ == 0
goto_if_false @IMPND_18270
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1594.033, 741.5932, -4.9811, 16@)
goto @IMPND_18308

:IMPND_18270
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1583.25, 724.5026, -5.0768, 16@)

:IMPND_18308
if 
  707.923 > $on_footZ
goto_if_false @IMPND_18601
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), -1591.093, 688.555, -6.2422, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_18458
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_18451
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), -1591.093, 688.555, -6.2422, MoveState.Run, -2)

:IMPND_18451
goto @IMPND_18601

:IMPND_18458
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_18601
16@ = Math.RandomIntInRange(0, 2)
if 
  16@ == 0
goto_if_false @IMPND_18563
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1602.085, 687.7857, -4.6028, 16@)
goto @IMPND_18601

:IMPND_18563
16@ = Math.RandomIntInRange(5000, 8000)
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), -1582.961, 717.1259, -4.2141, 16@)

:IMPND_18601
if 
  $valet_oddjob_opened == 3
goto_if_false @IMPND_19852
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($dock_crane_max_speed(12@,8i))
if 
  $in_carX > 8.9783
goto_if_false @IMPND_19229
if 
  2484.598 > $on_footZ
goto_if_false @IMPND_18932
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), 2241.879, 2453.603, 9.82, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_18808
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_18801
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 2241.879, 2453.603, 9.82, MoveState.Run, -2)

:IMPND_18801
goto @IMPND_18925

:IMPND_18808
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_18925
16@ = Math.RandomIntInRange(5000, 8000)
if 
  13@ == 6
goto_if_false @IMPND_18904
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), 2242.116, 2478.98, 10.8203, 8000)
goto @IMPND_18925

:IMPND_18904
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), $10739, $10740, $10741, 8000)

:IMPND_18925
goto @IMPND_19222

:IMPND_18932
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), 2243.24, 2495.099, 9.8203, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_19061
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_19054
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 2243.24, 2495.099, 9.8203, MoveState.Run, -2)

:IMPND_19054
goto @IMPND_19222

:IMPND_19061
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_19222
if 
  13@ == 6
goto_if_false @IMPND_19201
if 
  $10741 > 5.0
goto_if_false @IMPND_19167
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), 2242.453, 2487.06, 11.7533, 8000)
goto @IMPND_19194

:IMPND_19167
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), 2268.113, 2498.456, 7.7616, 8000)

:IMPND_19194
goto @IMPND_19222

:IMPND_19201
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), $10739, $10740, $10741, 8000)

:IMPND_19222
goto @IMPND_19852

:IMPND_19229
if 
  $in_carX > 2.1249
goto_if_false @IMPND_19663
if 
  $on_footZ > 2458.327
goto_if_false @IMPND_19467
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), 2306.376, 2495.541, 2.266, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_19400
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_19393
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 2306.376, 2495.541, 2.266, MoveState.Run, -2)

:IMPND_19393
goto @IMPND_19460

:IMPND_19400
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_19460
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), 2295.177, 2471.76, 3.955, 8000)

:IMPND_19460
goto @IMPND_19656

:IMPND_19467
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), 2316.06, 2446.912, 2.266, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_19596
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_19589
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 2316.06, 2446.912, 2.266, MoveState.Run, -2)

:IMPND_19589
goto @IMPND_19656

:IMPND_19596
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_19656
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), 2295.216, 2451.088, 4.3783, 8000)

:IMPND_19656
goto @IMPND_19852

:IMPND_19663
if 
  not Char.LocateAnyMeans3D($dock_crane_max_speed(12@,8i), 2238.753, 2457.831, -8.4531, 5.0, 5.0, 5.0, False)
goto_if_false @IMPND_19792
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_19785
Char.ClearTasks($dock_crane_max_speed(12@,8i))
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 2238.753, 2457.831, -8.4531, MoveState.Run, -2)

:IMPND_19785
goto @IMPND_19852

:IMPND_19792
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1639)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_19852
Task.AimGunAtCoord($dock_crane_max_speed(12@,8i), 2251.799, 2465.236, -7.2173, 8000)

:IMPND_19852
return 
if 
  $valet_oddjob_opened == 3
goto_if_false @IMPND_19917
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1506)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_19917
Task.KillCharOnFoot($dock_crane_max_speed(12@,8i), $stattreadstamina_ctr)

:IMPND_19917
return 

:IMPND_19919
if 
  $valet_oddjob_opened == 3
goto_if_false @IMPND_20411
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($dock_crane_max_speed(12@,8i))
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_20411
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1560)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_20411
if 
  $in_carX > 8.9783
goto_if_false @IMPND_20411
if 
  2481.796 > $on_footZ
goto_if_false @IMPND_20178
if 
  Char.IsInArea2D($dock_crane_max_speed(12@,8i), 2237.854, 2448.608, 2239.385, 2450.014, False)
goto_if_false @IMPND_20178
if 
  not Char.IsInArea2D($stattreadstamina_ctr, 2239.573, 2448.616, 2242.363, 2449.851, False)
goto_if_false @IMPND_20178
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 2240.034, 2449.418, 9.8203, MoveState.Walk, -2)
23@ = 1

:IMPND_20178
if 
  $on_footZ >= 2481.796
goto_if_false @IMPND_20411
if 
  Char.IsInArea2D($dock_crane_max_speed(12@,8i), 2253.515, 2485.275, 2248.9, 2492.416, False)
goto_if_false @IMPND_20411
if and
  not Char.IsInArea2D($stattreadstamina_ctr, 2253.515, 2485.275, 2248.9, 2492.416, False)
  not Char.LocateAnyMeansChar3D($dock_crane_max_speed(12@,8i), $stattreadstamina_ctr, 1.5, 1.5, 2.0, False)
goto_if_false @IMPND_20411
$car_model = Sequence.Open()
Task.GoStraightToCoord(-1, 2250.155, 2486.405, 9.8203, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 2247.823, 2487.056, 9.8203, MoveState.Walk, -2)
Task.GoStraightToCoord(-1, 2246.22, 2488.32, 9.8203, MoveState.Walk, -2)
Sequence.Close($car_model)
Char.PerformSequence($dock_crane_max_speed(12@,8i), $car_model)
Sequence.Clear($car_model)
23@ = 1

:IMPND_20411
if 
  $valet_oddjob_opened == 1
goto_if_false @IMPND_20881
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($dock_crane_max_speed(12@,8i))
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1491)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_20881
14@ = Char.GetScriptTaskStatus($dock_crane_max_speed(12@,8i), 1560)
if 
  is_int_lvar_equal_to_constant 14@ == 7
goto_if_false @IMPND_20881
if 
  $in_carX > 12.0
goto_if_false @IMPND_20881
if 
  1569.0 > $on_footY
goto_if_false @IMPND_20677
if 
  Char.IsInArea2D($dock_crane_max_speed(12@,8i), 1543.749, -1632.588, 1544.821, -1631.425, False)
goto_if_false @IMPND_20670
if 
  not Char.IsInArea2D($stattreadstamina_ctr, 1544.966, -1632.88, 1546.495, -1630.646, False)
goto_if_false @IMPND_20670
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 1545.881, -1631.918, 12.3905, MoveState.Walk, -2)
23@ = 1

:IMPND_20670
goto @IMPND_20881

:IMPND_20677
if 
  Char.IsInArea2D($dock_crane_max_speed(12@,8i), 1581.953, -1637.569, 1577.376, -1632.992, False)
goto_if_false @IMPND_20881
if and
  not Char.IsInArea2D($stattreadstamina_ctr, 1581.953, -1637.569, 1577.376, -1632.992, False)
  not Char.LocateAnyMeansChar3D($dock_crane_max_speed(12@,8i), $stattreadstamina_ctr, 1.5, 1.5, 2.0, False)
goto_if_false @IMPND_20881
Path.FlushRoute
Path.ExtendRoute(1578.517, -1636.495, 12.5545)
Path.ExtendRoute(1576.366, -1636.395, 12.5539)
Path.ExtendRoute(1573.981, -1632.764, 12.3905)
$car_model = Sequence.Open()
Task.FollowPointRoute(-1, 4, RouteMode.Once)
Sequence.Close($car_model)
Char.PerformSequence($dock_crane_max_speed(12@,8i), $car_model)
Sequence.Clear($car_model)
23@ = 1

:IMPND_20881
return 
if 
  $valet_oddjob_opened == 3
goto_if_false @IMPND_21066
if 
  12@ == 0
goto_if_false @IMPND_21066
if 
  not Char.IsInArea2D($dock_crane_max_speed(12@,8i), 2237.854, 2448.608, 2239.385, 2450.014, False)
goto_if_false @IMPND_21066
if 
  not Char.IsInArea2D($dock_crane_max_speed(12@,8i), 2239.573, 2448.616, 2242.363, 2449.851, False)
goto_if_false @IMPND_21038
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 2240.034, 2449.418, 9.8203, MoveState.Walk, -2)
goto @IMPND_21066

:IMPND_21038
Task.GoStraightToCoord($dock_crane_max_speed(12@,8i), 2238.569, 2449.417, 10.0372, MoveState.Walk, -2)

:IMPND_21066
return 

:IMPND_21068
$10709 = 0
if 
  $valet_oddjob_opened == 3
goto_if_false @IMPND_21221
if and
  $z > 3.9517
  14.0 > $z
goto_if_false @IMPND_21193
if and
  $x > 2238.0
  2299.0 > $x
goto_if_false @IMPND_21193
if and
  $y > 2430.916
  2502.681 > $y
goto_if_false @IMPND_21193
$10709 = 1

:IMPND_21193
if 
  3.9517 >= $z
goto_if_false @IMPND_21221
$10709 = 1

:IMPND_21221
if 
  $valet_oddjob_opened == 2
goto_if_false @IMPND_21439
if and
  $x > -1645.533
  -1572.785 > $x
goto_if_false @IMPND_21339
if and
  $y > 646.8482
  761.5287 > $y
goto_if_false @IMPND_21339
if and
  11.4577 > $z
  $z > -7.3486
goto_if_false @IMPND_21339
$10709 = 1

:IMPND_21339
if and
  $x > -1701.013
  -1640.991 > $x
goto_if_false @IMPND_21439
if and
  $y > 674.5198
  697.4974 > $y
goto_if_false @IMPND_21439
if and
  $z > 6.096
  26.5941 > $z
goto_if_false @IMPND_21439
$10709 = 1

:IMPND_21439
if 
  $valet_oddjob_opened == 1
goto_if_false @IMPND_21723
if 
  11.7746 > $z
goto_if_false @IMPND_21554
if and
  $x > 1524.017
  1612.404 > $x
goto_if_false @IMPND_21547
if and
  -1633.573 > $y
  $y > -1722.036
goto_if_false @IMPND_21547
$10709 = 1

:IMPND_21547
goto @IMPND_21623

:IMPND_21554
if and
  $x > 1544.427
  1607.588 > $x
goto_if_false @IMPND_21623
if and
  -1603.015 > $y
  $y > -1637.697
goto_if_false @IMPND_21623
$10709 = 1

:IMPND_21623
if and
  $x > 1581.407
  1605.203 > $x
goto_if_false @IMPND_21723
if and
  $y > -1666.734
  -1637.67 > $y
goto_if_false @IMPND_21723
if and
  $z > 4.8451
  13.6917 > $z
goto_if_false @IMPND_21723
$10709 = 1

:IMPND_21723
return 

:IMPND_21725
if or
  not Char.IsInAnyPoliceVehicle($stattreadstamina_ctr)
  $10545(12@,8i) == 1
goto_if_false @IMPND_22001
if 
  Char.HasSpottedChar($dock_crane_max_speed(12@,8i), $stattreadstamina_ctr)
goto_if_false @IMPND_22001
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates($dock_crane_max_speed(12@,8i))
28@ = Char.GetHeading($dock_crane_max_speed(12@,8i))
set_lvar_float_to_var_float 25@ = $x
sub_float_var_from_float_lvar 25@ -= $on_footY
set_lvar_float_to_var_float 26@ = $y
sub_float_var_from_float_lvar 26@ -= $on_footZ
27@ = Math.GetHeadingFromVector2D(25@, 26@)
sub_float_lvar_from_float_lvar 28@ -= 27@
if 
  -180.0 > 28@
goto_if_false @IMPND_21887
28@ += 360.0

:IMPND_21887
28@ = Math.Abs()
if 
  5@ == 0
goto_if_false @IMPND_21959
if 
  90.0 > 28@
goto_if_false @IMPND_21952
$10739, $10740, $10741 = Char.GetCoordinates($stattreadstamina_ctr)
$cop_model = 1

:IMPND_21952
goto @IMPND_22001

:IMPND_21959
if 
  120.0 > 28@
goto_if_false @IMPND_22001
$10739, $10740, $10741 = Char.GetCoordinates($stattreadstamina_ctr)
$cop_model = 1

:IMPND_22001
return 

:IMPND_22003
$cop_car = 0
$10709 = 0
$10553 = 0
$10545[0] = 0
$10545[1] = 0
$10545[2] = 0
$10545[3] = 0
$10545[4] = 0
$10545[5] = 0
$10545[6] = 0
$10545[7] = 0
0@ = 0
1@ = 0
Audio.ClearMissionAudio(MissionAudioSlot.Slot4)
Streaming.MarkModelAsNoLongerNeeded($10706)
Streaming.MarkModelAsNoLongerNeeded($10707)
Streaming.MarkModelAsNoLongerNeeded(346)
Streaming.MarkModelAsNoLongerNeeded(#POLICE_BARRIER)
Streaming.MarkModelAsNoLongerNeeded(#SFCOPDR)
Streaming.MarkModelAsNoLongerNeeded(#KMB_SHUTTER)
DecisionMaker.Remove(2@)
Object.Delete(9@)
Object.Delete(10@)
Object.Delete(6@)
Object.Delete(7@)
16@ = 0

:IMPND_22160
if 
  8 > 16@
goto_if_false @IMPND_22243
if 
  Char.DoesExist($dock_crane_max_speed(16@,8i))
goto_if_false @IMPND_22207
Char.Delete($dock_crane_max_speed(16@,8i))

:IMPND_22207
$imp_f(16@,8i) = 0
$10521(16@,8i) = 0
16@ += 1
goto @IMPND_22160

:IMPND_22243
16@ = 0

:IMPND_22250
if 
  4 > 16@
goto_if_false @IMPND_22311
if 
  not Car.IsDead($10721(16@,4i))
goto_if_false @IMPND_22297
Car.MarkAsNoLongerNeeded($10721(16@,4i))

:IMPND_22297
16@ += 1
goto @IMPND_22250

:IMPND_22311
Char.MarkAsNoLongerNeeded(24@)
$10726 = 0
$10727 = 0
$10728 = 0
$impound_cops_created = 0
$10520 = 0
terminate_this_script 
return 
terminate_this_script 

//-------------External script 72 (VALET)---------------

:VALET
script_name 'VALET'
8@ = 0
5@ = 1
$valet_can_be_created = 1
$valet_mission_completed = 0
$debug_this[0] = 1
$debug_this[1] = 1
$debug_this[2] = 1
4@ = 0
if 
  8@ == 99
goto_if_false @VALET_400
$valet_car(6@,3i) = Char.Create(PedType.CivMale, 189, $force_a_one_off_car(6@,3f), $val_h(6@,3f), $10758(6@,3f))
$last_player_y = Char.Create(PedType.CivMale, 189, $force_a_one_off_car(6@,3f), $val_h(6@,3f), $10758(6@,3f))
$drop_off_car = Car.Create(415, 0.0, 0.0, 0.0)
$a_pickup_car[1] = Car.Create(415, 0.0, 0.0, 0.0)
$create_drop_off_car_now = Car.Create(415, 0.0, 0.0, 0.0)
$area_visible = Car.Create(415, 0.0, 0.0, 0.0)
$playing_scrash1 = Car.Create(415, 0.0, 0.0, 0.0)
$parking_x = Car.Create(415, 0.0, 0.0, 0.0)
$force_valet_on_mission = Car.Create(415, 0.0, 0.0, 0.0)
19@ = Blip.AddForCar($drop_off_car)
20@ = Blip.AddForCoord(21@, 22@, 23@)
7@ = DecisionMakerChar.Copy(65542)
20@ = Blip.AddForCoord(21@, 22@, 23@)
20@ = Blip.AddForCoord(21@, 22@, 23@)
20@ = Blip.AddForCoord(21@, 22@, 23@)
20@ = Blip.AddForCoord(21@, 22@, 23@)

:VALET_400
if 
  not Char.IsDead($valet_car[0])
goto_if_false @VALET_421
Char.Delete($valet_car[0])

:VALET_421
set_var_int_to_constant $valet_scene_running[0] = 1
$debug_this[0] = 1
if 
  not Char.IsDead($valet_car[1])
goto_if_false @VALET_456
Char.Delete($valet_car[1])

:VALET_456
set_var_int_to_constant $valet_scene_running[1] = 1
$debug_this[1] = 1
if 
  not Char.IsDead($valet_car[2])
goto_if_false @VALET_491
Char.Delete($valet_car[2])

:VALET_491
set_var_int_to_constant $valet_scene_running[2] = 1
$debug_this[2] = 1
$force_a_one_off_car[0] = 330.4229
$force_a_one_off_car[1] = 328.9663
$force_a_one_off_car[2] = 326.4376
$val_h[0] = -1510.783
$val_h[1] = -1512.467
$val_h[2] = -1515.406
$10758[0] = 35.0247
$10758[1] = 35.0247
$10758[2] = 35.0313
$10761[0] = 222.0
$10761[1] = 222.0
$10761[2] = 222.0
$10764[0] = -1761.029
$10764[1] = -1759.914
$10764[2] = -1749.713
$10767[0] = 959.5504
$10767[1] = 960.2669
$10767[2] = 960.1956
$10770[0] = 23.8828
$10770[1] = 23.8828
$10770[2] = 23.8906
$10773[0] = 204.3268
$10773[1] = 199.167
$10773[2] = 142.3291
$10776[0] = 2029.758
$10776[1] = 2027.666
$10776[2] = 2026.394
$10779[0] = 1905.943
$10788[1] = 336.9336
$valet_drop_off_area_x1[1] = 323.919
$valet_drop_off_area_x2[1] = -1531.027
$valet_drop_off_area_y1[1] = -1504.174
$10788[2] = -1768.295
$valet_drop_off_area_x1[2] = -1729.094
$valet_drop_off_area_x2[2] = 958.9591
$valet_drop_off_area_y1[2] = 942.184
$10788[3] = 2050.881
$valet_drop_off_area_x1[3] = 2016.906
$valet_drop_off_area_x2[3] = 1958.541
$valet_drop_off_area_y1[3] = 1871.065
$valet_drop_off_area_y2[1] = 336.0477
$car_park_area_x2[1] = -1452.225
$car_park_area_y2[1] = 31.9445
$car_park_area_x1[1] = 271.6679
$car_park_area_y1[1] = -1550.242
$car_park_area_z1[1] = 23.1681
$valet_drop_off_area_y2[2] = -1760.178
$car_park_area_x2[2] = 972.2405
$car_park_area_y2[2] = 16.1633
$car_park_area_x1[2] = -1679.605
$car_park_area_y1[2] = 1064.293
$car_park_area_z1[2] = 24.8629
$valet_drop_off_area_y2[3] = 1968.502
$car_park_area_x2[3] = 1755.079
$car_park_area_y2[3] = 11.4898
$car_park_area_x1[3] = 1917.811
$car_park_area_y1[3] = 1788.146
$car_park_area_z1[3] = 17.3118
$valet_exit_z[1] = 363.3463
$find_drop_off_car_x1[1] = -1522.373
$find_drop_off_car_y1[1] = 393.1729
$find_drop_off_car_x2[1] = -1479.321
$find_drop_off_car_y2[1] = 125.0
$find_drop_off_car_h1[1] = 324.8593
$find_drop_off_car_x3[1] = -1591.327
$find_drop_off_car_y3[1] = 324.8593
$find_drop_off_car_x4[1] = -1591.327
$find_drop_off_car_y4[1] = 338.0
$find_drop_off_car_h1[2] = -1743.524
$find_drop_off_car_x3[2] = 930.9304
$find_drop_off_car_y3[2] = -1780.081
$find_drop_off_car_x4[2] = 908.4018
$find_drop_off_car_y4[2] = 270.0
$valet_exit_z[2] = -1737.715
$find_drop_off_car_x1[2] = 943.7812
$find_drop_off_car_y1[2] = -1704.216
$find_drop_off_car_x2[2] = 911.4586
$find_drop_off_car_y2[2] = 45.0
$valet_exit_z[3] = 2067.529
$find_drop_off_car_x1[3] = 1957.289
$find_drop_off_car_y1[3] = 2097.263
$find_drop_off_car_x2[3] = 1976.0
$find_drop_off_car_y2[3] = 120.0
$find_drop_off_car_h1[3] = 2051.536
$find_drop_off_car_x3[3] = 1933.685
$find_drop_off_car_y3[3] = 2062.818
$find_drop_off_car_x4[3] = 1905.085
$find_drop_off_car_y4[3] = 7.0
$find_drop_off_car_h2[1] = 332.8306
$drop_off_point_x[1] = -1516.251
$drop_off_point_y[1] = 34.8606
$find_drop_off_car_h2[2] = -1754.514
$drop_off_point_x[2] = 953.5991
$drop_off_point_y[2] = 23.75
$find_drop_off_car_h2[3] = 2035.729
$drop_off_point_x[3] = 1912.09
$drop_off_point_y[3] = 11.1751
$car_park_area_z2[0] = -1748.376
$valet_exit_x[0] = 985.3066
$valet_exit_y[0] = 17.9009
$car_park_area_z2[1] = 330.7534
$valet_exit_x[1] = -1474.608
$valet_exit_y[1] = 24.9126
$car_park_area_z2[2] = -1738.28
$valet_exit_x[2] = 985.5498
$valet_exit_y[2] = 16.6718
$car_park_area_z2[3] = 2061.337
$valet_exit_x[3] = 1808.956
$valet_exit_y[3] = 9.6719
$drop_off_point_z[1] = 403.2297
$valet_spawn_x[1] = -1475.298
$valet_spawn_y[1] = 30.0032
$valet_spawn_z[1] = 128.9467
$valet_spawn_h[1] = 341.1339
$valet_spawn_x2[1] = -1556.116
$valet_spawn_y2[1] = 31.9903
$valet_spawn_z2[1] = 328.7578
$drop_off_point_z[2] = -1717.204
$valet_spawn_x[2] = 962.7901
$valet_spawn_y[2] = 23.7474
$valet_spawn_z[2] = 179.9692
$valet_spawn_h[2] = -1791.269
$valet_spawn_x2[2] = 886.3627
$valet_spawn_y2[2] = 23.75
$valet_spawn_z2[2] = 359.2426
$drop_off_point_z[3] = 2073.563
$valet_spawn_x[3] = 1879.736
$valet_spawn_y[3] = 10.4288
$valet_spawn_z[3] = 45.5873
$valet_spawn_h[3] = 2084.156
$valet_spawn_x2[3] = 1965.573
$valet_spawn_y2[3] = 9.9974
$valet_spawn_z2[3] = 117.4401
DecisionMaker.Remove(7@)
7@ = DecisionMakerChar.Copy(65542)
DecisionMakerChar.AddEventResponse(7@, 9, 200, 0.0, 100.0, 100.0, 100.0, True, True)
DecisionMakerChar.AddEventResponse(7@, 15, 415, 0.0, 20.0, 20.0, 20.0, False, True)
DecisionMakerChar.AddEventResponse(7@, 15, 200, 0.0, 80.0, 80.0, 80.0, True, True)
$valet_mission_completed = 1

:VALET_1959
wait 0
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VALET_2291
if 
  $valet_pickup_car == 1
goto_if_false @VALET_2004
gosub @VALET_16854

:VALET_2004
if 
  $a_char <> 1
goto_if_false @VALET_2284
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_2284
if 
  5@ == 1
goto_if_false @VALET_2095
if 
  Player.IsWearing($statbike_temp, 17, "VALET")
goto_if_false @VALET_2088
5@ = 0

:VALET_2088
goto @VALET_2127

:VALET_2095
if 
  not Player.IsWearing($statbike_temp, 17, "VALET")
goto_if_false @VALET_2127
5@ = 1

:VALET_2127
gosub @VALET_2371
if 
  $valet_mission_completed == 1
goto_if_false @VALET_2284
gosub @VALET_3854
gosub @VALET_7842
gosub @VALET_13021
gosub @VALET_16071
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 8@
goto_if_false @VALET_2215
set_lvar_int_to_lvar_int 8@ = TIMERA
8@ += 2300

:VALET_2215
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 9@
goto_if_false @VALET_2249
set_lvar_int_to_lvar_int 9@ = TIMERA
9@ += 100

:VALET_2249
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 10@
goto_if_false @VALET_2284
set_lvar_int_to_lvar_int 10@ = TIMERA
10@ += 900

:VALET_2284
goto @VALET_2364

:VALET_2291
if 
  $valet_mission_completed == 1
goto_if_false @VALET_2364
if 
  $valet == 1
goto_if_false @VALET_2357
$valet = 0
$weapon_shop1_blip = 0
Text.PrintBig('M_FAIL', 5000, TextStyle.Middle)

:VALET_2357
gosub @VALET_16854

:VALET_2364
goto @VALET_1959

:VALET_2371
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 16@
goto_if_false @VALET_3353
set_lvar_int_to_lvar_int 16@ = TIMERA
16@ += 1000
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
$1888 = 0
if 
  Char.IsInArea2D($stattreadstamina_ctr, -1893.419, 1119.227, -1617.915, 828.85, False)
goto_if_false @VALET_2472
$1888 = 2

:VALET_2472
if 
  $1888 == 0
goto_if_false @VALET_3118
$10926 = Streaming.GetAreaVisible()
if 
  $10926 == 0
goto_if_false @VALET_2894
if 
  $10927 == 0
goto_if_false @VALET_2887
if 
  $this_a == 0
goto_if_false @VALET_2670
if 
  $valet_mission_completed == 1
goto_if_false @VALET_2663
if 
  $freeze_creating_drop_off_cars <> 1
goto_if_false @VALET_2663
if 
  $valet == 1
goto_if_false @VALET_2649
$valet = 0
$weapon_shop1_blip = 0
Text.Print('VAL_A9', 4000, 1)
Text.PrintBig('VAL_A6', 4000, TextStyle.Middle)

:VALET_2649
gosub @VALET_16854
$valet_mission_completed = 0

:VALET_2663
goto @VALET_2887

:VALET_2670
$10927 = 1
if 
  not Char.IsDead($valet_car[0])
goto_if_false @VALET_2747
Char.FreezePosition($valet_car[0], True)
if 
  Char.IsInAnyCar($valet_car[0])
goto_if_false @VALET_2747
$stealth_help_flag = Char.GetCarIsUsing($valet_car[0])
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @VALET_2747
Car.FreezePosition($stealth_help_flag, True)

:VALET_2747
if 
  not Char.IsDead($valet_car[1])
goto_if_false @VALET_2817
Char.FreezePosition($valet_car[1], True)
if 
  Char.IsInAnyCar($valet_car[1])
goto_if_false @VALET_2817
$stealth_help_flag = Char.GetCarIsUsing($valet_car[1])
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @VALET_2817
Car.FreezePosition($stealth_help_flag, True)

:VALET_2817
if 
  not Char.IsDead($valet_car[2])
goto_if_false @VALET_2887
Char.FreezePosition($valet_car[2], True)
if 
  Char.IsInAnyCar($valet_car[2])
goto_if_false @VALET_2887
$stealth_help_flag = Char.GetCarIsUsing($valet_car[2])
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @VALET_2887
Car.FreezePosition($stealth_help_flag, True)

:VALET_2887
goto @VALET_3111

:VALET_2894
$10927 = 1
if 
  not Char.IsDead($valet_car[0])
goto_if_false @VALET_2971
Char.FreezePosition($valet_car[0], True)
if 
  Char.IsInAnyCar($valet_car[0])
goto_if_false @VALET_2971
$stealth_help_flag = Char.GetCarIsUsing($valet_car[0])
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @VALET_2971
Car.FreezePosition($stealth_help_flag, True)

:VALET_2971
if 
  not Char.IsDead($valet_car[1])
goto_if_false @VALET_3041
Char.FreezePosition($valet_car[1], True)
if 
  Char.IsInAnyCar($valet_car[1])
goto_if_false @VALET_3041
$stealth_help_flag = Char.GetCarIsUsing($valet_car[1])
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @VALET_3041
Car.FreezePosition($stealth_help_flag, True)

:VALET_3041
if 
  not Char.IsDead($valet_car[2])
goto_if_false @VALET_3111
Char.FreezePosition($valet_car[2], True)
if 
  Char.IsInAnyCar($valet_car[2])
goto_if_false @VALET_3111
$stealth_help_flag = Char.GetCarIsUsing($valet_car[2])
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @VALET_3111
Car.FreezePosition($stealth_help_flag, True)

:VALET_3111
goto @VALET_3353

:VALET_3118
if 
  $10927 == 1
goto_if_false @VALET_3353
$10927 = 0
if 
  not Char.IsDead($valet_car[0])
goto_if_false @VALET_3213
Char.FreezePosition($valet_car[0], False)
if 
  Char.IsInAnyCar($valet_car[0])
goto_if_false @VALET_3213
$stealth_help_flag = Char.GetCarIsUsing($valet_car[0])
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @VALET_3213
Car.FreezePosition($stealth_help_flag, False)

:VALET_3213
if 
  not Char.IsDead($valet_car[1])
goto_if_false @VALET_3283
Char.FreezePosition($valet_car[1], False)
if 
  Char.IsInAnyCar($valet_car[1])
goto_if_false @VALET_3283
$stealth_help_flag = Char.GetCarIsUsing($valet_car[1])
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @VALET_3283
Car.FreezePosition($stealth_help_flag, False)

:VALET_3283
if 
  not Char.IsDead($valet_car[2])
goto_if_false @VALET_3353
Char.FreezePosition($valet_car[2], False)
if 
  Char.IsInAnyCar($valet_car[2])
goto_if_false @VALET_3353
$stealth_help_flag = Char.GetCarIsUsing($valet_car[2])
if 
  not Car.IsDead($stealth_help_flag)
goto_if_false @VALET_3353
Car.FreezePosition($stealth_help_flag, False)

:VALET_3353
if 
  $a_ped == 1
goto_if_false @VALET_3597
if 
  $1888 == 1
goto_if_false @VALET_3444
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 328.1585, -1512.888, 35.0247, 10.0, 10.0, 10.0, False)
goto_if_false @VALET_3444
$a_ped = 0

:VALET_3444
if 
  $1888 == 2
goto_if_false @VALET_3517
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, -1753.936, 961.8587, 23.8906, 10.0, 10.0, 10.0, False)
goto_if_false @VALET_3517
$a_ped = 0

:VALET_3517
if 
  $1888 == 3
goto_if_false @VALET_3590
if 
  not Char.LocateAnyMeans3D($stattreadstamina_ctr, 2021.337, 1918.236, 11.3438, 10.0, 10.0, 10.0, False)
goto_if_false @VALET_3590
$a_ped = 0

:VALET_3590
goto @VALET_3852

:VALET_3597
if 
  $weapon_shop1_blip <> 1
goto_if_false @VALET_3852
if 
  $force_valet_cleanup == 1
goto_if_false @VALET_3852
if 
  $valet == 0
goto_if_false @VALET_3852
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_3852
if 
  $1888 == 2
goto_if_false @VALET_3852
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, -1753.936, 961.8587, 23.8906, 2.0, 2.0, 2.0, True)
goto_if_false @VALET_3852
if 
  Player.IsWearing($statbike_temp, 17, "VALET")
goto_if_false @VALET_3836
if 
  not Player.IsWantedLevelGreater($statbike_temp, 0)
goto_if_false @VALET_3813
Text.PrintNow('VAL_A7', 5000, 1)
$valet = 1
$weapon_shop1_blip = 1
goto @VALET_3829

:VALET_3813
Text.PrintNow('VAL_C1', 1000, 1)

:VALET_3829
goto @VALET_3852

:VALET_3836
Text.PrintNow('VAL_90', 1000, 1)

:VALET_3852
return 

:VALET_3854
if 
  $valet == 1
goto_if_false @VALET_7840
if 
  Player.IsWantedLevelGreater($statbike_temp, 1)
goto_if_false @VALET_3894
Game.SwitchEmergencyServices(True)

:VALET_3894
if 
  not Player.IsWearing($statbike_temp, 17, "VALET")
goto_if_false @VALET_3958
Text.PrintBig('VAL_A6', 4000, TextStyle.Middle)
Text.Print('VAL_B1', 5000, 1)
$dont_clear_valets = 8

:VALET_3958
if 
  $area_visible <> 0
goto_if_false @VALET_4102
if 
  not Car.DoesExist($area_visible)
goto_if_false @VALET_4047
if 
  $valet_cars_to_park > 0
goto_if_false @VALET_4033
Text.PrintBig('VAL_A6', 4000, TextStyle.Middle)
$dont_clear_valets = 8

:VALET_4033
$area_visible = 0
goto @VALET_4102

:VALET_4047
if 
  Car.IsDead($area_visible)
goto_if_false @VALET_4102
Text.PrintBig('VAL_A6', 4000, TextStyle.Middle)
Text.Print('VAL_B6', 5000, 1)
$dont_clear_valets = 8

:VALET_4102
if 
  $g_VB_REAR_DOOR == 0
goto_if_false @VALET_4152
if 
  not Car.IsDead($parking_x)
goto_if_false @VALET_4152
$a_driver = Car.GetBlockingCar($parking_x)
set_var_int_to_var_int $play_was_on_valet_oddjob = $a_driver

:VALET_4152
if 
  $dont_clear_valets == 0
goto_if_false @VALET_4575
if 
  Streaming.HasModelLoaded(189)
goto_if_false @VALET_4570
if 
  Char.IsDead($valet_car[0])
goto_if_false @VALET_4263
$valet_car[0] = Char.Create(PedType.CivMale, 189, -1783.804, 968.6431, 23.7343)
Char.SetDecisionMaker($valet_car[0], 7@)
Char.SetOnlyDamagedByPlayer($valet_car[0], True)
Char.SetSuffersCriticalHits($valet_car[0], False)
$valet_scene_running[0] = 2
0@ = 2

:VALET_4263
if 
  Char.IsDead($valet_car[1])
goto_if_false @VALET_4340
$valet_car[1] = Char.Create(PedType.CivMale, 189, -1782.65, 965.0251, 23.8906)
Char.SetDecisionMaker($valet_car[1], 7@)
Char.SetOnlyDamagedByPlayer($valet_car[1], True)
Char.SetSuffersCriticalHits($valet_car[1], False)
$valet_scene_running[1] = 2
1@ = 2

:VALET_4340
if 
  Char.IsDead($valet_car[2])
goto_if_false @VALET_4417
$valet_car[2] = Char.Create(PedType.CivMale, 189, -1783.731, 965.4009, 23.8961)
Char.SetDecisionMaker($valet_car[2], 7@)
Char.SetOnlyDamagedByPlayer($valet_car[2], True)
Char.SetSuffersCriticalHits($valet_car[2], False)
$valet_scene_running[2] = 2
2@ = 2

:VALET_4417
World.SetPedDensityMultiplier(0.3)
Game.SwitchEmergencyServices(False)
$area_visible = 0
Text.LoadMissionText('VALET1')
Text.ClearPrints
Text.PrintBig('VAL_A7', 3000, TextStyle.Middle)
$1852 = 0
set_lvar_int_to_lvar_int 17@ = TIMERA
17@ += 4000
$dont_clear_valets = 1
if 
  not Char.IsDead($valet_car[0])
goto_if_false @VALET_4517
Char.SetCantBeDraggedOut($valet_car[0], True)

:VALET_4517
if 
  not Char.IsDead($valet_car[1])
goto_if_false @VALET_4540
Char.SetCantBeDraggedOut($valet_car[1], True)

:VALET_4540
if 
  not Char.IsDead($valet_car[2])
goto_if_false @VALET_4563
Char.SetCantBeDraggedOut($valet_car[2], True)

:VALET_4563
goto @VALET_4575

:VALET_4570
Streaming.RequestModel(189)

:VALET_4575
if 
  $dont_clear_valets == 1
goto_if_false @VALET_4642
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 17@
goto_if_false @VALET_4642
$this_b = 3
$frozen_peds = 2
18@ = 1
Text.ClearPrints
$dont_clear_valets = 2

:VALET_4642
if 
  $dont_clear_valets == 2
goto_if_false @VALET_4947
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 17@
goto_if_false @VALET_4947
Text.ClearPrints
Text.PrintWithNumberBig('VAL_60', 18@, 4000, TextStyle.Middle)
Text.PrintWith2NumbersNow('VAL_76', $this_b, $frozen_peds, 4000, TextStyle.Middle)
$frozen_peds *= 60000
Hud.ClearCounter($frozen_peds)
Hud.ClearCounter($this_b)
//Hud.DisplayTimerWithString($frozen_peds, TimerDirection.Down, 'VAL_A8')
Hud.DisplayNthCounterWithString($this_b, CounterDisplay.Number, 1, 'VAL_A3')
set_lvar_int_to_lvar_int 17@ = TIMERA
17@ += 5000
$dont_clear_valets = 4
if 
  $valet_scene_running[0] == 6
goto_if_false @VALET_4831
$valet_scene_running[0] = 1
$sc3_missioncar_alive = 0

:VALET_4831
if 
  $valet_scene_running[1] == 6
goto_if_false @VALET_4863
$valet_scene_running[1] = 1
$player_fall_safe = 0

:VALET_4863
if 
  $valet_scene_running[2] == 6
goto_if_false @VALET_4895
$valet_scene_running[2] = 1
$bball_unlocked = 0

:VALET_4895
if 
  $create_drop_off_car_now <> 0
goto_if_false @VALET_4921
set_var_int_to_var_int $parking_x = $create_drop_off_car_now

:VALET_4921
if 
  $drop_off_car <> 0
goto_if_false @VALET_4947
set_var_int_to_var_int $parking_x = $drop_off_car

:VALET_4947
if 
  $dont_clear_valets == 3
goto_if_false @VALET_4991
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 17@
goto_if_false @VALET_4991
$dont_clear_valets = 4

:VALET_4991
if and
  Char.IsDead($valet_car[0])
  $sc3_missioncar_alive == 0
  $valet_scene_running[0] == 6
goto_if_false @VALET_5077
$sc3_missioncar_alive = 1
$frozen_peds -= 20000
if 
  0 > $frozen_peds
goto_if_false @VALET_5061
$frozen_peds = 0

:VALET_5061
Text.Print('VAL_A19', 4000, 1)

:VALET_5077
if and
  Char.IsDead($valet_car[1])
  $player_fall_safe == 0
  $valet_scene_running[1] == 6
goto_if_false @VALET_5163
$player_fall_safe = 1
$frozen_peds -= 20000
if 
  0 > $frozen_peds
goto_if_false @VALET_5147
$frozen_peds = 0

:VALET_5147
Text.Print('VAL_A19', 4000, 1)

:VALET_5163
if and
  Char.IsDead($valet_car[2])
  $bball_unlocked == 0
  $valet_scene_running[2] == 6
goto_if_false @VALET_5249
$bball_unlocked = 1
$frozen_peds -= 20000
if 
  0 > $frozen_peds
goto_if_false @VALET_5233
$frozen_peds = 0

:VALET_5233
Text.Print('VAL_A19', 4000, 1)

:VALET_5249
if 
  $dont_clear_valets > 3
goto_if_false @VALET_5326
if 
  $frozen_peds == 0
goto_if_false @VALET_5326
Text.ClearPrints
Text.Print('VAL_47', 4000, 1)
Text.PrintBig('VAL_A6', 4000, TextStyle.Middle)
$dont_clear_valets = 8

:VALET_5326
if 
  $dont_clear_valets == 4
goto_if_false @VALET_5476
if 
  $drop_off_car <> 0
goto_if_false @VALET_5476
if 
  not Car.IsDead($drop_off_car)
goto_if_false @VALET_5476
if 
  is_int_var_equal_to_int_var $drop_off_car == $parking_x
goto_if_false @VALET_5476
$imp_seq2 = Car.GetDriver($drop_off_car)
if 
  $imp_seq2 == -1
goto_if_false @VALET_5476
$dont_clear_valets = 20
Text.Print('VAL_84', 4000, 1)
19@ = Blip.AddForCar($drop_off_car)
Blip.SetAsFriendly(19@, True)
set_var_int_to_var_int $area_visible = $drop_off_car
$dont_clear_valets = 5

:VALET_5476
if 
  $dont_clear_valets == 5
goto_if_false @VALET_5875
if 
  not Car.IsDead($area_visible)
goto_if_false @VALET_5849
$imp_seq2 = Car.GetDriver($area_visible)
if 
  $imp_seq2 <> -1
goto_if_false @VALET_5842
if 
  is_int_var_equal_to_int_var $imp_seq2 == $stattreadstamina_ctr
goto_if_false @VALET_5765
Text.ClearPrints
Text.Print('VAL_25', 4000, 1)
Blip.Remove(19@)
$valet_cars_to_park = 60
Car.SetHealth($area_visible, 1000)
Hud.ClearCounter($valet_cars_to_park)
Hud.DisplayNthCounterWithString($valet_cars_to_park, CounterDisplay.Number, 2, 'VAL_A17')
21@, 22@, 23@ = World.GetParkingNodeInArea($valet_drop_off_area_y2($1888,4f), $car_park_area_x2($1888,4f), $car_park_area_y2($1888,4f), $car_park_area_x1($1888,4f), $car_park_area_y1($1888,4f), $car_park_area_z1($1888,4f))
if 
  21@ <> 0.0
goto_if_false @VALET_5758
World.ClearArea(21@, 22@, 23@, 5.0, False)
set_var_float_to_lvar_float $distance_bonus = 21@
set_var_float_to_lvar_float $angle_bonus = 22@
set_var_float_to_lvar_float $parking_bonus = 23@
Blip.Remove(20@)
20@ = Blip.AddForCoord(21@, 22@, 23@)
$dont_clear_valets = 6

:VALET_5758
goto @VALET_5842

:VALET_5765
if or
  is_int_var_equal_to_int_var $imp_seq2 == $valet_car[0]
  is_int_var_equal_to_int_var $imp_seq2 == $valet_car[1]
  is_int_var_equal_to_int_var $imp_seq2 == $valet_car[2]
goto_if_false @VALET_5842
Blip.Remove(19@)
Text.Print('VAL_79', 4000, 1)
$dont_clear_valets = 4
$area_visible = 0
$parking_x = 0

:VALET_5842
goto @VALET_5875

:VALET_5849
Blip.Remove(19@)
$dont_clear_valets = 4
$area_visible = 0
$parking_x = 0

:VALET_5875
if 
  $dont_clear_valets == 6
goto_if_false @VALET_7430
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_7430
if 
  not Car.IsDead($area_visible)
goto_if_false @VALET_7407
$valet_cars_to_park = Car.GetHealth($area_visible)
$valet_time_bonus = 17
sub_int_lvar_from_int_var $valet_time_bonus -= 18@
$valet_time_bonus *= 20
$valet_cars_to_park += -1000
abs_var_int $valet_cars_to_park
cset_lvar_float_to_var_int 13@ =# $valet_cars_to_park
cset_lvar_float_to_var_int 27@ =# $valet_time_bonus
set_lvar_float_to_lvar_float 28@ = 13@
div_float_lvar_by_float_lvar 28@ /= 27@
if 
  28@ > 1.0
goto_if_false @VALET_6031
28@ = 1.0

:VALET_6031
28@ -= 1.0
28@ = Math.Abs()
28@ *= 45.0
cset_var_int_to_lvar_float $valet_cars_to_park =# 28@
if 
  $valet_cars_to_park > 45
goto_if_false @VALET_6089
$valet_cars_to_park = 45

:VALET_6089
if 
  0 > $valet_cars_to_park
goto_if_false @VALET_6114
$valet_cars_to_park = 0

:VALET_6114
$imp_seq2 = Car.GetDriver($area_visible)
if 
  not is_int_var_equal_to_int_var $imp_seq2 == $stattreadstamina_ctr
goto_if_false @VALET_6173
Blip.Remove(20@)
19@ = Blip.AddForCar($area_visible)
Blip.SetAsFriendly(19@, True)
Hud.ClearCounter($valet_cars_to_park)
$dont_clear_valets = 7

:VALET_6173
if and
  $imp_seq2 <> -1
  not is_int_var_equal_to_int_var $imp_seq2 == $stattreadstamina_ctr
  not is_int_var_equal_to_int_var $imp_seq2 == $valet_car[0]
  not is_int_var_equal_to_int_var $imp_seq2 == $valet_car[1]
  not is_int_var_equal_to_int_var $imp_seq2 == $valet_car[2]
goto_if_false @VALET_6263
$area_visible = 0
Blip.Remove(19@)
Hud.ClearCounter($valet_cars_to_park)
$dont_clear_valets = 4
Text.Print('VAL_A4', 4000, 1)

:VALET_6263
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @VALET_6314
if 
  not Char.IsInCar($stattreadstamina_ctr, $area_visible)
goto_if_false @VALET_6314
Text.PrintNow('VAL_A18', 1000, 1)

:VALET_6314
if 
  Car.LocateStopped3D($area_visible, 21@, 22@, 23@, 4.0, 4.0, 4.0, True)
goto_if_false @VALET_7400
Blip.Remove(20@)
Car.SetEngineBroken($area_visible, True)
Car.MarkAsNoLongerNeeded($area_visible)
Hud.ClearCounter($valet_cars_to_park)
set_lvar_int_to_var_int 6@ = $frozen_peds
$on_footY, $on_footZ, $in_carX, 24@ = Path.GetClosestCarNodeWithHeading(21@, 22@, 23@)
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates($area_visible)
26@ = Math.GetDistanceBetweenCoords2D($on_footY, $on_footZ, 21@, 22@)
25@ = Car.GetHeading($area_visible)
24@ = Math.Abs()
if 
  24@ > 180.0
goto_if_false @VALET_6484
24@ -= 180.0

:VALET_6484
25@ = Math.Abs()
if 
  25@ > 180.0
goto_if_false @VALET_6520
25@ -= 180.0

:VALET_6520
set_lvar_float_to_lvar_float 27@ = 24@
sub_float_lvar_from_float_lvar 27@ -= 25@
27@ = Math.Abs()
cset_lvar_float_to_lvar_int 13@ =# 18@
13@ *= 2.0
29@ = 45.0
sub_float_lvar_from_float_lvar 29@ -= 13@
set_lvar_float_to_lvar_float 28@ = 27@
div_float_lvar_by_float_lvar 28@ /= 29@
13@ = 1.0
sub_float_lvar_from_float_lvar 13@ -= 28@
if 
  0.0 > 13@
goto_if_false @VALET_6642
13@ = 0.0

:VALET_6642
13@ *= 10.0
cset_var_int_to_lvar_float $valet_countdown =# 13@
cset_var_int_to_lvar_float $valet_mission_flag =# 13@
cset_lvar_float_to_lvar_int 13@ =# 18@
13@ -= 20.0
13@ = Math.Abs()
13@ /= 6.0
set_lvar_float_to_lvar_float 27@ = 26@
div_float_lvar_by_float_lvar 27@ /= 13@
28@ = 1.0
sub_float_lvar_from_float_lvar 28@ -= 27@
if 
  0.0 > 28@
goto_if_false @VALET_6766
28@ = 0.0

:VALET_6766
28@ *= 5.0
cset_var_int_to_lvar_float $valet_time_bonus =# 28@
set_var_int_to_var_int $valet_mission_car = $valet_time_bonus
add_int_var_to_int_var $valet_mission_flag += $valet_time_bonus
if and
  $valet_mission_flag <> 1
  $valet_cars_to_park <> 1
goto_if_false @VALET_6847
Text.PrintWith2NumbersNow('VAL_A10', $valet_mission_flag, $valet_cars_to_park, 2500, TextStyle.Middle)

:VALET_6847
if and
  $valet_mission_flag == 1
  $valet_cars_to_park <> 1
goto_if_false @VALET_6894
Text.PrintWith2NumbersNow('VAL_A12', $valet_mission_flag, $valet_cars_to_park, 2500, TextStyle.Middle)

:VALET_6894
if and
  $valet_mission_flag <> 1
  $valet_cars_to_park == 1
goto_if_false @VALET_6941
Text.PrintWith2NumbersNow('VAL_A11', $valet_mission_flag, $valet_cars_to_park, 2500, TextStyle.Middle)

:VALET_6941
if and
  $valet_mission_flag == 0
  $valet_cars_to_park == 0
goto_if_false @VALET_6988
Text.PrintWith2NumbersNow('VAL_A13', $valet_mission_flag, $valet_cars_to_park, 2500, TextStyle.Middle)

:VALET_6988
set_var_int_to_var_int $valet_time_bonus = $valet_mission_flag
add_int_var_to_int_var $valet_time_bonus += $valet_cars_to_park
if 
  $valet_time_bonus <> 1
goto_if_false @VALET_7048
Text.PrintWithNumber('VAL_A14', $valet_time_bonus, 2500, 1)
goto @VALET_7067

:VALET_7048
Text.PrintWithNumber('VAL_A15', $valet_time_bonus, 2500, 1)

:VALET_7067
Text.Print('VAL_A16', 3000, 1)
$valet_cars_to_park *= 1000
$valet_mission_flag *= 1000
add_int_var_to_int_var $frozen_peds += $valet_cars_to_park
add_int_var_to_int_var $frozen_peds += $valet_mission_flag
$valet_cars_to_park = 0
$area_visible = 0
$this_b -= 1
$1852 += 1
$valet_time_bonus = Stat.GetInt(StatId.ValetCarsParked)
if 
  is_int_var_greater_than_int_var $1852 > $valet_time_bonus
goto_if_false @VALET_7178
Stat.SetInt(StatId.ValetCarsParked, $1852)

:VALET_7178
if 
  $this_b == 0
goto_if_false @VALET_7393
Text.ClearPrints
Hud.ClearTimer($frozen_peds)
Hud.ClearCounter($this_b)
18@ += 1
$dont_clear_valets = 2
set_var_int_to_lvar_int $this_b = 18@
$this_b += 2
$frozen_peds = 2
if 
  6 > 18@
goto_if_false @VALET_7361
set_var_int_to_lvar_int $valet_time_bonus = 18@
$valet_time_bonus -= 1
Text.PrintWithNumberBig('VAL_62', $valet_time_bonus, 3000, TextStyle.Middle)
set_var_int_to_lvar_int $valet_time_bonus = 18@
$valet_time_bonus *= 100
$valet_time_bonus -= 100
Text.PrintWithNumber('VAL_65', $valet_time_bonus, 4000, 1)
Player.AddScore($statbike_temp, $valet_time_bonus)
set_lvar_int_to_lvar_int 17@ = TIMERA
17@ += 5000

:VALET_7361
if 
  18@ == 6
goto_if_false @VALET_7386
gosub @VALET_16442

:VALET_7386
goto @VALET_7400

:VALET_7393
$dont_clear_valets = 4

:VALET_7400
goto @VALET_7430

:VALET_7407
Text.PrintBig('VAL_A6', 4000, TextStyle.Middle)
$dont_clear_valets = 8

:VALET_7430
if 
  $dont_clear_valets == 7
goto_if_false @VALET_7675
if 
  not Car.IsDead($area_visible)
goto_if_false @VALET_7649
$imp_seq2 = Car.GetDriver($area_visible)
if 
  $imp_seq2 <> -1
goto_if_false @VALET_7642
if 
  is_int_var_equal_to_int_var $imp_seq2 == $stattreadstamina_ctr
goto_if_false @VALET_7565
Blip.Remove(19@)
20@ = Blip.AddForCoord(21@, 22@, 23@)
Hud.ClearCounter($valet_cars_to_park)
Hud.DisplayNthCounterWithString($valet_cars_to_park, CounterDisplay.Number, 2, 'VAL_A17')
$dont_clear_valets = 6
goto @VALET_7642

:VALET_7565
if or
  is_int_var_equal_to_int_var $imp_seq2 == $valet_car[0]
  is_int_var_equal_to_int_var $imp_seq2 == $valet_car[1]
  is_int_var_equal_to_int_var $imp_seq2 == $valet_car[2]
goto_if_false @VALET_7642
Blip.Remove(19@)
Text.Print('VAL_79', 4000, 1)
$dont_clear_valets = 4
$area_visible = 0
$parking_x = 0

:VALET_7642
goto @VALET_7675

:VALET_7649
Blip.Remove(19@)
$dont_clear_valets = 4
$area_visible = 0
$parking_x = 0

:VALET_7675
if 
  $dont_clear_valets == 8
goto_if_false @VALET_7840
Blip.Remove(19@)
Blip.Remove(20@)
Hud.ClearCounter($valet_cars_to_park)
Hud.ClearTimer($frozen_peds)
Hud.ClearCounter($this_b)
World.SetPedDensityMultiplier(1.0)
Game.SwitchEmergencyServices(True)
$valet = 0
$weapon_shop1_blip = 0
$dont_clear_valets = 0
$area_visible = 0
$a_ped = 1
Game.SetWantedMultiplier(1.0)
if 
  not Char.IsDead($valet_car[0])
goto_if_false @VALET_7794
Char.SetCantBeDraggedOut($valet_car[0], False)

:VALET_7794
if 
  not Char.IsDead($valet_car[1])
goto_if_false @VALET_7817
Char.SetCantBeDraggedOut($valet_car[1], False)

:VALET_7817
if 
  not Char.IsDead($valet_car[2])
goto_if_false @VALET_7840
Char.SetCantBeDraggedOut($valet_car[2], False)

:VALET_7840
return 

:VALET_7842
6@ = 0

:VALET_7849
if 
  3 > 6@
goto_if_false @VALET_13019
if 
  not Char.IsDead($valet_car(6@,3i))
goto_if_false @VALET_7985
if 
  Char.IsStuckUnderCar($valet_car(6@,3i))
goto_if_false @VALET_7985
3@ = Char.GetScriptTaskStatus($valet_car(6@,3i), 2089)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_7985
Char.ClearTasksImmediately($valet_car(6@,3i))
Task.DieNamedAnim($valet_car(6@,3i), "KO_SKID_FRONT", "PED", 1000.0, 0)

:VALET_7985
if and
  $valet_scene_running(6@,3i) <> 4
  $valet_scene_running(6@,3i) <> 5
goto_if_false @VALET_8395
if and
  not Char.IsDead($valet_car(6@,3i))
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_8395
if 
  Char.IsRespondingToEvent($valet_car(6@,3i), 9)
goto_if_false @VALET_8344
if or
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $valet_car(6@,3i), 5.0, 5.0, 5.0, False)
  Char.HasBeenDamagedByChar($valet_car(6@,3i), $stattreadstamina_ctr)
goto_if_false @VALET_8328
$valet_scene_running(6@,3i) = 5
$valet_spawn_h2 += 1
Char.ClearTasks($valet_car(6@,3i))
if 
  not Char.IsDead($valet_car[0])
goto_if_false @VALET_8203
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $valet_car[0], 15.0, 15.0, 15.0, False)
goto_if_false @VALET_8203
$valet_scene_running[0] = 5

:VALET_8203
if 
  not Char.IsDead($valet_car[1])
goto_if_false @VALET_8262
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $valet_car[1], 15.0, 15.0, 15.0, False)
goto_if_false @VALET_8262
$valet_scene_running[1] = 5

:VALET_8262
if 
  not Char.IsDead($valet_car[2])
goto_if_false @VALET_8321
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, $valet_car[2], 15.0, 15.0, 15.0, False)
goto_if_false @VALET_8321
$valet_scene_running[2] = 5

:VALET_8321
goto @VALET_8344

:VALET_8328
set_var_int_to_lvar_int $valet_scene_running(6@,3i) = 0@(6@,3i)

:VALET_8344
if 
  $valet_scene_running(6@,3i) <> 9
goto_if_false @VALET_8395
if 
  is_int_var_equal_to_constant $1899 == 7
goto_if_false @VALET_8395
$valet_scene_running(6@,3i) = 9

:VALET_8395
if 
  $valet_scene_running(6@,3i) <> 1
goto_if_false @VALET_8704
if 
  Char.DoesExist($valet_car(6@,3i))
goto_if_false @VALET_8704
if 
  Char.IsDead($valet_car(6@,3i))
goto_if_false @VALET_8704
$on_footY, $on_footZ, $in_carX = Char.GetCoordinatesOfDied($valet_car(6@,3i))
if 
  $valet_scene_running(6@,3i) <> 6
goto_if_false @VALET_8684
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_8576
if 
  Char.LocateAnyMeans3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 15.0, 15.0, 15.0, False)
goto_if_false @VALET_8576
$valet_scene_running[0] = 5
$valet_scene_running[1] = 5
$valet_scene_running[2] = 5

:VALET_8576
if 
  $valet == 1
goto_if_false @VALET_8684
if or
  is_float_var_greater_than_float_var $valet_drop_off_area_y2($1888,4f) > $on_footY
  is_float_var_greater_than_float_var $car_park_area_x2($1888,4f) > $on_footZ
  is_float_var_greater_than_float_var $car_park_area_y2($1888,4f) > $in_carX
  is_float_var_greater_than_float_var $on_footY > $car_park_area_x1($1888,4f)
  is_float_var_greater_than_float_var $on_footZ > $car_park_area_y1($1888,4f)
  is_float_var_greater_than_float_var $in_carX > $car_park_area_z1($1888,4f)
goto_if_false @VALET_8684
Player.AlterWantedLevelNoDrop($statbike_temp, 1)

:VALET_8684
$valet_scene_running(6@,3i) = 6
Char.MarkAsNoLongerNeeded($valet_car(6@,3i))

:VALET_8704
switch_start $valet_scene_running(6@,3i) {numCases} 11 {hasDefaultCase} 0 {defaultLabel} @VALET_13005 {caseNum1} 1 {caseLabel1} @VALET_8836 {caseNum2} 2 {caseLabel2} @VALET_9149 {caseNum3} 3 {caseLabel3} @VALET_9763 {caseNum4} 4 {caseLabel4} @VALET_10506 {caseNum5} 5 {caseLabel5} @VALET_10614 {caseNum6} 6 {caseLabel6} @VALET_12998 {caseNum7} 7 {caseLabel7} @VALET_11111
switch_continued 8 {caseLabel1} @VALET_12285 {caseNum2} 9 {caseLabel2} @VALET_12607 {caseNum3} 10 {caseLabel3} @VALET_10325 {caseNum4} 11 {caseLabel4} @VALET_12792 {caseNum5} -1 {caseLabel5} @VALET_13005 {caseNum6} -1 {caseLabel6} @VALET_13005 {caseNum7} -1 {caseLabel7} @VALET_13005 {caseNum8} -1 {caseLabel8} @VALET_13005 {caseNum9} -1 {caseLabel9} @VALET_13005

:VALET_8836
if 
  $debug_this(6@,3i) == 1
goto_if_false @VALET_9142
Streaming.RequestModel(189)
if 
  Streaming.HasModelLoaded(189)
goto_if_false @VALET_9142
if 
  $1888 == 1
goto_if_false @VALET_8948
$valet_car(6@,3i) = Char.Create(PedType.Mission1, 189, $force_a_one_off_car(6@,3f), $val_h(6@,3f), $10758(6@,3f))
Char.SetHeading($valet_car(6@,3i), $10761(6@,3f))

:VALET_8948
if 
  $1888 == 2
goto_if_false @VALET_9017
$valet_car(6@,3i) = Char.Create(PedType.Mission1, 189, $10764(6@,3f), $10767(6@,3f), $10770(6@,3f))
Char.SetHeading($valet_car(6@,3i), $10773(6@,3f))

:VALET_9017
if 
  $1888 == 3
goto_if_false @VALET_9086
$valet_car(6@,3i) = Char.Create(PedType.Mission1, 189, $10776(6@,3f), $10779(6@,3f), $10782(6@,3f))
Char.SetHeading($valet_car(6@,3i), $10785(6@,3f))

:VALET_9086
Char.SetDecisionMaker($valet_car(6@,3i), 7@)
Char.SetOnlyDamagedByPlayer($valet_car(6@,3i), True)
Char.SetSuffersCriticalHits($valet_car(6@,3i), False)
$valet_scene_running(6@,3i) = 2
0@(6@,3i) = 2

:VALET_9142
goto @VALET_13005

:VALET_9149
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 8@
goto_if_false @VALET_9756
if 
  not Char.IsDead($valet_car(6@,3i))
goto_if_false @VALET_9756
if 
  $1888 == 1
goto_if_false @VALET_9342
if 
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $force_a_one_off_car(6@,3f), $val_h(6@,3f), $10758(6@,3f), 2.0, 2.0, 2.0, False)
goto_if_false @VALET_9342
11@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, $force_a_one_off_car(6@,3f), $val_h(6@,3f), $10758(6@,3f), 6, -2)
Task.AchieveHeading(-1, $10761(6@,3f))
Sequence.Close(11@)
Char.PerformSequence($valet_car(6@,3i), 11@)
Sequence.Clear(11@)
$valet_scene_running(6@,3i) = 3

:VALET_9342
if 
  $1888 == 2
goto_if_false @VALET_9602
if 
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $10764(6@,3f), $10767(6@,3f), $10770(6@,3f), 2.0, 2.0, 2.0, False)
goto_if_false @VALET_9503
11@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, $10764(6@,3f), $10767(6@,3f), $10770(6@,3f), 6, -2)
Task.AchieveHeading(-1, $10773(6@,3f))
Sequence.Close(11@)
Char.PerformSequence($valet_car(6@,3i), 11@)
Sequence.Clear(11@)
$valet_scene_running(6@,3i) = 3
goto @VALET_9602

:VALET_9503
3@ = Char.GetScriptTaskStatus($valet_car(6@,3i), 1492)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_9602
$a_Car = Char.GetHeading($valet_car(6@,3i))
sub_float_var_from_float_var $a_Car -= $10773(6@,3f)
abs_var_float $a_Car
if 
  10.0 <= $a_Car
goto_if_false @VALET_9602
Task.AchieveHeading($valet_car(6@,3i), $10773(6@,3f))

:VALET_9602
if 
  $1888 == 3
goto_if_false @VALET_9756
if 
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $10776(6@,3f), $10779(6@,3f), $10782(6@,3f), 2.0, 2.0, 2.0, False)
goto_if_false @VALET_9756
11@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, $10776(6@,3f), $10779(6@,3f), $10782(6@,3f), 6, -2)
Task.AchieveHeading(-1, $10785(6@,3f))
Sequence.Close(11@)
Char.PerformSequence($valet_car(6@,3i), 11@)
Sequence.Clear(11@)
$valet_scene_running(6@,3i) = 3

:VALET_9756
goto @VALET_13005

:VALET_9763
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 9@
goto_if_false @VALET_10318
if 
  not Char.IsDead($valet_car(6@,3i))
goto_if_false @VALET_10318
3@ = Char.GetScriptTaskStatus($valet_car(6@,3i), 1560)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_10318
if 
  $1888 == 1
goto_if_false @VALET_9996
if 
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $force_a_one_off_car(6@,3f), $val_h(6@,3f), $10758(6@,3f), 3.0, 3.0, 3.0, False)
goto_if_false @VALET_9985
11@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, $force_a_one_off_car(6@,3f), $val_h(6@,3f), $10758(6@,3f), 6, -2)
Task.AchieveHeading(-1, $10761(6@,3f))
Sequence.Close(11@)
Char.PerformSequence($valet_car(6@,3i), 11@)
Sequence.Clear(11@)
goto @VALET_9996

:VALET_9985
$valet_scene_running(6@,3i) = 2

:VALET_9996
if 
  $1888 == 2
goto_if_false @VALET_10157
if 
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $10764(6@,3f), $10767(6@,3f), $10770(6@,3f), 3.0, 3.0, 3.0, False)
goto_if_false @VALET_10146
11@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, $10764(6@,3f), $10767(6@,3f), $10770(6@,3f), 6, -2)
Task.AchieveHeading(-1, $10773(6@,3f))
Sequence.Close(11@)
Char.PerformSequence($valet_car(6@,3i), 11@)
Sequence.Clear(11@)
goto @VALET_10157

:VALET_10146
$valet_scene_running(6@,3i) = 2

:VALET_10157
if 
  $1888 == 3
goto_if_false @VALET_10318
if 
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $10776(6@,3f), $10779(6@,3f), $10782(6@,3f), 3.0, 3.0, 3.0, False)
goto_if_false @VALET_10307
11@ = Sequence.Open()
Task.FollowPathNodesToCoord(-1, $10776(6@,3f), $10779(6@,3f), $10782(6@,3f), 6, -2)
Task.AchieveHeading(-1, $10785(6@,3f))
Sequence.Close(11@)
Char.PerformSequence($valet_car(6@,3i), 11@)
Sequence.Clear(11@)
goto @VALET_10318

:VALET_10307
$valet_scene_running(6@,3i) = 2

:VALET_10318
goto @VALET_13005

:VALET_10325
if 
  not Char.IsDead($valet_car(6@,3i))
goto_if_false @VALET_10499
3@ = Char.GetScriptTaskStatus($valet_car(6@,3i), 1560)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_10499
if 
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $car_park_area_z2($1888,4f), $valet_exit_x($1888,4f), $valet_exit_y($1888,4f), 3.0, 3.0, 3.0, False)
goto_if_false @VALET_10477
Task.FollowPathNodesToCoord($valet_car(6@,3i), $car_park_area_z2($1888,4f), $valet_exit_x($1888,4f), $valet_exit_y($1888,4f), 6, -2)
goto @VALET_10499

:VALET_10477
0@(6@,3i) = 3
$valet_scene_running(6@,3i) = 3

:VALET_10499
goto @VALET_13005

:VALET_10506
if 
  not Char.IsDead($valet_car(6@,3i))
goto_if_false @VALET_10607
if 
  not Char.IsRespondingToEvent($valet_car(6@,3i), 9)
goto_if_false @VALET_10591
Task.PlayAnimNonInterruptable($valet_car(6@,3i), "FUCKU", "PED", 4.0, False, False, False, False, -2)
4@ += 1

:VALET_10591
set_var_int_to_lvar_int $valet_scene_running(6@,3i) = 0@(6@,3i)

:VALET_10607
goto @VALET_13005

:VALET_10614
if 
  not Char.IsDead($valet_car(6@,3i))
goto_if_false @VALET_11104
3@ = Char.GetScriptTaskStatus($valet_car(6@,3i), 1506)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_10679
Task.KillCharOnFoot($valet_car(6@,3i), $stattreadstamina_ctr)

:VALET_10679
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 9@
goto_if_false @VALET_11104
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_11104
if 
  $1888 == 1
goto_if_false @VALET_10844
if or
  not Char.LocateAnyMeansChar3D($valet_car(6@,3i), $stattreadstamina_ctr, 15.0, 15.0, 15.0, False)
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $force_a_one_off_car(6@,3f), $val_h(6@,3f), $10758(6@,3f), 10.0, 10.0, 10.0, False)
goto_if_false @VALET_10844
Char.ClearTasks($valet_car(6@,3i))
set_var_int_to_lvar_int $valet_scene_running(6@,3i) = 0@(6@,3i)

:VALET_10844
if 
  $1888 == 2
goto_if_false @VALET_10974
if or
  not Char.LocateAnyMeansChar3D($valet_car(6@,3i), $stattreadstamina_ctr, 15.0, 15.0, 15.0, False)
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $10764(6@,3f), $10767(6@,3f), $10770(6@,3f), 10.0, 10.0, 10.0, False)
goto_if_false @VALET_10974
Char.ClearTasks($valet_car(6@,3i))
set_var_int_to_lvar_int $valet_scene_running(6@,3i) = 0@(6@,3i)

:VALET_10974
if 
  $1888 == 3
goto_if_false @VALET_11104
if or
  not Char.LocateAnyMeansChar3D($valet_car(6@,3i), $stattreadstamina_ctr, 15.0, 15.0, 15.0, False)
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $10776(6@,3f), $10779(6@,3f), $10782(6@,3f), 10.0, 10.0, 10.0, False)
goto_if_false @VALET_11104
Char.ClearTasks($valet_car(6@,3i))
set_var_int_to_lvar_int $valet_scene_running(6@,3i) = 0@(6@,3i)

:VALET_11104
goto @VALET_13005

:VALET_11111
if 
  not Char.IsDead($valet_car(6@,3i))
goto_if_false @VALET_12278
if 
  $1888 == 1
goto_if_false @VALET_11240
if 
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $force_a_one_off_car(6@,3f), $val_h(6@,3f), $10758(6@,3f), 23.0, 23.0, 8.0, False)
goto_if_false @VALET_11240
$valet_scene_running(6@,3i) = 2
0@(6@,3i) = 2
$a_pickup_car(6@,3i) = 0

:VALET_11240
if 
  $1888 == 2
goto_if_false @VALET_11349
if 
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $10764(6@,3f), $10767(6@,3f), $10770(6@,3f), 23.0, 23.0, 8.0, False)
goto_if_false @VALET_11349
$valet_scene_running(6@,3i) = 2
0@(6@,3i) = 2
$a_pickup_car(6@,3i) = 0

:VALET_11349
if 
  $1888 == 3
goto_if_false @VALET_11458
if 
  not Char.LocateAnyMeans3D($valet_car(6@,3i), $10776(6@,3f), $10779(6@,3f), $10782(6@,3f), 23.0, 23.0, 8.0, False)
goto_if_false @VALET_11458
$valet_scene_running(6@,3i) = 2
0@(6@,3i) = 2
$a_pickup_car(6@,3i) = 0

:VALET_11458
if 
  $valet_scene_running(6@,3i) <> 2
goto_if_false @VALET_12278
3@ = Char.GetScriptTaskStatus($valet_car(6@,3i), 1560)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_12033
if 
  not Car.IsDead($a_pickup_car(6@,3i))
goto_if_false @VALET_11993
if 
  Char.IsInCar($valet_car(6@,3i), $a_pickup_car(6@,3i))
goto_if_false @VALET_11828
$on_footY, $on_footZ, $in_carX = World.GetParkingNodeInArea($valet_drop_off_area_y2($1888,4f), $car_park_area_x2($1888,4f), $car_park_area_y2($1888,4f), $car_park_area_x1($1888,4f), $car_park_area_y1($1888,4f), $car_park_area_z1($1888,4f))
if 
  $on_footY <> 0.0
goto_if_false @VALET_11821
if 
  is_int_var_equal_to_int_var $a_pickup_car(6@,3i) == $drop_off_car
goto_if_false @VALET_11664
$drop_off_car = 0

:VALET_11664
set_var_float_to_var_float $distance_bonus = $on_footY
set_var_float_to_var_float $angle_bonus = $on_footZ
set_var_float_to_var_float $parking_bonus = $in_carX
if 
  Car.IsAttached($a_pickup_car(6@,3i))
goto_if_false @VALET_11734
Car.Detach($a_pickup_car(6@,3i), 0.0, 0.0, 0.0, False)

:VALET_11734
Task.CarDriveToCoord($valet_car(6@,3i), $a_pickup_car(6@,3i), $on_footY, $on_footZ, $in_carX, 15.0, DriveMode.Accurate, 0, DrivingMode.StopForCars)
if 
  $valet == 1
goto_if_false @VALET_11799
Char.SetCantBeDraggedOut($valet_car(6@,3i), True)

:VALET_11799
$valet_scene_running(6@,3i) = 8
0@(6@,3i) = 7

:VALET_11821
goto @VALET_11986

:VALET_11828
if 
  not Car.IsDead($a_pickup_car(6@,3i))
goto_if_false @VALET_11953
if 
  Char.LocateAnyMeansCar3D($valet_car(6@,3i), $a_pickup_car(6@,3i), 20.0, 20.0, 20.0, False)
goto_if_false @VALET_11946
11@ = Sequence.Open()
Task.Pause(-1, 3000)
Task.EnterCarAsDriver(-1, $a_pickup_car(6@,3i), -2)
Sequence.Close(11@)
$10925 += 1
Char.PerformSequence($valet_car(6@,3i), 11@)
Sequence.Clear(11@)

:VALET_11946
goto @VALET_11986

:VALET_11953
$valet_scene_running(6@,3i) = 2
0@(6@,3i) = 2
$a_pickup_car(6@,3i) = 0

:VALET_11986
goto @VALET_12026

:VALET_11993
$valet_scene_running(6@,3i) = 2
0@(6@,3i) = 2
$a_pickup_car(6@,3i) = 0

:VALET_12026
goto @VALET_12278

:VALET_12033
if and
  not Car.IsDead($a_pickup_car(6@,3i))
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_12278
$a_driver = Char.GetCarIsUsing($stattreadstamina_ctr)
if 
  is_int_var_equal_to_int_var $a_driver == $a_pickup_car(6@,3i)
goto_if_false @VALET_12174
if 
  Player.IsWearing($statbike_temp, 17, "VALET")
goto_if_false @VALET_12174
if and
  not Char.IsGettingInToACar($valet_car(6@,3i))
  not Char.IsInAnyCar($valet_car(6@,3i))
goto_if_false @VALET_12174
Char.ClearTasks($valet_car(6@,3i))
$valet_scene_running(6@,3i) = 2
$a_pickup_car(6@,3i) = 0

:VALET_12174
if 
  not Car.IsDead($a_pickup_car(6@,3i))
goto_if_false @VALET_12271
if 
  not Char.LocateAnyMeansCar3D($valet_car(6@,3i), $a_pickup_car(6@,3i), 20.0, 20.0, 20.0, False)
goto_if_false @VALET_12271
$valet_scene_running(6@,3i) = 2
0@(6@,3i) = 2
$a_pickup_car(6@,3i) = 0

:VALET_12271
goto @VALET_12278

:VALET_12278
goto @VALET_13005

:VALET_12285
if 
  not Char.IsDead($valet_car(6@,3i))
goto_if_false @VALET_12600
3@ = Char.GetScriptTaskStatus($valet_car(6@,3i), 1489)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_12460
if 
  Char.IsInArea3D($valet_car(6@,3i), $valet_drop_off_area_y2($1888,4f), $car_park_area_x2($1888,4f), $car_park_area_y2($1888,4f), $car_park_area_x1($1888,4f), $car_park_area_y1($1888,4f), $car_park_area_z1($1888,4f), False)
goto_if_false @VALET_12431
$valet_scene_running(6@,3i) = 3
0@(6@,3i) = 3
goto @VALET_12453

:VALET_12431
$valet_scene_running(6@,3i) = 3
0@(6@,3i) = 3

:VALET_12453
goto @VALET_12600

:VALET_12460
if or
  $weapon_shop1_blip == 0
  $valet == 1
  $freeze_creating_drop_off_cars > 0
goto_if_false @VALET_12600
if 
  not Car.IsDead($a_pickup_car(6@,3i))
goto_if_false @VALET_12600
$a_driver = Car.GetBlockingCar($a_pickup_car(6@,3i))
if 
  not Car.IsDead($a_driver)
goto_if_false @VALET_12600
$imp_seq2 = Car.GetDriver($a_driver)
if or
  is_int_var_equal_to_int_var $imp_seq2 == $stattreadstamina_ctr
  $imp_seq2 == -1
goto_if_false @VALET_12600
if 
  $a_driver <> -1
goto_if_false @VALET_12600
set_var_int_to_var_int $play_was_on_valet_oddjob = $a_driver

:VALET_12600
goto @VALET_13005

:VALET_12607
if and
  not Char.IsDead($valet_car(6@,3i))
  not Car.IsDead($a_pickup_car(6@,3i))
goto_if_false @VALET_12785
if 
  not Char.IsInCar($valet_car(6@,3i), $a_pickup_car(6@,3i))
goto_if_false @VALET_12785
$last_player_z = Car.GetDriver($a_pickup_car(6@,3i))
if 
  $last_player_z <> -1
goto_if_false @VALET_12785
$a_driver = Char.GetCarIsUsing($stattreadstamina_ctr)
if 
  is_int_var_equal_to_int_var $a_driver == $a_pickup_car(6@,3i)
goto_if_false @VALET_12774
if 
  Player.IsWearing($statbike_temp, 17, "VALET")
goto_if_false @VALET_12756
goto @VALET_12767

:VALET_12756
$valet_scene_running(6@,3i) = 2

:VALET_12767
goto @VALET_12785

:VALET_12774
$valet_scene_running(6@,3i) = 2

:VALET_12785
goto @VALET_13005

:VALET_12792
if 
  not Char.IsDead($valet_car(6@,3i))
goto_if_false @VALET_12991
3@ = Char.GetScriptTaskStatus($valet_car(6@,3i), 1655)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_12991
if 
  6@ == 0
goto_if_false @VALET_12991
if 
  not Char.IsDead($valet_car[1])
goto_if_false @VALET_12991
if 
  not Char.IsDead($valet_car[0])
goto_if_false @VALET_12991
3@ = Char.GetScriptTaskStatus($valet_car[1], 1655)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_12991
3@ = Char.GetScriptTaskStatus($valet_car[0], 1655)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_12991
Task.ChatWithChar($valet_car[0], $valet_car[1], True, 1)
Task.ChatWithChar($valet_car[1], $valet_car[0], False, 1)
0@ = 11
1@ = 11

:VALET_12991
goto @VALET_13005

:VALET_12998
goto @VALET_13005

:VALET_13005
6@ += 1
goto @VALET_7849

:VALET_13019
return 

:VALET_13021
if or
  $1894 == 0
  $a_thief > 0
goto_if_false @VALET_13235
if 
  $1889 == 0
goto_if_false @VALET_13235
if 
  $create_drop_off_car_now == 0
goto_if_false @VALET_13235
if 
  not World.IsAreaOccupied($10788($1888,4f), $valet_drop_off_area_x2($1888,4f), 0.0, $valet_drop_off_area_x1($1888,4f), $valet_drop_off_area_y1($1888,4f), 80.0, False, True, False, False, False)
goto_if_false @VALET_13164
$a_thief -= 1
$1889 = 1
15@ = 0

:VALET_13164
if 
  $1889 == 0
goto_if_false @VALET_13235
if and
  $area_visible == 0
  $drop_off_car == 0
  $create_drop_off_car_now == 0
goto_if_false @VALET_13235
$a_thief -= 1
$1889 = 1
15@ = 0

:VALET_13235
if 
  $create_drop_off_car_now <> 0
goto_if_false @VALET_13392
if 
  Car.IsDead($create_drop_off_car_now)
goto_if_false @VALET_13283
$valet_event = 1
$create_drop_off_car_now = 0

:VALET_13283
if 
  not Car.IsDead($create_drop_off_car_now)
goto_if_false @VALET_13392
$imp_seq2 = Car.GetDriver($create_drop_off_car_now)
if 
  not Char.IsDead($imp_seq2)
goto_if_false @VALET_13347
if 
  not Char.IsSittingInCar($imp_seq2, $create_drop_off_car_now)
goto_if_false @VALET_13347
Car.MarkAsNoLongerNeeded($create_drop_off_car_now)

:VALET_13347
if or
  $imp_seq2 == -1
  is_int_var_equal_to_int_var $imp_seq2 == $stattreadstamina_ctr
goto_if_false @VALET_13392
Car.MarkAsNoLongerNeeded($create_drop_off_car_now)
$valet_event = 2
$create_drop_off_car_now = 0

:VALET_13392
if 
  $drop_off_car <> 0
goto_if_false @VALET_13507
if 
  Car.IsDead($drop_off_car)
goto_if_false @VALET_13433
$drop_off_car = 0

:VALET_13433
if 
  not Car.IsDead($drop_off_car)
goto_if_false @VALET_13507
$imp_seq2 = Car.GetDriver($drop_off_car)
if 
  is_int_var_equal_to_int_var $imp_seq2 == $stattreadstamina_ctr
goto_if_false @VALET_13507
if 
  not is_int_var_equal_to_int_var $drop_off_car == $playing_scrash1
goto_if_false @VALET_13500
Car.MarkAsNoLongerNeeded($drop_off_car)

:VALET_13500
$drop_off_car = 0

:VALET_13507
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 9@
goto_if_false @VALET_14641
if or
  $valet_scene_running[0] == 2
  $valet_scene_running[1] == 2
  $valet_scene_running[2] == 2
  $valet == 1
  $weapon_shop1_blip == 1
goto_if_false @VALET_14641
if and
  $valet_scene_running[0] <> 7
  $valet_scene_running[1] <> 7
  $valet_scene_running[2] <> 7
goto_if_false @VALET_14641
$force_valet_on_mission = World.GetRandomCarOfTypeInAreaNoSave($10788($1888,4f), $valet_drop_off_area_x2($1888,4f), $valet_drop_off_area_x1($1888,4f), $valet_drop_off_area_y1($1888,4f), -1)
if 
  not Car.IsDead($playing_scrash1)
goto_if_false @VALET_13709
if 
  Car.IsInArea2D($playing_scrash1, $10788($1888,4f), $valet_drop_off_area_x2($1888,4f), $valet_drop_off_area_x1($1888,4f), $valet_drop_off_area_y1($1888,4f), False)
goto_if_false @VALET_13709
set_var_int_to_var_int $force_valet_on_mission = $playing_scrash1

:VALET_13709
if 
  $force_valet_on_mission == -1
goto_if_false @VALET_13797
if 
  not Car.IsDead($create_drop_off_car_now)
goto_if_false @VALET_13797
if 
  Car.IsInArea2D($create_drop_off_car_now, $10788($1888,4f), $valet_drop_off_area_x2($1888,4f), $valet_drop_off_area_x1($1888,4f), $valet_drop_off_area_y1($1888,4f), False)
goto_if_false @VALET_13797
set_var_int_to_var_int $force_valet_on_mission = $create_drop_off_car_now

:VALET_13797
if 
  $force_valet_on_mission == -1
goto_if_false @VALET_13885
if 
  not Car.IsDead($parking_x)
goto_if_false @VALET_13885
if 
  Car.IsInArea2D($parking_x, $10788($1888,4f), $valet_drop_off_area_x2($1888,4f), $valet_drop_off_area_x1($1888,4f), $valet_drop_off_area_y1($1888,4f), False)
goto_if_false @VALET_13885
set_var_int_to_var_int $force_valet_on_mission = $parking_x

:VALET_13885
$10720 = 0
if 
  $force_valet_on_mission <> -1
goto_if_false @VALET_14022
set_var_int_to_var_int $a_int = $force_valet_on_mission
if 
  not Car.IsDead($force_valet_on_mission)
goto_if_false @VALET_14022
$imp_seq2 = Car.GetDriver($force_valet_on_mission)
if 
  $imp_seq2 == -1
goto_if_false @VALET_14022
12@ = Car.GetClass($force_valet_on_mission)
if and
  not is_int_lvar_equal_to_constant 12@ == 0
  not is_int_lvar_equal_to_constant 12@ == 1
  not is_int_lvar_equal_to_constant 12@ == 2
  not is_int_lvar_equal_to_constant 12@ == 3
goto_if_false @VALET_14022
set_var_int_to_var_int $play_was_on_valet_oddjob = $force_valet_on_mission
$force_valet_on_mission = -1

:VALET_14022
if 
  $force_valet_on_mission <> -1
goto_if_false @VALET_14087
if 
  not Car.IsDead($force_valet_on_mission)
goto_if_false @VALET_14087
if 
  Car.IsEmergencyServices($force_valet_on_mission)
goto_if_false @VALET_14087
set_var_int_to_var_int $play_was_on_valet_oddjob = $force_valet_on_mission
$force_valet_on_mission = -1

:VALET_14087
if 
  $force_valet_on_mission <> -1
goto_if_false @VALET_14641
if 
  not Car.IsDead($force_valet_on_mission)
goto_if_false @VALET_14267
$imp_seq2 = Car.GetDriver($force_valet_on_mission)
if 
  $imp_seq2 <> -1
goto_if_false @VALET_14267
if 
  not Char.IsDead($imp_seq2)
goto_if_false @VALET_14267
if 
  not Char.IsSittingInCar($imp_seq2, $force_valet_on_mission)
goto_if_false @VALET_14197
set_var_int_to_var_int $drop_off_car = $force_valet_on_mission
Car.SetStraightLineDistance($drop_off_car, 1)

:VALET_14197
3@ = Char.GetScriptTaskStatus($imp_seq2, 1560)
if 
  is_int_lvar_equal_to_constant 3@ == 1
goto_if_false @VALET_14267
3@ = Char.GetSequenceProgress($imp_seq2)
if 
  3@ == 1
goto_if_false @VALET_14267
set_var_int_to_var_int $drop_off_car = $force_valet_on_mission
Car.SetStraightLineDistance($drop_off_car, 1)

:VALET_14267
if 
  $imp_seq2 == -1
goto_if_false @VALET_14300
set_var_int_to_var_int $drop_off_car = $force_valet_on_mission
Car.SetStraightLineDistance($drop_off_car, 1)

:VALET_14300
$a_driver = Char.GetCarIsUsing($stattreadstamina_ctr)
if 
  is_int_var_equal_to_int_var $a_driver == $drop_off_car
goto_if_false @VALET_14334
$drop_off_car = 0

:VALET_14334
if 
  is_int_var_equal_to_int_var $drop_off_car == $force_valet_on_mission
goto_if_false @VALET_14634
if 
  not Car.IsDead($force_valet_on_mission)
goto_if_false @VALET_14521
30@ = Car.GetMaximumNumberOfPassengers($force_valet_on_mission)
6@ = 0

:VALET_14384
if 
  is_int_lvar_greater_than_int_lvar 30@ > 6@
goto_if_false @VALET_14521
if 
  not Car.IsPassengerSeatFree($force_valet_on_mission, 6@)
goto_if_false @VALET_14507
$last_player_z = Car.GetCharInPassengerSeat($force_valet_on_mission, 6@)
if 
  not Char.IsDead($last_player_z)
goto_if_false @VALET_14507
if 
  Char.IsSittingInCar($last_player_z, $force_valet_on_mission)
goto_if_false @VALET_14507
3@ = Char.GetScriptTaskStatus($last_player_z, 1502)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_14507
Char.MarkAsNoLongerNeeded($last_player_z)
Task.WanderStandard($last_player_z)

:VALET_14507
6@ += 1
goto @VALET_14384

:VALET_14521
if 
  $valet_scene_running[0] == 2
goto_if_false @VALET_14561
$valet_scene_running[0] = 7
set_var_int_to_var_int $a_pickup_car[0] = $drop_off_car
goto @VALET_14634

:VALET_14561
if 
  $valet_scene_running[1] == 2
goto_if_false @VALET_14601
$valet_scene_running[1] = 7
set_var_int_to_var_int $a_pickup_car[1] = $drop_off_car
goto @VALET_14634

:VALET_14601
if 
  $valet_scene_running[2] == 2
goto_if_false @VALET_14634
$valet_scene_running[2] = 7
set_var_int_to_var_int $a_pickup_car[2] = $drop_off_car

:VALET_14634
$force_valet_on_mission = 0

:VALET_14641
if 
  $1889 == 1
goto_if_false @VALET_16069
if 
  is_int_lvar_greater_than_int_lvar TIMERA > 10@
goto_if_false @VALET_16069
$valet_event = 3
$create_drop_off_car_now = 0
$a_driver = World.GetRandomCarOfTypeInAreaNoSave($valet_exit_z($1888,4f), $find_drop_off_car_x1($1888,4f), $find_drop_off_car_y1($1888,4f), $find_drop_off_car_x2($1888,4f), -1)
if 
  $a_driver <> -1
goto_if_false @VALET_14983
if 
  not Car.IsDead($a_driver)
goto_if_false @VALET_14983
24@ = Car.GetHeading($a_driver)
set_lvar_float_to_lvar_float 13@ = 24@
sub_float_var_from_float_lvar 13@ -= $find_drop_off_car_y2($1888,4f)
13@ = Math.Abs()
if 
  45.0 > 13@
goto_if_false @VALET_14983
12@ = Car.GetClass($a_driver)
if or
  is_int_lvar_equal_to_constant 12@ == 0
  is_int_lvar_equal_to_constant 12@ == 1
  is_int_lvar_equal_to_constant 12@ == 2
  is_int_lvar_equal_to_constant 12@ == 3
goto_if_false @VALET_14983
12@ = Car.GetModel($a_driver)
if or
  not is_int_lvar_equal_to_constant 12@ == 596
  not is_int_lvar_equal_to_constant 12@ == 420
goto_if_false @VALET_14983
$last_player_x = Car.GetDriver($a_driver)
if 
  $last_player_x <> -1
goto_if_false @VALET_14983
if 
  not Char.IsDead($last_player_x)
goto_if_false @VALET_14983
3@ = Char.GetScriptTaskStatus($last_player_x, 1490)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_14983
set_var_int_to_var_int $create_drop_off_car_now = $a_driver
Car.SetCanGoAgainstTraffic($create_drop_off_car_now, False)

:VALET_14983
if 
  $create_drop_off_car_now == 0
goto_if_false @VALET_15292
$a_driver = World.GetRandomCarOfTypeInAreaNoSave($find_drop_off_car_h1($1888,4f), $find_drop_off_car_x3($1888,4f), $find_drop_off_car_y3($1888,4f), $find_drop_off_car_x4($1888,4f), -1)
if 
  $a_driver <> -1
goto_if_false @VALET_15292
if 
  not Car.IsDead($a_driver)
goto_if_false @VALET_15292
24@ = Car.GetHeading($a_driver)
set_lvar_float_to_lvar_float 13@ = 24@
sub_float_var_from_float_lvar 13@ -= $find_drop_off_car_y4($1888,4f)
13@ = Math.Abs()
if 
  45.0 > 13@
goto_if_false @VALET_15292
12@ = Car.GetClass($a_driver)
if or
  is_int_lvar_equal_to_constant 12@ == 0
  is_int_lvar_equal_to_constant 12@ == 1
  is_int_lvar_equal_to_constant 12@ == 2
  is_int_lvar_equal_to_constant 12@ == 3
goto_if_false @VALET_15292
12@ = Car.GetModel($a_driver)
if or
  not is_int_lvar_equal_to_constant 12@ == 596
  not is_int_lvar_equal_to_constant 12@ == 420
goto_if_false @VALET_15292
$last_player_x = Car.GetDriver($a_driver)
if 
  $last_player_x <> -1
goto_if_false @VALET_15292
if 
  not Char.IsDead($last_player_x)
goto_if_false @VALET_15292
3@ = Char.GetScriptTaskStatus($last_player_x, 1490)
if 
  is_int_lvar_equal_to_constant 3@ == 7
goto_if_false @VALET_15292
set_var_int_to_var_int $create_drop_off_car_now = $a_driver
Car.SetCanGoAgainstTraffic($create_drop_off_car_now, False)

:VALET_15292
if or
  $valet == 1
  $freeze_creating_drop_off_cars > 0
goto_if_false @VALET_15771
if 
  $create_drop_off_car_now == 0
goto_if_false @VALET_15771
15@ += 1
if 
  15@ == 6
goto_if_false @VALET_15462
6@ = Math.RandomIntInRange(0, 3)
if 
  6@ == 0
goto_if_false @VALET_15400
Streaming.RequestModel(436)
set_lvar_int_to_constant 14@ = 436

:VALET_15400
if 
  6@ == 1
goto_if_false @VALET_15431
Streaming.RequestModel(533)
set_lvar_int_to_constant 14@ = 533

:VALET_15431
if 
  6@ == 2
goto_if_false @VALET_15462
Streaming.RequestModel(507)
set_lvar_int_to_constant 14@ = 507

:VALET_15462
if 
  15@ >= 6
goto_if_false @VALET_15771
if 
  14@ <> 0
goto_if_false @VALET_15771
if 
  Streaming.HasModelLoaded(14@)
goto_if_false @VALET_15771
if 
  not Camera.IsPointOnScreen($drop_off_point_z($1888,4f), $valet_spawn_x($1888,4f), $valet_spawn_y($1888,4f), 5.0)
goto_if_false @VALET_15646
World.ClearArea($drop_off_point_z($1888,4f), $valet_spawn_x($1888,4f), $valet_spawn_y($1888,4f), 5.0, False)
$create_drop_off_car_now = Car.Create(14@, $drop_off_point_z($1888,4f), $valet_spawn_x($1888,4f), $valet_spawn_y($1888,4f))
Car.SetHeading($create_drop_off_car_now, $valet_spawn_z($1888,4f))
$last_player_x = Char.CreateRandomAsDriver($create_drop_off_car_now)
Car.SetCanGoAgainstTraffic($create_drop_off_car_now, False)
goto @VALET_15771

:VALET_15646
if 
  not Camera.IsPointOnScreen($valet_spawn_h($1888,4f), $valet_spawn_x2($1888,4f), $valet_spawn_y2($1888,4f), 5.0)
goto_if_false @VALET_15771
World.ClearArea($valet_spawn_h($1888,4f), $valet_spawn_x2($1888,4f), $valet_spawn_y2($1888,4f), 5.0, False)
$create_drop_off_car_now = Car.Create(14@, $valet_spawn_h($1888,4f), $valet_spawn_x2($1888,4f), $valet_spawn_y2($1888,4f))
Car.SetHeading($create_drop_off_car_now, $valet_spawn_z2($1888,4f))
$last_player_x = Char.CreateRandomAsDriver($create_drop_off_car_now)
Car.SetCanGoAgainstTraffic($create_drop_off_car_now, False)

:VALET_15771
if 
  $create_drop_off_car_now <> 0
goto_if_false @VALET_16069
$1889 = 0
if and
  not Char.IsDead($last_player_x)
  not Car.IsDead($create_drop_off_car_now)
goto_if_false @VALET_16039
if 
  $syn2_mission_attempts == 1
goto_if_false @VALET_15844
Car.ChangeColor($create_drop_off_car_now, 3, 3)

:VALET_15844
Char.MarkAsNoLongerNeeded($last_player_x)
11@ = Sequence.Open()
if 
  $weapon_shop1_blip == 0
goto_if_false @VALET_15911
Task.CarDriveToCoord(-1, $create_drop_off_car_now, $find_drop_off_car_h2($1888,4f), $drop_off_point_x($1888,4f), $drop_off_point_y($1888,4f), 17.0, DriveMode.Normal, 0, DrivingMode.StopForCars)

:VALET_15911
if 
  $weapon_shop1_blip == 1
goto_if_false @VALET_15968
Task.CarDriveToCoord(-1, $create_drop_off_car_now, $find_drop_off_car_h2($1888,4f), $drop_off_point_x($1888,4f), $drop_off_point_y($1888,4f), 17.0, DriveMode.Normal, 0, DrivingMode.AvoidCars)

:VALET_15968
Task.WanderStandard(-1)
Sequence.Close(11@)
if 
  not Char.IsDead($last_player_x)
goto_if_false @VALET_16000
Char.SetCantBeDraggedOut($last_player_x, True)

:VALET_16000
if 
  $valet == 1
goto_if_false @VALET_16026
set_var_int_to_var_int $parking_x = $create_drop_off_car_now

:VALET_16026
Char.PerformSequence($last_player_x, 11@)
Sequence.Clear(11@)

:VALET_16039
if 
  14@ <> 0
goto_if_false @VALET_16069
Streaming.MarkModelAsNoLongerNeeded(14@)
14@ = 0

:VALET_16069
return 

:VALET_16071
if or
  $valet == 1
  $1875 == 1
goto_if_false @VALET_16440
if and
  $play_was_on_valet_oddjob <> -1
  not is_int_var_equal_to_int_var $play_was_on_valet_oddjob == $playing_scrash1
  not is_int_var_equal_to_int_var $play_was_on_valet_oddjob == $area_visible
goto_if_false @VALET_16440
if 
  not is_int_var_equal_to_int_var $parking_y == $play_was_on_valet_oddjob
goto_if_false @VALET_16440
if 
  not Car.IsDead($play_was_on_valet_oddjob)
goto_if_false @VALET_16440
$on_footY, $on_footZ, $in_carX = Car.GetCoordinates($play_was_on_valet_oddjob)
if or
  -1760.178 > $on_footY
  972.2405 > $on_footZ
  16.1633 > $in_carX
  $on_footY > -1679.605
  $on_footZ > 1064.293
  $in_carX > 24.8629
goto_if_false @VALET_16440
if 
  not Char.IsInCar($stattreadstamina_ctr, $play_was_on_valet_oddjob)
goto_if_false @VALET_16440
if 
  not Car.IsOnScreen($play_was_on_valet_oddjob)
goto_if_false @VALET_16297
Car.Delete($play_was_on_valet_oddjob)
goto @VALET_16440

:VALET_16297
$last_player_z = Car.GetDriver($play_was_on_valet_oddjob)
if 
  $last_player_z == -1
goto_if_false @VALET_16440
if 
  not Char.LocateAnyMeansCar3D($stattreadstamina_ctr, $play_was_on_valet_oddjob, 8.0, 8.0, 8.0, False)
goto_if_false @VALET_16440
$last_player_z = Char.CreateRandom(0.0, 0.0, 0.0)
Char.MarkAsNoLongerNeeded($last_player_z)
Car.MarkAsNoLongerNeeded($play_was_on_valet_oddjob)
if and
  not Char.IsDead($last_player_z)
  not Car.IsDead($play_was_on_valet_oddjob)
goto_if_false @VALET_16440
Char.WarpIntoCar($last_player_z, $play_was_on_valet_oddjob)
Task.CarDriveWander($last_player_z, $play_was_on_valet_oddjob, 20.0, DrivingMode.AvoidCars)
$play_was_on_valet_oddjob = 0

:VALET_16440
return 

:VALET_16442
if 
  $disable_debug == 0
goto_if_false @VALET_16829
Stat.PlayerMadeProgress(1)
Audio.PlayMissionPassedTune(1)
$disable_debug = 1
Camera.DoFade(500, Fade.Out)

:VALET_16482
if 
  Camera.GetFadingStatus
goto_if_false @VALET_16506
wait 0
goto @VALET_16482

:VALET_16506
Text.ClearPrints
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VALET_16791
Player.SetControl($statbike_temp, False)
Hud.SwitchWidescreen(True)
$car_gen_duneride_kickstart = Pickup.CreateProtection(-1757.668, 961.7819, 24.3828, 2000, 2000)
Streaming.LoadScene(-1757.668, 961.7819, 24.3828)
Camera.SetFixedPosition(-1761.832, 910.2675, 30.7224, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1761.689, 911.2571, 30.7291, SwitchType.JumpCut)
Camera.DoFade(500, Fade.In)

:VALET_16636
if 
  Camera.GetFadingStatus
goto_if_false @VALET_16660
wait 0
goto @VALET_16636

:VALET_16660
Audio.PlayMissionPassedTune(2)
Text.PrintBig('ASS_ACQ', 5000, TextStyle.WhiteMiddleSmaller)
wait 5000
Camera.SetFixedPosition(-1748.38, 951.821, 27.5455, 0.0, 0.0, 0.0)
Camera.PointAtPoint(-1748.938, 952.5872, 27.2272, SwitchType.JumpCut)
Text.PrintWithNumberNow('ASS_LUV', 2000, 6000, 1)
wait 6000
Camera.DoFade(500, Fade.Out)

:VALET_16767
if 
  Camera.GetFadingStatus
goto_if_false @VALET_16791
wait 0
goto @VALET_16767

:VALET_16791
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @VALET_16829
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Hud.SwitchWidescreen(False)
Player.SetControl($statbike_temp, True)
Camera.DoFade(500, Fade.In)

:VALET_16829
Text.PrintBig('VAL_A33', 5000, TextStyle.Middle)
$dont_clear_valets = 8
return 

:VALET_16854
Streaming.MarkModelAsNoLongerNeeded(189)
Char.MarkAsNoLongerNeeded($valet_car[0])
Char.MarkAsNoLongerNeeded($valet_car[1])
Char.MarkAsNoLongerNeeded($valet_car[2])
Hud.ClearCounter($valet_cars_to_park)
Hud.ClearTimer($frozen_peds)
Hud.ClearCounter($this_b)
DecisionMaker.Remove(7@)
if 
  not Char.IsDead($valet_car[0])
goto_if_false @VALET_16915
Char.Delete($valet_car[0])

:VALET_16915
if 
  not Char.IsDead($valet_car[1])
goto_if_false @VALET_16936
Char.Delete($valet_car[1])

:VALET_16936
if 
  not Char.IsDead($valet_car[2])
goto_if_false @VALET_16957
Char.Delete($valet_car[2])

:VALET_16957
if 
  $valet == 1
goto_if_false @VALET_16986
World.SetPedDensityMultiplier(1.0)
Game.SwitchEmergencyServices(True)

:VALET_16986
$valet_scene_running[0] = 1
$valet_scene_running[1] = 1
$valet_scene_running[2] = 1
4@ = 0
$this_a = 0
if 
  not Car.IsDead($area_visible)
goto_if_false @VALET_17077
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_17077
if 
  not Char.IsInCar($stattreadstamina_ctr, $area_visible)
goto_if_false @VALET_17077
Car.Delete($area_visible)

:VALET_17077
if 
  not Car.IsDead($a_pickup_car[0])
goto_if_false @VALET_17133
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_17133
if 
  not Char.IsInCar($stattreadstamina_ctr, $a_pickup_car[0])
goto_if_false @VALET_17133
Car.Delete($a_pickup_car[0])

:VALET_17133
if 
  not Car.IsDead($a_pickup_car[1])
goto_if_false @VALET_17189
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_17189
if 
  not Char.IsInCar($stattreadstamina_ctr, $a_pickup_car[1])
goto_if_false @VALET_17189
Car.Delete($a_pickup_car[1])

:VALET_17189
if 
  not Car.IsDead($a_pickup_car[2])
goto_if_false @VALET_17245
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_17245
if 
  not Char.IsInCar($stattreadstamina_ctr, $a_pickup_car[2])
goto_if_false @VALET_17245
Car.Delete($a_pickup_car[2])

:VALET_17245
if 
  not Car.IsDead($drop_off_car)
goto_if_false @VALET_17301
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_17301
if 
  not Char.IsInCar($stattreadstamina_ctr, $drop_off_car)
goto_if_false @VALET_17301
Car.Delete($drop_off_car)

:VALET_17301
if 
  not Car.IsDead($create_drop_off_car_now)
goto_if_false @VALET_17357
if 
  not Char.IsDead($stattreadstamina_ctr)
goto_if_false @VALET_17357
if 
  not Char.IsInCar($stattreadstamina_ctr, $create_drop_off_car_now)
goto_if_false @VALET_17357
Car.Delete($create_drop_off_car_now)

:VALET_17357
$sc3_missioncar_alive = 0
$player_fall_safe = 0
$bball_unlocked = 0
$area_visible = 0
$a_pickup_car[0] = 0
$a_pickup_car[1] = 0
$a_pickup_car[2] = 0
$drop_off_car = 0
$valet_event = 4
$create_drop_off_car_now = 0
$dont_clear_valets = 0
$a_char = 0
$valet_pickup_car = 0
$valet_mission_completed = 0
Blip.Remove(20@)
Blip.Remove(19@)
terminate_this_script 
return 
terminate_this_script 

//-------------External script 73 (PHOTO)---------------

:PHOTO
script_name 'PHOTO'
2@ = 0
if 
  2@ == 1
goto_if_false @PHOTO_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:PHOTO_60
Streaming.RequestAnimation("CAMERA")
Streaming.RequestModel(367)

:PHOTO_75
if 
  not Streaming.HasModelLoaded(367)
goto_if_false @PHOTO_117
Streaming.RequestAnimation("CAMERA")
Streaming.RequestModel(367)
wait 0
goto @PHOTO_75

:PHOTO_117
if 
  not Streaming.HasAnimationLoaded("CAMERA")
goto_if_false @PHOTO_164
Streaming.RequestAnimation("CAMERA")
Streaming.RequestModel(367)
wait 0
goto @PHOTO_117

:PHOTO_164
3@ = 1
4@ = 0
if 
  not Char.IsDead(0@)
goto_if_false @PHOTO_204
Char.GiveWeapon(0@, WeaponType.Camera, 1000)

:PHOTO_204
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
goto_if_false @PHOTO_306
if 
  Char.IsUsingMapAttractor(0@)
goto_if_false @PHOTO_292
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @PHOTO_278
goto @PHOTO_2447
goto @PHOTO_285

:PHOTO_278
gosub @PHOTO_320

:PHOTO_285
goto @PHOTO_299

:PHOTO_292
gosub @PHOTO_2405

:PHOTO_299
goto @PHOTO_313

:PHOTO_306
gosub @PHOTO_2405

:PHOTO_313
goto @PHOTO_204

:PHOTO_320
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @PHOTO_397 {caseNum1} 1 {caseLabel1} @PHOTO_383 {caseNum2} -1 {caseLabel2} @PHOTO_397 {caseNum3} -1 {caseLabel3} @PHOTO_397 {caseNum4} -1 {caseLabel4} @PHOTO_397 {caseNum5} -1 {caseLabel5} @PHOTO_397 {caseNum6} -1 {caseLabel6} @PHOTO_397 {caseNum7} -1 {caseLabel7} @PHOTO_397

:PHOTO_383
gosub @PHOTO_399
goto @PHOTO_397

:PHOTO_397
return 

:PHOTO_399
switch_start 4@ {numCases} 13 {hasDefaultCase} 0 {defaultLabel} @PHOTO_2403 {caseNum1} 0 {caseLabel1} @PHOTO_527 {caseNum2} 1 {caseLabel2} @PHOTO_587 {caseNum3} 2 {caseLabel3} @PHOTO_744 {caseNum4} 3 {caseLabel4} @PHOTO_912 {caseNum5} 4 {caseLabel5} @PHOTO_1047 {caseNum6} 5 {caseLabel6} @PHOTO_1172 {caseNum7} 6 {caseLabel7} @PHOTO_1414
switch_continued 7 {caseLabel1} @PHOTO_1540 {caseNum2} 8 {caseLabel2} @PHOTO_1704 {caseNum3} 9 {caseLabel3} @PHOTO_1777 {caseNum4} 10 {caseLabel4} @PHOTO_1902 {caseNum5} 11 {caseLabel5} @PHOTO_2144 {caseNum6} 12 {caseLabel6} @PHOTO_2277 {caseNum7} -1 {caseLabel7} @PHOTO_2403 {caseNum8} -1 {caseLabel8} @PHOTO_2403 {caseNum9} -1 {caseLabel9} @PHOTO_2403

:PHOTO_527
Task.PlayAnim(0@, "CAMSTND_IDLELOOP", "CAMERA", 4.0, False, False, False, True, -1)
4@ += 1
goto @PHOTO_2403

:PHOTO_587
if 
  Char.IsPlayingAnim(0@, "CAMSTND_IDLELOOP")
goto_if_false @PHOTO_737
7@ = Char.GetAnimCurrentTime(0@, "CAMSTND_IDLELOOP")
if 
  7@ >= 1.0
goto_if_false @PHOTO_737
2@ = Math.RandomIntInRange(5000, 8000)
Task.PlayAnim(0@, "CAMSTND_LKABT", "CAMERA", 4.0, True, False, False, True, 2@)
TIMERB = 0
4@ += 1

:PHOTO_737
goto @PHOTO_2403

:PHOTO_744
if 
  is_int_lvar_greater_or_equal_to_int_lvar TIMERB >= 2@
goto_if_false @PHOTO_905
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @PHOTO_852
Task.PlayAnim(0@, "CAMSTND_TO_CAMCRCH", "CAMERA", 4.0, False, False, False, True, -1)
4@ = 7
goto @PHOTO_905

:PHOTO_852
Task.PlayAnim(0@, "CAMSTND_IDLELOOP", "CAMERA", 4.0, False, False, False, True, -1)
4@ = 3

:PHOTO_905
goto @PHOTO_2403

:PHOTO_912
if 
  Char.IsPlayingAnim(0@, "CAMSTND_IDLELOOP")
goto_if_false @PHOTO_1040
7@ = Char.GetAnimCurrentTime(0@, "CAMSTND_IDLELOOP")
if 
  7@ >= 1.0
goto_if_false @PHOTO_1040
Task.PlayAnim(0@, "PICSTND_IN", "CAMERA", 4.0, False, False, False, True, -1)
4@ += 1

:PHOTO_1040
goto @PHOTO_2403

:PHOTO_1047
if 
  Char.IsPlayingAnim(0@, "PICSTND_IN")
goto_if_false @PHOTO_1165
7@ = Char.GetAnimCurrentTime(0@, "PICSTND_IN")
if 
  7@ >= 1.0
goto_if_false @PHOTO_1165
Task.PlayAnim(0@, "PICSTND_TAKE", "CAMERA", 4.0, False, False, False, True, -1)
4@ += 1

:PHOTO_1165
goto @PHOTO_2403

:PHOTO_1172
if 
  Char.IsPlayingAnim(0@, "PICSTND_TAKE")
goto_if_false @PHOTO_1407
7@ = Char.GetAnimCurrentTime(0@, "PICSTND_TAKE")
if and
  7@ > 0.5
  1.0 > 7@
  6@ == 0
goto_if_false @PHOTO_1331
8@, 9@, 10@ = Char.GetOffsetInWorldCoords(0@, 0.0, 0.5, 0.0)
Fx.DrawLightWithRange(8@, 9@, 10@, 255, 255, 255, 50.0)
Audio.ReportMissionAudioEventAtChar(0@, 1132)
6@ = 1

:PHOTO_1331
if 
  7@ >= 1.0
goto_if_false @PHOTO_1407
Task.PlayAnim(0@, "PICSTND_OUT", "CAMERA", 4.0, False, False, False, True, -1)
6@ = 0
4@ += 1

:PHOTO_1407
goto @PHOTO_2403

:PHOTO_1414
if 
  Char.IsPlayingAnim(0@, "PICSTND_OUT")
goto_if_false @PHOTO_1533
7@ = Char.GetAnimCurrentTime(0@, "PICSTND_OUT")
if 
  7@ >= 1.0
goto_if_false @PHOTO_1533
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @PHOTO_1526
4@ = 0
goto @PHOTO_1533

:PHOTO_1526
gosub @PHOTO_2405

:PHOTO_1533
goto @PHOTO_2403

:PHOTO_1540
if 
  Char.IsPlayingAnim(0@, "CAMSTND_TO_CAMCRCH")
goto_if_false @PHOTO_1697
7@ = Char.GetAnimCurrentTime(0@, "CAMSTND_TO_CAMCRCH")
if 
  7@ >= 1.0
goto_if_false @PHOTO_1697
2@ = Math.RandomIntInRange(5000, 8000)
Task.PlayAnim(0@, "CAMCRCH_IDLELOOP", "CAMERA", 4.0, True, False, False, True, 2@)
TIMERB = 0
4@ += 1

:PHOTO_1697
goto @PHOTO_2403

:PHOTO_1704
if 
  is_int_lvar_greater_or_equal_to_int_lvar TIMERB >= 2@
goto_if_false @PHOTO_1770
Task.PlayAnim(0@, "PICCRCH_IN", "CAMERA", 4.0, False, False, False, True, -1)
4@ += 1

:PHOTO_1770
goto @PHOTO_2403

:PHOTO_1777
if 
  Char.IsPlayingAnim(0@, "PICCRCH_IN")
goto_if_false @PHOTO_1895
7@ = Char.GetAnimCurrentTime(0@, "PICCRCH_IN")
if 
  7@ >= 1.0
goto_if_false @PHOTO_1895
Task.PlayAnim(0@, "PICCRCH_TAKE", "CAMERA", 4.0, False, False, False, True, -1)
4@ += 1

:PHOTO_1895
goto @PHOTO_2403

:PHOTO_1902
if 
  Char.IsPlayingAnim(0@, "PICCRCH_TAKE")
goto_if_false @PHOTO_2137
7@ = Char.GetAnimCurrentTime(0@, "PICCRCH_TAKE")
if and
  7@ > 0.5
  1.0 > 7@
  6@ == 0
goto_if_false @PHOTO_2061
8@, 9@, 10@ = Char.GetOffsetInWorldCoords(0@, 0.0, 0.6, 0.0)
Fx.DrawLightWithRange(8@, 9@, 10@, 255, 255, 255, 50.0)
Audio.ReportMissionAudioEventAtChar(0@, 1132)
6@ = 1

:PHOTO_2061
if 
  7@ >= 1.0
goto_if_false @PHOTO_2137
Task.PlayAnim(0@, "PICCRCH_OUT", "CAMERA", 4.0, False, False, False, True, -1)
6@ = 0
4@ += 1

:PHOTO_2137
goto @PHOTO_2403

:PHOTO_2144
if 
  Char.IsPlayingAnim(0@, "PICCRCH_OUT")
goto_if_false @PHOTO_2270
7@ = Char.GetAnimCurrentTime(0@, "PICCRCH_OUT")
if 
  7@ >= 1.0
goto_if_false @PHOTO_2270
Task.PlayAnim(0@, "CAMCRCH_TO_CAMSTND", "CAMERA", 4.0, False, False, False, False, -1)
4@ += 1

:PHOTO_2270
goto @PHOTO_2403

:PHOTO_2277
if 
  Char.IsPlayingAnim(0@, "PICCRCH_OUT")
goto_if_false @PHOTO_2396
7@ = Char.GetAnimCurrentTime(0@, "PICCRCH_OUT")
if 
  7@ >= 1.0
goto_if_false @PHOTO_2396
2@ = Math.RandomIntInRange(0, 100)
if 
  2@ > 50
goto_if_false @PHOTO_2389
4@ = 0
goto @PHOTO_2396

:PHOTO_2389
gosub @PHOTO_2405

:PHOTO_2396
goto @PHOTO_2403

:PHOTO_2403
return 

:PHOTO_2405
Streaming.RemoveAnimation("CAMERA")
if 
  not Char.IsDead(0@)
goto_if_false @PHOTO_2438
Char.RemoveWeapon(0@, WeaponType.Camera)

:PHOTO_2438
Streaming.MarkModelAsNoLongerNeeded(367)
terminate_this_script 
return 

:PHOTO_2447
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
goto_if_false @PHOTO_2516
5@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 5@ == 7
goto_if_false @PHOTO_2509
Task.KillCharOnFoot(0@, $stattreadstamina_ctr)

:PHOTO_2509
goto @PHOTO_2523

:PHOTO_2516
gosub @PHOTO_2405

:PHOTO_2523
goto @PHOTO_2447
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 74 (PRISONR)---------------

:PRISONR
script_name 'PRISONR'
2@ = 0
if 
  2@ == 1
goto_if_false @PRISONR_60
0@ = Char.Create(PedType.CivFemale, 0, 0.0, 0.0, 0.0)

:PRISONR_60
if 
  not Char.IsDead(0@)
goto_if_false @PRISONR_109
9@ = Char.GetPedType(0@)
if 
  is_int_lvar_equal_to_constant 9@ == 6
goto_if_false @PRISONR_109
Char.Delete(0@)
terminate_this_script 

:PRISONR_109
Streaming.RequestAnimation("GANGS")
Streaming.RequestModel(#CIGAR)

:PRISONR_122
if 
  not Streaming.HasAnimationLoaded("GANGS")
goto_if_false @PRISONR_153
wait 0
goto @PRISONR_122

:PRISONR_153
if 
  not Streaming.HasModelLoaded(#CIGAR)
goto_if_false @PRISONR_179
wait 0
goto @PRISONR_153

:PRISONR_179
if 
  not Char.IsDead(0@)
goto_if_false @PRISONR_266
6@, 7@, 8@ = Char.GetCoordinates(0@)
12@ = Object.Create(#CIGAR, 6@, 7@, 8@)
Task.PickUpObject(0@, 12@, 0.0, 0.1, -0.02, 6, 16, "NULL", "NULL", -1)

:PRISONR_266
3@ = 1
4@ = 0
10@ = 0

:PRISONR_287
wait 0
if and
  not Char.IsDead(0@)
  Player.IsPlaying($statbike_temp)
  $1253 == 0
goto_if_false @PRISONR_374
if 
  Char.HasBeenDamagedByChar(0@, $stattreadstamina_ctr)
goto_if_false @PRISONR_360
Char.SetDecisionMaker(0@, $iCheckForWeapons)
goto @PRISONR_1286
goto @PRISONR_367

:PRISONR_360
gosub @PRISONR_388

:PRISONR_367
goto @PRISONR_381

:PRISONR_374
gosub @PRISONR_1259

:PRISONR_381
goto @PRISONR_287

:PRISONR_388
switch_start 3@ {numCases} 1 {hasDefaultCase} 0 {defaultLabel} @PRISONR_465 {caseNum1} 1 {caseLabel1} @PRISONR_451 {caseNum2} -1 {caseLabel2} @PRISONR_465 {caseNum3} -1 {caseLabel3} @PRISONR_465 {caseNum4} -1 {caseLabel4} @PRISONR_465 {caseNum5} -1 {caseLabel5} @PRISONR_465 {caseNum6} -1 {caseLabel6} @PRISONR_465 {caseNum7} -1 {caseLabel7} @PRISONR_465

:PRISONR_451
gosub @PRISONR_467
goto @PRISONR_465

:PRISONR_465
return 

:PRISONR_467
switch_start 4@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @PRISONR_1257 {caseNum1} 0 {caseLabel1} @PRISONR_530 {caseNum2} 1 {caseLabel2} @PRISONR_943 {caseNum3} 2 {caseLabel3} @PRISONR_986 {caseNum4} 3 {caseLabel4} @PRISONR_1029 {caseNum5} 4 {caseLabel5} @PRISONR_1148 {caseNum6} -1 {caseLabel6} @PRISONR_1257 {caseNum7} -1 {caseLabel7} @PRISONR_1257

:PRISONR_530
9@ = Math.RandomIntInRange(0, 100)
if 
  9@ >= 80
goto_if_false @PRISONR_753
6@, 7@, 8@ = Char.GetCoordinates(0@)
11@ = World.GetRandomCharInSphere(6@, 7@, 8@, 2.0, True, True, True)
if and
  not Char.IsDead(11@)
  not is_int_lvar_equal_to_int_lvar 11@ == 0@
goto_if_false @PRISONR_649
Task.KillCharOnFoot(0@, 11@)
4@ = 2
goto @PRISONR_1257
goto @PRISONR_746

:PRISONR_649
Task.PlayAnim(0@, "SMKCIG_PRTL", "GANGS", 1.0, False, False, False, False, 0)
13@ = Particle.CreateOnChar("EXHALE", 0@, 0.0, 0.0, 0.0, 1)
Particle.AttachToCharBone(13@, 0@, 5)
4@ = 3
goto @PRISONR_1257

:PRISONR_746
goto @PRISONR_936

:PRISONR_753
if 
  9@ >= 30
goto_if_false @PRISONR_839
Task.PlayAnim(0@, "IDLE_CHAT", "PED", 1.0, True, False, False, False, 5000)
9@ = Char.SetSayContext(0@, 45)
4@ = 1
goto @PRISONR_1257
goto @PRISONR_936

:PRISONR_839
Task.PlayAnim(0@, "SMKCIG_PRTL", "GANGS", 1.0, False, False, False, False, 0)
13@ = Particle.CreateOnChar("EXHALE", 0@, 0.0, 0.0, 0.0, 1)
Particle.AttachToCharBone(13@, 0@, 5)
4@ = 3
goto @PRISONR_1257

:PRISONR_936
goto @PRISONR_1257

:PRISONR_943
9@ = Char.GetScriptTaskStatus(0@, 1541)
if 
  is_int_lvar_equal_to_constant 9@ == 7
goto_if_false @PRISONR_979
4@ = 0

:PRISONR_979
goto @PRISONR_1257

:PRISONR_986
9@ = Char.GetScriptTaskStatus(0@, 1506)
if 
  is_int_lvar_equal_to_constant 9@ == 7
goto_if_false @PRISONR_1022
4@ = 0

:PRISONR_1022
goto @PRISONR_1257

:PRISONR_1029
if 
  Char.IsPlayingAnim(0@, "SMKCIG_PRTL")
goto_if_false @PRISONR_1129
6@ = Char.GetAnimCurrentTime(0@, "SMKCIG_PRTL")
if and
  6@ >= 0.5
  1.0 > 6@
goto_if_false @PRISONR_1122
Particle.Play(13@)
4@ += 1

:PRISONR_1122
goto @PRISONR_1141

:PRISONR_1129
4@ = 0
Particle.Kill(13@)

:PRISONR_1141
goto @PRISONR_1257

:PRISONR_1148
if 
  Char.IsPlayingAnim(0@, "SMKCIG_PRTL")
goto_if_false @PRISONR_1238
6@ = Char.GetAnimCurrentTime(0@, "SMKCIG_PRTL")
if 
  6@ >= 1.0
goto_if_false @PRISONR_1231
Particle.Kill(13@)
4@ = 0

:PRISONR_1231
goto @PRISONR_1250

:PRISONR_1238
4@ = 0
Particle.Kill(13@)

:PRISONR_1250
goto @PRISONR_1257

:PRISONR_1257
return 

:PRISONR_1259
Streaming.RemoveAnimation("GANGS")
Streaming.MarkModelAsNoLongerNeeded(#CIGAR)
Object.Delete(12@)
Particle.Kill(13@)
terminate_this_script 
return 

:PRISONR_1286
wait 0
if and
  not Char.IsDead(0@)
  $1253 == 0
goto_if_false @PRISONR_1356
10@ = Char.GetScriptTaskStatus(0@, 1477)
if 
  is_int_lvar_equal_to_constant 10@ == 7
goto_if_false @PRISONR_1349
Task.Duck(0@, -2)

:PRISONR_1349
goto @PRISONR_1363

:PRISONR_1356
gosub @PRISONR_1259

:PRISONR_1363
goto @PRISONR_1286
write_debug_with_int "PEDSTATE" {_p2} 3@
write_debug_with_int "SUBSTATESTATUS" {_p2} 4@
write_debug_with_int "LOOP_TIMER" {_p2} TIMERB
write_debug_with_int "SCRIPT_TIMER" {_p2} TIMERA
return 
terminate_this_script 

//-------------External script 75 (CAMERA)---------------

:CAMERA
script_name 'CAMERA'
if 
  0@ == -100
goto_if_false @CAMERA_53
8@ = Char.Create(PedType.CivMale, 0, 0.0, 0.0, 0.0)

:CAMERA_53
3@ = 0
2@ = 0
1@ = 0
12@ = 0.0
13@ = 25.0
14@ = -25.0
Camera.SetPhotoEffect(False)

:CAMERA_108
wait 3@
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @CAMERA_819
if 
  Char.HasGotWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @CAMERA_722
gosub @CAMERA_3382
if 
  11@ == 1
goto_if_false @CAMERA_557
if 
  Char.IsStopped($stattreadstamina_ctr)
goto_if_false @CAMERA_473
if 
  Char.IsCurrentWeapon($stattreadstamina_ctr, WeaponType.Camera)
goto_if_false @CAMERA_385
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.RightShoulder1)
goto_if_false @CAMERA_306
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_001')
goto_if_false @CAMERA_247
Text.ClearHelp

:CAMERA_247
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_002')
goto_if_false @CAMERA_271
Text.ClearHelp

:CAMERA_271
3@ = 0
2@ = 0
4@ = 0
gosub @CAMERA_833
goto @CAMERA_378

:CAMERA_306
1@ = 0
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 1
goto_if_false @CAMERA_338
gosub @CAMERA_1963

:CAMERA_338
if 
  2@ > 0
goto_if_false @CAMERA_370
3@ = 0
goto @CAMERA_378

:CAMERA_370
3@ = 500

:CAMERA_378
goto @CAMERA_466

:CAMERA_385
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_001')
goto_if_false @CAMERA_409
Text.ClearHelp

:CAMERA_409
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_002')
goto_if_false @CAMERA_433
Text.ClearHelp

:CAMERA_433
Camera.SetPhotoEffect(False)
3@ = 500
1@ = 0
2@ = 0
4@ = 0

:CAMERA_466
goto @CAMERA_550

:CAMERA_473
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_001')
goto_if_false @CAMERA_497
Text.ClearHelp

:CAMERA_497
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_002')
goto_if_false @CAMERA_521
Text.ClearHelp

:CAMERA_521
3@ = 500
1@ = 0
2@ = 0
4@ = 0

:CAMERA_550
goto @CAMERA_715

:CAMERA_557
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_001')
goto_if_false @CAMERA_581
Text.ClearHelp

:CAMERA_581
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_002')
goto_if_false @CAMERA_605
Text.ClearHelp

:CAMERA_605
Camera.SetPhotoEffect(False)
3@ = 500
1@ = 0
2@ = 0
4@ = 0
if 
  2@ >= 3
goto_if_false @CAMERA_715
if 
  not Char.IsDead(8@)
goto_if_false @CAMERA_715
Char.FreezePosition(8@, False)
Char.SetVisible(8@, True)
if and
  $weapon_shop1_blip == 0
  5@ == 0
goto_if_false @CAMERA_715
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:CAMERA_715
goto @CAMERA_812

:CAMERA_722
if 
  2@ >= 3
goto_if_false @CAMERA_805
Streaming.RequestModel(367)
3@ = 0
gosub @CAMERA_3382
if 
  11@ == 1
goto_if_false @CAMERA_791
gosub @CAMERA_1963
goto @CAMERA_798

:CAMERA_791
gosub @CAMERA_3556

:CAMERA_798
goto @CAMERA_812

:CAMERA_805
gosub @CAMERA_3556

:CAMERA_812
goto @CAMERA_826

:CAMERA_819
gosub @CAMERA_3556

:CAMERA_826
goto @CAMERA_108

:CAMERA_833
switch_start 1@ {numCases} 5 {hasDefaultCase} 0 {defaultLabel} @CAMERA_1961 {caseNum1} 0 {caseLabel1} @CAMERA_896 {caseNum2} 1 {caseLabel2} @CAMERA_998 {caseNum3} 2 {caseLabel3} @CAMERA_1361 {caseNum4} 3 {caseLabel4} @CAMERA_1542 {caseNum5} 4 {caseLabel5} @CAMERA_1730 {caseNum6} -1 {caseLabel6} @CAMERA_1961 {caseNum7} -1 {caseLabel7} @CAMERA_1961

:CAMERA_896
6@, 7@ = Group.GetSize($flag_cell_nation)
if 
  7@ > 0
goto_if_false @CAMERA_991
if 
  7@ > 3
goto_if_false @CAMERA_950
7@ = 3

:CAMERA_950
6@ = 0
7@ -= 1
15@ = 3.0
15@ += 0.2
1@ += 1

:CAMERA_991
goto @CAMERA_1961

:CAMERA_998
19@, 20@, 21@ = Char.GetCoordinates($stattreadstamina_ctr)
16@, 17@, 18@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 3.0, 0.0)
18@ = World.GetGroundZFor3DCoord(16@, 17@, 18@)
sub_float_lvar_from_float_lvar 21@ -= 18@
if or
  21@ > 2.5
  -2.5 > 21@
goto_if_false @CAMERA_1108
1@ = -1
goto @CAMERA_1961

:CAMERA_1108
19@, 20@, 21@ = Char.GetCoordinates($stattreadstamina_ctr)
16@, 17@, 18@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.0, 6.0, 0.0)
18@ = World.GetGroundZFor3DCoord(16@, 17@, 18@)
sub_float_lvar_from_float_lvar 21@ -= 18@
if or
  21@ > 2.5
  -2.5 > 21@
goto_if_false @CAMERA_1218
1@ = -1
goto @CAMERA_1961

:CAMERA_1218
16@, 17@, 18@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, 0.5, 0.0, 0.0)
19@, 20@, 21@ = Char.GetOffsetInWorldCoords($stattreadstamina_ctr, -0.5, 0.0, 0.0)
if 
  not World.IsFlameInAngledArea2D(16@, 17@, 19@, 20@, 7.0, False)
goto_if_false @CAMERA_1340
6@ = Char.SetSayContext($stattreadstamina_ctr, 330)
6@ = 0
1@ += 1
goto @CAMERA_1354

:CAMERA_1340
1@ = -1
goto @CAMERA_1961

:CAMERA_1354
goto @CAMERA_1961

:CAMERA_1361
if 
  is_int_lvar_greater_than_int_lvar 6@ > 7@
goto_if_false @CAMERA_1408
6@ = 0
10@ = 0
1@ += 1
goto @CAMERA_1535

:CAMERA_1408
8@ = Group.GetMember($flag_cell_nation, 6@)
if 
  not Char.IsDead(8@)
goto_if_false @CAMERA_1528
if and
  not Char.IsRespondingToEvent(8@, 36)
  not Char.IsRespondingToEvent(8@, 37)
  not Char.IsShooting(8@)
goto_if_false @CAMERA_1528
if 
  3 > 6@
goto_if_false @CAMERA_1511
Task.GotoCharOffset(8@, $stattreadstamina_ctr, 20000, 15@, 12@(6@,3f))
goto @CAMERA_1528

:CAMERA_1511
Task.GotoCharOffset(8@, $stattreadstamina_ctr, 20000, 15@, 12@)

:CAMERA_1528
6@ += 1

:CAMERA_1535
goto @CAMERA_1961

:CAMERA_1542
if 
  is_int_lvar_greater_than_int_lvar 6@ > 7@
goto_if_false @CAMERA_1615
6@ = 0
if 
  is_int_lvar_greater_than_int_lvar 10@ > 7@
goto_if_false @CAMERA_1608
6@ = 0
10@ = 0
1@ += 1

:CAMERA_1608
goto @CAMERA_1723

:CAMERA_1615
8@ = Group.GetMember($flag_cell_nation, 6@)
if 
  not Char.IsDead(8@)
goto_if_false @CAMERA_1716
if and
  not Char.IsRespondingToEvent(8@, 36)
  not Char.IsRespondingToEvent(8@, 37)
  not Char.IsShooting(8@)
goto_if_false @CAMERA_1716
9@ = Char.GetScriptTaskStatus(8@, 1704)
if 
  is_int_lvar_equal_to_constant 9@ == 7
goto_if_false @CAMERA_1716
Task.StandStill(8@, 5000)
10@ += 1

:CAMERA_1716
6@ += 1

:CAMERA_1723
goto @CAMERA_1961

:CAMERA_1730
if 
  is_int_lvar_greater_than_int_lvar 6@ > 7@
goto_if_false @CAMERA_1770
6@ = 0
1@ = -1
goto @CAMERA_1954

:CAMERA_1770
8@ = Group.GetMember($flag_cell_nation, 6@)
if 
  not Char.IsDead(8@)
goto_if_false @CAMERA_1947
if 
  Char.IsOnScreen(8@)
goto_if_false @CAMERA_1947
if or
  Char.IsModel(8@, 195)
  Char.IsModel(8@, 192)
  Char.IsModel(8@, 191)
  Char.IsModel(8@, 190)
  Char.IsModel(8@, 193)
  Char.IsModel(8@, 194)
goto_if_false @CAMERA_1939
if 
  Streaming.HasAnimationLoaded("KISSING")
goto_if_false @CAMERA_1932
Task.PlayAnim(8@, "GFWAVE2", "KISSING", 4.0, False, False, False, False, 0)

:CAMERA_1932
goto @CAMERA_1947

:CAMERA_1939
Task.HandGesture(8@, $stattreadstamina_ctr)

:CAMERA_1947
6@ += 1

:CAMERA_1954
goto @CAMERA_1961

:CAMERA_1961
return 

:CAMERA_1963
switch_start 2@ {numCases} 8 {hasDefaultCase} 0 {defaultLabel} @CAMERA_3380 {caseNum1} 0 {caseLabel1} @CAMERA_2091 {caseNum2} 1 {caseLabel2} @CAMERA_2155 {caseNum3} 2 {caseLabel3} @CAMERA_2310 {caseNum4} 3 {caseLabel4} @CAMERA_2445 {caseNum5} 4 {caseLabel5} @CAMERA_2569 {caseNum6} 5 {caseLabel6} @CAMERA_2820 {caseNum7} 6 {caseLabel7} @CAMERA_3231
switch_continued 7 {caseLabel1} @CAMERA_3261 {caseNum2} -1 {caseLabel2} @CAMERA_3380 {caseNum3} -1 {caseLabel3} @CAMERA_3380 {caseNum4} -1 {caseLabel4} @CAMERA_3380 {caseNum5} -1 {caseLabel5} @CAMERA_3380 {caseNum6} -1 {caseLabel6} @CAMERA_3380 {caseNum7} -1 {caseLabel7} @CAMERA_3380 {caseNum8} -1 {caseLabel8} @CAMERA_3380 {caseNum9} -1 {caseLabel9} @CAMERA_3380

:CAMERA_2091
6@, 7@ = Group.GetSize($flag_cell_nation)
if 
  7@ > 0
goto_if_false @CAMERA_2148
6@ = 0
7@ -= 1
2@ += 1
3@ = 0

:CAMERA_2148
goto @CAMERA_3380

:CAMERA_2155
if 
  is_int_lvar_greater_than_int_lvar 6@ > 7@
goto_if_false @CAMERA_2188
6@ = 0
goto @CAMERA_2303

:CAMERA_2188
8@ = Group.GetMember($flag_cell_nation, 6@)
if 
  not Char.IsDead(8@)
goto_if_false @CAMERA_2296
if 
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 8@, 1.5, 1.5, 1.5, False)
goto_if_false @CAMERA_2296
if and
  not Text.IsHelpMessageBeingDisplayed
  4@ == 0
goto_if_false @CAMERA_2289
Text.PrintHelp('CAM_001')
4@ = 1

:CAMERA_2289
2@ += 1

:CAMERA_2296
6@ += 1

:CAMERA_2303
goto @CAMERA_3380

:CAMERA_2310
if and
  not Char.IsDead(8@)
  Char.IsGroupMember(8@, $flag_cell_nation)
goto_if_false @CAMERA_2431
if and
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 8@, 2.5, 2.5, 2.5, False)
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @CAMERA_2417
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @CAMERA_2410
6@ = Char.SetSayContext($stattreadstamina_ctr, 329)
2@ += 1

:CAMERA_2410
goto @CAMERA_2424

:CAMERA_2417
2@ = 0

:CAMERA_2424
goto @CAMERA_2438

:CAMERA_2431
2@ = 0

:CAMERA_2438
goto @CAMERA_3380

:CAMERA_2445
if and
  not Char.IsDead(8@)
  Char.IsGroupMember(8@, $flag_cell_nation)
goto_if_false @CAMERA_2555
if and
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 8@, 2.5, 2.5, 2.5, False)
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @CAMERA_2541
if 
  not Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @CAMERA_2534
2@ += 1

:CAMERA_2534
goto @CAMERA_2548

:CAMERA_2541
2@ = 0

:CAMERA_2548
goto @CAMERA_2562

:CAMERA_2555
2@ = 0

:CAMERA_2562
goto @CAMERA_3380

:CAMERA_2569
if 
  not Char.IsDead(8@)
goto_if_false @CAMERA_2806
if and
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 8@, 3.0, 3.0, 2.0, False)
  Char.IsOnFoot($stattreadstamina_ctr)
  Char.IsGroupMember(8@, $flag_cell_nation)
goto_if_false @CAMERA_2792
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_001')
goto_if_false @CAMERA_2658
Text.ClearHelp

:CAMERA_2658
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_002')
goto_if_false @CAMERA_2682
Text.ClearHelp

:CAMERA_2682
Text.ClearPrints
Char.FreezePosition(8@, True)
Char.SetVisible(8@, False)
16@, 17@, 18@ = Char.GetCoordinates(8@)
18@ += 0.8
Camera.SetFixedPosition(16@, 17@, 18@, 0.0, 0.2, 0.0)
Camera.PointAtChar($stattreadstamina_ctr, CameraMode.Fixed, SwitchType.JumpCut)
Camera.SetPhotoEffect(True)
10@ = Char.GetAmmoInWeapon($stattreadstamina_ctr, WeaponType.Camera)
Char.RemoveWeapon($stattreadstamina_ctr, WeaponType.Camera)
2@ += 1
goto @CAMERA_2799

:CAMERA_2792
2@ = 0

:CAMERA_2799
goto @CAMERA_2813

:CAMERA_2806
2@ = 0

:CAMERA_2813
goto @CAMERA_3380

:CAMERA_2820
if 
  not Char.IsDead(8@)
goto_if_false @CAMERA_3098
if and
  Char.IsGroupMember(8@, $flag_cell_nation)
  Char.LocateAnyMeansChar3D($stattreadstamina_ctr, 8@, 6.0, 6.0, 2.0, False)
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @CAMERA_2951
Text.PrintHelpForever('CAM_002')
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.LeftShoulder1)
goto_if_false @CAMERA_2920
2@ += 1

:CAMERA_2920
if 
  Pad.IsButtonPressed(PadId.Pad1, Button.Triangle)
goto_if_false @CAMERA_2944
2@ = 7

:CAMERA_2944
goto @CAMERA_3091

:CAMERA_2951
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_001')
goto_if_false @CAMERA_2975
Text.ClearHelp

:CAMERA_2975
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_002')
goto_if_false @CAMERA_2999
Text.ClearHelp

:CAMERA_2999
Char.FreezePosition(8@, False)
Char.SetVisible(8@, True)
Camera.SetPhotoEffect(False)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Camera, 10@)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Camera)
19@, 20@, 21@ = Camera.GetActiveCoordinates()
if and
  is_float_lvar_equal_to_float_lvar 19@ == 16@
  is_float_lvar_equal_to_float_lvar 20@ == 17@
  is_float_lvar_equal_to_float_lvar 21@ == 18@
goto_if_false @CAMERA_3084
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:CAMERA_3084
2@ = 0

:CAMERA_3091
goto @CAMERA_3224

:CAMERA_3098
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_001')
goto_if_false @CAMERA_3122
Text.ClearHelp

:CAMERA_3122
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_002')
goto_if_false @CAMERA_3146
Text.ClearHelp

:CAMERA_3146
19@, 20@, 21@ = Camera.GetActiveCoordinates()
if and
  is_float_lvar_equal_to_float_lvar 19@ == 16@
  is_float_lvar_equal_to_float_lvar 20@ == 17@
  is_float_lvar_equal_to_float_lvar 21@ == 18@
goto_if_false @CAMERA_3196
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:CAMERA_3196
Camera.SetPhotoEffect(False)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Camera, 10@)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Camera)
2@ = 0

:CAMERA_3224
goto @CAMERA_3380

:CAMERA_3231
Text.ClearHelp
Text.ClearPrints
Camera.SetPhotoEffect(False)
Camera.TakePhoto(True)
wait 100
2@ += 1
goto @CAMERA_3380

:CAMERA_3261
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_001')
goto_if_false @CAMERA_3285
Text.ClearHelp

:CAMERA_3285
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_002')
goto_if_false @CAMERA_3309
Text.ClearHelp

:CAMERA_3309
Text.ClearPrints
if 
  not Char.IsDead(8@)
goto_if_false @CAMERA_3341
Char.FreezePosition(8@, False)
Char.SetVisible(8@, True)

:CAMERA_3341
Camera.SetBehindPlayer
Camera.RestoreJumpcut
Camera.SetPhotoEffect(False)
Char.GiveWeapon($stattreadstamina_ctr, WeaponType.Camera, 10@)
Char.SetCurrentWeapon($stattreadstamina_ctr, WeaponType.Camera)
2@ = 0
goto @CAMERA_3380

:CAMERA_3380
return 

:CAMERA_3382
11@ = 0
if 
  $weapon_shop1_blip == 0
goto_if_false @CAMERA_3554
if 
  $RStickX == 0
goto_if_false @CAMERA_3554
if 
  $flag_returned_shoehorses == 0
goto_if_false @CAMERA_3554
if 
  not is_global_var_bit_set_const $iGFBonusPickupID {n} 20
goto_if_false @CAMERA_3554
if 
  not Game.IsMinigameInProgress
goto_if_false @CAMERA_3554
if 
  Char.IsOnFoot($stattreadstamina_ctr)
goto_if_false @CAMERA_3554
if 
  not Game.IsGangWarFightingGoingOn
goto_if_false @CAMERA_3554
if 
  not Camera.GetFadingStatus
goto_if_false @CAMERA_3554
if 
  $1254 == 0
goto_if_false @CAMERA_3554
if 
  not Cutscene.HasLoaded
goto_if_false @CAMERA_3554
11@ = 1

:CAMERA_3554
return 

:CAMERA_3556
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_001')
goto_if_false @CAMERA_3580
Text.ClearHelp

:CAMERA_3580
if 
  Text.IsThisHelpMessageBeingDisplayed('CAM_002')
goto_if_false @CAMERA_3604
Text.ClearHelp

:CAMERA_3604
if 
  not Char.IsDead(8@)
goto_if_false @CAMERA_3634
Char.FreezePosition(8@, False)
Char.SetVisible(8@, True)

:CAMERA_3634
if 
  $weapon_shop1_blip == 0
goto_if_false @CAMERA_3731
if 
  2@ >= 3
goto_if_false @CAMERA_3727
19@, 20@, 21@ = Camera.GetActiveCoordinates()
if and
  is_float_lvar_equal_to_float_lvar 19@ == 16@
  is_float_lvar_equal_to_float_lvar 20@ == 17@
  is_float_lvar_equal_to_float_lvar 21@ == 18@
goto_if_false @CAMERA_3720
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:CAMERA_3720
goto @CAMERA_3731

:CAMERA_3727
Camera.SetBehindPlayer
Camera.RestoreJumpcut

:CAMERA_3731
Camera.SetPhotoEffect(False)
Streaming.MarkModelAsNoLongerNeeded(367)
terminate_this_script 
return 
return 
terminate_this_script 

//-------------External script 76 (DEBT)---------------

:DEBT
script_name 'DEBT'
0@ = 0
1@ = 0
2@ = 0
3@ = 0
4@ = 0
5@ = 0
6@ = 0
7@ = 0
8@ = 0
$RStickY = Clock.GetGameTimer()
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 50
set_lvar_int_to_var_int 10@ = $RStickY
10@ -= 10

:DEBT_109
wait 250
$RStickY = Clock.GetGameTimer()
if 
  0@ == 0
goto_if_false @DEBT_644
if 
  $weapon_shop1_blip == 0
goto_if_false @DEBT_607
if 
  is_int_var_greater_than_int_lvar $RStickY > 9@
goto_if_false @DEBT_600
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DEBT_563
11@ = Streaming.GetAreaVisible()
if 
  11@ == 0
goto_if_false @DEBT_519
if 
  not Player.IsWantedLevelGreater($statbike_temp, 1)
goto_if_false @DEBT_475
if 
  not Char.IsInFlyingVehicle($stattreadstamina_ctr)
goto_if_false @DEBT_431
if 
  is_int_var_equal_to_constant $player_on_valet_mission == 3
goto_if_false @DEBT_387
11@ = Player.StoreScore($statbike_temp)
if 
  11@ > -1
goto_if_false @DEBT_291

:DEBT_291
if 
  -5000 > 11@
goto_if_false @DEBT_317
1@ = 1

:DEBT_317
if 
  -50000 > 11@
goto_if_false @DEBT_345
1@ = 2

:DEBT_345
if 
  -500000 > 11@
goto_if_false @DEBT_373
1@ = 3

:DEBT_373
0@ += 1
goto @DEBT_424

:DEBT_387
if 
  is_int_var_greater_than_int_lvar $RStickY > 9@
goto_if_false @DEBT_424
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 120000

:DEBT_424
goto @DEBT_468

:DEBT_431
if 
  is_int_var_greater_than_int_lvar $RStickY > 9@
goto_if_false @DEBT_468
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 60000

:DEBT_468
goto @DEBT_512

:DEBT_475
if 
  is_int_var_greater_than_int_lvar $RStickY > 9@
goto_if_false @DEBT_512
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 60000

:DEBT_512
goto @DEBT_556

:DEBT_519
if 
  is_int_var_greater_than_int_lvar $RStickY > 9@
goto_if_false @DEBT_556
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 60000

:DEBT_556
goto @DEBT_600

:DEBT_563
if 
  is_int_var_greater_than_int_lvar $RStickY > 9@
goto_if_false @DEBT_600
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 120000

:DEBT_600
goto @DEBT_644

:DEBT_607
if 
  is_int_var_greater_than_int_lvar $RStickY > 9@
goto_if_false @DEBT_644
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 120000

:DEBT_644
if 
  0@ == 1
goto_if_false @DEBT_977

:DEBT_662
$RStickY = Clock.GetGameTimer()
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DEBT_945
$x, $y, $in_carX = Char.GetCoordinates($stattreadstamina_ctr)
set_var_float_to_var_float $on_footY = $x
$on_footY -= 200.0
$x += 200.0
$on_footY = Math.RandomFloatInRange($on_footY, $x)
set_var_float_to_var_float $on_footZ = $y
$on_footZ -= 200.0
$y += 200.0
$on_footZ = Math.RandomFloatInRange($on_footZ, $y)
$on_footY, $on_footZ, $in_carX, $on_footX = Path.GetClosestCarNodeWithHeading($on_footY, $on_footZ, $in_carX)
$x, $y, $z = Char.GetCoordinates($stattreadstamina_ctr)
$heading = Math.GetDistanceBetweenCoords2D($x, $y, $on_footY, $on_footZ)
if 
  1.0 > $in_carX
goto_if_false @DEBT_861
wait 0
goto @DEBT_662

:DEBT_861
if 
  50.0 > $heading
goto_if_false @DEBT_893
wait 0
goto @DEBT_662

:DEBT_893
if 
  Camera.IsPointOnScreen($on_footY, $on_footZ, $in_carX, 4.0)
goto_if_false @DEBT_931
wait 0
goto @DEBT_662

:DEBT_931
0@ += 1
goto @DEBT_977

:DEBT_945
gosub @DEBT_3801
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 120000
0@ = 0

:DEBT_977
if 
  0@ == 2
goto_if_false @DEBT_1931
if and
  Streaming.HasModelLoaded(540)
  Streaming.HasModelLoaded(181)
  Streaming.HasModelLoaded(183)
  Streaming.HasModelLoaded(206)
  Streaming.HasModelLoaded(47)
  Streaming.HasModelLoaded(352)
goto_if_false @DEBT_1737
if 
  Streaming.HasModelLoaded(355)
goto_if_false @DEBT_1702
12@ = Car.Create(540, $on_footY, $on_footZ, $in_carX)
Car.SetHeading(12@, $on_footX)
Car.ChangeColor(12@, 75, 0)
Car.SetHealth(12@, 1500)
Car.SetDrivingStyle(12@, DrivingMode.AvoidCars)
StuckCarCheck.AddWithWarp(12@, 4.0, 4000, True, True, True, -1)
if 
  2@ == 1
goto_if_false @DEBT_1151
Streaming.MarkModelAsNoLongerNeeded(540)
2@ = 0

:DEBT_1151
13@ = Char.CreateInsideCar(12@, PedType.Mission1, 181)
if 
  3@ == 1
goto_if_false @DEBT_1194
Streaming.MarkModelAsNoLongerNeeded(181)
3@ = 0

:DEBT_1194
if 
  1@ > 0
goto_if_false @DEBT_1418
17@ = Group.Create(DefaultTaskAllocator.FollowAnyMeans)
Group.SetLeader(17@, 13@)
18@ = DecisionMakerGroup.Copy(-1)
DecisionMakerGroup.ClearEventResponse(18@, 41)
Group.SetDecisionMaker(17@, 18@)
14@ = Char.CreateAsPassenger(12@, PedType.Mission1, 183, 0)
if 
  4@ == 1
goto_if_false @DEBT_1294
Streaming.MarkModelAsNoLongerNeeded(183)
4@ = 0

:DEBT_1294
if 
  1@ > 1
goto_if_false @DEBT_1357
15@ = Char.CreateAsPassenger(12@, PedType.Mission1, 206, 1)
if 
  5@ == 1
goto_if_false @DEBT_1357
Streaming.MarkModelAsNoLongerNeeded(206)
5@ = 0

:DEBT_1357
if 
  1@ > 2
goto_if_false @DEBT_1418
16@ = Char.CreateAsPassenger(12@, PedType.Mission1, 47, 2)
if 
  6@ == 1
goto_if_false @DEBT_1418
Streaming.MarkModelAsNoLongerNeeded(47)
6@ = 0

:DEBT_1418
19@ = DecisionMakerChar.Copy(-1)
DecisionMakerChar.ClearEventResponse(19@, 41)
$x_temp = 0

:DEBT_1439
if 
  4 > $x_temp
goto_if_false @DEBT_1628
if 
  not Char.IsDead(13@($x_temp,4i))
goto_if_false @DEBT_1614
Char.SetDecisionMaker(13@($x_temp,4i), 19@)
Char.SetOnlyDamagedByPlayer(13@($x_temp,4i), True)
Char.SetRelationship(13@($x_temp,4i), RelationshipType.Hate, PedType.Player1)
Char.SetMoney(13@($x_temp,4i), 10000)
Char.SetKeepTask(13@($x_temp,4i), True)
if or
  $x_temp == 0
  $x_temp == 2
goto_if_false @DEBT_1575
Char.GiveWeapon(13@($x_temp,4i), WeaponType.MicroUzi, 9999)

:DEBT_1575
if or
  $x_temp == 1
  $x_temp == 3
goto_if_false @DEBT_1614
Char.GiveWeapon(13@($x_temp,4i), WeaponType.Ak47, 9999)

:DEBT_1614
$x_temp += 1
goto @DEBT_1439

:DEBT_1628
if 
  7@ == 1
goto_if_false @DEBT_1658
Streaming.MarkModelAsNoLongerNeeded(352)
7@ = 0

:DEBT_1658
if 
  8@ == 1
goto_if_false @DEBT_1688
Streaming.MarkModelAsNoLongerNeeded(355)
8@ = 0

:DEBT_1688
0@ += 1
goto @DEBT_1730

:DEBT_1702
if 
  not Streaming.HasModelLoaded(355)
goto_if_false @DEBT_1730
Streaming.RequestModel(355)
8@ = 1

:DEBT_1730
goto @DEBT_1931

:DEBT_1737
if 
  not Streaming.HasModelLoaded(540)
goto_if_false @DEBT_1765
Streaming.RequestModel(540)
2@ = 1

:DEBT_1765
if 
  not Streaming.HasModelLoaded(181)
goto_if_false @DEBT_1793
Streaming.RequestModel(181)
3@ = 1

:DEBT_1793
if 
  not Streaming.HasModelLoaded(183)
goto_if_false @DEBT_1821
Streaming.RequestModel(183)
4@ = 1

:DEBT_1821
if 
  not Streaming.HasModelLoaded(206)
goto_if_false @DEBT_1849
Streaming.RequestModel(206)
5@ = 1

:DEBT_1849
if 
  not Streaming.HasModelLoaded(47)
goto_if_false @DEBT_1875
Streaming.RequestModel(47)
6@ = 1

:DEBT_1875
if 
  not Streaming.HasModelLoaded(352)
goto_if_false @DEBT_1903
Streaming.RequestModel(352)
7@ = 1

:DEBT_1903
if 
  not Streaming.HasModelLoaded(355)
goto_if_false @DEBT_1931
Streaming.RequestModel(355)
8@ = 1

:DEBT_1931
if 
  0@ == 3
goto_if_false @DEBT_3778
if 
  $weapon_shop1_blip == 0
goto_if_false @DEBT_3683
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @DEBT_3644
if 
  not Player.IsScoreGreater($statbike_temp, -1)
goto_if_false @DEBT_3621
11@ = Streaming.GetAreaVisible()
if 
  11@ == 0
goto_if_false @DEBT_3582
if 
  not Char.IsDead(13@)
goto_if_false @DEBT_3169
if 
  Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 13@, 500.0, 500.0, False)
goto_if_false @DEBT_3130
if 
  Char.IsSittingInAnyCar(13@)
goto_if_false @DEBT_2690
if 
  not Car.IsDead(12@)
goto_if_false @DEBT_2678
if 
  is_int_var_greater_than_int_lvar $RStickY > 10@
goto_if_false @DEBT_2349
if 
  Char.IsInAnyCar($stattreadstamina_ctr)
goto_if_false @DEBT_2314
11@ = Math.RandomIntInRange(0, 4)
$stealth_help_flag = Char.StoreCarIsInNoSave($stattreadstamina_ctr)
if 
  11@ == 0
goto_if_false @DEBT_2193
Task.CarMission(13@, 12@, $stealth_help_flag, CarMission.RamCarFaraway, 100.0, DrivingMode.AvoidCars)

:DEBT_2193
if 
  11@ == 1
goto_if_false @DEBT_2231
Task.CarMission(13@, 12@, $stealth_help_flag, CarMission.BlockCarHandbrakeStop, 100.0, DrivingMode.AvoidCars)

:DEBT_2231
if 
  11@ == 2
goto_if_false @DEBT_2269
Task.CarMission(13@, 12@, $stealth_help_flag, CarMission.EscortLeft, 100.0, DrivingMode.AvoidCars)

:DEBT_2269
if 
  11@ == 3
goto_if_false @DEBT_2307
Task.CarMission(13@, 12@, $stealth_help_flag, CarMission.EscortRight, 100.0, DrivingMode.AvoidCars)

:DEBT_2307
goto @DEBT_2333

:DEBT_2314
Task.CarMission(13@, 12@, -1, CarMission.RamPlayerFaraway, 100.0, DrivingMode.AvoidCars)

:DEBT_2333
set_lvar_int_to_var_int 10@ = $RStickY
10@ += 8000

:DEBT_2349
$heading = Char.GetSpeed($stattreadstamina_ctr)
if or
  Char.IsOnFoot($stattreadstamina_ctr)
  5.0 > $heading
goto_if_false @DEBT_2558
if 
  Char.LocateAnyMeansChar2D(13@, $stattreadstamina_ctr, 15.0, 15.0, False)
goto_if_false @DEBT_2558
$chickY = Char.GetScriptTaskStatus(13@, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @DEBT_2558
20@ = Sequence.Open()
11@ = Math.RandomIntInRange(0, 2)
if 
  11@ == 0
goto_if_false @DEBT_2506
Task.CarTempAction(-1, 12@, TempAction.TurnLeft, 200)
Task.CarTempAction(-1, 12@, TempAction.HandbrakeTurnLeft, 1000)
goto @DEBT_2530

:DEBT_2506
Task.CarTempAction(-1, 12@, TempAction.TurnRight, 200)
Task.CarTempAction(-1, 12@, TempAction.HandbrakeTurnRight, 1000)

:DEBT_2530
Task.KillCharOnFootTimed(-1, $stattreadstamina_ctr, 5000)
Sequence.Close(20@)
Char.PerformSequence(13@, 20@)
Sequence.Clear(20@)

:DEBT_2558
if and
  StuckCarCheck.IsCarStuck(12@)
  15.0 > $heading
goto_if_false @DEBT_2671
if 
  Char.LocateAnyMeansCar2D($stattreadstamina_ctr, 12@, 30.0, 30.0, False)
goto_if_false @DEBT_2671
if 
  Car.IsOnScreen(12@)
goto_if_false @DEBT_2671
$chickY = Char.GetScriptTaskStatus(13@, 1957)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @DEBT_2671
Task.KillCharOnFootTimed(13@, $stattreadstamina_ctr, 5000)

:DEBT_2671
goto @DEBT_2683

:DEBT_2678
Car.MarkAsNoLongerNeeded(12@)

:DEBT_2683
goto @DEBT_3123

:DEBT_2690
if 
  Char.LocateAnyMeansChar2D(13@, $stattreadstamina_ctr, 30.0, 30.0, False)
goto_if_false @DEBT_2768
$chickY = Char.GetScriptTaskStatus(13@, 1957)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @DEBT_2761
Task.KillCharOnFootTimed(13@, $stattreadstamina_ctr, 5000)

:DEBT_2761
goto @DEBT_3123

:DEBT_2768
if 
  not Car.IsDead(12@)
goto_if_false @DEBT_2869
$chickY = Char.GetScriptTaskStatus(13@, 1560)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @DEBT_2862
20@ = Sequence.Open()
Task.GotoCar(-1, 12@, 99999, 5.0)
Task.EnterCarAsDriver(-1, 12@, -2)
Sequence.Close(20@)
Char.PerformSequence(13@, 20@)
Sequence.Clear(20@)

:DEBT_2862
goto @DEBT_3123

:DEBT_2869
Car.MarkAsNoLongerNeeded(12@)
if 
  not Char.LocateAnyMeansChar2D($stattreadstamina_ctr, 13@, 60.0, 60.0, False)
goto_if_false @DEBT_3083
$on_footY, $on_footZ, $in_carX = Char.GetCoordinates(13@)
$on_footY, $on_footZ, $in_carX, $on_footX = Path.GetClosestCarNodeWithHeading($on_footY, $on_footZ, $in_carX)
if 
  not World.IsPointObscuredByAMissionEntity($on_footY, $on_footZ, $in_carX, 4.0, 4.0, 4.0)
goto_if_false @DEBT_3076
if 
  not Camera.IsPointOnScreen($on_footY, $on_footZ, $in_carX, 4.0)
goto_if_false @DEBT_3076
12@ = Car.Create(540, $on_footY, $on_footZ, $in_carX)
Car.SetHeading(12@, $on_footX)
Car.ChangeColor(12@, 75, 0)
Car.SetHealth(12@, 1500)
Car.SetDrivingStyle(12@, DrivingMode.AvoidCars)
StuckCarCheck.AddWithWarp(12@, 4.0, 4000, True, True, True, -1)

:DEBT_3076
goto @DEBT_3123

:DEBT_3083
$chickY = Char.GetScriptTaskStatus(13@, 1957)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @DEBT_3123
Task.KillCharOnFootTimed(13@, $stattreadstamina_ctr, 5000)

:DEBT_3123
goto @DEBT_3162

:DEBT_3130
gosub @DEBT_3801
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 60000
0@ = 0

:DEBT_3162
goto @DEBT_3334

:DEBT_3169
Char.MarkAsNoLongerNeeded(13@)
$x_temp = 1

:DEBT_3181
if 
  4 > $x_temp
goto_if_false @DEBT_3334
if 
  not Char.IsDead(13@($x_temp,4i))
goto_if_false @DEBT_3311
if 
  Group.DoesExist(17@)
goto_if_false @DEBT_3304
if 
  Char.IsGroupMember(13@($x_temp,4i), 17@)
goto_if_false @DEBT_3304
if 
  Char.IsGroupLeader(13@($x_temp,4i), 17@)
goto_if_false @DEBT_3304
set_lvar_int_to_lvar_int 13@ = 13@($x_temp,4i)
13@($x_temp,4i) = -1

:DEBT_3304
goto @DEBT_3320

:DEBT_3311
Char.MarkAsNoLongerNeeded(13@($x_temp,4i))

:DEBT_3320
$x_temp += 1
goto @DEBT_3181

:DEBT_3334
$x_temp = 1

:DEBT_3341
if 
  4 > $x_temp
goto_if_false @DEBT_3575
if 
  not Char.IsDead(13@)
goto_if_false @DEBT_3561
if 
  not Char.IsDead(13@($x_temp,4i))
goto_if_false @DEBT_3552
if 
  Group.DoesExist(17@)
goto_if_false @DEBT_3545
if 
  not Char.IsGroupMember(13@($x_temp,4i), 17@)
goto_if_false @DEBT_3545
if 
  Char.LocateAnyMeansChar2D(13@($x_temp,4i), 13@, 30.0, 30.0, False)
goto_if_false @DEBT_3488
Group.SetMember(17@, 13@($x_temp,4i))
goto @DEBT_3545

:DEBT_3488
$chickY = Char.GetScriptTaskStatus(13@($x_temp,4i), 1957)
if 
  is_int_var_equal_to_constant $chickY == 7
goto_if_false @DEBT_3545
Char.MarkAsNoLongerNeeded(13@($x_temp,4i))
Task.KillCharOnFootTimed(13@($x_temp,4i), $stattreadstamina_ctr, 5000)

:DEBT_3545
goto @DEBT_3561

:DEBT_3552
Char.MarkAsNoLongerNeeded(13@($x_temp,4i))

:DEBT_3561
$x_temp += 1
goto @DEBT_3341

:DEBT_3575
goto @DEBT_3614

:DEBT_3582
gosub @DEBT_3801
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 60000
0@ = 0

:DEBT_3614
goto @DEBT_3637

:DEBT_3621
gosub @DEBT_3801
$1380 = 0
terminate_this_script 

:DEBT_3637
goto @DEBT_3676

:DEBT_3644
gosub @DEBT_3801
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 120000
0@ = 0

:DEBT_3676
goto @DEBT_3715

:DEBT_3683
gosub @DEBT_3801
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 120000
0@ = 0

:DEBT_3715
if and
  Char.IsDead(13@)
  Char.IsDead(14@)
  Char.IsDead(15@)
  Char.IsDead(16@)
goto_if_false @DEBT_3778
gosub @DEBT_3801
set_lvar_int_to_var_int 9@ = $RStickY
9@ += 120000
0@ = 0

:DEBT_3778
goto @DEBT_109
if 
  not Car.IsOnScreen(12@)
goto_if_false @DEBT_3801

:DEBT_3801
Char.MarkAsNoLongerNeeded(13@)
Char.MarkAsNoLongerNeeded(14@)
Char.MarkAsNoLongerNeeded(15@)
Char.MarkAsNoLongerNeeded(16@)
Car.MarkAsNoLongerNeeded(12@)
DecisionMaker.Remove(19@)
DecisionMaker.Remove(18@)
Group.Remove(17@)
if 
  2@ == 1
goto_if_false @DEBT_3871
Streaming.MarkModelAsNoLongerNeeded(540)
2@ = 0

:DEBT_3871
if 
  3@ == 1
goto_if_false @DEBT_3901
Streaming.MarkModelAsNoLongerNeeded(181)
3@ = 0

:DEBT_3901
if 
  4@ == 1
goto_if_false @DEBT_3931
Streaming.MarkModelAsNoLongerNeeded(183)
4@ = 0

:DEBT_3931
if 
  5@ == 1
goto_if_false @DEBT_3961
Streaming.MarkModelAsNoLongerNeeded(206)
5@ = 0

:DEBT_3961
if 
  6@ == 1
goto_if_false @DEBT_3990
Streaming.MarkModelAsNoLongerNeeded(47)
6@ = 0

:DEBT_3990
if 
  7@ == 1
goto_if_false @DEBT_4020
Streaming.MarkModelAsNoLongerNeeded(352)
7@ = 0

:DEBT_4020
if 
  8@ == 1
goto_if_false @DEBT_4050
Streaming.MarkModelAsNoLongerNeeded(355)
8@ = 0

:DEBT_4050
return 
terminate_this_script 

//-------------External script 77 (HOTDOG)---------------

:HOTDOGV
script_name 'HOTDOGV'
2@ = 0
if 
  2@ == 1
goto_if_false @HOTDOGV_77
0@ = Char.Create(PedType.CivMale, 7, 0.0, 0.0, 0.0)
1@ = Car.Create(588, $on_footY, $on_footZ, $in_carX)

:HOTDOGV_77
wait 0
$RStickY = Clock.GetGameTimer()
if 
  not Char.IsDead(0@)
goto_if_false @HOTDOGV_698
if 
  Player.IsPlaying($statbike_temp)
goto_if_false @HOTDOGV_673
if 
  Char.IsAttachedToAnyCar(0@)
goto_if_false @HOTDOGV_648
1@ = Char.StoreCarIsAttachedToNoSave(0@)
if 
  not Char.IsInCar($stattreadstamina_ctr, 1@)
goto_if_false @HOTDOGV_616
if 
  2@ == 0
goto_if_false @HOTDOGV_434
if 
  Char.LocateOnFootCar2D($stattreadstamina_ctr, 1@, 12.0, 12.0, False)
goto_if_false @HOTDOGV_434
Streaming.RequestAnimation("VENDING")
if 
  Streaming.HasAnimationLoaded("VENDING")
goto_if_false @HOTDOGV_434
if 
  Player.IsScoreGreater($statbike_temp, 0)
goto_if_false @HOTDOGV_434
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(1@, 2.0, 0.0, 0.0)
if 
  Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.6, 0.6, 1.0, True)
goto_if_false @HOTDOGV_434
$an = Char.GetHealth($stattreadstamina_ctr)
$an += 50
Char.SetHealth($stattreadstamina_ctr, $an)
Task.PlayAnimSecondary($stattreadstamina_ctr, "VEND_EAT1_P", "VENDING", 4.0, False, False, False, False, -1)
Stat.IncrementInt(StatId.Calories, 10)
set_lvar_int_to_var_int 3@ = $RStickY
3@ += 3000
Player.AddScore($statbike_temp, -1)
2@ += 1

:HOTDOGV_434
if 
  2@ == 1
goto_if_false @HOTDOGV_494
if 
  is_int_var_greater_than_int_lvar $RStickY > 3@
goto_if_false @HOTDOGV_494
set_lvar_int_to_var_int 3@ = $RStickY
3@ += 27000
2@ += 1

:HOTDOGV_494
if 
  2@ == 2
goto_if_false @HOTDOGV_609
if 
  is_int_var_greater_than_int_lvar $RStickY > 3@
goto_if_false @HOTDOGV_609
$on_footY, $on_footZ, $in_carX = Car.GetOffsetInWorldCoords(1@, 1.0, 0.0, 0.0)
if 
  not Char.LocateOnFoot3D($stattreadstamina_ctr, $on_footY, $on_footZ, $in_carX, 0.6, 0.6, 1.0, False)
goto_if_false @HOTDOGV_609
2@ = 0

:HOTDOGV_609
goto @HOTDOGV_641

:HOTDOGV_616
Char.MarkAsNoLongerNeeded(0@)
Task.Duck(0@, -2)
Streaming.RemoveAnimation("VENDING")
terminate_this_script 

:HOTDOGV_641
goto @HOTDOGV_666

:HOTDOGV_648
Char.MarkAsNoLongerNeeded(0@)
Streaming.RemoveAnimation("VENDING")
terminate_this_script 

:HOTDOGV_666
goto @HOTDOGV_691

:HOTDOGV_673
Char.MarkAsNoLongerNeeded(0@)
Streaming.RemoveAnimation("VENDING")
terminate_this_script 

:HOTDOGV_691
goto @HOTDOGV_716

:HOTDOGV_698
Char.MarkAsNoLongerNeeded(0@)
Streaming.RemoveAnimation("VENDING")
terminate_this_script 

:HOTDOGV_716
goto @HOTDOGV_77
terminate_this_script 
